diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 75c3406fa..2ee3bcecc 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -22,31 +22,184 @@ docs/AggregateFamilyLabel.md docs/AggregateFamilyValue.md docs/AggregateRequest.md docs/Authentication.md +docs/Authentication1.md docs/AuthenticationCipher.md +docs/AuthenticationCipher1.md docs/AuthenticationType.md docs/AuthenticationType1.md +docs/AuthenticationType2.md +docs/AuthenticationType3.md docs/AvailableASN.md docs/AvailableIP.md docs/AvailablePrefix.md docs/AvailableVLAN.md docs/Bookmark.md docs/BookmarkRequest.md +docs/BriefCable.md +docs/BriefCableRequest.md +docs/BriefCircuit.md +docs/BriefCircuitGroup.md +docs/BriefCircuitGroupAssignmentSerializer.md +docs/BriefCircuitGroupAssignmentSerializerPriority.md +docs/BriefCircuitGroupAssignmentSerializerPriorityLabel.md +docs/BriefCircuitGroupAssignmentSerializerPriorityValue.md +docs/BriefCircuitGroupAssignmentSerializerRequest.md +docs/BriefCircuitGroupRequest.md +docs/BriefCircuitRequest.md +docs/BriefCircuitType.md +docs/BriefCircuitTypeRequest.md +docs/BriefCluster.md +docs/BriefClusterGroup.md +docs/BriefClusterGroupRequest.md +docs/BriefClusterRequest.md +docs/BriefClusterType.md +docs/BriefClusterTypeRequest.md +docs/BriefConfigTemplate.md +docs/BriefConfigTemplateRequest.md +docs/BriefContact.md +docs/BriefContactGroup.md +docs/BriefContactGroupRequest.md +docs/BriefContactRequest.md +docs/BriefContactRole.md +docs/BriefContactRoleRequest.md +docs/BriefCustomFieldChoiceSet.md +docs/BriefCustomFieldChoiceSetRequest.md +docs/BriefDataFile.md +docs/BriefDataSource.md +docs/BriefDataSourceRequest.md +docs/BriefDevice.md +docs/BriefDeviceRequest.md +docs/BriefDeviceRole.md +docs/BriefDeviceRoleRequest.md +docs/BriefDeviceType.md +docs/BriefDeviceTypeRequest.md +docs/BriefFHRPGroup.md +docs/BriefFHRPGroupProtocol.md +docs/BriefFHRPGroupRequest.md +docs/BriefIKEPolicy.md +docs/BriefIKEPolicyRequest.md +docs/BriefIPAddress.md +docs/BriefIPAddressRequest.md +docs/BriefIPSecPolicy.md +docs/BriefIPSecPolicyRequest.md +docs/BriefIPSecProfile.md +docs/BriefIPSecProfileRequest.md +docs/BriefInterface.md +docs/BriefInterfaceRequest.md +docs/BriefInventoryItemRole.md +docs/BriefInventoryItemRoleRequest.md +docs/BriefJob.md +docs/BriefJobRequest.md +docs/BriefJobStatus.md +docs/BriefJobStatusLabel.md +docs/BriefJobStatusValue.md +docs/BriefL2VPN.md +docs/BriefL2VPNRequest.md +docs/BriefL2VPNTermination.md +docs/BriefL2VPNTerminationRequest.md +docs/BriefL2VPNType.md +docs/BriefL2VPNTypeLabel.md +docs/BriefL2VPNTypeValue.md +docs/BriefLocation.md +docs/BriefLocationRequest.md +docs/BriefManufacturer.md +docs/BriefManufacturerRequest.md +docs/BriefModule.md +docs/BriefModuleRequest.md +docs/BriefModuleType.md +docs/BriefModuleTypeRequest.md +docs/BriefPlatform.md +docs/BriefPlatformRequest.md +docs/BriefPowerPanel.md +docs/BriefPowerPanelRequest.md +docs/BriefPowerPort.md +docs/BriefPowerPortRequest.md +docs/BriefPowerPortTemplate.md +docs/BriefPowerPortTemplateRequest.md +docs/BriefProvider.md +docs/BriefProviderAccount.md +docs/BriefProviderAccountRequest.md +docs/BriefProviderNetwork.md +docs/BriefProviderNetworkRequest.md +docs/BriefProviderRequest.md +docs/BriefRIR.md +docs/BriefRIRRequest.md +docs/BriefRack.md +docs/BriefRackRequest.md +docs/BriefRackRole.md +docs/BriefRackRoleRequest.md +docs/BriefRackType.md +docs/BriefRackTypeRequest.md +docs/BriefRearPortTemplate.md +docs/BriefRearPortTemplateRequest.md +docs/BriefRegion.md +docs/BriefRegionRequest.md +docs/BriefRole.md +docs/BriefRoleRequest.md +docs/BriefSite.md +docs/BriefSiteGroup.md +docs/BriefSiteGroupRequest.md +docs/BriefSiteRequest.md +docs/BriefTenant.md +docs/BriefTenantGroup.md +docs/BriefTenantGroupRequest.md +docs/BriefTenantRequest.md +docs/BriefTunnel.md +docs/BriefTunnelGroup.md +docs/BriefTunnelGroupRequest.md +docs/BriefTunnelRequest.md +docs/BriefUser.md +docs/BriefUserRequest.md +docs/BriefVLAN.md +docs/BriefVLANGroup.md +docs/BriefVLANGroupRequest.md +docs/BriefVLANRequest.md +docs/BriefVRF.md +docs/BriefVRFRequest.md +docs/BriefVirtualChassis.md +docs/BriefVirtualChassisRequest.md +docs/BriefVirtualMachine.md +docs/BriefVirtualMachineRequest.md +docs/BriefWirelessLANGroup.md +docs/BriefWirelessLANGroupRequest.md docs/Cable.md +docs/CableLengthUnit.md +docs/CableLengthUnitLabel.md +docs/CableLengthUnitValue.md docs/CableRequest.md +docs/CableRequestLengthUnit.md +docs/CableStatus.md +docs/CableStatusLabel.md +docs/CableStatusValue.md docs/CableTermination.md docs/CableTerminationRequest.md +docs/CableType.md docs/Circuit.md +docs/CircuitCircuitTermination.md +docs/CircuitCircuitTerminationRequest.md +docs/CircuitGroup.md +docs/CircuitGroupAssignment.md +docs/CircuitGroupAssignmentRequest.md +docs/CircuitGroupRequest.md docs/CircuitRequest.md +docs/CircuitStatus.md +docs/CircuitStatusLabel.md +docs/CircuitStatusValue.md docs/CircuitTermination.md docs/CircuitTerminationRequest.md docs/CircuitType.md docs/CircuitTypeRequest.md docs/CircuitsAPI.md +docs/CircuitsCircuitGroupAssignmentsListPriorityParameter.md docs/CircuitsCircuitTerminationsListCableEndParameter.md +docs/CircuitsCircuitsListStatusIcParameterInner.md docs/Cluster.md docs/ClusterGroup.md docs/ClusterGroupRequest.md docs/ClusterRequest.md +docs/ClusterStatus.md +docs/ClusterStatusLabel.md +docs/ClusterStatusValue.md docs/ClusterType.md docs/ClusterTypeRequest.md docs/ConfigContext.md @@ -70,9 +223,6 @@ docs/ConsoleServerPortTemplate.md docs/ConsoleServerPortTemplateRequest.md docs/Contact.md docs/ContactAssignment.md -docs/ContactAssignmentPriority.md -docs/ContactAssignmentPriorityLabel.md -docs/ContactAssignmentPriorityValue.md docs/ContactAssignmentRequest.md docs/ContactGroup.md docs/ContactGroupRequest.md @@ -80,6 +230,8 @@ docs/ContactRequest.md docs/ContactRole.md docs/ContactRoleRequest.md docs/CoreAPI.md +docs/CoreJobsListStatusIcParameterInner.md +docs/CoreObjectChangesListActionParameter.md docs/CustomField.md docs/CustomFieldChoiceSet.md docs/CustomFieldChoiceSetBaseChoices.md @@ -107,23 +259,50 @@ docs/DashboardRequest.md docs/DataFile.md docs/DataSource.md docs/DataSourceRequest.md -docs/DataSourceRequestType.md +docs/DataSourceStatus.md +docs/DataSourceStatusLabel.md +docs/DataSourceStatusValue.md +docs/DataSourceType.md +docs/DataSourceTypeLabel.md +docs/DataSourceTypeValue.md docs/DcimAPI.md docs/DcimCablesListLengthUnitParameter.md +docs/DcimCablesListStatusIcParameterInner.md +docs/DcimCablesListTypeIcParameterInner.md docs/DcimConsolePortTemplatesListTypeParameter.md +docs/DcimConsolePortsListDeviceStatusIcParameterInner.md docs/DcimConsolePortsListSpeedParameter.md +docs/DcimConsolePortsListTypeIcParameterInner.md docs/DcimDeviceTypesListAirflowParameter.md docs/DcimDeviceTypesListWeightUnitParameter.md docs/DcimDevicesRenderConfigCreateFormatParameter.md +docs/DcimFrontPortTemplatesListTypeIcParameterInner.md +docs/DcimInterfaceTemplatesListPoeModeIcParameterInner.md +docs/DcimInterfaceTemplatesListPoeTypeIcParameterInner.md +docs/DcimInterfaceTemplatesListTypeIcParameterInner.md +docs/DcimInterfacesListDuplexIcParameterInner.md docs/DcimInterfacesListModeParameter.md +docs/DcimLocationsListStatusIcParameterInner.md +docs/DcimModuleTypesListAirflowParameter.md +docs/DcimModulesListStatusIcParameterInner.md docs/DcimPowerFeedsListPhaseParameter.md +docs/DcimPowerFeedsListStatusIcParameterInner.md docs/DcimPowerFeedsListSupplyParameter.md docs/DcimPowerFeedsListTypeParameter.md +docs/DcimPowerOutletTemplatesListFeedLegIcParameterInner.md docs/DcimPowerOutletTemplatesListTypeParameter.md +docs/DcimPowerOutletsListTypeIcParameterInner.md docs/DcimPowerPortTemplatesListTypeParameter.md +docs/DcimPowerPortsListTypeIcParameterInner.md +docs/DcimRackTypesListFormFactorIcParameterInner.md +docs/DcimRackTypesListOuterUnitParameter.md +docs/DcimRackTypesListWidthIcParameterInner.md docs/DcimRacksElevationRetrieveFaceParameter.md docs/DcimRacksElevationRetrieveRenderParameter.md -docs/DcimRacksListOuterUnitParameter.md +docs/DcimRacksListAirflowParameter.md +docs/DcimRacksListFormFactorIcParameterInner.md +docs/DcimRacksListStatusIcParameterInner.md +docs/DcimVirtualDeviceContextsListStatusIcParameterInner.md docs/Device.md docs/DeviceAirflow.md docs/DeviceAirflowLabel.md @@ -135,37 +314,51 @@ docs/DeviceBayTemplateRequest.md docs/DeviceFace.md docs/DeviceFaceLabel.md docs/DeviceFaceValue.md -docs/DeviceRequest.md docs/DeviceRole.md docs/DeviceRoleRequest.md docs/DeviceStatus.md docs/DeviceStatusLabel.md docs/DeviceStatusValue.md docs/DeviceType.md +docs/DeviceTypeAirflow.md docs/DeviceTypeRequest.md +docs/DeviceTypeRequestAirflow.md +docs/DeviceTypeRequestSubdeviceRole.md +docs/DeviceTypeRequestWeightUnit.md +docs/DeviceTypeSubdeviceRole.md +docs/DeviceTypeSubdeviceRoleLabel.md +docs/DeviceTypeSubdeviceRoleValue.md +docs/DeviceTypeWeightUnit.md +docs/DeviceTypeWeightUnitLabel.md +docs/DeviceTypeWeightUnitValue.md docs/DeviceWithConfigContext.md docs/DeviceWithConfigContextRequest.md docs/Encryption.md +docs/Encryption1.md docs/End.md docs/End1.md +docs/Event.md docs/EventRule.md docs/EventRuleActionType.md docs/EventRuleActionTypeLabel.md docs/EventRuleActionTypeValue.md +docs/EventRuleEventTypesInner.md docs/EventRuleRequest.md docs/ExportTemplate.md docs/ExportTemplateRequest.md docs/ExtrasAPI.md docs/ExtrasCustomFieldChoiceSetsListBaseChoicesParameter.md docs/ExtrasCustomFieldsListFilterLogicParameter.md +docs/ExtrasCustomFieldsListTypeIcParameterInner.md docs/ExtrasCustomFieldsListUiEditableParameter.md docs/ExtrasCustomFieldsListUiVisibleParameter.md docs/ExtrasCustomLinksListButtonClassParameter.md -docs/ExtrasObjectChangesListActionParameter.md +docs/ExtrasEventRulesListActionTypeIcParameterInner.md +docs/ExtrasJournalEntriesListKindIcParameterInner.md +docs/ExtrasWebhooksListHttpMethodIcParameterInner.md docs/FHRPGroup.md docs/FHRPGroupAssignment.md docs/FHRPGroupAssignmentRequest.md -docs/FHRPGroupProtocol.md docs/FHRPGroupRequest.md docs/FrontPort.md docs/FrontPortRearPort.md @@ -176,6 +369,7 @@ docs/FrontPortTemplateRequest.md docs/FrontPortType.md docs/FrontPortTypeLabel.md docs/FrontPortTypeValue.md +docs/GenericObject.md docs/GenericObjectRequest.md docs/Group.md docs/GroupRequest.md @@ -203,6 +397,12 @@ docs/IKEProposalGroupValue.md docs/IKEProposalRequest.md docs/IPAddress.md docs/IPAddressRequest.md +docs/IPAddressRole.md +docs/IPAddressRoleLabel.md +docs/IPAddressRoleValue.md +docs/IPAddressStatus.md +docs/IPAddressStatusLabel.md +docs/IPAddressStatusValue.md docs/IPRange.md docs/IPRangeRequest.md docs/IPRangeStatus.md @@ -258,12 +458,13 @@ docs/InventoryItemRoleRequest.md docs/InventoryItemTemplate.md docs/InventoryItemTemplateRequest.md docs/IpamAPI.md +docs/IpamFhrpGroupsListProtocolIcParameterInner.md +docs/IpamIpAddressesListRoleIcParameterInner.md +docs/IpamIpAddressesListStatusIcParameterInner.md +docs/IpamIpRangesListStatusIcParameterInner.md +docs/IpamPrefixesListStatusIcParameterInner.md docs/IpamServiceTemplatesListProtocolParameter.md docs/Job.md -docs/JobRequest.md -docs/JobStatus.md -docs/JobStatusLabel.md -docs/JobStatusValue.md docs/JournalEntry.md docs/JournalEntryKind.md docs/JournalEntryKindLabel.md @@ -273,34 +474,44 @@ docs/L2VPN.md docs/L2VPNRequest.md docs/L2VPNTermination.md docs/L2VPNTerminationRequest.md -docs/L2VPNType.md -docs/L2VPNTypeLabel.md -docs/L2VPNTypeValue.md docs/Location.md docs/LocationRequest.md +docs/LocationStatus.md +docs/LocationStatusLabel.md +docs/LocationStatusValue.md docs/Manufacturer.md docs/ManufacturerRequest.md docs/Module.md docs/ModuleBay.md -docs/ModuleBayNestedModule.md -docs/ModuleBayNestedModuleRequest.md docs/ModuleBayRequest.md docs/ModuleBayTemplate.md docs/ModuleBayTemplateRequest.md docs/ModuleRequest.md +docs/ModuleStatus.md +docs/ModuleStatusLabel.md +docs/ModuleStatusValue.md docs/ModuleType.md +docs/ModuleTypeAirflow.md +docs/ModuleTypeAirflowLabel.md +docs/ModuleTypeAirflowValue.md docs/ModuleTypeRequest.md +docs/ModuleTypeRequestAirflow.md docs/NestedContactGroup.md docs/NestedContactGroupRequest.md docs/NestedDevice.md docs/NestedDeviceRequest.md docs/NestedGroup.md +docs/NestedIPAddress.md +docs/NestedIPAddressRequest.md docs/NestedInterface.md docs/NestedInterfaceRequest.md docs/NestedInterfaceTemplate.md docs/NestedInterfaceTemplateRequest.md +docs/NestedLocation.md +docs/NestedLocationRequest.md docs/NestedModuleBay.md docs/NestedModuleBayRequest.md +docs/NestedProviderAccount.md docs/NestedRegion.md docs/NestedRegionRequest.md docs/NestedSiteGroup.md @@ -314,9 +525,14 @@ docs/NestedVMInterface.md docs/NestedVMInterfaceRequest.md docs/NestedVirtualMachine.md docs/NestedVirtualMachineRequest.md +docs/NestedWirelessLANGroup.md docs/NestedWirelessLANGroupRequest.md docs/NestedWirelessLink.md docs/NestedWirelessLinkRequest.md +docs/Notification.md +docs/NotificationGroup.md +docs/NotificationGroupRequest.md +docs/NotificationRequest.md docs/ObjectChange.md docs/ObjectChangeAction.md docs/ObjectChangeActionLabel.md @@ -330,6 +546,8 @@ docs/PaginatedAggregateList.md docs/PaginatedBookmarkList.md docs/PaginatedCableList.md docs/PaginatedCableTerminationList.md +docs/PaginatedCircuitGroupAssignmentList.md +docs/PaginatedCircuitGroupList.md docs/PaginatedCircuitList.md docs/PaginatedCircuitTerminationList.md docs/PaginatedCircuitTypeList.md @@ -386,6 +604,8 @@ docs/PaginatedModuleBayList.md docs/PaginatedModuleBayTemplateList.md docs/PaginatedModuleList.md docs/PaginatedModuleTypeList.md +docs/PaginatedNotificationGroupList.md +docs/PaginatedNotificationList.md docs/PaginatedObjectChangeList.md docs/PaginatedObjectPermissionList.md docs/PaginatedObjectTypeList.md @@ -404,6 +624,7 @@ docs/PaginatedRIRList.md docs/PaginatedRackList.md docs/PaginatedRackReservationList.md docs/PaginatedRackRoleList.md +docs/PaginatedRackTypeList.md docs/PaginatedRackUnitList.md docs/PaginatedRearPortList.md docs/PaginatedRearPortTemplateList.md @@ -416,6 +637,7 @@ docs/PaginatedServiceList.md docs/PaginatedServiceTemplateList.md docs/PaginatedSiteGroupList.md docs/PaginatedSiteList.md +docs/PaginatedSubscriptionList.md docs/PaginatedTagList.md docs/PaginatedTenantGroupList.md docs/PaginatedTenantList.md @@ -442,6 +664,7 @@ docs/PatchedASNRangeRequest.md docs/PatchedASNRequest.md docs/PatchedBookmarkRequest.md docs/PatchedCableTerminationRequest.md +docs/PatchedCircuitGroupRequest.md docs/PatchedCircuitTerminationRequest.md docs/PatchedCircuitTypeRequest.md docs/PatchedClusterGroupRequest.md @@ -467,6 +690,8 @@ docs/PatchedL2VPNTerminationRequest.md docs/PatchedManufacturerRequest.md docs/PatchedModuleBayRequest.md docs/PatchedModuleBayTemplateRequest.md +docs/PatchedNotificationGroupRequest.md +docs/PatchedNotificationRequest.md docs/PatchedObjectPermissionRequest.md docs/PatchedPlatformRequest.md docs/PatchedPowerPanelRequest.md @@ -479,6 +704,8 @@ docs/PatchedRackRoleRequest.md docs/PatchedRoleRequest.md docs/PatchedRouteTargetRequest.md docs/PatchedSavedFilterRequest.md +docs/PatchedScriptInputRequest.md +docs/PatchedSubscriptionRequest.md docs/PatchedTagRequest.md docs/PatchedTenantRequest.md docs/PatchedTokenRequest.md @@ -491,13 +718,9 @@ docs/PatchedWebhookRequest.md docs/PatchedWebhookRequestHttpMethod.md docs/PatchedWritableAggregateRequest.md docs/PatchedWritableCableRequest.md -docs/PatchedWritableCableRequestLengthUnit.md -docs/PatchedWritableCableRequestStatus.md -docs/PatchedWritableCableRequestType.md +docs/PatchedWritableCircuitGroupAssignmentRequest.md docs/PatchedWritableCircuitRequest.md -docs/PatchedWritableCircuitRequestStatus.md docs/PatchedWritableClusterRequest.md -docs/PatchedWritableClusterRequestStatus.md docs/PatchedWritableConsolePortRequest.md docs/PatchedWritableConsolePortRequestSpeed.md docs/PatchedWritableConsolePortRequestType.md @@ -515,7 +738,6 @@ docs/PatchedWritableCustomFieldRequestUiEditable.md docs/PatchedWritableCustomFieldRequestUiVisible.md docs/PatchedWritableDataSourceRequest.md docs/PatchedWritableDeviceTypeRequest.md -docs/PatchedWritableDeviceTypeRequestWeightUnit.md docs/PatchedWritableDeviceWithConfigContextRequest.md docs/PatchedWritableEventRuleRequest.md docs/PatchedWritableFrontPortRequest.md @@ -541,9 +763,7 @@ docs/PatchedWritableInterfaceTemplateRequest.md docs/PatchedWritableJournalEntryRequest.md docs/PatchedWritableL2VPNRequest.md docs/PatchedWritableLocationRequest.md -docs/PatchedWritableLocationRequestStatus.md docs/PatchedWritableModuleRequest.md -docs/PatchedWritableModuleRequestStatus.md docs/PatchedWritableModuleTypeRequest.md docs/PatchedWritablePowerFeedRequest.md docs/PatchedWritablePowerFeedRequestPhase.md @@ -562,10 +782,13 @@ docs/PatchedWritablePowerPortTemplateRequestType.md docs/PatchedWritablePrefixRequest.md docs/PatchedWritablePrefixRequestStatus.md docs/PatchedWritableRackRequest.md +docs/PatchedWritableRackRequestAirflow.md +docs/PatchedWritableRackRequestFormFactor.md docs/PatchedWritableRackRequestOuterUnit.md docs/PatchedWritableRackRequestStatus.md -docs/PatchedWritableRackRequestType.md docs/PatchedWritableRackRequestWidth.md +docs/PatchedWritableRackTypeRequest.md +docs/PatchedWritableRackTypeRequestFormFactor.md docs/PatchedWritableRearPortRequest.md docs/PatchedWritableRearPortTemplateRequest.md docs/PatchedWritableRegionRequest.md @@ -591,6 +814,7 @@ docs/PatchedWritableWirelessLANGroupRequest.md docs/PatchedWritableWirelessLANRequest.md docs/PatchedWritableWirelessLANRequestStatus.md docs/PatchedWritableWirelessLinkRequest.md +docs/PatchedWritableWirelessLinkRequestDistanceUnit.md docs/Platform.md docs/PlatformRequest.md docs/PowerFeed.md @@ -618,8 +842,11 @@ docs/PowerPanel.md docs/PowerPanelRequest.md docs/PowerPort.md docs/PowerPortRequest.md +docs/PowerPortRequestType.md docs/PowerPortTemplate.md docs/PowerPortTemplateRequest.md +docs/PowerPortType.md +docs/PowerPortTypeLabel.md docs/Prefix.md docs/PrefixRequest.md docs/PrefixStatus.md @@ -634,16 +861,31 @@ docs/ProviderRequest.md docs/RIR.md docs/RIRRequest.md docs/Rack.md +docs/RackAirflow.md +docs/RackAirflowLabel.md docs/RackFace.md docs/RackFace1.md +docs/RackFormFactor.md +docs/RackFormFactorLabel.md +docs/RackOuterUnit.md +docs/RackOuterUnitLabel.md docs/RackRequest.md +docs/RackRequestFormFactor.md +docs/RackRequestOuterUnit.md docs/RackReservation.md docs/RackReservationRequest.md docs/RackRole.md docs/RackRoleRequest.md +docs/RackStatus.md +docs/RackStatusLabel.md +docs/RackType.md +docs/RackTypeRequest.md docs/RackUnit.md docs/RackUnitFace.md docs/RackUnitFaceValue.md +docs/RackWidth.md +docs/RackWidthLabel.md +docs/RackWidthValue.md docs/RearPort.md docs/RearPortRequest.md docs/RearPortTemplate.md @@ -660,6 +902,7 @@ docs/SchemaAPI.md docs/SchemaRetrieveFormatParameter.md docs/SchemaRetrieveLangParameter.md docs/Script.md +docs/ScriptInputRequest.md docs/Service.md docs/ServiceProtocol.md docs/ServiceProtocolLabel.md @@ -671,10 +914,11 @@ docs/SiteGroup.md docs/SiteGroupRequest.md docs/SiteRequest.md docs/StatusAPI.md +docs/Subscription.md +docs/SubscriptionRequest.md docs/Tag.md docs/TagRequest.md docs/TenancyAPI.md -docs/TenancyContactAssignmentsListPriorityParameter.md docs/Tenant.md docs/TenantGroup.md docs/TenantGroupRequest.md @@ -686,9 +930,13 @@ docs/TokenProvision.md docs/TokenProvisionRequest.md docs/TokenRequest.md docs/Tunnel.md +docs/TunnelEncapsulation.md +docs/TunnelEncapsulationLabel.md docs/TunnelGroup.md docs/TunnelGroupRequest.md docs/TunnelRequest.md +docs/TunnelStatus.md +docs/TunnelStatusLabel.md docs/TunnelTermination.md docs/TunnelTerminationRequest.md docs/TunnelTerminationRole.md @@ -712,18 +960,28 @@ docs/VirtualDeviceContextStatus.md docs/VirtualDeviceContextStatusLabel.md docs/VirtualDisk.md docs/VirtualDiskRequest.md -docs/VirtualMachine.md -docs/VirtualMachineRequest.md docs/VirtualMachineWithConfigContext.md docs/VirtualMachineWithConfigContextRequest.md -docs/VirtualMachineWithConfigContextStatus.md -docs/VirtualMachineWithConfigContextStatusLabel.md docs/VirtualizationAPI.md +docs/VirtualizationClustersListStatusIcParameterInner.md docs/VpnAPI.md +docs/VpnIkePoliciesListModeIcParameterInner.md +docs/VpnIkePoliciesListVersionIcParameterInner.md +docs/VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner.md +docs/VpnIkeProposalsListAuthenticationMethodIcParameterInner.md +docs/VpnIkeProposalsListEncryptionAlgorithmIcParameterInner.md +docs/VpnIkeProposalsListGroupIcParameterInner.md +docs/VpnIpsecPoliciesListPfsGroupIcParameterInner.md +docs/VpnIpsecProfilesListModeIcParameterInner.md +docs/VpnL2vpnsListTypeIcParameterInner.md +docs/VpnTunnelTerminationsListRoleIcParameterInner.md +docs/VpnTunnelsListEncapsulationIcParameterInner.md +docs/VpnTunnelsListStatusIcParameterInner.md docs/Webhook.md docs/WebhookRequest.md docs/WirelessAPI.md docs/WirelessChannel.md +docs/WirelessChannel1.md docs/WirelessLAN.md docs/WirelessLANAuthCipher.md docs/WirelessLANAuthCipherLabel.md @@ -738,12 +996,17 @@ docs/WirelessLANStatus.md docs/WirelessLANStatusLabel.md docs/WirelessLANStatusValue.md docs/WirelessLink.md +docs/WirelessLinkDistanceUnit.md +docs/WirelessLinkDistanceUnitLabel.md docs/WirelessLinkRequest.md -docs/WirelessLinkStatus.md -docs/WirelessLinkStatusLabel.md +docs/WirelessLinkRequestDistanceUnit.md docs/WirelessRole.md +docs/WirelessRole1.md +docs/WirelessWirelessLansListStatusIcParameterInner.md +docs/WirelessWirelessLinksListDistanceUnitParameter.md docs/WritableAggregateRequest.md docs/WritableCableRequest.md +docs/WritableCircuitGroupAssignmentRequest.md docs/WritableCircuitRequest.md docs/WritableClusterRequest.md docs/WritableConsolePortRequest.md @@ -781,6 +1044,7 @@ docs/WritablePowerPortRequest.md docs/WritablePowerPortTemplateRequest.md docs/WritablePrefixRequest.md docs/WritableRackRequest.md +docs/WritableRackTypeRequest.md docs/WritableRearPortRequest.md docs/WritableRearPortTemplateRequest.md docs/WritableRegionRequest.md @@ -811,30 +1075,183 @@ model_asn_range.go model_asn_range_request.go model_asn_request.go model_authentication.go +model_authentication_1.go model_authentication_cipher.go +model_authentication_cipher_1.go model_authentication_type.go model_authentication_type_1.go +model_authentication_type_2.go +model_authentication_type_3.go model_available_asn.go model_available_ip.go model_available_prefix.go model_available_vlan.go model_bookmark.go model_bookmark_request.go +model_brief_cable.go +model_brief_cable_request.go +model_brief_circuit.go +model_brief_circuit_group.go +model_brief_circuit_group_assignment_serializer_.go +model_brief_circuit_group_assignment_serializer__priority.go +model_brief_circuit_group_assignment_serializer__priority_label.go +model_brief_circuit_group_assignment_serializer__priority_value.go +model_brief_circuit_group_assignment_serializer_request.go +model_brief_circuit_group_request.go +model_brief_circuit_request.go +model_brief_circuit_type.go +model_brief_circuit_type_request.go +model_brief_cluster.go +model_brief_cluster_group.go +model_brief_cluster_group_request.go +model_brief_cluster_request.go +model_brief_cluster_type.go +model_brief_cluster_type_request.go +model_brief_config_template.go +model_brief_config_template_request.go +model_brief_contact.go +model_brief_contact_group.go +model_brief_contact_group_request.go +model_brief_contact_request.go +model_brief_contact_role.go +model_brief_contact_role_request.go +model_brief_custom_field_choice_set.go +model_brief_custom_field_choice_set_request.go +model_brief_data_file.go +model_brief_data_source.go +model_brief_data_source_request.go +model_brief_device.go +model_brief_device_request.go +model_brief_device_role.go +model_brief_device_role_request.go +model_brief_device_type.go +model_brief_device_type_request.go +model_brief_fhrp_group.go +model_brief_fhrp_group_protocol.go +model_brief_fhrp_group_request.go +model_brief_ike_policy.go +model_brief_ike_policy_request.go +model_brief_interface.go +model_brief_interface_request.go +model_brief_inventory_item_role.go +model_brief_inventory_item_role_request.go +model_brief_ip_address.go +model_brief_ip_address_request.go +model_brief_ip_sec_policy.go +model_brief_ip_sec_policy_request.go +model_brief_ip_sec_profile.go +model_brief_ip_sec_profile_request.go +model_brief_job.go +model_brief_job_request.go +model_brief_job_status.go +model_brief_job_status_label.go +model_brief_job_status_value.go +model_brief_l2_vpn.go +model_brief_l2_vpn_request.go +model_brief_l2_vpn_termination.go +model_brief_l2_vpn_termination_request.go +model_brief_l2_vpn_type.go +model_brief_l2_vpn_type_label.go +model_brief_l2_vpn_type_value.go +model_brief_location.go +model_brief_location_request.go +model_brief_manufacturer.go +model_brief_manufacturer_request.go +model_brief_module.go +model_brief_module_request.go +model_brief_module_type.go +model_brief_module_type_request.go +model_brief_platform.go +model_brief_platform_request.go +model_brief_power_panel.go +model_brief_power_panel_request.go +model_brief_power_port.go +model_brief_power_port_request.go +model_brief_power_port_template.go +model_brief_power_port_template_request.go +model_brief_provider.go +model_brief_provider_account.go +model_brief_provider_account_request.go +model_brief_provider_network.go +model_brief_provider_network_request.go +model_brief_provider_request.go +model_brief_rack.go +model_brief_rack_request.go +model_brief_rack_role.go +model_brief_rack_role_request.go +model_brief_rack_type.go +model_brief_rack_type_request.go +model_brief_rear_port_template.go +model_brief_rear_port_template_request.go +model_brief_region.go +model_brief_region_request.go +model_brief_rir.go +model_brief_rir_request.go +model_brief_role.go +model_brief_role_request.go +model_brief_site.go +model_brief_site_group.go +model_brief_site_group_request.go +model_brief_site_request.go +model_brief_tenant.go +model_brief_tenant_group.go +model_brief_tenant_group_request.go +model_brief_tenant_request.go +model_brief_tunnel.go +model_brief_tunnel_group.go +model_brief_tunnel_group_request.go +model_brief_tunnel_request.go +model_brief_user.go +model_brief_user_request.go +model_brief_virtual_chassis.go +model_brief_virtual_chassis_request.go +model_brief_virtual_machine.go +model_brief_virtual_machine_request.go +model_brief_vlan.go +model_brief_vlan_group.go +model_brief_vlan_group_request.go +model_brief_vlan_request.go +model_brief_vrf.go +model_brief_vrf_request.go +model_brief_wireless_lan_group.go +model_brief_wireless_lan_group_request.go model_cable.go +model_cable_length_unit.go +model_cable_length_unit_label.go +model_cable_length_unit_value.go model_cable_request.go +model_cable_request_length_unit.go +model_cable_status.go +model_cable_status_label.go +model_cable_status_value.go model_cable_termination.go model_cable_termination_request.go +model_cable_type.go model_circuit.go +model_circuit_circuit_termination.go +model_circuit_circuit_termination_request.go +model_circuit_group.go +model_circuit_group_assignment.go +model_circuit_group_assignment_request.go +model_circuit_group_request.go model_circuit_request.go +model_circuit_status.go +model_circuit_status_label.go +model_circuit_status_value.go model_circuit_termination.go model_circuit_termination_request.go model_circuit_type.go model_circuit_type_request.go +model_circuits_circuit_group_assignments_list_priority_parameter.go model_circuits_circuit_terminations_list_cable_end_parameter.go +model_circuits_circuits_list_status__ic_parameter_inner.go model_cluster.go model_cluster_group.go model_cluster_group_request.go model_cluster_request.go +model_cluster_status.go +model_cluster_status_label.go +model_cluster_status_value.go model_cluster_type.go model_cluster_type_request.go model_config_context.go @@ -858,15 +1275,14 @@ model_console_server_port_template.go model_console_server_port_template_request.go model_contact.go model_contact_assignment.go -model_contact_assignment_priority.go -model_contact_assignment_priority_label.go -model_contact_assignment_priority_value.go model_contact_assignment_request.go model_contact_group.go model_contact_group_request.go model_contact_request.go model_contact_role.go model_contact_role_request.go +model_core_jobs_list_status__ic_parameter_inner.go +model_core_object_changes_list_action_parameter.go model_custom_field.go model_custom_field_choice_set.go model_custom_field_choice_set_base_choices.go @@ -894,22 +1310,49 @@ model_dashboard_request.go model_data_file.go model_data_source.go model_data_source_request.go -model_data_source_request_type.go +model_data_source_status.go +model_data_source_status_label.go +model_data_source_status_value.go +model_data_source_type.go +model_data_source_type_label.go +model_data_source_type_value.go model_dcim_cables_list_length_unit_parameter.go +model_dcim_cables_list_status__ic_parameter_inner.go +model_dcim_cables_list_type__ic_parameter_inner.go model_dcim_console_port_templates_list_type_parameter.go +model_dcim_console_ports_list_device_status__ic_parameter_inner.go model_dcim_console_ports_list_speed_parameter.go +model_dcim_console_ports_list_type__ic_parameter_inner.go model_dcim_device_types_list_airflow_parameter.go model_dcim_device_types_list_weight_unit_parameter.go model_dcim_devices_render_config_create_format_parameter.go +model_dcim_front_port_templates_list_type__ic_parameter_inner.go +model_dcim_interface_templates_list_poe_mode__ic_parameter_inner.go +model_dcim_interface_templates_list_poe_type__ic_parameter_inner.go +model_dcim_interface_templates_list_type__ic_parameter_inner.go +model_dcim_interfaces_list_duplex__ic_parameter_inner.go model_dcim_interfaces_list_mode_parameter.go +model_dcim_locations_list_status__ic_parameter_inner.go +model_dcim_module_types_list_airflow_parameter.go +model_dcim_modules_list_status__ic_parameter_inner.go model_dcim_power_feeds_list_phase_parameter.go +model_dcim_power_feeds_list_status__ic_parameter_inner.go model_dcim_power_feeds_list_supply_parameter.go model_dcim_power_feeds_list_type_parameter.go +model_dcim_power_outlet_templates_list_feed_leg__ic_parameter_inner.go model_dcim_power_outlet_templates_list_type_parameter.go +model_dcim_power_outlets_list_type__ic_parameter_inner.go model_dcim_power_port_templates_list_type_parameter.go +model_dcim_power_ports_list_type__ic_parameter_inner.go +model_dcim_rack_types_list_form_factor__ic_parameter_inner.go +model_dcim_rack_types_list_outer_unit_parameter.go +model_dcim_rack_types_list_width__ic_parameter_inner.go model_dcim_racks_elevation_retrieve_face_parameter.go model_dcim_racks_elevation_retrieve_render_parameter.go -model_dcim_racks_list_outer_unit_parameter.go +model_dcim_racks_list_airflow_parameter.go +model_dcim_racks_list_form_factor__ic_parameter_inner.go +model_dcim_racks_list_status__ic_parameter_inner.go +model_dcim_virtual_device_contexts_list_status__ic_parameter_inner.go model_device.go model_device_airflow.go model_device_airflow_label.go @@ -921,36 +1364,50 @@ model_device_bay_template_request.go model_device_face.go model_device_face_label.go model_device_face_value.go -model_device_request.go model_device_role.go model_device_role_request.go model_device_status.go model_device_status_label.go model_device_status_value.go model_device_type.go +model_device_type_airflow.go model_device_type_request.go +model_device_type_request_airflow.go +model_device_type_request_subdevice_role.go +model_device_type_request_weight_unit.go +model_device_type_subdevice_role.go +model_device_type_subdevice_role_label.go +model_device_type_subdevice_role_value.go +model_device_type_weight_unit.go +model_device_type_weight_unit_label.go +model_device_type_weight_unit_value.go model_device_with_config_context.go model_device_with_config_context_request.go model_encryption.go +model_encryption_1.go model_end.go model_end_1.go +model_event.go model_event_rule.go model_event_rule_action_type.go model_event_rule_action_type_label.go model_event_rule_action_type_value.go +model_event_rule_event_types_inner.go model_event_rule_request.go model_export_template.go model_export_template_request.go model_extras_custom_field_choice_sets_list_base_choices_parameter.go model_extras_custom_fields_list_filter_logic_parameter.go +model_extras_custom_fields_list_type__ic_parameter_inner.go model_extras_custom_fields_list_ui_editable_parameter.go model_extras_custom_fields_list_ui_visible_parameter.go model_extras_custom_links_list_button_class_parameter.go -model_extras_object_changes_list_action_parameter.go +model_extras_event_rules_list_action_type__ic_parameter_inner.go +model_extras_journal_entries_list_kind__ic_parameter_inner.go +model_extras_webhooks_list_http_method__ic_parameter_inner.go model_fhrp_group.go model_fhrp_group_assignment.go model_fhrp_group_assignment_request.go -model_fhrp_group_protocol.go model_fhrp_group_request.go model_front_port.go model_front_port_rear_port.go @@ -961,6 +1418,7 @@ model_front_port_template_request.go model_front_port_type.go model_front_port_type_label.go model_front_port_type_value.go +model_generic_object.go model_generic_object_request.go model_group.go model_group_request.go @@ -1028,6 +1486,12 @@ model_inventory_item_template.go model_inventory_item_template_request.go model_ip_address.go model_ip_address_request.go +model_ip_address_role.go +model_ip_address_role_label.go +model_ip_address_role_value.go +model_ip_address_status.go +model_ip_address_status_label.go +model_ip_address_status_value.go model_ip_range.go model_ip_range_request.go model_ip_range_status.go @@ -1042,12 +1506,13 @@ model_ip_sec_profile_mode_value.go model_ip_sec_profile_request.go model_ip_sec_proposal.go model_ip_sec_proposal_request.go +model_ipam_fhrp_groups_list_protocol__ic_parameter_inner.go +model_ipam_ip_addresses_list_role__ic_parameter_inner.go +model_ipam_ip_addresses_list_status__ic_parameter_inner.go +model_ipam_ip_ranges_list_status__ic_parameter_inner.go +model_ipam_prefixes_list_status__ic_parameter_inner.go model_ipam_service_templates_list_protocol_parameter.go model_job.go -model_job_request.go -model_job_status.go -model_job_status_label.go -model_job_status_value.go model_journal_entry.go model_journal_entry_kind.go model_journal_entry_kind_label.go @@ -1057,23 +1522,28 @@ model_l2_vpn.go model_l2_vpn_request.go model_l2_vpn_termination.go model_l2_vpn_termination_request.go -model_l2_vpn_type.go -model_l2_vpn_type_label.go -model_l2_vpn_type_value.go model_location.go model_location_request.go +model_location_status.go +model_location_status_label.go +model_location_status_value.go model_manufacturer.go model_manufacturer_request.go model_module.go model_module_bay.go -model_module_bay_nested_module.go -model_module_bay_nested_module_request.go model_module_bay_request.go model_module_bay_template.go model_module_bay_template_request.go model_module_request.go +model_module_status.go +model_module_status_label.go +model_module_status_value.go model_module_type.go +model_module_type_airflow.go +model_module_type_airflow_label.go +model_module_type_airflow_value.go model_module_type_request.go +model_module_type_request_airflow.go model_nested_contact_group.go model_nested_contact_group_request.go model_nested_device.go @@ -1083,8 +1553,13 @@ model_nested_interface.go model_nested_interface_request.go model_nested_interface_template.go model_nested_interface_template_request.go +model_nested_ip_address.go +model_nested_ip_address_request.go +model_nested_location.go +model_nested_location_request.go model_nested_module_bay.go model_nested_module_bay_request.go +model_nested_provider_account.go model_nested_region.go model_nested_region_request.go model_nested_site_group.go @@ -1098,9 +1573,14 @@ model_nested_virtual_machine.go model_nested_virtual_machine_request.go model_nested_vm_interface.go model_nested_vm_interface_request.go +model_nested_wireless_lan_group.go model_nested_wireless_lan_group_request.go model_nested_wireless_link.go model_nested_wireless_link_request.go +model_notification.go +model_notification_group.go +model_notification_group_request.go +model_notification_request.go model_object_change.go model_object_change_action.go model_object_change_action_label.go @@ -1114,6 +1594,8 @@ model_paginated_asn_range_list.go model_paginated_bookmark_list.go model_paginated_cable_list.go model_paginated_cable_termination_list.go +model_paginated_circuit_group_assignment_list.go +model_paginated_circuit_group_list.go model_paginated_circuit_list.go model_paginated_circuit_termination_list.go model_paginated_circuit_type_list.go @@ -1170,6 +1652,8 @@ model_paginated_module_bay_list.go model_paginated_module_bay_template_list.go model_paginated_module_list.go model_paginated_module_type_list.go +model_paginated_notification_group_list.go +model_paginated_notification_list.go model_paginated_object_change_list.go model_paginated_object_permission_list.go model_paginated_object_type_list.go @@ -1187,6 +1671,7 @@ model_paginated_provider_network_list.go model_paginated_rack_list.go model_paginated_rack_reservation_list.go model_paginated_rack_role_list.go +model_paginated_rack_type_list.go model_paginated_rack_unit_list.go model_paginated_rear_port_list.go model_paginated_rear_port_template_list.go @@ -1200,6 +1685,7 @@ model_paginated_service_list.go model_paginated_service_template_list.go model_paginated_site_group_list.go model_paginated_site_list.go +model_paginated_subscription_list.go model_paginated_tag_list.go model_paginated_tenant_group_list.go model_paginated_tenant_list.go @@ -1226,6 +1712,7 @@ model_patched_asn_range_request.go model_patched_asn_request.go model_patched_bookmark_request.go model_patched_cable_termination_request.go +model_patched_circuit_group_request.go model_patched_circuit_termination_request.go model_patched_circuit_type_request.go model_patched_cluster_group_request.go @@ -1251,6 +1738,8 @@ model_patched_l2_vpn_termination_request.go model_patched_manufacturer_request.go model_patched_module_bay_request.go model_patched_module_bay_template_request.go +model_patched_notification_group_request.go +model_patched_notification_request.go model_patched_object_permission_request.go model_patched_platform_request.go model_patched_power_panel_request.go @@ -1263,6 +1752,8 @@ model_patched_rir_request.go model_patched_role_request.go model_patched_route_target_request.go model_patched_saved_filter_request.go +model_patched_script_input_request.go +model_patched_subscription_request.go model_patched_tag_request.go model_patched_tenant_request.go model_patched_token_request.go @@ -1275,13 +1766,9 @@ model_patched_webhook_request.go model_patched_webhook_request_http_method.go model_patched_writable_aggregate_request.go model_patched_writable_cable_request.go -model_patched_writable_cable_request_length_unit.go -model_patched_writable_cable_request_status.go -model_patched_writable_cable_request_type.go +model_patched_writable_circuit_group_assignment_request.go model_patched_writable_circuit_request.go -model_patched_writable_circuit_request_status.go model_patched_writable_cluster_request.go -model_patched_writable_cluster_request_status.go model_patched_writable_console_port_request.go model_patched_writable_console_port_request_speed.go model_patched_writable_console_port_request_type.go @@ -1299,7 +1786,6 @@ model_patched_writable_custom_field_request_ui_editable.go model_patched_writable_custom_field_request_ui_visible.go model_patched_writable_data_source_request.go model_patched_writable_device_type_request.go -model_patched_writable_device_type_request_weight_unit.go model_patched_writable_device_with_config_context_request.go model_patched_writable_event_rule_request.go model_patched_writable_front_port_request.go @@ -1325,9 +1811,7 @@ model_patched_writable_ip_sec_proposal_request.go model_patched_writable_journal_entry_request.go model_patched_writable_l2_vpn_request.go model_patched_writable_location_request.go -model_patched_writable_location_request_status.go model_patched_writable_module_request.go -model_patched_writable_module_request_status.go model_patched_writable_module_type_request.go model_patched_writable_power_feed_request.go model_patched_writable_power_feed_request_phase.go @@ -1346,10 +1830,13 @@ model_patched_writable_power_port_template_request_type.go model_patched_writable_prefix_request.go model_patched_writable_prefix_request_status.go model_patched_writable_rack_request.go +model_patched_writable_rack_request_airflow.go +model_patched_writable_rack_request_form_factor.go model_patched_writable_rack_request_outer_unit.go model_patched_writable_rack_request_status.go -model_patched_writable_rack_request_type.go model_patched_writable_rack_request_width.go +model_patched_writable_rack_type_request.go +model_patched_writable_rack_type_request_form_factor.go model_patched_writable_rear_port_request.go model_patched_writable_rear_port_template_request.go model_patched_writable_region_request.go @@ -1375,6 +1862,7 @@ model_patched_writable_wireless_lan_group_request.go model_patched_writable_wireless_lan_request.go model_patched_writable_wireless_lan_request_status.go model_patched_writable_wireless_link_request.go +model_patched_writable_wireless_link_request_distance_unit.go model_platform.go model_platform_request.go model_power_feed.go @@ -1402,8 +1890,11 @@ model_power_panel.go model_power_panel_request.go model_power_port.go model_power_port_request.go +model_power_port_request_type.go model_power_port_template.go model_power_port_template_request.go +model_power_port_type.go +model_power_port_type_label.go model_prefix.go model_prefix_request.go model_prefix_status.go @@ -1416,16 +1907,31 @@ model_provider_network.go model_provider_network_request.go model_provider_request.go model_rack.go +model_rack_airflow.go +model_rack_airflow_label.go model_rack_face.go model_rack_face_1.go +model_rack_form_factor.go +model_rack_form_factor_label.go +model_rack_outer_unit.go +model_rack_outer_unit_label.go model_rack_request.go +model_rack_request_form_factor.go +model_rack_request_outer_unit.go model_rack_reservation.go model_rack_reservation_request.go model_rack_role.go model_rack_role_request.go +model_rack_status.go +model_rack_status_label.go +model_rack_type.go +model_rack_type_request.go model_rack_unit.go model_rack_unit_face.go model_rack_unit_face_value.go +model_rack_width.go +model_rack_width_label.go +model_rack_width_value.go model_rear_port.go model_rear_port_request.go model_rear_port_template.go @@ -1443,6 +1949,7 @@ model_saved_filter_request.go model_schema_retrieve_format_parameter.go model_schema_retrieve_lang_parameter.go model_script.go +model_script_input_request.go model_service.go model_service_protocol.go model_service_protocol_label.go @@ -1453,9 +1960,10 @@ model_site.go model_site_group.go model_site_group_request.go model_site_request.go +model_subscription.go +model_subscription_request.go model_tag.go model_tag_request.go -model_tenancy_contact_assignments_list_priority_parameter.go model_tenant.go model_tenant_group.go model_tenant_group_request.go @@ -1467,9 +1975,13 @@ model_token_provision.go model_token_provision_request.go model_token_request.go model_tunnel.go +model_tunnel_encapsulation.go +model_tunnel_encapsulation_label.go model_tunnel_group.go model_tunnel_group_request.go model_tunnel_request.go +model_tunnel_status.go +model_tunnel_status_label.go model_tunnel_termination.go model_tunnel_termination_request.go model_tunnel_termination_role.go @@ -1484,23 +1996,33 @@ model_virtual_device_context_status.go model_virtual_device_context_status_label.go model_virtual_disk.go model_virtual_disk_request.go -model_virtual_machine.go -model_virtual_machine_request.go model_virtual_machine_with_config_context.go model_virtual_machine_with_config_context_request.go -model_virtual_machine_with_config_context_status.go -model_virtual_machine_with_config_context_status_label.go +model_virtualization_clusters_list_status__ic_parameter_inner.go model_vlan.go model_vlan_group.go model_vlan_group_request.go model_vlan_request.go model_vm_interface.go model_vm_interface_request.go +model_vpn_ike_policies_list_mode__ic_parameter_inner.go +model_vpn_ike_policies_list_version__ic_parameter_inner.go +model_vpn_ike_proposals_list_authentication_algorithm__ic_parameter_inner.go +model_vpn_ike_proposals_list_authentication_method__ic_parameter_inner.go +model_vpn_ike_proposals_list_encryption_algorithm__ic_parameter_inner.go +model_vpn_ike_proposals_list_group__ic_parameter_inner.go +model_vpn_ipsec_policies_list_pfs_group__ic_parameter_inner.go +model_vpn_ipsec_profiles_list_mode__ic_parameter_inner.go +model_vpn_l2vpns_list_type__ic_parameter_inner.go +model_vpn_tunnel_terminations_list_role__ic_parameter_inner.go +model_vpn_tunnels_list_encapsulation__ic_parameter_inner.go +model_vpn_tunnels_list_status__ic_parameter_inner.go model_vrf.go model_vrf_request.go model_webhook.go model_webhook_request.go model_wireless_channel.go +model_wireless_channel_1.go model_wireless_lan.go model_wireless_lan_auth_cipher.go model_wireless_lan_auth_cipher_label.go @@ -1515,12 +2037,17 @@ model_wireless_lan_status.go model_wireless_lan_status_label.go model_wireless_lan_status_value.go model_wireless_link.go +model_wireless_link_distance_unit.go +model_wireless_link_distance_unit_label.go model_wireless_link_request.go -model_wireless_link_status.go -model_wireless_link_status_label.go +model_wireless_link_request_distance_unit.go model_wireless_role.go +model_wireless_role_1.go +model_wireless_wireless_lans_list_status__ic_parameter_inner.go +model_wireless_wireless_links_list_distance_unit_parameter.go model_writable_aggregate_request.go model_writable_cable_request.go +model_writable_circuit_group_assignment_request.go model_writable_circuit_request.go model_writable_cluster_request.go model_writable_console_port_request.go @@ -1558,6 +2085,7 @@ model_writable_power_port_request.go model_writable_power_port_template_request.go model_writable_prefix_request.go model_writable_rack_request.go +model_writable_rack_type_request.go model_writable_rear_port_request.go model_writable_rear_port_template_request.go model_writable_region_request.go @@ -1577,16 +2105,4 @@ model_writable_wireless_lan_group_request.go model_writable_wireless_lan_request.go model_writable_wireless_link_request.go response.go -test/api_circuits_test.go -test/api_core_test.go -test/api_dcim_test.go -test/api_extras_test.go -test/api_ipam_test.go -test/api_schema_test.go -test/api_status_test.go -test/api_tenancy_test.go -test/api_users_test.go -test/api_virtualization_test.go -test/api_vpn_test.go -test/api_wireless_test.go utils.go diff --git a/Makefile b/Makefile index cb3f50ead..0e741af1f 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ default: init up .PHONY: init init: test -f .env || cp .env.example .env - $(call set_env,USER_ID,$(shell id -u)) + $(call set_env,USER_ID,1000) .PHONY: up up: diff --git a/api/netbox_docker_version b/api/netbox_docker_version index dedcc7d43..b50214693 100644 --- a/api/netbox_docker_version +++ b/api/netbox_docker_version @@ -1 +1 @@ -2.9.1 +3.0.2 diff --git a/api/netbox_version b/api/netbox_version index c4e41f945..de197cc33 100644 --- a/api/netbox_version +++ b/api/netbox_version @@ -1 +1 @@ -4.0.3 +4.1.3 diff --git a/api/openapi.yaml b/api/openapi.yaml index 75765d650..5406a563b 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -1,68 +1,42 @@ openapi: 3.0.3 info: title: NetBox REST API - version: 4.0.3 (4.0) + version: 4.1.3 (4.1) license: name: Apache v2 License paths: - /api/circuits/circuit-terminations/: + /api/circuits/circuit-group-assignments/: get: - operationId: circuits_circuit_terminations_list - description: Get a list of circuit termination objects. + operationId: circuits_circuit_group_assignments_list + description: Get a list of Circuit group assignment objects. parameters: - in: query - name: cable_end - schema: - type: string - x-spec-enum-id: 1db84f9b93b261c8 - enum: - - A - - B - description: '* `A` - A - - * `B` - B' - - in: query - name: cable_end__n - schema: - type: string - x-spec-enum-id: 1db84f9b93b261c8 - enum: - - A - - B - description: '* `A` - A - - * `B` - B' - - in: query - name: cable_id + name: circuit schema: type: array items: - type: integer - nullable: true - description: Cable (ID) + type: string + title: Circuit ID + description: Circuit (CID) explode: true style: form - in: query - name: cable_id__n + name: circuit__n schema: type: array items: - type: integer - nullable: true - description: Cable (ID) + type: string + title: Circuit ID + description: Circuit (CID) explode: true style: form - - in: query - name: cabled - schema: - type: boolean - in: query name: circuit_id schema: type: array items: type: integer - description: Circuit + description: Circuit (ID) explode: true style: form - in: query @@ -71,7 +45,7 @@ paths: type: array items: type: integer - description: Circuit + description: Circuit (ID) explode: true style: form - in: query @@ -143,87 +117,39 @@ paths: type: string format: uuid - in: query - name: description - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: description__empty - schema: - type: boolean - - 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__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 + name: group schema: type: array items: type: string + description: Circuit group (slug) explode: true style: form - in: query - name: description__nie + name: group__n schema: type: array items: type: string + description: Circuit group (slug) explode: true style: form - in: query - name: description__niew + name: group_id schema: type: array items: - type: string + type: integer + description: Circuit group (ID) explode: true style: form - in: query - name: description__nisw + name: group_id__n schema: type: array items: - type: string + type: integer + description: Circuit group (ID) explode: true style: form - in: query @@ -353,19 +279,11 @@ paths: description: Number of results to return per page. schema: type: integer - - in: query - name: mark_connected - schema: - type: boolean - in: query name: modified_by_request schema: type: string format: uuid - - in: query - name: occupied - schema: - type: boolean - name: offset required: false in: query @@ -379,147 +297,22 @@ paths: schema: type: string - in: query - name: port_speed - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: port_speed__empty - schema: - type: boolean - - in: query - name: port_speed__gt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: port_speed__gte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: port_speed__lt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: port_speed__lte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: port_speed__n - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: pp_info - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: pp_info__empty - schema: - type: boolean - - in: query - name: pp_info__ic - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: pp_info__ie - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: pp_info__iew - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: pp_info__isw - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: pp_info__n - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: pp_info__nic - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: pp_info__nie - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: pp_info__niew - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: pp_info__nisw + name: priority schema: - type: array - items: - type: string - explode: true - style: form + type: string + x-spec-enum-id: ef3a31644cec7524 + enum: + - inactive + - primary + - secondary + - tertiary + description: '* `primary` - Primary + + * `secondary` - Secondary + + * `tertiary` - Tertiary + + * `inactive` - Inactive' - in: query name: provider schema: @@ -556,69 +349,11 @@ paths: description: Provider (ID) explode: true style: form - - in: query - name: provider_network_id - schema: - type: array - items: - type: integer - nullable: true - description: ProviderNetwork (ID) - explode: true - style: form - - in: query - name: provider_network_id__n - schema: - type: array - items: - type: integer - nullable: true - description: ProviderNetwork (ID) - explode: true - style: form - in: query name: q schema: type: string description: Search - - in: query - name: site - schema: - type: array - items: - type: string - description: Site (slug) - explode: true - style: form - - in: query - name: site__n - schema: - type: array - items: - type: string - description: Site (slug) - explode: true - style: form - - in: query - name: site_id - schema: - type: array - items: - type: integer - nullable: true - description: Site (ID) - explode: true - style: form - - in: query - name: site_id__n - schema: - type: array - items: - type: integer - nullable: true - description: Site (ID) - explode: true - style: form - in: query name: tag schema: @@ -635,177 +370,11 @@ paths: type: string explode: true style: form - - in: query - name: term_side - schema: - type: string - x-spec-enum-id: 95b8fcc737f355d0 - title: Termination - enum: - - A - - Z - description: '* `A` - A - - * `Z` - Z' - - in: query - name: term_side__n - schema: - type: string - x-spec-enum-id: 95b8fcc737f355d0 - title: Termination - enum: - - A - - Z - description: '* `A` - A - - * `Z` - Z' - in: query name: updated_by_request schema: type: string format: uuid - - in: query - name: upstream_speed - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: upstream_speed__empty - schema: - type: boolean - - in: query - name: upstream_speed__gt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: upstream_speed__gte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: upstream_speed__lt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: upstream_speed__lte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: upstream_speed__n - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: xconnect_id - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: xconnect_id__empty - schema: - type: boolean - - in: query - name: xconnect_id__ic - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: xconnect_id__ie - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: xconnect_id__iew - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: xconnect_id__isw - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: xconnect_id__n - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: xconnect_id__nic - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: xconnect_id__nie - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: xconnect_id__niew - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: xconnect_id__nisw - schema: - type: array - items: - type: string - explode: true - style: form tags: - circuits security: @@ -816,21 +385,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedCircuitTerminationList' + $ref: '#/components/schemas/PaginatedCircuitGroupAssignmentList' description: '' post: - operationId: circuits_circuit_terminations_create - description: Post a list of circuit termination objects. + operationId: circuits_circuit_group_assignments_create + description: Post a list of Circuit group assignment objects. tags: - circuits requestBody: content: application/json: schema: - $ref: '#/components/schemas/CircuitTerminationRequest' + $ref: '#/components/schemas/WritableCircuitGroupAssignmentRequest' multipart/form-data: schema: - $ref: '#/components/schemas/CircuitTerminationRequest' + $ref: '#/components/schemas/WritableCircuitGroupAssignmentRequest' required: true security: - cookieAuth: [] @@ -840,11 +409,11 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/CircuitTermination' + $ref: '#/components/schemas/CircuitGroupAssignment' description: '' put: - operationId: circuits_circuit_terminations_bulk_update - description: Put a list of circuit termination objects. + operationId: circuits_circuit_group_assignments_bulk_update + description: Put a list of Circuit group assignment objects. tags: - circuits requestBody: @@ -853,12 +422,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/CircuitTerminationRequest' + $ref: '#/components/schemas/CircuitGroupAssignmentRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/CircuitTerminationRequest' + $ref: '#/components/schemas/CircuitGroupAssignmentRequest' required: true security: - cookieAuth: [] @@ -870,11 +439,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/CircuitTermination' + $ref: '#/components/schemas/CircuitGroupAssignment' description: '' patch: - operationId: circuits_circuit_terminations_bulk_partial_update - description: Patch a list of circuit termination objects. + operationId: circuits_circuit_group_assignments_bulk_partial_update + description: Patch a list of Circuit group assignment objects. tags: - circuits requestBody: @@ -883,12 +452,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/CircuitTerminationRequest' + $ref: '#/components/schemas/CircuitGroupAssignmentRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/CircuitTerminationRequest' + $ref: '#/components/schemas/CircuitGroupAssignmentRequest' required: true security: - cookieAuth: [] @@ -900,11 +469,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/CircuitTermination' + $ref: '#/components/schemas/CircuitGroupAssignment' description: '' delete: - operationId: circuits_circuit_terminations_bulk_destroy - description: Delete a list of circuit termination objects. + operationId: circuits_circuit_group_assignments_bulk_destroy + description: Delete a list of Circuit group assignment objects. tags: - circuits requestBody: @@ -913,12 +482,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/CircuitTerminationRequest' + $ref: '#/components/schemas/CircuitGroupAssignmentRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/CircuitTerminationRequest' + $ref: '#/components/schemas/CircuitGroupAssignmentRequest' required: true security: - cookieAuth: [] @@ -926,16 +495,16 @@ paths: responses: '204': description: No response body - /api/circuits/circuit-terminations/{id}/: + /api/circuits/circuit-group-assignments/{id}/: get: - operationId: circuits_circuit_terminations_retrieve - description: Get a circuit termination object. + operationId: circuits_circuit_group_assignments_retrieve + description: Get a Circuit group assignment object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this circuit termination. + description: A unique integer value identifying this Circuit group assignment. required: true tags: - circuits @@ -947,17 +516,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/CircuitTermination' + $ref: '#/components/schemas/CircuitGroupAssignment' description: '' put: - operationId: circuits_circuit_terminations_update - description: Put a circuit termination object. + operationId: circuits_circuit_group_assignments_update + description: Put a Circuit group assignment object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this circuit termination. + description: A unique integer value identifying this Circuit group assignment. required: true tags: - circuits @@ -965,10 +534,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/CircuitTerminationRequest' + $ref: '#/components/schemas/WritableCircuitGroupAssignmentRequest' multipart/form-data: schema: - $ref: '#/components/schemas/CircuitTerminationRequest' + $ref: '#/components/schemas/WritableCircuitGroupAssignmentRequest' required: true security: - cookieAuth: [] @@ -978,17 +547,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/CircuitTermination' + $ref: '#/components/schemas/CircuitGroupAssignment' description: '' patch: - operationId: circuits_circuit_terminations_partial_update - description: Patch a circuit termination object. + operationId: circuits_circuit_group_assignments_partial_update + description: Patch a Circuit group assignment object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this circuit termination. + description: A unique integer value identifying this Circuit group assignment. required: true tags: - circuits @@ -996,10 +565,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PatchedCircuitTerminationRequest' + $ref: '#/components/schemas/PatchedWritableCircuitGroupAssignmentRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedCircuitTerminationRequest' + $ref: '#/components/schemas/PatchedWritableCircuitGroupAssignmentRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -1008,17 +577,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/CircuitTermination' + $ref: '#/components/schemas/CircuitGroupAssignment' description: '' delete: - operationId: circuits_circuit_terminations_destroy - description: Delete a circuit termination object. + operationId: circuits_circuit_group_assignments_destroy + description: Delete a Circuit group assignment object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this circuit termination. + description: A unique integer value identifying this Circuit group assignment. required: true tags: - circuits @@ -1028,118 +597,11 @@ paths: responses: '204': description: No response body - /api/circuits/circuit-terminations/{id}/paths/: - get: - operationId: circuits_circuit_terminations_paths_retrieve - description: Return all CablePaths which traverse a given pass-through port. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this circuit termination. - required: true - tags: - - circuits - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/CircuitTermination' - description: '' - /api/circuits/circuit-types/: + /api/circuits/circuit-groups/: get: - operationId: circuits_circuit_types_list - description: Get a list of circuit type objects. + operationId: circuits_circuit_groups_list + description: Get a list of circuit group objects. parameters: - - in: query - name: color - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: color__empty - schema: - type: boolean - - in: query - name: color__ic - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: color__ie - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: color__iew - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: color__isw - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: color__n - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: color__nic - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: color__nie - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: color__niew - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: color__nisw - schema: - type: array - items: - type: string - explode: true - style: form - in: query name: created schema: @@ -1625,6 +1087,76 @@ paths: type: string explode: true style: form + - in: query + name: tenant + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant__n + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant_group + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant_group__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant_group_id + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant_group_id__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant_id + schema: + type: array + items: + type: integer + nullable: true + description: Tenant (ID) + explode: true + style: form + - in: query + name: tenant_id__n + schema: + type: array + items: + type: integer + nullable: true + description: Tenant (ID) + explode: true + style: form - in: query name: updated_by_request schema: @@ -1640,21 +1172,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedCircuitTypeList' + $ref: '#/components/schemas/PaginatedCircuitGroupList' description: '' post: - operationId: circuits_circuit_types_create - description: Post a list of circuit type objects. + operationId: circuits_circuit_groups_create + description: Post a list of circuit group objects. tags: - circuits requestBody: content: application/json: schema: - $ref: '#/components/schemas/CircuitTypeRequest' + $ref: '#/components/schemas/CircuitGroupRequest' multipart/form-data: schema: - $ref: '#/components/schemas/CircuitTypeRequest' + $ref: '#/components/schemas/CircuitGroupRequest' required: true security: - cookieAuth: [] @@ -1664,11 +1196,11 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/CircuitType' + $ref: '#/components/schemas/CircuitGroup' description: '' put: - operationId: circuits_circuit_types_bulk_update - description: Put a list of circuit type objects. + operationId: circuits_circuit_groups_bulk_update + description: Put a list of circuit group objects. tags: - circuits requestBody: @@ -1677,12 +1209,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/CircuitTypeRequest' + $ref: '#/components/schemas/CircuitGroupRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/CircuitTypeRequest' + $ref: '#/components/schemas/CircuitGroupRequest' required: true security: - cookieAuth: [] @@ -1694,11 +1226,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/CircuitType' + $ref: '#/components/schemas/CircuitGroup' description: '' patch: - operationId: circuits_circuit_types_bulk_partial_update - description: Patch a list of circuit type objects. + operationId: circuits_circuit_groups_bulk_partial_update + description: Patch a list of circuit group objects. tags: - circuits requestBody: @@ -1707,12 +1239,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/CircuitTypeRequest' + $ref: '#/components/schemas/CircuitGroupRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/CircuitTypeRequest' + $ref: '#/components/schemas/CircuitGroupRequest' required: true security: - cookieAuth: [] @@ -1724,11 +1256,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/CircuitType' + $ref: '#/components/schemas/CircuitGroup' description: '' delete: - operationId: circuits_circuit_types_bulk_destroy - description: Delete a list of circuit type objects. + operationId: circuits_circuit_groups_bulk_destroy + description: Delete a list of circuit group objects. tags: - circuits requestBody: @@ -1737,12 +1269,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/CircuitTypeRequest' + $ref: '#/components/schemas/CircuitGroupRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/CircuitTypeRequest' + $ref: '#/components/schemas/CircuitGroupRequest' required: true security: - cookieAuth: [] @@ -1750,16 +1282,16 @@ paths: responses: '204': description: No response body - /api/circuits/circuit-types/{id}/: + /api/circuits/circuit-groups/{id}/: get: - operationId: circuits_circuit_types_retrieve - description: Get a circuit type object. + operationId: circuits_circuit_groups_retrieve + description: Get a circuit group object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this circuit type. + description: A unique integer value identifying this circuit group. required: true tags: - circuits @@ -1771,17 +1303,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/CircuitType' + $ref: '#/components/schemas/CircuitGroup' description: '' put: - operationId: circuits_circuit_types_update - description: Put a circuit type object. + operationId: circuits_circuit_groups_update + description: Put a circuit group object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this circuit type. + description: A unique integer value identifying this circuit group. required: true tags: - circuits @@ -1789,10 +1321,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/CircuitTypeRequest' + $ref: '#/components/schemas/CircuitGroupRequest' multipart/form-data: schema: - $ref: '#/components/schemas/CircuitTypeRequest' + $ref: '#/components/schemas/CircuitGroupRequest' required: true security: - cookieAuth: [] @@ -1802,17 +1334,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/CircuitType' + $ref: '#/components/schemas/CircuitGroup' description: '' patch: - operationId: circuits_circuit_types_partial_update - description: Patch a circuit type object. + operationId: circuits_circuit_groups_partial_update + description: Patch a circuit group object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this circuit type. + description: A unique integer value identifying this circuit group. required: true tags: - circuits @@ -1820,10 +1352,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PatchedCircuitTypeRequest' + $ref: '#/components/schemas/PatchedCircuitGroupRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedCircuitTypeRequest' + $ref: '#/components/schemas/PatchedCircuitGroupRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -1832,17 +1364,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/CircuitType' + $ref: '#/components/schemas/CircuitGroup' description: '' delete: - operationId: circuits_circuit_types_destroy - description: Delete a circuit type object. + operationId: circuits_circuit_groups_destroy + description: Delete a circuit group object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this circuit type. + description: A unique integer value identifying this circuit group. required: true tags: - circuits @@ -1852,205 +1384,62 @@ paths: responses: '204': description: No response body - /api/circuits/circuits/: + /api/circuits/circuit-terminations/: get: - operationId: circuits_circuits_list - description: Get a list of circuit objects. + operationId: circuits_circuit_terminations_list + description: Get a list of circuit termination objects. parameters: - in: query - name: cid - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: cid__empty - schema: - type: boolean - - in: query - name: cid__ic - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: cid__ie - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: cid__iew - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: cid__isw - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: cid__n - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: cid__nic - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: cid__nie - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: cid__niew - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: cid__nisw - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: commit_rate - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: commit_rate__empty - schema: - type: boolean - - in: query - name: commit_rate__gt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: commit_rate__gte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: commit_rate__lt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: commit_rate__lte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: commit_rate__n - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: contact + name: cable_end schema: - type: array - items: - type: integer - description: Contact - explode: true - style: form + type: string + x-spec-enum-id: 1db84f9b93b261c8 + enum: + - A + - B + description: '* `A` - A + + * `B` - B' - in: query - name: contact__n + name: cable_id schema: type: array items: type: integer - description: Contact + nullable: true + description: Cable (ID) explode: true style: form - in: query - name: contact_group + name: cable_id__n schema: type: array items: type: integer - description: Contact group + nullable: true + description: Cable (ID) explode: true style: form - in: query - name: contact_group__n + name: cabled schema: - type: array - items: - type: integer - description: Contact group - explode: true - style: form + type: boolean - in: query - name: contact_role + name: circuit_id schema: type: array items: type: integer - description: Contact Role + description: Circuit explode: true style: form - in: query - name: contact_role__n + name: circuit_id__n schema: type: array items: type: integer - description: Contact Role + description: Circuit explode: true style: form - in: query @@ -2263,64 +1652,6 @@ paths: format: int32 explode: true style: form - - in: query - name: install_date - schema: - type: array - items: - type: string - format: date - explode: true - style: form - - in: query - name: install_date__empty - schema: - type: boolean - - in: query - name: install_date__gt - schema: - type: array - items: - type: string - format: date - explode: true - style: form - - in: query - name: install_date__gte - schema: - type: array - items: - type: string - format: date - explode: true - style: form - - in: query - name: install_date__lt - schema: - type: array - items: - type: string - format: date - explode: true - style: form - - in: query - name: install_date__lte - schema: - type: array - items: - type: string - format: date - explode: true - style: form - - in: query - name: install_date__n - schema: - type: array - items: - type: string - format: date - explode: true - style: form - in: query name: last_updated schema: @@ -2390,11 +1721,19 @@ paths: description: Number of results to return per page. schema: type: integer + - in: query + name: mark_connected + schema: + type: boolean - in: query name: modified_by_request schema: type: string format: uuid + - in: query + name: occupied + schema: + type: boolean - name: offset required: false in: query @@ -2408,457 +1747,421 @@ paths: schema: type: string - in: query - name: provider + name: port_speed schema: type: array items: - type: string - description: Provider (slug) + type: integer + format: int32 explode: true style: form - in: query - name: provider__n + name: port_speed__empty + schema: + type: boolean + - in: query + name: port_speed__gt schema: type: array items: - type: string - description: Provider (slug) + type: integer + format: int32 explode: true style: form - in: query - name: provider_account + name: port_speed__gte schema: type: array items: - type: string - title: Account ID - description: Provider account (account) + type: integer + format: int32 explode: true style: form - in: query - name: provider_account__n + name: port_speed__lt schema: type: array items: - type: string - title: Account ID - description: Provider account (account) + type: integer + format: int32 explode: true style: form - in: query - name: provider_account_id + name: port_speed__lte schema: type: array items: type: integer - description: Provider account (ID) + format: int32 explode: true style: form - in: query - name: provider_account_id__n + name: port_speed__n schema: type: array items: type: integer - description: Provider account (ID) + format: int32 explode: true style: form - in: query - name: provider_id + name: pp_info schema: type: array items: - type: integer - description: Provider (ID) + type: string explode: true style: form - in: query - name: provider_id__n + name: pp_info__empty + schema: + type: boolean + - in: query + name: pp_info__ic schema: type: array items: - type: integer - description: Provider (ID) + type: string explode: true style: form - in: query - name: provider_network_id + name: pp_info__ie schema: type: array items: - type: integer - description: Provider network (ID) + type: string explode: true style: form - in: query - name: provider_network_id__n + name: pp_info__iew schema: type: array items: - type: integer - description: Provider network (ID) + type: string explode: true style: form - in: query - name: q - schema: - type: string - description: Search - - in: query - name: region + name: pp_info__isw schema: type: array items: - type: integer - description: Region (slug) + type: string explode: true style: form - in: query - name: region__n + name: pp_info__n schema: type: array items: - type: integer - description: Region (slug) + type: string explode: true style: form - in: query - name: region_id + name: pp_info__nic schema: type: array items: - type: integer - description: Region (ID) + type: string explode: true style: form - in: query - name: region_id__n + name: pp_info__nie schema: type: array items: - type: integer - description: Region (ID) + type: string explode: true style: form - in: query - name: site + name: pp_info__niew schema: type: array items: type: string - description: Site (slug) explode: true style: form - in: query - name: site__n + name: pp_info__nisw schema: type: array items: type: string - description: Site (slug) explode: true style: form - in: query - name: site_group + name: provider schema: type: array items: - type: integer - description: Site group (slug) + type: string + description: Provider (slug) explode: true style: form - in: query - name: site_group__n + name: provider__n schema: type: array items: - type: integer - description: Site group (slug) + type: string + description: Provider (slug) explode: true style: form - in: query - name: site_group_id + name: provider_id schema: type: array items: type: integer - description: Site group (ID) + description: Provider (ID) explode: true style: form - in: query - name: site_group_id__n + name: provider_id__n schema: type: array items: type: integer - description: Site group (ID) + description: Provider (ID) explode: true style: form - in: query - name: site_id + name: provider_network_id schema: type: array items: type: integer - description: Site (ID) + nullable: true + description: ProviderNetwork (ID) explode: true style: form - in: query - name: site_id__n + name: provider_network_id__n schema: type: array items: type: integer - description: Site (ID) + nullable: true + description: ProviderNetwork (ID) explode: true style: form - in: query - name: status + name: q + schema: + type: string + description: Search + - in: query + name: site schema: type: array items: type: string - x-spec-enum-id: 63c838134a022200 + description: Site (slug) explode: true style: form - in: query - name: status__n + name: site__n schema: type: array items: type: string - x-spec-enum-id: 63c838134a022200 + description: Site (slug) explode: true style: form - in: query - name: tag + name: site_id schema: type: array items: - type: string + type: integer + nullable: true + description: Site (ID) explode: true style: form - in: query - name: tag__n + name: site_id__n schema: type: array items: - type: string + type: integer + nullable: true + description: Site (ID) explode: true style: form - in: query - name: tenant + name: tag schema: type: array items: type: string - description: Tenant (slug) explode: true style: form - in: query - name: tenant__n + name: tag__n schema: type: array items: type: string - description: Tenant (slug) explode: true style: form - in: query - name: tenant_group + name: term_side schema: - type: array - items: - type: integer - description: Tenant Group (slug) - explode: true - style: form + type: string + x-spec-enum-id: 95b8fcc737f355d0 + title: Termination + enum: + - A + - Z + description: '* `A` - A + + * `Z` - Z' - in: query - name: tenant_group__n + name: updated_by_request schema: - type: array - items: - type: integer - description: Tenant Group (slug) - explode: true - style: form + type: string + format: uuid - in: query - name: tenant_group_id + name: upstream_speed schema: type: array items: type: integer - description: Tenant Group (ID) + format: int32 explode: true style: form - in: query - name: tenant_group_id__n + name: upstream_speed__empty + schema: + type: boolean + - in: query + name: upstream_speed__gt schema: type: array items: type: integer - description: Tenant Group (ID) + format: int32 explode: true style: form - in: query - name: tenant_id + name: upstream_speed__gte schema: type: array items: type: integer - nullable: true - description: Tenant (ID) + format: int32 explode: true style: form - in: query - name: tenant_id__n + name: upstream_speed__lt schema: type: array items: type: integer - nullable: true - description: Tenant (ID) + format: int32 explode: true style: form - in: query - name: termination_a_id + name: upstream_speed__lte schema: type: array items: type: integer - nullable: true - description: Termination A (ID) + format: int32 explode: true style: form - in: query - name: termination_a_id__n + name: upstream_speed__n schema: type: array items: type: integer - nullable: true - description: Termination A (ID) + format: int32 explode: true style: form - in: query - name: termination_date + name: xconnect_id schema: type: array items: type: string - format: date explode: true style: form - in: query - name: termination_date__empty + name: xconnect_id__empty schema: type: boolean - in: query - name: termination_date__gt + name: xconnect_id__ic schema: type: array items: type: string - format: date explode: true style: form - in: query - name: termination_date__gte + name: xconnect_id__ie schema: type: array items: type: string - format: date explode: true style: form - in: query - name: termination_date__lt + name: xconnect_id__iew schema: type: array items: type: string - format: date explode: true style: form - in: query - name: termination_date__lte + name: xconnect_id__isw schema: type: array items: type: string - format: date explode: true style: form - in: query - name: termination_date__n + name: xconnect_id__n schema: type: array items: type: string - format: date - explode: true - style: form - - in: query - name: termination_z_id - schema: - type: array - items: - type: integer - nullable: true - description: Termination A (ID) - explode: true - style: form - - in: query - name: termination_z_id__n - schema: - type: array - items: - type: integer - nullable: true - description: Termination A (ID) explode: true style: form - in: query - name: type + name: xconnect_id__nic schema: type: array items: type: string - description: Circuit type (slug) explode: true style: form - in: query - name: type__n + name: xconnect_id__nie schema: type: array items: type: string - description: Circuit type (slug) explode: true style: form - in: query - name: type_id + name: xconnect_id__niew schema: type: array items: - type: integer - description: Circuit type (ID) + type: string explode: true style: form - in: query - name: type_id__n + name: xconnect_id__nisw schema: type: array items: - type: integer - description: Circuit type (ID) + type: string explode: true style: form - - in: query - name: updated_by_request - schema: - type: string - format: uuid tags: - circuits security: @@ -2869,21 +2172,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedCircuitList' + $ref: '#/components/schemas/PaginatedCircuitTerminationList' description: '' post: - operationId: circuits_circuits_create - description: Post a list of circuit objects. + operationId: circuits_circuit_terminations_create + description: Post a list of circuit termination objects. tags: - circuits requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableCircuitRequest' + $ref: '#/components/schemas/CircuitTerminationRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableCircuitRequest' + $ref: '#/components/schemas/CircuitTerminationRequest' required: true security: - cookieAuth: [] @@ -2893,11 +2196,11 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Circuit' + $ref: '#/components/schemas/CircuitTermination' description: '' put: - operationId: circuits_circuits_bulk_update - description: Put a list of circuit objects. + operationId: circuits_circuit_terminations_bulk_update + description: Put a list of circuit termination objects. tags: - circuits requestBody: @@ -2906,12 +2209,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/CircuitRequest' + $ref: '#/components/schemas/CircuitTerminationRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/CircuitRequest' + $ref: '#/components/schemas/CircuitTerminationRequest' required: true security: - cookieAuth: [] @@ -2923,11 +2226,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/Circuit' + $ref: '#/components/schemas/CircuitTermination' description: '' patch: - operationId: circuits_circuits_bulk_partial_update - description: Patch a list of circuit objects. + operationId: circuits_circuit_terminations_bulk_partial_update + description: Patch a list of circuit termination objects. tags: - circuits requestBody: @@ -2936,12 +2239,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/CircuitRequest' + $ref: '#/components/schemas/CircuitTerminationRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/CircuitRequest' + $ref: '#/components/schemas/CircuitTerminationRequest' required: true security: - cookieAuth: [] @@ -2953,11 +2256,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/Circuit' + $ref: '#/components/schemas/CircuitTermination' description: '' delete: - operationId: circuits_circuits_bulk_destroy - description: Delete a list of circuit objects. + operationId: circuits_circuit_terminations_bulk_destroy + description: Delete a list of circuit termination objects. tags: - circuits requestBody: @@ -2966,12 +2269,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/CircuitRequest' + $ref: '#/components/schemas/CircuitTerminationRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/CircuitRequest' + $ref: '#/components/schemas/CircuitTerminationRequest' required: true security: - cookieAuth: [] @@ -2979,16 +2282,16 @@ paths: responses: '204': description: No response body - /api/circuits/circuits/{id}/: + /api/circuits/circuit-terminations/{id}/: get: - operationId: circuits_circuits_retrieve - description: Get a circuit object. + operationId: circuits_circuit_terminations_retrieve + description: Get a circuit termination object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this circuit. + description: A unique integer value identifying this circuit termination. required: true tags: - circuits @@ -3000,17 +2303,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Circuit' + $ref: '#/components/schemas/CircuitTermination' description: '' put: - operationId: circuits_circuits_update - description: Put a circuit object. + operationId: circuits_circuit_terminations_update + description: Put a circuit termination object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this circuit. + description: A unique integer value identifying this circuit termination. required: true tags: - circuits @@ -3018,10 +2321,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/WritableCircuitRequest' + $ref: '#/components/schemas/CircuitTerminationRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableCircuitRequest' + $ref: '#/components/schemas/CircuitTerminationRequest' required: true security: - cookieAuth: [] @@ -3031,17 +2334,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Circuit' + $ref: '#/components/schemas/CircuitTermination' description: '' patch: - operationId: circuits_circuits_partial_update - description: Patch a circuit object. + operationId: circuits_circuit_terminations_partial_update + description: Patch a circuit termination object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this circuit. + description: A unique integer value identifying this circuit termination. required: true tags: - circuits @@ -3049,10 +2352,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PatchedWritableCircuitRequest' + $ref: '#/components/schemas/PatchedCircuitTerminationRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedWritableCircuitRequest' + $ref: '#/components/schemas/PatchedCircuitTerminationRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -3061,17 +2364,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Circuit' + $ref: '#/components/schemas/CircuitTermination' description: '' delete: - operationId: circuits_circuits_destroy - description: Delete a circuit object. + operationId: circuits_circuit_terminations_destroy + description: Delete a circuit termination object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this circuit. + description: A unique integer value identifying this circuit termination. required: true tags: - circuits @@ -3081,13 +2384,36 @@ paths: responses: '204': description: No response body - /api/circuits/provider-accounts/: + /api/circuits/circuit-terminations/{id}/paths/: get: - operationId: circuits_provider_accounts_list - description: Get a list of provider account objects. + operationId: circuits_circuit_terminations_paths_retrieve + description: Return all CablePaths which traverse a given pass-through port. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this circuit termination. + required: true + tags: + - circuits + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/CircuitTermination' + description: '' + /api/circuits/circuit-types/: + get: + operationId: circuits_circuit_types_list + description: Get a list of circuit type objects. parameters: - in: query - name: account + name: color schema: type: array items: @@ -3095,11 +2421,11 @@ paths: explode: true style: form - in: query - name: account__empty + name: color__empty schema: type: boolean - in: query - name: account__ic + name: color__ic schema: type: array items: @@ -3107,7 +2433,7 @@ paths: explode: true style: form - in: query - name: account__ie + name: color__ie schema: type: array items: @@ -3115,7 +2441,7 @@ paths: explode: true style: form - in: query - name: account__iew + name: color__iew schema: type: array items: @@ -3123,7 +2449,7 @@ paths: explode: true style: form - in: query - name: account__isw + name: color__isw schema: type: array items: @@ -3131,7 +2457,7 @@ paths: explode: true style: form - in: query - name: account__n + name: color__n schema: type: array items: @@ -3139,7 +2465,7 @@ paths: explode: true style: form - in: query - name: account__nic + name: color__nic schema: type: array items: @@ -3147,7 +2473,7 @@ paths: explode: true style: form - in: query - name: account__nie + name: color__nie schema: type: array items: @@ -3155,7 +2481,7 @@ paths: explode: true style: form - in: query - name: account__niew + name: color__niew schema: type: array items: @@ -3163,7 +2489,7 @@ paths: explode: true style: form - in: query - name: account__nisw + name: color__nisw schema: type: array items: @@ -3551,46 +2877,94 @@ paths: schema: type: string - in: query - name: provider + name: q + schema: + type: string + description: Search + - in: query + name: slug schema: type: array items: type: string - description: Provider (slug) explode: true style: form - in: query - name: provider__n + name: slug__empty + schema: + type: boolean + - in: query + name: slug__ic schema: type: array items: type: string - description: Provider (slug) explode: true style: form - in: query - name: provider_id + name: slug__ie schema: type: array items: - type: integer - description: Provider (ID) + type: string explode: true style: form - in: query - name: provider_id__n + name: slug__iew schema: type: array items: - type: integer - description: Provider (ID) + type: string explode: true style: form - in: query - name: q + name: slug__isw schema: - type: string - description: Search + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nisw + schema: + type: array + items: + type: string + explode: true + style: form - in: query name: tag schema: @@ -3622,21 +2996,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedProviderAccountList' + $ref: '#/components/schemas/PaginatedCircuitTypeList' description: '' post: - operationId: circuits_provider_accounts_create - description: Post a list of provider account objects. + operationId: circuits_circuit_types_create + description: Post a list of circuit type objects. tags: - circuits requestBody: content: application/json: schema: - $ref: '#/components/schemas/ProviderAccountRequest' + $ref: '#/components/schemas/CircuitTypeRequest' multipart/form-data: schema: - $ref: '#/components/schemas/ProviderAccountRequest' + $ref: '#/components/schemas/CircuitTypeRequest' required: true security: - cookieAuth: [] @@ -3646,11 +3020,11 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ProviderAccount' + $ref: '#/components/schemas/CircuitType' description: '' put: - operationId: circuits_provider_accounts_bulk_update - description: Put a list of provider account objects. + operationId: circuits_circuit_types_bulk_update + description: Put a list of circuit type objects. tags: - circuits requestBody: @@ -3659,12 +3033,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ProviderAccountRequest' + $ref: '#/components/schemas/CircuitTypeRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ProviderAccountRequest' + $ref: '#/components/schemas/CircuitTypeRequest' required: true security: - cookieAuth: [] @@ -3676,11 +3050,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ProviderAccount' + $ref: '#/components/schemas/CircuitType' description: '' patch: - operationId: circuits_provider_accounts_bulk_partial_update - description: Patch a list of provider account objects. + operationId: circuits_circuit_types_bulk_partial_update + description: Patch a list of circuit type objects. tags: - circuits requestBody: @@ -3689,12 +3063,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ProviderAccountRequest' + $ref: '#/components/schemas/CircuitTypeRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ProviderAccountRequest' + $ref: '#/components/schemas/CircuitTypeRequest' required: true security: - cookieAuth: [] @@ -3706,11 +3080,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ProviderAccount' + $ref: '#/components/schemas/CircuitType' description: '' delete: - operationId: circuits_provider_accounts_bulk_destroy - description: Delete a list of provider account objects. + operationId: circuits_circuit_types_bulk_destroy + description: Delete a list of circuit type objects. tags: - circuits requestBody: @@ -3719,12 +3093,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ProviderAccountRequest' + $ref: '#/components/schemas/CircuitTypeRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ProviderAccountRequest' + $ref: '#/components/schemas/CircuitTypeRequest' required: true security: - cookieAuth: [] @@ -3732,16 +3106,16 @@ paths: responses: '204': description: No response body - /api/circuits/provider-accounts/{id}/: + /api/circuits/circuit-types/{id}/: get: - operationId: circuits_provider_accounts_retrieve - description: Get a provider account object. + operationId: circuits_circuit_types_retrieve + description: Get a circuit type object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this provider account. + description: A unique integer value identifying this circuit type. required: true tags: - circuits @@ -3753,17 +3127,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ProviderAccount' + $ref: '#/components/schemas/CircuitType' description: '' put: - operationId: circuits_provider_accounts_update - description: Put a provider account object. + operationId: circuits_circuit_types_update + description: Put a circuit type object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this provider account. + description: A unique integer value identifying this circuit type. required: true tags: - circuits @@ -3771,10 +3145,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ProviderAccountRequest' + $ref: '#/components/schemas/CircuitTypeRequest' multipart/form-data: schema: - $ref: '#/components/schemas/ProviderAccountRequest' + $ref: '#/components/schemas/CircuitTypeRequest' required: true security: - cookieAuth: [] @@ -3784,17 +3158,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ProviderAccount' + $ref: '#/components/schemas/CircuitType' description: '' patch: - operationId: circuits_provider_accounts_partial_update - description: Patch a provider account object. + operationId: circuits_circuit_types_partial_update + description: Patch a circuit type object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this provider account. + description: A unique integer value identifying this circuit type. required: true tags: - circuits @@ -3802,10 +3176,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PatchedProviderAccountRequest' + $ref: '#/components/schemas/PatchedCircuitTypeRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedProviderAccountRequest' + $ref: '#/components/schemas/PatchedCircuitTypeRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -3814,17 +3188,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ProviderAccount' + $ref: '#/components/schemas/CircuitType' description: '' delete: - operationId: circuits_provider_accounts_destroy - description: Delete a provider account object. + operationId: circuits_circuit_types_destroy + description: Delete a circuit type object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this provider account. + description: A unique integer value identifying this circuit type. required: true tags: - circuits @@ -3834,11 +3208,205 @@ paths: responses: '204': description: No response body - /api/circuits/provider-networks/: + /api/circuits/circuits/: get: - operationId: circuits_provider_networks_list - description: Get a list of provider network objects. + operationId: circuits_circuits_list + description: Get a list of circuit objects. parameters: + - in: query + name: cid + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: cid__empty + schema: + type: boolean + - in: query + name: cid__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: cid__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: cid__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: cid__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: cid__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: cid__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: cid__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: cid__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: cid__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: commit_rate + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: commit_rate__empty + schema: + type: boolean + - in: query + name: commit_rate__gt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: commit_rate__gte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: commit_rate__lt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: commit_rate__lte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: commit_rate__n + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: contact + schema: + type: array + items: + type: integer + description: Contact + explode: true + style: form + - in: query + name: contact__n + schema: + type: array + items: + type: integer + description: Contact + explode: true + style: form + - in: query + name: contact_group + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact_group__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact_role + schema: + type: array + items: + type: integer + description: Contact Role + explode: true + style: form + - in: query + name: contact_role__n + schema: + type: array + items: + type: integer + description: Contact Role + explode: true + style: form - in: query name: created schema: @@ -4049,6 +3617,64 @@ paths: format: int32 explode: true style: form + - in: query + name: install_date + schema: + type: array + items: + type: string + format: date + explode: true + style: form + - in: query + name: install_date__empty + schema: + type: boolean + - in: query + name: install_date__gt + schema: + type: array + items: + type: string + format: date + explode: true + style: form + - in: query + name: install_date__gte + schema: + type: array + items: + type: string + format: date + explode: true + style: form + - in: query + name: install_date__lt + schema: + type: array + items: + type: string + format: date + explode: true + style: form + - in: query + name: install_date__lte + schema: + type: array + items: + type: string + format: date + explode: true + style: form + - in: query + name: install_date__n + schema: + type: array + items: + type: string + format: date + explode: true + style: form - in: query name: last_updated schema: @@ -4123,52 +3749,117 @@ paths: schema: type: string format: uuid + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string - in: query - name: name + name: provider schema: type: array items: type: string + description: Provider (slug) explode: true style: form - in: query - name: name__empty + name: provider__n schema: - type: boolean + type: array + items: + type: string + description: Provider (slug) + explode: true + style: form - in: query - name: name__ic + name: provider_account schema: type: array items: type: string + title: Account ID + description: Provider account (account) explode: true style: form - in: query - name: name__ie + name: provider_account__n schema: type: array items: type: string + title: Account ID + description: Provider account (account) explode: true style: form - in: query - name: name__iew + name: provider_account_id schema: type: array items: - type: string + type: integer + description: Provider account (ID) explode: true style: form - in: query - name: name__isw + name: provider_account_id__n schema: type: array items: - type: string + type: integer + description: Provider account (ID) explode: true style: form - in: query - name: name__n + name: provider_id + schema: + type: array + items: + type: integer + description: Provider (ID) + explode: true + style: form + - in: query + name: provider_id__n + schema: + type: array + items: + type: integer + description: Provider (ID) + explode: true + style: form + - in: query + name: provider_network_id + schema: + type: array + items: + type: integer + description: Provider network (ID) + explode: true + style: form + - in: query + name: provider_network_id__n + schema: + type: array + items: + type: integer + description: Provider network (ID) + explode: true + style: form + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: region schema: type: array items: @@ -4176,7 +3867,7 @@ paths: explode: true style: form - in: query - name: name__nic + name: region__n schema: type: array items: @@ -4184,7 +3875,7 @@ paths: explode: true style: form - in: query - name: name__nie + name: region_id schema: type: array items: @@ -4192,7 +3883,7 @@ paths: explode: true style: form - in: query - name: name__niew + name: region_id__n schema: type: array items: @@ -4200,148 +3891,327 @@ paths: explode: true style: form - in: query - name: name__nisw + name: site schema: type: array items: type: string + description: Site (slug) explode: true style: form - - name: offset - required: false - in: query - description: The initial index from which to return the results. + - in: query + name: site__n schema: - type: integer - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. + type: array + items: + type: string + description: Site (slug) + explode: true + style: form + - in: query + name: site_group schema: - type: string + type: array + items: + type: string + explode: true + style: form - in: query - name: provider + name: site_group__n schema: type: array items: type: string - description: Provider (slug) explode: true style: form - in: query - name: provider__n + name: site_group_id schema: type: array items: type: string - description: Provider (slug) explode: true style: form - in: query - name: provider_id + name: site_group_id__n schema: type: array items: - type: integer - description: Provider (ID) + type: string explode: true style: form - in: query - name: provider_id__n + name: site_id schema: type: array items: type: integer - description: Provider (ID) + description: Site (ID) explode: true style: form - in: query - name: q + name: site_id__n schema: - type: string - description: Search + type: array + items: + type: integer + description: Site (ID) + explode: true + style: form - in: query - name: service_id + name: status schema: type: array items: type: string + x-spec-enum-id: 63c838134a022200 explode: true style: form - in: query - name: service_id__empty + name: status__empty schema: type: boolean - in: query - name: service_id__ic + name: status__ic schema: type: array items: type: string + x-spec-enum-id: 63c838134a022200 + enum: + - active + - decommissioned + - deprovisioning + - offline + - planned + - provisioning + description: '* `planned` - Planned + + * `provisioning` - Provisioning + + * `active` - Active + + * `offline` - Offline + + * `deprovisioning` - Deprovisioning + + * `decommissioned` - Decommissioned' explode: true style: form - in: query - name: service_id__ie + name: status__ie schema: type: array items: type: string + x-spec-enum-id: 63c838134a022200 + enum: + - active + - decommissioned + - deprovisioning + - offline + - planned + - provisioning + description: '* `planned` - Planned + + * `provisioning` - Provisioning + + * `active` - Active + + * `offline` - Offline + + * `deprovisioning` - Deprovisioning + + * `decommissioned` - Decommissioned' explode: true style: form - in: query - name: service_id__iew + name: status__iew schema: type: array items: type: string + x-spec-enum-id: 63c838134a022200 + enum: + - active + - decommissioned + - deprovisioning + - offline + - planned + - provisioning + description: '* `planned` - Planned + + * `provisioning` - Provisioning + + * `active` - Active + + * `offline` - Offline + + * `deprovisioning` - Deprovisioning + + * `decommissioned` - Decommissioned' explode: true style: form - in: query - name: service_id__isw + name: status__isw schema: type: array items: type: string + x-spec-enum-id: 63c838134a022200 + enum: + - active + - decommissioned + - deprovisioning + - offline + - planned + - provisioning + description: '* `planned` - Planned + + * `provisioning` - Provisioning + + * `active` - Active + + * `offline` - Offline + + * `deprovisioning` - Deprovisioning + + * `decommissioned` - Decommissioned' explode: true style: form - in: query - name: service_id__n + name: status__n schema: type: array items: type: string + x-spec-enum-id: 63c838134a022200 + enum: + - active + - decommissioned + - deprovisioning + - offline + - planned + - provisioning + description: '* `planned` - Planned + + * `provisioning` - Provisioning + + * `active` - Active + + * `offline` - Offline + + * `deprovisioning` - Deprovisioning + + * `decommissioned` - Decommissioned' explode: true style: form - in: query - name: service_id__nic + name: status__nic schema: type: array items: type: string + x-spec-enum-id: 63c838134a022200 + enum: + - active + - decommissioned + - deprovisioning + - offline + - planned + - provisioning + description: '* `planned` - Planned + + * `provisioning` - Provisioning + + * `active` - Active + + * `offline` - Offline + + * `deprovisioning` - Deprovisioning + + * `decommissioned` - Decommissioned' explode: true style: form - in: query - name: service_id__nie + name: status__nie schema: type: array items: type: string + x-spec-enum-id: 63c838134a022200 + enum: + - active + - decommissioned + - deprovisioning + - offline + - planned + - provisioning + description: '* `planned` - Planned + + * `provisioning` - Provisioning + + * `active` - Active + + * `offline` - Offline + + * `deprovisioning` - Deprovisioning + + * `decommissioned` - Decommissioned' explode: true style: form - in: query - name: service_id__niew + name: status__niew schema: type: array items: type: string + x-spec-enum-id: 63c838134a022200 + enum: + - active + - decommissioned + - deprovisioning + - offline + - planned + - provisioning + description: '* `planned` - Planned + + * `provisioning` - Provisioning + + * `active` - Active + + * `offline` - Offline + + * `deprovisioning` - Deprovisioning + + * `decommissioned` - Decommissioned' explode: true style: form - in: query - name: service_id__nisw + name: status__nisw schema: type: array items: type: string + x-spec-enum-id: 63c838134a022200 + enum: + - active + - decommissioned + - deprovisioning + - offline + - planned + - provisioning + description: '* `planned` - Planned + + * `provisioning` - Provisioning + + * `active` - Active + + * `offline` - Offline + + * `deprovisioning` - Deprovisioning + + * `decommissioned` - Decommissioned' explode: true style: form - in: query @@ -4360,6 +4230,210 @@ paths: type: string explode: true style: form + - in: query + name: tenant + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant__n + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant_group + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant_group__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant_group_id + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant_group_id__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant_id + schema: + type: array + items: + type: integer + nullable: true + description: Tenant (ID) + explode: true + style: form + - in: query + name: tenant_id__n + schema: + type: array + items: + type: integer + nullable: true + description: Tenant (ID) + explode: true + style: form + - in: query + name: termination_a_id + schema: + type: array + items: + type: integer + nullable: true + description: Termination A (ID) + explode: true + style: form + - in: query + name: termination_a_id__n + schema: + type: array + items: + type: integer + nullable: true + description: Termination A (ID) + explode: true + style: form + - in: query + name: termination_date + schema: + type: array + items: + type: string + format: date + explode: true + style: form + - in: query + name: termination_date__empty + schema: + type: boolean + - in: query + name: termination_date__gt + schema: + type: array + items: + type: string + format: date + explode: true + style: form + - in: query + name: termination_date__gte + schema: + type: array + items: + type: string + format: date + explode: true + style: form + - in: query + name: termination_date__lt + schema: + type: array + items: + type: string + format: date + explode: true + style: form + - in: query + name: termination_date__lte + schema: + type: array + items: + type: string + format: date + explode: true + style: form + - in: query + name: termination_date__n + schema: + type: array + items: + type: string + format: date + explode: true + style: form + - in: query + name: termination_z_id + schema: + type: array + items: + type: integer + nullable: true + description: Termination A (ID) + explode: true + style: form + - in: query + name: termination_z_id__n + schema: + type: array + items: + type: integer + nullable: true + description: Termination A (ID) + explode: true + style: form + - in: query + name: type + schema: + type: array + items: + type: string + description: Circuit type (slug) + explode: true + style: form + - in: query + name: type__n + schema: + type: array + items: + type: string + description: Circuit type (slug) + explode: true + style: form + - in: query + name: type_id + schema: + type: array + items: + type: integer + description: Circuit type (ID) + explode: true + style: form + - in: query + name: type_id__n + schema: + type: array + items: + type: integer + description: Circuit type (ID) + explode: true + style: form - in: query name: updated_by_request schema: @@ -4375,21 +4449,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedProviderNetworkList' + $ref: '#/components/schemas/PaginatedCircuitList' description: '' post: - operationId: circuits_provider_networks_create - description: Post a list of provider network objects. + operationId: circuits_circuits_create + description: Post a list of circuit objects. tags: - circuits requestBody: content: application/json: schema: - $ref: '#/components/schemas/ProviderNetworkRequest' + $ref: '#/components/schemas/WritableCircuitRequest' multipart/form-data: schema: - $ref: '#/components/schemas/ProviderNetworkRequest' + $ref: '#/components/schemas/WritableCircuitRequest' required: true security: - cookieAuth: [] @@ -4399,11 +4473,11 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ProviderNetwork' + $ref: '#/components/schemas/Circuit' description: '' put: - operationId: circuits_provider_networks_bulk_update - description: Put a list of provider network objects. + operationId: circuits_circuits_bulk_update + description: Put a list of circuit objects. tags: - circuits requestBody: @@ -4412,12 +4486,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ProviderNetworkRequest' + $ref: '#/components/schemas/CircuitRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ProviderNetworkRequest' + $ref: '#/components/schemas/CircuitRequest' required: true security: - cookieAuth: [] @@ -4429,11 +4503,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ProviderNetwork' + $ref: '#/components/schemas/Circuit' description: '' patch: - operationId: circuits_provider_networks_bulk_partial_update - description: Patch a list of provider network objects. + operationId: circuits_circuits_bulk_partial_update + description: Patch a list of circuit objects. tags: - circuits requestBody: @@ -4442,12 +4516,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ProviderNetworkRequest' + $ref: '#/components/schemas/CircuitRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ProviderNetworkRequest' + $ref: '#/components/schemas/CircuitRequest' required: true security: - cookieAuth: [] @@ -4459,11 +4533,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ProviderNetwork' + $ref: '#/components/schemas/Circuit' description: '' delete: - operationId: circuits_provider_networks_bulk_destroy - description: Delete a list of provider network objects. + operationId: circuits_circuits_bulk_destroy + description: Delete a list of circuit objects. tags: - circuits requestBody: @@ -4472,12 +4546,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ProviderNetworkRequest' + $ref: '#/components/schemas/CircuitRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ProviderNetworkRequest' + $ref: '#/components/schemas/CircuitRequest' required: true security: - cookieAuth: [] @@ -4485,16 +4559,16 @@ paths: responses: '204': description: No response body - /api/circuits/provider-networks/{id}/: + /api/circuits/circuits/{id}/: get: - operationId: circuits_provider_networks_retrieve - description: Get a provider network object. + operationId: circuits_circuits_retrieve + description: Get a circuit object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this provider network. + description: A unique integer value identifying this circuit. required: true tags: - circuits @@ -4506,17 +4580,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ProviderNetwork' + $ref: '#/components/schemas/Circuit' description: '' put: - operationId: circuits_provider_networks_update - description: Put a provider network object. + operationId: circuits_circuits_update + description: Put a circuit object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this provider network. + description: A unique integer value identifying this circuit. required: true tags: - circuits @@ -4524,10 +4598,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ProviderNetworkRequest' + $ref: '#/components/schemas/WritableCircuitRequest' multipart/form-data: schema: - $ref: '#/components/schemas/ProviderNetworkRequest' + $ref: '#/components/schemas/WritableCircuitRequest' required: true security: - cookieAuth: [] @@ -4537,17 +4611,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ProviderNetwork' + $ref: '#/components/schemas/Circuit' description: '' patch: - operationId: circuits_provider_networks_partial_update - description: Patch a provider network object. + operationId: circuits_circuits_partial_update + description: Patch a circuit object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this provider network. + description: A unique integer value identifying this circuit. required: true tags: - circuits @@ -4555,10 +4629,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PatchedProviderNetworkRequest' + $ref: '#/components/schemas/PatchedWritableCircuitRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedProviderNetworkRequest' + $ref: '#/components/schemas/PatchedWritableCircuitRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -4567,17 +4641,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ProviderNetwork' + $ref: '#/components/schemas/Circuit' description: '' delete: - operationId: circuits_provider_networks_destroy - description: Delete a provider network object. + operationId: circuits_circuits_destroy + description: Delete a circuit object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this provider network. + description: A unique integer value identifying this circuit. required: true tags: - circuits @@ -4587,105 +4661,93 @@ paths: responses: '204': description: No response body - /api/circuits/providers/: + /api/circuits/provider-accounts/: get: - operationId: circuits_providers_list - description: Get a list of provider objects. + operationId: circuits_provider_accounts_list + description: Get a list of provider account objects. parameters: - in: query - name: asn + name: account schema: type: array items: - type: integer - maximum: 4294967295 - minimum: 1 - format: int64 - description: ASN + type: string explode: true style: form - in: query - name: asn__n + name: account__empty + schema: + type: boolean + - in: query + name: account__ic schema: type: array items: - type: integer - maximum: 4294967295 - minimum: 1 - format: int64 - description: ASN + type: string explode: true style: form - in: query - name: asn_id + name: account__ie schema: type: array items: - type: integer - description: ASN (ID) + type: string explode: true style: form - in: query - name: asn_id__n + name: account__iew schema: type: array items: - type: integer - description: ASN (ID) + type: string explode: true style: form - in: query - name: contact + name: account__isw schema: type: array items: - type: integer - description: Contact + type: string explode: true style: form - in: query - name: contact__n + name: account__n schema: type: array items: - type: integer - description: Contact + type: string explode: true style: form - in: query - name: contact_group + name: account__nic schema: type: array items: - type: integer - description: Contact group + type: string explode: true style: form - in: query - name: contact_group__n + name: account__nie schema: type: array items: - type: integer - description: Contact group + type: string explode: true style: form - in: query - name: contact_role + name: account__niew schema: type: array items: - type: integer - description: Contact Role + type: string explode: true style: form - in: query - name: contact_role__n + name: account__nisw schema: type: array items: - type: integer - description: Contact Role + type: string explode: true style: form - in: query @@ -5069,220 +5131,64 @@ paths: schema: type: string - in: query - name: q - schema: - type: string - description: Search - - in: query - name: region + name: provider schema: type: array items: - type: integer - description: Region (slug) + type: string + description: Provider (slug) explode: true style: form - in: query - name: region__n + name: provider__n schema: type: array items: - type: integer - description: Region (slug) + type: string + description: Provider (slug) explode: true style: form - in: query - name: region_id + name: provider_id schema: type: array items: type: integer - description: Region (ID) + description: Provider (ID) explode: true style: form - in: query - name: region_id__n + name: provider_id__n schema: type: array items: type: integer - description: Region (ID) + description: Provider (ID) explode: true style: form - in: query - name: site + name: q schema: - type: array - items: - type: string - description: Site (slug) - explode: true - style: form + type: string + description: Search - in: query - name: site__n + name: tag schema: type: array items: type: string - description: Site (slug) explode: true style: form - in: query - name: site_group - schema: - type: array - items: - type: integer - description: Site group (slug) - explode: true - style: form - - in: query - name: site_group__n + name: tag__n schema: type: array items: - type: integer - description: Site group (slug) + type: string explode: true style: form - in: query - name: site_group_id - schema: - type: array - items: - type: integer - description: Site group (ID) - explode: true - style: form - - in: query - name: site_group_id__n - schema: - type: array - items: - type: integer - description: Site group (ID) - explode: true - style: form - - in: query - name: site_id - schema: - type: array - items: - type: integer - description: Site - explode: true - style: form - - in: query - name: site_id__n - schema: - type: array - items: - type: integer - description: Site - explode: true - style: form - - in: query - name: slug - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__empty - schema: - type: boolean - - in: query - name: slug__ic - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__ie - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__iew - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__isw - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__n - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__nic - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__nie - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__niew - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__nisw - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: tag - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: tag__n - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: updated_by_request + name: updated_by_request schema: type: string format: uuid @@ -5296,21 +5202,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedProviderList' + $ref: '#/components/schemas/PaginatedProviderAccountList' description: '' post: - operationId: circuits_providers_create - description: Post a list of provider objects. + operationId: circuits_provider_accounts_create + description: Post a list of provider account objects. tags: - circuits requestBody: content: application/json: schema: - $ref: '#/components/schemas/ProviderRequest' + $ref: '#/components/schemas/ProviderAccountRequest' multipart/form-data: schema: - $ref: '#/components/schemas/ProviderRequest' + $ref: '#/components/schemas/ProviderAccountRequest' required: true security: - cookieAuth: [] @@ -5320,11 +5226,11 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Provider' + $ref: '#/components/schemas/ProviderAccount' description: '' put: - operationId: circuits_providers_bulk_update - description: Put a list of provider objects. + operationId: circuits_provider_accounts_bulk_update + description: Put a list of provider account objects. tags: - circuits requestBody: @@ -5333,12 +5239,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ProviderRequest' + $ref: '#/components/schemas/ProviderAccountRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ProviderRequest' + $ref: '#/components/schemas/ProviderAccountRequest' required: true security: - cookieAuth: [] @@ -5350,11 +5256,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/Provider' + $ref: '#/components/schemas/ProviderAccount' description: '' patch: - operationId: circuits_providers_bulk_partial_update - description: Patch a list of provider objects. + operationId: circuits_provider_accounts_bulk_partial_update + description: Patch a list of provider account objects. tags: - circuits requestBody: @@ -5363,12 +5269,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ProviderRequest' + $ref: '#/components/schemas/ProviderAccountRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ProviderRequest' + $ref: '#/components/schemas/ProviderAccountRequest' required: true security: - cookieAuth: [] @@ -5380,11 +5286,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/Provider' + $ref: '#/components/schemas/ProviderAccount' description: '' delete: - operationId: circuits_providers_bulk_destroy - description: Delete a list of provider objects. + operationId: circuits_provider_accounts_bulk_destroy + description: Delete a list of provider account objects. tags: - circuits requestBody: @@ -5393,12 +5299,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ProviderRequest' + $ref: '#/components/schemas/ProviderAccountRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ProviderRequest' + $ref: '#/components/schemas/ProviderAccountRequest' required: true security: - cookieAuth: [] @@ -5406,16 +5312,16 @@ paths: responses: '204': description: No response body - /api/circuits/providers/{id}/: + /api/circuits/provider-accounts/{id}/: get: - operationId: circuits_providers_retrieve - description: Get a provider object. + operationId: circuits_provider_accounts_retrieve + description: Get a provider account object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this provider. + description: A unique integer value identifying this provider account. required: true tags: - circuits @@ -5427,17 +5333,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Provider' + $ref: '#/components/schemas/ProviderAccount' description: '' put: - operationId: circuits_providers_update - description: Put a provider object. + operationId: circuits_provider_accounts_update + description: Put a provider account object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this provider. + description: A unique integer value identifying this provider account. required: true tags: - circuits @@ -5445,10 +5351,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ProviderRequest' + $ref: '#/components/schemas/ProviderAccountRequest' multipart/form-data: schema: - $ref: '#/components/schemas/ProviderRequest' + $ref: '#/components/schemas/ProviderAccountRequest' required: true security: - cookieAuth: [] @@ -5458,17 +5364,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Provider' + $ref: '#/components/schemas/ProviderAccount' description: '' patch: - operationId: circuits_providers_partial_update - description: Patch a provider object. + operationId: circuits_provider_accounts_partial_update + description: Patch a provider account object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this provider. + description: A unique integer value identifying this provider account. required: true tags: - circuits @@ -5476,10 +5382,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PatchedProviderRequest' + $ref: '#/components/schemas/PatchedProviderAccountRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedProviderRequest' + $ref: '#/components/schemas/PatchedProviderAccountRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -5488,17 +5394,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Provider' + $ref: '#/components/schemas/ProviderAccount' description: '' delete: - operationId: circuits_providers_destroy - description: Delete a provider object. + operationId: circuits_provider_accounts_destroy + description: Delete a provider account object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this provider. + description: A unique integer value identifying this provider account. required: true tags: - circuits @@ -5508,10 +5414,10 @@ paths: responses: '204': description: No response body - /api/core/data-files/: + /api/circuits/provider-networks/: get: - operationId: core_data_files_list - description: Get a list of data file objects. + operationId: circuits_provider_networks_list + description: Get a list of provider network objects. parameters: - in: query name: created @@ -5582,7 +5488,7 @@ paths: type: string format: uuid - in: query - name: hash + name: description schema: type: array items: @@ -5590,11 +5496,11 @@ paths: explode: true style: form - in: query - name: hash__empty + name: description__empty schema: type: boolean - in: query - name: hash__ic + name: description__ic schema: type: array items: @@ -5602,7 +5508,7 @@ paths: explode: true style: form - in: query - name: hash__ie + name: description__ie schema: type: array items: @@ -5610,7 +5516,7 @@ paths: explode: true style: form - in: query - name: hash__iew + name: description__iew schema: type: array items: @@ -5618,7 +5524,7 @@ paths: explode: true style: form - in: query - name: hash__isw + name: description__isw schema: type: array items: @@ -5626,7 +5532,7 @@ paths: explode: true style: form - in: query - name: hash__n + name: description__n schema: type: array items: @@ -5634,7 +5540,7 @@ paths: explode: true style: form - in: query - name: hash__nic + name: description__nic schema: type: array items: @@ -5642,7 +5548,7 @@ paths: explode: true style: form - in: query - name: hash__nie + name: description__nie schema: type: array items: @@ -5650,7 +5556,7 @@ paths: explode: true style: form - in: query - name: hash__niew + name: description__niew schema: type: array items: @@ -5658,7 +5564,7 @@ paths: explode: true style: form - in: query - name: hash__nisw + name: description__nisw schema: type: array items: @@ -5797,20 +5703,20 @@ paths: schema: type: string format: uuid - - name: offset - required: false - in: query - description: The initial index from which to return the results. + - in: query + name: name schema: - type: integer - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__empty schema: - type: string + type: boolean - in: query - name: path + name: name__ic schema: type: array items: @@ -5818,11 +5724,15 @@ paths: explode: true style: form - in: query - name: path__empty + name: name__ie schema: - type: boolean + type: array + items: + type: string + explode: true + style: form - in: query - name: path__ic + name: name__iew schema: type: array items: @@ -5830,7 +5740,7 @@ paths: explode: true style: form - in: query - name: path__ie + name: name__isw schema: type: array items: @@ -5838,7 +5748,7 @@ paths: explode: true style: form - in: query - name: path__iew + name: name__n schema: type: array items: @@ -5846,7 +5756,7 @@ paths: explode: true style: form - in: query - name: path__isw + name: name__nic schema: type: array items: @@ -5854,7 +5764,7 @@ paths: explode: true style: form - in: query - name: path__n + name: name__nie schema: type: array items: @@ -5862,7 +5772,7 @@ paths: explode: true style: form - in: query - name: path__nic + name: name__niew schema: type: array items: @@ -5870,125 +5780,164 @@ paths: explode: true style: form - in: query - name: path__nie + name: name__nisw 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 + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string - in: query - name: path__niew + name: provider schema: type: array items: type: string + description: Provider (slug) explode: true style: form - in: query - name: path__nisw + name: provider__n schema: type: array items: type: string + description: Provider (slug) + explode: true + style: form + - in: query + name: provider_id + schema: + type: array + items: + type: integer + description: Provider (ID) + explode: true + style: form + - in: query + name: provider_id__n + schema: + type: array + items: + type: integer + description: Provider (ID) explode: true style: form - in: query name: q schema: type: string + description: Search - in: query - name: size + name: service_id schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: size__empty + name: service_id__empty schema: type: boolean - in: query - name: size__gt + name: service_id__ic schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: size__gte + name: service_id__ie schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: size__lt + name: service_id__iew schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: size__lte + name: service_id__isw schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: size__n + name: service_id__n schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: source + name: service_id__nic schema: type: array items: type: string - description: Data source (name) explode: true style: form - in: query - name: source__n + name: service_id__nie schema: type: array items: type: string - description: Data source (name) explode: true style: form - in: query - name: source_id + name: service_id__niew schema: type: array items: - type: integer - description: Data source (ID) + type: string explode: true style: form - in: query - name: source_id__n + name: service_id__nisw schema: type: array items: - type: integer - description: Data source (ID) + type: string + explode: true + style: form + - in: query + name: tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string explode: true style: form - in: query @@ -5997,7 +5946,7 @@ paths: type: string format: uuid tags: - - core + - circuits security: - cookieAuth: [] - tokenAuth: [] @@ -6006,21 +5955,129 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedDataFileList' + $ref: '#/components/schemas/PaginatedProviderNetworkList' description: '' - /api/core/data-files/{id}/: + post: + operationId: circuits_provider_networks_create + description: Post a list of provider network objects. + tags: + - circuits + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ProviderNetworkRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/ProviderNetworkRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json: + schema: + $ref: '#/components/schemas/ProviderNetwork' + description: '' + put: + operationId: circuits_provider_networks_bulk_update + description: Put a list of provider network objects. + tags: + - circuits + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/ProviderNetworkRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/ProviderNetworkRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/ProviderNetwork' + description: '' + patch: + operationId: circuits_provider_networks_bulk_partial_update + description: Patch a list of provider network objects. + tags: + - circuits + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/ProviderNetworkRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/ProviderNetworkRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/ProviderNetwork' + description: '' + delete: + operationId: circuits_provider_networks_bulk_destroy + description: Delete a list of provider network objects. + tags: + - circuits + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/ProviderNetworkRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/ProviderNetworkRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /api/circuits/provider-networks/{id}/: get: - operationId: core_data_files_retrieve - description: Get a data file object. + operationId: circuits_provider_networks_retrieve + description: Get a provider network object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this data file. + description: A unique integer value identifying this provider network. required: true tags: - - core + - circuits security: - cookieAuth: [] - tokenAuth: [] @@ -6029,13 +6086,186 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DataFile' + $ref: '#/components/schemas/ProviderNetwork' description: '' - /api/core/data-sources/: + put: + operationId: circuits_provider_networks_update + description: Put a provider network object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this provider network. + required: true + tags: + - circuits + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ProviderNetworkRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/ProviderNetworkRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/ProviderNetwork' + description: '' + patch: + operationId: circuits_provider_networks_partial_update + description: Patch a provider network object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this provider network. + required: true + tags: + - circuits + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedProviderNetworkRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedProviderNetworkRequest' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/ProviderNetwork' + description: '' + delete: + operationId: circuits_provider_networks_destroy + description: Delete a provider network object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this provider network. + required: true + tags: + - circuits + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /api/circuits/providers/: get: - operationId: core_data_sources_list - description: Get a list of data source objects. + operationId: circuits_providers_list + description: Get a list of provider objects. parameters: + - in: query + name: asn + schema: + type: array + items: + type: integer + maximum: 4294967295 + minimum: 1 + format: int64 + description: ASN + explode: true + style: form + - in: query + name: asn__n + schema: + type: array + items: + type: integer + maximum: 4294967295 + minimum: 1 + format: int64 + description: ASN + explode: true + style: form + - in: query + name: asn_id + schema: + type: array + items: + type: integer + description: ASN (ID) + explode: true + style: form + - in: query + name: asn_id__n + schema: + type: array + items: + type: integer + description: ASN (ID) + explode: true + style: form + - in: query + name: contact + schema: + type: array + items: + type: integer + description: Contact + explode: true + style: form + - in: query + name: contact__n + schema: + type: array + items: + type: integer + description: Contact + explode: true + style: form + - in: query + name: contact_group + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact_group__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact_role + schema: + type: array + items: + type: integer + description: Contact Role + explode: true + style: form + - in: query + name: contact_role__n + schema: + type: array + items: + type: integer + description: Contact Role + explode: true + style: form - in: query name: created schema: @@ -6188,10 +6418,6 @@ paths: type: string explode: true style: form - - in: query - name: enabled - schema: - type: boolean - in: query name: id schema: @@ -6250,64 +6476,6 @@ paths: format: int32 explode: true style: form - - in: query - name: last_synced - schema: - type: array - items: - type: string - format: date-time - explode: true - style: form - - in: query - name: last_synced__empty - schema: - type: boolean - - in: query - name: last_synced__gt - schema: - type: array - items: - type: string - format: date-time - explode: true - style: form - - in: query - name: last_synced__gte - schema: - type: array - items: - type: string - format: date-time - explode: true - style: form - - in: query - name: last_synced__lt - schema: - type: array - items: - type: string - format: date-time - explode: true - style: form - - in: query - name: last_synced__lte - schema: - type: array - items: - type: string - format: date-time - explode: true - style: form - - in: query - name: last_synced__n - schema: - type: array - items: - type: string - format: date-time - explode: true - style: form - in: query name: last_updated schema: @@ -6484,7 +6652,7 @@ paths: type: string description: Search - in: query - name: source_url + name: region schema: type: array items: @@ -6492,11 +6660,15 @@ paths: explode: true style: form - in: query - name: source_url__empty + name: region__n schema: - type: boolean + type: array + items: + type: string + explode: true + style: form - in: query - name: source_url__ic + name: region_id schema: type: array items: @@ -6504,7 +6676,7 @@ paths: explode: true style: form - in: query - name: source_url__ie + name: region_id__n schema: type: array items: @@ -6512,23 +6684,25 @@ paths: explode: true style: form - in: query - name: source_url__iew + name: site schema: type: array items: type: string + description: Site (slug) explode: true style: form - in: query - name: source_url__isw + name: site__n schema: type: array items: type: string + description: Site (slug) explode: true style: form - in: query - name: source_url__n + name: site_group schema: type: array items: @@ -6536,7 +6710,7 @@ paths: explode: true style: form - in: query - name: source_url__nic + name: site_group__n schema: type: array items: @@ -6544,7 +6718,7 @@ paths: explode: true style: form - in: query - name: source_url__nie + name: site_group_id schema: type: array items: @@ -6552,7 +6726,7 @@ paths: explode: true style: form - in: query - name: source_url__niew + name: site_group_id__n schema: type: array items: @@ -6560,7 +6734,25 @@ paths: explode: true style: form - in: query - name: source_url__nisw + name: site_id + schema: + type: array + items: + type: integer + description: Site + explode: true + style: form + - in: query + name: site_id__n + schema: + type: array + items: + type: integer + description: Site + explode: true + style: form + - in: query + name: slug schema: type: array items: @@ -6568,7 +6760,11 @@ paths: explode: true style: form - in: query - name: status + name: slug__empty + schema: + type: boolean + - in: query + name: slug__ic schema: type: array items: @@ -6576,7 +6772,7 @@ paths: explode: true style: form - in: query - name: status__n + name: slug__ie schema: type: array items: @@ -6584,7 +6780,7 @@ paths: explode: true style: form - in: query - name: tag + name: slug__iew schema: type: array items: @@ -6592,7 +6788,7 @@ paths: explode: true style: form - in: query - name: tag__n + name: slug__isw schema: type: array items: @@ -6600,7 +6796,7 @@ paths: explode: true style: form - in: query - name: type + name: slug__n schema: type: array items: @@ -6608,7 +6804,47 @@ paths: explode: true style: form - in: query - name: type__n + name: slug__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n schema: type: array items: @@ -6621,7 +6857,7 @@ paths: type: string format: uuid tags: - - core + - circuits security: - cookieAuth: [] - tokenAuth: [] @@ -6630,21 +6866,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedDataSourceList' + $ref: '#/components/schemas/PaginatedProviderList' description: '' post: - operationId: core_data_sources_create - description: Post a list of data source objects. + operationId: circuits_providers_create + description: Post a list of provider objects. tags: - - core + - circuits requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableDataSourceRequest' + $ref: '#/components/schemas/ProviderRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableDataSourceRequest' + $ref: '#/components/schemas/ProviderRequest' required: true security: - cookieAuth: [] @@ -6654,25 +6890,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DataSource' + $ref: '#/components/schemas/Provider' description: '' put: - operationId: core_data_sources_bulk_update - description: Put a list of data source objects. + operationId: circuits_providers_bulk_update + description: Put a list of provider objects. tags: - - core + - circuits requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/DataSourceRequest' + $ref: '#/components/schemas/ProviderRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/DataSourceRequest' + $ref: '#/components/schemas/ProviderRequest' required: true security: - cookieAuth: [] @@ -6684,25 +6920,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/DataSource' + $ref: '#/components/schemas/Provider' description: '' patch: - operationId: core_data_sources_bulk_partial_update - description: Patch a list of data source objects. + operationId: circuits_providers_bulk_partial_update + description: Patch a list of provider objects. tags: - - core + - circuits requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/DataSourceRequest' + $ref: '#/components/schemas/ProviderRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/DataSourceRequest' + $ref: '#/components/schemas/ProviderRequest' required: true security: - cookieAuth: [] @@ -6714,25 +6950,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/DataSource' + $ref: '#/components/schemas/Provider' description: '' delete: - operationId: core_data_sources_bulk_destroy - description: Delete a list of data source objects. + operationId: circuits_providers_bulk_destroy + description: Delete a list of provider objects. tags: - - core + - circuits requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/DataSourceRequest' + $ref: '#/components/schemas/ProviderRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/DataSourceRequest' + $ref: '#/components/schemas/ProviderRequest' required: true security: - cookieAuth: [] @@ -6740,19 +6976,19 @@ paths: responses: '204': description: No response body - /api/core/data-sources/{id}/: + /api/circuits/providers/{id}/: get: - operationId: core_data_sources_retrieve - description: Get a data source object. + operationId: circuits_providers_retrieve + description: Get a provider object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this data source. + description: A unique integer value identifying this provider. required: true tags: - - core + - circuits security: - cookieAuth: [] - tokenAuth: [] @@ -6761,28 +6997,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DataSource' + $ref: '#/components/schemas/Provider' description: '' put: - operationId: core_data_sources_update - description: Put a data source object. + operationId: circuits_providers_update + description: Put a provider object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this data source. + description: A unique integer value identifying this provider. required: true tags: - - core + - circuits requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableDataSourceRequest' + $ref: '#/components/schemas/ProviderRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableDataSourceRequest' + $ref: '#/components/schemas/ProviderRequest' required: true security: - cookieAuth: [] @@ -6792,28 +7028,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DataSource' + $ref: '#/components/schemas/Provider' description: '' patch: - operationId: core_data_sources_partial_update - description: Patch a data source object. + operationId: circuits_providers_partial_update + description: Patch a provider object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this data source. + description: A unique integer value identifying this provider. required: true tags: - - core + - circuits requestBody: content: application/json: schema: - $ref: '#/components/schemas/PatchedWritableDataSourceRequest' + $ref: '#/components/schemas/PatchedProviderRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedWritableDataSourceRequest' + $ref: '#/components/schemas/PatchedProviderRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -6822,222 +7058,101 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DataSource' + $ref: '#/components/schemas/Provider' description: '' delete: - operationId: core_data_sources_destroy - description: Delete a data source object. + operationId: circuits_providers_destroy + description: Delete a provider object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this data source. + description: A unique integer value identifying this provider. required: true tags: - - core + - circuits security: - cookieAuth: [] - tokenAuth: [] responses: '204': description: No response body - /api/core/data-sources/{id}/sync/: - post: - operationId: core_data_sources_sync_create - description: Enqueue a job to synchronize the DataSource. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this data source. - required: true - tags: - - core - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/WritableDataSourceRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/WritableDataSourceRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/DataSource' - description: '' - /api/core/jobs/: + /api/core/data-files/: get: - operationId: core_jobs_list - description: Retrieve a list of job results + operationId: core_data_files_list + description: Get a list of data file objects. parameters: - in: query - name: completed + name: created schema: - type: string - format: date-time + type: array + items: + type: string + format: date-time + explode: true + style: form - in: query - name: completed__after + name: created__empty schema: - type: string - format: date-time + type: array + items: + type: string + format: date-time + explode: true + style: form - in: query - name: completed__before + name: created__gt schema: - type: string - format: date-time + type: array + items: + type: string + format: date-time + explode: true + style: form - in: query - name: created - schema: - type: string - format: date-time - - in: query - name: created__after - schema: - type: string - format: date-time - - in: query - name: created__before - schema: - type: string - format: date-time - - in: query - name: id - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: id__empty - schema: - type: boolean - - in: query - name: id__gt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: id__gte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: id__lt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: id__lte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: id__n + name: created__gte schema: type: array items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: interval - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: interval__empty - schema: - type: boolean - - in: query - name: interval__gt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: interval__gte - schema: - type: array - items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: interval__lt + name: created__lt schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: interval__lte + name: created__lte schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: interval__n + name: created__n schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: job_id + name: created_by_request schema: type: string format: uuid - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - in: query - name: name + name: hash schema: type: array items: @@ -7045,11 +7160,11 @@ paths: explode: true style: form - in: query - name: name__empty + name: hash__empty schema: type: boolean - in: query - name: name__ic + name: hash__ic schema: type: array items: @@ -7057,7 +7172,7 @@ paths: explode: true style: form - in: query - name: name__ie + name: hash__ie schema: type: array items: @@ -7065,7 +7180,7 @@ paths: explode: true style: form - in: query - name: name__iew + name: hash__iew schema: type: array items: @@ -7073,7 +7188,7 @@ paths: explode: true style: form - in: query - name: name__isw + name: hash__isw schema: type: array items: @@ -7081,7 +7196,7 @@ paths: explode: true style: form - in: query - name: name__n + name: hash__n schema: type: array items: @@ -7089,7 +7204,7 @@ paths: explode: true style: form - in: query - name: name__nic + name: hash__nic schema: type: array items: @@ -7097,7 +7212,7 @@ paths: explode: true style: form - in: query - name: name__nie + name: hash__nie schema: type: array items: @@ -7105,7 +7220,7 @@ paths: explode: true style: form - in: query - name: name__niew + name: hash__niew schema: type: array items: @@ -7113,7 +7228,7 @@ paths: explode: true style: form - in: query - name: name__nisw + name: hash__nisw schema: type: array items: @@ -7121,7 +7236,7 @@ paths: explode: true style: form - in: query - name: object_id + name: id schema: type: array items: @@ -7130,11 +7245,11 @@ paths: explode: true style: form - in: query - name: object_id__empty + name: id__empty schema: type: boolean - in: query - name: object_id__gt + name: id__gt schema: type: array items: @@ -7143,7 +7258,7 @@ paths: explode: true style: form - in: query - name: object_id__gte + name: id__gte schema: type: array items: @@ -7152,7 +7267,7 @@ paths: explode: true style: form - in: query - name: object_id__lt + name: id__lt schema: type: array items: @@ -7161,7 +7276,7 @@ paths: explode: true style: form - in: query - name: object_id__lte + name: id__lte schema: type: array items: @@ -7170,7 +7285,7 @@ paths: explode: true style: form - in: query - name: object_id__n + name: id__n schema: type: array items: @@ -7179,160 +7294,7 @@ paths: explode: true style: form - in: query - name: object_type - schema: - type: integer - - in: query - name: object_type__n - schema: - type: integer - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - in: query - name: q - schema: - type: string - description: Search - - in: query - name: scheduled - schema: - type: string - format: date-time - - in: query - name: scheduled__after - schema: - type: string - format: date-time - - in: query - name: scheduled__before - schema: - type: string - format: date-time - - in: query - name: started - schema: - type: string - format: date-time - - in: query - name: started__after - schema: - type: string - format: date-time - - in: query - name: started__before - schema: - type: string - format: date-time - - in: query - name: status - schema: - type: array - items: - type: string - x-spec-enum-id: e33887d83efcc138 - explode: true - style: form - - in: query - name: status__n - schema: - type: array - items: - type: string - x-spec-enum-id: e33887d83efcc138 - explode: true - style: form - - in: query - name: user - schema: - type: integer - - in: query - name: user__n - schema: - type: integer - tags: - - core - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/PaginatedJobList' - description: '' - /api/core/jobs/{id}/: - get: - operationId: core_jobs_retrieve - description: Retrieve a list of job results - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this job. - required: true - tags: - - core - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/Job' - description: '' - /api/dcim/cable-terminations/: - get: - operationId: dcim_cable_terminations_list - description: Get a list of cable termination objects. - parameters: - - in: query - name: cable - schema: - type: integer - - in: query - name: cable__n - schema: - type: integer - - in: query - name: cable_end - schema: - type: string - x-spec-enum-id: 1db84f9b93b261c8 - title: End - enum: - - A - - B - description: '* `A` - A - - * `B` - B' - - in: query - name: cable_end__n - schema: - type: string - x-spec-enum-id: 1db84f9b93b261c8 - title: End - enum: - - A - - B - description: '* `A` - A - - * `B` - B' - - in: query - name: created + name: last_updated schema: type: array items: @@ -7341,7 +7303,7 @@ paths: explode: true style: form - in: query - name: created__empty + name: last_updated__empty schema: type: array items: @@ -7350,7 +7312,7 @@ paths: explode: true style: form - in: query - name: created__gt + name: last_updated__gt schema: type: array items: @@ -7359,7 +7321,7 @@ paths: explode: true style: form - in: query - name: created__gte + name: last_updated__gte schema: type: array items: @@ -7368,7 +7330,7 @@ paths: explode: true style: form - in: query - name: created__lt + name: last_updated__lt schema: type: array items: @@ -7377,7 +7339,7 @@ paths: explode: true style: form - in: query - name: created__lte + name: last_updated__lte schema: type: array items: @@ -7386,7 +7348,7 @@ paths: explode: true style: form - in: query - name: created__n + name: last_updated__n schema: type: array items: @@ -7394,157 +7356,150 @@ 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: created_by_request + name: modified_by_request schema: type: string format: uuid + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string - in: query - name: id + name: path schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__empty + name: path__empty schema: type: boolean - in: query - name: id__gt + name: path__ic schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__gte + name: path__ie schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__lt + name: path__iew schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__lte + name: path__isw schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__n + name: path__n schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: last_updated + name: path__nic schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__empty + name: path__nie schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__gt + name: path__niew schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__gte + name: path__nisw schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__lt + name: q + schema: + type: string + - in: query + name: size schema: type: array items: - type: string - format: date-time + type: integer + format: int32 explode: true style: form - in: query - name: last_updated__lte + name: size__empty + schema: + type: boolean + - in: query + name: size__gt schema: type: array items: - type: string - format: date-time + type: integer + format: int32 explode: true style: form - in: query - name: last_updated__n + name: size__gte schema: type: array items: - type: string - format: date-time + type: integer + format: int32 explode: true style: form - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - in: query - name: modified_by_request - schema: - type: string - format: uuid - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - in: query - name: termination_id + name: size__lt schema: type: array items: @@ -7553,11 +7508,7 @@ paths: explode: true style: form - in: query - name: termination_id__empty - schema: - type: boolean - - in: query - name: termination_id__gt + name: size__lte schema: type: array items: @@ -7566,7 +7517,7 @@ paths: explode: true style: form - in: query - name: termination_id__gte + name: size__n schema: type: array items: @@ -7575,129 +7526,48 @@ paths: explode: true style: form - in: query - name: termination_id__lt + name: source schema: type: array items: - type: integer - format: int32 + type: string + description: Data source (name) explode: true style: form - in: query - name: termination_id__lte + name: source__n schema: type: array items: - type: integer - format: int32 + type: string + description: Data source (name) explode: true style: form - in: query - name: termination_id__n + name: source_id schema: type: array items: type: integer - format: int32 + description: Data source (ID) explode: true style: form - in: query - name: termination_type - schema: - type: string - - in: query - name: termination_type__n + name: source_id__n schema: - type: string + type: array + items: + type: integer + description: Data source (ID) + explode: true + style: form - in: query name: updated_by_request schema: type: string format: uuid tags: - - dcim - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/PaginatedCableTerminationList' - description: '' - post: - operationId: dcim_cable_terminations_create - description: Post a list of cable termination objects. - tags: - - dcim - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/CableTerminationRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/CableTerminationRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '201': - content: - application/json: - schema: - $ref: '#/components/schemas/CableTermination' - description: '' - put: - operationId: dcim_cable_terminations_bulk_update - description: Put a list of cable termination objects. - tags: - - dcim - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/CableTerminationRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/CableTerminationRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/CableTermination' - description: '' - patch: - operationId: dcim_cable_terminations_bulk_partial_update - description: Patch a list of cable termination objects. - tags: - - dcim - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/CableTerminationRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/CableTerminationRequest' - required: true + - core security: - cookieAuth: [] - tokenAuth: [] @@ -7706,108 +7576,21 @@ paths: content: application/json: schema: - type: array - items: - $ref: '#/components/schemas/CableTermination' + $ref: '#/components/schemas/PaginatedDataFileList' description: '' - delete: - operationId: dcim_cable_terminations_bulk_destroy - description: Delete a list of cable termination objects. - tags: - - dcim - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/CableTerminationRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/CableTerminationRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '204': - description: No response body - /api/dcim/cable-terminations/{id}/: + /api/core/data-files/{id}/: get: - operationId: dcim_cable_terminations_retrieve - description: Get a cable termination object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this cable termination. - required: true - tags: - - dcim - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/CableTermination' - description: '' - put: - operationId: dcim_cable_terminations_update - description: Put a cable termination object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this cable termination. - required: true - tags: - - dcim - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/CableTerminationRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/CableTerminationRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/CableTermination' - description: '' - patch: - operationId: dcim_cable_terminations_partial_update - description: Patch a cable termination object. + operationId: core_data_files_retrieve + description: Get a data file object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this cable termination. + description: A unique integer value identifying this data file. required: true tags: - - dcim - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/PatchedCableTerminationRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/PatchedCableTerminationRequest' + - core security: - cookieAuth: [] - tokenAuth: [] @@ -7816,74 +7599,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/CableTermination' + $ref: '#/components/schemas/DataFile' description: '' - delete: - operationId: dcim_cable_terminations_destroy - description: Delete a cable termination object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this cable termination. - required: true - tags: - - dcim - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '204': - description: No response body - /api/dcim/cables/: + /api/core/data-sources/: get: - operationId: dcim_cables_list - description: Get a list of cable objects. + operationId: core_data_sources_list + description: Get a list of data source objects. parameters: - - in: query - name: circuittermination_id - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: color - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: color__n - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: consoleport_id - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: consoleserverport_id - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - in: query name: created schema: @@ -8037,31 +7759,9 @@ paths: explode: true style: form - in: query - name: device - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: device_id - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: frontport_id + name: enabled schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form + type: boolean - in: query name: id schema: @@ -8121,96 +7821,61 @@ paths: explode: true style: form - in: query - name: interface_id - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: label + name: last_synced schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: label__empty + name: last_synced__empty schema: type: boolean - in: query - name: label__ic - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: label__ie - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: label__iew - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: label__isw - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: label__n + name: last_synced__gt schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: label__nic + name: last_synced__gte schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: label__nie + name: last_synced__lt schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: label__niew + name: last_synced__lte schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: label__nisw + name: last_synced__n schema: type: array items: type: string + format: date-time explode: true style: form - in: query @@ -8276,118 +7941,79 @@ 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: length + name: modified_by_request + schema: + type: string + format: uuid + - in: query + name: name schema: type: array items: - type: number - format: double + type: string explode: true style: form - in: query - name: length__empty + name: name__empty schema: type: boolean - in: query - name: length__gt + name: name__ic schema: type: array items: - type: number - format: double + type: string explode: true style: form - in: query - name: length__gte + name: name__ie schema: type: array items: - type: number - format: double + type: string explode: true style: form - in: query - name: length__lt + name: name__iew schema: type: array items: - type: number - format: double + type: string explode: true style: form - in: query - name: length__lte + name: name__isw schema: type: array items: - type: number - format: double + type: string explode: true style: form - in: query - name: length__n + name: name__n schema: type: array items: - type: number - format: double + type: string explode: true style: form - in: query - name: length_unit - schema: - type: string - x-spec-enum-id: e64ce3a2c5997172 - enum: - - cm - - ft - - in - - km - - m - - mi - description: '* `km` - Kilometers - - * `m` - Meters - - * `cm` - Centimeters - - * `mi` - Miles - - * `ft` - Feet - - * `in` - Inches' - - in: query - name: length_unit__n - schema: - type: string - x-spec-enum-id: e64ce3a2c5997172 - enum: - - cm - - ft - - in - - km - - m - - mi - description: '* `km` - Kilometers - - * `m` - Meters - - * `cm` - Centimeters - - * `mi` - Miles - - * `ft` - Feet - - * `in` - Inches' - - name: limit - required: false - in: query - description: Number of results to return per page. + 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: @@ -8395,19 +8021,21 @@ paths: explode: true style: form - in: query - name: location_id + name: name__niew schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: modified_by_request + name: name__nisw schema: - type: string - format: uuid + type: array + items: + type: string + explode: true + style: form - name: offset required: false in: query @@ -8421,39 +8049,40 @@ paths: schema: type: string - in: query - name: powerfeed_id + name: q + schema: + type: string + description: Search + - in: query + name: source_url schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: poweroutlet_id + name: source_url__empty + schema: + type: boolean + - in: query + name: source_url__ic schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: powerport_id + name: source_url__ie schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: q - schema: - type: string - description: Search - - in: query - name: rack + name: source_url__iew schema: type: array items: @@ -8461,25 +8090,23 @@ paths: explode: true style: form - in: query - name: rack_id + name: source_url__isw schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: rearport_id + name: source_url__n schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: site + name: source_url__nic schema: type: array items: @@ -8487,34 +8114,31 @@ paths: explode: true style: form - in: query - name: site_id + name: source_url__nie schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: status + name: source_url__niew schema: type: array items: type: string - x-spec-enum-id: fbc2f302c08be50d explode: true style: form - in: query - name: status__n + name: source_url__nisw schema: type: array items: type: string - x-spec-enum-id: fbc2f302c08be50d explode: true style: form - in: query - name: tag + name: status schema: type: array items: @@ -8522,7 +8146,11 @@ paths: explode: true style: form - in: query - name: tag__n + name: status__empty + schema: + type: boolean + - in: query + name: status__ic schema: type: array items: @@ -8530,120 +8158,127 @@ paths: explode: true style: form - in: query - name: tenant + name: status__ie schema: type: array items: type: string - description: Tenant (slug) explode: true style: form - in: query - name: tenant__n + name: status__iew schema: type: array items: type: string - description: Tenant (slug) explode: true style: form - in: query - name: tenant_group + name: status__isw schema: type: array items: - type: integer - description: Tenant Group (slug) + type: string explode: true style: form - in: query - name: tenant_group__n + name: status__n schema: type: array items: - type: integer - description: Tenant Group (slug) + type: string explode: true style: form - in: query - name: tenant_group_id + name: status__nic schema: type: array items: - type: integer - description: Tenant Group (ID) + type: string explode: true style: form - in: query - name: tenant_group_id__n + name: status__nie schema: type: array items: - type: integer - description: Tenant Group (ID) + type: string explode: true style: form - in: query - name: tenant_id + name: status__niew schema: type: array items: - type: integer - nullable: true - description: Tenant (ID) + type: string explode: true style: form - in: query - name: tenant_id__n + name: status__nisw schema: type: array items: - type: integer - nullable: true - description: Tenant (ID) + type: string explode: true style: form - in: query - name: termination_a_id + name: tag schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: termination_a_type + name: tag__n schema: - type: string + type: array + items: + type: string + explode: true + style: form - in: query - name: termination_a_type__n + name: type schema: - type: string + type: array + items: + type: string + explode: true + style: form - in: query - name: termination_b_id + name: type__empty + schema: + type: boolean + - in: query + name: type__ic schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: termination_b_type + name: type__ie schema: - type: string + type: array + items: + type: string + explode: true + style: form - in: query - name: termination_b_type__n + name: type__iew schema: - type: string + type: array + items: + type: string + explode: true + style: form - in: query - name: type + name: type__isw schema: type: array items: type: string - x-spec-enum-id: e671018e64196f8d explode: true style: form - in: query @@ -8652,21 +8287,47 @@ paths: type: array items: type: string - x-spec-enum-id: e671018e64196f8d explode: true style: form - in: query - name: unterminated + name: type__nic schema: - type: boolean - description: Unterminated + 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__nisw + schema: + type: array + items: + type: string + explode: true + style: form - in: query name: updated_by_request schema: type: string format: uuid tags: - - dcim + - core security: - cookieAuth: [] - tokenAuth: [] @@ -8675,21 +8336,22 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedCableList' + $ref: '#/components/schemas/PaginatedDataSourceList' description: '' post: - operationId: dcim_cables_create - description: Post a list of cable objects. + operationId: core_data_sources_create + description: Post a list of data source objects. tags: - - dcim + - core requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableCableRequest' + $ref: '#/components/schemas/WritableDataSourceRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableCableRequest' + $ref: '#/components/schemas/WritableDataSourceRequest' + required: true security: - cookieAuth: [] - tokenAuth: [] @@ -8698,25 +8360,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Cable' + $ref: '#/components/schemas/DataSource' description: '' put: - operationId: dcim_cables_bulk_update - description: Put a list of cable objects. + operationId: core_data_sources_bulk_update + description: Put a list of data source objects. tags: - - dcim + - core requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/CableRequest' + $ref: '#/components/schemas/DataSourceRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/CableRequest' + $ref: '#/components/schemas/DataSourceRequest' required: true security: - cookieAuth: [] @@ -8728,25 +8390,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/Cable' + $ref: '#/components/schemas/DataSource' description: '' patch: - operationId: dcim_cables_bulk_partial_update - description: Patch a list of cable objects. + operationId: core_data_sources_bulk_partial_update + description: Patch a list of data source objects. tags: - - dcim + - core requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/CableRequest' + $ref: '#/components/schemas/DataSourceRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/CableRequest' + $ref: '#/components/schemas/DataSourceRequest' required: true security: - cookieAuth: [] @@ -8758,25 +8420,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/Cable' + $ref: '#/components/schemas/DataSource' description: '' delete: - operationId: dcim_cables_bulk_destroy - description: Delete a list of cable objects. + operationId: core_data_sources_bulk_destroy + description: Delete a list of data source objects. tags: - - dcim + - core requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/CableRequest' + $ref: '#/components/schemas/DataSourceRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/CableRequest' + $ref: '#/components/schemas/DataSourceRequest' required: true security: - cookieAuth: [] @@ -8784,19 +8446,19 @@ paths: responses: '204': description: No response body - /api/dcim/cables/{id}/: + /api/core/data-sources/{id}/: get: - operationId: dcim_cables_retrieve - description: Get a cable object. + operationId: core_data_sources_retrieve + description: Get a data source object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this cable. + description: A unique integer value identifying this data source. required: true tags: - - dcim + - core security: - cookieAuth: [] - tokenAuth: [] @@ -8805,28 +8467,29 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Cable' + $ref: '#/components/schemas/DataSource' description: '' put: - operationId: dcim_cables_update - description: Put a cable object. + operationId: core_data_sources_update + description: Put a data source object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this cable. + description: A unique integer value identifying this data source. required: true tags: - - dcim + - core requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableCableRequest' + $ref: '#/components/schemas/WritableDataSourceRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableCableRequest' + $ref: '#/components/schemas/WritableDataSourceRequest' + required: true security: - cookieAuth: [] - tokenAuth: [] @@ -8835,28 +8498,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Cable' + $ref: '#/components/schemas/DataSource' description: '' patch: - operationId: dcim_cables_partial_update - description: Patch a cable object. + operationId: core_data_sources_partial_update + description: Patch a data source object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this cable. + description: A unique integer value identifying this data source. required: true tags: - - dcim + - core requestBody: content: application/json: schema: - $ref: '#/components/schemas/PatchedWritableCableRequest' + $ref: '#/components/schemas/PatchedWritableDataSourceRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedWritableCableRequest' + $ref: '#/components/schemas/PatchedWritableDataSourceRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -8865,57 +8528,48 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Cable' + $ref: '#/components/schemas/DataSource' description: '' delete: - operationId: dcim_cables_destroy - description: Delete a cable object. + operationId: core_data_sources_destroy + description: Delete a data source object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this cable. + description: A unique integer value identifying this data source. required: true tags: - - dcim + - core security: - cookieAuth: [] - tokenAuth: [] responses: '204': description: No response body - /api/dcim/connected-device/: - get: - operationId: dcim_connected_device_list - description: 'This endpoint allows a user to determine what device (if any) - is connected to a given peer device and peer - - interface. This is useful in a situation where a device boots with no configuration, - but can detect its neighbors - - via a protocol such as LLDP. Two query parameters must be included in the - request: - - - * `peer_device`: The name of the peer device - - * `peer_interface`: The name of the peer interface' + /api/core/data-sources/{id}/sync/: + post: + operationId: core_data_sources_sync_create + description: Enqueue a job to synchronize the DataSource. parameters: - - in: query - name: peer_device - schema: - type: string - description: The name of the peer device - required: true - - in: query - name: peer_interface + - in: path + name: id schema: - type: string - description: The name of the peer interface + type: integer + description: A unique integer value identifying this data source. required: true tags: - - dcim + - core + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableDataSourceRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableDataSourceRequest' + required: true security: - cookieAuth: [] - tokenAuth: [] @@ -8924,121 +8578,172 @@ paths: content: application/json: schema: - type: array - items: - $ref: '#/components/schemas/Device' + $ref: '#/components/schemas/DataSource' description: '' - /api/dcim/console-port-templates/: + /api/core/jobs/: get: - operationId: dcim_console_port_templates_list - description: Get a list of console port template objects. + operationId: core_jobs_list + description: Retrieve a list of job results parameters: + - in: query + name: completed + schema: + type: string + format: date-time + - in: query + name: completed__after + schema: + type: string + format: date-time + - in: query + name: completed__before + schema: + type: string + format: date-time - in: query name: created + schema: + type: string + format: date-time + - in: query + name: created__after + schema: + type: string + format: date-time + - in: query + name: created__before + schema: + type: string + format: date-time + - in: query + name: id schema: type: array items: - type: string - format: date-time + type: integer + format: int32 explode: true style: form - in: query - name: created__empty + name: id__empty + schema: + type: boolean + - in: query + name: id__gt schema: type: array items: - type: string - format: date-time + type: integer + format: int32 explode: true style: form - in: query - name: created__gt + name: id__gte schema: type: array items: - type: string - format: date-time + type: integer + format: int32 explode: true style: form - in: query - name: created__gte + name: id__lt schema: type: array items: - type: string - format: date-time + type: integer + format: int32 explode: true style: form - in: query - name: created__lt + name: id__lte schema: type: array items: - type: string - format: date-time + type: integer + format: int32 explode: true style: form - in: query - name: created__lte + name: id__n schema: type: array items: - type: string - format: date-time + type: integer + format: int32 explode: true style: form - in: query - name: created__n + name: interval schema: type: array items: - type: string - format: date-time + type: integer + format: int32 explode: true style: form - in: query - name: created_by_request + name: interval__empty schema: - type: string - format: uuid + type: boolean - in: query - name: description + name: interval__gt schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: description__empty + name: interval__gte schema: - type: boolean + type: array + items: + type: integer + format: int32 + explode: true + style: form - in: query - name: description__ic + name: interval__lt schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: description__ie + name: interval__lte schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: description__iew + name: interval__n schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: description__isw + name: job_id + schema: + type: string + format: uuid + - 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: @@ -9046,7 +8751,11 @@ paths: explode: true style: form - in: query - name: description__n + name: name__empty + schema: + type: boolean + - in: query + name: name__ic schema: type: array items: @@ -9054,7 +8763,7 @@ paths: explode: true style: form - in: query - name: description__nic + name: name__ie schema: type: array items: @@ -9062,7 +8771,7 @@ paths: explode: true style: form - in: query - name: description__nie + name: name__iew schema: type: array items: @@ -9070,7 +8779,7 @@ paths: explode: true style: form - in: query - name: description__niew + name: name__isw schema: type: array items: @@ -9078,7 +8787,7 @@ paths: explode: true style: form - in: query - name: description__nisw + name: name__n schema: type: array items: @@ -9086,47 +8795,39 @@ paths: explode: true style: form - in: query - name: device_type_id + name: name__nic schema: type: array items: - type: integer - nullable: true - description: Device type (ID) + type: string explode: true style: form - in: query - name: device_type_id__n + name: name__nie schema: type: array items: - type: integer - nullable: true - description: Device type (ID) + type: string explode: true style: form - in: query - name: devicetype_id + name: name__niew schema: type: array items: - type: integer - nullable: true - description: Device type (ID) + type: string explode: true style: form - in: query - name: devicetype_id__n + name: name__nisw schema: type: array items: - type: integer - nullable: true - description: Device type (ID) + type: string explode: true style: form - in: query - name: id + name: object_id schema: type: array items: @@ -9135,11 +8836,11 @@ paths: explode: true style: form - in: query - name: id__empty + name: object_id__empty schema: type: boolean - in: query - name: id__gt + name: object_id__gt schema: type: array items: @@ -9148,7 +8849,7 @@ paths: explode: true style: form - in: query - name: id__gte + name: object_id__gte schema: type: array items: @@ -9157,7 +8858,7 @@ paths: explode: true style: form - in: query - name: id__lt + name: object_id__lt schema: type: array items: @@ -9166,7 +8867,7 @@ paths: explode: true style: form - in: query - name: id__lte + name: object_id__lte schema: type: array items: @@ -9175,7 +8876,7 @@ paths: explode: true style: form - in: query - name: id__n + name: object_id__n schema: type: array items: @@ -9184,205 +8885,526 @@ paths: explode: true style: form - in: query - name: label + name: object_type + schema: + type: integer + - in: query + name: object_type__n + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: scheduled + schema: + type: string + format: date-time + - in: query + name: scheduled__after + schema: + type: string + format: date-time + - in: query + name: scheduled__before + schema: + type: string + format: date-time + - in: query + name: started + schema: + type: string + format: date-time + - in: query + name: started__after + schema: + type: string + format: date-time + - in: query + name: started__before + schema: + type: string + format: date-time + - in: query + name: status schema: type: array items: type: string + x-spec-enum-id: e33887d83efcc138 explode: true style: form - in: query - name: label__empty + name: status__empty schema: type: boolean - in: query - name: label__ic + name: status__ic schema: type: array items: type: string + x-spec-enum-id: e33887d83efcc138 + enum: + - completed + - errored + - failed + - pending + - running + - scheduled + description: '* `pending` - Pending + + * `scheduled` - Scheduled + + * `running` - Running + + * `completed` - Completed + + * `errored` - Errored + + * `failed` - Failed' explode: true style: form - in: query - name: label__ie + name: status__ie schema: type: array items: type: string + x-spec-enum-id: e33887d83efcc138 + enum: + - completed + - errored + - failed + - pending + - running + - scheduled + description: '* `pending` - Pending + + * `scheduled` - Scheduled + + * `running` - Running + + * `completed` - Completed + + * `errored` - Errored + + * `failed` - Failed' explode: true style: form - in: query - name: label__iew + name: status__iew schema: type: array items: type: string + x-spec-enum-id: e33887d83efcc138 + enum: + - completed + - errored + - failed + - pending + - running + - scheduled + description: '* `pending` - Pending + + * `scheduled` - Scheduled + + * `running` - Running + + * `completed` - Completed + + * `errored` - Errored + + * `failed` - Failed' explode: true style: form - in: query - name: label__isw + name: status__isw schema: type: array items: type: string + x-spec-enum-id: e33887d83efcc138 + enum: + - completed + - errored + - failed + - pending + - running + - scheduled + description: '* `pending` - Pending + + * `scheduled` - Scheduled + + * `running` - Running + + * `completed` - Completed + + * `errored` - Errored + + * `failed` - Failed' explode: true style: form - in: query - name: label__n + name: status__n schema: type: array items: type: string + x-spec-enum-id: e33887d83efcc138 + enum: + - completed + - errored + - failed + - pending + - running + - scheduled + description: '* `pending` - Pending + + * `scheduled` - Scheduled + + * `running` - Running + + * `completed` - Completed + + * `errored` - Errored + + * `failed` - Failed' explode: true style: form - in: query - name: label__nic + name: status__nic schema: type: array items: type: string + x-spec-enum-id: e33887d83efcc138 + enum: + - completed + - errored + - failed + - pending + - running + - scheduled + description: '* `pending` - Pending + + * `scheduled` - Scheduled + + * `running` - Running + + * `completed` - Completed + + * `errored` - Errored + + * `failed` - Failed' explode: true style: form - in: query - name: label__nie + name: status__nie schema: type: array items: type: string + x-spec-enum-id: e33887d83efcc138 + enum: + - completed + - errored + - failed + - pending + - running + - scheduled + description: '* `pending` - Pending + + * `scheduled` - Scheduled + + * `running` - Running + + * `completed` - Completed + + * `errored` - Errored + + * `failed` - Failed' explode: true style: form - in: query - name: label__niew + name: status__niew schema: type: array items: type: string + x-spec-enum-id: e33887d83efcc138 + enum: + - completed + - errored + - failed + - pending + - running + - scheduled + description: '* `pending` - Pending + + * `scheduled` - Scheduled + + * `running` - Running + + * `completed` - Completed + + * `errored` - Errored + + * `failed` - Failed' explode: true style: form - in: query - name: label__nisw + name: status__nisw schema: type: array items: type: string + x-spec-enum-id: e33887d83efcc138 + enum: + - completed + - errored + - failed + - pending + - running + - scheduled + description: '* `pending` - Pending + + * `scheduled` - Scheduled + + * `running` - Running + + * `completed` - Completed + + * `errored` - Errored + + * `failed` - Failed' explode: true style: form - in: query - name: last_updated + name: user + schema: + type: integer + - in: query + name: user__n + schema: + type: integer + tags: + - core + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/PaginatedJobList' + description: '' + /api/core/jobs/{id}/: + get: + operationId: core_jobs_retrieve + description: Retrieve a list of job results + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this job. + required: true + tags: + - core + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/Job' + description: '' + /api/core/object-changes/: + get: + operationId: core_object_changes_list + description: Retrieve a list of recent changes. + parameters: + - in: query + name: action + schema: + type: string + x-spec-enum-id: 544f9b3b28b7ce6a + enum: + - create + - delete + - update + description: '* `create` - Created + + * `update` - Updated + + * `delete` - Deleted' + - in: query + name: changed_object_id schema: type: array items: - type: string - format: date-time + type: integer + format: int32 explode: true style: form - in: query - name: last_updated__empty + name: changed_object_id__empty + schema: + type: boolean + - in: query + name: changed_object_id__gt schema: type: array items: - type: string - format: date-time + type: integer + format: int32 explode: true style: form - in: query - name: last_updated__gt + name: changed_object_id__gte schema: type: array items: - type: string - format: date-time + type: integer + format: int32 explode: true style: form - in: query - name: last_updated__gte + name: changed_object_id__lt schema: type: array items: - type: string - format: date-time + type: integer + format: int32 explode: true style: form - in: query - name: last_updated__lt + name: changed_object_id__lte schema: type: array items: - type: string - format: date-time + type: integer + format: int32 explode: true style: form - in: query - name: last_updated__lte + name: changed_object_id__n schema: type: array items: - type: string - format: date-time + type: integer + format: int32 explode: true style: form - in: query - name: last_updated__n + name: changed_object_type + schema: + type: string + - in: query + name: changed_object_type__n + schema: + type: string + - in: query + name: changed_object_type_id schema: type: array items: - type: string - format: date-time + type: integer explode: true style: form - - name: limit - required: false - in: query - description: Number of results to return per page. + - in: query + name: changed_object_type_id__n schema: - type: integer + type: array + items: + type: integer + explode: true + style: form - in: query - name: modified_by_request + name: id schema: - type: string - format: uuid + type: array + items: + type: integer + format: int32 + explode: true + style: form - in: query - name: module_type_id + name: id__empty + schema: + type: boolean + - in: query + name: id__gt schema: type: array items: type: integer - nullable: true - description: Module type (ID) + format: int32 explode: true style: form - in: query - name: module_type_id__n + name: id__gte schema: type: array items: type: integer - nullable: true - description: Module type (ID) + format: int32 explode: true style: form - in: query - name: moduletype_id + name: id__lt schema: type: array items: type: integer - nullable: true - description: Module type (ID) + format: int32 explode: true style: form - in: query - name: moduletype_id__n + name: id__lte schema: type: array items: type: integer - nullable: true - description: Module type (ID) + format: int32 explode: true style: form - in: query - name: name + name: id__n + schema: + type: array + items: + type: integer + format: int32 + 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_repr schema: type: array items: @@ -9390,11 +9412,11 @@ paths: explode: true style: form - in: query - name: name__empty + name: object_repr__empty schema: type: boolean - in: query - name: name__ic + name: object_repr__ic schema: type: array items: @@ -9402,7 +9424,7 @@ paths: explode: true style: form - in: query - name: name__ie + name: object_repr__ie schema: type: array items: @@ -9410,7 +9432,7 @@ paths: explode: true style: form - in: query - name: name__iew + name: object_repr__iew schema: type: array items: @@ -9418,7 +9440,7 @@ paths: explode: true style: form - in: query - name: name__isw + name: object_repr__isw schema: type: array items: @@ -9426,7 +9448,7 @@ paths: explode: true style: form - in: query - name: name__n + name: object_repr__n schema: type: array items: @@ -9434,7 +9456,7 @@ paths: explode: true style: form - in: query - name: name__nic + name: object_repr__nic schema: type: array items: @@ -9442,7 +9464,7 @@ paths: explode: true style: form - in: query - name: name__nie + name: object_repr__nie schema: type: array items: @@ -9450,7 +9472,7 @@ paths: explode: true style: form - in: query - name: name__niew + name: object_repr__niew schema: type: array items: @@ -9458,7 +9480,7 @@ paths: explode: true style: form - in: query - name: name__nisw + name: object_repr__nisw schema: type: array items: @@ -9483,50 +9505,210 @@ paths: type: string description: Search - in: query - name: type + name: related_object_id + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: related_object_id__empty + schema: + type: boolean + - in: query + name: related_object_id__gt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: related_object_id__gte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: related_object_id__lt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: related_object_id__lte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: related_object_id__n + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: related_object_type + schema: + type: integer + - in: query + name: related_object_type__n + schema: + type: integer + - in: query + name: request_id schema: type: string - x-spec-enum-id: c5f7197b7211818a - enum: - - Other - - Serial - - USB - description: '* `Serial` - [(''de-9'', ''DE-9''), (''db-25'', ''DB-25''), - (''rj-11'', ''RJ-11''), (''rj-12'', ''RJ-12''), (''rj-45'', ''RJ-45''), - (''mini-din-8'', ''Mini-DIN 8'')] - - * `USB` - [(''usb-a'', ''USB Type A''), (''usb-b'', ''USB Type B''), (''usb-c'', - ''USB Type C''), (''usb-mini-a'', ''USB Mini A''), (''usb-mini-b'', ''USB - Mini B''), (''usb-micro-a'', ''USB Micro A''), (''usb-micro-b'', ''USB Micro - B''), (''usb-micro-ab'', ''USB Micro AB'')] - - * `Other` - [(''other'', ''Other'')]' + format: uuid - in: query - name: type__n + name: time_after schema: type: string - x-spec-enum-id: c5f7197b7211818a - enum: - - Other - - Serial - - USB - description: '* `Serial` - [(''de-9'', ''DE-9''), (''db-25'', ''DB-25''), - (''rj-11'', ''RJ-11''), (''rj-12'', ''RJ-12''), (''rj-45'', ''RJ-45''), - (''mini-din-8'', ''Mini-DIN 8'')] - - * `USB` - [(''usb-a'', ''USB Type A''), (''usb-b'', ''USB Type B''), (''usb-c'', - ''USB Type C''), (''usb-mini-a'', ''USB Mini A''), (''usb-mini-b'', ''USB - Mini B''), (''usb-micro-a'', ''USB Micro A''), (''usb-micro-b'', ''USB Micro - B''), (''usb-micro-ab'', ''USB Micro AB'')] - - * `Other` - [(''other'', ''Other'')]' + format: date-time - in: query - name: updated_by_request + name: time_before schema: type: string - format: uuid + format: date-time + - in: query + name: user + schema: + type: array + items: + type: string + description: User name + explode: true + style: form + - in: query + name: user__n + schema: + type: array + items: + type: string + description: User name + explode: true + style: form + - in: query + name: user_id + schema: + type: array + items: + type: integer + nullable: true + description: User (ID) + explode: true + style: form + - in: query + name: user_id__n + schema: + type: array + items: + type: integer + nullable: true + description: User (ID) + explode: true + style: form + - in: query + name: user_name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: user_name__empty + schema: + type: boolean + - in: query + name: user_name__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: user_name__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: user_name__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: user_name__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: user_name__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: user_name__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: user_name__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: user_name__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: user_name__nisw + schema: + type: array + items: + type: string + explode: true + style: form tags: - - dcim + - core security: - cookieAuth: [] - tokenAuth: [] @@ -9535,50 +9717,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedConsolePortTemplateList' + $ref: '#/components/schemas/PaginatedObjectChangeList' description: '' - post: - operationId: dcim_console_port_templates_create - description: Post a list of console port template objects. - tags: - - dcim - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/WritableConsolePortTemplateRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/WritableConsolePortTemplateRequest' + /api/core/object-changes/{id}/: + get: + operationId: core_object_changes_retrieve + description: Retrieve a list of recent changes. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this object change. required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '201': - content: - application/json: - schema: - $ref: '#/components/schemas/ConsolePortTemplate' - description: '' - put: - operationId: dcim_console_port_templates_bulk_update - description: Put a list of console port template objects. tags: - - dcim - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ConsolePortTemplateRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/ConsolePortTemplateRequest' - required: true + - core security: - cookieAuth: [] - tokenAuth: [] @@ -9587,43 +9740,415 @@ paths: content: application/json: schema: - type: array - items: - $ref: '#/components/schemas/ConsolePortTemplate' + $ref: '#/components/schemas/ObjectChange' description: '' - patch: - operationId: dcim_console_port_templates_bulk_partial_update - description: Patch a list of console port template objects. - tags: - - dcim - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ConsolePortTemplateRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/ConsolePortTemplateRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ConsolePortTemplate' + /api/dcim/cable-terminations/: + get: + operationId: dcim_cable_terminations_list + description: Get a list of cable termination objects. + parameters: + - in: query + name: cable + schema: + type: integer + - in: query + name: cable__n + schema: + type: integer + - in: query + name: cable_end + schema: + type: string + x-spec-enum-id: 1db84f9b93b261c8 + title: End + enum: + - A + - B + description: '* `A` - A + + * `B` - B' + - in: query + name: created + schema: + type: array + items: + type: string + format: date-time + explode: true + style: form + - in: query + name: created__empty + 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__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: created_by_request + schema: + type: string + format: uuid + - in: query + name: id + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__empty + schema: + type: boolean + - in: query + name: id__gt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__gte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__lt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__lte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: integer + format: int32 + 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__empty + 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__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: modified_by_request + schema: + type: string + format: uuid + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string + - in: query + name: termination_id + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: termination_id__empty + schema: + type: boolean + - in: query + name: termination_id__gt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: termination_id__gte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: termination_id__lt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: termination_id__lte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: termination_id__n + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: termination_type + schema: + type: string + - in: query + name: termination_type__n + schema: + type: string + - in: query + name: updated_by_request + schema: + type: string + format: uuid + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/PaginatedCableTerminationList' + description: '' + post: + operationId: dcim_cable_terminations_create + description: Post a list of cable termination objects. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CableTerminationRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/CableTerminationRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json: + schema: + $ref: '#/components/schemas/CableTermination' + description: '' + put: + operationId: dcim_cable_terminations_bulk_update + description: Put a list of cable termination objects. + tags: + - dcim + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/CableTerminationRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/CableTerminationRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/CableTermination' + description: '' + patch: + operationId: dcim_cable_terminations_bulk_partial_update + description: Patch a list of cable termination objects. + tags: + - dcim + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/CableTerminationRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/CableTerminationRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/CableTermination' description: '' delete: - operationId: dcim_console_port_templates_bulk_destroy - description: Delete a list of console port template objects. + operationId: dcim_cable_terminations_bulk_destroy + description: Delete a list of cable termination objects. tags: - dcim requestBody: @@ -9632,12 +10157,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ConsolePortTemplateRequest' + $ref: '#/components/schemas/CableTerminationRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ConsolePortTemplateRequest' + $ref: '#/components/schemas/CableTerminationRequest' required: true security: - cookieAuth: [] @@ -9645,16 +10170,16 @@ paths: responses: '204': description: No response body - /api/dcim/console-port-templates/{id}/: + /api/dcim/cable-terminations/{id}/: get: - operationId: dcim_console_port_templates_retrieve - description: Get a console port template object. + operationId: dcim_cable_terminations_retrieve + description: Get a cable termination object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this console port template. + description: A unique integer value identifying this cable termination. required: true tags: - dcim @@ -9666,17 +10191,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ConsolePortTemplate' + $ref: '#/components/schemas/CableTermination' description: '' put: - operationId: dcim_console_port_templates_update - description: Put a console port template object. + operationId: dcim_cable_terminations_update + description: Put a cable termination object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this console port template. + description: A unique integer value identifying this cable termination. required: true tags: - dcim @@ -9684,10 +10209,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/WritableConsolePortTemplateRequest' + $ref: '#/components/schemas/CableTerminationRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableConsolePortTemplateRequest' + $ref: '#/components/schemas/CableTerminationRequest' required: true security: - cookieAuth: [] @@ -9697,17 +10222,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ConsolePortTemplate' + $ref: '#/components/schemas/CableTermination' description: '' patch: - operationId: dcim_console_port_templates_partial_update - description: Patch a console port template object. + operationId: dcim_cable_terminations_partial_update + description: Patch a cable termination object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this console port template. + description: A unique integer value identifying this cable termination. required: true tags: - dcim @@ -9715,10 +10240,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PatchedWritableConsolePortTemplateRequest' + $ref: '#/components/schemas/PatchedCableTerminationRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedWritableConsolePortTemplateRequest' + $ref: '#/components/schemas/PatchedCableTerminationRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -9727,17 +10252,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ConsolePortTemplate' + $ref: '#/components/schemas/CableTermination' description: '' delete: - operationId: dcim_console_port_templates_destroy - description: Delete a console port template object. + operationId: dcim_cable_terminations_destroy + description: Delete a cable termination object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this console port template. + description: A unique integer value identifying this cable termination. required: true tags: - dcim @@ -9747,183 +10272,192 @@ paths: responses: '204': description: No response body - /api/dcim/console-ports/: + /api/dcim/cables/: get: - operationId: dcim_console_ports_list - description: Get a list of console port objects. + operationId: dcim_cables_list + description: Get a list of cable objects. parameters: - in: query - name: cable_end - schema: - type: string - x-spec-enum-id: 1db84f9b93b261c8 - enum: - - A - - B - description: '* `A` - A - - * `B` - B' - - in: query - name: cable_end__n - schema: - type: string - x-spec-enum-id: 1db84f9b93b261c8 - enum: - - A - - B - description: '* `A` - A - - * `B` - B' - - in: query - name: cable_id + name: circuittermination_id schema: type: array items: type: integer - nullable: true - description: Cable (ID) + format: int32 explode: true style: form - in: query - name: cable_id__n + name: color schema: type: array items: - type: integer - nullable: true - description: Cable (ID) + type: string explode: true style: form - in: query - name: cabled + name: color__empty schema: type: boolean - in: query - name: connected + name: color__ic schema: - type: boolean + type: array + items: + type: string + explode: true + style: form - in: query - name: created + name: color__ie schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__empty + name: color__iew schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__gt + name: color__isw schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__gte + name: color__n schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__lt + name: color__nic schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__lte + name: color__nie schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__n + name: color__niew schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created_by_request + name: color__nisw schema: - type: string - format: uuid + type: array + items: + type: string + explode: true + style: form - in: query - name: description + name: consoleport_id + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: consoleserverport_id + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: created schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: description__empty + name: created__empty schema: - type: boolean + type: array + items: + type: string + format: date-time + explode: true + style: form - in: query - name: description__ic + name: created__gt schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: description__ie + name: created__gte schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: description__iew + name: created__lt schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: description__isw + name: created__lte schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: description__n + name: created__n schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: description__nic + name: created_by_request + schema: + type: string + format: uuid + - in: query + name: description schema: type: array items: @@ -9931,7 +10465,11 @@ paths: explode: true style: form - in: query - name: description__nie + name: description__empty + schema: + type: boolean + - in: query + name: description__ic schema: type: array items: @@ -9939,7 +10477,7 @@ paths: explode: true style: form - in: query - name: description__niew + name: description__ie schema: type: array items: @@ -9947,7 +10485,7 @@ paths: explode: true style: form - in: query - name: description__nisw + name: description__iew schema: type: array items: @@ -9955,77 +10493,77 @@ paths: explode: true style: form - in: query - name: device + name: description__isw schema: type: array items: type: string - nullable: true - description: Device (name) explode: true style: form - in: query - name: device__n + name: description__n schema: type: array items: type: string - nullable: true - description: Device (name) explode: true style: form - in: query - name: device_id + name: description__nic schema: type: array items: - type: integer - description: Device (ID) + type: string explode: true style: form - in: query - name: device_id__n + name: description__nie schema: type: array items: - type: integer - description: Device (ID) + type: string explode: true style: form - in: query - name: device_type + name: description__niew schema: type: array items: type: string - description: Device type (model) explode: true style: form - in: query - name: device_type__n + name: description__nisw schema: type: array items: type: string - description: Device type (model) explode: true style: form - in: query - name: device_type_id + name: device + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: device_id schema: type: array items: type: integer - description: Device type (ID) + format: int32 explode: true style: form - in: query - name: device_type_id__n + name: frontport_id schema: type: array items: type: integer - description: Device type (ID) + format: int32 explode: true style: form - in: query @@ -10086,6 +10624,15 @@ paths: format: int32 explode: true style: form + - in: query + name: interface_id + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form - in: query name: label schema: @@ -10233,99 +10780,161 @@ 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: length schema: - type: integer + type: array + items: + type: number + format: double + explode: true + style: form - in: query - name: location + name: length__empty + schema: + type: boolean + - in: query + name: length__gt schema: type: array items: - type: string - description: Location (slug) + type: number + format: double explode: true style: form - in: query - name: location__n + name: length__gte schema: type: array items: - type: string - description: Location (slug) + type: number + format: double explode: true style: form - in: query - name: location_id + name: length__lt schema: type: array items: - type: integer - description: Location (ID) + type: number + format: double explode: true style: form - in: query - name: location_id__n + name: length__lte schema: type: array items: - type: integer - description: Location (ID) + type: number + format: double explode: true style: form - in: query - name: mark_connected + name: length__n schema: - type: boolean + type: array + items: + type: number + format: double + explode: true + style: form - in: query - name: modified_by_request + name: length_unit schema: type: string - format: uuid + x-spec-enum-id: e64ce3a2c5997172 + enum: + - cm + - ft + - in + - km + - m + - mi + description: '* `km` - Kilometers + + * `m` - Meters + + * `cm` - Centimeters + + * `mi` - Miles + + * `ft` - Feet + + * `in` - Inches' + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer - in: query - name: module_id + name: location schema: type: array items: - type: integer - nullable: true - description: Module (ID) + type: string explode: true style: form - in: query - name: module_id__n + name: location_id schema: type: array items: type: integer - nullable: true - description: Module (ID) + format: int32 explode: true style: form - in: query - name: name + name: modified_by_request + schema: + type: string + format: uuid + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string + - in: query + name: powerfeed_id schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: name__empty + name: poweroutlet_id schema: - type: boolean + type: array + items: + type: integer + format: int32 + explode: true + style: form - in: query - name: name__ic + name: powerport_id schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: name__ie + name: q + schema: + type: string + description: Search + - in: query + name: rack schema: type: array items: @@ -10333,23 +10942,25 @@ paths: explode: true style: form - in: query - name: name__iew + name: rack_id schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: name__isw + name: rearport_id schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: name__n + name: site schema: type: array items: @@ -10357,328 +10968,648 @@ paths: explode: true style: form - in: query - name: name__nic + name: site_id schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: name__nie + name: status schema: type: array items: type: string + x-spec-enum-id: fbc2f302c08be50d explode: true style: form - in: query - name: name__niew + name: status__empty + schema: + type: boolean + - in: query + name: status__ic schema: type: array items: type: string + x-spec-enum-id: fbc2f302c08be50d + enum: + - connected + - decommissioning + - planned + description: '* `connected` - Connected + + * `planned` - Planned + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: name__nisw + name: status__ie schema: type: array items: type: string + x-spec-enum-id: fbc2f302c08be50d + enum: + - connected + - decommissioning + - planned + description: '* `connected` - Connected + + * `planned` - Planned + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: occupied - schema: - type: boolean - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - in: query - name: q - schema: - type: string - description: Search - - in: query - name: rack + name: status__iew schema: type: array items: type: string - description: Rack (name) + x-spec-enum-id: fbc2f302c08be50d + enum: + - connected + - decommissioning + - planned + description: '* `connected` - Connected + + * `planned` - Planned + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: rack__n + name: status__isw schema: type: array items: type: string - description: Rack (name) + x-spec-enum-id: fbc2f302c08be50d + enum: + - connected + - decommissioning + - planned + description: '* `connected` - Connected + + * `planned` - Planned + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: rack_id + name: status__n schema: type: array items: - type: integer - description: Rack (ID) + type: string + x-spec-enum-id: fbc2f302c08be50d + enum: + - connected + - decommissioning + - planned + description: '* `connected` - Connected + + * `planned` - Planned + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: rack_id__n + name: status__nic schema: type: array items: - type: integer - description: Rack (ID) + type: string + x-spec-enum-id: fbc2f302c08be50d + enum: + - connected + - decommissioning + - planned + description: '* `connected` - Connected + + * `planned` - Planned + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: region + name: status__nie schema: type: array items: - type: integer - description: Region (slug) + type: string + x-spec-enum-id: fbc2f302c08be50d + enum: + - connected + - decommissioning + - planned + description: '* `connected` - Connected + + * `planned` - Planned + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: region__n + name: status__niew schema: type: array items: - type: integer - description: Region (slug) + type: string + x-spec-enum-id: fbc2f302c08be50d + enum: + - connected + - decommissioning + - planned + description: '* `connected` - Connected + + * `planned` - Planned + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: region_id + name: status__nisw schema: type: array items: - type: integer - description: Region (ID) + type: string + x-spec-enum-id: fbc2f302c08be50d + enum: + - connected + - decommissioning + - planned + description: '* `connected` - Connected + + * `planned` - Planned + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: region_id__n + name: tag schema: type: array items: - type: integer - description: Region (ID) + type: string explode: true style: form - in: query - name: role + name: tag__n schema: type: array items: type: string - description: Device role (slug) explode: true style: form - in: query - name: role__n + name: tenant schema: type: array items: type: string - description: Device role (slug) + description: Tenant (slug) explode: true style: form - in: query - name: role_id + name: tenant__n schema: type: array items: - type: integer - description: Device role (ID) + type: string + description: Tenant (slug) explode: true style: form - in: query - name: role_id__n + name: tenant_group schema: type: array items: - type: integer - description: Device role (ID) + type: string explode: true style: form - in: query - name: site + name: tenant_group__n schema: type: array items: type: string - description: Site name (slug) explode: true style: form - in: query - name: site__n + name: tenant_group_id schema: type: array items: type: string - description: Site name (slug) explode: true style: form - in: query - name: site_group + name: tenant_group_id__n schema: type: array items: - type: integer - description: Site group (slug) + type: string explode: true style: form - in: query - name: site_group__n + name: tenant_id schema: type: array items: type: integer - description: Site group (slug) + nullable: true + description: Tenant (ID) explode: true style: form - in: query - name: site_group_id + name: tenant_id__n schema: type: array items: type: integer - description: Site group (ID) + nullable: true + description: Tenant (ID) explode: true style: form - in: query - name: site_group_id__n + name: termination_a_id schema: type: array items: type: integer - description: Site group (ID) + format: int32 explode: true style: form - in: query - name: site_id + name: termination_a_type + schema: + type: string + - in: query + name: termination_a_type__n + schema: + type: string + - in: query + name: termination_b_id schema: type: array items: type: integer - description: Site (ID) + format: int32 explode: true style: form - in: query - name: site_id__n + name: termination_b_type + schema: + type: string + - in: query + name: termination_b_type__n + schema: + type: string + - in: query + name: type schema: type: array items: - type: integer - description: Site (ID) + type: string + x-spec-enum-id: 7b11d524b2b1a7ef explode: true style: form - in: query - name: speed + name: type__empty schema: - type: integer - x-spec-enum-id: ab6d9635c131a378 - nullable: true - enum: - - 115200 - - 1200 - - 19200 - - 2400 - - 38400 - - 4800 - - 57600 - - 9600 - description: 'Port speed in bits per second + type: boolean + - in: query + name: type__ic + schema: + type: array + items: + type: string + x-spec-enum-id: 7b11d524b2b1a7ef + enum: + - '' + - aoc + - cat3 + - cat5 + - cat5e + - cat6 + - cat6a + - cat7 + - cat7a + - cat8 + - coaxial + - dac-active + - dac-passive + - mmf + - mmf-om1 + - mmf-om2 + - mmf-om3 + - mmf-om4 + - mmf-om5 + - mrj21-trunk + - power + - smf + - smf-os1 + - smf-os2 + - usb + description: '* `cat3` - CAT3 + * `cat5` - CAT5 - * `1200` - 1200 bps + * `cat5e` - CAT5e - * `2400` - 2400 bps + * `cat6` - CAT6 - * `4800` - 4800 bps + * `cat6a` - CAT6a - * `9600` - 9600 bps + * `cat7` - CAT7 - * `19200` - 19.2 kbps + * `cat7a` - CAT7a - * `38400` - 38.4 kbps + * `cat8` - CAT8 - * `57600` - 57.6 kbps + * `dac-active` - Direct Attach Copper (Active) - * `115200` - 115.2 kbps' - - in: query - name: speed__n - schema: - type: integer - x-spec-enum-id: ab6d9635c131a378 - nullable: true - enum: - - 115200 - - 1200 - - 19200 - - 2400 - - 38400 - - 4800 - - 57600 - - 9600 - description: 'Port speed in bits per second + * `dac-passive` - Direct Attach Copper (Passive) + * `mrj21-trunk` - MRJ21 Trunk - * `1200` - 1200 bps + * `coaxial` - Coaxial - * `2400` - 2400 bps + * `mmf` - Multimode Fiber - * `4800` - 4800 bps + * `mmf-om1` - Multimode Fiber (OM1) - * `9600` - 9600 bps + * `mmf-om2` - Multimode Fiber (OM2) - * `19200` - 19.2 kbps + * `mmf-om3` - Multimode Fiber (OM3) - * `38400` - 38.4 kbps + * `mmf-om4` - Multimode Fiber (OM4) - * `57600` - 57.6 kbps + * `mmf-om5` - Multimode Fiber (OM5) - * `115200` - 115.2 kbps' + * `smf` - Singlemode Fiber + + * `smf-os1` - Singlemode Fiber (OS1) + + * `smf-os2` - Singlemode Fiber (OS2) + + * `aoc` - Active Optical Cabling (AOC) + + * `usb` - USB + + * `power` - Power' + explode: true + style: form - in: query - name: tag + name: type__ie schema: type: array items: type: string + x-spec-enum-id: 7b11d524b2b1a7ef + enum: + - '' + - aoc + - cat3 + - cat5 + - cat5e + - cat6 + - cat6a + - cat7 + - cat7a + - cat8 + - coaxial + - dac-active + - dac-passive + - mmf + - mmf-om1 + - mmf-om2 + - mmf-om3 + - mmf-om4 + - mmf-om5 + - mrj21-trunk + - power + - smf + - smf-os1 + - smf-os2 + - usb + description: '* `cat3` - CAT3 + + * `cat5` - CAT5 + + * `cat5e` - CAT5e + + * `cat6` - CAT6 + + * `cat6a` - CAT6a + + * `cat7` - CAT7 + + * `cat7a` - CAT7a + + * `cat8` - CAT8 + + * `dac-active` - Direct Attach Copper (Active) + + * `dac-passive` - Direct Attach Copper (Passive) + + * `mrj21-trunk` - MRJ21 Trunk + + * `coaxial` - Coaxial + + * `mmf` - Multimode Fiber + + * `mmf-om1` - Multimode Fiber (OM1) + + * `mmf-om2` - Multimode Fiber (OM2) + + * `mmf-om3` - Multimode Fiber (OM3) + + * `mmf-om4` - Multimode Fiber (OM4) + + * `mmf-om5` - Multimode Fiber (OM5) + + * `smf` - Singlemode Fiber + + * `smf-os1` - Singlemode Fiber (OS1) + + * `smf-os2` - Singlemode Fiber (OS2) + + * `aoc` - Active Optical Cabling (AOC) + + * `usb` - USB + + * `power` - Power' explode: true style: form - in: query - name: tag__n + name: type__iew schema: type: array items: type: string - explode: true + x-spec-enum-id: 7b11d524b2b1a7ef + enum: + - '' + - aoc + - cat3 + - cat5 + - cat5e + - cat6 + - cat6a + - cat7 + - cat7a + - cat8 + - coaxial + - dac-active + - dac-passive + - mmf + - mmf-om1 + - mmf-om2 + - mmf-om3 + - mmf-om4 + - mmf-om5 + - mrj21-trunk + - power + - smf + - smf-os1 + - smf-os2 + - usb + description: '* `cat3` - CAT3 + + * `cat5` - CAT5 + + * `cat5e` - CAT5e + + * `cat6` - CAT6 + + * `cat6a` - CAT6a + + * `cat7` - CAT7 + + * `cat7a` - CAT7a + + * `cat8` - CAT8 + + * `dac-active` - Direct Attach Copper (Active) + + * `dac-passive` - Direct Attach Copper (Passive) + + * `mrj21-trunk` - MRJ21 Trunk + + * `coaxial` - Coaxial + + * `mmf` - Multimode Fiber + + * `mmf-om1` - Multimode Fiber (OM1) + + * `mmf-om2` - Multimode Fiber (OM2) + + * `mmf-om3` - Multimode Fiber (OM3) + + * `mmf-om4` - Multimode Fiber (OM4) + + * `mmf-om5` - Multimode Fiber (OM5) + + * `smf` - Singlemode Fiber + + * `smf-os1` - Singlemode Fiber (OS1) + + * `smf-os2` - Singlemode Fiber (OS2) + + * `aoc` - Active Optical Cabling (AOC) + + * `usb` - USB + + * `power` - Power' + explode: true style: form - in: query - name: type + name: type__isw schema: type: array items: type: string - x-spec-enum-id: c5f7197b7211818a - description: Physical port type + x-spec-enum-id: 7b11d524b2b1a7ef + enum: + - '' + - aoc + - cat3 + - cat5 + - cat5e + - cat6 + - cat6a + - cat7 + - cat7a + - cat8 + - coaxial + - dac-active + - dac-passive + - mmf + - mmf-om1 + - mmf-om2 + - mmf-om3 + - mmf-om4 + - mmf-om5 + - mrj21-trunk + - power + - smf + - smf-os1 + - smf-os2 + - usb + description: '* `cat3` - CAT3 + + * `cat5` - CAT5 + + * `cat5e` - CAT5e + + * `cat6` - CAT6 + + * `cat6a` - CAT6a + + * `cat7` - CAT7 + + * `cat7a` - CAT7a + + * `cat8` - CAT8 + + * `dac-active` - Direct Attach Copper (Active) + + * `dac-passive` - Direct Attach Copper (Passive) + + * `mrj21-trunk` - MRJ21 Trunk + + * `coaxial` - Coaxial + + * `mmf` - Multimode Fiber + + * `mmf-om1` - Multimode Fiber (OM1) + + * `mmf-om2` - Multimode Fiber (OM2) + + * `mmf-om3` - Multimode Fiber (OM3) + + * `mmf-om4` - Multimode Fiber (OM4) + + * `mmf-om5` - Multimode Fiber (OM5) + + * `smf` - Singlemode Fiber + + * `smf-os1` - Singlemode Fiber (OS1) + + * `smf-os2` - Singlemode Fiber (OS2) + + * `aoc` - Active Optical Cabling (AOC) + + * `usb` - USB + + * `power` - Power' explode: true style: form - in: query @@ -10687,51 +11618,420 @@ paths: type: array items: type: string - x-spec-enum-id: c5f7197b7211818a - description: Physical port type + x-spec-enum-id: 7b11d524b2b1a7ef + enum: + - '' + - aoc + - cat3 + - cat5 + - cat5e + - cat6 + - cat6a + - cat7 + - cat7a + - cat8 + - coaxial + - dac-active + - dac-passive + - mmf + - mmf-om1 + - mmf-om2 + - mmf-om3 + - mmf-om4 + - mmf-om5 + - mrj21-trunk + - power + - smf + - smf-os1 + - smf-os2 + - usb + description: '* `cat3` - CAT3 + + * `cat5` - CAT5 + + * `cat5e` - CAT5e + + * `cat6` - CAT6 + + * `cat6a` - CAT6a + + * `cat7` - CAT7 + + * `cat7a` - CAT7a + + * `cat8` - CAT8 + + * `dac-active` - Direct Attach Copper (Active) + + * `dac-passive` - Direct Attach Copper (Passive) + + * `mrj21-trunk` - MRJ21 Trunk + + * `coaxial` - Coaxial + + * `mmf` - Multimode Fiber + + * `mmf-om1` - Multimode Fiber (OM1) + + * `mmf-om2` - Multimode Fiber (OM2) + + * `mmf-om3` - Multimode Fiber (OM3) + + * `mmf-om4` - Multimode Fiber (OM4) + + * `mmf-om5` - Multimode Fiber (OM5) + + * `smf` - Singlemode Fiber + + * `smf-os1` - Singlemode Fiber (OS1) + + * `smf-os2` - Singlemode Fiber (OS2) + + * `aoc` - Active Optical Cabling (AOC) + + * `usb` - USB + + * `power` - Power' explode: true style: form - in: query - name: updated_by_request - schema: - type: string - format: uuid - - in: query - name: virtual_chassis + name: type__nic schema: type: array items: type: string - description: Virtual Chassis + x-spec-enum-id: 7b11d524b2b1a7ef + enum: + - '' + - aoc + - cat3 + - cat5 + - cat5e + - cat6 + - cat6a + - cat7 + - cat7a + - cat8 + - coaxial + - dac-active + - dac-passive + - mmf + - mmf-om1 + - mmf-om2 + - mmf-om3 + - mmf-om4 + - mmf-om5 + - mrj21-trunk + - power + - smf + - smf-os1 + - smf-os2 + - usb + description: '* `cat3` - CAT3 + + * `cat5` - CAT5 + + * `cat5e` - CAT5e + + * `cat6` - CAT6 + + * `cat6a` - CAT6a + + * `cat7` - CAT7 + + * `cat7a` - CAT7a + + * `cat8` - CAT8 + + * `dac-active` - Direct Attach Copper (Active) + + * `dac-passive` - Direct Attach Copper (Passive) + + * `mrj21-trunk` - MRJ21 Trunk + + * `coaxial` - Coaxial + + * `mmf` - Multimode Fiber + + * `mmf-om1` - Multimode Fiber (OM1) + + * `mmf-om2` - Multimode Fiber (OM2) + + * `mmf-om3` - Multimode Fiber (OM3) + + * `mmf-om4` - Multimode Fiber (OM4) + + * `mmf-om5` - Multimode Fiber (OM5) + + * `smf` - Singlemode Fiber + + * `smf-os1` - Singlemode Fiber (OS1) + + * `smf-os2` - Singlemode Fiber (OS2) + + * `aoc` - Active Optical Cabling (AOC) + + * `usb` - USB + + * `power` - Power' explode: true style: form - in: query - name: virtual_chassis__n + name: type__nie schema: type: array items: type: string - description: Virtual Chassis + x-spec-enum-id: 7b11d524b2b1a7ef + enum: + - '' + - aoc + - cat3 + - cat5 + - cat5e + - cat6 + - cat6a + - cat7 + - cat7a + - cat8 + - coaxial + - dac-active + - dac-passive + - mmf + - mmf-om1 + - mmf-om2 + - mmf-om3 + - mmf-om4 + - mmf-om5 + - mrj21-trunk + - power + - smf + - smf-os1 + - smf-os2 + - usb + description: '* `cat3` - CAT3 + + * `cat5` - CAT5 + + * `cat5e` - CAT5e + + * `cat6` - CAT6 + + * `cat6a` - CAT6a + + * `cat7` - CAT7 + + * `cat7a` - CAT7a + + * `cat8` - CAT8 + + * `dac-active` - Direct Attach Copper (Active) + + * `dac-passive` - Direct Attach Copper (Passive) + + * `mrj21-trunk` - MRJ21 Trunk + + * `coaxial` - Coaxial + + * `mmf` - Multimode Fiber + + * `mmf-om1` - Multimode Fiber (OM1) + + * `mmf-om2` - Multimode Fiber (OM2) + + * `mmf-om3` - Multimode Fiber (OM3) + + * `mmf-om4` - Multimode Fiber (OM4) + + * `mmf-om5` - Multimode Fiber (OM5) + + * `smf` - Singlemode Fiber + + * `smf-os1` - Singlemode Fiber (OS1) + + * `smf-os2` - Singlemode Fiber (OS2) + + * `aoc` - Active Optical Cabling (AOC) + + * `usb` - USB + + * `power` - Power' explode: true style: form - in: query - name: virtual_chassis_id + name: type__niew schema: type: array items: - type: integer - description: Virtual Chassis (ID) + type: string + x-spec-enum-id: 7b11d524b2b1a7ef + enum: + - '' + - aoc + - cat3 + - cat5 + - cat5e + - cat6 + - cat6a + - cat7 + - cat7a + - cat8 + - coaxial + - dac-active + - dac-passive + - mmf + - mmf-om1 + - mmf-om2 + - mmf-om3 + - mmf-om4 + - mmf-om5 + - mrj21-trunk + - power + - smf + - smf-os1 + - smf-os2 + - usb + description: '* `cat3` - CAT3 + + * `cat5` - CAT5 + + * `cat5e` - CAT5e + + * `cat6` - CAT6 + + * `cat6a` - CAT6a + + * `cat7` - CAT7 + + * `cat7a` - CAT7a + + * `cat8` - CAT8 + + * `dac-active` - Direct Attach Copper (Active) + + * `dac-passive` - Direct Attach Copper (Passive) + + * `mrj21-trunk` - MRJ21 Trunk + + * `coaxial` - Coaxial + + * `mmf` - Multimode Fiber + + * `mmf-om1` - Multimode Fiber (OM1) + + * `mmf-om2` - Multimode Fiber (OM2) + + * `mmf-om3` - Multimode Fiber (OM3) + + * `mmf-om4` - Multimode Fiber (OM4) + + * `mmf-om5` - Multimode Fiber (OM5) + + * `smf` - Singlemode Fiber + + * `smf-os1` - Singlemode Fiber (OS1) + + * `smf-os2` - Singlemode Fiber (OS2) + + * `aoc` - Active Optical Cabling (AOC) + + * `usb` - USB + + * `power` - Power' explode: true style: form - in: query - name: virtual_chassis_id__n + name: type__nisw schema: type: array items: - type: integer - description: Virtual Chassis (ID) + type: string + x-spec-enum-id: 7b11d524b2b1a7ef + enum: + - '' + - aoc + - cat3 + - cat5 + - cat5e + - cat6 + - cat6a + - cat7 + - cat7a + - cat8 + - coaxial + - dac-active + - dac-passive + - mmf + - mmf-om1 + - mmf-om2 + - mmf-om3 + - mmf-om4 + - mmf-om5 + - mrj21-trunk + - power + - smf + - smf-os1 + - smf-os2 + - usb + description: '* `cat3` - CAT3 + + * `cat5` - CAT5 + + * `cat5e` - CAT5e + + * `cat6` - CAT6 + + * `cat6a` - CAT6a + + * `cat7` - CAT7 + + * `cat7a` - CAT7a + + * `cat8` - CAT8 + + * `dac-active` - Direct Attach Copper (Active) + + * `dac-passive` - Direct Attach Copper (Passive) + + * `mrj21-trunk` - MRJ21 Trunk + + * `coaxial` - Coaxial + + * `mmf` - Multimode Fiber + + * `mmf-om1` - Multimode Fiber (OM1) + + * `mmf-om2` - Multimode Fiber (OM2) + + * `mmf-om3` - Multimode Fiber (OM3) + + * `mmf-om4` - Multimode Fiber (OM4) + + * `mmf-om5` - Multimode Fiber (OM5) + + * `smf` - Singlemode Fiber + + * `smf-os1` - Singlemode Fiber (OS1) + + * `smf-os2` - Singlemode Fiber (OS2) + + * `aoc` - Active Optical Cabling (AOC) + + * `usb` - USB + + * `power` - Power' explode: true style: form + - in: query + name: unterminated + schema: + type: boolean + description: Unterminated + - in: query + name: updated_by_request + schema: + type: string + format: uuid tags: - dcim security: @@ -10742,22 +12042,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedConsolePortList' + $ref: '#/components/schemas/PaginatedCableList' description: '' post: - operationId: dcim_console_ports_create - description: Post a list of console port objects. + operationId: dcim_cables_create + description: Post a list of cable objects. tags: - dcim requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableConsolePortRequest' + $ref: '#/components/schemas/WritableCableRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableConsolePortRequest' - required: true + $ref: '#/components/schemas/WritableCableRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -10766,11 +12065,11 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ConsolePort' + $ref: '#/components/schemas/Cable' description: '' put: - operationId: dcim_console_ports_bulk_update - description: Put a list of console port objects. + operationId: dcim_cables_bulk_update + description: Put a list of cable objects. tags: - dcim requestBody: @@ -10779,12 +12078,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ConsolePortRequest' + $ref: '#/components/schemas/CableRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ConsolePortRequest' + $ref: '#/components/schemas/CableRequest' required: true security: - cookieAuth: [] @@ -10796,11 +12095,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ConsolePort' + $ref: '#/components/schemas/Cable' description: '' patch: - operationId: dcim_console_ports_bulk_partial_update - description: Patch a list of console port objects. + operationId: dcim_cables_bulk_partial_update + description: Patch a list of cable objects. tags: - dcim requestBody: @@ -10809,12 +12108,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ConsolePortRequest' + $ref: '#/components/schemas/CableRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ConsolePortRequest' + $ref: '#/components/schemas/CableRequest' required: true security: - cookieAuth: [] @@ -10826,11 +12125,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ConsolePort' + $ref: '#/components/schemas/Cable' description: '' delete: - operationId: dcim_console_ports_bulk_destroy - description: Delete a list of console port objects. + operationId: dcim_cables_bulk_destroy + description: Delete a list of cable objects. tags: - dcim requestBody: @@ -10839,12 +12138,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ConsolePortRequest' + $ref: '#/components/schemas/CableRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ConsolePortRequest' + $ref: '#/components/schemas/CableRequest' required: true security: - cookieAuth: [] @@ -10852,16 +12151,16 @@ paths: responses: '204': description: No response body - /api/dcim/console-ports/{id}/: + /api/dcim/cables/{id}/: get: - operationId: dcim_console_ports_retrieve - description: Get a console port object. + operationId: dcim_cables_retrieve + description: Get a cable object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this console port. + description: A unique integer value identifying this cable. required: true tags: - dcim @@ -10873,17 +12172,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ConsolePort' + $ref: '#/components/schemas/Cable' description: '' put: - operationId: dcim_console_ports_update - description: Put a console port object. + operationId: dcim_cables_update + description: Put a cable object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this console port. + description: A unique integer value identifying this cable. required: true tags: - dcim @@ -10891,11 +12190,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/WritableConsolePortRequest' + $ref: '#/components/schemas/WritableCableRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableConsolePortRequest' - required: true + $ref: '#/components/schemas/WritableCableRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -10904,17 +12202,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ConsolePort' + $ref: '#/components/schemas/Cable' description: '' patch: - operationId: dcim_console_ports_partial_update - description: Patch a console port object. + operationId: dcim_cables_partial_update + description: Patch a cable object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this console port. + description: A unique integer value identifying this cable. required: true tags: - dcim @@ -10922,10 +12220,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PatchedWritableConsolePortRequest' + $ref: '#/components/schemas/PatchedWritableCableRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedWritableConsolePortRequest' + $ref: '#/components/schemas/PatchedWritableCableRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -10934,17 +12232,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ConsolePort' + $ref: '#/components/schemas/Cable' description: '' delete: - operationId: dcim_console_ports_destroy - description: Delete a console port object. + operationId: dcim_cables_destroy + description: Delete a cable object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this console port. + description: A unique integer value identifying this cable. required: true tags: - dcim @@ -10954,17 +12252,34 @@ paths: responses: '204': description: No response body - /api/dcim/console-ports/{id}/trace/: + /api/dcim/connected-device/: get: - operationId: dcim_console_ports_trace_retrieve - description: Trace a complete cable path and return each segment as a three-tuple - of (termination, cable, termination). + operationId: dcim_connected_device_list + description: 'This endpoint allows a user to determine what device (if any) + is connected to a given peer device and peer + + interface. This is useful in a situation where a device boots with no configuration, + but can detect its neighbors + + via a protocol such as LLDP. Two query parameters must be included in the + request: + + + * `peer_device`: The name of the peer device + + * `peer_interface`: The name of the peer interface' parameters: - - in: path - name: id + - in: query + name: peer_device schema: - type: integer - description: A unique integer value identifying this console port. + type: string + description: The name of the peer device + required: true + - in: query + name: peer_interface + schema: + type: string + description: The name of the peer interface required: true tags: - dcim @@ -10976,12 +12291,14 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ConsolePort' + type: array + items: + $ref: '#/components/schemas/Device' description: '' - /api/dcim/console-server-port-templates/: + /api/dcim/console-port-templates/: get: - operationId: dcim_console_server_port_templates_list - description: Get a list of console server port template objects. + operationId: dcim_console_port_templates_list + description: Get a list of console port template objects. parameters: - in: query name: created @@ -11155,26 +12472,6 @@ paths: description: Device type (ID) explode: true style: form - - in: query - name: devicetype_id - schema: - type: array - items: - type: integer - nullable: true - description: Device type (ID) - explode: true - style: form - - in: query - name: devicetype_id__n - schema: - type: array - items: - type: integer - nullable: true - description: Device type (ID) - explode: true - style: form - in: query name: id schema: @@ -11411,26 +12708,6 @@ paths: description: Module type (ID) explode: true style: form - - in: query - name: moduletype_id - schema: - type: array - items: - type: integer - nullable: true - description: Module type (ID) - explode: true - style: form - - in: query - name: moduletype_id__n - schema: - type: array - items: - type: integer - nullable: true - description: Module type (ID) - explode: true - style: form - in: query name: name schema: @@ -11552,25 +12829,6 @@ paths: * `Other` - [(''other'', ''Other'')]' - in: query - name: type__n - schema: - type: string - x-spec-enum-id: c5f7197b7211818a - enum: - - Other - - Serial - - USB - description: '* `Serial` - [(''de-9'', ''DE-9''), (''db-25'', ''DB-25''), - (''rj-11'', ''RJ-11''), (''rj-12'', ''RJ-12''), (''rj-45'', ''RJ-45''), - (''mini-din-8'', ''Mini-DIN 8'')] - - * `USB` - [(''usb-a'', ''USB Type A''), (''usb-b'', ''USB Type B''), (''usb-c'', - ''USB Type C''), (''usb-mini-a'', ''USB Mini A''), (''usb-mini-b'', ''USB - Mini B''), (''usb-micro-a'', ''USB Micro A''), (''usb-micro-b'', ''USB Micro - B''), (''usb-micro-ab'', ''USB Micro AB'')] - - * `Other` - [(''other'', ''Other'')]' - - in: query name: updated_by_request schema: type: string @@ -11585,21 +12843,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedConsoleServerPortTemplateList' + $ref: '#/components/schemas/PaginatedConsolePortTemplateList' description: '' post: - operationId: dcim_console_server_port_templates_create - description: Post a list of console server port template objects. + operationId: dcim_console_port_templates_create + description: Post a list of console port template objects. tags: - dcim requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableConsoleServerPortTemplateRequest' + $ref: '#/components/schemas/WritableConsolePortTemplateRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableConsoleServerPortTemplateRequest' + $ref: '#/components/schemas/WritableConsolePortTemplateRequest' required: true security: - cookieAuth: [] @@ -11609,11 +12867,11 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ConsoleServerPortTemplate' + $ref: '#/components/schemas/ConsolePortTemplate' description: '' put: - operationId: dcim_console_server_port_templates_bulk_update - description: Put a list of console server port template objects. + operationId: dcim_console_port_templates_bulk_update + description: Put a list of console port template objects. tags: - dcim requestBody: @@ -11622,12 +12880,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ConsoleServerPortTemplateRequest' + $ref: '#/components/schemas/ConsolePortTemplateRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ConsoleServerPortTemplateRequest' + $ref: '#/components/schemas/ConsolePortTemplateRequest' required: true security: - cookieAuth: [] @@ -11639,11 +12897,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ConsoleServerPortTemplate' + $ref: '#/components/schemas/ConsolePortTemplate' description: '' patch: - operationId: dcim_console_server_port_templates_bulk_partial_update - description: Patch a list of console server port template objects. + operationId: dcim_console_port_templates_bulk_partial_update + description: Patch a list of console port template objects. tags: - dcim requestBody: @@ -11652,12 +12910,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ConsoleServerPortTemplateRequest' + $ref: '#/components/schemas/ConsolePortTemplateRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ConsoleServerPortTemplateRequest' + $ref: '#/components/schemas/ConsolePortTemplateRequest' required: true security: - cookieAuth: [] @@ -11669,11 +12927,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ConsoleServerPortTemplate' + $ref: '#/components/schemas/ConsolePortTemplate' description: '' delete: - operationId: dcim_console_server_port_templates_bulk_destroy - description: Delete a list of console server port template objects. + operationId: dcim_console_port_templates_bulk_destroy + description: Delete a list of console port template objects. tags: - dcim requestBody: @@ -11682,12 +12940,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ConsoleServerPortTemplateRequest' + $ref: '#/components/schemas/ConsolePortTemplateRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ConsoleServerPortTemplateRequest' + $ref: '#/components/schemas/ConsolePortTemplateRequest' required: true security: - cookieAuth: [] @@ -11695,16 +12953,16 @@ paths: responses: '204': description: No response body - /api/dcim/console-server-port-templates/{id}/: + /api/dcim/console-port-templates/{id}/: get: - operationId: dcim_console_server_port_templates_retrieve - description: Get a console server port template object. + operationId: dcim_console_port_templates_retrieve + description: Get a console port template object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this console server port template. + description: A unique integer value identifying this console port template. required: true tags: - dcim @@ -11716,17 +12974,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ConsoleServerPortTemplate' + $ref: '#/components/schemas/ConsolePortTemplate' description: '' put: - operationId: dcim_console_server_port_templates_update - description: Put a console server port template object. + operationId: dcim_console_port_templates_update + description: Put a console port template object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this console server port template. + description: A unique integer value identifying this console port template. required: true tags: - dcim @@ -11734,10 +12992,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/WritableConsoleServerPortTemplateRequest' + $ref: '#/components/schemas/WritableConsolePortTemplateRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableConsoleServerPortTemplateRequest' + $ref: '#/components/schemas/WritableConsolePortTemplateRequest' required: true security: - cookieAuth: [] @@ -11747,17 +13005,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ConsoleServerPortTemplate' + $ref: '#/components/schemas/ConsolePortTemplate' description: '' patch: - operationId: dcim_console_server_port_templates_partial_update - description: Patch a console server port template object. + operationId: dcim_console_port_templates_partial_update + description: Patch a console port template object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this console server port template. + description: A unique integer value identifying this console port template. required: true tags: - dcim @@ -11765,10 +13023,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PatchedWritableConsoleServerPortTemplateRequest' + $ref: '#/components/schemas/PatchedWritableConsolePortTemplateRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedWritableConsoleServerPortTemplateRequest' + $ref: '#/components/schemas/PatchedWritableConsolePortTemplateRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -11777,17 +13035,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ConsoleServerPortTemplate' + $ref: '#/components/schemas/ConsolePortTemplate' description: '' delete: - operationId: dcim_console_server_port_templates_destroy - description: Delete a console server port template object. + operationId: dcim_console_port_templates_destroy + description: Delete a console port template object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this console server port template. + description: A unique integer value identifying this console port template. required: true tags: - dcim @@ -11797,10 +13055,10 @@ paths: responses: '204': description: No response body - /api/dcim/console-server-ports/: + /api/dcim/console-ports/: get: - operationId: dcim_console_server_ports_list - description: Get a list of console server port objects. + operationId: dcim_console_ports_list + description: Get a list of console port objects. parameters: - in: query name: cable_end @@ -11813,17 +13071,6 @@ paths: description: '* `A` - A * `B` - B' - - in: query - name: cable_end__n - schema: - type: string - x-spec-enum-id: 1db84f9b93b261c8 - enum: - - A - - B - description: '* `A` - A - - * `B` - B' - in: query name: cable_id schema: @@ -12042,6 +13289,325 @@ paths: description: Device (ID) explode: true style: form + - in: query + name: device_role + schema: + type: array + items: + type: string + description: Device role (slug) + explode: true + style: form + - in: query + name: device_role__n + schema: + type: array + items: + type: string + description: Device role (slug) + explode: true + style: form + - in: query + name: device_role_id + schema: + type: array + items: + type: integer + description: Device role (ID) + explode: true + style: form + - in: query + name: device_role_id__n + schema: + type: array + items: + type: integer + description: Device role (ID) + explode: true + style: form + - in: query + name: device_status + schema: + type: array + items: + type: string + x-spec-enum-id: 8d8971779f16ee18 + explode: true + style: form + - in: query + name: device_status__empty + schema: + type: boolean + - in: query + name: device_status__ic + schema: + type: array + items: + type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' + explode: true + style: form + - in: query + name: device_status__ie + schema: + type: array + items: + type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' + explode: true + style: form + - in: query + name: device_status__iew + schema: + type: array + items: + type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' + explode: true + style: form + - in: query + name: device_status__isw + schema: + type: array + items: + type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' + explode: true + style: form + - in: query + name: device_status__n + schema: + type: array + items: + type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' + explode: true + style: form + - in: query + name: device_status__nic + schema: + type: array + items: + type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' + explode: true + style: form + - in: query + name: device_status__nie + schema: + type: array + items: + type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' + explode: true + style: form + - in: query + name: device_status__niew + schema: + type: array + items: + type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' + explode: true + style: form + - in: query + name: device_status__nisw + schema: + type: array + items: + type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' + explode: true + style: form - in: query name: device_type schema: @@ -12500,8 +14066,7 @@ paths: schema: type: array items: - type: integer - description: Region (slug) + type: string explode: true style: form - in: query @@ -12509,62 +14074,23 @@ paths: schema: type: array items: - type: integer - description: Region (slug) + type: string explode: true style: form - in: query name: region_id - schema: - type: array - items: - type: integer - description: Region (ID) - explode: true - style: form - - in: query - name: region_id__n - schema: - type: array - items: - type: integer - description: Region (ID) - explode: true - style: form - - in: query - name: role schema: type: array items: type: string - description: Device role (slug) explode: true style: form - in: query - name: role__n + name: region_id__n schema: type: array items: type: string - description: Device role (slug) - explode: true - style: form - - in: query - name: role_id - schema: - type: array - items: - type: integer - description: Device role (ID) - explode: true - style: form - - in: query - name: role_id__n - schema: - type: array - items: - type: integer - description: Device role (ID) explode: true style: form - in: query @@ -12590,8 +14116,7 @@ paths: schema: type: array items: - type: integer - description: Site group (slug) + type: string explode: true style: form - in: query @@ -12599,8 +14124,7 @@ paths: schema: type: array items: - type: integer - description: Site group (slug) + type: string explode: true style: form - in: query @@ -12608,8 +14132,7 @@ paths: schema: type: array items: - type: integer - description: Site group (ID) + type: string explode: true style: form - in: query @@ -12617,8 +14140,7 @@ paths: schema: type: array items: - type: integer - description: Site group (ID) + type: string explode: true style: form - in: query @@ -12673,62 +14195,265 @@ paths: * `115200` - 115.2 kbps' - in: query - name: speed__n + name: tag schema: - type: integer - x-spec-enum-id: ab6d9635c131a378 - nullable: true - enum: - - 115200 - - 1200 - - 19200 - - 2400 - - 38400 - - 4800 - - 57600 - - 9600 - description: 'Port speed in bits per second + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: type + schema: + type: array + items: + type: string + x-spec-enum-id: c5f7197b7211818a + description: Physical port type + explode: true + style: form + - in: query + name: type__empty + schema: + type: boolean + - in: query + name: type__ic + schema: + type: array + items: + type: string + x-spec-enum-id: c5f7197b7211818a + enum: + - '' + - db-25 + - de-9 + - mini-din-8 + - other + - rj-11 + - rj-12 + - rj-45 + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: 'Physical port type - * `1200` - 1200 bps + * `de-9` - DE-9 - * `2400` - 2400 bps + * `db-25` - DB-25 - * `4800` - 4800 bps + * `rj-11` - RJ-11 - * `9600` - 9600 bps + * `rj-12` - RJ-12 - * `19200` - 19.2 kbps + * `rj-45` - RJ-45 - * `38400` - 38.4 kbps + * `mini-din-8` - Mini-DIN 8 - * `57600` - 57.6 kbps + * `usb-a` - USB Type A - * `115200` - 115.2 kbps' + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' + explode: true + style: form - in: query - name: tag + name: type__ie schema: type: array items: type: string + x-spec-enum-id: c5f7197b7211818a + enum: + - '' + - db-25 + - de-9 + - mini-din-8 + - other + - rj-11 + - rj-12 + - rj-45 + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: 'Physical port type + + + * `de-9` - DE-9 + + * `db-25` - DB-25 + + * `rj-11` - RJ-11 + + * `rj-12` - RJ-12 + + * `rj-45` - RJ-45 + + * `mini-din-8` - Mini-DIN 8 + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' explode: true style: form - in: query - name: tag__n + name: type__iew schema: type: array items: type: string + x-spec-enum-id: c5f7197b7211818a + enum: + - '' + - db-25 + - de-9 + - mini-din-8 + - other + - rj-11 + - rj-12 + - rj-45 + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: 'Physical port type + + + * `de-9` - DE-9 + + * `db-25` - DB-25 + + * `rj-11` - RJ-11 + + * `rj-12` - RJ-12 + + * `rj-45` - RJ-45 + + * `mini-din-8` - Mini-DIN 8 + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' explode: true style: form - in: query - name: type + name: type__isw schema: type: array items: type: string x-spec-enum-id: c5f7197b7211818a - description: Physical port type + enum: + - '' + - db-25 + - de-9 + - mini-din-8 + - other + - rj-11 + - rj-12 + - rj-45 + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: 'Physical port type + + + * `de-9` - DE-9 + + * `db-25` - DB-25 + + * `rj-11` - RJ-11 + + * `rj-12` - RJ-12 + + * `rj-45` - RJ-45 + + * `mini-din-8` - Mini-DIN 8 + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' explode: true style: form - in: query @@ -12738,7 +14463,287 @@ paths: items: type: string x-spec-enum-id: c5f7197b7211818a - description: Physical port type + enum: + - '' + - db-25 + - de-9 + - mini-din-8 + - other + - rj-11 + - rj-12 + - rj-45 + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: 'Physical port type + + + * `de-9` - DE-9 + + * `db-25` - DB-25 + + * `rj-11` - RJ-11 + + * `rj-12` - RJ-12 + + * `rj-45` - RJ-45 + + * `mini-din-8` - Mini-DIN 8 + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' + explode: true + style: form + - in: query + name: type__nic + schema: + type: array + items: + type: string + x-spec-enum-id: c5f7197b7211818a + enum: + - '' + - db-25 + - de-9 + - mini-din-8 + - other + - rj-11 + - rj-12 + - rj-45 + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: 'Physical port type + + + * `de-9` - DE-9 + + * `db-25` - DB-25 + + * `rj-11` - RJ-11 + + * `rj-12` - RJ-12 + + * `rj-45` - RJ-45 + + * `mini-din-8` - Mini-DIN 8 + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' + explode: true + style: form + - in: query + name: type__nie + schema: + type: array + items: + type: string + x-spec-enum-id: c5f7197b7211818a + enum: + - '' + - db-25 + - de-9 + - mini-din-8 + - other + - rj-11 + - rj-12 + - rj-45 + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: 'Physical port type + + + * `de-9` - DE-9 + + * `db-25` - DB-25 + + * `rj-11` - RJ-11 + + * `rj-12` - RJ-12 + + * `rj-45` - RJ-45 + + * `mini-din-8` - Mini-DIN 8 + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' + explode: true + style: form + - in: query + name: type__niew + schema: + type: array + items: + type: string + x-spec-enum-id: c5f7197b7211818a + enum: + - '' + - db-25 + - de-9 + - mini-din-8 + - other + - rj-11 + - rj-12 + - rj-45 + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: 'Physical port type + + + * `de-9` - DE-9 + + * `db-25` - DB-25 + + * `rj-11` - RJ-11 + + * `rj-12` - RJ-12 + + * `rj-45` - RJ-45 + + * `mini-din-8` - Mini-DIN 8 + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' + explode: true + style: form + - in: query + name: type__nisw + schema: + type: array + items: + type: string + x-spec-enum-id: c5f7197b7211818a + enum: + - '' + - db-25 + - de-9 + - mini-din-8 + - other + - rj-11 + - rj-12 + - rj-45 + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: 'Physical port type + + + * `de-9` - DE-9 + + * `db-25` - DB-25 + + * `rj-11` - RJ-11 + + * `rj-12` - RJ-12 + + * `rj-45` - RJ-45 + + * `mini-din-8` - Mini-DIN 8 + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' explode: true style: form - in: query @@ -12792,21 +14797,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedConsoleServerPortList' + $ref: '#/components/schemas/PaginatedConsolePortList' description: '' post: - operationId: dcim_console_server_ports_create - description: Post a list of console server port objects. + operationId: dcim_console_ports_create + description: Post a list of console port objects. tags: - dcim requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableConsoleServerPortRequest' + $ref: '#/components/schemas/WritableConsolePortRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableConsoleServerPortRequest' + $ref: '#/components/schemas/WritableConsolePortRequest' required: true security: - cookieAuth: [] @@ -12816,11 +14821,11 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ConsoleServerPort' + $ref: '#/components/schemas/ConsolePort' description: '' put: - operationId: dcim_console_server_ports_bulk_update - description: Put a list of console server port objects. + operationId: dcim_console_ports_bulk_update + description: Put a list of console port objects. tags: - dcim requestBody: @@ -12829,12 +14834,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ConsoleServerPortRequest' + $ref: '#/components/schemas/ConsolePortRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ConsoleServerPortRequest' + $ref: '#/components/schemas/ConsolePortRequest' required: true security: - cookieAuth: [] @@ -12846,11 +14851,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ConsoleServerPort' + $ref: '#/components/schemas/ConsolePort' description: '' patch: - operationId: dcim_console_server_ports_bulk_partial_update - description: Patch a list of console server port objects. + operationId: dcim_console_ports_bulk_partial_update + description: Patch a list of console port objects. tags: - dcim requestBody: @@ -12859,12 +14864,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ConsoleServerPortRequest' + $ref: '#/components/schemas/ConsolePortRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ConsoleServerPortRequest' + $ref: '#/components/schemas/ConsolePortRequest' required: true security: - cookieAuth: [] @@ -12876,11 +14881,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ConsoleServerPort' + $ref: '#/components/schemas/ConsolePort' description: '' delete: - operationId: dcim_console_server_ports_bulk_destroy - description: Delete a list of console server port objects. + operationId: dcim_console_ports_bulk_destroy + description: Delete a list of console port objects. tags: - dcim requestBody: @@ -12889,12 +14894,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ConsoleServerPortRequest' + $ref: '#/components/schemas/ConsolePortRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ConsoleServerPortRequest' + $ref: '#/components/schemas/ConsolePortRequest' required: true security: - cookieAuth: [] @@ -12902,16 +14907,16 @@ paths: responses: '204': description: No response body - /api/dcim/console-server-ports/{id}/: + /api/dcim/console-ports/{id}/: get: - operationId: dcim_console_server_ports_retrieve - description: Get a console server port object. + operationId: dcim_console_ports_retrieve + description: Get a console port object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this console server port. + description: A unique integer value identifying this console port. required: true tags: - dcim @@ -12923,17 +14928,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ConsoleServerPort' + $ref: '#/components/schemas/ConsolePort' description: '' put: - operationId: dcim_console_server_ports_update - description: Put a console server port object. + operationId: dcim_console_ports_update + description: Put a console port object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this console server port. + description: A unique integer value identifying this console port. required: true tags: - dcim @@ -12941,10 +14946,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/WritableConsoleServerPortRequest' + $ref: '#/components/schemas/WritableConsolePortRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableConsoleServerPortRequest' + $ref: '#/components/schemas/WritableConsolePortRequest' required: true security: - cookieAuth: [] @@ -12954,17 +14959,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ConsoleServerPort' + $ref: '#/components/schemas/ConsolePort' description: '' patch: - operationId: dcim_console_server_ports_partial_update - description: Patch a console server port object. + operationId: dcim_console_ports_partial_update + description: Patch a console port object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this console server port. + description: A unique integer value identifying this console port. required: true tags: - dcim @@ -12972,10 +14977,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PatchedWritableConsoleServerPortRequest' + $ref: '#/components/schemas/PatchedWritableConsolePortRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedWritableConsoleServerPortRequest' + $ref: '#/components/schemas/PatchedWritableConsolePortRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -12984,17 +14989,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ConsoleServerPort' + $ref: '#/components/schemas/ConsolePort' description: '' delete: - operationId: dcim_console_server_ports_destroy - description: Delete a console server port object. + operationId: dcim_console_ports_destroy + description: Delete a console port object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this console server port. + description: A unique integer value identifying this console port. required: true tags: - dcim @@ -13004,9 +15009,9 @@ paths: responses: '204': description: No response body - /api/dcim/console-server-ports/{id}/trace/: + /api/dcim/console-ports/{id}/trace/: get: - operationId: dcim_console_server_ports_trace_retrieve + operationId: dcim_console_ports_trace_retrieve description: Trace a complete cable path and return each segment as a three-tuple of (termination, cable, termination). parameters: @@ -13014,7 +15019,7 @@ paths: name: id schema: type: integer - description: A unique integer value identifying this console server port. + description: A unique integer value identifying this console port. required: true tags: - dcim @@ -13026,12 +15031,12 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ConsoleServerPort' + $ref: '#/components/schemas/ConsolePort' description: '' - /api/dcim/device-bay-templates/: + /api/dcim/console-server-port-templates/: get: - operationId: dcim_device_bay_templates_list - description: Get a list of device bay template objects. + operationId: dcim_console_server_port_templates_list + description: Get a list of console server port template objects. parameters: - in: query name: created @@ -13191,6 +15196,7 @@ paths: type: array items: type: integer + nullable: true description: Device type (ID) explode: true style: form @@ -13200,24 +15206,7 @@ paths: type: array items: type: integer - description: Device type (ID) - explode: true - style: form - - in: query - name: devicetype_id - schema: - type: array - items: - type: integer - description: Device type (ID) - explode: true - style: form - - in: query - name: devicetype_id__n - schema: - type: array - items: - type: integer + nullable: true description: Device type (ID) explode: true style: form @@ -13437,6 +15426,26 @@ paths: schema: type: string format: uuid + - in: query + name: module_type_id + schema: + type: array + items: + type: integer + nullable: true + description: Module type (ID) + explode: true + style: form + - in: query + name: module_type_id__n + schema: + type: array + items: + type: integer + nullable: true + description: Module type (ID) + explode: true + style: form - in: query name: name schema: @@ -13538,6 +15547,25 @@ paths: schema: type: string description: Search + - in: query + name: type + schema: + type: string + x-spec-enum-id: c5f7197b7211818a + enum: + - Other + - Serial + - USB + description: '* `Serial` - [(''de-9'', ''DE-9''), (''db-25'', ''DB-25''), + (''rj-11'', ''RJ-11''), (''rj-12'', ''RJ-12''), (''rj-45'', ''RJ-45''), + (''mini-din-8'', ''Mini-DIN 8'')] + + * `USB` - [(''usb-a'', ''USB Type A''), (''usb-b'', ''USB Type B''), (''usb-c'', + ''USB Type C''), (''usb-mini-a'', ''USB Mini A''), (''usb-mini-b'', ''USB + Mini B''), (''usb-micro-a'', ''USB Micro A''), (''usb-micro-b'', ''USB Micro + B''), (''usb-micro-ab'', ''USB Micro AB'')] + + * `Other` - [(''other'', ''Other'')]' - in: query name: updated_by_request schema: @@ -13553,21 +15581,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedDeviceBayTemplateList' + $ref: '#/components/schemas/PaginatedConsoleServerPortTemplateList' description: '' post: - operationId: dcim_device_bay_templates_create - description: Post a list of device bay template objects. + operationId: dcim_console_server_port_templates_create + description: Post a list of console server port template objects. tags: - dcim requestBody: content: application/json: schema: - $ref: '#/components/schemas/DeviceBayTemplateRequest' + $ref: '#/components/schemas/WritableConsoleServerPortTemplateRequest' multipart/form-data: schema: - $ref: '#/components/schemas/DeviceBayTemplateRequest' + $ref: '#/components/schemas/WritableConsoleServerPortTemplateRequest' required: true security: - cookieAuth: [] @@ -13577,11 +15605,11 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeviceBayTemplate' + $ref: '#/components/schemas/ConsoleServerPortTemplate' description: '' put: - operationId: dcim_device_bay_templates_bulk_update - description: Put a list of device bay template objects. + operationId: dcim_console_server_port_templates_bulk_update + description: Put a list of console server port template objects. tags: - dcim requestBody: @@ -13590,12 +15618,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/DeviceBayTemplateRequest' + $ref: '#/components/schemas/ConsoleServerPortTemplateRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/DeviceBayTemplateRequest' + $ref: '#/components/schemas/ConsoleServerPortTemplateRequest' required: true security: - cookieAuth: [] @@ -13607,11 +15635,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/DeviceBayTemplate' + $ref: '#/components/schemas/ConsoleServerPortTemplate' description: '' patch: - operationId: dcim_device_bay_templates_bulk_partial_update - description: Patch a list of device bay template objects. + operationId: dcim_console_server_port_templates_bulk_partial_update + description: Patch a list of console server port template objects. tags: - dcim requestBody: @@ -13620,12 +15648,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/DeviceBayTemplateRequest' + $ref: '#/components/schemas/ConsoleServerPortTemplateRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/DeviceBayTemplateRequest' + $ref: '#/components/schemas/ConsoleServerPortTemplateRequest' required: true security: - cookieAuth: [] @@ -13637,11 +15665,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/DeviceBayTemplate' + $ref: '#/components/schemas/ConsoleServerPortTemplate' description: '' delete: - operationId: dcim_device_bay_templates_bulk_destroy - description: Delete a list of device bay template objects. + operationId: dcim_console_server_port_templates_bulk_destroy + description: Delete a list of console server port template objects. tags: - dcim requestBody: @@ -13650,12 +15678,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/DeviceBayTemplateRequest' + $ref: '#/components/schemas/ConsoleServerPortTemplateRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/DeviceBayTemplateRequest' + $ref: '#/components/schemas/ConsoleServerPortTemplateRequest' required: true security: - cookieAuth: [] @@ -13663,16 +15691,16 @@ paths: responses: '204': description: No response body - /api/dcim/device-bay-templates/{id}/: + /api/dcim/console-server-port-templates/{id}/: get: - operationId: dcim_device_bay_templates_retrieve - description: Get a device bay template object. + operationId: dcim_console_server_port_templates_retrieve + description: Get a console server port template object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this device bay template. + description: A unique integer value identifying this console server port template. required: true tags: - dcim @@ -13684,17 +15712,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeviceBayTemplate' + $ref: '#/components/schemas/ConsoleServerPortTemplate' description: '' put: - operationId: dcim_device_bay_templates_update - description: Put a device bay template object. + operationId: dcim_console_server_port_templates_update + description: Put a console server port template object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this device bay template. + description: A unique integer value identifying this console server port template. required: true tags: - dcim @@ -13702,10 +15730,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeviceBayTemplateRequest' + $ref: '#/components/schemas/WritableConsoleServerPortTemplateRequest' multipart/form-data: schema: - $ref: '#/components/schemas/DeviceBayTemplateRequest' + $ref: '#/components/schemas/WritableConsoleServerPortTemplateRequest' required: true security: - cookieAuth: [] @@ -13715,17 +15743,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeviceBayTemplate' + $ref: '#/components/schemas/ConsoleServerPortTemplate' description: '' patch: - operationId: dcim_device_bay_templates_partial_update - description: Patch a device bay template object. + operationId: dcim_console_server_port_templates_partial_update + description: Patch a console server port template object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this device bay template. + description: A unique integer value identifying this console server port template. required: true tags: - dcim @@ -13733,10 +15761,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PatchedDeviceBayTemplateRequest' + $ref: '#/components/schemas/PatchedWritableConsoleServerPortTemplateRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedDeviceBayTemplateRequest' + $ref: '#/components/schemas/PatchedWritableConsoleServerPortTemplateRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -13745,17 +15773,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeviceBayTemplate' + $ref: '#/components/schemas/ConsoleServerPortTemplate' description: '' delete: - operationId: dcim_device_bay_templates_destroy - description: Delete a device bay template object. + operationId: dcim_console_server_port_templates_destroy + description: Delete a console server port template object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this device bay template. + description: A unique integer value identifying this console server port template. required: true tags: - dcim @@ -13765,11 +15793,50 @@ paths: responses: '204': description: No response body - /api/dcim/device-bays/: + /api/dcim/console-server-ports/: get: - operationId: dcim_device_bays_list - description: Get a list of device bay objects. + operationId: dcim_console_server_ports_list + description: Get a list of console server port objects. parameters: + - in: query + name: cable_end + schema: + type: string + x-spec-enum-id: 1db84f9b93b261c8 + enum: + - A + - B + description: '* `A` - A + + * `B` - B' + - in: query + name: cable_id + schema: + type: array + items: + type: integer + nullable: true + description: Cable (ID) + explode: true + style: form + - in: query + name: cable_id__n + schema: + type: array + items: + type: integer + nullable: true + description: Cable (ID) + explode: true + style: form + - in: query + name: cabled + schema: + type: boolean + - in: query + name: connected + schema: + type: boolean - in: query name: created schema: @@ -13961,83 +16028,362 @@ paths: explode: true style: form - in: query - name: device_type + name: device_role schema: type: array items: type: string - description: Device type (model) + description: Device role (slug) explode: true style: form - in: query - name: device_type__n + name: device_role__n schema: type: array items: type: string - description: Device type (model) + description: Device role (slug) explode: true style: form - in: query - name: device_type_id + name: device_role_id schema: type: array items: type: integer - description: Device type (ID) + description: Device role (ID) explode: true style: form - in: query - name: device_type_id__n + name: device_role_id__n schema: type: array items: type: integer - description: Device type (ID) + description: Device role (ID) explode: true style: form - in: query - name: id + name: device_status schema: type: array items: - type: integer - format: int32 + type: string + x-spec-enum-id: 8d8971779f16ee18 explode: true style: form - in: query - name: id__empty + name: device_status__empty schema: type: boolean - in: query - name: id__gt + name: device_status__ic schema: type: array items: - type: integer - format: int32 + type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: id__gte + name: device_status__ie + schema: + type: array + items: + type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' + explode: true + style: form + - in: query + name: device_status__iew + schema: + type: array + items: + type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' + explode: true + style: form + - in: query + name: device_status__isw + schema: + type: array + items: + type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' + explode: true + style: form + - in: query + name: device_status__n + schema: + type: array + items: + type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' + explode: true + style: form + - in: query + name: device_status__nic + schema: + type: array + items: + type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' + explode: true + style: form + - in: query + name: device_status__nie + schema: + type: array + items: + type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' + explode: true + style: form + - in: query + name: device_status__niew + schema: + type: array + items: + type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' + explode: true + style: form + - in: query + name: device_status__nisw + schema: + type: array + items: + type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' + explode: true + style: form + - in: query + name: device_type + schema: + type: array + items: + type: string + description: Device type (model) + explode: true + style: form + - in: query + name: device_type__n + schema: + type: array + items: + type: string + description: Device type (model) + explode: true + style: form + - in: query + name: device_type_id schema: type: array items: type: integer - format: int32 + description: Device type (ID) explode: true style: form - in: query - name: id__lt + name: device_type_id__n schema: type: array items: type: integer - format: int32 + description: Device type (ID) explode: true style: form - in: query - name: id__lte + name: id schema: type: array items: @@ -14046,7 +16392,11 @@ paths: explode: true style: form - in: query - name: id__n + name: id__empty + schema: + type: boolean + - in: query + name: id__gt schema: type: array items: @@ -14055,43 +16405,39 @@ paths: explode: true style: form - in: query - name: installed_device + name: id__gte schema: type: array items: - type: string - nullable: true - description: Installed device (name) + type: integer + format: int32 explode: true style: form - in: query - name: installed_device__n + name: id__lt schema: type: array items: - type: string - nullable: true - description: Installed device (name) + type: integer + format: int32 explode: true style: form - in: query - name: installed_device_id + name: id__lte schema: type: array items: type: integer - nullable: true - description: Installed device (ID) + format: int32 explode: true style: form - in: query - name: installed_device_id__n + name: id__n schema: type: array items: type: integer - nullable: true - description: Installed device (ID) + format: int32 explode: true style: form - in: query @@ -14283,11 +16629,35 @@ paths: description: Location (ID) explode: true style: form + - in: query + name: mark_connected + schema: + type: boolean - in: query name: modified_by_request schema: type: string format: uuid + - in: query + name: module_id + schema: + type: array + items: + type: integer + nullable: true + description: Module (ID) + explode: true + style: form + - in: query + name: module_id__n + schema: + type: array + items: + type: integer + nullable: true + description: Module (ID) + explode: true + style: form - in: query name: name schema: @@ -14372,6 +16742,10 @@ paths: type: string explode: true style: form + - in: query + name: occupied + schema: + type: boolean - name: offset required: false in: query @@ -14430,8 +16804,7 @@ paths: schema: type: array items: - type: integer - description: Region (slug) + type: string explode: true style: form - in: query @@ -14439,8 +16812,7 @@ paths: schema: type: array items: - type: integer - description: Region (slug) + type: string explode: true style: form - in: query @@ -14448,8 +16820,7 @@ paths: schema: type: array items: - type: integer - description: Region (ID) + type: string explode: true style: form - in: query @@ -14457,132 +16828,660 @@ paths: schema: type: array items: - type: integer - description: Region (ID) + type: string explode: true style: form - in: query - name: role + name: site schema: type: array items: type: string - description: Device role (slug) + description: Site name (slug) explode: true style: form - in: query - name: role__n + name: site__n schema: type: array items: type: string - description: Device role (slug) + description: Site name (slug) explode: true style: form - in: query - name: role_id + name: site_group schema: type: array items: - type: integer - description: Device role (ID) + type: string explode: true style: form - in: query - name: role_id__n + name: site_group__n schema: type: array items: - type: integer - description: Device role (ID) + type: string explode: true style: form - in: query - name: site + name: site_group_id schema: type: array items: type: string - description: Site name (slug) explode: true style: form - in: query - name: site__n + name: site_group_id__n schema: type: array items: type: string - description: Site name (slug) explode: true style: form - in: query - name: site_group + name: site_id schema: type: array items: type: integer - description: Site group (slug) + description: Site (ID) explode: true style: form - in: query - name: site_group__n + name: site_id__n schema: type: array items: type: integer - description: Site group (slug) + description: Site (ID) explode: true style: form - in: query - name: site_group_id + name: speed + schema: + type: integer + x-spec-enum-id: ab6d9635c131a378 + nullable: true + enum: + - 115200 + - 1200 + - 19200 + - 2400 + - 38400 + - 4800 + - 57600 + - 9600 + description: 'Port speed in bits per second + + + * `1200` - 1200 bps + + * `2400` - 2400 bps + + * `4800` - 4800 bps + + * `9600` - 9600 bps + + * `19200` - 19.2 kbps + + * `38400` - 38.4 kbps + + * `57600` - 57.6 kbps + + * `115200` - 115.2 kbps' + - in: query + name: tag schema: type: array items: - type: integer - description: Site group (ID) + type: string explode: true style: form - in: query - name: site_group_id__n + name: tag__n schema: type: array items: - type: integer - description: Site group (ID) + type: string explode: true style: form - in: query - name: site_id + name: type schema: type: array items: - type: integer - description: Site (ID) + type: string + x-spec-enum-id: c5f7197b7211818a + description: Physical port type explode: true style: form - in: query - name: site_id__n + name: type__empty + schema: + type: boolean + - in: query + name: type__ic schema: type: array items: - type: integer - description: Site (ID) + type: string + x-spec-enum-id: c5f7197b7211818a + enum: + - '' + - db-25 + - de-9 + - mini-din-8 + - other + - rj-11 + - rj-12 + - rj-45 + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: 'Physical port type + + + * `de-9` - DE-9 + + * `db-25` - DB-25 + + * `rj-11` - RJ-11 + + * `rj-12` - RJ-12 + + * `rj-45` - RJ-45 + + * `mini-din-8` - Mini-DIN 8 + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' explode: true style: form - in: query - name: tag + name: type__ie + schema: + type: array + items: + type: string + x-spec-enum-id: c5f7197b7211818a + enum: + - '' + - db-25 + - de-9 + - mini-din-8 + - other + - rj-11 + - rj-12 + - rj-45 + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: 'Physical port type + + + * `de-9` - DE-9 + + * `db-25` - DB-25 + + * `rj-11` - RJ-11 + + * `rj-12` - RJ-12 + + * `rj-45` - RJ-45 + + * `mini-din-8` - Mini-DIN 8 + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' + explode: true + style: form + - in: query + name: type__iew schema: type: array items: type: string + x-spec-enum-id: c5f7197b7211818a + enum: + - '' + - db-25 + - de-9 + - mini-din-8 + - other + - rj-11 + - rj-12 + - rj-45 + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: 'Physical port type + + + * `de-9` - DE-9 + + * `db-25` - DB-25 + + * `rj-11` - RJ-11 + + * `rj-12` - RJ-12 + + * `rj-45` - RJ-45 + + * `mini-din-8` - Mini-DIN 8 + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' explode: true style: form - in: query - name: tag__n + name: type__isw + schema: + type: array + items: + type: string + x-spec-enum-id: c5f7197b7211818a + enum: + - '' + - db-25 + - de-9 + - mini-din-8 + - other + - rj-11 + - rj-12 + - rj-45 + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: 'Physical port type + + + * `de-9` - DE-9 + + * `db-25` - DB-25 + + * `rj-11` - RJ-11 + + * `rj-12` - RJ-12 + + * `rj-45` - RJ-45 + + * `mini-din-8` - Mini-DIN 8 + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' + explode: true + style: form + - in: query + name: type__n + schema: + type: array + items: + type: string + x-spec-enum-id: c5f7197b7211818a + enum: + - '' + - db-25 + - de-9 + - mini-din-8 + - other + - rj-11 + - rj-12 + - rj-45 + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: 'Physical port type + + + * `de-9` - DE-9 + + * `db-25` - DB-25 + + * `rj-11` - RJ-11 + + * `rj-12` - RJ-12 + + * `rj-45` - RJ-45 + + * `mini-din-8` - Mini-DIN 8 + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' + explode: true + style: form + - in: query + name: type__nic + schema: + type: array + items: + type: string + x-spec-enum-id: c5f7197b7211818a + enum: + - '' + - db-25 + - de-9 + - mini-din-8 + - other + - rj-11 + - rj-12 + - rj-45 + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: 'Physical port type + + + * `de-9` - DE-9 + + * `db-25` - DB-25 + + * `rj-11` - RJ-11 + + * `rj-12` - RJ-12 + + * `rj-45` - RJ-45 + + * `mini-din-8` - Mini-DIN 8 + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' + explode: true + style: form + - in: query + name: type__nie + schema: + type: array + items: + type: string + x-spec-enum-id: c5f7197b7211818a + enum: + - '' + - db-25 + - de-9 + - mini-din-8 + - other + - rj-11 + - rj-12 + - rj-45 + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: 'Physical port type + + + * `de-9` - DE-9 + + * `db-25` - DB-25 + + * `rj-11` - RJ-11 + + * `rj-12` - RJ-12 + + * `rj-45` - RJ-45 + + * `mini-din-8` - Mini-DIN 8 + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' + explode: true + style: form + - in: query + name: type__niew + schema: + type: array + items: + type: string + x-spec-enum-id: c5f7197b7211818a + enum: + - '' + - db-25 + - de-9 + - mini-din-8 + - other + - rj-11 + - rj-12 + - rj-45 + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: 'Physical port type + + + * `de-9` - DE-9 + + * `db-25` - DB-25 + + * `rj-11` - RJ-11 + + * `rj-12` - RJ-12 + + * `rj-45` - RJ-45 + + * `mini-din-8` - Mini-DIN 8 + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' + explode: true + style: form + - in: query + name: type__nisw schema: type: array items: type: string + x-spec-enum-id: c5f7197b7211818a + enum: + - '' + - db-25 + - de-9 + - mini-din-8 + - other + - rj-11 + - rj-12 + - rj-45 + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: 'Physical port type + + + * `de-9` - DE-9 + + * `db-25` - DB-25 + + * `rj-11` - RJ-11 + + * `rj-12` - RJ-12 + + * `rj-45` - RJ-45 + + * `mini-din-8` - Mini-DIN 8 + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' explode: true style: form - in: query @@ -14636,21 +17535,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedDeviceBayList' + $ref: '#/components/schemas/PaginatedConsoleServerPortList' description: '' post: - operationId: dcim_device_bays_create - description: Post a list of device bay objects. + operationId: dcim_console_server_ports_create + description: Post a list of console server port objects. tags: - dcim requestBody: content: application/json: schema: - $ref: '#/components/schemas/DeviceBayRequest' + $ref: '#/components/schemas/WritableConsoleServerPortRequest' multipart/form-data: schema: - $ref: '#/components/schemas/DeviceBayRequest' + $ref: '#/components/schemas/WritableConsoleServerPortRequest' required: true security: - cookieAuth: [] @@ -14660,11 +17559,11 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeviceBay' + $ref: '#/components/schemas/ConsoleServerPort' description: '' put: - operationId: dcim_device_bays_bulk_update - description: Put a list of device bay objects. + operationId: dcim_console_server_ports_bulk_update + description: Put a list of console server port objects. tags: - dcim requestBody: @@ -14673,12 +17572,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/DeviceBayRequest' + $ref: '#/components/schemas/ConsoleServerPortRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/DeviceBayRequest' + $ref: '#/components/schemas/ConsoleServerPortRequest' required: true security: - cookieAuth: [] @@ -14690,11 +17589,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/DeviceBay' + $ref: '#/components/schemas/ConsoleServerPort' description: '' patch: - operationId: dcim_device_bays_bulk_partial_update - description: Patch a list of device bay objects. + operationId: dcim_console_server_ports_bulk_partial_update + description: Patch a list of console server port objects. tags: - dcim requestBody: @@ -14703,12 +17602,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/DeviceBayRequest' + $ref: '#/components/schemas/ConsoleServerPortRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/DeviceBayRequest' + $ref: '#/components/schemas/ConsoleServerPortRequest' required: true security: - cookieAuth: [] @@ -14720,11 +17619,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/DeviceBay' + $ref: '#/components/schemas/ConsoleServerPort' description: '' delete: - operationId: dcim_device_bays_bulk_destroy - description: Delete a list of device bay objects. + operationId: dcim_console_server_ports_bulk_destroy + description: Delete a list of console server port objects. tags: - dcim requestBody: @@ -14733,12 +17632,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/DeviceBayRequest' + $ref: '#/components/schemas/ConsoleServerPortRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/DeviceBayRequest' + $ref: '#/components/schemas/ConsoleServerPortRequest' required: true security: - cookieAuth: [] @@ -14746,16 +17645,16 @@ paths: responses: '204': description: No response body - /api/dcim/device-bays/{id}/: + /api/dcim/console-server-ports/{id}/: get: - operationId: dcim_device_bays_retrieve - description: Get a device bay object. + operationId: dcim_console_server_ports_retrieve + description: Get a console server port object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this device bay. + description: A unique integer value identifying this console server port. required: true tags: - dcim @@ -14767,17 +17666,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeviceBay' + $ref: '#/components/schemas/ConsoleServerPort' description: '' put: - operationId: dcim_device_bays_update - description: Put a device bay object. + operationId: dcim_console_server_ports_update + description: Put a console server port object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this device bay. + description: A unique integer value identifying this console server port. required: true tags: - dcim @@ -14785,10 +17684,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeviceBayRequest' + $ref: '#/components/schemas/WritableConsoleServerPortRequest' multipart/form-data: schema: - $ref: '#/components/schemas/DeviceBayRequest' + $ref: '#/components/schemas/WritableConsoleServerPortRequest' required: true security: - cookieAuth: [] @@ -14798,17 +17697,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeviceBay' + $ref: '#/components/schemas/ConsoleServerPort' description: '' patch: - operationId: dcim_device_bays_partial_update - description: Patch a device bay object. + operationId: dcim_console_server_ports_partial_update + description: Patch a console server port object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this device bay. + description: A unique integer value identifying this console server port. required: true tags: - dcim @@ -14816,10 +17715,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PatchedDeviceBayRequest' + $ref: '#/components/schemas/PatchedWritableConsoleServerPortRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedDeviceBayRequest' + $ref: '#/components/schemas/PatchedWritableConsoleServerPortRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -14828,17 +17727,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeviceBay' + $ref: '#/components/schemas/ConsoleServerPort' description: '' delete: - operationId: dcim_device_bays_destroy - description: Delete a device bay object. + operationId: dcim_console_server_ports_destroy + description: Delete a console server port object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this device bay. + description: A unique integer value identifying this console server port. required: true tags: - dcim @@ -14848,115 +17747,35 @@ paths: responses: '204': description: No response body - /api/dcim/device-roles/: + /api/dcim/console-server-ports/{id}/trace/: get: - operationId: dcim_device_roles_list - description: Get a list of device role objects. + operationId: dcim_console_server_ports_trace_retrieve + description: Trace a complete cable path and return each segment as a three-tuple + of (termination, cable, termination). parameters: - - in: query - name: color - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: color__empty - schema: - type: boolean - - in: query - name: color__ic - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: color__ie - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: color__iew - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: color__isw - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: color__n - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: color__nic - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: color__nie - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: color__niew - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: color__nisw - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: config_template_id - schema: - type: array - items: - type: integer - nullable: true - description: Config template (ID) - explode: true - style: form - - in: query - name: config_template_id__n + - in: path + name: id schema: - type: array - items: - type: integer - nullable: true - description: Config template (ID) - explode: true - style: form + type: integer + description: A unique integer value identifying this console server port. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/ConsoleServerPort' + description: '' + /api/dcim/device-bay-templates/: + get: + operationId: dcim_device_bay_templates_list + description: Get a list of device bay template objects. + parameters: - in: query name: created schema: @@ -15109,6 +17928,24 @@ paths: type: string explode: true style: form + - in: query + name: device_type_id + schema: + type: array + items: + type: integer + description: Device type (ID) + explode: true + style: form + - in: query + name: device_type_id__n + schema: + type: array + items: + type: integer + description: Device type (ID) + explode: true + style: form - in: query name: id schema: @@ -15168,81 +18005,67 @@ paths: explode: true style: form - in: query - name: last_updated + name: label schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__empty + name: label__empty + schema: + type: boolean + - in: query + name: label__ic schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__gt + name: label__ie schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__gte + name: label__iew schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__lt + name: label__isw schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__lte + name: label__n schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__n + name: label__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: modified_by_request - schema: - type: string - format: uuid - - in: query - name: name + name: label__nie schema: type: array items: @@ -15250,11 +18073,7 @@ paths: explode: true style: form - in: query - name: name__empty - schema: - type: boolean - - in: query - name: name__ic + name: label__niew schema: type: array items: @@ -15262,7 +18081,7 @@ paths: explode: true style: form - in: query - name: name__ie + name: label__nisw schema: type: array items: @@ -15270,80 +18089,81 @@ paths: explode: true style: form - in: query - name: name__iew + name: last_updated schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: name__isw + name: last_updated__empty schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: name__n + name: last_updated__gt schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: name__nic + name: last_updated__gte schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: name__nie + name: last_updated__lt schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: name__niew + name: last_updated__lte schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: name__nisw + name: last_updated__n schema: type: array items: type: string + format: date-time explode: true style: form - - name: offset + - 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 - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - in: query - name: q + name: modified_by_request schema: type: string - description: Search + format: uuid - in: query - name: slug + name: name schema: type: array items: @@ -15351,11 +18171,11 @@ paths: explode: true style: form - in: query - name: slug__empty + name: name__empty schema: type: boolean - in: query - name: slug__ic + name: name__ic schema: type: array items: @@ -15363,7 +18183,7 @@ paths: explode: true style: form - in: query - name: slug__ie + name: name__ie schema: type: array items: @@ -15371,7 +18191,7 @@ paths: explode: true style: form - in: query - name: slug__iew + name: name__iew schema: type: array items: @@ -15379,7 +18199,7 @@ paths: explode: true style: form - in: query - name: slug__isw + name: name__isw schema: type: array items: @@ -15387,7 +18207,7 @@ paths: explode: true style: form - in: query - name: slug__n + name: name__n schema: type: array items: @@ -15395,7 +18215,7 @@ paths: explode: true style: form - in: query - name: slug__nic + name: name__nic schema: type: array items: @@ -15403,7 +18223,7 @@ paths: explode: true style: form - in: query - name: slug__nie + name: name__nie schema: type: array items: @@ -15411,7 +18231,7 @@ paths: explode: true style: form - in: query - name: slug__niew + name: name__niew schema: type: array items: @@ -15419,38 +18239,35 @@ paths: explode: true style: form - in: query - name: slug__nisw + name: name__nisw schema: type: array items: type: string explode: true style: form - - in: query - name: tag + - 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 + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string - in: query - name: tag__n + name: q schema: - type: array - items: - type: string - explode: true - style: form + type: string + description: Search - in: query name: updated_by_request schema: type: string format: uuid - - in: query - name: vm_role - schema: - type: boolean tags: - dcim security: @@ -15461,21 +18278,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedDeviceRoleList' + $ref: '#/components/schemas/PaginatedDeviceBayTemplateList' description: '' post: - operationId: dcim_device_roles_create - description: Post a list of device role objects. + operationId: dcim_device_bay_templates_create + description: Post a list of device bay template objects. tags: - dcim requestBody: content: application/json: schema: - $ref: '#/components/schemas/DeviceRoleRequest' + $ref: '#/components/schemas/DeviceBayTemplateRequest' multipart/form-data: schema: - $ref: '#/components/schemas/DeviceRoleRequest' + $ref: '#/components/schemas/DeviceBayTemplateRequest' required: true security: - cookieAuth: [] @@ -15485,11 +18302,11 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeviceRole' + $ref: '#/components/schemas/DeviceBayTemplate' description: '' put: - operationId: dcim_device_roles_bulk_update - description: Put a list of device role objects. + operationId: dcim_device_bay_templates_bulk_update + description: Put a list of device bay template objects. tags: - dcim requestBody: @@ -15498,12 +18315,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/DeviceRoleRequest' + $ref: '#/components/schemas/DeviceBayTemplateRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/DeviceRoleRequest' + $ref: '#/components/schemas/DeviceBayTemplateRequest' required: true security: - cookieAuth: [] @@ -15515,11 +18332,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/DeviceRole' + $ref: '#/components/schemas/DeviceBayTemplate' description: '' patch: - operationId: dcim_device_roles_bulk_partial_update - description: Patch a list of device role objects. + operationId: dcim_device_bay_templates_bulk_partial_update + description: Patch a list of device bay template objects. tags: - dcim requestBody: @@ -15528,12 +18345,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/DeviceRoleRequest' + $ref: '#/components/schemas/DeviceBayTemplateRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/DeviceRoleRequest' + $ref: '#/components/schemas/DeviceBayTemplateRequest' required: true security: - cookieAuth: [] @@ -15545,11 +18362,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/DeviceRole' + $ref: '#/components/schemas/DeviceBayTemplate' description: '' delete: - operationId: dcim_device_roles_bulk_destroy - description: Delete a list of device role objects. + operationId: dcim_device_bay_templates_bulk_destroy + description: Delete a list of device bay template objects. tags: - dcim requestBody: @@ -15558,12 +18375,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/DeviceRoleRequest' + $ref: '#/components/schemas/DeviceBayTemplateRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/DeviceRoleRequest' + $ref: '#/components/schemas/DeviceBayTemplateRequest' required: true security: - cookieAuth: [] @@ -15571,16 +18388,16 @@ paths: responses: '204': description: No response body - /api/dcim/device-roles/{id}/: + /api/dcim/device-bay-templates/{id}/: get: - operationId: dcim_device_roles_retrieve - description: Get a device role object. + operationId: dcim_device_bay_templates_retrieve + description: Get a device bay template object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this device role. + description: A unique integer value identifying this device bay template. required: true tags: - dcim @@ -15592,17 +18409,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeviceRole' + $ref: '#/components/schemas/DeviceBayTemplate' description: '' put: - operationId: dcim_device_roles_update - description: Put a device role object. + operationId: dcim_device_bay_templates_update + description: Put a device bay template object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this device role. + description: A unique integer value identifying this device bay template. required: true tags: - dcim @@ -15610,10 +18427,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeviceRoleRequest' + $ref: '#/components/schemas/DeviceBayTemplateRequest' multipart/form-data: schema: - $ref: '#/components/schemas/DeviceRoleRequest' + $ref: '#/components/schemas/DeviceBayTemplateRequest' required: true security: - cookieAuth: [] @@ -15623,17 +18440,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeviceRole' + $ref: '#/components/schemas/DeviceBayTemplate' description: '' patch: - operationId: dcim_device_roles_partial_update - description: Patch a device role object. + operationId: dcim_device_bay_templates_partial_update + description: Patch a device bay template object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this device role. + description: A unique integer value identifying this device bay template. required: true tags: - dcim @@ -15641,10 +18458,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PatchedDeviceRoleRequest' + $ref: '#/components/schemas/PatchedDeviceBayTemplateRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedDeviceRoleRequest' + $ref: '#/components/schemas/PatchedDeviceBayTemplateRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -15653,17 +18470,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeviceRole' + $ref: '#/components/schemas/DeviceBayTemplate' description: '' delete: - operationId: dcim_device_roles_destroy - description: Delete a device role object. + operationId: dcim_device_bay_templates_destroy + description: Delete a device bay template object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this device role. + description: A unique integer value identifying this device bay template. required: true tags: - dcim @@ -15673,448 +18490,558 @@ paths: responses: '204': description: No response body - /api/dcim/device-types/: + /api/dcim/device-bays/: get: - operationId: dcim_device_types_list - description: Get a list of device type objects. + operationId: dcim_device_bays_list + description: Get a list of device bay objects. parameters: - in: query - name: airflow - schema: - type: string - x-spec-enum-id: 58e389e240a5e53d - enum: - - front-to-rear - - left-to-right - - mixed - - passive - - rear-to-front - - right-to-left - - side-to-rear - description: '* `front-to-rear` - Front to rear - - * `rear-to-front` - Rear to front - - * `left-to-right` - Left to right - - * `right-to-left` - Right to left - - * `side-to-rear` - Side to rear - - * `passive` - Passive - - * `mixed` - Mixed' - - in: query - name: airflow__n - schema: - type: string - x-spec-enum-id: 58e389e240a5e53d - enum: - - front-to-rear - - left-to-right - - mixed - - passive - - rear-to-front - - right-to-left - - side-to-rear - description: '* `front-to-rear` - Front to rear - - * `rear-to-front` - Rear to front - - * `left-to-right` - Left to right - - * `right-to-left` - Right to left - - * `side-to-rear` - Side to rear - - * `passive` - Passive - - * `mixed` - Mixed' - - in: query - name: console_port_template_count + name: created schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: console_port_template_count__empty + name: created__empty schema: - type: boolean + type: array + items: + type: string + format: date-time + explode: true + style: form - in: query - name: console_port_template_count__gt + name: created__gt schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: console_port_template_count__gte + name: created__gte schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: console_port_template_count__lt + name: created__lt schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: console_port_template_count__lte + name: created__lte schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: console_port_template_count__n + name: created__n schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: console_ports + name: created_by_request schema: - type: boolean - description: Has console ports + type: string + format: uuid - in: query - name: console_server_port_template_count + name: description schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: console_server_port_template_count__empty + name: description__empty schema: type: boolean - in: query - name: console_server_port_template_count__gt + name: description__ic schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: console_server_port_template_count__gte + name: description__ie schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: console_server_port_template_count__lt + name: description__iew schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: console_server_port_template_count__lte + name: description__isw schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: console_server_port_template_count__n + name: description__n schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: console_server_ports - schema: - type: boolean - description: Has console server ports - - in: query - name: created + name: description__nic schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__empty + name: description__nie schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__gt + name: description__niew schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__gte + name: description__nisw schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__lt + name: device schema: type: array items: type: string - format: date-time + nullable: true + description: Device (name) explode: true style: form - in: query - name: created__lte + name: device__n schema: type: array items: type: string - format: date-time + nullable: true + description: Device (name) explode: true style: form - in: query - name: created__n + name: device_id schema: type: array items: - type: string - format: date-time + type: integer + description: Device (ID) explode: true style: form - in: query - name: created_by_request + name: device_id__n schema: - type: string - format: uuid + type: array + items: + type: integer + description: Device (ID) + explode: true + style: form - in: query - name: default_platform + name: device_role schema: type: array items: type: string - description: Default platform (slug) + description: Device role (slug) explode: true style: form - in: query - name: default_platform__n + name: device_role__n schema: type: array items: type: string - description: Default platform (slug) + description: Device role (slug) explode: true style: form - in: query - name: default_platform_id + name: device_role_id schema: type: array items: type: integer - nullable: true - description: Default platform (ID) + description: Device role (ID) explode: true style: form - in: query - name: default_platform_id__n + name: device_role_id__n schema: type: array items: type: integer - nullable: true - description: Default platform (ID) + description: Device role (ID) explode: true style: form - in: query - name: description + name: device_status schema: type: array items: type: string + x-spec-enum-id: 8d8971779f16ee18 explode: true style: form - in: query - name: description__empty + name: device_status__empty schema: type: boolean - in: query - name: description__ic + name: device_status__ic schema: type: array items: type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: description__ie + name: device_status__ie schema: type: array items: type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: description__iew + name: device_status__iew schema: type: array items: type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: description__isw + name: device_status__isw schema: type: array items: type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: description__n + name: device_status__n schema: type: array items: type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: description__nic + name: device_status__nic schema: type: array items: type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: description__nie - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: description__niew + name: device_status__nie schema: type: array items: type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: description__nisw + name: device_status__niew schema: type: array items: type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: device_bay_template_count - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: device_bay_template_count__empty - schema: - type: boolean - - in: query - name: device_bay_template_count__gt + name: device_status__nisw schema: type: array items: - type: integer - format: int32 + type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: device_bay_template_count__gte + name: device_type schema: type: array items: - type: integer - format: int32 + type: string + description: Device type (model) explode: true style: form - in: query - name: device_bay_template_count__lt + name: device_type__n schema: type: array items: - type: integer - format: int32 + type: string + description: Device type (model) explode: true style: form - in: query - name: device_bay_template_count__lte + name: device_type_id schema: type: array items: type: integer - format: int32 + description: Device type (ID) explode: true style: form - in: query - name: device_bay_template_count__n + name: device_type_id__n schema: type: array items: type: integer - format: int32 + description: Device type (ID) explode: true style: form - in: query - name: device_bays - schema: - type: boolean - description: Has device bays - - in: query - name: exclude_from_utilization - schema: - type: boolean - - in: query - name: front_port_template_count + name: id schema: type: array items: @@ -16123,29 +19050,11 @@ paths: explode: true style: form - in: query - name: front_port_template_count__empty + name: id__empty schema: type: boolean - in: query - name: front_port_template_count__gt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: front_port_template_count__gte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: front_port_template_count__lt + name: id__gt schema: type: array items: @@ -16154,7 +19063,7 @@ paths: explode: true style: form - in: query - name: front_port_template_count__lte + name: id__gte schema: type: array items: @@ -16163,7 +19072,7 @@ paths: explode: true style: form - in: query - name: front_port_template_count__n + name: id__lt schema: type: array items: @@ -16172,17 +19081,7 @@ paths: explode: true style: form - in: query - name: has_front_image - schema: - type: boolean - description: Has a front image - - in: query - name: has_rear_image - schema: - type: boolean - description: Has a rear image - - in: query - name: id + name: id__lte schema: type: array items: @@ -16191,11 +19090,7 @@ paths: explode: true style: form - in: query - name: id__empty - schema: - type: boolean - - in: query - name: id__gt + name: id__n schema: type: array items: @@ -16204,171 +19099,129 @@ paths: explode: true style: form - in: query - name: id__gte + name: installed_device schema: type: array items: - type: integer - format: int32 + type: string + nullable: true + description: Installed device (name) explode: true style: form - in: query - name: id__lt + name: installed_device__n schema: type: array items: - type: integer - format: int32 + type: string + nullable: true + description: Installed device (name) explode: true style: form - in: query - name: id__lte + name: installed_device_id schema: type: array items: type: integer - format: int32 + nullable: true + description: Installed device (ID) explode: true style: form - in: query - name: id__n + name: installed_device_id__n schema: type: array items: type: integer - format: int32 + nullable: true + description: Installed device (ID) explode: true style: form - in: query - name: interface_template_count + name: label schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: interface_template_count__empty + name: label__empty schema: type: boolean - in: query - name: interface_template_count__gt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: interface_template_count__gte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: interface_template_count__lt + name: label__ic schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: interface_template_count__lte + name: label__ie schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: interface_template_count__n + name: label__iew schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: interfaces - schema: - type: boolean - description: Has interfaces - - in: query - name: inventory_item_template_count + name: label__isw schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: inventory_item_template_count__empty - schema: - type: boolean - - in: query - name: inventory_item_template_count__gt + name: label__n schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: inventory_item_template_count__gte + name: label__nic schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: inventory_item_template_count__lt + name: label__nie schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: inventory_item_template_count__lte + name: label__niew schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: inventory_item_template_count__n + name: label__nisw schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - - in: query - name: inventory_items - schema: - type: boolean - description: Has inventory items - - in: query - name: is_full_depth - schema: - type: boolean - in: query name: last_updated schema: @@ -16439,43 +19292,48 @@ paths: schema: type: integer - in: query - name: manufacturer + name: location schema: type: array items: type: string - description: Manufacturer (slug) + description: Location (slug) explode: true style: form - in: query - name: manufacturer__n + name: location__n schema: type: array items: type: string - description: Manufacturer (slug) + description: Location (slug) explode: true style: form - in: query - name: manufacturer_id + name: location_id schema: type: array items: type: integer - description: Manufacturer (ID) + description: Location (ID) explode: true style: form - in: query - name: manufacturer_id__n + name: location_id__n schema: type: array items: type: integer - description: Manufacturer (ID) + description: Location (ID) explode: true style: form - in: query - name: model + name: modified_by_request + schema: + type: string + format: uuid + - in: query + name: name schema: type: array items: @@ -16483,11 +19341,11 @@ paths: explode: true style: form - in: query - name: model__empty + name: name__empty schema: type: boolean - in: query - name: model__ic + name: name__ic schema: type: array items: @@ -16495,7 +19353,7 @@ paths: explode: true style: form - in: query - name: model__ie + name: name__ie schema: type: array items: @@ -16503,7 +19361,7 @@ paths: explode: true style: form - in: query - name: model__iew + name: name__iew schema: type: array items: @@ -16511,7 +19369,7 @@ paths: explode: true style: form - in: query - name: model__isw + name: name__isw schema: type: array items: @@ -16519,7 +19377,7 @@ paths: explode: true style: form - in: query - name: model__n + name: name__n schema: type: array items: @@ -16527,7 +19385,7 @@ paths: explode: true style: form - in: query - name: model__nic + name: name__nic schema: type: array items: @@ -16535,7 +19393,7 @@ paths: explode: true style: form - in: query - name: model__nie + name: name__nie schema: type: array items: @@ -16543,7 +19401,7 @@ paths: explode: true style: form - in: query - name: model__niew + name: name__niew schema: type: array items: @@ -16551,81 +19409,13 @@ paths: explode: true style: form - in: query - name: model__nisw + name: name__nisw schema: type: array items: type: string explode: true style: form - - in: query - name: modified_by_request - schema: - type: string - format: uuid - - in: query - name: module_bay_template_count - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: module_bay_template_count__empty - schema: - type: boolean - - in: query - name: module_bay_template_count__gt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: module_bay_template_count__gte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: module_bay_template_count__lt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: module_bay_template_count__lte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: module_bay_template_count__n - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: module_bays - schema: - type: boolean - description: Has module bays - name: offset required: false in: query @@ -16638,286 +19428,65 @@ paths: description: Which field to use when ordering the results. schema: type: string - - in: query - name: part_number - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: part_number__empty - schema: - type: boolean - - 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__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__nisw - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: pass_through_ports - schema: - type: boolean - description: Has pass-through ports - - in: query - name: power_outlet_template_count - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: power_outlet_template_count__empty - schema: - type: boolean - - in: query - name: power_outlet_template_count__gt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: power_outlet_template_count__gte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: power_outlet_template_count__lt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: power_outlet_template_count__lte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: power_outlet_template_count__n - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: power_outlets - schema: - type: boolean - description: Has power outlets - - in: query - name: power_port_template_count - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: power_port_template_count__empty - schema: - type: boolean - - in: query - name: power_port_template_count__gt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: power_port_template_count__gte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: power_port_template_count__lt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: power_port_template_count__lte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: power_port_template_count__n - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: power_ports - schema: - type: boolean - description: Has power ports - in: query name: q schema: type: string description: Search - in: query - name: rear_port_template_count + name: rack schema: type: array items: - type: integer - format: int32 + type: string + description: Rack (name) explode: true style: form - in: query - name: rear_port_template_count__empty - schema: - type: boolean - - in: query - name: rear_port_template_count__gt + name: rack__n schema: type: array items: - type: integer - format: int32 + type: string + description: Rack (name) explode: true style: form - in: query - name: rear_port_template_count__gte + name: rack_id schema: type: array items: type: integer - format: int32 + description: Rack (ID) explode: true style: form - in: query - name: rear_port_template_count__lt + name: rack_id__n schema: type: array items: type: integer - format: int32 + description: Rack (ID) explode: true style: form - in: query - name: rear_port_template_count__lte + name: region schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: rear_port_template_count__n + name: region__n schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: slug + name: region_id schema: type: array items: @@ -16925,11 +19494,7 @@ paths: explode: true style: form - in: query - name: slug__empty - schema: - type: boolean - - in: query - name: slug__ic + name: region_id__n schema: type: array items: @@ -16937,23 +19502,25 @@ paths: explode: true style: form - in: query - name: slug__ie + name: site schema: type: array items: type: string + description: Site name (slug) explode: true style: form - in: query - name: slug__iew + name: site__n schema: type: array items: type: string + description: Site name (slug) explode: true style: form - in: query - name: slug__isw + name: site_group schema: type: array items: @@ -16961,7 +19528,7 @@ paths: explode: true style: form - in: query - name: slug__n + name: site_group__n schema: type: array items: @@ -16969,7 +19536,7 @@ paths: explode: true style: form - in: query - name: slug__nic + name: site_group_id schema: type: array items: @@ -16977,7 +19544,7 @@ paths: explode: true style: form - in: query - name: slug__nie + name: site_group_id__n schema: type: array items: @@ -16985,53 +19552,23 @@ paths: explode: true style: form - in: query - name: slug__niew + name: site_id schema: type: array items: - type: string + type: integer + description: Site (ID) explode: true style: form - in: query - name: slug__nisw + name: site_id__n schema: type: array items: - type: string + type: integer + description: Site (ID) explode: true style: form - - in: query - name: subdevice_role - schema: - type: string - x-spec-enum-id: d10d91f690a856c2 - title: Parent/child status - enum: - - child - - parent - description: 'Parent devices house child devices in device bays. Leave blank - if this device type is neither a parent nor a child. - - - * `parent` - Parent - - * `child` - Child' - - in: query - name: subdevice_role__n - schema: - type: string - x-spec-enum-id: d10d91f690a856c2 - title: Parent/child status - enum: - - child - - parent - description: 'Parent devices house child devices in device bays. Leave blank - if this device type is neither a parent nor a child. - - - * `parent` - Parent - - * `child` - Child' - in: query name: tag schema: @@ -17048,161 +19585,47 @@ paths: type: string explode: true style: form - - in: query - name: u_height - schema: - type: array - items: - type: number - format: double - explode: true - style: form - - in: query - name: u_height__empty - schema: - type: boolean - - in: query - name: u_height__gt - schema: - type: array - items: - type: number - format: double - explode: true - style: form - - in: query - name: u_height__gte - schema: - type: array - items: - type: number - format: double - explode: true - style: form - - in: query - name: u_height__lt - schema: - type: array - items: - type: number - format: double - explode: true - style: form - - in: query - name: u_height__lte - schema: - type: array - items: - type: number - format: double - explode: true - style: form - - in: query - name: u_height__n - schema: - type: array - items: - type: number - format: double - explode: true - style: form - in: query name: updated_by_request schema: type: string format: uuid - in: query - name: weight - schema: - type: array - items: - type: number - format: double - explode: true - style: form - - in: query - name: weight__empty - schema: - type: boolean - - in: query - name: weight__gt - schema: - type: array - items: - type: number - format: double - explode: true - style: form - - in: query - name: weight__gte + name: virtual_chassis schema: type: array items: - type: number - format: double + type: string + description: Virtual Chassis explode: true style: form - in: query - name: weight__lt + name: virtual_chassis__n schema: type: array items: - type: number - format: double + type: string + description: Virtual Chassis explode: true style: form - in: query - name: weight__lte + name: virtual_chassis_id schema: type: array items: - type: number - format: double + type: integer + description: Virtual Chassis (ID) explode: true style: form - in: query - name: weight__n + name: virtual_chassis_id__n schema: type: array items: - type: number - format: double + type: integer + description: Virtual Chassis (ID) explode: true style: form - - in: query - name: weight_unit - schema: - type: string - x-spec-enum-id: 7c1876f422815884 - enum: - - g - - kg - - lb - - oz - description: '* `kg` - Kilograms - - * `g` - Grams - - * `lb` - Pounds - - * `oz` - Ounces' - - in: query - name: weight_unit__n - schema: - type: string - x-spec-enum-id: 7c1876f422815884 - enum: - - g - - kg - - lb - - oz - description: '* `kg` - Kilograms - - * `g` - Grams - - * `lb` - Pounds - - * `oz` - Ounces' tags: - dcim security: @@ -17213,21 +19636,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedDeviceTypeList' + $ref: '#/components/schemas/PaginatedDeviceBayList' description: '' post: - operationId: dcim_device_types_create - description: Post a list of device type objects. + operationId: dcim_device_bays_create + description: Post a list of device bay objects. tags: - dcim requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableDeviceTypeRequest' + $ref: '#/components/schemas/DeviceBayRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableDeviceTypeRequest' + $ref: '#/components/schemas/DeviceBayRequest' required: true security: - cookieAuth: [] @@ -17237,11 +19660,11 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeviceType' + $ref: '#/components/schemas/DeviceBay' description: '' put: - operationId: dcim_device_types_bulk_update - description: Put a list of device type objects. + operationId: dcim_device_bays_bulk_update + description: Put a list of device bay objects. tags: - dcim requestBody: @@ -17250,12 +19673,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/DeviceTypeRequest' + $ref: '#/components/schemas/DeviceBayRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/DeviceTypeRequest' + $ref: '#/components/schemas/DeviceBayRequest' required: true security: - cookieAuth: [] @@ -17267,11 +19690,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/DeviceType' + $ref: '#/components/schemas/DeviceBay' description: '' patch: - operationId: dcim_device_types_bulk_partial_update - description: Patch a list of device type objects. + operationId: dcim_device_bays_bulk_partial_update + description: Patch a list of device bay objects. tags: - dcim requestBody: @@ -17280,12 +19703,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/DeviceTypeRequest' + $ref: '#/components/schemas/DeviceBayRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/DeviceTypeRequest' + $ref: '#/components/schemas/DeviceBayRequest' required: true security: - cookieAuth: [] @@ -17297,11 +19720,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/DeviceType' + $ref: '#/components/schemas/DeviceBay' description: '' delete: - operationId: dcim_device_types_bulk_destroy - description: Delete a list of device type objects. + operationId: dcim_device_bays_bulk_destroy + description: Delete a list of device bay objects. tags: - dcim requestBody: @@ -17310,12 +19733,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/DeviceTypeRequest' + $ref: '#/components/schemas/DeviceBayRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/DeviceTypeRequest' + $ref: '#/components/schemas/DeviceBayRequest' required: true security: - cookieAuth: [] @@ -17323,16 +19746,16 @@ paths: responses: '204': description: No response body - /api/dcim/device-types/{id}/: + /api/dcim/device-bays/{id}/: get: - operationId: dcim_device_types_retrieve - description: Get a device type object. + operationId: dcim_device_bays_retrieve + description: Get a device bay object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this device type. + description: A unique integer value identifying this device bay. required: true tags: - dcim @@ -17344,17 +19767,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeviceType' + $ref: '#/components/schemas/DeviceBay' description: '' put: - operationId: dcim_device_types_update - description: Put a device type object. + operationId: dcim_device_bays_update + description: Put a device bay object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this device type. + description: A unique integer value identifying this device bay. required: true tags: - dcim @@ -17362,10 +19785,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/WritableDeviceTypeRequest' + $ref: '#/components/schemas/DeviceBayRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableDeviceTypeRequest' + $ref: '#/components/schemas/DeviceBayRequest' required: true security: - cookieAuth: [] @@ -17375,17 +19798,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeviceType' + $ref: '#/components/schemas/DeviceBay' description: '' patch: - operationId: dcim_device_types_partial_update - description: Patch a device type object. + operationId: dcim_device_bays_partial_update + description: Patch a device bay object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this device type. + description: A unique integer value identifying this device bay. required: true tags: - dcim @@ -17393,10 +19816,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PatchedWritableDeviceTypeRequest' + $ref: '#/components/schemas/PatchedDeviceBayRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedWritableDeviceTypeRequest' + $ref: '#/components/schemas/PatchedDeviceBayRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -17405,17 +19828,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeviceType' + $ref: '#/components/schemas/DeviceBay' description: '' delete: - operationId: dcim_device_types_destroy - description: Delete a device type object. + operationId: dcim_device_bays_destroy + description: Delete a device bay object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this device type. + description: A unique integer value identifying this device bay. required: true tags: - dcim @@ -17425,65 +19848,13 @@ paths: responses: '204': description: No response body - /api/dcim/devices/: + /api/dcim/device-roles/: get: - operationId: dcim_devices_list - description: Get a list of device objects. + operationId: dcim_device_roles_list + description: Get a list of device role objects. parameters: - in: query - name: airflow - schema: - type: string - x-spec-enum-id: 58e389e240a5e53d - enum: - - front-to-rear - - left-to-right - - mixed - - passive - - rear-to-front - - right-to-left - - side-to-rear - description: '* `front-to-rear` - Front to rear - - * `rear-to-front` - Rear to front - - * `left-to-right` - Left to right - - * `right-to-left` - Right to left - - * `side-to-rear` - Side to rear - - * `passive` - Passive - - * `mixed` - Mixed' - - in: query - name: airflow__n - schema: - type: string - x-spec-enum-id: 58e389e240a5e53d - enum: - - front-to-rear - - left-to-right - - mixed - - passive - - rear-to-front - - right-to-left - - side-to-rear - description: '* `front-to-rear` - Front to rear - - * `rear-to-front` - Rear to front - - * `left-to-right` - Left to right - - * `right-to-left` - Right to left - - * `side-to-rear` - Side to rear - - * `passive` - Passive - - * `mixed` - Mixed' - - in: query - name: asset_tag + name: color schema: type: array items: @@ -17491,11 +19862,11 @@ paths: explode: true style: form - in: query - name: asset_tag__empty + name: color__empty schema: type: boolean - in: query - name: asset_tag__ic + name: color__ic schema: type: array items: @@ -17503,7 +19874,7 @@ paths: explode: true style: form - in: query - name: asset_tag__ie + name: color__ie schema: type: array items: @@ -17511,7 +19882,7 @@ paths: explode: true style: form - in: query - name: asset_tag__iew + name: color__iew schema: type: array items: @@ -17519,7 +19890,7 @@ paths: explode: true style: form - in: query - name: asset_tag__isw + name: color__isw schema: type: array items: @@ -17527,7 +19898,7 @@ paths: explode: true style: form - in: query - name: asset_tag__n + name: color__n schema: type: array items: @@ -17535,7 +19906,7 @@ paths: explode: true style: form - in: query - name: asset_tag__nic + name: color__nic schema: type: array items: @@ -17543,7 +19914,7 @@ paths: explode: true style: form - in: query - name: asset_tag__nie + name: color__nie schema: type: array items: @@ -17551,7 +19922,7 @@ paths: explode: true style: form - in: query - name: asset_tag__niew + name: color__niew schema: type: array items: @@ -17559,7 +19930,7 @@ paths: explode: true style: form - in: query - name: asset_tag__nisw + name: color__nisw schema: type: array items: @@ -17567,227 +19938,237 @@ paths: explode: true style: form - in: query - name: cluster_id + name: config_template_id schema: type: array items: type: integer nullable: true - description: VM cluster (ID) + description: Config template (ID) explode: true style: form - in: query - name: cluster_id__n + name: config_template_id__n schema: type: array items: type: integer nullable: true - description: VM cluster (ID) + description: Config template (ID) explode: true style: form - in: query - name: config_template_id + name: created schema: type: array items: - type: integer - nullable: true - description: Config template (ID) + type: string + format: date-time explode: true style: form - in: query - name: config_template_id__n + name: created__empty schema: type: array items: - type: integer - nullable: true - description: Config template (ID) + type: string + format: date-time explode: true style: form - in: query - name: console_port_count + name: created__gt schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: console_port_count__empty - schema: - type: boolean - - in: query - name: console_port_count__gt + name: created__gte schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: console_port_count__gte + name: created__lt schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: console_port_count__lt + name: created__lte schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: console_port_count__lte + name: created__n schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: console_port_count__n + name: created_by_request + schema: + type: string + format: uuid + - in: query + name: description schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: console_ports + name: description__empty schema: type: boolean - description: Has console ports - in: query - name: console_server_port_count + name: description__ic schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: console_server_port_count__empty + name: description__ie schema: - type: boolean + type: array + items: + type: string + explode: true + style: form - in: query - name: console_server_port_count__gt + name: description__iew schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: console_server_port_count__gte + name: description__isw schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: console_server_port_count__lt + name: description__n schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: console_server_port_count__lte + name: description__nic schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: console_server_port_count__n + name: description__nie schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: console_server_ports + name: description__niew schema: - type: boolean - description: Has console server ports + type: array + items: + type: string + explode: true + style: form - in: query - name: contact + name: description__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: id schema: type: array items: type: integer - description: Contact + format: int32 explode: true style: form - in: query - name: contact__n + name: id__empty + schema: + type: boolean + - in: query + name: id__gt schema: type: array items: type: integer - description: Contact + format: int32 explode: true style: form - in: query - name: contact_group + name: id__gte schema: type: array items: type: integer - description: Contact group + format: int32 explode: true style: form - in: query - name: contact_group__n + name: id__lt schema: type: array items: type: integer - description: Contact group + format: int32 explode: true style: form - in: query - name: contact_role + name: id__lte schema: type: array items: type: integer - description: Contact Role + format: int32 explode: true style: form - in: query - name: contact_role__n + name: id__n schema: type: array items: type: integer - description: Contact Role + format: int32 explode: true style: form - in: query - name: created + name: last_updated schema: type: array items: @@ -17796,7 +20177,7 @@ paths: explode: true style: form - in: query - name: created__empty + name: last_updated__empty schema: type: array items: @@ -17805,7 +20186,7 @@ paths: explode: true style: form - in: query - name: created__gt + name: last_updated__gt schema: type: array items: @@ -17814,7 +20195,7 @@ paths: explode: true style: form - in: query - name: created__gte + name: last_updated__gte schema: type: array items: @@ -17823,7 +20204,7 @@ paths: explode: true style: form - in: query - name: created__lt + name: last_updated__lt schema: type: array items: @@ -17832,7 +20213,7 @@ paths: explode: true style: form - in: query - name: created__lte + name: last_updated__lte schema: type: array items: @@ -17841,7 +20222,7 @@ paths: explode: true style: form - in: query - name: created__n + name: last_updated__n schema: type: array items: @@ -17849,13 +20230,19 @@ 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: created_by_request + name: modified_by_request schema: type: string format: uuid - in: query - name: description + name: name schema: type: array items: @@ -17863,11 +20250,11 @@ paths: explode: true style: form - in: query - name: description__empty + name: name__empty schema: type: boolean - in: query - name: description__ic + name: name__ic schema: type: array items: @@ -17875,7 +20262,7 @@ paths: explode: true style: form - in: query - name: description__ie + name: name__ie schema: type: array items: @@ -17883,7 +20270,7 @@ paths: explode: true style: form - in: query - name: description__iew + name: name__iew schema: type: array items: @@ -17891,7 +20278,7 @@ paths: explode: true style: form - in: query - name: description__isw + name: name__isw schema: type: array items: @@ -17899,7 +20286,7 @@ paths: explode: true style: form - in: query - name: description__n + name: name__n schema: type: array items: @@ -17907,7 +20294,7 @@ paths: explode: true style: form - in: query - name: description__nic + name: name__nic schema: type: array items: @@ -17915,7 +20302,7 @@ paths: explode: true style: form - in: query - name: description__nie + name: name__nie schema: type: array items: @@ -17923,7 +20310,7 @@ paths: explode: true style: form - in: query - name: description__niew + name: name__niew schema: type: array items: @@ -17931,138 +20318,394 @@ paths: explode: true style: form - in: query - name: description__nisw + name: name__nisw 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 + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string - in: query - name: device_bay_count + name: q + schema: + type: string + description: Search + - in: query + name: slug schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: device_bay_count__empty + name: slug__empty schema: type: boolean - in: query - name: device_bay_count__gt + name: slug__ic schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: device_bay_count__gte + name: slug__ie schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: device_bay_count__lt + name: slug__iew schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: device_bay_count__lte + name: slug__isw schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: device_bay_count__n + name: slug__n schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: device_bays + name: slug__nic schema: - type: boolean - description: Has device bays + type: array + items: + type: string + explode: true + style: form - in: query - name: device_type + name: slug__nie schema: type: array items: type: string - description: Device type (slug) explode: true style: form - in: query - name: device_type__n + name: slug__niew schema: type: array items: type: string - description: Device type (slug) explode: true style: form - in: query - name: device_type_id + name: slug__nisw schema: type: array items: - type: integer - description: Device type (ID) + type: string explode: true style: form - in: query - name: device_type_id__n + name: tag schema: type: array items: - type: integer - description: Device type (ID) + type: string explode: true style: form - in: query - name: face + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: updated_by_request schema: type: string - x-spec-enum-id: d2fb9b3f75158b83 - title: Rack face - enum: - - front - - rear - description: '* `front` - Front - - * `rear` - Rear' + format: uuid + - in: query + name: vm_role + schema: + type: boolean + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/PaginatedDeviceRoleList' + description: '' + post: + operationId: dcim_device_roles_create + description: Post a list of device role objects. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/DeviceRoleRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/DeviceRoleRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json: + schema: + $ref: '#/components/schemas/DeviceRole' + description: '' + put: + operationId: dcim_device_roles_bulk_update + description: Put a list of device role objects. + tags: + - dcim + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/DeviceRoleRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/DeviceRoleRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/DeviceRole' + description: '' + patch: + operationId: dcim_device_roles_bulk_partial_update + description: Patch a list of device role objects. + tags: + - dcim + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/DeviceRoleRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/DeviceRoleRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/DeviceRole' + description: '' + delete: + operationId: dcim_device_roles_bulk_destroy + description: Delete a list of device role objects. + tags: + - dcim + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/DeviceRoleRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/DeviceRoleRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /api/dcim/device-roles/{id}/: + get: + operationId: dcim_device_roles_retrieve + description: Get a device role object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this device role. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/DeviceRole' + description: '' + put: + operationId: dcim_device_roles_update + description: Put a device role object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this device role. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/DeviceRoleRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/DeviceRoleRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/DeviceRole' + description: '' + patch: + operationId: dcim_device_roles_partial_update + description: Patch a device role object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this device role. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedDeviceRoleRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedDeviceRoleRequest' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/DeviceRole' + description: '' + delete: + operationId: dcim_device_roles_destroy + description: Delete a device role object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this device role. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /api/dcim/device-types/: + get: + operationId: dcim_device_types_list + description: Get a list of device type objects. + parameters: - in: query - name: face__n + name: airflow schema: type: string - x-spec-enum-id: d2fb9b3f75158b83 - title: Rack face + x-spec-enum-id: 58e389e240a5e53d enum: - - front - - rear - description: '* `front` - Front + - front-to-rear + - left-to-right + - mixed + - passive + - rear-to-front + - right-to-left + - side-to-rear + description: '* `front-to-rear` - Front to rear - * `rear` - Rear' + * `rear-to-front` - Rear to front + + * `left-to-right` - Left to right + + * `right-to-left` - Right to left + + * `side-to-rear` - Side to rear + + * `passive` - Passive + + * `mixed` - Mixed' - in: query - name: front_port_count + name: console_port_template_count schema: type: array items: @@ -18071,11 +20714,11 @@ paths: explode: true style: form - in: query - name: front_port_count__empty + name: console_port_template_count__empty schema: type: boolean - in: query - name: front_port_count__gt + name: console_port_template_count__gt schema: type: array items: @@ -18084,7 +20727,7 @@ paths: explode: true style: form - in: query - name: front_port_count__gte + name: console_port_template_count__gte schema: type: array items: @@ -18093,7 +20736,7 @@ paths: explode: true style: form - in: query - name: front_port_count__lt + name: console_port_template_count__lt schema: type: array items: @@ -18102,7 +20745,7 @@ paths: explode: true style: form - in: query - name: front_port_count__lte + name: console_port_template_count__lte schema: type: array items: @@ -18111,7 +20754,7 @@ paths: explode: true style: form - in: query - name: front_port_count__n + name: console_port_template_count__n schema: type: array items: @@ -18120,22 +20763,12 @@ paths: explode: true style: form - in: query - name: has_oob_ip - schema: - type: boolean - description: Has an out-of-band IP - - in: query - name: has_primary_ip - schema: - type: boolean - description: Has a primary IP - - in: query - name: has_virtual_device_context + name: console_ports schema: type: boolean - description: Has virtual device context + description: Has console ports - in: query - name: id + name: console_server_port_template_count schema: type: array items: @@ -18144,11 +20777,11 @@ paths: explode: true style: form - in: query - name: id__empty + name: console_server_port_template_count__empty schema: type: boolean - in: query - name: id__gt + name: console_server_port_template_count__gt schema: type: array items: @@ -18157,7 +20790,7 @@ paths: explode: true style: form - in: query - name: id__gte + name: console_server_port_template_count__gte schema: type: array items: @@ -18166,7 +20799,7 @@ paths: explode: true style: form - in: query - name: id__lt + name: console_server_port_template_count__lt schema: type: array items: @@ -18175,7 +20808,7 @@ paths: explode: true style: form - in: query - name: id__lte + name: console_server_port_template_count__lte schema: type: array items: @@ -18184,7 +20817,7 @@ paths: explode: true style: form - in: query - name: id__n + name: console_server_port_template_count__n schema: type: array items: @@ -18193,480 +20826,458 @@ paths: explode: true style: form - in: query - name: interface_count + name: console_server_ports + schema: + type: boolean + description: Has console server ports + - in: query + name: created schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: interface_count__empty - schema: - type: boolean - - in: query - name: interface_count__gt + name: created__empty schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: interface_count__gte + name: created__gt schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: interface_count__lt + name: created__gte schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: interface_count__lte + name: created__lt schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: interface_count__n + name: created__lte schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: interfaces - schema: - type: boolean - description: Has interfaces - - in: query - name: inventory_item_count + name: created__n schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: inventory_item_count__empty + name: created_by_request schema: - type: boolean + type: string + format: uuid - in: query - name: inventory_item_count__gt + name: default_platform schema: type: array items: - type: integer - format: int32 + type: string + description: Default platform (slug) explode: true style: form - in: query - name: inventory_item_count__gte + name: default_platform__n schema: type: array items: - type: integer - format: int32 + type: string + description: Default platform (slug) explode: true style: form - in: query - name: inventory_item_count__lt + name: default_platform_id schema: type: array items: type: integer - format: int32 + nullable: true + description: Default platform (ID) explode: true style: form - in: query - name: inventory_item_count__lte + name: default_platform_id__n schema: type: array items: type: integer - format: int32 + nullable: true + description: Default platform (ID) explode: true style: form - in: query - name: inventory_item_count__n + name: description schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: is_full_depth + name: description__empty schema: type: boolean - description: Is full depth - in: query - name: last_updated + name: description__ic schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__empty + name: description__ie schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__gt + name: description__iew schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__gte + name: description__isw schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__lt + name: description__n schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__lte + name: description__nic schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__n + name: description__nie schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: latitude + name: description__niew schema: type: array items: - type: number - format: double + type: string explode: true style: form - in: query - name: latitude__empty - schema: - type: boolean - - in: query - name: latitude__gt + name: description__nisw schema: type: array items: - type: number - format: double + type: string explode: true style: form - in: query - name: latitude__gte + name: device_bay_template_count schema: type: array items: - type: number - format: double + type: integer + format: int32 explode: true style: form - in: query - name: latitude__lt + name: device_bay_template_count__empty schema: - type: array - items: - type: number - format: double - explode: true - style: form + type: boolean - in: query - name: latitude__lte + name: device_bay_template_count__gt schema: type: array items: - type: number - format: double + type: integer + format: int32 explode: true style: form - in: query - name: latitude__n + name: device_bay_template_count__gte schema: type: array items: - type: number - format: double + type: integer + format: int32 explode: true style: form - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - in: query - name: local_context_data - schema: - type: boolean - description: Has local config context data - in: query - name: location_id + name: device_bay_template_count__lt schema: type: array items: type: integer - description: Location (ID) + format: int32 explode: true style: form - in: query - name: location_id__n + name: device_bay_template_count__lte schema: type: array items: type: integer - description: Location (ID) + format: int32 explode: true style: form - in: query - name: longitude + name: device_bay_template_count__n schema: type: array items: - type: number - format: double + type: integer + format: int32 explode: true style: form - in: query - name: longitude__empty + name: device_bays schema: type: boolean + description: Has device bays - in: query - name: longitude__gt + name: exclude_from_utilization schema: - type: array - items: - type: number - format: double - explode: true - style: form + type: boolean - in: query - name: longitude__gte + name: front_port_template_count schema: type: array items: - type: number - format: double + type: integer + format: int32 explode: true style: form - in: query - name: longitude__lt + name: front_port_template_count__empty schema: - type: array - items: - type: number - format: double - explode: true - style: form + type: boolean - in: query - name: longitude__lte + name: front_port_template_count__gt schema: type: array items: - type: number - format: double + type: integer + format: int32 explode: true style: form - in: query - name: longitude__n + name: front_port_template_count__gte schema: type: array items: - type: number - format: double + type: integer + format: int32 explode: true style: form - in: query - name: mac_address + name: front_port_template_count__lt schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: mac_address__ic + name: front_port_template_count__lte schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: mac_address__ie + name: front_port_template_count__n schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: mac_address__iew + name: has_front_image schema: - type: array - items: - type: string - explode: true - style: form + type: boolean + description: Has a front image - in: query - name: mac_address__isw + name: has_rear_image + schema: + type: boolean + description: Has a rear image + - in: query + name: id schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: mac_address__n + name: id__empty + schema: + type: boolean + - in: query + name: id__gt schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: mac_address__nic + name: id__gte schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: mac_address__nie + name: id__lt schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: mac_address__niew + name: id__lte schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: mac_address__nisw + name: id__n schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: manufacturer + name: interface_template_count schema: type: array items: - type: string - description: Manufacturer (slug) + type: integer + format: int32 explode: true style: form - in: query - name: manufacturer__n + name: interface_template_count__empty + schema: + type: boolean + - in: query + name: interface_template_count__gt schema: type: array items: - type: string - description: Manufacturer (slug) + type: integer + format: int32 explode: true style: form - in: query - name: manufacturer_id + name: interface_template_count__gte schema: type: array items: type: integer - description: Manufacturer (ID) + format: int32 explode: true style: form - in: query - name: manufacturer_id__n + name: interface_template_count__lt schema: type: array items: type: integer - description: Manufacturer (ID) + format: int32 explode: true style: form - in: query - name: model + name: interface_template_count__lte schema: type: array items: - type: string - description: Device model (slug) + type: integer + format: int32 explode: true style: form - in: query - name: model__n + name: interface_template_count__n schema: type: array items: - type: string - description: Device model (slug) + type: integer + format: int32 explode: true style: form - in: query - name: modified_by_request + name: interfaces schema: - type: string - format: uuid + type: boolean + description: Has interfaces - in: query - name: module_bay_count + name: inventory_item_template_count schema: type: array items: @@ -18675,11 +21286,11 @@ paths: explode: true style: form - in: query - name: module_bay_count__empty + name: inventory_item_template_count__empty schema: type: boolean - in: query - name: module_bay_count__gt + name: inventory_item_template_count__gt schema: type: array items: @@ -18688,7 +21299,7 @@ paths: explode: true style: form - in: query - name: module_bay_count__gte + name: inventory_item_template_count__gte schema: type: array items: @@ -18697,7 +21308,7 @@ paths: explode: true style: form - in: query - name: module_bay_count__lt + name: inventory_item_template_count__lt schema: type: array items: @@ -18706,7 +21317,7 @@ paths: explode: true style: form - in: query - name: module_bay_count__lte + name: inventory_item_template_count__lte schema: type: array items: @@ -18715,7 +21326,7 @@ paths: explode: true style: form - in: query - name: module_bay_count__n + name: inventory_item_template_count__n schema: type: array items: @@ -18724,263 +21335,210 @@ paths: explode: true style: form - in: query - name: module_bays + name: inventory_items schema: type: boolean - description: Has module bays - - in: query - name: name - schema: - type: array - items: - type: string - explode: true - style: form + description: Has inventory items - in: query - name: name__empty + name: is_full_depth schema: type: boolean - 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 + name: last_updated schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: name__isw + name: last_updated__empty schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: name__n + name: last_updated__gt schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: name__nic + name: last_updated__gte schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: name__nie + name: last_updated__lt schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: name__niew + name: last_updated__lte schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: name__nisw + name: last_updated__n schema: type: array items: type: string + format: date-time explode: true style: form - - name: offset + - 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: oob_ip_id - schema: - type: array - items: - type: integer - description: OOB IP (ID) - explode: true - style: form - - in: query - name: oob_ip_id__n + name: manufacturer schema: type: array items: - type: integer - description: OOB IP (ID) + type: string + description: Manufacturer (slug) explode: true style: form - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - in: query - name: parent_bay_id + name: manufacturer__n schema: type: array items: - type: integer - description: Parent bay (ID) + type: string + description: Manufacturer (slug) explode: true style: form - in: query - name: parent_bay_id__n + name: manufacturer_id schema: type: array items: type: integer - description: Parent bay (ID) + description: Manufacturer (ID) explode: true style: form - in: query - name: parent_device_id + name: manufacturer_id__n schema: type: array items: type: integer - description: Parent Device (ID) + description: Manufacturer (ID) explode: true style: form - in: query - name: parent_device_id__n + name: model schema: type: array items: - type: integer - description: Parent Device (ID) + type: string explode: true style: form - in: query - name: pass_through_ports + name: model__empty schema: type: boolean - description: Has pass-through ports - in: query - name: platform + name: model__ic schema: type: array items: type: string - description: Platform (slug) explode: true style: form - in: query - name: platform__n + name: model__ie schema: type: array items: type: string - description: Platform (slug) explode: true style: form - in: query - name: platform_id + name: model__iew schema: type: array items: - type: integer - nullable: true - description: Platform (ID) + type: string explode: true style: form - in: query - name: platform_id__n + name: model__isw schema: type: array items: - type: integer - nullable: true - description: Platform (ID) + type: string explode: true style: form - in: query - name: position + name: model__n schema: type: array items: - type: number - format: double + type: string explode: true style: form - in: query - name: position__empty - schema: - type: boolean - - in: query - name: position__gt + name: model__nic schema: type: array items: - type: number - format: double + type: string explode: true style: form - in: query - name: position__gte + name: model__nie schema: type: array items: - type: number - format: double + type: string explode: true style: form - in: query - name: position__lt + name: model__niew schema: type: array items: - type: number - format: double + type: string explode: true style: form - in: query - name: position__lte + name: model__nisw schema: type: array items: - type: number - format: double + type: string explode: true style: form - in: query - name: position__n + name: modified_by_request schema: - type: array - items: - type: number - format: double - explode: true - style: form + type: string + format: uuid - in: query - name: power_outlet_count + name: module_bay_template_count schema: type: array items: @@ -18989,11 +21547,11 @@ paths: explode: true style: form - in: query - name: power_outlet_count__empty + name: module_bay_template_count__empty schema: type: boolean - in: query - name: power_outlet_count__gt + name: module_bay_template_count__gt schema: type: array items: @@ -19002,7 +21560,7 @@ paths: explode: true style: form - in: query - name: power_outlet_count__gte + name: module_bay_template_count__gte schema: type: array items: @@ -19011,7 +21569,7 @@ paths: explode: true style: form - in: query - name: power_outlet_count__lt + name: module_bay_template_count__lt schema: type: array items: @@ -19020,7 +21578,7 @@ paths: explode: true style: form - in: query - name: power_outlet_count__lte + name: module_bay_template_count__lte schema: type: array items: @@ -19029,7 +21587,7 @@ paths: explode: true style: form - in: query - name: power_outlet_count__n + name: module_bay_template_count__n schema: type: array items: @@ -19038,134 +21596,113 @@ paths: explode: true style: form - in: query - name: power_outlets + name: module_bays schema: type: boolean - description: Has power outlets - - in: query - name: power_port_count - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: power_port_count__empty + description: Has module bays + - name: offset + required: false + in: query + description: The initial index from which to return the results. schema: - type: boolean + type: integer + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string - in: query - name: power_port_count__gt + name: part_number schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: power_port_count__gte + name: part_number__empty schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form + type: boolean - in: query - name: power_port_count__lt + name: part_number__ic schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: power_port_count__lte + name: part_number__ie schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: power_port_count__n + name: part_number__iew schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: power_ports - schema: - type: boolean - description: Has power ports - - in: query - name: primary_ip4_id + name: part_number__isw schema: type: array items: - type: integer - description: Primary IPv4 (ID) + type: string explode: true style: form - in: query - name: primary_ip4_id__n + name: part_number__n schema: type: array items: - type: integer - description: Primary IPv4 (ID) + type: string explode: true style: form - in: query - name: primary_ip6_id + name: part_number__nic schema: type: array items: - type: integer - description: Primary IPv6 (ID) + type: string explode: true style: form - in: query - name: primary_ip6_id__n + name: part_number__nie schema: type: array items: - type: integer - description: Primary IPv6 (ID) + type: string explode: true style: form - in: query - name: q - schema: - type: string - description: Search - - in: query - name: rack_id + name: part_number__niew schema: type: array items: - type: integer - description: Rack (ID) + type: string explode: true style: form - in: query - name: rack_id__n + name: part_number__nisw schema: type: array items: - type: integer - description: Rack (ID) + type: string explode: true style: form - in: query - name: rear_port_count + name: pass_through_ports + schema: + type: boolean + description: Has pass-through ports + - in: query + name: power_outlet_template_count schema: type: array items: @@ -19174,11 +21711,11 @@ paths: explode: true style: form - in: query - name: rear_port_count__empty + name: power_outlet_template_count__empty schema: type: boolean - in: query - name: rear_port_count__gt + name: power_outlet_template_count__gt schema: type: array items: @@ -19187,7 +21724,7 @@ paths: explode: true style: form - in: query - name: rear_port_count__gte + name: power_outlet_template_count__gte schema: type: array items: @@ -19196,7 +21733,7 @@ paths: explode: true style: form - in: query - name: rear_port_count__lt + name: power_outlet_template_count__lt schema: type: array items: @@ -19205,7 +21742,7 @@ paths: explode: true style: form - in: query - name: rear_port_count__lte + name: power_outlet_template_count__lte schema: type: array items: @@ -19214,7 +21751,7 @@ paths: explode: true style: form - in: query - name: rear_port_count__n + name: power_outlet_template_count__n schema: type: array items: @@ -19223,253 +21760,166 @@ paths: explode: true style: form - in: query - name: region + name: power_outlets schema: - type: array - items: - type: integer - description: Region (slug) - explode: true - style: form + type: boolean + description: Has power outlets - in: query - name: region__n + name: power_port_template_count schema: type: array items: type: integer - description: Region (slug) + format: int32 explode: true style: form - in: query - name: region_id + name: power_port_template_count__empty schema: - type: array - items: - type: integer - description: Region (ID) - explode: true - style: form + type: boolean - in: query - name: region_id__n + name: power_port_template_count__gt schema: type: array items: type: integer - description: Region (ID) - explode: true - style: form - - in: query - name: role - schema: - type: array - items: - type: string - description: Role (slug) + format: int32 explode: true style: form - in: query - name: role__n + name: power_port_template_count__gte schema: type: array items: - type: string - description: Role (slug) + type: integer + format: int32 explode: true style: form - in: query - name: role_id + name: power_port_template_count__lt schema: type: array items: type: integer - description: Role (ID) + format: int32 explode: true style: form - in: query - name: role_id__n + name: power_port_template_count__lte schema: type: array items: type: integer - description: Role (ID) + format: int32 explode: true style: form - in: query - name: serial + name: power_port_template_count__n schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: serial__empty + name: power_ports schema: type: boolean + description: Has power ports - 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__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 + name: q schema: - type: array - items: - type: string - explode: true - style: form + type: string + description: Search - in: query - name: serial__nisw + name: rear_port_template_count schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: site + name: rear_port_template_count__empty schema: - type: array - items: - type: string - description: Site name (slug) - explode: true - style: form + type: boolean - in: query - name: site__n + name: rear_port_template_count__gt schema: type: array items: - type: string - description: Site name (slug) + type: integer + format: int32 explode: true style: form - in: query - name: site_group + name: rear_port_template_count__gte schema: type: array items: type: integer - description: Site group (slug) + format: int32 explode: true style: form - in: query - name: site_group__n + name: rear_port_template_count__lt schema: type: array items: type: integer - description: Site group (slug) + format: int32 explode: true style: form - in: query - name: site_group_id + name: rear_port_template_count__lte schema: type: array items: type: integer - description: Site group (ID) + format: int32 explode: true style: form - in: query - name: site_group_id__n + name: rear_port_template_count__n schema: type: array items: type: integer - description: Site group (ID) + format: int32 explode: true style: form - in: query - name: site_id + name: slug schema: type: array items: - type: integer - description: Site (ID) + type: string explode: true style: form - in: query - name: site_id__n + name: slug__empty schema: - type: array - items: - type: integer - description: Site (ID) - explode: true - style: form + type: boolean - in: query - name: status + name: slug__ic schema: type: array items: type: string - x-spec-enum-id: 8d8971779f16ee18 explode: true style: form - in: query - name: status__n + name: slug__ie schema: type: array items: type: string - x-spec-enum-id: 8d8971779f16ee18 explode: true style: form - in: query - name: tag + name: slug__iew schema: type: array items: @@ -19477,7 +21927,7 @@ paths: explode: true style: form - in: query - name: tag__n + name: slug__isw schema: type: array items: @@ -19485,223 +21935,215 @@ paths: explode: true style: form - in: query - name: tenant + name: slug__n schema: type: array items: type: string - description: Tenant (slug) explode: true style: form - in: query - name: tenant__n + name: slug__nic schema: type: array items: type: string - description: Tenant (slug) explode: true style: form - in: query - name: tenant_group + name: slug__nie schema: type: array items: - type: integer - description: Tenant Group (slug) + type: string explode: true style: form - in: query - name: tenant_group__n + name: slug__niew schema: type: array items: - type: integer - description: Tenant Group (slug) + type: string explode: true style: form - in: query - name: tenant_group_id + name: slug__nisw schema: type: array items: - type: integer - description: Tenant Group (ID) + type: string explode: true style: form - in: query - name: tenant_group_id__n + name: subdevice_role schema: - type: array - items: - type: integer - description: Tenant Group (ID) - explode: true - style: form + type: string + x-spec-enum-id: d10d91f690a856c2 + title: Parent/child status + enum: + - child + - parent + description: 'Parent devices house child devices in device bays. Leave blank + if this device type is neither a parent nor a child. + + + * `parent` - Parent + + * `child` - Child' - in: query - name: tenant_id + name: tag schema: type: array items: - type: integer - nullable: true - description: Tenant (ID) + type: string explode: true style: form - in: query - name: tenant_id__n + name: tag__n schema: type: array items: - type: integer - nullable: true - description: Tenant (ID) + type: string explode: true style: form - in: query - name: updated_by_request - schema: - type: string - format: uuid - - in: query - name: vc_position + name: u_height schema: type: array items: - type: integer - format: int32 + type: number + format: double explode: true style: form - in: query - name: vc_position__empty + name: u_height__empty schema: type: boolean - in: query - name: vc_position__gt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: vc_position__gte + name: u_height__gt schema: type: array items: - type: integer - format: int32 + type: number + format: double explode: true style: form - in: query - name: vc_position__lt + name: u_height__gte schema: type: array items: - type: integer - format: int32 + type: number + format: double explode: true style: form - in: query - name: vc_position__lte + name: u_height__lt schema: type: array items: - type: integer - format: int32 + type: number + format: double explode: true style: form - in: query - name: vc_position__n + name: u_height__lte schema: type: array items: - type: integer - format: int32 + type: number + format: double explode: true style: form - in: query - name: vc_priority + name: u_height__n schema: type: array items: - type: integer - format: int32 + type: number + format: double explode: true style: form - in: query - name: vc_priority__empty + name: updated_by_request schema: - type: boolean + type: string + format: uuid - in: query - name: vc_priority__gt + name: weight schema: type: array items: - type: integer - format: int32 + type: number + format: double explode: true style: form - in: query - name: vc_priority__gte + name: weight__empty schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form + type: boolean - in: query - name: vc_priority__lt + name: weight__gt schema: type: array items: - type: integer - format: int32 + type: number + format: double explode: true style: form - in: query - name: vc_priority__lte + name: weight__gte schema: type: array items: - type: integer - format: int32 + type: number + format: double explode: true style: form - in: query - name: vc_priority__n + name: weight__lt schema: type: array items: - type: integer - format: int32 + type: number + format: double explode: true style: form - in: query - name: virtual_chassis_id + name: weight__lte schema: type: array items: - type: integer - description: Virtual chassis (ID) + type: number + format: double explode: true style: form - in: query - name: virtual_chassis_id__n + name: weight__n schema: type: array items: - type: integer - description: Virtual chassis (ID) + type: number + format: double explode: true style: form - in: query - name: virtual_chassis_member + name: weight_unit schema: - type: boolean - description: Is a virtual chassis member + type: string + x-spec-enum-id: 7c1876f422815884 + enum: + - g + - kg + - lb + - oz + description: '* `kg` - Kilograms + + * `g` - Grams + + * `lb` - Pounds + + * `oz` - Ounces' tags: - dcim security: @@ -19712,21 +22154,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedDeviceWithConfigContextList' + $ref: '#/components/schemas/PaginatedDeviceTypeList' description: '' post: - operationId: dcim_devices_create - description: Post a list of device objects. + operationId: dcim_device_types_create + description: Post a list of device type objects. tags: - dcim requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableDeviceWithConfigContextRequest' + $ref: '#/components/schemas/WritableDeviceTypeRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableDeviceWithConfigContextRequest' + $ref: '#/components/schemas/WritableDeviceTypeRequest' required: true security: - cookieAuth: [] @@ -19736,11 +22178,11 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeviceWithConfigContext' + $ref: '#/components/schemas/DeviceType' description: '' put: - operationId: dcim_devices_bulk_update - description: Put a list of device objects. + operationId: dcim_device_types_bulk_update + description: Put a list of device type objects. tags: - dcim requestBody: @@ -19749,12 +22191,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/DeviceWithConfigContextRequest' + $ref: '#/components/schemas/DeviceTypeRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/DeviceWithConfigContextRequest' + $ref: '#/components/schemas/DeviceTypeRequest' required: true security: - cookieAuth: [] @@ -19766,11 +22208,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/DeviceWithConfigContext' + $ref: '#/components/schemas/DeviceType' description: '' patch: - operationId: dcim_devices_bulk_partial_update - description: Patch a list of device objects. + operationId: dcim_device_types_bulk_partial_update + description: Patch a list of device type objects. tags: - dcim requestBody: @@ -19779,12 +22221,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/DeviceWithConfigContextRequest' + $ref: '#/components/schemas/DeviceTypeRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/DeviceWithConfigContextRequest' + $ref: '#/components/schemas/DeviceTypeRequest' required: true security: - cookieAuth: [] @@ -19796,11 +22238,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/DeviceWithConfigContext' + $ref: '#/components/schemas/DeviceType' description: '' delete: - operationId: dcim_devices_bulk_destroy - description: Delete a list of device objects. + operationId: dcim_device_types_bulk_destroy + description: Delete a list of device type objects. tags: - dcim requestBody: @@ -19809,12 +22251,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/DeviceWithConfigContextRequest' + $ref: '#/components/schemas/DeviceTypeRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/DeviceWithConfigContextRequest' + $ref: '#/components/schemas/DeviceTypeRequest' required: true security: - cookieAuth: [] @@ -19822,16 +22264,16 @@ paths: responses: '204': description: No response body - /api/dcim/devices/{id}/: + /api/dcim/device-types/{id}/: get: - operationId: dcim_devices_retrieve - description: Get a device object. + operationId: dcim_device_types_retrieve + description: Get a device type object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this device. + description: A unique integer value identifying this device type. required: true tags: - dcim @@ -19843,17 +22285,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeviceWithConfigContext' + $ref: '#/components/schemas/DeviceType' description: '' put: - operationId: dcim_devices_update - description: Put a device object. + operationId: dcim_device_types_update + description: Put a device type object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this device. + description: A unique integer value identifying this device type. required: true tags: - dcim @@ -19861,10 +22303,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/WritableDeviceWithConfigContextRequest' + $ref: '#/components/schemas/WritableDeviceTypeRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableDeviceWithConfigContextRequest' + $ref: '#/components/schemas/WritableDeviceTypeRequest' required: true security: - cookieAuth: [] @@ -19874,17 +22316,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeviceWithConfigContext' + $ref: '#/components/schemas/DeviceType' description: '' patch: - operationId: dcim_devices_partial_update - description: Patch a device object. + operationId: dcim_device_types_partial_update + description: Patch a device type object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this device. + description: A unique integer value identifying this device type. required: true tags: - dcim @@ -19892,10 +22334,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PatchedWritableDeviceWithConfigContextRequest' + $ref: '#/components/schemas/PatchedWritableDeviceTypeRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedWritableDeviceWithConfigContextRequest' + $ref: '#/components/schemas/PatchedWritableDeviceTypeRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -19904,17 +22346,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeviceWithConfigContext' + $ref: '#/components/schemas/DeviceType' description: '' delete: - operationId: dcim_devices_destroy - description: Delete a device object. + operationId: dcim_device_types_destroy + description: Delete a device type object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this device. + description: A unique integer value identifying this device type. required: true tags: - dcim @@ -19924,55 +22366,39 @@ paths: responses: '204': description: No response body - /api/dcim/devices/{id}/render-config/: - post: - operationId: dcim_devices_render_config_create - description: Resolve and render the preferred ConfigTemplate for this Device. + /api/dcim/devices/: + get: + operationId: dcim_devices_list + description: Get a list of device objects. parameters: - in: query - name: format + name: airflow schema: type: string + x-spec-enum-id: 58e389e240a5e53d enum: - - json - - txt - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this device. - required: true - tags: - - dcim - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/WritableDeviceWithConfigContextRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/WritableDeviceWithConfigContextRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/DeviceWithConfigContext' - text/plain: - schema: - $ref: '#/components/schemas/DeviceWithConfigContext' - description: '' - /api/dcim/front-port-templates/: - get: - operationId: dcim_front_port_templates_list - description: Get a list of front port template objects. - parameters: + - front-to-rear + - left-to-right + - mixed + - passive + - rear-to-front + - right-to-left + - side-to-rear + description: '* `front-to-rear` - Front to rear + + * `rear-to-front` - Rear to front + + * `left-to-right` - Left to right + + * `right-to-left` - Right to left + + * `side-to-rear` - Side to rear + + * `passive` - Passive + + * `mixed` - Mixed' - in: query - name: color + name: asset_tag schema: type: array items: @@ -19980,11 +22406,11 @@ paths: explode: true style: form - in: query - name: color__empty + name: asset_tag__empty schema: type: boolean - in: query - name: color__ic + name: asset_tag__ic schema: type: array items: @@ -19992,7 +22418,7 @@ paths: explode: true style: form - in: query - name: color__ie + name: asset_tag__ie schema: type: array items: @@ -20000,7 +22426,7 @@ paths: explode: true style: form - in: query - name: color__iew + name: asset_tag__iew schema: type: array items: @@ -20008,7 +22434,7 @@ paths: explode: true style: form - in: query - name: color__isw + name: asset_tag__isw schema: type: array items: @@ -20016,7 +22442,7 @@ paths: explode: true style: form - in: query - name: color__n + name: asset_tag__n schema: type: array items: @@ -20024,7 +22450,7 @@ paths: explode: true style: form - in: query - name: color__nic + name: asset_tag__nic schema: type: array items: @@ -20032,7 +22458,7 @@ paths: explode: true style: form - in: query - name: color__nie + name: asset_tag__nie schema: type: array items: @@ -20040,7 +22466,7 @@ paths: explode: true style: form - in: query - name: color__niew + name: asset_tag__niew schema: type: array items: @@ -20048,7 +22474,7 @@ paths: explode: true style: form - in: query - name: color__nisw + name: asset_tag__nisw schema: type: array items: @@ -20056,309 +22482,329 @@ paths: explode: true style: form - in: query - name: created + name: cluster_group schema: type: array items: type: string - format: date-time + description: Cluster group (slug) explode: true style: form - in: query - name: created__empty + name: cluster_group__n schema: type: array items: type: string - format: date-time + description: Cluster group (slug) explode: true style: form - in: query - name: created__gt + name: cluster_group_id schema: type: array items: - type: string - format: date-time + type: integer + description: Cluster group (ID) explode: true style: form - in: query - name: created__gte + name: cluster_group_id__n schema: type: array items: - type: string - format: date-time + type: integer + description: Cluster group (ID) explode: true style: form - in: query - name: created__lt + name: cluster_id schema: type: array items: - type: string - format: date-time + type: integer + nullable: true + description: VM cluster (ID) explode: true style: form - in: query - name: created__lte + name: cluster_id__n schema: type: array items: - type: string - format: date-time + type: integer + nullable: true + description: VM cluster (ID) explode: true style: form - in: query - name: created__n + name: config_template_id schema: type: array items: - type: string - format: date-time + type: integer + nullable: true + description: Config template (ID) explode: true style: form - in: query - name: created_by_request + name: config_template_id__n schema: - type: string - format: uuid + type: array + items: + type: integer + nullable: true + description: Config template (ID) + explode: true + style: form - in: query - name: description + name: console_port_count schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: description__empty + name: console_port_count__empty schema: type: boolean - in: query - name: description__ic + name: console_port_count__gt schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: description__ie + name: console_port_count__gte schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: description__iew + name: console_port_count__lt schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: description__isw + name: console_port_count__lte schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: description__n + name: console_port_count__n schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: description__nic + name: console_ports schema: - type: array - items: - type: string - explode: true - style: form + type: boolean + description: Has console ports - in: query - name: description__nie + name: console_server_port_count schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: description__niew + name: console_server_port_count__empty + schema: + type: boolean + - in: query + name: console_server_port_count__gt schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: description__nisw + name: console_server_port_count__gte schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: device_type_id + name: console_server_port_count__lt schema: type: array items: type: integer - nullable: true - description: Device type (ID) + format: int32 explode: true style: form - in: query - name: device_type_id__n + name: console_server_port_count__lte schema: type: array items: type: integer - nullable: true - description: Device type (ID) + format: int32 explode: true style: form - in: query - name: devicetype_id + name: console_server_port_count__n schema: type: array items: type: integer - nullable: true - description: Device type (ID) + format: int32 explode: true style: form - in: query - name: devicetype_id__n + name: console_server_ports + schema: + type: boolean + description: Has console server ports + - in: query + name: contact schema: type: array items: type: integer - nullable: true - description: Device type (ID) + description: Contact explode: true style: form - in: query - name: id + name: contact__n schema: type: array items: type: integer - format: int32 + description: Contact explode: true style: form - in: query - name: id__empty - schema: - type: boolean - - in: query - name: id__gt + name: contact_group schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__gte + name: contact_group__n schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__lt + name: contact_role schema: type: array items: type: integer - format: int32 + description: Contact Role explode: true style: form - in: query - name: id__lte + name: contact_role__n schema: type: array items: type: integer - format: int32 + description: Contact Role explode: true style: form - in: query - name: id__n + name: created schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: label + name: created__empty schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: label__empty - schema: - type: boolean - - in: query - name: label__ic + name: created__gt schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: label__ie + name: created__gte schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: label__iew + name: created__lt schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: label__isw + name: created__lte schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: label__n + name: created__n schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: label__nic + name: created_by_request + schema: + type: string + format: uuid + - in: query + name: description schema: type: array items: @@ -20366,7 +22812,11 @@ paths: explode: true style: form - in: query - name: label__nie + name: description__empty + schema: + type: boolean + - in: query + name: description__ic schema: type: array items: @@ -20374,7 +22824,7 @@ paths: explode: true style: form - in: query - name: label__niew + name: description__ie schema: type: array items: @@ -20382,7 +22832,7 @@ paths: explode: true style: form - in: query - name: label__nisw + name: description__iew schema: type: array items: @@ -20390,238 +22840,261 @@ paths: explode: true style: form - in: query - name: last_updated + name: description__isw schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__empty + name: description__n schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__gt + name: description__nic schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__gte + name: description__nie schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__lt + name: description__niew schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__lte + name: description__nisw schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__n + name: device_bay_count schema: type: array items: - type: string - format: date-time + type: integer + format: int32 explode: true style: form - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - in: query - name: modified_by_request + name: device_bay_count__empty schema: - type: string - format: uuid + type: boolean - in: query - name: module_type_id + name: device_bay_count__gt schema: type: array items: type: integer - nullable: true - description: Module type (ID) + format: int32 explode: true style: form - in: query - name: module_type_id__n + name: device_bay_count__gte schema: type: array items: type: integer - nullable: true - description: Module type (ID) + format: int32 explode: true style: form - in: query - name: moduletype_id + name: device_bay_count__lt schema: type: array items: type: integer - nullable: true - description: Module type (ID) + format: int32 explode: true style: form - in: query - name: moduletype_id__n + name: device_bay_count__lte schema: type: array items: type: integer - nullable: true - description: Module type (ID) + format: int32 explode: true style: form - in: query - name: name + name: device_bay_count__n schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: name__empty + name: device_bays schema: type: boolean + description: Has device bays - in: query - name: name__ic + name: device_type schema: type: array items: type: string + description: Device type (slug) explode: true style: form - in: query - name: name__ie + name: device_type__n schema: type: array items: type: string + description: Device type (slug) explode: true style: form - in: query - name: name__iew + name: device_type_id schema: type: array items: - type: string + type: integer + description: Device type (ID) explode: true style: form - in: query - name: name__isw + name: device_type_id__n schema: type: array items: - type: string + type: integer + description: Device type (ID) explode: true style: form - in: query - name: name__n + name: face + schema: + type: string + x-spec-enum-id: d2fb9b3f75158b83 + title: Rack face + enum: + - front + - rear + description: '* `front` - Front + + * `rear` - Rear' + - in: query + name: front_port_count schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: name__nic + name: front_port_count__empty + schema: + type: boolean + - in: query + name: front_port_count__gt schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: name__nie + name: front_port_count__gte schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: name__niew + name: front_port_count__lt schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: name__nisw + name: front_port_count__lte schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - - name: offset - required: false - in: query - description: The initial index from which to return the results. + - in: query + name: front_port_count__n schema: - type: integer - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: has_oob_ip schema: - type: string + type: boolean + description: Has an out-of-band IP - in: query - name: q + name: has_primary_ip schema: - type: string - description: Search + type: boolean + description: Has a primary IP - in: query - name: rear_port_id + name: has_virtual_device_context + schema: + type: boolean + description: Has virtual device context + - in: query + name: id schema: type: array items: type: integer + format: int32 explode: true style: form - in: query - name: rear_port_id__n + name: id__empty + schema: + type: boolean + - in: query + name: id__gt schema: type: array items: type: integer + format: int32 explode: true style: form - in: query - name: rear_port_position + name: id__gte schema: type: array items: @@ -20630,11 +23103,7 @@ paths: explode: true style: form - in: query - name: rear_port_position__empty - schema: - type: boolean - - in: query - name: rear_port_position__gt + name: id__lt schema: type: array items: @@ -20643,7 +23112,7 @@ paths: explode: true style: form - in: query - name: rear_port_position__gte + name: id__lte schema: type: array items: @@ -20652,7 +23121,7 @@ paths: explode: true style: form - in: query - name: rear_port_position__lt + name: id__n schema: type: array items: @@ -20661,7 +23130,7 @@ paths: explode: true style: form - in: query - name: rear_port_position__lte + name: interface_count schema: type: array items: @@ -20670,7 +23139,11 @@ paths: explode: true style: form - in: query - name: rear_port_position__n + name: interface_count__empty + schema: + type: boolean + - in: query + name: interface_count__gt schema: type: array items: @@ -20679,491 +23152,317 @@ paths: explode: true style: form - in: query - name: type + name: interface_count__gte schema: type: array items: - type: string - x-spec-enum-id: 0276d1110ada597a + type: integer + format: int32 explode: true style: form - in: query - name: type__n + name: interface_count__lt schema: type: array items: - type: string - x-spec-enum-id: 0276d1110ada597a + type: integer + format: int32 explode: true style: form - in: query - name: updated_by_request - schema: - type: string - format: uuid - tags: - - dcim - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/PaginatedFrontPortTemplateList' - description: '' - post: - operationId: dcim_front_port_templates_create - description: Post a list of front port template objects. - tags: - - dcim - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/WritableFrontPortTemplateRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/WritableFrontPortTemplateRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '201': - content: - application/json: - schema: - $ref: '#/components/schemas/FrontPortTemplate' - description: '' - put: - operationId: dcim_front_port_templates_bulk_update - description: Put a list of front port template objects. - tags: - - dcim - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/FrontPortTemplateRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/FrontPortTemplateRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/FrontPortTemplate' - description: '' - patch: - operationId: dcim_front_port_templates_bulk_partial_update - description: Patch a list of front port template objects. - tags: - - dcim - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/FrontPortTemplateRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/FrontPortTemplateRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/FrontPortTemplate' - description: '' - delete: - operationId: dcim_front_port_templates_bulk_destroy - description: Delete a list of front port template objects. - tags: - - dcim - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/FrontPortTemplateRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/FrontPortTemplateRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '204': - description: No response body - /api/dcim/front-port-templates/{id}/: - get: - operationId: dcim_front_port_templates_retrieve - description: Get a front port template object. - parameters: - - in: path - name: id + name: interface_count__lte schema: - type: integer - description: A unique integer value identifying this front port template. - required: true - tags: - - dcim - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/FrontPortTemplate' - description: '' - put: - operationId: dcim_front_port_templates_update - description: Put a front port template object. - parameters: - - in: path - name: id + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: interface_count__n schema: - type: integer - description: A unique integer value identifying this front port template. - required: true - tags: - - dcim - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/WritableFrontPortTemplateRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/WritableFrontPortTemplateRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/FrontPortTemplate' - description: '' - patch: - operationId: dcim_front_port_templates_partial_update - description: Patch a front port template object. - parameters: - - in: path - name: id + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: interfaces schema: - type: integer - description: A unique integer value identifying this front port template. - required: true - tags: - - dcim - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/PatchedWritableFrontPortTemplateRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/PatchedWritableFrontPortTemplateRequest' - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/FrontPortTemplate' - description: '' - delete: - operationId: dcim_front_port_templates_destroy - description: Delete a front port template object. - parameters: - - in: path - name: id + type: boolean + description: Has interfaces + - in: query + name: inventory_item_count schema: - type: integer - description: A unique integer value identifying this front port template. - required: true - tags: - - dcim - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '204': - description: No response body - /api/dcim/front-ports/: - get: - operationId: dcim_front_ports_list - description: Get a list of front port objects. - parameters: + type: array + items: + type: integer + format: int32 + explode: true + style: form - in: query - name: cable_end + name: inventory_item_count__empty schema: - type: string - x-spec-enum-id: 1db84f9b93b261c8 - enum: - - A - - B - description: '* `A` - A - - * `B` - B' + type: boolean - in: query - name: cable_end__n + name: inventory_item_count__gt schema: - type: string - x-spec-enum-id: 1db84f9b93b261c8 - enum: - - A - - B - description: '* `A` - A - - * `B` - B' + type: array + items: + type: integer + format: int32 + explode: true + style: form - in: query - name: cable_id + name: inventory_item_count__gte schema: type: array items: type: integer - nullable: true - description: Cable (ID) + format: int32 explode: true style: form - in: query - name: cable_id__n + name: inventory_item_count__lt schema: type: array items: type: integer - nullable: true - description: Cable (ID) + format: int32 explode: true style: form - in: query - name: cabled + name: inventory_item_count__lte schema: - type: boolean + type: array + items: + type: integer + format: int32 + explode: true + style: form - in: query - name: color + name: inventory_item_count__n schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: color__empty + name: is_full_depth schema: type: boolean + description: Is full depth - in: query - name: color__ic + name: last_updated schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: color__ie + name: last_updated__empty schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: color__iew + name: last_updated__gt schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: color__isw + name: last_updated__gte schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: color__n + name: last_updated__lt schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: color__nic + name: last_updated__lte schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: color__nie + name: last_updated__n schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: color__niew + name: latitude schema: type: array items: - type: string + type: number + format: double explode: true style: form - in: query - name: color__nisw + name: latitude__empty + schema: + type: boolean + - in: query + name: latitude__gt schema: type: array items: - type: string + type: number + format: double explode: true style: form - in: query - name: created + name: latitude__gte schema: type: array items: - type: string - format: date-time + type: number + format: double explode: true style: form - in: query - name: created__empty + name: latitude__lt schema: type: array items: - type: string - format: date-time + type: number + format: double explode: true style: form - in: query - name: created__gt + name: latitude__lte schema: type: array items: - type: string - format: date-time + type: number + format: double explode: true style: form - in: query - name: created__gte + name: latitude__n schema: type: array items: - type: string - format: date-time + type: number + format: double explode: true style: form + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer - in: query - name: created__lt + name: local_context_data + schema: + type: boolean + description: Has local config context data + - in: query + name: location_id schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__lte + name: location_id__n schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__n + name: longitude schema: type: array items: - type: string - format: date-time + type: number + format: double explode: true style: form - in: query - name: created_by_request + name: longitude__empty schema: - type: string - format: uuid + type: boolean - in: query - name: description + name: longitude__gt schema: type: array items: - type: string + type: number + format: double explode: true style: form - in: query - name: description__empty + name: longitude__gte schema: - type: boolean + type: array + items: + type: number + format: double + explode: true + style: form - in: query - name: description__ic + name: longitude__lt schema: type: array items: - type: string + type: number + format: double explode: true style: form - in: query - name: description__ie + name: longitude__lte schema: type: array items: - type: string + type: number + format: double explode: true style: form - in: query - name: description__iew + name: longitude__n schema: type: array items: - type: string + type: number + format: double explode: true style: form - in: query - name: description__isw + name: mac_address schema: type: array items: @@ -21171,7 +23470,7 @@ paths: explode: true style: form - in: query - name: description__n + name: mac_address__ic schema: type: array items: @@ -21179,7 +23478,7 @@ paths: explode: true style: form - in: query - name: description__nic + name: mac_address__ie schema: type: array items: @@ -21187,7 +23486,7 @@ paths: explode: true style: form - in: query - name: description__nie + name: mac_address__iew schema: type: array items: @@ -21195,7 +23494,7 @@ paths: explode: true style: form - in: query - name: description__niew + name: mac_address__isw schema: type: array items: @@ -21203,7 +23502,7 @@ paths: explode: true style: form - in: query - name: description__nisw + name: mac_address__n schema: type: array items: @@ -21211,81 +23510,98 @@ paths: explode: true style: form - in: query - name: device + name: mac_address__nic schema: type: array items: type: string - nullable: true - description: Device (name) explode: true style: form - in: query - name: device__n + name: mac_address__nie schema: type: array items: type: string - nullable: true - description: Device (name) explode: true style: form - in: query - name: device_id + name: mac_address__niew schema: type: array items: - type: integer - description: Device (ID) + type: string explode: true style: form - in: query - name: device_id__n + name: mac_address__nisw schema: type: array items: - type: integer - description: Device (ID) + type: string explode: true style: form - in: query - name: device_type + name: manufacturer schema: type: array items: type: string - description: Device type (model) + description: Manufacturer (slug) explode: true style: form - in: query - name: device_type__n + name: manufacturer__n schema: type: array items: type: string - description: Device type (model) + description: Manufacturer (slug) explode: true style: form - in: query - name: device_type_id + name: manufacturer_id schema: type: array items: type: integer - description: Device type (ID) + description: Manufacturer (ID) explode: true style: form - in: query - name: device_type_id__n + name: manufacturer_id__n schema: type: array items: type: integer - description: Device type (ID) + description: Manufacturer (ID) explode: true style: form - in: query - name: id + name: model + schema: + type: array + items: + type: string + description: Device model (slug) + explode: true + style: form + - in: query + name: model__n + schema: + type: array + items: + type: string + description: Device model (slug) + explode: true + style: form + - in: query + name: modified_by_request + schema: + type: string + format: uuid + - in: query + name: module_bay_count schema: type: array items: @@ -21294,11 +23610,11 @@ paths: explode: true style: form - in: query - name: id__empty + name: module_bay_count__empty schema: type: boolean - in: query - name: id__gt + name: module_bay_count__gt schema: type: array items: @@ -21307,7 +23623,7 @@ paths: explode: true style: form - in: query - name: id__gte + name: module_bay_count__gte schema: type: array items: @@ -21316,7 +23632,7 @@ paths: explode: true style: form - in: query - name: id__lt + name: module_bay_count__lt schema: type: array items: @@ -21325,7 +23641,7 @@ paths: explode: true style: form - in: query - name: id__lte + name: module_bay_count__lte schema: type: array items: @@ -21334,7 +23650,7 @@ paths: explode: true style: form - in: query - name: id__n + name: module_bay_count__n schema: type: array items: @@ -21343,7 +23659,12 @@ paths: explode: true style: form - in: query - name: label + name: module_bays + schema: + type: boolean + description: Has module bays + - in: query + name: name schema: type: array items: @@ -21351,11 +23672,11 @@ paths: explode: true style: form - in: query - name: label__empty + name: name__empty schema: type: boolean - in: query - name: label__ic + name: name__ic schema: type: array items: @@ -21363,7 +23684,7 @@ paths: explode: true style: form - in: query - name: label__ie + name: name__ie schema: type: array items: @@ -21371,7 +23692,7 @@ paths: explode: true style: form - in: query - name: label__iew + name: name__iew schema: type: array items: @@ -21379,7 +23700,7 @@ paths: explode: true style: form - in: query - name: label__isw + name: name__isw schema: type: array items: @@ -21387,7 +23708,7 @@ paths: explode: true style: form - in: query - name: label__n + name: name__n schema: type: array items: @@ -21395,7 +23716,7 @@ paths: explode: true style: form - in: query - name: label__nic + name: name__nic schema: type: array items: @@ -21403,7 +23724,7 @@ paths: explode: true style: form - in: query - name: label__nie + name: name__nie schema: type: array items: @@ -21411,7 +23732,7 @@ paths: explode: true style: form - in: query - name: label__niew + name: name__niew schema: type: array items: @@ -21419,306 +23740,367 @@ paths: explode: true style: form - in: query - name: label__nisw + name: name__nisw 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: last_updated + name: oob_ip_id schema: type: array items: - type: string - format: date-time + type: integer + description: OOB IP (ID) explode: true style: form - in: query - name: last_updated__empty + name: oob_ip_id__n schema: type: array items: - type: string - format: date-time + type: integer + description: OOB IP (ID) explode: true style: form + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string - in: query - name: last_updated__gt + name: parent_bay_id schema: type: array items: - type: string - format: date-time + type: integer + description: Parent bay (ID) explode: true style: form - in: query - name: last_updated__gte + name: parent_bay_id__n schema: type: array items: - type: string - format: date-time + type: integer + description: Parent bay (ID) explode: true style: form - in: query - name: last_updated__lt + name: parent_device_id schema: type: array items: - type: string - format: date-time + type: integer + description: Parent Device (ID) explode: true style: form - in: query - name: last_updated__lte + name: parent_device_id__n schema: type: array items: - type: string - format: date-time + type: integer + description: Parent Device (ID) explode: true style: form - in: query - name: last_updated__n + name: pass_through_ports + schema: + type: boolean + description: Has pass-through ports + - in: query + name: platform schema: type: array items: type: string - format: date-time + description: Platform (slug) 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: platform__n schema: type: array items: type: string - description: Location (slug) + description: Platform (slug) explode: true style: form - in: query - name: location__n + name: platform_id schema: type: array items: - type: string - description: Location (slug) + type: integer + nullable: true + description: Platform (ID) explode: true style: form - in: query - name: location_id + name: platform_id__n schema: type: array items: type: integer - description: Location (ID) + nullable: true + description: Platform (ID) explode: true style: form - in: query - name: location_id__n + name: position schema: type: array items: - type: integer - description: Location (ID) + type: number + format: double explode: true style: form - in: query - name: mark_connected + name: position__empty schema: type: boolean - in: query - name: modified_by_request + name: position__gt schema: - type: string - format: uuid + type: array + items: + type: number + format: double + explode: true + style: form - in: query - name: module_id + name: position__gte schema: type: array items: - type: integer - nullable: true - description: Module (ID) + type: number + format: double explode: true style: form - in: query - name: module_id__n + name: position__lt schema: type: array items: - type: integer - nullable: true - description: Module (ID) + type: number + format: double explode: true style: form - in: query - name: name + name: position__lte schema: type: array items: - type: string + type: number + format: double explode: true style: form - in: query - name: name__empty + name: position__n schema: - type: boolean + type: array + items: + type: number + format: double + explode: true + style: form - in: query - name: name__ic + name: power_outlet_count schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: name__ie + name: power_outlet_count__empty + schema: + type: boolean + - in: query + name: power_outlet_count__gt schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: name__iew + name: power_outlet_count__gte schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: name__isw + name: power_outlet_count__lt schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: name__n + name: power_outlet_count__lte schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: name__nic + name: power_outlet_count__n schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: name__nie + name: power_outlets + schema: + type: boolean + description: Has power outlets + - in: query + name: power_port_count schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: name__niew + name: power_port_count__empty + schema: + type: boolean + - in: query + name: power_port_count__gt schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: name__nisw + name: power_port_count__gte schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: occupied + name: power_port_count__lt schema: - type: boolean - - name: offset - required: false - in: query - description: The initial index from which to return the results. + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: power_port_count__lte schema: - type: integer - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: power_port_count__n schema: - type: string + type: array + items: + type: integer + format: int32 + explode: true + style: form - in: query - name: q + name: power_ports schema: - type: string - description: Search + type: boolean + description: Has power ports - in: query - name: rack + name: primary_ip4_id schema: type: array items: - type: string - description: Rack (name) + type: integer + description: Primary IPv4 (ID) explode: true style: form - in: query - name: rack__n + name: primary_ip4_id__n schema: type: array items: - type: string - description: Rack (name) + type: integer + description: Primary IPv4 (ID) explode: true style: form - in: query - name: rack_id + name: primary_ip6_id schema: type: array items: type: integer - description: Rack (ID) + description: Primary IPv6 (ID) explode: true style: form - in: query - name: rack_id__n + name: primary_ip6_id__n schema: type: array items: type: integer - description: Rack (ID) + description: Primary IPv6 (ID) explode: true style: form - in: query - name: rear_port_id + name: q + schema: + type: string + description: Search + - in: query + name: rack_id schema: type: array items: type: integer + description: Rack (ID) explode: true style: form - in: query - name: rear_port_id__n + name: rack_id__n schema: type: array items: type: integer + description: Rack (ID) explode: true style: form - in: query - name: rear_port_position + name: rear_port_count schema: type: array items: @@ -21727,11 +24109,11 @@ paths: explode: true style: form - in: query - name: rear_port_position__empty + name: rear_port_count__empty schema: type: boolean - in: query - name: rear_port_position__gt + name: rear_port_count__gt schema: type: array items: @@ -21740,7 +24122,7 @@ paths: explode: true style: form - in: query - name: rear_port_position__gte + name: rear_port_count__gte schema: type: array items: @@ -21749,7 +24131,7 @@ paths: explode: true style: form - in: query - name: rear_port_position__lt + name: rear_port_count__lt schema: type: array items: @@ -21758,7 +24140,7 @@ paths: explode: true style: form - in: query - name: rear_port_position__lte + name: rear_port_count__lte schema: type: array items: @@ -21767,7 +24149,7 @@ paths: explode: true style: form - in: query - name: rear_port_position__n + name: rear_port_count__n schema: type: array items: @@ -21780,8 +24162,7 @@ paths: schema: type: array items: - type: integer - description: Region (slug) + type: string explode: true style: form - in: query @@ -21789,8 +24170,7 @@ paths: schema: type: array items: - type: integer - description: Region (slug) + type: string explode: true style: form - in: query @@ -21798,8 +24178,7 @@ paths: schema: type: array items: - type: integer - description: Region (ID) + type: string explode: true style: form - in: query @@ -21807,8 +24186,7 @@ paths: schema: type: array items: - type: integer - description: Region (ID) + type: string explode: true style: form - in: query @@ -21817,7 +24195,7 @@ paths: type: array items: type: string - description: Device role (slug) + description: Role (slug) explode: true style: form - in: query @@ -21826,7 +24204,7 @@ paths: type: array items: type: string - description: Device role (slug) + description: Role (slug) explode: true style: form - in: query @@ -21835,7 +24213,7 @@ paths: type: array items: type: integer - description: Device role (ID) + description: Role (ID) explode: true style: form - in: query @@ -21844,7 +24222,91 @@ paths: type: array items: type: integer - description: Device role (ID) + description: Role (ID) + explode: true + style: form + - in: query + name: serial + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: serial__empty + schema: + type: boolean + - 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__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__nisw + schema: + type: array + items: + type: string explode: true style: form - in: query @@ -21870,8 +24332,7 @@ paths: schema: type: array items: - type: integer - description: Site group (slug) + type: string explode: true style: form - in: query @@ -21879,8 +24340,7 @@ paths: schema: type: array items: - type: integer - description: Site group (slug) + type: string explode: true style: form - in: query @@ -21888,8 +24348,7 @@ paths: schema: type: array items: - type: integer - description: Site group (ID) + type: string explode: true style: form - in: query @@ -21897,8 +24356,7 @@ paths: schema: type: array items: - type: integer - description: Site group (ID) + type: string explode: true style: form - in: query @@ -21920,105 +24378,543 @@ paths: explode: true style: form - in: query - name: tag + name: status schema: type: array items: type: string + x-spec-enum-id: 8d8971779f16ee18 explode: true style: form - in: query - name: tag__n + name: status__empty + schema: + type: boolean + - in: query + name: status__ic schema: type: array items: type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: type + name: status__ie schema: type: array items: type: string - x-spec-enum-id: 0276d1110ada597a + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: type__n + name: status__iew schema: type: array items: type: string - x-spec-enum-id: 0276d1110ada597a + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: updated_by_request + name: status__isw schema: - type: string - format: uuid + type: array + items: + type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' + explode: true + style: form - in: query - name: virtual_chassis + name: status__n schema: type: array items: type: string - description: Virtual Chassis + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: virtual_chassis__n + name: status__nic schema: type: array items: type: string - description: Virtual Chassis + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: virtual_chassis_id + name: status__nie schema: type: array items: - type: integer - description: Virtual Chassis (ID) + type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: virtual_chassis_id__n + name: status__niew schema: type: array items: - type: integer - description: Virtual Chassis (ID) + type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - tags: - - dcim - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/PaginatedFrontPortList' - description: '' - post: - operationId: dcim_front_ports_create - description: Post a list of front port objects. - tags: - - dcim - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/WritableFrontPortRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/WritableFrontPortRequest' + - in: query + name: status__nisw + schema: + type: array + items: + type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' + explode: true + style: form + - in: query + name: tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant__n + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant_group + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant_group__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant_group_id + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant_group_id__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant_id + schema: + type: array + items: + type: integer + nullable: true + description: Tenant (ID) + explode: true + style: form + - in: query + name: tenant_id__n + schema: + type: array + items: + type: integer + nullable: true + description: Tenant (ID) + explode: true + style: form + - in: query + name: updated_by_request + schema: + type: string + format: uuid + - in: query + name: vc_position + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: vc_position__empty + schema: + type: boolean + - in: query + name: vc_position__gt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: vc_position__gte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: vc_position__lt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: vc_position__lte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: vc_position__n + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: vc_priority + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: vc_priority__empty + schema: + type: boolean + - in: query + name: vc_priority__gt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: vc_priority__gte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: vc_priority__lt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: vc_priority__lte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: vc_priority__n + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: virtual_chassis_id + schema: + type: array + items: + type: integer + description: Virtual chassis (ID) + explode: true + style: form + - in: query + name: virtual_chassis_id__n + schema: + type: array + items: + type: integer + description: Virtual chassis (ID) + explode: true + style: form + - in: query + name: virtual_chassis_member + schema: + type: boolean + description: Is a virtual chassis member + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/PaginatedDeviceWithConfigContextList' + description: '' + post: + operationId: dcim_devices_create + description: Post a list of device objects. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableDeviceWithConfigContextRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableDeviceWithConfigContextRequest' required: true security: - cookieAuth: [] @@ -22028,11 +24924,11 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/FrontPort' + $ref: '#/components/schemas/DeviceWithConfigContext' description: '' put: - operationId: dcim_front_ports_bulk_update - description: Put a list of front port objects. + operationId: dcim_devices_bulk_update + description: Put a list of device objects. tags: - dcim requestBody: @@ -22041,12 +24937,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/FrontPortRequest' + $ref: '#/components/schemas/DeviceWithConfigContextRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/FrontPortRequest' + $ref: '#/components/schemas/DeviceWithConfigContextRequest' required: true security: - cookieAuth: [] @@ -22058,11 +24954,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/FrontPort' + $ref: '#/components/schemas/DeviceWithConfigContext' description: '' patch: - operationId: dcim_front_ports_bulk_partial_update - description: Patch a list of front port objects. + operationId: dcim_devices_bulk_partial_update + description: Patch a list of device objects. tags: - dcim requestBody: @@ -22071,12 +24967,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/FrontPortRequest' + $ref: '#/components/schemas/DeviceWithConfigContextRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/FrontPortRequest' + $ref: '#/components/schemas/DeviceWithConfigContextRequest' required: true security: - cookieAuth: [] @@ -22088,11 +24984,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/FrontPort' + $ref: '#/components/schemas/DeviceWithConfigContext' description: '' delete: - operationId: dcim_front_ports_bulk_destroy - description: Delete a list of front port objects. + operationId: dcim_devices_bulk_destroy + description: Delete a list of device objects. tags: - dcim requestBody: @@ -22101,12 +24997,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/FrontPortRequest' + $ref: '#/components/schemas/DeviceWithConfigContextRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/FrontPortRequest' + $ref: '#/components/schemas/DeviceWithConfigContextRequest' required: true security: - cookieAuth: [] @@ -22114,16 +25010,16 @@ paths: responses: '204': description: No response body - /api/dcim/front-ports/{id}/: + /api/dcim/devices/{id}/: get: - operationId: dcim_front_ports_retrieve - description: Get a front port object. + operationId: dcim_devices_retrieve + description: Get a device object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this front port. + description: A unique integer value identifying this device. required: true tags: - dcim @@ -22135,17 +25031,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/FrontPort' + $ref: '#/components/schemas/DeviceWithConfigContext' description: '' put: - operationId: dcim_front_ports_update - description: Put a front port object. + operationId: dcim_devices_update + description: Put a device object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this front port. + description: A unique integer value identifying this device. required: true tags: - dcim @@ -22153,10 +25049,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/WritableFrontPortRequest' + $ref: '#/components/schemas/WritableDeviceWithConfigContextRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableFrontPortRequest' + $ref: '#/components/schemas/WritableDeviceWithConfigContextRequest' required: true security: - cookieAuth: [] @@ -22166,17 +25062,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/FrontPort' + $ref: '#/components/schemas/DeviceWithConfigContext' description: '' patch: - operationId: dcim_front_ports_partial_update - description: Patch a front port object. + operationId: dcim_devices_partial_update + description: Patch a device object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this front port. + description: A unique integer value identifying this device. required: true tags: - dcim @@ -22184,10 +25080,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PatchedWritableFrontPortRequest' + $ref: '#/components/schemas/PatchedWritableDeviceWithConfigContextRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedWritableFrontPortRequest' + $ref: '#/components/schemas/PatchedWritableDeviceWithConfigContextRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -22196,17 +25092,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/FrontPort' + $ref: '#/components/schemas/DeviceWithConfigContext' description: '' delete: - operationId: dcim_front_ports_destroy - description: Delete a front port object. + operationId: dcim_devices_destroy + description: Delete a device object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this front port. + description: A unique integer value identifying this device. required: true tags: - dcim @@ -22216,19 +25112,35 @@ paths: responses: '204': description: No response body - /api/dcim/front-ports/{id}/paths/: - get: - operationId: dcim_front_ports_paths_retrieve - description: Return all CablePaths which traverse a given pass-through port. + /api/dcim/devices/{id}/render-config/: + post: + operationId: dcim_devices_render_config_create + description: Resolve and render the preferred ConfigTemplate for this Device. parameters: + - in: query + name: format + schema: + type: string + enum: + - json + - txt - in: path name: id schema: type: integer - description: A unique integer value identifying this front port. + description: A unique integer value identifying this device. required: true tags: - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableDeviceWithConfigContextRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableDeviceWithConfigContextRequest' + required: true security: - cookieAuth: [] - tokenAuth: [] @@ -22237,27 +25149,98 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/FrontPort' + $ref: '#/components/schemas/DeviceWithConfigContext' + text/plain: + schema: + $ref: '#/components/schemas/DeviceWithConfigContext' description: '' - /api/dcim/interface-templates/: + /api/dcim/front-port-templates/: get: - operationId: dcim_interface_templates_list - description: Get a list of interface template objects. + operationId: dcim_front_port_templates_list + description: Get a list of front port template objects. parameters: - in: query - name: bridge_id + name: color schema: type: array items: - type: integer + type: string explode: true style: form - in: query - name: bridge_id__n + name: color__empty + schema: + type: boolean + - in: query + name: color__ic schema: type: array items: - type: integer + type: string + explode: true + style: form + - in: query + name: color__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__nisw + schema: + type: array + items: + type: string explode: true style: form - in: query @@ -22432,30 +25415,6 @@ paths: description: Device type (ID) explode: true style: form - - in: query - name: devicetype_id - schema: - type: array - items: - type: integer - nullable: true - description: Device type (ID) - explode: true - style: form - - in: query - name: devicetype_id__n - schema: - type: array - items: - type: integer - nullable: true - description: Device type (ID) - explode: true - style: form - - in: query - name: enabled - schema: - type: boolean - in: query name: id schema: @@ -22667,10 +25626,6 @@ paths: description: Number of results to return per page. schema: type: integer - - in: query - name: mgmt_only - schema: - type: boolean - in: query name: modified_by_request schema: @@ -22696,26 +25651,6 @@ paths: description: Module type (ID) explode: true style: form - - in: query - name: moduletype_id - schema: - type: array - items: - type: integer - nullable: true - description: Module type (ID) - explode: true - style: form - - in: query - name: moduletype_id__n - schema: - type: array - items: - type: integer - nullable: true - description: Module type (ID) - explode: true - style: form - in: query name: name schema: @@ -22812,756 +25747,2085 @@ paths: description: Which field to use when ordering the results. schema: type: string - - in: query - name: poe_mode - schema: - type: array - items: - type: string - x-spec-enum-id: 2f2fe6dcdc7772bd - explode: true - style: form - - in: query - name: poe_mode__n - schema: - type: array - items: - type: string - x-spec-enum-id: 2f2fe6dcdc7772bd - explode: true - style: form - - in: query - name: poe_type - schema: - type: array - items: - type: string - x-spec-enum-id: 74bd3be4012f6da9 - explode: true - style: form - - in: query - name: poe_type__n - schema: - type: array - items: - type: string - x-spec-enum-id: 74bd3be4012f6da9 - explode: true - style: form - in: query name: q schema: type: string description: Search - in: query - name: rf_role - schema: - type: array - items: - type: string - x-spec-enum-id: d2772dbea88b0fb1 - title: Wireless role - explode: true - style: form - - in: query - name: rf_role__n + name: rear_port_id schema: type: array items: - type: string - x-spec-enum-id: d2772dbea88b0fb1 - title: Wireless role + type: integer explode: true style: form - in: query - name: type + name: rear_port_id__n schema: type: array items: - type: string - x-spec-enum-id: b9a351ea129ed754 + type: integer explode: true style: form - in: query - name: type__n + name: rear_port_position schema: type: array items: - type: string - x-spec-enum-id: b9a351ea129ed754 + type: integer + format: int32 explode: true style: form - in: query - name: updated_by_request - schema: - type: string - format: uuid - tags: - - dcim - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/PaginatedInterfaceTemplateList' - description: '' - post: - operationId: dcim_interface_templates_create - description: Post a list of interface template objects. - tags: - - dcim - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/WritableInterfaceTemplateRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/WritableInterfaceTemplateRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '201': - content: - application/json: - schema: - $ref: '#/components/schemas/InterfaceTemplate' - description: '' - put: - operationId: dcim_interface_templates_bulk_update - description: Put a list of interface template objects. - tags: - - dcim - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/InterfaceTemplateRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/InterfaceTemplateRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/InterfaceTemplate' - description: '' - patch: - operationId: dcim_interface_templates_bulk_partial_update - description: Patch a list of interface template objects. - tags: - - dcim - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/InterfaceTemplateRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/InterfaceTemplateRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/InterfaceTemplate' - description: '' - delete: - operationId: dcim_interface_templates_bulk_destroy - description: Delete a list of interface template objects. - tags: - - dcim - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/InterfaceTemplateRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/InterfaceTemplateRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '204': - description: No response body - /api/dcim/interface-templates/{id}/: - get: - operationId: dcim_interface_templates_retrieve - description: Get a interface template object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this interface template. - required: true - tags: - - dcim - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/InterfaceTemplate' - description: '' - put: - operationId: dcim_interface_templates_update - description: Put a interface template object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this interface template. - required: true - tags: - - dcim - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/WritableInterfaceTemplateRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/WritableInterfaceTemplateRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/InterfaceTemplate' - description: '' - patch: - operationId: dcim_interface_templates_partial_update - description: Patch a interface template object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this interface template. - required: true - tags: - - dcim - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/PatchedWritableInterfaceTemplateRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/PatchedWritableInterfaceTemplateRequest' - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/InterfaceTemplate' - description: '' - delete: - operationId: dcim_interface_templates_destroy - description: Delete a interface template object. - parameters: - - in: path - name: id + name: rear_port_position__empty schema: - type: integer - description: A unique integer value identifying this interface template. - required: true - tags: - - dcim - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '204': - description: No response body - /api/dcim/interfaces/: - get: - operationId: dcim_interfaces_list - description: Get a list of interface objects. - parameters: + type: boolean - in: query - name: bridge_id + name: rear_port_position__gt schema: type: array items: type: integer - description: Bridged interface (ID) + format: int32 explode: true style: form - in: query - name: bridge_id__n + name: rear_port_position__gte schema: type: array items: type: integer - description: Bridged interface (ID) + format: int32 explode: true style: form - in: query - name: cable_end - schema: - type: string - x-spec-enum-id: 1db84f9b93b261c8 - enum: - - A - - B - description: '* `A` - A - - * `B` - B' - - in: query - name: cable_end__n - schema: - type: string - x-spec-enum-id: 1db84f9b93b261c8 - enum: - - A - - B - description: '* `A` - A - - * `B` - B' - - in: query - name: cable_id + name: rear_port_position__lt schema: type: array items: type: integer - nullable: true - description: Cable (ID) + format: int32 explode: true style: form - in: query - name: cable_id__n + name: rear_port_position__lte schema: type: array items: type: integer - nullable: true - description: Cable (ID) + format: int32 explode: true style: form - in: query - name: cabled - schema: - type: boolean - - in: query - name: connected - schema: - type: boolean - - in: query - name: created + name: rear_port_position__n schema: type: array items: - type: string - format: date-time + type: integer + format: int32 explode: true style: form - in: query - name: created__empty + name: type schema: type: array items: type: string - format: date-time + x-spec-enum-id: c5086c01f1f9c18a explode: true style: form - in: query - name: created__gt + name: type__empty schema: - type: array - items: - type: string - format: date-time - explode: true - style: form + type: boolean - in: query - name: created__gte + name: type__ic schema: type: array items: type: string - format: date-time + x-spec-enum-id: c5086c01f1f9c18a + enum: + - 110-punch + - 4p2c + - 4p4c + - 6p2c + - 6p4c + - 6p6c + - 8p2c + - 8p4c + - 8p6c + - 8p8c + - bnc + - cs + - f + - fc + - gg45 + - lc + - lc-apc + - lc-pc + - lc-upc + - lsh + - lsh-apc + - lsh-pc + - lsh-upc + - lx5 + - lx5-apc + - lx5-pc + - lx5-upc + - mpo + - mrj21 + - mtrj + - n + - other + - sc + - sc-apc + - sc-pc + - sc-upc + - sma-905 + - sma-906 + - sn + - splice + - st + - tera-1p + - tera-2p + - tera-4p + - urm-p2 + - urm-p4 + - urm-p8 + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: '* `8p8c` - 8P8C + + * `8p6c` - 8P6C + + * `8p4c` - 8P4C + + * `8p2c` - 8P2C + + * `6p6c` - 6P6C + + * `6p4c` - 6P4C + + * `6p2c` - 6P2C + + * `4p4c` - 4P4C + + * `4p2c` - 4P2C + + * `gg45` - GG45 + + * `tera-4p` - TERA 4P + + * `tera-2p` - TERA 2P + + * `tera-1p` - TERA 1P + + * `110-punch` - 110 Punch + + * `bnc` - BNC + + * `f` - F Connector + + * `n` - N Connector + + * `mrj21` - MRJ21 + + * `fc` - FC + + * `lc` - LC + + * `lc-pc` - LC/PC + + * `lc-upc` - LC/UPC + + * `lc-apc` - LC/APC + + * `lsh` - LSH + + * `lsh-pc` - LSH/PC + + * `lsh-upc` - LSH/UPC + + * `lsh-apc` - LSH/APC + + * `lx5` - LX.5 + + * `lx5-pc` - LX.5/PC + + * `lx5-upc` - LX.5/UPC + + * `lx5-apc` - LX.5/APC + + * `mpo` - MPO + + * `mtrj` - MTRJ + + * `sc` - SC + + * `sc-pc` - SC/PC + + * `sc-upc` - SC/UPC + + * `sc-apc` - SC/APC + + * `st` - ST + + * `cs` - CS + + * `sn` - SN + + * `sma-905` - SMA 905 + + * `sma-906` - SMA 906 + + * `urm-p2` - URM-P2 + + * `urm-p4` - URM-P4 + + * `urm-p8` - URM-P8 + + * `splice` - Splice + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' explode: true style: form - in: query - name: created__lt + name: type__ie schema: type: array items: type: string - format: date-time + x-spec-enum-id: c5086c01f1f9c18a + enum: + - 110-punch + - 4p2c + - 4p4c + - 6p2c + - 6p4c + - 6p6c + - 8p2c + - 8p4c + - 8p6c + - 8p8c + - bnc + - cs + - f + - fc + - gg45 + - lc + - lc-apc + - lc-pc + - lc-upc + - lsh + - lsh-apc + - lsh-pc + - lsh-upc + - lx5 + - lx5-apc + - lx5-pc + - lx5-upc + - mpo + - mrj21 + - mtrj + - n + - other + - sc + - sc-apc + - sc-pc + - sc-upc + - sma-905 + - sma-906 + - sn + - splice + - st + - tera-1p + - tera-2p + - tera-4p + - urm-p2 + - urm-p4 + - urm-p8 + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: '* `8p8c` - 8P8C + + * `8p6c` - 8P6C + + * `8p4c` - 8P4C + + * `8p2c` - 8P2C + + * `6p6c` - 6P6C + + * `6p4c` - 6P4C + + * `6p2c` - 6P2C + + * `4p4c` - 4P4C + + * `4p2c` - 4P2C + + * `gg45` - GG45 + + * `tera-4p` - TERA 4P + + * `tera-2p` - TERA 2P + + * `tera-1p` - TERA 1P + + * `110-punch` - 110 Punch + + * `bnc` - BNC + + * `f` - F Connector + + * `n` - N Connector + + * `mrj21` - MRJ21 + + * `fc` - FC + + * `lc` - LC + + * `lc-pc` - LC/PC + + * `lc-upc` - LC/UPC + + * `lc-apc` - LC/APC + + * `lsh` - LSH + + * `lsh-pc` - LSH/PC + + * `lsh-upc` - LSH/UPC + + * `lsh-apc` - LSH/APC + + * `lx5` - LX.5 + + * `lx5-pc` - LX.5/PC + + * `lx5-upc` - LX.5/UPC + + * `lx5-apc` - LX.5/APC + + * `mpo` - MPO + + * `mtrj` - MTRJ + + * `sc` - SC + + * `sc-pc` - SC/PC + + * `sc-upc` - SC/UPC + + * `sc-apc` - SC/APC + + * `st` - ST + + * `cs` - CS + + * `sn` - SN + + * `sma-905` - SMA 905 + + * `sma-906` - SMA 906 + + * `urm-p2` - URM-P2 + + * `urm-p4` - URM-P4 + + * `urm-p8` - URM-P8 + + * `splice` - Splice + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' explode: true style: form - in: query - name: created__lte + name: type__iew schema: type: array items: type: string - format: date-time + x-spec-enum-id: c5086c01f1f9c18a + enum: + - 110-punch + - 4p2c + - 4p4c + - 6p2c + - 6p4c + - 6p6c + - 8p2c + - 8p4c + - 8p6c + - 8p8c + - bnc + - cs + - f + - fc + - gg45 + - lc + - lc-apc + - lc-pc + - lc-upc + - lsh + - lsh-apc + - lsh-pc + - lsh-upc + - lx5 + - lx5-apc + - lx5-pc + - lx5-upc + - mpo + - mrj21 + - mtrj + - n + - other + - sc + - sc-apc + - sc-pc + - sc-upc + - sma-905 + - sma-906 + - sn + - splice + - st + - tera-1p + - tera-2p + - tera-4p + - urm-p2 + - urm-p4 + - urm-p8 + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: '* `8p8c` - 8P8C + + * `8p6c` - 8P6C + + * `8p4c` - 8P4C + + * `8p2c` - 8P2C + + * `6p6c` - 6P6C + + * `6p4c` - 6P4C + + * `6p2c` - 6P2C + + * `4p4c` - 4P4C + + * `4p2c` - 4P2C + + * `gg45` - GG45 + + * `tera-4p` - TERA 4P + + * `tera-2p` - TERA 2P + + * `tera-1p` - TERA 1P + + * `110-punch` - 110 Punch + + * `bnc` - BNC + + * `f` - F Connector + + * `n` - N Connector + + * `mrj21` - MRJ21 + + * `fc` - FC + + * `lc` - LC + + * `lc-pc` - LC/PC + + * `lc-upc` - LC/UPC + + * `lc-apc` - LC/APC + + * `lsh` - LSH + + * `lsh-pc` - LSH/PC + + * `lsh-upc` - LSH/UPC + + * `lsh-apc` - LSH/APC + + * `lx5` - LX.5 + + * `lx5-pc` - LX.5/PC + + * `lx5-upc` - LX.5/UPC + + * `lx5-apc` - LX.5/APC + + * `mpo` - MPO + + * `mtrj` - MTRJ + + * `sc` - SC + + * `sc-pc` - SC/PC + + * `sc-upc` - SC/UPC + + * `sc-apc` - SC/APC + + * `st` - ST + + * `cs` - CS + + * `sn` - SN + + * `sma-905` - SMA 905 + + * `sma-906` - SMA 906 + + * `urm-p2` - URM-P2 + + * `urm-p4` - URM-P4 + + * `urm-p8` - URM-P8 + + * `splice` - Splice + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' explode: true style: form - in: query - name: created__n + name: type__isw schema: type: array items: type: string - format: date-time + x-spec-enum-id: c5086c01f1f9c18a + enum: + - 110-punch + - 4p2c + - 4p4c + - 6p2c + - 6p4c + - 6p6c + - 8p2c + - 8p4c + - 8p6c + - 8p8c + - bnc + - cs + - f + - fc + - gg45 + - lc + - lc-apc + - lc-pc + - lc-upc + - lsh + - lsh-apc + - lsh-pc + - lsh-upc + - lx5 + - lx5-apc + - lx5-pc + - lx5-upc + - mpo + - mrj21 + - mtrj + - n + - other + - sc + - sc-apc + - sc-pc + - sc-upc + - sma-905 + - sma-906 + - sn + - splice + - st + - tera-1p + - tera-2p + - tera-4p + - urm-p2 + - urm-p4 + - urm-p8 + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: '* `8p8c` - 8P8C + + * `8p6c` - 8P6C + + * `8p4c` - 8P4C + + * `8p2c` - 8P2C + + * `6p6c` - 6P6C + + * `6p4c` - 6P4C + + * `6p2c` - 6P2C + + * `4p4c` - 4P4C + + * `4p2c` - 4P2C + + * `gg45` - GG45 + + * `tera-4p` - TERA 4P + + * `tera-2p` - TERA 2P + + * `tera-1p` - TERA 1P + + * `110-punch` - 110 Punch + + * `bnc` - BNC + + * `f` - F Connector + + * `n` - N Connector + + * `mrj21` - MRJ21 + + * `fc` - FC + + * `lc` - LC + + * `lc-pc` - LC/PC + + * `lc-upc` - LC/UPC + + * `lc-apc` - LC/APC + + * `lsh` - LSH + + * `lsh-pc` - LSH/PC + + * `lsh-upc` - LSH/UPC + + * `lsh-apc` - LSH/APC + + * `lx5` - LX.5 + + * `lx5-pc` - LX.5/PC + + * `lx5-upc` - LX.5/UPC + + * `lx5-apc` - LX.5/APC + + * `mpo` - MPO + + * `mtrj` - MTRJ + + * `sc` - SC + + * `sc-pc` - SC/PC + + * `sc-upc` - SC/UPC + + * `sc-apc` - SC/APC + + * `st` - ST + + * `cs` - CS + + * `sn` - SN + + * `sma-905` - SMA 905 + + * `sma-906` - SMA 906 + + * `urm-p2` - URM-P2 + + * `urm-p4` - URM-P4 + + * `urm-p8` - URM-P8 + + * `splice` - Splice + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' explode: true style: form - in: query - name: created_by_request - schema: - type: string - format: uuid - - in: query - name: description + name: type__n schema: type: array items: type: string + x-spec-enum-id: c5086c01f1f9c18a + enum: + - 110-punch + - 4p2c + - 4p4c + - 6p2c + - 6p4c + - 6p6c + - 8p2c + - 8p4c + - 8p6c + - 8p8c + - bnc + - cs + - f + - fc + - gg45 + - lc + - lc-apc + - lc-pc + - lc-upc + - lsh + - lsh-apc + - lsh-pc + - lsh-upc + - lx5 + - lx5-apc + - lx5-pc + - lx5-upc + - mpo + - mrj21 + - mtrj + - n + - other + - sc + - sc-apc + - sc-pc + - sc-upc + - sma-905 + - sma-906 + - sn + - splice + - st + - tera-1p + - tera-2p + - tera-4p + - urm-p2 + - urm-p4 + - urm-p8 + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: '* `8p8c` - 8P8C + + * `8p6c` - 8P6C + + * `8p4c` - 8P4C + + * `8p2c` - 8P2C + + * `6p6c` - 6P6C + + * `6p4c` - 6P4C + + * `6p2c` - 6P2C + + * `4p4c` - 4P4C + + * `4p2c` - 4P2C + + * `gg45` - GG45 + + * `tera-4p` - TERA 4P + + * `tera-2p` - TERA 2P + + * `tera-1p` - TERA 1P + + * `110-punch` - 110 Punch + + * `bnc` - BNC + + * `f` - F Connector + + * `n` - N Connector + + * `mrj21` - MRJ21 + + * `fc` - FC + + * `lc` - LC + + * `lc-pc` - LC/PC + + * `lc-upc` - LC/UPC + + * `lc-apc` - LC/APC + + * `lsh` - LSH + + * `lsh-pc` - LSH/PC + + * `lsh-upc` - LSH/UPC + + * `lsh-apc` - LSH/APC + + * `lx5` - LX.5 + + * `lx5-pc` - LX.5/PC + + * `lx5-upc` - LX.5/UPC + + * `lx5-apc` - LX.5/APC + + * `mpo` - MPO + + * `mtrj` - MTRJ + + * `sc` - SC + + * `sc-pc` - SC/PC + + * `sc-upc` - SC/UPC + + * `sc-apc` - SC/APC + + * `st` - ST + + * `cs` - CS + + * `sn` - SN + + * `sma-905` - SMA 905 + + * `sma-906` - SMA 906 + + * `urm-p2` - URM-P2 + + * `urm-p4` - URM-P4 + + * `urm-p8` - URM-P8 + + * `splice` - Splice + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' explode: true style: form - in: query - name: description__empty - schema: - type: boolean - - in: query - name: description__ic + name: type__nic schema: type: array items: type: string + x-spec-enum-id: c5086c01f1f9c18a + enum: + - 110-punch + - 4p2c + - 4p4c + - 6p2c + - 6p4c + - 6p6c + - 8p2c + - 8p4c + - 8p6c + - 8p8c + - bnc + - cs + - f + - fc + - gg45 + - lc + - lc-apc + - lc-pc + - lc-upc + - lsh + - lsh-apc + - lsh-pc + - lsh-upc + - lx5 + - lx5-apc + - lx5-pc + - lx5-upc + - mpo + - mrj21 + - mtrj + - n + - other + - sc + - sc-apc + - sc-pc + - sc-upc + - sma-905 + - sma-906 + - sn + - splice + - st + - tera-1p + - tera-2p + - tera-4p + - urm-p2 + - urm-p4 + - urm-p8 + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: '* `8p8c` - 8P8C + + * `8p6c` - 8P6C + + * `8p4c` - 8P4C + + * `8p2c` - 8P2C + + * `6p6c` - 6P6C + + * `6p4c` - 6P4C + + * `6p2c` - 6P2C + + * `4p4c` - 4P4C + + * `4p2c` - 4P2C + + * `gg45` - GG45 + + * `tera-4p` - TERA 4P + + * `tera-2p` - TERA 2P + + * `tera-1p` - TERA 1P + + * `110-punch` - 110 Punch + + * `bnc` - BNC + + * `f` - F Connector + + * `n` - N Connector + + * `mrj21` - MRJ21 + + * `fc` - FC + + * `lc` - LC + + * `lc-pc` - LC/PC + + * `lc-upc` - LC/UPC + + * `lc-apc` - LC/APC + + * `lsh` - LSH + + * `lsh-pc` - LSH/PC + + * `lsh-upc` - LSH/UPC + + * `lsh-apc` - LSH/APC + + * `lx5` - LX.5 + + * `lx5-pc` - LX.5/PC + + * `lx5-upc` - LX.5/UPC + + * `lx5-apc` - LX.5/APC + + * `mpo` - MPO + + * `mtrj` - MTRJ + + * `sc` - SC + + * `sc-pc` - SC/PC + + * `sc-upc` - SC/UPC + + * `sc-apc` - SC/APC + + * `st` - ST + + * `cs` - CS + + * `sn` - SN + + * `sma-905` - SMA 905 + + * `sma-906` - SMA 906 + + * `urm-p2` - URM-P2 + + * `urm-p4` - URM-P4 + + * `urm-p8` - URM-P8 + + * `splice` - Splice + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' explode: true style: form - in: query - name: description__ie + name: type__nie schema: type: array items: type: string + x-spec-enum-id: c5086c01f1f9c18a + enum: + - 110-punch + - 4p2c + - 4p4c + - 6p2c + - 6p4c + - 6p6c + - 8p2c + - 8p4c + - 8p6c + - 8p8c + - bnc + - cs + - f + - fc + - gg45 + - lc + - lc-apc + - lc-pc + - lc-upc + - lsh + - lsh-apc + - lsh-pc + - lsh-upc + - lx5 + - lx5-apc + - lx5-pc + - lx5-upc + - mpo + - mrj21 + - mtrj + - n + - other + - sc + - sc-apc + - sc-pc + - sc-upc + - sma-905 + - sma-906 + - sn + - splice + - st + - tera-1p + - tera-2p + - tera-4p + - urm-p2 + - urm-p4 + - urm-p8 + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: '* `8p8c` - 8P8C + + * `8p6c` - 8P6C + + * `8p4c` - 8P4C + + * `8p2c` - 8P2C + + * `6p6c` - 6P6C + + * `6p4c` - 6P4C + + * `6p2c` - 6P2C + + * `4p4c` - 4P4C + + * `4p2c` - 4P2C + + * `gg45` - GG45 + + * `tera-4p` - TERA 4P + + * `tera-2p` - TERA 2P + + * `tera-1p` - TERA 1P + + * `110-punch` - 110 Punch + + * `bnc` - BNC + + * `f` - F Connector + + * `n` - N Connector + + * `mrj21` - MRJ21 + + * `fc` - FC + + * `lc` - LC + + * `lc-pc` - LC/PC + + * `lc-upc` - LC/UPC + + * `lc-apc` - LC/APC + + * `lsh` - LSH + + * `lsh-pc` - LSH/PC + + * `lsh-upc` - LSH/UPC + + * `lsh-apc` - LSH/APC + + * `lx5` - LX.5 + + * `lx5-pc` - LX.5/PC + + * `lx5-upc` - LX.5/UPC + + * `lx5-apc` - LX.5/APC + + * `mpo` - MPO + + * `mtrj` - MTRJ + + * `sc` - SC + + * `sc-pc` - SC/PC + + * `sc-upc` - SC/UPC + + * `sc-apc` - SC/APC + + * `st` - ST + + * `cs` - CS + + * `sn` - SN + + * `sma-905` - SMA 905 + + * `sma-906` - SMA 906 + + * `urm-p2` - URM-P2 + + * `urm-p4` - URM-P4 + + * `urm-p8` - URM-P8 + + * `splice` - Splice + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' explode: true style: form - in: query - name: description__iew + name: type__niew schema: type: array items: type: string + x-spec-enum-id: c5086c01f1f9c18a + enum: + - 110-punch + - 4p2c + - 4p4c + - 6p2c + - 6p4c + - 6p6c + - 8p2c + - 8p4c + - 8p6c + - 8p8c + - bnc + - cs + - f + - fc + - gg45 + - lc + - lc-apc + - lc-pc + - lc-upc + - lsh + - lsh-apc + - lsh-pc + - lsh-upc + - lx5 + - lx5-apc + - lx5-pc + - lx5-upc + - mpo + - mrj21 + - mtrj + - n + - other + - sc + - sc-apc + - sc-pc + - sc-upc + - sma-905 + - sma-906 + - sn + - splice + - st + - tera-1p + - tera-2p + - tera-4p + - urm-p2 + - urm-p4 + - urm-p8 + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: '* `8p8c` - 8P8C + + * `8p6c` - 8P6C + + * `8p4c` - 8P4C + + * `8p2c` - 8P2C + + * `6p6c` - 6P6C + + * `6p4c` - 6P4C + + * `6p2c` - 6P2C + + * `4p4c` - 4P4C + + * `4p2c` - 4P2C + + * `gg45` - GG45 + + * `tera-4p` - TERA 4P + + * `tera-2p` - TERA 2P + + * `tera-1p` - TERA 1P + + * `110-punch` - 110 Punch + + * `bnc` - BNC + + * `f` - F Connector + + * `n` - N Connector + + * `mrj21` - MRJ21 + + * `fc` - FC + + * `lc` - LC + + * `lc-pc` - LC/PC + + * `lc-upc` - LC/UPC + + * `lc-apc` - LC/APC + + * `lsh` - LSH + + * `lsh-pc` - LSH/PC + + * `lsh-upc` - LSH/UPC + + * `lsh-apc` - LSH/APC + + * `lx5` - LX.5 + + * `lx5-pc` - LX.5/PC + + * `lx5-upc` - LX.5/UPC + + * `lx5-apc` - LX.5/APC + + * `mpo` - MPO + + * `mtrj` - MTRJ + + * `sc` - SC + + * `sc-pc` - SC/PC + + * `sc-upc` - SC/UPC + + * `sc-apc` - SC/APC + + * `st` - ST + + * `cs` - CS + + * `sn` - SN + + * `sma-905` - SMA 905 + + * `sma-906` - SMA 906 + + * `urm-p2` - URM-P2 + + * `urm-p4` - URM-P4 + + * `urm-p8` - URM-P8 + + * `splice` - Splice + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' explode: true style: form - in: query - name: description__isw + name: type__nisw schema: type: array items: type: string + x-spec-enum-id: c5086c01f1f9c18a + enum: + - 110-punch + - 4p2c + - 4p4c + - 6p2c + - 6p4c + - 6p6c + - 8p2c + - 8p4c + - 8p6c + - 8p8c + - bnc + - cs + - f + - fc + - gg45 + - lc + - lc-apc + - lc-pc + - lc-upc + - lsh + - lsh-apc + - lsh-pc + - lsh-upc + - lx5 + - lx5-apc + - lx5-pc + - lx5-upc + - mpo + - mrj21 + - mtrj + - n + - other + - sc + - sc-apc + - sc-pc + - sc-upc + - sma-905 + - sma-906 + - sn + - splice + - st + - tera-1p + - tera-2p + - tera-4p + - urm-p2 + - urm-p4 + - urm-p8 + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: '* `8p8c` - 8P8C + + * `8p6c` - 8P6C + + * `8p4c` - 8P4C + + * `8p2c` - 8P2C + + * `6p6c` - 6P6C + + * `6p4c` - 6P4C + + * `6p2c` - 6P2C + + * `4p4c` - 4P4C + + * `4p2c` - 4P2C + + * `gg45` - GG45 + + * `tera-4p` - TERA 4P + + * `tera-2p` - TERA 2P + + * `tera-1p` - TERA 1P + + * `110-punch` - 110 Punch + + * `bnc` - BNC + + * `f` - F Connector + + * `n` - N Connector + + * `mrj21` - MRJ21 + + * `fc` - FC + + * `lc` - LC + + * `lc-pc` - LC/PC + + * `lc-upc` - LC/UPC + + * `lc-apc` - LC/APC + + * `lsh` - LSH + + * `lsh-pc` - LSH/PC + + * `lsh-upc` - LSH/UPC + + * `lsh-apc` - LSH/APC + + * `lx5` - LX.5 + + * `lx5-pc` - LX.5/PC + + * `lx5-upc` - LX.5/UPC + + * `lx5-apc` - LX.5/APC + + * `mpo` - MPO + + * `mtrj` - MTRJ + + * `sc` - SC + + * `sc-pc` - SC/PC + + * `sc-upc` - SC/UPC + + * `sc-apc` - SC/APC + + * `st` - ST + + * `cs` - CS + + * `sn` - SN + + * `sma-905` - SMA 905 + + * `sma-906` - SMA 906 + + * `urm-p2` - URM-P2 + + * `urm-p4` - URM-P4 + + * `urm-p8` - URM-P8 + + * `splice` - Splice + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' explode: true style: form - in: query - name: description__n + name: updated_by_request schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: description__nic + type: string + format: uuid + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/PaginatedFrontPortTemplateList' + description: '' + post: + operationId: dcim_front_port_templates_create + description: Post a list of front port template objects. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableFrontPortTemplateRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableFrontPortTemplateRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json: + schema: + $ref: '#/components/schemas/FrontPortTemplate' + description: '' + put: + operationId: dcim_front_port_templates_bulk_update + description: Put a list of front port template objects. + tags: + - dcim + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/FrontPortTemplateRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/FrontPortTemplateRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/FrontPortTemplate' + description: '' + patch: + operationId: dcim_front_port_templates_bulk_partial_update + description: Patch a list of front port template objects. + tags: + - dcim + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/FrontPortTemplateRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/FrontPortTemplateRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/FrontPortTemplate' + description: '' + delete: + operationId: dcim_front_port_templates_bulk_destroy + description: Delete a list of front port template objects. + tags: + - dcim + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/FrontPortTemplateRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/FrontPortTemplateRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /api/dcim/front-port-templates/{id}/: + get: + operationId: dcim_front_port_templates_retrieve + description: Get a front port template object. + parameters: + - in: path + name: id schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: description__nie + type: integer + description: A unique integer value identifying this front port template. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/FrontPortTemplate' + description: '' + put: + operationId: dcim_front_port_templates_update + description: Put a front port template object. + parameters: + - in: path + name: id schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: description__niew + type: integer + description: A unique integer value identifying this front port template. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableFrontPortTemplateRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableFrontPortTemplateRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/FrontPortTemplate' + description: '' + patch: + operationId: dcim_front_port_templates_partial_update + description: Patch a front port template object. + parameters: + - in: path + name: id schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: description__nisw + type: integer + description: A unique integer value identifying this front port template. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableFrontPortTemplateRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableFrontPortTemplateRequest' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/FrontPortTemplate' + description: '' + delete: + operationId: dcim_front_port_templates_destroy + description: Delete a front port template object. + parameters: + - in: path + name: id schema: - type: array - items: - type: string - explode: true - style: form + type: integer + description: A unique integer value identifying this front port template. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /api/dcim/front-ports/: + get: + operationId: dcim_front_ports_list + description: Get a list of front port objects. + parameters: - in: query - name: device + name: cable_end schema: - type: array - items: - type: string - nullable: true - description: Device (name) - explode: true - style: form + type: string + x-spec-enum-id: 1db84f9b93b261c8 + enum: + - A + - B + description: '* `A` - A + + * `B` - B' - in: query - name: device__n + name: cable_id schema: type: array items: - type: string + type: integer nullable: true - description: Device (name) + description: Cable (ID) explode: true style: form - in: query - name: device_id + name: cable_id__n schema: type: array items: type: integer - description: Device (ID) + nullable: true + description: Cable (ID) explode: true style: form - in: query - name: device_id__n + name: cabled schema: - type: array - items: - type: integer - description: Device (ID) - explode: true - style: form + type: boolean - in: query - name: device_type + name: color schema: type: array items: type: string - description: Device type (model) explode: true style: form - in: query - name: device_type__n + name: color__empty + schema: + type: boolean + - in: query + name: color__ic schema: type: array items: type: string - description: Device type (model) explode: true style: form - in: query - name: device_type_id + name: color__ie schema: type: array items: - type: integer - description: Device type (ID) + type: string explode: true style: form - in: query - name: device_type_id__n + name: color__iew schema: type: array items: - type: integer - description: Device type (ID) + type: string explode: true style: form - in: query - name: duplex + name: color__isw schema: type: array items: type: string - x-spec-enum-id: 47eab9b1a65a1e21 - nullable: true explode: true style: form - in: query - name: duplex__n + name: color__n schema: type: array items: type: string - x-spec-enum-id: 47eab9b1a65a1e21 - nullable: true explode: true style: form - in: query - name: enabled - schema: - type: boolean - - in: query - name: id + name: color__nic schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__empty - schema: - type: boolean - - in: query - name: id__gt + name: color__nie schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__gte + name: color__niew schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__lt + name: color__nisw schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__lte + name: created schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: id__n + name: created__empty schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: kind - schema: - type: string - description: Kind of interface - - in: query - name: l2vpn + name: created__gt schema: type: array items: - type: integer - maximum: 9223372036854775807 - minimum: -9223372036854775808 - format: int64 - nullable: true - description: L2VPN + type: string + format: date-time explode: true style: form - in: query - name: l2vpn__n + name: created__gte schema: type: array items: - type: integer - maximum: 9223372036854775807 - minimum: -9223372036854775808 - format: int64 - nullable: true - description: L2VPN + type: string + format: date-time explode: true style: form - in: query - name: l2vpn_id + name: created__lt schema: type: array items: - type: integer - description: L2VPN (ID) + type: string + format: date-time explode: true style: form - in: query - name: l2vpn_id__n + name: created__lte schema: type: array items: - type: integer - description: L2VPN (ID) + type: string + format: date-time explode: true style: form - in: query - name: label + name: created__n schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: label__empty + name: created_by_request schema: - type: boolean + type: string + format: uuid - in: query - name: label__ic + name: description schema: type: array items: @@ -23569,15 +27833,11 @@ paths: explode: true style: form - in: query - name: label__ie + name: description__empty schema: - type: array - items: - type: string - explode: true - style: form + type: boolean - in: query - name: label__iew + name: description__ic schema: type: array items: @@ -23585,7 +27845,7 @@ paths: explode: true style: form - in: query - name: label__isw + name: description__ie schema: type: array items: @@ -23593,7 +27853,7 @@ paths: explode: true style: form - in: query - name: label__n + name: description__iew schema: type: array items: @@ -23601,7 +27861,7 @@ paths: explode: true style: form - in: query - name: label__nic + name: description__isw schema: type: array items: @@ -23609,7 +27869,7 @@ paths: explode: true style: form - in: query - name: label__nie + name: description__n schema: type: array items: @@ -23617,7 +27877,7 @@ paths: explode: true style: form - in: query - name: label__niew + name: description__nic schema: type: array items: @@ -23625,7 +27885,7 @@ paths: explode: true style: form - in: query - name: label__nisw + name: description__nie schema: type: array items: @@ -23633,277 +27893,416 @@ paths: explode: true style: form - in: query - name: lag_id + name: description__niew schema: type: array items: - type: integer - description: LAG interface (ID) + type: string explode: true style: form - in: query - name: lag_id__n + name: description__nisw schema: type: array items: - type: integer - description: LAG interface (ID) + type: string explode: true style: form - in: query - name: last_updated + name: device schema: type: array items: type: string - format: date-time + nullable: true + description: Device (name) explode: true style: form - in: query - name: last_updated__empty + name: device__n schema: type: array items: type: string - format: date-time + nullable: true + description: Device (name) explode: true style: form - in: query - name: last_updated__gt + name: device_id schema: type: array items: - type: string - format: date-time + type: integer + description: Device (ID) explode: true style: form - in: query - name: last_updated__gte + name: device_id__n schema: type: array items: - type: string - format: date-time + type: integer + description: Device (ID) explode: true style: form - in: query - name: last_updated__lt + name: device_role schema: type: array items: type: string - format: date-time + description: Device role (slug) explode: true style: form - in: query - name: last_updated__lte + name: device_role__n schema: type: array items: type: string - format: date-time + description: Device role (slug) explode: true style: form - in: query - name: last_updated__n + name: device_role_id schema: type: array items: - type: string - format: date-time + type: integer + description: Device role (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: location + name: device_role_id__n schema: type: array items: - type: string - description: Location (slug) + type: integer + description: Device role (ID) explode: true style: form - in: query - name: location__n + name: device_status schema: type: array items: type: string - description: Location (slug) + x-spec-enum-id: 8d8971779f16ee18 explode: true style: form - in: query - name: location_id + name: device_status__empty schema: - type: array - items: - type: integer - description: Location (ID) - explode: true - style: form + type: boolean - in: query - name: location_id__n + name: device_status__ic schema: type: array items: - type: integer - description: Location (ID) + type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: mac_address + name: device_status__ie schema: type: array items: type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: mac_address__ic + name: device_status__iew schema: type: array items: type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: mac_address__ie + name: device_status__isw schema: type: array items: type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: mac_address__iew + name: device_status__n schema: type: array items: type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: mac_address__isw + name: device_status__nic schema: type: array items: type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: mac_address__n + name: device_status__nie schema: type: array items: type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: mac_address__nic + name: device_status__niew schema: type: array items: type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: mac_address__nie + name: device_status__nisw schema: type: array items: type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: mac_address__niew + name: device_type schema: type: array items: type: string + description: Device type (model) explode: true style: form - in: query - name: mac_address__nisw + name: device_type__n schema: type: array items: type: string + description: Device type (model) explode: true style: form - in: query - name: mark_connected - schema: - type: boolean - - in: query - name: mgmt_only - schema: - type: boolean - - in: query - name: mode - schema: - type: string - x-spec-enum-id: 79109bd9dbb73a3c - enum: - - access - - tagged - - tagged-all - description: 'IEEE 802.1Q tagging strategy - - - * `access` - Access - - * `tagged` - Tagged - - * `tagged-all` - Tagged (All)' - - in: query - name: mode__n - schema: - type: string - x-spec-enum-id: 79109bd9dbb73a3c - enum: - - access - - tagged - - tagged-all - description: 'IEEE 802.1Q tagging strategy - - - * `access` - Access - - * `tagged` - Tagged - - * `tagged-all` - Tagged (All)' - - in: query - name: modified_by_request - schema: - type: string - format: uuid - - in: query - name: module_id + name: device_type_id schema: type: array items: type: integer - nullable: true - description: Module (ID) + description: Device type (ID) explode: true style: form - in: query - name: module_id__n + name: device_type_id__n schema: type: array items: type: integer - nullable: true - description: Module (ID) + description: Device type (ID) explode: true style: form - in: query - name: mtu + name: id schema: type: array items: @@ -23912,11 +28311,11 @@ paths: explode: true style: form - in: query - name: mtu__empty + name: id__empty schema: type: boolean - in: query - name: mtu__gt + name: id__gt schema: type: array items: @@ -23925,7 +28324,7 @@ paths: explode: true style: form - in: query - name: mtu__gte + name: id__gte schema: type: array items: @@ -23934,7 +28333,7 @@ paths: explode: true style: form - in: query - name: mtu__lt + name: id__lt schema: type: array items: @@ -23943,7 +28342,7 @@ paths: explode: true style: form - in: query - name: mtu__lte + name: id__lte schema: type: array items: @@ -23952,7 +28351,7 @@ paths: explode: true style: form - in: query - name: mtu__n + name: id__n schema: type: array items: @@ -23961,7 +28360,7 @@ paths: explode: true style: form - in: query - name: name + name: label schema: type: array items: @@ -23969,11 +28368,11 @@ paths: explode: true style: form - in: query - name: name__empty + name: label__empty schema: type: boolean - in: query - name: name__ic + name: label__ic schema: type: array items: @@ -23981,7 +28380,7 @@ paths: explode: true style: form - in: query - name: name__ie + name: label__ie schema: type: array items: @@ -23989,7 +28388,7 @@ paths: explode: true style: form - in: query - name: name__iew + name: label__iew schema: type: array items: @@ -23997,7 +28396,7 @@ paths: explode: true style: form - in: query - name: name__isw + name: label__isw schema: type: array items: @@ -24005,7 +28404,7 @@ paths: explode: true style: form - in: query - name: name__n + name: label__n schema: type: array items: @@ -24013,7 +28412,7 @@ paths: explode: true style: form - in: query - name: name__nic + name: label__nic schema: type: array items: @@ -24021,7 +28420,7 @@ paths: explode: true style: form - in: query - name: name__nie + name: label__nie schema: type: array items: @@ -24029,7 +28428,7 @@ paths: explode: true style: form - in: query - name: name__niew + name: label__niew schema: type: array items: @@ -24037,7 +28436,7 @@ paths: explode: true style: form - in: query - name: name__nisw + name: label__nisw schema: type: array items: @@ -24045,497 +28444,298 @@ paths: explode: true style: form - in: query - name: occupied - schema: - type: boolean - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - in: query - name: parent_id - schema: - type: array - items: - type: integer - description: Parent interface (ID) - explode: true - style: form - - in: query - name: parent_id__n - schema: - type: array - items: - type: integer - description: Parent interface (ID) - explode: true - style: form - - in: query - name: poe_mode + name: last_updated schema: type: array items: type: string - x-spec-enum-id: 2f2fe6dcdc7772bd + format: date-time explode: true style: form - in: query - name: poe_mode__n + name: last_updated__empty schema: type: array items: type: string - x-spec-enum-id: 2f2fe6dcdc7772bd + format: date-time explode: true style: form - in: query - name: poe_type + name: last_updated__gt schema: type: array items: type: string - x-spec-enum-id: 74bd3be4012f6da9 + format: date-time explode: true style: form - in: query - name: poe_type__n + name: last_updated__gte schema: type: array items: type: string - x-spec-enum-id: 74bd3be4012f6da9 + format: date-time explode: true style: form - in: query - name: q - schema: - type: string - description: Search - - in: query - name: rack + name: last_updated__lt schema: type: array items: type: string - description: Rack (name) + format: date-time explode: true style: form - in: query - name: rack__n + name: last_updated__lte schema: type: array items: type: string - description: Rack (name) + format: date-time explode: true style: form - in: query - name: rack_id + name: last_updated__n schema: type: array items: - type: integer - description: Rack (ID) + type: string + format: date-time explode: true style: form - - in: query - name: rack_id__n + - name: limit + required: false + in: query + description: Number of results to return per page. schema: - type: array - items: - type: integer - description: Rack (ID) - explode: true - style: form + type: integer - in: query - name: region + name: location schema: type: array items: - type: integer - description: Region (slug) + type: string + description: Location (slug) explode: true style: form - in: query - name: region__n + name: location__n schema: type: array items: - type: integer - description: Region (slug) + type: string + description: Location (slug) explode: true style: form - in: query - name: region_id + name: location_id schema: type: array items: type: integer - description: Region (ID) + description: Location (ID) explode: true style: form - in: query - name: region_id__n + name: location_id__n schema: type: array items: type: integer - description: Region (ID) - explode: true - style: form - - in: query - name: rf_channel - schema: - type: array - items: - type: string - x-spec-enum-id: aac33cc237adc8f9 - title: Wireless channel - explode: true - style: form - - in: query - name: rf_channel__n - schema: - type: array - items: - type: string - x-spec-enum-id: aac33cc237adc8f9 - title: Wireless channel - explode: true - style: form - - in: query - name: rf_channel_frequency - schema: - type: array - items: - type: number - format: double + description: Location (ID) explode: true style: form - in: query - name: rf_channel_frequency__empty + name: mark_connected schema: type: boolean - in: query - name: rf_channel_frequency__gt - schema: - type: array - items: - type: number - format: double - explode: true - style: form - - in: query - name: rf_channel_frequency__gte - schema: - type: array - items: - type: number - format: double - explode: true - style: form - - in: query - name: rf_channel_frequency__lt + name: modified_by_request schema: - type: array - items: - type: number - format: double - explode: true - style: form + type: string + format: uuid - in: query - name: rf_channel_frequency__lte + name: module_id schema: type: array items: - type: number - format: double + type: integer + nullable: true + description: Module (ID) explode: true style: form - in: query - name: rf_channel_frequency__n + name: module_id__n schema: type: array items: - type: number - format: double + type: integer + nullable: true + description: Module (ID) explode: true style: form - in: query - name: rf_channel_width + name: name schema: type: array items: - type: number - format: double + type: string explode: true style: form - in: query - name: rf_channel_width__empty + name: name__empty schema: type: boolean - in: query - name: rf_channel_width__gt - schema: - type: array - items: - type: number - format: double - explode: true - style: form - - in: query - name: rf_channel_width__gte - schema: - type: array - items: - type: number - format: double - explode: true - style: form - - in: query - name: rf_channel_width__lt - schema: - type: array - items: - type: number - format: double - explode: true - style: form - - in: query - name: rf_channel_width__lte - schema: - type: array - items: - type: number - format: double - explode: true - style: form - - in: query - name: rf_channel_width__n - schema: - type: array - items: - type: number - format: double - explode: true - style: form - - in: query - name: rf_role + name: name__ic schema: type: array items: type: string - x-spec-enum-id: d2772dbea88b0fb1 - title: Wireless role explode: true style: form - in: query - name: rf_role__n + name: name__ie schema: type: array items: type: string - x-spec-enum-id: d2772dbea88b0fb1 - title: Wireless role explode: true style: form - in: query - name: role + name: name__iew schema: type: array items: type: string - description: Device role (slug) explode: true style: form - in: query - name: role__n + name: name__isw schema: type: array items: type: string - description: Device role (slug) - explode: true - style: form - - in: query - name: role_id - schema: - type: array - items: - type: integer - description: Device role (ID) explode: true style: form - in: query - name: role_id__n - schema: - type: array - items: - type: integer - description: Device role (ID) - explode: true - style: form - - in: query - name: site + name: name__n schema: type: array items: type: string - description: Site name (slug) explode: true style: form - in: query - name: site__n + name: name__nic schema: type: array items: type: string - description: Site name (slug) explode: true style: form - in: query - name: site_group + name: name__nie schema: type: array items: - type: integer - description: Site group (slug) + type: string explode: true style: form - in: query - name: site_group__n + name: name__niew schema: type: array items: - type: integer - description: Site group (slug) + type: string explode: true style: form - in: query - name: site_group_id + name: name__nisw schema: type: array items: - type: integer - description: Site group (ID) + type: string explode: true style: form - in: query - name: site_group_id__n + name: occupied schema: - type: array - items: - type: integer - description: Site group (ID) - explode: true - style: form - - in: query - name: site_id + type: boolean + - name: offset + required: false + in: query + description: The initial index from which to return the results. schema: - type: array - items: - type: integer - description: Site (ID) - explode: true - style: form - - in: query - name: site_id__n + type: integer + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. schema: - type: array - items: - type: integer - description: Site (ID) - explode: true - style: form + type: string - in: query - name: speed + name: q schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form + type: string + description: Search - in: query - name: speed__empty + name: rack schema: type: array items: - type: integer - format: int32 + type: string + description: Rack (name) explode: true style: form - in: query - name: speed__gt + name: rack__n schema: type: array items: - type: integer - format: int32 + type: string + description: Rack (name) explode: true style: form - in: query - name: speed__gte + name: rack_id schema: type: array items: type: integer - format: int32 + description: Rack (ID) explode: true style: form - in: query - name: speed__lt + name: rack_id__n schema: type: array items: type: integer - format: int32 + description: Rack (ID) explode: true style: form - in: query - name: speed__lte + name: rear_port_id schema: type: array items: type: integer - format: int32 explode: true style: form - in: query - name: speed__n + name: rear_port_id__n schema: type: array items: type: integer - format: int32 - explode: true - style: form - - in: query - name: tag - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: tag__n - schema: - type: array - items: - type: string explode: true style: form - in: query - name: tx_power + name: rear_port_position schema: type: array items: @@ -24544,11 +28744,11 @@ paths: explode: true style: form - in: query - name: tx_power__empty + name: rear_port_position__empty schema: type: boolean - in: query - name: tx_power__gt + name: rear_port_position__gt schema: type: array items: @@ -24557,7 +28757,7 @@ paths: explode: true style: form - in: query - name: tx_power__gte + name: rear_port_position__gte schema: type: array items: @@ -24566,7 +28766,7 @@ paths: explode: true style: form - in: query - name: tx_power__lt + name: rear_port_position__lt schema: type: array items: @@ -24575,7 +28775,7 @@ paths: explode: true style: form - in: query - name: tx_power__lte + name: rear_port_position__lte schema: type: array items: @@ -24584,7 +28784,7 @@ paths: explode: true style: form - in: query - name: tx_power__n + name: rear_port_position__n schema: type: array items: @@ -24593,126 +28793,107 @@ paths: explode: true style: form - in: query - name: type + name: region schema: type: array items: type: string - x-spec-enum-id: b9a351ea129ed754 explode: true style: form - in: query - name: type__n + name: region__n schema: type: array items: type: string - x-spec-enum-id: b9a351ea129ed754 explode: true style: form - in: query - name: updated_by_request - schema: - type: string - format: uuid - - in: query - name: vdc + name: region_id schema: type: array items: type: string - description: Virtual Device Context explode: true style: form - in: query - name: vdc__n + name: region_id__n schema: type: array items: type: string - description: Virtual Device Context explode: true style: form - in: query - name: vdc_id + name: site schema: type: array items: - type: integer - description: Virtual Device Context + type: string + description: Site name (slug) explode: true style: form - in: query - name: vdc_id__n + name: site__n schema: type: array items: - type: integer - description: Virtual Device Context + type: string + description: Site name (slug) explode: true style: form - in: query - name: vdc_identifier + name: site_group schema: type: array items: - type: integer - maximum: 32767 - minimum: 0 - nullable: true - description: Virtual Device Context (Identifier) + type: string explode: true style: form - in: query - name: vdc_identifier__n + name: site_group__n schema: type: array items: - type: integer - maximum: 32767 - minimum: 0 - nullable: true - description: Virtual Device Context (Identifier) + type: string explode: true style: form - in: query - name: virtual_chassis + name: site_group_id schema: type: array items: type: string - description: Virtual Chassis explode: true style: form - in: query - name: virtual_chassis__n + name: site_group_id__n schema: type: array items: type: string - description: Virtual Chassis explode: true style: form - in: query - name: virtual_chassis_id + name: site_id schema: type: array items: type: integer - description: Virtual Chassis (ID) + description: Site (ID) explode: true style: form - in: query - name: virtual_chassis_id__n + name: site_id__n schema: type: array items: type: integer - description: Virtual Chassis (ID) + description: Site (ID) explode: true style: form - in: query - name: virtual_chassis_member + name: tag schema: type: array items: @@ -24720,180 +28901,1631 @@ paths: explode: true style: form - in: query - name: virtual_chassis_member_id - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: vlan - schema: - type: string - description: Assigned VID - - in: query - name: vlan_id - schema: - type: string - description: Assigned VLAN - - in: query - name: vrf + name: tag__n schema: type: array items: type: string - nullable: true - title: Route distinguisher - description: VRF (RD) explode: true style: form - in: query - name: vrf__n + name: type schema: type: array items: type: string - nullable: true - title: Route distinguisher - description: VRF (RD) - explode: true - style: form - - in: query - name: vrf_id - schema: - type: array - items: - type: integer - description: VRF + x-spec-enum-id: c5086c01f1f9c18a explode: true style: form - in: query - name: vrf_id__n + name: type__empty schema: - type: array - items: - type: integer - description: VRF - explode: true - style: form + type: boolean - in: query - name: wireless_lan_id + name: type__ic schema: type: array items: - type: integer - description: Wireless LAN + type: string + x-spec-enum-id: c5086c01f1f9c18a + enum: + - 110-punch + - 4p2c + - 4p4c + - 6p2c + - 6p4c + - 6p6c + - 8p2c + - 8p4c + - 8p6c + - 8p8c + - bnc + - cs + - f + - fc + - gg45 + - lc + - lc-apc + - lc-pc + - lc-upc + - lsh + - lsh-apc + - lsh-pc + - lsh-upc + - lx5 + - lx5-apc + - lx5-pc + - lx5-upc + - mpo + - mrj21 + - mtrj + - n + - other + - sc + - sc-apc + - sc-pc + - sc-upc + - sma-905 + - sma-906 + - sn + - splice + - st + - tera-1p + - tera-2p + - tera-4p + - urm-p2 + - urm-p4 + - urm-p8 + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: '* `8p8c` - 8P8C + + * `8p6c` - 8P6C + + * `8p4c` - 8P4C + + * `8p2c` - 8P2C + + * `6p6c` - 6P6C + + * `6p4c` - 6P4C + + * `6p2c` - 6P2C + + * `4p4c` - 4P4C + + * `4p2c` - 4P2C + + * `gg45` - GG45 + + * `tera-4p` - TERA 4P + + * `tera-2p` - TERA 2P + + * `tera-1p` - TERA 1P + + * `110-punch` - 110 Punch + + * `bnc` - BNC + + * `f` - F Connector + + * `n` - N Connector + + * `mrj21` - MRJ21 + + * `fc` - FC + + * `lc` - LC + + * `lc-pc` - LC/PC + + * `lc-upc` - LC/UPC + + * `lc-apc` - LC/APC + + * `lsh` - LSH + + * `lsh-pc` - LSH/PC + + * `lsh-upc` - LSH/UPC + + * `lsh-apc` - LSH/APC + + * `lx5` - LX.5 + + * `lx5-pc` - LX.5/PC + + * `lx5-upc` - LX.5/UPC + + * `lx5-apc` - LX.5/APC + + * `mpo` - MPO + + * `mtrj` - MTRJ + + * `sc` - SC + + * `sc-pc` - SC/PC + + * `sc-upc` - SC/UPC + + * `sc-apc` - SC/APC + + * `st` - ST + + * `cs` - CS + + * `sn` - SN + + * `sma-905` - SMA 905 + + * `sma-906` - SMA 906 + + * `urm-p2` - URM-P2 + + * `urm-p4` - URM-P4 + + * `urm-p8` - URM-P8 + + * `splice` - Splice + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' explode: true style: form - in: query - name: wireless_lan_id__n + name: type__ie schema: type: array items: - type: integer - description: Wireless LAN + type: string + x-spec-enum-id: c5086c01f1f9c18a + enum: + - 110-punch + - 4p2c + - 4p4c + - 6p2c + - 6p4c + - 6p6c + - 8p2c + - 8p4c + - 8p6c + - 8p8c + - bnc + - cs + - f + - fc + - gg45 + - lc + - lc-apc + - lc-pc + - lc-upc + - lsh + - lsh-apc + - lsh-pc + - lsh-upc + - lx5 + - lx5-apc + - lx5-pc + - lx5-upc + - mpo + - mrj21 + - mtrj + - n + - other + - sc + - sc-apc + - sc-pc + - sc-upc + - sma-905 + - sma-906 + - sn + - splice + - st + - tera-1p + - tera-2p + - tera-4p + - urm-p2 + - urm-p4 + - urm-p8 + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: '* `8p8c` - 8P8C + + * `8p6c` - 8P6C + + * `8p4c` - 8P4C + + * `8p2c` - 8P2C + + * `6p6c` - 6P6C + + * `6p4c` - 6P4C + + * `6p2c` - 6P2C + + * `4p4c` - 4P4C + + * `4p2c` - 4P2C + + * `gg45` - GG45 + + * `tera-4p` - TERA 4P + + * `tera-2p` - TERA 2P + + * `tera-1p` - TERA 1P + + * `110-punch` - 110 Punch + + * `bnc` - BNC + + * `f` - F Connector + + * `n` - N Connector + + * `mrj21` - MRJ21 + + * `fc` - FC + + * `lc` - LC + + * `lc-pc` - LC/PC + + * `lc-upc` - LC/UPC + + * `lc-apc` - LC/APC + + * `lsh` - LSH + + * `lsh-pc` - LSH/PC + + * `lsh-upc` - LSH/UPC + + * `lsh-apc` - LSH/APC + + * `lx5` - LX.5 + + * `lx5-pc` - LX.5/PC + + * `lx5-upc` - LX.5/UPC + + * `lx5-apc` - LX.5/APC + + * `mpo` - MPO + + * `mtrj` - MTRJ + + * `sc` - SC + + * `sc-pc` - SC/PC + + * `sc-upc` - SC/UPC + + * `sc-apc` - SC/APC + + * `st` - ST + + * `cs` - CS + + * `sn` - SN + + * `sma-905` - SMA 905 + + * `sma-906` - SMA 906 + + * `urm-p2` - URM-P2 + + * `urm-p4` - URM-P4 + + * `urm-p8` - URM-P8 + + * `splice` - Splice + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' explode: true style: form - in: query - name: wireless_link_id + name: type__iew schema: type: array items: - type: integer - nullable: true - description: Wireless link + type: string + x-spec-enum-id: c5086c01f1f9c18a + enum: + - 110-punch + - 4p2c + - 4p4c + - 6p2c + - 6p4c + - 6p6c + - 8p2c + - 8p4c + - 8p6c + - 8p8c + - bnc + - cs + - f + - fc + - gg45 + - lc + - lc-apc + - lc-pc + - lc-upc + - lsh + - lsh-apc + - lsh-pc + - lsh-upc + - lx5 + - lx5-apc + - lx5-pc + - lx5-upc + - mpo + - mrj21 + - mtrj + - n + - other + - sc + - sc-apc + - sc-pc + - sc-upc + - sma-905 + - sma-906 + - sn + - splice + - st + - tera-1p + - tera-2p + - tera-4p + - urm-p2 + - urm-p4 + - urm-p8 + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: '* `8p8c` - 8P8C + + * `8p6c` - 8P6C + + * `8p4c` - 8P4C + + * `8p2c` - 8P2C + + * `6p6c` - 6P6C + + * `6p4c` - 6P4C + + * `6p2c` - 6P2C + + * `4p4c` - 4P4C + + * `4p2c` - 4P2C + + * `gg45` - GG45 + + * `tera-4p` - TERA 4P + + * `tera-2p` - TERA 2P + + * `tera-1p` - TERA 1P + + * `110-punch` - 110 Punch + + * `bnc` - BNC + + * `f` - F Connector + + * `n` - N Connector + + * `mrj21` - MRJ21 + + * `fc` - FC + + * `lc` - LC + + * `lc-pc` - LC/PC + + * `lc-upc` - LC/UPC + + * `lc-apc` - LC/APC + + * `lsh` - LSH + + * `lsh-pc` - LSH/PC + + * `lsh-upc` - LSH/UPC + + * `lsh-apc` - LSH/APC + + * `lx5` - LX.5 + + * `lx5-pc` - LX.5/PC + + * `lx5-upc` - LX.5/UPC + + * `lx5-apc` - LX.5/APC + + * `mpo` - MPO + + * `mtrj` - MTRJ + + * `sc` - SC + + * `sc-pc` - SC/PC + + * `sc-upc` - SC/UPC + + * `sc-apc` - SC/APC + + * `st` - ST + + * `cs` - CS + + * `sn` - SN + + * `sma-905` - SMA 905 + + * `sma-906` - SMA 906 + + * `urm-p2` - URM-P2 + + * `urm-p4` - URM-P4 + + * `urm-p8` - URM-P8 + + * `splice` - Splice + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' explode: true style: form - in: query - name: wireless_link_id__n + name: type__isw schema: type: array items: - type: integer - nullable: true - description: Wireless link + type: string + x-spec-enum-id: c5086c01f1f9c18a + enum: + - 110-punch + - 4p2c + - 4p4c + - 6p2c + - 6p4c + - 6p6c + - 8p2c + - 8p4c + - 8p6c + - 8p8c + - bnc + - cs + - f + - fc + - gg45 + - lc + - lc-apc + - lc-pc + - lc-upc + - lsh + - lsh-apc + - lsh-pc + - lsh-upc + - lx5 + - lx5-apc + - lx5-pc + - lx5-upc + - mpo + - mrj21 + - mtrj + - n + - other + - sc + - sc-apc + - sc-pc + - sc-upc + - sma-905 + - sma-906 + - sn + - splice + - st + - tera-1p + - tera-2p + - tera-4p + - urm-p2 + - urm-p4 + - urm-p8 + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: '* `8p8c` - 8P8C + + * `8p6c` - 8P6C + + * `8p4c` - 8P4C + + * `8p2c` - 8P2C + + * `6p6c` - 6P6C + + * `6p4c` - 6P4C + + * `6p2c` - 6P2C + + * `4p4c` - 4P4C + + * `4p2c` - 4P2C + + * `gg45` - GG45 + + * `tera-4p` - TERA 4P + + * `tera-2p` - TERA 2P + + * `tera-1p` - TERA 1P + + * `110-punch` - 110 Punch + + * `bnc` - BNC + + * `f` - F Connector + + * `n` - N Connector + + * `mrj21` - MRJ21 + + * `fc` - FC + + * `lc` - LC + + * `lc-pc` - LC/PC + + * `lc-upc` - LC/UPC + + * `lc-apc` - LC/APC + + * `lsh` - LSH + + * `lsh-pc` - LSH/PC + + * `lsh-upc` - LSH/UPC + + * `lsh-apc` - LSH/APC + + * `lx5` - LX.5 + + * `lx5-pc` - LX.5/PC + + * `lx5-upc` - LX.5/UPC + + * `lx5-apc` - LX.5/APC + + * `mpo` - MPO + + * `mtrj` - MTRJ + + * `sc` - SC + + * `sc-pc` - SC/PC + + * `sc-upc` - SC/UPC + + * `sc-apc` - SC/APC + + * `st` - ST + + * `cs` - CS + + * `sn` - SN + + * `sma-905` - SMA 905 + + * `sma-906` - SMA 906 + + * `urm-p2` - URM-P2 + + * `urm-p4` - URM-P4 + + * `urm-p8` - URM-P8 + + * `splice` - Splice + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' explode: true style: form - in: query - name: wwn + name: type__n schema: type: array items: type: string + x-spec-enum-id: c5086c01f1f9c18a + enum: + - 110-punch + - 4p2c + - 4p4c + - 6p2c + - 6p4c + - 6p6c + - 8p2c + - 8p4c + - 8p6c + - 8p8c + - bnc + - cs + - f + - fc + - gg45 + - lc + - lc-apc + - lc-pc + - lc-upc + - lsh + - lsh-apc + - lsh-pc + - lsh-upc + - lx5 + - lx5-apc + - lx5-pc + - lx5-upc + - mpo + - mrj21 + - mtrj + - n + - other + - sc + - sc-apc + - sc-pc + - sc-upc + - sma-905 + - sma-906 + - sn + - splice + - st + - tera-1p + - tera-2p + - tera-4p + - urm-p2 + - urm-p4 + - urm-p8 + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: '* `8p8c` - 8P8C + + * `8p6c` - 8P6C + + * `8p4c` - 8P4C + + * `8p2c` - 8P2C + + * `6p6c` - 6P6C + + * `6p4c` - 6P4C + + * `6p2c` - 6P2C + + * `4p4c` - 4P4C + + * `4p2c` - 4P2C + + * `gg45` - GG45 + + * `tera-4p` - TERA 4P + + * `tera-2p` - TERA 2P + + * `tera-1p` - TERA 1P + + * `110-punch` - 110 Punch + + * `bnc` - BNC + + * `f` - F Connector + + * `n` - N Connector + + * `mrj21` - MRJ21 + + * `fc` - FC + + * `lc` - LC + + * `lc-pc` - LC/PC + + * `lc-upc` - LC/UPC + + * `lc-apc` - LC/APC + + * `lsh` - LSH + + * `lsh-pc` - LSH/PC + + * `lsh-upc` - LSH/UPC + + * `lsh-apc` - LSH/APC + + * `lx5` - LX.5 + + * `lx5-pc` - LX.5/PC + + * `lx5-upc` - LX.5/UPC + + * `lx5-apc` - LX.5/APC + + * `mpo` - MPO + + * `mtrj` - MTRJ + + * `sc` - SC + + * `sc-pc` - SC/PC + + * `sc-upc` - SC/UPC + + * `sc-apc` - SC/APC + + * `st` - ST + + * `cs` - CS + + * `sn` - SN + + * `sma-905` - SMA 905 + + * `sma-906` - SMA 906 + + * `urm-p2` - URM-P2 + + * `urm-p4` - URM-P4 + + * `urm-p8` - URM-P8 + + * `splice` - Splice + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' explode: true style: form - in: query - name: wwn__ic + name: type__nic schema: type: array items: type: string + x-spec-enum-id: c5086c01f1f9c18a + enum: + - 110-punch + - 4p2c + - 4p4c + - 6p2c + - 6p4c + - 6p6c + - 8p2c + - 8p4c + - 8p6c + - 8p8c + - bnc + - cs + - f + - fc + - gg45 + - lc + - lc-apc + - lc-pc + - lc-upc + - lsh + - lsh-apc + - lsh-pc + - lsh-upc + - lx5 + - lx5-apc + - lx5-pc + - lx5-upc + - mpo + - mrj21 + - mtrj + - n + - other + - sc + - sc-apc + - sc-pc + - sc-upc + - sma-905 + - sma-906 + - sn + - splice + - st + - tera-1p + - tera-2p + - tera-4p + - urm-p2 + - urm-p4 + - urm-p8 + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: '* `8p8c` - 8P8C + + * `8p6c` - 8P6C + + * `8p4c` - 8P4C + + * `8p2c` - 8P2C + + * `6p6c` - 6P6C + + * `6p4c` - 6P4C + + * `6p2c` - 6P2C + + * `4p4c` - 4P4C + + * `4p2c` - 4P2C + + * `gg45` - GG45 + + * `tera-4p` - TERA 4P + + * `tera-2p` - TERA 2P + + * `tera-1p` - TERA 1P + + * `110-punch` - 110 Punch + + * `bnc` - BNC + + * `f` - F Connector + + * `n` - N Connector + + * `mrj21` - MRJ21 + + * `fc` - FC + + * `lc` - LC + + * `lc-pc` - LC/PC + + * `lc-upc` - LC/UPC + + * `lc-apc` - LC/APC + + * `lsh` - LSH + + * `lsh-pc` - LSH/PC + + * `lsh-upc` - LSH/UPC + + * `lsh-apc` - LSH/APC + + * `lx5` - LX.5 + + * `lx5-pc` - LX.5/PC + + * `lx5-upc` - LX.5/UPC + + * `lx5-apc` - LX.5/APC + + * `mpo` - MPO + + * `mtrj` - MTRJ + + * `sc` - SC + + * `sc-pc` - SC/PC + + * `sc-upc` - SC/UPC + + * `sc-apc` - SC/APC + + * `st` - ST + + * `cs` - CS + + * `sn` - SN + + * `sma-905` - SMA 905 + + * `sma-906` - SMA 906 + + * `urm-p2` - URM-P2 + + * `urm-p4` - URM-P4 + + * `urm-p8` - URM-P8 + + * `splice` - Splice + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' explode: true style: form - in: query - name: wwn__ie + name: type__nie schema: type: array items: type: string + x-spec-enum-id: c5086c01f1f9c18a + enum: + - 110-punch + - 4p2c + - 4p4c + - 6p2c + - 6p4c + - 6p6c + - 8p2c + - 8p4c + - 8p6c + - 8p8c + - bnc + - cs + - f + - fc + - gg45 + - lc + - lc-apc + - lc-pc + - lc-upc + - lsh + - lsh-apc + - lsh-pc + - lsh-upc + - lx5 + - lx5-apc + - lx5-pc + - lx5-upc + - mpo + - mrj21 + - mtrj + - n + - other + - sc + - sc-apc + - sc-pc + - sc-upc + - sma-905 + - sma-906 + - sn + - splice + - st + - tera-1p + - tera-2p + - tera-4p + - urm-p2 + - urm-p4 + - urm-p8 + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: '* `8p8c` - 8P8C + + * `8p6c` - 8P6C + + * `8p4c` - 8P4C + + * `8p2c` - 8P2C + + * `6p6c` - 6P6C + + * `6p4c` - 6P4C + + * `6p2c` - 6P2C + + * `4p4c` - 4P4C + + * `4p2c` - 4P2C + + * `gg45` - GG45 + + * `tera-4p` - TERA 4P + + * `tera-2p` - TERA 2P + + * `tera-1p` - TERA 1P + + * `110-punch` - 110 Punch + + * `bnc` - BNC + + * `f` - F Connector + + * `n` - N Connector + + * `mrj21` - MRJ21 + + * `fc` - FC + + * `lc` - LC + + * `lc-pc` - LC/PC + + * `lc-upc` - LC/UPC + + * `lc-apc` - LC/APC + + * `lsh` - LSH + + * `lsh-pc` - LSH/PC + + * `lsh-upc` - LSH/UPC + + * `lsh-apc` - LSH/APC + + * `lx5` - LX.5 + + * `lx5-pc` - LX.5/PC + + * `lx5-upc` - LX.5/UPC + + * `lx5-apc` - LX.5/APC + + * `mpo` - MPO + + * `mtrj` - MTRJ + + * `sc` - SC + + * `sc-pc` - SC/PC + + * `sc-upc` - SC/UPC + + * `sc-apc` - SC/APC + + * `st` - ST + + * `cs` - CS + + * `sn` - SN + + * `sma-905` - SMA 905 + + * `sma-906` - SMA 906 + + * `urm-p2` - URM-P2 + + * `urm-p4` - URM-P4 + + * `urm-p8` - URM-P8 + + * `splice` - Splice + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' explode: true style: form - in: query - name: wwn__iew + name: type__niew schema: type: array items: type: string + x-spec-enum-id: c5086c01f1f9c18a + enum: + - 110-punch + - 4p2c + - 4p4c + - 6p2c + - 6p4c + - 6p6c + - 8p2c + - 8p4c + - 8p6c + - 8p8c + - bnc + - cs + - f + - fc + - gg45 + - lc + - lc-apc + - lc-pc + - lc-upc + - lsh + - lsh-apc + - lsh-pc + - lsh-upc + - lx5 + - lx5-apc + - lx5-pc + - lx5-upc + - mpo + - mrj21 + - mtrj + - n + - other + - sc + - sc-apc + - sc-pc + - sc-upc + - sma-905 + - sma-906 + - sn + - splice + - st + - tera-1p + - tera-2p + - tera-4p + - urm-p2 + - urm-p4 + - urm-p8 + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: '* `8p8c` - 8P8C + + * `8p6c` - 8P6C + + * `8p4c` - 8P4C + + * `8p2c` - 8P2C + + * `6p6c` - 6P6C + + * `6p4c` - 6P4C + + * `6p2c` - 6P2C + + * `4p4c` - 4P4C + + * `4p2c` - 4P2C + + * `gg45` - GG45 + + * `tera-4p` - TERA 4P + + * `tera-2p` - TERA 2P + + * `tera-1p` - TERA 1P + + * `110-punch` - 110 Punch + + * `bnc` - BNC + + * `f` - F Connector + + * `n` - N Connector + + * `mrj21` - MRJ21 + + * `fc` - FC + + * `lc` - LC + + * `lc-pc` - LC/PC + + * `lc-upc` - LC/UPC + + * `lc-apc` - LC/APC + + * `lsh` - LSH + + * `lsh-pc` - LSH/PC + + * `lsh-upc` - LSH/UPC + + * `lsh-apc` - LSH/APC + + * `lx5` - LX.5 + + * `lx5-pc` - LX.5/PC + + * `lx5-upc` - LX.5/UPC + + * `lx5-apc` - LX.5/APC + + * `mpo` - MPO + + * `mtrj` - MTRJ + + * `sc` - SC + + * `sc-pc` - SC/PC + + * `sc-upc` - SC/UPC + + * `sc-apc` - SC/APC + + * `st` - ST + + * `cs` - CS + + * `sn` - SN + + * `sma-905` - SMA 905 + + * `sma-906` - SMA 906 + + * `urm-p2` - URM-P2 + + * `urm-p4` - URM-P4 + + * `urm-p8` - URM-P8 + + * `splice` - Splice + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' explode: true style: form - in: query - name: wwn__isw + name: type__nisw schema: type: array items: type: string + x-spec-enum-id: c5086c01f1f9c18a + enum: + - 110-punch + - 4p2c + - 4p4c + - 6p2c + - 6p4c + - 6p6c + - 8p2c + - 8p4c + - 8p6c + - 8p8c + - bnc + - cs + - f + - fc + - gg45 + - lc + - lc-apc + - lc-pc + - lc-upc + - lsh + - lsh-apc + - lsh-pc + - lsh-upc + - lx5 + - lx5-apc + - lx5-pc + - lx5-upc + - mpo + - mrj21 + - mtrj + - n + - other + - sc + - sc-apc + - sc-pc + - sc-upc + - sma-905 + - sma-906 + - sn + - splice + - st + - tera-1p + - tera-2p + - tera-4p + - urm-p2 + - urm-p4 + - urm-p8 + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: '* `8p8c` - 8P8C + + * `8p6c` - 8P6C + + * `8p4c` - 8P4C + + * `8p2c` - 8P2C + + * `6p6c` - 6P6C + + * `6p4c` - 6P4C + + * `6p2c` - 6P2C + + * `4p4c` - 4P4C + + * `4p2c` - 4P2C + + * `gg45` - GG45 + + * `tera-4p` - TERA 4P + + * `tera-2p` - TERA 2P + + * `tera-1p` - TERA 1P + + * `110-punch` - 110 Punch + + * `bnc` - BNC + + * `f` - F Connector + + * `n` - N Connector + + * `mrj21` - MRJ21 + + * `fc` - FC + + * `lc` - LC + + * `lc-pc` - LC/PC + + * `lc-upc` - LC/UPC + + * `lc-apc` - LC/APC + + * `lsh` - LSH + + * `lsh-pc` - LSH/PC + + * `lsh-upc` - LSH/UPC + + * `lsh-apc` - LSH/APC + + * `lx5` - LX.5 + + * `lx5-pc` - LX.5/PC + + * `lx5-upc` - LX.5/UPC + + * `lx5-apc` - LX.5/APC + + * `mpo` - MPO + + * `mtrj` - MTRJ + + * `sc` - SC + + * `sc-pc` - SC/PC + + * `sc-upc` - SC/UPC + + * `sc-apc` - SC/APC + + * `st` - ST + + * `cs` - CS + + * `sn` - SN + + * `sma-905` - SMA 905 + + * `sma-906` - SMA 906 + + * `urm-p2` - URM-P2 + + * `urm-p4` - URM-P4 + + * `urm-p8` - URM-P8 + + * `splice` - Splice + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' explode: true style: form - in: query - name: wwn__n + name: updated_by_request schema: - type: array - items: - type: string - explode: true - style: form + type: string + format: uuid - in: query - name: wwn__nic + name: virtual_chassis schema: type: array items: type: string + description: Virtual Chassis explode: true style: form - in: query - name: wwn__nie + name: virtual_chassis__n schema: type: array items: type: string + description: Virtual Chassis explode: true style: form - in: query - name: wwn__niew + name: virtual_chassis_id schema: type: array items: - type: string + type: integer + description: Virtual Chassis (ID) explode: true style: form - in: query - name: wwn__nisw + name: virtual_chassis_id__n schema: type: array items: - type: string + type: integer + description: Virtual Chassis (ID) explode: true style: form tags: @@ -24906,21 +30538,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedInterfaceList' + $ref: '#/components/schemas/PaginatedFrontPortList' description: '' post: - operationId: dcim_interfaces_create - description: Post a list of interface objects. + operationId: dcim_front_ports_create + description: Post a list of front port objects. tags: - dcim requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableInterfaceRequest' + $ref: '#/components/schemas/WritableFrontPortRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableInterfaceRequest' + $ref: '#/components/schemas/WritableFrontPortRequest' required: true security: - cookieAuth: [] @@ -24930,12 +30562,12 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Interface' + $ref: '#/components/schemas/FrontPort' description: '' put: - operationId: dcim_interfaces_bulk_update - description: Put a list of interface objects. - tags: + operationId: dcim_front_ports_bulk_update + description: Put a list of front port objects. + tags: - dcim requestBody: content: @@ -24943,12 +30575,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/InterfaceRequest' + $ref: '#/components/schemas/FrontPortRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/InterfaceRequest' + $ref: '#/components/schemas/FrontPortRequest' required: true security: - cookieAuth: [] @@ -24960,11 +30592,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/Interface' + $ref: '#/components/schemas/FrontPort' description: '' patch: - operationId: dcim_interfaces_bulk_partial_update - description: Patch a list of interface objects. + operationId: dcim_front_ports_bulk_partial_update + description: Patch a list of front port objects. tags: - dcim requestBody: @@ -24973,12 +30605,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/InterfaceRequest' + $ref: '#/components/schemas/FrontPortRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/InterfaceRequest' + $ref: '#/components/schemas/FrontPortRequest' required: true security: - cookieAuth: [] @@ -24990,11 +30622,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/Interface' + $ref: '#/components/schemas/FrontPort' description: '' delete: - operationId: dcim_interfaces_bulk_destroy - description: Delete a list of interface objects. + operationId: dcim_front_ports_bulk_destroy + description: Delete a list of front port objects. tags: - dcim requestBody: @@ -25003,12 +30635,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/InterfaceRequest' + $ref: '#/components/schemas/FrontPortRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/InterfaceRequest' + $ref: '#/components/schemas/FrontPortRequest' required: true security: - cookieAuth: [] @@ -25016,16 +30648,16 @@ paths: responses: '204': description: No response body - /api/dcim/interfaces/{id}/: + /api/dcim/front-ports/{id}/: get: - operationId: dcim_interfaces_retrieve - description: Get a interface object. + operationId: dcim_front_ports_retrieve + description: Get a front port object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this interface. + description: A unique integer value identifying this front port. required: true tags: - dcim @@ -25037,17 +30669,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Interface' + $ref: '#/components/schemas/FrontPort' description: '' put: - operationId: dcim_interfaces_update - description: Put a interface object. + operationId: dcim_front_ports_update + description: Put a front port object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this interface. + description: A unique integer value identifying this front port. required: true tags: - dcim @@ -25055,10 +30687,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/WritableInterfaceRequest' + $ref: '#/components/schemas/WritableFrontPortRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableInterfaceRequest' + $ref: '#/components/schemas/WritableFrontPortRequest' required: true security: - cookieAuth: [] @@ -25068,17 +30700,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Interface' + $ref: '#/components/schemas/FrontPort' description: '' patch: - operationId: dcim_interfaces_partial_update - description: Patch a interface object. + operationId: dcim_front_ports_partial_update + description: Patch a front port object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this interface. + description: A unique integer value identifying this front port. required: true tags: - dcim @@ -25086,10 +30718,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PatchedWritableInterfaceRequest' + $ref: '#/components/schemas/PatchedWritableFrontPortRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedWritableInterfaceRequest' + $ref: '#/components/schemas/PatchedWritableFrontPortRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -25098,17 +30730,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Interface' + $ref: '#/components/schemas/FrontPort' description: '' delete: - operationId: dcim_interfaces_destroy - description: Delete a interface object. + operationId: dcim_front_ports_destroy + description: Delete a front port object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this interface. + description: A unique integer value identifying this front port. required: true tags: - dcim @@ -25118,17 +30750,16 @@ paths: responses: '204': description: No response body - /api/dcim/interfaces/{id}/trace/: + /api/dcim/front-ports/{id}/paths/: get: - operationId: dcim_interfaces_trace_retrieve - description: Trace a complete cable path and return each segment as a three-tuple - of (termination, cable, termination). + operationId: dcim_front_ports_paths_retrieve + description: Return all CablePaths which traverse a given pass-through port. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this interface. + description: A unique integer value identifying this front port. required: true tags: - dcim @@ -25140,83 +30771,99 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Interface' + $ref: '#/components/schemas/FrontPort' description: '' - /api/dcim/inventory-item-roles/: + /api/dcim/interface-templates/: get: - operationId: dcim_inventory_item_roles_list - description: Get a list of inventory item role objects. + operationId: dcim_interface_templates_list + description: Get a list of interface template objects. parameters: - in: query - name: color + name: bridge_id schema: type: array items: - type: string + type: integer explode: true style: form - in: query - name: color__empty + name: bridge_id__n schema: - type: boolean + type: array + items: + type: integer + explode: true + style: form - in: query - name: color__ic + name: created schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: color__ie + name: created__empty schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: color__iew + name: created__gt schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: color__isw + name: created__gte schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: color__n + name: created__lt schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: color__nic + name: created__lte schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: color__nie + name: created__n schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: color__niew + name: created_by_request + schema: + type: string + format: uuid + - in: query + name: description schema: type: array items: @@ -25224,7 +30871,11 @@ paths: explode: true style: form - in: query - name: color__nisw + name: description__empty + schema: + type: boolean + - in: query + name: description__ic schema: type: array items: @@ -25232,135 +30883,153 @@ paths: explode: true style: form - in: query - name: created + name: description__ie schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__empty + name: description__iew schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__gt + name: description__isw schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__gte + name: description__n schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__lt + name: description__nic schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__lte + name: description__nie schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__n + name: description__niew schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created_by_request + name: description__nisw schema: - type: string - format: uuid + type: array + items: + type: string + explode: true + style: form - in: query - name: description + name: device_type_id schema: type: array items: - type: string + type: integer + nullable: true + description: Device type (ID) explode: true style: form - in: query - name: description__empty + name: device_type_id__n + schema: + type: array + items: + type: integer + nullable: true + description: Device type (ID) + explode: true + style: form + - in: query + name: enabled schema: type: boolean - in: query - name: description__ic + name: id schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: description__ie + name: id__empty + schema: + type: boolean + - in: query + name: id__gt schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: description__iew + name: id__gte schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: description__isw + name: id__lt schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: description__n + name: id__lte schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: description__nic + name: id__n schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: description__nie + name: label schema: type: array items: @@ -25368,7 +31037,11 @@ paths: explode: true style: form - in: query - name: description__niew + name: label__empty + schema: + type: boolean + - in: query + name: label__ic schema: type: array items: @@ -25376,7 +31049,7 @@ paths: explode: true style: form - in: query - name: description__nisw + name: label__ie schema: type: array items: @@ -25384,61 +31057,59 @@ paths: explode: true style: form - in: query - name: id + name: label__iew schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__empty + name: label__isw schema: - type: boolean + type: array + items: + type: string + explode: true + style: form - in: query - name: id__gt + name: label__n schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__gte + name: label__nic schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__lt + name: label__nie schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__lte + name: label__niew schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__n + name: label__nisw schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query @@ -25510,11 +31181,35 @@ paths: description: Number of results to return per page. schema: type: integer + - in: query + name: mgmt_only + schema: + type: boolean - in: query name: modified_by_request schema: type: string format: uuid + - in: query + name: module_type_id + schema: + type: array + items: + type: integer + nullable: true + description: Module type (ID) + explode: true + style: form + - in: query + name: module_type_id__n + schema: + type: array + items: + type: integer + nullable: true + description: Module type (ID) + explode: true + style: form - in: query name: name schema: @@ -25612,973 +31307,4589 @@ paths: schema: type: string - in: query - name: q - schema: - type: string - description: Search - - in: query - name: slug + name: poe_mode schema: type: array items: type: string + x-spec-enum-id: 2f2fe6dcdc7772bd explode: true style: form - in: query - name: slug__empty + name: poe_mode__empty schema: type: boolean - in: query - name: slug__ic - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__ie + name: poe_mode__ic schema: type: array items: type: string + x-spec-enum-id: 2f2fe6dcdc7772bd + enum: + - '' + - pd + - pse + description: '* `pd` - PD + + * `pse` - PSE' explode: true style: form - in: query - name: slug__iew + name: poe_mode__ie schema: type: array items: type: string + x-spec-enum-id: 2f2fe6dcdc7772bd + enum: + - '' + - pd + - pse + description: '* `pd` - PD + + * `pse` - PSE' explode: true style: form - in: query - name: slug__isw + name: poe_mode__iew schema: type: array items: type: string + x-spec-enum-id: 2f2fe6dcdc7772bd + enum: + - '' + - pd + - pse + description: '* `pd` - PD + + * `pse` - PSE' explode: true style: form - in: query - name: slug__n + name: poe_mode__isw schema: type: array items: type: string + x-spec-enum-id: 2f2fe6dcdc7772bd + enum: + - '' + - pd + - pse + description: '* `pd` - PD + + * `pse` - PSE' explode: true style: form - in: query - name: slug__nic + name: poe_mode__n schema: type: array items: type: string + x-spec-enum-id: 2f2fe6dcdc7772bd + enum: + - '' + - pd + - pse + description: '* `pd` - PD + + * `pse` - PSE' explode: true style: form - in: query - name: slug__nie + name: poe_mode__nic schema: type: array items: type: string + x-spec-enum-id: 2f2fe6dcdc7772bd + enum: + - '' + - pd + - pse + description: '* `pd` - PD + + * `pse` - PSE' explode: true style: form - in: query - name: slug__niew + name: poe_mode__nie schema: type: array items: type: string + x-spec-enum-id: 2f2fe6dcdc7772bd + enum: + - '' + - pd + - pse + description: '* `pd` - PD + + * `pse` - PSE' explode: true style: form - in: query - name: slug__nisw + name: poe_mode__niew schema: type: array items: type: string + x-spec-enum-id: 2f2fe6dcdc7772bd + enum: + - '' + - pd + - pse + description: '* `pd` - PD + + * `pse` - PSE' explode: true style: form - in: query - name: tag + name: poe_mode__nisw schema: type: array items: type: string + x-spec-enum-id: 2f2fe6dcdc7772bd + enum: + - '' + - pd + - pse + description: '* `pd` - PD + + * `pse` - PSE' explode: true style: form - in: query - name: tag__n + name: poe_type schema: type: array items: type: string + x-spec-enum-id: 74bd3be4012f6da9 explode: true style: form - in: query - name: updated_by_request - schema: - type: string - format: uuid - tags: - - dcim - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/PaginatedInventoryItemRoleList' - description: '' - post: - operationId: dcim_inventory_item_roles_create - description: Post a list of inventory item role objects. - tags: - - dcim - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/InventoryItemRoleRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/InventoryItemRoleRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '201': - content: - application/json: - schema: - $ref: '#/components/schemas/InventoryItemRole' - description: '' - put: - operationId: dcim_inventory_item_roles_bulk_update - description: Put a list of inventory item role objects. - tags: - - dcim - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/InventoryItemRoleRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/InventoryItemRoleRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/InventoryItemRole' - description: '' - patch: - operationId: dcim_inventory_item_roles_bulk_partial_update - description: Patch a list of inventory item role objects. - tags: - - dcim - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/InventoryItemRoleRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/InventoryItemRoleRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/InventoryItemRole' - description: '' - delete: - operationId: dcim_inventory_item_roles_bulk_destroy - description: Delete a list of inventory item role objects. - tags: - - dcim - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/InventoryItemRoleRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/InventoryItemRoleRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '204': - description: No response body - /api/dcim/inventory-item-roles/{id}/: - get: - operationId: dcim_inventory_item_roles_retrieve - description: Get a inventory item role object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this inventory item role. - required: true - tags: - - dcim - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/InventoryItemRole' - description: '' - put: - operationId: dcim_inventory_item_roles_update - description: Put a inventory item role object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this inventory item role. - required: true - tags: - - dcim - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/InventoryItemRoleRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/InventoryItemRoleRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/InventoryItemRole' - description: '' - patch: - operationId: dcim_inventory_item_roles_partial_update - description: Patch a inventory item role object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this inventory item role. - required: true - tags: - - dcim - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/PatchedInventoryItemRoleRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/PatchedInventoryItemRoleRequest' - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/InventoryItemRole' - description: '' - delete: - operationId: dcim_inventory_item_roles_destroy - description: Delete a inventory item role object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this inventory item role. - required: true - tags: - - dcim - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '204': - description: No response body - /api/dcim/inventory-item-templates/: - get: - operationId: dcim_inventory_item_templates_list - description: Get a list of inventory item template objects. - parameters: - - in: query - name: component_id - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: component_id__empty - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: component_id__gt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: component_id__gte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: component_id__lt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: component_id__lte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: component_id__n - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: component_type - schema: - type: string - - in: query - name: component_type__n - schema: - type: string - - in: query - name: created + name: poe_type__empty schema: - type: array - items: - type: string - format: date-time - explode: true - style: form + type: boolean - in: query - name: created__empty + name: poe_type__ic schema: type: array items: type: string - format: date-time + x-spec-enum-id: 74bd3be4012f6da9 + enum: + - '' + - passive-24v-2pair + - passive-24v-4pair + - passive-48v-2pair + - passive-48v-4pair + - type1-ieee802.3af + - type2-ieee802.3at + - type3-ieee802.3bt + - type4-ieee802.3bt + description: '* `type1-ieee802.3af` - 802.3af (Type 1) + + * `type2-ieee802.3at` - 802.3at (Type 2) + + * `type3-ieee802.3bt` - 802.3bt (Type 3) + + * `type4-ieee802.3bt` - 802.3bt (Type 4) + + * `passive-24v-2pair` - Passive 24V (2-pair) + + * `passive-24v-4pair` - Passive 24V (4-pair) + + * `passive-48v-2pair` - Passive 48V (2-pair) + + * `passive-48v-4pair` - Passive 48V (4-pair)' explode: true style: form - in: query - name: created__gt + name: poe_type__ie schema: type: array items: type: string - format: date-time + x-spec-enum-id: 74bd3be4012f6da9 + enum: + - '' + - passive-24v-2pair + - passive-24v-4pair + - passive-48v-2pair + - passive-48v-4pair + - type1-ieee802.3af + - type2-ieee802.3at + - type3-ieee802.3bt + - type4-ieee802.3bt + description: '* `type1-ieee802.3af` - 802.3af (Type 1) + + * `type2-ieee802.3at` - 802.3at (Type 2) + + * `type3-ieee802.3bt` - 802.3bt (Type 3) + + * `type4-ieee802.3bt` - 802.3bt (Type 4) + + * `passive-24v-2pair` - Passive 24V (2-pair) + + * `passive-24v-4pair` - Passive 24V (4-pair) + + * `passive-48v-2pair` - Passive 48V (2-pair) + + * `passive-48v-4pair` - Passive 48V (4-pair)' explode: true style: form - in: query - name: created__gte + name: poe_type__iew schema: type: array items: type: string - format: date-time + x-spec-enum-id: 74bd3be4012f6da9 + enum: + - '' + - passive-24v-2pair + - passive-24v-4pair + - passive-48v-2pair + - passive-48v-4pair + - type1-ieee802.3af + - type2-ieee802.3at + - type3-ieee802.3bt + - type4-ieee802.3bt + description: '* `type1-ieee802.3af` - 802.3af (Type 1) + + * `type2-ieee802.3at` - 802.3at (Type 2) + + * `type3-ieee802.3bt` - 802.3bt (Type 3) + + * `type4-ieee802.3bt` - 802.3bt (Type 4) + + * `passive-24v-2pair` - Passive 24V (2-pair) + + * `passive-24v-4pair` - Passive 24V (4-pair) + + * `passive-48v-2pair` - Passive 48V (2-pair) + + * `passive-48v-4pair` - Passive 48V (4-pair)' explode: true style: form - in: query - name: created__lt + name: poe_type__isw schema: type: array items: type: string - format: date-time + x-spec-enum-id: 74bd3be4012f6da9 + enum: + - '' + - passive-24v-2pair + - passive-24v-4pair + - passive-48v-2pair + - passive-48v-4pair + - type1-ieee802.3af + - type2-ieee802.3at + - type3-ieee802.3bt + - type4-ieee802.3bt + description: '* `type1-ieee802.3af` - 802.3af (Type 1) + + * `type2-ieee802.3at` - 802.3at (Type 2) + + * `type3-ieee802.3bt` - 802.3bt (Type 3) + + * `type4-ieee802.3bt` - 802.3bt (Type 4) + + * `passive-24v-2pair` - Passive 24V (2-pair) + + * `passive-24v-4pair` - Passive 24V (4-pair) + + * `passive-48v-2pair` - Passive 48V (2-pair) + + * `passive-48v-4pair` - Passive 48V (4-pair)' explode: true style: form - in: query - name: created__lte + name: poe_type__n schema: type: array items: type: string - format: date-time + x-spec-enum-id: 74bd3be4012f6da9 + enum: + - '' + - passive-24v-2pair + - passive-24v-4pair + - passive-48v-2pair + - passive-48v-4pair + - type1-ieee802.3af + - type2-ieee802.3at + - type3-ieee802.3bt + - type4-ieee802.3bt + description: '* `type1-ieee802.3af` - 802.3af (Type 1) + + * `type2-ieee802.3at` - 802.3at (Type 2) + + * `type3-ieee802.3bt` - 802.3bt (Type 3) + + * `type4-ieee802.3bt` - 802.3bt (Type 4) + + * `passive-24v-2pair` - Passive 24V (2-pair) + + * `passive-24v-4pair` - Passive 24V (4-pair) + + * `passive-48v-2pair` - Passive 48V (2-pair) + + * `passive-48v-4pair` - Passive 48V (4-pair)' explode: true style: form - in: query - name: created__n + name: poe_type__nic schema: type: array items: type: string - format: date-time + x-spec-enum-id: 74bd3be4012f6da9 + enum: + - '' + - passive-24v-2pair + - passive-24v-4pair + - passive-48v-2pair + - passive-48v-4pair + - type1-ieee802.3af + - type2-ieee802.3at + - type3-ieee802.3bt + - type4-ieee802.3bt + description: '* `type1-ieee802.3af` - 802.3af (Type 1) + + * `type2-ieee802.3at` - 802.3at (Type 2) + + * `type3-ieee802.3bt` - 802.3bt (Type 3) + + * `type4-ieee802.3bt` - 802.3bt (Type 4) + + * `passive-24v-2pair` - Passive 24V (2-pair) + + * `passive-24v-4pair` - Passive 24V (4-pair) + + * `passive-48v-2pair` - Passive 48V (2-pair) + + * `passive-48v-4pair` - Passive 48V (4-pair)' explode: true style: form - in: query - name: created_by_request - schema: - type: string - format: uuid - - in: query - name: description + name: poe_type__nie schema: type: array items: type: string + x-spec-enum-id: 74bd3be4012f6da9 + enum: + - '' + - passive-24v-2pair + - passive-24v-4pair + - passive-48v-2pair + - passive-48v-4pair + - type1-ieee802.3af + - type2-ieee802.3at + - type3-ieee802.3bt + - type4-ieee802.3bt + description: '* `type1-ieee802.3af` - 802.3af (Type 1) + + * `type2-ieee802.3at` - 802.3at (Type 2) + + * `type3-ieee802.3bt` - 802.3bt (Type 3) + + * `type4-ieee802.3bt` - 802.3bt (Type 4) + + * `passive-24v-2pair` - Passive 24V (2-pair) + + * `passive-24v-4pair` - Passive 24V (4-pair) + + * `passive-48v-2pair` - Passive 48V (2-pair) + + * `passive-48v-4pair` - Passive 48V (4-pair)' explode: true style: form - in: query - name: description__empty - schema: - type: boolean - - in: query - name: description__ic + name: poe_type__niew schema: type: array items: type: string + x-spec-enum-id: 74bd3be4012f6da9 + enum: + - '' + - passive-24v-2pair + - passive-24v-4pair + - passive-48v-2pair + - passive-48v-4pair + - type1-ieee802.3af + - type2-ieee802.3at + - type3-ieee802.3bt + - type4-ieee802.3bt + description: '* `type1-ieee802.3af` - 802.3af (Type 1) + + * `type2-ieee802.3at` - 802.3at (Type 2) + + * `type3-ieee802.3bt` - 802.3bt (Type 3) + + * `type4-ieee802.3bt` - 802.3bt (Type 4) + + * `passive-24v-2pair` - Passive 24V (2-pair) + + * `passive-24v-4pair` - Passive 24V (4-pair) + + * `passive-48v-2pair` - Passive 48V (2-pair) + + * `passive-48v-4pair` - Passive 48V (4-pair)' explode: true style: form - in: query - name: description__ie + name: poe_type__nisw schema: type: array items: type: string + x-spec-enum-id: 74bd3be4012f6da9 + enum: + - '' + - passive-24v-2pair + - passive-24v-4pair + - passive-48v-2pair + - passive-48v-4pair + - type1-ieee802.3af + - type2-ieee802.3at + - type3-ieee802.3bt + - type4-ieee802.3bt + description: '* `type1-ieee802.3af` - 802.3af (Type 1) + + * `type2-ieee802.3at` - 802.3at (Type 2) + + * `type3-ieee802.3bt` - 802.3bt (Type 3) + + * `type4-ieee802.3bt` - 802.3bt (Type 4) + + * `passive-24v-2pair` - Passive 24V (2-pair) + + * `passive-24v-4pair` - Passive 24V (4-pair) + + * `passive-48v-2pair` - Passive 48V (2-pair) + + * `passive-48v-4pair` - Passive 48V (4-pair)' explode: true style: form - in: query - name: description__iew + name: q schema: - type: array - items: - type: string - explode: true - style: form + type: string + description: Search - in: query - name: description__isw + name: rf_role schema: type: array items: type: string + x-spec-enum-id: d2772dbea88b0fb1 + title: Wireless role explode: true style: form - in: query - name: description__n + name: rf_role__empty schema: - type: array - items: - type: string - explode: true - style: form + type: boolean - in: query - name: description__nic + name: rf_role__ic schema: type: array items: type: string + x-spec-enum-id: d2772dbea88b0fb1 + title: Wireless role + enum: + - '' + - ap + - station + description: '* `ap` - Access point + + * `station` - Station' explode: true style: form - in: query - name: description__nie + name: rf_role__ie schema: type: array items: type: string + x-spec-enum-id: d2772dbea88b0fb1 + title: Wireless role + enum: + - '' + - ap + - station + description: '* `ap` - Access point + + * `station` - Station' explode: true style: form - in: query - name: description__niew + name: rf_role__iew schema: type: array items: type: string + x-spec-enum-id: d2772dbea88b0fb1 + title: Wireless role + enum: + - '' + - ap + - station + description: '* `ap` - Access point + + * `station` - Station' explode: true style: form - in: query - name: description__nisw + name: rf_role__isw schema: type: array items: type: string + x-spec-enum-id: d2772dbea88b0fb1 + title: Wireless role + enum: + - '' + - ap + - station + description: '* `ap` - Access point + + * `station` - Station' explode: true style: form - in: query - name: device_type_id - schema: - type: array - items: - type: integer - description: Device type (ID) - explode: true - style: form - - in: query - name: device_type_id__n - schema: - type: array - items: - type: integer - description: Device type (ID) - explode: true - style: form - - in: query - name: devicetype_id - schema: - type: array - items: - type: integer - description: Device type (ID) - explode: true - style: form - - in: query - name: devicetype_id__n - schema: - type: array - items: - type: integer - description: Device type (ID) - explode: true - style: form - - in: query - name: id - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: id__empty - schema: - type: boolean - - in: query - name: id__gt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: id__gte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: id__lt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: id__lte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: id__n - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: label + name: rf_role__n schema: type: array items: type: string + x-spec-enum-id: d2772dbea88b0fb1 + title: Wireless role + enum: + - '' + - ap + - station + description: '* `ap` - Access point + + * `station` - Station' explode: true style: form - in: query - name: label__empty - schema: - type: boolean - - in: query - name: label__ic + name: rf_role__nic schema: type: array items: type: string + x-spec-enum-id: d2772dbea88b0fb1 + title: Wireless role + enum: + - '' + - ap + - station + description: '* `ap` - Access point + + * `station` - Station' explode: true style: form - in: query - name: label__ie + name: rf_role__nie schema: type: array items: type: string + x-spec-enum-id: d2772dbea88b0fb1 + title: Wireless role + enum: + - '' + - ap + - station + description: '* `ap` - Access point + + * `station` - Station' explode: true style: form - in: query - name: label__iew + name: rf_role__niew schema: type: array items: type: string + x-spec-enum-id: d2772dbea88b0fb1 + title: Wireless role + enum: + - '' + - ap + - station + description: '* `ap` - Access point + + * `station` - Station' explode: true style: form - in: query - name: label__isw + name: rf_role__nisw schema: type: array items: type: string + x-spec-enum-id: d2772dbea88b0fb1 + title: Wireless role + enum: + - '' + - ap + - station + description: '* `ap` - Access point + + * `station` - Station' explode: true style: form - in: query - name: label__n + name: type schema: type: array items: type: string + x-spec-enum-id: 56365107f9c2326f + explode: true + style: form + - in: query + name: type__empty + schema: + type: boolean + - in: query + name: type__ic + schema: + type: array + items: + type: string + x-spec-enum-id: 56365107f9c2326f + enum: + - 1000base-kx + - 1000base-t + - 1000base-tx + - 1000base-x-gbic + - 1000base-x-sfp + - 100base-fx + - 100base-lfx + - 100base-t1 + - 100base-tx + - 100base-x-sfp + - 100gbase-kp4 + - 100gbase-kr2 + - 100gbase-kr4 + - 100gbase-x-cfp + - 100gbase-x-cfp2 + - 100gbase-x-cfp4 + - 100gbase-x-cpak + - 100gbase-x-cxp + - 100gbase-x-dsfp + - 100gbase-x-qsfp28 + - 100gbase-x-qsfpdd + - 100gbase-x-sfpdd + - 10g-epon + - 10gbase-cx4 + - 10gbase-kr + - 10gbase-kx4 + - 10gbase-t + - 10gbase-x-sfpp + - 10gbase-x-x2 + - 10gbase-x-xenpak + - 10gbase-x-xfp + - 128gfc-qsfp28 + - 16gfc-sfpp + - 1gfc-sfp + - 2.5gbase-kx + - 2.5gbase-t + - 200gbase-x-cfp2 + - 200gbase-x-qsfp56 + - 200gbase-x-qsfpdd + - 25g-pon + - 25gbase-kr + - 25gbase-x-sfp28 + - 2gfc-sfp + - 32gfc-sfp28 + - 32gfc-sfpp + - 400gbase-x-cdfp + - 400gbase-x-cfp2 + - 400gbase-x-cfp8 + - 400gbase-x-osfp + - 400gbase-x-osfp-rhs + - 400gbase-x-qsfp112 + - 400gbase-x-qsfpdd + - 40gbase-kr4 + - 40gbase-x-qsfpp + - 4g + - 4gfc-sfp + - 50g-pon + - 50gbase-kr + - 50gbase-x-sfp28 + - 50gbase-x-sfp56 + - 5g + - 5gbase-kr + - 5gbase-t + - 64gfc-qsfpp + - 64gfc-sfpdd + - 64gfc-sfpp + - 800gbase-x-osfp + - 800gbase-x-qsfpdd + - 8gfc-sfpp + - bpon + - bridge + - cdma + - cisco-flexstack + - cisco-flexstack-plus + - cisco-stackwise + - cisco-stackwise-160 + - cisco-stackwise-1t + - cisco-stackwise-320 + - cisco-stackwise-480 + - cisco-stackwise-80 + - cisco-stackwise-plus + - docsis + - e1 + - e3 + - epon + - extreme-summitstack + - extreme-summitstack-128 + - extreme-summitstack-256 + - extreme-summitstack-512 + - gpon + - gsm + - ieee802.11a + - ieee802.11ac + - ieee802.11ad + - ieee802.11ax + - ieee802.11ay + - ieee802.11be + - ieee802.11g + - ieee802.11n + - ieee802.15.1 + - ieee802.15.4 + - infiniband-ddr + - infiniband-edr + - infiniband-fdr + - infiniband-fdr10 + - infiniband-hdr + - infiniband-ndr + - infiniband-qdr + - infiniband-sdr + - infiniband-xdr + - juniper-vcp + - lag + - lte + - ng-pon2 + - other + - other-wireless + - sonet-oc12 + - sonet-oc192 + - sonet-oc1920 + - sonet-oc3 + - sonet-oc3840 + - sonet-oc48 + - sonet-oc768 + - t1 + - t3 + - virtual + - xdsl + - xg-pon + - xgs-pon + description: '* `virtual` - Virtual + + * `bridge` - Bridge + + * `lag` - Link Aggregation Group (LAG) + + * `100base-fx` - 100BASE-FX (10/100ME FIBER) + + * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) + + * `100base-tx` - 100BASE-TX (10/100ME) + + * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) + + * `1000base-t` - 1000BASE-T (1GE) + + * `1000base-tx` - 1000BASE-TX (1GE) + + * `2.5gbase-t` - 2.5GBASE-T (2.5GE) + + * `5gbase-t` - 5GBASE-T (5GE) + + * `10gbase-t` - 10GBASE-T (10GE) + + * `10gbase-cx4` - 10GBASE-CX4 (10GE) + + * `100base-x-sfp` - SFP (100ME) + + * `1000base-x-gbic` - GBIC (1GE) + + * `1000base-x-sfp` - SFP (1GE) + + * `10gbase-x-sfpp` - SFP+ (10GE) + + * `10gbase-x-xfp` - XFP (10GE) + + * `10gbase-x-xenpak` - XENPAK (10GE) + + * `10gbase-x-x2` - X2 (10GE) + + * `25gbase-x-sfp28` - SFP28 (25GE) + + * `50gbase-x-sfp56` - SFP56 (50GE) + + * `40gbase-x-qsfpp` - QSFP+ (40GE) + + * `50gbase-x-sfp28` - QSFP28 (50GE) + + * `100gbase-x-cfp` - CFP (100GE) + + * `100gbase-x-cfp2` - CFP2 (100GE) + + * `200gbase-x-cfp2` - CFP2 (200GE) + + * `400gbase-x-cfp2` - CFP2 (400GE) + + * `100gbase-x-cfp4` - CFP4 (100GE) + + * `100gbase-x-cxp` - CXP (100GE) + + * `100gbase-x-cpak` - Cisco CPAK (100GE) + + * `100gbase-x-dsfp` - DSFP (100GE) + + * `100gbase-x-sfpdd` - SFP-DD (100GE) + + * `100gbase-x-qsfp28` - QSFP28 (100GE) + + * `100gbase-x-qsfpdd` - QSFP-DD (100GE) + + * `200gbase-x-qsfp56` - QSFP56 (200GE) + + * `200gbase-x-qsfpdd` - QSFP-DD (200GE) + + * `400gbase-x-qsfp112` - QSFP112 (400GE) + + * `400gbase-x-qsfpdd` - QSFP-DD (400GE) + + * `400gbase-x-osfp` - OSFP (400GE) + + * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) + + * `400gbase-x-cdfp` - CDFP (400GE) + + * `400gbase-x-cfp8` - CPF8 (400GE) + + * `800gbase-x-qsfpdd` - QSFP-DD (800GE) + + * `800gbase-x-osfp` - OSFP (800GE) + + * `1000base-kx` - 1000BASE-KX (1GE) + + * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) + + * `5gbase-kr` - 5GBASE-KR (5GE) + + * `10gbase-kr` - 10GBASE-KR (10GE) + + * `10gbase-kx4` - 10GBASE-KX4 (10GE) + + * `25gbase-kr` - 25GBASE-KR (25GE) + + * `40gbase-kr4` - 40GBASE-KR4 (40GE) + + * `50gbase-kr` - 50GBASE-KR (50GE) + + * `100gbase-kp4` - 100GBASE-KP4 (100GE) + + * `100gbase-kr2` - 100GBASE-KR2 (100GE) + + * `100gbase-kr4` - 100GBASE-KR4 (100GE) + + * `ieee802.11a` - IEEE 802.11a + + * `ieee802.11g` - IEEE 802.11b/g + + * `ieee802.11n` - IEEE 802.11n + + * `ieee802.11ac` - IEEE 802.11ac + + * `ieee802.11ad` - IEEE 802.11ad + + * `ieee802.11ax` - IEEE 802.11ax + + * `ieee802.11ay` - IEEE 802.11ay + + * `ieee802.11be` - IEEE 802.11be + + * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) + + * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) + + * `other-wireless` - Other (Wireless) + + * `gsm` - GSM + + * `cdma` - CDMA + + * `lte` - LTE + + * `4g` - 4G + + * `5g` - 5G + + * `sonet-oc3` - OC-3/STM-1 + + * `sonet-oc12` - OC-12/STM-4 + + * `sonet-oc48` - OC-48/STM-16 + + * `sonet-oc192` - OC-192/STM-64 + + * `sonet-oc768` - OC-768/STM-256 + + * `sonet-oc1920` - OC-1920/STM-640 + + * `sonet-oc3840` - OC-3840/STM-1234 + + * `1gfc-sfp` - SFP (1GFC) + + * `2gfc-sfp` - SFP (2GFC) + + * `4gfc-sfp` - SFP (4GFC) + + * `8gfc-sfpp` - SFP+ (8GFC) + + * `16gfc-sfpp` - SFP+ (16GFC) + + * `32gfc-sfp28` - SFP28 (32GFC) + + * `32gfc-sfpp` - SFP+ (32GFC) + + * `64gfc-qsfpp` - QSFP+ (64GFC) + + * `64gfc-sfpdd` - SFP-DD (64GFC) + + * `64gfc-sfpp` - SFP+ (64GFC) + + * `128gfc-qsfp28` - QSFP28 (128GFC) + + * `infiniband-sdr` - SDR (2 Gbps) + + * `infiniband-ddr` - DDR (4 Gbps) + + * `infiniband-qdr` - QDR (8 Gbps) + + * `infiniband-fdr10` - FDR10 (10 Gbps) + + * `infiniband-fdr` - FDR (13.5 Gbps) + + * `infiniband-edr` - EDR (25 Gbps) + + * `infiniband-hdr` - HDR (50 Gbps) + + * `infiniband-ndr` - NDR (100 Gbps) + + * `infiniband-xdr` - XDR (250 Gbps) + + * `t1` - T1 (1.544 Mbps) + + * `e1` - E1 (2.048 Mbps) + + * `t3` - T3 (45 Mbps) + + * `e3` - E3 (34 Mbps) + + * `xdsl` - xDSL + + * `docsis` - DOCSIS + + * `bpon` - BPON (622 Mbps / 155 Mbps) + + * `epon` - EPON (1 Gbps) + + * `10g-epon` - 10G-EPON (10 Gbps) + + * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) + + * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) + + * `xgs-pon` - XGS-PON (10 Gbps) + + * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) + + * `25g-pon` - 25G-PON (25 Gbps) + + * `50g-pon` - 50G-PON (50 Gbps) + + * `cisco-stackwise` - Cisco StackWise + + * `cisco-stackwise-plus` - Cisco StackWise Plus + + * `cisco-flexstack` - Cisco FlexStack + + * `cisco-flexstack-plus` - Cisco FlexStack Plus + + * `cisco-stackwise-80` - Cisco StackWise-80 + + * `cisco-stackwise-160` - Cisco StackWise-160 + + * `cisco-stackwise-320` - Cisco StackWise-320 + + * `cisco-stackwise-480` - Cisco StackWise-480 + + * `cisco-stackwise-1t` - Cisco StackWise-1T + + * `juniper-vcp` - Juniper VCP + + * `extreme-summitstack` - Extreme SummitStack + + * `extreme-summitstack-128` - Extreme SummitStack-128 + + * `extreme-summitstack-256` - Extreme SummitStack-256 + + * `extreme-summitstack-512` - Extreme SummitStack-512 + + * `other` - Other' explode: true style: form - in: query - name: label__nic + name: type__ie schema: type: array items: type: string + x-spec-enum-id: 56365107f9c2326f + enum: + - 1000base-kx + - 1000base-t + - 1000base-tx + - 1000base-x-gbic + - 1000base-x-sfp + - 100base-fx + - 100base-lfx + - 100base-t1 + - 100base-tx + - 100base-x-sfp + - 100gbase-kp4 + - 100gbase-kr2 + - 100gbase-kr4 + - 100gbase-x-cfp + - 100gbase-x-cfp2 + - 100gbase-x-cfp4 + - 100gbase-x-cpak + - 100gbase-x-cxp + - 100gbase-x-dsfp + - 100gbase-x-qsfp28 + - 100gbase-x-qsfpdd + - 100gbase-x-sfpdd + - 10g-epon + - 10gbase-cx4 + - 10gbase-kr + - 10gbase-kx4 + - 10gbase-t + - 10gbase-x-sfpp + - 10gbase-x-x2 + - 10gbase-x-xenpak + - 10gbase-x-xfp + - 128gfc-qsfp28 + - 16gfc-sfpp + - 1gfc-sfp + - 2.5gbase-kx + - 2.5gbase-t + - 200gbase-x-cfp2 + - 200gbase-x-qsfp56 + - 200gbase-x-qsfpdd + - 25g-pon + - 25gbase-kr + - 25gbase-x-sfp28 + - 2gfc-sfp + - 32gfc-sfp28 + - 32gfc-sfpp + - 400gbase-x-cdfp + - 400gbase-x-cfp2 + - 400gbase-x-cfp8 + - 400gbase-x-osfp + - 400gbase-x-osfp-rhs + - 400gbase-x-qsfp112 + - 400gbase-x-qsfpdd + - 40gbase-kr4 + - 40gbase-x-qsfpp + - 4g + - 4gfc-sfp + - 50g-pon + - 50gbase-kr + - 50gbase-x-sfp28 + - 50gbase-x-sfp56 + - 5g + - 5gbase-kr + - 5gbase-t + - 64gfc-qsfpp + - 64gfc-sfpdd + - 64gfc-sfpp + - 800gbase-x-osfp + - 800gbase-x-qsfpdd + - 8gfc-sfpp + - bpon + - bridge + - cdma + - cisco-flexstack + - cisco-flexstack-plus + - cisco-stackwise + - cisco-stackwise-160 + - cisco-stackwise-1t + - cisco-stackwise-320 + - cisco-stackwise-480 + - cisco-stackwise-80 + - cisco-stackwise-plus + - docsis + - e1 + - e3 + - epon + - extreme-summitstack + - extreme-summitstack-128 + - extreme-summitstack-256 + - extreme-summitstack-512 + - gpon + - gsm + - ieee802.11a + - ieee802.11ac + - ieee802.11ad + - ieee802.11ax + - ieee802.11ay + - ieee802.11be + - ieee802.11g + - ieee802.11n + - ieee802.15.1 + - ieee802.15.4 + - infiniband-ddr + - infiniband-edr + - infiniband-fdr + - infiniband-fdr10 + - infiniband-hdr + - infiniband-ndr + - infiniband-qdr + - infiniband-sdr + - infiniband-xdr + - juniper-vcp + - lag + - lte + - ng-pon2 + - other + - other-wireless + - sonet-oc12 + - sonet-oc192 + - sonet-oc1920 + - sonet-oc3 + - sonet-oc3840 + - sonet-oc48 + - sonet-oc768 + - t1 + - t3 + - virtual + - xdsl + - xg-pon + - xgs-pon + description: '* `virtual` - Virtual + + * `bridge` - Bridge + + * `lag` - Link Aggregation Group (LAG) + + * `100base-fx` - 100BASE-FX (10/100ME FIBER) + + * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) + + * `100base-tx` - 100BASE-TX (10/100ME) + + * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) + + * `1000base-t` - 1000BASE-T (1GE) + + * `1000base-tx` - 1000BASE-TX (1GE) + + * `2.5gbase-t` - 2.5GBASE-T (2.5GE) + + * `5gbase-t` - 5GBASE-T (5GE) + + * `10gbase-t` - 10GBASE-T (10GE) + + * `10gbase-cx4` - 10GBASE-CX4 (10GE) + + * `100base-x-sfp` - SFP (100ME) + + * `1000base-x-gbic` - GBIC (1GE) + + * `1000base-x-sfp` - SFP (1GE) + + * `10gbase-x-sfpp` - SFP+ (10GE) + + * `10gbase-x-xfp` - XFP (10GE) + + * `10gbase-x-xenpak` - XENPAK (10GE) + + * `10gbase-x-x2` - X2 (10GE) + + * `25gbase-x-sfp28` - SFP28 (25GE) + + * `50gbase-x-sfp56` - SFP56 (50GE) + + * `40gbase-x-qsfpp` - QSFP+ (40GE) + + * `50gbase-x-sfp28` - QSFP28 (50GE) + + * `100gbase-x-cfp` - CFP (100GE) + + * `100gbase-x-cfp2` - CFP2 (100GE) + + * `200gbase-x-cfp2` - CFP2 (200GE) + + * `400gbase-x-cfp2` - CFP2 (400GE) + + * `100gbase-x-cfp4` - CFP4 (100GE) + + * `100gbase-x-cxp` - CXP (100GE) + + * `100gbase-x-cpak` - Cisco CPAK (100GE) + + * `100gbase-x-dsfp` - DSFP (100GE) + + * `100gbase-x-sfpdd` - SFP-DD (100GE) + + * `100gbase-x-qsfp28` - QSFP28 (100GE) + + * `100gbase-x-qsfpdd` - QSFP-DD (100GE) + + * `200gbase-x-qsfp56` - QSFP56 (200GE) + + * `200gbase-x-qsfpdd` - QSFP-DD (200GE) + + * `400gbase-x-qsfp112` - QSFP112 (400GE) + + * `400gbase-x-qsfpdd` - QSFP-DD (400GE) + + * `400gbase-x-osfp` - OSFP (400GE) + + * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) + + * `400gbase-x-cdfp` - CDFP (400GE) + + * `400gbase-x-cfp8` - CPF8 (400GE) + + * `800gbase-x-qsfpdd` - QSFP-DD (800GE) + + * `800gbase-x-osfp` - OSFP (800GE) + + * `1000base-kx` - 1000BASE-KX (1GE) + + * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) + + * `5gbase-kr` - 5GBASE-KR (5GE) + + * `10gbase-kr` - 10GBASE-KR (10GE) + + * `10gbase-kx4` - 10GBASE-KX4 (10GE) + + * `25gbase-kr` - 25GBASE-KR (25GE) + + * `40gbase-kr4` - 40GBASE-KR4 (40GE) + + * `50gbase-kr` - 50GBASE-KR (50GE) + + * `100gbase-kp4` - 100GBASE-KP4 (100GE) + + * `100gbase-kr2` - 100GBASE-KR2 (100GE) + + * `100gbase-kr4` - 100GBASE-KR4 (100GE) + + * `ieee802.11a` - IEEE 802.11a + + * `ieee802.11g` - IEEE 802.11b/g + + * `ieee802.11n` - IEEE 802.11n + + * `ieee802.11ac` - IEEE 802.11ac + + * `ieee802.11ad` - IEEE 802.11ad + + * `ieee802.11ax` - IEEE 802.11ax + + * `ieee802.11ay` - IEEE 802.11ay + + * `ieee802.11be` - IEEE 802.11be + + * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) + + * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) + + * `other-wireless` - Other (Wireless) + + * `gsm` - GSM + + * `cdma` - CDMA + + * `lte` - LTE + + * `4g` - 4G + + * `5g` - 5G + + * `sonet-oc3` - OC-3/STM-1 + + * `sonet-oc12` - OC-12/STM-4 + + * `sonet-oc48` - OC-48/STM-16 + + * `sonet-oc192` - OC-192/STM-64 + + * `sonet-oc768` - OC-768/STM-256 + + * `sonet-oc1920` - OC-1920/STM-640 + + * `sonet-oc3840` - OC-3840/STM-1234 + + * `1gfc-sfp` - SFP (1GFC) + + * `2gfc-sfp` - SFP (2GFC) + + * `4gfc-sfp` - SFP (4GFC) + + * `8gfc-sfpp` - SFP+ (8GFC) + + * `16gfc-sfpp` - SFP+ (16GFC) + + * `32gfc-sfp28` - SFP28 (32GFC) + + * `32gfc-sfpp` - SFP+ (32GFC) + + * `64gfc-qsfpp` - QSFP+ (64GFC) + + * `64gfc-sfpdd` - SFP-DD (64GFC) + + * `64gfc-sfpp` - SFP+ (64GFC) + + * `128gfc-qsfp28` - QSFP28 (128GFC) + + * `infiniband-sdr` - SDR (2 Gbps) + + * `infiniband-ddr` - DDR (4 Gbps) + + * `infiniband-qdr` - QDR (8 Gbps) + + * `infiniband-fdr10` - FDR10 (10 Gbps) + + * `infiniband-fdr` - FDR (13.5 Gbps) + + * `infiniband-edr` - EDR (25 Gbps) + + * `infiniband-hdr` - HDR (50 Gbps) + + * `infiniband-ndr` - NDR (100 Gbps) + + * `infiniband-xdr` - XDR (250 Gbps) + + * `t1` - T1 (1.544 Mbps) + + * `e1` - E1 (2.048 Mbps) + + * `t3` - T3 (45 Mbps) + + * `e3` - E3 (34 Mbps) + + * `xdsl` - xDSL + + * `docsis` - DOCSIS + + * `bpon` - BPON (622 Mbps / 155 Mbps) + + * `epon` - EPON (1 Gbps) + + * `10g-epon` - 10G-EPON (10 Gbps) + + * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) + + * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) + + * `xgs-pon` - XGS-PON (10 Gbps) + + * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) + + * `25g-pon` - 25G-PON (25 Gbps) + + * `50g-pon` - 50G-PON (50 Gbps) + + * `cisco-stackwise` - Cisco StackWise + + * `cisco-stackwise-plus` - Cisco StackWise Plus + + * `cisco-flexstack` - Cisco FlexStack + + * `cisco-flexstack-plus` - Cisco FlexStack Plus + + * `cisco-stackwise-80` - Cisco StackWise-80 + + * `cisco-stackwise-160` - Cisco StackWise-160 + + * `cisco-stackwise-320` - Cisco StackWise-320 + + * `cisco-stackwise-480` - Cisco StackWise-480 + + * `cisco-stackwise-1t` - Cisco StackWise-1T + + * `juniper-vcp` - Juniper VCP + + * `extreme-summitstack` - Extreme SummitStack + + * `extreme-summitstack-128` - Extreme SummitStack-128 + + * `extreme-summitstack-256` - Extreme SummitStack-256 + + * `extreme-summitstack-512` - Extreme SummitStack-512 + + * `other` - Other' explode: true style: form - in: query - name: label__nie + name: type__iew schema: type: array items: type: string + x-spec-enum-id: 56365107f9c2326f + enum: + - 1000base-kx + - 1000base-t + - 1000base-tx + - 1000base-x-gbic + - 1000base-x-sfp + - 100base-fx + - 100base-lfx + - 100base-t1 + - 100base-tx + - 100base-x-sfp + - 100gbase-kp4 + - 100gbase-kr2 + - 100gbase-kr4 + - 100gbase-x-cfp + - 100gbase-x-cfp2 + - 100gbase-x-cfp4 + - 100gbase-x-cpak + - 100gbase-x-cxp + - 100gbase-x-dsfp + - 100gbase-x-qsfp28 + - 100gbase-x-qsfpdd + - 100gbase-x-sfpdd + - 10g-epon + - 10gbase-cx4 + - 10gbase-kr + - 10gbase-kx4 + - 10gbase-t + - 10gbase-x-sfpp + - 10gbase-x-x2 + - 10gbase-x-xenpak + - 10gbase-x-xfp + - 128gfc-qsfp28 + - 16gfc-sfpp + - 1gfc-sfp + - 2.5gbase-kx + - 2.5gbase-t + - 200gbase-x-cfp2 + - 200gbase-x-qsfp56 + - 200gbase-x-qsfpdd + - 25g-pon + - 25gbase-kr + - 25gbase-x-sfp28 + - 2gfc-sfp + - 32gfc-sfp28 + - 32gfc-sfpp + - 400gbase-x-cdfp + - 400gbase-x-cfp2 + - 400gbase-x-cfp8 + - 400gbase-x-osfp + - 400gbase-x-osfp-rhs + - 400gbase-x-qsfp112 + - 400gbase-x-qsfpdd + - 40gbase-kr4 + - 40gbase-x-qsfpp + - 4g + - 4gfc-sfp + - 50g-pon + - 50gbase-kr + - 50gbase-x-sfp28 + - 50gbase-x-sfp56 + - 5g + - 5gbase-kr + - 5gbase-t + - 64gfc-qsfpp + - 64gfc-sfpdd + - 64gfc-sfpp + - 800gbase-x-osfp + - 800gbase-x-qsfpdd + - 8gfc-sfpp + - bpon + - bridge + - cdma + - cisco-flexstack + - cisco-flexstack-plus + - cisco-stackwise + - cisco-stackwise-160 + - cisco-stackwise-1t + - cisco-stackwise-320 + - cisco-stackwise-480 + - cisco-stackwise-80 + - cisco-stackwise-plus + - docsis + - e1 + - e3 + - epon + - extreme-summitstack + - extreme-summitstack-128 + - extreme-summitstack-256 + - extreme-summitstack-512 + - gpon + - gsm + - ieee802.11a + - ieee802.11ac + - ieee802.11ad + - ieee802.11ax + - ieee802.11ay + - ieee802.11be + - ieee802.11g + - ieee802.11n + - ieee802.15.1 + - ieee802.15.4 + - infiniband-ddr + - infiniband-edr + - infiniband-fdr + - infiniband-fdr10 + - infiniband-hdr + - infiniband-ndr + - infiniband-qdr + - infiniband-sdr + - infiniband-xdr + - juniper-vcp + - lag + - lte + - ng-pon2 + - other + - other-wireless + - sonet-oc12 + - sonet-oc192 + - sonet-oc1920 + - sonet-oc3 + - sonet-oc3840 + - sonet-oc48 + - sonet-oc768 + - t1 + - t3 + - virtual + - xdsl + - xg-pon + - xgs-pon + description: '* `virtual` - Virtual + + * `bridge` - Bridge + + * `lag` - Link Aggregation Group (LAG) + + * `100base-fx` - 100BASE-FX (10/100ME FIBER) + + * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) + + * `100base-tx` - 100BASE-TX (10/100ME) + + * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) + + * `1000base-t` - 1000BASE-T (1GE) + + * `1000base-tx` - 1000BASE-TX (1GE) + + * `2.5gbase-t` - 2.5GBASE-T (2.5GE) + + * `5gbase-t` - 5GBASE-T (5GE) + + * `10gbase-t` - 10GBASE-T (10GE) + + * `10gbase-cx4` - 10GBASE-CX4 (10GE) + + * `100base-x-sfp` - SFP (100ME) + + * `1000base-x-gbic` - GBIC (1GE) + + * `1000base-x-sfp` - SFP (1GE) + + * `10gbase-x-sfpp` - SFP+ (10GE) + + * `10gbase-x-xfp` - XFP (10GE) + + * `10gbase-x-xenpak` - XENPAK (10GE) + + * `10gbase-x-x2` - X2 (10GE) + + * `25gbase-x-sfp28` - SFP28 (25GE) + + * `50gbase-x-sfp56` - SFP56 (50GE) + + * `40gbase-x-qsfpp` - QSFP+ (40GE) + + * `50gbase-x-sfp28` - QSFP28 (50GE) + + * `100gbase-x-cfp` - CFP (100GE) + + * `100gbase-x-cfp2` - CFP2 (100GE) + + * `200gbase-x-cfp2` - CFP2 (200GE) + + * `400gbase-x-cfp2` - CFP2 (400GE) + + * `100gbase-x-cfp4` - CFP4 (100GE) + + * `100gbase-x-cxp` - CXP (100GE) + + * `100gbase-x-cpak` - Cisco CPAK (100GE) + + * `100gbase-x-dsfp` - DSFP (100GE) + + * `100gbase-x-sfpdd` - SFP-DD (100GE) + + * `100gbase-x-qsfp28` - QSFP28 (100GE) + + * `100gbase-x-qsfpdd` - QSFP-DD (100GE) + + * `200gbase-x-qsfp56` - QSFP56 (200GE) + + * `200gbase-x-qsfpdd` - QSFP-DD (200GE) + + * `400gbase-x-qsfp112` - QSFP112 (400GE) + + * `400gbase-x-qsfpdd` - QSFP-DD (400GE) + + * `400gbase-x-osfp` - OSFP (400GE) + + * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) + + * `400gbase-x-cdfp` - CDFP (400GE) + + * `400gbase-x-cfp8` - CPF8 (400GE) + + * `800gbase-x-qsfpdd` - QSFP-DD (800GE) + + * `800gbase-x-osfp` - OSFP (800GE) + + * `1000base-kx` - 1000BASE-KX (1GE) + + * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) + + * `5gbase-kr` - 5GBASE-KR (5GE) + + * `10gbase-kr` - 10GBASE-KR (10GE) + + * `10gbase-kx4` - 10GBASE-KX4 (10GE) + + * `25gbase-kr` - 25GBASE-KR (25GE) + + * `40gbase-kr4` - 40GBASE-KR4 (40GE) + + * `50gbase-kr` - 50GBASE-KR (50GE) + + * `100gbase-kp4` - 100GBASE-KP4 (100GE) + + * `100gbase-kr2` - 100GBASE-KR2 (100GE) + + * `100gbase-kr4` - 100GBASE-KR4 (100GE) + + * `ieee802.11a` - IEEE 802.11a + + * `ieee802.11g` - IEEE 802.11b/g + + * `ieee802.11n` - IEEE 802.11n + + * `ieee802.11ac` - IEEE 802.11ac + + * `ieee802.11ad` - IEEE 802.11ad + + * `ieee802.11ax` - IEEE 802.11ax + + * `ieee802.11ay` - IEEE 802.11ay + + * `ieee802.11be` - IEEE 802.11be + + * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) + + * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) + + * `other-wireless` - Other (Wireless) + + * `gsm` - GSM + + * `cdma` - CDMA + + * `lte` - LTE + + * `4g` - 4G + + * `5g` - 5G + + * `sonet-oc3` - OC-3/STM-1 + + * `sonet-oc12` - OC-12/STM-4 + + * `sonet-oc48` - OC-48/STM-16 + + * `sonet-oc192` - OC-192/STM-64 + + * `sonet-oc768` - OC-768/STM-256 + + * `sonet-oc1920` - OC-1920/STM-640 + + * `sonet-oc3840` - OC-3840/STM-1234 + + * `1gfc-sfp` - SFP (1GFC) + + * `2gfc-sfp` - SFP (2GFC) + + * `4gfc-sfp` - SFP (4GFC) + + * `8gfc-sfpp` - SFP+ (8GFC) + + * `16gfc-sfpp` - SFP+ (16GFC) + + * `32gfc-sfp28` - SFP28 (32GFC) + + * `32gfc-sfpp` - SFP+ (32GFC) + + * `64gfc-qsfpp` - QSFP+ (64GFC) + + * `64gfc-sfpdd` - SFP-DD (64GFC) + + * `64gfc-sfpp` - SFP+ (64GFC) + + * `128gfc-qsfp28` - QSFP28 (128GFC) + + * `infiniband-sdr` - SDR (2 Gbps) + + * `infiniband-ddr` - DDR (4 Gbps) + + * `infiniband-qdr` - QDR (8 Gbps) + + * `infiniband-fdr10` - FDR10 (10 Gbps) + + * `infiniband-fdr` - FDR (13.5 Gbps) + + * `infiniband-edr` - EDR (25 Gbps) + + * `infiniband-hdr` - HDR (50 Gbps) + + * `infiniband-ndr` - NDR (100 Gbps) + + * `infiniband-xdr` - XDR (250 Gbps) + + * `t1` - T1 (1.544 Mbps) + + * `e1` - E1 (2.048 Mbps) + + * `t3` - T3 (45 Mbps) + + * `e3` - E3 (34 Mbps) + + * `xdsl` - xDSL + + * `docsis` - DOCSIS + + * `bpon` - BPON (622 Mbps / 155 Mbps) + + * `epon` - EPON (1 Gbps) + + * `10g-epon` - 10G-EPON (10 Gbps) + + * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) + + * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) + + * `xgs-pon` - XGS-PON (10 Gbps) + + * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) + + * `25g-pon` - 25G-PON (25 Gbps) + + * `50g-pon` - 50G-PON (50 Gbps) + + * `cisco-stackwise` - Cisco StackWise + + * `cisco-stackwise-plus` - Cisco StackWise Plus + + * `cisco-flexstack` - Cisco FlexStack + + * `cisco-flexstack-plus` - Cisco FlexStack Plus + + * `cisco-stackwise-80` - Cisco StackWise-80 + + * `cisco-stackwise-160` - Cisco StackWise-160 + + * `cisco-stackwise-320` - Cisco StackWise-320 + + * `cisco-stackwise-480` - Cisco StackWise-480 + + * `cisco-stackwise-1t` - Cisco StackWise-1T + + * `juniper-vcp` - Juniper VCP + + * `extreme-summitstack` - Extreme SummitStack + + * `extreme-summitstack-128` - Extreme SummitStack-128 + + * `extreme-summitstack-256` - Extreme SummitStack-256 + + * `extreme-summitstack-512` - Extreme SummitStack-512 + + * `other` - Other' explode: true style: form - in: query - name: label__niew + name: type__isw schema: type: array items: type: string - explode: true - style: form + x-spec-enum-id: 56365107f9c2326f + enum: + - 1000base-kx + - 1000base-t + - 1000base-tx + - 1000base-x-gbic + - 1000base-x-sfp + - 100base-fx + - 100base-lfx + - 100base-t1 + - 100base-tx + - 100base-x-sfp + - 100gbase-kp4 + - 100gbase-kr2 + - 100gbase-kr4 + - 100gbase-x-cfp + - 100gbase-x-cfp2 + - 100gbase-x-cfp4 + - 100gbase-x-cpak + - 100gbase-x-cxp + - 100gbase-x-dsfp + - 100gbase-x-qsfp28 + - 100gbase-x-qsfpdd + - 100gbase-x-sfpdd + - 10g-epon + - 10gbase-cx4 + - 10gbase-kr + - 10gbase-kx4 + - 10gbase-t + - 10gbase-x-sfpp + - 10gbase-x-x2 + - 10gbase-x-xenpak + - 10gbase-x-xfp + - 128gfc-qsfp28 + - 16gfc-sfpp + - 1gfc-sfp + - 2.5gbase-kx + - 2.5gbase-t + - 200gbase-x-cfp2 + - 200gbase-x-qsfp56 + - 200gbase-x-qsfpdd + - 25g-pon + - 25gbase-kr + - 25gbase-x-sfp28 + - 2gfc-sfp + - 32gfc-sfp28 + - 32gfc-sfpp + - 400gbase-x-cdfp + - 400gbase-x-cfp2 + - 400gbase-x-cfp8 + - 400gbase-x-osfp + - 400gbase-x-osfp-rhs + - 400gbase-x-qsfp112 + - 400gbase-x-qsfpdd + - 40gbase-kr4 + - 40gbase-x-qsfpp + - 4g + - 4gfc-sfp + - 50g-pon + - 50gbase-kr + - 50gbase-x-sfp28 + - 50gbase-x-sfp56 + - 5g + - 5gbase-kr + - 5gbase-t + - 64gfc-qsfpp + - 64gfc-sfpdd + - 64gfc-sfpp + - 800gbase-x-osfp + - 800gbase-x-qsfpdd + - 8gfc-sfpp + - bpon + - bridge + - cdma + - cisco-flexstack + - cisco-flexstack-plus + - cisco-stackwise + - cisco-stackwise-160 + - cisco-stackwise-1t + - cisco-stackwise-320 + - cisco-stackwise-480 + - cisco-stackwise-80 + - cisco-stackwise-plus + - docsis + - e1 + - e3 + - epon + - extreme-summitstack + - extreme-summitstack-128 + - extreme-summitstack-256 + - extreme-summitstack-512 + - gpon + - gsm + - ieee802.11a + - ieee802.11ac + - ieee802.11ad + - ieee802.11ax + - ieee802.11ay + - ieee802.11be + - ieee802.11g + - ieee802.11n + - ieee802.15.1 + - ieee802.15.4 + - infiniband-ddr + - infiniband-edr + - infiniband-fdr + - infiniband-fdr10 + - infiniband-hdr + - infiniband-ndr + - infiniband-qdr + - infiniband-sdr + - infiniband-xdr + - juniper-vcp + - lag + - lte + - ng-pon2 + - other + - other-wireless + - sonet-oc12 + - sonet-oc192 + - sonet-oc1920 + - sonet-oc3 + - sonet-oc3840 + - sonet-oc48 + - sonet-oc768 + - t1 + - t3 + - virtual + - xdsl + - xg-pon + - xgs-pon + description: '* `virtual` - Virtual + + * `bridge` - Bridge + + * `lag` - Link Aggregation Group (LAG) + + * `100base-fx` - 100BASE-FX (10/100ME FIBER) + + * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) + + * `100base-tx` - 100BASE-TX (10/100ME) + + * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) + + * `1000base-t` - 1000BASE-T (1GE) + + * `1000base-tx` - 1000BASE-TX (1GE) + + * `2.5gbase-t` - 2.5GBASE-T (2.5GE) + + * `5gbase-t` - 5GBASE-T (5GE) + + * `10gbase-t` - 10GBASE-T (10GE) + + * `10gbase-cx4` - 10GBASE-CX4 (10GE) + + * `100base-x-sfp` - SFP (100ME) + + * `1000base-x-gbic` - GBIC (1GE) + + * `1000base-x-sfp` - SFP (1GE) + + * `10gbase-x-sfpp` - SFP+ (10GE) + + * `10gbase-x-xfp` - XFP (10GE) + + * `10gbase-x-xenpak` - XENPAK (10GE) + + * `10gbase-x-x2` - X2 (10GE) + + * `25gbase-x-sfp28` - SFP28 (25GE) + + * `50gbase-x-sfp56` - SFP56 (50GE) + + * `40gbase-x-qsfpp` - QSFP+ (40GE) + + * `50gbase-x-sfp28` - QSFP28 (50GE) + + * `100gbase-x-cfp` - CFP (100GE) + + * `100gbase-x-cfp2` - CFP2 (100GE) + + * `200gbase-x-cfp2` - CFP2 (200GE) + + * `400gbase-x-cfp2` - CFP2 (400GE) + + * `100gbase-x-cfp4` - CFP4 (100GE) + + * `100gbase-x-cxp` - CXP (100GE) + + * `100gbase-x-cpak` - Cisco CPAK (100GE) + + * `100gbase-x-dsfp` - DSFP (100GE) + + * `100gbase-x-sfpdd` - SFP-DD (100GE) + + * `100gbase-x-qsfp28` - QSFP28 (100GE) + + * `100gbase-x-qsfpdd` - QSFP-DD (100GE) + + * `200gbase-x-qsfp56` - QSFP56 (200GE) + + * `200gbase-x-qsfpdd` - QSFP-DD (200GE) + + * `400gbase-x-qsfp112` - QSFP112 (400GE) + + * `400gbase-x-qsfpdd` - QSFP-DD (400GE) + + * `400gbase-x-osfp` - OSFP (400GE) + + * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) + + * `400gbase-x-cdfp` - CDFP (400GE) + + * `400gbase-x-cfp8` - CPF8 (400GE) + + * `800gbase-x-qsfpdd` - QSFP-DD (800GE) + + * `800gbase-x-osfp` - OSFP (800GE) + + * `1000base-kx` - 1000BASE-KX (1GE) + + * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) + + * `5gbase-kr` - 5GBASE-KR (5GE) + + * `10gbase-kr` - 10GBASE-KR (10GE) + + * `10gbase-kx4` - 10GBASE-KX4 (10GE) + + * `25gbase-kr` - 25GBASE-KR (25GE) + + * `40gbase-kr4` - 40GBASE-KR4 (40GE) + + * `50gbase-kr` - 50GBASE-KR (50GE) + + * `100gbase-kp4` - 100GBASE-KP4 (100GE) + + * `100gbase-kr2` - 100GBASE-KR2 (100GE) + + * `100gbase-kr4` - 100GBASE-KR4 (100GE) + + * `ieee802.11a` - IEEE 802.11a + + * `ieee802.11g` - IEEE 802.11b/g + + * `ieee802.11n` - IEEE 802.11n + + * `ieee802.11ac` - IEEE 802.11ac + + * `ieee802.11ad` - IEEE 802.11ad + + * `ieee802.11ax` - IEEE 802.11ax + + * `ieee802.11ay` - IEEE 802.11ay + + * `ieee802.11be` - IEEE 802.11be + + * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) + + * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) + + * `other-wireless` - Other (Wireless) + + * `gsm` - GSM + + * `cdma` - CDMA + + * `lte` - LTE + + * `4g` - 4G + + * `5g` - 5G + + * `sonet-oc3` - OC-3/STM-1 + + * `sonet-oc12` - OC-12/STM-4 + + * `sonet-oc48` - OC-48/STM-16 + + * `sonet-oc192` - OC-192/STM-64 + + * `sonet-oc768` - OC-768/STM-256 + + * `sonet-oc1920` - OC-1920/STM-640 + + * `sonet-oc3840` - OC-3840/STM-1234 + + * `1gfc-sfp` - SFP (1GFC) + + * `2gfc-sfp` - SFP (2GFC) + + * `4gfc-sfp` - SFP (4GFC) + + * `8gfc-sfpp` - SFP+ (8GFC) + + * `16gfc-sfpp` - SFP+ (16GFC) + + * `32gfc-sfp28` - SFP28 (32GFC) + + * `32gfc-sfpp` - SFP+ (32GFC) + + * `64gfc-qsfpp` - QSFP+ (64GFC) + + * `64gfc-sfpdd` - SFP-DD (64GFC) + + * `64gfc-sfpp` - SFP+ (64GFC) + + * `128gfc-qsfp28` - QSFP28 (128GFC) + + * `infiniband-sdr` - SDR (2 Gbps) + + * `infiniband-ddr` - DDR (4 Gbps) + + * `infiniband-qdr` - QDR (8 Gbps) + + * `infiniband-fdr10` - FDR10 (10 Gbps) + + * `infiniband-fdr` - FDR (13.5 Gbps) + + * `infiniband-edr` - EDR (25 Gbps) + + * `infiniband-hdr` - HDR (50 Gbps) + + * `infiniband-ndr` - NDR (100 Gbps) + + * `infiniband-xdr` - XDR (250 Gbps) + + * `t1` - T1 (1.544 Mbps) + + * `e1` - E1 (2.048 Mbps) + + * `t3` - T3 (45 Mbps) + + * `e3` - E3 (34 Mbps) + + * `xdsl` - xDSL + + * `docsis` - DOCSIS + + * `bpon` - BPON (622 Mbps / 155 Mbps) + + * `epon` - EPON (1 Gbps) + + * `10g-epon` - 10G-EPON (10 Gbps) + + * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) + + * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) + + * `xgs-pon` - XGS-PON (10 Gbps) + + * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) + + * `25g-pon` - 25G-PON (25 Gbps) + + * `50g-pon` - 50G-PON (50 Gbps) + + * `cisco-stackwise` - Cisco StackWise + + * `cisco-stackwise-plus` - Cisco StackWise Plus + + * `cisco-flexstack` - Cisco FlexStack + + * `cisco-flexstack-plus` - Cisco FlexStack Plus + + * `cisco-stackwise-80` - Cisco StackWise-80 + + * `cisco-stackwise-160` - Cisco StackWise-160 + + * `cisco-stackwise-320` - Cisco StackWise-320 + + * `cisco-stackwise-480` - Cisco StackWise-480 + + * `cisco-stackwise-1t` - Cisco StackWise-1T + + * `juniper-vcp` - Juniper VCP + + * `extreme-summitstack` - Extreme SummitStack + + * `extreme-summitstack-128` - Extreme SummitStack-128 + + * `extreme-summitstack-256` - Extreme SummitStack-256 + + * `extreme-summitstack-512` - Extreme SummitStack-512 + + * `other` - Other' + explode: true + style: form - in: query - name: label__nisw + name: type__n schema: type: array items: type: string + x-spec-enum-id: 56365107f9c2326f + enum: + - 1000base-kx + - 1000base-t + - 1000base-tx + - 1000base-x-gbic + - 1000base-x-sfp + - 100base-fx + - 100base-lfx + - 100base-t1 + - 100base-tx + - 100base-x-sfp + - 100gbase-kp4 + - 100gbase-kr2 + - 100gbase-kr4 + - 100gbase-x-cfp + - 100gbase-x-cfp2 + - 100gbase-x-cfp4 + - 100gbase-x-cpak + - 100gbase-x-cxp + - 100gbase-x-dsfp + - 100gbase-x-qsfp28 + - 100gbase-x-qsfpdd + - 100gbase-x-sfpdd + - 10g-epon + - 10gbase-cx4 + - 10gbase-kr + - 10gbase-kx4 + - 10gbase-t + - 10gbase-x-sfpp + - 10gbase-x-x2 + - 10gbase-x-xenpak + - 10gbase-x-xfp + - 128gfc-qsfp28 + - 16gfc-sfpp + - 1gfc-sfp + - 2.5gbase-kx + - 2.5gbase-t + - 200gbase-x-cfp2 + - 200gbase-x-qsfp56 + - 200gbase-x-qsfpdd + - 25g-pon + - 25gbase-kr + - 25gbase-x-sfp28 + - 2gfc-sfp + - 32gfc-sfp28 + - 32gfc-sfpp + - 400gbase-x-cdfp + - 400gbase-x-cfp2 + - 400gbase-x-cfp8 + - 400gbase-x-osfp + - 400gbase-x-osfp-rhs + - 400gbase-x-qsfp112 + - 400gbase-x-qsfpdd + - 40gbase-kr4 + - 40gbase-x-qsfpp + - 4g + - 4gfc-sfp + - 50g-pon + - 50gbase-kr + - 50gbase-x-sfp28 + - 50gbase-x-sfp56 + - 5g + - 5gbase-kr + - 5gbase-t + - 64gfc-qsfpp + - 64gfc-sfpdd + - 64gfc-sfpp + - 800gbase-x-osfp + - 800gbase-x-qsfpdd + - 8gfc-sfpp + - bpon + - bridge + - cdma + - cisco-flexstack + - cisco-flexstack-plus + - cisco-stackwise + - cisco-stackwise-160 + - cisco-stackwise-1t + - cisco-stackwise-320 + - cisco-stackwise-480 + - cisco-stackwise-80 + - cisco-stackwise-plus + - docsis + - e1 + - e3 + - epon + - extreme-summitstack + - extreme-summitstack-128 + - extreme-summitstack-256 + - extreme-summitstack-512 + - gpon + - gsm + - ieee802.11a + - ieee802.11ac + - ieee802.11ad + - ieee802.11ax + - ieee802.11ay + - ieee802.11be + - ieee802.11g + - ieee802.11n + - ieee802.15.1 + - ieee802.15.4 + - infiniband-ddr + - infiniband-edr + - infiniband-fdr + - infiniband-fdr10 + - infiniband-hdr + - infiniband-ndr + - infiniband-qdr + - infiniband-sdr + - infiniband-xdr + - juniper-vcp + - lag + - lte + - ng-pon2 + - other + - other-wireless + - sonet-oc12 + - sonet-oc192 + - sonet-oc1920 + - sonet-oc3 + - sonet-oc3840 + - sonet-oc48 + - sonet-oc768 + - t1 + - t3 + - virtual + - xdsl + - xg-pon + - xgs-pon + description: '* `virtual` - Virtual + + * `bridge` - Bridge + + * `lag` - Link Aggregation Group (LAG) + + * `100base-fx` - 100BASE-FX (10/100ME FIBER) + + * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) + + * `100base-tx` - 100BASE-TX (10/100ME) + + * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) + + * `1000base-t` - 1000BASE-T (1GE) + + * `1000base-tx` - 1000BASE-TX (1GE) + + * `2.5gbase-t` - 2.5GBASE-T (2.5GE) + + * `5gbase-t` - 5GBASE-T (5GE) + + * `10gbase-t` - 10GBASE-T (10GE) + + * `10gbase-cx4` - 10GBASE-CX4 (10GE) + + * `100base-x-sfp` - SFP (100ME) + + * `1000base-x-gbic` - GBIC (1GE) + + * `1000base-x-sfp` - SFP (1GE) + + * `10gbase-x-sfpp` - SFP+ (10GE) + + * `10gbase-x-xfp` - XFP (10GE) + + * `10gbase-x-xenpak` - XENPAK (10GE) + + * `10gbase-x-x2` - X2 (10GE) + + * `25gbase-x-sfp28` - SFP28 (25GE) + + * `50gbase-x-sfp56` - SFP56 (50GE) + + * `40gbase-x-qsfpp` - QSFP+ (40GE) + + * `50gbase-x-sfp28` - QSFP28 (50GE) + + * `100gbase-x-cfp` - CFP (100GE) + + * `100gbase-x-cfp2` - CFP2 (100GE) + + * `200gbase-x-cfp2` - CFP2 (200GE) + + * `400gbase-x-cfp2` - CFP2 (400GE) + + * `100gbase-x-cfp4` - CFP4 (100GE) + + * `100gbase-x-cxp` - CXP (100GE) + + * `100gbase-x-cpak` - Cisco CPAK (100GE) + + * `100gbase-x-dsfp` - DSFP (100GE) + + * `100gbase-x-sfpdd` - SFP-DD (100GE) + + * `100gbase-x-qsfp28` - QSFP28 (100GE) + + * `100gbase-x-qsfpdd` - QSFP-DD (100GE) + + * `200gbase-x-qsfp56` - QSFP56 (200GE) + + * `200gbase-x-qsfpdd` - QSFP-DD (200GE) + + * `400gbase-x-qsfp112` - QSFP112 (400GE) + + * `400gbase-x-qsfpdd` - QSFP-DD (400GE) + + * `400gbase-x-osfp` - OSFP (400GE) + + * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) + + * `400gbase-x-cdfp` - CDFP (400GE) + + * `400gbase-x-cfp8` - CPF8 (400GE) + + * `800gbase-x-qsfpdd` - QSFP-DD (800GE) + + * `800gbase-x-osfp` - OSFP (800GE) + + * `1000base-kx` - 1000BASE-KX (1GE) + + * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) + + * `5gbase-kr` - 5GBASE-KR (5GE) + + * `10gbase-kr` - 10GBASE-KR (10GE) + + * `10gbase-kx4` - 10GBASE-KX4 (10GE) + + * `25gbase-kr` - 25GBASE-KR (25GE) + + * `40gbase-kr4` - 40GBASE-KR4 (40GE) + + * `50gbase-kr` - 50GBASE-KR (50GE) + + * `100gbase-kp4` - 100GBASE-KP4 (100GE) + + * `100gbase-kr2` - 100GBASE-KR2 (100GE) + + * `100gbase-kr4` - 100GBASE-KR4 (100GE) + + * `ieee802.11a` - IEEE 802.11a + + * `ieee802.11g` - IEEE 802.11b/g + + * `ieee802.11n` - IEEE 802.11n + + * `ieee802.11ac` - IEEE 802.11ac + + * `ieee802.11ad` - IEEE 802.11ad + + * `ieee802.11ax` - IEEE 802.11ax + + * `ieee802.11ay` - IEEE 802.11ay + + * `ieee802.11be` - IEEE 802.11be + + * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) + + * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) + + * `other-wireless` - Other (Wireless) + + * `gsm` - GSM + + * `cdma` - CDMA + + * `lte` - LTE + + * `4g` - 4G + + * `5g` - 5G + + * `sonet-oc3` - OC-3/STM-1 + + * `sonet-oc12` - OC-12/STM-4 + + * `sonet-oc48` - OC-48/STM-16 + + * `sonet-oc192` - OC-192/STM-64 + + * `sonet-oc768` - OC-768/STM-256 + + * `sonet-oc1920` - OC-1920/STM-640 + + * `sonet-oc3840` - OC-3840/STM-1234 + + * `1gfc-sfp` - SFP (1GFC) + + * `2gfc-sfp` - SFP (2GFC) + + * `4gfc-sfp` - SFP (4GFC) + + * `8gfc-sfpp` - SFP+ (8GFC) + + * `16gfc-sfpp` - SFP+ (16GFC) + + * `32gfc-sfp28` - SFP28 (32GFC) + + * `32gfc-sfpp` - SFP+ (32GFC) + + * `64gfc-qsfpp` - QSFP+ (64GFC) + + * `64gfc-sfpdd` - SFP-DD (64GFC) + + * `64gfc-sfpp` - SFP+ (64GFC) + + * `128gfc-qsfp28` - QSFP28 (128GFC) + + * `infiniband-sdr` - SDR (2 Gbps) + + * `infiniband-ddr` - DDR (4 Gbps) + + * `infiniband-qdr` - QDR (8 Gbps) + + * `infiniband-fdr10` - FDR10 (10 Gbps) + + * `infiniband-fdr` - FDR (13.5 Gbps) + + * `infiniband-edr` - EDR (25 Gbps) + + * `infiniband-hdr` - HDR (50 Gbps) + + * `infiniband-ndr` - NDR (100 Gbps) + + * `infiniband-xdr` - XDR (250 Gbps) + + * `t1` - T1 (1.544 Mbps) + + * `e1` - E1 (2.048 Mbps) + + * `t3` - T3 (45 Mbps) + + * `e3` - E3 (34 Mbps) + + * `xdsl` - xDSL + + * `docsis` - DOCSIS + + * `bpon` - BPON (622 Mbps / 155 Mbps) + + * `epon` - EPON (1 Gbps) + + * `10g-epon` - 10G-EPON (10 Gbps) + + * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) + + * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) + + * `xgs-pon` - XGS-PON (10 Gbps) + + * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) + + * `25g-pon` - 25G-PON (25 Gbps) + + * `50g-pon` - 50G-PON (50 Gbps) + + * `cisco-stackwise` - Cisco StackWise + + * `cisco-stackwise-plus` - Cisco StackWise Plus + + * `cisco-flexstack` - Cisco FlexStack + + * `cisco-flexstack-plus` - Cisco FlexStack Plus + + * `cisco-stackwise-80` - Cisco StackWise-80 + + * `cisco-stackwise-160` - Cisco StackWise-160 + + * `cisco-stackwise-320` - Cisco StackWise-320 + + * `cisco-stackwise-480` - Cisco StackWise-480 + + * `cisco-stackwise-1t` - Cisco StackWise-1T + + * `juniper-vcp` - Juniper VCP + + * `extreme-summitstack` - Extreme SummitStack + + * `extreme-summitstack-128` - Extreme SummitStack-128 + + * `extreme-summitstack-256` - Extreme SummitStack-256 + + * `extreme-summitstack-512` - Extreme SummitStack-512 + + * `other` - Other' explode: true style: form - in: query - name: last_updated + name: type__nic schema: type: array items: type: string - format: date-time + x-spec-enum-id: 56365107f9c2326f + enum: + - 1000base-kx + - 1000base-t + - 1000base-tx + - 1000base-x-gbic + - 1000base-x-sfp + - 100base-fx + - 100base-lfx + - 100base-t1 + - 100base-tx + - 100base-x-sfp + - 100gbase-kp4 + - 100gbase-kr2 + - 100gbase-kr4 + - 100gbase-x-cfp + - 100gbase-x-cfp2 + - 100gbase-x-cfp4 + - 100gbase-x-cpak + - 100gbase-x-cxp + - 100gbase-x-dsfp + - 100gbase-x-qsfp28 + - 100gbase-x-qsfpdd + - 100gbase-x-sfpdd + - 10g-epon + - 10gbase-cx4 + - 10gbase-kr + - 10gbase-kx4 + - 10gbase-t + - 10gbase-x-sfpp + - 10gbase-x-x2 + - 10gbase-x-xenpak + - 10gbase-x-xfp + - 128gfc-qsfp28 + - 16gfc-sfpp + - 1gfc-sfp + - 2.5gbase-kx + - 2.5gbase-t + - 200gbase-x-cfp2 + - 200gbase-x-qsfp56 + - 200gbase-x-qsfpdd + - 25g-pon + - 25gbase-kr + - 25gbase-x-sfp28 + - 2gfc-sfp + - 32gfc-sfp28 + - 32gfc-sfpp + - 400gbase-x-cdfp + - 400gbase-x-cfp2 + - 400gbase-x-cfp8 + - 400gbase-x-osfp + - 400gbase-x-osfp-rhs + - 400gbase-x-qsfp112 + - 400gbase-x-qsfpdd + - 40gbase-kr4 + - 40gbase-x-qsfpp + - 4g + - 4gfc-sfp + - 50g-pon + - 50gbase-kr + - 50gbase-x-sfp28 + - 50gbase-x-sfp56 + - 5g + - 5gbase-kr + - 5gbase-t + - 64gfc-qsfpp + - 64gfc-sfpdd + - 64gfc-sfpp + - 800gbase-x-osfp + - 800gbase-x-qsfpdd + - 8gfc-sfpp + - bpon + - bridge + - cdma + - cisco-flexstack + - cisco-flexstack-plus + - cisco-stackwise + - cisco-stackwise-160 + - cisco-stackwise-1t + - cisco-stackwise-320 + - cisco-stackwise-480 + - cisco-stackwise-80 + - cisco-stackwise-plus + - docsis + - e1 + - e3 + - epon + - extreme-summitstack + - extreme-summitstack-128 + - extreme-summitstack-256 + - extreme-summitstack-512 + - gpon + - gsm + - ieee802.11a + - ieee802.11ac + - ieee802.11ad + - ieee802.11ax + - ieee802.11ay + - ieee802.11be + - ieee802.11g + - ieee802.11n + - ieee802.15.1 + - ieee802.15.4 + - infiniband-ddr + - infiniband-edr + - infiniband-fdr + - infiniband-fdr10 + - infiniband-hdr + - infiniband-ndr + - infiniband-qdr + - infiniband-sdr + - infiniband-xdr + - juniper-vcp + - lag + - lte + - ng-pon2 + - other + - other-wireless + - sonet-oc12 + - sonet-oc192 + - sonet-oc1920 + - sonet-oc3 + - sonet-oc3840 + - sonet-oc48 + - sonet-oc768 + - t1 + - t3 + - virtual + - xdsl + - xg-pon + - xgs-pon + description: '* `virtual` - Virtual + + * `bridge` - Bridge + + * `lag` - Link Aggregation Group (LAG) + + * `100base-fx` - 100BASE-FX (10/100ME FIBER) + + * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) + + * `100base-tx` - 100BASE-TX (10/100ME) + + * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) + + * `1000base-t` - 1000BASE-T (1GE) + + * `1000base-tx` - 1000BASE-TX (1GE) + + * `2.5gbase-t` - 2.5GBASE-T (2.5GE) + + * `5gbase-t` - 5GBASE-T (5GE) + + * `10gbase-t` - 10GBASE-T (10GE) + + * `10gbase-cx4` - 10GBASE-CX4 (10GE) + + * `100base-x-sfp` - SFP (100ME) + + * `1000base-x-gbic` - GBIC (1GE) + + * `1000base-x-sfp` - SFP (1GE) + + * `10gbase-x-sfpp` - SFP+ (10GE) + + * `10gbase-x-xfp` - XFP (10GE) + + * `10gbase-x-xenpak` - XENPAK (10GE) + + * `10gbase-x-x2` - X2 (10GE) + + * `25gbase-x-sfp28` - SFP28 (25GE) + + * `50gbase-x-sfp56` - SFP56 (50GE) + + * `40gbase-x-qsfpp` - QSFP+ (40GE) + + * `50gbase-x-sfp28` - QSFP28 (50GE) + + * `100gbase-x-cfp` - CFP (100GE) + + * `100gbase-x-cfp2` - CFP2 (100GE) + + * `200gbase-x-cfp2` - CFP2 (200GE) + + * `400gbase-x-cfp2` - CFP2 (400GE) + + * `100gbase-x-cfp4` - CFP4 (100GE) + + * `100gbase-x-cxp` - CXP (100GE) + + * `100gbase-x-cpak` - Cisco CPAK (100GE) + + * `100gbase-x-dsfp` - DSFP (100GE) + + * `100gbase-x-sfpdd` - SFP-DD (100GE) + + * `100gbase-x-qsfp28` - QSFP28 (100GE) + + * `100gbase-x-qsfpdd` - QSFP-DD (100GE) + + * `200gbase-x-qsfp56` - QSFP56 (200GE) + + * `200gbase-x-qsfpdd` - QSFP-DD (200GE) + + * `400gbase-x-qsfp112` - QSFP112 (400GE) + + * `400gbase-x-qsfpdd` - QSFP-DD (400GE) + + * `400gbase-x-osfp` - OSFP (400GE) + + * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) + + * `400gbase-x-cdfp` - CDFP (400GE) + + * `400gbase-x-cfp8` - CPF8 (400GE) + + * `800gbase-x-qsfpdd` - QSFP-DD (800GE) + + * `800gbase-x-osfp` - OSFP (800GE) + + * `1000base-kx` - 1000BASE-KX (1GE) + + * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) + + * `5gbase-kr` - 5GBASE-KR (5GE) + + * `10gbase-kr` - 10GBASE-KR (10GE) + + * `10gbase-kx4` - 10GBASE-KX4 (10GE) + + * `25gbase-kr` - 25GBASE-KR (25GE) + + * `40gbase-kr4` - 40GBASE-KR4 (40GE) + + * `50gbase-kr` - 50GBASE-KR (50GE) + + * `100gbase-kp4` - 100GBASE-KP4 (100GE) + + * `100gbase-kr2` - 100GBASE-KR2 (100GE) + + * `100gbase-kr4` - 100GBASE-KR4 (100GE) + + * `ieee802.11a` - IEEE 802.11a + + * `ieee802.11g` - IEEE 802.11b/g + + * `ieee802.11n` - IEEE 802.11n + + * `ieee802.11ac` - IEEE 802.11ac + + * `ieee802.11ad` - IEEE 802.11ad + + * `ieee802.11ax` - IEEE 802.11ax + + * `ieee802.11ay` - IEEE 802.11ay + + * `ieee802.11be` - IEEE 802.11be + + * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) + + * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) + + * `other-wireless` - Other (Wireless) + + * `gsm` - GSM + + * `cdma` - CDMA + + * `lte` - LTE + + * `4g` - 4G + + * `5g` - 5G + + * `sonet-oc3` - OC-3/STM-1 + + * `sonet-oc12` - OC-12/STM-4 + + * `sonet-oc48` - OC-48/STM-16 + + * `sonet-oc192` - OC-192/STM-64 + + * `sonet-oc768` - OC-768/STM-256 + + * `sonet-oc1920` - OC-1920/STM-640 + + * `sonet-oc3840` - OC-3840/STM-1234 + + * `1gfc-sfp` - SFP (1GFC) + + * `2gfc-sfp` - SFP (2GFC) + + * `4gfc-sfp` - SFP (4GFC) + + * `8gfc-sfpp` - SFP+ (8GFC) + + * `16gfc-sfpp` - SFP+ (16GFC) + + * `32gfc-sfp28` - SFP28 (32GFC) + + * `32gfc-sfpp` - SFP+ (32GFC) + + * `64gfc-qsfpp` - QSFP+ (64GFC) + + * `64gfc-sfpdd` - SFP-DD (64GFC) + + * `64gfc-sfpp` - SFP+ (64GFC) + + * `128gfc-qsfp28` - QSFP28 (128GFC) + + * `infiniband-sdr` - SDR (2 Gbps) + + * `infiniband-ddr` - DDR (4 Gbps) + + * `infiniband-qdr` - QDR (8 Gbps) + + * `infiniband-fdr10` - FDR10 (10 Gbps) + + * `infiniband-fdr` - FDR (13.5 Gbps) + + * `infiniband-edr` - EDR (25 Gbps) + + * `infiniband-hdr` - HDR (50 Gbps) + + * `infiniband-ndr` - NDR (100 Gbps) + + * `infiniband-xdr` - XDR (250 Gbps) + + * `t1` - T1 (1.544 Mbps) + + * `e1` - E1 (2.048 Mbps) + + * `t3` - T3 (45 Mbps) + + * `e3` - E3 (34 Mbps) + + * `xdsl` - xDSL + + * `docsis` - DOCSIS + + * `bpon` - BPON (622 Mbps / 155 Mbps) + + * `epon` - EPON (1 Gbps) + + * `10g-epon` - 10G-EPON (10 Gbps) + + * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) + + * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) + + * `xgs-pon` - XGS-PON (10 Gbps) + + * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) + + * `25g-pon` - 25G-PON (25 Gbps) + + * `50g-pon` - 50G-PON (50 Gbps) + + * `cisco-stackwise` - Cisco StackWise + + * `cisco-stackwise-plus` - Cisco StackWise Plus + + * `cisco-flexstack` - Cisco FlexStack + + * `cisco-flexstack-plus` - Cisco FlexStack Plus + + * `cisco-stackwise-80` - Cisco StackWise-80 + + * `cisco-stackwise-160` - Cisco StackWise-160 + + * `cisco-stackwise-320` - Cisco StackWise-320 + + * `cisco-stackwise-480` - Cisco StackWise-480 + + * `cisco-stackwise-1t` - Cisco StackWise-1T + + * `juniper-vcp` - Juniper VCP + + * `extreme-summitstack` - Extreme SummitStack + + * `extreme-summitstack-128` - Extreme SummitStack-128 + + * `extreme-summitstack-256` - Extreme SummitStack-256 + + * `extreme-summitstack-512` - Extreme SummitStack-512 + + * `other` - Other' explode: true style: form - in: query - name: last_updated__empty + name: type__nie schema: type: array items: type: string - format: date-time + x-spec-enum-id: 56365107f9c2326f + enum: + - 1000base-kx + - 1000base-t + - 1000base-tx + - 1000base-x-gbic + - 1000base-x-sfp + - 100base-fx + - 100base-lfx + - 100base-t1 + - 100base-tx + - 100base-x-sfp + - 100gbase-kp4 + - 100gbase-kr2 + - 100gbase-kr4 + - 100gbase-x-cfp + - 100gbase-x-cfp2 + - 100gbase-x-cfp4 + - 100gbase-x-cpak + - 100gbase-x-cxp + - 100gbase-x-dsfp + - 100gbase-x-qsfp28 + - 100gbase-x-qsfpdd + - 100gbase-x-sfpdd + - 10g-epon + - 10gbase-cx4 + - 10gbase-kr + - 10gbase-kx4 + - 10gbase-t + - 10gbase-x-sfpp + - 10gbase-x-x2 + - 10gbase-x-xenpak + - 10gbase-x-xfp + - 128gfc-qsfp28 + - 16gfc-sfpp + - 1gfc-sfp + - 2.5gbase-kx + - 2.5gbase-t + - 200gbase-x-cfp2 + - 200gbase-x-qsfp56 + - 200gbase-x-qsfpdd + - 25g-pon + - 25gbase-kr + - 25gbase-x-sfp28 + - 2gfc-sfp + - 32gfc-sfp28 + - 32gfc-sfpp + - 400gbase-x-cdfp + - 400gbase-x-cfp2 + - 400gbase-x-cfp8 + - 400gbase-x-osfp + - 400gbase-x-osfp-rhs + - 400gbase-x-qsfp112 + - 400gbase-x-qsfpdd + - 40gbase-kr4 + - 40gbase-x-qsfpp + - 4g + - 4gfc-sfp + - 50g-pon + - 50gbase-kr + - 50gbase-x-sfp28 + - 50gbase-x-sfp56 + - 5g + - 5gbase-kr + - 5gbase-t + - 64gfc-qsfpp + - 64gfc-sfpdd + - 64gfc-sfpp + - 800gbase-x-osfp + - 800gbase-x-qsfpdd + - 8gfc-sfpp + - bpon + - bridge + - cdma + - cisco-flexstack + - cisco-flexstack-plus + - cisco-stackwise + - cisco-stackwise-160 + - cisco-stackwise-1t + - cisco-stackwise-320 + - cisco-stackwise-480 + - cisco-stackwise-80 + - cisco-stackwise-plus + - docsis + - e1 + - e3 + - epon + - extreme-summitstack + - extreme-summitstack-128 + - extreme-summitstack-256 + - extreme-summitstack-512 + - gpon + - gsm + - ieee802.11a + - ieee802.11ac + - ieee802.11ad + - ieee802.11ax + - ieee802.11ay + - ieee802.11be + - ieee802.11g + - ieee802.11n + - ieee802.15.1 + - ieee802.15.4 + - infiniband-ddr + - infiniband-edr + - infiniband-fdr + - infiniband-fdr10 + - infiniband-hdr + - infiniband-ndr + - infiniband-qdr + - infiniband-sdr + - infiniband-xdr + - juniper-vcp + - lag + - lte + - ng-pon2 + - other + - other-wireless + - sonet-oc12 + - sonet-oc192 + - sonet-oc1920 + - sonet-oc3 + - sonet-oc3840 + - sonet-oc48 + - sonet-oc768 + - t1 + - t3 + - virtual + - xdsl + - xg-pon + - xgs-pon + description: '* `virtual` - Virtual + + * `bridge` - Bridge + + * `lag` - Link Aggregation Group (LAG) + + * `100base-fx` - 100BASE-FX (10/100ME FIBER) + + * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) + + * `100base-tx` - 100BASE-TX (10/100ME) + + * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) + + * `1000base-t` - 1000BASE-T (1GE) + + * `1000base-tx` - 1000BASE-TX (1GE) + + * `2.5gbase-t` - 2.5GBASE-T (2.5GE) + + * `5gbase-t` - 5GBASE-T (5GE) + + * `10gbase-t` - 10GBASE-T (10GE) + + * `10gbase-cx4` - 10GBASE-CX4 (10GE) + + * `100base-x-sfp` - SFP (100ME) + + * `1000base-x-gbic` - GBIC (1GE) + + * `1000base-x-sfp` - SFP (1GE) + + * `10gbase-x-sfpp` - SFP+ (10GE) + + * `10gbase-x-xfp` - XFP (10GE) + + * `10gbase-x-xenpak` - XENPAK (10GE) + + * `10gbase-x-x2` - X2 (10GE) + + * `25gbase-x-sfp28` - SFP28 (25GE) + + * `50gbase-x-sfp56` - SFP56 (50GE) + + * `40gbase-x-qsfpp` - QSFP+ (40GE) + + * `50gbase-x-sfp28` - QSFP28 (50GE) + + * `100gbase-x-cfp` - CFP (100GE) + + * `100gbase-x-cfp2` - CFP2 (100GE) + + * `200gbase-x-cfp2` - CFP2 (200GE) + + * `400gbase-x-cfp2` - CFP2 (400GE) + + * `100gbase-x-cfp4` - CFP4 (100GE) + + * `100gbase-x-cxp` - CXP (100GE) + + * `100gbase-x-cpak` - Cisco CPAK (100GE) + + * `100gbase-x-dsfp` - DSFP (100GE) + + * `100gbase-x-sfpdd` - SFP-DD (100GE) + + * `100gbase-x-qsfp28` - QSFP28 (100GE) + + * `100gbase-x-qsfpdd` - QSFP-DD (100GE) + + * `200gbase-x-qsfp56` - QSFP56 (200GE) + + * `200gbase-x-qsfpdd` - QSFP-DD (200GE) + + * `400gbase-x-qsfp112` - QSFP112 (400GE) + + * `400gbase-x-qsfpdd` - QSFP-DD (400GE) + + * `400gbase-x-osfp` - OSFP (400GE) + + * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) + + * `400gbase-x-cdfp` - CDFP (400GE) + + * `400gbase-x-cfp8` - CPF8 (400GE) + + * `800gbase-x-qsfpdd` - QSFP-DD (800GE) + + * `800gbase-x-osfp` - OSFP (800GE) + + * `1000base-kx` - 1000BASE-KX (1GE) + + * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) + + * `5gbase-kr` - 5GBASE-KR (5GE) + + * `10gbase-kr` - 10GBASE-KR (10GE) + + * `10gbase-kx4` - 10GBASE-KX4 (10GE) + + * `25gbase-kr` - 25GBASE-KR (25GE) + + * `40gbase-kr4` - 40GBASE-KR4 (40GE) + + * `50gbase-kr` - 50GBASE-KR (50GE) + + * `100gbase-kp4` - 100GBASE-KP4 (100GE) + + * `100gbase-kr2` - 100GBASE-KR2 (100GE) + + * `100gbase-kr4` - 100GBASE-KR4 (100GE) + + * `ieee802.11a` - IEEE 802.11a + + * `ieee802.11g` - IEEE 802.11b/g + + * `ieee802.11n` - IEEE 802.11n + + * `ieee802.11ac` - IEEE 802.11ac + + * `ieee802.11ad` - IEEE 802.11ad + + * `ieee802.11ax` - IEEE 802.11ax + + * `ieee802.11ay` - IEEE 802.11ay + + * `ieee802.11be` - IEEE 802.11be + + * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) + + * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) + + * `other-wireless` - Other (Wireless) + + * `gsm` - GSM + + * `cdma` - CDMA + + * `lte` - LTE + + * `4g` - 4G + + * `5g` - 5G + + * `sonet-oc3` - OC-3/STM-1 + + * `sonet-oc12` - OC-12/STM-4 + + * `sonet-oc48` - OC-48/STM-16 + + * `sonet-oc192` - OC-192/STM-64 + + * `sonet-oc768` - OC-768/STM-256 + + * `sonet-oc1920` - OC-1920/STM-640 + + * `sonet-oc3840` - OC-3840/STM-1234 + + * `1gfc-sfp` - SFP (1GFC) + + * `2gfc-sfp` - SFP (2GFC) + + * `4gfc-sfp` - SFP (4GFC) + + * `8gfc-sfpp` - SFP+ (8GFC) + + * `16gfc-sfpp` - SFP+ (16GFC) + + * `32gfc-sfp28` - SFP28 (32GFC) + + * `32gfc-sfpp` - SFP+ (32GFC) + + * `64gfc-qsfpp` - QSFP+ (64GFC) + + * `64gfc-sfpdd` - SFP-DD (64GFC) + + * `64gfc-sfpp` - SFP+ (64GFC) + + * `128gfc-qsfp28` - QSFP28 (128GFC) + + * `infiniband-sdr` - SDR (2 Gbps) + + * `infiniband-ddr` - DDR (4 Gbps) + + * `infiniband-qdr` - QDR (8 Gbps) + + * `infiniband-fdr10` - FDR10 (10 Gbps) + + * `infiniband-fdr` - FDR (13.5 Gbps) + + * `infiniband-edr` - EDR (25 Gbps) + + * `infiniband-hdr` - HDR (50 Gbps) + + * `infiniband-ndr` - NDR (100 Gbps) + + * `infiniband-xdr` - XDR (250 Gbps) + + * `t1` - T1 (1.544 Mbps) + + * `e1` - E1 (2.048 Mbps) + + * `t3` - T3 (45 Mbps) + + * `e3` - E3 (34 Mbps) + + * `xdsl` - xDSL + + * `docsis` - DOCSIS + + * `bpon` - BPON (622 Mbps / 155 Mbps) + + * `epon` - EPON (1 Gbps) + + * `10g-epon` - 10G-EPON (10 Gbps) + + * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) + + * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) + + * `xgs-pon` - XGS-PON (10 Gbps) + + * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) + + * `25g-pon` - 25G-PON (25 Gbps) + + * `50g-pon` - 50G-PON (50 Gbps) + + * `cisco-stackwise` - Cisco StackWise + + * `cisco-stackwise-plus` - Cisco StackWise Plus + + * `cisco-flexstack` - Cisco FlexStack + + * `cisco-flexstack-plus` - Cisco FlexStack Plus + + * `cisco-stackwise-80` - Cisco StackWise-80 + + * `cisco-stackwise-160` - Cisco StackWise-160 + + * `cisco-stackwise-320` - Cisco StackWise-320 + + * `cisco-stackwise-480` - Cisco StackWise-480 + + * `cisco-stackwise-1t` - Cisco StackWise-1T + + * `juniper-vcp` - Juniper VCP + + * `extreme-summitstack` - Extreme SummitStack + + * `extreme-summitstack-128` - Extreme SummitStack-128 + + * `extreme-summitstack-256` - Extreme SummitStack-256 + + * `extreme-summitstack-512` - Extreme SummitStack-512 + + * `other` - Other' explode: true style: form - in: query - name: last_updated__gt + name: type__niew schema: type: array items: type: string - format: date-time + x-spec-enum-id: 56365107f9c2326f + enum: + - 1000base-kx + - 1000base-t + - 1000base-tx + - 1000base-x-gbic + - 1000base-x-sfp + - 100base-fx + - 100base-lfx + - 100base-t1 + - 100base-tx + - 100base-x-sfp + - 100gbase-kp4 + - 100gbase-kr2 + - 100gbase-kr4 + - 100gbase-x-cfp + - 100gbase-x-cfp2 + - 100gbase-x-cfp4 + - 100gbase-x-cpak + - 100gbase-x-cxp + - 100gbase-x-dsfp + - 100gbase-x-qsfp28 + - 100gbase-x-qsfpdd + - 100gbase-x-sfpdd + - 10g-epon + - 10gbase-cx4 + - 10gbase-kr + - 10gbase-kx4 + - 10gbase-t + - 10gbase-x-sfpp + - 10gbase-x-x2 + - 10gbase-x-xenpak + - 10gbase-x-xfp + - 128gfc-qsfp28 + - 16gfc-sfpp + - 1gfc-sfp + - 2.5gbase-kx + - 2.5gbase-t + - 200gbase-x-cfp2 + - 200gbase-x-qsfp56 + - 200gbase-x-qsfpdd + - 25g-pon + - 25gbase-kr + - 25gbase-x-sfp28 + - 2gfc-sfp + - 32gfc-sfp28 + - 32gfc-sfpp + - 400gbase-x-cdfp + - 400gbase-x-cfp2 + - 400gbase-x-cfp8 + - 400gbase-x-osfp + - 400gbase-x-osfp-rhs + - 400gbase-x-qsfp112 + - 400gbase-x-qsfpdd + - 40gbase-kr4 + - 40gbase-x-qsfpp + - 4g + - 4gfc-sfp + - 50g-pon + - 50gbase-kr + - 50gbase-x-sfp28 + - 50gbase-x-sfp56 + - 5g + - 5gbase-kr + - 5gbase-t + - 64gfc-qsfpp + - 64gfc-sfpdd + - 64gfc-sfpp + - 800gbase-x-osfp + - 800gbase-x-qsfpdd + - 8gfc-sfpp + - bpon + - bridge + - cdma + - cisco-flexstack + - cisco-flexstack-plus + - cisco-stackwise + - cisco-stackwise-160 + - cisco-stackwise-1t + - cisco-stackwise-320 + - cisco-stackwise-480 + - cisco-stackwise-80 + - cisco-stackwise-plus + - docsis + - e1 + - e3 + - epon + - extreme-summitstack + - extreme-summitstack-128 + - extreme-summitstack-256 + - extreme-summitstack-512 + - gpon + - gsm + - ieee802.11a + - ieee802.11ac + - ieee802.11ad + - ieee802.11ax + - ieee802.11ay + - ieee802.11be + - ieee802.11g + - ieee802.11n + - ieee802.15.1 + - ieee802.15.4 + - infiniband-ddr + - infiniband-edr + - infiniband-fdr + - infiniband-fdr10 + - infiniband-hdr + - infiniband-ndr + - infiniband-qdr + - infiniband-sdr + - infiniband-xdr + - juniper-vcp + - lag + - lte + - ng-pon2 + - other + - other-wireless + - sonet-oc12 + - sonet-oc192 + - sonet-oc1920 + - sonet-oc3 + - sonet-oc3840 + - sonet-oc48 + - sonet-oc768 + - t1 + - t3 + - virtual + - xdsl + - xg-pon + - xgs-pon + description: '* `virtual` - Virtual + + * `bridge` - Bridge + + * `lag` - Link Aggregation Group (LAG) + + * `100base-fx` - 100BASE-FX (10/100ME FIBER) + + * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) + + * `100base-tx` - 100BASE-TX (10/100ME) + + * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) + + * `1000base-t` - 1000BASE-T (1GE) + + * `1000base-tx` - 1000BASE-TX (1GE) + + * `2.5gbase-t` - 2.5GBASE-T (2.5GE) + + * `5gbase-t` - 5GBASE-T (5GE) + + * `10gbase-t` - 10GBASE-T (10GE) + + * `10gbase-cx4` - 10GBASE-CX4 (10GE) + + * `100base-x-sfp` - SFP (100ME) + + * `1000base-x-gbic` - GBIC (1GE) + + * `1000base-x-sfp` - SFP (1GE) + + * `10gbase-x-sfpp` - SFP+ (10GE) + + * `10gbase-x-xfp` - XFP (10GE) + + * `10gbase-x-xenpak` - XENPAK (10GE) + + * `10gbase-x-x2` - X2 (10GE) + + * `25gbase-x-sfp28` - SFP28 (25GE) + + * `50gbase-x-sfp56` - SFP56 (50GE) + + * `40gbase-x-qsfpp` - QSFP+ (40GE) + + * `50gbase-x-sfp28` - QSFP28 (50GE) + + * `100gbase-x-cfp` - CFP (100GE) + + * `100gbase-x-cfp2` - CFP2 (100GE) + + * `200gbase-x-cfp2` - CFP2 (200GE) + + * `400gbase-x-cfp2` - CFP2 (400GE) + + * `100gbase-x-cfp4` - CFP4 (100GE) + + * `100gbase-x-cxp` - CXP (100GE) + + * `100gbase-x-cpak` - Cisco CPAK (100GE) + + * `100gbase-x-dsfp` - DSFP (100GE) + + * `100gbase-x-sfpdd` - SFP-DD (100GE) + + * `100gbase-x-qsfp28` - QSFP28 (100GE) + + * `100gbase-x-qsfpdd` - QSFP-DD (100GE) + + * `200gbase-x-qsfp56` - QSFP56 (200GE) + + * `200gbase-x-qsfpdd` - QSFP-DD (200GE) + + * `400gbase-x-qsfp112` - QSFP112 (400GE) + + * `400gbase-x-qsfpdd` - QSFP-DD (400GE) + + * `400gbase-x-osfp` - OSFP (400GE) + + * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) + + * `400gbase-x-cdfp` - CDFP (400GE) + + * `400gbase-x-cfp8` - CPF8 (400GE) + + * `800gbase-x-qsfpdd` - QSFP-DD (800GE) + + * `800gbase-x-osfp` - OSFP (800GE) + + * `1000base-kx` - 1000BASE-KX (1GE) + + * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) + + * `5gbase-kr` - 5GBASE-KR (5GE) + + * `10gbase-kr` - 10GBASE-KR (10GE) + + * `10gbase-kx4` - 10GBASE-KX4 (10GE) + + * `25gbase-kr` - 25GBASE-KR (25GE) + + * `40gbase-kr4` - 40GBASE-KR4 (40GE) + + * `50gbase-kr` - 50GBASE-KR (50GE) + + * `100gbase-kp4` - 100GBASE-KP4 (100GE) + + * `100gbase-kr2` - 100GBASE-KR2 (100GE) + + * `100gbase-kr4` - 100GBASE-KR4 (100GE) + + * `ieee802.11a` - IEEE 802.11a + + * `ieee802.11g` - IEEE 802.11b/g + + * `ieee802.11n` - IEEE 802.11n + + * `ieee802.11ac` - IEEE 802.11ac + + * `ieee802.11ad` - IEEE 802.11ad + + * `ieee802.11ax` - IEEE 802.11ax + + * `ieee802.11ay` - IEEE 802.11ay + + * `ieee802.11be` - IEEE 802.11be + + * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) + + * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) + + * `other-wireless` - Other (Wireless) + + * `gsm` - GSM + + * `cdma` - CDMA + + * `lte` - LTE + + * `4g` - 4G + + * `5g` - 5G + + * `sonet-oc3` - OC-3/STM-1 + + * `sonet-oc12` - OC-12/STM-4 + + * `sonet-oc48` - OC-48/STM-16 + + * `sonet-oc192` - OC-192/STM-64 + + * `sonet-oc768` - OC-768/STM-256 + + * `sonet-oc1920` - OC-1920/STM-640 + + * `sonet-oc3840` - OC-3840/STM-1234 + + * `1gfc-sfp` - SFP (1GFC) + + * `2gfc-sfp` - SFP (2GFC) + + * `4gfc-sfp` - SFP (4GFC) + + * `8gfc-sfpp` - SFP+ (8GFC) + + * `16gfc-sfpp` - SFP+ (16GFC) + + * `32gfc-sfp28` - SFP28 (32GFC) + + * `32gfc-sfpp` - SFP+ (32GFC) + + * `64gfc-qsfpp` - QSFP+ (64GFC) + + * `64gfc-sfpdd` - SFP-DD (64GFC) + + * `64gfc-sfpp` - SFP+ (64GFC) + + * `128gfc-qsfp28` - QSFP28 (128GFC) + + * `infiniband-sdr` - SDR (2 Gbps) + + * `infiniband-ddr` - DDR (4 Gbps) + + * `infiniband-qdr` - QDR (8 Gbps) + + * `infiniband-fdr10` - FDR10 (10 Gbps) + + * `infiniband-fdr` - FDR (13.5 Gbps) + + * `infiniband-edr` - EDR (25 Gbps) + + * `infiniband-hdr` - HDR (50 Gbps) + + * `infiniband-ndr` - NDR (100 Gbps) + + * `infiniband-xdr` - XDR (250 Gbps) + + * `t1` - T1 (1.544 Mbps) + + * `e1` - E1 (2.048 Mbps) + + * `t3` - T3 (45 Mbps) + + * `e3` - E3 (34 Mbps) + + * `xdsl` - xDSL + + * `docsis` - DOCSIS + + * `bpon` - BPON (622 Mbps / 155 Mbps) + + * `epon` - EPON (1 Gbps) + + * `10g-epon` - 10G-EPON (10 Gbps) + + * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) + + * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) + + * `xgs-pon` - XGS-PON (10 Gbps) + + * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) + + * `25g-pon` - 25G-PON (25 Gbps) + + * `50g-pon` - 50G-PON (50 Gbps) + + * `cisco-stackwise` - Cisco StackWise + + * `cisco-stackwise-plus` - Cisco StackWise Plus + + * `cisco-flexstack` - Cisco FlexStack + + * `cisco-flexstack-plus` - Cisco FlexStack Plus + + * `cisco-stackwise-80` - Cisco StackWise-80 + + * `cisco-stackwise-160` - Cisco StackWise-160 + + * `cisco-stackwise-320` - Cisco StackWise-320 + + * `cisco-stackwise-480` - Cisco StackWise-480 + + * `cisco-stackwise-1t` - Cisco StackWise-1T + + * `juniper-vcp` - Juniper VCP + + * `extreme-summitstack` - Extreme SummitStack + + * `extreme-summitstack-128` - Extreme SummitStack-128 + + * `extreme-summitstack-256` - Extreme SummitStack-256 + + * `extreme-summitstack-512` - Extreme SummitStack-512 + + * `other` - Other' explode: true style: form - in: query - name: last_updated__gte + name: type__nisw schema: type: array items: type: string - format: date-time + x-spec-enum-id: 56365107f9c2326f + enum: + - 1000base-kx + - 1000base-t + - 1000base-tx + - 1000base-x-gbic + - 1000base-x-sfp + - 100base-fx + - 100base-lfx + - 100base-t1 + - 100base-tx + - 100base-x-sfp + - 100gbase-kp4 + - 100gbase-kr2 + - 100gbase-kr4 + - 100gbase-x-cfp + - 100gbase-x-cfp2 + - 100gbase-x-cfp4 + - 100gbase-x-cpak + - 100gbase-x-cxp + - 100gbase-x-dsfp + - 100gbase-x-qsfp28 + - 100gbase-x-qsfpdd + - 100gbase-x-sfpdd + - 10g-epon + - 10gbase-cx4 + - 10gbase-kr + - 10gbase-kx4 + - 10gbase-t + - 10gbase-x-sfpp + - 10gbase-x-x2 + - 10gbase-x-xenpak + - 10gbase-x-xfp + - 128gfc-qsfp28 + - 16gfc-sfpp + - 1gfc-sfp + - 2.5gbase-kx + - 2.5gbase-t + - 200gbase-x-cfp2 + - 200gbase-x-qsfp56 + - 200gbase-x-qsfpdd + - 25g-pon + - 25gbase-kr + - 25gbase-x-sfp28 + - 2gfc-sfp + - 32gfc-sfp28 + - 32gfc-sfpp + - 400gbase-x-cdfp + - 400gbase-x-cfp2 + - 400gbase-x-cfp8 + - 400gbase-x-osfp + - 400gbase-x-osfp-rhs + - 400gbase-x-qsfp112 + - 400gbase-x-qsfpdd + - 40gbase-kr4 + - 40gbase-x-qsfpp + - 4g + - 4gfc-sfp + - 50g-pon + - 50gbase-kr + - 50gbase-x-sfp28 + - 50gbase-x-sfp56 + - 5g + - 5gbase-kr + - 5gbase-t + - 64gfc-qsfpp + - 64gfc-sfpdd + - 64gfc-sfpp + - 800gbase-x-osfp + - 800gbase-x-qsfpdd + - 8gfc-sfpp + - bpon + - bridge + - cdma + - cisco-flexstack + - cisco-flexstack-plus + - cisco-stackwise + - cisco-stackwise-160 + - cisco-stackwise-1t + - cisco-stackwise-320 + - cisco-stackwise-480 + - cisco-stackwise-80 + - cisco-stackwise-plus + - docsis + - e1 + - e3 + - epon + - extreme-summitstack + - extreme-summitstack-128 + - extreme-summitstack-256 + - extreme-summitstack-512 + - gpon + - gsm + - ieee802.11a + - ieee802.11ac + - ieee802.11ad + - ieee802.11ax + - ieee802.11ay + - ieee802.11be + - ieee802.11g + - ieee802.11n + - ieee802.15.1 + - ieee802.15.4 + - infiniband-ddr + - infiniband-edr + - infiniband-fdr + - infiniband-fdr10 + - infiniband-hdr + - infiniband-ndr + - infiniband-qdr + - infiniband-sdr + - infiniband-xdr + - juniper-vcp + - lag + - lte + - ng-pon2 + - other + - other-wireless + - sonet-oc12 + - sonet-oc192 + - sonet-oc1920 + - sonet-oc3 + - sonet-oc3840 + - sonet-oc48 + - sonet-oc768 + - t1 + - t3 + - virtual + - xdsl + - xg-pon + - xgs-pon + description: '* `virtual` - Virtual + + * `bridge` - Bridge + + * `lag` - Link Aggregation Group (LAG) + + * `100base-fx` - 100BASE-FX (10/100ME FIBER) + + * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) + + * `100base-tx` - 100BASE-TX (10/100ME) + + * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) + + * `1000base-t` - 1000BASE-T (1GE) + + * `1000base-tx` - 1000BASE-TX (1GE) + + * `2.5gbase-t` - 2.5GBASE-T (2.5GE) + + * `5gbase-t` - 5GBASE-T (5GE) + + * `10gbase-t` - 10GBASE-T (10GE) + + * `10gbase-cx4` - 10GBASE-CX4 (10GE) + + * `100base-x-sfp` - SFP (100ME) + + * `1000base-x-gbic` - GBIC (1GE) + + * `1000base-x-sfp` - SFP (1GE) + + * `10gbase-x-sfpp` - SFP+ (10GE) + + * `10gbase-x-xfp` - XFP (10GE) + + * `10gbase-x-xenpak` - XENPAK (10GE) + + * `10gbase-x-x2` - X2 (10GE) + + * `25gbase-x-sfp28` - SFP28 (25GE) + + * `50gbase-x-sfp56` - SFP56 (50GE) + + * `40gbase-x-qsfpp` - QSFP+ (40GE) + + * `50gbase-x-sfp28` - QSFP28 (50GE) + + * `100gbase-x-cfp` - CFP (100GE) + + * `100gbase-x-cfp2` - CFP2 (100GE) + + * `200gbase-x-cfp2` - CFP2 (200GE) + + * `400gbase-x-cfp2` - CFP2 (400GE) + + * `100gbase-x-cfp4` - CFP4 (100GE) + + * `100gbase-x-cxp` - CXP (100GE) + + * `100gbase-x-cpak` - Cisco CPAK (100GE) + + * `100gbase-x-dsfp` - DSFP (100GE) + + * `100gbase-x-sfpdd` - SFP-DD (100GE) + + * `100gbase-x-qsfp28` - QSFP28 (100GE) + + * `100gbase-x-qsfpdd` - QSFP-DD (100GE) + + * `200gbase-x-qsfp56` - QSFP56 (200GE) + + * `200gbase-x-qsfpdd` - QSFP-DD (200GE) + + * `400gbase-x-qsfp112` - QSFP112 (400GE) + + * `400gbase-x-qsfpdd` - QSFP-DD (400GE) + + * `400gbase-x-osfp` - OSFP (400GE) + + * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) + + * `400gbase-x-cdfp` - CDFP (400GE) + + * `400gbase-x-cfp8` - CPF8 (400GE) + + * `800gbase-x-qsfpdd` - QSFP-DD (800GE) + + * `800gbase-x-osfp` - OSFP (800GE) + + * `1000base-kx` - 1000BASE-KX (1GE) + + * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) + + * `5gbase-kr` - 5GBASE-KR (5GE) + + * `10gbase-kr` - 10GBASE-KR (10GE) + + * `10gbase-kx4` - 10GBASE-KX4 (10GE) + + * `25gbase-kr` - 25GBASE-KR (25GE) + + * `40gbase-kr4` - 40GBASE-KR4 (40GE) + + * `50gbase-kr` - 50GBASE-KR (50GE) + + * `100gbase-kp4` - 100GBASE-KP4 (100GE) + + * `100gbase-kr2` - 100GBASE-KR2 (100GE) + + * `100gbase-kr4` - 100GBASE-KR4 (100GE) + + * `ieee802.11a` - IEEE 802.11a + + * `ieee802.11g` - IEEE 802.11b/g + + * `ieee802.11n` - IEEE 802.11n + + * `ieee802.11ac` - IEEE 802.11ac + + * `ieee802.11ad` - IEEE 802.11ad + + * `ieee802.11ax` - IEEE 802.11ax + + * `ieee802.11ay` - IEEE 802.11ay + + * `ieee802.11be` - IEEE 802.11be + + * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) + + * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) + + * `other-wireless` - Other (Wireless) + + * `gsm` - GSM + + * `cdma` - CDMA + + * `lte` - LTE + + * `4g` - 4G + + * `5g` - 5G + + * `sonet-oc3` - OC-3/STM-1 + + * `sonet-oc12` - OC-12/STM-4 + + * `sonet-oc48` - OC-48/STM-16 + + * `sonet-oc192` - OC-192/STM-64 + + * `sonet-oc768` - OC-768/STM-256 + + * `sonet-oc1920` - OC-1920/STM-640 + + * `sonet-oc3840` - OC-3840/STM-1234 + + * `1gfc-sfp` - SFP (1GFC) + + * `2gfc-sfp` - SFP (2GFC) + + * `4gfc-sfp` - SFP (4GFC) + + * `8gfc-sfpp` - SFP+ (8GFC) + + * `16gfc-sfpp` - SFP+ (16GFC) + + * `32gfc-sfp28` - SFP28 (32GFC) + + * `32gfc-sfpp` - SFP+ (32GFC) + + * `64gfc-qsfpp` - QSFP+ (64GFC) + + * `64gfc-sfpdd` - SFP-DD (64GFC) + + * `64gfc-sfpp` - SFP+ (64GFC) + + * `128gfc-qsfp28` - QSFP28 (128GFC) + + * `infiniband-sdr` - SDR (2 Gbps) + + * `infiniband-ddr` - DDR (4 Gbps) + + * `infiniband-qdr` - QDR (8 Gbps) + + * `infiniband-fdr10` - FDR10 (10 Gbps) + + * `infiniband-fdr` - FDR (13.5 Gbps) + + * `infiniband-edr` - EDR (25 Gbps) + + * `infiniband-hdr` - HDR (50 Gbps) + + * `infiniband-ndr` - NDR (100 Gbps) + + * `infiniband-xdr` - XDR (250 Gbps) + + * `t1` - T1 (1.544 Mbps) + + * `e1` - E1 (2.048 Mbps) + + * `t3` - T3 (45 Mbps) + + * `e3` - E3 (34 Mbps) + + * `xdsl` - xDSL + + * `docsis` - DOCSIS + + * `bpon` - BPON (622 Mbps / 155 Mbps) + + * `epon` - EPON (1 Gbps) + + * `10g-epon` - 10G-EPON (10 Gbps) + + * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) + + * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) + + * `xgs-pon` - XGS-PON (10 Gbps) + + * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) + + * `25g-pon` - 25G-PON (25 Gbps) + + * `50g-pon` - 50G-PON (50 Gbps) + + * `cisco-stackwise` - Cisco StackWise + + * `cisco-stackwise-plus` - Cisco StackWise Plus + + * `cisco-flexstack` - Cisco FlexStack + + * `cisco-flexstack-plus` - Cisco FlexStack Plus + + * `cisco-stackwise-80` - Cisco StackWise-80 + + * `cisco-stackwise-160` - Cisco StackWise-160 + + * `cisco-stackwise-320` - Cisco StackWise-320 + + * `cisco-stackwise-480` - Cisco StackWise-480 + + * `cisco-stackwise-1t` - Cisco StackWise-1T + + * `juniper-vcp` - Juniper VCP + + * `extreme-summitstack` - Extreme SummitStack + + * `extreme-summitstack-128` - Extreme SummitStack-128 + + * `extreme-summitstack-256` - Extreme SummitStack-256 + + * `extreme-summitstack-512` - Extreme SummitStack-512 + + * `other` - Other' explode: true style: form - in: query - name: last_updated__lt + name: updated_by_request + schema: + type: string + format: uuid + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/PaginatedInterfaceTemplateList' + description: '' + post: + operationId: dcim_interface_templates_create + description: Post a list of interface template objects. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableInterfaceTemplateRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableInterfaceTemplateRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json: + schema: + $ref: '#/components/schemas/InterfaceTemplate' + description: '' + put: + operationId: dcim_interface_templates_bulk_update + description: Put a list of interface template objects. + tags: + - dcim + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/InterfaceTemplateRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/InterfaceTemplateRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/InterfaceTemplate' + description: '' + patch: + operationId: dcim_interface_templates_bulk_partial_update + description: Patch a list of interface template objects. + tags: + - dcim + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/InterfaceTemplateRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/InterfaceTemplateRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/InterfaceTemplate' + description: '' + delete: + operationId: dcim_interface_templates_bulk_destroy + description: Delete a list of interface template objects. + tags: + - dcim + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/InterfaceTemplateRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/InterfaceTemplateRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /api/dcim/interface-templates/{id}/: + get: + operationId: dcim_interface_templates_retrieve + description: Get a interface template object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this interface template. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/InterfaceTemplate' + description: '' + put: + operationId: dcim_interface_templates_update + description: Put a interface template object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this interface template. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableInterfaceTemplateRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableInterfaceTemplateRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/InterfaceTemplate' + description: '' + patch: + operationId: dcim_interface_templates_partial_update + description: Patch a interface template object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this interface template. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableInterfaceTemplateRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableInterfaceTemplateRequest' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/InterfaceTemplate' + description: '' + delete: + operationId: dcim_interface_templates_destroy + description: Delete a interface template object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this interface template. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /api/dcim/interfaces/: + get: + operationId: dcim_interfaces_list + description: Get a list of interface objects. + parameters: + - in: query + name: bridge_id schema: type: array items: - type: string - format: date-time + type: integer + description: Bridged interface (ID) explode: true style: form - in: query - name: last_updated__lte + name: bridge_id__n schema: type: array items: - type: string - format: date-time + type: integer + description: Bridged interface (ID) 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: manufacturer - schema: - type: array - items: - type: string - description: Manufacturer (slug) - explode: true - style: form - - in: query - name: manufacturer__n + name: cable_end schema: - type: array - items: - type: string - description: Manufacturer (slug) - explode: true - style: form + type: string + x-spec-enum-id: 1db84f9b93b261c8 + enum: + - A + - B + description: '* `A` - A + + * `B` - B' - in: query - name: manufacturer_id + name: cable_id schema: type: array items: type: integer nullable: true - description: Manufacturer (ID) + description: Cable (ID) explode: true style: form - in: query - name: manufacturer_id__n + name: cable_id__n schema: type: array items: type: integer nullable: true - description: Manufacturer (ID) - explode: true - style: form - - in: query - name: modified_by_request - schema: - type: string - format: uuid - - in: query - name: name - schema: - type: array - items: - type: string + description: Cable (ID) explode: true style: form - in: query - name: name__empty + name: cabled schema: type: boolean - in: query - name: name__ic + name: connected schema: - type: array - items: - type: string - explode: true - style: form + type: boolean - in: query - name: name__ie + name: created schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: name__iew + name: created__empty schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: name__isw + name: created__gt schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: name__n + name: created__gte schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: name__nic + name: created__lt schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: name__nie + name: created__lte schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: name__niew + name: created__n schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: name__nisw - 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 - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. + name: created_by_request schema: type: string + format: uuid - in: query - name: parent_id - schema: - type: array - items: - type: integer - nullable: true - description: Parent inventory item (ID) - explode: true - style: form - - in: query - name: parent_id__n - schema: - type: array - items: - type: integer - nullable: true - description: Parent inventory item (ID) - explode: true - style: form - - in: query - name: part_id + name: description schema: type: array items: @@ -26586,11 +35897,11 @@ paths: explode: true style: form - in: query - name: part_id__empty + name: description__empty schema: type: boolean - in: query - name: part_id__ic + name: description__ic schema: type: array items: @@ -26598,7 +35909,7 @@ paths: explode: true style: form - in: query - name: part_id__ie + name: description__ie schema: type: array items: @@ -26606,7 +35917,7 @@ paths: explode: true style: form - in: query - name: part_id__iew + name: description__iew schema: type: array items: @@ -26614,7 +35925,7 @@ paths: explode: true style: form - in: query - name: part_id__isw + name: description__isw schema: type: array items: @@ -26622,7 +35933,7 @@ paths: explode: true style: form - in: query - name: part_id__n + name: description__n schema: type: array items: @@ -26630,7 +35941,7 @@ paths: explode: true style: form - in: query - name: part_id__nic + name: description__nic schema: type: array items: @@ -26638,7 +35949,7 @@ paths: explode: true style: form - in: query - name: part_id__nie + name: description__nie schema: type: array items: @@ -26646,7 +35957,7 @@ paths: explode: true style: form - in: query - name: part_id__niew + name: description__niew schema: type: array items: @@ -26654,7 +35965,7 @@ paths: explode: true style: form - in: query - name: part_id__nisw + name: description__nisw schema: type: array items: @@ -26662,667 +35973,647 @@ paths: explode: true style: form - in: query - name: q - schema: - type: string - description: Search - - in: query - name: role + name: device schema: type: array items: type: string - description: Role (slug) + nullable: true + description: Device (name) explode: true style: form - in: query - name: role__n + name: device__n schema: type: array items: type: string - description: Role (slug) + nullable: true + description: Device (name) explode: true style: form - in: query - name: role_id + name: device_id schema: type: array items: type: integer - nullable: true - description: Role (ID) + description: Device (ID) explode: true style: form - in: query - name: role_id__n + name: device_id__n schema: type: array items: type: integer - nullable: true - description: Role (ID) + description: Device (ID) explode: true style: form - in: query - name: updated_by_request - schema: - type: string - format: uuid - tags: - - dcim - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/PaginatedInventoryItemTemplateList' - description: '' - post: - operationId: dcim_inventory_item_templates_create - description: Post a list of inventory item template objects. - tags: - - dcim - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/InventoryItemTemplateRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/InventoryItemTemplateRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '201': - content: - application/json: - schema: - $ref: '#/components/schemas/InventoryItemTemplate' - description: '' - put: - operationId: dcim_inventory_item_templates_bulk_update - description: Put a list of inventory item template objects. - tags: - - dcim - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/InventoryItemTemplateRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/InventoryItemTemplateRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/InventoryItemTemplate' - description: '' - patch: - operationId: dcim_inventory_item_templates_bulk_partial_update - description: Patch a list of inventory item template objects. - tags: - - dcim - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/InventoryItemTemplateRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/InventoryItemTemplateRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/InventoryItemTemplate' - description: '' - delete: - operationId: dcim_inventory_item_templates_bulk_destroy - description: Delete a list of inventory item template objects. - tags: - - dcim - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/InventoryItemTemplateRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/InventoryItemTemplateRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '204': - description: No response body - /api/dcim/inventory-item-templates/{id}/: - get: - operationId: dcim_inventory_item_templates_retrieve - description: Get a inventory item template object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this inventory item template. - required: true - tags: - - dcim - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/InventoryItemTemplate' - description: '' - put: - operationId: dcim_inventory_item_templates_update - description: Put a inventory item template object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this inventory item template. - required: true - tags: - - dcim - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/InventoryItemTemplateRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/InventoryItemTemplateRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/InventoryItemTemplate' - description: '' - patch: - operationId: dcim_inventory_item_templates_partial_update - description: Patch a inventory item template object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this inventory item template. - required: true - tags: - - dcim - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/PatchedInventoryItemTemplateRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/PatchedInventoryItemTemplateRequest' - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/InventoryItemTemplate' - description: '' - delete: - operationId: dcim_inventory_item_templates_destroy - description: Delete a inventory item template object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this inventory item template. - required: true - tags: - - dcim - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '204': - description: No response body - /api/dcim/inventory-items/: - get: - operationId: dcim_inventory_items_list - description: Get a list of inventory item objects. - parameters: - - in: query - name: asset_tag + name: device_role schema: type: array items: type: string + description: Device role (slug) explode: true style: form - in: query - name: asset_tag__empty - schema: - type: boolean - - in: query - name: asset_tag__ic + name: device_role__n schema: type: array items: type: string + description: Device role (slug) explode: true style: form - in: query - name: asset_tag__ie + name: device_role_id schema: type: array items: - type: string + type: integer + description: Device role (ID) explode: true style: form - in: query - name: asset_tag__iew + name: device_role_id__n schema: type: array items: - type: string + type: integer + description: Device role (ID) explode: true style: form - in: query - name: asset_tag__isw + name: device_status schema: type: array items: type: string + x-spec-enum-id: 8d8971779f16ee18 explode: true style: form - in: query - name: asset_tag__n + name: device_status__empty schema: - type: array - items: - type: string - explode: true - style: form + type: boolean - in: query - name: asset_tag__nic + name: device_status__ic schema: type: array items: type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: asset_tag__nie + name: device_status__ie schema: type: array items: type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: asset_tag__niew + name: device_status__iew schema: type: array items: type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: asset_tag__nisw + name: device_status__isw schema: type: array items: type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: component_id - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: component_id__empty - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: component_id__gt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: component_id__gte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: component_id__lt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: component_id__lte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: component_id__n + name: device_status__n schema: type: array items: - type: integer - format: int32 + type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: component_type - schema: - type: string - - in: query - name: component_type__n - schema: - type: string - - in: query - name: created + name: device_status__nic schema: type: array items: type: string - format: date-time + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: created__empty + name: device_status__nie schema: type: array items: type: string - format: date-time + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: created__gt + name: device_status__niew schema: type: array items: type: string - format: date-time + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: created__gte + name: device_status__nisw schema: type: array items: type: string - format: date-time + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: created__lt + name: device_type schema: type: array items: type: string - format: date-time + description: Device type (model) explode: true style: form - in: query - name: created__lte + name: device_type__n schema: type: array items: type: string - format: date-time + description: Device type (model) explode: true style: form - in: query - name: created__n + name: device_type_id schema: type: array items: - type: string - format: date-time + type: integer + description: Device type (ID) explode: true style: form - in: query - name: created_by_request - schema: - type: string - format: uuid - - in: query - name: description + name: device_type_id__n schema: type: array items: - type: string + type: integer + description: Device type (ID) explode: true style: form - in: query - name: description__empty - schema: - type: boolean - - in: query - name: description__ic + name: duplex schema: type: array items: type: string + x-spec-enum-id: 47eab9b1a65a1e21 + nullable: true explode: true style: form - in: query - name: description__ie + name: duplex__empty schema: - type: array - items: - type: string - explode: true - style: form + type: boolean - in: query - name: description__iew + name: duplex__ic schema: type: array items: type: string + x-spec-enum-id: 47eab9b1a65a1e21 + nullable: true + enum: + - '' + - null + - auto + - full + - half + description: '* `half` - Half + + * `full` - Full + + * `auto` - Auto' explode: true style: form - in: query - name: description__isw + name: duplex__ie schema: type: array items: type: string + x-spec-enum-id: 47eab9b1a65a1e21 + nullable: true + enum: + - '' + - null + - auto + - full + - half + description: '* `half` - Half + + * `full` - Full + + * `auto` - Auto' explode: true style: form - in: query - name: description__n + name: duplex__iew schema: type: array items: type: string + x-spec-enum-id: 47eab9b1a65a1e21 + nullable: true + enum: + - '' + - null + - auto + - full + - half + description: '* `half` - Half + + * `full` - Full + + * `auto` - Auto' explode: true style: form - in: query - name: description__nic + name: duplex__isw schema: type: array items: type: string + x-spec-enum-id: 47eab9b1a65a1e21 + nullable: true + enum: + - '' + - null + - auto + - full + - half + description: '* `half` - Half + + * `full` - Full + + * `auto` - Auto' explode: true style: form - in: query - name: description__nie + name: duplex__n schema: type: array items: type: string + x-spec-enum-id: 47eab9b1a65a1e21 + nullable: true + enum: + - '' + - null + - auto + - full + - half + description: '* `half` - Half + + * `full` - Full + + * `auto` - Auto' explode: true style: form - in: query - name: description__niew + name: duplex__nic schema: type: array items: type: string + x-spec-enum-id: 47eab9b1a65a1e21 + nullable: true + enum: + - '' + - null + - auto + - full + - half + description: '* `half` - Half + + * `full` - Full + + * `auto` - Auto' explode: true style: form - in: query - name: description__nisw + name: duplex__nie schema: type: array items: type: string + x-spec-enum-id: 47eab9b1a65a1e21 + nullable: true + enum: + - '' + - null + - auto + - full + - half + description: '* `half` - Half + + * `full` - Full + + * `auto` - Auto' explode: true style: form - in: query - name: device + name: duplex__niew schema: type: array items: type: string + x-spec-enum-id: 47eab9b1a65a1e21 nullable: true - description: Device (name) + enum: + - '' + - null + - auto + - full + - half + description: '* `half` - Half + + * `full` - Full + + * `auto` - Auto' explode: true style: form - in: query - name: device__n + name: duplex__nisw schema: type: array items: type: string + x-spec-enum-id: 47eab9b1a65a1e21 nullable: true - description: Device (name) + enum: + - '' + - null + - auto + - full + - half + description: '* `half` - Half + + * `full` - Full + + * `auto` - Auto' explode: true style: form - in: query - name: device_id + name: enabled schema: - type: array - items: - type: integer - description: Device (ID) - explode: true - style: form + type: boolean - in: query - name: device_id__n + name: id schema: type: array items: type: integer - description: Device (ID) + format: int32 explode: true style: form - in: query - name: device_type + name: id__empty schema: - type: array - items: - type: string - description: Device type (model) - explode: true - style: form + type: boolean - in: query - name: device_type__n + name: id__gt schema: type: array items: - type: string - description: Device type (model) + type: integer + format: int32 explode: true style: form - in: query - name: device_type_id + name: id__gte schema: type: array items: type: integer - description: Device type (ID) + format: int32 explode: true style: form - in: query - name: device_type_id__n + name: id__lt schema: type: array items: type: integer - description: Device type (ID) + format: int32 explode: true style: form - in: query - name: discovered - schema: - type: boolean - - in: query - name: id + name: id__lte schema: type: array items: @@ -27331,11 +36622,7 @@ paths: explode: true style: form - in: query - name: id__empty - schema: - type: boolean - - in: query - name: id__gt + name: id__n schema: type: array items: @@ -27344,39 +36631,52 @@ paths: explode: true style: form - in: query - name: id__gte + name: kind + schema: + type: string + description: Kind of interface + - in: query + name: l2vpn schema: type: array items: type: integer - format: int32 + maximum: 9223372036854775807 + minimum: -9223372036854775808 + format: int64 + nullable: true + description: L2VPN explode: true style: form - in: query - name: id__lt + name: l2vpn__n schema: type: array items: type: integer - format: int32 + maximum: 9223372036854775807 + minimum: -9223372036854775808 + format: int64 + nullable: true + description: L2VPN explode: true style: form - in: query - name: id__lte + name: l2vpn_id schema: type: array items: type: integer - format: int32 + description: L2VPN (ID) explode: true style: form - in: query - name: id__n + name: l2vpn_id__n schema: type: array items: type: integer - format: int32 + description: L2VPN (ID) explode: true style: form - in: query @@ -27463,6 +36763,24 @@ paths: type: string explode: true style: form + - in: query + name: lag_id + schema: + type: array + items: + type: integer + description: LAG interface (ID) + explode: true + style: form + - in: query + name: lag_id__n + schema: + type: array + items: + type: integer + description: LAG interface (ID) + explode: true + style: form - in: query name: last_updated schema: @@ -27569,50 +36887,23 @@ paths: explode: true style: form - in: query - name: manufacturer + name: mac_address schema: type: array items: type: string - description: Manufacturer (slug) explode: true style: form - in: query - name: manufacturer__n + name: mac_address__ic schema: type: array items: type: string - description: Manufacturer (slug) - explode: true - style: form - - in: query - name: manufacturer_id - schema: - type: array - items: - type: integer - nullable: true - description: Manufacturer (ID) - explode: true - style: form - - in: query - name: manufacturer_id__n - schema: - type: array - items: - type: integer - nullable: true - description: Manufacturer (ID) explode: true style: form - in: query - name: modified_by_request - schema: - type: string - format: uuid - - in: query - name: name + name: mac_address__ie schema: type: array items: @@ -27620,11 +36911,7 @@ paths: explode: true style: form - in: query - name: name__empty - schema: - type: boolean - - in: query - name: name__ic + name: mac_address__iew schema: type: array items: @@ -27632,7 +36919,7 @@ paths: explode: true style: form - in: query - name: name__ie + name: mac_address__isw schema: type: array items: @@ -27640,7 +36927,7 @@ paths: explode: true style: form - in: query - name: name__iew + name: mac_address__n schema: type: array items: @@ -27648,7 +36935,7 @@ paths: explode: true style: form - in: query - name: name__isw + name: mac_address__nic schema: type: array items: @@ -27656,7 +36943,7 @@ paths: explode: true style: form - in: query - name: name__n + name: mac_address__nie schema: type: array items: @@ -27664,7 +36951,7 @@ paths: explode: true style: form - in: query - name: name__nic + name: mac_address__niew schema: type: array items: @@ -27672,7 +36959,7 @@ paths: explode: true style: form - in: query - name: name__nie + name: mac_address__nisw schema: type: array items: @@ -27680,107 +36967,115 @@ paths: explode: true style: form - in: query - name: name__niew + name: mark_connected schema: - type: array - items: - type: string - explode: true - style: form + type: boolean - in: query - name: name__nisw + name: mgmt_only 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. + type: boolean + - in: query + name: mode schema: - type: integer - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. + type: string + x-spec-enum-id: 79109bd9dbb73a3c + enum: + - access + - tagged + - tagged-all + description: 'IEEE 802.1Q tagging strategy + + + * `access` - Access + + * `tagged` - Tagged + + * `tagged-all` - Tagged (All)' + - in: query + name: modified_by_request schema: type: string + format: uuid - in: query - name: parent_id + name: module_id schema: type: array items: type: integer nullable: true - description: Parent inventory item (ID) + description: Module (ID) explode: true style: form - in: query - name: parent_id__n + name: module_id__n schema: type: array items: type: integer nullable: true - description: Parent inventory item (ID) + description: Module (ID) explode: true style: form - in: query - name: part_id + name: mtu schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: part_id__empty + name: mtu__empty schema: type: boolean - in: query - name: part_id__ic + name: mtu__gt schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: part_id__ie + name: mtu__gte schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: part_id__iew + name: mtu__lt schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: part_id__isw + name: mtu__lte schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: part_id__n + name: mtu__n schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: part_id__nic + name: name schema: type: array items: @@ -27788,7 +37083,11 @@ paths: explode: true style: form - in: query - name: part_id__nie + name: name__empty + schema: + type: boolean + - in: query + name: name__ic schema: type: array items: @@ -27796,7 +37095,7 @@ paths: explode: true style: form - in: query - name: part_id__niew + name: name__ie schema: type: array items: @@ -27804,7 +37103,7 @@ paths: explode: true style: form - in: query - name: part_id__nisw + name: name__iew schema: type: array items: @@ -27812,772 +37111,606 @@ paths: explode: true style: form - in: query - name: q - schema: - type: string - description: Search - - in: query - name: rack + name: name__isw schema: type: array items: type: string - description: Rack (name) explode: true style: form - in: query - name: rack__n + name: name__n schema: type: array items: type: string - description: Rack (name) explode: true style: form - in: query - name: rack_id + name: name__nic schema: type: array items: - type: integer - description: Rack (ID) + type: string explode: true style: form - in: query - name: rack_id__n + name: name__nie schema: type: array items: - type: integer - description: Rack (ID) + type: string explode: true style: form - in: query - name: region + name: name__niew schema: type: array items: - type: integer - description: Region (slug) + type: string explode: true style: form - in: query - name: region__n + name: name__nisw schema: type: array items: - type: integer - description: Region (slug) + type: string explode: true style: form - in: query - name: region_id + name: occupied + schema: + type: boolean + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string + - in: query + name: parent_id schema: type: array items: type: integer - description: Region (ID) + description: Parent interface (ID) explode: true style: form - in: query - name: region_id__n + name: parent_id__n schema: type: array items: type: integer - description: Region (ID) + description: Parent interface (ID) explode: true style: form - in: query - name: role + name: poe_mode schema: type: array items: type: string - description: Role (slug) + x-spec-enum-id: 2f2fe6dcdc7772bd explode: true style: form - in: query - name: role__n + name: poe_mode__empty + schema: + type: boolean + - in: query + name: poe_mode__ic schema: type: array items: type: string - description: Role (slug) + x-spec-enum-id: 2f2fe6dcdc7772bd + enum: + - '' + - pd + - pse + description: '* `pd` - PD + + * `pse` - PSE' explode: true style: form - in: query - name: role_id + name: poe_mode__ie schema: type: array items: - type: integer - nullable: true - description: Role (ID) + type: string + x-spec-enum-id: 2f2fe6dcdc7772bd + enum: + - '' + - pd + - pse + description: '* `pd` - PD + + * `pse` - PSE' explode: true style: form - in: query - name: role_id__n + name: poe_mode__iew schema: type: array items: - type: integer - nullable: true - description: Role (ID) + type: string + x-spec-enum-id: 2f2fe6dcdc7772bd + enum: + - '' + - pd + - pse + description: '* `pd` - PD + + * `pse` - PSE' explode: true style: form - in: query - name: serial + name: poe_mode__isw schema: type: array items: type: string + x-spec-enum-id: 2f2fe6dcdc7772bd + enum: + - '' + - pd + - pse + description: '* `pd` - PD + + * `pse` - PSE' explode: true style: form - in: query - name: serial__empty - schema: - type: boolean - - in: query - name: serial__ic + name: poe_mode__n schema: type: array items: type: string + x-spec-enum-id: 2f2fe6dcdc7772bd + enum: + - '' + - pd + - pse + description: '* `pd` - PD + + * `pse` - PSE' explode: true style: form - in: query - name: serial__ie + name: poe_mode__nic schema: type: array items: type: string + x-spec-enum-id: 2f2fe6dcdc7772bd + enum: + - '' + - pd + - pse + description: '* `pd` - PD + + * `pse` - PSE' explode: true style: form - in: query - name: serial__iew + name: poe_mode__nie schema: type: array items: type: string + x-spec-enum-id: 2f2fe6dcdc7772bd + enum: + - '' + - pd + - pse + description: '* `pd` - PD + + * `pse` - PSE' explode: true style: form - in: query - name: serial__isw + name: poe_mode__niew schema: type: array items: type: string + x-spec-enum-id: 2f2fe6dcdc7772bd + enum: + - '' + - pd + - pse + description: '* `pd` - PD + + * `pse` - PSE' explode: true style: form - in: query - name: serial__n + name: poe_mode__nisw schema: type: array items: type: string + x-spec-enum-id: 2f2fe6dcdc7772bd + enum: + - '' + - pd + - pse + description: '* `pd` - PD + + * `pse` - PSE' explode: true style: form - in: query - name: serial__nic + name: poe_type schema: type: array items: type: string + x-spec-enum-id: 74bd3be4012f6da9 explode: true style: form - in: query - name: serial__nie + name: poe_type__empty + schema: + type: boolean + - in: query + name: poe_type__ic schema: type: array items: type: string + x-spec-enum-id: 74bd3be4012f6da9 + enum: + - '' + - passive-24v-2pair + - passive-24v-4pair + - passive-48v-2pair + - passive-48v-4pair + - type1-ieee802.3af + - type2-ieee802.3at + - type3-ieee802.3bt + - type4-ieee802.3bt + description: '* `type1-ieee802.3af` - 802.3af (Type 1) + + * `type2-ieee802.3at` - 802.3at (Type 2) + + * `type3-ieee802.3bt` - 802.3bt (Type 3) + + * `type4-ieee802.3bt` - 802.3bt (Type 4) + + * `passive-24v-2pair` - Passive 24V (2-pair) + + * `passive-24v-4pair` - Passive 24V (4-pair) + + * `passive-48v-2pair` - Passive 48V (2-pair) + + * `passive-48v-4pair` - Passive 48V (4-pair)' explode: true style: form - in: query - name: serial__niew + name: poe_type__ie schema: type: array items: type: string + x-spec-enum-id: 74bd3be4012f6da9 + enum: + - '' + - passive-24v-2pair + - passive-24v-4pair + - passive-48v-2pair + - passive-48v-4pair + - type1-ieee802.3af + - type2-ieee802.3at + - type3-ieee802.3bt + - type4-ieee802.3bt + description: '* `type1-ieee802.3af` - 802.3af (Type 1) + + * `type2-ieee802.3at` - 802.3at (Type 2) + + * `type3-ieee802.3bt` - 802.3bt (Type 3) + + * `type4-ieee802.3bt` - 802.3bt (Type 4) + + * `passive-24v-2pair` - Passive 24V (2-pair) + + * `passive-24v-4pair` - Passive 24V (4-pair) + + * `passive-48v-2pair` - Passive 48V (2-pair) + + * `passive-48v-4pair` - Passive 48V (4-pair)' explode: true style: form - in: query - name: serial__nisw - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: site - schema: - type: array - items: - type: string - description: Site name (slug) - explode: true - style: form - - in: query - name: site__n - schema: - type: array - items: - type: string - description: Site name (slug) - explode: true - style: form - - in: query - name: site_group - schema: - type: array - items: - type: integer - description: Site group (slug) - explode: true - style: form - - in: query - name: site_group__n - schema: - type: array - items: - type: integer - description: Site group (slug) - explode: true - style: form - - in: query - name: site_group_id - schema: - type: array - items: - type: integer - description: Site group (ID) - explode: true - style: form - - in: query - name: site_group_id__n - schema: - type: array - items: - type: integer - description: Site group (ID) - explode: true - style: form - - in: query - name: site_id - schema: - type: array - items: - type: integer - description: Site (ID) - explode: true - style: form - - in: query - name: site_id__n - schema: - type: array - items: - type: integer - description: Site (ID) - explode: true - style: form - - in: query - name: tag - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: tag__n - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: updated_by_request - schema: - type: string - format: uuid - - in: query - name: virtual_chassis - schema: - type: array - items: - type: string - description: Virtual Chassis - explode: true - style: form - - in: query - name: virtual_chassis__n - schema: - type: array - items: - type: string - description: Virtual Chassis - explode: true - style: form - - in: query - name: virtual_chassis_id - schema: - type: array - items: - type: integer - description: Virtual Chassis (ID) - explode: true - style: form - - in: query - name: virtual_chassis_id__n - schema: - type: array - items: - type: integer - description: Virtual Chassis (ID) - explode: true - style: form - tags: - - dcim - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/PaginatedInventoryItemList' - description: '' - post: - operationId: dcim_inventory_items_create - description: Post a list of inventory item objects. - tags: - - dcim - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/InventoryItemRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/InventoryItemRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '201': - content: - application/json: - schema: - $ref: '#/components/schemas/InventoryItem' - description: '' - put: - operationId: dcim_inventory_items_bulk_update - description: Put a list of inventory item objects. - tags: - - dcim - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/InventoryItemRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/InventoryItemRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/InventoryItem' - description: '' - patch: - operationId: dcim_inventory_items_bulk_partial_update - description: Patch a list of inventory item objects. - tags: - - dcim - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/InventoryItemRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/InventoryItemRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/InventoryItem' - description: '' - delete: - operationId: dcim_inventory_items_bulk_destroy - description: Delete a list of inventory item objects. - tags: - - dcim - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/InventoryItemRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/InventoryItemRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '204': - description: No response body - /api/dcim/inventory-items/{id}/: - get: - operationId: dcim_inventory_items_retrieve - description: Get a inventory item object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this inventory item. - required: true - tags: - - dcim - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/InventoryItem' - description: '' - put: - operationId: dcim_inventory_items_update - description: Put a inventory item object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this inventory item. - required: true - tags: - - dcim - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/InventoryItemRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/InventoryItemRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/InventoryItem' - description: '' - patch: - operationId: dcim_inventory_items_partial_update - description: Patch a inventory item object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this inventory item. - required: true - tags: - - dcim - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/PatchedInventoryItemRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/PatchedInventoryItemRequest' - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/InventoryItem' - description: '' - delete: - operationId: dcim_inventory_items_destroy - description: Delete a inventory item object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this inventory item. - required: true - tags: - - dcim - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '204': - description: No response body - /api/dcim/locations/: - get: - operationId: dcim_locations_list - description: Get a list of location objects. - parameters: - - in: query - name: ancestor - schema: - type: array - items: - type: integer - description: Location (slug) - explode: true - style: form - - in: query - name: ancestor__n - schema: - type: array - items: - type: integer - description: Location (slug) - explode: true - style: form - - in: query - name: ancestor_id - schema: - type: array - items: - type: integer - description: Location (ID) - explode: true - style: form - - in: query - name: ancestor_id__n - schema: - type: array - items: - type: integer - description: Location (ID) - explode: true - style: form - - in: query - name: contact - schema: - type: array - items: - type: integer - description: Contact - explode: true - style: form - - in: query - name: contact__n - schema: - type: array - items: - type: integer - description: Contact - explode: true - style: form - - in: query - name: contact_group - schema: - type: array - items: - type: integer - description: Contact group - explode: true - style: form - - in: query - name: contact_group__n - schema: - type: array - items: - type: integer - description: Contact group - explode: true - style: form - - in: query - name: contact_role - schema: - type: array - items: - type: integer - description: Contact Role - explode: true - style: form - - in: query - name: contact_role__n - schema: - type: array - items: - type: integer - description: Contact Role - explode: true - style: form - - in: query - name: created + name: poe_type__iew schema: type: array items: type: string - format: date-time + x-spec-enum-id: 74bd3be4012f6da9 + enum: + - '' + - passive-24v-2pair + - passive-24v-4pair + - passive-48v-2pair + - passive-48v-4pair + - type1-ieee802.3af + - type2-ieee802.3at + - type3-ieee802.3bt + - type4-ieee802.3bt + description: '* `type1-ieee802.3af` - 802.3af (Type 1) + + * `type2-ieee802.3at` - 802.3at (Type 2) + + * `type3-ieee802.3bt` - 802.3bt (Type 3) + + * `type4-ieee802.3bt` - 802.3bt (Type 4) + + * `passive-24v-2pair` - Passive 24V (2-pair) + + * `passive-24v-4pair` - Passive 24V (4-pair) + + * `passive-48v-2pair` - Passive 48V (2-pair) + + * `passive-48v-4pair` - Passive 48V (4-pair)' explode: true style: form - in: query - name: created__empty + name: poe_type__isw schema: type: array items: type: string - format: date-time + x-spec-enum-id: 74bd3be4012f6da9 + enum: + - '' + - passive-24v-2pair + - passive-24v-4pair + - passive-48v-2pair + - passive-48v-4pair + - type1-ieee802.3af + - type2-ieee802.3at + - type3-ieee802.3bt + - type4-ieee802.3bt + description: '* `type1-ieee802.3af` - 802.3af (Type 1) + + * `type2-ieee802.3at` - 802.3at (Type 2) + + * `type3-ieee802.3bt` - 802.3bt (Type 3) + + * `type4-ieee802.3bt` - 802.3bt (Type 4) + + * `passive-24v-2pair` - Passive 24V (2-pair) + + * `passive-24v-4pair` - Passive 24V (4-pair) + + * `passive-48v-2pair` - Passive 48V (2-pair) + + * `passive-48v-4pair` - Passive 48V (4-pair)' explode: true style: form - in: query - name: created__gt + name: poe_type__n schema: type: array items: type: string - format: date-time + x-spec-enum-id: 74bd3be4012f6da9 + enum: + - '' + - passive-24v-2pair + - passive-24v-4pair + - passive-48v-2pair + - passive-48v-4pair + - type1-ieee802.3af + - type2-ieee802.3at + - type3-ieee802.3bt + - type4-ieee802.3bt + description: '* `type1-ieee802.3af` - 802.3af (Type 1) + + * `type2-ieee802.3at` - 802.3at (Type 2) + + * `type3-ieee802.3bt` - 802.3bt (Type 3) + + * `type4-ieee802.3bt` - 802.3bt (Type 4) + + * `passive-24v-2pair` - Passive 24V (2-pair) + + * `passive-24v-4pair` - Passive 24V (4-pair) + + * `passive-48v-2pair` - Passive 48V (2-pair) + + * `passive-48v-4pair` - Passive 48V (4-pair)' explode: true style: form - in: query - name: created__gte + name: poe_type__nic schema: type: array items: type: string - format: date-time + x-spec-enum-id: 74bd3be4012f6da9 + enum: + - '' + - passive-24v-2pair + - passive-24v-4pair + - passive-48v-2pair + - passive-48v-4pair + - type1-ieee802.3af + - type2-ieee802.3at + - type3-ieee802.3bt + - type4-ieee802.3bt + description: '* `type1-ieee802.3af` - 802.3af (Type 1) + + * `type2-ieee802.3at` - 802.3at (Type 2) + + * `type3-ieee802.3bt` - 802.3bt (Type 3) + + * `type4-ieee802.3bt` - 802.3bt (Type 4) + + * `passive-24v-2pair` - Passive 24V (2-pair) + + * `passive-24v-4pair` - Passive 24V (4-pair) + + * `passive-48v-2pair` - Passive 48V (2-pair) + + * `passive-48v-4pair` - Passive 48V (4-pair)' explode: true style: form - in: query - name: created__lt + name: poe_type__nie schema: type: array items: type: string - format: date-time + x-spec-enum-id: 74bd3be4012f6da9 + enum: + - '' + - passive-24v-2pair + - passive-24v-4pair + - passive-48v-2pair + - passive-48v-4pair + - type1-ieee802.3af + - type2-ieee802.3at + - type3-ieee802.3bt + - type4-ieee802.3bt + description: '* `type1-ieee802.3af` - 802.3af (Type 1) + + * `type2-ieee802.3at` - 802.3at (Type 2) + + * `type3-ieee802.3bt` - 802.3bt (Type 3) + + * `type4-ieee802.3bt` - 802.3bt (Type 4) + + * `passive-24v-2pair` - Passive 24V (2-pair) + + * `passive-24v-4pair` - Passive 24V (4-pair) + + * `passive-48v-2pair` - Passive 48V (2-pair) + + * `passive-48v-4pair` - Passive 48V (4-pair)' explode: true style: form - in: query - name: created__lte + name: poe_type__niew schema: type: array items: type: string - format: date-time + x-spec-enum-id: 74bd3be4012f6da9 + enum: + - '' + - passive-24v-2pair + - passive-24v-4pair + - passive-48v-2pair + - passive-48v-4pair + - type1-ieee802.3af + - type2-ieee802.3at + - type3-ieee802.3bt + - type4-ieee802.3bt + description: '* `type1-ieee802.3af` - 802.3af (Type 1) + + * `type2-ieee802.3at` - 802.3at (Type 2) + + * `type3-ieee802.3bt` - 802.3bt (Type 3) + + * `type4-ieee802.3bt` - 802.3bt (Type 4) + + * `passive-24v-2pair` - Passive 24V (2-pair) + + * `passive-24v-4pair` - Passive 24V (4-pair) + + * `passive-48v-2pair` - Passive 48V (2-pair) + + * `passive-48v-4pair` - Passive 48V (4-pair)' explode: true style: form - in: query - name: created__n + name: poe_type__nisw schema: type: array items: type: string - format: date-time + x-spec-enum-id: 74bd3be4012f6da9 + enum: + - '' + - passive-24v-2pair + - passive-24v-4pair + - passive-48v-2pair + - passive-48v-4pair + - type1-ieee802.3af + - type2-ieee802.3at + - type3-ieee802.3bt + - type4-ieee802.3bt + description: '* `type1-ieee802.3af` - 802.3af (Type 1) + + * `type2-ieee802.3at` - 802.3at (Type 2) + + * `type3-ieee802.3bt` - 802.3bt (Type 3) + + * `type4-ieee802.3bt` - 802.3bt (Type 4) + + * `passive-24v-2pair` - Passive 24V (2-pair) + + * `passive-24v-4pair` - Passive 24V (4-pair) + + * `passive-48v-2pair` - Passive 48V (2-pair) + + * `passive-48v-4pair` - Passive 48V (4-pair)' explode: true style: form - in: query - name: created_by_request + name: q schema: type: string - format: uuid - - in: query - name: description - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: description__empty - schema: - type: boolean - - in: query - name: description__ic - schema: - type: array - items: - type: string - explode: true - style: form + description: Search - in: query - name: description__ie + name: rack schema: type: array items: type: string + description: Rack (name) explode: true style: form - in: query - name: description__iew + name: rack__n schema: type: array items: type: string + description: Rack (name) explode: true style: form - in: query - name: description__isw + name: rack_id schema: type: array items: - type: string + type: integer + description: Rack (ID) explode: true style: form - in: query - name: description__n + name: rack_id__n schema: type: array items: - type: string + type: integer + description: Rack (ID) explode: true style: form - in: query - name: description__nic + name: region schema: type: array items: @@ -28585,7 +37718,7 @@ paths: explode: true style: form - in: query - name: description__nie + name: region__n schema: type: array items: @@ -28593,7 +37726,7 @@ paths: explode: true style: form - in: query - name: description__niew + name: region_id schema: type: array items: @@ -28601,7 +37734,7 @@ paths: explode: true style: form - in: query - name: description__nisw + name: region_id__n schema: type: array items: @@ -28609,394 +37742,5718 @@ paths: explode: true style: form - in: query - name: facility + name: rf_channel schema: type: array items: type: string + x-spec-enum-id: aac33cc237adc8f9 + title: Wireless channel explode: true style: form - in: query - name: facility__empty + name: rf_channel__empty schema: type: boolean - in: query - name: facility__ic - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: facility__ie - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: facility__iew - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: facility__isw - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: facility__n - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: facility__nic + name: rf_channel__ic schema: type: array items: type: string + x-spec-enum-id: aac33cc237adc8f9 + title: Wireless channel + enum: + - '' + - 2.4g-1-2412-22 + - 2.4g-10-2457-22 + - 2.4g-11-2462-22 + - 2.4g-12-2467-22 + - 2.4g-13-2472-22 + - 2.4g-2-2417-22 + - 2.4g-3-2422-22 + - 2.4g-4-2427-22 + - 2.4g-5-2432-22 + - 2.4g-6-2437-22 + - 2.4g-7-2442-22 + - 2.4g-8-2447-22 + - 2.4g-9-2452-22 + - 5g-100-5500-20 + - 5g-102-5510-40 + - 5g-104-5520-20 + - 5g-106-5530-80 + - 5g-108-5540-20 + - 5g-110-5550-40 + - 5g-112-5560-20 + - 5g-114-5570-160 + - 5g-116-5580-20 + - 5g-118-5590-40 + - 5g-120-5600-20 + - 5g-122-5610-80 + - 5g-124-5620-20 + - 5g-126-5630-40 + - 5g-128-5640-20 + - 5g-132-5660-20 + - 5g-134-5670-40 + - 5g-136-5680-20 + - 5g-138-5690-80 + - 5g-140-5700-20 + - 5g-142-5710-40 + - 5g-144-5720-20 + - 5g-149-5745-20 + - 5g-151-5755-40 + - 5g-153-5765-20 + - 5g-155-5775-80 + - 5g-157-5785-20 + - 5g-159-5795-40 + - 5g-161-5805-20 + - 5g-163-5815-160 + - 5g-165-5825-20 + - 5g-167-5835-40 + - 5g-169-5845-20 + - 5g-171-5855-80 + - 5g-173-5865-20 + - 5g-175-5875-40 + - 5g-177-5885-20 + - 5g-32-5160-20 + - 5g-34-5170-40 + - 5g-36-5180-20 + - 5g-38-5190-40 + - 5g-40-5200-20 + - 5g-42-5210-80 + - 5g-44-5220-20 + - 5g-46-5230-40 + - 5g-48-5240-20 + - 5g-50-5250-160 + - 5g-52-5260-20 + - 5g-54-5270-40 + - 5g-56-5280-20 + - 5g-58-5290-80 + - 5g-60-5300-20 + - 5g-62-5310-40 + - 5g-64-5320-20 + - 60g-1-58320-2160 + - 60g-10-61560-4320 + - 60g-11-63720-4320 + - 60g-12-65880-4320 + - 60g-13-68040-4320 + - 60g-17-60480-6480 + - 60g-18-62640-6480 + - 60g-19-64800-6480 + - 60g-2-60480-2160 + - 60g-20-66960-6480 + - 60g-25-61560-6480 + - 60g-26-63720-6480 + - 60g-27-65880-6480 + - 60g-3-62640-2160 + - 60g-4-64800-2160 + - 60g-5-66960-2160 + - 60g-6-69120-2160 + - 60g-9-59400-4320 + - 6g-1-5955-20 + - 6g-101-6455-20 + - 6g-103-6465-80 + - 6g-105-6475-20 + - 6g-107-6485-40 + - 6g-109-6495-20 + - 6g-11-6005-40 + - 6g-111-6505-160 + - 6g-113-6515-20 + - 6g-115-6525-40 + - 6g-117-6535-20 + - 6g-119-6545-80 + - 6g-121-6555-20 + - 6g-123-6565-40 + - 6g-125-6575-20 + - 6g-129-6595-20 + - 6g-13-6015-20 + - 6g-131-6605-40 + - 6g-133-6615-20 + - 6g-135-6625-80 + - 6g-137-6635-20 + - 6g-139-6645-40 + - 6g-141-6655-20 + - 6g-143-6665-160 + - 6g-145-6675-20 + - 6g-147-6685-40 + - 6g-149-6695-20 + - 6g-15-6025-160 + - 6g-151-6705-80 + - 6g-153-6715-20 + - 6g-155-6725-40 + - 6g-157-6735-20 + - 6g-159-6745-320 + - 6g-161-6755-20 + - 6g-163-6765-40 + - 6g-165-6775-20 + - 6g-167-6785-80 + - 6g-169-6795-20 + - 6g-17-6035-20 + - 6g-171-6805-40 + - 6g-173-6815-20 + - 6g-175-6825-160 + - 6g-177-6835-20 + - 6g-179-6845-40 + - 6g-181-6855-20 + - 6g-183-6865-80 + - 6g-185-6875-20 + - 6g-187-6885-40 + - 6g-189-6895-20 + - 6g-19-6045-40 + - 6g-193-6915-20 + - 6g-195-6925-40 + - 6g-197-6935-20 + - 6g-199-6945-80 + - 6g-201-6955-20 + - 6g-203-6965-40 + - 6g-205-6975-20 + - 6g-207-6985-160 + - 6g-209-6995-20 + - 6g-21-6055-20 + - 6g-211-7005-40 + - 6g-213-7015-20 + - 6g-215-7025-80 + - 6g-217-7035-20 + - 6g-219-7045-40 + - 6g-221-7055-20 + - 6g-225-7075-20 + - 6g-227-7085-40 + - 6g-229-7095-20 + - 6g-23-6065-80 + - 6g-233-7115-20 + - 6g-25-6075-20 + - 6g-27-6085-40 + - 6g-29-6095-20 + - 6g-3-5965-40 + - 6g-31-6105-320 + - 6g-33-6115-20 + - 6g-35-6125-40 + - 6g-37-6135-20 + - 6g-39-6145-80 + - 6g-41-6155-20 + - 6g-43-6165-40 + - 6g-45-6175-20 + - 6g-47-6185-160 + - 6g-49-6195-20 + - 6g-5-5975-20 + - 6g-51-6205-40 + - 6g-53-6215-20 + - 6g-55-6225-80 + - 6g-57-6235-20 + - 6g-59-6245-40 + - 6g-61-6255-20 + - 6g-65-6275-20 + - 6g-67-6285-40 + - 6g-69-6295-20 + - 6g-7-5985-80 + - 6g-71-6305-80 + - 6g-73-6315-20 + - 6g-75-6325-40 + - 6g-77-6335-20 + - 6g-79-6345-160 + - 6g-81-6355-20 + - 6g-83-6365-40 + - 6g-85-6375-20 + - 6g-87-6385-80 + - 6g-89-6395-20 + - 6g-9-5995-20 + - 6g-91-6405-40 + - 6g-93-6415-20 + - 6g-95-6425-320 + - 6g-97-6435-20 + - 6g-99-6445-40 + description: '* `2.4g-1-2412-22` - 1 (2412 MHz) + + * `2.4g-2-2417-22` - 2 (2417 MHz) + + * `2.4g-3-2422-22` - 3 (2422 MHz) + + * `2.4g-4-2427-22` - 4 (2427 MHz) + + * `2.4g-5-2432-22` - 5 (2432 MHz) + + * `2.4g-6-2437-22` - 6 (2437 MHz) + + * `2.4g-7-2442-22` - 7 (2442 MHz) + + * `2.4g-8-2447-22` - 8 (2447 MHz) + + * `2.4g-9-2452-22` - 9 (2452 MHz) + + * `2.4g-10-2457-22` - 10 (2457 MHz) + + * `2.4g-11-2462-22` - 11 (2462 MHz) + + * `2.4g-12-2467-22` - 12 (2467 MHz) + + * `2.4g-13-2472-22` - 13 (2472 MHz) + + * `5g-32-5160-20` - 32 (5160/20 MHz) + + * `5g-34-5170-40` - 34 (5170/40 MHz) + + * `5g-36-5180-20` - 36 (5180/20 MHz) + + * `5g-38-5190-40` - 38 (5190/40 MHz) + + * `5g-40-5200-20` - 40 (5200/20 MHz) + + * `5g-42-5210-80` - 42 (5210/80 MHz) + + * `5g-44-5220-20` - 44 (5220/20 MHz) + + * `5g-46-5230-40` - 46 (5230/40 MHz) + + * `5g-48-5240-20` - 48 (5240/20 MHz) + + * `5g-50-5250-160` - 50 (5250/160 MHz) + + * `5g-52-5260-20` - 52 (5260/20 MHz) + + * `5g-54-5270-40` - 54 (5270/40 MHz) + + * `5g-56-5280-20` - 56 (5280/20 MHz) + + * `5g-58-5290-80` - 58 (5290/80 MHz) + + * `5g-60-5300-20` - 60 (5300/20 MHz) + + * `5g-62-5310-40` - 62 (5310/40 MHz) + + * `5g-64-5320-20` - 64 (5320/20 MHz) + + * `5g-100-5500-20` - 100 (5500/20 MHz) + + * `5g-102-5510-40` - 102 (5510/40 MHz) + + * `5g-104-5520-20` - 104 (5520/20 MHz) + + * `5g-106-5530-80` - 106 (5530/80 MHz) + + * `5g-108-5540-20` - 108 (5540/20 MHz) + + * `5g-110-5550-40` - 110 (5550/40 MHz) + + * `5g-112-5560-20` - 112 (5560/20 MHz) + + * `5g-114-5570-160` - 114 (5570/160 MHz) + + * `5g-116-5580-20` - 116 (5580/20 MHz) + + * `5g-118-5590-40` - 118 (5590/40 MHz) + + * `5g-120-5600-20` - 120 (5600/20 MHz) + + * `5g-122-5610-80` - 122 (5610/80 MHz) + + * `5g-124-5620-20` - 124 (5620/20 MHz) + + * `5g-126-5630-40` - 126 (5630/40 MHz) + + * `5g-128-5640-20` - 128 (5640/20 MHz) + + * `5g-132-5660-20` - 132 (5660/20 MHz) + + * `5g-134-5670-40` - 134 (5670/40 MHz) + + * `5g-136-5680-20` - 136 (5680/20 MHz) + + * `5g-138-5690-80` - 138 (5690/80 MHz) + + * `5g-140-5700-20` - 140 (5700/20 MHz) + + * `5g-142-5710-40` - 142 (5710/40 MHz) + + * `5g-144-5720-20` - 144 (5720/20 MHz) + + * `5g-149-5745-20` - 149 (5745/20 MHz) + + * `5g-151-5755-40` - 151 (5755/40 MHz) + + * `5g-153-5765-20` - 153 (5765/20 MHz) + + * `5g-155-5775-80` - 155 (5775/80 MHz) + + * `5g-157-5785-20` - 157 (5785/20 MHz) + + * `5g-159-5795-40` - 159 (5795/40 MHz) + + * `5g-161-5805-20` - 161 (5805/20 MHz) + + * `5g-163-5815-160` - 163 (5815/160 MHz) + + * `5g-165-5825-20` - 165 (5825/20 MHz) + + * `5g-167-5835-40` - 167 (5835/40 MHz) + + * `5g-169-5845-20` - 169 (5845/20 MHz) + + * `5g-171-5855-80` - 171 (5855/80 MHz) + + * `5g-173-5865-20` - 173 (5865/20 MHz) + + * `5g-175-5875-40` - 175 (5875/40 MHz) + + * `5g-177-5885-20` - 177 (5885/20 MHz) + + * `6g-1-5955-20` - 1 (5955/20 MHz) + + * `6g-3-5965-40` - 3 (5965/40 MHz) + + * `6g-5-5975-20` - 5 (5975/20 MHz) + + * `6g-7-5985-80` - 7 (5985/80 MHz) + + * `6g-9-5995-20` - 9 (5995/20 MHz) + + * `6g-11-6005-40` - 11 (6005/40 MHz) + + * `6g-13-6015-20` - 13 (6015/20 MHz) + + * `6g-15-6025-160` - 15 (6025/160 MHz) + + * `6g-17-6035-20` - 17 (6035/20 MHz) + + * `6g-19-6045-40` - 19 (6045/40 MHz) + + * `6g-21-6055-20` - 21 (6055/20 MHz) + + * `6g-23-6065-80` - 23 (6065/80 MHz) + + * `6g-25-6075-20` - 25 (6075/20 MHz) + + * `6g-27-6085-40` - 27 (6085/40 MHz) + + * `6g-29-6095-20` - 29 (6095/20 MHz) + + * `6g-31-6105-320` - 31 (6105/320 MHz) + + * `6g-33-6115-20` - 33 (6115/20 MHz) + + * `6g-35-6125-40` - 35 (6125/40 MHz) + + * `6g-37-6135-20` - 37 (6135/20 MHz) + + * `6g-39-6145-80` - 39 (6145/80 MHz) + + * `6g-41-6155-20` - 41 (6155/20 MHz) + + * `6g-43-6165-40` - 43 (6165/40 MHz) + + * `6g-45-6175-20` - 45 (6175/20 MHz) + + * `6g-47-6185-160` - 47 (6185/160 MHz) + + * `6g-49-6195-20` - 49 (6195/20 MHz) + + * `6g-51-6205-40` - 51 (6205/40 MHz) + + * `6g-53-6215-20` - 53 (6215/20 MHz) + + * `6g-55-6225-80` - 55 (6225/80 MHz) + + * `6g-57-6235-20` - 57 (6235/20 MHz) + + * `6g-59-6245-40` - 59 (6245/40 MHz) + + * `6g-61-6255-20` - 61 (6255/20 MHz) + + * `6g-65-6275-20` - 65 (6275/20 MHz) + + * `6g-67-6285-40` - 67 (6285/40 MHz) + + * `6g-69-6295-20` - 69 (6295/20 MHz) + + * `6g-71-6305-80` - 71 (6305/80 MHz) + + * `6g-73-6315-20` - 73 (6315/20 MHz) + + * `6g-75-6325-40` - 75 (6325/40 MHz) + + * `6g-77-6335-20` - 77 (6335/20 MHz) + + * `6g-79-6345-160` - 79 (6345/160 MHz) + + * `6g-81-6355-20` - 81 (6355/20 MHz) + + * `6g-83-6365-40` - 83 (6365/40 MHz) + + * `6g-85-6375-20` - 85 (6375/20 MHz) + + * `6g-87-6385-80` - 87 (6385/80 MHz) + + * `6g-89-6395-20` - 89 (6395/20 MHz) + + * `6g-91-6405-40` - 91 (6405/40 MHz) + + * `6g-93-6415-20` - 93 (6415/20 MHz) + + * `6g-95-6425-320` - 95 (6425/320 MHz) + + * `6g-97-6435-20` - 97 (6435/20 MHz) + + * `6g-99-6445-40` - 99 (6445/40 MHz) + + * `6g-101-6455-20` - 101 (6455/20 MHz) + + * `6g-103-6465-80` - 103 (6465/80 MHz) + + * `6g-105-6475-20` - 105 (6475/20 MHz) + + * `6g-107-6485-40` - 107 (6485/40 MHz) + + * `6g-109-6495-20` - 109 (6495/20 MHz) + + * `6g-111-6505-160` - 111 (6505/160 MHz) + + * `6g-113-6515-20` - 113 (6515/20 MHz) + + * `6g-115-6525-40` - 115 (6525/40 MHz) + + * `6g-117-6535-20` - 117 (6535/20 MHz) + + * `6g-119-6545-80` - 119 (6545/80 MHz) + + * `6g-121-6555-20` - 121 (6555/20 MHz) + + * `6g-123-6565-40` - 123 (6565/40 MHz) + + * `6g-125-6575-20` - 125 (6575/20 MHz) + + * `6g-129-6595-20` - 129 (6595/20 MHz) + + * `6g-131-6605-40` - 131 (6605/40 MHz) + + * `6g-133-6615-20` - 133 (6615/20 MHz) + + * `6g-135-6625-80` - 135 (6625/80 MHz) + + * `6g-137-6635-20` - 137 (6635/20 MHz) + + * `6g-139-6645-40` - 139 (6645/40 MHz) + + * `6g-141-6655-20` - 141 (6655/20 MHz) + + * `6g-143-6665-160` - 143 (6665/160 MHz) + + * `6g-145-6675-20` - 145 (6675/20 MHz) + + * `6g-147-6685-40` - 147 (6685/40 MHz) + + * `6g-149-6695-20` - 149 (6695/20 MHz) + + * `6g-151-6705-80` - 151 (6705/80 MHz) + + * `6g-153-6715-20` - 153 (6715/20 MHz) + + * `6g-155-6725-40` - 155 (6725/40 MHz) + + * `6g-157-6735-20` - 157 (6735/20 MHz) + + * `6g-159-6745-320` - 159 (6745/320 MHz) + + * `6g-161-6755-20` - 161 (6755/20 MHz) + + * `6g-163-6765-40` - 163 (6765/40 MHz) + + * `6g-165-6775-20` - 165 (6775/20 MHz) + + * `6g-167-6785-80` - 167 (6785/80 MHz) + + * `6g-169-6795-20` - 169 (6795/20 MHz) + + * `6g-171-6805-40` - 171 (6805/40 MHz) + + * `6g-173-6815-20` - 173 (6815/20 MHz) + + * `6g-175-6825-160` - 175 (6825/160 MHz) + + * `6g-177-6835-20` - 177 (6835/20 MHz) + + * `6g-179-6845-40` - 179 (6845/40 MHz) + + * `6g-181-6855-20` - 181 (6855/20 MHz) + + * `6g-183-6865-80` - 183 (6865/80 MHz) + + * `6g-185-6875-20` - 185 (6875/20 MHz) + + * `6g-187-6885-40` - 187 (6885/40 MHz) + + * `6g-189-6895-20` - 189 (6895/20 MHz) + + * `6g-193-6915-20` - 193 (6915/20 MHz) + + * `6g-195-6925-40` - 195 (6925/40 MHz) + + * `6g-197-6935-20` - 197 (6935/20 MHz) + + * `6g-199-6945-80` - 199 (6945/80 MHz) + + * `6g-201-6955-20` - 201 (6955/20 MHz) + + * `6g-203-6965-40` - 203 (6965/40 MHz) + + * `6g-205-6975-20` - 205 (6975/20 MHz) + + * `6g-207-6985-160` - 207 (6985/160 MHz) + + * `6g-209-6995-20` - 209 (6995/20 MHz) + + * `6g-211-7005-40` - 211 (7005/40 MHz) + + * `6g-213-7015-20` - 213 (7015/20 MHz) + + * `6g-215-7025-80` - 215 (7025/80 MHz) + + * `6g-217-7035-20` - 217 (7035/20 MHz) + + * `6g-219-7045-40` - 219 (7045/40 MHz) + + * `6g-221-7055-20` - 221 (7055/20 MHz) + + * `6g-225-7075-20` - 225 (7075/20 MHz) + + * `6g-227-7085-40` - 227 (7085/40 MHz) + + * `6g-229-7095-20` - 229 (7095/20 MHz) + + * `6g-233-7115-20` - 233 (7115/20 MHz) + + * `60g-1-58320-2160` - 1 (58.32/2.16 GHz) + + * `60g-2-60480-2160` - 2 (60.48/2.16 GHz) + + * `60g-3-62640-2160` - 3 (62.64/2.16 GHz) + + * `60g-4-64800-2160` - 4 (64.80/2.16 GHz) + + * `60g-5-66960-2160` - 5 (66.96/2.16 GHz) + + * `60g-6-69120-2160` - 6 (69.12/2.16 GHz) + + * `60g-9-59400-4320` - 9 (59.40/4.32 GHz) + + * `60g-10-61560-4320` - 10 (61.56/4.32 GHz) + + * `60g-11-63720-4320` - 11 (63.72/4.32 GHz) + + * `60g-12-65880-4320` - 12 (65.88/4.32 GHz) + + * `60g-13-68040-4320` - 13 (68.04/4.32 GHz) + + * `60g-17-60480-6480` - 17 (60.48/6.48 GHz) + + * `60g-18-62640-6480` - 18 (62.64/6.48 GHz) + + * `60g-19-64800-6480` - 19 (64.80/6.48 GHz) + + * `60g-20-66960-6480` - 20 (66.96/6.48 GHz) + + * `60g-25-61560-6480` - 25 (61.56/8.64 GHz) + + * `60g-26-63720-6480` - 26 (63.72/8.64 GHz) + + * `60g-27-65880-6480` - 27 (65.88/8.64 GHz)' explode: true style: form - in: query - name: facility__nie + name: rf_channel__ie schema: type: array items: type: string + x-spec-enum-id: aac33cc237adc8f9 + title: Wireless channel + enum: + - '' + - 2.4g-1-2412-22 + - 2.4g-10-2457-22 + - 2.4g-11-2462-22 + - 2.4g-12-2467-22 + - 2.4g-13-2472-22 + - 2.4g-2-2417-22 + - 2.4g-3-2422-22 + - 2.4g-4-2427-22 + - 2.4g-5-2432-22 + - 2.4g-6-2437-22 + - 2.4g-7-2442-22 + - 2.4g-8-2447-22 + - 2.4g-9-2452-22 + - 5g-100-5500-20 + - 5g-102-5510-40 + - 5g-104-5520-20 + - 5g-106-5530-80 + - 5g-108-5540-20 + - 5g-110-5550-40 + - 5g-112-5560-20 + - 5g-114-5570-160 + - 5g-116-5580-20 + - 5g-118-5590-40 + - 5g-120-5600-20 + - 5g-122-5610-80 + - 5g-124-5620-20 + - 5g-126-5630-40 + - 5g-128-5640-20 + - 5g-132-5660-20 + - 5g-134-5670-40 + - 5g-136-5680-20 + - 5g-138-5690-80 + - 5g-140-5700-20 + - 5g-142-5710-40 + - 5g-144-5720-20 + - 5g-149-5745-20 + - 5g-151-5755-40 + - 5g-153-5765-20 + - 5g-155-5775-80 + - 5g-157-5785-20 + - 5g-159-5795-40 + - 5g-161-5805-20 + - 5g-163-5815-160 + - 5g-165-5825-20 + - 5g-167-5835-40 + - 5g-169-5845-20 + - 5g-171-5855-80 + - 5g-173-5865-20 + - 5g-175-5875-40 + - 5g-177-5885-20 + - 5g-32-5160-20 + - 5g-34-5170-40 + - 5g-36-5180-20 + - 5g-38-5190-40 + - 5g-40-5200-20 + - 5g-42-5210-80 + - 5g-44-5220-20 + - 5g-46-5230-40 + - 5g-48-5240-20 + - 5g-50-5250-160 + - 5g-52-5260-20 + - 5g-54-5270-40 + - 5g-56-5280-20 + - 5g-58-5290-80 + - 5g-60-5300-20 + - 5g-62-5310-40 + - 5g-64-5320-20 + - 60g-1-58320-2160 + - 60g-10-61560-4320 + - 60g-11-63720-4320 + - 60g-12-65880-4320 + - 60g-13-68040-4320 + - 60g-17-60480-6480 + - 60g-18-62640-6480 + - 60g-19-64800-6480 + - 60g-2-60480-2160 + - 60g-20-66960-6480 + - 60g-25-61560-6480 + - 60g-26-63720-6480 + - 60g-27-65880-6480 + - 60g-3-62640-2160 + - 60g-4-64800-2160 + - 60g-5-66960-2160 + - 60g-6-69120-2160 + - 60g-9-59400-4320 + - 6g-1-5955-20 + - 6g-101-6455-20 + - 6g-103-6465-80 + - 6g-105-6475-20 + - 6g-107-6485-40 + - 6g-109-6495-20 + - 6g-11-6005-40 + - 6g-111-6505-160 + - 6g-113-6515-20 + - 6g-115-6525-40 + - 6g-117-6535-20 + - 6g-119-6545-80 + - 6g-121-6555-20 + - 6g-123-6565-40 + - 6g-125-6575-20 + - 6g-129-6595-20 + - 6g-13-6015-20 + - 6g-131-6605-40 + - 6g-133-6615-20 + - 6g-135-6625-80 + - 6g-137-6635-20 + - 6g-139-6645-40 + - 6g-141-6655-20 + - 6g-143-6665-160 + - 6g-145-6675-20 + - 6g-147-6685-40 + - 6g-149-6695-20 + - 6g-15-6025-160 + - 6g-151-6705-80 + - 6g-153-6715-20 + - 6g-155-6725-40 + - 6g-157-6735-20 + - 6g-159-6745-320 + - 6g-161-6755-20 + - 6g-163-6765-40 + - 6g-165-6775-20 + - 6g-167-6785-80 + - 6g-169-6795-20 + - 6g-17-6035-20 + - 6g-171-6805-40 + - 6g-173-6815-20 + - 6g-175-6825-160 + - 6g-177-6835-20 + - 6g-179-6845-40 + - 6g-181-6855-20 + - 6g-183-6865-80 + - 6g-185-6875-20 + - 6g-187-6885-40 + - 6g-189-6895-20 + - 6g-19-6045-40 + - 6g-193-6915-20 + - 6g-195-6925-40 + - 6g-197-6935-20 + - 6g-199-6945-80 + - 6g-201-6955-20 + - 6g-203-6965-40 + - 6g-205-6975-20 + - 6g-207-6985-160 + - 6g-209-6995-20 + - 6g-21-6055-20 + - 6g-211-7005-40 + - 6g-213-7015-20 + - 6g-215-7025-80 + - 6g-217-7035-20 + - 6g-219-7045-40 + - 6g-221-7055-20 + - 6g-225-7075-20 + - 6g-227-7085-40 + - 6g-229-7095-20 + - 6g-23-6065-80 + - 6g-233-7115-20 + - 6g-25-6075-20 + - 6g-27-6085-40 + - 6g-29-6095-20 + - 6g-3-5965-40 + - 6g-31-6105-320 + - 6g-33-6115-20 + - 6g-35-6125-40 + - 6g-37-6135-20 + - 6g-39-6145-80 + - 6g-41-6155-20 + - 6g-43-6165-40 + - 6g-45-6175-20 + - 6g-47-6185-160 + - 6g-49-6195-20 + - 6g-5-5975-20 + - 6g-51-6205-40 + - 6g-53-6215-20 + - 6g-55-6225-80 + - 6g-57-6235-20 + - 6g-59-6245-40 + - 6g-61-6255-20 + - 6g-65-6275-20 + - 6g-67-6285-40 + - 6g-69-6295-20 + - 6g-7-5985-80 + - 6g-71-6305-80 + - 6g-73-6315-20 + - 6g-75-6325-40 + - 6g-77-6335-20 + - 6g-79-6345-160 + - 6g-81-6355-20 + - 6g-83-6365-40 + - 6g-85-6375-20 + - 6g-87-6385-80 + - 6g-89-6395-20 + - 6g-9-5995-20 + - 6g-91-6405-40 + - 6g-93-6415-20 + - 6g-95-6425-320 + - 6g-97-6435-20 + - 6g-99-6445-40 + description: '* `2.4g-1-2412-22` - 1 (2412 MHz) + + * `2.4g-2-2417-22` - 2 (2417 MHz) + + * `2.4g-3-2422-22` - 3 (2422 MHz) + + * `2.4g-4-2427-22` - 4 (2427 MHz) + + * `2.4g-5-2432-22` - 5 (2432 MHz) + + * `2.4g-6-2437-22` - 6 (2437 MHz) + + * `2.4g-7-2442-22` - 7 (2442 MHz) + + * `2.4g-8-2447-22` - 8 (2447 MHz) + + * `2.4g-9-2452-22` - 9 (2452 MHz) + + * `2.4g-10-2457-22` - 10 (2457 MHz) + + * `2.4g-11-2462-22` - 11 (2462 MHz) + + * `2.4g-12-2467-22` - 12 (2467 MHz) + + * `2.4g-13-2472-22` - 13 (2472 MHz) + + * `5g-32-5160-20` - 32 (5160/20 MHz) + + * `5g-34-5170-40` - 34 (5170/40 MHz) + + * `5g-36-5180-20` - 36 (5180/20 MHz) + + * `5g-38-5190-40` - 38 (5190/40 MHz) + + * `5g-40-5200-20` - 40 (5200/20 MHz) + + * `5g-42-5210-80` - 42 (5210/80 MHz) + + * `5g-44-5220-20` - 44 (5220/20 MHz) + + * `5g-46-5230-40` - 46 (5230/40 MHz) + + * `5g-48-5240-20` - 48 (5240/20 MHz) + + * `5g-50-5250-160` - 50 (5250/160 MHz) + + * `5g-52-5260-20` - 52 (5260/20 MHz) + + * `5g-54-5270-40` - 54 (5270/40 MHz) + + * `5g-56-5280-20` - 56 (5280/20 MHz) + + * `5g-58-5290-80` - 58 (5290/80 MHz) + + * `5g-60-5300-20` - 60 (5300/20 MHz) + + * `5g-62-5310-40` - 62 (5310/40 MHz) + + * `5g-64-5320-20` - 64 (5320/20 MHz) + + * `5g-100-5500-20` - 100 (5500/20 MHz) + + * `5g-102-5510-40` - 102 (5510/40 MHz) + + * `5g-104-5520-20` - 104 (5520/20 MHz) + + * `5g-106-5530-80` - 106 (5530/80 MHz) + + * `5g-108-5540-20` - 108 (5540/20 MHz) + + * `5g-110-5550-40` - 110 (5550/40 MHz) + + * `5g-112-5560-20` - 112 (5560/20 MHz) + + * `5g-114-5570-160` - 114 (5570/160 MHz) + + * `5g-116-5580-20` - 116 (5580/20 MHz) + + * `5g-118-5590-40` - 118 (5590/40 MHz) + + * `5g-120-5600-20` - 120 (5600/20 MHz) + + * `5g-122-5610-80` - 122 (5610/80 MHz) + + * `5g-124-5620-20` - 124 (5620/20 MHz) + + * `5g-126-5630-40` - 126 (5630/40 MHz) + + * `5g-128-5640-20` - 128 (5640/20 MHz) + + * `5g-132-5660-20` - 132 (5660/20 MHz) + + * `5g-134-5670-40` - 134 (5670/40 MHz) + + * `5g-136-5680-20` - 136 (5680/20 MHz) + + * `5g-138-5690-80` - 138 (5690/80 MHz) + + * `5g-140-5700-20` - 140 (5700/20 MHz) + + * `5g-142-5710-40` - 142 (5710/40 MHz) + + * `5g-144-5720-20` - 144 (5720/20 MHz) + + * `5g-149-5745-20` - 149 (5745/20 MHz) + + * `5g-151-5755-40` - 151 (5755/40 MHz) + + * `5g-153-5765-20` - 153 (5765/20 MHz) + + * `5g-155-5775-80` - 155 (5775/80 MHz) + + * `5g-157-5785-20` - 157 (5785/20 MHz) + + * `5g-159-5795-40` - 159 (5795/40 MHz) + + * `5g-161-5805-20` - 161 (5805/20 MHz) + + * `5g-163-5815-160` - 163 (5815/160 MHz) + + * `5g-165-5825-20` - 165 (5825/20 MHz) + + * `5g-167-5835-40` - 167 (5835/40 MHz) + + * `5g-169-5845-20` - 169 (5845/20 MHz) + + * `5g-171-5855-80` - 171 (5855/80 MHz) + + * `5g-173-5865-20` - 173 (5865/20 MHz) + + * `5g-175-5875-40` - 175 (5875/40 MHz) + + * `5g-177-5885-20` - 177 (5885/20 MHz) + + * `6g-1-5955-20` - 1 (5955/20 MHz) + + * `6g-3-5965-40` - 3 (5965/40 MHz) + + * `6g-5-5975-20` - 5 (5975/20 MHz) + + * `6g-7-5985-80` - 7 (5985/80 MHz) + + * `6g-9-5995-20` - 9 (5995/20 MHz) + + * `6g-11-6005-40` - 11 (6005/40 MHz) + + * `6g-13-6015-20` - 13 (6015/20 MHz) + + * `6g-15-6025-160` - 15 (6025/160 MHz) + + * `6g-17-6035-20` - 17 (6035/20 MHz) + + * `6g-19-6045-40` - 19 (6045/40 MHz) + + * `6g-21-6055-20` - 21 (6055/20 MHz) + + * `6g-23-6065-80` - 23 (6065/80 MHz) + + * `6g-25-6075-20` - 25 (6075/20 MHz) + + * `6g-27-6085-40` - 27 (6085/40 MHz) + + * `6g-29-6095-20` - 29 (6095/20 MHz) + + * `6g-31-6105-320` - 31 (6105/320 MHz) + + * `6g-33-6115-20` - 33 (6115/20 MHz) + + * `6g-35-6125-40` - 35 (6125/40 MHz) + + * `6g-37-6135-20` - 37 (6135/20 MHz) + + * `6g-39-6145-80` - 39 (6145/80 MHz) + + * `6g-41-6155-20` - 41 (6155/20 MHz) + + * `6g-43-6165-40` - 43 (6165/40 MHz) + + * `6g-45-6175-20` - 45 (6175/20 MHz) + + * `6g-47-6185-160` - 47 (6185/160 MHz) + + * `6g-49-6195-20` - 49 (6195/20 MHz) + + * `6g-51-6205-40` - 51 (6205/40 MHz) + + * `6g-53-6215-20` - 53 (6215/20 MHz) + + * `6g-55-6225-80` - 55 (6225/80 MHz) + + * `6g-57-6235-20` - 57 (6235/20 MHz) + + * `6g-59-6245-40` - 59 (6245/40 MHz) + + * `6g-61-6255-20` - 61 (6255/20 MHz) + + * `6g-65-6275-20` - 65 (6275/20 MHz) + + * `6g-67-6285-40` - 67 (6285/40 MHz) + + * `6g-69-6295-20` - 69 (6295/20 MHz) + + * `6g-71-6305-80` - 71 (6305/80 MHz) + + * `6g-73-6315-20` - 73 (6315/20 MHz) + + * `6g-75-6325-40` - 75 (6325/40 MHz) + + * `6g-77-6335-20` - 77 (6335/20 MHz) + + * `6g-79-6345-160` - 79 (6345/160 MHz) + + * `6g-81-6355-20` - 81 (6355/20 MHz) + + * `6g-83-6365-40` - 83 (6365/40 MHz) + + * `6g-85-6375-20` - 85 (6375/20 MHz) + + * `6g-87-6385-80` - 87 (6385/80 MHz) + + * `6g-89-6395-20` - 89 (6395/20 MHz) + + * `6g-91-6405-40` - 91 (6405/40 MHz) + + * `6g-93-6415-20` - 93 (6415/20 MHz) + + * `6g-95-6425-320` - 95 (6425/320 MHz) + + * `6g-97-6435-20` - 97 (6435/20 MHz) + + * `6g-99-6445-40` - 99 (6445/40 MHz) + + * `6g-101-6455-20` - 101 (6455/20 MHz) + + * `6g-103-6465-80` - 103 (6465/80 MHz) + + * `6g-105-6475-20` - 105 (6475/20 MHz) + + * `6g-107-6485-40` - 107 (6485/40 MHz) + + * `6g-109-6495-20` - 109 (6495/20 MHz) + + * `6g-111-6505-160` - 111 (6505/160 MHz) + + * `6g-113-6515-20` - 113 (6515/20 MHz) + + * `6g-115-6525-40` - 115 (6525/40 MHz) + + * `6g-117-6535-20` - 117 (6535/20 MHz) + + * `6g-119-6545-80` - 119 (6545/80 MHz) + + * `6g-121-6555-20` - 121 (6555/20 MHz) + + * `6g-123-6565-40` - 123 (6565/40 MHz) + + * `6g-125-6575-20` - 125 (6575/20 MHz) + + * `6g-129-6595-20` - 129 (6595/20 MHz) + + * `6g-131-6605-40` - 131 (6605/40 MHz) + + * `6g-133-6615-20` - 133 (6615/20 MHz) + + * `6g-135-6625-80` - 135 (6625/80 MHz) + + * `6g-137-6635-20` - 137 (6635/20 MHz) + + * `6g-139-6645-40` - 139 (6645/40 MHz) + + * `6g-141-6655-20` - 141 (6655/20 MHz) + + * `6g-143-6665-160` - 143 (6665/160 MHz) + + * `6g-145-6675-20` - 145 (6675/20 MHz) + + * `6g-147-6685-40` - 147 (6685/40 MHz) + + * `6g-149-6695-20` - 149 (6695/20 MHz) + + * `6g-151-6705-80` - 151 (6705/80 MHz) + + * `6g-153-6715-20` - 153 (6715/20 MHz) + + * `6g-155-6725-40` - 155 (6725/40 MHz) + + * `6g-157-6735-20` - 157 (6735/20 MHz) + + * `6g-159-6745-320` - 159 (6745/320 MHz) + + * `6g-161-6755-20` - 161 (6755/20 MHz) + + * `6g-163-6765-40` - 163 (6765/40 MHz) + + * `6g-165-6775-20` - 165 (6775/20 MHz) + + * `6g-167-6785-80` - 167 (6785/80 MHz) + + * `6g-169-6795-20` - 169 (6795/20 MHz) + + * `6g-171-6805-40` - 171 (6805/40 MHz) + + * `6g-173-6815-20` - 173 (6815/20 MHz) + + * `6g-175-6825-160` - 175 (6825/160 MHz) + + * `6g-177-6835-20` - 177 (6835/20 MHz) + + * `6g-179-6845-40` - 179 (6845/40 MHz) + + * `6g-181-6855-20` - 181 (6855/20 MHz) + + * `6g-183-6865-80` - 183 (6865/80 MHz) + + * `6g-185-6875-20` - 185 (6875/20 MHz) + + * `6g-187-6885-40` - 187 (6885/40 MHz) + + * `6g-189-6895-20` - 189 (6895/20 MHz) + + * `6g-193-6915-20` - 193 (6915/20 MHz) + + * `6g-195-6925-40` - 195 (6925/40 MHz) + + * `6g-197-6935-20` - 197 (6935/20 MHz) + + * `6g-199-6945-80` - 199 (6945/80 MHz) + + * `6g-201-6955-20` - 201 (6955/20 MHz) + + * `6g-203-6965-40` - 203 (6965/40 MHz) + + * `6g-205-6975-20` - 205 (6975/20 MHz) + + * `6g-207-6985-160` - 207 (6985/160 MHz) + + * `6g-209-6995-20` - 209 (6995/20 MHz) + + * `6g-211-7005-40` - 211 (7005/40 MHz) + + * `6g-213-7015-20` - 213 (7015/20 MHz) + + * `6g-215-7025-80` - 215 (7025/80 MHz) + + * `6g-217-7035-20` - 217 (7035/20 MHz) + + * `6g-219-7045-40` - 219 (7045/40 MHz) + + * `6g-221-7055-20` - 221 (7055/20 MHz) + + * `6g-225-7075-20` - 225 (7075/20 MHz) + + * `6g-227-7085-40` - 227 (7085/40 MHz) + + * `6g-229-7095-20` - 229 (7095/20 MHz) + + * `6g-233-7115-20` - 233 (7115/20 MHz) + + * `60g-1-58320-2160` - 1 (58.32/2.16 GHz) + + * `60g-2-60480-2160` - 2 (60.48/2.16 GHz) + + * `60g-3-62640-2160` - 3 (62.64/2.16 GHz) + + * `60g-4-64800-2160` - 4 (64.80/2.16 GHz) + + * `60g-5-66960-2160` - 5 (66.96/2.16 GHz) + + * `60g-6-69120-2160` - 6 (69.12/2.16 GHz) + + * `60g-9-59400-4320` - 9 (59.40/4.32 GHz) + + * `60g-10-61560-4320` - 10 (61.56/4.32 GHz) + + * `60g-11-63720-4320` - 11 (63.72/4.32 GHz) + + * `60g-12-65880-4320` - 12 (65.88/4.32 GHz) + + * `60g-13-68040-4320` - 13 (68.04/4.32 GHz) + + * `60g-17-60480-6480` - 17 (60.48/6.48 GHz) + + * `60g-18-62640-6480` - 18 (62.64/6.48 GHz) + + * `60g-19-64800-6480` - 19 (64.80/6.48 GHz) + + * `60g-20-66960-6480` - 20 (66.96/6.48 GHz) + + * `60g-25-61560-6480` - 25 (61.56/8.64 GHz) + + * `60g-26-63720-6480` - 26 (63.72/8.64 GHz) + + * `60g-27-65880-6480` - 27 (65.88/8.64 GHz)' explode: true style: form - in: query - name: facility__niew - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: facility__nisw + name: rf_channel__iew schema: type: array items: type: string + x-spec-enum-id: aac33cc237adc8f9 + title: Wireless channel + enum: + - '' + - 2.4g-1-2412-22 + - 2.4g-10-2457-22 + - 2.4g-11-2462-22 + - 2.4g-12-2467-22 + - 2.4g-13-2472-22 + - 2.4g-2-2417-22 + - 2.4g-3-2422-22 + - 2.4g-4-2427-22 + - 2.4g-5-2432-22 + - 2.4g-6-2437-22 + - 2.4g-7-2442-22 + - 2.4g-8-2447-22 + - 2.4g-9-2452-22 + - 5g-100-5500-20 + - 5g-102-5510-40 + - 5g-104-5520-20 + - 5g-106-5530-80 + - 5g-108-5540-20 + - 5g-110-5550-40 + - 5g-112-5560-20 + - 5g-114-5570-160 + - 5g-116-5580-20 + - 5g-118-5590-40 + - 5g-120-5600-20 + - 5g-122-5610-80 + - 5g-124-5620-20 + - 5g-126-5630-40 + - 5g-128-5640-20 + - 5g-132-5660-20 + - 5g-134-5670-40 + - 5g-136-5680-20 + - 5g-138-5690-80 + - 5g-140-5700-20 + - 5g-142-5710-40 + - 5g-144-5720-20 + - 5g-149-5745-20 + - 5g-151-5755-40 + - 5g-153-5765-20 + - 5g-155-5775-80 + - 5g-157-5785-20 + - 5g-159-5795-40 + - 5g-161-5805-20 + - 5g-163-5815-160 + - 5g-165-5825-20 + - 5g-167-5835-40 + - 5g-169-5845-20 + - 5g-171-5855-80 + - 5g-173-5865-20 + - 5g-175-5875-40 + - 5g-177-5885-20 + - 5g-32-5160-20 + - 5g-34-5170-40 + - 5g-36-5180-20 + - 5g-38-5190-40 + - 5g-40-5200-20 + - 5g-42-5210-80 + - 5g-44-5220-20 + - 5g-46-5230-40 + - 5g-48-5240-20 + - 5g-50-5250-160 + - 5g-52-5260-20 + - 5g-54-5270-40 + - 5g-56-5280-20 + - 5g-58-5290-80 + - 5g-60-5300-20 + - 5g-62-5310-40 + - 5g-64-5320-20 + - 60g-1-58320-2160 + - 60g-10-61560-4320 + - 60g-11-63720-4320 + - 60g-12-65880-4320 + - 60g-13-68040-4320 + - 60g-17-60480-6480 + - 60g-18-62640-6480 + - 60g-19-64800-6480 + - 60g-2-60480-2160 + - 60g-20-66960-6480 + - 60g-25-61560-6480 + - 60g-26-63720-6480 + - 60g-27-65880-6480 + - 60g-3-62640-2160 + - 60g-4-64800-2160 + - 60g-5-66960-2160 + - 60g-6-69120-2160 + - 60g-9-59400-4320 + - 6g-1-5955-20 + - 6g-101-6455-20 + - 6g-103-6465-80 + - 6g-105-6475-20 + - 6g-107-6485-40 + - 6g-109-6495-20 + - 6g-11-6005-40 + - 6g-111-6505-160 + - 6g-113-6515-20 + - 6g-115-6525-40 + - 6g-117-6535-20 + - 6g-119-6545-80 + - 6g-121-6555-20 + - 6g-123-6565-40 + - 6g-125-6575-20 + - 6g-129-6595-20 + - 6g-13-6015-20 + - 6g-131-6605-40 + - 6g-133-6615-20 + - 6g-135-6625-80 + - 6g-137-6635-20 + - 6g-139-6645-40 + - 6g-141-6655-20 + - 6g-143-6665-160 + - 6g-145-6675-20 + - 6g-147-6685-40 + - 6g-149-6695-20 + - 6g-15-6025-160 + - 6g-151-6705-80 + - 6g-153-6715-20 + - 6g-155-6725-40 + - 6g-157-6735-20 + - 6g-159-6745-320 + - 6g-161-6755-20 + - 6g-163-6765-40 + - 6g-165-6775-20 + - 6g-167-6785-80 + - 6g-169-6795-20 + - 6g-17-6035-20 + - 6g-171-6805-40 + - 6g-173-6815-20 + - 6g-175-6825-160 + - 6g-177-6835-20 + - 6g-179-6845-40 + - 6g-181-6855-20 + - 6g-183-6865-80 + - 6g-185-6875-20 + - 6g-187-6885-40 + - 6g-189-6895-20 + - 6g-19-6045-40 + - 6g-193-6915-20 + - 6g-195-6925-40 + - 6g-197-6935-20 + - 6g-199-6945-80 + - 6g-201-6955-20 + - 6g-203-6965-40 + - 6g-205-6975-20 + - 6g-207-6985-160 + - 6g-209-6995-20 + - 6g-21-6055-20 + - 6g-211-7005-40 + - 6g-213-7015-20 + - 6g-215-7025-80 + - 6g-217-7035-20 + - 6g-219-7045-40 + - 6g-221-7055-20 + - 6g-225-7075-20 + - 6g-227-7085-40 + - 6g-229-7095-20 + - 6g-23-6065-80 + - 6g-233-7115-20 + - 6g-25-6075-20 + - 6g-27-6085-40 + - 6g-29-6095-20 + - 6g-3-5965-40 + - 6g-31-6105-320 + - 6g-33-6115-20 + - 6g-35-6125-40 + - 6g-37-6135-20 + - 6g-39-6145-80 + - 6g-41-6155-20 + - 6g-43-6165-40 + - 6g-45-6175-20 + - 6g-47-6185-160 + - 6g-49-6195-20 + - 6g-5-5975-20 + - 6g-51-6205-40 + - 6g-53-6215-20 + - 6g-55-6225-80 + - 6g-57-6235-20 + - 6g-59-6245-40 + - 6g-61-6255-20 + - 6g-65-6275-20 + - 6g-67-6285-40 + - 6g-69-6295-20 + - 6g-7-5985-80 + - 6g-71-6305-80 + - 6g-73-6315-20 + - 6g-75-6325-40 + - 6g-77-6335-20 + - 6g-79-6345-160 + - 6g-81-6355-20 + - 6g-83-6365-40 + - 6g-85-6375-20 + - 6g-87-6385-80 + - 6g-89-6395-20 + - 6g-9-5995-20 + - 6g-91-6405-40 + - 6g-93-6415-20 + - 6g-95-6425-320 + - 6g-97-6435-20 + - 6g-99-6445-40 + description: '* `2.4g-1-2412-22` - 1 (2412 MHz) + + * `2.4g-2-2417-22` - 2 (2417 MHz) + + * `2.4g-3-2422-22` - 3 (2422 MHz) + + * `2.4g-4-2427-22` - 4 (2427 MHz) + + * `2.4g-5-2432-22` - 5 (2432 MHz) + + * `2.4g-6-2437-22` - 6 (2437 MHz) + + * `2.4g-7-2442-22` - 7 (2442 MHz) + + * `2.4g-8-2447-22` - 8 (2447 MHz) + + * `2.4g-9-2452-22` - 9 (2452 MHz) + + * `2.4g-10-2457-22` - 10 (2457 MHz) + + * `2.4g-11-2462-22` - 11 (2462 MHz) + + * `2.4g-12-2467-22` - 12 (2467 MHz) + + * `2.4g-13-2472-22` - 13 (2472 MHz) + + * `5g-32-5160-20` - 32 (5160/20 MHz) + + * `5g-34-5170-40` - 34 (5170/40 MHz) + + * `5g-36-5180-20` - 36 (5180/20 MHz) + + * `5g-38-5190-40` - 38 (5190/40 MHz) + + * `5g-40-5200-20` - 40 (5200/20 MHz) + + * `5g-42-5210-80` - 42 (5210/80 MHz) + + * `5g-44-5220-20` - 44 (5220/20 MHz) + + * `5g-46-5230-40` - 46 (5230/40 MHz) + + * `5g-48-5240-20` - 48 (5240/20 MHz) + + * `5g-50-5250-160` - 50 (5250/160 MHz) + + * `5g-52-5260-20` - 52 (5260/20 MHz) + + * `5g-54-5270-40` - 54 (5270/40 MHz) + + * `5g-56-5280-20` - 56 (5280/20 MHz) + + * `5g-58-5290-80` - 58 (5290/80 MHz) + + * `5g-60-5300-20` - 60 (5300/20 MHz) + + * `5g-62-5310-40` - 62 (5310/40 MHz) + + * `5g-64-5320-20` - 64 (5320/20 MHz) + + * `5g-100-5500-20` - 100 (5500/20 MHz) + + * `5g-102-5510-40` - 102 (5510/40 MHz) + + * `5g-104-5520-20` - 104 (5520/20 MHz) + + * `5g-106-5530-80` - 106 (5530/80 MHz) + + * `5g-108-5540-20` - 108 (5540/20 MHz) + + * `5g-110-5550-40` - 110 (5550/40 MHz) + + * `5g-112-5560-20` - 112 (5560/20 MHz) + + * `5g-114-5570-160` - 114 (5570/160 MHz) + + * `5g-116-5580-20` - 116 (5580/20 MHz) + + * `5g-118-5590-40` - 118 (5590/40 MHz) + + * `5g-120-5600-20` - 120 (5600/20 MHz) + + * `5g-122-5610-80` - 122 (5610/80 MHz) + + * `5g-124-5620-20` - 124 (5620/20 MHz) + + * `5g-126-5630-40` - 126 (5630/40 MHz) + + * `5g-128-5640-20` - 128 (5640/20 MHz) + + * `5g-132-5660-20` - 132 (5660/20 MHz) + + * `5g-134-5670-40` - 134 (5670/40 MHz) + + * `5g-136-5680-20` - 136 (5680/20 MHz) + + * `5g-138-5690-80` - 138 (5690/80 MHz) + + * `5g-140-5700-20` - 140 (5700/20 MHz) + + * `5g-142-5710-40` - 142 (5710/40 MHz) + + * `5g-144-5720-20` - 144 (5720/20 MHz) + + * `5g-149-5745-20` - 149 (5745/20 MHz) + + * `5g-151-5755-40` - 151 (5755/40 MHz) + + * `5g-153-5765-20` - 153 (5765/20 MHz) + + * `5g-155-5775-80` - 155 (5775/80 MHz) + + * `5g-157-5785-20` - 157 (5785/20 MHz) + + * `5g-159-5795-40` - 159 (5795/40 MHz) + + * `5g-161-5805-20` - 161 (5805/20 MHz) + + * `5g-163-5815-160` - 163 (5815/160 MHz) + + * `5g-165-5825-20` - 165 (5825/20 MHz) + + * `5g-167-5835-40` - 167 (5835/40 MHz) + + * `5g-169-5845-20` - 169 (5845/20 MHz) + + * `5g-171-5855-80` - 171 (5855/80 MHz) + + * `5g-173-5865-20` - 173 (5865/20 MHz) + + * `5g-175-5875-40` - 175 (5875/40 MHz) + + * `5g-177-5885-20` - 177 (5885/20 MHz) + + * `6g-1-5955-20` - 1 (5955/20 MHz) + + * `6g-3-5965-40` - 3 (5965/40 MHz) + + * `6g-5-5975-20` - 5 (5975/20 MHz) + + * `6g-7-5985-80` - 7 (5985/80 MHz) + + * `6g-9-5995-20` - 9 (5995/20 MHz) + + * `6g-11-6005-40` - 11 (6005/40 MHz) + + * `6g-13-6015-20` - 13 (6015/20 MHz) + + * `6g-15-6025-160` - 15 (6025/160 MHz) + + * `6g-17-6035-20` - 17 (6035/20 MHz) + + * `6g-19-6045-40` - 19 (6045/40 MHz) + + * `6g-21-6055-20` - 21 (6055/20 MHz) + + * `6g-23-6065-80` - 23 (6065/80 MHz) + + * `6g-25-6075-20` - 25 (6075/20 MHz) + + * `6g-27-6085-40` - 27 (6085/40 MHz) + + * `6g-29-6095-20` - 29 (6095/20 MHz) + + * `6g-31-6105-320` - 31 (6105/320 MHz) + + * `6g-33-6115-20` - 33 (6115/20 MHz) + + * `6g-35-6125-40` - 35 (6125/40 MHz) + + * `6g-37-6135-20` - 37 (6135/20 MHz) + + * `6g-39-6145-80` - 39 (6145/80 MHz) + + * `6g-41-6155-20` - 41 (6155/20 MHz) + + * `6g-43-6165-40` - 43 (6165/40 MHz) + + * `6g-45-6175-20` - 45 (6175/20 MHz) + + * `6g-47-6185-160` - 47 (6185/160 MHz) + + * `6g-49-6195-20` - 49 (6195/20 MHz) + + * `6g-51-6205-40` - 51 (6205/40 MHz) + + * `6g-53-6215-20` - 53 (6215/20 MHz) + + * `6g-55-6225-80` - 55 (6225/80 MHz) + + * `6g-57-6235-20` - 57 (6235/20 MHz) + + * `6g-59-6245-40` - 59 (6245/40 MHz) + + * `6g-61-6255-20` - 61 (6255/20 MHz) + + * `6g-65-6275-20` - 65 (6275/20 MHz) + + * `6g-67-6285-40` - 67 (6285/40 MHz) + + * `6g-69-6295-20` - 69 (6295/20 MHz) + + * `6g-71-6305-80` - 71 (6305/80 MHz) + + * `6g-73-6315-20` - 73 (6315/20 MHz) + + * `6g-75-6325-40` - 75 (6325/40 MHz) + + * `6g-77-6335-20` - 77 (6335/20 MHz) + + * `6g-79-6345-160` - 79 (6345/160 MHz) + + * `6g-81-6355-20` - 81 (6355/20 MHz) + + * `6g-83-6365-40` - 83 (6365/40 MHz) + + * `6g-85-6375-20` - 85 (6375/20 MHz) + + * `6g-87-6385-80` - 87 (6385/80 MHz) + + * `6g-89-6395-20` - 89 (6395/20 MHz) + + * `6g-91-6405-40` - 91 (6405/40 MHz) + + * `6g-93-6415-20` - 93 (6415/20 MHz) + + * `6g-95-6425-320` - 95 (6425/320 MHz) + + * `6g-97-6435-20` - 97 (6435/20 MHz) + + * `6g-99-6445-40` - 99 (6445/40 MHz) + + * `6g-101-6455-20` - 101 (6455/20 MHz) + + * `6g-103-6465-80` - 103 (6465/80 MHz) + + * `6g-105-6475-20` - 105 (6475/20 MHz) + + * `6g-107-6485-40` - 107 (6485/40 MHz) + + * `6g-109-6495-20` - 109 (6495/20 MHz) + + * `6g-111-6505-160` - 111 (6505/160 MHz) + + * `6g-113-6515-20` - 113 (6515/20 MHz) + + * `6g-115-6525-40` - 115 (6525/40 MHz) + + * `6g-117-6535-20` - 117 (6535/20 MHz) + + * `6g-119-6545-80` - 119 (6545/80 MHz) + + * `6g-121-6555-20` - 121 (6555/20 MHz) + + * `6g-123-6565-40` - 123 (6565/40 MHz) + + * `6g-125-6575-20` - 125 (6575/20 MHz) + + * `6g-129-6595-20` - 129 (6595/20 MHz) + + * `6g-131-6605-40` - 131 (6605/40 MHz) + + * `6g-133-6615-20` - 133 (6615/20 MHz) + + * `6g-135-6625-80` - 135 (6625/80 MHz) + + * `6g-137-6635-20` - 137 (6635/20 MHz) + + * `6g-139-6645-40` - 139 (6645/40 MHz) + + * `6g-141-6655-20` - 141 (6655/20 MHz) + + * `6g-143-6665-160` - 143 (6665/160 MHz) + + * `6g-145-6675-20` - 145 (6675/20 MHz) + + * `6g-147-6685-40` - 147 (6685/40 MHz) + + * `6g-149-6695-20` - 149 (6695/20 MHz) + + * `6g-151-6705-80` - 151 (6705/80 MHz) + + * `6g-153-6715-20` - 153 (6715/20 MHz) + + * `6g-155-6725-40` - 155 (6725/40 MHz) + + * `6g-157-6735-20` - 157 (6735/20 MHz) + + * `6g-159-6745-320` - 159 (6745/320 MHz) + + * `6g-161-6755-20` - 161 (6755/20 MHz) + + * `6g-163-6765-40` - 163 (6765/40 MHz) + + * `6g-165-6775-20` - 165 (6775/20 MHz) + + * `6g-167-6785-80` - 167 (6785/80 MHz) + + * `6g-169-6795-20` - 169 (6795/20 MHz) + + * `6g-171-6805-40` - 171 (6805/40 MHz) + + * `6g-173-6815-20` - 173 (6815/20 MHz) + + * `6g-175-6825-160` - 175 (6825/160 MHz) + + * `6g-177-6835-20` - 177 (6835/20 MHz) + + * `6g-179-6845-40` - 179 (6845/40 MHz) + + * `6g-181-6855-20` - 181 (6855/20 MHz) + + * `6g-183-6865-80` - 183 (6865/80 MHz) + + * `6g-185-6875-20` - 185 (6875/20 MHz) + + * `6g-187-6885-40` - 187 (6885/40 MHz) + + * `6g-189-6895-20` - 189 (6895/20 MHz) + + * `6g-193-6915-20` - 193 (6915/20 MHz) + + * `6g-195-6925-40` - 195 (6925/40 MHz) + + * `6g-197-6935-20` - 197 (6935/20 MHz) + + * `6g-199-6945-80` - 199 (6945/80 MHz) + + * `6g-201-6955-20` - 201 (6955/20 MHz) + + * `6g-203-6965-40` - 203 (6965/40 MHz) + + * `6g-205-6975-20` - 205 (6975/20 MHz) + + * `6g-207-6985-160` - 207 (6985/160 MHz) + + * `6g-209-6995-20` - 209 (6995/20 MHz) + + * `6g-211-7005-40` - 211 (7005/40 MHz) + + * `6g-213-7015-20` - 213 (7015/20 MHz) + + * `6g-215-7025-80` - 215 (7025/80 MHz) + + * `6g-217-7035-20` - 217 (7035/20 MHz) + + * `6g-219-7045-40` - 219 (7045/40 MHz) + + * `6g-221-7055-20` - 221 (7055/20 MHz) + + * `6g-225-7075-20` - 225 (7075/20 MHz) + + * `6g-227-7085-40` - 227 (7085/40 MHz) + + * `6g-229-7095-20` - 229 (7095/20 MHz) + + * `6g-233-7115-20` - 233 (7115/20 MHz) + + * `60g-1-58320-2160` - 1 (58.32/2.16 GHz) + + * `60g-2-60480-2160` - 2 (60.48/2.16 GHz) + + * `60g-3-62640-2160` - 3 (62.64/2.16 GHz) + + * `60g-4-64800-2160` - 4 (64.80/2.16 GHz) + + * `60g-5-66960-2160` - 5 (66.96/2.16 GHz) + + * `60g-6-69120-2160` - 6 (69.12/2.16 GHz) + + * `60g-9-59400-4320` - 9 (59.40/4.32 GHz) + + * `60g-10-61560-4320` - 10 (61.56/4.32 GHz) + + * `60g-11-63720-4320` - 11 (63.72/4.32 GHz) + + * `60g-12-65880-4320` - 12 (65.88/4.32 GHz) + + * `60g-13-68040-4320` - 13 (68.04/4.32 GHz) + + * `60g-17-60480-6480` - 17 (60.48/6.48 GHz) + + * `60g-18-62640-6480` - 18 (62.64/6.48 GHz) + + * `60g-19-64800-6480` - 19 (64.80/6.48 GHz) + + * `60g-20-66960-6480` - 20 (66.96/6.48 GHz) + + * `60g-25-61560-6480` - 25 (61.56/8.64 GHz) + + * `60g-26-63720-6480` - 26 (63.72/8.64 GHz) + + * `60g-27-65880-6480` - 27 (65.88/8.64 GHz)' explode: true style: form - in: query - name: id + name: rf_channel__isw schema: type: array items: - type: integer - format: int32 + type: string + x-spec-enum-id: aac33cc237adc8f9 + title: Wireless channel + enum: + - '' + - 2.4g-1-2412-22 + - 2.4g-10-2457-22 + - 2.4g-11-2462-22 + - 2.4g-12-2467-22 + - 2.4g-13-2472-22 + - 2.4g-2-2417-22 + - 2.4g-3-2422-22 + - 2.4g-4-2427-22 + - 2.4g-5-2432-22 + - 2.4g-6-2437-22 + - 2.4g-7-2442-22 + - 2.4g-8-2447-22 + - 2.4g-9-2452-22 + - 5g-100-5500-20 + - 5g-102-5510-40 + - 5g-104-5520-20 + - 5g-106-5530-80 + - 5g-108-5540-20 + - 5g-110-5550-40 + - 5g-112-5560-20 + - 5g-114-5570-160 + - 5g-116-5580-20 + - 5g-118-5590-40 + - 5g-120-5600-20 + - 5g-122-5610-80 + - 5g-124-5620-20 + - 5g-126-5630-40 + - 5g-128-5640-20 + - 5g-132-5660-20 + - 5g-134-5670-40 + - 5g-136-5680-20 + - 5g-138-5690-80 + - 5g-140-5700-20 + - 5g-142-5710-40 + - 5g-144-5720-20 + - 5g-149-5745-20 + - 5g-151-5755-40 + - 5g-153-5765-20 + - 5g-155-5775-80 + - 5g-157-5785-20 + - 5g-159-5795-40 + - 5g-161-5805-20 + - 5g-163-5815-160 + - 5g-165-5825-20 + - 5g-167-5835-40 + - 5g-169-5845-20 + - 5g-171-5855-80 + - 5g-173-5865-20 + - 5g-175-5875-40 + - 5g-177-5885-20 + - 5g-32-5160-20 + - 5g-34-5170-40 + - 5g-36-5180-20 + - 5g-38-5190-40 + - 5g-40-5200-20 + - 5g-42-5210-80 + - 5g-44-5220-20 + - 5g-46-5230-40 + - 5g-48-5240-20 + - 5g-50-5250-160 + - 5g-52-5260-20 + - 5g-54-5270-40 + - 5g-56-5280-20 + - 5g-58-5290-80 + - 5g-60-5300-20 + - 5g-62-5310-40 + - 5g-64-5320-20 + - 60g-1-58320-2160 + - 60g-10-61560-4320 + - 60g-11-63720-4320 + - 60g-12-65880-4320 + - 60g-13-68040-4320 + - 60g-17-60480-6480 + - 60g-18-62640-6480 + - 60g-19-64800-6480 + - 60g-2-60480-2160 + - 60g-20-66960-6480 + - 60g-25-61560-6480 + - 60g-26-63720-6480 + - 60g-27-65880-6480 + - 60g-3-62640-2160 + - 60g-4-64800-2160 + - 60g-5-66960-2160 + - 60g-6-69120-2160 + - 60g-9-59400-4320 + - 6g-1-5955-20 + - 6g-101-6455-20 + - 6g-103-6465-80 + - 6g-105-6475-20 + - 6g-107-6485-40 + - 6g-109-6495-20 + - 6g-11-6005-40 + - 6g-111-6505-160 + - 6g-113-6515-20 + - 6g-115-6525-40 + - 6g-117-6535-20 + - 6g-119-6545-80 + - 6g-121-6555-20 + - 6g-123-6565-40 + - 6g-125-6575-20 + - 6g-129-6595-20 + - 6g-13-6015-20 + - 6g-131-6605-40 + - 6g-133-6615-20 + - 6g-135-6625-80 + - 6g-137-6635-20 + - 6g-139-6645-40 + - 6g-141-6655-20 + - 6g-143-6665-160 + - 6g-145-6675-20 + - 6g-147-6685-40 + - 6g-149-6695-20 + - 6g-15-6025-160 + - 6g-151-6705-80 + - 6g-153-6715-20 + - 6g-155-6725-40 + - 6g-157-6735-20 + - 6g-159-6745-320 + - 6g-161-6755-20 + - 6g-163-6765-40 + - 6g-165-6775-20 + - 6g-167-6785-80 + - 6g-169-6795-20 + - 6g-17-6035-20 + - 6g-171-6805-40 + - 6g-173-6815-20 + - 6g-175-6825-160 + - 6g-177-6835-20 + - 6g-179-6845-40 + - 6g-181-6855-20 + - 6g-183-6865-80 + - 6g-185-6875-20 + - 6g-187-6885-40 + - 6g-189-6895-20 + - 6g-19-6045-40 + - 6g-193-6915-20 + - 6g-195-6925-40 + - 6g-197-6935-20 + - 6g-199-6945-80 + - 6g-201-6955-20 + - 6g-203-6965-40 + - 6g-205-6975-20 + - 6g-207-6985-160 + - 6g-209-6995-20 + - 6g-21-6055-20 + - 6g-211-7005-40 + - 6g-213-7015-20 + - 6g-215-7025-80 + - 6g-217-7035-20 + - 6g-219-7045-40 + - 6g-221-7055-20 + - 6g-225-7075-20 + - 6g-227-7085-40 + - 6g-229-7095-20 + - 6g-23-6065-80 + - 6g-233-7115-20 + - 6g-25-6075-20 + - 6g-27-6085-40 + - 6g-29-6095-20 + - 6g-3-5965-40 + - 6g-31-6105-320 + - 6g-33-6115-20 + - 6g-35-6125-40 + - 6g-37-6135-20 + - 6g-39-6145-80 + - 6g-41-6155-20 + - 6g-43-6165-40 + - 6g-45-6175-20 + - 6g-47-6185-160 + - 6g-49-6195-20 + - 6g-5-5975-20 + - 6g-51-6205-40 + - 6g-53-6215-20 + - 6g-55-6225-80 + - 6g-57-6235-20 + - 6g-59-6245-40 + - 6g-61-6255-20 + - 6g-65-6275-20 + - 6g-67-6285-40 + - 6g-69-6295-20 + - 6g-7-5985-80 + - 6g-71-6305-80 + - 6g-73-6315-20 + - 6g-75-6325-40 + - 6g-77-6335-20 + - 6g-79-6345-160 + - 6g-81-6355-20 + - 6g-83-6365-40 + - 6g-85-6375-20 + - 6g-87-6385-80 + - 6g-89-6395-20 + - 6g-9-5995-20 + - 6g-91-6405-40 + - 6g-93-6415-20 + - 6g-95-6425-320 + - 6g-97-6435-20 + - 6g-99-6445-40 + description: '* `2.4g-1-2412-22` - 1 (2412 MHz) + + * `2.4g-2-2417-22` - 2 (2417 MHz) + + * `2.4g-3-2422-22` - 3 (2422 MHz) + + * `2.4g-4-2427-22` - 4 (2427 MHz) + + * `2.4g-5-2432-22` - 5 (2432 MHz) + + * `2.4g-6-2437-22` - 6 (2437 MHz) + + * `2.4g-7-2442-22` - 7 (2442 MHz) + + * `2.4g-8-2447-22` - 8 (2447 MHz) + + * `2.4g-9-2452-22` - 9 (2452 MHz) + + * `2.4g-10-2457-22` - 10 (2457 MHz) + + * `2.4g-11-2462-22` - 11 (2462 MHz) + + * `2.4g-12-2467-22` - 12 (2467 MHz) + + * `2.4g-13-2472-22` - 13 (2472 MHz) + + * `5g-32-5160-20` - 32 (5160/20 MHz) + + * `5g-34-5170-40` - 34 (5170/40 MHz) + + * `5g-36-5180-20` - 36 (5180/20 MHz) + + * `5g-38-5190-40` - 38 (5190/40 MHz) + + * `5g-40-5200-20` - 40 (5200/20 MHz) + + * `5g-42-5210-80` - 42 (5210/80 MHz) + + * `5g-44-5220-20` - 44 (5220/20 MHz) + + * `5g-46-5230-40` - 46 (5230/40 MHz) + + * `5g-48-5240-20` - 48 (5240/20 MHz) + + * `5g-50-5250-160` - 50 (5250/160 MHz) + + * `5g-52-5260-20` - 52 (5260/20 MHz) + + * `5g-54-5270-40` - 54 (5270/40 MHz) + + * `5g-56-5280-20` - 56 (5280/20 MHz) + + * `5g-58-5290-80` - 58 (5290/80 MHz) + + * `5g-60-5300-20` - 60 (5300/20 MHz) + + * `5g-62-5310-40` - 62 (5310/40 MHz) + + * `5g-64-5320-20` - 64 (5320/20 MHz) + + * `5g-100-5500-20` - 100 (5500/20 MHz) + + * `5g-102-5510-40` - 102 (5510/40 MHz) + + * `5g-104-5520-20` - 104 (5520/20 MHz) + + * `5g-106-5530-80` - 106 (5530/80 MHz) + + * `5g-108-5540-20` - 108 (5540/20 MHz) + + * `5g-110-5550-40` - 110 (5550/40 MHz) + + * `5g-112-5560-20` - 112 (5560/20 MHz) + + * `5g-114-5570-160` - 114 (5570/160 MHz) + + * `5g-116-5580-20` - 116 (5580/20 MHz) + + * `5g-118-5590-40` - 118 (5590/40 MHz) + + * `5g-120-5600-20` - 120 (5600/20 MHz) + + * `5g-122-5610-80` - 122 (5610/80 MHz) + + * `5g-124-5620-20` - 124 (5620/20 MHz) + + * `5g-126-5630-40` - 126 (5630/40 MHz) + + * `5g-128-5640-20` - 128 (5640/20 MHz) + + * `5g-132-5660-20` - 132 (5660/20 MHz) + + * `5g-134-5670-40` - 134 (5670/40 MHz) + + * `5g-136-5680-20` - 136 (5680/20 MHz) + + * `5g-138-5690-80` - 138 (5690/80 MHz) + + * `5g-140-5700-20` - 140 (5700/20 MHz) + + * `5g-142-5710-40` - 142 (5710/40 MHz) + + * `5g-144-5720-20` - 144 (5720/20 MHz) + + * `5g-149-5745-20` - 149 (5745/20 MHz) + + * `5g-151-5755-40` - 151 (5755/40 MHz) + + * `5g-153-5765-20` - 153 (5765/20 MHz) + + * `5g-155-5775-80` - 155 (5775/80 MHz) + + * `5g-157-5785-20` - 157 (5785/20 MHz) + + * `5g-159-5795-40` - 159 (5795/40 MHz) + + * `5g-161-5805-20` - 161 (5805/20 MHz) + + * `5g-163-5815-160` - 163 (5815/160 MHz) + + * `5g-165-5825-20` - 165 (5825/20 MHz) + + * `5g-167-5835-40` - 167 (5835/40 MHz) + + * `5g-169-5845-20` - 169 (5845/20 MHz) + + * `5g-171-5855-80` - 171 (5855/80 MHz) + + * `5g-173-5865-20` - 173 (5865/20 MHz) + + * `5g-175-5875-40` - 175 (5875/40 MHz) + + * `5g-177-5885-20` - 177 (5885/20 MHz) + + * `6g-1-5955-20` - 1 (5955/20 MHz) + + * `6g-3-5965-40` - 3 (5965/40 MHz) + + * `6g-5-5975-20` - 5 (5975/20 MHz) + + * `6g-7-5985-80` - 7 (5985/80 MHz) + + * `6g-9-5995-20` - 9 (5995/20 MHz) + + * `6g-11-6005-40` - 11 (6005/40 MHz) + + * `6g-13-6015-20` - 13 (6015/20 MHz) + + * `6g-15-6025-160` - 15 (6025/160 MHz) + + * `6g-17-6035-20` - 17 (6035/20 MHz) + + * `6g-19-6045-40` - 19 (6045/40 MHz) + + * `6g-21-6055-20` - 21 (6055/20 MHz) + + * `6g-23-6065-80` - 23 (6065/80 MHz) + + * `6g-25-6075-20` - 25 (6075/20 MHz) + + * `6g-27-6085-40` - 27 (6085/40 MHz) + + * `6g-29-6095-20` - 29 (6095/20 MHz) + + * `6g-31-6105-320` - 31 (6105/320 MHz) + + * `6g-33-6115-20` - 33 (6115/20 MHz) + + * `6g-35-6125-40` - 35 (6125/40 MHz) + + * `6g-37-6135-20` - 37 (6135/20 MHz) + + * `6g-39-6145-80` - 39 (6145/80 MHz) + + * `6g-41-6155-20` - 41 (6155/20 MHz) + + * `6g-43-6165-40` - 43 (6165/40 MHz) + + * `6g-45-6175-20` - 45 (6175/20 MHz) + + * `6g-47-6185-160` - 47 (6185/160 MHz) + + * `6g-49-6195-20` - 49 (6195/20 MHz) + + * `6g-51-6205-40` - 51 (6205/40 MHz) + + * `6g-53-6215-20` - 53 (6215/20 MHz) + + * `6g-55-6225-80` - 55 (6225/80 MHz) + + * `6g-57-6235-20` - 57 (6235/20 MHz) + + * `6g-59-6245-40` - 59 (6245/40 MHz) + + * `6g-61-6255-20` - 61 (6255/20 MHz) + + * `6g-65-6275-20` - 65 (6275/20 MHz) + + * `6g-67-6285-40` - 67 (6285/40 MHz) + + * `6g-69-6295-20` - 69 (6295/20 MHz) + + * `6g-71-6305-80` - 71 (6305/80 MHz) + + * `6g-73-6315-20` - 73 (6315/20 MHz) + + * `6g-75-6325-40` - 75 (6325/40 MHz) + + * `6g-77-6335-20` - 77 (6335/20 MHz) + + * `6g-79-6345-160` - 79 (6345/160 MHz) + + * `6g-81-6355-20` - 81 (6355/20 MHz) + + * `6g-83-6365-40` - 83 (6365/40 MHz) + + * `6g-85-6375-20` - 85 (6375/20 MHz) + + * `6g-87-6385-80` - 87 (6385/80 MHz) + + * `6g-89-6395-20` - 89 (6395/20 MHz) + + * `6g-91-6405-40` - 91 (6405/40 MHz) + + * `6g-93-6415-20` - 93 (6415/20 MHz) + + * `6g-95-6425-320` - 95 (6425/320 MHz) + + * `6g-97-6435-20` - 97 (6435/20 MHz) + + * `6g-99-6445-40` - 99 (6445/40 MHz) + + * `6g-101-6455-20` - 101 (6455/20 MHz) + + * `6g-103-6465-80` - 103 (6465/80 MHz) + + * `6g-105-6475-20` - 105 (6475/20 MHz) + + * `6g-107-6485-40` - 107 (6485/40 MHz) + + * `6g-109-6495-20` - 109 (6495/20 MHz) + + * `6g-111-6505-160` - 111 (6505/160 MHz) + + * `6g-113-6515-20` - 113 (6515/20 MHz) + + * `6g-115-6525-40` - 115 (6525/40 MHz) + + * `6g-117-6535-20` - 117 (6535/20 MHz) + + * `6g-119-6545-80` - 119 (6545/80 MHz) + + * `6g-121-6555-20` - 121 (6555/20 MHz) + + * `6g-123-6565-40` - 123 (6565/40 MHz) + + * `6g-125-6575-20` - 125 (6575/20 MHz) + + * `6g-129-6595-20` - 129 (6595/20 MHz) + + * `6g-131-6605-40` - 131 (6605/40 MHz) + + * `6g-133-6615-20` - 133 (6615/20 MHz) + + * `6g-135-6625-80` - 135 (6625/80 MHz) + + * `6g-137-6635-20` - 137 (6635/20 MHz) + + * `6g-139-6645-40` - 139 (6645/40 MHz) + + * `6g-141-6655-20` - 141 (6655/20 MHz) + + * `6g-143-6665-160` - 143 (6665/160 MHz) + + * `6g-145-6675-20` - 145 (6675/20 MHz) + + * `6g-147-6685-40` - 147 (6685/40 MHz) + + * `6g-149-6695-20` - 149 (6695/20 MHz) + + * `6g-151-6705-80` - 151 (6705/80 MHz) + + * `6g-153-6715-20` - 153 (6715/20 MHz) + + * `6g-155-6725-40` - 155 (6725/40 MHz) + + * `6g-157-6735-20` - 157 (6735/20 MHz) + + * `6g-159-6745-320` - 159 (6745/320 MHz) + + * `6g-161-6755-20` - 161 (6755/20 MHz) + + * `6g-163-6765-40` - 163 (6765/40 MHz) + + * `6g-165-6775-20` - 165 (6775/20 MHz) + + * `6g-167-6785-80` - 167 (6785/80 MHz) + + * `6g-169-6795-20` - 169 (6795/20 MHz) + + * `6g-171-6805-40` - 171 (6805/40 MHz) + + * `6g-173-6815-20` - 173 (6815/20 MHz) + + * `6g-175-6825-160` - 175 (6825/160 MHz) + + * `6g-177-6835-20` - 177 (6835/20 MHz) + + * `6g-179-6845-40` - 179 (6845/40 MHz) + + * `6g-181-6855-20` - 181 (6855/20 MHz) + + * `6g-183-6865-80` - 183 (6865/80 MHz) + + * `6g-185-6875-20` - 185 (6875/20 MHz) + + * `6g-187-6885-40` - 187 (6885/40 MHz) + + * `6g-189-6895-20` - 189 (6895/20 MHz) + + * `6g-193-6915-20` - 193 (6915/20 MHz) + + * `6g-195-6925-40` - 195 (6925/40 MHz) + + * `6g-197-6935-20` - 197 (6935/20 MHz) + + * `6g-199-6945-80` - 199 (6945/80 MHz) + + * `6g-201-6955-20` - 201 (6955/20 MHz) + + * `6g-203-6965-40` - 203 (6965/40 MHz) + + * `6g-205-6975-20` - 205 (6975/20 MHz) + + * `6g-207-6985-160` - 207 (6985/160 MHz) + + * `6g-209-6995-20` - 209 (6995/20 MHz) + + * `6g-211-7005-40` - 211 (7005/40 MHz) + + * `6g-213-7015-20` - 213 (7015/20 MHz) + + * `6g-215-7025-80` - 215 (7025/80 MHz) + + * `6g-217-7035-20` - 217 (7035/20 MHz) + + * `6g-219-7045-40` - 219 (7045/40 MHz) + + * `6g-221-7055-20` - 221 (7055/20 MHz) + + * `6g-225-7075-20` - 225 (7075/20 MHz) + + * `6g-227-7085-40` - 227 (7085/40 MHz) + + * `6g-229-7095-20` - 229 (7095/20 MHz) + + * `6g-233-7115-20` - 233 (7115/20 MHz) + + * `60g-1-58320-2160` - 1 (58.32/2.16 GHz) + + * `60g-2-60480-2160` - 2 (60.48/2.16 GHz) + + * `60g-3-62640-2160` - 3 (62.64/2.16 GHz) + + * `60g-4-64800-2160` - 4 (64.80/2.16 GHz) + + * `60g-5-66960-2160` - 5 (66.96/2.16 GHz) + + * `60g-6-69120-2160` - 6 (69.12/2.16 GHz) + + * `60g-9-59400-4320` - 9 (59.40/4.32 GHz) + + * `60g-10-61560-4320` - 10 (61.56/4.32 GHz) + + * `60g-11-63720-4320` - 11 (63.72/4.32 GHz) + + * `60g-12-65880-4320` - 12 (65.88/4.32 GHz) + + * `60g-13-68040-4320` - 13 (68.04/4.32 GHz) + + * `60g-17-60480-6480` - 17 (60.48/6.48 GHz) + + * `60g-18-62640-6480` - 18 (62.64/6.48 GHz) + + * `60g-19-64800-6480` - 19 (64.80/6.48 GHz) + + * `60g-20-66960-6480` - 20 (66.96/6.48 GHz) + + * `60g-25-61560-6480` - 25 (61.56/8.64 GHz) + + * `60g-26-63720-6480` - 26 (63.72/8.64 GHz) + + * `60g-27-65880-6480` - 27 (65.88/8.64 GHz)' explode: true style: form - in: query - name: id__empty - schema: - type: boolean - - in: query - name: id__gt + name: rf_channel__n schema: type: array items: - type: integer - format: int32 + type: string + x-spec-enum-id: aac33cc237adc8f9 + title: Wireless channel + enum: + - '' + - 2.4g-1-2412-22 + - 2.4g-10-2457-22 + - 2.4g-11-2462-22 + - 2.4g-12-2467-22 + - 2.4g-13-2472-22 + - 2.4g-2-2417-22 + - 2.4g-3-2422-22 + - 2.4g-4-2427-22 + - 2.4g-5-2432-22 + - 2.4g-6-2437-22 + - 2.4g-7-2442-22 + - 2.4g-8-2447-22 + - 2.4g-9-2452-22 + - 5g-100-5500-20 + - 5g-102-5510-40 + - 5g-104-5520-20 + - 5g-106-5530-80 + - 5g-108-5540-20 + - 5g-110-5550-40 + - 5g-112-5560-20 + - 5g-114-5570-160 + - 5g-116-5580-20 + - 5g-118-5590-40 + - 5g-120-5600-20 + - 5g-122-5610-80 + - 5g-124-5620-20 + - 5g-126-5630-40 + - 5g-128-5640-20 + - 5g-132-5660-20 + - 5g-134-5670-40 + - 5g-136-5680-20 + - 5g-138-5690-80 + - 5g-140-5700-20 + - 5g-142-5710-40 + - 5g-144-5720-20 + - 5g-149-5745-20 + - 5g-151-5755-40 + - 5g-153-5765-20 + - 5g-155-5775-80 + - 5g-157-5785-20 + - 5g-159-5795-40 + - 5g-161-5805-20 + - 5g-163-5815-160 + - 5g-165-5825-20 + - 5g-167-5835-40 + - 5g-169-5845-20 + - 5g-171-5855-80 + - 5g-173-5865-20 + - 5g-175-5875-40 + - 5g-177-5885-20 + - 5g-32-5160-20 + - 5g-34-5170-40 + - 5g-36-5180-20 + - 5g-38-5190-40 + - 5g-40-5200-20 + - 5g-42-5210-80 + - 5g-44-5220-20 + - 5g-46-5230-40 + - 5g-48-5240-20 + - 5g-50-5250-160 + - 5g-52-5260-20 + - 5g-54-5270-40 + - 5g-56-5280-20 + - 5g-58-5290-80 + - 5g-60-5300-20 + - 5g-62-5310-40 + - 5g-64-5320-20 + - 60g-1-58320-2160 + - 60g-10-61560-4320 + - 60g-11-63720-4320 + - 60g-12-65880-4320 + - 60g-13-68040-4320 + - 60g-17-60480-6480 + - 60g-18-62640-6480 + - 60g-19-64800-6480 + - 60g-2-60480-2160 + - 60g-20-66960-6480 + - 60g-25-61560-6480 + - 60g-26-63720-6480 + - 60g-27-65880-6480 + - 60g-3-62640-2160 + - 60g-4-64800-2160 + - 60g-5-66960-2160 + - 60g-6-69120-2160 + - 60g-9-59400-4320 + - 6g-1-5955-20 + - 6g-101-6455-20 + - 6g-103-6465-80 + - 6g-105-6475-20 + - 6g-107-6485-40 + - 6g-109-6495-20 + - 6g-11-6005-40 + - 6g-111-6505-160 + - 6g-113-6515-20 + - 6g-115-6525-40 + - 6g-117-6535-20 + - 6g-119-6545-80 + - 6g-121-6555-20 + - 6g-123-6565-40 + - 6g-125-6575-20 + - 6g-129-6595-20 + - 6g-13-6015-20 + - 6g-131-6605-40 + - 6g-133-6615-20 + - 6g-135-6625-80 + - 6g-137-6635-20 + - 6g-139-6645-40 + - 6g-141-6655-20 + - 6g-143-6665-160 + - 6g-145-6675-20 + - 6g-147-6685-40 + - 6g-149-6695-20 + - 6g-15-6025-160 + - 6g-151-6705-80 + - 6g-153-6715-20 + - 6g-155-6725-40 + - 6g-157-6735-20 + - 6g-159-6745-320 + - 6g-161-6755-20 + - 6g-163-6765-40 + - 6g-165-6775-20 + - 6g-167-6785-80 + - 6g-169-6795-20 + - 6g-17-6035-20 + - 6g-171-6805-40 + - 6g-173-6815-20 + - 6g-175-6825-160 + - 6g-177-6835-20 + - 6g-179-6845-40 + - 6g-181-6855-20 + - 6g-183-6865-80 + - 6g-185-6875-20 + - 6g-187-6885-40 + - 6g-189-6895-20 + - 6g-19-6045-40 + - 6g-193-6915-20 + - 6g-195-6925-40 + - 6g-197-6935-20 + - 6g-199-6945-80 + - 6g-201-6955-20 + - 6g-203-6965-40 + - 6g-205-6975-20 + - 6g-207-6985-160 + - 6g-209-6995-20 + - 6g-21-6055-20 + - 6g-211-7005-40 + - 6g-213-7015-20 + - 6g-215-7025-80 + - 6g-217-7035-20 + - 6g-219-7045-40 + - 6g-221-7055-20 + - 6g-225-7075-20 + - 6g-227-7085-40 + - 6g-229-7095-20 + - 6g-23-6065-80 + - 6g-233-7115-20 + - 6g-25-6075-20 + - 6g-27-6085-40 + - 6g-29-6095-20 + - 6g-3-5965-40 + - 6g-31-6105-320 + - 6g-33-6115-20 + - 6g-35-6125-40 + - 6g-37-6135-20 + - 6g-39-6145-80 + - 6g-41-6155-20 + - 6g-43-6165-40 + - 6g-45-6175-20 + - 6g-47-6185-160 + - 6g-49-6195-20 + - 6g-5-5975-20 + - 6g-51-6205-40 + - 6g-53-6215-20 + - 6g-55-6225-80 + - 6g-57-6235-20 + - 6g-59-6245-40 + - 6g-61-6255-20 + - 6g-65-6275-20 + - 6g-67-6285-40 + - 6g-69-6295-20 + - 6g-7-5985-80 + - 6g-71-6305-80 + - 6g-73-6315-20 + - 6g-75-6325-40 + - 6g-77-6335-20 + - 6g-79-6345-160 + - 6g-81-6355-20 + - 6g-83-6365-40 + - 6g-85-6375-20 + - 6g-87-6385-80 + - 6g-89-6395-20 + - 6g-9-5995-20 + - 6g-91-6405-40 + - 6g-93-6415-20 + - 6g-95-6425-320 + - 6g-97-6435-20 + - 6g-99-6445-40 + description: '* `2.4g-1-2412-22` - 1 (2412 MHz) + + * `2.4g-2-2417-22` - 2 (2417 MHz) + + * `2.4g-3-2422-22` - 3 (2422 MHz) + + * `2.4g-4-2427-22` - 4 (2427 MHz) + + * `2.4g-5-2432-22` - 5 (2432 MHz) + + * `2.4g-6-2437-22` - 6 (2437 MHz) + + * `2.4g-7-2442-22` - 7 (2442 MHz) + + * `2.4g-8-2447-22` - 8 (2447 MHz) + + * `2.4g-9-2452-22` - 9 (2452 MHz) + + * `2.4g-10-2457-22` - 10 (2457 MHz) + + * `2.4g-11-2462-22` - 11 (2462 MHz) + + * `2.4g-12-2467-22` - 12 (2467 MHz) + + * `2.4g-13-2472-22` - 13 (2472 MHz) + + * `5g-32-5160-20` - 32 (5160/20 MHz) + + * `5g-34-5170-40` - 34 (5170/40 MHz) + + * `5g-36-5180-20` - 36 (5180/20 MHz) + + * `5g-38-5190-40` - 38 (5190/40 MHz) + + * `5g-40-5200-20` - 40 (5200/20 MHz) + + * `5g-42-5210-80` - 42 (5210/80 MHz) + + * `5g-44-5220-20` - 44 (5220/20 MHz) + + * `5g-46-5230-40` - 46 (5230/40 MHz) + + * `5g-48-5240-20` - 48 (5240/20 MHz) + + * `5g-50-5250-160` - 50 (5250/160 MHz) + + * `5g-52-5260-20` - 52 (5260/20 MHz) + + * `5g-54-5270-40` - 54 (5270/40 MHz) + + * `5g-56-5280-20` - 56 (5280/20 MHz) + + * `5g-58-5290-80` - 58 (5290/80 MHz) + + * `5g-60-5300-20` - 60 (5300/20 MHz) + + * `5g-62-5310-40` - 62 (5310/40 MHz) + + * `5g-64-5320-20` - 64 (5320/20 MHz) + + * `5g-100-5500-20` - 100 (5500/20 MHz) + + * `5g-102-5510-40` - 102 (5510/40 MHz) + + * `5g-104-5520-20` - 104 (5520/20 MHz) + + * `5g-106-5530-80` - 106 (5530/80 MHz) + + * `5g-108-5540-20` - 108 (5540/20 MHz) + + * `5g-110-5550-40` - 110 (5550/40 MHz) + + * `5g-112-5560-20` - 112 (5560/20 MHz) + + * `5g-114-5570-160` - 114 (5570/160 MHz) + + * `5g-116-5580-20` - 116 (5580/20 MHz) + + * `5g-118-5590-40` - 118 (5590/40 MHz) + + * `5g-120-5600-20` - 120 (5600/20 MHz) + + * `5g-122-5610-80` - 122 (5610/80 MHz) + + * `5g-124-5620-20` - 124 (5620/20 MHz) + + * `5g-126-5630-40` - 126 (5630/40 MHz) + + * `5g-128-5640-20` - 128 (5640/20 MHz) + + * `5g-132-5660-20` - 132 (5660/20 MHz) + + * `5g-134-5670-40` - 134 (5670/40 MHz) + + * `5g-136-5680-20` - 136 (5680/20 MHz) + + * `5g-138-5690-80` - 138 (5690/80 MHz) + + * `5g-140-5700-20` - 140 (5700/20 MHz) + + * `5g-142-5710-40` - 142 (5710/40 MHz) + + * `5g-144-5720-20` - 144 (5720/20 MHz) + + * `5g-149-5745-20` - 149 (5745/20 MHz) + + * `5g-151-5755-40` - 151 (5755/40 MHz) + + * `5g-153-5765-20` - 153 (5765/20 MHz) + + * `5g-155-5775-80` - 155 (5775/80 MHz) + + * `5g-157-5785-20` - 157 (5785/20 MHz) + + * `5g-159-5795-40` - 159 (5795/40 MHz) + + * `5g-161-5805-20` - 161 (5805/20 MHz) + + * `5g-163-5815-160` - 163 (5815/160 MHz) + + * `5g-165-5825-20` - 165 (5825/20 MHz) + + * `5g-167-5835-40` - 167 (5835/40 MHz) + + * `5g-169-5845-20` - 169 (5845/20 MHz) + + * `5g-171-5855-80` - 171 (5855/80 MHz) + + * `5g-173-5865-20` - 173 (5865/20 MHz) + + * `5g-175-5875-40` - 175 (5875/40 MHz) + + * `5g-177-5885-20` - 177 (5885/20 MHz) + + * `6g-1-5955-20` - 1 (5955/20 MHz) + + * `6g-3-5965-40` - 3 (5965/40 MHz) + + * `6g-5-5975-20` - 5 (5975/20 MHz) + + * `6g-7-5985-80` - 7 (5985/80 MHz) + + * `6g-9-5995-20` - 9 (5995/20 MHz) + + * `6g-11-6005-40` - 11 (6005/40 MHz) + + * `6g-13-6015-20` - 13 (6015/20 MHz) + + * `6g-15-6025-160` - 15 (6025/160 MHz) + + * `6g-17-6035-20` - 17 (6035/20 MHz) + + * `6g-19-6045-40` - 19 (6045/40 MHz) + + * `6g-21-6055-20` - 21 (6055/20 MHz) + + * `6g-23-6065-80` - 23 (6065/80 MHz) + + * `6g-25-6075-20` - 25 (6075/20 MHz) + + * `6g-27-6085-40` - 27 (6085/40 MHz) + + * `6g-29-6095-20` - 29 (6095/20 MHz) + + * `6g-31-6105-320` - 31 (6105/320 MHz) + + * `6g-33-6115-20` - 33 (6115/20 MHz) + + * `6g-35-6125-40` - 35 (6125/40 MHz) + + * `6g-37-6135-20` - 37 (6135/20 MHz) + + * `6g-39-6145-80` - 39 (6145/80 MHz) + + * `6g-41-6155-20` - 41 (6155/20 MHz) + + * `6g-43-6165-40` - 43 (6165/40 MHz) + + * `6g-45-6175-20` - 45 (6175/20 MHz) + + * `6g-47-6185-160` - 47 (6185/160 MHz) + + * `6g-49-6195-20` - 49 (6195/20 MHz) + + * `6g-51-6205-40` - 51 (6205/40 MHz) + + * `6g-53-6215-20` - 53 (6215/20 MHz) + + * `6g-55-6225-80` - 55 (6225/80 MHz) + + * `6g-57-6235-20` - 57 (6235/20 MHz) + + * `6g-59-6245-40` - 59 (6245/40 MHz) + + * `6g-61-6255-20` - 61 (6255/20 MHz) + + * `6g-65-6275-20` - 65 (6275/20 MHz) + + * `6g-67-6285-40` - 67 (6285/40 MHz) + + * `6g-69-6295-20` - 69 (6295/20 MHz) + + * `6g-71-6305-80` - 71 (6305/80 MHz) + + * `6g-73-6315-20` - 73 (6315/20 MHz) + + * `6g-75-6325-40` - 75 (6325/40 MHz) + + * `6g-77-6335-20` - 77 (6335/20 MHz) + + * `6g-79-6345-160` - 79 (6345/160 MHz) + + * `6g-81-6355-20` - 81 (6355/20 MHz) + + * `6g-83-6365-40` - 83 (6365/40 MHz) + + * `6g-85-6375-20` - 85 (6375/20 MHz) + + * `6g-87-6385-80` - 87 (6385/80 MHz) + + * `6g-89-6395-20` - 89 (6395/20 MHz) + + * `6g-91-6405-40` - 91 (6405/40 MHz) + + * `6g-93-6415-20` - 93 (6415/20 MHz) + + * `6g-95-6425-320` - 95 (6425/320 MHz) + + * `6g-97-6435-20` - 97 (6435/20 MHz) + + * `6g-99-6445-40` - 99 (6445/40 MHz) + + * `6g-101-6455-20` - 101 (6455/20 MHz) + + * `6g-103-6465-80` - 103 (6465/80 MHz) + + * `6g-105-6475-20` - 105 (6475/20 MHz) + + * `6g-107-6485-40` - 107 (6485/40 MHz) + + * `6g-109-6495-20` - 109 (6495/20 MHz) + + * `6g-111-6505-160` - 111 (6505/160 MHz) + + * `6g-113-6515-20` - 113 (6515/20 MHz) + + * `6g-115-6525-40` - 115 (6525/40 MHz) + + * `6g-117-6535-20` - 117 (6535/20 MHz) + + * `6g-119-6545-80` - 119 (6545/80 MHz) + + * `6g-121-6555-20` - 121 (6555/20 MHz) + + * `6g-123-6565-40` - 123 (6565/40 MHz) + + * `6g-125-6575-20` - 125 (6575/20 MHz) + + * `6g-129-6595-20` - 129 (6595/20 MHz) + + * `6g-131-6605-40` - 131 (6605/40 MHz) + + * `6g-133-6615-20` - 133 (6615/20 MHz) + + * `6g-135-6625-80` - 135 (6625/80 MHz) + + * `6g-137-6635-20` - 137 (6635/20 MHz) + + * `6g-139-6645-40` - 139 (6645/40 MHz) + + * `6g-141-6655-20` - 141 (6655/20 MHz) + + * `6g-143-6665-160` - 143 (6665/160 MHz) + + * `6g-145-6675-20` - 145 (6675/20 MHz) + + * `6g-147-6685-40` - 147 (6685/40 MHz) + + * `6g-149-6695-20` - 149 (6695/20 MHz) + + * `6g-151-6705-80` - 151 (6705/80 MHz) + + * `6g-153-6715-20` - 153 (6715/20 MHz) + + * `6g-155-6725-40` - 155 (6725/40 MHz) + + * `6g-157-6735-20` - 157 (6735/20 MHz) + + * `6g-159-6745-320` - 159 (6745/320 MHz) + + * `6g-161-6755-20` - 161 (6755/20 MHz) + + * `6g-163-6765-40` - 163 (6765/40 MHz) + + * `6g-165-6775-20` - 165 (6775/20 MHz) + + * `6g-167-6785-80` - 167 (6785/80 MHz) + + * `6g-169-6795-20` - 169 (6795/20 MHz) + + * `6g-171-6805-40` - 171 (6805/40 MHz) + + * `6g-173-6815-20` - 173 (6815/20 MHz) + + * `6g-175-6825-160` - 175 (6825/160 MHz) + + * `6g-177-6835-20` - 177 (6835/20 MHz) + + * `6g-179-6845-40` - 179 (6845/40 MHz) + + * `6g-181-6855-20` - 181 (6855/20 MHz) + + * `6g-183-6865-80` - 183 (6865/80 MHz) + + * `6g-185-6875-20` - 185 (6875/20 MHz) + + * `6g-187-6885-40` - 187 (6885/40 MHz) + + * `6g-189-6895-20` - 189 (6895/20 MHz) + + * `6g-193-6915-20` - 193 (6915/20 MHz) + + * `6g-195-6925-40` - 195 (6925/40 MHz) + + * `6g-197-6935-20` - 197 (6935/20 MHz) + + * `6g-199-6945-80` - 199 (6945/80 MHz) + + * `6g-201-6955-20` - 201 (6955/20 MHz) + + * `6g-203-6965-40` - 203 (6965/40 MHz) + + * `6g-205-6975-20` - 205 (6975/20 MHz) + + * `6g-207-6985-160` - 207 (6985/160 MHz) + + * `6g-209-6995-20` - 209 (6995/20 MHz) + + * `6g-211-7005-40` - 211 (7005/40 MHz) + + * `6g-213-7015-20` - 213 (7015/20 MHz) + + * `6g-215-7025-80` - 215 (7025/80 MHz) + + * `6g-217-7035-20` - 217 (7035/20 MHz) + + * `6g-219-7045-40` - 219 (7045/40 MHz) + + * `6g-221-7055-20` - 221 (7055/20 MHz) + + * `6g-225-7075-20` - 225 (7075/20 MHz) + + * `6g-227-7085-40` - 227 (7085/40 MHz) + + * `6g-229-7095-20` - 229 (7095/20 MHz) + + * `6g-233-7115-20` - 233 (7115/20 MHz) + + * `60g-1-58320-2160` - 1 (58.32/2.16 GHz) + + * `60g-2-60480-2160` - 2 (60.48/2.16 GHz) + + * `60g-3-62640-2160` - 3 (62.64/2.16 GHz) + + * `60g-4-64800-2160` - 4 (64.80/2.16 GHz) + + * `60g-5-66960-2160` - 5 (66.96/2.16 GHz) + + * `60g-6-69120-2160` - 6 (69.12/2.16 GHz) + + * `60g-9-59400-4320` - 9 (59.40/4.32 GHz) + + * `60g-10-61560-4320` - 10 (61.56/4.32 GHz) + + * `60g-11-63720-4320` - 11 (63.72/4.32 GHz) + + * `60g-12-65880-4320` - 12 (65.88/4.32 GHz) + + * `60g-13-68040-4320` - 13 (68.04/4.32 GHz) + + * `60g-17-60480-6480` - 17 (60.48/6.48 GHz) + + * `60g-18-62640-6480` - 18 (62.64/6.48 GHz) + + * `60g-19-64800-6480` - 19 (64.80/6.48 GHz) + + * `60g-20-66960-6480` - 20 (66.96/6.48 GHz) + + * `60g-25-61560-6480` - 25 (61.56/8.64 GHz) + + * `60g-26-63720-6480` - 26 (63.72/8.64 GHz) + + * `60g-27-65880-6480` - 27 (65.88/8.64 GHz)' explode: true style: form - in: query - name: id__gte + name: rf_channel__nic schema: type: array items: - type: integer - format: int32 + type: string + x-spec-enum-id: aac33cc237adc8f9 + title: Wireless channel + enum: + - '' + - 2.4g-1-2412-22 + - 2.4g-10-2457-22 + - 2.4g-11-2462-22 + - 2.4g-12-2467-22 + - 2.4g-13-2472-22 + - 2.4g-2-2417-22 + - 2.4g-3-2422-22 + - 2.4g-4-2427-22 + - 2.4g-5-2432-22 + - 2.4g-6-2437-22 + - 2.4g-7-2442-22 + - 2.4g-8-2447-22 + - 2.4g-9-2452-22 + - 5g-100-5500-20 + - 5g-102-5510-40 + - 5g-104-5520-20 + - 5g-106-5530-80 + - 5g-108-5540-20 + - 5g-110-5550-40 + - 5g-112-5560-20 + - 5g-114-5570-160 + - 5g-116-5580-20 + - 5g-118-5590-40 + - 5g-120-5600-20 + - 5g-122-5610-80 + - 5g-124-5620-20 + - 5g-126-5630-40 + - 5g-128-5640-20 + - 5g-132-5660-20 + - 5g-134-5670-40 + - 5g-136-5680-20 + - 5g-138-5690-80 + - 5g-140-5700-20 + - 5g-142-5710-40 + - 5g-144-5720-20 + - 5g-149-5745-20 + - 5g-151-5755-40 + - 5g-153-5765-20 + - 5g-155-5775-80 + - 5g-157-5785-20 + - 5g-159-5795-40 + - 5g-161-5805-20 + - 5g-163-5815-160 + - 5g-165-5825-20 + - 5g-167-5835-40 + - 5g-169-5845-20 + - 5g-171-5855-80 + - 5g-173-5865-20 + - 5g-175-5875-40 + - 5g-177-5885-20 + - 5g-32-5160-20 + - 5g-34-5170-40 + - 5g-36-5180-20 + - 5g-38-5190-40 + - 5g-40-5200-20 + - 5g-42-5210-80 + - 5g-44-5220-20 + - 5g-46-5230-40 + - 5g-48-5240-20 + - 5g-50-5250-160 + - 5g-52-5260-20 + - 5g-54-5270-40 + - 5g-56-5280-20 + - 5g-58-5290-80 + - 5g-60-5300-20 + - 5g-62-5310-40 + - 5g-64-5320-20 + - 60g-1-58320-2160 + - 60g-10-61560-4320 + - 60g-11-63720-4320 + - 60g-12-65880-4320 + - 60g-13-68040-4320 + - 60g-17-60480-6480 + - 60g-18-62640-6480 + - 60g-19-64800-6480 + - 60g-2-60480-2160 + - 60g-20-66960-6480 + - 60g-25-61560-6480 + - 60g-26-63720-6480 + - 60g-27-65880-6480 + - 60g-3-62640-2160 + - 60g-4-64800-2160 + - 60g-5-66960-2160 + - 60g-6-69120-2160 + - 60g-9-59400-4320 + - 6g-1-5955-20 + - 6g-101-6455-20 + - 6g-103-6465-80 + - 6g-105-6475-20 + - 6g-107-6485-40 + - 6g-109-6495-20 + - 6g-11-6005-40 + - 6g-111-6505-160 + - 6g-113-6515-20 + - 6g-115-6525-40 + - 6g-117-6535-20 + - 6g-119-6545-80 + - 6g-121-6555-20 + - 6g-123-6565-40 + - 6g-125-6575-20 + - 6g-129-6595-20 + - 6g-13-6015-20 + - 6g-131-6605-40 + - 6g-133-6615-20 + - 6g-135-6625-80 + - 6g-137-6635-20 + - 6g-139-6645-40 + - 6g-141-6655-20 + - 6g-143-6665-160 + - 6g-145-6675-20 + - 6g-147-6685-40 + - 6g-149-6695-20 + - 6g-15-6025-160 + - 6g-151-6705-80 + - 6g-153-6715-20 + - 6g-155-6725-40 + - 6g-157-6735-20 + - 6g-159-6745-320 + - 6g-161-6755-20 + - 6g-163-6765-40 + - 6g-165-6775-20 + - 6g-167-6785-80 + - 6g-169-6795-20 + - 6g-17-6035-20 + - 6g-171-6805-40 + - 6g-173-6815-20 + - 6g-175-6825-160 + - 6g-177-6835-20 + - 6g-179-6845-40 + - 6g-181-6855-20 + - 6g-183-6865-80 + - 6g-185-6875-20 + - 6g-187-6885-40 + - 6g-189-6895-20 + - 6g-19-6045-40 + - 6g-193-6915-20 + - 6g-195-6925-40 + - 6g-197-6935-20 + - 6g-199-6945-80 + - 6g-201-6955-20 + - 6g-203-6965-40 + - 6g-205-6975-20 + - 6g-207-6985-160 + - 6g-209-6995-20 + - 6g-21-6055-20 + - 6g-211-7005-40 + - 6g-213-7015-20 + - 6g-215-7025-80 + - 6g-217-7035-20 + - 6g-219-7045-40 + - 6g-221-7055-20 + - 6g-225-7075-20 + - 6g-227-7085-40 + - 6g-229-7095-20 + - 6g-23-6065-80 + - 6g-233-7115-20 + - 6g-25-6075-20 + - 6g-27-6085-40 + - 6g-29-6095-20 + - 6g-3-5965-40 + - 6g-31-6105-320 + - 6g-33-6115-20 + - 6g-35-6125-40 + - 6g-37-6135-20 + - 6g-39-6145-80 + - 6g-41-6155-20 + - 6g-43-6165-40 + - 6g-45-6175-20 + - 6g-47-6185-160 + - 6g-49-6195-20 + - 6g-5-5975-20 + - 6g-51-6205-40 + - 6g-53-6215-20 + - 6g-55-6225-80 + - 6g-57-6235-20 + - 6g-59-6245-40 + - 6g-61-6255-20 + - 6g-65-6275-20 + - 6g-67-6285-40 + - 6g-69-6295-20 + - 6g-7-5985-80 + - 6g-71-6305-80 + - 6g-73-6315-20 + - 6g-75-6325-40 + - 6g-77-6335-20 + - 6g-79-6345-160 + - 6g-81-6355-20 + - 6g-83-6365-40 + - 6g-85-6375-20 + - 6g-87-6385-80 + - 6g-89-6395-20 + - 6g-9-5995-20 + - 6g-91-6405-40 + - 6g-93-6415-20 + - 6g-95-6425-320 + - 6g-97-6435-20 + - 6g-99-6445-40 + description: '* `2.4g-1-2412-22` - 1 (2412 MHz) + + * `2.4g-2-2417-22` - 2 (2417 MHz) + + * `2.4g-3-2422-22` - 3 (2422 MHz) + + * `2.4g-4-2427-22` - 4 (2427 MHz) + + * `2.4g-5-2432-22` - 5 (2432 MHz) + + * `2.4g-6-2437-22` - 6 (2437 MHz) + + * `2.4g-7-2442-22` - 7 (2442 MHz) + + * `2.4g-8-2447-22` - 8 (2447 MHz) + + * `2.4g-9-2452-22` - 9 (2452 MHz) + + * `2.4g-10-2457-22` - 10 (2457 MHz) + + * `2.4g-11-2462-22` - 11 (2462 MHz) + + * `2.4g-12-2467-22` - 12 (2467 MHz) + + * `2.4g-13-2472-22` - 13 (2472 MHz) + + * `5g-32-5160-20` - 32 (5160/20 MHz) + + * `5g-34-5170-40` - 34 (5170/40 MHz) + + * `5g-36-5180-20` - 36 (5180/20 MHz) + + * `5g-38-5190-40` - 38 (5190/40 MHz) + + * `5g-40-5200-20` - 40 (5200/20 MHz) + + * `5g-42-5210-80` - 42 (5210/80 MHz) + + * `5g-44-5220-20` - 44 (5220/20 MHz) + + * `5g-46-5230-40` - 46 (5230/40 MHz) + + * `5g-48-5240-20` - 48 (5240/20 MHz) + + * `5g-50-5250-160` - 50 (5250/160 MHz) + + * `5g-52-5260-20` - 52 (5260/20 MHz) + + * `5g-54-5270-40` - 54 (5270/40 MHz) + + * `5g-56-5280-20` - 56 (5280/20 MHz) + + * `5g-58-5290-80` - 58 (5290/80 MHz) + + * `5g-60-5300-20` - 60 (5300/20 MHz) + + * `5g-62-5310-40` - 62 (5310/40 MHz) + + * `5g-64-5320-20` - 64 (5320/20 MHz) + + * `5g-100-5500-20` - 100 (5500/20 MHz) + + * `5g-102-5510-40` - 102 (5510/40 MHz) + + * `5g-104-5520-20` - 104 (5520/20 MHz) + + * `5g-106-5530-80` - 106 (5530/80 MHz) + + * `5g-108-5540-20` - 108 (5540/20 MHz) + + * `5g-110-5550-40` - 110 (5550/40 MHz) + + * `5g-112-5560-20` - 112 (5560/20 MHz) + + * `5g-114-5570-160` - 114 (5570/160 MHz) + + * `5g-116-5580-20` - 116 (5580/20 MHz) + + * `5g-118-5590-40` - 118 (5590/40 MHz) + + * `5g-120-5600-20` - 120 (5600/20 MHz) + + * `5g-122-5610-80` - 122 (5610/80 MHz) + + * `5g-124-5620-20` - 124 (5620/20 MHz) + + * `5g-126-5630-40` - 126 (5630/40 MHz) + + * `5g-128-5640-20` - 128 (5640/20 MHz) + + * `5g-132-5660-20` - 132 (5660/20 MHz) + + * `5g-134-5670-40` - 134 (5670/40 MHz) + + * `5g-136-5680-20` - 136 (5680/20 MHz) + + * `5g-138-5690-80` - 138 (5690/80 MHz) + + * `5g-140-5700-20` - 140 (5700/20 MHz) + + * `5g-142-5710-40` - 142 (5710/40 MHz) + + * `5g-144-5720-20` - 144 (5720/20 MHz) + + * `5g-149-5745-20` - 149 (5745/20 MHz) + + * `5g-151-5755-40` - 151 (5755/40 MHz) + + * `5g-153-5765-20` - 153 (5765/20 MHz) + + * `5g-155-5775-80` - 155 (5775/80 MHz) + + * `5g-157-5785-20` - 157 (5785/20 MHz) + + * `5g-159-5795-40` - 159 (5795/40 MHz) + + * `5g-161-5805-20` - 161 (5805/20 MHz) + + * `5g-163-5815-160` - 163 (5815/160 MHz) + + * `5g-165-5825-20` - 165 (5825/20 MHz) + + * `5g-167-5835-40` - 167 (5835/40 MHz) + + * `5g-169-5845-20` - 169 (5845/20 MHz) + + * `5g-171-5855-80` - 171 (5855/80 MHz) + + * `5g-173-5865-20` - 173 (5865/20 MHz) + + * `5g-175-5875-40` - 175 (5875/40 MHz) + + * `5g-177-5885-20` - 177 (5885/20 MHz) + + * `6g-1-5955-20` - 1 (5955/20 MHz) + + * `6g-3-5965-40` - 3 (5965/40 MHz) + + * `6g-5-5975-20` - 5 (5975/20 MHz) + + * `6g-7-5985-80` - 7 (5985/80 MHz) + + * `6g-9-5995-20` - 9 (5995/20 MHz) + + * `6g-11-6005-40` - 11 (6005/40 MHz) + + * `6g-13-6015-20` - 13 (6015/20 MHz) + + * `6g-15-6025-160` - 15 (6025/160 MHz) + + * `6g-17-6035-20` - 17 (6035/20 MHz) + + * `6g-19-6045-40` - 19 (6045/40 MHz) + + * `6g-21-6055-20` - 21 (6055/20 MHz) + + * `6g-23-6065-80` - 23 (6065/80 MHz) + + * `6g-25-6075-20` - 25 (6075/20 MHz) + + * `6g-27-6085-40` - 27 (6085/40 MHz) + + * `6g-29-6095-20` - 29 (6095/20 MHz) + + * `6g-31-6105-320` - 31 (6105/320 MHz) + + * `6g-33-6115-20` - 33 (6115/20 MHz) + + * `6g-35-6125-40` - 35 (6125/40 MHz) + + * `6g-37-6135-20` - 37 (6135/20 MHz) + + * `6g-39-6145-80` - 39 (6145/80 MHz) + + * `6g-41-6155-20` - 41 (6155/20 MHz) + + * `6g-43-6165-40` - 43 (6165/40 MHz) + + * `6g-45-6175-20` - 45 (6175/20 MHz) + + * `6g-47-6185-160` - 47 (6185/160 MHz) + + * `6g-49-6195-20` - 49 (6195/20 MHz) + + * `6g-51-6205-40` - 51 (6205/40 MHz) + + * `6g-53-6215-20` - 53 (6215/20 MHz) + + * `6g-55-6225-80` - 55 (6225/80 MHz) + + * `6g-57-6235-20` - 57 (6235/20 MHz) + + * `6g-59-6245-40` - 59 (6245/40 MHz) + + * `6g-61-6255-20` - 61 (6255/20 MHz) + + * `6g-65-6275-20` - 65 (6275/20 MHz) + + * `6g-67-6285-40` - 67 (6285/40 MHz) + + * `6g-69-6295-20` - 69 (6295/20 MHz) + + * `6g-71-6305-80` - 71 (6305/80 MHz) + + * `6g-73-6315-20` - 73 (6315/20 MHz) + + * `6g-75-6325-40` - 75 (6325/40 MHz) + + * `6g-77-6335-20` - 77 (6335/20 MHz) + + * `6g-79-6345-160` - 79 (6345/160 MHz) + + * `6g-81-6355-20` - 81 (6355/20 MHz) + + * `6g-83-6365-40` - 83 (6365/40 MHz) + + * `6g-85-6375-20` - 85 (6375/20 MHz) + + * `6g-87-6385-80` - 87 (6385/80 MHz) + + * `6g-89-6395-20` - 89 (6395/20 MHz) + + * `6g-91-6405-40` - 91 (6405/40 MHz) + + * `6g-93-6415-20` - 93 (6415/20 MHz) + + * `6g-95-6425-320` - 95 (6425/320 MHz) + + * `6g-97-6435-20` - 97 (6435/20 MHz) + + * `6g-99-6445-40` - 99 (6445/40 MHz) + + * `6g-101-6455-20` - 101 (6455/20 MHz) + + * `6g-103-6465-80` - 103 (6465/80 MHz) + + * `6g-105-6475-20` - 105 (6475/20 MHz) + + * `6g-107-6485-40` - 107 (6485/40 MHz) + + * `6g-109-6495-20` - 109 (6495/20 MHz) + + * `6g-111-6505-160` - 111 (6505/160 MHz) + + * `6g-113-6515-20` - 113 (6515/20 MHz) + + * `6g-115-6525-40` - 115 (6525/40 MHz) + + * `6g-117-6535-20` - 117 (6535/20 MHz) + + * `6g-119-6545-80` - 119 (6545/80 MHz) + + * `6g-121-6555-20` - 121 (6555/20 MHz) + + * `6g-123-6565-40` - 123 (6565/40 MHz) + + * `6g-125-6575-20` - 125 (6575/20 MHz) + + * `6g-129-6595-20` - 129 (6595/20 MHz) + + * `6g-131-6605-40` - 131 (6605/40 MHz) + + * `6g-133-6615-20` - 133 (6615/20 MHz) + + * `6g-135-6625-80` - 135 (6625/80 MHz) + + * `6g-137-6635-20` - 137 (6635/20 MHz) + + * `6g-139-6645-40` - 139 (6645/40 MHz) + + * `6g-141-6655-20` - 141 (6655/20 MHz) + + * `6g-143-6665-160` - 143 (6665/160 MHz) + + * `6g-145-6675-20` - 145 (6675/20 MHz) + + * `6g-147-6685-40` - 147 (6685/40 MHz) + + * `6g-149-6695-20` - 149 (6695/20 MHz) + + * `6g-151-6705-80` - 151 (6705/80 MHz) + + * `6g-153-6715-20` - 153 (6715/20 MHz) + + * `6g-155-6725-40` - 155 (6725/40 MHz) + + * `6g-157-6735-20` - 157 (6735/20 MHz) + + * `6g-159-6745-320` - 159 (6745/320 MHz) + + * `6g-161-6755-20` - 161 (6755/20 MHz) + + * `6g-163-6765-40` - 163 (6765/40 MHz) + + * `6g-165-6775-20` - 165 (6775/20 MHz) + + * `6g-167-6785-80` - 167 (6785/80 MHz) + + * `6g-169-6795-20` - 169 (6795/20 MHz) + + * `6g-171-6805-40` - 171 (6805/40 MHz) + + * `6g-173-6815-20` - 173 (6815/20 MHz) + + * `6g-175-6825-160` - 175 (6825/160 MHz) + + * `6g-177-6835-20` - 177 (6835/20 MHz) + + * `6g-179-6845-40` - 179 (6845/40 MHz) + + * `6g-181-6855-20` - 181 (6855/20 MHz) + + * `6g-183-6865-80` - 183 (6865/80 MHz) + + * `6g-185-6875-20` - 185 (6875/20 MHz) + + * `6g-187-6885-40` - 187 (6885/40 MHz) + + * `6g-189-6895-20` - 189 (6895/20 MHz) + + * `6g-193-6915-20` - 193 (6915/20 MHz) + + * `6g-195-6925-40` - 195 (6925/40 MHz) + + * `6g-197-6935-20` - 197 (6935/20 MHz) + + * `6g-199-6945-80` - 199 (6945/80 MHz) + + * `6g-201-6955-20` - 201 (6955/20 MHz) + + * `6g-203-6965-40` - 203 (6965/40 MHz) + + * `6g-205-6975-20` - 205 (6975/20 MHz) + + * `6g-207-6985-160` - 207 (6985/160 MHz) + + * `6g-209-6995-20` - 209 (6995/20 MHz) + + * `6g-211-7005-40` - 211 (7005/40 MHz) + + * `6g-213-7015-20` - 213 (7015/20 MHz) + + * `6g-215-7025-80` - 215 (7025/80 MHz) + + * `6g-217-7035-20` - 217 (7035/20 MHz) + + * `6g-219-7045-40` - 219 (7045/40 MHz) + + * `6g-221-7055-20` - 221 (7055/20 MHz) + + * `6g-225-7075-20` - 225 (7075/20 MHz) + + * `6g-227-7085-40` - 227 (7085/40 MHz) + + * `6g-229-7095-20` - 229 (7095/20 MHz) + + * `6g-233-7115-20` - 233 (7115/20 MHz) + + * `60g-1-58320-2160` - 1 (58.32/2.16 GHz) + + * `60g-2-60480-2160` - 2 (60.48/2.16 GHz) + + * `60g-3-62640-2160` - 3 (62.64/2.16 GHz) + + * `60g-4-64800-2160` - 4 (64.80/2.16 GHz) + + * `60g-5-66960-2160` - 5 (66.96/2.16 GHz) + + * `60g-6-69120-2160` - 6 (69.12/2.16 GHz) + + * `60g-9-59400-4320` - 9 (59.40/4.32 GHz) + + * `60g-10-61560-4320` - 10 (61.56/4.32 GHz) + + * `60g-11-63720-4320` - 11 (63.72/4.32 GHz) + + * `60g-12-65880-4320` - 12 (65.88/4.32 GHz) + + * `60g-13-68040-4320` - 13 (68.04/4.32 GHz) + + * `60g-17-60480-6480` - 17 (60.48/6.48 GHz) + + * `60g-18-62640-6480` - 18 (62.64/6.48 GHz) + + * `60g-19-64800-6480` - 19 (64.80/6.48 GHz) + + * `60g-20-66960-6480` - 20 (66.96/6.48 GHz) + + * `60g-25-61560-6480` - 25 (61.56/8.64 GHz) + + * `60g-26-63720-6480` - 26 (63.72/8.64 GHz) + + * `60g-27-65880-6480` - 27 (65.88/8.64 GHz)' explode: true style: form - in: query - name: id__lt + name: rf_channel__nie schema: type: array items: - type: integer - format: int32 + type: string + x-spec-enum-id: aac33cc237adc8f9 + title: Wireless channel + enum: + - '' + - 2.4g-1-2412-22 + - 2.4g-10-2457-22 + - 2.4g-11-2462-22 + - 2.4g-12-2467-22 + - 2.4g-13-2472-22 + - 2.4g-2-2417-22 + - 2.4g-3-2422-22 + - 2.4g-4-2427-22 + - 2.4g-5-2432-22 + - 2.4g-6-2437-22 + - 2.4g-7-2442-22 + - 2.4g-8-2447-22 + - 2.4g-9-2452-22 + - 5g-100-5500-20 + - 5g-102-5510-40 + - 5g-104-5520-20 + - 5g-106-5530-80 + - 5g-108-5540-20 + - 5g-110-5550-40 + - 5g-112-5560-20 + - 5g-114-5570-160 + - 5g-116-5580-20 + - 5g-118-5590-40 + - 5g-120-5600-20 + - 5g-122-5610-80 + - 5g-124-5620-20 + - 5g-126-5630-40 + - 5g-128-5640-20 + - 5g-132-5660-20 + - 5g-134-5670-40 + - 5g-136-5680-20 + - 5g-138-5690-80 + - 5g-140-5700-20 + - 5g-142-5710-40 + - 5g-144-5720-20 + - 5g-149-5745-20 + - 5g-151-5755-40 + - 5g-153-5765-20 + - 5g-155-5775-80 + - 5g-157-5785-20 + - 5g-159-5795-40 + - 5g-161-5805-20 + - 5g-163-5815-160 + - 5g-165-5825-20 + - 5g-167-5835-40 + - 5g-169-5845-20 + - 5g-171-5855-80 + - 5g-173-5865-20 + - 5g-175-5875-40 + - 5g-177-5885-20 + - 5g-32-5160-20 + - 5g-34-5170-40 + - 5g-36-5180-20 + - 5g-38-5190-40 + - 5g-40-5200-20 + - 5g-42-5210-80 + - 5g-44-5220-20 + - 5g-46-5230-40 + - 5g-48-5240-20 + - 5g-50-5250-160 + - 5g-52-5260-20 + - 5g-54-5270-40 + - 5g-56-5280-20 + - 5g-58-5290-80 + - 5g-60-5300-20 + - 5g-62-5310-40 + - 5g-64-5320-20 + - 60g-1-58320-2160 + - 60g-10-61560-4320 + - 60g-11-63720-4320 + - 60g-12-65880-4320 + - 60g-13-68040-4320 + - 60g-17-60480-6480 + - 60g-18-62640-6480 + - 60g-19-64800-6480 + - 60g-2-60480-2160 + - 60g-20-66960-6480 + - 60g-25-61560-6480 + - 60g-26-63720-6480 + - 60g-27-65880-6480 + - 60g-3-62640-2160 + - 60g-4-64800-2160 + - 60g-5-66960-2160 + - 60g-6-69120-2160 + - 60g-9-59400-4320 + - 6g-1-5955-20 + - 6g-101-6455-20 + - 6g-103-6465-80 + - 6g-105-6475-20 + - 6g-107-6485-40 + - 6g-109-6495-20 + - 6g-11-6005-40 + - 6g-111-6505-160 + - 6g-113-6515-20 + - 6g-115-6525-40 + - 6g-117-6535-20 + - 6g-119-6545-80 + - 6g-121-6555-20 + - 6g-123-6565-40 + - 6g-125-6575-20 + - 6g-129-6595-20 + - 6g-13-6015-20 + - 6g-131-6605-40 + - 6g-133-6615-20 + - 6g-135-6625-80 + - 6g-137-6635-20 + - 6g-139-6645-40 + - 6g-141-6655-20 + - 6g-143-6665-160 + - 6g-145-6675-20 + - 6g-147-6685-40 + - 6g-149-6695-20 + - 6g-15-6025-160 + - 6g-151-6705-80 + - 6g-153-6715-20 + - 6g-155-6725-40 + - 6g-157-6735-20 + - 6g-159-6745-320 + - 6g-161-6755-20 + - 6g-163-6765-40 + - 6g-165-6775-20 + - 6g-167-6785-80 + - 6g-169-6795-20 + - 6g-17-6035-20 + - 6g-171-6805-40 + - 6g-173-6815-20 + - 6g-175-6825-160 + - 6g-177-6835-20 + - 6g-179-6845-40 + - 6g-181-6855-20 + - 6g-183-6865-80 + - 6g-185-6875-20 + - 6g-187-6885-40 + - 6g-189-6895-20 + - 6g-19-6045-40 + - 6g-193-6915-20 + - 6g-195-6925-40 + - 6g-197-6935-20 + - 6g-199-6945-80 + - 6g-201-6955-20 + - 6g-203-6965-40 + - 6g-205-6975-20 + - 6g-207-6985-160 + - 6g-209-6995-20 + - 6g-21-6055-20 + - 6g-211-7005-40 + - 6g-213-7015-20 + - 6g-215-7025-80 + - 6g-217-7035-20 + - 6g-219-7045-40 + - 6g-221-7055-20 + - 6g-225-7075-20 + - 6g-227-7085-40 + - 6g-229-7095-20 + - 6g-23-6065-80 + - 6g-233-7115-20 + - 6g-25-6075-20 + - 6g-27-6085-40 + - 6g-29-6095-20 + - 6g-3-5965-40 + - 6g-31-6105-320 + - 6g-33-6115-20 + - 6g-35-6125-40 + - 6g-37-6135-20 + - 6g-39-6145-80 + - 6g-41-6155-20 + - 6g-43-6165-40 + - 6g-45-6175-20 + - 6g-47-6185-160 + - 6g-49-6195-20 + - 6g-5-5975-20 + - 6g-51-6205-40 + - 6g-53-6215-20 + - 6g-55-6225-80 + - 6g-57-6235-20 + - 6g-59-6245-40 + - 6g-61-6255-20 + - 6g-65-6275-20 + - 6g-67-6285-40 + - 6g-69-6295-20 + - 6g-7-5985-80 + - 6g-71-6305-80 + - 6g-73-6315-20 + - 6g-75-6325-40 + - 6g-77-6335-20 + - 6g-79-6345-160 + - 6g-81-6355-20 + - 6g-83-6365-40 + - 6g-85-6375-20 + - 6g-87-6385-80 + - 6g-89-6395-20 + - 6g-9-5995-20 + - 6g-91-6405-40 + - 6g-93-6415-20 + - 6g-95-6425-320 + - 6g-97-6435-20 + - 6g-99-6445-40 + description: '* `2.4g-1-2412-22` - 1 (2412 MHz) + + * `2.4g-2-2417-22` - 2 (2417 MHz) + + * `2.4g-3-2422-22` - 3 (2422 MHz) + + * `2.4g-4-2427-22` - 4 (2427 MHz) + + * `2.4g-5-2432-22` - 5 (2432 MHz) + + * `2.4g-6-2437-22` - 6 (2437 MHz) + + * `2.4g-7-2442-22` - 7 (2442 MHz) + + * `2.4g-8-2447-22` - 8 (2447 MHz) + + * `2.4g-9-2452-22` - 9 (2452 MHz) + + * `2.4g-10-2457-22` - 10 (2457 MHz) + + * `2.4g-11-2462-22` - 11 (2462 MHz) + + * `2.4g-12-2467-22` - 12 (2467 MHz) + + * `2.4g-13-2472-22` - 13 (2472 MHz) + + * `5g-32-5160-20` - 32 (5160/20 MHz) + + * `5g-34-5170-40` - 34 (5170/40 MHz) + + * `5g-36-5180-20` - 36 (5180/20 MHz) + + * `5g-38-5190-40` - 38 (5190/40 MHz) + + * `5g-40-5200-20` - 40 (5200/20 MHz) + + * `5g-42-5210-80` - 42 (5210/80 MHz) + + * `5g-44-5220-20` - 44 (5220/20 MHz) + + * `5g-46-5230-40` - 46 (5230/40 MHz) + + * `5g-48-5240-20` - 48 (5240/20 MHz) + + * `5g-50-5250-160` - 50 (5250/160 MHz) + + * `5g-52-5260-20` - 52 (5260/20 MHz) + + * `5g-54-5270-40` - 54 (5270/40 MHz) + + * `5g-56-5280-20` - 56 (5280/20 MHz) + + * `5g-58-5290-80` - 58 (5290/80 MHz) + + * `5g-60-5300-20` - 60 (5300/20 MHz) + + * `5g-62-5310-40` - 62 (5310/40 MHz) + + * `5g-64-5320-20` - 64 (5320/20 MHz) + + * `5g-100-5500-20` - 100 (5500/20 MHz) + + * `5g-102-5510-40` - 102 (5510/40 MHz) + + * `5g-104-5520-20` - 104 (5520/20 MHz) + + * `5g-106-5530-80` - 106 (5530/80 MHz) + + * `5g-108-5540-20` - 108 (5540/20 MHz) + + * `5g-110-5550-40` - 110 (5550/40 MHz) + + * `5g-112-5560-20` - 112 (5560/20 MHz) + + * `5g-114-5570-160` - 114 (5570/160 MHz) + + * `5g-116-5580-20` - 116 (5580/20 MHz) + + * `5g-118-5590-40` - 118 (5590/40 MHz) + + * `5g-120-5600-20` - 120 (5600/20 MHz) + + * `5g-122-5610-80` - 122 (5610/80 MHz) + + * `5g-124-5620-20` - 124 (5620/20 MHz) + + * `5g-126-5630-40` - 126 (5630/40 MHz) + + * `5g-128-5640-20` - 128 (5640/20 MHz) + + * `5g-132-5660-20` - 132 (5660/20 MHz) + + * `5g-134-5670-40` - 134 (5670/40 MHz) + + * `5g-136-5680-20` - 136 (5680/20 MHz) + + * `5g-138-5690-80` - 138 (5690/80 MHz) + + * `5g-140-5700-20` - 140 (5700/20 MHz) + + * `5g-142-5710-40` - 142 (5710/40 MHz) + + * `5g-144-5720-20` - 144 (5720/20 MHz) + + * `5g-149-5745-20` - 149 (5745/20 MHz) + + * `5g-151-5755-40` - 151 (5755/40 MHz) + + * `5g-153-5765-20` - 153 (5765/20 MHz) + + * `5g-155-5775-80` - 155 (5775/80 MHz) + + * `5g-157-5785-20` - 157 (5785/20 MHz) + + * `5g-159-5795-40` - 159 (5795/40 MHz) + + * `5g-161-5805-20` - 161 (5805/20 MHz) + + * `5g-163-5815-160` - 163 (5815/160 MHz) + + * `5g-165-5825-20` - 165 (5825/20 MHz) + + * `5g-167-5835-40` - 167 (5835/40 MHz) + + * `5g-169-5845-20` - 169 (5845/20 MHz) + + * `5g-171-5855-80` - 171 (5855/80 MHz) + + * `5g-173-5865-20` - 173 (5865/20 MHz) + + * `5g-175-5875-40` - 175 (5875/40 MHz) + + * `5g-177-5885-20` - 177 (5885/20 MHz) + + * `6g-1-5955-20` - 1 (5955/20 MHz) + + * `6g-3-5965-40` - 3 (5965/40 MHz) + + * `6g-5-5975-20` - 5 (5975/20 MHz) + + * `6g-7-5985-80` - 7 (5985/80 MHz) + + * `6g-9-5995-20` - 9 (5995/20 MHz) + + * `6g-11-6005-40` - 11 (6005/40 MHz) + + * `6g-13-6015-20` - 13 (6015/20 MHz) + + * `6g-15-6025-160` - 15 (6025/160 MHz) + + * `6g-17-6035-20` - 17 (6035/20 MHz) + + * `6g-19-6045-40` - 19 (6045/40 MHz) + + * `6g-21-6055-20` - 21 (6055/20 MHz) + + * `6g-23-6065-80` - 23 (6065/80 MHz) + + * `6g-25-6075-20` - 25 (6075/20 MHz) + + * `6g-27-6085-40` - 27 (6085/40 MHz) + + * `6g-29-6095-20` - 29 (6095/20 MHz) + + * `6g-31-6105-320` - 31 (6105/320 MHz) + + * `6g-33-6115-20` - 33 (6115/20 MHz) + + * `6g-35-6125-40` - 35 (6125/40 MHz) + + * `6g-37-6135-20` - 37 (6135/20 MHz) + + * `6g-39-6145-80` - 39 (6145/80 MHz) + + * `6g-41-6155-20` - 41 (6155/20 MHz) + + * `6g-43-6165-40` - 43 (6165/40 MHz) + + * `6g-45-6175-20` - 45 (6175/20 MHz) + + * `6g-47-6185-160` - 47 (6185/160 MHz) + + * `6g-49-6195-20` - 49 (6195/20 MHz) + + * `6g-51-6205-40` - 51 (6205/40 MHz) + + * `6g-53-6215-20` - 53 (6215/20 MHz) + + * `6g-55-6225-80` - 55 (6225/80 MHz) + + * `6g-57-6235-20` - 57 (6235/20 MHz) + + * `6g-59-6245-40` - 59 (6245/40 MHz) + + * `6g-61-6255-20` - 61 (6255/20 MHz) + + * `6g-65-6275-20` - 65 (6275/20 MHz) + + * `6g-67-6285-40` - 67 (6285/40 MHz) + + * `6g-69-6295-20` - 69 (6295/20 MHz) + + * `6g-71-6305-80` - 71 (6305/80 MHz) + + * `6g-73-6315-20` - 73 (6315/20 MHz) + + * `6g-75-6325-40` - 75 (6325/40 MHz) + + * `6g-77-6335-20` - 77 (6335/20 MHz) + + * `6g-79-6345-160` - 79 (6345/160 MHz) + + * `6g-81-6355-20` - 81 (6355/20 MHz) + + * `6g-83-6365-40` - 83 (6365/40 MHz) + + * `6g-85-6375-20` - 85 (6375/20 MHz) + + * `6g-87-6385-80` - 87 (6385/80 MHz) + + * `6g-89-6395-20` - 89 (6395/20 MHz) + + * `6g-91-6405-40` - 91 (6405/40 MHz) + + * `6g-93-6415-20` - 93 (6415/20 MHz) + + * `6g-95-6425-320` - 95 (6425/320 MHz) + + * `6g-97-6435-20` - 97 (6435/20 MHz) + + * `6g-99-6445-40` - 99 (6445/40 MHz) + + * `6g-101-6455-20` - 101 (6455/20 MHz) + + * `6g-103-6465-80` - 103 (6465/80 MHz) + + * `6g-105-6475-20` - 105 (6475/20 MHz) + + * `6g-107-6485-40` - 107 (6485/40 MHz) + + * `6g-109-6495-20` - 109 (6495/20 MHz) + + * `6g-111-6505-160` - 111 (6505/160 MHz) + + * `6g-113-6515-20` - 113 (6515/20 MHz) + + * `6g-115-6525-40` - 115 (6525/40 MHz) + + * `6g-117-6535-20` - 117 (6535/20 MHz) + + * `6g-119-6545-80` - 119 (6545/80 MHz) + + * `6g-121-6555-20` - 121 (6555/20 MHz) + + * `6g-123-6565-40` - 123 (6565/40 MHz) + + * `6g-125-6575-20` - 125 (6575/20 MHz) + + * `6g-129-6595-20` - 129 (6595/20 MHz) + + * `6g-131-6605-40` - 131 (6605/40 MHz) + + * `6g-133-6615-20` - 133 (6615/20 MHz) + + * `6g-135-6625-80` - 135 (6625/80 MHz) + + * `6g-137-6635-20` - 137 (6635/20 MHz) + + * `6g-139-6645-40` - 139 (6645/40 MHz) + + * `6g-141-6655-20` - 141 (6655/20 MHz) + + * `6g-143-6665-160` - 143 (6665/160 MHz) + + * `6g-145-6675-20` - 145 (6675/20 MHz) + + * `6g-147-6685-40` - 147 (6685/40 MHz) + + * `6g-149-6695-20` - 149 (6695/20 MHz) + + * `6g-151-6705-80` - 151 (6705/80 MHz) + + * `6g-153-6715-20` - 153 (6715/20 MHz) + + * `6g-155-6725-40` - 155 (6725/40 MHz) + + * `6g-157-6735-20` - 157 (6735/20 MHz) + + * `6g-159-6745-320` - 159 (6745/320 MHz) + + * `6g-161-6755-20` - 161 (6755/20 MHz) + + * `6g-163-6765-40` - 163 (6765/40 MHz) + + * `6g-165-6775-20` - 165 (6775/20 MHz) + + * `6g-167-6785-80` - 167 (6785/80 MHz) + + * `6g-169-6795-20` - 169 (6795/20 MHz) + + * `6g-171-6805-40` - 171 (6805/40 MHz) + + * `6g-173-6815-20` - 173 (6815/20 MHz) + + * `6g-175-6825-160` - 175 (6825/160 MHz) + + * `6g-177-6835-20` - 177 (6835/20 MHz) + + * `6g-179-6845-40` - 179 (6845/40 MHz) + + * `6g-181-6855-20` - 181 (6855/20 MHz) + + * `6g-183-6865-80` - 183 (6865/80 MHz) + + * `6g-185-6875-20` - 185 (6875/20 MHz) + + * `6g-187-6885-40` - 187 (6885/40 MHz) + + * `6g-189-6895-20` - 189 (6895/20 MHz) + + * `6g-193-6915-20` - 193 (6915/20 MHz) + + * `6g-195-6925-40` - 195 (6925/40 MHz) + + * `6g-197-6935-20` - 197 (6935/20 MHz) + + * `6g-199-6945-80` - 199 (6945/80 MHz) + + * `6g-201-6955-20` - 201 (6955/20 MHz) + + * `6g-203-6965-40` - 203 (6965/40 MHz) + + * `6g-205-6975-20` - 205 (6975/20 MHz) + + * `6g-207-6985-160` - 207 (6985/160 MHz) + + * `6g-209-6995-20` - 209 (6995/20 MHz) + + * `6g-211-7005-40` - 211 (7005/40 MHz) + + * `6g-213-7015-20` - 213 (7015/20 MHz) + + * `6g-215-7025-80` - 215 (7025/80 MHz) + + * `6g-217-7035-20` - 217 (7035/20 MHz) + + * `6g-219-7045-40` - 219 (7045/40 MHz) + + * `6g-221-7055-20` - 221 (7055/20 MHz) + + * `6g-225-7075-20` - 225 (7075/20 MHz) + + * `6g-227-7085-40` - 227 (7085/40 MHz) + + * `6g-229-7095-20` - 229 (7095/20 MHz) + + * `6g-233-7115-20` - 233 (7115/20 MHz) + + * `60g-1-58320-2160` - 1 (58.32/2.16 GHz) + + * `60g-2-60480-2160` - 2 (60.48/2.16 GHz) + + * `60g-3-62640-2160` - 3 (62.64/2.16 GHz) + + * `60g-4-64800-2160` - 4 (64.80/2.16 GHz) + + * `60g-5-66960-2160` - 5 (66.96/2.16 GHz) + + * `60g-6-69120-2160` - 6 (69.12/2.16 GHz) + + * `60g-9-59400-4320` - 9 (59.40/4.32 GHz) + + * `60g-10-61560-4320` - 10 (61.56/4.32 GHz) + + * `60g-11-63720-4320` - 11 (63.72/4.32 GHz) + + * `60g-12-65880-4320` - 12 (65.88/4.32 GHz) + + * `60g-13-68040-4320` - 13 (68.04/4.32 GHz) + + * `60g-17-60480-6480` - 17 (60.48/6.48 GHz) + + * `60g-18-62640-6480` - 18 (62.64/6.48 GHz) + + * `60g-19-64800-6480` - 19 (64.80/6.48 GHz) + + * `60g-20-66960-6480` - 20 (66.96/6.48 GHz) + + * `60g-25-61560-6480` - 25 (61.56/8.64 GHz) + + * `60g-26-63720-6480` - 26 (63.72/8.64 GHz) + + * `60g-27-65880-6480` - 27 (65.88/8.64 GHz)' explode: true style: form - in: query - name: id__lte + name: rf_channel__niew schema: type: array items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: id__n - schema: - type: array - items: - type: integer - format: int32 + type: string + x-spec-enum-id: aac33cc237adc8f9 + title: Wireless channel + enum: + - '' + - 2.4g-1-2412-22 + - 2.4g-10-2457-22 + - 2.4g-11-2462-22 + - 2.4g-12-2467-22 + - 2.4g-13-2472-22 + - 2.4g-2-2417-22 + - 2.4g-3-2422-22 + - 2.4g-4-2427-22 + - 2.4g-5-2432-22 + - 2.4g-6-2437-22 + - 2.4g-7-2442-22 + - 2.4g-8-2447-22 + - 2.4g-9-2452-22 + - 5g-100-5500-20 + - 5g-102-5510-40 + - 5g-104-5520-20 + - 5g-106-5530-80 + - 5g-108-5540-20 + - 5g-110-5550-40 + - 5g-112-5560-20 + - 5g-114-5570-160 + - 5g-116-5580-20 + - 5g-118-5590-40 + - 5g-120-5600-20 + - 5g-122-5610-80 + - 5g-124-5620-20 + - 5g-126-5630-40 + - 5g-128-5640-20 + - 5g-132-5660-20 + - 5g-134-5670-40 + - 5g-136-5680-20 + - 5g-138-5690-80 + - 5g-140-5700-20 + - 5g-142-5710-40 + - 5g-144-5720-20 + - 5g-149-5745-20 + - 5g-151-5755-40 + - 5g-153-5765-20 + - 5g-155-5775-80 + - 5g-157-5785-20 + - 5g-159-5795-40 + - 5g-161-5805-20 + - 5g-163-5815-160 + - 5g-165-5825-20 + - 5g-167-5835-40 + - 5g-169-5845-20 + - 5g-171-5855-80 + - 5g-173-5865-20 + - 5g-175-5875-40 + - 5g-177-5885-20 + - 5g-32-5160-20 + - 5g-34-5170-40 + - 5g-36-5180-20 + - 5g-38-5190-40 + - 5g-40-5200-20 + - 5g-42-5210-80 + - 5g-44-5220-20 + - 5g-46-5230-40 + - 5g-48-5240-20 + - 5g-50-5250-160 + - 5g-52-5260-20 + - 5g-54-5270-40 + - 5g-56-5280-20 + - 5g-58-5290-80 + - 5g-60-5300-20 + - 5g-62-5310-40 + - 5g-64-5320-20 + - 60g-1-58320-2160 + - 60g-10-61560-4320 + - 60g-11-63720-4320 + - 60g-12-65880-4320 + - 60g-13-68040-4320 + - 60g-17-60480-6480 + - 60g-18-62640-6480 + - 60g-19-64800-6480 + - 60g-2-60480-2160 + - 60g-20-66960-6480 + - 60g-25-61560-6480 + - 60g-26-63720-6480 + - 60g-27-65880-6480 + - 60g-3-62640-2160 + - 60g-4-64800-2160 + - 60g-5-66960-2160 + - 60g-6-69120-2160 + - 60g-9-59400-4320 + - 6g-1-5955-20 + - 6g-101-6455-20 + - 6g-103-6465-80 + - 6g-105-6475-20 + - 6g-107-6485-40 + - 6g-109-6495-20 + - 6g-11-6005-40 + - 6g-111-6505-160 + - 6g-113-6515-20 + - 6g-115-6525-40 + - 6g-117-6535-20 + - 6g-119-6545-80 + - 6g-121-6555-20 + - 6g-123-6565-40 + - 6g-125-6575-20 + - 6g-129-6595-20 + - 6g-13-6015-20 + - 6g-131-6605-40 + - 6g-133-6615-20 + - 6g-135-6625-80 + - 6g-137-6635-20 + - 6g-139-6645-40 + - 6g-141-6655-20 + - 6g-143-6665-160 + - 6g-145-6675-20 + - 6g-147-6685-40 + - 6g-149-6695-20 + - 6g-15-6025-160 + - 6g-151-6705-80 + - 6g-153-6715-20 + - 6g-155-6725-40 + - 6g-157-6735-20 + - 6g-159-6745-320 + - 6g-161-6755-20 + - 6g-163-6765-40 + - 6g-165-6775-20 + - 6g-167-6785-80 + - 6g-169-6795-20 + - 6g-17-6035-20 + - 6g-171-6805-40 + - 6g-173-6815-20 + - 6g-175-6825-160 + - 6g-177-6835-20 + - 6g-179-6845-40 + - 6g-181-6855-20 + - 6g-183-6865-80 + - 6g-185-6875-20 + - 6g-187-6885-40 + - 6g-189-6895-20 + - 6g-19-6045-40 + - 6g-193-6915-20 + - 6g-195-6925-40 + - 6g-197-6935-20 + - 6g-199-6945-80 + - 6g-201-6955-20 + - 6g-203-6965-40 + - 6g-205-6975-20 + - 6g-207-6985-160 + - 6g-209-6995-20 + - 6g-21-6055-20 + - 6g-211-7005-40 + - 6g-213-7015-20 + - 6g-215-7025-80 + - 6g-217-7035-20 + - 6g-219-7045-40 + - 6g-221-7055-20 + - 6g-225-7075-20 + - 6g-227-7085-40 + - 6g-229-7095-20 + - 6g-23-6065-80 + - 6g-233-7115-20 + - 6g-25-6075-20 + - 6g-27-6085-40 + - 6g-29-6095-20 + - 6g-3-5965-40 + - 6g-31-6105-320 + - 6g-33-6115-20 + - 6g-35-6125-40 + - 6g-37-6135-20 + - 6g-39-6145-80 + - 6g-41-6155-20 + - 6g-43-6165-40 + - 6g-45-6175-20 + - 6g-47-6185-160 + - 6g-49-6195-20 + - 6g-5-5975-20 + - 6g-51-6205-40 + - 6g-53-6215-20 + - 6g-55-6225-80 + - 6g-57-6235-20 + - 6g-59-6245-40 + - 6g-61-6255-20 + - 6g-65-6275-20 + - 6g-67-6285-40 + - 6g-69-6295-20 + - 6g-7-5985-80 + - 6g-71-6305-80 + - 6g-73-6315-20 + - 6g-75-6325-40 + - 6g-77-6335-20 + - 6g-79-6345-160 + - 6g-81-6355-20 + - 6g-83-6365-40 + - 6g-85-6375-20 + - 6g-87-6385-80 + - 6g-89-6395-20 + - 6g-9-5995-20 + - 6g-91-6405-40 + - 6g-93-6415-20 + - 6g-95-6425-320 + - 6g-97-6435-20 + - 6g-99-6445-40 + description: '* `2.4g-1-2412-22` - 1 (2412 MHz) + + * `2.4g-2-2417-22` - 2 (2417 MHz) + + * `2.4g-3-2422-22` - 3 (2422 MHz) + + * `2.4g-4-2427-22` - 4 (2427 MHz) + + * `2.4g-5-2432-22` - 5 (2432 MHz) + + * `2.4g-6-2437-22` - 6 (2437 MHz) + + * `2.4g-7-2442-22` - 7 (2442 MHz) + + * `2.4g-8-2447-22` - 8 (2447 MHz) + + * `2.4g-9-2452-22` - 9 (2452 MHz) + + * `2.4g-10-2457-22` - 10 (2457 MHz) + + * `2.4g-11-2462-22` - 11 (2462 MHz) + + * `2.4g-12-2467-22` - 12 (2467 MHz) + + * `2.4g-13-2472-22` - 13 (2472 MHz) + + * `5g-32-5160-20` - 32 (5160/20 MHz) + + * `5g-34-5170-40` - 34 (5170/40 MHz) + + * `5g-36-5180-20` - 36 (5180/20 MHz) + + * `5g-38-5190-40` - 38 (5190/40 MHz) + + * `5g-40-5200-20` - 40 (5200/20 MHz) + + * `5g-42-5210-80` - 42 (5210/80 MHz) + + * `5g-44-5220-20` - 44 (5220/20 MHz) + + * `5g-46-5230-40` - 46 (5230/40 MHz) + + * `5g-48-5240-20` - 48 (5240/20 MHz) + + * `5g-50-5250-160` - 50 (5250/160 MHz) + + * `5g-52-5260-20` - 52 (5260/20 MHz) + + * `5g-54-5270-40` - 54 (5270/40 MHz) + + * `5g-56-5280-20` - 56 (5280/20 MHz) + + * `5g-58-5290-80` - 58 (5290/80 MHz) + + * `5g-60-5300-20` - 60 (5300/20 MHz) + + * `5g-62-5310-40` - 62 (5310/40 MHz) + + * `5g-64-5320-20` - 64 (5320/20 MHz) + + * `5g-100-5500-20` - 100 (5500/20 MHz) + + * `5g-102-5510-40` - 102 (5510/40 MHz) + + * `5g-104-5520-20` - 104 (5520/20 MHz) + + * `5g-106-5530-80` - 106 (5530/80 MHz) + + * `5g-108-5540-20` - 108 (5540/20 MHz) + + * `5g-110-5550-40` - 110 (5550/40 MHz) + + * `5g-112-5560-20` - 112 (5560/20 MHz) + + * `5g-114-5570-160` - 114 (5570/160 MHz) + + * `5g-116-5580-20` - 116 (5580/20 MHz) + + * `5g-118-5590-40` - 118 (5590/40 MHz) + + * `5g-120-5600-20` - 120 (5600/20 MHz) + + * `5g-122-5610-80` - 122 (5610/80 MHz) + + * `5g-124-5620-20` - 124 (5620/20 MHz) + + * `5g-126-5630-40` - 126 (5630/40 MHz) + + * `5g-128-5640-20` - 128 (5640/20 MHz) + + * `5g-132-5660-20` - 132 (5660/20 MHz) + + * `5g-134-5670-40` - 134 (5670/40 MHz) + + * `5g-136-5680-20` - 136 (5680/20 MHz) + + * `5g-138-5690-80` - 138 (5690/80 MHz) + + * `5g-140-5700-20` - 140 (5700/20 MHz) + + * `5g-142-5710-40` - 142 (5710/40 MHz) + + * `5g-144-5720-20` - 144 (5720/20 MHz) + + * `5g-149-5745-20` - 149 (5745/20 MHz) + + * `5g-151-5755-40` - 151 (5755/40 MHz) + + * `5g-153-5765-20` - 153 (5765/20 MHz) + + * `5g-155-5775-80` - 155 (5775/80 MHz) + + * `5g-157-5785-20` - 157 (5785/20 MHz) + + * `5g-159-5795-40` - 159 (5795/40 MHz) + + * `5g-161-5805-20` - 161 (5805/20 MHz) + + * `5g-163-5815-160` - 163 (5815/160 MHz) + + * `5g-165-5825-20` - 165 (5825/20 MHz) + + * `5g-167-5835-40` - 167 (5835/40 MHz) + + * `5g-169-5845-20` - 169 (5845/20 MHz) + + * `5g-171-5855-80` - 171 (5855/80 MHz) + + * `5g-173-5865-20` - 173 (5865/20 MHz) + + * `5g-175-5875-40` - 175 (5875/40 MHz) + + * `5g-177-5885-20` - 177 (5885/20 MHz) + + * `6g-1-5955-20` - 1 (5955/20 MHz) + + * `6g-3-5965-40` - 3 (5965/40 MHz) + + * `6g-5-5975-20` - 5 (5975/20 MHz) + + * `6g-7-5985-80` - 7 (5985/80 MHz) + + * `6g-9-5995-20` - 9 (5995/20 MHz) + + * `6g-11-6005-40` - 11 (6005/40 MHz) + + * `6g-13-6015-20` - 13 (6015/20 MHz) + + * `6g-15-6025-160` - 15 (6025/160 MHz) + + * `6g-17-6035-20` - 17 (6035/20 MHz) + + * `6g-19-6045-40` - 19 (6045/40 MHz) + + * `6g-21-6055-20` - 21 (6055/20 MHz) + + * `6g-23-6065-80` - 23 (6065/80 MHz) + + * `6g-25-6075-20` - 25 (6075/20 MHz) + + * `6g-27-6085-40` - 27 (6085/40 MHz) + + * `6g-29-6095-20` - 29 (6095/20 MHz) + + * `6g-31-6105-320` - 31 (6105/320 MHz) + + * `6g-33-6115-20` - 33 (6115/20 MHz) + + * `6g-35-6125-40` - 35 (6125/40 MHz) + + * `6g-37-6135-20` - 37 (6135/20 MHz) + + * `6g-39-6145-80` - 39 (6145/80 MHz) + + * `6g-41-6155-20` - 41 (6155/20 MHz) + + * `6g-43-6165-40` - 43 (6165/40 MHz) + + * `6g-45-6175-20` - 45 (6175/20 MHz) + + * `6g-47-6185-160` - 47 (6185/160 MHz) + + * `6g-49-6195-20` - 49 (6195/20 MHz) + + * `6g-51-6205-40` - 51 (6205/40 MHz) + + * `6g-53-6215-20` - 53 (6215/20 MHz) + + * `6g-55-6225-80` - 55 (6225/80 MHz) + + * `6g-57-6235-20` - 57 (6235/20 MHz) + + * `6g-59-6245-40` - 59 (6245/40 MHz) + + * `6g-61-6255-20` - 61 (6255/20 MHz) + + * `6g-65-6275-20` - 65 (6275/20 MHz) + + * `6g-67-6285-40` - 67 (6285/40 MHz) + + * `6g-69-6295-20` - 69 (6295/20 MHz) + + * `6g-71-6305-80` - 71 (6305/80 MHz) + + * `6g-73-6315-20` - 73 (6315/20 MHz) + + * `6g-75-6325-40` - 75 (6325/40 MHz) + + * `6g-77-6335-20` - 77 (6335/20 MHz) + + * `6g-79-6345-160` - 79 (6345/160 MHz) + + * `6g-81-6355-20` - 81 (6355/20 MHz) + + * `6g-83-6365-40` - 83 (6365/40 MHz) + + * `6g-85-6375-20` - 85 (6375/20 MHz) + + * `6g-87-6385-80` - 87 (6385/80 MHz) + + * `6g-89-6395-20` - 89 (6395/20 MHz) + + * `6g-91-6405-40` - 91 (6405/40 MHz) + + * `6g-93-6415-20` - 93 (6415/20 MHz) + + * `6g-95-6425-320` - 95 (6425/320 MHz) + + * `6g-97-6435-20` - 97 (6435/20 MHz) + + * `6g-99-6445-40` - 99 (6445/40 MHz) + + * `6g-101-6455-20` - 101 (6455/20 MHz) + + * `6g-103-6465-80` - 103 (6465/80 MHz) + + * `6g-105-6475-20` - 105 (6475/20 MHz) + + * `6g-107-6485-40` - 107 (6485/40 MHz) + + * `6g-109-6495-20` - 109 (6495/20 MHz) + + * `6g-111-6505-160` - 111 (6505/160 MHz) + + * `6g-113-6515-20` - 113 (6515/20 MHz) + + * `6g-115-6525-40` - 115 (6525/40 MHz) + + * `6g-117-6535-20` - 117 (6535/20 MHz) + + * `6g-119-6545-80` - 119 (6545/80 MHz) + + * `6g-121-6555-20` - 121 (6555/20 MHz) + + * `6g-123-6565-40` - 123 (6565/40 MHz) + + * `6g-125-6575-20` - 125 (6575/20 MHz) + + * `6g-129-6595-20` - 129 (6595/20 MHz) + + * `6g-131-6605-40` - 131 (6605/40 MHz) + + * `6g-133-6615-20` - 133 (6615/20 MHz) + + * `6g-135-6625-80` - 135 (6625/80 MHz) + + * `6g-137-6635-20` - 137 (6635/20 MHz) + + * `6g-139-6645-40` - 139 (6645/40 MHz) + + * `6g-141-6655-20` - 141 (6655/20 MHz) + + * `6g-143-6665-160` - 143 (6665/160 MHz) + + * `6g-145-6675-20` - 145 (6675/20 MHz) + + * `6g-147-6685-40` - 147 (6685/40 MHz) + + * `6g-149-6695-20` - 149 (6695/20 MHz) + + * `6g-151-6705-80` - 151 (6705/80 MHz) + + * `6g-153-6715-20` - 153 (6715/20 MHz) + + * `6g-155-6725-40` - 155 (6725/40 MHz) + + * `6g-157-6735-20` - 157 (6735/20 MHz) + + * `6g-159-6745-320` - 159 (6745/320 MHz) + + * `6g-161-6755-20` - 161 (6755/20 MHz) + + * `6g-163-6765-40` - 163 (6765/40 MHz) + + * `6g-165-6775-20` - 165 (6775/20 MHz) + + * `6g-167-6785-80` - 167 (6785/80 MHz) + + * `6g-169-6795-20` - 169 (6795/20 MHz) + + * `6g-171-6805-40` - 171 (6805/40 MHz) + + * `6g-173-6815-20` - 173 (6815/20 MHz) + + * `6g-175-6825-160` - 175 (6825/160 MHz) + + * `6g-177-6835-20` - 177 (6835/20 MHz) + + * `6g-179-6845-40` - 179 (6845/40 MHz) + + * `6g-181-6855-20` - 181 (6855/20 MHz) + + * `6g-183-6865-80` - 183 (6865/80 MHz) + + * `6g-185-6875-20` - 185 (6875/20 MHz) + + * `6g-187-6885-40` - 187 (6885/40 MHz) + + * `6g-189-6895-20` - 189 (6895/20 MHz) + + * `6g-193-6915-20` - 193 (6915/20 MHz) + + * `6g-195-6925-40` - 195 (6925/40 MHz) + + * `6g-197-6935-20` - 197 (6935/20 MHz) + + * `6g-199-6945-80` - 199 (6945/80 MHz) + + * `6g-201-6955-20` - 201 (6955/20 MHz) + + * `6g-203-6965-40` - 203 (6965/40 MHz) + + * `6g-205-6975-20` - 205 (6975/20 MHz) + + * `6g-207-6985-160` - 207 (6985/160 MHz) + + * `6g-209-6995-20` - 209 (6995/20 MHz) + + * `6g-211-7005-40` - 211 (7005/40 MHz) + + * `6g-213-7015-20` - 213 (7015/20 MHz) + + * `6g-215-7025-80` - 215 (7025/80 MHz) + + * `6g-217-7035-20` - 217 (7035/20 MHz) + + * `6g-219-7045-40` - 219 (7045/40 MHz) + + * `6g-221-7055-20` - 221 (7055/20 MHz) + + * `6g-225-7075-20` - 225 (7075/20 MHz) + + * `6g-227-7085-40` - 227 (7085/40 MHz) + + * `6g-229-7095-20` - 229 (7095/20 MHz) + + * `6g-233-7115-20` - 233 (7115/20 MHz) + + * `60g-1-58320-2160` - 1 (58.32/2.16 GHz) + + * `60g-2-60480-2160` - 2 (60.48/2.16 GHz) + + * `60g-3-62640-2160` - 3 (62.64/2.16 GHz) + + * `60g-4-64800-2160` - 4 (64.80/2.16 GHz) + + * `60g-5-66960-2160` - 5 (66.96/2.16 GHz) + + * `60g-6-69120-2160` - 6 (69.12/2.16 GHz) + + * `60g-9-59400-4320` - 9 (59.40/4.32 GHz) + + * `60g-10-61560-4320` - 10 (61.56/4.32 GHz) + + * `60g-11-63720-4320` - 11 (63.72/4.32 GHz) + + * `60g-12-65880-4320` - 12 (65.88/4.32 GHz) + + * `60g-13-68040-4320` - 13 (68.04/4.32 GHz) + + * `60g-17-60480-6480` - 17 (60.48/6.48 GHz) + + * `60g-18-62640-6480` - 18 (62.64/6.48 GHz) + + * `60g-19-64800-6480` - 19 (64.80/6.48 GHz) + + * `60g-20-66960-6480` - 20 (66.96/6.48 GHz) + + * `60g-25-61560-6480` - 25 (61.56/8.64 GHz) + + * `60g-26-63720-6480` - 26 (63.72/8.64 GHz) + + * `60g-27-65880-6480` - 27 (65.88/8.64 GHz)' explode: true style: form - in: query - name: last_updated + name: rf_channel__nisw schema: type: array items: type: string - format: date-time + x-spec-enum-id: aac33cc237adc8f9 + title: Wireless channel + enum: + - '' + - 2.4g-1-2412-22 + - 2.4g-10-2457-22 + - 2.4g-11-2462-22 + - 2.4g-12-2467-22 + - 2.4g-13-2472-22 + - 2.4g-2-2417-22 + - 2.4g-3-2422-22 + - 2.4g-4-2427-22 + - 2.4g-5-2432-22 + - 2.4g-6-2437-22 + - 2.4g-7-2442-22 + - 2.4g-8-2447-22 + - 2.4g-9-2452-22 + - 5g-100-5500-20 + - 5g-102-5510-40 + - 5g-104-5520-20 + - 5g-106-5530-80 + - 5g-108-5540-20 + - 5g-110-5550-40 + - 5g-112-5560-20 + - 5g-114-5570-160 + - 5g-116-5580-20 + - 5g-118-5590-40 + - 5g-120-5600-20 + - 5g-122-5610-80 + - 5g-124-5620-20 + - 5g-126-5630-40 + - 5g-128-5640-20 + - 5g-132-5660-20 + - 5g-134-5670-40 + - 5g-136-5680-20 + - 5g-138-5690-80 + - 5g-140-5700-20 + - 5g-142-5710-40 + - 5g-144-5720-20 + - 5g-149-5745-20 + - 5g-151-5755-40 + - 5g-153-5765-20 + - 5g-155-5775-80 + - 5g-157-5785-20 + - 5g-159-5795-40 + - 5g-161-5805-20 + - 5g-163-5815-160 + - 5g-165-5825-20 + - 5g-167-5835-40 + - 5g-169-5845-20 + - 5g-171-5855-80 + - 5g-173-5865-20 + - 5g-175-5875-40 + - 5g-177-5885-20 + - 5g-32-5160-20 + - 5g-34-5170-40 + - 5g-36-5180-20 + - 5g-38-5190-40 + - 5g-40-5200-20 + - 5g-42-5210-80 + - 5g-44-5220-20 + - 5g-46-5230-40 + - 5g-48-5240-20 + - 5g-50-5250-160 + - 5g-52-5260-20 + - 5g-54-5270-40 + - 5g-56-5280-20 + - 5g-58-5290-80 + - 5g-60-5300-20 + - 5g-62-5310-40 + - 5g-64-5320-20 + - 60g-1-58320-2160 + - 60g-10-61560-4320 + - 60g-11-63720-4320 + - 60g-12-65880-4320 + - 60g-13-68040-4320 + - 60g-17-60480-6480 + - 60g-18-62640-6480 + - 60g-19-64800-6480 + - 60g-2-60480-2160 + - 60g-20-66960-6480 + - 60g-25-61560-6480 + - 60g-26-63720-6480 + - 60g-27-65880-6480 + - 60g-3-62640-2160 + - 60g-4-64800-2160 + - 60g-5-66960-2160 + - 60g-6-69120-2160 + - 60g-9-59400-4320 + - 6g-1-5955-20 + - 6g-101-6455-20 + - 6g-103-6465-80 + - 6g-105-6475-20 + - 6g-107-6485-40 + - 6g-109-6495-20 + - 6g-11-6005-40 + - 6g-111-6505-160 + - 6g-113-6515-20 + - 6g-115-6525-40 + - 6g-117-6535-20 + - 6g-119-6545-80 + - 6g-121-6555-20 + - 6g-123-6565-40 + - 6g-125-6575-20 + - 6g-129-6595-20 + - 6g-13-6015-20 + - 6g-131-6605-40 + - 6g-133-6615-20 + - 6g-135-6625-80 + - 6g-137-6635-20 + - 6g-139-6645-40 + - 6g-141-6655-20 + - 6g-143-6665-160 + - 6g-145-6675-20 + - 6g-147-6685-40 + - 6g-149-6695-20 + - 6g-15-6025-160 + - 6g-151-6705-80 + - 6g-153-6715-20 + - 6g-155-6725-40 + - 6g-157-6735-20 + - 6g-159-6745-320 + - 6g-161-6755-20 + - 6g-163-6765-40 + - 6g-165-6775-20 + - 6g-167-6785-80 + - 6g-169-6795-20 + - 6g-17-6035-20 + - 6g-171-6805-40 + - 6g-173-6815-20 + - 6g-175-6825-160 + - 6g-177-6835-20 + - 6g-179-6845-40 + - 6g-181-6855-20 + - 6g-183-6865-80 + - 6g-185-6875-20 + - 6g-187-6885-40 + - 6g-189-6895-20 + - 6g-19-6045-40 + - 6g-193-6915-20 + - 6g-195-6925-40 + - 6g-197-6935-20 + - 6g-199-6945-80 + - 6g-201-6955-20 + - 6g-203-6965-40 + - 6g-205-6975-20 + - 6g-207-6985-160 + - 6g-209-6995-20 + - 6g-21-6055-20 + - 6g-211-7005-40 + - 6g-213-7015-20 + - 6g-215-7025-80 + - 6g-217-7035-20 + - 6g-219-7045-40 + - 6g-221-7055-20 + - 6g-225-7075-20 + - 6g-227-7085-40 + - 6g-229-7095-20 + - 6g-23-6065-80 + - 6g-233-7115-20 + - 6g-25-6075-20 + - 6g-27-6085-40 + - 6g-29-6095-20 + - 6g-3-5965-40 + - 6g-31-6105-320 + - 6g-33-6115-20 + - 6g-35-6125-40 + - 6g-37-6135-20 + - 6g-39-6145-80 + - 6g-41-6155-20 + - 6g-43-6165-40 + - 6g-45-6175-20 + - 6g-47-6185-160 + - 6g-49-6195-20 + - 6g-5-5975-20 + - 6g-51-6205-40 + - 6g-53-6215-20 + - 6g-55-6225-80 + - 6g-57-6235-20 + - 6g-59-6245-40 + - 6g-61-6255-20 + - 6g-65-6275-20 + - 6g-67-6285-40 + - 6g-69-6295-20 + - 6g-7-5985-80 + - 6g-71-6305-80 + - 6g-73-6315-20 + - 6g-75-6325-40 + - 6g-77-6335-20 + - 6g-79-6345-160 + - 6g-81-6355-20 + - 6g-83-6365-40 + - 6g-85-6375-20 + - 6g-87-6385-80 + - 6g-89-6395-20 + - 6g-9-5995-20 + - 6g-91-6405-40 + - 6g-93-6415-20 + - 6g-95-6425-320 + - 6g-97-6435-20 + - 6g-99-6445-40 + description: '* `2.4g-1-2412-22` - 1 (2412 MHz) + + * `2.4g-2-2417-22` - 2 (2417 MHz) + + * `2.4g-3-2422-22` - 3 (2422 MHz) + + * `2.4g-4-2427-22` - 4 (2427 MHz) + + * `2.4g-5-2432-22` - 5 (2432 MHz) + + * `2.4g-6-2437-22` - 6 (2437 MHz) + + * `2.4g-7-2442-22` - 7 (2442 MHz) + + * `2.4g-8-2447-22` - 8 (2447 MHz) + + * `2.4g-9-2452-22` - 9 (2452 MHz) + + * `2.4g-10-2457-22` - 10 (2457 MHz) + + * `2.4g-11-2462-22` - 11 (2462 MHz) + + * `2.4g-12-2467-22` - 12 (2467 MHz) + + * `2.4g-13-2472-22` - 13 (2472 MHz) + + * `5g-32-5160-20` - 32 (5160/20 MHz) + + * `5g-34-5170-40` - 34 (5170/40 MHz) + + * `5g-36-5180-20` - 36 (5180/20 MHz) + + * `5g-38-5190-40` - 38 (5190/40 MHz) + + * `5g-40-5200-20` - 40 (5200/20 MHz) + + * `5g-42-5210-80` - 42 (5210/80 MHz) + + * `5g-44-5220-20` - 44 (5220/20 MHz) + + * `5g-46-5230-40` - 46 (5230/40 MHz) + + * `5g-48-5240-20` - 48 (5240/20 MHz) + + * `5g-50-5250-160` - 50 (5250/160 MHz) + + * `5g-52-5260-20` - 52 (5260/20 MHz) + + * `5g-54-5270-40` - 54 (5270/40 MHz) + + * `5g-56-5280-20` - 56 (5280/20 MHz) + + * `5g-58-5290-80` - 58 (5290/80 MHz) + + * `5g-60-5300-20` - 60 (5300/20 MHz) + + * `5g-62-5310-40` - 62 (5310/40 MHz) + + * `5g-64-5320-20` - 64 (5320/20 MHz) + + * `5g-100-5500-20` - 100 (5500/20 MHz) + + * `5g-102-5510-40` - 102 (5510/40 MHz) + + * `5g-104-5520-20` - 104 (5520/20 MHz) + + * `5g-106-5530-80` - 106 (5530/80 MHz) + + * `5g-108-5540-20` - 108 (5540/20 MHz) + + * `5g-110-5550-40` - 110 (5550/40 MHz) + + * `5g-112-5560-20` - 112 (5560/20 MHz) + + * `5g-114-5570-160` - 114 (5570/160 MHz) + + * `5g-116-5580-20` - 116 (5580/20 MHz) + + * `5g-118-5590-40` - 118 (5590/40 MHz) + + * `5g-120-5600-20` - 120 (5600/20 MHz) + + * `5g-122-5610-80` - 122 (5610/80 MHz) + + * `5g-124-5620-20` - 124 (5620/20 MHz) + + * `5g-126-5630-40` - 126 (5630/40 MHz) + + * `5g-128-5640-20` - 128 (5640/20 MHz) + + * `5g-132-5660-20` - 132 (5660/20 MHz) + + * `5g-134-5670-40` - 134 (5670/40 MHz) + + * `5g-136-5680-20` - 136 (5680/20 MHz) + + * `5g-138-5690-80` - 138 (5690/80 MHz) + + * `5g-140-5700-20` - 140 (5700/20 MHz) + + * `5g-142-5710-40` - 142 (5710/40 MHz) + + * `5g-144-5720-20` - 144 (5720/20 MHz) + + * `5g-149-5745-20` - 149 (5745/20 MHz) + + * `5g-151-5755-40` - 151 (5755/40 MHz) + + * `5g-153-5765-20` - 153 (5765/20 MHz) + + * `5g-155-5775-80` - 155 (5775/80 MHz) + + * `5g-157-5785-20` - 157 (5785/20 MHz) + + * `5g-159-5795-40` - 159 (5795/40 MHz) + + * `5g-161-5805-20` - 161 (5805/20 MHz) + + * `5g-163-5815-160` - 163 (5815/160 MHz) + + * `5g-165-5825-20` - 165 (5825/20 MHz) + + * `5g-167-5835-40` - 167 (5835/40 MHz) + + * `5g-169-5845-20` - 169 (5845/20 MHz) + + * `5g-171-5855-80` - 171 (5855/80 MHz) + + * `5g-173-5865-20` - 173 (5865/20 MHz) + + * `5g-175-5875-40` - 175 (5875/40 MHz) + + * `5g-177-5885-20` - 177 (5885/20 MHz) + + * `6g-1-5955-20` - 1 (5955/20 MHz) + + * `6g-3-5965-40` - 3 (5965/40 MHz) + + * `6g-5-5975-20` - 5 (5975/20 MHz) + + * `6g-7-5985-80` - 7 (5985/80 MHz) + + * `6g-9-5995-20` - 9 (5995/20 MHz) + + * `6g-11-6005-40` - 11 (6005/40 MHz) + + * `6g-13-6015-20` - 13 (6015/20 MHz) + + * `6g-15-6025-160` - 15 (6025/160 MHz) + + * `6g-17-6035-20` - 17 (6035/20 MHz) + + * `6g-19-6045-40` - 19 (6045/40 MHz) + + * `6g-21-6055-20` - 21 (6055/20 MHz) + + * `6g-23-6065-80` - 23 (6065/80 MHz) + + * `6g-25-6075-20` - 25 (6075/20 MHz) + + * `6g-27-6085-40` - 27 (6085/40 MHz) + + * `6g-29-6095-20` - 29 (6095/20 MHz) + + * `6g-31-6105-320` - 31 (6105/320 MHz) + + * `6g-33-6115-20` - 33 (6115/20 MHz) + + * `6g-35-6125-40` - 35 (6125/40 MHz) + + * `6g-37-6135-20` - 37 (6135/20 MHz) + + * `6g-39-6145-80` - 39 (6145/80 MHz) + + * `6g-41-6155-20` - 41 (6155/20 MHz) + + * `6g-43-6165-40` - 43 (6165/40 MHz) + + * `6g-45-6175-20` - 45 (6175/20 MHz) + + * `6g-47-6185-160` - 47 (6185/160 MHz) + + * `6g-49-6195-20` - 49 (6195/20 MHz) + + * `6g-51-6205-40` - 51 (6205/40 MHz) + + * `6g-53-6215-20` - 53 (6215/20 MHz) + + * `6g-55-6225-80` - 55 (6225/80 MHz) + + * `6g-57-6235-20` - 57 (6235/20 MHz) + + * `6g-59-6245-40` - 59 (6245/40 MHz) + + * `6g-61-6255-20` - 61 (6255/20 MHz) + + * `6g-65-6275-20` - 65 (6275/20 MHz) + + * `6g-67-6285-40` - 67 (6285/40 MHz) + + * `6g-69-6295-20` - 69 (6295/20 MHz) + + * `6g-71-6305-80` - 71 (6305/80 MHz) + + * `6g-73-6315-20` - 73 (6315/20 MHz) + + * `6g-75-6325-40` - 75 (6325/40 MHz) + + * `6g-77-6335-20` - 77 (6335/20 MHz) + + * `6g-79-6345-160` - 79 (6345/160 MHz) + + * `6g-81-6355-20` - 81 (6355/20 MHz) + + * `6g-83-6365-40` - 83 (6365/40 MHz) + + * `6g-85-6375-20` - 85 (6375/20 MHz) + + * `6g-87-6385-80` - 87 (6385/80 MHz) + + * `6g-89-6395-20` - 89 (6395/20 MHz) + + * `6g-91-6405-40` - 91 (6405/40 MHz) + + * `6g-93-6415-20` - 93 (6415/20 MHz) + + * `6g-95-6425-320` - 95 (6425/320 MHz) + + * `6g-97-6435-20` - 97 (6435/20 MHz) + + * `6g-99-6445-40` - 99 (6445/40 MHz) + + * `6g-101-6455-20` - 101 (6455/20 MHz) + + * `6g-103-6465-80` - 103 (6465/80 MHz) + + * `6g-105-6475-20` - 105 (6475/20 MHz) + + * `6g-107-6485-40` - 107 (6485/40 MHz) + + * `6g-109-6495-20` - 109 (6495/20 MHz) + + * `6g-111-6505-160` - 111 (6505/160 MHz) + + * `6g-113-6515-20` - 113 (6515/20 MHz) + + * `6g-115-6525-40` - 115 (6525/40 MHz) + + * `6g-117-6535-20` - 117 (6535/20 MHz) + + * `6g-119-6545-80` - 119 (6545/80 MHz) + + * `6g-121-6555-20` - 121 (6555/20 MHz) + + * `6g-123-6565-40` - 123 (6565/40 MHz) + + * `6g-125-6575-20` - 125 (6575/20 MHz) + + * `6g-129-6595-20` - 129 (6595/20 MHz) + + * `6g-131-6605-40` - 131 (6605/40 MHz) + + * `6g-133-6615-20` - 133 (6615/20 MHz) + + * `6g-135-6625-80` - 135 (6625/80 MHz) + + * `6g-137-6635-20` - 137 (6635/20 MHz) + + * `6g-139-6645-40` - 139 (6645/40 MHz) + + * `6g-141-6655-20` - 141 (6655/20 MHz) + + * `6g-143-6665-160` - 143 (6665/160 MHz) + + * `6g-145-6675-20` - 145 (6675/20 MHz) + + * `6g-147-6685-40` - 147 (6685/40 MHz) + + * `6g-149-6695-20` - 149 (6695/20 MHz) + + * `6g-151-6705-80` - 151 (6705/80 MHz) + + * `6g-153-6715-20` - 153 (6715/20 MHz) + + * `6g-155-6725-40` - 155 (6725/40 MHz) + + * `6g-157-6735-20` - 157 (6735/20 MHz) + + * `6g-159-6745-320` - 159 (6745/320 MHz) + + * `6g-161-6755-20` - 161 (6755/20 MHz) + + * `6g-163-6765-40` - 163 (6765/40 MHz) + + * `6g-165-6775-20` - 165 (6775/20 MHz) + + * `6g-167-6785-80` - 167 (6785/80 MHz) + + * `6g-169-6795-20` - 169 (6795/20 MHz) + + * `6g-171-6805-40` - 171 (6805/40 MHz) + + * `6g-173-6815-20` - 173 (6815/20 MHz) + + * `6g-175-6825-160` - 175 (6825/160 MHz) + + * `6g-177-6835-20` - 177 (6835/20 MHz) + + * `6g-179-6845-40` - 179 (6845/40 MHz) + + * `6g-181-6855-20` - 181 (6855/20 MHz) + + * `6g-183-6865-80` - 183 (6865/80 MHz) + + * `6g-185-6875-20` - 185 (6875/20 MHz) + + * `6g-187-6885-40` - 187 (6885/40 MHz) + + * `6g-189-6895-20` - 189 (6895/20 MHz) + + * `6g-193-6915-20` - 193 (6915/20 MHz) + + * `6g-195-6925-40` - 195 (6925/40 MHz) + + * `6g-197-6935-20` - 197 (6935/20 MHz) + + * `6g-199-6945-80` - 199 (6945/80 MHz) + + * `6g-201-6955-20` - 201 (6955/20 MHz) + + * `6g-203-6965-40` - 203 (6965/40 MHz) + + * `6g-205-6975-20` - 205 (6975/20 MHz) + + * `6g-207-6985-160` - 207 (6985/160 MHz) + + * `6g-209-6995-20` - 209 (6995/20 MHz) + + * `6g-211-7005-40` - 211 (7005/40 MHz) + + * `6g-213-7015-20` - 213 (7015/20 MHz) + + * `6g-215-7025-80` - 215 (7025/80 MHz) + + * `6g-217-7035-20` - 217 (7035/20 MHz) + + * `6g-219-7045-40` - 219 (7045/40 MHz) + + * `6g-221-7055-20` - 221 (7055/20 MHz) + + * `6g-225-7075-20` - 225 (7075/20 MHz) + + * `6g-227-7085-40` - 227 (7085/40 MHz) + + * `6g-229-7095-20` - 229 (7095/20 MHz) + + * `6g-233-7115-20` - 233 (7115/20 MHz) + + * `60g-1-58320-2160` - 1 (58.32/2.16 GHz) + + * `60g-2-60480-2160` - 2 (60.48/2.16 GHz) + + * `60g-3-62640-2160` - 3 (62.64/2.16 GHz) + + * `60g-4-64800-2160` - 4 (64.80/2.16 GHz) + + * `60g-5-66960-2160` - 5 (66.96/2.16 GHz) + + * `60g-6-69120-2160` - 6 (69.12/2.16 GHz) + + * `60g-9-59400-4320` - 9 (59.40/4.32 GHz) + + * `60g-10-61560-4320` - 10 (61.56/4.32 GHz) + + * `60g-11-63720-4320` - 11 (63.72/4.32 GHz) + + * `60g-12-65880-4320` - 12 (65.88/4.32 GHz) + + * `60g-13-68040-4320` - 13 (68.04/4.32 GHz) + + * `60g-17-60480-6480` - 17 (60.48/6.48 GHz) + + * `60g-18-62640-6480` - 18 (62.64/6.48 GHz) + + * `60g-19-64800-6480` - 19 (64.80/6.48 GHz) + + * `60g-20-66960-6480` - 20 (66.96/6.48 GHz) + + * `60g-25-61560-6480` - 25 (61.56/8.64 GHz) + + * `60g-26-63720-6480` - 26 (63.72/8.64 GHz) + + * `60g-27-65880-6480` - 27 (65.88/8.64 GHz)' explode: true style: form - in: query - name: last_updated__empty + name: rf_channel_frequency schema: type: array items: - type: string - format: date-time + type: number + format: double explode: true style: form - in: query - name: last_updated__gt + name: rf_channel_frequency__empty + schema: + type: boolean + - in: query + name: rf_channel_frequency__gt schema: type: array items: - type: string - format: date-time + type: number + format: double explode: true style: form - in: query - name: last_updated__gte + name: rf_channel_frequency__gte schema: type: array items: - type: string - format: date-time + type: number + format: double explode: true style: form - in: query - name: last_updated__lt + name: rf_channel_frequency__lt schema: type: array items: - type: string - format: date-time + type: number + format: double explode: true style: form - in: query - name: last_updated__lte + name: rf_channel_frequency__lte schema: type: array items: - type: string - format: date-time + type: number + format: double explode: true style: form - in: query - name: last_updated__n + name: rf_channel_frequency__n schema: type: array items: - type: string - format: date-time + type: number + format: double explode: true style: form - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - in: query - name: modified_by_request - schema: - type: string - format: uuid - in: query - name: name + name: rf_channel_width schema: type: array items: - type: string + type: number + format: double explode: true style: form - in: query - name: name__empty + name: rf_channel_width__empty schema: type: boolean - in: query - name: name__ic + name: rf_channel_width__gt schema: type: array items: - type: string + type: number + format: double explode: true style: form - in: query - name: name__ie + name: rf_channel_width__gte schema: type: array items: - type: string + type: number + format: double explode: true style: form - in: query - name: name__iew + name: rf_channel_width__lt schema: type: array items: - type: string + type: number + format: double explode: true style: form - in: query - name: name__isw + name: rf_channel_width__lte schema: type: array items: - type: string + type: number + format: double explode: true style: form - in: query - name: name__n + name: rf_channel_width__n schema: type: array items: - type: string + type: number + format: double explode: true style: form - in: query - name: name__nic + name: rf_role schema: type: array items: type: string + x-spec-enum-id: d2772dbea88b0fb1 + title: Wireless role explode: true style: form - in: query - name: name__nie + name: rf_role__empty schema: - type: array - items: - type: string - explode: true - style: form + type: boolean - in: query - name: name__niew + name: rf_role__ic schema: type: array items: type: string + x-spec-enum-id: d2772dbea88b0fb1 + title: Wireless role + enum: + - '' + - ap + - station + description: '* `ap` - Access point + + * `station` - Station' explode: true style: form - in: query - name: name__nisw + name: rf_role__ie schema: type: array items: type: string + x-spec-enum-id: d2772dbea88b0fb1 + title: Wireless role + enum: + - '' + - ap + - station + description: '* `ap` - Access point + + * `station` - Station' explode: true style: form - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - in: query - name: parent + name: rf_role__iew schema: type: array items: type: string - description: Parent location (slug) + x-spec-enum-id: d2772dbea88b0fb1 + title: Wireless role + enum: + - '' + - ap + - station + description: '* `ap` - Access point + + * `station` - Station' explode: true style: form - in: query - name: parent__n + name: rf_role__isw schema: type: array items: type: string - description: Parent location (slug) - explode: true - style: form - - in: query - name: parent_id - schema: - type: array - items: - type: integer - nullable: true - description: Parent location (ID) + x-spec-enum-id: d2772dbea88b0fb1 + title: Wireless role + enum: + - '' + - ap + - station + description: '* `ap` - Access point + + * `station` - Station' explode: true style: form - in: query - name: parent_id__n + name: rf_role__n schema: type: array items: - type: integer - nullable: true - description: Parent location (ID) + type: string + x-spec-enum-id: d2772dbea88b0fb1 + title: Wireless role + enum: + - '' + - ap + - station + description: '* `ap` - Access point + + * `station` - Station' explode: true style: form - in: query - name: q - schema: - type: string - description: Search - - in: query - name: region + name: rf_role__nic schema: type: array items: - type: integer - description: Region (slug) + type: string + x-spec-enum-id: d2772dbea88b0fb1 + title: Wireless role + enum: + - '' + - ap + - station + description: '* `ap` - Access point + + * `station` - Station' explode: true style: form - in: query - name: region__n + name: rf_role__nie schema: type: array items: - type: integer - description: Region (slug) + type: string + x-spec-enum-id: d2772dbea88b0fb1 + title: Wireless role + enum: + - '' + - ap + - station + description: '* `ap` - Access point + + * `station` - Station' explode: true style: form - in: query - name: region_id + name: rf_role__niew schema: type: array items: - type: integer - description: Region (ID) + type: string + x-spec-enum-id: d2772dbea88b0fb1 + title: Wireless role + enum: + - '' + - ap + - station + description: '* `ap` - Access point + + * `station` - Station' explode: true style: form - in: query - name: region_id__n + name: rf_role__nisw schema: type: array items: - type: integer - description: Region (ID) + type: string + x-spec-enum-id: d2772dbea88b0fb1 + title: Wireless role + enum: + - '' + - ap + - station + description: '* `ap` - Access point + + * `station` - Station' explode: true style: form - in: query @@ -29005,7 +43462,7 @@ paths: type: array items: type: string - description: Site (slug) + description: Site name (slug) explode: true style: form - in: query @@ -29014,7 +43471,7 @@ paths: type: array items: type: string - description: Site (slug) + description: Site name (slug) explode: true style: form - in: query @@ -29022,8 +43479,7 @@ paths: schema: type: array items: - type: integer - description: Site group (slug) + type: string explode: true style: form - in: query @@ -29031,8 +43487,7 @@ paths: schema: type: array items: - type: integer - description: Site group (slug) + type: string explode: true style: form - in: query @@ -29040,8 +43495,7 @@ paths: schema: type: array items: - type: integer - description: Site group (ID) + type: string explode: true style: form - in: query @@ -29049,8 +43503,7 @@ paths: schema: type: array items: - type: integer - description: Site group (ID) + type: string explode: true style: form - in: query @@ -29072,890 +43525,3927 @@ paths: explode: true style: form - in: query - name: slug - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__empty - schema: - type: boolean - - in: query - name: slug__ic - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__ie - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__iew + name: speed schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: slug__isw + name: speed__empty schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: slug__n + name: speed__gt schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: slug__nic + name: speed__gte schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: slug__nie + name: speed__lt schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: slug__niew + name: speed__lte schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: slug__nisw + name: speed__n schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: status + name: tag schema: type: array items: type: string - x-spec-enum-id: e363a8ddb138be50 explode: true style: form - in: query - name: status__n + name: tag__n schema: type: array items: type: string - x-spec-enum-id: e363a8ddb138be50 explode: true style: form - in: query - name: tag + name: tx_power schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: tag__n + name: tx_power__empty schema: - type: array - items: - type: string - explode: true - style: form + type: boolean - in: query - name: tenant + name: tx_power__gt schema: type: array items: - type: string - description: Tenant (slug) + type: integer + format: int32 explode: true style: form - in: query - name: tenant__n + name: tx_power__gte schema: type: array items: - type: string - description: Tenant (slug) + type: integer + format: int32 explode: true style: form - in: query - name: tenant_group + name: tx_power__lt schema: type: array items: type: integer - description: Tenant Group (slug) + format: int32 explode: true style: form - in: query - name: tenant_group__n + name: tx_power__lte schema: type: array items: type: integer - description: Tenant Group (slug) + format: int32 explode: true style: form - in: query - name: tenant_group_id + name: tx_power__n schema: type: array items: type: integer - description: Tenant Group (ID) + format: int32 explode: true style: form - in: query - name: tenant_group_id__n + name: type schema: type: array items: - type: integer - description: Tenant Group (ID) + type: string + x-spec-enum-id: 56365107f9c2326f + explode: true + style: form + - in: query + name: type__empty + schema: + type: boolean + - in: query + name: type__ic + schema: + type: array + items: + type: string + x-spec-enum-id: 56365107f9c2326f + enum: + - 1000base-kx + - 1000base-t + - 1000base-tx + - 1000base-x-gbic + - 1000base-x-sfp + - 100base-fx + - 100base-lfx + - 100base-t1 + - 100base-tx + - 100base-x-sfp + - 100gbase-kp4 + - 100gbase-kr2 + - 100gbase-kr4 + - 100gbase-x-cfp + - 100gbase-x-cfp2 + - 100gbase-x-cfp4 + - 100gbase-x-cpak + - 100gbase-x-cxp + - 100gbase-x-dsfp + - 100gbase-x-qsfp28 + - 100gbase-x-qsfpdd + - 100gbase-x-sfpdd + - 10g-epon + - 10gbase-cx4 + - 10gbase-kr + - 10gbase-kx4 + - 10gbase-t + - 10gbase-x-sfpp + - 10gbase-x-x2 + - 10gbase-x-xenpak + - 10gbase-x-xfp + - 128gfc-qsfp28 + - 16gfc-sfpp + - 1gfc-sfp + - 2.5gbase-kx + - 2.5gbase-t + - 200gbase-x-cfp2 + - 200gbase-x-qsfp56 + - 200gbase-x-qsfpdd + - 25g-pon + - 25gbase-kr + - 25gbase-x-sfp28 + - 2gfc-sfp + - 32gfc-sfp28 + - 32gfc-sfpp + - 400gbase-x-cdfp + - 400gbase-x-cfp2 + - 400gbase-x-cfp8 + - 400gbase-x-osfp + - 400gbase-x-osfp-rhs + - 400gbase-x-qsfp112 + - 400gbase-x-qsfpdd + - 40gbase-kr4 + - 40gbase-x-qsfpp + - 4g + - 4gfc-sfp + - 50g-pon + - 50gbase-kr + - 50gbase-x-sfp28 + - 50gbase-x-sfp56 + - 5g + - 5gbase-kr + - 5gbase-t + - 64gfc-qsfpp + - 64gfc-sfpdd + - 64gfc-sfpp + - 800gbase-x-osfp + - 800gbase-x-qsfpdd + - 8gfc-sfpp + - bpon + - bridge + - cdma + - cisco-flexstack + - cisco-flexstack-plus + - cisco-stackwise + - cisco-stackwise-160 + - cisco-stackwise-1t + - cisco-stackwise-320 + - cisco-stackwise-480 + - cisco-stackwise-80 + - cisco-stackwise-plus + - docsis + - e1 + - e3 + - epon + - extreme-summitstack + - extreme-summitstack-128 + - extreme-summitstack-256 + - extreme-summitstack-512 + - gpon + - gsm + - ieee802.11a + - ieee802.11ac + - ieee802.11ad + - ieee802.11ax + - ieee802.11ay + - ieee802.11be + - ieee802.11g + - ieee802.11n + - ieee802.15.1 + - ieee802.15.4 + - infiniband-ddr + - infiniband-edr + - infiniband-fdr + - infiniband-fdr10 + - infiniband-hdr + - infiniband-ndr + - infiniband-qdr + - infiniband-sdr + - infiniband-xdr + - juniper-vcp + - lag + - lte + - ng-pon2 + - other + - other-wireless + - sonet-oc12 + - sonet-oc192 + - sonet-oc1920 + - sonet-oc3 + - sonet-oc3840 + - sonet-oc48 + - sonet-oc768 + - t1 + - t3 + - virtual + - xdsl + - xg-pon + - xgs-pon + description: '* `virtual` - Virtual + + * `bridge` - Bridge + + * `lag` - Link Aggregation Group (LAG) + + * `100base-fx` - 100BASE-FX (10/100ME FIBER) + + * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) + + * `100base-tx` - 100BASE-TX (10/100ME) + + * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) + + * `1000base-t` - 1000BASE-T (1GE) + + * `1000base-tx` - 1000BASE-TX (1GE) + + * `2.5gbase-t` - 2.5GBASE-T (2.5GE) + + * `5gbase-t` - 5GBASE-T (5GE) + + * `10gbase-t` - 10GBASE-T (10GE) + + * `10gbase-cx4` - 10GBASE-CX4 (10GE) + + * `100base-x-sfp` - SFP (100ME) + + * `1000base-x-gbic` - GBIC (1GE) + + * `1000base-x-sfp` - SFP (1GE) + + * `10gbase-x-sfpp` - SFP+ (10GE) + + * `10gbase-x-xfp` - XFP (10GE) + + * `10gbase-x-xenpak` - XENPAK (10GE) + + * `10gbase-x-x2` - X2 (10GE) + + * `25gbase-x-sfp28` - SFP28 (25GE) + + * `50gbase-x-sfp56` - SFP56 (50GE) + + * `40gbase-x-qsfpp` - QSFP+ (40GE) + + * `50gbase-x-sfp28` - QSFP28 (50GE) + + * `100gbase-x-cfp` - CFP (100GE) + + * `100gbase-x-cfp2` - CFP2 (100GE) + + * `200gbase-x-cfp2` - CFP2 (200GE) + + * `400gbase-x-cfp2` - CFP2 (400GE) + + * `100gbase-x-cfp4` - CFP4 (100GE) + + * `100gbase-x-cxp` - CXP (100GE) + + * `100gbase-x-cpak` - Cisco CPAK (100GE) + + * `100gbase-x-dsfp` - DSFP (100GE) + + * `100gbase-x-sfpdd` - SFP-DD (100GE) + + * `100gbase-x-qsfp28` - QSFP28 (100GE) + + * `100gbase-x-qsfpdd` - QSFP-DD (100GE) + + * `200gbase-x-qsfp56` - QSFP56 (200GE) + + * `200gbase-x-qsfpdd` - QSFP-DD (200GE) + + * `400gbase-x-qsfp112` - QSFP112 (400GE) + + * `400gbase-x-qsfpdd` - QSFP-DD (400GE) + + * `400gbase-x-osfp` - OSFP (400GE) + + * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) + + * `400gbase-x-cdfp` - CDFP (400GE) + + * `400gbase-x-cfp8` - CPF8 (400GE) + + * `800gbase-x-qsfpdd` - QSFP-DD (800GE) + + * `800gbase-x-osfp` - OSFP (800GE) + + * `1000base-kx` - 1000BASE-KX (1GE) + + * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) + + * `5gbase-kr` - 5GBASE-KR (5GE) + + * `10gbase-kr` - 10GBASE-KR (10GE) + + * `10gbase-kx4` - 10GBASE-KX4 (10GE) + + * `25gbase-kr` - 25GBASE-KR (25GE) + + * `40gbase-kr4` - 40GBASE-KR4 (40GE) + + * `50gbase-kr` - 50GBASE-KR (50GE) + + * `100gbase-kp4` - 100GBASE-KP4 (100GE) + + * `100gbase-kr2` - 100GBASE-KR2 (100GE) + + * `100gbase-kr4` - 100GBASE-KR4 (100GE) + + * `ieee802.11a` - IEEE 802.11a + + * `ieee802.11g` - IEEE 802.11b/g + + * `ieee802.11n` - IEEE 802.11n + + * `ieee802.11ac` - IEEE 802.11ac + + * `ieee802.11ad` - IEEE 802.11ad + + * `ieee802.11ax` - IEEE 802.11ax + + * `ieee802.11ay` - IEEE 802.11ay + + * `ieee802.11be` - IEEE 802.11be + + * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) + + * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) + + * `other-wireless` - Other (Wireless) + + * `gsm` - GSM + + * `cdma` - CDMA + + * `lte` - LTE + + * `4g` - 4G + + * `5g` - 5G + + * `sonet-oc3` - OC-3/STM-1 + + * `sonet-oc12` - OC-12/STM-4 + + * `sonet-oc48` - OC-48/STM-16 + + * `sonet-oc192` - OC-192/STM-64 + + * `sonet-oc768` - OC-768/STM-256 + + * `sonet-oc1920` - OC-1920/STM-640 + + * `sonet-oc3840` - OC-3840/STM-1234 + + * `1gfc-sfp` - SFP (1GFC) + + * `2gfc-sfp` - SFP (2GFC) + + * `4gfc-sfp` - SFP (4GFC) + + * `8gfc-sfpp` - SFP+ (8GFC) + + * `16gfc-sfpp` - SFP+ (16GFC) + + * `32gfc-sfp28` - SFP28 (32GFC) + + * `32gfc-sfpp` - SFP+ (32GFC) + + * `64gfc-qsfpp` - QSFP+ (64GFC) + + * `64gfc-sfpdd` - SFP-DD (64GFC) + + * `64gfc-sfpp` - SFP+ (64GFC) + + * `128gfc-qsfp28` - QSFP28 (128GFC) + + * `infiniband-sdr` - SDR (2 Gbps) + + * `infiniband-ddr` - DDR (4 Gbps) + + * `infiniband-qdr` - QDR (8 Gbps) + + * `infiniband-fdr10` - FDR10 (10 Gbps) + + * `infiniband-fdr` - FDR (13.5 Gbps) + + * `infiniband-edr` - EDR (25 Gbps) + + * `infiniband-hdr` - HDR (50 Gbps) + + * `infiniband-ndr` - NDR (100 Gbps) + + * `infiniband-xdr` - XDR (250 Gbps) + + * `t1` - T1 (1.544 Mbps) + + * `e1` - E1 (2.048 Mbps) + + * `t3` - T3 (45 Mbps) + + * `e3` - E3 (34 Mbps) + + * `xdsl` - xDSL + + * `docsis` - DOCSIS + + * `bpon` - BPON (622 Mbps / 155 Mbps) + + * `epon` - EPON (1 Gbps) + + * `10g-epon` - 10G-EPON (10 Gbps) + + * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) + + * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) + + * `xgs-pon` - XGS-PON (10 Gbps) + + * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) + + * `25g-pon` - 25G-PON (25 Gbps) + + * `50g-pon` - 50G-PON (50 Gbps) + + * `cisco-stackwise` - Cisco StackWise + + * `cisco-stackwise-plus` - Cisco StackWise Plus + + * `cisco-flexstack` - Cisco FlexStack + + * `cisco-flexstack-plus` - Cisco FlexStack Plus + + * `cisco-stackwise-80` - Cisco StackWise-80 + + * `cisco-stackwise-160` - Cisco StackWise-160 + + * `cisco-stackwise-320` - Cisco StackWise-320 + + * `cisco-stackwise-480` - Cisco StackWise-480 + + * `cisco-stackwise-1t` - Cisco StackWise-1T + + * `juniper-vcp` - Juniper VCP + + * `extreme-summitstack` - Extreme SummitStack + + * `extreme-summitstack-128` - Extreme SummitStack-128 + + * `extreme-summitstack-256` - Extreme SummitStack-256 + + * `extreme-summitstack-512` - Extreme SummitStack-512 + + * `other` - Other' explode: true style: form - in: query - name: tenant_id + name: type__ie schema: type: array items: - type: integer - nullable: true - description: Tenant (ID) + type: string + x-spec-enum-id: 56365107f9c2326f + enum: + - 1000base-kx + - 1000base-t + - 1000base-tx + - 1000base-x-gbic + - 1000base-x-sfp + - 100base-fx + - 100base-lfx + - 100base-t1 + - 100base-tx + - 100base-x-sfp + - 100gbase-kp4 + - 100gbase-kr2 + - 100gbase-kr4 + - 100gbase-x-cfp + - 100gbase-x-cfp2 + - 100gbase-x-cfp4 + - 100gbase-x-cpak + - 100gbase-x-cxp + - 100gbase-x-dsfp + - 100gbase-x-qsfp28 + - 100gbase-x-qsfpdd + - 100gbase-x-sfpdd + - 10g-epon + - 10gbase-cx4 + - 10gbase-kr + - 10gbase-kx4 + - 10gbase-t + - 10gbase-x-sfpp + - 10gbase-x-x2 + - 10gbase-x-xenpak + - 10gbase-x-xfp + - 128gfc-qsfp28 + - 16gfc-sfpp + - 1gfc-sfp + - 2.5gbase-kx + - 2.5gbase-t + - 200gbase-x-cfp2 + - 200gbase-x-qsfp56 + - 200gbase-x-qsfpdd + - 25g-pon + - 25gbase-kr + - 25gbase-x-sfp28 + - 2gfc-sfp + - 32gfc-sfp28 + - 32gfc-sfpp + - 400gbase-x-cdfp + - 400gbase-x-cfp2 + - 400gbase-x-cfp8 + - 400gbase-x-osfp + - 400gbase-x-osfp-rhs + - 400gbase-x-qsfp112 + - 400gbase-x-qsfpdd + - 40gbase-kr4 + - 40gbase-x-qsfpp + - 4g + - 4gfc-sfp + - 50g-pon + - 50gbase-kr + - 50gbase-x-sfp28 + - 50gbase-x-sfp56 + - 5g + - 5gbase-kr + - 5gbase-t + - 64gfc-qsfpp + - 64gfc-sfpdd + - 64gfc-sfpp + - 800gbase-x-osfp + - 800gbase-x-qsfpdd + - 8gfc-sfpp + - bpon + - bridge + - cdma + - cisco-flexstack + - cisco-flexstack-plus + - cisco-stackwise + - cisco-stackwise-160 + - cisco-stackwise-1t + - cisco-stackwise-320 + - cisco-stackwise-480 + - cisco-stackwise-80 + - cisco-stackwise-plus + - docsis + - e1 + - e3 + - epon + - extreme-summitstack + - extreme-summitstack-128 + - extreme-summitstack-256 + - extreme-summitstack-512 + - gpon + - gsm + - ieee802.11a + - ieee802.11ac + - ieee802.11ad + - ieee802.11ax + - ieee802.11ay + - ieee802.11be + - ieee802.11g + - ieee802.11n + - ieee802.15.1 + - ieee802.15.4 + - infiniband-ddr + - infiniband-edr + - infiniband-fdr + - infiniband-fdr10 + - infiniband-hdr + - infiniband-ndr + - infiniband-qdr + - infiniband-sdr + - infiniband-xdr + - juniper-vcp + - lag + - lte + - ng-pon2 + - other + - other-wireless + - sonet-oc12 + - sonet-oc192 + - sonet-oc1920 + - sonet-oc3 + - sonet-oc3840 + - sonet-oc48 + - sonet-oc768 + - t1 + - t3 + - virtual + - xdsl + - xg-pon + - xgs-pon + description: '* `virtual` - Virtual + + * `bridge` - Bridge + + * `lag` - Link Aggregation Group (LAG) + + * `100base-fx` - 100BASE-FX (10/100ME FIBER) + + * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) + + * `100base-tx` - 100BASE-TX (10/100ME) + + * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) + + * `1000base-t` - 1000BASE-T (1GE) + + * `1000base-tx` - 1000BASE-TX (1GE) + + * `2.5gbase-t` - 2.5GBASE-T (2.5GE) + + * `5gbase-t` - 5GBASE-T (5GE) + + * `10gbase-t` - 10GBASE-T (10GE) + + * `10gbase-cx4` - 10GBASE-CX4 (10GE) + + * `100base-x-sfp` - SFP (100ME) + + * `1000base-x-gbic` - GBIC (1GE) + + * `1000base-x-sfp` - SFP (1GE) + + * `10gbase-x-sfpp` - SFP+ (10GE) + + * `10gbase-x-xfp` - XFP (10GE) + + * `10gbase-x-xenpak` - XENPAK (10GE) + + * `10gbase-x-x2` - X2 (10GE) + + * `25gbase-x-sfp28` - SFP28 (25GE) + + * `50gbase-x-sfp56` - SFP56 (50GE) + + * `40gbase-x-qsfpp` - QSFP+ (40GE) + + * `50gbase-x-sfp28` - QSFP28 (50GE) + + * `100gbase-x-cfp` - CFP (100GE) + + * `100gbase-x-cfp2` - CFP2 (100GE) + + * `200gbase-x-cfp2` - CFP2 (200GE) + + * `400gbase-x-cfp2` - CFP2 (400GE) + + * `100gbase-x-cfp4` - CFP4 (100GE) + + * `100gbase-x-cxp` - CXP (100GE) + + * `100gbase-x-cpak` - Cisco CPAK (100GE) + + * `100gbase-x-dsfp` - DSFP (100GE) + + * `100gbase-x-sfpdd` - SFP-DD (100GE) + + * `100gbase-x-qsfp28` - QSFP28 (100GE) + + * `100gbase-x-qsfpdd` - QSFP-DD (100GE) + + * `200gbase-x-qsfp56` - QSFP56 (200GE) + + * `200gbase-x-qsfpdd` - QSFP-DD (200GE) + + * `400gbase-x-qsfp112` - QSFP112 (400GE) + + * `400gbase-x-qsfpdd` - QSFP-DD (400GE) + + * `400gbase-x-osfp` - OSFP (400GE) + + * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) + + * `400gbase-x-cdfp` - CDFP (400GE) + + * `400gbase-x-cfp8` - CPF8 (400GE) + + * `800gbase-x-qsfpdd` - QSFP-DD (800GE) + + * `800gbase-x-osfp` - OSFP (800GE) + + * `1000base-kx` - 1000BASE-KX (1GE) + + * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) + + * `5gbase-kr` - 5GBASE-KR (5GE) + + * `10gbase-kr` - 10GBASE-KR (10GE) + + * `10gbase-kx4` - 10GBASE-KX4 (10GE) + + * `25gbase-kr` - 25GBASE-KR (25GE) + + * `40gbase-kr4` - 40GBASE-KR4 (40GE) + + * `50gbase-kr` - 50GBASE-KR (50GE) + + * `100gbase-kp4` - 100GBASE-KP4 (100GE) + + * `100gbase-kr2` - 100GBASE-KR2 (100GE) + + * `100gbase-kr4` - 100GBASE-KR4 (100GE) + + * `ieee802.11a` - IEEE 802.11a + + * `ieee802.11g` - IEEE 802.11b/g + + * `ieee802.11n` - IEEE 802.11n + + * `ieee802.11ac` - IEEE 802.11ac + + * `ieee802.11ad` - IEEE 802.11ad + + * `ieee802.11ax` - IEEE 802.11ax + + * `ieee802.11ay` - IEEE 802.11ay + + * `ieee802.11be` - IEEE 802.11be + + * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) + + * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) + + * `other-wireless` - Other (Wireless) + + * `gsm` - GSM + + * `cdma` - CDMA + + * `lte` - LTE + + * `4g` - 4G + + * `5g` - 5G + + * `sonet-oc3` - OC-3/STM-1 + + * `sonet-oc12` - OC-12/STM-4 + + * `sonet-oc48` - OC-48/STM-16 + + * `sonet-oc192` - OC-192/STM-64 + + * `sonet-oc768` - OC-768/STM-256 + + * `sonet-oc1920` - OC-1920/STM-640 + + * `sonet-oc3840` - OC-3840/STM-1234 + + * `1gfc-sfp` - SFP (1GFC) + + * `2gfc-sfp` - SFP (2GFC) + + * `4gfc-sfp` - SFP (4GFC) + + * `8gfc-sfpp` - SFP+ (8GFC) + + * `16gfc-sfpp` - SFP+ (16GFC) + + * `32gfc-sfp28` - SFP28 (32GFC) + + * `32gfc-sfpp` - SFP+ (32GFC) + + * `64gfc-qsfpp` - QSFP+ (64GFC) + + * `64gfc-sfpdd` - SFP-DD (64GFC) + + * `64gfc-sfpp` - SFP+ (64GFC) + + * `128gfc-qsfp28` - QSFP28 (128GFC) + + * `infiniband-sdr` - SDR (2 Gbps) + + * `infiniband-ddr` - DDR (4 Gbps) + + * `infiniband-qdr` - QDR (8 Gbps) + + * `infiniband-fdr10` - FDR10 (10 Gbps) + + * `infiniband-fdr` - FDR (13.5 Gbps) + + * `infiniband-edr` - EDR (25 Gbps) + + * `infiniband-hdr` - HDR (50 Gbps) + + * `infiniband-ndr` - NDR (100 Gbps) + + * `infiniband-xdr` - XDR (250 Gbps) + + * `t1` - T1 (1.544 Mbps) + + * `e1` - E1 (2.048 Mbps) + + * `t3` - T3 (45 Mbps) + + * `e3` - E3 (34 Mbps) + + * `xdsl` - xDSL + + * `docsis` - DOCSIS + + * `bpon` - BPON (622 Mbps / 155 Mbps) + + * `epon` - EPON (1 Gbps) + + * `10g-epon` - 10G-EPON (10 Gbps) + + * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) + + * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) + + * `xgs-pon` - XGS-PON (10 Gbps) + + * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) + + * `25g-pon` - 25G-PON (25 Gbps) + + * `50g-pon` - 50G-PON (50 Gbps) + + * `cisco-stackwise` - Cisco StackWise + + * `cisco-stackwise-plus` - Cisco StackWise Plus + + * `cisco-flexstack` - Cisco FlexStack + + * `cisco-flexstack-plus` - Cisco FlexStack Plus + + * `cisco-stackwise-80` - Cisco StackWise-80 + + * `cisco-stackwise-160` - Cisco StackWise-160 + + * `cisco-stackwise-320` - Cisco StackWise-320 + + * `cisco-stackwise-480` - Cisco StackWise-480 + + * `cisco-stackwise-1t` - Cisco StackWise-1T + + * `juniper-vcp` - Juniper VCP + + * `extreme-summitstack` - Extreme SummitStack + + * `extreme-summitstack-128` - Extreme SummitStack-128 + + * `extreme-summitstack-256` - Extreme SummitStack-256 + + * `extreme-summitstack-512` - Extreme SummitStack-512 + + * `other` - Other' explode: true style: form - in: query - name: tenant_id__n - schema: - type: array - items: - type: integer - nullable: true - description: Tenant (ID) - explode: true - style: form - - in: query - name: updated_by_request - schema: - type: string - format: uuid - tags: - - dcim - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/PaginatedLocationList' - description: '' - post: - operationId: dcim_locations_create - description: Post a list of location objects. - tags: - - dcim - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/WritableLocationRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/WritableLocationRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '201': - content: - application/json: - schema: - $ref: '#/components/schemas/Location' - description: '' - put: - operationId: dcim_locations_bulk_update - description: Put a list of location objects. - tags: - - dcim - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/LocationRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/LocationRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/Location' - description: '' - patch: - operationId: dcim_locations_bulk_partial_update - description: Patch a list of location objects. - tags: - - dcim - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/LocationRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/LocationRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/Location' - description: '' - delete: - operationId: dcim_locations_bulk_destroy - description: Delete a list of location objects. - tags: - - dcim - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/LocationRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/LocationRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '204': - description: No response body - /api/dcim/locations/{id}/: - get: - operationId: dcim_locations_retrieve - description: Get a location object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this location. - required: true - tags: - - dcim - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/Location' - description: '' - put: - operationId: dcim_locations_update - description: Put a location object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this location. - required: true - tags: - - dcim - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/WritableLocationRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/WritableLocationRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/Location' - description: '' - patch: - operationId: dcim_locations_partial_update - description: Patch a location object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this location. - required: true - tags: - - dcim - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/PatchedWritableLocationRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/PatchedWritableLocationRequest' - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/Location' - description: '' - delete: - operationId: dcim_locations_destroy - description: Delete a location object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this location. - required: true - tags: - - dcim - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '204': - description: No response body - /api/dcim/manufacturers/: - get: - operationId: dcim_manufacturers_list - description: Get a list of manufacturer objects. - parameters: - - in: query - name: contact - schema: - type: array - items: - type: integer - description: Contact - explode: true - style: form - - in: query - name: contact__n - schema: - type: array - items: - type: integer - description: Contact - explode: true - style: form - - in: query - name: contact_group - schema: - type: array - items: - type: integer - description: Contact group - explode: true - style: form - - in: query - name: contact_group__n - schema: - type: array - items: - type: integer - description: Contact group - explode: true - style: form - - in: query - name: contact_role - schema: - type: array - items: - type: integer - description: Contact Role - explode: true - style: form - - in: query - name: contact_role__n - schema: - type: array - items: - type: integer - description: Contact Role - explode: true - style: form - - in: query - name: created + name: type__iew schema: type: array items: type: string - format: date-time + x-spec-enum-id: 56365107f9c2326f + enum: + - 1000base-kx + - 1000base-t + - 1000base-tx + - 1000base-x-gbic + - 1000base-x-sfp + - 100base-fx + - 100base-lfx + - 100base-t1 + - 100base-tx + - 100base-x-sfp + - 100gbase-kp4 + - 100gbase-kr2 + - 100gbase-kr4 + - 100gbase-x-cfp + - 100gbase-x-cfp2 + - 100gbase-x-cfp4 + - 100gbase-x-cpak + - 100gbase-x-cxp + - 100gbase-x-dsfp + - 100gbase-x-qsfp28 + - 100gbase-x-qsfpdd + - 100gbase-x-sfpdd + - 10g-epon + - 10gbase-cx4 + - 10gbase-kr + - 10gbase-kx4 + - 10gbase-t + - 10gbase-x-sfpp + - 10gbase-x-x2 + - 10gbase-x-xenpak + - 10gbase-x-xfp + - 128gfc-qsfp28 + - 16gfc-sfpp + - 1gfc-sfp + - 2.5gbase-kx + - 2.5gbase-t + - 200gbase-x-cfp2 + - 200gbase-x-qsfp56 + - 200gbase-x-qsfpdd + - 25g-pon + - 25gbase-kr + - 25gbase-x-sfp28 + - 2gfc-sfp + - 32gfc-sfp28 + - 32gfc-sfpp + - 400gbase-x-cdfp + - 400gbase-x-cfp2 + - 400gbase-x-cfp8 + - 400gbase-x-osfp + - 400gbase-x-osfp-rhs + - 400gbase-x-qsfp112 + - 400gbase-x-qsfpdd + - 40gbase-kr4 + - 40gbase-x-qsfpp + - 4g + - 4gfc-sfp + - 50g-pon + - 50gbase-kr + - 50gbase-x-sfp28 + - 50gbase-x-sfp56 + - 5g + - 5gbase-kr + - 5gbase-t + - 64gfc-qsfpp + - 64gfc-sfpdd + - 64gfc-sfpp + - 800gbase-x-osfp + - 800gbase-x-qsfpdd + - 8gfc-sfpp + - bpon + - bridge + - cdma + - cisco-flexstack + - cisco-flexstack-plus + - cisco-stackwise + - cisco-stackwise-160 + - cisco-stackwise-1t + - cisco-stackwise-320 + - cisco-stackwise-480 + - cisco-stackwise-80 + - cisco-stackwise-plus + - docsis + - e1 + - e3 + - epon + - extreme-summitstack + - extreme-summitstack-128 + - extreme-summitstack-256 + - extreme-summitstack-512 + - gpon + - gsm + - ieee802.11a + - ieee802.11ac + - ieee802.11ad + - ieee802.11ax + - ieee802.11ay + - ieee802.11be + - ieee802.11g + - ieee802.11n + - ieee802.15.1 + - ieee802.15.4 + - infiniband-ddr + - infiniband-edr + - infiniband-fdr + - infiniband-fdr10 + - infiniband-hdr + - infiniband-ndr + - infiniband-qdr + - infiniband-sdr + - infiniband-xdr + - juniper-vcp + - lag + - lte + - ng-pon2 + - other + - other-wireless + - sonet-oc12 + - sonet-oc192 + - sonet-oc1920 + - sonet-oc3 + - sonet-oc3840 + - sonet-oc48 + - sonet-oc768 + - t1 + - t3 + - virtual + - xdsl + - xg-pon + - xgs-pon + description: '* `virtual` - Virtual + + * `bridge` - Bridge + + * `lag` - Link Aggregation Group (LAG) + + * `100base-fx` - 100BASE-FX (10/100ME FIBER) + + * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) + + * `100base-tx` - 100BASE-TX (10/100ME) + + * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) + + * `1000base-t` - 1000BASE-T (1GE) + + * `1000base-tx` - 1000BASE-TX (1GE) + + * `2.5gbase-t` - 2.5GBASE-T (2.5GE) + + * `5gbase-t` - 5GBASE-T (5GE) + + * `10gbase-t` - 10GBASE-T (10GE) + + * `10gbase-cx4` - 10GBASE-CX4 (10GE) + + * `100base-x-sfp` - SFP (100ME) + + * `1000base-x-gbic` - GBIC (1GE) + + * `1000base-x-sfp` - SFP (1GE) + + * `10gbase-x-sfpp` - SFP+ (10GE) + + * `10gbase-x-xfp` - XFP (10GE) + + * `10gbase-x-xenpak` - XENPAK (10GE) + + * `10gbase-x-x2` - X2 (10GE) + + * `25gbase-x-sfp28` - SFP28 (25GE) + + * `50gbase-x-sfp56` - SFP56 (50GE) + + * `40gbase-x-qsfpp` - QSFP+ (40GE) + + * `50gbase-x-sfp28` - QSFP28 (50GE) + + * `100gbase-x-cfp` - CFP (100GE) + + * `100gbase-x-cfp2` - CFP2 (100GE) + + * `200gbase-x-cfp2` - CFP2 (200GE) + + * `400gbase-x-cfp2` - CFP2 (400GE) + + * `100gbase-x-cfp4` - CFP4 (100GE) + + * `100gbase-x-cxp` - CXP (100GE) + + * `100gbase-x-cpak` - Cisco CPAK (100GE) + + * `100gbase-x-dsfp` - DSFP (100GE) + + * `100gbase-x-sfpdd` - SFP-DD (100GE) + + * `100gbase-x-qsfp28` - QSFP28 (100GE) + + * `100gbase-x-qsfpdd` - QSFP-DD (100GE) + + * `200gbase-x-qsfp56` - QSFP56 (200GE) + + * `200gbase-x-qsfpdd` - QSFP-DD (200GE) + + * `400gbase-x-qsfp112` - QSFP112 (400GE) + + * `400gbase-x-qsfpdd` - QSFP-DD (400GE) + + * `400gbase-x-osfp` - OSFP (400GE) + + * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) + + * `400gbase-x-cdfp` - CDFP (400GE) + + * `400gbase-x-cfp8` - CPF8 (400GE) + + * `800gbase-x-qsfpdd` - QSFP-DD (800GE) + + * `800gbase-x-osfp` - OSFP (800GE) + + * `1000base-kx` - 1000BASE-KX (1GE) + + * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) + + * `5gbase-kr` - 5GBASE-KR (5GE) + + * `10gbase-kr` - 10GBASE-KR (10GE) + + * `10gbase-kx4` - 10GBASE-KX4 (10GE) + + * `25gbase-kr` - 25GBASE-KR (25GE) + + * `40gbase-kr4` - 40GBASE-KR4 (40GE) + + * `50gbase-kr` - 50GBASE-KR (50GE) + + * `100gbase-kp4` - 100GBASE-KP4 (100GE) + + * `100gbase-kr2` - 100GBASE-KR2 (100GE) + + * `100gbase-kr4` - 100GBASE-KR4 (100GE) + + * `ieee802.11a` - IEEE 802.11a + + * `ieee802.11g` - IEEE 802.11b/g + + * `ieee802.11n` - IEEE 802.11n + + * `ieee802.11ac` - IEEE 802.11ac + + * `ieee802.11ad` - IEEE 802.11ad + + * `ieee802.11ax` - IEEE 802.11ax + + * `ieee802.11ay` - IEEE 802.11ay + + * `ieee802.11be` - IEEE 802.11be + + * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) + + * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) + + * `other-wireless` - Other (Wireless) + + * `gsm` - GSM + + * `cdma` - CDMA + + * `lte` - LTE + + * `4g` - 4G + + * `5g` - 5G + + * `sonet-oc3` - OC-3/STM-1 + + * `sonet-oc12` - OC-12/STM-4 + + * `sonet-oc48` - OC-48/STM-16 + + * `sonet-oc192` - OC-192/STM-64 + + * `sonet-oc768` - OC-768/STM-256 + + * `sonet-oc1920` - OC-1920/STM-640 + + * `sonet-oc3840` - OC-3840/STM-1234 + + * `1gfc-sfp` - SFP (1GFC) + + * `2gfc-sfp` - SFP (2GFC) + + * `4gfc-sfp` - SFP (4GFC) + + * `8gfc-sfpp` - SFP+ (8GFC) + + * `16gfc-sfpp` - SFP+ (16GFC) + + * `32gfc-sfp28` - SFP28 (32GFC) + + * `32gfc-sfpp` - SFP+ (32GFC) + + * `64gfc-qsfpp` - QSFP+ (64GFC) + + * `64gfc-sfpdd` - SFP-DD (64GFC) + + * `64gfc-sfpp` - SFP+ (64GFC) + + * `128gfc-qsfp28` - QSFP28 (128GFC) + + * `infiniband-sdr` - SDR (2 Gbps) + + * `infiniband-ddr` - DDR (4 Gbps) + + * `infiniband-qdr` - QDR (8 Gbps) + + * `infiniband-fdr10` - FDR10 (10 Gbps) + + * `infiniband-fdr` - FDR (13.5 Gbps) + + * `infiniband-edr` - EDR (25 Gbps) + + * `infiniband-hdr` - HDR (50 Gbps) + + * `infiniband-ndr` - NDR (100 Gbps) + + * `infiniband-xdr` - XDR (250 Gbps) + + * `t1` - T1 (1.544 Mbps) + + * `e1` - E1 (2.048 Mbps) + + * `t3` - T3 (45 Mbps) + + * `e3` - E3 (34 Mbps) + + * `xdsl` - xDSL + + * `docsis` - DOCSIS + + * `bpon` - BPON (622 Mbps / 155 Mbps) + + * `epon` - EPON (1 Gbps) + + * `10g-epon` - 10G-EPON (10 Gbps) + + * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) + + * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) + + * `xgs-pon` - XGS-PON (10 Gbps) + + * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) + + * `25g-pon` - 25G-PON (25 Gbps) + + * `50g-pon` - 50G-PON (50 Gbps) + + * `cisco-stackwise` - Cisco StackWise + + * `cisco-stackwise-plus` - Cisco StackWise Plus + + * `cisco-flexstack` - Cisco FlexStack + + * `cisco-flexstack-plus` - Cisco FlexStack Plus + + * `cisco-stackwise-80` - Cisco StackWise-80 + + * `cisco-stackwise-160` - Cisco StackWise-160 + + * `cisco-stackwise-320` - Cisco StackWise-320 + + * `cisco-stackwise-480` - Cisco StackWise-480 + + * `cisco-stackwise-1t` - Cisco StackWise-1T + + * `juniper-vcp` - Juniper VCP + + * `extreme-summitstack` - Extreme SummitStack + + * `extreme-summitstack-128` - Extreme SummitStack-128 + + * `extreme-summitstack-256` - Extreme SummitStack-256 + + * `extreme-summitstack-512` - Extreme SummitStack-512 + + * `other` - Other' explode: true style: form - in: query - name: created__empty + name: type__isw schema: type: array items: type: string - format: date-time + x-spec-enum-id: 56365107f9c2326f + enum: + - 1000base-kx + - 1000base-t + - 1000base-tx + - 1000base-x-gbic + - 1000base-x-sfp + - 100base-fx + - 100base-lfx + - 100base-t1 + - 100base-tx + - 100base-x-sfp + - 100gbase-kp4 + - 100gbase-kr2 + - 100gbase-kr4 + - 100gbase-x-cfp + - 100gbase-x-cfp2 + - 100gbase-x-cfp4 + - 100gbase-x-cpak + - 100gbase-x-cxp + - 100gbase-x-dsfp + - 100gbase-x-qsfp28 + - 100gbase-x-qsfpdd + - 100gbase-x-sfpdd + - 10g-epon + - 10gbase-cx4 + - 10gbase-kr + - 10gbase-kx4 + - 10gbase-t + - 10gbase-x-sfpp + - 10gbase-x-x2 + - 10gbase-x-xenpak + - 10gbase-x-xfp + - 128gfc-qsfp28 + - 16gfc-sfpp + - 1gfc-sfp + - 2.5gbase-kx + - 2.5gbase-t + - 200gbase-x-cfp2 + - 200gbase-x-qsfp56 + - 200gbase-x-qsfpdd + - 25g-pon + - 25gbase-kr + - 25gbase-x-sfp28 + - 2gfc-sfp + - 32gfc-sfp28 + - 32gfc-sfpp + - 400gbase-x-cdfp + - 400gbase-x-cfp2 + - 400gbase-x-cfp8 + - 400gbase-x-osfp + - 400gbase-x-osfp-rhs + - 400gbase-x-qsfp112 + - 400gbase-x-qsfpdd + - 40gbase-kr4 + - 40gbase-x-qsfpp + - 4g + - 4gfc-sfp + - 50g-pon + - 50gbase-kr + - 50gbase-x-sfp28 + - 50gbase-x-sfp56 + - 5g + - 5gbase-kr + - 5gbase-t + - 64gfc-qsfpp + - 64gfc-sfpdd + - 64gfc-sfpp + - 800gbase-x-osfp + - 800gbase-x-qsfpdd + - 8gfc-sfpp + - bpon + - bridge + - cdma + - cisco-flexstack + - cisco-flexstack-plus + - cisco-stackwise + - cisco-stackwise-160 + - cisco-stackwise-1t + - cisco-stackwise-320 + - cisco-stackwise-480 + - cisco-stackwise-80 + - cisco-stackwise-plus + - docsis + - e1 + - e3 + - epon + - extreme-summitstack + - extreme-summitstack-128 + - extreme-summitstack-256 + - extreme-summitstack-512 + - gpon + - gsm + - ieee802.11a + - ieee802.11ac + - ieee802.11ad + - ieee802.11ax + - ieee802.11ay + - ieee802.11be + - ieee802.11g + - ieee802.11n + - ieee802.15.1 + - ieee802.15.4 + - infiniband-ddr + - infiniband-edr + - infiniband-fdr + - infiniband-fdr10 + - infiniband-hdr + - infiniband-ndr + - infiniband-qdr + - infiniband-sdr + - infiniband-xdr + - juniper-vcp + - lag + - lte + - ng-pon2 + - other + - other-wireless + - sonet-oc12 + - sonet-oc192 + - sonet-oc1920 + - sonet-oc3 + - sonet-oc3840 + - sonet-oc48 + - sonet-oc768 + - t1 + - t3 + - virtual + - xdsl + - xg-pon + - xgs-pon + description: '* `virtual` - Virtual + + * `bridge` - Bridge + + * `lag` - Link Aggregation Group (LAG) + + * `100base-fx` - 100BASE-FX (10/100ME FIBER) + + * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) + + * `100base-tx` - 100BASE-TX (10/100ME) + + * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) + + * `1000base-t` - 1000BASE-T (1GE) + + * `1000base-tx` - 1000BASE-TX (1GE) + + * `2.5gbase-t` - 2.5GBASE-T (2.5GE) + + * `5gbase-t` - 5GBASE-T (5GE) + + * `10gbase-t` - 10GBASE-T (10GE) + + * `10gbase-cx4` - 10GBASE-CX4 (10GE) + + * `100base-x-sfp` - SFP (100ME) + + * `1000base-x-gbic` - GBIC (1GE) + + * `1000base-x-sfp` - SFP (1GE) + + * `10gbase-x-sfpp` - SFP+ (10GE) + + * `10gbase-x-xfp` - XFP (10GE) + + * `10gbase-x-xenpak` - XENPAK (10GE) + + * `10gbase-x-x2` - X2 (10GE) + + * `25gbase-x-sfp28` - SFP28 (25GE) + + * `50gbase-x-sfp56` - SFP56 (50GE) + + * `40gbase-x-qsfpp` - QSFP+ (40GE) + + * `50gbase-x-sfp28` - QSFP28 (50GE) + + * `100gbase-x-cfp` - CFP (100GE) + + * `100gbase-x-cfp2` - CFP2 (100GE) + + * `200gbase-x-cfp2` - CFP2 (200GE) + + * `400gbase-x-cfp2` - CFP2 (400GE) + + * `100gbase-x-cfp4` - CFP4 (100GE) + + * `100gbase-x-cxp` - CXP (100GE) + + * `100gbase-x-cpak` - Cisco CPAK (100GE) + + * `100gbase-x-dsfp` - DSFP (100GE) + + * `100gbase-x-sfpdd` - SFP-DD (100GE) + + * `100gbase-x-qsfp28` - QSFP28 (100GE) + + * `100gbase-x-qsfpdd` - QSFP-DD (100GE) + + * `200gbase-x-qsfp56` - QSFP56 (200GE) + + * `200gbase-x-qsfpdd` - QSFP-DD (200GE) + + * `400gbase-x-qsfp112` - QSFP112 (400GE) + + * `400gbase-x-qsfpdd` - QSFP-DD (400GE) + + * `400gbase-x-osfp` - OSFP (400GE) + + * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) + + * `400gbase-x-cdfp` - CDFP (400GE) + + * `400gbase-x-cfp8` - CPF8 (400GE) + + * `800gbase-x-qsfpdd` - QSFP-DD (800GE) + + * `800gbase-x-osfp` - OSFP (800GE) + + * `1000base-kx` - 1000BASE-KX (1GE) + + * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) + + * `5gbase-kr` - 5GBASE-KR (5GE) + + * `10gbase-kr` - 10GBASE-KR (10GE) + + * `10gbase-kx4` - 10GBASE-KX4 (10GE) + + * `25gbase-kr` - 25GBASE-KR (25GE) + + * `40gbase-kr4` - 40GBASE-KR4 (40GE) + + * `50gbase-kr` - 50GBASE-KR (50GE) + + * `100gbase-kp4` - 100GBASE-KP4 (100GE) + + * `100gbase-kr2` - 100GBASE-KR2 (100GE) + + * `100gbase-kr4` - 100GBASE-KR4 (100GE) + + * `ieee802.11a` - IEEE 802.11a + + * `ieee802.11g` - IEEE 802.11b/g + + * `ieee802.11n` - IEEE 802.11n + + * `ieee802.11ac` - IEEE 802.11ac + + * `ieee802.11ad` - IEEE 802.11ad + + * `ieee802.11ax` - IEEE 802.11ax + + * `ieee802.11ay` - IEEE 802.11ay + + * `ieee802.11be` - IEEE 802.11be + + * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) + + * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) + + * `other-wireless` - Other (Wireless) + + * `gsm` - GSM + + * `cdma` - CDMA + + * `lte` - LTE + + * `4g` - 4G + + * `5g` - 5G + + * `sonet-oc3` - OC-3/STM-1 + + * `sonet-oc12` - OC-12/STM-4 + + * `sonet-oc48` - OC-48/STM-16 + + * `sonet-oc192` - OC-192/STM-64 + + * `sonet-oc768` - OC-768/STM-256 + + * `sonet-oc1920` - OC-1920/STM-640 + + * `sonet-oc3840` - OC-3840/STM-1234 + + * `1gfc-sfp` - SFP (1GFC) + + * `2gfc-sfp` - SFP (2GFC) + + * `4gfc-sfp` - SFP (4GFC) + + * `8gfc-sfpp` - SFP+ (8GFC) + + * `16gfc-sfpp` - SFP+ (16GFC) + + * `32gfc-sfp28` - SFP28 (32GFC) + + * `32gfc-sfpp` - SFP+ (32GFC) + + * `64gfc-qsfpp` - QSFP+ (64GFC) + + * `64gfc-sfpdd` - SFP-DD (64GFC) + + * `64gfc-sfpp` - SFP+ (64GFC) + + * `128gfc-qsfp28` - QSFP28 (128GFC) + + * `infiniband-sdr` - SDR (2 Gbps) + + * `infiniband-ddr` - DDR (4 Gbps) + + * `infiniband-qdr` - QDR (8 Gbps) + + * `infiniband-fdr10` - FDR10 (10 Gbps) + + * `infiniband-fdr` - FDR (13.5 Gbps) + + * `infiniband-edr` - EDR (25 Gbps) + + * `infiniband-hdr` - HDR (50 Gbps) + + * `infiniband-ndr` - NDR (100 Gbps) + + * `infiniband-xdr` - XDR (250 Gbps) + + * `t1` - T1 (1.544 Mbps) + + * `e1` - E1 (2.048 Mbps) + + * `t3` - T3 (45 Mbps) + + * `e3` - E3 (34 Mbps) + + * `xdsl` - xDSL + + * `docsis` - DOCSIS + + * `bpon` - BPON (622 Mbps / 155 Mbps) + + * `epon` - EPON (1 Gbps) + + * `10g-epon` - 10G-EPON (10 Gbps) + + * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) + + * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) + + * `xgs-pon` - XGS-PON (10 Gbps) + + * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) + + * `25g-pon` - 25G-PON (25 Gbps) + + * `50g-pon` - 50G-PON (50 Gbps) + + * `cisco-stackwise` - Cisco StackWise + + * `cisco-stackwise-plus` - Cisco StackWise Plus + + * `cisco-flexstack` - Cisco FlexStack + + * `cisco-flexstack-plus` - Cisco FlexStack Plus + + * `cisco-stackwise-80` - Cisco StackWise-80 + + * `cisco-stackwise-160` - Cisco StackWise-160 + + * `cisco-stackwise-320` - Cisco StackWise-320 + + * `cisco-stackwise-480` - Cisco StackWise-480 + + * `cisco-stackwise-1t` - Cisco StackWise-1T + + * `juniper-vcp` - Juniper VCP + + * `extreme-summitstack` - Extreme SummitStack + + * `extreme-summitstack-128` - Extreme SummitStack-128 + + * `extreme-summitstack-256` - Extreme SummitStack-256 + + * `extreme-summitstack-512` - Extreme SummitStack-512 + + * `other` - Other' explode: true style: form - in: query - name: created__gt + name: type__n schema: type: array items: type: string - format: date-time + x-spec-enum-id: 56365107f9c2326f + enum: + - 1000base-kx + - 1000base-t + - 1000base-tx + - 1000base-x-gbic + - 1000base-x-sfp + - 100base-fx + - 100base-lfx + - 100base-t1 + - 100base-tx + - 100base-x-sfp + - 100gbase-kp4 + - 100gbase-kr2 + - 100gbase-kr4 + - 100gbase-x-cfp + - 100gbase-x-cfp2 + - 100gbase-x-cfp4 + - 100gbase-x-cpak + - 100gbase-x-cxp + - 100gbase-x-dsfp + - 100gbase-x-qsfp28 + - 100gbase-x-qsfpdd + - 100gbase-x-sfpdd + - 10g-epon + - 10gbase-cx4 + - 10gbase-kr + - 10gbase-kx4 + - 10gbase-t + - 10gbase-x-sfpp + - 10gbase-x-x2 + - 10gbase-x-xenpak + - 10gbase-x-xfp + - 128gfc-qsfp28 + - 16gfc-sfpp + - 1gfc-sfp + - 2.5gbase-kx + - 2.5gbase-t + - 200gbase-x-cfp2 + - 200gbase-x-qsfp56 + - 200gbase-x-qsfpdd + - 25g-pon + - 25gbase-kr + - 25gbase-x-sfp28 + - 2gfc-sfp + - 32gfc-sfp28 + - 32gfc-sfpp + - 400gbase-x-cdfp + - 400gbase-x-cfp2 + - 400gbase-x-cfp8 + - 400gbase-x-osfp + - 400gbase-x-osfp-rhs + - 400gbase-x-qsfp112 + - 400gbase-x-qsfpdd + - 40gbase-kr4 + - 40gbase-x-qsfpp + - 4g + - 4gfc-sfp + - 50g-pon + - 50gbase-kr + - 50gbase-x-sfp28 + - 50gbase-x-sfp56 + - 5g + - 5gbase-kr + - 5gbase-t + - 64gfc-qsfpp + - 64gfc-sfpdd + - 64gfc-sfpp + - 800gbase-x-osfp + - 800gbase-x-qsfpdd + - 8gfc-sfpp + - bpon + - bridge + - cdma + - cisco-flexstack + - cisco-flexstack-plus + - cisco-stackwise + - cisco-stackwise-160 + - cisco-stackwise-1t + - cisco-stackwise-320 + - cisco-stackwise-480 + - cisco-stackwise-80 + - cisco-stackwise-plus + - docsis + - e1 + - e3 + - epon + - extreme-summitstack + - extreme-summitstack-128 + - extreme-summitstack-256 + - extreme-summitstack-512 + - gpon + - gsm + - ieee802.11a + - ieee802.11ac + - ieee802.11ad + - ieee802.11ax + - ieee802.11ay + - ieee802.11be + - ieee802.11g + - ieee802.11n + - ieee802.15.1 + - ieee802.15.4 + - infiniband-ddr + - infiniband-edr + - infiniband-fdr + - infiniband-fdr10 + - infiniband-hdr + - infiniband-ndr + - infiniband-qdr + - infiniband-sdr + - infiniband-xdr + - juniper-vcp + - lag + - lte + - ng-pon2 + - other + - other-wireless + - sonet-oc12 + - sonet-oc192 + - sonet-oc1920 + - sonet-oc3 + - sonet-oc3840 + - sonet-oc48 + - sonet-oc768 + - t1 + - t3 + - virtual + - xdsl + - xg-pon + - xgs-pon + description: '* `virtual` - Virtual + + * `bridge` - Bridge + + * `lag` - Link Aggregation Group (LAG) + + * `100base-fx` - 100BASE-FX (10/100ME FIBER) + + * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) + + * `100base-tx` - 100BASE-TX (10/100ME) + + * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) + + * `1000base-t` - 1000BASE-T (1GE) + + * `1000base-tx` - 1000BASE-TX (1GE) + + * `2.5gbase-t` - 2.5GBASE-T (2.5GE) + + * `5gbase-t` - 5GBASE-T (5GE) + + * `10gbase-t` - 10GBASE-T (10GE) + + * `10gbase-cx4` - 10GBASE-CX4 (10GE) + + * `100base-x-sfp` - SFP (100ME) + + * `1000base-x-gbic` - GBIC (1GE) + + * `1000base-x-sfp` - SFP (1GE) + + * `10gbase-x-sfpp` - SFP+ (10GE) + + * `10gbase-x-xfp` - XFP (10GE) + + * `10gbase-x-xenpak` - XENPAK (10GE) + + * `10gbase-x-x2` - X2 (10GE) + + * `25gbase-x-sfp28` - SFP28 (25GE) + + * `50gbase-x-sfp56` - SFP56 (50GE) + + * `40gbase-x-qsfpp` - QSFP+ (40GE) + + * `50gbase-x-sfp28` - QSFP28 (50GE) + + * `100gbase-x-cfp` - CFP (100GE) + + * `100gbase-x-cfp2` - CFP2 (100GE) + + * `200gbase-x-cfp2` - CFP2 (200GE) + + * `400gbase-x-cfp2` - CFP2 (400GE) + + * `100gbase-x-cfp4` - CFP4 (100GE) + + * `100gbase-x-cxp` - CXP (100GE) + + * `100gbase-x-cpak` - Cisco CPAK (100GE) + + * `100gbase-x-dsfp` - DSFP (100GE) + + * `100gbase-x-sfpdd` - SFP-DD (100GE) + + * `100gbase-x-qsfp28` - QSFP28 (100GE) + + * `100gbase-x-qsfpdd` - QSFP-DD (100GE) + + * `200gbase-x-qsfp56` - QSFP56 (200GE) + + * `200gbase-x-qsfpdd` - QSFP-DD (200GE) + + * `400gbase-x-qsfp112` - QSFP112 (400GE) + + * `400gbase-x-qsfpdd` - QSFP-DD (400GE) + + * `400gbase-x-osfp` - OSFP (400GE) + + * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) + + * `400gbase-x-cdfp` - CDFP (400GE) + + * `400gbase-x-cfp8` - CPF8 (400GE) + + * `800gbase-x-qsfpdd` - QSFP-DD (800GE) + + * `800gbase-x-osfp` - OSFP (800GE) + + * `1000base-kx` - 1000BASE-KX (1GE) + + * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) + + * `5gbase-kr` - 5GBASE-KR (5GE) + + * `10gbase-kr` - 10GBASE-KR (10GE) + + * `10gbase-kx4` - 10GBASE-KX4 (10GE) + + * `25gbase-kr` - 25GBASE-KR (25GE) + + * `40gbase-kr4` - 40GBASE-KR4 (40GE) + + * `50gbase-kr` - 50GBASE-KR (50GE) + + * `100gbase-kp4` - 100GBASE-KP4 (100GE) + + * `100gbase-kr2` - 100GBASE-KR2 (100GE) + + * `100gbase-kr4` - 100GBASE-KR4 (100GE) + + * `ieee802.11a` - IEEE 802.11a + + * `ieee802.11g` - IEEE 802.11b/g + + * `ieee802.11n` - IEEE 802.11n + + * `ieee802.11ac` - IEEE 802.11ac + + * `ieee802.11ad` - IEEE 802.11ad + + * `ieee802.11ax` - IEEE 802.11ax + + * `ieee802.11ay` - IEEE 802.11ay + + * `ieee802.11be` - IEEE 802.11be + + * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) + + * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) + + * `other-wireless` - Other (Wireless) + + * `gsm` - GSM + + * `cdma` - CDMA + + * `lte` - LTE + + * `4g` - 4G + + * `5g` - 5G + + * `sonet-oc3` - OC-3/STM-1 + + * `sonet-oc12` - OC-12/STM-4 + + * `sonet-oc48` - OC-48/STM-16 + + * `sonet-oc192` - OC-192/STM-64 + + * `sonet-oc768` - OC-768/STM-256 + + * `sonet-oc1920` - OC-1920/STM-640 + + * `sonet-oc3840` - OC-3840/STM-1234 + + * `1gfc-sfp` - SFP (1GFC) + + * `2gfc-sfp` - SFP (2GFC) + + * `4gfc-sfp` - SFP (4GFC) + + * `8gfc-sfpp` - SFP+ (8GFC) + + * `16gfc-sfpp` - SFP+ (16GFC) + + * `32gfc-sfp28` - SFP28 (32GFC) + + * `32gfc-sfpp` - SFP+ (32GFC) + + * `64gfc-qsfpp` - QSFP+ (64GFC) + + * `64gfc-sfpdd` - SFP-DD (64GFC) + + * `64gfc-sfpp` - SFP+ (64GFC) + + * `128gfc-qsfp28` - QSFP28 (128GFC) + + * `infiniband-sdr` - SDR (2 Gbps) + + * `infiniband-ddr` - DDR (4 Gbps) + + * `infiniband-qdr` - QDR (8 Gbps) + + * `infiniband-fdr10` - FDR10 (10 Gbps) + + * `infiniband-fdr` - FDR (13.5 Gbps) + + * `infiniband-edr` - EDR (25 Gbps) + + * `infiniband-hdr` - HDR (50 Gbps) + + * `infiniband-ndr` - NDR (100 Gbps) + + * `infiniband-xdr` - XDR (250 Gbps) + + * `t1` - T1 (1.544 Mbps) + + * `e1` - E1 (2.048 Mbps) + + * `t3` - T3 (45 Mbps) + + * `e3` - E3 (34 Mbps) + + * `xdsl` - xDSL + + * `docsis` - DOCSIS + + * `bpon` - BPON (622 Mbps / 155 Mbps) + + * `epon` - EPON (1 Gbps) + + * `10g-epon` - 10G-EPON (10 Gbps) + + * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) + + * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) + + * `xgs-pon` - XGS-PON (10 Gbps) + + * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) + + * `25g-pon` - 25G-PON (25 Gbps) + + * `50g-pon` - 50G-PON (50 Gbps) + + * `cisco-stackwise` - Cisco StackWise + + * `cisco-stackwise-plus` - Cisco StackWise Plus + + * `cisco-flexstack` - Cisco FlexStack + + * `cisco-flexstack-plus` - Cisco FlexStack Plus + + * `cisco-stackwise-80` - Cisco StackWise-80 + + * `cisco-stackwise-160` - Cisco StackWise-160 + + * `cisco-stackwise-320` - Cisco StackWise-320 + + * `cisco-stackwise-480` - Cisco StackWise-480 + + * `cisco-stackwise-1t` - Cisco StackWise-1T + + * `juniper-vcp` - Juniper VCP + + * `extreme-summitstack` - Extreme SummitStack + + * `extreme-summitstack-128` - Extreme SummitStack-128 + + * `extreme-summitstack-256` - Extreme SummitStack-256 + + * `extreme-summitstack-512` - Extreme SummitStack-512 + + * `other` - Other' explode: true style: form - in: query - name: created__gte + name: type__nic schema: type: array items: type: string - format: date-time + x-spec-enum-id: 56365107f9c2326f + enum: + - 1000base-kx + - 1000base-t + - 1000base-tx + - 1000base-x-gbic + - 1000base-x-sfp + - 100base-fx + - 100base-lfx + - 100base-t1 + - 100base-tx + - 100base-x-sfp + - 100gbase-kp4 + - 100gbase-kr2 + - 100gbase-kr4 + - 100gbase-x-cfp + - 100gbase-x-cfp2 + - 100gbase-x-cfp4 + - 100gbase-x-cpak + - 100gbase-x-cxp + - 100gbase-x-dsfp + - 100gbase-x-qsfp28 + - 100gbase-x-qsfpdd + - 100gbase-x-sfpdd + - 10g-epon + - 10gbase-cx4 + - 10gbase-kr + - 10gbase-kx4 + - 10gbase-t + - 10gbase-x-sfpp + - 10gbase-x-x2 + - 10gbase-x-xenpak + - 10gbase-x-xfp + - 128gfc-qsfp28 + - 16gfc-sfpp + - 1gfc-sfp + - 2.5gbase-kx + - 2.5gbase-t + - 200gbase-x-cfp2 + - 200gbase-x-qsfp56 + - 200gbase-x-qsfpdd + - 25g-pon + - 25gbase-kr + - 25gbase-x-sfp28 + - 2gfc-sfp + - 32gfc-sfp28 + - 32gfc-sfpp + - 400gbase-x-cdfp + - 400gbase-x-cfp2 + - 400gbase-x-cfp8 + - 400gbase-x-osfp + - 400gbase-x-osfp-rhs + - 400gbase-x-qsfp112 + - 400gbase-x-qsfpdd + - 40gbase-kr4 + - 40gbase-x-qsfpp + - 4g + - 4gfc-sfp + - 50g-pon + - 50gbase-kr + - 50gbase-x-sfp28 + - 50gbase-x-sfp56 + - 5g + - 5gbase-kr + - 5gbase-t + - 64gfc-qsfpp + - 64gfc-sfpdd + - 64gfc-sfpp + - 800gbase-x-osfp + - 800gbase-x-qsfpdd + - 8gfc-sfpp + - bpon + - bridge + - cdma + - cisco-flexstack + - cisco-flexstack-plus + - cisco-stackwise + - cisco-stackwise-160 + - cisco-stackwise-1t + - cisco-stackwise-320 + - cisco-stackwise-480 + - cisco-stackwise-80 + - cisco-stackwise-plus + - docsis + - e1 + - e3 + - epon + - extreme-summitstack + - extreme-summitstack-128 + - extreme-summitstack-256 + - extreme-summitstack-512 + - gpon + - gsm + - ieee802.11a + - ieee802.11ac + - ieee802.11ad + - ieee802.11ax + - ieee802.11ay + - ieee802.11be + - ieee802.11g + - ieee802.11n + - ieee802.15.1 + - ieee802.15.4 + - infiniband-ddr + - infiniband-edr + - infiniband-fdr + - infiniband-fdr10 + - infiniband-hdr + - infiniband-ndr + - infiniband-qdr + - infiniband-sdr + - infiniband-xdr + - juniper-vcp + - lag + - lte + - ng-pon2 + - other + - other-wireless + - sonet-oc12 + - sonet-oc192 + - sonet-oc1920 + - sonet-oc3 + - sonet-oc3840 + - sonet-oc48 + - sonet-oc768 + - t1 + - t3 + - virtual + - xdsl + - xg-pon + - xgs-pon + description: '* `virtual` - Virtual + + * `bridge` - Bridge + + * `lag` - Link Aggregation Group (LAG) + + * `100base-fx` - 100BASE-FX (10/100ME FIBER) + + * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) + + * `100base-tx` - 100BASE-TX (10/100ME) + + * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) + + * `1000base-t` - 1000BASE-T (1GE) + + * `1000base-tx` - 1000BASE-TX (1GE) + + * `2.5gbase-t` - 2.5GBASE-T (2.5GE) + + * `5gbase-t` - 5GBASE-T (5GE) + + * `10gbase-t` - 10GBASE-T (10GE) + + * `10gbase-cx4` - 10GBASE-CX4 (10GE) + + * `100base-x-sfp` - SFP (100ME) + + * `1000base-x-gbic` - GBIC (1GE) + + * `1000base-x-sfp` - SFP (1GE) + + * `10gbase-x-sfpp` - SFP+ (10GE) + + * `10gbase-x-xfp` - XFP (10GE) + + * `10gbase-x-xenpak` - XENPAK (10GE) + + * `10gbase-x-x2` - X2 (10GE) + + * `25gbase-x-sfp28` - SFP28 (25GE) + + * `50gbase-x-sfp56` - SFP56 (50GE) + + * `40gbase-x-qsfpp` - QSFP+ (40GE) + + * `50gbase-x-sfp28` - QSFP28 (50GE) + + * `100gbase-x-cfp` - CFP (100GE) + + * `100gbase-x-cfp2` - CFP2 (100GE) + + * `200gbase-x-cfp2` - CFP2 (200GE) + + * `400gbase-x-cfp2` - CFP2 (400GE) + + * `100gbase-x-cfp4` - CFP4 (100GE) + + * `100gbase-x-cxp` - CXP (100GE) + + * `100gbase-x-cpak` - Cisco CPAK (100GE) + + * `100gbase-x-dsfp` - DSFP (100GE) + + * `100gbase-x-sfpdd` - SFP-DD (100GE) + + * `100gbase-x-qsfp28` - QSFP28 (100GE) + + * `100gbase-x-qsfpdd` - QSFP-DD (100GE) + + * `200gbase-x-qsfp56` - QSFP56 (200GE) + + * `200gbase-x-qsfpdd` - QSFP-DD (200GE) + + * `400gbase-x-qsfp112` - QSFP112 (400GE) + + * `400gbase-x-qsfpdd` - QSFP-DD (400GE) + + * `400gbase-x-osfp` - OSFP (400GE) + + * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) + + * `400gbase-x-cdfp` - CDFP (400GE) + + * `400gbase-x-cfp8` - CPF8 (400GE) + + * `800gbase-x-qsfpdd` - QSFP-DD (800GE) + + * `800gbase-x-osfp` - OSFP (800GE) + + * `1000base-kx` - 1000BASE-KX (1GE) + + * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) + + * `5gbase-kr` - 5GBASE-KR (5GE) + + * `10gbase-kr` - 10GBASE-KR (10GE) + + * `10gbase-kx4` - 10GBASE-KX4 (10GE) + + * `25gbase-kr` - 25GBASE-KR (25GE) + + * `40gbase-kr4` - 40GBASE-KR4 (40GE) + + * `50gbase-kr` - 50GBASE-KR (50GE) + + * `100gbase-kp4` - 100GBASE-KP4 (100GE) + + * `100gbase-kr2` - 100GBASE-KR2 (100GE) + + * `100gbase-kr4` - 100GBASE-KR4 (100GE) + + * `ieee802.11a` - IEEE 802.11a + + * `ieee802.11g` - IEEE 802.11b/g + + * `ieee802.11n` - IEEE 802.11n + + * `ieee802.11ac` - IEEE 802.11ac + + * `ieee802.11ad` - IEEE 802.11ad + + * `ieee802.11ax` - IEEE 802.11ax + + * `ieee802.11ay` - IEEE 802.11ay + + * `ieee802.11be` - IEEE 802.11be + + * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) + + * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) + + * `other-wireless` - Other (Wireless) + + * `gsm` - GSM + + * `cdma` - CDMA + + * `lte` - LTE + + * `4g` - 4G + + * `5g` - 5G + + * `sonet-oc3` - OC-3/STM-1 + + * `sonet-oc12` - OC-12/STM-4 + + * `sonet-oc48` - OC-48/STM-16 + + * `sonet-oc192` - OC-192/STM-64 + + * `sonet-oc768` - OC-768/STM-256 + + * `sonet-oc1920` - OC-1920/STM-640 + + * `sonet-oc3840` - OC-3840/STM-1234 + + * `1gfc-sfp` - SFP (1GFC) + + * `2gfc-sfp` - SFP (2GFC) + + * `4gfc-sfp` - SFP (4GFC) + + * `8gfc-sfpp` - SFP+ (8GFC) + + * `16gfc-sfpp` - SFP+ (16GFC) + + * `32gfc-sfp28` - SFP28 (32GFC) + + * `32gfc-sfpp` - SFP+ (32GFC) + + * `64gfc-qsfpp` - QSFP+ (64GFC) + + * `64gfc-sfpdd` - SFP-DD (64GFC) + + * `64gfc-sfpp` - SFP+ (64GFC) + + * `128gfc-qsfp28` - QSFP28 (128GFC) + + * `infiniband-sdr` - SDR (2 Gbps) + + * `infiniband-ddr` - DDR (4 Gbps) + + * `infiniband-qdr` - QDR (8 Gbps) + + * `infiniband-fdr10` - FDR10 (10 Gbps) + + * `infiniband-fdr` - FDR (13.5 Gbps) + + * `infiniband-edr` - EDR (25 Gbps) + + * `infiniband-hdr` - HDR (50 Gbps) + + * `infiniband-ndr` - NDR (100 Gbps) + + * `infiniband-xdr` - XDR (250 Gbps) + + * `t1` - T1 (1.544 Mbps) + + * `e1` - E1 (2.048 Mbps) + + * `t3` - T3 (45 Mbps) + + * `e3` - E3 (34 Mbps) + + * `xdsl` - xDSL + + * `docsis` - DOCSIS + + * `bpon` - BPON (622 Mbps / 155 Mbps) + + * `epon` - EPON (1 Gbps) + + * `10g-epon` - 10G-EPON (10 Gbps) + + * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) + + * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) + + * `xgs-pon` - XGS-PON (10 Gbps) + + * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) + + * `25g-pon` - 25G-PON (25 Gbps) + + * `50g-pon` - 50G-PON (50 Gbps) + + * `cisco-stackwise` - Cisco StackWise + + * `cisco-stackwise-plus` - Cisco StackWise Plus + + * `cisco-flexstack` - Cisco FlexStack + + * `cisco-flexstack-plus` - Cisco FlexStack Plus + + * `cisco-stackwise-80` - Cisco StackWise-80 + + * `cisco-stackwise-160` - Cisco StackWise-160 + + * `cisco-stackwise-320` - Cisco StackWise-320 + + * `cisco-stackwise-480` - Cisco StackWise-480 + + * `cisco-stackwise-1t` - Cisco StackWise-1T + + * `juniper-vcp` - Juniper VCP + + * `extreme-summitstack` - Extreme SummitStack + + * `extreme-summitstack-128` - Extreme SummitStack-128 + + * `extreme-summitstack-256` - Extreme SummitStack-256 + + * `extreme-summitstack-512` - Extreme SummitStack-512 + + * `other` - Other' explode: true style: form - in: query - name: created__lt + name: type__nie schema: type: array items: type: string - format: date-time + x-spec-enum-id: 56365107f9c2326f + enum: + - 1000base-kx + - 1000base-t + - 1000base-tx + - 1000base-x-gbic + - 1000base-x-sfp + - 100base-fx + - 100base-lfx + - 100base-t1 + - 100base-tx + - 100base-x-sfp + - 100gbase-kp4 + - 100gbase-kr2 + - 100gbase-kr4 + - 100gbase-x-cfp + - 100gbase-x-cfp2 + - 100gbase-x-cfp4 + - 100gbase-x-cpak + - 100gbase-x-cxp + - 100gbase-x-dsfp + - 100gbase-x-qsfp28 + - 100gbase-x-qsfpdd + - 100gbase-x-sfpdd + - 10g-epon + - 10gbase-cx4 + - 10gbase-kr + - 10gbase-kx4 + - 10gbase-t + - 10gbase-x-sfpp + - 10gbase-x-x2 + - 10gbase-x-xenpak + - 10gbase-x-xfp + - 128gfc-qsfp28 + - 16gfc-sfpp + - 1gfc-sfp + - 2.5gbase-kx + - 2.5gbase-t + - 200gbase-x-cfp2 + - 200gbase-x-qsfp56 + - 200gbase-x-qsfpdd + - 25g-pon + - 25gbase-kr + - 25gbase-x-sfp28 + - 2gfc-sfp + - 32gfc-sfp28 + - 32gfc-sfpp + - 400gbase-x-cdfp + - 400gbase-x-cfp2 + - 400gbase-x-cfp8 + - 400gbase-x-osfp + - 400gbase-x-osfp-rhs + - 400gbase-x-qsfp112 + - 400gbase-x-qsfpdd + - 40gbase-kr4 + - 40gbase-x-qsfpp + - 4g + - 4gfc-sfp + - 50g-pon + - 50gbase-kr + - 50gbase-x-sfp28 + - 50gbase-x-sfp56 + - 5g + - 5gbase-kr + - 5gbase-t + - 64gfc-qsfpp + - 64gfc-sfpdd + - 64gfc-sfpp + - 800gbase-x-osfp + - 800gbase-x-qsfpdd + - 8gfc-sfpp + - bpon + - bridge + - cdma + - cisco-flexstack + - cisco-flexstack-plus + - cisco-stackwise + - cisco-stackwise-160 + - cisco-stackwise-1t + - cisco-stackwise-320 + - cisco-stackwise-480 + - cisco-stackwise-80 + - cisco-stackwise-plus + - docsis + - e1 + - e3 + - epon + - extreme-summitstack + - extreme-summitstack-128 + - extreme-summitstack-256 + - extreme-summitstack-512 + - gpon + - gsm + - ieee802.11a + - ieee802.11ac + - ieee802.11ad + - ieee802.11ax + - ieee802.11ay + - ieee802.11be + - ieee802.11g + - ieee802.11n + - ieee802.15.1 + - ieee802.15.4 + - infiniband-ddr + - infiniband-edr + - infiniband-fdr + - infiniband-fdr10 + - infiniband-hdr + - infiniband-ndr + - infiniband-qdr + - infiniband-sdr + - infiniband-xdr + - juniper-vcp + - lag + - lte + - ng-pon2 + - other + - other-wireless + - sonet-oc12 + - sonet-oc192 + - sonet-oc1920 + - sonet-oc3 + - sonet-oc3840 + - sonet-oc48 + - sonet-oc768 + - t1 + - t3 + - virtual + - xdsl + - xg-pon + - xgs-pon + description: '* `virtual` - Virtual + + * `bridge` - Bridge + + * `lag` - Link Aggregation Group (LAG) + + * `100base-fx` - 100BASE-FX (10/100ME FIBER) + + * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) + + * `100base-tx` - 100BASE-TX (10/100ME) + + * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) + + * `1000base-t` - 1000BASE-T (1GE) + + * `1000base-tx` - 1000BASE-TX (1GE) + + * `2.5gbase-t` - 2.5GBASE-T (2.5GE) + + * `5gbase-t` - 5GBASE-T (5GE) + + * `10gbase-t` - 10GBASE-T (10GE) + + * `10gbase-cx4` - 10GBASE-CX4 (10GE) + + * `100base-x-sfp` - SFP (100ME) + + * `1000base-x-gbic` - GBIC (1GE) + + * `1000base-x-sfp` - SFP (1GE) + + * `10gbase-x-sfpp` - SFP+ (10GE) + + * `10gbase-x-xfp` - XFP (10GE) + + * `10gbase-x-xenpak` - XENPAK (10GE) + + * `10gbase-x-x2` - X2 (10GE) + + * `25gbase-x-sfp28` - SFP28 (25GE) + + * `50gbase-x-sfp56` - SFP56 (50GE) + + * `40gbase-x-qsfpp` - QSFP+ (40GE) + + * `50gbase-x-sfp28` - QSFP28 (50GE) + + * `100gbase-x-cfp` - CFP (100GE) + + * `100gbase-x-cfp2` - CFP2 (100GE) + + * `200gbase-x-cfp2` - CFP2 (200GE) + + * `400gbase-x-cfp2` - CFP2 (400GE) + + * `100gbase-x-cfp4` - CFP4 (100GE) + + * `100gbase-x-cxp` - CXP (100GE) + + * `100gbase-x-cpak` - Cisco CPAK (100GE) + + * `100gbase-x-dsfp` - DSFP (100GE) + + * `100gbase-x-sfpdd` - SFP-DD (100GE) + + * `100gbase-x-qsfp28` - QSFP28 (100GE) + + * `100gbase-x-qsfpdd` - QSFP-DD (100GE) + + * `200gbase-x-qsfp56` - QSFP56 (200GE) + + * `200gbase-x-qsfpdd` - QSFP-DD (200GE) + + * `400gbase-x-qsfp112` - QSFP112 (400GE) + + * `400gbase-x-qsfpdd` - QSFP-DD (400GE) + + * `400gbase-x-osfp` - OSFP (400GE) + + * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) + + * `400gbase-x-cdfp` - CDFP (400GE) + + * `400gbase-x-cfp8` - CPF8 (400GE) + + * `800gbase-x-qsfpdd` - QSFP-DD (800GE) + + * `800gbase-x-osfp` - OSFP (800GE) + + * `1000base-kx` - 1000BASE-KX (1GE) + + * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) + + * `5gbase-kr` - 5GBASE-KR (5GE) + + * `10gbase-kr` - 10GBASE-KR (10GE) + + * `10gbase-kx4` - 10GBASE-KX4 (10GE) + + * `25gbase-kr` - 25GBASE-KR (25GE) + + * `40gbase-kr4` - 40GBASE-KR4 (40GE) + + * `50gbase-kr` - 50GBASE-KR (50GE) + + * `100gbase-kp4` - 100GBASE-KP4 (100GE) + + * `100gbase-kr2` - 100GBASE-KR2 (100GE) + + * `100gbase-kr4` - 100GBASE-KR4 (100GE) + + * `ieee802.11a` - IEEE 802.11a + + * `ieee802.11g` - IEEE 802.11b/g + + * `ieee802.11n` - IEEE 802.11n + + * `ieee802.11ac` - IEEE 802.11ac + + * `ieee802.11ad` - IEEE 802.11ad + + * `ieee802.11ax` - IEEE 802.11ax + + * `ieee802.11ay` - IEEE 802.11ay + + * `ieee802.11be` - IEEE 802.11be + + * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) + + * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) + + * `other-wireless` - Other (Wireless) + + * `gsm` - GSM + + * `cdma` - CDMA + + * `lte` - LTE + + * `4g` - 4G + + * `5g` - 5G + + * `sonet-oc3` - OC-3/STM-1 + + * `sonet-oc12` - OC-12/STM-4 + + * `sonet-oc48` - OC-48/STM-16 + + * `sonet-oc192` - OC-192/STM-64 + + * `sonet-oc768` - OC-768/STM-256 + + * `sonet-oc1920` - OC-1920/STM-640 + + * `sonet-oc3840` - OC-3840/STM-1234 + + * `1gfc-sfp` - SFP (1GFC) + + * `2gfc-sfp` - SFP (2GFC) + + * `4gfc-sfp` - SFP (4GFC) + + * `8gfc-sfpp` - SFP+ (8GFC) + + * `16gfc-sfpp` - SFP+ (16GFC) + + * `32gfc-sfp28` - SFP28 (32GFC) + + * `32gfc-sfpp` - SFP+ (32GFC) + + * `64gfc-qsfpp` - QSFP+ (64GFC) + + * `64gfc-sfpdd` - SFP-DD (64GFC) + + * `64gfc-sfpp` - SFP+ (64GFC) + + * `128gfc-qsfp28` - QSFP28 (128GFC) + + * `infiniband-sdr` - SDR (2 Gbps) + + * `infiniband-ddr` - DDR (4 Gbps) + + * `infiniband-qdr` - QDR (8 Gbps) + + * `infiniband-fdr10` - FDR10 (10 Gbps) + + * `infiniband-fdr` - FDR (13.5 Gbps) + + * `infiniband-edr` - EDR (25 Gbps) + + * `infiniband-hdr` - HDR (50 Gbps) + + * `infiniband-ndr` - NDR (100 Gbps) + + * `infiniband-xdr` - XDR (250 Gbps) + + * `t1` - T1 (1.544 Mbps) + + * `e1` - E1 (2.048 Mbps) + + * `t3` - T3 (45 Mbps) + + * `e3` - E3 (34 Mbps) + + * `xdsl` - xDSL + + * `docsis` - DOCSIS + + * `bpon` - BPON (622 Mbps / 155 Mbps) + + * `epon` - EPON (1 Gbps) + + * `10g-epon` - 10G-EPON (10 Gbps) + + * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) + + * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) + + * `xgs-pon` - XGS-PON (10 Gbps) + + * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) + + * `25g-pon` - 25G-PON (25 Gbps) + + * `50g-pon` - 50G-PON (50 Gbps) + + * `cisco-stackwise` - Cisco StackWise + + * `cisco-stackwise-plus` - Cisco StackWise Plus + + * `cisco-flexstack` - Cisco FlexStack + + * `cisco-flexstack-plus` - Cisco FlexStack Plus + + * `cisco-stackwise-80` - Cisco StackWise-80 + + * `cisco-stackwise-160` - Cisco StackWise-160 + + * `cisco-stackwise-320` - Cisco StackWise-320 + + * `cisco-stackwise-480` - Cisco StackWise-480 + + * `cisco-stackwise-1t` - Cisco StackWise-1T + + * `juniper-vcp` - Juniper VCP + + * `extreme-summitstack` - Extreme SummitStack + + * `extreme-summitstack-128` - Extreme SummitStack-128 + + * `extreme-summitstack-256` - Extreme SummitStack-256 + + * `extreme-summitstack-512` - Extreme SummitStack-512 + + * `other` - Other' explode: true style: form - in: query - name: created__lte + name: type__niew schema: type: array items: type: string - format: date-time + x-spec-enum-id: 56365107f9c2326f + enum: + - 1000base-kx + - 1000base-t + - 1000base-tx + - 1000base-x-gbic + - 1000base-x-sfp + - 100base-fx + - 100base-lfx + - 100base-t1 + - 100base-tx + - 100base-x-sfp + - 100gbase-kp4 + - 100gbase-kr2 + - 100gbase-kr4 + - 100gbase-x-cfp + - 100gbase-x-cfp2 + - 100gbase-x-cfp4 + - 100gbase-x-cpak + - 100gbase-x-cxp + - 100gbase-x-dsfp + - 100gbase-x-qsfp28 + - 100gbase-x-qsfpdd + - 100gbase-x-sfpdd + - 10g-epon + - 10gbase-cx4 + - 10gbase-kr + - 10gbase-kx4 + - 10gbase-t + - 10gbase-x-sfpp + - 10gbase-x-x2 + - 10gbase-x-xenpak + - 10gbase-x-xfp + - 128gfc-qsfp28 + - 16gfc-sfpp + - 1gfc-sfp + - 2.5gbase-kx + - 2.5gbase-t + - 200gbase-x-cfp2 + - 200gbase-x-qsfp56 + - 200gbase-x-qsfpdd + - 25g-pon + - 25gbase-kr + - 25gbase-x-sfp28 + - 2gfc-sfp + - 32gfc-sfp28 + - 32gfc-sfpp + - 400gbase-x-cdfp + - 400gbase-x-cfp2 + - 400gbase-x-cfp8 + - 400gbase-x-osfp + - 400gbase-x-osfp-rhs + - 400gbase-x-qsfp112 + - 400gbase-x-qsfpdd + - 40gbase-kr4 + - 40gbase-x-qsfpp + - 4g + - 4gfc-sfp + - 50g-pon + - 50gbase-kr + - 50gbase-x-sfp28 + - 50gbase-x-sfp56 + - 5g + - 5gbase-kr + - 5gbase-t + - 64gfc-qsfpp + - 64gfc-sfpdd + - 64gfc-sfpp + - 800gbase-x-osfp + - 800gbase-x-qsfpdd + - 8gfc-sfpp + - bpon + - bridge + - cdma + - cisco-flexstack + - cisco-flexstack-plus + - cisco-stackwise + - cisco-stackwise-160 + - cisco-stackwise-1t + - cisco-stackwise-320 + - cisco-stackwise-480 + - cisco-stackwise-80 + - cisco-stackwise-plus + - docsis + - e1 + - e3 + - epon + - extreme-summitstack + - extreme-summitstack-128 + - extreme-summitstack-256 + - extreme-summitstack-512 + - gpon + - gsm + - ieee802.11a + - ieee802.11ac + - ieee802.11ad + - ieee802.11ax + - ieee802.11ay + - ieee802.11be + - ieee802.11g + - ieee802.11n + - ieee802.15.1 + - ieee802.15.4 + - infiniband-ddr + - infiniband-edr + - infiniband-fdr + - infiniband-fdr10 + - infiniband-hdr + - infiniband-ndr + - infiniband-qdr + - infiniband-sdr + - infiniband-xdr + - juniper-vcp + - lag + - lte + - ng-pon2 + - other + - other-wireless + - sonet-oc12 + - sonet-oc192 + - sonet-oc1920 + - sonet-oc3 + - sonet-oc3840 + - sonet-oc48 + - sonet-oc768 + - t1 + - t3 + - virtual + - xdsl + - xg-pon + - xgs-pon + description: '* `virtual` - Virtual + + * `bridge` - Bridge + + * `lag` - Link Aggregation Group (LAG) + + * `100base-fx` - 100BASE-FX (10/100ME FIBER) + + * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) + + * `100base-tx` - 100BASE-TX (10/100ME) + + * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) + + * `1000base-t` - 1000BASE-T (1GE) + + * `1000base-tx` - 1000BASE-TX (1GE) + + * `2.5gbase-t` - 2.5GBASE-T (2.5GE) + + * `5gbase-t` - 5GBASE-T (5GE) + + * `10gbase-t` - 10GBASE-T (10GE) + + * `10gbase-cx4` - 10GBASE-CX4 (10GE) + + * `100base-x-sfp` - SFP (100ME) + + * `1000base-x-gbic` - GBIC (1GE) + + * `1000base-x-sfp` - SFP (1GE) + + * `10gbase-x-sfpp` - SFP+ (10GE) + + * `10gbase-x-xfp` - XFP (10GE) + + * `10gbase-x-xenpak` - XENPAK (10GE) + + * `10gbase-x-x2` - X2 (10GE) + + * `25gbase-x-sfp28` - SFP28 (25GE) + + * `50gbase-x-sfp56` - SFP56 (50GE) + + * `40gbase-x-qsfpp` - QSFP+ (40GE) + + * `50gbase-x-sfp28` - QSFP28 (50GE) + + * `100gbase-x-cfp` - CFP (100GE) + + * `100gbase-x-cfp2` - CFP2 (100GE) + + * `200gbase-x-cfp2` - CFP2 (200GE) + + * `400gbase-x-cfp2` - CFP2 (400GE) + + * `100gbase-x-cfp4` - CFP4 (100GE) + + * `100gbase-x-cxp` - CXP (100GE) + + * `100gbase-x-cpak` - Cisco CPAK (100GE) + + * `100gbase-x-dsfp` - DSFP (100GE) + + * `100gbase-x-sfpdd` - SFP-DD (100GE) + + * `100gbase-x-qsfp28` - QSFP28 (100GE) + + * `100gbase-x-qsfpdd` - QSFP-DD (100GE) + + * `200gbase-x-qsfp56` - QSFP56 (200GE) + + * `200gbase-x-qsfpdd` - QSFP-DD (200GE) + + * `400gbase-x-qsfp112` - QSFP112 (400GE) + + * `400gbase-x-qsfpdd` - QSFP-DD (400GE) + + * `400gbase-x-osfp` - OSFP (400GE) + + * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) + + * `400gbase-x-cdfp` - CDFP (400GE) + + * `400gbase-x-cfp8` - CPF8 (400GE) + + * `800gbase-x-qsfpdd` - QSFP-DD (800GE) + + * `800gbase-x-osfp` - OSFP (800GE) + + * `1000base-kx` - 1000BASE-KX (1GE) + + * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) + + * `5gbase-kr` - 5GBASE-KR (5GE) + + * `10gbase-kr` - 10GBASE-KR (10GE) + + * `10gbase-kx4` - 10GBASE-KX4 (10GE) + + * `25gbase-kr` - 25GBASE-KR (25GE) + + * `40gbase-kr4` - 40GBASE-KR4 (40GE) + + * `50gbase-kr` - 50GBASE-KR (50GE) + + * `100gbase-kp4` - 100GBASE-KP4 (100GE) + + * `100gbase-kr2` - 100GBASE-KR2 (100GE) + + * `100gbase-kr4` - 100GBASE-KR4 (100GE) + + * `ieee802.11a` - IEEE 802.11a + + * `ieee802.11g` - IEEE 802.11b/g + + * `ieee802.11n` - IEEE 802.11n + + * `ieee802.11ac` - IEEE 802.11ac + + * `ieee802.11ad` - IEEE 802.11ad + + * `ieee802.11ax` - IEEE 802.11ax + + * `ieee802.11ay` - IEEE 802.11ay + + * `ieee802.11be` - IEEE 802.11be + + * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) + + * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) + + * `other-wireless` - Other (Wireless) + + * `gsm` - GSM + + * `cdma` - CDMA + + * `lte` - LTE + + * `4g` - 4G + + * `5g` - 5G + + * `sonet-oc3` - OC-3/STM-1 + + * `sonet-oc12` - OC-12/STM-4 + + * `sonet-oc48` - OC-48/STM-16 + + * `sonet-oc192` - OC-192/STM-64 + + * `sonet-oc768` - OC-768/STM-256 + + * `sonet-oc1920` - OC-1920/STM-640 + + * `sonet-oc3840` - OC-3840/STM-1234 + + * `1gfc-sfp` - SFP (1GFC) + + * `2gfc-sfp` - SFP (2GFC) + + * `4gfc-sfp` - SFP (4GFC) + + * `8gfc-sfpp` - SFP+ (8GFC) + + * `16gfc-sfpp` - SFP+ (16GFC) + + * `32gfc-sfp28` - SFP28 (32GFC) + + * `32gfc-sfpp` - SFP+ (32GFC) + + * `64gfc-qsfpp` - QSFP+ (64GFC) + + * `64gfc-sfpdd` - SFP-DD (64GFC) + + * `64gfc-sfpp` - SFP+ (64GFC) + + * `128gfc-qsfp28` - QSFP28 (128GFC) + + * `infiniband-sdr` - SDR (2 Gbps) + + * `infiniband-ddr` - DDR (4 Gbps) + + * `infiniband-qdr` - QDR (8 Gbps) + + * `infiniband-fdr10` - FDR10 (10 Gbps) + + * `infiniband-fdr` - FDR (13.5 Gbps) + + * `infiniband-edr` - EDR (25 Gbps) + + * `infiniband-hdr` - HDR (50 Gbps) + + * `infiniband-ndr` - NDR (100 Gbps) + + * `infiniband-xdr` - XDR (250 Gbps) + + * `t1` - T1 (1.544 Mbps) + + * `e1` - E1 (2.048 Mbps) + + * `t3` - T3 (45 Mbps) + + * `e3` - E3 (34 Mbps) + + * `xdsl` - xDSL + + * `docsis` - DOCSIS + + * `bpon` - BPON (622 Mbps / 155 Mbps) + + * `epon` - EPON (1 Gbps) + + * `10g-epon` - 10G-EPON (10 Gbps) + + * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) + + * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) + + * `xgs-pon` - XGS-PON (10 Gbps) + + * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) + + * `25g-pon` - 25G-PON (25 Gbps) + + * `50g-pon` - 50G-PON (50 Gbps) + + * `cisco-stackwise` - Cisco StackWise + + * `cisco-stackwise-plus` - Cisco StackWise Plus + + * `cisco-flexstack` - Cisco FlexStack + + * `cisco-flexstack-plus` - Cisco FlexStack Plus + + * `cisco-stackwise-80` - Cisco StackWise-80 + + * `cisco-stackwise-160` - Cisco StackWise-160 + + * `cisco-stackwise-320` - Cisco StackWise-320 + + * `cisco-stackwise-480` - Cisco StackWise-480 + + * `cisco-stackwise-1t` - Cisco StackWise-1T + + * `juniper-vcp` - Juniper VCP + + * `extreme-summitstack` - Extreme SummitStack + + * `extreme-summitstack-128` - Extreme SummitStack-128 + + * `extreme-summitstack-256` - Extreme SummitStack-256 + + * `extreme-summitstack-512` - Extreme SummitStack-512 + + * `other` - Other' 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: created_by_request - schema: - type: string - format: uuid - - in: query - name: description - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: description__empty - schema: - type: boolean - - 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__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 + name: type__nisw schema: type: array items: type: string + x-spec-enum-id: 56365107f9c2326f + enum: + - 1000base-kx + - 1000base-t + - 1000base-tx + - 1000base-x-gbic + - 1000base-x-sfp + - 100base-fx + - 100base-lfx + - 100base-t1 + - 100base-tx + - 100base-x-sfp + - 100gbase-kp4 + - 100gbase-kr2 + - 100gbase-kr4 + - 100gbase-x-cfp + - 100gbase-x-cfp2 + - 100gbase-x-cfp4 + - 100gbase-x-cpak + - 100gbase-x-cxp + - 100gbase-x-dsfp + - 100gbase-x-qsfp28 + - 100gbase-x-qsfpdd + - 100gbase-x-sfpdd + - 10g-epon + - 10gbase-cx4 + - 10gbase-kr + - 10gbase-kx4 + - 10gbase-t + - 10gbase-x-sfpp + - 10gbase-x-x2 + - 10gbase-x-xenpak + - 10gbase-x-xfp + - 128gfc-qsfp28 + - 16gfc-sfpp + - 1gfc-sfp + - 2.5gbase-kx + - 2.5gbase-t + - 200gbase-x-cfp2 + - 200gbase-x-qsfp56 + - 200gbase-x-qsfpdd + - 25g-pon + - 25gbase-kr + - 25gbase-x-sfp28 + - 2gfc-sfp + - 32gfc-sfp28 + - 32gfc-sfpp + - 400gbase-x-cdfp + - 400gbase-x-cfp2 + - 400gbase-x-cfp8 + - 400gbase-x-osfp + - 400gbase-x-osfp-rhs + - 400gbase-x-qsfp112 + - 400gbase-x-qsfpdd + - 40gbase-kr4 + - 40gbase-x-qsfpp + - 4g + - 4gfc-sfp + - 50g-pon + - 50gbase-kr + - 50gbase-x-sfp28 + - 50gbase-x-sfp56 + - 5g + - 5gbase-kr + - 5gbase-t + - 64gfc-qsfpp + - 64gfc-sfpdd + - 64gfc-sfpp + - 800gbase-x-osfp + - 800gbase-x-qsfpdd + - 8gfc-sfpp + - bpon + - bridge + - cdma + - cisco-flexstack + - cisco-flexstack-plus + - cisco-stackwise + - cisco-stackwise-160 + - cisco-stackwise-1t + - cisco-stackwise-320 + - cisco-stackwise-480 + - cisco-stackwise-80 + - cisco-stackwise-plus + - docsis + - e1 + - e3 + - epon + - extreme-summitstack + - extreme-summitstack-128 + - extreme-summitstack-256 + - extreme-summitstack-512 + - gpon + - gsm + - ieee802.11a + - ieee802.11ac + - ieee802.11ad + - ieee802.11ax + - ieee802.11ay + - ieee802.11be + - ieee802.11g + - ieee802.11n + - ieee802.15.1 + - ieee802.15.4 + - infiniband-ddr + - infiniband-edr + - infiniband-fdr + - infiniband-fdr10 + - infiniband-hdr + - infiniband-ndr + - infiniband-qdr + - infiniband-sdr + - infiniband-xdr + - juniper-vcp + - lag + - lte + - ng-pon2 + - other + - other-wireless + - sonet-oc12 + - sonet-oc192 + - sonet-oc1920 + - sonet-oc3 + - sonet-oc3840 + - sonet-oc48 + - sonet-oc768 + - t1 + - t3 + - virtual + - xdsl + - xg-pon + - xgs-pon + description: '* `virtual` - Virtual + + * `bridge` - Bridge + + * `lag` - Link Aggregation Group (LAG) + + * `100base-fx` - 100BASE-FX (10/100ME FIBER) + + * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) + + * `100base-tx` - 100BASE-TX (10/100ME) + + * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) + + * `1000base-t` - 1000BASE-T (1GE) + + * `1000base-tx` - 1000BASE-TX (1GE) + + * `2.5gbase-t` - 2.5GBASE-T (2.5GE) + + * `5gbase-t` - 5GBASE-T (5GE) + + * `10gbase-t` - 10GBASE-T (10GE) + + * `10gbase-cx4` - 10GBASE-CX4 (10GE) + + * `100base-x-sfp` - SFP (100ME) + + * `1000base-x-gbic` - GBIC (1GE) + + * `1000base-x-sfp` - SFP (1GE) + + * `10gbase-x-sfpp` - SFP+ (10GE) + + * `10gbase-x-xfp` - XFP (10GE) + + * `10gbase-x-xenpak` - XENPAK (10GE) + + * `10gbase-x-x2` - X2 (10GE) + + * `25gbase-x-sfp28` - SFP28 (25GE) + + * `50gbase-x-sfp56` - SFP56 (50GE) + + * `40gbase-x-qsfpp` - QSFP+ (40GE) + + * `50gbase-x-sfp28` - QSFP28 (50GE) + + * `100gbase-x-cfp` - CFP (100GE) + + * `100gbase-x-cfp2` - CFP2 (100GE) + + * `200gbase-x-cfp2` - CFP2 (200GE) + + * `400gbase-x-cfp2` - CFP2 (400GE) + + * `100gbase-x-cfp4` - CFP4 (100GE) + + * `100gbase-x-cxp` - CXP (100GE) + + * `100gbase-x-cpak` - Cisco CPAK (100GE) + + * `100gbase-x-dsfp` - DSFP (100GE) + + * `100gbase-x-sfpdd` - SFP-DD (100GE) + + * `100gbase-x-qsfp28` - QSFP28 (100GE) + + * `100gbase-x-qsfpdd` - QSFP-DD (100GE) + + * `200gbase-x-qsfp56` - QSFP56 (200GE) + + * `200gbase-x-qsfpdd` - QSFP-DD (200GE) + + * `400gbase-x-qsfp112` - QSFP112 (400GE) + + * `400gbase-x-qsfpdd` - QSFP-DD (400GE) + + * `400gbase-x-osfp` - OSFP (400GE) + + * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) + + * `400gbase-x-cdfp` - CDFP (400GE) + + * `400gbase-x-cfp8` - CPF8 (400GE) + + * `800gbase-x-qsfpdd` - QSFP-DD (800GE) + + * `800gbase-x-osfp` - OSFP (800GE) + + * `1000base-kx` - 1000BASE-KX (1GE) + + * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) + + * `5gbase-kr` - 5GBASE-KR (5GE) + + * `10gbase-kr` - 10GBASE-KR (10GE) + + * `10gbase-kx4` - 10GBASE-KX4 (10GE) + + * `25gbase-kr` - 25GBASE-KR (25GE) + + * `40gbase-kr4` - 40GBASE-KR4 (40GE) + + * `50gbase-kr` - 50GBASE-KR (50GE) + + * `100gbase-kp4` - 100GBASE-KP4 (100GE) + + * `100gbase-kr2` - 100GBASE-KR2 (100GE) + + * `100gbase-kr4` - 100GBASE-KR4 (100GE) + + * `ieee802.11a` - IEEE 802.11a + + * `ieee802.11g` - IEEE 802.11b/g + + * `ieee802.11n` - IEEE 802.11n + + * `ieee802.11ac` - IEEE 802.11ac + + * `ieee802.11ad` - IEEE 802.11ad + + * `ieee802.11ax` - IEEE 802.11ax + + * `ieee802.11ay` - IEEE 802.11ay + + * `ieee802.11be` - IEEE 802.11be + + * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) + + * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) + + * `other-wireless` - Other (Wireless) + + * `gsm` - GSM + + * `cdma` - CDMA + + * `lte` - LTE + + * `4g` - 4G + + * `5g` - 5G + + * `sonet-oc3` - OC-3/STM-1 + + * `sonet-oc12` - OC-12/STM-4 + + * `sonet-oc48` - OC-48/STM-16 + + * `sonet-oc192` - OC-192/STM-64 + + * `sonet-oc768` - OC-768/STM-256 + + * `sonet-oc1920` - OC-1920/STM-640 + + * `sonet-oc3840` - OC-3840/STM-1234 + + * `1gfc-sfp` - SFP (1GFC) + + * `2gfc-sfp` - SFP (2GFC) + + * `4gfc-sfp` - SFP (4GFC) + + * `8gfc-sfpp` - SFP+ (8GFC) + + * `16gfc-sfpp` - SFP+ (16GFC) + + * `32gfc-sfp28` - SFP28 (32GFC) + + * `32gfc-sfpp` - SFP+ (32GFC) + + * `64gfc-qsfpp` - QSFP+ (64GFC) + + * `64gfc-sfpdd` - SFP-DD (64GFC) + + * `64gfc-sfpp` - SFP+ (64GFC) + + * `128gfc-qsfp28` - QSFP28 (128GFC) + + * `infiniband-sdr` - SDR (2 Gbps) + + * `infiniband-ddr` - DDR (4 Gbps) + + * `infiniband-qdr` - QDR (8 Gbps) + + * `infiniband-fdr10` - FDR10 (10 Gbps) + + * `infiniband-fdr` - FDR (13.5 Gbps) + + * `infiniband-edr` - EDR (25 Gbps) + + * `infiniband-hdr` - HDR (50 Gbps) + + * `infiniband-ndr` - NDR (100 Gbps) + + * `infiniband-xdr` - XDR (250 Gbps) + + * `t1` - T1 (1.544 Mbps) + + * `e1` - E1 (2.048 Mbps) + + * `t3` - T3 (45 Mbps) + + * `e3` - E3 (34 Mbps) + + * `xdsl` - xDSL + + * `docsis` - DOCSIS + + * `bpon` - BPON (622 Mbps / 155 Mbps) + + * `epon` - EPON (1 Gbps) + + * `10g-epon` - 10G-EPON (10 Gbps) + + * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) + + * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) + + * `xgs-pon` - XGS-PON (10 Gbps) + + * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) + + * `25g-pon` - 25G-PON (25 Gbps) + + * `50g-pon` - 50G-PON (50 Gbps) + + * `cisco-stackwise` - Cisco StackWise + + * `cisco-stackwise-plus` - Cisco StackWise Plus + + * `cisco-flexstack` - Cisco FlexStack + + * `cisco-flexstack-plus` - Cisco FlexStack Plus + + * `cisco-stackwise-80` - Cisco StackWise-80 + + * `cisco-stackwise-160` - Cisco StackWise-160 + + * `cisco-stackwise-320` - Cisco StackWise-320 + + * `cisco-stackwise-480` - Cisco StackWise-480 + + * `cisco-stackwise-1t` - Cisco StackWise-1T + + * `juniper-vcp` - Juniper VCP + + * `extreme-summitstack` - Extreme SummitStack + + * `extreme-summitstack-128` - Extreme SummitStack-128 + + * `extreme-summitstack-256` - Extreme SummitStack-256 + + * `extreme-summitstack-512` - Extreme SummitStack-512 + + * `other` - Other' explode: true style: form - in: query - name: description__nie + name: updated_by_request schema: - type: array - items: - type: string - explode: true - style: form + type: string + format: uuid - in: query - name: description__niew + name: vdc schema: type: array items: type: string + description: Virtual Device Context explode: true style: form - in: query - name: description__nisw + name: vdc__n schema: type: array items: type: string + description: Virtual Device Context explode: true style: form - in: query - name: id - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: id__empty - schema: - type: boolean - - in: query - name: id__gt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: id__gte + name: vdc_id schema: type: array items: type: integer - format: int32 + description: Virtual Device Context explode: true style: form - in: query - name: id__lt + name: vdc_id__n schema: type: array items: type: integer - format: int32 + description: Virtual Device Context explode: true style: form - in: query - name: id__lte + name: vdc_identifier schema: type: array items: type: integer - format: int32 + maximum: 32767 + minimum: 0 + nullable: true + description: Virtual Device Context (Identifier) explode: true style: form - in: query - name: id__n + name: vdc_identifier__n schema: type: array items: type: integer - format: int32 - explode: true - style: form - - in: query - name: last_updated - schema: - type: array - items: - type: string - format: date-time + maximum: 32767 + minimum: 0 + nullable: true + description: Virtual Device Context (Identifier) explode: true style: form - in: query - name: last_updated__empty + name: virtual_chassis schema: type: array items: type: string - format: date-time + description: Virtual Chassis explode: true style: form - in: query - name: last_updated__gt + name: virtual_chassis__n schema: type: array items: type: string - format: date-time + description: Virtual Chassis explode: true style: form - in: query - name: last_updated__gte + name: virtual_chassis_id schema: type: array items: - type: string - format: date-time + type: integer + description: Virtual Chassis (ID) explode: true style: form - in: query - name: last_updated__lt + name: virtual_chassis_id__n schema: type: array items: - type: string - format: date-time + type: integer + description: Virtual Chassis (ID) explode: true style: form - in: query - name: last_updated__lte + name: virtual_chassis_member schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__n + name: virtual_chassis_member_id schema: type: array items: - type: string - format: date-time + type: integer + format: int32 explode: true style: form - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - in: query - name: modified_by_request + name: vlan schema: type: string - format: uuid - - in: query - name: name - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: name__empty - schema: - type: boolean - - 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 + description: Assigned VID - in: query - name: name__iew + name: vlan_id schema: - type: array - items: - type: string - explode: true - style: form + type: string + description: Assigned VLAN - in: query - name: name__isw + name: vrf schema: type: array items: type: string + nullable: true + title: Route distinguisher + description: VRF (RD) explode: true style: form - in: query - name: name__n + name: vrf__n schema: type: array items: type: string + nullable: true + title: Route distinguisher + description: VRF (RD) explode: true style: form - in: query - name: name__nic + name: vrf_id schema: type: array items: - type: string + type: integer + description: VRF explode: true style: form - in: query - name: name__nie + name: vrf_id__n schema: type: array items: - type: string + type: integer + description: VRF explode: true style: form - in: query - name: name__niew + name: wireless_lan_id schema: type: array items: - type: string + type: integer + description: Wireless LAN explode: true style: form - in: query - name: name__nisw + name: wireless_lan_id__n schema: type: array items: - type: string + type: integer + description: Wireless LAN explode: true style: form - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - in: query - name: q - schema: - type: string - description: Search - - in: query - name: slug + name: wireless_link_id schema: type: array items: - type: string + type: integer + nullable: true + description: Wireless link explode: true style: form - in: query - name: slug__empty - schema: - type: boolean - - in: query - name: slug__ic + name: wireless_link_id__n schema: type: array items: - type: string + type: integer + nullable: true + description: Wireless link explode: true style: form - in: query - name: slug__ie + name: wwn schema: type: array items: @@ -29963,7 +47453,7 @@ paths: explode: true style: form - in: query - name: slug__iew + name: wwn__ic schema: type: array items: @@ -29971,7 +47461,7 @@ paths: explode: true style: form - in: query - name: slug__isw + name: wwn__ie schema: type: array items: @@ -29979,7 +47469,7 @@ paths: explode: true style: form - in: query - name: slug__n + name: wwn__iew schema: type: array items: @@ -29987,7 +47477,7 @@ paths: explode: true style: form - in: query - name: slug__nic + name: wwn__isw schema: type: array items: @@ -29995,7 +47485,7 @@ paths: explode: true style: form - in: query - name: slug__nie + name: wwn__n schema: type: array items: @@ -30003,7 +47493,7 @@ paths: explode: true style: form - in: query - name: slug__niew + name: wwn__nic schema: type: array items: @@ -30011,7 +47501,7 @@ paths: explode: true style: form - in: query - name: slug__nisw + name: wwn__nie schema: type: array items: @@ -30019,7 +47509,7 @@ paths: explode: true style: form - in: query - name: tag + name: wwn__niew schema: type: array items: @@ -30027,18 +47517,13 @@ paths: explode: true style: form - in: query - name: tag__n + name: wwn__nisw schema: type: array items: type: string explode: true style: form - - in: query - name: updated_by_request - schema: - type: string - format: uuid tags: - dcim security: @@ -30049,21 +47534,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedManufacturerList' + $ref: '#/components/schemas/PaginatedInterfaceList' description: '' post: - operationId: dcim_manufacturers_create - description: Post a list of manufacturer objects. + operationId: dcim_interfaces_create + description: Post a list of interface objects. tags: - dcim requestBody: content: application/json: schema: - $ref: '#/components/schemas/ManufacturerRequest' + $ref: '#/components/schemas/WritableInterfaceRequest' multipart/form-data: schema: - $ref: '#/components/schemas/ManufacturerRequest' + $ref: '#/components/schemas/WritableInterfaceRequest' required: true security: - cookieAuth: [] @@ -30073,11 +47558,11 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Manufacturer' + $ref: '#/components/schemas/Interface' description: '' put: - operationId: dcim_manufacturers_bulk_update - description: Put a list of manufacturer objects. + operationId: dcim_interfaces_bulk_update + description: Put a list of interface objects. tags: - dcim requestBody: @@ -30086,12 +47571,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ManufacturerRequest' + $ref: '#/components/schemas/InterfaceRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ManufacturerRequest' + $ref: '#/components/schemas/InterfaceRequest' required: true security: - cookieAuth: [] @@ -30103,11 +47588,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/Manufacturer' + $ref: '#/components/schemas/Interface' description: '' patch: - operationId: dcim_manufacturers_bulk_partial_update - description: Patch a list of manufacturer objects. + operationId: dcim_interfaces_bulk_partial_update + description: Patch a list of interface objects. tags: - dcim requestBody: @@ -30116,12 +47601,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ManufacturerRequest' + $ref: '#/components/schemas/InterfaceRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ManufacturerRequest' + $ref: '#/components/schemas/InterfaceRequest' required: true security: - cookieAuth: [] @@ -30133,11 +47618,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/Manufacturer' + $ref: '#/components/schemas/Interface' description: '' delete: - operationId: dcim_manufacturers_bulk_destroy - description: Delete a list of manufacturer objects. + operationId: dcim_interfaces_bulk_destroy + description: Delete a list of interface objects. tags: - dcim requestBody: @@ -30146,12 +47631,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ManufacturerRequest' + $ref: '#/components/schemas/InterfaceRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ManufacturerRequest' + $ref: '#/components/schemas/InterfaceRequest' required: true security: - cookieAuth: [] @@ -30159,16 +47644,16 @@ paths: responses: '204': description: No response body - /api/dcim/manufacturers/{id}/: + /api/dcim/interfaces/{id}/: get: - operationId: dcim_manufacturers_retrieve - description: Get a manufacturer object. + operationId: dcim_interfaces_retrieve + description: Get a interface object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this manufacturer. + description: A unique integer value identifying this interface. required: true tags: - dcim @@ -30180,17 +47665,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Manufacturer' + $ref: '#/components/schemas/Interface' description: '' put: - operationId: dcim_manufacturers_update - description: Put a manufacturer object. + operationId: dcim_interfaces_update + description: Put a interface object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this manufacturer. + description: A unique integer value identifying this interface. required: true tags: - dcim @@ -30198,10 +47683,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ManufacturerRequest' + $ref: '#/components/schemas/WritableInterfaceRequest' multipart/form-data: schema: - $ref: '#/components/schemas/ManufacturerRequest' + $ref: '#/components/schemas/WritableInterfaceRequest' required: true security: - cookieAuth: [] @@ -30211,17 +47696,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Manufacturer' + $ref: '#/components/schemas/Interface' description: '' patch: - operationId: dcim_manufacturers_partial_update - description: Patch a manufacturer object. + operationId: dcim_interfaces_partial_update + description: Patch a interface object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this manufacturer. + description: A unique integer value identifying this interface. required: true tags: - dcim @@ -30229,10 +47714,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PatchedManufacturerRequest' + $ref: '#/components/schemas/PatchedWritableInterfaceRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedManufacturerRequest' + $ref: '#/components/schemas/PatchedWritableInterfaceRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -30241,17 +47726,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Manufacturer' + $ref: '#/components/schemas/Interface' description: '' delete: - operationId: dcim_manufacturers_destroy - description: Delete a manufacturer object. + operationId: dcim_interfaces_destroy + description: Delete a interface object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this manufacturer. + description: A unique integer value identifying this interface. required: true tags: - dcim @@ -30261,81 +47746,81 @@ paths: responses: '204': description: No response body - /api/dcim/module-bay-templates/: + /api/dcim/interfaces/{id}/trace/: get: - operationId: dcim_module_bay_templates_list - description: Get a list of module bay template objects. + operationId: dcim_interfaces_trace_retrieve + description: Trace a complete cable path and return each segment as a three-tuple + of (termination, cable, termination). parameters: - - in: query - name: created + - in: path + name: id schema: - type: array - items: - type: string - format: date-time - explode: true - style: form + type: integer + description: A unique integer value identifying this interface. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/Interface' + description: '' + /api/dcim/inventory-item-roles/: + get: + operationId: dcim_inventory_item_roles_list + description: Get a list of inventory item role objects. + parameters: - in: query - name: created__empty + name: color schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__gt + name: color__empty schema: - type: array - items: - type: string - format: date-time - explode: true - style: form + type: boolean - in: query - name: created__gte + name: color__ic schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__lt + name: color__ie schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__lte + name: color__iew schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__n + name: color__isw schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created_by_request - schema: - type: string - format: uuid - - in: query - name: description + name: color__n schema: type: array items: @@ -30343,11 +47828,7 @@ paths: explode: true style: form - in: query - name: description__empty - schema: - type: boolean - - in: query - name: description__ic + name: color__nic schema: type: array items: @@ -30355,7 +47836,7 @@ paths: explode: true style: form - in: query - name: description__ie + name: color__nie schema: type: array items: @@ -30363,7 +47844,7 @@ paths: explode: true style: form - in: query - name: description__iew + name: color__niew schema: type: array items: @@ -30371,7 +47852,7 @@ paths: explode: true style: form - in: query - name: description__isw + name: color__nisw schema: type: array items: @@ -30379,141 +47860,127 @@ paths: 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__empty schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: description__nie + name: created__gt schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: description__niew + name: created__gte schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: description__nisw + name: created__lt schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: device_type_id - schema: - type: array - items: - type: integer - description: Device type (ID) - explode: true - style: form - - in: query - name: device_type_id__n + name: created__lte schema: type: array items: - type: integer - description: Device type (ID) + type: string + format: date-time explode: true style: form - in: query - name: devicetype_id + name: created__n schema: type: array items: - type: integer - description: Device type (ID) + type: string + format: date-time explode: true style: form - in: query - name: devicetype_id__n + name: created_by_request schema: - type: array - items: - type: integer - description: Device type (ID) - explode: true - style: form + type: string + format: uuid - in: query - name: id + name: description schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__empty + name: description__empty schema: type: boolean - in: query - name: id__gt + name: description__ic schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__gte + name: description__ie schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__lt + name: description__iew schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__lte + name: description__isw schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__n + name: description__n schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: label + name: description__nic schema: type: array items: @@ -30521,11 +47988,7 @@ paths: explode: true style: form - in: query - name: label__empty - schema: - type: boolean - - in: query - name: label__ic + name: description__nie schema: type: array items: @@ -30533,7 +47996,7 @@ paths: explode: true style: form - in: query - name: label__ie + name: description__niew schema: type: array items: @@ -30541,7 +48004,7 @@ paths: explode: true style: form - in: query - name: label__iew + name: description__nisw schema: type: array items: @@ -30549,51 +48012,61 @@ paths: explode: true style: form - in: query - name: label__isw + name: id schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: label__n + name: id__empty + schema: + type: boolean + - in: query + name: id__gt schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: label__nic + name: id__gte schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: label__nie + name: id__lt schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: label__niew + name: id__lte schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: label__nisw + name: id__n schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query @@ -30767,7 +48240,12 @@ paths: schema: type: string - in: query - name: position + name: q + schema: + type: string + description: Search + - in: query + name: slug schema: type: array items: @@ -30775,11 +48253,11 @@ paths: explode: true style: form - in: query - name: position__empty + name: slug__empty schema: type: boolean - in: query - name: position__ic + name: slug__ic schema: type: array items: @@ -30787,7 +48265,7 @@ paths: explode: true style: form - in: query - name: position__ie + name: slug__ie schema: type: array items: @@ -30795,7 +48273,7 @@ paths: explode: true style: form - in: query - name: position__iew + name: slug__iew schema: type: array items: @@ -30803,7 +48281,7 @@ paths: explode: true style: form - in: query - name: position__isw + name: slug__isw schema: type: array items: @@ -30811,7 +48289,7 @@ paths: explode: true style: form - in: query - name: position__n + name: slug__n schema: type: array items: @@ -30819,7 +48297,7 @@ paths: explode: true style: form - in: query - name: position__nic + name: slug__nic schema: type: array items: @@ -30827,7 +48305,7 @@ paths: explode: true style: form - in: query - name: position__nie + name: slug__nie schema: type: array items: @@ -30835,7 +48313,7 @@ paths: explode: true style: form - in: query - name: position__niew + name: slug__niew schema: type: array items: @@ -30843,7 +48321,7 @@ paths: explode: true style: form - in: query - name: position__nisw + name: slug__nisw schema: type: array items: @@ -30851,10 +48329,21 @@ paths: explode: true style: form - in: query - name: q + name: tag schema: - type: string - description: Search + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form - in: query name: updated_by_request schema: @@ -30870,21 +48359,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedModuleBayTemplateList' + $ref: '#/components/schemas/PaginatedInventoryItemRoleList' description: '' post: - operationId: dcim_module_bay_templates_create - description: Post a list of module bay template objects. + operationId: dcim_inventory_item_roles_create + description: Post a list of inventory item role objects. tags: - dcim requestBody: content: application/json: schema: - $ref: '#/components/schemas/ModuleBayTemplateRequest' + $ref: '#/components/schemas/InventoryItemRoleRequest' multipart/form-data: schema: - $ref: '#/components/schemas/ModuleBayTemplateRequest' + $ref: '#/components/schemas/InventoryItemRoleRequest' required: true security: - cookieAuth: [] @@ -30894,11 +48383,11 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ModuleBayTemplate' + $ref: '#/components/schemas/InventoryItemRole' description: '' put: - operationId: dcim_module_bay_templates_bulk_update - description: Put a list of module bay template objects. + operationId: dcim_inventory_item_roles_bulk_update + description: Put a list of inventory item role objects. tags: - dcim requestBody: @@ -30907,12 +48396,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ModuleBayTemplateRequest' + $ref: '#/components/schemas/InventoryItemRoleRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ModuleBayTemplateRequest' + $ref: '#/components/schemas/InventoryItemRoleRequest' required: true security: - cookieAuth: [] @@ -30924,11 +48413,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ModuleBayTemplate' + $ref: '#/components/schemas/InventoryItemRole' description: '' patch: - operationId: dcim_module_bay_templates_bulk_partial_update - description: Patch a list of module bay template objects. + operationId: dcim_inventory_item_roles_bulk_partial_update + description: Patch a list of inventory item role objects. tags: - dcim requestBody: @@ -30937,12 +48426,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ModuleBayTemplateRequest' + $ref: '#/components/schemas/InventoryItemRoleRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ModuleBayTemplateRequest' + $ref: '#/components/schemas/InventoryItemRoleRequest' required: true security: - cookieAuth: [] @@ -30954,11 +48443,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ModuleBayTemplate' + $ref: '#/components/schemas/InventoryItemRole' description: '' delete: - operationId: dcim_module_bay_templates_bulk_destroy - description: Delete a list of module bay template objects. + operationId: dcim_inventory_item_roles_bulk_destroy + description: Delete a list of inventory item role objects. tags: - dcim requestBody: @@ -30967,12 +48456,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ModuleBayTemplateRequest' + $ref: '#/components/schemas/InventoryItemRoleRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ModuleBayTemplateRequest' + $ref: '#/components/schemas/InventoryItemRoleRequest' required: true security: - cookieAuth: [] @@ -30980,16 +48469,16 @@ paths: responses: '204': description: No response body - /api/dcim/module-bay-templates/{id}/: + /api/dcim/inventory-item-roles/{id}/: get: - operationId: dcim_module_bay_templates_retrieve - description: Get a module bay template object. + operationId: dcim_inventory_item_roles_retrieve + description: Get a inventory item role object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this module bay template. + description: A unique integer value identifying this inventory item role. required: true tags: - dcim @@ -31001,17 +48490,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ModuleBayTemplate' + $ref: '#/components/schemas/InventoryItemRole' description: '' put: - operationId: dcim_module_bay_templates_update - description: Put a module bay template object. + operationId: dcim_inventory_item_roles_update + description: Put a inventory item role object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this module bay template. + description: A unique integer value identifying this inventory item role. required: true tags: - dcim @@ -31019,10 +48508,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ModuleBayTemplateRequest' + $ref: '#/components/schemas/InventoryItemRoleRequest' multipart/form-data: schema: - $ref: '#/components/schemas/ModuleBayTemplateRequest' + $ref: '#/components/schemas/InventoryItemRoleRequest' required: true security: - cookieAuth: [] @@ -31032,17 +48521,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ModuleBayTemplate' + $ref: '#/components/schemas/InventoryItemRole' description: '' patch: - operationId: dcim_module_bay_templates_partial_update - description: Patch a module bay template object. + operationId: dcim_inventory_item_roles_partial_update + description: Patch a inventory item role object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this module bay template. + description: A unique integer value identifying this inventory item role. required: true tags: - dcim @@ -31050,10 +48539,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PatchedModuleBayTemplateRequest' + $ref: '#/components/schemas/PatchedInventoryItemRoleRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedModuleBayTemplateRequest' + $ref: '#/components/schemas/PatchedInventoryItemRoleRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -31062,17 +48551,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ModuleBayTemplate' + $ref: '#/components/schemas/InventoryItemRole' description: '' delete: - operationId: dcim_module_bay_templates_destroy - description: Delete a module bay template object. + operationId: dcim_inventory_item_roles_destroy + description: Delete a inventory item role object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this module bay template. + description: A unique integer value identifying this inventory item role. required: true tags: - dcim @@ -31082,133 +48571,152 @@ paths: responses: '204': description: No response body - /api/dcim/module-bays/: + /api/dcim/inventory-item-templates/: get: - operationId: dcim_module_bays_list - description: Get a list of module bay objects. + operationId: dcim_inventory_item_templates_list + description: Get a list of inventory item template objects. parameters: - in: query - name: created + name: component_id schema: type: array items: - type: string - format: date-time + type: integer + format: int32 explode: true style: form - in: query - name: created__empty + name: component_id__empty schema: type: array items: - type: string - format: date-time + type: integer + format: int32 explode: true style: form - in: query - name: created__gt + name: component_id__gt schema: type: array items: - type: string - format: date-time + type: integer + format: int32 explode: true style: form - in: query - name: created__gte + name: component_id__gte schema: type: array items: - type: string - format: date-time + type: integer + format: int32 explode: true style: form - in: query - name: created__lt + name: component_id__lt schema: type: array items: - type: string - format: date-time + type: integer + format: int32 explode: true style: form - in: query - name: created__lte + name: component_id__lte schema: type: array items: - type: string - format: date-time + type: integer + format: int32 explode: true style: form - in: query - name: created__n + name: component_id__n schema: type: array items: - type: string - format: date-time + type: integer + format: int32 explode: true style: form - in: query - name: created_by_request + name: component_type schema: type: string - format: uuid - in: query - name: description + name: component_type__n + schema: + type: string + - in: query + name: created schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: description__empty + name: created__empty schema: - type: boolean + type: array + items: + type: string + format: date-time + explode: true + style: form - in: query - name: description__ic + name: created__gt schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: description__ie + name: created__gte schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: description__iew + name: created__lt schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: description__isw + name: created__lte schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: description__n + name: created__n schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: description__nic + name: created_by_request + schema: + type: string + format: uuid + - in: query + name: description schema: type: array items: @@ -31216,7 +48724,11 @@ paths: explode: true style: form - in: query - name: description__nie + name: description__empty + schema: + type: boolean + - in: query + name: description__ic schema: type: array items: @@ -31224,7 +48736,7 @@ paths: explode: true style: form - in: query - name: description__niew + name: description__ie schema: type: array items: @@ -31232,7 +48744,7 @@ paths: explode: true style: form - in: query - name: description__nisw + name: description__iew schema: type: array items: @@ -31240,59 +48752,51 @@ paths: explode: true style: form - in: query - name: device + name: description__isw schema: type: array items: type: string - nullable: true - description: Device (name) explode: true style: form - in: query - name: device__n + name: description__n schema: type: array items: type: string - nullable: true - description: Device (name) explode: true style: form - in: query - name: device_id + name: description__nic schema: type: array items: - type: integer - description: Device (ID) + type: string explode: true style: form - in: query - name: device_id__n + name: description__nie schema: type: array items: - type: integer - description: Device (ID) + type: string explode: true style: form - in: query - name: device_type + name: description__niew schema: type: array items: type: string - description: Device type (model) explode: true style: form - in: query - name: device_type__n + name: description__nisw schema: type: array items: type: string - description: Device type (model) explode: true style: form - in: query @@ -31371,24 +48875,6 @@ paths: format: int32 explode: true style: form - - in: query - name: installed_module_id - schema: - type: array - items: - type: integer - description: Installed module (ID) - explode: true - style: form - - in: query - name: installed_module_id__n - schema: - type: array - items: - type: integer - description: Installed module (ID) - explode: true - style: form - in: query name: label schema: @@ -31543,39 +49029,41 @@ paths: schema: type: integer - in: query - name: location + name: manufacturer schema: type: array items: type: string - description: Location (slug) + description: Manufacturer (slug) explode: true style: form - in: query - name: location__n + name: manufacturer__n schema: type: array items: type: string - description: Location (slug) + description: Manufacturer (slug) explode: true style: form - in: query - name: location_id + name: manufacturer_id schema: type: array items: type: integer - description: Location (ID) + nullable: true + description: Manufacturer (ID) explode: true style: form - in: query - name: location_id__n + name: manufacturer_id__n schema: type: array items: type: integer - description: Location (ID) + nullable: true + description: Manufacturer (ID) explode: true style: form - in: query @@ -31680,27 +49168,27 @@ paths: schema: type: string - in: query - name: position + name: parent_id schema: type: array items: - type: string + type: integer + nullable: true + description: Parent inventory item (ID) explode: true style: form - in: query - name: position__empty - schema: - type: boolean - - in: query - name: position__ic + name: parent_id__n schema: type: array items: - type: string + type: integer + nullable: true + description: Parent inventory item (ID) explode: true style: form - in: query - name: position__ie + name: part_id schema: type: array items: @@ -31708,15 +49196,11 @@ paths: explode: true style: form - in: query - name: position__iew + name: part_id__empty schema: - type: array - items: - type: string - explode: true - style: form + type: boolean - in: query - name: position__isw + name: part_id__ic schema: type: array items: @@ -31724,7 +49208,7 @@ paths: explode: true style: form - in: query - name: position__n + name: part_id__ie schema: type: array items: @@ -31732,7 +49216,7 @@ paths: explode: true style: form - in: query - name: position__nic + name: part_id__iew schema: type: array items: @@ -31740,7 +49224,7 @@ paths: explode: true style: form - in: query - name: position__nie + name: part_id__isw schema: type: array items: @@ -31748,7 +49232,7 @@ paths: explode: true style: form - in: query - name: position__niew + name: part_id__n schema: type: array items: @@ -31756,7 +49240,7 @@ paths: explode: true style: form - in: query - name: position__nisw + name: part_id__nic schema: type: array items: @@ -31764,89 +49248,41 @@ paths: explode: true style: form - in: query - name: q - schema: - type: string - description: Search - - in: query - name: rack + name: part_id__nie schema: type: array items: type: string - description: Rack (name) explode: true style: form - in: query - name: rack__n + name: part_id__niew schema: type: array items: type: string - description: Rack (name) - explode: true - style: form - - in: query - name: rack_id - schema: - type: array - items: - type: integer - description: Rack (ID) - explode: true - style: form - - in: query - name: rack_id__n - schema: - type: array - items: - type: integer - description: Rack (ID) - explode: true - style: form - - in: query - name: region - schema: - type: array - items: - type: integer - description: Region (slug) - explode: true - style: form - - in: query - name: region__n - schema: - type: array - items: - type: integer - description: Region (slug) explode: true style: form - in: query - name: region_id + name: part_id__nisw schema: type: array items: - type: integer - description: Region (ID) + type: string explode: true style: form - in: query - name: region_id__n + name: q schema: - type: array - items: - type: integer - description: Region (ID) - explode: true - style: form + type: string + description: Search - in: query name: role schema: type: array items: type: string - description: Device role (slug) + description: Role (slug) explode: true style: form - in: query @@ -31855,7 +49291,7 @@ paths: type: array items: type: string - description: Device role (slug) + description: Role (slug) explode: true style: form - in: query @@ -31864,7 +49300,8 @@ paths: type: array items: type: integer - description: Device role (ID) + nullable: true + description: Role (ID) explode: true style: form - in: query @@ -31873,95 +49310,8 @@ paths: type: array items: type: integer - description: Device role (ID) - explode: true - style: form - - in: query - name: site - schema: - type: array - items: - type: string - description: Site name (slug) - explode: true - style: form - - in: query - name: site__n - schema: - type: array - items: - type: string - description: Site name (slug) - explode: true - style: form - - in: query - name: site_group - schema: - type: array - items: - type: integer - description: Site group (slug) - explode: true - style: form - - in: query - name: site_group__n - schema: - type: array - items: - type: integer - description: Site group (slug) - explode: true - style: form - - in: query - name: site_group_id - schema: - type: array - items: - type: integer - description: Site group (ID) - explode: true - style: form - - in: query - name: site_group_id__n - schema: - type: array - items: - type: integer - description: Site group (ID) - explode: true - style: form - - in: query - name: site_id - schema: - type: array - items: - type: integer - description: Site (ID) - explode: true - style: form - - in: query - name: site_id__n - schema: - type: array - items: - type: integer - description: Site (ID) - explode: true - style: form - - in: query - name: tag - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: tag__n - schema: - type: array - items: - type: string + nullable: true + description: Role (ID) explode: true style: form - in: query @@ -31969,42 +49319,6 @@ paths: schema: type: string format: uuid - - in: query - name: virtual_chassis - schema: - type: array - items: - type: string - description: Virtual Chassis - explode: true - style: form - - in: query - name: virtual_chassis__n - schema: - type: array - items: - type: string - description: Virtual Chassis - explode: true - style: form - - in: query - name: virtual_chassis_id - schema: - type: array - items: - type: integer - description: Virtual Chassis (ID) - explode: true - style: form - - in: query - name: virtual_chassis_id__n - schema: - type: array - items: - type: integer - description: Virtual Chassis (ID) - explode: true - style: form tags: - dcim security: @@ -32015,21 +49329,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedModuleBayList' + $ref: '#/components/schemas/PaginatedInventoryItemTemplateList' description: '' post: - operationId: dcim_module_bays_create - description: Post a list of module bay objects. + operationId: dcim_inventory_item_templates_create + description: Post a list of inventory item template objects. tags: - dcim requestBody: content: application/json: schema: - $ref: '#/components/schemas/ModuleBayRequest' + $ref: '#/components/schemas/InventoryItemTemplateRequest' multipart/form-data: schema: - $ref: '#/components/schemas/ModuleBayRequest' + $ref: '#/components/schemas/InventoryItemTemplateRequest' required: true security: - cookieAuth: [] @@ -32039,11 +49353,11 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ModuleBay' + $ref: '#/components/schemas/InventoryItemTemplate' description: '' put: - operationId: dcim_module_bays_bulk_update - description: Put a list of module bay objects. + operationId: dcim_inventory_item_templates_bulk_update + description: Put a list of inventory item template objects. tags: - dcim requestBody: @@ -32052,12 +49366,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ModuleBayRequest' + $ref: '#/components/schemas/InventoryItemTemplateRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ModuleBayRequest' + $ref: '#/components/schemas/InventoryItemTemplateRequest' required: true security: - cookieAuth: [] @@ -32069,11 +49383,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ModuleBay' + $ref: '#/components/schemas/InventoryItemTemplate' description: '' patch: - operationId: dcim_module_bays_bulk_partial_update - description: Patch a list of module bay objects. + operationId: dcim_inventory_item_templates_bulk_partial_update + description: Patch a list of inventory item template objects. tags: - dcim requestBody: @@ -32082,12 +49396,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ModuleBayRequest' + $ref: '#/components/schemas/InventoryItemTemplateRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ModuleBayRequest' + $ref: '#/components/schemas/InventoryItemTemplateRequest' required: true security: - cookieAuth: [] @@ -32099,11 +49413,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ModuleBay' + $ref: '#/components/schemas/InventoryItemTemplate' description: '' delete: - operationId: dcim_module_bays_bulk_destroy - description: Delete a list of module bay objects. + operationId: dcim_inventory_item_templates_bulk_destroy + description: Delete a list of inventory item template objects. tags: - dcim requestBody: @@ -32112,12 +49426,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ModuleBayRequest' + $ref: '#/components/schemas/InventoryItemTemplateRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ModuleBayRequest' + $ref: '#/components/schemas/InventoryItemTemplateRequest' required: true security: - cookieAuth: [] @@ -32125,16 +49439,16 @@ paths: responses: '204': description: No response body - /api/dcim/module-bays/{id}/: + /api/dcim/inventory-item-templates/{id}/: get: - operationId: dcim_module_bays_retrieve - description: Get a module bay object. + operationId: dcim_inventory_item_templates_retrieve + description: Get a inventory item template object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this module bay. + description: A unique integer value identifying this inventory item template. required: true tags: - dcim @@ -32146,17 +49460,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ModuleBay' + $ref: '#/components/schemas/InventoryItemTemplate' description: '' put: - operationId: dcim_module_bays_update - description: Put a module bay object. + operationId: dcim_inventory_item_templates_update + description: Put a inventory item template object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this module bay. + description: A unique integer value identifying this inventory item template. required: true tags: - dcim @@ -32164,10 +49478,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ModuleBayRequest' + $ref: '#/components/schemas/InventoryItemTemplateRequest' multipart/form-data: schema: - $ref: '#/components/schemas/ModuleBayRequest' + $ref: '#/components/schemas/InventoryItemTemplateRequest' required: true security: - cookieAuth: [] @@ -32177,17 +49491,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ModuleBay' + $ref: '#/components/schemas/InventoryItemTemplate' description: '' patch: - operationId: dcim_module_bays_partial_update - description: Patch a module bay object. + operationId: dcim_inventory_item_templates_partial_update + description: Patch a inventory item template object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this module bay. + description: A unique integer value identifying this inventory item template. required: true tags: - dcim @@ -32195,10 +49509,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PatchedModuleBayRequest' + $ref: '#/components/schemas/PatchedInventoryItemTemplateRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedModuleBayRequest' + $ref: '#/components/schemas/PatchedInventoryItemTemplateRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -32207,17 +49521,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ModuleBay' + $ref: '#/components/schemas/InventoryItemTemplate' description: '' delete: - operationId: dcim_module_bays_destroy - description: Delete a module bay object. + operationId: dcim_inventory_item_templates_destroy + description: Delete a inventory item template object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this module bay. + description: A unique integer value identifying this inventory item template. required: true tags: - dcim @@ -32227,91 +49541,65 @@ paths: responses: '204': description: No response body - /api/dcim/module-types/: + /api/dcim/inventory-items/: get: - operationId: dcim_module_types_list - description: Get a list of module type objects. + operationId: dcim_inventory_items_list + description: Get a list of inventory item objects. parameters: - in: query - name: console_ports - schema: - type: boolean - description: Has console ports - - in: query - name: console_server_ports - schema: - type: boolean - description: Has console server ports - - in: query - name: created + name: asset_tag schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__empty + name: asset_tag__empty schema: - type: array - items: - type: string - format: date-time - explode: true - style: form + type: boolean - in: query - name: created__gt + name: asset_tag__ic schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__gte + name: asset_tag__ie schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__lt + name: asset_tag__iew schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__lte + name: asset_tag__isw schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__n + name: asset_tag__n schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created_by_request - schema: - type: string - format: uuid - - in: query - name: description + name: asset_tag__nic schema: type: array items: @@ -32319,11 +49607,7 @@ paths: explode: true style: form - in: query - name: description__empty - schema: - type: boolean - - in: query - name: description__ic + name: asset_tag__nie schema: type: array items: @@ -32331,7 +49615,7 @@ paths: explode: true style: form - in: query - name: description__ie + name: asset_tag__niew schema: type: array items: @@ -32339,7 +49623,7 @@ paths: explode: true style: form - in: query - name: description__iew + name: asset_tag__nisw schema: type: array items: @@ -32347,55 +49631,61 @@ paths: explode: true style: form - in: query - name: description__isw + name: component_id schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: description__n + name: component_id__empty schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: description__nic + name: component_id__gt schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: description__nie + name: component_id__gte schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: description__niew + name: component_id__lt schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: description__nisw + name: component_id__lte schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: id + name: component_id__n schema: type: array items: @@ -32404,61 +49694,51 @@ paths: explode: true style: form - in: query - name: id__empty + name: component_type schema: - type: boolean + type: string - in: query - name: id__gt + name: component_type__n schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form + type: string - in: query - name: id__gte + name: created schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: id__lt + name: created__empty schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: id__lte + name: created__gt schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: id__n + name: created__gte schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: interfaces - schema: - type: boolean - description: Has interfaces - - in: query - name: last_updated + name: created__lt schema: type: array items: @@ -32467,7 +49747,7 @@ paths: explode: true style: form - in: query - name: last_updated__empty + name: created__lte schema: type: array items: @@ -32476,7 +49756,7 @@ paths: explode: true style: form - in: query - name: last_updated__gt + name: created__n schema: type: array items: @@ -32485,85 +49765,80 @@ paths: explode: true style: form - in: query - name: last_updated__gte + name: created_by_request + schema: + type: string + format: uuid + - in: query + name: description schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__lt + name: description__empty + schema: + type: boolean + - in: query + name: description__ic schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__lte + name: description__ie schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__n + name: description__iew 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: manufacturer + name: description__isw schema: type: array items: type: string - description: Manufacturer (slug) explode: true style: form - in: query - name: manufacturer__n + name: description__n schema: type: array items: type: string - description: Manufacturer (slug) explode: true style: form - in: query - name: manufacturer_id + name: description__nic schema: type: array items: - type: integer - description: Manufacturer (ID) + type: string explode: true style: form - in: query - name: manufacturer_id__n + name: description__nie schema: type: array items: - type: integer - description: Manufacturer (ID) + type: string explode: true style: form - in: query - name: model + name: description__niew schema: type: array items: @@ -32571,11 +49846,7 @@ paths: explode: true style: form - in: query - name: model__empty - schema: - type: boolean - - in: query - name: model__ic + name: description__nisw schema: type: array items: @@ -32583,532 +49854,462 @@ paths: explode: true style: form - in: query - name: model__ie + name: device schema: type: array items: type: string + nullable: true + description: Device (name) explode: true style: form - in: query - name: model__iew + name: device__n schema: type: array items: type: string + nullable: true + description: Device (name) explode: true style: form - in: query - name: model__isw + name: device_id schema: type: array items: - type: string + type: integer + description: Device (ID) explode: true style: form - in: query - name: model__n + name: device_id__n schema: type: array items: - type: string + type: integer + description: Device (ID) explode: true style: form - in: query - name: model__nic + name: device_role schema: type: array items: type: string + description: Device role (slug) explode: true style: form - in: query - name: model__nie + name: device_role__n schema: type: array items: type: string + description: Device role (slug) explode: true style: form - in: query - name: model__niew + name: device_role_id schema: type: array items: - type: string + type: integer + description: Device role (ID) explode: true style: form - in: query - name: model__nisw + name: device_role_id__n schema: type: array items: - type: string + type: integer + description: Device role (ID) explode: true style: form - in: query - name: modified_by_request - schema: - type: string - format: uuid - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - in: query - name: part_number + name: device_status schema: type: array items: type: string + x-spec-enum-id: 8d8971779f16ee18 explode: true style: form - in: query - name: part_number__empty + name: device_status__empty schema: type: boolean - in: query - name: part_number__ic + name: device_status__ic schema: type: array items: type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: part_number__ie + name: device_status__ie schema: type: array items: type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: part_number__iew + name: device_status__iew schema: type: array items: type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: part_number__isw + name: device_status__isw schema: type: array items: type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: part_number__n + name: device_status__n schema: type: array items: type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: part_number__nic + name: device_status__nic schema: type: array items: type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: part_number__nie + name: device_status__nie schema: type: array items: type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: part_number__niew + name: device_status__niew schema: type: array items: type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: part_number__nisw + name: device_status__nisw schema: type: array items: type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: pass_through_ports - schema: - type: boolean - description: Has pass-through ports - - in: query - name: power_outlets - schema: - type: boolean - description: Has power outlets - - in: query - name: power_ports - schema: - type: boolean - description: Has power ports - - in: query - name: q - schema: - type: string - description: Search - - in: query - name: tag + name: device_type schema: type: array items: type: string + description: Device type (model) explode: true style: form - in: query - name: tag__n + name: device_type__n schema: type: array items: type: string + description: Device type (model) explode: true style: form - in: query - name: updated_by_request + name: device_type_id schema: - type: string - format: uuid + type: array + items: + type: integer + description: Device type (ID) + explode: true + style: form - in: query - name: weight + name: device_type_id__n schema: type: array items: - type: number - format: double + type: integer + description: Device type (ID) explode: true style: form - in: query - name: weight__empty + name: discovered schema: type: boolean - in: query - name: weight__gt + name: id schema: type: array items: - type: number - format: double + type: integer + format: int32 explode: true style: form - in: query - name: weight__gte + name: id__empty + schema: + type: boolean + - in: query + name: id__gt schema: type: array items: - type: number - format: double + type: integer + format: int32 explode: true style: form - in: query - name: weight__lt + name: id__gte schema: type: array items: - type: number - format: double + type: integer + format: int32 explode: true style: form - in: query - name: weight__lte + name: id__lt schema: type: array items: - type: number - format: double + type: integer + format: int32 explode: true style: form - in: query - name: weight__n + name: id__lte schema: type: array items: - type: number - format: double + type: integer + format: int32 explode: true style: form - in: query - name: weight_unit - schema: - type: string - x-spec-enum-id: 7c1876f422815884 - enum: - - g - - kg - - lb - - oz - description: '* `kg` - Kilograms - - * `g` - Grams - - * `lb` - Pounds - - * `oz` - Ounces' - - in: query - name: weight_unit__n - schema: - type: string - x-spec-enum-id: 7c1876f422815884 - enum: - - g - - kg - - lb - - oz - description: '* `kg` - Kilograms - - * `g` - Grams - - * `lb` - Pounds - - * `oz` - Ounces' - tags: - - dcim - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/PaginatedModuleTypeList' - description: '' - post: - operationId: dcim_module_types_create - description: Post a list of module type objects. - tags: - - dcim - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/WritableModuleTypeRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/WritableModuleTypeRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '201': - content: - application/json: - schema: - $ref: '#/components/schemas/ModuleType' - description: '' - put: - operationId: dcim_module_types_bulk_update - description: Put a list of module type objects. - tags: - - dcim - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ModuleTypeRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/ModuleTypeRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ModuleType' - description: '' - patch: - operationId: dcim_module_types_bulk_partial_update - description: Patch a list of module type objects. - tags: - - dcim - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ModuleTypeRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/ModuleTypeRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ModuleType' - description: '' - delete: - operationId: dcim_module_types_bulk_destroy - description: Delete a list of module type objects. - tags: - - dcim - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ModuleTypeRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/ModuleTypeRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '204': - description: No response body - /api/dcim/module-types/{id}/: - get: - operationId: dcim_module_types_retrieve - description: Get a module type object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this module type. - required: true - tags: - - dcim - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/ModuleType' - description: '' - put: - operationId: dcim_module_types_update - description: Put a module type object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this module type. - required: true - tags: - - dcim - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/WritableModuleTypeRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/WritableModuleTypeRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/ModuleType' - description: '' - patch: - operationId: dcim_module_types_partial_update - description: Patch a module type object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this module type. - required: true - tags: - - dcim - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/PatchedWritableModuleTypeRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/PatchedWritableModuleTypeRequest' - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/ModuleType' - description: '' - delete: - operationId: dcim_module_types_destroy - description: Delete a module type object. - parameters: - - in: path - name: id + name: id__n schema: - type: integer - description: A unique integer value identifying this module type. - required: true - tags: - - dcim - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '204': - description: No response body - /api/dcim/modules/: - get: - operationId: dcim_modules_list - description: Get a list of module objects. - parameters: + type: array + items: + type: integer + format: int32 + explode: true + style: form - in: query - name: asset_tag + name: label schema: type: array items: @@ -33116,11 +50317,11 @@ paths: explode: true style: form - in: query - name: asset_tag__empty + name: label__empty schema: type: boolean - in: query - name: asset_tag__ic + name: label__ic schema: type: array items: @@ -33128,7 +50329,7 @@ paths: explode: true style: form - in: query - name: asset_tag__ie + name: label__ie schema: type: array items: @@ -33136,7 +50337,7 @@ paths: explode: true style: form - in: query - name: asset_tag__iew + name: label__iew schema: type: array items: @@ -33144,7 +50345,7 @@ paths: explode: true style: form - in: query - name: asset_tag__isw + name: label__isw schema: type: array items: @@ -33152,7 +50353,7 @@ paths: explode: true style: form - in: query - name: asset_tag__n + name: label__n schema: type: array items: @@ -33160,7 +50361,7 @@ paths: explode: true style: form - in: query - name: asset_tag__nic + name: label__nic schema: type: array items: @@ -33168,7 +50369,7 @@ paths: explode: true style: form - in: query - name: asset_tag__nie + name: label__nie schema: type: array items: @@ -33176,7 +50377,7 @@ paths: explode: true style: form - in: query - name: asset_tag__niew + name: label__niew schema: type: array items: @@ -33184,7 +50385,7 @@ paths: explode: true style: form - in: query - name: asset_tag__nisw + name: label__nisw schema: type: array items: @@ -33192,7 +50393,7 @@ paths: explode: true style: form - in: query - name: created + name: last_updated schema: type: array items: @@ -33201,7 +50402,7 @@ paths: explode: true style: form - in: query - name: created__empty + name: last_updated__empty schema: type: array items: @@ -33210,7 +50411,7 @@ paths: explode: true style: form - in: query - name: created__gt + name: last_updated__gt schema: type: array items: @@ -33219,7 +50420,7 @@ paths: explode: true style: form - in: query - name: created__gte + name: last_updated__gte schema: type: array items: @@ -33228,7 +50429,7 @@ paths: explode: true style: form - in: query - name: created__lt + name: last_updated__lt schema: type: array items: @@ -33237,7 +50438,7 @@ paths: explode: true style: form - in: query - name: created__lte + name: last_updated__lte schema: type: array items: @@ -33246,7 +50447,7 @@ paths: explode: true style: form - in: query - name: created__n + name: last_updated__n schema: type: array items: @@ -33254,49 +50455,93 @@ paths: format: date-time explode: true style: form - - in: query - name: created_by_request + - name: limit + required: false + in: query + description: Number of results to return per page. schema: - type: string - format: uuid + type: integer - in: query - name: description + name: location schema: type: array items: type: string + description: Location (slug) explode: true style: form - in: query - name: description__empty - schema: - type: boolean - - in: query - name: description__ic + name: location__n schema: type: array items: type: string + description: Location (slug) explode: true style: form - in: query - name: description__ie + name: location_id + schema: + type: array + items: + type: integer + description: Location (ID) + explode: true + style: form + - in: query + name: location_id__n + schema: + type: array + items: + type: integer + description: Location (ID) + explode: true + style: form + - in: query + name: manufacturer schema: type: array items: type: string + description: Manufacturer (slug) explode: true style: form - in: query - name: description__iew + name: manufacturer__n schema: type: array items: type: string + description: Manufacturer (slug) explode: true style: form - in: query - name: description__isw + name: manufacturer_id + schema: + type: array + items: + type: integer + nullable: true + description: Manufacturer (ID) + explode: true + style: form + - in: query + name: manufacturer_id__n + schema: + type: array + items: + type: integer + nullable: true + description: Manufacturer (ID) + explode: true + style: form + - in: query + name: modified_by_request + schema: + type: string + format: uuid + - in: query + name: name schema: type: array items: @@ -33304,7 +50549,11 @@ paths: explode: true style: form - in: query - name: description__n + name: name__empty + schema: + type: boolean + - in: query + name: name__ic schema: type: array items: @@ -33312,7 +50561,7 @@ paths: explode: true style: form - in: query - name: description__nic + name: name__ie schema: type: array items: @@ -33320,7 +50569,7 @@ paths: explode: true style: form - in: query - name: description__nie + name: name__iew schema: type: array items: @@ -33328,7 +50577,7 @@ paths: explode: true style: form - in: query - name: description__niew + name: name__isw schema: type: array items: @@ -33336,7 +50585,7 @@ paths: explode: true style: form - in: query - name: description__nisw + name: name__n schema: type: array items: @@ -33344,262 +50593,264 @@ paths: explode: true style: form - in: query - name: device_id + name: name__nic schema: type: array items: - type: integer - description: Device (ID) + type: string explode: true style: form - in: query - name: device_id__n + name: name__nie schema: type: array items: - type: integer - description: Device (ID) + type: string explode: true style: form - in: query - name: id + name: name__niew schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__empty + name: name__nisw schema: - type: boolean + 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 + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string - in: query - name: id__gt + name: parent_id schema: type: array items: type: integer - format: int32 + nullable: true + description: Parent inventory item (ID) explode: true style: form - in: query - name: id__gte + name: parent_id__n schema: type: array items: type: integer - format: int32 + nullable: true + description: Parent inventory item (ID) explode: true style: form - in: query - name: id__lt + name: part_id schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__lte + name: part_id__empty + schema: + type: boolean + - in: query + name: part_id__ic schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__n + name: part_id__ie schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: last_updated + name: part_id__iew schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__empty + name: part_id__isw schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__gt + name: part_id__n schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__gte + name: part_id__nic schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__lt + name: part_id__nie schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__lte + name: part_id__niew schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__n + name: part_id__nisw 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: q schema: - type: integer + type: string + description: Search - in: query - name: manufacturer + name: rack schema: type: array items: type: string - description: Manufacturer (slug) + description: Rack (name) explode: true style: form - in: query - name: manufacturer__n + name: rack__n schema: type: array items: type: string - description: Manufacturer (slug) + description: Rack (name) explode: true style: form - in: query - name: manufacturer_id + name: rack_id schema: type: array items: type: integer - description: Manufacturer (ID) + description: Rack (ID) explode: true style: form - in: query - name: manufacturer_id__n + name: rack_id__n schema: type: array items: type: integer - description: Manufacturer (ID) + description: Rack (ID) explode: true style: form - in: query - name: modified_by_request + name: region schema: - type: string - format: uuid + type: array + items: + type: string + explode: true + style: form - in: query - name: module_bay_id + name: region__n schema: type: array items: - type: integer - description: Module Bay (ID) + type: string explode: true style: form - in: query - name: module_bay_id__n + name: region_id schema: type: array items: - type: integer - description: Module Bay (ID) + type: string explode: true style: form - in: query - name: module_type + name: region_id__n schema: type: array items: type: string - description: Module type (model) explode: true style: form - in: query - name: module_type__n + name: role schema: type: array items: type: string - description: Module type (model) + description: Role (slug) explode: true style: form - in: query - name: module_type_id + name: role__n schema: type: array items: - type: integer - description: Module type (ID) + type: string + description: Role (slug) explode: true style: form - in: query - name: module_type_id__n + name: role_id schema: type: array items: type: integer - description: Module type (ID) + nullable: true + description: Role (ID) explode: true style: form - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - in: query - name: q + name: role_id__n schema: - type: string - description: Search + type: array + items: + type: integer + nullable: true + description: Role (ID) + explode: true + style: form - in: query name: serial schema: @@ -33685,21 +50936,71 @@ paths: explode: true style: form - in: query - name: status + name: site schema: type: array items: type: string - x-spec-enum-id: 2217e87d0c3efdda + description: Site name (slug) explode: true style: form - in: query - name: status__n + name: site__n schema: type: array items: type: string - x-spec-enum-id: 2217e87d0c3efdda + description: Site name (slug) + explode: true + style: form + - in: query + name: site_group + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: site_group__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: site_group_id + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: site_group_id__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: site_id + schema: + type: array + items: + type: integer + description: Site (ID) + explode: true + style: form + - in: query + name: site_id__n + schema: + type: array + items: + type: integer + description: Site (ID) explode: true style: form - in: query @@ -33723,6 +51024,42 @@ paths: schema: type: string format: uuid + - in: query + name: virtual_chassis + schema: + type: array + items: + type: string + description: Virtual Chassis + explode: true + style: form + - in: query + name: virtual_chassis__n + schema: + type: array + items: + type: string + description: Virtual Chassis + explode: true + style: form + - in: query + name: virtual_chassis_id + schema: + type: array + items: + type: integer + description: Virtual Chassis (ID) + explode: true + style: form + - in: query + name: virtual_chassis_id__n + schema: + type: array + items: + type: integer + description: Virtual Chassis (ID) + explode: true + style: form tags: - dcim security: @@ -33733,21 +51070,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedModuleList' + $ref: '#/components/schemas/PaginatedInventoryItemList' description: '' post: - operationId: dcim_modules_create - description: Post a list of module objects. + operationId: dcim_inventory_items_create + description: Post a list of inventory item objects. tags: - dcim requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableModuleRequest' + $ref: '#/components/schemas/InventoryItemRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableModuleRequest' + $ref: '#/components/schemas/InventoryItemRequest' required: true security: - cookieAuth: [] @@ -33757,11 +51094,11 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Module' + $ref: '#/components/schemas/InventoryItem' description: '' put: - operationId: dcim_modules_bulk_update - description: Put a list of module objects. + operationId: dcim_inventory_items_bulk_update + description: Put a list of inventory item objects. tags: - dcim requestBody: @@ -33770,12 +51107,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ModuleRequest' + $ref: '#/components/schemas/InventoryItemRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ModuleRequest' + $ref: '#/components/schemas/InventoryItemRequest' required: true security: - cookieAuth: [] @@ -33787,11 +51124,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/Module' + $ref: '#/components/schemas/InventoryItem' description: '' patch: - operationId: dcim_modules_bulk_partial_update - description: Patch a list of module objects. + operationId: dcim_inventory_items_bulk_partial_update + description: Patch a list of inventory item objects. tags: - dcim requestBody: @@ -33800,12 +51137,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ModuleRequest' + $ref: '#/components/schemas/InventoryItemRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ModuleRequest' + $ref: '#/components/schemas/InventoryItemRequest' required: true security: - cookieAuth: [] @@ -33817,11 +51154,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/Module' + $ref: '#/components/schemas/InventoryItem' description: '' delete: - operationId: dcim_modules_bulk_destroy - description: Delete a list of module objects. + operationId: dcim_inventory_items_bulk_destroy + description: Delete a list of inventory item objects. tags: - dcim requestBody: @@ -33830,12 +51167,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ModuleRequest' + $ref: '#/components/schemas/InventoryItemRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ModuleRequest' + $ref: '#/components/schemas/InventoryItemRequest' required: true security: - cookieAuth: [] @@ -33843,16 +51180,16 @@ paths: responses: '204': description: No response body - /api/dcim/modules/{id}/: + /api/dcim/inventory-items/{id}/: get: - operationId: dcim_modules_retrieve - description: Get a module object. + operationId: dcim_inventory_items_retrieve + description: Get a inventory item object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this module. + description: A unique integer value identifying this inventory item. required: true tags: - dcim @@ -33864,17 +51201,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Module' + $ref: '#/components/schemas/InventoryItem' description: '' put: - operationId: dcim_modules_update - description: Put a module object. + operationId: dcim_inventory_items_update + description: Put a inventory item object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this module. + description: A unique integer value identifying this inventory item. required: true tags: - dcim @@ -33882,10 +51219,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/WritableModuleRequest' + $ref: '#/components/schemas/InventoryItemRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableModuleRequest' + $ref: '#/components/schemas/InventoryItemRequest' required: true security: - cookieAuth: [] @@ -33895,17 +51232,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Module' + $ref: '#/components/schemas/InventoryItem' description: '' patch: - operationId: dcim_modules_partial_update - description: Patch a module object. + operationId: dcim_inventory_items_partial_update + description: Patch a inventory item object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this module. + description: A unique integer value identifying this inventory item. required: true tags: - dcim @@ -33913,10 +51250,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PatchedWritableModuleRequest' + $ref: '#/components/schemas/PatchedInventoryItemRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedWritableModuleRequest' + $ref: '#/components/schemas/PatchedInventoryItemRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -33925,17 +51262,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Module' + $ref: '#/components/schemas/InventoryItem' description: '' delete: - operationId: dcim_modules_destroy - description: Delete a module object. + operationId: dcim_inventory_items_destroy + description: Delete a inventory item object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this module. + description: A unique integer value identifying this inventory item. required: true tags: - dcim @@ -33945,33 +51282,93 @@ paths: responses: '204': description: No response body - /api/dcim/platforms/: + /api/dcim/locations/: get: - operationId: dcim_platforms_list - description: Get a list of platform objects. + operationId: dcim_locations_list + description: Get a list of location objects. parameters: - in: query - name: available_for_device_type + name: ancestor schema: - type: string + type: array + items: + type: string + explode: true + style: form - in: query - name: config_template_id + name: ancestor__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: ancestor_id + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: ancestor_id__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact schema: type: array items: type: integer - nullable: true - description: Config template (ID) + description: Contact explode: true style: form - in: query - name: config_template_id__n + name: contact__n schema: type: array items: type: integer - nullable: true - description: Config template (ID) + description: Contact + explode: true + style: form + - in: query + name: contact_group + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact_group__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact_role + schema: + type: array + items: + type: integer + description: Contact Role + explode: true + style: form + - in: query + name: contact_role__n + schema: + type: array + items: + type: integer + description: Contact Role explode: true style: form - in: query @@ -34126,6 +51523,90 @@ paths: type: string explode: true style: form + - in: query + name: facility + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: facility__empty + schema: + type: boolean + - in: query + name: facility__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: facility__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: facility__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: facility__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: facility__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: facility__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: facility__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: facility__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: facility__nisw + schema: + type: array + items: + type: string + explode: true + style: form - in: query name: id schema: @@ -34253,42 +51734,6 @@ paths: description: Number of results to return per page. schema: type: integer - - in: query - name: manufacturer - schema: - type: array - items: - type: string - description: Manufacturer (slug) - explode: true - style: form - - in: query - name: manufacturer__n - schema: - type: array - items: - type: string - description: Manufacturer (slug) - explode: true - style: form - - in: query - name: manufacturer_id - schema: - type: array - items: - type: integer - description: Manufacturer (ID) - explode: true - style: form - - in: query - name: manufacturer_id__n - schema: - type: array - items: - type: integer - description: Manufacturer (ID) - explode: true - style: form - in: query name: modified_by_request schema: @@ -34390,11 +51835,149 @@ paths: description: Which field to use when ordering the results. schema: type: string + - in: query + name: parent + schema: + type: array + items: + type: string + description: Parent location (slug) + explode: true + style: form + - in: query + name: parent__n + schema: + type: array + items: + type: string + description: Parent location (slug) + explode: true + style: form + - in: query + name: parent_id + schema: + type: array + items: + type: integer + nullable: true + description: Parent location (ID) + explode: true + style: form + - in: query + name: parent_id__n + schema: + type: array + items: + type: integer + nullable: true + description: Parent location (ID) + explode: true + style: form - in: query name: q schema: type: string description: Search + - in: query + name: region + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: region__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: region_id + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: region_id__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: site + schema: + type: array + items: + type: string + description: Site (slug) + explode: true + style: form + - in: query + name: site__n + schema: + type: array + items: + type: string + description: Site (slug) + explode: true + style: form + - in: query + name: site_group + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: site_group__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: site_group_id + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: site_group_id__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: site_id + schema: + type: array + items: + type: integer + description: Site (ID) + explode: true + style: form + - in: query + name: site_id__n + schema: + type: array + items: + type: integer + description: Site (ID) + explode: true + style: form - in: query name: slug schema: @@ -34479,6 +52062,235 @@ paths: type: string explode: true style: form + - in: query + name: status + schema: + type: array + items: + type: string + x-spec-enum-id: e363a8ddb138be50 + explode: true + style: form + - in: query + name: status__empty + schema: + type: boolean + - in: query + name: status__ic + schema: + type: array + items: + type: string + x-spec-enum-id: e363a8ddb138be50 + enum: + - active + - decommissioning + - planned + - retired + - staging + description: '* `planned` - Planned + + * `staging` - Staging + + * `active` - Active + + * `decommissioning` - Decommissioning + + * `retired` - Retired' + explode: true + style: form + - in: query + name: status__ie + schema: + type: array + items: + type: string + x-spec-enum-id: e363a8ddb138be50 + enum: + - active + - decommissioning + - planned + - retired + - staging + description: '* `planned` - Planned + + * `staging` - Staging + + * `active` - Active + + * `decommissioning` - Decommissioning + + * `retired` - Retired' + explode: true + style: form + - in: query + name: status__iew + schema: + type: array + items: + type: string + x-spec-enum-id: e363a8ddb138be50 + enum: + - active + - decommissioning + - planned + - retired + - staging + description: '* `planned` - Planned + + * `staging` - Staging + + * `active` - Active + + * `decommissioning` - Decommissioning + + * `retired` - Retired' + explode: true + style: form + - in: query + name: status__isw + schema: + type: array + items: + type: string + x-spec-enum-id: e363a8ddb138be50 + enum: + - active + - decommissioning + - planned + - retired + - staging + description: '* `planned` - Planned + + * `staging` - Staging + + * `active` - Active + + * `decommissioning` - Decommissioning + + * `retired` - Retired' + explode: true + style: form + - in: query + name: status__n + schema: + type: array + items: + type: string + x-spec-enum-id: e363a8ddb138be50 + enum: + - active + - decommissioning + - planned + - retired + - staging + description: '* `planned` - Planned + + * `staging` - Staging + + * `active` - Active + + * `decommissioning` - Decommissioning + + * `retired` - Retired' + explode: true + style: form + - in: query + name: status__nic + schema: + type: array + items: + type: string + x-spec-enum-id: e363a8ddb138be50 + enum: + - active + - decommissioning + - planned + - retired + - staging + description: '* `planned` - Planned + + * `staging` - Staging + + * `active` - Active + + * `decommissioning` - Decommissioning + + * `retired` - Retired' + explode: true + style: form + - in: query + name: status__nie + schema: + type: array + items: + type: string + x-spec-enum-id: e363a8ddb138be50 + enum: + - active + - decommissioning + - planned + - retired + - staging + description: '* `planned` - Planned + + * `staging` - Staging + + * `active` - Active + + * `decommissioning` - Decommissioning + + * `retired` - Retired' + explode: true + style: form + - in: query + name: status__niew + schema: + type: array + items: + type: string + x-spec-enum-id: e363a8ddb138be50 + enum: + - active + - decommissioning + - planned + - retired + - staging + description: '* `planned` - Planned + + * `staging` - Staging + + * `active` - Active + + * `decommissioning` - Decommissioning + + * `retired` - Retired' + explode: true + style: form + - in: query + name: status__nisw + schema: + type: array + items: + type: string + x-spec-enum-id: e363a8ddb138be50 + enum: + - active + - decommissioning + - planned + - retired + - staging + description: '* `planned` - Planned + + * `staging` - Staging + + * `active` - Active + + * `decommissioning` - Decommissioning + + * `retired` - Retired' + explode: true + style: form - in: query name: tag schema: @@ -34495,6 +52307,76 @@ paths: type: string explode: true style: form + - in: query + name: tenant + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant__n + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant_group + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant_group__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant_group_id + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant_group_id__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant_id + schema: + type: array + items: + type: integer + nullable: true + description: Tenant (ID) + explode: true + style: form + - in: query + name: tenant_id__n + schema: + type: array + items: + type: integer + nullable: true + description: Tenant (ID) + explode: true + style: form - in: query name: updated_by_request schema: @@ -34510,21 +52392,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedPlatformList' + $ref: '#/components/schemas/PaginatedLocationList' description: '' post: - operationId: dcim_platforms_create - description: Post a list of platform objects. + operationId: dcim_locations_create + description: Post a list of location objects. tags: - dcim requestBody: content: application/json: schema: - $ref: '#/components/schemas/PlatformRequest' + $ref: '#/components/schemas/WritableLocationRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PlatformRequest' + $ref: '#/components/schemas/WritableLocationRequest' required: true security: - cookieAuth: [] @@ -34534,11 +52416,11 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Platform' + $ref: '#/components/schemas/Location' description: '' put: - operationId: dcim_platforms_bulk_update - description: Put a list of platform objects. + operationId: dcim_locations_bulk_update + description: Put a list of location objects. tags: - dcim requestBody: @@ -34547,12 +52429,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/PlatformRequest' + $ref: '#/components/schemas/LocationRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/PlatformRequest' + $ref: '#/components/schemas/LocationRequest' required: true security: - cookieAuth: [] @@ -34564,11 +52446,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/Platform' + $ref: '#/components/schemas/Location' description: '' patch: - operationId: dcim_platforms_bulk_partial_update - description: Patch a list of platform objects. + operationId: dcim_locations_bulk_partial_update + description: Patch a list of location objects. tags: - dcim requestBody: @@ -34577,12 +52459,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/PlatformRequest' + $ref: '#/components/schemas/LocationRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/PlatformRequest' + $ref: '#/components/schemas/LocationRequest' required: true security: - cookieAuth: [] @@ -34594,11 +52476,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/Platform' + $ref: '#/components/schemas/Location' description: '' delete: - operationId: dcim_platforms_bulk_destroy - description: Delete a list of platform objects. + operationId: dcim_locations_bulk_destroy + description: Delete a list of location objects. tags: - dcim requestBody: @@ -34607,12 +52489,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/PlatformRequest' + $ref: '#/components/schemas/LocationRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/PlatformRequest' + $ref: '#/components/schemas/LocationRequest' required: true security: - cookieAuth: [] @@ -34620,16 +52502,16 @@ paths: responses: '204': description: No response body - /api/dcim/platforms/{id}/: + /api/dcim/locations/{id}/: get: - operationId: dcim_platforms_retrieve - description: Get a platform object. + operationId: dcim_locations_retrieve + description: Get a location object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this platform. + description: A unique integer value identifying this location. required: true tags: - dcim @@ -34641,17 +52523,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Platform' + $ref: '#/components/schemas/Location' description: '' put: - operationId: dcim_platforms_update - description: Put a platform object. + operationId: dcim_locations_update + description: Put a location object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this platform. + description: A unique integer value identifying this location. required: true tags: - dcim @@ -34659,10 +52541,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PlatformRequest' + $ref: '#/components/schemas/WritableLocationRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PlatformRequest' + $ref: '#/components/schemas/WritableLocationRequest' required: true security: - cookieAuth: [] @@ -34672,17 +52554,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Platform' + $ref: '#/components/schemas/Location' description: '' patch: - operationId: dcim_platforms_partial_update - description: Patch a platform object. + operationId: dcim_locations_partial_update + description: Patch a location object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this platform. + description: A unique integer value identifying this location. required: true tags: - dcim @@ -34690,10 +52572,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PatchedPlatformRequest' + $ref: '#/components/schemas/PatchedWritableLocationRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedPlatformRequest' + $ref: '#/components/schemas/PatchedWritableLocationRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -34702,17 +52584,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Platform' + $ref: '#/components/schemas/Location' description: '' delete: - operationId: dcim_platforms_destroy - description: Delete a platform object. + operationId: dcim_locations_destroy + description: Delete a location object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this platform. + description: A unique integer value identifying this location. required: true tags: - dcim @@ -34722,177 +52604,63 @@ paths: responses: '204': description: No response body - /api/dcim/power-feeds/: + /api/dcim/manufacturers/: get: - operationId: dcim_power_feeds_list - description: Get a list of power feed objects. - parameters: - - in: query - name: amperage - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: amperage__empty - schema: - type: boolean - - in: query - name: amperage__gt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: amperage__gte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: amperage__lt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: amperage__lte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: amperage__n - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: available_power - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: available_power__empty - schema: - type: boolean - - in: query - name: available_power__gt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form + operationId: dcim_manufacturers_list + description: Get a list of manufacturer objects. + parameters: - in: query - name: available_power__gte + name: contact schema: type: array items: type: integer - format: int32 + description: Contact explode: true style: form - in: query - name: available_power__lt + name: contact__n schema: type: array items: type: integer - format: int32 + description: Contact explode: true style: form - in: query - name: available_power__lte + name: contact_group schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: available_power__n + name: contact_group__n schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: cable_end - schema: - type: string - x-spec-enum-id: 1db84f9b93b261c8 - enum: - - A - - B - description: '* `A` - A - - * `B` - B' - - in: query - name: cable_end__n - schema: - type: string - x-spec-enum-id: 1db84f9b93b261c8 - enum: - - A - - B - description: '* `A` - A - - * `B` - B' - - in: query - name: cable_id + name: contact_role schema: type: array items: type: integer - nullable: true - description: Cable (ID) + description: Contact Role explode: true style: form - in: query - name: cable_id__n + name: contact_role__n schema: type: array items: type: integer - nullable: true - description: Cable (ID) + description: Contact Role explode: true style: form - - in: query - name: cabled - schema: - type: boolean - - in: query - name: connected - schema: - type: boolean - in: query name: created schema: @@ -35172,68 +52940,6 @@ paths: description: Number of results to return per page. schema: type: integer - - in: query - name: mark_connected - schema: - type: boolean - - in: query - name: max_utilization - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: max_utilization__empty - schema: - type: boolean - - in: query - name: max_utilization__gt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: max_utilization__gte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: max_utilization__lt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: max_utilization__lte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: max_utilization__n - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - in: query name: modified_by_request schema: @@ -35323,10 +53029,6 @@ paths: type: string explode: true style: form - - in: query - name: occupied - schema: - type: boolean - name: offset required: false in: query @@ -35339,219 +53041,57 @@ paths: description: Which field to use when ordering the results. schema: type: string - - in: query - name: phase - schema: - type: string - x-spec-enum-id: 994bc0696f4df57f - enum: - - single-phase - - three-phase - description: '* `single-phase` - Single phase - - * `three-phase` - Three-phase' - - in: query - name: phase__n - schema: - type: string - x-spec-enum-id: 994bc0696f4df57f - enum: - - single-phase - - three-phase - description: '* `single-phase` - Single phase - - * `three-phase` - Three-phase' - - in: query - name: power_panel_id - schema: - type: array - items: - type: integer - description: Power panel (ID) - explode: true - style: form - - in: query - name: power_panel_id__n - schema: - type: array - items: - type: integer - description: Power panel (ID) - explode: true - style: form - in: query name: q schema: type: string description: Search - in: query - name: rack_id - schema: - type: array - items: - type: integer - description: Rack (ID) - explode: true - style: form - - in: query - name: rack_id__n - schema: - type: array - items: - type: integer - description: Rack (ID) - explode: true - style: form - - in: query - name: region - schema: - type: array - items: - type: integer - description: Region (slug) - explode: true - style: form - - in: query - name: region__n - schema: - type: array - items: - type: integer - description: Region (slug) - explode: true - style: form - - in: query - name: region_id + name: slug schema: type: array items: - type: integer - description: Region (ID) + type: string explode: true style: form - in: query - name: region_id__n + name: slug__empty schema: - type: array - items: - type: integer - description: Region (ID) - explode: true - style: form + type: boolean - in: query - name: site + name: slug__ic schema: type: array items: type: string - description: Site name (slug) explode: true style: form - in: query - name: site__n + name: slug__ie schema: type: array items: type: string - description: Site name (slug) - explode: true - style: form - - in: query - name: site_group - schema: - type: array - items: - type: integer - description: Site group (slug) - explode: true - style: form - - in: query - name: site_group__n - schema: - type: array - items: - type: integer - description: Site group (slug) - explode: true - style: form - - in: query - name: site_group_id - schema: - type: array - items: - type: integer - description: Site group (ID) - explode: true - style: form - - in: query - name: site_group_id__n - schema: - type: array - items: - type: integer - description: Site group (ID) - explode: true - style: form - - in: query - name: site_id - schema: - type: array - items: - type: integer - description: Site (ID) - explode: true - style: form - - in: query - name: site_id__n - schema: - type: array - items: - type: integer - description: Site (ID) explode: true style: form - in: query - name: status + name: slug__iew schema: type: array items: type: string - x-spec-enum-id: b77fc919138c12f6 explode: true style: form - in: query - name: status__n + name: slug__isw schema: type: array items: type: string - x-spec-enum-id: b77fc919138c12f6 explode: true style: form - in: query - name: supply - schema: - type: string - x-spec-enum-id: 1b6d99616ca6412b - enum: - - ac - - dc - description: '* `ac` - AC - - * `dc` - DC' - - in: query - name: supply__n - schema: - type: string - x-spec-enum-id: 1b6d99616ca6412b - enum: - - ac - - dc - description: '* `ac` - AC - - * `dc` - DC' - - in: query - name: tag + name: slug__n schema: type: array items: @@ -35559,7 +53099,7 @@ paths: explode: true style: form - in: query - name: tag__n + name: slug__nic schema: type: array items: @@ -35567,164 +53107,50 @@ paths: explode: true style: form - in: query - name: tenant + name: slug__nie schema: type: array items: type: string - description: Tenant (slug) explode: true style: form - in: query - name: tenant__n + name: slug__niew schema: type: array items: type: string - description: Tenant (slug) - explode: true - style: form - - in: query - name: tenant_group - schema: - type: array - items: - type: integer - description: Tenant Group (slug) - explode: true - style: form - - in: query - name: tenant_group__n - schema: - type: array - items: - type: integer - description: Tenant Group (slug) - explode: true - style: form - - in: query - name: tenant_group_id - schema: - type: array - items: - type: integer - description: Tenant Group (ID) explode: true style: form - in: query - name: tenant_group_id__n + name: slug__nisw schema: type: array items: - type: integer - description: Tenant Group (ID) + type: string explode: true style: form - in: query - name: tenant_id + name: tag schema: type: array items: - type: integer - nullable: true - description: Tenant (ID) + type: string explode: true style: form - in: query - name: tenant_id__n + name: tag__n schema: type: array items: - type: integer - nullable: true - description: Tenant (ID) + type: string explode: true style: form - - in: query - name: type - schema: - type: string - x-spec-enum-id: 093a164236819eb8 - enum: - - primary - - redundant - description: '* `primary` - Primary - - * `redundant` - Redundant' - - in: query - name: type__n - schema: - type: string - x-spec-enum-id: 093a164236819eb8 - enum: - - primary - - redundant - description: '* `primary` - Primary - - * `redundant` - Redundant' - in: query name: updated_by_request schema: type: string format: uuid - - in: query - name: voltage - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: voltage__empty - schema: - type: boolean - - in: query - name: voltage__gt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: voltage__gte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: voltage__lt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: voltage__lte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: voltage__n - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form tags: - dcim security: @@ -35735,21 +53161,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedPowerFeedList' + $ref: '#/components/schemas/PaginatedManufacturerList' description: '' post: - operationId: dcim_power_feeds_create - description: Post a list of power feed objects. + operationId: dcim_manufacturers_create + description: Post a list of manufacturer objects. tags: - dcim requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritablePowerFeedRequest' + $ref: '#/components/schemas/ManufacturerRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritablePowerFeedRequest' + $ref: '#/components/schemas/ManufacturerRequest' required: true security: - cookieAuth: [] @@ -35759,11 +53185,11 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PowerFeed' + $ref: '#/components/schemas/Manufacturer' description: '' put: - operationId: dcim_power_feeds_bulk_update - description: Put a list of power feed objects. + operationId: dcim_manufacturers_bulk_update + description: Put a list of manufacturer objects. tags: - dcim requestBody: @@ -35772,12 +53198,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/PowerFeedRequest' + $ref: '#/components/schemas/ManufacturerRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/PowerFeedRequest' + $ref: '#/components/schemas/ManufacturerRequest' required: true security: - cookieAuth: [] @@ -35789,11 +53215,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/PowerFeed' + $ref: '#/components/schemas/Manufacturer' description: '' patch: - operationId: dcim_power_feeds_bulk_partial_update - description: Patch a list of power feed objects. + operationId: dcim_manufacturers_bulk_partial_update + description: Patch a list of manufacturer objects. tags: - dcim requestBody: @@ -35802,12 +53228,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/PowerFeedRequest' + $ref: '#/components/schemas/ManufacturerRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/PowerFeedRequest' + $ref: '#/components/schemas/ManufacturerRequest' required: true security: - cookieAuth: [] @@ -35819,11 +53245,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/PowerFeed' + $ref: '#/components/schemas/Manufacturer' description: '' delete: - operationId: dcim_power_feeds_bulk_destroy - description: Delete a list of power feed objects. + operationId: dcim_manufacturers_bulk_destroy + description: Delete a list of manufacturer objects. tags: - dcim requestBody: @@ -35832,12 +53258,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/PowerFeedRequest' + $ref: '#/components/schemas/ManufacturerRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/PowerFeedRequest' + $ref: '#/components/schemas/ManufacturerRequest' required: true security: - cookieAuth: [] @@ -35845,16 +53271,16 @@ paths: responses: '204': description: No response body - /api/dcim/power-feeds/{id}/: + /api/dcim/manufacturers/{id}/: get: - operationId: dcim_power_feeds_retrieve - description: Get a power feed object. + operationId: dcim_manufacturers_retrieve + description: Get a manufacturer object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this power feed. + description: A unique integer value identifying this manufacturer. required: true tags: - dcim @@ -35866,17 +53292,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PowerFeed' + $ref: '#/components/schemas/Manufacturer' description: '' put: - operationId: dcim_power_feeds_update - description: Put a power feed object. + operationId: dcim_manufacturers_update + description: Put a manufacturer object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this power feed. + description: A unique integer value identifying this manufacturer. required: true tags: - dcim @@ -35884,10 +53310,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/WritablePowerFeedRequest' + $ref: '#/components/schemas/ManufacturerRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritablePowerFeedRequest' + $ref: '#/components/schemas/ManufacturerRequest' required: true security: - cookieAuth: [] @@ -35897,17 +53323,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PowerFeed' + $ref: '#/components/schemas/Manufacturer' description: '' patch: - operationId: dcim_power_feeds_partial_update - description: Patch a power feed object. + operationId: dcim_manufacturers_partial_update + description: Patch a manufacturer object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this power feed. + description: A unique integer value identifying this manufacturer. required: true tags: - dcim @@ -35915,10 +53341,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PatchedWritablePowerFeedRequest' + $ref: '#/components/schemas/PatchedManufacturerRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedWritablePowerFeedRequest' + $ref: '#/components/schemas/PatchedManufacturerRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -35927,17 +53353,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PowerFeed' + $ref: '#/components/schemas/Manufacturer' description: '' delete: - operationId: dcim_power_feeds_destroy - description: Delete a power feed object. + operationId: dcim_manufacturers_destroy + description: Delete a manufacturer object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this power feed. + description: A unique integer value identifying this manufacturer. required: true tags: - dcim @@ -35947,34 +53373,10 @@ paths: responses: '204': description: No response body - /api/dcim/power-feeds/{id}/trace/: - get: - operationId: dcim_power_feeds_trace_retrieve - description: Trace a complete cable path and return each segment as a three-tuple - of (termination, cable, termination). - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this power feed. - required: true - tags: - - dcim - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/PowerFeed' - description: '' - /api/dcim/power-outlet-templates/: + /api/dcim/module-bay-templates/: get: - operationId: dcim_power_outlet_templates_list - description: Get a list of power outlet template objects. + operationId: dcim_module_bay_templates_list + description: Get a list of module bay template objects. parameters: - in: query name: created @@ -36148,46 +53550,6 @@ paths: description: Device type (ID) explode: true style: form - - in: query - name: devicetype_id - schema: - type: array - items: - type: integer - nullable: true - description: Device type (ID) - explode: true - style: form - - in: query - name: devicetype_id__n - schema: - type: array - items: - type: integer - nullable: true - description: Device type (ID) - explode: true - style: form - - in: query - name: feed_leg - schema: - type: array - items: - type: string - x-spec-enum-id: a4902339df0b7c06 - description: Phase (for three-phase feeds) - explode: true - style: form - - in: query - name: feed_leg__n - schema: - type: array - items: - type: string - x-spec-enum-id: a4902339df0b7c06 - description: Phase (for three-phase feeds) - explode: true - style: form - in: query name: id schema: @@ -36424,26 +53786,6 @@ paths: description: Module type (ID) explode: true style: form - - in: query - name: moduletype_id - schema: - type: array - items: - type: integer - nullable: true - description: Module type (ID) - explode: true - style: form - - in: query - name: moduletype_id__n - schema: - type: array - items: - type: integer - nullable: true - description: Module type (ID) - explode: true - style: form - in: query name: name schema: @@ -36541,194 +53883,94 @@ paths: schema: type: string - in: query - name: power_port_id + name: position schema: type: array items: - type: integer - nullable: true - description: Power port (ID) + type: string explode: true style: form - in: query - name: power_port_id__n + name: position__empty + schema: + type: boolean + - in: query + name: position__ic schema: type: array items: - type: integer - nullable: true - description: Power port (ID) + type: string explode: true style: form - in: query - name: q + name: position__ie schema: - type: string - description: Search + type: array + items: + type: string + explode: true + style: form - in: query - name: type + name: position__iew schema: - type: string - x-spec-enum-id: 2ff919f516566857 - enum: - - California Style - - DC - - IEC 60309 - - IEC 60320 - - IEC 60906-1 - - ITA/International - - Molex - - NEMA (Locking) - - NEMA (Non-locking) - - Other - - Proprietary - - USB - description: '* `IEC 60320` - [(''iec-60320-c5'', ''C5''), (''iec-60320-c7'', - ''C7''), (''iec-60320-c13'', ''C13''), (''iec-60320-c15'', ''C15''), (''iec-60320-c19'', - ''C19''), (''iec-60320-c21'', ''C21'')] - - * `IEC 60309` - [(''iec-60309-p-n-e-4h'', ''P+N+E 4H''), (''iec-60309-p-n-e-6h'', - ''P+N+E 6H''), (''iec-60309-p-n-e-9h'', ''P+N+E 9H''), (''iec-60309-2p-e-4h'', - ''2P+E 4H''), (''iec-60309-2p-e-6h'', ''2P+E 6H''), (''iec-60309-2p-e-9h'', - ''2P+E 9H''), (''iec-60309-3p-e-4h'', ''3P+E 4H''), (''iec-60309-3p-e-6h'', - ''3P+E 6H''), (''iec-60309-3p-e-9h'', ''3P+E 9H''), (''iec-60309-3p-n-e-4h'', - ''3P+N+E 4H''), (''iec-60309-3p-n-e-6h'', ''3P+N+E 6H''), (''iec-60309-3p-n-e-9h'', - ''3P+N+E 9H'')] - - * `IEC 60906-1` - [(''iec-60906-1'', ''IEC 60906-1''), (''nbr-14136-10a'', - ''2P+T 10A (NBR 14136)''), (''nbr-14136-20a'', ''2P+T 20A (NBR 14136)'')] - - * `NEMA (Non-locking)` - [(''nema-1-15r'', ''NEMA 1-15R''), (''nema-5-15r'', - ''NEMA 5-15R''), (''nema-5-20r'', ''NEMA 5-20R''), (''nema-5-30r'', ''NEMA - 5-30R''), (''nema-5-50r'', ''NEMA 5-50R''), (''nema-6-15r'', ''NEMA 6-15R''), - (''nema-6-20r'', ''NEMA 6-20R''), (''nema-6-30r'', ''NEMA 6-30R''), (''nema-6-50r'', - ''NEMA 6-50R''), (''nema-10-30r'', ''NEMA 10-30R''), (''nema-10-50r'', ''NEMA - 10-50R''), (''nema-14-20r'', ''NEMA 14-20R''), (''nema-14-30r'', ''NEMA - 14-30R''), (''nema-14-50r'', ''NEMA 14-50R''), (''nema-14-60r'', ''NEMA - 14-60R''), (''nema-15-15r'', ''NEMA 15-15R''), (''nema-15-20r'', ''NEMA - 15-20R''), (''nema-15-30r'', ''NEMA 15-30R''), (''nema-15-50r'', ''NEMA - 15-50R''), (''nema-15-60r'', ''NEMA 15-60R'')] - - * `NEMA (Locking)` - [(''nema-l1-15r'', ''NEMA L1-15R''), (''nema-l5-15r'', - ''NEMA L5-15R''), (''nema-l5-20r'', ''NEMA L5-20R''), (''nema-l5-30r'', - ''NEMA L5-30R''), (''nema-l5-50r'', ''NEMA L5-50R''), (''nema-l6-15r'', - ''NEMA L6-15R''), (''nema-l6-20r'', ''NEMA L6-20R''), (''nema-l6-30r'', - ''NEMA L6-30R''), (''nema-l6-50r'', ''NEMA L6-50R''), (''nema-l10-30r'', - ''NEMA L10-30R''), (''nema-l14-20r'', ''NEMA L14-20R''), (''nema-l14-30r'', - ''NEMA L14-30R''), (''nema-l14-50r'', ''NEMA L14-50R''), (''nema-l14-60r'', - ''NEMA L14-60R''), (''nema-l15-20r'', ''NEMA L15-20R''), (''nema-l15-30r'', - ''NEMA L15-30R''), (''nema-l15-50r'', ''NEMA L15-50R''), (''nema-l15-60r'', - ''NEMA L15-60R''), (''nema-l21-20r'', ''NEMA L21-20R''), (''nema-l21-30r'', - ''NEMA L21-30R''), (''nema-l22-30r'', ''NEMA L22-30R'')] - - * `California Style` - [(''CS6360C'', ''CS6360C''), (''CS6364C'', ''CS6364C''), - (''CS8164C'', ''CS8164C''), (''CS8264C'', ''CS8264C''), (''CS8364C'', ''CS8364C''), - (''CS8464C'', ''CS8464C'')] - - * `ITA/International` - [(''ita-e'', ''ITA Type E (CEE 7/5)''), (''ita-f'', - ''ITA Type F (CEE 7/3)''), (''ita-g'', ''ITA Type G (BS 1363)''), (''ita-h'', - ''ITA Type H''), (''ita-i'', ''ITA Type I''), (''ita-j'', ''ITA Type J''), - (''ita-k'', ''ITA Type K''), (''ita-l'', ''ITA Type L (CEI 23-50)''), (''ita-m'', - ''ITA Type M (BS 546)''), (''ita-n'', ''ITA Type N''), (''ita-o'', ''ITA - Type O''), (''ita-multistandard'', ''ITA Multistandard'')] - - * `USB` - [(''usb-a'', ''USB Type A''), (''usb-micro-b'', ''USB Micro B''), - (''usb-c'', ''USB Type C'')] - - * `Molex` - [(''molex-micro-fit-1x2'', ''Molex Micro-Fit 1x2''), (''molex-micro-fit-2x2'', - ''Molex Micro-Fit 2x2''), (''molex-micro-fit-2x4'', ''Molex Micro-Fit 2x4'')] - - * `DC` - [(''dc-terminal'', ''DC Terminal'')] - - * `Proprietary` - [(''hdot-cx'', ''HDOT Cx''), (''saf-d-grid'', ''Saf-D-Grid''), - (''neutrik-powercon-20a'', ''Neutrik powerCON (20A)''), (''neutrik-powercon-32a'', - ''Neutrik powerCON (32A)''), (''neutrik-powercon-true1'', ''Neutrik powerCON - TRUE1''), (''neutrik-powercon-true1-top'', ''Neutrik powerCON TRUE1 TOP''), - (''ubiquiti-smartpower'', ''Ubiquiti SmartPower'')] - - * `Other` - [(''hardwired'', ''Hardwired''), (''other'', ''Other'')]' + type: array + items: + type: string + explode: true + style: form - in: query - name: type__n + name: position__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: position__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: position__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: position__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: position__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: position__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: q schema: type: string - x-spec-enum-id: 2ff919f516566857 - enum: - - California Style - - DC - - IEC 60309 - - IEC 60320 - - IEC 60906-1 - - ITA/International - - Molex - - NEMA (Locking) - - NEMA (Non-locking) - - Other - - Proprietary - - USB - description: '* `IEC 60320` - [(''iec-60320-c5'', ''C5''), (''iec-60320-c7'', - ''C7''), (''iec-60320-c13'', ''C13''), (''iec-60320-c15'', ''C15''), (''iec-60320-c19'', - ''C19''), (''iec-60320-c21'', ''C21'')] - - * `IEC 60309` - [(''iec-60309-p-n-e-4h'', ''P+N+E 4H''), (''iec-60309-p-n-e-6h'', - ''P+N+E 6H''), (''iec-60309-p-n-e-9h'', ''P+N+E 9H''), (''iec-60309-2p-e-4h'', - ''2P+E 4H''), (''iec-60309-2p-e-6h'', ''2P+E 6H''), (''iec-60309-2p-e-9h'', - ''2P+E 9H''), (''iec-60309-3p-e-4h'', ''3P+E 4H''), (''iec-60309-3p-e-6h'', - ''3P+E 6H''), (''iec-60309-3p-e-9h'', ''3P+E 9H''), (''iec-60309-3p-n-e-4h'', - ''3P+N+E 4H''), (''iec-60309-3p-n-e-6h'', ''3P+N+E 6H''), (''iec-60309-3p-n-e-9h'', - ''3P+N+E 9H'')] - - * `IEC 60906-1` - [(''iec-60906-1'', ''IEC 60906-1''), (''nbr-14136-10a'', - ''2P+T 10A (NBR 14136)''), (''nbr-14136-20a'', ''2P+T 20A (NBR 14136)'')] - - * `NEMA (Non-locking)` - [(''nema-1-15r'', ''NEMA 1-15R''), (''nema-5-15r'', - ''NEMA 5-15R''), (''nema-5-20r'', ''NEMA 5-20R''), (''nema-5-30r'', ''NEMA - 5-30R''), (''nema-5-50r'', ''NEMA 5-50R''), (''nema-6-15r'', ''NEMA 6-15R''), - (''nema-6-20r'', ''NEMA 6-20R''), (''nema-6-30r'', ''NEMA 6-30R''), (''nema-6-50r'', - ''NEMA 6-50R''), (''nema-10-30r'', ''NEMA 10-30R''), (''nema-10-50r'', ''NEMA - 10-50R''), (''nema-14-20r'', ''NEMA 14-20R''), (''nema-14-30r'', ''NEMA - 14-30R''), (''nema-14-50r'', ''NEMA 14-50R''), (''nema-14-60r'', ''NEMA - 14-60R''), (''nema-15-15r'', ''NEMA 15-15R''), (''nema-15-20r'', ''NEMA - 15-20R''), (''nema-15-30r'', ''NEMA 15-30R''), (''nema-15-50r'', ''NEMA - 15-50R''), (''nema-15-60r'', ''NEMA 15-60R'')] - - * `NEMA (Locking)` - [(''nema-l1-15r'', ''NEMA L1-15R''), (''nema-l5-15r'', - ''NEMA L5-15R''), (''nema-l5-20r'', ''NEMA L5-20R''), (''nema-l5-30r'', - ''NEMA L5-30R''), (''nema-l5-50r'', ''NEMA L5-50R''), (''nema-l6-15r'', - ''NEMA L6-15R''), (''nema-l6-20r'', ''NEMA L6-20R''), (''nema-l6-30r'', - ''NEMA L6-30R''), (''nema-l6-50r'', ''NEMA L6-50R''), (''nema-l10-30r'', - ''NEMA L10-30R''), (''nema-l14-20r'', ''NEMA L14-20R''), (''nema-l14-30r'', - ''NEMA L14-30R''), (''nema-l14-50r'', ''NEMA L14-50R''), (''nema-l14-60r'', - ''NEMA L14-60R''), (''nema-l15-20r'', ''NEMA L15-20R''), (''nema-l15-30r'', - ''NEMA L15-30R''), (''nema-l15-50r'', ''NEMA L15-50R''), (''nema-l15-60r'', - ''NEMA L15-60R''), (''nema-l21-20r'', ''NEMA L21-20R''), (''nema-l21-30r'', - ''NEMA L21-30R''), (''nema-l22-30r'', ''NEMA L22-30R'')] - - * `California Style` - [(''CS6360C'', ''CS6360C''), (''CS6364C'', ''CS6364C''), - (''CS8164C'', ''CS8164C''), (''CS8264C'', ''CS8264C''), (''CS8364C'', ''CS8364C''), - (''CS8464C'', ''CS8464C'')] - - * `ITA/International` - [(''ita-e'', ''ITA Type E (CEE 7/5)''), (''ita-f'', - ''ITA Type F (CEE 7/3)''), (''ita-g'', ''ITA Type G (BS 1363)''), (''ita-h'', - ''ITA Type H''), (''ita-i'', ''ITA Type I''), (''ita-j'', ''ITA Type J''), - (''ita-k'', ''ITA Type K''), (''ita-l'', ''ITA Type L (CEI 23-50)''), (''ita-m'', - ''ITA Type M (BS 546)''), (''ita-n'', ''ITA Type N''), (''ita-o'', ''ITA - Type O''), (''ita-multistandard'', ''ITA Multistandard'')] - - * `USB` - [(''usb-a'', ''USB Type A''), (''usb-micro-b'', ''USB Micro B''), - (''usb-c'', ''USB Type C'')] - - * `Molex` - [(''molex-micro-fit-1x2'', ''Molex Micro-Fit 1x2''), (''molex-micro-fit-2x2'', - ''Molex Micro-Fit 2x2''), (''molex-micro-fit-2x4'', ''Molex Micro-Fit 2x4'')] - - * `DC` - [(''dc-terminal'', ''DC Terminal'')] - - * `Proprietary` - [(''hdot-cx'', ''HDOT Cx''), (''saf-d-grid'', ''Saf-D-Grid''), - (''neutrik-powercon-20a'', ''Neutrik powerCON (20A)''), (''neutrik-powercon-32a'', - ''Neutrik powerCON (32A)''), (''neutrik-powercon-true1'', ''Neutrik powerCON - TRUE1''), (''neutrik-powercon-true1-top'', ''Neutrik powerCON TRUE1 TOP''), - (''ubiquiti-smartpower'', ''Ubiquiti SmartPower'')] - - * `Other` - [(''hardwired'', ''Hardwired''), (''other'', ''Other'')]' + description: Search - in: query name: updated_by_request schema: @@ -36744,21 +53986,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedPowerOutletTemplateList' + $ref: '#/components/schemas/PaginatedModuleBayTemplateList' description: '' post: - operationId: dcim_power_outlet_templates_create - description: Post a list of power outlet template objects. + operationId: dcim_module_bay_templates_create + description: Post a list of module bay template objects. tags: - dcim requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritablePowerOutletTemplateRequest' + $ref: '#/components/schemas/ModuleBayTemplateRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritablePowerOutletTemplateRequest' + $ref: '#/components/schemas/ModuleBayTemplateRequest' required: true security: - cookieAuth: [] @@ -36768,11 +54010,11 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PowerOutletTemplate' + $ref: '#/components/schemas/ModuleBayTemplate' description: '' put: - operationId: dcim_power_outlet_templates_bulk_update - description: Put a list of power outlet template objects. + operationId: dcim_module_bay_templates_bulk_update + description: Put a list of module bay template objects. tags: - dcim requestBody: @@ -36781,12 +54023,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/PowerOutletTemplateRequest' + $ref: '#/components/schemas/ModuleBayTemplateRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/PowerOutletTemplateRequest' + $ref: '#/components/schemas/ModuleBayTemplateRequest' required: true security: - cookieAuth: [] @@ -36798,11 +54040,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/PowerOutletTemplate' + $ref: '#/components/schemas/ModuleBayTemplate' description: '' patch: - operationId: dcim_power_outlet_templates_bulk_partial_update - description: Patch a list of power outlet template objects. + operationId: dcim_module_bay_templates_bulk_partial_update + description: Patch a list of module bay template objects. tags: - dcim requestBody: @@ -36811,12 +54053,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/PowerOutletTemplateRequest' + $ref: '#/components/schemas/ModuleBayTemplateRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/PowerOutletTemplateRequest' + $ref: '#/components/schemas/ModuleBayTemplateRequest' required: true security: - cookieAuth: [] @@ -36828,11 +54070,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/PowerOutletTemplate' + $ref: '#/components/schemas/ModuleBayTemplate' description: '' delete: - operationId: dcim_power_outlet_templates_bulk_destroy - description: Delete a list of power outlet template objects. + operationId: dcim_module_bay_templates_bulk_destroy + description: Delete a list of module bay template objects. tags: - dcim requestBody: @@ -36841,12 +54083,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/PowerOutletTemplateRequest' + $ref: '#/components/schemas/ModuleBayTemplateRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/PowerOutletTemplateRequest' + $ref: '#/components/schemas/ModuleBayTemplateRequest' required: true security: - cookieAuth: [] @@ -36854,16 +54096,16 @@ paths: responses: '204': description: No response body - /api/dcim/power-outlet-templates/{id}/: + /api/dcim/module-bay-templates/{id}/: get: - operationId: dcim_power_outlet_templates_retrieve - description: Get a power outlet template object. + operationId: dcim_module_bay_templates_retrieve + description: Get a module bay template object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this power outlet template. + description: A unique integer value identifying this module bay template. required: true tags: - dcim @@ -36875,17 +54117,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PowerOutletTemplate' + $ref: '#/components/schemas/ModuleBayTemplate' description: '' put: - operationId: dcim_power_outlet_templates_update - description: Put a power outlet template object. + operationId: dcim_module_bay_templates_update + description: Put a module bay template object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this power outlet template. + description: A unique integer value identifying this module bay template. required: true tags: - dcim @@ -36893,10 +54135,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/WritablePowerOutletTemplateRequest' + $ref: '#/components/schemas/ModuleBayTemplateRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritablePowerOutletTemplateRequest' + $ref: '#/components/schemas/ModuleBayTemplateRequest' required: true security: - cookieAuth: [] @@ -36906,17 +54148,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PowerOutletTemplate' + $ref: '#/components/schemas/ModuleBayTemplate' description: '' patch: - operationId: dcim_power_outlet_templates_partial_update - description: Patch a power outlet template object. + operationId: dcim_module_bay_templates_partial_update + description: Patch a module bay template object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this power outlet template. + description: A unique integer value identifying this module bay template. required: true tags: - dcim @@ -36924,10 +54166,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PatchedWritablePowerOutletTemplateRequest' + $ref: '#/components/schemas/PatchedModuleBayTemplateRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedWritablePowerOutletTemplateRequest' + $ref: '#/components/schemas/PatchedModuleBayTemplateRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -36936,17 +54178,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PowerOutletTemplate' + $ref: '#/components/schemas/ModuleBayTemplate' description: '' delete: - operationId: dcim_power_outlet_templates_destroy - description: Delete a power outlet template object. + operationId: dcim_module_bay_templates_destroy + description: Delete a module bay template object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this power outlet template. + description: A unique integer value identifying this module bay template. required: true tags: - dcim @@ -36956,81 +54198,31 @@ paths: responses: '204': description: No response body - /api/dcim/power-outlets/: + /api/dcim/module-bays/: get: - operationId: dcim_power_outlets_list - description: Get a list of power outlet objects. + operationId: dcim_module_bays_list + description: Get a list of module bay objects. parameters: - in: query - name: cable_end - schema: - type: string - x-spec-enum-id: 1db84f9b93b261c8 - enum: - - A - - B - description: '* `A` - A - - * `B` - B' - - in: query - name: cable_end__n - schema: - type: string - x-spec-enum-id: 1db84f9b93b261c8 - enum: - - A - - B - description: '* `A` - A - - * `B` - B' - - in: query - name: cable_id + name: created schema: type: array items: - type: integer - nullable: true - description: Cable (ID) + type: string + format: date-time explode: true style: form - in: query - name: cable_id__n + name: created__empty schema: type: array items: - type: integer - nullable: true - description: Cable (ID) + type: string + format: date-time explode: true style: form - in: query - name: cabled - schema: - type: boolean - - in: query - name: connected - schema: - type: boolean - - in: query - name: created - schema: - type: array - items: - type: string - format: date-time - explode: true - style: form - - in: query - name: created__empty - schema: - type: array - items: - type: string - format: date-time - explode: true - style: form - - in: query - name: created__gt + name: created__gt schema: type: array items: @@ -37202,59 +54394,358 @@ paths: explode: true style: form - in: query - name: device_type + name: device_role schema: type: array items: type: string - description: Device type (model) + description: Device role (slug) explode: true style: form - in: query - name: device_type__n + name: device_role__n schema: type: array items: type: string - description: Device type (model) + description: Device role (slug) explode: true style: form - in: query - name: device_type_id + name: device_role_id schema: type: array items: type: integer - description: Device type (ID) + description: Device role (ID) explode: true style: form - in: query - name: device_type_id__n + name: device_role_id__n schema: type: array items: type: integer - description: Device type (ID) + description: Device role (ID) explode: true style: form - in: query - name: feed_leg + name: device_status schema: type: array items: type: string - x-spec-enum-id: a4902339df0b7c06 - description: Phase (for three-phase feeds) + x-spec-enum-id: 8d8971779f16ee18 explode: true style: form - in: query - name: feed_leg__n + name: device_status__empty + schema: + type: boolean + - in: query + name: device_status__ic schema: type: array items: type: string - x-spec-enum-id: a4902339df0b7c06 - description: Phase (for three-phase feeds) + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' + explode: true + style: form + - in: query + name: device_status__ie + schema: + type: array + items: + type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' + explode: true + style: form + - in: query + name: device_status__iew + schema: + type: array + items: + type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' + explode: true + style: form + - in: query + name: device_status__isw + schema: + type: array + items: + type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' + explode: true + style: form + - in: query + name: device_status__n + schema: + type: array + items: + type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' + explode: true + style: form + - in: query + name: device_status__nic + schema: + type: array + items: + type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' + explode: true + style: form + - in: query + name: device_status__nie + schema: + type: array + items: + type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' + explode: true + style: form + - in: query + name: device_status__niew + schema: + type: array + items: + type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' + explode: true + style: form + - in: query + name: device_status__nisw + schema: + type: array + items: + type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' + explode: true + style: form + - in: query + name: device_type + schema: + type: array + items: + type: string + description: Device type (model) + explode: true + style: form + - in: query + name: device_type__n + schema: + type: array + items: + type: string + description: Device type (model) + explode: true + style: form + - in: query + name: device_type_id + schema: + type: array + items: + type: integer + description: Device type (ID) + explode: true + style: form + - in: query + name: device_type_id__n + schema: + type: array + items: + type: integer + description: Device type (ID) explode: true style: form - in: query @@ -37315,6 +54806,24 @@ paths: format: int32 explode: true style: form + - in: query + name: installed_module_id + schema: + type: array + items: + type: integer + description: Installed module (ID) + explode: true + style: form + - in: query + name: installed_module_id__n + schema: + type: array + items: + type: integer + description: Installed module (ID) + explode: true + style: form - in: query name: label schema: @@ -37504,10 +55013,6 @@ paths: description: Location (ID) explode: true style: form - - in: query - name: mark_connected - schema: - type: boolean - in: query name: modified_by_request schema: @@ -37617,10 +55122,6 @@ paths: type: string explode: true style: form - - in: query - name: occupied - schema: - type: boolean - name: offset required: false in: query @@ -37634,23 +55135,107 @@ paths: schema: type: string - in: query - name: power_port_id + name: parent_id schema: type: array items: type: integer nullable: true - description: Power port (ID) + description: Parent module bay (ID) explode: true style: form - in: query - name: power_port_id__n + name: parent_id__n schema: type: array items: type: integer nullable: true - description: Power port (ID) + description: Parent module bay (ID) + explode: true + style: form + - in: query + name: position + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: position__empty + schema: + type: boolean + - in: query + name: position__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: position__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: position__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: position__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: position__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: position__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: position__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: position__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: position__nisw + schema: + type: array + items: + type: string explode: true style: form - in: query @@ -37699,8 +55284,7 @@ paths: schema: type: array items: - type: integer - description: Region (slug) + type: string explode: true style: form - in: query @@ -37708,62 +55292,23 @@ paths: schema: type: array items: - type: integer - description: Region (slug) + type: string explode: true style: form - in: query name: region_id - schema: - type: array - items: - type: integer - description: Region (ID) - explode: true - style: form - - in: query - name: region_id__n - schema: - type: array - items: - type: integer - description: Region (ID) - explode: true - style: form - - in: query - name: role schema: type: array items: type: string - description: Device role (slug) explode: true style: form - in: query - name: role__n + name: region_id__n schema: type: array items: type: string - description: Device role (slug) - explode: true - style: form - - in: query - name: role_id - schema: - type: array - items: - type: integer - description: Device role (ID) - explode: true - style: form - - in: query - name: role_id__n - schema: - type: array - items: - type: integer - description: Device role (ID) explode: true style: form - in: query @@ -37789,8 +55334,7 @@ paths: schema: type: array items: - type: integer - description: Site group (slug) + type: string explode: true style: form - in: query @@ -37798,8 +55342,7 @@ paths: schema: type: array items: - type: integer - description: Site group (slug) + type: string explode: true style: form - in: query @@ -37807,8 +55350,7 @@ paths: schema: type: array items: - type: integer - description: Site group (ID) + type: string explode: true style: form - in: query @@ -37816,8 +55358,7 @@ paths: schema: type: array items: - type: integer - description: Site group (ID) + type: string explode: true style: form - in: query @@ -37854,26 +55395,6 @@ paths: type: string explode: true style: form - - in: query - name: type - schema: - type: array - items: - type: string - x-spec-enum-id: 2ff919f516566857 - description: Physical port type - explode: true - style: form - - in: query - name: type__n - schema: - type: array - items: - type: string - x-spec-enum-id: 2ff919f516566857 - description: Physical port type - explode: true - style: form - in: query name: updated_by_request schema: @@ -37925,21 +55446,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedPowerOutletList' + $ref: '#/components/schemas/PaginatedModuleBayList' description: '' post: - operationId: dcim_power_outlets_create - description: Post a list of power outlet objects. + operationId: dcim_module_bays_create + description: Post a list of module bay objects. tags: - dcim requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritablePowerOutletRequest' + $ref: '#/components/schemas/ModuleBayRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritablePowerOutletRequest' + $ref: '#/components/schemas/ModuleBayRequest' required: true security: - cookieAuth: [] @@ -37949,11 +55470,11 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PowerOutlet' + $ref: '#/components/schemas/ModuleBay' description: '' put: - operationId: dcim_power_outlets_bulk_update - description: Put a list of power outlet objects. + operationId: dcim_module_bays_bulk_update + description: Put a list of module bay objects. tags: - dcim requestBody: @@ -37962,12 +55483,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/PowerOutletRequest' + $ref: '#/components/schemas/ModuleBayRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/PowerOutletRequest' + $ref: '#/components/schemas/ModuleBayRequest' required: true security: - cookieAuth: [] @@ -37979,11 +55500,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/PowerOutlet' + $ref: '#/components/schemas/ModuleBay' description: '' patch: - operationId: dcim_power_outlets_bulk_partial_update - description: Patch a list of power outlet objects. + operationId: dcim_module_bays_bulk_partial_update + description: Patch a list of module bay objects. tags: - dcim requestBody: @@ -37992,12 +55513,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/PowerOutletRequest' + $ref: '#/components/schemas/ModuleBayRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/PowerOutletRequest' + $ref: '#/components/schemas/ModuleBayRequest' required: true security: - cookieAuth: [] @@ -38009,11 +55530,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/PowerOutlet' + $ref: '#/components/schemas/ModuleBay' description: '' delete: - operationId: dcim_power_outlets_bulk_destroy - description: Delete a list of power outlet objects. + operationId: dcim_module_bays_bulk_destroy + description: Delete a list of module bay objects. tags: - dcim requestBody: @@ -38022,12 +55543,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/PowerOutletRequest' + $ref: '#/components/schemas/ModuleBayRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/PowerOutletRequest' + $ref: '#/components/schemas/ModuleBayRequest' required: true security: - cookieAuth: [] @@ -38035,16 +55556,16 @@ paths: responses: '204': description: No response body - /api/dcim/power-outlets/{id}/: + /api/dcim/module-bays/{id}/: get: - operationId: dcim_power_outlets_retrieve - description: Get a power outlet object. + operationId: dcim_module_bays_retrieve + description: Get a module bay object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this power outlet. + description: A unique integer value identifying this module bay. required: true tags: - dcim @@ -38056,17 +55577,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PowerOutlet' + $ref: '#/components/schemas/ModuleBay' description: '' put: - operationId: dcim_power_outlets_update - description: Put a power outlet object. + operationId: dcim_module_bays_update + description: Put a module bay object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this power outlet. + description: A unique integer value identifying this module bay. required: true tags: - dcim @@ -38074,10 +55595,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/WritablePowerOutletRequest' + $ref: '#/components/schemas/ModuleBayRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritablePowerOutletRequest' + $ref: '#/components/schemas/ModuleBayRequest' required: true security: - cookieAuth: [] @@ -38087,17 +55608,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PowerOutlet' + $ref: '#/components/schemas/ModuleBay' description: '' patch: - operationId: dcim_power_outlets_partial_update - description: Patch a power outlet object. + operationId: dcim_module_bays_partial_update + description: Patch a module bay object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this power outlet. + description: A unique integer value identifying this module bay. required: true tags: - dcim @@ -38105,10 +55626,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PatchedWritablePowerOutletRequest' + $ref: '#/components/schemas/PatchedModuleBayRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedWritablePowerOutletRequest' + $ref: '#/components/schemas/PatchedModuleBayRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -38117,17 +55638,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PowerOutlet' + $ref: '#/components/schemas/ModuleBay' description: '' delete: - operationId: dcim_power_outlets_destroy - description: Delete a power outlet object. + operationId: dcim_module_bays_destroy + description: Delete a module bay object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this power outlet. + description: A unique integer value identifying this module bay. required: true tags: - dcim @@ -38137,89 +55658,44 @@ paths: responses: '204': description: No response body - /api/dcim/power-outlets/{id}/trace/: - get: - operationId: dcim_power_outlets_trace_retrieve - description: Trace a complete cable path and return each segment as a three-tuple - of (termination, cable, termination). - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this power outlet. - required: true - tags: - - dcim - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/PowerOutlet' - description: '' - /api/dcim/power-panels/: + /api/dcim/module-types/: get: - operationId: dcim_power_panels_list - description: Get a list of power panel objects. + operationId: dcim_module_types_list + description: Get a list of module type objects. parameters: - in: query - name: contact - schema: - type: array - items: - type: integer - description: Contact - explode: true - style: form - - in: query - name: contact__n - schema: - type: array - items: - type: integer - description: Contact - explode: true - style: form - - in: query - name: contact_group - schema: - type: array - items: - type: integer - description: Contact group - explode: true - style: form - - in: query - name: contact_group__n + name: airflow schema: - type: array - items: - type: integer - description: Contact group - explode: true - style: form + type: string + x-spec-enum-id: f6e5562e0e98d69d + enum: + - front-to-rear + - left-to-right + - passive + - rear-to-front + - right-to-left + - side-to-rear + description: '* `front-to-rear` - Front to rear + + * `rear-to-front` - Rear to front + + * `left-to-right` - Left to right + + * `right-to-left` - Right to left + + * `side-to-rear` - Side to rear + + * `passive` - Passive' - in: query - name: contact_role + name: console_ports schema: - type: array - items: - type: integer - description: Contact Role - explode: true - style: form + type: boolean + description: Has console ports - in: query - name: contact_role__n + name: console_server_ports schema: - type: array - items: - type: integer - description: Contact Role - explode: true - style: form + type: boolean + description: Has console server ports - in: query name: created schema: @@ -38430,6 +55906,11 @@ paths: format: int32 explode: true style: form + - in: query + name: interfaces + schema: + type: boolean + description: Has interfaces - in: query name: last_updated schema: @@ -38500,30 +55981,43 @@ paths: schema: type: integer - in: query - name: location_id + name: manufacturer schema: type: array items: - type: integer - description: Location (ID) + type: string + description: Manufacturer (slug) explode: true style: form - in: query - name: location_id__n + name: manufacturer__n + schema: + type: array + items: + type: string + description: Manufacturer (slug) + explode: true + style: form + - in: query + name: manufacturer_id schema: type: array items: type: integer - description: Location (ID) + description: Manufacturer (ID) explode: true style: form - in: query - name: modified_by_request + name: manufacturer_id__n schema: - type: string - format: uuid + type: array + items: + type: integer + description: Manufacturer (ID) + explode: true + style: form - in: query - name: name + name: model schema: type: array items: @@ -38531,11 +56025,11 @@ paths: explode: true style: form - in: query - name: name__empty + name: model__empty schema: type: boolean - in: query - name: name__ic + name: model__ic schema: type: array items: @@ -38543,7 +56037,7 @@ paths: explode: true style: form - in: query - name: name__ie + name: model__ie schema: type: array items: @@ -38551,7 +56045,7 @@ paths: explode: true style: form - in: query - name: name__iew + name: model__iew schema: type: array items: @@ -38559,7 +56053,7 @@ paths: explode: true style: form - in: query - name: name__isw + name: model__isw schema: type: array items: @@ -38567,7 +56061,7 @@ paths: explode: true style: form - in: query - name: name__n + name: model__n schema: type: array items: @@ -38575,7 +56069,7 @@ paths: explode: true style: form - in: query - name: name__nic + name: model__nic schema: type: array items: @@ -38583,7 +56077,7 @@ paths: explode: true style: form - in: query - name: name__nie + name: model__nie schema: type: array items: @@ -38591,7 +56085,7 @@ paths: explode: true style: form - in: query - name: name__niew + name: model__niew schema: type: array items: @@ -38599,13 +56093,18 @@ paths: explode: true style: form - in: query - name: name__nisw + name: model__nisw schema: type: array items: type: string explode: true style: form + - in: query + name: modified_by_request + schema: + type: string + format: uuid - name: offset required: false in: query @@ -38619,139 +56118,205 @@ paths: schema: type: string - in: query - name: q + name: part_number schema: - type: string - description: Search + type: array + items: + type: string + explode: true + style: form - in: query - name: region + name: part_number__empty + schema: + type: boolean + - in: query + name: part_number__ic schema: type: array items: - type: integer - description: Region (slug) + type: string explode: true style: form - in: query - name: region__n + name: part_number__ie schema: type: array items: - type: integer - description: Region (slug) + type: string explode: true style: form - in: query - name: region_id + name: part_number__iew schema: type: array items: - type: integer - description: Region (ID) + type: string explode: true style: form - in: query - name: region_id__n + name: part_number__isw schema: type: array items: - type: integer - description: Region (ID) + type: string explode: true style: form - in: query - name: site + name: part_number__n schema: type: array items: type: string - description: Site name (slug) explode: true style: form - in: query - name: site__n + name: part_number__nic schema: type: array items: type: string - description: Site name (slug) explode: true style: form - in: query - name: site_group + name: part_number__nie schema: type: array items: - type: integer - description: Site group (slug) + type: string explode: true style: form - in: query - name: site_group__n + name: part_number__niew schema: type: array items: - type: integer - description: Site group (slug) + type: string explode: true style: form - in: query - name: site_group_id + name: part_number__nisw schema: type: array items: - type: integer - description: Site group (ID) + type: string explode: true style: form - in: query - name: site_group_id__n + name: pass_through_ports + schema: + type: boolean + description: Has pass-through ports + - in: query + name: power_outlets + schema: + type: boolean + description: Has power outlets + - in: query + name: power_ports + schema: + type: boolean + description: Has power ports + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: tag schema: type: array items: - type: integer - description: Site group (ID) + type: string explode: true style: form - in: query - name: site_id + name: tag__n schema: type: array items: - type: integer - description: Site (ID) + type: string explode: true style: form - in: query - name: site_id__n + name: updated_by_request + schema: + type: string + format: uuid + - in: query + name: weight schema: type: array items: - type: integer - description: Site (ID) + type: number + format: double explode: true style: form - in: query - name: tag + name: weight__empty + schema: + type: boolean + - in: query + name: weight__gt schema: type: array items: - type: string + type: number + format: double explode: true style: form - in: query - name: tag__n + name: weight__gte schema: type: array items: - type: string + type: number + format: double explode: true style: form - in: query - name: updated_by_request + name: weight__lt + schema: + type: array + items: + type: number + format: double + explode: true + style: form + - in: query + name: weight__lte + schema: + type: array + items: + type: number + format: double + explode: true + style: form + - in: query + name: weight__n + schema: + type: array + items: + type: number + format: double + explode: true + style: form + - in: query + name: weight_unit schema: type: string - format: uuid + x-spec-enum-id: 7c1876f422815884 + enum: + - g + - kg + - lb + - oz + description: '* `kg` - Kilograms + + * `g` - Grams + + * `lb` - Pounds + + * `oz` - Ounces' tags: - dcim security: @@ -38762,21 +56327,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedPowerPanelList' + $ref: '#/components/schemas/PaginatedModuleTypeList' description: '' post: - operationId: dcim_power_panels_create - description: Post a list of power panel objects. + operationId: dcim_module_types_create + description: Post a list of module type objects. tags: - dcim requestBody: content: application/json: schema: - $ref: '#/components/schemas/PowerPanelRequest' + $ref: '#/components/schemas/WritableModuleTypeRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PowerPanelRequest' + $ref: '#/components/schemas/WritableModuleTypeRequest' required: true security: - cookieAuth: [] @@ -38786,11 +56351,11 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PowerPanel' + $ref: '#/components/schemas/ModuleType' description: '' put: - operationId: dcim_power_panels_bulk_update - description: Put a list of power panel objects. + operationId: dcim_module_types_bulk_update + description: Put a list of module type objects. tags: - dcim requestBody: @@ -38799,12 +56364,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/PowerPanelRequest' + $ref: '#/components/schemas/ModuleTypeRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/PowerPanelRequest' + $ref: '#/components/schemas/ModuleTypeRequest' required: true security: - cookieAuth: [] @@ -38816,11 +56381,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/PowerPanel' + $ref: '#/components/schemas/ModuleType' description: '' patch: - operationId: dcim_power_panels_bulk_partial_update - description: Patch a list of power panel objects. + operationId: dcim_module_types_bulk_partial_update + description: Patch a list of module type objects. tags: - dcim requestBody: @@ -38829,12 +56394,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/PowerPanelRequest' + $ref: '#/components/schemas/ModuleTypeRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/PowerPanelRequest' + $ref: '#/components/schemas/ModuleTypeRequest' required: true security: - cookieAuth: [] @@ -38846,11 +56411,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/PowerPanel' + $ref: '#/components/schemas/ModuleType' description: '' delete: - operationId: dcim_power_panels_bulk_destroy - description: Delete a list of power panel objects. + operationId: dcim_module_types_bulk_destroy + description: Delete a list of module type objects. tags: - dcim requestBody: @@ -38859,12 +56424,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/PowerPanelRequest' + $ref: '#/components/schemas/ModuleTypeRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/PowerPanelRequest' + $ref: '#/components/schemas/ModuleTypeRequest' required: true security: - cookieAuth: [] @@ -38872,16 +56437,16 @@ paths: responses: '204': description: No response body - /api/dcim/power-panels/{id}/: + /api/dcim/module-types/{id}/: get: - operationId: dcim_power_panels_retrieve - description: Get a power panel object. + operationId: dcim_module_types_retrieve + description: Get a module type object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this power panel. + description: A unique integer value identifying this module type. required: true tags: - dcim @@ -38893,17 +56458,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PowerPanel' + $ref: '#/components/schemas/ModuleType' description: '' put: - operationId: dcim_power_panels_update - description: Put a power panel object. + operationId: dcim_module_types_update + description: Put a module type object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this power panel. + description: A unique integer value identifying this module type. required: true tags: - dcim @@ -38911,10 +56476,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PowerPanelRequest' + $ref: '#/components/schemas/WritableModuleTypeRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PowerPanelRequest' + $ref: '#/components/schemas/WritableModuleTypeRequest' required: true security: - cookieAuth: [] @@ -38924,17 +56489,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PowerPanel' + $ref: '#/components/schemas/ModuleType' description: '' patch: - operationId: dcim_power_panels_partial_update - description: Patch a power panel object. + operationId: dcim_module_types_partial_update + description: Patch a module type object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this power panel. + description: A unique integer value identifying this module type. required: true tags: - dcim @@ -38942,10 +56507,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PatchedPowerPanelRequest' + $ref: '#/components/schemas/PatchedWritableModuleTypeRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedPowerPanelRequest' + $ref: '#/components/schemas/PatchedWritableModuleTypeRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -38954,17 +56519,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PowerPanel' + $ref: '#/components/schemas/ModuleType' description: '' delete: - operationId: dcim_power_panels_destroy - description: Delete a power panel object. + operationId: dcim_module_types_destroy + description: Delete a module type object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this power panel. + description: A unique integer value identifying this module type. required: true tags: - dcim @@ -38974,67 +56539,93 @@ paths: responses: '204': description: No response body - /api/dcim/power-port-templates/: + /api/dcim/modules/: get: - operationId: dcim_power_port_templates_list - description: Get a list of power port template objects. + operationId: dcim_modules_list + description: Get a list of module objects. parameters: - in: query - name: allocated_draw + name: asset_tag schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: allocated_draw__empty + name: asset_tag__empty schema: type: boolean - in: query - name: allocated_draw__gt + name: asset_tag__ic schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: allocated_draw__gte + name: asset_tag__ie schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: allocated_draw__lt + name: asset_tag__iew schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: allocated_draw__lte + name: asset_tag__isw schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: allocated_draw__n + name: asset_tag__n schema: type: array items: - type: integer - format: int32 + type: string + explode: true + style: form + - in: query + name: asset_tag__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asset_tag__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asset_tag__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: asset_tag__nisw + schema: + type: array + items: + type: string explode: true style: form - in: query @@ -39190,43 +56781,21 @@ paths: explode: true style: form - in: query - name: device_type_id - schema: - type: array - items: - type: integer - nullable: true - description: Device type (ID) - explode: true - style: form - - in: query - name: device_type_id__n - schema: - type: array - items: - type: integer - nullable: true - description: Device type (ID) - explode: true - style: form - - in: query - name: devicetype_id + name: device_id schema: type: array items: type: integer - nullable: true - description: Device type (ID) + description: Device (ID) explode: true style: form - in: query - name: devicetype_id__n + name: device_id__n schema: type: array items: type: integer - nullable: true - description: Device type (ID) + description: Device (ID) explode: true style: form - in: query @@ -39288,532 +56857,540 @@ paths: explode: true style: form - in: query - name: label + name: last_updated schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: label__empty - schema: - type: boolean - - in: query - name: label__ic + name: last_updated__empty schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: label__ie + name: last_updated__gt schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: label__iew + name: last_updated__gte schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: label__isw + name: last_updated__lt schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: label__n + name: last_updated__lte schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: label__nic + 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: label__nie + name: manufacturer schema: type: array items: type: string + description: Manufacturer (slug) explode: true style: form - in: query - name: label__niew + name: manufacturer__n schema: type: array items: type: string + description: Manufacturer (slug) explode: true style: form - in: query - name: label__nisw + name: manufacturer_id schema: type: array items: - type: string + type: integer + description: Manufacturer (ID) explode: true style: form - in: query - name: last_updated + name: manufacturer_id__n schema: type: array items: - type: string - format: date-time + type: integer + description: Manufacturer (ID) explode: true style: form - in: query - name: last_updated__empty + name: modified_by_request + schema: + type: string + format: uuid + - in: query + name: module_bay_id schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__gt + name: module_bay_id__n schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__gte + name: module_type schema: type: array items: type: string - format: date-time + description: Module type (model) explode: true style: form - in: query - name: last_updated__lt + name: module_type__n schema: type: array items: type: string - format: date-time + description: Module type (model) explode: true style: form - in: query - name: last_updated__lte + name: module_type_id schema: type: array items: - type: string - format: date-time + type: integer + description: Module type (ID) explode: true style: form - in: query - name: last_updated__n + name: module_type_id__n schema: type: array items: - type: string - format: date-time + type: integer + description: Module type (ID) explode: true style: form - - name: limit + - 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 + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string - in: query - name: maximum_draw + name: q + schema: + type: string + description: Search + - in: query + name: serial schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: maximum_draw__empty + name: serial__empty schema: type: boolean - in: query - name: maximum_draw__gt + name: serial__ic schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: maximum_draw__gte + name: serial__ie schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: maximum_draw__lt + name: serial__iew schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: maximum_draw__lte + name: serial__isw schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: maximum_draw__n + name: serial__n schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: modified_by_request - schema: - type: string - format: uuid - - in: query - name: module_type_id + name: serial__nic schema: type: array items: - type: integer - nullable: true - description: Module type (ID) + type: string explode: true style: form - in: query - name: module_type_id__n + name: serial__nie schema: type: array items: - type: integer - nullable: true - description: Module type (ID) + type: string explode: true style: form - in: query - name: moduletype_id + name: serial__niew schema: type: array items: - type: integer - nullable: true - description: Module type (ID) + type: string explode: true style: form - in: query - name: moduletype_id__n + name: serial__nisw schema: type: array items: - type: integer - nullable: true - description: Module type (ID) + type: string explode: true style: form - in: query - name: name + name: status schema: type: array items: type: string + x-spec-enum-id: 2217e87d0c3efdda explode: true style: form - in: query - name: name__empty + name: status__empty schema: type: boolean - in: query - name: name__ic + name: status__ic schema: type: array items: type: string + x-spec-enum-id: 2217e87d0c3efdda + enum: + - active + - decommissioning + - failed + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: name__ie + name: status__ie schema: type: array items: type: string + x-spec-enum-id: 2217e87d0c3efdda + enum: + - active + - decommissioning + - failed + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: name__iew + name: status__iew schema: type: array items: type: string + x-spec-enum-id: 2217e87d0c3efdda + enum: + - active + - decommissioning + - failed + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: name__isw + name: status__isw schema: type: array items: type: string + x-spec-enum-id: 2217e87d0c3efdda + enum: + - active + - decommissioning + - failed + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: name__n + name: status__n schema: type: array items: type: string + x-spec-enum-id: 2217e87d0c3efdda + enum: + - active + - decommissioning + - failed + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: name__nic + name: status__nic schema: type: array items: type: string + x-spec-enum-id: 2217e87d0c3efdda + enum: + - active + - decommissioning + - failed + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: name__nie + name: status__nie schema: type: array items: type: string + x-spec-enum-id: 2217e87d0c3efdda + enum: + - active + - decommissioning + - failed + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: name__niew + name: status__niew schema: type: array items: type: string + x-spec-enum-id: 2217e87d0c3efdda + enum: + - active + - decommissioning + - failed + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: name__nisw + name: status__nisw 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 - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - in: query - name: q - schema: - type: string - description: Search - - in: query - name: type - schema: - type: string - x-spec-enum-id: 6d680dea031864ae - enum: - - California Style - - DC - - IEC 60309 - - IEC 60320 - - IEC 60906-1 - - International/ITA - - Molex - - NEMA (Locking) - - NEMA (Non-locking) - - Other - - Proprietary - - USB - description: '* `IEC 60320` - [(''iec-60320-c6'', ''C6''), (''iec-60320-c8'', - ''C8''), (''iec-60320-c14'', ''C14''), (''iec-60320-c16'', ''C16''), (''iec-60320-c20'', - ''C20''), (''iec-60320-c22'', ''C22'')] - - * `IEC 60309` - [(''iec-60309-p-n-e-4h'', ''P+N+E 4H''), (''iec-60309-p-n-e-6h'', - ''P+N+E 6H''), (''iec-60309-p-n-e-9h'', ''P+N+E 9H''), (''iec-60309-2p-e-4h'', - ''2P+E 4H''), (''iec-60309-2p-e-6h'', ''2P+E 6H''), (''iec-60309-2p-e-9h'', - ''2P+E 9H''), (''iec-60309-3p-e-4h'', ''3P+E 4H''), (''iec-60309-3p-e-6h'', - ''3P+E 6H''), (''iec-60309-3p-e-9h'', ''3P+E 9H''), (''iec-60309-3p-n-e-4h'', - ''3P+N+E 4H''), (''iec-60309-3p-n-e-6h'', ''3P+N+E 6H''), (''iec-60309-3p-n-e-9h'', - ''3P+N+E 9H'')] - - * `IEC 60906-1` - [(''iec-60906-1'', ''IEC 60906-1''), (''nbr-14136-10a'', - ''2P+T 10A (NBR 14136)''), (''nbr-14136-20a'', ''2P+T 20A (NBR 14136)'')] - - * `NEMA (Non-locking)` - [(''nema-1-15p'', ''NEMA 1-15P''), (''nema-5-15p'', - ''NEMA 5-15P''), (''nema-5-20p'', ''NEMA 5-20P''), (''nema-5-30p'', ''NEMA - 5-30P''), (''nema-5-50p'', ''NEMA 5-50P''), (''nema-6-15p'', ''NEMA 6-15P''), - (''nema-6-20p'', ''NEMA 6-20P''), (''nema-6-30p'', ''NEMA 6-30P''), (''nema-6-50p'', - ''NEMA 6-50P''), (''nema-10-30p'', ''NEMA 10-30P''), (''nema-10-50p'', ''NEMA - 10-50P''), (''nema-14-20p'', ''NEMA 14-20P''), (''nema-14-30p'', ''NEMA - 14-30P''), (''nema-14-50p'', ''NEMA 14-50P''), (''nema-14-60p'', ''NEMA - 14-60P''), (''nema-15-15p'', ''NEMA 15-15P''), (''nema-15-20p'', ''NEMA - 15-20P''), (''nema-15-30p'', ''NEMA 15-30P''), (''nema-15-50p'', ''NEMA - 15-50P''), (''nema-15-60p'', ''NEMA 15-60P'')] - - * `NEMA (Locking)` - [(''nema-l1-15p'', ''NEMA L1-15P''), (''nema-l5-15p'', - ''NEMA L5-15P''), (''nema-l5-20p'', ''NEMA L5-20P''), (''nema-l5-30p'', - ''NEMA L5-30P''), (''nema-l5-50p'', ''NEMA L5-50P''), (''nema-l6-15p'', - ''NEMA L6-15P''), (''nema-l6-20p'', ''NEMA L6-20P''), (''nema-l6-30p'', - ''NEMA L6-30P''), (''nema-l6-50p'', ''NEMA L6-50P''), (''nema-l10-30p'', - ''NEMA L10-30P''), (''nema-l14-20p'', ''NEMA L14-20P''), (''nema-l14-30p'', - ''NEMA L14-30P''), (''nema-l14-50p'', ''NEMA L14-50P''), (''nema-l14-60p'', - ''NEMA L14-60P''), (''nema-l15-20p'', ''NEMA L15-20P''), (''nema-l15-30p'', - ''NEMA L15-30P''), (''nema-l15-50p'', ''NEMA L15-50P''), (''nema-l15-60p'', - ''NEMA L15-60P''), (''nema-l21-20p'', ''NEMA L21-20P''), (''nema-l21-30p'', - ''NEMA L21-30P''), (''nema-l22-30p'', ''NEMA L22-30P'')] - - * `California Style` - [(''cs6361c'', ''CS6361C''), (''cs6365c'', ''CS6365C''), - (''cs8165c'', ''CS8165C''), (''cs8265c'', ''CS8265C''), (''cs8365c'', ''CS8365C''), - (''cs8465c'', ''CS8465C'')] - - * `International/ITA` - [(''ita-c'', ''ITA Type C (CEE 7/16)''), (''ita-e'', - ''ITA Type E (CEE 7/6)''), (''ita-f'', ''ITA Type F (CEE 7/4)''), (''ita-ef'', - ''ITA Type E/F (CEE 7/7)''), (''ita-g'', ''ITA Type G (BS 1363)''), (''ita-h'', - ''ITA Type H''), (''ita-i'', ''ITA Type I''), (''ita-j'', ''ITA Type J''), - (''ita-k'', ''ITA Type K''), (''ita-l'', ''ITA Type L (CEI 23-50)''), (''ita-m'', - ''ITA Type M (BS 546)''), (''ita-n'', ''ITA Type N''), (''ita-o'', ''ITA - Type O'')] + x-spec-enum-id: 2217e87d0c3efdda + enum: + - active + - decommissioning + - failed + - offline + - planned + - staged + description: '* `offline` - Offline - * `USB` - [(''usb-a'', ''USB Type A''), (''usb-b'', ''USB Type B''), (''usb-c'', - ''USB Type C''), (''usb-mini-a'', ''USB Mini A''), (''usb-mini-b'', ''USB - Mini B''), (''usb-micro-a'', ''USB Micro A''), (''usb-micro-b'', ''USB Micro - B''), (''usb-micro-ab'', ''USB Micro AB''), (''usb-3-b'', ''USB 3.0 Type - B''), (''usb-3-micro-b'', ''USB 3.0 Micro B'')] + * `active` - Active - * `Molex` - [(''molex-micro-fit-1x2'', ''Molex Micro-Fit 1x2''), (''molex-micro-fit-2x2'', - ''Molex Micro-Fit 2x2''), (''molex-micro-fit-2x4'', ''Molex Micro-Fit 2x4'')] + * `planned` - Planned - * `DC` - [(''dc-terminal'', ''DC Terminal'')] + * `staged` - Staged - * `Proprietary` - [(''saf-d-grid'', ''Saf-D-Grid''), (''neutrik-powercon-20'', - ''Neutrik powerCON (20A)''), (''neutrik-powercon-32'', ''Neutrik powerCON - (32A)''), (''neutrik-powercon-true1'', ''Neutrik powerCON TRUE1''), (''neutrik-powercon-true1-top'', - ''Neutrik powerCON TRUE1 TOP''), (''ubiquiti-smartpower'', ''Ubiquiti SmartPower'')] + * `failed` - Failed - * `Other` - [(''hardwired'', ''Hardwired''), (''other'', ''Other'')]' + * `decommissioning` - Decommissioning' + explode: true + style: form - in: query - name: type__n + name: tag schema: - type: string - x-spec-enum-id: 6d680dea031864ae - enum: - - California Style - - DC - - IEC 60309 - - IEC 60320 - - IEC 60906-1 - - International/ITA - - Molex - - NEMA (Locking) - - NEMA (Non-locking) - - Other - - Proprietary - - USB - description: '* `IEC 60320` - [(''iec-60320-c6'', ''C6''), (''iec-60320-c8'', - ''C8''), (''iec-60320-c14'', ''C14''), (''iec-60320-c16'', ''C16''), (''iec-60320-c20'', - ''C20''), (''iec-60320-c22'', ''C22'')] - - * `IEC 60309` - [(''iec-60309-p-n-e-4h'', ''P+N+E 4H''), (''iec-60309-p-n-e-6h'', - ''P+N+E 6H''), (''iec-60309-p-n-e-9h'', ''P+N+E 9H''), (''iec-60309-2p-e-4h'', - ''2P+E 4H''), (''iec-60309-2p-e-6h'', ''2P+E 6H''), (''iec-60309-2p-e-9h'', - ''2P+E 9H''), (''iec-60309-3p-e-4h'', ''3P+E 4H''), (''iec-60309-3p-e-6h'', - ''3P+E 6H''), (''iec-60309-3p-e-9h'', ''3P+E 9H''), (''iec-60309-3p-n-e-4h'', - ''3P+N+E 4H''), (''iec-60309-3p-n-e-6h'', ''3P+N+E 6H''), (''iec-60309-3p-n-e-9h'', - ''3P+N+E 9H'')] - - * `IEC 60906-1` - [(''iec-60906-1'', ''IEC 60906-1''), (''nbr-14136-10a'', - ''2P+T 10A (NBR 14136)''), (''nbr-14136-20a'', ''2P+T 20A (NBR 14136)'')] - - * `NEMA (Non-locking)` - [(''nema-1-15p'', ''NEMA 1-15P''), (''nema-5-15p'', - ''NEMA 5-15P''), (''nema-5-20p'', ''NEMA 5-20P''), (''nema-5-30p'', ''NEMA - 5-30P''), (''nema-5-50p'', ''NEMA 5-50P''), (''nema-6-15p'', ''NEMA 6-15P''), - (''nema-6-20p'', ''NEMA 6-20P''), (''nema-6-30p'', ''NEMA 6-30P''), (''nema-6-50p'', - ''NEMA 6-50P''), (''nema-10-30p'', ''NEMA 10-30P''), (''nema-10-50p'', ''NEMA - 10-50P''), (''nema-14-20p'', ''NEMA 14-20P''), (''nema-14-30p'', ''NEMA - 14-30P''), (''nema-14-50p'', ''NEMA 14-50P''), (''nema-14-60p'', ''NEMA - 14-60P''), (''nema-15-15p'', ''NEMA 15-15P''), (''nema-15-20p'', ''NEMA - 15-20P''), (''nema-15-30p'', ''NEMA 15-30P''), (''nema-15-50p'', ''NEMA - 15-50P''), (''nema-15-60p'', ''NEMA 15-60P'')] - - * `NEMA (Locking)` - [(''nema-l1-15p'', ''NEMA L1-15P''), (''nema-l5-15p'', - ''NEMA L5-15P''), (''nema-l5-20p'', ''NEMA L5-20P''), (''nema-l5-30p'', - ''NEMA L5-30P''), (''nema-l5-50p'', ''NEMA L5-50P''), (''nema-l6-15p'', - ''NEMA L6-15P''), (''nema-l6-20p'', ''NEMA L6-20P''), (''nema-l6-30p'', - ''NEMA L6-30P''), (''nema-l6-50p'', ''NEMA L6-50P''), (''nema-l10-30p'', - ''NEMA L10-30P''), (''nema-l14-20p'', ''NEMA L14-20P''), (''nema-l14-30p'', - ''NEMA L14-30P''), (''nema-l14-50p'', ''NEMA L14-50P''), (''nema-l14-60p'', - ''NEMA L14-60P''), (''nema-l15-20p'', ''NEMA L15-20P''), (''nema-l15-30p'', - ''NEMA L15-30P''), (''nema-l15-50p'', ''NEMA L15-50P''), (''nema-l15-60p'', - ''NEMA L15-60P''), (''nema-l21-20p'', ''NEMA L21-20P''), (''nema-l21-30p'', - ''NEMA L21-30P''), (''nema-l22-30p'', ''NEMA L22-30P'')] - - * `California Style` - [(''cs6361c'', ''CS6361C''), (''cs6365c'', ''CS6365C''), - (''cs8165c'', ''CS8165C''), (''cs8265c'', ''CS8265C''), (''cs8365c'', ''CS8365C''), - (''cs8465c'', ''CS8465C'')] - - * `International/ITA` - [(''ita-c'', ''ITA Type C (CEE 7/16)''), (''ita-e'', - ''ITA Type E (CEE 7/6)''), (''ita-f'', ''ITA Type F (CEE 7/4)''), (''ita-ef'', - ''ITA Type E/F (CEE 7/7)''), (''ita-g'', ''ITA Type G (BS 1363)''), (''ita-h'', - ''ITA Type H''), (''ita-i'', ''ITA Type I''), (''ita-j'', ''ITA Type J''), - (''ita-k'', ''ITA Type K''), (''ita-l'', ''ITA Type L (CEI 23-50)''), (''ita-m'', - ''ITA Type M (BS 546)''), (''ita-n'', ''ITA Type N''), (''ita-o'', ''ITA - Type O'')] - - * `USB` - [(''usb-a'', ''USB Type A''), (''usb-b'', ''USB Type B''), (''usb-c'', - ''USB Type C''), (''usb-mini-a'', ''USB Mini A''), (''usb-mini-b'', ''USB - Mini B''), (''usb-micro-a'', ''USB Micro A''), (''usb-micro-b'', ''USB Micro - B''), (''usb-micro-ab'', ''USB Micro AB''), (''usb-3-b'', ''USB 3.0 Type - B''), (''usb-3-micro-b'', ''USB 3.0 Micro B'')] - - * `Molex` - [(''molex-micro-fit-1x2'', ''Molex Micro-Fit 1x2''), (''molex-micro-fit-2x2'', - ''Molex Micro-Fit 2x2''), (''molex-micro-fit-2x4'', ''Molex Micro-Fit 2x4'')] - - * `DC` - [(''dc-terminal'', ''DC Terminal'')] - - * `Proprietary` - [(''saf-d-grid'', ''Saf-D-Grid''), (''neutrik-powercon-20'', - ''Neutrik powerCON (20A)''), (''neutrik-powercon-32'', ''Neutrik powerCON - (32A)''), (''neutrik-powercon-true1'', ''Neutrik powerCON TRUE1''), (''neutrik-powercon-true1-top'', - ''Neutrik powerCON TRUE1 TOP''), (''ubiquiti-smartpower'', ''Ubiquiti SmartPower'')] - - * `Other` - [(''hardwired'', ''Hardwired''), (''other'', ''Other'')]' + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form - in: query name: updated_by_request schema: @@ -39829,21 +57406,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedPowerPortTemplateList' + $ref: '#/components/schemas/PaginatedModuleList' description: '' post: - operationId: dcim_power_port_templates_create - description: Post a list of power port template objects. + operationId: dcim_modules_create + description: Post a list of module objects. tags: - dcim requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritablePowerPortTemplateRequest' + $ref: '#/components/schemas/WritableModuleRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritablePowerPortTemplateRequest' + $ref: '#/components/schemas/WritableModuleRequest' required: true security: - cookieAuth: [] @@ -39853,11 +57430,11 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PowerPortTemplate' + $ref: '#/components/schemas/Module' description: '' put: - operationId: dcim_power_port_templates_bulk_update - description: Put a list of power port template objects. + operationId: dcim_modules_bulk_update + description: Put a list of module objects. tags: - dcim requestBody: @@ -39866,12 +57443,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/PowerPortTemplateRequest' + $ref: '#/components/schemas/ModuleRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/PowerPortTemplateRequest' + $ref: '#/components/schemas/ModuleRequest' required: true security: - cookieAuth: [] @@ -39883,11 +57460,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/PowerPortTemplate' + $ref: '#/components/schemas/Module' description: '' patch: - operationId: dcim_power_port_templates_bulk_partial_update - description: Patch a list of power port template objects. + operationId: dcim_modules_bulk_partial_update + description: Patch a list of module objects. tags: - dcim requestBody: @@ -39896,12 +57473,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/PowerPortTemplateRequest' + $ref: '#/components/schemas/ModuleRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/PowerPortTemplateRequest' + $ref: '#/components/schemas/ModuleRequest' required: true security: - cookieAuth: [] @@ -39913,11 +57490,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/PowerPortTemplate' + $ref: '#/components/schemas/Module' description: '' delete: - operationId: dcim_power_port_templates_bulk_destroy - description: Delete a list of power port template objects. + operationId: dcim_modules_bulk_destroy + description: Delete a list of module objects. tags: - dcim requestBody: @@ -39926,12 +57503,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/PowerPortTemplateRequest' + $ref: '#/components/schemas/ModuleRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/PowerPortTemplateRequest' + $ref: '#/components/schemas/ModuleRequest' required: true security: - cookieAuth: [] @@ -39939,16 +57516,16 @@ paths: responses: '204': description: No response body - /api/dcim/power-port-templates/{id}/: + /api/dcim/modules/{id}/: get: - operationId: dcim_power_port_templates_retrieve - description: Get a power port template object. + operationId: dcim_modules_retrieve + description: Get a module object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this power port template. + description: A unique integer value identifying this module. required: true tags: - dcim @@ -39960,17 +57537,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PowerPortTemplate' + $ref: '#/components/schemas/Module' description: '' put: - operationId: dcim_power_port_templates_update - description: Put a power port template object. + operationId: dcim_modules_update + description: Put a module object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this power port template. + description: A unique integer value identifying this module. required: true tags: - dcim @@ -39978,10 +57555,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/WritablePowerPortTemplateRequest' + $ref: '#/components/schemas/WritableModuleRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritablePowerPortTemplateRequest' + $ref: '#/components/schemas/WritableModuleRequest' required: true security: - cookieAuth: [] @@ -39991,17 +57568,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PowerPortTemplate' + $ref: '#/components/schemas/Module' description: '' patch: - operationId: dcim_power_port_templates_partial_update - description: Patch a power port template object. + operationId: dcim_modules_partial_update + description: Patch a module object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this power port template. + description: A unique integer value identifying this module. required: true tags: - dcim @@ -40009,10 +57586,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PatchedWritablePowerPortTemplateRequest' + $ref: '#/components/schemas/PatchedWritableModuleRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedWritablePowerPortTemplateRequest' + $ref: '#/components/schemas/PatchedWritableModuleRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -40021,17 +57598,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PowerPortTemplate' + $ref: '#/components/schemas/Module' description: '' delete: - operationId: dcim_power_port_templates_destroy - description: Delete a power port template object. + operationId: dcim_modules_destroy + description: Delete a module object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this power port template. + description: A unique integer value identifying this module. required: true tags: - dcim @@ -40041,119 +57618,35 @@ paths: responses: '204': description: No response body - /api/dcim/power-ports/: + /api/dcim/platforms/: get: - operationId: dcim_power_ports_list - description: Get a list of power port objects. + operationId: dcim_platforms_list + description: Get a list of platform objects. parameters: - in: query - name: allocated_draw - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: allocated_draw__empty - schema: - type: boolean - - in: query - name: allocated_draw__gt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: allocated_draw__gte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: allocated_draw__lt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: allocated_draw__lte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: allocated_draw__n - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: cable_end - schema: - type: string - x-spec-enum-id: 1db84f9b93b261c8 - enum: - - A - - B - description: '* `A` - A - - * `B` - B' - - in: query - name: cable_end__n + name: available_for_device_type schema: type: string - x-spec-enum-id: 1db84f9b93b261c8 - enum: - - A - - B - description: '* `A` - A - - * `B` - B' - in: query - name: cable_id + name: config_template_id schema: type: array items: type: integer nullable: true - description: Cable (ID) + description: Config template (ID) explode: true style: form - in: query - name: cable_id__n + name: config_template_id__n schema: type: array items: type: integer nullable: true - description: Cable (ID) + description: Config template (ID) explode: true style: form - - in: query - name: cabled - schema: - type: boolean - - in: query - name: connected - schema: - type: boolean - in: query name: created schema: @@ -40306,80 +57799,6 @@ paths: type: string explode: true style: form - - in: query - name: device - schema: - type: array - items: - type: string - nullable: true - description: Device (name) - explode: true - style: form - - in: query - name: device__n - schema: - type: array - items: - type: string - nullable: true - description: Device (name) - explode: true - style: form - - in: query - name: device_id - schema: - type: array - items: - type: integer - description: Device (ID) - explode: true - style: form - - in: query - name: device_id__n - schema: - type: array - items: - type: integer - description: Device (ID) - explode: true - style: form - - in: query - name: device_type - schema: - type: array - items: - type: string - description: Device type (model) - explode: true - style: form - - in: query - name: device_type__n - schema: - type: array - items: - type: string - description: Device type (model) - explode: true - style: form - - in: query - name: device_type_id - schema: - type: array - items: - type: integer - description: Device type (ID) - explode: true - style: form - - in: query - name: device_type_id__n - schema: - type: array - items: - type: integer - description: Device type (ID) - explode: true - style: form - in: query name: id schema: @@ -40438,90 +57857,6 @@ paths: format: int32 explode: true style: form - - in: query - name: label - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: label__empty - schema: - type: boolean - - in: query - name: label__ic - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: label__ie - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: label__iew - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: label__isw - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: label__n - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: label__nic - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: label__nie - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: label__niew - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: label__nisw - schema: - type: array - items: - type: string - explode: true - style: form - in: query name: last_updated schema: @@ -40592,101 +57927,39 @@ paths: schema: type: integer - in: query - name: location + name: manufacturer schema: type: array items: type: string - description: Location (slug) + description: Manufacturer (slug) explode: true style: form - in: query - name: location__n + name: manufacturer__n schema: type: array items: type: string - description: Location (slug) - explode: true - style: form - - in: query - name: location_id - schema: - type: array - items: - type: integer - description: Location (ID) - explode: true - style: form - - in: query - name: location_id__n - schema: - type: array - items: - type: integer - description: Location (ID) - explode: true - style: form - - in: query - name: mark_connected - schema: - type: boolean - - in: query - name: maximum_draw - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: maximum_draw__empty - schema: - type: boolean - - in: query - name: maximum_draw__gt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: maximum_draw__gte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: maximum_draw__lt - schema: - type: array - items: - type: integer - format: int32 + description: Manufacturer (slug) explode: true style: form - in: query - name: maximum_draw__lte + name: manufacturer_id schema: type: array items: type: integer - format: int32 + description: Manufacturer (ID) explode: true style: form - in: query - name: maximum_draw__n + name: manufacturer_id__n schema: type: array items: type: integer - format: int32 + description: Manufacturer (ID) explode: true style: form - in: query @@ -40694,26 +57967,6 @@ paths: schema: type: string format: uuid - - in: query - name: module_id - schema: - type: array - items: - type: integer - nullable: true - description: Module (ID) - explode: true - style: form - - in: query - name: module_id__n - schema: - type: array - items: - type: integer - nullable: true - description: Module (ID) - explode: true - style: form - in: query name: name schema: @@ -40798,10 +58051,6 @@ paths: type: string explode: true style: form - - in: query - name: occupied - schema: - type: boolean - name: offset required: false in: query @@ -40820,187 +58069,75 @@ paths: type: string description: Search - in: query - name: rack - schema: - type: array - items: - type: string - description: Rack (name) - explode: true - style: form - - in: query - name: rack__n + name: slug schema: type: array items: type: string - description: Rack (name) - explode: true - style: form - - in: query - name: rack_id - schema: - type: array - items: - type: integer - description: Rack (ID) - explode: true - style: form - - in: query - name: rack_id__n - schema: - type: array - items: - type: integer - description: Rack (ID) - explode: true - style: form - - in: query - name: region - schema: - type: array - items: - type: integer - description: Region (slug) - explode: true - style: form - - in: query - name: region__n - schema: - type: array - items: - type: integer - description: Region (slug) - explode: true - style: form - - in: query - name: region_id - schema: - type: array - items: - type: integer - description: Region (ID) explode: true style: form - in: query - name: region_id__n + name: slug__empty schema: - type: array - items: - type: integer - description: Region (ID) - explode: true - style: form + type: boolean - in: query - name: role + name: slug__ic schema: type: array items: type: string - description: Device role (slug) explode: true style: form - in: query - name: role__n + name: slug__ie schema: type: array items: type: string - description: Device role (slug) - explode: true - style: form - - in: query - name: role_id - schema: - type: array - items: - type: integer - description: Device role (ID) explode: true style: form - in: query - name: role_id__n - schema: - type: array - items: - type: integer - description: Device role (ID) - explode: true - style: form - - in: query - name: site + name: slug__iew schema: type: array items: type: string - description: Site name (slug) explode: true style: form - in: query - name: site__n + name: slug__isw schema: type: array items: type: string - description: Site name (slug) - explode: true - style: form - - in: query - name: site_group - schema: - type: array - items: - type: integer - description: Site group (slug) - explode: true - style: form - - in: query - name: site_group__n - schema: - type: array - items: - type: integer - description: Site group (slug) - explode: true - style: form - - in: query - name: site_group_id - schema: - type: array - items: - type: integer - description: Site group (ID) explode: true style: form - in: query - name: site_group_id__n + name: slug__n schema: type: array items: - type: integer - description: Site group (ID) + type: string explode: true style: form - in: query - name: site_id + name: slug__nic schema: type: array items: - type: integer - description: Site (ID) + type: string explode: true style: form - in: query - name: site_id__n + name: slug__nie schema: type: array items: - type: integer - description: Site (ID) + type: string explode: true style: form - in: query - name: tag + name: slug__niew schema: type: array items: @@ -41008,7 +58145,7 @@ paths: explode: true style: form - in: query - name: tag__n + name: slug__nisw schema: type: array items: @@ -41016,23 +58153,19 @@ paths: explode: true style: form - in: query - name: type + name: tag schema: type: array items: type: string - x-spec-enum-id: 6d680dea031864ae - description: Physical port type explode: true style: form - in: query - name: type__n + name: tag__n schema: type: array items: type: string - x-spec-enum-id: 6d680dea031864ae - description: Physical port type explode: true style: form - in: query @@ -41040,42 +58173,6 @@ paths: schema: type: string format: uuid - - in: query - name: virtual_chassis - schema: - type: array - items: - type: string - description: Virtual Chassis - explode: true - style: form - - in: query - name: virtual_chassis__n - schema: - type: array - items: - type: string - description: Virtual Chassis - explode: true - style: form - - in: query - name: virtual_chassis_id - schema: - type: array - items: - type: integer - description: Virtual Chassis (ID) - explode: true - style: form - - in: query - name: virtual_chassis_id__n - schema: - type: array - items: - type: integer - description: Virtual Chassis (ID) - explode: true - style: form tags: - dcim security: @@ -41086,21 +58183,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedPowerPortList' + $ref: '#/components/schemas/PaginatedPlatformList' description: '' post: - operationId: dcim_power_ports_create - description: Post a list of power port objects. + operationId: dcim_platforms_create + description: Post a list of platform objects. tags: - dcim requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritablePowerPortRequest' + $ref: '#/components/schemas/PlatformRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritablePowerPortRequest' + $ref: '#/components/schemas/PlatformRequest' required: true security: - cookieAuth: [] @@ -41110,11 +58207,11 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PowerPort' + $ref: '#/components/schemas/Platform' description: '' put: - operationId: dcim_power_ports_bulk_update - description: Put a list of power port objects. + operationId: dcim_platforms_bulk_update + description: Put a list of platform objects. tags: - dcim requestBody: @@ -41123,12 +58220,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/PowerPortRequest' + $ref: '#/components/schemas/PlatformRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/PowerPortRequest' + $ref: '#/components/schemas/PlatformRequest' required: true security: - cookieAuth: [] @@ -41140,11 +58237,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/PowerPort' + $ref: '#/components/schemas/Platform' description: '' patch: - operationId: dcim_power_ports_bulk_partial_update - description: Patch a list of power port objects. + operationId: dcim_platforms_bulk_partial_update + description: Patch a list of platform objects. tags: - dcim requestBody: @@ -41153,12 +58250,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/PowerPortRequest' + $ref: '#/components/schemas/PlatformRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/PowerPortRequest' + $ref: '#/components/schemas/PlatformRequest' required: true security: - cookieAuth: [] @@ -41170,11 +58267,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/PowerPort' + $ref: '#/components/schemas/Platform' description: '' delete: - operationId: dcim_power_ports_bulk_destroy - description: Delete a list of power port objects. + operationId: dcim_platforms_bulk_destroy + description: Delete a list of platform objects. tags: - dcim requestBody: @@ -41183,12 +58280,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/PowerPortRequest' + $ref: '#/components/schemas/PlatformRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/PowerPortRequest' + $ref: '#/components/schemas/PlatformRequest' required: true security: - cookieAuth: [] @@ -41196,16 +58293,16 @@ paths: responses: '204': description: No response body - /api/dcim/power-ports/{id}/: + /api/dcim/platforms/{id}/: get: - operationId: dcim_power_ports_retrieve - description: Get a power port object. + operationId: dcim_platforms_retrieve + description: Get a platform object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this power port. + description: A unique integer value identifying this platform. required: true tags: - dcim @@ -41217,17 +58314,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PowerPort' + $ref: '#/components/schemas/Platform' description: '' put: - operationId: dcim_power_ports_update - description: Put a power port object. + operationId: dcim_platforms_update + description: Put a platform object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this power port. + description: A unique integer value identifying this platform. required: true tags: - dcim @@ -41235,10 +58332,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/WritablePowerPortRequest' + $ref: '#/components/schemas/PlatformRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritablePowerPortRequest' + $ref: '#/components/schemas/PlatformRequest' required: true security: - cookieAuth: [] @@ -41248,17 +58345,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PowerPort' + $ref: '#/components/schemas/Platform' description: '' patch: - operationId: dcim_power_ports_partial_update - description: Patch a power port object. + operationId: dcim_platforms_partial_update + description: Patch a platform object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this power port. + description: A unique integer value identifying this platform. required: true tags: - dcim @@ -41266,10 +58363,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PatchedWritablePowerPortRequest' + $ref: '#/components/schemas/PatchedPlatformRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedWritablePowerPortRequest' + $ref: '#/components/schemas/PatchedPlatformRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -41278,17 +58375,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PowerPort' + $ref: '#/components/schemas/Platform' description: '' delete: - operationId: dcim_power_ports_destroy - description: Delete a power port object. + operationId: dcim_platforms_destroy + description: Delete a platform object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this power port. + description: A unique integer value identifying this platform. required: true tags: - dcim @@ -41298,35 +58395,166 @@ paths: responses: '204': description: No response body - /api/dcim/power-ports/{id}/trace/: + /api/dcim/power-feeds/: get: - operationId: dcim_power_ports_trace_retrieve - description: Trace a complete cable path and return each segment as a three-tuple - of (termination, cable, termination). + operationId: dcim_power_feeds_list + description: Get a list of power feed objects. parameters: - - in: path - name: id + - in: query + name: amperage schema: - type: integer - description: A unique integer value identifying this power port. - required: true - tags: - - dcim - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/PowerPort' - description: '' - /api/dcim/rack-reservations/: - get: - operationId: dcim_rack_reservations_list - description: Get a list of rack reservation objects. - parameters: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: amperage__empty + schema: + type: boolean + - in: query + name: amperage__gt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: amperage__gte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: amperage__lt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: amperage__lte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: amperage__n + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: available_power + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: available_power__empty + schema: + type: boolean + - in: query + name: available_power__gt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: available_power__gte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: available_power__lt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: available_power__lte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: available_power__n + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: cable_end + schema: + type: string + x-spec-enum-id: 1db84f9b93b261c8 + enum: + - A + - B + description: '* `A` - A + + * `B` - B' + - in: query + name: cable_id + schema: + type: array + items: + type: integer + nullable: true + description: Cable (ID) + explode: true + style: form + - in: query + name: cable_id__n + schema: + type: array + items: + type: integer + nullable: true + description: Cable (ID) + explode: true + style: form + - in: query + name: cabled + schema: + type: boolean + - in: query + name: connected + schema: + type: boolean - in: query name: created schema: @@ -41607,39 +58835,65 @@ paths: schema: type: integer - in: query - name: location + name: mark_connected + schema: + type: boolean + - in: query + name: max_utilization schema: type: array items: type: integer - description: Location (slug) + format: int32 explode: true style: form - in: query - name: location__n + name: max_utilization__empty + schema: + type: boolean + - in: query + name: max_utilization__gt schema: type: array items: type: integer - description: Location (slug) + format: int32 explode: true style: form - in: query - name: location_id + name: max_utilization__gte schema: type: array items: type: integer - description: Location (ID) + format: int32 explode: true style: form - in: query - name: location_id__n + name: max_utilization__lt schema: type: array items: type: integer - description: Location (ID) + format: int32 + explode: true + style: form + - in: query + name: max_utilization__lte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: max_utilization__n + schema: + type: array + items: + type: integer + format: int32 explode: true style: form - in: query @@ -41647,6 +58901,94 @@ paths: schema: type: string format: uuid + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__empty + schema: + type: boolean + - 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__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__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: occupied + schema: + type: boolean - name: offset required: false in: query @@ -41659,6 +59001,35 @@ paths: description: Which field to use when ordering the results. schema: type: string + - in: query + name: phase + schema: + type: string + x-spec-enum-id: 994bc0696f4df57f + enum: + - single-phase + - three-phase + description: '* `single-phase` - Single phase + + * `three-phase` - Three-phase' + - in: query + name: power_panel_id + schema: + type: array + items: + type: integer + description: Power panel (ID) + explode: true + style: form + - in: query + name: power_panel_id__n + schema: + type: array + items: + type: integer + description: Power panel (ID) + explode: true + style: form - in: query name: q schema: @@ -41687,8 +59058,7 @@ paths: schema: type: array items: - type: integer - description: Region (slug) + type: string explode: true style: form - in: query @@ -41696,8 +59066,7 @@ paths: schema: type: array items: - type: integer - description: Region (slug) + type: string explode: true style: form - in: query @@ -41705,8 +59074,7 @@ paths: schema: type: array items: - type: integer - description: Region (ID) + type: string explode: true style: form - in: query @@ -41714,8 +59082,7 @@ paths: schema: type: array items: - type: integer - description: Region (ID) + type: string explode: true style: form - in: query @@ -41724,7 +59091,7 @@ paths: type: array items: type: string - description: Site (slug) + description: Site name (slug) explode: true style: form - in: query @@ -41733,7 +59100,7 @@ paths: type: array items: type: string - description: Site (slug) + description: Site name (slug) explode: true style: form - in: query @@ -41741,8 +59108,7 @@ paths: schema: type: array items: - type: integer - description: Site group (slug) + type: string explode: true style: form - in: query @@ -41750,8 +59116,7 @@ paths: schema: type: array items: - type: integer - description: Site group (slug) + type: string explode: true style: form - in: query @@ -41759,8 +59124,7 @@ paths: schema: type: array items: - type: integer - description: Site group (ID) + type: string explode: true style: form - in: query @@ -41768,8 +59132,7 @@ paths: schema: type: array items: - type: integer - description: Site group (ID) + type: string explode: true style: form - in: query @@ -41790,6 +59153,219 @@ paths: description: Site (ID) explode: true style: form + - in: query + name: status + schema: + type: array + items: + type: string + x-spec-enum-id: b77fc919138c12f6 + explode: true + style: form + - in: query + name: status__empty + schema: + type: boolean + - in: query + name: status__ic + schema: + type: array + items: + type: string + x-spec-enum-id: b77fc919138c12f6 + enum: + - active + - failed + - offline + - planned + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `failed` - Failed' + explode: true + style: form + - in: query + name: status__ie + schema: + type: array + items: + type: string + x-spec-enum-id: b77fc919138c12f6 + enum: + - active + - failed + - offline + - planned + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `failed` - Failed' + explode: true + style: form + - in: query + name: status__iew + schema: + type: array + items: + type: string + x-spec-enum-id: b77fc919138c12f6 + enum: + - active + - failed + - offline + - planned + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `failed` - Failed' + explode: true + style: form + - in: query + name: status__isw + schema: + type: array + items: + type: string + x-spec-enum-id: b77fc919138c12f6 + enum: + - active + - failed + - offline + - planned + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `failed` - Failed' + explode: true + style: form + - in: query + name: status__n + schema: + type: array + items: + type: string + x-spec-enum-id: b77fc919138c12f6 + enum: + - active + - failed + - offline + - planned + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `failed` - Failed' + explode: true + style: form + - in: query + name: status__nic + schema: + type: array + items: + type: string + x-spec-enum-id: b77fc919138c12f6 + enum: + - active + - failed + - offline + - planned + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `failed` - Failed' + explode: true + style: form + - in: query + name: status__nie + schema: + type: array + items: + type: string + x-spec-enum-id: b77fc919138c12f6 + enum: + - active + - failed + - offline + - planned + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `failed` - Failed' + explode: true + style: form + - in: query + name: status__niew + schema: + type: array + items: + type: string + x-spec-enum-id: b77fc919138c12f6 + enum: + - active + - failed + - offline + - planned + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `failed` - Failed' + explode: true + style: form + - in: query + name: status__nisw + schema: + type: array + items: + type: string + x-spec-enum-id: b77fc919138c12f6 + enum: + - active + - failed + - offline + - planned + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `failed` - Failed' + explode: true + style: form + - in: query + name: supply + schema: + type: string + x-spec-enum-id: 1b6d99616ca6412b + enum: + - ac + - dc + description: '* `ac` - AC + + * `dc` - DC' - in: query name: tag schema: @@ -41829,8 +59405,7 @@ paths: schema: type: array items: - type: integer - description: Tenant Group (slug) + type: string explode: true style: form - in: query @@ -41838,8 +59413,7 @@ paths: schema: type: array items: - type: integer - description: Tenant Group (slug) + type: string explode: true style: form - in: query @@ -41847,8 +59421,7 @@ paths: schema: type: array items: - type: integer - description: Tenant Group (ID) + type: string explode: true style: form - in: query @@ -41856,8 +59429,7 @@ paths: schema: type: array items: - type: integer - description: Tenant Group (ID) + type: string explode: true style: form - in: query @@ -41881,48 +59453,77 @@ paths: explode: true style: form - in: query - name: unit + name: type schema: - type: number + type: string + x-spec-enum-id: 093a164236819eb8 + enum: + - primary + - redundant + description: '* `primary` - Primary + + * `redundant` - Redundant' - in: query name: updated_by_request schema: type: string format: uuid - in: query - name: user + name: voltage schema: type: array items: - type: string - description: User (name) + type: integer + format: int32 explode: true style: form - in: query - name: user__n + name: voltage__empty + schema: + type: boolean + - in: query + name: voltage__gt schema: type: array items: - type: string - description: User (name) + type: integer + format: int32 explode: true style: form - in: query - name: user_id + name: voltage__gte schema: type: array items: type: integer - description: User (ID) + format: int32 explode: true style: form - in: query - name: user_id__n + name: voltage__lt schema: type: array items: type: integer - description: User (ID) + format: int32 + explode: true + style: form + - in: query + name: voltage__lte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: voltage__n + schema: + type: array + items: + type: integer + format: int32 explode: true style: form tags: @@ -41935,21 +59536,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedRackReservationList' + $ref: '#/components/schemas/PaginatedPowerFeedList' description: '' post: - operationId: dcim_rack_reservations_create - description: Post a list of rack reservation objects. + operationId: dcim_power_feeds_create + description: Post a list of power feed objects. tags: - dcim requestBody: content: application/json: schema: - $ref: '#/components/schemas/RackReservationRequest' + $ref: '#/components/schemas/WritablePowerFeedRequest' multipart/form-data: schema: - $ref: '#/components/schemas/RackReservationRequest' + $ref: '#/components/schemas/WritablePowerFeedRequest' required: true security: - cookieAuth: [] @@ -41959,11 +59560,11 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/RackReservation' + $ref: '#/components/schemas/PowerFeed' description: '' put: - operationId: dcim_rack_reservations_bulk_update - description: Put a list of rack reservation objects. + operationId: dcim_power_feeds_bulk_update + description: Put a list of power feed objects. tags: - dcim requestBody: @@ -41972,12 +59573,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/RackReservationRequest' + $ref: '#/components/schemas/PowerFeedRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/RackReservationRequest' + $ref: '#/components/schemas/PowerFeedRequest' required: true security: - cookieAuth: [] @@ -41989,11 +59590,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/RackReservation' + $ref: '#/components/schemas/PowerFeed' description: '' patch: - operationId: dcim_rack_reservations_bulk_partial_update - description: Patch a list of rack reservation objects. + operationId: dcim_power_feeds_bulk_partial_update + description: Patch a list of power feed objects. tags: - dcim requestBody: @@ -42002,12 +59603,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/RackReservationRequest' + $ref: '#/components/schemas/PowerFeedRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/RackReservationRequest' + $ref: '#/components/schemas/PowerFeedRequest' required: true security: - cookieAuth: [] @@ -42019,11 +59620,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/RackReservation' + $ref: '#/components/schemas/PowerFeed' description: '' delete: - operationId: dcim_rack_reservations_bulk_destroy - description: Delete a list of rack reservation objects. + operationId: dcim_power_feeds_bulk_destroy + description: Delete a list of power feed objects. tags: - dcim requestBody: @@ -42032,12 +59633,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/RackReservationRequest' + $ref: '#/components/schemas/PowerFeedRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/RackReservationRequest' + $ref: '#/components/schemas/PowerFeedRequest' required: true security: - cookieAuth: [] @@ -42045,16 +59646,16 @@ paths: responses: '204': description: No response body - /api/dcim/rack-reservations/{id}/: + /api/dcim/power-feeds/{id}/: get: - operationId: dcim_rack_reservations_retrieve - description: Get a rack reservation object. + operationId: dcim_power_feeds_retrieve + description: Get a power feed object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this rack reservation. + description: A unique integer value identifying this power feed. required: true tags: - dcim @@ -42066,17 +59667,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/RackReservation' + $ref: '#/components/schemas/PowerFeed' description: '' put: - operationId: dcim_rack_reservations_update - description: Put a rack reservation object. + operationId: dcim_power_feeds_update + description: Put a power feed object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this rack reservation. + description: A unique integer value identifying this power feed. required: true tags: - dcim @@ -42084,10 +59685,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/RackReservationRequest' + $ref: '#/components/schemas/WritablePowerFeedRequest' multipart/form-data: schema: - $ref: '#/components/schemas/RackReservationRequest' + $ref: '#/components/schemas/WritablePowerFeedRequest' required: true security: - cookieAuth: [] @@ -42097,17 +59698,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/RackReservation' + $ref: '#/components/schemas/PowerFeed' description: '' patch: - operationId: dcim_rack_reservations_partial_update - description: Patch a rack reservation object. + operationId: dcim_power_feeds_partial_update + description: Patch a power feed object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this rack reservation. + description: A unique integer value identifying this power feed. required: true tags: - dcim @@ -42115,10 +59716,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PatchedRackReservationRequest' + $ref: '#/components/schemas/PatchedWritablePowerFeedRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedRackReservationRequest' + $ref: '#/components/schemas/PatchedWritablePowerFeedRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -42127,17 +59728,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/RackReservation' + $ref: '#/components/schemas/PowerFeed' description: '' delete: - operationId: dcim_rack_reservations_destroy - description: Delete a rack reservation object. + operationId: dcim_power_feeds_destroy + description: Delete a power feed object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this rack reservation. + description: A unique integer value identifying this power feed. required: true tags: - dcim @@ -42147,65 +59748,105 @@ paths: responses: '204': description: No response body - /api/dcim/rack-roles/: + /api/dcim/power-feeds/{id}/trace/: get: - operationId: dcim_rack_roles_list - description: Get a list of rack role objects. + operationId: dcim_power_feeds_trace_retrieve + description: Trace a complete cable path and return each segment as a three-tuple + of (termination, cable, termination). + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this power feed. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/PowerFeed' + description: '' + /api/dcim/power-outlet-templates/: + get: + operationId: dcim_power_outlet_templates_list + description: Get a list of power outlet template objects. parameters: - in: query - name: color + name: created schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: color__empty + name: created__empty schema: - type: boolean + type: array + items: + type: string + format: date-time + explode: true + style: form - in: query - name: color__ic + name: created__gt schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: color__ie + name: created__gte schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: color__iew + name: created__lt schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: color__isw + name: created__lte schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: color__n + name: created__n schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: color__nic + name: created_by_request + schema: + type: string + format: uuid + - in: query + name: description schema: type: array items: @@ -42213,7 +59854,11 @@ paths: explode: true style: form - in: query - name: color__nie + name: description__empty + schema: + type: boolean + - in: query + name: description__ic schema: type: array items: @@ -42221,7 +59866,7 @@ paths: explode: true style: form - in: query - name: color__niew + name: description__ie schema: type: array items: @@ -42229,7 +59874,7 @@ paths: explode: true style: form - in: query - name: color__nisw + name: description__iew schema: type: array items: @@ -42237,155 +59882,283 @@ paths: explode: true style: form - in: query - name: created + name: description__isw schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__empty + name: description__n schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__gt + name: description__nic schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__gte + name: description__nie schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__lt + name: description__niew schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__lte + name: description__nisw schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__n + name: device_type_id schema: type: array items: - type: string - format: date-time + type: integer + nullable: true + description: Device type (ID) explode: true style: form - in: query - name: created_by_request + name: device_type_id__n schema: - type: string - format: uuid + type: array + items: + type: integer + nullable: true + description: Device type (ID) + explode: true + style: form - in: query - name: description + name: feed_leg schema: type: array items: type: string + x-spec-enum-id: a4902339df0b7c06 + description: Phase (for three-phase feeds) explode: true style: form - in: query - name: description__empty + name: feed_leg__empty schema: type: boolean - in: query - name: description__ic + name: feed_leg__ic schema: type: array items: type: string + x-spec-enum-id: a4902339df0b7c06 + enum: + - '' + - A + - B + - C + description: 'Phase (for three-phase feeds) + + + * `A` - A + + * `B` - B + + * `C` - C' explode: true style: form - in: query - name: description__ie + name: feed_leg__ie schema: type: array items: type: string + x-spec-enum-id: a4902339df0b7c06 + enum: + - '' + - A + - B + - C + description: 'Phase (for three-phase feeds) + + + * `A` - A + + * `B` - B + + * `C` - C' explode: true style: form - in: query - name: description__iew + name: feed_leg__iew schema: type: array items: type: string + x-spec-enum-id: a4902339df0b7c06 + enum: + - '' + - A + - B + - C + description: 'Phase (for three-phase feeds) + + + * `A` - A + + * `B` - B + + * `C` - C' explode: true style: form - in: query - name: description__isw + name: feed_leg__isw schema: type: array items: type: string + x-spec-enum-id: a4902339df0b7c06 + enum: + - '' + - A + - B + - C + description: 'Phase (for three-phase feeds) + + + * `A` - A + + * `B` - B + + * `C` - C' explode: true style: form - in: query - name: description__n + name: feed_leg__n schema: type: array items: type: string + x-spec-enum-id: a4902339df0b7c06 + enum: + - '' + - A + - B + - C + description: 'Phase (for three-phase feeds) + + + * `A` - A + + * `B` - B + + * `C` - C' explode: true style: form - in: query - name: description__nic + name: feed_leg__nic schema: type: array items: type: string + x-spec-enum-id: a4902339df0b7c06 + enum: + - '' + - A + - B + - C + description: 'Phase (for three-phase feeds) + + + * `A` - A + + * `B` - B + + * `C` - C' explode: true style: form - in: query - name: description__nie + name: feed_leg__nie schema: type: array items: type: string + x-spec-enum-id: a4902339df0b7c06 + enum: + - '' + - A + - B + - C + description: 'Phase (for three-phase feeds) + + + * `A` - A + + * `B` - B + + * `C` - C' explode: true style: form - in: query - name: description__niew + name: feed_leg__niew schema: type: array items: type: string + x-spec-enum-id: a4902339df0b7c06 + enum: + - '' + - A + - B + - C + description: 'Phase (for three-phase feeds) + + + * `A` - A + + * `B` - B + + * `C` - C' explode: true style: form - in: query - name: description__nisw + name: feed_leg__nisw schema: type: array items: type: string + x-spec-enum-id: a4902339df0b7c06 + enum: + - '' + - A + - B + - C + description: 'Phase (for three-phase feeds) + + + * `A` - A + + * `B` - B + + * `C` - C' explode: true style: form - in: query @@ -42447,81 +60220,67 @@ paths: explode: true style: form - in: query - name: last_updated + name: label schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__empty + name: label__empty + schema: + type: boolean + - in: query + name: label__ic schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__gt + name: label__ie schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__gte + name: label__iew schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__lt + name: label__isw schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__lte + name: label__n schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__n + name: label__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: modified_by_request - schema: - type: string - format: uuid - in: query - name: name + name: label__nie schema: type: array items: @@ -42529,11 +60288,7 @@ paths: explode: true style: form - in: query - name: name__empty - schema: - type: boolean - - in: query - name: name__ic + name: label__niew schema: type: array items: @@ -42541,7 +60296,7 @@ paths: explode: true style: form - in: query - name: name__ie + name: label__nisw schema: type: array items: @@ -42549,92 +60304,101 @@ paths: explode: true style: form - in: query - name: name__iew + name: last_updated schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: name__isw + name: last_updated__empty schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: name__n + name: last_updated__gt schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: name__nic + name: last_updated__gte schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: name__nie + name: last_updated__lt schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: name__niew + name: last_updated__lte schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: name__nisw + name: last_updated__n schema: type: array items: type: string + format: date-time explode: true style: form - - name: offset + - 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 - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - in: query - name: q + name: modified_by_request schema: type: string - description: Search + format: uuid - in: query - name: slug + name: module_type_id schema: type: array items: - type: string + type: integer + nullable: true + description: Module type (ID) explode: true style: form - in: query - name: slug__empty + name: module_type_id__n schema: - type: boolean + type: array + items: + type: integer + nullable: true + description: Module type (ID) + explode: true + style: form - in: query - name: slug__ic + name: name schema: type: array items: @@ -42642,7 +60406,11 @@ paths: explode: true style: form - in: query - name: slug__ie + name: name__empty + schema: + type: boolean + - in: query + name: name__ic schema: type: array items: @@ -42650,7 +60418,7 @@ paths: explode: true style: form - in: query - name: slug__iew + name: name__ie schema: type: array items: @@ -42658,7 +60426,7 @@ paths: explode: true style: form - in: query - name: slug__isw + name: name__iew schema: type: array items: @@ -42666,7 +60434,7 @@ paths: explode: true style: form - in: query - name: slug__n + name: name__isw schema: type: array items: @@ -42674,7 +60442,7 @@ paths: explode: true style: form - in: query - name: slug__nic + name: name__n schema: type: array items: @@ -42682,7 +60450,7 @@ paths: explode: true style: form - in: query - name: slug__nie + name: name__nic schema: type: array items: @@ -42690,7 +60458,7 @@ paths: explode: true style: form - in: query - name: slug__niew + name: name__nie schema: type: array items: @@ -42698,7 +60466,7 @@ paths: explode: true style: form - in: query - name: slug__nisw + name: name__niew schema: type: array items: @@ -42706,21 +60474,133 @@ paths: explode: true style: form - in: query - name: tag + name: name__nisw 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 + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string - in: query - name: tag__n + name: power_port_id schema: type: array items: - type: string + type: integer + nullable: true + description: Power port (ID) explode: true style: form + - in: query + name: power_port_id__n + schema: + type: array + items: + type: integer + nullable: true + description: Power port (ID) + explode: true + style: form + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: type + schema: + type: string + x-spec-enum-id: f8c08053f2db8830 + enum: + - California Style + - DC + - IEC 60309 + - IEC 60320 + - IEC 60906-1 + - ITA/International + - Molex + - NEMA (Locking) + - NEMA (Non-locking) + - Other + - Proprietary + - USB + description: '* `IEC 60320` - [(''iec-60320-c5'', ''C5''), (''iec-60320-c7'', + ''C7''), (''iec-60320-c13'', ''C13''), (''iec-60320-c15'', ''C15''), (''iec-60320-c19'', + ''C19''), (''iec-60320-c21'', ''C21'')] + + * `IEC 60309` - [(''iec-60309-p-n-e-4h'', ''P+N+E 4H''), (''iec-60309-p-n-e-6h'', + ''P+N+E 6H''), (''iec-60309-p-n-e-9h'', ''P+N+E 9H''), (''iec-60309-2p-e-4h'', + ''2P+E 4H''), (''iec-60309-2p-e-6h'', ''2P+E 6H''), (''iec-60309-2p-e-9h'', + ''2P+E 9H''), (''iec-60309-3p-e-4h'', ''3P+E 4H''), (''iec-60309-3p-e-6h'', + ''3P+E 6H''), (''iec-60309-3p-e-9h'', ''3P+E 9H''), (''iec-60309-3p-n-e-4h'', + ''3P+N+E 4H''), (''iec-60309-3p-n-e-6h'', ''3P+N+E 6H''), (''iec-60309-3p-n-e-9h'', + ''3P+N+E 9H'')] + + * `IEC 60906-1` - [(''iec-60906-1'', ''IEC 60906-1''), (''nbr-14136-10a'', + ''2P+T 10A (NBR 14136)''), (''nbr-14136-20a'', ''2P+T 20A (NBR 14136)'')] + + * `NEMA (Non-locking)` - [(''nema-1-15r'', ''NEMA 1-15R''), (''nema-5-15r'', + ''NEMA 5-15R''), (''nema-5-20r'', ''NEMA 5-20R''), (''nema-5-30r'', ''NEMA + 5-30R''), (''nema-5-50r'', ''NEMA 5-50R''), (''nema-6-15r'', ''NEMA 6-15R''), + (''nema-6-20r'', ''NEMA 6-20R''), (''nema-6-30r'', ''NEMA 6-30R''), (''nema-6-50r'', + ''NEMA 6-50R''), (''nema-10-30r'', ''NEMA 10-30R''), (''nema-10-50r'', ''NEMA + 10-50R''), (''nema-14-20r'', ''NEMA 14-20R''), (''nema-14-30r'', ''NEMA + 14-30R''), (''nema-14-50r'', ''NEMA 14-50R''), (''nema-14-60r'', ''NEMA + 14-60R''), (''nema-15-15r'', ''NEMA 15-15R''), (''nema-15-20r'', ''NEMA + 15-20R''), (''nema-15-30r'', ''NEMA 15-30R''), (''nema-15-50r'', ''NEMA + 15-50R''), (''nema-15-60r'', ''NEMA 15-60R'')] + + * `NEMA (Locking)` - [(''nema-l1-15r'', ''NEMA L1-15R''), (''nema-l5-15r'', + ''NEMA L5-15R''), (''nema-l5-20r'', ''NEMA L5-20R''), (''nema-l5-30r'', + ''NEMA L5-30R''), (''nema-l5-50r'', ''NEMA L5-50R''), (''nema-l6-15r'', + ''NEMA L6-15R''), (''nema-l6-20r'', ''NEMA L6-20R''), (''nema-l6-30r'', + ''NEMA L6-30R''), (''nema-l6-50r'', ''NEMA L6-50R''), (''nema-l10-30r'', + ''NEMA L10-30R''), (''nema-l14-20r'', ''NEMA L14-20R''), (''nema-l14-30r'', + ''NEMA L14-30R''), (''nema-l14-50r'', ''NEMA L14-50R''), (''nema-l14-60r'', + ''NEMA L14-60R''), (''nema-l15-20r'', ''NEMA L15-20R''), (''nema-l15-30r'', + ''NEMA L15-30R''), (''nema-l15-50r'', ''NEMA L15-50R''), (''nema-l15-60r'', + ''NEMA L15-60R''), (''nema-l21-20r'', ''NEMA L21-20R''), (''nema-l21-30r'', + ''NEMA L21-30R''), (''nema-l22-20r'', ''NEMA L22-20R''), (''nema-l22-30r'', + ''NEMA L22-30R'')] + + * `California Style` - [(''CS6360C'', ''CS6360C''), (''CS6364C'', ''CS6364C''), + (''CS8164C'', ''CS8164C''), (''CS8264C'', ''CS8264C''), (''CS8364C'', ''CS8364C''), + (''CS8464C'', ''CS8464C'')] + + * `ITA/International` - [(''ita-e'', ''ITA Type E (CEE 7/5)''), (''ita-f'', + ''ITA Type F (CEE 7/3)''), (''ita-g'', ''ITA Type G (BS 1363)''), (''ita-h'', + ''ITA Type H''), (''ita-i'', ''ITA Type I''), (''ita-j'', ''ITA Type J''), + (''ita-k'', ''ITA Type K''), (''ita-l'', ''ITA Type L (CEI 23-50)''), (''ita-m'', + ''ITA Type M (BS 546)''), (''ita-n'', ''ITA Type N''), (''ita-o'', ''ITA + Type O''), (''ita-multistandard'', ''ITA Multistandard'')] + + * `USB` - [(''usb-a'', ''USB Type A''), (''usb-micro-b'', ''USB Micro B''), + (''usb-c'', ''USB Type C'')] + + * `Molex` - [(''molex-micro-fit-1x2'', ''Molex Micro-Fit 1x2''), (''molex-micro-fit-2x2'', + ''Molex Micro-Fit 2x2''), (''molex-micro-fit-2x4'', ''Molex Micro-Fit 2x4'')] + + * `DC` - [(''dc-terminal'', ''DC Terminal'')] + + * `Proprietary` - [(''eaton-c39'', ''Eaton C39''), (''hdot-cx'', ''HDOT + Cx''), (''saf-d-grid'', ''Saf-D-Grid''), (''neutrik-powercon-20a'', ''Neutrik + powerCON (20A)''), (''neutrik-powercon-32a'', ''Neutrik powerCON (32A)''), + (''neutrik-powercon-true1'', ''Neutrik powerCON TRUE1''), (''neutrik-powercon-true1-top'', + ''Neutrik powerCON TRUE1 TOP''), (''ubiquiti-smartpower'', ''Ubiquiti SmartPower'')] + + * `Other` - [(''hardwired'', ''Hardwired''), (''other'', ''Other'')]' - in: query name: updated_by_request schema: @@ -42736,21 +60616,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedRackRoleList' + $ref: '#/components/schemas/PaginatedPowerOutletTemplateList' description: '' post: - operationId: dcim_rack_roles_create - description: Post a list of rack role objects. + operationId: dcim_power_outlet_templates_create + description: Post a list of power outlet template objects. tags: - dcim requestBody: content: application/json: schema: - $ref: '#/components/schemas/RackRoleRequest' + $ref: '#/components/schemas/WritablePowerOutletTemplateRequest' multipart/form-data: schema: - $ref: '#/components/schemas/RackRoleRequest' + $ref: '#/components/schemas/WritablePowerOutletTemplateRequest' required: true security: - cookieAuth: [] @@ -42760,11 +60640,11 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/RackRole' + $ref: '#/components/schemas/PowerOutletTemplate' description: '' put: - operationId: dcim_rack_roles_bulk_update - description: Put a list of rack role objects. + operationId: dcim_power_outlet_templates_bulk_update + description: Put a list of power outlet template objects. tags: - dcim requestBody: @@ -42773,12 +60653,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/RackRoleRequest' + $ref: '#/components/schemas/PowerOutletTemplateRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/RackRoleRequest' + $ref: '#/components/schemas/PowerOutletTemplateRequest' required: true security: - cookieAuth: [] @@ -42790,11 +60670,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/RackRole' + $ref: '#/components/schemas/PowerOutletTemplate' description: '' patch: - operationId: dcim_rack_roles_bulk_partial_update - description: Patch a list of rack role objects. + operationId: dcim_power_outlet_templates_bulk_partial_update + description: Patch a list of power outlet template objects. tags: - dcim requestBody: @@ -42803,12 +60683,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/RackRoleRequest' + $ref: '#/components/schemas/PowerOutletTemplateRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/RackRoleRequest' + $ref: '#/components/schemas/PowerOutletTemplateRequest' required: true security: - cookieAuth: [] @@ -42820,11 +60700,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/RackRole' + $ref: '#/components/schemas/PowerOutletTemplate' description: '' delete: - operationId: dcim_rack_roles_bulk_destroy - description: Delete a list of rack role objects. + operationId: dcim_power_outlet_templates_bulk_destroy + description: Delete a list of power outlet template objects. tags: - dcim requestBody: @@ -42833,12 +60713,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/RackRoleRequest' + $ref: '#/components/schemas/PowerOutletTemplateRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/RackRoleRequest' + $ref: '#/components/schemas/PowerOutletTemplateRequest' required: true security: - cookieAuth: [] @@ -42846,16 +60726,16 @@ paths: responses: '204': description: No response body - /api/dcim/rack-roles/{id}/: + /api/dcim/power-outlet-templates/{id}/: get: - operationId: dcim_rack_roles_retrieve - description: Get a rack role object. + operationId: dcim_power_outlet_templates_retrieve + description: Get a power outlet template object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this rack role. + description: A unique integer value identifying this power outlet template. required: true tags: - dcim @@ -42867,17 +60747,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/RackRole' + $ref: '#/components/schemas/PowerOutletTemplate' description: '' put: - operationId: dcim_rack_roles_update - description: Put a rack role object. + operationId: dcim_power_outlet_templates_update + description: Put a power outlet template object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this rack role. + description: A unique integer value identifying this power outlet template. required: true tags: - dcim @@ -42885,10 +60765,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/RackRoleRequest' + $ref: '#/components/schemas/WritablePowerOutletTemplateRequest' multipart/form-data: schema: - $ref: '#/components/schemas/RackRoleRequest' + $ref: '#/components/schemas/WritablePowerOutletTemplateRequest' required: true security: - cookieAuth: [] @@ -42898,17 +60778,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/RackRole' + $ref: '#/components/schemas/PowerOutletTemplate' description: '' patch: - operationId: dcim_rack_roles_partial_update - description: Patch a rack role object. + operationId: dcim_power_outlet_templates_partial_update + description: Patch a power outlet template object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this rack role. + description: A unique integer value identifying this power outlet template. required: true tags: - dcim @@ -42916,10 +60796,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PatchedRackRoleRequest' + $ref: '#/components/schemas/PatchedWritablePowerOutletTemplateRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedRackRoleRequest' + $ref: '#/components/schemas/PatchedWritablePowerOutletTemplateRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -42928,17 +60808,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/RackRole' + $ref: '#/components/schemas/PowerOutletTemplate' description: '' delete: - operationId: dcim_rack_roles_destroy - description: Delete a rack role object. + operationId: dcim_power_outlet_templates_destroy + description: Delete a power outlet template object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this rack role. + description: A unique integer value identifying this power outlet template. required: true tags: - dcim @@ -42948,149 +60828,50 @@ paths: responses: '204': description: No response body - /api/dcim/racks/: + /api/dcim/power-outlets/: get: - operationId: dcim_racks_list - description: Get a list of rack objects. + operationId: dcim_power_outlets_list + description: Get a list of power outlet objects. parameters: - in: query - name: asset_tag - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: asset_tag__empty - schema: - type: boolean - - in: query - name: asset_tag__ic - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: asset_tag__ie - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: asset_tag__iew - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: asset_tag__isw - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: asset_tag__n - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: asset_tag__nic - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: asset_tag__nie - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: asset_tag__niew - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: asset_tag__nisw - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: contact - schema: - type: array - items: - type: integer - description: Contact - explode: true - style: form - - in: query - name: contact__n + name: cable_end schema: - type: array - items: - type: integer - description: Contact - explode: true - style: form + type: string + x-spec-enum-id: 1db84f9b93b261c8 + enum: + - A + - B + description: '* `A` - A + + * `B` - B' - in: query - name: contact_group + name: cable_id schema: type: array items: type: integer - description: Contact group + nullable: true + description: Cable (ID) explode: true style: form - in: query - name: contact_group__n + name: cable_id__n schema: type: array items: type: integer - description: Contact group + nullable: true + description: Cable (ID) explode: true style: form - in: query - name: contact_role + name: cabled schema: - type: array - items: - type: integer - description: Contact Role - explode: true - style: form + type: boolean - in: query - name: contact_role__n + name: connected schema: - type: array - items: - type: integer - description: Contact Role - explode: true - style: form + type: boolean - in: query name: created schema: @@ -43159,10 +60940,6 @@ paths: schema: type: string format: uuid - - in: query - name: desc_units - schema: - type: boolean - in: query name: description schema: @@ -43248,317 +61025,612 @@ paths: explode: true style: form - in: query - name: facility_id + name: device schema: type: array items: type: string + nullable: true + description: Device (name) explode: true style: form - in: query - name: facility_id__empty - schema: - type: boolean - - in: query - name: facility_id__ic + name: device__n schema: type: array items: type: string + nullable: true + description: Device (name) explode: true style: form - in: query - name: facility_id__ie + name: device_id schema: type: array items: - type: string + type: integer + description: Device (ID) explode: true style: form - in: query - name: facility_id__iew + name: device_id__n schema: type: array items: - type: string + type: integer + description: Device (ID) explode: true style: form - in: query - name: facility_id__isw + name: device_role schema: type: array items: type: string + description: Device role (slug) explode: true style: form - in: query - name: facility_id__n + name: device_role__n schema: type: array items: type: string + description: Device role (slug) explode: true style: form - in: query - name: facility_id__nic + name: device_role_id schema: type: array items: - type: string + type: integer + description: Device role (ID) explode: true style: form - in: query - name: facility_id__nie + name: device_role_id__n schema: type: array items: - type: string + type: integer + description: Device role (ID) explode: true style: form - in: query - name: facility_id__niew + name: device_status schema: type: array items: type: string + x-spec-enum-id: 8d8971779f16ee18 explode: true style: form - in: query - name: facility_id__nisw + name: device_status__empty + schema: + type: boolean + - in: query + name: device_status__ic schema: type: array items: type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: id + name: device_status__ie schema: type: array items: - type: integer - format: int32 + type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: id__empty - schema: - type: boolean - - in: query - name: id__gt + name: device_status__iew schema: type: array items: - type: integer - format: int32 + type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: id__gte + name: device_status__isw schema: type: array items: - type: integer - format: int32 + type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: id__lt + name: device_status__n schema: type: array items: - type: integer - format: int32 + type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: id__lte + name: device_status__nic schema: type: array items: - type: integer - format: int32 + type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: id__n + name: device_status__nie schema: type: array items: - type: integer - format: int32 + type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: last_updated + name: device_status__niew schema: type: array items: type: string - format: date-time + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: last_updated__empty + name: device_status__nisw schema: type: array items: type: string - format: date-time + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: last_updated__gt + name: device_type schema: type: array items: type: string - format: date-time + description: Device type (model) explode: true style: form - in: query - name: last_updated__gte + name: device_type__n schema: type: array items: type: string - format: date-time + description: Device type (model) explode: true style: form - in: query - name: last_updated__lt + name: device_type_id schema: type: array items: - type: string - format: date-time + type: integer + description: Device type (ID) explode: true style: form - in: query - name: last_updated__lte + name: device_type_id__n schema: type: array items: - type: string - format: date-time + type: integer + description: Device type (ID) explode: true style: form - in: query - name: last_updated__n + name: feed_leg schema: type: array items: type: string - format: date-time + x-spec-enum-id: a4902339df0b7c06 + description: Phase (for three-phase feeds) 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: feed_leg__empty schema: - type: array - items: - type: integer - description: Location (slug) - explode: true - style: form + type: boolean - in: query - name: location__n + name: feed_leg__ic schema: type: array items: - type: integer - description: Location (slug) + type: string + x-spec-enum-id: a4902339df0b7c06 + enum: + - '' + - A + - B + - C + description: 'Phase (for three-phase feeds) + + + * `A` - A + + * `B` - B + + * `C` - C' explode: true style: form - in: query - name: location_id + name: feed_leg__ie schema: type: array items: - type: integer - description: Location (ID) + type: string + x-spec-enum-id: a4902339df0b7c06 + enum: + - '' + - A + - B + - C + description: 'Phase (for three-phase feeds) + + + * `A` - A + + * `B` - B + + * `C` - C' explode: true style: form - in: query - name: location_id__n + name: feed_leg__iew schema: type: array items: - type: integer - description: Location (ID) + type: string + x-spec-enum-id: a4902339df0b7c06 + enum: + - '' + - A + - B + - C + description: 'Phase (for three-phase feeds) + + + * `A` - A + + * `B` - B + + * `C` - C' explode: true style: form - in: query - name: max_weight + name: feed_leg__isw schema: type: array items: - type: integer - format: int32 + type: string + x-spec-enum-id: a4902339df0b7c06 + enum: + - '' + - A + - B + - C + description: 'Phase (for three-phase feeds) + + + * `A` - A + + * `B` - B + + * `C` - C' explode: true style: form - in: query - name: max_weight__empty - schema: - type: boolean - - in: query - name: max_weight__gt + name: feed_leg__n schema: type: array items: - type: integer - format: int32 + type: string + x-spec-enum-id: a4902339df0b7c06 + enum: + - '' + - A + - B + - C + description: 'Phase (for three-phase feeds) + + + * `A` - A + + * `B` - B + + * `C` - C' explode: true style: form - in: query - name: max_weight__gte + name: feed_leg__nic schema: type: array items: - type: integer - format: int32 + type: string + x-spec-enum-id: a4902339df0b7c06 + enum: + - '' + - A + - B + - C + description: 'Phase (for three-phase feeds) + + + * `A` - A + + * `B` - B + + * `C` - C' explode: true style: form - in: query - name: max_weight__lt + name: feed_leg__nie schema: type: array items: - type: integer - format: int32 + type: string + x-spec-enum-id: a4902339df0b7c06 + enum: + - '' + - A + - B + - C + description: 'Phase (for three-phase feeds) + + + * `A` - A + + * `B` - B + + * `C` - C' explode: true style: form - in: query - name: max_weight__lte + name: feed_leg__niew schema: type: array items: - type: integer - format: int32 + type: string + x-spec-enum-id: a4902339df0b7c06 + enum: + - '' + - A + - B + - C + description: 'Phase (for three-phase feeds) + + + * `A` - A + + * `B` - B + + * `C` - C' explode: true style: form - in: query - name: max_weight__n + name: feed_leg__nisw schema: type: array items: - type: integer - format: int32 + type: string + x-spec-enum-id: a4902339df0b7c06 + enum: + - '' + - A + - B + - C + description: 'Phase (for three-phase feeds) + + + * `A` - A + + * `B` - B + + * `C` - C' explode: true style: form - in: query - name: modified_by_request - schema: - type: string - format: uuid - - in: query - name: mounting_depth + name: id schema: type: array items: @@ -43567,11 +61639,11 @@ paths: explode: true style: form - in: query - name: mounting_depth__empty + name: id__empty schema: type: boolean - in: query - name: mounting_depth__gt + name: id__gt schema: type: array items: @@ -43580,7 +61652,7 @@ paths: explode: true style: form - in: query - name: mounting_depth__gte + name: id__gte schema: type: array items: @@ -43589,7 +61661,7 @@ paths: explode: true style: form - in: query - name: mounting_depth__lt + name: id__lt schema: type: array items: @@ -43598,7 +61670,7 @@ paths: explode: true style: form - in: query - name: mounting_depth__lte + name: id__lte schema: type: array items: @@ -43607,7 +61679,7 @@ paths: explode: true style: form - in: query - name: mounting_depth__n + name: id__n schema: type: array items: @@ -43616,7 +61688,7 @@ paths: explode: true style: form - in: query - name: name + name: label schema: type: array items: @@ -43624,11 +61696,11 @@ paths: explode: true style: form - in: query - name: name__empty + name: label__empty schema: type: boolean - in: query - name: name__ic + name: label__ic schema: type: array items: @@ -43636,7 +61708,7 @@ paths: explode: true style: form - in: query - name: name__ie + name: label__ie schema: type: array items: @@ -43644,7 +61716,7 @@ paths: explode: true style: form - in: query - name: name__iew + name: label__iew schema: type: array items: @@ -43652,7 +61724,7 @@ paths: explode: true style: form - in: query - name: name__isw + name: label__isw schema: type: array items: @@ -43660,7 +61732,7 @@ paths: explode: true style: form - in: query - name: name__n + name: label__n schema: type: array items: @@ -43668,7 +61740,7 @@ paths: explode: true style: form - in: query - name: name__nic + name: label__nic schema: type: array items: @@ -43676,7 +61748,7 @@ paths: explode: true style: form - in: query - name: name__nie + name: label__nie schema: type: array items: @@ -43684,7 +61756,7 @@ paths: explode: true style: form - in: query - name: name__niew + name: label__niew schema: type: array items: @@ -43692,244 +61764,149 @@ paths: explode: true style: form - in: query - name: name__nisw + name: label__nisw 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 - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - in: query - name: outer_depth + name: last_updated schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: outer_depth__empty - schema: - type: boolean - - in: query - name: outer_depth__gt + name: last_updated__empty schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: outer_depth__gte + name: last_updated__gt schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: outer_depth__lt + name: last_updated__gte schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: outer_depth__lte + name: last_updated__lt schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: outer_depth__n + name: last_updated__lte schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: outer_unit - schema: - type: string - x-spec-enum-id: 86a846b6c40f495e - enum: - - in - - mm - description: '* `mm` - Millimeters - - * `in` - Inches' - - in: query - name: outer_unit__n - schema: - type: string - x-spec-enum-id: 86a846b6c40f495e - enum: - - in - - mm - description: '* `mm` - Millimeters - - * `in` - Inches' - - in: query - name: outer_width + name: last_updated__n schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - - in: query - name: outer_width__empty + - name: limit + required: false + in: query + description: Number of results to return per page. schema: - type: boolean + type: integer - in: query - name: outer_width__gt + name: location schema: type: array items: - type: integer - format: int32 + type: string + description: Location (slug) explode: true style: form - in: query - name: outer_width__gte + name: location__n schema: type: array items: - type: integer - format: int32 + type: string + description: Location (slug) explode: true style: form - in: query - name: outer_width__lt + name: location_id schema: type: array items: type: integer - format: int32 + description: Location (ID) explode: true style: form - in: query - name: outer_width__lte + name: location_id__n schema: type: array items: type: integer - format: int32 + description: Location (ID) explode: true style: form - in: query - name: outer_width__n + name: mark_connected schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form + type: boolean - in: query - name: q + name: modified_by_request schema: type: string - description: Search - - in: query - name: region - schema: - type: array - items: - type: integer - description: Region (slug) - explode: true - style: form - - in: query - name: region__n - schema: - type: array - items: - type: integer - description: Region (slug) - explode: true - style: form - - in: query - name: region_id - schema: - type: array - items: - type: integer - description: Region (ID) - explode: true - style: form - - in: query - name: region_id__n - schema: - type: array - items: - type: integer - description: Region (ID) - explode: true - style: form - - in: query - name: role - schema: - type: array - items: - type: string - description: Role (slug) - explode: true - style: form - - in: query - name: role__n - schema: - type: array - items: - type: string - description: Role (slug) - explode: true - style: form + format: uuid - in: query - name: role_id + name: module_id schema: type: array items: type: integer nullable: true - description: Role (ID) + description: Module (ID) explode: true style: form - in: query - name: role_id__n + name: module_id__n schema: type: array items: type: integer nullable: true - description: Role (ID) + description: Module (ID) explode: true style: form - in: query - name: serial + name: name schema: type: array items: @@ -43937,27 +61914,11 @@ paths: explode: true style: form - in: query - name: serial__empty + name: name__empty schema: type: boolean - 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 + name: name__ic schema: type: array items: @@ -43965,7 +61926,7 @@ paths: explode: true style: form - in: query - name: serial__isw + name: name__ie schema: type: array items: @@ -43973,7 +61934,7 @@ paths: explode: true style: form - in: query - name: serial__n + name: name__iew schema: type: array items: @@ -43981,7 +61942,7 @@ paths: explode: true style: form - in: query - name: serial__nic + name: name__isw schema: type: array items: @@ -43989,7 +61950,7 @@ paths: explode: true style: form - in: query - name: serial__nie + name: name__n schema: type: array items: @@ -43997,7 +61958,7 @@ paths: explode: true style: form - in: query - name: serial__niew + name: name__nic schema: type: array items: @@ -44005,7 +61966,7 @@ paths: explode: true style: form - in: query - name: serial__nisw + name: name__nie schema: type: array items: @@ -44013,155 +61974,116 @@ paths: explode: true style: form - in: query - name: site + name: name__niew schema: type: array items: type: string - description: Site (slug) explode: true style: form - in: query - name: site__n + name: name__nisw schema: type: array items: type: string - description: Site (slug) - explode: true - style: form - - in: query - name: site_group - schema: - type: array - items: - type: integer - description: Site group (slug) - explode: true - style: form - - in: query - name: site_group__n - schema: - type: array - items: - type: integer - description: Site group (slug) explode: true style: form - in: query - name: site_group_id + name: occupied schema: - type: array - items: - type: integer - description: Site group (ID) - explode: true - style: form - - in: query - name: site_group_id__n + type: boolean + - name: offset + required: false + in: query + description: The initial index from which to return the results. schema: - type: array - items: - type: integer - description: Site group (ID) - explode: true - style: form - - in: query - name: site_id + type: integer + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. schema: - type: array - items: - type: integer - description: Site (ID) - explode: true - style: form + type: string - in: query - name: site_id__n + name: power_port_id schema: type: array items: type: integer - description: Site (ID) + nullable: true + description: Power port (ID) explode: true style: form - in: query - name: starting_unit + name: power_port_id__n schema: type: array items: type: integer - format: int32 + nullable: true + description: Power port (ID) explode: true style: form - in: query - name: starting_unit__empty - schema: - type: boolean - - in: query - name: starting_unit__gt + name: q schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form + type: string + description: Search - in: query - name: starting_unit__gte + name: rack schema: type: array items: - type: integer - format: int32 + type: string + description: Rack (name) explode: true style: form - in: query - name: starting_unit__lt + name: rack__n schema: type: array items: - type: integer - format: int32 + type: string + description: Rack (name) explode: true style: form - in: query - name: starting_unit__lte + name: rack_id schema: type: array items: type: integer - format: int32 + description: Rack (ID) explode: true style: form - in: query - name: starting_unit__n + name: rack_id__n schema: type: array items: type: integer - format: int32 + description: Rack (ID) explode: true style: form - in: query - name: status + name: region schema: type: array items: type: string - x-spec-enum-id: 0c556d55dc1baa13 explode: true style: form - in: query - name: status__n + name: region__n schema: type: array items: type: string - x-spec-enum-id: 0c556d55dc1baa13 explode: true style: form - in: query - name: tag + name: region_id schema: type: array items: @@ -44169,7 +62091,7 @@ paths: explode: true style: form - in: query - name: tag__n + name: region_id__n schema: type: array items: @@ -44177,270 +62099,2905 @@ paths: explode: true style: form - in: query - name: tenant + name: site schema: type: array items: type: string - description: Tenant (slug) + description: Site name (slug) explode: true style: form - in: query - name: tenant__n + name: site__n schema: type: array items: type: string - description: Tenant (slug) + description: Site name (slug) explode: true style: form - in: query - name: tenant_group + name: site_group schema: type: array items: - type: integer - description: Tenant Group (slug) + type: string explode: true style: form - in: query - name: tenant_group__n + name: site_group__n schema: type: array items: - type: integer - description: Tenant Group (slug) + type: string explode: true style: form - in: query - name: tenant_group_id + name: site_group_id schema: type: array items: - type: integer - description: Tenant Group (ID) + type: string explode: true style: form - in: query - name: tenant_group_id__n + name: site_group_id__n schema: type: array items: - type: integer - description: Tenant Group (ID) + type: string explode: true style: form - in: query - name: tenant_id + name: site_id schema: type: array items: type: integer - nullable: true - description: Tenant (ID) + description: Site (ID) explode: true style: form - in: query - name: tenant_id__n + name: site_id__n schema: type: array items: type: integer - nullable: true - description: Tenant (ID) + description: Site (ID) explode: true style: form - in: query - name: type + name: tag schema: type: array items: type: string - x-spec-enum-id: e32aaa89a223f2ea explode: true style: form - in: query - name: type__n + name: tag__n schema: type: array items: type: string - x-spec-enum-id: e32aaa89a223f2ea - explode: true - style: form - - in: query - name: u_height - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: u_height__empty - schema: - type: boolean - - in: query - name: u_height__gt - schema: - type: array - items: - type: integer - format: int32 explode: true style: form - in: query - name: u_height__gte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: u_height__lt + name: type schema: type: array items: - type: integer - format: int32 + type: string + x-spec-enum-id: f8c08053f2db8830 + description: Physical port type explode: true style: form - in: query - name: u_height__lte - schema: - type: array - items: - type: integer - format: int32 + name: type__empty + schema: + type: boolean + - in: query + name: type__ic + schema: + type: array + items: + type: string + x-spec-enum-id: f8c08053f2db8830 + enum: + - '' + - CS6360C + - CS6364C + - CS8164C + - CS8264C + - CS8364C + - CS8464C + - dc-terminal + - eaton-c39 + - hardwired + - hdot-cx + - 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-60309-p-n-e-4h + - iec-60309-p-n-e-6h + - iec-60309-p-n-e-9h + - iec-60320-c13 + - iec-60320-c15 + - iec-60320-c19 + - iec-60320-c21 + - iec-60320-c5 + - iec-60320-c7 + - iec-60906-1 + - ita-e + - ita-f + - ita-g + - ita-h + - ita-i + - ita-j + - ita-k + - ita-l + - ita-m + - ita-multistandard + - ita-n + - ita-o + - molex-micro-fit-1x2 + - molex-micro-fit-2x2 + - molex-micro-fit-2x4 + - nbr-14136-10a + - nbr-14136-20a + - nema-1-15r + - 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-5-15r + - nema-5-20r + - nema-5-30r + - nema-5-50r + - nema-6-15r + - nema-6-20r + - nema-6-30r + - nema-6-50r + - nema-l1-15r + - 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-20r + - nema-l22-30r + - nema-l5-15r + - nema-l5-20r + - nema-l5-30r + - nema-l5-50r + - nema-l6-15r + - nema-l6-20r + - nema-l6-30r + - nema-l6-50r + - neutrik-powercon-20a + - neutrik-powercon-32a + - neutrik-powercon-true1 + - neutrik-powercon-true1-top + - other + - saf-d-grid + - ubiquiti-smartpower + - usb-a + - usb-c + - usb-micro-b + description: 'Physical port type + + + * `iec-60320-c5` - C5 + + * `iec-60320-c7` - C7 + + * `iec-60320-c13` - C13 + + * `iec-60320-c15` - C15 + + * `iec-60320-c19` - C19 + + * `iec-60320-c21` - C21 + + * `iec-60309-p-n-e-4h` - P+N+E 4H + + * `iec-60309-p-n-e-6h` - P+N+E 6H + + * `iec-60309-p-n-e-9h` - P+N+E 9H + + * `iec-60309-2p-e-4h` - 2P+E 4H + + * `iec-60309-2p-e-6h` - 2P+E 6H + + * `iec-60309-2p-e-9h` - 2P+E 9H + + * `iec-60309-3p-e-4h` - 3P+E 4H + + * `iec-60309-3p-e-6h` - 3P+E 6H + + * `iec-60309-3p-e-9h` - 3P+E 9H + + * `iec-60309-3p-n-e-4h` - 3P+N+E 4H + + * `iec-60309-3p-n-e-6h` - 3P+N+E 6H + + * `iec-60309-3p-n-e-9h` - 3P+N+E 9H + + * `iec-60906-1` - IEC 60906-1 + + * `nbr-14136-10a` - 2P+T 10A (NBR 14136) + + * `nbr-14136-20a` - 2P+T 20A (NBR 14136) + + * `nema-1-15r` - NEMA 1-15R + + * `nema-5-15r` - NEMA 5-15R + + * `nema-5-20r` - NEMA 5-20R + + * `nema-5-30r` - NEMA 5-30R + + * `nema-5-50r` - NEMA 5-50R + + * `nema-6-15r` - NEMA 6-15R + + * `nema-6-20r` - NEMA 6-20R + + * `nema-6-30r` - NEMA 6-30R + + * `nema-6-50r` - NEMA 6-50R + + * `nema-10-30r` - NEMA 10-30R + + * `nema-10-50r` - NEMA 10-50R + + * `nema-14-20r` - NEMA 14-20R + + * `nema-14-30r` - NEMA 14-30R + + * `nema-14-50r` - NEMA 14-50R + + * `nema-14-60r` - NEMA 14-60R + + * `nema-15-15r` - NEMA 15-15R + + * `nema-15-20r` - NEMA 15-20R + + * `nema-15-30r` - NEMA 15-30R + + * `nema-15-50r` - NEMA 15-50R + + * `nema-15-60r` - NEMA 15-60R + + * `nema-l1-15r` - NEMA L1-15R + + * `nema-l5-15r` - NEMA L5-15R + + * `nema-l5-20r` - NEMA L5-20R + + * `nema-l5-30r` - NEMA L5-30R + + * `nema-l5-50r` - NEMA L5-50R + + * `nema-l6-15r` - NEMA L6-15R + + * `nema-l6-20r` - NEMA L6-20R + + * `nema-l6-30r` - NEMA L6-30R + + * `nema-l6-50r` - NEMA L6-50R + + * `nema-l10-30r` - NEMA L10-30R + + * `nema-l14-20r` - NEMA L14-20R + + * `nema-l14-30r` - NEMA L14-30R + + * `nema-l14-50r` - NEMA L14-50R + + * `nema-l14-60r` - NEMA L14-60R + + * `nema-l15-20r` - NEMA L15-20R + + * `nema-l15-30r` - NEMA L15-30R + + * `nema-l15-50r` - NEMA L15-50R + + * `nema-l15-60r` - NEMA L15-60R + + * `nema-l21-20r` - NEMA L21-20R + + * `nema-l21-30r` - NEMA L21-30R + + * `nema-l22-20r` - NEMA L22-20R + + * `nema-l22-30r` - NEMA L22-30R + + * `CS6360C` - CS6360C + + * `CS6364C` - CS6364C + + * `CS8164C` - CS8164C + + * `CS8264C` - CS8264C + + * `CS8364C` - CS8364C + + * `CS8464C` - CS8464C + + * `ita-e` - ITA Type E (CEE 7/5) + + * `ita-f` - ITA Type F (CEE 7/3) + + * `ita-g` - ITA Type G (BS 1363) + + * `ita-h` - ITA Type H + + * `ita-i` - ITA Type I + + * `ita-j` - ITA Type J + + * `ita-k` - ITA Type K + + * `ita-l` - ITA Type L (CEI 23-50) + + * `ita-m` - ITA Type M (BS 546) + + * `ita-n` - ITA Type N + + * `ita-o` - ITA Type O + + * `ita-multistandard` - ITA Multistandard + + * `usb-a` - USB Type A + + * `usb-micro-b` - USB Micro B + + * `usb-c` - USB Type C + + * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 + + * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 + + * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 + + * `dc-terminal` - DC Terminal + + * `eaton-c39` - Eaton C39 + + * `hdot-cx` - HDOT Cx + + * `saf-d-grid` - Saf-D-Grid + + * `neutrik-powercon-20a` - Neutrik powerCON (20A) + + * `neutrik-powercon-32a` - Neutrik powerCON (32A) + + * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 + + * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP + + * `ubiquiti-smartpower` - Ubiquiti SmartPower + + * `hardwired` - Hardwired + + * `other` - Other' explode: true style: form - in: query - name: u_height__n + name: type__ie schema: type: array items: - type: integer - format: int32 + type: string + x-spec-enum-id: f8c08053f2db8830 + enum: + - '' + - CS6360C + - CS6364C + - CS8164C + - CS8264C + - CS8364C + - CS8464C + - dc-terminal + - eaton-c39 + - hardwired + - hdot-cx + - 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-60309-p-n-e-4h + - iec-60309-p-n-e-6h + - iec-60309-p-n-e-9h + - iec-60320-c13 + - iec-60320-c15 + - iec-60320-c19 + - iec-60320-c21 + - iec-60320-c5 + - iec-60320-c7 + - iec-60906-1 + - ita-e + - ita-f + - ita-g + - ita-h + - ita-i + - ita-j + - ita-k + - ita-l + - ita-m + - ita-multistandard + - ita-n + - ita-o + - molex-micro-fit-1x2 + - molex-micro-fit-2x2 + - molex-micro-fit-2x4 + - nbr-14136-10a + - nbr-14136-20a + - nema-1-15r + - 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-5-15r + - nema-5-20r + - nema-5-30r + - nema-5-50r + - nema-6-15r + - nema-6-20r + - nema-6-30r + - nema-6-50r + - nema-l1-15r + - 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-20r + - nema-l22-30r + - nema-l5-15r + - nema-l5-20r + - nema-l5-30r + - nema-l5-50r + - nema-l6-15r + - nema-l6-20r + - nema-l6-30r + - nema-l6-50r + - neutrik-powercon-20a + - neutrik-powercon-32a + - neutrik-powercon-true1 + - neutrik-powercon-true1-top + - other + - saf-d-grid + - ubiquiti-smartpower + - usb-a + - usb-c + - usb-micro-b + description: 'Physical port type + + + * `iec-60320-c5` - C5 + + * `iec-60320-c7` - C7 + + * `iec-60320-c13` - C13 + + * `iec-60320-c15` - C15 + + * `iec-60320-c19` - C19 + + * `iec-60320-c21` - C21 + + * `iec-60309-p-n-e-4h` - P+N+E 4H + + * `iec-60309-p-n-e-6h` - P+N+E 6H + + * `iec-60309-p-n-e-9h` - P+N+E 9H + + * `iec-60309-2p-e-4h` - 2P+E 4H + + * `iec-60309-2p-e-6h` - 2P+E 6H + + * `iec-60309-2p-e-9h` - 2P+E 9H + + * `iec-60309-3p-e-4h` - 3P+E 4H + + * `iec-60309-3p-e-6h` - 3P+E 6H + + * `iec-60309-3p-e-9h` - 3P+E 9H + + * `iec-60309-3p-n-e-4h` - 3P+N+E 4H + + * `iec-60309-3p-n-e-6h` - 3P+N+E 6H + + * `iec-60309-3p-n-e-9h` - 3P+N+E 9H + + * `iec-60906-1` - IEC 60906-1 + + * `nbr-14136-10a` - 2P+T 10A (NBR 14136) + + * `nbr-14136-20a` - 2P+T 20A (NBR 14136) + + * `nema-1-15r` - NEMA 1-15R + + * `nema-5-15r` - NEMA 5-15R + + * `nema-5-20r` - NEMA 5-20R + + * `nema-5-30r` - NEMA 5-30R + + * `nema-5-50r` - NEMA 5-50R + + * `nema-6-15r` - NEMA 6-15R + + * `nema-6-20r` - NEMA 6-20R + + * `nema-6-30r` - NEMA 6-30R + + * `nema-6-50r` - NEMA 6-50R + + * `nema-10-30r` - NEMA 10-30R + + * `nema-10-50r` - NEMA 10-50R + + * `nema-14-20r` - NEMA 14-20R + + * `nema-14-30r` - NEMA 14-30R + + * `nema-14-50r` - NEMA 14-50R + + * `nema-14-60r` - NEMA 14-60R + + * `nema-15-15r` - NEMA 15-15R + + * `nema-15-20r` - NEMA 15-20R + + * `nema-15-30r` - NEMA 15-30R + + * `nema-15-50r` - NEMA 15-50R + + * `nema-15-60r` - NEMA 15-60R + + * `nema-l1-15r` - NEMA L1-15R + + * `nema-l5-15r` - NEMA L5-15R + + * `nema-l5-20r` - NEMA L5-20R + + * `nema-l5-30r` - NEMA L5-30R + + * `nema-l5-50r` - NEMA L5-50R + + * `nema-l6-15r` - NEMA L6-15R + + * `nema-l6-20r` - NEMA L6-20R + + * `nema-l6-30r` - NEMA L6-30R + + * `nema-l6-50r` - NEMA L6-50R + + * `nema-l10-30r` - NEMA L10-30R + + * `nema-l14-20r` - NEMA L14-20R + + * `nema-l14-30r` - NEMA L14-30R + + * `nema-l14-50r` - NEMA L14-50R + + * `nema-l14-60r` - NEMA L14-60R + + * `nema-l15-20r` - NEMA L15-20R + + * `nema-l15-30r` - NEMA L15-30R + + * `nema-l15-50r` - NEMA L15-50R + + * `nema-l15-60r` - NEMA L15-60R + + * `nema-l21-20r` - NEMA L21-20R + + * `nema-l21-30r` - NEMA L21-30R + + * `nema-l22-20r` - NEMA L22-20R + + * `nema-l22-30r` - NEMA L22-30R + + * `CS6360C` - CS6360C + + * `CS6364C` - CS6364C + + * `CS8164C` - CS8164C + + * `CS8264C` - CS8264C + + * `CS8364C` - CS8364C + + * `CS8464C` - CS8464C + + * `ita-e` - ITA Type E (CEE 7/5) + + * `ita-f` - ITA Type F (CEE 7/3) + + * `ita-g` - ITA Type G (BS 1363) + + * `ita-h` - ITA Type H + + * `ita-i` - ITA Type I + + * `ita-j` - ITA Type J + + * `ita-k` - ITA Type K + + * `ita-l` - ITA Type L (CEI 23-50) + + * `ita-m` - ITA Type M (BS 546) + + * `ita-n` - ITA Type N + + * `ita-o` - ITA Type O + + * `ita-multistandard` - ITA Multistandard + + * `usb-a` - USB Type A + + * `usb-micro-b` - USB Micro B + + * `usb-c` - USB Type C + + * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 + + * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 + + * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 + + * `dc-terminal` - DC Terminal + + * `eaton-c39` - Eaton C39 + + * `hdot-cx` - HDOT Cx + + * `saf-d-grid` - Saf-D-Grid + + * `neutrik-powercon-20a` - Neutrik powerCON (20A) + + * `neutrik-powercon-32a` - Neutrik powerCON (32A) + + * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 + + * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP + + * `ubiquiti-smartpower` - Ubiquiti SmartPower + + * `hardwired` - Hardwired + + * `other` - Other' explode: true style: form - in: query - name: updated_by_request - schema: - type: string - format: uuid - - in: query - name: weight + name: type__iew schema: type: array items: - type: number - format: double + type: string + x-spec-enum-id: f8c08053f2db8830 + enum: + - '' + - CS6360C + - CS6364C + - CS8164C + - CS8264C + - CS8364C + - CS8464C + - dc-terminal + - eaton-c39 + - hardwired + - hdot-cx + - 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-60309-p-n-e-4h + - iec-60309-p-n-e-6h + - iec-60309-p-n-e-9h + - iec-60320-c13 + - iec-60320-c15 + - iec-60320-c19 + - iec-60320-c21 + - iec-60320-c5 + - iec-60320-c7 + - iec-60906-1 + - ita-e + - ita-f + - ita-g + - ita-h + - ita-i + - ita-j + - ita-k + - ita-l + - ita-m + - ita-multistandard + - ita-n + - ita-o + - molex-micro-fit-1x2 + - molex-micro-fit-2x2 + - molex-micro-fit-2x4 + - nbr-14136-10a + - nbr-14136-20a + - nema-1-15r + - 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-5-15r + - nema-5-20r + - nema-5-30r + - nema-5-50r + - nema-6-15r + - nema-6-20r + - nema-6-30r + - nema-6-50r + - nema-l1-15r + - 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-20r + - nema-l22-30r + - nema-l5-15r + - nema-l5-20r + - nema-l5-30r + - nema-l5-50r + - nema-l6-15r + - nema-l6-20r + - nema-l6-30r + - nema-l6-50r + - neutrik-powercon-20a + - neutrik-powercon-32a + - neutrik-powercon-true1 + - neutrik-powercon-true1-top + - other + - saf-d-grid + - ubiquiti-smartpower + - usb-a + - usb-c + - usb-micro-b + description: 'Physical port type + + + * `iec-60320-c5` - C5 + + * `iec-60320-c7` - C7 + + * `iec-60320-c13` - C13 + + * `iec-60320-c15` - C15 + + * `iec-60320-c19` - C19 + + * `iec-60320-c21` - C21 + + * `iec-60309-p-n-e-4h` - P+N+E 4H + + * `iec-60309-p-n-e-6h` - P+N+E 6H + + * `iec-60309-p-n-e-9h` - P+N+E 9H + + * `iec-60309-2p-e-4h` - 2P+E 4H + + * `iec-60309-2p-e-6h` - 2P+E 6H + + * `iec-60309-2p-e-9h` - 2P+E 9H + + * `iec-60309-3p-e-4h` - 3P+E 4H + + * `iec-60309-3p-e-6h` - 3P+E 6H + + * `iec-60309-3p-e-9h` - 3P+E 9H + + * `iec-60309-3p-n-e-4h` - 3P+N+E 4H + + * `iec-60309-3p-n-e-6h` - 3P+N+E 6H + + * `iec-60309-3p-n-e-9h` - 3P+N+E 9H + + * `iec-60906-1` - IEC 60906-1 + + * `nbr-14136-10a` - 2P+T 10A (NBR 14136) + + * `nbr-14136-20a` - 2P+T 20A (NBR 14136) + + * `nema-1-15r` - NEMA 1-15R + + * `nema-5-15r` - NEMA 5-15R + + * `nema-5-20r` - NEMA 5-20R + + * `nema-5-30r` - NEMA 5-30R + + * `nema-5-50r` - NEMA 5-50R + + * `nema-6-15r` - NEMA 6-15R + + * `nema-6-20r` - NEMA 6-20R + + * `nema-6-30r` - NEMA 6-30R + + * `nema-6-50r` - NEMA 6-50R + + * `nema-10-30r` - NEMA 10-30R + + * `nema-10-50r` - NEMA 10-50R + + * `nema-14-20r` - NEMA 14-20R + + * `nema-14-30r` - NEMA 14-30R + + * `nema-14-50r` - NEMA 14-50R + + * `nema-14-60r` - NEMA 14-60R + + * `nema-15-15r` - NEMA 15-15R + + * `nema-15-20r` - NEMA 15-20R + + * `nema-15-30r` - NEMA 15-30R + + * `nema-15-50r` - NEMA 15-50R + + * `nema-15-60r` - NEMA 15-60R + + * `nema-l1-15r` - NEMA L1-15R + + * `nema-l5-15r` - NEMA L5-15R + + * `nema-l5-20r` - NEMA L5-20R + + * `nema-l5-30r` - NEMA L5-30R + + * `nema-l5-50r` - NEMA L5-50R + + * `nema-l6-15r` - NEMA L6-15R + + * `nema-l6-20r` - NEMA L6-20R + + * `nema-l6-30r` - NEMA L6-30R + + * `nema-l6-50r` - NEMA L6-50R + + * `nema-l10-30r` - NEMA L10-30R + + * `nema-l14-20r` - NEMA L14-20R + + * `nema-l14-30r` - NEMA L14-30R + + * `nema-l14-50r` - NEMA L14-50R + + * `nema-l14-60r` - NEMA L14-60R + + * `nema-l15-20r` - NEMA L15-20R + + * `nema-l15-30r` - NEMA L15-30R + + * `nema-l15-50r` - NEMA L15-50R + + * `nema-l15-60r` - NEMA L15-60R + + * `nema-l21-20r` - NEMA L21-20R + + * `nema-l21-30r` - NEMA L21-30R + + * `nema-l22-20r` - NEMA L22-20R + + * `nema-l22-30r` - NEMA L22-30R + + * `CS6360C` - CS6360C + + * `CS6364C` - CS6364C + + * `CS8164C` - CS8164C + + * `CS8264C` - CS8264C + + * `CS8364C` - CS8364C + + * `CS8464C` - CS8464C + + * `ita-e` - ITA Type E (CEE 7/5) + + * `ita-f` - ITA Type F (CEE 7/3) + + * `ita-g` - ITA Type G (BS 1363) + + * `ita-h` - ITA Type H + + * `ita-i` - ITA Type I + + * `ita-j` - ITA Type J + + * `ita-k` - ITA Type K + + * `ita-l` - ITA Type L (CEI 23-50) + + * `ita-m` - ITA Type M (BS 546) + + * `ita-n` - ITA Type N + + * `ita-o` - ITA Type O + + * `ita-multistandard` - ITA Multistandard + + * `usb-a` - USB Type A + + * `usb-micro-b` - USB Micro B + + * `usb-c` - USB Type C + + * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 + + * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 + + * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 + + * `dc-terminal` - DC Terminal + + * `eaton-c39` - Eaton C39 + + * `hdot-cx` - HDOT Cx + + * `saf-d-grid` - Saf-D-Grid + + * `neutrik-powercon-20a` - Neutrik powerCON (20A) + + * `neutrik-powercon-32a` - Neutrik powerCON (32A) + + * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 + + * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP + + * `ubiquiti-smartpower` - Ubiquiti SmartPower + + * `hardwired` - Hardwired + + * `other` - Other' explode: true style: form - in: query - name: weight__empty - schema: - type: boolean - - in: query - name: weight__gt + name: type__isw schema: type: array items: - type: number - format: double + type: string + x-spec-enum-id: f8c08053f2db8830 + enum: + - '' + - CS6360C + - CS6364C + - CS8164C + - CS8264C + - CS8364C + - CS8464C + - dc-terminal + - eaton-c39 + - hardwired + - hdot-cx + - 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-60309-p-n-e-4h + - iec-60309-p-n-e-6h + - iec-60309-p-n-e-9h + - iec-60320-c13 + - iec-60320-c15 + - iec-60320-c19 + - iec-60320-c21 + - iec-60320-c5 + - iec-60320-c7 + - iec-60906-1 + - ita-e + - ita-f + - ita-g + - ita-h + - ita-i + - ita-j + - ita-k + - ita-l + - ita-m + - ita-multistandard + - ita-n + - ita-o + - molex-micro-fit-1x2 + - molex-micro-fit-2x2 + - molex-micro-fit-2x4 + - nbr-14136-10a + - nbr-14136-20a + - nema-1-15r + - 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-5-15r + - nema-5-20r + - nema-5-30r + - nema-5-50r + - nema-6-15r + - nema-6-20r + - nema-6-30r + - nema-6-50r + - nema-l1-15r + - 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-20r + - nema-l22-30r + - nema-l5-15r + - nema-l5-20r + - nema-l5-30r + - nema-l5-50r + - nema-l6-15r + - nema-l6-20r + - nema-l6-30r + - nema-l6-50r + - neutrik-powercon-20a + - neutrik-powercon-32a + - neutrik-powercon-true1 + - neutrik-powercon-true1-top + - other + - saf-d-grid + - ubiquiti-smartpower + - usb-a + - usb-c + - usb-micro-b + description: 'Physical port type + + + * `iec-60320-c5` - C5 + + * `iec-60320-c7` - C7 + + * `iec-60320-c13` - C13 + + * `iec-60320-c15` - C15 + + * `iec-60320-c19` - C19 + + * `iec-60320-c21` - C21 + + * `iec-60309-p-n-e-4h` - P+N+E 4H + + * `iec-60309-p-n-e-6h` - P+N+E 6H + + * `iec-60309-p-n-e-9h` - P+N+E 9H + + * `iec-60309-2p-e-4h` - 2P+E 4H + + * `iec-60309-2p-e-6h` - 2P+E 6H + + * `iec-60309-2p-e-9h` - 2P+E 9H + + * `iec-60309-3p-e-4h` - 3P+E 4H + + * `iec-60309-3p-e-6h` - 3P+E 6H + + * `iec-60309-3p-e-9h` - 3P+E 9H + + * `iec-60309-3p-n-e-4h` - 3P+N+E 4H + + * `iec-60309-3p-n-e-6h` - 3P+N+E 6H + + * `iec-60309-3p-n-e-9h` - 3P+N+E 9H + + * `iec-60906-1` - IEC 60906-1 + + * `nbr-14136-10a` - 2P+T 10A (NBR 14136) + + * `nbr-14136-20a` - 2P+T 20A (NBR 14136) + + * `nema-1-15r` - NEMA 1-15R + + * `nema-5-15r` - NEMA 5-15R + + * `nema-5-20r` - NEMA 5-20R + + * `nema-5-30r` - NEMA 5-30R + + * `nema-5-50r` - NEMA 5-50R + + * `nema-6-15r` - NEMA 6-15R + + * `nema-6-20r` - NEMA 6-20R + + * `nema-6-30r` - NEMA 6-30R + + * `nema-6-50r` - NEMA 6-50R + + * `nema-10-30r` - NEMA 10-30R + + * `nema-10-50r` - NEMA 10-50R + + * `nema-14-20r` - NEMA 14-20R + + * `nema-14-30r` - NEMA 14-30R + + * `nema-14-50r` - NEMA 14-50R + + * `nema-14-60r` - NEMA 14-60R + + * `nema-15-15r` - NEMA 15-15R + + * `nema-15-20r` - NEMA 15-20R + + * `nema-15-30r` - NEMA 15-30R + + * `nema-15-50r` - NEMA 15-50R + + * `nema-15-60r` - NEMA 15-60R + + * `nema-l1-15r` - NEMA L1-15R + + * `nema-l5-15r` - NEMA L5-15R + + * `nema-l5-20r` - NEMA L5-20R + + * `nema-l5-30r` - NEMA L5-30R + + * `nema-l5-50r` - NEMA L5-50R + + * `nema-l6-15r` - NEMA L6-15R + + * `nema-l6-20r` - NEMA L6-20R + + * `nema-l6-30r` - NEMA L6-30R + + * `nema-l6-50r` - NEMA L6-50R + + * `nema-l10-30r` - NEMA L10-30R + + * `nema-l14-20r` - NEMA L14-20R + + * `nema-l14-30r` - NEMA L14-30R + + * `nema-l14-50r` - NEMA L14-50R + + * `nema-l14-60r` - NEMA L14-60R + + * `nema-l15-20r` - NEMA L15-20R + + * `nema-l15-30r` - NEMA L15-30R + + * `nema-l15-50r` - NEMA L15-50R + + * `nema-l15-60r` - NEMA L15-60R + + * `nema-l21-20r` - NEMA L21-20R + + * `nema-l21-30r` - NEMA L21-30R + + * `nema-l22-20r` - NEMA L22-20R + + * `nema-l22-30r` - NEMA L22-30R + + * `CS6360C` - CS6360C + + * `CS6364C` - CS6364C + + * `CS8164C` - CS8164C + + * `CS8264C` - CS8264C + + * `CS8364C` - CS8364C + + * `CS8464C` - CS8464C + + * `ita-e` - ITA Type E (CEE 7/5) + + * `ita-f` - ITA Type F (CEE 7/3) + + * `ita-g` - ITA Type G (BS 1363) + + * `ita-h` - ITA Type H + + * `ita-i` - ITA Type I + + * `ita-j` - ITA Type J + + * `ita-k` - ITA Type K + + * `ita-l` - ITA Type L (CEI 23-50) + + * `ita-m` - ITA Type M (BS 546) + + * `ita-n` - ITA Type N + + * `ita-o` - ITA Type O + + * `ita-multistandard` - ITA Multistandard + + * `usb-a` - USB Type A + + * `usb-micro-b` - USB Micro B + + * `usb-c` - USB Type C + + * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 + + * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 + + * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 + + * `dc-terminal` - DC Terminal + + * `eaton-c39` - Eaton C39 + + * `hdot-cx` - HDOT Cx + + * `saf-d-grid` - Saf-D-Grid + + * `neutrik-powercon-20a` - Neutrik powerCON (20A) + + * `neutrik-powercon-32a` - Neutrik powerCON (32A) + + * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 + + * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP + + * `ubiquiti-smartpower` - Ubiquiti SmartPower + + * `hardwired` - Hardwired + + * `other` - Other' explode: true style: form - in: query - name: weight__gte + name: type__n schema: type: array items: - type: number - format: double + type: string + x-spec-enum-id: f8c08053f2db8830 + enum: + - '' + - CS6360C + - CS6364C + - CS8164C + - CS8264C + - CS8364C + - CS8464C + - dc-terminal + - eaton-c39 + - hardwired + - hdot-cx + - 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-60309-p-n-e-4h + - iec-60309-p-n-e-6h + - iec-60309-p-n-e-9h + - iec-60320-c13 + - iec-60320-c15 + - iec-60320-c19 + - iec-60320-c21 + - iec-60320-c5 + - iec-60320-c7 + - iec-60906-1 + - ita-e + - ita-f + - ita-g + - ita-h + - ita-i + - ita-j + - ita-k + - ita-l + - ita-m + - ita-multistandard + - ita-n + - ita-o + - molex-micro-fit-1x2 + - molex-micro-fit-2x2 + - molex-micro-fit-2x4 + - nbr-14136-10a + - nbr-14136-20a + - nema-1-15r + - 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-5-15r + - nema-5-20r + - nema-5-30r + - nema-5-50r + - nema-6-15r + - nema-6-20r + - nema-6-30r + - nema-6-50r + - nema-l1-15r + - 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-20r + - nema-l22-30r + - nema-l5-15r + - nema-l5-20r + - nema-l5-30r + - nema-l5-50r + - nema-l6-15r + - nema-l6-20r + - nema-l6-30r + - nema-l6-50r + - neutrik-powercon-20a + - neutrik-powercon-32a + - neutrik-powercon-true1 + - neutrik-powercon-true1-top + - other + - saf-d-grid + - ubiquiti-smartpower + - usb-a + - usb-c + - usb-micro-b + description: 'Physical port type + + + * `iec-60320-c5` - C5 + + * `iec-60320-c7` - C7 + + * `iec-60320-c13` - C13 + + * `iec-60320-c15` - C15 + + * `iec-60320-c19` - C19 + + * `iec-60320-c21` - C21 + + * `iec-60309-p-n-e-4h` - P+N+E 4H + + * `iec-60309-p-n-e-6h` - P+N+E 6H + + * `iec-60309-p-n-e-9h` - P+N+E 9H + + * `iec-60309-2p-e-4h` - 2P+E 4H + + * `iec-60309-2p-e-6h` - 2P+E 6H + + * `iec-60309-2p-e-9h` - 2P+E 9H + + * `iec-60309-3p-e-4h` - 3P+E 4H + + * `iec-60309-3p-e-6h` - 3P+E 6H + + * `iec-60309-3p-e-9h` - 3P+E 9H + + * `iec-60309-3p-n-e-4h` - 3P+N+E 4H + + * `iec-60309-3p-n-e-6h` - 3P+N+E 6H + + * `iec-60309-3p-n-e-9h` - 3P+N+E 9H + + * `iec-60906-1` - IEC 60906-1 + + * `nbr-14136-10a` - 2P+T 10A (NBR 14136) + + * `nbr-14136-20a` - 2P+T 20A (NBR 14136) + + * `nema-1-15r` - NEMA 1-15R + + * `nema-5-15r` - NEMA 5-15R + + * `nema-5-20r` - NEMA 5-20R + + * `nema-5-30r` - NEMA 5-30R + + * `nema-5-50r` - NEMA 5-50R + + * `nema-6-15r` - NEMA 6-15R + + * `nema-6-20r` - NEMA 6-20R + + * `nema-6-30r` - NEMA 6-30R + + * `nema-6-50r` - NEMA 6-50R + + * `nema-10-30r` - NEMA 10-30R + + * `nema-10-50r` - NEMA 10-50R + + * `nema-14-20r` - NEMA 14-20R + + * `nema-14-30r` - NEMA 14-30R + + * `nema-14-50r` - NEMA 14-50R + + * `nema-14-60r` - NEMA 14-60R + + * `nema-15-15r` - NEMA 15-15R + + * `nema-15-20r` - NEMA 15-20R + + * `nema-15-30r` - NEMA 15-30R + + * `nema-15-50r` - NEMA 15-50R + + * `nema-15-60r` - NEMA 15-60R + + * `nema-l1-15r` - NEMA L1-15R + + * `nema-l5-15r` - NEMA L5-15R + + * `nema-l5-20r` - NEMA L5-20R + + * `nema-l5-30r` - NEMA L5-30R + + * `nema-l5-50r` - NEMA L5-50R + + * `nema-l6-15r` - NEMA L6-15R + + * `nema-l6-20r` - NEMA L6-20R + + * `nema-l6-30r` - NEMA L6-30R + + * `nema-l6-50r` - NEMA L6-50R + + * `nema-l10-30r` - NEMA L10-30R + + * `nema-l14-20r` - NEMA L14-20R + + * `nema-l14-30r` - NEMA L14-30R + + * `nema-l14-50r` - NEMA L14-50R + + * `nema-l14-60r` - NEMA L14-60R + + * `nema-l15-20r` - NEMA L15-20R + + * `nema-l15-30r` - NEMA L15-30R + + * `nema-l15-50r` - NEMA L15-50R + + * `nema-l15-60r` - NEMA L15-60R + + * `nema-l21-20r` - NEMA L21-20R + + * `nema-l21-30r` - NEMA L21-30R + + * `nema-l22-20r` - NEMA L22-20R + + * `nema-l22-30r` - NEMA L22-30R + + * `CS6360C` - CS6360C + + * `CS6364C` - CS6364C + + * `CS8164C` - CS8164C + + * `CS8264C` - CS8264C + + * `CS8364C` - CS8364C + + * `CS8464C` - CS8464C + + * `ita-e` - ITA Type E (CEE 7/5) + + * `ita-f` - ITA Type F (CEE 7/3) + + * `ita-g` - ITA Type G (BS 1363) + + * `ita-h` - ITA Type H + + * `ita-i` - ITA Type I + + * `ita-j` - ITA Type J + + * `ita-k` - ITA Type K + + * `ita-l` - ITA Type L (CEI 23-50) + + * `ita-m` - ITA Type M (BS 546) + + * `ita-n` - ITA Type N + + * `ita-o` - ITA Type O + + * `ita-multistandard` - ITA Multistandard + + * `usb-a` - USB Type A + + * `usb-micro-b` - USB Micro B + + * `usb-c` - USB Type C + + * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 + + * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 + + * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 + + * `dc-terminal` - DC Terminal + + * `eaton-c39` - Eaton C39 + + * `hdot-cx` - HDOT Cx + + * `saf-d-grid` - Saf-D-Grid + + * `neutrik-powercon-20a` - Neutrik powerCON (20A) + + * `neutrik-powercon-32a` - Neutrik powerCON (32A) + + * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 + + * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP + + * `ubiquiti-smartpower` - Ubiquiti SmartPower + + * `hardwired` - Hardwired + + * `other` - Other' explode: true style: form - in: query - name: weight__lt + name: type__nic schema: type: array items: - type: number - format: double + type: string + x-spec-enum-id: f8c08053f2db8830 + enum: + - '' + - CS6360C + - CS6364C + - CS8164C + - CS8264C + - CS8364C + - CS8464C + - dc-terminal + - eaton-c39 + - hardwired + - hdot-cx + - 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-60309-p-n-e-4h + - iec-60309-p-n-e-6h + - iec-60309-p-n-e-9h + - iec-60320-c13 + - iec-60320-c15 + - iec-60320-c19 + - iec-60320-c21 + - iec-60320-c5 + - iec-60320-c7 + - iec-60906-1 + - ita-e + - ita-f + - ita-g + - ita-h + - ita-i + - ita-j + - ita-k + - ita-l + - ita-m + - ita-multistandard + - ita-n + - ita-o + - molex-micro-fit-1x2 + - molex-micro-fit-2x2 + - molex-micro-fit-2x4 + - nbr-14136-10a + - nbr-14136-20a + - nema-1-15r + - 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-5-15r + - nema-5-20r + - nema-5-30r + - nema-5-50r + - nema-6-15r + - nema-6-20r + - nema-6-30r + - nema-6-50r + - nema-l1-15r + - 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-20r + - nema-l22-30r + - nema-l5-15r + - nema-l5-20r + - nema-l5-30r + - nema-l5-50r + - nema-l6-15r + - nema-l6-20r + - nema-l6-30r + - nema-l6-50r + - neutrik-powercon-20a + - neutrik-powercon-32a + - neutrik-powercon-true1 + - neutrik-powercon-true1-top + - other + - saf-d-grid + - ubiquiti-smartpower + - usb-a + - usb-c + - usb-micro-b + description: 'Physical port type + + + * `iec-60320-c5` - C5 + + * `iec-60320-c7` - C7 + + * `iec-60320-c13` - C13 + + * `iec-60320-c15` - C15 + + * `iec-60320-c19` - C19 + + * `iec-60320-c21` - C21 + + * `iec-60309-p-n-e-4h` - P+N+E 4H + + * `iec-60309-p-n-e-6h` - P+N+E 6H + + * `iec-60309-p-n-e-9h` - P+N+E 9H + + * `iec-60309-2p-e-4h` - 2P+E 4H + + * `iec-60309-2p-e-6h` - 2P+E 6H + + * `iec-60309-2p-e-9h` - 2P+E 9H + + * `iec-60309-3p-e-4h` - 3P+E 4H + + * `iec-60309-3p-e-6h` - 3P+E 6H + + * `iec-60309-3p-e-9h` - 3P+E 9H + + * `iec-60309-3p-n-e-4h` - 3P+N+E 4H + + * `iec-60309-3p-n-e-6h` - 3P+N+E 6H + + * `iec-60309-3p-n-e-9h` - 3P+N+E 9H + + * `iec-60906-1` - IEC 60906-1 + + * `nbr-14136-10a` - 2P+T 10A (NBR 14136) + + * `nbr-14136-20a` - 2P+T 20A (NBR 14136) + + * `nema-1-15r` - NEMA 1-15R + + * `nema-5-15r` - NEMA 5-15R + + * `nema-5-20r` - NEMA 5-20R + + * `nema-5-30r` - NEMA 5-30R + + * `nema-5-50r` - NEMA 5-50R + + * `nema-6-15r` - NEMA 6-15R + + * `nema-6-20r` - NEMA 6-20R + + * `nema-6-30r` - NEMA 6-30R + + * `nema-6-50r` - NEMA 6-50R + + * `nema-10-30r` - NEMA 10-30R + + * `nema-10-50r` - NEMA 10-50R + + * `nema-14-20r` - NEMA 14-20R + + * `nema-14-30r` - NEMA 14-30R + + * `nema-14-50r` - NEMA 14-50R + + * `nema-14-60r` - NEMA 14-60R + + * `nema-15-15r` - NEMA 15-15R + + * `nema-15-20r` - NEMA 15-20R + + * `nema-15-30r` - NEMA 15-30R + + * `nema-15-50r` - NEMA 15-50R + + * `nema-15-60r` - NEMA 15-60R + + * `nema-l1-15r` - NEMA L1-15R + + * `nema-l5-15r` - NEMA L5-15R + + * `nema-l5-20r` - NEMA L5-20R + + * `nema-l5-30r` - NEMA L5-30R + + * `nema-l5-50r` - NEMA L5-50R + + * `nema-l6-15r` - NEMA L6-15R + + * `nema-l6-20r` - NEMA L6-20R + + * `nema-l6-30r` - NEMA L6-30R + + * `nema-l6-50r` - NEMA L6-50R + + * `nema-l10-30r` - NEMA L10-30R + + * `nema-l14-20r` - NEMA L14-20R + + * `nema-l14-30r` - NEMA L14-30R + + * `nema-l14-50r` - NEMA L14-50R + + * `nema-l14-60r` - NEMA L14-60R + + * `nema-l15-20r` - NEMA L15-20R + + * `nema-l15-30r` - NEMA L15-30R + + * `nema-l15-50r` - NEMA L15-50R + + * `nema-l15-60r` - NEMA L15-60R + + * `nema-l21-20r` - NEMA L21-20R + + * `nema-l21-30r` - NEMA L21-30R + + * `nema-l22-20r` - NEMA L22-20R + + * `nema-l22-30r` - NEMA L22-30R + + * `CS6360C` - CS6360C + + * `CS6364C` - CS6364C + + * `CS8164C` - CS8164C + + * `CS8264C` - CS8264C + + * `CS8364C` - CS8364C + + * `CS8464C` - CS8464C + + * `ita-e` - ITA Type E (CEE 7/5) + + * `ita-f` - ITA Type F (CEE 7/3) + + * `ita-g` - ITA Type G (BS 1363) + + * `ita-h` - ITA Type H + + * `ita-i` - ITA Type I + + * `ita-j` - ITA Type J + + * `ita-k` - ITA Type K + + * `ita-l` - ITA Type L (CEI 23-50) + + * `ita-m` - ITA Type M (BS 546) + + * `ita-n` - ITA Type N + + * `ita-o` - ITA Type O + + * `ita-multistandard` - ITA Multistandard + + * `usb-a` - USB Type A + + * `usb-micro-b` - USB Micro B + + * `usb-c` - USB Type C + + * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 + + * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 + + * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 + + * `dc-terminal` - DC Terminal + + * `eaton-c39` - Eaton C39 + + * `hdot-cx` - HDOT Cx + + * `saf-d-grid` - Saf-D-Grid + + * `neutrik-powercon-20a` - Neutrik powerCON (20A) + + * `neutrik-powercon-32a` - Neutrik powerCON (32A) + + * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 + + * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP + + * `ubiquiti-smartpower` - Ubiquiti SmartPower + + * `hardwired` - Hardwired + + * `other` - Other' explode: true style: form - in: query - name: weight__lte + name: type__nie schema: type: array items: - type: number - format: double + type: string + x-spec-enum-id: f8c08053f2db8830 + enum: + - '' + - CS6360C + - CS6364C + - CS8164C + - CS8264C + - CS8364C + - CS8464C + - dc-terminal + - eaton-c39 + - hardwired + - hdot-cx + - 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-60309-p-n-e-4h + - iec-60309-p-n-e-6h + - iec-60309-p-n-e-9h + - iec-60320-c13 + - iec-60320-c15 + - iec-60320-c19 + - iec-60320-c21 + - iec-60320-c5 + - iec-60320-c7 + - iec-60906-1 + - ita-e + - ita-f + - ita-g + - ita-h + - ita-i + - ita-j + - ita-k + - ita-l + - ita-m + - ita-multistandard + - ita-n + - ita-o + - molex-micro-fit-1x2 + - molex-micro-fit-2x2 + - molex-micro-fit-2x4 + - nbr-14136-10a + - nbr-14136-20a + - nema-1-15r + - 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-5-15r + - nema-5-20r + - nema-5-30r + - nema-5-50r + - nema-6-15r + - nema-6-20r + - nema-6-30r + - nema-6-50r + - nema-l1-15r + - 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-20r + - nema-l22-30r + - nema-l5-15r + - nema-l5-20r + - nema-l5-30r + - nema-l5-50r + - nema-l6-15r + - nema-l6-20r + - nema-l6-30r + - nema-l6-50r + - neutrik-powercon-20a + - neutrik-powercon-32a + - neutrik-powercon-true1 + - neutrik-powercon-true1-top + - other + - saf-d-grid + - ubiquiti-smartpower + - usb-a + - usb-c + - usb-micro-b + description: 'Physical port type + + + * `iec-60320-c5` - C5 + + * `iec-60320-c7` - C7 + + * `iec-60320-c13` - C13 + + * `iec-60320-c15` - C15 + + * `iec-60320-c19` - C19 + + * `iec-60320-c21` - C21 + + * `iec-60309-p-n-e-4h` - P+N+E 4H + + * `iec-60309-p-n-e-6h` - P+N+E 6H + + * `iec-60309-p-n-e-9h` - P+N+E 9H + + * `iec-60309-2p-e-4h` - 2P+E 4H + + * `iec-60309-2p-e-6h` - 2P+E 6H + + * `iec-60309-2p-e-9h` - 2P+E 9H + + * `iec-60309-3p-e-4h` - 3P+E 4H + + * `iec-60309-3p-e-6h` - 3P+E 6H + + * `iec-60309-3p-e-9h` - 3P+E 9H + + * `iec-60309-3p-n-e-4h` - 3P+N+E 4H + + * `iec-60309-3p-n-e-6h` - 3P+N+E 6H + + * `iec-60309-3p-n-e-9h` - 3P+N+E 9H + + * `iec-60906-1` - IEC 60906-1 + + * `nbr-14136-10a` - 2P+T 10A (NBR 14136) + + * `nbr-14136-20a` - 2P+T 20A (NBR 14136) + + * `nema-1-15r` - NEMA 1-15R + + * `nema-5-15r` - NEMA 5-15R + + * `nema-5-20r` - NEMA 5-20R + + * `nema-5-30r` - NEMA 5-30R + + * `nema-5-50r` - NEMA 5-50R + + * `nema-6-15r` - NEMA 6-15R + + * `nema-6-20r` - NEMA 6-20R + + * `nema-6-30r` - NEMA 6-30R + + * `nema-6-50r` - NEMA 6-50R + + * `nema-10-30r` - NEMA 10-30R + + * `nema-10-50r` - NEMA 10-50R + + * `nema-14-20r` - NEMA 14-20R + + * `nema-14-30r` - NEMA 14-30R + + * `nema-14-50r` - NEMA 14-50R + + * `nema-14-60r` - NEMA 14-60R + + * `nema-15-15r` - NEMA 15-15R + + * `nema-15-20r` - NEMA 15-20R + + * `nema-15-30r` - NEMA 15-30R + + * `nema-15-50r` - NEMA 15-50R + + * `nema-15-60r` - NEMA 15-60R + + * `nema-l1-15r` - NEMA L1-15R + + * `nema-l5-15r` - NEMA L5-15R + + * `nema-l5-20r` - NEMA L5-20R + + * `nema-l5-30r` - NEMA L5-30R + + * `nema-l5-50r` - NEMA L5-50R + + * `nema-l6-15r` - NEMA L6-15R + + * `nema-l6-20r` - NEMA L6-20R + + * `nema-l6-30r` - NEMA L6-30R + + * `nema-l6-50r` - NEMA L6-50R + + * `nema-l10-30r` - NEMA L10-30R + + * `nema-l14-20r` - NEMA L14-20R + + * `nema-l14-30r` - NEMA L14-30R + + * `nema-l14-50r` - NEMA L14-50R + + * `nema-l14-60r` - NEMA L14-60R + + * `nema-l15-20r` - NEMA L15-20R + + * `nema-l15-30r` - NEMA L15-30R + + * `nema-l15-50r` - NEMA L15-50R + + * `nema-l15-60r` - NEMA L15-60R + + * `nema-l21-20r` - NEMA L21-20R + + * `nema-l21-30r` - NEMA L21-30R + + * `nema-l22-20r` - NEMA L22-20R + + * `nema-l22-30r` - NEMA L22-30R + + * `CS6360C` - CS6360C + + * `CS6364C` - CS6364C + + * `CS8164C` - CS8164C + + * `CS8264C` - CS8264C + + * `CS8364C` - CS8364C + + * `CS8464C` - CS8464C + + * `ita-e` - ITA Type E (CEE 7/5) + + * `ita-f` - ITA Type F (CEE 7/3) + + * `ita-g` - ITA Type G (BS 1363) + + * `ita-h` - ITA Type H + + * `ita-i` - ITA Type I + + * `ita-j` - ITA Type J + + * `ita-k` - ITA Type K + + * `ita-l` - ITA Type L (CEI 23-50) + + * `ita-m` - ITA Type M (BS 546) + + * `ita-n` - ITA Type N + + * `ita-o` - ITA Type O + + * `ita-multistandard` - ITA Multistandard + + * `usb-a` - USB Type A + + * `usb-micro-b` - USB Micro B + + * `usb-c` - USB Type C + + * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 + + * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 + + * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 + + * `dc-terminal` - DC Terminal + + * `eaton-c39` - Eaton C39 + + * `hdot-cx` - HDOT Cx + + * `saf-d-grid` - Saf-D-Grid + + * `neutrik-powercon-20a` - Neutrik powerCON (20A) + + * `neutrik-powercon-32a` - Neutrik powerCON (32A) + + * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 + + * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP + + * `ubiquiti-smartpower` - Ubiquiti SmartPower + + * `hardwired` - Hardwired + + * `other` - Other' explode: true style: form - in: query - name: weight__n + name: type__niew schema: type: array items: - type: number - format: double + type: string + x-spec-enum-id: f8c08053f2db8830 + enum: + - '' + - CS6360C + - CS6364C + - CS8164C + - CS8264C + - CS8364C + - CS8464C + - dc-terminal + - eaton-c39 + - hardwired + - hdot-cx + - 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-60309-p-n-e-4h + - iec-60309-p-n-e-6h + - iec-60309-p-n-e-9h + - iec-60320-c13 + - iec-60320-c15 + - iec-60320-c19 + - iec-60320-c21 + - iec-60320-c5 + - iec-60320-c7 + - iec-60906-1 + - ita-e + - ita-f + - ita-g + - ita-h + - ita-i + - ita-j + - ita-k + - ita-l + - ita-m + - ita-multistandard + - ita-n + - ita-o + - molex-micro-fit-1x2 + - molex-micro-fit-2x2 + - molex-micro-fit-2x4 + - nbr-14136-10a + - nbr-14136-20a + - nema-1-15r + - 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-5-15r + - nema-5-20r + - nema-5-30r + - nema-5-50r + - nema-6-15r + - nema-6-20r + - nema-6-30r + - nema-6-50r + - nema-l1-15r + - 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-20r + - nema-l22-30r + - nema-l5-15r + - nema-l5-20r + - nema-l5-30r + - nema-l5-50r + - nema-l6-15r + - nema-l6-20r + - nema-l6-30r + - nema-l6-50r + - neutrik-powercon-20a + - neutrik-powercon-32a + - neutrik-powercon-true1 + - neutrik-powercon-true1-top + - other + - saf-d-grid + - ubiquiti-smartpower + - usb-a + - usb-c + - usb-micro-b + description: 'Physical port type + + + * `iec-60320-c5` - C5 + + * `iec-60320-c7` - C7 + + * `iec-60320-c13` - C13 + + * `iec-60320-c15` - C15 + + * `iec-60320-c19` - C19 + + * `iec-60320-c21` - C21 + + * `iec-60309-p-n-e-4h` - P+N+E 4H + + * `iec-60309-p-n-e-6h` - P+N+E 6H + + * `iec-60309-p-n-e-9h` - P+N+E 9H + + * `iec-60309-2p-e-4h` - 2P+E 4H + + * `iec-60309-2p-e-6h` - 2P+E 6H + + * `iec-60309-2p-e-9h` - 2P+E 9H + + * `iec-60309-3p-e-4h` - 3P+E 4H + + * `iec-60309-3p-e-6h` - 3P+E 6H + + * `iec-60309-3p-e-9h` - 3P+E 9H + + * `iec-60309-3p-n-e-4h` - 3P+N+E 4H + + * `iec-60309-3p-n-e-6h` - 3P+N+E 6H + + * `iec-60309-3p-n-e-9h` - 3P+N+E 9H + + * `iec-60906-1` - IEC 60906-1 + + * `nbr-14136-10a` - 2P+T 10A (NBR 14136) + + * `nbr-14136-20a` - 2P+T 20A (NBR 14136) + + * `nema-1-15r` - NEMA 1-15R + + * `nema-5-15r` - NEMA 5-15R + + * `nema-5-20r` - NEMA 5-20R + + * `nema-5-30r` - NEMA 5-30R + + * `nema-5-50r` - NEMA 5-50R + + * `nema-6-15r` - NEMA 6-15R + + * `nema-6-20r` - NEMA 6-20R + + * `nema-6-30r` - NEMA 6-30R + + * `nema-6-50r` - NEMA 6-50R + + * `nema-10-30r` - NEMA 10-30R + + * `nema-10-50r` - NEMA 10-50R + + * `nema-14-20r` - NEMA 14-20R + + * `nema-14-30r` - NEMA 14-30R + + * `nema-14-50r` - NEMA 14-50R + + * `nema-14-60r` - NEMA 14-60R + + * `nema-15-15r` - NEMA 15-15R + + * `nema-15-20r` - NEMA 15-20R + + * `nema-15-30r` - NEMA 15-30R + + * `nema-15-50r` - NEMA 15-50R + + * `nema-15-60r` - NEMA 15-60R + + * `nema-l1-15r` - NEMA L1-15R + + * `nema-l5-15r` - NEMA L5-15R + + * `nema-l5-20r` - NEMA L5-20R + + * `nema-l5-30r` - NEMA L5-30R + + * `nema-l5-50r` - NEMA L5-50R + + * `nema-l6-15r` - NEMA L6-15R + + * `nema-l6-20r` - NEMA L6-20R + + * `nema-l6-30r` - NEMA L6-30R + + * `nema-l6-50r` - NEMA L6-50R + + * `nema-l10-30r` - NEMA L10-30R + + * `nema-l14-20r` - NEMA L14-20R + + * `nema-l14-30r` - NEMA L14-30R + + * `nema-l14-50r` - NEMA L14-50R + + * `nema-l14-60r` - NEMA L14-60R + + * `nema-l15-20r` - NEMA L15-20R + + * `nema-l15-30r` - NEMA L15-30R + + * `nema-l15-50r` - NEMA L15-50R + + * `nema-l15-60r` - NEMA L15-60R + + * `nema-l21-20r` - NEMA L21-20R + + * `nema-l21-30r` - NEMA L21-30R + + * `nema-l22-20r` - NEMA L22-20R + + * `nema-l22-30r` - NEMA L22-30R + + * `CS6360C` - CS6360C + + * `CS6364C` - CS6364C + + * `CS8164C` - CS8164C + + * `CS8264C` - CS8264C + + * `CS8364C` - CS8364C + + * `CS8464C` - CS8464C + + * `ita-e` - ITA Type E (CEE 7/5) + + * `ita-f` - ITA Type F (CEE 7/3) + + * `ita-g` - ITA Type G (BS 1363) + + * `ita-h` - ITA Type H + + * `ita-i` - ITA Type I + + * `ita-j` - ITA Type J + + * `ita-k` - ITA Type K + + * `ita-l` - ITA Type L (CEI 23-50) + + * `ita-m` - ITA Type M (BS 546) + + * `ita-n` - ITA Type N + + * `ita-o` - ITA Type O + + * `ita-multistandard` - ITA Multistandard + + * `usb-a` - USB Type A + + * `usb-micro-b` - USB Micro B + + * `usb-c` - USB Type C + + * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 + + * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 + + * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 + + * `dc-terminal` - DC Terminal + + * `eaton-c39` - Eaton C39 + + * `hdot-cx` - HDOT Cx + + * `saf-d-grid` - Saf-D-Grid + + * `neutrik-powercon-20a` - Neutrik powerCON (20A) + + * `neutrik-powercon-32a` - Neutrik powerCON (32A) + + * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 + + * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP + + * `ubiquiti-smartpower` - Ubiquiti SmartPower + + * `hardwired` - Hardwired + + * `other` - Other' explode: true style: form - in: query - name: weight_unit + name: type__nisw schema: - type: string - x-spec-enum-id: 7c1876f422815884 - enum: - - g - - kg - - lb - - oz - description: '* `kg` - Kilograms + type: array + items: + type: string + x-spec-enum-id: f8c08053f2db8830 + enum: + - '' + - CS6360C + - CS6364C + - CS8164C + - CS8264C + - CS8364C + - CS8464C + - dc-terminal + - eaton-c39 + - hardwired + - hdot-cx + - 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-60309-p-n-e-4h + - iec-60309-p-n-e-6h + - iec-60309-p-n-e-9h + - iec-60320-c13 + - iec-60320-c15 + - iec-60320-c19 + - iec-60320-c21 + - iec-60320-c5 + - iec-60320-c7 + - iec-60906-1 + - ita-e + - ita-f + - ita-g + - ita-h + - ita-i + - ita-j + - ita-k + - ita-l + - ita-m + - ita-multistandard + - ita-n + - ita-o + - molex-micro-fit-1x2 + - molex-micro-fit-2x2 + - molex-micro-fit-2x4 + - nbr-14136-10a + - nbr-14136-20a + - nema-1-15r + - 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-5-15r + - nema-5-20r + - nema-5-30r + - nema-5-50r + - nema-6-15r + - nema-6-20r + - nema-6-30r + - nema-6-50r + - nema-l1-15r + - 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-20r + - nema-l22-30r + - nema-l5-15r + - nema-l5-20r + - nema-l5-30r + - nema-l5-50r + - nema-l6-15r + - nema-l6-20r + - nema-l6-30r + - nema-l6-50r + - neutrik-powercon-20a + - neutrik-powercon-32a + - neutrik-powercon-true1 + - neutrik-powercon-true1-top + - other + - saf-d-grid + - ubiquiti-smartpower + - usb-a + - usb-c + - usb-micro-b + description: 'Physical port type - * `g` - Grams - * `lb` - Pounds + * `iec-60320-c5` - C5 - * `oz` - Ounces' - - in: query - name: weight_unit__n - schema: - type: string - x-spec-enum-id: 7c1876f422815884 - enum: - - g - - kg - - lb - - oz - description: '* `kg` - Kilograms + * `iec-60320-c7` - C7 - * `g` - Grams + * `iec-60320-c13` - C13 - * `lb` - Pounds + * `iec-60320-c15` - C15 - * `oz` - Ounces' + * `iec-60320-c19` - C19 + + * `iec-60320-c21` - C21 + + * `iec-60309-p-n-e-4h` - P+N+E 4H + + * `iec-60309-p-n-e-6h` - P+N+E 6H + + * `iec-60309-p-n-e-9h` - P+N+E 9H + + * `iec-60309-2p-e-4h` - 2P+E 4H + + * `iec-60309-2p-e-6h` - 2P+E 6H + + * `iec-60309-2p-e-9h` - 2P+E 9H + + * `iec-60309-3p-e-4h` - 3P+E 4H + + * `iec-60309-3p-e-6h` - 3P+E 6H + + * `iec-60309-3p-e-9h` - 3P+E 9H + + * `iec-60309-3p-n-e-4h` - 3P+N+E 4H + + * `iec-60309-3p-n-e-6h` - 3P+N+E 6H + + * `iec-60309-3p-n-e-9h` - 3P+N+E 9H + + * `iec-60906-1` - IEC 60906-1 + + * `nbr-14136-10a` - 2P+T 10A (NBR 14136) + + * `nbr-14136-20a` - 2P+T 20A (NBR 14136) + + * `nema-1-15r` - NEMA 1-15R + + * `nema-5-15r` - NEMA 5-15R + + * `nema-5-20r` - NEMA 5-20R + + * `nema-5-30r` - NEMA 5-30R + + * `nema-5-50r` - NEMA 5-50R + + * `nema-6-15r` - NEMA 6-15R + + * `nema-6-20r` - NEMA 6-20R + + * `nema-6-30r` - NEMA 6-30R + + * `nema-6-50r` - NEMA 6-50R + + * `nema-10-30r` - NEMA 10-30R + + * `nema-10-50r` - NEMA 10-50R + + * `nema-14-20r` - NEMA 14-20R + + * `nema-14-30r` - NEMA 14-30R + + * `nema-14-50r` - NEMA 14-50R + + * `nema-14-60r` - NEMA 14-60R + + * `nema-15-15r` - NEMA 15-15R + + * `nema-15-20r` - NEMA 15-20R + + * `nema-15-30r` - NEMA 15-30R + + * `nema-15-50r` - NEMA 15-50R + + * `nema-15-60r` - NEMA 15-60R + + * `nema-l1-15r` - NEMA L1-15R + + * `nema-l5-15r` - NEMA L5-15R + + * `nema-l5-20r` - NEMA L5-20R + + * `nema-l5-30r` - NEMA L5-30R + + * `nema-l5-50r` - NEMA L5-50R + + * `nema-l6-15r` - NEMA L6-15R + + * `nema-l6-20r` - NEMA L6-20R + + * `nema-l6-30r` - NEMA L6-30R + + * `nema-l6-50r` - NEMA L6-50R + + * `nema-l10-30r` - NEMA L10-30R + + * `nema-l14-20r` - NEMA L14-20R + + * `nema-l14-30r` - NEMA L14-30R + + * `nema-l14-50r` - NEMA L14-50R + + * `nema-l14-60r` - NEMA L14-60R + + * `nema-l15-20r` - NEMA L15-20R + + * `nema-l15-30r` - NEMA L15-30R + + * `nema-l15-50r` - NEMA L15-50R + + * `nema-l15-60r` - NEMA L15-60R + + * `nema-l21-20r` - NEMA L21-20R + + * `nema-l21-30r` - NEMA L21-30R + + * `nema-l22-20r` - NEMA L22-20R + + * `nema-l22-30r` - NEMA L22-30R + + * `CS6360C` - CS6360C + + * `CS6364C` - CS6364C + + * `CS8164C` - CS8164C + + * `CS8264C` - CS8264C + + * `CS8364C` - CS8364C + + * `CS8464C` - CS8464C + + * `ita-e` - ITA Type E (CEE 7/5) + + * `ita-f` - ITA Type F (CEE 7/3) + + * `ita-g` - ITA Type G (BS 1363) + + * `ita-h` - ITA Type H + + * `ita-i` - ITA Type I + + * `ita-j` - ITA Type J + + * `ita-k` - ITA Type K + + * `ita-l` - ITA Type L (CEI 23-50) + + * `ita-m` - ITA Type M (BS 546) + + * `ita-n` - ITA Type N + + * `ita-o` - ITA Type O + + * `ita-multistandard` - ITA Multistandard + + * `usb-a` - USB Type A + + * `usb-micro-b` - USB Micro B + + * `usb-c` - USB Type C + + * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 + + * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 + + * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 + + * `dc-terminal` - DC Terminal + + * `eaton-c39` - Eaton C39 + + * `hdot-cx` - HDOT Cx + + * `saf-d-grid` - Saf-D-Grid + + * `neutrik-powercon-20a` - Neutrik powerCON (20A) + + * `neutrik-powercon-32a` - Neutrik powerCON (32A) + + * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 + + * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP + + * `ubiquiti-smartpower` - Ubiquiti SmartPower + + * `hardwired` - Hardwired + + * `other` - Other' + explode: true + style: form - in: query - name: width + name: updated_by_request + schema: + type: string + format: uuid + - in: query + name: virtual_chassis + schema: + type: array + items: + type: string + description: Virtual Chassis + explode: true + style: form + - in: query + name: virtual_chassis__n + schema: + type: array + items: + type: string + description: Virtual Chassis + explode: true + style: form + - in: query + name: virtual_chassis_id schema: type: array items: type: integer - x-spec-enum-id: 9b322795f297a9c3 - description: Rail-to-rail width + description: Virtual Chassis (ID) explode: true style: form - in: query - name: width__n + name: virtual_chassis_id__n schema: type: array items: type: integer - x-spec-enum-id: 9b322795f297a9c3 - description: Rail-to-rail width + description: Virtual Chassis (ID) explode: true style: form tags: @@ -44453,21 +65010,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedRackList' + $ref: '#/components/schemas/PaginatedPowerOutletList' description: '' post: - operationId: dcim_racks_create - description: Post a list of rack objects. + operationId: dcim_power_outlets_create + description: Post a list of power outlet objects. tags: - dcim requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableRackRequest' + $ref: '#/components/schemas/WritablePowerOutletRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableRackRequest' + $ref: '#/components/schemas/WritablePowerOutletRequest' required: true security: - cookieAuth: [] @@ -44477,11 +65034,11 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Rack' + $ref: '#/components/schemas/PowerOutlet' description: '' put: - operationId: dcim_racks_bulk_update - description: Put a list of rack objects. + operationId: dcim_power_outlets_bulk_update + description: Put a list of power outlet objects. tags: - dcim requestBody: @@ -44490,12 +65047,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/RackRequest' + $ref: '#/components/schemas/PowerOutletRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/RackRequest' + $ref: '#/components/schemas/PowerOutletRequest' required: true security: - cookieAuth: [] @@ -44507,11 +65064,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/Rack' + $ref: '#/components/schemas/PowerOutlet' description: '' patch: - operationId: dcim_racks_bulk_partial_update - description: Patch a list of rack objects. + operationId: dcim_power_outlets_bulk_partial_update + description: Patch a list of power outlet objects. tags: - dcim requestBody: @@ -44520,12 +65077,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/RackRequest' + $ref: '#/components/schemas/PowerOutletRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/RackRequest' + $ref: '#/components/schemas/PowerOutletRequest' required: true security: - cookieAuth: [] @@ -44537,11 +65094,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/Rack' + $ref: '#/components/schemas/PowerOutlet' description: '' delete: - operationId: dcim_racks_bulk_destroy - description: Delete a list of rack objects. + operationId: dcim_power_outlets_bulk_destroy + description: Delete a list of power outlet objects. tags: - dcim requestBody: @@ -44550,12 +65107,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/RackRequest' + $ref: '#/components/schemas/PowerOutletRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/RackRequest' + $ref: '#/components/schemas/PowerOutletRequest' required: true security: - cookieAuth: [] @@ -44563,16 +65120,16 @@ paths: responses: '204': description: No response body - /api/dcim/racks/{id}/: + /api/dcim/power-outlets/{id}/: get: - operationId: dcim_racks_retrieve - description: Get a rack object. + operationId: dcim_power_outlets_retrieve + description: Get a power outlet object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this rack. + description: A unique integer value identifying this power outlet. required: true tags: - dcim @@ -44584,17 +65141,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Rack' + $ref: '#/components/schemas/PowerOutlet' description: '' put: - operationId: dcim_racks_update - description: Put a rack object. + operationId: dcim_power_outlets_update + description: Put a power outlet object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this rack. + description: A unique integer value identifying this power outlet. required: true tags: - dcim @@ -44602,10 +65159,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/WritableRackRequest' + $ref: '#/components/schemas/WritablePowerOutletRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableRackRequest' + $ref: '#/components/schemas/WritablePowerOutletRequest' required: true security: - cookieAuth: [] @@ -44615,17 +65172,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Rack' + $ref: '#/components/schemas/PowerOutlet' description: '' patch: - operationId: dcim_racks_partial_update - description: Patch a rack object. + operationId: dcim_power_outlets_partial_update + description: Patch a power outlet object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this rack. + description: A unique integer value identifying this power outlet. required: true tags: - dcim @@ -44633,10 +65190,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PatchedWritableRackRequest' + $ref: '#/components/schemas/PatchedWritablePowerOutletRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedWritableRackRequest' + $ref: '#/components/schemas/PatchedWritablePowerOutletRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -44645,17 +65202,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Rack' + $ref: '#/components/schemas/PowerOutlet' description: '' delete: - operationId: dcim_racks_destroy - description: Delete a rack object. + operationId: dcim_power_outlets_destroy + description: Delete a power outlet object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this rack. + description: A unique integer value identifying this power outlet. required: true tags: - dcim @@ -44665,93 +65222,18 @@ paths: responses: '204': description: No response body - /api/dcim/racks/{id}/elevation/: + /api/dcim/power-outlets/{id}/trace/: get: - operationId: dcim_racks_elevation_retrieve - description: Rack elevation representing the list of rack units. Also supports - rendering the elevation as an SVG. + operationId: dcim_power_outlets_trace_retrieve + description: Trace a complete cable path and return each segment as a three-tuple + of (termination, cable, termination). parameters: - - in: query - name: exclude - schema: - type: integer - - in: query - name: expand_devices - schema: - type: boolean - default: true - - in: query - name: face - schema: - enum: - - front - - rear - type: string - x-spec-enum-id: d2fb9b3f75158b83 - default: front - minLength: 1 - description: '* `front` - Front - - * `rear` - Rear' - in: path name: id schema: type: integer - description: A unique integer value identifying this rack. + description: A unique integer value identifying this power outlet. required: true - - in: query - name: include_images - schema: - type: boolean - default: true - - in: query - name: legend_width - schema: - type: integer - default: 30 - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - in: query - name: margin_width - schema: - type: integer - default: 15 - - 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 - minLength: 1 - - in: query - name: render - schema: - enum: - - json - - svg - type: string - x-spec-enum-id: 09901a5ff13ba07a - default: json - minLength: 1 - description: '* `json` - json - - * `svg` - svg' - - in: query - name: unit_height - schema: - type: integer - - in: query - name: unit_width - schema: - type: integer tags: - dcim security: @@ -44762,67 +65244,33 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedRackUnitList' + $ref: '#/components/schemas/PowerOutlet' description: '' - /api/dcim/rear-port-templates/: + /api/dcim/power-panels/: get: - operationId: dcim_rear_port_templates_list - description: Get a list of rear port template objects. + operationId: dcim_power_panels_list + description: Get a list of power panel objects. parameters: - in: query - name: color - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: color__empty - schema: - type: boolean - - in: query - name: color__ic - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: color__ie - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: color__iew - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: color__isw + name: contact schema: type: array items: - type: string + type: integer + description: Contact explode: true style: form - in: query - name: color__n + name: contact__n schema: type: array items: - type: string + type: integer + description: Contact explode: true style: form - in: query - name: color__nic + name: contact_group schema: type: array items: @@ -44830,7 +65278,7 @@ paths: explode: true style: form - in: query - name: color__nie + name: contact_group__n schema: type: array items: @@ -44838,19 +65286,21 @@ paths: explode: true style: form - in: query - name: color__niew + name: contact_role schema: type: array items: - type: string + type: integer + description: Contact Role explode: true style: form - in: query - name: color__nisw + name: contact_role__n schema: type: array items: - type: string + type: integer + description: Contact Role explode: true style: form - in: query @@ -45005,46 +65455,6 @@ paths: type: string explode: true style: form - - in: query - name: device_type_id - schema: - type: array - items: - type: integer - nullable: true - description: Device type (ID) - explode: true - style: form - - in: query - name: device_type_id__n - schema: - type: array - items: - type: integer - nullable: true - description: Device type (ID) - explode: true - style: form - - in: query - name: devicetype_id - schema: - type: array - items: - type: integer - nullable: true - description: Device type (ID) - explode: true - style: form - - in: query - name: devicetype_id__n - schema: - type: array - items: - type: integer - nullable: true - description: Device type (ID) - explode: true - style: form - in: query name: id schema: @@ -45103,90 +65513,6 @@ paths: format: int32 explode: true style: form - - in: query - name: label - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: label__empty - schema: - type: boolean - - in: query - name: label__ic - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: label__ie - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: label__iew - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: label__isw - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: label__n - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: label__nic - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: label__nie - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: label__niew - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: label__nisw - schema: - type: array - items: - type: string - explode: true - style: form - in: query name: last_updated schema: @@ -45257,50 +65583,26 @@ paths: schema: type: integer - in: query - name: modified_by_request - schema: - type: string - format: uuid - - in: query - name: module_type_id - schema: - type: array - items: - type: integer - nullable: true - description: Module type (ID) - explode: true - style: form - - in: query - name: module_type_id__n + name: location_id schema: type: array items: - type: integer - nullable: true - description: Module type (ID) + type: string explode: true style: form - in: query - name: moduletype_id + name: location_id__n schema: type: array items: - type: integer - nullable: true - description: Module type (ID) + type: string explode: true style: form - in: query - name: moduletype_id__n + name: modified_by_request schema: - type: array - items: - type: integer - nullable: true - description: Module type (ID) - explode: true - style: form + type: string + format: uuid - in: query name: name schema: @@ -45398,84 +65700,124 @@ paths: schema: type: string - in: query - name: positions + name: q + schema: + type: string + description: Search + - in: query + name: region schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: positions__empty + name: region__n schema: - type: boolean + type: array + items: + type: string + explode: true + style: form - in: query - name: positions__gt + name: region_id schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: positions__gte + name: region_id__n schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: positions__lt + name: site schema: type: array items: - type: integer - format: int32 + type: string + description: Site name (slug) explode: true style: form - in: query - name: positions__lte + name: site__n schema: type: array items: - type: integer - format: int32 + type: string + description: Site name (slug) explode: true style: form - in: query - name: positions__n + name: site_group + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: site_group__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: site_group_id + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: site_group_id__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: site_id schema: type: array items: type: integer - format: int32 + description: Site (ID) explode: true style: form - in: query - name: q + name: site_id__n schema: - type: string - description: Search + type: array + items: + type: integer + description: Site (ID) + explode: true + style: form - in: query - name: type + name: tag schema: type: array items: type: string - x-spec-enum-id: 0276d1110ada597a explode: true style: form - in: query - name: type__n + name: tag__n schema: type: array items: type: string - x-spec-enum-id: 0276d1110ada597a explode: true style: form - in: query @@ -45493,21 +65835,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedRearPortTemplateList' + $ref: '#/components/schemas/PaginatedPowerPanelList' description: '' post: - operationId: dcim_rear_port_templates_create - description: Post a list of rear port template objects. + operationId: dcim_power_panels_create + description: Post a list of power panel objects. tags: - dcim requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableRearPortTemplateRequest' + $ref: '#/components/schemas/PowerPanelRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableRearPortTemplateRequest' + $ref: '#/components/schemas/PowerPanelRequest' required: true security: - cookieAuth: [] @@ -45517,11 +65859,11 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/RearPortTemplate' + $ref: '#/components/schemas/PowerPanel' description: '' put: - operationId: dcim_rear_port_templates_bulk_update - description: Put a list of rear port template objects. + operationId: dcim_power_panels_bulk_update + description: Put a list of power panel objects. tags: - dcim requestBody: @@ -45530,12 +65872,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/RearPortTemplateRequest' + $ref: '#/components/schemas/PowerPanelRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/RearPortTemplateRequest' + $ref: '#/components/schemas/PowerPanelRequest' required: true security: - cookieAuth: [] @@ -45547,11 +65889,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/RearPortTemplate' + $ref: '#/components/schemas/PowerPanel' description: '' patch: - operationId: dcim_rear_port_templates_bulk_partial_update - description: Patch a list of rear port template objects. + operationId: dcim_power_panels_bulk_partial_update + description: Patch a list of power panel objects. tags: - dcim requestBody: @@ -45560,12 +65902,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/RearPortTemplateRequest' + $ref: '#/components/schemas/PowerPanelRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/RearPortTemplateRequest' + $ref: '#/components/schemas/PowerPanelRequest' required: true security: - cookieAuth: [] @@ -45577,11 +65919,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/RearPortTemplate' + $ref: '#/components/schemas/PowerPanel' description: '' delete: - operationId: dcim_rear_port_templates_bulk_destroy - description: Delete a list of rear port template objects. + operationId: dcim_power_panels_bulk_destroy + description: Delete a list of power panel objects. tags: - dcim requestBody: @@ -45590,12 +65932,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/RearPortTemplateRequest' + $ref: '#/components/schemas/PowerPanelRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/RearPortTemplateRequest' + $ref: '#/components/schemas/PowerPanelRequest' required: true security: - cookieAuth: [] @@ -45603,16 +65945,16 @@ paths: responses: '204': description: No response body - /api/dcim/rear-port-templates/{id}/: + /api/dcim/power-panels/{id}/: get: - operationId: dcim_rear_port_templates_retrieve - description: Get a rear port template object. + operationId: dcim_power_panels_retrieve + description: Get a power panel object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this rear port template. + description: A unique integer value identifying this power panel. required: true tags: - dcim @@ -45624,17 +65966,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/RearPortTemplate' + $ref: '#/components/schemas/PowerPanel' description: '' put: - operationId: dcim_rear_port_templates_update - description: Put a rear port template object. + operationId: dcim_power_panels_update + description: Put a power panel object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this rear port template. + description: A unique integer value identifying this power panel. required: true tags: - dcim @@ -45642,10 +65984,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/WritableRearPortTemplateRequest' + $ref: '#/components/schemas/PowerPanelRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableRearPortTemplateRequest' + $ref: '#/components/schemas/PowerPanelRequest' required: true security: - cookieAuth: [] @@ -45655,17 +65997,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/RearPortTemplate' + $ref: '#/components/schemas/PowerPanel' description: '' patch: - operationId: dcim_rear_port_templates_partial_update - description: Patch a rear port template object. + operationId: dcim_power_panels_partial_update + description: Patch a power panel object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this rear port template. + description: A unique integer value identifying this power panel. required: true tags: - dcim @@ -45673,10 +66015,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PatchedWritableRearPortTemplateRequest' + $ref: '#/components/schemas/PatchedPowerPanelRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedWritableRearPortTemplateRequest' + $ref: '#/components/schemas/PatchedPowerPanelRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -45685,17 +66027,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/RearPortTemplate' + $ref: '#/components/schemas/PowerPanel' description: '' delete: - operationId: dcim_rear_port_templates_destroy - description: Delete a rear port template object. + operationId: dcim_power_panels_destroy + description: Delete a power panel object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this rear port template. + description: A unique integer value identifying this power panel. required: true tags: - dcim @@ -45705,139 +66047,67 @@ paths: responses: '204': description: No response body - /api/dcim/rear-ports/: + /api/dcim/power-port-templates/: get: - operationId: dcim_rear_ports_list - description: Get a list of rear port objects. + operationId: dcim_power_port_templates_list + description: Get a list of power port template objects. parameters: - in: query - name: cable_end - schema: - type: string - x-spec-enum-id: 1db84f9b93b261c8 - enum: - - A - - B - description: '* `A` - A - - * `B` - B' - - in: query - name: cable_end__n - schema: - type: string - x-spec-enum-id: 1db84f9b93b261c8 - enum: - - A - - B - description: '* `A` - A - - * `B` - B' - - in: query - name: cable_id - schema: - type: array - items: - type: integer - nullable: true - description: Cable (ID) - explode: true - style: form - - in: query - name: cable_id__n + name: allocated_draw schema: type: array items: type: integer - nullable: true - description: Cable (ID) - explode: true - style: form - - in: query - name: cabled - schema: - type: boolean - - in: query - name: color - schema: - type: array - items: - type: string + format: int32 explode: true style: form - in: query - name: color__empty + name: allocated_draw__empty schema: type: boolean - in: query - name: color__ic - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: color__ie - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: color__iew - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: color__isw - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: color__n + name: allocated_draw__gt schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: color__nic + name: allocated_draw__gte schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: color__nie + name: allocated_draw__lt schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: color__niew + name: allocated_draw__lte schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: color__nisw + name: allocated_draw__n schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query @@ -45992,68 +66262,13 @@ paths: type: string explode: true style: form - - in: query - name: device - schema: - type: array - items: - type: string - nullable: true - description: Device (name) - explode: true - style: form - - in: query - name: device__n - schema: - type: array - items: - type: string - nullable: true - description: Device (name) - explode: true - style: form - - in: query - name: device_id - schema: - type: array - items: - type: integer - description: Device (ID) - explode: true - style: form - - in: query - name: device_id__n - schema: - type: array - items: - type: integer - description: Device (ID) - explode: true - style: form - - in: query - name: device_type - schema: - type: array - items: - type: string - description: Device type (model) - explode: true - style: form - - in: query - name: device_type__n - schema: - type: array - items: - type: string - description: Device type (model) - explode: true - style: form - in: query name: device_type_id schema: type: array items: type: integer + nullable: true description: Device type (ID) explode: true style: form @@ -46063,6 +66278,7 @@ paths: type: array items: type: integer + nullable: true description: Device type (ID) explode: true style: form @@ -46278,68 +66494,86 @@ paths: schema: type: integer - in: query - name: location + name: maximum_draw schema: type: array items: - type: string - description: Location (slug) + type: integer + format: int32 explode: true style: form - in: query - name: location__n + name: maximum_draw__empty + schema: + type: boolean + - in: query + name: maximum_draw__gt schema: type: array items: - type: string - description: Location (slug) + type: integer + format: int32 explode: true style: form - in: query - name: location_id + name: maximum_draw__gte schema: type: array items: type: integer - description: Location (ID) + format: int32 explode: true style: form - in: query - name: location_id__n + name: maximum_draw__lt schema: type: array items: type: integer - description: Location (ID) + format: int32 explode: true style: form - in: query - name: mark_connected + name: maximum_draw__lte schema: - type: boolean + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: maximum_draw__n + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form - in: query name: modified_by_request schema: type: string format: uuid - in: query - name: module_id + name: module_type_id schema: type: array items: type: integer nullable: true - description: Module (ID) + description: Module type (ID) explode: true style: form - in: query - name: module_id__n + name: module_type_id__n schema: type: array items: type: integer nullable: true - description: Module (ID) + description: Module type (ID) explode: true style: form - in: query @@ -46426,10 +66660,6 @@ paths: type: string explode: true style: form - - in: query - name: occupied - schema: - type: boolean - name: offset required: false in: query @@ -46442,324 +66672,102 @@ paths: description: Which field to use when ordering the results. schema: type: string - - in: query - name: positions - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: positions__empty - schema: - type: boolean - - in: query - name: positions__gt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: positions__gte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: positions__lt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: positions__lte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: positions__n - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - in: query name: q schema: type: string description: Search - - in: query - name: rack - schema: - type: array - items: - type: string - description: Rack (name) - explode: true - style: form - - in: query - name: rack__n - schema: - type: array - items: - type: string - description: Rack (name) - explode: true - style: form - - in: query - name: rack_id - schema: - type: array - items: - type: integer - description: Rack (ID) - explode: true - style: form - - in: query - name: rack_id__n - schema: - type: array - items: - type: integer - description: Rack (ID) - explode: true - style: form - - in: query - name: region - schema: - type: array - items: - type: integer - description: Region (slug) - explode: true - style: form - - in: query - name: region__n - schema: - type: array - items: - type: integer - description: Region (slug) - explode: true - style: form - - in: query - name: region_id - schema: - type: array - items: - type: integer - description: Region (ID) - explode: true - style: form - - in: query - name: region_id__n - schema: - type: array - items: - type: integer - description: Region (ID) - explode: true - style: form - - in: query - name: role - schema: - type: array - items: - type: string - description: Device role (slug) - explode: true - style: form - - in: query - name: role__n - schema: - type: array - items: - type: string - description: Device role (slug) - explode: true - style: form - - in: query - name: role_id - schema: - type: array - items: - type: integer - description: Device role (ID) - explode: true - style: form - - in: query - name: role_id__n - schema: - type: array - items: - type: integer - description: Device role (ID) - explode: true - style: form - - in: query - name: site - schema: - type: array - items: - type: string - description: Site name (slug) - explode: true - style: form - - in: query - name: site__n - schema: - type: array - items: - type: string - description: Site name (slug) - explode: true - style: form - - in: query - name: site_group - schema: - type: array - items: - type: integer - description: Site group (slug) - explode: true - style: form - - in: query - name: site_group__n - schema: - type: array - items: - type: integer - description: Site group (slug) - explode: true - style: form - - in: query - name: site_group_id - schema: - type: array - items: - type: integer - description: Site group (ID) - explode: true - style: form - - in: query - name: site_group_id__n - schema: - type: array - items: - type: integer - description: Site group (ID) - explode: true - style: form - - in: query - name: site_id - schema: - type: array - items: - type: integer - description: Site (ID) - explode: true - style: form - - in: query - name: site_id__n - schema: - type: array - items: - type: integer - description: Site (ID) - explode: true - style: form - - in: query - name: tag - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: tag__n - schema: - type: array - items: - type: string - explode: true - style: form - in: query name: type schema: - type: array - items: - type: string - x-spec-enum-id: 0276d1110ada597a - explode: true - style: form - - in: query - name: type__n - schema: - type: array - items: - type: string - x-spec-enum-id: 0276d1110ada597a - explode: true - style: form + type: string + x-spec-enum-id: f1bd4aedff3a591b + enum: + - California Style + - DC + - IEC 60309 + - IEC 60320 + - IEC 60906-1 + - International/ITA + - Molex + - NEMA (Locking) + - NEMA (Non-locking) + - Other + - Proprietary + - USB + description: '* `IEC 60320` - [(''iec-60320-c6'', ''C6''), (''iec-60320-c8'', + ''C8''), (''iec-60320-c14'', ''C14''), (''iec-60320-c16'', ''C16''), (''iec-60320-c20'', + ''C20''), (''iec-60320-c22'', ''C22'')] + + * `IEC 60309` - [(''iec-60309-p-n-e-4h'', ''P+N+E 4H''), (''iec-60309-p-n-e-6h'', + ''P+N+E 6H''), (''iec-60309-p-n-e-9h'', ''P+N+E 9H''), (''iec-60309-2p-e-4h'', + ''2P+E 4H''), (''iec-60309-2p-e-6h'', ''2P+E 6H''), (''iec-60309-2p-e-9h'', + ''2P+E 9H''), (''iec-60309-3p-e-4h'', ''3P+E 4H''), (''iec-60309-3p-e-6h'', + ''3P+E 6H''), (''iec-60309-3p-e-9h'', ''3P+E 9H''), (''iec-60309-3p-n-e-4h'', + ''3P+N+E 4H''), (''iec-60309-3p-n-e-6h'', ''3P+N+E 6H''), (''iec-60309-3p-n-e-9h'', + ''3P+N+E 9H'')] + + * `IEC 60906-1` - [(''iec-60906-1'', ''IEC 60906-1''), (''nbr-14136-10a'', + ''2P+T 10A (NBR 14136)''), (''nbr-14136-20a'', ''2P+T 20A (NBR 14136)'')] + + * `NEMA (Non-locking)` - [(''nema-1-15p'', ''NEMA 1-15P''), (''nema-5-15p'', + ''NEMA 5-15P''), (''nema-5-20p'', ''NEMA 5-20P''), (''nema-5-30p'', ''NEMA + 5-30P''), (''nema-5-50p'', ''NEMA 5-50P''), (''nema-6-15p'', ''NEMA 6-15P''), + (''nema-6-20p'', ''NEMA 6-20P''), (''nema-6-30p'', ''NEMA 6-30P''), (''nema-6-50p'', + ''NEMA 6-50P''), (''nema-10-30p'', ''NEMA 10-30P''), (''nema-10-50p'', ''NEMA + 10-50P''), (''nema-14-20p'', ''NEMA 14-20P''), (''nema-14-30p'', ''NEMA + 14-30P''), (''nema-14-50p'', ''NEMA 14-50P''), (''nema-14-60p'', ''NEMA + 14-60P''), (''nema-15-15p'', ''NEMA 15-15P''), (''nema-15-20p'', ''NEMA + 15-20P''), (''nema-15-30p'', ''NEMA 15-30P''), (''nema-15-50p'', ''NEMA + 15-50P''), (''nema-15-60p'', ''NEMA 15-60P'')] + + * `NEMA (Locking)` - [(''nema-l1-15p'', ''NEMA L1-15P''), (''nema-l5-15p'', + ''NEMA L5-15P''), (''nema-l5-20p'', ''NEMA L5-20P''), (''nema-l5-30p'', + ''NEMA L5-30P''), (''nema-l5-50p'', ''NEMA L5-50P''), (''nema-l6-15p'', + ''NEMA L6-15P''), (''nema-l6-20p'', ''NEMA L6-20P''), (''nema-l6-30p'', + ''NEMA L6-30P''), (''nema-l6-50p'', ''NEMA L6-50P''), (''nema-l10-30p'', + ''NEMA L10-30P''), (''nema-l14-20p'', ''NEMA L14-20P''), (''nema-l14-30p'', + ''NEMA L14-30P''), (''nema-l14-50p'', ''NEMA L14-50P''), (''nema-l14-60p'', + ''NEMA L14-60P''), (''nema-l15-20p'', ''NEMA L15-20P''), (''nema-l15-30p'', + ''NEMA L15-30P''), (''nema-l15-50p'', ''NEMA L15-50P''), (''nema-l15-60p'', + ''NEMA L15-60P''), (''nema-l21-20p'', ''NEMA L21-20P''), (''nema-l21-30p'', + ''NEMA L21-30P''), (''nema-l22-20p'', ''NEMA L22-20P''), (''nema-l22-30p'', + ''NEMA L22-30P'')] + + * `California Style` - [(''cs6361c'', ''CS6361C''), (''cs6365c'', ''CS6365C''), + (''cs8165c'', ''CS8165C''), (''cs8265c'', ''CS8265C''), (''cs8365c'', ''CS8365C''), + (''cs8465c'', ''CS8465C'')] + + * `International/ITA` - [(''ita-c'', ''ITA Type C (CEE 7/16)''), (''ita-e'', + ''ITA Type E (CEE 7/6)''), (''ita-f'', ''ITA Type F (CEE 7/4)''), (''ita-ef'', + ''ITA Type E/F (CEE 7/7)''), (''ita-g'', ''ITA Type G (BS 1363)''), (''ita-h'', + ''ITA Type H''), (''ita-i'', ''ITA Type I''), (''ita-j'', ''ITA Type J''), + (''ita-k'', ''ITA Type K''), (''ita-l'', ''ITA Type L (CEI 23-50)''), (''ita-m'', + ''ITA Type M (BS 546)''), (''ita-n'', ''ITA Type N''), (''ita-o'', ''ITA + Type O'')] + + * `USB` - [(''usb-a'', ''USB Type A''), (''usb-b'', ''USB Type B''), (''usb-c'', + ''USB Type C''), (''usb-mini-a'', ''USB Mini A''), (''usb-mini-b'', ''USB + Mini B''), (''usb-micro-a'', ''USB Micro A''), (''usb-micro-b'', ''USB Micro + B''), (''usb-micro-ab'', ''USB Micro AB''), (''usb-3-b'', ''USB 3.0 Type + B''), (''usb-3-micro-b'', ''USB 3.0 Micro B'')] + + * `Molex` - [(''molex-micro-fit-1x2'', ''Molex Micro-Fit 1x2''), (''molex-micro-fit-2x2'', + ''Molex Micro-Fit 2x2''), (''molex-micro-fit-2x4'', ''Molex Micro-Fit 2x4'')] + + * `DC` - [(''dc-terminal'', ''DC Terminal'')] + + * `Proprietary` - [(''saf-d-grid'', ''Saf-D-Grid''), (''neutrik-powercon-20'', + ''Neutrik powerCON (20A)''), (''neutrik-powercon-32'', ''Neutrik powerCON + (32A)''), (''neutrik-powercon-true1'', ''Neutrik powerCON TRUE1''), (''neutrik-powercon-true1-top'', + ''Neutrik powerCON TRUE1 TOP''), (''ubiquiti-smartpower'', ''Ubiquiti SmartPower'')] + + * `Other` - [(''hardwired'', ''Hardwired''), (''other'', ''Other'')]' - in: query name: updated_by_request schema: type: string format: uuid - - in: query - name: virtual_chassis - schema: - type: array - items: - type: string - description: Virtual Chassis - explode: true - style: form - - in: query - name: virtual_chassis__n - schema: - type: array - items: - type: string - description: Virtual Chassis - explode: true - style: form - - in: query - name: virtual_chassis_id - schema: - type: array - items: - type: integer - description: Virtual Chassis (ID) - explode: true - style: form - - in: query - name: virtual_chassis_id__n - schema: - type: array - items: - type: integer - description: Virtual Chassis (ID) - explode: true - style: form tags: - dcim security: @@ -46770,21 +66778,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedRearPortList' + $ref: '#/components/schemas/PaginatedPowerPortTemplateList' description: '' post: - operationId: dcim_rear_ports_create - description: Post a list of rear port objects. + operationId: dcim_power_port_templates_create + description: Post a list of power port template objects. tags: - dcim requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableRearPortRequest' + $ref: '#/components/schemas/WritablePowerPortTemplateRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableRearPortRequest' + $ref: '#/components/schemas/WritablePowerPortTemplateRequest' required: true security: - cookieAuth: [] @@ -46794,11 +66802,11 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/RearPort' + $ref: '#/components/schemas/PowerPortTemplate' description: '' put: - operationId: dcim_rear_ports_bulk_update - description: Put a list of rear port objects. + operationId: dcim_power_port_templates_bulk_update + description: Put a list of power port template objects. tags: - dcim requestBody: @@ -46807,12 +66815,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/RearPortRequest' + $ref: '#/components/schemas/PowerPortTemplateRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/RearPortRequest' + $ref: '#/components/schemas/PowerPortTemplateRequest' required: true security: - cookieAuth: [] @@ -46824,11 +66832,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/RearPort' + $ref: '#/components/schemas/PowerPortTemplate' description: '' patch: - operationId: dcim_rear_ports_bulk_partial_update - description: Patch a list of rear port objects. + operationId: dcim_power_port_templates_bulk_partial_update + description: Patch a list of power port template objects. tags: - dcim requestBody: @@ -46837,12 +66845,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/RearPortRequest' + $ref: '#/components/schemas/PowerPortTemplateRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/RearPortRequest' + $ref: '#/components/schemas/PowerPortTemplateRequest' required: true security: - cookieAuth: [] @@ -46854,11 +66862,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/RearPort' + $ref: '#/components/schemas/PowerPortTemplate' description: '' delete: - operationId: dcim_rear_ports_bulk_destroy - description: Delete a list of rear port objects. + operationId: dcim_power_port_templates_bulk_destroy + description: Delete a list of power port template objects. tags: - dcim requestBody: @@ -46867,12 +66875,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/RearPortRequest' + $ref: '#/components/schemas/PowerPortTemplateRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/RearPortRequest' + $ref: '#/components/schemas/PowerPortTemplateRequest' required: true security: - cookieAuth: [] @@ -46880,16 +66888,16 @@ paths: responses: '204': description: No response body - /api/dcim/rear-ports/{id}/: + /api/dcim/power-port-templates/{id}/: get: - operationId: dcim_rear_ports_retrieve - description: Get a rear port object. + operationId: dcim_power_port_templates_retrieve + description: Get a power port template object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this rear port. + description: A unique integer value identifying this power port template. required: true tags: - dcim @@ -46901,17 +66909,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/RearPort' + $ref: '#/components/schemas/PowerPortTemplate' description: '' put: - operationId: dcim_rear_ports_update - description: Put a rear port object. + operationId: dcim_power_port_templates_update + description: Put a power port template object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this rear port. + description: A unique integer value identifying this power port template. required: true tags: - dcim @@ -46919,10 +66927,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/WritableRearPortRequest' + $ref: '#/components/schemas/WritablePowerPortTemplateRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableRearPortRequest' + $ref: '#/components/schemas/WritablePowerPortTemplateRequest' required: true security: - cookieAuth: [] @@ -46932,17 +66940,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/RearPort' + $ref: '#/components/schemas/PowerPortTemplate' description: '' patch: - operationId: dcim_rear_ports_partial_update - description: Patch a rear port object. + operationId: dcim_power_port_templates_partial_update + description: Patch a power port template object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this rear port. + description: A unique integer value identifying this power port template. required: true tags: - dcim @@ -46950,10 +66958,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PatchedWritableRearPortRequest' + $ref: '#/components/schemas/PatchedWritablePowerPortTemplateRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedWritableRearPortRequest' + $ref: '#/components/schemas/PatchedWritablePowerPortTemplateRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -46962,17 +66970,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/RearPort' + $ref: '#/components/schemas/PowerPortTemplate' description: '' delete: - operationId: dcim_rear_ports_destroy - description: Delete a rear port object. + operationId: dcim_power_port_templates_destroy + description: Delete a power port template object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this rear port. + description: A unique integer value identifying this power port template. required: true tags: - dcim @@ -46982,124 +66990,108 @@ paths: responses: '204': description: No response body - /api/dcim/rear-ports/{id}/paths/: - get: - operationId: dcim_rear_ports_paths_retrieve - description: Return all CablePaths which traverse a given pass-through port. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this rear port. - required: true - tags: - - dcim - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/RearPort' - description: '' - /api/dcim/regions/: + /api/dcim/power-ports/: get: - operationId: dcim_regions_list - description: Get a list of region objects. + operationId: dcim_power_ports_list + description: Get a list of power port objects. parameters: - in: query - name: ancestor + name: allocated_draw schema: type: array items: type: integer - description: Region (slug) + format: int32 explode: true style: form - in: query - name: ancestor__n + name: allocated_draw__empty schema: - type: array - items: - type: integer - description: Region (slug) - explode: true - style: form + type: boolean - in: query - name: ancestor_id + name: allocated_draw__gt schema: type: array items: type: integer - description: Region (ID) + format: int32 explode: true style: form - in: query - name: ancestor_id__n + name: allocated_draw__gte schema: type: array items: type: integer - description: Region (ID) + format: int32 explode: true style: form - in: query - name: contact + name: allocated_draw__lt schema: type: array items: type: integer - description: Contact + format: int32 explode: true style: form - in: query - name: contact__n + name: allocated_draw__lte schema: type: array items: type: integer - description: Contact + format: int32 explode: true style: form - in: query - name: contact_group + name: allocated_draw__n schema: type: array items: type: integer - description: Contact group + format: int32 explode: true style: form - in: query - name: contact_group__n + name: cable_end schema: - type: array - items: - type: integer - description: Contact group - explode: true - style: form + type: string + x-spec-enum-id: 1db84f9b93b261c8 + enum: + - A + - B + description: '* `A` - A + + * `B` - B' - in: query - name: contact_role + name: cable_id schema: type: array items: type: integer - description: Contact Role + nullable: true + description: Cable (ID) explode: true style: form - in: query - name: contact_role__n + name: cable_id__n schema: type: array items: type: integer - description: Contact Role + nullable: true + description: Cable (ID) explode: true style: form + - in: query + name: cabled + schema: + type: boolean + - in: query + name: connected + schema: + type: boolean - in: query name: created schema: @@ -47252,6 +67244,399 @@ paths: type: string explode: true style: form + - in: query + name: device + schema: + type: array + items: + type: string + nullable: true + description: Device (name) + explode: true + style: form + - in: query + name: device__n + schema: + type: array + items: + type: string + nullable: true + description: Device (name) + explode: true + style: form + - in: query + name: device_id + schema: + type: array + items: + type: integer + description: Device (ID) + explode: true + style: form + - in: query + name: device_id__n + schema: + type: array + items: + type: integer + description: Device (ID) + explode: true + style: form + - in: query + name: device_role + schema: + type: array + items: + type: string + description: Device role (slug) + explode: true + style: form + - in: query + name: device_role__n + schema: + type: array + items: + type: string + description: Device role (slug) + explode: true + style: form + - in: query + name: device_role_id + schema: + type: array + items: + type: integer + description: Device role (ID) + explode: true + style: form + - in: query + name: device_role_id__n + schema: + type: array + items: + type: integer + description: Device role (ID) + explode: true + style: form + - in: query + name: device_status + schema: + type: array + items: + type: string + x-spec-enum-id: 8d8971779f16ee18 + explode: true + style: form + - in: query + name: device_status__empty + schema: + type: boolean + - in: query + name: device_status__ic + schema: + type: array + items: + type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' + explode: true + style: form + - in: query + name: device_status__ie + schema: + type: array + items: + type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' + explode: true + style: form + - in: query + name: device_status__iew + schema: + type: array + items: + type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' + explode: true + style: form + - in: query + name: device_status__isw + schema: + type: array + items: + type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' + explode: true + style: form + - in: query + name: device_status__n + schema: + type: array + items: + type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' + explode: true + style: form + - in: query + name: device_status__nic + schema: + type: array + items: + type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' + explode: true + style: form + - in: query + name: device_status__nie + schema: + type: array + items: + type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' + explode: true + style: form + - in: query + name: device_status__niew + schema: + type: array + items: + type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' + explode: true + style: form + - in: query + name: device_status__nisw + schema: + type: array + items: + type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' + explode: true + style: form + - in: query + name: device_type + schema: + type: array + items: + type: string + description: Device type (model) + explode: true + style: form + - in: query + name: device_type__n + schema: + type: array + items: + type: string + description: Device type (model) + explode: true + style: form + - in: query + name: device_type_id + schema: + type: array + items: + type: integer + description: Device type (ID) + explode: true + style: form + - in: query + name: device_type_id__n + schema: + type: array + items: + type: integer + description: Device type (ID) + explode: true + style: form - in: query name: id schema: @@ -47311,81 +67696,67 @@ paths: explode: true style: form - in: query - name: last_updated + name: label schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__empty + name: label__empty + schema: + type: boolean + - in: query + name: label__ic schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__gt + name: label__ie schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__gte + name: label__iew schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__lt + name: label__isw schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__lte + name: label__n schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__n + name: label__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: modified_by_request - schema: - type: string - format: uuid - in: query - name: name + name: label__nie schema: type: array items: @@ -47393,11 +67764,7 @@ paths: explode: true style: form - in: query - name: name__empty - schema: - type: boolean - - in: query - name: name__ic + name: label__niew schema: type: array items: @@ -47405,7 +67772,7 @@ paths: explode: true style: form - in: query - name: name__ie + name: label__nisw schema: type: array items: @@ -47413,138 +67780,199 @@ paths: explode: true style: form - in: query - name: name__iew + name: last_updated schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: name__isw + name: last_updated__empty schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: name__n + name: last_updated__gt schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: name__nic + name: last_updated__gte schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: name__nie + name: last_updated__lt schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: name__niew + name: last_updated__lte schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: name__nisw + name: last_updated__n schema: type: array items: type: string + format: date-time explode: true style: form - - name: offset + - 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 - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - in: query - name: parent + name: location schema: type: array items: type: string - description: Parent region (slug) + description: Location (slug) explode: true style: form - in: query - name: parent__n + name: location__n schema: type: array items: type: string - description: Parent region (slug) + description: Location (slug) explode: true style: form - in: query - name: parent_id + name: location_id schema: type: array items: type: integer - nullable: true - description: Parent region (ID) + description: Location (ID) explode: true style: form - in: query - name: parent_id__n + name: location_id__n schema: type: array items: type: integer - nullable: true - description: Parent region (ID) + description: Location (ID) explode: true style: form - in: query - name: q + name: mark_connected schema: - type: string - description: Search + type: boolean - in: query - name: slug + name: maximum_draw schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: slug__empty + name: maximum_draw__empty schema: type: boolean - in: query - name: slug__ic + name: maximum_draw__gt schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: slug__ie + name: maximum_draw__gte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: maximum_draw__lt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: maximum_draw__lte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: maximum_draw__n + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: modified_by_request + schema: + type: string + format: uuid + - in: query + name: module_id + schema: + type: array + items: + type: integer + nullable: true + description: Module (ID) + explode: true + style: form + - in: query + name: module_id__n + schema: + type: array + items: + type: integer + nullable: true + description: Module (ID) + explode: true + style: form + - in: query + name: name schema: type: array items: @@ -47552,7 +67980,11 @@ paths: explode: true style: form - in: query - name: slug__iew + name: name__empty + schema: + type: boolean + - in: query + name: name__ic schema: type: array items: @@ -47560,7 +67992,7 @@ paths: explode: true style: form - in: query - name: slug__isw + name: name__ie schema: type: array items: @@ -47568,7 +68000,7 @@ paths: explode: true style: form - in: query - name: slug__n + name: name__iew schema: type: array items: @@ -47576,7 +68008,7 @@ paths: explode: true style: form - in: query - name: slug__nic + name: name__isw schema: type: array items: @@ -47584,7 +68016,7 @@ paths: explode: true style: form - in: query - name: slug__nie + name: name__n schema: type: array items: @@ -47592,7 +68024,7 @@ paths: explode: true style: form - in: query - name: slug__niew + name: name__nic schema: type: array items: @@ -47600,7 +68032,7 @@ paths: explode: true style: form - in: query - name: slug__nisw + name: name__nie schema: type: array items: @@ -47608,7 +68040,7 @@ paths: explode: true style: form - in: query - name: tag + name: name__niew schema: type: array items: @@ -47616,7 +68048,7 @@ paths: explode: true style: form - in: query - name: tag__n + name: name__nisw schema: type: array items: @@ -47624,397 +68056,122 @@ paths: explode: true style: form - in: query - name: updated_by_request + name: occupied + schema: + type: boolean + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. schema: type: string - format: uuid - tags: - - dcim - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/PaginatedRegionList' - description: '' - post: - operationId: dcim_regions_create - description: Post a list of region objects. - tags: - - dcim - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/WritableRegionRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/WritableRegionRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '201': - content: - application/json: - schema: - $ref: '#/components/schemas/Region' - description: '' - put: - operationId: dcim_regions_bulk_update - description: Put a list of region objects. - tags: - - dcim - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/RegionRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/RegionRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/Region' - description: '' - patch: - operationId: dcim_regions_bulk_partial_update - description: Patch a list of region objects. - tags: - - dcim - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/RegionRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/RegionRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/Region' - description: '' - delete: - operationId: dcim_regions_bulk_destroy - description: Delete a list of region objects. - tags: - - dcim - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/RegionRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/RegionRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '204': - description: No response body - /api/dcim/regions/{id}/: - get: - operationId: dcim_regions_retrieve - description: Get a region object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this region. - required: true - tags: - - dcim - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/Region' - description: '' - put: - operationId: dcim_regions_update - description: Put a region object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this region. - required: true - tags: - - dcim - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/WritableRegionRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/WritableRegionRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/Region' - description: '' - patch: - operationId: dcim_regions_partial_update - description: Patch a region object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this region. - required: true - tags: - - dcim - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/PatchedWritableRegionRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/PatchedWritableRegionRequest' - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/Region' - description: '' - delete: - operationId: dcim_regions_destroy - description: Delete a region object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this region. - required: true - tags: - - dcim - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '204': - description: No response body - /api/dcim/site-groups/: - get: - operationId: dcim_site_groups_list - description: Get a list of site group objects. - parameters: - - in: query - name: ancestor - schema: - type: array - items: - type: integer - description: Site group (slug) - explode: true - style: form - - in: query - name: ancestor__n - schema: - type: array - items: - type: integer - description: Site group (slug) - explode: true - style: form - - in: query - name: ancestor_id - schema: - type: array - items: - type: integer - description: Site group (ID) - explode: true - style: form - - in: query - name: ancestor_id__n - schema: - type: array - items: - type: integer - description: Site group (ID) - explode: true - style: form - - in: query - name: contact - schema: - type: array - items: - type: integer - description: Contact - explode: true - style: form - in: query - name: contact__n + name: q schema: - type: array - items: - type: integer - description: Contact - explode: true - style: form + type: string + description: Search - in: query - name: contact_group + name: rack schema: type: array items: - type: integer - description: Contact group + type: string + description: Rack (name) explode: true style: form - in: query - name: contact_group__n + name: rack__n schema: type: array items: - type: integer - description: Contact group + type: string + description: Rack (name) explode: true style: form - in: query - name: contact_role + name: rack_id schema: type: array items: type: integer - description: Contact Role + description: Rack (ID) explode: true style: form - in: query - name: contact_role__n + name: rack_id__n schema: type: array items: type: integer - description: Contact Role + description: Rack (ID) explode: true style: form - in: query - name: created + name: region schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__empty + name: region__n schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__gt + name: region_id schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__gte + name: region_id__n schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__lt + name: site schema: type: array items: type: string - format: date-time + description: Site name (slug) explode: true style: form - in: query - name: created__lte + name: site__n schema: type: array items: type: string - format: date-time + description: Site name (slug) explode: true style: form - in: query - name: created__n + name: site_group schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created_by_request - schema: - type: string - format: uuid - - in: query - name: description + name: site_group__n schema: type: array items: @@ -48022,11 +68179,7 @@ paths: explode: true style: form - in: query - name: description__empty - schema: - type: boolean - - in: query - name: description__ic + name: site_group_id schema: type: array items: @@ -48034,7 +68187,7 @@ paths: explode: true style: form - in: query - name: description__ie + name: site_group_id__n schema: type: array items: @@ -48042,23 +68195,25 @@ paths: explode: true style: form - in: query - name: description__iew + name: site_id schema: type: array items: - type: string + type: integer + description: Site (ID) explode: true style: form - in: query - name: description__isw + name: site_id__n schema: type: array items: - type: string + type: integer + description: Site (ID) explode: true style: form - in: query - name: description__n + name: tag schema: type: array items: @@ -48066,7 +68221,7 @@ paths: explode: true style: form - in: query - name: description__nic + name: tag__n schema: type: array items: @@ -48074,405 +68229,2985 @@ paths: explode: true style: form - in: query - name: description__nie + name: type schema: type: array items: type: string + x-spec-enum-id: f1bd4aedff3a591b + description: Physical port type explode: true style: form - in: query - name: description__niew - schema: - type: array - items: - type: string + name: type__empty + schema: + type: boolean + - in: query + name: type__ic + schema: + type: array + items: + type: string + x-spec-enum-id: f1bd4aedff3a591b + enum: + - '' + - cs6361c + - cs6365c + - cs8165c + - cs8265c + - cs8365c + - cs8465c + - dc-terminal + - hardwired + - 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-60309-p-n-e-4h + - iec-60309-p-n-e-6h + - iec-60309-p-n-e-9h + - iec-60320-c14 + - iec-60320-c16 + - iec-60320-c20 + - iec-60320-c22 + - iec-60320-c6 + - iec-60320-c8 + - iec-60906-1 + - ita-c + - ita-e + - ita-ef + - ita-f + - ita-g + - ita-h + - ita-i + - ita-j + - ita-k + - ita-l + - ita-m + - ita-n + - ita-o + - molex-micro-fit-1x2 + - molex-micro-fit-2x2 + - molex-micro-fit-2x4 + - nbr-14136-10a + - nbr-14136-20a + - nema-1-15p + - 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-5-15p + - nema-5-20p + - nema-5-30p + - nema-5-50p + - nema-6-15p + - nema-6-20p + - nema-6-30p + - nema-6-50p + - nema-l1-15p + - 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-20p + - nema-l22-30p + - nema-l5-15p + - nema-l5-20p + - nema-l5-30p + - nema-l5-50p + - nema-l6-15p + - nema-l6-20p + - nema-l6-30p + - nema-l6-50p + - neutrik-powercon-20 + - neutrik-powercon-32 + - neutrik-powercon-true1 + - neutrik-powercon-true1-top + - other + - saf-d-grid + - ubiquiti-smartpower + - usb-3-b + - usb-3-micro-b + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: 'Physical port type + + + * `iec-60320-c6` - C6 + + * `iec-60320-c8` - C8 + + * `iec-60320-c14` - C14 + + * `iec-60320-c16` - C16 + + * `iec-60320-c20` - C20 + + * `iec-60320-c22` - C22 + + * `iec-60309-p-n-e-4h` - P+N+E 4H + + * `iec-60309-p-n-e-6h` - P+N+E 6H + + * `iec-60309-p-n-e-9h` - P+N+E 9H + + * `iec-60309-2p-e-4h` - 2P+E 4H + + * `iec-60309-2p-e-6h` - 2P+E 6H + + * `iec-60309-2p-e-9h` - 2P+E 9H + + * `iec-60309-3p-e-4h` - 3P+E 4H + + * `iec-60309-3p-e-6h` - 3P+E 6H + + * `iec-60309-3p-e-9h` - 3P+E 9H + + * `iec-60309-3p-n-e-4h` - 3P+N+E 4H + + * `iec-60309-3p-n-e-6h` - 3P+N+E 6H + + * `iec-60309-3p-n-e-9h` - 3P+N+E 9H + + * `iec-60906-1` - IEC 60906-1 + + * `nbr-14136-10a` - 2P+T 10A (NBR 14136) + + * `nbr-14136-20a` - 2P+T 20A (NBR 14136) + + * `nema-1-15p` - NEMA 1-15P + + * `nema-5-15p` - NEMA 5-15P + + * `nema-5-20p` - NEMA 5-20P + + * `nema-5-30p` - NEMA 5-30P + + * `nema-5-50p` - NEMA 5-50P + + * `nema-6-15p` - NEMA 6-15P + + * `nema-6-20p` - NEMA 6-20P + + * `nema-6-30p` - NEMA 6-30P + + * `nema-6-50p` - NEMA 6-50P + + * `nema-10-30p` - NEMA 10-30P + + * `nema-10-50p` - NEMA 10-50P + + * `nema-14-20p` - NEMA 14-20P + + * `nema-14-30p` - NEMA 14-30P + + * `nema-14-50p` - NEMA 14-50P + + * `nema-14-60p` - NEMA 14-60P + + * `nema-15-15p` - NEMA 15-15P + + * `nema-15-20p` - NEMA 15-20P + + * `nema-15-30p` - NEMA 15-30P + + * `nema-15-50p` - NEMA 15-50P + + * `nema-15-60p` - NEMA 15-60P + + * `nema-l1-15p` - NEMA L1-15P + + * `nema-l5-15p` - NEMA L5-15P + + * `nema-l5-20p` - NEMA L5-20P + + * `nema-l5-30p` - NEMA L5-30P + + * `nema-l5-50p` - NEMA L5-50P + + * `nema-l6-15p` - NEMA L6-15P + + * `nema-l6-20p` - NEMA L6-20P + + * `nema-l6-30p` - NEMA L6-30P + + * `nema-l6-50p` - NEMA L6-50P + + * `nema-l10-30p` - NEMA L10-30P + + * `nema-l14-20p` - NEMA L14-20P + + * `nema-l14-30p` - NEMA L14-30P + + * `nema-l14-50p` - NEMA L14-50P + + * `nema-l14-60p` - NEMA L14-60P + + * `nema-l15-20p` - NEMA L15-20P + + * `nema-l15-30p` - NEMA L15-30P + + * `nema-l15-50p` - NEMA L15-50P + + * `nema-l15-60p` - NEMA L15-60P + + * `nema-l21-20p` - NEMA L21-20P + + * `nema-l21-30p` - NEMA L21-30P + + * `nema-l22-20p` - NEMA L22-20P + + * `nema-l22-30p` - NEMA L22-30P + + * `cs6361c` - CS6361C + + * `cs6365c` - CS6365C + + * `cs8165c` - CS8165C + + * `cs8265c` - CS8265C + + * `cs8365c` - CS8365C + + * `cs8465c` - CS8465C + + * `ita-c` - ITA Type C (CEE 7/16) + + * `ita-e` - ITA Type E (CEE 7/6) + + * `ita-f` - ITA Type F (CEE 7/4) + + * `ita-ef` - ITA Type E/F (CEE 7/7) + + * `ita-g` - ITA Type G (BS 1363) + + * `ita-h` - ITA Type H + + * `ita-i` - ITA Type I + + * `ita-j` - ITA Type J + + * `ita-k` - ITA Type K + + * `ita-l` - ITA Type L (CEI 23-50) + + * `ita-m` - ITA Type M (BS 546) + + * `ita-n` - ITA Type N + + * `ita-o` - ITA Type O + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `usb-3-b` - USB 3.0 Type B + + * `usb-3-micro-b` - USB 3.0 Micro B + + * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 + + * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 + + * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 + + * `dc-terminal` - DC Terminal + + * `saf-d-grid` - Saf-D-Grid + + * `neutrik-powercon-20` - Neutrik powerCON (20A) + + * `neutrik-powercon-32` - Neutrik powerCON (32A) + + * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 + + * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP + + * `ubiquiti-smartpower` - Ubiquiti SmartPower + + * `hardwired` - Hardwired + + * `other` - Other' explode: true style: form - in: query - name: description__nisw + name: type__ie schema: type: array items: type: string + x-spec-enum-id: f1bd4aedff3a591b + enum: + - '' + - cs6361c + - cs6365c + - cs8165c + - cs8265c + - cs8365c + - cs8465c + - dc-terminal + - hardwired + - 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-60309-p-n-e-4h + - iec-60309-p-n-e-6h + - iec-60309-p-n-e-9h + - iec-60320-c14 + - iec-60320-c16 + - iec-60320-c20 + - iec-60320-c22 + - iec-60320-c6 + - iec-60320-c8 + - iec-60906-1 + - ita-c + - ita-e + - ita-ef + - ita-f + - ita-g + - ita-h + - ita-i + - ita-j + - ita-k + - ita-l + - ita-m + - ita-n + - ita-o + - molex-micro-fit-1x2 + - molex-micro-fit-2x2 + - molex-micro-fit-2x4 + - nbr-14136-10a + - nbr-14136-20a + - nema-1-15p + - 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-5-15p + - nema-5-20p + - nema-5-30p + - nema-5-50p + - nema-6-15p + - nema-6-20p + - nema-6-30p + - nema-6-50p + - nema-l1-15p + - 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-20p + - nema-l22-30p + - nema-l5-15p + - nema-l5-20p + - nema-l5-30p + - nema-l5-50p + - nema-l6-15p + - nema-l6-20p + - nema-l6-30p + - nema-l6-50p + - neutrik-powercon-20 + - neutrik-powercon-32 + - neutrik-powercon-true1 + - neutrik-powercon-true1-top + - other + - saf-d-grid + - ubiquiti-smartpower + - usb-3-b + - usb-3-micro-b + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: 'Physical port type + + + * `iec-60320-c6` - C6 + + * `iec-60320-c8` - C8 + + * `iec-60320-c14` - C14 + + * `iec-60320-c16` - C16 + + * `iec-60320-c20` - C20 + + * `iec-60320-c22` - C22 + + * `iec-60309-p-n-e-4h` - P+N+E 4H + + * `iec-60309-p-n-e-6h` - P+N+E 6H + + * `iec-60309-p-n-e-9h` - P+N+E 9H + + * `iec-60309-2p-e-4h` - 2P+E 4H + + * `iec-60309-2p-e-6h` - 2P+E 6H + + * `iec-60309-2p-e-9h` - 2P+E 9H + + * `iec-60309-3p-e-4h` - 3P+E 4H + + * `iec-60309-3p-e-6h` - 3P+E 6H + + * `iec-60309-3p-e-9h` - 3P+E 9H + + * `iec-60309-3p-n-e-4h` - 3P+N+E 4H + + * `iec-60309-3p-n-e-6h` - 3P+N+E 6H + + * `iec-60309-3p-n-e-9h` - 3P+N+E 9H + + * `iec-60906-1` - IEC 60906-1 + + * `nbr-14136-10a` - 2P+T 10A (NBR 14136) + + * `nbr-14136-20a` - 2P+T 20A (NBR 14136) + + * `nema-1-15p` - NEMA 1-15P + + * `nema-5-15p` - NEMA 5-15P + + * `nema-5-20p` - NEMA 5-20P + + * `nema-5-30p` - NEMA 5-30P + + * `nema-5-50p` - NEMA 5-50P + + * `nema-6-15p` - NEMA 6-15P + + * `nema-6-20p` - NEMA 6-20P + + * `nema-6-30p` - NEMA 6-30P + + * `nema-6-50p` - NEMA 6-50P + + * `nema-10-30p` - NEMA 10-30P + + * `nema-10-50p` - NEMA 10-50P + + * `nema-14-20p` - NEMA 14-20P + + * `nema-14-30p` - NEMA 14-30P + + * `nema-14-50p` - NEMA 14-50P + + * `nema-14-60p` - NEMA 14-60P + + * `nema-15-15p` - NEMA 15-15P + + * `nema-15-20p` - NEMA 15-20P + + * `nema-15-30p` - NEMA 15-30P + + * `nema-15-50p` - NEMA 15-50P + + * `nema-15-60p` - NEMA 15-60P + + * `nema-l1-15p` - NEMA L1-15P + + * `nema-l5-15p` - NEMA L5-15P + + * `nema-l5-20p` - NEMA L5-20P + + * `nema-l5-30p` - NEMA L5-30P + + * `nema-l5-50p` - NEMA L5-50P + + * `nema-l6-15p` - NEMA L6-15P + + * `nema-l6-20p` - NEMA L6-20P + + * `nema-l6-30p` - NEMA L6-30P + + * `nema-l6-50p` - NEMA L6-50P + + * `nema-l10-30p` - NEMA L10-30P + + * `nema-l14-20p` - NEMA L14-20P + + * `nema-l14-30p` - NEMA L14-30P + + * `nema-l14-50p` - NEMA L14-50P + + * `nema-l14-60p` - NEMA L14-60P + + * `nema-l15-20p` - NEMA L15-20P + + * `nema-l15-30p` - NEMA L15-30P + + * `nema-l15-50p` - NEMA L15-50P + + * `nema-l15-60p` - NEMA L15-60P + + * `nema-l21-20p` - NEMA L21-20P + + * `nema-l21-30p` - NEMA L21-30P + + * `nema-l22-20p` - NEMA L22-20P + + * `nema-l22-30p` - NEMA L22-30P + + * `cs6361c` - CS6361C + + * `cs6365c` - CS6365C + + * `cs8165c` - CS8165C + + * `cs8265c` - CS8265C + + * `cs8365c` - CS8365C + + * `cs8465c` - CS8465C + + * `ita-c` - ITA Type C (CEE 7/16) + + * `ita-e` - ITA Type E (CEE 7/6) + + * `ita-f` - ITA Type F (CEE 7/4) + + * `ita-ef` - ITA Type E/F (CEE 7/7) + + * `ita-g` - ITA Type G (BS 1363) + + * `ita-h` - ITA Type H + + * `ita-i` - ITA Type I + + * `ita-j` - ITA Type J + + * `ita-k` - ITA Type K + + * `ita-l` - ITA Type L (CEI 23-50) + + * `ita-m` - ITA Type M (BS 546) + + * `ita-n` - ITA Type N + + * `ita-o` - ITA Type O + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `usb-3-b` - USB 3.0 Type B + + * `usb-3-micro-b` - USB 3.0 Micro B + + * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 + + * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 + + * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 + + * `dc-terminal` - DC Terminal + + * `saf-d-grid` - Saf-D-Grid + + * `neutrik-powercon-20` - Neutrik powerCON (20A) + + * `neutrik-powercon-32` - Neutrik powerCON (32A) + + * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 + + * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP + + * `ubiquiti-smartpower` - Ubiquiti SmartPower + + * `hardwired` - Hardwired + + * `other` - Other' explode: true style: form - in: query - name: id - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: id__empty - schema: - type: boolean - - in: query - name: id__gt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: id__gte + name: type__iew schema: type: array items: - type: integer - format: int32 + type: string + x-spec-enum-id: f1bd4aedff3a591b + enum: + - '' + - cs6361c + - cs6365c + - cs8165c + - cs8265c + - cs8365c + - cs8465c + - dc-terminal + - hardwired + - 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-60309-p-n-e-4h + - iec-60309-p-n-e-6h + - iec-60309-p-n-e-9h + - iec-60320-c14 + - iec-60320-c16 + - iec-60320-c20 + - iec-60320-c22 + - iec-60320-c6 + - iec-60320-c8 + - iec-60906-1 + - ita-c + - ita-e + - ita-ef + - ita-f + - ita-g + - ita-h + - ita-i + - ita-j + - ita-k + - ita-l + - ita-m + - ita-n + - ita-o + - molex-micro-fit-1x2 + - molex-micro-fit-2x2 + - molex-micro-fit-2x4 + - nbr-14136-10a + - nbr-14136-20a + - nema-1-15p + - 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-5-15p + - nema-5-20p + - nema-5-30p + - nema-5-50p + - nema-6-15p + - nema-6-20p + - nema-6-30p + - nema-6-50p + - nema-l1-15p + - 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-20p + - nema-l22-30p + - nema-l5-15p + - nema-l5-20p + - nema-l5-30p + - nema-l5-50p + - nema-l6-15p + - nema-l6-20p + - nema-l6-30p + - nema-l6-50p + - neutrik-powercon-20 + - neutrik-powercon-32 + - neutrik-powercon-true1 + - neutrik-powercon-true1-top + - other + - saf-d-grid + - ubiquiti-smartpower + - usb-3-b + - usb-3-micro-b + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: 'Physical port type + + + * `iec-60320-c6` - C6 + + * `iec-60320-c8` - C8 + + * `iec-60320-c14` - C14 + + * `iec-60320-c16` - C16 + + * `iec-60320-c20` - C20 + + * `iec-60320-c22` - C22 + + * `iec-60309-p-n-e-4h` - P+N+E 4H + + * `iec-60309-p-n-e-6h` - P+N+E 6H + + * `iec-60309-p-n-e-9h` - P+N+E 9H + + * `iec-60309-2p-e-4h` - 2P+E 4H + + * `iec-60309-2p-e-6h` - 2P+E 6H + + * `iec-60309-2p-e-9h` - 2P+E 9H + + * `iec-60309-3p-e-4h` - 3P+E 4H + + * `iec-60309-3p-e-6h` - 3P+E 6H + + * `iec-60309-3p-e-9h` - 3P+E 9H + + * `iec-60309-3p-n-e-4h` - 3P+N+E 4H + + * `iec-60309-3p-n-e-6h` - 3P+N+E 6H + + * `iec-60309-3p-n-e-9h` - 3P+N+E 9H + + * `iec-60906-1` - IEC 60906-1 + + * `nbr-14136-10a` - 2P+T 10A (NBR 14136) + + * `nbr-14136-20a` - 2P+T 20A (NBR 14136) + + * `nema-1-15p` - NEMA 1-15P + + * `nema-5-15p` - NEMA 5-15P + + * `nema-5-20p` - NEMA 5-20P + + * `nema-5-30p` - NEMA 5-30P + + * `nema-5-50p` - NEMA 5-50P + + * `nema-6-15p` - NEMA 6-15P + + * `nema-6-20p` - NEMA 6-20P + + * `nema-6-30p` - NEMA 6-30P + + * `nema-6-50p` - NEMA 6-50P + + * `nema-10-30p` - NEMA 10-30P + + * `nema-10-50p` - NEMA 10-50P + + * `nema-14-20p` - NEMA 14-20P + + * `nema-14-30p` - NEMA 14-30P + + * `nema-14-50p` - NEMA 14-50P + + * `nema-14-60p` - NEMA 14-60P + + * `nema-15-15p` - NEMA 15-15P + + * `nema-15-20p` - NEMA 15-20P + + * `nema-15-30p` - NEMA 15-30P + + * `nema-15-50p` - NEMA 15-50P + + * `nema-15-60p` - NEMA 15-60P + + * `nema-l1-15p` - NEMA L1-15P + + * `nema-l5-15p` - NEMA L5-15P + + * `nema-l5-20p` - NEMA L5-20P + + * `nema-l5-30p` - NEMA L5-30P + + * `nema-l5-50p` - NEMA L5-50P + + * `nema-l6-15p` - NEMA L6-15P + + * `nema-l6-20p` - NEMA L6-20P + + * `nema-l6-30p` - NEMA L6-30P + + * `nema-l6-50p` - NEMA L6-50P + + * `nema-l10-30p` - NEMA L10-30P + + * `nema-l14-20p` - NEMA L14-20P + + * `nema-l14-30p` - NEMA L14-30P + + * `nema-l14-50p` - NEMA L14-50P + + * `nema-l14-60p` - NEMA L14-60P + + * `nema-l15-20p` - NEMA L15-20P + + * `nema-l15-30p` - NEMA L15-30P + + * `nema-l15-50p` - NEMA L15-50P + + * `nema-l15-60p` - NEMA L15-60P + + * `nema-l21-20p` - NEMA L21-20P + + * `nema-l21-30p` - NEMA L21-30P + + * `nema-l22-20p` - NEMA L22-20P + + * `nema-l22-30p` - NEMA L22-30P + + * `cs6361c` - CS6361C + + * `cs6365c` - CS6365C + + * `cs8165c` - CS8165C + + * `cs8265c` - CS8265C + + * `cs8365c` - CS8365C + + * `cs8465c` - CS8465C + + * `ita-c` - ITA Type C (CEE 7/16) + + * `ita-e` - ITA Type E (CEE 7/6) + + * `ita-f` - ITA Type F (CEE 7/4) + + * `ita-ef` - ITA Type E/F (CEE 7/7) + + * `ita-g` - ITA Type G (BS 1363) + + * `ita-h` - ITA Type H + + * `ita-i` - ITA Type I + + * `ita-j` - ITA Type J + + * `ita-k` - ITA Type K + + * `ita-l` - ITA Type L (CEI 23-50) + + * `ita-m` - ITA Type M (BS 546) + + * `ita-n` - ITA Type N + + * `ita-o` - ITA Type O + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `usb-3-b` - USB 3.0 Type B + + * `usb-3-micro-b` - USB 3.0 Micro B + + * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 + + * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 + + * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 + + * `dc-terminal` - DC Terminal + + * `saf-d-grid` - Saf-D-Grid + + * `neutrik-powercon-20` - Neutrik powerCON (20A) + + * `neutrik-powercon-32` - Neutrik powerCON (32A) + + * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 + + * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP + + * `ubiquiti-smartpower` - Ubiquiti SmartPower + + * `hardwired` - Hardwired + + * `other` - Other' explode: true style: form - in: query - name: id__lt + name: type__isw schema: type: array items: - type: integer - format: int32 + type: string + x-spec-enum-id: f1bd4aedff3a591b + enum: + - '' + - cs6361c + - cs6365c + - cs8165c + - cs8265c + - cs8365c + - cs8465c + - dc-terminal + - hardwired + - 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-60309-p-n-e-4h + - iec-60309-p-n-e-6h + - iec-60309-p-n-e-9h + - iec-60320-c14 + - iec-60320-c16 + - iec-60320-c20 + - iec-60320-c22 + - iec-60320-c6 + - iec-60320-c8 + - iec-60906-1 + - ita-c + - ita-e + - ita-ef + - ita-f + - ita-g + - ita-h + - ita-i + - ita-j + - ita-k + - ita-l + - ita-m + - ita-n + - ita-o + - molex-micro-fit-1x2 + - molex-micro-fit-2x2 + - molex-micro-fit-2x4 + - nbr-14136-10a + - nbr-14136-20a + - nema-1-15p + - 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-5-15p + - nema-5-20p + - nema-5-30p + - nema-5-50p + - nema-6-15p + - nema-6-20p + - nema-6-30p + - nema-6-50p + - nema-l1-15p + - 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-20p + - nema-l22-30p + - nema-l5-15p + - nema-l5-20p + - nema-l5-30p + - nema-l5-50p + - nema-l6-15p + - nema-l6-20p + - nema-l6-30p + - nema-l6-50p + - neutrik-powercon-20 + - neutrik-powercon-32 + - neutrik-powercon-true1 + - neutrik-powercon-true1-top + - other + - saf-d-grid + - ubiquiti-smartpower + - usb-3-b + - usb-3-micro-b + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: 'Physical port type + + + * `iec-60320-c6` - C6 + + * `iec-60320-c8` - C8 + + * `iec-60320-c14` - C14 + + * `iec-60320-c16` - C16 + + * `iec-60320-c20` - C20 + + * `iec-60320-c22` - C22 + + * `iec-60309-p-n-e-4h` - P+N+E 4H + + * `iec-60309-p-n-e-6h` - P+N+E 6H + + * `iec-60309-p-n-e-9h` - P+N+E 9H + + * `iec-60309-2p-e-4h` - 2P+E 4H + + * `iec-60309-2p-e-6h` - 2P+E 6H + + * `iec-60309-2p-e-9h` - 2P+E 9H + + * `iec-60309-3p-e-4h` - 3P+E 4H + + * `iec-60309-3p-e-6h` - 3P+E 6H + + * `iec-60309-3p-e-9h` - 3P+E 9H + + * `iec-60309-3p-n-e-4h` - 3P+N+E 4H + + * `iec-60309-3p-n-e-6h` - 3P+N+E 6H + + * `iec-60309-3p-n-e-9h` - 3P+N+E 9H + + * `iec-60906-1` - IEC 60906-1 + + * `nbr-14136-10a` - 2P+T 10A (NBR 14136) + + * `nbr-14136-20a` - 2P+T 20A (NBR 14136) + + * `nema-1-15p` - NEMA 1-15P + + * `nema-5-15p` - NEMA 5-15P + + * `nema-5-20p` - NEMA 5-20P + + * `nema-5-30p` - NEMA 5-30P + + * `nema-5-50p` - NEMA 5-50P + + * `nema-6-15p` - NEMA 6-15P + + * `nema-6-20p` - NEMA 6-20P + + * `nema-6-30p` - NEMA 6-30P + + * `nema-6-50p` - NEMA 6-50P + + * `nema-10-30p` - NEMA 10-30P + + * `nema-10-50p` - NEMA 10-50P + + * `nema-14-20p` - NEMA 14-20P + + * `nema-14-30p` - NEMA 14-30P + + * `nema-14-50p` - NEMA 14-50P + + * `nema-14-60p` - NEMA 14-60P + + * `nema-15-15p` - NEMA 15-15P + + * `nema-15-20p` - NEMA 15-20P + + * `nema-15-30p` - NEMA 15-30P + + * `nema-15-50p` - NEMA 15-50P + + * `nema-15-60p` - NEMA 15-60P + + * `nema-l1-15p` - NEMA L1-15P + + * `nema-l5-15p` - NEMA L5-15P + + * `nema-l5-20p` - NEMA L5-20P + + * `nema-l5-30p` - NEMA L5-30P + + * `nema-l5-50p` - NEMA L5-50P + + * `nema-l6-15p` - NEMA L6-15P + + * `nema-l6-20p` - NEMA L6-20P + + * `nema-l6-30p` - NEMA L6-30P + + * `nema-l6-50p` - NEMA L6-50P + + * `nema-l10-30p` - NEMA L10-30P + + * `nema-l14-20p` - NEMA L14-20P + + * `nema-l14-30p` - NEMA L14-30P + + * `nema-l14-50p` - NEMA L14-50P + + * `nema-l14-60p` - NEMA L14-60P + + * `nema-l15-20p` - NEMA L15-20P + + * `nema-l15-30p` - NEMA L15-30P + + * `nema-l15-50p` - NEMA L15-50P + + * `nema-l15-60p` - NEMA L15-60P + + * `nema-l21-20p` - NEMA L21-20P + + * `nema-l21-30p` - NEMA L21-30P + + * `nema-l22-20p` - NEMA L22-20P + + * `nema-l22-30p` - NEMA L22-30P + + * `cs6361c` - CS6361C + + * `cs6365c` - CS6365C + + * `cs8165c` - CS8165C + + * `cs8265c` - CS8265C + + * `cs8365c` - CS8365C + + * `cs8465c` - CS8465C + + * `ita-c` - ITA Type C (CEE 7/16) + + * `ita-e` - ITA Type E (CEE 7/6) + + * `ita-f` - ITA Type F (CEE 7/4) + + * `ita-ef` - ITA Type E/F (CEE 7/7) + + * `ita-g` - ITA Type G (BS 1363) + + * `ita-h` - ITA Type H + + * `ita-i` - ITA Type I + + * `ita-j` - ITA Type J + + * `ita-k` - ITA Type K + + * `ita-l` - ITA Type L (CEI 23-50) + + * `ita-m` - ITA Type M (BS 546) + + * `ita-n` - ITA Type N + + * `ita-o` - ITA Type O + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `usb-3-b` - USB 3.0 Type B + + * `usb-3-micro-b` - USB 3.0 Micro B + + * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 + + * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 + + * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 + + * `dc-terminal` - DC Terminal + + * `saf-d-grid` - Saf-D-Grid + + * `neutrik-powercon-20` - Neutrik powerCON (20A) + + * `neutrik-powercon-32` - Neutrik powerCON (32A) + + * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 + + * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP + + * `ubiquiti-smartpower` - Ubiquiti SmartPower + + * `hardwired` - Hardwired + + * `other` - Other' explode: true style: form - in: query - name: id__lte + name: type__n schema: type: array items: - type: integer - format: int32 + type: string + x-spec-enum-id: f1bd4aedff3a591b + enum: + - '' + - cs6361c + - cs6365c + - cs8165c + - cs8265c + - cs8365c + - cs8465c + - dc-terminal + - hardwired + - 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-60309-p-n-e-4h + - iec-60309-p-n-e-6h + - iec-60309-p-n-e-9h + - iec-60320-c14 + - iec-60320-c16 + - iec-60320-c20 + - iec-60320-c22 + - iec-60320-c6 + - iec-60320-c8 + - iec-60906-1 + - ita-c + - ita-e + - ita-ef + - ita-f + - ita-g + - ita-h + - ita-i + - ita-j + - ita-k + - ita-l + - ita-m + - ita-n + - ita-o + - molex-micro-fit-1x2 + - molex-micro-fit-2x2 + - molex-micro-fit-2x4 + - nbr-14136-10a + - nbr-14136-20a + - nema-1-15p + - 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-5-15p + - nema-5-20p + - nema-5-30p + - nema-5-50p + - nema-6-15p + - nema-6-20p + - nema-6-30p + - nema-6-50p + - nema-l1-15p + - 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-20p + - nema-l22-30p + - nema-l5-15p + - nema-l5-20p + - nema-l5-30p + - nema-l5-50p + - nema-l6-15p + - nema-l6-20p + - nema-l6-30p + - nema-l6-50p + - neutrik-powercon-20 + - neutrik-powercon-32 + - neutrik-powercon-true1 + - neutrik-powercon-true1-top + - other + - saf-d-grid + - ubiquiti-smartpower + - usb-3-b + - usb-3-micro-b + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: 'Physical port type + + + * `iec-60320-c6` - C6 + + * `iec-60320-c8` - C8 + + * `iec-60320-c14` - C14 + + * `iec-60320-c16` - C16 + + * `iec-60320-c20` - C20 + + * `iec-60320-c22` - C22 + + * `iec-60309-p-n-e-4h` - P+N+E 4H + + * `iec-60309-p-n-e-6h` - P+N+E 6H + + * `iec-60309-p-n-e-9h` - P+N+E 9H + + * `iec-60309-2p-e-4h` - 2P+E 4H + + * `iec-60309-2p-e-6h` - 2P+E 6H + + * `iec-60309-2p-e-9h` - 2P+E 9H + + * `iec-60309-3p-e-4h` - 3P+E 4H + + * `iec-60309-3p-e-6h` - 3P+E 6H + + * `iec-60309-3p-e-9h` - 3P+E 9H + + * `iec-60309-3p-n-e-4h` - 3P+N+E 4H + + * `iec-60309-3p-n-e-6h` - 3P+N+E 6H + + * `iec-60309-3p-n-e-9h` - 3P+N+E 9H + + * `iec-60906-1` - IEC 60906-1 + + * `nbr-14136-10a` - 2P+T 10A (NBR 14136) + + * `nbr-14136-20a` - 2P+T 20A (NBR 14136) + + * `nema-1-15p` - NEMA 1-15P + + * `nema-5-15p` - NEMA 5-15P + + * `nema-5-20p` - NEMA 5-20P + + * `nema-5-30p` - NEMA 5-30P + + * `nema-5-50p` - NEMA 5-50P + + * `nema-6-15p` - NEMA 6-15P + + * `nema-6-20p` - NEMA 6-20P + + * `nema-6-30p` - NEMA 6-30P + + * `nema-6-50p` - NEMA 6-50P + + * `nema-10-30p` - NEMA 10-30P + + * `nema-10-50p` - NEMA 10-50P + + * `nema-14-20p` - NEMA 14-20P + + * `nema-14-30p` - NEMA 14-30P + + * `nema-14-50p` - NEMA 14-50P + + * `nema-14-60p` - NEMA 14-60P + + * `nema-15-15p` - NEMA 15-15P + + * `nema-15-20p` - NEMA 15-20P + + * `nema-15-30p` - NEMA 15-30P + + * `nema-15-50p` - NEMA 15-50P + + * `nema-15-60p` - NEMA 15-60P + + * `nema-l1-15p` - NEMA L1-15P + + * `nema-l5-15p` - NEMA L5-15P + + * `nema-l5-20p` - NEMA L5-20P + + * `nema-l5-30p` - NEMA L5-30P + + * `nema-l5-50p` - NEMA L5-50P + + * `nema-l6-15p` - NEMA L6-15P + + * `nema-l6-20p` - NEMA L6-20P + + * `nema-l6-30p` - NEMA L6-30P + + * `nema-l6-50p` - NEMA L6-50P + + * `nema-l10-30p` - NEMA L10-30P + + * `nema-l14-20p` - NEMA L14-20P + + * `nema-l14-30p` - NEMA L14-30P + + * `nema-l14-50p` - NEMA L14-50P + + * `nema-l14-60p` - NEMA L14-60P + + * `nema-l15-20p` - NEMA L15-20P + + * `nema-l15-30p` - NEMA L15-30P + + * `nema-l15-50p` - NEMA L15-50P + + * `nema-l15-60p` - NEMA L15-60P + + * `nema-l21-20p` - NEMA L21-20P + + * `nema-l21-30p` - NEMA L21-30P + + * `nema-l22-20p` - NEMA L22-20P + + * `nema-l22-30p` - NEMA L22-30P + + * `cs6361c` - CS6361C + + * `cs6365c` - CS6365C + + * `cs8165c` - CS8165C + + * `cs8265c` - CS8265C + + * `cs8365c` - CS8365C + + * `cs8465c` - CS8465C + + * `ita-c` - ITA Type C (CEE 7/16) + + * `ita-e` - ITA Type E (CEE 7/6) + + * `ita-f` - ITA Type F (CEE 7/4) + + * `ita-ef` - ITA Type E/F (CEE 7/7) + + * `ita-g` - ITA Type G (BS 1363) + + * `ita-h` - ITA Type H + + * `ita-i` - ITA Type I + + * `ita-j` - ITA Type J + + * `ita-k` - ITA Type K + + * `ita-l` - ITA Type L (CEI 23-50) + + * `ita-m` - ITA Type M (BS 546) + + * `ita-n` - ITA Type N + + * `ita-o` - ITA Type O + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `usb-3-b` - USB 3.0 Type B + + * `usb-3-micro-b` - USB 3.0 Micro B + + * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 + + * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 + + * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 + + * `dc-terminal` - DC Terminal + + * `saf-d-grid` - Saf-D-Grid + + * `neutrik-powercon-20` - Neutrik powerCON (20A) + + * `neutrik-powercon-32` - Neutrik powerCON (32A) + + * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 + + * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP + + * `ubiquiti-smartpower` - Ubiquiti SmartPower + + * `hardwired` - Hardwired + + * `other` - Other' explode: true style: form - in: query - name: id__n + name: type__nic schema: type: array items: - type: integer - format: int32 + type: string + x-spec-enum-id: f1bd4aedff3a591b + enum: + - '' + - cs6361c + - cs6365c + - cs8165c + - cs8265c + - cs8365c + - cs8465c + - dc-terminal + - hardwired + - 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-60309-p-n-e-4h + - iec-60309-p-n-e-6h + - iec-60309-p-n-e-9h + - iec-60320-c14 + - iec-60320-c16 + - iec-60320-c20 + - iec-60320-c22 + - iec-60320-c6 + - iec-60320-c8 + - iec-60906-1 + - ita-c + - ita-e + - ita-ef + - ita-f + - ita-g + - ita-h + - ita-i + - ita-j + - ita-k + - ita-l + - ita-m + - ita-n + - ita-o + - molex-micro-fit-1x2 + - molex-micro-fit-2x2 + - molex-micro-fit-2x4 + - nbr-14136-10a + - nbr-14136-20a + - nema-1-15p + - 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-5-15p + - nema-5-20p + - nema-5-30p + - nema-5-50p + - nema-6-15p + - nema-6-20p + - nema-6-30p + - nema-6-50p + - nema-l1-15p + - 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-20p + - nema-l22-30p + - nema-l5-15p + - nema-l5-20p + - nema-l5-30p + - nema-l5-50p + - nema-l6-15p + - nema-l6-20p + - nema-l6-30p + - nema-l6-50p + - neutrik-powercon-20 + - neutrik-powercon-32 + - neutrik-powercon-true1 + - neutrik-powercon-true1-top + - other + - saf-d-grid + - ubiquiti-smartpower + - usb-3-b + - usb-3-micro-b + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: 'Physical port type + + + * `iec-60320-c6` - C6 + + * `iec-60320-c8` - C8 + + * `iec-60320-c14` - C14 + + * `iec-60320-c16` - C16 + + * `iec-60320-c20` - C20 + + * `iec-60320-c22` - C22 + + * `iec-60309-p-n-e-4h` - P+N+E 4H + + * `iec-60309-p-n-e-6h` - P+N+E 6H + + * `iec-60309-p-n-e-9h` - P+N+E 9H + + * `iec-60309-2p-e-4h` - 2P+E 4H + + * `iec-60309-2p-e-6h` - 2P+E 6H + + * `iec-60309-2p-e-9h` - 2P+E 9H + + * `iec-60309-3p-e-4h` - 3P+E 4H + + * `iec-60309-3p-e-6h` - 3P+E 6H + + * `iec-60309-3p-e-9h` - 3P+E 9H + + * `iec-60309-3p-n-e-4h` - 3P+N+E 4H + + * `iec-60309-3p-n-e-6h` - 3P+N+E 6H + + * `iec-60309-3p-n-e-9h` - 3P+N+E 9H + + * `iec-60906-1` - IEC 60906-1 + + * `nbr-14136-10a` - 2P+T 10A (NBR 14136) + + * `nbr-14136-20a` - 2P+T 20A (NBR 14136) + + * `nema-1-15p` - NEMA 1-15P + + * `nema-5-15p` - NEMA 5-15P + + * `nema-5-20p` - NEMA 5-20P + + * `nema-5-30p` - NEMA 5-30P + + * `nema-5-50p` - NEMA 5-50P + + * `nema-6-15p` - NEMA 6-15P + + * `nema-6-20p` - NEMA 6-20P + + * `nema-6-30p` - NEMA 6-30P + + * `nema-6-50p` - NEMA 6-50P + + * `nema-10-30p` - NEMA 10-30P + + * `nema-10-50p` - NEMA 10-50P + + * `nema-14-20p` - NEMA 14-20P + + * `nema-14-30p` - NEMA 14-30P + + * `nema-14-50p` - NEMA 14-50P + + * `nema-14-60p` - NEMA 14-60P + + * `nema-15-15p` - NEMA 15-15P + + * `nema-15-20p` - NEMA 15-20P + + * `nema-15-30p` - NEMA 15-30P + + * `nema-15-50p` - NEMA 15-50P + + * `nema-15-60p` - NEMA 15-60P + + * `nema-l1-15p` - NEMA L1-15P + + * `nema-l5-15p` - NEMA L5-15P + + * `nema-l5-20p` - NEMA L5-20P + + * `nema-l5-30p` - NEMA L5-30P + + * `nema-l5-50p` - NEMA L5-50P + + * `nema-l6-15p` - NEMA L6-15P + + * `nema-l6-20p` - NEMA L6-20P + + * `nema-l6-30p` - NEMA L6-30P + + * `nema-l6-50p` - NEMA L6-50P + + * `nema-l10-30p` - NEMA L10-30P + + * `nema-l14-20p` - NEMA L14-20P + + * `nema-l14-30p` - NEMA L14-30P + + * `nema-l14-50p` - NEMA L14-50P + + * `nema-l14-60p` - NEMA L14-60P + + * `nema-l15-20p` - NEMA L15-20P + + * `nema-l15-30p` - NEMA L15-30P + + * `nema-l15-50p` - NEMA L15-50P + + * `nema-l15-60p` - NEMA L15-60P + + * `nema-l21-20p` - NEMA L21-20P + + * `nema-l21-30p` - NEMA L21-30P + + * `nema-l22-20p` - NEMA L22-20P + + * `nema-l22-30p` - NEMA L22-30P + + * `cs6361c` - CS6361C + + * `cs6365c` - CS6365C + + * `cs8165c` - CS8165C + + * `cs8265c` - CS8265C + + * `cs8365c` - CS8365C + + * `cs8465c` - CS8465C + + * `ita-c` - ITA Type C (CEE 7/16) + + * `ita-e` - ITA Type E (CEE 7/6) + + * `ita-f` - ITA Type F (CEE 7/4) + + * `ita-ef` - ITA Type E/F (CEE 7/7) + + * `ita-g` - ITA Type G (BS 1363) + + * `ita-h` - ITA Type H + + * `ita-i` - ITA Type I + + * `ita-j` - ITA Type J + + * `ita-k` - ITA Type K + + * `ita-l` - ITA Type L (CEI 23-50) + + * `ita-m` - ITA Type M (BS 546) + + * `ita-n` - ITA Type N + + * `ita-o` - ITA Type O + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `usb-3-b` - USB 3.0 Type B + + * `usb-3-micro-b` - USB 3.0 Micro B + + * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 + + * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 + + * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 + + * `dc-terminal` - DC Terminal + + * `saf-d-grid` - Saf-D-Grid + + * `neutrik-powercon-20` - Neutrik powerCON (20A) + + * `neutrik-powercon-32` - Neutrik powerCON (32A) + + * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 + + * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP + + * `ubiquiti-smartpower` - Ubiquiti SmartPower + + * `hardwired` - Hardwired + + * `other` - Other' explode: true style: form - in: query - name: last_updated + name: type__nie schema: type: array items: type: string - format: date-time - explode: true - style: form - - in: query - name: last_updated__empty - 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__lt - schema: - type: array - items: - type: string - format: date-time + x-spec-enum-id: f1bd4aedff3a591b + enum: + - '' + - cs6361c + - cs6365c + - cs8165c + - cs8265c + - cs8365c + - cs8465c + - dc-terminal + - hardwired + - 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-60309-p-n-e-4h + - iec-60309-p-n-e-6h + - iec-60309-p-n-e-9h + - iec-60320-c14 + - iec-60320-c16 + - iec-60320-c20 + - iec-60320-c22 + - iec-60320-c6 + - iec-60320-c8 + - iec-60906-1 + - ita-c + - ita-e + - ita-ef + - ita-f + - ita-g + - ita-h + - ita-i + - ita-j + - ita-k + - ita-l + - ita-m + - ita-n + - ita-o + - molex-micro-fit-1x2 + - molex-micro-fit-2x2 + - molex-micro-fit-2x4 + - nbr-14136-10a + - nbr-14136-20a + - nema-1-15p + - 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-5-15p + - nema-5-20p + - nema-5-30p + - nema-5-50p + - nema-6-15p + - nema-6-20p + - nema-6-30p + - nema-6-50p + - nema-l1-15p + - 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-20p + - nema-l22-30p + - nema-l5-15p + - nema-l5-20p + - nema-l5-30p + - nema-l5-50p + - nema-l6-15p + - nema-l6-20p + - nema-l6-30p + - nema-l6-50p + - neutrik-powercon-20 + - neutrik-powercon-32 + - neutrik-powercon-true1 + - neutrik-powercon-true1-top + - other + - saf-d-grid + - ubiquiti-smartpower + - usb-3-b + - usb-3-micro-b + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: 'Physical port type + + + * `iec-60320-c6` - C6 + + * `iec-60320-c8` - C8 + + * `iec-60320-c14` - C14 + + * `iec-60320-c16` - C16 + + * `iec-60320-c20` - C20 + + * `iec-60320-c22` - C22 + + * `iec-60309-p-n-e-4h` - P+N+E 4H + + * `iec-60309-p-n-e-6h` - P+N+E 6H + + * `iec-60309-p-n-e-9h` - P+N+E 9H + + * `iec-60309-2p-e-4h` - 2P+E 4H + + * `iec-60309-2p-e-6h` - 2P+E 6H + + * `iec-60309-2p-e-9h` - 2P+E 9H + + * `iec-60309-3p-e-4h` - 3P+E 4H + + * `iec-60309-3p-e-6h` - 3P+E 6H + + * `iec-60309-3p-e-9h` - 3P+E 9H + + * `iec-60309-3p-n-e-4h` - 3P+N+E 4H + + * `iec-60309-3p-n-e-6h` - 3P+N+E 6H + + * `iec-60309-3p-n-e-9h` - 3P+N+E 9H + + * `iec-60906-1` - IEC 60906-1 + + * `nbr-14136-10a` - 2P+T 10A (NBR 14136) + + * `nbr-14136-20a` - 2P+T 20A (NBR 14136) + + * `nema-1-15p` - NEMA 1-15P + + * `nema-5-15p` - NEMA 5-15P + + * `nema-5-20p` - NEMA 5-20P + + * `nema-5-30p` - NEMA 5-30P + + * `nema-5-50p` - NEMA 5-50P + + * `nema-6-15p` - NEMA 6-15P + + * `nema-6-20p` - NEMA 6-20P + + * `nema-6-30p` - NEMA 6-30P + + * `nema-6-50p` - NEMA 6-50P + + * `nema-10-30p` - NEMA 10-30P + + * `nema-10-50p` - NEMA 10-50P + + * `nema-14-20p` - NEMA 14-20P + + * `nema-14-30p` - NEMA 14-30P + + * `nema-14-50p` - NEMA 14-50P + + * `nema-14-60p` - NEMA 14-60P + + * `nema-15-15p` - NEMA 15-15P + + * `nema-15-20p` - NEMA 15-20P + + * `nema-15-30p` - NEMA 15-30P + + * `nema-15-50p` - NEMA 15-50P + + * `nema-15-60p` - NEMA 15-60P + + * `nema-l1-15p` - NEMA L1-15P + + * `nema-l5-15p` - NEMA L5-15P + + * `nema-l5-20p` - NEMA L5-20P + + * `nema-l5-30p` - NEMA L5-30P + + * `nema-l5-50p` - NEMA L5-50P + + * `nema-l6-15p` - NEMA L6-15P + + * `nema-l6-20p` - NEMA L6-20P + + * `nema-l6-30p` - NEMA L6-30P + + * `nema-l6-50p` - NEMA L6-50P + + * `nema-l10-30p` - NEMA L10-30P + + * `nema-l14-20p` - NEMA L14-20P + + * `nema-l14-30p` - NEMA L14-30P + + * `nema-l14-50p` - NEMA L14-50P + + * `nema-l14-60p` - NEMA L14-60P + + * `nema-l15-20p` - NEMA L15-20P + + * `nema-l15-30p` - NEMA L15-30P + + * `nema-l15-50p` - NEMA L15-50P + + * `nema-l15-60p` - NEMA L15-60P + + * `nema-l21-20p` - NEMA L21-20P + + * `nema-l21-30p` - NEMA L21-30P + + * `nema-l22-20p` - NEMA L22-20P + + * `nema-l22-30p` - NEMA L22-30P + + * `cs6361c` - CS6361C + + * `cs6365c` - CS6365C + + * `cs8165c` - CS8165C + + * `cs8265c` - CS8265C + + * `cs8365c` - CS8365C + + * `cs8465c` - CS8465C + + * `ita-c` - ITA Type C (CEE 7/16) + + * `ita-e` - ITA Type E (CEE 7/6) + + * `ita-f` - ITA Type F (CEE 7/4) + + * `ita-ef` - ITA Type E/F (CEE 7/7) + + * `ita-g` - ITA Type G (BS 1363) + + * `ita-h` - ITA Type H + + * `ita-i` - ITA Type I + + * `ita-j` - ITA Type J + + * `ita-k` - ITA Type K + + * `ita-l` - ITA Type L (CEI 23-50) + + * `ita-m` - ITA Type M (BS 546) + + * `ita-n` - ITA Type N + + * `ita-o` - ITA Type O + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `usb-3-b` - USB 3.0 Type B + + * `usb-3-micro-b` - USB 3.0 Micro B + + * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 + + * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 + + * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 + + * `dc-terminal` - DC Terminal + + * `saf-d-grid` - Saf-D-Grid + + * `neutrik-powercon-20` - Neutrik powerCON (20A) + + * `neutrik-powercon-32` - Neutrik powerCON (32A) + + * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 + + * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP + + * `ubiquiti-smartpower` - Ubiquiti SmartPower + + * `hardwired` - Hardwired + + * `other` - Other' explode: true style: form - in: query - name: last_updated__lte + name: type__niew schema: type: array items: type: string - format: date-time + x-spec-enum-id: f1bd4aedff3a591b + enum: + - '' + - cs6361c + - cs6365c + - cs8165c + - cs8265c + - cs8365c + - cs8465c + - dc-terminal + - hardwired + - 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-60309-p-n-e-4h + - iec-60309-p-n-e-6h + - iec-60309-p-n-e-9h + - iec-60320-c14 + - iec-60320-c16 + - iec-60320-c20 + - iec-60320-c22 + - iec-60320-c6 + - iec-60320-c8 + - iec-60906-1 + - ita-c + - ita-e + - ita-ef + - ita-f + - ita-g + - ita-h + - ita-i + - ita-j + - ita-k + - ita-l + - ita-m + - ita-n + - ita-o + - molex-micro-fit-1x2 + - molex-micro-fit-2x2 + - molex-micro-fit-2x4 + - nbr-14136-10a + - nbr-14136-20a + - nema-1-15p + - 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-5-15p + - nema-5-20p + - nema-5-30p + - nema-5-50p + - nema-6-15p + - nema-6-20p + - nema-6-30p + - nema-6-50p + - nema-l1-15p + - 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-20p + - nema-l22-30p + - nema-l5-15p + - nema-l5-20p + - nema-l5-30p + - nema-l5-50p + - nema-l6-15p + - nema-l6-20p + - nema-l6-30p + - nema-l6-50p + - neutrik-powercon-20 + - neutrik-powercon-32 + - neutrik-powercon-true1 + - neutrik-powercon-true1-top + - other + - saf-d-grid + - ubiquiti-smartpower + - usb-3-b + - usb-3-micro-b + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: 'Physical port type + + + * `iec-60320-c6` - C6 + + * `iec-60320-c8` - C8 + + * `iec-60320-c14` - C14 + + * `iec-60320-c16` - C16 + + * `iec-60320-c20` - C20 + + * `iec-60320-c22` - C22 + + * `iec-60309-p-n-e-4h` - P+N+E 4H + + * `iec-60309-p-n-e-6h` - P+N+E 6H + + * `iec-60309-p-n-e-9h` - P+N+E 9H + + * `iec-60309-2p-e-4h` - 2P+E 4H + + * `iec-60309-2p-e-6h` - 2P+E 6H + + * `iec-60309-2p-e-9h` - 2P+E 9H + + * `iec-60309-3p-e-4h` - 3P+E 4H + + * `iec-60309-3p-e-6h` - 3P+E 6H + + * `iec-60309-3p-e-9h` - 3P+E 9H + + * `iec-60309-3p-n-e-4h` - 3P+N+E 4H + + * `iec-60309-3p-n-e-6h` - 3P+N+E 6H + + * `iec-60309-3p-n-e-9h` - 3P+N+E 9H + + * `iec-60906-1` - IEC 60906-1 + + * `nbr-14136-10a` - 2P+T 10A (NBR 14136) + + * `nbr-14136-20a` - 2P+T 20A (NBR 14136) + + * `nema-1-15p` - NEMA 1-15P + + * `nema-5-15p` - NEMA 5-15P + + * `nema-5-20p` - NEMA 5-20P + + * `nema-5-30p` - NEMA 5-30P + + * `nema-5-50p` - NEMA 5-50P + + * `nema-6-15p` - NEMA 6-15P + + * `nema-6-20p` - NEMA 6-20P + + * `nema-6-30p` - NEMA 6-30P + + * `nema-6-50p` - NEMA 6-50P + + * `nema-10-30p` - NEMA 10-30P + + * `nema-10-50p` - NEMA 10-50P + + * `nema-14-20p` - NEMA 14-20P + + * `nema-14-30p` - NEMA 14-30P + + * `nema-14-50p` - NEMA 14-50P + + * `nema-14-60p` - NEMA 14-60P + + * `nema-15-15p` - NEMA 15-15P + + * `nema-15-20p` - NEMA 15-20P + + * `nema-15-30p` - NEMA 15-30P + + * `nema-15-50p` - NEMA 15-50P + + * `nema-15-60p` - NEMA 15-60P + + * `nema-l1-15p` - NEMA L1-15P + + * `nema-l5-15p` - NEMA L5-15P + + * `nema-l5-20p` - NEMA L5-20P + + * `nema-l5-30p` - NEMA L5-30P + + * `nema-l5-50p` - NEMA L5-50P + + * `nema-l6-15p` - NEMA L6-15P + + * `nema-l6-20p` - NEMA L6-20P + + * `nema-l6-30p` - NEMA L6-30P + + * `nema-l6-50p` - NEMA L6-50P + + * `nema-l10-30p` - NEMA L10-30P + + * `nema-l14-20p` - NEMA L14-20P + + * `nema-l14-30p` - NEMA L14-30P + + * `nema-l14-50p` - NEMA L14-50P + + * `nema-l14-60p` - NEMA L14-60P + + * `nema-l15-20p` - NEMA L15-20P + + * `nema-l15-30p` - NEMA L15-30P + + * `nema-l15-50p` - NEMA L15-50P + + * `nema-l15-60p` - NEMA L15-60P + + * `nema-l21-20p` - NEMA L21-20P + + * `nema-l21-30p` - NEMA L21-30P + + * `nema-l22-20p` - NEMA L22-20P + + * `nema-l22-30p` - NEMA L22-30P + + * `cs6361c` - CS6361C + + * `cs6365c` - CS6365C + + * `cs8165c` - CS8165C + + * `cs8265c` - CS8265C + + * `cs8365c` - CS8365C + + * `cs8465c` - CS8465C + + * `ita-c` - ITA Type C (CEE 7/16) + + * `ita-e` - ITA Type E (CEE 7/6) + + * `ita-f` - ITA Type F (CEE 7/4) + + * `ita-ef` - ITA Type E/F (CEE 7/7) + + * `ita-g` - ITA Type G (BS 1363) + + * `ita-h` - ITA Type H + + * `ita-i` - ITA Type I + + * `ita-j` - ITA Type J + + * `ita-k` - ITA Type K + + * `ita-l` - ITA Type L (CEI 23-50) + + * `ita-m` - ITA Type M (BS 546) + + * `ita-n` - ITA Type N + + * `ita-o` - ITA Type O + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `usb-3-b` - USB 3.0 Type B + + * `usb-3-micro-b` - USB 3.0 Micro B + + * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 + + * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 + + * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 + + * `dc-terminal` - DC Terminal + + * `saf-d-grid` - Saf-D-Grid + + * `neutrik-powercon-20` - Neutrik powerCON (20A) + + * `neutrik-powercon-32` - Neutrik powerCON (32A) + + * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 + + * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP + + * `ubiquiti-smartpower` - Ubiquiti SmartPower + + * `hardwired` - Hardwired + + * `other` - Other' explode: true style: form - in: query - name: last_updated__n + name: type__nisw schema: type: array items: type: string - format: date-time + x-spec-enum-id: f1bd4aedff3a591b + enum: + - '' + - cs6361c + - cs6365c + - cs8165c + - cs8265c + - cs8365c + - cs8465c + - dc-terminal + - hardwired + - 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-60309-p-n-e-4h + - iec-60309-p-n-e-6h + - iec-60309-p-n-e-9h + - iec-60320-c14 + - iec-60320-c16 + - iec-60320-c20 + - iec-60320-c22 + - iec-60320-c6 + - iec-60320-c8 + - iec-60906-1 + - ita-c + - ita-e + - ita-ef + - ita-f + - ita-g + - ita-h + - ita-i + - ita-j + - ita-k + - ita-l + - ita-m + - ita-n + - ita-o + - molex-micro-fit-1x2 + - molex-micro-fit-2x2 + - molex-micro-fit-2x4 + - nbr-14136-10a + - nbr-14136-20a + - nema-1-15p + - 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-5-15p + - nema-5-20p + - nema-5-30p + - nema-5-50p + - nema-6-15p + - nema-6-20p + - nema-6-30p + - nema-6-50p + - nema-l1-15p + - 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-20p + - nema-l22-30p + - nema-l5-15p + - nema-l5-20p + - nema-l5-30p + - nema-l5-50p + - nema-l6-15p + - nema-l6-20p + - nema-l6-30p + - nema-l6-50p + - neutrik-powercon-20 + - neutrik-powercon-32 + - neutrik-powercon-true1 + - neutrik-powercon-true1-top + - other + - saf-d-grid + - ubiquiti-smartpower + - usb-3-b + - usb-3-micro-b + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: 'Physical port type + + + * `iec-60320-c6` - C6 + + * `iec-60320-c8` - C8 + + * `iec-60320-c14` - C14 + + * `iec-60320-c16` - C16 + + * `iec-60320-c20` - C20 + + * `iec-60320-c22` - C22 + + * `iec-60309-p-n-e-4h` - P+N+E 4H + + * `iec-60309-p-n-e-6h` - P+N+E 6H + + * `iec-60309-p-n-e-9h` - P+N+E 9H + + * `iec-60309-2p-e-4h` - 2P+E 4H + + * `iec-60309-2p-e-6h` - 2P+E 6H + + * `iec-60309-2p-e-9h` - 2P+E 9H + + * `iec-60309-3p-e-4h` - 3P+E 4H + + * `iec-60309-3p-e-6h` - 3P+E 6H + + * `iec-60309-3p-e-9h` - 3P+E 9H + + * `iec-60309-3p-n-e-4h` - 3P+N+E 4H + + * `iec-60309-3p-n-e-6h` - 3P+N+E 6H + + * `iec-60309-3p-n-e-9h` - 3P+N+E 9H + + * `iec-60906-1` - IEC 60906-1 + + * `nbr-14136-10a` - 2P+T 10A (NBR 14136) + + * `nbr-14136-20a` - 2P+T 20A (NBR 14136) + + * `nema-1-15p` - NEMA 1-15P + + * `nema-5-15p` - NEMA 5-15P + + * `nema-5-20p` - NEMA 5-20P + + * `nema-5-30p` - NEMA 5-30P + + * `nema-5-50p` - NEMA 5-50P + + * `nema-6-15p` - NEMA 6-15P + + * `nema-6-20p` - NEMA 6-20P + + * `nema-6-30p` - NEMA 6-30P + + * `nema-6-50p` - NEMA 6-50P + + * `nema-10-30p` - NEMA 10-30P + + * `nema-10-50p` - NEMA 10-50P + + * `nema-14-20p` - NEMA 14-20P + + * `nema-14-30p` - NEMA 14-30P + + * `nema-14-50p` - NEMA 14-50P + + * `nema-14-60p` - NEMA 14-60P + + * `nema-15-15p` - NEMA 15-15P + + * `nema-15-20p` - NEMA 15-20P + + * `nema-15-30p` - NEMA 15-30P + + * `nema-15-50p` - NEMA 15-50P + + * `nema-15-60p` - NEMA 15-60P + + * `nema-l1-15p` - NEMA L1-15P + + * `nema-l5-15p` - NEMA L5-15P + + * `nema-l5-20p` - NEMA L5-20P + + * `nema-l5-30p` - NEMA L5-30P + + * `nema-l5-50p` - NEMA L5-50P + + * `nema-l6-15p` - NEMA L6-15P + + * `nema-l6-20p` - NEMA L6-20P + + * `nema-l6-30p` - NEMA L6-30P + + * `nema-l6-50p` - NEMA L6-50P + + * `nema-l10-30p` - NEMA L10-30P + + * `nema-l14-20p` - NEMA L14-20P + + * `nema-l14-30p` - NEMA L14-30P + + * `nema-l14-50p` - NEMA L14-50P + + * `nema-l14-60p` - NEMA L14-60P + + * `nema-l15-20p` - NEMA L15-20P + + * `nema-l15-30p` - NEMA L15-30P + + * `nema-l15-50p` - NEMA L15-50P + + * `nema-l15-60p` - NEMA L15-60P + + * `nema-l21-20p` - NEMA L21-20P + + * `nema-l21-30p` - NEMA L21-30P + + * `nema-l22-20p` - NEMA L22-20P + + * `nema-l22-30p` - NEMA L22-30P + + * `cs6361c` - CS6361C + + * `cs6365c` - CS6365C + + * `cs8165c` - CS8165C + + * `cs8265c` - CS8265C + + * `cs8365c` - CS8365C + + * `cs8465c` - CS8465C + + * `ita-c` - ITA Type C (CEE 7/16) + + * `ita-e` - ITA Type E (CEE 7/6) + + * `ita-f` - ITA Type F (CEE 7/4) + + * `ita-ef` - ITA Type E/F (CEE 7/7) + + * `ita-g` - ITA Type G (BS 1363) + + * `ita-h` - ITA Type H + + * `ita-i` - ITA Type I + + * `ita-j` - ITA Type J + + * `ita-k` - ITA Type K + + * `ita-l` - ITA Type L (CEI 23-50) + + * `ita-m` - ITA Type M (BS 546) + + * `ita-n` - ITA Type N + + * `ita-o` - ITA Type O + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `usb-3-b` - USB 3.0 Type B + + * `usb-3-micro-b` - USB 3.0 Micro B + + * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 + + * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 + + * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 + + * `dc-terminal` - DC Terminal + + * `saf-d-grid` - Saf-D-Grid + + * `neutrik-powercon-20` - Neutrik powerCON (20A) + + * `neutrik-powercon-32` - Neutrik powerCON (32A) + + * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 + + * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP + + * `ubiquiti-smartpower` - Ubiquiti SmartPower + + * `hardwired` - Hardwired + + * `other` - Other' explode: true style: form - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - in: query - name: modified_by_request + name: updated_by_request schema: type: string format: uuid - in: query - name: name - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: name__empty - schema: - type: boolean - - 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__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__nisw - 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 - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - in: query - name: parent + name: virtual_chassis schema: type: array items: type: string - description: Parent site group (slug) + description: Virtual Chassis explode: true style: form - in: query - name: parent__n + name: virtual_chassis__n schema: type: array items: type: string - description: Parent site group (slug) + description: Virtual Chassis explode: true style: form - in: query - name: parent_id + name: virtual_chassis_id schema: type: array items: type: integer - nullable: true - description: Parent site group (ID) + description: Virtual Chassis (ID) explode: true style: form - in: query - name: parent_id__n + name: virtual_chassis_id__n schema: type: array items: type: integer - nullable: true - description: Parent site group (ID) - explode: true - style: form - - in: query - name: q - schema: - type: string - description: Search - - in: query - name: slug - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__empty - schema: - type: boolean - - in: query - name: slug__ic - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__ie - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__iew - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__isw - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__n - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__nic - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__nie - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__niew - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__nisw - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: tag - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: tag__n - schema: - type: array - items: - type: string + description: Virtual Chassis (ID) explode: true style: form - - in: query - name: updated_by_request - schema: - type: string - format: uuid tags: - dcim security: @@ -48483,21 +71218,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedSiteGroupList' + $ref: '#/components/schemas/PaginatedPowerPortList' description: '' post: - operationId: dcim_site_groups_create - description: Post a list of site group objects. + operationId: dcim_power_ports_create + description: Post a list of power port objects. tags: - dcim requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableSiteGroupRequest' + $ref: '#/components/schemas/WritablePowerPortRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableSiteGroupRequest' + $ref: '#/components/schemas/WritablePowerPortRequest' required: true security: - cookieAuth: [] @@ -48507,11 +71242,11 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/SiteGroup' + $ref: '#/components/schemas/PowerPort' description: '' put: - operationId: dcim_site_groups_bulk_update - description: Put a list of site group objects. + operationId: dcim_power_ports_bulk_update + description: Put a list of power port objects. tags: - dcim requestBody: @@ -48520,12 +71255,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/SiteGroupRequest' + $ref: '#/components/schemas/PowerPortRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/SiteGroupRequest' + $ref: '#/components/schemas/PowerPortRequest' required: true security: - cookieAuth: [] @@ -48537,11 +71272,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/SiteGroup' + $ref: '#/components/schemas/PowerPort' description: '' patch: - operationId: dcim_site_groups_bulk_partial_update - description: Patch a list of site group objects. + operationId: dcim_power_ports_bulk_partial_update + description: Patch a list of power port objects. tags: - dcim requestBody: @@ -48550,12 +71285,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/SiteGroupRequest' + $ref: '#/components/schemas/PowerPortRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/SiteGroupRequest' + $ref: '#/components/schemas/PowerPortRequest' required: true security: - cookieAuth: [] @@ -48567,11 +71302,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/SiteGroup' + $ref: '#/components/schemas/PowerPort' description: '' delete: - operationId: dcim_site_groups_bulk_destroy - description: Delete a list of site group objects. + operationId: dcim_power_ports_bulk_destroy + description: Delete a list of power port objects. tags: - dcim requestBody: @@ -48580,12 +71315,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/SiteGroupRequest' + $ref: '#/components/schemas/PowerPortRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/SiteGroupRequest' + $ref: '#/components/schemas/PowerPortRequest' required: true security: - cookieAuth: [] @@ -48593,16 +71328,16 @@ paths: responses: '204': description: No response body - /api/dcim/site-groups/{id}/: + /api/dcim/power-ports/{id}/: get: - operationId: dcim_site_groups_retrieve - description: Get a site group object. + operationId: dcim_power_ports_retrieve + description: Get a power port object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this site group. + description: A unique integer value identifying this power port. required: true tags: - dcim @@ -48614,17 +71349,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/SiteGroup' + $ref: '#/components/schemas/PowerPort' description: '' put: - operationId: dcim_site_groups_update - description: Put a site group object. + operationId: dcim_power_ports_update + description: Put a power port object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this site group. + description: A unique integer value identifying this power port. required: true tags: - dcim @@ -48632,10 +71367,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/WritableSiteGroupRequest' + $ref: '#/components/schemas/WritablePowerPortRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableSiteGroupRequest' + $ref: '#/components/schemas/WritablePowerPortRequest' required: true security: - cookieAuth: [] @@ -48645,17 +71380,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/SiteGroup' + $ref: '#/components/schemas/PowerPort' description: '' patch: - operationId: dcim_site_groups_partial_update - description: Patch a site group object. + operationId: dcim_power_ports_partial_update + description: Patch a power port object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this site group. + description: A unique integer value identifying this power port. required: true tags: - dcim @@ -48663,10 +71398,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PatchedWritableSiteGroupRequest' + $ref: '#/components/schemas/PatchedWritablePowerPortRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedWritableSiteGroupRequest' + $ref: '#/components/schemas/PatchedWritablePowerPortRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -48675,17 +71410,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/SiteGroup' + $ref: '#/components/schemas/PowerPort' description: '' delete: - operationId: dcim_site_groups_destroy - description: Delete a site group object. + operationId: dcim_power_ports_destroy + description: Delete a power port object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this site group. + description: A unique integer value identifying this power port. required: true tags: - dcim @@ -48695,107 +71430,35 @@ paths: responses: '204': description: No response body - /api/dcim/sites/: + /api/dcim/power-ports/{id}/trace/: get: - operationId: dcim_sites_list - description: Get a list of site objects. + operationId: dcim_power_ports_trace_retrieve + description: Trace a complete cable path and return each segment as a three-tuple + of (termination, cable, termination). parameters: - - in: query - name: asn - schema: - type: array - items: - type: integer - maximum: 4294967295 - minimum: 1 - format: int64 - description: AS (ID) - explode: true - style: form - - in: query - name: asn__n - schema: - type: array - items: - type: integer - maximum: 4294967295 - minimum: 1 - format: int64 - description: AS (ID) - explode: true - style: form - - in: query - name: asn_id - schema: - type: array - items: - type: integer - description: AS (ID) - explode: true - style: form - - in: query - name: asn_id__n - schema: - type: array - items: - type: integer - description: AS (ID) - explode: true - style: form - - in: query - name: contact - schema: - type: array - items: - type: integer - description: Contact - explode: true - style: form - - in: query - name: contact__n - schema: - type: array - items: - type: integer - description: Contact - explode: true - style: form - - in: query - name: contact_group - schema: - type: array - items: - type: integer - description: Contact group - explode: true - style: form - - in: query - name: contact_group__n - schema: - type: array - items: - type: integer - description: Contact group - explode: true - style: form - - in: query - name: contact_role - schema: - type: array - items: - type: integer - description: Contact Role - explode: true - style: form - - in: query - name: contact_role__n + - in: path + name: id schema: - type: array - items: - type: integer - description: Contact Role - explode: true - style: form + type: integer + description: A unique integer value identifying this power port. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/PowerPort' + description: '' + /api/dcim/rack-reservations/: + get: + operationId: dcim_rack_reservations_list + description: Get a list of rack reservation objects. + parameters: - in: query name: created schema: @@ -48949,694 +71612,382 @@ paths: explode: true style: form - in: query - name: facility + name: id schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: facility__empty + name: id__empty schema: type: boolean - in: query - name: facility__ic + name: id__gt schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: facility__ie + name: id__gte schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: facility__iew + name: id__lt schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: facility__isw + name: id__lte schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: facility__n + name: id__n schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: facility__nic + name: last_updated schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: facility__nie + name: last_updated__empty schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: facility__niew + name: last_updated__gt schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: facility__nisw + name: last_updated__gte schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: group + name: last_updated__lt schema: type: array items: - type: integer - description: Group (slug) + type: string + format: date-time explode: true style: form - in: query - name: group__n + name: last_updated__lte schema: type: array items: - type: integer - description: Group (slug) + type: string + format: date-time explode: true style: form - in: query - name: group_id + name: last_updated__n schema: type: array items: - type: integer - description: Group (ID) + 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: group_id__n + name: location schema: type: array items: - type: integer - description: Group (ID) + type: string explode: true style: form - in: query - name: id + name: location__n schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__empty - schema: - type: boolean - - in: query - name: id__gt + name: location_id schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__gte + name: location_id__n schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__lt + name: modified_by_request + schema: + type: string + format: uuid + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: rack_id schema: type: array items: type: integer - format: int32 + description: Rack (ID) explode: true style: form - in: query - name: id__lte + name: rack_id__n schema: type: array items: type: integer - format: int32 + description: Rack (ID) explode: true style: form - in: query - name: id__n + name: region schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: last_updated + name: region__n schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__empty + name: region_id schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__gt + name: region_id__n schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__gte + name: site schema: type: array items: type: string - format: date-time + description: Site (slug) explode: true style: form - in: query - name: last_updated__lt + name: site__n schema: type: array items: type: string - format: date-time + description: Site (slug) explode: true style: form - in: query - name: last_updated__lte + name: site_group schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__n + name: site_group__n schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: latitude + name: site_group_id schema: type: array items: - type: number - format: double + type: string explode: true style: form - in: query - name: latitude__empty - schema: - type: boolean - - in: query - name: latitude__gt + name: site_group_id__n schema: type: array items: - type: number - format: double + type: string explode: true style: form - in: query - name: latitude__gte + name: site_id schema: type: array items: - type: number - format: double + type: integer + description: Site (ID) explode: true style: form - in: query - name: latitude__lt + name: site_id__n schema: type: array items: - type: number - format: double + type: integer + description: Site (ID) explode: true style: form - in: query - name: latitude__lte + name: tag schema: type: array items: - type: number - format: double + type: string explode: true style: form - in: query - name: latitude__n + name: tag__n schema: type: array items: - type: number - format: double + 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: longitude + name: tenant schema: type: array items: - type: number - format: double + type: string + description: Tenant (slug) explode: true style: form - in: query - name: longitude__empty - schema: - type: boolean - - in: query - name: longitude__gt + name: tenant__n schema: type: array items: - type: number - format: double + type: string + description: Tenant (slug) explode: true style: form - in: query - name: longitude__gte + name: tenant_group schema: type: array items: - type: number - format: double + type: string explode: true style: form - in: query - name: longitude__lt + name: tenant_group__n schema: type: array items: - type: number - format: double + type: string explode: true style: form - in: query - name: longitude__lte + name: tenant_group_id schema: type: array items: - type: number - format: double + type: string explode: true style: form - in: query - name: longitude__n + name: tenant_group_id__n schema: type: array items: - type: number - format: double + type: string explode: true style: form - in: query - name: modified_by_request - schema: - type: string - format: uuid - - in: query - name: name + name: tenant_id schema: type: array items: - type: string + type: integer + nullable: true + description: Tenant (ID) explode: true style: form - in: query - name: name__empty - schema: - type: boolean - - 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__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__nisw - 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 - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - in: query - name: q - schema: - type: string - description: Search - - in: query - name: region - schema: - type: array - items: - type: integer - description: Region (slug) - explode: true - style: form - - in: query - name: region__n - schema: - type: array - items: - type: integer - description: Region (slug) - explode: true - style: form - - in: query - name: region_id - schema: - type: array - items: - type: integer - description: Region (ID) - explode: true - style: form - - in: query - name: region_id__n - schema: - type: array - items: - type: integer - description: Region (ID) - explode: true - style: form - - in: query - name: slug - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__empty - schema: - type: boolean - - in: query - name: slug__ic - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__ie - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__iew - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__isw - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__n - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__nic - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__nie - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__niew - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__nisw - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: status - schema: - type: array - items: - type: string - x-spec-enum-id: e363a8ddb138be50 - explode: true - style: form - - in: query - name: status__n - schema: - type: array - items: - type: string - x-spec-enum-id: e363a8ddb138be50 - explode: true - style: form - - in: query - name: tag - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: tag__n - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: tenant - schema: - type: array - items: - type: string - description: Tenant (slug) - explode: true - style: form - - in: query - name: tenant__n - schema: - type: array - items: - type: string - description: Tenant (slug) - explode: true - style: form - - in: query - name: tenant_group - schema: - type: array - items: - type: integer - description: Tenant Group (slug) - explode: true - style: form - - in: query - name: tenant_group__n - schema: - type: array - items: - type: integer - description: Tenant Group (slug) - explode: true - style: form - - in: query - name: tenant_group_id - schema: - type: array - items: - type: integer - description: Tenant Group (ID) - explode: true - style: form - - in: query - name: tenant_group_id__n - schema: - type: array - items: - type: integer - description: Tenant Group (ID) - explode: true - style: form - - in: query - name: tenant_id - schema: - type: array - items: - type: integer - nullable: true - description: Tenant (ID) - explode: true - style: form - - in: query - name: tenant_id__n + name: tenant_id__n schema: type: array items: @@ -49646,90 +71997,50 @@ paths: explode: true style: form - in: query - name: time_zone - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: time_zone__ic - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: time_zone__ie - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: time_zone__iew - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: time_zone__isw + name: unit schema: - type: array - items: - type: string - explode: true - style: form + type: number - in: query - name: time_zone__n + name: updated_by_request schema: - type: array - items: - type: string - explode: true - style: form + type: string + format: uuid - in: query - name: time_zone__nic + name: user schema: type: array items: type: string + description: User (name) explode: true style: form - in: query - name: time_zone__nie + name: user__n schema: type: array items: type: string + description: User (name) explode: true style: form - in: query - name: time_zone__niew + name: user_id schema: type: array items: - type: string + type: integer + description: User (ID) explode: true style: form - in: query - name: time_zone__nisw + name: user_id__n schema: type: array items: - type: string + type: integer + description: User (ID) explode: true style: form - - in: query - name: updated_by_request - schema: - type: string - format: uuid tags: - dcim security: @@ -49740,21 +72051,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedSiteList' + $ref: '#/components/schemas/PaginatedRackReservationList' description: '' post: - operationId: dcim_sites_create - description: Post a list of site objects. + operationId: dcim_rack_reservations_create + description: Post a list of rack reservation objects. tags: - dcim requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableSiteRequest' + $ref: '#/components/schemas/RackReservationRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableSiteRequest' + $ref: '#/components/schemas/RackReservationRequest' required: true security: - cookieAuth: [] @@ -49764,11 +72075,11 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Site' + $ref: '#/components/schemas/RackReservation' description: '' put: - operationId: dcim_sites_bulk_update - description: Put a list of site objects. + operationId: dcim_rack_reservations_bulk_update + description: Put a list of rack reservation objects. tags: - dcim requestBody: @@ -49777,12 +72088,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/SiteRequest' + $ref: '#/components/schemas/RackReservationRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/SiteRequest' + $ref: '#/components/schemas/RackReservationRequest' required: true security: - cookieAuth: [] @@ -49794,11 +72105,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/Site' + $ref: '#/components/schemas/RackReservation' description: '' patch: - operationId: dcim_sites_bulk_partial_update - description: Patch a list of site objects. + operationId: dcim_rack_reservations_bulk_partial_update + description: Patch a list of rack reservation objects. tags: - dcim requestBody: @@ -49807,12 +72118,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/SiteRequest' + $ref: '#/components/schemas/RackReservationRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/SiteRequest' + $ref: '#/components/schemas/RackReservationRequest' required: true security: - cookieAuth: [] @@ -49824,11 +72135,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/Site' + $ref: '#/components/schemas/RackReservation' description: '' delete: - operationId: dcim_sites_bulk_destroy - description: Delete a list of site objects. + operationId: dcim_rack_reservations_bulk_destroy + description: Delete a list of rack reservation objects. tags: - dcim requestBody: @@ -49837,12 +72148,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/SiteRequest' + $ref: '#/components/schemas/RackReservationRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/SiteRequest' + $ref: '#/components/schemas/RackReservationRequest' required: true security: - cookieAuth: [] @@ -49850,16 +72161,16 @@ paths: responses: '204': description: No response body - /api/dcim/sites/{id}/: + /api/dcim/rack-reservations/{id}/: get: - operationId: dcim_sites_retrieve - description: Get a site object. + operationId: dcim_rack_reservations_retrieve + description: Get a rack reservation object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this site. + description: A unique integer value identifying this rack reservation. required: true tags: - dcim @@ -49871,17 +72182,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Site' + $ref: '#/components/schemas/RackReservation' description: '' put: - operationId: dcim_sites_update - description: Put a site object. + operationId: dcim_rack_reservations_update + description: Put a rack reservation object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this site. + description: A unique integer value identifying this rack reservation. required: true tags: - dcim @@ -49889,10 +72200,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/WritableSiteRequest' + $ref: '#/components/schemas/RackReservationRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableSiteRequest' + $ref: '#/components/schemas/RackReservationRequest' required: true security: - cookieAuth: [] @@ -49902,17 +72213,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Site' + $ref: '#/components/schemas/RackReservation' description: '' patch: - operationId: dcim_sites_partial_update - description: Patch a site object. + operationId: dcim_rack_reservations_partial_update + description: Patch a rack reservation object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this site. + description: A unique integer value identifying this rack reservation. required: true tags: - dcim @@ -49920,10 +72231,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PatchedWritableSiteRequest' + $ref: '#/components/schemas/PatchedRackReservationRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedWritableSiteRequest' + $ref: '#/components/schemas/PatchedRackReservationRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -49932,17 +72243,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Site' + $ref: '#/components/schemas/RackReservation' description: '' delete: - operationId: dcim_sites_destroy - description: Delete a site object. + operationId: dcim_rack_reservations_destroy + description: Delete a rack reservation object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this site. + description: A unique integer value identifying this rack reservation. required: true tags: - dcim @@ -49952,81 +72263,73 @@ paths: responses: '204': description: No response body - /api/dcim/virtual-chassis/: + /api/dcim/rack-roles/: get: - operationId: dcim_virtual_chassis_list - description: Get a list of virtual chassis objects. + operationId: dcim_rack_roles_list + description: Get a list of rack role objects. parameters: - in: query - name: created + name: color schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__empty + name: color__empty + schema: + type: boolean + - in: query + name: color__ic schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__gt + name: color__ie schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__gte + name: color__iew schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__lt + name: color__isw schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__lte + name: color__n schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__n + name: color__nic schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created_by_request - schema: - type: string - format: uuid - - in: query - name: description + name: color__nie schema: type: array items: @@ -50034,11 +72337,7 @@ paths: explode: true style: form - in: query - name: description__empty - schema: - type: boolean - - in: query - name: description__ic + name: color__niew schema: type: array items: @@ -50046,7 +72345,7 @@ paths: explode: true style: form - in: query - name: description__ie + name: color__nisw schema: type: array items: @@ -50054,63 +72353,75 @@ paths: explode: true style: form - in: query - name: description__iew + name: created schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: description__isw + name: created__empty schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: description__n + name: created__gt schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: description__nic + name: created__gte schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: description__nie + name: created__lt schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: description__niew + name: created__lte schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: description__nisw + name: created__n schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: domain + name: created_by_request + schema: + type: string + format: uuid + - in: query + name: description schema: type: array items: @@ -50118,11 +72429,11 @@ paths: explode: true style: form - in: query - name: domain__empty + name: description__empty schema: type: boolean - in: query - name: domain__ic + name: description__ic schema: type: array items: @@ -50130,7 +72441,7 @@ paths: explode: true style: form - in: query - name: domain__ie + name: description__ie schema: type: array items: @@ -50138,7 +72449,7 @@ paths: explode: true style: form - in: query - name: domain__iew + name: description__iew schema: type: array items: @@ -50146,7 +72457,7 @@ paths: explode: true style: form - in: query - name: domain__isw + name: description__isw schema: type: array items: @@ -50154,7 +72465,7 @@ paths: explode: true style: form - in: query - name: domain__n + name: description__n schema: type: array items: @@ -50162,7 +72473,7 @@ paths: explode: true style: form - in: query - name: domain__nic + name: description__nic schema: type: array items: @@ -50170,7 +72481,7 @@ paths: explode: true style: form - in: query - name: domain__nie + name: description__nie schema: type: array items: @@ -50178,7 +72489,7 @@ paths: explode: true style: form - in: query - name: domain__niew + name: description__niew schema: type: array items: @@ -50186,7 +72497,7 @@ paths: explode: true style: form - in: query - name: domain__nisw + name: description__nisw schema: type: array items: @@ -50320,104 +72631,6 @@ paths: description: Number of results to return per page. schema: type: integer - - in: query - name: master - schema: - type: array - items: - type: string - nullable: true - description: Master (name) - explode: true - style: form - - in: query - name: master__n - schema: - type: array - items: - type: string - nullable: true - description: Master (name) - explode: true - style: form - - in: query - name: master_id - schema: - type: array - items: - type: integer - nullable: true - description: Master (ID) - explode: true - style: form - - in: query - name: master_id__n - schema: - type: array - items: - type: integer - nullable: true - description: Master (ID) - explode: true - style: form - - in: query - name: member_count - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: member_count__empty - schema: - type: boolean - - in: query - name: member_count__gt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: member_count__gte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: member_count__lt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: member_count__lte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: member_count__n - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - in: query name: modified_by_request schema: @@ -50525,115 +72738,59 @@ paths: type: string description: Search - in: query - name: region - schema: - type: array - items: - type: integer - description: Region (slug) - explode: true - style: form - - in: query - name: region__n - schema: - type: array - items: - type: integer - description: Region (slug) - explode: true - style: form - - in: query - name: region_id + name: slug schema: type: array items: - type: integer - description: Region (ID) + type: string explode: true style: form - in: query - name: region_id__n + name: slug__empty schema: - type: array - items: - type: integer - description: Region (ID) - explode: true - style: form + type: boolean - in: query - name: site + name: slug__ic schema: type: array items: type: string - description: Site name (slug) explode: true style: form - in: query - name: site__n + name: slug__ie schema: type: array items: type: string - description: Site name (slug) - explode: true - style: form - - in: query - name: site_group - schema: - type: array - items: - type: integer - description: Site group (slug) - explode: true - style: form - - in: query - name: site_group__n - schema: - type: array - items: - type: integer - description: Site group (slug) - explode: true - style: form - - in: query - name: site_group_id - schema: - type: array - items: - type: integer - description: Site group (ID) explode: true style: form - in: query - name: site_group_id__n + name: slug__iew schema: type: array items: - type: integer - description: Site group (ID) + type: string explode: true style: form - in: query - name: site_id + name: slug__isw schema: type: array items: - type: integer - description: Site (ID) + type: string explode: true style: form - in: query - name: site_id__n + name: slug__n schema: type: array items: - type: integer - description: Site (ID) + type: string explode: true style: form - in: query - name: tag + name: slug__nic schema: type: array items: @@ -50641,7 +72798,7 @@ paths: explode: true style: form - in: query - name: tag__n + name: slug__nie schema: type: array items: @@ -50649,39 +72806,35 @@ paths: explode: true style: form - in: query - name: tenant + name: slug__niew schema: type: array items: type: string - description: Tenant (slug) explode: true style: form - in: query - name: tenant__n + name: slug__nisw schema: type: array items: type: string - description: Tenant (slug) explode: true style: form - in: query - name: tenant_id + name: tag schema: type: array items: - type: integer - description: Tenant (ID) + type: string explode: true style: form - in: query - name: tenant_id__n + name: tag__n schema: type: array items: - type: integer - description: Tenant (ID) + type: string explode: true style: form - in: query @@ -50699,21 +72852,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedVirtualChassisList' + $ref: '#/components/schemas/PaginatedRackRoleList' description: '' post: - operationId: dcim_virtual_chassis_create - description: Post a list of virtual chassis objects. + operationId: dcim_rack_roles_create + description: Post a list of rack role objects. tags: - dcim requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableVirtualChassisRequest' + $ref: '#/components/schemas/RackRoleRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableVirtualChassisRequest' + $ref: '#/components/schemas/RackRoleRequest' required: true security: - cookieAuth: [] @@ -50723,11 +72876,11 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/VirtualChassis' + $ref: '#/components/schemas/RackRole' description: '' put: - operationId: dcim_virtual_chassis_bulk_update - description: Put a list of virtual chassis objects. + operationId: dcim_rack_roles_bulk_update + description: Put a list of rack role objects. tags: - dcim requestBody: @@ -50736,12 +72889,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/VirtualChassisRequest' + $ref: '#/components/schemas/RackRoleRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/VirtualChassisRequest' + $ref: '#/components/schemas/RackRoleRequest' required: true security: - cookieAuth: [] @@ -50753,11 +72906,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/VirtualChassis' + $ref: '#/components/schemas/RackRole' description: '' patch: - operationId: dcim_virtual_chassis_bulk_partial_update - description: Patch a list of virtual chassis objects. + operationId: dcim_rack_roles_bulk_partial_update + description: Patch a list of rack role objects. tags: - dcim requestBody: @@ -50766,12 +72919,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/VirtualChassisRequest' + $ref: '#/components/schemas/RackRoleRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/VirtualChassisRequest' + $ref: '#/components/schemas/RackRoleRequest' required: true security: - cookieAuth: [] @@ -50783,11 +72936,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/VirtualChassis' + $ref: '#/components/schemas/RackRole' description: '' delete: - operationId: dcim_virtual_chassis_bulk_destroy - description: Delete a list of virtual chassis objects. + operationId: dcim_rack_roles_bulk_destroy + description: Delete a list of rack role objects. tags: - dcim requestBody: @@ -50796,12 +72949,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/VirtualChassisRequest' + $ref: '#/components/schemas/RackRoleRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/VirtualChassisRequest' + $ref: '#/components/schemas/RackRoleRequest' required: true security: - cookieAuth: [] @@ -50809,16 +72962,16 @@ paths: responses: '204': description: No response body - /api/dcim/virtual-chassis/{id}/: + /api/dcim/rack-roles/{id}/: get: - operationId: dcim_virtual_chassis_retrieve - description: Get a virtual chassis object. + operationId: dcim_rack_roles_retrieve + description: Get a rack role object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this virtual chassis. + description: A unique integer value identifying this rack role. required: true tags: - dcim @@ -50830,17 +72983,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/VirtualChassis' + $ref: '#/components/schemas/RackRole' description: '' put: - operationId: dcim_virtual_chassis_update - description: Put a virtual chassis object. + operationId: dcim_rack_roles_update + description: Put a rack role object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this virtual chassis. + description: A unique integer value identifying this rack role. required: true tags: - dcim @@ -50848,10 +73001,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/WritableVirtualChassisRequest' + $ref: '#/components/schemas/RackRoleRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableVirtualChassisRequest' + $ref: '#/components/schemas/RackRoleRequest' required: true security: - cookieAuth: [] @@ -50861,17 +73014,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/VirtualChassis' + $ref: '#/components/schemas/RackRole' description: '' patch: - operationId: dcim_virtual_chassis_partial_update - description: Patch a virtual chassis object. + operationId: dcim_rack_roles_partial_update + description: Patch a rack role object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this virtual chassis. + description: A unique integer value identifying this rack role. required: true tags: - dcim @@ -50879,10 +73032,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PatchedWritableVirtualChassisRequest' + $ref: '#/components/schemas/PatchedRackRoleRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedWritableVirtualChassisRequest' + $ref: '#/components/schemas/PatchedRackRoleRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -50891,17 +73044,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/VirtualChassis' + $ref: '#/components/schemas/RackRole' description: '' delete: - operationId: dcim_virtual_chassis_destroy - description: Delete a virtual chassis object. + operationId: dcim_rack_roles_destroy + description: Delete a rack role object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this virtual chassis. + description: A unique integer value identifying this rack role. required: true tags: - dcim @@ -50911,10 +73064,10 @@ paths: responses: '204': description: No response body - /api/dcim/virtual-device-contexts/: + /api/dcim/rack-types/: get: - operationId: dcim_virtual_device_contexts_list - description: Get a list of virtual device context objects. + operationId: dcim_rack_types_list + description: Get a list of rack type objects. parameters: - in: query name: created @@ -50984,6 +73137,10 @@ paths: schema: type: string format: uuid + - in: query + name: desc_units + schema: + type: boolean - in: query name: description schema: @@ -51069,106 +73226,290 @@ paths: explode: true style: form - in: query - name: device + name: form_factor schema: type: array items: - type: integer - description: Device model + type: string + x-spec-enum-id: e32aaa89a223f2ea explode: true style: form - in: query - name: device__n + name: form_factor__empty + schema: + type: boolean + - in: query + name: form_factor__ic schema: type: array items: - type: integer - description: Device model + type: string + x-spec-enum-id: e32aaa89a223f2ea + enum: + - 2-post-frame + - 4-post-cabinet + - 4-post-frame + - wall-cabinet + - wall-cabinet-vertical + - wall-frame + - wall-frame-vertical + description: '* `2-post-frame` - 2-post frame + + * `4-post-frame` - 4-post frame + + * `4-post-cabinet` - 4-post cabinet + + * `wall-frame` - Wall-mounted frame + + * `wall-frame-vertical` - Wall-mounted frame (vertical) + + * `wall-cabinet` - Wall-mounted cabinet + + * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical)' explode: true style: form - in: query - name: device_id + name: form_factor__ie schema: type: array items: - type: integer - description: VDC (ID) + type: string + x-spec-enum-id: e32aaa89a223f2ea + enum: + - 2-post-frame + - 4-post-cabinet + - 4-post-frame + - wall-cabinet + - wall-cabinet-vertical + - wall-frame + - wall-frame-vertical + description: '* `2-post-frame` - 2-post frame + + * `4-post-frame` - 4-post frame + + * `4-post-cabinet` - 4-post cabinet + + * `wall-frame` - Wall-mounted frame + + * `wall-frame-vertical` - Wall-mounted frame (vertical) + + * `wall-cabinet` - Wall-mounted cabinet + + * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical)' explode: true style: form - in: query - name: device_id__n + name: form_factor__iew schema: type: array items: - type: integer - description: VDC (ID) + type: string + x-spec-enum-id: e32aaa89a223f2ea + enum: + - 2-post-frame + - 4-post-cabinet + - 4-post-frame + - wall-cabinet + - wall-cabinet-vertical + - wall-frame + - wall-frame-vertical + description: '* `2-post-frame` - 2-post frame + + * `4-post-frame` - 4-post frame + + * `4-post-cabinet` - 4-post cabinet + + * `wall-frame` - Wall-mounted frame + + * `wall-frame-vertical` - Wall-mounted frame (vertical) + + * `wall-cabinet` - Wall-mounted cabinet + + * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical)' explode: true style: form - in: query - name: has_primary_ip - schema: - type: boolean - description: Has a primary IP - - in: query - name: id + name: form_factor__isw schema: type: array items: - type: integer - format: int32 + type: string + x-spec-enum-id: e32aaa89a223f2ea + enum: + - 2-post-frame + - 4-post-cabinet + - 4-post-frame + - wall-cabinet + - wall-cabinet-vertical + - wall-frame + - wall-frame-vertical + description: '* `2-post-frame` - 2-post frame + + * `4-post-frame` - 4-post frame + + * `4-post-cabinet` - 4-post cabinet + + * `wall-frame` - Wall-mounted frame + + * `wall-frame-vertical` - Wall-mounted frame (vertical) + + * `wall-cabinet` - Wall-mounted cabinet + + * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical)' explode: true style: form - in: query - name: id__empty - schema: - type: boolean - - in: query - name: id__gt + name: form_factor__n schema: type: array items: - type: integer - format: int32 + type: string + x-spec-enum-id: e32aaa89a223f2ea + enum: + - 2-post-frame + - 4-post-cabinet + - 4-post-frame + - wall-cabinet + - wall-cabinet-vertical + - wall-frame + - wall-frame-vertical + description: '* `2-post-frame` - 2-post frame + + * `4-post-frame` - 4-post frame + + * `4-post-cabinet` - 4-post cabinet + + * `wall-frame` - Wall-mounted frame + + * `wall-frame-vertical` - Wall-mounted frame (vertical) + + * `wall-cabinet` - Wall-mounted cabinet + + * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical)' explode: true style: form - in: query - name: id__gte + name: form_factor__nic schema: type: array items: - type: integer - format: int32 + type: string + x-spec-enum-id: e32aaa89a223f2ea + enum: + - 2-post-frame + - 4-post-cabinet + - 4-post-frame + - wall-cabinet + - wall-cabinet-vertical + - wall-frame + - wall-frame-vertical + description: '* `2-post-frame` - 2-post frame + + * `4-post-frame` - 4-post frame + + * `4-post-cabinet` - 4-post cabinet + + * `wall-frame` - Wall-mounted frame + + * `wall-frame-vertical` - Wall-mounted frame (vertical) + + * `wall-cabinet` - Wall-mounted cabinet + + * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical)' explode: true style: form - in: query - name: id__lt + name: form_factor__nie schema: type: array items: - type: integer - format: int32 + type: string + x-spec-enum-id: e32aaa89a223f2ea + enum: + - 2-post-frame + - 4-post-cabinet + - 4-post-frame + - wall-cabinet + - wall-cabinet-vertical + - wall-frame + - wall-frame-vertical + description: '* `2-post-frame` - 2-post frame + + * `4-post-frame` - 4-post frame + + * `4-post-cabinet` - 4-post cabinet + + * `wall-frame` - Wall-mounted frame + + * `wall-frame-vertical` - Wall-mounted frame (vertical) + + * `wall-cabinet` - Wall-mounted cabinet + + * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical)' explode: true style: form - in: query - name: id__lte + name: form_factor__niew schema: type: array items: - type: integer - format: int32 + type: string + x-spec-enum-id: e32aaa89a223f2ea + enum: + - 2-post-frame + - 4-post-cabinet + - 4-post-frame + - wall-cabinet + - wall-cabinet-vertical + - wall-frame + - wall-frame-vertical + description: '* `2-post-frame` - 2-post frame + + * `4-post-frame` - 4-post frame + + * `4-post-cabinet` - 4-post cabinet + + * `wall-frame` - Wall-mounted frame + + * `wall-frame-vertical` - Wall-mounted frame (vertical) + + * `wall-cabinet` - Wall-mounted cabinet + + * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical)' explode: true style: form - in: query - name: id__n + name: form_factor__nisw schema: type: array items: - type: integer - format: int32 + type: string + x-spec-enum-id: e32aaa89a223f2ea + enum: + - 2-post-frame + - 4-post-cabinet + - 4-post-frame + - wall-cabinet + - wall-cabinet-vertical + - wall-frame + - wall-frame-vertical + description: '* `2-post-frame` - 2-post frame + + * `4-post-frame` - 4-post frame + + * `4-post-cabinet` - 4-post cabinet + + * `wall-frame` - Wall-mounted frame + + * `wall-frame-vertical` - Wall-mounted frame (vertical) + + * `wall-cabinet` - Wall-mounted cabinet + + * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical)' explode: true style: form - in: query - name: identifier + name: id schema: type: array items: @@ -51177,11 +73518,11 @@ paths: explode: true style: form - in: query - name: identifier__empty + name: id__empty schema: type: boolean - in: query - name: identifier__gt + name: id__gt schema: type: array items: @@ -51190,7 +73531,7 @@ paths: explode: true style: form - in: query - name: identifier__gte + name: id__gte schema: type: array items: @@ -51199,7 +73540,7 @@ paths: explode: true style: form - in: query - name: identifier__lt + name: id__lt schema: type: array items: @@ -51208,7 +73549,7 @@ paths: explode: true style: form - in: query - name: identifier__lte + name: id__lte schema: type: array items: @@ -51217,7 +73558,7 @@ paths: explode: true style: form - in: query - name: identifier__n + name: id__n schema: type: array items: @@ -51225,24 +73566,6 @@ paths: format: int32 explode: true style: form - - in: query - name: interface_id - schema: - type: array - items: - type: integer - description: Interface (ID) - explode: true - style: form - - in: query - name: interface_id__n - schema: - type: array - items: - type: integer - description: Interface (ID) - explode: true - style: form - in: query name: last_updated schema: @@ -51313,167 +73636,161 @@ paths: schema: type: integer - in: query - name: modified_by_request - schema: - type: string - format: uuid - - in: query - name: name + name: manufacturer schema: type: array items: type: string + description: Manufacturer (slug) explode: true style: form - in: query - name: name__empty - schema: - type: boolean - - in: query - name: name__ic + name: manufacturer__n schema: type: array items: type: string + description: Manufacturer (slug) explode: true style: form - in: query - name: name__ie + name: manufacturer_id schema: type: array items: - type: string + type: integer + description: Manufacturer (ID) explode: true style: form - in: query - name: name__iew + name: manufacturer_id__n schema: type: array items: - type: string + type: integer + description: Manufacturer (ID) explode: true style: form - in: query - name: name__isw + name: max_weight schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: name__n + name: max_weight__empty + schema: + type: boolean + - in: query + name: max_weight__gt schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: name__nic + name: max_weight__gte schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: name__nie + name: max_weight__lt schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: name__niew + name: max_weight__lte schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: name__nisw + name: max_weight__n schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - in: query - name: primary_ip4_id + name: model schema: type: array items: - type: integer - description: Primary IPv4 (ID) + type: string explode: true style: form - in: query - name: primary_ip4_id__n + name: model__empty + schema: + type: boolean + - in: query + name: model__ic schema: type: array items: - type: integer - description: Primary IPv4 (ID) + type: string explode: true style: form - in: query - name: primary_ip6_id + name: model__ie schema: type: array items: - type: integer - description: Primary IPv6 (ID) + type: string explode: true style: form - in: query - name: primary_ip6_id__n + name: model__iew schema: type: array items: - type: integer - description: Primary IPv6 (ID) + type: string explode: true style: form - in: query - name: q + name: model__isw schema: - type: string - description: Search + type: array + items: + type: string + explode: true + style: form - in: query - name: status + name: model__n schema: type: array items: type: string - x-spec-enum-id: ee1ef02def7a91ab explode: true style: form - in: query - name: status__n + name: model__nic schema: type: array items: type: string - x-spec-enum-id: ee1ef02def7a91ab explode: true style: form - in: query - name: tag + name: model__nie schema: type: array items: @@ -51481,7 +73798,7 @@ paths: explode: true style: form - in: query - name: tag__n + name: model__niew schema: type: array items: @@ -51489,318 +73806,159 @@ paths: explode: true style: form - in: query - name: tenant + name: model__nisw schema: type: array items: type: string - description: Tenant (slug) explode: true style: form - in: query - name: tenant__n + name: modified_by_request + schema: + type: string + format: uuid + - in: query + name: mounting_depth schema: type: array items: - type: string - description: Tenant (slug) + type: integer + format: int32 explode: true style: form - in: query - name: tenant_group + name: mounting_depth__empty + schema: + type: boolean + - in: query + name: mounting_depth__gt schema: type: array items: type: integer - description: Tenant Group (slug) + format: int32 explode: true style: form - in: query - name: tenant_group__n + name: mounting_depth__gte schema: type: array items: type: integer - description: Tenant Group (slug) + format: int32 explode: true style: form - in: query - name: tenant_group_id + name: mounting_depth__lt schema: type: array items: type: integer - description: Tenant Group (ID) + format: int32 explode: true style: form - in: query - name: tenant_group_id__n + name: mounting_depth__lte schema: type: array items: type: integer - description: Tenant Group (ID) + format: int32 explode: true style: form - in: query - name: tenant_id + name: mounting_depth__n schema: type: array items: type: integer - nullable: true - description: Tenant (ID) + format: int32 explode: true style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string - in: query - name: tenant_id__n + name: outer_depth schema: type: array items: type: integer - nullable: true - description: Tenant (ID) + format: int32 explode: true style: form - in: query - name: updated_by_request + name: outer_depth__empty schema: - type: string - format: uuid - tags: - - dcim - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/PaginatedVirtualDeviceContextList' - description: '' - post: - operationId: dcim_virtual_device_contexts_create - description: Post a list of virtual device context objects. - tags: - - dcim - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/WritableVirtualDeviceContextRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/WritableVirtualDeviceContextRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '201': - content: - application/json: - schema: - $ref: '#/components/schemas/VirtualDeviceContext' - description: '' - put: - operationId: dcim_virtual_device_contexts_bulk_update - description: Put a list of virtual device context objects. - tags: - - dcim - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/VirtualDeviceContextRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/VirtualDeviceContextRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/VirtualDeviceContext' - description: '' - patch: - operationId: dcim_virtual_device_contexts_bulk_partial_update - description: Patch a list of virtual device context objects. - tags: - - dcim - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/VirtualDeviceContextRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/VirtualDeviceContextRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/VirtualDeviceContext' - description: '' - delete: - operationId: dcim_virtual_device_contexts_bulk_destroy - description: Delete a list of virtual device context objects. - tags: - - dcim - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/VirtualDeviceContextRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/VirtualDeviceContextRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '204': - description: No response body - /api/dcim/virtual-device-contexts/{id}/: - get: - operationId: dcim_virtual_device_contexts_retrieve - description: Get a virtual device context object. - parameters: - - in: path - name: id + type: boolean + - in: query + name: outer_depth__gt schema: - type: integer - description: A unique integer value identifying this virtual device context. - required: true - tags: - - dcim - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/VirtualDeviceContext' - description: '' - put: - operationId: dcim_virtual_device_contexts_update - description: Put a virtual device context object. - parameters: - - in: path - name: id + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: outer_depth__gte schema: - type: integer - description: A unique integer value identifying this virtual device context. - required: true - tags: - - dcim - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/WritableVirtualDeviceContextRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/WritableVirtualDeviceContextRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/VirtualDeviceContext' - description: '' - patch: - operationId: dcim_virtual_device_contexts_partial_update - description: Patch a virtual device context object. - parameters: - - in: path - name: id + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: outer_depth__lt schema: - type: integer - description: A unique integer value identifying this virtual device context. - required: true - tags: - - dcim - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/PatchedWritableVirtualDeviceContextRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/PatchedWritableVirtualDeviceContextRequest' - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/VirtualDeviceContext' - description: '' - delete: - operationId: dcim_virtual_device_contexts_destroy - description: Delete a virtual device context object. - parameters: - - in: path - name: id + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: outer_depth__lte schema: - type: integer - description: A unique integer value identifying this virtual device context. - required: true - tags: - - dcim - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '204': - description: No response body - /api/extras/bookmarks/: - get: - operationId: extras_bookmarks_list - description: Get a list of bookmark objects. - parameters: + type: array + items: + type: integer + format: int32 + explode: true + style: form - in: query - name: created + name: outer_depth__n + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: outer_unit schema: type: string - format: date-time + x-spec-enum-id: 86a846b6c40f495e + enum: + - in + - mm + description: '* `mm` - Millimeters + + * `in` - Inches' - in: query - name: id + name: outer_width schema: type: array items: @@ -51809,11 +73967,11 @@ paths: explode: true style: form - in: query - name: id__empty + name: outer_width__empty schema: type: boolean - in: query - name: id__gt + name: outer_width__gt schema: type: array items: @@ -51822,7 +73980,7 @@ paths: explode: true style: form - in: query - name: id__gte + name: outer_width__gte schema: type: array items: @@ -51831,7 +73989,7 @@ paths: explode: true style: form - in: query - name: id__lt + name: outer_width__lt schema: type: array items: @@ -51840,7 +73998,7 @@ paths: explode: true style: form - in: query - name: id__lte + name: outer_width__lte schema: type: array items: @@ -51849,7 +74007,7 @@ paths: explode: true style: form - in: query - name: id__n + name: outer_width__n schema: type: array items: @@ -51857,14 +74015,97 @@ paths: format: int32 explode: true style: form - - name: limit - required: false - in: query - description: Number of results to return per page. + - in: query + name: q schema: - type: integer + type: string + description: Search - in: query - name: object_id + name: slug + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__empty + schema: + type: boolean + - in: query + name: slug__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: starting_unit schema: type: array items: @@ -51873,11 +74114,11 @@ paths: explode: true style: form - in: query - name: object_id__empty + name: starting_unit__empty schema: type: boolean - in: query - name: object_id__gt + name: starting_unit__gt schema: type: array items: @@ -51886,7 +74127,7 @@ paths: explode: true style: form - in: query - name: object_id__gte + name: starting_unit__gte schema: type: array items: @@ -51895,7 +74136,7 @@ paths: explode: true style: form - in: query - name: object_id__lt + name: starting_unit__lt schema: type: array items: @@ -51904,7 +74145,7 @@ paths: explode: true style: form - in: query - name: object_id__lte + name: starting_unit__lte schema: type: array items: @@ -51913,7 +74154,7 @@ paths: explode: true style: form - in: query - name: object_id__n + name: starting_unit__n schema: type: array items: @@ -51922,15 +74163,23 @@ paths: explode: true style: form - in: query - name: object_type + name: tag schema: - type: string + type: array + items: + type: string + explode: true + style: form - in: query - name: object_type__n + name: tag__n schema: - type: string + type: array + items: + type: string + explode: true + style: form - in: query - name: object_type_id + name: u_height schema: type: array items: @@ -51939,7 +74188,11 @@ paths: explode: true style: form - in: query - name: object_type_id__empty + name: u_height__empty + schema: + type: boolean + - in: query + name: u_height__gt schema: type: array items: @@ -51948,7 +74201,7 @@ paths: explode: true style: form - in: query - name: object_type_id__gt + name: u_height__gte schema: type: array items: @@ -51957,7 +74210,7 @@ paths: explode: true style: form - in: query - name: object_type_id__gte + name: u_height__lt schema: type: array items: @@ -51966,7 +74219,7 @@ paths: explode: true style: form - in: query - name: object_type_id__lt + name: u_height__lte schema: type: array items: @@ -51975,7 +74228,7 @@ paths: explode: true style: form - in: query - name: object_type_id__lte + name: u_height__n schema: type: array items: @@ -51984,64 +74237,313 @@ paths: explode: true style: form - in: query - name: object_type_id__n + name: updated_by_request + schema: + type: string + format: uuid + - in: query + name: weight schema: type: array items: - type: integer - format: int32 + type: number + format: double explode: true style: form - - name: offset - required: false - in: query - description: The initial index from which to return the results. + - in: query + name: weight__empty schema: - type: integer - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. + type: boolean + - in: query + name: weight__gt + schema: + type: array + items: + type: number + format: double + explode: true + style: form + - in: query + name: weight__gte + schema: + type: array + items: + type: number + format: double + explode: true + style: form + - in: query + name: weight__lt + schema: + type: array + items: + type: number + format: double + explode: true + style: form + - in: query + name: weight__lte + schema: + type: array + items: + type: number + format: double + explode: true + style: form + - in: query + name: weight__n + schema: + type: array + items: + type: number + format: double + explode: true + style: form + - in: query + name: weight_unit schema: type: string + x-spec-enum-id: 7c1876f422815884 + enum: + - g + - kg + - lb + - oz + description: '* `kg` - Kilograms + + * `g` - Grams + + * `lb` - Pounds + + * `oz` - Ounces' - in: query - name: user + name: width schema: type: array items: - type: string - description: User (name) + type: integer + x-spec-enum-id: 9b322795f297a9c3 + description: Rail-to-rail width explode: true style: form - in: query - name: user__n + name: width__ic schema: type: array items: - type: string - description: User (name) + type: integer + x-spec-enum-id: 9b322795f297a9c3 + enum: + - 10 + - 19 + - 21 + - 23 + description: 'Rail-to-rail width + + + * `10` - 10 inches + + * `19` - 19 inches + + * `21` - 21 inches + + * `23` - 23 inches' explode: true style: form - in: query - name: user_id + name: width__ie schema: type: array items: type: integer - description: User (ID) + x-spec-enum-id: 9b322795f297a9c3 + enum: + - 10 + - 19 + - 21 + - 23 + description: 'Rail-to-rail width + + + * `10` - 10 inches + + * `19` - 19 inches + + * `21` - 21 inches + + * `23` - 23 inches' explode: true style: form - in: query - name: user_id__n + name: width__iew schema: type: array items: type: integer - description: User (ID) + x-spec-enum-id: 9b322795f297a9c3 + enum: + - 10 + - 19 + - 21 + - 23 + description: 'Rail-to-rail width + + + * `10` - 10 inches + + * `19` - 19 inches + + * `21` - 21 inches + + * `23` - 23 inches' + explode: true + style: form + - in: query + name: width__isw + schema: + type: array + items: + type: integer + x-spec-enum-id: 9b322795f297a9c3 + enum: + - 10 + - 19 + - 21 + - 23 + description: 'Rail-to-rail width + + + * `10` - 10 inches + + * `19` - 19 inches + + * `21` - 21 inches + + * `23` - 23 inches' + explode: true + style: form + - in: query + name: width__n + schema: + type: array + items: + type: integer + x-spec-enum-id: 9b322795f297a9c3 + enum: + - 10 + - 19 + - 21 + - 23 + description: 'Rail-to-rail width + + + * `10` - 10 inches + + * `19` - 19 inches + + * `21` - 21 inches + + * `23` - 23 inches' + explode: true + style: form + - in: query + name: width__nic + schema: + type: array + items: + type: integer + x-spec-enum-id: 9b322795f297a9c3 + enum: + - 10 + - 19 + - 21 + - 23 + description: 'Rail-to-rail width + + + * `10` - 10 inches + + * `19` - 19 inches + + * `21` - 21 inches + + * `23` - 23 inches' + explode: true + style: form + - in: query + name: width__nie + schema: + type: array + items: + type: integer + x-spec-enum-id: 9b322795f297a9c3 + enum: + - 10 + - 19 + - 21 + - 23 + description: 'Rail-to-rail width + + + * `10` - 10 inches + + * `19` - 19 inches + + * `21` - 21 inches + + * `23` - 23 inches' + explode: true + style: form + - in: query + name: width__niew + schema: + type: array + items: + type: integer + x-spec-enum-id: 9b322795f297a9c3 + enum: + - 10 + - 19 + - 21 + - 23 + description: 'Rail-to-rail width + + + * `10` - 10 inches + + * `19` - 19 inches + + * `21` - 21 inches + + * `23` - 23 inches' + explode: true + style: form + - in: query + name: width__nisw + schema: + type: array + items: + type: integer + x-spec-enum-id: 9b322795f297a9c3 + enum: + - 10 + - 19 + - 21 + - 23 + description: 'Rail-to-rail width + + + * `10` - 10 inches + + * `19` - 19 inches + + * `21` - 21 inches + + * `23` - 23 inches' explode: true style: form tags: - - extras + - dcim security: - cookieAuth: [] - tokenAuth: [] @@ -52050,21 +74552,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedBookmarkList' + $ref: '#/components/schemas/PaginatedRackTypeList' description: '' post: - operationId: extras_bookmarks_create - description: Post a list of bookmark objects. + operationId: dcim_rack_types_create + description: Post a list of rack type objects. tags: - - extras + - dcim requestBody: content: application/json: schema: - $ref: '#/components/schemas/BookmarkRequest' + $ref: '#/components/schemas/WritableRackTypeRequest' multipart/form-data: schema: - $ref: '#/components/schemas/BookmarkRequest' + $ref: '#/components/schemas/WritableRackTypeRequest' required: true security: - cookieAuth: [] @@ -52074,25 +74576,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Bookmark' + $ref: '#/components/schemas/RackType' description: '' put: - operationId: extras_bookmarks_bulk_update - description: Put a list of bookmark objects. + operationId: dcim_rack_types_bulk_update + description: Put a list of rack type objects. tags: - - extras + - dcim requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/BookmarkRequest' + $ref: '#/components/schemas/RackTypeRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/BookmarkRequest' + $ref: '#/components/schemas/RackTypeRequest' required: true security: - cookieAuth: [] @@ -52104,25 +74606,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/Bookmark' + $ref: '#/components/schemas/RackType' description: '' patch: - operationId: extras_bookmarks_bulk_partial_update - description: Patch a list of bookmark objects. + operationId: dcim_rack_types_bulk_partial_update + description: Patch a list of rack type objects. tags: - - extras + - dcim requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/BookmarkRequest' + $ref: '#/components/schemas/RackTypeRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/BookmarkRequest' + $ref: '#/components/schemas/RackTypeRequest' required: true security: - cookieAuth: [] @@ -52134,25 +74636,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/Bookmark' + $ref: '#/components/schemas/RackType' description: '' delete: - operationId: extras_bookmarks_bulk_destroy - description: Delete a list of bookmark objects. + operationId: dcim_rack_types_bulk_destroy + description: Delete a list of rack type objects. tags: - - extras + - dcim requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/BookmarkRequest' + $ref: '#/components/schemas/RackTypeRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/BookmarkRequest' + $ref: '#/components/schemas/RackTypeRequest' required: true security: - cookieAuth: [] @@ -52160,19 +74662,19 @@ paths: responses: '204': description: No response body - /api/extras/bookmarks/{id}/: + /api/dcim/rack-types/{id}/: get: - operationId: extras_bookmarks_retrieve - description: Get a bookmark object. + operationId: dcim_rack_types_retrieve + description: Get a rack type object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this bookmark. + description: A unique integer value identifying this rack type. required: true tags: - - extras + - dcim security: - cookieAuth: [] - tokenAuth: [] @@ -52181,28 +74683,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Bookmark' + $ref: '#/components/schemas/RackType' description: '' put: - operationId: extras_bookmarks_update - description: Put a bookmark object. + operationId: dcim_rack_types_update + description: Put a rack type object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this bookmark. + description: A unique integer value identifying this rack type. required: true tags: - - extras + - dcim requestBody: content: application/json: schema: - $ref: '#/components/schemas/BookmarkRequest' + $ref: '#/components/schemas/WritableRackTypeRequest' multipart/form-data: schema: - $ref: '#/components/schemas/BookmarkRequest' + $ref: '#/components/schemas/WritableRackTypeRequest' required: true security: - cookieAuth: [] @@ -52212,28 +74714,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Bookmark' + $ref: '#/components/schemas/RackType' description: '' patch: - operationId: extras_bookmarks_partial_update - description: Patch a bookmark object. + operationId: dcim_rack_types_partial_update + description: Patch a rack type object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this bookmark. + description: A unique integer value identifying this rack type. required: true tags: - - extras + - dcim requestBody: content: application/json: schema: - $ref: '#/components/schemas/PatchedBookmarkRequest' + $ref: '#/components/schemas/PatchedWritableRackTypeRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedBookmarkRequest' + $ref: '#/components/schemas/PatchedWritableRackTypeRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -52242,235 +74744,189 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Bookmark' + $ref: '#/components/schemas/RackType' description: '' delete: - operationId: extras_bookmarks_destroy - description: Delete a bookmark object. + operationId: dcim_rack_types_destroy + description: Delete a rack type object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this bookmark. + description: A unique integer value identifying this rack type. required: true tags: - - extras + - dcim security: - cookieAuth: [] - tokenAuth: [] responses: '204': description: No response body - /api/extras/config-contexts/: + /api/dcim/racks/: get: - operationId: extras_config_contexts_list - description: Get a list of config context objects. + operationId: dcim_racks_list + description: Get a list of rack objects. parameters: - in: query - name: auto_sync_enabled - schema: - type: boolean - - in: query - name: cluster_group + name: airflow schema: - type: array - items: - type: string - description: Cluster group (slug) - explode: true - style: form + type: string + x-spec-enum-id: a784734d07ef1b3c + enum: + - front-to-rear + - rear-to-front + description: '* `front-to-rear` - Front to rear + + * `rear-to-front` - Rear to front' - in: query - name: cluster_group__n + name: asset_tag schema: type: array items: type: string - description: Cluster group (slug) explode: true style: form - in: query - name: cluster_group_id - schema: - type: array - items: - type: integer - description: Cluster group - explode: true - style: form - - in: query - name: cluster_group_id__n - schema: - type: array - items: - type: integer - description: Cluster group - explode: true - style: form - - in: query - name: cluster_id + name: asset_tag__empty schema: - type: array - items: - type: integer - description: Cluster - explode: true - style: form + type: boolean - in: query - name: cluster_id__n + name: asset_tag__ic schema: type: array items: - type: integer - description: Cluster + type: string explode: true style: form - in: query - name: cluster_type + name: asset_tag__ie schema: type: array items: type: string - description: Cluster type (slug) explode: true style: form - in: query - name: cluster_type__n + name: asset_tag__iew schema: type: array items: type: string - description: Cluster type (slug) explode: true style: form - in: query - name: cluster_type_id + name: asset_tag__isw schema: type: array items: - type: integer - description: Cluster type + type: string explode: true style: form - in: query - name: cluster_type_id__n + name: asset_tag__n schema: type: array items: - type: integer - description: Cluster type + type: string explode: true style: form - in: query - name: created + name: asset_tag__nic schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__empty + name: asset_tag__nie schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__gt + name: asset_tag__niew schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__gte + name: asset_tag__nisw schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__lt + name: contact schema: type: array items: - type: string - format: date-time + type: integer + description: Contact explode: true style: form - in: query - name: created__lte + name: contact__n schema: type: array items: - type: string - format: date-time + type: integer + description: Contact explode: true style: form - in: query - name: created__n + name: contact_group schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created_by_request - schema: - type: string - format: uuid - - in: query - name: data_file_id + name: contact_group__n schema: type: array items: - type: integer - nullable: true - description: Data file (ID) + type: string explode: true style: form - in: query - name: data_file_id__n + name: contact_role schema: type: array items: type: integer - nullable: true - description: Data file (ID) + description: Contact Role explode: true style: form - in: query - name: data_source_id + name: contact_role__n schema: type: array items: type: integer - nullable: true - description: Data source (ID) + description: Contact Role explode: true style: form - in: query - name: data_source_id__n + name: created schema: type: array items: - type: integer - nullable: true - description: Data source (ID) + type: string + format: date-time explode: true style: form - in: query - name: data_synced + name: created__empty schema: type: array items: @@ -52479,11 +74935,7 @@ paths: explode: true style: form - in: query - name: data_synced__empty - schema: - type: boolean - - in: query - name: data_synced__gt + name: created__gt schema: type: array items: @@ -52492,7 +74944,7 @@ paths: explode: true style: form - in: query - name: data_synced__gte + name: created__gte schema: type: array items: @@ -52501,7 +74953,7 @@ paths: explode: true style: form - in: query - name: data_synced__lt + name: created__lt schema: type: array items: @@ -52510,7 +74962,7 @@ paths: explode: true style: form - in: query - name: data_synced__lte + name: created__lte schema: type: array items: @@ -52519,7 +74971,7 @@ paths: explode: true style: form - in: query - name: data_synced__n + name: created__n schema: type: array items: @@ -52527,6 +74979,15 @@ paths: format: date-time explode: true style: form + - in: query + name: created_by_request + schema: + type: string + format: uuid + - in: query + name: desc_units + schema: + type: boolean - in: query name: description schema: @@ -52612,627 +75073,864 @@ paths: explode: true style: form - in: query - name: device_role + name: facility_id schema: type: array items: type: string - description: Role (slug) explode: true style: form - in: query - name: device_role__n + name: facility_id__empty + schema: + type: boolean + - in: query + name: facility_id__ic schema: type: array items: type: string - description: Role (slug) explode: true style: form - in: query - name: device_role_id + name: facility_id__ie schema: type: array items: - type: integer - description: Role + type: string explode: true style: form - in: query - name: device_role_id__n + name: facility_id__iew schema: type: array items: - type: integer - description: Role + type: string explode: true style: form - in: query - name: device_type_id + name: facility_id__isw schema: type: array items: - type: integer - description: Device type + type: string explode: true style: form - in: query - name: device_type_id__n + name: facility_id__n schema: type: array items: - type: integer - description: Device type + type: string explode: true style: form - in: query - name: id + name: facility_id__nic schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__empty - schema: - type: boolean - - in: query - name: id__gt + name: facility_id__nie schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__gte + name: facility_id__niew schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__lt + name: facility_id__nisw schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__lte + name: form_factor schema: type: array items: - type: integer - format: int32 + type: string + x-spec-enum-id: e32aaa89a223f2ea explode: true style: form - in: query - name: id__n + name: form_factor__empty + schema: + type: boolean + - in: query + name: form_factor__ic schema: type: array items: - type: integer - format: int32 + type: string + x-spec-enum-id: e32aaa89a223f2ea + enum: + - '' + - 2-post-frame + - 4-post-cabinet + - 4-post-frame + - wall-cabinet + - wall-cabinet-vertical + - wall-frame + - wall-frame-vertical + description: '* `2-post-frame` - 2-post frame + + * `4-post-frame` - 4-post frame + + * `4-post-cabinet` - 4-post cabinet + + * `wall-frame` - Wall-mounted frame + + * `wall-frame-vertical` - Wall-mounted frame (vertical) + + * `wall-cabinet` - Wall-mounted cabinet + + * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical)' explode: true style: form - in: query - name: is_active - schema: - type: boolean - - in: query - name: last_updated + name: form_factor__ie schema: type: array items: type: string - format: date-time + x-spec-enum-id: e32aaa89a223f2ea + enum: + - '' + - 2-post-frame + - 4-post-cabinet + - 4-post-frame + - wall-cabinet + - wall-cabinet-vertical + - wall-frame + - wall-frame-vertical + description: '* `2-post-frame` - 2-post frame + + * `4-post-frame` - 4-post frame + + * `4-post-cabinet` - 4-post cabinet + + * `wall-frame` - Wall-mounted frame + + * `wall-frame-vertical` - Wall-mounted frame (vertical) + + * `wall-cabinet` - Wall-mounted cabinet + + * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical)' explode: true style: form - in: query - name: last_updated__empty + name: form_factor__iew schema: type: array items: type: string - format: date-time + x-spec-enum-id: e32aaa89a223f2ea + enum: + - '' + - 2-post-frame + - 4-post-cabinet + - 4-post-frame + - wall-cabinet + - wall-cabinet-vertical + - wall-frame + - wall-frame-vertical + description: '* `2-post-frame` - 2-post frame + + * `4-post-frame` - 4-post frame + + * `4-post-cabinet` - 4-post cabinet + + * `wall-frame` - Wall-mounted frame + + * `wall-frame-vertical` - Wall-mounted frame (vertical) + + * `wall-cabinet` - Wall-mounted cabinet + + * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical)' explode: true style: form - in: query - name: last_updated__gt + name: form_factor__isw schema: type: array items: type: string - format: date-time + x-spec-enum-id: e32aaa89a223f2ea + enum: + - '' + - 2-post-frame + - 4-post-cabinet + - 4-post-frame + - wall-cabinet + - wall-cabinet-vertical + - wall-frame + - wall-frame-vertical + description: '* `2-post-frame` - 2-post frame + + * `4-post-frame` - 4-post frame + + * `4-post-cabinet` - 4-post cabinet + + * `wall-frame` - Wall-mounted frame + + * `wall-frame-vertical` - Wall-mounted frame (vertical) + + * `wall-cabinet` - Wall-mounted cabinet + + * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical)' explode: true style: form - in: query - name: last_updated__gte + name: form_factor__n schema: type: array items: type: string - format: date-time + x-spec-enum-id: e32aaa89a223f2ea + enum: + - '' + - 2-post-frame + - 4-post-cabinet + - 4-post-frame + - wall-cabinet + - wall-cabinet-vertical + - wall-frame + - wall-frame-vertical + description: '* `2-post-frame` - 2-post frame + + * `4-post-frame` - 4-post frame + + * `4-post-cabinet` - 4-post cabinet + + * `wall-frame` - Wall-mounted frame + + * `wall-frame-vertical` - Wall-mounted frame (vertical) + + * `wall-cabinet` - Wall-mounted cabinet + + * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical)' explode: true style: form - in: query - name: last_updated__lt + name: form_factor__nic schema: type: array items: type: string - format: date-time + x-spec-enum-id: e32aaa89a223f2ea + enum: + - '' + - 2-post-frame + - 4-post-cabinet + - 4-post-frame + - wall-cabinet + - wall-cabinet-vertical + - wall-frame + - wall-frame-vertical + description: '* `2-post-frame` - 2-post frame + + * `4-post-frame` - 4-post frame + + * `4-post-cabinet` - 4-post cabinet + + * `wall-frame` - Wall-mounted frame + + * `wall-frame-vertical` - Wall-mounted frame (vertical) + + * `wall-cabinet` - Wall-mounted cabinet + + * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical)' explode: true style: form - in: query - name: last_updated__lte + name: form_factor__nie schema: type: array items: type: string - format: date-time + x-spec-enum-id: e32aaa89a223f2ea + enum: + - '' + - 2-post-frame + - 4-post-cabinet + - 4-post-frame + - wall-cabinet + - wall-cabinet-vertical + - wall-frame + - wall-frame-vertical + description: '* `2-post-frame` - 2-post frame + + * `4-post-frame` - 4-post frame + + * `4-post-cabinet` - 4-post cabinet + + * `wall-frame` - Wall-mounted frame + + * `wall-frame-vertical` - Wall-mounted frame (vertical) + + * `wall-cabinet` - Wall-mounted cabinet + + * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical)' explode: true style: form - in: query - name: last_updated__n + name: form_factor__niew schema: type: array items: type: string - format: date-time + x-spec-enum-id: e32aaa89a223f2ea + enum: + - '' + - 2-post-frame + - 4-post-cabinet + - 4-post-frame + - wall-cabinet + - wall-cabinet-vertical + - wall-frame + - wall-frame-vertical + description: '* `2-post-frame` - 2-post frame + + * `4-post-frame` - 4-post frame + + * `4-post-cabinet` - 4-post cabinet + + * `wall-frame` - Wall-mounted frame + + * `wall-frame-vertical` - Wall-mounted frame (vertical) + + * `wall-cabinet` - Wall-mounted cabinet + + * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical)' 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: form_factor__nisw schema: type: array items: type: string - description: Location (slug) + x-spec-enum-id: e32aaa89a223f2ea + enum: + - '' + - 2-post-frame + - 4-post-cabinet + - 4-post-frame + - wall-cabinet + - wall-cabinet-vertical + - wall-frame + - wall-frame-vertical + description: '* `2-post-frame` - 2-post frame + + * `4-post-frame` - 4-post frame + + * `4-post-cabinet` - 4-post cabinet + + * `wall-frame` - Wall-mounted frame + + * `wall-frame-vertical` - Wall-mounted frame (vertical) + + * `wall-cabinet` - Wall-mounted cabinet + + * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical)' explode: true style: form - in: query - name: location__n + name: id schema: type: array items: - type: string - description: Location (slug) + type: integer + format: int32 explode: true style: form - in: query - name: location_id + name: id__empty + schema: + type: boolean + - in: query + name: id__gt schema: type: array items: type: integer - description: Location + format: int32 explode: true style: form - in: query - name: location_id__n + name: id__gte schema: type: array items: type: integer - description: Location + format: int32 explode: true style: form - in: query - name: modified_by_request - schema: - type: string - format: uuid - - in: query - name: name + name: id__lt schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: name__empty - schema: - type: boolean - - in: query - name: name__ic + name: id__lte schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: name__ie + name: id__n schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: name__iew + name: last_updated schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: name__isw + name: last_updated__empty schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: name__n + name: last_updated__gt schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: name__nic + name: last_updated__gte schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: name__nie + name: last_updated__lt schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: name__niew + name: last_updated__lte schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: name__nisw + name: last_updated__n schema: type: array items: type: string + format: date-time explode: true style: form - - name: offset + - 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 - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - in: query - name: platform + name: location schema: type: array items: type: string - description: Platform (slug) explode: true style: form - in: query - name: platform__n + name: location__n schema: type: array items: type: string - description: Platform (slug) explode: true style: form - in: query - name: platform_id + name: location_id schema: type: array items: - type: integer - description: Platform + type: string explode: true style: form - in: query - name: platform_id__n + name: location_id__n schema: type: array items: - type: integer - description: Platform + type: string explode: true style: form - in: query - name: q - schema: - type: string - description: Search - - in: query - name: region + name: manufacturer schema: type: array items: type: string - description: Region (slug) + description: Manufacturer (slug) explode: true style: form - in: query - name: region__n + name: manufacturer__n schema: type: array items: type: string - description: Region (slug) + description: Manufacturer (slug) explode: true style: form - in: query - name: region_id + name: manufacturer_id schema: type: array items: type: integer - description: Region + description: Manufacturer (ID) explode: true style: form - in: query - name: region_id__n + name: manufacturer_id__n schema: type: array items: type: integer - description: Region + description: Manufacturer (ID) explode: true style: form - in: query - name: role + name: max_weight schema: type: array items: - type: string - description: Role (slug) + type: integer + format: int32 explode: true style: form - in: query - name: role__n + name: max_weight__empty + schema: + type: boolean + - in: query + name: max_weight__gt schema: type: array items: - type: string - description: Role (slug) + type: integer + format: int32 explode: true style: form - in: query - name: role_id + name: max_weight__gte schema: type: array items: type: integer - description: Role + format: int32 explode: true style: form - in: query - name: role_id__n + name: max_weight__lt schema: type: array items: type: integer - description: Role + format: int32 explode: true style: form - in: query - name: site + name: max_weight__lte schema: type: array items: - type: string - description: Site (slug) + type: integer + format: int32 explode: true style: form - in: query - name: site__n + name: max_weight__n schema: type: array items: - type: string - description: Site (slug) + type: integer + format: int32 explode: true style: form - in: query - name: site_group + name: modified_by_request + schema: + type: string + format: uuid + - in: query + name: mounting_depth schema: type: array items: - type: string - description: Site group (slug) + type: integer + format: int32 explode: true style: form - in: query - name: site_group__n + name: mounting_depth__empty + schema: + type: boolean + - in: query + name: mounting_depth__gt schema: type: array items: - type: string - description: Site group (slug) + type: integer + format: int32 explode: true style: form - in: query - name: site_group_id + name: mounting_depth__gte schema: type: array items: type: integer - description: Site group + format: int32 explode: true style: form - in: query - name: site_group_id__n + name: mounting_depth__lt schema: type: array items: type: integer - description: Site group + format: int32 explode: true style: form - in: query - name: site_id + name: mounting_depth__lte schema: type: array items: type: integer - description: Site + format: int32 explode: true style: form - in: query - name: site_id__n + name: mounting_depth__n schema: type: array items: type: integer - description: Site + format: int32 explode: true style: form - in: query - name: tag + name: name schema: type: array items: type: string - description: Tag (slug) explode: true style: form - in: query - name: tag__n + name: name__empty + schema: + type: boolean + - in: query + name: name__ic schema: type: array items: type: string - description: Tag (slug) explode: true style: form - in: query - name: tag_id + name: name__ie schema: type: array items: - type: integer - description: Tag + type: string explode: true style: form - in: query - name: tag_id__n + name: name__iew schema: type: array items: - type: integer - description: Tag + type: string explode: true style: form - in: query - name: tenant + name: name__isw schema: type: array items: type: string - description: Tenant (slug) explode: true style: form - in: query - name: tenant__n + name: name__n schema: type: array items: type: string - description: Tenant (slug) explode: true style: form - in: query - name: tenant_group + name: name__nic schema: type: array items: type: string - description: Tenant group (slug) explode: true style: form - in: query - name: tenant_group__n + name: name__nie schema: type: array items: type: string - description: Tenant group (slug) explode: true style: form - in: query - name: tenant_group_id + name: name__niew + 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 + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string + - in: query + name: outer_depth schema: type: array items: type: integer - description: Tenant group + format: int32 explode: true style: form - in: query - name: tenant_group_id__n + name: outer_depth__empty + schema: + type: boolean + - in: query + name: outer_depth__gt schema: type: array items: type: integer - description: Tenant group + format: int32 explode: true style: form - in: query - name: tenant_id + name: outer_depth__gte schema: type: array items: type: integer - description: Tenant + format: int32 explode: true style: form - in: query - name: tenant_id__n + name: outer_depth__lt schema: type: array items: type: integer - description: Tenant + format: int32 explode: true style: form - in: query - name: updated_by_request + name: outer_depth__lte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: outer_depth__n + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: outer_unit schema: type: string - format: uuid + x-spec-enum-id: 86a846b6c40f495e + enum: + - in + - mm + description: '* `mm` - Millimeters + + * `in` - Inches' - in: query - name: weight + name: outer_width schema: type: array items: @@ -53241,11 +75939,11 @@ paths: explode: true style: form - in: query - name: weight__empty + name: outer_width__empty schema: type: boolean - in: query - name: weight__gt + name: outer_width__gt schema: type: array items: @@ -53254,7 +75952,7 @@ paths: explode: true style: form - in: query - name: weight__gte + name: outer_width__gte schema: type: array items: @@ -53263,7 +75961,7 @@ paths: explode: true style: form - in: query - name: weight__lt + name: outer_width__lt schema: type: array items: @@ -53272,7 +75970,7 @@ paths: explode: true style: form - in: query - name: weight__lte + name: outer_width__lte schema: type: array items: @@ -53281,7 +75979,7 @@ paths: explode: true style: form - in: query - name: weight__n + name: outer_width__n schema: type: array items: @@ -53289,438 +75987,173 @@ paths: format: int32 explode: true style: form - tags: - - extras - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/PaginatedConfigContextList' - description: '' - post: - operationId: extras_config_contexts_create - description: Post a list of config context objects. - tags: - - extras - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/ConfigContextRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/ConfigContextRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '201': - content: - application/json: - schema: - $ref: '#/components/schemas/ConfigContext' - description: '' - put: - operationId: extras_config_contexts_bulk_update - description: Put a list of config context objects. - tags: - - extras - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ConfigContextRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/ConfigContextRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ConfigContext' - description: '' - patch: - operationId: extras_config_contexts_bulk_partial_update - description: Patch a list of config context objects. - tags: - - extras - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ConfigContextRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/ConfigContextRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ConfigContext' - description: '' - delete: - operationId: extras_config_contexts_bulk_destroy - description: Delete a list of config context objects. - tags: - - extras - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ConfigContextRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/ConfigContextRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '204': - description: No response body - /api/extras/config-contexts/{id}/: - get: - operationId: extras_config_contexts_retrieve - description: Get a config context object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this config context. - required: true - tags: - - extras - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/ConfigContext' - description: '' - put: - operationId: extras_config_contexts_update - description: Put a config context object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this config context. - required: true - tags: - - extras - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/ConfigContextRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/ConfigContextRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/ConfigContext' - description: '' - patch: - operationId: extras_config_contexts_partial_update - description: Patch a config context object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this config context. - required: true - tags: - - extras - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/PatchedConfigContextRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/PatchedConfigContextRequest' - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/ConfigContext' - description: '' - delete: - operationId: extras_config_contexts_destroy - description: Delete a config context object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this config context. - required: true - tags: - - extras - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '204': - description: No response body - /api/extras/config-contexts/{id}/sync/: - post: - operationId: extras_config_contexts_sync_create - description: Provide a /sync API endpoint to synchronize an object's data from - its associated DataFile (if any). - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this config context. - required: true - tags: - - extras - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/ConfigContextRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/ConfigContextRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/ConfigContext' - description: '' - /api/extras/config-templates/: - get: - operationId: extras_config_templates_list - description: Get a list of config template objects. - parameters: - in: query - name: auto_sync_enabled + name: q schema: - type: boolean + type: string + description: Search - in: query - name: created + name: rack_type schema: type: array items: type: string - format: date-time + description: Rack type (slug) explode: true style: form - in: query - name: created__empty + name: rack_type__n schema: type: array items: type: string - format: date-time + description: Rack type (slug) explode: true style: form - in: query - name: created__gt + name: rack_type_id schema: type: array items: - type: string - format: date-time + type: integer + nullable: true + description: Rack type (ID) explode: true style: form - in: query - name: created__gte + name: rack_type_id__n schema: type: array items: - type: string - format: date-time + type: integer + nullable: true + description: Rack type (ID) explode: true style: form - in: query - name: created__lt + name: region schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__lte + name: region__n schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__n + name: region_id schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created_by_request + name: region_id__n schema: - type: string - format: uuid + type: array + items: + type: string + explode: true + style: form - in: query - name: data_file_id + name: role schema: type: array items: - type: integer - nullable: true - description: Data file (ID) + type: string + description: Role (slug) explode: true style: form - in: query - name: data_file_id__n + name: role__n schema: type: array items: - type: integer - nullable: true - description: Data file (ID) + type: string + description: Role (slug) explode: true style: form - in: query - name: data_source_id + name: role_id schema: type: array items: type: integer nullable: true - description: Data source (ID) + description: Role (ID) explode: true style: form - in: query - name: data_source_id__n + name: role_id__n schema: type: array items: type: integer nullable: true - description: Data source (ID) + description: Role (ID) explode: true style: form - in: query - name: data_synced + name: serial schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: data_synced__empty + name: serial__empty schema: type: boolean - in: query - name: data_synced__gt + name: serial__ic schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: data_synced__gte + name: serial__ie schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: data_synced__lt + name: serial__iew schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: data_synced__lte + name: serial__isw schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: data_synced__n + name: serial__n schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: description + name: serial__nic schema: type: array items: @@ -53728,11 +76161,15 @@ paths: explode: true style: form - in: query - name: description__empty + name: serial__nie schema: - type: boolean + type: array + items: + type: string + explode: true + style: form - in: query - name: description__ic + name: serial__niew schema: type: array items: @@ -53740,7 +76177,7 @@ paths: explode: true style: form - in: query - name: description__ie + name: serial__nisw schema: type: array items: @@ -53748,23 +76185,25 @@ paths: explode: true style: form - in: query - name: description__iew + name: site schema: type: array items: type: string + description: Site (slug) explode: true style: form - in: query - name: description__isw + name: site__n schema: type: array items: type: string + description: Site (slug) explode: true style: form - in: query - name: description__n + name: site_group schema: type: array items: @@ -53772,7 +76211,7 @@ paths: explode: true style: form - in: query - name: description__nic + name: site_group__n schema: type: array items: @@ -53780,7 +76219,7 @@ paths: explode: true style: form - in: query - name: description__nie + name: site_group_id schema: type: array items: @@ -53788,7 +76227,7 @@ paths: explode: true style: form - in: query - name: description__niew + name: site_group_id__n schema: type: array items: @@ -53796,15 +76235,25 @@ paths: explode: true style: form - in: query - name: description__nisw + name: site_id schema: type: array items: - type: string + type: integer + description: Site (ID) explode: true style: form - in: query - name: id + name: site_id__n + schema: + type: array + items: + type: integer + description: Site (ID) + explode: true + style: form + - in: query + name: starting_unit schema: type: array items: @@ -53813,11 +76262,11 @@ paths: explode: true style: form - in: query - name: id__empty + name: starting_unit__empty schema: type: boolean - in: query - name: id__gt + name: starting_unit__gt schema: type: array items: @@ -53826,7 +76275,7 @@ paths: explode: true style: form - in: query - name: id__gte + name: starting_unit__gte schema: type: array items: @@ -53835,7 +76284,7 @@ paths: explode: true style: form - in: query - name: id__lt + name: starting_unit__lt schema: type: array items: @@ -53844,7 +76293,7 @@ paths: explode: true style: form - in: query - name: id__lte + name: starting_unit__lte schema: type: array items: @@ -53853,7 +76302,7 @@ paths: explode: true style: form - in: query - name: id__n + name: starting_unit__n schema: type: array items: @@ -53862,93 +76311,236 @@ paths: explode: true style: form - in: query - name: last_updated + name: status schema: type: array items: type: string - format: date-time + x-spec-enum-id: 0c556d55dc1baa13 explode: true style: form - in: query - name: last_updated__empty + name: status__empty + schema: + type: boolean + - in: query + name: status__ic schema: type: array items: type: string - format: date-time + x-spec-enum-id: 0c556d55dc1baa13 + enum: + - active + - available + - deprecated + - planned + - reserved + description: '* `reserved` - Reserved + + * `available` - Available + + * `planned` - Planned + + * `active` - Active + + * `deprecated` - Deprecated' explode: true style: form - in: query - name: last_updated__gt + name: status__ie schema: type: array items: type: string - format: date-time + x-spec-enum-id: 0c556d55dc1baa13 + enum: + - active + - available + - deprecated + - planned + - reserved + description: '* `reserved` - Reserved + + * `available` - Available + + * `planned` - Planned + + * `active` - Active + + * `deprecated` - Deprecated' explode: true style: form - in: query - name: last_updated__gte + name: status__iew schema: type: array items: type: string - format: date-time + x-spec-enum-id: 0c556d55dc1baa13 + enum: + - active + - available + - deprecated + - planned + - reserved + description: '* `reserved` - Reserved + + * `available` - Available + + * `planned` - Planned + + * `active` - Active + + * `deprecated` - Deprecated' explode: true style: form - in: query - name: last_updated__lt + name: status__isw schema: type: array items: type: string - format: date-time + x-spec-enum-id: 0c556d55dc1baa13 + enum: + - active + - available + - deprecated + - planned + - reserved + description: '* `reserved` - Reserved + + * `available` - Available + + * `planned` - Planned + + * `active` - Active + + * `deprecated` - Deprecated' explode: true style: form - in: query - name: last_updated__lte + name: status__n schema: type: array items: type: string - format: date-time + x-spec-enum-id: 0c556d55dc1baa13 + enum: + - active + - available + - deprecated + - planned + - reserved + description: '* `reserved` - Reserved + + * `available` - Available + + * `planned` - Planned + + * `active` - Active + + * `deprecated` - Deprecated' explode: true style: form - in: query - name: last_updated__n + name: status__nic schema: type: array items: type: string - format: date-time + x-spec-enum-id: 0c556d55dc1baa13 + enum: + - active + - available + - deprecated + - planned + - reserved + description: '* `reserved` - Reserved + + * `available` - Available + + * `planned` - Planned + + * `active` - Active + + * `deprecated` - Deprecated' explode: true style: form - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - in: query - name: modified_by_request + name: status__nie schema: - type: string - format: uuid + type: array + items: + type: string + x-spec-enum-id: 0c556d55dc1baa13 + enum: + - active + - available + - deprecated + - planned + - reserved + description: '* `reserved` - Reserved + + * `available` - Available + + * `planned` - Planned + + * `active` - Active + + * `deprecated` - Deprecated' + explode: true + style: form - in: query - name: name + name: status__niew schema: type: array items: type: string + x-spec-enum-id: 0c556d55dc1baa13 + enum: + - active + - available + - deprecated + - planned + - reserved + description: '* `reserved` - Reserved + + * `available` - Available + + * `planned` - Planned + + * `active` - Active + + * `deprecated` - Deprecated' explode: true style: form - in: query - name: name__empty + name: status__nisw schema: - type: boolean + type: array + items: + type: string + x-spec-enum-id: 0c556d55dc1baa13 + enum: + - active + - available + - deprecated + - planned + - reserved + description: '* `reserved` - Reserved + + * `available` - Available + + * `planned` - Planned + + * `active` - Active + + * `deprecated` - Deprecated' + explode: true + style: form - in: query - name: name__ic + name: tag schema: type: array items: @@ -53956,7 +76548,7 @@ paths: explode: true style: form - in: query - name: name__ie + name: tag__n schema: type: array items: @@ -53964,23 +76556,25 @@ paths: explode: true style: form - in: query - name: name__iew + name: tenant schema: type: array items: type: string + description: Tenant (slug) explode: true style: form - in: query - name: name__isw + name: tenant__n schema: type: array items: type: string + description: Tenant (slug) explode: true style: form - in: query - name: name__n + name: tenant_group schema: type: array items: @@ -53988,7 +76582,7 @@ paths: explode: true style: form - in: query - name: name__nic + name: tenant_group__n schema: type: array items: @@ -53996,7 +76590,7 @@ paths: explode: true style: form - in: query - name: name__nie + name: tenant_group_id schema: type: array items: @@ -54004,7 +76598,7 @@ paths: explode: true style: form - in: query - name: name__niew + name: tenant_group_id__n schema: type: array items: @@ -54012,44 +76606,81 @@ paths: explode: true style: form - in: query - name: name__nisw + name: tenant_id schema: type: array items: - type: string + type: integer + nullable: true + description: Tenant (ID) explode: true style: form - - name: offset - required: false - in: query - description: The initial index from which to return the results. + - in: query + name: tenant_id__n schema: - type: integer - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. + type: array + items: + type: integer + nullable: true + description: Tenant (ID) + explode: true + style: form + - in: query + name: u_height schema: - type: string + type: array + items: + type: integer + format: int32 + explode: true + style: form - in: query - name: q + name: u_height__empty schema: - type: string - description: Search + type: boolean - in: query - name: tag + name: u_height__gt schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: tag__n + name: u_height__gte schema: type: array items: - type: string + type: integer + format: int32 + explode: true + style: form + - in: query + name: u_height__lt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: u_height__lte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: u_height__n + schema: + type: array + items: + type: integer + format: int32 explode: true style: form - in: query @@ -54057,59 +76688,360 @@ paths: schema: type: string format: uuid - tags: - - extras - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/PaginatedConfigTemplateList' - description: '' - post: - operationId: extras_config_templates_create - description: Post a list of config template objects. - tags: - - extras - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/ConfigTemplateRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/ConfigTemplateRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '201': - content: - application/json: - schema: - $ref: '#/components/schemas/ConfigTemplate' - description: '' - put: - operationId: extras_config_templates_bulk_update - description: Put a list of config template objects. - tags: - - extras - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ConfigTemplateRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/ConfigTemplateRequest' + - in: query + name: weight + schema: + type: array + items: + type: number + format: double + explode: true + style: form + - in: query + name: weight__empty + schema: + type: boolean + - in: query + name: weight__gt + schema: + type: array + items: + type: number + format: double + explode: true + style: form + - in: query + name: weight__gte + schema: + type: array + items: + type: number + format: double + explode: true + style: form + - in: query + name: weight__lt + schema: + type: array + items: + type: number + format: double + explode: true + style: form + - in: query + name: weight__lte + schema: + type: array + items: + type: number + format: double + explode: true + style: form + - in: query + name: weight__n + schema: + type: array + items: + type: number + format: double + explode: true + style: form + - in: query + name: weight_unit + schema: + type: string + x-spec-enum-id: 7c1876f422815884 + enum: + - g + - kg + - lb + - oz + description: '* `kg` - Kilograms + + * `g` - Grams + + * `lb` - Pounds + + * `oz` - Ounces' + - in: query + name: width + schema: + type: array + items: + type: integer + x-spec-enum-id: 9b322795f297a9c3 + description: Rail-to-rail width + explode: true + style: form + - in: query + name: width__ic + schema: + type: array + items: + type: integer + x-spec-enum-id: 9b322795f297a9c3 + enum: + - 10 + - 19 + - 21 + - 23 + description: 'Rail-to-rail width + + + * `10` - 10 inches + + * `19` - 19 inches + + * `21` - 21 inches + + * `23` - 23 inches' + explode: true + style: form + - in: query + name: width__ie + schema: + type: array + items: + type: integer + x-spec-enum-id: 9b322795f297a9c3 + enum: + - 10 + - 19 + - 21 + - 23 + description: 'Rail-to-rail width + + + * `10` - 10 inches + + * `19` - 19 inches + + * `21` - 21 inches + + * `23` - 23 inches' + explode: true + style: form + - in: query + name: width__iew + schema: + type: array + items: + type: integer + x-spec-enum-id: 9b322795f297a9c3 + enum: + - 10 + - 19 + - 21 + - 23 + description: 'Rail-to-rail width + + + * `10` - 10 inches + + * `19` - 19 inches + + * `21` - 21 inches + + * `23` - 23 inches' + explode: true + style: form + - in: query + name: width__isw + schema: + type: array + items: + type: integer + x-spec-enum-id: 9b322795f297a9c3 + enum: + - 10 + - 19 + - 21 + - 23 + description: 'Rail-to-rail width + + + * `10` - 10 inches + + * `19` - 19 inches + + * `21` - 21 inches + + * `23` - 23 inches' + explode: true + style: form + - in: query + name: width__n + schema: + type: array + items: + type: integer + x-spec-enum-id: 9b322795f297a9c3 + enum: + - 10 + - 19 + - 21 + - 23 + description: 'Rail-to-rail width + + + * `10` - 10 inches + + * `19` - 19 inches + + * `21` - 21 inches + + * `23` - 23 inches' + explode: true + style: form + - in: query + name: width__nic + schema: + type: array + items: + type: integer + x-spec-enum-id: 9b322795f297a9c3 + enum: + - 10 + - 19 + - 21 + - 23 + description: 'Rail-to-rail width + + + * `10` - 10 inches + + * `19` - 19 inches + + * `21` - 21 inches + + * `23` - 23 inches' + explode: true + style: form + - in: query + name: width__nie + schema: + type: array + items: + type: integer + x-spec-enum-id: 9b322795f297a9c3 + enum: + - 10 + - 19 + - 21 + - 23 + description: 'Rail-to-rail width + + + * `10` - 10 inches + + * `19` - 19 inches + + * `21` - 21 inches + + * `23` - 23 inches' + explode: true + style: form + - in: query + name: width__niew + schema: + type: array + items: + type: integer + x-spec-enum-id: 9b322795f297a9c3 + enum: + - 10 + - 19 + - 21 + - 23 + description: 'Rail-to-rail width + + + * `10` - 10 inches + + * `19` - 19 inches + + * `21` - 21 inches + + * `23` - 23 inches' + explode: true + style: form + - in: query + name: width__nisw + schema: + type: array + items: + type: integer + x-spec-enum-id: 9b322795f297a9c3 + enum: + - 10 + - 19 + - 21 + - 23 + description: 'Rail-to-rail width + + + * `10` - 10 inches + + * `19` - 19 inches + + * `21` - 21 inches + + * `23` - 23 inches' + explode: true + style: form + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/PaginatedRackList' + description: '' + post: + operationId: dcim_racks_create + description: Post a list of rack objects. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableRackRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableRackRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json: + schema: + $ref: '#/components/schemas/Rack' + description: '' + put: + operationId: dcim_racks_bulk_update + description: Put a list of rack objects. + tags: + - dcim + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/RackRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/RackRequest' required: true security: - cookieAuth: [] @@ -54121,25 +77053,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ConfigTemplate' + $ref: '#/components/schemas/Rack' description: '' patch: - operationId: extras_config_templates_bulk_partial_update - description: Patch a list of config template objects. + operationId: dcim_racks_bulk_partial_update + description: Patch a list of rack objects. tags: - - extras + - dcim requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/ConfigTemplateRequest' + $ref: '#/components/schemas/RackRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ConfigTemplateRequest' + $ref: '#/components/schemas/RackRequest' required: true security: - cookieAuth: [] @@ -54151,25 +77083,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ConfigTemplate' + $ref: '#/components/schemas/Rack' description: '' delete: - operationId: extras_config_templates_bulk_destroy - description: Delete a list of config template objects. + operationId: dcim_racks_bulk_destroy + description: Delete a list of rack objects. tags: - - extras + - dcim requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/ConfigTemplateRequest' + $ref: '#/components/schemas/RackRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ConfigTemplateRequest' + $ref: '#/components/schemas/RackRequest' required: true security: - cookieAuth: [] @@ -54177,19 +77109,19 @@ paths: responses: '204': description: No response body - /api/extras/config-templates/{id}/: + /api/dcim/racks/{id}/: get: - operationId: extras_config_templates_retrieve - description: Get a config template object. + operationId: dcim_racks_retrieve + description: Get a rack object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this config template. + description: A unique integer value identifying this rack. required: true tags: - - extras + - dcim security: - cookieAuth: [] - tokenAuth: [] @@ -54198,28 +77130,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ConfigTemplate' + $ref: '#/components/schemas/Rack' description: '' put: - operationId: extras_config_templates_update - description: Put a config template object. + operationId: dcim_racks_update + description: Put a rack object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this config template. + description: A unique integer value identifying this rack. required: true tags: - - extras + - dcim requestBody: content: application/json: schema: - $ref: '#/components/schemas/ConfigTemplateRequest' + $ref: '#/components/schemas/WritableRackRequest' multipart/form-data: schema: - $ref: '#/components/schemas/ConfigTemplateRequest' + $ref: '#/components/schemas/WritableRackRequest' required: true security: - cookieAuth: [] @@ -54229,28 +77161,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ConfigTemplate' + $ref: '#/components/schemas/Rack' description: '' patch: - operationId: extras_config_templates_partial_update - description: Patch a config template object. + operationId: dcim_racks_partial_update + description: Patch a rack object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this config template. + description: A unique integer value identifying this rack. required: true tags: - - extras + - dcim requestBody: content: application/json: schema: - $ref: '#/components/schemas/PatchedConfigTemplateRequest' + $ref: '#/components/schemas/PatchedWritableRackRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedConfigTemplateRequest' + $ref: '#/components/schemas/PatchedWritableRackRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -54259,94 +77191,115 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ConfigTemplate' + $ref: '#/components/schemas/Rack' description: '' delete: - operationId: extras_config_templates_destroy - description: Delete a config template object. + operationId: dcim_racks_destroy + description: Delete a rack object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this config template. + description: A unique integer value identifying this rack. required: true tags: - - extras + - dcim security: - cookieAuth: [] - tokenAuth: [] responses: '204': description: No response body - /api/extras/config-templates/{id}/render/: - post: - operationId: extras_config_templates_render_create - description: 'Render a ConfigTemplate using the context data provided (if any). - If the client requests "text/plain" data, - - return the raw rendered content, rather than serialized JSON.' + /api/dcim/racks/{id}/elevation/: + get: + operationId: dcim_racks_elevation_retrieve + description: Rack elevation representing the list of rack units. Also supports + rendering the elevation as an SVG. parameters: - in: query - name: format + name: exclude + schema: + type: integer + - in: query + name: expand_devices + schema: + type: boolean + default: true + - in: query + name: face schema: - type: string enum: - - json - - txt + - front + - rear + type: string + x-spec-enum-id: d2fb9b3f75158b83 + default: front + minLength: 1 + description: '* `front` - Front + + * `rear` - Rear' - in: path name: id schema: type: integer - description: A unique integer value identifying this config template. - required: true - tags: - - extras - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/ConfigTemplateRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/ConfigTemplateRequest' + description: A unique integer value identifying this rack. required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/ConfigTemplate' - text/plain: - schema: - $ref: '#/components/schemas/ConfigTemplate' - description: '' - /api/extras/config-templates/{id}/sync/: - post: - operationId: extras_config_templates_sync_create - description: Provide a /sync API endpoint to synchronize an object's data from - its associated DataFile (if any). - parameters: - - in: path - name: id + - in: query + name: include_images + schema: + type: boolean + default: true + - in: query + name: legend_width + schema: + type: integer + default: 30 + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: margin_width + schema: + type: integer + default: 15 + - 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 + minLength: 1 + - in: query + name: render + schema: + enum: + - json + - svg + type: string + x-spec-enum-id: 09901a5ff13ba07a + default: json + minLength: 1 + description: '* `json` - json + + * `svg` - svg' + - in: query + name: unit_height + schema: + type: integer + - in: query + name: unit_width schema: type: integer - description: A unique integer value identifying this config template. - required: true tags: - - extras - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/ConfigTemplateRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/ConfigTemplateRequest' - required: true + - dcim security: - cookieAuth: [] - tokenAuth: [] @@ -54355,49 +77308,91 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ConfigTemplate' + $ref: '#/components/schemas/PaginatedRackUnitList' description: '' - /api/extras/custom-field-choice-sets/: + /api/dcim/rear-port-templates/: get: - operationId: extras_custom_field_choice_sets_list - description: Get a list of custom field choice set objects. + operationId: dcim_rear_port_templates_list + description: Get a list of rear port template objects. parameters: - in: query - name: base_choices + name: color schema: - type: string - x-spec-enum-id: cf0efb5195f85007 - enum: - - IATA - - ISO_3166 - - UN_LOCODE - description: 'Base set of predefined choices (optional) - - - * `IATA` - IATA (Airport codes) - - * `ISO_3166` - ISO 3166 (Country codes) - - * `UN_LOCODE` - UN/LOCODE (Location codes)' + type: array + items: + type: string + explode: true + style: form - in: query - name: base_choices__n + name: color__empty schema: - type: string - x-spec-enum-id: cf0efb5195f85007 - enum: - - IATA - - ISO_3166 - - UN_LOCODE - description: 'Base set of predefined choices (optional) - - - * `IATA` - IATA (Airport codes) - - * `ISO_3166` - ISO 3166 (Country codes) - - * `UN_LOCODE` - UN/LOCODE (Location codes)' + type: boolean - in: query - name: choice + name: color__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__nisw schema: type: array items: @@ -54556,6 +77551,26 @@ paths: type: string explode: true style: form + - in: query + name: device_type_id + schema: + type: array + items: + type: integer + nullable: true + description: Device type (ID) + explode: true + style: form + - in: query + name: device_type_id__n + schema: + type: array + items: + type: integer + nullable: true + description: Device type (ID) + explode: true + style: form - in: query name: id schema: @@ -54615,81 +77630,67 @@ paths: explode: true style: form - in: query - name: last_updated + name: label schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__empty + name: label__empty + schema: + type: boolean + - in: query + name: label__ic schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__gt + name: label__ie schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__gte + name: label__iew schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__lt + name: label__isw schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__lte + name: label__n schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__n + name: label__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: modified_by_request - schema: - type: string - format: uuid - in: query - name: name + name: label__nie schema: type: array items: @@ -54697,11 +77698,7 @@ paths: explode: true style: form - in: query - name: name__empty - schema: - type: boolean - - in: query - name: name__ic + name: label__niew schema: type: array items: @@ -54709,7 +77706,7 @@ paths: explode: true style: form - in: query - name: name__ie + name: label__nisw schema: type: array items: @@ -54717,347 +77714,101 @@ paths: explode: true style: form - in: query - name: name__iew + name: last_updated schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: name__isw + name: last_updated__empty schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: name__n + name: last_updated__gt schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: name__nic + name: last_updated__gte schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: name__nie + name: last_updated__lt schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: name__niew + name: last_updated__lte schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: name__nisw + name: last_updated__n schema: type: array items: type: string + format: date-time explode: true style: form - - name: offset + - 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: order_alphabetically - schema: - type: boolean - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - in: query - name: q - schema: - type: string - description: Search - - in: query - name: updated_by_request + name: modified_by_request schema: type: string format: uuid - tags: - - extras - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/PaginatedCustomFieldChoiceSetList' - description: '' - post: - operationId: extras_custom_field_choice_sets_create - description: Post a list of custom field choice set objects. - tags: - - extras - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/WritableCustomFieldChoiceSetRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/WritableCustomFieldChoiceSetRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '201': - content: - application/json: - schema: - $ref: '#/components/schemas/CustomFieldChoiceSet' - description: '' - put: - operationId: extras_custom_field_choice_sets_bulk_update - description: Put a list of custom field choice set objects. - tags: - - extras - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/CustomFieldChoiceSetRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/CustomFieldChoiceSetRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/CustomFieldChoiceSet' - description: '' - patch: - operationId: extras_custom_field_choice_sets_bulk_partial_update - description: Patch a list of custom field choice set objects. - tags: - - extras - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/CustomFieldChoiceSetRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/CustomFieldChoiceSetRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/CustomFieldChoiceSet' - description: '' - delete: - operationId: extras_custom_field_choice_sets_bulk_destroy - description: Delete a list of custom field choice set objects. - tags: - - extras - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/CustomFieldChoiceSetRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/CustomFieldChoiceSetRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '204': - description: No response body - /api/extras/custom-field-choice-sets/{id}/: - get: - operationId: extras_custom_field_choice_sets_retrieve - description: Get a custom field choice set object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this custom field choice set. - required: true - tags: - - extras - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/CustomFieldChoiceSet' - description: '' - put: - operationId: extras_custom_field_choice_sets_update - description: Put a custom field choice set object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this custom field choice set. - required: true - tags: - - extras - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/WritableCustomFieldChoiceSetRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/WritableCustomFieldChoiceSetRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/CustomFieldChoiceSet' - description: '' - patch: - operationId: extras_custom_field_choice_sets_partial_update - description: Patch a custom field choice set object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this custom field choice set. - required: true - tags: - - extras - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/PatchedWritableCustomFieldChoiceSetRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/PatchedWritableCustomFieldChoiceSetRequest' - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/CustomFieldChoiceSet' - description: '' - delete: - operationId: extras_custom_field_choice_sets_destroy - description: Delete a custom field choice set object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this custom field choice set. - required: true - tags: - - extras - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '204': - description: No response body - /api/extras/custom-field-choice-sets/{id}/choices/: - get: - operationId: extras_custom_field_choice_sets_choices_retrieve - description: Provides an endpoint to iterate through each choice in a set. - parameters: - - in: path - name: id + - in: query + name: module_type_id schema: - type: integer - description: A unique integer value identifying this custom field choice set. - required: true - tags: - - extras - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/CustomFieldChoiceSet' - description: '' - /api/extras/custom-fields/: - get: - operationId: extras_custom_fields_list - description: Get a list of custom field objects. - parameters: + type: array + items: + type: integer + nullable: true + description: Module type (ID) + explode: true + style: form - in: query - name: choice_set + name: module_type_id__n schema: type: array items: - type: string + type: integer + nullable: true + description: Module type (ID) explode: true style: form - in: query - name: choice_set__n + name: name schema: type: array items: @@ -55065,359 +77816,2004 @@ paths: explode: true style: form - in: query - name: choice_set_id + name: name__empty + schema: + type: boolean + - in: query + name: name__ic schema: type: array items: - type: integer - nullable: true + type: string explode: true style: form - in: query - name: choice_set_id__n + name: name__ie schema: type: array items: - type: integer - nullable: true + type: string explode: true style: form - in: query - name: created + name: name__iew schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__empty + name: name__isw schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__gt + name: name__n schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__gte + name: name__nic schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__lt + name: name__nie schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__lte + name: name__niew schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__n + name: name__nisw schema: type: array items: type: string - format: date-time explode: true style: form - - in: query - name: created_by_request + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. schema: type: string - format: uuid - in: query - name: description + name: positions schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: description__empty + name: positions__empty schema: type: boolean - in: query - name: description__ic + name: positions__gt schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: description__ie + name: positions__gte schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: description__iew + name: positions__lt schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: description__isw + name: positions__lte schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: description__n + name: positions__n schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: description__nic + name: q schema: - type: array - items: - type: string - explode: true - style: form + type: string + description: Search - in: query - name: description__nie + name: type schema: type: array items: type: string + x-spec-enum-id: c5086c01f1f9c18a explode: true style: form - in: query - name: description__niew + name: type__empty schema: - type: array - items: - type: string - explode: true - style: form + type: boolean - in: query - name: description__nisw + name: type__ic schema: type: array items: type: string - explode: true - style: form - - in: query - name: filter_logic - schema: - type: string - x-spec-enum-id: a958350ae21c10ee - enum: - - disabled - - exact - - loose - description: 'Loose matches any instance of a given string; exact matches - the entire field. + x-spec-enum-id: c5086c01f1f9c18a + enum: + - 110-punch + - 4p2c + - 4p4c + - 6p2c + - 6p4c + - 6p6c + - 8p2c + - 8p4c + - 8p6c + - 8p8c + - bnc + - cs + - f + - fc + - gg45 + - lc + - lc-apc + - lc-pc + - lc-upc + - lsh + - lsh-apc + - lsh-pc + - lsh-upc + - lx5 + - lx5-apc + - lx5-pc + - lx5-upc + - mpo + - mrj21 + - mtrj + - n + - other + - sc + - sc-apc + - sc-pc + - sc-upc + - sma-905 + - sma-906 + - sn + - splice + - st + - tera-1p + - tera-2p + - tera-4p + - urm-p2 + - urm-p4 + - urm-p8 + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: '* `8p8c` - 8P8C + * `8p6c` - 8P6C - * `disabled` - Disabled + * `8p4c` - 8P4C - * `loose` - Loose + * `8p2c` - 8P2C - * `exact` - Exact' - - in: query - name: filter_logic__n - schema: - type: string - x-spec-enum-id: a958350ae21c10ee - enum: - - disabled - - exact - - loose - description: 'Loose matches any instance of a given string; exact matches - the entire field. + * `6p6c` - 6P6C + * `6p4c` - 6P4C - * `disabled` - Disabled + * `6p2c` - 6P2C - * `loose` - Loose + * `4p4c` - 4P4C - * `exact` - Exact' - - in: query - name: group_name - schema: - type: array - items: - type: string + * `4p2c` - 4P2C + + * `gg45` - GG45 + + * `tera-4p` - TERA 4P + + * `tera-2p` - TERA 2P + + * `tera-1p` - TERA 1P + + * `110-punch` - 110 Punch + + * `bnc` - BNC + + * `f` - F Connector + + * `n` - N Connector + + * `mrj21` - MRJ21 + + * `fc` - FC + + * `lc` - LC + + * `lc-pc` - LC/PC + + * `lc-upc` - LC/UPC + + * `lc-apc` - LC/APC + + * `lsh` - LSH + + * `lsh-pc` - LSH/PC + + * `lsh-upc` - LSH/UPC + + * `lsh-apc` - LSH/APC + + * `lx5` - LX.5 + + * `lx5-pc` - LX.5/PC + + * `lx5-upc` - LX.5/UPC + + * `lx5-apc` - LX.5/APC + + * `mpo` - MPO + + * `mtrj` - MTRJ + + * `sc` - SC + + * `sc-pc` - SC/PC + + * `sc-upc` - SC/UPC + + * `sc-apc` - SC/APC + + * `st` - ST + + * `cs` - CS + + * `sn` - SN + + * `sma-905` - SMA 905 + + * `sma-906` - SMA 906 + + * `urm-p2` - URM-P2 + + * `urm-p4` - URM-P4 + + * `urm-p8` - URM-P8 + + * `splice` - Splice + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' explode: true style: form - in: query - name: group_name__empty - schema: - type: boolean - - in: query - name: group_name__ic + name: type__ie schema: type: array items: type: string + x-spec-enum-id: c5086c01f1f9c18a + enum: + - 110-punch + - 4p2c + - 4p4c + - 6p2c + - 6p4c + - 6p6c + - 8p2c + - 8p4c + - 8p6c + - 8p8c + - bnc + - cs + - f + - fc + - gg45 + - lc + - lc-apc + - lc-pc + - lc-upc + - lsh + - lsh-apc + - lsh-pc + - lsh-upc + - lx5 + - lx5-apc + - lx5-pc + - lx5-upc + - mpo + - mrj21 + - mtrj + - n + - other + - sc + - sc-apc + - sc-pc + - sc-upc + - sma-905 + - sma-906 + - sn + - splice + - st + - tera-1p + - tera-2p + - tera-4p + - urm-p2 + - urm-p4 + - urm-p8 + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: '* `8p8c` - 8P8C + + * `8p6c` - 8P6C + + * `8p4c` - 8P4C + + * `8p2c` - 8P2C + + * `6p6c` - 6P6C + + * `6p4c` - 6P4C + + * `6p2c` - 6P2C + + * `4p4c` - 4P4C + + * `4p2c` - 4P2C + + * `gg45` - GG45 + + * `tera-4p` - TERA 4P + + * `tera-2p` - TERA 2P + + * `tera-1p` - TERA 1P + + * `110-punch` - 110 Punch + + * `bnc` - BNC + + * `f` - F Connector + + * `n` - N Connector + + * `mrj21` - MRJ21 + + * `fc` - FC + + * `lc` - LC + + * `lc-pc` - LC/PC + + * `lc-upc` - LC/UPC + + * `lc-apc` - LC/APC + + * `lsh` - LSH + + * `lsh-pc` - LSH/PC + + * `lsh-upc` - LSH/UPC + + * `lsh-apc` - LSH/APC + + * `lx5` - LX.5 + + * `lx5-pc` - LX.5/PC + + * `lx5-upc` - LX.5/UPC + + * `lx5-apc` - LX.5/APC + + * `mpo` - MPO + + * `mtrj` - MTRJ + + * `sc` - SC + + * `sc-pc` - SC/PC + + * `sc-upc` - SC/UPC + + * `sc-apc` - SC/APC + + * `st` - ST + + * `cs` - CS + + * `sn` - SN + + * `sma-905` - SMA 905 + + * `sma-906` - SMA 906 + + * `urm-p2` - URM-P2 + + * `urm-p4` - URM-P4 + + * `urm-p8` - URM-P8 + + * `splice` - Splice + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' explode: true style: form - in: query - name: group_name__ie + name: type__iew schema: type: array items: type: string + x-spec-enum-id: c5086c01f1f9c18a + enum: + - 110-punch + - 4p2c + - 4p4c + - 6p2c + - 6p4c + - 6p6c + - 8p2c + - 8p4c + - 8p6c + - 8p8c + - bnc + - cs + - f + - fc + - gg45 + - lc + - lc-apc + - lc-pc + - lc-upc + - lsh + - lsh-apc + - lsh-pc + - lsh-upc + - lx5 + - lx5-apc + - lx5-pc + - lx5-upc + - mpo + - mrj21 + - mtrj + - n + - other + - sc + - sc-apc + - sc-pc + - sc-upc + - sma-905 + - sma-906 + - sn + - splice + - st + - tera-1p + - tera-2p + - tera-4p + - urm-p2 + - urm-p4 + - urm-p8 + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: '* `8p8c` - 8P8C + + * `8p6c` - 8P6C + + * `8p4c` - 8P4C + + * `8p2c` - 8P2C + + * `6p6c` - 6P6C + + * `6p4c` - 6P4C + + * `6p2c` - 6P2C + + * `4p4c` - 4P4C + + * `4p2c` - 4P2C + + * `gg45` - GG45 + + * `tera-4p` - TERA 4P + + * `tera-2p` - TERA 2P + + * `tera-1p` - TERA 1P + + * `110-punch` - 110 Punch + + * `bnc` - BNC + + * `f` - F Connector + + * `n` - N Connector + + * `mrj21` - MRJ21 + + * `fc` - FC + + * `lc` - LC + + * `lc-pc` - LC/PC + + * `lc-upc` - LC/UPC + + * `lc-apc` - LC/APC + + * `lsh` - LSH + + * `lsh-pc` - LSH/PC + + * `lsh-upc` - LSH/UPC + + * `lsh-apc` - LSH/APC + + * `lx5` - LX.5 + + * `lx5-pc` - LX.5/PC + + * `lx5-upc` - LX.5/UPC + + * `lx5-apc` - LX.5/APC + + * `mpo` - MPO + + * `mtrj` - MTRJ + + * `sc` - SC + + * `sc-pc` - SC/PC + + * `sc-upc` - SC/UPC + + * `sc-apc` - SC/APC + + * `st` - ST + + * `cs` - CS + + * `sn` - SN + + * `sma-905` - SMA 905 + + * `sma-906` - SMA 906 + + * `urm-p2` - URM-P2 + + * `urm-p4` - URM-P4 + + * `urm-p8` - URM-P8 + + * `splice` - Splice + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' explode: true style: form - in: query - name: group_name__iew + name: type__isw schema: type: array items: type: string + x-spec-enum-id: c5086c01f1f9c18a + enum: + - 110-punch + - 4p2c + - 4p4c + - 6p2c + - 6p4c + - 6p6c + - 8p2c + - 8p4c + - 8p6c + - 8p8c + - bnc + - cs + - f + - fc + - gg45 + - lc + - lc-apc + - lc-pc + - lc-upc + - lsh + - lsh-apc + - lsh-pc + - lsh-upc + - lx5 + - lx5-apc + - lx5-pc + - lx5-upc + - mpo + - mrj21 + - mtrj + - n + - other + - sc + - sc-apc + - sc-pc + - sc-upc + - sma-905 + - sma-906 + - sn + - splice + - st + - tera-1p + - tera-2p + - tera-4p + - urm-p2 + - urm-p4 + - urm-p8 + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: '* `8p8c` - 8P8C + + * `8p6c` - 8P6C + + * `8p4c` - 8P4C + + * `8p2c` - 8P2C + + * `6p6c` - 6P6C + + * `6p4c` - 6P4C + + * `6p2c` - 6P2C + + * `4p4c` - 4P4C + + * `4p2c` - 4P2C + + * `gg45` - GG45 + + * `tera-4p` - TERA 4P + + * `tera-2p` - TERA 2P + + * `tera-1p` - TERA 1P + + * `110-punch` - 110 Punch + + * `bnc` - BNC + + * `f` - F Connector + + * `n` - N Connector + + * `mrj21` - MRJ21 + + * `fc` - FC + + * `lc` - LC + + * `lc-pc` - LC/PC + + * `lc-upc` - LC/UPC + + * `lc-apc` - LC/APC + + * `lsh` - LSH + + * `lsh-pc` - LSH/PC + + * `lsh-upc` - LSH/UPC + + * `lsh-apc` - LSH/APC + + * `lx5` - LX.5 + + * `lx5-pc` - LX.5/PC + + * `lx5-upc` - LX.5/UPC + + * `lx5-apc` - LX.5/APC + + * `mpo` - MPO + + * `mtrj` - MTRJ + + * `sc` - SC + + * `sc-pc` - SC/PC + + * `sc-upc` - SC/UPC + + * `sc-apc` - SC/APC + + * `st` - ST + + * `cs` - CS + + * `sn` - SN + + * `sma-905` - SMA 905 + + * `sma-906` - SMA 906 + + * `urm-p2` - URM-P2 + + * `urm-p4` - URM-P4 + + * `urm-p8` - URM-P8 + + * `splice` - Splice + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' explode: true style: form - in: query - name: group_name__isw + name: type__n schema: type: array items: type: string + x-spec-enum-id: c5086c01f1f9c18a + enum: + - 110-punch + - 4p2c + - 4p4c + - 6p2c + - 6p4c + - 6p6c + - 8p2c + - 8p4c + - 8p6c + - 8p8c + - bnc + - cs + - f + - fc + - gg45 + - lc + - lc-apc + - lc-pc + - lc-upc + - lsh + - lsh-apc + - lsh-pc + - lsh-upc + - lx5 + - lx5-apc + - lx5-pc + - lx5-upc + - mpo + - mrj21 + - mtrj + - n + - other + - sc + - sc-apc + - sc-pc + - sc-upc + - sma-905 + - sma-906 + - sn + - splice + - st + - tera-1p + - tera-2p + - tera-4p + - urm-p2 + - urm-p4 + - urm-p8 + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: '* `8p8c` - 8P8C + + * `8p6c` - 8P6C + + * `8p4c` - 8P4C + + * `8p2c` - 8P2C + + * `6p6c` - 6P6C + + * `6p4c` - 6P4C + + * `6p2c` - 6P2C + + * `4p4c` - 4P4C + + * `4p2c` - 4P2C + + * `gg45` - GG45 + + * `tera-4p` - TERA 4P + + * `tera-2p` - TERA 2P + + * `tera-1p` - TERA 1P + + * `110-punch` - 110 Punch + + * `bnc` - BNC + + * `f` - F Connector + + * `n` - N Connector + + * `mrj21` - MRJ21 + + * `fc` - FC + + * `lc` - LC + + * `lc-pc` - LC/PC + + * `lc-upc` - LC/UPC + + * `lc-apc` - LC/APC + + * `lsh` - LSH + + * `lsh-pc` - LSH/PC + + * `lsh-upc` - LSH/UPC + + * `lsh-apc` - LSH/APC + + * `lx5` - LX.5 + + * `lx5-pc` - LX.5/PC + + * `lx5-upc` - LX.5/UPC + + * `lx5-apc` - LX.5/APC + + * `mpo` - MPO + + * `mtrj` - MTRJ + + * `sc` - SC + + * `sc-pc` - SC/PC + + * `sc-upc` - SC/UPC + + * `sc-apc` - SC/APC + + * `st` - ST + + * `cs` - CS + + * `sn` - SN + + * `sma-905` - SMA 905 + + * `sma-906` - SMA 906 + + * `urm-p2` - URM-P2 + + * `urm-p4` - URM-P4 + + * `urm-p8` - URM-P8 + + * `splice` - Splice + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' explode: true style: form - in: query - name: group_name__n + name: type__nic schema: type: array items: type: string + x-spec-enum-id: c5086c01f1f9c18a + enum: + - 110-punch + - 4p2c + - 4p4c + - 6p2c + - 6p4c + - 6p6c + - 8p2c + - 8p4c + - 8p6c + - 8p8c + - bnc + - cs + - f + - fc + - gg45 + - lc + - lc-apc + - lc-pc + - lc-upc + - lsh + - lsh-apc + - lsh-pc + - lsh-upc + - lx5 + - lx5-apc + - lx5-pc + - lx5-upc + - mpo + - mrj21 + - mtrj + - n + - other + - sc + - sc-apc + - sc-pc + - sc-upc + - sma-905 + - sma-906 + - sn + - splice + - st + - tera-1p + - tera-2p + - tera-4p + - urm-p2 + - urm-p4 + - urm-p8 + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: '* `8p8c` - 8P8C + + * `8p6c` - 8P6C + + * `8p4c` - 8P4C + + * `8p2c` - 8P2C + + * `6p6c` - 6P6C + + * `6p4c` - 6P4C + + * `6p2c` - 6P2C + + * `4p4c` - 4P4C + + * `4p2c` - 4P2C + + * `gg45` - GG45 + + * `tera-4p` - TERA 4P + + * `tera-2p` - TERA 2P + + * `tera-1p` - TERA 1P + + * `110-punch` - 110 Punch + + * `bnc` - BNC + + * `f` - F Connector + + * `n` - N Connector + + * `mrj21` - MRJ21 + + * `fc` - FC + + * `lc` - LC + + * `lc-pc` - LC/PC + + * `lc-upc` - LC/UPC + + * `lc-apc` - LC/APC + + * `lsh` - LSH + + * `lsh-pc` - LSH/PC + + * `lsh-upc` - LSH/UPC + + * `lsh-apc` - LSH/APC + + * `lx5` - LX.5 + + * `lx5-pc` - LX.5/PC + + * `lx5-upc` - LX.5/UPC + + * `lx5-apc` - LX.5/APC + + * `mpo` - MPO + + * `mtrj` - MTRJ + + * `sc` - SC + + * `sc-pc` - SC/PC + + * `sc-upc` - SC/UPC + + * `sc-apc` - SC/APC + + * `st` - ST + + * `cs` - CS + + * `sn` - SN + + * `sma-905` - SMA 905 + + * `sma-906` - SMA 906 + + * `urm-p2` - URM-P2 + + * `urm-p4` - URM-P4 + + * `urm-p8` - URM-P8 + + * `splice` - Splice + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' explode: true style: form - in: query - name: group_name__nic + name: type__nie schema: type: array items: type: string + x-spec-enum-id: c5086c01f1f9c18a + enum: + - 110-punch + - 4p2c + - 4p4c + - 6p2c + - 6p4c + - 6p6c + - 8p2c + - 8p4c + - 8p6c + - 8p8c + - bnc + - cs + - f + - fc + - gg45 + - lc + - lc-apc + - lc-pc + - lc-upc + - lsh + - lsh-apc + - lsh-pc + - lsh-upc + - lx5 + - lx5-apc + - lx5-pc + - lx5-upc + - mpo + - mrj21 + - mtrj + - n + - other + - sc + - sc-apc + - sc-pc + - sc-upc + - sma-905 + - sma-906 + - sn + - splice + - st + - tera-1p + - tera-2p + - tera-4p + - urm-p2 + - urm-p4 + - urm-p8 + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: '* `8p8c` - 8P8C + + * `8p6c` - 8P6C + + * `8p4c` - 8P4C + + * `8p2c` - 8P2C + + * `6p6c` - 6P6C + + * `6p4c` - 6P4C + + * `6p2c` - 6P2C + + * `4p4c` - 4P4C + + * `4p2c` - 4P2C + + * `gg45` - GG45 + + * `tera-4p` - TERA 4P + + * `tera-2p` - TERA 2P + + * `tera-1p` - TERA 1P + + * `110-punch` - 110 Punch + + * `bnc` - BNC + + * `f` - F Connector + + * `n` - N Connector + + * `mrj21` - MRJ21 + + * `fc` - FC + + * `lc` - LC + + * `lc-pc` - LC/PC + + * `lc-upc` - LC/UPC + + * `lc-apc` - LC/APC + + * `lsh` - LSH + + * `lsh-pc` - LSH/PC + + * `lsh-upc` - LSH/UPC + + * `lsh-apc` - LSH/APC + + * `lx5` - LX.5 + + * `lx5-pc` - LX.5/PC + + * `lx5-upc` - LX.5/UPC + + * `lx5-apc` - LX.5/APC + + * `mpo` - MPO + + * `mtrj` - MTRJ + + * `sc` - SC + + * `sc-pc` - SC/PC + + * `sc-upc` - SC/UPC + + * `sc-apc` - SC/APC + + * `st` - ST + + * `cs` - CS + + * `sn` - SN + + * `sma-905` - SMA 905 + + * `sma-906` - SMA 906 + + * `urm-p2` - URM-P2 + + * `urm-p4` - URM-P4 + + * `urm-p8` - URM-P8 + + * `splice` - Splice + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' explode: true style: form - in: query - name: group_name__nie + name: type__niew schema: type: array items: type: string + x-spec-enum-id: c5086c01f1f9c18a + enum: + - 110-punch + - 4p2c + - 4p4c + - 6p2c + - 6p4c + - 6p6c + - 8p2c + - 8p4c + - 8p6c + - 8p8c + - bnc + - cs + - f + - fc + - gg45 + - lc + - lc-apc + - lc-pc + - lc-upc + - lsh + - lsh-apc + - lsh-pc + - lsh-upc + - lx5 + - lx5-apc + - lx5-pc + - lx5-upc + - mpo + - mrj21 + - mtrj + - n + - other + - sc + - sc-apc + - sc-pc + - sc-upc + - sma-905 + - sma-906 + - sn + - splice + - st + - tera-1p + - tera-2p + - tera-4p + - urm-p2 + - urm-p4 + - urm-p8 + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: '* `8p8c` - 8P8C + + * `8p6c` - 8P6C + + * `8p4c` - 8P4C + + * `8p2c` - 8P2C + + * `6p6c` - 6P6C + + * `6p4c` - 6P4C + + * `6p2c` - 6P2C + + * `4p4c` - 4P4C + + * `4p2c` - 4P2C + + * `gg45` - GG45 + + * `tera-4p` - TERA 4P + + * `tera-2p` - TERA 2P + + * `tera-1p` - TERA 1P + + * `110-punch` - 110 Punch + + * `bnc` - BNC + + * `f` - F Connector + + * `n` - N Connector + + * `mrj21` - MRJ21 + + * `fc` - FC + + * `lc` - LC + + * `lc-pc` - LC/PC + + * `lc-upc` - LC/UPC + + * `lc-apc` - LC/APC + + * `lsh` - LSH + + * `lsh-pc` - LSH/PC + + * `lsh-upc` - LSH/UPC + + * `lsh-apc` - LSH/APC + + * `lx5` - LX.5 + + * `lx5-pc` - LX.5/PC + + * `lx5-upc` - LX.5/UPC + + * `lx5-apc` - LX.5/APC + + * `mpo` - MPO + + * `mtrj` - MTRJ + + * `sc` - SC + + * `sc-pc` - SC/PC + + * `sc-upc` - SC/UPC + + * `sc-apc` - SC/APC + + * `st` - ST + + * `cs` - CS + + * `sn` - SN + + * `sma-905` - SMA 905 + + * `sma-906` - SMA 906 + + * `urm-p2` - URM-P2 + + * `urm-p4` - URM-P4 + + * `urm-p8` - URM-P8 + + * `splice` - Splice + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' explode: true style: form - in: query - name: group_name__niew + name: type__nisw schema: type: array items: type: string + x-spec-enum-id: c5086c01f1f9c18a + enum: + - 110-punch + - 4p2c + - 4p4c + - 6p2c + - 6p4c + - 6p6c + - 8p2c + - 8p4c + - 8p6c + - 8p8c + - bnc + - cs + - f + - fc + - gg45 + - lc + - lc-apc + - lc-pc + - lc-upc + - lsh + - lsh-apc + - lsh-pc + - lsh-upc + - lx5 + - lx5-apc + - lx5-pc + - lx5-upc + - mpo + - mrj21 + - mtrj + - n + - other + - sc + - sc-apc + - sc-pc + - sc-upc + - sma-905 + - sma-906 + - sn + - splice + - st + - tera-1p + - tera-2p + - tera-4p + - urm-p2 + - urm-p4 + - urm-p8 + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: '* `8p8c` - 8P8C + + * `8p6c` - 8P6C + + * `8p4c` - 8P4C + + * `8p2c` - 8P2C + + * `6p6c` - 6P6C + + * `6p4c` - 6P4C + + * `6p2c` - 6P2C + + * `4p4c` - 4P4C + + * `4p2c` - 4P2C + + * `gg45` - GG45 + + * `tera-4p` - TERA 4P + + * `tera-2p` - TERA 2P + + * `tera-1p` - TERA 1P + + * `110-punch` - 110 Punch + + * `bnc` - BNC + + * `f` - F Connector + + * `n` - N Connector + + * `mrj21` - MRJ21 + + * `fc` - FC + + * `lc` - LC + + * `lc-pc` - LC/PC + + * `lc-upc` - LC/UPC + + * `lc-apc` - LC/APC + + * `lsh` - LSH + + * `lsh-pc` - LSH/PC + + * `lsh-upc` - LSH/UPC + + * `lsh-apc` - LSH/APC + + * `lx5` - LX.5 + + * `lx5-pc` - LX.5/PC + + * `lx5-upc` - LX.5/UPC + + * `lx5-apc` - LX.5/APC + + * `mpo` - MPO + + * `mtrj` - MTRJ + + * `sc` - SC + + * `sc-pc` - SC/PC + + * `sc-upc` - SC/UPC + + * `sc-apc` - SC/APC + + * `st` - ST + + * `cs` - CS + + * `sn` - SN + + * `sma-905` - SMA 905 + + * `sma-906` - SMA 906 + + * `urm-p2` - URM-P2 + + * `urm-p4` - URM-P4 + + * `urm-p8` - URM-P8 + + * `splice` - Splice + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' explode: true style: form - in: query - name: group_name__nisw + name: updated_by_request schema: - type: array - items: - type: string - explode: true - style: form - - in: query + type: string + format: uuid + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/PaginatedRearPortTemplateList' + description: '' + post: + operationId: dcim_rear_port_templates_create + description: Post a list of rear port template objects. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableRearPortTemplateRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableRearPortTemplateRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json: + schema: + $ref: '#/components/schemas/RearPortTemplate' + description: '' + put: + operationId: dcim_rear_port_templates_bulk_update + description: Put a list of rear port template objects. + tags: + - dcim + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/RearPortTemplateRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/RearPortTemplateRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/RearPortTemplate' + description: '' + patch: + operationId: dcim_rear_port_templates_bulk_partial_update + description: Patch a list of rear port template objects. + tags: + - dcim + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/RearPortTemplateRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/RearPortTemplateRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/RearPortTemplate' + description: '' + delete: + operationId: dcim_rear_port_templates_bulk_destroy + description: Delete a list of rear port template objects. + tags: + - dcim + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/RearPortTemplateRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/RearPortTemplateRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /api/dcim/rear-port-templates/{id}/: + get: + operationId: dcim_rear_port_templates_retrieve + description: Get a rear port template object. + parameters: + - in: path name: id schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: id__empty + type: integer + description: A unique integer value identifying this rear port template. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/RearPortTemplate' + description: '' + put: + operationId: dcim_rear_port_templates_update + description: Put a rear port template object. + parameters: + - in: path + name: id schema: - type: boolean - - in: query - name: id__gt + type: integer + description: A unique integer value identifying this rear port template. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableRearPortTemplateRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableRearPortTemplateRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/RearPortTemplate' + description: '' + patch: + operationId: dcim_rear_port_templates_partial_update + description: Patch a rear port template object. + parameters: + - in: path + name: id schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: id__gte + type: integer + description: A unique integer value identifying this rear port template. + required: true + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableRearPortTemplateRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableRearPortTemplateRequest' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/RearPortTemplate' + description: '' + delete: + operationId: dcim_rear_port_templates_destroy + description: Delete a rear port template object. + parameters: + - in: path + name: id schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form + type: integer + description: A unique integer value identifying this rear port template. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /api/dcim/rear-ports/: + get: + operationId: dcim_rear_ports_list + description: Get a list of rear port objects. + parameters: - in: query - name: id__lt + name: cable_end schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form + type: string + x-spec-enum-id: 1db84f9b93b261c8 + enum: + - A + - B + description: '* `A` - A + + * `B` - B' - in: query - name: id__lte + name: cable_id schema: type: array items: type: integer - format: int32 + nullable: true + description: Cable (ID) explode: true style: form - in: query - name: id__n + name: cable_id__n schema: type: array items: type: integer - format: int32 + nullable: true + description: Cable (ID) explode: true style: form - in: query - name: is_cloneable + name: cabled schema: type: boolean - in: query - name: label + name: color schema: type: array items: @@ -55425,11 +79821,11 @@ paths: explode: true style: form - in: query - name: label__empty + name: color__empty schema: type: boolean - in: query - name: label__ic + name: color__ic schema: type: array items: @@ -55437,7 +79833,7 @@ paths: explode: true style: form - in: query - name: label__ie + name: color__ie schema: type: array items: @@ -55445,7 +79841,7 @@ paths: explode: true style: form - in: query - name: label__iew + name: color__iew schema: type: array items: @@ -55453,7 +79849,7 @@ paths: explode: true style: form - in: query - name: label__isw + name: color__isw schema: type: array items: @@ -55461,7 +79857,7 @@ paths: explode: true style: form - in: query - name: label__n + name: color__n schema: type: array items: @@ -55469,7 +79865,7 @@ paths: explode: true style: form - in: query - name: label__nic + name: color__nic schema: type: array items: @@ -55477,7 +79873,7 @@ paths: explode: true style: form - in: query - name: label__nie + name: color__nie schema: type: array items: @@ -55485,7 +79881,7 @@ paths: explode: true style: form - in: query - name: label__niew + name: color__niew schema: type: array items: @@ -55493,7 +79889,7 @@ paths: explode: true style: form - in: query - name: label__nisw + name: color__nisw schema: type: array items: @@ -55501,7 +79897,7 @@ paths: explode: true style: form - in: query - name: last_updated + name: created schema: type: array items: @@ -55510,7 +79906,7 @@ paths: explode: true style: form - in: query - name: last_updated__empty + name: created__empty schema: type: array items: @@ -55519,7 +79915,7 @@ paths: explode: true style: form - in: query - name: last_updated__gt + name: created__gt schema: type: array items: @@ -55528,7 +79924,7 @@ paths: explode: true style: form - in: query - name: last_updated__gte + name: created__gte schema: type: array items: @@ -55537,7 +79933,7 @@ paths: explode: true style: form - in: query - name: last_updated__lt + name: created__lt schema: type: array items: @@ -55546,7 +79942,7 @@ paths: explode: true style: form - in: query - name: last_updated__lte + name: created__lte schema: type: array items: @@ -55555,7 +79951,7 @@ paths: explode: true style: form - in: query - name: last_updated__n + name: created__n schema: type: array items: @@ -55563,19 +79959,13 @@ 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: modified_by_request + name: created_by_request schema: type: string format: uuid - in: query - name: name + name: description schema: type: array items: @@ -55583,11 +79973,11 @@ paths: explode: true style: form - in: query - name: name__empty + name: description__empty schema: type: boolean - in: query - name: name__ic + name: description__ic schema: type: array items: @@ -55595,7 +79985,7 @@ paths: explode: true style: form - in: query - name: name__ie + name: description__ie schema: type: array items: @@ -55603,7 +79993,7 @@ paths: explode: true style: form - in: query - name: name__iew + name: description__iew schema: type: array items: @@ -55611,7 +80001,7 @@ paths: explode: true style: form - in: query - name: name__isw + name: description__isw schema: type: array items: @@ -55619,7 +80009,7 @@ paths: explode: true style: form - in: query - name: name__n + name: description__n schema: type: array items: @@ -55627,7 +80017,7 @@ paths: explode: true style: form - in: query - name: name__nic + name: description__nic schema: type: array items: @@ -55635,7 +80025,7 @@ paths: explode: true style: form - in: query - name: name__nie + name: description__nie schema: type: array items: @@ -55643,7 +80033,7 @@ paths: explode: true style: form - in: query - name: name__niew + name: description__niew schema: type: array items: @@ -55651,7 +80041,7 @@ paths: explode: true style: form - in: query - name: name__nisw + name: description__nisw schema: type: array items: @@ -55659,319 +80049,400 @@ paths: explode: true style: form - in: query - name: object_type - schema: - type: string - - in: query - name: object_type__ic - schema: - type: string - - in: query - name: object_type__ie - schema: - type: string - - in: query - name: object_type__iew - schema: - type: string - - in: query - name: object_type__isw - schema: - type: string - - in: query - name: object_type__n - schema: - type: string - - in: query - name: object_type__nic - schema: - type: string - - in: query - name: object_type__nie - schema: - type: string - - in: query - name: object_type__niew - schema: - type: string - - in: query - name: object_type__nisw - schema: - type: string - - in: query - name: object_type_id + name: device schema: type: array items: - type: integer + type: string + nullable: true + description: Device (name) explode: true style: form - in: query - name: object_type_id__n + name: device__n schema: type: array items: - type: integer + type: string + nullable: true + description: Device (name) explode: true style: form - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - in: query - name: q - schema: - type: string - description: Search - - in: query - name: related_object_type - schema: - type: string - - in: query - name: related_object_type__n - schema: - type: string - in: query - name: related_object_type_id + name: device_id schema: type: array items: type: integer + description: Device (ID) explode: true style: form - in: query - name: related_object_type_id__n + name: device_id__n schema: type: array items: type: integer + description: Device (ID) explode: true style: form - in: query - name: required - schema: - type: boolean - - in: query - name: search_weight + name: device_role schema: type: array items: - type: integer - format: int32 + type: string + description: Device role (slug) explode: true style: form - in: query - name: search_weight__empty - schema: - type: boolean - - in: query - name: search_weight__gt + name: device_role__n schema: type: array items: - type: integer - format: int32 + type: string + description: Device role (slug) explode: true style: form - in: query - name: search_weight__gte + name: device_role_id schema: type: array items: type: integer - format: int32 + description: Device role (ID) explode: true style: form - in: query - name: search_weight__lt + name: device_role_id__n schema: type: array items: type: integer - format: int32 + description: Device role (ID) explode: true style: form - in: query - name: search_weight__lte + name: device_status schema: type: array items: - type: integer - format: int32 + type: string + x-spec-enum-id: 8d8971779f16ee18 explode: true style: form - in: query - name: search_weight__n + name: device_status__empty schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form + type: boolean - in: query - name: type + name: device_status__ic schema: type: array items: type: string - x-spec-enum-id: 22e3a64138d10046 - description: The type of data this custom field holds + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: type__n + name: device_status__ie schema: type: array items: type: string - x-spec-enum-id: 22e3a64138d10046 - description: The type of data this custom field holds + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: ui_editable + name: device_status__iew schema: - type: string - x-spec-enum-id: 1065673147e26bb5 - enum: - - hidden - - 'no' - - 'yes' - description: 'Specifies whether the custom field value can be edited in the - UI + type: array + items: + type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + * `active` - Active - * `yes` - Yes + * `planned` - Planned - * `no` - No + * `staged` - Staged - * `hidden` - Hidden' + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' + explode: true + style: form - in: query - name: ui_editable__n + name: device_status__isw schema: - type: string - x-spec-enum-id: 1065673147e26bb5 - enum: - - hidden - - 'no' - - 'yes' - description: 'Specifies whether the custom field value can be edited in the - UI + type: array + items: + type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + * `active` - Active - * `yes` - Yes + * `planned` - Planned - * `no` - No + * `staged` - Staged - * `hidden` - Hidden' + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' + explode: true + style: form - in: query - name: ui_visible + name: device_status__n schema: - type: string - x-spec-enum-id: cd2cf94af56de747 - enum: - - always - - hidden - - if-set - description: 'Specifies whether the custom field is displayed in the UI + type: array + items: + type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + * `active` - Active - * `always` - Always + * `planned` - Planned - * `if-set` - If set + * `staged` - Staged - * `hidden` - Hidden' + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' + explode: true + style: form - in: query - name: ui_visible__n + name: device_status__nic schema: - type: string - x-spec-enum-id: cd2cf94af56de747 - enum: - - always - - hidden - - if-set - description: 'Specifies whether the custom field is displayed in the UI + type: array + items: + type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + * `active` - Active - * `always` - Always + * `planned` - Planned - * `if-set` - If set + * `staged` - Staged - * `hidden` - Hidden' - - in: query - name: updated_by_request - schema: - type: string - format: uuid + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' + explode: true + style: form - in: query - name: validation_maximum + name: device_status__nie schema: type: array items: - type: integer - format: int32 + type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: validation_maximum__empty + name: device_status__niew schema: - type: boolean + type: array + items: + type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' + explode: true + style: form - in: query - name: validation_maximum__gt + name: device_status__nisw schema: type: array items: - type: integer - format: int32 + type: string + x-spec-enum-id: 8d8971779f16ee18 + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' explode: true style: form - in: query - name: validation_maximum__gte + name: device_type schema: type: array items: - type: integer - format: int32 + type: string + description: Device type (model) explode: true style: form - in: query - name: validation_maximum__lt + name: device_type__n schema: type: array items: - type: integer - format: int32 + type: string + description: Device type (model) explode: true style: form - in: query - name: validation_maximum__lte + name: device_type_id schema: type: array items: type: integer - format: int32 + description: Device type (ID) explode: true style: form - in: query - name: validation_maximum__n + name: device_type_id__n schema: type: array items: type: integer - format: int32 + description: Device type (ID) explode: true style: form - in: query - name: validation_minimum + name: id schema: type: array items: @@ -55980,11 +80451,11 @@ paths: explode: true style: form - in: query - name: validation_minimum__empty + name: id__empty schema: type: boolean - in: query - name: validation_minimum__gt + name: id__gt schema: type: array items: @@ -55993,7 +80464,7 @@ paths: explode: true style: form - in: query - name: validation_minimum__gte + name: id__gte schema: type: array items: @@ -56002,7 +80473,7 @@ paths: explode: true style: form - in: query - name: validation_minimum__lt + name: id__lt schema: type: array items: @@ -56011,7 +80482,7 @@ paths: explode: true style: form - in: query - name: validation_minimum__lte + name: id__lte schema: type: array items: @@ -56020,7 +80491,7 @@ paths: explode: true style: form - in: query - name: validation_minimum__n + name: id__n schema: type: array items: @@ -56029,7 +80500,7 @@ paths: explode: true style: form - in: query - name: validation_regex + name: label schema: type: array items: @@ -56037,11 +80508,11 @@ paths: explode: true style: form - in: query - name: validation_regex__empty + name: label__empty schema: type: boolean - in: query - name: validation_regex__ic + name: label__ic schema: type: array items: @@ -56049,7 +80520,7 @@ paths: explode: true style: form - in: query - name: validation_regex__ie + name: label__ie schema: type: array items: @@ -56057,7 +80528,7 @@ paths: explode: true style: form - in: query - name: validation_regex__iew + name: label__iew schema: type: array items: @@ -56065,7 +80536,7 @@ paths: explode: true style: form - in: query - name: validation_regex__isw + name: label__isw schema: type: array items: @@ -56073,7 +80544,7 @@ paths: explode: true style: form - in: query - name: validation_regex__n + name: label__n schema: type: array items: @@ -56081,7 +80552,7 @@ paths: explode: true style: form - in: query - name: validation_regex__nic + name: label__nic schema: type: array items: @@ -56089,7 +80560,7 @@ paths: explode: true style: form - in: query - name: validation_regex__nie + name: label__nie schema: type: array items: @@ -56097,7 +80568,7 @@ paths: explode: true style: form - in: query - name: validation_regex__niew + name: label__niew schema: type: array items: @@ -56105,7 +80576,7 @@ paths: explode: true style: form - in: query - name: validation_regex__nisw + name: label__nisw schema: type: array items: @@ -56113,400 +80584,61 @@ paths: explode: true style: form - in: query - name: weight + name: last_updated schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: weight__empty - schema: - type: boolean - - in: query - name: weight__gt + name: last_updated__empty schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: weight__gte + name: last_updated__gt schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: weight__lt + name: last_updated__gte schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: weight__lte + name: last_updated__lt schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: weight__n + name: last_updated__lte schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - tags: - - extras - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/PaginatedCustomFieldList' - description: '' - post: - operationId: extras_custom_fields_create - description: Post a list of custom field objects. - tags: - - extras - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/WritableCustomFieldRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/WritableCustomFieldRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '201': - content: - application/json: - schema: - $ref: '#/components/schemas/CustomField' - description: '' - put: - operationId: extras_custom_fields_bulk_update - description: Put a list of custom field objects. - tags: - - extras - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/CustomFieldRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/CustomFieldRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/CustomField' - description: '' - patch: - operationId: extras_custom_fields_bulk_partial_update - description: Patch a list of custom field objects. - tags: - - extras - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/CustomFieldRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/CustomFieldRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/CustomField' - description: '' - delete: - operationId: extras_custom_fields_bulk_destroy - description: Delete a list of custom field objects. - tags: - - extras - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/CustomFieldRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/CustomFieldRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '204': - description: No response body - /api/extras/custom-fields/{id}/: - get: - operationId: extras_custom_fields_retrieve - description: Get a custom field object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this custom field. - required: true - tags: - - extras - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/CustomField' - description: '' - put: - operationId: extras_custom_fields_update - description: Put a custom field object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this custom field. - required: true - tags: - - extras - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/WritableCustomFieldRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/WritableCustomFieldRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/CustomField' - description: '' - patch: - operationId: extras_custom_fields_partial_update - description: Patch a custom field object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this custom field. - required: true - tags: - - extras - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/PatchedWritableCustomFieldRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/PatchedWritableCustomFieldRequest' - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/CustomField' - description: '' - delete: - operationId: extras_custom_fields_destroy - description: Delete a custom field object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this custom field. - required: true - tags: - - extras - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '204': - description: No response body - /api/extras/custom-links/: - get: - operationId: extras_custom_links_list - description: Get a list of custom link objects. - parameters: - - in: query - name: button_class - schema: - type: string - x-spec-enum-id: 9378cdf56abee54a - enum: - - black - - blue - - cyan - - ghost-dark - - gray - - green - - indigo - - orange - - outline-dark - - pink - - purple - - red - - teal - - white - - yellow - description: 'The class of the first link in a group will be used for the - dropdown button - - - * `outline-dark` - Default - - * `blue` - Blue - - * `indigo` - Indigo - - * `purple` - Purple - - * `pink` - Pink - - * `red` - Red - - * `orange` - Orange - - * `yellow` - Yellow - - * `green` - Green - - * `teal` - Teal - - * `cyan` - Cyan - - * `gray` - Gray - - * `black` - Black - - * `white` - White - - * `ghost-dark` - Link' - - in: query - name: button_class__n - schema: - type: string - x-spec-enum-id: 9378cdf56abee54a - enum: - - black - - blue - - cyan - - ghost-dark - - gray - - green - - indigo - - orange - - outline-dark - - pink - - purple - - red - - teal - - white - - yellow - description: 'The class of the first link in a group will be used for the - dropdown button - - - * `outline-dark` - Default - - * `blue` - Blue - - * `indigo` - Indigo - - * `purple` - Purple - - * `pink` - Pink - - * `red` - Red - - * `orange` - Orange - - * `yellow` - Yellow - - * `green` - Green - - * `teal` - Teal - - * `cyan` - Cyan - - * `gray` - Gray - - * `black` - Black - - * `white` - White - - * `ghost-dark` - Link' - in: query - name: created + name: last_updated__n schema: type: array items: @@ -56514,71 +80646,79 @@ 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: created__empty + name: location schema: type: array items: type: string - format: date-time + description: Location (slug) explode: true style: form - in: query - name: created__gt + name: location__n schema: type: array items: type: string - format: date-time + description: Location (slug) explode: true style: form - in: query - name: created__gte + name: location_id schema: type: array items: - type: string - format: date-time + type: integer + description: Location (ID) explode: true style: form - in: query - name: created__lt + name: location_id__n schema: type: array items: - type: string - format: date-time + type: integer + description: Location (ID) explode: true style: form - in: query - name: created__lte + name: mark_connected + schema: + type: boolean + - in: query + name: modified_by_request + schema: + type: string + format: uuid + - in: query + name: module_id schema: type: array items: - type: string - format: date-time + type: integer + nullable: true + description: Module (ID) explode: true style: form - in: query - name: created__n + name: module_id__n schema: type: array items: - type: string - format: date-time + type: integer + nullable: true + description: Module (ID) explode: true style: form - in: query - name: created_by_request - schema: - type: string - format: uuid - - in: query - name: enabled - schema: - type: boolean - - in: query - name: group_name + name: name schema: type: array items: @@ -56586,11 +80726,11 @@ paths: explode: true style: form - in: query - name: group_name__empty + name: name__empty schema: type: boolean - in: query - name: group_name__ic + name: name__ic schema: type: array items: @@ -56598,7 +80738,7 @@ paths: explode: true style: form - in: query - name: group_name__ie + name: name__ie schema: type: array items: @@ -56606,7 +80746,7 @@ paths: explode: true style: form - in: query - name: group_name__iew + name: name__iew schema: type: array items: @@ -56614,7 +80754,7 @@ paths: explode: true style: form - in: query - name: group_name__isw + name: name__isw schema: type: array items: @@ -56622,7 +80762,7 @@ paths: explode: true style: form - in: query - name: group_name__n + name: name__n schema: type: array items: @@ -56630,7 +80770,7 @@ paths: explode: true style: form - in: query - name: group_name__nic + name: name__nic schema: type: array items: @@ -56638,7 +80778,7 @@ paths: explode: true style: form - in: query - name: group_name__nie + name: name__nie schema: type: array items: @@ -56646,7 +80786,7 @@ paths: explode: true style: form - in: query - name: group_name__niew + name: name__niew schema: type: array items: @@ -56654,7 +80794,7 @@ paths: explode: true style: form - in: query - name: group_name__nisw + name: name__nisw schema: type: array items: @@ -56662,7 +80802,23 @@ paths: explode: true style: form - in: query - name: id + name: occupied + schema: + type: boolean + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string + - in: query + name: positions schema: type: array items: @@ -56671,11 +80827,11 @@ paths: explode: true style: form - in: query - name: id__empty + name: positions__empty schema: type: boolean - in: query - name: id__gt + name: positions__gt schema: type: array items: @@ -56684,7 +80840,7 @@ paths: explode: true style: form - in: query - name: id__gte + name: positions__gte schema: type: array items: @@ -56693,7 +80849,7 @@ paths: explode: true style: form - in: query - name: id__lt + name: positions__lt schema: type: array items: @@ -56702,7 +80858,7 @@ paths: explode: true style: form - in: query - name: id__lte + name: positions__lte schema: type: array items: @@ -56711,7 +80867,7 @@ paths: explode: true style: form - in: query - name: id__n + name: positions__n schema: type: array items: @@ -56720,161 +80876,72 @@ paths: explode: true style: form - in: query - name: last_updated + name: q + schema: + type: string + description: Search + - in: query + name: rack schema: type: array items: type: string - format: date-time + description: Rack (name) explode: true style: form - in: query - name: last_updated__empty + name: rack__n schema: type: array items: type: string - format: date-time + description: Rack (name) explode: true style: form - in: query - name: last_updated__gt + name: rack_id schema: type: array items: - type: string - format: date-time + type: integer + description: Rack (ID) explode: true style: form - in: query - name: last_updated__gte + name: rack_id__n schema: type: array items: - type: string - format: date-time + type: integer + description: Rack (ID) explode: true style: form - in: query - name: last_updated__lt + name: region schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__lte + name: region__n schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__n + name: region_id 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: link_text - schema: - type: string - - in: query - name: link_text__ic - schema: - type: string - - in: query - name: link_text__ie - schema: - type: string - - in: query - name: link_text__iew - schema: - type: string - - in: query - name: link_text__isw - schema: - type: string - - in: query - name: link_text__n - schema: - type: string - - in: query - name: link_text__nic - schema: - type: string - - in: query - name: link_text__nie - schema: - type: string - - in: query - name: link_text__niew - schema: - type: string - - in: query - name: link_text__nisw - schema: - type: string - - in: query - name: link_url - schema: - type: string - - in: query - name: link_url__ic - schema: - type: string - - in: query - name: link_url__ie - schema: - type: string - - in: query - name: link_url__iew - schema: - type: string - - in: query - name: link_url__isw - schema: - type: string - - in: query - name: link_url__n - schema: - type: string - - in: query - name: link_url__nic - schema: - type: string - - in: query - name: link_url__nie - schema: - type: string - - in: query - name: link_url__niew - schema: - type: string - - in: query - name: link_url__nisw - schema: - type: string - - in: query - name: modified_by_request - schema: - type: string - format: uuid - in: query - name: name + name: region_id__n schema: type: array items: @@ -56882,27 +80949,25 @@ paths: explode: true style: form - in: query - name: name__empty - schema: - type: boolean - - in: query - name: name__ic + name: site schema: type: array items: type: string + description: Site name (slug) explode: true style: form - in: query - name: name__ie + name: site__n schema: type: array items: type: string + description: Site name (slug) explode: true style: form - in: query - name: name__iew + name: site_group schema: type: array items: @@ -56910,7 +80975,7 @@ paths: explode: true style: form - in: query - name: name__isw + name: site_group__n schema: type: array items: @@ -56918,7 +80983,7 @@ paths: explode: true style: form - in: query - name: name__n + name: site_group_id schema: type: array items: @@ -56926,7 +80991,7 @@ paths: explode: true style: form - in: query - name: name__nic + name: site_group_id__n schema: type: array items: @@ -56934,23 +80999,25 @@ paths: explode: true style: form - in: query - name: name__nie + name: site_id schema: type: array items: - type: string + type: integer + description: Site (ID) explode: true style: form - in: query - name: name__niew + name: site_id__n schema: type: array items: - type: string + type: integer + description: Site (ID) explode: true style: form - in: query - name: name__nisw + name: tag schema: type: array items: @@ -56958,147 +81025,1635 @@ paths: explode: true style: form - in: query - name: new_window - schema: - type: boolean - - in: query - name: object_type - schema: - type: string - - in: query - name: object_type__ic - schema: - type: string - - in: query - name: object_type__ie - schema: - type: string - - in: query - name: object_type__iew - schema: - type: string - - in: query - name: object_type__isw - schema: - type: string - - in: query - name: object_type__n - schema: - type: string - - in: query - name: object_type__nic - schema: - type: string - - in: query - name: object_type__nie - schema: - type: string - - in: query - name: object_type__niew - schema: - type: string - - in: query - name: object_type__nisw - schema: - type: string - - in: query - name: object_type_id + name: tag__n schema: type: array items: - type: integer + type: string explode: true style: form - in: query - name: object_type_id__n + name: type schema: type: array items: - type: integer + type: string + x-spec-enum-id: c5086c01f1f9c18a explode: true style: form - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - in: query - name: q - schema: - type: string - description: Search - in: query - name: updated_by_request + name: type__empty schema: - type: string - format: uuid + type: boolean - in: query - name: weight + name: type__ic schema: type: array items: - type: integer - format: int32 + type: string + x-spec-enum-id: c5086c01f1f9c18a + enum: + - 110-punch + - 4p2c + - 4p4c + - 6p2c + - 6p4c + - 6p6c + - 8p2c + - 8p4c + - 8p6c + - 8p8c + - bnc + - cs + - f + - fc + - gg45 + - lc + - lc-apc + - lc-pc + - lc-upc + - lsh + - lsh-apc + - lsh-pc + - lsh-upc + - lx5 + - lx5-apc + - lx5-pc + - lx5-upc + - mpo + - mrj21 + - mtrj + - n + - other + - sc + - sc-apc + - sc-pc + - sc-upc + - sma-905 + - sma-906 + - sn + - splice + - st + - tera-1p + - tera-2p + - tera-4p + - urm-p2 + - urm-p4 + - urm-p8 + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: '* `8p8c` - 8P8C + + * `8p6c` - 8P6C + + * `8p4c` - 8P4C + + * `8p2c` - 8P2C + + * `6p6c` - 6P6C + + * `6p4c` - 6P4C + + * `6p2c` - 6P2C + + * `4p4c` - 4P4C + + * `4p2c` - 4P2C + + * `gg45` - GG45 + + * `tera-4p` - TERA 4P + + * `tera-2p` - TERA 2P + + * `tera-1p` - TERA 1P + + * `110-punch` - 110 Punch + + * `bnc` - BNC + + * `f` - F Connector + + * `n` - N Connector + + * `mrj21` - MRJ21 + + * `fc` - FC + + * `lc` - LC + + * `lc-pc` - LC/PC + + * `lc-upc` - LC/UPC + + * `lc-apc` - LC/APC + + * `lsh` - LSH + + * `lsh-pc` - LSH/PC + + * `lsh-upc` - LSH/UPC + + * `lsh-apc` - LSH/APC + + * `lx5` - LX.5 + + * `lx5-pc` - LX.5/PC + + * `lx5-upc` - LX.5/UPC + + * `lx5-apc` - LX.5/APC + + * `mpo` - MPO + + * `mtrj` - MTRJ + + * `sc` - SC + + * `sc-pc` - SC/PC + + * `sc-upc` - SC/UPC + + * `sc-apc` - SC/APC + + * `st` - ST + + * `cs` - CS + + * `sn` - SN + + * `sma-905` - SMA 905 + + * `sma-906` - SMA 906 + + * `urm-p2` - URM-P2 + + * `urm-p4` - URM-P4 + + * `urm-p8` - URM-P8 + + * `splice` - Splice + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' explode: true style: form - in: query - name: weight__empty - schema: - type: boolean - - in: query - name: weight__gt + name: type__ie schema: type: array items: - type: integer - format: int32 + type: string + x-spec-enum-id: c5086c01f1f9c18a + enum: + - 110-punch + - 4p2c + - 4p4c + - 6p2c + - 6p4c + - 6p6c + - 8p2c + - 8p4c + - 8p6c + - 8p8c + - bnc + - cs + - f + - fc + - gg45 + - lc + - lc-apc + - lc-pc + - lc-upc + - lsh + - lsh-apc + - lsh-pc + - lsh-upc + - lx5 + - lx5-apc + - lx5-pc + - lx5-upc + - mpo + - mrj21 + - mtrj + - n + - other + - sc + - sc-apc + - sc-pc + - sc-upc + - sma-905 + - sma-906 + - sn + - splice + - st + - tera-1p + - tera-2p + - tera-4p + - urm-p2 + - urm-p4 + - urm-p8 + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: '* `8p8c` - 8P8C + + * `8p6c` - 8P6C + + * `8p4c` - 8P4C + + * `8p2c` - 8P2C + + * `6p6c` - 6P6C + + * `6p4c` - 6P4C + + * `6p2c` - 6P2C + + * `4p4c` - 4P4C + + * `4p2c` - 4P2C + + * `gg45` - GG45 + + * `tera-4p` - TERA 4P + + * `tera-2p` - TERA 2P + + * `tera-1p` - TERA 1P + + * `110-punch` - 110 Punch + + * `bnc` - BNC + + * `f` - F Connector + + * `n` - N Connector + + * `mrj21` - MRJ21 + + * `fc` - FC + + * `lc` - LC + + * `lc-pc` - LC/PC + + * `lc-upc` - LC/UPC + + * `lc-apc` - LC/APC + + * `lsh` - LSH + + * `lsh-pc` - LSH/PC + + * `lsh-upc` - LSH/UPC + + * `lsh-apc` - LSH/APC + + * `lx5` - LX.5 + + * `lx5-pc` - LX.5/PC + + * `lx5-upc` - LX.5/UPC + + * `lx5-apc` - LX.5/APC + + * `mpo` - MPO + + * `mtrj` - MTRJ + + * `sc` - SC + + * `sc-pc` - SC/PC + + * `sc-upc` - SC/UPC + + * `sc-apc` - SC/APC + + * `st` - ST + + * `cs` - CS + + * `sn` - SN + + * `sma-905` - SMA 905 + + * `sma-906` - SMA 906 + + * `urm-p2` - URM-P2 + + * `urm-p4` - URM-P4 + + * `urm-p8` - URM-P8 + + * `splice` - Splice + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' explode: true style: form - in: query - name: weight__gte + name: type__iew schema: type: array items: - type: integer - format: int32 + type: string + x-spec-enum-id: c5086c01f1f9c18a + enum: + - 110-punch + - 4p2c + - 4p4c + - 6p2c + - 6p4c + - 6p6c + - 8p2c + - 8p4c + - 8p6c + - 8p8c + - bnc + - cs + - f + - fc + - gg45 + - lc + - lc-apc + - lc-pc + - lc-upc + - lsh + - lsh-apc + - lsh-pc + - lsh-upc + - lx5 + - lx5-apc + - lx5-pc + - lx5-upc + - mpo + - mrj21 + - mtrj + - n + - other + - sc + - sc-apc + - sc-pc + - sc-upc + - sma-905 + - sma-906 + - sn + - splice + - st + - tera-1p + - tera-2p + - tera-4p + - urm-p2 + - urm-p4 + - urm-p8 + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: '* `8p8c` - 8P8C + + * `8p6c` - 8P6C + + * `8p4c` - 8P4C + + * `8p2c` - 8P2C + + * `6p6c` - 6P6C + + * `6p4c` - 6P4C + + * `6p2c` - 6P2C + + * `4p4c` - 4P4C + + * `4p2c` - 4P2C + + * `gg45` - GG45 + + * `tera-4p` - TERA 4P + + * `tera-2p` - TERA 2P + + * `tera-1p` - TERA 1P + + * `110-punch` - 110 Punch + + * `bnc` - BNC + + * `f` - F Connector + + * `n` - N Connector + + * `mrj21` - MRJ21 + + * `fc` - FC + + * `lc` - LC + + * `lc-pc` - LC/PC + + * `lc-upc` - LC/UPC + + * `lc-apc` - LC/APC + + * `lsh` - LSH + + * `lsh-pc` - LSH/PC + + * `lsh-upc` - LSH/UPC + + * `lsh-apc` - LSH/APC + + * `lx5` - LX.5 + + * `lx5-pc` - LX.5/PC + + * `lx5-upc` - LX.5/UPC + + * `lx5-apc` - LX.5/APC + + * `mpo` - MPO + + * `mtrj` - MTRJ + + * `sc` - SC + + * `sc-pc` - SC/PC + + * `sc-upc` - SC/UPC + + * `sc-apc` - SC/APC + + * `st` - ST + + * `cs` - CS + + * `sn` - SN + + * `sma-905` - SMA 905 + + * `sma-906` - SMA 906 + + * `urm-p2` - URM-P2 + + * `urm-p4` - URM-P4 + + * `urm-p8` - URM-P8 + + * `splice` - Splice + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' explode: true style: form - in: query - name: weight__lt + name: type__isw schema: type: array items: - type: integer - format: int32 + type: string + x-spec-enum-id: c5086c01f1f9c18a + enum: + - 110-punch + - 4p2c + - 4p4c + - 6p2c + - 6p4c + - 6p6c + - 8p2c + - 8p4c + - 8p6c + - 8p8c + - bnc + - cs + - f + - fc + - gg45 + - lc + - lc-apc + - lc-pc + - lc-upc + - lsh + - lsh-apc + - lsh-pc + - lsh-upc + - lx5 + - lx5-apc + - lx5-pc + - lx5-upc + - mpo + - mrj21 + - mtrj + - n + - other + - sc + - sc-apc + - sc-pc + - sc-upc + - sma-905 + - sma-906 + - sn + - splice + - st + - tera-1p + - tera-2p + - tera-4p + - urm-p2 + - urm-p4 + - urm-p8 + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: '* `8p8c` - 8P8C + + * `8p6c` - 8P6C + + * `8p4c` - 8P4C + + * `8p2c` - 8P2C + + * `6p6c` - 6P6C + + * `6p4c` - 6P4C + + * `6p2c` - 6P2C + + * `4p4c` - 4P4C + + * `4p2c` - 4P2C + + * `gg45` - GG45 + + * `tera-4p` - TERA 4P + + * `tera-2p` - TERA 2P + + * `tera-1p` - TERA 1P + + * `110-punch` - 110 Punch + + * `bnc` - BNC + + * `f` - F Connector + + * `n` - N Connector + + * `mrj21` - MRJ21 + + * `fc` - FC + + * `lc` - LC + + * `lc-pc` - LC/PC + + * `lc-upc` - LC/UPC + + * `lc-apc` - LC/APC + + * `lsh` - LSH + + * `lsh-pc` - LSH/PC + + * `lsh-upc` - LSH/UPC + + * `lsh-apc` - LSH/APC + + * `lx5` - LX.5 + + * `lx5-pc` - LX.5/PC + + * `lx5-upc` - LX.5/UPC + + * `lx5-apc` - LX.5/APC + + * `mpo` - MPO + + * `mtrj` - MTRJ + + * `sc` - SC + + * `sc-pc` - SC/PC + + * `sc-upc` - SC/UPC + + * `sc-apc` - SC/APC + + * `st` - ST + + * `cs` - CS + + * `sn` - SN + + * `sma-905` - SMA 905 + + * `sma-906` - SMA 906 + + * `urm-p2` - URM-P2 + + * `urm-p4` - URM-P4 + + * `urm-p8` - URM-P8 + + * `splice` - Splice + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' explode: true style: form - in: query - name: weight__lte + name: type__n + schema: + type: array + items: + type: string + x-spec-enum-id: c5086c01f1f9c18a + enum: + - 110-punch + - 4p2c + - 4p4c + - 6p2c + - 6p4c + - 6p6c + - 8p2c + - 8p4c + - 8p6c + - 8p8c + - bnc + - cs + - f + - fc + - gg45 + - lc + - lc-apc + - lc-pc + - lc-upc + - lsh + - lsh-apc + - lsh-pc + - lsh-upc + - lx5 + - lx5-apc + - lx5-pc + - lx5-upc + - mpo + - mrj21 + - mtrj + - n + - other + - sc + - sc-apc + - sc-pc + - sc-upc + - sma-905 + - sma-906 + - sn + - splice + - st + - tera-1p + - tera-2p + - tera-4p + - urm-p2 + - urm-p4 + - urm-p8 + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: '* `8p8c` - 8P8C + + * `8p6c` - 8P6C + + * `8p4c` - 8P4C + + * `8p2c` - 8P2C + + * `6p6c` - 6P6C + + * `6p4c` - 6P4C + + * `6p2c` - 6P2C + + * `4p4c` - 4P4C + + * `4p2c` - 4P2C + + * `gg45` - GG45 + + * `tera-4p` - TERA 4P + + * `tera-2p` - TERA 2P + + * `tera-1p` - TERA 1P + + * `110-punch` - 110 Punch + + * `bnc` - BNC + + * `f` - F Connector + + * `n` - N Connector + + * `mrj21` - MRJ21 + + * `fc` - FC + + * `lc` - LC + + * `lc-pc` - LC/PC + + * `lc-upc` - LC/UPC + + * `lc-apc` - LC/APC + + * `lsh` - LSH + + * `lsh-pc` - LSH/PC + + * `lsh-upc` - LSH/UPC + + * `lsh-apc` - LSH/APC + + * `lx5` - LX.5 + + * `lx5-pc` - LX.5/PC + + * `lx5-upc` - LX.5/UPC + + * `lx5-apc` - LX.5/APC + + * `mpo` - MPO + + * `mtrj` - MTRJ + + * `sc` - SC + + * `sc-pc` - SC/PC + + * `sc-upc` - SC/UPC + + * `sc-apc` - SC/APC + + * `st` - ST + + * `cs` - CS + + * `sn` - SN + + * `sma-905` - SMA 905 + + * `sma-906` - SMA 906 + + * `urm-p2` - URM-P2 + + * `urm-p4` - URM-P4 + + * `urm-p8` - URM-P8 + + * `splice` - Splice + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' + explode: true + style: form + - in: query + name: type__nic + schema: + type: array + items: + type: string + x-spec-enum-id: c5086c01f1f9c18a + enum: + - 110-punch + - 4p2c + - 4p4c + - 6p2c + - 6p4c + - 6p6c + - 8p2c + - 8p4c + - 8p6c + - 8p8c + - bnc + - cs + - f + - fc + - gg45 + - lc + - lc-apc + - lc-pc + - lc-upc + - lsh + - lsh-apc + - lsh-pc + - lsh-upc + - lx5 + - lx5-apc + - lx5-pc + - lx5-upc + - mpo + - mrj21 + - mtrj + - n + - other + - sc + - sc-apc + - sc-pc + - sc-upc + - sma-905 + - sma-906 + - sn + - splice + - st + - tera-1p + - tera-2p + - tera-4p + - urm-p2 + - urm-p4 + - urm-p8 + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: '* `8p8c` - 8P8C + + * `8p6c` - 8P6C + + * `8p4c` - 8P4C + + * `8p2c` - 8P2C + + * `6p6c` - 6P6C + + * `6p4c` - 6P4C + + * `6p2c` - 6P2C + + * `4p4c` - 4P4C + + * `4p2c` - 4P2C + + * `gg45` - GG45 + + * `tera-4p` - TERA 4P + + * `tera-2p` - TERA 2P + + * `tera-1p` - TERA 1P + + * `110-punch` - 110 Punch + + * `bnc` - BNC + + * `f` - F Connector + + * `n` - N Connector + + * `mrj21` - MRJ21 + + * `fc` - FC + + * `lc` - LC + + * `lc-pc` - LC/PC + + * `lc-upc` - LC/UPC + + * `lc-apc` - LC/APC + + * `lsh` - LSH + + * `lsh-pc` - LSH/PC + + * `lsh-upc` - LSH/UPC + + * `lsh-apc` - LSH/APC + + * `lx5` - LX.5 + + * `lx5-pc` - LX.5/PC + + * `lx5-upc` - LX.5/UPC + + * `lx5-apc` - LX.5/APC + + * `mpo` - MPO + + * `mtrj` - MTRJ + + * `sc` - SC + + * `sc-pc` - SC/PC + + * `sc-upc` - SC/UPC + + * `sc-apc` - SC/APC + + * `st` - ST + + * `cs` - CS + + * `sn` - SN + + * `sma-905` - SMA 905 + + * `sma-906` - SMA 906 + + * `urm-p2` - URM-P2 + + * `urm-p4` - URM-P4 + + * `urm-p8` - URM-P8 + + * `splice` - Splice + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' + explode: true + style: form + - in: query + name: type__nie + schema: + type: array + items: + type: string + x-spec-enum-id: c5086c01f1f9c18a + enum: + - 110-punch + - 4p2c + - 4p4c + - 6p2c + - 6p4c + - 6p6c + - 8p2c + - 8p4c + - 8p6c + - 8p8c + - bnc + - cs + - f + - fc + - gg45 + - lc + - lc-apc + - lc-pc + - lc-upc + - lsh + - lsh-apc + - lsh-pc + - lsh-upc + - lx5 + - lx5-apc + - lx5-pc + - lx5-upc + - mpo + - mrj21 + - mtrj + - n + - other + - sc + - sc-apc + - sc-pc + - sc-upc + - sma-905 + - sma-906 + - sn + - splice + - st + - tera-1p + - tera-2p + - tera-4p + - urm-p2 + - urm-p4 + - urm-p8 + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: '* `8p8c` - 8P8C + + * `8p6c` - 8P6C + + * `8p4c` - 8P4C + + * `8p2c` - 8P2C + + * `6p6c` - 6P6C + + * `6p4c` - 6P4C + + * `6p2c` - 6P2C + + * `4p4c` - 4P4C + + * `4p2c` - 4P2C + + * `gg45` - GG45 + + * `tera-4p` - TERA 4P + + * `tera-2p` - TERA 2P + + * `tera-1p` - TERA 1P + + * `110-punch` - 110 Punch + + * `bnc` - BNC + + * `f` - F Connector + + * `n` - N Connector + + * `mrj21` - MRJ21 + + * `fc` - FC + + * `lc` - LC + + * `lc-pc` - LC/PC + + * `lc-upc` - LC/UPC + + * `lc-apc` - LC/APC + + * `lsh` - LSH + + * `lsh-pc` - LSH/PC + + * `lsh-upc` - LSH/UPC + + * `lsh-apc` - LSH/APC + + * `lx5` - LX.5 + + * `lx5-pc` - LX.5/PC + + * `lx5-upc` - LX.5/UPC + + * `lx5-apc` - LX.5/APC + + * `mpo` - MPO + + * `mtrj` - MTRJ + + * `sc` - SC + + * `sc-pc` - SC/PC + + * `sc-upc` - SC/UPC + + * `sc-apc` - SC/APC + + * `st` - ST + + * `cs` - CS + + * `sn` - SN + + * `sma-905` - SMA 905 + + * `sma-906` - SMA 906 + + * `urm-p2` - URM-P2 + + * `urm-p4` - URM-P4 + + * `urm-p8` - URM-P8 + + * `splice` - Splice + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' + explode: true + style: form + - in: query + name: type__niew + schema: + type: array + items: + type: string + x-spec-enum-id: c5086c01f1f9c18a + enum: + - 110-punch + - 4p2c + - 4p4c + - 6p2c + - 6p4c + - 6p6c + - 8p2c + - 8p4c + - 8p6c + - 8p8c + - bnc + - cs + - f + - fc + - gg45 + - lc + - lc-apc + - lc-pc + - lc-upc + - lsh + - lsh-apc + - lsh-pc + - lsh-upc + - lx5 + - lx5-apc + - lx5-pc + - lx5-upc + - mpo + - mrj21 + - mtrj + - n + - other + - sc + - sc-apc + - sc-pc + - sc-upc + - sma-905 + - sma-906 + - sn + - splice + - st + - tera-1p + - tera-2p + - tera-4p + - urm-p2 + - urm-p4 + - urm-p8 + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: '* `8p8c` - 8P8C + + * `8p6c` - 8P6C + + * `8p4c` - 8P4C + + * `8p2c` - 8P2C + + * `6p6c` - 6P6C + + * `6p4c` - 6P4C + + * `6p2c` - 6P2C + + * `4p4c` - 4P4C + + * `4p2c` - 4P2C + + * `gg45` - GG45 + + * `tera-4p` - TERA 4P + + * `tera-2p` - TERA 2P + + * `tera-1p` - TERA 1P + + * `110-punch` - 110 Punch + + * `bnc` - BNC + + * `f` - F Connector + + * `n` - N Connector + + * `mrj21` - MRJ21 + + * `fc` - FC + + * `lc` - LC + + * `lc-pc` - LC/PC + + * `lc-upc` - LC/UPC + + * `lc-apc` - LC/APC + + * `lsh` - LSH + + * `lsh-pc` - LSH/PC + + * `lsh-upc` - LSH/UPC + + * `lsh-apc` - LSH/APC + + * `lx5` - LX.5 + + * `lx5-pc` - LX.5/PC + + * `lx5-upc` - LX.5/UPC + + * `lx5-apc` - LX.5/APC + + * `mpo` - MPO + + * `mtrj` - MTRJ + + * `sc` - SC + + * `sc-pc` - SC/PC + + * `sc-upc` - SC/UPC + + * `sc-apc` - SC/APC + + * `st` - ST + + * `cs` - CS + + * `sn` - SN + + * `sma-905` - SMA 905 + + * `sma-906` - SMA 906 + + * `urm-p2` - URM-P2 + + * `urm-p4` - URM-P4 + + * `urm-p8` - URM-P8 + + * `splice` - Splice + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' + explode: true + style: form + - in: query + name: type__nisw + schema: + type: array + items: + type: string + x-spec-enum-id: c5086c01f1f9c18a + enum: + - 110-punch + - 4p2c + - 4p4c + - 6p2c + - 6p4c + - 6p6c + - 8p2c + - 8p4c + - 8p6c + - 8p8c + - bnc + - cs + - f + - fc + - gg45 + - lc + - lc-apc + - lc-pc + - lc-upc + - lsh + - lsh-apc + - lsh-pc + - lsh-upc + - lx5 + - lx5-apc + - lx5-pc + - lx5-upc + - mpo + - mrj21 + - mtrj + - n + - other + - sc + - sc-apc + - sc-pc + - sc-upc + - sma-905 + - sma-906 + - sn + - splice + - st + - tera-1p + - tera-2p + - tera-4p + - urm-p2 + - urm-p4 + - urm-p8 + - usb-a + - usb-b + - usb-c + - usb-micro-a + - usb-micro-ab + - usb-micro-b + - usb-mini-a + - usb-mini-b + description: '* `8p8c` - 8P8C + + * `8p6c` - 8P6C + + * `8p4c` - 8P4C + + * `8p2c` - 8P2C + + * `6p6c` - 6P6C + + * `6p4c` - 6P4C + + * `6p2c` - 6P2C + + * `4p4c` - 4P4C + + * `4p2c` - 4P2C + + * `gg45` - GG45 + + * `tera-4p` - TERA 4P + + * `tera-2p` - TERA 2P + + * `tera-1p` - TERA 1P + + * `110-punch` - 110 Punch + + * `bnc` - BNC + + * `f` - F Connector + + * `n` - N Connector + + * `mrj21` - MRJ21 + + * `fc` - FC + + * `lc` - LC + + * `lc-pc` - LC/PC + + * `lc-upc` - LC/UPC + + * `lc-apc` - LC/APC + + * `lsh` - LSH + + * `lsh-pc` - LSH/PC + + * `lsh-upc` - LSH/UPC + + * `lsh-apc` - LSH/APC + + * `lx5` - LX.5 + + * `lx5-pc` - LX.5/PC + + * `lx5-upc` - LX.5/UPC + + * `lx5-apc` - LX.5/APC + + * `mpo` - MPO + + * `mtrj` - MTRJ + + * `sc` - SC + + * `sc-pc` - SC/PC + + * `sc-upc` - SC/UPC + + * `sc-apc` - SC/APC + + * `st` - ST + + * `cs` - CS + + * `sn` - SN + + * `sma-905` - SMA 905 + + * `sma-906` - SMA 906 + + * `urm-p2` - URM-P2 + + * `urm-p4` - URM-P4 + + * `urm-p8` - URM-P8 + + * `splice` - Splice + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' + explode: true + style: form + - in: query + name: updated_by_request + schema: + type: string + format: uuid + - in: query + name: virtual_chassis + schema: + type: array + items: + type: string + description: Virtual Chassis + explode: true + style: form + - in: query + name: virtual_chassis__n + schema: + type: array + items: + type: string + description: Virtual Chassis + explode: true + style: form + - in: query + name: virtual_chassis_id schema: type: array items: type: integer - format: int32 + description: Virtual Chassis (ID) explode: true style: form - in: query - name: weight__n + name: virtual_chassis_id__n schema: type: array items: type: integer - format: int32 + description: Virtual Chassis (ID) explode: true style: form tags: - - extras + - dcim security: - cookieAuth: [] - tokenAuth: [] @@ -57107,21 +82662,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedCustomLinkList' + $ref: '#/components/schemas/PaginatedRearPortList' description: '' post: - operationId: extras_custom_links_create - description: Post a list of custom link objects. + operationId: dcim_rear_ports_create + description: Post a list of rear port objects. tags: - - extras + - dcim requestBody: content: application/json: schema: - $ref: '#/components/schemas/CustomLinkRequest' + $ref: '#/components/schemas/WritableRearPortRequest' multipart/form-data: schema: - $ref: '#/components/schemas/CustomLinkRequest' + $ref: '#/components/schemas/WritableRearPortRequest' required: true security: - cookieAuth: [] @@ -57131,25 +82686,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/CustomLink' + $ref: '#/components/schemas/RearPort' description: '' put: - operationId: extras_custom_links_bulk_update - description: Put a list of custom link objects. + operationId: dcim_rear_ports_bulk_update + description: Put a list of rear port objects. tags: - - extras + - dcim requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/CustomLinkRequest' + $ref: '#/components/schemas/RearPortRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/CustomLinkRequest' + $ref: '#/components/schemas/RearPortRequest' required: true security: - cookieAuth: [] @@ -57161,25 +82716,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/CustomLink' + $ref: '#/components/schemas/RearPort' description: '' patch: - operationId: extras_custom_links_bulk_partial_update - description: Patch a list of custom link objects. + operationId: dcim_rear_ports_bulk_partial_update + description: Patch a list of rear port objects. tags: - - extras + - dcim requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/CustomLinkRequest' + $ref: '#/components/schemas/RearPortRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/CustomLinkRequest' + $ref: '#/components/schemas/RearPortRequest' required: true security: - cookieAuth: [] @@ -57191,25 +82746,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/CustomLink' + $ref: '#/components/schemas/RearPort' description: '' delete: - operationId: extras_custom_links_bulk_destroy - description: Delete a list of custom link objects. + operationId: dcim_rear_ports_bulk_destroy + description: Delete a list of rear port objects. tags: - - extras + - dcim requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/CustomLinkRequest' + $ref: '#/components/schemas/RearPortRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/CustomLinkRequest' + $ref: '#/components/schemas/RearPortRequest' required: true security: - cookieAuth: [] @@ -57217,19 +82772,19 @@ paths: responses: '204': description: No response body - /api/extras/custom-links/{id}/: + /api/dcim/rear-ports/{id}/: get: - operationId: extras_custom_links_retrieve - description: Get a custom link object. + operationId: dcim_rear_ports_retrieve + description: Get a rear port object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this custom link. + description: A unique integer value identifying this rear port. required: true tags: - - extras + - dcim security: - cookieAuth: [] - tokenAuth: [] @@ -57238,28 +82793,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/CustomLink' + $ref: '#/components/schemas/RearPort' description: '' put: - operationId: extras_custom_links_update - description: Put a custom link object. + operationId: dcim_rear_ports_update + description: Put a rear port object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this custom link. + description: A unique integer value identifying this rear port. required: true tags: - - extras + - dcim requestBody: content: application/json: schema: - $ref: '#/components/schemas/CustomLinkRequest' + $ref: '#/components/schemas/WritableRearPortRequest' multipart/form-data: schema: - $ref: '#/components/schemas/CustomLinkRequest' + $ref: '#/components/schemas/WritableRearPortRequest' required: true security: - cookieAuth: [] @@ -57269,28 +82824,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/CustomLink' + $ref: '#/components/schemas/RearPort' description: '' patch: - operationId: extras_custom_links_partial_update - description: Patch a custom link object. + operationId: dcim_rear_ports_partial_update + description: Patch a rear port object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this custom link. + description: A unique integer value identifying this rear port. required: true tags: - - extras + - dcim requestBody: content: application/json: schema: - $ref: '#/components/schemas/PatchedCustomLinkRequest' + $ref: '#/components/schemas/PatchedWritableRearPortRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedCustomLinkRequest' + $ref: '#/components/schemas/PatchedWritableRearPortRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -57299,78 +82854,39 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/CustomLink' + $ref: '#/components/schemas/RearPort' description: '' delete: - operationId: extras_custom_links_destroy - description: Delete a custom link object. + operationId: dcim_rear_ports_destroy + description: Delete a rear port object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this custom link. + description: A unique integer value identifying this rear port. required: true tags: - - extras + - dcim security: - cookieAuth: [] - tokenAuth: [] responses: '204': description: No response body - /api/extras/dashboard/: + /api/dcim/rear-ports/{id}/paths/: get: - operationId: extras_dashboard_retrieve - description: Get a list of dashboard objects. - tags: - - extras - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/Dashboard' - description: '' - put: - operationId: extras_dashboard_update - description: Put a list of dashboard objects. - tags: - - extras - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/DashboardRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/DashboardRequest' - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/Dashboard' - description: '' - patch: - operationId: extras_dashboard_partial_update - description: Patch a list of dashboard objects. + operationId: dcim_rear_ports_paths_retrieve + description: Return all CablePaths which traverse a given pass-through port. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this rear port. + required: true tags: - - extras - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/PatchedDashboardRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/PatchedDashboardRequest' + - dcim security: - cookieAuth: [] - tokenAuth: [] @@ -57379,111 +82895,95 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Dashboard' + $ref: '#/components/schemas/RearPort' description: '' - delete: - operationId: extras_dashboard_destroy - description: Delete a list of dashboard objects. - tags: - - extras - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '204': - description: No response body - /api/extras/event-rules/: + /api/dcim/regions/: get: - operationId: extras_event_rules_list - description: Get a list of event rule objects. + operationId: dcim_regions_list + description: Get a list of region objects. parameters: - in: query - name: action_object_id + name: ancestor schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: action_object_id__empty + name: ancestor__n schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: action_object_id__gt + name: ancestor_id schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: action_object_id__gte + name: ancestor_id__n schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: action_object_id__lt + name: contact schema: type: array items: type: integer - format: int32 + description: Contact explode: true style: form - in: query - name: action_object_id__lte + name: contact__n schema: type: array items: type: integer - format: int32 + description: Contact explode: true style: form - in: query - name: action_object_id__n + name: contact_group schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: action_object_type - schema: - type: string - - in: query - name: action_object_type__n + name: contact_group__n schema: - type: string + type: array + items: + type: string + explode: true + style: form - in: query - name: action_type + name: contact_role schema: type: array items: - type: string - x-spec-enum-id: a08300d86473de6e + type: integer + description: Contact Role explode: true style: form - in: query - name: action_type__n + name: contact_role__n schema: type: array items: - type: string - x-spec-enum-id: a08300d86473de6e + type: integer + description: Contact Role explode: true style: form - in: query @@ -57638,10 +83138,6 @@ paths: type: string explode: true style: form - - in: query - name: enabled - schema: - type: boolean - in: query name: id schema: @@ -57858,81 +83354,107 @@ paths: type: string explode: true style: form - - in: query - name: object_type + - name: offset + required: false + in: query + description: The initial index from which to return the results. schema: - type: string - - in: query - name: object_type__ic + type: integer + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. schema: type: string - in: query - name: object_type__ie + name: parent schema: - type: string + type: array + items: + type: string + description: Parent region (slug) + explode: true + style: form - in: query - name: object_type__iew + name: parent__n schema: - type: string + type: array + items: + type: string + description: Parent region (slug) + explode: true + style: form - in: query - name: object_type__isw + name: parent_id schema: - type: string + type: array + items: + type: integer + nullable: true + description: Parent region (ID) + explode: true + style: form - in: query - name: object_type__n + name: parent_id__n schema: - type: string + type: array + items: + type: integer + nullable: true + description: Parent region (ID) + explode: true + style: form - in: query - name: object_type__nic + name: q schema: type: string + description: Search - in: query - name: object_type__nie + name: slug schema: - type: string + type: array + items: + type: string + explode: true + style: form - in: query - name: object_type__niew + name: slug__empty schema: - type: string + type: boolean - in: query - name: object_type__nisw + name: slug__ic schema: - type: string + type: array + items: + type: string + explode: true + style: form - in: query - name: object_type_id + name: slug__ie schema: type: array items: - type: integer + type: string explode: true style: form - in: query - name: object_type_id__n + name: slug__iew schema: type: array items: - type: integer + 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 - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - in: query - name: q + name: slug__isw schema: - type: string - description: Search + type: array + items: + type: string + explode: true + style: form - in: query - name: tag + name: slug__n schema: type: array items: @@ -57940,7 +83462,7 @@ paths: explode: true style: form - in: query - name: tag__n + name: slug__nic schema: type: array items: @@ -57948,32 +83470,52 @@ paths: explode: true style: form - in: query - name: type_create + name: slug__nie schema: - type: boolean + type: array + items: + type: string + explode: true + style: form - in: query - name: type_delete + name: slug__niew schema: - type: boolean + type: array + items: + type: string + explode: true + style: form - in: query - name: type_job_end + name: slug__nisw schema: - type: boolean + type: array + items: + type: string + explode: true + style: form - in: query - name: type_job_start + name: tag schema: - type: boolean + type: array + items: + type: string + explode: true + style: form - in: query - name: type_update + name: tag__n schema: - type: boolean + type: array + items: + type: string + explode: true + style: form - in: query name: updated_by_request schema: type: string format: uuid tags: - - extras + - dcim security: - cookieAuth: [] - tokenAuth: [] @@ -57982,21 +83524,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedEventRuleList' + $ref: '#/components/schemas/PaginatedRegionList' description: '' post: - operationId: extras_event_rules_create - description: Post a list of event rule objects. + operationId: dcim_regions_create + description: Post a list of region objects. tags: - - extras + - dcim requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableEventRuleRequest' + $ref: '#/components/schemas/WritableRegionRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableEventRuleRequest' + $ref: '#/components/schemas/WritableRegionRequest' required: true security: - cookieAuth: [] @@ -58006,25 +83548,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/EventRule' + $ref: '#/components/schemas/Region' description: '' put: - operationId: extras_event_rules_bulk_update - description: Put a list of event rule objects. + operationId: dcim_regions_bulk_update + description: Put a list of region objects. tags: - - extras + - dcim requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/EventRuleRequest' + $ref: '#/components/schemas/RegionRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/EventRuleRequest' + $ref: '#/components/schemas/RegionRequest' required: true security: - cookieAuth: [] @@ -58036,25 +83578,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/EventRule' + $ref: '#/components/schemas/Region' description: '' patch: - operationId: extras_event_rules_bulk_partial_update - description: Patch a list of event rule objects. + operationId: dcim_regions_bulk_partial_update + description: Patch a list of region objects. tags: - - extras + - dcim requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/EventRuleRequest' + $ref: '#/components/schemas/RegionRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/EventRuleRequest' + $ref: '#/components/schemas/RegionRequest' required: true security: - cookieAuth: [] @@ -58066,25 +83608,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/EventRule' + $ref: '#/components/schemas/Region' description: '' delete: - operationId: extras_event_rules_bulk_destroy - description: Delete a list of event rule objects. + operationId: dcim_regions_bulk_destroy + description: Delete a list of region objects. tags: - - extras + - dcim requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/EventRuleRequest' + $ref: '#/components/schemas/RegionRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/EventRuleRequest' + $ref: '#/components/schemas/RegionRequest' required: true security: - cookieAuth: [] @@ -58092,19 +83634,19 @@ paths: responses: '204': description: No response body - /api/extras/event-rules/{id}/: + /api/dcim/regions/{id}/: get: - operationId: extras_event_rules_retrieve - description: Get a event rule object. + operationId: dcim_regions_retrieve + description: Get a region object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this event rule. + description: A unique integer value identifying this region. required: true tags: - - extras + - dcim security: - cookieAuth: [] - tokenAuth: [] @@ -58113,28 +83655,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/EventRule' + $ref: '#/components/schemas/Region' description: '' put: - operationId: extras_event_rules_update - description: Put a event rule object. + operationId: dcim_regions_update + description: Put a region object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this event rule. + description: A unique integer value identifying this region. required: true tags: - - extras + - dcim requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableEventRuleRequest' + $ref: '#/components/schemas/WritableRegionRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableEventRuleRequest' + $ref: '#/components/schemas/WritableRegionRequest' required: true security: - cookieAuth: [] @@ -58144,28 +83686,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/EventRule' + $ref: '#/components/schemas/Region' description: '' patch: - operationId: extras_event_rules_partial_update - description: Patch a event rule object. + operationId: dcim_regions_partial_update + description: Patch a region object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this event rule. + description: A unique integer value identifying this region. required: true tags: - - extras + - dcim requestBody: content: application/json: schema: - $ref: '#/components/schemas/PatchedWritableEventRuleRequest' + $ref: '#/components/schemas/PatchedWritableRegionRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedWritableEventRuleRequest' + $ref: '#/components/schemas/PatchedWritableRegionRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -58174,149 +83716,126 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/EventRule' + $ref: '#/components/schemas/Region' description: '' delete: - operationId: extras_event_rules_destroy - description: Delete a event rule object. + operationId: dcim_regions_destroy + description: Delete a region object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this event rule. + description: A unique integer value identifying this region. required: true tags: - - extras + - dcim security: - cookieAuth: [] - tokenAuth: [] responses: '204': description: No response body - /api/extras/export-templates/: + /api/dcim/site-groups/: get: - operationId: extras_export_templates_list - description: Get a list of export template objects. + operationId: dcim_site_groups_list + description: Get a list of site group objects. parameters: - in: query - name: as_attachment - schema: - type: boolean - - in: query - name: auto_sync_enabled - schema: - type: boolean - - in: query - name: created + name: ancestor schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__empty + name: ancestor__n schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__gt + name: ancestor_id schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__gte + name: ancestor_id__n schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__lt + name: contact schema: type: array items: - type: string - format: date-time + type: integer + description: Contact explode: true style: form - in: query - name: created__lte + name: contact__n schema: type: array items: - type: string - format: date-time + type: integer + description: Contact explode: true style: form - in: query - name: created__n + name: contact_group schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created_by_request - schema: - type: string - format: uuid - - in: query - name: data_file_id + name: contact_group__n schema: type: array items: - type: integer - nullable: true - description: Data file (ID) + type: string explode: true style: form - in: query - name: data_file_id__n + name: contact_role schema: type: array items: type: integer - nullable: true - description: Data file (ID) + description: Contact Role explode: true style: form - in: query - name: data_source_id + name: contact_role__n schema: type: array items: type: integer - nullable: true - description: Data source (ID) + description: Contact Role explode: true style: form - in: query - name: data_source_id__n + name: created schema: type: array items: - type: integer - nullable: true - description: Data source (ID) + type: string + format: date-time explode: true style: form - in: query - name: data_synced + name: created__empty schema: type: array items: @@ -58325,11 +83844,7 @@ paths: explode: true style: form - in: query - name: data_synced__empty - schema: - type: boolean - - in: query - name: data_synced__gt + name: created__gt schema: type: array items: @@ -58338,7 +83853,7 @@ paths: explode: true style: form - in: query - name: data_synced__gte + name: created__gte schema: type: array items: @@ -58347,7 +83862,7 @@ paths: explode: true style: form - in: query - name: data_synced__lt + name: created__lt schema: type: array items: @@ -58356,7 +83871,7 @@ paths: explode: true style: form - in: query - name: data_synced__lte + name: created__lte schema: type: array items: @@ -58365,7 +83880,7 @@ paths: explode: true style: form - in: query - name: data_synced__n + name: created__n schema: type: array items: @@ -58373,6 +83888,11 @@ paths: format: date-time explode: true style: form + - in: query + name: created_by_request + schema: + type: string + format: uuid - in: query name: description schema: @@ -58458,96 +83978,12 @@ paths: explode: true style: form - in: query - name: file_extension + name: id schema: type: array items: - type: string - explode: true - style: form - - in: query - name: file_extension__empty - schema: - type: boolean - - in: query - name: file_extension__ic - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: file_extension__ie - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: file_extension__iew - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: file_extension__isw - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: file_extension__n - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: file_extension__nic - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: file_extension__nie - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: file_extension__niew - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: file_extension__nisw - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: id - schema: - type: array - items: - type: integer - format: int32 + type: integer + format: int32 explode: true style: form - in: query @@ -58669,7 +84105,12 @@ paths: schema: type: integer - in: query - name: mime_type + name: modified_by_request + schema: + type: string + format: uuid + - in: query + name: name schema: type: array items: @@ -58677,11 +84118,11 @@ paths: explode: true style: form - in: query - name: mime_type__empty + name: name__empty schema: type: boolean - in: query - name: mime_type__ic + name: name__ic schema: type: array items: @@ -58689,7 +84130,7 @@ paths: explode: true style: form - in: query - name: mime_type__ie + name: name__ie schema: type: array items: @@ -58697,7 +84138,7 @@ paths: explode: true style: form - in: query - name: mime_type__iew + name: name__iew schema: type: array items: @@ -58705,7 +84146,7 @@ paths: explode: true style: form - in: query - name: mime_type__isw + name: name__isw schema: type: array items: @@ -58713,7 +84154,7 @@ paths: explode: true style: form - in: query - name: mime_type__n + name: name__n schema: type: array items: @@ -58721,7 +84162,7 @@ paths: explode: true style: form - in: query - name: mime_type__nic + name: name__nic schema: type: array items: @@ -58729,7 +84170,7 @@ paths: explode: true style: form - in: query - name: mime_type__nie + name: name__nie schema: type: array items: @@ -58737,7 +84178,7 @@ paths: explode: true style: form - in: query - name: mime_type__niew + name: name__niew schema: type: array items: @@ -58745,56 +84186,70 @@ paths: explode: true style: form - in: query - name: mime_type__nisw + name: name__nisw schema: type: array items: type: string explode: true style: form - - in: query - name: modified_by_request + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. schema: type: string - format: uuid - in: query - name: name + name: parent schema: type: array items: type: string + description: Parent site group (slug) explode: true style: form - in: query - name: name__empty - schema: - type: boolean - - in: query - name: name__ic + name: parent__n schema: type: array items: type: string + description: Parent site group (slug) explode: true style: form - in: query - name: name__ie + name: parent_id schema: type: array items: - type: string + type: integer + nullable: true + description: Parent site group (ID) explode: true style: form - in: query - name: name__iew + name: parent_id__n schema: type: array items: - type: string + type: integer + nullable: true + description: Parent site group (ID) explode: true style: form - in: query - name: name__isw + name: q + schema: + type: string + description: Search + - in: query + name: slug schema: type: array items: @@ -58802,7 +84257,11 @@ paths: explode: true style: form - in: query - name: name__n + name: slug__empty + schema: + type: boolean + - in: query + name: slug__ic schema: type: array items: @@ -58810,7 +84269,7 @@ paths: explode: true style: form - in: query - name: name__nic + name: slug__ie schema: type: array items: @@ -58818,7 +84277,7 @@ paths: explode: true style: form - in: query - name: name__nie + name: slug__iew schema: type: array items: @@ -58826,7 +84285,7 @@ paths: explode: true style: form - in: query - name: name__niew + name: slug__isw schema: type: array items: @@ -58834,7 +84293,7 @@ paths: explode: true style: form - in: query - name: name__nisw + name: slug__n schema: type: array items: @@ -58842,85 +84301,60 @@ paths: explode: true style: form - in: query - name: object_type - schema: - type: string - - in: query - name: object_type__ic - schema: - type: string - - in: query - name: object_type__ie - schema: - type: string - - in: query - name: object_type__iew - schema: - type: string - - in: query - name: object_type__isw - schema: - type: string - - in: query - name: object_type__n - schema: - type: string - - in: query - name: object_type__nic - schema: - type: string - - in: query - name: object_type__nie + name: slug__nic schema: - type: string + type: array + items: + type: string + explode: true + style: form - in: query - name: object_type__niew + name: slug__nie schema: - type: string + type: array + items: + type: string + explode: true + style: form - in: query - name: object_type__nisw + name: slug__niew schema: - type: string + type: array + items: + type: string + explode: true + style: form - in: query - name: object_type_id + name: slug__nisw schema: type: array items: - type: integer + type: string explode: true style: form - in: query - name: object_type_id__n + name: tag schema: type: array items: - type: integer + 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 - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - in: query - name: q + name: tag__n schema: - type: string - description: Search + type: array + items: + type: string + explode: true + style: form - in: query name: updated_by_request schema: type: string format: uuid tags: - - extras + - dcim security: - cookieAuth: [] - tokenAuth: [] @@ -58929,21 +84363,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedExportTemplateList' + $ref: '#/components/schemas/PaginatedSiteGroupList' description: '' post: - operationId: extras_export_templates_create - description: Post a list of export template objects. + operationId: dcim_site_groups_create + description: Post a list of site group objects. tags: - - extras + - dcim requestBody: content: application/json: schema: - $ref: '#/components/schemas/ExportTemplateRequest' + $ref: '#/components/schemas/WritableSiteGroupRequest' multipart/form-data: schema: - $ref: '#/components/schemas/ExportTemplateRequest' + $ref: '#/components/schemas/WritableSiteGroupRequest' required: true security: - cookieAuth: [] @@ -58953,25 +84387,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ExportTemplate' + $ref: '#/components/schemas/SiteGroup' description: '' put: - operationId: extras_export_templates_bulk_update - description: Put a list of export template objects. + operationId: dcim_site_groups_bulk_update + description: Put a list of site group objects. tags: - - extras + - dcim requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/ExportTemplateRequest' + $ref: '#/components/schemas/SiteGroupRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ExportTemplateRequest' + $ref: '#/components/schemas/SiteGroupRequest' required: true security: - cookieAuth: [] @@ -58983,25 +84417,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ExportTemplate' + $ref: '#/components/schemas/SiteGroup' description: '' patch: - operationId: extras_export_templates_bulk_partial_update - description: Patch a list of export template objects. + operationId: dcim_site_groups_bulk_partial_update + description: Patch a list of site group objects. tags: - - extras + - dcim requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/ExportTemplateRequest' + $ref: '#/components/schemas/SiteGroupRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ExportTemplateRequest' + $ref: '#/components/schemas/SiteGroupRequest' required: true security: - cookieAuth: [] @@ -59013,25 +84447,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ExportTemplate' + $ref: '#/components/schemas/SiteGroup' description: '' delete: - operationId: extras_export_templates_bulk_destroy - description: Delete a list of export template objects. + operationId: dcim_site_groups_bulk_destroy + description: Delete a list of site group objects. tags: - - extras + - dcim requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/ExportTemplateRequest' + $ref: '#/components/schemas/SiteGroupRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ExportTemplateRequest' + $ref: '#/components/schemas/SiteGroupRequest' required: true security: - cookieAuth: [] @@ -59039,19 +84473,19 @@ paths: responses: '204': description: No response body - /api/extras/export-templates/{id}/: + /api/dcim/site-groups/{id}/: get: - operationId: extras_export_templates_retrieve - description: Get a export template object. + operationId: dcim_site_groups_retrieve + description: Get a site group object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this export template. + description: A unique integer value identifying this site group. required: true tags: - - extras + - dcim security: - cookieAuth: [] - tokenAuth: [] @@ -59060,28 +84494,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ExportTemplate' + $ref: '#/components/schemas/SiteGroup' description: '' put: - operationId: extras_export_templates_update - description: Put a export template object. + operationId: dcim_site_groups_update + description: Put a site group object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this export template. + description: A unique integer value identifying this site group. required: true tags: - - extras + - dcim requestBody: content: application/json: schema: - $ref: '#/components/schemas/ExportTemplateRequest' + $ref: '#/components/schemas/WritableSiteGroupRequest' multipart/form-data: schema: - $ref: '#/components/schemas/ExportTemplateRequest' + $ref: '#/components/schemas/WritableSiteGroupRequest' required: true security: - cookieAuth: [] @@ -59091,28 +84525,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ExportTemplate' + $ref: '#/components/schemas/SiteGroup' description: '' patch: - operationId: extras_export_templates_partial_update - description: Patch a export template object. + operationId: dcim_site_groups_partial_update + description: Patch a site group object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this export template. + description: A unique integer value identifying this site group. required: true tags: - - extras + - dcim requestBody: content: application/json: schema: - $ref: '#/components/schemas/PatchedExportTemplateRequest' + $ref: '#/components/schemas/PatchedWritableSiteGroupRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedExportTemplateRequest' + $ref: '#/components/schemas/PatchedWritableSiteGroupRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -59121,382 +84555,315 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ExportTemplate' + $ref: '#/components/schemas/SiteGroup' description: '' delete: - operationId: extras_export_templates_destroy - description: Delete a export template object. + operationId: dcim_site_groups_destroy + description: Delete a site group object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this export template. + description: A unique integer value identifying this site group. required: true tags: - - extras + - dcim security: - cookieAuth: [] - tokenAuth: [] responses: '204': description: No response body - /api/extras/export-templates/{id}/sync/: - post: - operationId: extras_export_templates_sync_create - description: Provide a /sync API endpoint to synchronize an object's data from - its associated DataFile (if any). - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this export template. - required: true - tags: - - extras - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/ExportTemplateRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/ExportTemplateRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/ExportTemplate' - description: '' - /api/extras/image-attachments/: + /api/dcim/sites/: get: - operationId: extras_image_attachments_list - description: Get a list of image attachment objects. + operationId: dcim_sites_list + description: Get a list of site objects. parameters: - in: query - name: created + name: asn schema: type: array items: - type: string - format: date-time + type: integer + maximum: 4294967295 + minimum: 1 + format: int64 + description: AS (ID) explode: true style: form - in: query - name: created__empty + name: asn__n schema: type: array items: - type: string - format: date-time + type: integer + maximum: 4294967295 + minimum: 1 + format: int64 + description: AS (ID) explode: true style: form - in: query - name: created__gt + name: asn_id schema: type: array items: - type: string - format: date-time + type: integer + description: AS (ID) explode: true style: form - in: query - name: created__gte + name: asn_id__n schema: type: array items: - type: string - format: date-time + type: integer + description: AS (ID) explode: true style: form - in: query - name: created__lt + name: contact schema: type: array items: - type: string - format: date-time + type: integer + description: Contact explode: true style: form - in: query - name: created__lte + name: contact__n schema: type: array items: - type: string - format: date-time + type: integer + description: Contact explode: true style: form - in: query - name: created__n + name: contact_group schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created_by_request - schema: - type: string - format: uuid - - in: query - name: id + name: contact_group__n schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__empty - schema: - type: boolean - - in: query - name: id__gt + name: contact_role schema: type: array items: type: integer - format: int32 + description: Contact Role explode: true style: form - in: query - name: id__gte + name: contact_role__n schema: type: array items: type: integer - format: int32 + description: Contact Role explode: true style: form - in: query - name: id__lt + name: created schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: id__lte + name: created__empty schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: id__n + name: created__gt schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: image_height + name: created__gte schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: image_height__empty - schema: - type: boolean - - in: query - name: image_height__gt + name: created__lt schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: image_height__gte + name: created__lte schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: image_height__lt + name: created__n schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: image_height__lte + name: created_by_request schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form + type: string + format: uuid - in: query - name: image_height__n + name: description schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: image_width + name: description__empty + schema: + type: boolean + - in: query + name: description__ic schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: image_width__empty - schema: - type: boolean - - in: query - name: image_width__gt + name: description__ie schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: image_width__gte + name: description__iew schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: image_width__lt + name: description__isw schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: image_width__lte + name: description__n schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: image_width__n + name: description__nic schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: last_updated + name: description__nie schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__empty + name: description__niew schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__gt + name: description__nisw schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__gte + name: facility schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__lt + name: facility__empty + schema: + type: boolean + - in: query + name: facility__ic schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__lte + name: facility__ie schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__n + name: facility__iew 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: modified_by_request - schema: - type: string - format: uuid - in: query - name: name + name: facility__isw schema: type: array items: @@ -59504,11 +84871,7 @@ paths: explode: true style: form - in: query - name: name__empty - schema: - type: boolean - - in: query - name: name__ic + name: facility__n schema: type: array items: @@ -59516,7 +84879,7 @@ paths: explode: true style: form - in: query - name: name__ie + name: facility__nic schema: type: array items: @@ -59524,7 +84887,7 @@ paths: explode: true style: form - in: query - name: name__iew + name: facility__nie schema: type: array items: @@ -59532,7 +84895,7 @@ paths: explode: true style: form - in: query - name: name__isw + name: facility__niew schema: type: array items: @@ -59540,7 +84903,7 @@ paths: explode: true style: form - in: query - name: name__n + name: facility__nisw schema: type: array items: @@ -59548,7 +84911,7 @@ paths: explode: true style: form - in: query - name: name__nic + name: group schema: type: array items: @@ -59556,7 +84919,7 @@ paths: explode: true style: form - in: query - name: name__nie + name: group__n schema: type: array items: @@ -59564,7 +84927,7 @@ paths: explode: true style: form - in: query - name: name__niew + name: group_id schema: type: array items: @@ -59572,7 +84935,7 @@ paths: explode: true style: form - in: query - name: name__nisw + name: group_id__n schema: type: array items: @@ -59580,7 +84943,7 @@ paths: explode: true style: form - in: query - name: object_id + name: id schema: type: array items: @@ -59589,11 +84952,11 @@ paths: explode: true style: form - in: query - name: object_id__empty + name: id__empty schema: type: boolean - in: query - name: object_id__gt + name: id__gt schema: type: array items: @@ -59602,7 +84965,7 @@ paths: explode: true style: form - in: query - name: object_id__gte + name: id__gte schema: type: array items: @@ -59611,7 +84974,7 @@ paths: explode: true style: form - in: query - name: object_id__lt + name: id__lt schema: type: array items: @@ -59620,7 +84983,7 @@ paths: explode: true style: form - in: query - name: object_id__lte + name: id__lte schema: type: array items: @@ -59629,7 +84992,7 @@ paths: explode: true style: form - in: query - name: object_id__n + name: id__n schema: type: array items: @@ -59638,555 +85001,279 @@ paths: explode: true style: form - in: query - name: object_type - schema: - type: string - - in: query - name: object_type__n - schema: - type: string - - in: query - name: object_type_id - schema: - type: integer - - in: query - name: object_type_id__n - schema: - type: integer - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - in: query - name: q - schema: - type: string - description: Search - - in: query - name: updated_by_request - schema: - type: string - format: uuid - tags: - - extras - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/PaginatedImageAttachmentList' - description: '' - post: - operationId: extras_image_attachments_create - description: Post a list of image attachment objects. - tags: - - extras - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/ImageAttachmentRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/ImageAttachmentRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '201': - content: - application/json: - schema: - $ref: '#/components/schemas/ImageAttachment' - description: '' - put: - operationId: extras_image_attachments_bulk_update - description: Put a list of image attachment objects. - tags: - - extras - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ImageAttachmentRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/ImageAttachmentRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ImageAttachment' - description: '' - patch: - operationId: extras_image_attachments_bulk_partial_update - description: Patch a list of image attachment objects. - tags: - - extras - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ImageAttachmentRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/ImageAttachmentRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ImageAttachment' - description: '' - delete: - operationId: extras_image_attachments_bulk_destroy - description: Delete a list of image attachment objects. - tags: - - extras - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ImageAttachmentRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/ImageAttachmentRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '204': - description: No response body - /api/extras/image-attachments/{id}/: - get: - operationId: extras_image_attachments_retrieve - description: Get a image attachment object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this image attachment. - required: true - tags: - - extras - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/ImageAttachment' - description: '' - put: - operationId: extras_image_attachments_update - description: Put a image attachment object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this image attachment. - required: true - tags: - - extras - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/ImageAttachmentRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/ImageAttachmentRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/ImageAttachment' - description: '' - patch: - operationId: extras_image_attachments_partial_update - description: Patch a image attachment object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this image attachment. - required: true - tags: - - extras - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/PatchedImageAttachmentRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/PatchedImageAttachmentRequest' - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/ImageAttachment' - description: '' - delete: - operationId: extras_image_attachments_destroy - description: Delete a image attachment object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this image attachment. - required: true - tags: - - extras - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '204': - description: No response body - /api/extras/journal-entries/: - get: - operationId: extras_journal_entries_list - description: Get a list of journal entry objects. - parameters: - - in: query - name: assigned_object_id + name: last_updated schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: assigned_object_id__empty - schema: - type: boolean - - in: query - name: assigned_object_id__gt + name: last_updated__empty schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: assigned_object_id__gte + name: last_updated__gt schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: assigned_object_id__lt + name: last_updated__gte schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: assigned_object_id__lte + name: last_updated__lt schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: assigned_object_id__n + name: last_updated__lte schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: assigned_object_type - schema: - type: string - - in: query - name: assigned_object_type__n - schema: - type: string - - in: query - name: assigned_object_type_id + name: last_updated__n schema: type: array items: - type: integer + type: string + format: date-time explode: true style: form - in: query - name: assigned_object_type_id__n + name: latitude schema: type: array items: - type: integer + type: number + format: double explode: true style: form - in: query - name: created_after + name: latitude__empty schema: - type: string - format: date-time + type: boolean - in: query - name: created_before + name: latitude__gt schema: - type: string - format: date-time + type: array + items: + type: number + format: double + explode: true + style: form - in: query - name: created_by + name: latitude__gte schema: type: array items: - type: string - description: User (name) + type: number + format: double explode: true style: form - in: query - name: created_by__n + name: latitude__lt schema: type: array items: - type: string - description: User (name) + type: number + format: double explode: true style: form - in: query - name: created_by_id + name: latitude__lte schema: type: array items: - type: integer - nullable: true - description: User (ID) + type: number + format: double explode: true style: form - in: query - name: created_by_id__n + name: latitude__n schema: type: array items: - type: integer - nullable: true - description: User (ID) + type: number + format: double explode: true style: form - - in: query - name: created_by_request + - name: limit + required: false + in: query + description: Number of results to return per page. schema: - type: string - format: uuid + type: integer - in: query - name: id + name: longitude schema: type: array items: - type: integer - format: int32 + type: number + format: double explode: true style: form - in: query - name: id__empty + name: longitude__empty schema: type: boolean - in: query - name: id__gt + name: longitude__gt schema: type: array items: - type: integer - format: int32 + type: number + format: double explode: true style: form - in: query - name: id__gte + name: longitude__gte schema: type: array items: - type: integer - format: int32 + type: number + format: double explode: true style: form - in: query - name: id__lt + name: longitude__lt schema: type: array items: - type: integer - format: int32 + type: number + format: double explode: true style: form - in: query - name: id__lte + name: longitude__lte schema: type: array items: - type: integer - format: int32 + type: number + format: double explode: true style: form - in: query - name: id__n + name: longitude__n schema: type: array items: - type: integer - format: int32 + type: number + format: double explode: true style: form - in: query - name: kind + name: modified_by_request + schema: + type: string + format: uuid + - in: query + name: name schema: type: array items: type: string - x-spec-enum-id: a21af280f632fa34 explode: true style: form - in: query - name: kind__n + name: name__empty + schema: + type: boolean + - in: query + name: name__ic schema: type: array items: type: string - x-spec-enum-id: a21af280f632fa34 explode: true style: form - in: query - name: last_updated + name: name__ie schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__empty + name: name__iew 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__lt + name: name__nic schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__lte + name: name__nie schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__n + name: name__niew 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: modified_by_request + name: name__nisw schema: - type: string - format: uuid + type: array + items: + type: string + explode: true + style: form - name: offset required: false in: query @@ -60205,7 +85292,7 @@ paths: type: string description: Search - in: query - name: tag + name: region schema: type: array items: @@ -60213,7 +85300,7 @@ paths: explode: true style: form - in: query - name: tag__n + name: region__n schema: type: array items: @@ -60221,633 +85308,422 @@ paths: explode: true style: form - in: query - name: updated_by_request - schema: - type: string - format: uuid - tags: - - extras - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/PaginatedJournalEntryList' - description: '' - post: - operationId: extras_journal_entries_create - description: Post a list of journal entry objects. - tags: - - extras - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/WritableJournalEntryRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/WritableJournalEntryRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '201': - content: - application/json: - schema: - $ref: '#/components/schemas/JournalEntry' - description: '' - put: - operationId: extras_journal_entries_bulk_update - description: Put a list of journal entry objects. - tags: - - extras - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/JournalEntryRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/JournalEntryRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/JournalEntry' - description: '' - patch: - operationId: extras_journal_entries_bulk_partial_update - description: Patch a list of journal entry objects. - tags: - - extras - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/JournalEntryRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/JournalEntryRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/JournalEntry' - description: '' - delete: - operationId: extras_journal_entries_bulk_destroy - description: Delete a list of journal entry objects. - tags: - - extras - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/JournalEntryRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/JournalEntryRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '204': - description: No response body - /api/extras/journal-entries/{id}/: - get: - operationId: extras_journal_entries_retrieve - description: Get a journal entry object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this journal entry. - required: true - tags: - - extras - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/JournalEntry' - description: '' - put: - operationId: extras_journal_entries_update - description: Put a journal entry object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this journal entry. - required: true - tags: - - extras - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/WritableJournalEntryRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/WritableJournalEntryRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/JournalEntry' - description: '' - patch: - operationId: extras_journal_entries_partial_update - description: Patch a journal entry object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this journal entry. - required: true - tags: - - extras - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/PatchedWritableJournalEntryRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/PatchedWritableJournalEntryRequest' - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/JournalEntry' - description: '' - delete: - operationId: extras_journal_entries_destroy - description: Delete a journal entry object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this journal entry. - required: true - tags: - - extras - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '204': - description: No response body - /api/extras/object-changes/: - get: - operationId: extras_object_changes_list - description: Retrieve a list of recent changes. - parameters: - - in: query - name: action - schema: - type: string - x-spec-enum-id: 544f9b3b28b7ce6a - enum: - - create - - delete - - update - description: '* `create` - Created - - * `update` - Updated - - * `delete` - Deleted' - - in: query - name: action__n - schema: - type: string - x-spec-enum-id: 544f9b3b28b7ce6a - enum: - - create - - delete - - update - description: '* `create` - Created - - * `update` - Updated - - * `delete` - Deleted' - - in: query - name: changed_object_id - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: changed_object_id__empty - schema: - type: boolean - - in: query - name: changed_object_id__gt + name: region_id schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: changed_object_id__gte + name: region_id__n schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: changed_object_id__lt + name: slug schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: changed_object_id__lte + name: slug__empty schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form + type: boolean - in: query - name: changed_object_id__n + name: slug__ic schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: changed_object_type - schema: - type: string - - in: query - name: changed_object_type__n - schema: - type: string - - in: query - name: changed_object_type_id + name: slug__ie schema: type: array items: - type: integer + type: string explode: true style: form - in: query - name: changed_object_type_id__n + name: slug__iew schema: type: array items: - type: integer + type: string explode: true style: form - in: query - name: id + name: slug__isw schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__empty - schema: - type: boolean - - in: query - name: id__gt + name: slug__n schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__gte + name: slug__nic schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__lt + name: slug__nie schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__lte + name: slug__niew schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__n + name: slug__nisw schema: type: array items: - type: integer - format: int32 + 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_repr + name: status schema: type: array items: type: string + x-spec-enum-id: e363a8ddb138be50 explode: true style: form - in: query - name: object_repr__empty + name: status__empty schema: type: boolean - in: query - name: object_repr__ic + name: status__ic schema: type: array items: type: string + x-spec-enum-id: e363a8ddb138be50 + enum: + - active + - decommissioning + - planned + - retired + - staging + description: '* `planned` - Planned + + * `staging` - Staging + + * `active` - Active + + * `decommissioning` - Decommissioning + + * `retired` - Retired' explode: true style: form - in: query - name: object_repr__ie + name: status__ie schema: type: array items: type: string + x-spec-enum-id: e363a8ddb138be50 + enum: + - active + - decommissioning + - planned + - retired + - staging + description: '* `planned` - Planned + + * `staging` - Staging + + * `active` - Active + + * `decommissioning` - Decommissioning + + * `retired` - Retired' explode: true style: form - in: query - name: object_repr__iew + name: status__iew schema: type: array items: type: string + x-spec-enum-id: e363a8ddb138be50 + enum: + - active + - decommissioning + - planned + - retired + - staging + description: '* `planned` - Planned + + * `staging` - Staging + + * `active` - Active + + * `decommissioning` - Decommissioning + + * `retired` - Retired' explode: true style: form - in: query - name: object_repr__isw + name: status__isw schema: type: array items: type: string + x-spec-enum-id: e363a8ddb138be50 + enum: + - active + - decommissioning + - planned + - retired + - staging + description: '* `planned` - Planned + + * `staging` - Staging + + * `active` - Active + + * `decommissioning` - Decommissioning + + * `retired` - Retired' explode: true style: form - in: query - name: object_repr__n + name: status__n schema: type: array items: type: string + x-spec-enum-id: e363a8ddb138be50 + enum: + - active + - decommissioning + - planned + - retired + - staging + description: '* `planned` - Planned + + * `staging` - Staging + + * `active` - Active + + * `decommissioning` - Decommissioning + + * `retired` - Retired' explode: true style: form - in: query - name: object_repr__nic + name: status__nic schema: type: array items: type: string + x-spec-enum-id: e363a8ddb138be50 + enum: + - active + - decommissioning + - planned + - retired + - staging + description: '* `planned` - Planned + + * `staging` - Staging + + * `active` - Active + + * `decommissioning` - Decommissioning + + * `retired` - Retired' explode: true style: form - in: query - name: object_repr__nie + name: status__nie schema: type: array items: type: string + x-spec-enum-id: e363a8ddb138be50 + enum: + - active + - decommissioning + - planned + - retired + - staging + description: '* `planned` - Planned + + * `staging` - Staging + + * `active` - Active + + * `decommissioning` - Decommissioning + + * `retired` - Retired' explode: true style: form - in: query - name: object_repr__niew + name: status__niew schema: type: array items: type: string + x-spec-enum-id: e363a8ddb138be50 + enum: + - active + - decommissioning + - planned + - retired + - staging + description: '* `planned` - Planned + + * `staging` - Staging + + * `active` - Active + + * `decommissioning` - Decommissioning + + * `retired` - Retired' explode: true style: form - in: query - name: object_repr__nisw + name: status__nisw schema: type: array items: type: string + x-spec-enum-id: e363a8ddb138be50 + enum: + - active + - decommissioning + - planned + - retired + - staging + description: '* `planned` - Planned + + * `staging` - Staging + + * `active` - Active + + * `decommissioning` - Decommissioning + + * `retired` - Retired' explode: true style: form - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - in: query - name: q - schema: - type: string - description: Search - in: query - name: related_object_id + name: tag schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: related_object_id__empty - schema: - type: boolean - - in: query - name: related_object_id__gt + name: tag__n schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: related_object_id__gte + name: tenant schema: type: array items: - type: integer - format: int32 + type: string + description: Tenant (slug) explode: true style: form - in: query - name: related_object_id__lt + name: tenant__n schema: type: array items: - type: integer - format: int32 + type: string + description: Tenant (slug) explode: true style: form - in: query - name: related_object_id__lte + name: tenant_group schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: related_object_id__n + name: tenant_group__n schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: related_object_type - schema: - type: integer - - in: query - name: related_object_type__n - schema: - type: integer - - in: query - name: request_id - schema: - type: string - format: uuid - - in: query - name: time_after - schema: - type: string - format: date-time - - in: query - name: time_before - schema: - type: string - format: date-time - - in: query - name: user + name: tenant_group_id schema: type: array items: type: string - description: User name explode: true style: form - in: query - name: user__n + name: tenant_group_id__n schema: type: array items: type: string - description: User name explode: true style: form - in: query - name: user_id + name: tenant_id schema: type: array items: type: integer nullable: true - description: User (ID) + description: Tenant (ID) explode: true style: form - in: query - name: user_id__n + name: tenant_id__n schema: type: array items: type: integer nullable: true - description: User (ID) + description: Tenant (ID) explode: true style: form - in: query - name: user_name + name: time_zone schema: type: array items: @@ -60855,11 +85731,7 @@ paths: explode: true style: form - in: query - name: user_name__empty - schema: - type: boolean - - in: query - name: user_name__ic + name: time_zone__ic schema: type: array items: @@ -60867,7 +85739,7 @@ paths: explode: true style: form - in: query - name: user_name__ie + name: time_zone__ie schema: type: array items: @@ -60875,7 +85747,7 @@ paths: explode: true style: form - in: query - name: user_name__iew + name: time_zone__iew schema: type: array items: @@ -60883,7 +85755,7 @@ paths: explode: true style: form - in: query - name: user_name__isw + name: time_zone__isw schema: type: array items: @@ -60891,7 +85763,7 @@ paths: explode: true style: form - in: query - name: user_name__n + name: time_zone__n schema: type: array items: @@ -60899,7 +85771,7 @@ paths: explode: true style: form - in: query - name: user_name__nic + name: time_zone__nic schema: type: array items: @@ -60907,7 +85779,7 @@ paths: explode: true style: form - in: query - name: user_name__nie + name: time_zone__nie schema: type: array items: @@ -60915,7 +85787,7 @@ paths: explode: true style: form - in: query - name: user_name__niew + name: time_zone__niew schema: type: array items: @@ -60923,15 +85795,20 @@ paths: explode: true style: form - in: query - name: user_name__nisw + name: time_zone__nisw schema: type: array items: type: string explode: true style: form + - in: query + name: updated_by_request + schema: + type: string + format: uuid tags: - - extras + - dcim security: - cookieAuth: [] - tokenAuth: [] @@ -60940,21 +85817,129 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedObjectChangeList' + $ref: '#/components/schemas/PaginatedSiteList' + description: '' + post: + operationId: dcim_sites_create + description: Post a list of site objects. + tags: + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableSiteRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableSiteRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json: + schema: + $ref: '#/components/schemas/Site' + description: '' + put: + operationId: dcim_sites_bulk_update + description: Put a list of site objects. + tags: + - dcim + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/SiteRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/SiteRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/Site' + description: '' + patch: + operationId: dcim_sites_bulk_partial_update + description: Patch a list of site objects. + tags: + - dcim + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/SiteRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/SiteRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/Site' description: '' - /api/extras/object-changes/{id}/: + delete: + operationId: dcim_sites_bulk_destroy + description: Delete a list of site objects. + tags: + - dcim + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/SiteRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/SiteRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /api/dcim/sites/{id}/: get: - operationId: extras_object_changes_retrieve - description: Retrieve a list of recent changes. + operationId: dcim_sites_retrieve + description: Get a site object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this object change. + description: A unique integer value identifying this site. required: true tags: - - extras + - dcim security: - cookieAuth: [] - tokenAuth: [] @@ -60963,50 +85948,29 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ObjectChange' + $ref: '#/components/schemas/Site' description: '' - /api/extras/object-types/: - get: - operationId: extras_object_types_list - description: Read-only list of ObjectTypes. + put: + operationId: dcim_sites_update + description: Put a site object. parameters: - - in: query - name: app_label - schema: - type: string - - in: query + - in: path name: id schema: type: integer - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - in: query - name: model - schema: - type: string - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - in: query - name: q - schema: - type: string - description: Search + description: A unique integer value identifying this site. + required: true tags: - - extras + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableSiteRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableSiteRequest' + required: true security: - cookieAuth: [] - tokenAuth: [] @@ -61015,21 +85979,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedObjectTypeList' + $ref: '#/components/schemas/Site' description: '' - /api/extras/object-types/{id}/: - get: - operationId: extras_object_types_retrieve - description: Read-only list of ObjectTypes. + patch: + operationId: dcim_sites_partial_update + description: Patch a site object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this object type. + description: A unique integer value identifying this site. required: true tags: - - extras + - dcim + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableSiteRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableSiteRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -61038,12 +86009,30 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ObjectType' + $ref: '#/components/schemas/Site' description: '' - /api/extras/saved-filters/: + delete: + operationId: dcim_sites_destroy + description: Delete a site object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this site. + required: true + tags: + - dcim + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /api/dcim/virtual-chassis/: get: - operationId: extras_saved_filters_list - description: Get a list of saved filter objects. + operationId: dcim_virtual_chassis_list + description: Get a list of virtual chassis objects. parameters: - in: query name: created @@ -61198,9 +86187,89 @@ paths: explode: true style: form - in: query - name: enabled + name: domain + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: domain__empty schema: type: boolean + - in: query + name: domain__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: domain__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: domain__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: domain__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: domain__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: domain__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: domain__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: domain__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: domain__nisw + schema: + type: array + items: + type: string + explode: true + style: form - in: query name: id schema: @@ -61328,6 +86397,104 @@ paths: description: Number of results to return per page. schema: type: integer + - in: query + name: master + schema: + type: array + items: + type: string + nullable: true + description: Master (name) + explode: true + style: form + - in: query + name: master__n + schema: + type: array + items: + type: string + nullable: true + description: Master (name) + explode: true + style: form + - in: query + name: master_id + schema: + type: array + items: + type: integer + nullable: true + description: Master (ID) + explode: true + style: form + - in: query + name: master_id__n + schema: + type: array + items: + type: integer + nullable: true + description: Master (ID) + explode: true + style: form + - in: query + name: member_count + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: member_count__empty + schema: + type: boolean + - in: query + name: member_count__gt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: member_count__gte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: member_count__lt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: member_count__lte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: member_count__n + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form - in: query name: modified_by_request schema: @@ -61417,97 +86584,25 @@ paths: type: string explode: true style: form - - in: query - name: object_type + - name: offset + required: false + in: query + description: The initial index from which to return the results. schema: - type: string - - in: query - name: object_type__ic + type: integer + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. schema: type: string - in: query - name: object_type__ie + name: q schema: type: string + description: Search - in: query - name: object_type__iew - schema: - type: string - - in: query - name: object_type__isw - schema: - type: string - - in: query - name: object_type__n - schema: - type: string - - in: query - name: object_type__nic - schema: - type: string - - in: query - name: object_type__nie - schema: - type: string - - in: query - name: object_type__niew - schema: - type: string - - in: query - name: object_type__nisw - schema: - type: string - - in: query - name: object_type_id - schema: - type: array - items: - type: integer - explode: true - style: form - - in: query - name: object_type_id__n - schema: - type: array - items: - 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 - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - in: query - name: q - schema: - type: string - description: Search - - in: query - name: shared - schema: - type: boolean - - in: query - name: slug - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__empty - schema: - type: boolean - - in: query - name: slug__ic + name: region schema: type: array items: @@ -61515,7 +86610,7 @@ paths: explode: true style: form - in: query - name: slug__ie + name: region__n schema: type: array items: @@ -61523,7 +86618,7 @@ paths: explode: true style: form - in: query - name: slug__iew + name: region_id schema: type: array items: @@ -61531,7 +86626,7 @@ paths: explode: true style: form - in: query - name: slug__isw + name: region_id__n schema: type: array items: @@ -61539,23 +86634,25 @@ paths: explode: true style: form - in: query - name: slug__n + name: site schema: type: array items: type: string + description: Site name (slug) explode: true style: form - in: query - name: slug__nic + name: site__n schema: type: array items: type: string + description: Site name (slug) explode: true style: form - in: query - name: slug__nie + name: site_group schema: type: array items: @@ -61563,7 +86660,7 @@ paths: explode: true style: form - in: query - name: slug__niew + name: site_group__n schema: type: array items: @@ -61571,7 +86668,7 @@ paths: explode: true style: form - in: query - name: slug__nisw + name: site_group_id schema: type: array items: @@ -61579,112 +86676,90 @@ paths: explode: true style: form - in: query - name: updated_by_request - schema: - type: string - format: uuid - - in: query - name: usable - schema: - type: boolean - - in: query - name: user + name: site_group_id__n schema: type: array items: type: string - description: User (name) explode: true style: form - in: query - name: user__n + name: site_id schema: type: array items: - type: string - description: User (name) + type: integer + description: Site (ID) explode: true style: form - in: query - name: user_id + name: site_id__n schema: type: array items: type: integer - nullable: true - description: User (ID) + description: Site (ID) explode: true style: form - in: query - name: user_id__n + name: tag schema: type: array items: - type: integer - nullable: true - description: User (ID) + type: string explode: true style: form - in: query - name: weight + name: tag__n schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: weight__empty - schema: - type: boolean - - in: query - name: weight__gt + name: tenant schema: type: array items: - type: integer - format: int32 + type: string + description: Tenant (slug) explode: true style: form - in: query - name: weight__gte + name: tenant__n schema: type: array items: - type: integer - format: int32 + type: string + description: Tenant (slug) explode: true style: form - in: query - name: weight__lt + name: tenant_id schema: type: array items: type: integer - format: int32 + description: Tenant (ID) explode: true style: form - in: query - name: weight__lte + name: tenant_id__n schema: type: array items: type: integer - format: int32 + description: Tenant (ID) explode: true style: form - in: query - name: weight__n + name: updated_by_request schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form + type: string + format: uuid tags: - - extras + - dcim security: - cookieAuth: [] - tokenAuth: [] @@ -61693,21 +86768,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedSavedFilterList' + $ref: '#/components/schemas/PaginatedVirtualChassisList' description: '' post: - operationId: extras_saved_filters_create - description: Post a list of saved filter objects. + operationId: dcim_virtual_chassis_create + description: Post a list of virtual chassis objects. tags: - - extras + - dcim requestBody: content: application/json: schema: - $ref: '#/components/schemas/SavedFilterRequest' + $ref: '#/components/schemas/WritableVirtualChassisRequest' multipart/form-data: schema: - $ref: '#/components/schemas/SavedFilterRequest' + $ref: '#/components/schemas/WritableVirtualChassisRequest' required: true security: - cookieAuth: [] @@ -61717,25 +86792,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/SavedFilter' + $ref: '#/components/schemas/VirtualChassis' description: '' put: - operationId: extras_saved_filters_bulk_update - description: Put a list of saved filter objects. + operationId: dcim_virtual_chassis_bulk_update + description: Put a list of virtual chassis objects. tags: - - extras + - dcim requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/SavedFilterRequest' + $ref: '#/components/schemas/VirtualChassisRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/SavedFilterRequest' + $ref: '#/components/schemas/VirtualChassisRequest' required: true security: - cookieAuth: [] @@ -61747,25 +86822,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/SavedFilter' + $ref: '#/components/schemas/VirtualChassis' description: '' patch: - operationId: extras_saved_filters_bulk_partial_update - description: Patch a list of saved filter objects. + operationId: dcim_virtual_chassis_bulk_partial_update + description: Patch a list of virtual chassis objects. tags: - - extras + - dcim requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/SavedFilterRequest' + $ref: '#/components/schemas/VirtualChassisRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/SavedFilterRequest' + $ref: '#/components/schemas/VirtualChassisRequest' required: true security: - cookieAuth: [] @@ -61777,25 +86852,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/SavedFilter' + $ref: '#/components/schemas/VirtualChassis' description: '' delete: - operationId: extras_saved_filters_bulk_destroy - description: Delete a list of saved filter objects. + operationId: dcim_virtual_chassis_bulk_destroy + description: Delete a list of virtual chassis objects. tags: - - extras + - dcim requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/SavedFilterRequest' + $ref: '#/components/schemas/VirtualChassisRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/SavedFilterRequest' + $ref: '#/components/schemas/VirtualChassisRequest' required: true security: - cookieAuth: [] @@ -61803,19 +86878,19 @@ paths: responses: '204': description: No response body - /api/extras/saved-filters/{id}/: + /api/dcim/virtual-chassis/{id}/: get: - operationId: extras_saved_filters_retrieve - description: Get a saved filter object. + operationId: dcim_virtual_chassis_retrieve + description: Get a virtual chassis object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this saved filter. + description: A unique integer value identifying this virtual chassis. required: true tags: - - extras + - dcim security: - cookieAuth: [] - tokenAuth: [] @@ -61824,28 +86899,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/SavedFilter' + $ref: '#/components/schemas/VirtualChassis' description: '' put: - operationId: extras_saved_filters_update - description: Put a saved filter object. + operationId: dcim_virtual_chassis_update + description: Put a virtual chassis object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this saved filter. + description: A unique integer value identifying this virtual chassis. required: true tags: - - extras + - dcim requestBody: content: application/json: schema: - $ref: '#/components/schemas/SavedFilterRequest' + $ref: '#/components/schemas/WritableVirtualChassisRequest' multipart/form-data: schema: - $ref: '#/components/schemas/SavedFilterRequest' + $ref: '#/components/schemas/WritableVirtualChassisRequest' required: true security: - cookieAuth: [] @@ -61855,28 +86930,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/SavedFilter' + $ref: '#/components/schemas/VirtualChassis' description: '' patch: - operationId: extras_saved_filters_partial_update - description: Patch a saved filter object. + operationId: dcim_virtual_chassis_partial_update + description: Patch a virtual chassis object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this saved filter. + description: A unique integer value identifying this virtual chassis. required: true tags: - - extras + - dcim requestBody: content: application/json: schema: - $ref: '#/components/schemas/PatchedSavedFilterRequest' + $ref: '#/components/schemas/PatchedWritableVirtualChassisRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedSavedFilterRequest' + $ref: '#/components/schemas/PatchedWritableVirtualChassisRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -61885,119 +86960,101 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/SavedFilter' + $ref: '#/components/schemas/VirtualChassis' description: '' delete: - operationId: extras_saved_filters_destroy - description: Delete a saved filter object. + operationId: dcim_virtual_chassis_destroy + description: Delete a virtual chassis object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this saved filter. + description: A unique integer value identifying this virtual chassis. required: true tags: - - extras + - dcim security: - cookieAuth: [] - tokenAuth: [] responses: '204': description: No response body - /api/extras/scripts/: + /api/dcim/virtual-device-contexts/: get: - operationId: extras_scripts_list - description: Get a list of script objects. + operationId: dcim_virtual_device_contexts_list + description: Get a list of virtual device context objects. parameters: - in: query - name: id + name: created schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: id__empty - schema: - type: boolean - - in: query - name: id__gt + name: created__empty schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: id__gte + name: created__gt schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: id__lt + name: created__gte schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: id__lte + name: created__lt schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: id__n + name: created__lte schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: is_executable - schema: - type: boolean - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - in: query - name: module_id + name: created__n schema: type: array items: - type: integer - description: Script module (ID) + type: string + format: date-time explode: true style: form - in: query - name: module_id__n + name: created_by_request schema: - type: array - items: - type: integer - description: Script module (ID) - explode: true - style: form + type: string + format: uuid - in: query - name: name + name: description schema: type: array items: @@ -62005,11 +87062,11 @@ paths: explode: true style: form - in: query - name: name__empty + name: description__empty schema: type: boolean - in: query - name: name__ic + name: description__ic schema: type: array items: @@ -62017,7 +87074,7 @@ paths: explode: true style: form - in: query - name: name__ie + name: description__ie schema: type: array items: @@ -62025,7 +87082,7 @@ paths: explode: true style: form - in: query - name: name__iew + name: description__iew schema: type: array items: @@ -62033,7 +87090,7 @@ paths: explode: true style: form - in: query - name: name__isw + name: description__isw schema: type: array items: @@ -62041,7 +87098,7 @@ paths: explode: true style: form - in: query - name: name__n + name: description__n schema: type: array items: @@ -62049,7 +87106,7 @@ paths: explode: true style: form - in: query - name: name__nic + name: description__nic schema: type: array items: @@ -62057,7 +87114,7 @@ paths: explode: true style: form - in: query - name: name__nie + name: description__nie schema: type: array items: @@ -62065,7 +87122,7 @@ paths: explode: true style: form - in: query - name: name__niew + name: description__niew schema: type: array items: @@ -62073,241 +87130,105 @@ paths: explode: true style: form - in: query - name: name__nisw + name: description__nisw 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 - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - in: query - name: q - schema: - type: string - description: Search - tags: - - extras - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/PaginatedScriptList' - description: '' - post: - operationId: extras_scripts_create - description: Post a list of script objects. - tags: - - extras - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '201': - content: - application/json: - schema: - $ref: '#/components/schemas/Script' - description: '' - /api/extras/scripts/{id}/: - get: - operationId: extras_scripts_retrieve - description: Get a script object. - parameters: - - in: path - name: id - schema: - type: string - pattern: ^[^/]+$ - required: true - tags: - - extras - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/Script' - description: '' - put: - operationId: extras_scripts_update - description: Put a script object. - parameters: - - in: path - name: id - schema: - type: string - pattern: ^[^/]+$ - required: true - tags: - - extras - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/Script' - description: '' - patch: - operationId: extras_scripts_partial_update - description: Patch a script object. - parameters: - - in: path - name: id - schema: - type: string - pattern: ^[^/]+$ - required: true - tags: - - extras - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/Script' - description: '' - delete: - operationId: extras_scripts_destroy - description: Delete a script object. - parameters: - - in: path - name: id - schema: - type: string - pattern: ^[^/]+$ - required: true - tags: - - extras - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '204': - description: No response body - /api/extras/tags/: - get: - operationId: extras_tags_list - description: Get a list of tag objects. - parameters: - in: query - name: color + name: device schema: type: array items: - type: string + type: integer + description: Device model explode: true style: form - in: query - name: color__empty - schema: - type: boolean - - in: query - name: color__ic + name: device__n schema: type: array items: - type: string + type: integer + description: Device model explode: true style: form - in: query - name: color__ie + name: device_id schema: type: array items: - type: string + type: integer + description: VDC (ID) explode: true style: form - in: query - name: color__iew + name: device_id__n schema: type: array items: - type: string + type: integer + description: VDC (ID) explode: true style: form - in: query - name: color__isw + name: has_primary_ip schema: - type: array - items: - type: string - explode: true - style: form + type: boolean + description: Has a primary IP - in: query - name: color__n + name: id schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: color__nic + name: id__empty schema: - type: array - items: - type: string - explode: true - style: form + type: boolean - in: query - name: color__nie + name: id__gt schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: color__niew + name: id__gte schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: color__nisw + name: id__lt schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: content_type + name: id__lte schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: content_type_id + name: id__n schema: type: array items: @@ -62316,417 +87237,469 @@ paths: explode: true style: form - in: query - name: created + name: identifier schema: type: array items: - type: string - format: date-time + type: integer + format: int32 explode: true style: form - in: query - name: created__empty + name: identifier__empty schema: - type: array - items: - type: string - format: date-time - explode: true - style: form + type: boolean - in: query - name: created__gt + name: identifier__gt schema: type: array items: - type: string - format: date-time + type: integer + format: int32 explode: true style: form - in: query - name: created__gte + name: identifier__gte schema: type: array items: - type: string - format: date-time + type: integer + format: int32 explode: true style: form - in: query - name: created__lt + name: identifier__lt schema: type: array items: - type: string - format: date-time + type: integer + format: int32 explode: true style: form - in: query - name: created__lte + name: identifier__lte schema: type: array items: - type: string - format: date-time + type: integer + format: int32 explode: true style: form - in: query - name: created__n + name: identifier__n schema: type: array items: - type: string - format: date-time + type: integer + format: int32 explode: true style: form - in: query - name: created_by_request - schema: - type: string - format: uuid - - in: query - name: description + name: interface_id schema: type: array items: - type: string + type: integer + description: Interface (ID) explode: true style: form - in: query - name: description__empty - schema: - type: boolean - - in: query - name: description__ic + name: interface_id__n schema: type: array items: - type: string + type: integer + description: Interface (ID) 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: last_updated__empty schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: description__isw + name: last_updated__gt schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: description__n + name: last_updated__gte schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: description__nic + name: last_updated__lt schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: description__nie + name: last_updated__lte schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: description__niew + name: last_updated__n schema: type: array items: type: string + format: date-time explode: true style: form - - in: query - name: description__nisw + - 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: for_object_type_id + name: modified_by_request schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form + type: string + format: uuid - in: query - name: id + name: name schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__empty + name: name__empty schema: type: boolean - in: query - name: id__gt + name: name__ic schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__gte + name: name__ie schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__lt + name: name__iew schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__lte + name: name__isw schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__n + name: name__n schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: last_updated + name: name__nic schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__empty + name: name__nie schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__gt + name: name__niew schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__gte + name: name__nisw 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: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string - in: query - name: last_updated__lt + name: primary_ip4_id schema: type: array items: - type: string - format: date-time + type: integer + description: Primary IPv4 (ID) explode: true style: form - in: query - name: last_updated__lte + name: primary_ip4_id__n schema: type: array items: - type: string - format: date-time + type: integer + description: Primary IPv4 (ID) explode: true style: form - in: query - name: last_updated__n + name: primary_ip6_id schema: type: array items: - type: string - format: date-time + type: integer + description: Primary IPv6 (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: modified_by_request - schema: - type: string - format: uuid - in: query - name: name + name: primary_ip6_id__n schema: type: array items: - type: string + type: integer + description: Primary IPv6 (ID) explode: true style: form - in: query - name: name__empty + name: q schema: - type: boolean + type: string + description: Search - in: query - name: name__ic + name: status schema: type: array items: type: string + x-spec-enum-id: ee1ef02def7a91ab explode: true style: form - in: query - name: name__ie + name: status__empty schema: - type: array - items: - type: string - explode: true - style: form + type: boolean - in: query - name: name__iew + name: status__ic schema: type: array items: type: string + x-spec-enum-id: ee1ef02def7a91ab + enum: + - active + - offline + - planned + description: '* `active` - Active + + * `planned` - Planned + + * `offline` - Offline' explode: true style: form - in: query - name: name__isw + name: status__ie schema: type: array items: type: string + x-spec-enum-id: ee1ef02def7a91ab + enum: + - active + - offline + - planned + description: '* `active` - Active + + * `planned` - Planned + + * `offline` - Offline' explode: true style: form - in: query - name: name__n + name: status__iew schema: type: array items: type: string + x-spec-enum-id: ee1ef02def7a91ab + enum: + - active + - offline + - planned + description: '* `active` - Active + + * `planned` - Planned + + * `offline` - Offline' explode: true style: form - in: query - name: name__nic + name: status__isw schema: type: array items: type: string + x-spec-enum-id: ee1ef02def7a91ab + enum: + - active + - offline + - planned + description: '* `active` - Active + + * `planned` - Planned + + * `offline` - Offline' explode: true style: form - in: query - name: name__nie + name: status__n schema: type: array items: type: string + x-spec-enum-id: ee1ef02def7a91ab + enum: + - active + - offline + - planned + description: '* `active` - Active + + * `planned` - Planned + + * `offline` - Offline' explode: true style: form - in: query - name: name__niew + name: status__nic schema: type: array items: type: string + x-spec-enum-id: ee1ef02def7a91ab + enum: + - active + - offline + - planned + description: '* `active` - Active + + * `planned` - Planned + + * `offline` - Offline' explode: true style: form - in: query - name: name__nisw + name: status__nie schema: type: array items: type: string + x-spec-enum-id: ee1ef02def7a91ab + enum: + - active + - offline + - planned + description: '* `active` - Active + + * `planned` - Planned + + * `offline` - Offline' explode: true style: form - in: query - name: object_types + name: status__niew schema: type: array items: - type: integer + type: string + x-spec-enum-id: ee1ef02def7a91ab + enum: + - active + - offline + - planned + description: '* `active` - Active + + * `planned` - Planned + + * `offline` - Offline' explode: true style: form - in: query - name: object_types__n + name: status__nisw schema: type: array items: - type: integer + type: string + x-spec-enum-id: ee1ef02def7a91ab + enum: + - active + - offline + - planned + description: '* `active` - Active + + * `planned` - Planned + + * `offline` - Offline' explode: true style: form - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - in: query - name: q - schema: - type: string - description: Search - in: query - name: slug + name: tag schema: type: array items: @@ -62734,11 +87707,7 @@ paths: explode: true style: form - in: query - name: slug__empty - schema: - type: boolean - - in: query - name: slug__ic + name: tag__n schema: type: array items: @@ -62746,23 +87715,25 @@ paths: explode: true style: form - in: query - name: slug__ie + name: tenant schema: type: array items: type: string + description: Tenant (slug) explode: true style: form - in: query - name: slug__iew + name: tenant__n schema: type: array items: type: string + description: Tenant (slug) explode: true style: form - in: query - name: slug__isw + name: tenant_group schema: type: array items: @@ -62770,7 +87741,7 @@ paths: explode: true style: form - in: query - name: slug__n + name: tenant_group__n schema: type: array items: @@ -62778,7 +87749,7 @@ paths: explode: true style: form - in: query - name: slug__nic + name: tenant_group_id schema: type: array items: @@ -62786,7 +87757,7 @@ paths: explode: true style: form - in: query - name: slug__nie + name: tenant_group_id__n schema: type: array items: @@ -62794,19 +87765,23 @@ paths: explode: true style: form - in: query - name: slug__niew + name: tenant_id schema: type: array items: - type: string + type: integer + nullable: true + description: Tenant (ID) explode: true style: form - in: query - name: slug__nisw + name: tenant_id__n schema: type: array items: - type: string + type: integer + nullable: true + description: Tenant (ID) explode: true style: form - in: query @@ -62815,7 +87790,7 @@ paths: type: string format: uuid tags: - - extras + - dcim security: - cookieAuth: [] - tokenAuth: [] @@ -62824,21 +87799,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedTagList' + $ref: '#/components/schemas/PaginatedVirtualDeviceContextList' description: '' post: - operationId: extras_tags_create - description: Post a list of tag objects. + operationId: dcim_virtual_device_contexts_create + description: Post a list of virtual device context objects. tags: - - extras + - dcim requestBody: content: application/json: schema: - $ref: '#/components/schemas/TagRequest' + $ref: '#/components/schemas/WritableVirtualDeviceContextRequest' multipart/form-data: schema: - $ref: '#/components/schemas/TagRequest' + $ref: '#/components/schemas/WritableVirtualDeviceContextRequest' required: true security: - cookieAuth: [] @@ -62848,25 +87823,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Tag' + $ref: '#/components/schemas/VirtualDeviceContext' description: '' put: - operationId: extras_tags_bulk_update - description: Put a list of tag objects. + operationId: dcim_virtual_device_contexts_bulk_update + description: Put a list of virtual device context objects. tags: - - extras + - dcim requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/TagRequest' + $ref: '#/components/schemas/VirtualDeviceContextRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/TagRequest' + $ref: '#/components/schemas/VirtualDeviceContextRequest' required: true security: - cookieAuth: [] @@ -62878,25 +87853,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/Tag' + $ref: '#/components/schemas/VirtualDeviceContext' description: '' patch: - operationId: extras_tags_bulk_partial_update - description: Patch a list of tag objects. + operationId: dcim_virtual_device_contexts_bulk_partial_update + description: Patch a list of virtual device context objects. tags: - - extras + - dcim requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/TagRequest' + $ref: '#/components/schemas/VirtualDeviceContextRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/TagRequest' + $ref: '#/components/schemas/VirtualDeviceContextRequest' required: true security: - cookieAuth: [] @@ -62908,25 +87883,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/Tag' + $ref: '#/components/schemas/VirtualDeviceContext' description: '' delete: - operationId: extras_tags_bulk_destroy - description: Delete a list of tag objects. + operationId: dcim_virtual_device_contexts_bulk_destroy + description: Delete a list of virtual device context objects. tags: - - extras + - dcim requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/TagRequest' + $ref: '#/components/schemas/VirtualDeviceContextRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/TagRequest' + $ref: '#/components/schemas/VirtualDeviceContextRequest' required: true security: - cookieAuth: [] @@ -62934,19 +87909,19 @@ paths: responses: '204': description: No response body - /api/extras/tags/{id}/: + /api/dcim/virtual-device-contexts/{id}/: get: - operationId: extras_tags_retrieve - description: Get a tag object. + operationId: dcim_virtual_device_contexts_retrieve + description: Get a virtual device context object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this tag. + description: A unique integer value identifying this virtual device context. required: true tags: - - extras + - dcim security: - cookieAuth: [] - tokenAuth: [] @@ -62955,28 +87930,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Tag' + $ref: '#/components/schemas/VirtualDeviceContext' description: '' put: - operationId: extras_tags_update - description: Put a tag object. + operationId: dcim_virtual_device_contexts_update + description: Put a virtual device context object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this tag. + description: A unique integer value identifying this virtual device context. required: true tags: - - extras + - dcim requestBody: content: application/json: schema: - $ref: '#/components/schemas/TagRequest' + $ref: '#/components/schemas/WritableVirtualDeviceContextRequest' multipart/form-data: schema: - $ref: '#/components/schemas/TagRequest' + $ref: '#/components/schemas/WritableVirtualDeviceContextRequest' required: true security: - cookieAuth: [] @@ -62986,28 +87961,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Tag' + $ref: '#/components/schemas/VirtualDeviceContext' description: '' patch: - operationId: extras_tags_partial_update - description: Patch a tag object. + operationId: dcim_virtual_device_contexts_partial_update + description: Patch a virtual device context object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this tag. + description: A unique integer value identifying this virtual device context. required: true tags: - - extras + - dcim requestBody: content: application/json: schema: - $ref: '#/components/schemas/PatchedTagRequest' + $ref: '#/components/schemas/PatchedWritableVirtualDeviceContextRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedTagRequest' + $ref: '#/components/schemas/PatchedWritableVirtualDeviceContextRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -63016,113 +87991,596 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Tag' + $ref: '#/components/schemas/VirtualDeviceContext' description: '' delete: - operationId: extras_tags_destroy - description: Delete a tag object. + operationId: dcim_virtual_device_contexts_destroy + description: Delete a virtual device context object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this tag. + description: A unique integer value identifying this virtual device context. required: true tags: - - extras + - dcim security: - cookieAuth: [] - tokenAuth: [] responses: '204': description: No response body - /api/extras/webhooks/: + /api/extras/bookmarks/: get: - operationId: extras_webhooks_list - description: Get a list of webhook objects. + operationId: extras_bookmarks_list + description: Get a list of bookmark objects. parameters: - in: query - name: ca_file_path + name: created + schema: + type: string + format: date-time + - in: query + name: id schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: ca_file_path__empty + name: id__empty schema: type: boolean - in: query - name: ca_file_path__ic + name: id__gt schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: ca_file_path__ie + name: id__gte schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: ca_file_path__iew + name: id__lt schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: ca_file_path__isw + name: id__lte schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: ca_file_path__n + name: id__n schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer - in: query - name: ca_file_path__nic + name: object_id schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: ca_file_path__nie + name: object_id__empty + schema: + type: boolean + - in: query + name: object_id__gt schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: ca_file_path__niew + name: object_id__gte schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: ca_file_path__nisw + name: object_id__lt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: object_id__lte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: object_id__n + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: object_type + schema: + type: string + - in: query + name: object_type__n + schema: + type: string + - in: query + name: object_type_id + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: object_type_id__empty + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: object_type_id__gt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: object_type_id__gte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: object_type_id__lt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: object_type_id__lte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: object_type_id__n + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string + - in: query + name: user + schema: + type: array + items: + type: string + description: User (name) + explode: true + style: form + - in: query + name: user__n + schema: + type: array + items: + type: string + description: User (name) + explode: true + style: form + - in: query + name: user_id + schema: + type: array + items: + type: integer + description: User (ID) + explode: true + style: form + - in: query + name: user_id__n + schema: + type: array + items: + type: integer + description: User (ID) + explode: true + style: form + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/PaginatedBookmarkList' + description: '' + post: + operationId: extras_bookmarks_create + description: Post a list of bookmark objects. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/BookmarkRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/BookmarkRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json: + schema: + $ref: '#/components/schemas/Bookmark' + description: '' + put: + operationId: extras_bookmarks_bulk_update + description: Put a list of bookmark objects. + tags: + - extras + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/BookmarkRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/BookmarkRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/Bookmark' + description: '' + patch: + operationId: extras_bookmarks_bulk_partial_update + description: Patch a list of bookmark objects. + tags: + - extras + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/BookmarkRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/BookmarkRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/Bookmark' + description: '' + delete: + operationId: extras_bookmarks_bulk_destroy + description: Delete a list of bookmark objects. + tags: + - extras + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/BookmarkRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/BookmarkRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /api/extras/bookmarks/{id}/: + get: + operationId: extras_bookmarks_retrieve + description: Get a bookmark object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this bookmark. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/Bookmark' + description: '' + put: + operationId: extras_bookmarks_update + description: Put a bookmark object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this bookmark. + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/BookmarkRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/BookmarkRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/Bookmark' + description: '' + patch: + operationId: extras_bookmarks_partial_update + description: Patch a bookmark object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this bookmark. + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedBookmarkRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedBookmarkRequest' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/Bookmark' + description: '' + delete: + operationId: extras_bookmarks_destroy + description: Delete a bookmark object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this bookmark. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /api/extras/config-contexts/: + get: + operationId: extras_config_contexts_list + description: Get a list of config context objects. + parameters: + - in: query + name: auto_sync_enabled + schema: + type: boolean + - in: query + name: cluster_group + schema: + type: array + items: + type: string + description: Cluster group (slug) + explode: true + style: form + - in: query + name: cluster_group__n + schema: + type: array + items: + type: string + description: Cluster group (slug) + explode: true + style: form + - in: query + name: cluster_group_id + schema: + type: array + items: + type: integer + description: Cluster group + explode: true + style: form + - in: query + name: cluster_group_id__n + schema: + type: array + items: + type: integer + description: Cluster group + explode: true + style: form + - in: query + name: cluster_id + schema: + type: array + items: + type: integer + description: Cluster + explode: true + style: form + - in: query + name: cluster_id__n + schema: + type: array + items: + type: integer + description: Cluster + explode: true + style: form + - in: query + name: cluster_type + schema: + type: array + items: + type: string + description: Cluster type (slug) + explode: true + style: form + - in: query + name: cluster_type__n schema: type: array items: type: string + description: Cluster type (slug) + explode: true + style: form + - in: query + name: cluster_type_id + schema: + type: array + items: + type: integer + description: Cluster type + explode: true + style: form + - in: query + name: cluster_type_id__n + schema: + type: array + items: + type: integer + description: Cluster type explode: true style: form - in: query @@ -63194,91 +88652,105 @@ paths: type: string format: uuid - in: query - name: description + name: data_file_id schema: type: array items: - type: string + type: integer + nullable: true + description: Data file (ID) explode: true style: form - in: query - name: description__empty - schema: - type: boolean - - in: query - name: description__ic + name: data_file_id__n schema: type: array items: - type: string + type: integer + nullable: true + description: Data file (ID) explode: true style: form - in: query - name: description__ie + name: data_source_id schema: type: array items: - type: string + type: integer + nullable: true + description: Data source (ID) explode: true style: form - in: query - name: description__iew + name: data_source_id__n schema: type: array items: - type: string + type: integer + nullable: true + description: Data source (ID) explode: true style: form - in: query - name: description__isw + name: data_synced schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: description__n + name: data_synced__empty + schema: + type: boolean + - in: query + name: data_synced__gt schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: description__nic + name: data_synced__gte schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: description__nie + name: data_synced__lt schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: description__niew + name: data_synced__lte schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: description__nisw + name: data_synced__n schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: http_content_type + name: description schema: type: array items: @@ -63286,11 +88758,11 @@ paths: explode: true style: form - in: query - name: http_content_type__empty + name: description__empty schema: type: boolean - in: query - name: http_content_type__ic + name: description__ic schema: type: array items: @@ -63298,7 +88770,7 @@ paths: explode: true style: form - in: query - name: http_content_type__ie + name: description__ie schema: type: array items: @@ -63306,7 +88778,7 @@ paths: explode: true style: form - in: query - name: http_content_type__iew + name: description__iew schema: type: array items: @@ -63314,7 +88786,7 @@ paths: explode: true style: form - in: query - name: http_content_type__isw + name: description__isw schema: type: array items: @@ -63322,7 +88794,7 @@ paths: explode: true style: form - in: query - name: http_content_type__n + name: description__n schema: type: array items: @@ -63330,7 +88802,7 @@ paths: explode: true style: form - in: query - name: http_content_type__nic + name: description__nic schema: type: array items: @@ -63338,7 +88810,7 @@ paths: explode: true style: form - in: query - name: http_content_type__nie + name: description__nie schema: type: array items: @@ -63346,7 +88818,7 @@ paths: explode: true style: form - in: query - name: http_content_type__niew + name: description__niew schema: type: array items: @@ -63354,7 +88826,7 @@ paths: explode: true style: form - in: query - name: http_content_type__nisw + name: description__nisw schema: type: array items: @@ -63362,21 +88834,57 @@ paths: explode: true style: form - in: query - name: http_method + name: device_role schema: type: array items: type: string - x-spec-enum-id: a12018571a034921 + description: Role (slug) explode: true style: form - in: query - name: http_method__n + name: device_role__n schema: type: array items: type: string - x-spec-enum-id: a12018571a034921 + description: Role (slug) + explode: true + style: form + - in: query + name: device_role_id + schema: + type: array + items: + type: integer + description: Role + explode: true + style: form + - in: query + name: device_role_id__n + schema: + type: array + items: + type: integer + description: Role + explode: true + style: form + - in: query + name: device_type_id + schema: + type: array + items: + type: integer + description: Device type + explode: true + style: form + - in: query + name: device_type_id__n + schema: + type: array + items: + type: integer + description: Device type explode: true style: form - in: query @@ -63437,6 +88945,10 @@ paths: format: int32 explode: true style: form + - in: query + name: is_active + schema: + type: boolean - in: query name: last_updated schema: @@ -63506,6 +89018,42 @@ paths: description: Number of results to return per page. schema: type: integer + - in: query + name: location + schema: + type: array + items: + type: string + description: Location (slug) + explode: true + style: form + - in: query + name: location__n + schema: + type: array + items: + type: string + description: Location (slug) + explode: true + style: form + - in: query + name: location_id + schema: + type: array + items: + type: integer + description: Location + explode: true + style: form + - in: query + name: location_id__n + schema: + type: array + items: + type: integer + description: Location + explode: true + style: form - in: query name: modified_by_request schema: @@ -63608,11 +89156,39 @@ paths: schema: type: string - in: query - name: payload_url + name: platform + schema: + type: array + items: + type: string + description: Platform (slug) + explode: true + style: form + - in: query + name: platform__n schema: type: array items: type: string + description: Platform (slug) + explode: true + style: form + - in: query + name: platform_id + schema: + type: array + items: + type: integer + description: Platform + explode: true + style: form + - in: query + name: platform_id__n + schema: + type: array + items: + type: integer + description: Platform explode: true style: form - in: query @@ -63621,107 +89197,219 @@ paths: type: string description: Search - in: query - name: secret + name: region schema: type: array items: type: string + description: Region (slug) explode: true style: form - in: query - name: secret__empty + name: region__n schema: - type: boolean + type: array + items: + type: string + description: Region (slug) + explode: true + style: form - in: query - name: secret__ic + name: region_id schema: type: array items: - type: string + type: integer + description: Region explode: true style: form - in: query - name: secret__ie + name: region_id__n schema: type: array items: - type: string + type: integer + description: Region explode: true style: form - in: query - name: secret__iew + name: site schema: type: array items: type: string + description: Site (slug) explode: true style: form - in: query - name: secret__isw + name: site__n schema: type: array items: type: string + description: Site (slug) explode: true style: form - in: query - name: secret__n + name: site_group schema: type: array items: type: string + description: Site group (slug) explode: true style: form - in: query - name: secret__nic + name: site_group__n schema: type: array items: type: string + description: Site group (slug) explode: true style: form - in: query - name: secret__nie + name: site_group_id + schema: + type: array + items: + type: integer + description: Site group + explode: true + style: form + - in: query + name: site_group_id__n + schema: + type: array + items: + type: integer + description: Site group + explode: true + style: form + - in: query + name: site_id + schema: + type: array + items: + type: integer + description: Site + explode: true + style: form + - in: query + name: site_id__n + schema: + type: array + items: + type: integer + description: Site + explode: true + style: form + - in: query + name: tag schema: type: array items: type: string + description: Tag (slug) explode: true style: form - in: query - name: secret__niew + name: tag__n schema: type: array items: type: string + description: Tag (slug) explode: true style: form - in: query - name: secret__nisw + name: tag_id + schema: + type: array + items: + type: integer + description: Tag + explode: true + style: form + - in: query + name: tag_id__n + schema: + type: array + items: + type: integer + description: Tag + explode: true + style: form + - in: query + name: tenant schema: type: array items: type: string + description: Tenant (slug) explode: true style: form - in: query - name: ssl_verification + name: tenant__n schema: - type: boolean + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form - in: query - name: tag + name: tenant_group schema: type: array items: type: string + description: Tenant group (slug) explode: true style: form - in: query - name: tag__n + name: tenant_group__n schema: type: array items: type: string + description: Tenant group (slug) + explode: true + style: form + - in: query + name: tenant_group_id + schema: + type: array + items: + type: integer + description: Tenant group + explode: true + style: form + - in: query + name: tenant_group_id__n + schema: + type: array + items: + type: integer + description: Tenant group + explode: true + style: form + - in: query + name: tenant_id + schema: + type: array + items: + type: integer + description: Tenant + explode: true + style: form + - in: query + name: tenant_id__n + schema: + type: array + items: + type: integer + description: Tenant explode: true style: form - in: query @@ -63729,6 +89417,64 @@ paths: schema: type: string format: uuid + - in: query + name: weight + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: weight__empty + schema: + type: boolean + - in: query + name: weight__gt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: weight__gte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: weight__lt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: weight__lte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: weight__n + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form tags: - extras security: @@ -63739,21 +89485,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedWebhookList' + $ref: '#/components/schemas/PaginatedConfigContextList' description: '' post: - operationId: extras_webhooks_create - description: Post a list of webhook objects. + operationId: extras_config_contexts_create + description: Post a list of config context objects. tags: - extras requestBody: content: application/json: schema: - $ref: '#/components/schemas/WebhookRequest' + $ref: '#/components/schemas/ConfigContextRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WebhookRequest' + $ref: '#/components/schemas/ConfigContextRequest' required: true security: - cookieAuth: [] @@ -63763,11 +89509,11 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Webhook' + $ref: '#/components/schemas/ConfigContext' description: '' put: - operationId: extras_webhooks_bulk_update - description: Put a list of webhook objects. + operationId: extras_config_contexts_bulk_update + description: Put a list of config context objects. tags: - extras requestBody: @@ -63776,12 +89522,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/WebhookRequest' + $ref: '#/components/schemas/ConfigContextRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/WebhookRequest' + $ref: '#/components/schemas/ConfigContextRequest' required: true security: - cookieAuth: [] @@ -63793,11 +89539,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/Webhook' + $ref: '#/components/schemas/ConfigContext' description: '' patch: - operationId: extras_webhooks_bulk_partial_update - description: Patch a list of webhook objects. + operationId: extras_config_contexts_bulk_partial_update + description: Patch a list of config context objects. tags: - extras requestBody: @@ -63806,12 +89552,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/WebhookRequest' + $ref: '#/components/schemas/ConfigContextRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/WebhookRequest' + $ref: '#/components/schemas/ConfigContextRequest' required: true security: - cookieAuth: [] @@ -63823,11 +89569,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/Webhook' + $ref: '#/components/schemas/ConfigContext' description: '' delete: - operationId: extras_webhooks_bulk_destroy - description: Delete a list of webhook objects. + operationId: extras_config_contexts_bulk_destroy + description: Delete a list of config context objects. tags: - extras requestBody: @@ -63836,12 +89582,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/WebhookRequest' + $ref: '#/components/schemas/ConfigContextRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/WebhookRequest' + $ref: '#/components/schemas/ConfigContextRequest' required: true security: - cookieAuth: [] @@ -63849,16 +89595,16 @@ paths: responses: '204': description: No response body - /api/extras/webhooks/{id}/: + /api/extras/config-contexts/{id}/: get: - operationId: extras_webhooks_retrieve - description: Get a webhook object. + operationId: extras_config_contexts_retrieve + description: Get a config context object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this webhook. + description: A unique integer value identifying this config context. required: true tags: - extras @@ -63870,17 +89616,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Webhook' + $ref: '#/components/schemas/ConfigContext' description: '' put: - operationId: extras_webhooks_update - description: Put a webhook object. + operationId: extras_config_contexts_update + description: Put a config context object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this webhook. + description: A unique integer value identifying this config context. required: true tags: - extras @@ -63888,10 +89634,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/WebhookRequest' + $ref: '#/components/schemas/ConfigContextRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WebhookRequest' + $ref: '#/components/schemas/ConfigContextRequest' required: true security: - cookieAuth: [] @@ -63901,17 +89647,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Webhook' + $ref: '#/components/schemas/ConfigContext' description: '' patch: - operationId: extras_webhooks_partial_update - description: Patch a webhook object. + operationId: extras_config_contexts_partial_update + description: Patch a config context object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this webhook. + description: A unique integer value identifying this config context. required: true tags: - extras @@ -63919,10 +89665,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PatchedWebhookRequest' + $ref: '#/components/schemas/PatchedConfigContextRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedWebhookRequest' + $ref: '#/components/schemas/PatchedConfigContextRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -63931,17 +89677,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Webhook' + $ref: '#/components/schemas/ConfigContext' description: '' delete: - operationId: extras_webhooks_destroy - description: Delete a webhook object. + operationId: extras_config_contexts_destroy + description: Delete a config context object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this webhook. + description: A unique integer value identifying this config context. required: true tags: - extras @@ -63951,11 +89697,48 @@ paths: responses: '204': description: No response body - /api/ipam/aggregates/: + /api/extras/config-contexts/{id}/sync/: + post: + operationId: extras_config_contexts_sync_create + description: Provide a /sync API endpoint to synchronize an object's data from + its associated DataFile (if any). + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this config context. + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ConfigContextRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/ConfigContextRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/ConfigContext' + description: '' + /api/extras/config-templates/: get: - operationId: ipam_aggregates_list - description: Get a list of aggregate objects. + operationId: extras_config_templates_list + description: Get a list of config template objects. parameters: + - in: query + name: auto_sync_enabled + schema: + type: boolean - in: query name: created schema: @@ -64025,73 +89808,113 @@ paths: type: string format: uuid - in: query - name: date_added + name: data_file_id schema: type: array items: - type: string - format: date + type: integer + nullable: true + description: Data file (ID) explode: true style: form - in: query - name: date_added__empty - schema: - type: boolean - - in: query - name: date_added__gt + name: data_file_id__n schema: type: array items: - type: string - format: date + type: integer + nullable: true + description: Data file (ID) explode: true style: form - in: query - name: date_added__gte + name: data_source_id schema: type: array items: - type: string - format: date + type: integer + nullable: true + description: Data source (ID) explode: true style: form - in: query - name: date_added__lt + name: data_source_id__n schema: type: array items: - type: string - format: date + type: integer + nullable: true + description: Data source (ID) explode: true style: form - in: query - name: date_added__lte + name: data_synced schema: type: array items: type: string - format: date + format: date-time explode: true style: form - in: query - name: date_added__n + name: data_synced__empty + schema: + type: boolean + - in: query + name: data_synced__gt schema: type: array items: type: string - format: date + format: date-time explode: true style: form - in: query - name: description + name: data_synced__gte schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: description__empty + name: data_synced__lt + schema: + type: array + items: + type: string + format: date-time + explode: true + style: form + - in: query + name: data_synced__lte + schema: + type: array + items: + type: string + format: date-time + explode: true + style: form + - in: query + name: data_synced__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__empty schema: type: boolean - in: query @@ -64166,10 +89989,6 @@ paths: type: string explode: true style: form - - in: query - name: family - schema: - type: number - in: query name: id schema: @@ -64302,66 +90121,36 @@ paths: schema: type: string format: uuid - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - in: query - name: prefix - schema: - type: string - description: Prefix - in: query - name: q - schema: - type: string - description: Search - - in: query - name: rir + name: name schema: type: array items: type: string - description: RIR (slug) explode: true style: form - in: query - name: rir__n + name: name__empty schema: - type: array - items: - type: string - description: RIR (slug) - explode: true - style: form + type: boolean - in: query - name: rir_id + name: name__ic schema: type: array items: - type: integer - description: RIR (ID) + type: string explode: true style: form - in: query - name: rir_id__n + name: name__ie schema: type: array items: - type: integer - description: RIR (ID) + type: string explode: true style: form - in: query - name: tag + name: name__iew schema: type: array items: @@ -64369,7 +90158,7 @@ paths: explode: true style: form - in: query - name: tag__n + name: name__isw schema: type: array items: @@ -64377,77 +90166,76 @@ paths: explode: true style: form - in: query - name: tenant + name: name__n schema: type: array items: type: string - description: Tenant (slug) explode: true style: form - in: query - name: tenant__n + name: name__nic schema: type: array items: type: string - description: Tenant (slug) explode: true style: form - in: query - name: tenant_group + name: name__nie schema: type: array items: - type: integer - description: Tenant Group (slug) + type: string explode: true style: form - in: query - name: tenant_group__n + name: name__niew schema: type: array items: - type: integer - description: Tenant Group (slug) + type: string explode: true style: form - in: query - name: tenant_group_id + name: name__nisw schema: type: array items: - type: integer - description: Tenant Group (ID) + 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 + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string - in: query - name: tenant_group_id__n + name: q schema: - type: array - items: - type: integer - description: Tenant Group (ID) - explode: true - style: form + type: string + description: Search - in: query - name: tenant_id + name: tag schema: type: array items: - type: integer - nullable: true - description: Tenant (ID) + type: string explode: true style: form - in: query - name: tenant_id__n + name: tag__n schema: type: array items: - type: integer - nullable: true - description: Tenant (ID) + type: string explode: true style: form - in: query @@ -64456,7 +90244,7 @@ paths: type: string format: uuid tags: - - ipam + - extras security: - cookieAuth: [] - tokenAuth: [] @@ -64465,21 +90253,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedAggregateList' + $ref: '#/components/schemas/PaginatedConfigTemplateList' description: '' post: - operationId: ipam_aggregates_create - description: Post a list of aggregate objects. + operationId: extras_config_templates_create + description: Post a list of config template objects. tags: - - ipam + - extras requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableAggregateRequest' + $ref: '#/components/schemas/ConfigTemplateRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableAggregateRequest' + $ref: '#/components/schemas/ConfigTemplateRequest' required: true security: - cookieAuth: [] @@ -64489,25 +90277,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Aggregate' + $ref: '#/components/schemas/ConfigTemplate' description: '' put: - operationId: ipam_aggregates_bulk_update - description: Put a list of aggregate objects. + operationId: extras_config_templates_bulk_update + description: Put a list of config template objects. tags: - - ipam + - extras requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/AggregateRequest' + $ref: '#/components/schemas/ConfigTemplateRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/AggregateRequest' + $ref: '#/components/schemas/ConfigTemplateRequest' required: true security: - cookieAuth: [] @@ -64519,25 +90307,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/Aggregate' + $ref: '#/components/schemas/ConfigTemplate' description: '' patch: - operationId: ipam_aggregates_bulk_partial_update - description: Patch a list of aggregate objects. + operationId: extras_config_templates_bulk_partial_update + description: Patch a list of config template objects. tags: - - ipam + - extras requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/AggregateRequest' + $ref: '#/components/schemas/ConfigTemplateRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/AggregateRequest' + $ref: '#/components/schemas/ConfigTemplateRequest' required: true security: - cookieAuth: [] @@ -64549,25 +90337,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/Aggregate' + $ref: '#/components/schemas/ConfigTemplate' description: '' delete: - operationId: ipam_aggregates_bulk_destroy - description: Delete a list of aggregate objects. + operationId: extras_config_templates_bulk_destroy + description: Delete a list of config template objects. tags: - - ipam + - extras requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/AggregateRequest' + $ref: '#/components/schemas/ConfigTemplateRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/AggregateRequest' + $ref: '#/components/schemas/ConfigTemplateRequest' required: true security: - cookieAuth: [] @@ -64575,19 +90363,19 @@ paths: responses: '204': description: No response body - /api/ipam/aggregates/{id}/: + /api/extras/config-templates/{id}/: get: - operationId: ipam_aggregates_retrieve - description: Get a aggregate object. + operationId: extras_config_templates_retrieve + description: Get a config template object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this aggregate. + description: A unique integer value identifying this config template. required: true tags: - - ipam + - extras security: - cookieAuth: [] - tokenAuth: [] @@ -64596,28 +90384,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Aggregate' + $ref: '#/components/schemas/ConfigTemplate' description: '' put: - operationId: ipam_aggregates_update - description: Put a aggregate object. + operationId: extras_config_templates_update + description: Put a config template object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this aggregate. + description: A unique integer value identifying this config template. required: true tags: - - ipam + - extras requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableAggregateRequest' + $ref: '#/components/schemas/ConfigTemplateRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableAggregateRequest' + $ref: '#/components/schemas/ConfigTemplateRequest' required: true security: - cookieAuth: [] @@ -64627,28 +90415,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Aggregate' + $ref: '#/components/schemas/ConfigTemplate' description: '' patch: - operationId: ipam_aggregates_partial_update - description: Patch a aggregate object. + operationId: extras_config_templates_partial_update + description: Patch a config template object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this aggregate. + description: A unique integer value identifying this config template. required: true tags: - - ipam + - extras requestBody: content: application/json: schema: - $ref: '#/components/schemas/PatchedWritableAggregateRequest' + $ref: '#/components/schemas/PatchedConfigTemplateRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedWritableAggregateRequest' + $ref: '#/components/schemas/PatchedConfigTemplateRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -64657,31 +90445,134 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Aggregate' + $ref: '#/components/schemas/ConfigTemplate' description: '' delete: - operationId: ipam_aggregates_destroy - description: Delete a aggregate object. + operationId: extras_config_templates_destroy + description: Delete a config template object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this aggregate. + description: A unique integer value identifying this config template. required: true tags: - - ipam + - extras security: - cookieAuth: [] - tokenAuth: [] responses: '204': description: No response body - /api/ipam/asn-ranges/: + /api/extras/config-templates/{id}/render/: + post: + operationId: extras_config_templates_render_create + description: 'Render a ConfigTemplate using the context data provided (if any). + If the client requests "text/plain" data, + + return the raw rendered content, rather than serialized JSON.' + parameters: + - in: query + name: format + schema: + type: string + enum: + - json + - txt + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this config template. + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ConfigTemplateRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/ConfigTemplateRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/ConfigTemplate' + text/plain: + schema: + $ref: '#/components/schemas/ConfigTemplate' + description: '' + /api/extras/config-templates/{id}/sync/: + post: + operationId: extras_config_templates_sync_create + description: Provide a /sync API endpoint to synchronize an object's data from + its associated DataFile (if any). + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this config template. + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ConfigTemplateRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/ConfigTemplateRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/ConfigTemplate' + description: '' + /api/extras/custom-field-choice-sets/: get: - operationId: ipam_asn_ranges_list - description: Get a list of ASN range objects. + operationId: extras_custom_field_choice_sets_list + description: Get a list of custom field choice set objects. parameters: + - in: query + name: base_choices + schema: + type: string + x-spec-enum-id: cf0efb5195f85007 + enum: + - IATA + - ISO_3166 + - UN_LOCODE + description: 'Base set of predefined choices (optional) + + + * `IATA` - IATA (Airport codes) + + * `ISO_3166` - ISO 3166 (Country codes) + + * `UN_LOCODE` - UN/LOCODE (Location codes)' + - in: query + name: choice + schema: + type: array + items: + type: string + explode: true + style: form - in: query name: created schema: @@ -64834,64 +90725,6 @@ paths: type: string explode: true style: form - - in: query - name: end - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: end__empty - schema: - type: boolean - - in: query - name: end__gt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: end__gte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: end__lt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: end__lte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: end__n - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - in: query name: id schema: @@ -65114,6 +90947,10 @@ paths: description: The initial index from which to return the results. schema: type: integer + - in: query + name: order_alphabetically + schema: + type: boolean - name: ordering required: false in: query @@ -65125,281 +90962,13 @@ paths: schema: type: string description: Search - - in: query - name: rir - schema: - type: array - items: - type: string - description: RIR (slug) - explode: true - style: form - - in: query - name: rir__n - schema: - type: array - items: - type: string - description: RIR (slug) - explode: true - style: form - - in: query - name: rir_id - schema: - type: array - items: - type: integer - description: RIR (ID) - explode: true - style: form - - in: query - name: rir_id__n - schema: - type: array - items: - type: integer - description: RIR (ID) - explode: true - style: form - - in: query - name: slug - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__empty - schema: - type: boolean - - in: query - name: slug__ic - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__ie - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__iew - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__isw - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__n - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__nic - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__nie - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__niew - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__nisw - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: start - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: start__empty - schema: - type: boolean - - in: query - name: start__gt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: start__gte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: start__lt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: start__lte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: start__n - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: tag - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: tag__n - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: tenant - schema: - type: array - items: - type: string - description: Tenant (slug) - explode: true - style: form - - in: query - name: tenant__n - schema: - type: array - items: - type: string - description: Tenant (slug) - explode: true - style: form - - in: query - name: tenant_group - schema: - type: array - items: - type: integer - description: Tenant Group (slug) - explode: true - style: form - - in: query - name: tenant_group__n - schema: - type: array - items: - type: integer - description: Tenant Group (slug) - explode: true - style: form - - in: query - name: tenant_group_id - schema: - type: array - items: - type: integer - description: Tenant Group (ID) - explode: true - style: form - - in: query - name: tenant_group_id__n - schema: - type: array - items: - type: integer - description: Tenant Group (ID) - explode: true - style: form - - in: query - name: tenant_id - schema: - type: array - items: - type: integer - nullable: true - description: Tenant (ID) - explode: true - style: form - - in: query - name: tenant_id__n - schema: - type: array - items: - type: integer - nullable: true - description: Tenant (ID) - explode: true - style: form - in: query name: updated_by_request schema: type: string format: uuid tags: - - ipam + - extras security: - cookieAuth: [] - tokenAuth: [] @@ -65408,21 +90977,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedASNRangeList' + $ref: '#/components/schemas/PaginatedCustomFieldChoiceSetList' description: '' post: - operationId: ipam_asn_ranges_create - description: Post a list of ASN range objects. + operationId: extras_custom_field_choice_sets_create + description: Post a list of custom field choice set objects. tags: - - ipam + - extras requestBody: content: application/json: schema: - $ref: '#/components/schemas/ASNRangeRequest' + $ref: '#/components/schemas/WritableCustomFieldChoiceSetRequest' multipart/form-data: schema: - $ref: '#/components/schemas/ASNRangeRequest' + $ref: '#/components/schemas/WritableCustomFieldChoiceSetRequest' required: true security: - cookieAuth: [] @@ -65432,25 +91001,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ASNRange' + $ref: '#/components/schemas/CustomFieldChoiceSet' description: '' put: - operationId: ipam_asn_ranges_bulk_update - description: Put a list of ASN range objects. + operationId: extras_custom_field_choice_sets_bulk_update + description: Put a list of custom field choice set objects. tags: - - ipam + - extras requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/ASNRangeRequest' + $ref: '#/components/schemas/CustomFieldChoiceSetRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ASNRangeRequest' + $ref: '#/components/schemas/CustomFieldChoiceSetRequest' required: true security: - cookieAuth: [] @@ -65462,25 +91031,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ASNRange' + $ref: '#/components/schemas/CustomFieldChoiceSet' description: '' patch: - operationId: ipam_asn_ranges_bulk_partial_update - description: Patch a list of ASN range objects. + operationId: extras_custom_field_choice_sets_bulk_partial_update + description: Patch a list of custom field choice set objects. tags: - - ipam + - extras requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/ASNRangeRequest' + $ref: '#/components/schemas/CustomFieldChoiceSetRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ASNRangeRequest' + $ref: '#/components/schemas/CustomFieldChoiceSetRequest' required: true security: - cookieAuth: [] @@ -65492,25 +91061,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ASNRange' + $ref: '#/components/schemas/CustomFieldChoiceSet' description: '' delete: - operationId: ipam_asn_ranges_bulk_destroy - description: Delete a list of ASN range objects. + operationId: extras_custom_field_choice_sets_bulk_destroy + description: Delete a list of custom field choice set objects. tags: - - ipam + - extras requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/ASNRangeRequest' + $ref: '#/components/schemas/CustomFieldChoiceSetRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ASNRangeRequest' + $ref: '#/components/schemas/CustomFieldChoiceSetRequest' required: true security: - cookieAuth: [] @@ -65518,19 +91087,19 @@ paths: responses: '204': description: No response body - /api/ipam/asn-ranges/{id}/: + /api/extras/custom-field-choice-sets/{id}/: get: - operationId: ipam_asn_ranges_retrieve - description: Get a ASN range object. + operationId: extras_custom_field_choice_sets_retrieve + description: Get a custom field choice set object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this ASN range. + description: A unique integer value identifying this custom field choice set. required: true tags: - - ipam + - extras security: - cookieAuth: [] - tokenAuth: [] @@ -65539,28 +91108,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ASNRange' + $ref: '#/components/schemas/CustomFieldChoiceSet' description: '' put: - operationId: ipam_asn_ranges_update - description: Put a ASN range object. + operationId: extras_custom_field_choice_sets_update + description: Put a custom field choice set object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this ASN range. + description: A unique integer value identifying this custom field choice set. required: true tags: - - ipam + - extras requestBody: content: application/json: schema: - $ref: '#/components/schemas/ASNRangeRequest' + $ref: '#/components/schemas/WritableCustomFieldChoiceSetRequest' multipart/form-data: schema: - $ref: '#/components/schemas/ASNRangeRequest' + $ref: '#/components/schemas/WritableCustomFieldChoiceSetRequest' required: true security: - cookieAuth: [] @@ -65570,28 +91139,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ASNRange' + $ref: '#/components/schemas/CustomFieldChoiceSet' description: '' patch: - operationId: ipam_asn_ranges_partial_update - description: Patch a ASN range object. + operationId: extras_custom_field_choice_sets_partial_update + description: Patch a custom field choice set object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this ASN range. + description: A unique integer value identifying this custom field choice set. required: true tags: - - ipam + - extras requestBody: content: application/json: schema: - $ref: '#/components/schemas/PatchedASNRangeRequest' + $ref: '#/components/schemas/PatchedWritableCustomFieldChoiceSetRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedASNRangeRequest' + $ref: '#/components/schemas/PatchedWritableCustomFieldChoiceSetRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -65600,38 +91169,39 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ASNRange' + $ref: '#/components/schemas/CustomFieldChoiceSet' description: '' delete: - operationId: ipam_asn_ranges_destroy - description: Delete a ASN range object. + operationId: extras_custom_field_choice_sets_destroy + description: Delete a custom field choice set object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this ASN range. + description: A unique integer value identifying this custom field choice set. required: true tags: - - ipam + - extras security: - cookieAuth: [] - tokenAuth: [] responses: '204': description: No response body - /api/ipam/asn-ranges/{id}/available-asns/: + /api/extras/custom-field-choice-sets/{id}/choices/: get: - operationId: ipam_asn_ranges_available_asns_list - description: Get a ASN object. + operationId: extras_custom_field_choice_sets_choices_retrieve + description: Provides an endpoint to iterate through each choice in a set. parameters: - in: path name: id schema: type: integer + description: A unique integer value identifying this custom field choice set. required: true tags: - - ipam + - extras security: - cookieAuth: [] - tokenAuth: [] @@ -65640,107 +91210,45 @@ paths: content: application/json: schema: - type: array - items: - $ref: '#/components/schemas/AvailableASN' - description: '' - post: - operationId: ipam_asn_ranges_available_asns_create - description: Post a ASN object. - parameters: - - in: path - name: id - schema: - type: integer - required: true - tags: - - ipam - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ASNRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/ASNRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '201': - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ASN' + $ref: '#/components/schemas/CustomFieldChoiceSet' description: '' - /api/ipam/asns/: + /api/extras/custom-fields/: get: - operationId: ipam_asns_list - description: Get a list of ASN objects. + operationId: extras_custom_fields_list + description: Get a list of custom field objects. parameters: - in: query - name: asn - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: asn__empty - schema: - type: boolean - - in: query - name: asn__gt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: asn__gte + name: choice_set schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: asn__lt + name: choice_set__n schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: asn__lte + name: choice_set_id schema: type: array items: type: integer - format: int32 + nullable: true explode: true style: form - in: query - name: asn__n + name: choice_set_id__n schema: type: array items: type: integer - format: int32 + nullable: true explode: true style: form - in: query @@ -65896,264 +91404,231 @@ paths: explode: true style: form - in: query - name: id + name: filter_logic + schema: + type: string + x-spec-enum-id: a958350ae21c10ee + enum: + - disabled + - exact + - loose + description: 'Loose matches any instance of a given string; exact matches + the entire field. + + + * `disabled` - Disabled + + * `loose` - Loose + + * `exact` - Exact' + - in: query + name: group_name schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__empty + name: group_name__empty schema: type: boolean - in: query - name: id__gt + name: group_name__ic schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__gte + name: group_name__ie schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__lt + name: group_name__iew schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__lte + name: group_name__isw schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__n + name: group_name__n schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: last_updated + name: group_name__nic schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__empty + name: group_name__nie schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__gt + name: group_name__niew schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__gte + name: group_name__nisw schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__lt + name: id schema: type: array items: - type: string - format: date-time + type: integer + format: int32 explode: true style: form - in: query - name: last_updated__lte + name: id__empty schema: - type: array - items: - type: string - format: date-time - explode: true - style: form + type: boolean - in: query - name: last_updated__n + name: id__gt schema: type: array items: - type: string - format: date-time + type: integer + format: int32 explode: true style: form - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - in: query - name: modified_by_request - schema: - type: string - format: uuid - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - in: query - name: provider + name: id__gte schema: type: array items: - type: string - description: Provider (slug) + type: integer + format: int32 explode: true style: form - in: query - name: provider__n + name: id__lt schema: type: array items: - type: string - description: Provider (slug) + type: integer + format: int32 explode: true style: form - in: query - name: provider_id + name: id__lte schema: type: array items: type: integer - description: Provider (ID) + format: int32 explode: true style: form - in: query - name: provider_id__n + name: id__n schema: type: array items: type: integer - description: Provider (ID) + format: int32 explode: true style: form - in: query - name: q + name: is_cloneable schema: - type: string - description: Search + type: boolean - in: query - name: rir + name: label schema: type: array items: type: string - description: RIR (slug) explode: true style: form - in: query - name: rir__n + name: label__empty schema: - type: array - items: - type: string - description: RIR (slug) - explode: true - style: form + type: boolean - in: query - name: rir_id + name: label__ic schema: type: array items: - type: integer - description: RIR (ID) + type: string explode: true style: form - in: query - name: rir_id__n + name: label__ie schema: type: array items: - type: integer - description: RIR (ID) + type: string explode: true style: form - in: query - name: site + name: label__iew schema: type: array items: type: string - description: Site (slug) explode: true style: form - in: query - name: site__n + name: label__isw schema: type: array items: type: string - description: Site (slug) explode: true style: form - in: query - name: site_id + name: label__n schema: type: array items: - type: integer - description: Site (ID) + type: string explode: true style: form - in: query - name: site_id__n + name: label__nic schema: type: array items: - type: integer - description: Site (ID) + type: string explode: true style: form - in: query - name: tag + name: label__nie schema: type: array items: @@ -66161,7 +91636,7 @@ paths: explode: true style: form - in: query - name: tag__n + name: label__niew schema: type: array items: @@ -66169,381 +91644,149 @@ paths: explode: true style: form - in: query - name: tenant + name: label__nisw schema: type: array items: type: string - description: Tenant (slug) explode: true style: form - in: query - name: tenant__n + name: last_updated schema: type: array items: type: string - description: Tenant (slug) + format: date-time explode: true style: form - in: query - name: tenant_group + name: last_updated__empty schema: type: array items: - type: integer - description: Tenant Group (slug) + type: string + format: date-time explode: true style: form - in: query - name: tenant_group__n + name: last_updated__gt schema: type: array items: - type: integer - description: Tenant Group (slug) + type: string + format: date-time explode: true style: form - in: query - name: tenant_group_id + name: last_updated__gte schema: type: array items: - type: integer - description: Tenant Group (ID) + type: string + format: date-time explode: true style: form - in: query - name: tenant_group_id__n + name: last_updated__lt schema: type: array items: - type: integer - description: Tenant Group (ID) + type: string + format: date-time explode: true style: form - in: query - name: tenant_id + name: last_updated__lte schema: type: array items: - type: integer - nullable: true - description: Tenant (ID) + type: string + format: date-time explode: true style: form - in: query - name: tenant_id__n + name: last_updated__n schema: type: array items: - type: integer - nullable: true - description: Tenant (ID) + 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: updated_by_request + name: modified_by_request schema: type: string format: uuid - tags: - - ipam - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/PaginatedASNList' - description: '' - post: - operationId: ipam_asns_create - description: Post a list of ASN objects. - tags: - - ipam - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/ASNRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/ASNRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '201': - content: - application/json: - schema: - $ref: '#/components/schemas/ASN' - description: '' - put: - operationId: ipam_asns_bulk_update - description: Put a list of ASN objects. - tags: - - ipam - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ASNRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/ASNRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ASN' - description: '' - patch: - operationId: ipam_asns_bulk_partial_update - description: Patch a list of ASN objects. - tags: - - ipam - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ASNRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/ASNRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ASN' - description: '' - delete: - operationId: ipam_asns_bulk_destroy - description: Delete a list of ASN objects. - tags: - - ipam - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ASNRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/ASNRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '204': - description: No response body - /api/ipam/asns/{id}/: - get: - operationId: ipam_asns_retrieve - description: Get a ASN object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this ASN. - required: true - tags: - - ipam - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/ASN' - description: '' - put: - operationId: ipam_asns_update - description: Put a ASN object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this ASN. - required: true - tags: - - ipam - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/ASNRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/ASNRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/ASN' - description: '' - patch: - operationId: ipam_asns_partial_update - description: Patch a ASN object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this ASN. - required: true - tags: - - ipam - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/PatchedASNRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/PatchedASNRequest' - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/ASN' - description: '' - delete: - operationId: ipam_asns_destroy - description: Delete a ASN object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this ASN. - required: true - tags: - - ipam - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '204': - description: No response body - /api/ipam/fhrp-group-assignments/: - get: - operationId: ipam_fhrp_group_assignments_list - description: Get a list of FHRP group assignment objects. - parameters: - in: query - name: created + name: name schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__empty + name: name__empty + schema: + type: boolean + - in: query + name: name__ic schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__gt + name: name__ie schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__gte + name: name__iew schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__lt + name: name__isw schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__lte + name: name__n schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__n + name: name__nic schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created_by_request - schema: - type: string - format: uuid - - in: query - name: device + name: name__nie schema: type: array items: @@ -66551,83 +91794,124 @@ paths: explode: true style: form - in: query - name: device_id + name: name__niew schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: group_id + name: name__nisw schema: type: array items: - type: integer - description: Group (ID) + type: string explode: true style: form - in: query - name: group_id__n + name: object_type schema: - type: array - items: - type: integer - description: Group (ID) - explode: true - style: form + type: string - in: query - name: id + name: object_type__ic schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form + type: string - in: query - name: id__empty + name: object_type__ie schema: - type: boolean + type: string - in: query - name: id__gt + name: object_type__iew + schema: + type: string + - in: query + name: object_type__isw + schema: + type: string + - in: query + name: object_type__n + schema: + type: string + - in: query + name: object_type__nic + schema: + type: string + - in: query + name: object_type__nie + schema: + type: string + - in: query + name: object_type__niew + schema: + type: string + - in: query + name: object_type__nisw + schema: + type: string + - in: query + name: object_type_id schema: type: array items: type: integer - format: int32 explode: true style: form - in: query - name: id__gte + name: object_type_id__n schema: type: array items: type: integer - format: int32 explode: true style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string - in: query - name: id__lt + name: q + schema: + type: string + description: Search + - in: query + name: related_object_type + schema: + type: string + - in: query + name: related_object_type__n + schema: + type: string + - in: query + name: related_object_type_id schema: type: array items: type: integer - format: int32 explode: true style: form - in: query - name: id__lte + name: related_object_type_id__n schema: type: array items: type: integer - format: int32 explode: true style: form - in: query - name: id__n + name: required + schema: + type: boolean + - in: query + name: search_weight schema: type: array items: @@ -66636,7 +91920,11 @@ paths: explode: true style: form - in: query - name: interface_id + name: search_weight__empty + schema: + type: boolean + - in: query + name: search_weight__gt schema: type: array items: @@ -66645,11 +91933,7 @@ paths: explode: true style: form - in: query - name: interface_id__empty - schema: - type: boolean - - in: query - name: interface_id__gt + name: search_weight__gte schema: type: array items: @@ -66658,7 +91942,7 @@ paths: explode: true style: form - in: query - name: interface_id__gte + name: search_weight__lt schema: type: array items: @@ -66667,7 +91951,7 @@ paths: explode: true style: form - in: query - name: interface_id__lt + name: search_weight__lte schema: type: array items: @@ -66676,7 +91960,7 @@ paths: explode: true style: form - in: query - name: interface_id__lte + name: search_weight__n schema: type: array items: @@ -66685,110 +91969,524 @@ paths: explode: true style: form - in: query - name: interface_id__n + name: type schema: type: array items: - type: integer - format: int32 + type: string + x-spec-enum-id: 22e3a64138d10046 + description: The type of data this custom field holds explode: true style: form - in: query - name: interface_type + name: type__empty schema: - type: string + type: boolean - in: query - name: interface_type__n + name: type__ic schema: - type: string + type: array + items: + type: string + x-spec-enum-id: 22e3a64138d10046 + enum: + - boolean + - date + - datetime + - decimal + - integer + - json + - longtext + - multiobject + - multiselect + - object + - select + - text + - url + description: 'The type of data this custom field holds + + + * `text` - Text + + * `longtext` - Text (long) + + * `integer` - Integer + + * `decimal` - Decimal + + * `boolean` - Boolean (true/false) + + * `date` - Date + + * `datetime` - Date & time + + * `url` - URL + + * `json` - JSON + + * `select` - Selection + + * `multiselect` - Multiple selection + + * `object` - Object + + * `multiobject` - Multiple objects' + explode: true + style: form - in: query - name: last_updated + name: type__ie schema: type: array items: type: string - format: date-time + x-spec-enum-id: 22e3a64138d10046 + enum: + - boolean + - date + - datetime + - decimal + - integer + - json + - longtext + - multiobject + - multiselect + - object + - select + - text + - url + description: 'The type of data this custom field holds + + + * `text` - Text + + * `longtext` - Text (long) + + * `integer` - Integer + + * `decimal` - Decimal + + * `boolean` - Boolean (true/false) + + * `date` - Date + + * `datetime` - Date & time + + * `url` - URL + + * `json` - JSON + + * `select` - Selection + + * `multiselect` - Multiple selection + + * `object` - Object + + * `multiobject` - Multiple objects' explode: true style: form - in: query - name: last_updated__empty + name: type__iew schema: type: array items: type: string - format: date-time + x-spec-enum-id: 22e3a64138d10046 + enum: + - boolean + - date + - datetime + - decimal + - integer + - json + - longtext + - multiobject + - multiselect + - object + - select + - text + - url + description: 'The type of data this custom field holds + + + * `text` - Text + + * `longtext` - Text (long) + + * `integer` - Integer + + * `decimal` - Decimal + + * `boolean` - Boolean (true/false) + + * `date` - Date + + * `datetime` - Date & time + + * `url` - URL + + * `json` - JSON + + * `select` - Selection + + * `multiselect` - Multiple selection + + * `object` - Object + + * `multiobject` - Multiple objects' explode: true style: form - in: query - name: last_updated__gt + name: type__isw schema: type: array items: type: string - format: date-time + x-spec-enum-id: 22e3a64138d10046 + enum: + - boolean + - date + - datetime + - decimal + - integer + - json + - longtext + - multiobject + - multiselect + - object + - select + - text + - url + description: 'The type of data this custom field holds + + + * `text` - Text + + * `longtext` - Text (long) + + * `integer` - Integer + + * `decimal` - Decimal + + * `boolean` - Boolean (true/false) + + * `date` - Date + + * `datetime` - Date & time + + * `url` - URL + + * `json` - JSON + + * `select` - Selection + + * `multiselect` - Multiple selection + + * `object` - Object + + * `multiobject` - Multiple objects' explode: true style: form - in: query - name: last_updated__gte + name: type__n schema: type: array items: type: string - format: date-time + x-spec-enum-id: 22e3a64138d10046 + enum: + - boolean + - date + - datetime + - decimal + - integer + - json + - longtext + - multiobject + - multiselect + - object + - select + - text + - url + description: 'The type of data this custom field holds + + + * `text` - Text + + * `longtext` - Text (long) + + * `integer` - Integer + + * `decimal` - Decimal + + * `boolean` - Boolean (true/false) + + * `date` - Date + + * `datetime` - Date & time + + * `url` - URL + + * `json` - JSON + + * `select` - Selection + + * `multiselect` - Multiple selection + + * `object` - Object + + * `multiobject` - Multiple objects' explode: true style: form - in: query - name: last_updated__lt + name: type__nic schema: type: array items: type: string - format: date-time + x-spec-enum-id: 22e3a64138d10046 + enum: + - boolean + - date + - datetime + - decimal + - integer + - json + - longtext + - multiobject + - multiselect + - object + - select + - text + - url + description: 'The type of data this custom field holds + + + * `text` - Text + + * `longtext` - Text (long) + + * `integer` - Integer + + * `decimal` - Decimal + + * `boolean` - Boolean (true/false) + + * `date` - Date + + * `datetime` - Date & time + + * `url` - URL + + * `json` - JSON + + * `select` - Selection + + * `multiselect` - Multiple selection + + * `object` - Object + + * `multiobject` - Multiple objects' explode: true style: form - in: query - name: last_updated__lte + name: type__nie schema: type: array items: type: string - format: date-time + x-spec-enum-id: 22e3a64138d10046 + enum: + - boolean + - date + - datetime + - decimal + - integer + - json + - longtext + - multiobject + - multiselect + - object + - select + - text + - url + description: 'The type of data this custom field holds + + + * `text` - Text + + * `longtext` - Text (long) + + * `integer` - Integer + + * `decimal` - Decimal + + * `boolean` - Boolean (true/false) + + * `date` - Date + + * `datetime` - Date & time + + * `url` - URL + + * `json` - JSON + + * `select` - Selection + + * `multiselect` - Multiple selection + + * `object` - Object + + * `multiobject` - Multiple objects' explode: true style: form - in: query - name: last_updated__n + name: type__niew schema: type: array items: type: string - format: date-time + x-spec-enum-id: 22e3a64138d10046 + enum: + - boolean + - date + - datetime + - decimal + - integer + - json + - longtext + - multiobject + - multiselect + - object + - select + - text + - url + description: 'The type of data this custom field holds + + + * `text` - Text + + * `longtext` - Text (long) + + * `integer` - Integer + + * `decimal` - Decimal + + * `boolean` - Boolean (true/false) + + * `date` - Date + + * `datetime` - Date & time + + * `url` - URL + + * `json` - JSON + + * `select` - Selection + + * `multiselect` - Multiple selection + + * `object` - Object + + * `multiobject` - Multiple objects' explode: true style: form - - name: limit - required: false - in: query - description: Number of results to return per page. + - in: query + name: type__nisw schema: - type: integer + type: array + items: + type: string + x-spec-enum-id: 22e3a64138d10046 + enum: + - boolean + - date + - datetime + - decimal + - integer + - json + - longtext + - multiobject + - multiselect + - object + - select + - text + - url + description: 'The type of data this custom field holds + + + * `text` - Text + + * `longtext` - Text (long) + + * `integer` - Integer + + * `decimal` - Decimal + + * `boolean` - Boolean (true/false) + + * `date` - Date + + * `datetime` - Date & time + + * `url` - URL + + * `json` - JSON + + * `select` - Selection + + * `multiselect` - Multiple selection + + * `object` - Object + + * `multiobject` - Multiple objects' + explode: true + style: form - in: query - name: modified_by_request + name: ui_editable schema: type: string - format: uuid - - name: offset - required: false - in: query - description: The initial index from which to return the results. + x-spec-enum-id: 1065673147e26bb5 + enum: + - hidden + - 'no' + - 'yes' + description: 'Specifies whether the custom field value can be edited in the + UI + + + * `yes` - Yes + + * `no` - No + + * `hidden` - Hidden' + - in: query + name: ui_visible schema: - type: integer - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. + type: string + x-spec-enum-id: cd2cf94af56de747 + enum: + - always + - hidden + - if-set + description: 'Specifies whether the custom field is displayed in the UI + + + * `always` - Always + + * `if-set` - If set + + * `hidden` - Hidden' + - in: query + name: unique + schema: + type: boolean + - in: query + name: updated_by_request schema: type: string + format: uuid - in: query - name: priority + name: validation_maximum schema: type: array items: @@ -66797,11 +92495,11 @@ paths: explode: true style: form - in: query - name: priority__empty + name: validation_maximum__empty schema: type: boolean - in: query - name: priority__gt + name: validation_maximum__gt schema: type: array items: @@ -66810,7 +92508,7 @@ paths: explode: true style: form - in: query - name: priority__gte + name: validation_maximum__gte schema: type: array items: @@ -66819,7 +92517,7 @@ paths: explode: true style: form - in: query - name: priority__lt + name: validation_maximum__lt schema: type: array items: @@ -66828,7 +92526,7 @@ paths: explode: true style: form - in: query - name: priority__lte + name: validation_maximum__lte schema: type: array items: @@ -66837,7 +92535,7 @@ paths: explode: true style: form - in: query - name: priority__n + name: validation_maximum__n schema: type: array items: @@ -66846,12 +92544,65 @@ paths: explode: true style: form - in: query - name: updated_by_request + name: validation_minimum schema: - type: string - format: uuid + type: array + items: + type: integer + format: int32 + explode: true + style: form - in: query - name: virtual_machine + name: validation_minimum__empty + schema: + type: boolean + - in: query + name: validation_minimum__gt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: validation_minimum__gte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: validation_minimum__lt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: validation_minimum__lte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: validation_minimum__n + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: validation_regex schema: type: array items: @@ -66859,7 +92610,132 @@ paths: explode: true style: form - in: query - name: virtual_machine_id + name: validation_regex__empty + schema: + type: boolean + - in: query + name: validation_regex__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: validation_regex__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: validation_regex__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: validation_regex__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: validation_regex__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: validation_regex__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: validation_regex__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: validation_regex__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: validation_regex__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: weight + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: weight__empty + schema: + type: boolean + - in: query + name: weight__gt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: weight__gte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: weight__lt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: weight__lte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: weight__n schema: type: array items: @@ -66868,7 +92744,7 @@ paths: explode: true style: form tags: - - ipam + - extras security: - cookieAuth: [] - tokenAuth: [] @@ -66877,21 +92753,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedFHRPGroupAssignmentList' + $ref: '#/components/schemas/PaginatedCustomFieldList' description: '' post: - operationId: ipam_fhrp_group_assignments_create - description: Post a list of FHRP group assignment objects. + operationId: extras_custom_fields_create + description: Post a list of custom field objects. tags: - - ipam + - extras requestBody: content: application/json: schema: - $ref: '#/components/schemas/FHRPGroupAssignmentRequest' + $ref: '#/components/schemas/WritableCustomFieldRequest' multipart/form-data: schema: - $ref: '#/components/schemas/FHRPGroupAssignmentRequest' + $ref: '#/components/schemas/WritableCustomFieldRequest' required: true security: - cookieAuth: [] @@ -66901,25 +92777,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/FHRPGroupAssignment' + $ref: '#/components/schemas/CustomField' description: '' put: - operationId: ipam_fhrp_group_assignments_bulk_update - description: Put a list of FHRP group assignment objects. + operationId: extras_custom_fields_bulk_update + description: Put a list of custom field objects. tags: - - ipam + - extras requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/FHRPGroupAssignmentRequest' + $ref: '#/components/schemas/CustomFieldRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/FHRPGroupAssignmentRequest' + $ref: '#/components/schemas/CustomFieldRequest' required: true security: - cookieAuth: [] @@ -66931,25 +92807,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/FHRPGroupAssignment' + $ref: '#/components/schemas/CustomField' description: '' patch: - operationId: ipam_fhrp_group_assignments_bulk_partial_update - description: Patch a list of FHRP group assignment objects. + operationId: extras_custom_fields_bulk_partial_update + description: Patch a list of custom field objects. tags: - - ipam + - extras requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/FHRPGroupAssignmentRequest' + $ref: '#/components/schemas/CustomFieldRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/FHRPGroupAssignmentRequest' + $ref: '#/components/schemas/CustomFieldRequest' required: true security: - cookieAuth: [] @@ -66961,25 +92837,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/FHRPGroupAssignment' + $ref: '#/components/schemas/CustomField' description: '' delete: - operationId: ipam_fhrp_group_assignments_bulk_destroy - description: Delete a list of FHRP group assignment objects. + operationId: extras_custom_fields_bulk_destroy + description: Delete a list of custom field objects. tags: - - ipam + - extras requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/FHRPGroupAssignmentRequest' + $ref: '#/components/schemas/CustomFieldRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/FHRPGroupAssignmentRequest' + $ref: '#/components/schemas/CustomFieldRequest' required: true security: - cookieAuth: [] @@ -66987,19 +92863,19 @@ paths: responses: '204': description: No response body - /api/ipam/fhrp-group-assignments/{id}/: + /api/extras/custom-fields/{id}/: get: - operationId: ipam_fhrp_group_assignments_retrieve - description: Get a FHRP group assignment object. + operationId: extras_custom_fields_retrieve + description: Get a custom field object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this FHRP group assignment. + description: A unique integer value identifying this custom field. required: true tags: - - ipam + - extras security: - cookieAuth: [] - tokenAuth: [] @@ -67008,28 +92884,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/FHRPGroupAssignment' + $ref: '#/components/schemas/CustomField' description: '' put: - operationId: ipam_fhrp_group_assignments_update - description: Put a FHRP group assignment object. + operationId: extras_custom_fields_update + description: Put a custom field object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this FHRP group assignment. + description: A unique integer value identifying this custom field. required: true tags: - - ipam + - extras requestBody: content: application/json: schema: - $ref: '#/components/schemas/FHRPGroupAssignmentRequest' + $ref: '#/components/schemas/WritableCustomFieldRequest' multipart/form-data: schema: - $ref: '#/components/schemas/FHRPGroupAssignmentRequest' + $ref: '#/components/schemas/WritableCustomFieldRequest' required: true security: - cookieAuth: [] @@ -67039,28 +92915,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/FHRPGroupAssignment' + $ref: '#/components/schemas/CustomField' description: '' patch: - operationId: ipam_fhrp_group_assignments_partial_update - description: Patch a FHRP group assignment object. + operationId: extras_custom_fields_partial_update + description: Patch a custom field object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this FHRP group assignment. + description: A unique integer value identifying this custom field. required: true tags: - - ipam + - extras requestBody: content: application/json: schema: - $ref: '#/components/schemas/PatchedFHRPGroupAssignmentRequest' + $ref: '#/components/schemas/PatchedWritableCustomFieldRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedFHRPGroupAssignmentRequest' + $ref: '#/components/schemas/PatchedWritableCustomFieldRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -67069,135 +92945,85 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/FHRPGroupAssignment' + $ref: '#/components/schemas/CustomField' description: '' delete: - operationId: ipam_fhrp_group_assignments_destroy - description: Delete a FHRP group assignment object. + operationId: extras_custom_fields_destroy + description: Delete a custom field object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this FHRP group assignment. + description: A unique integer value identifying this custom field. required: true tags: - - ipam + - extras security: - cookieAuth: [] - tokenAuth: [] responses: '204': description: No response body - /api/ipam/fhrp-groups/: + /api/extras/custom-links/: get: - operationId: ipam_fhrp_groups_list - description: Get a list of FHRP group objects. + operationId: extras_custom_links_list + description: Get a list of custom link objects. parameters: - in: query - name: auth_key - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: auth_key__empty - schema: - type: boolean - - in: query - name: auth_key__ic - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: auth_key__ie - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: auth_key__iew - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: auth_key__isw - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: auth_key__n - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: auth_key__nic - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: auth_key__nie - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: auth_key__niew - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: auth_key__nisw - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: auth_type - schema: - type: array - items: - type: string - x-spec-enum-id: 12b9faea3a45bf37 - title: Authentication type - explode: true - style: form - - in: query - name: auth_type__n + name: button_class schema: - type: array - items: - type: string - x-spec-enum-id: 12b9faea3a45bf37 - title: Authentication type - explode: true - style: form + type: string + x-spec-enum-id: ee8e5bb1ccdcdb19 + enum: + - black + - blue + - cyan + - default + - ghost-dark + - gray + - green + - indigo + - orange + - pink + - purple + - red + - teal + - white + - yellow + description: 'The class of the first link in a group will be used for the + dropdown button + + + * `default` - Default + + * `blue` - Blue + + * `indigo` - Indigo + + * `purple` - Purple + + * `pink` - Pink + + * `red` - Red + + * `orange` - Orange + + * `yellow` - Yellow + + * `green` - Green + + * `teal` - Teal + + * `cyan` - Cyan + + * `gray` - Gray + + * `black` - Black + + * `white` - White + + * `ghost-dark` - Link' - in: query name: created schema: @@ -67267,19 +93093,11 @@ paths: type: string format: uuid - in: query - name: description - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: description__empty + name: enabled schema: type: boolean - in: query - name: description__ic + name: group_name schema: type: array items: @@ -67287,15 +93105,11 @@ paths: explode: true style: form - in: query - name: description__ie + name: group_name__empty schema: - type: array - items: - type: string - explode: true - style: form + type: boolean - in: query - name: description__iew + name: group_name__ic schema: type: array items: @@ -67303,7 +93117,7 @@ paths: explode: true style: form - in: query - name: description__isw + name: group_name__ie schema: type: array items: @@ -67311,7 +93125,7 @@ paths: explode: true style: form - in: query - name: description__n + name: group_name__iew schema: type: array items: @@ -67319,7 +93133,7 @@ paths: explode: true style: form - in: query - name: description__nic + name: group_name__isw schema: type: array items: @@ -67327,7 +93141,7 @@ paths: explode: true style: form - in: query - name: description__nie + name: group_name__n schema: type: array items: @@ -67335,7 +93149,7 @@ paths: explode: true style: form - in: query - name: description__niew + name: group_name__nic schema: type: array items: @@ -67343,7 +93157,7 @@ paths: explode: true style: form - in: query - name: description__nisw + name: group_name__nie schema: type: array items: @@ -67351,61 +93165,19 @@ paths: explode: true style: form - in: query - name: group_id - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: group_id__empty - schema: - type: boolean - - in: query - name: group_id__gt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: group_id__gte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: group_id__lt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: group_id__lte + name: group_name__niew schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: group_id__n + name: group_name__nisw schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query @@ -67535,6 +93307,86 @@ paths: description: Number of results to return per page. schema: type: integer + - in: query + name: link_text + schema: + type: string + - in: query + name: link_text__ic + schema: + type: string + - in: query + name: link_text__ie + schema: + type: string + - in: query + name: link_text__iew + schema: + type: string + - in: query + name: link_text__isw + schema: + type: string + - in: query + name: link_text__n + schema: + type: string + - in: query + name: link_text__nic + schema: + type: string + - in: query + name: link_text__nie + schema: + type: string + - in: query + name: link_text__niew + schema: + type: string + - in: query + name: link_text__nisw + schema: + type: string + - in: query + name: link_url + schema: + type: string + - in: query + name: link_url__ic + schema: + type: string + - in: query + name: link_url__ie + schema: + type: string + - in: query + name: link_url__iew + schema: + type: string + - in: query + name: link_url__isw + schema: + type: string + - in: query + name: link_url__n + schema: + type: string + - in: query + name: link_url__nic + schema: + type: string + - in: query + name: link_url__nie + schema: + type: string + - in: query + name: link_url__niew + schema: + type: string + - in: query + name: link_url__nisw + schema: + type: string - in: query name: modified_by_request schema: @@ -67624,72 +93476,148 @@ paths: 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: new_window schema: - type: integer - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. + type: boolean + - in: query + name: object_type schema: type: string - in: query - name: protocol + name: object_type__ic schema: - type: array - items: - type: string - x-spec-enum-id: 40dc831c689b4b78 - explode: true - style: form + type: string - in: query - name: protocol__n + name: object_type__ie schema: - type: array - items: - type: string - x-spec-enum-id: 40dc831c689b4b78 - explode: true - style: form + type: string - in: query - name: q + name: object_type__iew schema: type: string - description: Search - in: query - name: related_ip + name: object_type__isw schema: - type: array - items: - type: string - explode: true - style: form + type: string - in: query - name: tag + name: object_type__n + schema: + type: string + - in: query + name: object_type__nic + schema: + type: string + - in: query + name: object_type__nie + schema: + type: string + - in: query + name: object_type__niew + schema: + type: string + - in: query + name: object_type__nisw + schema: + type: string + - in: query + name: object_type_id schema: type: array items: - type: string + type: integer explode: true style: form - in: query - name: tag__n + name: object_type_id__n schema: type: array items: - type: string + type: integer explode: true style: form - - in: query - name: updated_by_request + - name: offset + required: false + in: query + description: The initial index from which to return the results. schema: - type: string - format: uuid - tags: - - ipam + type: integer + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: updated_by_request + schema: + type: string + format: uuid + - in: query + name: weight + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: weight__empty + schema: + type: boolean + - in: query + name: weight__gt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: weight__gte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: weight__lt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: weight__lte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: weight__n + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + tags: + - extras security: - cookieAuth: [] - tokenAuth: [] @@ -67698,21 +93626,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedFHRPGroupList' + $ref: '#/components/schemas/PaginatedCustomLinkList' description: '' post: - operationId: ipam_fhrp_groups_create - description: Post a list of FHRP group objects. + operationId: extras_custom_links_create + description: Post a list of custom link objects. tags: - - ipam + - extras requestBody: content: application/json: schema: - $ref: '#/components/schemas/FHRPGroupRequest' + $ref: '#/components/schemas/CustomLinkRequest' multipart/form-data: schema: - $ref: '#/components/schemas/FHRPGroupRequest' + $ref: '#/components/schemas/CustomLinkRequest' required: true security: - cookieAuth: [] @@ -67722,25 +93650,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/FHRPGroup' + $ref: '#/components/schemas/CustomLink' description: '' put: - operationId: ipam_fhrp_groups_bulk_update - description: Put a list of FHRP group objects. + operationId: extras_custom_links_bulk_update + description: Put a list of custom link objects. tags: - - ipam + - extras requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/FHRPGroupRequest' + $ref: '#/components/schemas/CustomLinkRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/FHRPGroupRequest' + $ref: '#/components/schemas/CustomLinkRequest' required: true security: - cookieAuth: [] @@ -67752,25 +93680,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/FHRPGroup' + $ref: '#/components/schemas/CustomLink' description: '' patch: - operationId: ipam_fhrp_groups_bulk_partial_update - description: Patch a list of FHRP group objects. + operationId: extras_custom_links_bulk_partial_update + description: Patch a list of custom link objects. tags: - - ipam + - extras requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/FHRPGroupRequest' + $ref: '#/components/schemas/CustomLinkRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/FHRPGroupRequest' + $ref: '#/components/schemas/CustomLinkRequest' required: true security: - cookieAuth: [] @@ -67782,25 +93710,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/FHRPGroup' + $ref: '#/components/schemas/CustomLink' description: '' delete: - operationId: ipam_fhrp_groups_bulk_destroy - description: Delete a list of FHRP group objects. + operationId: extras_custom_links_bulk_destroy + description: Delete a list of custom link objects. tags: - - ipam + - extras requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/FHRPGroupRequest' + $ref: '#/components/schemas/CustomLinkRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/FHRPGroupRequest' + $ref: '#/components/schemas/CustomLinkRequest' required: true security: - cookieAuth: [] @@ -67808,19 +93736,19 @@ paths: responses: '204': description: No response body - /api/ipam/fhrp-groups/{id}/: + /api/extras/custom-links/{id}/: get: - operationId: ipam_fhrp_groups_retrieve - description: Get a FHRP group object. + operationId: extras_custom_links_retrieve + description: Get a custom link object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this FHRP group. + description: A unique integer value identifying this custom link. required: true tags: - - ipam + - extras security: - cookieAuth: [] - tokenAuth: [] @@ -67829,28 +93757,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/FHRPGroup' + $ref: '#/components/schemas/CustomLink' description: '' put: - operationId: ipam_fhrp_groups_update - description: Put a FHRP group object. + operationId: extras_custom_links_update + description: Put a custom link object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this FHRP group. + description: A unique integer value identifying this custom link. required: true tags: - - ipam + - extras requestBody: content: application/json: schema: - $ref: '#/components/schemas/FHRPGroupRequest' + $ref: '#/components/schemas/CustomLinkRequest' multipart/form-data: schema: - $ref: '#/components/schemas/FHRPGroupRequest' + $ref: '#/components/schemas/CustomLinkRequest' required: true security: - cookieAuth: [] @@ -67860,28 +93788,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/FHRPGroup' + $ref: '#/components/schemas/CustomLink' description: '' patch: - operationId: ipam_fhrp_groups_partial_update - description: Patch a FHRP group object. + operationId: extras_custom_links_partial_update + description: Patch a custom link object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this FHRP group. + description: A unique integer value identifying this custom link. required: true tags: - - ipam + - extras requestBody: content: application/json: schema: - $ref: '#/components/schemas/PatchedFHRPGroupRequest' + $ref: '#/components/schemas/PatchedCustomLinkRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedFHRPGroupRequest' + $ref: '#/components/schemas/PatchedCustomLinkRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -67890,46 +93818,115 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/FHRPGroup' + $ref: '#/components/schemas/CustomLink' description: '' delete: - operationId: ipam_fhrp_groups_destroy - description: Delete a FHRP group object. + operationId: extras_custom_links_destroy + description: Delete a custom link object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this FHRP group. + description: A unique integer value identifying this custom link. required: true tags: - - ipam + - extras security: - cookieAuth: [] - tokenAuth: [] responses: '204': description: No response body - /api/ipam/ip-addresses/: + /api/extras/dashboard/: get: - operationId: ipam_ip_addresses_list - description: Get a list of IP address objects. + operationId: extras_dashboard_retrieve + description: Get a list of dashboard objects. + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/Dashboard' + description: '' + put: + operationId: extras_dashboard_update + description: Put a list of dashboard objects. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/DashboardRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/DashboardRequest' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/Dashboard' + description: '' + patch: + operationId: extras_dashboard_partial_update + description: Patch a list of dashboard objects. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedDashboardRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedDashboardRequest' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/Dashboard' + description: '' + delete: + operationId: extras_dashboard_destroy + description: Delete a list of dashboard objects. + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /api/extras/event-rules/: + get: + operationId: extras_event_rules_list + description: Get a list of event rule objects. parameters: - in: query - name: address + name: action_object_id schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: assigned - schema: - type: boolean - description: Is assigned - - in: query - name: assigned_object_id + name: action_object_id__empty schema: type: array items: @@ -67938,11 +93935,7 @@ paths: explode: true style: form - in: query - name: assigned_object_id__empty - schema: - type: boolean - - in: query - name: assigned_object_id__gt + name: action_object_id__gt schema: type: array items: @@ -67951,7 +93944,7 @@ paths: explode: true style: form - in: query - name: assigned_object_id__gte + name: action_object_id__gte schema: type: array items: @@ -67960,7 +93953,7 @@ paths: explode: true style: form - in: query - name: assigned_object_id__lt + name: action_object_id__lt schema: type: array items: @@ -67969,7 +93962,7 @@ paths: explode: true style: form - in: query - name: assigned_object_id__lte + name: action_object_id__lte schema: type: array items: @@ -67978,7 +93971,7 @@ paths: explode: true style: form - in: query - name: assigned_object_id__n + name: action_object_id__n schema: type: array items: @@ -67987,189 +93980,258 @@ paths: explode: true style: form - in: query - name: assigned_object_type - schema: - type: integer - - in: query - name: assigned_object_type__n + name: action_object_type schema: - type: integer + type: string - in: query - name: assigned_to_interface + name: action_object_type__n schema: - type: boolean - description: Is assigned to an interface + type: string - in: query - name: created + name: action_type schema: type: array items: type: string - format: date-time + x-spec-enum-id: d07193c73ebc03c6 explode: true style: form - in: query - name: created__empty + name: action_type__empty schema: - type: array - items: - type: string - format: date-time - explode: true - style: form + type: boolean - in: query - name: created__gt + name: action_type__ic schema: type: array items: type: string - format: date-time + x-spec-enum-id: d07193c73ebc03c6 + enum: + - notification + - script + - webhook + description: '* `webhook` - Webhook + + * `script` - Script + + * `notification` - Notification' explode: true style: form - in: query - name: created__gte + name: action_type__ie schema: type: array items: type: string - format: date-time + x-spec-enum-id: d07193c73ebc03c6 + enum: + - notification + - script + - webhook + description: '* `webhook` - Webhook + + * `script` - Script + + * `notification` - Notification' explode: true style: form - in: query - name: created__lt + name: action_type__iew schema: type: array items: type: string - format: date-time + x-spec-enum-id: d07193c73ebc03c6 + enum: + - notification + - script + - webhook + description: '* `webhook` - Webhook + + * `script` - Script + + * `notification` - Notification' explode: true style: form - in: query - name: created__lte + name: action_type__isw schema: type: array items: type: string - format: date-time + x-spec-enum-id: d07193c73ebc03c6 + enum: + - notification + - script + - webhook + description: '* `webhook` - Webhook + + * `script` - Script + + * `notification` - Notification' explode: true style: form - in: query - name: created__n + name: action_type__n schema: type: array items: type: string - format: date-time + x-spec-enum-id: d07193c73ebc03c6 + enum: + - notification + - script + - webhook + description: '* `webhook` - Webhook + + * `script` - Script + + * `notification` - Notification' explode: true style: form - in: query - name: created_by_request - schema: - type: string - format: uuid - - in: query - name: description + name: action_type__nic schema: type: array items: type: string + x-spec-enum-id: d07193c73ebc03c6 + enum: + - notification + - script + - webhook + description: '* `webhook` - Webhook + + * `script` - Script + + * `notification` - Notification' explode: true style: form - in: query - name: description__empty - schema: - type: boolean - - in: query - name: description__ic + name: action_type__nie schema: type: array items: type: string + x-spec-enum-id: d07193c73ebc03c6 + enum: + - notification + - script + - webhook + description: '* `webhook` - Webhook + + * `script` - Script + + * `notification` - Notification' explode: true style: form - in: query - name: description__ie + name: action_type__niew schema: type: array items: type: string + x-spec-enum-id: d07193c73ebc03c6 + enum: + - notification + - script + - webhook + description: '* `webhook` - Webhook + + * `script` - Script + + * `notification` - Notification' explode: true style: form - in: query - name: description__iew + name: action_type__nisw schema: type: array items: type: string + x-spec-enum-id: d07193c73ebc03c6 + enum: + - notification + - script + - webhook + description: '* `webhook` - Webhook + + * `script` - Script + + * `notification` - Notification' explode: true style: form - in: query - name: description__isw + name: created schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: description__n + name: created__empty 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__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: device + name: created__n schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: device_id + name: created_by_request schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form + type: string + format: uuid - in: query - name: dns_name + name: description schema: type: array items: @@ -68177,11 +94239,11 @@ paths: explode: true style: form - in: query - name: dns_name__empty + name: description__empty schema: type: boolean - in: query - name: dns_name__ic + name: description__ic schema: type: array items: @@ -68189,7 +94251,7 @@ paths: explode: true style: form - in: query - name: dns_name__ie + name: description__ie schema: type: array items: @@ -68197,7 +94259,7 @@ paths: explode: true style: form - in: query - name: dns_name__iew + name: description__iew schema: type: array items: @@ -68205,7 +94267,7 @@ paths: explode: true style: form - in: query - name: dns_name__isw + name: description__isw schema: type: array items: @@ -68213,7 +94275,7 @@ paths: explode: true style: form - in: query - name: dns_name__n + name: description__n schema: type: array items: @@ -68221,7 +94283,7 @@ paths: explode: true style: form - in: query - name: dns_name__nic + name: description__nic schema: type: array items: @@ -68229,7 +94291,7 @@ paths: explode: true style: form - in: query - name: dns_name__nie + name: description__nie schema: type: array items: @@ -68237,7 +94299,7 @@ paths: explode: true style: form - in: query - name: dns_name__niew + name: description__niew schema: type: array items: @@ -68245,7 +94307,7 @@ paths: explode: true style: form - in: query - name: dns_name__nisw + name: description__nisw schema: type: array items: @@ -68253,25 +94315,15 @@ paths: explode: true style: form - in: query - name: family - schema: - type: number - - in: query - name: fhrpgroup_id + name: enabled schema: - type: array - items: - type: integer - description: FHRP group (ID) - explode: true - style: form + type: boolean - in: query - name: fhrpgroup_id__n + name: event_type schema: type: array items: - type: integer - description: FHRP group (ID) + type: string explode: true style: form - in: query @@ -68332,42 +94384,6 @@ paths: format: int32 explode: true style: form - - in: query - name: interface - schema: - type: array - items: - type: string - description: Interface (name) - explode: true - style: form - - in: query - name: interface__n - schema: - type: array - items: - type: string - description: Interface (name) - explode: true - style: form - - in: query - name: interface_id - schema: - type: array - items: - type: integer - description: Interface (ID) - explode: true - style: form - - in: query - name: interface_id__n - schema: - type: array - items: - type: integer - description: Interface (ID) - explode: true - style: form - in: query name: last_updated schema: @@ -68437,60 +94453,13 @@ paths: description: Number of results to return per page. schema: type: integer - - in: query - name: mask_length - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: mask_length__gte - schema: - type: number - - in: query - name: mask_length__lte - schema: - type: number - in: query name: modified_by_request schema: type: string format: uuid - in: query - name: nat_inside_id - schema: - type: array - items: - type: integer - description: NAT inside IP address (ID) - explode: true - style: form - - in: query - name: nat_inside_id__n - schema: - type: array - items: - type: integer - description: NAT inside IP address (ID) - explode: true - style: form - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - in: query - name: parent + name: name schema: type: array items: @@ -68498,78 +94467,43 @@ paths: explode: true style: form - in: query - name: present_in_vrf - schema: - type: string - - in: query - name: present_in_vrf_id - schema: - type: string - - in: query - name: q + name: name__empty schema: - type: string - description: Search + type: boolean - in: query - name: role + name: name__ic schema: type: array items: type: string - x-spec-enum-id: 10fbcb4930889b0f - description: The functional role of this IP explode: true style: form - in: query - name: role__n + name: name__ie schema: type: array items: type: string - x-spec-enum-id: 10fbcb4930889b0f - description: The functional role of this IP - explode: true - style: form - - in: query - name: service_id - schema: - type: array - items: - type: integer - description: Service (ID) - explode: true - style: form - - in: query - name: service_id__n - schema: - type: array - items: - type: integer - description: Service (ID) explode: true style: form - in: query - name: status + name: name__iew schema: type: array items: type: string - x-spec-enum-id: 24935cfee15bd268 - description: The operational status of this IP explode: true style: form - in: query - name: status__n + name: name__isw schema: type: array items: type: string - x-spec-enum-id: 24935cfee15bd268 - description: The operational status of this IP explode: true style: form - in: query - name: tag + name: name__n schema: type: array items: @@ -68577,7 +94511,7 @@ paths: explode: true style: form - in: query - name: tag__n + name: name__nic schema: type: array items: @@ -68585,181 +94519,125 @@ paths: explode: true style: form - in: query - name: tenant + name: name__nie schema: type: array items: type: string - description: Tenant (slug) explode: true style: form - in: query - name: tenant__n + name: name__niew schema: type: array items: type: string - description: Tenant (slug) explode: true style: form - in: query - name: tenant_group + name: name__nisw schema: type: array items: - type: integer - description: Tenant Group (slug) + type: string explode: true style: form - in: query - name: tenant_group__n + name: object_type schema: - type: array - items: - type: integer - description: Tenant Group (slug) - explode: true - style: form + type: string - in: query - name: tenant_group_id + name: object_type__ic schema: - type: array - items: - type: integer - description: Tenant Group (ID) - explode: true - style: form + type: string - in: query - name: tenant_group_id__n + name: object_type__ie schema: - type: array - items: - type: integer - description: Tenant Group (ID) - explode: true - style: form + type: string - in: query - name: tenant_id + name: object_type__iew schema: - type: array - items: - type: integer - nullable: true - description: Tenant (ID) - explode: true - style: form + type: string - in: query - name: tenant_id__n + name: object_type__isw schema: - type: array - items: - type: integer - nullable: true - description: Tenant (ID) - explode: true - style: form + type: string - in: query - name: updated_by_request + name: object_type__n schema: type: string - format: uuid - in: query - name: virtual_machine + name: object_type__nic schema: - type: array - items: - type: string - explode: true - style: form + type: string - in: query - name: virtual_machine_id + name: object_type__nie schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form + type: string - in: query - name: vminterface + name: object_type__niew schema: - type: array - items: - type: string - description: VM interface (name) - explode: true - style: form + type: string - in: query - name: vminterface__n + name: object_type__nisw schema: - type: array - items: - type: string - description: VM interface (name) - explode: true - style: form + type: string - in: query - name: vminterface_id + name: object_type_id schema: type: array items: type: integer - description: VM interface (ID) explode: true style: form - in: query - name: vminterface_id__n + name: object_type_id__n schema: type: array items: type: integer - description: VM interface (ID) explode: true style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string - in: query - name: vrf + name: q schema: - type: array - items: - type: string - nullable: true - title: Route distinguisher - description: VRF (RD) - explode: true - style: form + type: string + description: Search - in: query - name: vrf__n + name: tag schema: type: array items: type: string - nullable: true - title: Route distinguisher - description: VRF (RD) explode: true style: form - in: query - name: vrf_id + name: tag__n schema: type: array items: - type: integer - nullable: true - description: VRF + type: string explode: true style: form - in: query - name: vrf_id__n + name: updated_by_request schema: - type: array - items: - type: integer - nullable: true - description: VRF - explode: true - style: form + type: string + format: uuid tags: - - ipam + - extras security: - cookieAuth: [] - tokenAuth: [] @@ -68768,21 +94646,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedIPAddressList' + $ref: '#/components/schemas/PaginatedEventRuleList' description: '' post: - operationId: ipam_ip_addresses_create - description: Post a list of IP address objects. + operationId: extras_event_rules_create + description: Post a list of event rule objects. tags: - - ipam + - extras requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableIPAddressRequest' + $ref: '#/components/schemas/WritableEventRuleRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableIPAddressRequest' + $ref: '#/components/schemas/WritableEventRuleRequest' required: true security: - cookieAuth: [] @@ -68792,25 +94670,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/IPAddress' + $ref: '#/components/schemas/EventRule' description: '' put: - operationId: ipam_ip_addresses_bulk_update - description: Put a list of IP address objects. + operationId: extras_event_rules_bulk_update + description: Put a list of event rule objects. tags: - - ipam + - extras requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/IPAddressRequest' + $ref: '#/components/schemas/EventRuleRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/IPAddressRequest' + $ref: '#/components/schemas/EventRuleRequest' required: true security: - cookieAuth: [] @@ -68822,25 +94700,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/IPAddress' + $ref: '#/components/schemas/EventRule' description: '' patch: - operationId: ipam_ip_addresses_bulk_partial_update - description: Patch a list of IP address objects. + operationId: extras_event_rules_bulk_partial_update + description: Patch a list of event rule objects. tags: - - ipam + - extras requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/IPAddressRequest' + $ref: '#/components/schemas/EventRuleRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/IPAddressRequest' + $ref: '#/components/schemas/EventRuleRequest' required: true security: - cookieAuth: [] @@ -68852,25 +94730,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/IPAddress' + $ref: '#/components/schemas/EventRule' description: '' delete: - operationId: ipam_ip_addresses_bulk_destroy - description: Delete a list of IP address objects. + operationId: extras_event_rules_bulk_destroy + description: Delete a list of event rule objects. tags: - - ipam + - extras requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/IPAddressRequest' + $ref: '#/components/schemas/EventRuleRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/IPAddressRequest' + $ref: '#/components/schemas/EventRuleRequest' required: true security: - cookieAuth: [] @@ -68878,19 +94756,19 @@ paths: responses: '204': description: No response body - /api/ipam/ip-addresses/{id}/: + /api/extras/event-rules/{id}/: get: - operationId: ipam_ip_addresses_retrieve - description: Get a IP address object. + operationId: extras_event_rules_retrieve + description: Get a event rule object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this IP address. + description: A unique integer value identifying this event rule. required: true tags: - - ipam + - extras security: - cookieAuth: [] - tokenAuth: [] @@ -68899,28 +94777,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/IPAddress' + $ref: '#/components/schemas/EventRule' description: '' put: - operationId: ipam_ip_addresses_update - description: Put a IP address object. + operationId: extras_event_rules_update + description: Put a event rule object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this IP address. + description: A unique integer value identifying this event rule. required: true tags: - - ipam + - extras requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableIPAddressRequest' + $ref: '#/components/schemas/WritableEventRuleRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableIPAddressRequest' + $ref: '#/components/schemas/WritableEventRuleRequest' required: true security: - cookieAuth: [] @@ -68930,28 +94808,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/IPAddress' + $ref: '#/components/schemas/EventRule' description: '' patch: - operationId: ipam_ip_addresses_partial_update - description: Patch a IP address object. + operationId: extras_event_rules_partial_update + description: Patch a event rule object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this IP address. + description: A unique integer value identifying this event rule. required: true tags: - - ipam + - extras requestBody: content: application/json: schema: - $ref: '#/components/schemas/PatchedWritableIPAddressRequest' + $ref: '#/components/schemas/PatchedWritableEventRuleRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedWritableIPAddressRequest' + $ref: '#/components/schemas/PatchedWritableEventRuleRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -68960,36 +94838,39 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/IPAddress' + $ref: '#/components/schemas/EventRule' description: '' delete: - operationId: ipam_ip_addresses_destroy - description: Delete a IP address object. + operationId: extras_event_rules_destroy + description: Delete a event rule object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this IP address. + description: A unique integer value identifying this event rule. required: true tags: - - ipam + - extras security: - cookieAuth: [] - tokenAuth: [] responses: '204': description: No response body - /api/ipam/ip-ranges/: + /api/extras/export-templates/: get: - operationId: ipam_ip_ranges_list - description: Get a list of IP range objects. + operationId: extras_export_templates_list + description: Get a list of export template objects. parameters: - in: query - name: contains + name: as_attachment schema: - type: string - description: Ranges which contain this prefix or IP + type: boolean + - in: query + name: auto_sync_enabled + schema: + type: boolean - in: query name: created schema: @@ -69059,91 +94940,105 @@ paths: type: string format: uuid - in: query - name: description + name: data_file_id schema: type: array items: - type: string + type: integer + nullable: true + description: Data file (ID) explode: true style: form - in: query - name: description__empty - schema: - type: boolean - - in: query - name: description__ic + name: data_file_id__n schema: type: array items: - type: string + type: integer + nullable: true + description: Data file (ID) explode: true style: form - in: query - name: description__ie + name: data_source_id schema: type: array items: - type: string + type: integer + nullable: true + description: Data source (ID) explode: true style: form - in: query - name: description__iew + name: data_source_id__n schema: type: array items: - type: string + type: integer + nullable: true + description: Data source (ID) explode: true style: form - in: query - name: description__isw + name: data_synced schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: description__n + name: data_synced__empty + schema: + type: boolean + - in: query + name: data_synced__gt schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: description__nic + name: data_synced__gte schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: description__nie + name: data_synced__lt schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: description__niew + name: data_synced__lte schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: description__nisw + name: data_synced__n schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: end_address + name: description schema: type: array items: @@ -69151,159 +95046,119 @@ paths: explode: true style: form - in: query - name: family + name: description__empty schema: - type: number + type: boolean - in: query - name: id + name: description__ic schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__empty - schema: - type: boolean - - in: query - name: id__gt + name: description__ie schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__gte + name: description__iew schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__lt + name: description__isw schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__lte + name: description__n schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__n + name: description__nic schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: last_updated + name: description__nie schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__empty + name: description__niew schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__gt + name: description__nisw schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__gte + name: file_extension schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__lt + name: file_extension__empty + schema: + type: boolean + - in: query + name: file_extension__ic schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__lte + name: file_extension__ie schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__n + name: file_extension__iew 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: mark_utilized - schema: - type: boolean - - in: query - name: modified_by_request - schema: - type: string - format: uuid - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - in: query - name: parent + name: file_extension__isw schema: type: array items: @@ -69311,50 +95166,47 @@ paths: explode: true style: form - in: query - name: q + name: file_extension__n schema: - type: string - description: Search + type: array + items: + type: string + explode: true + style: form - in: query - name: role + name: file_extension__nic schema: type: array items: type: string - description: Role (slug) explode: true style: form - in: query - name: role__n + name: file_extension__nie schema: type: array items: type: string - description: Role (slug) explode: true style: form - in: query - name: role_id + name: file_extension__niew schema: type: array items: - type: integer - nullable: true - description: Role (ID) + type: string explode: true style: form - in: query - name: role_id__n + name: file_extension__nisw schema: type: array items: - type: integer - nullable: true - description: Role (ID) + type: string explode: true style: form - in: query - name: size + name: id schema: type: array items: @@ -69363,11 +95215,11 @@ paths: explode: true style: form - in: query - name: size__empty + name: id__empty schema: type: boolean - in: query - name: size__gt + name: id__gt schema: type: array items: @@ -69376,7 +95228,7 @@ paths: explode: true style: form - in: query - name: size__gte + name: id__gte schema: type: array items: @@ -69385,7 +95237,7 @@ paths: explode: true style: form - in: query - name: size__lt + name: id__lt schema: type: array items: @@ -69394,7 +95246,7 @@ paths: explode: true style: form - in: query - name: size__lte + name: id__lte schema: type: array items: @@ -69403,7 +95255,7 @@ paths: explode: true style: form - in: query - name: size__n + name: id__n schema: type: array items: @@ -69412,172 +95264,327 @@ paths: explode: true style: form - in: query - name: start_address + name: last_updated schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: status + name: last_updated__empty schema: type: array items: type: string - x-spec-enum-id: 6388dfb94ca1cc15 - description: Operational status of this range + format: date-time explode: true style: form - in: query - name: status__n + name: last_updated__gt schema: type: array items: type: string - x-spec-enum-id: 6388dfb94ca1cc15 - description: Operational status of this range + format: date-time explode: true style: form - in: query - name: tag + name: last_updated__gte schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: tag__n + name: last_updated__lt schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: tenant + name: last_updated__lte schema: type: array items: type: string - description: Tenant (slug) + format: date-time explode: true style: form - in: query - name: tenant__n + name: last_updated__n schema: type: array items: type: string - description: Tenant (slug) + format: date-time explode: true style: form - - in: query - name: tenant_group - schema: - type: array + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: mime_type + schema: + type: array items: - type: integer - description: Tenant Group (slug) + type: string explode: true style: form - in: query - name: tenant_group__n + name: mime_type__empty + schema: + type: boolean + - in: query + name: mime_type__ic schema: type: array items: - type: integer - description: Tenant Group (slug) + type: string explode: true style: form - in: query - name: tenant_group_id + name: mime_type__ie schema: type: array items: - type: integer - description: Tenant Group (ID) + type: string explode: true style: form - in: query - name: tenant_group_id__n + name: mime_type__iew schema: type: array items: - type: integer - description: Tenant Group (ID) + type: string explode: true style: form - in: query - name: tenant_id + name: mime_type__isw schema: type: array items: - type: integer - nullable: true - description: Tenant (ID) + type: string explode: true style: form - in: query - name: tenant_id__n + name: mime_type__n schema: type: array items: - type: integer - nullable: true - description: Tenant (ID) + type: string explode: true style: form - in: query - name: updated_by_request + name: mime_type__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: mime_type__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: mime_type__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: mime_type__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: modified_by_request schema: type: string format: uuid - in: query - name: vrf + name: name schema: type: array items: type: string - nullable: true - title: Route distinguisher - description: VRF (RD) explode: true style: form - in: query - name: vrf__n + name: name__empty + schema: + type: boolean + - in: query + name: name__ic schema: type: array items: type: string - nullable: true - title: Route distinguisher - description: VRF (RD) explode: true style: form - in: query - name: vrf_id + 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__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__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: object_type + schema: + type: string + - in: query + name: object_type__ic + schema: + type: string + - in: query + name: object_type__ie + schema: + type: string + - in: query + name: object_type__iew + schema: + type: string + - in: query + name: object_type__isw + schema: + type: string + - in: query + name: object_type__n + schema: + type: string + - in: query + name: object_type__nic + schema: + type: string + - in: query + name: object_type__nie + schema: + type: string + - in: query + name: object_type__niew + schema: + type: string + - in: query + name: object_type__nisw + schema: + type: string + - in: query + name: object_type_id schema: type: array items: type: integer - nullable: true - description: VRF explode: true style: form - in: query - name: vrf_id__n + name: object_type_id__n schema: type: array items: type: integer - nullable: true - description: VRF explode: true style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: updated_by_request + schema: + type: string + format: uuid tags: - - ipam + - extras security: - cookieAuth: [] - tokenAuth: [] @@ -69586,21 +95593,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedIPRangeList' + $ref: '#/components/schemas/PaginatedExportTemplateList' description: '' post: - operationId: ipam_ip_ranges_create - description: Post a list of IP range objects. + operationId: extras_export_templates_create + description: Post a list of export template objects. tags: - - ipam + - extras requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableIPRangeRequest' + $ref: '#/components/schemas/ExportTemplateRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableIPRangeRequest' + $ref: '#/components/schemas/ExportTemplateRequest' required: true security: - cookieAuth: [] @@ -69610,25 +95617,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/IPRange' + $ref: '#/components/schemas/ExportTemplate' description: '' put: - operationId: ipam_ip_ranges_bulk_update - description: Put a list of IP range objects. + operationId: extras_export_templates_bulk_update + description: Put a list of export template objects. tags: - - ipam + - extras requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/IPRangeRequest' + $ref: '#/components/schemas/ExportTemplateRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/IPRangeRequest' + $ref: '#/components/schemas/ExportTemplateRequest' required: true security: - cookieAuth: [] @@ -69640,25 +95647,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/IPRange' + $ref: '#/components/schemas/ExportTemplate' description: '' patch: - operationId: ipam_ip_ranges_bulk_partial_update - description: Patch a list of IP range objects. + operationId: extras_export_templates_bulk_partial_update + description: Patch a list of export template objects. tags: - - ipam + - extras requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/IPRangeRequest' + $ref: '#/components/schemas/ExportTemplateRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/IPRangeRequest' + $ref: '#/components/schemas/ExportTemplateRequest' required: true security: - cookieAuth: [] @@ -69670,25 +95677,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/IPRange' + $ref: '#/components/schemas/ExportTemplate' description: '' delete: - operationId: ipam_ip_ranges_bulk_destroy - description: Delete a list of IP range objects. + operationId: extras_export_templates_bulk_destroy + description: Delete a list of export template objects. tags: - - ipam + - extras requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/IPRangeRequest' + $ref: '#/components/schemas/ExportTemplateRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/IPRangeRequest' + $ref: '#/components/schemas/ExportTemplateRequest' required: true security: - cookieAuth: [] @@ -69696,19 +95703,19 @@ paths: responses: '204': description: No response body - /api/ipam/ip-ranges/{id}/: + /api/extras/export-templates/{id}/: get: - operationId: ipam_ip_ranges_retrieve - description: Get a IP range object. + operationId: extras_export_templates_retrieve + description: Get a export template object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this IP range. + description: A unique integer value identifying this export template. required: true tags: - - ipam + - extras security: - cookieAuth: [] - tokenAuth: [] @@ -69717,28 +95724,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/IPRange' + $ref: '#/components/schemas/ExportTemplate' description: '' put: - operationId: ipam_ip_ranges_update - description: Put a IP range object. + operationId: extras_export_templates_update + description: Put a export template object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this IP range. + description: A unique integer value identifying this export template. required: true tags: - - ipam + - extras requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableIPRangeRequest' + $ref: '#/components/schemas/ExportTemplateRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableIPRangeRequest' + $ref: '#/components/schemas/ExportTemplateRequest' required: true security: - cookieAuth: [] @@ -69748,28 +95755,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/IPRange' + $ref: '#/components/schemas/ExportTemplate' description: '' patch: - operationId: ipam_ip_ranges_partial_update - description: Patch a IP range object. + operationId: extras_export_templates_partial_update + description: Patch a export template object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this IP range. + description: A unique integer value identifying this export template. required: true tags: - - ipam + - extras requestBody: content: application/json: schema: - $ref: '#/components/schemas/PatchedWritableIPRangeRequest' + $ref: '#/components/schemas/PatchedExportTemplateRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedWritableIPRangeRequest' + $ref: '#/components/schemas/PatchedExportTemplateRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -69778,159 +95785,64 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/IPRange' + $ref: '#/components/schemas/ExportTemplate' description: '' delete: - operationId: ipam_ip_ranges_destroy - description: Delete a IP range object. + operationId: extras_export_templates_destroy + description: Delete a export template object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this IP range. + description: A unique integer value identifying this export template. required: true tags: - - ipam + - extras security: - cookieAuth: [] - tokenAuth: [] responses: '204': description: No response body - /api/ipam/ip-ranges/{id}/available-ips/: - get: - operationId: ipam_ip_ranges_available_ips_list - description: Get a IP address object. - parameters: - - in: path - name: id - schema: - type: integer - required: true - tags: - - ipam - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/AvailableIP' - description: '' + /api/extras/export-templates/{id}/sync/: post: - operationId: ipam_ip_ranges_available_ips_create - description: Post a IP address object. + operationId: extras_export_templates_sync_create + description: Provide a /sync API endpoint to synchronize an object's data from + its associated DataFile (if any). parameters: - in: path name: id schema: type: integer + description: A unique integer value identifying this export template. required: true tags: - - ipam + - extras requestBody: content: application/json: schema: - type: array - items: - $ref: '#/components/schemas/IPAddressRequest' + $ref: '#/components/schemas/ExportTemplateRequest' multipart/form-data: schema: - type: array - items: - $ref: '#/components/schemas/IPAddressRequest' + $ref: '#/components/schemas/ExportTemplateRequest' required: true security: - cookieAuth: [] - tokenAuth: [] responses: - '201': + '200': content: application/json: schema: - type: array - items: - $ref: '#/components/schemas/IPAddress' + $ref: '#/components/schemas/ExportTemplate' description: '' - /api/ipam/prefixes/: + /api/extras/image-attachments/: get: - operationId: ipam_prefixes_list - description: Get a list of prefix objects. + operationId: extras_image_attachments_list + description: Get a list of image attachment objects. parameters: - - in: query - name: children - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: children__empty - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: children__gt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: children__gte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: children__lt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: children__lte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: children__n - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: contains - schema: - type: string - description: Prefixes which contain this prefix or IP - in: query name: created schema: @@ -70000,7 +95912,7 @@ paths: type: string format: uuid - in: query - name: depth + name: id schema: type: array items: @@ -70009,16 +95921,11 @@ paths: explode: true style: form - in: query - name: depth__empty + name: id__empty schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form + type: boolean - in: query - name: depth__gt + name: id__gt schema: type: array items: @@ -70027,7 +95934,7 @@ paths: explode: true style: form - in: query - name: depth__gte + name: id__gte schema: type: array items: @@ -70036,7 +95943,7 @@ paths: explode: true style: form - in: query - name: depth__lt + name: id__lt schema: type: array items: @@ -70045,7 +95952,7 @@ paths: explode: true style: form - in: query - name: depth__lte + name: id__lte schema: type: array items: @@ -70054,7 +95961,7 @@ paths: explode: true style: form - in: query - name: depth__n + name: id__n schema: type: array items: @@ -70063,95 +95970,65 @@ paths: explode: true style: form - in: query - name: description + name: image_height schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: description__empty + name: image_height__empty schema: type: boolean - 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__isw - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: description__n + name: image_height__gt schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: description__nic + name: image_height__gte schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: description__nie + name: image_height__lt schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: description__niew + name: image_height__lte schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: description__nisw + name: image_height__n schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: family - schema: - type: number - - in: query - name: id + name: image_width schema: type: array items: @@ -70160,11 +96037,11 @@ paths: explode: true style: form - in: query - name: id__empty + name: image_width__empty schema: type: boolean - in: query - name: id__gt + name: image_width__gt schema: type: array items: @@ -70173,7 +96050,7 @@ paths: explode: true style: form - in: query - name: id__gte + name: image_width__gte schema: type: array items: @@ -70182,7 +96059,7 @@ paths: explode: true style: form - in: query - name: id__lt + name: image_width__lt schema: type: array items: @@ -70191,7 +96068,7 @@ paths: explode: true style: form - in: query - name: id__lte + name: image_width__lte schema: type: array items: @@ -70200,7 +96077,7 @@ paths: explode: true style: form - in: query - name: id__n + name: image_width__n schema: type: array items: @@ -70208,10 +96085,6 @@ paths: format: int32 explode: true style: form - - in: query - name: is_pool - schema: - type: boolean - in: query name: last_updated schema: @@ -70281,46 +96154,13 @@ paths: description: Number of results to return per page. schema: type: integer - - in: query - name: mark_utilized - schema: - type: boolean - - in: query - name: mask_length - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: mask_length__gte - schema: - type: number - - in: query - name: mask_length__lte - schema: - type: number - in: query name: modified_by_request schema: type: string format: uuid - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - in: query - name: prefix + name: name schema: type: array items: @@ -70328,188 +96168,51 @@ paths: explode: true style: form - in: query - name: present_in_vrf - schema: - type: string - - in: query - name: present_in_vrf_id - schema: - type: string - - in: query - name: q - schema: - type: string - description: Search - - in: query - name: region - schema: - type: array - items: - type: integer - description: Region (slug) - explode: true - style: form - - in: query - name: region__n - schema: - type: array - items: - type: integer - description: Region (slug) - explode: true - style: form - - in: query - name: region_id - schema: - type: array - items: - type: integer - description: Region (ID) - explode: true - style: form - - in: query - name: region_id__n - schema: - type: array - items: - type: integer - description: Region (ID) - explode: true - style: form - - in: query - name: role + name: name__empty schema: - type: array - items: - type: string - description: Role (slug) - explode: true - style: form + type: boolean - in: query - name: role__n + name: name__ic schema: type: array items: type: string - description: Role (slug) - explode: true - style: form - - in: query - name: role_id - schema: - type: array - items: - type: integer - nullable: true - description: Role (ID) - explode: true - style: form - - in: query - name: role_id__n - schema: - type: array - items: - type: integer - nullable: true - description: Role (ID) explode: true style: form - in: query - name: site + name: name__ie schema: type: array items: type: string - description: Site (slug) explode: true style: form - in: query - name: site__n + name: name__iew schema: type: array items: type: string - description: Site (slug) - explode: true - style: form - - in: query - name: site_group - schema: - type: array - items: - type: integer - description: Site group (slug) - explode: true - style: form - - in: query - name: site_group__n - schema: - type: array - items: - type: integer - description: Site group (slug) - explode: true - style: form - - in: query - name: site_group_id - schema: - type: array - items: - type: integer - description: Site group (ID) - explode: true - style: form - - in: query - name: site_group_id__n - schema: - type: array - items: - type: integer - description: Site group (ID) - explode: true - style: form - - in: query - name: site_id - schema: - type: array - items: - type: integer - nullable: true - description: Site (ID) - explode: true - style: form - - in: query - name: site_id__n - schema: - type: array - items: - type: integer - nullable: true - description: Site (ID) explode: true style: form - in: query - name: status + name: name__isw schema: type: array items: type: string - x-spec-enum-id: d38bee5f512701d9 - description: Operational status of this prefix explode: true style: form - in: query - name: status__n + name: name__n schema: type: array items: type: string - x-spec-enum-id: d38bee5f512701d9 - description: Operational status of this prefix explode: true style: form - in: query - name: tag + name: name__nic schema: type: array items: @@ -70517,7 +96220,7 @@ paths: explode: true style: form - in: query - name: tag__n + name: name__nie schema: type: array items: @@ -70525,193 +96228,119 @@ paths: explode: true style: form - in: query - name: tenant + name: name__niew schema: type: array items: type: string - description: Tenant (slug) explode: true style: form - in: query - name: tenant__n + name: name__nisw schema: type: array items: type: string - description: Tenant (slug) - explode: true - style: form - - in: query - name: tenant_group - schema: - type: array - items: - type: integer - description: Tenant Group (slug) explode: true style: form - in: query - name: tenant_group__n + name: object_id schema: type: array items: type: integer - description: Tenant Group (slug) + format: int32 explode: true style: form - in: query - name: tenant_group_id + name: object_id__empty schema: - type: array - items: - type: integer - description: Tenant Group (ID) - explode: true - style: form + type: boolean - in: query - name: tenant_group_id__n + name: object_id__gt schema: type: array items: type: integer - description: Tenant Group (ID) + format: int32 explode: true style: form - in: query - name: tenant_id + name: object_id__gte schema: type: array items: type: integer - nullable: true - description: Tenant (ID) + format: int32 explode: true style: form - in: query - name: tenant_id__n + name: object_id__lt schema: type: array items: type: integer - nullable: true - description: Tenant (ID) + format: int32 explode: true style: form - in: query - name: updated_by_request - schema: - type: string - format: uuid - - in: query - name: vlan_id + name: object_id__lte schema: type: array items: type: integer - nullable: true - description: VLAN (ID) + format: int32 explode: true style: form - in: query - name: vlan_id__n + name: object_id__n schema: type: array items: type: integer - nullable: true - description: VLAN (ID) + format: int32 explode: true style: form - in: query - name: vlan_vid - schema: - type: integer - description: VLAN number (1-4094) - - in: query - name: vlan_vid__empty - schema: - type: integer - description: VLAN number (1-4094) - - in: query - name: vlan_vid__gt + name: object_type schema: - type: integer - description: VLAN number (1-4094) + type: string - in: query - name: vlan_vid__gte + name: object_type__n schema: - type: integer - description: VLAN number (1-4094) + type: string - in: query - name: vlan_vid__lt + name: object_type_id schema: type: integer - description: VLAN number (1-4094) - in: query - name: vlan_vid__lte + name: object_type_id__n schema: type: integer - description: VLAN number (1-4094) - - in: query - name: vlan_vid__n + - name: offset + required: false + in: query + description: The initial index from which to return the results. schema: type: integer - description: VLAN number (1-4094) - - in: query - name: vrf - schema: - type: array - items: - type: string - nullable: true - title: Route distinguisher - description: VRF (RD) - explode: true - style: form - - in: query - name: vrf__n - schema: - type: array - items: - type: string - nullable: true - title: Route distinguisher - description: VRF (RD) - explode: true - style: form - - in: query - name: vrf_id - schema: - type: array - items: - type: integer - nullable: true - description: VRF - explode: true - style: form - - in: query - name: vrf_id__n + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. schema: - type: array - items: - type: integer - nullable: true - description: VRF - explode: true - style: form + type: string - in: query - name: within + name: q schema: type: string - description: Within prefix + description: Search - in: query - name: within_include + name: updated_by_request schema: type: string - description: Within and including prefix + format: uuid tags: - - ipam + - extras security: - cookieAuth: [] - tokenAuth: [] @@ -70720,21 +96349,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedPrefixList' + $ref: '#/components/schemas/PaginatedImageAttachmentList' description: '' post: - operationId: ipam_prefixes_create - description: Post a list of prefix objects. + operationId: extras_image_attachments_create + description: Post a list of image attachment objects. tags: - - ipam + - extras requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritablePrefixRequest' + $ref: '#/components/schemas/ImageAttachmentRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritablePrefixRequest' + $ref: '#/components/schemas/ImageAttachmentRequest' required: true security: - cookieAuth: [] @@ -70744,25 +96373,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Prefix' + $ref: '#/components/schemas/ImageAttachment' description: '' put: - operationId: ipam_prefixes_bulk_update - description: Put a list of prefix objects. + operationId: extras_image_attachments_bulk_update + description: Put a list of image attachment objects. tags: - - ipam + - extras requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/PrefixRequest' + $ref: '#/components/schemas/ImageAttachmentRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/PrefixRequest' + $ref: '#/components/schemas/ImageAttachmentRequest' required: true security: - cookieAuth: [] @@ -70774,25 +96403,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/Prefix' + $ref: '#/components/schemas/ImageAttachment' description: '' patch: - operationId: ipam_prefixes_bulk_partial_update - description: Patch a list of prefix objects. + operationId: extras_image_attachments_bulk_partial_update + description: Patch a list of image attachment objects. tags: - - ipam + - extras requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/PrefixRequest' + $ref: '#/components/schemas/ImageAttachmentRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/PrefixRequest' + $ref: '#/components/schemas/ImageAttachmentRequest' required: true security: - cookieAuth: [] @@ -70804,25 +96433,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/Prefix' + $ref: '#/components/schemas/ImageAttachment' description: '' delete: - operationId: ipam_prefixes_bulk_destroy - description: Delete a list of prefix objects. + operationId: extras_image_attachments_bulk_destroy + description: Delete a list of image attachment objects. tags: - - ipam + - extras requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/PrefixRequest' + $ref: '#/components/schemas/ImageAttachmentRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/PrefixRequest' + $ref: '#/components/schemas/ImageAttachmentRequest' required: true security: - cookieAuth: [] @@ -70830,19 +96459,19 @@ paths: responses: '204': description: No response body - /api/ipam/prefixes/{id}/: + /api/extras/image-attachments/{id}/: get: - operationId: ipam_prefixes_retrieve - description: Get a prefix object. + operationId: extras_image_attachments_retrieve + description: Get a image attachment object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this prefix. + description: A unique integer value identifying this image attachment. required: true tags: - - ipam + - extras security: - cookieAuth: [] - tokenAuth: [] @@ -70851,28 +96480,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Prefix' + $ref: '#/components/schemas/ImageAttachment' description: '' put: - operationId: ipam_prefixes_update - description: Put a prefix object. + operationId: extras_image_attachments_update + description: Put a image attachment object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this prefix. + description: A unique integer value identifying this image attachment. required: true tags: - - ipam + - extras requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritablePrefixRequest' + $ref: '#/components/schemas/ImageAttachmentRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritablePrefixRequest' + $ref: '#/components/schemas/ImageAttachmentRequest' required: true security: - cookieAuth: [] @@ -70882,28 +96511,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Prefix' + $ref: '#/components/schemas/ImageAttachment' description: '' patch: - operationId: ipam_prefixes_partial_update - description: Patch a prefix object. + operationId: extras_image_attachments_partial_update + description: Patch a image attachment object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this prefix. + description: A unique integer value identifying this image attachment. required: true tags: - - ipam + - extras requestBody: content: application/json: schema: - $ref: '#/components/schemas/PatchedWritablePrefixRequest' + $ref: '#/components/schemas/PatchedImageAttachmentRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedWritablePrefixRequest' + $ref: '#/components/schemas/PatchedImageAttachmentRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -70912,303 +96541,166 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Prefix' + $ref: '#/components/schemas/ImageAttachment' description: '' delete: - operationId: ipam_prefixes_destroy - description: Delete a prefix object. + operationId: extras_image_attachments_destroy + description: Delete a image attachment object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this prefix. + description: A unique integer value identifying this image attachment. required: true tags: - - ipam + - extras security: - cookieAuth: [] - tokenAuth: [] responses: '204': description: No response body - /api/ipam/prefixes/{id}/available-ips/: + /api/extras/journal-entries/: get: - operationId: ipam_prefixes_available_ips_list - description: Get a IP address object. + operationId: extras_journal_entries_list + description: Get a list of journal entry objects. parameters: - - in: path - name: id + - in: query + name: assigned_object_id schema: - type: integer - required: true - tags: - - ipam - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/AvailableIP' - description: '' - post: - operationId: ipam_prefixes_available_ips_create - description: Post a IP address object. - parameters: - - in: path - name: id + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: assigned_object_id__empty schema: - type: integer - required: true - tags: - - ipam - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/IPAddressRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/IPAddressRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '201': - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/IPAddress' - description: '' - /api/ipam/prefixes/{id}/available-prefixes/: - get: - operationId: ipam_prefixes_available_prefixes_list - description: Get a prefix object. - parameters: - - in: path - name: id - schema: - type: integer - required: true - tags: - - ipam - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/AvailablePrefix' - description: '' - post: - operationId: ipam_prefixes_available_prefixes_create - description: Post a prefix object. - parameters: - - in: path - name: id - schema: - type: integer - required: true - tags: - - ipam - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/PrefixRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/PrefixRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '201': - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/Prefix' - description: '' - /api/ipam/rirs/: - get: - operationId: ipam_rirs_list - description: Get a list of RIR objects. - parameters: - - in: query - name: created - schema: - type: array - items: - type: string - format: date-time - explode: true - style: form - - in: query - name: created__empty - schema: - type: array - items: - type: string - format: date-time - explode: true - style: form + type: boolean - in: query - name: created__gt + name: assigned_object_id__gt schema: type: array items: - type: string - format: date-time + type: integer + format: int32 explode: true style: form - in: query - name: created__gte + name: assigned_object_id__gte schema: type: array items: - type: string - format: date-time + type: integer + format: int32 explode: true style: form - in: query - name: created__lt + name: assigned_object_id__lt schema: type: array items: - type: string - format: date-time + type: integer + format: int32 explode: true style: form - in: query - name: created__lte + name: assigned_object_id__lte schema: type: array items: - type: string - format: date-time + type: integer + format: int32 explode: true style: form - in: query - name: created__n + name: assigned_object_id__n schema: type: array items: - type: string - format: date-time + type: integer + format: int32 explode: true style: form - in: query - name: created_by_request + name: assigned_object_type schema: type: string - format: uuid - - in: query - name: description - schema: - type: array - items: - type: string - explode: true - style: form - in: query - name: description__empty + name: assigned_object_type__n schema: - type: boolean + type: string - in: query - name: description__ic + name: assigned_object_type_id schema: type: array items: - type: string + type: integer explode: true style: form - in: query - name: description__ie + name: assigned_object_type_id__n schema: type: array items: - type: string + type: integer explode: true style: form - in: query - name: description__iew + name: created_after schema: - type: array - items: - type: string - explode: true - style: form + type: string + format: date-time - in: query - name: description__isw + name: created_before schema: - type: array - items: - type: string - explode: true - style: form + type: string + format: date-time - in: query - name: description__n + name: created_by schema: type: array items: type: string + description: User (name) explode: true style: form - in: query - name: description__nic + name: created_by__n schema: type: array items: type: string + description: User (name) explode: true style: form - in: query - name: description__nie + name: created_by_id schema: type: array items: - type: string + type: integer + nullable: true + description: User (ID) explode: true style: form - in: query - name: description__niew + name: created_by_id__n schema: type: array items: - type: string + type: integer + nullable: true + description: User (ID) explode: true style: form - in: query - name: description__nisw + name: created_by_request schema: - type: array - items: - type: string - explode: true - style: form + type: string + format: uuid - in: query name: id schema: @@ -71268,167 +96760,281 @@ paths: explode: true style: form - in: query - name: is_private - schema: - type: boolean - - in: query - name: last_updated + name: kind schema: type: array items: type: string - format: date-time + x-spec-enum-id: a21af280f632fa34 explode: true style: form - in: query - name: last_updated__empty + name: kind__empty + schema: + type: boolean + - in: query + name: kind__ic schema: type: array items: type: string - format: date-time + x-spec-enum-id: a21af280f632fa34 + enum: + - danger + - info + - success + - warning + description: '* `info` - Info + + * `success` - Success + + * `warning` - Warning + + * `danger` - Danger' explode: true style: form - in: query - name: last_updated__gt + name: kind__ie schema: type: array items: type: string - format: date-time + x-spec-enum-id: a21af280f632fa34 + enum: + - danger + - info + - success + - warning + description: '* `info` - Info + + * `success` - Success + + * `warning` - Warning + + * `danger` - Danger' explode: true style: form - in: query - name: last_updated__gte + name: kind__iew schema: type: array items: type: string - format: date-time + x-spec-enum-id: a21af280f632fa34 + enum: + - danger + - info + - success + - warning + description: '* `info` - Info + + * `success` - Success + + * `warning` - Warning + + * `danger` - Danger' explode: true style: form - in: query - name: last_updated__lt + name: kind__isw schema: type: array items: type: string - format: date-time + x-spec-enum-id: a21af280f632fa34 + enum: + - danger + - info + - success + - warning + description: '* `info` - Info + + * `success` - Success + + * `warning` - Warning + + * `danger` - Danger' explode: true style: form - in: query - name: last_updated__lte + name: kind__n schema: type: array items: type: string - format: date-time + x-spec-enum-id: a21af280f632fa34 + enum: + - danger + - info + - success + - warning + description: '* `info` - Info + + * `success` - Success + + * `warning` - Warning + + * `danger` - Danger' explode: true style: form - in: query - name: last_updated__n + name: kind__nic schema: type: array items: type: string - format: date-time + x-spec-enum-id: a21af280f632fa34 + enum: + - danger + - info + - success + - warning + description: '* `info` - Info + + * `success` - Success + + * `warning` - Warning + + * `danger` - Danger' explode: true style: form - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - in: query - name: modified_by_request - schema: - type: string - format: uuid - in: query - name: name + name: kind__nie schema: type: array items: type: string + x-spec-enum-id: a21af280f632fa34 + enum: + - danger + - info + - success + - warning + description: '* `info` - Info + + * `success` - Success + + * `warning` - Warning + + * `danger` - Danger' explode: true style: form - in: query - name: name__empty - schema: - type: boolean - - in: query - name: name__ic + name: kind__niew schema: type: array items: type: string + x-spec-enum-id: a21af280f632fa34 + enum: + - danger + - info + - success + - warning + description: '* `info` - Info + + * `success` - Success + + * `warning` - Warning + + * `danger` - Danger' explode: true style: form - in: query - name: name__ie + name: kind__nisw schema: type: array items: type: string + x-spec-enum-id: a21af280f632fa34 + enum: + - danger + - info + - success + - warning + description: '* `info` - Info + + * `success` - Success + + * `warning` - Warning + + * `danger` - Danger' explode: true style: form - in: query - name: name__iew + name: last_updated schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: name__isw + name: last_updated__empty schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: name__n + name: last_updated__gt schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: name__nic + name: last_updated__gte schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: name__nie + name: last_updated__lt schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: name__niew + name: last_updated__lte schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: name__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: modified_by_request + schema: + type: string + format: uuid - name: offset required: false in: query @@ -71447,7 +97053,7 @@ paths: type: string description: Search - in: query - name: slug + name: tag schema: type: array items: @@ -71455,11 +97061,7 @@ paths: explode: true style: form - in: query - name: slug__empty - schema: - type: boolean - - in: query - name: slug__ic + name: tag__n schema: type: array items: @@ -71467,92 +97069,502 @@ paths: explode: true style: form - in: query - name: slug__ie + name: updated_by_request schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__iew + type: string + format: uuid + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/PaginatedJournalEntryList' + description: '' + post: + operationId: extras_journal_entries_create + description: Post a list of journal entry objects. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableJournalEntryRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableJournalEntryRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json: + schema: + $ref: '#/components/schemas/JournalEntry' + description: '' + put: + operationId: extras_journal_entries_bulk_update + description: Put a list of journal entry objects. + tags: + - extras + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/JournalEntryRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/JournalEntryRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/JournalEntry' + description: '' + patch: + operationId: extras_journal_entries_bulk_partial_update + description: Patch a list of journal entry objects. + tags: + - extras + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/JournalEntryRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/JournalEntryRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/JournalEntry' + description: '' + delete: + operationId: extras_journal_entries_bulk_destroy + description: Delete a list of journal entry objects. + tags: + - extras + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/JournalEntryRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/JournalEntryRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /api/extras/journal-entries/{id}/: + get: + operationId: extras_journal_entries_retrieve + description: Get a journal entry object. + parameters: + - in: path + name: id schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__isw + type: integer + description: A unique integer value identifying this journal entry. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/JournalEntry' + description: '' + put: + operationId: extras_journal_entries_update + description: Put a journal entry object. + parameters: + - in: path + name: id schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__n + type: integer + description: A unique integer value identifying this journal entry. + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableJournalEntryRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableJournalEntryRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/JournalEntry' + description: '' + patch: + operationId: extras_journal_entries_partial_update + description: Patch a journal entry object. + parameters: + - in: path + name: id schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__nic + type: integer + description: A unique integer value identifying this journal entry. + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableJournalEntryRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableJournalEntryRequest' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/JournalEntry' + description: '' + delete: + operationId: extras_journal_entries_destroy + description: Delete a journal entry object. + parameters: + - in: path + name: id schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__nie + type: integer + description: A unique integer value identifying this journal entry. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /api/extras/notification-groups/: + get: + operationId: extras_notification_groups_list + description: Get a list of notification group objects. + parameters: + - 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: slug__niew + 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 - - in: query - name: slug__nisw + type: integer + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: tag + type: string + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/PaginatedNotificationGroupList' + description: '' + post: + operationId: extras_notification_groups_create + description: Post a list of notification group objects. + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NotificationGroupRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/NotificationGroupRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json: + schema: + $ref: '#/components/schemas/NotificationGroup' + description: '' + put: + operationId: extras_notification_groups_bulk_update + description: Put a list of notification group objects. + tags: + - extras + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/NotificationGroupRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/NotificationGroupRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/NotificationGroup' + description: '' + patch: + operationId: extras_notification_groups_bulk_partial_update + description: Patch a list of notification group objects. + tags: + - extras + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/NotificationGroupRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/NotificationGroupRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/NotificationGroup' + description: '' + delete: + operationId: extras_notification_groups_bulk_destroy + description: Delete a list of notification group objects. + tags: + - extras + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/NotificationGroupRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/NotificationGroupRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /api/extras/notification-groups/{id}/: + get: + operationId: extras_notification_groups_retrieve + description: Get a notification group object. + parameters: + - in: path + name: id schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: tag__n + type: integer + description: A unique integer value identifying this notification group. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/NotificationGroup' + description: '' + put: + operationId: extras_notification_groups_update + description: Put a notification group object. + parameters: + - in: path + name: id schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: updated_by_request + type: integer + description: A unique integer value identifying this notification group. + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NotificationGroupRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/NotificationGroupRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/NotificationGroup' + description: '' + patch: + operationId: extras_notification_groups_partial_update + description: Patch a notification group object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this notification group. + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedNotificationGroupRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedNotificationGroupRequest' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/NotificationGroup' + description: '' + delete: + operationId: extras_notification_groups_destroy + description: Delete a notification group object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this notification group. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /api/extras/notifications/: + get: + operationId: extras_notifications_list + description: Get a list of notification objects. + parameters: + - 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: ordering + required: false + in: query + description: Which field to use when ordering the results. schema: type: string - format: uuid tags: - - ipam + - extras security: - cookieAuth: [] - tokenAuth: [] @@ -71561,21 +97573,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedRIRList' + $ref: '#/components/schemas/PaginatedNotificationList' description: '' post: - operationId: ipam_rirs_create - description: Post a list of RIR objects. + operationId: extras_notifications_create + description: Post a list of notification objects. tags: - - ipam + - extras requestBody: content: application/json: schema: - $ref: '#/components/schemas/RIRRequest' + $ref: '#/components/schemas/NotificationRequest' multipart/form-data: schema: - $ref: '#/components/schemas/RIRRequest' + $ref: '#/components/schemas/NotificationRequest' required: true security: - cookieAuth: [] @@ -71585,25 +97597,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/RIR' + $ref: '#/components/schemas/Notification' description: '' put: - operationId: ipam_rirs_bulk_update - description: Put a list of RIR objects. + operationId: extras_notifications_bulk_update + description: Put a list of notification objects. tags: - - ipam + - extras requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/RIRRequest' + $ref: '#/components/schemas/NotificationRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/RIRRequest' + $ref: '#/components/schemas/NotificationRequest' required: true security: - cookieAuth: [] @@ -71615,25 +97627,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/RIR' + $ref: '#/components/schemas/Notification' description: '' patch: - operationId: ipam_rirs_bulk_partial_update - description: Patch a list of RIR objects. + operationId: extras_notifications_bulk_partial_update + description: Patch a list of notification objects. tags: - - ipam + - extras requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/RIRRequest' + $ref: '#/components/schemas/NotificationRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/RIRRequest' + $ref: '#/components/schemas/NotificationRequest' required: true security: - cookieAuth: [] @@ -71645,25 +97657,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/RIR' + $ref: '#/components/schemas/Notification' description: '' delete: - operationId: ipam_rirs_bulk_destroy - description: Delete a list of RIR objects. + operationId: extras_notifications_bulk_destroy + description: Delete a list of notification objects. tags: - - ipam + - extras requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/RIRRequest' + $ref: '#/components/schemas/NotificationRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/RIRRequest' + $ref: '#/components/schemas/NotificationRequest' required: true security: - cookieAuth: [] @@ -71671,19 +97683,19 @@ paths: responses: '204': description: No response body - /api/ipam/rirs/{id}/: + /api/extras/notifications/{id}/: get: - operationId: ipam_rirs_retrieve - description: Get a RIR object. + operationId: extras_notifications_retrieve + description: Get a notification object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this RIR. + description: A unique integer value identifying this notification. required: true tags: - - ipam + - extras security: - cookieAuth: [] - tokenAuth: [] @@ -71692,28 +97704,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/RIR' + $ref: '#/components/schemas/Notification' description: '' put: - operationId: ipam_rirs_update - description: Put a RIR object. + operationId: extras_notifications_update + description: Put a notification object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this RIR. + description: A unique integer value identifying this notification. required: true tags: - - ipam + - extras requestBody: content: application/json: schema: - $ref: '#/components/schemas/RIRRequest' + $ref: '#/components/schemas/NotificationRequest' multipart/form-data: schema: - $ref: '#/components/schemas/RIRRequest' + $ref: '#/components/schemas/NotificationRequest' required: true security: - cookieAuth: [] @@ -71723,28 +97735,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/RIR' + $ref: '#/components/schemas/Notification' description: '' patch: - operationId: ipam_rirs_partial_update - description: Patch a RIR object. + operationId: extras_notifications_partial_update + description: Patch a notification object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this RIR. + description: A unique integer value identifying this notification. required: true tags: - - ipam + - extras requestBody: content: application/json: schema: - $ref: '#/components/schemas/PatchedRIRRequest' + $ref: '#/components/schemas/PatchedNotificationRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedRIRRequest' + $ref: '#/components/schemas/PatchedNotificationRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -71753,30 +97765,105 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/RIR' + $ref: '#/components/schemas/Notification' description: '' delete: - operationId: ipam_rirs_destroy - description: Delete a RIR object. + operationId: extras_notifications_destroy + description: Delete a notification object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this RIR. + description: A unique integer value identifying this notification. required: true tags: - - ipam + - extras security: - cookieAuth: [] - tokenAuth: [] responses: '204': description: No response body - /api/ipam/roles/: + /api/extras/object-types/: get: - operationId: ipam_roles_list - description: Get a list of role objects. + operationId: extras_object_types_list + description: Read-only list of ObjectTypes. + parameters: + - in: query + name: app_label + schema: + type: string + - in: query + name: id + schema: + type: integer + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: model + schema: + type: string + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string + - in: query + name: q + schema: + type: string + description: Search + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/PaginatedObjectTypeList' + description: '' + /api/extras/object-types/{id}/: + get: + operationId: extras_object_types_retrieve + description: Read-only list of ObjectTypes. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this object type. + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/ObjectType' + description: '' + /api/extras/saved-filters/: + get: + operationId: extras_saved_filters_list + description: Get a list of saved filter objects. parameters: - in: query name: created @@ -71930,6 +98017,10 @@ paths: type: string explode: true style: form + - in: query + name: enabled + schema: + type: boolean - in: query name: id schema: @@ -72146,49 +98237,109 @@ paths: 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: object_type schema: - type: integer - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. + type: string + - in: query + name: object_type__ic schema: type: string - in: query - name: q + name: object_type__ie schema: type: string - description: Search - in: query - name: slug + name: object_type__iew schema: - type: array - items: - type: string - explode: true - style: form + type: string - in: query - name: slug__empty + name: object_type__isw schema: - type: boolean + type: string - in: query - name: slug__ic + name: object_type__n + schema: + type: string + - in: query + name: object_type__nic + schema: + type: string + - in: query + name: object_type__nie + schema: + type: string + - in: query + name: object_type__niew + schema: + type: string + - in: query + name: object_type__nisw + schema: + type: string + - in: query + name: object_type_id schema: type: array items: - type: string + type: integer explode: true style: form - in: query - name: slug__ie + name: object_type_id__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 + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: shared + schema: + type: boolean + - in: query + name: slug + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__empty + schema: + type: boolean + - in: query + name: slug__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ie + schema: + type: array + items: + type: string explode: true style: form - in: query @@ -72248,26 +98399,52 @@ paths: explode: true style: form - in: query - name: tag + name: updated_by_request + schema: + type: string + format: uuid + - in: query + name: usable + schema: + type: boolean + - in: query + name: user schema: type: array items: type: string + description: User (name) explode: true style: form - in: query - name: tag__n + name: user__n schema: type: array items: type: string + description: User (name) explode: true style: form - in: query - name: updated_by_request + name: user_id schema: - type: string - format: uuid + type: array + items: + type: integer + nullable: true + description: User (ID) + explode: true + style: form + - in: query + name: user_id__n + schema: + type: array + items: + type: integer + nullable: true + description: User (ID) + explode: true + style: form - in: query name: weight schema: @@ -72327,7 +98504,7 @@ paths: explode: true style: form tags: - - ipam + - extras security: - cookieAuth: [] - tokenAuth: [] @@ -72336,21 +98513,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedRoleList' + $ref: '#/components/schemas/PaginatedSavedFilterList' description: '' post: - operationId: ipam_roles_create - description: Post a list of role objects. + operationId: extras_saved_filters_create + description: Post a list of saved filter objects. tags: - - ipam + - extras requestBody: content: application/json: schema: - $ref: '#/components/schemas/RoleRequest' + $ref: '#/components/schemas/SavedFilterRequest' multipart/form-data: schema: - $ref: '#/components/schemas/RoleRequest' + $ref: '#/components/schemas/SavedFilterRequest' required: true security: - cookieAuth: [] @@ -72360,25 +98537,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Role' + $ref: '#/components/schemas/SavedFilter' description: '' put: - operationId: ipam_roles_bulk_update - description: Put a list of role objects. + operationId: extras_saved_filters_bulk_update + description: Put a list of saved filter objects. tags: - - ipam + - extras requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/RoleRequest' + $ref: '#/components/schemas/SavedFilterRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/RoleRequest' + $ref: '#/components/schemas/SavedFilterRequest' required: true security: - cookieAuth: [] @@ -72390,25 +98567,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/Role' + $ref: '#/components/schemas/SavedFilter' description: '' patch: - operationId: ipam_roles_bulk_partial_update - description: Patch a list of role objects. + operationId: extras_saved_filters_bulk_partial_update + description: Patch a list of saved filter objects. tags: - - ipam + - extras requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/RoleRequest' + $ref: '#/components/schemas/SavedFilterRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/RoleRequest' + $ref: '#/components/schemas/SavedFilterRequest' required: true security: - cookieAuth: [] @@ -72420,25 +98597,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/Role' + $ref: '#/components/schemas/SavedFilter' description: '' delete: - operationId: ipam_roles_bulk_destroy - description: Delete a list of role objects. + operationId: extras_saved_filters_bulk_destroy + description: Delete a list of saved filter objects. tags: - - ipam + - extras requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/RoleRequest' + $ref: '#/components/schemas/SavedFilterRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/RoleRequest' + $ref: '#/components/schemas/SavedFilterRequest' required: true security: - cookieAuth: [] @@ -72446,19 +98623,19 @@ paths: responses: '204': description: No response body - /api/ipam/roles/{id}/: + /api/extras/saved-filters/{id}/: get: - operationId: ipam_roles_retrieve - description: Get a role object. + operationId: extras_saved_filters_retrieve + description: Get a saved filter object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this role. + description: A unique integer value identifying this saved filter. required: true tags: - - ipam + - extras security: - cookieAuth: [] - tokenAuth: [] @@ -72467,28 +98644,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Role' + $ref: '#/components/schemas/SavedFilter' description: '' put: - operationId: ipam_roles_update - description: Put a role object. + operationId: extras_saved_filters_update + description: Put a saved filter object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this role. + description: A unique integer value identifying this saved filter. required: true tags: - - ipam + - extras requestBody: content: application/json: schema: - $ref: '#/components/schemas/RoleRequest' + $ref: '#/components/schemas/SavedFilterRequest' multipart/form-data: schema: - $ref: '#/components/schemas/RoleRequest' + $ref: '#/components/schemas/SavedFilterRequest' required: true security: - cookieAuth: [] @@ -72498,28 +98675,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Role' + $ref: '#/components/schemas/SavedFilter' description: '' patch: - operationId: ipam_roles_partial_update - description: Patch a role object. + operationId: extras_saved_filters_partial_update + description: Patch a saved filter object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this role. + description: A unique integer value identifying this saved filter. required: true tags: - - ipam + - extras requestBody: content: application/json: schema: - $ref: '#/components/schemas/PatchedRoleRequest' + $ref: '#/components/schemas/PatchedSavedFilterRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedRoleRequest' + $ref: '#/components/schemas/PatchedSavedFilterRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -72528,267 +98705,31 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Role' + $ref: '#/components/schemas/SavedFilter' description: '' delete: - operationId: ipam_roles_destroy - description: Delete a role object. + operationId: extras_saved_filters_destroy + description: Delete a saved filter object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this role. + description: A unique integer value identifying this saved filter. required: true tags: - - ipam + - extras security: - cookieAuth: [] - tokenAuth: [] responses: '204': description: No response body - /api/ipam/route-targets/: + /api/extras/scripts/: get: - operationId: ipam_route_targets_list - description: Get a list of route target objects. + operationId: extras_scripts_list + description: Get a list of script objects. parameters: - - in: query - name: created - schema: - type: array - items: - type: string - format: date-time - explode: true - style: form - - in: query - name: created__empty - 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__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: created_by_request - schema: - type: string - format: uuid - - in: query - name: description - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: description__empty - schema: - type: boolean - - 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__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__nisw - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: exporting_l2vpn - schema: - type: array - items: - type: integer - maximum: 9223372036854775807 - minimum: -9223372036854775808 - format: int64 - nullable: true - description: Exporting L2VPN (identifier) - explode: true - style: form - - in: query - name: exporting_l2vpn__n - schema: - type: array - items: - type: integer - maximum: 9223372036854775807 - minimum: -9223372036854775808 - format: int64 - nullable: true - description: Exporting L2VPN (identifier) - explode: true - style: form - - in: query - name: exporting_l2vpn_id - schema: - type: array - items: - type: integer - description: Exporting L2VPN - explode: true - style: form - - in: query - name: exporting_l2vpn_id__n - schema: - type: array - items: - type: integer - description: Exporting L2VPN - explode: true - style: form - - in: query - name: exporting_vrf - schema: - type: array - items: - type: string - nullable: true - title: Route distinguisher - description: Export VRF (RD) - explode: true - style: form - - in: query - name: exporting_vrf__n - schema: - type: array - items: - type: string - nullable: true - title: Route distinguisher - description: Export VRF (RD) - explode: true - style: form - - in: query - name: exporting_vrf_id - schema: - type: array - items: - type: integer - description: Exporting VRF - explode: true - style: form - - in: query - name: exporting_vrf_id__n - schema: - type: array - items: - type: integer - description: Exporting VRF - explode: true - style: form - in: query name: id schema: @@ -72848,163 +98789,33 @@ paths: explode: true style: form - in: query - name: importing_l2vpn - schema: - type: array - items: - type: integer - maximum: 9223372036854775807 - minimum: -9223372036854775808 - format: int64 - nullable: true - description: Importing L2VPN (identifier) - explode: true - style: form - - in: query - name: importing_l2vpn__n - schema: - type: array - items: - type: integer - maximum: 9223372036854775807 - minimum: -9223372036854775808 - format: int64 - nullable: true - description: Importing L2VPN (identifier) - explode: true - style: form - - in: query - name: importing_l2vpn_id - schema: - type: array - items: - type: integer - description: Importing L2VPN - explode: true - style: form - - in: query - name: importing_l2vpn_id__n - schema: - type: array - items: - type: integer - description: Importing L2VPN - explode: true - style: form - - in: query - name: importing_vrf + name: is_executable schema: - type: array - items: - type: string - nullable: true - title: Route distinguisher - description: Import VRF (RD) - explode: true - style: form - - in: query - name: importing_vrf__n + type: boolean + - name: limit + required: false + in: query + description: Number of results to return per page. schema: - type: array - items: - type: string - nullable: true - title: Route distinguisher - description: Import VRF (RD) - explode: true - style: form + type: integer - in: query - name: importing_vrf_id + name: module_id schema: type: array items: type: integer - description: Importing VRF + description: Script module (ID) explode: true style: form - in: query - name: importing_vrf_id__n + name: module_id__n schema: type: array items: type: integer - description: Importing VRF - 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__empty - 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__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 + description: Script module (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: modified_by_request - schema: - type: string - format: uuid - in: query name: name schema: @@ -73106,103 +98917,160 @@ paths: schema: type: string description: Search - - in: query - name: tag - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: tag__n - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: tenant - schema: - type: array - items: - type: string - description: Tenant (slug) - explode: true - style: form - - in: query - name: tenant__n - schema: - type: array - items: - type: string - description: Tenant (slug) - explode: true - style: form - - in: query - name: tenant_group + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/PaginatedScriptList' + description: '' + post: + operationId: extras_scripts_create + description: Post a list of script objects. + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json: + schema: + $ref: '#/components/schemas/Script' + description: '' + /api/extras/scripts/{id}/: + get: + operationId: extras_scripts_retrieve + description: Get a script object. + parameters: + - in: path + name: id schema: - type: array - items: - type: integer - description: Tenant Group (slug) - explode: true - style: form - - in: query - name: tenant_group__n + type: string + pattern: ^[^/]+$ + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/Script' + description: '' + put: + operationId: extras_scripts_update + description: Put a script object. + parameters: + - in: path + name: id schema: - type: array - items: - type: integer - description: Tenant Group (slug) - explode: true - style: form - - in: query - name: tenant_group_id + type: string + pattern: ^[^/]+$ + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ScriptInputRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/ScriptInputRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/Script' + description: '' + patch: + operationId: extras_scripts_partial_update + description: Patch a script object. + parameters: + - in: path + name: id schema: - type: array - items: - type: integer - description: Tenant Group (ID) - explode: true - style: form - - in: query - name: tenant_group_id__n + type: string + pattern: ^[^/]+$ + required: true + tags: + - extras + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedScriptInputRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedScriptInputRequest' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/Script' + description: '' + delete: + operationId: extras_scripts_destroy + description: Delete a script object. + parameters: + - in: path + name: id schema: - type: array - items: - type: integer - description: Tenant Group (ID) - explode: true - style: form - - in: query - name: tenant_id + type: string + pattern: ^[^/]+$ + required: true + tags: + - extras + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /api/extras/subscriptions/: + get: + operationId: extras_subscriptions_list + description: Get a list of subscription objects. + parameters: + - name: limit + required: false + in: query + description: Number of results to return per page. schema: - type: array - items: - type: integer - nullable: true - description: Tenant (ID) - explode: true - style: form - - in: query - name: tenant_id__n + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. schema: - type: array - items: - type: integer - nullable: true - description: Tenant (ID) - explode: true - style: form - - in: query - name: updated_by_request + type: integer + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. schema: type: string - format: uuid tags: - - ipam + - extras security: - cookieAuth: [] - tokenAuth: [] @@ -73211,21 +99079,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedRouteTargetList' + $ref: '#/components/schemas/PaginatedSubscriptionList' description: '' post: - operationId: ipam_route_targets_create - description: Post a list of route target objects. + operationId: extras_subscriptions_create + description: Post a list of subscription objects. tags: - - ipam + - extras requestBody: content: application/json: schema: - $ref: '#/components/schemas/RouteTargetRequest' + $ref: '#/components/schemas/SubscriptionRequest' multipart/form-data: schema: - $ref: '#/components/schemas/RouteTargetRequest' + $ref: '#/components/schemas/SubscriptionRequest' required: true security: - cookieAuth: [] @@ -73235,25 +99103,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/RouteTarget' + $ref: '#/components/schemas/Subscription' description: '' put: - operationId: ipam_route_targets_bulk_update - description: Put a list of route target objects. + operationId: extras_subscriptions_bulk_update + description: Put a list of subscription objects. tags: - - ipam + - extras requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/RouteTargetRequest' + $ref: '#/components/schemas/SubscriptionRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/RouteTargetRequest' + $ref: '#/components/schemas/SubscriptionRequest' required: true security: - cookieAuth: [] @@ -73265,25 +99133,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/RouteTarget' + $ref: '#/components/schemas/Subscription' description: '' patch: - operationId: ipam_route_targets_bulk_partial_update - description: Patch a list of route target objects. + operationId: extras_subscriptions_bulk_partial_update + description: Patch a list of subscription objects. tags: - - ipam + - extras requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/RouteTargetRequest' + $ref: '#/components/schemas/SubscriptionRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/RouteTargetRequest' + $ref: '#/components/schemas/SubscriptionRequest' required: true security: - cookieAuth: [] @@ -73295,25 +99163,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/RouteTarget' + $ref: '#/components/schemas/Subscription' description: '' delete: - operationId: ipam_route_targets_bulk_destroy - description: Delete a list of route target objects. + operationId: extras_subscriptions_bulk_destroy + description: Delete a list of subscription objects. tags: - - ipam + - extras requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/RouteTargetRequest' + $ref: '#/components/schemas/SubscriptionRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/RouteTargetRequest' + $ref: '#/components/schemas/SubscriptionRequest' required: true security: - cookieAuth: [] @@ -73321,19 +99189,19 @@ paths: responses: '204': description: No response body - /api/ipam/route-targets/{id}/: + /api/extras/subscriptions/{id}/: get: - operationId: ipam_route_targets_retrieve - description: Get a route target object. + operationId: extras_subscriptions_retrieve + description: Get a subscription object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this route target. + description: A unique integer value identifying this subscription. required: true tags: - - ipam + - extras security: - cookieAuth: [] - tokenAuth: [] @@ -73342,28 +99210,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/RouteTarget' + $ref: '#/components/schemas/Subscription' description: '' put: - operationId: ipam_route_targets_update - description: Put a route target object. + operationId: extras_subscriptions_update + description: Put a subscription object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this route target. + description: A unique integer value identifying this subscription. required: true tags: - - ipam + - extras requestBody: content: application/json: schema: - $ref: '#/components/schemas/RouteTargetRequest' + $ref: '#/components/schemas/SubscriptionRequest' multipart/form-data: schema: - $ref: '#/components/schemas/RouteTargetRequest' + $ref: '#/components/schemas/SubscriptionRequest' required: true security: - cookieAuth: [] @@ -73373,28 +99241,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/RouteTarget' + $ref: '#/components/schemas/Subscription' description: '' patch: - operationId: ipam_route_targets_partial_update - description: Patch a route target object. + operationId: extras_subscriptions_partial_update + description: Patch a subscription object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this route target. + description: A unique integer value identifying this subscription. required: true tags: - - ipam + - extras requestBody: content: application/json: schema: - $ref: '#/components/schemas/PatchedRouteTargetRequest' + $ref: '#/components/schemas/PatchedSubscriptionRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedRouteTargetRequest' + $ref: '#/components/schemas/PatchedSubscriptionRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -73403,31 +99271,132 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/RouteTarget' + $ref: '#/components/schemas/Subscription' description: '' delete: - operationId: ipam_route_targets_destroy - description: Delete a route target object. + operationId: extras_subscriptions_destroy + description: Delete a subscription object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this route target. + description: A unique integer value identifying this subscription. required: true tags: - - ipam + - extras security: - cookieAuth: [] - tokenAuth: [] responses: '204': description: No response body - /api/ipam/service-templates/: + /api/extras/tags/: get: - operationId: ipam_service_templates_list - description: Get a list of service template objects. + operationId: extras_tags_list + description: Get a list of tag objects. parameters: + - in: query + name: color + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__empty + schema: + type: boolean + - in: query + name: color__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: color__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: content_type + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: content_type_id + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form - in: query name: created schema: @@ -73580,6 +99549,15 @@ paths: type: string explode: true style: form + - in: query + name: for_object_type_id + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form - in: query name: id schema: @@ -73796,6 +99774,22 @@ 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 @@ -73808,45 +99802,13 @@ paths: description: Which field to use when ordering the results. schema: type: string - - in: query - name: port - schema: - type: number - - in: query - name: protocol - schema: - type: string - x-spec-enum-id: 5521e084b1ad51de - enum: - - sctp - - tcp - - udp - description: '* `tcp` - TCP - - * `udp` - UDP - - * `sctp` - SCTP' - - in: query - name: protocol__n - schema: - type: string - x-spec-enum-id: 5521e084b1ad51de - enum: - - sctp - - tcp - - udp - description: '* `tcp` - TCP - - * `udp` - UDP - - * `sctp` - SCTP' - in: query name: q schema: type: string description: Search - in: query - name: tag + name: slug schema: type: array items: @@ -73854,7 +99816,75 @@ paths: explode: true style: form - in: query - name: tag__n + name: slug__empty + schema: + type: boolean + - in: query + name: slug__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nisw schema: type: array items: @@ -73867,7 +99897,7 @@ paths: type: string format: uuid tags: - - ipam + - extras security: - cookieAuth: [] - tokenAuth: [] @@ -73876,21 +99906,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedServiceTemplateList' + $ref: '#/components/schemas/PaginatedTagList' description: '' post: - operationId: ipam_service_templates_create - description: Post a list of service template objects. + operationId: extras_tags_create + description: Post a list of tag objects. tags: - - ipam + - extras requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableServiceTemplateRequest' + $ref: '#/components/schemas/TagRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableServiceTemplateRequest' + $ref: '#/components/schemas/TagRequest' required: true security: - cookieAuth: [] @@ -73900,25 +99930,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ServiceTemplate' + $ref: '#/components/schemas/Tag' description: '' put: - operationId: ipam_service_templates_bulk_update - description: Put a list of service template objects. + operationId: extras_tags_bulk_update + description: Put a list of tag objects. tags: - - ipam + - extras requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/ServiceTemplateRequest' + $ref: '#/components/schemas/TagRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ServiceTemplateRequest' + $ref: '#/components/schemas/TagRequest' required: true security: - cookieAuth: [] @@ -73930,25 +99960,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ServiceTemplate' + $ref: '#/components/schemas/Tag' description: '' patch: - operationId: ipam_service_templates_bulk_partial_update - description: Patch a list of service template objects. + operationId: extras_tags_bulk_partial_update + description: Patch a list of tag objects. tags: - - ipam + - extras requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/ServiceTemplateRequest' + $ref: '#/components/schemas/TagRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ServiceTemplateRequest' + $ref: '#/components/schemas/TagRequest' required: true security: - cookieAuth: [] @@ -73960,25 +99990,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ServiceTemplate' + $ref: '#/components/schemas/Tag' description: '' delete: - operationId: ipam_service_templates_bulk_destroy - description: Delete a list of service template objects. + operationId: extras_tags_bulk_destroy + description: Delete a list of tag objects. tags: - - ipam + - extras requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/ServiceTemplateRequest' + $ref: '#/components/schemas/TagRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ServiceTemplateRequest' + $ref: '#/components/schemas/TagRequest' required: true security: - cookieAuth: [] @@ -73986,19 +100016,19 @@ paths: responses: '204': description: No response body - /api/ipam/service-templates/{id}/: + /api/extras/tags/{id}/: get: - operationId: ipam_service_templates_retrieve - description: Get a service template object. + operationId: extras_tags_retrieve + description: Get a tag object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this service template. + description: A unique integer value identifying this tag. required: true tags: - - ipam + - extras security: - cookieAuth: [] - tokenAuth: [] @@ -74007,28 +100037,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ServiceTemplate' + $ref: '#/components/schemas/Tag' description: '' put: - operationId: ipam_service_templates_update - description: Put a service template object. + operationId: extras_tags_update + description: Put a tag object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this service template. + description: A unique integer value identifying this tag. required: true tags: - - ipam + - extras requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableServiceTemplateRequest' + $ref: '#/components/schemas/TagRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableServiceTemplateRequest' + $ref: '#/components/schemas/TagRequest' required: true security: - cookieAuth: [] @@ -74038,28 +100068,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ServiceTemplate' + $ref: '#/components/schemas/Tag' description: '' patch: - operationId: ipam_service_templates_partial_update - description: Patch a service template object. + operationId: extras_tags_partial_update + description: Patch a tag object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this service template. + description: A unique integer value identifying this tag. required: true tags: - - ipam + - extras requestBody: content: application/json: schema: - $ref: '#/components/schemas/PatchedWritableServiceTemplateRequest' + $ref: '#/components/schemas/PatchedTagRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedWritableServiceTemplateRequest' + $ref: '#/components/schemas/PatchedTagRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -74068,31 +100098,115 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ServiceTemplate' + $ref: '#/components/schemas/Tag' description: '' delete: - operationId: ipam_service_templates_destroy - description: Delete a service template object. + operationId: extras_tags_destroy + description: Delete a tag object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this service template. + description: A unique integer value identifying this tag. required: true tags: - - ipam + - extras security: - cookieAuth: [] - tokenAuth: [] responses: '204': description: No response body - /api/ipam/services/: + /api/extras/webhooks/: get: - operationId: ipam_services_list - description: Get a list of service objects. + operationId: extras_webhooks_list + description: Get a list of webhook objects. parameters: + - in: query + name: ca_file_path + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: ca_file_path__empty + schema: + type: boolean + - in: query + name: ca_file_path__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: ca_file_path__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: ca_file_path__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: ca_file_path__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: ca_file_path__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: ca_file_path__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: ca_file_path__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: ca_file_path__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: ca_file_path__nisw + schema: + type: array + items: + type: string + explode: true + style: form - in: query name: created schema: @@ -74246,173 +100360,374 @@ paths: explode: true style: form - in: query - name: device + name: http_content_type schema: type: array items: type: string - nullable: true - description: Device (name) explode: true style: form - in: query - name: device__n + name: http_content_type__empty + schema: + type: boolean + - in: query + name: http_content_type__ic schema: type: array items: type: string - nullable: true - description: Device (name) explode: true style: form - in: query - name: device_id + name: http_content_type__ie schema: type: array items: - type: integer - nullable: true - description: Device (ID) + type: string explode: true style: form - in: query - name: device_id__n + name: http_content_type__iew schema: type: array items: - type: integer - nullable: true - description: Device (ID) + type: string explode: true style: form - in: query - name: id + name: http_content_type__isw schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__empty + name: http_content_type__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: http_content_type__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: http_content_type__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: http_content_type__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: http_content_type__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: http_method + schema: + type: array + items: + type: string + x-spec-enum-id: a12018571a034921 + explode: true + style: form + - in: query + name: http_method__empty schema: type: boolean - in: query - name: id__gt + name: http_method__ic schema: type: array items: - type: integer - format: int32 + type: string + x-spec-enum-id: a12018571a034921 + enum: + - DELETE + - GET + - PATCH + - POST + - PUT + description: '* `GET` - GET + + * `POST` - POST + + * `PUT` - PUT + + * `PATCH` - PATCH + + * `DELETE` - DELETE' explode: true style: form - in: query - name: id__gte + name: http_method__ie schema: type: array items: - type: integer - format: int32 + type: string + x-spec-enum-id: a12018571a034921 + enum: + - DELETE + - GET + - PATCH + - POST + - PUT + description: '* `GET` - GET + + * `POST` - POST + + * `PUT` - PUT + + * `PATCH` - PATCH + + * `DELETE` - DELETE' explode: true style: form - in: query - name: id__lt + name: http_method__iew schema: type: array items: - type: integer - format: int32 + type: string + x-spec-enum-id: a12018571a034921 + enum: + - DELETE + - GET + - PATCH + - POST + - PUT + description: '* `GET` - GET + + * `POST` - POST + + * `PUT` - PUT + + * `PATCH` - PATCH + + * `DELETE` - DELETE' explode: true style: form - in: query - name: id__lte + name: http_method__isw schema: type: array items: - type: integer - format: int32 + type: string + x-spec-enum-id: a12018571a034921 + enum: + - DELETE + - GET + - PATCH + - POST + - PUT + description: '* `GET` - GET + + * `POST` - POST + + * `PUT` - PUT + + * `PATCH` - PATCH + + * `DELETE` - DELETE' explode: true style: form - in: query - name: id__n + name: http_method__n schema: type: array items: - type: integer - format: int32 + type: string + x-spec-enum-id: a12018571a034921 + enum: + - DELETE + - GET + - PATCH + - POST + - PUT + description: '* `GET` - GET + + * `POST` - POST + + * `PUT` - PUT + + * `PATCH` - PATCH + + * `DELETE` - DELETE' explode: true style: form - in: query - name: ip_address + name: http_method__nic schema: type: array items: type: string - description: IP address + x-spec-enum-id: a12018571a034921 + enum: + - DELETE + - GET + - PATCH + - POST + - PUT + description: '* `GET` - GET + + * `POST` - POST + + * `PUT` - PUT + + * `PATCH` - PATCH + + * `DELETE` - DELETE' explode: true style: form - in: query - name: ip_address__n + name: http_method__nie schema: type: array items: type: string - description: IP address + x-spec-enum-id: a12018571a034921 + enum: + - DELETE + - GET + - PATCH + - POST + - PUT + description: '* `GET` - GET + + * `POST` - POST + + * `PUT` - PUT + + * `PATCH` - PATCH + + * `DELETE` - DELETE' explode: true style: form - in: query - name: ip_address_id + name: http_method__niew + schema: + type: array + items: + type: string + x-spec-enum-id: a12018571a034921 + enum: + - DELETE + - GET + - PATCH + - POST + - PUT + description: '* `GET` - GET + + * `POST` - POST + + * `PUT` - PUT + + * `PATCH` - PATCH + + * `DELETE` - DELETE' + explode: true + style: form + - in: query + name: http_method__nisw + schema: + type: array + items: + type: string + x-spec-enum-id: a12018571a034921 + enum: + - DELETE + - GET + - PATCH + - POST + - PUT + description: '* `GET` - GET + + * `POST` - POST + + * `PUT` - PUT + + * `PATCH` - PATCH + + * `DELETE` - DELETE' + explode: true + style: form + - in: query + name: id schema: type: array items: type: integer - description: IP address (ID) + format: int32 explode: true style: form - in: query - name: ip_address_id__n + name: id__empty + schema: + type: boolean + - in: query + name: id__gt schema: type: array items: type: integer - description: IP address (ID) + format: int32 explode: true style: form - in: query - name: ipaddress + name: id__gte schema: type: array items: - type: string - description: IP address + type: integer + format: int32 explode: true style: form - in: query - name: ipaddress__n + name: id__lt schema: type: array items: - type: string - description: IP address + type: integer + format: int32 explode: true style: form - in: query - name: ipaddress_id + name: id__lte schema: type: array items: type: integer - description: IP address (ID) + format: int32 explode: true style: form - in: query - name: ipaddress_id__n + name: id__n schema: type: array items: type: integer - description: IP address (ID) + format: int32 explode: true style: form - in: query @@ -74586,44 +100901,32 @@ paths: schema: type: string - in: query - name: port + name: payload_url schema: - type: number + type: array + items: + type: string + explode: true + style: form - in: query - name: protocol + name: q schema: type: string - x-spec-enum-id: 5521e084b1ad51de - enum: - - sctp - - tcp - - udp - description: '* `tcp` - TCP - - * `udp` - UDP - - * `sctp` - SCTP' + description: Search - in: query - name: protocol__n + name: secret schema: - type: string - x-spec-enum-id: 5521e084b1ad51de - enum: - - sctp - - tcp - - udp - description: '* `tcp` - TCP - - * `udp` - UDP - - * `sctp` - SCTP' + type: array + items: + type: string + explode: true + style: form - in: query - name: q + name: secret__empty schema: - type: string - description: Search + type: boolean - in: query - name: tag + name: secret__ic schema: type: array items: @@ -74631,7 +100934,7 @@ paths: explode: true style: form - in: query - name: tag__n + name: secret__ie schema: type: array items: @@ -74639,50 +100942,88 @@ paths: explode: true style: form - in: query - name: updated_by_request + name: secret__iew schema: - type: string - format: uuid + type: array + items: + type: string + explode: true + style: form - in: query - name: virtual_machine + name: secret__isw schema: type: array items: type: string - description: Virtual machine (name) explode: true style: form - in: query - name: virtual_machine__n + name: secret__n schema: type: array items: type: string - description: Virtual machine (name) explode: true style: form - in: query - name: virtual_machine_id + name: secret__nic schema: type: array items: - type: integer - nullable: true - description: Virtual machine (ID) + type: string explode: true style: form - in: query - name: virtual_machine_id__n + name: secret__nie schema: type: array items: - type: integer - nullable: true - description: Virtual machine (ID) + type: string + explode: true + style: form + - in: query + name: secret__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: secret__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: ssl_verification + schema: + type: boolean + - in: query + name: tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string explode: true style: form + - in: query + name: updated_by_request + schema: + type: string + format: uuid tags: - - ipam + - extras security: - cookieAuth: [] - tokenAuth: [] @@ -74691,21 +101032,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedServiceList' + $ref: '#/components/schemas/PaginatedWebhookList' description: '' post: - operationId: ipam_services_create - description: Post a list of service objects. + operationId: extras_webhooks_create + description: Post a list of webhook objects. tags: - - ipam + - extras requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableServiceRequest' + $ref: '#/components/schemas/WebhookRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableServiceRequest' + $ref: '#/components/schemas/WebhookRequest' required: true security: - cookieAuth: [] @@ -74715,25 +101056,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Service' + $ref: '#/components/schemas/Webhook' description: '' put: - operationId: ipam_services_bulk_update - description: Put a list of service objects. + operationId: extras_webhooks_bulk_update + description: Put a list of webhook objects. tags: - - ipam + - extras requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/ServiceRequest' + $ref: '#/components/schemas/WebhookRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ServiceRequest' + $ref: '#/components/schemas/WebhookRequest' required: true security: - cookieAuth: [] @@ -74745,25 +101086,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/Service' + $ref: '#/components/schemas/Webhook' description: '' patch: - operationId: ipam_services_bulk_partial_update - description: Patch a list of service objects. + operationId: extras_webhooks_bulk_partial_update + description: Patch a list of webhook objects. tags: - - ipam + - extras requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/ServiceRequest' + $ref: '#/components/schemas/WebhookRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ServiceRequest' + $ref: '#/components/schemas/WebhookRequest' required: true security: - cookieAuth: [] @@ -74775,25 +101116,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/Service' + $ref: '#/components/schemas/Webhook' description: '' delete: - operationId: ipam_services_bulk_destroy - description: Delete a list of service objects. + operationId: extras_webhooks_bulk_destroy + description: Delete a list of webhook objects. tags: - - ipam + - extras requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/ServiceRequest' + $ref: '#/components/schemas/WebhookRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ServiceRequest' + $ref: '#/components/schemas/WebhookRequest' required: true security: - cookieAuth: [] @@ -74801,19 +101142,19 @@ paths: responses: '204': description: No response body - /api/ipam/services/{id}/: + /api/extras/webhooks/{id}/: get: - operationId: ipam_services_retrieve - description: Get a service object. + operationId: extras_webhooks_retrieve + description: Get a webhook object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this service. + description: A unique integer value identifying this webhook. required: true tags: - - ipam + - extras security: - cookieAuth: [] - tokenAuth: [] @@ -74822,28 +101163,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Service' + $ref: '#/components/schemas/Webhook' description: '' put: - operationId: ipam_services_update - description: Put a service object. + operationId: extras_webhooks_update + description: Put a webhook object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this service. + description: A unique integer value identifying this webhook. required: true tags: - - ipam + - extras requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableServiceRequest' + $ref: '#/components/schemas/WebhookRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableServiceRequest' + $ref: '#/components/schemas/WebhookRequest' required: true security: - cookieAuth: [] @@ -74853,28 +101194,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Service' + $ref: '#/components/schemas/Webhook' description: '' patch: - operationId: ipam_services_partial_update - description: Patch a service object. + operationId: extras_webhooks_partial_update + description: Patch a webhook object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this service. + description: A unique integer value identifying this webhook. required: true tags: - - ipam + - extras requestBody: content: application/json: schema: - $ref: '#/components/schemas/PatchedWritableServiceRequest' + $ref: '#/components/schemas/PatchedWebhookRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedWritableServiceRequest' + $ref: '#/components/schemas/PatchedWebhookRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -74883,43 +101224,31 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Service' + $ref: '#/components/schemas/Webhook' description: '' delete: - operationId: ipam_services_destroy - description: Delete a service object. + operationId: extras_webhooks_destroy + description: Delete a webhook object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this service. + description: A unique integer value identifying this webhook. required: true tags: - - ipam + - extras security: - cookieAuth: [] - tokenAuth: [] responses: '204': description: No response body - /api/ipam/vlan-groups/: + /api/ipam/aggregates/: get: - operationId: ipam_vlan_groups_list - description: Get a list of VLAN group objects. + operationId: ipam_aggregates_list + description: Get a list of aggregate objects. parameters: - - in: query - name: cluster - schema: - type: integer - - in: query - name: cluster_group - schema: - type: integer - - in: query - name: clustergroup - schema: - type: integer - in: query name: created schema: @@ -74989,59 +101318,65 @@ paths: type: string format: uuid - in: query - name: description + name: date_added schema: type: array items: type: string + format: date explode: true style: form - in: query - name: description__empty + name: date_added__empty schema: type: boolean - in: query - name: description__ic + name: date_added__gt schema: type: array items: type: string + format: date explode: true style: form - in: query - name: description__ie + name: date_added__gte schema: type: array items: type: string + format: date explode: true style: form - in: query - name: description__iew + name: date_added__lt schema: type: array items: type: string + format: date explode: true style: form - in: query - name: description__isw + name: date_added__lte schema: type: array items: type: string + format: date explode: true style: form - in: query - name: description__n + name: date_added__n schema: type: array items: type: string + format: date explode: true style: form - in: query - name: description__nic + name: description schema: type: array items: @@ -75049,15 +101384,11 @@ paths: explode: true style: form - in: query - name: description__nie + name: description__empty schema: - type: array - items: - type: string - explode: true - style: form + type: boolean - in: query - name: description__niew + name: description__ic schema: type: array items: @@ -75065,7 +101396,7 @@ paths: explode: true style: form - in: query - name: description__nisw + name: description__ie schema: type: array items: @@ -75073,196 +101404,67 @@ paths: explode: true style: form - in: query - name: id - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: id__empty - schema: - type: boolean - - in: query - name: id__gt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: id__gte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: id__lt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: id__lte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: id__n - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: last_updated + name: description__iew schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__empty + name: description__isw schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__gt + name: description__n schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__gte + name: description__nic schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__lt + name: description__nie schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__lte + name: description__niew schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__n + name: description__nisw 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: integer - - in: query - name: max_vid - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: max_vid__empty - schema: - type: boolean - - in: query - name: max_vid__gt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: max_vid__gte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: max_vid__lt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: max_vid__lte - schema: - type: array - items: - type: integer - format: int32 explode: true style: form - in: query - name: max_vid__n + name: family schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form + type: number - in: query - name: min_vid + name: id schema: type: array items: @@ -75271,11 +101473,11 @@ paths: explode: true style: form - in: query - name: min_vid__empty + name: id__empty schema: type: boolean - in: query - name: min_vid__gt + name: id__gt schema: type: array items: @@ -75284,7 +101486,7 @@ paths: explode: true style: form - in: query - name: min_vid__gte + name: id__gte schema: type: array items: @@ -75293,7 +101495,7 @@ paths: explode: true style: form - in: query - name: min_vid__lt + name: id__lt schema: type: array items: @@ -75302,7 +101504,7 @@ paths: explode: true style: form - in: query - name: min_vid__lte + name: id__lte schema: type: array items: @@ -75311,7 +101513,7 @@ paths: explode: true style: form - in: query - name: min_vid__n + name: id__n schema: type: array items: @@ -75320,94 +101522,79 @@ paths: explode: true style: form - in: query - name: modified_by_request - schema: - type: string - format: uuid - - in: query - name: name - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: name__empty - schema: - type: boolean - - in: query - name: name__ic + name: last_updated schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: name__ie + name: last_updated__empty schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: name__iew + name: last_updated__gt schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: name__isw + name: last_updated__gte schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: name__n + name: last_updated__lt schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: name__nic + name: last_updated__lte schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: name__nie + name: last_updated__n schema: type: array items: type: string + format: date-time explode: true style: form - - in: query - name: name__niew + - 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: name__nisw + name: modified_by_request schema: - type: array - items: - type: string - explode: true - style: form + type: string + format: uuid - name: offset required: false in: query @@ -75421,98 +101608,61 @@ paths: schema: type: string - in: query - name: q + name: prefix schema: type: string - description: Search - - in: query - name: rack - schema: - type: integer - - in: query - name: region - schema: - type: integer - - in: query - name: scope_id - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form + description: Prefix - in: query - name: scope_id__empty + name: q schema: - type: boolean + type: string + description: Search - in: query - name: scope_id__gt + name: rir schema: type: array items: - type: integer - format: int32 + type: string + description: RIR (slug) explode: true style: form - in: query - name: scope_id__gte + name: rir__n schema: type: array items: - type: integer - format: int32 + type: string + description: RIR (slug) explode: true style: form - in: query - name: scope_id__lt + name: rir_id schema: type: array items: type: integer - format: int32 + description: RIR (ID) explode: true style: form - in: query - name: scope_id__lte + name: rir_id__n schema: type: array items: type: integer - format: int32 + description: RIR (ID) explode: true style: form - in: query - name: scope_id__n + name: tag schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: scope_type - schema: - type: string - - in: query - name: scope_type__n - schema: - type: string - - in: query - name: site - schema: - type: integer - - in: query - name: site_group - schema: - type: integer - - in: query - name: sitegroup - schema: - type: integer - - in: query - name: slug + name: tag__n schema: type: array items: @@ -75520,27 +101670,25 @@ paths: explode: true style: form - in: query - name: slug__empty - schema: - type: boolean - - in: query - name: slug__ic + name: tenant schema: type: array items: type: string + description: Tenant (slug) explode: true style: form - in: query - name: slug__ie + name: tenant__n schema: type: array items: type: string + description: Tenant (slug) explode: true style: form - in: query - name: slug__iew + name: tenant_group schema: type: array items: @@ -75548,7 +101696,7 @@ paths: explode: true style: form - in: query - name: slug__isw + name: tenant_group__n schema: type: array items: @@ -75556,7 +101704,7 @@ paths: explode: true style: form - in: query - name: slug__n + name: tenant_group_id schema: type: array items: @@ -75564,7 +101712,7 @@ paths: explode: true style: form - in: query - name: slug__nic + name: tenant_group_id__n schema: type: array items: @@ -75572,47 +101720,27 @@ paths: explode: true style: form - in: query - name: slug__nie + name: tenant_id schema: type: array items: - type: string + type: integer + nullable: true + description: Tenant (ID) explode: true style: form - in: query - name: slug__niew + name: tenant_id__n schema: type: array items: - type: string + type: integer + nullable: true + description: Tenant (ID) explode: true style: form - in: query - name: slug__nisw - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: tag - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: tag__n - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: updated_by_request + name: updated_by_request schema: type: string format: uuid @@ -75626,21 +101754,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedVLANGroupList' + $ref: '#/components/schemas/PaginatedAggregateList' description: '' post: - operationId: ipam_vlan_groups_create - description: Post a list of VLAN group objects. + operationId: ipam_aggregates_create + description: Post a list of aggregate objects. tags: - ipam requestBody: content: application/json: schema: - $ref: '#/components/schemas/VLANGroupRequest' + $ref: '#/components/schemas/WritableAggregateRequest' multipart/form-data: schema: - $ref: '#/components/schemas/VLANGroupRequest' + $ref: '#/components/schemas/WritableAggregateRequest' required: true security: - cookieAuth: [] @@ -75650,11 +101778,11 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/VLANGroup' + $ref: '#/components/schemas/Aggregate' description: '' put: - operationId: ipam_vlan_groups_bulk_update - description: Put a list of VLAN group objects. + operationId: ipam_aggregates_bulk_update + description: Put a list of aggregate objects. tags: - ipam requestBody: @@ -75663,12 +101791,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/VLANGroupRequest' + $ref: '#/components/schemas/AggregateRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/VLANGroupRequest' + $ref: '#/components/schemas/AggregateRequest' required: true security: - cookieAuth: [] @@ -75680,11 +101808,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/VLANGroup' + $ref: '#/components/schemas/Aggregate' description: '' patch: - operationId: ipam_vlan_groups_bulk_partial_update - description: Patch a list of VLAN group objects. + operationId: ipam_aggregates_bulk_partial_update + description: Patch a list of aggregate objects. tags: - ipam requestBody: @@ -75693,12 +101821,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/VLANGroupRequest' + $ref: '#/components/schemas/AggregateRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/VLANGroupRequest' + $ref: '#/components/schemas/AggregateRequest' required: true security: - cookieAuth: [] @@ -75710,11 +101838,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/VLANGroup' + $ref: '#/components/schemas/Aggregate' description: '' delete: - operationId: ipam_vlan_groups_bulk_destroy - description: Delete a list of VLAN group objects. + operationId: ipam_aggregates_bulk_destroy + description: Delete a list of aggregate objects. tags: - ipam requestBody: @@ -75723,12 +101851,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/VLANGroupRequest' + $ref: '#/components/schemas/AggregateRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/VLANGroupRequest' + $ref: '#/components/schemas/AggregateRequest' required: true security: - cookieAuth: [] @@ -75736,16 +101864,16 @@ paths: responses: '204': description: No response body - /api/ipam/vlan-groups/{id}/: + /api/ipam/aggregates/{id}/: get: - operationId: ipam_vlan_groups_retrieve - description: Get a VLAN group object. + operationId: ipam_aggregates_retrieve + description: Get a aggregate object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this VLAN group. + description: A unique integer value identifying this aggregate. required: true tags: - ipam @@ -75757,17 +101885,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/VLANGroup' + $ref: '#/components/schemas/Aggregate' description: '' put: - operationId: ipam_vlan_groups_update - description: Put a VLAN group object. + operationId: ipam_aggregates_update + description: Put a aggregate object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this VLAN group. + description: A unique integer value identifying this aggregate. required: true tags: - ipam @@ -75775,10 +101903,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/VLANGroupRequest' + $ref: '#/components/schemas/WritableAggregateRequest' multipart/form-data: schema: - $ref: '#/components/schemas/VLANGroupRequest' + $ref: '#/components/schemas/WritableAggregateRequest' required: true security: - cookieAuth: [] @@ -75788,17 +101916,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/VLANGroup' + $ref: '#/components/schemas/Aggregate' description: '' patch: - operationId: ipam_vlan_groups_partial_update - description: Patch a VLAN group object. + operationId: ipam_aggregates_partial_update + description: Patch a aggregate object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this VLAN group. + description: A unique integer value identifying this aggregate. required: true tags: - ipam @@ -75806,10 +101934,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PatchedVLANGroupRequest' + $ref: '#/components/schemas/PatchedWritableAggregateRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedVLANGroupRequest' + $ref: '#/components/schemas/PatchedWritableAggregateRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -75818,17 +101946,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/VLANGroup' + $ref: '#/components/schemas/Aggregate' description: '' delete: - operationId: ipam_vlan_groups_destroy - description: Delete a VLAN group object. + operationId: ipam_aggregates_destroy + description: Delete a aggregate object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this VLAN group. + description: A unique integer value identifying this aggregate. required: true tags: - ipam @@ -75838,83 +101966,11 @@ paths: responses: '204': description: No response body - /api/ipam/vlan-groups/{id}/available-vlans/: - get: - operationId: ipam_vlan_groups_available_vlans_list - description: Get a VLAN object. - parameters: - - in: path - name: id - schema: - type: integer - required: true - tags: - - ipam - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/AvailableVLAN' - description: '' - post: - operationId: ipam_vlan_groups_available_vlans_create - description: Post a VLAN object. - parameters: - - in: path - name: id - schema: - type: integer - required: true - tags: - - ipam - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/VLANRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/VLANRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '201': - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/VLAN' - description: '' - /api/ipam/vlans/: + /api/ipam/asn-ranges/: get: - operationId: ipam_vlans_list - description: Get a list of VLAN objects. + operationId: ipam_asn_ranges_list + description: Get a list of ASN range objects. parameters: - - in: query - name: available_at_site - schema: - type: string - - in: query - name: available_on_device - schema: - type: string - - in: query - name: available_on_virtualmachine - schema: - type: string - in: query name: created schema: @@ -76068,45 +102124,38 @@ paths: explode: true style: form - in: query - name: group + name: end schema: type: array items: - type: string - description: Group + type: integer + format: int32 explode: true style: form - in: query - name: group__n + name: end__empty schema: - type: array - items: - type: string - description: Group - explode: true - style: form + type: boolean - in: query - name: group_id + name: end__gt schema: type: array items: type: integer - nullable: true - description: Group (ID) + format: int32 explode: true style: form - in: query - name: group_id__n + name: end__gte schema: type: array items: type: integer - nullable: true - description: Group (ID) + format: int32 explode: true style: form - in: query - name: id + name: end__lt schema: type: array items: @@ -76115,11 +102164,7 @@ paths: explode: true style: form - in: query - name: id__empty - schema: - type: boolean - - in: query - name: id__gt + name: end__lte schema: type: array items: @@ -76128,7 +102173,7 @@ paths: explode: true style: form - in: query - name: id__gte + name: end__n schema: type: array items: @@ -76137,7 +102182,7 @@ paths: explode: true style: form - in: query - name: id__lt + name: id schema: type: array items: @@ -76146,16 +102191,11 @@ paths: explode: true style: form - in: query - name: id__lte + name: id__empty schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form + type: boolean - in: query - name: id__n + name: id__gt schema: type: array items: @@ -76164,47 +102204,39 @@ paths: explode: true style: form - in: query - name: l2vpn + name: id__gte schema: type: array items: type: integer - maximum: 9223372036854775807 - minimum: -9223372036854775808 - format: int64 - nullable: true - description: L2VPN + format: int32 explode: true style: form - in: query - name: l2vpn__n + name: id__lt schema: type: array items: type: integer - maximum: 9223372036854775807 - minimum: -9223372036854775808 - format: int64 - nullable: true - description: L2VPN + format: int32 explode: true style: form - in: query - name: l2vpn_id + name: id__lte schema: type: array items: type: integer - description: L2VPN (ID) + format: int32 explode: true style: form - in: query - name: l2vpn_id__n + name: id__n schema: type: array items: type: integer - description: L2VPN (ID) + format: int32 explode: true style: form - in: query @@ -76383,171 +102415,181 @@ paths: type: string description: Search - in: query - name: region + name: rir schema: type: array items: - type: integer - description: Region (slug) + type: string + description: RIR (slug) explode: true style: form - in: query - name: region__n + name: rir__n schema: type: array items: - type: integer - description: Region (slug) + type: string + description: RIR (slug) explode: true style: form - in: query - name: region_id + name: rir_id schema: type: array items: type: integer - description: Region (ID) + description: RIR (ID) explode: true style: form - in: query - name: region_id__n + name: rir_id__n schema: type: array items: type: integer - description: Region (ID) + description: RIR (ID) explode: true style: form - in: query - name: role + name: slug schema: type: array items: type: string - description: Role (slug) explode: true style: form - in: query - name: role__n + name: slug__empty + schema: + type: boolean + - in: query + name: slug__ic schema: type: array items: type: string - description: Role (slug) explode: true style: form - in: query - name: role_id + name: slug__ie schema: type: array items: - type: integer - nullable: true - description: Role (ID) + type: string explode: true style: form - in: query - name: role_id__n + name: slug__iew schema: type: array items: - type: integer - nullable: true - description: Role (ID) + type: string explode: true style: form - in: query - name: site + name: slug__isw schema: type: array items: type: string - description: Site (slug) explode: true style: form - in: query - name: site__n + name: slug__n schema: type: array items: type: string - description: Site (slug) explode: true style: form - in: query - name: site_group + name: slug__nic schema: type: array items: - type: integer - description: Site group (slug) + type: string explode: true style: form - in: query - name: site_group__n + name: slug__nie schema: type: array items: - type: integer - description: Site group (slug) + type: string explode: true style: form - in: query - name: site_group_id + name: slug__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: start schema: type: array items: type: integer - description: Site group (ID) + format: int32 explode: true style: form - in: query - name: site_group_id__n + name: start__empty + schema: + type: boolean + - in: query + name: start__gt schema: type: array items: type: integer - description: Site group (ID) + format: int32 explode: true style: form - in: query - name: site_id + name: start__gte schema: type: array items: type: integer - nullable: true - description: Site (ID) + format: int32 explode: true style: form - in: query - name: site_id__n + name: start__lt schema: type: array items: type: integer - nullable: true - description: Site (ID) + format: int32 explode: true style: form - in: query - name: status + name: start__lte schema: type: array items: - type: string - x-spec-enum-id: 6388dfb94ca1cc15 - description: Operational status of this VLAN + type: integer + format: int32 explode: true style: form - in: query - name: status__n + name: start__n schema: type: array items: - type: string - x-spec-enum-id: 6388dfb94ca1cc15 - description: Operational status of this VLAN + type: integer + format: int32 explode: true style: form - in: query @@ -76589,8 +102631,7 @@ paths: schema: type: array items: - type: integer - description: Tenant Group (slug) + type: string explode: true style: form - in: query @@ -76598,8 +102639,7 @@ paths: schema: type: array items: - type: integer - description: Tenant Group (slug) + type: string explode: true style: form - in: query @@ -76607,8 +102647,7 @@ paths: schema: type: array items: - type: integer - description: Tenant Group (ID) + type: string explode: true style: form - in: query @@ -76616,8 +102655,7 @@ paths: schema: type: array items: - type: integer - description: Tenant Group (ID) + type: string explode: true style: form - in: query @@ -76645,64 +102683,6 @@ paths: schema: type: string format: uuid - - in: query - name: vid - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: vid__empty - schema: - type: boolean - - in: query - name: vid__gt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: vid__gte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: vid__lt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: vid__lte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: vid__n - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form tags: - ipam security: @@ -76713,21 +102693,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedVLANList' + $ref: '#/components/schemas/PaginatedASNRangeList' description: '' post: - operationId: ipam_vlans_create - description: Post a list of VLAN objects. + operationId: ipam_asn_ranges_create + description: Post a list of ASN range objects. tags: - ipam requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableVLANRequest' + $ref: '#/components/schemas/ASNRangeRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableVLANRequest' + $ref: '#/components/schemas/ASNRangeRequest' required: true security: - cookieAuth: [] @@ -76737,11 +102717,11 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/VLAN' + $ref: '#/components/schemas/ASNRange' description: '' put: - operationId: ipam_vlans_bulk_update - description: Put a list of VLAN objects. + operationId: ipam_asn_ranges_bulk_update + description: Put a list of ASN range objects. tags: - ipam requestBody: @@ -76750,12 +102730,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/VLANRequest' + $ref: '#/components/schemas/ASNRangeRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/VLANRequest' + $ref: '#/components/schemas/ASNRangeRequest' required: true security: - cookieAuth: [] @@ -76767,11 +102747,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/VLAN' + $ref: '#/components/schemas/ASNRange' description: '' patch: - operationId: ipam_vlans_bulk_partial_update - description: Patch a list of VLAN objects. + operationId: ipam_asn_ranges_bulk_partial_update + description: Patch a list of ASN range objects. tags: - ipam requestBody: @@ -76780,12 +102760,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/VLANRequest' + $ref: '#/components/schemas/ASNRangeRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/VLANRequest' + $ref: '#/components/schemas/ASNRangeRequest' required: true security: - cookieAuth: [] @@ -76797,11 +102777,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/VLAN' + $ref: '#/components/schemas/ASNRange' description: '' delete: - operationId: ipam_vlans_bulk_destroy - description: Delete a list of VLAN objects. + operationId: ipam_asn_ranges_bulk_destroy + description: Delete a list of ASN range objects. tags: - ipam requestBody: @@ -76810,12 +102790,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/VLANRequest' + $ref: '#/components/schemas/ASNRangeRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/VLANRequest' + $ref: '#/components/schemas/ASNRangeRequest' required: true security: - cookieAuth: [] @@ -76823,16 +102803,16 @@ paths: responses: '204': description: No response body - /api/ipam/vlans/{id}/: + /api/ipam/asn-ranges/{id}/: get: - operationId: ipam_vlans_retrieve - description: Get a VLAN object. + operationId: ipam_asn_ranges_retrieve + description: Get a ASN range object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this VLAN. + description: A unique integer value identifying this ASN range. required: true tags: - ipam @@ -76844,17 +102824,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/VLAN' + $ref: '#/components/schemas/ASNRange' description: '' put: - operationId: ipam_vlans_update - description: Put a VLAN object. + operationId: ipam_asn_ranges_update + description: Put a ASN range object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this VLAN. + description: A unique integer value identifying this ASN range. required: true tags: - ipam @@ -76862,10 +102842,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/WritableVLANRequest' + $ref: '#/components/schemas/ASNRangeRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableVLANRequest' + $ref: '#/components/schemas/ASNRangeRequest' required: true security: - cookieAuth: [] @@ -76875,17 +102855,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/VLAN' + $ref: '#/components/schemas/ASNRange' description: '' patch: - operationId: ipam_vlans_partial_update - description: Patch a VLAN object. + operationId: ipam_asn_ranges_partial_update + description: Patch a ASN range object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this VLAN. + description: A unique integer value identifying this ASN range. required: true tags: - ipam @@ -76893,10 +102873,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PatchedWritableVLANRequest' + $ref: '#/components/schemas/PatchedASNRangeRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedWritableVLANRequest' + $ref: '#/components/schemas/PatchedASNRangeRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -76905,17 +102885,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/VLAN' + $ref: '#/components/schemas/ASNRange' description: '' delete: - operationId: ipam_vlans_destroy - description: Delete a VLAN object. + operationId: ipam_asn_ranges_destroy + description: Delete a ASN range object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this VLAN. + description: A unique integer value identifying this ASN range. required: true tags: - ipam @@ -76925,11 +102905,129 @@ paths: responses: '204': description: No response body - /api/ipam/vrfs/: + /api/ipam/asn-ranges/{id}/available-asns/: get: - operationId: ipam_vrfs_list - description: Get a list of VRF objects. + operationId: ipam_asn_ranges_available_asns_list + description: Get a ASN object. + parameters: + - in: path + name: id + schema: + type: integer + required: true + tags: + - ipam + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/AvailableASN' + description: '' + post: + operationId: ipam_asn_ranges_available_asns_create + description: Post a ASN object. + parameters: + - in: path + name: id + schema: + type: integer + required: true + tags: + - ipam + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/ASNRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/ASNRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/ASN' + description: '' + /api/ipam/asns/: + get: + operationId: ipam_asns_list + description: Get a list of ASN objects. parameters: + - in: query + name: asn + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: asn__empty + schema: + type: boolean + - in: query + name: asn__gt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: asn__gte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: asn__lt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: asn__lte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: asn__n + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form - in: query name: created schema: @@ -77082,46 +103180,6 @@ paths: type: string explode: true style: form - - in: query - name: enforce_unique - schema: - type: boolean - - in: query - name: export_target - schema: - type: array - items: - type: string - description: Export target (name) - explode: true - style: form - - in: query - name: export_target__n - schema: - type: array - items: - type: string - description: Export target (name) - explode: true - style: form - - in: query - name: export_target_id - schema: - type: array - items: - type: integer - description: Export target - explode: true - style: form - - in: query - name: export_target_id__n - schema: - type: array - items: - type: integer - description: Export target - explode: true - style: form - in: query name: id schema: @@ -77180,42 +103238,6 @@ paths: format: int32 explode: true style: form - - in: query - name: import_target - schema: - type: array - items: - type: string - description: Import target (name) - explode: true - style: form - - in: query - name: import_target__n - schema: - type: array - items: - type: string - description: Import target (name) - explode: true - style: form - - in: query - name: import_target_id - schema: - type: array - items: - type: integer - description: Import target - explode: true - style: form - - in: query - name: import_target_id__n - schema: - type: array - items: - type: integer - description: Import target - explode: true - style: form - in: query name: last_updated schema: @@ -77290,189 +103312,129 @@ paths: schema: type: string format: uuid - - in: query - name: name - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: name__empty - schema: - type: boolean - - 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__isw + - 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 - - in: query - name: name__n + type: integer + - name: ordering + 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__nic + name: provider schema: type: array items: type: string + description: Provider (slug) explode: true style: form - in: query - name: name__nie + name: provider__n schema: type: array items: type: string + description: Provider (slug) explode: true style: form - in: query - name: name__niew + name: provider_id schema: type: array items: - type: string + type: integer + description: Provider (ID) explode: true style: form - in: query - name: name__nisw + name: provider_id__n schema: type: array items: - type: string + type: integer + description: Provider (ID) explode: true style: form - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - in: query name: q schema: type: string description: Search - in: query - name: rd - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: rd__empty - schema: - type: boolean - - in: query - name: rd__ic - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: rd__ie + name: rir schema: type: array items: type: string + description: RIR (slug) explode: true style: form - in: query - name: rd__iew + name: rir__n schema: type: array items: type: string + description: RIR (slug) explode: true style: form - in: query - name: rd__isw + name: rir_id schema: type: array items: - type: string + type: integer + description: RIR (ID) explode: true style: form - in: query - name: rd__n + name: rir_id__n schema: type: array items: - type: string + type: integer + description: RIR (ID) explode: true style: form - in: query - name: rd__nic + name: site schema: type: array items: type: string + description: Site (slug) explode: true style: form - in: query - name: rd__nie + name: site__n schema: type: array items: type: string + description: Site (slug) explode: true style: form - in: query - name: rd__niew + name: site_id schema: type: array items: - type: string + type: integer + description: Site (ID) explode: true style: form - in: query - name: rd__nisw + name: site_id__n schema: type: array items: - type: string + type: integer + description: Site (ID) explode: true style: form - in: query @@ -77514,8 +103476,7 @@ paths: schema: type: array items: - type: integer - description: Tenant Group (slug) + type: string explode: true style: form - in: query @@ -77523,8 +103484,7 @@ paths: schema: type: array items: - type: integer - description: Tenant Group (slug) + type: string explode: true style: form - in: query @@ -77532,8 +103492,7 @@ paths: schema: type: array items: - type: integer - description: Tenant Group (ID) + type: string explode: true style: form - in: query @@ -77541,8 +103500,7 @@ paths: schema: type: array items: - type: integer - description: Tenant Group (ID) + type: string explode: true style: form - in: query @@ -77580,21 +103538,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedVRFList' + $ref: '#/components/schemas/PaginatedASNList' description: '' post: - operationId: ipam_vrfs_create - description: Post a list of VRF objects. + operationId: ipam_asns_create + description: Post a list of ASN objects. tags: - ipam requestBody: content: application/json: schema: - $ref: '#/components/schemas/VRFRequest' + $ref: '#/components/schemas/ASNRequest' multipart/form-data: schema: - $ref: '#/components/schemas/VRFRequest' + $ref: '#/components/schemas/ASNRequest' required: true security: - cookieAuth: [] @@ -77604,11 +103562,11 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/VRF' + $ref: '#/components/schemas/ASN' description: '' put: - operationId: ipam_vrfs_bulk_update - description: Put a list of VRF objects. + operationId: ipam_asns_bulk_update + description: Put a list of ASN objects. tags: - ipam requestBody: @@ -77617,12 +103575,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/VRFRequest' + $ref: '#/components/schemas/ASNRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/VRFRequest' + $ref: '#/components/schemas/ASNRequest' required: true security: - cookieAuth: [] @@ -77634,11 +103592,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/VRF' + $ref: '#/components/schemas/ASN' description: '' patch: - operationId: ipam_vrfs_bulk_partial_update - description: Patch a list of VRF objects. + operationId: ipam_asns_bulk_partial_update + description: Patch a list of ASN objects. tags: - ipam requestBody: @@ -77647,12 +103605,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/VRFRequest' + $ref: '#/components/schemas/ASNRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/VRFRequest' + $ref: '#/components/schemas/ASNRequest' required: true security: - cookieAuth: [] @@ -77664,11 +103622,11 @@ paths: schema: type: array items: - $ref: '#/components/schemas/VRF' + $ref: '#/components/schemas/ASN' description: '' delete: - operationId: ipam_vrfs_bulk_destroy - description: Delete a list of VRF objects. + operationId: ipam_asns_bulk_destroy + description: Delete a list of ASN objects. tags: - ipam requestBody: @@ -77677,12 +103635,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/VRFRequest' + $ref: '#/components/schemas/ASNRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/VRFRequest' + $ref: '#/components/schemas/ASNRequest' required: true security: - cookieAuth: [] @@ -77690,16 +103648,16 @@ paths: responses: '204': description: No response body - /api/ipam/vrfs/{id}/: + /api/ipam/asns/{id}/: get: - operationId: ipam_vrfs_retrieve - description: Get a VRF object. + operationId: ipam_asns_retrieve + description: Get a ASN object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this VRF. + description: A unique integer value identifying this ASN. required: true tags: - ipam @@ -77711,17 +103669,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/VRF' + $ref: '#/components/schemas/ASN' description: '' put: - operationId: ipam_vrfs_update - description: Put a VRF object. + operationId: ipam_asns_update + description: Put a ASN object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this VRF. + description: A unique integer value identifying this ASN. required: true tags: - ipam @@ -77729,10 +103687,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/VRFRequest' + $ref: '#/components/schemas/ASNRequest' multipart/form-data: schema: - $ref: '#/components/schemas/VRFRequest' + $ref: '#/components/schemas/ASNRequest' required: true security: - cookieAuth: [] @@ -77742,17 +103700,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/VRF' + $ref: '#/components/schemas/ASN' description: '' patch: - operationId: ipam_vrfs_partial_update - description: Patch a VRF object. + operationId: ipam_asns_partial_update + description: Patch a ASN object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this VRF. + description: A unique integer value identifying this ASN. required: true tags: - ipam @@ -77760,10 +103718,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PatchedVRFRequest' + $ref: '#/components/schemas/PatchedASNRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedVRFRequest' + $ref: '#/components/schemas/PatchedASNRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -77772,17 +103730,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/VRF' + $ref: '#/components/schemas/ASN' description: '' delete: - operationId: ipam_vrfs_destroy - description: Delete a VRF object. + operationId: ipam_asns_destroy + description: Delete a ASN object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this VRF. + description: A unique integer value identifying this ASN. required: true tags: - ipam @@ -77792,106 +103750,11 @@ paths: responses: '204': description: No response body - /api/schema/: - get: - operationId: schema_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: - - de - - en - - es - - fr - - ja - - pt - - ru - - tr - - uk - - zh - tags: - - schema - 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: '' - /api/status/: - get: - operationId: status_retrieve - description: A lightweight read-only endpoint for conveying NetBox's current - operational status. - tags: - - status - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - type: object - additionalProperties: {} - description: '' - /api/tenancy/contact-assignments/: + /api/ipam/fhrp-group-assignments/: get: - operationId: tenancy_contact_assignments_list - description: Get a list of contact assignment objects. + operationId: ipam_fhrp_group_assignments_list + description: Get a list of FHRP group assignment objects. parameters: - - in: query - name: contact_id - schema: - type: array - items: - type: integer - description: Contact (ID) - explode: true - style: form - - in: query - name: contact_id__n - schema: - type: array - items: - type: integer - description: Contact (ID) - explode: true - style: form - in: query name: created schema: @@ -77961,21 +103824,20 @@ paths: type: string format: uuid - in: query - name: group + name: device schema: type: array items: - type: integer - description: Contact group (slug) + type: string explode: true style: form - in: query - name: group__n + name: device_id schema: type: array items: type: integer - description: Contact group (slug) + format: int32 explode: true style: form - in: query @@ -77984,7 +103846,7 @@ paths: type: array items: type: integer - description: Contact group (ID) + description: Group (ID) explode: true style: form - in: query @@ -77993,7 +103855,7 @@ paths: type: array items: type: integer - description: Contact group (ID) + description: Group (ID) explode: true style: form - in: query @@ -78055,153 +103917,145 @@ paths: explode: true style: form - in: query - name: last_updated + name: interface_id schema: type: array items: - type: string - format: date-time + type: integer + format: int32 explode: true style: form - in: query - name: last_updated__empty + name: interface_id__empty schema: - type: array - items: - type: string - format: date-time - explode: true - style: form + type: boolean - in: query - name: last_updated__gt + name: interface_id__gt schema: type: array items: - type: string - format: date-time + type: integer + format: int32 explode: true style: form - in: query - name: last_updated__gte + name: interface_id__gte schema: type: array items: - type: string - format: date-time + type: integer + format: int32 explode: true style: form - in: query - name: last_updated__lt + name: interface_id__lt schema: type: array items: - type: string - format: date-time + type: integer + format: int32 explode: true style: form - in: query - name: last_updated__lte + name: interface_id__lte schema: type: array items: - type: string - format: date-time + type: integer + format: int32 explode: true style: form - in: query - name: last_updated__n + name: interface_id__n schema: type: array items: - type: string - format: date-time + type: integer + format: int32 explode: true style: form - - name: limit - required: false - in: query - description: Number of results to return per page. + - in: query + name: interface_type schema: - type: integer + type: string - in: query - name: modified_by_request + name: interface_type__n schema: type: string - format: uuid - in: query - name: object_id + name: last_updated schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: object_id__empty - schema: - type: boolean - - in: query - name: object_id__gt + name: last_updated__empty schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: object_id__gte + name: last_updated__gt schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: object_id__lt + name: last_updated__gte schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: object_id__lte + name: last_updated__lt schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: object_id__n + name: last_updated__lte schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: object_type - schema: - type: string - - in: query - name: object_type__n + name: last_updated__n schema: - type: string - - in: query - name: object_type_id + 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: object_type_id__n + name: modified_by_request schema: - type: integer + type: string + format: uuid - name: offset required: false in: query @@ -78217,88 +104071,68 @@ paths: - in: query name: priority schema: - type: string - x-spec-enum-id: ef3a31644cec7524 - enum: - - inactive - - primary - - secondary - - tertiary - description: '* `primary` - Primary - - * `secondary` - Secondary - - * `tertiary` - Tertiary - - * `inactive` - Inactive' - - in: query - name: priority__n - schema: - type: string - x-spec-enum-id: ef3a31644cec7524 - enum: - - inactive - - primary - - secondary - - tertiary - description: '* `primary` - Primary - - * `secondary` - Secondary - - * `tertiary` - Tertiary - - * `inactive` - Inactive' + type: array + items: + type: integer + format: int32 + explode: true + style: form - in: query - name: q + name: priority__empty schema: - type: string - description: Search + type: boolean - in: query - name: role + name: priority__gt schema: type: array items: - type: string - description: Contact role (slug) + type: integer + format: int32 explode: true style: form - in: query - name: role__n + name: priority__gte schema: type: array items: - type: string - description: Contact role (slug) + type: integer + format: int32 explode: true style: form - in: query - name: role_id + name: priority__lt schema: type: array items: type: integer - description: Contact role (ID) + format: int32 explode: true style: form - in: query - name: role_id__n + name: priority__lte schema: type: array items: type: integer - description: Contact role (ID) + format: int32 explode: true style: form - in: query - name: tag + name: priority__n schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: tag__n + name: updated_by_request + schema: + type: string + format: uuid + - in: query + name: virtual_machine schema: type: array items: @@ -78306,12 +104140,16 @@ paths: explode: true style: form - in: query - name: updated_by_request + name: virtual_machine_id schema: - type: string - format: uuid + type: array + items: + type: integer + format: int32 + explode: true + style: form tags: - - tenancy + - ipam security: - cookieAuth: [] - tokenAuth: [] @@ -78320,21 +104158,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedContactAssignmentList' + $ref: '#/components/schemas/PaginatedFHRPGroupAssignmentList' description: '' post: - operationId: tenancy_contact_assignments_create - description: Post a list of contact assignment objects. + operationId: ipam_fhrp_group_assignments_create + description: Post a list of FHRP group assignment objects. tags: - - tenancy + - ipam requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableContactAssignmentRequest' + $ref: '#/components/schemas/FHRPGroupAssignmentRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableContactAssignmentRequest' + $ref: '#/components/schemas/FHRPGroupAssignmentRequest' required: true security: - cookieAuth: [] @@ -78344,25 +104182,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ContactAssignment' + $ref: '#/components/schemas/FHRPGroupAssignment' description: '' put: - operationId: tenancy_contact_assignments_bulk_update - description: Put a list of contact assignment objects. + operationId: ipam_fhrp_group_assignments_bulk_update + description: Put a list of FHRP group assignment objects. tags: - - tenancy + - ipam requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/ContactAssignmentRequest' + $ref: '#/components/schemas/FHRPGroupAssignmentRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ContactAssignmentRequest' + $ref: '#/components/schemas/FHRPGroupAssignmentRequest' required: true security: - cookieAuth: [] @@ -78374,25 +104212,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ContactAssignment' + $ref: '#/components/schemas/FHRPGroupAssignment' description: '' patch: - operationId: tenancy_contact_assignments_bulk_partial_update - description: Patch a list of contact assignment objects. + operationId: ipam_fhrp_group_assignments_bulk_partial_update + description: Patch a list of FHRP group assignment objects. tags: - - tenancy + - ipam requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/ContactAssignmentRequest' + $ref: '#/components/schemas/FHRPGroupAssignmentRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ContactAssignmentRequest' + $ref: '#/components/schemas/FHRPGroupAssignmentRequest' required: true security: - cookieAuth: [] @@ -78404,25 +104242,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ContactAssignment' + $ref: '#/components/schemas/FHRPGroupAssignment' description: '' delete: - operationId: tenancy_contact_assignments_bulk_destroy - description: Delete a list of contact assignment objects. + operationId: ipam_fhrp_group_assignments_bulk_destroy + description: Delete a list of FHRP group assignment objects. tags: - - tenancy + - ipam requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/ContactAssignmentRequest' + $ref: '#/components/schemas/FHRPGroupAssignmentRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ContactAssignmentRequest' + $ref: '#/components/schemas/FHRPGroupAssignmentRequest' required: true security: - cookieAuth: [] @@ -78430,19 +104268,19 @@ paths: responses: '204': description: No response body - /api/tenancy/contact-assignments/{id}/: + /api/ipam/fhrp-group-assignments/{id}/: get: - operationId: tenancy_contact_assignments_retrieve - description: Get a contact assignment object. + operationId: ipam_fhrp_group_assignments_retrieve + description: Get a FHRP group assignment object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this contact assignment. + description: A unique integer value identifying this FHRP group assignment. required: true tags: - - tenancy + - ipam security: - cookieAuth: [] - tokenAuth: [] @@ -78451,28 +104289,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ContactAssignment' + $ref: '#/components/schemas/FHRPGroupAssignment' description: '' put: - operationId: tenancy_contact_assignments_update - description: Put a contact assignment object. + operationId: ipam_fhrp_group_assignments_update + description: Put a FHRP group assignment object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this contact assignment. + description: A unique integer value identifying this FHRP group assignment. required: true tags: - - tenancy + - ipam requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableContactAssignmentRequest' + $ref: '#/components/schemas/FHRPGroupAssignmentRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableContactAssignmentRequest' + $ref: '#/components/schemas/FHRPGroupAssignmentRequest' required: true security: - cookieAuth: [] @@ -78482,28 +104320,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ContactAssignment' + $ref: '#/components/schemas/FHRPGroupAssignment' description: '' patch: - operationId: tenancy_contact_assignments_partial_update - description: Patch a contact assignment object. + operationId: ipam_fhrp_group_assignments_partial_update + description: Patch a FHRP group assignment object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this contact assignment. + description: A unique integer value identifying this FHRP group assignment. required: true tags: - - tenancy + - ipam requestBody: content: application/json: schema: - $ref: '#/components/schemas/PatchedWritableContactAssignmentRequest' + $ref: '#/components/schemas/PatchedFHRPGroupAssignmentRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedWritableContactAssignmentRequest' + $ref: '#/components/schemas/PatchedFHRPGroupAssignmentRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -78512,279 +104350,284 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ContactAssignment' + $ref: '#/components/schemas/FHRPGroupAssignment' description: '' delete: - operationId: tenancy_contact_assignments_destroy - description: Delete a contact assignment object. + operationId: ipam_fhrp_group_assignments_destroy + description: Delete a FHRP group assignment object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this contact assignment. + description: A unique integer value identifying this FHRP group assignment. required: true tags: - - tenancy + - ipam security: - cookieAuth: [] - tokenAuth: [] responses: '204': description: No response body - /api/tenancy/contact-groups/: + /api/ipam/fhrp-groups/: get: - operationId: tenancy_contact_groups_list - description: Get a list of contact group objects. + operationId: ipam_fhrp_groups_list + description: Get a list of FHRP group objects. parameters: - in: query - name: ancestor + name: auth_key schema: type: array items: - type: integer - description: Contact group (slug) + type: string explode: true style: form - in: query - name: ancestor__n + name: auth_key__empty + schema: + type: boolean + - in: query + name: auth_key__ic schema: type: array items: - type: integer - description: Contact group (slug) + type: string explode: true style: form - in: query - name: ancestor_id + name: auth_key__ie schema: type: array items: - type: integer - description: Contact group (ID) + type: string explode: true style: form - in: query - name: ancestor_id__n + name: auth_key__iew schema: type: array items: - type: integer - description: Contact group (ID) + type: string explode: true style: form - in: query - name: created + name: auth_key__isw schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__empty + name: auth_key__n schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__gt + name: auth_key__nic schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__gte + name: auth_key__nie schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__lt - schema: - type: array - items: - type: string - format: date-time - explode: true - style: form - - in: query - name: created__lte + name: auth_key__niew schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__n + name: auth_key__nisw schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created_by_request - schema: - type: string - format: uuid - - in: query - name: description + name: auth_type schema: type: array items: type: string + x-spec-enum-id: 12b9faea3a45bf37 + title: Authentication type explode: true style: form - in: query - name: description__empty + name: auth_type__empty schema: type: boolean - in: query - name: description__ic + name: auth_type__ic schema: type: array items: type: string + x-spec-enum-id: 12b9faea3a45bf37 + title: Authentication type + enum: + - '' + - md5 + - plaintext + description: '* `plaintext` - Plaintext + + * `md5` - MD5' explode: true style: form - in: query - name: description__ie + name: auth_type__ie schema: type: array items: type: string + x-spec-enum-id: 12b9faea3a45bf37 + title: Authentication type + enum: + - '' + - md5 + - plaintext + description: '* `plaintext` - Plaintext + + * `md5` - MD5' explode: true style: form - in: query - name: description__iew + name: auth_type__iew schema: type: array items: type: string + x-spec-enum-id: 12b9faea3a45bf37 + title: Authentication type + enum: + - '' + - md5 + - plaintext + description: '* `plaintext` - Plaintext + + * `md5` - MD5' explode: true style: form - in: query - name: description__isw + name: auth_type__isw schema: type: array items: type: string + x-spec-enum-id: 12b9faea3a45bf37 + title: Authentication type + enum: + - '' + - md5 + - plaintext + description: '* `plaintext` - Plaintext + + * `md5` - MD5' explode: true style: form - in: query - name: description__n + name: auth_type__n schema: type: array items: type: string + x-spec-enum-id: 12b9faea3a45bf37 + title: Authentication type + enum: + - '' + - md5 + - plaintext + description: '* `plaintext` - Plaintext + + * `md5` - MD5' explode: true style: form - in: query - name: description__nic + name: auth_type__nic schema: type: array items: type: string + x-spec-enum-id: 12b9faea3a45bf37 + title: Authentication type + enum: + - '' + - md5 + - plaintext + description: '* `plaintext` - Plaintext + + * `md5` - MD5' explode: true style: form - in: query - name: description__nie + name: auth_type__nie schema: type: array items: type: string + x-spec-enum-id: 12b9faea3a45bf37 + title: Authentication type + enum: + - '' + - md5 + - plaintext + description: '* `plaintext` - Plaintext + + * `md5` - MD5' explode: true style: form - in: query - name: description__niew + name: auth_type__niew schema: type: array items: type: string + x-spec-enum-id: 12b9faea3a45bf37 + title: Authentication type + enum: + - '' + - md5 + - plaintext + description: '* `plaintext` - Plaintext + + * `md5` - MD5' explode: true style: form - in: query - name: description__nisw + name: auth_type__nisw schema: type: array items: type: string + x-spec-enum-id: 12b9faea3a45bf37 + title: Authentication type + enum: + - '' + - md5 + - plaintext + description: '* `plaintext` - Plaintext + + * `md5` - MD5' explode: true style: form - in: query - name: id - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: id__empty - schema: - type: boolean - - in: query - name: id__gt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: id__gte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: id__lt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: id__lte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: id__n - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: last_updated + name: created schema: type: array items: @@ -78793,7 +104636,7 @@ paths: explode: true style: form - in: query - name: last_updated__empty + name: created__empty schema: type: array items: @@ -78802,7 +104645,7 @@ paths: explode: true style: form - in: query - name: last_updated__gt + name: created__gt schema: type: array items: @@ -78811,7 +104654,7 @@ paths: explode: true style: form - in: query - name: last_updated__gte + name: created__gte schema: type: array items: @@ -78820,7 +104663,7 @@ paths: explode: true style: form - in: query - name: last_updated__lt + name: created__lt schema: type: array items: @@ -78829,7 +104672,7 @@ paths: explode: true style: form - in: query - name: last_updated__lte + name: created__lte schema: type: array items: @@ -78838,7 +104681,7 @@ paths: explode: true style: form - in: query - name: last_updated__n + name: created__n schema: type: array items: @@ -78846,19 +104689,13 @@ 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: modified_by_request + name: created_by_request schema: type: string format: uuid - in: query - name: name + name: description schema: type: array items: @@ -78866,27 +104703,11 @@ paths: explode: true style: form - in: query - name: name__empty + name: description__empty schema: type: boolean - 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 + name: description__ic schema: type: array items: @@ -78894,7 +104715,7 @@ paths: explode: true style: form - in: query - name: name__isw + name: description__ie schema: type: array items: @@ -78902,7 +104723,7 @@ paths: explode: true style: form - in: query - name: name__n + name: description__iew schema: type: array items: @@ -78910,7 +104731,7 @@ paths: explode: true style: form - in: query - name: name__nic + name: description__isw schema: type: array items: @@ -78918,7 +104739,7 @@ paths: explode: true style: form - in: query - name: name__nie + name: description__n schema: type: array items: @@ -78926,7 +104747,7 @@ paths: explode: true style: form - in: query - name: name__niew + name: description__nic schema: type: array items: @@ -78934,550 +104755,85 @@ paths: explode: true style: form - in: query - name: name__nisw + name: description__nie 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 - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - in: query - name: parent + name: description__niew schema: type: array items: type: string - description: Parent contact group (slug) explode: true style: form - in: query - name: parent__n + name: description__nisw schema: type: array items: type: string - description: Parent contact group (slug) - explode: true - style: form - - in: query - name: parent_id - schema: - type: array - items: - type: integer - nullable: true - description: Parent contact group (ID) explode: true style: form - in: query - name: parent_id__n + name: group_id schema: type: array items: type: integer - nullable: true - description: Parent contact group (ID) - explode: true - style: form - - in: query - name: q - schema: - type: string - description: Search - - in: query - name: slug - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__empty - schema: - type: boolean - - in: query - name: slug__ic - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__ie - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__iew - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__isw - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__n - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__nic - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__nie - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__niew - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__nisw - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: tag - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: tag__n - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: updated_by_request - schema: - type: string - format: uuid - tags: - - tenancy - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/PaginatedContactGroupList' - description: '' - post: - operationId: tenancy_contact_groups_create - description: Post a list of contact group objects. - tags: - - tenancy - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/WritableContactGroupRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/WritableContactGroupRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '201': - content: - application/json: - schema: - $ref: '#/components/schemas/ContactGroup' - description: '' - put: - operationId: tenancy_contact_groups_bulk_update - description: Put a list of contact group objects. - tags: - - tenancy - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ContactGroupRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/ContactGroupRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ContactGroup' - description: '' - patch: - operationId: tenancy_contact_groups_bulk_partial_update - description: Patch a list of contact group objects. - tags: - - tenancy - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ContactGroupRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/ContactGroupRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ContactGroup' - description: '' - delete: - operationId: tenancy_contact_groups_bulk_destroy - description: Delete a list of contact group objects. - tags: - - tenancy - requestBody: - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ContactGroupRequest' - multipart/form-data: - schema: - type: array - items: - $ref: '#/components/schemas/ContactGroupRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '204': - description: No response body - /api/tenancy/contact-groups/{id}/: - get: - operationId: tenancy_contact_groups_retrieve - description: Get a contact group object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this contact group. - required: true - tags: - - tenancy - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/ContactGroup' - description: '' - put: - operationId: tenancy_contact_groups_update - description: Put a contact group object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this contact group. - required: true - tags: - - tenancy - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/WritableContactGroupRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/WritableContactGroupRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/ContactGroup' - description: '' - patch: - operationId: tenancy_contact_groups_partial_update - description: Patch a contact group object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this contact group. - required: true - tags: - - tenancy - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/PatchedWritableContactGroupRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/PatchedWritableContactGroupRequest' - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/ContactGroup' - description: '' - delete: - operationId: tenancy_contact_groups_destroy - description: Delete a contact group object. - parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this contact group. - required: true - tags: - - tenancy - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '204': - description: No response body - /api/tenancy/contact-roles/: - get: - operationId: tenancy_contact_roles_list - description: Get a list of contact role objects. - parameters: - - in: query - name: created - schema: - type: array - items: - type: string - format: date-time - explode: true - style: form - - in: query - name: created__empty - 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__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: created_by_request - schema: - type: string - format: uuid - - in: query - name: description - schema: - type: array - items: - type: string + format: int32 explode: true style: form - in: query - name: description__empty + name: group_id__empty schema: type: boolean - 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__isw - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: description__n + name: group_id__gt schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: description__nic + name: group_id__gte schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: description__nie + name: group_id__lt schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: description__niew + name: group_id__lte schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: description__nisw + name: group_id__n schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query @@ -79709,88 +105065,295 @@ paths: schema: type: string - in: query - name: q - schema: - type: string - description: Search - - in: query - name: slug + name: protocol schema: type: array items: type: string + x-spec-enum-id: 40dc831c689b4b78 explode: true style: form - in: query - name: slug__empty + name: protocol__empty schema: type: boolean - in: query - name: slug__ic + name: protocol__ic schema: type: array items: type: string + x-spec-enum-id: 40dc831c689b4b78 + enum: + - carp + - clusterxl + - glbp + - hsrp + - other + - vrrp2 + - vrrp3 + description: '* `vrrp2` - VRRPv2 + + * `vrrp3` - VRRPv3 + + * `carp` - CARP + + * `clusterxl` - ClusterXL + + * `hsrp` - HSRP + + * `glbp` - GLBP + + * `other` - Other' explode: true style: form - in: query - name: slug__ie + name: protocol__ie schema: type: array items: type: string + x-spec-enum-id: 40dc831c689b4b78 + enum: + - carp + - clusterxl + - glbp + - hsrp + - other + - vrrp2 + - vrrp3 + description: '* `vrrp2` - VRRPv2 + + * `vrrp3` - VRRPv3 + + * `carp` - CARP + + * `clusterxl` - ClusterXL + + * `hsrp` - HSRP + + * `glbp` - GLBP + + * `other` - Other' explode: true style: form - in: query - name: slug__iew + name: protocol__iew schema: type: array items: type: string + x-spec-enum-id: 40dc831c689b4b78 + enum: + - carp + - clusterxl + - glbp + - hsrp + - other + - vrrp2 + - vrrp3 + description: '* `vrrp2` - VRRPv2 + + * `vrrp3` - VRRPv3 + + * `carp` - CARP + + * `clusterxl` - ClusterXL + + * `hsrp` - HSRP + + * `glbp` - GLBP + + * `other` - Other' explode: true style: form - in: query - name: slug__isw + name: protocol__isw schema: type: array items: type: string + x-spec-enum-id: 40dc831c689b4b78 + enum: + - carp + - clusterxl + - glbp + - hsrp + - other + - vrrp2 + - vrrp3 + description: '* `vrrp2` - VRRPv2 + + * `vrrp3` - VRRPv3 + + * `carp` - CARP + + * `clusterxl` - ClusterXL + + * `hsrp` - HSRP + + * `glbp` - GLBP + + * `other` - Other' explode: true style: form - in: query - name: slug__n + name: protocol__n schema: type: array items: type: string + x-spec-enum-id: 40dc831c689b4b78 + enum: + - carp + - clusterxl + - glbp + - hsrp + - other + - vrrp2 + - vrrp3 + description: '* `vrrp2` - VRRPv2 + + * `vrrp3` - VRRPv3 + + * `carp` - CARP + + * `clusterxl` - ClusterXL + + * `hsrp` - HSRP + + * `glbp` - GLBP + + * `other` - Other' explode: true style: form - in: query - name: slug__nic + name: protocol__nic schema: type: array items: type: string + x-spec-enum-id: 40dc831c689b4b78 + enum: + - carp + - clusterxl + - glbp + - hsrp + - other + - vrrp2 + - vrrp3 + description: '* `vrrp2` - VRRPv2 + + * `vrrp3` - VRRPv3 + + * `carp` - CARP + + * `clusterxl` - ClusterXL + + * `hsrp` - HSRP + + * `glbp` - GLBP + + * `other` - Other' explode: true style: form - in: query - name: slug__nie + name: protocol__nie schema: type: array items: type: string + x-spec-enum-id: 40dc831c689b4b78 + enum: + - carp + - clusterxl + - glbp + - hsrp + - other + - vrrp2 + - vrrp3 + description: '* `vrrp2` - VRRPv2 + + * `vrrp3` - VRRPv3 + + * `carp` - CARP + + * `clusterxl` - ClusterXL + + * `hsrp` - HSRP + + * `glbp` - GLBP + + * `other` - Other' explode: true style: form - in: query - name: slug__niew + name: protocol__niew schema: type: array items: type: string + x-spec-enum-id: 40dc831c689b4b78 + enum: + - carp + - clusterxl + - glbp + - hsrp + - other + - vrrp2 + - vrrp3 + description: '* `vrrp2` - VRRPv2 + + * `vrrp3` - VRRPv3 + + * `carp` - CARP + + * `clusterxl` - ClusterXL + + * `hsrp` - HSRP + + * `glbp` - GLBP + + * `other` - Other' explode: true style: form - in: query - name: slug__nisw + name: protocol__nisw + schema: + type: array + items: + type: string + x-spec-enum-id: 40dc831c689b4b78 + enum: + - carp + - clusterxl + - glbp + - hsrp + - other + - vrrp2 + - vrrp3 + description: '* `vrrp2` - VRRPv2 + + * `vrrp3` - VRRPv3 + + * `carp` - CARP + + * `clusterxl` - ClusterXL + + * `hsrp` - HSRP + + * `glbp` - GLBP + + * `other` - Other' + explode: true + style: form + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: related_ip schema: type: array items: @@ -79819,7 +105382,7 @@ paths: type: string format: uuid tags: - - tenancy + - ipam security: - cookieAuth: [] - tokenAuth: [] @@ -79828,21 +105391,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedContactRoleList' + $ref: '#/components/schemas/PaginatedFHRPGroupList' description: '' post: - operationId: tenancy_contact_roles_create - description: Post a list of contact role objects. + operationId: ipam_fhrp_groups_create + description: Post a list of FHRP group objects. tags: - - tenancy + - ipam requestBody: content: application/json: schema: - $ref: '#/components/schemas/ContactRoleRequest' + $ref: '#/components/schemas/FHRPGroupRequest' multipart/form-data: schema: - $ref: '#/components/schemas/ContactRoleRequest' + $ref: '#/components/schemas/FHRPGroupRequest' required: true security: - cookieAuth: [] @@ -79852,25 +105415,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ContactRole' + $ref: '#/components/schemas/FHRPGroup' description: '' put: - operationId: tenancy_contact_roles_bulk_update - description: Put a list of contact role objects. + operationId: ipam_fhrp_groups_bulk_update + description: Put a list of FHRP group objects. tags: - - tenancy + - ipam requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/ContactRoleRequest' + $ref: '#/components/schemas/FHRPGroupRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ContactRoleRequest' + $ref: '#/components/schemas/FHRPGroupRequest' required: true security: - cookieAuth: [] @@ -79882,25 +105445,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ContactRole' + $ref: '#/components/schemas/FHRPGroup' description: '' patch: - operationId: tenancy_contact_roles_bulk_partial_update - description: Patch a list of contact role objects. + operationId: ipam_fhrp_groups_bulk_partial_update + description: Patch a list of FHRP group objects. tags: - - tenancy + - ipam requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/ContactRoleRequest' + $ref: '#/components/schemas/FHRPGroupRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ContactRoleRequest' + $ref: '#/components/schemas/FHRPGroupRequest' required: true security: - cookieAuth: [] @@ -79912,25 +105475,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ContactRole' + $ref: '#/components/schemas/FHRPGroup' description: '' delete: - operationId: tenancy_contact_roles_bulk_destroy - description: Delete a list of contact role objects. + operationId: ipam_fhrp_groups_bulk_destroy + description: Delete a list of FHRP group objects. tags: - - tenancy + - ipam requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/ContactRoleRequest' + $ref: '#/components/schemas/FHRPGroupRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ContactRoleRequest' + $ref: '#/components/schemas/FHRPGroupRequest' required: true security: - cookieAuth: [] @@ -79938,19 +105501,19 @@ paths: responses: '204': description: No response body - /api/tenancy/contact-roles/{id}/: + /api/ipam/fhrp-groups/{id}/: get: - operationId: tenancy_contact_roles_retrieve - description: Get a contact role object. + operationId: ipam_fhrp_groups_retrieve + description: Get a FHRP group object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this contact role. + description: A unique integer value identifying this FHRP group. required: true tags: - - tenancy + - ipam security: - cookieAuth: [] - tokenAuth: [] @@ -79959,28 +105522,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ContactRole' + $ref: '#/components/schemas/FHRPGroup' description: '' put: - operationId: tenancy_contact_roles_update - description: Put a contact role object. + operationId: ipam_fhrp_groups_update + description: Put a FHRP group object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this contact role. + description: A unique integer value identifying this FHRP group. required: true tags: - - tenancy + - ipam requestBody: content: application/json: schema: - $ref: '#/components/schemas/ContactRoleRequest' + $ref: '#/components/schemas/FHRPGroupRequest' multipart/form-data: schema: - $ref: '#/components/schemas/ContactRoleRequest' + $ref: '#/components/schemas/FHRPGroupRequest' required: true security: - cookieAuth: [] @@ -79990,28 +105553,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ContactRole' + $ref: '#/components/schemas/FHRPGroup' description: '' patch: - operationId: tenancy_contact_roles_partial_update - description: Patch a contact role object. + operationId: ipam_fhrp_groups_partial_update + description: Patch a FHRP group object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this contact role. + description: A unique integer value identifying this FHRP group. required: true tags: - - tenancy + - ipam requestBody: content: application/json: schema: - $ref: '#/components/schemas/PatchedContactRoleRequest' + $ref: '#/components/schemas/PatchedFHRPGroupRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedContactRoleRequest' + $ref: '#/components/schemas/PatchedFHRPGroupRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -80020,30 +105583,30 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ContactRole' + $ref: '#/components/schemas/FHRPGroup' description: '' delete: - operationId: tenancy_contact_roles_destroy - description: Delete a contact role object. + operationId: ipam_fhrp_groups_destroy + description: Delete a FHRP group object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this contact role. + description: A unique integer value identifying this FHRP group. required: true tags: - - tenancy + - ipam security: - cookieAuth: [] - tokenAuth: [] responses: '204': description: No response body - /api/tenancy/contacts/: + /api/ipam/ip-addresses/: get: - operationId: tenancy_contacts_list - description: Get a list of contact objects. + operationId: ipam_ip_addresses_list + description: Get a list of IP address objects. parameters: - in: query name: address @@ -80054,81 +105617,81 @@ paths: explode: true style: form - in: query - name: address__empty + name: assigned schema: type: boolean + description: Is assigned - in: query - name: address__ic + name: assigned_object_id schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: address__ie + name: assigned_object_id__empty schema: - type: array - items: - type: string - explode: true - style: form + type: boolean - in: query - name: address__iew + name: assigned_object_id__gt schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: address__isw + name: assigned_object_id__gte schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: address__n + name: assigned_object_id__lt schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: address__nic + name: assigned_object_id__lte schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: address__nie + name: assigned_object_id__n schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: address__niew + name: assigned_object_type schema: - type: array - items: - type: string - explode: true - style: form + type: integer - in: query - name: address__nisw + name: assigned_object_type__n schema: - type: array - items: - type: string - explode: true - style: form + type: integer + - in: query + name: assigned_to_interface + schema: + type: boolean + description: Is assigned to an interface - in: query name: created schema: @@ -80282,7 +105845,7 @@ paths: explode: true style: form - in: query - name: email + name: device schema: type: array items: @@ -80290,19 +105853,16 @@ paths: explode: true style: form - in: query - name: email__empty - schema: - type: boolean - - in: query - name: email__ic + name: device_id schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: email__ie + name: dns_name schema: type: array items: @@ -80310,7 +105870,11 @@ paths: explode: true style: form - in: query - name: email__iew + name: dns_name__empty + schema: + type: boolean + - in: query + name: dns_name__ic schema: type: array items: @@ -80318,7 +105882,7 @@ paths: explode: true style: form - in: query - name: email__isw + name: dns_name__ie schema: type: array items: @@ -80326,7 +105890,7 @@ paths: explode: true style: form - in: query - name: email__n + name: dns_name__iew schema: type: array items: @@ -80334,7 +105898,7 @@ paths: explode: true style: form - in: query - name: email__nic + name: dns_name__isw schema: type: array items: @@ -80342,7 +105906,7 @@ paths: explode: true style: form - in: query - name: email__nie + name: dns_name__n schema: type: array items: @@ -80350,7 +105914,7 @@ paths: explode: true style: form - in: query - name: email__niew + name: dns_name__nic schema: type: array items: @@ -80358,7 +105922,7 @@ paths: explode: true style: form - in: query - name: email__nisw + name: dns_name__nie schema: type: array items: @@ -80366,39 +105930,41 @@ paths: explode: true style: form - in: query - name: group + name: dns_name__niew schema: type: array items: - type: integer - description: Contact group (slug) + type: string explode: true style: form - in: query - name: group__n + name: dns_name__nisw schema: type: array items: - type: integer - description: Contact group (slug) + type: string explode: true style: form - in: query - name: group_id + name: family + schema: + type: number + - in: query + name: fhrpgroup_id schema: type: array items: type: integer - description: Contact group (ID) + description: FHRP group (ID) explode: true style: form - in: query - name: group_id__n + name: fhrpgroup_id__n schema: type: array items: type: integer - description: Contact group (ID) + description: FHRP group (ID) explode: true style: form - in: query @@ -80460,34 +106026,43 @@ paths: explode: true style: form - in: query - name: last_updated + name: interface schema: type: array items: type: string - format: date-time + description: Interface (name) explode: true style: form - in: query - name: last_updated__empty + name: interface__n schema: type: array items: type: string - format: date-time + description: Interface (name) explode: true style: form - in: query - name: last_updated__gt + name: interface_id schema: type: array items: - type: string - format: date-time + type: integer + description: Interface (ID) explode: true style: form - in: query - name: last_updated__gte + name: interface_id__n + schema: + type: array + items: + type: integer + description: Interface (ID) + explode: true + style: form + - in: query + name: last_updated schema: type: array items: @@ -80496,7 +106071,7 @@ paths: explode: true style: form - in: query - name: last_updated__lt + name: last_updated__empty schema: type: array items: @@ -80505,7 +106080,7 @@ paths: explode: true style: form - in: query - name: last_updated__lte + name: last_updated__gt schema: type: array items: @@ -80514,7 +106089,7 @@ paths: explode: true style: form - in: query - name: last_updated__n + name: last_updated__gte schema: type: array items: @@ -80522,42 +106097,93 @@ paths: format: date-time explode: true style: form - - name: limit - required: false + - 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: link + name: mask_length schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: link__empty + name: mask_length__gte schema: - type: boolean + type: number - in: query - name: link__ic + name: mask_length__lte + schema: + type: number + - in: query + name: modified_by_request + schema: + type: string + format: uuid + - in: query + name: nat_inside_id schema: type: array items: - type: string + type: integer + description: NAT inside IP address (ID) explode: true style: form - in: query - name: link__ie + name: nat_inside_id__n schema: type: array items: - type: string + type: integer + description: NAT inside IP address (ID) explode: true style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string - in: query - name: link__iew + name: parent schema: type: array items: @@ -80565,192 +106191,642 @@ paths: explode: true style: form - in: query - name: link__isw + name: present_in_vrf + schema: + type: string + - in: query + name: present_in_vrf_id + schema: + type: string + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: role schema: type: array items: type: string + x-spec-enum-id: 10fbcb4930889b0f + description: The functional role of this IP explode: true style: form - in: query - name: link__n + name: role__empty + schema: + type: boolean + - in: query + name: role__ic schema: type: array items: type: string + x-spec-enum-id: 10fbcb4930889b0f + enum: + - '' + - anycast + - carp + - glbp + - hsrp + - loopback + - secondary + - vip + - vrrp + description: 'The functional role of this IP + + + * `loopback` - Loopback + + * `secondary` - Secondary + + * `anycast` - Anycast + + * `vip` - VIP + + * `vrrp` - VRRP + + * `hsrp` - HSRP + + * `glbp` - GLBP + + * `carp` - CARP' explode: true style: form - in: query - name: link__nic + name: role__ie schema: type: array items: type: string + x-spec-enum-id: 10fbcb4930889b0f + enum: + - '' + - anycast + - carp + - glbp + - hsrp + - loopback + - secondary + - vip + - vrrp + description: 'The functional role of this IP + + + * `loopback` - Loopback + + * `secondary` - Secondary + + * `anycast` - Anycast + + * `vip` - VIP + + * `vrrp` - VRRP + + * `hsrp` - HSRP + + * `glbp` - GLBP + + * `carp` - CARP' explode: true style: form - in: query - name: link__nie + name: role__iew schema: type: array items: type: string + x-spec-enum-id: 10fbcb4930889b0f + enum: + - '' + - anycast + - carp + - glbp + - hsrp + - loopback + - secondary + - vip + - vrrp + description: 'The functional role of this IP + + + * `loopback` - Loopback + + * `secondary` - Secondary + + * `anycast` - Anycast + + * `vip` - VIP + + * `vrrp` - VRRP + + * `hsrp` - HSRP + + * `glbp` - GLBP + + * `carp` - CARP' explode: true style: form - in: query - name: link__niew + name: role__isw schema: type: array items: type: string + x-spec-enum-id: 10fbcb4930889b0f + enum: + - '' + - anycast + - carp + - glbp + - hsrp + - loopback + - secondary + - vip + - vrrp + description: 'The functional role of this IP + + + * `loopback` - Loopback + + * `secondary` - Secondary + + * `anycast` - Anycast + + * `vip` - VIP + + * `vrrp` - VRRP + + * `hsrp` - HSRP + + * `glbp` - GLBP + + * `carp` - CARP' explode: true style: form - in: query - name: link__nisw + name: role__n schema: type: array items: type: string + x-spec-enum-id: 10fbcb4930889b0f + enum: + - '' + - anycast + - carp + - glbp + - hsrp + - loopback + - secondary + - vip + - vrrp + description: 'The functional role of this IP + + + * `loopback` - Loopback + + * `secondary` - Secondary + + * `anycast` - Anycast + + * `vip` - VIP + + * `vrrp` - VRRP + + * `hsrp` - HSRP + + * `glbp` - GLBP + + * `carp` - CARP' explode: true style: form - in: query - name: modified_by_request - schema: - type: string - format: uuid - - in: query - name: name + name: role__nic schema: type: array items: type: string + x-spec-enum-id: 10fbcb4930889b0f + enum: + - '' + - anycast + - carp + - glbp + - hsrp + - loopback + - secondary + - vip + - vrrp + description: 'The functional role of this IP + + + * `loopback` - Loopback + + * `secondary` - Secondary + + * `anycast` - Anycast + + * `vip` - VIP + + * `vrrp` - VRRP + + * `hsrp` - HSRP + + * `glbp` - GLBP + + * `carp` - CARP' explode: true style: form - in: query - name: name__empty + name: role__nie schema: - type: boolean + type: array + items: + type: string + x-spec-enum-id: 10fbcb4930889b0f + enum: + - '' + - anycast + - carp + - glbp + - hsrp + - loopback + - secondary + - vip + - vrrp + description: 'The functional role of this IP + + + * `loopback` - Loopback + + * `secondary` - Secondary + + * `anycast` - Anycast + + * `vip` - VIP + + * `vrrp` - VRRP + + * `hsrp` - HSRP + + * `glbp` - GLBP + + * `carp` - CARP' + explode: true + style: form - in: query - name: name__ic + name: role__niew schema: type: array items: type: string + x-spec-enum-id: 10fbcb4930889b0f + enum: + - '' + - anycast + - carp + - glbp + - hsrp + - loopback + - secondary + - vip + - vrrp + description: 'The functional role of this IP + + + * `loopback` - Loopback + + * `secondary` - Secondary + + * `anycast` - Anycast + + * `vip` - VIP + + * `vrrp` - VRRP + + * `hsrp` - HSRP + + * `glbp` - GLBP + + * `carp` - CARP' explode: true style: form - in: query - name: name__ie + name: role__nisw schema: type: array items: type: string + x-spec-enum-id: 10fbcb4930889b0f + enum: + - '' + - anycast + - carp + - glbp + - hsrp + - loopback + - secondary + - vip + - vrrp + description: 'The functional role of this IP + + + * `loopback` - Loopback + + * `secondary` - Secondary + + * `anycast` - Anycast + + * `vip` - VIP + + * `vrrp` - VRRP + + * `hsrp` - HSRP + + * `glbp` - GLBP + + * `carp` - CARP' explode: true style: form - in: query - name: name__iew + name: service_id schema: type: array items: - type: string + type: integer + description: Service (ID) explode: true style: form - in: query - name: name__isw + name: service_id__n schema: type: array items: - type: string + type: integer + description: Service (ID) explode: true style: form - in: query - name: name__n + name: status schema: type: array items: type: string + x-spec-enum-id: 24935cfee15bd268 + description: The operational status of this IP explode: true style: form - in: query - name: name__nic + name: status__empty + schema: + type: boolean + - in: query + name: status__ic schema: type: array items: type: string + x-spec-enum-id: 24935cfee15bd268 + enum: + - active + - deprecated + - dhcp + - reserved + - slaac + description: 'The operational status of this IP + + + * `active` - Active + + * `reserved` - Reserved + + * `deprecated` - Deprecated + + * `dhcp` - DHCP + + * `slaac` - SLAAC' explode: true style: form - in: query - name: name__nie + name: status__ie schema: type: array items: type: string + x-spec-enum-id: 24935cfee15bd268 + enum: + - active + - deprecated + - dhcp + - reserved + - slaac + description: 'The operational status of this IP + + + * `active` - Active + + * `reserved` - Reserved + + * `deprecated` - Deprecated + + * `dhcp` - DHCP + + * `slaac` - SLAAC' explode: true style: form - in: query - name: name__niew + name: status__iew schema: type: array items: type: string + x-spec-enum-id: 24935cfee15bd268 + enum: + - active + - deprecated + - dhcp + - reserved + - slaac + description: 'The operational status of this IP + + + * `active` - Active + + * `reserved` - Reserved + + * `deprecated` - Deprecated + + * `dhcp` - DHCP + + * `slaac` - SLAAC' explode: true style: form - in: query - name: name__nisw + name: status__isw schema: type: array items: type: string + x-spec-enum-id: 24935cfee15bd268 + enum: + - active + - deprecated + - dhcp + - reserved + - slaac + description: 'The operational status of this IP + + + * `active` - Active + + * `reserved` - Reserved + + * `deprecated` - Deprecated + + * `dhcp` - DHCP + + * `slaac` - SLAAC' explode: true style: form - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - in: query - name: phone + name: status__n schema: type: array items: type: string + x-spec-enum-id: 24935cfee15bd268 + enum: + - active + - deprecated + - dhcp + - reserved + - slaac + description: 'The operational status of this IP + + + * `active` - Active + + * `reserved` - Reserved + + * `deprecated` - Deprecated + + * `dhcp` - DHCP + + * `slaac` - SLAAC' explode: true style: form - in: query - name: phone__empty + name: status__nic schema: - type: boolean + type: array + items: + type: string + x-spec-enum-id: 24935cfee15bd268 + enum: + - active + - deprecated + - dhcp + - reserved + - slaac + description: 'The operational status of this IP + + + * `active` - Active + + * `reserved` - Reserved + + * `deprecated` - Deprecated + + * `dhcp` - DHCP + + * `slaac` - SLAAC' + explode: true + style: form - in: query - name: phone__ic + name: status__nie schema: type: array items: type: string + x-spec-enum-id: 24935cfee15bd268 + enum: + - active + - deprecated + - dhcp + - reserved + - slaac + description: 'The operational status of this IP + + + * `active` - Active + + * `reserved` - Reserved + + * `deprecated` - Deprecated + + * `dhcp` - DHCP + + * `slaac` - SLAAC' explode: true style: form - in: query - name: phone__ie + name: status__niew schema: type: array items: type: string + x-spec-enum-id: 24935cfee15bd268 + enum: + - active + - deprecated + - dhcp + - reserved + - slaac + description: 'The operational status of this IP + + + * `active` - Active + + * `reserved` - Reserved + + * `deprecated` - Deprecated + + * `dhcp` - DHCP + + * `slaac` - SLAAC' explode: true style: form - in: query - name: phone__iew + name: status__nisw schema: type: array items: type: string + x-spec-enum-id: 24935cfee15bd268 + enum: + - active + - deprecated + - dhcp + - reserved + - slaac + description: 'The operational status of this IP + + + * `active` - Active + + * `reserved` - Reserved + + * `deprecated` - Deprecated + + * `dhcp` - DHCP + + * `slaac` - SLAAC' explode: true style: form - in: query - name: phone__isw + name: tag schema: type: array items: @@ -80758,7 +106834,7 @@ paths: explode: true style: form - in: query - name: phone__n + name: tag__n schema: type: array items: @@ -80766,23 +106842,25 @@ paths: explode: true style: form - in: query - name: phone__nic + name: tenant schema: type: array items: type: string + description: Tenant (slug) explode: true style: form - in: query - name: phone__nie + name: tenant__n schema: type: array items: type: string + description: Tenant (slug) explode: true style: form - in: query - name: phone__niew + name: tenant_group schema: type: array items: @@ -80790,7 +106868,7 @@ paths: explode: true style: form - in: query - name: phone__nisw + name: tenant_group__n schema: type: array items: @@ -80798,12 +106876,15 @@ paths: explode: true style: form - in: query - name: q + name: tenant_group_id schema: - type: string - description: Search + type: array + items: + type: string + explode: true + style: form - in: query - name: tag + name: tenant_group_id__n schema: type: array items: @@ -80811,27 +106892,32 @@ paths: explode: true style: form - in: query - name: tag__n + name: tenant_id schema: type: array items: - type: string + type: integer + nullable: true + description: Tenant (ID) explode: true style: form - in: query - name: title + name: tenant_id__n schema: type: array items: - type: string + type: integer + nullable: true + description: Tenant (ID) explode: true style: form - in: query - name: title__empty + name: updated_by_request schema: - type: boolean + type: string + format: uuid - in: query - name: title__ic + name: virtual_machine schema: type: array items: @@ -80839,76 +106925,94 @@ paths: explode: true style: form - in: query - name: title__ie + name: virtual_machine_id schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: title__iew + name: vminterface schema: type: array items: type: string + description: VM interface (name) explode: true style: form - in: query - name: title__isw + name: vminterface__n schema: type: array items: type: string + description: VM interface (name) explode: true style: form - in: query - name: title__n + name: vminterface_id schema: type: array items: - type: string + type: integer + description: VM interface (ID) explode: true style: form - in: query - name: title__nic + name: vminterface_id__n schema: type: array items: - type: string + type: integer + description: VM interface (ID) explode: true style: form - in: query - name: title__nie + name: vrf schema: type: array items: type: string + nullable: true + title: Route distinguisher + description: VRF (RD) explode: true style: form - in: query - name: title__niew + name: vrf__n schema: type: array items: type: string + nullable: true + title: Route distinguisher + description: VRF (RD) explode: true style: form - in: query - name: title__nisw + name: vrf_id schema: type: array items: - type: string + type: integer + nullable: true + description: VRF explode: true style: form - in: query - name: updated_by_request + name: vrf_id__n schema: - type: string - format: uuid + type: array + items: + type: integer + nullable: true + description: VRF + explode: true + style: form tags: - - tenancy + - ipam security: - cookieAuth: [] - tokenAuth: [] @@ -80917,21 +107021,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedContactList' + $ref: '#/components/schemas/PaginatedIPAddressList' description: '' post: - operationId: tenancy_contacts_create - description: Post a list of contact objects. + operationId: ipam_ip_addresses_create + description: Post a list of IP address objects. tags: - - tenancy + - ipam requestBody: content: application/json: schema: - $ref: '#/components/schemas/ContactRequest' + $ref: '#/components/schemas/WritableIPAddressRequest' multipart/form-data: schema: - $ref: '#/components/schemas/ContactRequest' + $ref: '#/components/schemas/WritableIPAddressRequest' required: true security: - cookieAuth: [] @@ -80941,25 +107045,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Contact' + $ref: '#/components/schemas/IPAddress' description: '' put: - operationId: tenancy_contacts_bulk_update - description: Put a list of contact objects. + operationId: ipam_ip_addresses_bulk_update + description: Put a list of IP address objects. tags: - - tenancy + - ipam requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/ContactRequest' + $ref: '#/components/schemas/IPAddressRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ContactRequest' + $ref: '#/components/schemas/IPAddressRequest' required: true security: - cookieAuth: [] @@ -80971,25 +107075,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/Contact' + $ref: '#/components/schemas/IPAddress' description: '' patch: - operationId: tenancy_contacts_bulk_partial_update - description: Patch a list of contact objects. + operationId: ipam_ip_addresses_bulk_partial_update + description: Patch a list of IP address objects. tags: - - tenancy + - ipam requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/ContactRequest' + $ref: '#/components/schemas/IPAddressRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ContactRequest' + $ref: '#/components/schemas/IPAddressRequest' required: true security: - cookieAuth: [] @@ -81001,25 +107105,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/Contact' + $ref: '#/components/schemas/IPAddress' description: '' delete: - operationId: tenancy_contacts_bulk_destroy - description: Delete a list of contact objects. + operationId: ipam_ip_addresses_bulk_destroy + description: Delete a list of IP address objects. tags: - - tenancy + - ipam requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/ContactRequest' + $ref: '#/components/schemas/IPAddressRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ContactRequest' + $ref: '#/components/schemas/IPAddressRequest' required: true security: - cookieAuth: [] @@ -81027,19 +107131,19 @@ paths: responses: '204': description: No response body - /api/tenancy/contacts/{id}/: + /api/ipam/ip-addresses/{id}/: get: - operationId: tenancy_contacts_retrieve - description: Get a contact object. + operationId: ipam_ip_addresses_retrieve + description: Get a IP address object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this contact. + description: A unique integer value identifying this IP address. required: true tags: - - tenancy + - ipam security: - cookieAuth: [] - tokenAuth: [] @@ -81048,28 +107152,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Contact' + $ref: '#/components/schemas/IPAddress' description: '' put: - operationId: tenancy_contacts_update - description: Put a contact object. + operationId: ipam_ip_addresses_update + description: Put a IP address object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this contact. + description: A unique integer value identifying this IP address. required: true tags: - - tenancy + - ipam requestBody: content: application/json: schema: - $ref: '#/components/schemas/ContactRequest' + $ref: '#/components/schemas/WritableIPAddressRequest' multipart/form-data: schema: - $ref: '#/components/schemas/ContactRequest' + $ref: '#/components/schemas/WritableIPAddressRequest' required: true security: - cookieAuth: [] @@ -81079,28 +107183,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Contact' + $ref: '#/components/schemas/IPAddress' description: '' patch: - operationId: tenancy_contacts_partial_update - description: Patch a contact object. + operationId: ipam_ip_addresses_partial_update + description: Patch a IP address object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this contact. + description: A unique integer value identifying this IP address. required: true tags: - - tenancy + - ipam requestBody: content: application/json: schema: - $ref: '#/components/schemas/PatchedContactRequest' + $ref: '#/components/schemas/PatchedWritableIPAddressRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedContactRequest' + $ref: '#/components/schemas/PatchedWritableIPAddressRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -81109,67 +107213,36 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Contact' + $ref: '#/components/schemas/IPAddress' description: '' delete: - operationId: tenancy_contacts_destroy - description: Delete a contact object. + operationId: ipam_ip_addresses_destroy + description: Delete a IP address object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this contact. + description: A unique integer value identifying this IP address. required: true tags: - - tenancy + - ipam security: - cookieAuth: [] - tokenAuth: [] responses: '204': description: No response body - /api/tenancy/tenant-groups/: + /api/ipam/ip-ranges/: get: - operationId: tenancy_tenant_groups_list - description: Get a list of tenant group objects. + operationId: ipam_ip_ranges_list + description: Get a list of IP range objects. parameters: - in: query - name: ancestor - schema: - type: array - items: - type: integer - description: Tenant group (slug) - explode: true - style: form - - in: query - name: ancestor__n - schema: - type: array - items: - type: integer - description: Tenant group (slug) - explode: true - style: form - - in: query - name: ancestor_id - schema: - type: array - items: - type: integer - description: Tenant group (ID) - explode: true - style: form - - in: query - name: ancestor_id__n + name: contains schema: - type: array - items: - type: integer - description: Tenant group (ID) - explode: true - style: form + type: string + description: Ranges which contain this prefix or IP - in: query name: created schema: @@ -81322,6 +107395,18 @@ paths: type: string explode: true style: form + - in: query + name: end_address + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: family + schema: + type: number - in: query name: id schema: @@ -81449,13 +107534,29 @@ paths: description: Number of results to return per page. schema: type: integer + - in: query + name: mark_utilized + schema: + type: boolean - in: query name: modified_by_request schema: type: string format: uuid + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string - in: query - name: name + name: parent schema: type: array items: @@ -81463,174 +107564,319 @@ paths: explode: true style: form - in: query - name: name__empty + name: q schema: - type: boolean + type: string + description: Search - in: query - name: name__ic + name: role schema: type: array items: type: string + description: Role (slug) explode: true style: form - in: query - name: name__ie + name: role__n schema: type: array items: type: string + description: Role (slug) explode: true style: form - in: query - name: name__iew + name: role_id schema: type: array items: - type: string + type: integer + nullable: true + description: Role (ID) explode: true style: form - in: query - name: name__isw + name: role_id__n schema: type: array items: - type: string + type: integer + nullable: true + description: Role (ID) explode: true style: form - in: query - name: name__n + name: size schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: name__nic + name: size__empty + schema: + type: boolean + - in: query + name: size__gt schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: name__nie + name: size__gte schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: name__niew + name: size__lt schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: name__nisw + name: size__lte schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - - name: offset - required: false - in: query - description: The initial index from which to return the results. + - in: query + name: size__n schema: - type: integer - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: start_address schema: - type: string + type: array + items: + type: string + explode: true + style: form - in: query - name: parent + name: status schema: type: array items: type: string - description: Parent tenant group (slug) + x-spec-enum-id: 6388dfb94ca1cc15 + description: Operational status of this range explode: true style: form - in: query - name: parent__n + name: status__empty + schema: + type: boolean + - in: query + name: status__ic schema: type: array items: type: string - description: Parent tenant group (slug) + x-spec-enum-id: 6388dfb94ca1cc15 + enum: + - active + - deprecated + - reserved + description: 'Operational status of this range + + + * `active` - Active + + * `reserved` - Reserved + + * `deprecated` - Deprecated' explode: true style: form - in: query - name: parent_id + name: status__ie schema: type: array items: - type: integer - nullable: true - description: Parent tenant group (ID) + type: string + x-spec-enum-id: 6388dfb94ca1cc15 + enum: + - active + - deprecated + - reserved + description: 'Operational status of this range + + + * `active` - Active + + * `reserved` - Reserved + + * `deprecated` - Deprecated' explode: true style: form - in: query - name: parent_id__n + name: status__iew schema: type: array items: - type: integer - nullable: true - description: Parent tenant group (ID) + type: string + x-spec-enum-id: 6388dfb94ca1cc15 + enum: + - active + - deprecated + - reserved + description: 'Operational status of this range + + + * `active` - Active + + * `reserved` - Reserved + + * `deprecated` - Deprecated' explode: true style: form - in: query - name: q + name: status__isw schema: - type: string - description: Search + type: array + items: + type: string + x-spec-enum-id: 6388dfb94ca1cc15 + enum: + - active + - deprecated + - reserved + description: 'Operational status of this range + + + * `active` - Active + + * `reserved` - Reserved + + * `deprecated` - Deprecated' + explode: true + style: form - in: query - name: slug + name: status__n schema: type: array items: type: string + x-spec-enum-id: 6388dfb94ca1cc15 + enum: + - active + - deprecated + - reserved + description: 'Operational status of this range + + + * `active` - Active + + * `reserved` - Reserved + + * `deprecated` - Deprecated' explode: true style: form - in: query - name: slug__empty + name: status__nic schema: - type: boolean + type: array + items: + type: string + x-spec-enum-id: 6388dfb94ca1cc15 + enum: + - active + - deprecated + - reserved + description: 'Operational status of this range + + + * `active` - Active + + * `reserved` - Reserved + + * `deprecated` - Deprecated' + explode: true + style: form - in: query - name: slug__ic + name: status__nie schema: type: array items: type: string + x-spec-enum-id: 6388dfb94ca1cc15 + enum: + - active + - deprecated + - reserved + description: 'Operational status of this range + + + * `active` - Active + + * `reserved` - Reserved + + * `deprecated` - Deprecated' explode: true style: form - in: query - name: slug__ie + name: status__niew schema: type: array items: type: string + x-spec-enum-id: 6388dfb94ca1cc15 + enum: + - active + - deprecated + - reserved + description: 'Operational status of this range + + + * `active` - Active + + * `reserved` - Reserved + + * `deprecated` - Deprecated' explode: true style: form - in: query - name: slug__iew + name: status__nisw schema: type: array items: type: string + x-spec-enum-id: 6388dfb94ca1cc15 + enum: + - active + - deprecated + - reserved + description: 'Operational status of this range + + + * `active` - Active + + * `reserved` - Reserved + + * `deprecated` - Deprecated' explode: true style: form - in: query - name: slug__isw + name: tag schema: type: array items: @@ -81638,7 +107884,7 @@ paths: explode: true style: form - in: query - name: slug__n + name: tag__n schema: type: array items: @@ -81646,23 +107892,25 @@ paths: explode: true style: form - in: query - name: slug__nic + name: tenant schema: type: array items: type: string + description: Tenant (slug) explode: true style: form - in: query - name: slug__nie + name: tenant__n schema: type: array items: type: string + description: Tenant (slug) explode: true style: form - in: query - name: slug__niew + name: tenant_group schema: type: array items: @@ -81670,7 +107918,7 @@ paths: explode: true style: form - in: query - name: slug__nisw + name: tenant_group__n schema: type: array items: @@ -81678,7 +107926,7 @@ paths: explode: true style: form - in: query - name: tag + name: tenant_group_id schema: type: array items: @@ -81686,20 +107934,82 @@ paths: explode: true style: form - in: query - name: tag__n + name: tenant_group_id__n schema: type: array items: type: string explode: true style: form + - in: query + name: tenant_id + schema: + type: array + items: + type: integer + nullable: true + description: Tenant (ID) + explode: true + style: form + - in: query + name: tenant_id__n + schema: + type: array + items: + type: integer + nullable: true + description: Tenant (ID) + explode: true + style: form - in: query name: updated_by_request schema: type: string format: uuid + - in: query + name: vrf + schema: + type: array + items: + type: string + nullable: true + title: Route distinguisher + description: VRF (RD) + explode: true + style: form + - in: query + name: vrf__n + schema: + type: array + items: + type: string + nullable: true + title: Route distinguisher + description: VRF (RD) + explode: true + style: form + - in: query + name: vrf_id + schema: + type: array + items: + type: integer + nullable: true + description: VRF + explode: true + style: form + - in: query + name: vrf_id__n + schema: + type: array + items: + type: integer + nullable: true + description: VRF + explode: true + style: form tags: - - tenancy + - ipam security: - cookieAuth: [] - tokenAuth: [] @@ -81708,21 +108018,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedTenantGroupList' + $ref: '#/components/schemas/PaginatedIPRangeList' description: '' post: - operationId: tenancy_tenant_groups_create - description: Post a list of tenant group objects. + operationId: ipam_ip_ranges_create + description: Post a list of IP range objects. tags: - - tenancy + - ipam requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableTenantGroupRequest' + $ref: '#/components/schemas/WritableIPRangeRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableTenantGroupRequest' + $ref: '#/components/schemas/WritableIPRangeRequest' required: true security: - cookieAuth: [] @@ -81732,25 +108042,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/TenantGroup' + $ref: '#/components/schemas/IPRange' description: '' put: - operationId: tenancy_tenant_groups_bulk_update - description: Put a list of tenant group objects. + operationId: ipam_ip_ranges_bulk_update + description: Put a list of IP range objects. tags: - - tenancy + - ipam requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/TenantGroupRequest' + $ref: '#/components/schemas/IPRangeRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/TenantGroupRequest' + $ref: '#/components/schemas/IPRangeRequest' required: true security: - cookieAuth: [] @@ -81762,25 +108072,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/TenantGroup' + $ref: '#/components/schemas/IPRange' description: '' patch: - operationId: tenancy_tenant_groups_bulk_partial_update - description: Patch a list of tenant group objects. + operationId: ipam_ip_ranges_bulk_partial_update + description: Patch a list of IP range objects. tags: - - tenancy + - ipam requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/TenantGroupRequest' + $ref: '#/components/schemas/IPRangeRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/TenantGroupRequest' + $ref: '#/components/schemas/IPRangeRequest' required: true security: - cookieAuth: [] @@ -81792,25 +108102,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/TenantGroup' + $ref: '#/components/schemas/IPRange' description: '' delete: - operationId: tenancy_tenant_groups_bulk_destroy - description: Delete a list of tenant group objects. + operationId: ipam_ip_ranges_bulk_destroy + description: Delete a list of IP range objects. tags: - - tenancy + - ipam requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/TenantGroupRequest' + $ref: '#/components/schemas/IPRangeRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/TenantGroupRequest' + $ref: '#/components/schemas/IPRangeRequest' required: true security: - cookieAuth: [] @@ -81818,19 +108128,19 @@ paths: responses: '204': description: No response body - /api/tenancy/tenant-groups/{id}/: + /api/ipam/ip-ranges/{id}/: get: - operationId: tenancy_tenant_groups_retrieve - description: Get a tenant group object. + operationId: ipam_ip_ranges_retrieve + description: Get a IP range object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this tenant group. + description: A unique integer value identifying this IP range. required: true tags: - - tenancy + - ipam security: - cookieAuth: [] - tokenAuth: [] @@ -81839,28 +108149,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/TenantGroup' + $ref: '#/components/schemas/IPRange' description: '' put: - operationId: tenancy_tenant_groups_update - description: Put a tenant group object. + operationId: ipam_ip_ranges_update + description: Put a IP range object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this tenant group. + description: A unique integer value identifying this IP range. required: true tags: - - tenancy + - ipam requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableTenantGroupRequest' + $ref: '#/components/schemas/WritableIPRangeRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableTenantGroupRequest' + $ref: '#/components/schemas/WritableIPRangeRequest' required: true security: - cookieAuth: [] @@ -81870,28 +108180,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/TenantGroup' + $ref: '#/components/schemas/IPRange' description: '' patch: - operationId: tenancy_tenant_groups_partial_update - description: Patch a tenant group object. + operationId: ipam_ip_ranges_partial_update + description: Patch a IP range object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this tenant group. + description: A unique integer value identifying this IP range. required: true tags: - - tenancy + - ipam requestBody: content: application/json: schema: - $ref: '#/components/schemas/PatchedWritableTenantGroupRequest' + $ref: '#/components/schemas/PatchedWritableIPRangeRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedWritableTenantGroupRequest' + $ref: '#/components/schemas/PatchedWritableIPRangeRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -81900,85 +108210,159 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/TenantGroup' + $ref: '#/components/schemas/IPRange' description: '' delete: - operationId: tenancy_tenant_groups_destroy - description: Delete a tenant group object. + operationId: ipam_ip_ranges_destroy + description: Delete a IP range object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this tenant group. + description: A unique integer value identifying this IP range. required: true tags: - - tenancy + - ipam security: - cookieAuth: [] - tokenAuth: [] responses: '204': description: No response body - /api/tenancy/tenants/: + /api/ipam/ip-ranges/{id}/available-ips/: get: - operationId: tenancy_tenants_list - description: Get a list of tenant objects. + operationId: ipam_ip_ranges_available_ips_list + description: Get a IP address object. + parameters: + - in: path + name: id + schema: + type: integer + required: true + tags: + - ipam + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/AvailableIP' + description: '' + post: + operationId: ipam_ip_ranges_available_ips_create + description: Post a IP address object. + parameters: + - in: path + name: id + schema: + type: integer + required: true + tags: + - ipam + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/IPAddressRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/IPAddressRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/IPAddress' + description: '' + /api/ipam/prefixes/: + get: + operationId: ipam_prefixes_list + description: Get a list of prefix objects. parameters: - in: query - name: contact + name: children schema: type: array items: type: integer - description: Contact + format: int32 explode: true style: form - in: query - name: contact__n + name: children__empty schema: type: array items: type: integer - description: Contact + format: int32 explode: true style: form - in: query - name: contact_group + name: children__gt schema: type: array items: type: integer - description: Contact group + format: int32 explode: true style: form - in: query - name: contact_group__n + name: children__gte schema: type: array items: type: integer - description: Contact group + format: int32 explode: true style: form - in: query - name: contact_role + name: children__lt schema: type: array items: type: integer - description: Contact Role + format: int32 explode: true style: form - in: query - name: contact_role__n + name: children__lte schema: type: array items: type: integer - description: Contact Role + format: int32 explode: true style: form + - in: query + name: children__n + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: contains + schema: + type: string + description: Prefixes which contain this prefix or IP - in: query name: created schema: @@ -82048,43 +108432,70 @@ paths: type: string format: uuid - in: query - name: description + name: depth schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: description__empty + name: depth__empty schema: - type: boolean + type: array + items: + type: integer + format: int32 + explode: true + style: form - in: query - name: description__ic + name: depth__gt schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: description__ie + name: depth__gte schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: description__iew + name: depth__lt schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: description__isw + name: depth__lte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: depth__n + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: description schema: type: array items: @@ -82092,7 +108503,11 @@ paths: explode: true style: form - in: query - name: description__n + name: description__empty + schema: + type: boolean + - in: query + name: description__ic schema: type: array items: @@ -82100,7 +108515,7 @@ paths: explode: true style: form - in: query - name: description__nic + name: description__ie schema: type: array items: @@ -82108,7 +108523,7 @@ paths: explode: true style: form - in: query - name: description__nie + name: description__iew schema: type: array items: @@ -82116,7 +108531,7 @@ paths: explode: true style: form - in: query - name: description__niew + name: description__isw schema: type: array items: @@ -82124,7 +108539,7 @@ paths: explode: true style: form - in: query - name: description__nisw + name: description__n schema: type: array items: @@ -82132,41 +108547,41 @@ paths: explode: true style: form - in: query - name: group + name: description__nic schema: type: array items: - type: integer - description: Tenant group (slug) + type: string explode: true style: form - in: query - name: group__n + name: description__nie schema: type: array items: - type: integer - description: Tenant group (slug) + type: string explode: true style: form - in: query - name: group_id + name: description__niew schema: type: array items: - type: integer - description: Tenant group (ID) + type: string explode: true style: form - in: query - name: group_id__n + name: description__nisw schema: type: array items: - type: integer - description: Tenant group (ID) + type: string explode: true style: form + - in: query + name: family + schema: + type: number - in: query name: id schema: @@ -82225,6 +108640,10 @@ paths: format: int32 explode: true style: form + - in: query + name: is_pool + schema: + type: boolean - in: query name: last_updated schema: @@ -82294,13 +108713,46 @@ paths: description: Number of results to return per page. schema: type: integer + - in: query + name: mark_utilized + schema: + type: boolean + - in: query + name: mask_length + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: mask_length__gte + schema: + type: number + - in: query + name: mask_length__lte + schema: + type: number - in: query name: modified_by_request schema: type: string format: uuid + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string - in: query - name: name + name: prefix schema: type: array items: @@ -82308,11 +108760,20 @@ paths: explode: true style: form - in: query - name: name__empty + name: present_in_vrf schema: - type: boolean + type: string - in: query - name: name__ic + name: present_in_vrf_id + schema: + type: string + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: region schema: type: array items: @@ -82320,7 +108781,7 @@ paths: explode: true style: form - in: query - name: name__ie + name: region__n schema: type: array items: @@ -82328,7 +108789,7 @@ paths: explode: true style: form - in: query - name: name__iew + name: region_id schema: type: array items: @@ -82336,7 +108797,7 @@ paths: explode: true style: form - in: query - name: name__isw + name: region_id__n schema: type: array items: @@ -82344,144 +108805,341 @@ paths: explode: true style: form - in: query - name: name__n + name: role schema: type: array items: type: string + description: Role (slug) explode: true style: form - in: query - name: name__nic + name: role__n schema: type: array items: type: string + description: Role (slug) explode: true style: form - in: query - name: name__nie + name: role_id + schema: + type: array + items: + type: integer + nullable: true + description: Role (ID) + explode: true + style: form + - in: query + name: role_id__n + schema: + type: array + items: + type: integer + nullable: true + description: Role (ID) + explode: true + style: form + - in: query + name: site schema: type: array items: type: string + description: Site (slug) explode: true style: form - in: query - name: name__niew + name: site__n schema: type: array items: type: string + description: Site (slug) explode: true style: form - in: query - name: name__nisw + name: site_group 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: site_group__n schema: - type: integer - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. + type: array + items: + type: string + explode: true + style: form + - in: query + name: site_group_id schema: - type: string + type: array + items: + type: string + explode: true + style: form - in: query - name: q + name: site_group_id__n schema: - type: string - description: Search + type: array + items: + type: string + explode: true + style: form - in: query - name: slug + name: site_id + schema: + type: array + items: + type: integer + nullable: true + description: Site (ID) + explode: true + style: form + - in: query + name: site_id__n + schema: + type: array + items: + type: integer + nullable: true + description: Site (ID) + explode: true + style: form + - in: query + name: status schema: type: array items: type: string + x-spec-enum-id: d38bee5f512701d9 + description: Operational status of this prefix explode: true style: form - in: query - name: slug__empty + name: status__empty schema: type: boolean - in: query - name: slug__ic + name: status__ic schema: type: array items: type: string + x-spec-enum-id: d38bee5f512701d9 + enum: + - active + - container + - deprecated + - reserved + description: 'Operational status of this prefix + + + * `container` - Container + + * `active` - Active + + * `reserved` - Reserved + + * `deprecated` - Deprecated' explode: true style: form - in: query - name: slug__ie + name: status__ie schema: type: array items: type: string + x-spec-enum-id: d38bee5f512701d9 + enum: + - active + - container + - deprecated + - reserved + description: 'Operational status of this prefix + + + * `container` - Container + + * `active` - Active + + * `reserved` - Reserved + + * `deprecated` - Deprecated' explode: true style: form - in: query - name: slug__iew + name: status__iew schema: type: array items: type: string + x-spec-enum-id: d38bee5f512701d9 + enum: + - active + - container + - deprecated + - reserved + description: 'Operational status of this prefix + + + * `container` - Container + + * `active` - Active + + * `reserved` - Reserved + + * `deprecated` - Deprecated' explode: true style: form - in: query - name: slug__isw + name: status__isw schema: type: array items: type: string + x-spec-enum-id: d38bee5f512701d9 + enum: + - active + - container + - deprecated + - reserved + description: 'Operational status of this prefix + + + * `container` - Container + + * `active` - Active + + * `reserved` - Reserved + + * `deprecated` - Deprecated' explode: true style: form - in: query - name: slug__n + name: status__n schema: type: array items: type: string + x-spec-enum-id: d38bee5f512701d9 + enum: + - active + - container + - deprecated + - reserved + description: 'Operational status of this prefix + + + * `container` - Container + + * `active` - Active + + * `reserved` - Reserved + + * `deprecated` - Deprecated' explode: true style: form - in: query - name: slug__nic + name: status__nic schema: type: array items: type: string + x-spec-enum-id: d38bee5f512701d9 + enum: + - active + - container + - deprecated + - reserved + description: 'Operational status of this prefix + + + * `container` - Container + + * `active` - Active + + * `reserved` - Reserved + + * `deprecated` - Deprecated' explode: true style: form - in: query - name: slug__nie + name: status__nie schema: type: array items: type: string + x-spec-enum-id: d38bee5f512701d9 + enum: + - active + - container + - deprecated + - reserved + description: 'Operational status of this prefix + + + * `container` - Container + + * `active` - Active + + * `reserved` - Reserved + + * `deprecated` - Deprecated' explode: true style: form - in: query - name: slug__niew + name: status__niew schema: type: array items: type: string + x-spec-enum-id: d38bee5f512701d9 + enum: + - active + - container + - deprecated + - reserved + description: 'Operational status of this prefix + + + * `container` - Container + + * `active` - Active + + * `reserved` - Reserved + + * `deprecated` - Deprecated' explode: true style: form - in: query - name: slug__nisw + name: status__nisw schema: type: array items: type: string + x-spec-enum-id: d38bee5f512701d9 + enum: + - active + - container + - deprecated + - reserved + description: 'Operational status of this prefix + + + * `container` - Container + + * `active` - Active + + * `reserved` - Reserved + + * `deprecated` - Deprecated' explode: true style: form - in: query @@ -82500,13 +109158,190 @@ paths: type: string explode: true style: form + - in: query + name: tenant + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant__n + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant_group + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant_group__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant_group_id + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant_group_id__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant_id + schema: + type: array + items: + type: integer + nullable: true + description: Tenant (ID) + explode: true + style: form + - in: query + name: tenant_id__n + schema: + type: array + items: + type: integer + nullable: true + description: Tenant (ID) + explode: true + style: form - in: query name: updated_by_request schema: type: string format: uuid + - in: query + name: vlan_id + schema: + type: array + items: + type: integer + nullable: true + description: VLAN (ID) + explode: true + style: form + - in: query + name: vlan_id__n + schema: + type: array + items: + type: integer + nullable: true + description: VLAN (ID) + explode: true + style: form + - in: query + name: vlan_vid + schema: + type: integer + description: VLAN number (1-4094) + - in: query + name: vlan_vid__empty + schema: + type: integer + description: VLAN number (1-4094) + - in: query + name: vlan_vid__gt + schema: + type: integer + description: VLAN number (1-4094) + - in: query + name: vlan_vid__gte + schema: + type: integer + description: VLAN number (1-4094) + - in: query + name: vlan_vid__lt + schema: + type: integer + description: VLAN number (1-4094) + - in: query + name: vlan_vid__lte + schema: + type: integer + description: VLAN number (1-4094) + - in: query + name: vlan_vid__n + schema: + type: integer + description: VLAN number (1-4094) + - in: query + name: vrf + schema: + type: array + items: + type: string + nullable: true + title: Route distinguisher + description: VRF (RD) + explode: true + style: form + - in: query + name: vrf__n + schema: + type: array + items: + type: string + nullable: true + title: Route distinguisher + description: VRF (RD) + explode: true + style: form + - in: query + name: vrf_id + schema: + type: array + items: + type: integer + nullable: true + description: VRF + explode: true + style: form + - in: query + name: vrf_id__n + schema: + type: array + items: + type: integer + nullable: true + description: VRF + explode: true + style: form + - in: query + name: within + schema: + type: string + description: Within prefix + - in: query + name: within_include + schema: + type: string + description: Within and including prefix tags: - - tenancy + - ipam security: - cookieAuth: [] - tokenAuth: [] @@ -82515,21 +109350,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedTenantList' + $ref: '#/components/schemas/PaginatedPrefixList' description: '' post: - operationId: tenancy_tenants_create - description: Post a list of tenant objects. + operationId: ipam_prefixes_create + description: Post a list of prefix objects. tags: - - tenancy + - ipam requestBody: content: application/json: schema: - $ref: '#/components/schemas/TenantRequest' + $ref: '#/components/schemas/WritablePrefixRequest' multipart/form-data: schema: - $ref: '#/components/schemas/TenantRequest' + $ref: '#/components/schemas/WritablePrefixRequest' required: true security: - cookieAuth: [] @@ -82539,25 +109374,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Tenant' + $ref: '#/components/schemas/Prefix' description: '' put: - operationId: tenancy_tenants_bulk_update - description: Put a list of tenant objects. + operationId: ipam_prefixes_bulk_update + description: Put a list of prefix objects. tags: - - tenancy + - ipam requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/TenantRequest' + $ref: '#/components/schemas/PrefixRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/TenantRequest' + $ref: '#/components/schemas/PrefixRequest' required: true security: - cookieAuth: [] @@ -82569,25 +109404,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/Tenant' + $ref: '#/components/schemas/Prefix' description: '' patch: - operationId: tenancy_tenants_bulk_partial_update - description: Patch a list of tenant objects. + operationId: ipam_prefixes_bulk_partial_update + description: Patch a list of prefix objects. tags: - - tenancy + - ipam requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/TenantRequest' + $ref: '#/components/schemas/PrefixRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/TenantRequest' + $ref: '#/components/schemas/PrefixRequest' required: true security: - cookieAuth: [] @@ -82599,25 +109434,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/Tenant' + $ref: '#/components/schemas/Prefix' description: '' delete: - operationId: tenancy_tenants_bulk_destroy - description: Delete a list of tenant objects. + operationId: ipam_prefixes_bulk_destroy + description: Delete a list of prefix objects. tags: - - tenancy + - ipam requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/TenantRequest' + $ref: '#/components/schemas/PrefixRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/TenantRequest' + $ref: '#/components/schemas/PrefixRequest' required: true security: - cookieAuth: [] @@ -82625,19 +109460,19 @@ paths: responses: '204': description: No response body - /api/tenancy/tenants/{id}/: + /api/ipam/prefixes/{id}/: get: - operationId: tenancy_tenants_retrieve - description: Get a tenant object. + operationId: ipam_prefixes_retrieve + description: Get a prefix object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this tenant. + description: A unique integer value identifying this prefix. required: true tags: - - tenancy + - ipam security: - cookieAuth: [] - tokenAuth: [] @@ -82646,28 +109481,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Tenant' + $ref: '#/components/schemas/Prefix' description: '' put: - operationId: tenancy_tenants_update - description: Put a tenant object. + operationId: ipam_prefixes_update + description: Put a prefix object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this tenant. + description: A unique integer value identifying this prefix. required: true tags: - - tenancy + - ipam requestBody: content: application/json: schema: - $ref: '#/components/schemas/TenantRequest' + $ref: '#/components/schemas/WritablePrefixRequest' multipart/form-data: schema: - $ref: '#/components/schemas/TenantRequest' + $ref: '#/components/schemas/WritablePrefixRequest' required: true security: - cookieAuth: [] @@ -82677,28 +109512,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Tenant' + $ref: '#/components/schemas/Prefix' description: '' patch: - operationId: tenancy_tenants_partial_update - description: Patch a tenant object. + operationId: ipam_prefixes_partial_update + description: Patch a prefix object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this tenant. + description: A unique integer value identifying this prefix. required: true tags: - - tenancy + - ipam requestBody: content: application/json: schema: - $ref: '#/components/schemas/PatchedTenantRequest' + $ref: '#/components/schemas/PatchedWritablePrefixRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedTenantRequest' + $ref: '#/components/schemas/PatchedWritablePrefixRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -82707,33 +109542,38 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Tenant' + $ref: '#/components/schemas/Prefix' description: '' delete: - operationId: tenancy_tenants_destroy - description: Delete a tenant object. + operationId: ipam_prefixes_destroy + description: Delete a prefix object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this tenant. + description: A unique integer value identifying this prefix. required: true tags: - - tenancy + - ipam security: - cookieAuth: [] - tokenAuth: [] responses: '204': description: No response body - /api/users/config/: + /api/ipam/prefixes/{id}/available-ips/: get: - operationId: users_config_retrieve - description: An API endpoint via which a user can update his or her own UserConfig - data (but no one else's). + operationId: ipam_prefixes_available_ips_list + description: Get a IP address object. + parameters: + - in: path + name: id + schema: + type: integer + required: true tags: - - users + - ipam security: - cookieAuth: [] - tokenAuth: [] @@ -82742,14 +109582,179 @@ paths: content: application/json: schema: - type: object - additionalProperties: {} + type: array + items: + $ref: '#/components/schemas/AvailableIP' description: '' - /api/users/groups/: + post: + operationId: ipam_prefixes_available_ips_create + description: Post a IP address object. + parameters: + - in: path + name: id + schema: + type: integer + required: true + tags: + - ipam + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/IPAddressRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/IPAddressRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/IPAddress' + description: '' + /api/ipam/prefixes/{id}/available-prefixes/: get: - operationId: users_groups_list - description: Get a list of group objects. + operationId: ipam_prefixes_available_prefixes_list + description: Get a prefix object. + parameters: + - in: path + name: id + schema: + type: integer + required: true + tags: + - ipam + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/AvailablePrefix' + description: '' + post: + operationId: ipam_prefixes_available_prefixes_create + description: Post a prefix object. + parameters: + - in: path + name: id + schema: + type: integer + required: true + tags: + - ipam + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/PrefixRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/PrefixRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/Prefix' + description: '' + /api/ipam/rirs/: + get: + operationId: ipam_rirs_list + description: Get a list of RIR objects. parameters: + - in: query + name: created + schema: + type: array + items: + type: string + format: date-time + explode: true + style: form + - in: query + name: created__empty + 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__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: created_by_request + schema: + type: string + format: uuid - in: query name: description schema: @@ -82892,12 +109897,84 @@ paths: format: int32 explode: true style: form + - in: query + name: is_private + schema: + type: boolean + - in: query + name: last_updated + schema: + type: array + items: + type: string + format: date-time + explode: true + style: form + - in: query + name: last_updated__empty + 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__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: modified_by_request + schema: + type: string + format: uuid - in: query name: name schema: @@ -82995,48 +110072,117 @@ paths: schema: type: string - in: query - name: permission_id + name: q + schema: + type: string + description: Search + - in: query + name: slug schema: type: array items: - type: integer - description: Permission (ID) + type: string explode: true style: form - in: query - name: permission_id__n + name: slug__empty + schema: + type: boolean + - in: query + name: slug__ic schema: type: array items: - type: integer - description: Permission (ID) + type: string explode: true style: form - in: query - name: q + name: slug__ie schema: - type: string - description: Search + type: array + items: + type: string + explode: true + style: form - in: query - name: user_id + name: slug__iew schema: type: array items: - type: integer - description: User (ID) + type: string explode: true style: form - in: query - name: user_id__n + name: slug__isw schema: type: array items: - type: integer - description: User (ID) + type: string + explode: true + style: form + - in: query + name: slug__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string explode: true style: form + - in: query + name: updated_by_request + schema: + type: string + format: uuid tags: - - users + - ipam security: - cookieAuth: [] - tokenAuth: [] @@ -83045,21 +110191,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedGroupList' + $ref: '#/components/schemas/PaginatedRIRList' description: '' post: - operationId: users_groups_create - description: Post a list of group objects. + operationId: ipam_rirs_create + description: Post a list of RIR objects. tags: - - users + - ipam requestBody: content: application/json: schema: - $ref: '#/components/schemas/GroupRequest' + $ref: '#/components/schemas/RIRRequest' multipart/form-data: schema: - $ref: '#/components/schemas/GroupRequest' + $ref: '#/components/schemas/RIRRequest' required: true security: - cookieAuth: [] @@ -83069,25 +110215,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Group' + $ref: '#/components/schemas/RIR' description: '' put: - operationId: users_groups_bulk_update - description: Put a list of group objects. + operationId: ipam_rirs_bulk_update + description: Put a list of RIR objects. tags: - - users + - ipam requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/GroupRequest' + $ref: '#/components/schemas/RIRRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/GroupRequest' + $ref: '#/components/schemas/RIRRequest' required: true security: - cookieAuth: [] @@ -83099,25 +110245,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/Group' + $ref: '#/components/schemas/RIR' description: '' patch: - operationId: users_groups_bulk_partial_update - description: Patch a list of group objects. + operationId: ipam_rirs_bulk_partial_update + description: Patch a list of RIR objects. tags: - - users + - ipam requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/GroupRequest' + $ref: '#/components/schemas/RIRRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/GroupRequest' + $ref: '#/components/schemas/RIRRequest' required: true security: - cookieAuth: [] @@ -83129,25 +110275,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/Group' + $ref: '#/components/schemas/RIR' description: '' delete: - operationId: users_groups_bulk_destroy - description: Delete a list of group objects. + operationId: ipam_rirs_bulk_destroy + description: Delete a list of RIR objects. tags: - - users + - ipam requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/GroupRequest' + $ref: '#/components/schemas/RIRRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/GroupRequest' + $ref: '#/components/schemas/RIRRequest' required: true security: - cookieAuth: [] @@ -83155,19 +110301,19 @@ paths: responses: '204': description: No response body - /api/users/groups/{id}/: + /api/ipam/rirs/{id}/: get: - operationId: users_groups_retrieve - description: Get a group object. + operationId: ipam_rirs_retrieve + description: Get a RIR object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this group. + description: A unique integer value identifying this RIR. required: true tags: - - users + - ipam security: - cookieAuth: [] - tokenAuth: [] @@ -83176,28 +110322,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Group' + $ref: '#/components/schemas/RIR' description: '' put: - operationId: users_groups_update - description: Put a group object. + operationId: ipam_rirs_update + description: Put a RIR object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this group. + description: A unique integer value identifying this RIR. required: true tags: - - users + - ipam requestBody: content: application/json: schema: - $ref: '#/components/schemas/GroupRequest' + $ref: '#/components/schemas/RIRRequest' multipart/form-data: schema: - $ref: '#/components/schemas/GroupRequest' + $ref: '#/components/schemas/RIRRequest' required: true security: - cookieAuth: [] @@ -83207,28 +110353,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Group' + $ref: '#/components/schemas/RIR' description: '' patch: - operationId: users_groups_partial_update - description: Patch a group object. + operationId: ipam_rirs_partial_update + description: Patch a RIR object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this group. + description: A unique integer value identifying this RIR. required: true tags: - - users + - ipam requestBody: content: application/json: schema: - $ref: '#/components/schemas/PatchedGroupRequest' + $ref: '#/components/schemas/PatchedRIRRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedGroupRequest' + $ref: '#/components/schemas/PatchedRIRRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -83237,47 +110383,99 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Group' + $ref: '#/components/schemas/RIR' description: '' delete: - operationId: users_groups_destroy - description: Delete a group object. + operationId: ipam_rirs_destroy + description: Delete a RIR object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this group. + description: A unique integer value identifying this RIR. required: true tags: - - users + - ipam security: - cookieAuth: [] - tokenAuth: [] responses: '204': description: No response body - /api/users/permissions/: + /api/ipam/roles/: get: - operationId: users_permissions_list - description: Get a list of permission objects. + operationId: ipam_roles_list + description: Get a list of role objects. parameters: - in: query - name: can_add + name: created schema: - type: boolean + type: array + items: + type: string + format: date-time + explode: true + style: form - in: query - name: can_change + name: created__empty schema: - type: boolean + type: array + items: + type: string + format: date-time + explode: true + style: form - in: query - name: can_delete + name: created__gt schema: - type: boolean + type: array + items: + type: string + format: date-time + explode: true + style: form - in: query - name: can_view + name: created__gte schema: - type: boolean + type: array + items: + type: string + format: date-time + explode: true + style: form + - 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: created_by_request + schema: + type: string + format: uuid - in: query name: description schema: @@ -83363,47 +110561,56 @@ paths: explode: true style: form - in: query - name: enabled + name: id + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__empty schema: type: boolean - in: query - name: group + name: id__gt schema: type: array items: - type: string - description: Group (name) + type: integer + format: int32 explode: true style: form - in: query - name: group__n + name: id__gte schema: type: array items: - type: string - description: Group (name) + type: integer + format: int32 explode: true style: form - in: query - name: group_id + name: id__lt schema: type: array items: type: integer - description: Group + format: int32 explode: true style: form - in: query - name: group_id__n + name: id__lte schema: type: array items: type: integer - description: Group + format: int32 explode: true style: form - in: query - name: id + name: id__n schema: type: array items: @@ -83412,52 +110619,66 @@ paths: explode: true style: form - in: query - name: id__empty + name: last_updated schema: - type: boolean + type: array + items: + type: string + format: date-time + explode: true + style: form - in: query - name: id__gt + name: last_updated__empty schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: id__gte + name: last_updated__gt schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: id__lt + name: last_updated__gte schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: id__lte + name: last_updated__lt schema: type: array items: - type: integer - format: int32 + type: string + format: date-time explode: true style: form - in: query - name: id__n + name: last_updated__lte schema: type: array items: - type: integer - format: int32 + 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 @@ -83466,6 +110687,11 @@ paths: description: Number of results to return per page. schema: type: integer + - in: query + name: modified_by_request + schema: + type: string + format: uuid - in: query name: name schema: @@ -83550,133 +110776,188 @@ paths: type: string explode: true style: form - - in: query - name: object_type + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. schema: type: string - in: query - name: object_type__ic + name: q schema: type: string + description: Search - in: query - name: object_type__ie + name: slug schema: - type: string + type: array + items: + type: string + explode: true + style: form - in: query - name: object_type__iew + name: slug__empty schema: - type: string + type: boolean - in: query - name: object_type__isw + name: slug__ic schema: - type: string + type: array + items: + type: string + explode: true + style: form - in: query - name: object_type__n + name: slug__ie schema: - type: string + type: array + items: + type: string + explode: true + style: form - in: query - name: object_type__nic + name: slug__iew schema: - type: string + type: array + items: + type: string + explode: true + style: form - in: query - name: object_type__nie + name: slug__isw schema: - type: string + type: array + items: + type: string + explode: true + style: form - in: query - name: object_type__niew + name: slug__n schema: - type: string + type: array + items: + type: string + explode: true + style: form - in: query - name: object_type__nisw + name: slug__nic schema: - type: string + type: array + items: + type: string + explode: true + style: form - in: query - name: object_type_id + name: slug__nie schema: type: array items: - type: integer + type: string explode: true style: form - in: query - name: object_type_id__n + name: slug__niew schema: type: array items: - type: integer + type: string explode: true style: form - in: query - name: object_types + name: slug__nisw schema: type: array items: - type: integer + type: string explode: true style: form - in: query - name: object_types__n + name: tag schema: type: array items: - type: integer + 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: tag__n schema: - type: integer - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. + type: array + items: + type: string + explode: true + style: form + - in: query + name: updated_by_request schema: type: string + format: uuid - in: query - name: q + name: weight schema: - type: string - description: Search + type: array + items: + type: integer + format: int32 + explode: true + style: form - in: query - name: user + name: weight__empty + schema: + type: boolean + - in: query + name: weight__gt schema: type: array items: - type: string - description: User (name) + type: integer + format: int32 explode: true style: form - in: query - name: user__n + name: weight__gte schema: type: array items: - type: string - description: User (name) + type: integer + format: int32 explode: true style: form - in: query - name: user_id + name: weight__lt schema: type: array items: type: integer - description: User + format: int32 explode: true style: form - in: query - name: user_id__n + name: weight__lte schema: type: array items: type: integer - description: User + format: int32 + explode: true + style: form + - in: query + name: weight__n + schema: + type: array + items: + type: integer + format: int32 explode: true style: form tags: - - users + - ipam security: - cookieAuth: [] - tokenAuth: [] @@ -83685,21 +110966,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedObjectPermissionList' + $ref: '#/components/schemas/PaginatedRoleList' description: '' post: - operationId: users_permissions_create - description: Post a list of permission objects. + operationId: ipam_roles_create + description: Post a list of role objects. tags: - - users + - ipam requestBody: content: application/json: schema: - $ref: '#/components/schemas/ObjectPermissionRequest' + $ref: '#/components/schemas/RoleRequest' multipart/form-data: schema: - $ref: '#/components/schemas/ObjectPermissionRequest' + $ref: '#/components/schemas/RoleRequest' required: true security: - cookieAuth: [] @@ -83709,25 +110990,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ObjectPermission' + $ref: '#/components/schemas/Role' description: '' put: - operationId: users_permissions_bulk_update - description: Put a list of permission objects. + operationId: ipam_roles_bulk_update + description: Put a list of role objects. tags: - - users + - ipam requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/ObjectPermissionRequest' + $ref: '#/components/schemas/RoleRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ObjectPermissionRequest' + $ref: '#/components/schemas/RoleRequest' required: true security: - cookieAuth: [] @@ -83739,25 +111020,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ObjectPermission' + $ref: '#/components/schemas/Role' description: '' patch: - operationId: users_permissions_bulk_partial_update - description: Patch a list of permission objects. + operationId: ipam_roles_bulk_partial_update + description: Patch a list of role objects. tags: - - users + - ipam requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/ObjectPermissionRequest' + $ref: '#/components/schemas/RoleRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ObjectPermissionRequest' + $ref: '#/components/schemas/RoleRequest' required: true security: - cookieAuth: [] @@ -83769,25 +111050,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ObjectPermission' + $ref: '#/components/schemas/Role' description: '' delete: - operationId: users_permissions_bulk_destroy - description: Delete a list of permission objects. + operationId: ipam_roles_bulk_destroy + description: Delete a list of role objects. tags: - - users + - ipam requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/ObjectPermissionRequest' + $ref: '#/components/schemas/RoleRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ObjectPermissionRequest' + $ref: '#/components/schemas/RoleRequest' required: true security: - cookieAuth: [] @@ -83795,19 +111076,19 @@ paths: responses: '204': description: No response body - /api/users/permissions/{id}/: + /api/ipam/roles/{id}/: get: - operationId: users_permissions_retrieve - description: Get a permission object. + operationId: ipam_roles_retrieve + description: Get a role object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this permission. + description: A unique integer value identifying this role. required: true tags: - - users + - ipam security: - cookieAuth: [] - tokenAuth: [] @@ -83816,28 +111097,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ObjectPermission' + $ref: '#/components/schemas/Role' description: '' put: - operationId: users_permissions_update - description: Put a permission object. + operationId: ipam_roles_update + description: Put a role object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this permission. + description: A unique integer value identifying this role. required: true tags: - - users + - ipam requestBody: content: application/json: schema: - $ref: '#/components/schemas/ObjectPermissionRequest' + $ref: '#/components/schemas/RoleRequest' multipart/form-data: schema: - $ref: '#/components/schemas/ObjectPermissionRequest' + $ref: '#/components/schemas/RoleRequest' required: true security: - cookieAuth: [] @@ -83847,28 +111128,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ObjectPermission' + $ref: '#/components/schemas/Role' description: '' patch: - operationId: users_permissions_partial_update - description: Patch a permission object. + operationId: ipam_roles_partial_update + description: Patch a role object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this permission. + description: A unique integer value identifying this role. required: true tags: - - users + - ipam requestBody: content: application/json: schema: - $ref: '#/components/schemas/PatchedObjectPermissionRequest' + $ref: '#/components/schemas/PatchedRoleRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedObjectPermissionRequest' + $ref: '#/components/schemas/PatchedRoleRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -83877,46 +111158,99 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ObjectPermission' + $ref: '#/components/schemas/Role' description: '' delete: - operationId: users_permissions_destroy - description: Delete a permission object. + operationId: ipam_roles_destroy + description: Delete a role object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this permission. + description: A unique integer value identifying this role. required: true tags: - - users + - ipam security: - cookieAuth: [] - tokenAuth: [] responses: '204': description: No response body - /api/users/tokens/: + /api/ipam/route-targets/: get: - operationId: users_tokens_list - description: Get a list of token objects. + operationId: ipam_route_targets_list + description: Get a list of route target objects. parameters: - in: query name: created schema: - type: string - format: date-time + type: array + items: + type: string + format: date-time + explode: true + style: form + - in: query + name: created__empty + 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: string - format: date-time + type: array + items: + type: string + format: date-time + explode: true + style: form + - 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: created_by_request schema: type: string - format: date-time + format: uuid - in: query name: description schema: @@ -84002,20 +111336,89 @@ paths: explode: true style: form - in: query - name: expires + name: exporting_l2vpn schema: - type: string - format: date-time + type: array + items: + type: integer + maximum: 9223372036854775807 + minimum: -9223372036854775808 + format: int64 + nullable: true + description: Exporting L2VPN (identifier) + explode: true + style: form - in: query - name: expires__gte + name: exporting_l2vpn__n schema: - type: string - format: date-time + type: array + items: + type: integer + maximum: 9223372036854775807 + minimum: -9223372036854775808 + format: int64 + nullable: true + description: Exporting L2VPN (identifier) + explode: true + style: form - in: query - name: expires__lte + name: exporting_l2vpn_id schema: - type: string - format: date-time + type: array + items: + type: integer + description: Exporting L2VPN + explode: true + style: form + - in: query + name: exporting_l2vpn_id__n + schema: + type: array + items: + type: integer + description: Exporting L2VPN + explode: true + style: form + - in: query + name: exporting_vrf + schema: + type: array + items: + type: string + nullable: true + title: Route distinguisher + description: Export VRF (RD) + explode: true + style: form + - in: query + name: exporting_vrf__n + schema: + type: array + items: + type: string + nullable: true + title: Route distinguisher + description: Export VRF (RD) + explode: true + style: form + - in: query + name: exporting_vrf_id + schema: + type: array + items: + type: integer + description: Exporting VRF + explode: true + style: form + - in: query + name: exporting_vrf_id__n + schema: + type: array + items: + type: integer + description: Exporting VRF + explode: true + style: form - in: query name: id schema: @@ -84075,91 +111478,145 @@ paths: explode: true style: form - in: query - name: key + name: importing_l2vpn schema: type: array items: - type: string + type: integer + maximum: 9223372036854775807 + minimum: -9223372036854775808 + format: int64 + nullable: true + description: Importing L2VPN (identifier) explode: true style: form - in: query - name: key__empty + name: importing_l2vpn__n schema: - type: boolean + type: array + items: + type: integer + maximum: 9223372036854775807 + minimum: -9223372036854775808 + format: int64 + nullable: true + description: Importing L2VPN (identifier) + explode: true + style: form - in: query - name: key__ic + name: importing_l2vpn_id schema: type: array items: - type: string + type: integer + description: Importing L2VPN explode: true style: form - in: query - name: key__ie + name: importing_l2vpn_id__n + schema: + type: array + items: + type: integer + description: Importing L2VPN + explode: true + style: form + - in: query + name: importing_vrf schema: type: array items: type: string + nullable: true + title: Route distinguisher + description: Import VRF (RD) explode: true style: form - in: query - name: key__iew + name: importing_vrf__n schema: type: array items: type: string + nullable: true + title: Route distinguisher + description: Import VRF (RD) explode: true style: form - in: query - name: key__isw + name: importing_vrf_id + schema: + type: array + items: + type: integer + description: Importing VRF + explode: true + style: form + - in: query + name: importing_vrf_id__n + schema: + type: array + items: + type: integer + description: Importing VRF + 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: key__n + name: last_updated__empty schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: key__nic + name: last_updated__gt schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: key__nie + name: last_updated__gte schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: key__niew + name: last_updated__lt schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: key__nisw + name: last_updated__lte schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: last_used + name: last_updated__n schema: type: array items: @@ -84167,61 +111624,101 @@ 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: last_used__empty + name: modified_by_request + schema: + type: string + format: uuid + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__empty schema: type: boolean - in: query - name: last_used__gt + name: name__ic schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_used__gte + name: name__ie schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_used__lt + name: name__iew schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_used__lte + name: name__isw schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_used__n + 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: 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__nisw + schema: + type: array + items: + type: string + explode: true + style: form - name: offset required: false in: query @@ -84240,47 +111737,98 @@ paths: type: string description: Search - in: query - name: user + name: tag schema: type: array items: type: string - description: User (name) explode: true style: form - in: query - name: user__n + name: tag__n schema: type: array items: type: string - description: User (name) explode: true style: form - in: query - name: user_id + name: tenant + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant__n + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant_group + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant_group__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant_group_id + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant_group_id__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant_id schema: type: array items: type: integer - description: User + nullable: true + description: Tenant (ID) explode: true style: form - in: query - name: user_id__n + name: tenant_id__n schema: type: array items: type: integer - description: User + nullable: true + description: Tenant (ID) explode: true style: form - in: query - name: write_enabled + name: updated_by_request schema: - type: boolean + type: string + format: uuid tags: - - users + - ipam security: - cookieAuth: [] - tokenAuth: [] @@ -84289,21 +111837,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedTokenList' + $ref: '#/components/schemas/PaginatedRouteTargetList' description: '' post: - operationId: users_tokens_create - description: Post a list of token objects. + operationId: ipam_route_targets_create + description: Post a list of route target objects. tags: - - users + - ipam requestBody: content: application/json: schema: - $ref: '#/components/schemas/TokenRequest' + $ref: '#/components/schemas/RouteTargetRequest' multipart/form-data: schema: - $ref: '#/components/schemas/TokenRequest' + $ref: '#/components/schemas/RouteTargetRequest' required: true security: - cookieAuth: [] @@ -84313,25 +111861,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Token' + $ref: '#/components/schemas/RouteTarget' description: '' put: - operationId: users_tokens_bulk_update - description: Put a list of token objects. + operationId: ipam_route_targets_bulk_update + description: Put a list of route target objects. tags: - - users + - ipam requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/TokenRequest' + $ref: '#/components/schemas/RouteTargetRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/TokenRequest' + $ref: '#/components/schemas/RouteTargetRequest' required: true security: - cookieAuth: [] @@ -84343,25 +111891,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/Token' + $ref: '#/components/schemas/RouteTarget' description: '' patch: - operationId: users_tokens_bulk_partial_update - description: Patch a list of token objects. + operationId: ipam_route_targets_bulk_partial_update + description: Patch a list of route target objects. tags: - - users + - ipam requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/TokenRequest' + $ref: '#/components/schemas/RouteTargetRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/TokenRequest' + $ref: '#/components/schemas/RouteTargetRequest' required: true security: - cookieAuth: [] @@ -84373,25 +111921,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/Token' + $ref: '#/components/schemas/RouteTarget' description: '' delete: - operationId: users_tokens_bulk_destroy - description: Delete a list of token objects. + operationId: ipam_route_targets_bulk_destroy + description: Delete a list of route target objects. tags: - - users + - ipam requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/TokenRequest' + $ref: '#/components/schemas/RouteTargetRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/TokenRequest' + $ref: '#/components/schemas/RouteTargetRequest' required: true security: - cookieAuth: [] @@ -84399,19 +111947,19 @@ paths: responses: '204': description: No response body - /api/users/tokens/{id}/: + /api/ipam/route-targets/{id}/: get: - operationId: users_tokens_retrieve - description: Get a token object. + operationId: ipam_route_targets_retrieve + description: Get a route target object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this token. + description: A unique integer value identifying this route target. required: true tags: - - users + - ipam security: - cookieAuth: [] - tokenAuth: [] @@ -84420,28 +111968,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Token' + $ref: '#/components/schemas/RouteTarget' description: '' put: - operationId: users_tokens_update - description: Put a token object. + operationId: ipam_route_targets_update + description: Put a route target object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this token. + description: A unique integer value identifying this route target. required: true tags: - - users + - ipam requestBody: content: application/json: schema: - $ref: '#/components/schemas/TokenRequest' + $ref: '#/components/schemas/RouteTargetRequest' multipart/form-data: schema: - $ref: '#/components/schemas/TokenRequest' + $ref: '#/components/schemas/RouteTargetRequest' required: true security: - cookieAuth: [] @@ -84451,28 +111999,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Token' + $ref: '#/components/schemas/RouteTarget' description: '' patch: - operationId: users_tokens_partial_update - description: Patch a token object. + operationId: ipam_route_targets_partial_update + description: Patch a route target object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this token. + description: A unique integer value identifying this route target. required: true tags: - - users + - ipam requestBody: content: application/json: schema: - $ref: '#/components/schemas/PatchedTokenRequest' + $ref: '#/components/schemas/PatchedRouteTargetRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedTokenRequest' + $ref: '#/components/schemas/PatchedRouteTargetRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -84481,66 +112029,33 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Token' + $ref: '#/components/schemas/RouteTarget' description: '' delete: - operationId: users_tokens_destroy - description: Delete a token object. + operationId: ipam_route_targets_destroy + description: Delete a route target object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this token. + description: A unique integer value identifying this route target. required: true tags: - - users + - ipam security: - cookieAuth: [] - tokenAuth: [] responses: '204': description: No response body - /api/users/tokens/provision/: - post: - operationId: users_tokens_provision_create - description: Non-authenticated REST API endpoint via which a user may create - a Token. - tags: - - users - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/TokenProvisionRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/TokenProvisionRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '201': - content: - application/json: - schema: - $ref: '#/components/schemas/TokenProvision' - description: '' - '401': - content: - application/json: - schema: - type: object - additionalProperties: {} - description: '' - /api/users/users/: + /api/ipam/service-templates/: get: - operationId: users_users_list - description: Get a list of user objects. + operationId: ipam_service_templates_list + description: Get a list of service template objects. parameters: - in: query - name: date_joined + name: created schema: type: array items: @@ -84549,11 +112064,16 @@ paths: explode: true style: form - in: query - name: date_joined__empty + name: created__empty schema: - type: boolean + type: array + items: + type: string + format: date-time + explode: true + style: form - in: query - name: date_joined__gt + name: created__gt schema: type: array items: @@ -84562,7 +112082,7 @@ paths: explode: true style: form - in: query - name: date_joined__gte + name: created__gte schema: type: array items: @@ -84571,7 +112091,7 @@ paths: explode: true style: form - in: query - name: date_joined__lt + name: created__lt schema: type: array items: @@ -84580,7 +112100,7 @@ paths: explode: true style: form - in: query - name: date_joined__lte + name: created__lte schema: type: array items: @@ -84589,7 +112109,7 @@ paths: explode: true style: form - in: query - name: date_joined__n + name: created__n schema: type: array items: @@ -84598,7 +112118,12 @@ paths: explode: true style: form - in: query - name: email + name: created_by_request + schema: + type: string + format: uuid + - in: query + name: description schema: type: array items: @@ -84606,11 +112131,11 @@ paths: explode: true style: form - in: query - name: email__empty + name: description__empty schema: type: boolean - in: query - name: email__ic + name: description__ic schema: type: array items: @@ -84618,7 +112143,7 @@ paths: explode: true style: form - in: query - name: email__ie + name: description__ie schema: type: array items: @@ -84626,7 +112151,7 @@ paths: explode: true style: form - in: query - name: email__iew + name: description__iew schema: type: array items: @@ -84634,7 +112159,7 @@ paths: explode: true style: form - in: query - name: email__isw + name: description__isw schema: type: array items: @@ -84642,7 +112167,7 @@ paths: explode: true style: form - in: query - name: email__n + name: description__n schema: type: array items: @@ -84650,7 +112175,7 @@ paths: explode: true style: form - in: query - name: email__nic + name: description__nic schema: type: array items: @@ -84658,7 +112183,7 @@ paths: explode: true style: form - in: query - name: email__nie + name: description__nie schema: type: array items: @@ -84666,7 +112191,7 @@ paths: explode: true style: form - in: query - name: email__niew + name: description__niew schema: type: array items: @@ -84674,7 +112199,7 @@ paths: explode: true style: form - in: query - name: email__nisw + name: description__nisw schema: type: array items: @@ -84682,197 +112207,83 @@ paths: explode: true style: form - in: query - name: first_name + name: id schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: first_name__empty + name: id__empty schema: type: boolean - in: query - name: first_name__ic + name: id__gt schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: first_name__ie + name: id__gte schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: first_name__iew + name: id__lt schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: first_name__isw + name: id__lte schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: first_name__n + name: id__n schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: first_name__nic + name: last_updated schema: type: array items: type: string + format: date-time 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__nisw - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: group - schema: - type: array - items: - type: string - description: Group (name) - explode: true - style: form - - in: query - name: group__n + name: last_updated__empty schema: type: array items: type: string - description: Group (name) - explode: true - style: form - - in: query - name: group_id - schema: - type: array - items: - type: integer - description: Group - explode: true - style: form - - in: query - name: group_id__n - schema: - type: array - items: - type: integer - description: Group - explode: true - style: form - - in: query - name: id - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: id__empty - schema: - type: boolean - - in: query - name: id__gt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: id__gte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: id__lt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: id__lte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: id__n - schema: - type: array - items: - type: integer - format: int32 + 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: is_superuser - schema: - type: boolean - - in: query - name: last_login + name: last_updated__gt schema: type: array items: @@ -84881,11 +112292,7 @@ paths: explode: true style: form - in: query - name: last_login__empty - schema: - type: boolean - - in: query - name: last_login__gt + name: last_updated__gte schema: type: array items: @@ -84894,7 +112301,7 @@ paths: explode: true style: form - in: query - name: last_login__gte + name: last_updated__lt schema: type: array items: @@ -84903,7 +112310,7 @@ paths: explode: true style: form - in: query - name: last_login__lt + name: last_updated__lte schema: type: array items: @@ -84912,7 +112319,7 @@ paths: explode: true style: form - in: query - name: last_login__lte + name: last_updated__n schema: type: array items: @@ -84920,17 +112327,19 @@ 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: last_login__n + name: modified_by_request schema: - type: array - items: - type: string - format: date-time - explode: true - style: form + type: string + format: uuid - in: query - name: last_name + name: name schema: type: array items: @@ -84938,11 +112347,11 @@ paths: explode: true style: form - in: query - name: last_name__empty + name: name__empty schema: type: boolean - in: query - name: last_name__ic + name: name__ic schema: type: array items: @@ -84950,7 +112359,7 @@ paths: explode: true style: form - in: query - name: last_name__ie + name: name__ie schema: type: array items: @@ -84958,7 +112367,7 @@ paths: explode: true style: form - in: query - name: last_name__iew + name: name__iew schema: type: array items: @@ -84966,7 +112375,7 @@ paths: explode: true style: form - in: query - name: last_name__isw + name: name__isw schema: type: array items: @@ -84974,7 +112383,7 @@ paths: explode: true style: form - in: query - name: last_name__n + name: name__n schema: type: array items: @@ -84982,7 +112391,7 @@ paths: explode: true style: form - in: query - name: last_name__nic + name: name__nic schema: type: array items: @@ -84990,7 +112399,7 @@ paths: explode: true style: form - in: query - name: last_name__nie + name: name__nie schema: type: array items: @@ -84998,7 +112407,7 @@ paths: explode: true style: form - in: query - name: last_name__niew + name: name__niew schema: type: array items: @@ -85006,19 +112415,13 @@ paths: explode: true style: form - in: query - name: last_name__nisw + name: name__nisw 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 @@ -85032,90 +112435,30 @@ paths: schema: type: string - in: query - name: permission_id + name: port schema: - type: array - items: - type: integer - description: Permission (ID) - explode: true - style: form + type: number - in: query - name: permission_id__n + name: protocol schema: - type: array - items: - type: integer - description: Permission (ID) - explode: true - style: form + type: string + x-spec-enum-id: 5521e084b1ad51de + enum: + - sctp + - tcp + - udp + description: '* `tcp` - TCP + + * `udp` - UDP + + * `sctp` - SCTP' - in: query name: q schema: type: string description: Search - in: query - name: username - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: username__empty - schema: - type: boolean - - 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__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 + name: tag schema: type: array items: @@ -85123,7 +112466,7 @@ paths: explode: true style: form - in: query - name: username__niew + name: tag__n schema: type: array items: @@ -85131,15 +112474,12 @@ paths: explode: true style: form - in: query - name: username__nisw + name: updated_by_request schema: - type: array - items: - type: string - explode: true - style: form + type: string + format: uuid tags: - - users + - ipam security: - cookieAuth: [] - tokenAuth: [] @@ -85148,21 +112488,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedUserList' + $ref: '#/components/schemas/PaginatedServiceTemplateList' description: '' post: - operationId: users_users_create - description: Post a list of user objects. + operationId: ipam_service_templates_create + description: Post a list of service template objects. tags: - - users + - ipam requestBody: content: application/json: schema: - $ref: '#/components/schemas/UserRequest' + $ref: '#/components/schemas/WritableServiceTemplateRequest' multipart/form-data: schema: - $ref: '#/components/schemas/UserRequest' + $ref: '#/components/schemas/WritableServiceTemplateRequest' required: true security: - cookieAuth: [] @@ -85172,25 +112512,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/User' + $ref: '#/components/schemas/ServiceTemplate' description: '' put: - operationId: users_users_bulk_update - description: Put a list of user objects. + operationId: ipam_service_templates_bulk_update + description: Put a list of service template objects. tags: - - users + - ipam requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/UserRequest' + $ref: '#/components/schemas/ServiceTemplateRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/UserRequest' + $ref: '#/components/schemas/ServiceTemplateRequest' required: true security: - cookieAuth: [] @@ -85202,25 +112542,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/User' + $ref: '#/components/schemas/ServiceTemplate' description: '' patch: - operationId: users_users_bulk_partial_update - description: Patch a list of user objects. + operationId: ipam_service_templates_bulk_partial_update + description: Patch a list of service template objects. tags: - - users + - ipam requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/UserRequest' + $ref: '#/components/schemas/ServiceTemplateRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/UserRequest' + $ref: '#/components/schemas/ServiceTemplateRequest' required: true security: - cookieAuth: [] @@ -85232,25 +112572,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/User' + $ref: '#/components/schemas/ServiceTemplate' description: '' delete: - operationId: users_users_bulk_destroy - description: Delete a list of user objects. + operationId: ipam_service_templates_bulk_destroy + description: Delete a list of service template objects. tags: - - users + - ipam requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/UserRequest' + $ref: '#/components/schemas/ServiceTemplateRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/UserRequest' + $ref: '#/components/schemas/ServiceTemplateRequest' required: true security: - cookieAuth: [] @@ -85258,19 +112598,19 @@ paths: responses: '204': description: No response body - /api/users/users/{id}/: + /api/ipam/service-templates/{id}/: get: - operationId: users_users_retrieve - description: Get a user object. + operationId: ipam_service_templates_retrieve + description: Get a service template object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this user. + description: A unique integer value identifying this service template. required: true tags: - - users + - ipam security: - cookieAuth: [] - tokenAuth: [] @@ -85279,28 +112619,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/User' + $ref: '#/components/schemas/ServiceTemplate' description: '' put: - operationId: users_users_update - description: Put a user object. + operationId: ipam_service_templates_update + description: Put a service template object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this user. + description: A unique integer value identifying this service template. required: true tags: - - users + - ipam requestBody: content: application/json: schema: - $ref: '#/components/schemas/UserRequest' + $ref: '#/components/schemas/WritableServiceTemplateRequest' multipart/form-data: schema: - $ref: '#/components/schemas/UserRequest' + $ref: '#/components/schemas/WritableServiceTemplateRequest' required: true security: - cookieAuth: [] @@ -85310,28 +112650,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/User' + $ref: '#/components/schemas/ServiceTemplate' description: '' patch: - operationId: users_users_partial_update - description: Patch a user object. + operationId: ipam_service_templates_partial_update + description: Patch a service template object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this user. + description: A unique integer value identifying this service template. required: true tags: - - users + - ipam requestBody: content: application/json: schema: - $ref: '#/components/schemas/PatchedUserRequest' + $ref: '#/components/schemas/PatchedWritableServiceTemplateRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedUserRequest' + $ref: '#/components/schemas/PatchedWritableServiceTemplateRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -85340,85 +112680,31 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/User' + $ref: '#/components/schemas/ServiceTemplate' description: '' delete: - operationId: users_users_destroy - description: Delete a user object. + operationId: ipam_service_templates_destroy + description: Delete a service template object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this user. + description: A unique integer value identifying this service template. required: true tags: - - users + - ipam security: - cookieAuth: [] - tokenAuth: [] responses: '204': description: No response body - /api/virtualization/cluster-groups/: + /api/ipam/services/: get: - operationId: virtualization_cluster_groups_list - description: Get a list of cluster group objects. + operationId: ipam_services_list + description: Get a list of service objects. parameters: - - in: query - name: contact - schema: - type: array - items: - type: integer - description: Contact - explode: true - style: form - - in: query - name: contact__n - schema: - type: array - items: - type: integer - description: Contact - explode: true - style: form - - in: query - name: contact_group - schema: - type: array - items: - type: integer - description: Contact group - explode: true - style: form - - in: query - name: contact_group__n - schema: - type: array - items: - type: integer - description: Contact group - explode: true - style: form - - in: query - name: contact_role - schema: - type: array - items: - type: integer - description: Contact Role - explode: true - style: form - - in: query - name: contact_role__n - schema: - type: array - items: - type: integer - description: Contact Role - explode: true - style: form - in: query name: created schema: @@ -85571,6 +112857,46 @@ paths: type: string explode: true style: form + - in: query + name: device + schema: + type: array + items: + type: string + nullable: true + description: Device (name) + explode: true + style: form + - in: query + name: device__n + schema: + type: array + items: + type: string + nullable: true + description: Device (name) + explode: true + style: form + - in: query + name: device_id + schema: + type: array + items: + type: integer + nullable: true + description: Device (ID) + explode: true + style: form + - in: query + name: device_id__n + schema: + type: array + items: + type: integer + nullable: true + description: Device (ID) + explode: true + style: form - in: query name: id schema: @@ -85629,6 +112955,42 @@ paths: format: int32 explode: true style: form + - in: query + name: ip_address + schema: + type: array + items: + type: string + description: IP address + explode: true + style: form + - in: query + name: ip_address__n + schema: + type: array + items: + type: string + description: IP address + explode: true + style: form + - in: query + name: ip_address_id + schema: + type: array + items: + type: integer + description: IP address (ID) + explode: true + style: form + - in: query + name: ip_address_id__n + schema: + type: array + items: + type: integer + description: IP address (ID) + explode: true + style: form - in: query name: last_updated schema: @@ -85800,56 +113162,30 @@ paths: schema: type: string - in: query - name: q - schema: - type: string - description: Search - - in: query - name: slug - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__empty - schema: - type: boolean - - in: query - name: slug__ic - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__ie + name: port schema: - type: array - items: - type: string - explode: true - style: form + type: number - in: query - name: slug__iew + name: protocol schema: - type: array - items: - type: string - explode: true - style: form + type: string + x-spec-enum-id: 5521e084b1ad51de + enum: + - sctp + - tcp + - udp + description: '* `tcp` - TCP + + * `udp` - UDP + + * `sctp` - SCTP' - in: query - name: slug__isw + name: q schema: - type: array - items: - type: string - explode: true - style: form + type: string + description: Search - in: query - name: slug__n + name: tag schema: type: array items: @@ -85857,7 +113193,7 @@ paths: explode: true style: form - in: query - name: slug__nic + name: tag__n schema: type: array items: @@ -85865,52 +113201,50 @@ paths: explode: true style: form - in: query - name: slug__nie + name: updated_by_request schema: - type: array - items: - type: string - explode: true - style: form + type: string + format: uuid - in: query - name: slug__niew + name: virtual_machine schema: type: array items: type: string + description: Virtual machine (name) explode: true style: form - in: query - name: slug__nisw + name: virtual_machine__n schema: type: array items: type: string + description: Virtual machine (name) explode: true style: form - in: query - name: tag + name: virtual_machine_id schema: type: array items: - type: string + type: integer + nullable: true + description: Virtual machine (ID) explode: true style: form - in: query - name: tag__n + name: virtual_machine_id__n schema: type: array items: - type: string + type: integer + nullable: true + description: Virtual machine (ID) explode: true style: form - - in: query - name: updated_by_request - schema: - type: string - format: uuid tags: - - virtualization + - ipam security: - cookieAuth: [] - tokenAuth: [] @@ -85919,21 +113253,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedClusterGroupList' + $ref: '#/components/schemas/PaginatedServiceList' description: '' post: - operationId: virtualization_cluster_groups_create - description: Post a list of cluster group objects. + operationId: ipam_services_create + description: Post a list of service objects. tags: - - virtualization + - ipam requestBody: content: application/json: schema: - $ref: '#/components/schemas/ClusterGroupRequest' + $ref: '#/components/schemas/WritableServiceRequest' multipart/form-data: schema: - $ref: '#/components/schemas/ClusterGroupRequest' + $ref: '#/components/schemas/WritableServiceRequest' required: true security: - cookieAuth: [] @@ -85943,25 +113277,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ClusterGroup' + $ref: '#/components/schemas/Service' description: '' put: - operationId: virtualization_cluster_groups_bulk_update - description: Put a list of cluster group objects. + operationId: ipam_services_bulk_update + description: Put a list of service objects. tags: - - virtualization + - ipam requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/ClusterGroupRequest' + $ref: '#/components/schemas/ServiceRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ClusterGroupRequest' + $ref: '#/components/schemas/ServiceRequest' required: true security: - cookieAuth: [] @@ -85973,25 +113307,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ClusterGroup' + $ref: '#/components/schemas/Service' description: '' patch: - operationId: virtualization_cluster_groups_bulk_partial_update - description: Patch a list of cluster group objects. + operationId: ipam_services_bulk_partial_update + description: Patch a list of service objects. tags: - - virtualization + - ipam requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/ClusterGroupRequest' + $ref: '#/components/schemas/ServiceRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ClusterGroupRequest' + $ref: '#/components/schemas/ServiceRequest' required: true security: - cookieAuth: [] @@ -86003,25 +113337,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ClusterGroup' + $ref: '#/components/schemas/Service' description: '' delete: - operationId: virtualization_cluster_groups_bulk_destroy - description: Delete a list of cluster group objects. + operationId: ipam_services_bulk_destroy + description: Delete a list of service objects. tags: - - virtualization + - ipam requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/ClusterGroupRequest' + $ref: '#/components/schemas/ServiceRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ClusterGroupRequest' + $ref: '#/components/schemas/ServiceRequest' required: true security: - cookieAuth: [] @@ -86029,19 +113363,19 @@ paths: responses: '204': description: No response body - /api/virtualization/cluster-groups/{id}/: + /api/ipam/services/{id}/: get: - operationId: virtualization_cluster_groups_retrieve - description: Get a cluster group object. + operationId: ipam_services_retrieve + description: Get a service object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this cluster group. + description: A unique integer value identifying this service. required: true tags: - - virtualization + - ipam security: - cookieAuth: [] - tokenAuth: [] @@ -86050,28 +113384,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ClusterGroup' + $ref: '#/components/schemas/Service' description: '' put: - operationId: virtualization_cluster_groups_update - description: Put a cluster group object. + operationId: ipam_services_update + description: Put a service object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this cluster group. + description: A unique integer value identifying this service. required: true tags: - - virtualization + - ipam requestBody: content: application/json: schema: - $ref: '#/components/schemas/ClusterGroupRequest' + $ref: '#/components/schemas/WritableServiceRequest' multipart/form-data: schema: - $ref: '#/components/schemas/ClusterGroupRequest' + $ref: '#/components/schemas/WritableServiceRequest' required: true security: - cookieAuth: [] @@ -86081,28 +113415,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ClusterGroup' + $ref: '#/components/schemas/Service' description: '' patch: - operationId: virtualization_cluster_groups_partial_update - description: Patch a cluster group object. + operationId: ipam_services_partial_update + description: Patch a service object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this cluster group. + description: A unique integer value identifying this service. required: true tags: - - virtualization + - ipam requestBody: content: application/json: schema: - $ref: '#/components/schemas/PatchedClusterGroupRequest' + $ref: '#/components/schemas/PatchedWritableServiceRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedClusterGroupRequest' + $ref: '#/components/schemas/PatchedWritableServiceRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -86111,31 +113445,43 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ClusterGroup' + $ref: '#/components/schemas/Service' description: '' delete: - operationId: virtualization_cluster_groups_destroy - description: Delete a cluster group object. + operationId: ipam_services_destroy + description: Delete a service object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this cluster group. + description: A unique integer value identifying this service. required: true tags: - - virtualization + - ipam security: - cookieAuth: [] - tokenAuth: [] responses: '204': description: No response body - /api/virtualization/cluster-types/: + /api/ipam/vlan-groups/: get: - operationId: virtualization_cluster_types_list - description: Get a list of cluster type objects. + operationId: ipam_vlan_groups_list + description: Get a list of VLAN group objects. parameters: + - in: query + name: cluster + schema: + type: integer + - in: query + name: cluster_group + schema: + type: integer + - in: query + name: contains_vid + schema: + type: number - in: query name: created schema: @@ -86415,6 +113761,10 @@ paths: description: Number of results to return per page. schema: type: integer + - in: query + name: location + schema: + type: integer - in: query name: modified_by_request schema: @@ -86521,6 +113871,88 @@ paths: schema: type: string description: Search + - in: query + name: rack + schema: + type: integer + - in: query + name: region + schema: + type: integer + - in: query + name: scope_id + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: scope_id__empty + schema: + type: boolean + - in: query + name: scope_id__gt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: scope_id__gte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: scope_id__lt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: scope_id__lte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: scope_id__n + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: scope_type + schema: + type: string + - in: query + name: scope_type__n + schema: + type: string + - in: query + name: site + schema: + type: integer + - in: query + name: site_group + schema: + type: integer - in: query name: slug schema: @@ -86627,7 +114059,7 @@ paths: type: string format: uuid tags: - - virtualization + - ipam security: - cookieAuth: [] - tokenAuth: [] @@ -86636,21 +114068,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedClusterTypeList' + $ref: '#/components/schemas/PaginatedVLANGroupList' description: '' post: - operationId: virtualization_cluster_types_create - description: Post a list of cluster type objects. + operationId: ipam_vlan_groups_create + description: Post a list of VLAN group objects. tags: - - virtualization + - ipam requestBody: content: application/json: schema: - $ref: '#/components/schemas/ClusterTypeRequest' + $ref: '#/components/schemas/VLANGroupRequest' multipart/form-data: schema: - $ref: '#/components/schemas/ClusterTypeRequest' + $ref: '#/components/schemas/VLANGroupRequest' required: true security: - cookieAuth: [] @@ -86660,25 +114092,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ClusterType' + $ref: '#/components/schemas/VLANGroup' description: '' put: - operationId: virtualization_cluster_types_bulk_update - description: Put a list of cluster type objects. + operationId: ipam_vlan_groups_bulk_update + description: Put a list of VLAN group objects. tags: - - virtualization + - ipam requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/ClusterTypeRequest' + $ref: '#/components/schemas/VLANGroupRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ClusterTypeRequest' + $ref: '#/components/schemas/VLANGroupRequest' required: true security: - cookieAuth: [] @@ -86690,25 +114122,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ClusterType' + $ref: '#/components/schemas/VLANGroup' description: '' patch: - operationId: virtualization_cluster_types_bulk_partial_update - description: Patch a list of cluster type objects. + operationId: ipam_vlan_groups_bulk_partial_update + description: Patch a list of VLAN group objects. tags: - - virtualization + - ipam requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/ClusterTypeRequest' + $ref: '#/components/schemas/VLANGroupRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ClusterTypeRequest' + $ref: '#/components/schemas/VLANGroupRequest' required: true security: - cookieAuth: [] @@ -86720,25 +114152,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ClusterType' + $ref: '#/components/schemas/VLANGroup' description: '' delete: - operationId: virtualization_cluster_types_bulk_destroy - description: Delete a list of cluster type objects. + operationId: ipam_vlan_groups_bulk_destroy + description: Delete a list of VLAN group objects. tags: - - virtualization + - ipam requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/ClusterTypeRequest' + $ref: '#/components/schemas/VLANGroupRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ClusterTypeRequest' + $ref: '#/components/schemas/VLANGroupRequest' required: true security: - cookieAuth: [] @@ -86746,19 +114178,19 @@ paths: responses: '204': description: No response body - /api/virtualization/cluster-types/{id}/: + /api/ipam/vlan-groups/{id}/: get: - operationId: virtualization_cluster_types_retrieve - description: Get a cluster type object. + operationId: ipam_vlan_groups_retrieve + description: Get a VLAN group object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this cluster type. + description: A unique integer value identifying this VLAN group. required: true tags: - - virtualization + - ipam security: - cookieAuth: [] - tokenAuth: [] @@ -86767,28 +114199,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ClusterType' + $ref: '#/components/schemas/VLANGroup' description: '' put: - operationId: virtualization_cluster_types_update - description: Put a cluster type object. + operationId: ipam_vlan_groups_update + description: Put a VLAN group object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this cluster type. + description: A unique integer value identifying this VLAN group. required: true tags: - - virtualization + - ipam requestBody: content: application/json: schema: - $ref: '#/components/schemas/ClusterTypeRequest' + $ref: '#/components/schemas/VLANGroupRequest' multipart/form-data: schema: - $ref: '#/components/schemas/ClusterTypeRequest' + $ref: '#/components/schemas/VLANGroupRequest' required: true security: - cookieAuth: [] @@ -86798,28 +114230,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ClusterType' + $ref: '#/components/schemas/VLANGroup' description: '' patch: - operationId: virtualization_cluster_types_partial_update - description: Patch a cluster type object. + operationId: ipam_vlan_groups_partial_update + description: Patch a VLAN group object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this cluster type. + description: A unique integer value identifying this VLAN group. required: true tags: - - virtualization + - ipam requestBody: content: application/json: schema: - $ref: '#/components/schemas/PatchedClusterTypeRequest' + $ref: '#/components/schemas/PatchedVLANGroupRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedClusterTypeRequest' + $ref: '#/components/schemas/PatchedVLANGroupRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -86828,85 +114260,103 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ClusterType' + $ref: '#/components/schemas/VLANGroup' description: '' delete: - operationId: virtualization_cluster_types_destroy - description: Delete a cluster type object. + operationId: ipam_vlan_groups_destroy + description: Delete a VLAN group object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this cluster type. + description: A unique integer value identifying this VLAN group. required: true tags: - - virtualization + - ipam security: - cookieAuth: [] - tokenAuth: [] responses: '204': description: No response body - /api/virtualization/clusters/: + /api/ipam/vlan-groups/{id}/available-vlans/: get: - operationId: virtualization_clusters_list - description: Get a list of cluster objects. + operationId: ipam_vlan_groups_available_vlans_list + description: Get a VLAN object. parameters: - - in: query - name: contact - schema: - type: array - items: - type: integer - description: Contact - explode: true - style: form - - in: query - name: contact__n + - in: path + name: id schema: - type: array - items: - type: integer - description: Contact - explode: true - style: form - - in: query - name: contact_group + type: integer + required: true + tags: + - ipam + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/AvailableVLAN' + description: '' + post: + operationId: ipam_vlan_groups_available_vlans_create + description: Post a VLAN object. + parameters: + - in: path + name: id schema: - type: array - items: - type: integer - description: Contact group - explode: true - style: form + type: integer + required: true + tags: + - ipam + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/VLANRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/VLANRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/VLAN' + description: '' + /api/ipam/vlans/: + get: + operationId: ipam_vlans_list + description: Get a list of VLAN objects. + parameters: - in: query - name: contact_group__n + name: available_at_site schema: - type: array - items: - type: integer - description: Contact group - explode: true - style: form + type: string - in: query - name: contact_role + name: available_on_device schema: - type: array - items: - type: integer - description: Contact Role - explode: true - style: form + type: string - in: query - name: contact_role__n + name: available_on_virtualmachine schema: - type: array - items: - type: integer - description: Contact Role - explode: true - style: form + type: string - in: query name: created schema: @@ -87065,7 +114515,7 @@ paths: type: array items: type: string - description: Parent group (slug) + description: Group explode: true style: form - in: query @@ -87074,7 +114524,7 @@ paths: type: array items: type: string - description: Parent group (slug) + description: Group explode: true style: form - in: query @@ -87084,7 +114534,7 @@ paths: items: type: integer nullable: true - description: Parent group (ID) + description: Group (ID) explode: true style: form - in: query @@ -87094,7 +114544,7 @@ paths: items: type: integer nullable: true - description: Parent group (ID) + description: Group (ID) explode: true style: form - in: query @@ -87155,6 +114605,50 @@ paths: format: int32 explode: true style: form + - in: query + name: l2vpn + schema: + type: array + items: + type: integer + maximum: 9223372036854775807 + minimum: -9223372036854775808 + format: int64 + nullable: true + description: L2VPN + explode: true + style: form + - in: query + name: l2vpn__n + schema: + type: array + items: + type: integer + maximum: 9223372036854775807 + minimum: -9223372036854775808 + format: int64 + nullable: true + description: L2VPN + explode: true + style: form + - in: query + name: l2vpn_id + schema: + type: array + items: + type: integer + description: L2VPN (ID) + explode: true + style: form + - in: query + name: l2vpn_id__n + schema: + type: array + items: + type: integer + description: L2VPN (ID) + explode: true + style: form - in: query name: last_updated schema: @@ -87335,8 +114829,7 @@ paths: schema: type: array items: - type: integer - description: Region (slug) + type: string explode: true style: form - in: query @@ -87344,8 +114837,7 @@ paths: schema: type: array items: - type: integer - description: Region (slug) + type: string explode: true style: form - in: query @@ -87353,17 +114845,53 @@ paths: schema: type: array items: - type: integer - description: Region (ID) + type: string explode: true style: form - in: query name: region_id__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: role + schema: + type: array + items: + type: string + description: Role (slug) + explode: true + style: form + - in: query + name: role__n + schema: + type: array + items: + type: string + description: Role (slug) + explode: true + style: form + - in: query + name: role_id schema: type: array items: type: integer - description: Region (ID) + nullable: true + description: Role (ID) + explode: true + style: form + - in: query + name: role_id__n + schema: + type: array + items: + type: integer + nullable: true + description: Role (ID) explode: true style: form - in: query @@ -87389,8 +114917,7 @@ paths: schema: type: array items: - type: integer - description: Site group (slug) + type: string explode: true style: form - in: query @@ -87398,8 +114925,7 @@ paths: schema: type: array items: - type: integer - description: Site group (slug) + type: string explode: true style: form - in: query @@ -87407,8 +114933,7 @@ paths: schema: type: array items: - type: integer - description: Site group (ID) + type: string explode: true style: form - in: query @@ -87416,8 +114941,7 @@ paths: schema: type: array items: - type: integer - description: Site group (ID) + type: string explode: true style: form - in: query @@ -87446,7 +114970,96 @@ paths: type: array items: type: string - x-spec-enum-id: 79d20a734d0eecbb + x-spec-enum-id: 6388dfb94ca1cc15 + description: Operational status of this VLAN + explode: true + style: form + - in: query + name: status__empty + schema: + type: boolean + - in: query + name: status__ic + schema: + type: array + items: + type: string + x-spec-enum-id: 6388dfb94ca1cc15 + enum: + - active + - deprecated + - reserved + description: 'Operational status of this VLAN + + + * `active` - Active + + * `reserved` - Reserved + + * `deprecated` - Deprecated' + explode: true + style: form + - in: query + name: status__ie + schema: + type: array + items: + type: string + x-spec-enum-id: 6388dfb94ca1cc15 + enum: + - active + - deprecated + - reserved + description: 'Operational status of this VLAN + + + * `active` - Active + + * `reserved` - Reserved + + * `deprecated` - Deprecated' + explode: true + style: form + - in: query + name: status__iew + schema: + type: array + items: + type: string + x-spec-enum-id: 6388dfb94ca1cc15 + enum: + - active + - deprecated + - reserved + description: 'Operational status of this VLAN + + + * `active` - Active + + * `reserved` - Reserved + + * `deprecated` - Deprecated' + explode: true + style: form + - in: query + name: status__isw + schema: + type: array + items: + type: string + x-spec-enum-id: 6388dfb94ca1cc15 + enum: + - active + - deprecated + - reserved + description: 'Operational status of this VLAN + + + * `active` - Active + + * `reserved` - Reserved + + * `deprecated` - Deprecated' explode: true style: form - in: query @@ -87455,7 +115068,103 @@ paths: type: array items: type: string - x-spec-enum-id: 79d20a734d0eecbb + x-spec-enum-id: 6388dfb94ca1cc15 + enum: + - active + - deprecated + - reserved + description: 'Operational status of this VLAN + + + * `active` - Active + + * `reserved` - Reserved + + * `deprecated` - Deprecated' + explode: true + style: form + - in: query + name: status__nic + schema: + type: array + items: + type: string + x-spec-enum-id: 6388dfb94ca1cc15 + enum: + - active + - deprecated + - reserved + description: 'Operational status of this VLAN + + + * `active` - Active + + * `reserved` - Reserved + + * `deprecated` - Deprecated' + explode: true + style: form + - in: query + name: status__nie + schema: + type: array + items: + type: string + x-spec-enum-id: 6388dfb94ca1cc15 + enum: + - active + - deprecated + - reserved + description: 'Operational status of this VLAN + + + * `active` - Active + + * `reserved` - Reserved + + * `deprecated` - Deprecated' + explode: true + style: form + - in: query + name: status__niew + schema: + type: array + items: + type: string + x-spec-enum-id: 6388dfb94ca1cc15 + enum: + - active + - deprecated + - reserved + description: 'Operational status of this VLAN + + + * `active` - Active + + * `reserved` - Reserved + + * `deprecated` - Deprecated' + explode: true + style: form + - in: query + name: status__nisw + schema: + type: array + items: + type: string + x-spec-enum-id: 6388dfb94ca1cc15 + enum: + - active + - deprecated + - reserved + description: 'Operational status of this VLAN + + + * `active` - Active + + * `reserved` - Reserved + + * `deprecated` - Deprecated' explode: true style: form - in: query @@ -87497,8 +115206,7 @@ paths: schema: type: array items: - type: integer - description: Tenant Group (slug) + type: string explode: true style: form - in: query @@ -87506,8 +115214,7 @@ paths: schema: type: array items: - type: integer - description: Tenant Group (slug) + type: string explode: true style: form - in: query @@ -87515,8 +115222,7 @@ paths: schema: type: array items: - type: integer - description: Tenant Group (ID) + type: string explode: true style: form - in: query @@ -87524,8 +115230,7 @@ paths: schema: type: array items: - type: integer - description: Tenant Group (ID) + type: string explode: true style: form - in: query @@ -87549,48 +115254,70 @@ paths: explode: true style: form - in: query - name: type + name: updated_by_request + schema: + type: string + format: uuid + - in: query + name: vid schema: type: array items: - type: string - description: Cluster type (slug) + type: integer + format: int32 explode: true style: form - in: query - name: type__n + name: vid__empty + schema: + type: boolean + - in: query + name: vid__gt schema: type: array items: - type: string - description: Cluster type (slug) + type: integer + format: int32 explode: true style: form - in: query - name: type_id + name: vid__gte schema: type: array items: type: integer - description: Cluster type (ID) + format: int32 explode: true style: form - in: query - name: type_id__n + name: vid__lt schema: type: array items: type: integer - description: Cluster type (ID) + format: int32 explode: true style: form - in: query - name: updated_by_request + name: vid__lte schema: - type: string - format: uuid + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: vid__n + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form tags: - - virtualization + - ipam security: - cookieAuth: [] - tokenAuth: [] @@ -87599,21 +115326,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedClusterList' + $ref: '#/components/schemas/PaginatedVLANList' description: '' post: - operationId: virtualization_clusters_create - description: Post a list of cluster objects. + operationId: ipam_vlans_create + description: Post a list of VLAN objects. tags: - - virtualization + - ipam requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableClusterRequest' + $ref: '#/components/schemas/WritableVLANRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableClusterRequest' + $ref: '#/components/schemas/WritableVLANRequest' required: true security: - cookieAuth: [] @@ -87623,25 +115350,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Cluster' + $ref: '#/components/schemas/VLAN' description: '' put: - operationId: virtualization_clusters_bulk_update - description: Put a list of cluster objects. + operationId: ipam_vlans_bulk_update + description: Put a list of VLAN objects. tags: - - virtualization + - ipam requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/ClusterRequest' + $ref: '#/components/schemas/VLANRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ClusterRequest' + $ref: '#/components/schemas/VLANRequest' required: true security: - cookieAuth: [] @@ -87653,25 +115380,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/Cluster' + $ref: '#/components/schemas/VLAN' description: '' patch: - operationId: virtualization_clusters_bulk_partial_update - description: Patch a list of cluster objects. + operationId: ipam_vlans_bulk_partial_update + description: Patch a list of VLAN objects. tags: - - virtualization + - ipam requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/ClusterRequest' + $ref: '#/components/schemas/VLANRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ClusterRequest' + $ref: '#/components/schemas/VLANRequest' required: true security: - cookieAuth: [] @@ -87683,25 +115410,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/Cluster' + $ref: '#/components/schemas/VLAN' description: '' delete: - operationId: virtualization_clusters_bulk_destroy - description: Delete a list of cluster objects. + operationId: ipam_vlans_bulk_destroy + description: Delete a list of VLAN objects. tags: - - virtualization + - ipam requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/ClusterRequest' + $ref: '#/components/schemas/VLANRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/ClusterRequest' + $ref: '#/components/schemas/VLANRequest' required: true security: - cookieAuth: [] @@ -87709,19 +115436,19 @@ paths: responses: '204': description: No response body - /api/virtualization/clusters/{id}/: + /api/ipam/vlans/{id}/: get: - operationId: virtualization_clusters_retrieve - description: Get a cluster object. + operationId: ipam_vlans_retrieve + description: Get a VLAN object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this cluster. + description: A unique integer value identifying this VLAN. required: true tags: - - virtualization + - ipam security: - cookieAuth: [] - tokenAuth: [] @@ -87730,28 +115457,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Cluster' + $ref: '#/components/schemas/VLAN' description: '' put: - operationId: virtualization_clusters_update - description: Put a cluster object. + operationId: ipam_vlans_update + description: Put a VLAN object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this cluster. + description: A unique integer value identifying this VLAN. required: true tags: - - virtualization + - ipam requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableClusterRequest' + $ref: '#/components/schemas/WritableVLANRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableClusterRequest' + $ref: '#/components/schemas/WritableVLANRequest' required: true security: - cookieAuth: [] @@ -87761,28 +115488,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Cluster' + $ref: '#/components/schemas/VLAN' description: '' patch: - operationId: virtualization_clusters_partial_update - description: Patch a cluster object. + operationId: ipam_vlans_partial_update + description: Patch a VLAN object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this cluster. + description: A unique integer value identifying this VLAN. required: true tags: - - virtualization + - ipam requestBody: content: application/json: schema: - $ref: '#/components/schemas/PatchedWritableClusterRequest' + $ref: '#/components/schemas/PatchedWritableVLANRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedWritableClusterRequest' + $ref: '#/components/schemas/PatchedWritableVLANRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -87791,85 +115518,31 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Cluster' + $ref: '#/components/schemas/VLAN' description: '' delete: - operationId: virtualization_clusters_destroy - description: Delete a cluster object. + operationId: ipam_vlans_destroy + description: Delete a VLAN object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this cluster. + description: A unique integer value identifying this VLAN. required: true tags: - - virtualization + - ipam security: - cookieAuth: [] - tokenAuth: [] responses: '204': description: No response body - /api/virtualization/interfaces/: + /api/ipam/vrfs/: get: - operationId: virtualization_interfaces_list - description: Get a list of interface objects. + operationId: ipam_vrfs_list + description: Get a list of VRF objects. parameters: - - in: query - name: bridge_id - schema: - type: array - items: - type: integer - description: Bridged interface (ID) - explode: true - style: form - - in: query - name: bridge_id__n - schema: - type: array - items: - type: integer - description: Bridged interface (ID) - explode: true - style: form - - in: query - name: cluster - schema: - type: array - items: - type: string - description: Cluster - explode: true - style: form - - in: query - name: cluster__n - schema: - type: array - items: - type: string - description: Cluster - explode: true - style: form - - in: query - name: cluster_id - schema: - type: array - items: - type: integer - description: Cluster (ID) - explode: true - style: form - - in: query - name: cluster_id__n - schema: - type: array - items: - type: integer - description: Cluster (ID) - explode: true - style: form - in: query name: created schema: @@ -88023,9 +115696,45 @@ paths: explode: true style: form - in: query - name: enabled + name: enforce_unique schema: type: boolean + - in: query + name: export_target + schema: + type: array + items: + type: string + description: Export target (name) + explode: true + style: form + - in: query + name: export_target__n + schema: + type: array + items: + type: string + description: Export target (name) + explode: true + style: form + - in: query + name: export_target_id + schema: + type: array + items: + type: integer + description: Export target + explode: true + style: form + - in: query + name: export_target_id__n + schema: + type: array + items: + type: integer + description: Export target + explode: true + style: form - in: query name: id schema: @@ -88085,47 +115794,39 @@ paths: explode: true style: form - in: query - name: l2vpn + name: import_target schema: type: array items: - type: integer - maximum: 9223372036854775807 - minimum: -9223372036854775808 - format: int64 - nullable: true - description: L2VPN + type: string + description: Import target (name) explode: true style: form - in: query - name: l2vpn__n + name: import_target__n schema: type: array items: - type: integer - maximum: 9223372036854775807 - minimum: -9223372036854775808 - format: int64 - nullable: true - description: L2VPN + type: string + description: Import target (name) explode: true style: form - in: query - name: l2vpn_id + name: import_target_id schema: type: array items: type: integer - description: L2VPN (ID) + description: Import target explode: true style: form - in: query - name: l2vpn_id__n + name: import_target_id__n schema: type: array items: type: integer - description: L2VPN (ID) + description: Import target explode: true style: form - in: query @@ -88198,15 +115899,12 @@ paths: schema: type: integer - in: query - name: mac_address + name: modified_by_request schema: - type: array - items: - type: string - explode: true - style: form + type: string + format: uuid - in: query - name: mac_address__ic + name: name schema: type: array items: @@ -88214,15 +115912,11 @@ paths: explode: true style: form - in: query - name: mac_address__ie + name: name__empty schema: - type: array - items: - type: string - explode: true - style: form + type: boolean - in: query - name: mac_address__iew + name: name__ic schema: type: array items: @@ -88230,7 +115924,7 @@ paths: explode: true style: form - in: query - name: mac_address__isw + name: name__ie schema: type: array items: @@ -88238,7 +115932,7 @@ paths: explode: true style: form - in: query - name: mac_address__n + name: name__iew schema: type: array items: @@ -88246,7 +115940,7 @@ paths: explode: true style: form - in: query - name: mac_address__nic + name: name__isw schema: type: array items: @@ -88254,7 +115948,7 @@ paths: explode: true style: form - in: query - name: mac_address__nie + name: name__n schema: type: array items: @@ -88262,7 +115956,7 @@ paths: explode: true style: form - in: query - name: mac_address__niew + name: name__nic schema: type: array items: @@ -88270,7 +115964,7 @@ paths: explode: true style: form - in: query - name: mac_address__nisw + name: name__nie schema: type: array items: @@ -88278,104 +115972,40 @@ paths: explode: true style: form - in: query - name: mode - schema: - type: string - x-spec-enum-id: 79109bd9dbb73a3c - enum: - - access - - tagged - - tagged-all - description: 'IEEE 802.1Q tagging strategy - - - * `access` - Access - - * `tagged` - Tagged - - * `tagged-all` - Tagged (All)' - - in: query - name: mode__n - schema: - type: string - x-spec-enum-id: 79109bd9dbb73a3c - enum: - - access - - tagged - - tagged-all - description: 'IEEE 802.1Q tagging strategy - - - * `access` - Access - - * `tagged` - Tagged - - * `tagged-all` - Tagged (All)' - - in: query - name: modified_by_request - schema: - type: string - format: uuid - - in: query - name: mtu - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: mtu__empty - schema: - type: boolean - - in: query - name: mtu__gt + name: name__niew schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: mtu__gte + name: name__nisw schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - - in: query - name: mtu__lt + - name: offset + required: false + in: query + description: The initial index from which to return the results. schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: mtu__lte + type: integer + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form + type: string - in: query - name: mtu__n + name: q schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form + type: string + description: Search - in: query - name: name + name: rd schema: type: array items: @@ -88383,11 +116013,11 @@ paths: explode: true style: form - in: query - name: name__empty + name: rd__empty schema: type: boolean - in: query - name: name__ic + name: rd__ic schema: type: array items: @@ -88395,7 +116025,7 @@ paths: explode: true style: form - in: query - name: name__ie + name: rd__ie schema: type: array items: @@ -88403,7 +116033,7 @@ paths: explode: true style: form - in: query - name: name__iew + name: rd__iew schema: type: array items: @@ -88411,7 +116041,7 @@ paths: explode: true style: form - in: query - name: name__isw + name: rd__isw schema: type: array items: @@ -88419,7 +116049,7 @@ paths: explode: true style: form - in: query - name: name__n + name: rd__n schema: type: array items: @@ -88427,7 +116057,7 @@ paths: explode: true style: form - in: query - name: name__nic + name: rd__nic schema: type: array items: @@ -88435,7 +116065,7 @@ paths: explode: true style: form - in: query - name: name__nie + name: rd__nie schema: type: array items: @@ -88443,7 +116073,7 @@ paths: explode: true style: form - in: query - name: name__niew + name: rd__niew schema: type: array items: @@ -88451,48 +116081,13 @@ paths: explode: true style: form - in: query - name: name__nisw + name: rd__nisw 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 - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - in: query - name: parent_id - schema: - type: array - items: - type: integer - description: Parent interface (ID) - explode: true - style: form - - in: query - name: parent_id__n - schema: - type: array - items: - type: integer - description: Parent interface (ID) - explode: true - style: form - - in: query - name: q - schema: - type: string - description: Search - in: query name: tag schema: @@ -88510,98 +116105,82 @@ paths: explode: true style: form - in: query - name: updated_by_request - schema: - type: string - format: uuid - - in: query - name: virtual_machine + name: tenant schema: type: array items: type: string - description: Virtual machine + description: Tenant (slug) explode: true style: form - in: query - name: virtual_machine__n + name: tenant__n schema: type: array items: type: string - description: Virtual machine + description: Tenant (slug) explode: true style: form - in: query - name: virtual_machine_id + name: tenant_group schema: type: array items: - type: integer - description: Virtual machine (ID) + type: string explode: true style: form - in: query - name: virtual_machine_id__n + name: tenant_group__n schema: type: array items: - type: integer - description: Virtual machine (ID) + type: string explode: true style: form - in: query - name: vlan - schema: - type: string - description: Assigned VID - - in: query - name: vlan_id - schema: - type: string - description: Assigned VLAN - - in: query - name: vrf + name: tenant_group_id schema: type: array items: type: string - nullable: true - title: Route distinguisher - description: VRF (RD) explode: true style: form - in: query - name: vrf__n + name: tenant_group_id__n schema: type: array items: type: string - nullable: true - title: Route distinguisher - description: VRF (RD) explode: true style: form - in: query - name: vrf_id + name: tenant_id schema: type: array items: type: integer - description: VRF + nullable: true + description: Tenant (ID) explode: true style: form - in: query - name: vrf_id__n + name: tenant_id__n schema: type: array items: type: integer - description: VRF + nullable: true + description: Tenant (ID) explode: true style: form + - in: query + name: updated_by_request + schema: + type: string + format: uuid tags: - - virtualization + - ipam security: - cookieAuth: [] - tokenAuth: [] @@ -88610,21 +116189,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedVMInterfaceList' + $ref: '#/components/schemas/PaginatedVRFList' description: '' post: - operationId: virtualization_interfaces_create - description: Post a list of interface objects. + operationId: ipam_vrfs_create + description: Post a list of VRF objects. tags: - - virtualization + - ipam requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableVMInterfaceRequest' + $ref: '#/components/schemas/VRFRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableVMInterfaceRequest' + $ref: '#/components/schemas/VRFRequest' required: true security: - cookieAuth: [] @@ -88634,25 +116213,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/VMInterface' + $ref: '#/components/schemas/VRF' description: '' put: - operationId: virtualization_interfaces_bulk_update - description: Put a list of interface objects. + operationId: ipam_vrfs_bulk_update + description: Put a list of VRF objects. tags: - - virtualization + - ipam requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/VMInterfaceRequest' + $ref: '#/components/schemas/VRFRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/VMInterfaceRequest' + $ref: '#/components/schemas/VRFRequest' required: true security: - cookieAuth: [] @@ -88664,25 +116243,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/VMInterface' + $ref: '#/components/schemas/VRF' description: '' patch: - operationId: virtualization_interfaces_bulk_partial_update - description: Patch a list of interface objects. + operationId: ipam_vrfs_bulk_partial_update + description: Patch a list of VRF objects. tags: - - virtualization + - ipam requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/VMInterfaceRequest' + $ref: '#/components/schemas/VRFRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/VMInterfaceRequest' + $ref: '#/components/schemas/VRFRequest' required: true security: - cookieAuth: [] @@ -88694,25 +116273,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/VMInterface' + $ref: '#/components/schemas/VRF' description: '' delete: - operationId: virtualization_interfaces_bulk_destroy - description: Delete a list of interface objects. + operationId: ipam_vrfs_bulk_destroy + description: Delete a list of VRF objects. tags: - - virtualization + - ipam requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/VMInterfaceRequest' + $ref: '#/components/schemas/VRFRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/VMInterfaceRequest' + $ref: '#/components/schemas/VRFRequest' required: true security: - cookieAuth: [] @@ -88720,19 +116299,19 @@ paths: responses: '204': description: No response body - /api/virtualization/interfaces/{id}/: + /api/ipam/vrfs/{id}/: get: - operationId: virtualization_interfaces_retrieve - description: Get a interface object. + operationId: ipam_vrfs_retrieve + description: Get a VRF object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this interface. + description: A unique integer value identifying this VRF. required: true tags: - - virtualization + - ipam security: - cookieAuth: [] - tokenAuth: [] @@ -88741,28 +116320,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/VMInterface' + $ref: '#/components/schemas/VRF' description: '' put: - operationId: virtualization_interfaces_update - description: Put a interface object. + operationId: ipam_vrfs_update + description: Put a VRF object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this interface. + description: A unique integer value identifying this VRF. required: true tags: - - virtualization + - ipam requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableVMInterfaceRequest' + $ref: '#/components/schemas/VRFRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableVMInterfaceRequest' + $ref: '#/components/schemas/VRFRequest' required: true security: - cookieAuth: [] @@ -88772,28 +116351,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/VMInterface' + $ref: '#/components/schemas/VRF' description: '' patch: - operationId: virtualization_interfaces_partial_update - description: Patch a interface object. + operationId: ipam_vrfs_partial_update + description: Patch a VRF object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this interface. + description: A unique integer value identifying this VRF. required: true tags: - - virtualization + - ipam requestBody: content: application/json: schema: - $ref: '#/components/schemas/PatchedWritableVMInterfaceRequest' + $ref: '#/components/schemas/PatchedVRFRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedWritableVMInterfaceRequest' + $ref: '#/components/schemas/PatchedVRFRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -88802,69 +116381,133 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/VMInterface' + $ref: '#/components/schemas/VRF' description: '' delete: - operationId: virtualization_interfaces_destroy - description: Delete a interface object. + operationId: ipam_vrfs_destroy + description: Delete a VRF object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this interface. + description: A unique integer value identifying this VRF. required: true tags: - - virtualization + - ipam security: - cookieAuth: [] - tokenAuth: [] responses: '204': description: No response body - /api/virtualization/virtual-disks/: + /api/schema/: get: - operationId: virtualization_virtual_disks_list - description: Get a list of virtual disk objects. + operationId: schema_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: created + name: format schema: - type: array - items: - type: string - format: date-time - explode: true - style: form + type: string + enum: + - json + - yaml - in: query - name: created__empty + name: lang schema: - type: array - items: - type: string - format: date-time - explode: true - style: form + type: string + enum: + - cs + - da + - de + - en + - es + - fr + - it + - ja + - nl + - pl + - pt + - ru + - tr + - uk + - zh + tags: + - schema + 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: '' + /api/status/: + get: + operationId: status_retrieve + description: A lightweight read-only endpoint for conveying NetBox's current + operational status. + tags: + - status + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + type: object + additionalProperties: {} + description: '' + /api/tenancy/contact-assignments/: + get: + operationId: tenancy_contact_assignments_list + description: Get a list of contact assignment objects. + parameters: - in: query - name: created__gt + name: contact_id schema: type: array items: - type: string - format: date-time + type: integer + description: Contact (ID) explode: true style: form - in: query - name: created__gte + name: contact_id__n schema: type: array items: - type: string - format: date-time + type: integer + description: Contact (ID) explode: true style: form - in: query - name: created__lt + name: created schema: type: array items: @@ -88873,7 +116516,7 @@ paths: explode: true style: form - in: query - name: created__lte + name: created__empty schema: type: array items: @@ -88882,7 +116525,7 @@ paths: explode: true style: form - in: query - name: created__n + name: created__gt schema: type: array items: @@ -88891,64 +116534,48 @@ paths: explode: true style: form - in: query - name: created_by_request - schema: - type: string - format: uuid - - in: query - name: description - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: description__empty - schema: - type: boolean - - in: query - name: description__ic + name: created__gte schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: description__ie + name: created__lt schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: description__iew + name: created__lte schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: description__isw + name: created__n schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: description__n + name: created_by_request schema: - type: array - items: - type: string - explode: true - style: form + type: string + format: uuid - in: query - name: description__nic + name: group schema: type: array items: @@ -88956,7 +116583,7 @@ paths: explode: true style: form - in: query - name: description__nie + name: group__n schema: type: array items: @@ -88964,7 +116591,7 @@ paths: explode: true style: form - in: query - name: description__niew + name: group_id schema: type: array items: @@ -88972,7 +116599,7 @@ paths: explode: true style: form - in: query - name: description__nisw + name: group_id__n schema: type: array items: @@ -89112,89 +116739,79 @@ paths: type: string format: uuid - in: query - name: name + name: object_id schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: name__empty + name: object_id__empty schema: type: boolean - in: query - name: name__ic + name: object_id__gt schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: name__ie + name: object_id__gte schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: name__iew + name: object_id__lt schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: name__isw + name: object_id__lte schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: name__n + name: object_id__n schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: name__nic + name: object_type schema: - type: array - items: - type: string - explode: true - style: form + type: string - in: query - name: name__nie + name: object_type__n schema: - type: array - items: - type: string - explode: true - style: form + type: string - in: query - name: name__niew + name: object_type_id schema: - type: array - items: - type: string - explode: true - style: form + type: integer - in: query - name: name__nisw + name: object_type_id__n schema: - type: array - items: - type: string - explode: true - style: form + type: integer - name: offset required: false in: query @@ -89208,66 +116825,61 @@ paths: schema: type: string - in: query - name: q + name: priority schema: type: string - description: Search - - in: query - name: size - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: size__empty - schema: - type: boolean + x-spec-enum-id: ef3a31644cec7524 + enum: + - inactive + - primary + - secondary + - tertiary + description: '* `primary` - Primary + + * `secondary` - Secondary + + * `tertiary` - Tertiary + + * `inactive` - Inactive' - in: query - name: size__gt + name: q schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form + type: string + description: Search - in: query - name: size__gte + name: role schema: type: array items: - type: integer - format: int32 + type: string + description: Contact role (slug) explode: true style: form - in: query - name: size__lt + name: role__n schema: type: array items: - type: integer - format: int32 + type: string + description: Contact role (slug) explode: true style: form - in: query - name: size__lte + name: role_id schema: type: array items: type: integer - format: int32 + description: Contact role (ID) explode: true style: form - in: query - name: size__n + name: role_id__n schema: type: array items: type: integer - format: int32 + description: Contact role (ID) explode: true style: form - in: query @@ -89291,44 +116903,8 @@ paths: schema: type: string format: uuid - - in: query - name: virtual_machine - schema: - type: array - items: - type: string - description: Virtual machine - explode: true - style: form - - in: query - name: virtual_machine__n - schema: - type: array - items: - type: string - description: Virtual machine - explode: true - style: form - - in: query - name: virtual_machine_id - schema: - type: array - items: - type: integer - description: Virtual machine (ID) - explode: true - style: form - - in: query - name: virtual_machine_id__n - schema: - type: array - items: - type: integer - description: Virtual machine (ID) - explode: true - style: form tags: - - virtualization + - tenancy security: - cookieAuth: [] - tokenAuth: [] @@ -89337,21 +116913,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedVirtualDiskList' + $ref: '#/components/schemas/PaginatedContactAssignmentList' description: '' post: - operationId: virtualization_virtual_disks_create - description: Post a list of virtual disk objects. + operationId: tenancy_contact_assignments_create + description: Post a list of contact assignment objects. tags: - - virtualization + - tenancy requestBody: content: application/json: schema: - $ref: '#/components/schemas/VirtualDiskRequest' + $ref: '#/components/schemas/WritableContactAssignmentRequest' multipart/form-data: schema: - $ref: '#/components/schemas/VirtualDiskRequest' + $ref: '#/components/schemas/WritableContactAssignmentRequest' required: true security: - cookieAuth: [] @@ -89361,25 +116937,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/VirtualDisk' + $ref: '#/components/schemas/ContactAssignment' description: '' put: - operationId: virtualization_virtual_disks_bulk_update - description: Put a list of virtual disk objects. + operationId: tenancy_contact_assignments_bulk_update + description: Put a list of contact assignment objects. tags: - - virtualization + - tenancy requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/VirtualDiskRequest' + $ref: '#/components/schemas/ContactAssignmentRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/VirtualDiskRequest' + $ref: '#/components/schemas/ContactAssignmentRequest' required: true security: - cookieAuth: [] @@ -89391,25 +116967,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/VirtualDisk' + $ref: '#/components/schemas/ContactAssignment' description: '' patch: - operationId: virtualization_virtual_disks_bulk_partial_update - description: Patch a list of virtual disk objects. + operationId: tenancy_contact_assignments_bulk_partial_update + description: Patch a list of contact assignment objects. tags: - - virtualization + - tenancy requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/VirtualDiskRequest' + $ref: '#/components/schemas/ContactAssignmentRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/VirtualDiskRequest' + $ref: '#/components/schemas/ContactAssignmentRequest' required: true security: - cookieAuth: [] @@ -89421,25 +116997,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/VirtualDisk' + $ref: '#/components/schemas/ContactAssignment' description: '' delete: - operationId: virtualization_virtual_disks_bulk_destroy - description: Delete a list of virtual disk objects. + operationId: tenancy_contact_assignments_bulk_destroy + description: Delete a list of contact assignment objects. tags: - - virtualization + - tenancy requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/VirtualDiskRequest' + $ref: '#/components/schemas/ContactAssignmentRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/VirtualDiskRequest' + $ref: '#/components/schemas/ContactAssignmentRequest' required: true security: - cookieAuth: [] @@ -89447,19 +117023,19 @@ paths: responses: '204': description: No response body - /api/virtualization/virtual-disks/{id}/: + /api/tenancy/contact-assignments/{id}/: get: - operationId: virtualization_virtual_disks_retrieve - description: Get a virtual disk object. + operationId: tenancy_contact_assignments_retrieve + description: Get a contact assignment object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this virtual disk. + description: A unique integer value identifying this contact assignment. required: true tags: - - virtualization + - tenancy security: - cookieAuth: [] - tokenAuth: [] @@ -89468,28 +117044,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/VirtualDisk' + $ref: '#/components/schemas/ContactAssignment' description: '' put: - operationId: virtualization_virtual_disks_update - description: Put a virtual disk object. + operationId: tenancy_contact_assignments_update + description: Put a contact assignment object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this virtual disk. + description: A unique integer value identifying this contact assignment. required: true tags: - - virtualization + - tenancy requestBody: content: application/json: schema: - $ref: '#/components/schemas/VirtualDiskRequest' + $ref: '#/components/schemas/WritableContactAssignmentRequest' multipart/form-data: schema: - $ref: '#/components/schemas/VirtualDiskRequest' + $ref: '#/components/schemas/WritableContactAssignmentRequest' required: true security: - cookieAuth: [] @@ -89499,28 +117075,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/VirtualDisk' + $ref: '#/components/schemas/ContactAssignment' description: '' patch: - operationId: virtualization_virtual_disks_partial_update - description: Patch a virtual disk object. + operationId: tenancy_contact_assignments_partial_update + description: Patch a contact assignment object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this virtual disk. + description: A unique integer value identifying this contact assignment. required: true tags: - - virtualization + - tenancy requestBody: content: application/json: schema: - $ref: '#/components/schemas/PatchedVirtualDiskRequest' + $ref: '#/components/schemas/PatchedWritableContactAssignmentRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedVirtualDiskRequest' + $ref: '#/components/schemas/PatchedWritableContactAssignmentRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -89529,798 +117105,342 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/VirtualDisk' + $ref: '#/components/schemas/ContactAssignment' description: '' delete: - operationId: virtualization_virtual_disks_destroy - description: Delete a virtual disk object. + operationId: tenancy_contact_assignments_destroy + description: Delete a contact assignment object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this virtual disk. + description: A unique integer value identifying this contact assignment. required: true tags: - - virtualization + - tenancy security: - cookieAuth: [] - tokenAuth: [] responses: '204': description: No response body - /api/virtualization/virtual-machines/: + /api/tenancy/contact-groups/: get: - operationId: virtualization_virtual_machines_list - description: Get a list of virtual machine objects. + operationId: tenancy_contact_groups_list + description: Get a list of contact group objects. parameters: - in: query - name: cluster + name: ancestor schema: type: array items: type: string - description: Cluster explode: true style: form - in: query - name: cluster__n + name: ancestor__n schema: type: array items: type: string - description: Cluster explode: true style: form - in: query - name: cluster_group + name: ancestor_id schema: type: array items: type: string - description: Cluster group (slug) explode: true style: form - in: query - name: cluster_group__n + name: ancestor_id__n schema: type: array items: type: string - description: Cluster group (slug) explode: true style: form - in: query - name: cluster_group_id + name: created schema: type: array items: - type: integer - description: Cluster group (ID) + type: string + format: date-time explode: true style: form - in: query - name: cluster_group_id__n + name: created__empty schema: type: array items: - type: integer - description: Cluster group (ID) + type: string + format: date-time explode: true style: form - in: query - name: cluster_id + name: created__gt schema: type: array items: - type: integer - nullable: true - description: Cluster (ID) + type: string + format: date-time explode: true style: form - in: query - name: cluster_id__n + name: created__gte schema: type: array items: - type: integer - nullable: true - description: Cluster (ID) + type: string + format: date-time explode: true style: form - in: query - name: cluster_type + name: created__lt schema: type: array items: type: string - description: Cluster type (slug) + format: date-time explode: true style: form - in: query - name: cluster_type__n + name: created__lte schema: type: array items: type: string - description: Cluster type (slug) + format: date-time explode: true style: form - in: query - name: cluster_type_id + name: created__n schema: type: array items: - type: integer - description: Cluster type (ID) + type: string + format: date-time explode: true style: form - in: query - name: cluster_type_id__n + name: created_by_request schema: - type: array - items: - type: integer - description: Cluster type (ID) - explode: true - style: form + type: string + format: uuid - in: query - name: config_template_id + name: description schema: type: array items: - type: integer - nullable: true - description: Config template (ID) + type: string explode: true style: form - in: query - name: config_template_id__n + name: description__empty schema: - type: array - items: - type: integer - nullable: true - description: Config template (ID) - explode: true - style: form + type: boolean - in: query - name: contact + name: description__ic schema: type: array items: - type: integer - description: Contact + type: string explode: true style: form - in: query - name: contact__n + name: description__ie schema: type: array items: - type: integer - description: Contact + type: string explode: true style: form - in: query - name: contact_group + name: description__iew schema: type: array items: - type: integer - description: Contact group + type: string explode: true style: form - in: query - name: contact_group__n + name: description__isw schema: type: array items: - type: integer - description: Contact group + type: string explode: true style: form - in: query - name: contact_role + name: description__n schema: type: array items: - type: integer - description: Contact Role + type: string explode: true style: form - in: query - name: contact_role__n + name: description__nic schema: type: array items: - type: integer - description: Contact Role + type: string explode: true style: form - in: query - name: created + name: description__nie schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__empty + name: description__niew schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__gt + name: description__nisw schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__gte + name: id schema: type: array items: - type: string - format: date-time + type: integer + format: int32 explode: true style: form - in: query - name: created__lt + name: id__empty schema: - type: array - items: - type: string - format: date-time - explode: true - style: form + type: boolean - in: query - name: created__lte + name: id__gt schema: type: array items: - type: string - format: date-time + type: integer + format: int32 explode: true style: form - in: query - name: created__n + name: id__gte schema: type: array items: - type: string - format: date-time + type: integer + format: int32 explode: true style: form - in: query - name: created_by_request - schema: - type: string - format: uuid - - in: query - name: description + name: id__lt schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: description__empty - schema: - type: boolean - - in: query - name: description__ic + name: id__lte schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: description__ie + name: id__n schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: description__iew + name: last_updated schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: description__isw + name: last_updated__empty schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: description__n + name: last_updated__gt schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: description__nic + name: last_updated__gte schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: description__nie + name: last_updated__lt schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: description__niew + name: last_updated__lte schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: description__nisw + name: last_updated__n schema: type: array items: type: string + format: date-time explode: true style: form - - in: query - name: device - schema: - type: array - items: - type: string - nullable: true - description: Device - explode: true - style: form - - in: query - name: device__n - schema: - type: array - items: - type: string - nullable: true - description: Device - explode: true - style: form - - in: query - name: device_id - schema: - type: array - items: - type: integer - nullable: true - description: Device (ID) - explode: true - style: form - - in: query - name: device_id__n - schema: - type: array - items: - type: integer - nullable: true - description: Device (ID) - explode: true - style: form - - in: query - name: disk - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: disk__empty - schema: - type: boolean - - in: query - name: disk__gt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: disk__gte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: disk__lt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: disk__lte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: disk__n - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: has_primary_ip - schema: - type: boolean - description: Has a primary IP - - in: query - name: id - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: id__empty - schema: - type: boolean - - in: query - name: id__gt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: id__gte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: id__lt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: id__lte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: id__n - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: interface_count - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: interface_count__empty - schema: - type: boolean - - in: query - name: interface_count__gt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: interface_count__gte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: interface_count__lt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: interface_count__lte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: interface_count__n - schema: - type: array - items: - type: integer - format: int32 - 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__empty - 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__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. + - name: limit + required: false + in: query + description: Number of results to return per page. schema: type: integer - - in: query - name: local_context_data - schema: - type: boolean - description: Has local config context data - - in: query - name: mac_address - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: mac_address__ic - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: mac_address__ie - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: mac_address__iew - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: mac_address__isw - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: mac_address__n - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: mac_address__nic - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: mac_address__nie - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: mac_address__niew - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: mac_address__nisw - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: memory - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: memory__empty - schema: - type: boolean - - in: query - name: memory__gt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: memory__gte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: memory__lt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: memory__lte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: memory__n - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - in: query name: modified_by_request schema: @@ -90423,77 +117543,41 @@ paths: schema: type: string - in: query - name: platform + name: parent schema: type: array items: type: string - description: Platform (slug) + description: Parent contact group (slug) explode: true style: form - in: query - name: platform__n + name: parent__n schema: type: array items: type: string - description: Platform (slug) + description: Parent contact group (slug) explode: true style: form - in: query - name: platform_id + name: parent_id schema: type: array items: type: integer nullable: true - description: Platform (ID) + description: Parent contact group (ID) explode: true style: form - in: query - name: platform_id__n + name: parent_id__n schema: type: array items: type: integer nullable: true - description: Platform (ID) - explode: true - style: form - - in: query - name: primary_ip4_id - schema: - type: array - items: - type: integer - description: Primary IPv4 (ID) - explode: true - style: form - - in: query - name: primary_ip4_id__n - schema: - type: array - items: - type: integer - description: Primary IPv4 (ID) - explode: true - style: form - - in: query - name: primary_ip6_id - schema: - type: array - items: - type: integer - description: Primary IPv6 (ID) - explode: true - style: form - - in: query - name: primary_ip6_id__n - schema: - type: array - items: - type: integer - description: Primary IPv6 (ID) + description: Parent contact group (ID) explode: true style: form - in: query @@ -90502,173 +117586,67 @@ paths: type: string description: Search - in: query - name: region - schema: - type: array - items: - type: integer - description: Region (slug) - explode: true - style: form - - in: query - name: region__n - schema: - type: array - items: - type: integer - description: Region (slug) - explode: true - style: form - - in: query - name: region_id + name: slug schema: type: array items: - type: integer - description: Region (ID) + type: string explode: true style: form - in: query - name: region_id__n + name: slug__empty schema: - type: array - items: - type: integer - description: Region (ID) - explode: true - style: form + type: boolean - in: query - name: role + name: slug__ic schema: type: array items: type: string - description: Role (slug) explode: true style: form - in: query - name: role__n + name: slug__ie schema: type: array items: type: string - description: Role (slug) - explode: true - style: form - - in: query - name: role_id - schema: - type: array - items: - type: integer - nullable: true - description: Role (ID) - explode: true - style: form - - in: query - name: role_id__n - schema: - type: array - items: - type: integer - nullable: true - description: Role (ID) explode: true style: form - in: query - name: site + name: slug__iew schema: type: array items: type: string - description: Site (slug) explode: true style: form - in: query - name: site__n + name: slug__isw schema: type: array items: type: string - description: Site (slug) - explode: true - style: form - - in: query - name: site_group - schema: - type: array - items: - type: integer - description: Site group (slug) - explode: true - style: form - - in: query - name: site_group__n - schema: - type: array - items: - type: integer - description: Site group (slug) - explode: true - style: form - - in: query - name: site_group_id - schema: - type: array - items: - type: integer - description: Site group (ID) - explode: true - style: form - - in: query - name: site_group_id__n - schema: - type: array - items: - type: integer - description: Site group (ID) - explode: true - style: form - - in: query - name: site_id - schema: - type: array - items: - type: integer - nullable: true - description: Site (ID) - explode: true - style: form - - in: query - name: site_id__n - schema: - type: array - items: - type: integer - nullable: true - description: Site (ID) explode: true style: form - in: query - name: status + name: slug__n schema: type: array items: type: string - x-spec-enum-id: 2217e87d0c3efdda explode: true style: form - in: query - name: status__n + name: slug__nic schema: type: array items: type: string - x-spec-enum-id: 2217e87d0c3efdda explode: true style: form - in: query - name: tag + name: slug__nie schema: type: array items: @@ -90676,7 +117654,7 @@ paths: explode: true style: form - in: query - name: tag__n + name: slug__niew schema: type: array items: @@ -90684,77 +117662,27 @@ paths: explode: true style: form - in: query - name: tenant + name: slug__nisw schema: type: array items: type: string - description: Tenant (slug) explode: true style: form - in: query - name: tenant__n + name: tag schema: type: array items: type: string - description: Tenant (slug) - explode: true - style: form - - in: query - name: tenant_group - schema: - type: array - items: - type: integer - description: Tenant Group (slug) - explode: true - style: form - - in: query - name: tenant_group__n - schema: - type: array - items: - type: integer - description: Tenant Group (slug) - explode: true - style: form - - in: query - name: tenant_group_id - schema: - type: array - items: - type: integer - description: Tenant Group (ID) - explode: true - style: form - - in: query - name: tenant_group_id__n - schema: - type: array - items: - type: integer - description: Tenant Group (ID) - explode: true - style: form - - in: query - name: tenant_id - schema: - type: array - items: - type: integer - nullable: true - description: Tenant (ID) explode: true style: form - in: query - name: tenant_id__n + name: tag__n schema: type: array items: - type: integer - nullable: true - description: Tenant (ID) + type: string explode: true style: form - in: query @@ -90762,124 +117690,8 @@ paths: schema: type: string format: uuid - - in: query - name: vcpus - schema: - type: array - items: - type: number - format: double - explode: true - style: form - - in: query - name: vcpus__empty - schema: - type: boolean - - in: query - name: vcpus__gt - schema: - type: array - items: - type: number - format: double - explode: true - style: form - - in: query - name: vcpus__gte - schema: - type: array - items: - type: number - format: double - explode: true - style: form - - in: query - name: vcpus__lt - schema: - type: array - items: - type: number - format: double - explode: true - style: form - - in: query - name: vcpus__lte - schema: - type: array - items: - type: number - format: double - explode: true - style: form - - in: query - name: vcpus__n - schema: - type: array - items: - type: number - format: double - explode: true - style: form - - in: query - name: virtual_disk_count - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: virtual_disk_count__empty - schema: - type: boolean - - in: query - name: virtual_disk_count__gt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: virtual_disk_count__gte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: virtual_disk_count__lt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: virtual_disk_count__lte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: virtual_disk_count__n - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form tags: - - virtualization + - tenancy security: - cookieAuth: [] - tokenAuth: [] @@ -90888,21 +117700,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedVirtualMachineWithConfigContextList' + $ref: '#/components/schemas/PaginatedContactGroupList' description: '' post: - operationId: virtualization_virtual_machines_create - description: Post a list of virtual machine objects. + operationId: tenancy_contact_groups_create + description: Post a list of contact group objects. tags: - - virtualization + - tenancy requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableVirtualMachineWithConfigContextRequest' + $ref: '#/components/schemas/WritableContactGroupRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableVirtualMachineWithConfigContextRequest' + $ref: '#/components/schemas/WritableContactGroupRequest' required: true security: - cookieAuth: [] @@ -90912,25 +117724,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/VirtualMachineWithConfigContext' + $ref: '#/components/schemas/ContactGroup' description: '' put: - operationId: virtualization_virtual_machines_bulk_update - description: Put a list of virtual machine objects. + operationId: tenancy_contact_groups_bulk_update + description: Put a list of contact group objects. tags: - - virtualization + - tenancy requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/VirtualMachineWithConfigContextRequest' + $ref: '#/components/schemas/ContactGroupRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/VirtualMachineWithConfigContextRequest' + $ref: '#/components/schemas/ContactGroupRequest' required: true security: - cookieAuth: [] @@ -90942,25 +117754,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/VirtualMachineWithConfigContext' + $ref: '#/components/schemas/ContactGroup' description: '' patch: - operationId: virtualization_virtual_machines_bulk_partial_update - description: Patch a list of virtual machine objects. + operationId: tenancy_contact_groups_bulk_partial_update + description: Patch a list of contact group objects. tags: - - virtualization + - tenancy requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/VirtualMachineWithConfigContextRequest' + $ref: '#/components/schemas/ContactGroupRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/VirtualMachineWithConfigContextRequest' + $ref: '#/components/schemas/ContactGroupRequest' required: true security: - cookieAuth: [] @@ -90972,25 +117784,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/VirtualMachineWithConfigContext' + $ref: '#/components/schemas/ContactGroup' description: '' delete: - operationId: virtualization_virtual_machines_bulk_destroy - description: Delete a list of virtual machine objects. + operationId: tenancy_contact_groups_bulk_destroy + description: Delete a list of contact group objects. tags: - - virtualization + - tenancy requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/VirtualMachineWithConfigContextRequest' + $ref: '#/components/schemas/ContactGroupRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/VirtualMachineWithConfigContextRequest' + $ref: '#/components/schemas/ContactGroupRequest' required: true security: - cookieAuth: [] @@ -90998,19 +117810,19 @@ paths: responses: '204': description: No response body - /api/virtualization/virtual-machines/{id}/: + /api/tenancy/contact-groups/{id}/: get: - operationId: virtualization_virtual_machines_retrieve - description: Get a virtual machine object. + operationId: tenancy_contact_groups_retrieve + description: Get a contact group object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this virtual machine. + description: A unique integer value identifying this contact group. required: true tags: - - virtualization + - tenancy security: - cookieAuth: [] - tokenAuth: [] @@ -91019,28 +117831,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/VirtualMachineWithConfigContext' + $ref: '#/components/schemas/ContactGroup' description: '' put: - operationId: virtualization_virtual_machines_update - description: Put a virtual machine object. + operationId: tenancy_contact_groups_update + description: Put a contact group object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this virtual machine. + description: A unique integer value identifying this contact group. required: true tags: - - virtualization + - tenancy requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableVirtualMachineWithConfigContextRequest' + $ref: '#/components/schemas/WritableContactGroupRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableVirtualMachineWithConfigContextRequest' + $ref: '#/components/schemas/WritableContactGroupRequest' required: true security: - cookieAuth: [] @@ -91050,28 +117862,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/VirtualMachineWithConfigContext' + $ref: '#/components/schemas/ContactGroup' description: '' patch: - operationId: virtualization_virtual_machines_partial_update - description: Patch a virtual machine object. + operationId: tenancy_contact_groups_partial_update + description: Patch a contact group object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this virtual machine. + description: A unique integer value identifying this contact group. required: true tags: - - virtualization + - tenancy requestBody: content: application/json: schema: - $ref: '#/components/schemas/PatchedWritableVirtualMachineWithConfigContextRequest' + $ref: '#/components/schemas/PatchedWritableContactGroupRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedWritableVirtualMachineWithConfigContextRequest' + $ref: '#/components/schemas/PatchedWritableContactGroupRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -91080,72 +117892,30 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/VirtualMachineWithConfigContext' + $ref: '#/components/schemas/ContactGroup' description: '' delete: - operationId: virtualization_virtual_machines_destroy - description: Delete a virtual machine object. + operationId: tenancy_contact_groups_destroy + description: Delete a contact group object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this virtual machine. + description: A unique integer value identifying this contact group. required: true tags: - - virtualization + - tenancy security: - cookieAuth: [] - tokenAuth: [] responses: '204': description: No response body - /api/virtualization/virtual-machines/{id}/render-config/: - post: - operationId: virtualization_virtual_machines_render_config_create - description: Resolve and render the preferred ConfigTemplate for this Device. - parameters: - - in: query - name: format - schema: - type: string - enum: - - json - - txt - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this virtual machine. - required: true - tags: - - virtualization - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/WritableVirtualMachineWithConfigContextRequest' - multipart/form-data: - schema: - $ref: '#/components/schemas/WritableVirtualMachineWithConfigContextRequest' - required: true - security: - - cookieAuth: [] - - tokenAuth: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/VirtualMachineWithConfigContext' - text/plain: - schema: - $ref: '#/components/schemas/VirtualMachineWithConfigContext' - description: '' - /api/vpn/ike-policies/: + /api/tenancy/contact-roles/: get: - operationId: vpn_ike_policies_list - description: Get a list of IKE policy objects. + operationId: tenancy_contact_roles_list + description: Get a list of contact role objects. parameters: - in: query name: created @@ -91357,38 +118127,6 @@ paths: format: int32 explode: true style: form - - in: query - name: ike_proposal - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: ike_proposal__n - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: ike_proposal_id - schema: - type: array - items: - type: integer - explode: true - style: form - - in: query - name: ike_proposal_id__n - schema: - type: array - items: - type: integer - explode: true - style: form - in: query name: last_updated schema: @@ -91458,24 +118196,6 @@ paths: description: Number of results to return per page. schema: type: integer - - in: query - name: mode - schema: - type: array - items: - type: string - x-spec-enum-id: 64c1be7bdb2548ca - explode: true - style: form - - in: query - name: mode__n - schema: - type: array - items: - type: string - x-spec-enum-id: 64c1be7bdb2548ca - explode: true - style: form - in: query name: modified_by_request schema: @@ -91578,47 +118298,24 @@ paths: schema: type: string - in: query - name: preshared_key - schema: - type: string - - in: query - name: preshared_key__ic - schema: - type: string - - in: query - name: preshared_key__ie - schema: - type: string - - in: query - name: preshared_key__iew - schema: - type: string - - in: query - name: preshared_key__isw - schema: - type: string - - in: query - name: preshared_key__n - schema: - type: string - - in: query - name: preshared_key__nic - schema: - type: string - - in: query - name: preshared_key__nie + name: q schema: type: string + description: Search - in: query - name: preshared_key__niew + name: slug schema: - type: string + type: array + items: + type: string + explode: true + style: form - in: query - name: preshared_key__nisw + name: slug__empty schema: - type: string + type: boolean - in: query - name: proposal + name: slug__ic schema: type: array items: @@ -91626,7 +118323,7 @@ paths: explode: true style: form - in: query - name: proposal__n + name: slug__ie schema: type: array items: @@ -91634,28 +118331,31 @@ paths: explode: true style: form - in: query - name: proposal_id + name: slug__iew schema: type: array items: - type: integer + type: string explode: true style: form - in: query - name: proposal_id__n + name: slug__isw schema: type: array items: - type: integer + type: string explode: true style: form - in: query - name: q + name: slug__n schema: - type: string - description: Search + type: array + items: + type: string + explode: true + style: form - in: query - name: tag + name: slug__nic schema: type: array items: @@ -91663,7 +118363,7 @@ paths: explode: true style: form - in: query - name: tag__n + name: slug__nie schema: type: array items: @@ -91671,30 +118371,44 @@ paths: explode: true style: form - in: query - name: updated_by_request + name: slug__niew schema: - type: string - format: uuid + type: array + items: + type: string + explode: true + style: form - in: query - name: version + name: slug__nisw schema: type: array items: - type: integer - x-spec-enum-id: 00872b77916a1fde + type: string explode: true style: form - in: query - name: version__n + name: tag schema: type: array items: - type: integer - x-spec-enum-id: 00872b77916a1fde + type: string explode: true style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: updated_by_request + schema: + type: string + format: uuid tags: - - vpn + - tenancy security: - cookieAuth: [] - tokenAuth: [] @@ -91703,21 +118417,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedIKEPolicyList' + $ref: '#/components/schemas/PaginatedContactRoleList' description: '' post: - operationId: vpn_ike_policies_create - description: Post a list of IKE policy objects. + operationId: tenancy_contact_roles_create + description: Post a list of contact role objects. tags: - - vpn + - tenancy requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableIKEPolicyRequest' + $ref: '#/components/schemas/ContactRoleRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableIKEPolicyRequest' + $ref: '#/components/schemas/ContactRoleRequest' required: true security: - cookieAuth: [] @@ -91727,25 +118441,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/IKEPolicy' + $ref: '#/components/schemas/ContactRole' description: '' put: - operationId: vpn_ike_policies_bulk_update - description: Put a list of IKE policy objects. + operationId: tenancy_contact_roles_bulk_update + description: Put a list of contact role objects. tags: - - vpn + - tenancy requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/IKEPolicyRequest' + $ref: '#/components/schemas/ContactRoleRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/IKEPolicyRequest' + $ref: '#/components/schemas/ContactRoleRequest' required: true security: - cookieAuth: [] @@ -91757,25 +118471,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/IKEPolicy' + $ref: '#/components/schemas/ContactRole' description: '' patch: - operationId: vpn_ike_policies_bulk_partial_update - description: Patch a list of IKE policy objects. + operationId: tenancy_contact_roles_bulk_partial_update + description: Patch a list of contact role objects. tags: - - vpn + - tenancy requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/IKEPolicyRequest' + $ref: '#/components/schemas/ContactRoleRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/IKEPolicyRequest' + $ref: '#/components/schemas/ContactRoleRequest' required: true security: - cookieAuth: [] @@ -91787,25 +118501,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/IKEPolicy' + $ref: '#/components/schemas/ContactRole' description: '' delete: - operationId: vpn_ike_policies_bulk_destroy - description: Delete a list of IKE policy objects. + operationId: tenancy_contact_roles_bulk_destroy + description: Delete a list of contact role objects. tags: - - vpn + - tenancy requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/IKEPolicyRequest' + $ref: '#/components/schemas/ContactRoleRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/IKEPolicyRequest' + $ref: '#/components/schemas/ContactRoleRequest' required: true security: - cookieAuth: [] @@ -91813,19 +118527,19 @@ paths: responses: '204': description: No response body - /api/vpn/ike-policies/{id}/: + /api/tenancy/contact-roles/{id}/: get: - operationId: vpn_ike_policies_retrieve - description: Get a IKE policy object. + operationId: tenancy_contact_roles_retrieve + description: Get a contact role object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this IKE policy. + description: A unique integer value identifying this contact role. required: true tags: - - vpn + - tenancy security: - cookieAuth: [] - tokenAuth: [] @@ -91834,28 +118548,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/IKEPolicy' + $ref: '#/components/schemas/ContactRole' description: '' put: - operationId: vpn_ike_policies_update - description: Put a IKE policy object. + operationId: tenancy_contact_roles_update + description: Put a contact role object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this IKE policy. + description: A unique integer value identifying this contact role. required: true tags: - - vpn + - tenancy requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableIKEPolicyRequest' + $ref: '#/components/schemas/ContactRoleRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableIKEPolicyRequest' + $ref: '#/components/schemas/ContactRoleRequest' required: true security: - cookieAuth: [] @@ -91865,28 +118579,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/IKEPolicy' + $ref: '#/components/schemas/ContactRole' description: '' patch: - operationId: vpn_ike_policies_partial_update - description: Patch a IKE policy object. + operationId: tenancy_contact_roles_partial_update + description: Patch a contact role object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this IKE policy. + description: A unique integer value identifying this contact role. required: true tags: - - vpn + - tenancy requestBody: content: application/json: schema: - $ref: '#/components/schemas/PatchedWritableIKEPolicyRequest' + $ref: '#/components/schemas/PatchedContactRoleRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedWritableIKEPolicyRequest' + $ref: '#/components/schemas/PatchedContactRoleRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -91895,65 +118609,113 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/IKEPolicy' + $ref: '#/components/schemas/ContactRole' description: '' delete: - operationId: vpn_ike_policies_destroy - description: Delete a IKE policy object. + operationId: tenancy_contact_roles_destroy + description: Delete a contact role object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this IKE policy. + description: A unique integer value identifying this contact role. required: true tags: - - vpn + - tenancy security: - cookieAuth: [] - tokenAuth: [] responses: '204': description: No response body - /api/vpn/ike-proposals/: + /api/tenancy/contacts/: get: - operationId: vpn_ike_proposals_list - description: Get a list of IKE proposal objects. + operationId: tenancy_contacts_list + description: Get a list of contact objects. parameters: - in: query - name: authentication_algorithm + name: address schema: type: array items: type: string - x-spec-enum-id: 0830e8839f5dea4f explode: true style: form - in: query - name: authentication_algorithm__n + name: address__empty + schema: + type: boolean + - in: query + name: address__ic schema: type: array items: type: string - x-spec-enum-id: 0830e8839f5dea4f explode: true style: form - in: query - name: authentication_method + name: address__ie schema: type: array items: type: string - x-spec-enum-id: 92bb2f1103b3a262 explode: true style: form - in: query - name: authentication_method__n + name: address__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: address__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: address__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: address__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: address__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: address__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: address__nisw schema: type: array items: type: string - x-spec-enum-id: 92bb2f1103b3a262 explode: true style: form - in: query @@ -92109,21 +118871,87 @@ paths: explode: true style: form - in: query - name: encryption_algorithm + name: email schema: type: array items: type: string - x-spec-enum-id: b022535cfdee79fe explode: true style: form - in: query - name: encryption_algorithm__n + name: email__empty + schema: + type: boolean + - in: query + name: email__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: email__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: email__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: email__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: email__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: email__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: email__nie + schema: + 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__nisw schema: type: array items: type: string - x-spec-enum-id: b022535cfdee79fe explode: true style: form - in: query @@ -92131,9 +118959,7 @@ paths: schema: type: array items: - type: integer - x-spec-enum-id: dbef43be795462a8 - description: Diffie-Hellman group ID + type: string explode: true style: form - in: query @@ -92141,9 +118967,23 @@ paths: schema: type: array items: - type: integer - x-spec-enum-id: dbef43be795462a8 - description: Diffie-Hellman group ID + type: string + explode: true + style: form + - in: query + name: group_id + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: group_id__n + schema: + type: array + items: + type: string explode: true style: form - in: query @@ -92205,43 +119045,43 @@ paths: explode: true style: form - in: query - name: ike_policy + name: last_updated schema: type: array items: type: string - description: IKE policy (name) + format: date-time explode: true style: form - in: query - name: ike_policy__n + name: last_updated__empty schema: type: array items: type: string - description: IKE policy (name) + format: date-time explode: true style: form - in: query - name: ike_policy_id + name: last_updated__gt schema: type: array items: - type: integer - description: IKE policy (ID) + type: string + format: date-time explode: true style: form - in: query - name: ike_policy_id__n + name: last_updated__gte schema: type: array items: - type: integer - description: IKE policy (ID) + type: string + format: date-time explode: true style: form - in: query - name: last_updated + name: last_updated__lt schema: type: array items: @@ -92250,7 +119090,7 @@ paths: explode: true style: form - in: query - name: last_updated__empty + name: last_updated__lte schema: type: array items: @@ -92259,7 +119099,7 @@ paths: explode: true style: form - in: query - name: last_updated__gt + name: last_updated__n schema: type: array items: @@ -92267,48 +119107,96 @@ 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: last_updated__gte + name: link schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__lt + name: link__empty + schema: + type: boolean + - in: query + name: link__ic schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__lte + name: link__ie schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__n + name: link__iew 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: link__isw schema: - type: integer + type: array + items: + type: string + explode: true + style: form + - in: query + name: link__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: link__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: link__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: link__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: link__nisw + schema: + type: array + items: + type: string + explode: true + style: form - in: query name: modified_by_request schema: @@ -92410,71 +119298,165 @@ paths: description: Which field to use when ordering the results. schema: type: string + - in: query + name: phone + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: phone__empty + schema: + type: boolean + - 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__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__nisw + schema: + type: array + items: + type: string + explode: true + style: form - in: query name: q schema: type: string description: Search - in: query - name: sa_lifetime + name: tag schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: sa_lifetime__empty + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: title + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: title__empty schema: type: boolean - in: query - name: sa_lifetime__gt + name: title__ic schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: sa_lifetime__gte + name: title__ie schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: sa_lifetime__lt + name: title__iew schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: sa_lifetime__lte + name: title__isw schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: sa_lifetime__n + name: title__n schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: tag + name: title__nic schema: type: array items: @@ -92482,7 +119464,23 @@ paths: explode: true style: form - in: query - name: tag__n + name: title__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: title__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: title__nisw schema: type: array items: @@ -92495,7 +119493,7 @@ paths: type: string format: uuid tags: - - vpn + - tenancy security: - cookieAuth: [] - tokenAuth: [] @@ -92504,21 +119502,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedIKEProposalList' + $ref: '#/components/schemas/PaginatedContactList' description: '' post: - operationId: vpn_ike_proposals_create - description: Post a list of IKE proposal objects. + operationId: tenancy_contacts_create + description: Post a list of contact objects. tags: - - vpn + - tenancy requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableIKEProposalRequest' + $ref: '#/components/schemas/ContactRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableIKEProposalRequest' + $ref: '#/components/schemas/ContactRequest' required: true security: - cookieAuth: [] @@ -92528,25 +119526,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/IKEProposal' + $ref: '#/components/schemas/Contact' description: '' put: - operationId: vpn_ike_proposals_bulk_update - description: Put a list of IKE proposal objects. + operationId: tenancy_contacts_bulk_update + description: Put a list of contact objects. tags: - - vpn + - tenancy requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/IKEProposalRequest' + $ref: '#/components/schemas/ContactRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/IKEProposalRequest' + $ref: '#/components/schemas/ContactRequest' required: true security: - cookieAuth: [] @@ -92558,25 +119556,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/IKEProposal' + $ref: '#/components/schemas/Contact' description: '' patch: - operationId: vpn_ike_proposals_bulk_partial_update - description: Patch a list of IKE proposal objects. + operationId: tenancy_contacts_bulk_partial_update + description: Patch a list of contact objects. tags: - - vpn + - tenancy requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/IKEProposalRequest' + $ref: '#/components/schemas/ContactRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/IKEProposalRequest' + $ref: '#/components/schemas/ContactRequest' required: true security: - cookieAuth: [] @@ -92588,25 +119586,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/IKEProposal' + $ref: '#/components/schemas/Contact' description: '' delete: - operationId: vpn_ike_proposals_bulk_destroy - description: Delete a list of IKE proposal objects. + operationId: tenancy_contacts_bulk_destroy + description: Delete a list of contact objects. tags: - - vpn + - tenancy requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/IKEProposalRequest' + $ref: '#/components/schemas/ContactRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/IKEProposalRequest' + $ref: '#/components/schemas/ContactRequest' required: true security: - cookieAuth: [] @@ -92614,19 +119612,19 @@ paths: responses: '204': description: No response body - /api/vpn/ike-proposals/{id}/: + /api/tenancy/contacts/{id}/: get: - operationId: vpn_ike_proposals_retrieve - description: Get a IKE proposal object. + operationId: tenancy_contacts_retrieve + description: Get a contact object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this IKE proposal. + description: A unique integer value identifying this contact. required: true tags: - - vpn + - tenancy security: - cookieAuth: [] - tokenAuth: [] @@ -92635,28 +119633,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/IKEProposal' + $ref: '#/components/schemas/Contact' description: '' put: - operationId: vpn_ike_proposals_update - description: Put a IKE proposal object. + operationId: tenancy_contacts_update + description: Put a contact object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this IKE proposal. + description: A unique integer value identifying this contact. required: true tags: - - vpn + - tenancy requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableIKEProposalRequest' + $ref: '#/components/schemas/ContactRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableIKEProposalRequest' + $ref: '#/components/schemas/ContactRequest' required: true security: - cookieAuth: [] @@ -92666,28 +119664,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/IKEProposal' + $ref: '#/components/schemas/Contact' description: '' patch: - operationId: vpn_ike_proposals_partial_update - description: Patch a IKE proposal object. + operationId: tenancy_contacts_partial_update + description: Patch a contact object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this IKE proposal. + description: A unique integer value identifying this contact. required: true tags: - - vpn + - tenancy requestBody: content: application/json: schema: - $ref: '#/components/schemas/PatchedWritableIKEProposalRequest' + $ref: '#/components/schemas/PatchedContactRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedWritableIKEProposalRequest' + $ref: '#/components/schemas/PatchedContactRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -92696,31 +119694,63 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/IKEProposal' + $ref: '#/components/schemas/Contact' description: '' delete: - operationId: vpn_ike_proposals_destroy - description: Delete a IKE proposal object. + operationId: tenancy_contacts_destroy + description: Delete a contact object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this IKE proposal. + description: A unique integer value identifying this contact. required: true tags: - - vpn + - tenancy security: - cookieAuth: [] - tokenAuth: [] responses: '204': description: No response body - /api/vpn/ipsec-policies/: + /api/tenancy/tenant-groups/: get: - operationId: vpn_ipsec_policies_list - description: Get a list of IPSec policy objects. + operationId: tenancy_tenant_groups_list + description: Get a list of tenant group objects. parameters: + - in: query + name: ancestor + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: ancestor__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: ancestor_id + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: ancestor_id__n + schema: + type: array + items: + type: string + explode: true + style: form - in: query name: created schema: @@ -92931,38 +119961,6 @@ paths: format: int32 explode: true style: form - - in: query - name: ipsec_proposal - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: ipsec_proposal__n - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: ipsec_proposal_id - schema: - type: array - items: - type: integer - explode: true - style: form - - in: query - name: ipsec_proposal_id__n - schema: - type: array - items: - type: integer - explode: true - style: form - in: query name: last_updated schema: @@ -93134,29 +120132,50 @@ paths: schema: type: string - in: query - name: pfs_group + name: parent + schema: + type: array + items: + type: string + description: Parent tenant group (slug) + explode: true + style: form + - in: query + name: parent__n + schema: + type: array + items: + type: string + description: Parent tenant group (slug) + explode: true + style: form + - in: query + name: parent_id schema: type: array items: type: integer - x-spec-enum-id: dbef43be795462a8 nullable: true - description: Diffie-Hellman group for Perfect Forward Secrecy + description: Parent tenant group (ID) explode: true style: form - in: query - name: pfs_group__n + name: parent_id__n schema: type: array items: type: integer - x-spec-enum-id: dbef43be795462a8 nullable: true - description: Diffie-Hellman group for Perfect Forward Secrecy + description: Parent tenant group (ID) explode: true style: form - in: query - name: proposal + name: q + schema: + type: string + description: Search + - in: query + name: slug schema: type: array items: @@ -93164,7 +120183,11 @@ paths: explode: true style: form - in: query - name: proposal__n + name: slug__empty + schema: + type: boolean + - in: query + name: slug__ic schema: type: array items: @@ -93172,26 +120195,69 @@ paths: explode: true style: form - in: query - name: proposal_id + name: slug__ie schema: type: array items: - type: integer + type: string explode: true style: form - in: query - name: proposal_id__n + name: slug__iew schema: type: array items: - type: integer + type: string explode: true style: form - in: query - name: q + name: slug__isw schema: - type: string - description: Search + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nisw + schema: + type: array + items: + type: string + explode: true + style: form - in: query name: tag schema: @@ -93214,7 +120280,7 @@ paths: type: string format: uuid tags: - - vpn + - tenancy security: - cookieAuth: [] - tokenAuth: [] @@ -93223,21 +120289,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedIPSecPolicyList' + $ref: '#/components/schemas/PaginatedTenantGroupList' description: '' post: - operationId: vpn_ipsec_policies_create - description: Post a list of IPSec policy objects. + operationId: tenancy_tenant_groups_create + description: Post a list of tenant group objects. tags: - - vpn + - tenancy requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableIPSecPolicyRequest' + $ref: '#/components/schemas/WritableTenantGroupRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableIPSecPolicyRequest' + $ref: '#/components/schemas/WritableTenantGroupRequest' required: true security: - cookieAuth: [] @@ -93247,25 +120313,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/IPSecPolicy' + $ref: '#/components/schemas/TenantGroup' description: '' put: - operationId: vpn_ipsec_policies_bulk_update - description: Put a list of IPSec policy objects. + operationId: tenancy_tenant_groups_bulk_update + description: Put a list of tenant group objects. tags: - - vpn + - tenancy requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/IPSecPolicyRequest' + $ref: '#/components/schemas/TenantGroupRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/IPSecPolicyRequest' + $ref: '#/components/schemas/TenantGroupRequest' required: true security: - cookieAuth: [] @@ -93277,25 +120343,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/IPSecPolicy' + $ref: '#/components/schemas/TenantGroup' description: '' patch: - operationId: vpn_ipsec_policies_bulk_partial_update - description: Patch a list of IPSec policy objects. + operationId: tenancy_tenant_groups_bulk_partial_update + description: Patch a list of tenant group objects. tags: - - vpn + - tenancy requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/IPSecPolicyRequest' + $ref: '#/components/schemas/TenantGroupRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/IPSecPolicyRequest' + $ref: '#/components/schemas/TenantGroupRequest' required: true security: - cookieAuth: [] @@ -93307,25 +120373,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/IPSecPolicy' + $ref: '#/components/schemas/TenantGroup' description: '' delete: - operationId: vpn_ipsec_policies_bulk_destroy - description: Delete a list of IPSec policy objects. + operationId: tenancy_tenant_groups_bulk_destroy + description: Delete a list of tenant group objects. tags: - - vpn + - tenancy requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/IPSecPolicyRequest' + $ref: '#/components/schemas/TenantGroupRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/IPSecPolicyRequest' + $ref: '#/components/schemas/TenantGroupRequest' required: true security: - cookieAuth: [] @@ -93333,19 +120399,19 @@ paths: responses: '204': description: No response body - /api/vpn/ipsec-policies/{id}/: + /api/tenancy/tenant-groups/{id}/: get: - operationId: vpn_ipsec_policies_retrieve - description: Get a IPSec policy object. + operationId: tenancy_tenant_groups_retrieve + description: Get a tenant group object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this IPSec policy. + description: A unique integer value identifying this tenant group. required: true tags: - - vpn + - tenancy security: - cookieAuth: [] - tokenAuth: [] @@ -93354,28 +120420,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/IPSecPolicy' + $ref: '#/components/schemas/TenantGroup' description: '' put: - operationId: vpn_ipsec_policies_update - description: Put a IPSec policy object. + operationId: tenancy_tenant_groups_update + description: Put a tenant group object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this IPSec policy. + description: A unique integer value identifying this tenant group. required: true tags: - - vpn + - tenancy requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableIPSecPolicyRequest' + $ref: '#/components/schemas/WritableTenantGroupRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableIPSecPolicyRequest' + $ref: '#/components/schemas/WritableTenantGroupRequest' required: true security: - cookieAuth: [] @@ -93385,28 +120451,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/IPSecPolicy' + $ref: '#/components/schemas/TenantGroup' description: '' patch: - operationId: vpn_ipsec_policies_partial_update - description: Patch a IPSec policy object. + operationId: tenancy_tenant_groups_partial_update + description: Patch a tenant group object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this IPSec policy. + description: A unique integer value identifying this tenant group. required: true tags: - - vpn + - tenancy requestBody: content: application/json: schema: - $ref: '#/components/schemas/PatchedWritableIPSecPolicyRequest' + $ref: '#/components/schemas/PatchedWritableTenantGroupRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedWritableIPSecPolicyRequest' + $ref: '#/components/schemas/PatchedWritableTenantGroupRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -93415,31 +120481,83 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/IPSecPolicy' + $ref: '#/components/schemas/TenantGroup' description: '' delete: - operationId: vpn_ipsec_policies_destroy - description: Delete a IPSec policy object. + operationId: tenancy_tenant_groups_destroy + description: Delete a tenant group object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this IPSec policy. + description: A unique integer value identifying this tenant group. required: true tags: - - vpn + - tenancy security: - cookieAuth: [] - tokenAuth: [] responses: '204': description: No response body - /api/vpn/ipsec-profiles/: + /api/tenancy/tenants/: get: - operationId: vpn_ipsec_profiles_list - description: Get a list of IPSec profile objects. + operationId: tenancy_tenants_list + description: Get a list of tenant objects. parameters: + - in: query + name: contact + schema: + type: array + items: + type: integer + description: Contact + explode: true + style: form + - in: query + name: contact__n + schema: + type: array + items: + type: integer + description: Contact + explode: true + style: form + - in: query + name: contact_group + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact_group__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact_role + schema: + type: array + items: + type: integer + description: Contact Role + explode: true + style: form + - in: query + name: contact_role__n + schema: + type: array + items: + type: integer + description: Contact Role + explode: true + style: form - in: query name: created schema: @@ -93593,56 +120711,39 @@ paths: explode: true style: form - in: query - name: id - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: id__empty - schema: - type: boolean - - in: query - name: id__gt + name: group schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__gte + name: group__n schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__lt + name: group_id schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__lte + name: group_id__n schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__n + name: id schema: type: array items: @@ -93651,75 +120752,52 @@ paths: explode: true style: form - in: query - name: ike_policy - schema: - type: array - items: - type: string - description: IKE policy (name) - explode: true - style: form - - in: query - name: ike_policy__n + name: id__empty schema: - type: array - items: - type: string - description: IKE policy (name) - explode: true - style: form + type: boolean - in: query - name: ike_policy_id + name: id__gt schema: type: array items: type: integer - description: IKE policy (ID) + format: int32 explode: true style: form - in: query - name: ike_policy_id__n + name: id__gte schema: type: array items: type: integer - description: IKE policy (ID) - explode: true - style: form - - in: query - name: ipsec_policy - schema: - type: array - items: - type: string - description: IPSec policy (name) + format: int32 explode: true style: form - in: query - name: ipsec_policy__n + name: id__lt schema: type: array items: - type: string - description: IPSec policy (name) + type: integer + format: int32 explode: true style: form - in: query - name: ipsec_policy_id + name: id__lte schema: type: array items: type: integer - description: IPSec policy (ID) + format: int32 explode: true style: form - in: query - name: ipsec_policy_id__n + name: id__n schema: type: array items: type: integer - description: IPSec policy (ID) + format: int32 explode: true style: form - in: query @@ -93791,24 +120869,6 @@ paths: description: Number of results to return per page. schema: type: integer - - in: query - name: mode - schema: - type: array - items: - type: string - x-spec-enum-id: 1136c2cdfee84436 - explode: true - style: form - - in: query - name: mode__n - schema: - type: array - items: - type: string - x-spec-enum-id: 1136c2cdfee84436 - explode: true - style: form - in: query name: modified_by_request schema: @@ -93915,6 +120975,90 @@ paths: schema: type: string description: Search + - in: query + name: slug + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__empty + schema: + type: boolean + - in: query + name: slug__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nisw + schema: + type: array + items: + type: string + explode: true + style: form - in: query name: tag schema: @@ -93937,7 +121081,7 @@ paths: type: string format: uuid tags: - - vpn + - tenancy security: - cookieAuth: [] - tokenAuth: [] @@ -93946,21 +121090,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedIPSecProfileList' + $ref: '#/components/schemas/PaginatedTenantList' description: '' post: - operationId: vpn_ipsec_profiles_create - description: Post a list of IPSec profile objects. + operationId: tenancy_tenants_create + description: Post a list of tenant objects. tags: - - vpn + - tenancy requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableIPSecProfileRequest' + $ref: '#/components/schemas/TenantRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableIPSecProfileRequest' + $ref: '#/components/schemas/TenantRequest' required: true security: - cookieAuth: [] @@ -93970,25 +121114,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/IPSecProfile' + $ref: '#/components/schemas/Tenant' description: '' put: - operationId: vpn_ipsec_profiles_bulk_update - description: Put a list of IPSec profile objects. + operationId: tenancy_tenants_bulk_update + description: Put a list of tenant objects. tags: - - vpn + - tenancy requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/IPSecProfileRequest' + $ref: '#/components/schemas/TenantRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/IPSecProfileRequest' + $ref: '#/components/schemas/TenantRequest' required: true security: - cookieAuth: [] @@ -94000,25 +121144,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/IPSecProfile' + $ref: '#/components/schemas/Tenant' description: '' patch: - operationId: vpn_ipsec_profiles_bulk_partial_update - description: Patch a list of IPSec profile objects. + operationId: tenancy_tenants_bulk_partial_update + description: Patch a list of tenant objects. tags: - - vpn + - tenancy requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/IPSecProfileRequest' + $ref: '#/components/schemas/TenantRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/IPSecProfileRequest' + $ref: '#/components/schemas/TenantRequest' required: true security: - cookieAuth: [] @@ -94030,25 +121174,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/IPSecProfile' + $ref: '#/components/schemas/Tenant' description: '' delete: - operationId: vpn_ipsec_profiles_bulk_destroy - description: Delete a list of IPSec profile objects. + operationId: tenancy_tenants_bulk_destroy + description: Delete a list of tenant objects. tags: - - vpn + - tenancy requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/IPSecProfileRequest' + $ref: '#/components/schemas/TenantRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/IPSecProfileRequest' + $ref: '#/components/schemas/TenantRequest' required: true security: - cookieAuth: [] @@ -94056,19 +121200,19 @@ paths: responses: '204': description: No response body - /api/vpn/ipsec-profiles/{id}/: + /api/tenancy/tenants/{id}/: get: - operationId: vpn_ipsec_profiles_retrieve - description: Get a IPSec profile object. + operationId: tenancy_tenants_retrieve + description: Get a tenant object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this IPSec profile. + description: A unique integer value identifying this tenant. required: true tags: - - vpn + - tenancy security: - cookieAuth: [] - tokenAuth: [] @@ -94077,28 +121221,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/IPSecProfile' + $ref: '#/components/schemas/Tenant' description: '' put: - operationId: vpn_ipsec_profiles_update - description: Put a IPSec profile object. + operationId: tenancy_tenants_update + description: Put a tenant object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this IPSec profile. + description: A unique integer value identifying this tenant. required: true tags: - - vpn + - tenancy requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableIPSecProfileRequest' + $ref: '#/components/schemas/TenantRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableIPSecProfileRequest' + $ref: '#/components/schemas/TenantRequest' required: true security: - cookieAuth: [] @@ -94108,28 +121252,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/IPSecProfile' + $ref: '#/components/schemas/Tenant' description: '' patch: - operationId: vpn_ipsec_profiles_partial_update - description: Patch a IPSec profile object. + operationId: tenancy_tenants_partial_update + description: Patch a tenant object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this IPSec profile. + description: A unique integer value identifying this tenant. required: true tags: - - vpn + - tenancy requestBody: content: application/json: schema: - $ref: '#/components/schemas/PatchedWritableIPSecProfileRequest' + $ref: '#/components/schemas/PatchedTenantRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedWritableIPSecProfileRequest' + $ref: '#/components/schemas/PatchedTenantRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -94138,119 +121282,49 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/IPSecProfile' + $ref: '#/components/schemas/Tenant' description: '' delete: - operationId: vpn_ipsec_profiles_destroy - description: Delete a IPSec profile object. + operationId: tenancy_tenants_destroy + description: Delete a tenant object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this IPSec profile. + description: A unique integer value identifying this tenant. required: true tags: - - vpn + - tenancy security: - cookieAuth: [] - tokenAuth: [] responses: '204': description: No response body - /api/vpn/ipsec-proposals/: + /api/users/config/: get: - operationId: vpn_ipsec_proposals_list - description: Get a list of IPSec proposal objects. + operationId: users_config_retrieve + description: An API endpoint via which a user can update his or her own UserConfig + data (but no one else's). + tags: + - users + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + type: object + additionalProperties: {} + description: '' + /api/users/groups/: + get: + operationId: users_groups_list + description: Get a list of group objects. parameters: - - in: query - name: authentication_algorithm - schema: - type: array - items: - type: string - x-spec-enum-id: 0830e8839f5dea4f - title: Authentication - explode: true - style: form - - in: query - name: authentication_algorithm__n - schema: - type: array - items: - type: string - x-spec-enum-id: 0830e8839f5dea4f - title: Authentication - 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__empty - 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__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: created_by_request - schema: - type: string - format: uuid - in: query name: description schema: @@ -94335,26 +121409,6 @@ paths: type: string explode: true style: form - - in: query - name: encryption_algorithm - schema: - type: array - items: - type: string - x-spec-enum-id: b022535cfdee79fe - title: Encryption - explode: true - style: form - - in: query - name: encryption_algorithm__n - schema: - type: array - items: - type: string - x-spec-enum-id: b022535cfdee79fe - title: Encryption - explode: true - style: form - in: query name: id schema: @@ -94413,116 +121467,12 @@ paths: format: int32 explode: true style: form - - in: query - name: ipsec_policy - schema: - type: array - items: - type: string - description: IPSec policy (name) - explode: true - style: form - - in: query - name: ipsec_policy__n - schema: - type: array - items: - type: string - description: IPSec policy (name) - explode: true - style: form - - in: query - name: ipsec_policy_id - schema: - type: array - items: - type: integer - description: IPSec policy (ID) - explode: true - style: form - - in: query - name: ipsec_policy_id__n - schema: - type: array - items: - type: integer - description: IPSec policy (ID) - 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__empty - 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__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: modified_by_request - schema: - type: string - format: uuid - in: query name: name schema: @@ -94607,162 +121557,79 @@ 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 - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - in: query - name: q - schema: - type: string - description: Search - - in: query - name: sa_lifetime_data - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: sa_lifetime_data__empty - schema: - type: boolean - - in: query - name: sa_lifetime_data__gt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: sa_lifetime_data__gte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: sa_lifetime_data__lt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - in: query - name: sa_lifetime_data__lte + name: notification_group_id schema: type: array items: type: integer - format: int32 + description: Notification group (ID) explode: true style: form - in: query - name: sa_lifetime_data__n + name: notification_group_id__n schema: type: array items: type: integer - format: int32 + description: Notification group (ID) explode: true style: form - - in: query - name: sa_lifetime_seconds + - name: offset + required: false + in: query + description: The initial index from which to return the results. schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: sa_lifetime_seconds__empty + type: integer + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. schema: - type: boolean + type: string - in: query - name: sa_lifetime_seconds__gt + name: permission_id schema: type: array items: type: integer - format: int32 + description: Permission (ID) explode: true style: form - in: query - name: sa_lifetime_seconds__gte + name: permission_id__n schema: type: array items: type: integer - format: int32 + description: Permission (ID) explode: true style: form - in: query - name: sa_lifetime_seconds__lt + name: q schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form + type: string + description: Search - in: query - name: sa_lifetime_seconds__lte + name: user_id schema: type: array items: type: integer - format: int32 + description: User (ID) explode: true style: form - in: query - name: sa_lifetime_seconds__n + name: user_id__n schema: type: array items: type: integer - format: int32 - explode: true - style: form - - in: query - name: tag - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: tag__n - schema: - type: array - items: - type: string + description: User (ID) explode: true style: form - - in: query - name: updated_by_request - schema: - type: string - format: uuid tags: - - vpn + - users security: - cookieAuth: [] - tokenAuth: [] @@ -94771,21 +121638,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedIPSecProposalList' + $ref: '#/components/schemas/PaginatedGroupList' description: '' post: - operationId: vpn_ipsec_proposals_create - description: Post a list of IPSec proposal objects. + operationId: users_groups_create + description: Post a list of group objects. tags: - - vpn + - users requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableIPSecProposalRequest' + $ref: '#/components/schemas/GroupRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableIPSecProposalRequest' + $ref: '#/components/schemas/GroupRequest' required: true security: - cookieAuth: [] @@ -94795,25 +121662,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/IPSecProposal' + $ref: '#/components/schemas/Group' description: '' put: - operationId: vpn_ipsec_proposals_bulk_update - description: Put a list of IPSec proposal objects. + operationId: users_groups_bulk_update + description: Put a list of group objects. tags: - - vpn + - users requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/IPSecProposalRequest' + $ref: '#/components/schemas/GroupRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/IPSecProposalRequest' + $ref: '#/components/schemas/GroupRequest' required: true security: - cookieAuth: [] @@ -94825,25 +121692,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/IPSecProposal' + $ref: '#/components/schemas/Group' description: '' patch: - operationId: vpn_ipsec_proposals_bulk_partial_update - description: Patch a list of IPSec proposal objects. + operationId: users_groups_bulk_partial_update + description: Patch a list of group objects. tags: - - vpn + - users requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/IPSecProposalRequest' + $ref: '#/components/schemas/GroupRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/IPSecProposalRequest' + $ref: '#/components/schemas/GroupRequest' required: true security: - cookieAuth: [] @@ -94855,25 +121722,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/IPSecProposal' + $ref: '#/components/schemas/Group' description: '' delete: - operationId: vpn_ipsec_proposals_bulk_destroy - description: Delete a list of IPSec proposal objects. + operationId: users_groups_bulk_destroy + description: Delete a list of group objects. tags: - - vpn + - users requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/IPSecProposalRequest' + $ref: '#/components/schemas/GroupRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/IPSecProposalRequest' + $ref: '#/components/schemas/GroupRequest' required: true security: - cookieAuth: [] @@ -94881,19 +121748,19 @@ paths: responses: '204': description: No response body - /api/vpn/ipsec-proposals/{id}/: + /api/users/groups/{id}/: get: - operationId: vpn_ipsec_proposals_retrieve - description: Get a IPSec proposal object. + operationId: users_groups_retrieve + description: Get a group object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this IPSec proposal. + description: A unique integer value identifying this group. required: true tags: - - vpn + - users security: - cookieAuth: [] - tokenAuth: [] @@ -94902,28 +121769,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/IPSecProposal' + $ref: '#/components/schemas/Group' description: '' put: - operationId: vpn_ipsec_proposals_update - description: Put a IPSec proposal object. + operationId: users_groups_update + description: Put a group object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this IPSec proposal. + description: A unique integer value identifying this group. required: true tags: - - vpn + - users requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableIPSecProposalRequest' + $ref: '#/components/schemas/GroupRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableIPSecProposalRequest' + $ref: '#/components/schemas/GroupRequest' required: true security: - cookieAuth: [] @@ -94933,28 +121800,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/IPSecProposal' + $ref: '#/components/schemas/Group' description: '' patch: - operationId: vpn_ipsec_proposals_partial_update - description: Patch a IPSec proposal object. + operationId: users_groups_partial_update + description: Patch a group object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this IPSec proposal. + description: A unique integer value identifying this group. required: true tags: - - vpn + - users requestBody: content: application/json: schema: - $ref: '#/components/schemas/PatchedWritableIPSecProposalRequest' + $ref: '#/components/schemas/PatchedGroupRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedWritableIPSecProposalRequest' + $ref: '#/components/schemas/PatchedGroupRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -94963,201 +121830,169 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/IPSecProposal' + $ref: '#/components/schemas/Group' description: '' delete: - operationId: vpn_ipsec_proposals_destroy - description: Delete a IPSec proposal object. + operationId: users_groups_destroy + description: Delete a group object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this IPSec proposal. + description: A unique integer value identifying this group. required: true tags: - - vpn + - users security: - cookieAuth: [] - tokenAuth: [] responses: '204': description: No response body - /api/vpn/l2vpn-terminations/: + /api/users/permissions/: get: - operationId: vpn_l2vpn_terminations_list - description: Get a list of L2VPN termination objects. + operationId: users_permissions_list + description: Get a list of permission objects. parameters: - in: query - name: assigned_object_id + name: can_add schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form + type: boolean - in: query - name: assigned_object_id__empty + name: can_change schema: type: boolean - in: query - name: assigned_object_id__gt + name: can_delete schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form + type: boolean - in: query - name: assigned_object_id__gte + name: can_view schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form + type: boolean - in: query - name: assigned_object_id__lt + name: description schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: assigned_object_id__lte + name: description__empty + schema: + type: boolean + - in: query + name: description__ic schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: assigned_object_id__n + name: description__ie schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: assigned_object_type - schema: - type: string - - in: query - name: assigned_object_type__n - schema: - type: string - - in: query - name: created + name: description__iew schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__empty + name: description__isw schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__gt + name: description__n schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__gte + name: description__nic schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__lt + name: description__nie schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__lte + name: description__niew schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__n + name: description__nisw schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created_by_request + name: enabled schema: - type: string - format: uuid + type: boolean - in: query - name: device + name: group schema: type: array items: type: string - nullable: true - description: Device (name) + description: Group (name) explode: true style: form - in: query - name: device__n + name: group__n schema: type: array items: type: string - nullable: true - description: Device (name) + description: Group (name) explode: true style: form - in: query - name: device_id + name: group_id schema: type: array items: type: integer - description: Device (ID) + description: Group explode: true style: form - in: query - name: device_id__n + name: group_id__n schema: type: array items: type: integer - description: Device (ID) + description: Group explode: true style: form - in: query @@ -95218,369 +122053,223 @@ paths: format: int32 explode: true style: form - - in: query - name: interface + - name: limit + required: false + in: query + description: Number of results to return per page. schema: - type: array - items: - type: string - description: Interface (name) - explode: true - style: form + type: integer - in: query - name: interface__n + name: name schema: type: array items: type: string - description: Interface (name) - explode: true - style: form - - in: query - name: interface_id - schema: - type: array - items: - type: integer - description: Interface (ID) explode: true style: form - in: query - name: interface_id__n + name: name__empty schema: - type: array - items: - type: integer - description: Interface (ID) - explode: true - style: form + type: boolean - in: query - name: l2vpn + name: name__ic schema: type: array items: type: string - description: L2VPN (slug) explode: true style: form - in: query - name: l2vpn__n + name: name__ie schema: type: array items: type: string - description: L2VPN (slug) - explode: true - style: form - - in: query - name: l2vpn_id - schema: - type: array - items: - type: integer - description: L2VPN (ID) explode: true style: form - in: query - name: l2vpn_id__n - schema: - type: array - items: - type: integer - description: L2VPN (ID) - explode: true - style: form - - in: query - name: last_updated + name: name__iew schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__empty + name: name__isw schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__gt + name: name__n schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: last_updated__gte + name: name__nic schema: type: array items: type: string - format: date-time 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__nisw 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: modified_by_request - schema: - type: string - format: uuid - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. + name: object_type schema: type: string - in: query - name: q + name: object_type__ic schema: type: string - description: Search - - in: query - name: region - schema: - type: array - items: - type: string - explode: true - style: form - in: query - name: region_id + name: object_type__ie schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form + type: string - in: query - name: site + name: object_type__iew schema: - type: array - items: - type: string - explode: true - style: form + type: string - in: query - name: site_id + name: object_type__isw schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form + type: string - in: query - name: tag + name: object_type__n schema: - type: array - items: - type: string - explode: true - style: form + type: string - in: query - name: tag__n + name: object_type__nic schema: - type: array - items: - type: string - explode: true - style: form + type: string - in: query - name: updated_by_request + name: object_type__nie schema: type: string - format: uuid - in: query - name: virtual_machine + name: object_type__niew schema: - type: array - items: - type: string - description: Virtual machine (name) - explode: true - style: form + type: string - in: query - name: virtual_machine__n + name: object_type__nisw schema: - type: array - items: - type: string - description: Virtual machine (name) - explode: true - style: form + type: string - in: query - name: virtual_machine_id + name: object_type_id schema: type: array items: type: integer - description: Virtual machine (ID) explode: true style: form - in: query - name: virtual_machine_id__n + name: object_type_id__n schema: type: array items: type: integer - description: Virtual machine (ID) - explode: true - style: form - - in: query - name: vlan - schema: - type: array - items: - type: string - description: VLAN (name) - explode: true - style: form - - in: query - name: vlan__n - schema: - type: array - items: - type: string - description: VLAN (name) explode: true style: form - in: query - name: vlan_id + name: object_types schema: type: array items: type: integer - description: VLAN (ID) explode: true style: form - in: query - name: vlan_id__n + name: object_types__n schema: type: array items: type: integer - description: VLAN (ID) explode: true style: form - - in: query - name: vlan_vid - schema: - type: integer - description: VLAN number (1-4094) - - in: query - name: vlan_vid__empty - schema: - type: integer - description: VLAN number (1-4094) - - in: query - name: vlan_vid__gt - schema: - type: integer - description: VLAN number (1-4094) - - in: query - name: vlan_vid__gte - schema: - type: integer - description: VLAN number (1-4094) - - in: query - name: vlan_vid__lt + - name: offset + required: false + in: query + description: The initial index from which to return the results. schema: type: integer - description: VLAN number (1-4094) - - in: query - name: vlan_vid__lte + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. schema: - type: integer - description: VLAN number (1-4094) + type: string - in: query - name: vlan_vid__n + name: q schema: - type: integer - description: VLAN number (1-4094) + type: string + description: Search - in: query - name: vminterface + name: user schema: type: array items: type: string - description: VM interface (name) + description: User (name) explode: true style: form - in: query - name: vminterface__n + name: user__n schema: type: array items: type: string - description: VM interface (name) + description: User (name) explode: true style: form - in: query - name: vminterface_id + name: user_id schema: type: array items: type: integer - description: VM Interface (ID) + description: User explode: true style: form - in: query - name: vminterface_id__n + name: user_id__n schema: type: array items: type: integer - description: VM Interface (ID) + description: User explode: true style: form tags: - - vpn + - users security: - cookieAuth: [] - tokenAuth: [] @@ -95589,21 +122278,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedL2VPNTerminationList' + $ref: '#/components/schemas/PaginatedObjectPermissionList' description: '' post: - operationId: vpn_l2vpn_terminations_create - description: Post a list of L2VPN termination objects. + operationId: users_permissions_create + description: Post a list of permission objects. tags: - - vpn + - users requestBody: content: application/json: schema: - $ref: '#/components/schemas/L2VPNTerminationRequest' + $ref: '#/components/schemas/ObjectPermissionRequest' multipart/form-data: schema: - $ref: '#/components/schemas/L2VPNTerminationRequest' + $ref: '#/components/schemas/ObjectPermissionRequest' required: true security: - cookieAuth: [] @@ -95613,25 +122302,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/L2VPNTermination' + $ref: '#/components/schemas/ObjectPermission' description: '' put: - operationId: vpn_l2vpn_terminations_bulk_update - description: Put a list of L2VPN termination objects. + operationId: users_permissions_bulk_update + description: Put a list of permission objects. tags: - - vpn + - users requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/L2VPNTerminationRequest' + $ref: '#/components/schemas/ObjectPermissionRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/L2VPNTerminationRequest' + $ref: '#/components/schemas/ObjectPermissionRequest' required: true security: - cookieAuth: [] @@ -95643,25 +122332,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/L2VPNTermination' + $ref: '#/components/schemas/ObjectPermission' description: '' patch: - operationId: vpn_l2vpn_terminations_bulk_partial_update - description: Patch a list of L2VPN termination objects. + operationId: users_permissions_bulk_partial_update + description: Patch a list of permission objects. tags: - - vpn + - users requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/L2VPNTerminationRequest' + $ref: '#/components/schemas/ObjectPermissionRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/L2VPNTerminationRequest' + $ref: '#/components/schemas/ObjectPermissionRequest' required: true security: - cookieAuth: [] @@ -95673,25 +122362,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/L2VPNTermination' + $ref: '#/components/schemas/ObjectPermission' description: '' delete: - operationId: vpn_l2vpn_terminations_bulk_destroy - description: Delete a list of L2VPN termination objects. + operationId: users_permissions_bulk_destroy + description: Delete a list of permission objects. tags: - - vpn + - users requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/L2VPNTerminationRequest' + $ref: '#/components/schemas/ObjectPermissionRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/L2VPNTerminationRequest' + $ref: '#/components/schemas/ObjectPermissionRequest' required: true security: - cookieAuth: [] @@ -95699,19 +122388,19 @@ paths: responses: '204': description: No response body - /api/vpn/l2vpn-terminations/{id}/: + /api/users/permissions/{id}/: get: - operationId: vpn_l2vpn_terminations_retrieve - description: Get a L2VPN termination object. + operationId: users_permissions_retrieve + description: Get a permission object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this L2VPN termination. + description: A unique integer value identifying this permission. required: true tags: - - vpn + - users security: - cookieAuth: [] - tokenAuth: [] @@ -95720,28 +122409,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/L2VPNTermination' + $ref: '#/components/schemas/ObjectPermission' description: '' put: - operationId: vpn_l2vpn_terminations_update - description: Put a L2VPN termination object. + operationId: users_permissions_update + description: Put a permission object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this L2VPN termination. + description: A unique integer value identifying this permission. required: true tags: - - vpn + - users requestBody: content: application/json: schema: - $ref: '#/components/schemas/L2VPNTerminationRequest' + $ref: '#/components/schemas/ObjectPermissionRequest' multipart/form-data: schema: - $ref: '#/components/schemas/L2VPNTerminationRequest' + $ref: '#/components/schemas/ObjectPermissionRequest' required: true security: - cookieAuth: [] @@ -95751,28 +122440,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/L2VPNTermination' + $ref: '#/components/schemas/ObjectPermission' description: '' patch: - operationId: vpn_l2vpn_terminations_partial_update - description: Patch a L2VPN termination object. + operationId: users_permissions_partial_update + description: Patch a permission object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this L2VPN termination. + description: A unique integer value identifying this permission. required: true tags: - - vpn + - users requestBody: content: application/json: schema: - $ref: '#/components/schemas/PatchedL2VPNTerminationRequest' + $ref: '#/components/schemas/PatchedObjectPermissionRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedL2VPNTerminationRequest' + $ref: '#/components/schemas/PatchedObjectPermissionRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -95781,99 +122470,46 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/L2VPNTermination' + $ref: '#/components/schemas/ObjectPermission' description: '' delete: - operationId: vpn_l2vpn_terminations_destroy - description: Delete a L2VPN termination object. + operationId: users_permissions_destroy + description: Delete a permission object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this L2VPN termination. + description: A unique integer value identifying this permission. required: true tags: - - vpn + - users security: - cookieAuth: [] - tokenAuth: [] responses: '204': description: No response body - /api/vpn/l2vpns/: + /api/users/tokens/: get: - operationId: vpn_l2vpns_list - description: Get a list of L2VPN objects. + operationId: users_tokens_list + description: Get a list of token objects. parameters: - in: query name: created schema: - type: array - items: - type: string - format: date-time - explode: true - style: form - - in: query - name: created__empty - 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 + type: string + format: date-time - in: query name: created__gte schema: - type: array - items: - type: string - format: date-time - explode: true - style: form - - in: query - name: created__lt - schema: - type: array - items: - type: string - format: date-time - explode: true - style: form + type: string + format: date-time - 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: created_by_request schema: type: string - format: uuid + format: date-time - in: query name: description schema: @@ -95959,41 +122595,20 @@ paths: explode: true style: form - in: query - name: export_target - schema: - type: array - items: - type: string - description: Export target (name) - explode: true - style: form - - in: query - name: export_target__n + name: expires schema: - type: array - items: - type: string - description: Export target (name) - explode: true - style: form + type: string + format: date-time - in: query - name: export_target_id + name: expires__gte schema: - type: array - items: - type: integer - description: Export target - explode: true - style: form + type: string + format: date-time - in: query - name: export_target_id__n + name: expires__lte schema: - type: array - items: - type: integer - description: Export target - explode: true - style: form + type: string + format: date-time - in: query name: id schema: @@ -96053,101 +122668,91 @@ paths: explode: true style: form - in: query - name: identifier + name: key schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: identifier__empty + name: key__empty schema: type: boolean - in: query - name: identifier__gt + name: key__ic schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: identifier__gte + name: key__ie schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: identifier__lt + name: key__iew schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: identifier__lte + name: key__isw schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: identifier__n + name: key__n schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: import_target + name: key__nic schema: type: array items: type: string - description: Import target (name) explode: true style: form - in: query - name: import_target__n + name: key__nie schema: type: array items: type: string - description: Import target (name) explode: true style: form - in: query - name: import_target_id + name: key__niew schema: type: array items: - type: integer - description: Import target + type: string explode: true style: form - in: query - name: import_target_id__n + name: key__nisw schema: type: array items: - type: integer - description: Import target + type: string explode: true style: form - in: query - name: last_updated + name: last_used schema: type: array items: @@ -96156,16 +122761,11 @@ paths: explode: true style: form - in: query - name: last_updated__empty + name: last_used__empty schema: - type: array - items: - type: string - format: date-time - explode: true - style: form + type: boolean - in: query - name: last_updated__gt + name: last_used__gt schema: type: array items: @@ -96174,7 +122774,7 @@ paths: explode: true style: form - in: query - name: last_updated__gte + name: last_used__gte schema: type: array items: @@ -96183,7 +122783,7 @@ paths: explode: true style: form - in: query - name: last_updated__lt + name: last_used__lt schema: type: array items: @@ -96192,7 +122792,7 @@ paths: explode: true style: form - in: query - name: last_updated__lte + name: last_used__lte schema: type: array items: @@ -96201,7 +122801,7 @@ paths: explode: true style: form - in: query - name: last_updated__n + name: last_used__n schema: type: array items: @@ -96215,95 +122815,6 @@ paths: description: Number of results to return per page. schema: type: integer - - in: query - name: modified_by_request - schema: - type: string - format: uuid - - in: query - name: name - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: name__empty - schema: - type: boolean - - 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__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__nisw - schema: - type: array - items: - type: string - explode: true - style: form - name: offset required: false in: query @@ -96322,204 +122833,47 @@ paths: type: string description: Search - in: query - name: slug - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__empty - schema: - type: boolean - - in: query - name: slug__ic - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__ie - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__iew - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__isw - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__n - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__nic - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__nie - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__niew - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: slug__nisw - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: tag - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: tag__n - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: tenant + name: user schema: type: array items: type: string - description: Tenant (slug) + description: User (name) explode: true style: form - in: query - name: tenant__n + name: user__n schema: type: array items: type: string - description: Tenant (slug) - explode: true - style: form - - in: query - name: tenant_group - schema: - type: array - items: - type: integer - description: Tenant Group (slug) - explode: true - style: form - - in: query - name: tenant_group__n - schema: - type: array - items: - type: integer - description: Tenant Group (slug) - explode: true - style: form - - in: query - name: tenant_group_id - schema: - type: array - items: - type: integer - description: Tenant Group (ID) - explode: true - style: form - - in: query - name: tenant_group_id__n - schema: - type: array - items: - type: integer - description: Tenant Group (ID) + description: User (name) explode: true style: form - in: query - name: tenant_id + name: user_id schema: type: array items: type: integer - nullable: true - description: Tenant (ID) + description: User explode: true style: form - in: query - name: tenant_id__n + name: user_id__n schema: type: array items: type: integer - nullable: true - description: Tenant (ID) - explode: true - style: form - - in: query - name: type - schema: - type: array - items: - type: string - x-spec-enum-id: dbaa4f996ec2d110 - explode: true - style: form - - in: query - name: type__n - schema: - type: array - items: - type: string - x-spec-enum-id: dbaa4f996ec2d110 + description: User explode: true style: form - in: query - name: updated_by_request + name: write_enabled schema: - type: string - format: uuid + type: boolean tags: - - vpn + - users security: - cookieAuth: [] - tokenAuth: [] @@ -96528,21 +122882,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedL2VPNList' + $ref: '#/components/schemas/PaginatedTokenList' description: '' post: - operationId: vpn_l2vpns_create - description: Post a list of L2VPN objects. + operationId: users_tokens_create + description: Post a list of token objects. tags: - - vpn + - users requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableL2VPNRequest' + $ref: '#/components/schemas/TokenRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableL2VPNRequest' + $ref: '#/components/schemas/TokenRequest' required: true security: - cookieAuth: [] @@ -96552,25 +122906,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/L2VPN' + $ref: '#/components/schemas/Token' description: '' put: - operationId: vpn_l2vpns_bulk_update - description: Put a list of L2VPN objects. + operationId: users_tokens_bulk_update + description: Put a list of token objects. tags: - - vpn + - users requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/L2VPNRequest' + $ref: '#/components/schemas/TokenRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/L2VPNRequest' + $ref: '#/components/schemas/TokenRequest' required: true security: - cookieAuth: [] @@ -96582,25 +122936,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/L2VPN' + $ref: '#/components/schemas/Token' description: '' patch: - operationId: vpn_l2vpns_bulk_partial_update - description: Patch a list of L2VPN objects. + operationId: users_tokens_bulk_partial_update + description: Patch a list of token objects. tags: - - vpn + - users requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/L2VPNRequest' + $ref: '#/components/schemas/TokenRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/L2VPNRequest' + $ref: '#/components/schemas/TokenRequest' required: true security: - cookieAuth: [] @@ -96612,25 +122966,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/L2VPN' + $ref: '#/components/schemas/Token' description: '' delete: - operationId: vpn_l2vpns_bulk_destroy - description: Delete a list of L2VPN objects. + operationId: users_tokens_bulk_destroy + description: Delete a list of token objects. tags: - - vpn + - users requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/L2VPNRequest' + $ref: '#/components/schemas/TokenRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/L2VPNRequest' + $ref: '#/components/schemas/TokenRequest' required: true security: - cookieAuth: [] @@ -96638,19 +122992,19 @@ paths: responses: '204': description: No response body - /api/vpn/l2vpns/{id}/: + /api/users/tokens/{id}/: get: - operationId: vpn_l2vpns_retrieve - description: Get a L2VPN object. + operationId: users_tokens_retrieve + description: Get a token object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this L2VPN. + description: A unique integer value identifying this token. required: true tags: - - vpn + - users security: - cookieAuth: [] - tokenAuth: [] @@ -96659,28 +123013,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/L2VPN' + $ref: '#/components/schemas/Token' description: '' put: - operationId: vpn_l2vpns_update - description: Put a L2VPN object. + operationId: users_tokens_update + description: Put a token object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this L2VPN. + description: A unique integer value identifying this token. required: true tags: - - vpn + - users requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableL2VPNRequest' + $ref: '#/components/schemas/TokenRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableL2VPNRequest' + $ref: '#/components/schemas/TokenRequest' required: true security: - cookieAuth: [] @@ -96690,28 +123044,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/L2VPN' + $ref: '#/components/schemas/Token' description: '' patch: - operationId: vpn_l2vpns_partial_update - description: Patch a L2VPN object. + operationId: users_tokens_partial_update + description: Patch a token object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this L2VPN. + description: A unique integer value identifying this token. required: true tags: - - vpn + - users requestBody: content: application/json: schema: - $ref: '#/components/schemas/PatchedWritableL2VPNRequest' + $ref: '#/components/schemas/PatchedTokenRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedWritableL2VPNRequest' + $ref: '#/components/schemas/PatchedTokenRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -96720,33 +123074,66 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/L2VPN' + $ref: '#/components/schemas/Token' description: '' delete: - operationId: vpn_l2vpns_destroy - description: Delete a L2VPN object. + operationId: users_tokens_destroy + description: Delete a token object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this L2VPN. + description: A unique integer value identifying this token. required: true tags: - - vpn + - users security: - cookieAuth: [] - tokenAuth: [] responses: '204': description: No response body - /api/vpn/tunnel-groups/: + /api/users/tokens/provision/: + post: + operationId: users_tokens_provision_create + description: Non-authenticated REST API endpoint via which a user may create + a Token. + tags: + - users + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/TokenProvisionRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/TokenProvisionRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json: + schema: + $ref: '#/components/schemas/TokenProvision' + description: '' + '401': + content: + application/json: + schema: + type: object + additionalProperties: {} + description: '' + /api/users/users/: get: - operationId: vpn_tunnel_groups_list - description: Get a list of tunnel group objects. + operationId: users_users_list + description: Get a list of user objects. parameters: - in: query - name: created + name: date_joined schema: type: array items: @@ -96755,7 +123142,11 @@ paths: explode: true style: form - in: query - name: created__empty + name: date_joined__empty + schema: + type: boolean + - in: query + name: date_joined__gt schema: type: array items: @@ -96764,7 +123155,7 @@ paths: explode: true style: form - in: query - name: created__gt + name: date_joined__gte schema: type: array items: @@ -96773,7 +123164,7 @@ paths: explode: true style: form - in: query - name: created__gte + name: date_joined__lt schema: type: array items: @@ -96782,7 +123173,7 @@ paths: explode: true style: form - in: query - name: created__lt + name: date_joined__lte schema: type: array items: @@ -96791,7 +123182,7 @@ paths: explode: true style: form - in: query - name: created__lte + name: date_joined__n schema: type: array items: @@ -96800,21 +123191,19 @@ paths: explode: true style: form - in: query - name: created__n + name: email schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created_by_request + name: email__empty schema: - type: string - format: uuid + type: boolean - in: query - name: description + name: email__ic schema: type: array items: @@ -96822,11 +123211,83 @@ paths: explode: true style: form - in: query - name: description__empty + name: email__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: email__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: email__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: email__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: email__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: email__nie + schema: + 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__nisw + 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__empty schema: type: boolean - in: query - name: description__ic + name: first_name__ic schema: type: array items: @@ -96834,7 +123295,7 @@ paths: explode: true style: form - in: query - name: description__ie + name: first_name__ie schema: type: array items: @@ -96842,7 +123303,7 @@ paths: explode: true style: form - in: query - name: description__iew + name: first_name__iew schema: type: array items: @@ -96850,7 +123311,7 @@ paths: explode: true style: form - in: query - name: description__isw + name: first_name__isw schema: type: array items: @@ -96858,7 +123319,7 @@ paths: explode: true style: form - in: query - name: description__n + name: first_name__n schema: type: array items: @@ -96866,7 +123327,7 @@ paths: explode: true style: form - in: query - name: description__nic + name: first_name__nic schema: type: array items: @@ -96874,7 +123335,7 @@ paths: explode: true style: form - in: query - name: description__nie + name: first_name__nie schema: type: array items: @@ -96882,7 +123343,7 @@ paths: explode: true style: form - in: query - name: description__niew + name: first_name__niew schema: type: array items: @@ -96890,11 +123351,47 @@ paths: explode: true style: form - in: query - name: description__nisw + name: first_name__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: group + schema: + type: array + items: + type: string + description: Group (name) + explode: true + style: form + - in: query + name: group__n schema: type: array items: type: string + description: Group (name) + explode: true + style: form + - in: query + name: group_id + schema: + type: array + items: + type: integer + description: Group + explode: true + style: form + - in: query + name: group_id__n + schema: + type: array + items: + type: integer + description: Group explode: true style: form - in: query @@ -96956,7 +123453,19 @@ paths: explode: true style: form - in: query - name: last_updated + name: is_active + schema: + type: boolean + - in: query + name: is_staff + schema: + type: boolean + - in: query + name: is_superuser + schema: + type: boolean + - in: query + name: last_login schema: type: array items: @@ -96965,7 +123474,11 @@ paths: explode: true style: form - in: query - name: last_updated__empty + name: last_login__empty + schema: + type: boolean + - in: query + name: last_login__gt schema: type: array items: @@ -96974,7 +123487,7 @@ paths: explode: true style: form - in: query - name: last_updated__gt + name: last_login__gte schema: type: array items: @@ -96983,7 +123496,7 @@ paths: explode: true style: form - in: query - name: last_updated__gte + name: last_login__lt schema: type: array items: @@ -96992,7 +123505,7 @@ paths: explode: true style: form - in: query - name: last_updated__lt + name: last_login__lte schema: type: array items: @@ -97001,7 +123514,7 @@ paths: explode: true style: form - in: query - name: last_updated__lte + name: last_login__n schema: type: array items: @@ -97010,27 +123523,19 @@ paths: explode: true style: form - in: query - name: last_updated__n + name: last_name 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: modified_by_request + name: last_name__empty schema: - type: string - format: uuid + type: boolean - in: query - name: name + name: last_name__ic schema: type: array items: @@ -97038,11 +123543,15 @@ paths: explode: true style: form - in: query - name: name__empty + name: last_name__ie schema: - type: boolean + type: array + items: + type: string + explode: true + style: form - in: query - name: name__ic + name: last_name__iew schema: type: array items: @@ -97050,7 +123559,7 @@ paths: explode: true style: form - in: query - name: name__ie + name: last_name__isw schema: type: array items: @@ -97058,7 +123567,7 @@ paths: explode: true style: form - in: query - name: name__iew + name: last_name__n schema: type: array items: @@ -97066,7 +123575,7 @@ paths: explode: true style: form - in: query - name: name__isw + name: last_name__nic schema: type: array items: @@ -97074,7 +123583,7 @@ paths: explode: true style: form - in: query - name: name__n + name: last_name__nie schema: type: array items: @@ -97082,7 +123591,7 @@ paths: explode: true style: form - in: query - name: name__nic + name: last_name__niew schema: type: array items: @@ -97090,27 +123599,35 @@ paths: explode: true style: form - in: query - name: name__nie + name: last_name__nisw 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: name__niew + name: notification_group_id schema: type: array items: - type: string + type: integer + description: Notification group (ID) explode: true style: form - in: query - name: name__nisw + name: notification_group_id__n schema: type: array items: - type: string + type: integer + description: Notification group (ID) explode: true style: form - name: offset @@ -97126,32 +123643,30 @@ paths: schema: type: string - in: query - name: q - schema: - type: string - description: Search - - in: query - name: slug + name: permission_id schema: type: array items: - type: string + type: integer + description: Permission (ID) explode: true style: form - in: query - name: slug__empty - schema: - type: boolean - - in: query - name: slug__ic + name: permission_id__n schema: type: array items: - type: string + type: integer + description: Permission (ID) explode: true style: form - in: query - name: slug__ie + name: q + schema: + type: string + description: Search + - in: query + name: username schema: type: array items: @@ -97159,7 +123674,11 @@ paths: explode: true style: form - in: query - name: slug__iew + name: username__empty + schema: + type: boolean + - in: query + name: username__ic schema: type: array items: @@ -97167,7 +123686,7 @@ paths: explode: true style: form - in: query - name: slug__isw + name: username__ie schema: type: array items: @@ -97175,7 +123694,7 @@ paths: explode: true style: form - in: query - name: slug__n + name: username__iew schema: type: array items: @@ -97183,7 +123702,7 @@ paths: explode: true style: form - in: query - name: slug__nic + name: username__isw schema: type: array items: @@ -97191,7 +123710,7 @@ paths: explode: true style: form - in: query - name: slug__nie + name: username__n schema: type: array items: @@ -97199,7 +123718,7 @@ paths: explode: true style: form - in: query - name: slug__niew + name: username__nic schema: type: array items: @@ -97207,7 +123726,7 @@ paths: explode: true style: form - in: query - name: slug__nisw + name: username__nie schema: type: array items: @@ -97215,7 +123734,7 @@ paths: explode: true style: form - in: query - name: tag + name: username__niew schema: type: array items: @@ -97223,20 +123742,15 @@ paths: explode: true style: form - in: query - name: tag__n + name: username__nisw schema: type: array items: type: string explode: true style: form - - in: query - name: updated_by_request - schema: - type: string - format: uuid tags: - - vpn + - users security: - cookieAuth: [] - tokenAuth: [] @@ -97245,21 +123759,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedTunnelGroupList' + $ref: '#/components/schemas/PaginatedUserList' description: '' post: - operationId: vpn_tunnel_groups_create - description: Post a list of tunnel group objects. + operationId: users_users_create + description: Post a list of user objects. tags: - - vpn + - users requestBody: content: application/json: schema: - $ref: '#/components/schemas/TunnelGroupRequest' + $ref: '#/components/schemas/UserRequest' multipart/form-data: schema: - $ref: '#/components/schemas/TunnelGroupRequest' + $ref: '#/components/schemas/UserRequest' required: true security: - cookieAuth: [] @@ -97269,25 +123783,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/TunnelGroup' + $ref: '#/components/schemas/User' description: '' put: - operationId: vpn_tunnel_groups_bulk_update - description: Put a list of tunnel group objects. + operationId: users_users_bulk_update + description: Put a list of user objects. tags: - - vpn + - users requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/TunnelGroupRequest' + $ref: '#/components/schemas/UserRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/TunnelGroupRequest' + $ref: '#/components/schemas/UserRequest' required: true security: - cookieAuth: [] @@ -97299,25 +123813,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/TunnelGroup' + $ref: '#/components/schemas/User' description: '' patch: - operationId: vpn_tunnel_groups_bulk_partial_update - description: Patch a list of tunnel group objects. + operationId: users_users_bulk_partial_update + description: Patch a list of user objects. tags: - - vpn + - users requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/TunnelGroupRequest' + $ref: '#/components/schemas/UserRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/TunnelGroupRequest' + $ref: '#/components/schemas/UserRequest' required: true security: - cookieAuth: [] @@ -97329,25 +123843,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/TunnelGroup' + $ref: '#/components/schemas/User' description: '' delete: - operationId: vpn_tunnel_groups_bulk_destroy - description: Delete a list of tunnel group objects. + operationId: users_users_bulk_destroy + description: Delete a list of user objects. tags: - - vpn + - users requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/TunnelGroupRequest' + $ref: '#/components/schemas/UserRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/TunnelGroupRequest' + $ref: '#/components/schemas/UserRequest' required: true security: - cookieAuth: [] @@ -97355,19 +123869,19 @@ paths: responses: '204': description: No response body - /api/vpn/tunnel-groups/{id}/: + /api/users/users/{id}/: get: - operationId: vpn_tunnel_groups_retrieve - description: Get a tunnel group object. + operationId: users_users_retrieve + description: Get a user object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this tunnel group. + description: A unique integer value identifying this user. required: true tags: - - vpn + - users security: - cookieAuth: [] - tokenAuth: [] @@ -97376,28 +123890,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/TunnelGroup' + $ref: '#/components/schemas/User' description: '' put: - operationId: vpn_tunnel_groups_update - description: Put a tunnel group object. + operationId: users_users_update + description: Put a user object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this tunnel group. + description: A unique integer value identifying this user. required: true tags: - - vpn + - users requestBody: content: application/json: schema: - $ref: '#/components/schemas/TunnelGroupRequest' + $ref: '#/components/schemas/UserRequest' multipart/form-data: schema: - $ref: '#/components/schemas/TunnelGroupRequest' + $ref: '#/components/schemas/UserRequest' required: true security: - cookieAuth: [] @@ -97407,28 +123921,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/TunnelGroup' + $ref: '#/components/schemas/User' description: '' patch: - operationId: vpn_tunnel_groups_partial_update - description: Patch a tunnel group object. + operationId: users_users_partial_update + description: Patch a user object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this tunnel group. + description: A unique integer value identifying this user. required: true tags: - - vpn + - users requestBody: content: application/json: schema: - $ref: '#/components/schemas/PatchedTunnelGroupRequest' + $ref: '#/components/schemas/PatchedUserRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedTunnelGroupRequest' + $ref: '#/components/schemas/PatchedUserRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -97437,31 +123951,83 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/TunnelGroup' + $ref: '#/components/schemas/User' description: '' delete: - operationId: vpn_tunnel_groups_destroy - description: Delete a tunnel group object. + operationId: users_users_destroy + description: Delete a user object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this tunnel group. + description: A unique integer value identifying this user. required: true tags: - - vpn + - users security: - cookieAuth: [] - tokenAuth: [] responses: '204': description: No response body - /api/vpn/tunnel-terminations/: + /api/virtualization/cluster-groups/: get: - operationId: vpn_tunnel_terminations_list - description: Get a list of tunnel termination objects. + operationId: virtualization_cluster_groups_list + description: Get a list of cluster group objects. parameters: + - in: query + name: contact + schema: + type: array + items: + type: integer + description: Contact + explode: true + style: form + - in: query + name: contact__n + schema: + type: array + items: + type: integer + description: Contact + explode: true + style: form + - in: query + name: contact_group + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact_group__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact_role + schema: + type: array + items: + type: integer + description: Contact Role + explode: true + style: form + - in: query + name: contact_role__n + schema: + type: array + items: + type: integer + description: Contact Role + explode: true + style: form - in: query name: created schema: @@ -97531,47 +124097,91 @@ paths: type: string format: uuid - in: query - name: id + name: description schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__empty + name: description__empty schema: type: boolean - in: query - name: id__gt + name: description__ic schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__gte + name: description__ie schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__lt + name: description__iew schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: id__lte + 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__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: id schema: type: array items: @@ -97580,7 +124190,11 @@ paths: explode: true style: form - in: query - name: id__n + name: id__empty + schema: + type: boolean + - in: query + name: id__gt schema: type: array items: @@ -97589,39 +124203,39 @@ paths: explode: true style: form - in: query - name: interface + name: id__gte schema: type: array items: - type: string - description: Interface (name) + type: integer + format: int32 explode: true style: form - in: query - name: interface__n + name: id__lt schema: type: array items: - type: string - description: Interface (name) + type: integer + format: int32 explode: true style: form - in: query - name: interface_id + name: id__lte schema: type: array items: type: integer - description: Interface (ID) + format: int32 explode: true style: form - in: query - name: interface_id__n + name: id__n schema: type: array items: type: integer - description: Interface (ID) + format: int32 explode: true style: form - in: query @@ -97698,61 +124312,44 @@ paths: schema: type: string format: uuid - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - in: query - name: outside_ip_id + name: name schema: type: array items: - type: integer - description: Outside IP (ID) + type: string explode: true style: form - in: query - name: outside_ip_id__n + name: name__empty + schema: + type: boolean + - in: query + name: name__ic schema: type: array items: - type: integer - description: Outside IP (ID) + type: string explode: true style: form - in: query - name: q - schema: - type: string - description: Search - - in: query - name: role + name: name__ie schema: type: array items: type: string - x-spec-enum-id: 52225cd60b867572 explode: true style: form - in: query - name: role__n + name: name__iew schema: type: array items: type: string - x-spec-enum-id: 52225cd60b867572 explode: true style: form - in: query - name: tag + name: name__isw schema: type: array items: @@ -97760,7 +124357,7 @@ paths: explode: true style: form - in: query - name: tag__n + name: name__n schema: type: array items: @@ -97768,150 +124365,161 @@ paths: explode: true style: form - in: query - name: termination_id + name: name__nic schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: termination_id__empty - schema: - type: boolean - - in: query - name: termination_id__gt + name: name__nie schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: termination_id__gte + name: name__niew schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: termination_id__lt + name: name__nisw schema: type: array items: - type: integer - format: int32 + 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 + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string - in: query - name: termination_id__lte + name: q + schema: + type: string + description: Search + - in: query + name: slug schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: termination_id__n + name: slug__empty + schema: + type: boolean + - in: query + name: slug__ic schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: termination_type - schema: - type: string - - in: query - name: termination_type__n + name: slug__ie schema: - type: string + type: array + items: + type: string + explode: true + style: form - in: query - name: tunnel + name: slug__iew schema: type: array items: type: string - description: Tunnel (name) explode: true style: form - in: query - name: tunnel__n + name: slug__isw schema: type: array items: type: string - description: Tunnel (name) explode: true style: form - in: query - name: tunnel_id + name: slug__n schema: type: array items: - type: integer - description: Tunnel (ID) + type: string explode: true style: form - in: query - name: tunnel_id__n + name: slug__nic schema: type: array items: - type: integer - description: Tunnel (ID) + type: string explode: true style: form - in: query - name: updated_by_request + name: slug__nie schema: - type: string - format: uuid + type: array + items: + type: string + explode: true + style: form - in: query - name: vminterface + name: slug__niew schema: type: array items: type: string - description: VM interface (name) explode: true style: form - in: query - name: vminterface__n + name: slug__nisw schema: type: array items: type: string - description: VM interface (name) explode: true style: form - in: query - name: vminterface_id + name: tag schema: type: array items: - type: integer - description: VM interface (ID) + type: string explode: true style: form - in: query - name: vminterface_id__n + name: tag__n schema: type: array items: - type: integer - description: VM interface (ID) + type: string explode: true style: form + - in: query + name: updated_by_request + schema: + type: string + format: uuid tags: - - vpn + - virtualization security: - cookieAuth: [] - tokenAuth: [] @@ -97920,21 +124528,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedTunnelTerminationList' + $ref: '#/components/schemas/PaginatedClusterGroupList' description: '' post: - operationId: vpn_tunnel_terminations_create - description: Post a list of tunnel termination objects. + operationId: virtualization_cluster_groups_create + description: Post a list of cluster group objects. tags: - - vpn + - virtualization requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableTunnelTerminationRequest' + $ref: '#/components/schemas/ClusterGroupRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableTunnelTerminationRequest' + $ref: '#/components/schemas/ClusterGroupRequest' required: true security: - cookieAuth: [] @@ -97944,25 +124552,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/TunnelTermination' + $ref: '#/components/schemas/ClusterGroup' description: '' put: - operationId: vpn_tunnel_terminations_bulk_update - description: Put a list of tunnel termination objects. + operationId: virtualization_cluster_groups_bulk_update + description: Put a list of cluster group objects. tags: - - vpn + - virtualization requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/TunnelTerminationRequest' + $ref: '#/components/schemas/ClusterGroupRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/TunnelTerminationRequest' + $ref: '#/components/schemas/ClusterGroupRequest' required: true security: - cookieAuth: [] @@ -97974,25 +124582,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/TunnelTermination' + $ref: '#/components/schemas/ClusterGroup' description: '' patch: - operationId: vpn_tunnel_terminations_bulk_partial_update - description: Patch a list of tunnel termination objects. + operationId: virtualization_cluster_groups_bulk_partial_update + description: Patch a list of cluster group objects. tags: - - vpn + - virtualization requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/TunnelTerminationRequest' + $ref: '#/components/schemas/ClusterGroupRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/TunnelTerminationRequest' + $ref: '#/components/schemas/ClusterGroupRequest' required: true security: - cookieAuth: [] @@ -98004,25 +124612,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/TunnelTermination' + $ref: '#/components/schemas/ClusterGroup' description: '' delete: - operationId: vpn_tunnel_terminations_bulk_destroy - description: Delete a list of tunnel termination objects. + operationId: virtualization_cluster_groups_bulk_destroy + description: Delete a list of cluster group objects. tags: - - vpn + - virtualization requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/TunnelTerminationRequest' + $ref: '#/components/schemas/ClusterGroupRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/TunnelTerminationRequest' + $ref: '#/components/schemas/ClusterGroupRequest' required: true security: - cookieAuth: [] @@ -98030,19 +124638,19 @@ paths: responses: '204': description: No response body - /api/vpn/tunnel-terminations/{id}/: + /api/virtualization/cluster-groups/{id}/: get: - operationId: vpn_tunnel_terminations_retrieve - description: Get a tunnel termination object. + operationId: virtualization_cluster_groups_retrieve + description: Get a cluster group object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this tunnel termination. + description: A unique integer value identifying this cluster group. required: true tags: - - vpn + - virtualization security: - cookieAuth: [] - tokenAuth: [] @@ -98051,28 +124659,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/TunnelTermination' + $ref: '#/components/schemas/ClusterGroup' description: '' put: - operationId: vpn_tunnel_terminations_update - description: Put a tunnel termination object. + operationId: virtualization_cluster_groups_update + description: Put a cluster group object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this tunnel termination. + description: A unique integer value identifying this cluster group. required: true tags: - - vpn + - virtualization requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableTunnelTerminationRequest' + $ref: '#/components/schemas/ClusterGroupRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableTunnelTerminationRequest' + $ref: '#/components/schemas/ClusterGroupRequest' required: true security: - cookieAuth: [] @@ -98082,28 +124690,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/TunnelTermination' + $ref: '#/components/schemas/ClusterGroup' description: '' patch: - operationId: vpn_tunnel_terminations_partial_update - description: Patch a tunnel termination object. + operationId: virtualization_cluster_groups_partial_update + description: Patch a cluster group object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this tunnel termination. + description: A unique integer value identifying this cluster group. required: true tags: - - vpn + - virtualization requestBody: content: application/json: schema: - $ref: '#/components/schemas/PatchedWritableTunnelTerminationRequest' + $ref: '#/components/schemas/PatchedClusterGroupRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedWritableTunnelTerminationRequest' + $ref: '#/components/schemas/PatchedClusterGroupRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -98112,30 +124720,30 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/TunnelTermination' + $ref: '#/components/schemas/ClusterGroup' description: '' delete: - operationId: vpn_tunnel_terminations_destroy - description: Delete a tunnel termination object. + operationId: virtualization_cluster_groups_destroy + description: Delete a cluster group object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this tunnel termination. + description: A unique integer value identifying this cluster group. required: true tags: - - vpn + - virtualization security: - cookieAuth: [] - tokenAuth: [] responses: '204': description: No response body - /api/vpn/tunnels/: + /api/virtualization/cluster-types/: get: - operationId: vpn_tunnels_list - description: Get a list of tunnel objects. + operationId: virtualization_cluster_types_list + description: Get a list of cluster type objects. parameters: - in: query name: created @@ -98289,62 +124897,6 @@ paths: type: string explode: true style: form - - in: query - name: encapsulation - schema: - type: array - items: - type: string - x-spec-enum-id: 5fc36bb745852746 - explode: true - style: form - - in: query - name: encapsulation__n - schema: - type: array - items: - type: string - x-spec-enum-id: 5fc36bb745852746 - explode: true - style: form - - in: query - name: group - schema: - type: array - items: - type: string - description: Tunnel group (slug) - explode: true - style: form - - in: query - name: group__n - schema: - type: array - items: - type: string - description: Tunnel group (slug) - explode: true - style: form - - in: query - name: group_id - schema: - type: array - items: - type: integer - nullable: true - description: Tunnel group (ID) - explode: true - style: form - - in: query - name: group_id__n - schema: - type: array - items: - type: integer - nullable: true - description: Tunnel group (ID) - explode: true - style: form - in: query name: id schema: @@ -98403,44 +124955,6 @@ paths: format: int32 explode: true style: form - - in: query - name: ipsec_profile - schema: - type: array - items: - type: string - description: IPSec profile (name) - explode: true - style: form - - in: query - name: ipsec_profile__n - schema: - type: array - items: - type: string - description: IPSec profile (name) - explode: true - style: form - - in: query - name: ipsec_profile_id - schema: - type: array - items: - type: integer - nullable: true - description: IPSec profile (ID) - explode: true - style: form - - in: query - name: ipsec_profile_id__n - schema: - type: array - items: - type: integer - nullable: true - description: IPSec profile (ID) - explode: true - style: form - in: query name: last_updated schema: @@ -98617,25 +125131,19 @@ paths: type: string description: Search - in: query - name: status + name: slug schema: type: array items: type: string - x-spec-enum-id: 0d65f7912cba74aa explode: true style: form - in: query - name: status__n + name: slug__empty schema: - type: array - items: - type: string - x-spec-enum-id: 0d65f7912cba74aa - explode: true - style: form + type: boolean - in: query - name: tag + name: slug__ic schema: type: array items: @@ -98643,7 +125151,7 @@ paths: explode: true style: form - in: query - name: tag__n + name: slug__ie schema: type: array items: @@ -98651,135 +125159,75 @@ paths: explode: true style: form - in: query - name: tenant + name: slug__iew schema: type: array items: type: string - description: Tenant (slug) explode: true style: form - in: query - name: tenant__n + name: slug__isw schema: type: array items: type: string - description: Tenant (slug) - explode: true - style: form - - in: query - name: tenant_group - schema: - type: array - items: - type: integer - description: Tenant Group (slug) explode: true style: form - in: query - name: tenant_group__n - schema: - type: array - items: - type: integer - description: Tenant Group (slug) - explode: true - style: form - - in: query - name: tenant_group_id - schema: - type: array - items: - type: integer - description: Tenant Group (ID) - explode: true - style: form - - in: query - name: tenant_group_id__n - schema: - type: array - items: - type: integer - description: Tenant Group (ID) - explode: true - style: form - - in: query - name: tenant_id - schema: - type: array - items: - type: integer - nullable: true - description: Tenant (ID) - explode: true - style: form - - in: query - name: tenant_id__n + name: slug__n schema: type: array items: - type: integer - nullable: true - description: Tenant (ID) + type: string explode: true style: form - in: query - name: tunnel_id + name: slug__nic schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: tunnel_id__empty - schema: - type: boolean - - in: query - name: tunnel_id__gt + name: slug__nie schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: tunnel_id__gte + name: slug__niew schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: tunnel_id__lt + name: slug__nisw schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: tunnel_id__lte + name: tag schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query - name: tunnel_id__n + name: tag__n schema: type: array items: - type: integer - format: int32 + type: string explode: true style: form - in: query @@ -98788,7 +125236,7 @@ paths: type: string format: uuid tags: - - vpn + - virtualization security: - cookieAuth: [] - tokenAuth: [] @@ -98797,21 +125245,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedTunnelList' + $ref: '#/components/schemas/PaginatedClusterTypeList' description: '' post: - operationId: vpn_tunnels_create - description: Post a list of tunnel objects. + operationId: virtualization_cluster_types_create + description: Post a list of cluster type objects. tags: - - vpn + - virtualization requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableTunnelRequest' + $ref: '#/components/schemas/ClusterTypeRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableTunnelRequest' + $ref: '#/components/schemas/ClusterTypeRequest' required: true security: - cookieAuth: [] @@ -98821,25 +125269,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Tunnel' + $ref: '#/components/schemas/ClusterType' description: '' put: - operationId: vpn_tunnels_bulk_update - description: Put a list of tunnel objects. + operationId: virtualization_cluster_types_bulk_update + description: Put a list of cluster type objects. tags: - - vpn + - virtualization requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/TunnelRequest' + $ref: '#/components/schemas/ClusterTypeRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/TunnelRequest' + $ref: '#/components/schemas/ClusterTypeRequest' required: true security: - cookieAuth: [] @@ -98851,25 +125299,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/Tunnel' + $ref: '#/components/schemas/ClusterType' description: '' patch: - operationId: vpn_tunnels_bulk_partial_update - description: Patch a list of tunnel objects. + operationId: virtualization_cluster_types_bulk_partial_update + description: Patch a list of cluster type objects. tags: - - vpn + - virtualization requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/TunnelRequest' + $ref: '#/components/schemas/ClusterTypeRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/TunnelRequest' + $ref: '#/components/schemas/ClusterTypeRequest' required: true security: - cookieAuth: [] @@ -98881,25 +125329,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/Tunnel' + $ref: '#/components/schemas/ClusterType' description: '' delete: - operationId: vpn_tunnels_bulk_destroy - description: Delete a list of tunnel objects. + operationId: virtualization_cluster_types_bulk_destroy + description: Delete a list of cluster type objects. tags: - - vpn + - virtualization requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/TunnelRequest' + $ref: '#/components/schemas/ClusterTypeRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/TunnelRequest' + $ref: '#/components/schemas/ClusterTypeRequest' required: true security: - cookieAuth: [] @@ -98907,19 +125355,19 @@ paths: responses: '204': description: No response body - /api/vpn/tunnels/{id}/: + /api/virtualization/cluster-types/{id}/: get: - operationId: vpn_tunnels_retrieve - description: Get a tunnel object. + operationId: virtualization_cluster_types_retrieve + description: Get a cluster type object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this tunnel. + description: A unique integer value identifying this cluster type. required: true tags: - - vpn + - virtualization security: - cookieAuth: [] - tokenAuth: [] @@ -98928,28 +125376,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Tunnel' + $ref: '#/components/schemas/ClusterType' description: '' put: - operationId: vpn_tunnels_update - description: Put a tunnel object. + operationId: virtualization_cluster_types_update + description: Put a cluster type object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this tunnel. + description: A unique integer value identifying this cluster type. required: true tags: - - vpn + - virtualization requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableTunnelRequest' + $ref: '#/components/schemas/ClusterTypeRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableTunnelRequest' + $ref: '#/components/schemas/ClusterTypeRequest' required: true security: - cookieAuth: [] @@ -98959,28 +125407,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Tunnel' + $ref: '#/components/schemas/ClusterType' description: '' patch: - operationId: vpn_tunnels_partial_update - description: Patch a tunnel object. + operationId: virtualization_cluster_types_partial_update + description: Patch a cluster type object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this tunnel. + description: A unique integer value identifying this cluster type. required: true tags: - - vpn + - virtualization requestBody: content: application/json: schema: - $ref: '#/components/schemas/PatchedWritableTunnelRequest' + $ref: '#/components/schemas/PatchedClusterTypeRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedWritableTunnelRequest' + $ref: '#/components/schemas/PatchedClusterTypeRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -98989,61 +125437,81 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Tunnel' + $ref: '#/components/schemas/ClusterType' description: '' delete: - operationId: vpn_tunnels_destroy - description: Delete a tunnel object. + operationId: virtualization_cluster_types_destroy + description: Delete a cluster type object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this tunnel. + description: A unique integer value identifying this cluster type. required: true tags: - - vpn + - virtualization security: - cookieAuth: [] - tokenAuth: [] responses: '204': description: No response body - /api/wireless/wireless-lan-groups/: + /api/virtualization/clusters/: get: - operationId: wireless_wireless_lan_groups_list - description: Get a list of wireless LAN group objects. + operationId: virtualization_clusters_list + description: Get a list of cluster objects. parameters: - in: query - name: ancestor + name: contact schema: type: array items: type: integer + description: Contact explode: true style: form - in: query - name: ancestor__n + name: contact__n schema: type: array items: type: integer + description: Contact explode: true style: form - in: query - name: ancestor_id + name: contact_group + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact_group__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact_role schema: type: array items: type: integer + description: Contact Role explode: true style: form - in: query - name: ancestor_id__n + name: contact_role__n schema: type: array items: type: integer + description: Contact Role explode: true style: form - in: query @@ -99198,6 +125666,44 @@ paths: type: string explode: true style: form + - in: query + name: group + schema: + type: array + items: + type: string + description: Parent group (slug) + explode: true + style: form + - in: query + name: group__n + schema: + type: array + items: + type: string + description: Parent group (slug) + explode: true + style: form + - in: query + name: group_id + schema: + type: array + items: + type: integer + nullable: true + description: Parent group (ID) + explode: true + style: form + - in: query + name: group_id__n + schema: + type: array + items: + type: integer + nullable: true + description: Parent group (ID) + explode: true + style: form - in: query name: id schema: @@ -99427,7 +125933,12 @@ paths: schema: type: string - in: query - name: parent + name: q + schema: + type: string + description: Search + - in: query + name: region schema: type: array items: @@ -99435,7 +125946,7 @@ paths: explode: true style: form - in: query - name: parent__n + name: region__n schema: type: array items: @@ -99443,110 +125954,318 @@ paths: explode: true style: form - in: query - name: parent_id + name: region_id schema: type: array items: - type: integer - nullable: true + type: string explode: true style: form - in: query - name: parent_id__n + name: region_id__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: site + schema: + type: array + items: + type: string + description: Site (slug) + explode: true + style: form + - in: query + name: site__n + schema: + type: array + items: + type: string + description: Site (slug) + explode: true + style: form + - in: query + name: site_group + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: site_group__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: site_group_id + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: site_group_id__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: site_id schema: type: array items: type: integer nullable: true + description: Site (ID) explode: true style: form - in: query - name: q + name: site_id__n schema: - type: string - description: Search + type: array + items: + type: integer + nullable: true + description: Site (ID) + explode: true + style: form - in: query - name: slug + name: status schema: type: array items: type: string + x-spec-enum-id: 79d20a734d0eecbb explode: true style: form - in: query - name: slug__empty + name: status__empty schema: type: boolean - in: query - name: slug__ic + name: status__ic schema: type: array items: type: string + x-spec-enum-id: 79d20a734d0eecbb + enum: + - active + - decommissioning + - offline + - planned + - staging + description: '* `planned` - Planned + + * `staging` - Staging + + * `active` - Active + + * `decommissioning` - Decommissioning + + * `offline` - Offline' explode: true style: form - in: query - name: slug__ie + name: status__ie schema: type: array items: type: string + x-spec-enum-id: 79d20a734d0eecbb + enum: + - active + - decommissioning + - offline + - planned + - staging + description: '* `planned` - Planned + + * `staging` - Staging + + * `active` - Active + + * `decommissioning` - Decommissioning + + * `offline` - Offline' explode: true style: form - in: query - name: slug__iew + name: status__iew schema: type: array items: type: string + x-spec-enum-id: 79d20a734d0eecbb + enum: + - active + - decommissioning + - offline + - planned + - staging + description: '* `planned` - Planned + + * `staging` - Staging + + * `active` - Active + + * `decommissioning` - Decommissioning + + * `offline` - Offline' explode: true style: form - in: query - name: slug__isw + name: status__isw schema: type: array items: type: string + x-spec-enum-id: 79d20a734d0eecbb + enum: + - active + - decommissioning + - offline + - planned + - staging + description: '* `planned` - Planned + + * `staging` - Staging + + * `active` - Active + + * `decommissioning` - Decommissioning + + * `offline` - Offline' explode: true style: form - in: query - name: slug__n + name: status__n schema: type: array items: type: string + x-spec-enum-id: 79d20a734d0eecbb + enum: + - active + - decommissioning + - offline + - planned + - staging + description: '* `planned` - Planned + + * `staging` - Staging + + * `active` - Active + + * `decommissioning` - Decommissioning + + * `offline` - Offline' explode: true style: form - in: query - name: slug__nic + name: status__nic schema: type: array items: type: string + x-spec-enum-id: 79d20a734d0eecbb + enum: + - active + - decommissioning + - offline + - planned + - staging + description: '* `planned` - Planned + + * `staging` - Staging + + * `active` - Active + + * `decommissioning` - Decommissioning + + * `offline` - Offline' explode: true style: form - in: query - name: slug__nie + name: status__nie schema: type: array items: type: string + x-spec-enum-id: 79d20a734d0eecbb + enum: + - active + - decommissioning + - offline + - planned + - staging + description: '* `planned` - Planned + + * `staging` - Staging + + * `active` - Active + + * `decommissioning` - Decommissioning + + * `offline` - Offline' explode: true style: form - in: query - name: slug__niew + name: status__niew schema: type: array items: type: string + x-spec-enum-id: 79d20a734d0eecbb + enum: + - active + - decommissioning + - offline + - planned + - staging + description: '* `planned` - Planned + + * `staging` - Staging + + * `active` - Active + + * `decommissioning` - Decommissioning + + * `offline` - Offline' explode: true style: form - in: query - name: slug__nisw + name: status__nisw schema: type: array items: type: string + x-spec-enum-id: 79d20a734d0eecbb + enum: + - active + - decommissioning + - offline + - planned + - staging + description: '* `planned` - Planned + + * `staging` - Staging + + * `active` - Active + + * `decommissioning` - Decommissioning + + * `offline` - Offline' explode: true style: form - in: query @@ -99565,13 +126284,119 @@ paths: type: string explode: true style: form + - in: query + name: tenant + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant__n + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant_group + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant_group__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant_group_id + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant_group_id__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant_id + schema: + type: array + items: + type: integer + nullable: true + description: Tenant (ID) + explode: true + style: form + - in: query + name: tenant_id__n + schema: + type: array + items: + type: integer + nullable: true + description: Tenant (ID) + explode: true + style: form + - in: query + name: type + schema: + type: array + items: + type: string + description: Cluster type (slug) + explode: true + style: form + - in: query + name: type__n + schema: + type: array + items: + type: string + description: Cluster type (slug) + explode: true + style: form + - in: query + name: type_id + schema: + type: array + items: + type: integer + description: Cluster type (ID) + explode: true + style: form + - in: query + name: type_id__n + schema: + type: array + items: + type: integer + description: Cluster type (ID) + explode: true + style: form - in: query name: updated_by_request schema: type: string format: uuid tags: - - wireless + - virtualization security: - cookieAuth: [] - tokenAuth: [] @@ -99580,21 +126405,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedWirelessLANGroupList' + $ref: '#/components/schemas/PaginatedClusterList' description: '' post: - operationId: wireless_wireless_lan_groups_create - description: Post a list of wireless LAN group objects. + operationId: virtualization_clusters_create + description: Post a list of cluster objects. tags: - - wireless + - virtualization requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableWirelessLANGroupRequest' + $ref: '#/components/schemas/WritableClusterRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableWirelessLANGroupRequest' + $ref: '#/components/schemas/WritableClusterRequest' required: true security: - cookieAuth: [] @@ -99604,25 +126429,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/WirelessLANGroup' + $ref: '#/components/schemas/Cluster' description: '' put: - operationId: wireless_wireless_lan_groups_bulk_update - description: Put a list of wireless LAN group objects. + operationId: virtualization_clusters_bulk_update + description: Put a list of cluster objects. tags: - - wireless + - virtualization requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/WirelessLANGroupRequest' + $ref: '#/components/schemas/ClusterRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/WirelessLANGroupRequest' + $ref: '#/components/schemas/ClusterRequest' required: true security: - cookieAuth: [] @@ -99634,25 +126459,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/WirelessLANGroup' + $ref: '#/components/schemas/Cluster' description: '' patch: - operationId: wireless_wireless_lan_groups_bulk_partial_update - description: Patch a list of wireless LAN group objects. + operationId: virtualization_clusters_bulk_partial_update + description: Patch a list of cluster objects. tags: - - wireless + - virtualization requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/WirelessLANGroupRequest' + $ref: '#/components/schemas/ClusterRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/WirelessLANGroupRequest' + $ref: '#/components/schemas/ClusterRequest' required: true security: - cookieAuth: [] @@ -99664,25 +126489,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/WirelessLANGroup' + $ref: '#/components/schemas/Cluster' description: '' delete: - operationId: wireless_wireless_lan_groups_bulk_destroy - description: Delete a list of wireless LAN group objects. + operationId: virtualization_clusters_bulk_destroy + description: Delete a list of cluster objects. tags: - - wireless + - virtualization requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/WirelessLANGroupRequest' + $ref: '#/components/schemas/ClusterRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/WirelessLANGroupRequest' + $ref: '#/components/schemas/ClusterRequest' required: true security: - cookieAuth: [] @@ -99690,19 +126515,19 @@ paths: responses: '204': description: No response body - /api/wireless/wireless-lan-groups/{id}/: + /api/virtualization/clusters/{id}/: get: - operationId: wireless_wireless_lan_groups_retrieve - description: Get a wireless LAN group object. + operationId: virtualization_clusters_retrieve + description: Get a cluster object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this wireless LAN group. + description: A unique integer value identifying this cluster. required: true tags: - - wireless + - virtualization security: - cookieAuth: [] - tokenAuth: [] @@ -99711,28 +126536,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/WirelessLANGroup' + $ref: '#/components/schemas/Cluster' description: '' put: - operationId: wireless_wireless_lan_groups_update - description: Put a wireless LAN group object. + operationId: virtualization_clusters_update + description: Put a cluster object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this wireless LAN group. + description: A unique integer value identifying this cluster. required: true tags: - - wireless + - virtualization requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableWirelessLANGroupRequest' + $ref: '#/components/schemas/WritableClusterRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableWirelessLANGroupRequest' + $ref: '#/components/schemas/WritableClusterRequest' required: true security: - cookieAuth: [] @@ -99742,28 +126567,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/WirelessLANGroup' + $ref: '#/components/schemas/Cluster' description: '' patch: - operationId: wireless_wireless_lan_groups_partial_update - description: Patch a wireless LAN group object. + operationId: virtualization_clusters_partial_update + description: Patch a cluster object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this wireless LAN group. + description: A unique integer value identifying this cluster. required: true tags: - - wireless + - virtualization requestBody: content: application/json: schema: - $ref: '#/components/schemas/PatchedWritableWirelessLANGroupRequest' + $ref: '#/components/schemas/PatchedWritableClusterRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedWritableWirelessLANGroupRequest' + $ref: '#/components/schemas/PatchedWritableClusterRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -99772,153 +126597,83 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/WirelessLANGroup' + $ref: '#/components/schemas/Cluster' description: '' delete: - operationId: wireless_wireless_lan_groups_destroy - description: Delete a wireless LAN group object. + operationId: virtualization_clusters_destroy + description: Delete a cluster object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this wireless LAN group. + description: A unique integer value identifying this cluster. required: true tags: - - wireless + - virtualization security: - cookieAuth: [] - tokenAuth: [] responses: '204': description: No response body - /api/wireless/wireless-lans/: + /api/virtualization/interfaces/: get: - operationId: wireless_wireless_lans_list - description: Get a list of wireless LAN objects. + operationId: virtualization_interfaces_list + description: Get a list of interface objects. parameters: - in: query - name: auth_cipher - schema: - type: array - items: - type: string - x-spec-enum-id: 8fdaefa727c26fdc - title: Authentication cipher - explode: true - style: form - - in: query - name: auth_cipher__n - schema: - type: array - items: - type: string - x-spec-enum-id: 8fdaefa727c26fdc - title: Authentication cipher - explode: true - style: form - - in: query - name: auth_psk - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: auth_psk__empty - schema: - type: boolean - - in: query - name: auth_psk__ic - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: auth_psk__ie - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: auth_psk__iew - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: auth_psk__isw - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: auth_psk__n - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: auth_psk__nic + name: bridge_id schema: type: array items: - type: string + type: integer + description: Bridged interface (ID) explode: true style: form - in: query - name: auth_psk__nie + name: bridge_id__n schema: type: array items: - type: string + type: integer + description: Bridged interface (ID) explode: true style: form - in: query - name: auth_psk__niew + name: cluster schema: type: array items: type: string + description: Cluster explode: true style: form - in: query - name: auth_psk__nisw + name: cluster__n schema: type: array items: type: string + description: Cluster explode: true style: form - in: query - name: auth_type + name: cluster_id schema: type: array items: - type: string - x-spec-enum-id: a2043acb899b3954 - title: Authentication type + type: integer + description: Cluster (ID) explode: true style: form - in: query - name: auth_type__n + name: cluster_id__n schema: type: array items: - type: string - x-spec-enum-id: a2043acb899b3954 - title: Authentication type + type: integer + description: Cluster (ID) explode: true style: form - in: query @@ -100074,39 +126829,33 @@ paths: explode: true style: form - in: query - name: group + name: enabled schema: - type: array - items: - type: integer - explode: true - style: form + type: boolean - in: query - name: group__n + name: id schema: type: array items: type: integer + format: int32 explode: true style: form - in: query - name: group_id + name: id__empty schema: - type: array - items: - type: integer - explode: true - style: form + type: boolean - in: query - name: group_id__n + name: id__gt schema: type: array items: type: integer + format: int32 explode: true style: form - in: query - name: id + name: id__gte schema: type: array items: @@ -100115,11 +126864,7 @@ paths: explode: true style: form - in: query - name: id__empty - schema: - type: boolean - - in: query - name: id__gt + name: id__lt schema: type: array items: @@ -100128,7 +126873,7 @@ paths: explode: true style: form - in: query - name: id__gte + name: id__lte schema: type: array items: @@ -100137,7 +126882,7 @@ paths: explode: true style: form - in: query - name: id__lt + name: id__n schema: type: array items: @@ -100146,37 +126891,47 @@ paths: explode: true style: form - in: query - name: id__lte + name: l2vpn schema: type: array items: type: integer - format: int32 + maximum: 9223372036854775807 + minimum: -9223372036854775808 + format: int64 + nullable: true + description: L2VPN explode: true style: form - in: query - name: id__n + name: l2vpn__n schema: type: array items: type: integer - format: int32 + maximum: 9223372036854775807 + minimum: -9223372036854775808 + format: int64 + nullable: true + description: L2VPN explode: true style: form - in: query - name: interface_id + name: l2vpn_id schema: type: array items: type: integer + description: L2VPN (ID) explode: true style: form - in: query - name: interface_id__n + name: l2vpn_id__n schema: type: array items: type: integer + description: L2VPN (ID) explode: true style: form - in: query @@ -100249,29 +127004,31 @@ paths: schema: type: integer - in: query - name: modified_by_request - schema: - type: string - format: uuid - - name: offset - required: false - in: query - description: The initial index from which to return the results. + name: mac_address schema: - type: integer - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. + type: array + items: + type: string + explode: true + style: form + - in: query + name: mac_address__ic schema: - type: string + type: array + items: + type: string + explode: true + style: form - in: query - name: q + name: mac_address__ie schema: - type: string - description: Search + type: array + items: + type: string + explode: true + style: form - in: query - name: ssid + name: mac_address__iew schema: type: array items: @@ -100279,11 +127036,15 @@ paths: explode: true style: form - in: query - name: ssid__empty + name: mac_address__isw schema: - type: boolean + type: array + items: + type: string + explode: true + style: form - in: query - name: ssid__ic + name: mac_address__n schema: type: array items: @@ -100291,7 +127052,7 @@ paths: explode: true style: form - in: query - name: ssid__ie + name: mac_address__nic schema: type: array items: @@ -100299,7 +127060,7 @@ paths: explode: true style: form - in: query - name: ssid__iew + name: mac_address__nie schema: type: array items: @@ -100307,7 +127068,7 @@ paths: explode: true style: form - in: query - name: ssid__isw + name: mac_address__niew schema: type: array items: @@ -100315,7 +127076,7 @@ paths: explode: true style: form - in: query - name: ssid__n + name: mac_address__nisw schema: type: array items: @@ -100323,7 +127084,87 @@ paths: explode: true style: form - in: query - name: ssid__nic + name: mode + schema: + type: string + x-spec-enum-id: 79109bd9dbb73a3c + enum: + - access + - tagged + - tagged-all + description: 'IEEE 802.1Q tagging strategy + + + * `access` - Access + + * `tagged` - Tagged + + * `tagged-all` - Tagged (All)' + - in: query + name: modified_by_request + schema: + type: string + format: uuid + - in: query + name: mtu + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: mtu__empty + schema: + type: boolean + - in: query + name: mtu__gt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: mtu__gte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: mtu__lt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: mtu__lte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: mtu__n + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: name schema: type: array items: @@ -100331,7 +127172,11 @@ paths: explode: true style: form - in: query - name: ssid__nie + name: name__empty + schema: + type: boolean + - in: query + name: name__ic schema: type: array items: @@ -100339,7 +127184,7 @@ paths: explode: true style: form - in: query - name: ssid__niew + name: name__ie schema: type: array items: @@ -100347,7 +127192,7 @@ paths: explode: true style: form - in: query - name: ssid__nisw + name: name__iew schema: type: array items: @@ -100355,25 +127200,23 @@ paths: explode: true style: form - in: query - name: status + name: name__isw schema: type: array items: type: string - x-spec-enum-id: 412ebdca597f609e explode: true style: form - in: query - name: status__n + name: name__n schema: type: array items: type: string - x-spec-enum-id: 412ebdca597f609e explode: true style: form - in: query - name: tag + name: name__nic schema: type: array items: @@ -100381,7 +127224,7 @@ paths: explode: true style: form - in: query - name: tag__n + name: name__nie schema: type: array items: @@ -100389,104 +127232,165 @@ paths: explode: true style: form - in: query - name: tenant + name: name__niew schema: type: array items: type: string - description: Tenant (slug) explode: true style: form - in: query - name: tenant__n + name: name__nisw schema: type: array items: type: string - description: Tenant (slug) explode: true style: form + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string - in: query - name: tenant_group + name: parent_id schema: type: array items: type: integer - description: Tenant Group (slug) + description: Parent interface (ID) explode: true style: form - in: query - name: tenant_group__n + name: parent_id__n schema: type: array items: type: integer - description: Tenant Group (slug) + description: Parent interface (ID) explode: true style: form - in: query - name: tenant_group_id + name: q + schema: + type: string + description: Search + - in: query + name: tag schema: type: array items: - type: integer - description: Tenant Group (ID) + type: string explode: true style: form - in: query - name: tenant_group_id__n + name: tag__n schema: type: array items: - type: integer - description: Tenant Group (ID) + type: string explode: true style: form - in: query - name: tenant_id + name: updated_by_request + schema: + type: string + format: uuid + - in: query + name: virtual_machine + schema: + type: array + items: + type: string + description: Virtual machine + explode: true + style: form + - in: query + name: virtual_machine__n + schema: + type: array + items: + type: string + description: Virtual machine + explode: true + style: form + - in: query + name: virtual_machine_id schema: type: array items: type: integer - nullable: true - description: Tenant (ID) + description: Virtual machine (ID) explode: true style: form - in: query - name: tenant_id__n + name: virtual_machine_id__n schema: type: array items: type: integer - nullable: true - description: Tenant (ID) + description: Virtual machine (ID) explode: true style: form - in: query - name: updated_by_request + name: vlan schema: type: string - format: uuid + description: Assigned VID - in: query name: vlan_id + schema: + type: string + description: Assigned VLAN + - in: query + name: vrf schema: type: array items: - type: integer + type: string nullable: true + title: Route distinguisher + description: VRF (RD) explode: true style: form - in: query - name: vlan_id__n + name: vrf__n schema: type: array items: - type: integer + type: string nullable: true + title: Route distinguisher + description: VRF (RD) + explode: true + style: form + - in: query + name: vrf_id + schema: + type: array + items: + type: integer + description: VRF + explode: true + style: form + - in: query + name: vrf_id__n + schema: + type: array + items: + type: integer + description: VRF explode: true style: form tags: - - wireless + - virtualization security: - cookieAuth: [] - tokenAuth: [] @@ -100495,21 +127399,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedWirelessLANList' + $ref: '#/components/schemas/PaginatedVMInterfaceList' description: '' post: - operationId: wireless_wireless_lans_create - description: Post a list of wireless LAN objects. + operationId: virtualization_interfaces_create + description: Post a list of interface objects. tags: - - wireless + - virtualization requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableWirelessLANRequest' + $ref: '#/components/schemas/WritableVMInterfaceRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableWirelessLANRequest' + $ref: '#/components/schemas/WritableVMInterfaceRequest' required: true security: - cookieAuth: [] @@ -100519,25 +127423,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/WirelessLAN' + $ref: '#/components/schemas/VMInterface' description: '' put: - operationId: wireless_wireless_lans_bulk_update - description: Put a list of wireless LAN objects. + operationId: virtualization_interfaces_bulk_update + description: Put a list of interface objects. tags: - - wireless + - virtualization requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/WirelessLANRequest' + $ref: '#/components/schemas/VMInterfaceRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/WirelessLANRequest' + $ref: '#/components/schemas/VMInterfaceRequest' required: true security: - cookieAuth: [] @@ -100549,25 +127453,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/WirelessLAN' + $ref: '#/components/schemas/VMInterface' description: '' patch: - operationId: wireless_wireless_lans_bulk_partial_update - description: Patch a list of wireless LAN objects. + operationId: virtualization_interfaces_bulk_partial_update + description: Patch a list of interface objects. tags: - - wireless + - virtualization requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/WirelessLANRequest' + $ref: '#/components/schemas/VMInterfaceRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/WirelessLANRequest' + $ref: '#/components/schemas/VMInterfaceRequest' required: true security: - cookieAuth: [] @@ -100579,25 +127483,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/WirelessLAN' + $ref: '#/components/schemas/VMInterface' description: '' delete: - operationId: wireless_wireless_lans_bulk_destroy - description: Delete a list of wireless LAN objects. + operationId: virtualization_interfaces_bulk_destroy + description: Delete a list of interface objects. tags: - - wireless + - virtualization requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/WirelessLANRequest' + $ref: '#/components/schemas/VMInterfaceRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/WirelessLANRequest' + $ref: '#/components/schemas/VMInterfaceRequest' required: true security: - cookieAuth: [] @@ -100605,19 +127509,19 @@ paths: responses: '204': description: No response body - /api/wireless/wireless-lans/{id}/: + /api/virtualization/interfaces/{id}/: get: - operationId: wireless_wireless_lans_retrieve - description: Get a wireless LAN object. + operationId: virtualization_interfaces_retrieve + description: Get a interface object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this wireless LAN. + description: A unique integer value identifying this interface. required: true tags: - - wireless + - virtualization security: - cookieAuth: [] - tokenAuth: [] @@ -100626,28 +127530,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/WirelessLAN' + $ref: '#/components/schemas/VMInterface' description: '' put: - operationId: wireless_wireless_lans_update - description: Put a wireless LAN object. + operationId: virtualization_interfaces_update + description: Put a interface object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this wireless LAN. + description: A unique integer value identifying this interface. required: true tags: - - wireless + - virtualization requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableWirelessLANRequest' + $ref: '#/components/schemas/WritableVMInterfaceRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableWirelessLANRequest' + $ref: '#/components/schemas/WritableVMInterfaceRequest' required: true security: - cookieAuth: [] @@ -100657,28 +127561,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/WirelessLAN' + $ref: '#/components/schemas/VMInterface' description: '' patch: - operationId: wireless_wireless_lans_partial_update - description: Patch a wireless LAN object. + operationId: virtualization_interfaces_partial_update + description: Patch a interface object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this wireless LAN. + description: A unique integer value identifying this interface. required: true tags: - - wireless + - virtualization requestBody: content: application/json: schema: - $ref: '#/components/schemas/PatchedWritableWirelessLANRequest' + $ref: '#/components/schemas/PatchedWritableVMInterfaceRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedWritableWirelessLANRequest' + $ref: '#/components/schemas/PatchedWritableVMInterfaceRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -100687,97 +127591,101 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/WirelessLAN' + $ref: '#/components/schemas/VMInterface' description: '' delete: - operationId: wireless_wireless_lans_destroy - description: Delete a wireless LAN object. + operationId: virtualization_interfaces_destroy + description: Delete a interface object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this wireless LAN. + description: A unique integer value identifying this interface. required: true tags: - - wireless + - virtualization security: - cookieAuth: [] - tokenAuth: [] responses: '204': description: No response body - /api/wireless/wireless-links/: + /api/virtualization/virtual-disks/: get: - operationId: wireless_wireless_links_list - description: Get a list of wireless link objects. + operationId: virtualization_virtual_disks_list + description: Get a list of virtual disk objects. parameters: - in: query - name: auth_cipher + name: created schema: type: array items: type: string - x-spec-enum-id: 8fdaefa727c26fdc - title: Authentication cipher + format: date-time explode: true style: form - in: query - name: auth_cipher__n + name: created__empty schema: type: array items: type: string - x-spec-enum-id: 8fdaefa727c26fdc - title: Authentication cipher + format: date-time explode: true style: form - in: query - name: auth_psk + name: created__gt schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: auth_psk__empty - schema: - type: boolean - - in: query - name: auth_psk__ic + name: created__gte schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: auth_psk__ie + name: created__lt schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: auth_psk__iew + name: created__lte schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: auth_psk__isw + name: created__n schema: type: array items: type: string + format: date-time explode: true style: form - in: query - name: auth_psk__n + name: created_by_request + schema: + type: string + format: uuid + - in: query + name: description schema: type: array items: @@ -100785,7 +127693,11 @@ paths: explode: true style: form - in: query - name: auth_psk__nic + name: description__empty + schema: + type: boolean + - in: query + name: description__ic schema: type: array items: @@ -100793,7 +127705,7 @@ paths: explode: true style: form - in: query - name: auth_psk__nie + name: description__ie schema: type: array items: @@ -100801,7 +127713,7 @@ paths: explode: true style: form - in: query - name: auth_psk__niew + name: description__iew schema: type: array items: @@ -100809,7 +127721,7 @@ paths: explode: true style: form - in: query - name: auth_psk__nisw + name: description__isw schema: type: array items: @@ -100817,224 +127729,92 @@ paths: explode: true style: form - in: query - name: auth_type + name: description__n schema: type: array items: type: string - x-spec-enum-id: a2043acb899b3954 - title: Authentication type explode: true style: form - in: query - name: auth_type__n + name: description__nic schema: type: array items: type: string - x-spec-enum-id: a2043acb899b3954 - title: Authentication type explode: true style: form - in: query - name: created + name: description__nie schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__empty + name: description__niew schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__gt + name: description__nisw schema: type: array items: type: string - format: date-time explode: true style: form - in: query - name: created__gte + name: id schema: type: array items: - type: string - format: date-time + type: integer + format: int32 explode: true style: form - in: query - name: created__lt + name: id__empty + schema: + type: boolean + - in: query + name: id__gt schema: type: array items: - type: string - format: date-time + type: integer + format: int32 explode: true style: form - in: query - name: created__lte + name: id__gte schema: type: array items: - type: string - format: date-time + type: integer + format: int32 explode: true style: form - in: query - name: created__n + name: id__lt schema: type: array items: - type: string - format: date-time + type: integer + format: int32 explode: true style: form - in: query - name: created_by_request - schema: - type: string - format: uuid - - in: query - name: description + name: id__lte schema: type: array items: - type: string - explode: true - style: form - - in: query - name: description__empty - schema: - type: boolean - - 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__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__nisw - schema: - type: array - items: - type: string - explode: true - style: form - - in: query - name: id - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: id__empty - schema: - type: boolean - - in: query - name: id__gt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: id__gte - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: id__lt - schema: - type: array - items: - type: integer - format: int32 - explode: true - style: form - - in: query - name: id__lte - schema: - type: array - items: - type: integer - format: int32 + type: integer + format: int32 explode: true style: form - in: query @@ -101046,38 +127826,6 @@ paths: format: int32 explode: true style: form - - in: query - name: interface_a_id - schema: - type: array - items: - type: integer - explode: true - style: form - - in: query - name: interface_a_id__n - schema: - type: array - items: - type: integer - explode: true - style: form - - in: query - name: interface_b_id - schema: - type: array - items: - type: integer - explode: true - style: form - - in: query - name: interface_b_id__n - schema: - type: array - items: - type: integer - explode: true - style: form - in: query name: last_updated schema: @@ -101152,25 +127900,8 @@ paths: schema: type: string format: uuid - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - in: query - name: q - schema: - type: string - description: Search - - in: query - name: ssid + name: name schema: type: array items: @@ -101178,11 +127909,11 @@ paths: explode: true style: form - in: query - name: ssid__empty + name: name__empty schema: type: boolean - in: query - name: ssid__ic + name: name__ic schema: type: array items: @@ -101190,7 +127921,7 @@ paths: explode: true style: form - in: query - name: ssid__ie + name: name__ie schema: type: array items: @@ -101198,7 +127929,7 @@ paths: explode: true style: form - in: query - name: ssid__iew + name: name__iew schema: type: array items: @@ -101206,7 +127937,7 @@ paths: explode: true style: form - in: query - name: ssid__isw + name: name__isw schema: type: array items: @@ -101214,7 +127945,7 @@ paths: explode: true style: form - in: query - name: ssid__n + name: name__n schema: type: array items: @@ -101222,7 +127953,7 @@ paths: explode: true style: form - in: query - name: ssid__nic + name: name__nic schema: type: array items: @@ -101230,7 +127961,7 @@ paths: explode: true style: form - in: query - name: ssid__nie + name: name__nie schema: type: array items: @@ -101238,7 +127969,7 @@ paths: explode: true style: form - in: query - name: ssid__niew + name: name__niew schema: type: array items: @@ -101246,128 +127977,147 @@ paths: explode: true style: form - in: query - name: ssid__nisw + name: name__nisw 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 + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string - in: query - name: status + name: q + schema: + type: string + description: Search + - in: query + name: size schema: type: array items: - type: string - x-spec-enum-id: fbc2f302c08be50d + type: integer + format: int32 explode: true style: form - in: query - name: status__n + name: size__empty + schema: + type: boolean + - in: query + name: size__gt schema: type: array items: - type: string - x-spec-enum-id: fbc2f302c08be50d + type: integer + format: int32 explode: true style: form - in: query - name: tag + name: size__gte schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: tag__n + name: size__lt schema: type: array items: - type: string + type: integer + format: int32 explode: true style: form - in: query - name: tenant + name: size__lte schema: type: array items: - type: string - description: Tenant (slug) + type: integer + format: int32 explode: true style: form - in: query - name: tenant__n + name: size__n schema: type: array items: - type: string - description: Tenant (slug) + type: integer + format: int32 explode: true style: form - in: query - name: tenant_group + name: tag schema: type: array items: - type: integer - description: Tenant Group (slug) + type: string explode: true style: form - in: query - name: tenant_group__n + name: tag__n schema: type: array items: - type: integer - description: Tenant Group (slug) + type: string explode: true style: form - in: query - name: tenant_group_id + name: updated_by_request + schema: + type: string + format: uuid + - in: query + name: virtual_machine schema: type: array items: - type: integer - description: Tenant Group (ID) + type: string + description: Virtual machine explode: true style: form - in: query - name: tenant_group_id__n + name: virtual_machine__n schema: type: array items: - type: integer - description: Tenant Group (ID) + type: string + description: Virtual machine explode: true style: form - in: query - name: tenant_id + name: virtual_machine_id schema: type: array items: type: integer - nullable: true - description: Tenant (ID) + description: Virtual machine (ID) explode: true style: form - in: query - name: tenant_id__n + name: virtual_machine_id__n schema: type: array items: type: integer - nullable: true - description: Tenant (ID) + description: Virtual machine (ID) explode: true style: form - - in: query - name: updated_by_request - schema: - type: string - format: uuid tags: - - wireless + - virtualization security: - cookieAuth: [] - tokenAuth: [] @@ -101376,21 +128126,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PaginatedWirelessLinkList' + $ref: '#/components/schemas/PaginatedVirtualDiskList' description: '' post: - operationId: wireless_wireless_links_create - description: Post a list of wireless link objects. + operationId: virtualization_virtual_disks_create + description: Post a list of virtual disk objects. tags: - - wireless + - virtualization requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableWirelessLinkRequest' + $ref: '#/components/schemas/VirtualDiskRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableWirelessLinkRequest' + $ref: '#/components/schemas/VirtualDiskRequest' required: true security: - cookieAuth: [] @@ -101400,25 +128150,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/WirelessLink' + $ref: '#/components/schemas/VirtualDisk' description: '' put: - operationId: wireless_wireless_links_bulk_update - description: Put a list of wireless link objects. + operationId: virtualization_virtual_disks_bulk_update + description: Put a list of virtual disk objects. tags: - - wireless + - virtualization requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/WirelessLinkRequest' + $ref: '#/components/schemas/VirtualDiskRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/WirelessLinkRequest' + $ref: '#/components/schemas/VirtualDiskRequest' required: true security: - cookieAuth: [] @@ -101430,25 +128180,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/WirelessLink' + $ref: '#/components/schemas/VirtualDisk' description: '' patch: - operationId: wireless_wireless_links_bulk_partial_update - description: Patch a list of wireless link objects. + operationId: virtualization_virtual_disks_bulk_partial_update + description: Patch a list of virtual disk objects. tags: - - wireless + - virtualization requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/WirelessLinkRequest' + $ref: '#/components/schemas/VirtualDiskRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/WirelessLinkRequest' + $ref: '#/components/schemas/VirtualDiskRequest' required: true security: - cookieAuth: [] @@ -101460,25 +128210,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/WirelessLink' + $ref: '#/components/schemas/VirtualDisk' description: '' delete: - operationId: wireless_wireless_links_bulk_destroy - description: Delete a list of wireless link objects. + operationId: virtualization_virtual_disks_bulk_destroy + description: Delete a list of virtual disk objects. tags: - - wireless + - virtualization requestBody: content: application/json: schema: type: array items: - $ref: '#/components/schemas/WirelessLinkRequest' + $ref: '#/components/schemas/VirtualDiskRequest' multipart/form-data: schema: type: array items: - $ref: '#/components/schemas/WirelessLinkRequest' + $ref: '#/components/schemas/VirtualDiskRequest' required: true security: - cookieAuth: [] @@ -101486,19 +128236,19 @@ paths: responses: '204': description: No response body - /api/wireless/wireless-links/{id}/: + /api/virtualization/virtual-disks/{id}/: get: - operationId: wireless_wireless_links_retrieve - description: Get a wireless link object. + operationId: virtualization_virtual_disks_retrieve + description: Get a virtual disk object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this wireless link. + description: A unique integer value identifying this virtual disk. required: true tags: - - wireless + - virtualization security: - cookieAuth: [] - tokenAuth: [] @@ -101507,28 +128257,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/WirelessLink' + $ref: '#/components/schemas/VirtualDisk' description: '' put: - operationId: wireless_wireless_links_update - description: Put a wireless link object. + operationId: virtualization_virtual_disks_update + description: Put a virtual disk object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this wireless link. + description: A unique integer value identifying this virtual disk. required: true tags: - - wireless + - virtualization requestBody: content: application/json: schema: - $ref: '#/components/schemas/WritableWirelessLinkRequest' + $ref: '#/components/schemas/VirtualDiskRequest' multipart/form-data: schema: - $ref: '#/components/schemas/WritableWirelessLinkRequest' + $ref: '#/components/schemas/VirtualDiskRequest' required: true security: - cookieAuth: [] @@ -101538,28 +128288,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/WirelessLink' + $ref: '#/components/schemas/VirtualDisk' description: '' patch: - operationId: wireless_wireless_links_partial_update - description: Patch a wireless link object. + operationId: virtualization_virtual_disks_partial_update + description: Patch a virtual disk object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this wireless link. + description: A unique integer value identifying this virtual disk. required: true tags: - - wireless + - virtualization requestBody: content: application/json: schema: - $ref: '#/components/schemas/PatchedWritableWirelessLinkRequest' + $ref: '#/components/schemas/PatchedVirtualDiskRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedWritableWirelessLinkRequest' + $ref: '#/components/schemas/PatchedVirtualDiskRequest' security: - cookieAuth: [] - tokenAuth: [] @@ -101568,29 +128318,20323 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/WirelessLink' + $ref: '#/components/schemas/VirtualDisk' description: '' delete: - operationId: wireless_wireless_links_destroy - description: Delete a wireless link object. + operationId: virtualization_virtual_disks_destroy + description: Delete a virtual disk object. parameters: - in: path name: id schema: type: integer - description: A unique integer value identifying this wireless link. + description: A unique integer value identifying this virtual disk. required: true tags: - - wireless + - virtualization security: - cookieAuth: [] - tokenAuth: [] responses: '204': description: No response body -components: - schemas: - ASN: + /api/virtualization/virtual-machines/: + get: + operationId: virtualization_virtual_machines_list + description: Get a list of virtual machine objects. + parameters: + - in: query + name: cluster + schema: + type: array + items: + type: string + description: Cluster + explode: true + style: form + - in: query + name: cluster__n + schema: + type: array + items: + type: string + description: Cluster + explode: true + style: form + - in: query + name: cluster_group + schema: + type: array + items: + type: string + description: Cluster group (slug) + explode: true + style: form + - in: query + name: cluster_group__n + schema: + type: array + items: + type: string + description: Cluster group (slug) + explode: true + style: form + - in: query + name: cluster_group_id + schema: + type: array + items: + type: integer + description: Cluster group (ID) + explode: true + style: form + - in: query + name: cluster_group_id__n + schema: + type: array + items: + type: integer + description: Cluster group (ID) + explode: true + style: form + - in: query + name: cluster_id + schema: + type: array + items: + type: integer + nullable: true + description: Cluster (ID) + explode: true + style: form + - in: query + name: cluster_id__n + schema: + type: array + items: + type: integer + nullable: true + description: Cluster (ID) + explode: true + style: form + - in: query + name: cluster_type + schema: + type: array + items: + type: string + description: Cluster type (slug) + explode: true + style: form + - in: query + name: cluster_type__n + schema: + type: array + items: + type: string + description: Cluster type (slug) + explode: true + style: form + - in: query + name: cluster_type_id + schema: + type: array + items: + type: integer + description: Cluster type (ID) + explode: true + style: form + - in: query + name: cluster_type_id__n + schema: + type: array + items: + type: integer + description: Cluster type (ID) + explode: true + style: form + - in: query + name: config_template_id + schema: + type: array + items: + type: integer + nullable: true + description: Config template (ID) + explode: true + style: form + - in: query + name: config_template_id__n + schema: + type: array + items: + type: integer + nullable: true + description: Config template (ID) + explode: true + style: form + - in: query + name: contact + schema: + type: array + items: + type: integer + description: Contact + explode: true + style: form + - in: query + name: contact__n + schema: + type: array + items: + type: integer + description: Contact + explode: true + style: form + - in: query + name: contact_group + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact_group__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: contact_role + schema: + type: array + items: + type: integer + description: Contact Role + explode: true + style: form + - in: query + name: contact_role__n + schema: + type: array + items: + type: integer + description: Contact Role + 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__empty + 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__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: created_by_request + schema: + type: string + format: uuid + - in: query + name: description + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__empty + schema: + type: boolean + - 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__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__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: device + schema: + type: array + items: + type: string + nullable: true + description: Device + explode: true + style: form + - in: query + name: device__n + schema: + type: array + items: + type: string + nullable: true + description: Device + explode: true + style: form + - in: query + name: device_id + schema: + type: array + items: + type: integer + nullable: true + description: Device (ID) + explode: true + style: form + - in: query + name: device_id__n + schema: + type: array + items: + type: integer + nullable: true + description: Device (ID) + explode: true + style: form + - in: query + name: disk + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: disk__empty + schema: + type: boolean + - in: query + name: disk__gt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: disk__gte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: disk__lt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: disk__lte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: disk__n + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: has_primary_ip + schema: + type: boolean + description: Has a primary IP + - in: query + name: id + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__empty + schema: + type: boolean + - in: query + name: id__gt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__gte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__lt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__lte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: interface_count + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: interface_count__empty + schema: + type: boolean + - in: query + name: interface_count__gt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: interface_count__gte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: interface_count__lt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: interface_count__lte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: interface_count__n + schema: + type: array + items: + type: integer + format: int32 + 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__empty + 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__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: local_context_data + schema: + type: boolean + description: Has local config context data + - in: query + name: mac_address + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: mac_address__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: mac_address__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: mac_address__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: mac_address__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: mac_address__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: mac_address__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: mac_address__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: mac_address__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: mac_address__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: memory + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: memory__empty + schema: + type: boolean + - in: query + name: memory__gt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: memory__gte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: memory__lt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: memory__lte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: memory__n + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: modified_by_request + schema: + type: string + format: uuid + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__empty + schema: + type: boolean + - 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__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__nisw + 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 + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string + - in: query + name: platform + schema: + type: array + items: + type: string + description: Platform (slug) + explode: true + style: form + - in: query + name: platform__n + schema: + type: array + items: + type: string + description: Platform (slug) + explode: true + style: form + - in: query + name: platform_id + schema: + type: array + items: + type: integer + nullable: true + description: Platform (ID) + explode: true + style: form + - in: query + name: platform_id__n + schema: + type: array + items: + type: integer + nullable: true + description: Platform (ID) + explode: true + style: form + - in: query + name: primary_ip4_id + schema: + type: array + items: + type: integer + description: Primary IPv4 (ID) + explode: true + style: form + - in: query + name: primary_ip4_id__n + schema: + type: array + items: + type: integer + description: Primary IPv4 (ID) + explode: true + style: form + - in: query + name: primary_ip6_id + schema: + type: array + items: + type: integer + description: Primary IPv6 (ID) + explode: true + style: form + - in: query + name: primary_ip6_id__n + schema: + type: array + items: + type: integer + description: Primary IPv6 (ID) + explode: true + style: form + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: region + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: region__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: region_id + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: region_id__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: role + schema: + type: array + items: + type: string + description: Role (slug) + explode: true + style: form + - in: query + name: role__n + schema: + type: array + items: + type: string + description: Role (slug) + explode: true + style: form + - in: query + name: role_id + schema: + type: array + items: + type: integer + nullable: true + description: Role (ID) + explode: true + style: form + - in: query + name: role_id__n + schema: + type: array + items: + type: integer + nullable: true + description: Role (ID) + explode: true + style: form + - in: query + name: serial + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: serial__empty + schema: + type: boolean + - 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__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__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: site + schema: + type: array + items: + type: string + description: Site (slug) + explode: true + style: form + - in: query + name: site__n + schema: + type: array + items: + type: string + description: Site (slug) + explode: true + style: form + - in: query + name: site_group + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: site_group__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: site_group_id + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: site_group_id__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: site_id + schema: + type: array + items: + type: integer + nullable: true + description: Site (ID) + explode: true + style: form + - in: query + name: site_id__n + schema: + type: array + items: + type: integer + nullable: true + description: Site (ID) + explode: true + style: form + - in: query + name: status + schema: + type: array + items: + type: string + x-spec-enum-id: 2217e87d0c3efdda + explode: true + style: form + - in: query + name: status__empty + schema: + type: boolean + - in: query + name: status__ic + schema: + type: array + items: + type: string + x-spec-enum-id: 2217e87d0c3efdda + enum: + - active + - decommissioning + - failed + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `decommissioning` - Decommissioning' + explode: true + style: form + - in: query + name: status__ie + schema: + type: array + items: + type: string + x-spec-enum-id: 2217e87d0c3efdda + enum: + - active + - decommissioning + - failed + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `decommissioning` - Decommissioning' + explode: true + style: form + - in: query + name: status__iew + schema: + type: array + items: + type: string + x-spec-enum-id: 2217e87d0c3efdda + enum: + - active + - decommissioning + - failed + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `decommissioning` - Decommissioning' + explode: true + style: form + - in: query + name: status__isw + schema: + type: array + items: + type: string + x-spec-enum-id: 2217e87d0c3efdda + enum: + - active + - decommissioning + - failed + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `decommissioning` - Decommissioning' + explode: true + style: form + - in: query + name: status__n + schema: + type: array + items: + type: string + x-spec-enum-id: 2217e87d0c3efdda + enum: + - active + - decommissioning + - failed + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `decommissioning` - Decommissioning' + explode: true + style: form + - in: query + name: status__nic + schema: + type: array + items: + type: string + x-spec-enum-id: 2217e87d0c3efdda + enum: + - active + - decommissioning + - failed + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `decommissioning` - Decommissioning' + explode: true + style: form + - in: query + name: status__nie + schema: + type: array + items: + type: string + x-spec-enum-id: 2217e87d0c3efdda + enum: + - active + - decommissioning + - failed + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `decommissioning` - Decommissioning' + explode: true + style: form + - in: query + name: status__niew + schema: + type: array + items: + type: string + x-spec-enum-id: 2217e87d0c3efdda + enum: + - active + - decommissioning + - failed + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `decommissioning` - Decommissioning' + explode: true + style: form + - in: query + name: status__nisw + schema: + type: array + items: + type: string + x-spec-enum-id: 2217e87d0c3efdda + enum: + - active + - decommissioning + - failed + - offline + - planned + - staged + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `decommissioning` - Decommissioning' + explode: true + style: form + - in: query + name: tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant__n + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant_group + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant_group__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant_group_id + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant_group_id__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant_id + schema: + type: array + items: + type: integer + nullable: true + description: Tenant (ID) + explode: true + style: form + - in: query + name: tenant_id__n + schema: + type: array + items: + type: integer + nullable: true + description: Tenant (ID) + explode: true + style: form + - in: query + name: updated_by_request + schema: + type: string + format: uuid + - in: query + name: vcpus + schema: + type: array + items: + type: number + format: double + explode: true + style: form + - in: query + name: vcpus__empty + schema: + type: boolean + - in: query + name: vcpus__gt + schema: + type: array + items: + type: number + format: double + explode: true + style: form + - in: query + name: vcpus__gte + schema: + type: array + items: + type: number + format: double + explode: true + style: form + - in: query + name: vcpus__lt + schema: + type: array + items: + type: number + format: double + explode: true + style: form + - in: query + name: vcpus__lte + schema: + type: array + items: + type: number + format: double + explode: true + style: form + - in: query + name: vcpus__n + schema: + type: array + items: + type: number + format: double + explode: true + style: form + - in: query + name: virtual_disk_count + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: virtual_disk_count__empty + schema: + type: boolean + - in: query + name: virtual_disk_count__gt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: virtual_disk_count__gte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: virtual_disk_count__lt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: virtual_disk_count__lte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: virtual_disk_count__n + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + tags: + - virtualization + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/PaginatedVirtualMachineWithConfigContextList' + description: '' + post: + operationId: virtualization_virtual_machines_create + description: Post a list of virtual machine objects. + tags: + - virtualization + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableVirtualMachineWithConfigContextRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableVirtualMachineWithConfigContextRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json: + schema: + $ref: '#/components/schemas/VirtualMachineWithConfigContext' + description: '' + put: + operationId: virtualization_virtual_machines_bulk_update + description: Put a list of virtual machine objects. + tags: + - virtualization + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/VirtualMachineWithConfigContextRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/VirtualMachineWithConfigContextRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/VirtualMachineWithConfigContext' + description: '' + patch: + operationId: virtualization_virtual_machines_bulk_partial_update + description: Patch a list of virtual machine objects. + tags: + - virtualization + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/VirtualMachineWithConfigContextRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/VirtualMachineWithConfigContextRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/VirtualMachineWithConfigContext' + description: '' + delete: + operationId: virtualization_virtual_machines_bulk_destroy + description: Delete a list of virtual machine objects. + tags: + - virtualization + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/VirtualMachineWithConfigContextRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/VirtualMachineWithConfigContextRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /api/virtualization/virtual-machines/{id}/: + get: + operationId: virtualization_virtual_machines_retrieve + description: Get a virtual machine object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this virtual machine. + required: true + tags: + - virtualization + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/VirtualMachineWithConfigContext' + description: '' + put: + operationId: virtualization_virtual_machines_update + description: Put a virtual machine object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this virtual machine. + required: true + tags: + - virtualization + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableVirtualMachineWithConfigContextRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableVirtualMachineWithConfigContextRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/VirtualMachineWithConfigContext' + description: '' + patch: + operationId: virtualization_virtual_machines_partial_update + description: Patch a virtual machine object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this virtual machine. + required: true + tags: + - virtualization + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableVirtualMachineWithConfigContextRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableVirtualMachineWithConfigContextRequest' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/VirtualMachineWithConfigContext' + description: '' + delete: + operationId: virtualization_virtual_machines_destroy + description: Delete a virtual machine object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this virtual machine. + required: true + tags: + - virtualization + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /api/virtualization/virtual-machines/{id}/render-config/: + post: + operationId: virtualization_virtual_machines_render_config_create + description: Resolve and render the preferred ConfigTemplate for this Device. + parameters: + - in: query + name: format + schema: + type: string + enum: + - json + - txt + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this virtual machine. + required: true + tags: + - virtualization + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableVirtualMachineWithConfigContextRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableVirtualMachineWithConfigContextRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/VirtualMachineWithConfigContext' + text/plain: + schema: + $ref: '#/components/schemas/VirtualMachineWithConfigContext' + description: '' + /api/vpn/ike-policies/: + get: + operationId: vpn_ike_policies_list + description: Get a list of IKE policy objects. + parameters: + - in: query + name: created + schema: + type: array + items: + type: string + format: date-time + explode: true + style: form + - in: query + name: created__empty + 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__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: created_by_request + schema: + type: string + format: uuid + - in: query + name: description + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__empty + schema: + type: boolean + - 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__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__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__empty + schema: + type: boolean + - in: query + name: id__gt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__gte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__lt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__lte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: ike_proposal + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: ike_proposal__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: ike_proposal_id + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: ike_proposal_id__n + schema: + type: array + items: + type: integer + 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__empty + 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__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: mode + schema: + type: array + items: + type: string + x-spec-enum-id: 64c1be7bdb2548ca + explode: true + style: form + - in: query + name: mode__empty + schema: + type: boolean + - in: query + name: mode__ic + schema: + type: array + items: + type: string + x-spec-enum-id: 64c1be7bdb2548ca + enum: + - '' + - aggressive + - main + description: '* `aggressive` - Aggressive + + * `main` - Main' + explode: true + style: form + - in: query + name: mode__ie + schema: + type: array + items: + type: string + x-spec-enum-id: 64c1be7bdb2548ca + enum: + - '' + - aggressive + - main + description: '* `aggressive` - Aggressive + + * `main` - Main' + explode: true + style: form + - in: query + name: mode__iew + schema: + type: array + items: + type: string + x-spec-enum-id: 64c1be7bdb2548ca + enum: + - '' + - aggressive + - main + description: '* `aggressive` - Aggressive + + * `main` - Main' + explode: true + style: form + - in: query + name: mode__isw + schema: + type: array + items: + type: string + x-spec-enum-id: 64c1be7bdb2548ca + enum: + - '' + - aggressive + - main + description: '* `aggressive` - Aggressive + + * `main` - Main' + explode: true + style: form + - in: query + name: mode__n + schema: + type: array + items: + type: string + x-spec-enum-id: 64c1be7bdb2548ca + enum: + - '' + - aggressive + - main + description: '* `aggressive` - Aggressive + + * `main` - Main' + explode: true + style: form + - in: query + name: mode__nic + schema: + type: array + items: + type: string + x-spec-enum-id: 64c1be7bdb2548ca + enum: + - '' + - aggressive + - main + description: '* `aggressive` - Aggressive + + * `main` - Main' + explode: true + style: form + - in: query + name: mode__nie + schema: + type: array + items: + type: string + x-spec-enum-id: 64c1be7bdb2548ca + enum: + - '' + - aggressive + - main + description: '* `aggressive` - Aggressive + + * `main` - Main' + explode: true + style: form + - in: query + name: mode__niew + schema: + type: array + items: + type: string + x-spec-enum-id: 64c1be7bdb2548ca + enum: + - '' + - aggressive + - main + description: '* `aggressive` - Aggressive + + * `main` - Main' + explode: true + style: form + - in: query + name: mode__nisw + schema: + type: array + items: + type: string + x-spec-enum-id: 64c1be7bdb2548ca + enum: + - '' + - aggressive + - main + description: '* `aggressive` - Aggressive + + * `main` - Main' + explode: true + style: form + - in: query + name: modified_by_request + schema: + type: string + format: uuid + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__empty + schema: + type: boolean + - 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__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__nisw + 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 + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string + - in: query + name: preshared_key + schema: + type: string + - in: query + name: preshared_key__ic + schema: + type: string + - in: query + name: preshared_key__ie + schema: + type: string + - in: query + name: preshared_key__iew + schema: + type: string + - in: query + name: preshared_key__isw + schema: + type: string + - in: query + name: preshared_key__n + schema: + type: string + - in: query + name: preshared_key__nic + schema: + type: string + - in: query + name: preshared_key__nie + schema: + type: string + - in: query + name: preshared_key__niew + schema: + type: string + - in: query + name: preshared_key__nisw + schema: + type: string + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: updated_by_request + schema: + type: string + format: uuid + - in: query + name: version + schema: + type: array + items: + type: integer + x-spec-enum-id: 00872b77916a1fde + explode: true + style: form + - in: query + name: version__ic + schema: + type: array + items: + type: integer + x-spec-enum-id: 00872b77916a1fde + enum: + - 1 + - 2 + description: '* `1` - IKEv1 + + * `2` - IKEv2' + explode: true + style: form + - in: query + name: version__ie + schema: + type: array + items: + type: integer + x-spec-enum-id: 00872b77916a1fde + enum: + - 1 + - 2 + description: '* `1` - IKEv1 + + * `2` - IKEv2' + explode: true + style: form + - in: query + name: version__iew + schema: + type: array + items: + type: integer + x-spec-enum-id: 00872b77916a1fde + enum: + - 1 + - 2 + description: '* `1` - IKEv1 + + * `2` - IKEv2' + explode: true + style: form + - in: query + name: version__isw + schema: + type: array + items: + type: integer + x-spec-enum-id: 00872b77916a1fde + enum: + - 1 + - 2 + description: '* `1` - IKEv1 + + * `2` - IKEv2' + explode: true + style: form + - in: query + name: version__n + schema: + type: array + items: + type: integer + x-spec-enum-id: 00872b77916a1fde + enum: + - 1 + - 2 + description: '* `1` - IKEv1 + + * `2` - IKEv2' + explode: true + style: form + - in: query + name: version__nic + schema: + type: array + items: + type: integer + x-spec-enum-id: 00872b77916a1fde + enum: + - 1 + - 2 + description: '* `1` - IKEv1 + + * `2` - IKEv2' + explode: true + style: form + - in: query + name: version__nie + schema: + type: array + items: + type: integer + x-spec-enum-id: 00872b77916a1fde + enum: + - 1 + - 2 + description: '* `1` - IKEv1 + + * `2` - IKEv2' + explode: true + style: form + - in: query + name: version__niew + schema: + type: array + items: + type: integer + x-spec-enum-id: 00872b77916a1fde + enum: + - 1 + - 2 + description: '* `1` - IKEv1 + + * `2` - IKEv2' + explode: true + style: form + - in: query + name: version__nisw + schema: + type: array + items: + type: integer + x-spec-enum-id: 00872b77916a1fde + enum: + - 1 + - 2 + description: '* `1` - IKEv1 + + * `2` - IKEv2' + explode: true + style: form + tags: + - vpn + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/PaginatedIKEPolicyList' + description: '' + post: + operationId: vpn_ike_policies_create + description: Post a list of IKE policy objects. + tags: + - vpn + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableIKEPolicyRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableIKEPolicyRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json: + schema: + $ref: '#/components/schemas/IKEPolicy' + description: '' + put: + operationId: vpn_ike_policies_bulk_update + description: Put a list of IKE policy objects. + tags: + - vpn + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/IKEPolicyRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/IKEPolicyRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/IKEPolicy' + description: '' + patch: + operationId: vpn_ike_policies_bulk_partial_update + description: Patch a list of IKE policy objects. + tags: + - vpn + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/IKEPolicyRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/IKEPolicyRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/IKEPolicy' + description: '' + delete: + operationId: vpn_ike_policies_bulk_destroy + description: Delete a list of IKE policy objects. + tags: + - vpn + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/IKEPolicyRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/IKEPolicyRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /api/vpn/ike-policies/{id}/: + get: + operationId: vpn_ike_policies_retrieve + description: Get a IKE policy object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this IKE policy. + required: true + tags: + - vpn + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/IKEPolicy' + description: '' + put: + operationId: vpn_ike_policies_update + description: Put a IKE policy object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this IKE policy. + required: true + tags: + - vpn + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableIKEPolicyRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableIKEPolicyRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/IKEPolicy' + description: '' + patch: + operationId: vpn_ike_policies_partial_update + description: Patch a IKE policy object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this IKE policy. + required: true + tags: + - vpn + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableIKEPolicyRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableIKEPolicyRequest' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/IKEPolicy' + description: '' + delete: + operationId: vpn_ike_policies_destroy + description: Delete a IKE policy object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this IKE policy. + required: true + tags: + - vpn + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /api/vpn/ike-proposals/: + get: + operationId: vpn_ike_proposals_list + description: Get a list of IKE proposal objects. + parameters: + - in: query + name: authentication_algorithm + schema: + type: array + items: + type: string + x-spec-enum-id: 0830e8839f5dea4f + explode: true + style: form + - in: query + name: authentication_algorithm__empty + schema: + type: boolean + - in: query + name: authentication_algorithm__ic + schema: + type: array + items: + type: string + x-spec-enum-id: 0830e8839f5dea4f + enum: + - '' + - hmac-md5 + - hmac-sha1 + - hmac-sha256 + - hmac-sha384 + - hmac-sha512 + description: '* `hmac-sha1` - SHA-1 HMAC + + * `hmac-sha256` - SHA-256 HMAC + + * `hmac-sha384` - SHA-384 HMAC + + * `hmac-sha512` - SHA-512 HMAC + + * `hmac-md5` - MD5 HMAC' + explode: true + style: form + - in: query + name: authentication_algorithm__ie + schema: + type: array + items: + type: string + x-spec-enum-id: 0830e8839f5dea4f + enum: + - '' + - hmac-md5 + - hmac-sha1 + - hmac-sha256 + - hmac-sha384 + - hmac-sha512 + description: '* `hmac-sha1` - SHA-1 HMAC + + * `hmac-sha256` - SHA-256 HMAC + + * `hmac-sha384` - SHA-384 HMAC + + * `hmac-sha512` - SHA-512 HMAC + + * `hmac-md5` - MD5 HMAC' + explode: true + style: form + - in: query + name: authentication_algorithm__iew + schema: + type: array + items: + type: string + x-spec-enum-id: 0830e8839f5dea4f + enum: + - '' + - hmac-md5 + - hmac-sha1 + - hmac-sha256 + - hmac-sha384 + - hmac-sha512 + description: '* `hmac-sha1` - SHA-1 HMAC + + * `hmac-sha256` - SHA-256 HMAC + + * `hmac-sha384` - SHA-384 HMAC + + * `hmac-sha512` - SHA-512 HMAC + + * `hmac-md5` - MD5 HMAC' + explode: true + style: form + - in: query + name: authentication_algorithm__isw + schema: + type: array + items: + type: string + x-spec-enum-id: 0830e8839f5dea4f + enum: + - '' + - hmac-md5 + - hmac-sha1 + - hmac-sha256 + - hmac-sha384 + - hmac-sha512 + description: '* `hmac-sha1` - SHA-1 HMAC + + * `hmac-sha256` - SHA-256 HMAC + + * `hmac-sha384` - SHA-384 HMAC + + * `hmac-sha512` - SHA-512 HMAC + + * `hmac-md5` - MD5 HMAC' + explode: true + style: form + - in: query + name: authentication_algorithm__n + schema: + type: array + items: + type: string + x-spec-enum-id: 0830e8839f5dea4f + enum: + - '' + - hmac-md5 + - hmac-sha1 + - hmac-sha256 + - hmac-sha384 + - hmac-sha512 + description: '* `hmac-sha1` - SHA-1 HMAC + + * `hmac-sha256` - SHA-256 HMAC + + * `hmac-sha384` - SHA-384 HMAC + + * `hmac-sha512` - SHA-512 HMAC + + * `hmac-md5` - MD5 HMAC' + explode: true + style: form + - in: query + name: authentication_algorithm__nic + schema: + type: array + items: + type: string + x-spec-enum-id: 0830e8839f5dea4f + enum: + - '' + - hmac-md5 + - hmac-sha1 + - hmac-sha256 + - hmac-sha384 + - hmac-sha512 + description: '* `hmac-sha1` - SHA-1 HMAC + + * `hmac-sha256` - SHA-256 HMAC + + * `hmac-sha384` - SHA-384 HMAC + + * `hmac-sha512` - SHA-512 HMAC + + * `hmac-md5` - MD5 HMAC' + explode: true + style: form + - in: query + name: authentication_algorithm__nie + schema: + type: array + items: + type: string + x-spec-enum-id: 0830e8839f5dea4f + enum: + - '' + - hmac-md5 + - hmac-sha1 + - hmac-sha256 + - hmac-sha384 + - hmac-sha512 + description: '* `hmac-sha1` - SHA-1 HMAC + + * `hmac-sha256` - SHA-256 HMAC + + * `hmac-sha384` - SHA-384 HMAC + + * `hmac-sha512` - SHA-512 HMAC + + * `hmac-md5` - MD5 HMAC' + explode: true + style: form + - in: query + name: authentication_algorithm__niew + schema: + type: array + items: + type: string + x-spec-enum-id: 0830e8839f5dea4f + enum: + - '' + - hmac-md5 + - hmac-sha1 + - hmac-sha256 + - hmac-sha384 + - hmac-sha512 + description: '* `hmac-sha1` - SHA-1 HMAC + + * `hmac-sha256` - SHA-256 HMAC + + * `hmac-sha384` - SHA-384 HMAC + + * `hmac-sha512` - SHA-512 HMAC + + * `hmac-md5` - MD5 HMAC' + explode: true + style: form + - in: query + name: authentication_algorithm__nisw + schema: + type: array + items: + type: string + x-spec-enum-id: 0830e8839f5dea4f + enum: + - '' + - hmac-md5 + - hmac-sha1 + - hmac-sha256 + - hmac-sha384 + - hmac-sha512 + description: '* `hmac-sha1` - SHA-1 HMAC + + * `hmac-sha256` - SHA-256 HMAC + + * `hmac-sha384` - SHA-384 HMAC + + * `hmac-sha512` - SHA-512 HMAC + + * `hmac-md5` - MD5 HMAC' + explode: true + style: form + - in: query + name: authentication_method + schema: + type: array + items: + type: string + x-spec-enum-id: 92bb2f1103b3a262 + explode: true + style: form + - in: query + name: authentication_method__empty + schema: + type: boolean + - in: query + name: authentication_method__ic + schema: + type: array + items: + type: string + x-spec-enum-id: 92bb2f1103b3a262 + enum: + - certificates + - dsa-signatures + - preshared-keys + - rsa-signatures + description: '* `preshared-keys` - Pre-shared keys + + * `certificates` - Certificates + + * `rsa-signatures` - RSA signatures + + * `dsa-signatures` - DSA signatures' + explode: true + style: form + - in: query + name: authentication_method__ie + schema: + type: array + items: + type: string + x-spec-enum-id: 92bb2f1103b3a262 + enum: + - certificates + - dsa-signatures + - preshared-keys + - rsa-signatures + description: '* `preshared-keys` - Pre-shared keys + + * `certificates` - Certificates + + * `rsa-signatures` - RSA signatures + + * `dsa-signatures` - DSA signatures' + explode: true + style: form + - in: query + name: authentication_method__iew + schema: + type: array + items: + type: string + x-spec-enum-id: 92bb2f1103b3a262 + enum: + - certificates + - dsa-signatures + - preshared-keys + - rsa-signatures + description: '* `preshared-keys` - Pre-shared keys + + * `certificates` - Certificates + + * `rsa-signatures` - RSA signatures + + * `dsa-signatures` - DSA signatures' + explode: true + style: form + - in: query + name: authentication_method__isw + schema: + type: array + items: + type: string + x-spec-enum-id: 92bb2f1103b3a262 + enum: + - certificates + - dsa-signatures + - preshared-keys + - rsa-signatures + description: '* `preshared-keys` - Pre-shared keys + + * `certificates` - Certificates + + * `rsa-signatures` - RSA signatures + + * `dsa-signatures` - DSA signatures' + explode: true + style: form + - in: query + name: authentication_method__n + schema: + type: array + items: + type: string + x-spec-enum-id: 92bb2f1103b3a262 + enum: + - certificates + - dsa-signatures + - preshared-keys + - rsa-signatures + description: '* `preshared-keys` - Pre-shared keys + + * `certificates` - Certificates + + * `rsa-signatures` - RSA signatures + + * `dsa-signatures` - DSA signatures' + explode: true + style: form + - in: query + name: authentication_method__nic + schema: + type: array + items: + type: string + x-spec-enum-id: 92bb2f1103b3a262 + enum: + - certificates + - dsa-signatures + - preshared-keys + - rsa-signatures + description: '* `preshared-keys` - Pre-shared keys + + * `certificates` - Certificates + + * `rsa-signatures` - RSA signatures + + * `dsa-signatures` - DSA signatures' + explode: true + style: form + - in: query + name: authentication_method__nie + schema: + type: array + items: + type: string + x-spec-enum-id: 92bb2f1103b3a262 + enum: + - certificates + - dsa-signatures + - preshared-keys + - rsa-signatures + description: '* `preshared-keys` - Pre-shared keys + + * `certificates` - Certificates + + * `rsa-signatures` - RSA signatures + + * `dsa-signatures` - DSA signatures' + explode: true + style: form + - in: query + name: authentication_method__niew + schema: + type: array + items: + type: string + x-spec-enum-id: 92bb2f1103b3a262 + enum: + - certificates + - dsa-signatures + - preshared-keys + - rsa-signatures + description: '* `preshared-keys` - Pre-shared keys + + * `certificates` - Certificates + + * `rsa-signatures` - RSA signatures + + * `dsa-signatures` - DSA signatures' + explode: true + style: form + - in: query + name: authentication_method__nisw + schema: + type: array + items: + type: string + x-spec-enum-id: 92bb2f1103b3a262 + enum: + - certificates + - dsa-signatures + - preshared-keys + - rsa-signatures + description: '* `preshared-keys` - Pre-shared keys + + * `certificates` - Certificates + + * `rsa-signatures` - RSA signatures + + * `dsa-signatures` - DSA signatures' + 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__empty + 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__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: created_by_request + schema: + type: string + format: uuid + - in: query + name: description + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__empty + schema: + type: boolean + - 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__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__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: encryption_algorithm + schema: + type: array + items: + type: string + x-spec-enum-id: b022535cfdee79fe + explode: true + style: form + - in: query + name: encryption_algorithm__empty + schema: + type: boolean + - in: query + name: encryption_algorithm__ic + schema: + type: array + items: + type: string + x-spec-enum-id: b022535cfdee79fe + enum: + - 3des-cbc + - aes-128-cbc + - aes-128-gcm + - aes-192-cbc + - aes-192-gcm + - aes-256-cbc + - aes-256-gcm + - des-cbc + description: '* `aes-128-cbc` - 128-bit AES (CBC) + + * `aes-128-gcm` - 128-bit AES (GCM) + + * `aes-192-cbc` - 192-bit AES (CBC) + + * `aes-192-gcm` - 192-bit AES (GCM) + + * `aes-256-cbc` - 256-bit AES (CBC) + + * `aes-256-gcm` - 256-bit AES (GCM) + + * `3des-cbc` - 3DES + + * `des-cbc` - DES' + explode: true + style: form + - in: query + name: encryption_algorithm__ie + schema: + type: array + items: + type: string + x-spec-enum-id: b022535cfdee79fe + enum: + - 3des-cbc + - aes-128-cbc + - aes-128-gcm + - aes-192-cbc + - aes-192-gcm + - aes-256-cbc + - aes-256-gcm + - des-cbc + description: '* `aes-128-cbc` - 128-bit AES (CBC) + + * `aes-128-gcm` - 128-bit AES (GCM) + + * `aes-192-cbc` - 192-bit AES (CBC) + + * `aes-192-gcm` - 192-bit AES (GCM) + + * `aes-256-cbc` - 256-bit AES (CBC) + + * `aes-256-gcm` - 256-bit AES (GCM) + + * `3des-cbc` - 3DES + + * `des-cbc` - DES' + explode: true + style: form + - in: query + name: encryption_algorithm__iew + schema: + type: array + items: + type: string + x-spec-enum-id: b022535cfdee79fe + enum: + - 3des-cbc + - aes-128-cbc + - aes-128-gcm + - aes-192-cbc + - aes-192-gcm + - aes-256-cbc + - aes-256-gcm + - des-cbc + description: '* `aes-128-cbc` - 128-bit AES (CBC) + + * `aes-128-gcm` - 128-bit AES (GCM) + + * `aes-192-cbc` - 192-bit AES (CBC) + + * `aes-192-gcm` - 192-bit AES (GCM) + + * `aes-256-cbc` - 256-bit AES (CBC) + + * `aes-256-gcm` - 256-bit AES (GCM) + + * `3des-cbc` - 3DES + + * `des-cbc` - DES' + explode: true + style: form + - in: query + name: encryption_algorithm__isw + schema: + type: array + items: + type: string + x-spec-enum-id: b022535cfdee79fe + enum: + - 3des-cbc + - aes-128-cbc + - aes-128-gcm + - aes-192-cbc + - aes-192-gcm + - aes-256-cbc + - aes-256-gcm + - des-cbc + description: '* `aes-128-cbc` - 128-bit AES (CBC) + + * `aes-128-gcm` - 128-bit AES (GCM) + + * `aes-192-cbc` - 192-bit AES (CBC) + + * `aes-192-gcm` - 192-bit AES (GCM) + + * `aes-256-cbc` - 256-bit AES (CBC) + + * `aes-256-gcm` - 256-bit AES (GCM) + + * `3des-cbc` - 3DES + + * `des-cbc` - DES' + explode: true + style: form + - in: query + name: encryption_algorithm__n + schema: + type: array + items: + type: string + x-spec-enum-id: b022535cfdee79fe + enum: + - 3des-cbc + - aes-128-cbc + - aes-128-gcm + - aes-192-cbc + - aes-192-gcm + - aes-256-cbc + - aes-256-gcm + - des-cbc + description: '* `aes-128-cbc` - 128-bit AES (CBC) + + * `aes-128-gcm` - 128-bit AES (GCM) + + * `aes-192-cbc` - 192-bit AES (CBC) + + * `aes-192-gcm` - 192-bit AES (GCM) + + * `aes-256-cbc` - 256-bit AES (CBC) + + * `aes-256-gcm` - 256-bit AES (GCM) + + * `3des-cbc` - 3DES + + * `des-cbc` - DES' + explode: true + style: form + - in: query + name: encryption_algorithm__nic + schema: + type: array + items: + type: string + x-spec-enum-id: b022535cfdee79fe + enum: + - 3des-cbc + - aes-128-cbc + - aes-128-gcm + - aes-192-cbc + - aes-192-gcm + - aes-256-cbc + - aes-256-gcm + - des-cbc + description: '* `aes-128-cbc` - 128-bit AES (CBC) + + * `aes-128-gcm` - 128-bit AES (GCM) + + * `aes-192-cbc` - 192-bit AES (CBC) + + * `aes-192-gcm` - 192-bit AES (GCM) + + * `aes-256-cbc` - 256-bit AES (CBC) + + * `aes-256-gcm` - 256-bit AES (GCM) + + * `3des-cbc` - 3DES + + * `des-cbc` - DES' + explode: true + style: form + - in: query + name: encryption_algorithm__nie + schema: + type: array + items: + type: string + x-spec-enum-id: b022535cfdee79fe + enum: + - 3des-cbc + - aes-128-cbc + - aes-128-gcm + - aes-192-cbc + - aes-192-gcm + - aes-256-cbc + - aes-256-gcm + - des-cbc + description: '* `aes-128-cbc` - 128-bit AES (CBC) + + * `aes-128-gcm` - 128-bit AES (GCM) + + * `aes-192-cbc` - 192-bit AES (CBC) + + * `aes-192-gcm` - 192-bit AES (GCM) + + * `aes-256-cbc` - 256-bit AES (CBC) + + * `aes-256-gcm` - 256-bit AES (GCM) + + * `3des-cbc` - 3DES + + * `des-cbc` - DES' + explode: true + style: form + - in: query + name: encryption_algorithm__niew + schema: + type: array + items: + type: string + x-spec-enum-id: b022535cfdee79fe + enum: + - 3des-cbc + - aes-128-cbc + - aes-128-gcm + - aes-192-cbc + - aes-192-gcm + - aes-256-cbc + - aes-256-gcm + - des-cbc + description: '* `aes-128-cbc` - 128-bit AES (CBC) + + * `aes-128-gcm` - 128-bit AES (GCM) + + * `aes-192-cbc` - 192-bit AES (CBC) + + * `aes-192-gcm` - 192-bit AES (GCM) + + * `aes-256-cbc` - 256-bit AES (CBC) + + * `aes-256-gcm` - 256-bit AES (GCM) + + * `3des-cbc` - 3DES + + * `des-cbc` - DES' + explode: true + style: form + - in: query + name: encryption_algorithm__nisw + schema: + type: array + items: + type: string + x-spec-enum-id: b022535cfdee79fe + enum: + - 3des-cbc + - aes-128-cbc + - aes-128-gcm + - aes-192-cbc + - aes-192-gcm + - aes-256-cbc + - aes-256-gcm + - des-cbc + description: '* `aes-128-cbc` - 128-bit AES (CBC) + + * `aes-128-gcm` - 128-bit AES (GCM) + + * `aes-192-cbc` - 192-bit AES (CBC) + + * `aes-192-gcm` - 192-bit AES (GCM) + + * `aes-256-cbc` - 256-bit AES (CBC) + + * `aes-256-gcm` - 256-bit AES (GCM) + + * `3des-cbc` - 3DES + + * `des-cbc` - DES' + explode: true + style: form + - in: query + name: group + schema: + type: array + items: + type: integer + x-spec-enum-id: dbef43be795462a8 + description: Diffie-Hellman group ID + explode: true + style: form + - in: query + name: group__ic + schema: + type: array + items: + type: integer + x-spec-enum-id: dbef43be795462a8 + enum: + - 1 + - 14 + - 15 + - 16 + - 17 + - 18 + - 19 + - 2 + - 20 + - 21 + - 22 + - 23 + - 24 + - 25 + - 26 + - 27 + - 28 + - 29 + - 30 + - 31 + - 32 + - 33 + - 34 + - 5 + description: 'Diffie-Hellman group ID + + + * `1` - Group 1 + + * `2` - Group 2 + + * `5` - Group 5 + + * `14` - Group 14 + + * `15` - Group 15 + + * `16` - Group 16 + + * `17` - Group 17 + + * `18` - Group 18 + + * `19` - Group 19 + + * `20` - Group 20 + + * `21` - Group 21 + + * `22` - Group 22 + + * `23` - Group 23 + + * `24` - Group 24 + + * `25` - Group 25 + + * `26` - Group 26 + + * `27` - Group 27 + + * `28` - Group 28 + + * `29` - Group 29 + + * `30` - Group 30 + + * `31` - Group 31 + + * `32` - Group 32 + + * `33` - Group 33 + + * `34` - Group 34' + explode: true + style: form + - in: query + name: group__ie + schema: + type: array + items: + type: integer + x-spec-enum-id: dbef43be795462a8 + enum: + - 1 + - 14 + - 15 + - 16 + - 17 + - 18 + - 19 + - 2 + - 20 + - 21 + - 22 + - 23 + - 24 + - 25 + - 26 + - 27 + - 28 + - 29 + - 30 + - 31 + - 32 + - 33 + - 34 + - 5 + description: 'Diffie-Hellman group ID + + + * `1` - Group 1 + + * `2` - Group 2 + + * `5` - Group 5 + + * `14` - Group 14 + + * `15` - Group 15 + + * `16` - Group 16 + + * `17` - Group 17 + + * `18` - Group 18 + + * `19` - Group 19 + + * `20` - Group 20 + + * `21` - Group 21 + + * `22` - Group 22 + + * `23` - Group 23 + + * `24` - Group 24 + + * `25` - Group 25 + + * `26` - Group 26 + + * `27` - Group 27 + + * `28` - Group 28 + + * `29` - Group 29 + + * `30` - Group 30 + + * `31` - Group 31 + + * `32` - Group 32 + + * `33` - Group 33 + + * `34` - Group 34' + explode: true + style: form + - in: query + name: group__iew + schema: + type: array + items: + type: integer + x-spec-enum-id: dbef43be795462a8 + enum: + - 1 + - 14 + - 15 + - 16 + - 17 + - 18 + - 19 + - 2 + - 20 + - 21 + - 22 + - 23 + - 24 + - 25 + - 26 + - 27 + - 28 + - 29 + - 30 + - 31 + - 32 + - 33 + - 34 + - 5 + description: 'Diffie-Hellman group ID + + + * `1` - Group 1 + + * `2` - Group 2 + + * `5` - Group 5 + + * `14` - Group 14 + + * `15` - Group 15 + + * `16` - Group 16 + + * `17` - Group 17 + + * `18` - Group 18 + + * `19` - Group 19 + + * `20` - Group 20 + + * `21` - Group 21 + + * `22` - Group 22 + + * `23` - Group 23 + + * `24` - Group 24 + + * `25` - Group 25 + + * `26` - Group 26 + + * `27` - Group 27 + + * `28` - Group 28 + + * `29` - Group 29 + + * `30` - Group 30 + + * `31` - Group 31 + + * `32` - Group 32 + + * `33` - Group 33 + + * `34` - Group 34' + explode: true + style: form + - in: query + name: group__isw + schema: + type: array + items: + type: integer + x-spec-enum-id: dbef43be795462a8 + enum: + - 1 + - 14 + - 15 + - 16 + - 17 + - 18 + - 19 + - 2 + - 20 + - 21 + - 22 + - 23 + - 24 + - 25 + - 26 + - 27 + - 28 + - 29 + - 30 + - 31 + - 32 + - 33 + - 34 + - 5 + description: 'Diffie-Hellman group ID + + + * `1` - Group 1 + + * `2` - Group 2 + + * `5` - Group 5 + + * `14` - Group 14 + + * `15` - Group 15 + + * `16` - Group 16 + + * `17` - Group 17 + + * `18` - Group 18 + + * `19` - Group 19 + + * `20` - Group 20 + + * `21` - Group 21 + + * `22` - Group 22 + + * `23` - Group 23 + + * `24` - Group 24 + + * `25` - Group 25 + + * `26` - Group 26 + + * `27` - Group 27 + + * `28` - Group 28 + + * `29` - Group 29 + + * `30` - Group 30 + + * `31` - Group 31 + + * `32` - Group 32 + + * `33` - Group 33 + + * `34` - Group 34' + explode: true + style: form + - in: query + name: group__n + schema: + type: array + items: + type: integer + x-spec-enum-id: dbef43be795462a8 + enum: + - 1 + - 14 + - 15 + - 16 + - 17 + - 18 + - 19 + - 2 + - 20 + - 21 + - 22 + - 23 + - 24 + - 25 + - 26 + - 27 + - 28 + - 29 + - 30 + - 31 + - 32 + - 33 + - 34 + - 5 + description: 'Diffie-Hellman group ID + + + * `1` - Group 1 + + * `2` - Group 2 + + * `5` - Group 5 + + * `14` - Group 14 + + * `15` - Group 15 + + * `16` - Group 16 + + * `17` - Group 17 + + * `18` - Group 18 + + * `19` - Group 19 + + * `20` - Group 20 + + * `21` - Group 21 + + * `22` - Group 22 + + * `23` - Group 23 + + * `24` - Group 24 + + * `25` - Group 25 + + * `26` - Group 26 + + * `27` - Group 27 + + * `28` - Group 28 + + * `29` - Group 29 + + * `30` - Group 30 + + * `31` - Group 31 + + * `32` - Group 32 + + * `33` - Group 33 + + * `34` - Group 34' + explode: true + style: form + - in: query + name: group__nic + schema: + type: array + items: + type: integer + x-spec-enum-id: dbef43be795462a8 + enum: + - 1 + - 14 + - 15 + - 16 + - 17 + - 18 + - 19 + - 2 + - 20 + - 21 + - 22 + - 23 + - 24 + - 25 + - 26 + - 27 + - 28 + - 29 + - 30 + - 31 + - 32 + - 33 + - 34 + - 5 + description: 'Diffie-Hellman group ID + + + * `1` - Group 1 + + * `2` - Group 2 + + * `5` - Group 5 + + * `14` - Group 14 + + * `15` - Group 15 + + * `16` - Group 16 + + * `17` - Group 17 + + * `18` - Group 18 + + * `19` - Group 19 + + * `20` - Group 20 + + * `21` - Group 21 + + * `22` - Group 22 + + * `23` - Group 23 + + * `24` - Group 24 + + * `25` - Group 25 + + * `26` - Group 26 + + * `27` - Group 27 + + * `28` - Group 28 + + * `29` - Group 29 + + * `30` - Group 30 + + * `31` - Group 31 + + * `32` - Group 32 + + * `33` - Group 33 + + * `34` - Group 34' + explode: true + style: form + - in: query + name: group__nie + schema: + type: array + items: + type: integer + x-spec-enum-id: dbef43be795462a8 + enum: + - 1 + - 14 + - 15 + - 16 + - 17 + - 18 + - 19 + - 2 + - 20 + - 21 + - 22 + - 23 + - 24 + - 25 + - 26 + - 27 + - 28 + - 29 + - 30 + - 31 + - 32 + - 33 + - 34 + - 5 + description: 'Diffie-Hellman group ID + + + * `1` - Group 1 + + * `2` - Group 2 + + * `5` - Group 5 + + * `14` - Group 14 + + * `15` - Group 15 + + * `16` - Group 16 + + * `17` - Group 17 + + * `18` - Group 18 + + * `19` - Group 19 + + * `20` - Group 20 + + * `21` - Group 21 + + * `22` - Group 22 + + * `23` - Group 23 + + * `24` - Group 24 + + * `25` - Group 25 + + * `26` - Group 26 + + * `27` - Group 27 + + * `28` - Group 28 + + * `29` - Group 29 + + * `30` - Group 30 + + * `31` - Group 31 + + * `32` - Group 32 + + * `33` - Group 33 + + * `34` - Group 34' + explode: true + style: form + - in: query + name: group__niew + schema: + type: array + items: + type: integer + x-spec-enum-id: dbef43be795462a8 + enum: + - 1 + - 14 + - 15 + - 16 + - 17 + - 18 + - 19 + - 2 + - 20 + - 21 + - 22 + - 23 + - 24 + - 25 + - 26 + - 27 + - 28 + - 29 + - 30 + - 31 + - 32 + - 33 + - 34 + - 5 + description: 'Diffie-Hellman group ID + + + * `1` - Group 1 + + * `2` - Group 2 + + * `5` - Group 5 + + * `14` - Group 14 + + * `15` - Group 15 + + * `16` - Group 16 + + * `17` - Group 17 + + * `18` - Group 18 + + * `19` - Group 19 + + * `20` - Group 20 + + * `21` - Group 21 + + * `22` - Group 22 + + * `23` - Group 23 + + * `24` - Group 24 + + * `25` - Group 25 + + * `26` - Group 26 + + * `27` - Group 27 + + * `28` - Group 28 + + * `29` - Group 29 + + * `30` - Group 30 + + * `31` - Group 31 + + * `32` - Group 32 + + * `33` - Group 33 + + * `34` - Group 34' + explode: true + style: form + - in: query + name: group__nisw + schema: + type: array + items: + type: integer + x-spec-enum-id: dbef43be795462a8 + enum: + - 1 + - 14 + - 15 + - 16 + - 17 + - 18 + - 19 + - 2 + - 20 + - 21 + - 22 + - 23 + - 24 + - 25 + - 26 + - 27 + - 28 + - 29 + - 30 + - 31 + - 32 + - 33 + - 34 + - 5 + description: 'Diffie-Hellman group ID + + + * `1` - Group 1 + + * `2` - Group 2 + + * `5` - Group 5 + + * `14` - Group 14 + + * `15` - Group 15 + + * `16` - Group 16 + + * `17` - Group 17 + + * `18` - Group 18 + + * `19` - Group 19 + + * `20` - Group 20 + + * `21` - Group 21 + + * `22` - Group 22 + + * `23` - Group 23 + + * `24` - Group 24 + + * `25` - Group 25 + + * `26` - Group 26 + + * `27` - Group 27 + + * `28` - Group 28 + + * `29` - Group 29 + + * `30` - Group 30 + + * `31` - Group 31 + + * `32` - Group 32 + + * `33` - Group 33 + + * `34` - Group 34' + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__empty + schema: + type: boolean + - in: query + name: id__gt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__gte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__lt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__lte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: ike_policy + schema: + type: array + items: + type: string + description: IKE policy (name) + explode: true + style: form + - in: query + name: ike_policy__n + schema: + type: array + items: + type: string + description: IKE policy (name) + explode: true + style: form + - in: query + name: ike_policy_id + schema: + type: array + items: + type: integer + description: IKE policy (ID) + explode: true + style: form + - in: query + name: ike_policy_id__n + schema: + type: array + items: + type: integer + description: IKE policy (ID) + 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__empty + 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__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: modified_by_request + schema: + type: string + format: uuid + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__empty + schema: + type: boolean + - 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__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__nisw + 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 + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: sa_lifetime + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: sa_lifetime__empty + schema: + type: boolean + - in: query + name: sa_lifetime__gt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: sa_lifetime__gte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: sa_lifetime__lt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: sa_lifetime__lte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: sa_lifetime__n + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: updated_by_request + schema: + type: string + format: uuid + tags: + - vpn + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/PaginatedIKEProposalList' + description: '' + post: + operationId: vpn_ike_proposals_create + description: Post a list of IKE proposal objects. + tags: + - vpn + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableIKEProposalRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableIKEProposalRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json: + schema: + $ref: '#/components/schemas/IKEProposal' + description: '' + put: + operationId: vpn_ike_proposals_bulk_update + description: Put a list of IKE proposal objects. + tags: + - vpn + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/IKEProposalRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/IKEProposalRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/IKEProposal' + description: '' + patch: + operationId: vpn_ike_proposals_bulk_partial_update + description: Patch a list of IKE proposal objects. + tags: + - vpn + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/IKEProposalRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/IKEProposalRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/IKEProposal' + description: '' + delete: + operationId: vpn_ike_proposals_bulk_destroy + description: Delete a list of IKE proposal objects. + tags: + - vpn + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/IKEProposalRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/IKEProposalRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /api/vpn/ike-proposals/{id}/: + get: + operationId: vpn_ike_proposals_retrieve + description: Get a IKE proposal object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this IKE proposal. + required: true + tags: + - vpn + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/IKEProposal' + description: '' + put: + operationId: vpn_ike_proposals_update + description: Put a IKE proposal object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this IKE proposal. + required: true + tags: + - vpn + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableIKEProposalRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableIKEProposalRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/IKEProposal' + description: '' + patch: + operationId: vpn_ike_proposals_partial_update + description: Patch a IKE proposal object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this IKE proposal. + required: true + tags: + - vpn + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableIKEProposalRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableIKEProposalRequest' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/IKEProposal' + description: '' + delete: + operationId: vpn_ike_proposals_destroy + description: Delete a IKE proposal object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this IKE proposal. + required: true + tags: + - vpn + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /api/vpn/ipsec-policies/: + get: + operationId: vpn_ipsec_policies_list + description: Get a list of IPSec policy objects. + parameters: + - in: query + name: created + schema: + type: array + items: + type: string + format: date-time + explode: true + style: form + - in: query + name: created__empty + 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__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: created_by_request + schema: + type: string + format: uuid + - in: query + name: description + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__empty + schema: + type: boolean + - 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__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__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__empty + schema: + type: boolean + - in: query + name: id__gt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__gte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__lt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__lte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: ipsec_proposal + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: ipsec_proposal__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: ipsec_proposal_id + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: ipsec_proposal_id__n + schema: + type: array + items: + type: integer + 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__empty + 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__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: modified_by_request + schema: + type: string + format: uuid + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__empty + schema: + type: boolean + - 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__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__nisw + 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 + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string + - in: query + name: pfs_group + schema: + type: array + items: + type: integer + x-spec-enum-id: dbef43be795462a8 + nullable: true + description: Diffie-Hellman group for Perfect Forward Secrecy + explode: true + style: form + - in: query + name: pfs_group__ic + schema: + type: array + items: + type: integer + x-spec-enum-id: dbef43be795462a8 + nullable: true + enum: + - 1 + - 14 + - 15 + - 16 + - 17 + - 18 + - 19 + - 2 + - 20 + - 21 + - 22 + - 23 + - 24 + - 25 + - 26 + - 27 + - 28 + - 29 + - 30 + - 31 + - 32 + - 33 + - 34 + - 5 + - null + description: 'Diffie-Hellman group for Perfect Forward Secrecy + + + * `1` - Group 1 + + * `2` - Group 2 + + * `5` - Group 5 + + * `14` - Group 14 + + * `15` - Group 15 + + * `16` - Group 16 + + * `17` - Group 17 + + * `18` - Group 18 + + * `19` - Group 19 + + * `20` - Group 20 + + * `21` - Group 21 + + * `22` - Group 22 + + * `23` - Group 23 + + * `24` - Group 24 + + * `25` - Group 25 + + * `26` - Group 26 + + * `27` - Group 27 + + * `28` - Group 28 + + * `29` - Group 29 + + * `30` - Group 30 + + * `31` - Group 31 + + * `32` - Group 32 + + * `33` - Group 33 + + * `34` - Group 34' + explode: true + style: form + - in: query + name: pfs_group__ie + schema: + type: array + items: + type: integer + x-spec-enum-id: dbef43be795462a8 + nullable: true + enum: + - 1 + - 14 + - 15 + - 16 + - 17 + - 18 + - 19 + - 2 + - 20 + - 21 + - 22 + - 23 + - 24 + - 25 + - 26 + - 27 + - 28 + - 29 + - 30 + - 31 + - 32 + - 33 + - 34 + - 5 + - null + description: 'Diffie-Hellman group for Perfect Forward Secrecy + + + * `1` - Group 1 + + * `2` - Group 2 + + * `5` - Group 5 + + * `14` - Group 14 + + * `15` - Group 15 + + * `16` - Group 16 + + * `17` - Group 17 + + * `18` - Group 18 + + * `19` - Group 19 + + * `20` - Group 20 + + * `21` - Group 21 + + * `22` - Group 22 + + * `23` - Group 23 + + * `24` - Group 24 + + * `25` - Group 25 + + * `26` - Group 26 + + * `27` - Group 27 + + * `28` - Group 28 + + * `29` - Group 29 + + * `30` - Group 30 + + * `31` - Group 31 + + * `32` - Group 32 + + * `33` - Group 33 + + * `34` - Group 34' + explode: true + style: form + - in: query + name: pfs_group__iew + schema: + type: array + items: + type: integer + x-spec-enum-id: dbef43be795462a8 + nullable: true + enum: + - 1 + - 14 + - 15 + - 16 + - 17 + - 18 + - 19 + - 2 + - 20 + - 21 + - 22 + - 23 + - 24 + - 25 + - 26 + - 27 + - 28 + - 29 + - 30 + - 31 + - 32 + - 33 + - 34 + - 5 + - null + description: 'Diffie-Hellman group for Perfect Forward Secrecy + + + * `1` - Group 1 + + * `2` - Group 2 + + * `5` - Group 5 + + * `14` - Group 14 + + * `15` - Group 15 + + * `16` - Group 16 + + * `17` - Group 17 + + * `18` - Group 18 + + * `19` - Group 19 + + * `20` - Group 20 + + * `21` - Group 21 + + * `22` - Group 22 + + * `23` - Group 23 + + * `24` - Group 24 + + * `25` - Group 25 + + * `26` - Group 26 + + * `27` - Group 27 + + * `28` - Group 28 + + * `29` - Group 29 + + * `30` - Group 30 + + * `31` - Group 31 + + * `32` - Group 32 + + * `33` - Group 33 + + * `34` - Group 34' + explode: true + style: form + - in: query + name: pfs_group__isw + schema: + type: array + items: + type: integer + x-spec-enum-id: dbef43be795462a8 + nullable: true + enum: + - 1 + - 14 + - 15 + - 16 + - 17 + - 18 + - 19 + - 2 + - 20 + - 21 + - 22 + - 23 + - 24 + - 25 + - 26 + - 27 + - 28 + - 29 + - 30 + - 31 + - 32 + - 33 + - 34 + - 5 + - null + description: 'Diffie-Hellman group for Perfect Forward Secrecy + + + * `1` - Group 1 + + * `2` - Group 2 + + * `5` - Group 5 + + * `14` - Group 14 + + * `15` - Group 15 + + * `16` - Group 16 + + * `17` - Group 17 + + * `18` - Group 18 + + * `19` - Group 19 + + * `20` - Group 20 + + * `21` - Group 21 + + * `22` - Group 22 + + * `23` - Group 23 + + * `24` - Group 24 + + * `25` - Group 25 + + * `26` - Group 26 + + * `27` - Group 27 + + * `28` - Group 28 + + * `29` - Group 29 + + * `30` - Group 30 + + * `31` - Group 31 + + * `32` - Group 32 + + * `33` - Group 33 + + * `34` - Group 34' + explode: true + style: form + - in: query + name: pfs_group__n + schema: + type: array + items: + type: integer + x-spec-enum-id: dbef43be795462a8 + nullable: true + enum: + - 1 + - 14 + - 15 + - 16 + - 17 + - 18 + - 19 + - 2 + - 20 + - 21 + - 22 + - 23 + - 24 + - 25 + - 26 + - 27 + - 28 + - 29 + - 30 + - 31 + - 32 + - 33 + - 34 + - 5 + - null + description: 'Diffie-Hellman group for Perfect Forward Secrecy + + + * `1` - Group 1 + + * `2` - Group 2 + + * `5` - Group 5 + + * `14` - Group 14 + + * `15` - Group 15 + + * `16` - Group 16 + + * `17` - Group 17 + + * `18` - Group 18 + + * `19` - Group 19 + + * `20` - Group 20 + + * `21` - Group 21 + + * `22` - Group 22 + + * `23` - Group 23 + + * `24` - Group 24 + + * `25` - Group 25 + + * `26` - Group 26 + + * `27` - Group 27 + + * `28` - Group 28 + + * `29` - Group 29 + + * `30` - Group 30 + + * `31` - Group 31 + + * `32` - Group 32 + + * `33` - Group 33 + + * `34` - Group 34' + explode: true + style: form + - in: query + name: pfs_group__nic + schema: + type: array + items: + type: integer + x-spec-enum-id: dbef43be795462a8 + nullable: true + enum: + - 1 + - 14 + - 15 + - 16 + - 17 + - 18 + - 19 + - 2 + - 20 + - 21 + - 22 + - 23 + - 24 + - 25 + - 26 + - 27 + - 28 + - 29 + - 30 + - 31 + - 32 + - 33 + - 34 + - 5 + - null + description: 'Diffie-Hellman group for Perfect Forward Secrecy + + + * `1` - Group 1 + + * `2` - Group 2 + + * `5` - Group 5 + + * `14` - Group 14 + + * `15` - Group 15 + + * `16` - Group 16 + + * `17` - Group 17 + + * `18` - Group 18 + + * `19` - Group 19 + + * `20` - Group 20 + + * `21` - Group 21 + + * `22` - Group 22 + + * `23` - Group 23 + + * `24` - Group 24 + + * `25` - Group 25 + + * `26` - Group 26 + + * `27` - Group 27 + + * `28` - Group 28 + + * `29` - Group 29 + + * `30` - Group 30 + + * `31` - Group 31 + + * `32` - Group 32 + + * `33` - Group 33 + + * `34` - Group 34' + explode: true + style: form + - in: query + name: pfs_group__nie + schema: + type: array + items: + type: integer + x-spec-enum-id: dbef43be795462a8 + nullable: true + enum: + - 1 + - 14 + - 15 + - 16 + - 17 + - 18 + - 19 + - 2 + - 20 + - 21 + - 22 + - 23 + - 24 + - 25 + - 26 + - 27 + - 28 + - 29 + - 30 + - 31 + - 32 + - 33 + - 34 + - 5 + - null + description: 'Diffie-Hellman group for Perfect Forward Secrecy + + + * `1` - Group 1 + + * `2` - Group 2 + + * `5` - Group 5 + + * `14` - Group 14 + + * `15` - Group 15 + + * `16` - Group 16 + + * `17` - Group 17 + + * `18` - Group 18 + + * `19` - Group 19 + + * `20` - Group 20 + + * `21` - Group 21 + + * `22` - Group 22 + + * `23` - Group 23 + + * `24` - Group 24 + + * `25` - Group 25 + + * `26` - Group 26 + + * `27` - Group 27 + + * `28` - Group 28 + + * `29` - Group 29 + + * `30` - Group 30 + + * `31` - Group 31 + + * `32` - Group 32 + + * `33` - Group 33 + + * `34` - Group 34' + explode: true + style: form + - in: query + name: pfs_group__niew + schema: + type: array + items: + type: integer + x-spec-enum-id: dbef43be795462a8 + nullable: true + enum: + - 1 + - 14 + - 15 + - 16 + - 17 + - 18 + - 19 + - 2 + - 20 + - 21 + - 22 + - 23 + - 24 + - 25 + - 26 + - 27 + - 28 + - 29 + - 30 + - 31 + - 32 + - 33 + - 34 + - 5 + - null + description: 'Diffie-Hellman group for Perfect Forward Secrecy + + + * `1` - Group 1 + + * `2` - Group 2 + + * `5` - Group 5 + + * `14` - Group 14 + + * `15` - Group 15 + + * `16` - Group 16 + + * `17` - Group 17 + + * `18` - Group 18 + + * `19` - Group 19 + + * `20` - Group 20 + + * `21` - Group 21 + + * `22` - Group 22 + + * `23` - Group 23 + + * `24` - Group 24 + + * `25` - Group 25 + + * `26` - Group 26 + + * `27` - Group 27 + + * `28` - Group 28 + + * `29` - Group 29 + + * `30` - Group 30 + + * `31` - Group 31 + + * `32` - Group 32 + + * `33` - Group 33 + + * `34` - Group 34' + explode: true + style: form + - in: query + name: pfs_group__nisw + schema: + type: array + items: + type: integer + x-spec-enum-id: dbef43be795462a8 + nullable: true + enum: + - 1 + - 14 + - 15 + - 16 + - 17 + - 18 + - 19 + - 2 + - 20 + - 21 + - 22 + - 23 + - 24 + - 25 + - 26 + - 27 + - 28 + - 29 + - 30 + - 31 + - 32 + - 33 + - 34 + - 5 + - null + description: 'Diffie-Hellman group for Perfect Forward Secrecy + + + * `1` - Group 1 + + * `2` - Group 2 + + * `5` - Group 5 + + * `14` - Group 14 + + * `15` - Group 15 + + * `16` - Group 16 + + * `17` - Group 17 + + * `18` - Group 18 + + * `19` - Group 19 + + * `20` - Group 20 + + * `21` - Group 21 + + * `22` - Group 22 + + * `23` - Group 23 + + * `24` - Group 24 + + * `25` - Group 25 + + * `26` - Group 26 + + * `27` - Group 27 + + * `28` - Group 28 + + * `29` - Group 29 + + * `30` - Group 30 + + * `31` - Group 31 + + * `32` - Group 32 + + * `33` - Group 33 + + * `34` - Group 34' + explode: true + style: form + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: updated_by_request + schema: + type: string + format: uuid + tags: + - vpn + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/PaginatedIPSecPolicyList' + description: '' + post: + operationId: vpn_ipsec_policies_create + description: Post a list of IPSec policy objects. + tags: + - vpn + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableIPSecPolicyRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableIPSecPolicyRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json: + schema: + $ref: '#/components/schemas/IPSecPolicy' + description: '' + put: + operationId: vpn_ipsec_policies_bulk_update + description: Put a list of IPSec policy objects. + tags: + - vpn + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/IPSecPolicyRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/IPSecPolicyRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/IPSecPolicy' + description: '' + patch: + operationId: vpn_ipsec_policies_bulk_partial_update + description: Patch a list of IPSec policy objects. + tags: + - vpn + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/IPSecPolicyRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/IPSecPolicyRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/IPSecPolicy' + description: '' + delete: + operationId: vpn_ipsec_policies_bulk_destroy + description: Delete a list of IPSec policy objects. + tags: + - vpn + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/IPSecPolicyRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/IPSecPolicyRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /api/vpn/ipsec-policies/{id}/: + get: + operationId: vpn_ipsec_policies_retrieve + description: Get a IPSec policy object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this IPSec policy. + required: true + tags: + - vpn + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/IPSecPolicy' + description: '' + put: + operationId: vpn_ipsec_policies_update + description: Put a IPSec policy object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this IPSec policy. + required: true + tags: + - vpn + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableIPSecPolicyRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableIPSecPolicyRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/IPSecPolicy' + description: '' + patch: + operationId: vpn_ipsec_policies_partial_update + description: Patch a IPSec policy object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this IPSec policy. + required: true + tags: + - vpn + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableIPSecPolicyRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableIPSecPolicyRequest' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/IPSecPolicy' + description: '' + delete: + operationId: vpn_ipsec_policies_destroy + description: Delete a IPSec policy object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this IPSec policy. + required: true + tags: + - vpn + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /api/vpn/ipsec-profiles/: + get: + operationId: vpn_ipsec_profiles_list + description: Get a list of IPSec profile objects. + parameters: + - in: query + name: created + schema: + type: array + items: + type: string + format: date-time + explode: true + style: form + - in: query + name: created__empty + 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__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: created_by_request + schema: + type: string + format: uuid + - in: query + name: description + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__empty + schema: + type: boolean + - 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__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__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__empty + schema: + type: boolean + - in: query + name: id__gt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__gte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__lt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__lte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: ike_policy + schema: + type: array + items: + type: string + description: IKE policy (name) + explode: true + style: form + - in: query + name: ike_policy__n + schema: + type: array + items: + type: string + description: IKE policy (name) + explode: true + style: form + - in: query + name: ike_policy_id + schema: + type: array + items: + type: integer + description: IKE policy (ID) + explode: true + style: form + - in: query + name: ike_policy_id__n + schema: + type: array + items: + type: integer + description: IKE policy (ID) + explode: true + style: form + - in: query + name: ipsec_policy + schema: + type: array + items: + type: string + description: IPSec policy (name) + explode: true + style: form + - in: query + name: ipsec_policy__n + schema: + type: array + items: + type: string + description: IPSec policy (name) + explode: true + style: form + - in: query + name: ipsec_policy_id + schema: + type: array + items: + type: integer + description: IPSec policy (ID) + explode: true + style: form + - in: query + name: ipsec_policy_id__n + schema: + type: array + items: + type: integer + description: IPSec policy (ID) + 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__empty + 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__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: mode + schema: + type: array + items: + type: string + x-spec-enum-id: 1136c2cdfee84436 + explode: true + style: form + - in: query + name: mode__empty + schema: + type: boolean + - in: query + name: mode__ic + schema: + type: array + items: + type: string + x-spec-enum-id: 1136c2cdfee84436 + enum: + - ah + - esp + description: '* `esp` - ESP + + * `ah` - AH' + explode: true + style: form + - in: query + name: mode__ie + schema: + type: array + items: + type: string + x-spec-enum-id: 1136c2cdfee84436 + enum: + - ah + - esp + description: '* `esp` - ESP + + * `ah` - AH' + explode: true + style: form + - in: query + name: mode__iew + schema: + type: array + items: + type: string + x-spec-enum-id: 1136c2cdfee84436 + enum: + - ah + - esp + description: '* `esp` - ESP + + * `ah` - AH' + explode: true + style: form + - in: query + name: mode__isw + schema: + type: array + items: + type: string + x-spec-enum-id: 1136c2cdfee84436 + enum: + - ah + - esp + description: '* `esp` - ESP + + * `ah` - AH' + explode: true + style: form + - in: query + name: mode__n + schema: + type: array + items: + type: string + x-spec-enum-id: 1136c2cdfee84436 + enum: + - ah + - esp + description: '* `esp` - ESP + + * `ah` - AH' + explode: true + style: form + - in: query + name: mode__nic + schema: + type: array + items: + type: string + x-spec-enum-id: 1136c2cdfee84436 + enum: + - ah + - esp + description: '* `esp` - ESP + + * `ah` - AH' + explode: true + style: form + - in: query + name: mode__nie + schema: + type: array + items: + type: string + x-spec-enum-id: 1136c2cdfee84436 + enum: + - ah + - esp + description: '* `esp` - ESP + + * `ah` - AH' + explode: true + style: form + - in: query + name: mode__niew + schema: + type: array + items: + type: string + x-spec-enum-id: 1136c2cdfee84436 + enum: + - ah + - esp + description: '* `esp` - ESP + + * `ah` - AH' + explode: true + style: form + - in: query + name: mode__nisw + schema: + type: array + items: + type: string + x-spec-enum-id: 1136c2cdfee84436 + enum: + - ah + - esp + description: '* `esp` - ESP + + * `ah` - AH' + explode: true + style: form + - in: query + name: modified_by_request + schema: + type: string + format: uuid + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__empty + schema: + type: boolean + - 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__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__nisw + 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 + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: updated_by_request + schema: + type: string + format: uuid + tags: + - vpn + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/PaginatedIPSecProfileList' + description: '' + post: + operationId: vpn_ipsec_profiles_create + description: Post a list of IPSec profile objects. + tags: + - vpn + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableIPSecProfileRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableIPSecProfileRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json: + schema: + $ref: '#/components/schemas/IPSecProfile' + description: '' + put: + operationId: vpn_ipsec_profiles_bulk_update + description: Put a list of IPSec profile objects. + tags: + - vpn + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/IPSecProfileRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/IPSecProfileRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/IPSecProfile' + description: '' + patch: + operationId: vpn_ipsec_profiles_bulk_partial_update + description: Patch a list of IPSec profile objects. + tags: + - vpn + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/IPSecProfileRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/IPSecProfileRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/IPSecProfile' + description: '' + delete: + operationId: vpn_ipsec_profiles_bulk_destroy + description: Delete a list of IPSec profile objects. + tags: + - vpn + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/IPSecProfileRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/IPSecProfileRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /api/vpn/ipsec-profiles/{id}/: + get: + operationId: vpn_ipsec_profiles_retrieve + description: Get a IPSec profile object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this IPSec profile. + required: true + tags: + - vpn + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/IPSecProfile' + description: '' + put: + operationId: vpn_ipsec_profiles_update + description: Put a IPSec profile object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this IPSec profile. + required: true + tags: + - vpn + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableIPSecProfileRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableIPSecProfileRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/IPSecProfile' + description: '' + patch: + operationId: vpn_ipsec_profiles_partial_update + description: Patch a IPSec profile object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this IPSec profile. + required: true + tags: + - vpn + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableIPSecProfileRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableIPSecProfileRequest' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/IPSecProfile' + description: '' + delete: + operationId: vpn_ipsec_profiles_destroy + description: Delete a IPSec profile object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this IPSec profile. + required: true + tags: + - vpn + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /api/vpn/ipsec-proposals/: + get: + operationId: vpn_ipsec_proposals_list + description: Get a list of IPSec proposal objects. + parameters: + - in: query + name: authentication_algorithm + schema: + type: array + items: + type: string + x-spec-enum-id: 0830e8839f5dea4f + title: Authentication + explode: true + style: form + - in: query + name: authentication_algorithm__empty + schema: + type: boolean + - in: query + name: authentication_algorithm__ic + schema: + type: array + items: + type: string + x-spec-enum-id: 0830e8839f5dea4f + title: Authentication + enum: + - '' + - hmac-md5 + - hmac-sha1 + - hmac-sha256 + - hmac-sha384 + - hmac-sha512 + description: '* `hmac-sha1` - SHA-1 HMAC + + * `hmac-sha256` - SHA-256 HMAC + + * `hmac-sha384` - SHA-384 HMAC + + * `hmac-sha512` - SHA-512 HMAC + + * `hmac-md5` - MD5 HMAC' + explode: true + style: form + - in: query + name: authentication_algorithm__ie + schema: + type: array + items: + type: string + x-spec-enum-id: 0830e8839f5dea4f + title: Authentication + enum: + - '' + - hmac-md5 + - hmac-sha1 + - hmac-sha256 + - hmac-sha384 + - hmac-sha512 + description: '* `hmac-sha1` - SHA-1 HMAC + + * `hmac-sha256` - SHA-256 HMAC + + * `hmac-sha384` - SHA-384 HMAC + + * `hmac-sha512` - SHA-512 HMAC + + * `hmac-md5` - MD5 HMAC' + explode: true + style: form + - in: query + name: authentication_algorithm__iew + schema: + type: array + items: + type: string + x-spec-enum-id: 0830e8839f5dea4f + title: Authentication + enum: + - '' + - hmac-md5 + - hmac-sha1 + - hmac-sha256 + - hmac-sha384 + - hmac-sha512 + description: '* `hmac-sha1` - SHA-1 HMAC + + * `hmac-sha256` - SHA-256 HMAC + + * `hmac-sha384` - SHA-384 HMAC + + * `hmac-sha512` - SHA-512 HMAC + + * `hmac-md5` - MD5 HMAC' + explode: true + style: form + - in: query + name: authentication_algorithm__isw + schema: + type: array + items: + type: string + x-spec-enum-id: 0830e8839f5dea4f + title: Authentication + enum: + - '' + - hmac-md5 + - hmac-sha1 + - hmac-sha256 + - hmac-sha384 + - hmac-sha512 + description: '* `hmac-sha1` - SHA-1 HMAC + + * `hmac-sha256` - SHA-256 HMAC + + * `hmac-sha384` - SHA-384 HMAC + + * `hmac-sha512` - SHA-512 HMAC + + * `hmac-md5` - MD5 HMAC' + explode: true + style: form + - in: query + name: authentication_algorithm__n + schema: + type: array + items: + type: string + x-spec-enum-id: 0830e8839f5dea4f + title: Authentication + enum: + - '' + - hmac-md5 + - hmac-sha1 + - hmac-sha256 + - hmac-sha384 + - hmac-sha512 + description: '* `hmac-sha1` - SHA-1 HMAC + + * `hmac-sha256` - SHA-256 HMAC + + * `hmac-sha384` - SHA-384 HMAC + + * `hmac-sha512` - SHA-512 HMAC + + * `hmac-md5` - MD5 HMAC' + explode: true + style: form + - in: query + name: authentication_algorithm__nic + schema: + type: array + items: + type: string + x-spec-enum-id: 0830e8839f5dea4f + title: Authentication + enum: + - '' + - hmac-md5 + - hmac-sha1 + - hmac-sha256 + - hmac-sha384 + - hmac-sha512 + description: '* `hmac-sha1` - SHA-1 HMAC + + * `hmac-sha256` - SHA-256 HMAC + + * `hmac-sha384` - SHA-384 HMAC + + * `hmac-sha512` - SHA-512 HMAC + + * `hmac-md5` - MD5 HMAC' + explode: true + style: form + - in: query + name: authentication_algorithm__nie + schema: + type: array + items: + type: string + x-spec-enum-id: 0830e8839f5dea4f + title: Authentication + enum: + - '' + - hmac-md5 + - hmac-sha1 + - hmac-sha256 + - hmac-sha384 + - hmac-sha512 + description: '* `hmac-sha1` - SHA-1 HMAC + + * `hmac-sha256` - SHA-256 HMAC + + * `hmac-sha384` - SHA-384 HMAC + + * `hmac-sha512` - SHA-512 HMAC + + * `hmac-md5` - MD5 HMAC' + explode: true + style: form + - in: query + name: authentication_algorithm__niew + schema: + type: array + items: + type: string + x-spec-enum-id: 0830e8839f5dea4f + title: Authentication + enum: + - '' + - hmac-md5 + - hmac-sha1 + - hmac-sha256 + - hmac-sha384 + - hmac-sha512 + description: '* `hmac-sha1` - SHA-1 HMAC + + * `hmac-sha256` - SHA-256 HMAC + + * `hmac-sha384` - SHA-384 HMAC + + * `hmac-sha512` - SHA-512 HMAC + + * `hmac-md5` - MD5 HMAC' + explode: true + style: form + - in: query + name: authentication_algorithm__nisw + schema: + type: array + items: + type: string + x-spec-enum-id: 0830e8839f5dea4f + title: Authentication + enum: + - '' + - hmac-md5 + - hmac-sha1 + - hmac-sha256 + - hmac-sha384 + - hmac-sha512 + description: '* `hmac-sha1` - SHA-1 HMAC + + * `hmac-sha256` - SHA-256 HMAC + + * `hmac-sha384` - SHA-384 HMAC + + * `hmac-sha512` - SHA-512 HMAC + + * `hmac-md5` - MD5 HMAC' + 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__empty + 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__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: created_by_request + schema: + type: string + format: uuid + - in: query + name: description + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__empty + schema: + type: boolean + - 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__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__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: encryption_algorithm + schema: + type: array + items: + type: string + x-spec-enum-id: b022535cfdee79fe + title: Encryption + explode: true + style: form + - in: query + name: encryption_algorithm__empty + schema: + type: boolean + - in: query + name: encryption_algorithm__ic + schema: + type: array + items: + type: string + x-spec-enum-id: b022535cfdee79fe + title: Encryption + enum: + - '' + - 3des-cbc + - aes-128-cbc + - aes-128-gcm + - aes-192-cbc + - aes-192-gcm + - aes-256-cbc + - aes-256-gcm + - des-cbc + description: '* `aes-128-cbc` - 128-bit AES (CBC) + + * `aes-128-gcm` - 128-bit AES (GCM) + + * `aes-192-cbc` - 192-bit AES (CBC) + + * `aes-192-gcm` - 192-bit AES (GCM) + + * `aes-256-cbc` - 256-bit AES (CBC) + + * `aes-256-gcm` - 256-bit AES (GCM) + + * `3des-cbc` - 3DES + + * `des-cbc` - DES' + explode: true + style: form + - in: query + name: encryption_algorithm__ie + schema: + type: array + items: + type: string + x-spec-enum-id: b022535cfdee79fe + title: Encryption + enum: + - '' + - 3des-cbc + - aes-128-cbc + - aes-128-gcm + - aes-192-cbc + - aes-192-gcm + - aes-256-cbc + - aes-256-gcm + - des-cbc + description: '* `aes-128-cbc` - 128-bit AES (CBC) + + * `aes-128-gcm` - 128-bit AES (GCM) + + * `aes-192-cbc` - 192-bit AES (CBC) + + * `aes-192-gcm` - 192-bit AES (GCM) + + * `aes-256-cbc` - 256-bit AES (CBC) + + * `aes-256-gcm` - 256-bit AES (GCM) + + * `3des-cbc` - 3DES + + * `des-cbc` - DES' + explode: true + style: form + - in: query + name: encryption_algorithm__iew + schema: + type: array + items: + type: string + x-spec-enum-id: b022535cfdee79fe + title: Encryption + enum: + - '' + - 3des-cbc + - aes-128-cbc + - aes-128-gcm + - aes-192-cbc + - aes-192-gcm + - aes-256-cbc + - aes-256-gcm + - des-cbc + description: '* `aes-128-cbc` - 128-bit AES (CBC) + + * `aes-128-gcm` - 128-bit AES (GCM) + + * `aes-192-cbc` - 192-bit AES (CBC) + + * `aes-192-gcm` - 192-bit AES (GCM) + + * `aes-256-cbc` - 256-bit AES (CBC) + + * `aes-256-gcm` - 256-bit AES (GCM) + + * `3des-cbc` - 3DES + + * `des-cbc` - DES' + explode: true + style: form + - in: query + name: encryption_algorithm__isw + schema: + type: array + items: + type: string + x-spec-enum-id: b022535cfdee79fe + title: Encryption + enum: + - '' + - 3des-cbc + - aes-128-cbc + - aes-128-gcm + - aes-192-cbc + - aes-192-gcm + - aes-256-cbc + - aes-256-gcm + - des-cbc + description: '* `aes-128-cbc` - 128-bit AES (CBC) + + * `aes-128-gcm` - 128-bit AES (GCM) + + * `aes-192-cbc` - 192-bit AES (CBC) + + * `aes-192-gcm` - 192-bit AES (GCM) + + * `aes-256-cbc` - 256-bit AES (CBC) + + * `aes-256-gcm` - 256-bit AES (GCM) + + * `3des-cbc` - 3DES + + * `des-cbc` - DES' + explode: true + style: form + - in: query + name: encryption_algorithm__n + schema: + type: array + items: + type: string + x-spec-enum-id: b022535cfdee79fe + title: Encryption + enum: + - '' + - 3des-cbc + - aes-128-cbc + - aes-128-gcm + - aes-192-cbc + - aes-192-gcm + - aes-256-cbc + - aes-256-gcm + - des-cbc + description: '* `aes-128-cbc` - 128-bit AES (CBC) + + * `aes-128-gcm` - 128-bit AES (GCM) + + * `aes-192-cbc` - 192-bit AES (CBC) + + * `aes-192-gcm` - 192-bit AES (GCM) + + * `aes-256-cbc` - 256-bit AES (CBC) + + * `aes-256-gcm` - 256-bit AES (GCM) + + * `3des-cbc` - 3DES + + * `des-cbc` - DES' + explode: true + style: form + - in: query + name: encryption_algorithm__nic + schema: + type: array + items: + type: string + x-spec-enum-id: b022535cfdee79fe + title: Encryption + enum: + - '' + - 3des-cbc + - aes-128-cbc + - aes-128-gcm + - aes-192-cbc + - aes-192-gcm + - aes-256-cbc + - aes-256-gcm + - des-cbc + description: '* `aes-128-cbc` - 128-bit AES (CBC) + + * `aes-128-gcm` - 128-bit AES (GCM) + + * `aes-192-cbc` - 192-bit AES (CBC) + + * `aes-192-gcm` - 192-bit AES (GCM) + + * `aes-256-cbc` - 256-bit AES (CBC) + + * `aes-256-gcm` - 256-bit AES (GCM) + + * `3des-cbc` - 3DES + + * `des-cbc` - DES' + explode: true + style: form + - in: query + name: encryption_algorithm__nie + schema: + type: array + items: + type: string + x-spec-enum-id: b022535cfdee79fe + title: Encryption + enum: + - '' + - 3des-cbc + - aes-128-cbc + - aes-128-gcm + - aes-192-cbc + - aes-192-gcm + - aes-256-cbc + - aes-256-gcm + - des-cbc + description: '* `aes-128-cbc` - 128-bit AES (CBC) + + * `aes-128-gcm` - 128-bit AES (GCM) + + * `aes-192-cbc` - 192-bit AES (CBC) + + * `aes-192-gcm` - 192-bit AES (GCM) + + * `aes-256-cbc` - 256-bit AES (CBC) + + * `aes-256-gcm` - 256-bit AES (GCM) + + * `3des-cbc` - 3DES + + * `des-cbc` - DES' + explode: true + style: form + - in: query + name: encryption_algorithm__niew + schema: + type: array + items: + type: string + x-spec-enum-id: b022535cfdee79fe + title: Encryption + enum: + - '' + - 3des-cbc + - aes-128-cbc + - aes-128-gcm + - aes-192-cbc + - aes-192-gcm + - aes-256-cbc + - aes-256-gcm + - des-cbc + description: '* `aes-128-cbc` - 128-bit AES (CBC) + + * `aes-128-gcm` - 128-bit AES (GCM) + + * `aes-192-cbc` - 192-bit AES (CBC) + + * `aes-192-gcm` - 192-bit AES (GCM) + + * `aes-256-cbc` - 256-bit AES (CBC) + + * `aes-256-gcm` - 256-bit AES (GCM) + + * `3des-cbc` - 3DES + + * `des-cbc` - DES' + explode: true + style: form + - in: query + name: encryption_algorithm__nisw + schema: + type: array + items: + type: string + x-spec-enum-id: b022535cfdee79fe + title: Encryption + enum: + - '' + - 3des-cbc + - aes-128-cbc + - aes-128-gcm + - aes-192-cbc + - aes-192-gcm + - aes-256-cbc + - aes-256-gcm + - des-cbc + description: '* `aes-128-cbc` - 128-bit AES (CBC) + + * `aes-128-gcm` - 128-bit AES (GCM) + + * `aes-192-cbc` - 192-bit AES (CBC) + + * `aes-192-gcm` - 192-bit AES (GCM) + + * `aes-256-cbc` - 256-bit AES (CBC) + + * `aes-256-gcm` - 256-bit AES (GCM) + + * `3des-cbc` - 3DES + + * `des-cbc` - DES' + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__empty + schema: + type: boolean + - in: query + name: id__gt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__gte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__lt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__lte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: ipsec_policy + schema: + type: array + items: + type: string + description: IPSec policy (name) + explode: true + style: form + - in: query + name: ipsec_policy__n + schema: + type: array + items: + type: string + description: IPSec policy (name) + explode: true + style: form + - in: query + name: ipsec_policy_id + schema: + type: array + items: + type: integer + description: IPSec policy (ID) + explode: true + style: form + - in: query + name: ipsec_policy_id__n + schema: + type: array + items: + type: integer + description: IPSec policy (ID) + 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__empty + 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__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: modified_by_request + schema: + type: string + format: uuid + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__empty + schema: + type: boolean + - 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__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__nisw + 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 + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: sa_lifetime_data + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: sa_lifetime_data__empty + schema: + type: boolean + - in: query + name: sa_lifetime_data__gt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: sa_lifetime_data__gte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: sa_lifetime_data__lt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: sa_lifetime_data__lte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: sa_lifetime_data__n + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: sa_lifetime_seconds + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: sa_lifetime_seconds__empty + schema: + type: boolean + - in: query + name: sa_lifetime_seconds__gt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: sa_lifetime_seconds__gte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: sa_lifetime_seconds__lt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: sa_lifetime_seconds__lte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: sa_lifetime_seconds__n + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: updated_by_request + schema: + type: string + format: uuid + tags: + - vpn + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/PaginatedIPSecProposalList' + description: '' + post: + operationId: vpn_ipsec_proposals_create + description: Post a list of IPSec proposal objects. + tags: + - vpn + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableIPSecProposalRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableIPSecProposalRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json: + schema: + $ref: '#/components/schemas/IPSecProposal' + description: '' + put: + operationId: vpn_ipsec_proposals_bulk_update + description: Put a list of IPSec proposal objects. + tags: + - vpn + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/IPSecProposalRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/IPSecProposalRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/IPSecProposal' + description: '' + patch: + operationId: vpn_ipsec_proposals_bulk_partial_update + description: Patch a list of IPSec proposal objects. + tags: + - vpn + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/IPSecProposalRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/IPSecProposalRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/IPSecProposal' + description: '' + delete: + operationId: vpn_ipsec_proposals_bulk_destroy + description: Delete a list of IPSec proposal objects. + tags: + - vpn + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/IPSecProposalRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/IPSecProposalRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /api/vpn/ipsec-proposals/{id}/: + get: + operationId: vpn_ipsec_proposals_retrieve + description: Get a IPSec proposal object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this IPSec proposal. + required: true + tags: + - vpn + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/IPSecProposal' + description: '' + put: + operationId: vpn_ipsec_proposals_update + description: Put a IPSec proposal object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this IPSec proposal. + required: true + tags: + - vpn + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableIPSecProposalRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableIPSecProposalRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/IPSecProposal' + description: '' + patch: + operationId: vpn_ipsec_proposals_partial_update + description: Patch a IPSec proposal object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this IPSec proposal. + required: true + tags: + - vpn + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableIPSecProposalRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableIPSecProposalRequest' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/IPSecProposal' + description: '' + delete: + operationId: vpn_ipsec_proposals_destroy + description: Delete a IPSec proposal object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this IPSec proposal. + required: true + tags: + - vpn + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /api/vpn/l2vpn-terminations/: + get: + operationId: vpn_l2vpn_terminations_list + description: Get a list of L2VPN termination objects. + parameters: + - in: query + name: assigned_object_id + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: assigned_object_id__empty + schema: + type: boolean + - in: query + name: assigned_object_id__gt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: assigned_object_id__gte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: assigned_object_id__lt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: assigned_object_id__lte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: assigned_object_id__n + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: assigned_object_type + schema: + type: string + - in: query + name: assigned_object_type__n + schema: + type: string + - in: query + name: created + schema: + type: array + items: + type: string + format: date-time + explode: true + style: form + - in: query + name: created__empty + 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__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: created_by_request + schema: + type: string + format: uuid + - in: query + name: device + schema: + type: array + items: + type: string + nullable: true + description: Device (name) + explode: true + style: form + - in: query + name: device__n + schema: + type: array + items: + type: string + nullable: true + description: Device (name) + explode: true + style: form + - in: query + name: device_id + schema: + type: array + items: + type: integer + description: Device (ID) + explode: true + style: form + - in: query + name: device_id__n + schema: + type: array + items: + type: integer + description: Device (ID) + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__empty + schema: + type: boolean + - in: query + name: id__gt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__gte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__lt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__lte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: interface + schema: + type: array + items: + type: string + description: Interface (name) + explode: true + style: form + - in: query + name: interface__n + schema: + type: array + items: + type: string + description: Interface (name) + explode: true + style: form + - in: query + name: interface_id + schema: + type: array + items: + type: integer + description: Interface (ID) + explode: true + style: form + - in: query + name: interface_id__n + schema: + type: array + items: + type: integer + description: Interface (ID) + explode: true + style: form + - in: query + name: l2vpn + schema: + type: array + items: + type: string + description: L2VPN (slug) + explode: true + style: form + - in: query + name: l2vpn__n + schema: + type: array + items: + type: string + description: L2VPN (slug) + explode: true + style: form + - in: query + name: l2vpn_id + schema: + type: array + items: + type: integer + description: L2VPN (ID) + explode: true + style: form + - in: query + name: l2vpn_id__n + schema: + type: array + items: + type: integer + description: L2VPN (ID) + 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__empty + 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__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: modified_by_request + schema: + type: string + format: uuid + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: region + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: region_id + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: site + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: site_id + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: updated_by_request + schema: + type: string + format: uuid + - in: query + name: virtual_machine + schema: + type: array + items: + type: string + description: Virtual machine (name) + explode: true + style: form + - in: query + name: virtual_machine__n + schema: + type: array + items: + type: string + description: Virtual machine (name) + explode: true + style: form + - in: query + name: virtual_machine_id + schema: + type: array + items: + type: integer + description: Virtual machine (ID) + explode: true + style: form + - in: query + name: virtual_machine_id__n + schema: + type: array + items: + type: integer + description: Virtual machine (ID) + explode: true + style: form + - in: query + name: vlan + schema: + type: array + items: + type: string + description: VLAN (name) + explode: true + style: form + - in: query + name: vlan__n + schema: + type: array + items: + type: string + description: VLAN (name) + explode: true + style: form + - in: query + name: vlan_id + schema: + type: array + items: + type: integer + description: VLAN (ID) + explode: true + style: form + - in: query + name: vlan_id__n + schema: + type: array + items: + type: integer + description: VLAN (ID) + explode: true + style: form + - in: query + name: vlan_vid + schema: + type: integer + description: VLAN number (1-4094) + - in: query + name: vlan_vid__empty + schema: + type: integer + description: VLAN number (1-4094) + - in: query + name: vlan_vid__gt + schema: + type: integer + description: VLAN number (1-4094) + - in: query + name: vlan_vid__gte + schema: + type: integer + description: VLAN number (1-4094) + - in: query + name: vlan_vid__lt + schema: + type: integer + description: VLAN number (1-4094) + - in: query + name: vlan_vid__lte + schema: + type: integer + description: VLAN number (1-4094) + - in: query + name: vlan_vid__n + schema: + type: integer + description: VLAN number (1-4094) + - in: query + name: vminterface + schema: + type: array + items: + type: string + description: VM interface (name) + explode: true + style: form + - in: query + name: vminterface__n + schema: + type: array + items: + type: string + description: VM interface (name) + explode: true + style: form + - in: query + name: vminterface_id + schema: + type: array + items: + type: integer + description: VM Interface (ID) + explode: true + style: form + - in: query + name: vminterface_id__n + schema: + type: array + items: + type: integer + description: VM Interface (ID) + explode: true + style: form + tags: + - vpn + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/PaginatedL2VPNTerminationList' + description: '' + post: + operationId: vpn_l2vpn_terminations_create + description: Post a list of L2VPN termination objects. + tags: + - vpn + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/L2VPNTerminationRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/L2VPNTerminationRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json: + schema: + $ref: '#/components/schemas/L2VPNTermination' + description: '' + put: + operationId: vpn_l2vpn_terminations_bulk_update + description: Put a list of L2VPN termination objects. + tags: + - vpn + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/L2VPNTerminationRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/L2VPNTerminationRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/L2VPNTermination' + description: '' + patch: + operationId: vpn_l2vpn_terminations_bulk_partial_update + description: Patch a list of L2VPN termination objects. + tags: + - vpn + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/L2VPNTerminationRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/L2VPNTerminationRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/L2VPNTermination' + description: '' + delete: + operationId: vpn_l2vpn_terminations_bulk_destroy + description: Delete a list of L2VPN termination objects. + tags: + - vpn + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/L2VPNTerminationRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/L2VPNTerminationRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /api/vpn/l2vpn-terminations/{id}/: + get: + operationId: vpn_l2vpn_terminations_retrieve + description: Get a L2VPN termination object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this L2VPN termination. + required: true + tags: + - vpn + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/L2VPNTermination' + description: '' + put: + operationId: vpn_l2vpn_terminations_update + description: Put a L2VPN termination object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this L2VPN termination. + required: true + tags: + - vpn + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/L2VPNTerminationRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/L2VPNTerminationRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/L2VPNTermination' + description: '' + patch: + operationId: vpn_l2vpn_terminations_partial_update + description: Patch a L2VPN termination object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this L2VPN termination. + required: true + tags: + - vpn + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedL2VPNTerminationRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedL2VPNTerminationRequest' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/L2VPNTermination' + description: '' + delete: + operationId: vpn_l2vpn_terminations_destroy + description: Delete a L2VPN termination object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this L2VPN termination. + required: true + tags: + - vpn + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /api/vpn/l2vpns/: + get: + operationId: vpn_l2vpns_list + description: Get a list of L2VPN objects. + parameters: + - in: query + name: created + schema: + type: array + items: + type: string + format: date-time + explode: true + style: form + - in: query + name: created__empty + 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__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: created_by_request + schema: + type: string + format: uuid + - in: query + name: description + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__empty + schema: + type: boolean + - 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__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__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: export_target + schema: + type: array + items: + type: string + description: Export target (name) + explode: true + style: form + - in: query + name: export_target__n + schema: + type: array + items: + type: string + description: Export target (name) + explode: true + style: form + - in: query + name: export_target_id + schema: + type: array + items: + type: integer + description: Export target + explode: true + style: form + - in: query + name: export_target_id__n + schema: + type: array + items: + type: integer + description: Export target + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__empty + schema: + type: boolean + - in: query + name: id__gt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__gte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__lt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__lte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: identifier + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: identifier__empty + schema: + type: boolean + - in: query + name: identifier__gt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: identifier__gte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: identifier__lt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: identifier__lte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: identifier__n + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: import_target + schema: + type: array + items: + type: string + description: Import target (name) + explode: true + style: form + - in: query + name: import_target__n + schema: + type: array + items: + type: string + description: Import target (name) + explode: true + style: form + - in: query + name: import_target_id + schema: + type: array + items: + type: integer + description: Import target + explode: true + style: form + - in: query + name: import_target_id__n + schema: + type: array + items: + type: integer + description: Import target + 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__empty + 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__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: modified_by_request + schema: + type: string + format: uuid + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__empty + schema: + type: boolean + - 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__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__nisw + 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 + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: slug + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__empty + schema: + type: boolean + - in: query + name: slug__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant__n + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant_group + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant_group__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant_group_id + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant_group_id__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant_id + schema: + type: array + items: + type: integer + nullable: true + description: Tenant (ID) + explode: true + style: form + - in: query + name: tenant_id__n + schema: + type: array + items: + type: integer + nullable: true + description: Tenant (ID) + explode: true + style: form + - in: query + name: type + schema: + type: array + items: + type: string + x-spec-enum-id: dbaa4f996ec2d110 + explode: true + style: form + - in: query + name: type__empty + schema: + type: boolean + - in: query + name: type__ic + schema: + type: array + items: + type: string + x-spec-enum-id: dbaa4f996ec2d110 + enum: + - ep-lan + - ep-tree + - epl + - evp-lan + - evp-tree + - evpl + - mpls-evpn + - pbb-evpn + - vpls + - vpws + - vxlan + - vxlan-evpn + description: '* `vpws` - VPWS + + * `vpls` - VPLS + + * `vxlan` - VXLAN + + * `vxlan-evpn` - VXLAN-EVPN + + * `mpls-evpn` - MPLS EVPN + + * `pbb-evpn` - PBB EVPN + + * `epl` - EPL + + * `evpl` - EVPL + + * `ep-lan` - Ethernet Private LAN + + * `evp-lan` - Ethernet Virtual Private LAN + + * `ep-tree` - Ethernet Private Tree + + * `evp-tree` - Ethernet Virtual Private Tree' + explode: true + style: form + - in: query + name: type__ie + schema: + type: array + items: + type: string + x-spec-enum-id: dbaa4f996ec2d110 + enum: + - ep-lan + - ep-tree + - epl + - evp-lan + - evp-tree + - evpl + - mpls-evpn + - pbb-evpn + - vpls + - vpws + - vxlan + - vxlan-evpn + description: '* `vpws` - VPWS + + * `vpls` - VPLS + + * `vxlan` - VXLAN + + * `vxlan-evpn` - VXLAN-EVPN + + * `mpls-evpn` - MPLS EVPN + + * `pbb-evpn` - PBB EVPN + + * `epl` - EPL + + * `evpl` - EVPL + + * `ep-lan` - Ethernet Private LAN + + * `evp-lan` - Ethernet Virtual Private LAN + + * `ep-tree` - Ethernet Private Tree + + * `evp-tree` - Ethernet Virtual Private Tree' + explode: true + style: form + - in: query + name: type__iew + schema: + type: array + items: + type: string + x-spec-enum-id: dbaa4f996ec2d110 + enum: + - ep-lan + - ep-tree + - epl + - evp-lan + - evp-tree + - evpl + - mpls-evpn + - pbb-evpn + - vpls + - vpws + - vxlan + - vxlan-evpn + description: '* `vpws` - VPWS + + * `vpls` - VPLS + + * `vxlan` - VXLAN + + * `vxlan-evpn` - VXLAN-EVPN + + * `mpls-evpn` - MPLS EVPN + + * `pbb-evpn` - PBB EVPN + + * `epl` - EPL + + * `evpl` - EVPL + + * `ep-lan` - Ethernet Private LAN + + * `evp-lan` - Ethernet Virtual Private LAN + + * `ep-tree` - Ethernet Private Tree + + * `evp-tree` - Ethernet Virtual Private Tree' + explode: true + style: form + - in: query + name: type__isw + schema: + type: array + items: + type: string + x-spec-enum-id: dbaa4f996ec2d110 + enum: + - ep-lan + - ep-tree + - epl + - evp-lan + - evp-tree + - evpl + - mpls-evpn + - pbb-evpn + - vpls + - vpws + - vxlan + - vxlan-evpn + description: '* `vpws` - VPWS + + * `vpls` - VPLS + + * `vxlan` - VXLAN + + * `vxlan-evpn` - VXLAN-EVPN + + * `mpls-evpn` - MPLS EVPN + + * `pbb-evpn` - PBB EVPN + + * `epl` - EPL + + * `evpl` - EVPL + + * `ep-lan` - Ethernet Private LAN + + * `evp-lan` - Ethernet Virtual Private LAN + + * `ep-tree` - Ethernet Private Tree + + * `evp-tree` - Ethernet Virtual Private Tree' + explode: true + style: form + - in: query + name: type__n + schema: + type: array + items: + type: string + x-spec-enum-id: dbaa4f996ec2d110 + enum: + - ep-lan + - ep-tree + - epl + - evp-lan + - evp-tree + - evpl + - mpls-evpn + - pbb-evpn + - vpls + - vpws + - vxlan + - vxlan-evpn + description: '* `vpws` - VPWS + + * `vpls` - VPLS + + * `vxlan` - VXLAN + + * `vxlan-evpn` - VXLAN-EVPN + + * `mpls-evpn` - MPLS EVPN + + * `pbb-evpn` - PBB EVPN + + * `epl` - EPL + + * `evpl` - EVPL + + * `ep-lan` - Ethernet Private LAN + + * `evp-lan` - Ethernet Virtual Private LAN + + * `ep-tree` - Ethernet Private Tree + + * `evp-tree` - Ethernet Virtual Private Tree' + explode: true + style: form + - in: query + name: type__nic + schema: + type: array + items: + type: string + x-spec-enum-id: dbaa4f996ec2d110 + enum: + - ep-lan + - ep-tree + - epl + - evp-lan + - evp-tree + - evpl + - mpls-evpn + - pbb-evpn + - vpls + - vpws + - vxlan + - vxlan-evpn + description: '* `vpws` - VPWS + + * `vpls` - VPLS + + * `vxlan` - VXLAN + + * `vxlan-evpn` - VXLAN-EVPN + + * `mpls-evpn` - MPLS EVPN + + * `pbb-evpn` - PBB EVPN + + * `epl` - EPL + + * `evpl` - EVPL + + * `ep-lan` - Ethernet Private LAN + + * `evp-lan` - Ethernet Virtual Private LAN + + * `ep-tree` - Ethernet Private Tree + + * `evp-tree` - Ethernet Virtual Private Tree' + explode: true + style: form + - in: query + name: type__nie + schema: + type: array + items: + type: string + x-spec-enum-id: dbaa4f996ec2d110 + enum: + - ep-lan + - ep-tree + - epl + - evp-lan + - evp-tree + - evpl + - mpls-evpn + - pbb-evpn + - vpls + - vpws + - vxlan + - vxlan-evpn + description: '* `vpws` - VPWS + + * `vpls` - VPLS + + * `vxlan` - VXLAN + + * `vxlan-evpn` - VXLAN-EVPN + + * `mpls-evpn` - MPLS EVPN + + * `pbb-evpn` - PBB EVPN + + * `epl` - EPL + + * `evpl` - EVPL + + * `ep-lan` - Ethernet Private LAN + + * `evp-lan` - Ethernet Virtual Private LAN + + * `ep-tree` - Ethernet Private Tree + + * `evp-tree` - Ethernet Virtual Private Tree' + explode: true + style: form + - in: query + name: type__niew + schema: + type: array + items: + type: string + x-spec-enum-id: dbaa4f996ec2d110 + enum: + - ep-lan + - ep-tree + - epl + - evp-lan + - evp-tree + - evpl + - mpls-evpn + - pbb-evpn + - vpls + - vpws + - vxlan + - vxlan-evpn + description: '* `vpws` - VPWS + + * `vpls` - VPLS + + * `vxlan` - VXLAN + + * `vxlan-evpn` - VXLAN-EVPN + + * `mpls-evpn` - MPLS EVPN + + * `pbb-evpn` - PBB EVPN + + * `epl` - EPL + + * `evpl` - EVPL + + * `ep-lan` - Ethernet Private LAN + + * `evp-lan` - Ethernet Virtual Private LAN + + * `ep-tree` - Ethernet Private Tree + + * `evp-tree` - Ethernet Virtual Private Tree' + explode: true + style: form + - in: query + name: type__nisw + schema: + type: array + items: + type: string + x-spec-enum-id: dbaa4f996ec2d110 + enum: + - ep-lan + - ep-tree + - epl + - evp-lan + - evp-tree + - evpl + - mpls-evpn + - pbb-evpn + - vpls + - vpws + - vxlan + - vxlan-evpn + description: '* `vpws` - VPWS + + * `vpls` - VPLS + + * `vxlan` - VXLAN + + * `vxlan-evpn` - VXLAN-EVPN + + * `mpls-evpn` - MPLS EVPN + + * `pbb-evpn` - PBB EVPN + + * `epl` - EPL + + * `evpl` - EVPL + + * `ep-lan` - Ethernet Private LAN + + * `evp-lan` - Ethernet Virtual Private LAN + + * `ep-tree` - Ethernet Private Tree + + * `evp-tree` - Ethernet Virtual Private Tree' + explode: true + style: form + - in: query + name: updated_by_request + schema: + type: string + format: uuid + tags: + - vpn + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/PaginatedL2VPNList' + description: '' + post: + operationId: vpn_l2vpns_create + description: Post a list of L2VPN objects. + tags: + - vpn + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableL2VPNRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableL2VPNRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json: + schema: + $ref: '#/components/schemas/L2VPN' + description: '' + put: + operationId: vpn_l2vpns_bulk_update + description: Put a list of L2VPN objects. + tags: + - vpn + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/L2VPNRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/L2VPNRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/L2VPN' + description: '' + patch: + operationId: vpn_l2vpns_bulk_partial_update + description: Patch a list of L2VPN objects. + tags: + - vpn + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/L2VPNRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/L2VPNRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/L2VPN' + description: '' + delete: + operationId: vpn_l2vpns_bulk_destroy + description: Delete a list of L2VPN objects. + tags: + - vpn + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/L2VPNRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/L2VPNRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /api/vpn/l2vpns/{id}/: + get: + operationId: vpn_l2vpns_retrieve + description: Get a L2VPN object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this L2VPN. + required: true + tags: + - vpn + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/L2VPN' + description: '' + put: + operationId: vpn_l2vpns_update + description: Put a L2VPN object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this L2VPN. + required: true + tags: + - vpn + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableL2VPNRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableL2VPNRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/L2VPN' + description: '' + patch: + operationId: vpn_l2vpns_partial_update + description: Patch a L2VPN object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this L2VPN. + required: true + tags: + - vpn + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableL2VPNRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableL2VPNRequest' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/L2VPN' + description: '' + delete: + operationId: vpn_l2vpns_destroy + description: Delete a L2VPN object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this L2VPN. + required: true + tags: + - vpn + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /api/vpn/tunnel-groups/: + get: + operationId: vpn_tunnel_groups_list + description: Get a list of tunnel group objects. + parameters: + - in: query + name: created + schema: + type: array + items: + type: string + format: date-time + explode: true + style: form + - in: query + name: created__empty + 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__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: created_by_request + schema: + type: string + format: uuid + - in: query + name: description + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__empty + schema: + type: boolean + - 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__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__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__empty + schema: + type: boolean + - in: query + name: id__gt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__gte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__lt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__lte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: integer + format: int32 + 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__empty + 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__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: modified_by_request + schema: + type: string + format: uuid + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__empty + schema: + type: boolean + - 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__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__nisw + 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 + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: slug + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__empty + schema: + type: boolean + - in: query + name: slug__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: updated_by_request + schema: + type: string + format: uuid + tags: + - vpn + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/PaginatedTunnelGroupList' + description: '' + post: + operationId: vpn_tunnel_groups_create + description: Post a list of tunnel group objects. + tags: + - vpn + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/TunnelGroupRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/TunnelGroupRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json: + schema: + $ref: '#/components/schemas/TunnelGroup' + description: '' + put: + operationId: vpn_tunnel_groups_bulk_update + description: Put a list of tunnel group objects. + tags: + - vpn + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/TunnelGroupRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/TunnelGroupRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/TunnelGroup' + description: '' + patch: + operationId: vpn_tunnel_groups_bulk_partial_update + description: Patch a list of tunnel group objects. + tags: + - vpn + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/TunnelGroupRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/TunnelGroupRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/TunnelGroup' + description: '' + delete: + operationId: vpn_tunnel_groups_bulk_destroy + description: Delete a list of tunnel group objects. + tags: + - vpn + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/TunnelGroupRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/TunnelGroupRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /api/vpn/tunnel-groups/{id}/: + get: + operationId: vpn_tunnel_groups_retrieve + description: Get a tunnel group object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this tunnel group. + required: true + tags: + - vpn + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/TunnelGroup' + description: '' + put: + operationId: vpn_tunnel_groups_update + description: Put a tunnel group object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this tunnel group. + required: true + tags: + - vpn + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/TunnelGroupRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/TunnelGroupRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/TunnelGroup' + description: '' + patch: + operationId: vpn_tunnel_groups_partial_update + description: Patch a tunnel group object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this tunnel group. + required: true + tags: + - vpn + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedTunnelGroupRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedTunnelGroupRequest' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/TunnelGroup' + description: '' + delete: + operationId: vpn_tunnel_groups_destroy + description: Delete a tunnel group object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this tunnel group. + required: true + tags: + - vpn + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /api/vpn/tunnel-terminations/: + get: + operationId: vpn_tunnel_terminations_list + description: Get a list of tunnel termination objects. + parameters: + - in: query + name: created + schema: + type: array + items: + type: string + format: date-time + explode: true + style: form + - in: query + name: created__empty + 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__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: created_by_request + schema: + type: string + format: uuid + - in: query + name: id + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__empty + schema: + type: boolean + - in: query + name: id__gt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__gte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__lt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__lte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: interface + schema: + type: array + items: + type: string + description: Interface (name) + explode: true + style: form + - in: query + name: interface__n + schema: + type: array + items: + type: string + description: Interface (name) + explode: true + style: form + - in: query + name: interface_id + schema: + type: array + items: + type: integer + description: Interface (ID) + explode: true + style: form + - in: query + name: interface_id__n + schema: + type: array + items: + type: integer + description: Interface (ID) + 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__empty + 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__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: modified_by_request + schema: + type: string + format: uuid + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string + - in: query + name: outside_ip_id + schema: + type: array + items: + type: integer + description: Outside IP (ID) + explode: true + style: form + - in: query + name: outside_ip_id__n + schema: + type: array + items: + type: integer + description: Outside IP (ID) + explode: true + style: form + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: role + schema: + type: array + items: + type: string + x-spec-enum-id: 52225cd60b867572 + explode: true + style: form + - in: query + name: role__empty + schema: + type: boolean + - in: query + name: role__ic + schema: + type: array + items: + type: string + x-spec-enum-id: 52225cd60b867572 + enum: + - hub + - peer + - spoke + description: '* `peer` - Peer + + * `hub` - Hub + + * `spoke` - Spoke' + explode: true + style: form + - in: query + name: role__ie + schema: + type: array + items: + type: string + x-spec-enum-id: 52225cd60b867572 + enum: + - hub + - peer + - spoke + description: '* `peer` - Peer + + * `hub` - Hub + + * `spoke` - Spoke' + explode: true + style: form + - in: query + name: role__iew + schema: + type: array + items: + type: string + x-spec-enum-id: 52225cd60b867572 + enum: + - hub + - peer + - spoke + description: '* `peer` - Peer + + * `hub` - Hub + + * `spoke` - Spoke' + explode: true + style: form + - in: query + name: role__isw + schema: + type: array + items: + type: string + x-spec-enum-id: 52225cd60b867572 + enum: + - hub + - peer + - spoke + description: '* `peer` - Peer + + * `hub` - Hub + + * `spoke` - Spoke' + explode: true + style: form + - in: query + name: role__n + schema: + type: array + items: + type: string + x-spec-enum-id: 52225cd60b867572 + enum: + - hub + - peer + - spoke + description: '* `peer` - Peer + + * `hub` - Hub + + * `spoke` - Spoke' + explode: true + style: form + - in: query + name: role__nic + schema: + type: array + items: + type: string + x-spec-enum-id: 52225cd60b867572 + enum: + - hub + - peer + - spoke + description: '* `peer` - Peer + + * `hub` - Hub + + * `spoke` - Spoke' + explode: true + style: form + - in: query + name: role__nie + schema: + type: array + items: + type: string + x-spec-enum-id: 52225cd60b867572 + enum: + - hub + - peer + - spoke + description: '* `peer` - Peer + + * `hub` - Hub + + * `spoke` - Spoke' + explode: true + style: form + - in: query + name: role__niew + schema: + type: array + items: + type: string + x-spec-enum-id: 52225cd60b867572 + enum: + - hub + - peer + - spoke + description: '* `peer` - Peer + + * `hub` - Hub + + * `spoke` - Spoke' + explode: true + style: form + - in: query + name: role__nisw + schema: + type: array + items: + type: string + x-spec-enum-id: 52225cd60b867572 + enum: + - hub + - peer + - spoke + description: '* `peer` - Peer + + * `hub` - Hub + + * `spoke` - Spoke' + explode: true + style: form + - in: query + name: tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: termination_id + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: termination_id__empty + schema: + type: boolean + - in: query + name: termination_id__gt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: termination_id__gte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: termination_id__lt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: termination_id__lte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: termination_id__n + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: termination_type + schema: + type: string + - in: query + name: termination_type__n + schema: + type: string + - in: query + name: tunnel + schema: + type: array + items: + type: string + description: Tunnel (name) + explode: true + style: form + - in: query + name: tunnel__n + schema: + type: array + items: + type: string + description: Tunnel (name) + explode: true + style: form + - in: query + name: tunnel_id + schema: + type: array + items: + type: integer + description: Tunnel (ID) + explode: true + style: form + - in: query + name: tunnel_id__n + schema: + type: array + items: + type: integer + description: Tunnel (ID) + explode: true + style: form + - in: query + name: updated_by_request + schema: + type: string + format: uuid + - in: query + name: vminterface + schema: + type: array + items: + type: string + description: VM interface (name) + explode: true + style: form + - in: query + name: vminterface__n + schema: + type: array + items: + type: string + description: VM interface (name) + explode: true + style: form + - in: query + name: vminterface_id + schema: + type: array + items: + type: integer + description: VM interface (ID) + explode: true + style: form + - in: query + name: vminterface_id__n + schema: + type: array + items: + type: integer + description: VM interface (ID) + explode: true + style: form + tags: + - vpn + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/PaginatedTunnelTerminationList' + description: '' + post: + operationId: vpn_tunnel_terminations_create + description: Post a list of tunnel termination objects. + tags: + - vpn + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableTunnelTerminationRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableTunnelTerminationRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json: + schema: + $ref: '#/components/schemas/TunnelTermination' + description: '' + put: + operationId: vpn_tunnel_terminations_bulk_update + description: Put a list of tunnel termination objects. + tags: + - vpn + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/TunnelTerminationRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/TunnelTerminationRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/TunnelTermination' + description: '' + patch: + operationId: vpn_tunnel_terminations_bulk_partial_update + description: Patch a list of tunnel termination objects. + tags: + - vpn + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/TunnelTerminationRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/TunnelTerminationRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/TunnelTermination' + description: '' + delete: + operationId: vpn_tunnel_terminations_bulk_destroy + description: Delete a list of tunnel termination objects. + tags: + - vpn + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/TunnelTerminationRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/TunnelTerminationRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /api/vpn/tunnel-terminations/{id}/: + get: + operationId: vpn_tunnel_terminations_retrieve + description: Get a tunnel termination object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this tunnel termination. + required: true + tags: + - vpn + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/TunnelTermination' + description: '' + put: + operationId: vpn_tunnel_terminations_update + description: Put a tunnel termination object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this tunnel termination. + required: true + tags: + - vpn + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableTunnelTerminationRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableTunnelTerminationRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/TunnelTermination' + description: '' + patch: + operationId: vpn_tunnel_terminations_partial_update + description: Patch a tunnel termination object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this tunnel termination. + required: true + tags: + - vpn + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableTunnelTerminationRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableTunnelTerminationRequest' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/TunnelTermination' + description: '' + delete: + operationId: vpn_tunnel_terminations_destroy + description: Delete a tunnel termination object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this tunnel termination. + required: true + tags: + - vpn + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /api/vpn/tunnels/: + get: + operationId: vpn_tunnels_list + description: Get a list of tunnel objects. + parameters: + - in: query + name: created + schema: + type: array + items: + type: string + format: date-time + explode: true + style: form + - in: query + name: created__empty + 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__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: created_by_request + schema: + type: string + format: uuid + - in: query + name: description + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__empty + schema: + type: boolean + - 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__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__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: encapsulation + schema: + type: array + items: + type: string + x-spec-enum-id: 5fc36bb745852746 + explode: true + style: form + - in: query + name: encapsulation__empty + schema: + type: boolean + - in: query + name: encapsulation__ic + schema: + type: array + items: + type: string + x-spec-enum-id: 5fc36bb745852746 + enum: + - gre + - ip-ip + - ipsec-transport + - ipsec-tunnel + description: '* `ipsec-transport` - IPsec - Transport + + * `ipsec-tunnel` - IPsec - Tunnel + + * `ip-ip` - IP-in-IP + + * `gre` - GRE' + explode: true + style: form + - in: query + name: encapsulation__ie + schema: + type: array + items: + type: string + x-spec-enum-id: 5fc36bb745852746 + enum: + - gre + - ip-ip + - ipsec-transport + - ipsec-tunnel + description: '* `ipsec-transport` - IPsec - Transport + + * `ipsec-tunnel` - IPsec - Tunnel + + * `ip-ip` - IP-in-IP + + * `gre` - GRE' + explode: true + style: form + - in: query + name: encapsulation__iew + schema: + type: array + items: + type: string + x-spec-enum-id: 5fc36bb745852746 + enum: + - gre + - ip-ip + - ipsec-transport + - ipsec-tunnel + description: '* `ipsec-transport` - IPsec - Transport + + * `ipsec-tunnel` - IPsec - Tunnel + + * `ip-ip` - IP-in-IP + + * `gre` - GRE' + explode: true + style: form + - in: query + name: encapsulation__isw + schema: + type: array + items: + type: string + x-spec-enum-id: 5fc36bb745852746 + enum: + - gre + - ip-ip + - ipsec-transport + - ipsec-tunnel + description: '* `ipsec-transport` - IPsec - Transport + + * `ipsec-tunnel` - IPsec - Tunnel + + * `ip-ip` - IP-in-IP + + * `gre` - GRE' + explode: true + style: form + - in: query + name: encapsulation__n + schema: + type: array + items: + type: string + x-spec-enum-id: 5fc36bb745852746 + enum: + - gre + - ip-ip + - ipsec-transport + - ipsec-tunnel + description: '* `ipsec-transport` - IPsec - Transport + + * `ipsec-tunnel` - IPsec - Tunnel + + * `ip-ip` - IP-in-IP + + * `gre` - GRE' + explode: true + style: form + - in: query + name: encapsulation__nic + schema: + type: array + items: + type: string + x-spec-enum-id: 5fc36bb745852746 + enum: + - gre + - ip-ip + - ipsec-transport + - ipsec-tunnel + description: '* `ipsec-transport` - IPsec - Transport + + * `ipsec-tunnel` - IPsec - Tunnel + + * `ip-ip` - IP-in-IP + + * `gre` - GRE' + explode: true + style: form + - in: query + name: encapsulation__nie + schema: + type: array + items: + type: string + x-spec-enum-id: 5fc36bb745852746 + enum: + - gre + - ip-ip + - ipsec-transport + - ipsec-tunnel + description: '* `ipsec-transport` - IPsec - Transport + + * `ipsec-tunnel` - IPsec - Tunnel + + * `ip-ip` - IP-in-IP + + * `gre` - GRE' + explode: true + style: form + - in: query + name: encapsulation__niew + schema: + type: array + items: + type: string + x-spec-enum-id: 5fc36bb745852746 + enum: + - gre + - ip-ip + - ipsec-transport + - ipsec-tunnel + description: '* `ipsec-transport` - IPsec - Transport + + * `ipsec-tunnel` - IPsec - Tunnel + + * `ip-ip` - IP-in-IP + + * `gre` - GRE' + explode: true + style: form + - in: query + name: encapsulation__nisw + schema: + type: array + items: + type: string + x-spec-enum-id: 5fc36bb745852746 + enum: + - gre + - ip-ip + - ipsec-transport + - ipsec-tunnel + description: '* `ipsec-transport` - IPsec - Transport + + * `ipsec-tunnel` - IPsec - Tunnel + + * `ip-ip` - IP-in-IP + + * `gre` - GRE' + explode: true + style: form + - in: query + name: group + schema: + type: array + items: + type: string + description: Tunnel group (slug) + explode: true + style: form + - in: query + name: group__n + schema: + type: array + items: + type: string + description: Tunnel group (slug) + explode: true + style: form + - in: query + name: group_id + schema: + type: array + items: + type: integer + nullable: true + description: Tunnel group (ID) + explode: true + style: form + - in: query + name: group_id__n + schema: + type: array + items: + type: integer + nullable: true + description: Tunnel group (ID) + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__empty + schema: + type: boolean + - in: query + name: id__gt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__gte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__lt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__lte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: ipsec_profile + schema: + type: array + items: + type: string + description: IPSec profile (name) + explode: true + style: form + - in: query + name: ipsec_profile__n + schema: + type: array + items: + type: string + description: IPSec profile (name) + explode: true + style: form + - in: query + name: ipsec_profile_id + schema: + type: array + items: + type: integer + nullable: true + description: IPSec profile (ID) + explode: true + style: form + - in: query + name: ipsec_profile_id__n + schema: + type: array + items: + type: integer + nullable: true + description: IPSec profile (ID) + 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__empty + 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__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: modified_by_request + schema: + type: string + format: uuid + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__empty + schema: + type: boolean + - 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__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__nisw + 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 + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: status + schema: + type: array + items: + type: string + x-spec-enum-id: 0d65f7912cba74aa + explode: true + style: form + - in: query + name: status__empty + schema: + type: boolean + - in: query + name: status__ic + schema: + type: array + items: + type: string + x-spec-enum-id: 0d65f7912cba74aa + enum: + - active + - disabled + - planned + description: '* `planned` - Planned + + * `active` - Active + + * `disabled` - Disabled' + explode: true + style: form + - in: query + name: status__ie + schema: + type: array + items: + type: string + x-spec-enum-id: 0d65f7912cba74aa + enum: + - active + - disabled + - planned + description: '* `planned` - Planned + + * `active` - Active + + * `disabled` - Disabled' + explode: true + style: form + - in: query + name: status__iew + schema: + type: array + items: + type: string + x-spec-enum-id: 0d65f7912cba74aa + enum: + - active + - disabled + - planned + description: '* `planned` - Planned + + * `active` - Active + + * `disabled` - Disabled' + explode: true + style: form + - in: query + name: status__isw + schema: + type: array + items: + type: string + x-spec-enum-id: 0d65f7912cba74aa + enum: + - active + - disabled + - planned + description: '* `planned` - Planned + + * `active` - Active + + * `disabled` - Disabled' + explode: true + style: form + - in: query + name: status__n + schema: + type: array + items: + type: string + x-spec-enum-id: 0d65f7912cba74aa + enum: + - active + - disabled + - planned + description: '* `planned` - Planned + + * `active` - Active + + * `disabled` - Disabled' + explode: true + style: form + - in: query + name: status__nic + schema: + type: array + items: + type: string + x-spec-enum-id: 0d65f7912cba74aa + enum: + - active + - disabled + - planned + description: '* `planned` - Planned + + * `active` - Active + + * `disabled` - Disabled' + explode: true + style: form + - in: query + name: status__nie + schema: + type: array + items: + type: string + x-spec-enum-id: 0d65f7912cba74aa + enum: + - active + - disabled + - planned + description: '* `planned` - Planned + + * `active` - Active + + * `disabled` - Disabled' + explode: true + style: form + - in: query + name: status__niew + schema: + type: array + items: + type: string + x-spec-enum-id: 0d65f7912cba74aa + enum: + - active + - disabled + - planned + description: '* `planned` - Planned + + * `active` - Active + + * `disabled` - Disabled' + explode: true + style: form + - in: query + name: status__nisw + schema: + type: array + items: + type: string + x-spec-enum-id: 0d65f7912cba74aa + enum: + - active + - disabled + - planned + description: '* `planned` - Planned + + * `active` - Active + + * `disabled` - Disabled' + explode: true + style: form + - in: query + name: tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant__n + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant_group + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant_group__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant_group_id + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant_group_id__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant_id + schema: + type: array + items: + type: integer + nullable: true + description: Tenant (ID) + explode: true + style: form + - in: query + name: tenant_id__n + schema: + type: array + items: + type: integer + nullable: true + description: Tenant (ID) + explode: true + style: form + - in: query + name: tunnel_id + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: tunnel_id__empty + schema: + type: boolean + - in: query + name: tunnel_id__gt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: tunnel_id__gte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: tunnel_id__lt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: tunnel_id__lte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: tunnel_id__n + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: updated_by_request + schema: + type: string + format: uuid + tags: + - vpn + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/PaginatedTunnelList' + description: '' + post: + operationId: vpn_tunnels_create + description: Post a list of tunnel objects. + tags: + - vpn + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableTunnelRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableTunnelRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json: + schema: + $ref: '#/components/schemas/Tunnel' + description: '' + put: + operationId: vpn_tunnels_bulk_update + description: Put a list of tunnel objects. + tags: + - vpn + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/TunnelRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/TunnelRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/Tunnel' + description: '' + patch: + operationId: vpn_tunnels_bulk_partial_update + description: Patch a list of tunnel objects. + tags: + - vpn + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/TunnelRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/TunnelRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/Tunnel' + description: '' + delete: + operationId: vpn_tunnels_bulk_destroy + description: Delete a list of tunnel objects. + tags: + - vpn + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/TunnelRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/TunnelRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /api/vpn/tunnels/{id}/: + get: + operationId: vpn_tunnels_retrieve + description: Get a tunnel object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this tunnel. + required: true + tags: + - vpn + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/Tunnel' + description: '' + put: + operationId: vpn_tunnels_update + description: Put a tunnel object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this tunnel. + required: true + tags: + - vpn + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableTunnelRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableTunnelRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/Tunnel' + description: '' + patch: + operationId: vpn_tunnels_partial_update + description: Patch a tunnel object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this tunnel. + required: true + tags: + - vpn + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableTunnelRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableTunnelRequest' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/Tunnel' + description: '' + delete: + operationId: vpn_tunnels_destroy + description: Delete a tunnel object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this tunnel. + required: true + tags: + - vpn + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /api/wireless/wireless-lan-groups/: + get: + operationId: wireless_wireless_lan_groups_list + description: Get a list of wireless LAN group objects. + parameters: + - in: query + name: ancestor + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: ancestor__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: ancestor_id + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: ancestor_id__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__empty + 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__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: created_by_request + schema: + type: string + format: uuid + - in: query + name: description + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__empty + schema: + type: boolean + - 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__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__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__empty + schema: + type: boolean + - in: query + name: id__gt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__gte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__lt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__lte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: integer + format: int32 + 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__empty + 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__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: modified_by_request + schema: + type: string + format: uuid + - in: query + name: name + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: name__empty + schema: + type: boolean + - 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__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__nisw + 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 + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string + - in: query + name: parent + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: parent__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: parent_id + schema: + type: array + items: + type: integer + nullable: true + explode: true + style: form + - in: query + name: parent_id__n + schema: + type: array + items: + type: integer + nullable: true + explode: true + style: form + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: slug + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__empty + schema: + type: boolean + - in: query + name: slug__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: slug__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: updated_by_request + schema: + type: string + format: uuid + tags: + - wireless + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/PaginatedWirelessLANGroupList' + description: '' + post: + operationId: wireless_wireless_lan_groups_create + description: Post a list of wireless LAN group objects. + tags: + - wireless + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableWirelessLANGroupRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableWirelessLANGroupRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json: + schema: + $ref: '#/components/schemas/WirelessLANGroup' + description: '' + put: + operationId: wireless_wireless_lan_groups_bulk_update + description: Put a list of wireless LAN group objects. + tags: + - wireless + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/WirelessLANGroupRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/WirelessLANGroupRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/WirelessLANGroup' + description: '' + patch: + operationId: wireless_wireless_lan_groups_bulk_partial_update + description: Patch a list of wireless LAN group objects. + tags: + - wireless + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/WirelessLANGroupRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/WirelessLANGroupRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/WirelessLANGroup' + description: '' + delete: + operationId: wireless_wireless_lan_groups_bulk_destroy + description: Delete a list of wireless LAN group objects. + tags: + - wireless + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/WirelessLANGroupRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/WirelessLANGroupRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /api/wireless/wireless-lan-groups/{id}/: + get: + operationId: wireless_wireless_lan_groups_retrieve + description: Get a wireless LAN group object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this wireless LAN group. + required: true + tags: + - wireless + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/WirelessLANGroup' + description: '' + put: + operationId: wireless_wireless_lan_groups_update + description: Put a wireless LAN group object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this wireless LAN group. + required: true + tags: + - wireless + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableWirelessLANGroupRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableWirelessLANGroupRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/WirelessLANGroup' + description: '' + patch: + operationId: wireless_wireless_lan_groups_partial_update + description: Patch a wireless LAN group object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this wireless LAN group. + required: true + tags: + - wireless + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableWirelessLANGroupRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableWirelessLANGroupRequest' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/WirelessLANGroup' + description: '' + delete: + operationId: wireless_wireless_lan_groups_destroy + description: Delete a wireless LAN group object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this wireless LAN group. + required: true + tags: + - wireless + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /api/wireless/wireless-lans/: + get: + operationId: wireless_wireless_lans_list + description: Get a list of wireless LAN objects. + parameters: + - in: query + name: auth_cipher + schema: + type: array + items: + type: string + x-spec-enum-id: 8fdaefa727c26fdc + title: Authentication cipher + explode: true + style: form + - in: query + name: auth_cipher__empty + schema: + type: boolean + - in: query + name: auth_cipher__ic + schema: + type: array + items: + type: string + x-spec-enum-id: 8fdaefa727c26fdc + title: Authentication cipher + enum: + - '' + - aes + - auto + - tkip + description: '* `auto` - Auto + + * `tkip` - TKIP + + * `aes` - AES' + explode: true + style: form + - in: query + name: auth_cipher__ie + schema: + type: array + items: + type: string + x-spec-enum-id: 8fdaefa727c26fdc + title: Authentication cipher + enum: + - '' + - aes + - auto + - tkip + description: '* `auto` - Auto + + * `tkip` - TKIP + + * `aes` - AES' + explode: true + style: form + - in: query + name: auth_cipher__iew + schema: + type: array + items: + type: string + x-spec-enum-id: 8fdaefa727c26fdc + title: Authentication cipher + enum: + - '' + - aes + - auto + - tkip + description: '* `auto` - Auto + + * `tkip` - TKIP + + * `aes` - AES' + explode: true + style: form + - in: query + name: auth_cipher__isw + schema: + type: array + items: + type: string + x-spec-enum-id: 8fdaefa727c26fdc + title: Authentication cipher + enum: + - '' + - aes + - auto + - tkip + description: '* `auto` - Auto + + * `tkip` - TKIP + + * `aes` - AES' + explode: true + style: form + - in: query + name: auth_cipher__n + schema: + type: array + items: + type: string + x-spec-enum-id: 8fdaefa727c26fdc + title: Authentication cipher + enum: + - '' + - aes + - auto + - tkip + description: '* `auto` - Auto + + * `tkip` - TKIP + + * `aes` - AES' + explode: true + style: form + - in: query + name: auth_cipher__nic + schema: + type: array + items: + type: string + x-spec-enum-id: 8fdaefa727c26fdc + title: Authentication cipher + enum: + - '' + - aes + - auto + - tkip + description: '* `auto` - Auto + + * `tkip` - TKIP + + * `aes` - AES' + explode: true + style: form + - in: query + name: auth_cipher__nie + schema: + type: array + items: + type: string + x-spec-enum-id: 8fdaefa727c26fdc + title: Authentication cipher + enum: + - '' + - aes + - auto + - tkip + description: '* `auto` - Auto + + * `tkip` - TKIP + + * `aes` - AES' + explode: true + style: form + - in: query + name: auth_cipher__niew + schema: + type: array + items: + type: string + x-spec-enum-id: 8fdaefa727c26fdc + title: Authentication cipher + enum: + - '' + - aes + - auto + - tkip + description: '* `auto` - Auto + + * `tkip` - TKIP + + * `aes` - AES' + explode: true + style: form + - in: query + name: auth_cipher__nisw + schema: + type: array + items: + type: string + x-spec-enum-id: 8fdaefa727c26fdc + title: Authentication cipher + enum: + - '' + - aes + - auto + - tkip + description: '* `auto` - Auto + + * `tkip` - TKIP + + * `aes` - AES' + explode: true + style: form + - in: query + name: auth_psk + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: auth_psk__empty + schema: + type: boolean + - in: query + name: auth_psk__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: auth_psk__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: auth_psk__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: auth_psk__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: auth_psk__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: auth_psk__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: auth_psk__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: auth_psk__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: auth_psk__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: auth_type + schema: + type: array + items: + type: string + x-spec-enum-id: a2043acb899b3954 + title: Authentication type + explode: true + style: form + - in: query + name: auth_type__empty + schema: + type: boolean + - in: query + name: auth_type__ic + schema: + type: array + items: + type: string + x-spec-enum-id: a2043acb899b3954 + title: Authentication type + enum: + - '' + - open + - wep + - wpa-enterprise + - wpa-personal + description: '* `open` - Open + + * `wep` - WEP + + * `wpa-personal` - WPA Personal (PSK) + + * `wpa-enterprise` - WPA Enterprise' + explode: true + style: form + - in: query + name: auth_type__ie + schema: + type: array + items: + type: string + x-spec-enum-id: a2043acb899b3954 + title: Authentication type + enum: + - '' + - open + - wep + - wpa-enterprise + - wpa-personal + description: '* `open` - Open + + * `wep` - WEP + + * `wpa-personal` - WPA Personal (PSK) + + * `wpa-enterprise` - WPA Enterprise' + explode: true + style: form + - in: query + name: auth_type__iew + schema: + type: array + items: + type: string + x-spec-enum-id: a2043acb899b3954 + title: Authentication type + enum: + - '' + - open + - wep + - wpa-enterprise + - wpa-personal + description: '* `open` - Open + + * `wep` - WEP + + * `wpa-personal` - WPA Personal (PSK) + + * `wpa-enterprise` - WPA Enterprise' + explode: true + style: form + - in: query + name: auth_type__isw + schema: + type: array + items: + type: string + x-spec-enum-id: a2043acb899b3954 + title: Authentication type + enum: + - '' + - open + - wep + - wpa-enterprise + - wpa-personal + description: '* `open` - Open + + * `wep` - WEP + + * `wpa-personal` - WPA Personal (PSK) + + * `wpa-enterprise` - WPA Enterprise' + explode: true + style: form + - in: query + name: auth_type__n + schema: + type: array + items: + type: string + x-spec-enum-id: a2043acb899b3954 + title: Authentication type + enum: + - '' + - open + - wep + - wpa-enterprise + - wpa-personal + description: '* `open` - Open + + * `wep` - WEP + + * `wpa-personal` - WPA Personal (PSK) + + * `wpa-enterprise` - WPA Enterprise' + explode: true + style: form + - in: query + name: auth_type__nic + schema: + type: array + items: + type: string + x-spec-enum-id: a2043acb899b3954 + title: Authentication type + enum: + - '' + - open + - wep + - wpa-enterprise + - wpa-personal + description: '* `open` - Open + + * `wep` - WEP + + * `wpa-personal` - WPA Personal (PSK) + + * `wpa-enterprise` - WPA Enterprise' + explode: true + style: form + - in: query + name: auth_type__nie + schema: + type: array + items: + type: string + x-spec-enum-id: a2043acb899b3954 + title: Authentication type + enum: + - '' + - open + - wep + - wpa-enterprise + - wpa-personal + description: '* `open` - Open + + * `wep` - WEP + + * `wpa-personal` - WPA Personal (PSK) + + * `wpa-enterprise` - WPA Enterprise' + explode: true + style: form + - in: query + name: auth_type__niew + schema: + type: array + items: + type: string + x-spec-enum-id: a2043acb899b3954 + title: Authentication type + enum: + - '' + - open + - wep + - wpa-enterprise + - wpa-personal + description: '* `open` - Open + + * `wep` - WEP + + * `wpa-personal` - WPA Personal (PSK) + + * `wpa-enterprise` - WPA Enterprise' + explode: true + style: form + - in: query + name: auth_type__nisw + schema: + type: array + items: + type: string + x-spec-enum-id: a2043acb899b3954 + title: Authentication type + enum: + - '' + - open + - wep + - wpa-enterprise + - wpa-personal + description: '* `open` - Open + + * `wep` - WEP + + * `wpa-personal` - WPA Personal (PSK) + + * `wpa-enterprise` - WPA Enterprise' + 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__empty + 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__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: created_by_request + schema: + type: string + format: uuid + - in: query + name: description + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__empty + schema: + type: boolean + - 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__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__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: group + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: group__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: group_id + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: group_id__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: id + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__empty + schema: + type: boolean + - in: query + name: id__gt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__gte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__lt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__lte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: interface_id + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: interface_id__n + schema: + type: array + items: + type: integer + 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__empty + 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__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: modified_by_request + schema: + type: string + format: uuid + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: ssid + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: ssid__empty + schema: + type: boolean + - in: query + name: ssid__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: ssid__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: ssid__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: ssid__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: ssid__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: ssid__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: ssid__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: ssid__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: ssid__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: status + schema: + type: array + items: + type: string + x-spec-enum-id: 412ebdca597f609e + explode: true + style: form + - in: query + name: status__empty + schema: + type: boolean + - in: query + name: status__ic + schema: + type: array + items: + type: string + x-spec-enum-id: 412ebdca597f609e + enum: + - active + - deprecated + - disabled + - reserved + description: '* `active` - Active + + * `reserved` - Reserved + + * `disabled` - Disabled + + * `deprecated` - Deprecated' + explode: true + style: form + - in: query + name: status__ie + schema: + type: array + items: + type: string + x-spec-enum-id: 412ebdca597f609e + enum: + - active + - deprecated + - disabled + - reserved + description: '* `active` - Active + + * `reserved` - Reserved + + * `disabled` - Disabled + + * `deprecated` - Deprecated' + explode: true + style: form + - in: query + name: status__iew + schema: + type: array + items: + type: string + x-spec-enum-id: 412ebdca597f609e + enum: + - active + - deprecated + - disabled + - reserved + description: '* `active` - Active + + * `reserved` - Reserved + + * `disabled` - Disabled + + * `deprecated` - Deprecated' + explode: true + style: form + - in: query + name: status__isw + schema: + type: array + items: + type: string + x-spec-enum-id: 412ebdca597f609e + enum: + - active + - deprecated + - disabled + - reserved + description: '* `active` - Active + + * `reserved` - Reserved + + * `disabled` - Disabled + + * `deprecated` - Deprecated' + explode: true + style: form + - in: query + name: status__n + schema: + type: array + items: + type: string + x-spec-enum-id: 412ebdca597f609e + enum: + - active + - deprecated + - disabled + - reserved + description: '* `active` - Active + + * `reserved` - Reserved + + * `disabled` - Disabled + + * `deprecated` - Deprecated' + explode: true + style: form + - in: query + name: status__nic + schema: + type: array + items: + type: string + x-spec-enum-id: 412ebdca597f609e + enum: + - active + - deprecated + - disabled + - reserved + description: '* `active` - Active + + * `reserved` - Reserved + + * `disabled` - Disabled + + * `deprecated` - Deprecated' + explode: true + style: form + - in: query + name: status__nie + schema: + type: array + items: + type: string + x-spec-enum-id: 412ebdca597f609e + enum: + - active + - deprecated + - disabled + - reserved + description: '* `active` - Active + + * `reserved` - Reserved + + * `disabled` - Disabled + + * `deprecated` - Deprecated' + explode: true + style: form + - in: query + name: status__niew + schema: + type: array + items: + type: string + x-spec-enum-id: 412ebdca597f609e + enum: + - active + - deprecated + - disabled + - reserved + description: '* `active` - Active + + * `reserved` - Reserved + + * `disabled` - Disabled + + * `deprecated` - Deprecated' + explode: true + style: form + - in: query + name: status__nisw + schema: + type: array + items: + type: string + x-spec-enum-id: 412ebdca597f609e + enum: + - active + - deprecated + - disabled + - reserved + description: '* `active` - Active + + * `reserved` - Reserved + + * `disabled` - Disabled + + * `deprecated` - Deprecated' + explode: true + style: form + - in: query + name: tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant__n + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant_group + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant_group__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant_group_id + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant_group_id__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant_id + schema: + type: array + items: + type: integer + nullable: true + description: Tenant (ID) + explode: true + style: form + - in: query + name: tenant_id__n + schema: + type: array + items: + type: integer + nullable: true + description: Tenant (ID) + explode: true + style: form + - in: query + name: updated_by_request + schema: + type: string + format: uuid + - in: query + name: vlan_id + schema: + type: array + items: + type: integer + nullable: true + explode: true + style: form + - in: query + name: vlan_id__n + schema: + type: array + items: + type: integer + nullable: true + explode: true + style: form + tags: + - wireless + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/PaginatedWirelessLANList' + description: '' + post: + operationId: wireless_wireless_lans_create + description: Post a list of wireless LAN objects. + tags: + - wireless + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableWirelessLANRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableWirelessLANRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json: + schema: + $ref: '#/components/schemas/WirelessLAN' + description: '' + put: + operationId: wireless_wireless_lans_bulk_update + description: Put a list of wireless LAN objects. + tags: + - wireless + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/WirelessLANRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/WirelessLANRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/WirelessLAN' + description: '' + patch: + operationId: wireless_wireless_lans_bulk_partial_update + description: Patch a list of wireless LAN objects. + tags: + - wireless + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/WirelessLANRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/WirelessLANRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/WirelessLAN' + description: '' + delete: + operationId: wireless_wireless_lans_bulk_destroy + description: Delete a list of wireless LAN objects. + tags: + - wireless + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/WirelessLANRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/WirelessLANRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /api/wireless/wireless-lans/{id}/: + get: + operationId: wireless_wireless_lans_retrieve + description: Get a wireless LAN object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this wireless LAN. + required: true + tags: + - wireless + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/WirelessLAN' + description: '' + put: + operationId: wireless_wireless_lans_update + description: Put a wireless LAN object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this wireless LAN. + required: true + tags: + - wireless + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableWirelessLANRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableWirelessLANRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/WirelessLAN' + description: '' + patch: + operationId: wireless_wireless_lans_partial_update + description: Patch a wireless LAN object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this wireless LAN. + required: true + tags: + - wireless + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableWirelessLANRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableWirelessLANRequest' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/WirelessLAN' + description: '' + delete: + operationId: wireless_wireless_lans_destroy + description: Delete a wireless LAN object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this wireless LAN. + required: true + tags: + - wireless + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /api/wireless/wireless-links/: + get: + operationId: wireless_wireless_links_list + description: Get a list of wireless link objects. + parameters: + - in: query + name: auth_cipher + schema: + type: array + items: + type: string + x-spec-enum-id: 8fdaefa727c26fdc + title: Authentication cipher + explode: true + style: form + - in: query + name: auth_cipher__empty + schema: + type: boolean + - in: query + name: auth_cipher__ic + schema: + type: array + items: + type: string + x-spec-enum-id: 8fdaefa727c26fdc + title: Authentication cipher + enum: + - '' + - aes + - auto + - tkip + description: '* `auto` - Auto + + * `tkip` - TKIP + + * `aes` - AES' + explode: true + style: form + - in: query + name: auth_cipher__ie + schema: + type: array + items: + type: string + x-spec-enum-id: 8fdaefa727c26fdc + title: Authentication cipher + enum: + - '' + - aes + - auto + - tkip + description: '* `auto` - Auto + + * `tkip` - TKIP + + * `aes` - AES' + explode: true + style: form + - in: query + name: auth_cipher__iew + schema: + type: array + items: + type: string + x-spec-enum-id: 8fdaefa727c26fdc + title: Authentication cipher + enum: + - '' + - aes + - auto + - tkip + description: '* `auto` - Auto + + * `tkip` - TKIP + + * `aes` - AES' + explode: true + style: form + - in: query + name: auth_cipher__isw + schema: + type: array + items: + type: string + x-spec-enum-id: 8fdaefa727c26fdc + title: Authentication cipher + enum: + - '' + - aes + - auto + - tkip + description: '* `auto` - Auto + + * `tkip` - TKIP + + * `aes` - AES' + explode: true + style: form + - in: query + name: auth_cipher__n + schema: + type: array + items: + type: string + x-spec-enum-id: 8fdaefa727c26fdc + title: Authentication cipher + enum: + - '' + - aes + - auto + - tkip + description: '* `auto` - Auto + + * `tkip` - TKIP + + * `aes` - AES' + explode: true + style: form + - in: query + name: auth_cipher__nic + schema: + type: array + items: + type: string + x-spec-enum-id: 8fdaefa727c26fdc + title: Authentication cipher + enum: + - '' + - aes + - auto + - tkip + description: '* `auto` - Auto + + * `tkip` - TKIP + + * `aes` - AES' + explode: true + style: form + - in: query + name: auth_cipher__nie + schema: + type: array + items: + type: string + x-spec-enum-id: 8fdaefa727c26fdc + title: Authentication cipher + enum: + - '' + - aes + - auto + - tkip + description: '* `auto` - Auto + + * `tkip` - TKIP + + * `aes` - AES' + explode: true + style: form + - in: query + name: auth_cipher__niew + schema: + type: array + items: + type: string + x-spec-enum-id: 8fdaefa727c26fdc + title: Authentication cipher + enum: + - '' + - aes + - auto + - tkip + description: '* `auto` - Auto + + * `tkip` - TKIP + + * `aes` - AES' + explode: true + style: form + - in: query + name: auth_cipher__nisw + schema: + type: array + items: + type: string + x-spec-enum-id: 8fdaefa727c26fdc + title: Authentication cipher + enum: + - '' + - aes + - auto + - tkip + description: '* `auto` - Auto + + * `tkip` - TKIP + + * `aes` - AES' + explode: true + style: form + - in: query + name: auth_psk + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: auth_psk__empty + schema: + type: boolean + - in: query + name: auth_psk__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: auth_psk__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: auth_psk__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: auth_psk__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: auth_psk__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: auth_psk__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: auth_psk__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: auth_psk__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: auth_psk__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: auth_type + schema: + type: array + items: + type: string + x-spec-enum-id: a2043acb899b3954 + title: Authentication type + explode: true + style: form + - in: query + name: auth_type__empty + schema: + type: boolean + - in: query + name: auth_type__ic + schema: + type: array + items: + type: string + x-spec-enum-id: a2043acb899b3954 + title: Authentication type + enum: + - '' + - open + - wep + - wpa-enterprise + - wpa-personal + description: '* `open` - Open + + * `wep` - WEP + + * `wpa-personal` - WPA Personal (PSK) + + * `wpa-enterprise` - WPA Enterprise' + explode: true + style: form + - in: query + name: auth_type__ie + schema: + type: array + items: + type: string + x-spec-enum-id: a2043acb899b3954 + title: Authentication type + enum: + - '' + - open + - wep + - wpa-enterprise + - wpa-personal + description: '* `open` - Open + + * `wep` - WEP + + * `wpa-personal` - WPA Personal (PSK) + + * `wpa-enterprise` - WPA Enterprise' + explode: true + style: form + - in: query + name: auth_type__iew + schema: + type: array + items: + type: string + x-spec-enum-id: a2043acb899b3954 + title: Authentication type + enum: + - '' + - open + - wep + - wpa-enterprise + - wpa-personal + description: '* `open` - Open + + * `wep` - WEP + + * `wpa-personal` - WPA Personal (PSK) + + * `wpa-enterprise` - WPA Enterprise' + explode: true + style: form + - in: query + name: auth_type__isw + schema: + type: array + items: + type: string + x-spec-enum-id: a2043acb899b3954 + title: Authentication type + enum: + - '' + - open + - wep + - wpa-enterprise + - wpa-personal + description: '* `open` - Open + + * `wep` - WEP + + * `wpa-personal` - WPA Personal (PSK) + + * `wpa-enterprise` - WPA Enterprise' + explode: true + style: form + - in: query + name: auth_type__n + schema: + type: array + items: + type: string + x-spec-enum-id: a2043acb899b3954 + title: Authentication type + enum: + - '' + - open + - wep + - wpa-enterprise + - wpa-personal + description: '* `open` - Open + + * `wep` - WEP + + * `wpa-personal` - WPA Personal (PSK) + + * `wpa-enterprise` - WPA Enterprise' + explode: true + style: form + - in: query + name: auth_type__nic + schema: + type: array + items: + type: string + x-spec-enum-id: a2043acb899b3954 + title: Authentication type + enum: + - '' + - open + - wep + - wpa-enterprise + - wpa-personal + description: '* `open` - Open + + * `wep` - WEP + + * `wpa-personal` - WPA Personal (PSK) + + * `wpa-enterprise` - WPA Enterprise' + explode: true + style: form + - in: query + name: auth_type__nie + schema: + type: array + items: + type: string + x-spec-enum-id: a2043acb899b3954 + title: Authentication type + enum: + - '' + - open + - wep + - wpa-enterprise + - wpa-personal + description: '* `open` - Open + + * `wep` - WEP + + * `wpa-personal` - WPA Personal (PSK) + + * `wpa-enterprise` - WPA Enterprise' + explode: true + style: form + - in: query + name: auth_type__niew + schema: + type: array + items: + type: string + x-spec-enum-id: a2043acb899b3954 + title: Authentication type + enum: + - '' + - open + - wep + - wpa-enterprise + - wpa-personal + description: '* `open` - Open + + * `wep` - WEP + + * `wpa-personal` - WPA Personal (PSK) + + * `wpa-enterprise` - WPA Enterprise' + explode: true + style: form + - in: query + name: auth_type__nisw + schema: + type: array + items: + type: string + x-spec-enum-id: a2043acb899b3954 + title: Authentication type + enum: + - '' + - open + - wep + - wpa-enterprise + - wpa-personal + description: '* `open` - Open + + * `wep` - WEP + + * `wpa-personal` - WPA Personal (PSK) + + * `wpa-enterprise` - WPA Enterprise' + 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__empty + 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__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: created_by_request + schema: + type: string + format: uuid + - in: query + name: description + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: description__empty + schema: + type: boolean + - 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__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__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: distance + schema: + type: array + items: + type: number + format: double + explode: true + style: form + - in: query + name: distance__empty + schema: + type: boolean + - in: query + name: distance__gt + schema: + type: array + items: + type: number + format: double + explode: true + style: form + - in: query + name: distance__gte + schema: + type: array + items: + type: number + format: double + explode: true + style: form + - in: query + name: distance__lt + schema: + type: array + items: + type: number + format: double + explode: true + style: form + - in: query + name: distance__lte + schema: + type: array + items: + type: number + format: double + explode: true + style: form + - in: query + name: distance__n + schema: + type: array + items: + type: number + format: double + explode: true + style: form + - in: query + name: distance_unit + schema: + type: string + x-spec-enum-id: 53542e7902f946af + enum: + - ft + - km + - m + - mi + description: '* `km` - Kilometers + + * `m` - Meters + + * `mi` - Miles + + * `ft` - Feet' + - in: query + name: id + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__empty + schema: + type: boolean + - in: query + name: id__gt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__gte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__lt + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__lte + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: id__n + schema: + type: array + items: + type: integer + format: int32 + explode: true + style: form + - in: query + name: interface_a_id + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: interface_a_id__n + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: interface_b_id + schema: + type: array + items: + type: integer + explode: true + style: form + - in: query + name: interface_b_id__n + schema: + type: array + items: + type: integer + 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__empty + 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__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: modified_by_request + schema: + type: string + format: uuid + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string + - in: query + name: q + schema: + type: string + description: Search + - in: query + name: ssid + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: ssid__empty + schema: + type: boolean + - in: query + name: ssid__ic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: ssid__ie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: ssid__iew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: ssid__isw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: ssid__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: ssid__nic + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: ssid__nie + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: ssid__niew + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: ssid__nisw + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: status + schema: + type: array + items: + type: string + x-spec-enum-id: fbc2f302c08be50d + explode: true + style: form + - in: query + name: status__empty + schema: + type: boolean + - in: query + name: status__ic + schema: + type: array + items: + type: string + x-spec-enum-id: fbc2f302c08be50d + enum: + - connected + - decommissioning + - planned + description: '* `connected` - Connected + + * `planned` - Planned + + * `decommissioning` - Decommissioning' + explode: true + style: form + - in: query + name: status__ie + schema: + type: array + items: + type: string + x-spec-enum-id: fbc2f302c08be50d + enum: + - connected + - decommissioning + - planned + description: '* `connected` - Connected + + * `planned` - Planned + + * `decommissioning` - Decommissioning' + explode: true + style: form + - in: query + name: status__iew + schema: + type: array + items: + type: string + x-spec-enum-id: fbc2f302c08be50d + enum: + - connected + - decommissioning + - planned + description: '* `connected` - Connected + + * `planned` - Planned + + * `decommissioning` - Decommissioning' + explode: true + style: form + - in: query + name: status__isw + schema: + type: array + items: + type: string + x-spec-enum-id: fbc2f302c08be50d + enum: + - connected + - decommissioning + - planned + description: '* `connected` - Connected + + * `planned` - Planned + + * `decommissioning` - Decommissioning' + explode: true + style: form + - in: query + name: status__n + schema: + type: array + items: + type: string + x-spec-enum-id: fbc2f302c08be50d + enum: + - connected + - decommissioning + - planned + description: '* `connected` - Connected + + * `planned` - Planned + + * `decommissioning` - Decommissioning' + explode: true + style: form + - in: query + name: status__nic + schema: + type: array + items: + type: string + x-spec-enum-id: fbc2f302c08be50d + enum: + - connected + - decommissioning + - planned + description: '* `connected` - Connected + + * `planned` - Planned + + * `decommissioning` - Decommissioning' + explode: true + style: form + - in: query + name: status__nie + schema: + type: array + items: + type: string + x-spec-enum-id: fbc2f302c08be50d + enum: + - connected + - decommissioning + - planned + description: '* `connected` - Connected + + * `planned` - Planned + + * `decommissioning` - Decommissioning' + explode: true + style: form + - in: query + name: status__niew + schema: + type: array + items: + type: string + x-spec-enum-id: fbc2f302c08be50d + enum: + - connected + - decommissioning + - planned + description: '* `connected` - Connected + + * `planned` - Planned + + * `decommissioning` - Decommissioning' + explode: true + style: form + - in: query + name: status__nisw + schema: + type: array + items: + type: string + x-spec-enum-id: fbc2f302c08be50d + enum: + - connected + - decommissioning + - planned + description: '* `connected` - Connected + + * `planned` - Planned + + * `decommissioning` - Decommissioning' + explode: true + style: form + - in: query + name: tag + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tag__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant__n + schema: + type: array + items: + type: string + description: Tenant (slug) + explode: true + style: form + - in: query + name: tenant_group + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant_group__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant_group_id + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant_group_id__n + schema: + type: array + items: + type: string + explode: true + style: form + - in: query + name: tenant_id + schema: + type: array + items: + type: integer + nullable: true + description: Tenant (ID) + explode: true + style: form + - in: query + name: tenant_id__n + schema: + type: array + items: + type: integer + nullable: true + description: Tenant (ID) + explode: true + style: form + - in: query + name: updated_by_request + schema: + type: string + format: uuid + tags: + - wireless + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/PaginatedWirelessLinkList' + description: '' + post: + operationId: wireless_wireless_links_create + description: Post a list of wireless link objects. + tags: + - wireless + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableWirelessLinkRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableWirelessLinkRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '201': + content: + application/json: + schema: + $ref: '#/components/schemas/WirelessLink' + description: '' + put: + operationId: wireless_wireless_links_bulk_update + description: Put a list of wireless link objects. + tags: + - wireless + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/WirelessLinkRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/WirelessLinkRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/WirelessLink' + description: '' + patch: + operationId: wireless_wireless_links_bulk_partial_update + description: Patch a list of wireless link objects. + tags: + - wireless + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/WirelessLinkRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/WirelessLinkRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/WirelessLink' + description: '' + delete: + operationId: wireless_wireless_links_bulk_destroy + description: Delete a list of wireless link objects. + tags: + - wireless + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/WirelessLinkRequest' + multipart/form-data: + schema: + type: array + items: + $ref: '#/components/schemas/WirelessLinkRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body + /api/wireless/wireless-links/{id}/: + get: + operationId: wireless_wireless_links_retrieve + description: Get a wireless link object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this wireless link. + required: true + tags: + - wireless + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/WirelessLink' + description: '' + put: + operationId: wireless_wireless_links_update + description: Put a wireless link object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this wireless link. + required: true + tags: + - wireless + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableWirelessLinkRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/WritableWirelessLinkRequest' + required: true + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/WirelessLink' + description: '' + patch: + operationId: wireless_wireless_links_partial_update + description: Patch a wireless link object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this wireless link. + required: true + tags: + - wireless + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableWirelessLinkRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedWritableWirelessLinkRequest' + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/WirelessLink' + description: '' + delete: + operationId: wireless_wireless_links_destroy + description: Delete a wireless link object. + parameters: + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this wireless link. + required: true + tags: + - wireless + security: + - cookieAuth: [] + - tokenAuth: [] + responses: + '204': + description: No response body +components: + schemas: + ASN: + type: object + description: Adds support for custom fields and tags. + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display_url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + asn: + type: integer + maximum: 4294967295 + minimum: 1 + format: int64 + description: 16- or 32-bit autonomous system number + rir: + allOf: + - $ref: '#/components/schemas/BriefRIR' + nullable: true + tenant: + allOf: + - $ref: '#/components/schemas/BriefTenant' + nullable: true + description: + type: string + maxLength: 200 + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/NestedTag' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date-time + readOnly: true + nullable: true + last_updated: + type: string + format: date-time + readOnly: true + nullable: true + site_count: + type: integer + format: int64 + readOnly: true + provider_count: + type: integer + format: int64 + readOnly: true + required: + - asn + - created + - display + - id + - last_updated + - provider_count + - site_count + - url + ASNRange: + type: object + description: Adds support for custom fields and tags. + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display_url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + rir: + $ref: '#/components/schemas/BriefRIR' + start: + type: integer + maximum: 4294967295 + minimum: 1 + format: int64 + end: + type: integer + maximum: 4294967295 + minimum: 1 + format: int64 + tenant: + allOf: + - $ref: '#/components/schemas/BriefTenant' + nullable: true + description: + type: string + maxLength: 200 + tags: + type: array + items: + $ref: '#/components/schemas/NestedTag' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date-time + readOnly: true + nullable: true + last_updated: + type: string + format: date-time + readOnly: true + nullable: true + asn_count: + type: integer + readOnly: true + required: + - asn_count + - created + - display + - end + - id + - last_updated + - name + - rir + - slug + - start + - url + ASNRangeRequest: + type: object + description: Adds support for custom fields and tags. + properties: + name: + type: string + minLength: 1 + maxLength: 100 + slug: + type: string + minLength: 1 + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + rir: + $ref: '#/components/schemas/BriefRIRRequest' + start: + type: integer + maximum: 4294967295 + minimum: 1 + format: int64 + end: + type: integer + maximum: 4294967295 + minimum: 1 + format: int64 + tenant: + allOf: + - $ref: '#/components/schemas/BriefTenantRequest' + nullable: true + description: + type: string + maxLength: 200 + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} + required: + - end + - name + - rir + - slug + - start + ASNRequest: + type: object + description: Adds support for custom fields and tags. + properties: + asn: + type: integer + maximum: 4294967295 + minimum: 1 + format: int64 + description: 16- or 32-bit autonomous system number + rir: + allOf: + - $ref: '#/components/schemas/BriefRIRRequest' + nullable: true + tenant: + allOf: + - $ref: '#/components/schemas/BriefTenantRequest' + nullable: true + description: + type: string + maxLength: 200 + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} + required: + - asn + Aggregate: + type: object + description: Adds support for custom fields and tags. + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display_url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + family: + type: object + properties: + value: + enum: + - 4 + - 6 + type: integer + description: '* `4` - IPv4 + + * `6` - IPv6' + x-spec-enum-id: d72003fd1af3603d + label: + type: string + enum: + - IPv4 + - IPv6 + readOnly: true + prefix: + type: string + rir: + $ref: '#/components/schemas/BriefRIR' + tenant: + allOf: + - $ref: '#/components/schemas/BriefTenant' + nullable: true + date_added: + type: string + format: date + nullable: true + description: + type: string + maxLength: 200 + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/NestedTag' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date-time + readOnly: true + nullable: true + last_updated: + type: string + format: date-time + readOnly: true + nullable: true + required: + - created + - display + - family + - id + - last_updated + - prefix + - rir + - url + AggregateRequest: + type: object + description: Adds support for custom fields and tags. + properties: + prefix: + type: string + minLength: 1 + rir: + $ref: '#/components/schemas/BriefRIRRequest' + tenant: + allOf: + - $ref: '#/components/schemas/BriefTenantRequest' + nullable: true + date_added: + type: string + format: date + nullable: true + description: + type: string + maxLength: 200 + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} + required: + - prefix + - rir + AvailableASN: + type: object + description: Representation of an ASN which does not exist in the database. + properties: + asn: + type: integer + readOnly: true + description: + type: string + required: + - asn + AvailableIP: + type: object + description: Representation of an IP address which does not exist in the database. + properties: + family: + type: integer + readOnly: true + address: + type: string + readOnly: true + vrf: + allOf: + - $ref: '#/components/schemas/BriefVRF' + readOnly: true + nullable: true + description: + type: string + required: + - address + - family + - vrf + AvailablePrefix: + type: object + description: Representation of a prefix which does not exist in the database. + properties: + family: + type: integer + readOnly: true + prefix: + type: string + readOnly: true + vrf: + allOf: + - $ref: '#/components/schemas/BriefVRF' + readOnly: true + nullable: true + required: + - family + - prefix + - vrf + AvailableVLAN: + type: object + description: Representation of a VLAN which does not exist in the database. + properties: + vid: + type: integer + readOnly: true + group: + allOf: + - $ref: '#/components/schemas/BriefVLANGroup' + readOnly: true + nullable: true + required: + - group + - vid + Bookmark: + 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: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + object_type: + type: string + object_id: + type: integer + maximum: 9223372036854775807 + minimum: 0 + format: int64 + object: + nullable: true + readOnly: true + user: + $ref: '#/components/schemas/BriefUser' + created: + type: string + format: date-time + readOnly: true + required: + - created + - display + - id + - object + - object_id + - object_type + - url + - user + BookmarkRequest: + 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: + object_type: + type: string + object_id: + type: integer + maximum: 9223372036854775807 + minimum: 0 + format: int64 + user: + $ref: '#/components/schemas/BriefUserRequest' + required: + - object_id + - object_type + - user + BriefCable: + type: object + description: Adds support for custom fields and tags. + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + label: + type: string + maxLength: 100 + description: + type: string + maxLength: 200 + required: + - display + - id + - url + BriefCableRequest: + type: object + description: Adds support for custom fields and tags. + properties: + label: + type: string + maxLength: 100 + description: + type: string + maxLength: 200 + BriefCircuit: + type: object + description: Adds support for custom fields and tags. + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + cid: + type: string + title: Circuit ID + description: Unique circuit ID + maxLength: 100 + provider: + $ref: '#/components/schemas/BriefProvider' + description: + type: string + maxLength: 200 + required: + - cid + - display + - id + - provider + - url + BriefCircuitGroup: + type: object + description: Adds support for custom fields and tags. + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + name: + type: string + maxLength: 100 + required: + - display + - id + - name + - url + BriefCircuitGroupAssignmentSerializer_: + type: object + description: Base serializer for group assignments under CircuitSerializer. + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + group: + $ref: '#/components/schemas/BriefCircuitGroup' + priority: + type: object + properties: + value: + enum: + - primary + - secondary + - tertiary + - inactive + - '' + type: string + description: '* `primary` - Primary + + * `secondary` - Secondary + + * `tertiary` - Tertiary + + * `inactive` - Inactive' + x-spec-enum-id: ef3a31644cec7524 + label: + type: string + enum: + - Primary + - Secondary + - Tertiary + - Inactive + required: + - display + - group + - id + - url + BriefCircuitGroupAssignmentSerializer_Request: + type: object + description: Base serializer for group assignments under CircuitSerializer. + properties: + group: + $ref: '#/components/schemas/BriefCircuitGroupRequest' + priority: + enum: + - primary + - secondary + - tertiary + - inactive + - '' + type: string + description: '* `primary` - Primary + + * `secondary` - Secondary + + * `tertiary` - Tertiary + + * `inactive` - Inactive' + x-spec-enum-id: ef3a31644cec7524 + required: + - group + BriefCircuitGroupRequest: + type: object + description: Adds support for custom fields and tags. + properties: + name: + type: string + minLength: 1 + maxLength: 100 + required: + - name + BriefCircuitRequest: + type: object + description: Adds support for custom fields and tags. + properties: + cid: + type: string + minLength: 1 + title: Circuit ID + description: Unique circuit ID + maxLength: 100 + provider: + $ref: '#/components/schemas/BriefProviderRequest' + description: + type: string + maxLength: 200 + required: + - cid + - provider + BriefCircuitType: + type: object + description: Adds support for custom fields and tags. + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + circuit_count: + type: integer + format: int64 + readOnly: true + required: + - circuit_count + - display + - id + - name + - slug + - url + BriefCircuitTypeRequest: + type: object + description: Adds support for custom fields and tags. + properties: + name: + type: string + minLength: 1 + maxLength: 100 + slug: + type: string + minLength: 1 + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + required: + - name + - slug + BriefCluster: + type: object + description: Adds support for custom fields and tags. + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + name: + type: string + maxLength: 100 + description: + type: string + maxLength: 200 + virtualmachine_count: + type: integer + format: int64 + readOnly: true + required: + - display + - id + - name + - url + BriefClusterGroup: + type: object + description: Adds support for custom fields and tags. + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + cluster_count: + type: integer + format: int64 + readOnly: true + required: + - cluster_count + - display + - id + - name + - slug + - url + BriefClusterGroupRequest: + type: object + description: Adds support for custom fields and tags. + properties: + name: + type: string + minLength: 1 + maxLength: 100 + slug: + type: string + minLength: 1 + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + required: + - name + - slug + BriefClusterRequest: + type: object + description: Adds support for custom fields and tags. + properties: + name: + type: string + minLength: 1 + maxLength: 100 + description: + type: string + maxLength: 200 + required: + - name + BriefClusterType: + type: object + description: Adds support for custom fields and tags. + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + cluster_count: + type: integer + format: int64 + readOnly: true + required: + - cluster_count + - display + - id + - name + - slug + - url + BriefClusterTypeRequest: + type: object + description: Adds support for custom fields and tags. + properties: + name: + type: string + minLength: 1 + maxLength: 100 + slug: + type: string + minLength: 1 + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + required: + - name + - slug + BriefConfigTemplate: + type: object + description: 'Introduces support for Tag assignment. Adds `tags` serialization, + and handles tag assignment + + on create() and update().' + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + name: + type: string + maxLength: 100 + description: + type: string + maxLength: 200 + required: + - display + - id + - name + - url + BriefConfigTemplateRequest: + type: object + description: 'Introduces support for Tag assignment. Adds `tags` serialization, + and handles tag assignment + + on create() and update().' + properties: + name: + type: string + minLength: 1 + maxLength: 100 + description: + type: string + maxLength: 200 + required: + - name + BriefContact: + type: object + description: Adds support for custom fields and tags. + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + name: + type: string + maxLength: 100 + description: + type: string + maxLength: 200 + required: + - display + - id + - name + - url + BriefContactGroup: + type: object + description: Extends PrimaryModelSerializer to include MPTT support. + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + contact_count: + type: integer + readOnly: true + default: 0 + _depth: + type: integer + readOnly: true + title: ' depth' + required: + - _depth + - contact_count + - display + - id + - name + - slug + - url + BriefContactGroupRequest: + type: object + description: Extends PrimaryModelSerializer to include MPTT support. + properties: + name: + type: string + minLength: 1 + maxLength: 100 + slug: + type: string + minLength: 1 + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + required: + - name + - slug + BriefContactRequest: + type: object + description: Adds support for custom fields and tags. + properties: + name: + type: string + minLength: 1 + maxLength: 100 + description: + type: string + maxLength: 200 + required: + - name + BriefContactRole: + type: object + description: Adds support for custom fields and tags. + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + required: + - display + - id + - name + - slug + - url + BriefContactRoleRequest: + type: object + description: Adds support for custom fields and tags. + properties: + name: + type: string + minLength: 1 + maxLength: 100 + slug: + type: string + minLength: 1 + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + required: + - name + - slug + BriefCustomFieldChoiceSet: + 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: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + name: + type: string + maxLength: 100 + description: + type: string + maxLength: 200 + choices_count: + type: string + readOnly: true + required: + - choices_count + - display + - id + - name + - url + BriefCustomFieldChoiceSetRequest: + 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: + name: + type: string + minLength: 1 + maxLength: 100 + description: + type: string + maxLength: 200 + required: + - name + BriefDataFile: + type: object + description: Adds support for custom fields and tags. + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + path: + type: string + readOnly: true + description: File path relative to the data source's root + required: + - display + - id + - path + - url + BriefDataSource: + type: object + description: Adds support for custom fields and tags. + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + name: + type: string + maxLength: 100 + description: + type: string + maxLength: 200 + required: + - display + - id + - name + - url + BriefDataSourceRequest: + type: object + description: Adds support for custom fields and tags. + properties: + name: + type: string + minLength: 1 + maxLength: 100 + description: + type: string + maxLength: 200 + required: + - name + BriefDevice: + type: object + description: Adds support for custom fields and tags. + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + name: + type: string + nullable: true + maxLength: 64 + description: + type: string + maxLength: 200 + required: + - display + - id + - url + BriefDeviceRequest: + type: object + description: Adds support for custom fields and tags. + properties: + name: + type: string + nullable: true + maxLength: 64 + description: + type: string + maxLength: 200 + BriefDeviceRole: + type: object + description: Adds support for custom fields and tags. + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + device_count: + type: integer + format: int64 + readOnly: true + virtualmachine_count: + type: integer + format: int64 + readOnly: true + required: + - display + - id + - name + - slug + - url + BriefDeviceRoleRequest: + type: object + description: Adds support for custom fields and tags. + properties: + name: + type: string + minLength: 1 + maxLength: 100 + slug: + type: string + minLength: 1 + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + required: + - name + - slug + BriefDeviceType: + type: object + description: Adds support for custom fields and tags. + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + manufacturer: + $ref: '#/components/schemas/BriefManufacturer' + model: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + device_count: + type: integer + format: int64 + readOnly: true + required: + - display + - id + - manufacturer + - model + - slug + - url + BriefDeviceTypeRequest: + type: object + description: Adds support for custom fields and tags. + properties: + manufacturer: + $ref: '#/components/schemas/BriefManufacturerRequest' + model: + type: string + minLength: 1 + maxLength: 100 + slug: + type: string + minLength: 1 + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + required: + - manufacturer + - model + - slug + BriefFHRPGroup: + type: object + description: Adds support for custom fields and tags. + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + protocol: + enum: + - vrrp2 + - vrrp3 + - carp + - clusterxl + - hsrp + - glbp + - other + type: string + description: '* `vrrp2` - VRRPv2 + + * `vrrp3` - VRRPv3 + + * `carp` - CARP + + * `clusterxl` - ClusterXL + + * `hsrp` - HSRP + + * `glbp` - GLBP + + * `other` - Other' + x-spec-enum-id: 40dc831c689b4b78 + group_id: + type: integer + maximum: 32767 + minimum: 0 + description: + type: string + maxLength: 200 + required: + - display + - group_id + - id + - protocol + - url + BriefFHRPGroupRequest: + type: object + description: Adds support for custom fields and tags. + properties: + protocol: + enum: + - vrrp2 + - vrrp3 + - carp + - clusterxl + - hsrp + - glbp + - other + type: string + description: '* `vrrp2` - VRRPv2 + + * `vrrp3` - VRRPv3 + + * `carp` - CARP + + * `clusterxl` - ClusterXL + + * `hsrp` - HSRP + + * `glbp` - GLBP + + * `other` - Other' + x-spec-enum-id: 40dc831c689b4b78 + group_id: + type: integer + maximum: 32767 + minimum: 0 + description: + type: string + maxLength: 200 + required: + - group_id + - protocol + BriefIKEPolicy: + type: object + description: Adds support for custom fields and tags. + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + name: + type: string + maxLength: 100 + description: + type: string + maxLength: 200 + required: + - display + - id + - name + - url + BriefIKEPolicyRequest: + type: object + description: Adds support for custom fields and tags. + properties: + name: + type: string + minLength: 1 + maxLength: 100 + description: + type: string + maxLength: 200 + required: + - name + BriefIPAddress: + type: object + description: Adds support for custom fields and tags. + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + family: + type: object + properties: + value: + enum: + - 4 + - 6 + type: integer + description: '* `4` - IPv4 + + * `6` - IPv6' + x-spec-enum-id: d72003fd1af3603d + label: + type: string + enum: + - IPv4 + - IPv6 + readOnly: true + address: + type: string + description: + type: string + maxLength: 200 + required: + - address + - display + - family + - id + - url + BriefIPAddressRequest: + type: object + description: Adds support for custom fields and tags. + properties: + address: + type: string + minLength: 1 + description: + type: string + maxLength: 200 + required: + - address + BriefIPSecPolicy: + type: object + description: Adds support for custom fields and tags. + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + name: + type: string + maxLength: 100 + description: + type: string + maxLength: 200 + required: + - display + - id + - name + - url + BriefIPSecPolicyRequest: + type: object + description: Adds support for custom fields and tags. + properties: + name: + type: string + minLength: 1 + maxLength: 100 + description: + type: string + maxLength: 200 + required: + - name + BriefIPSecProfile: + type: object + description: Adds support for custom fields and tags. + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + name: + type: string + maxLength: 100 + description: + type: string + maxLength: 200 + required: + - display + - id + - name + - url + BriefIPSecProfileRequest: + type: object + description: Adds support for custom fields and tags. + properties: + name: + type: string + minLength: 1 + maxLength: 100 + description: + type: string + maxLength: 200 + required: + - name + BriefInterface: + type: object + description: Adds support for custom fields and tags. + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + device: + $ref: '#/components/schemas/BriefDevice' + name: + type: string + maxLength: 64 + description: + type: string + maxLength: 200 + cable: + allOf: + - $ref: '#/components/schemas/BriefCable' + readOnly: true + nullable: true + _occupied: + type: boolean + readOnly: true + title: ' occupied' + required: + - _occupied + - cable + - device + - display + - id + - name + - url + BriefInterfaceRequest: + type: object + description: Adds support for custom fields and tags. + properties: + device: + $ref: '#/components/schemas/BriefDeviceRequest' + name: + type: string + minLength: 1 + maxLength: 64 + description: + type: string + maxLength: 200 + required: + - device + - name + BriefInventoryItemRole: + type: object + description: Adds support for custom fields and tags. + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + inventoryitem_count: + type: integer + format: int64 + readOnly: true + required: + - display + - id + - inventoryitem_count + - name + - slug + - url + BriefInventoryItemRoleRequest: + type: object + description: Adds support for custom fields and tags. + properties: + name: + type: string + minLength: 1 + maxLength: 100 + slug: + type: string + minLength: 1 + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + required: + - name + - slug + BriefJob: + type: object + properties: + url: + type: string + format: uri + readOnly: true + status: + type: object + properties: + value: + enum: + - pending + - scheduled + - running + - completed + - errored + - failed + type: string + description: '* `pending` - Pending + + * `scheduled` - Scheduled + + * `running` - Running + + * `completed` - Completed + + * `errored` - Errored + + * `failed` - Failed' + x-spec-enum-id: e33887d83efcc138 + label: + type: string + enum: + - Pending + - Scheduled + - Running + - Completed + - Errored + - Failed + readOnly: true + created: + type: string + format: date-time + readOnly: true + completed: + type: string + format: date-time + nullable: true + user: + allOf: + - $ref: '#/components/schemas/BriefUser' + readOnly: true + required: + - created + - status + - url + - user + BriefJobRequest: + type: object + properties: + completed: + type: string + format: date-time + nullable: true + BriefL2VPN: + type: object + description: Adds support for custom fields and tags. + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + identifier: + type: integer + maximum: 9223372036854775807 + minimum: -9223372036854775808 + format: int64 + nullable: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: + type: object + properties: + value: + enum: + - vpws + - vpls + - vxlan + - vxlan-evpn + - mpls-evpn + - pbb-evpn + - epl + - evpl + - ep-lan + - evp-lan + - ep-tree + - evp-tree + type: string + description: '* `vpws` - VPWS + + * `vpls` - VPLS + + * `vxlan` - VXLAN + + * `vxlan-evpn` - VXLAN-EVPN + + * `mpls-evpn` - MPLS EVPN + + * `pbb-evpn` - PBB EVPN + + * `epl` - EPL + + * `evpl` - EVPL + + * `ep-lan` - Ethernet Private LAN + + * `evp-lan` - Ethernet Virtual Private LAN + + * `ep-tree` - Ethernet Private Tree + + * `evp-tree` - Ethernet Virtual Private Tree' + x-spec-enum-id: dbaa4f996ec2d110 + label: + type: string + enum: + - VPWS + - VPLS + - VXLAN + - VXLAN-EVPN + - MPLS EVPN + - PBB EVPN + - EPL + - EVPL + - Ethernet Private LAN + - Ethernet Virtual Private LAN + - Ethernet Private Tree + - Ethernet Virtual Private Tree + description: + type: string + maxLength: 200 + required: + - display + - id + - name + - slug + - url + BriefL2VPNRequest: + type: object + description: Adds support for custom fields and tags. + properties: + identifier: + type: integer + maximum: 9223372036854775807 + minimum: -9223372036854775808 + format: int64 + nullable: true + name: + type: string + minLength: 1 + maxLength: 100 + slug: + type: string + minLength: 1 + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: + enum: + - vpws + - vpls + - vxlan + - vxlan-evpn + - mpls-evpn + - pbb-evpn + - epl + - evpl + - ep-lan + - evp-lan + - ep-tree + - evp-tree + type: string + description: '* `vpws` - VPWS + + * `vpls` - VPLS + + * `vxlan` - VXLAN + + * `vxlan-evpn` - VXLAN-EVPN + + * `mpls-evpn` - MPLS EVPN + + * `pbb-evpn` - PBB EVPN + + * `epl` - EPL + + * `evpl` - EVPL + + * `ep-lan` - Ethernet Private LAN + + * `evp-lan` - Ethernet Virtual Private LAN + + * `ep-tree` - Ethernet Private Tree + + * `evp-tree` - Ethernet Virtual Private Tree' + x-spec-enum-id: dbaa4f996ec2d110 + description: + type: string + maxLength: 200 + required: + - name + - slug + BriefL2VPNTermination: + type: object + description: Adds support for custom fields and tags. + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + l2vpn: + $ref: '#/components/schemas/BriefL2VPN' + required: + - display + - id + - l2vpn + - url + BriefL2VPNTerminationRequest: + type: object + description: Adds support for custom fields and tags. + properties: + l2vpn: + $ref: '#/components/schemas/BriefL2VPNRequest' + required: + - l2vpn + BriefLocation: + type: object + description: Extends PrimaryModelSerializer to include MPTT support. + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + rack_count: + type: integer + readOnly: true + default: 0 + _depth: + type: integer + readOnly: true + title: ' depth' + required: + - _depth + - display + - id + - name + - rack_count + - slug + - url + BriefLocationRequest: + type: object + description: Extends PrimaryModelSerializer to include MPTT support. + properties: + name: + type: string + minLength: 1 + maxLength: 100 + slug: + type: string + minLength: 1 + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + required: + - name + - slug + BriefManufacturer: + type: object + description: Adds support for custom fields and tags. + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + devicetype_count: + type: integer + format: int64 + readOnly: true + required: + - display + - id + - name + - slug + - url + BriefManufacturerRequest: + type: object + description: Adds support for custom fields and tags. + properties: + name: + type: string + minLength: 1 + maxLength: 100 + slug: + type: string + minLength: 1 + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + required: + - name + - slug + BriefModule: + type: object + description: Adds support for custom fields and tags. + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + device: + $ref: '#/components/schemas/BriefDevice' + module_bay: + $ref: '#/components/schemas/NestedModuleBay' + required: + - device + - display + - id + - module_bay + - url + BriefModuleRequest: + type: object + description: Adds support for custom fields and tags. + properties: + device: + $ref: '#/components/schemas/BriefDeviceRequest' + module_bay: + $ref: '#/components/schemas/NestedModuleBayRequest' + required: + - device + - module_bay + BriefModuleType: + type: object + description: Adds support for custom fields and tags. + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + manufacturer: + $ref: '#/components/schemas/BriefManufacturer' + model: + type: string + maxLength: 100 + description: + type: string + maxLength: 200 + required: + - display + - id + - manufacturer + - model + - url + BriefModuleTypeRequest: + type: object + description: Adds support for custom fields and tags. + properties: + manufacturer: + $ref: '#/components/schemas/BriefManufacturerRequest' + model: + type: string + minLength: 1 + maxLength: 100 + description: + type: string + maxLength: 200 + required: + - manufacturer + - model + BriefPlatform: + type: object + description: Adds support for custom fields and tags. + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + device_count: + type: integer + format: int64 + readOnly: true + virtualmachine_count: + type: integer + format: int64 + readOnly: true + required: + - display + - id + - name + - slug + - url + BriefPlatformRequest: + type: object + description: Adds support for custom fields and tags. + properties: + name: + type: string + minLength: 1 + maxLength: 100 + slug: + type: string + minLength: 1 + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + required: + - name + - slug + BriefPowerPanel: + type: object + description: Adds support for custom fields and tags. + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + name: + type: string + maxLength: 100 + description: + type: string + maxLength: 200 + powerfeed_count: + type: integer + format: int64 + readOnly: true + required: + - display + - id + - name + - powerfeed_count + - url + BriefPowerPanelRequest: + type: object + description: Adds support for custom fields and tags. + properties: + name: + type: string + minLength: 1 + maxLength: 100 + description: + type: string + maxLength: 200 + required: + - name + BriefPowerPort: + type: object + description: Adds support for custom fields and tags. + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + device: + $ref: '#/components/schemas/BriefDevice' + name: + type: string + maxLength: 64 + description: + type: string + maxLength: 200 + cable: + allOf: + - $ref: '#/components/schemas/BriefCable' + readOnly: true + nullable: true + _occupied: + type: boolean + readOnly: true + title: ' occupied' + required: + - _occupied + - cable + - device + - display + - id + - name + - url + BriefPowerPortRequest: + type: object + description: Adds support for custom fields and tags. + properties: + device: + $ref: '#/components/schemas/BriefDeviceRequest' + name: + type: string + minLength: 1 + maxLength: 64 + description: + type: string + maxLength: 200 + required: + - device + - name + BriefPowerPortTemplate: + 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: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + name: + type: string + description: '{module} is accepted as a substitution for the module bay + position when attached to a module type.' + maxLength: 64 + description: + type: string + maxLength: 200 + required: + - display + - id + - name + - url + BriefPowerPortTemplateRequest: + 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: + name: + type: string + minLength: 1 + description: '{module} is accepted as a substitution for the module bay + position when attached to a module type.' + maxLength: 64 + description: + type: string + maxLength: 200 + required: + - name + BriefProvider: + type: object + description: Adds support for custom fields and tags. + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + name: + type: string + description: Full name of the provider + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + circuit_count: + type: integer + format: int64 + readOnly: true + required: + - circuit_count + - display + - id + - name + - slug + - url + BriefProviderAccount: + type: object + description: Adds support for custom fields and tags. + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + name: + type: string + default: '' + maxLength: 100 + account: + type: string + title: Account ID + maxLength: 100 + description: + type: string + maxLength: 200 + required: + - account + - display + - id + - url + BriefProviderAccountRequest: + type: object + description: Adds support for custom fields and tags. + properties: + name: + type: string + default: '' + maxLength: 100 + account: + type: string + minLength: 1 + title: Account ID + maxLength: 100 + description: + type: string + maxLength: 200 + required: + - account + BriefProviderNetwork: + type: object + description: Adds support for custom fields and tags. + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + name: + type: string + maxLength: 100 + description: + type: string + maxLength: 200 + required: + - display + - id + - name + - url + BriefProviderNetworkRequest: + type: object + description: Adds support for custom fields and tags. + properties: + name: + type: string + minLength: 1 + maxLength: 100 + description: + type: string + maxLength: 200 + required: + - name + BriefProviderRequest: + type: object + description: Adds support for custom fields and tags. + properties: + name: + type: string + minLength: 1 + description: Full name of the provider + maxLength: 100 + slug: + type: string + minLength: 1 + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + required: + - name + - slug + BriefRIR: + type: object + description: Adds support for custom fields and tags. + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + aggregate_count: + type: integer + format: int64 + readOnly: true + required: + - aggregate_count + - display + - id + - name + - slug + - url + BriefRIRRequest: + type: object + description: Adds support for custom fields and tags. + properties: + name: + type: string + minLength: 1 + maxLength: 100 + slug: + type: string + minLength: 1 + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + required: + - name + - slug + BriefRack: + type: object + description: Adds support for custom fields and tags. + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + name: + type: string + maxLength: 100 + description: + type: string + maxLength: 200 + device_count: + type: integer + format: int64 + readOnly: true + required: + - display + - id + - name + - url + BriefRackRequest: + type: object + description: Adds support for custom fields and tags. + properties: + name: + type: string + minLength: 1 + maxLength: 100 + description: + type: string + maxLength: 200 + required: + - name + BriefRackRole: + type: object + description: Adds support for custom fields and tags. + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + rack_count: + type: integer + format: int64 + readOnly: true + required: + - display + - id + - name + - rack_count + - slug + - url + BriefRackRoleRequest: + type: object + description: Adds support for custom fields and tags. + properties: + name: + type: string + minLength: 1 + maxLength: 100 + slug: + type: string + minLength: 1 + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + required: + - name + - slug + BriefRackType: + type: object + description: Adds support for custom fields and tags. + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + manufacturer: + $ref: '#/components/schemas/BriefManufacturer' + model: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + required: + - display + - id + - manufacturer + - model + - slug + - url + BriefRackTypeRequest: + type: object + description: Adds support for custom fields and tags. + properties: + manufacturer: + $ref: '#/components/schemas/BriefManufacturerRequest' + model: + type: string + minLength: 1 + maxLength: 100 + slug: + type: string + minLength: 1 + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + required: + - manufacturer + - model + - slug + BriefRearPortTemplate: + 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: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + name: + type: string + description: '{module} is accepted as a substitution for the module bay + position when attached to a module type.' + maxLength: 64 + description: + type: string + maxLength: 200 + required: + - display + - id + - name + - url + BriefRearPortTemplateRequest: + 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: + name: + type: string + minLength: 1 + description: '{module} is accepted as a substitution for the module bay + position when attached to a module type.' + maxLength: 64 + description: + type: string + maxLength: 200 + required: + - name + BriefRegion: + type: object + description: Extends PrimaryModelSerializer to include MPTT support. + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + site_count: + type: integer + readOnly: true + default: 0 + _depth: + type: integer + readOnly: true + title: ' depth' + required: + - _depth + - display + - id + - name + - site_count + - slug + - url + BriefRegionRequest: + type: object + description: Extends PrimaryModelSerializer to include MPTT support. + properties: + name: + type: string + minLength: 1 + maxLength: 100 + slug: + type: string + minLength: 1 + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + required: + - name + - slug + BriefRole: + type: object + description: Adds support for custom fields and tags. + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + prefix_count: + type: integer + format: int64 + readOnly: true + vlan_count: + type: integer + format: int64 + readOnly: true + required: + - display + - id + - name + - slug + - url + BriefRoleRequest: + type: object + description: Adds support for custom fields and tags. + properties: + name: + type: string + minLength: 1 + maxLength: 100 + slug: + type: string + minLength: 1 + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + required: + - name + - slug + BriefSite: type: object description: Adds support for custom fields and tags. properties: @@ -101604,60 +148648,103 @@ components: display: type: string readOnly: true - asn: - type: integer - maximum: 4294967295 - minimum: 1 - format: int64 - description: 16- or 32-bit autonomous system number - rir: - allOf: - - $ref: '#/components/schemas/RIR' - nullable: true - tenant: - allOf: - - $ref: '#/components/schemas/Tenant' - nullable: true + name: + type: string + description: Full name of the site + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ description: type: string maxLength: 200 - comments: - type: string - tags: - type: array - items: - $ref: '#/components/schemas/NestedTag' - custom_fields: - type: object - additionalProperties: {} - created: + required: + - display + - id + - name + - slug + - url + BriefSiteGroup: + type: object + description: Extends PrimaryModelSerializer to include MPTT support. + properties: + id: + type: integer + readOnly: true + url: type: string - format: date-time + format: uri readOnly: true - nullable: true - last_updated: + display: type: string - format: date-time readOnly: true - nullable: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 site_count: type: integer - format: int64 readOnly: true - provider_count: + default: 0 + _depth: type: integer - format: int64 readOnly: true + title: ' depth' required: - - asn - - created + - _depth - display - id - - last_updated - - provider_count + - name - site_count + - slug - url - ASNRange: + BriefSiteGroupRequest: + type: object + description: Extends PrimaryModelSerializer to include MPTT support. + properties: + name: + type: string + minLength: 1 + maxLength: 100 + slug: + type: string + minLength: 1 + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + required: + - name + - slug + BriefSiteRequest: + type: object + description: Adds support for custom fields and tags. + properties: + name: + type: string + minLength: 1 + description: Full name of the site + maxLength: 100 + slug: + type: string + minLength: 1 + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + required: + - name + - slug + BriefTenant: type: object description: Adds support for custom fields and tags. properties: @@ -101678,58 +148765,75 @@ components: type: string maxLength: 100 pattern: ^[-a-zA-Z0-9_]+$ - rir: - $ref: '#/components/schemas/RIR' - start: - type: integer - maximum: 4294967295 - minimum: 1 - format: int64 - end: - type: integer - maximum: 4294967295 - minimum: 1 - format: int64 - tenant: - allOf: - - $ref: '#/components/schemas/Tenant' - nullable: true description: type: string maxLength: 200 - tags: - type: array - items: - $ref: '#/components/schemas/NestedTag' - custom_fields: - type: object - additionalProperties: {} - created: + required: + - display + - id + - name + - slug + - url + BriefTenantGroup: + type: object + description: Extends PrimaryModelSerializer to include MPTT support. + properties: + id: + type: integer + readOnly: true + url: type: string - format: date-time + format: uri readOnly: true - nullable: true - last_updated: + display: type: string - format: date-time readOnly: true - nullable: true - asn_count: + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + tenant_count: + type: integer + readOnly: true + default: 0 + _depth: type: integer readOnly: true + title: ' depth' required: - - asn_count - - created + - _depth - display - - end - id - - last_updated - name - - rir - slug - - start + - tenant_count - url - ASNRangeRequest: + BriefTenantGroupRequest: + type: object + description: Extends PrimaryModelSerializer to include MPTT support. + properties: + name: + type: string + minLength: 1 + maxLength: 100 + slug: + type: string + minLength: 1 + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + required: + - name + - slug + BriefTenantRequest: type: object description: Adds support for custom fields and tags. properties: @@ -101742,73 +148846,110 @@ components: minLength: 1 maxLength: 100 pattern: ^[-a-zA-Z0-9_]+$ - rir: - $ref: '#/components/schemas/RIRRequest' - start: - type: integer - maximum: 4294967295 - minimum: 1 - format: int64 - end: - type: integer - maximum: 4294967295 - minimum: 1 - format: int64 - tenant: - allOf: - - $ref: '#/components/schemas/TenantRequest' - nullable: true description: type: string maxLength: 200 - tags: - type: array - items: - $ref: '#/components/schemas/NestedTagRequest' - custom_fields: - type: object - additionalProperties: {} required: - - end - name - - rir - slug - - start - ASNRequest: + BriefTunnel: type: object description: Adds support for custom fields and tags. properties: - asn: + id: type: integer - maximum: 4294967295 - minimum: 1 - format: int64 - description: 16- or 32-bit autonomous system number - rir: - allOf: - - $ref: '#/components/schemas/RIRRequest' - nullable: true - tenant: - allOf: - - $ref: '#/components/schemas/TenantRequest' - nullable: true + readOnly: true + url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + name: + type: string + maxLength: 100 description: type: string maxLength: 200 - comments: + required: + - display + - id + - name + - url + BriefTunnelGroup: + type: object + description: Adds support for custom fields and tags. + properties: + id: + type: integer + readOnly: true + url: type: string - tags: - type: array - items: - $ref: '#/components/schemas/NestedTagRequest' - custom_fields: - type: object - additionalProperties: {} + format: uri + readOnly: true + display: + type: string + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + tunnel_count: + type: integer + format: int64 + readOnly: true required: - - asn - Aggregate: + - display + - id + - name + - slug + - tunnel_count + - url + BriefTunnelGroupRequest: + type: object + description: Adds support for custom fields and tags. + properties: + name: + type: string + minLength: 1 + maxLength: 100 + slug: + type: string + minLength: 1 + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + required: + - name + - slug + BriefTunnelRequest: type: object description: Adds support for custom fields and tags. + properties: + name: + type: string + minLength: 1 + maxLength: 100 + description: + type: string + maxLength: 200 + required: + - name + BriefUser: + 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: integer @@ -101820,171 +148961,283 @@ components: display: type: string readOnly: true - family: - type: object - properties: - value: - enum: - - 4 - - 6 - type: integer - description: '* `4` - IPv4 + username: + type: string + description: Required. 150 characters or fewer. Letters, digits and @/./+/-/_ + only. + pattern: ^[\w.@+-]+$ + maxLength: 150 + required: + - display + - id + - url + - username + BriefUserRequest: + type: object + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during - * `6` - IPv6' - x-spec-enum-id: d72003fd1af3603d - label: - type: string - enum: - - IPv4 - - IPv6 + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + username: + type: string + minLength: 1 + description: Required. 150 characters or fewer. Letters, digits and @/./+/-/_ + only. + pattern: ^[\w.@+-]+$ + maxLength: 150 + required: + - username + BriefVLAN: + type: object + description: Adds support for custom fields and tags. + properties: + id: + type: integer readOnly: true - prefix: + url: type: string - rir: - $ref: '#/components/schemas/RIR' - tenant: - allOf: - - $ref: '#/components/schemas/Tenant' - nullable: true - date_added: + format: uri + readOnly: true + display: type: string - format: date - nullable: true + readOnly: true + vid: + type: integer + maximum: 4094 + minimum: 1 + title: VLAN ID + description: Numeric VLAN ID (1-4094) + name: + type: string + maxLength: 64 description: type: string maxLength: 200 - comments: + required: + - display + - id + - name + - url + - vid + BriefVLANGroup: + type: object + description: Adds support for custom fields and tags. + properties: + id: + type: integer + readOnly: true + url: type: string - tags: - type: array - items: - $ref: '#/components/schemas/NestedTag' - custom_fields: - type: object - additionalProperties: {} - created: + format: uri + readOnly: true + display: type: string - format: date-time readOnly: true - nullable: true - last_updated: + name: type: string - format: date-time + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + vlan_count: + type: integer + format: int64 readOnly: true - nullable: true required: - - created - display - - family - id - - last_updated - - prefix - - rir + - name + - slug - url - AggregateRequest: + BriefVLANGroupRequest: type: object description: Adds support for custom fields and tags. properties: - prefix: + name: type: string minLength: 1 - rir: - $ref: '#/components/schemas/RIRRequest' - tenant: - allOf: - - $ref: '#/components/schemas/TenantRequest' - nullable: true - date_added: + maxLength: 100 + slug: type: string - format: date - nullable: true + minLength: 1 + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ description: type: string maxLength: 200 - comments: - type: string - tags: - type: array - items: - $ref: '#/components/schemas/NestedTagRequest' - custom_fields: - type: object - additionalProperties: {} required: - - prefix - - rir - AvailableASN: + - name + - slug + BriefVLANRequest: type: object - description: Representation of an ASN which does not exist in the database. + description: Adds support for custom fields and tags. properties: - asn: + vid: type: integer - readOnly: true + maximum: 4094 + minimum: 1 + title: VLAN ID + description: Numeric VLAN ID (1-4094) + name: + type: string + minLength: 1 + maxLength: 64 description: type: string + maxLength: 200 required: - - asn - AvailableIP: + - name + - vid + BriefVRF: type: object - description: Representation of an IP address which does not exist in the database. + description: Adds support for custom fields and tags. properties: - family: + id: type: integer readOnly: true - address: + url: type: string + format: uri readOnly: true - vrf: - allOf: - - $ref: '#/components/schemas/VRF' + display: + type: string readOnly: true + name: + type: string + maxLength: 100 + rd: + type: string nullable: true + title: Route distinguisher + description: Unique route distinguisher (as defined in RFC 4364) + maxLength: 21 description: type: string + maxLength: 200 + prefix_count: + type: integer + format: int64 + readOnly: true required: - - address - - family - - vrf - AvailablePrefix: + - display + - id + - name + - url + BriefVRFRequest: type: object - description: Representation of a prefix which does not exist in the database. + description: Adds support for custom fields and tags. properties: - family: + name: + type: string + minLength: 1 + maxLength: 100 + rd: + type: string + nullable: true + title: Route distinguisher + description: Unique route distinguisher (as defined in RFC 4364) + maxLength: 21 + description: + type: string + maxLength: 200 + required: + - name + BriefVirtualChassis: + type: object + description: Adds support for custom fields and tags. + properties: + id: type: integer readOnly: true - prefix: + url: + type: string + format: uri + readOnly: true + display: type: string readOnly: true - vrf: + name: + type: string + maxLength: 64 + master: allOf: - - $ref: '#/components/schemas/VRF' + - $ref: '#/components/schemas/NestedDevice' + nullable: true + description: + type: string + maxLength: 200 + member_count: + type: integer readOnly: true + required: + - display + - id + - member_count + - name + - url + BriefVirtualChassisRequest: + type: object + description: Adds support for custom fields and tags. + properties: + name: + type: string + minLength: 1 + maxLength: 64 + master: + allOf: + - $ref: '#/components/schemas/NestedDeviceRequest' nullable: true + description: + type: string + maxLength: 200 required: - - family - - prefix - - vrf - AvailableVLAN: + - name + BriefVirtualMachine: type: object - description: Representation of a VLAN which does not exist in the database. + description: Adds support for custom fields and tags. properties: - vid: + id: type: integer readOnly: true - group: - allOf: - - $ref: '#/components/schemas/VLANGroup' + url: + type: string + format: uri readOnly: true - nullable: true + display: + type: string + readOnly: true + name: + type: string + maxLength: 64 + description: + type: string + maxLength: 200 required: - - group - - vid - Bookmark: + - display + - id + - name + - url + BriefVirtualMachineRequest: 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: Adds support for custom fields and tags. + properties: + name: + type: string + minLength: 1 + maxLength: 64 + description: + type: string + maxLength: 200 + required: + - name + BriefWirelessLANGroup: + type: object + description: Extends PrimaryModelSerializer to include MPTT support. properties: id: type: integer @@ -101996,51 +149249,51 @@ components: display: type: string readOnly: true - object_type: + name: type: string - object_id: + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + wirelesslan_count: type: integer - maximum: 9223372036854775807 - minimum: 0 - format: int64 - object: - nullable: true readOnly: true - user: - $ref: '#/components/schemas/User' - created: - type: string - format: date-time + default: 0 + _depth: + type: integer readOnly: true + title: ' depth' required: - - created + - _depth - display - id - - object - - object_id - - object_type + - name + - slug - url - - user - BookmarkRequest: + - wirelesslan_count + BriefWirelessLANGroupRequest: 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: Extends PrimaryModelSerializer to include MPTT support. properties: - object_type: + name: type: string - object_id: - type: integer - maximum: 9223372036854775807 - minimum: 0 - format: int64 - user: - $ref: '#/components/schemas/UserRequest' + minLength: 1 + maxLength: 100 + slug: + type: string + minLength: 1 + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 required: - - object_id - - object_type - - user + - name + - slug Cable: type: object description: Adds support for custom fields and tags. @@ -102052,29 +149305,354 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true + type: + 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 + - usb + - power + - '' + type: string + description: '* `cat3` - CAT3 + + * `cat5` - CAT5 + + * `cat5e` - CAT5e + + * `cat6` - CAT6 + + * `cat6a` - CAT6a + + * `cat7` - CAT7 + + * `cat7a` - CAT7a + + * `cat8` - CAT8 + + * `dac-active` - Direct Attach Copper (Active) + + * `dac-passive` - Direct Attach Copper (Passive) + + * `mrj21-trunk` - MRJ21 Trunk + + * `coaxial` - Coaxial + + * `mmf` - Multimode Fiber + + * `mmf-om1` - Multimode Fiber (OM1) + + * `mmf-om2` - Multimode Fiber (OM2) + + * `mmf-om3` - Multimode Fiber (OM3) + + * `mmf-om4` - Multimode Fiber (OM4) + + * `mmf-om5` - Multimode Fiber (OM5) + + * `smf` - Singlemode Fiber + + * `smf-os1` - Singlemode Fiber (OS1) + + * `smf-os2` - Singlemode Fiber (OS2) + + * `aoc` - Active Optical Cabling (AOC) + + * `usb` - USB + + * `power` - Power' + x-spec-enum-id: 7b11d524b2b1a7ef + a_terminations: + type: array + items: + $ref: '#/components/schemas/GenericObject' + b_terminations: + type: array + items: + $ref: '#/components/schemas/GenericObject' + status: + type: object + properties: + value: + enum: + - connected + - planned + - decommissioning + type: string + description: '* `connected` - Connected + + * `planned` - Planned + + * `decommissioning` - Decommissioning' + x-spec-enum-id: fbc2f302c08be50d + label: + type: string + enum: + - Connected + - Planned + - Decommissioning + tenant: + allOf: + - $ref: '#/components/schemas/BriefTenant' + nullable: true label: type: string maxLength: 100 + color: + type: string + pattern: ^[0-9a-f]{6}$ + maxLength: 6 + length: + type: number + format: double + maximum: 1000000 + minimum: -1000000 + exclusiveMaximum: true + exclusiveMinimum: true + nullable: true + length_unit: + type: object + properties: + value: + enum: + - km + - m + - cm + - mi + - ft + - in + - '' + type: string + description: '* `km` - Kilometers + + * `m` - Meters + + * `cm` - Centimeters + + * `mi` - Miles + + * `ft` - Feet + + * `in` - Inches' + x-spec-enum-id: e64ce3a2c5997172 + label: + type: string + enum: + - Kilometers + - Meters + - Centimeters + - Miles + - Feet + - Inches + nullable: true description: type: string maxLength: 200 + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/NestedTag' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date-time + readOnly: true + nullable: true + last_updated: + type: string + format: date-time + readOnly: true + nullable: true required: + - created - display - id + - last_updated - url CableRequest: type: object description: Adds support for custom fields and tags. properties: + type: + 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 + - usb + - power + - '' + type: string + description: '* `cat3` - CAT3 + + * `cat5` - CAT5 + + * `cat5e` - CAT5e + + * `cat6` - CAT6 + + * `cat6a` - CAT6a + + * `cat7` - CAT7 + + * `cat7a` - CAT7a + + * `cat8` - CAT8 + + * `dac-active` - Direct Attach Copper (Active) + + * `dac-passive` - Direct Attach Copper (Passive) + + * `mrj21-trunk` - MRJ21 Trunk + + * `coaxial` - Coaxial + + * `mmf` - Multimode Fiber + + * `mmf-om1` - Multimode Fiber (OM1) + + * `mmf-om2` - Multimode Fiber (OM2) + + * `mmf-om3` - Multimode Fiber (OM3) + + * `mmf-om4` - Multimode Fiber (OM4) + + * `mmf-om5` - Multimode Fiber (OM5) + + * `smf` - Singlemode Fiber + + * `smf-os1` - Singlemode Fiber (OS1) + + * `smf-os2` - Singlemode Fiber (OS2) + + * `aoc` - Active Optical Cabling (AOC) + + * `usb` - USB + + * `power` - Power' + x-spec-enum-id: 7b11d524b2b1a7ef + a_terminations: + type: array + items: + $ref: '#/components/schemas/GenericObjectRequest' + b_terminations: + type: array + items: + $ref: '#/components/schemas/GenericObjectRequest' + status: + enum: + - connected + - planned + - decommissioning + type: string + description: '* `connected` - Connected + + * `planned` - Planned + + * `decommissioning` - Decommissioning' + x-spec-enum-id: fbc2f302c08be50d + tenant: + allOf: + - $ref: '#/components/schemas/BriefTenantRequest' + nullable: true label: type: string maxLength: 100 + color: + type: string + pattern: ^[0-9a-f]{6}$ + maxLength: 6 + length: + type: number + format: double + maximum: 1000000 + minimum: -1000000 + exclusiveMaximum: true + exclusiveMinimum: true + nullable: true + length_unit: + enum: + - km + - m + - cm + - mi + - ft + - in + - '' + type: string + description: '* `km` - Kilometers + + * `m` - Meters + + * `cm` - Centimeters + + * `mi` - Miles + + * `ft` - Feet + + * `in` - Inches' + x-spec-enum-id: e64ce3a2c5997172 + nullable: true description: type: string maxLength: 200 + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} CableTermination: type: object description: Adds support for custom fields and tags. @@ -102171,6 +149749,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -102179,14 +149761,411 @@ components: title: Circuit ID description: Unique circuit ID maxLength: 100 + provider: + $ref: '#/components/schemas/BriefProvider' + provider_account: + allOf: + - $ref: '#/components/schemas/BriefProviderAccount' + nullable: true + type: + $ref: '#/components/schemas/BriefCircuitType' + status: + type: object + properties: + value: + enum: + - planned + - provisioning + - active + - offline + - deprovisioning + - decommissioned + type: string + description: '* `planned` - Planned + + * `provisioning` - Provisioning + + * `active` - Active + + * `offline` - Offline + + * `deprovisioning` - Deprovisioning + + * `decommissioned` - Decommissioned' + x-spec-enum-id: 63c838134a022200 + label: + type: string + enum: + - Planned + - Provisioning + - Active + - Offline + - Deprovisioning + - Decommissioned + tenant: + allOf: + - $ref: '#/components/schemas/BriefTenant' + nullable: true + install_date: + type: string + format: date + nullable: true + title: Installed + termination_date: + type: string + format: date + nullable: true + title: Terminates + commit_rate: + type: integer + maximum: 2147483647 + minimum: 0 + nullable: true + title: Commit rate (Kbps) + description: Committed rate description: type: string maxLength: 200 + termination_a: + allOf: + - $ref: '#/components/schemas/CircuitCircuitTermination' + readOnly: true + nullable: true + termination_z: + allOf: + - $ref: '#/components/schemas/CircuitCircuitTermination' + readOnly: true + nullable: true + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/NestedTag' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date-time + readOnly: true + nullable: true + last_updated: + type: string + format: date-time + readOnly: true + nullable: true + assignments: + type: array + items: + $ref: '#/components/schemas/BriefCircuitGroupAssignmentSerializer_' required: - cid + - created - display - id + - last_updated + - provider + - termination_a + - termination_z + - type - url + CircuitCircuitTermination: + type: object + description: 'Represents an object related through a ForeignKey field. On write, + it accepts a primary key (PK) value or a + + dictionary of attributes which can be used to uniquely identify the related + object. This class should be + + subclassed to return a full representation of the related object on read.' + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display_url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + site: + allOf: + - $ref: '#/components/schemas/BriefSite' + nullable: true + provider_network: + allOf: + - $ref: '#/components/schemas/BriefProviderNetwork' + nullable: true + port_speed: + type: integer + maximum: 2147483647 + minimum: 0 + nullable: true + title: Port speed (Kbps) + description: Physical circuit speed + upstream_speed: + type: integer + maximum: 2147483647 + minimum: 0 + nullable: true + title: Upstream speed (Kbps) + description: Upstream speed, if different from port speed + xconnect_id: + type: string + title: Cross-connect ID + description: ID of the local cross-connect + maxLength: 50 + description: + type: string + maxLength: 200 + required: + - display + - id + - provider_network + - site + - url + CircuitCircuitTerminationRequest: + type: object + description: 'Represents an object related through a ForeignKey field. On write, + it accepts a primary key (PK) value or a + + dictionary of attributes which can be used to uniquely identify the related + object. This class should be + + subclassed to return a full representation of the related object on read.' + properties: + site: + allOf: + - $ref: '#/components/schemas/BriefSiteRequest' + nullable: true + provider_network: + allOf: + - $ref: '#/components/schemas/BriefProviderNetworkRequest' + nullable: true + port_speed: + type: integer + maximum: 2147483647 + minimum: 0 + nullable: true + title: Port speed (Kbps) + description: Physical circuit speed + upstream_speed: + type: integer + maximum: 2147483647 + minimum: 0 + nullable: true + title: Upstream speed (Kbps) + description: Upstream speed, if different from port speed + xconnect_id: + type: string + title: Cross-connect ID + description: ID of the local cross-connect + maxLength: 50 + description: + type: string + maxLength: 200 + required: + - provider_network + - site + CircuitGroup: + type: object + description: Adds support for custom fields and tags. + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display_url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + tenant: + allOf: + - $ref: '#/components/schemas/BriefTenant' + nullable: true + tags: + type: array + items: + $ref: '#/components/schemas/NestedTag' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date-time + readOnly: true + nullable: true + last_updated: + type: string + format: date-time + readOnly: true + nullable: true + circuit_count: + type: integer + format: int64 + readOnly: true + required: + - circuit_count + - created + - display + - id + - last_updated + - name + - slug + - url + CircuitGroupAssignment: + type: object + description: Base serializer for group assignments under CircuitSerializer. + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display_url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + group: + $ref: '#/components/schemas/BriefCircuitGroup' + circuit: + $ref: '#/components/schemas/BriefCircuit' + priority: + type: object + properties: + value: + enum: + - primary + - secondary + - tertiary + - inactive + - '' + type: string + description: '* `primary` - Primary + + * `secondary` - Secondary + + * `tertiary` - Tertiary + + * `inactive` - Inactive' + x-spec-enum-id: ef3a31644cec7524 + label: + type: string + enum: + - Primary + - Secondary + - Tertiary + - Inactive + tags: + type: array + items: + $ref: '#/components/schemas/NestedTag' + created: + type: string + format: date-time + readOnly: true + nullable: true + last_updated: + type: string + format: date-time + readOnly: true + nullable: true + required: + - circuit + - created + - display + - group + - id + - last_updated + - url + CircuitGroupAssignmentRequest: + type: object + description: Base serializer for group assignments under CircuitSerializer. + properties: + group: + $ref: '#/components/schemas/BriefCircuitGroupRequest' + circuit: + $ref: '#/components/schemas/BriefCircuitRequest' + priority: + enum: + - primary + - secondary + - tertiary + - inactive + - '' + type: string + description: '* `primary` - Primary + + * `secondary` - Secondary + + * `tertiary` - Tertiary + + * `inactive` - Inactive' + x-spec-enum-id: ef3a31644cec7524 + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + required: + - circuit + - group + CircuitGroupRequest: + type: object + description: Adds support for custom fields and tags. + properties: + name: + type: string + minLength: 1 + maxLength: 100 + slug: + type: string + minLength: 1 + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + tenant: + allOf: + - $ref: '#/components/schemas/BriefTenantRequest' + nullable: true + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} + required: + - name + - slug CircuitRequest: type: object description: Adds support for custom fields and tags. @@ -102197,11 +150176,76 @@ components: title: Circuit ID description: Unique circuit ID maxLength: 100 + provider: + $ref: '#/components/schemas/BriefProviderRequest' + provider_account: + allOf: + - $ref: '#/components/schemas/BriefProviderAccountRequest' + nullable: true + type: + $ref: '#/components/schemas/BriefCircuitTypeRequest' + status: + enum: + - planned + - provisioning + - active + - offline + - deprovisioning + - decommissioned + type: string + description: '* `planned` - Planned + + * `provisioning` - Provisioning + + * `active` - Active + + * `offline` - Offline + + * `deprovisioning` - Deprovisioning + + * `decommissioned` - Decommissioned' + x-spec-enum-id: 63c838134a022200 + tenant: + allOf: + - $ref: '#/components/schemas/BriefTenantRequest' + nullable: true + install_date: + type: string + format: date + nullable: true + title: Installed + termination_date: + type: string + format: date + nullable: true + title: Terminates + commit_rate: + type: integer + maximum: 2147483647 + minimum: 0 + nullable: true + title: Commit rate (Kbps) + description: Committed rate description: type: string maxLength: 200 + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} + assignments: + type: array + items: + $ref: '#/components/schemas/BriefCircuitGroupAssignmentSerializer_Request' required: - cid + - provider + - type CircuitTermination: type: object description: Adds support for custom fields and tags. @@ -102213,11 +150257,15 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true circuit: - $ref: '#/components/schemas/Circuit' + $ref: '#/components/schemas/BriefCircuit' term_side: enum: - A @@ -102230,11 +150278,11 @@ components: title: Termination site: allOf: - - $ref: '#/components/schemas/Site' + - $ref: '#/components/schemas/BriefSite' nullable: true provider_network: allOf: - - $ref: '#/components/schemas/ProviderNetwork' + - $ref: '#/components/schemas/BriefProviderNetwork' nullable: true port_speed: type: integer @@ -102268,7 +150316,7 @@ components: description: Treat as if a cable is connected cable: allOf: - - $ref: '#/components/schemas/Cable' + - $ref: '#/components/schemas/BriefCable' readOnly: true nullable: true cable_end: @@ -102282,6 +150330,7 @@ components: type: string description: Return the type of the peer link terminations, or None. readOnly: true + nullable: true tags: type: array items: @@ -102321,7 +150370,7 @@ components: description: Adds support for custom fields and tags. properties: circuit: - $ref: '#/components/schemas/CircuitRequest' + $ref: '#/components/schemas/BriefCircuitRequest' term_side: enum: - A @@ -102334,11 +150383,11 @@ components: title: Termination site: allOf: - - $ref: '#/components/schemas/SiteRequest' + - $ref: '#/components/schemas/BriefSiteRequest' nullable: true provider_network: allOf: - - $ref: '#/components/schemas/ProviderNetworkRequest' + - $ref: '#/components/schemas/BriefProviderNetworkRequest' nullable: true port_speed: type: integer @@ -102391,6 +150440,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -102479,25 +150532,97 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true name: type: string maxLength: 100 + type: + $ref: '#/components/schemas/BriefClusterType' + group: + allOf: + - $ref: '#/components/schemas/BriefClusterGroup' + nullable: true + status: + type: object + properties: + value: + enum: + - planned + - staging + - active + - decommissioning + - offline + type: string + description: '* `planned` - Planned + + * `staging` - Staging + + * `active` - Active + + * `decommissioning` - Decommissioning + + * `offline` - Offline' + x-spec-enum-id: 79d20a734d0eecbb + label: + type: string + enum: + - Planned + - Staging + - Active + - Decommissioning + - Offline + tenant: + allOf: + - $ref: '#/components/schemas/BriefTenant' + nullable: true + site: + allOf: + - $ref: '#/components/schemas/BriefSite' + nullable: true description: type: string maxLength: 200 + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/NestedTag' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date-time + readOnly: true + nullable: true + last_updated: + type: string + format: date-time + readOnly: true + nullable: true + device_count: + type: integer + format: int64 + readOnly: true virtualmachine_count: type: integer format: int64 readOnly: true required: + - created - display - id + - last_updated - name + - type - url - - virtualmachine_count ClusterGroup: type: object description: Adds support for custom fields and tags. @@ -102509,6 +150634,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -102586,11 +150715,53 @@ components: type: string minLength: 1 maxLength: 100 + type: + $ref: '#/components/schemas/BriefClusterTypeRequest' + group: + allOf: + - $ref: '#/components/schemas/BriefClusterGroupRequest' + nullable: true + status: + enum: + - planned + - staging + - active + - decommissioning + - offline + type: string + description: '* `planned` - Planned + + * `staging` - Staging + + * `active` - Active + + * `decommissioning` - Decommissioning + + * `offline` - Offline' + x-spec-enum-id: 79d20a734d0eecbb + tenant: + allOf: + - $ref: '#/components/schemas/BriefTenantRequest' + nullable: true + site: + allOf: + - $ref: '#/components/schemas/BriefSiteRequest' + nullable: true description: type: string maxLength: 200 + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} required: - name + - type ClusterType: type: object description: Adds support for custom fields and tags. @@ -102602,6 +150773,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -102685,6 +150860,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -102753,14 +150932,14 @@ components: items: type: string data_source: - $ref: '#/components/schemas/DataSource' + $ref: '#/components/schemas/BriefDataSource' data_path: type: string readOnly: true description: Path to remote file (relative to data source root) data_file: allOf: - - $ref: '#/components/schemas/DataFile' + - $ref: '#/components/schemas/BriefDataFile' readOnly: true data_synced: type: string @@ -102864,7 +151043,7 @@ components: type: string minLength: 1 data_source: - $ref: '#/components/schemas/DataSourceRequest' + $ref: '#/components/schemas/BriefDataSourceRequest' data: {} required: - data @@ -102883,6 +151062,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -102892,10 +151075,51 @@ components: description: type: string maxLength: 200 + environment_params: + nullable: true + title: Environment parameters + description: Any additional + parameters to pass when constructing the Jinja2 environment. + template_code: + type: string + description: Jinja2 template code. + data_source: + $ref: '#/components/schemas/BriefDataSource' + data_path: + type: string + readOnly: true + description: Path to remote file (relative to data source root) + data_file: + $ref: '#/components/schemas/BriefDataFile' + data_synced: + type: string + format: date-time + readOnly: true + nullable: true + title: Date synced + tags: + type: array + items: + $ref: '#/components/schemas/NestedTag' + created: + type: string + format: date-time + readOnly: true + nullable: true + last_updated: + type: string + format: date-time + readOnly: true + nullable: true required: + - created + - data_path + - data_synced - display - id + - last_updated - name + - template_code - url ConfigTemplateRequest: type: object @@ -102911,8 +151135,24 @@ components: description: type: string maxLength: 200 + environment_params: + nullable: true + title: Environment parameters + description: Any additional + parameters to pass when constructing the Jinja2 environment. + template_code: + type: string + minLength: 1 + description: Jinja2 template code. + data_source: + $ref: '#/components/schemas/BriefDataSourceRequest' + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' required: - name + - template_code ConsolePort: type: object description: Adds support for custom fields and tags. @@ -102924,14 +151164,18 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true device: - $ref: '#/components/schemas/Device' + $ref: '#/components/schemas/BriefDevice' module: allOf: - - $ref: '#/components/schemas/Module' + - $ref: '#/components/schemas/BriefModule' nullable: true name: type: string @@ -103060,7 +151304,7 @@ components: description: Treat as if a cable is connected cable: allOf: - - $ref: '#/components/schemas/Cable' + - $ref: '#/components/schemas/BriefCable' readOnly: true nullable: true cable_end: @@ -103074,13 +151318,16 @@ components: type: string description: Return the type of the peer link terminations, or None. readOnly: true + nullable: true connected_endpoints: type: array items: {} + nullable: true readOnly: true connected_endpoints_type: type: string readOnly: true + nullable: true connected_endpoints_reachable: type: boolean readOnly: true @@ -103126,10 +151373,10 @@ components: description: Adds support for custom fields and tags. properties: device: - $ref: '#/components/schemas/DeviceRequest' + $ref: '#/components/schemas/BriefDeviceRequest' module: allOf: - - $ref: '#/components/schemas/ModuleRequest' + - $ref: '#/components/schemas/BriefModuleRequest' nullable: true name: type: string @@ -103251,11 +151498,11 @@ components: readOnly: true device_type: allOf: - - $ref: '#/components/schemas/DeviceType' + - $ref: '#/components/schemas/BriefDeviceType' nullable: true module_type: allOf: - - $ref: '#/components/schemas/ModuleType' + - $ref: '#/components/schemas/BriefModuleType' nullable: true name: type: string @@ -103365,11 +151612,11 @@ components: properties: device_type: allOf: - - $ref: '#/components/schemas/DeviceTypeRequest' + - $ref: '#/components/schemas/BriefDeviceTypeRequest' nullable: true module_type: allOf: - - $ref: '#/components/schemas/ModuleTypeRequest' + - $ref: '#/components/schemas/BriefModuleTypeRequest' nullable: true name: type: string @@ -103446,14 +151693,18 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true device: - $ref: '#/components/schemas/Device' + $ref: '#/components/schemas/BriefDevice' module: allOf: - - $ref: '#/components/schemas/Module' + - $ref: '#/components/schemas/BriefModule' nullable: true name: type: string @@ -103582,7 +151833,7 @@ components: description: Treat as if a cable is connected cable: allOf: - - $ref: '#/components/schemas/Cable' + - $ref: '#/components/schemas/BriefCable' readOnly: true nullable: true cable_end: @@ -103596,13 +151847,16 @@ components: type: string description: Return the type of the peer link terminations, or None. readOnly: true + nullable: true connected_endpoints: type: array items: {} + nullable: true readOnly: true connected_endpoints_type: type: string readOnly: true + nullable: true connected_endpoints_reachable: type: boolean readOnly: true @@ -103648,10 +151902,10 @@ components: description: Adds support for custom fields and tags. properties: device: - $ref: '#/components/schemas/DeviceRequest' + $ref: '#/components/schemas/BriefDeviceRequest' module: allOf: - - $ref: '#/components/schemas/ModuleRequest' + - $ref: '#/components/schemas/BriefModuleRequest' nullable: true name: type: string @@ -103773,11 +152027,11 @@ components: readOnly: true device_type: allOf: - - $ref: '#/components/schemas/DeviceType' + - $ref: '#/components/schemas/BriefDeviceType' nullable: true module_type: allOf: - - $ref: '#/components/schemas/ModuleType' + - $ref: '#/components/schemas/BriefModuleType' nullable: true name: type: string @@ -103887,11 +152141,11 @@ components: properties: device_type: allOf: - - $ref: '#/components/schemas/DeviceTypeRequest' + - $ref: '#/components/schemas/BriefDeviceTypeRequest' nullable: true module_type: allOf: - - $ref: '#/components/schemas/ModuleTypeRequest' + - $ref: '#/components/schemas/BriefModuleTypeRequest' nullable: true name: type: string @@ -103968,18 +152222,64 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true + group: + allOf: + - $ref: '#/components/schemas/BriefContactGroup' + nullable: true name: type: string maxLength: 100 + title: + type: string + maxLength: 100 + phone: + type: string + maxLength: 50 + email: + type: string + format: email + maxLength: 254 + address: + type: string + maxLength: 200 + link: + type: string + format: uri + maxLength: 200 description: type: string maxLength: 200 + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/NestedTag' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date-time + readOnly: true + nullable: true + last_updated: + type: string + format: date-time + readOnly: true + nullable: true required: + - created - display - id + - last_updated - name - url ContactAssignment: @@ -104008,10 +152308,10 @@ components: additionalProperties: {} readOnly: true contact: - $ref: '#/components/schemas/Contact' + $ref: '#/components/schemas/BriefContact' role: allOf: - - $ref: '#/components/schemas/ContactRole' + - $ref: '#/components/schemas/BriefContactRole' nullable: true priority: type: object @@ -104078,10 +152378,10 @@ components: minimum: 0 format: int64 contact: - $ref: '#/components/schemas/ContactRequest' + $ref: '#/components/schemas/BriefContactRequest' role: allOf: - - $ref: '#/components/schemas/ContactRoleRequest' + - $ref: '#/components/schemas/BriefContactRoleRequest' nullable: true priority: enum: @@ -104121,6 +152421,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -104207,13 +152511,43 @@ components: type: object description: Adds support for custom fields and tags. properties: + group: + allOf: + - $ref: '#/components/schemas/BriefContactGroupRequest' + nullable: true name: type: string minLength: 1 maxLength: 100 + title: + type: string + maxLength: 100 + phone: + type: string + maxLength: 50 + email: + type: string + format: email + maxLength: 254 + address: + type: string + maxLength: 200 + link: + type: string + format: uri + maxLength: 200 description: type: string maxLength: 200 + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} required: - name ContactRole: @@ -104227,6 +152561,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -104240,9 +152578,28 @@ components: description: type: string maxLength: 200 + tags: + type: array + items: + $ref: '#/components/schemas/NestedTag' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date-time + readOnly: true + nullable: true + last_updated: + type: string + format: date-time + readOnly: true + nullable: true required: + - created - display - id + - last_updated - name - slug - url @@ -104262,6 +152619,13 @@ components: description: type: string maxLength: 200 + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} required: - name - slug @@ -104279,6 +152643,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -104372,8 +152740,12 @@ components: maxLength: 200 required: type: boolean - description: If true, this field is required when creating new objects or - editing an existing object. + description: This field is required when creating new objects or editing + an existing object. + unique: + type: boolean + title: Must be unique + description: The value of this field must be unique for the assigned object search_weight: type: integer maximum: 32767 @@ -104450,6 +152822,10 @@ components: nullable: true description: Default value for the field (must be a JSON value). Encapsulate strings with double quotes (e.g. "Foo"). + related_object_filter: + nullable: true + description: Filter the object selection choices using a query_params dict + (must be a JSON value).Encapsulate strings with double quotes (e.g. "Foo"). weight: type: integer maximum: 32767 @@ -104480,7 +152856,7 @@ components: maxLength: 500 choice_set: allOf: - - $ref: '#/components/schemas/CustomFieldChoiceSet' + - $ref: '#/components/schemas/BriefCustomFieldChoiceSet' nullable: true comments: type: string @@ -104518,6 +152894,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -104695,8 +153075,12 @@ components: maxLength: 200 required: type: boolean - description: If true, this field is required when creating new objects or - editing an existing object. + description: This field is required when creating new objects or editing + an existing object. + unique: + type: boolean + title: Must be unique + description: The value of this field must be unique for the assigned object search_weight: type: integer maximum: 32767 @@ -104746,6 +153130,10 @@ components: nullable: true description: Default value for the field (must be a JSON value). Encapsulate strings with double quotes (e.g. "Foo"). + related_object_filter: + nullable: true + description: Filter the object selection choices using a query_params dict + (must be a JSON value).Encapsulate strings with double quotes (e.g. "Foo"). weight: type: integer maximum: 32767 @@ -104776,7 +153164,7 @@ components: maxLength: 500 choice_set: allOf: - - $ref: '#/components/schemas/CustomFieldChoiceSetRequest' + - $ref: '#/components/schemas/BriefCustomFieldChoiceSetRequest' nullable: true comments: type: string @@ -104798,6 +153186,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -104826,7 +153218,7 @@ components: maxLength: 50 button_class: enum: - - outline-dark + - default - blue - indigo - purple @@ -104842,12 +153234,12 @@ components: - white - ghost-dark type: string - x-spec-enum-id: 9378cdf56abee54a + x-spec-enum-id: ee8e5bb1ccdcdb19 description: 'The class of the first link in a group will be used for the dropdown button - * `outline-dark` - Default + * `default` - Default * `blue` - Blue @@ -104934,7 +153326,7 @@ components: maxLength: 50 button_class: enum: - - outline-dark + - default - blue - indigo - purple @@ -104950,12 +153342,12 @@ components: - white - ghost-dark type: string - x-spec-enum-id: 9378cdf56abee54a + x-spec-enum-id: ee8e5bb1ccdcdb19 description: 'The class of the first link in a group will be used for the dropdown button - * `outline-dark` - Default + * `default` - Default * `blue` - Blue @@ -105013,12 +153405,16 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true source: allOf: - - $ref: '#/components/schemas/DataSource' + - $ref: '#/components/schemas/BriefDataSource' readOnly: true path: type: string @@ -105055,19 +153451,118 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true name: type: string maxLength: 100 + type: + type: object + properties: + value: + enum: + - local + - git + - amazon-s3 + description: '* `None` - --------- + + * `local` - Local + + * `git` - Git + + * `amazon-s3` - Amazon S3' + x-spec-enum-id: 570db3f2d4e98ccf + label: + type: string + enum: + - '---------' + - Local + - Git + - Amazon S3 + source_url: + type: string + title: URL + maxLength: 200 + enabled: + type: boolean + status: + type: object + properties: + value: + enum: + - new + - queued + - syncing + - completed + - failed + type: string + description: '* `new` - New + + * `queued` - Queued + + * `syncing` - Syncing + + * `completed` - Completed + + * `failed` - Failed' + x-spec-enum-id: 6dfb2220617590c8 + label: + type: string + enum: + - New + - Queued + - Syncing + - Completed + - Failed + readOnly: true description: type: string maxLength: 200 + parameters: + nullable: true + ignore_rules: + type: string + description: Patterns (one per line) matching files to ignore when syncing + comments: + type: string + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date-time + readOnly: true + nullable: true + last_updated: + type: string + format: date-time + readOnly: true + nullable: true + last_synced: + type: string + format: date-time + readOnly: true + nullable: true + file_count: + type: integer + format: int64 + readOnly: true required: + - created - display + - file_count - id + - last_synced + - last_updated - name + - source_url + - status + - type - url DataSourceRequest: type: object @@ -105100,13 +153595,13 @@ components: description: type: string maxLength: 200 - comments: - type: string parameters: nullable: true ignore_rules: type: string description: Patterns (one per line) matching files to ignore when syncing + comments: + type: string custom_fields: type: object additionalProperties: {} @@ -105125,6 +153620,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -105133,16 +153632,16 @@ components: nullable: true maxLength: 64 device_type: - $ref: '#/components/schemas/DeviceType' + $ref: '#/components/schemas/BriefDeviceType' role: - $ref: '#/components/schemas/DeviceRole' + $ref: '#/components/schemas/BriefDeviceRole' tenant: allOf: - - $ref: '#/components/schemas/Tenant' + - $ref: '#/components/schemas/BriefTenant' nullable: true platform: allOf: - - $ref: '#/components/schemas/Platform' + - $ref: '#/components/schemas/BriefPlatform' nullable: true serial: type: string @@ -105155,14 +153654,14 @@ components: description: A unique tag used to identify this device maxLength: 50 site: - $ref: '#/components/schemas/Site' + $ref: '#/components/schemas/BriefSite' location: allOf: - - $ref: '#/components/schemas/Location' + - $ref: '#/components/schemas/BriefLocation' nullable: true rack: allOf: - - $ref: '#/components/schemas/Rack' + - $ref: '#/components/schemas/BriefRack' nullable: true position: type: number @@ -105211,8 +153710,8 @@ components: parent_device: allOf: - $ref: '#/components/schemas/NestedDevice' - readOnly: true nullable: true + readOnly: true status: type: object properties: @@ -105290,28 +153789,28 @@ components: - Mixed primary_ip: allOf: - - $ref: '#/components/schemas/IPAddress' + - $ref: '#/components/schemas/BriefIPAddress' readOnly: true nullable: true primary_ip4: allOf: - - $ref: '#/components/schemas/IPAddress' + - $ref: '#/components/schemas/BriefIPAddress' nullable: true primary_ip6: allOf: - - $ref: '#/components/schemas/IPAddress' + - $ref: '#/components/schemas/BriefIPAddress' nullable: true oob_ip: allOf: - - $ref: '#/components/schemas/IPAddress' + - $ref: '#/components/schemas/BriefIPAddress' nullable: true cluster: allOf: - - $ref: '#/components/schemas/Cluster' + - $ref: '#/components/schemas/BriefCluster' nullable: true virtual_chassis: allOf: - - $ref: '#/components/schemas/VirtualChassis' + - $ref: '#/components/schemas/BriefVirtualChassis' nullable: true vc_position: type: integer @@ -105331,7 +153830,7 @@ components: type: string config_template: allOf: - - $ref: '#/components/schemas/ConfigTemplate' + - $ref: '#/components/schemas/BriefConfigTemplate' nullable: true local_context_data: nullable: true @@ -105385,26 +153884,11 @@ components: type: integer readOnly: true required: - - console_port_count - - console_server_port_count - - created - - device_bay_count - - device_type - - display - - front_port_count - id - - interface_count - - inventory_item_count - - last_updated - - module_bay_count - - parent_device - - power_outlet_count - - power_port_count - - primary_ip - - rear_port_count - - role - - site - url + - display + - name + - description DeviceBay: type: object description: Adds support for custom fields and tags. @@ -105416,11 +153900,15 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true device: - $ref: '#/components/schemas/Device' + $ref: '#/components/schemas/BriefDevice' name: type: string maxLength: 64 @@ -105433,7 +153921,7 @@ components: maxLength: 200 installed_device: allOf: - - $ref: '#/components/schemas/Device' + - $ref: '#/components/schemas/BriefDevice' nullable: true tags: type: array @@ -105465,7 +153953,7 @@ components: description: Adds support for custom fields and tags. properties: device: - $ref: '#/components/schemas/DeviceRequest' + $ref: '#/components/schemas/BriefDeviceRequest' name: type: string minLength: 1 @@ -105479,7 +153967,7 @@ components: maxLength: 200 installed_device: allOf: - - $ref: '#/components/schemas/DeviceRequest' + - $ref: '#/components/schemas/BriefDeviceRequest' nullable: true tags: type: array @@ -105509,7 +153997,7 @@ components: type: string readOnly: true device_type: - $ref: '#/components/schemas/DeviceType' + $ref: '#/components/schemas/BriefDeviceType' name: type: string description: '{module} is accepted as a substitution for the module bay @@ -105548,7 +154036,7 @@ components: validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' properties: device_type: - $ref: '#/components/schemas/DeviceTypeRequest' + $ref: '#/components/schemas/BriefDeviceTypeRequest' name: type: string minLength: 1 @@ -105565,17 +154053,6 @@ components: required: - device_type - name - DeviceRequest: - type: object - description: Adds support for custom fields and tags. - properties: - name: - type: string - nullable: true - maxLength: 64 - description: - type: string - maxLength: 200 DeviceRole: type: object description: Adds support for custom fields and tags. @@ -105587,6 +154064,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -105597,9 +154078,37 @@ components: type: string maxLength: 100 pattern: ^[-a-zA-Z0-9_]+$ + color: + type: string + pattern: ^[0-9a-f]{6}$ + maxLength: 6 + vm_role: + type: boolean + description: Virtual machines may be assigned to this role + config_template: + allOf: + - $ref: '#/components/schemas/BriefConfigTemplate' + nullable: true description: type: string maxLength: 200 + tags: + type: array + items: + $ref: '#/components/schemas/NestedTag' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date-time + readOnly: true + nullable: true + last_updated: + type: string + format: date-time + readOnly: true + nullable: true device_count: type: integer format: int64 @@ -105609,13 +154118,13 @@ components: format: int64 readOnly: true required: - - device_count + - created - display - id + - last_updated - name - slug - url - - virtualmachine_count DeviceRoleRequest: type: object description: Adds support for custom fields and tags. @@ -105639,7 +154148,7 @@ components: description: Virtual machines may be assigned to this role config_template: allOf: - - $ref: '#/components/schemas/ConfigTemplateRequest' + - $ref: '#/components/schemas/BriefConfigTemplateRequest' nullable: true description: type: string @@ -105665,11 +154174,19 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true manufacturer: - $ref: '#/components/schemas/Manufacturer' + $ref: '#/components/schemas/BriefManufacturer' + default_platform: + allOf: + - $ref: '#/components/schemas/BriefPlatform' + nullable: true model: type: string maxLength: 100 @@ -105677,19 +154194,198 @@ components: type: string maxLength: 100 pattern: ^[-a-zA-Z0-9_]+$ + part_number: + type: string + description: Discrete part number (optional) + maxLength: 50 + u_height: + type: number + format: double + maximum: 1000 + minimum: 0 + exclusiveMaximum: true + default: 1.0 + title: Position (U) + exclude_from_utilization: + type: boolean + description: Devices of this type are excluded when calculating rack utilization. + is_full_depth: + type: boolean + description: Device consumes both front and rear rack faces. + subdevice_role: + type: object + properties: + value: + enum: + - parent + - child + - '' + type: string + description: '* `parent` - Parent + + * `child` - Child' + x-spec-enum-id: d10d91f690a856c2 + label: + type: string + enum: + - Parent + - Child + nullable: true + airflow: + type: object + properties: + value: + enum: + - front-to-rear + - rear-to-front + - left-to-right + - right-to-left + - side-to-rear + - passive + - mixed + - '' + type: string + description: '* `front-to-rear` - Front to rear + + * `rear-to-front` - Rear to front + + * `left-to-right` - Left to right + + * `right-to-left` - Right to left + + * `side-to-rear` - Side to rear + + * `passive` - Passive + + * `mixed` - Mixed' + x-spec-enum-id: 58e389e240a5e53d + label: + type: string + enum: + - Front to rear + - Rear to front + - Left to right + - Right to left + - Side to rear + - Passive + - Mixed + nullable: true + weight: + type: number + format: double + maximum: 1000000 + minimum: -1000000 + exclusiveMaximum: true + exclusiveMinimum: true + nullable: true + weight_unit: + type: object + properties: + value: + enum: + - kg + - g + - lb + - oz + - '' + type: string + description: '* `kg` - Kilograms + + * `g` - Grams + + * `lb` - Pounds + + * `oz` - Ounces' + x-spec-enum-id: 7c1876f422815884 + label: + type: string + enum: + - Kilograms + - Grams + - Pounds + - Ounces + nullable: true + front_image: + type: string + format: uri + nullable: true + rear_image: + type: string + format: uri + nullable: true description: type: string maxLength: 200 + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/NestedTag' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date-time + readOnly: true + nullable: true + last_updated: + type: string + format: date-time + readOnly: true + nullable: true device_count: type: integer format: int64 readOnly: true + console_port_template_count: + type: integer + readOnly: true + console_server_port_template_count: + type: integer + readOnly: true + power_port_template_count: + type: integer + readOnly: true + power_outlet_template_count: + type: integer + readOnly: true + interface_template_count: + type: integer + readOnly: true + front_port_template_count: + type: integer + readOnly: true + rear_port_template_count: + type: integer + readOnly: true + device_bay_template_count: + type: integer + readOnly: true + module_bay_template_count: + type: integer + readOnly: true + inventory_item_template_count: + type: integer + readOnly: true required: - - device_count + - console_port_template_count + - console_server_port_template_count + - created + - device_bay_template_count - display + - front_port_template_count - id + - interface_template_count + - inventory_item_template_count + - last_updated - manufacturer - model + - module_bay_template_count + - power_outlet_template_count + - power_port_template_count + - rear_port_template_count - slug - url DeviceTypeRequest: @@ -105697,7 +154393,11 @@ components: description: Adds support for custom fields and tags. properties: manufacturer: - $ref: '#/components/schemas/ManufacturerRequest' + $ref: '#/components/schemas/BriefManufacturerRequest' + default_platform: + allOf: + - $ref: '#/components/schemas/BriefPlatformRequest' + nullable: true model: type: string minLength: 1 @@ -105707,9 +154407,104 @@ components: minLength: 1 maxLength: 100 pattern: ^[-a-zA-Z0-9_]+$ + part_number: + type: string + description: Discrete part number (optional) + maxLength: 50 + u_height: + type: number + format: double + maximum: 1000 + minimum: 0 + exclusiveMaximum: true + default: 1.0 + title: Position (U) + exclude_from_utilization: + type: boolean + description: Devices of this type are excluded when calculating rack utilization. + is_full_depth: + type: boolean + description: Device consumes both front and rear rack faces. + subdevice_role: + enum: + - parent + - child + - '' + type: string + description: '* `parent` - Parent + + * `child` - Child' + x-spec-enum-id: d10d91f690a856c2 + nullable: true + airflow: + enum: + - front-to-rear + - rear-to-front + - left-to-right + - right-to-left + - side-to-rear + - passive + - mixed + - '' + type: string + description: '* `front-to-rear` - Front to rear + + * `rear-to-front` - Rear to front + + * `left-to-right` - Left to right + + * `right-to-left` - Right to left + + * `side-to-rear` - Side to rear + + * `passive` - Passive + + * `mixed` - Mixed' + x-spec-enum-id: 58e389e240a5e53d + nullable: true + weight: + type: number + format: double + maximum: 1000000 + minimum: -1000000 + exclusiveMaximum: true + exclusiveMinimum: true + nullable: true + weight_unit: + enum: + - kg + - g + - lb + - oz + - '' + type: string + description: '* `kg` - Kilograms + + * `g` - Grams + + * `lb` - Pounds + + * `oz` - Ounces' + x-spec-enum-id: 7c1876f422815884 + nullable: true + front_image: + type: string + format: binary + rear_image: + type: string + format: binary description: type: string maxLength: 200 + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} required: - manufacturer - model @@ -105725,6 +154520,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -105733,16 +154532,16 @@ components: nullable: true maxLength: 64 device_type: - $ref: '#/components/schemas/DeviceType' + $ref: '#/components/schemas/BriefDeviceType' role: - $ref: '#/components/schemas/DeviceRole' + $ref: '#/components/schemas/BriefDeviceRole' tenant: allOf: - - $ref: '#/components/schemas/Tenant' + - $ref: '#/components/schemas/BriefTenant' nullable: true platform: allOf: - - $ref: '#/components/schemas/Platform' + - $ref: '#/components/schemas/BriefPlatform' nullable: true serial: type: string @@ -105755,14 +154554,14 @@ components: description: A unique tag used to identify this device maxLength: 50 site: - $ref: '#/components/schemas/Site' + $ref: '#/components/schemas/BriefSite' location: allOf: - - $ref: '#/components/schemas/Location' + - $ref: '#/components/schemas/BriefLocation' nullable: true rack: allOf: - - $ref: '#/components/schemas/Rack' + - $ref: '#/components/schemas/BriefRack' nullable: true position: type: number @@ -105811,8 +154610,8 @@ components: parent_device: allOf: - $ref: '#/components/schemas/NestedDevice' - readOnly: true nullable: true + readOnly: true status: type: object properties: @@ -105890,28 +154689,28 @@ components: - Mixed primary_ip: allOf: - - $ref: '#/components/schemas/IPAddress' + - $ref: '#/components/schemas/BriefIPAddress' readOnly: true nullable: true primary_ip4: allOf: - - $ref: '#/components/schemas/IPAddress' + - $ref: '#/components/schemas/BriefIPAddress' nullable: true primary_ip6: allOf: - - $ref: '#/components/schemas/IPAddress' + - $ref: '#/components/schemas/BriefIPAddress' nullable: true oob_ip: allOf: - - $ref: '#/components/schemas/IPAddress' + - $ref: '#/components/schemas/BriefIPAddress' nullable: true cluster: allOf: - - $ref: '#/components/schemas/Cluster' + - $ref: '#/components/schemas/BriefCluster' nullable: true virtual_chassis: allOf: - - $ref: '#/components/schemas/VirtualChassis' + - $ref: '#/components/schemas/BriefVirtualChassis' nullable: true vc_position: type: integer @@ -105931,7 +154730,7 @@ components: type: string config_template: allOf: - - $ref: '#/components/schemas/ConfigTemplate' + - $ref: '#/components/schemas/BriefConfigTemplate' nullable: true config_context: nullable: true @@ -106018,16 +154817,16 @@ components: nullable: true maxLength: 64 device_type: - $ref: '#/components/schemas/DeviceTypeRequest' + $ref: '#/components/schemas/BriefDeviceTypeRequest' role: - $ref: '#/components/schemas/DeviceRoleRequest' + $ref: '#/components/schemas/BriefDeviceRoleRequest' tenant: allOf: - - $ref: '#/components/schemas/TenantRequest' + - $ref: '#/components/schemas/BriefTenantRequest' nullable: true platform: allOf: - - $ref: '#/components/schemas/PlatformRequest' + - $ref: '#/components/schemas/BriefPlatformRequest' nullable: true serial: type: string @@ -106040,14 +154839,14 @@ components: description: A unique tag used to identify this device maxLength: 50 site: - $ref: '#/components/schemas/SiteRequest' + $ref: '#/components/schemas/BriefSiteRequest' location: allOf: - - $ref: '#/components/schemas/LocationRequest' + - $ref: '#/components/schemas/BriefLocationRequest' nullable: true rack: allOf: - - $ref: '#/components/schemas/RackRequest' + - $ref: '#/components/schemas/BriefRackRequest' nullable: true position: type: number @@ -106136,23 +154935,23 @@ components: x-spec-enum-id: 58e389e240a5e53d primary_ip4: allOf: - - $ref: '#/components/schemas/IPAddressRequest' + - $ref: '#/components/schemas/BriefIPAddressRequest' nullable: true primary_ip6: allOf: - - $ref: '#/components/schemas/IPAddressRequest' + - $ref: '#/components/schemas/BriefIPAddressRequest' nullable: true oob_ip: allOf: - - $ref: '#/components/schemas/IPAddressRequest' + - $ref: '#/components/schemas/BriefIPAddressRequest' nullable: true cluster: allOf: - - $ref: '#/components/schemas/ClusterRequest' + - $ref: '#/components/schemas/BriefClusterRequest' nullable: true virtual_chassis: allOf: - - $ref: '#/components/schemas/VirtualChassisRequest' + - $ref: '#/components/schemas/BriefVirtualChassisRequest' nullable: true vc_position: type: integer @@ -106172,7 +154971,7 @@ components: type: string config_template: allOf: - - $ref: '#/components/schemas/ConfigTemplateRequest' + - $ref: '#/components/schemas/BriefConfigTemplateRequest' nullable: true local_context_data: nullable: true @@ -106200,6 +154999,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -106210,28 +155013,35 @@ components: name: type: string maxLength: 150 - type_create: - type: boolean - title: On create - description: Triggers when a matching object is created. - type_update: - type: boolean - title: On update - description: Triggers when a matching object is updated. - type_delete: - type: boolean - title: On delete - description: Triggers when a matching object is deleted. - type_job_start: - type: boolean - title: On job start - description: Triggers when a job for a matching object is started. - type_job_end: - type: boolean - title: On job end - description: Triggers when a job for a matching object terminates. enabled: type: boolean + event_types: + type: array + items: + enum: + - object_created + - object_updated + - object_deleted + - job_started + - job_completed + - job_failed + - job_errored + type: string + description: '* `object_created` - Object created + + * `object_updated` - Object updated + + * `object_deleted` - Object deleted + + * `job_started` - Job started + + * `job_completed` - Job completed + + * `job_failed` - Job failed + + * `job_errored` - Job errored' + x-spec-enum-id: 80d172232f4af424 + description: The types of event which will trigger this rule. conditions: nullable: true description: A set of conditions which determine whether the event will @@ -106243,16 +155053,20 @@ components: enum: - webhook - script + - notification type: string description: '* `webhook` - Webhook - * `script` - Script' - x-spec-enum-id: a08300d86473de6e + * `script` - Script + + * `notification` - Notification' + x-spec-enum-id: d07193c73ebc03c6 label: type: string enum: - Webhook - Script + - Notification action_object_type: type: string action_object_id: @@ -106291,6 +155105,7 @@ components: - action_type - created - display + - event_types - id - last_updated - name @@ -106308,28 +155123,35 @@ components: type: string minLength: 1 maxLength: 150 - type_create: - type: boolean - title: On create - description: Triggers when a matching object is created. - type_update: - type: boolean - title: On update - description: Triggers when a matching object is updated. - type_delete: - type: boolean - title: On delete - description: Triggers when a matching object is deleted. - type_job_start: - type: boolean - title: On job start - description: Triggers when a job for a matching object is started. - type_job_end: - type: boolean - title: On job end - description: Triggers when a job for a matching object terminates. enabled: type: boolean + event_types: + type: array + items: + enum: + - object_created + - object_updated + - object_deleted + - job_started + - job_completed + - job_failed + - job_errored + type: string + description: '* `object_created` - Object created + + * `object_updated` - Object updated + + * `object_deleted` - Object deleted + + * `job_started` - Job started + + * `job_completed` - Job completed + + * `job_failed` - Job failed + + * `job_errored` - Job errored' + x-spec-enum-id: 80d172232f4af424 + description: The types of event which will trigger this rule. conditions: nullable: true description: A set of conditions which determine whether the event will @@ -106338,11 +155160,14 @@ components: enum: - webhook - script + - notification type: string description: '* `webhook` - Webhook - * `script` - Script' - x-spec-enum-id: a08300d86473de6e + * `script` - Script + + * `notification` - Notification' + x-spec-enum-id: d07193c73ebc03c6 action_object_type: type: string action_object_id: @@ -106364,6 +155189,7 @@ components: required: - action_object_type - action_type + - event_types - name - object_types ExportTemplate: @@ -106380,6 +155206,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -106409,14 +155239,14 @@ components: type: boolean description: Download file as attachment data_source: - $ref: '#/components/schemas/DataSource' + $ref: '#/components/schemas/BriefDataSource' data_path: type: string readOnly: true description: Path to remote file (relative to data source root) data_file: allOf: - - $ref: '#/components/schemas/DataFile' + - $ref: '#/components/schemas/BriefDataFile' readOnly: true data_synced: type: string @@ -106481,7 +155311,7 @@ components: type: boolean description: Download file as attachment data_source: - $ref: '#/components/schemas/DataSourceRequest' + $ref: '#/components/schemas/BriefDataSourceRequest' required: - name - object_types @@ -106493,10 +155323,17 @@ components: id: type: integer readOnly: true + name: + type: string + maxLength: 100 url: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -106528,13 +155365,55 @@ components: type: integer maximum: 32767 minimum: 0 + auth_type: + enum: + - plaintext + - md5 + - '' + type: string + description: '* `plaintext` - Plaintext + + * `md5` - MD5' + x-spec-enum-id: 12b9faea3a45bf37 + title: Authentication type + auth_key: + type: string + title: Authentication key + maxLength: 255 description: type: string maxLength: 200 + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/NestedTag' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date-time + readOnly: true + nullable: true + last_updated: + type: string + format: date-time + readOnly: true + nullable: true + ip_addresses: + type: array + items: + $ref: '#/components/schemas/BriefIPAddress' + readOnly: true required: + - created - display - group_id - id + - ip_addresses + - last_updated - protocol - url FHRPGroupAssignment: @@ -106552,7 +155431,7 @@ components: type: string readOnly: true group: - $ref: '#/components/schemas/FHRPGroup' + $ref: '#/components/schemas/BriefFHRPGroup' interface_type: type: string interface_id: @@ -106593,7 +155472,7 @@ components: description: Adds support for custom fields and tags. properties: group: - $ref: '#/components/schemas/FHRPGroupRequest' + $ref: '#/components/schemas/BriefFHRPGroupRequest' interface_type: type: string interface_id: @@ -106614,6 +155493,9 @@ components: type: object description: Adds support for custom fields and tags. properties: + name: + type: string + maxLength: 100 protocol: enum: - vrrp2 @@ -106642,9 +155524,33 @@ components: type: integer maximum: 32767 minimum: 0 + auth_type: + enum: + - plaintext + - md5 + - '' + type: string + description: '* `plaintext` - Plaintext + + * `md5` - MD5' + x-spec-enum-id: 12b9faea3a45bf37 + title: Authentication type + auth_key: + type: string + title: Authentication key + maxLength: 255 description: type: string maxLength: 200 + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} required: - group_id - protocol @@ -106659,14 +155565,18 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true device: - $ref: '#/components/schemas/Device' + $ref: '#/components/schemas/BriefDevice' module: allOf: - - $ref: '#/components/schemas/Module' + - $ref: '#/components/schemas/BriefModule' nullable: true name: type: string @@ -106726,6 +155636,14 @@ components: - urm-p4 - urm-p8 - splice + - usb-a + - usb-b + - usb-c + - usb-mini-a + - usb-mini-b + - usb-micro-a + - usb-micro-b + - usb-micro-ab - other type: string description: '* `8p8c` - 8P8C @@ -106820,8 +155738,24 @@ components: * `splice` - Splice + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + * `other` - Other' - x-spec-enum-id: 0276d1110ada597a + x-spec-enum-id: c5086c01f1f9c18a label: type: string enum: @@ -106871,6 +155805,14 @@ components: - URM-P4 - URM-P8 - Splice + - USB Type A + - USB Type B + - USB Type C + - USB Mini A + - USB Mini B + - USB Micro A + - USB Micro B + - USB Micro AB - Other color: type: string @@ -106892,7 +155834,7 @@ components: description: Treat as if a cable is connected cable: allOf: - - $ref: '#/components/schemas/Cable' + - $ref: '#/components/schemas/BriefCable' readOnly: true nullable: true cable_end: @@ -106906,6 +155848,7 @@ components: type: string description: Return the type of the peer link terminations, or None. readOnly: true + nullable: true tags: type: array items: @@ -106954,6 +155897,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -106995,10 +155942,10 @@ components: description: Adds support for custom fields and tags. properties: device: - $ref: '#/components/schemas/DeviceRequest' + $ref: '#/components/schemas/BriefDeviceRequest' module: allOf: - - $ref: '#/components/schemas/ModuleRequest' + - $ref: '#/components/schemas/BriefModuleRequest' nullable: true name: type: string @@ -107056,6 +156003,14 @@ components: - urm-p4 - urm-p8 - splice + - usb-a + - usb-b + - usb-c + - usb-mini-a + - usb-mini-b + - usb-micro-a + - usb-micro-b + - usb-micro-ab - other type: string description: '* `8p8c` - 8P8C @@ -107150,8 +156105,24 @@ components: * `splice` - Splice + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + * `other` - Other' - x-spec-enum-id: 0276d1110ada597a + x-spec-enum-id: c5086c01f1f9c18a color: type: string pattern: ^[0-9a-f]{6}$ @@ -107201,11 +156172,11 @@ components: readOnly: true device_type: allOf: - - $ref: '#/components/schemas/DeviceType' + - $ref: '#/components/schemas/BriefDeviceType' nullable: true module_type: allOf: - - $ref: '#/components/schemas/ModuleType' + - $ref: '#/components/schemas/BriefModuleType' nullable: true name: type: string @@ -107267,6 +156238,14 @@ components: - urm-p4 - urm-p8 - splice + - usb-a + - usb-b + - usb-c + - usb-mini-a + - usb-mini-b + - usb-micro-a + - usb-micro-b + - usb-micro-ab - other type: string description: '* `8p8c` - 8P8C @@ -107361,8 +156340,24 @@ components: * `splice` - Splice + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + * `other` - Other' - x-spec-enum-id: 0276d1110ada597a + x-spec-enum-id: c5086c01f1f9c18a label: type: string enum: @@ -107412,13 +156407,21 @@ components: - URM-P4 - URM-P8 - Splice + - USB Type A + - USB Type B + - USB Type C + - USB Mini A + - USB Mini B + - USB Micro A + - USB Micro B + - USB Micro AB - Other color: type: string pattern: ^[0-9a-f]{6}$ maxLength: 6 rear_port: - $ref: '#/components/schemas/RearPortTemplate' + $ref: '#/components/schemas/BriefRearPortTemplate' rear_port_position: type: integer maximum: 1024 @@ -107455,11 +156458,11 @@ components: properties: device_type: allOf: - - $ref: '#/components/schemas/DeviceTypeRequest' + - $ref: '#/components/schemas/BriefDeviceTypeRequest' nullable: true module_type: allOf: - - $ref: '#/components/schemas/ModuleTypeRequest' + - $ref: '#/components/schemas/BriefModuleTypeRequest' nullable: true name: type: string @@ -107519,6 +156522,14 @@ components: - urm-p4 - urm-p8 - splice + - usb-a + - usb-b + - usb-c + - usb-mini-a + - usb-mini-b + - usb-micro-a + - usb-micro-b + - usb-micro-ab - other type: string description: '* `8p8c` - 8P8C @@ -107613,14 +156624,30 @@ components: * `splice` - Splice + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + * `other` - Other' - x-spec-enum-id: 0276d1110ada597a + x-spec-enum-id: c5086c01f1f9c18a color: type: string pattern: ^[0-9a-f]{6}$ maxLength: 6 rear_port: - $ref: '#/components/schemas/RearPortTemplateRequest' + $ref: '#/components/schemas/BriefRearPortTemplateRequest' rear_port_position: type: integer maximum: 1024 @@ -107633,6 +156660,22 @@ components: - name - rear_port - type + GenericObject: + type: object + description: Minimal representation of some generic object identified by ContentType + and PK. + properties: + object_type: + type: string + object_id: + type: integer + object: + nullable: true + readOnly: true + required: + - object + - object_id + - object_type GenericObjectRequest: type: object description: Minimal representation of some generic object identified by ContentType @@ -107659,6 +156702,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -107680,7 +156727,6 @@ components: - id - name - url - - user_count GroupRequest: type: object description: 'Extends the built-in ModelSerializer to enforce calling full_clean() @@ -107712,6 +156758,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -107786,7 +156836,6 @@ components: - display - id - last_updated - - mode - name - url - version @@ -107836,7 +156885,6 @@ components: type: object additionalProperties: {} required: - - mode - name - version IKEProposal: @@ -107850,6 +156898,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -108085,7 +157137,6 @@ components: readOnly: true nullable: true required: - - authentication_algorithm - authentication_method - created - display @@ -108257,7 +157308,6 @@ components: type: object additionalProperties: {} required: - - authentication_algorithm - authentication_method - encryption_algorithm - group @@ -108273,6 +157323,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -108296,14 +157350,142 @@ components: readOnly: true address: type: string + vrf: + allOf: + - $ref: '#/components/schemas/BriefVRF' + nullable: true + tenant: + allOf: + - $ref: '#/components/schemas/BriefTenant' + nullable: true + status: + type: object + properties: + value: + enum: + - active + - reserved + - deprecated + - dhcp + - slaac + type: string + description: '* `active` - Active + + * `reserved` - Reserved + + * `deprecated` - Deprecated + + * `dhcp` - DHCP + + * `slaac` - SLAAC' + x-spec-enum-id: 24935cfee15bd268 + label: + type: string + enum: + - Active + - Reserved + - Deprecated + - DHCP + - SLAAC + role: + type: object + properties: + value: + enum: + - loopback + - secondary + - anycast + - vip + - vrrp + - hsrp + - glbp + - carp + - '' + type: string + description: '* `loopback` - Loopback + + * `secondary` - Secondary + + * `anycast` - Anycast + + * `vip` - VIP + + * `vrrp` - VRRP + + * `hsrp` - HSRP + + * `glbp` - GLBP + + * `carp` - CARP' + x-spec-enum-id: 10fbcb4930889b0f + label: + type: string + enum: + - Loopback + - Secondary + - Anycast + - VIP + - VRRP + - HSRP + - GLBP + - CARP + assigned_object_type: + type: string + nullable: true + assigned_object_id: + type: integer + maximum: 9223372036854775807 + minimum: 0 + format: int64 + nullable: true + assigned_object: + nullable: true + readOnly: true + nat_inside: + allOf: + - $ref: '#/components/schemas/NestedIPAddress' + nullable: true + nat_outside: + type: array + items: + $ref: '#/components/schemas/NestedIPAddress' + readOnly: true + dns_name: + type: string + description: Hostname or FQDN (not case-sensitive) + pattern: ^([0-9A-Za-z_-]+|\*)(\.[0-9A-Za-z_-]+)*\.?$ + maxLength: 255 description: type: string maxLength: 200 + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/NestedTag' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date-time + readOnly: true + nullable: true + last_updated: + type: string + format: date-time + readOnly: true + nullable: true required: - address + - assigned_object + - created - display - family - id + - last_updated + - nat_outside - url IPAddressRequest: type: object @@ -108312,9 +157494,90 @@ components: address: type: string minLength: 1 + vrf: + allOf: + - $ref: '#/components/schemas/BriefVRFRequest' + nullable: true + tenant: + allOf: + - $ref: '#/components/schemas/BriefTenantRequest' + nullable: true + status: + enum: + - active + - reserved + - deprecated + - dhcp + - slaac + type: string + description: '* `active` - Active + + * `reserved` - Reserved + + * `deprecated` - Deprecated + + * `dhcp` - DHCP + + * `slaac` - SLAAC' + x-spec-enum-id: 24935cfee15bd268 + role: + enum: + - loopback + - secondary + - anycast + - vip + - vrrp + - hsrp + - glbp + - carp + - '' + type: string + description: '* `loopback` - Loopback + + * `secondary` - Secondary + + * `anycast` - Anycast + + * `vip` - VIP + + * `vrrp` - VRRP + + * `hsrp` - HSRP + + * `glbp` - GLBP + + * `carp` - CARP' + x-spec-enum-id: 10fbcb4930889b0f + assigned_object_type: + type: string + nullable: true + assigned_object_id: + type: integer + maximum: 9223372036854775807 + minimum: 0 + format: int64 + nullable: true + nat_inside: + allOf: + - $ref: '#/components/schemas/NestedIPAddressRequest' + nullable: true + dns_name: + type: string + description: Hostname or FQDN (not case-sensitive) + pattern: ^([0-9A-Za-z_-]+|\*)(\.[0-9A-Za-z_-]+)*\.?$ + maxLength: 255 description: type: string maxLength: 200 + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} required: - address IPRange: @@ -108328,6 +157591,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -108358,11 +157625,11 @@ components: readOnly: true vrf: allOf: - - $ref: '#/components/schemas/VRF' + - $ref: '#/components/schemas/BriefVRF' nullable: true tenant: allOf: - - $ref: '#/components/schemas/Tenant' + - $ref: '#/components/schemas/BriefTenant' nullable: true status: type: object @@ -108387,7 +157654,7 @@ components: - Deprecated role: allOf: - - $ref: '#/components/schemas/Role' + - $ref: '#/components/schemas/BriefRole' nullable: true description: type: string @@ -108436,11 +157703,11 @@ components: minLength: 1 vrf: allOf: - - $ref: '#/components/schemas/VRFRequest' + - $ref: '#/components/schemas/BriefVRFRequest' nullable: true tenant: allOf: - - $ref: '#/components/schemas/TenantRequest' + - $ref: '#/components/schemas/BriefTenantRequest' nullable: true status: enum: @@ -108456,7 +157723,7 @@ components: x-spec-enum-id: 6388dfb94ca1cc15 role: allOf: - - $ref: '#/components/schemas/RoleRequest' + - $ref: '#/components/schemas/BriefRoleRequest' nullable: true description: type: string @@ -108487,6 +157754,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -108743,6 +158014,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -108770,9 +158045,9 @@ components: - ESP - AH ike_policy: - $ref: '#/components/schemas/IKEPolicy' + $ref: '#/components/schemas/BriefIKEPolicy' ipsec_policy: - $ref: '#/components/schemas/IPSecPolicy' + $ref: '#/components/schemas/BriefIPSecPolicy' comments: type: string tags: @@ -108823,9 +158098,9 @@ components: * `ah` - AH' x-spec-enum-id: 1136c2cdfee84436 ike_policy: - $ref: '#/components/schemas/IKEPolicyRequest' + $ref: '#/components/schemas/BriefIKEPolicyRequest' ipsec_policy: - $ref: '#/components/schemas/IPSecPolicyRequest' + $ref: '#/components/schemas/BriefIPSecPolicyRequest' comments: type: string tags: @@ -108851,6 +158126,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -109090,12 +158369,10 @@ components: format: uri image_height: type: integer - maximum: 32767 - minimum: 0 + readOnly: true image_width: type: integer - maximum: 32767 - minimum: 0 + readOnly: true created: type: string format: date-time @@ -109138,18 +158415,8 @@ components: image: type: string format: binary - image_height: - type: integer - maximum: 32767 - minimum: 0 - image_width: - type: integer - maximum: 32767 - minimum: 0 required: - image - - image_height - - image_width - object_id - object_type Interface: @@ -109163,18 +158430,22 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true device: - $ref: '#/components/schemas/Device' + $ref: '#/components/schemas/BriefDevice' vdcs: type: array items: $ref: '#/components/schemas/VirtualDeviceContext' module: allOf: - - $ref: '#/components/schemas/Module' + - $ref: '#/components/schemas/BriefModule' nullable: true name: type: string @@ -109196,10 +158467,12 @@ components: - 100base-tx - 100base-t1 - 1000base-t + - 1000base-tx - 2.5gbase-t - 5gbase-t - 10gbase-t - 10gbase-cx4 + - 100base-x-sfp - 1000base-x-gbic - 1000base-x-sfp - 10gbase-x-sfpp @@ -109249,7 +158522,9 @@ components: - ieee802.11ad - ieee802.11ax - ieee802.11ay + - ieee802.11be - ieee802.15.1 + - ieee802.15.4 - other-wireless - gsm - cdma @@ -109330,6 +158605,8 @@ components: * `1000base-t` - 1000BASE-T (1GE) + * `1000base-tx` - 1000BASE-TX (1GE) + * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) @@ -109338,6 +158615,8 @@ components: * `10gbase-cx4` - 10GBASE-CX4 (10GE) + * `100base-x-sfp` - SFP (100ME) + * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) @@ -109436,8 +158715,12 @@ components: * `ieee802.11ay` - IEEE 802.11ay + * `ieee802.11be` - IEEE 802.11be + * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) + * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) + * `other-wireless` - Other (Wireless) * `gsm` - GSM @@ -109563,7 +158846,7 @@ components: * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other' - x-spec-enum-id: b9a351ea129ed754 + x-spec-enum-id: 56365107f9c2326f label: type: string enum: @@ -109575,10 +158858,12 @@ components: - 100BASE-TX (10/100ME) - 100BASE-T1 (10/100ME Single Pair) - 1000BASE-T (1GE) + - 1000BASE-TX (1GE) - 2.5GBASE-T (2.5GE) - 5GBASE-T (5GE) - 10GBASE-T (10GE) - 10GBASE-CX4 (10GE) + - SFP (100ME) - GBIC (1GE) - SFP (1GE) - SFP+ (10GE) @@ -109628,7 +158913,9 @@ components: - IEEE 802.11ad - IEEE 802.11ax - IEEE 802.11ay + - IEEE 802.11be - IEEE 802.15.1 (Bluetooth) + - IEEE 802.15.4 (LR-WPAN) - Other (Wireless) - GSM - CDMA @@ -110679,7 +159966,7 @@ components: title: Transmit power (dBm) untagged_vlan: allOf: - - $ref: '#/components/schemas/VLAN' + - $ref: '#/components/schemas/BriefVLAN' nullable: true tagged_vlans: type: array @@ -110690,7 +159977,7 @@ components: description: Treat as if a cable is connected cable: allOf: - - $ref: '#/components/schemas/Cable' + - $ref: '#/components/schemas/BriefCable' readOnly: true nullable: true cable_end: @@ -110709,26 +159996,29 @@ components: type: string description: Return the type of the peer link terminations, or None. readOnly: true + nullable: true wireless_lans: type: array items: $ref: '#/components/schemas/WirelessLAN' vrf: allOf: - - $ref: '#/components/schemas/VRF' + - $ref: '#/components/schemas/BriefVRF' nullable: true l2vpn_termination: allOf: - - $ref: '#/components/schemas/L2VPNTermination' + - $ref: '#/components/schemas/BriefL2VPNTermination' readOnly: true nullable: true connected_endpoints: type: array items: {} + nullable: true readOnly: true connected_endpoints_type: type: string readOnly: true + nullable: true connected_endpoints_reachable: type: boolean readOnly: true @@ -110785,14 +160075,14 @@ components: description: Adds support for custom fields and tags. properties: device: - $ref: '#/components/schemas/DeviceRequest' + $ref: '#/components/schemas/BriefDeviceRequest' vdcs: type: array items: type: integer module: allOf: - - $ref: '#/components/schemas/ModuleRequest' + - $ref: '#/components/schemas/BriefModuleRequest' nullable: true name: type: string @@ -110812,10 +160102,12 @@ components: - 100base-tx - 100base-t1 - 1000base-t + - 1000base-tx - 2.5gbase-t - 5gbase-t - 10gbase-t - 10gbase-cx4 + - 100base-x-sfp - 1000base-x-gbic - 1000base-x-sfp - 10gbase-x-sfpp @@ -110865,7 +160157,9 @@ components: - ieee802.11ad - ieee802.11ax - ieee802.11ay + - ieee802.11be - ieee802.15.1 + - ieee802.15.4 - other-wireless - gsm - cdma @@ -110946,6 +160240,8 @@ components: * `1000base-t` - 1000BASE-T (1GE) + * `1000base-tx` - 1000BASE-TX (1GE) + * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) @@ -110954,6 +160250,8 @@ components: * `10gbase-cx4` - 10GBASE-CX4 (10GE) + * `100base-x-sfp` - SFP (100ME) + * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) @@ -111052,8 +160350,12 @@ components: * `ieee802.11ay` - IEEE 802.11ay + * `ieee802.11be` - IEEE 802.11be + * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) + * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) + * `other-wireless` - Other (Wireless) * `gsm` - GSM @@ -111179,7 +160481,7 @@ components: * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other' - x-spec-enum-id: b9a351ea129ed754 + x-spec-enum-id: 56365107f9c2326f enabled: type: boolean parent: @@ -111916,7 +161218,7 @@ components: title: Transmit power (dBm) untagged_vlan: allOf: - - $ref: '#/components/schemas/VLANRequest' + - $ref: '#/components/schemas/BriefVLANRequest' nullable: true tagged_vlans: type: array @@ -111931,7 +161233,7 @@ components: type: integer vrf: allOf: - - $ref: '#/components/schemas/VRFRequest' + - $ref: '#/components/schemas/BriefVRFRequest' nullable: true tags: type: array @@ -111963,11 +161265,11 @@ components: readOnly: true device_type: allOf: - - $ref: '#/components/schemas/DeviceType' + - $ref: '#/components/schemas/BriefDeviceType' nullable: true module_type: allOf: - - $ref: '#/components/schemas/ModuleType' + - $ref: '#/components/schemas/BriefModuleType' nullable: true name: type: string @@ -111991,10 +161293,12 @@ components: - 100base-tx - 100base-t1 - 1000base-t + - 1000base-tx - 2.5gbase-t - 5gbase-t - 10gbase-t - 10gbase-cx4 + - 100base-x-sfp - 1000base-x-gbic - 1000base-x-sfp - 10gbase-x-sfpp @@ -112044,7 +161348,9 @@ components: - ieee802.11ad - ieee802.11ax - ieee802.11ay + - ieee802.11be - ieee802.15.1 + - ieee802.15.4 - other-wireless - gsm - cdma @@ -112125,6 +161431,8 @@ components: * `1000base-t` - 1000BASE-T (1GE) + * `1000base-tx` - 1000BASE-TX (1GE) + * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) @@ -112133,6 +161441,8 @@ components: * `10gbase-cx4` - 10GBASE-CX4 (10GE) + * `100base-x-sfp` - SFP (100ME) + * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) @@ -112231,8 +161541,12 @@ components: * `ieee802.11ay` - IEEE 802.11ay + * `ieee802.11be` - IEEE 802.11be + * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) + * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) + * `other-wireless` - Other (Wireless) * `gsm` - GSM @@ -112358,7 +161672,7 @@ components: * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other' - x-spec-enum-id: b9a351ea129ed754 + x-spec-enum-id: 56365107f9c2326f label: type: string enum: @@ -112370,10 +161684,12 @@ components: - 100BASE-TX (10/100ME) - 100BASE-T1 (10/100ME Single Pair) - 1000BASE-T (1GE) + - 1000BASE-TX (1GE) - 2.5GBASE-T (2.5GE) - 5GBASE-T (5GE) - 10GBASE-T (10GE) - 10GBASE-CX4 (10GE) + - SFP (100ME) - GBIC (1GE) - SFP (1GE) - SFP+ (10GE) @@ -112423,7 +161739,9 @@ components: - IEEE 802.11ad - IEEE 802.11ax - IEEE 802.11ay + - IEEE 802.11be - IEEE 802.15.1 (Bluetooth) + - IEEE 802.15.4 (LR-WPAN) - Other (Wireless) - GSM - CDMA @@ -112607,11 +161925,11 @@ components: properties: device_type: allOf: - - $ref: '#/components/schemas/DeviceTypeRequest' + - $ref: '#/components/schemas/BriefDeviceTypeRequest' nullable: true module_type: allOf: - - $ref: '#/components/schemas/ModuleTypeRequest' + - $ref: '#/components/schemas/BriefModuleTypeRequest' nullable: true name: type: string @@ -112633,10 +161951,12 @@ components: - 100base-tx - 100base-t1 - 1000base-t + - 1000base-tx - 2.5gbase-t - 5gbase-t - 10gbase-t - 10gbase-cx4 + - 100base-x-sfp - 1000base-x-gbic - 1000base-x-sfp - 10gbase-x-sfpp @@ -112686,7 +162006,9 @@ components: - ieee802.11ad - ieee802.11ax - ieee802.11ay + - ieee802.11be - ieee802.15.1 + - ieee802.15.4 - other-wireless - gsm - cdma @@ -112767,6 +162089,8 @@ components: * `1000base-t` - 1000BASE-T (1GE) + * `1000base-tx` - 1000BASE-TX (1GE) + * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) @@ -112775,6 +162099,8 @@ components: * `10gbase-cx4` - 10GBASE-CX4 (10GE) + * `100base-x-sfp` - SFP (100ME) + * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) @@ -112873,8 +162199,12 @@ components: * `ieee802.11ay` - IEEE 802.11ay + * `ieee802.11be` - IEEE 802.11be + * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) + * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) + * `other-wireless` - Other (Wireless) * `gsm` - GSM @@ -113000,7 +162330,7 @@ components: * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other' - x-spec-enum-id: b9a351ea129ed754 + x-spec-enum-id: 56365107f9c2326f enabled: type: boolean mgmt_only: @@ -113078,11 +162408,15 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true device: - $ref: '#/components/schemas/Device' + $ref: '#/components/schemas/BriefDevice' parent: type: integer nullable: true @@ -113095,11 +162429,11 @@ components: maxLength: 64 role: allOf: - - $ref: '#/components/schemas/InventoryItemRole' + - $ref: '#/components/schemas/BriefInventoryItemRole' nullable: true manufacturer: allOf: - - $ref: '#/components/schemas/Manufacturer' + - $ref: '#/components/schemas/BriefManufacturer' nullable: true part_id: type: string @@ -113168,7 +162502,7 @@ components: description: Adds support for custom fields and tags. properties: device: - $ref: '#/components/schemas/DeviceRequest' + $ref: '#/components/schemas/BriefDeviceRequest' parent: type: integer nullable: true @@ -113182,11 +162516,11 @@ components: maxLength: 64 role: allOf: - - $ref: '#/components/schemas/InventoryItemRoleRequest' + - $ref: '#/components/schemas/BriefInventoryItemRoleRequest' nullable: true manufacturer: allOf: - - $ref: '#/components/schemas/ManufacturerRequest' + - $ref: '#/components/schemas/BriefManufacturerRequest' nullable: true part_id: type: string @@ -113237,6 +162571,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -113333,7 +162671,7 @@ components: type: string readOnly: true device_type: - $ref: '#/components/schemas/DeviceType' + $ref: '#/components/schemas/BriefDeviceType' parent: type: integer nullable: true @@ -113348,11 +162686,11 @@ components: maxLength: 64 role: allOf: - - $ref: '#/components/schemas/InventoryItemRole' + - $ref: '#/components/schemas/BriefInventoryItemRole' nullable: true manufacturer: allOf: - - $ref: '#/components/schemas/Manufacturer' + - $ref: '#/components/schemas/BriefManufacturer' nullable: true part_id: type: string @@ -113405,7 +162743,7 @@ components: validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' properties: device_type: - $ref: '#/components/schemas/DeviceTypeRequest' + $ref: '#/components/schemas/BriefDeviceTypeRequest' parent: type: integer nullable: true @@ -113421,11 +162759,11 @@ components: maxLength: 64 role: allOf: - - $ref: '#/components/schemas/InventoryItemRoleRequest' + - $ref: '#/components/schemas/BriefInventoryItemRoleRequest' nullable: true manufacturer: allOf: - - $ref: '#/components/schemas/ManufacturerRequest' + - $ref: '#/components/schemas/BriefManufacturerRequest' nullable: true part_id: type: string @@ -113456,6 +162794,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -113529,7 +162871,7 @@ components: nullable: true user: allOf: - - $ref: '#/components/schemas/User' + - $ref: '#/components/schemas/BriefUser' readOnly: true data: nullable: true @@ -113550,13 +162892,6 @@ components: - status - url - user - JobRequest: - type: object - properties: - completed: - type: string - format: date-time - nullable: true JournalEntry: type: object description: Adds support for custom fields and tags. @@ -113568,6 +162903,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -113692,6 +163031,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -113765,12 +163108,45 @@ components: - Ethernet Virtual Private LAN - Ethernet Private Tree - Ethernet Virtual Private Tree + import_targets: + type: array + items: + $ref: '#/components/schemas/RouteTarget' + export_targets: + type: array + items: + $ref: '#/components/schemas/RouteTarget' description: type: string maxLength: 200 + comments: + type: string + tenant: + allOf: + - $ref: '#/components/schemas/BriefTenant' + nullable: true + tags: + type: array + items: + $ref: '#/components/schemas/NestedTag' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date-time + readOnly: true + nullable: true + last_updated: + type: string + format: date-time + readOnly: true + nullable: true required: + - created - display - id + - last_updated - name - slug - url @@ -113832,9 +163208,30 @@ components: * `evp-tree` - Ethernet Virtual Private Tree' x-spec-enum-id: dbaa4f996ec2d110 + import_targets: + type: array + items: + type: integer + export_targets: + type: array + items: + type: integer description: type: string maxLength: 200 + comments: + type: string + tenant: + allOf: + - $ref: '#/components/schemas/BriefTenantRequest' + nullable: true + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} required: - name - slug @@ -113849,23 +163246,75 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true l2vpn: - $ref: '#/components/schemas/L2VPN' + $ref: '#/components/schemas/BriefL2VPN' + assigned_object_type: + type: string + assigned_object_id: + type: integer + maximum: 9223372036854775807 + minimum: 0 + format: int64 + assigned_object: + nullable: true + readOnly: true + tags: + type: array + items: + $ref: '#/components/schemas/NestedTag' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date-time + readOnly: true + nullable: true + last_updated: + type: string + format: date-time + readOnly: true + nullable: true required: + - assigned_object + - assigned_object_id + - assigned_object_type + - created - display - id - l2vpn + - last_updated - url L2VPNTerminationRequest: type: object description: Adds support for custom fields and tags. properties: l2vpn: - $ref: '#/components/schemas/L2VPNRequest' + $ref: '#/components/schemas/BriefL2VPNRequest' + assigned_object_type: + type: string + assigned_object_id: + type: integer + maximum: 9223372036854775807 + minimum: 0 + format: int64 + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} required: + - assigned_object_id + - assigned_object_type - l2vpn Location: type: object @@ -113878,6 +163327,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -113888,23 +163341,90 @@ components: type: string maxLength: 100 pattern: ^[-a-zA-Z0-9_]+$ + site: + $ref: '#/components/schemas/BriefSite' + parent: + allOf: + - $ref: '#/components/schemas/NestedLocation' + nullable: true + status: + type: object + properties: + value: + enum: + - planned + - staging + - active + - decommissioning + - retired + type: string + description: '* `planned` - Planned + + * `staging` - Staging + + * `active` - Active + + * `decommissioning` - Decommissioning + + * `retired` - Retired' + x-spec-enum-id: e363a8ddb138be50 + label: + type: string + enum: + - Planned + - Staging + - Active + - Decommissioning + - Retired + tenant: + allOf: + - $ref: '#/components/schemas/BriefTenant' + nullable: true + facility: + type: string + description: Local facility ID or description + maxLength: 50 description: type: string maxLength: 200 + tags: + type: array + items: + $ref: '#/components/schemas/NestedTag' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date-time + readOnly: true + nullable: true + last_updated: + type: string + format: date-time + readOnly: true + nullable: true rack_count: type: integer readOnly: true default: 0 + device_count: + type: integer + readOnly: true + default: 0 _depth: type: integer readOnly: true title: ' depth' required: - _depth + - created - display - id + - last_updated - name - rack_count + - site - slug - url LocationRequest: @@ -113920,11 +163440,51 @@ components: minLength: 1 maxLength: 100 pattern: ^[-a-zA-Z0-9_]+$ + site: + $ref: '#/components/schemas/BriefSiteRequest' + parent: + allOf: + - $ref: '#/components/schemas/NestedLocationRequest' + nullable: true + status: + enum: + - planned + - staging + - active + - decommissioning + - retired + type: string + description: '* `planned` - Planned + + * `staging` - Staging + + * `active` - Active + + * `decommissioning` - Decommissioning + + * `retired` - Retired' + x-spec-enum-id: e363a8ddb138be50 + tenant: + allOf: + - $ref: '#/components/schemas/BriefTenantRequest' + nullable: true + facility: + type: string + description: Local facility ID or description + maxLength: 50 description: type: string maxLength: 200 + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} required: - name + - site - slug Manufacturer: type: object @@ -113937,6 +163497,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -113950,15 +163514,43 @@ components: description: type: string maxLength: 200 + tags: + type: array + items: + $ref: '#/components/schemas/NestedTag' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date-time + readOnly: true + nullable: true + last_updated: + type: string + format: date-time + readOnly: true + nullable: true devicetype_count: type: integer format: int64 readOnly: true + inventoryitem_count: + type: integer + format: int64 + readOnly: true + platform_count: + type: integer + format: int64 + readOnly: true required: - - devicetype_count + - created - display - id + - inventoryitem_count + - last_updated - name + - platform_count - slug - url ManufacturerRequest: @@ -113977,6 +163569,13 @@ components: description: type: string maxLength: 200 + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} required: - name - slug @@ -113991,18 +163590,91 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true device: - $ref: '#/components/schemas/Device' + $ref: '#/components/schemas/BriefDevice' module_bay: $ref: '#/components/schemas/NestedModuleBay' + module_type: + $ref: '#/components/schemas/BriefModuleType' + status: + type: object + properties: + value: + enum: + - offline + - active + - planned + - staged + - failed + - decommissioning + type: string + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `decommissioning` - Decommissioning' + x-spec-enum-id: 2217e87d0c3efdda + label: + type: string + enum: + - Offline + - Active + - Planned + - Staged + - Failed + - Decommissioning + serial: + type: string + title: Serial number + maxLength: 50 + asset_tag: + type: string + nullable: true + description: A unique tag used to identify this device + maxLength: 50 + description: + type: string + maxLength: 200 + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/NestedTag' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date-time + readOnly: true + nullable: true + last_updated: + type: string + format: date-time + readOnly: true + nullable: true required: + - created - device - display - id + - last_updated - module_bay + - module_type - url ModuleBay: type: object @@ -114015,17 +163687,25 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true device: - $ref: '#/components/schemas/Device' + $ref: '#/components/schemas/BriefDevice' + module: + allOf: + - $ref: '#/components/schemas/BriefModule' + nullable: true name: type: string maxLength: 64 installed_module: allOf: - - $ref: '#/components/schemas/Module' + - $ref: '#/components/schemas/BriefModule' nullable: true label: type: string @@ -114063,61 +163743,23 @@ components: - last_updated - name - url - ModuleBayNestedModule: - type: object - description: 'Represents an object related through a ForeignKey field. On write, - it accepts a primary key (PK) value or a - - dictionary of attributes which can be used to uniquely identify the related - object. This class should be - - subclassed to return a full representation of the related object on read.' - properties: - id: - type: integer - readOnly: true - url: - type: string - format: uri - readOnly: true - display: - type: string - readOnly: true - serial: - type: string - title: Serial number - maxLength: 50 - required: - - display - - id - - url - ModuleBayNestedModuleRequest: - type: object - description: 'Represents an object related through a ForeignKey field. On write, - it accepts a primary key (PK) value or a - - dictionary of attributes which can be used to uniquely identify the related - object. This class should be - - subclassed to return a full representation of the related object on read.' - properties: - serial: - type: string - title: Serial number - maxLength: 50 ModuleBayRequest: type: object description: Adds support for custom fields and tags. properties: device: - $ref: '#/components/schemas/DeviceRequest' + $ref: '#/components/schemas/BriefDeviceRequest' + module: + allOf: + - $ref: '#/components/schemas/BriefModuleRequest' + nullable: true name: type: string minLength: 1 maxLength: 64 installed_module: allOf: - - $ref: '#/components/schemas/ModuleRequest' + - $ref: '#/components/schemas/BriefModuleRequest' nullable: true label: type: string @@ -114158,7 +163800,13 @@ components: type: string readOnly: true device_type: - $ref: '#/components/schemas/DeviceType' + allOf: + - $ref: '#/components/schemas/BriefDeviceType' + nullable: true + module_type: + allOf: + - $ref: '#/components/schemas/BriefModuleType' + nullable: true name: type: string description: '{module} is accepted as a substitution for the module bay @@ -114187,7 +163835,6 @@ components: nullable: true required: - created - - device_type - display - id - last_updated @@ -114201,7 +163848,13 @@ components: validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' properties: device_type: - $ref: '#/components/schemas/DeviceTypeRequest' + allOf: + - $ref: '#/components/schemas/BriefDeviceTypeRequest' + nullable: true + module_type: + allOf: + - $ref: '#/components/schemas/BriefModuleTypeRequest' + nullable: true name: type: string minLength: 1 @@ -114220,19 +163873,63 @@ components: type: string maxLength: 200 required: - - device_type - name ModuleRequest: type: object description: Adds support for custom fields and tags. properties: device: - $ref: '#/components/schemas/DeviceRequest' + $ref: '#/components/schemas/BriefDeviceRequest' module_bay: $ref: '#/components/schemas/NestedModuleBayRequest' + module_type: + $ref: '#/components/schemas/BriefModuleTypeRequest' + status: + enum: + - offline + - active + - planned + - staged + - failed + - decommissioning + type: string + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `decommissioning` - Decommissioning' + x-spec-enum-id: 2217e87d0c3efdda + serial: + type: string + title: Serial number + maxLength: 50 + asset_tag: + type: string + nullable: true + description: A unique tag used to identify this device + maxLength: 50 + description: + type: string + maxLength: 200 + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} required: - device - module_bay + - module_type ModuleType: type: object description: Adds support for custom fields and tags. @@ -114244,20 +163941,119 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true manufacturer: - $ref: '#/components/schemas/Manufacturer' + $ref: '#/components/schemas/BriefManufacturer' model: type: string maxLength: 100 + part_number: + type: string + description: Discrete part number (optional) + maxLength: 50 + airflow: + type: object + properties: + value: + enum: + - front-to-rear + - rear-to-front + - left-to-right + - right-to-left + - side-to-rear + - passive + - '' + type: string + description: '* `front-to-rear` - Front to rear + + * `rear-to-front` - Rear to front + + * `left-to-right` - Left to right + + * `right-to-left` - Right to left + + * `side-to-rear` - Side to rear + + * `passive` - Passive' + x-spec-enum-id: f6e5562e0e98d69d + label: + type: string + enum: + - Front to rear + - Rear to front + - Left to right + - Right to left + - Side to rear + - Passive + nullable: true + weight: + type: number + format: double + maximum: 1000000 + minimum: -1000000 + exclusiveMaximum: true + exclusiveMinimum: true + nullable: true + weight_unit: + type: object + properties: + value: + enum: + - kg + - g + - lb + - oz + - '' + type: string + description: '* `kg` - Kilograms + + * `g` - Grams + + * `lb` - Pounds + + * `oz` - Ounces' + x-spec-enum-id: 7c1876f422815884 + label: + type: string + enum: + - Kilograms + - Grams + - Pounds + - Ounces + nullable: true description: type: string maxLength: 200 + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/NestedTag' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date-time + readOnly: true + nullable: true + last_updated: + type: string + format: date-time + readOnly: true + nullable: true required: + - created - display - id + - last_updated - manufacturer - model - url @@ -114266,14 +164062,75 @@ components: description: Adds support for custom fields and tags. properties: manufacturer: - $ref: '#/components/schemas/ManufacturerRequest' + $ref: '#/components/schemas/BriefManufacturerRequest' model: type: string minLength: 1 maxLength: 100 + part_number: + type: string + description: Discrete part number (optional) + maxLength: 50 + airflow: + enum: + - front-to-rear + - rear-to-front + - left-to-right + - right-to-left + - side-to-rear + - passive + - '' + type: string + description: '* `front-to-rear` - Front to rear + + * `rear-to-front` - Rear to front + + * `left-to-right` - Left to right + + * `right-to-left` - Right to left + + * `side-to-rear` - Side to rear + + * `passive` - Passive' + x-spec-enum-id: f6e5562e0e98d69d + nullable: true + weight: + type: number + format: double + maximum: 1000000 + minimum: -1000000 + exclusiveMaximum: true + exclusiveMinimum: true + nullable: true + weight_unit: + enum: + - kg + - g + - lb + - oz + - '' + type: string + description: '* `kg` - Kilograms + + * `g` - Grams + + * `lb` - Pounds + + * `oz` - Ounces' + x-spec-enum-id: 7c1876f422815884 + nullable: true description: type: string maxLength: 200 + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} required: - manufacturer - model @@ -114294,6 +164151,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -114354,6 +164215,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -114396,6 +164261,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -114407,6 +164276,56 @@ components: - id - name - url + NestedIPAddress: + type: object + description: 'Represents an object related through a ForeignKey field. On write, + it accepts a primary key (PK) value or a + + dictionary of attributes which can be used to uniquely identify the related + object. This class should be + + subclassed to return a full representation of the related object on read.' + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display_url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + family: + type: integer + readOnly: true + address: + type: string + required: + - address + - display + - family + - id + - url + NestedIPAddressRequest: + type: object + description: 'Represents an object related through a ForeignKey field. On write, + it accepts a primary key (PK) value or a + + dictionary of attributes which can be used to uniquely identify the related + object. This class should be + + subclassed to return a full representation of the related object on read.' + properties: + address: + type: string + minLength: 1 + required: + - address NestedInterface: type: object description: 'Represents an object related through a ForeignKey field. On write, @@ -114424,6 +164343,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -114515,6 +164438,70 @@ components: maxLength: 64 required: - name + NestedLocation: + type: object + description: 'Represents an object related through a ForeignKey field. On write, + it accepts a primary key (PK) value or a + + dictionary of attributes which can be used to uniquely identify the related + object. This class should be + + subclassed to return a full representation of the related object on read.' + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display_url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + _depth: + type: integer + readOnly: true + title: ' depth' + required: + - _depth + - display + - id + - name + - slug + - url + NestedLocationRequest: + type: object + description: 'Represents an object related through a ForeignKey field. On write, + it accepts a primary key (PK) value or a + + dictionary of attributes which can be used to uniquely identify the related + object. This class should be + + subclassed to return a full representation of the related object on read.' + properties: + name: + type: string + minLength: 1 + maxLength: 100 + slug: + type: string + minLength: 1 + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + required: + - name + - slug NestedModuleBay: type: object description: 'Represents an object related through a ForeignKey field. On write, @@ -114532,13 +164519,13 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true - installed_module: - allOf: - - $ref: '#/components/schemas/ModuleBayNestedModule' - nullable: true name: type: string maxLength: 64 @@ -114557,16 +164544,48 @@ components: subclassed to return a full representation of the related object on read.' properties: - installed_module: - allOf: - - $ref: '#/components/schemas/ModuleBayNestedModuleRequest' - nullable: true name: type: string minLength: 1 maxLength: 64 required: - name + NestedProviderAccount: + type: object + description: 'Represents an object related through a ForeignKey field. On write, + it accepts a primary key (PK) value or a + + dictionary of attributes which can be used to uniquely identify the related + object. This class should be + + subclassed to return a full representation of the related object on read.' + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display_url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + name: + type: string + maxLength: 100 + account: + type: string + title: Account ID + maxLength: 100 + required: + - account + - display + - id + - url NestedRegion: type: object description: 'Represents an object related through a ForeignKey field. On write, @@ -114584,6 +164603,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -114627,7 +164650,71 @@ components: required: - name - slug - NestedSiteGroup: + NestedSiteGroup: + type: object + description: 'Represents an object related through a ForeignKey field. On write, + it accepts a primary key (PK) value or a + + dictionary of attributes which can be used to uniquely identify the related + object. This class should be + + subclassed to return a full representation of the related object on read.' + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display_url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + _depth: + type: integer + readOnly: true + title: ' depth' + required: + - _depth + - display + - id + - name + - slug + - url + NestedSiteGroupRequest: + type: object + description: 'Represents an object related through a ForeignKey field. On write, + it accepts a primary key (PK) value or a + + dictionary of attributes which can be used to uniquely identify the related + object. This class should be + + subclassed to return a full representation of the related object on read.' + properties: + name: + type: string + minLength: 1 + maxLength: 100 + slug: + type: string + minLength: 1 + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + required: + - name + - slug + NestedTag: type: object description: 'Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a @@ -114644,63 +164731,7 @@ components: type: string format: uri readOnly: true - display: - type: string - readOnly: true - name: - type: string - maxLength: 100 - slug: - type: string - maxLength: 100 - pattern: ^[-a-zA-Z0-9_]+$ - _depth: - type: integer - readOnly: true - title: ' depth' - required: - - _depth - - display - - id - - name - - slug - - url - NestedSiteGroupRequest: - type: object - description: 'Represents an object related through a ForeignKey field. On write, - it accepts a primary key (PK) value or a - - dictionary of attributes which can be used to uniquely identify the related - object. This class should be - - subclassed to return a full representation of the related object on read.' - properties: - name: - type: string - minLength: 1 - maxLength: 100 - slug: - type: string - minLength: 1 - maxLength: 100 - pattern: ^[-a-zA-Z0-9_]+$ - required: - - name - - slug - NestedTag: - type: object - description: 'Represents an object related through a ForeignKey field. On write, - it accepts a primary key (PK) value or a - - dictionary of attributes which can be used to uniquely identify the related - object. This class should be - - subclassed to return a full representation of the related object on read.' - properties: - id: - type: integer - readOnly: true - url: + display_url: type: string format: uri readOnly: true @@ -114768,6 +164799,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -114828,6 +164863,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -114859,6 +164898,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -114908,6 +164951,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -114935,6 +164982,48 @@ components: maxLength: 64 required: - name + NestedWirelessLANGroup: + type: object + description: 'Represents an object related through a ForeignKey field. On write, + it accepts a primary key (PK) value or a + + dictionary of attributes which can be used to uniquely identify the related + object. This class should be + + subclassed to return a full representation of the related object on read.' + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display_url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + _depth: + type: integer + readOnly: true + title: ' depth' + required: + - _depth + - display + - id + - name + - slug + - url NestedWirelessLANGroupRequest: type: object description: 'Represents an object related through a ForeignKey field. On write, @@ -114974,6 +165063,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -114997,6 +165090,192 @@ components: ssid: type: string maxLength: 32 + Notification: + 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: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + object_type: + type: string + object_id: + type: integer + maximum: 9223372036854775807 + minimum: 0 + format: int64 + object: + nullable: true + readOnly: true + user: + $ref: '#/components/schemas/BriefUser' + created: + type: string + format: date-time + readOnly: true + read: + type: string + format: date-time + nullable: true + event_type: + enum: + - object_created + - object_updated + - object_deleted + - job_started + - job_completed + - job_failed + - job_errored + type: string + description: '* `object_created` - Object created + + * `object_updated` - Object updated + + * `object_deleted` - Object deleted + + * `job_started` - Job started + + * `job_completed` - Job completed + + * `job_failed` - Job failed + + * `job_errored` - Job errored' + x-spec-enum-id: 80d172232f4af424 + title: Event + required: + - created + - display + - event_type + - id + - object + - object_id + - object_type + - url + - user + NotificationGroup: + 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: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + display_url: + type: string + format: uri + readOnly: true + name: + type: string + maxLength: 100 + description: + type: string + maxLength: 200 + groups: + type: array + items: + $ref: '#/components/schemas/Group' + users: + type: array + items: + $ref: '#/components/schemas/User' + required: + - display + - id + - name + - url + NotificationGroupRequest: + 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: + name: + type: string + minLength: 1 + maxLength: 100 + description: + type: string + maxLength: 200 + groups: + type: array + items: + type: integer + users: + type: array + items: + type: integer + required: + - name + NotificationRequest: + 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: + object_type: + type: string + object_id: + type: integer + maximum: 9223372036854775807 + minimum: 0 + format: int64 + user: + $ref: '#/components/schemas/BriefUserRequest' + read: + type: string + format: date-time + nullable: true + event_type: + enum: + - object_created + - object_updated + - object_deleted + - job_started + - job_completed + - job_failed + - job_errored + type: string + description: '* `object_created` - Object created + + * `object_updated` - Object updated + + * `object_deleted` - Object deleted + + * `job_started` - Job started + + * `job_completed` - Job completed + + * `job_failed` - Job failed + + * `job_errored` - Job errored' + x-spec-enum-id: 80d172232f4af424 + title: Event + required: + - event_type + - object_id + - object_type + - user ObjectChange: type: object properties: @@ -115007,6 +165286,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -115016,7 +165299,7 @@ components: readOnly: true user: allOf: - - $ref: '#/components/schemas/User' + - $ref: '#/components/schemas/BriefUser' readOnly: true user_name: type: string @@ -115061,11 +165344,9 @@ components: prechange_data: readOnly: true nullable: true - title: Pre-change data postchange_data: readOnly: true nullable: true - title: Post-change data required: - action - changed_object @@ -115094,6 +165375,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -115341,6 +165626,52 @@ components: type: array items: $ref: '#/components/schemas/CableTermination' + PaginatedCircuitGroupAssignmentList: + 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/CircuitGroupAssignment' + PaginatedCircuitGroupList: + 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/CircuitGroup' PaginatedCircuitList: type: object required: @@ -116629,6 +166960,52 @@ components: type: array items: $ref: '#/components/schemas/ModuleType' + PaginatedNotificationGroupList: + 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/NotificationGroup' + PaginatedNotificationList: + 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/Notification' PaginatedObjectChangeList: type: object required: @@ -117043,6 +167420,29 @@ components: type: array items: $ref: '#/components/schemas/RackRole' + PaginatedRackTypeList: + 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/RackType' PaginatedRackUnitList: type: object required: @@ -117319,6 +167719,29 @@ components: type: array items: $ref: '#/components/schemas/Site' + PaginatedSubscriptionList: + 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/Subscription' PaginatedTagList: type: object required: @@ -117793,7 +168216,7 @@ components: maxLength: 100 pattern: ^[-a-zA-Z0-9_]+$ rir: - $ref: '#/components/schemas/RIRRequest' + $ref: '#/components/schemas/BriefRIRRequest' start: type: integer maximum: 4294967295 @@ -117806,7 +168229,7 @@ components: format: int64 tenant: allOf: - - $ref: '#/components/schemas/TenantRequest' + - $ref: '#/components/schemas/BriefTenantRequest' nullable: true description: type: string @@ -117830,11 +168253,11 @@ components: description: 16- or 32-bit autonomous system number rir: allOf: - - $ref: '#/components/schemas/RIRRequest' + - $ref: '#/components/schemas/BriefRIRRequest' nullable: true tenant: allOf: - - $ref: '#/components/schemas/TenantRequest' + - $ref: '#/components/schemas/BriefTenantRequest' nullable: true description: type: string @@ -117863,7 +168286,7 @@ components: minimum: 0 format: int64 user: - $ref: '#/components/schemas/UserRequest' + $ref: '#/components/schemas/BriefUserRequest' PatchedCableTerminationRequest: type: object description: Adds support for custom fields and tags. @@ -117887,12 +168310,39 @@ components: maximum: 9223372036854775807 minimum: 0 format: int64 + PatchedCircuitGroupRequest: + type: object + description: Adds support for custom fields and tags. + properties: + name: + type: string + minLength: 1 + maxLength: 100 + slug: + type: string + minLength: 1 + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + tenant: + allOf: + - $ref: '#/components/schemas/BriefTenantRequest' + nullable: true + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} PatchedCircuitTerminationRequest: type: object description: Adds support for custom fields and tags. properties: circuit: - $ref: '#/components/schemas/CircuitRequest' + $ref: '#/components/schemas/BriefCircuitRequest' term_side: enum: - A @@ -117905,11 +168355,11 @@ components: title: Termination site: allOf: - - $ref: '#/components/schemas/SiteRequest' + - $ref: '#/components/schemas/BriefSiteRequest' nullable: true provider_network: allOf: - - $ref: '#/components/schemas/ProviderNetworkRequest' + - $ref: '#/components/schemas/BriefProviderNetworkRequest' nullable: true port_speed: type: integer @@ -118095,7 +168545,7 @@ components: type: string minLength: 1 data_source: - $ref: '#/components/schemas/DataSourceRequest' + $ref: '#/components/schemas/BriefDataSourceRequest' data: {} PatchedConfigTemplateRequest: type: object @@ -118121,7 +168571,7 @@ components: minLength: 1 description: Jinja2 template code. data_source: - $ref: '#/components/schemas/DataSourceRequest' + $ref: '#/components/schemas/BriefDataSourceRequest' tags: type: array items: @@ -118132,7 +168582,7 @@ components: properties: group: allOf: - - $ref: '#/components/schemas/ContactGroupRequest' + - $ref: '#/components/schemas/BriefContactGroupRequest' nullable: true name: type: string @@ -118225,7 +168675,7 @@ components: maxLength: 50 button_class: enum: - - outline-dark + - default - blue - indigo - purple @@ -118241,12 +168691,12 @@ components: - white - ghost-dark type: string - x-spec-enum-id: 9378cdf56abee54a + x-spec-enum-id: ee8e5bb1ccdcdb19 description: 'The class of the first link in a group will be used for the dropdown button - * `outline-dark` - Default + * `default` - Default * `blue` - Blue @@ -118287,23 +168737,986 @@ components: type: object description: Adds support for custom fields and tags. properties: - device: - $ref: '#/components/schemas/DeviceRequest' + device: + $ref: '#/components/schemas/BriefDeviceRequest' + name: + type: string + minLength: 1 + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + description: + type: string + maxLength: 200 + installed_device: + allOf: + - $ref: '#/components/schemas/BriefDeviceRequest' + nullable: true + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} + PatchedDeviceBayTemplateRequest: + 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: + device_type: + $ref: '#/components/schemas/BriefDeviceTypeRequest' + name: + type: string + minLength: 1 + description: '{module} is accepted as a substitution for the module bay + position when attached to a module type.' + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + description: + type: string + maxLength: 200 + PatchedDeviceRoleRequest: + type: object + description: Adds support for custom fields and tags. + properties: + name: + type: string + minLength: 1 + maxLength: 100 + slug: + type: string + minLength: 1 + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + color: + type: string + minLength: 1 + pattern: ^[0-9a-f]{6}$ + maxLength: 6 + vm_role: + type: boolean + description: Virtual machines may be assigned to this role + config_template: + allOf: + - $ref: '#/components/schemas/BriefConfigTemplateRequest' + nullable: true + description: + type: string + maxLength: 200 + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} + PatchedExportTemplateRequest: + 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: + object_types: + type: array + items: + type: string + name: + type: string + minLength: 1 + maxLength: 100 + description: + type: string + maxLength: 200 + template_code: + type: string + minLength: 1 + description: Jinja2 template code. The list of objects being exported is + passed as a context variable named queryset. + mime_type: + type: string + description: Defaults to text/plain; charset=utf-8 + maxLength: 50 + file_extension: + type: string + description: Extension to append to the rendered filename + maxLength: 15 + as_attachment: + type: boolean + description: Download file as attachment + data_source: + $ref: '#/components/schemas/BriefDataSourceRequest' + PatchedFHRPGroupAssignmentRequest: + type: object + description: Adds support for custom fields and tags. + properties: + group: + $ref: '#/components/schemas/BriefFHRPGroupRequest' + interface_type: + type: string + interface_id: + type: integer + maximum: 9223372036854775807 + minimum: 0 + format: int64 + priority: + type: integer + maximum: 255 + minimum: 0 + PatchedFHRPGroupRequest: + type: object + description: Adds support for custom fields and tags. + properties: + name: + type: string + maxLength: 100 + protocol: + enum: + - vrrp2 + - vrrp3 + - carp + - clusterxl + - hsrp + - glbp + - other + type: string + description: '* `vrrp2` - VRRPv2 + + * `vrrp3` - VRRPv3 + + * `carp` - CARP + + * `clusterxl` - ClusterXL + + * `hsrp` - HSRP + + * `glbp` - GLBP + + * `other` - Other' + x-spec-enum-id: 40dc831c689b4b78 + group_id: + type: integer + maximum: 32767 + minimum: 0 + auth_type: + enum: + - plaintext + - md5 + - '' + type: string + description: '* `plaintext` - Plaintext + + * `md5` - MD5' + x-spec-enum-id: 12b9faea3a45bf37 + title: Authentication type + auth_key: + type: string + title: Authentication key + maxLength: 255 + description: + type: string + maxLength: 200 + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} + PatchedGroupRequest: + 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: + name: + type: string + minLength: 1 + maxLength: 150 + description: + type: string + maxLength: 200 + permissions: + type: array + items: + type: integer + PatchedImageAttachmentRequest: + 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: + object_type: + type: string + object_id: + type: integer + maximum: 9223372036854775807 + minimum: 0 + format: int64 + name: + type: string + maxLength: 50 + image: + type: string + format: binary + PatchedInventoryItemRequest: + type: object + description: Adds support for custom fields and tags. + properties: + device: + $ref: '#/components/schemas/BriefDeviceRequest' + parent: + type: integer + nullable: true + name: + type: string + minLength: 1 + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + role: + allOf: + - $ref: '#/components/schemas/BriefInventoryItemRoleRequest' + nullable: true + manufacturer: + allOf: + - $ref: '#/components/schemas/BriefManufacturerRequest' + nullable: true + part_id: + type: string + description: Manufacturer-assigned part identifier + maxLength: 50 + serial: + type: string + title: Serial number + maxLength: 50 + asset_tag: + type: string + nullable: true + description: A unique tag used to identify this item + maxLength: 50 + discovered: + type: boolean + description: This item was automatically discovered + description: + type: string + maxLength: 200 + component_type: + type: string + nullable: true + component_id: + type: integer + maximum: 9223372036854775807 + minimum: 0 + format: int64 + nullable: true + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} + PatchedInventoryItemRoleRequest: + type: object + description: Adds support for custom fields and tags. + properties: + name: + type: string + minLength: 1 + maxLength: 100 + slug: + type: string + minLength: 1 + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + color: + type: string + minLength: 1 + pattern: ^[0-9a-f]{6}$ + maxLength: 6 + description: + type: string + maxLength: 200 + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} + PatchedInventoryItemTemplateRequest: + 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: + device_type: + $ref: '#/components/schemas/BriefDeviceTypeRequest' + parent: + type: integer + nullable: true + name: + type: string + minLength: 1 + description: '{module} is accepted as a substitution for the module bay + position when attached to a module type.' + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + role: + allOf: + - $ref: '#/components/schemas/BriefInventoryItemRoleRequest' + nullable: true + manufacturer: + allOf: + - $ref: '#/components/schemas/BriefManufacturerRequest' + nullable: true + part_id: + type: string + description: Manufacturer-assigned part identifier + maxLength: 50 + description: + type: string + maxLength: 200 + component_type: + type: string + nullable: true + component_id: + type: integer + maximum: 9223372036854775807 + minimum: 0 + format: int64 + nullable: true + PatchedL2VPNTerminationRequest: + type: object + description: Adds support for custom fields and tags. + properties: + l2vpn: + $ref: '#/components/schemas/BriefL2VPNRequest' + assigned_object_type: + type: string + assigned_object_id: + type: integer + maximum: 9223372036854775807 + minimum: 0 + format: int64 + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} + PatchedManufacturerRequest: + type: object + description: Adds support for custom fields and tags. + properties: + name: + type: string + minLength: 1 + maxLength: 100 + slug: + type: string + minLength: 1 + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} + PatchedModuleBayRequest: + type: object + description: Adds support for custom fields and tags. + properties: + device: + $ref: '#/components/schemas/BriefDeviceRequest' + module: + allOf: + - $ref: '#/components/schemas/BriefModuleRequest' + nullable: true + name: + type: string + minLength: 1 + maxLength: 64 + installed_module: + allOf: + - $ref: '#/components/schemas/BriefModuleRequest' + nullable: true + label: + type: string + description: Physical label + maxLength: 64 + position: + type: string + description: Identifier to reference when renaming installed components + maxLength: 30 + description: + type: string + maxLength: 200 + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} + PatchedModuleBayTemplateRequest: + 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: + device_type: + allOf: + - $ref: '#/components/schemas/BriefDeviceTypeRequest' + nullable: true + module_type: + allOf: + - $ref: '#/components/schemas/BriefModuleTypeRequest' + nullable: true + name: + type: string + minLength: 1 + description: '{module} is accepted as a substitution for the module bay + position when attached to a module type.' + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + position: + type: string + description: Identifier to reference when renaming installed components + maxLength: 30 + description: + type: string + maxLength: 200 + PatchedNotificationGroupRequest: + 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: + name: + type: string + minLength: 1 + maxLength: 100 + description: + type: string + maxLength: 200 + groups: + type: array + items: + type: integer + users: + type: array + items: + type: integer + PatchedNotificationRequest: + 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: + object_type: + type: string + object_id: + type: integer + maximum: 9223372036854775807 + minimum: 0 + format: int64 + user: + $ref: '#/components/schemas/BriefUserRequest' + read: + type: string + format: date-time + nullable: true + event_type: + enum: + - object_created + - object_updated + - object_deleted + - job_started + - job_completed + - job_failed + - job_errored + type: string + description: '* `object_created` - Object created + + * `object_updated` - Object updated + + * `object_deleted` - Object deleted + + * `job_started` - Job started + + * `job_completed` - Job completed + + * `job_failed` - Job failed + + * `job_errored` - Job errored' + x-spec-enum-id: 80d172232f4af424 + title: Event + PatchedObjectPermissionRequest: + 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: + name: + type: string + minLength: 1 + maxLength: 100 + description: + type: string + maxLength: 200 + enabled: + type: boolean + object_types: + type: array + items: + type: string + actions: + type: array + items: + type: string + minLength: 1 + maxLength: 30 + description: The list of actions granted by this permission + constraints: + nullable: true + description: Queryset filter matching the applicable objects of the selected + type(s) + groups: + type: array + items: + type: integer + users: + type: array + items: + type: integer + PatchedPlatformRequest: + type: object + description: Adds support for custom fields and tags. + properties: + name: + type: string + minLength: 1 + maxLength: 100 + slug: + type: string + minLength: 1 + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + manufacturer: + allOf: + - $ref: '#/components/schemas/BriefManufacturerRequest' + nullable: true + config_template: + allOf: + - $ref: '#/components/schemas/BriefConfigTemplateRequest' + nullable: true + description: + type: string + maxLength: 200 + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} + PatchedPowerPanelRequest: + type: object + description: Adds support for custom fields and tags. + properties: + site: + $ref: '#/components/schemas/BriefSiteRequest' + location: + allOf: + - $ref: '#/components/schemas/BriefLocationRequest' + nullable: true + name: + type: string + minLength: 1 + maxLength: 100 + description: + type: string + maxLength: 200 + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} + PatchedProviderAccountRequest: + type: object + description: Adds support for custom fields and tags. + properties: + provider: + $ref: '#/components/schemas/BriefProviderRequest' + name: + type: string + default: '' + maxLength: 100 + account: + type: string + minLength: 1 + title: Account ID + maxLength: 100 + description: + type: string + maxLength: 200 + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} + PatchedProviderNetworkRequest: + type: object + description: Adds support for custom fields and tags. + properties: + provider: + $ref: '#/components/schemas/BriefProviderRequest' + name: + type: string + minLength: 1 + maxLength: 100 + service_id: + type: string + maxLength: 100 + description: + type: string + maxLength: 200 + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} + PatchedProviderRequest: + type: object + description: Adds support for custom fields and tags. + properties: + name: + type: string + minLength: 1 + description: Full name of the provider + maxLength: 100 + slug: + type: string + minLength: 1 + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + accounts: + type: array + items: + type: integer + description: + type: string + maxLength: 200 + comments: + type: string + asns: + type: array + items: + type: integer + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} + PatchedRIRRequest: + type: object + description: Adds support for custom fields and tags. + properties: + name: + type: string + minLength: 1 + maxLength: 100 + slug: + type: string + minLength: 1 + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + is_private: + type: boolean + title: Private + description: IP space managed by this RIR is considered private + description: + type: string + maxLength: 200 + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} + PatchedRackReservationRequest: + type: object + description: Adds support for custom fields and tags. + properties: + rack: + $ref: '#/components/schemas/BriefRackRequest' + units: + type: array + items: + type: integer + maximum: 32767 + minimum: 0 + user: + $ref: '#/components/schemas/BriefUserRequest' + tenant: + allOf: + - $ref: '#/components/schemas/BriefTenantRequest' + nullable: true + description: + type: string + minLength: 1 + maxLength: 200 + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} + PatchedRackRoleRequest: + type: object + description: Adds support for custom fields and tags. + properties: + name: + type: string + minLength: 1 + maxLength: 100 + slug: + type: string + minLength: 1 + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + color: + type: string + minLength: 1 + pattern: ^[0-9a-f]{6}$ + maxLength: 6 + description: + type: string + maxLength: 200 + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} + PatchedRoleRequest: + type: object + description: Adds support for custom fields and tags. + properties: + name: + type: string + minLength: 1 + maxLength: 100 + slug: + type: string + minLength: 1 + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + weight: + type: integer + maximum: 32767 + minimum: 0 + description: + type: string + maxLength: 200 + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} + PatchedRouteTargetRequest: + type: object + description: Adds support for custom fields and tags. + properties: + name: + type: string + minLength: 1 + description: Route target value (formatted in accordance with RFC 4360) + maxLength: 21 + tenant: + allOf: + - $ref: '#/components/schemas/BriefTenantRequest' + nullable: true + description: + type: string + maxLength: 200 + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} + PatchedSavedFilterRequest: + 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: + object_types: + type: array + items: + type: string + name: + type: string + minLength: 1 + maxLength: 100 + slug: + type: string + minLength: 1 + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + user: + type: integer + nullable: true + weight: + type: integer + maximum: 32767 + minimum: 0 + enabled: + type: boolean + shared: + type: boolean + parameters: {} + PatchedScriptInputRequest: + type: object + properties: + data: {} + commit: + type: boolean + schedule_at: + type: string + format: date-time + nullable: true + interval: + type: integer + nullable: true + PatchedSubscriptionRequest: + 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: + object_type: + type: string + object_id: + type: integer + maximum: 9223372036854775807 + minimum: 0 + format: int64 + user: + $ref: '#/components/schemas/BriefUserRequest' + PatchedTagRequest: + 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: + name: + type: string + minLength: 1 + maxLength: 100 + slug: + type: string + minLength: 1 + pattern: ^[-\w]+$ + maxLength: 100 + color: + type: string + minLength: 1 + pattern: ^[0-9a-f]{6}$ + maxLength: 6 + description: + type: string + maxLength: 200 + object_types: + type: array + items: + type: string + PatchedTenantRequest: + type: object + description: Adds support for custom fields and tags. + properties: name: type: string minLength: 1 - maxLength: 64 - label: + maxLength: 100 + slug: type: string - description: Physical label - maxLength: 64 + minLength: 1 + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + group: + allOf: + - $ref: '#/components/schemas/BriefTenantGroupRequest' + nullable: true description: type: string maxLength: 200 - installed_device: - allOf: - - $ref: '#/components/schemas/DeviceRequest' - nullable: true + comments: + type: string tags: type: array items: @@ -118311,29 +169724,34 @@ components: custom_fields: type: object additionalProperties: {} - PatchedDeviceBayTemplateRequest: + PatchedTokenRequest: 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: - device_type: - $ref: '#/components/schemas/DeviceTypeRequest' - name: + user: + $ref: '#/components/schemas/BriefUserRequest' + expires: type: string - minLength: 1 - description: '{module} is accepted as a substitution for the module bay - position when attached to a module type.' - maxLength: 64 - label: + format: date-time + nullable: true + last_used: type: string - description: Physical label - maxLength: 64 + format: date-time + nullable: true + key: + type: string + maxLength: 40 + minLength: 40 + write_enabled: + type: boolean + description: Permit create/update/delete operations using this key description: type: string maxLength: 200 - PatchedDeviceRoleRequest: + PatchedTunnelGroupRequest: type: object description: Adds support for custom fields and tags. properties: @@ -118346,18 +169764,6 @@ components: minLength: 1 maxLength: 100 pattern: ^[-a-zA-Z0-9_]+$ - color: - type: string - minLength: 1 - pattern: ^[0-9a-f]{6}$ - maxLength: 6 - vm_role: - type: boolean - description: Virtual machines may be assigned to this role - config_template: - allOf: - - $ref: '#/components/schemas/ConfigTemplateRequest' - nullable: true description: type: string maxLength: 200 @@ -118368,114 +169774,82 @@ components: custom_fields: type: object additionalProperties: {} - PatchedExportTemplateRequest: + PatchedUserRequest: 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: - object_types: - type: array - items: - type: string - name: + username: type: string minLength: 1 - maxLength: 100 - description: - type: string - maxLength: 200 - template_code: + description: Required. 150 characters or fewer. Letters, digits and @/./+/-/_ + only. + pattern: ^[\w.@+-]+$ + maxLength: 150 + password: type: string + writeOnly: true minLength: 1 - description: Jinja2 template code. The list of objects being exported is - passed as a context variable named queryset. - mime_type: + maxLength: 128 + first_name: type: string - description: Defaults to text/plain; charset=utf-8 - maxLength: 50 - file_extension: + maxLength: 150 + last_name: type: string - description: Extension to append to the rendered filename - maxLength: 15 - as_attachment: + maxLength: 150 + email: + type: string + format: email + title: Email address + maxLength: 254 + is_staff: type: boolean - description: Download file as attachment - data_source: - $ref: '#/components/schemas/DataSourceRequest' - PatchedFHRPGroupAssignmentRequest: - type: object - description: Adds support for custom fields and tags. - properties: - group: - $ref: '#/components/schemas/FHRPGroupRequest' - interface_type: + title: Staff status + description: Designates whether the user can log into this admin site. + is_active: + type: boolean + title: Active + description: Designates whether this user should be treated as active. Unselect + this instead of deleting accounts. + date_joined: type: string - interface_id: - type: integer - maximum: 9223372036854775807 - minimum: 0 - format: int64 - priority: - type: integer - maximum: 255 - minimum: 0 - PatchedFHRPGroupRequest: + format: date-time + last_login: + type: string + format: date-time + nullable: true + groups: + type: array + items: + type: integer + permissions: + type: array + items: + type: integer + PatchedVLANGroupRequest: type: object description: Adds support for custom fields and tags. properties: name: type: string + minLength: 1 maxLength: 100 - protocol: - enum: - - vrrp2 - - vrrp3 - - carp - - clusterxl - - hsrp - - glbp - - other - type: string - description: '* `vrrp2` - VRRPv2 - - * `vrrp3` - VRRPv3 - - * `carp` - CARP - - * `clusterxl` - ClusterXL - - * `hsrp` - HSRP - - * `glbp` - GLBP - - * `other` - Other' - x-spec-enum-id: 40dc831c689b4b78 - group_id: - type: integer - maximum: 32767 - minimum: 0 - auth_type: - enum: - - plaintext - - md5 - - '' + slug: type: string - description: '* `plaintext` - Plaintext - - * `md5` - MD5' - x-spec-enum-id: 12b9faea3a45bf37 - title: Authentication type - auth_key: + minLength: 1 + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + scope_type: type: string - title: Authentication key - maxLength: 255 + nullable: true + scope_id: + type: integer + nullable: true description: type: string maxLength: 200 - comments: - type: string tags: type: array items: @@ -118483,105 +169857,172 @@ components: custom_fields: type: object additionalProperties: {} - PatchedGroupRequest: + PatchedVRFRequest: 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: Adds support for custom fields and tags. properties: name: type: string minLength: 1 - maxLength: 150 + maxLength: 100 + rd: + type: string + nullable: true + title: Route distinguisher + description: Unique route distinguisher (as defined in RFC 4364) + maxLength: 21 + tenant: + allOf: + - $ref: '#/components/schemas/BriefTenantRequest' + nullable: true + enforce_unique: + type: boolean + title: Enforce unique space + description: Prevent duplicate prefixes/IP addresses within this VRF description: type: string maxLength: 200 - permissions: + comments: + type: string + import_targets: type: array items: type: integer - PatchedImageAttachmentRequest: + export_targets: + type: array + items: + type: integer + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} + PatchedVirtualDiskRequest: 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: Adds support for custom fields and tags. properties: - object_type: - type: string - object_id: - type: integer - maximum: 9223372036854775807 - minimum: 0 - format: int64 + virtual_machine: + $ref: '#/components/schemas/BriefVirtualMachineRequest' name: type: string - maxLength: 50 - image: + minLength: 1 + maxLength: 64 + description: type: string - format: binary - image_height: - type: integer - maximum: 32767 - minimum: 0 - image_width: + maxLength: 200 + size: type: integer - maximum: 32767 + maximum: 2147483647 minimum: 0 - PatchedInventoryItemRequest: + title: Size (MB) + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} + PatchedWebhookRequest: type: object description: Adds support for custom fields and tags. properties: - device: - $ref: '#/components/schemas/DeviceRequest' - parent: - type: integer - nullable: true name: type: string minLength: 1 - maxLength: 64 - label: + maxLength: 150 + description: + type: string + maxLength: 200 + payload_url: + type: string + minLength: 1 + title: URL + description: This URL will be called using the HTTP method defined when + the webhook is called. Jinja2 template processing is supported with the + same context as the request body. + maxLength: 500 + http_method: + enum: + - GET + - POST + - PUT + - PATCH + - DELETE + type: string + description: '* `GET` - GET + + * `POST` - POST + + * `PUT` - PUT + + * `PATCH` - PATCH + + * `DELETE` - DELETE' + x-spec-enum-id: a12018571a034921 + http_content_type: + type: string + minLength: 1 + description: The complete list of official content types is available here. + maxLength: 100 + 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: Physical label - maxLength: 64 - role: - allOf: - - $ref: '#/components/schemas/InventoryItemRoleRequest' nullable: true - manufacturer: + description: The specific CA certificate file to use for SSL verification. + Leave blank to use the system defaults. + maxLength: 4096 + custom_fields: + type: object + additionalProperties: {} + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + PatchedWritableAggregateRequest: + type: object + description: Adds support for custom fields and tags. + properties: + prefix: + type: string + minLength: 1 + rir: + $ref: '#/components/schemas/BriefRIRRequest' + tenant: allOf: - - $ref: '#/components/schemas/ManufacturerRequest' + - $ref: '#/components/schemas/BriefTenantRequest' nullable: true - part_id: - type: string - description: Manufacturer-assigned part identifier - maxLength: 50 - serial: - type: string - title: Serial number - maxLength: 50 - asset_tag: + date_added: type: string + format: date nullable: true - description: A unique tag used to identify this item - maxLength: 50 - discovered: - type: boolean - description: This item was automatically discovered description: type: string maxLength: 200 - component_type: + comments: type: string - nullable: true - component_id: - type: integer - maximum: 9223372036854775807 - minimum: 0 - format: int64 - nullable: true tags: type: array items: @@ -118589,27 +170030,152 @@ components: custom_fields: type: object additionalProperties: {} - PatchedInventoryItemRoleRequest: + PatchedWritableCableRequest: type: object description: Adds support for custom fields and tags. properties: - name: + type: + 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 + - usb + - power + - '' type: string - minLength: 1 - maxLength: 100 - slug: + description: '* `cat3` - CAT3 + + * `cat5` - CAT5 + + * `cat5e` - CAT5e + + * `cat6` - CAT6 + + * `cat6a` - CAT6a + + * `cat7` - CAT7 + + * `cat7a` - CAT7a + + * `cat8` - CAT8 + + * `dac-active` - Direct Attach Copper (Active) + + * `dac-passive` - Direct Attach Copper (Passive) + + * `mrj21-trunk` - MRJ21 Trunk + + * `coaxial` - Coaxial + + * `mmf` - Multimode Fiber + + * `mmf-om1` - Multimode Fiber (OM1) + + * `mmf-om2` - Multimode Fiber (OM2) + + * `mmf-om3` - Multimode Fiber (OM3) + + * `mmf-om4` - Multimode Fiber (OM4) + + * `mmf-om5` - Multimode Fiber (OM5) + + * `smf` - Singlemode Fiber + + * `smf-os1` - Singlemode Fiber (OS1) + + * `smf-os2` - Singlemode Fiber (OS2) + + * `aoc` - Active Optical Cabling (AOC) + + * `usb` - USB + + * `power` - Power' + x-spec-enum-id: 7b11d524b2b1a7ef + a_terminations: + type: array + items: + $ref: '#/components/schemas/GenericObjectRequest' + b_terminations: + type: array + items: + $ref: '#/components/schemas/GenericObjectRequest' + status: + enum: + - connected + - planned + - decommissioning + type: string + description: '* `connected` - Connected + + * `planned` - Planned + + * `decommissioning` - Decommissioning' + x-spec-enum-id: fbc2f302c08be50d + tenant: + allOf: + - $ref: '#/components/schemas/BriefTenantRequest' + nullable: true + label: type: string - minLength: 1 maxLength: 100 - pattern: ^[-a-zA-Z0-9_]+$ color: type: string - minLength: 1 pattern: ^[0-9a-f]{6}$ maxLength: 6 + length: + type: number + format: double + maximum: 1000000 + minimum: -1000000 + exclusiveMaximum: true + exclusiveMinimum: true + nullable: true + length_unit: + enum: + - km + - m + - cm + - mi + - ft + - in + - '' + type: string + description: '* `km` - Kilometers + + * `m` - Meters + + * `cm` - Centimeters + + * `mi` - Miles + + * `ft` - Feet + + * `in` - Inches' + x-spec-enum-id: e64ce3a2c5997172 description: type: string maxLength: 200 + comments: + type: string tags: type: array items: @@ -118617,65 +170183,99 @@ components: custom_fields: type: object additionalProperties: {} - PatchedInventoryItemTemplateRequest: + PatchedWritableCircuitGroupAssignmentRequest: type: object - description: 'Extends the built-in ModelSerializer to enforce calling full_clean() - on a copy of the associated instance during + description: Base serializer for group assignments under CircuitSerializer. + properties: + group: + $ref: '#/components/schemas/BriefCircuitGroupRequest' + circuit: + $ref: '#/components/schemas/BriefCircuitRequest' + priority: + enum: + - primary + - secondary + - tertiary + - inactive + - '' + type: string + description: '* `primary` - Primary - validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + * `secondary` - Secondary + + * `tertiary` - Tertiary + + * `inactive` - Inactive' + x-spec-enum-id: ef3a31644cec7524 + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + PatchedWritableCircuitRequest: + type: object + description: Adds support for custom fields and tags. properties: - device_type: - $ref: '#/components/schemas/DeviceTypeRequest' - parent: - type: integer - nullable: true - name: + cid: type: string minLength: 1 - description: '{module} is accepted as a substitution for the module bay - position when attached to a module type.' - maxLength: 64 - label: - type: string - description: Physical label - maxLength: 64 - role: + title: Circuit ID + description: Unique circuit ID + maxLength: 100 + provider: + $ref: '#/components/schemas/BriefProviderRequest' + provider_account: allOf: - - $ref: '#/components/schemas/InventoryItemRoleRequest' + - $ref: '#/components/schemas/BriefProviderAccountRequest' nullable: true - manufacturer: + type: + $ref: '#/components/schemas/BriefCircuitTypeRequest' + status: + enum: + - planned + - provisioning + - active + - offline + - deprovisioning + - decommissioned + type: string + description: '* `planned` - Planned + + * `provisioning` - Provisioning + + * `active` - Active + + * `offline` - Offline + + * `deprovisioning` - Deprovisioning + + * `decommissioned` - Decommissioned' + x-spec-enum-id: 63c838134a022200 + tenant: allOf: - - $ref: '#/components/schemas/ManufacturerRequest' + - $ref: '#/components/schemas/BriefTenantRequest' nullable: true - part_id: - type: string - description: Manufacturer-assigned part identifier - maxLength: 50 - description: + install_date: type: string - maxLength: 200 - component_type: + format: date + nullable: true + title: Installed + termination_date: type: string + format: date nullable: true - component_id: + title: Terminates + commit_rate: type: integer - maximum: 9223372036854775807 + maximum: 2147483647 minimum: 0 - format: int64 nullable: true - PatchedL2VPNTerminationRequest: - type: object - description: Adds support for custom fields and tags. - properties: - l2vpn: - $ref: '#/components/schemas/L2VPNRequest' - assigned_object_type: + title: Commit rate (Kbps) + description: Committed rate + description: + type: string + maxLength: 200 + comments: type: string - assigned_object_id: - type: integer - maximum: 9223372036854775807 - minimum: 0 - format: int64 tags: type: array items: @@ -118683,7 +170283,11 @@ components: custom_fields: type: object additionalProperties: {} - PatchedManufacturerRequest: + assignments: + type: array + items: + $ref: '#/components/schemas/BriefCircuitGroupAssignmentSerializer_Request' + PatchedWritableClusterRequest: type: object description: Adds support for custom fields and tags. properties: @@ -118691,14 +170295,43 @@ components: type: string minLength: 1 maxLength: 100 - slug: + type: + $ref: '#/components/schemas/BriefClusterTypeRequest' + group: + allOf: + - $ref: '#/components/schemas/BriefClusterGroupRequest' + nullable: true + status: + enum: + - planned + - staging + - active + - decommissioning + - offline type: string - minLength: 1 - maxLength: 100 - pattern: ^[-a-zA-Z0-9_]+$ + description: '* `planned` - Planned + + * `staging` - Staging + + * `active` - Active + + * `decommissioning` - Decommissioning + + * `offline` - Offline' + x-spec-enum-id: 79d20a734d0eecbb + tenant: + allOf: + - $ref: '#/components/schemas/BriefTenantRequest' + nullable: true + site: + allOf: + - $ref: '#/components/schemas/BriefSiteRequest' + nullable: true description: type: string maxLength: 200 + comments: + type: string tags: type: array items: @@ -118706,31 +170339,115 @@ components: custom_fields: type: object additionalProperties: {} - PatchedModuleBayRequest: + PatchedWritableConsolePortRequest: type: object description: Adds support for custom fields and tags. properties: device: - $ref: '#/components/schemas/DeviceRequest' + $ref: '#/components/schemas/BriefDeviceRequest' + module: + allOf: + - $ref: '#/components/schemas/BriefModuleRequest' + nullable: true name: type: string minLength: 1 maxLength: 64 - installed_module: - allOf: - - $ref: '#/components/schemas/ModuleRequest' - nullable: true label: type: string description: Physical label maxLength: 64 - position: + type: + 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 - description: Identifier to reference when renaming installed components - maxLength: 30 + x-spec-enum-id: c5f7197b7211818a + description: 'Physical port type + + + * `de-9` - DE-9 + + * `db-25` - DB-25 + + * `rj-11` - RJ-11 + + * `rj-12` - RJ-12 + + * `rj-45` - RJ-45 + + * `mini-din-8` - Mini-DIN 8 + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' + speed: + enum: + - 1200 + - 2400 + - 4800 + - 9600 + - 19200 + - 38400 + - 57600 + - 115200 + type: integer + x-spec-enum-id: ab6d9635c131a378 + nullable: true + description: 'Port speed in bits per second + + + * `1200` - 1200 bps + + * `2400` - 2400 bps + + * `4800` - 4800 bps + + * `9600` - 9600 bps + + * `19200` - 19.2 kbps + + * `38400` - 38.4 kbps + + * `57600` - 57.6 kbps + + * `115200` - 115.2 kbps' + minimum: 0 + maximum: 2147483647 description: type: string maxLength: 200 + mark_connected: + type: boolean + description: Treat as if a cable is connected tags: type: array items: @@ -118738,7 +170455,7 @@ components: custom_fields: type: object additionalProperties: {} - PatchedModuleBayTemplateRequest: + PatchedWritableConsolePortTemplateRequest: type: object description: 'Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during @@ -118746,7 +170463,13 @@ components: validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' properties: device_type: - $ref: '#/components/schemas/DeviceTypeRequest' + allOf: + - $ref: '#/components/schemas/BriefDeviceTypeRequest' + nullable: true + module_type: + allOf: + - $ref: '#/components/schemas/BriefModuleTypeRequest' + nullable: true name: type: string minLength: 1 @@ -118757,76 +170480,284 @@ components: type: string description: Physical label maxLength: 64 - position: + type: + 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 - description: Identifier to reference when renaming installed components - maxLength: 30 + description: '* `de-9` - DE-9 + + * `db-25` - DB-25 + + * `rj-11` - RJ-11 + + * `rj-12` - RJ-12 + + * `rj-45` - RJ-45 + + * `mini-din-8` - Mini-DIN 8 + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' + x-spec-enum-id: c5f7197b7211818a description: type: string maxLength: 200 - PatchedObjectPermissionRequest: + PatchedWritableConsoleServerPortRequest: 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: Adds support for custom fields and tags. properties: + device: + $ref: '#/components/schemas/BriefDeviceRequest' + module: + allOf: + - $ref: '#/components/schemas/BriefModuleRequest' + nullable: true name: type: string minLength: 1 - maxLength: 100 + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + type: + 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 + x-spec-enum-id: c5f7197b7211818a + description: 'Physical port type + + + * `de-9` - DE-9 + + * `db-25` - DB-25 + + * `rj-11` - RJ-11 + + * `rj-12` - RJ-12 + + * `rj-45` - RJ-45 + + * `mini-din-8` - Mini-DIN 8 + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' + speed: + enum: + - 1200 + - 2400 + - 4800 + - 9600 + - 19200 + - 38400 + - 57600 + - 115200 + type: integer + x-spec-enum-id: ab6d9635c131a378 + nullable: true + description: 'Port speed in bits per second + + + * `1200` - 1200 bps + + * `2400` - 2400 bps + + * `4800` - 4800 bps + + * `9600` - 9600 bps + + * `19200` - 19.2 kbps + + * `38400` - 38.4 kbps + + * `57600` - 57.6 kbps + + * `115200` - 115.2 kbps' + minimum: 0 + maximum: 2147483647 description: type: string maxLength: 200 - enabled: + mark_connected: type: boolean - object_types: - type: array - items: - type: string - actions: + description: Treat as if a cable is connected + tags: type: array items: - type: string - minLength: 1 - maxLength: 30 - description: The list of actions granted by this permission - constraints: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} + PatchedWritableConsoleServerPortTemplateRequest: + 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: + device_type: + allOf: + - $ref: '#/components/schemas/BriefDeviceTypeRequest' nullable: true - description: Queryset filter matching the applicable objects of the selected - type(s) - groups: - type: array - items: - type: integer - users: - type: array - items: - type: integer - PatchedPlatformRequest: + module_type: + allOf: + - $ref: '#/components/schemas/BriefModuleTypeRequest' + nullable: true + name: + type: string + minLength: 1 + description: '{module} is accepted as a substitution for the module bay + position when attached to a module type.' + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + type: + 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 + description: '* `de-9` - DE-9 + + * `db-25` - DB-25 + + * `rj-11` - RJ-11 + + * `rj-12` - RJ-12 + + * `rj-45` - RJ-45 + + * `mini-din-8` - Mini-DIN 8 + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' + x-spec-enum-id: c5f7197b7211818a + description: + type: string + maxLength: 200 + PatchedWritableContactAssignmentRequest: type: object description: Adds support for custom fields and tags. properties: - name: - type: string - minLength: 1 - maxLength: 100 - slug: + object_type: type: string - minLength: 1 - maxLength: 100 - pattern: ^[-a-zA-Z0-9_]+$ - manufacturer: - allOf: - - $ref: '#/components/schemas/ManufacturerRequest' - nullable: true - config_template: + object_id: + type: integer + maximum: 9223372036854775807 + minimum: 0 + format: int64 + contact: + $ref: '#/components/schemas/BriefContactRequest' + role: allOf: - - $ref: '#/components/schemas/ConfigTemplateRequest' + - $ref: '#/components/schemas/BriefContactRoleRequest' nullable: true - description: + priority: + enum: + - primary + - secondary + - tertiary + - inactive + - '' type: string - maxLength: 200 + description: '* `primary` - Primary + + * `secondary` - Secondary + + * `tertiary` - Tertiary + + * `inactive` - Inactive' + x-spec-enum-id: ef3a31644cec7524 tags: type: array items: @@ -118834,25 +170765,25 @@ components: custom_fields: type: object additionalProperties: {} - PatchedPowerPanelRequest: + PatchedWritableContactGroupRequest: type: object - description: Adds support for custom fields and tags. + description: Extends PrimaryModelSerializer to include MPTT support. properties: - site: - $ref: '#/components/schemas/SiteRequest' - location: - allOf: - - $ref: '#/components/schemas/LocationRequest' - nullable: true name: type: string minLength: 1 maxLength: 100 + slug: + type: string + minLength: 1 + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + parent: + type: integer + nullable: true description: type: string maxLength: 200 - comments: - type: string tags: type: array items: @@ -118860,97 +170791,272 @@ components: custom_fields: type: object additionalProperties: {} - PatchedProviderAccountRequest: + PatchedWritableCustomFieldChoiceSetRequest: type: object - description: Adds support for custom fields and tags. + 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: - provider: - $ref: '#/components/schemas/ProviderRequest' name: - type: string - default: '' - maxLength: 100 - account: type: string minLength: 1 - title: Account ID maxLength: 100 description: type: string maxLength: 200 - comments: + base_choices: + enum: + - IATA + - ISO_3166 + - UN_LOCODE + - '' type: string - tags: + x-spec-enum-id: cf0efb5195f85007 + description: 'Base set of predefined choices (optional) + + + * `IATA` - IATA (Airport codes) + + * `ISO_3166` - ISO 3166 (Country codes) + + * `UN_LOCODE` - UN/LOCODE (Location codes)' + extra_choices: type: array items: - $ref: '#/components/schemas/NestedTagRequest' - custom_fields: - type: object - additionalProperties: {} - PatchedProviderNetworkRequest: + type: array + items: {} + maxItems: 2 + minItems: 2 + order_alphabetically: + type: boolean + description: Choices are automatically ordered alphabetically + PatchedWritableCustomFieldRequest: type: object - description: Adds support for custom fields and tags. + 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: - provider: - $ref: '#/components/schemas/ProviderRequest' + object_types: + type: array + items: + type: string + type: + enum: + - text + - longtext + - integer + - decimal + - boolean + - date + - datetime + - url + - json + - select + - multiselect + - object + - multiobject + type: string + x-spec-enum-id: 22e3a64138d10046 + description: 'The type of data this custom field holds + + + * `text` - Text + + * `longtext` - Text (long) + + * `integer` - Integer + + * `decimal` - Decimal + + * `boolean` - Boolean (true/false) + + * `date` - Date + + * `datetime` - Date & time + + * `url` - URL + + * `json` - JSON + + * `select` - Selection + + * `multiselect` - Multiple selection + + * `object` - Object + + * `multiobject` - Multiple objects' + related_object_type: + type: string + nullable: true name: type: string minLength: 1 - maxLength: 100 - service_id: + description: Internal field name + pattern: ^[a-z0-9_]+$ + maxLength: 50 + label: type: string - maxLength: 100 + description: Name of the field as displayed to users (if not provided, 'the + field's name will be used) + maxLength: 50 + group_name: + type: string + description: Custom fields within the same group will be displayed together + maxLength: 50 description: type: string maxLength: 200 + required: + type: boolean + description: This field is required when creating new objects or editing + an existing object. + unique: + type: boolean + title: Must be unique + description: The value of this field must be unique for the assigned object + search_weight: + type: integer + maximum: 32767 + minimum: 0 + description: Weighting for search. Lower values are considered more important. + Fields with a search weight of zero will be ignored. + filter_logic: + enum: + - disabled + - loose + - exact + type: string + x-spec-enum-id: a958350ae21c10ee + description: 'Loose matches any instance of a given string; exact matches + the entire field. + + + * `disabled` - Disabled + + * `loose` - Loose + + * `exact` - Exact' + ui_visible: + enum: + - always + - if-set + - hidden + type: string + x-spec-enum-id: cd2cf94af56de747 + description: 'Specifies whether the custom field is displayed in the UI + + + * `always` - Always + + * `if-set` - If set + + * `hidden` - Hidden' + ui_editable: + enum: + - 'yes' + - 'no' + - hidden + type: string + x-spec-enum-id: 1065673147e26bb5 + description: 'Specifies whether the custom field value can be edited in + the UI + + + * `yes` - Yes + + * `no` - No + + * `hidden` - Hidden' + is_cloneable: + type: boolean + description: Replicate this value when cloning objects + default: + nullable: true + description: Default value for the field (must be a JSON value). Encapsulate + strings with double quotes (e.g. "Foo"). + related_object_filter: + nullable: true + description: Filter the object selection choices using a query_params dict + (must be a JSON value).Encapsulate strings with double quotes (e.g. "Foo"). + weight: + type: integer + maximum: 32767 + minimum: 0 + title: Display weight + description: Fields with higher weights appear lower in a form. + validation_minimum: + type: integer + maximum: 9223372036854775807 + minimum: -9223372036854775808 + format: int64 + nullable: true + title: Minimum value + description: Minimum allowed value (for numeric fields) + validation_maximum: + type: integer + maximum: 9223372036854775807 + minimum: -9223372036854775808 + format: int64 + nullable: true + title: Maximum value + description: Maximum allowed value (for numeric fields) + validation_regex: + type: string + description: Regular expression to enforce on text field values. Use ^ and + $ to force matching of entire string. For example, ^[A-Z]{3}$ + will limit values to exactly three uppercase letters. + maxLength: 500 + choice_set: + allOf: + - $ref: '#/components/schemas/BriefCustomFieldChoiceSetRequest' + nullable: true comments: type: string - tags: - type: array - items: - $ref: '#/components/schemas/NestedTagRequest' - custom_fields: - type: object - additionalProperties: {} - PatchedProviderRequest: + PatchedWritableDataSourceRequest: type: object description: Adds support for custom fields and tags. properties: name: type: string minLength: 1 - description: Full name of the provider maxLength: 100 - slug: + type: type: string minLength: 1 - maxLength: 100 - pattern: ^[-a-zA-Z0-9_]+$ - accounts: - type: array - items: - type: integer + maxLength: 50 + source_url: + type: string + minLength: 1 + title: URL + maxLength: 200 + enabled: + type: boolean description: type: string maxLength: 200 + parameters: + nullable: true + ignore_rules: + type: string + description: Patterns (one per line) matching files to ignore when syncing comments: type: string - asns: - type: array - items: - type: integer - tags: - type: array - items: - $ref: '#/components/schemas/NestedTagRequest' custom_fields: type: object additionalProperties: {} - PatchedRIRRequest: + PatchedWritableDeviceTypeRequest: type: object description: Adds support for custom fields and tags. properties: - name: + manufacturer: + $ref: '#/components/schemas/BriefManufacturerRequest' + default_platform: + allOf: + - $ref: '#/components/schemas/BriefPlatformRequest' + nullable: true + model: type: string minLength: 1 maxLength: 100 @@ -118959,41 +171065,96 @@ components: minLength: 1 maxLength: 100 pattern: ^[-a-zA-Z0-9_]+$ - is_private: + part_number: + type: string + description: Discrete part number (optional) + maxLength: 50 + u_height: + type: number + format: double + maximum: 1000 + minimum: 0 + exclusiveMaximum: true + default: 1.0 + title: Position (U) + exclude_from_utilization: type: boolean - title: Private - description: IP space managed by this RIR is considered private - description: + description: Devices of this type are excluded when calculating rack utilization. + is_full_depth: + type: boolean + description: Device consumes both front and rear rack faces. + subdevice_role: + enum: + - parent + - child + - '' type: string - maxLength: 200 - tags: - type: array - items: - $ref: '#/components/schemas/NestedTagRequest' - custom_fields: - type: object - additionalProperties: {} - PatchedRackReservationRequest: - type: object - description: Adds support for custom fields and tags. - properties: - rack: - $ref: '#/components/schemas/RackRequest' - units: - type: array - items: - type: integer - maximum: 32767 - minimum: 0 - user: - $ref: '#/components/schemas/UserRequest' - tenant: - allOf: - - $ref: '#/components/schemas/TenantRequest' + x-spec-enum-id: d10d91f690a856c2 + 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. + + + * `parent` - Parent + + * `child` - Child' + airflow: + enum: + - front-to-rear + - rear-to-front + - left-to-right + - right-to-left + - side-to-rear + - passive + - mixed + - '' + type: string + description: '* `front-to-rear` - Front to rear + + * `rear-to-front` - Rear to front + + * `left-to-right` - Left to right + + * `right-to-left` - Right to left + + * `side-to-rear` - Side to rear + + * `passive` - Passive + + * `mixed` - Mixed' + x-spec-enum-id: 58e389e240a5e53d + weight: + type: number + format: double + maximum: 1000000 + minimum: -1000000 + exclusiveMaximum: true + exclusiveMinimum: true nullable: true + weight_unit: + enum: + - kg + - g + - lb + - oz + - '' + type: string + description: '* `kg` - Kilograms + + * `g` - Grams + + * `lb` - Pounds + + * `oz` - Ounces' + x-spec-enum-id: 7c1876f422815884 + front_image: + type: string + format: binary + rear_image: + type: string + format: binary description: type: string - minLength: 1 maxLength: 200 comments: type: string @@ -119004,27 +171165,176 @@ components: custom_fields: type: object additionalProperties: {} - PatchedRackRoleRequest: + PatchedWritableDeviceWithConfigContextRequest: type: object description: Adds support for custom fields and tags. properties: name: type: string - minLength: 1 - maxLength: 100 - slug: + nullable: true + maxLength: 64 + device_type: + $ref: '#/components/schemas/BriefDeviceTypeRequest' + role: + $ref: '#/components/schemas/BriefDeviceRoleRequest' + tenant: + allOf: + - $ref: '#/components/schemas/BriefTenantRequest' + nullable: true + platform: + allOf: + - $ref: '#/components/schemas/BriefPlatformRequest' + nullable: true + serial: type: string - minLength: 1 - maxLength: 100 - pattern: ^[-a-zA-Z0-9_]+$ - color: + title: Serial number + description: Chassis serial number, assigned by the manufacturer + maxLength: 50 + asset_tag: type: string - minLength: 1 - pattern: ^[0-9a-f]{6}$ - maxLength: 6 + nullable: true + description: A unique tag used to identify this device + maxLength: 50 + site: + $ref: '#/components/schemas/BriefSiteRequest' + location: + allOf: + - $ref: '#/components/schemas/BriefLocationRequest' + nullable: true + rack: + allOf: + - $ref: '#/components/schemas/BriefRackRequest' + nullable: true + position: + type: number + format: double + maximum: 1000 + minimum: 0.5 + exclusiveMaximum: true + nullable: true + title: Position (U) + face: + enum: + - front + - rear + - '' + type: string + description: '* `front` - Front + + * `rear` - Rear' + x-spec-enum-id: d2fb9b3f75158b83 + title: Rack face + latitude: + type: number + format: double + maximum: 100 + minimum: -100 + exclusiveMaximum: true + exclusiveMinimum: true + nullable: true + description: GPS coordinate in decimal format (xx.yyyyyy) + longitude: + type: number + format: double + maximum: 1000 + minimum: -1000 + exclusiveMaximum: true + exclusiveMinimum: true + nullable: true + description: GPS coordinate in decimal format (xx.yyyyyy) + status: + enum: + - offline + - active + - planned + - staged + - failed + - inventory + - decommissioning + type: string + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `staged` - Staged + + * `failed` - Failed + + * `inventory` - Inventory + + * `decommissioning` - Decommissioning' + x-spec-enum-id: 8d8971779f16ee18 + airflow: + enum: + - front-to-rear + - rear-to-front + - left-to-right + - right-to-left + - side-to-rear + - passive + - mixed + - '' + type: string + description: '* `front-to-rear` - Front to rear + + * `rear-to-front` - Rear to front + + * `left-to-right` - Left to right + + * `right-to-left` - Right to left + + * `side-to-rear` - Side to rear + + * `passive` - Passive + + * `mixed` - Mixed' + x-spec-enum-id: 58e389e240a5e53d + primary_ip4: + allOf: + - $ref: '#/components/schemas/BriefIPAddressRequest' + nullable: true + primary_ip6: + allOf: + - $ref: '#/components/schemas/BriefIPAddressRequest' + nullable: true + oob_ip: + allOf: + - $ref: '#/components/schemas/BriefIPAddressRequest' + nullable: true + cluster: + allOf: + - $ref: '#/components/schemas/BriefClusterRequest' + nullable: true + virtual_chassis: + allOf: + - $ref: '#/components/schemas/BriefVirtualChassisRequest' + nullable: true + vc_position: + type: integer + maximum: 255 + minimum: 0 + nullable: true + vc_priority: + type: integer + maximum: 255 + minimum: 0 + nullable: true + description: Virtual chassis master election priority description: type: string maxLength: 200 + comments: + type: string + config_template: + allOf: + - $ref: '#/components/schemas/BriefConfigTemplateRequest' + nullable: true + local_context_data: + nullable: true + description: Local config context data takes precedence over source contexts + in the final rendered config context tags: type: array items: @@ -119032,51 +171342,285 @@ components: custom_fields: type: object additionalProperties: {} - PatchedRoleRequest: + PatchedWritableEventRuleRequest: type: object description: Adds support for custom fields and tags. properties: + object_types: + type: array + items: + type: string name: type: string minLength: 1 - maxLength: 100 - slug: + maxLength: 150 + enabled: + type: boolean + event_types: + type: array + items: + enum: + - object_created + - object_updated + - object_deleted + - job_started + - job_completed + - job_failed + - job_errored + type: string + description: '* `object_created` - Object created + + * `object_updated` - Object updated + + * `object_deleted` - Object deleted + + * `job_started` - Job started + + * `job_completed` - Job completed + + * `job_failed` - Job failed + + * `job_errored` - Job errored' + x-spec-enum-id: 80d172232f4af424 + description: The types of event which will trigger this rule. + conditions: + nullable: true + description: A set of conditions which determine whether the event will + be generated. + action_type: + enum: + - webhook + - script + - notification type: string - minLength: 1 - maxLength: 100 - pattern: ^[-a-zA-Z0-9_]+$ - weight: + description: '* `webhook` - Webhook + + * `script` - Script + + * `notification` - Notification' + x-spec-enum-id: d07193c73ebc03c6 + action_object_type: + type: string + action_object_id: type: integer - maximum: 32767 + maximum: 9223372036854775807 minimum: 0 + format: int64 + nullable: true description: type: string maxLength: 200 + custom_fields: + type: object + additionalProperties: {} tags: type: array items: $ref: '#/components/schemas/NestedTagRequest' - custom_fields: - type: object - additionalProperties: {} - PatchedRouteTargetRequest: + PatchedWritableFrontPortRequest: type: object description: Adds support for custom fields and tags. properties: + device: + $ref: '#/components/schemas/BriefDeviceRequest' + module: + allOf: + - $ref: '#/components/schemas/BriefModuleRequest' + nullable: true name: type: string minLength: 1 - description: Route target value (formatted in accordance with RFC 4360) - maxLength: 21 - tenant: - allOf: - - $ref: '#/components/schemas/TenantRequest' - nullable: true + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + type: + enum: + - 8p8c + - 8p6c + - 8p4c + - 8p2c + - 6p6c + - 6p4c + - 6p2c + - 4p4c + - 4p2c + - gg45 + - tera-4p + - tera-2p + - tera-1p + - 110-punch + - bnc + - f + - n + - mrj21 + - fc + - lc + - lc-pc + - lc-upc + - lc-apc + - lsh + - lsh-pc + - lsh-upc + - lsh-apc + - lx5 + - lx5-pc + - lx5-upc + - lx5-apc + - mpo + - mtrj + - sc + - sc-pc + - sc-upc + - sc-apc + - st + - cs + - sn + - sma-905 + - sma-906 + - urm-p2 + - urm-p4 + - urm-p8 + - splice + - usb-a + - usb-b + - usb-c + - usb-mini-a + - usb-mini-b + - usb-micro-a + - usb-micro-b + - usb-micro-ab + - other + type: string + description: '* `8p8c` - 8P8C + + * `8p6c` - 8P6C + + * `8p4c` - 8P4C + + * `8p2c` - 8P2C + + * `6p6c` - 6P6C + + * `6p4c` - 6P4C + + * `6p2c` - 6P2C + + * `4p4c` - 4P4C + + * `4p2c` - 4P2C + + * `gg45` - GG45 + + * `tera-4p` - TERA 4P + + * `tera-2p` - TERA 2P + + * `tera-1p` - TERA 1P + + * `110-punch` - 110 Punch + + * `bnc` - BNC + + * `f` - F Connector + + * `n` - N Connector + + * `mrj21` - MRJ21 + + * `fc` - FC + + * `lc` - LC + + * `lc-pc` - LC/PC + + * `lc-upc` - LC/UPC + + * `lc-apc` - LC/APC + + * `lsh` - LSH + + * `lsh-pc` - LSH/PC + + * `lsh-upc` - LSH/UPC + + * `lsh-apc` - LSH/APC + + * `lx5` - LX.5 + + * `lx5-pc` - LX.5/PC + + * `lx5-upc` - LX.5/UPC + + * `lx5-apc` - LX.5/APC + + * `mpo` - MPO + + * `mtrj` - MTRJ + + * `sc` - SC + + * `sc-pc` - SC/PC + + * `sc-upc` - SC/UPC + + * `sc-apc` - SC/APC + + * `st` - ST + + * `cs` - CS + + * `sn` - SN + + * `sma-905` - SMA 905 + + * `sma-906` - SMA 906 + + * `urm-p2` - URM-P2 + + * `urm-p4` - URM-P4 + + * `urm-p8` - URM-P8 + + * `splice` - Splice + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' + x-spec-enum-id: c5086c01f1f9c18a + color: + type: string + pattern: ^[0-9a-f]{6}$ + maxLength: 6 + rear_port: + type: integer + rear_port_position: + type: integer + maximum: 1024 + minimum: 1 + default: 1 + description: Mapped position on corresponding rear port description: type: string maxLength: 200 - comments: - type: string + mark_connected: + type: boolean + description: Treat as if a cable is connected tags: type: array items: @@ -119084,70 +171628,214 @@ components: custom_fields: type: object additionalProperties: {} - PatchedSavedFilterRequest: + PatchedWritableFrontPortTemplateRequest: 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: - object_types: - type: array - items: - type: string + device_type: + allOf: + - $ref: '#/components/schemas/BriefDeviceTypeRequest' + nullable: true + module_type: + allOf: + - $ref: '#/components/schemas/BriefModuleTypeRequest' + nullable: true name: type: string minLength: 1 - maxLength: 100 - slug: + description: '{module} is accepted as a substitution for the module bay + position when attached to a module type.' + maxLength: 64 + label: type: string - minLength: 1 - maxLength: 100 - pattern: ^[-a-zA-Z0-9_]+$ - description: + description: Physical label + maxLength: 64 + type: + enum: + - 8p8c + - 8p6c + - 8p4c + - 8p2c + - 6p6c + - 6p4c + - 6p2c + - 4p4c + - 4p2c + - gg45 + - tera-4p + - tera-2p + - tera-1p + - 110-punch + - bnc + - f + - n + - mrj21 + - fc + - lc + - lc-pc + - lc-upc + - lc-apc + - lsh + - lsh-pc + - lsh-upc + - lsh-apc + - lx5 + - lx5-pc + - lx5-upc + - lx5-apc + - mpo + - mtrj + - sc + - sc-pc + - sc-upc + - sc-apc + - st + - cs + - sn + - sma-905 + - sma-906 + - urm-p2 + - urm-p4 + - urm-p8 + - splice + - usb-a + - usb-b + - usb-c + - usb-mini-a + - usb-mini-b + - usb-micro-a + - usb-micro-b + - usb-micro-ab + - other type: string - maxLength: 200 - user: - type: integer - nullable: true - weight: - type: integer - maximum: 32767 - minimum: 0 - enabled: - type: boolean - shared: - type: boolean - parameters: {} - PatchedTagRequest: - type: object - description: 'Extends the built-in ModelSerializer to enforce calling full_clean() - on a copy of the associated instance during + description: '* `8p8c` - 8P8C + + * `8p6c` - 8P6C + + * `8p4c` - 8P4C + + * `8p2c` - 8P2C + + * `6p6c` - 6P6C + + * `6p4c` - 6P4C + + * `6p2c` - 6P2C + + * `4p4c` - 4P4C + + * `4p2c` - 4P2C + + * `gg45` - GG45 + + * `tera-4p` - TERA 4P + + * `tera-2p` - TERA 2P + + * `tera-1p` - TERA 1P + + * `110-punch` - 110 Punch + + * `bnc` - BNC + + * `f` - F Connector + + * `n` - N Connector + + * `mrj21` - MRJ21 + + * `fc` - FC + + * `lc` - LC + + * `lc-pc` - LC/PC + + * `lc-upc` - LC/UPC + + * `lc-apc` - LC/APC + + * `lsh` - LSH + + * `lsh-pc` - LSH/PC + + * `lsh-upc` - LSH/UPC + + * `lsh-apc` - LSH/APC + + * `lx5` - LX.5 + + * `lx5-pc` - LX.5/PC + + * `lx5-upc` - LX.5/UPC + + * `lx5-apc` - LX.5/APC + + * `mpo` - MPO + + * `mtrj` - MTRJ + + * `sc` - SC + + * `sc-pc` - SC/PC + + * `sc-upc` - SC/UPC + + * `sc-apc` - SC/APC + + * `st` - ST + + * `cs` - CS + + * `sn` - SN + + * `sma-905` - SMA 905 + + * `sma-906` - SMA 906 + + * `urm-p2` - URM-P2 - validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' - properties: - name: - type: string - minLength: 1 - maxLength: 100 - slug: - type: string - minLength: 1 - pattern: ^[-\w]+$ - maxLength: 100 + * `urm-p4` - URM-P4 + + * `urm-p8` - URM-P8 + + * `splice` - Splice + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' + x-spec-enum-id: c5086c01f1f9c18a color: type: string - minLength: 1 pattern: ^[0-9a-f]{6}$ maxLength: 6 + rear_port: + $ref: '#/components/schemas/BriefRearPortTemplateRequest' + rear_port_position: + type: integer + maximum: 1024 + minimum: 1 + default: 1 description: type: string maxLength: 200 - object_types: - type: array - items: - type: string - PatchedTenantRequest: + PatchedWritableIKEPolicyRequest: type: object description: Adds support for custom fields and tags. properties: @@ -119155,18 +171843,37 @@ components: type: string minLength: 1 maxLength: 100 - slug: - type: string - minLength: 1 - maxLength: 100 - pattern: ^[-a-zA-Z0-9_]+$ - group: - allOf: - - $ref: '#/components/schemas/TenantGroupRequest' - nullable: true description: type: string maxLength: 200 + version: + enum: + - 1 + - 2 + type: integer + description: '* `1` - IKEv1 + + * `2` - IKEv2' + x-spec-enum-id: 00872b77916a1fde + minimum: 0 + maximum: 32767 + mode: + enum: + - aggressive + - main + - '' + type: string + description: '* `aggressive` - Aggressive + + * `main` - Main' + x-spec-enum-id: 64c1be7bdb2548ca + proposals: + type: array + items: + type: integer + preshared_key: + type: string + title: Pre-shared key comments: type: string tags: @@ -119176,34 +171883,7 @@ components: custom_fields: type: object additionalProperties: {} - PatchedTokenRequest: - 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: - user: - $ref: '#/components/schemas/UserRequest' - expires: - type: string - format: date-time - nullable: true - last_used: - type: string - format: date-time - nullable: true - key: - type: string - maxLength: 40 - minLength: 40 - write_enabled: - type: boolean - description: Permit create/update/delete operations using this key - description: - type: string - maxLength: 200 - PatchedTunnelGroupRequest: + PatchedWritableIKEProposalRequest: type: object description: Adds support for custom fields and tags. properties: @@ -119211,14 +171891,158 @@ components: type: string minLength: 1 maxLength: 100 - slug: - type: string - minLength: 1 - maxLength: 100 - pattern: ^[-a-zA-Z0-9_]+$ description: type: string maxLength: 200 + authentication_method: + enum: + - preshared-keys + - certificates + - rsa-signatures + - dsa-signatures + type: string + description: '* `preshared-keys` - Pre-shared keys + + * `certificates` - Certificates + + * `rsa-signatures` - RSA signatures + + * `dsa-signatures` - DSA signatures' + x-spec-enum-id: 92bb2f1103b3a262 + encryption_algorithm: + enum: + - aes-128-cbc + - aes-128-gcm + - aes-192-cbc + - aes-192-gcm + - aes-256-cbc + - aes-256-gcm + - 3des-cbc + - des-cbc + type: string + description: '* `aes-128-cbc` - 128-bit AES (CBC) + + * `aes-128-gcm` - 128-bit AES (GCM) + + * `aes-192-cbc` - 192-bit AES (CBC) + + * `aes-192-gcm` - 192-bit AES (GCM) + + * `aes-256-cbc` - 256-bit AES (CBC) + + * `aes-256-gcm` - 256-bit AES (GCM) + + * `3des-cbc` - 3DES + + * `des-cbc` - DES' + x-spec-enum-id: b022535cfdee79fe + authentication_algorithm: + enum: + - hmac-sha1 + - hmac-sha256 + - hmac-sha384 + - hmac-sha512 + - hmac-md5 + - '' + type: string + description: '* `hmac-sha1` - SHA-1 HMAC + + * `hmac-sha256` - SHA-256 HMAC + + * `hmac-sha384` - SHA-384 HMAC + + * `hmac-sha512` - SHA-512 HMAC + + * `hmac-md5` - MD5 HMAC' + x-spec-enum-id: 0830e8839f5dea4f + group: + enum: + - 1 + - 2 + - 5 + - 14 + - 15 + - 16 + - 17 + - 18 + - 19 + - 20 + - 21 + - 22 + - 23 + - 24 + - 25 + - 26 + - 27 + - 28 + - 29 + - 30 + - 31 + - 32 + - 33 + - 34 + type: integer + x-spec-enum-id: dbef43be795462a8 + description: 'Diffie-Hellman group ID + + + * `1` - Group 1 + + * `2` - Group 2 + + * `5` - Group 5 + + * `14` - Group 14 + + * `15` - Group 15 + + * `16` - Group 16 + + * `17` - Group 17 + + * `18` - Group 18 + + * `19` - Group 19 + + * `20` - Group 20 + + * `21` - Group 21 + + * `22` - Group 22 + + * `23` - Group 23 + + * `24` - Group 24 + + * `25` - Group 25 + + * `26` - Group 26 + + * `27` - Group 27 + + * `28` - Group 28 + + * `29` - Group 29 + + * `30` - Group 30 + + * `31` - Group 31 + + * `32` - Group 32 + + * `33` - Group 33 + + * `34` - Group 34' + minimum: 0 + maximum: 32767 + sa_lifetime: + type: integer + maximum: 2147483647 + minimum: 0 + nullable: true + description: Security association lifetime (in seconds) + comments: + type: string tags: type: array items: @@ -119226,94 +172050,97 @@ components: custom_fields: type: object additionalProperties: {} - PatchedUserRequest: + PatchedWritableIPAddressRequest: 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: Adds support for custom fields and tags. properties: - username: - type: string - minLength: 1 - description: Required. 150 characters or fewer. Letters, digits and @/./+/-/_ - only. - pattern: ^[\w.@+-]+$ - maxLength: 150 - password: + address: type: string - writeOnly: true minLength: 1 - maxLength: 128 - first_name: - type: string - maxLength: 150 - last_name: - type: string - maxLength: 150 - email: - type: string - format: email - title: Email address - maxLength: 254 - is_staff: - type: boolean - title: Staff status - description: Designates whether the user can log into this admin site. - is_active: - type: boolean - title: Active - description: Designates whether this user should be treated as active. Unselect - this instead of deleting accounts. - date_joined: - type: string - format: date-time - last_login: - type: string - format: date-time + vrf: + allOf: + - $ref: '#/components/schemas/BriefVRFRequest' nullable: true - groups: - type: array - items: - type: integer - permissions: - type: array - items: - type: integer - PatchedVLANGroupRequest: - type: object - description: Adds support for custom fields and tags. - properties: - name: + tenant: + allOf: + - $ref: '#/components/schemas/BriefTenantRequest' + nullable: true + status: + enum: + - active + - reserved + - deprecated + - dhcp + - slaac type: string - minLength: 1 - maxLength: 100 - slug: + x-spec-enum-id: 24935cfee15bd268 + description: 'The operational status of this IP + + + * `active` - Active + + * `reserved` - Reserved + + * `deprecated` - Deprecated + + * `dhcp` - DHCP + + * `slaac` - SLAAC' + role: + enum: + - loopback + - secondary + - anycast + - vip + - vrrp + - hsrp + - glbp + - carp + - '' type: string - minLength: 1 - maxLength: 100 - pattern: ^[-a-zA-Z0-9_]+$ - scope_type: + x-spec-enum-id: 10fbcb4930889b0f + description: 'The functional role of this IP + + + * `loopback` - Loopback + + * `secondary` - Secondary + + * `anycast` - Anycast + + * `vip` - VIP + + * `vrrp` - VRRP + + * `hsrp` - HSRP + + * `glbp` - GLBP + + * `carp` - CARP' + assigned_object_type: type: string nullable: true - scope_id: + assigned_object_id: type: integer + maximum: 9223372036854775807 + minimum: 0 + format: int64 nullable: true - min_vid: - type: integer - maximum: 4094 - minimum: 1 - title: Minimum VLAN ID - description: Lowest permissible ID of a child VLAN - max_vid: + nat_inside: type: integer - maximum: 4094 - minimum: 1 - title: Maximum VLAN ID - description: Highest permissible ID of a child VLAN + nullable: true + title: NAT (inside) + description: The IP for which this address is the "outside" IP + dns_name: + type: string + description: Hostname or FQDN (not case-sensitive) + pattern: ^([0-9A-Za-z_-]+|\*)(\.[0-9A-Za-z_-]+)*\.?$ + maxLength: 255 description: type: string maxLength: 200 + comments: + type: string tags: type: array items: @@ -119321,41 +172148,48 @@ components: custom_fields: type: object additionalProperties: {} - PatchedVRFRequest: + PatchedWritableIPRangeRequest: type: object description: Adds support for custom fields and tags. properties: - name: + start_address: type: string minLength: 1 - maxLength: 100 - rd: + end_address: type: string + minLength: 1 + vrf: + allOf: + - $ref: '#/components/schemas/BriefVRFRequest' nullable: true - title: Route distinguisher - description: Unique route distinguisher (as defined in RFC 4364) - maxLength: 21 tenant: allOf: - - $ref: '#/components/schemas/TenantRequest' + - $ref: '#/components/schemas/BriefTenantRequest' + nullable: true + status: + enum: + - active + - reserved + - deprecated + type: string + x-spec-enum-id: 6388dfb94ca1cc15 + description: 'Operational status of this range + + + * `active` - Active + + * `reserved` - Reserved + + * `deprecated` - Deprecated' + role: + allOf: + - $ref: '#/components/schemas/BriefRoleRequest' nullable: true - enforce_unique: - type: boolean - title: Enforce unique space - description: Prevent duplicate prefixes/IP addresses within this VRF description: type: string maxLength: 200 comments: type: string - import_targets: - type: array - items: - type: integer - export_targets: - type: array - items: - type: integer tags: type: array items: @@ -119363,24 +172197,107 @@ components: custom_fields: type: object additionalProperties: {} - PatchedVirtualDiskRequest: + mark_utilized: + type: boolean + description: Treat as fully utilized + PatchedWritableIPSecPolicyRequest: type: object description: Adds support for custom fields and tags. properties: - virtual_machine: - $ref: '#/components/schemas/VirtualMachineRequest' name: type: string minLength: 1 - maxLength: 64 + maxLength: 100 description: type: string maxLength: 200 - size: + proposals: + type: array + items: + type: integer + pfs_group: + enum: + - 1 + - 2 + - 5 + - 14 + - 15 + - 16 + - 17 + - 18 + - 19 + - 20 + - 21 + - 22 + - 23 + - 24 + - 25 + - 26 + - 27 + - 28 + - 29 + - 30 + - 31 + - 32 + - 33 + - 34 type: integer - maximum: 2147483647 + x-spec-enum-id: dbef43be795462a8 + nullable: true + description: 'Diffie-Hellman group for Perfect Forward Secrecy + + + * `1` - Group 1 + + * `2` - Group 2 + + * `5` - Group 5 + + * `14` - Group 14 + + * `15` - Group 15 + + * `16` - Group 16 + + * `17` - Group 17 + + * `18` - Group 18 + + * `19` - Group 19 + + * `20` - Group 20 + + * `21` - Group 21 + + * `22` - Group 22 + + * `23` - Group 23 + + * `24` - Group 24 + + * `25` - Group 25 + + * `26` - Group 26 + + * `27` - Group 27 + + * `28` - Group 28 + + * `29` - Group 29 + + * `30` - Group 30 + + * `31` - Group 31 + + * `32` - Group 32 + + * `33` - Group 33 + + * `34` - Group 34' minimum: 0 - title: Size (GB) + maximum: 32767 + comments: + type: string tags: type: array items: @@ -119388,103 +172305,113 @@ components: custom_fields: type: object additionalProperties: {} - PatchedWebhookRequest: + PatchedWritableIPSecProfileRequest: type: object description: Adds support for custom fields and tags. properties: name: type: string minLength: 1 - maxLength: 150 + maxLength: 100 description: type: string maxLength: 200 - payload_url: - type: string - minLength: 1 - title: URL - description: This URL will be called using the HTTP method defined when - the webhook is called. Jinja2 template processing is supported with the - same context as the request body. - maxLength: 500 - http_method: + mode: enum: - - GET - - POST - - PUT - - PATCH - - DELETE + - esp + - ah type: string - description: '* `GET` - GET - - * `POST` - POST - - * `PUT` - PUT - - * `PATCH` - PATCH + description: '* `esp` - ESP - * `DELETE` - DELETE' - x-spec-enum-id: a12018571a034921 - http_content_type: - type: string - minLength: 1 - description: The complete list of official content types is available here. - maxLength: 100 - 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: + * `ah` - AH' + x-spec-enum-id: 1136c2cdfee84436 + ike_policy: + $ref: '#/components/schemas/BriefIKEPolicyRequest' + ipsec_policy: + $ref: '#/components/schemas/BriefIPSecPolicyRequest' + comments: type: string - nullable: true - description: The specific CA certificate file to use for SSL verification. - Leave blank to use the system defaults. - maxLength: 4096 - custom_fields: - type: object - additionalProperties: {} tags: type: array items: $ref: '#/components/schemas/NestedTagRequest' - PatchedWritableAggregateRequest: + custom_fields: + type: object + additionalProperties: {} + PatchedWritableIPSecProposalRequest: type: object description: Adds support for custom fields and tags. properties: - prefix: + name: type: string minLength: 1 - rir: - $ref: '#/components/schemas/RIRRequest' - tenant: - allOf: - - $ref: '#/components/schemas/TenantRequest' - nullable: true - date_added: - type: string - format: date - nullable: true + maxLength: 100 description: type: string maxLength: 200 + encryption_algorithm: + enum: + - aes-128-cbc + - aes-128-gcm + - aes-192-cbc + - aes-192-gcm + - aes-256-cbc + - aes-256-gcm + - 3des-cbc + - des-cbc + - '' + type: string + description: '* `aes-128-cbc` - 128-bit AES (CBC) + + * `aes-128-gcm` - 128-bit AES (GCM) + + * `aes-192-cbc` - 192-bit AES (CBC) + + * `aes-192-gcm` - 192-bit AES (GCM) + + * `aes-256-cbc` - 256-bit AES (CBC) + + * `aes-256-gcm` - 256-bit AES (GCM) + + * `3des-cbc` - 3DES + + * `des-cbc` - DES' + x-spec-enum-id: b022535cfdee79fe + title: Encryption + authentication_algorithm: + enum: + - hmac-sha1 + - hmac-sha256 + - hmac-sha384 + - hmac-sha512 + - hmac-md5 + - '' + type: string + description: '* `hmac-sha1` - SHA-1 HMAC + + * `hmac-sha256` - SHA-256 HMAC + + * `hmac-sha384` - SHA-384 HMAC + + * `hmac-sha512` - SHA-512 HMAC + + * `hmac-md5` - MD5 HMAC' + x-spec-enum-id: 0830e8839f5dea4f + title: Authentication + sa_lifetime_seconds: + type: integer + maximum: 2147483647 + minimum: 0 + nullable: true + title: SA lifetime (seconds) + description: Security association lifetime (seconds) + sa_lifetime_data: + type: integer + maximum: 2147483647 + minimum: 0 + nullable: true + title: SA lifetime (KB) + description: Security association lifetime (in kilobytes) comments: type: string tags: @@ -119494,1353 +172421,1203 @@ components: custom_fields: type: object additionalProperties: {} - PatchedWritableCableRequest: + PatchedWritableInterfaceRequest: type: object description: Adds support for custom fields and tags. properties: + device: + $ref: '#/components/schemas/BriefDeviceRequest' + vdcs: + type: array + items: + type: integer + module: + allOf: + - $ref: '#/components/schemas/BriefModuleRequest' + nullable: true + name: + type: string + minLength: 1 + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 type: 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 - - '' + - virtual + - bridge + - lag + - 100base-fx + - 100base-lfx + - 100base-tx + - 100base-t1 + - 1000base-t + - 1000base-tx + - 2.5gbase-t + - 5gbase-t + - 10gbase-t + - 10gbase-cx4 + - 100base-x-sfp + - 1000base-x-gbic + - 1000base-x-sfp + - 10gbase-x-sfpp + - 10gbase-x-xfp + - 10gbase-x-xenpak + - 10gbase-x-x2 + - 25gbase-x-sfp28 + - 50gbase-x-sfp56 + - 40gbase-x-qsfpp + - 50gbase-x-sfp28 + - 100gbase-x-cfp + - 100gbase-x-cfp2 + - 200gbase-x-cfp2 + - 400gbase-x-cfp2 + - 100gbase-x-cfp4 + - 100gbase-x-cxp + - 100gbase-x-cpak + - 100gbase-x-dsfp + - 100gbase-x-sfpdd + - 100gbase-x-qsfp28 + - 100gbase-x-qsfpdd + - 200gbase-x-qsfp56 + - 200gbase-x-qsfpdd + - 400gbase-x-qsfp112 + - 400gbase-x-qsfpdd + - 400gbase-x-osfp + - 400gbase-x-osfp-rhs + - 400gbase-x-cdfp + - 400gbase-x-cfp8 + - 800gbase-x-qsfpdd + - 800gbase-x-osfp + - 1000base-kx + - 2.5gbase-kx + - 5gbase-kr + - 10gbase-kr + - 10gbase-kx4 + - 25gbase-kr + - 40gbase-kr4 + - 50gbase-kr + - 100gbase-kp4 + - 100gbase-kr2 + - 100gbase-kr4 + - ieee802.11a + - ieee802.11g + - ieee802.11n + - ieee802.11ac + - ieee802.11ad + - ieee802.11ax + - ieee802.11ay + - ieee802.11be + - ieee802.15.1 + - ieee802.15.4 + - other-wireless + - gsm + - cdma + - lte + - 4g + - 5g + - sonet-oc3 + - sonet-oc12 + - sonet-oc48 + - sonet-oc192 + - sonet-oc768 + - sonet-oc1920 + - sonet-oc3840 + - 1gfc-sfp + - 2gfc-sfp + - 4gfc-sfp + - 8gfc-sfpp + - 16gfc-sfpp + - 32gfc-sfp28 + - 32gfc-sfpp + - 64gfc-qsfpp + - 64gfc-sfpdd + - 64gfc-sfpp + - 128gfc-qsfp28 + - infiniband-sdr + - infiniband-ddr + - infiniband-qdr + - infiniband-fdr10 + - infiniband-fdr + - infiniband-edr + - infiniband-hdr + - infiniband-ndr + - infiniband-xdr + - t1 + - e1 + - t3 + - e3 + - xdsl + - docsis + - bpon + - epon + - 10g-epon + - gpon + - xg-pon + - xgs-pon + - ng-pon2 + - 25g-pon + - 50g-pon + - cisco-stackwise + - cisco-stackwise-plus + - cisco-flexstack + - cisco-flexstack-plus + - cisco-stackwise-80 + - cisco-stackwise-160 + - cisco-stackwise-320 + - cisco-stackwise-480 + - cisco-stackwise-1t + - juniper-vcp + - extreme-summitstack + - extreme-summitstack-128 + - extreme-summitstack-256 + - extreme-summitstack-512 + - other type: string - description: '* `cat3` - CAT3 + description: '* `virtual` - Virtual + + * `bridge` - Bridge + + * `lag` - Link Aggregation Group (LAG) + + * `100base-fx` - 100BASE-FX (10/100ME FIBER) + + * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) + + * `100base-tx` - 100BASE-TX (10/100ME) + + * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) + + * `1000base-t` - 1000BASE-T (1GE) + + * `1000base-tx` - 1000BASE-TX (1GE) + + * `2.5gbase-t` - 2.5GBASE-T (2.5GE) + + * `5gbase-t` - 5GBASE-T (5GE) + + * `10gbase-t` - 10GBASE-T (10GE) + + * `10gbase-cx4` - 10GBASE-CX4 (10GE) + + * `100base-x-sfp` - SFP (100ME) + + * `1000base-x-gbic` - GBIC (1GE) + + * `1000base-x-sfp` - SFP (1GE) + + * `10gbase-x-sfpp` - SFP+ (10GE) + + * `10gbase-x-xfp` - XFP (10GE) + + * `10gbase-x-xenpak` - XENPAK (10GE) + + * `10gbase-x-x2` - X2 (10GE) + + * `25gbase-x-sfp28` - SFP28 (25GE) + + * `50gbase-x-sfp56` - SFP56 (50GE) + + * `40gbase-x-qsfpp` - QSFP+ (40GE) + + * `50gbase-x-sfp28` - QSFP28 (50GE) + + * `100gbase-x-cfp` - CFP (100GE) + + * `100gbase-x-cfp2` - CFP2 (100GE) + + * `200gbase-x-cfp2` - CFP2 (200GE) + + * `400gbase-x-cfp2` - CFP2 (400GE) + + * `100gbase-x-cfp4` - CFP4 (100GE) + + * `100gbase-x-cxp` - CXP (100GE) + + * `100gbase-x-cpak` - Cisco CPAK (100GE) + + * `100gbase-x-dsfp` - DSFP (100GE) + + * `100gbase-x-sfpdd` - SFP-DD (100GE) + + * `100gbase-x-qsfp28` - QSFP28 (100GE) + + * `100gbase-x-qsfpdd` - QSFP-DD (100GE) + + * `200gbase-x-qsfp56` - QSFP56 (200GE) + + * `200gbase-x-qsfpdd` - QSFP-DD (200GE) + + * `400gbase-x-qsfp112` - QSFP112 (400GE) + + * `400gbase-x-qsfpdd` - QSFP-DD (400GE) + + * `400gbase-x-osfp` - OSFP (400GE) + + * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) + + * `400gbase-x-cdfp` - CDFP (400GE) + + * `400gbase-x-cfp8` - CPF8 (400GE) + + * `800gbase-x-qsfpdd` - QSFP-DD (800GE) + + * `800gbase-x-osfp` - OSFP (800GE) + + * `1000base-kx` - 1000BASE-KX (1GE) + + * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) + + * `5gbase-kr` - 5GBASE-KR (5GE) + + * `10gbase-kr` - 10GBASE-KR (10GE) + + * `10gbase-kx4` - 10GBASE-KX4 (10GE) + + * `25gbase-kr` - 25GBASE-KR (25GE) + + * `40gbase-kr4` - 40GBASE-KR4 (40GE) + + * `50gbase-kr` - 50GBASE-KR (50GE) + + * `100gbase-kp4` - 100GBASE-KP4 (100GE) + + * `100gbase-kr2` - 100GBASE-KR2 (100GE) + + * `100gbase-kr4` - 100GBASE-KR4 (100GE) + + * `ieee802.11a` - IEEE 802.11a + + * `ieee802.11g` - IEEE 802.11b/g + + * `ieee802.11n` - IEEE 802.11n + + * `ieee802.11ac` - IEEE 802.11ac + + * `ieee802.11ad` - IEEE 802.11ad + + * `ieee802.11ax` - IEEE 802.11ax + + * `ieee802.11ay` - IEEE 802.11ay + + * `ieee802.11be` - IEEE 802.11be + + * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) + + * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) + + * `other-wireless` - Other (Wireless) + + * `gsm` - GSM + + * `cdma` - CDMA + + * `lte` - LTE + + * `4g` - 4G + + * `5g` - 5G + + * `sonet-oc3` - OC-3/STM-1 + + * `sonet-oc12` - OC-12/STM-4 + + * `sonet-oc48` - OC-48/STM-16 + + * `sonet-oc192` - OC-192/STM-64 + + * `sonet-oc768` - OC-768/STM-256 + + * `sonet-oc1920` - OC-1920/STM-640 + + * `sonet-oc3840` - OC-3840/STM-1234 + + * `1gfc-sfp` - SFP (1GFC) + + * `2gfc-sfp` - SFP (2GFC) + + * `4gfc-sfp` - SFP (4GFC) + + * `8gfc-sfpp` - SFP+ (8GFC) + + * `16gfc-sfpp` - SFP+ (16GFC) - * `cat5` - CAT5 + * `32gfc-sfp28` - SFP28 (32GFC) - * `cat5e` - CAT5e + * `32gfc-sfpp` - SFP+ (32GFC) - * `cat6` - CAT6 + * `64gfc-qsfpp` - QSFP+ (64GFC) - * `cat6a` - CAT6a + * `64gfc-sfpdd` - SFP-DD (64GFC) - * `cat7` - CAT7 + * `64gfc-sfpp` - SFP+ (64GFC) - * `cat7a` - CAT7a + * `128gfc-qsfp28` - QSFP28 (128GFC) - * `cat8` - CAT8 + * `infiniband-sdr` - SDR (2 Gbps) - * `dac-active` - Direct Attach Copper (Active) + * `infiniband-ddr` - DDR (4 Gbps) - * `dac-passive` - Direct Attach Copper (Passive) + * `infiniband-qdr` - QDR (8 Gbps) - * `mrj21-trunk` - MRJ21 Trunk + * `infiniband-fdr10` - FDR10 (10 Gbps) - * `coaxial` - Coaxial + * `infiniband-fdr` - FDR (13.5 Gbps) - * `mmf` - Multimode Fiber + * `infiniband-edr` - EDR (25 Gbps) - * `mmf-om1` - Multimode Fiber (OM1) + * `infiniband-hdr` - HDR (50 Gbps) - * `mmf-om2` - Multimode Fiber (OM2) + * `infiniband-ndr` - NDR (100 Gbps) - * `mmf-om3` - Multimode Fiber (OM3) + * `infiniband-xdr` - XDR (250 Gbps) - * `mmf-om4` - Multimode Fiber (OM4) + * `t1` - T1 (1.544 Mbps) - * `mmf-om5` - Multimode Fiber (OM5) + * `e1` - E1 (2.048 Mbps) - * `smf` - Singlemode Fiber + * `t3` - T3 (45 Mbps) - * `smf-os1` - Singlemode Fiber (OS1) + * `e3` - E3 (34 Mbps) - * `smf-os2` - Singlemode Fiber (OS2) + * `xdsl` - xDSL - * `aoc` - Active Optical Cabling (AOC) + * `docsis` - DOCSIS - * `power` - Power' - x-spec-enum-id: e671018e64196f8d - a_terminations: - type: array - items: - $ref: '#/components/schemas/GenericObjectRequest' - b_terminations: - type: array - items: - $ref: '#/components/schemas/GenericObjectRequest' - status: - enum: - - connected - - planned - - decommissioning - type: string - description: '* `connected` - Connected + * `bpon` - BPON (622 Mbps / 155 Mbps) - * `planned` - Planned + * `epon` - EPON (1 Gbps) - * `decommissioning` - Decommissioning' - x-spec-enum-id: fbc2f302c08be50d - tenant: - allOf: - - $ref: '#/components/schemas/TenantRequest' - nullable: true - label: - type: string - maxLength: 100 - color: - type: string - pattern: ^[0-9a-f]{6}$ - maxLength: 6 - length: - type: number - format: double - maximum: 1000000 - minimum: -1000000 - exclusiveMaximum: true - exclusiveMinimum: true - nullable: true - length_unit: - enum: - - km - - m - - cm - - mi - - ft - - in - - '' - type: string - description: '* `km` - Kilometers + * `10g-epon` - 10G-EPON (10 Gbps) - * `m` - Meters + * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) - * `cm` - Centimeters + * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) - * `mi` - Miles + * `xgs-pon` - XGS-PON (10 Gbps) - * `ft` - Feet + * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) - * `in` - Inches' - x-spec-enum-id: e64ce3a2c5997172 - description: - type: string - maxLength: 200 - comments: - type: string - tags: - type: array - items: - $ref: '#/components/schemas/NestedTagRequest' - custom_fields: - type: object - additionalProperties: {} - PatchedWritableCircuitRequest: - type: object - description: Adds support for custom fields and tags. - properties: - cid: - type: string - minLength: 1 - title: Circuit ID - description: Unique circuit ID - maxLength: 100 - provider: - $ref: '#/components/schemas/ProviderRequest' - provider_account: - allOf: - - $ref: '#/components/schemas/ProviderAccountRequest' - nullable: true - type: - $ref: '#/components/schemas/CircuitTypeRequest' - status: - enum: - - planned - - provisioning - - active - - offline - - deprovisioning - - decommissioned - type: string - description: '* `planned` - Planned + * `25g-pon` - 25G-PON (25 Gbps) - * `provisioning` - Provisioning + * `50g-pon` - 50G-PON (50 Gbps) - * `active` - Active + * `cisco-stackwise` - Cisco StackWise - * `offline` - Offline + * `cisco-stackwise-plus` - Cisco StackWise Plus - * `deprovisioning` - Deprovisioning + * `cisco-flexstack` - Cisco FlexStack - * `decommissioned` - Decommissioned' - x-spec-enum-id: 63c838134a022200 - tenant: - allOf: - - $ref: '#/components/schemas/TenantRequest' + * `cisco-flexstack-plus` - Cisco FlexStack Plus + + * `cisco-stackwise-80` - Cisco StackWise-80 + + * `cisco-stackwise-160` - Cisco StackWise-160 + + * `cisco-stackwise-320` - Cisco StackWise-320 + + * `cisco-stackwise-480` - Cisco StackWise-480 + + * `cisco-stackwise-1t` - Cisco StackWise-1T + + * `juniper-vcp` - Juniper VCP + + * `extreme-summitstack` - Extreme SummitStack + + * `extreme-summitstack-128` - Extreme SummitStack-128 + + * `extreme-summitstack-256` - Extreme SummitStack-256 + + * `extreme-summitstack-512` - Extreme SummitStack-512 + + * `other` - Other' + x-spec-enum-id: 56365107f9c2326f + enabled: + type: boolean + parent: + type: integer nullable: true - install_date: - type: string - format: date + title: Parent interface + bridge: + type: integer nullable: true - title: Installed - termination_date: + title: Bridge interface + lag: + type: integer + nullable: true + title: Parent LAG + mtu: + type: integer + maximum: 65536 + minimum: 1 + nullable: true + mac_address: type: string - format: date nullable: true - title: Terminates - commit_rate: + speed: type: integer maximum: 2147483647 minimum: 0 nullable: true - title: Commit rate (Kbps) - description: Committed rate - description: - type: string - maxLength: 200 - comments: - type: string - tags: - type: array - items: - $ref: '#/components/schemas/NestedTagRequest' - custom_fields: - type: object - additionalProperties: {} - PatchedWritableClusterRequest: - type: object - description: Adds support for custom fields and tags. - properties: - name: - type: string - minLength: 1 - maxLength: 100 - type: - $ref: '#/components/schemas/ClusterTypeRequest' - group: - allOf: - - $ref: '#/components/schemas/ClusterGroupRequest' - nullable: true - status: + title: Speed (Kbps) + duplex: enum: - - planned - - staging - - active - - decommissioning - - offline + - half + - full + - auto + - '' type: string - description: '* `planned` - Planned - - * `staging` - Staging - - * `active` - Active + description: '* `half` - Half - * `decommissioning` - Decommissioning + * `full` - Full - * `offline` - Offline' - x-spec-enum-id: 79d20a734d0eecbb - tenant: - allOf: - - $ref: '#/components/schemas/TenantRequest' + * `auto` - Auto' + x-spec-enum-id: 47eab9b1a65a1e21 nullable: true - site: - allOf: - - $ref: '#/components/schemas/SiteRequest' + wwn: + type: string nullable: true + mgmt_only: + type: boolean + title: Management only + description: This interface is used only for out-of-band management description: type: string maxLength: 200 - comments: - type: string - tags: - type: array - items: - $ref: '#/components/schemas/NestedTagRequest' - custom_fields: - type: object - additionalProperties: {} - PatchedWritableConsolePortRequest: - type: object - description: Adds support for custom fields and tags. - properties: - device: - $ref: '#/components/schemas/DeviceRequest' - module: - allOf: - - $ref: '#/components/schemas/ModuleRequest' - nullable: true - name: + mode: + enum: + - access + - tagged + - tagged-all + - '' type: string - minLength: 1 - maxLength: 64 - label: + x-spec-enum-id: 79109bd9dbb73a3c + description: 'IEEE 802.1Q tagging strategy + + + * `access` - Access + + * `tagged` - Tagged + + * `tagged-all` - Tagged (All)' + rf_role: + enum: + - ap + - station + - '' type: string - description: Physical label - maxLength: 64 - type: + description: '* `ap` - Access point + + * `station` - Station' + x-spec-enum-id: d2772dbea88b0fb1 + title: Wireless role + rf_channel: 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 + - 2.4g-1-2412-22 + - 2.4g-2-2417-22 + - 2.4g-3-2422-22 + - 2.4g-4-2427-22 + - 2.4g-5-2432-22 + - 2.4g-6-2437-22 + - 2.4g-7-2442-22 + - 2.4g-8-2447-22 + - 2.4g-9-2452-22 + - 2.4g-10-2457-22 + - 2.4g-11-2462-22 + - 2.4g-12-2467-22 + - 2.4g-13-2472-22 + - 5g-32-5160-20 + - 5g-34-5170-40 + - 5g-36-5180-20 + - 5g-38-5190-40 + - 5g-40-5200-20 + - 5g-42-5210-80 + - 5g-44-5220-20 + - 5g-46-5230-40 + - 5g-48-5240-20 + - 5g-50-5250-160 + - 5g-52-5260-20 + - 5g-54-5270-40 + - 5g-56-5280-20 + - 5g-58-5290-80 + - 5g-60-5300-20 + - 5g-62-5310-40 + - 5g-64-5320-20 + - 5g-100-5500-20 + - 5g-102-5510-40 + - 5g-104-5520-20 + - 5g-106-5530-80 + - 5g-108-5540-20 + - 5g-110-5550-40 + - 5g-112-5560-20 + - 5g-114-5570-160 + - 5g-116-5580-20 + - 5g-118-5590-40 + - 5g-120-5600-20 + - 5g-122-5610-80 + - 5g-124-5620-20 + - 5g-126-5630-40 + - 5g-128-5640-20 + - 5g-132-5660-20 + - 5g-134-5670-40 + - 5g-136-5680-20 + - 5g-138-5690-80 + - 5g-140-5700-20 + - 5g-142-5710-40 + - 5g-144-5720-20 + - 5g-149-5745-20 + - 5g-151-5755-40 + - 5g-153-5765-20 + - 5g-155-5775-80 + - 5g-157-5785-20 + - 5g-159-5795-40 + - 5g-161-5805-20 + - 5g-163-5815-160 + - 5g-165-5825-20 + - 5g-167-5835-40 + - 5g-169-5845-20 + - 5g-171-5855-80 + - 5g-173-5865-20 + - 5g-175-5875-40 + - 5g-177-5885-20 + - 6g-1-5955-20 + - 6g-3-5965-40 + - 6g-5-5975-20 + - 6g-7-5985-80 + - 6g-9-5995-20 + - 6g-11-6005-40 + - 6g-13-6015-20 + - 6g-15-6025-160 + - 6g-17-6035-20 + - 6g-19-6045-40 + - 6g-21-6055-20 + - 6g-23-6065-80 + - 6g-25-6075-20 + - 6g-27-6085-40 + - 6g-29-6095-20 + - 6g-31-6105-320 + - 6g-33-6115-20 + - 6g-35-6125-40 + - 6g-37-6135-20 + - 6g-39-6145-80 + - 6g-41-6155-20 + - 6g-43-6165-40 + - 6g-45-6175-20 + - 6g-47-6185-160 + - 6g-49-6195-20 + - 6g-51-6205-40 + - 6g-53-6215-20 + - 6g-55-6225-80 + - 6g-57-6235-20 + - 6g-59-6245-40 + - 6g-61-6255-20 + - 6g-65-6275-20 + - 6g-67-6285-40 + - 6g-69-6295-20 + - 6g-71-6305-80 + - 6g-73-6315-20 + - 6g-75-6325-40 + - 6g-77-6335-20 + - 6g-79-6345-160 + - 6g-81-6355-20 + - 6g-83-6365-40 + - 6g-85-6375-20 + - 6g-87-6385-80 + - 6g-89-6395-20 + - 6g-91-6405-40 + - 6g-93-6415-20 + - 6g-95-6425-320 + - 6g-97-6435-20 + - 6g-99-6445-40 + - 6g-101-6455-20 + - 6g-103-6465-80 + - 6g-105-6475-20 + - 6g-107-6485-40 + - 6g-109-6495-20 + - 6g-111-6505-160 + - 6g-113-6515-20 + - 6g-115-6525-40 + - 6g-117-6535-20 + - 6g-119-6545-80 + - 6g-121-6555-20 + - 6g-123-6565-40 + - 6g-125-6575-20 + - 6g-129-6595-20 + - 6g-131-6605-40 + - 6g-133-6615-20 + - 6g-135-6625-80 + - 6g-137-6635-20 + - 6g-139-6645-40 + - 6g-141-6655-20 + - 6g-143-6665-160 + - 6g-145-6675-20 + - 6g-147-6685-40 + - 6g-149-6695-20 + - 6g-151-6705-80 + - 6g-153-6715-20 + - 6g-155-6725-40 + - 6g-157-6735-20 + - 6g-159-6745-320 + - 6g-161-6755-20 + - 6g-163-6765-40 + - 6g-165-6775-20 + - 6g-167-6785-80 + - 6g-169-6795-20 + - 6g-171-6805-40 + - 6g-173-6815-20 + - 6g-175-6825-160 + - 6g-177-6835-20 + - 6g-179-6845-40 + - 6g-181-6855-20 + - 6g-183-6865-80 + - 6g-185-6875-20 + - 6g-187-6885-40 + - 6g-189-6895-20 + - 6g-193-6915-20 + - 6g-195-6925-40 + - 6g-197-6935-20 + - 6g-199-6945-80 + - 6g-201-6955-20 + - 6g-203-6965-40 + - 6g-205-6975-20 + - 6g-207-6985-160 + - 6g-209-6995-20 + - 6g-211-7005-40 + - 6g-213-7015-20 + - 6g-215-7025-80 + - 6g-217-7035-20 + - 6g-219-7045-40 + - 6g-221-7055-20 + - 6g-225-7075-20 + - 6g-227-7085-40 + - 6g-229-7095-20 + - 6g-233-7115-20 + - 60g-1-58320-2160 + - 60g-2-60480-2160 + - 60g-3-62640-2160 + - 60g-4-64800-2160 + - 60g-5-66960-2160 + - 60g-6-69120-2160 + - 60g-9-59400-4320 + - 60g-10-61560-4320 + - 60g-11-63720-4320 + - 60g-12-65880-4320 + - 60g-13-68040-4320 + - 60g-17-60480-6480 + - 60g-18-62640-6480 + - 60g-19-64800-6480 + - 60g-20-66960-6480 + - 60g-25-61560-6480 + - 60g-26-63720-6480 + - 60g-27-65880-6480 - '' type: string - x-spec-enum-id: c5f7197b7211818a - description: 'Physical port type + description: '* `2.4g-1-2412-22` - 1 (2412 MHz) + * `2.4g-2-2417-22` - 2 (2417 MHz) - * `de-9` - DE-9 + * `2.4g-3-2422-22` - 3 (2422 MHz) - * `db-25` - DB-25 + * `2.4g-4-2427-22` - 4 (2427 MHz) - * `rj-11` - RJ-11 + * `2.4g-5-2432-22` - 5 (2432 MHz) - * `rj-12` - RJ-12 + * `2.4g-6-2437-22` - 6 (2437 MHz) - * `rj-45` - RJ-45 + * `2.4g-7-2442-22` - 7 (2442 MHz) - * `mini-din-8` - Mini-DIN 8 + * `2.4g-8-2447-22` - 8 (2447 MHz) - * `usb-a` - USB Type A + * `2.4g-9-2452-22` - 9 (2452 MHz) - * `usb-b` - USB Type B + * `2.4g-10-2457-22` - 10 (2457 MHz) - * `usb-c` - USB Type C + * `2.4g-11-2462-22` - 11 (2462 MHz) - * `usb-mini-a` - USB Mini A + * `2.4g-12-2467-22` - 12 (2467 MHz) - * `usb-mini-b` - USB Mini B + * `2.4g-13-2472-22` - 13 (2472 MHz) - * `usb-micro-a` - USB Micro A + * `5g-32-5160-20` - 32 (5160/20 MHz) - * `usb-micro-b` - USB Micro B + * `5g-34-5170-40` - 34 (5170/40 MHz) - * `usb-micro-ab` - USB Micro AB + * `5g-36-5180-20` - 36 (5180/20 MHz) - * `other` - Other' - speed: - enum: - - 1200 - - 2400 - - 4800 - - 9600 - - 19200 - - 38400 - - 57600 - - 115200 - type: integer - x-spec-enum-id: ab6d9635c131a378 - nullable: true - description: 'Port speed in bits per second + * `5g-38-5190-40` - 38 (5190/40 MHz) + * `5g-40-5200-20` - 40 (5200/20 MHz) - * `1200` - 1200 bps + * `5g-42-5210-80` - 42 (5210/80 MHz) - * `2400` - 2400 bps + * `5g-44-5220-20` - 44 (5220/20 MHz) - * `4800` - 4800 bps + * `5g-46-5230-40` - 46 (5230/40 MHz) - * `9600` - 9600 bps + * `5g-48-5240-20` - 48 (5240/20 MHz) - * `19200` - 19.2 kbps + * `5g-50-5250-160` - 50 (5250/160 MHz) - * `38400` - 38.4 kbps + * `5g-52-5260-20` - 52 (5260/20 MHz) - * `57600` - 57.6 kbps + * `5g-54-5270-40` - 54 (5270/40 MHz) - * `115200` - 115.2 kbps' - minimum: 0 - maximum: 2147483647 - description: - type: string - maxLength: 200 - mark_connected: - type: boolean - description: Treat as if a cable is connected - tags: - type: array - items: - $ref: '#/components/schemas/NestedTagRequest' - custom_fields: - type: object - additionalProperties: {} - PatchedWritableConsolePortTemplateRequest: - type: object - description: 'Extends the built-in ModelSerializer to enforce calling full_clean() - on a copy of the associated instance during + * `5g-56-5280-20` - 56 (5280/20 MHz) - validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' - properties: - device_type: - allOf: - - $ref: '#/components/schemas/DeviceTypeRequest' - nullable: true - module_type: - allOf: - - $ref: '#/components/schemas/ModuleTypeRequest' - nullable: true - name: - type: string - minLength: 1 - description: '{module} is accepted as a substitution for the module bay - position when attached to a module type.' - maxLength: 64 - label: - type: string - description: Physical label - maxLength: 64 - type: - 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 - description: '* `de-9` - DE-9 + * `5g-58-5290-80` - 58 (5290/80 MHz) - * `db-25` - DB-25 + * `5g-60-5300-20` - 60 (5300/20 MHz) - * `rj-11` - RJ-11 + * `5g-62-5310-40` - 62 (5310/40 MHz) - * `rj-12` - RJ-12 + * `5g-64-5320-20` - 64 (5320/20 MHz) - * `rj-45` - RJ-45 + * `5g-100-5500-20` - 100 (5500/20 MHz) - * `mini-din-8` - Mini-DIN 8 + * `5g-102-5510-40` - 102 (5510/40 MHz) - * `usb-a` - USB Type A + * `5g-104-5520-20` - 104 (5520/20 MHz) - * `usb-b` - USB Type B + * `5g-106-5530-80` - 106 (5530/80 MHz) - * `usb-c` - USB Type C + * `5g-108-5540-20` - 108 (5540/20 MHz) - * `usb-mini-a` - USB Mini A + * `5g-110-5550-40` - 110 (5550/40 MHz) - * `usb-mini-b` - USB Mini B + * `5g-112-5560-20` - 112 (5560/20 MHz) - * `usb-micro-a` - USB Micro A + * `5g-114-5570-160` - 114 (5570/160 MHz) - * `usb-micro-b` - USB Micro B + * `5g-116-5580-20` - 116 (5580/20 MHz) - * `usb-micro-ab` - USB Micro AB + * `5g-118-5590-40` - 118 (5590/40 MHz) - * `other` - Other' - x-spec-enum-id: c5f7197b7211818a - description: - type: string - maxLength: 200 - PatchedWritableConsoleServerPortRequest: - type: object - description: Adds support for custom fields and tags. - properties: - device: - $ref: '#/components/schemas/DeviceRequest' - module: - allOf: - - $ref: '#/components/schemas/ModuleRequest' - nullable: true - name: - type: string - minLength: 1 - maxLength: 64 - label: - type: string - description: Physical label - maxLength: 64 - type: - 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 - x-spec-enum-id: c5f7197b7211818a - description: 'Physical port type + * `5g-120-5600-20` - 120 (5600/20 MHz) + * `5g-122-5610-80` - 122 (5610/80 MHz) - * `de-9` - DE-9 + * `5g-124-5620-20` - 124 (5620/20 MHz) - * `db-25` - DB-25 + * `5g-126-5630-40` - 126 (5630/40 MHz) - * `rj-11` - RJ-11 + * `5g-128-5640-20` - 128 (5640/20 MHz) - * `rj-12` - RJ-12 + * `5g-132-5660-20` - 132 (5660/20 MHz) - * `rj-45` - RJ-45 + * `5g-134-5670-40` - 134 (5670/40 MHz) - * `mini-din-8` - Mini-DIN 8 + * `5g-136-5680-20` - 136 (5680/20 MHz) - * `usb-a` - USB Type A + * `5g-138-5690-80` - 138 (5690/80 MHz) - * `usb-b` - USB Type B + * `5g-140-5700-20` - 140 (5700/20 MHz) - * `usb-c` - USB Type C + * `5g-142-5710-40` - 142 (5710/40 MHz) - * `usb-mini-a` - USB Mini A + * `5g-144-5720-20` - 144 (5720/20 MHz) - * `usb-mini-b` - USB Mini B + * `5g-149-5745-20` - 149 (5745/20 MHz) - * `usb-micro-a` - USB Micro A + * `5g-151-5755-40` - 151 (5755/40 MHz) - * `usb-micro-b` - USB Micro B + * `5g-153-5765-20` - 153 (5765/20 MHz) - * `usb-micro-ab` - USB Micro AB + * `5g-155-5775-80` - 155 (5775/80 MHz) - * `other` - Other' - speed: - enum: - - 1200 - - 2400 - - 4800 - - 9600 - - 19200 - - 38400 - - 57600 - - 115200 - type: integer - x-spec-enum-id: ab6d9635c131a378 - nullable: true - description: 'Port speed in bits per second + * `5g-157-5785-20` - 157 (5785/20 MHz) + * `5g-159-5795-40` - 159 (5795/40 MHz) - * `1200` - 1200 bps + * `5g-161-5805-20` - 161 (5805/20 MHz) - * `2400` - 2400 bps + * `5g-163-5815-160` - 163 (5815/160 MHz) - * `4800` - 4800 bps + * `5g-165-5825-20` - 165 (5825/20 MHz) - * `9600` - 9600 bps + * `5g-167-5835-40` - 167 (5835/40 MHz) - * `19200` - 19.2 kbps + * `5g-169-5845-20` - 169 (5845/20 MHz) - * `38400` - 38.4 kbps + * `5g-171-5855-80` - 171 (5855/80 MHz) - * `57600` - 57.6 kbps + * `5g-173-5865-20` - 173 (5865/20 MHz) - * `115200` - 115.2 kbps' - minimum: 0 - maximum: 2147483647 - description: - type: string - maxLength: 200 - mark_connected: - type: boolean - description: Treat as if a cable is connected - tags: - type: array - items: - $ref: '#/components/schemas/NestedTagRequest' - custom_fields: - type: object - additionalProperties: {} - PatchedWritableConsoleServerPortTemplateRequest: - type: object - description: 'Extends the built-in ModelSerializer to enforce calling full_clean() - on a copy of the associated instance during + * `5g-175-5875-40` - 175 (5875/40 MHz) - validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' - properties: - device_type: - allOf: - - $ref: '#/components/schemas/DeviceTypeRequest' - nullable: true - module_type: - allOf: - - $ref: '#/components/schemas/ModuleTypeRequest' - nullable: true - name: - type: string - minLength: 1 - description: '{module} is accepted as a substitution for the module bay - position when attached to a module type.' - maxLength: 64 - label: - type: string - description: Physical label - maxLength: 64 - type: - 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 - description: '* `de-9` - DE-9 + * `5g-177-5885-20` - 177 (5885/20 MHz) - * `db-25` - DB-25 + * `6g-1-5955-20` - 1 (5955/20 MHz) - * `rj-11` - RJ-11 + * `6g-3-5965-40` - 3 (5965/40 MHz) - * `rj-12` - RJ-12 + * `6g-5-5975-20` - 5 (5975/20 MHz) - * `rj-45` - RJ-45 + * `6g-7-5985-80` - 7 (5985/80 MHz) - * `mini-din-8` - Mini-DIN 8 + * `6g-9-5995-20` - 9 (5995/20 MHz) - * `usb-a` - USB Type A + * `6g-11-6005-40` - 11 (6005/40 MHz) - * `usb-b` - USB Type B + * `6g-13-6015-20` - 13 (6015/20 MHz) - * `usb-c` - USB Type C + * `6g-15-6025-160` - 15 (6025/160 MHz) - * `usb-mini-a` - USB Mini A + * `6g-17-6035-20` - 17 (6035/20 MHz) - * `usb-mini-b` - USB Mini B + * `6g-19-6045-40` - 19 (6045/40 MHz) - * `usb-micro-a` - USB Micro A + * `6g-21-6055-20` - 21 (6055/20 MHz) - * `usb-micro-b` - USB Micro B + * `6g-23-6065-80` - 23 (6065/80 MHz) - * `usb-micro-ab` - USB Micro AB + * `6g-25-6075-20` - 25 (6075/20 MHz) - * `other` - Other' - x-spec-enum-id: c5f7197b7211818a - description: - type: string - maxLength: 200 - PatchedWritableContactAssignmentRequest: - type: object - description: Adds support for custom fields and tags. - properties: - object_type: - type: string - object_id: - type: integer - maximum: 9223372036854775807 - minimum: 0 - format: int64 - contact: - $ref: '#/components/schemas/ContactRequest' - role: - allOf: - - $ref: '#/components/schemas/ContactRoleRequest' - nullable: true - priority: - enum: - - primary - - secondary - - tertiary - - inactive - - '' - type: string - description: '* `primary` - Primary + * `6g-27-6085-40` - 27 (6085/40 MHz) - * `secondary` - Secondary + * `6g-29-6095-20` - 29 (6095/20 MHz) - * `tertiary` - Tertiary + * `6g-31-6105-320` - 31 (6105/320 MHz) + + * `6g-33-6115-20` - 33 (6115/20 MHz) + + * `6g-35-6125-40` - 35 (6125/40 MHz) + + * `6g-37-6135-20` - 37 (6135/20 MHz) + + * `6g-39-6145-80` - 39 (6145/80 MHz) + + * `6g-41-6155-20` - 41 (6155/20 MHz) + + * `6g-43-6165-40` - 43 (6165/40 MHz) + + * `6g-45-6175-20` - 45 (6175/20 MHz) + + * `6g-47-6185-160` - 47 (6185/160 MHz) + + * `6g-49-6195-20` - 49 (6195/20 MHz) + + * `6g-51-6205-40` - 51 (6205/40 MHz) + + * `6g-53-6215-20` - 53 (6215/20 MHz) + + * `6g-55-6225-80` - 55 (6225/80 MHz) + + * `6g-57-6235-20` - 57 (6235/20 MHz) + + * `6g-59-6245-40` - 59 (6245/40 MHz) + + * `6g-61-6255-20` - 61 (6255/20 MHz) + + * `6g-65-6275-20` - 65 (6275/20 MHz) + + * `6g-67-6285-40` - 67 (6285/40 MHz) + + * `6g-69-6295-20` - 69 (6295/20 MHz) + + * `6g-71-6305-80` - 71 (6305/80 MHz) + + * `6g-73-6315-20` - 73 (6315/20 MHz) + + * `6g-75-6325-40` - 75 (6325/40 MHz) + + * `6g-77-6335-20` - 77 (6335/20 MHz) + + * `6g-79-6345-160` - 79 (6345/160 MHz) + + * `6g-81-6355-20` - 81 (6355/20 MHz) + + * `6g-83-6365-40` - 83 (6365/40 MHz) + + * `6g-85-6375-20` - 85 (6375/20 MHz) + + * `6g-87-6385-80` - 87 (6385/80 MHz) + + * `6g-89-6395-20` - 89 (6395/20 MHz) + + * `6g-91-6405-40` - 91 (6405/40 MHz) + + * `6g-93-6415-20` - 93 (6415/20 MHz) + + * `6g-95-6425-320` - 95 (6425/320 MHz) + + * `6g-97-6435-20` - 97 (6435/20 MHz) + + * `6g-99-6445-40` - 99 (6445/40 MHz) + + * `6g-101-6455-20` - 101 (6455/20 MHz) + + * `6g-103-6465-80` - 103 (6465/80 MHz) + + * `6g-105-6475-20` - 105 (6475/20 MHz) + + * `6g-107-6485-40` - 107 (6485/40 MHz) + + * `6g-109-6495-20` - 109 (6495/20 MHz) + + * `6g-111-6505-160` - 111 (6505/160 MHz) + + * `6g-113-6515-20` - 113 (6515/20 MHz) + + * `6g-115-6525-40` - 115 (6525/40 MHz) + + * `6g-117-6535-20` - 117 (6535/20 MHz) + + * `6g-119-6545-80` - 119 (6545/80 MHz) + + * `6g-121-6555-20` - 121 (6555/20 MHz) + + * `6g-123-6565-40` - 123 (6565/40 MHz) + + * `6g-125-6575-20` - 125 (6575/20 MHz) + + * `6g-129-6595-20` - 129 (6595/20 MHz) + + * `6g-131-6605-40` - 131 (6605/40 MHz) + + * `6g-133-6615-20` - 133 (6615/20 MHz) + + * `6g-135-6625-80` - 135 (6625/80 MHz) + + * `6g-137-6635-20` - 137 (6635/20 MHz) + + * `6g-139-6645-40` - 139 (6645/40 MHz) + + * `6g-141-6655-20` - 141 (6655/20 MHz) + + * `6g-143-6665-160` - 143 (6665/160 MHz) + + * `6g-145-6675-20` - 145 (6675/20 MHz) + + * `6g-147-6685-40` - 147 (6685/40 MHz) + + * `6g-149-6695-20` - 149 (6695/20 MHz) + + * `6g-151-6705-80` - 151 (6705/80 MHz) + + * `6g-153-6715-20` - 153 (6715/20 MHz) + + * `6g-155-6725-40` - 155 (6725/40 MHz) + + * `6g-157-6735-20` - 157 (6735/20 MHz) + + * `6g-159-6745-320` - 159 (6745/320 MHz) + + * `6g-161-6755-20` - 161 (6755/20 MHz) - * `inactive` - Inactive' - x-spec-enum-id: ef3a31644cec7524 - tags: - type: array - items: - $ref: '#/components/schemas/NestedTagRequest' - custom_fields: - type: object - additionalProperties: {} - PatchedWritableContactGroupRequest: - type: object - description: Extends PrimaryModelSerializer to include MPTT support. - properties: - name: - type: string - minLength: 1 - maxLength: 100 - slug: - type: string - minLength: 1 - maxLength: 100 - pattern: ^[-a-zA-Z0-9_]+$ - parent: - type: integer - nullable: true - description: - type: string - maxLength: 200 - tags: - type: array - items: - $ref: '#/components/schemas/NestedTagRequest' - custom_fields: - type: object - additionalProperties: {} - PatchedWritableCustomFieldChoiceSetRequest: - type: object - description: 'Extends the built-in ModelSerializer to enforce calling full_clean() - on a copy of the associated instance during + * `6g-163-6765-40` - 163 (6765/40 MHz) - validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' - properties: - name: - type: string - minLength: 1 - maxLength: 100 - description: - type: string - maxLength: 200 - base_choices: - enum: - - IATA - - ISO_3166 - - UN_LOCODE - - '' - type: string - x-spec-enum-id: cf0efb5195f85007 - description: 'Base set of predefined choices (optional) + * `6g-165-6775-20` - 165 (6775/20 MHz) + * `6g-167-6785-80` - 167 (6785/80 MHz) - * `IATA` - IATA (Airport codes) + * `6g-169-6795-20` - 169 (6795/20 MHz) - * `ISO_3166` - ISO 3166 (Country codes) + * `6g-171-6805-40` - 171 (6805/40 MHz) - * `UN_LOCODE` - UN/LOCODE (Location codes)' - extra_choices: - type: array - items: - type: array - items: {} - maxItems: 2 - minItems: 2 - order_alphabetically: - type: boolean - description: Choices are automatically ordered alphabetically - PatchedWritableCustomFieldRequest: - type: object - description: 'Extends the built-in ModelSerializer to enforce calling full_clean() - on a copy of the associated instance during + * `6g-173-6815-20` - 173 (6815/20 MHz) - validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' - properties: - object_types: - type: array - items: - type: string - type: - enum: - - text - - longtext - - integer - - decimal - - boolean - - date - - datetime - - url - - json - - select - - multiselect - - object - - multiobject - type: string - x-spec-enum-id: 22e3a64138d10046 - description: 'The type of data this custom field holds + * `6g-175-6825-160` - 175 (6825/160 MHz) + * `6g-177-6835-20` - 177 (6835/20 MHz) - * `text` - Text + * `6g-179-6845-40` - 179 (6845/40 MHz) - * `longtext` - Text (long) + * `6g-181-6855-20` - 181 (6855/20 MHz) - * `integer` - Integer + * `6g-183-6865-80` - 183 (6865/80 MHz) - * `decimal` - Decimal + * `6g-185-6875-20` - 185 (6875/20 MHz) - * `boolean` - Boolean (true/false) + * `6g-187-6885-40` - 187 (6885/40 MHz) - * `date` - Date + * `6g-189-6895-20` - 189 (6895/20 MHz) - * `datetime` - Date & time + * `6g-193-6915-20` - 193 (6915/20 MHz) - * `url` - URL + * `6g-195-6925-40` - 195 (6925/40 MHz) - * `json` - JSON + * `6g-197-6935-20` - 197 (6935/20 MHz) - * `select` - Selection + * `6g-199-6945-80` - 199 (6945/80 MHz) - * `multiselect` - Multiple selection + * `6g-201-6955-20` - 201 (6955/20 MHz) - * `object` - Object + * `6g-203-6965-40` - 203 (6965/40 MHz) - * `multiobject` - Multiple objects' - related_object_type: - type: string - nullable: true - name: - type: string - minLength: 1 - description: Internal field name - pattern: ^[a-z0-9_]+$ - maxLength: 50 - label: - type: string - description: Name of the field as displayed to users (if not provided, 'the - field's name will be used) - maxLength: 50 - group_name: - type: string - description: Custom fields within the same group will be displayed together - maxLength: 50 - description: - type: string - maxLength: 200 - required: - type: boolean - description: If true, this field is required when creating new objects or - editing an existing object. - search_weight: - type: integer - maximum: 32767 - minimum: 0 - description: Weighting for search. Lower values are considered more important. - Fields with a search weight of zero will be ignored. - filter_logic: - enum: - - disabled - - loose - - exact - type: string - x-spec-enum-id: a958350ae21c10ee - description: 'Loose matches any instance of a given string; exact matches - the entire field. + * `6g-205-6975-20` - 205 (6975/20 MHz) + * `6g-207-6985-160` - 207 (6985/160 MHz) - * `disabled` - Disabled + * `6g-209-6995-20` - 209 (6995/20 MHz) - * `loose` - Loose + * `6g-211-7005-40` - 211 (7005/40 MHz) - * `exact` - Exact' - ui_visible: - enum: - - always - - if-set - - hidden - type: string - x-spec-enum-id: cd2cf94af56de747 - description: 'Specifies whether the custom field is displayed in the UI + * `6g-213-7015-20` - 213 (7015/20 MHz) + * `6g-215-7025-80` - 215 (7025/80 MHz) - * `always` - Always + * `6g-217-7035-20` - 217 (7035/20 MHz) - * `if-set` - If set + * `6g-219-7045-40` - 219 (7045/40 MHz) - * `hidden` - Hidden' - ui_editable: - enum: - - 'yes' - - 'no' - - hidden - type: string - x-spec-enum-id: 1065673147e26bb5 - description: 'Specifies whether the custom field value can be edited in - the UI + * `6g-221-7055-20` - 221 (7055/20 MHz) + * `6g-225-7075-20` - 225 (7075/20 MHz) - * `yes` - Yes + * `6g-227-7085-40` - 227 (7085/40 MHz) - * `no` - No + * `6g-229-7095-20` - 229 (7095/20 MHz) - * `hidden` - Hidden' - is_cloneable: - type: boolean - description: Replicate this value when cloning objects - default: - nullable: true - description: Default value for the field (must be a JSON value). Encapsulate - strings with double quotes (e.g. "Foo"). - weight: - type: integer - maximum: 32767 - minimum: 0 - title: Display weight - description: Fields with higher weights appear lower in a form. - validation_minimum: - type: integer - maximum: 9223372036854775807 - minimum: -9223372036854775808 - format: int64 - nullable: true - title: Minimum value - description: Minimum allowed value (for numeric fields) - validation_maximum: - type: integer - maximum: 9223372036854775807 - minimum: -9223372036854775808 - format: int64 - nullable: true - title: Maximum value - description: Maximum allowed value (for numeric fields) - validation_regex: - type: string - description: Regular expression to enforce on text field values. Use ^ and - $ to force matching of entire string. For example, ^[A-Z]{3}$ - will limit values to exactly three uppercase letters. - maxLength: 500 - choice_set: - allOf: - - $ref: '#/components/schemas/CustomFieldChoiceSetRequest' - nullable: true - comments: - type: string - PatchedWritableDataSourceRequest: - type: object - description: Adds support for custom fields and tags. - properties: - name: - type: string - minLength: 1 - maxLength: 100 - type: - type: string - minLength: 1 - maxLength: 50 - source_url: - type: string - minLength: 1 - title: URL - maxLength: 200 - enabled: - type: boolean - description: - type: string - maxLength: 200 - comments: - type: string - parameters: - nullable: true - ignore_rules: - type: string - description: Patterns (one per line) matching files to ignore when syncing - custom_fields: - type: object - additionalProperties: {} - PatchedWritableDeviceTypeRequest: - type: object - description: Adds support for custom fields and tags. - properties: - manufacturer: - $ref: '#/components/schemas/ManufacturerRequest' - default_platform: - allOf: - - $ref: '#/components/schemas/PlatformRequest' - nullable: true - model: - type: string - minLength: 1 - maxLength: 100 - slug: - type: string - minLength: 1 - maxLength: 100 - pattern: ^[-a-zA-Z0-9_]+$ - part_number: - type: string - description: Discrete part number (optional) - maxLength: 50 - u_height: - type: number - format: double - maximum: 1000 - minimum: 0 - exclusiveMaximum: true - default: 1.0 - title: Position (U) - exclude_from_utilization: - type: boolean - description: Devices of this type are excluded when calculating rack utilization. - is_full_depth: - type: boolean - description: Device consumes both front and rear rack faces. - subdevice_role: - enum: - - parent - - child - - '' - type: string - x-spec-enum-id: d10d91f690a856c2 - 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. + * `6g-233-7115-20` - 233 (7115/20 MHz) + * `60g-1-58320-2160` - 1 (58.32/2.16 GHz) - * `parent` - Parent + * `60g-2-60480-2160` - 2 (60.48/2.16 GHz) - * `child` - Child' - airflow: - enum: - - front-to-rear - - rear-to-front - - left-to-right - - right-to-left - - side-to-rear - - passive - - mixed - - '' - type: string - description: '* `front-to-rear` - Front to rear + * `60g-3-62640-2160` - 3 (62.64/2.16 GHz) - * `rear-to-front` - Rear to front + * `60g-4-64800-2160` - 4 (64.80/2.16 GHz) - * `left-to-right` - Left to right + * `60g-5-66960-2160` - 5 (66.96/2.16 GHz) - * `right-to-left` - Right to left + * `60g-6-69120-2160` - 6 (69.12/2.16 GHz) - * `side-to-rear` - Side to rear + * `60g-9-59400-4320` - 9 (59.40/4.32 GHz) - * `passive` - Passive + * `60g-10-61560-4320` - 10 (61.56/4.32 GHz) - * `mixed` - Mixed' - x-spec-enum-id: 58e389e240a5e53d - weight: - type: number - format: double - maximum: 1000000 - minimum: -1000000 - exclusiveMaximum: true - exclusiveMinimum: true - nullable: true - weight_unit: - enum: - - kg - - g - - lb - - oz - - '' - type: string - description: '* `kg` - Kilograms + * `60g-11-63720-4320` - 11 (63.72/4.32 GHz) - * `g` - Grams + * `60g-12-65880-4320` - 12 (65.88/4.32 GHz) - * `lb` - Pounds + * `60g-13-68040-4320` - 13 (68.04/4.32 GHz) - * `oz` - Ounces' - x-spec-enum-id: 7c1876f422815884 - front_image: - type: string - format: binary - rear_image: - type: string - format: binary - description: - type: string - maxLength: 200 - comments: - type: string - tags: - type: array - items: - $ref: '#/components/schemas/NestedTagRequest' - custom_fields: - type: object - additionalProperties: {} - PatchedWritableDeviceWithConfigContextRequest: - type: object - description: Adds support for custom fields and tags. - properties: - name: - type: string - nullable: true - maxLength: 64 - device_type: - $ref: '#/components/schemas/DeviceTypeRequest' - role: - $ref: '#/components/schemas/DeviceRoleRequest' - tenant: - allOf: - - $ref: '#/components/schemas/TenantRequest' - nullable: true - platform: - allOf: - - $ref: '#/components/schemas/PlatformRequest' - nullable: true - serial: - type: string - title: Serial number - description: Chassis serial number, assigned by the manufacturer - maxLength: 50 - asset_tag: - type: string - nullable: true - description: A unique tag used to identify this device - maxLength: 50 - site: - $ref: '#/components/schemas/SiteRequest' - location: - allOf: - - $ref: '#/components/schemas/LocationRequest' - nullable: true - rack: - allOf: - - $ref: '#/components/schemas/RackRequest' - nullable: true - position: - type: number - format: double - maximum: 1000 - minimum: 0.5 - exclusiveMaximum: true - nullable: true - title: Position (U) - face: - enum: - - front - - rear - - '' - type: string - description: '* `front` - Front + * `60g-17-60480-6480` - 17 (60.48/6.48 GHz) - * `rear` - Rear' - x-spec-enum-id: d2fb9b3f75158b83 - title: Rack face - latitude: - type: number - format: double - maximum: 100 - minimum: -100 - exclusiveMaximum: true - exclusiveMinimum: true - nullable: true - description: GPS coordinate in decimal format (xx.yyyyyy) - longitude: - type: number - format: double - maximum: 1000 - minimum: -1000 - exclusiveMaximum: true - exclusiveMinimum: true - nullable: true - description: GPS coordinate in decimal format (xx.yyyyyy) - status: - enum: - - offline - - active - - planned - - staged - - failed - - inventory - - decommissioning - type: string - description: '* `offline` - Offline + * `60g-18-62640-6480` - 18 (62.64/6.48 GHz) - * `active` - Active + * `60g-19-64800-6480` - 19 (64.80/6.48 GHz) - * `planned` - Planned + * `60g-20-66960-6480` - 20 (66.96/6.48 GHz) - * `staged` - Staged + * `60g-25-61560-6480` - 25 (61.56/8.64 GHz) - * `failed` - Failed + * `60g-26-63720-6480` - 26 (63.72/8.64 GHz) - * `inventory` - Inventory + * `60g-27-65880-6480` - 27 (65.88/8.64 GHz)' + x-spec-enum-id: aac33cc237adc8f9 + title: Wireless channel + poe_mode: + enum: + - pd + - pse + - '' + type: string + description: '* `pd` - PD - * `decommissioning` - Decommissioning' - x-spec-enum-id: 8d8971779f16ee18 - airflow: + * `pse` - PSE' + x-spec-enum-id: 2f2fe6dcdc7772bd + poe_type: enum: - - front-to-rear - - rear-to-front - - left-to-right - - right-to-left - - side-to-rear - - passive - - mixed + - type1-ieee802.3af + - type2-ieee802.3at + - type3-ieee802.3bt + - type4-ieee802.3bt + - passive-24v-2pair + - passive-24v-4pair + - passive-48v-2pair + - passive-48v-4pair - '' type: string - description: '* `front-to-rear` - Front to rear + description: '* `type1-ieee802.3af` - 802.3af (Type 1) - * `rear-to-front` - Rear to front + * `type2-ieee802.3at` - 802.3at (Type 2) - * `left-to-right` - Left to right + * `type3-ieee802.3bt` - 802.3bt (Type 3) - * `right-to-left` - Right to left + * `type4-ieee802.3bt` - 802.3bt (Type 4) - * `side-to-rear` - Side to rear + * `passive-24v-2pair` - Passive 24V (2-pair) - * `passive` - Passive + * `passive-24v-4pair` - Passive 24V (4-pair) - * `mixed` - Mixed' - x-spec-enum-id: 58e389e240a5e53d - primary_ip4: - allOf: - - $ref: '#/components/schemas/IPAddressRequest' - nullable: true - primary_ip6: - allOf: - - $ref: '#/components/schemas/IPAddressRequest' - nullable: true - oob_ip: - allOf: - - $ref: '#/components/schemas/IPAddressRequest' - nullable: true - cluster: - allOf: - - $ref: '#/components/schemas/ClusterRequest' - nullable: true - virtual_chassis: - allOf: - - $ref: '#/components/schemas/VirtualChassisRequest' + * `passive-48v-2pair` - Passive 48V (2-pair) + + * `passive-48v-4pair` - Passive 48V (4-pair)' + x-spec-enum-id: 74bd3be4012f6da9 + rf_channel_frequency: + type: number + format: double + maximum: 100000 + minimum: -100000 + exclusiveMaximum: true + exclusiveMinimum: true nullable: true - vc_position: - type: integer - maximum: 255 - minimum: 0 + title: Channel frequency (MHz) + description: Populated by selected channel (if set) + rf_channel_width: + type: number + format: double + maximum: 10000 + minimum: -10000 + exclusiveMaximum: true + exclusiveMinimum: true nullable: true - vc_priority: + title: Channel width (MHz) + description: Populated by selected channel (if set) + tx_power: type: integer - maximum: 255 + maximum: 127 minimum: 0 nullable: true - description: Virtual chassis master election priority - description: - type: string - maxLength: 200 - comments: - type: string - config_template: + title: Transmit power (dBm) + untagged_vlan: allOf: - - $ref: '#/components/schemas/ConfigTemplateRequest' - nullable: true - local_context_data: + - $ref: '#/components/schemas/BriefVLANRequest' nullable: true - description: Local config context data takes precedence over source contexts - in the final rendered config context - tags: + tagged_vlans: type: array items: - $ref: '#/components/schemas/NestedTagRequest' - custom_fields: - type: object - additionalProperties: {} - PatchedWritableEventRuleRequest: - type: object - description: Adds support for custom fields and tags. - properties: - object_types: + type: integer + mark_connected: + type: boolean + description: Treat as if a cable is connected + wireless_lans: type: array items: - type: string - name: - type: string - minLength: 1 - maxLength: 150 - type_create: - type: boolean - title: On create - description: Triggers when a matching object is created. - type_update: - type: boolean - title: On update - description: Triggers when a matching object is updated. - type_delete: - type: boolean - title: On delete - description: Triggers when a matching object is deleted. - type_job_start: - type: boolean - title: On job start - description: Triggers when a job for a matching object is started. - type_job_end: - type: boolean - title: On job end - description: Triggers when a job for a matching object terminates. - enabled: - type: boolean - conditions: - nullable: true - description: A set of conditions which determine whether the event will - be generated. - action_type: - enum: - - webhook - - script - type: string - description: '* `webhook` - Webhook - - * `script` - Script' - x-spec-enum-id: a08300d86473de6e - action_object_type: - type: string - action_object_id: - type: integer - maximum: 9223372036854775807 - minimum: 0 - format: int64 + type: integer + vrf: + allOf: + - $ref: '#/components/schemas/BriefVRFRequest' nullable: true - description: - type: string - maxLength: 200 - custom_fields: - type: object - additionalProperties: {} tags: type: array items: $ref: '#/components/schemas/NestedTagRequest' - PatchedWritableFrontPortRequest: + custom_fields: + type: object + additionalProperties: {} + PatchedWritableInterfaceTemplateRequest: type: object - description: Adds support for custom fields and tags. + 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: - device: - $ref: '#/components/schemas/DeviceRequest' - module: + device_type: + allOf: + - $ref: '#/components/schemas/BriefDeviceTypeRequest' + nullable: true + module_type: allOf: - - $ref: '#/components/schemas/ModuleRequest' + - $ref: '#/components/schemas/BriefModuleTypeRequest' nullable: true name: type: string minLength: 1 + description: '{module} is accepted as a substitution for the module bay + position when attached to a module type.' maxLength: 64 label: type: string @@ -120848,564 +173625,487 @@ components: maxLength: 64 type: enum: - - 8p8c - - 8p6c - - 8p4c - - 8p2c - - 6p6c - - 6p4c - - 6p2c - - 4p4c - - 4p2c - - gg45 - - tera-4p - - tera-2p - - tera-1p - - 110-punch - - bnc - - f - - n - - mrj21 - - fc - - lc - - lc-pc - - lc-upc - - lc-apc - - lsh - - lsh-pc - - lsh-upc - - lsh-apc - - lx5 - - lx5-pc - - lx5-upc - - lx5-apc - - mpo - - mtrj - - sc - - sc-pc - - sc-upc - - sc-apc - - st - - cs - - sn - - sma-905 - - sma-906 - - urm-p2 - - urm-p4 - - urm-p8 - - splice + - virtual + - bridge + - lag + - 100base-fx + - 100base-lfx + - 100base-tx + - 100base-t1 + - 1000base-t + - 1000base-tx + - 2.5gbase-t + - 5gbase-t + - 10gbase-t + - 10gbase-cx4 + - 100base-x-sfp + - 1000base-x-gbic + - 1000base-x-sfp + - 10gbase-x-sfpp + - 10gbase-x-xfp + - 10gbase-x-xenpak + - 10gbase-x-x2 + - 25gbase-x-sfp28 + - 50gbase-x-sfp56 + - 40gbase-x-qsfpp + - 50gbase-x-sfp28 + - 100gbase-x-cfp + - 100gbase-x-cfp2 + - 200gbase-x-cfp2 + - 400gbase-x-cfp2 + - 100gbase-x-cfp4 + - 100gbase-x-cxp + - 100gbase-x-cpak + - 100gbase-x-dsfp + - 100gbase-x-sfpdd + - 100gbase-x-qsfp28 + - 100gbase-x-qsfpdd + - 200gbase-x-qsfp56 + - 200gbase-x-qsfpdd + - 400gbase-x-qsfp112 + - 400gbase-x-qsfpdd + - 400gbase-x-osfp + - 400gbase-x-osfp-rhs + - 400gbase-x-cdfp + - 400gbase-x-cfp8 + - 800gbase-x-qsfpdd + - 800gbase-x-osfp + - 1000base-kx + - 2.5gbase-kx + - 5gbase-kr + - 10gbase-kr + - 10gbase-kx4 + - 25gbase-kr + - 40gbase-kr4 + - 50gbase-kr + - 100gbase-kp4 + - 100gbase-kr2 + - 100gbase-kr4 + - ieee802.11a + - ieee802.11g + - ieee802.11n + - ieee802.11ac + - ieee802.11ad + - ieee802.11ax + - ieee802.11ay + - ieee802.11be + - ieee802.15.1 + - ieee802.15.4 + - other-wireless + - gsm + - cdma + - lte + - 4g + - 5g + - sonet-oc3 + - sonet-oc12 + - sonet-oc48 + - sonet-oc192 + - sonet-oc768 + - sonet-oc1920 + - sonet-oc3840 + - 1gfc-sfp + - 2gfc-sfp + - 4gfc-sfp + - 8gfc-sfpp + - 16gfc-sfpp + - 32gfc-sfp28 + - 32gfc-sfpp + - 64gfc-qsfpp + - 64gfc-sfpdd + - 64gfc-sfpp + - 128gfc-qsfp28 + - infiniband-sdr + - infiniband-ddr + - infiniband-qdr + - infiniband-fdr10 + - infiniband-fdr + - infiniband-edr + - infiniband-hdr + - infiniband-ndr + - infiniband-xdr + - t1 + - e1 + - t3 + - e3 + - xdsl + - docsis + - bpon + - epon + - 10g-epon + - gpon + - xg-pon + - xgs-pon + - ng-pon2 + - 25g-pon + - 50g-pon + - cisco-stackwise + - cisco-stackwise-plus + - cisco-flexstack + - cisco-flexstack-plus + - cisco-stackwise-80 + - cisco-stackwise-160 + - cisco-stackwise-320 + - cisco-stackwise-480 + - cisco-stackwise-1t + - juniper-vcp + - extreme-summitstack + - extreme-summitstack-128 + - extreme-summitstack-256 + - extreme-summitstack-512 - other type: string - description: '* `8p8c` - 8P8C + description: '* `virtual` - Virtual - * `8p6c` - 8P6C + * `bridge` - Bridge - * `8p4c` - 8P4C + * `lag` - Link Aggregation Group (LAG) - * `8p2c` - 8P2C + * `100base-fx` - 100BASE-FX (10/100ME FIBER) - * `6p6c` - 6P6C + * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) - * `6p4c` - 6P4C + * `100base-tx` - 100BASE-TX (10/100ME) - * `6p2c` - 6P2C + * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) - * `4p4c` - 4P4C + * `1000base-t` - 1000BASE-T (1GE) - * `4p2c` - 4P2C + * `1000base-tx` - 1000BASE-TX (1GE) - * `gg45` - GG45 + * `2.5gbase-t` - 2.5GBASE-T (2.5GE) - * `tera-4p` - TERA 4P + * `5gbase-t` - 5GBASE-T (5GE) - * `tera-2p` - TERA 2P + * `10gbase-t` - 10GBASE-T (10GE) - * `tera-1p` - TERA 1P + * `10gbase-cx4` - 10GBASE-CX4 (10GE) - * `110-punch` - 110 Punch + * `100base-x-sfp` - SFP (100ME) - * `bnc` - BNC + * `1000base-x-gbic` - GBIC (1GE) - * `f` - F Connector + * `1000base-x-sfp` - SFP (1GE) - * `n` - N Connector + * `10gbase-x-sfpp` - SFP+ (10GE) - * `mrj21` - MRJ21 + * `10gbase-x-xfp` - XFP (10GE) - * `fc` - FC + * `10gbase-x-xenpak` - XENPAK (10GE) - * `lc` - LC + * `10gbase-x-x2` - X2 (10GE) - * `lc-pc` - LC/PC + * `25gbase-x-sfp28` - SFP28 (25GE) - * `lc-upc` - LC/UPC + * `50gbase-x-sfp56` - SFP56 (50GE) - * `lc-apc` - LC/APC + * `40gbase-x-qsfpp` - QSFP+ (40GE) - * `lsh` - LSH + * `50gbase-x-sfp28` - QSFP28 (50GE) - * `lsh-pc` - LSH/PC + * `100gbase-x-cfp` - CFP (100GE) - * `lsh-upc` - LSH/UPC + * `100gbase-x-cfp2` - CFP2 (100GE) - * `lsh-apc` - LSH/APC + * `200gbase-x-cfp2` - CFP2 (200GE) - * `lx5` - LX.5 + * `400gbase-x-cfp2` - CFP2 (400GE) - * `lx5-pc` - LX.5/PC + * `100gbase-x-cfp4` - CFP4 (100GE) - * `lx5-upc` - LX.5/UPC + * `100gbase-x-cxp` - CXP (100GE) - * `lx5-apc` - LX.5/APC + * `100gbase-x-cpak` - Cisco CPAK (100GE) - * `mpo` - MPO + * `100gbase-x-dsfp` - DSFP (100GE) - * `mtrj` - MTRJ + * `100gbase-x-sfpdd` - SFP-DD (100GE) - * `sc` - SC + * `100gbase-x-qsfp28` - QSFP28 (100GE) - * `sc-pc` - SC/PC + * `100gbase-x-qsfpdd` - QSFP-DD (100GE) - * `sc-upc` - SC/UPC + * `200gbase-x-qsfp56` - QSFP56 (200GE) - * `sc-apc` - SC/APC + * `200gbase-x-qsfpdd` - QSFP-DD (200GE) - * `st` - ST + * `400gbase-x-qsfp112` - QSFP112 (400GE) - * `cs` - CS + * `400gbase-x-qsfpdd` - QSFP-DD (400GE) - * `sn` - SN + * `400gbase-x-osfp` - OSFP (400GE) - * `sma-905` - SMA 905 + * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) - * `sma-906` - SMA 906 + * `400gbase-x-cdfp` - CDFP (400GE) - * `urm-p2` - URM-P2 + * `400gbase-x-cfp8` - CPF8 (400GE) - * `urm-p4` - URM-P4 + * `800gbase-x-qsfpdd` - QSFP-DD (800GE) - * `urm-p8` - URM-P8 + * `800gbase-x-osfp` - OSFP (800GE) - * `splice` - Splice + * `1000base-kx` - 1000BASE-KX (1GE) - * `other` - Other' - x-spec-enum-id: 0276d1110ada597a - color: - type: string - pattern: ^[0-9a-f]{6}$ - maxLength: 6 - rear_port: - type: integer - rear_port_position: - type: integer - maximum: 1024 - minimum: 1 - default: 1 - description: Mapped position on corresponding rear port - description: - type: string - maxLength: 200 - mark_connected: - type: boolean - description: Treat as if a cable is connected - tags: - type: array - items: - $ref: '#/components/schemas/NestedTagRequest' - custom_fields: - type: object - additionalProperties: {} - PatchedWritableFrontPortTemplateRequest: - type: object - description: 'Extends the built-in ModelSerializer to enforce calling full_clean() - on a copy of the associated instance during + * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) - validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' - properties: - device_type: - allOf: - - $ref: '#/components/schemas/DeviceTypeRequest' - nullable: true - module_type: - allOf: - - $ref: '#/components/schemas/ModuleTypeRequest' - nullable: true - name: - type: string - minLength: 1 - description: '{module} is accepted as a substitution for the module bay - position when attached to a module type.' - maxLength: 64 - label: - type: string - description: Physical label - maxLength: 64 - type: - enum: - - 8p8c - - 8p6c - - 8p4c - - 8p2c - - 6p6c - - 6p4c - - 6p2c - - 4p4c - - 4p2c - - gg45 - - tera-4p - - tera-2p - - tera-1p - - 110-punch - - bnc - - f - - n - - mrj21 - - fc - - lc - - lc-pc - - lc-upc - - lc-apc - - lsh - - lsh-pc - - lsh-upc - - lsh-apc - - lx5 - - lx5-pc - - lx5-upc - - lx5-apc - - mpo - - mtrj - - sc - - sc-pc - - sc-upc - - sc-apc - - st - - cs - - sn - - sma-905 - - sma-906 - - urm-p2 - - urm-p4 - - urm-p8 - - splice - - other - type: string - description: '* `8p8c` - 8P8C + * `5gbase-kr` - 5GBASE-KR (5GE) + + * `10gbase-kr` - 10GBASE-KR (10GE) - * `8p6c` - 8P6C + * `10gbase-kx4` - 10GBASE-KX4 (10GE) - * `8p4c` - 8P4C + * `25gbase-kr` - 25GBASE-KR (25GE) - * `8p2c` - 8P2C + * `40gbase-kr4` - 40GBASE-KR4 (40GE) - * `6p6c` - 6P6C + * `50gbase-kr` - 50GBASE-KR (50GE) - * `6p4c` - 6P4C + * `100gbase-kp4` - 100GBASE-KP4 (100GE) - * `6p2c` - 6P2C + * `100gbase-kr2` - 100GBASE-KR2 (100GE) - * `4p4c` - 4P4C + * `100gbase-kr4` - 100GBASE-KR4 (100GE) - * `4p2c` - 4P2C + * `ieee802.11a` - IEEE 802.11a - * `gg45` - GG45 + * `ieee802.11g` - IEEE 802.11b/g - * `tera-4p` - TERA 4P + * `ieee802.11n` - IEEE 802.11n - * `tera-2p` - TERA 2P + * `ieee802.11ac` - IEEE 802.11ac - * `tera-1p` - TERA 1P + * `ieee802.11ad` - IEEE 802.11ad - * `110-punch` - 110 Punch + * `ieee802.11ax` - IEEE 802.11ax - * `bnc` - BNC + * `ieee802.11ay` - IEEE 802.11ay - * `f` - F Connector + * `ieee802.11be` - IEEE 802.11be - * `n` - N Connector + * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) - * `mrj21` - MRJ21 + * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) - * `fc` - FC + * `other-wireless` - Other (Wireless) - * `lc` - LC + * `gsm` - GSM - * `lc-pc` - LC/PC + * `cdma` - CDMA - * `lc-upc` - LC/UPC + * `lte` - LTE - * `lc-apc` - LC/APC + * `4g` - 4G - * `lsh` - LSH + * `5g` - 5G - * `lsh-pc` - LSH/PC + * `sonet-oc3` - OC-3/STM-1 - * `lsh-upc` - LSH/UPC + * `sonet-oc12` - OC-12/STM-4 - * `lsh-apc` - LSH/APC + * `sonet-oc48` - OC-48/STM-16 - * `lx5` - LX.5 + * `sonet-oc192` - OC-192/STM-64 - * `lx5-pc` - LX.5/PC + * `sonet-oc768` - OC-768/STM-256 - * `lx5-upc` - LX.5/UPC + * `sonet-oc1920` - OC-1920/STM-640 - * `lx5-apc` - LX.5/APC + * `sonet-oc3840` - OC-3840/STM-1234 - * `mpo` - MPO + * `1gfc-sfp` - SFP (1GFC) - * `mtrj` - MTRJ + * `2gfc-sfp` - SFP (2GFC) - * `sc` - SC + * `4gfc-sfp` - SFP (4GFC) - * `sc-pc` - SC/PC + * `8gfc-sfpp` - SFP+ (8GFC) - * `sc-upc` - SC/UPC + * `16gfc-sfpp` - SFP+ (16GFC) - * `sc-apc` - SC/APC + * `32gfc-sfp28` - SFP28 (32GFC) - * `st` - ST + * `32gfc-sfpp` - SFP+ (32GFC) - * `cs` - CS + * `64gfc-qsfpp` - QSFP+ (64GFC) - * `sn` - SN + * `64gfc-sfpdd` - SFP-DD (64GFC) - * `sma-905` - SMA 905 + * `64gfc-sfpp` - SFP+ (64GFC) - * `sma-906` - SMA 906 + * `128gfc-qsfp28` - QSFP28 (128GFC) - * `urm-p2` - URM-P2 + * `infiniband-sdr` - SDR (2 Gbps) - * `urm-p4` - URM-P4 + * `infiniband-ddr` - DDR (4 Gbps) - * `urm-p8` - URM-P8 + * `infiniband-qdr` - QDR (8 Gbps) - * `splice` - Splice + * `infiniband-fdr10` - FDR10 (10 Gbps) - * `other` - Other' - x-spec-enum-id: 0276d1110ada597a - color: - type: string - pattern: ^[0-9a-f]{6}$ - maxLength: 6 - rear_port: - $ref: '#/components/schemas/RearPortTemplateRequest' - rear_port_position: - type: integer - maximum: 1024 - minimum: 1 - default: 1 - description: - type: string - maxLength: 200 - PatchedWritableIKEPolicyRequest: - type: object - description: Adds support for custom fields and tags. - properties: - name: - type: string - minLength: 1 - maxLength: 100 - description: - type: string - maxLength: 200 - version: - enum: - - 1 - - 2 - type: integer - description: '* `1` - IKEv1 + * `infiniband-fdr` - FDR (13.5 Gbps) - * `2` - IKEv2' - x-spec-enum-id: 00872b77916a1fde - minimum: 0 - maximum: 32767 - mode: - enum: - - aggressive - - main - - '' - type: string - description: '* `aggressive` - Aggressive + * `infiniband-edr` - EDR (25 Gbps) - * `main` - Main' - x-spec-enum-id: 64c1be7bdb2548ca - proposals: - type: array - items: - type: integer - preshared_key: - type: string - title: Pre-shared key - comments: - type: string - tags: - type: array - items: - $ref: '#/components/schemas/NestedTagRequest' - custom_fields: - type: object - additionalProperties: {} - PatchedWritableIKEProposalRequest: - type: object - description: Adds support for custom fields and tags. - properties: - name: - type: string - minLength: 1 - maxLength: 100 - description: - type: string - maxLength: 200 - authentication_method: - enum: - - preshared-keys - - certificates - - rsa-signatures - - dsa-signatures - type: string - description: '* `preshared-keys` - Pre-shared keys + * `infiniband-hdr` - HDR (50 Gbps) - * `certificates` - Certificates + * `infiniband-ndr` - NDR (100 Gbps) - * `rsa-signatures` - RSA signatures + * `infiniband-xdr` - XDR (250 Gbps) - * `dsa-signatures` - DSA signatures' - x-spec-enum-id: 92bb2f1103b3a262 - encryption_algorithm: - enum: - - aes-128-cbc - - aes-128-gcm - - aes-192-cbc - - aes-192-gcm - - aes-256-cbc - - aes-256-gcm - - 3des-cbc - - des-cbc - type: string - description: '* `aes-128-cbc` - 128-bit AES (CBC) + * `t1` - T1 (1.544 Mbps) - * `aes-128-gcm` - 128-bit AES (GCM) + * `e1` - E1 (2.048 Mbps) - * `aes-192-cbc` - 192-bit AES (CBC) + * `t3` - T3 (45 Mbps) - * `aes-192-gcm` - 192-bit AES (GCM) + * `e3` - E3 (34 Mbps) - * `aes-256-cbc` - 256-bit AES (CBC) + * `xdsl` - xDSL - * `aes-256-gcm` - 256-bit AES (GCM) + * `docsis` - DOCSIS - * `3des-cbc` - 3DES + * `bpon` - BPON (622 Mbps / 155 Mbps) - * `des-cbc` - DES' - x-spec-enum-id: b022535cfdee79fe - authentication_algorithm: - enum: - - hmac-sha1 - - hmac-sha256 - - hmac-sha384 - - hmac-sha512 - - hmac-md5 - - '' - type: string - description: '* `hmac-sha1` - SHA-1 HMAC + * `epon` - EPON (1 Gbps) - * `hmac-sha256` - SHA-256 HMAC + * `10g-epon` - 10G-EPON (10 Gbps) - * `hmac-sha384` - SHA-384 HMAC + * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) - * `hmac-sha512` - SHA-512 HMAC + * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) - * `hmac-md5` - MD5 HMAC' - x-spec-enum-id: 0830e8839f5dea4f - group: - enum: - - 1 - - 2 - - 5 - - 14 - - 15 - - 16 - - 17 - - 18 - - 19 - - 20 - - 21 - - 22 - - 23 - - 24 - - 25 - - 26 - - 27 - - 28 - - 29 - - 30 - - 31 - - 32 - - 33 - - 34 - type: integer - x-spec-enum-id: dbef43be795462a8 - description: 'Diffie-Hellman group ID + * `xgs-pon` - XGS-PON (10 Gbps) + * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) - * `1` - Group 1 + * `25g-pon` - 25G-PON (25 Gbps) - * `2` - Group 2 + * `50g-pon` - 50G-PON (50 Gbps) - * `5` - Group 5 + * `cisco-stackwise` - Cisco StackWise - * `14` - Group 14 + * `cisco-stackwise-plus` - Cisco StackWise Plus - * `15` - Group 15 + * `cisco-flexstack` - Cisco FlexStack - * `16` - Group 16 + * `cisco-flexstack-plus` - Cisco FlexStack Plus - * `17` - Group 17 + * `cisco-stackwise-80` - Cisco StackWise-80 - * `18` - Group 18 + * `cisco-stackwise-160` - Cisco StackWise-160 - * `19` - Group 19 + * `cisco-stackwise-320` - Cisco StackWise-320 - * `20` - Group 20 + * `cisco-stackwise-480` - Cisco StackWise-480 - * `21` - Group 21 + * `cisco-stackwise-1t` - Cisco StackWise-1T - * `22` - Group 22 + * `juniper-vcp` - Juniper VCP - * `23` - Group 23 + * `extreme-summitstack` - Extreme SummitStack - * `24` - Group 24 + * `extreme-summitstack-128` - Extreme SummitStack-128 - * `25` - Group 25 + * `extreme-summitstack-256` - Extreme SummitStack-256 - * `26` - Group 26 + * `extreme-summitstack-512` - Extreme SummitStack-512 - * `27` - Group 27 + * `other` - Other' + x-spec-enum-id: 56365107f9c2326f + enabled: + type: boolean + mgmt_only: + type: boolean + title: Management only + description: + type: string + maxLength: 200 + bridge: + type: integer + nullable: true + title: Bridge interface + poe_mode: + enum: + - pd + - pse + - '' + type: string + description: '* `pd` - PD - * `28` - Group 28 + * `pse` - PSE' + x-spec-enum-id: 2f2fe6dcdc7772bd + poe_type: + enum: + - type1-ieee802.3af + - type2-ieee802.3at + - type3-ieee802.3bt + - type4-ieee802.3bt + - passive-24v-2pair + - passive-24v-4pair + - passive-48v-2pair + - passive-48v-4pair + - '' + type: string + description: '* `type1-ieee802.3af` - 802.3af (Type 1) - * `29` - Group 29 + * `type2-ieee802.3at` - 802.3at (Type 2) - * `30` - Group 30 + * `type3-ieee802.3bt` - 802.3bt (Type 3) - * `31` - Group 31 + * `type4-ieee802.3bt` - 802.3bt (Type 4) - * `32` - Group 32 + * `passive-24v-2pair` - Passive 24V (2-pair) - * `33` - Group 33 + * `passive-24v-4pair` - Passive 24V (4-pair) - * `34` - Group 34' - minimum: 0 - maximum: 32767 - sa_lifetime: + * `passive-48v-2pair` - Passive 48V (2-pair) + + * `passive-48v-4pair` - Passive 48V (4-pair)' + x-spec-enum-id: 74bd3be4012f6da9 + rf_role: + enum: + - ap + - station + - '' + type: string + description: '* `ap` - Access point + + * `station` - Station' + x-spec-enum-id: d2772dbea88b0fb1 + title: Wireless role + PatchedWritableJournalEntryRequest: + type: object + description: Adds support for custom fields and tags. + properties: + assigned_object_type: + type: string + assigned_object_id: type: integer - maximum: 2147483647 + maximum: 9223372036854775807 minimum: 0 + format: int64 + created_by: + type: integer nullable: true - description: Security association lifetime (in seconds) + kind: + enum: + - info + - success + - warning + - danger + type: string + description: '* `info` - Info + + * `success` - Success + + * `warning` - Warning + + * `danger` - Danger' + x-spec-enum-id: a21af280f632fa34 comments: type: string + minLength: 1 tags: type: array items: @@ -121413,92 +174113,182 @@ components: custom_fields: type: object additionalProperties: {} - PatchedWritableIPAddressRequest: + PatchedWritableL2VPNRequest: type: object description: Adds support for custom fields and tags. properties: - address: + identifier: + type: integer + maximum: 9223372036854775807 + minimum: -9223372036854775808 + format: int64 + nullable: true + name: type: string minLength: 1 - vrf: - allOf: - - $ref: '#/components/schemas/VRFRequest' - nullable: true - tenant: - allOf: - - $ref: '#/components/schemas/TenantRequest' - nullable: true - status: + maxLength: 100 + slug: + type: string + minLength: 1 + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: enum: - - active - - reserved - - deprecated - - dhcp - - slaac + - vpws + - vpls + - vxlan + - vxlan-evpn + - mpls-evpn + - pbb-evpn + - epl + - evpl + - ep-lan + - evp-lan + - ep-tree + - evp-tree type: string - x-spec-enum-id: 24935cfee15bd268 - description: 'The operational status of this IP + description: '* `vpws` - VPWS + * `vpls` - VPLS - * `active` - Active + * `vxlan` - VXLAN - * `reserved` - Reserved + * `vxlan-evpn` - VXLAN-EVPN - * `deprecated` - Deprecated + * `mpls-evpn` - MPLS EVPN - * `dhcp` - DHCP + * `pbb-evpn` - PBB EVPN - * `slaac` - SLAAC' - role: + * `epl` - EPL + + * `evpl` - EVPL + + * `ep-lan` - Ethernet Private LAN + + * `evp-lan` - Ethernet Virtual Private LAN + + * `ep-tree` - Ethernet Private Tree + + * `evp-tree` - Ethernet Virtual Private Tree' + x-spec-enum-id: dbaa4f996ec2d110 + import_targets: + type: array + items: + type: integer + export_targets: + type: array + items: + type: integer + description: + type: string + maxLength: 200 + comments: + type: string + tenant: + allOf: + - $ref: '#/components/schemas/BriefTenantRequest' + nullable: true + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} + PatchedWritableLocationRequest: + type: object + description: Extends PrimaryModelSerializer to include MPTT support. + properties: + name: + type: string + minLength: 1 + maxLength: 100 + slug: + type: string + minLength: 1 + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + site: + $ref: '#/components/schemas/BriefSiteRequest' + parent: + type: integer + nullable: true + status: enum: - - loopback - - secondary - - anycast - - vip - - vrrp - - hsrp - - glbp - - carp - - '' + - planned + - staging + - active + - decommissioning + - retired type: string - x-spec-enum-id: 10fbcb4930889b0f - description: 'The functional role of this IP + description: '* `planned` - Planned + * `staging` - Staging - * `loopback` - Loopback + * `active` - Active - * `secondary` - Secondary + * `decommissioning` - Decommissioning - * `anycast` - Anycast + * `retired` - Retired' + x-spec-enum-id: e363a8ddb138be50 + tenant: + allOf: + - $ref: '#/components/schemas/BriefTenantRequest' + nullable: true + facility: + type: string + description: Local facility ID or description + maxLength: 50 + description: + type: string + maxLength: 200 + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} + PatchedWritableModuleRequest: + type: object + description: Adds support for custom fields and tags. + properties: + device: + $ref: '#/components/schemas/BriefDeviceRequest' + module_bay: + type: integer + module_type: + $ref: '#/components/schemas/BriefModuleTypeRequest' + status: + enum: + - offline + - active + - planned + - staged + - failed + - decommissioning + type: string + description: '* `offline` - Offline - * `vip` - VIP + * `active` - Active - * `vrrp` - VRRP + * `planned` - Planned - * `hsrp` - HSRP + * `staged` - Staged - * `glbp` - GLBP + * `failed` - Failed - * `carp` - CARP' - assigned_object_type: + * `decommissioning` - Decommissioning' + x-spec-enum-id: 2217e87d0c3efdda + serial: type: string - nullable: true - assigned_object_id: - type: integer - maximum: 9223372036854775807 - minimum: 0 - format: int64 - nullable: true - nat_inside: - type: integer - nullable: true - title: NAT (inside) - description: The IP for which this address is the "outside" IP - dns_name: + title: Serial number + maxLength: 50 + asset_tag: type: string - description: Hostname or FQDN (not case-sensitive) - pattern: ^([0-9A-Za-z_-]+|\*)(\.[0-9A-Za-z_-]+)*\.?$ - maxLength: 255 + nullable: true + description: A unique tag used to identify this device + maxLength: 50 description: type: string maxLength: 200 @@ -121511,43 +174301,66 @@ components: custom_fields: type: object additionalProperties: {} - PatchedWritableIPRangeRequest: + PatchedWritableModuleTypeRequest: type: object description: Adds support for custom fields and tags. properties: - start_address: + manufacturer: + $ref: '#/components/schemas/BriefManufacturerRequest' + model: type: string minLength: 1 - end_address: + maxLength: 100 + part_number: type: string - minLength: 1 - vrf: - allOf: - - $ref: '#/components/schemas/VRFRequest' - nullable: true - tenant: - allOf: - - $ref: '#/components/schemas/TenantRequest' - nullable: true - status: + description: Discrete part number (optional) + maxLength: 50 + airflow: enum: - - active - - reserved - - deprecated + - front-to-rear + - rear-to-front + - left-to-right + - right-to-left + - side-to-rear + - passive + - '' type: string - x-spec-enum-id: 6388dfb94ca1cc15 - description: 'Operational status of this range + description: '* `front-to-rear` - Front to rear + * `rear-to-front` - Rear to front - * `active` - Active + * `left-to-right` - Left to right - * `reserved` - Reserved + * `right-to-left` - Right to left - * `deprecated` - Deprecated' - role: - allOf: - - $ref: '#/components/schemas/RoleRequest' + * `side-to-rear` - Side to rear + + * `passive` - Passive' + x-spec-enum-id: f6e5562e0e98d69d + weight: + type: number + format: double + maximum: 1000000 + minimum: -1000000 + exclusiveMaximum: true + exclusiveMinimum: true nullable: true + weight_unit: + enum: + - kg + - g + - lb + - oz + - '' + type: string + description: '* `kg` - Kilograms + + * `g` - Grams + + * `lb` - Pounds + + * `oz` - Ounces' + x-spec-enum-id: 7c1876f422815884 description: type: string maxLength: 200 @@ -121560,223 +174373,439 @@ components: custom_fields: type: object additionalProperties: {} - mark_utilized: - type: boolean - description: Treat as fully utilized - PatchedWritableIPSecPolicyRequest: + PatchedWritablePowerFeedRequest: type: object description: Adds support for custom fields and tags. properties: + power_panel: + $ref: '#/components/schemas/BriefPowerPanelRequest' + rack: + allOf: + - $ref: '#/components/schemas/BriefRackRequest' + nullable: true name: type: string minLength: 1 maxLength: 100 + status: + enum: + - offline + - active + - planned + - failed + type: string + description: '* `offline` - Offline + + * `active` - Active + + * `planned` - Planned + + * `failed` - Failed' + x-spec-enum-id: b77fc919138c12f6 + type: + enum: + - primary + - redundant + type: string + description: '* `primary` - Primary + + * `redundant` - Redundant' + x-spec-enum-id: 093a164236819eb8 + supply: + enum: + - ac + - dc + type: string + description: '* `ac` - AC + + * `dc` - DC' + x-spec-enum-id: 1b6d99616ca6412b + phase: + enum: + - single-phase + - three-phase + type: string + description: '* `single-phase` - Single phase + + * `three-phase` - Three-phase' + x-spec-enum-id: 994bc0696f4df57f + voltage: + type: integer + maximum: 32767 + minimum: -32768 + amperage: + type: integer + maximum: 32767 + minimum: 1 + max_utilization: + type: integer + maximum: 100 + minimum: 1 + description: Maximum permissible draw (percentage) + mark_connected: + type: boolean + description: Treat as if a cable is connected description: type: string maxLength: 200 - proposals: + tenant: + allOf: + - $ref: '#/components/schemas/BriefTenantRequest' + nullable: true + comments: + type: string + tags: type: array items: - type: integer - pfs_group: - enum: - - 1 - - 2 - - 5 - - 14 - - 15 - - 16 - - 17 - - 18 - - 19 - - 20 - - 21 - - 22 - - 23 - - 24 - - 25 - - 26 - - 27 - - 28 - - 29 - - 30 - - 31 - - 32 - - 33 - - 34 - type: integer - x-spec-enum-id: dbef43be795462a8 + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} + PatchedWritablePowerOutletRequest: + type: object + description: Adds support for custom fields and tags. + properties: + device: + $ref: '#/components/schemas/BriefDeviceRequest' + module: + allOf: + - $ref: '#/components/schemas/BriefModuleRequest' nullable: true - description: 'Diffie-Hellman group for Perfect Forward Secrecy + name: + type: string + minLength: 1 + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + 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-20r + - 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 + - molex-micro-fit-1x2 + - molex-micro-fit-2x2 + - molex-micro-fit-2x4 + - dc-terminal + - eaton-c39 + - hdot-cx + - saf-d-grid + - neutrik-powercon-20a + - neutrik-powercon-32a + - neutrik-powercon-true1 + - neutrik-powercon-true1-top + - ubiquiti-smartpower + - hardwired + - other + - '' + type: string + x-spec-enum-id: f8c08053f2db8830 + description: 'Physical port type - * `1` - Group 1 + * `iec-60320-c5` - C5 - * `2` - Group 2 + * `iec-60320-c7` - C7 - * `5` - Group 5 + * `iec-60320-c13` - C13 - * `14` - Group 14 + * `iec-60320-c15` - C15 - * `15` - Group 15 + * `iec-60320-c19` - C19 - * `16` - Group 16 + * `iec-60320-c21` - C21 - * `17` - Group 17 + * `iec-60309-p-n-e-4h` - P+N+E 4H - * `18` - Group 18 + * `iec-60309-p-n-e-6h` - P+N+E 6H - * `19` - Group 19 + * `iec-60309-p-n-e-9h` - P+N+E 9H - * `20` - Group 20 + * `iec-60309-2p-e-4h` - 2P+E 4H + + * `iec-60309-2p-e-6h` - 2P+E 6H + + * `iec-60309-2p-e-9h` - 2P+E 9H + + * `iec-60309-3p-e-4h` - 3P+E 4H + + * `iec-60309-3p-e-6h` - 3P+E 6H + + * `iec-60309-3p-e-9h` - 3P+E 9H + + * `iec-60309-3p-n-e-4h` - 3P+N+E 4H + + * `iec-60309-3p-n-e-6h` - 3P+N+E 6H + + * `iec-60309-3p-n-e-9h` - 3P+N+E 9H + + * `iec-60906-1` - IEC 60906-1 + + * `nbr-14136-10a` - 2P+T 10A (NBR 14136) + + * `nbr-14136-20a` - 2P+T 20A (NBR 14136) + + * `nema-1-15r` - NEMA 1-15R + + * `nema-5-15r` - NEMA 5-15R + + * `nema-5-20r` - NEMA 5-20R + + * `nema-5-30r` - NEMA 5-30R + + * `nema-5-50r` - NEMA 5-50R + + * `nema-6-15r` - NEMA 6-15R + + * `nema-6-20r` - NEMA 6-20R + + * `nema-6-30r` - NEMA 6-30R + + * `nema-6-50r` - NEMA 6-50R + + * `nema-10-30r` - NEMA 10-30R + + * `nema-10-50r` - NEMA 10-50R + + * `nema-14-20r` - NEMA 14-20R + + * `nema-14-30r` - NEMA 14-30R + + * `nema-14-50r` - NEMA 14-50R + + * `nema-14-60r` - NEMA 14-60R + + * `nema-15-15r` - NEMA 15-15R + + * `nema-15-20r` - NEMA 15-20R + + * `nema-15-30r` - NEMA 15-30R + + * `nema-15-50r` - NEMA 15-50R + + * `nema-15-60r` - NEMA 15-60R + + * `nema-l1-15r` - NEMA L1-15R + + * `nema-l5-15r` - NEMA L5-15R + + * `nema-l5-20r` - NEMA L5-20R + + * `nema-l5-30r` - NEMA L5-30R + + * `nema-l5-50r` - NEMA L5-50R + + * `nema-l6-15r` - NEMA L6-15R + + * `nema-l6-20r` - NEMA L6-20R + + * `nema-l6-30r` - NEMA L6-30R + + * `nema-l6-50r` - NEMA L6-50R + + * `nema-l10-30r` - NEMA L10-30R + + * `nema-l14-20r` - NEMA L14-20R + + * `nema-l14-30r` - NEMA L14-30R + + * `nema-l14-50r` - NEMA L14-50R + + * `nema-l14-60r` - NEMA L14-60R + + * `nema-l15-20r` - NEMA L15-20R + + * `nema-l15-30r` - NEMA L15-30R + + * `nema-l15-50r` - NEMA L15-50R + + * `nema-l15-60r` - NEMA L15-60R + + * `nema-l21-20r` - NEMA L21-20R + + * `nema-l21-30r` - NEMA L21-30R + + * `nema-l22-20r` - NEMA L22-20R + + * `nema-l22-30r` - NEMA L22-30R + + * `CS6360C` - CS6360C + + * `CS6364C` - CS6364C + + * `CS8164C` - CS8164C + + * `CS8264C` - CS8264C + + * `CS8364C` - CS8364C + + * `CS8464C` - CS8464C + + * `ita-e` - ITA Type E (CEE 7/5) + + * `ita-f` - ITA Type F (CEE 7/3) + + * `ita-g` - ITA Type G (BS 1363) + + * `ita-h` - ITA Type H + + * `ita-i` - ITA Type I + + * `ita-j` - ITA Type J + + * `ita-k` - ITA Type K - * `21` - Group 21 + * `ita-l` - ITA Type L (CEI 23-50) - * `22` - Group 22 + * `ita-m` - ITA Type M (BS 546) - * `23` - Group 23 + * `ita-n` - ITA Type N - * `24` - Group 24 + * `ita-o` - ITA Type O - * `25` - Group 25 + * `ita-multistandard` - ITA Multistandard - * `26` - Group 26 + * `usb-a` - USB Type A - * `27` - Group 27 + * `usb-micro-b` - USB Micro B - * `28` - Group 28 + * `usb-c` - USB Type C - * `29` - Group 29 + * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 - * `30` - Group 30 + * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 - * `31` - Group 31 + * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 - * `32` - Group 32 + * `dc-terminal` - DC Terminal - * `33` - Group 33 + * `eaton-c39` - Eaton C39 - * `34` - Group 34' - minimum: 0 - maximum: 32767 - comments: - type: string - tags: - type: array - items: - $ref: '#/components/schemas/NestedTagRequest' - custom_fields: - type: object - additionalProperties: {} - PatchedWritableIPSecProfileRequest: - type: object - description: Adds support for custom fields and tags. - properties: - name: - type: string - minLength: 1 - maxLength: 100 - description: - type: string - maxLength: 200 - mode: - enum: - - esp - - ah - type: string - description: '* `esp` - ESP + * `hdot-cx` - HDOT Cx - * `ah` - AH' - x-spec-enum-id: 1136c2cdfee84436 - ike_policy: - $ref: '#/components/schemas/IKEPolicyRequest' - ipsec_policy: - $ref: '#/components/schemas/IPSecPolicyRequest' - comments: - type: string - tags: - type: array - items: - $ref: '#/components/schemas/NestedTagRequest' - custom_fields: - type: object - additionalProperties: {} - PatchedWritableIPSecProposalRequest: - type: object - description: Adds support for custom fields and tags. - properties: - name: - type: string - minLength: 1 - maxLength: 100 - description: - type: string - maxLength: 200 - encryption_algorithm: - enum: - - aes-128-cbc - - aes-128-gcm - - aes-192-cbc - - aes-192-gcm - - aes-256-cbc - - aes-256-gcm - - 3des-cbc - - des-cbc - - '' - type: string - description: '* `aes-128-cbc` - 128-bit AES (CBC) + * `saf-d-grid` - Saf-D-Grid - * `aes-128-gcm` - 128-bit AES (GCM) + * `neutrik-powercon-20a` - Neutrik powerCON (20A) - * `aes-192-cbc` - 192-bit AES (CBC) + * `neutrik-powercon-32a` - Neutrik powerCON (32A) - * `aes-192-gcm` - 192-bit AES (GCM) + * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 - * `aes-256-cbc` - 256-bit AES (CBC) + * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP - * `aes-256-gcm` - 256-bit AES (GCM) + * `ubiquiti-smartpower` - Ubiquiti SmartPower - * `3des-cbc` - 3DES + * `hardwired` - Hardwired - * `des-cbc` - DES' - x-spec-enum-id: b022535cfdee79fe - title: Encryption - authentication_algorithm: + * `other` - Other' + power_port: + allOf: + - $ref: '#/components/schemas/BriefPowerPortRequest' + nullable: true + feed_leg: enum: - - hmac-sha1 - - hmac-sha256 - - hmac-sha384 - - hmac-sha512 - - hmac-md5 + - A + - B + - C - '' type: string - description: '* `hmac-sha1` - SHA-1 HMAC + x-spec-enum-id: a4902339df0b7c06 + description: 'Phase (for three-phase feeds) - * `hmac-sha256` - SHA-256 HMAC - * `hmac-sha384` - SHA-384 HMAC + * `A` - A - * `hmac-sha512` - SHA-512 HMAC + * `B` - B - * `hmac-md5` - MD5 HMAC' - x-spec-enum-id: 0830e8839f5dea4f - title: Authentication - sa_lifetime_seconds: - type: integer - maximum: 2147483647 - minimum: 0 - nullable: true - title: SA lifetime (seconds) - description: Security association lifetime (seconds) - sa_lifetime_data: - type: integer - maximum: 2147483647 - minimum: 0 - nullable: true - title: SA lifetime (KB) - description: Security association lifetime (in kilobytes) - comments: + * `C` - C' + description: type: string + maxLength: 200 + mark_connected: + type: boolean + description: Treat as if a cable is connected tags: type: array items: @@ -121784,23 +174813,26 @@ components: custom_fields: type: object additionalProperties: {} - PatchedWritableInterfaceRequest: + PatchedWritablePowerOutletTemplateRequest: type: object - description: Adds support for custom fields and tags. + 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: - device: - $ref: '#/components/schemas/DeviceRequest' - vdcs: - type: array - items: - type: integer - module: + device_type: allOf: - - $ref: '#/components/schemas/ModuleRequest' + - $ref: '#/components/schemas/BriefDeviceTypeRequest' + nullable: true + module_type: + allOf: + - $ref: '#/components/schemas/BriefModuleTypeRequest' nullable: true name: type: string minLength: 1 + description: '{module} is accepted as a substitution for the module bay + position when attached to a module type.' maxLength: 64 label: type: string @@ -121808,1140 +174840,1298 @@ components: maxLength: 64 type: enum: - - virtual - - bridge - - lag - - 100base-fx - - 100base-lfx - - 100base-tx - - 100base-t1 - - 1000base-t - - 2.5gbase-t - - 5gbase-t - - 10gbase-t - - 10gbase-cx4 - - 1000base-x-gbic - - 1000base-x-sfp - - 10gbase-x-sfpp - - 10gbase-x-xfp - - 10gbase-x-xenpak - - 10gbase-x-x2 - - 25gbase-x-sfp28 - - 50gbase-x-sfp56 - - 40gbase-x-qsfpp - - 50gbase-x-sfp28 - - 100gbase-x-cfp - - 100gbase-x-cfp2 - - 200gbase-x-cfp2 - - 400gbase-x-cfp2 - - 100gbase-x-cfp4 - - 100gbase-x-cxp - - 100gbase-x-cpak - - 100gbase-x-dsfp - - 100gbase-x-sfpdd - - 100gbase-x-qsfp28 - - 100gbase-x-qsfpdd - - 200gbase-x-qsfp56 - - 200gbase-x-qsfpdd - - 400gbase-x-qsfp112 - - 400gbase-x-qsfpdd - - 400gbase-x-osfp - - 400gbase-x-osfp-rhs - - 400gbase-x-cdfp - - 400gbase-x-cfp8 - - 800gbase-x-qsfpdd - - 800gbase-x-osfp - - 1000base-kx - - 2.5gbase-kx - - 5gbase-kr - - 10gbase-kr - - 10gbase-kx4 - - 25gbase-kr - - 40gbase-kr4 - - 50gbase-kr - - 100gbase-kp4 - - 100gbase-kr2 - - 100gbase-kr4 - - ieee802.11a - - ieee802.11g - - ieee802.11n - - ieee802.11ac - - ieee802.11ad - - ieee802.11ax - - ieee802.11ay - - ieee802.15.1 - - other-wireless - - gsm - - cdma - - lte - - 4g - - 5g - - sonet-oc3 - - sonet-oc12 - - sonet-oc48 - - sonet-oc192 - - sonet-oc768 - - sonet-oc1920 - - sonet-oc3840 - - 1gfc-sfp - - 2gfc-sfp - - 4gfc-sfp - - 8gfc-sfpp - - 16gfc-sfpp - - 32gfc-sfp28 - - 32gfc-sfpp - - 64gfc-qsfpp - - 64gfc-sfpdd - - 64gfc-sfpp - - 128gfc-qsfp28 - - infiniband-sdr - - infiniband-ddr - - infiniband-qdr - - infiniband-fdr10 - - infiniband-fdr - - infiniband-edr - - infiniband-hdr - - infiniband-ndr - - infiniband-xdr - - t1 - - e1 - - t3 - - e3 - - xdsl - - docsis - - bpon - - epon - - 10g-epon - - gpon - - xg-pon - - xgs-pon - - ng-pon2 - - 25g-pon - - 50g-pon - - cisco-stackwise - - cisco-stackwise-plus - - cisco-flexstack - - cisco-flexstack-plus - - cisco-stackwise-80 - - cisco-stackwise-160 - - cisco-stackwise-320 - - cisco-stackwise-480 - - cisco-stackwise-1t - - juniper-vcp - - extreme-summitstack - - extreme-summitstack-128 - - extreme-summitstack-256 - - extreme-summitstack-512 + - 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-20r + - 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 + - molex-micro-fit-1x2 + - molex-micro-fit-2x2 + - molex-micro-fit-2x4 + - dc-terminal + - eaton-c39 + - hdot-cx + - saf-d-grid + - neutrik-powercon-20a + - neutrik-powercon-32a + - neutrik-powercon-true1 + - neutrik-powercon-true1-top + - ubiquiti-smartpower + - hardwired - other + - '' type: string - description: '* `virtual` - Virtual - - * `bridge` - Bridge - - * `lag` - Link Aggregation Group (LAG) - - * `100base-fx` - 100BASE-FX (10/100ME FIBER) - - * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) - - * `100base-tx` - 100BASE-TX (10/100ME) - - * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) - - * `1000base-t` - 1000BASE-T (1GE) - - * `2.5gbase-t` - 2.5GBASE-T (2.5GE) - - * `5gbase-t` - 5GBASE-T (5GE) - - * `10gbase-t` - 10GBASE-T (10GE) - - * `10gbase-cx4` - 10GBASE-CX4 (10GE) - - * `1000base-x-gbic` - GBIC (1GE) - - * `1000base-x-sfp` - SFP (1GE) - - * `10gbase-x-sfpp` - SFP+ (10GE) - - * `10gbase-x-xfp` - XFP (10GE) - - * `10gbase-x-xenpak` - XENPAK (10GE) - - * `10gbase-x-x2` - X2 (10GE) - - * `25gbase-x-sfp28` - SFP28 (25GE) - - * `50gbase-x-sfp56` - SFP56 (50GE) - - * `40gbase-x-qsfpp` - QSFP+ (40GE) - - * `50gbase-x-sfp28` - QSFP28 (50GE) - - * `100gbase-x-cfp` - CFP (100GE) - - * `100gbase-x-cfp2` - CFP2 (100GE) - - * `200gbase-x-cfp2` - CFP2 (200GE) - - * `400gbase-x-cfp2` - CFP2 (400GE) - - * `100gbase-x-cfp4` - CFP4 (100GE) - - * `100gbase-x-cxp` - CXP (100GE) + description: '* `iec-60320-c5` - C5 - * `100gbase-x-cpak` - Cisco CPAK (100GE) + * `iec-60320-c7` - C7 - * `100gbase-x-dsfp` - DSFP (100GE) + * `iec-60320-c13` - C13 - * `100gbase-x-sfpdd` - SFP-DD (100GE) + * `iec-60320-c15` - C15 - * `100gbase-x-qsfp28` - QSFP28 (100GE) + * `iec-60320-c19` - C19 - * `100gbase-x-qsfpdd` - QSFP-DD (100GE) + * `iec-60320-c21` - C21 - * `200gbase-x-qsfp56` - QSFP56 (200GE) + * `iec-60309-p-n-e-4h` - P+N+E 4H - * `200gbase-x-qsfpdd` - QSFP-DD (200GE) + * `iec-60309-p-n-e-6h` - P+N+E 6H - * `400gbase-x-qsfp112` - QSFP112 (400GE) + * `iec-60309-p-n-e-9h` - P+N+E 9H - * `400gbase-x-qsfpdd` - QSFP-DD (400GE) + * `iec-60309-2p-e-4h` - 2P+E 4H - * `400gbase-x-osfp` - OSFP (400GE) + * `iec-60309-2p-e-6h` - 2P+E 6H - * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) + * `iec-60309-2p-e-9h` - 2P+E 9H - * `400gbase-x-cdfp` - CDFP (400GE) + * `iec-60309-3p-e-4h` - 3P+E 4H - * `400gbase-x-cfp8` - CPF8 (400GE) + * `iec-60309-3p-e-6h` - 3P+E 6H - * `800gbase-x-qsfpdd` - QSFP-DD (800GE) + * `iec-60309-3p-e-9h` - 3P+E 9H - * `800gbase-x-osfp` - OSFP (800GE) + * `iec-60309-3p-n-e-4h` - 3P+N+E 4H - * `1000base-kx` - 1000BASE-KX (1GE) + * `iec-60309-3p-n-e-6h` - 3P+N+E 6H - * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) + * `iec-60309-3p-n-e-9h` - 3P+N+E 9H - * `5gbase-kr` - 5GBASE-KR (5GE) + * `iec-60906-1` - IEC 60906-1 - * `10gbase-kr` - 10GBASE-KR (10GE) + * `nbr-14136-10a` - 2P+T 10A (NBR 14136) - * `10gbase-kx4` - 10GBASE-KX4 (10GE) + * `nbr-14136-20a` - 2P+T 20A (NBR 14136) - * `25gbase-kr` - 25GBASE-KR (25GE) + * `nema-1-15r` - NEMA 1-15R - * `40gbase-kr4` - 40GBASE-KR4 (40GE) + * `nema-5-15r` - NEMA 5-15R - * `50gbase-kr` - 50GBASE-KR (50GE) + * `nema-5-20r` - NEMA 5-20R - * `100gbase-kp4` - 100GBASE-KP4 (100GE) + * `nema-5-30r` - NEMA 5-30R - * `100gbase-kr2` - 100GBASE-KR2 (100GE) + * `nema-5-50r` - NEMA 5-50R - * `100gbase-kr4` - 100GBASE-KR4 (100GE) + * `nema-6-15r` - NEMA 6-15R - * `ieee802.11a` - IEEE 802.11a + * `nema-6-20r` - NEMA 6-20R - * `ieee802.11g` - IEEE 802.11b/g + * `nema-6-30r` - NEMA 6-30R - * `ieee802.11n` - IEEE 802.11n + * `nema-6-50r` - NEMA 6-50R - * `ieee802.11ac` - IEEE 802.11ac + * `nema-10-30r` - NEMA 10-30R - * `ieee802.11ad` - IEEE 802.11ad + * `nema-10-50r` - NEMA 10-50R - * `ieee802.11ax` - IEEE 802.11ax + * `nema-14-20r` - NEMA 14-20R - * `ieee802.11ay` - IEEE 802.11ay + * `nema-14-30r` - NEMA 14-30R - * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) + * `nema-14-50r` - NEMA 14-50R - * `other-wireless` - Other (Wireless) + * `nema-14-60r` - NEMA 14-60R - * `gsm` - GSM + * `nema-15-15r` - NEMA 15-15R - * `cdma` - CDMA + * `nema-15-20r` - NEMA 15-20R - * `lte` - LTE + * `nema-15-30r` - NEMA 15-30R - * `4g` - 4G + * `nema-15-50r` - NEMA 15-50R - * `5g` - 5G + * `nema-15-60r` - NEMA 15-60R - * `sonet-oc3` - OC-3/STM-1 + * `nema-l1-15r` - NEMA L1-15R - * `sonet-oc12` - OC-12/STM-4 + * `nema-l5-15r` - NEMA L5-15R - * `sonet-oc48` - OC-48/STM-16 + * `nema-l5-20r` - NEMA L5-20R - * `sonet-oc192` - OC-192/STM-64 + * `nema-l5-30r` - NEMA L5-30R - * `sonet-oc768` - OC-768/STM-256 + * `nema-l5-50r` - NEMA L5-50R - * `sonet-oc1920` - OC-1920/STM-640 + * `nema-l6-15r` - NEMA L6-15R - * `sonet-oc3840` - OC-3840/STM-1234 + * `nema-l6-20r` - NEMA L6-20R - * `1gfc-sfp` - SFP (1GFC) + * `nema-l6-30r` - NEMA L6-30R - * `2gfc-sfp` - SFP (2GFC) + * `nema-l6-50r` - NEMA L6-50R - * `4gfc-sfp` - SFP (4GFC) + * `nema-l10-30r` - NEMA L10-30R - * `8gfc-sfpp` - SFP+ (8GFC) + * `nema-l14-20r` - NEMA L14-20R - * `16gfc-sfpp` - SFP+ (16GFC) + * `nema-l14-30r` - NEMA L14-30R - * `32gfc-sfp28` - SFP28 (32GFC) + * `nema-l14-50r` - NEMA L14-50R - * `32gfc-sfpp` - SFP+ (32GFC) + * `nema-l14-60r` - NEMA L14-60R - * `64gfc-qsfpp` - QSFP+ (64GFC) + * `nema-l15-20r` - NEMA L15-20R - * `64gfc-sfpdd` - SFP-DD (64GFC) + * `nema-l15-30r` - NEMA L15-30R - * `64gfc-sfpp` - SFP+ (64GFC) + * `nema-l15-50r` - NEMA L15-50R - * `128gfc-qsfp28` - QSFP28 (128GFC) + * `nema-l15-60r` - NEMA L15-60R - * `infiniband-sdr` - SDR (2 Gbps) + * `nema-l21-20r` - NEMA L21-20R - * `infiniband-ddr` - DDR (4 Gbps) + * `nema-l21-30r` - NEMA L21-30R - * `infiniband-qdr` - QDR (8 Gbps) + * `nema-l22-20r` - NEMA L22-20R - * `infiniband-fdr10` - FDR10 (10 Gbps) + * `nema-l22-30r` - NEMA L22-30R - * `infiniband-fdr` - FDR (13.5 Gbps) + * `CS6360C` - CS6360C - * `infiniband-edr` - EDR (25 Gbps) + * `CS6364C` - CS6364C - * `infiniband-hdr` - HDR (50 Gbps) + * `CS8164C` - CS8164C - * `infiniband-ndr` - NDR (100 Gbps) + * `CS8264C` - CS8264C - * `infiniband-xdr` - XDR (250 Gbps) + * `CS8364C` - CS8364C - * `t1` - T1 (1.544 Mbps) + * `CS8464C` - CS8464C - * `e1` - E1 (2.048 Mbps) + * `ita-e` - ITA Type E (CEE 7/5) - * `t3` - T3 (45 Mbps) + * `ita-f` - ITA Type F (CEE 7/3) - * `e3` - E3 (34 Mbps) + * `ita-g` - ITA Type G (BS 1363) - * `xdsl` - xDSL + * `ita-h` - ITA Type H - * `docsis` - DOCSIS + * `ita-i` - ITA Type I - * `bpon` - BPON (622 Mbps / 155 Mbps) + * `ita-j` - ITA Type J - * `epon` - EPON (1 Gbps) + * `ita-k` - ITA Type K - * `10g-epon` - 10G-EPON (10 Gbps) + * `ita-l` - ITA Type L (CEI 23-50) - * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) + * `ita-m` - ITA Type M (BS 546) - * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) + * `ita-n` - ITA Type N - * `xgs-pon` - XGS-PON (10 Gbps) + * `ita-o` - ITA Type O - * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) + * `ita-multistandard` - ITA Multistandard - * `25g-pon` - 25G-PON (25 Gbps) + * `usb-a` - USB Type A - * `50g-pon` - 50G-PON (50 Gbps) + * `usb-micro-b` - USB Micro B - * `cisco-stackwise` - Cisco StackWise + * `usb-c` - USB Type C - * `cisco-stackwise-plus` - Cisco StackWise Plus + * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 - * `cisco-flexstack` - Cisco FlexStack + * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 - * `cisco-flexstack-plus` - Cisco FlexStack Plus + * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 - * `cisco-stackwise-80` - Cisco StackWise-80 + * `dc-terminal` - DC Terminal - * `cisco-stackwise-160` - Cisco StackWise-160 + * `eaton-c39` - Eaton C39 - * `cisco-stackwise-320` - Cisco StackWise-320 + * `hdot-cx` - HDOT Cx - * `cisco-stackwise-480` - Cisco StackWise-480 + * `saf-d-grid` - Saf-D-Grid - * `cisco-stackwise-1t` - Cisco StackWise-1T + * `neutrik-powercon-20a` - Neutrik powerCON (20A) - * `juniper-vcp` - Juniper VCP + * `neutrik-powercon-32a` - Neutrik powerCON (32A) - * `extreme-summitstack` - Extreme SummitStack + * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 - * `extreme-summitstack-128` - Extreme SummitStack-128 + * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP - * `extreme-summitstack-256` - Extreme SummitStack-256 + * `ubiquiti-smartpower` - Ubiquiti SmartPower - * `extreme-summitstack-512` - Extreme SummitStack-512 + * `hardwired` - Hardwired * `other` - Other' - x-spec-enum-id: b9a351ea129ed754 - enabled: - type: boolean - parent: - type: integer - nullable: true - title: Parent interface - bridge: - type: integer - nullable: true - title: Bridge interface - lag: - type: integer - nullable: true - title: Parent LAG - mtu: - type: integer - maximum: 65536 - minimum: 1 - nullable: true - mac_address: - type: string - nullable: true - speed: - type: integer - maximum: 2147483647 - minimum: 0 + x-spec-enum-id: f8c08053f2db8830 + power_port: + allOf: + - $ref: '#/components/schemas/BriefPowerPortTemplateRequest' nullable: true - title: Speed (Kbps) - duplex: + feed_leg: enum: - - half - - full - - auto + - A + - B + - C - '' type: string - description: '* `half` - Half + x-spec-enum-id: a4902339df0b7c06 + description: 'Phase (for three-phase feeds) - * `full` - Full - * `auto` - Auto' - x-spec-enum-id: 47eab9b1a65a1e21 - nullable: true - wwn: - type: string - nullable: true - mgmt_only: - type: boolean - title: Management only - description: This interface is used only for out-of-band management + * `A` - A + + * `B` - B + + * `C` - C' description: type: string maxLength: 200 - mode: - enum: - - access - - tagged - - tagged-all - - '' + PatchedWritablePowerPortRequest: + type: object + description: Adds support for custom fields and tags. + properties: + device: + $ref: '#/components/schemas/BriefDeviceRequest' + module: + allOf: + - $ref: '#/components/schemas/BriefModuleRequest' + nullable: true + name: type: string - x-spec-enum-id: 79109bd9dbb73a3c - description: 'IEEE 802.1Q tagging strategy - - - * `access` - Access - - * `tagged` - Tagged - - * `tagged-all` - Tagged (All)' - rf_role: - enum: - - ap - - station - - '' + minLength: 1 + maxLength: 64 + label: type: string - description: '* `ap` - Access point - - * `station` - Station' - x-spec-enum-id: d2772dbea88b0fb1 - title: Wireless role - rf_channel: + description: Physical label + maxLength: 64 + type: enum: - - 2.4g-1-2412-22 - - 2.4g-2-2417-22 - - 2.4g-3-2422-22 - - 2.4g-4-2427-22 - - 2.4g-5-2432-22 - - 2.4g-6-2437-22 - - 2.4g-7-2442-22 - - 2.4g-8-2447-22 - - 2.4g-9-2452-22 - - 2.4g-10-2457-22 - - 2.4g-11-2462-22 - - 2.4g-12-2467-22 - - 2.4g-13-2472-22 - - 5g-32-5160-20 - - 5g-34-5170-40 - - 5g-36-5180-20 - - 5g-38-5190-40 - - 5g-40-5200-20 - - 5g-42-5210-80 - - 5g-44-5220-20 - - 5g-46-5230-40 - - 5g-48-5240-20 - - 5g-50-5250-160 - - 5g-52-5260-20 - - 5g-54-5270-40 - - 5g-56-5280-20 - - 5g-58-5290-80 - - 5g-60-5300-20 - - 5g-62-5310-40 - - 5g-64-5320-20 - - 5g-100-5500-20 - - 5g-102-5510-40 - - 5g-104-5520-20 - - 5g-106-5530-80 - - 5g-108-5540-20 - - 5g-110-5550-40 - - 5g-112-5560-20 - - 5g-114-5570-160 - - 5g-116-5580-20 - - 5g-118-5590-40 - - 5g-120-5600-20 - - 5g-122-5610-80 - - 5g-124-5620-20 - - 5g-126-5630-40 - - 5g-128-5640-20 - - 5g-132-5660-20 - - 5g-134-5670-40 - - 5g-136-5680-20 - - 5g-138-5690-80 - - 5g-140-5700-20 - - 5g-142-5710-40 - - 5g-144-5720-20 - - 5g-149-5745-20 - - 5g-151-5755-40 - - 5g-153-5765-20 - - 5g-155-5775-80 - - 5g-157-5785-20 - - 5g-159-5795-40 - - 5g-161-5805-20 - - 5g-163-5815-160 - - 5g-165-5825-20 - - 5g-167-5835-40 - - 5g-169-5845-20 - - 5g-171-5855-80 - - 5g-173-5865-20 - - 5g-175-5875-40 - - 5g-177-5885-20 - - 6g-1-5955-20 - - 6g-3-5965-40 - - 6g-5-5975-20 - - 6g-7-5985-80 - - 6g-9-5995-20 - - 6g-11-6005-40 - - 6g-13-6015-20 - - 6g-15-6025-160 - - 6g-17-6035-20 - - 6g-19-6045-40 - - 6g-21-6055-20 - - 6g-23-6065-80 - - 6g-25-6075-20 - - 6g-27-6085-40 - - 6g-29-6095-20 - - 6g-31-6105-320 - - 6g-33-6115-20 - - 6g-35-6125-40 - - 6g-37-6135-20 - - 6g-39-6145-80 - - 6g-41-6155-20 - - 6g-43-6165-40 - - 6g-45-6175-20 - - 6g-47-6185-160 - - 6g-49-6195-20 - - 6g-51-6205-40 - - 6g-53-6215-20 - - 6g-55-6225-80 - - 6g-57-6235-20 - - 6g-59-6245-40 - - 6g-61-6255-20 - - 6g-65-6275-20 - - 6g-67-6285-40 - - 6g-69-6295-20 - - 6g-71-6305-80 - - 6g-73-6315-20 - - 6g-75-6325-40 - - 6g-77-6335-20 - - 6g-79-6345-160 - - 6g-81-6355-20 - - 6g-83-6365-40 - - 6g-85-6375-20 - - 6g-87-6385-80 - - 6g-89-6395-20 - - 6g-91-6405-40 - - 6g-93-6415-20 - - 6g-95-6425-320 - - 6g-97-6435-20 - - 6g-99-6445-40 - - 6g-101-6455-20 - - 6g-103-6465-80 - - 6g-105-6475-20 - - 6g-107-6485-40 - - 6g-109-6495-20 - - 6g-111-6505-160 - - 6g-113-6515-20 - - 6g-115-6525-40 - - 6g-117-6535-20 - - 6g-119-6545-80 - - 6g-121-6555-20 - - 6g-123-6565-40 - - 6g-125-6575-20 - - 6g-129-6595-20 - - 6g-131-6605-40 - - 6g-133-6615-20 - - 6g-135-6625-80 - - 6g-137-6635-20 - - 6g-139-6645-40 - - 6g-141-6655-20 - - 6g-143-6665-160 - - 6g-145-6675-20 - - 6g-147-6685-40 - - 6g-149-6695-20 - - 6g-151-6705-80 - - 6g-153-6715-20 - - 6g-155-6725-40 - - 6g-157-6735-20 - - 6g-159-6745-320 - - 6g-161-6755-20 - - 6g-163-6765-40 - - 6g-165-6775-20 - - 6g-167-6785-80 - - 6g-169-6795-20 - - 6g-171-6805-40 - - 6g-173-6815-20 - - 6g-175-6825-160 - - 6g-177-6835-20 - - 6g-179-6845-40 - - 6g-181-6855-20 - - 6g-183-6865-80 - - 6g-185-6875-20 - - 6g-187-6885-40 - - 6g-189-6895-20 - - 6g-193-6915-20 - - 6g-195-6925-40 - - 6g-197-6935-20 - - 6g-199-6945-80 - - 6g-201-6955-20 - - 6g-203-6965-40 - - 6g-205-6975-20 - - 6g-207-6985-160 - - 6g-209-6995-20 - - 6g-211-7005-40 - - 6g-213-7015-20 - - 6g-215-7025-80 - - 6g-217-7035-20 - - 6g-219-7045-40 - - 6g-221-7055-20 - - 6g-225-7075-20 - - 6g-227-7085-40 - - 6g-229-7095-20 - - 6g-233-7115-20 - - 60g-1-58320-2160 - - 60g-2-60480-2160 - - 60g-3-62640-2160 - - 60g-4-64800-2160 - - 60g-5-66960-2160 - - 60g-6-69120-2160 - - 60g-9-59400-4320 - - 60g-10-61560-4320 - - 60g-11-63720-4320 - - 60g-12-65880-4320 - - 60g-13-68040-4320 - - 60g-17-60480-6480 - - 60g-18-62640-6480 - - 60g-19-64800-6480 - - 60g-20-66960-6480 - - 60g-25-61560-6480 - - 60g-26-63720-6480 - - 60g-27-65880-6480 + - 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-20p + - 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 + - molex-micro-fit-1x2 + - molex-micro-fit-2x2 + - molex-micro-fit-2x4 + - dc-terminal + - saf-d-grid + - neutrik-powercon-20 + - neutrik-powercon-32 + - neutrik-powercon-true1 + - neutrik-powercon-true1-top + - ubiquiti-smartpower + - hardwired + - other - '' type: string - description: '* `2.4g-1-2412-22` - 1 (2412 MHz) + x-spec-enum-id: f1bd4aedff3a591b + description: 'Physical port type - * `2.4g-2-2417-22` - 2 (2417 MHz) - * `2.4g-3-2422-22` - 3 (2422 MHz) + * `iec-60320-c6` - C6 - * `2.4g-4-2427-22` - 4 (2427 MHz) + * `iec-60320-c8` - C8 - * `2.4g-5-2432-22` - 5 (2432 MHz) + * `iec-60320-c14` - C14 - * `2.4g-6-2437-22` - 6 (2437 MHz) + * `iec-60320-c16` - C16 - * `2.4g-7-2442-22` - 7 (2442 MHz) + * `iec-60320-c20` - C20 - * `2.4g-8-2447-22` - 8 (2447 MHz) + * `iec-60320-c22` - C22 - * `2.4g-9-2452-22` - 9 (2452 MHz) + * `iec-60309-p-n-e-4h` - P+N+E 4H - * `2.4g-10-2457-22` - 10 (2457 MHz) + * `iec-60309-p-n-e-6h` - P+N+E 6H - * `2.4g-11-2462-22` - 11 (2462 MHz) + * `iec-60309-p-n-e-9h` - P+N+E 9H - * `2.4g-12-2467-22` - 12 (2467 MHz) + * `iec-60309-2p-e-4h` - 2P+E 4H - * `2.4g-13-2472-22` - 13 (2472 MHz) + * `iec-60309-2p-e-6h` - 2P+E 6H - * `5g-32-5160-20` - 32 (5160/20 MHz) + * `iec-60309-2p-e-9h` - 2P+E 9H - * `5g-34-5170-40` - 34 (5170/40 MHz) + * `iec-60309-3p-e-4h` - 3P+E 4H - * `5g-36-5180-20` - 36 (5180/20 MHz) + * `iec-60309-3p-e-6h` - 3P+E 6H - * `5g-38-5190-40` - 38 (5190/40 MHz) + * `iec-60309-3p-e-9h` - 3P+E 9H - * `5g-40-5200-20` - 40 (5200/20 MHz) + * `iec-60309-3p-n-e-4h` - 3P+N+E 4H - * `5g-42-5210-80` - 42 (5210/80 MHz) + * `iec-60309-3p-n-e-6h` - 3P+N+E 6H - * `5g-44-5220-20` - 44 (5220/20 MHz) + * `iec-60309-3p-n-e-9h` - 3P+N+E 9H - * `5g-46-5230-40` - 46 (5230/40 MHz) + * `iec-60906-1` - IEC 60906-1 - * `5g-48-5240-20` - 48 (5240/20 MHz) + * `nbr-14136-10a` - 2P+T 10A (NBR 14136) - * `5g-50-5250-160` - 50 (5250/160 MHz) + * `nbr-14136-20a` - 2P+T 20A (NBR 14136) - * `5g-52-5260-20` - 52 (5260/20 MHz) + * `nema-1-15p` - NEMA 1-15P - * `5g-54-5270-40` - 54 (5270/40 MHz) + * `nema-5-15p` - NEMA 5-15P - * `5g-56-5280-20` - 56 (5280/20 MHz) + * `nema-5-20p` - NEMA 5-20P - * `5g-58-5290-80` - 58 (5290/80 MHz) + * `nema-5-30p` - NEMA 5-30P - * `5g-60-5300-20` - 60 (5300/20 MHz) + * `nema-5-50p` - NEMA 5-50P - * `5g-62-5310-40` - 62 (5310/40 MHz) + * `nema-6-15p` - NEMA 6-15P - * `5g-64-5320-20` - 64 (5320/20 MHz) + * `nema-6-20p` - NEMA 6-20P - * `5g-100-5500-20` - 100 (5500/20 MHz) + * `nema-6-30p` - NEMA 6-30P - * `5g-102-5510-40` - 102 (5510/40 MHz) + * `nema-6-50p` - NEMA 6-50P - * `5g-104-5520-20` - 104 (5520/20 MHz) + * `nema-10-30p` - NEMA 10-30P - * `5g-106-5530-80` - 106 (5530/80 MHz) + * `nema-10-50p` - NEMA 10-50P - * `5g-108-5540-20` - 108 (5540/20 MHz) + * `nema-14-20p` - NEMA 14-20P - * `5g-110-5550-40` - 110 (5550/40 MHz) + * `nema-14-30p` - NEMA 14-30P - * `5g-112-5560-20` - 112 (5560/20 MHz) + * `nema-14-50p` - NEMA 14-50P - * `5g-114-5570-160` - 114 (5570/160 MHz) + * `nema-14-60p` - NEMA 14-60P - * `5g-116-5580-20` - 116 (5580/20 MHz) + * `nema-15-15p` - NEMA 15-15P - * `5g-118-5590-40` - 118 (5590/40 MHz) + * `nema-15-20p` - NEMA 15-20P - * `5g-120-5600-20` - 120 (5600/20 MHz) + * `nema-15-30p` - NEMA 15-30P - * `5g-122-5610-80` - 122 (5610/80 MHz) + * `nema-15-50p` - NEMA 15-50P - * `5g-124-5620-20` - 124 (5620/20 MHz) + * `nema-15-60p` - NEMA 15-60P - * `5g-126-5630-40` - 126 (5630/40 MHz) + * `nema-l1-15p` - NEMA L1-15P - * `5g-128-5640-20` - 128 (5640/20 MHz) + * `nema-l5-15p` - NEMA L5-15P - * `5g-132-5660-20` - 132 (5660/20 MHz) + * `nema-l5-20p` - NEMA L5-20P - * `5g-134-5670-40` - 134 (5670/40 MHz) + * `nema-l5-30p` - NEMA L5-30P - * `5g-136-5680-20` - 136 (5680/20 MHz) + * `nema-l5-50p` - NEMA L5-50P - * `5g-138-5690-80` - 138 (5690/80 MHz) + * `nema-l6-15p` - NEMA L6-15P - * `5g-140-5700-20` - 140 (5700/20 MHz) + * `nema-l6-20p` - NEMA L6-20P - * `5g-142-5710-40` - 142 (5710/40 MHz) + * `nema-l6-30p` - NEMA L6-30P - * `5g-144-5720-20` - 144 (5720/20 MHz) + * `nema-l6-50p` - NEMA L6-50P - * `5g-149-5745-20` - 149 (5745/20 MHz) + * `nema-l10-30p` - NEMA L10-30P - * `5g-151-5755-40` - 151 (5755/40 MHz) + * `nema-l14-20p` - NEMA L14-20P - * `5g-153-5765-20` - 153 (5765/20 MHz) + * `nema-l14-30p` - NEMA L14-30P - * `5g-155-5775-80` - 155 (5775/80 MHz) + * `nema-l14-50p` - NEMA L14-50P - * `5g-157-5785-20` - 157 (5785/20 MHz) + * `nema-l14-60p` - NEMA L14-60P - * `5g-159-5795-40` - 159 (5795/40 MHz) + * `nema-l15-20p` - NEMA L15-20P - * `5g-161-5805-20` - 161 (5805/20 MHz) + * `nema-l15-30p` - NEMA L15-30P - * `5g-163-5815-160` - 163 (5815/160 MHz) + * `nema-l15-50p` - NEMA L15-50P - * `5g-165-5825-20` - 165 (5825/20 MHz) + * `nema-l15-60p` - NEMA L15-60P - * `5g-167-5835-40` - 167 (5835/40 MHz) + * `nema-l21-20p` - NEMA L21-20P - * `5g-169-5845-20` - 169 (5845/20 MHz) + * `nema-l21-30p` - NEMA L21-30P - * `5g-171-5855-80` - 171 (5855/80 MHz) + * `nema-l22-20p` - NEMA L22-20P - * `5g-173-5865-20` - 173 (5865/20 MHz) + * `nema-l22-30p` - NEMA L22-30P - * `5g-175-5875-40` - 175 (5875/40 MHz) + * `cs6361c` - CS6361C - * `5g-177-5885-20` - 177 (5885/20 MHz) + * `cs6365c` - CS6365C - * `6g-1-5955-20` - 1 (5955/20 MHz) + * `cs8165c` - CS8165C - * `6g-3-5965-40` - 3 (5965/40 MHz) + * `cs8265c` - CS8265C - * `6g-5-5975-20` - 5 (5975/20 MHz) + * `cs8365c` - CS8365C - * `6g-7-5985-80` - 7 (5985/80 MHz) + * `cs8465c` - CS8465C - * `6g-9-5995-20` - 9 (5995/20 MHz) + * `ita-c` - ITA Type C (CEE 7/16) - * `6g-11-6005-40` - 11 (6005/40 MHz) + * `ita-e` - ITA Type E (CEE 7/6) - * `6g-13-6015-20` - 13 (6015/20 MHz) + * `ita-f` - ITA Type F (CEE 7/4) - * `6g-15-6025-160` - 15 (6025/160 MHz) + * `ita-ef` - ITA Type E/F (CEE 7/7) - * `6g-17-6035-20` - 17 (6035/20 MHz) + * `ita-g` - ITA Type G (BS 1363) - * `6g-19-6045-40` - 19 (6045/40 MHz) + * `ita-h` - ITA Type H - * `6g-21-6055-20` - 21 (6055/20 MHz) + * `ita-i` - ITA Type I - * `6g-23-6065-80` - 23 (6065/80 MHz) + * `ita-j` - ITA Type J - * `6g-25-6075-20` - 25 (6075/20 MHz) + * `ita-k` - ITA Type K - * `6g-27-6085-40` - 27 (6085/40 MHz) + * `ita-l` - ITA Type L (CEI 23-50) - * `6g-29-6095-20` - 29 (6095/20 MHz) + * `ita-m` - ITA Type M (BS 546) - * `6g-31-6105-320` - 31 (6105/320 MHz) + * `ita-n` - ITA Type N - * `6g-33-6115-20` - 33 (6115/20 MHz) + * `ita-o` - ITA Type O - * `6g-35-6125-40` - 35 (6125/40 MHz) + * `usb-a` - USB Type A - * `6g-37-6135-20` - 37 (6135/20 MHz) + * `usb-b` - USB Type B - * `6g-39-6145-80` - 39 (6145/80 MHz) + * `usb-c` - USB Type C - * `6g-41-6155-20` - 41 (6155/20 MHz) + * `usb-mini-a` - USB Mini A - * `6g-43-6165-40` - 43 (6165/40 MHz) + * `usb-mini-b` - USB Mini B - * `6g-45-6175-20` - 45 (6175/20 MHz) + * `usb-micro-a` - USB Micro A - * `6g-47-6185-160` - 47 (6185/160 MHz) + * `usb-micro-b` - USB Micro B - * `6g-49-6195-20` - 49 (6195/20 MHz) + * `usb-micro-ab` - USB Micro AB - * `6g-51-6205-40` - 51 (6205/40 MHz) + * `usb-3-b` - USB 3.0 Type B - * `6g-53-6215-20` - 53 (6215/20 MHz) + * `usb-3-micro-b` - USB 3.0 Micro B - * `6g-55-6225-80` - 55 (6225/80 MHz) + * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 - * `6g-57-6235-20` - 57 (6235/20 MHz) + * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 - * `6g-59-6245-40` - 59 (6245/40 MHz) + * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 - * `6g-61-6255-20` - 61 (6255/20 MHz) + * `dc-terminal` - DC Terminal - * `6g-65-6275-20` - 65 (6275/20 MHz) + * `saf-d-grid` - Saf-D-Grid - * `6g-67-6285-40` - 67 (6285/40 MHz) + * `neutrik-powercon-20` - Neutrik powerCON (20A) - * `6g-69-6295-20` - 69 (6295/20 MHz) + * `neutrik-powercon-32` - Neutrik powerCON (32A) - * `6g-71-6305-80` - 71 (6305/80 MHz) + * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 - * `6g-73-6315-20` - 73 (6315/20 MHz) + * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP - * `6g-75-6325-40` - 75 (6325/40 MHz) + * `ubiquiti-smartpower` - Ubiquiti SmartPower - * `6g-77-6335-20` - 77 (6335/20 MHz) + * `hardwired` - Hardwired - * `6g-79-6345-160` - 79 (6345/160 MHz) + * `other` - Other' + maximum_draw: + type: integer + maximum: 2147483647 + minimum: 1 + nullable: true + description: Maximum power draw (watts) + allocated_draw: + type: integer + maximum: 2147483647 + minimum: 1 + nullable: true + description: Allocated power draw (watts) + description: + type: string + maxLength: 200 + mark_connected: + type: boolean + description: Treat as if a cable is connected + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} + PatchedWritablePowerPortTemplateRequest: + type: object + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during - * `6g-81-6355-20` - 81 (6355/20 MHz) + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + device_type: + allOf: + - $ref: '#/components/schemas/BriefDeviceTypeRequest' + nullable: true + module_type: + allOf: + - $ref: '#/components/schemas/BriefModuleTypeRequest' + nullable: true + name: + type: string + minLength: 1 + description: '{module} is accepted as a substitution for the module bay + position when attached to a module type.' + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + type: + 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-20p + - 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 + - molex-micro-fit-1x2 + - molex-micro-fit-2x2 + - molex-micro-fit-2x4 + - dc-terminal + - saf-d-grid + - neutrik-powercon-20 + - neutrik-powercon-32 + - neutrik-powercon-true1 + - neutrik-powercon-true1-top + - ubiquiti-smartpower + - hardwired + - other + - '' + type: string + description: '* `iec-60320-c6` - C6 - * `6g-83-6365-40` - 83 (6365/40 MHz) + * `iec-60320-c8` - C8 - * `6g-85-6375-20` - 85 (6375/20 MHz) + * `iec-60320-c14` - C14 - * `6g-87-6385-80` - 87 (6385/80 MHz) + * `iec-60320-c16` - C16 - * `6g-89-6395-20` - 89 (6395/20 MHz) + * `iec-60320-c20` - C20 - * `6g-91-6405-40` - 91 (6405/40 MHz) + * `iec-60320-c22` - C22 - * `6g-93-6415-20` - 93 (6415/20 MHz) + * `iec-60309-p-n-e-4h` - P+N+E 4H - * `6g-95-6425-320` - 95 (6425/320 MHz) + * `iec-60309-p-n-e-6h` - P+N+E 6H - * `6g-97-6435-20` - 97 (6435/20 MHz) + * `iec-60309-p-n-e-9h` - P+N+E 9H - * `6g-99-6445-40` - 99 (6445/40 MHz) + * `iec-60309-2p-e-4h` - 2P+E 4H - * `6g-101-6455-20` - 101 (6455/20 MHz) + * `iec-60309-2p-e-6h` - 2P+E 6H - * `6g-103-6465-80` - 103 (6465/80 MHz) + * `iec-60309-2p-e-9h` - 2P+E 9H - * `6g-105-6475-20` - 105 (6475/20 MHz) + * `iec-60309-3p-e-4h` - 3P+E 4H - * `6g-107-6485-40` - 107 (6485/40 MHz) + * `iec-60309-3p-e-6h` - 3P+E 6H - * `6g-109-6495-20` - 109 (6495/20 MHz) + * `iec-60309-3p-e-9h` - 3P+E 9H - * `6g-111-6505-160` - 111 (6505/160 MHz) + * `iec-60309-3p-n-e-4h` - 3P+N+E 4H - * `6g-113-6515-20` - 113 (6515/20 MHz) + * `iec-60309-3p-n-e-6h` - 3P+N+E 6H - * `6g-115-6525-40` - 115 (6525/40 MHz) + * `iec-60309-3p-n-e-9h` - 3P+N+E 9H - * `6g-117-6535-20` - 117 (6535/20 MHz) + * `iec-60906-1` - IEC 60906-1 - * `6g-119-6545-80` - 119 (6545/80 MHz) + * `nbr-14136-10a` - 2P+T 10A (NBR 14136) - * `6g-121-6555-20` - 121 (6555/20 MHz) + * `nbr-14136-20a` - 2P+T 20A (NBR 14136) - * `6g-123-6565-40` - 123 (6565/40 MHz) + * `nema-1-15p` - NEMA 1-15P - * `6g-125-6575-20` - 125 (6575/20 MHz) + * `nema-5-15p` - NEMA 5-15P - * `6g-129-6595-20` - 129 (6595/20 MHz) + * `nema-5-20p` - NEMA 5-20P - * `6g-131-6605-40` - 131 (6605/40 MHz) + * `nema-5-30p` - NEMA 5-30P - * `6g-133-6615-20` - 133 (6615/20 MHz) + * `nema-5-50p` - NEMA 5-50P - * `6g-135-6625-80` - 135 (6625/80 MHz) + * `nema-6-15p` - NEMA 6-15P - * `6g-137-6635-20` - 137 (6635/20 MHz) + * `nema-6-20p` - NEMA 6-20P - * `6g-139-6645-40` - 139 (6645/40 MHz) + * `nema-6-30p` - NEMA 6-30P - * `6g-141-6655-20` - 141 (6655/20 MHz) + * `nema-6-50p` - NEMA 6-50P - * `6g-143-6665-160` - 143 (6665/160 MHz) + * `nema-10-30p` - NEMA 10-30P - * `6g-145-6675-20` - 145 (6675/20 MHz) + * `nema-10-50p` - NEMA 10-50P - * `6g-147-6685-40` - 147 (6685/40 MHz) + * `nema-14-20p` - NEMA 14-20P - * `6g-149-6695-20` - 149 (6695/20 MHz) + * `nema-14-30p` - NEMA 14-30P - * `6g-151-6705-80` - 151 (6705/80 MHz) + * `nema-14-50p` - NEMA 14-50P - * `6g-153-6715-20` - 153 (6715/20 MHz) + * `nema-14-60p` - NEMA 14-60P - * `6g-155-6725-40` - 155 (6725/40 MHz) + * `nema-15-15p` - NEMA 15-15P - * `6g-157-6735-20` - 157 (6735/20 MHz) + * `nema-15-20p` - NEMA 15-20P - * `6g-159-6745-320` - 159 (6745/320 MHz) + * `nema-15-30p` - NEMA 15-30P - * `6g-161-6755-20` - 161 (6755/20 MHz) + * `nema-15-50p` - NEMA 15-50P - * `6g-163-6765-40` - 163 (6765/40 MHz) + * `nema-15-60p` - NEMA 15-60P - * `6g-165-6775-20` - 165 (6775/20 MHz) + * `nema-l1-15p` - NEMA L1-15P - * `6g-167-6785-80` - 167 (6785/80 MHz) + * `nema-l5-15p` - NEMA L5-15P - * `6g-169-6795-20` - 169 (6795/20 MHz) + * `nema-l5-20p` - NEMA L5-20P - * `6g-171-6805-40` - 171 (6805/40 MHz) + * `nema-l5-30p` - NEMA L5-30P - * `6g-173-6815-20` - 173 (6815/20 MHz) + * `nema-l5-50p` - NEMA L5-50P - * `6g-175-6825-160` - 175 (6825/160 MHz) + * `nema-l6-15p` - NEMA L6-15P - * `6g-177-6835-20` - 177 (6835/20 MHz) + * `nema-l6-20p` - NEMA L6-20P - * `6g-179-6845-40` - 179 (6845/40 MHz) + * `nema-l6-30p` - NEMA L6-30P - * `6g-181-6855-20` - 181 (6855/20 MHz) + * `nema-l6-50p` - NEMA L6-50P - * `6g-183-6865-80` - 183 (6865/80 MHz) + * `nema-l10-30p` - NEMA L10-30P - * `6g-185-6875-20` - 185 (6875/20 MHz) + * `nema-l14-20p` - NEMA L14-20P - * `6g-187-6885-40` - 187 (6885/40 MHz) + * `nema-l14-30p` - NEMA L14-30P - * `6g-189-6895-20` - 189 (6895/20 MHz) + * `nema-l14-50p` - NEMA L14-50P - * `6g-193-6915-20` - 193 (6915/20 MHz) + * `nema-l14-60p` - NEMA L14-60P - * `6g-195-6925-40` - 195 (6925/40 MHz) + * `nema-l15-20p` - NEMA L15-20P - * `6g-197-6935-20` - 197 (6935/20 MHz) + * `nema-l15-30p` - NEMA L15-30P - * `6g-199-6945-80` - 199 (6945/80 MHz) + * `nema-l15-50p` - NEMA L15-50P - * `6g-201-6955-20` - 201 (6955/20 MHz) + * `nema-l15-60p` - NEMA L15-60P - * `6g-203-6965-40` - 203 (6965/40 MHz) + * `nema-l21-20p` - NEMA L21-20P - * `6g-205-6975-20` - 205 (6975/20 MHz) + * `nema-l21-30p` - NEMA L21-30P - * `6g-207-6985-160` - 207 (6985/160 MHz) + * `nema-l22-20p` - NEMA L22-20P - * `6g-209-6995-20` - 209 (6995/20 MHz) + * `nema-l22-30p` - NEMA L22-30P - * `6g-211-7005-40` - 211 (7005/40 MHz) + * `cs6361c` - CS6361C - * `6g-213-7015-20` - 213 (7015/20 MHz) + * `cs6365c` - CS6365C - * `6g-215-7025-80` - 215 (7025/80 MHz) + * `cs8165c` - CS8165C - * `6g-217-7035-20` - 217 (7035/20 MHz) + * `cs8265c` - CS8265C - * `6g-219-7045-40` - 219 (7045/40 MHz) + * `cs8365c` - CS8365C - * `6g-221-7055-20` - 221 (7055/20 MHz) + * `cs8465c` - CS8465C - * `6g-225-7075-20` - 225 (7075/20 MHz) + * `ita-c` - ITA Type C (CEE 7/16) - * `6g-227-7085-40` - 227 (7085/40 MHz) + * `ita-e` - ITA Type E (CEE 7/6) - * `6g-229-7095-20` - 229 (7095/20 MHz) + * `ita-f` - ITA Type F (CEE 7/4) - * `6g-233-7115-20` - 233 (7115/20 MHz) + * `ita-ef` - ITA Type E/F (CEE 7/7) - * `60g-1-58320-2160` - 1 (58.32/2.16 GHz) + * `ita-g` - ITA Type G (BS 1363) - * `60g-2-60480-2160` - 2 (60.48/2.16 GHz) + * `ita-h` - ITA Type H - * `60g-3-62640-2160` - 3 (62.64/2.16 GHz) + * `ita-i` - ITA Type I - * `60g-4-64800-2160` - 4 (64.80/2.16 GHz) + * `ita-j` - ITA Type J - * `60g-5-66960-2160` - 5 (66.96/2.16 GHz) + * `ita-k` - ITA Type K - * `60g-6-69120-2160` - 6 (69.12/2.16 GHz) + * `ita-l` - ITA Type L (CEI 23-50) - * `60g-9-59400-4320` - 9 (59.40/4.32 GHz) + * `ita-m` - ITA Type M (BS 546) - * `60g-10-61560-4320` - 10 (61.56/4.32 GHz) + * `ita-n` - ITA Type N - * `60g-11-63720-4320` - 11 (63.72/4.32 GHz) + * `ita-o` - ITA Type O - * `60g-12-65880-4320` - 12 (65.88/4.32 GHz) + * `usb-a` - USB Type A - * `60g-13-68040-4320` - 13 (68.04/4.32 GHz) + * `usb-b` - USB Type B - * `60g-17-60480-6480` - 17 (60.48/6.48 GHz) + * `usb-c` - USB Type C - * `60g-18-62640-6480` - 18 (62.64/6.48 GHz) + * `usb-mini-a` - USB Mini A - * `60g-19-64800-6480` - 19 (64.80/6.48 GHz) + * `usb-mini-b` - USB Mini B - * `60g-20-66960-6480` - 20 (66.96/6.48 GHz) + * `usb-micro-a` - USB Micro A - * `60g-25-61560-6480` - 25 (61.56/8.64 GHz) + * `usb-micro-b` - USB Micro B - * `60g-26-63720-6480` - 26 (63.72/8.64 GHz) + * `usb-micro-ab` - USB Micro AB - * `60g-27-65880-6480` - 27 (65.88/8.64 GHz)' - x-spec-enum-id: aac33cc237adc8f9 - title: Wireless channel - poe_mode: + * `usb-3-b` - USB 3.0 Type B + + * `usb-3-micro-b` - USB 3.0 Micro B + + * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 + + * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 + + * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 + + * `dc-terminal` - DC Terminal + + * `saf-d-grid` - Saf-D-Grid + + * `neutrik-powercon-20` - Neutrik powerCON (20A) + + * `neutrik-powercon-32` - Neutrik powerCON (32A) + + * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 + + * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP + + * `ubiquiti-smartpower` - Ubiquiti SmartPower + + * `hardwired` - Hardwired + + * `other` - Other' + x-spec-enum-id: f1bd4aedff3a591b + maximum_draw: + type: integer + maximum: 2147483647 + minimum: 1 + nullable: true + description: Maximum power draw (watts) + allocated_draw: + type: integer + maximum: 2147483647 + minimum: 1 + nullable: true + description: Allocated power draw (watts) + description: + type: string + maxLength: 200 + PatchedWritablePrefixRequest: + type: object + description: Adds support for custom fields and tags. + properties: + prefix: + type: string + minLength: 1 + site: + allOf: + - $ref: '#/components/schemas/BriefSiteRequest' + nullable: true + vrf: + allOf: + - $ref: '#/components/schemas/BriefVRFRequest' + nullable: true + tenant: + allOf: + - $ref: '#/components/schemas/BriefTenantRequest' + nullable: true + vlan: + allOf: + - $ref: '#/components/schemas/BriefVLANRequest' + nullable: true + status: enum: - - pd - - pse - - '' + - container + - active + - reserved + - deprecated type: string - description: '* `pd` - PD + x-spec-enum-id: d38bee5f512701d9 + description: 'Operational status of this prefix - * `pse` - PSE' - x-spec-enum-id: 2f2fe6dcdc7772bd - poe_type: + + * `container` - Container + + * `active` - Active + + * `reserved` - Reserved + + * `deprecated` - Deprecated' + role: + allOf: + - $ref: '#/components/schemas/BriefRoleRequest' + nullable: true + is_pool: + type: boolean + title: Is a pool + description: All IP addresses within this prefix are considered usable + mark_utilized: + type: boolean + description: Treat as fully utilized + description: + type: string + maxLength: 200 + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} + PatchedWritableRackRequest: + type: object + description: Adds support for custom fields and tags. + properties: + name: + type: string + minLength: 1 + maxLength: 100 + facility_id: + type: string + nullable: true + maxLength: 50 + site: + $ref: '#/components/schemas/BriefSiteRequest' + location: + allOf: + - $ref: '#/components/schemas/BriefLocationRequest' + nullable: true + tenant: + allOf: + - $ref: '#/components/schemas/BriefTenantRequest' + nullable: true + status: enum: - - type1-ieee802.3af - - type2-ieee802.3at - - type3-ieee802.3bt - - type4-ieee802.3bt - - passive-24v-2pair - - passive-24v-4pair - - passive-48v-2pair - - passive-48v-4pair + - reserved + - available + - planned + - active + - deprecated + type: string + description: '* `reserved` - Reserved + + * `available` - Available + + * `planned` - Planned + + * `active` - Active + + * `deprecated` - Deprecated' + x-spec-enum-id: 0c556d55dc1baa13 + role: + allOf: + - $ref: '#/components/schemas/BriefRackRoleRequest' + nullable: true + serial: + type: string + title: Serial number + maxLength: 50 + asset_tag: + type: string + nullable: true + description: A unique tag used to identify this rack + maxLength: 50 + rack_type: + allOf: + - $ref: '#/components/schemas/BriefRackTypeRequest' + nullable: true + form_factor: + enum: + - 2-post-frame + - 4-post-frame + - 4-post-cabinet + - wall-frame + - wall-frame-vertical + - wall-cabinet + - wall-cabinet-vertical - '' type: string - description: '* `type1-ieee802.3af` - 802.3af (Type 1) + description: '* `2-post-frame` - 2-post frame - * `type2-ieee802.3at` - 802.3at (Type 2) + * `4-post-frame` - 4-post frame - * `type3-ieee802.3bt` - 802.3bt (Type 3) + * `4-post-cabinet` - 4-post cabinet - * `type4-ieee802.3bt` - 802.3bt (Type 4) + * `wall-frame` - Wall-mounted frame - * `passive-24v-2pair` - Passive 24V (2-pair) + * `wall-frame-vertical` - Wall-mounted frame (vertical) - * `passive-24v-4pair` - Passive 24V (4-pair) + * `wall-cabinet` - Wall-mounted cabinet - * `passive-48v-2pair` - Passive 48V (2-pair) + * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical)' + x-spec-enum-id: e32aaa89a223f2ea + width: + enum: + - 10 + - 19 + - 21 + - 23 + type: integer + x-spec-enum-id: 9b322795f297a9c3 + description: 'Rail-to-rail width - * `passive-48v-4pair` - Passive 48V (4-pair)' - x-spec-enum-id: 74bd3be4012f6da9 - rf_channel_frequency: + + * `10` - 10 inches + + * `19` - 19 inches + + * `21` - 21 inches + + * `23` - 23 inches' + minimum: 0 + maximum: 32767 + u_height: + type: integer + maximum: 100 + minimum: 1 + title: Height (U) + description: Height in rack units + starting_unit: + type: integer + maximum: 32767 + minimum: 1 + description: Starting unit for rack + weight: type: number format: double - maximum: 100000 - minimum: -100000 + maximum: 1000000 + minimum: -1000000 exclusiveMaximum: true exclusiveMinimum: true nullable: true - title: Channel frequency (MHz) - description: Populated by selected channel (if set) - rf_channel_width: - type: number - format: double - maximum: 10000 - minimum: -10000 - exclusiveMaximum: true - exclusiveMinimum: true + max_weight: + type: integer + maximum: 2147483647 + minimum: 0 nullable: true - title: Channel width (MHz) - description: Populated by selected channel (if set) - tx_power: + description: Maximum load capacity for the rack + weight_unit: + enum: + - kg + - g + - lb + - oz + - '' + type: string + description: '* `kg` - Kilograms + + * `g` - Grams + + * `lb` - Pounds + + * `oz` - Ounces' + x-spec-enum-id: 7c1876f422815884 + desc_units: + type: boolean + title: Descending units + description: Units are numbered top-to-bottom + outer_width: type: integer - maximum: 127 + maximum: 32767 minimum: 0 nullable: true - title: Transmit power (dBm) - untagged_vlan: - allOf: - - $ref: '#/components/schemas/VLANRequest' + description: Outer dimension of rack (width) + outer_depth: + type: integer + maximum: 32767 + minimum: 0 nullable: true - tagged_vlans: - type: array - items: - type: integer - mark_connected: - type: boolean - description: Treat as if a cable is connected - wireless_lans: - type: array - items: - type: integer - vrf: - allOf: - - $ref: '#/components/schemas/VRFRequest' + description: Outer dimension of rack (depth) + outer_unit: + enum: + - mm + - in + - '' + type: string + description: '* `mm` - Millimeters + + * `in` - Inches' + x-spec-enum-id: 86a846b6c40f495e + mounting_depth: + type: integer + maximum: 32767 + minimum: 0 nullable: true + description: Maximum depth of a mounted device, in millimeters. For four-post + racks, this is the distance between the front and rear rails. + airflow: + enum: + - front-to-rear + - rear-to-front + - '' + type: string + description: '* `front-to-rear` - Front to rear + + * `rear-to-front` - Rear to front' + x-spec-enum-id: a784734d07ef1b3c + description: + type: string + maxLength: 200 + comments: + type: string tags: type: array items: @@ -122949,502 +176139,977 @@ components: custom_fields: type: object additionalProperties: {} - PatchedWritableInterfaceTemplateRequest: + PatchedWritableRackTypeRequest: 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: Adds support for custom fields and tags. properties: - device_type: - allOf: - - $ref: '#/components/schemas/DeviceTypeRequest' - nullable: true - module_type: - allOf: - - $ref: '#/components/schemas/ModuleTypeRequest' - nullable: true - name: - type: string - minLength: 1 - description: '{module} is accepted as a substitution for the module bay - position when attached to a module type.' - maxLength: 64 - label: + manufacturer: + $ref: '#/components/schemas/BriefManufacturerRequest' + model: type: string - description: Physical label - maxLength: 64 - type: - enum: - - virtual - - bridge - - lag - - 100base-fx - - 100base-lfx - - 100base-tx - - 100base-t1 - - 1000base-t - - 2.5gbase-t - - 5gbase-t - - 10gbase-t - - 10gbase-cx4 - - 1000base-x-gbic - - 1000base-x-sfp - - 10gbase-x-sfpp - - 10gbase-x-xfp - - 10gbase-x-xenpak - - 10gbase-x-x2 - - 25gbase-x-sfp28 - - 50gbase-x-sfp56 - - 40gbase-x-qsfpp - - 50gbase-x-sfp28 - - 100gbase-x-cfp - - 100gbase-x-cfp2 - - 200gbase-x-cfp2 - - 400gbase-x-cfp2 - - 100gbase-x-cfp4 - - 100gbase-x-cxp - - 100gbase-x-cpak - - 100gbase-x-dsfp - - 100gbase-x-sfpdd - - 100gbase-x-qsfp28 - - 100gbase-x-qsfpdd - - 200gbase-x-qsfp56 - - 200gbase-x-qsfpdd - - 400gbase-x-qsfp112 - - 400gbase-x-qsfpdd - - 400gbase-x-osfp - - 400gbase-x-osfp-rhs - - 400gbase-x-cdfp - - 400gbase-x-cfp8 - - 800gbase-x-qsfpdd - - 800gbase-x-osfp - - 1000base-kx - - 2.5gbase-kx - - 5gbase-kr - - 10gbase-kr - - 10gbase-kx4 - - 25gbase-kr - - 40gbase-kr4 - - 50gbase-kr - - 100gbase-kp4 - - 100gbase-kr2 - - 100gbase-kr4 - - ieee802.11a - - ieee802.11g - - ieee802.11n - - ieee802.11ac - - ieee802.11ad - - ieee802.11ax - - ieee802.11ay - - ieee802.15.1 - - other-wireless - - gsm - - cdma - - lte - - 4g - - 5g - - sonet-oc3 - - sonet-oc12 - - sonet-oc48 - - sonet-oc192 - - sonet-oc768 - - sonet-oc1920 - - sonet-oc3840 - - 1gfc-sfp - - 2gfc-sfp - - 4gfc-sfp - - 8gfc-sfpp - - 16gfc-sfpp - - 32gfc-sfp28 - - 32gfc-sfpp - - 64gfc-qsfpp - - 64gfc-sfpdd - - 64gfc-sfpp - - 128gfc-qsfp28 - - infiniband-sdr - - infiniband-ddr - - infiniband-qdr - - infiniband-fdr10 - - infiniband-fdr - - infiniband-edr - - infiniband-hdr - - infiniband-ndr - - infiniband-xdr - - t1 - - e1 - - t3 - - e3 - - xdsl - - docsis - - bpon - - epon - - 10g-epon - - gpon - - xg-pon - - xgs-pon - - ng-pon2 - - 25g-pon - - 50g-pon - - cisco-stackwise - - cisco-stackwise-plus - - cisco-flexstack - - cisco-flexstack-plus - - cisco-stackwise-80 - - cisco-stackwise-160 - - cisco-stackwise-320 - - cisco-stackwise-480 - - cisco-stackwise-1t - - juniper-vcp - - extreme-summitstack - - extreme-summitstack-128 - - extreme-summitstack-256 - - extreme-summitstack-512 - - other + minLength: 1 + maxLength: 100 + slug: type: string - description: '* `virtual` - Virtual + minLength: 1 + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + form_factor: + enum: + - 2-post-frame + - 4-post-frame + - 4-post-cabinet + - wall-frame + - wall-frame-vertical + - wall-cabinet + - wall-cabinet-vertical + type: string + description: '* `2-post-frame` - 2-post frame - * `bridge` - Bridge + * `4-post-frame` - 4-post frame - * `lag` - Link Aggregation Group (LAG) + * `4-post-cabinet` - 4-post cabinet - * `100base-fx` - 100BASE-FX (10/100ME FIBER) + * `wall-frame` - Wall-mounted frame - * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) + * `wall-frame-vertical` - Wall-mounted frame (vertical) - * `100base-tx` - 100BASE-TX (10/100ME) + * `wall-cabinet` - Wall-mounted cabinet - * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) + * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical)' + x-spec-enum-id: e32aaa89a223f2ea + width: + enum: + - 10 + - 19 + - 21 + - 23 + type: integer + x-spec-enum-id: 9b322795f297a9c3 + description: 'Rail-to-rail width - * `1000base-t` - 1000BASE-T (1GE) - * `2.5gbase-t` - 2.5GBASE-T (2.5GE) + * `10` - 10 inches - * `5gbase-t` - 5GBASE-T (5GE) + * `19` - 19 inches - * `10gbase-t` - 10GBASE-T (10GE) + * `21` - 21 inches - * `10gbase-cx4` - 10GBASE-CX4 (10GE) + * `23` - 23 inches' + minimum: 0 + maximum: 32767 + u_height: + type: integer + maximum: 100 + minimum: 1 + title: Height (U) + description: Height in rack units + starting_unit: + type: integer + maximum: 32767 + minimum: 1 + description: Starting unit for rack + desc_units: + type: boolean + title: Descending units + description: Units are numbered top-to-bottom + outer_width: + type: integer + maximum: 32767 + minimum: 0 + nullable: true + description: Outer dimension of rack (width) + outer_depth: + type: integer + maximum: 32767 + minimum: 0 + nullable: true + description: Outer dimension of rack (depth) + outer_unit: + enum: + - mm + - in + - '' + type: string + description: '* `mm` - Millimeters - * `1000base-x-gbic` - GBIC (1GE) + * `in` - Inches' + x-spec-enum-id: 86a846b6c40f495e + weight: + type: number + format: double + maximum: 1000000 + minimum: -1000000 + exclusiveMaximum: true + exclusiveMinimum: true + nullable: true + max_weight: + type: integer + maximum: 2147483647 + minimum: 0 + nullable: true + description: Maximum load capacity for the rack + weight_unit: + enum: + - kg + - g + - lb + - oz + - '' + type: string + description: '* `kg` - Kilograms - * `1000base-x-sfp` - SFP (1GE) + * `g` - Grams - * `10gbase-x-sfpp` - SFP+ (10GE) + * `lb` - Pounds - * `10gbase-x-xfp` - XFP (10GE) + * `oz` - Ounces' + x-spec-enum-id: 7c1876f422815884 + mounting_depth: + type: integer + maximum: 32767 + minimum: 0 + nullable: true + description: Maximum depth of a mounted device, in millimeters. For four-post + racks, this is the distance between the front and rear rails. + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} + PatchedWritableRearPortRequest: + type: object + description: Adds support for custom fields and tags. + properties: + device: + $ref: '#/components/schemas/BriefDeviceRequest' + module: + allOf: + - $ref: '#/components/schemas/BriefModuleRequest' + nullable: true + name: + type: string + minLength: 1 + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + type: + enum: + - 8p8c + - 8p6c + - 8p4c + - 8p2c + - 6p6c + - 6p4c + - 6p2c + - 4p4c + - 4p2c + - gg45 + - tera-4p + - tera-2p + - tera-1p + - 110-punch + - bnc + - f + - n + - mrj21 + - fc + - lc + - lc-pc + - lc-upc + - lc-apc + - lsh + - lsh-pc + - lsh-upc + - lsh-apc + - lx5 + - lx5-pc + - lx5-upc + - lx5-apc + - mpo + - mtrj + - sc + - sc-pc + - sc-upc + - sc-apc + - st + - cs + - sn + - sma-905 + - sma-906 + - urm-p2 + - urm-p4 + - urm-p8 + - splice + - usb-a + - usb-b + - usb-c + - usb-mini-a + - usb-mini-b + - usb-micro-a + - usb-micro-b + - usb-micro-ab + - other + type: string + description: '* `8p8c` - 8P8C - * `10gbase-x-xenpak` - XENPAK (10GE) + * `8p6c` - 8P6C - * `10gbase-x-x2` - X2 (10GE) + * `8p4c` - 8P4C - * `25gbase-x-sfp28` - SFP28 (25GE) + * `8p2c` - 8P2C - * `50gbase-x-sfp56` - SFP56 (50GE) + * `6p6c` - 6P6C - * `40gbase-x-qsfpp` - QSFP+ (40GE) + * `6p4c` - 6P4C - * `50gbase-x-sfp28` - QSFP28 (50GE) + * `6p2c` - 6P2C - * `100gbase-x-cfp` - CFP (100GE) + * `4p4c` - 4P4C - * `100gbase-x-cfp2` - CFP2 (100GE) + * `4p2c` - 4P2C - * `200gbase-x-cfp2` - CFP2 (200GE) + * `gg45` - GG45 - * `400gbase-x-cfp2` - CFP2 (400GE) + * `tera-4p` - TERA 4P - * `100gbase-x-cfp4` - CFP4 (100GE) + * `tera-2p` - TERA 2P - * `100gbase-x-cxp` - CXP (100GE) + * `tera-1p` - TERA 1P - * `100gbase-x-cpak` - Cisco CPAK (100GE) + * `110-punch` - 110 Punch - * `100gbase-x-dsfp` - DSFP (100GE) + * `bnc` - BNC - * `100gbase-x-sfpdd` - SFP-DD (100GE) + * `f` - F Connector - * `100gbase-x-qsfp28` - QSFP28 (100GE) + * `n` - N Connector - * `100gbase-x-qsfpdd` - QSFP-DD (100GE) + * `mrj21` - MRJ21 - * `200gbase-x-qsfp56` - QSFP56 (200GE) + * `fc` - FC - * `200gbase-x-qsfpdd` - QSFP-DD (200GE) + * `lc` - LC - * `400gbase-x-qsfp112` - QSFP112 (400GE) + * `lc-pc` - LC/PC - * `400gbase-x-qsfpdd` - QSFP-DD (400GE) + * `lc-upc` - LC/UPC - * `400gbase-x-osfp` - OSFP (400GE) + * `lc-apc` - LC/APC - * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) + * `lsh` - LSH - * `400gbase-x-cdfp` - CDFP (400GE) + * `lsh-pc` - LSH/PC - * `400gbase-x-cfp8` - CPF8 (400GE) + * `lsh-upc` - LSH/UPC - * `800gbase-x-qsfpdd` - QSFP-DD (800GE) + * `lsh-apc` - LSH/APC - * `800gbase-x-osfp` - OSFP (800GE) + * `lx5` - LX.5 - * `1000base-kx` - 1000BASE-KX (1GE) + * `lx5-pc` - LX.5/PC - * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) + * `lx5-upc` - LX.5/UPC - * `5gbase-kr` - 5GBASE-KR (5GE) + * `lx5-apc` - LX.5/APC - * `10gbase-kr` - 10GBASE-KR (10GE) + * `mpo` - MPO - * `10gbase-kx4` - 10GBASE-KX4 (10GE) + * `mtrj` - MTRJ - * `25gbase-kr` - 25GBASE-KR (25GE) + * `sc` - SC - * `40gbase-kr4` - 40GBASE-KR4 (40GE) + * `sc-pc` - SC/PC - * `50gbase-kr` - 50GBASE-KR (50GE) + * `sc-upc` - SC/UPC - * `100gbase-kp4` - 100GBASE-KP4 (100GE) + * `sc-apc` - SC/APC - * `100gbase-kr2` - 100GBASE-KR2 (100GE) + * `st` - ST - * `100gbase-kr4` - 100GBASE-KR4 (100GE) + * `cs` - CS - * `ieee802.11a` - IEEE 802.11a + * `sn` - SN - * `ieee802.11g` - IEEE 802.11b/g + * `sma-905` - SMA 905 - * `ieee802.11n` - IEEE 802.11n + * `sma-906` - SMA 906 - * `ieee802.11ac` - IEEE 802.11ac + * `urm-p2` - URM-P2 - * `ieee802.11ad` - IEEE 802.11ad + * `urm-p4` - URM-P4 - * `ieee802.11ax` - IEEE 802.11ax + * `urm-p8` - URM-P8 - * `ieee802.11ay` - IEEE 802.11ay + * `splice` - Splice - * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) + * `usb-a` - USB Type A - * `other-wireless` - Other (Wireless) + * `usb-b` - USB Type B - * `gsm` - GSM + * `usb-c` - USB Type C - * `cdma` - CDMA + * `usb-mini-a` - USB Mini A - * `lte` - LTE + * `usb-mini-b` - USB Mini B - * `4g` - 4G + * `usb-micro-a` - USB Micro A - * `5g` - 5G + * `usb-micro-b` - USB Micro B - * `sonet-oc3` - OC-3/STM-1 + * `usb-micro-ab` - USB Micro AB - * `sonet-oc12` - OC-12/STM-4 + * `other` - Other' + x-spec-enum-id: c5086c01f1f9c18a + color: + type: string + pattern: ^[0-9a-f]{6}$ + maxLength: 6 + positions: + type: integer + maximum: 1024 + minimum: 1 + description: Number of front ports which may be mapped + description: + type: string + maxLength: 200 + mark_connected: + type: boolean + description: Treat as if a cable is connected + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} + PatchedWritableRearPortTemplateRequest: + type: object + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during - * `sonet-oc48` - OC-48/STM-16 + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + device_type: + allOf: + - $ref: '#/components/schemas/BriefDeviceTypeRequest' + nullable: true + module_type: + allOf: + - $ref: '#/components/schemas/BriefModuleTypeRequest' + nullable: true + name: + type: string + minLength: 1 + description: '{module} is accepted as a substitution for the module bay + position when attached to a module type.' + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + type: + enum: + - 8p8c + - 8p6c + - 8p4c + - 8p2c + - 6p6c + - 6p4c + - 6p2c + - 4p4c + - 4p2c + - gg45 + - tera-4p + - tera-2p + - tera-1p + - 110-punch + - bnc + - f + - n + - mrj21 + - fc + - lc + - lc-pc + - lc-upc + - lc-apc + - lsh + - lsh-pc + - lsh-upc + - lsh-apc + - lx5 + - lx5-pc + - lx5-upc + - lx5-apc + - mpo + - mtrj + - sc + - sc-pc + - sc-upc + - sc-apc + - st + - cs + - sn + - sma-905 + - sma-906 + - urm-p2 + - urm-p4 + - urm-p8 + - splice + - usb-a + - usb-b + - usb-c + - usb-mini-a + - usb-mini-b + - usb-micro-a + - usb-micro-b + - usb-micro-ab + - other + type: string + description: '* `8p8c` - 8P8C - * `sonet-oc192` - OC-192/STM-64 + * `8p6c` - 8P6C - * `sonet-oc768` - OC-768/STM-256 + * `8p4c` - 8P4C - * `sonet-oc1920` - OC-1920/STM-640 + * `8p2c` - 8P2C - * `sonet-oc3840` - OC-3840/STM-1234 + * `6p6c` - 6P6C - * `1gfc-sfp` - SFP (1GFC) + * `6p4c` - 6P4C - * `2gfc-sfp` - SFP (2GFC) + * `6p2c` - 6P2C - * `4gfc-sfp` - SFP (4GFC) + * `4p4c` - 4P4C - * `8gfc-sfpp` - SFP+ (8GFC) + * `4p2c` - 4P2C - * `16gfc-sfpp` - SFP+ (16GFC) + * `gg45` - GG45 - * `32gfc-sfp28` - SFP28 (32GFC) + * `tera-4p` - TERA 4P - * `32gfc-sfpp` - SFP+ (32GFC) + * `tera-2p` - TERA 2P - * `64gfc-qsfpp` - QSFP+ (64GFC) + * `tera-1p` - TERA 1P - * `64gfc-sfpdd` - SFP-DD (64GFC) + * `110-punch` - 110 Punch - * `64gfc-sfpp` - SFP+ (64GFC) + * `bnc` - BNC - * `128gfc-qsfp28` - QSFP28 (128GFC) + * `f` - F Connector - * `infiniband-sdr` - SDR (2 Gbps) + * `n` - N Connector - * `infiniband-ddr` - DDR (4 Gbps) + * `mrj21` - MRJ21 - * `infiniband-qdr` - QDR (8 Gbps) + * `fc` - FC - * `infiniband-fdr10` - FDR10 (10 Gbps) + * `lc` - LC - * `infiniband-fdr` - FDR (13.5 Gbps) + * `lc-pc` - LC/PC - * `infiniband-edr` - EDR (25 Gbps) + * `lc-upc` - LC/UPC - * `infiniband-hdr` - HDR (50 Gbps) + * `lc-apc` - LC/APC - * `infiniband-ndr` - NDR (100 Gbps) + * `lsh` - LSH - * `infiniband-xdr` - XDR (250 Gbps) + * `lsh-pc` - LSH/PC - * `t1` - T1 (1.544 Mbps) + * `lsh-upc` - LSH/UPC - * `e1` - E1 (2.048 Mbps) + * `lsh-apc` - LSH/APC - * `t3` - T3 (45 Mbps) + * `lx5` - LX.5 - * `e3` - E3 (34 Mbps) + * `lx5-pc` - LX.5/PC - * `xdsl` - xDSL + * `lx5-upc` - LX.5/UPC - * `docsis` - DOCSIS + * `lx5-apc` - LX.5/APC - * `bpon` - BPON (622 Mbps / 155 Mbps) + * `mpo` - MPO - * `epon` - EPON (1 Gbps) + * `mtrj` - MTRJ - * `10g-epon` - 10G-EPON (10 Gbps) + * `sc` - SC - * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) + * `sc-pc` - SC/PC - * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) + * `sc-upc` - SC/UPC - * `xgs-pon` - XGS-PON (10 Gbps) + * `sc-apc` - SC/APC - * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) + * `st` - ST - * `25g-pon` - 25G-PON (25 Gbps) + * `cs` - CS - * `50g-pon` - 50G-PON (50 Gbps) + * `sn` - SN - * `cisco-stackwise` - Cisco StackWise + * `sma-905` - SMA 905 - * `cisco-stackwise-plus` - Cisco StackWise Plus + * `sma-906` - SMA 906 - * `cisco-flexstack` - Cisco FlexStack + * `urm-p2` - URM-P2 - * `cisco-flexstack-plus` - Cisco FlexStack Plus + * `urm-p4` - URM-P4 - * `cisco-stackwise-80` - Cisco StackWise-80 + * `urm-p8` - URM-P8 - * `cisco-stackwise-160` - Cisco StackWise-160 + * `splice` - Splice - * `cisco-stackwise-320` - Cisco StackWise-320 + * `usb-a` - USB Type A - * `cisco-stackwise-480` - Cisco StackWise-480 + * `usb-b` - USB Type B - * `cisco-stackwise-1t` - Cisco StackWise-1T + * `usb-c` - USB Type C - * `juniper-vcp` - Juniper VCP + * `usb-mini-a` - USB Mini A - * `extreme-summitstack` - Extreme SummitStack + * `usb-mini-b` - USB Mini B - * `extreme-summitstack-128` - Extreme SummitStack-128 + * `usb-micro-a` - USB Micro A - * `extreme-summitstack-256` - Extreme SummitStack-256 + * `usb-micro-b` - USB Micro B - * `extreme-summitstack-512` - Extreme SummitStack-512 + * `usb-micro-ab` - USB Micro AB * `other` - Other' - x-spec-enum-id: b9a351ea129ed754 - enabled: - type: boolean - mgmt_only: - type: boolean - title: Management only + x-spec-enum-id: c5086c01f1f9c18a + color: + type: string + pattern: ^[0-9a-f]{6}$ + maxLength: 6 + positions: + type: integer + maximum: 1024 + minimum: 1 description: type: string maxLength: 200 - bridge: + PatchedWritableRegionRequest: + type: object + description: Extends PrimaryModelSerializer to include MPTT support. + properties: + name: + type: string + minLength: 1 + maxLength: 100 + slug: + type: string + minLength: 1 + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + parent: type: integer nullable: true - title: Bridge interface - poe_mode: + description: + type: string + maxLength: 200 + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} + PatchedWritableServiceRequest: + type: object + description: Adds support for custom fields and tags. + properties: + device: + allOf: + - $ref: '#/components/schemas/BriefDeviceRequest' + nullable: true + virtual_machine: + allOf: + - $ref: '#/components/schemas/BriefVirtualMachineRequest' + nullable: true + name: + type: string + minLength: 1 + maxLength: 100 + protocol: enum: - - pd - - pse - - '' + - tcp + - udp + - sctp type: string - description: '* `pd` - PD + description: '* `tcp` - TCP - * `pse` - PSE' - x-spec-enum-id: 2f2fe6dcdc7772bd - poe_type: + * `udp` - UDP + + * `sctp` - SCTP' + x-spec-enum-id: 5521e084b1ad51de + ports: + type: array + items: + type: integer + maximum: 65535 + minimum: 1 + title: Port numbers + ipaddresses: + type: array + items: + type: integer + description: + type: string + maxLength: 200 + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} + PatchedWritableServiceTemplateRequest: + type: object + description: Adds support for custom fields and tags. + properties: + name: + type: string + minLength: 1 + maxLength: 100 + protocol: enum: - - type1-ieee802.3af - - type2-ieee802.3at - - type3-ieee802.3bt - - type4-ieee802.3bt - - passive-24v-2pair - - passive-24v-4pair - - passive-48v-2pair - - passive-48v-4pair - - '' + - tcp + - udp + - sctp type: string - description: '* `type1-ieee802.3af` - 802.3af (Type 1) + description: '* `tcp` - TCP - * `type2-ieee802.3at` - 802.3at (Type 2) + * `udp` - UDP - * `type3-ieee802.3bt` - 802.3bt (Type 3) + * `sctp` - SCTP' + x-spec-enum-id: 5521e084b1ad51de + ports: + type: array + items: + type: integer + maximum: 65535 + minimum: 1 + title: Port numbers + description: + type: string + maxLength: 200 + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} + PatchedWritableSiteGroupRequest: + type: object + description: Extends PrimaryModelSerializer to include MPTT support. + properties: + name: + type: string + minLength: 1 + maxLength: 100 + slug: + type: string + minLength: 1 + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + parent: + type: integer + nullable: true + description: + type: string + maxLength: 200 + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} + PatchedWritableSiteRequest: + type: object + description: Adds support for custom fields and tags. + properties: + name: + type: string + minLength: 1 + description: Full name of the site + maxLength: 100 + slug: + type: string + minLength: 1 + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + status: + enum: + - planned + - staging + - active + - decommissioning + - retired + type: string + description: '* `planned` - Planned - * `type4-ieee802.3bt` - 802.3bt (Type 4) + * `staging` - Staging - * `passive-24v-2pair` - Passive 24V (2-pair) + * `active` - Active - * `passive-24v-4pair` - Passive 24V (4-pair) + * `decommissioning` - Decommissioning - * `passive-48v-2pair` - Passive 48V (2-pair) + * `retired` - Retired' + x-spec-enum-id: e363a8ddb138be50 + region: + allOf: + - $ref: '#/components/schemas/BriefRegionRequest' + nullable: true + group: + allOf: + - $ref: '#/components/schemas/BriefSiteGroupRequest' + nullable: true + tenant: + allOf: + - $ref: '#/components/schemas/BriefTenantRequest' + nullable: true + facility: + type: string + description: Local facility ID or description + maxLength: 50 + time_zone: + type: string + nullable: true + minLength: 1 + description: + type: string + maxLength: 200 + physical_address: + type: string + description: Physical location of the building + maxLength: 200 + shipping_address: + type: string + description: If different from the physical address + maxLength: 200 + latitude: + type: number + format: double + maximum: 100 + minimum: -100 + exclusiveMaximum: true + exclusiveMinimum: true + nullable: true + description: GPS coordinate in decimal format (xx.yyyyyy) + longitude: + type: number + format: double + maximum: 1000 + minimum: -1000 + exclusiveMaximum: true + exclusiveMinimum: true + nullable: true + description: GPS coordinate in decimal format (xx.yyyyyy) + comments: + type: string + asns: + type: array + items: + type: integer + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} + PatchedWritableTenantGroupRequest: + type: object + description: Extends PrimaryModelSerializer to include MPTT support. + properties: + name: + type: string + minLength: 1 + maxLength: 100 + slug: + type: string + minLength: 1 + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + parent: + type: integer + nullable: true + description: + type: string + maxLength: 200 + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} + PatchedWritableTunnelRequest: + type: object + description: Adds support for custom fields and tags. + properties: + name: + type: string + minLength: 1 + maxLength: 100 + status: + enum: + - planned + - active + - disabled + type: string + description: '* `planned` - Planned - * `passive-48v-4pair` - Passive 48V (4-pair)' - x-spec-enum-id: 74bd3be4012f6da9 - rf_role: + * `active` - Active + + * `disabled` - Disabled' + x-spec-enum-id: 0d65f7912cba74aa + group: + allOf: + - $ref: '#/components/schemas/BriefTunnelGroupRequest' + nullable: true + encapsulation: enum: - - ap - - station - - '' + - ipsec-transport + - ipsec-tunnel + - ip-ip + - gre type: string - description: '* `ap` - Access point + description: '* `ipsec-transport` - IPsec - Transport - * `station` - Station' - x-spec-enum-id: d2772dbea88b0fb1 - title: Wireless role - PatchedWritableJournalEntryRequest: + * `ipsec-tunnel` - IPsec - Tunnel + + * `ip-ip` - IP-in-IP + + * `gre` - GRE' + x-spec-enum-id: 5fc36bb745852746 + ipsec_profile: + allOf: + - $ref: '#/components/schemas/BriefIPSecProfileRequest' + nullable: true + tenant: + allOf: + - $ref: '#/components/schemas/BriefTenantRequest' + nullable: true + tunnel_id: + type: integer + maximum: 9223372036854775807 + minimum: 0 + format: int64 + nullable: true + description: + type: string + maxLength: 200 + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} + PatchedWritableTunnelTerminationRequest: type: object description: Adds support for custom fields and tags. properties: - assigned_object_type: + tunnel: + $ref: '#/components/schemas/BriefTunnelRequest' + role: + enum: + - peer + - hub + - spoke type: string - assigned_object_id: + description: '* `peer` - Peer + + * `hub` - Hub + + * `spoke` - Spoke' + x-spec-enum-id: 52225cd60b867572 + termination_type: + type: string + termination_id: type: integer maximum: 9223372036854775807 minimum: 0 format: int64 - created_by: + nullable: true + outside_ip: + allOf: + - $ref: '#/components/schemas/BriefIPAddressRequest' + nullable: true + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} + PatchedWritableVLANRequest: + type: object + description: Adds support for custom fields and tags. + properties: + site: + allOf: + - $ref: '#/components/schemas/BriefSiteRequest' + nullable: true + group: + allOf: + - $ref: '#/components/schemas/BriefVLANGroupRequest' + nullable: true + vid: type: integer + maximum: 4094 + minimum: 1 + title: VLAN ID + description: Numeric VLAN ID (1-4094) + name: + type: string + minLength: 1 + maxLength: 64 + tenant: + allOf: + - $ref: '#/components/schemas/BriefTenantRequest' nullable: true - kind: + status: enum: - - info - - success - - warning - - danger + - active + - reserved + - deprecated type: string - description: '* `info` - Info + x-spec-enum-id: 6388dfb94ca1cc15 + description: 'Operational status of this VLAN - * `success` - Success - * `warning` - Warning + * `active` - Active - * `danger` - Danger' - x-spec-enum-id: a21af280f632fa34 + * `reserved` - Reserved + + * `deprecated` - Deprecated' + role: + allOf: + - $ref: '#/components/schemas/BriefRoleRequest' + nullable: true + description: + type: string + maxLength: 200 comments: type: string - minLength: 1 tags: type: array items: @@ -123452,81 +177117,92 @@ components: custom_fields: type: object additionalProperties: {} - PatchedWritableL2VPNRequest: + PatchedWritableVMInterfaceRequest: type: object description: Adds support for custom fields and tags. properties: - identifier: - type: integer - maximum: 9223372036854775807 - minimum: -9223372036854775808 - format: int64 - nullable: true + virtual_machine: + $ref: '#/components/schemas/BriefVirtualMachineRequest' name: type: string minLength: 1 - maxLength: 100 - slug: + maxLength: 64 + enabled: + type: boolean + parent: + type: integer + nullable: true + title: Parent interface + bridge: + type: integer + nullable: true + title: Bridge interface + mtu: + type: integer + maximum: 65536 + minimum: 1 + nullable: true + mac_address: type: string + nullable: true minLength: 1 - maxLength: 100 - pattern: ^[-a-zA-Z0-9_]+$ - type: - enum: - - vpws - - vpls - - vxlan - - vxlan-evpn - - mpls-evpn - - pbb-evpn - - epl - - evpl - - ep-lan - - evp-lan - - ep-tree - - evp-tree + description: type: string - description: '* `vpws` - VPWS - - * `vpls` - VPLS - - * `vxlan` - VXLAN - - * `vxlan-evpn` - VXLAN-EVPN - - * `mpls-evpn` - MPLS EVPN - - * `pbb-evpn` - PBB EVPN - - * `epl` - EPL - - * `evpl` - EVPL + maxLength: 200 + mode: + enum: + - access + - tagged + - tagged-all + - '' + type: string + x-spec-enum-id: 79109bd9dbb73a3c + description: 'IEEE 802.1Q tagging strategy - * `ep-lan` - Ethernet Private LAN - * `evp-lan` - Ethernet Virtual Private LAN + * `access` - Access - * `ep-tree` - Ethernet Private Tree + * `tagged` - Tagged - * `evp-tree` - Ethernet Virtual Private Tree' - x-spec-enum-id: dbaa4f996ec2d110 - import_targets: + * `tagged-all` - Tagged (All)' + untagged_vlan: + allOf: + - $ref: '#/components/schemas/BriefVLANRequest' + nullable: true + tagged_vlans: type: array items: type: integer - export_targets: + vrf: + allOf: + - $ref: '#/components/schemas/BriefVRFRequest' + nullable: true + tags: type: array items: - type: integer + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} + PatchedWritableVirtualChassisRequest: + type: object + description: Adds support for custom fields and tags. + properties: + name: + type: string + minLength: 1 + maxLength: 64 + domain: + type: string + maxLength: 30 + master: + type: integer + nullable: true description: type: string maxLength: 200 comments: type: string - tenant: - allOf: - - $ref: '#/components/schemas/TenantRequest' - nullable: true tags: type: array items: @@ -123534,53 +177210,50 @@ components: custom_fields: type: object additionalProperties: {} - PatchedWritableLocationRequest: + PatchedWritableVirtualDeviceContextRequest: type: object - description: Extends PrimaryModelSerializer to include MPTT support. + description: Adds support for custom fields and tags. properties: name: type: string minLength: 1 - maxLength: 100 - slug: - type: string - minLength: 1 - maxLength: 100 - pattern: ^[-a-zA-Z0-9_]+$ - site: - $ref: '#/components/schemas/SiteRequest' - parent: + maxLength: 64 + device: + $ref: '#/components/schemas/BriefDeviceRequest' + identifier: type: integer + maximum: 32767 + minimum: 0 + nullable: true + tenant: + allOf: + - $ref: '#/components/schemas/BriefTenantRequest' + nullable: true + primary_ip4: + allOf: + - $ref: '#/components/schemas/BriefIPAddressRequest' + nullable: true + primary_ip6: + allOf: + - $ref: '#/components/schemas/BriefIPAddressRequest' nullable: true status: enum: - - planned - - staging - active - - decommissioning - - retired + - planned + - offline type: string - description: '* `planned` - Planned - - * `staging` - Staging - - * `active` - Active + description: '* `active` - Active - * `decommissioning` - Decommissioning + * `planned` - Planned - * `retired` - Retired' - x-spec-enum-id: e363a8ddb138be50 - tenant: - allOf: - - $ref: '#/components/schemas/TenantRequest' - nullable: true - facility: - type: string - description: Local facility ID or description - maxLength: 50 + * `offline` - Offline' + x-spec-enum-id: ee1ef02def7a91ab description: type: string maxLength: 200 + comments: + type: string tags: type: array items: @@ -123588,16 +177261,14 @@ components: custom_fields: type: object additionalProperties: {} - PatchedWritableModuleRequest: + PatchedWritableVirtualMachineWithConfigContextRequest: type: object description: Adds support for custom fields and tags. properties: - device: - $ref: '#/components/schemas/DeviceRequest' - module_bay: - type: integer - module_type: - $ref: '#/components/schemas/ModuleTypeRequest' + name: + type: string + minLength: 1 + maxLength: 64 status: enum: - offline @@ -123619,20 +177290,74 @@ components: * `decommissioning` - Decommissioning' x-spec-enum-id: 2217e87d0c3efdda + site: + allOf: + - $ref: '#/components/schemas/BriefSiteRequest' + nullable: true + cluster: + allOf: + - $ref: '#/components/schemas/BriefClusterRequest' + nullable: true + device: + allOf: + - $ref: '#/components/schemas/BriefDeviceRequest' + nullable: true serial: type: string title: Serial number maxLength: 50 - asset_tag: - type: string + role: + allOf: + - $ref: '#/components/schemas/BriefDeviceRoleRequest' nullable: true - description: A unique tag used to identify this device - maxLength: 50 + tenant: + allOf: + - $ref: '#/components/schemas/BriefTenantRequest' + nullable: true + platform: + allOf: + - $ref: '#/components/schemas/BriefPlatformRequest' + nullable: true + primary_ip4: + allOf: + - $ref: '#/components/schemas/BriefIPAddressRequest' + nullable: true + primary_ip6: + allOf: + - $ref: '#/components/schemas/BriefIPAddressRequest' + nullable: true + vcpus: + type: number + format: double + maximum: 10000 + minimum: 0.01 + exclusiveMaximum: true + nullable: true + memory: + type: integer + maximum: 2147483647 + minimum: 0 + nullable: true + title: Memory (MB) + disk: + type: integer + maximum: 2147483647 + minimum: 0 + nullable: true + title: Disk (MB) description: type: string maxLength: 200 comments: type: string + config_template: + allOf: + - $ref: '#/components/schemas/BriefConfigTemplateRequest' + nullable: true + local_context_data: + nullable: true + description: Local config context data takes precedence over source contexts + in the final rendered config context tags: type: array items: @@ -123640,49 +177365,25 @@ components: custom_fields: type: object additionalProperties: {} - PatchedWritableModuleTypeRequest: + PatchedWritableWirelessLANGroupRequest: type: object - description: Adds support for custom fields and tags. + description: Extends PrimaryModelSerializer to include MPTT support. properties: - manufacturer: - $ref: '#/components/schemas/ManufacturerRequest' - model: + name: type: string minLength: 1 maxLength: 100 - part_number: + slug: type: string - description: Discrete part number (optional) - maxLength: 50 - weight: - type: number - format: double - maximum: 1000000 - minimum: -1000000 - exclusiveMaximum: true - exclusiveMinimum: true + minLength: 1 + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + parent: + type: integer nullable: true - weight_unit: - enum: - - kg - - g - - lb - - oz - - '' - type: string - description: '* `kg` - Kilograms - - * `g` - Grams - - * `lb` - Pounds - - * `oz` - Ounces' - x-spec-enum-id: 7c1876f422815884 description: type: string maxLength: 200 - comments: - type: string tags: type: array items: @@ -123690,85 +177391,79 @@ components: custom_fields: type: object additionalProperties: {} - PatchedWritablePowerFeedRequest: + PatchedWritableWirelessLANRequest: type: object description: Adds support for custom fields and tags. properties: - power_panel: - $ref: '#/components/schemas/PowerPanelRequest' - rack: - allOf: - - $ref: '#/components/schemas/RackRequest' - nullable: true - name: + ssid: type: string minLength: 1 - maxLength: 100 + maxLength: 32 + description: + type: string + maxLength: 200 + group: + allOf: + - $ref: '#/components/schemas/BriefWirelessLANGroupRequest' + nullable: true status: enum: - - offline - active - - planned - - failed + - reserved + - disabled + - deprecated type: string - description: '* `offline` - Offline + description: '* `active` - Active - * `active` - Active + * `reserved` - Reserved - * `planned` - Planned + * `disabled` - Disabled - * `failed` - Failed' - x-spec-enum-id: b77fc919138c12f6 - type: + * `deprecated` - Deprecated' + x-spec-enum-id: 412ebdca597f609e + vlan: + allOf: + - $ref: '#/components/schemas/BriefVLANRequest' + nullable: true + tenant: + allOf: + - $ref: '#/components/schemas/BriefTenantRequest' + nullable: true + auth_type: enum: - - primary - - redundant + - open + - wep + - wpa-personal + - wpa-enterprise + - '' type: string - description: '* `primary` - Primary + description: '* `open` - Open - * `redundant` - Redundant' - x-spec-enum-id: 093a164236819eb8 - supply: - enum: - - ac - - dc - type: string - description: '* `ac` - AC + * `wep` - WEP - * `dc` - DC' - x-spec-enum-id: 1b6d99616ca6412b - phase: + * `wpa-personal` - WPA Personal (PSK) + + * `wpa-enterprise` - WPA Enterprise' + x-spec-enum-id: a2043acb899b3954 + title: Authentication type + auth_cipher: enum: - - single-phase - - three-phase + - auto + - tkip + - aes + - '' type: string - description: '* `single-phase` - Single phase + description: '* `auto` - Auto - * `three-phase` - Three-phase' - x-spec-enum-id: 994bc0696f4df57f - voltage: - type: integer - maximum: 32767 - minimum: -32768 - amperage: - type: integer - maximum: 32767 - minimum: 1 - max_utilization: - type: integer - maximum: 100 - minimum: 1 - description: Maximum permissible draw (percentage) - mark_connected: - type: boolean - description: Treat as if a cable is connected - description: + * `tkip` - TKIP + + * `aes` - AES' + x-spec-enum-id: 8fdaefa727c26fdc + title: Authentication cipher + auth_psk: type: string - maxLength: 200 - tenant: - allOf: - - $ref: '#/components/schemas/TenantRequest' - nullable: true + title: Pre-shared key + maxLength: 64 comments: type: string tags: @@ -123778,345 +177473,97 @@ components: custom_fields: type: object additionalProperties: {} - PatchedWritablePowerOutletRequest: + PatchedWritableWirelessLinkRequest: type: object description: Adds support for custom fields and tags. properties: - device: - $ref: '#/components/schemas/DeviceRequest' - module: - allOf: - - $ref: '#/components/schemas/ModuleRequest' - nullable: true - name: - type: string - minLength: 1 - maxLength: 64 - label: + interface_a: + $ref: '#/components/schemas/BriefInterfaceRequest' + interface_b: + $ref: '#/components/schemas/BriefInterfaceRequest' + ssid: type: string - description: Physical label - maxLength: 64 - type: + maxLength: 32 + status: 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 - - molex-micro-fit-1x2 - - molex-micro-fit-2x2 - - molex-micro-fit-2x4 - - dc-terminal - - hdot-cx - - saf-d-grid - - neutrik-powercon-20a - - neutrik-powercon-32a - - neutrik-powercon-true1 - - neutrik-powercon-true1-top - - ubiquiti-smartpower - - hardwired - - other - - '' + - connected + - planned + - decommissioning type: string - x-spec-enum-id: 2ff919f516566857 - description: 'Physical port type - - - * `iec-60320-c5` - C5 - - * `iec-60320-c7` - C7 - - * `iec-60320-c13` - C13 - - * `iec-60320-c15` - C15 - - * `iec-60320-c19` - C19 - - * `iec-60320-c21` - C21 - - * `iec-60309-p-n-e-4h` - P+N+E 4H - - * `iec-60309-p-n-e-6h` - P+N+E 6H - - * `iec-60309-p-n-e-9h` - P+N+E 9H - - * `iec-60309-2p-e-4h` - 2P+E 4H - - * `iec-60309-2p-e-6h` - 2P+E 6H - - * `iec-60309-2p-e-9h` - 2P+E 9H - - * `iec-60309-3p-e-4h` - 3P+E 4H - - * `iec-60309-3p-e-6h` - 3P+E 6H - - * `iec-60309-3p-e-9h` - 3P+E 9H - - * `iec-60309-3p-n-e-4h` - 3P+N+E 4H - - * `iec-60309-3p-n-e-6h` - 3P+N+E 6H - - * `iec-60309-3p-n-e-9h` - 3P+N+E 9H - - * `iec-60906-1` - IEC 60906-1 - - * `nbr-14136-10a` - 2P+T 10A (NBR 14136) - - * `nbr-14136-20a` - 2P+T 20A (NBR 14136) - - * `nema-1-15r` - NEMA 1-15R - - * `nema-5-15r` - NEMA 5-15R - - * `nema-5-20r` - NEMA 5-20R - - * `nema-5-30r` - NEMA 5-30R - - * `nema-5-50r` - NEMA 5-50R - - * `nema-6-15r` - NEMA 6-15R - - * `nema-6-20r` - NEMA 6-20R - - * `nema-6-30r` - NEMA 6-30R - - * `nema-6-50r` - NEMA 6-50R - - * `nema-10-30r` - NEMA 10-30R - - * `nema-10-50r` - NEMA 10-50R - - * `nema-14-20r` - NEMA 14-20R - - * `nema-14-30r` - NEMA 14-30R - - * `nema-14-50r` - NEMA 14-50R - - * `nema-14-60r` - NEMA 14-60R - - * `nema-15-15r` - NEMA 15-15R - - * `nema-15-20r` - NEMA 15-20R - - * `nema-15-30r` - NEMA 15-30R - - * `nema-15-50r` - NEMA 15-50R - - * `nema-15-60r` - NEMA 15-60R - - * `nema-l1-15r` - NEMA L1-15R - - * `nema-l5-15r` - NEMA L5-15R - - * `nema-l5-20r` - NEMA L5-20R - - * `nema-l5-30r` - NEMA L5-30R - - * `nema-l5-50r` - NEMA L5-50R - - * `nema-l6-15r` - NEMA L6-15R - - * `nema-l6-20r` - NEMA L6-20R - - * `nema-l6-30r` - NEMA L6-30R - - * `nema-l6-50r` - NEMA L6-50R - - * `nema-l10-30r` - NEMA L10-30R - - * `nema-l14-20r` - NEMA L14-20R - - * `nema-l14-30r` - NEMA L14-30R - - * `nema-l14-50r` - NEMA L14-50R - - * `nema-l14-60r` - NEMA L14-60R - - * `nema-l15-20r` - NEMA L15-20R - - * `nema-l15-30r` - NEMA L15-30R - - * `nema-l15-50r` - NEMA L15-50R - - * `nema-l15-60r` - NEMA L15-60R - - * `nema-l21-20r` - NEMA L21-20R - - * `nema-l21-30r` - NEMA L21-30R - - * `nema-l22-30r` - NEMA L22-30R - - * `CS6360C` - CS6360C - - * `CS6364C` - CS6364C - - * `CS8164C` - CS8164C - - * `CS8264C` - CS8264C - - * `CS8364C` - CS8364C - - * `CS8464C` - CS8464C - - * `ita-e` - ITA Type E (CEE 7/5) - - * `ita-f` - ITA Type F (CEE 7/3) - - * `ita-g` - ITA Type G (BS 1363) - - * `ita-h` - ITA Type H - - * `ita-i` - ITA Type I - - * `ita-j` - ITA Type J - - * `ita-k` - ITA Type K - - * `ita-l` - ITA Type L (CEI 23-50) - - * `ita-m` - ITA Type M (BS 546) - - * `ita-n` - ITA Type N - - * `ita-o` - ITA Type O - - * `ita-multistandard` - ITA Multistandard - - * `usb-a` - USB Type A - - * `usb-micro-b` - USB Micro B - - * `usb-c` - USB Type C - - * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 - - * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 - - * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 - - * `dc-terminal` - DC Terminal - - * `hdot-cx` - HDOT Cx - - * `saf-d-grid` - Saf-D-Grid + description: '* `connected` - Connected - * `neutrik-powercon-20a` - Neutrik powerCON (20A) + * `planned` - Planned - * `neutrik-powercon-32a` - Neutrik powerCON (32A) + * `decommissioning` - Decommissioning' + x-spec-enum-id: fbc2f302c08be50d + tenant: + allOf: + - $ref: '#/components/schemas/BriefTenantRequest' + nullable: true + auth_type: + enum: + - open + - wep + - wpa-personal + - wpa-enterprise + - '' + type: string + description: '* `open` - Open - * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 + * `wep` - WEP - * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP + * `wpa-personal` - WPA Personal (PSK) - * `ubiquiti-smartpower` - Ubiquiti SmartPower + * `wpa-enterprise` - WPA Enterprise' + x-spec-enum-id: a2043acb899b3954 + title: Authentication type + auth_cipher: + enum: + - auto + - tkip + - aes + - '' + type: string + description: '* `auto` - Auto - * `hardwired` - Hardwired + * `tkip` - TKIP - * `other` - Other' - power_port: - allOf: - - $ref: '#/components/schemas/PowerPortRequest' + * `aes` - AES' + x-spec-enum-id: 8fdaefa727c26fdc + title: Authentication cipher + auth_psk: + type: string + title: Pre-shared key + maxLength: 64 + distance: + type: number + format: double + maximum: 1000000 + minimum: -1000000 + exclusiveMaximum: true + exclusiveMinimum: true nullable: true - feed_leg: + distance_unit: enum: - - A - - B - - C + - km + - m + - mi + - ft - '' type: string - x-spec-enum-id: a4902339df0b7c06 - description: 'Phase (for three-phase feeds) - + description: '* `km` - Kilometers - * `A` - A + * `m` - Meters - * `B` - B + * `mi` - Miles - * `C` - C' + * `ft` - Feet' + x-spec-enum-id: 53542e7902f946af description: type: string maxLength: 200 - mark_connected: - type: boolean - description: Treat as if a cable is connected + comments: + type: string tags: type: array items: @@ -124124,725 +177571,940 @@ components: custom_fields: type: object additionalProperties: {} - PatchedWritablePowerOutletTemplateRequest: + Platform: 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: Adds support for custom fields and tags. properties: - device_type: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display_url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + manufacturer: allOf: - - $ref: '#/components/schemas/DeviceTypeRequest' + - $ref: '#/components/schemas/BriefManufacturer' nullable: true - module_type: + config_template: allOf: - - $ref: '#/components/schemas/ModuleTypeRequest' + - $ref: '#/components/schemas/BriefConfigTemplate' nullable: true - name: + description: type: string - minLength: 1 - description: '{module} is accepted as a substitution for the module bay - position when attached to a module type.' - maxLength: 64 - label: + maxLength: 200 + tags: + type: array + items: + $ref: '#/components/schemas/NestedTag' + custom_fields: + type: object + additionalProperties: {} + created: type: string - description: Physical label - maxLength: 64 - 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 - - molex-micro-fit-1x2 - - molex-micro-fit-2x2 - - molex-micro-fit-2x4 - - dc-terminal - - hdot-cx - - saf-d-grid - - neutrik-powercon-20a - - neutrik-powercon-32a - - neutrik-powercon-true1 - - neutrik-powercon-true1-top - - ubiquiti-smartpower - - hardwired - - other - - '' + format: date-time + readOnly: true + nullable: true + last_updated: type: string - description: '* `iec-60320-c5` - C5 - - * `iec-60320-c7` - C7 - - * `iec-60320-c13` - C13 - - * `iec-60320-c15` - C15 - - * `iec-60320-c19` - C19 - - * `iec-60320-c21` - C21 - - * `iec-60309-p-n-e-4h` - P+N+E 4H - - * `iec-60309-p-n-e-6h` - P+N+E 6H - - * `iec-60309-p-n-e-9h` - P+N+E 9H - - * `iec-60309-2p-e-4h` - 2P+E 4H - - * `iec-60309-2p-e-6h` - 2P+E 6H - - * `iec-60309-2p-e-9h` - 2P+E 9H - - * `iec-60309-3p-e-4h` - 3P+E 4H - - * `iec-60309-3p-e-6h` - 3P+E 6H - - * `iec-60309-3p-e-9h` - 3P+E 9H - - * `iec-60309-3p-n-e-4h` - 3P+N+E 4H - - * `iec-60309-3p-n-e-6h` - 3P+N+E 6H - - * `iec-60309-3p-n-e-9h` - 3P+N+E 9H - - * `iec-60906-1` - IEC 60906-1 - - * `nbr-14136-10a` - 2P+T 10A (NBR 14136) - - * `nbr-14136-20a` - 2P+T 20A (NBR 14136) - - * `nema-1-15r` - NEMA 1-15R - - * `nema-5-15r` - NEMA 5-15R - - * `nema-5-20r` - NEMA 5-20R - - * `nema-5-30r` - NEMA 5-30R - - * `nema-5-50r` - NEMA 5-50R - - * `nema-6-15r` - NEMA 6-15R - - * `nema-6-20r` - NEMA 6-20R - - * `nema-6-30r` - NEMA 6-30R - - * `nema-6-50r` - NEMA 6-50R - - * `nema-10-30r` - NEMA 10-30R - - * `nema-10-50r` - NEMA 10-50R - - * `nema-14-20r` - NEMA 14-20R - - * `nema-14-30r` - NEMA 14-30R - - * `nema-14-50r` - NEMA 14-50R - - * `nema-14-60r` - NEMA 14-60R - - * `nema-15-15r` - NEMA 15-15R - - * `nema-15-20r` - NEMA 15-20R - - * `nema-15-30r` - NEMA 15-30R - - * `nema-15-50r` - NEMA 15-50R - - * `nema-15-60r` - NEMA 15-60R - - * `nema-l1-15r` - NEMA L1-15R - - * `nema-l5-15r` - NEMA L5-15R - - * `nema-l5-20r` - NEMA L5-20R - - * `nema-l5-30r` - NEMA L5-30R - - * `nema-l5-50r` - NEMA L5-50R - - * `nema-l6-15r` - NEMA L6-15R - - * `nema-l6-20r` - NEMA L6-20R - - * `nema-l6-30r` - NEMA L6-30R - - * `nema-l6-50r` - NEMA L6-50R - - * `nema-l10-30r` - NEMA L10-30R - - * `nema-l14-20r` - NEMA L14-20R - - * `nema-l14-30r` - NEMA L14-30R - - * `nema-l14-50r` - NEMA L14-50R - - * `nema-l14-60r` - NEMA L14-60R - - * `nema-l15-20r` - NEMA L15-20R - - * `nema-l15-30r` - NEMA L15-30R - - * `nema-l15-50r` - NEMA L15-50R - - * `nema-l15-60r` - NEMA L15-60R - - * `nema-l21-20r` - NEMA L21-20R - - * `nema-l21-30r` - NEMA L21-30R - - * `nema-l22-30r` - NEMA L22-30R - - * `CS6360C` - CS6360C - - * `CS6364C` - CS6364C - - * `CS8164C` - CS8164C - - * `CS8264C` - CS8264C - - * `CS8364C` - CS8364C - - * `CS8464C` - CS8464C - - * `ita-e` - ITA Type E (CEE 7/5) - - * `ita-f` - ITA Type F (CEE 7/3) - - * `ita-g` - ITA Type G (BS 1363) - - * `ita-h` - ITA Type H - - * `ita-i` - ITA Type I - - * `ita-j` - ITA Type J - - * `ita-k` - ITA Type K - - * `ita-l` - ITA Type L (CEI 23-50) - - * `ita-m` - ITA Type M (BS 546) - - * `ita-n` - ITA Type N - - * `ita-o` - ITA Type O - - * `ita-multistandard` - ITA Multistandard - - * `usb-a` - USB Type A - - * `usb-micro-b` - USB Micro B - - * `usb-c` - USB Type C - - * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 - - * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 - - * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 - - * `dc-terminal` - DC Terminal - - * `hdot-cx` - HDOT Cx - - * `saf-d-grid` - Saf-D-Grid - - * `neutrik-powercon-20a` - Neutrik powerCON (20A) + format: date-time + readOnly: true + nullable: true + device_count: + type: integer + format: int64 + readOnly: true + virtualmachine_count: + type: integer + format: int64 + readOnly: true + required: + - created + - display + - id + - last_updated + - name + - slug + - url + PlatformRequest: + type: object + description: Adds support for custom fields and tags. + properties: + name: + type: string + minLength: 1 + maxLength: 100 + slug: + type: string + minLength: 1 + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + manufacturer: + allOf: + - $ref: '#/components/schemas/BriefManufacturerRequest' + nullable: true + config_template: + allOf: + - $ref: '#/components/schemas/BriefConfigTemplateRequest' + nullable: true + description: + type: string + maxLength: 200 + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} + required: + - name + - slug + PowerFeed: + type: object + description: Adds support for custom fields and tags. + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display_url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + power_panel: + $ref: '#/components/schemas/BriefPowerPanel' + rack: + allOf: + - $ref: '#/components/schemas/BriefRack' + nullable: true + name: + type: string + maxLength: 100 + status: + type: object + properties: + value: + enum: + - offline + - active + - planned + - failed + type: string + description: '* `offline` - Offline - * `neutrik-powercon-32a` - Neutrik powerCON (32A) + * `active` - Active - * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 + * `planned` - Planned - * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP + * `failed` - Failed' + x-spec-enum-id: b77fc919138c12f6 + label: + type: string + enum: + - Offline + - Active + - Planned + - Failed + type: + type: object + properties: + value: + enum: + - primary + - redundant + type: string + description: '* `primary` - Primary - * `ubiquiti-smartpower` - Ubiquiti SmartPower + * `redundant` - Redundant' + x-spec-enum-id: 093a164236819eb8 + label: + type: string + enum: + - Primary + - Redundant + supply: + type: object + properties: + value: + enum: + - ac + - dc + type: string + description: '* `ac` - AC - * `hardwired` - Hardwired + * `dc` - DC' + x-spec-enum-id: 1b6d99616ca6412b + label: + type: string + enum: + - AC + - DC + phase: + type: object + properties: + value: + enum: + - single-phase + - three-phase + type: string + description: '* `single-phase` - Single phase - * `other` - Other' - x-spec-enum-id: 2ff919f516566857 - power_port: + * `three-phase` - Three-phase' + x-spec-enum-id: 994bc0696f4df57f + label: + type: string + enum: + - Single phase + - Three-phase + voltage: + type: integer + maximum: 32767 + minimum: -32768 + amperage: + type: integer + maximum: 32767 + minimum: 1 + max_utilization: + type: integer + maximum: 100 + minimum: 1 + description: Maximum permissible draw (percentage) + mark_connected: + type: boolean + description: Treat as if a cable is connected + cable: allOf: - - $ref: '#/components/schemas/PowerPortTemplateRequest' + - $ref: '#/components/schemas/BriefCable' + readOnly: true nullable: true - feed_leg: + cable_end: + type: string + readOnly: true + link_peers: + type: array + items: {} + readOnly: true + link_peers_type: + type: string + description: Return the type of the peer link terminations, or None. + readOnly: true + nullable: true + connected_endpoints: + type: array + items: {} + nullable: true + readOnly: true + connected_endpoints_type: + type: string + readOnly: true + nullable: true + connected_endpoints_reachable: + type: boolean + readOnly: true + description: + type: string + maxLength: 200 + tenant: + allOf: + - $ref: '#/components/schemas/BriefTenant' + nullable: true + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/NestedTag' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date-time + readOnly: true + nullable: true + last_updated: + type: string + format: date-time + readOnly: true + nullable: true + _occupied: + type: boolean + readOnly: true + title: ' occupied' + required: + - _occupied + - cable + - cable_end + - connected_endpoints + - connected_endpoints_reachable + - connected_endpoints_type + - created + - display + - id + - last_updated + - link_peers + - link_peers_type + - name + - power_panel + - url + PowerFeedRequest: + type: object + description: Adds support for custom fields and tags. + properties: + power_panel: + $ref: '#/components/schemas/BriefPowerPanelRequest' + rack: + allOf: + - $ref: '#/components/schemas/BriefRackRequest' + nullable: true + name: + type: string + minLength: 1 + maxLength: 100 + status: enum: - - A - - B - - C - - '' + - offline + - active + - planned + - failed type: string - x-spec-enum-id: a4902339df0b7c06 - description: 'Phase (for three-phase feeds) + description: '* `offline` - Offline + * `active` - Active - * `A` - A + * `planned` - Planned - * `B` - B + * `failed` - Failed' + x-spec-enum-id: b77fc919138c12f6 + type: + enum: + - primary + - redundant + type: string + description: '* `primary` - Primary - * `C` - C' + * `redundant` - Redundant' + x-spec-enum-id: 093a164236819eb8 + supply: + enum: + - ac + - dc + type: string + description: '* `ac` - AC + + * `dc` - DC' + x-spec-enum-id: 1b6d99616ca6412b + phase: + enum: + - single-phase + - three-phase + type: string + description: '* `single-phase` - Single phase + + * `three-phase` - Three-phase' + x-spec-enum-id: 994bc0696f4df57f + voltage: + type: integer + maximum: 32767 + minimum: -32768 + amperage: + type: integer + maximum: 32767 + minimum: 1 + max_utilization: + type: integer + maximum: 100 + minimum: 1 + description: Maximum permissible draw (percentage) + mark_connected: + type: boolean + description: Treat as if a cable is connected description: type: string maxLength: 200 - PatchedWritablePowerPortRequest: + tenant: + allOf: + - $ref: '#/components/schemas/BriefTenantRequest' + nullable: true + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} + required: + - name + - power_panel + PowerOutlet: type: object description: Adds support for custom fields and tags. properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display_url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true device: - $ref: '#/components/schemas/DeviceRequest' + $ref: '#/components/schemas/BriefDevice' module: allOf: - - $ref: '#/components/schemas/ModuleRequest' + - $ref: '#/components/schemas/BriefModule' nullable: true name: type: string - minLength: 1 maxLength: 64 label: type: string description: Physical label maxLength: 64 type: - 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 - - molex-micro-fit-1x2 - - molex-micro-fit-2x2 - - molex-micro-fit-2x4 - - dc-terminal - - saf-d-grid - - neutrik-powercon-20 - - neutrik-powercon-32 - - neutrik-powercon-true1 - - neutrik-powercon-true1-top - - ubiquiti-smartpower - - hardwired - - other - - '' - type: string - x-spec-enum-id: 6d680dea031864ae - description: 'Physical port type - - - * `iec-60320-c6` - C6 - - * `iec-60320-c8` - C8 - - * `iec-60320-c14` - C14 - - * `iec-60320-c16` - C16 + type: object + properties: + value: + 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-20r + - 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 + - molex-micro-fit-1x2 + - molex-micro-fit-2x2 + - molex-micro-fit-2x4 + - dc-terminal + - eaton-c39 + - hdot-cx + - saf-d-grid + - neutrik-powercon-20a + - neutrik-powercon-32a + - neutrik-powercon-true1 + - neutrik-powercon-true1-top + - ubiquiti-smartpower + - hardwired + - other + - '' + type: string + description: '* `iec-60320-c5` - C5 - * `iec-60320-c20` - C20 + * `iec-60320-c7` - C7 - * `iec-60320-c22` - C22 + * `iec-60320-c13` - C13 - * `iec-60309-p-n-e-4h` - P+N+E 4H + * `iec-60320-c15` - C15 - * `iec-60309-p-n-e-6h` - P+N+E 6H + * `iec-60320-c19` - C19 - * `iec-60309-p-n-e-9h` - P+N+E 9H + * `iec-60320-c21` - C21 - * `iec-60309-2p-e-4h` - 2P+E 4H + * `iec-60309-p-n-e-4h` - P+N+E 4H - * `iec-60309-2p-e-6h` - 2P+E 6H + * `iec-60309-p-n-e-6h` - P+N+E 6H - * `iec-60309-2p-e-9h` - 2P+E 9H + * `iec-60309-p-n-e-9h` - P+N+E 9H - * `iec-60309-3p-e-4h` - 3P+E 4H + * `iec-60309-2p-e-4h` - 2P+E 4H - * `iec-60309-3p-e-6h` - 3P+E 6H + * `iec-60309-2p-e-6h` - 2P+E 6H - * `iec-60309-3p-e-9h` - 3P+E 9H + * `iec-60309-2p-e-9h` - 2P+E 9H - * `iec-60309-3p-n-e-4h` - 3P+N+E 4H + * `iec-60309-3p-e-4h` - 3P+E 4H - * `iec-60309-3p-n-e-6h` - 3P+N+E 6H + * `iec-60309-3p-e-6h` - 3P+E 6H - * `iec-60309-3p-n-e-9h` - 3P+N+E 9H + * `iec-60309-3p-e-9h` - 3P+E 9H - * `iec-60906-1` - IEC 60906-1 + * `iec-60309-3p-n-e-4h` - 3P+N+E 4H - * `nbr-14136-10a` - 2P+T 10A (NBR 14136) + * `iec-60309-3p-n-e-6h` - 3P+N+E 6H - * `nbr-14136-20a` - 2P+T 20A (NBR 14136) + * `iec-60309-3p-n-e-9h` - 3P+N+E 9H - * `nema-1-15p` - NEMA 1-15P + * `iec-60906-1` - IEC 60906-1 - * `nema-5-15p` - NEMA 5-15P + * `nbr-14136-10a` - 2P+T 10A (NBR 14136) - * `nema-5-20p` - NEMA 5-20P + * `nbr-14136-20a` - 2P+T 20A (NBR 14136) - * `nema-5-30p` - NEMA 5-30P + * `nema-1-15r` - NEMA 1-15R - * `nema-5-50p` - NEMA 5-50P + * `nema-5-15r` - NEMA 5-15R - * `nema-6-15p` - NEMA 6-15P + * `nema-5-20r` - NEMA 5-20R - * `nema-6-20p` - NEMA 6-20P + * `nema-5-30r` - NEMA 5-30R - * `nema-6-30p` - NEMA 6-30P + * `nema-5-50r` - NEMA 5-50R - * `nema-6-50p` - NEMA 6-50P + * `nema-6-15r` - NEMA 6-15R - * `nema-10-30p` - NEMA 10-30P + * `nema-6-20r` - NEMA 6-20R - * `nema-10-50p` - NEMA 10-50P + * `nema-6-30r` - NEMA 6-30R - * `nema-14-20p` - NEMA 14-20P + * `nema-6-50r` - NEMA 6-50R - * `nema-14-30p` - NEMA 14-30P + * `nema-10-30r` - NEMA 10-30R - * `nema-14-50p` - NEMA 14-50P + * `nema-10-50r` - NEMA 10-50R - * `nema-14-60p` - NEMA 14-60P + * `nema-14-20r` - NEMA 14-20R - * `nema-15-15p` - NEMA 15-15P + * `nema-14-30r` - NEMA 14-30R - * `nema-15-20p` - NEMA 15-20P + * `nema-14-50r` - NEMA 14-50R - * `nema-15-30p` - NEMA 15-30P + * `nema-14-60r` - NEMA 14-60R - * `nema-15-50p` - NEMA 15-50P + * `nema-15-15r` - NEMA 15-15R - * `nema-15-60p` - NEMA 15-60P + * `nema-15-20r` - NEMA 15-20R - * `nema-l1-15p` - NEMA L1-15P + * `nema-15-30r` - NEMA 15-30R - * `nema-l5-15p` - NEMA L5-15P + * `nema-15-50r` - NEMA 15-50R - * `nema-l5-20p` - NEMA L5-20P + * `nema-15-60r` - NEMA 15-60R - * `nema-l5-30p` - NEMA L5-30P + * `nema-l1-15r` - NEMA L1-15R - * `nema-l5-50p` - NEMA L5-50P + * `nema-l5-15r` - NEMA L5-15R - * `nema-l6-15p` - NEMA L6-15P + * `nema-l5-20r` - NEMA L5-20R - * `nema-l6-20p` - NEMA L6-20P + * `nema-l5-30r` - NEMA L5-30R - * `nema-l6-30p` - NEMA L6-30P + * `nema-l5-50r` - NEMA L5-50R - * `nema-l6-50p` - NEMA L6-50P + * `nema-l6-15r` - NEMA L6-15R - * `nema-l10-30p` - NEMA L10-30P + * `nema-l6-20r` - NEMA L6-20R - * `nema-l14-20p` - NEMA L14-20P + * `nema-l6-30r` - NEMA L6-30R - * `nema-l14-30p` - NEMA L14-30P + * `nema-l6-50r` - NEMA L6-50R - * `nema-l14-50p` - NEMA L14-50P + * `nema-l10-30r` - NEMA L10-30R - * `nema-l14-60p` - NEMA L14-60P + * `nema-l14-20r` - NEMA L14-20R - * `nema-l15-20p` - NEMA L15-20P + * `nema-l14-30r` - NEMA L14-30R - * `nema-l15-30p` - NEMA L15-30P + * `nema-l14-50r` - NEMA L14-50R - * `nema-l15-50p` - NEMA L15-50P + * `nema-l14-60r` - NEMA L14-60R - * `nema-l15-60p` - NEMA L15-60P + * `nema-l15-20r` - NEMA L15-20R - * `nema-l21-20p` - NEMA L21-20P + * `nema-l15-30r` - NEMA L15-30R - * `nema-l21-30p` - NEMA L21-30P + * `nema-l15-50r` - NEMA L15-50R - * `nema-l22-30p` - NEMA L22-30P + * `nema-l15-60r` - NEMA L15-60R - * `cs6361c` - CS6361C + * `nema-l21-20r` - NEMA L21-20R - * `cs6365c` - CS6365C + * `nema-l21-30r` - NEMA L21-30R - * `cs8165c` - CS8165C + * `nema-l22-20r` - NEMA L22-20R - * `cs8265c` - CS8265C + * `nema-l22-30r` - NEMA L22-30R - * `cs8365c` - CS8365C + * `CS6360C` - CS6360C - * `cs8465c` - CS8465C + * `CS6364C` - CS6364C - * `ita-c` - ITA Type C (CEE 7/16) + * `CS8164C` - CS8164C - * `ita-e` - ITA Type E (CEE 7/6) + * `CS8264C` - CS8264C - * `ita-f` - ITA Type F (CEE 7/4) + * `CS8364C` - CS8364C - * `ita-ef` - ITA Type E/F (CEE 7/7) + * `CS8464C` - CS8464C - * `ita-g` - ITA Type G (BS 1363) + * `ita-e` - ITA Type E (CEE 7/5) - * `ita-h` - ITA Type H + * `ita-f` - ITA Type F (CEE 7/3) - * `ita-i` - ITA Type I + * `ita-g` - ITA Type G (BS 1363) - * `ita-j` - ITA Type J + * `ita-h` - ITA Type H - * `ita-k` - ITA Type K + * `ita-i` - ITA Type I - * `ita-l` - ITA Type L (CEI 23-50) + * `ita-j` - ITA Type J - * `ita-m` - ITA Type M (BS 546) + * `ita-k` - ITA Type K - * `ita-n` - ITA Type N + * `ita-l` - ITA Type L (CEI 23-50) - * `ita-o` - ITA Type O + * `ita-m` - ITA Type M (BS 546) - * `usb-a` - USB Type A + * `ita-n` - ITA Type N - * `usb-b` - USB Type B + * `ita-o` - ITA Type O - * `usb-c` - USB Type C + * `ita-multistandard` - ITA Multistandard - * `usb-mini-a` - USB Mini A + * `usb-a` - USB Type A - * `usb-mini-b` - USB Mini B + * `usb-micro-b` - USB Micro B - * `usb-micro-a` - USB Micro A + * `usb-c` - USB Type C - * `usb-micro-b` - USB Micro B + * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 - * `usb-micro-ab` - USB Micro AB + * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 - * `usb-3-b` - USB 3.0 Type B + * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 - * `usb-3-micro-b` - USB 3.0 Micro B + * `dc-terminal` - DC Terminal - * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 + * `eaton-c39` - Eaton C39 - * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 + * `hdot-cx` - HDOT Cx - * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 + * `saf-d-grid` - Saf-D-Grid - * `dc-terminal` - DC Terminal + * `neutrik-powercon-20a` - Neutrik powerCON (20A) - * `saf-d-grid` - Saf-D-Grid + * `neutrik-powercon-32a` - Neutrik powerCON (32A) - * `neutrik-powercon-20` - Neutrik powerCON (20A) + * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 - * `neutrik-powercon-32` - Neutrik powerCON (32A) + * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP - * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 + * `ubiquiti-smartpower` - Ubiquiti SmartPower - * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP + * `hardwired` - Hardwired - * `ubiquiti-smartpower` - Ubiquiti SmartPower + * `other` - Other' + x-spec-enum-id: f8c08053f2db8830 + label: + type: string + enum: + - C5 + - C7 + - C13 + - C15 + - C19 + - C21 + - P+N+E 4H + - P+N+E 6H + - P+N+E 9H + - 2P+E 4H + - 2P+E 6H + - 2P+E 9H + - 3P+E 4H + - 3P+E 6H + - 3P+E 9H + - 3P+N+E 4H + - 3P+N+E 6H + - 3P+N+E 9H + - IEC 60906-1 + - 2P+T 10A (NBR 14136) + - 2P+T 20A (NBR 14136) + - 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-20R + - NEMA L22-30R + - CS6360C + - CS6364C + - CS8164C + - CS8264C + - CS8364C + - CS8464C + - ITA Type E (CEE 7/5) + - ITA Type F (CEE 7/3) + - ITA Type G (BS 1363) + - ITA Type H + - ITA Type I + - ITA Type J + - ITA Type K + - ITA Type L (CEI 23-50) + - ITA Type M (BS 546) + - ITA Type N + - ITA Type O + - ITA Multistandard + - USB Type A + - USB Micro B + - USB Type C + - Molex Micro-Fit 1x2 + - Molex Micro-Fit 2x2 + - Molex Micro-Fit 2x4 + - DC Terminal + - Eaton C39 + - HDOT Cx + - Saf-D-Grid + - Neutrik powerCON (20A) + - Neutrik powerCON (32A) + - Neutrik powerCON TRUE1 + - Neutrik powerCON TRUE1 TOP + - Ubiquiti SmartPower + - Hardwired + - Other + nullable: true + power_port: + allOf: + - $ref: '#/components/schemas/BriefPowerPort' + nullable: true + feed_leg: + type: object + properties: + value: + enum: + - A + - B + - C + - '' + type: string + description: '* `A` - A - * `hardwired` - Hardwired + * `B` - B - * `other` - Other' - maximum_draw: - type: integer - maximum: 2147483647 - minimum: 1 - nullable: true - description: Maximum power draw (watts) - allocated_draw: - type: integer - maximum: 2147483647 - minimum: 1 + * `C` - C' + x-spec-enum-id: a4902339df0b7c06 + label: + type: string + enum: + - A + - B + - C nullable: true - description: Allocated power draw (watts) description: type: string maxLength: 200 mark_connected: type: boolean description: Treat as if a cable is connected + cable: + allOf: + - $ref: '#/components/schemas/BriefCable' + readOnly: true + nullable: true + cable_end: + type: string + readOnly: true + link_peers: + type: array + items: {} + readOnly: true + link_peers_type: + type: string + description: Return the type of the peer link terminations, or None. + readOnly: true + nullable: true + connected_endpoints: + type: array + items: {} + nullable: true + readOnly: true + connected_endpoints_type: + type: string + readOnly: true + nullable: true + connected_endpoints_reachable: + type: boolean + readOnly: true tags: type: array items: - $ref: '#/components/schemas/NestedTagRequest' + $ref: '#/components/schemas/NestedTag' custom_fields: type: object additionalProperties: {} - PatchedWritablePowerPortTemplateRequest: + created: + type: string + format: date-time + readOnly: true + nullable: true + last_updated: + type: string + format: date-time + readOnly: true + nullable: true + _occupied: + type: boolean + readOnly: true + title: ' occupied' + required: + - _occupied + - cable + - cable_end + - connected_endpoints + - connected_endpoints_reachable + - connected_endpoints_type + - created + - device + - display + - id + - last_updated + - link_peers + - link_peers_type + - name + - url + PowerOutletRequest: 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: Adds support for custom fields and tags. properties: - device_type: - allOf: - - $ref: '#/components/schemas/DeviceTypeRequest' - nullable: true - module_type: + device: + $ref: '#/components/schemas/BriefDeviceRequest' + module: allOf: - - $ref: '#/components/schemas/ModuleTypeRequest' + - $ref: '#/components/schemas/BriefModuleRequest' nullable: true name: type: string minLength: 1 - description: '{module} is accepted as a substitution for the module bay - position when attached to a module type.' maxLength: 64 label: type: string @@ -124850,12 +178512,12 @@ components: maxLength: 64 type: enum: - - iec-60320-c6 - - iec-60320-c8 - - iec-60320-c14 - - iec-60320-c16 - - iec-60320-c20 - - iec-60320-c22 + - 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 @@ -124871,57 +178533,56 @@ components: - 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 + - 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-20r + - nema-l22-30r + - CS6360C + - CS6364C + - CS8164C + - CS8264C + - CS8364C + - CS8464C - ita-e - ita-f - - ita-ef - ita-g - ita-h - ita-i @@ -124931,23 +178592,19 @@ components: - ita-m - ita-n - ita-o + - ita-multistandard - 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 + - usb-c - molex-micro-fit-1x2 - molex-micro-fit-2x2 - molex-micro-fit-2x4 - dc-terminal + - eaton-c39 + - hdot-cx - saf-d-grid - - neutrik-powercon-20 - - neutrik-powercon-32 + - neutrik-powercon-20a + - neutrik-powercon-32a - neutrik-powercon-true1 - neutrik-powercon-true1-top - ubiquiti-smartpower @@ -124955,17 +178612,17 @@ components: - other - '' type: string - description: '* `iec-60320-c6` - C6 + description: '* `iec-60320-c5` - C5 - * `iec-60320-c8` - C8 + * `iec-60320-c7` - C7 - * `iec-60320-c14` - C14 + * `iec-60320-c13` - C13 - * `iec-60320-c16` - C16 + * `iec-60320-c15` - C15 - * `iec-60320-c20` - C20 + * `iec-60320-c19` - C19 - * `iec-60320-c22` - C22 + * `iec-60320-c21` - C21 * `iec-60309-p-n-e-4h` - P+N+E 4H @@ -124997,107 +178654,105 @@ components: * `nbr-14136-20a` - 2P+T 20A (NBR 14136) - * `nema-1-15p` - NEMA 1-15P - - * `nema-5-15p` - NEMA 5-15P + * `nema-1-15r` - NEMA 1-15R - * `nema-5-20p` - NEMA 5-20P + * `nema-5-15r` - NEMA 5-15R - * `nema-5-30p` - NEMA 5-30P + * `nema-5-20r` - NEMA 5-20R - * `nema-5-50p` - NEMA 5-50P + * `nema-5-30r` - NEMA 5-30R - * `nema-6-15p` - NEMA 6-15P + * `nema-5-50r` - NEMA 5-50R - * `nema-6-20p` - NEMA 6-20P + * `nema-6-15r` - NEMA 6-15R - * `nema-6-30p` - NEMA 6-30P + * `nema-6-20r` - NEMA 6-20R - * `nema-6-50p` - NEMA 6-50P + * `nema-6-30r` - NEMA 6-30R - * `nema-10-30p` - NEMA 10-30P + * `nema-6-50r` - NEMA 6-50R - * `nema-10-50p` - NEMA 10-50P + * `nema-10-30r` - NEMA 10-30R - * `nema-14-20p` - NEMA 14-20P + * `nema-10-50r` - NEMA 10-50R - * `nema-14-30p` - NEMA 14-30P + * `nema-14-20r` - NEMA 14-20R - * `nema-14-50p` - NEMA 14-50P + * `nema-14-30r` - NEMA 14-30R - * `nema-14-60p` - NEMA 14-60P + * `nema-14-50r` - NEMA 14-50R - * `nema-15-15p` - NEMA 15-15P + * `nema-14-60r` - NEMA 14-60R - * `nema-15-20p` - NEMA 15-20P + * `nema-15-15r` - NEMA 15-15R - * `nema-15-30p` - NEMA 15-30P + * `nema-15-20r` - NEMA 15-20R - * `nema-15-50p` - NEMA 15-50P + * `nema-15-30r` - NEMA 15-30R - * `nema-15-60p` - NEMA 15-60P + * `nema-15-50r` - NEMA 15-50R - * `nema-l1-15p` - NEMA L1-15P + * `nema-15-60r` - NEMA 15-60R - * `nema-l5-15p` - NEMA L5-15P + * `nema-l1-15r` - NEMA L1-15R - * `nema-l5-20p` - NEMA L5-20P + * `nema-l5-15r` - NEMA L5-15R - * `nema-l5-30p` - NEMA L5-30P + * `nema-l5-20r` - NEMA L5-20R - * `nema-l5-50p` - NEMA L5-50P + * `nema-l5-30r` - NEMA L5-30R - * `nema-l6-15p` - NEMA L6-15P + * `nema-l5-50r` - NEMA L5-50R - * `nema-l6-20p` - NEMA L6-20P + * `nema-l6-15r` - NEMA L6-15R - * `nema-l6-30p` - NEMA L6-30P + * `nema-l6-20r` - NEMA L6-20R - * `nema-l6-50p` - NEMA L6-50P + * `nema-l6-30r` - NEMA L6-30R - * `nema-l10-30p` - NEMA L10-30P + * `nema-l6-50r` - NEMA L6-50R - * `nema-l14-20p` - NEMA L14-20P + * `nema-l10-30r` - NEMA L10-30R - * `nema-l14-30p` - NEMA L14-30P + * `nema-l14-20r` - NEMA L14-20R - * `nema-l14-50p` - NEMA L14-50P + * `nema-l14-30r` - NEMA L14-30R - * `nema-l14-60p` - NEMA L14-60P + * `nema-l14-50r` - NEMA L14-50R - * `nema-l15-20p` - NEMA L15-20P + * `nema-l14-60r` - NEMA L14-60R - * `nema-l15-30p` - NEMA L15-30P + * `nema-l15-20r` - NEMA L15-20R - * `nema-l15-50p` - NEMA L15-50P + * `nema-l15-30r` - NEMA L15-30R - * `nema-l15-60p` - NEMA L15-60P + * `nema-l15-50r` - NEMA L15-50R - * `nema-l21-20p` - NEMA L21-20P + * `nema-l15-60r` - NEMA L15-60R - * `nema-l21-30p` - NEMA L21-30P + * `nema-l21-20r` - NEMA L21-20R - * `nema-l22-30p` - NEMA L22-30P + * `nema-l21-30r` - NEMA L21-30R - * `cs6361c` - CS6361C + * `nema-l22-20r` - NEMA L22-20R - * `cs6365c` - CS6365C + * `nema-l22-30r` - NEMA L22-30R - * `cs8165c` - CS8165C + * `CS6360C` - CS6360C - * `cs8265c` - CS8265C + * `CS6364C` - CS6364C - * `cs8365c` - CS8365C + * `CS8164C` - CS8164C - * `cs8465c` - CS8465C + * `CS8264C` - CS8264C - * `ita-c` - ITA Type C (CEE 7/16) + * `CS8364C` - CS8364C - * `ita-e` - ITA Type E (CEE 7/6) + * `CS8464C` - CS8464C - * `ita-f` - ITA Type F (CEE 7/4) + * `ita-e` - ITA Type E (CEE 7/5) - * `ita-ef` - ITA Type E/F (CEE 7/7) + * `ita-f` - ITA Type F (CEE 7/3) * `ita-g` - ITA Type G (BS 1363) @@ -125117,25 +178772,13 @@ components: * `ita-o` - ITA Type O - * `usb-a` - USB Type A - - * `usb-b` - USB Type B - - * `usb-c` - USB Type C - - * `usb-mini-a` - USB Mini A - - * `usb-mini-b` - USB Mini B + * `ita-multistandard` - ITA Multistandard - * `usb-micro-a` - USB Micro A + * `usb-a` - USB Type A * `usb-micro-b` - USB Micro B - * `usb-micro-ab` - USB Micro AB - - * `usb-3-b` - USB 3.0 Type B - - * `usb-3-micro-b` - USB 3.0 Micro B + * `usb-c` - USB Type C * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 @@ -125145,11 +178788,15 @@ components: * `dc-terminal` - DC Terminal + * `eaton-c39` - Eaton C39 + + * `hdot-cx` - HDOT Cx + * `saf-d-grid` - Saf-D-Grid - * `neutrik-powercon-20` - Neutrik powerCON (20A) + * `neutrik-powercon-20a` - Neutrik powerCON (20A) - * `neutrik-powercon-32` - Neutrik powerCON (32A) + * `neutrik-powercon-32a` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 @@ -125160,79 +178807,32 @@ components: * `hardwired` - Hardwired * `other` - Other' - x-spec-enum-id: 6d680dea031864ae - maximum_draw: - type: integer - maximum: 2147483647 - minimum: 1 - nullable: true - description: Maximum power draw (watts) - allocated_draw: - type: integer - maximum: 2147483647 - minimum: 1 - nullable: true - description: Allocated power draw (watts) - description: - type: string - maxLength: 200 - PatchedWritablePrefixRequest: - type: object - description: Adds support for custom fields and tags. - properties: - prefix: - type: string - minLength: 1 - site: - allOf: - - $ref: '#/components/schemas/SiteRequest' - nullable: true - vrf: - allOf: - - $ref: '#/components/schemas/VRFRequest' - nullable: true - tenant: - allOf: - - $ref: '#/components/schemas/TenantRequest' + x-spec-enum-id: f8c08053f2db8830 nullable: true - vlan: + power_port: allOf: - - $ref: '#/components/schemas/VLANRequest' + - $ref: '#/components/schemas/BriefPowerPortRequest' nullable: true - status: + feed_leg: enum: - - container - - active - - reserved - - deprecated + - A + - B + - C + - '' type: string - x-spec-enum-id: d38bee5f512701d9 - description: 'Operational status of this prefix - - - * `container` - Container - - * `active` - Active + description: '* `A` - A - * `reserved` - Reserved + * `B` - B - * `deprecated` - Deprecated' - role: - allOf: - - $ref: '#/components/schemas/RoleRequest' + * `C` - C' + x-spec-enum-id: a4902339df0b7c06 nullable: true - is_pool: - type: boolean - title: Is a pool - description: All IP addresses within this prefix are considered usable - mark_utilized: - type: boolean - description: Treat as fully utilized description: type: string maxLength: 200 - comments: - type: string + mark_connected: + type: boolean + description: Treat as if a cable is connected tags: type: array items: @@ -125240,375 +178840,494 @@ components: custom_fields: type: object additionalProperties: {} - PatchedWritableRackRequest: + required: + - device + - name + PowerOutletTemplate: type: object - description: Adds support for custom fields and tags. + 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: - name: + id: + type: integer + readOnly: true + url: type: string - minLength: 1 - maxLength: 100 - facility_id: + format: uri + readOnly: true + display: type: string - nullable: true - maxLength: 50 - site: - $ref: '#/components/schemas/SiteRequest' - location: + readOnly: true + device_type: allOf: - - $ref: '#/components/schemas/LocationRequest' + - $ref: '#/components/schemas/BriefDeviceType' nullable: true - tenant: + module_type: allOf: - - $ref: '#/components/schemas/TenantRequest' + - $ref: '#/components/schemas/BriefModuleType' nullable: true - status: - enum: - - reserved - - available - - planned - - active - - deprecated + name: type: string - description: '* `reserved` - Reserved + description: '{module} is accepted as a substitution for the module bay + position when attached to a module type.' + maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + type: + type: object + properties: + value: + 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-20r + - 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 + - molex-micro-fit-1x2 + - molex-micro-fit-2x2 + - molex-micro-fit-2x4 + - dc-terminal + - eaton-c39 + - hdot-cx + - saf-d-grid + - neutrik-powercon-20a + - neutrik-powercon-32a + - neutrik-powercon-true1 + - neutrik-powercon-true1-top + - ubiquiti-smartpower + - hardwired + - other + - '' + type: string + description: '* `iec-60320-c5` - C5 - * `available` - Available + * `iec-60320-c7` - C7 - * `planned` - Planned + * `iec-60320-c13` - C13 - * `active` - Active + * `iec-60320-c15` - C15 - * `deprecated` - Deprecated' - x-spec-enum-id: 0c556d55dc1baa13 - role: - allOf: - - $ref: '#/components/schemas/RackRoleRequest' - nullable: true - serial: - type: string - title: Serial number - maxLength: 50 - asset_tag: - type: string - nullable: true - description: A unique tag used to identify this rack - maxLength: 50 - type: - enum: - - 2-post-frame - - 4-post-frame - - 4-post-cabinet - - wall-frame - - wall-frame-vertical - - wall-cabinet - - wall-cabinet-vertical - - '' - type: string - description: '* `2-post-frame` - 2-post frame + * `iec-60320-c19` - C19 - * `4-post-frame` - 4-post frame + * `iec-60320-c21` - C21 - * `4-post-cabinet` - 4-post cabinet + * `iec-60309-p-n-e-4h` - P+N+E 4H - * `wall-frame` - Wall-mounted frame + * `iec-60309-p-n-e-6h` - P+N+E 6H - * `wall-frame-vertical` - Wall-mounted frame (vertical) + * `iec-60309-p-n-e-9h` - P+N+E 9H - * `wall-cabinet` - Wall-mounted cabinet + * `iec-60309-2p-e-4h` - 2P+E 4H - * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical)' - x-spec-enum-id: e32aaa89a223f2ea - width: - enum: - - 10 - - 19 - - 21 - - 23 - type: integer - x-spec-enum-id: 9b322795f297a9c3 - description: 'Rail-to-rail width + * `iec-60309-2p-e-6h` - 2P+E 6H + * `iec-60309-2p-e-9h` - 2P+E 9H - * `10` - 10 inches + * `iec-60309-3p-e-4h` - 3P+E 4H - * `19` - 19 inches + * `iec-60309-3p-e-6h` - 3P+E 6H - * `21` - 21 inches + * `iec-60309-3p-e-9h` - 3P+E 9H - * `23` - 23 inches' - minimum: 0 - maximum: 32767 - u_height: - type: integer - maximum: 100 - minimum: 1 - title: Height (U) - description: Height in rack units - starting_unit: - type: integer - maximum: 32767 - minimum: 1 - description: Starting unit for rack - weight: - type: number - format: double - maximum: 1000000 - minimum: -1000000 - exclusiveMaximum: true - exclusiveMinimum: true - nullable: true - max_weight: - type: integer - maximum: 2147483647 - minimum: 0 - nullable: true - description: Maximum load capacity for the rack - weight_unit: - enum: - - kg - - g - - lb - - oz - - '' - type: string - description: '* `kg` - Kilograms + * `iec-60309-3p-n-e-4h` - 3P+N+E 4H - * `g` - Grams + * `iec-60309-3p-n-e-6h` - 3P+N+E 6H - * `lb` - Pounds + * `iec-60309-3p-n-e-9h` - 3P+N+E 9H - * `oz` - Ounces' - x-spec-enum-id: 7c1876f422815884 - desc_units: - type: boolean - title: Descending units - description: Units are numbered top-to-bottom - outer_width: - type: integer - maximum: 32767 - minimum: 0 - nullable: true - description: Outer dimension of rack (width) - outer_depth: - type: integer - maximum: 32767 - minimum: 0 - nullable: true - description: Outer dimension of rack (depth) - outer_unit: - enum: - - mm - - in - - '' - type: string - description: '* `mm` - Millimeters + * `iec-60906-1` - IEC 60906-1 - * `in` - Inches' - x-spec-enum-id: 86a846b6c40f495e - mounting_depth: - type: integer - maximum: 32767 - minimum: 0 - nullable: true - description: Maximum depth of a mounted device, in millimeters. For four-post - racks, this is the distance between the front and rear rails. - description: - type: string - maxLength: 200 - comments: - type: string - tags: - type: array - items: - $ref: '#/components/schemas/NestedTagRequest' - custom_fields: - type: object - additionalProperties: {} - PatchedWritableRearPortRequest: - type: object - description: Adds support for custom fields and tags. - properties: - device: - $ref: '#/components/schemas/DeviceRequest' - module: - allOf: - - $ref: '#/components/schemas/ModuleRequest' - nullable: true - name: - type: string - minLength: 1 - maxLength: 64 - label: - type: string - description: Physical label - maxLength: 64 - type: - enum: - - 8p8c - - 8p6c - - 8p4c - - 8p2c - - 6p6c - - 6p4c - - 6p2c - - 4p4c - - 4p2c - - gg45 - - tera-4p - - tera-2p - - tera-1p - - 110-punch - - bnc - - f - - n - - mrj21 - - fc - - lc - - lc-pc - - lc-upc - - lc-apc - - lsh - - lsh-pc - - lsh-upc - - lsh-apc - - lx5 - - lx5-pc - - lx5-upc - - lx5-apc - - mpo - - mtrj - - sc - - sc-pc - - sc-upc - - sc-apc - - st - - cs - - sn - - sma-905 - - sma-906 - - urm-p2 - - urm-p4 - - urm-p8 - - splice - - other - type: string - description: '* `8p8c` - 8P8C + * `nbr-14136-10a` - 2P+T 10A (NBR 14136) - * `8p6c` - 8P6C + * `nbr-14136-20a` - 2P+T 20A (NBR 14136) - * `8p4c` - 8P4C + * `nema-1-15r` - NEMA 1-15R - * `8p2c` - 8P2C + * `nema-5-15r` - NEMA 5-15R - * `6p6c` - 6P6C + * `nema-5-20r` - NEMA 5-20R - * `6p4c` - 6P4C + * `nema-5-30r` - NEMA 5-30R - * `6p2c` - 6P2C + * `nema-5-50r` - NEMA 5-50R - * `4p4c` - 4P4C + * `nema-6-15r` - NEMA 6-15R - * `4p2c` - 4P2C + * `nema-6-20r` - NEMA 6-20R - * `gg45` - GG45 + * `nema-6-30r` - NEMA 6-30R - * `tera-4p` - TERA 4P + * `nema-6-50r` - NEMA 6-50R - * `tera-2p` - TERA 2P + * `nema-10-30r` - NEMA 10-30R - * `tera-1p` - TERA 1P + * `nema-10-50r` - NEMA 10-50R - * `110-punch` - 110 Punch + * `nema-14-20r` - NEMA 14-20R - * `bnc` - BNC + * `nema-14-30r` - NEMA 14-30R - * `f` - F Connector + * `nema-14-50r` - NEMA 14-50R - * `n` - N Connector + * `nema-14-60r` - NEMA 14-60R - * `mrj21` - MRJ21 + * `nema-15-15r` - NEMA 15-15R - * `fc` - FC + * `nema-15-20r` - NEMA 15-20R - * `lc` - LC + * `nema-15-30r` - NEMA 15-30R - * `lc-pc` - LC/PC + * `nema-15-50r` - NEMA 15-50R - * `lc-upc` - LC/UPC + * `nema-15-60r` - NEMA 15-60R - * `lc-apc` - LC/APC + * `nema-l1-15r` - NEMA L1-15R - * `lsh` - LSH + * `nema-l5-15r` - NEMA L5-15R - * `lsh-pc` - LSH/PC + * `nema-l5-20r` - NEMA L5-20R - * `lsh-upc` - LSH/UPC + * `nema-l5-30r` - NEMA L5-30R - * `lsh-apc` - LSH/APC + * `nema-l5-50r` - NEMA L5-50R - * `lx5` - LX.5 + * `nema-l6-15r` - NEMA L6-15R - * `lx5-pc` - LX.5/PC + * `nema-l6-20r` - NEMA L6-20R - * `lx5-upc` - LX.5/UPC + * `nema-l6-30r` - NEMA L6-30R - * `lx5-apc` - LX.5/APC + * `nema-l6-50r` - NEMA L6-50R - * `mpo` - MPO + * `nema-l10-30r` - NEMA L10-30R - * `mtrj` - MTRJ + * `nema-l14-20r` - NEMA L14-20R - * `sc` - SC + * `nema-l14-30r` - NEMA L14-30R - * `sc-pc` - SC/PC + * `nema-l14-50r` - NEMA L14-50R - * `sc-upc` - SC/UPC + * `nema-l14-60r` - NEMA L14-60R - * `sc-apc` - SC/APC + * `nema-l15-20r` - NEMA L15-20R - * `st` - ST + * `nema-l15-30r` - NEMA L15-30R - * `cs` - CS + * `nema-l15-50r` - NEMA L15-50R - * `sn` - SN + * `nema-l15-60r` - NEMA L15-60R - * `sma-905` - SMA 905 + * `nema-l21-20r` - NEMA L21-20R - * `sma-906` - SMA 906 + * `nema-l21-30r` - NEMA L21-30R - * `urm-p2` - URM-P2 + * `nema-l22-20r` - NEMA L22-20R - * `urm-p4` - URM-P4 + * `nema-l22-30r` - NEMA L22-30R - * `urm-p8` - URM-P8 + * `CS6360C` - CS6360C - * `splice` - Splice + * `CS6364C` - CS6364C - * `other` - Other' - x-spec-enum-id: 0276d1110ada597a - color: - type: string - pattern: ^[0-9a-f]{6}$ - maxLength: 6 - positions: - type: integer - maximum: 1024 - minimum: 1 - description: Number of front ports which may be mapped + * `CS8164C` - CS8164C + + * `CS8264C` - CS8264C + + * `CS8364C` - CS8364C + + * `CS8464C` - CS8464C + + * `ita-e` - ITA Type E (CEE 7/5) + + * `ita-f` - ITA Type F (CEE 7/3) + + * `ita-g` - ITA Type G (BS 1363) + + * `ita-h` - ITA Type H + + * `ita-i` - ITA Type I + + * `ita-j` - ITA Type J + + * `ita-k` - ITA Type K + + * `ita-l` - ITA Type L (CEI 23-50) + + * `ita-m` - ITA Type M (BS 546) + + * `ita-n` - ITA Type N + + * `ita-o` - ITA Type O + + * `ita-multistandard` - ITA Multistandard + + * `usb-a` - USB Type A + + * `usb-micro-b` - USB Micro B + + * `usb-c` - USB Type C + + * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 + + * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 + + * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 + + * `dc-terminal` - DC Terminal + + * `eaton-c39` - Eaton C39 + + * `hdot-cx` - HDOT Cx + + * `saf-d-grid` - Saf-D-Grid + + * `neutrik-powercon-20a` - Neutrik powerCON (20A) + + * `neutrik-powercon-32a` - Neutrik powerCON (32A) + + * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 + + * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP + + * `ubiquiti-smartpower` - Ubiquiti SmartPower + + * `hardwired` - Hardwired + + * `other` - Other' + x-spec-enum-id: f8c08053f2db8830 + label: + type: string + enum: + - C5 + - C7 + - C13 + - C15 + - C19 + - C21 + - P+N+E 4H + - P+N+E 6H + - P+N+E 9H + - 2P+E 4H + - 2P+E 6H + - 2P+E 9H + - 3P+E 4H + - 3P+E 6H + - 3P+E 9H + - 3P+N+E 4H + - 3P+N+E 6H + - 3P+N+E 9H + - IEC 60906-1 + - 2P+T 10A (NBR 14136) + - 2P+T 20A (NBR 14136) + - 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-20R + - NEMA L22-30R + - CS6360C + - CS6364C + - CS8164C + - CS8264C + - CS8364C + - CS8464C + - ITA Type E (CEE 7/5) + - ITA Type F (CEE 7/3) + - ITA Type G (BS 1363) + - ITA Type H + - ITA Type I + - ITA Type J + - ITA Type K + - ITA Type L (CEI 23-50) + - ITA Type M (BS 546) + - ITA Type N + - ITA Type O + - ITA Multistandard + - USB Type A + - USB Micro B + - USB Type C + - Molex Micro-Fit 1x2 + - Molex Micro-Fit 2x2 + - Molex Micro-Fit 2x4 + - DC Terminal + - Eaton C39 + - HDOT Cx + - Saf-D-Grid + - Neutrik powerCON (20A) + - Neutrik powerCON (32A) + - Neutrik powerCON TRUE1 + - Neutrik powerCON TRUE1 TOP + - Ubiquiti SmartPower + - Hardwired + - Other + nullable: true + power_port: + allOf: + - $ref: '#/components/schemas/BriefPowerPortTemplate' + nullable: true + feed_leg: + type: object + properties: + value: + enum: + - A + - B + - C + - '' + type: string + description: '* `A` - A + + * `B` - B + + * `C` - C' + x-spec-enum-id: a4902339df0b7c06 + label: + type: string + enum: + - A + - B + - C + nullable: true description: type: string maxLength: 200 - mark_connected: - type: boolean - description: Treat as if a cable is connected - tags: - type: array - items: - $ref: '#/components/schemas/NestedTagRequest' - custom_fields: - type: object - additionalProperties: {} - PatchedWritableRearPortTemplateRequest: + created: + type: string + format: date-time + readOnly: true + nullable: true + last_updated: + type: string + format: date-time + readOnly: true + nullable: true + required: + - created + - display + - id + - last_updated + - name + - url + PowerOutletTemplateRequest: type: object description: 'Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during @@ -125617,11 +179336,11 @@ components: properties: device_type: allOf: - - $ref: '#/components/schemas/DeviceTypeRequest' + - $ref: '#/components/schemas/BriefDeviceTypeRequest' nullable: true module_type: allOf: - - $ref: '#/components/schemas/ModuleTypeRequest' + - $ref: '#/components/schemas/BriefModuleTypeRequest' nullable: true name: type: string @@ -125635,1065 +179354,327 @@ components: maxLength: 64 type: enum: - - 8p8c - - 8p6c - - 8p4c - - 8p2c - - 6p6c - - 6p4c - - 6p2c - - 4p4c - - 4p2c - - gg45 - - tera-4p - - tera-2p - - tera-1p - - 110-punch - - bnc - - f - - n - - mrj21 - - fc - - lc - - lc-pc - - lc-upc - - lc-apc - - lsh - - lsh-pc - - lsh-upc - - lsh-apc - - lx5 - - lx5-pc - - lx5-upc - - lx5-apc - - mpo - - mtrj - - sc - - sc-pc - - sc-upc - - sc-apc - - st - - cs - - sn - - sma-905 - - sma-906 - - urm-p2 - - urm-p4 - - urm-p8 - - splice + - 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-20r + - 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 + - molex-micro-fit-1x2 + - molex-micro-fit-2x2 + - molex-micro-fit-2x4 + - dc-terminal + - eaton-c39 + - hdot-cx + - saf-d-grid + - neutrik-powercon-20a + - neutrik-powercon-32a + - neutrik-powercon-true1 + - neutrik-powercon-true1-top + - ubiquiti-smartpower + - hardwired - other + - '' type: string - description: '* `8p8c` - 8P8C - - * `8p6c` - 8P6C - - * `8p4c` - 8P4C - - * `8p2c` - 8P2C - - * `6p6c` - 6P6C - - * `6p4c` - 6P4C - - * `6p2c` - 6P2C - - * `4p4c` - 4P4C + description: '* `iec-60320-c5` - C5 - * `4p2c` - 4P2C + * `iec-60320-c7` - C7 - * `gg45` - GG45 + * `iec-60320-c13` - C13 - * `tera-4p` - TERA 4P + * `iec-60320-c15` - C15 - * `tera-2p` - TERA 2P + * `iec-60320-c19` - C19 - * `tera-1p` - TERA 1P + * `iec-60320-c21` - C21 - * `110-punch` - 110 Punch + * `iec-60309-p-n-e-4h` - P+N+E 4H - * `bnc` - BNC + * `iec-60309-p-n-e-6h` - P+N+E 6H - * `f` - F Connector + * `iec-60309-p-n-e-9h` - P+N+E 9H - * `n` - N Connector + * `iec-60309-2p-e-4h` - 2P+E 4H - * `mrj21` - MRJ21 + * `iec-60309-2p-e-6h` - 2P+E 6H - * `fc` - FC + * `iec-60309-2p-e-9h` - 2P+E 9H - * `lc` - LC + * `iec-60309-3p-e-4h` - 3P+E 4H - * `lc-pc` - LC/PC + * `iec-60309-3p-e-6h` - 3P+E 6H - * `lc-upc` - LC/UPC + * `iec-60309-3p-e-9h` - 3P+E 9H - * `lc-apc` - LC/APC + * `iec-60309-3p-n-e-4h` - 3P+N+E 4H - * `lsh` - LSH + * `iec-60309-3p-n-e-6h` - 3P+N+E 6H - * `lsh-pc` - LSH/PC + * `iec-60309-3p-n-e-9h` - 3P+N+E 9H - * `lsh-upc` - LSH/UPC + * `iec-60906-1` - IEC 60906-1 - * `lsh-apc` - LSH/APC + * `nbr-14136-10a` - 2P+T 10A (NBR 14136) - * `lx5` - LX.5 + * `nbr-14136-20a` - 2P+T 20A (NBR 14136) - * `lx5-pc` - LX.5/PC + * `nema-1-15r` - NEMA 1-15R - * `lx5-upc` - LX.5/UPC + * `nema-5-15r` - NEMA 5-15R - * `lx5-apc` - LX.5/APC + * `nema-5-20r` - NEMA 5-20R - * `mpo` - MPO + * `nema-5-30r` - NEMA 5-30R - * `mtrj` - MTRJ + * `nema-5-50r` - NEMA 5-50R - * `sc` - SC + * `nema-6-15r` - NEMA 6-15R - * `sc-pc` - SC/PC + * `nema-6-20r` - NEMA 6-20R - * `sc-upc` - SC/UPC + * `nema-6-30r` - NEMA 6-30R - * `sc-apc` - SC/APC + * `nema-6-50r` - NEMA 6-50R - * `st` - ST + * `nema-10-30r` - NEMA 10-30R - * `cs` - CS + * `nema-10-50r` - NEMA 10-50R - * `sn` - SN + * `nema-14-20r` - NEMA 14-20R - * `sma-905` - SMA 905 + * `nema-14-30r` - NEMA 14-30R - * `sma-906` - SMA 906 + * `nema-14-50r` - NEMA 14-50R - * `urm-p2` - URM-P2 + * `nema-14-60r` - NEMA 14-60R - * `urm-p4` - URM-P4 + * `nema-15-15r` - NEMA 15-15R - * `urm-p8` - URM-P8 + * `nema-15-20r` - NEMA 15-20R - * `splice` - Splice + * `nema-15-30r` - NEMA 15-30R - * `other` - Other' - x-spec-enum-id: 0276d1110ada597a - color: - type: string - pattern: ^[0-9a-f]{6}$ - maxLength: 6 - positions: - type: integer - maximum: 1024 - minimum: 1 - description: - type: string - maxLength: 200 - PatchedWritableRegionRequest: - type: object - description: Extends PrimaryModelSerializer to include MPTT support. - properties: - name: - type: string - minLength: 1 - maxLength: 100 - slug: - type: string - minLength: 1 - maxLength: 100 - pattern: ^[-a-zA-Z0-9_]+$ - parent: - type: integer - nullable: true - description: - type: string - maxLength: 200 - tags: - type: array - items: - $ref: '#/components/schemas/NestedTagRequest' - custom_fields: - type: object - additionalProperties: {} - PatchedWritableServiceRequest: - type: object - description: Adds support for custom fields and tags. - properties: - device: - allOf: - - $ref: '#/components/schemas/DeviceRequest' - nullable: true - virtual_machine: - allOf: - - $ref: '#/components/schemas/VirtualMachineRequest' - nullable: true - name: - type: string - minLength: 1 - maxLength: 100 - protocol: - enum: - - tcp - - udp - - sctp - type: string - description: '* `tcp` - TCP + * `nema-15-50r` - NEMA 15-50R - * `udp` - UDP + * `nema-15-60r` - NEMA 15-60R - * `sctp` - SCTP' - x-spec-enum-id: 5521e084b1ad51de - ports: - type: array - items: - type: integer - maximum: 65535 - minimum: 1 - title: Port numbers - ipaddresses: - type: array - items: - type: integer - description: - type: string - maxLength: 200 - comments: - type: string - tags: - type: array - items: - $ref: '#/components/schemas/NestedTagRequest' - custom_fields: - type: object - additionalProperties: {} - PatchedWritableServiceTemplateRequest: - type: object - description: Adds support for custom fields and tags. - properties: - name: - type: string - minLength: 1 - maxLength: 100 - protocol: - enum: - - tcp - - udp - - sctp - type: string - description: '* `tcp` - TCP + * `nema-l1-15r` - NEMA L1-15R - * `udp` - UDP + * `nema-l5-15r` - NEMA L5-15R - * `sctp` - SCTP' - x-spec-enum-id: 5521e084b1ad51de - ports: - type: array - items: - type: integer - maximum: 65535 - minimum: 1 - title: Port numbers - description: - type: string - maxLength: 200 - comments: - type: string - tags: - type: array - items: - $ref: '#/components/schemas/NestedTagRequest' - custom_fields: - type: object - additionalProperties: {} - PatchedWritableSiteGroupRequest: - type: object - description: Extends PrimaryModelSerializer to include MPTT support. - properties: - name: - type: string - minLength: 1 - maxLength: 100 - slug: - type: string - minLength: 1 - maxLength: 100 - pattern: ^[-a-zA-Z0-9_]+$ - parent: - type: integer - nullable: true - description: - type: string - maxLength: 200 - tags: - type: array - items: - $ref: '#/components/schemas/NestedTagRequest' - custom_fields: - type: object - additionalProperties: {} - PatchedWritableSiteRequest: - type: object - description: Adds support for custom fields and tags. - properties: - name: - type: string - minLength: 1 - description: Full name of the site - maxLength: 100 - slug: - type: string - minLength: 1 - maxLength: 100 - pattern: ^[-a-zA-Z0-9_]+$ - status: - enum: - - planned - - staging - - active - - decommissioning - - retired - type: string - description: '* `planned` - Planned + * `nema-l5-20r` - NEMA L5-20R - * `staging` - Staging + * `nema-l5-30r` - NEMA L5-30R - * `active` - Active + * `nema-l5-50r` - NEMA L5-50R - * `decommissioning` - Decommissioning + * `nema-l6-15r` - NEMA L6-15R - * `retired` - Retired' - x-spec-enum-id: e363a8ddb138be50 - region: - allOf: - - $ref: '#/components/schemas/RegionRequest' - nullable: true - group: - allOf: - - $ref: '#/components/schemas/SiteGroupRequest' - nullable: true - tenant: - allOf: - - $ref: '#/components/schemas/TenantRequest' - nullable: true - facility: - type: string - description: Local facility ID or description - maxLength: 50 - time_zone: - type: string - nullable: true - description: - type: string - maxLength: 200 - physical_address: - type: string - description: Physical location of the building - maxLength: 200 - shipping_address: - type: string - description: If different from the physical address - maxLength: 200 - latitude: - type: number - format: double - maximum: 100 - minimum: -100 - exclusiveMaximum: true - exclusiveMinimum: true - nullable: true - description: GPS coordinate in decimal format (xx.yyyyyy) - longitude: - type: number - format: double - maximum: 1000 - minimum: -1000 - exclusiveMaximum: true - exclusiveMinimum: true - nullable: true - description: GPS coordinate in decimal format (xx.yyyyyy) - comments: - type: string - asns: - type: array - items: - type: integer - tags: - type: array - items: - $ref: '#/components/schemas/NestedTagRequest' - custom_fields: - type: object - additionalProperties: {} - PatchedWritableTenantGroupRequest: - type: object - description: Extends PrimaryModelSerializer to include MPTT support. - properties: - name: - type: string - minLength: 1 - maxLength: 100 - slug: - type: string - minLength: 1 - maxLength: 100 - pattern: ^[-a-zA-Z0-9_]+$ - parent: - type: integer - nullable: true - description: - type: string - maxLength: 200 - tags: - type: array - items: - $ref: '#/components/schemas/NestedTagRequest' - custom_fields: - type: object - additionalProperties: {} - PatchedWritableTunnelRequest: - type: object - description: Adds support for custom fields and tags. - properties: - name: - type: string - minLength: 1 - maxLength: 100 - status: - enum: - - planned - - active - - disabled - type: string - description: '* `planned` - Planned + * `nema-l6-20r` - NEMA L6-20R - * `active` - Active + * `nema-l6-30r` - NEMA L6-30R - * `disabled` - Disabled' - x-spec-enum-id: 0d65f7912cba74aa - group: - allOf: - - $ref: '#/components/schemas/TunnelGroupRequest' - nullable: true - encapsulation: - enum: - - ipsec-transport - - ipsec-tunnel - - ip-ip - - gre - type: string - description: '* `ipsec-transport` - IPsec - Transport + * `nema-l6-50r` - NEMA L6-50R - * `ipsec-tunnel` - IPsec - Tunnel + * `nema-l10-30r` - NEMA L10-30R - * `ip-ip` - IP-in-IP + * `nema-l14-20r` - NEMA L14-20R - * `gre` - GRE' - x-spec-enum-id: 5fc36bb745852746 - ipsec_profile: - allOf: - - $ref: '#/components/schemas/IPSecProfileRequest' - nullable: true - tenant: - allOf: - - $ref: '#/components/schemas/TenantRequest' - nullable: true - tunnel_id: - type: integer - maximum: 9223372036854775807 - minimum: 0 - format: int64 - nullable: true - description: - type: string - maxLength: 200 - comments: - type: string - tags: - type: array - items: - $ref: '#/components/schemas/NestedTagRequest' - custom_fields: - type: object - additionalProperties: {} - PatchedWritableTunnelTerminationRequest: - type: object - description: Adds support for custom fields and tags. - properties: - tunnel: - $ref: '#/components/schemas/TunnelRequest' - role: - enum: - - peer - - hub - - spoke - type: string - description: '* `peer` - Peer + * `nema-l14-30r` - NEMA L14-30R - * `hub` - Hub + * `nema-l14-50r` - NEMA L14-50R - * `spoke` - Spoke' - x-spec-enum-id: 52225cd60b867572 - termination_type: - type: string - termination_id: - type: integer - maximum: 9223372036854775807 - minimum: 0 - format: int64 - nullable: true - outside_ip: - allOf: - - $ref: '#/components/schemas/IPAddressRequest' - nullable: true - tags: - type: array - items: - $ref: '#/components/schemas/NestedTagRequest' - custom_fields: - type: object - additionalProperties: {} - PatchedWritableVLANRequest: - type: object - description: Adds support for custom fields and tags. - properties: - site: - allOf: - - $ref: '#/components/schemas/SiteRequest' - nullable: true - group: - allOf: - - $ref: '#/components/schemas/VLANGroupRequest' - nullable: true - vid: - type: integer - maximum: 4094 - minimum: 1 - title: VLAN ID - description: Numeric VLAN ID (1-4094) - name: - type: string - minLength: 1 - maxLength: 64 - tenant: - allOf: - - $ref: '#/components/schemas/TenantRequest' - nullable: true - status: - enum: - - active - - reserved - - deprecated - type: string - x-spec-enum-id: 6388dfb94ca1cc15 - description: 'Operational status of this VLAN + * `nema-l14-60r` - NEMA L14-60R + * `nema-l15-20r` - NEMA L15-20R - * `active` - Active + * `nema-l15-30r` - NEMA L15-30R - * `reserved` - Reserved + * `nema-l15-50r` - NEMA L15-50R - * `deprecated` - Deprecated' - role: - allOf: - - $ref: '#/components/schemas/RoleRequest' - nullable: true - description: - type: string - maxLength: 200 - comments: - type: string - tags: - type: array - items: - $ref: '#/components/schemas/NestedTagRequest' - custom_fields: - type: object - additionalProperties: {} - PatchedWritableVMInterfaceRequest: - type: object - description: Adds support for custom fields and tags. - properties: - virtual_machine: - $ref: '#/components/schemas/VirtualMachineRequest' - name: - type: string - minLength: 1 - maxLength: 64 - enabled: - type: boolean - parent: - type: integer - nullable: true - title: Parent interface - bridge: - type: integer - nullable: true - title: Bridge interface - mtu: - type: integer - maximum: 65536 - minimum: 1 - nullable: true - mac_address: - type: string - nullable: true - minLength: 1 - description: - type: string - maxLength: 200 - mode: - enum: - - access - - tagged - - tagged-all - - '' - type: string - x-spec-enum-id: 79109bd9dbb73a3c - description: 'IEEE 802.1Q tagging strategy + * `nema-l15-60r` - NEMA L15-60R + * `nema-l21-20r` - NEMA L21-20R - * `access` - Access + * `nema-l21-30r` - NEMA L21-30R - * `tagged` - Tagged + * `nema-l22-20r` - NEMA L22-20R - * `tagged-all` - Tagged (All)' - untagged_vlan: - allOf: - - $ref: '#/components/schemas/VLANRequest' - nullable: true - tagged_vlans: - type: array - items: - type: integer - vrf: - allOf: - - $ref: '#/components/schemas/VRFRequest' - nullable: true - tags: - type: array - items: - $ref: '#/components/schemas/NestedTagRequest' - custom_fields: - type: object - additionalProperties: {} - PatchedWritableVirtualChassisRequest: - type: object - description: Adds support for custom fields and tags. - properties: - name: - type: string - minLength: 1 - maxLength: 64 - domain: - type: string - maxLength: 30 - master: - type: integer - nullable: true - description: - type: string - maxLength: 200 - comments: - type: string - tags: - type: array - items: - $ref: '#/components/schemas/NestedTagRequest' - custom_fields: - type: object - additionalProperties: {} - PatchedWritableVirtualDeviceContextRequest: - type: object - description: Adds support for custom fields and tags. - properties: - name: - type: string - minLength: 1 - maxLength: 64 - device: - $ref: '#/components/schemas/DeviceRequest' - identifier: - type: integer - maximum: 32767 - minimum: 0 - nullable: true - tenant: - allOf: - - $ref: '#/components/schemas/TenantRequest' - nullable: true - primary_ip4: - allOf: - - $ref: '#/components/schemas/IPAddressRequest' - nullable: true - primary_ip6: - allOf: - - $ref: '#/components/schemas/IPAddressRequest' - nullable: true - status: - enum: - - active - - planned - - offline - type: string - description: '* `active` - Active + * `nema-l22-30r` - NEMA L22-30R - * `planned` - Planned + * `CS6360C` - CS6360C - * `offline` - Offline' - x-spec-enum-id: ee1ef02def7a91ab - description: - type: string - maxLength: 200 - comments: - type: string - tags: - type: array - items: - $ref: '#/components/schemas/NestedTagRequest' - custom_fields: - type: object - additionalProperties: {} - PatchedWritableVirtualMachineWithConfigContextRequest: - type: object - description: Adds support for custom fields and tags. - properties: - name: - type: string - minLength: 1 - maxLength: 64 - status: - enum: - - offline - - active - - planned - - staged - - failed - - decommissioning - type: string - description: '* `offline` - Offline + * `CS6364C` - CS6364C - * `active` - Active + * `CS8164C` - CS8164C - * `planned` - Planned + * `CS8264C` - CS8264C - * `staged` - Staged + * `CS8364C` - CS8364C - * `failed` - Failed + * `CS8464C` - CS8464C - * `decommissioning` - Decommissioning' - x-spec-enum-id: 2217e87d0c3efdda - site: - allOf: - - $ref: '#/components/schemas/SiteRequest' - nullable: true - cluster: - allOf: - - $ref: '#/components/schemas/ClusterRequest' - nullable: true - device: - allOf: - - $ref: '#/components/schemas/DeviceRequest' - nullable: true - role: - allOf: - - $ref: '#/components/schemas/DeviceRoleRequest' - nullable: true - tenant: - allOf: - - $ref: '#/components/schemas/TenantRequest' - nullable: true - platform: - allOf: - - $ref: '#/components/schemas/PlatformRequest' - nullable: true - primary_ip4: - allOf: - - $ref: '#/components/schemas/IPAddressRequest' - nullable: true - primary_ip6: - allOf: - - $ref: '#/components/schemas/IPAddressRequest' - nullable: true - vcpus: - type: number - format: double - maximum: 10000 - minimum: 0.01 - exclusiveMaximum: true - nullable: true - memory: - type: integer - maximum: 2147483647 - minimum: 0 - nullable: true - title: Memory (MB) - disk: - type: integer - maximum: 2147483647 - minimum: 0 - nullable: true - title: Disk (GB) - description: - type: string - maxLength: 200 - comments: - type: string - config_template: - allOf: - - $ref: '#/components/schemas/ConfigTemplateRequest' - nullable: true - local_context_data: - nullable: true - description: Local config context data takes precedence over source contexts - in the final rendered config context - tags: - type: array - items: - $ref: '#/components/schemas/NestedTagRequest' - custom_fields: - type: object - additionalProperties: {} - PatchedWritableWirelessLANGroupRequest: - type: object - description: Extends PrimaryModelSerializer to include MPTT support. - properties: - name: - type: string - minLength: 1 - maxLength: 100 - slug: - type: string - minLength: 1 - maxLength: 100 - pattern: ^[-a-zA-Z0-9_]+$ - parent: - type: integer - nullable: true - description: - type: string - maxLength: 200 - tags: - type: array - items: - $ref: '#/components/schemas/NestedTagRequest' - custom_fields: - type: object - additionalProperties: {} - PatchedWritableWirelessLANRequest: - type: object - description: Adds support for custom fields and tags. - properties: - ssid: - type: string - minLength: 1 - maxLength: 32 - description: - type: string - maxLength: 200 - group: - allOf: - - $ref: '#/components/schemas/WirelessLANGroupRequest' - nullable: true - status: - enum: - - active - - reserved - - disabled - - deprecated - type: string - description: '* `active` - Active + * `ita-e` - ITA Type E (CEE 7/5) - * `reserved` - Reserved + * `ita-f` - ITA Type F (CEE 7/3) - * `disabled` - Disabled + * `ita-g` - ITA Type G (BS 1363) - * `deprecated` - Deprecated' - x-spec-enum-id: 412ebdca597f609e - vlan: - allOf: - - $ref: '#/components/schemas/VLANRequest' - nullable: true - tenant: - allOf: - - $ref: '#/components/schemas/TenantRequest' - nullable: true - auth_type: - enum: - - open - - wep - - wpa-personal - - wpa-enterprise - - '' - type: string - description: '* `open` - Open + * `ita-h` - ITA Type H - * `wep` - WEP + * `ita-i` - ITA Type I - * `wpa-personal` - WPA Personal (PSK) + * `ita-j` - ITA Type J - * `wpa-enterprise` - WPA Enterprise' - x-spec-enum-id: a2043acb899b3954 - title: Authentication type - auth_cipher: - enum: - - auto - - tkip - - aes - - '' - type: string - description: '* `auto` - Auto + * `ita-k` - ITA Type K - * `tkip` - TKIP + * `ita-l` - ITA Type L (CEI 23-50) - * `aes` - AES' - x-spec-enum-id: 8fdaefa727c26fdc - title: Authentication cipher - auth_psk: - type: string - title: Pre-shared key - maxLength: 64 - comments: - type: string - tags: - type: array - items: - $ref: '#/components/schemas/NestedTagRequest' - custom_fields: - type: object - additionalProperties: {} - PatchedWritableWirelessLinkRequest: - type: object - description: Adds support for custom fields and tags. - properties: - interface_a: - $ref: '#/components/schemas/InterfaceRequest' - interface_b: - $ref: '#/components/schemas/InterfaceRequest' - ssid: - type: string - maxLength: 32 - status: - enum: - - connected - - planned - - decommissioning - type: string - description: '* `connected` - Connected + * `ita-m` - ITA Type M (BS 546) - * `planned` - Planned + * `ita-n` - ITA Type N - * `decommissioning` - Decommissioning' - x-spec-enum-id: fbc2f302c08be50d - tenant: - allOf: - - $ref: '#/components/schemas/TenantRequest' - nullable: true - auth_type: - enum: - - open - - wep - - wpa-personal - - wpa-enterprise - - '' - type: string - description: '* `open` - Open + * `ita-o` - ITA Type O - * `wep` - WEP + * `ita-multistandard` - ITA Multistandard - * `wpa-personal` - WPA Personal (PSK) + * `usb-a` - USB Type A - * `wpa-enterprise` - WPA Enterprise' - x-spec-enum-id: a2043acb899b3954 - title: Authentication type - auth_cipher: - enum: - - auto - - tkip - - aes - - '' - type: string - description: '* `auto` - Auto + * `usb-micro-b` - USB Micro B - * `tkip` - TKIP + * `usb-c` - USB Type C - * `aes` - AES' - x-spec-enum-id: 8fdaefa727c26fdc - title: Authentication cipher - auth_psk: - type: string - title: Pre-shared key - maxLength: 64 - description: - type: string - maxLength: 200 - comments: - type: string - tags: - type: array - items: - $ref: '#/components/schemas/NestedTagRequest' - custom_fields: - type: object - additionalProperties: {} - Platform: - type: object - description: Adds support for custom fields and tags. - properties: - id: - type: integer - readOnly: true - url: - type: string - format: uri - readOnly: true - display: - type: string - readOnly: true - name: - type: string - maxLength: 100 - slug: - type: string - maxLength: 100 - pattern: ^[-a-zA-Z0-9_]+$ - description: - type: string - maxLength: 200 - device_count: - type: integer - format: int64 - readOnly: true - virtualmachine_count: - type: integer - format: int64 - readOnly: true - required: - - device_count - - display - - id - - name - - slug - - url - - virtualmachine_count - PlatformRequest: - type: object - description: Adds support for custom fields and tags. - properties: - name: - type: string - minLength: 1 - maxLength: 100 - slug: + * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 + + * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 + + * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 + + * `dc-terminal` - DC Terminal + + * `eaton-c39` - Eaton C39 + + * `hdot-cx` - HDOT Cx + + * `saf-d-grid` - Saf-D-Grid + + * `neutrik-powercon-20a` - Neutrik powerCON (20A) + + * `neutrik-powercon-32a` - Neutrik powerCON (32A) + + * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 + + * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP + + * `ubiquiti-smartpower` - Ubiquiti SmartPower + + * `hardwired` - Hardwired + + * `other` - Other' + x-spec-enum-id: f8c08053f2db8830 + nullable: true + power_port: + allOf: + - $ref: '#/components/schemas/BriefPowerPortTemplateRequest' + nullable: true + feed_leg: + enum: + - A + - B + - C + - '' type: string - minLength: 1 - maxLength: 100 - pattern: ^[-a-zA-Z0-9_]+$ + description: '* `A` - A + + * `B` - B + + * `C` - C' + x-spec-enum-id: a4902339df0b7c06 + nullable: true description: type: string maxLength: 200 required: - name - - slug - PowerFeed: + PowerPanel: type: object description: Adds support for custom fields and tags. properties: @@ -126704,143 +179685,25 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true - power_panel: - $ref: '#/components/schemas/PowerPanel' - rack: + site: + $ref: '#/components/schemas/BriefSite' + location: allOf: - - $ref: '#/components/schemas/Rack' + - $ref: '#/components/schemas/BriefLocation' nullable: true name: type: string maxLength: 100 - status: - type: object - properties: - value: - enum: - - offline - - active - - planned - - failed - type: string - description: '* `offline` - Offline - - * `active` - Active - - * `planned` - Planned - - * `failed` - Failed' - x-spec-enum-id: b77fc919138c12f6 - label: - type: string - enum: - - Offline - - Active - - Planned - - Failed - type: - type: object - properties: - value: - enum: - - primary - - redundant - type: string - description: '* `primary` - Primary - - * `redundant` - Redundant' - x-spec-enum-id: 093a164236819eb8 - label: - type: string - enum: - - Primary - - Redundant - supply: - type: object - properties: - value: - enum: - - ac - - dc - type: string - description: '* `ac` - AC - - * `dc` - DC' - x-spec-enum-id: 1b6d99616ca6412b - label: - type: string - enum: - - AC - - DC - phase: - type: object - properties: - value: - enum: - - single-phase - - three-phase - type: string - description: '* `single-phase` - Single phase - - * `three-phase` - Three-phase' - x-spec-enum-id: 994bc0696f4df57f - label: - type: string - enum: - - Single phase - - Three-phase - voltage: - type: integer - maximum: 32767 - minimum: -32768 - amperage: - type: integer - maximum: 32767 - minimum: 1 - max_utilization: - type: integer - maximum: 100 - minimum: 1 - description: Maximum permissible draw (percentage) - mark_connected: - type: boolean - description: Treat as if a cable is connected - cable: - allOf: - - $ref: '#/components/schemas/Cable' - readOnly: true - nullable: true - cable_end: - type: string - readOnly: true - link_peers: - type: array - items: {} - readOnly: true - link_peers_type: - type: string - description: Return the type of the peer link terminations, or None. - readOnly: true - connected_endpoints: - type: array - items: {} - readOnly: true - connected_endpoints_type: - type: string - readOnly: true - connected_endpoints_reachable: - type: boolean - readOnly: true description: type: string maxLength: 200 - tenant: - allOf: - - $ref: '#/components/schemas/Tenant' - nullable: true comments: type: string tags: @@ -126850,6 +179713,10 @@ components: custom_fields: type: object additionalProperties: {} + powerfeed_count: + type: integer + format: int64 + readOnly: true created: type: string format: date-time @@ -126860,105 +179727,32 @@ components: format: date-time readOnly: true nullable: true - _occupied: - type: boolean - readOnly: true - title: ' occupied' required: - - _occupied - - cable - - cable_end - - connected_endpoints - - connected_endpoints_reachable - - connected_endpoints_type - created - display - id - last_updated - - link_peers - - link_peers_type - name - - power_panel + - powerfeed_count + - site - url - PowerFeedRequest: + PowerPanelRequest: type: object description: Adds support for custom fields and tags. properties: - power_panel: - $ref: '#/components/schemas/PowerPanelRequest' - rack: + site: + $ref: '#/components/schemas/BriefSiteRequest' + location: allOf: - - $ref: '#/components/schemas/RackRequest' + - $ref: '#/components/schemas/BriefLocationRequest' nullable: true name: type: string minLength: 1 maxLength: 100 - status: - enum: - - offline - - active - - planned - - failed - type: string - description: '* `offline` - Offline - - * `active` - Active - - * `planned` - Planned - - * `failed` - Failed' - x-spec-enum-id: b77fc919138c12f6 - type: - enum: - - primary - - redundant - type: string - description: '* `primary` - Primary - - * `redundant` - Redundant' - x-spec-enum-id: 093a164236819eb8 - supply: - enum: - - ac - - dc - type: string - description: '* `ac` - AC - - * `dc` - DC' - x-spec-enum-id: 1b6d99616ca6412b - phase: - enum: - - single-phase - - three-phase - type: string - description: '* `single-phase` - Single phase - - * `three-phase` - Three-phase' - x-spec-enum-id: 994bc0696f4df57f - voltage: - type: integer - maximum: 32767 - minimum: -32768 - amperage: - type: integer - maximum: 32767 - minimum: 1 - max_utilization: - type: integer - maximum: 100 - minimum: 1 - description: Maximum permissible draw (percentage) - mark_connected: - type: boolean - description: Treat as if a cable is connected description: type: string maxLength: 200 - tenant: - allOf: - - $ref: '#/components/schemas/TenantRequest' - nullable: true comments: type: string tags: @@ -126970,8 +179764,8 @@ components: additionalProperties: {} required: - name - - power_panel - PowerOutlet: + - site + PowerPort: type: object description: Adds support for custom fields and tags. properties: @@ -126982,14 +179776,18 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true device: - $ref: '#/components/schemas/Device' + $ref: '#/components/schemas/BriefDevice' module: allOf: - - $ref: '#/components/schemas/Module' + - $ref: '#/components/schemas/BriefModule' nullable: true name: type: string @@ -127003,12 +179801,12 @@ components: properties: value: enum: - - iec-60320-c5 - - iec-60320-c7 - - iec-60320-c13 - - iec-60320-c15 - - iec-60320-c19 - - iec-60320-c21 + - 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 @@ -127024,55 +179822,58 @@ components: - 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 + - 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-20p + - nema-l22-30p + - cs6361c + - cs6365c + - cs8165c + - cs8265c + - cs8365c + - cs8465c + - ita-c - ita-e - ita-f + - ita-ef - ita-g - ita-h - ita-i @@ -127082,18 +179883,23 @@ components: - ita-m - ita-n - ita-o - - ita-multistandard - usb-a - - usb-micro-b + - 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 - molex-micro-fit-1x2 - molex-micro-fit-2x2 - molex-micro-fit-2x4 - dc-terminal - - hdot-cx - saf-d-grid - - neutrik-powercon-20a - - neutrik-powercon-32a + - neutrik-powercon-20 + - neutrik-powercon-32 - neutrik-powercon-true1 - neutrik-powercon-true1-top - ubiquiti-smartpower @@ -127101,17 +179907,17 @@ components: - other - '' type: string - description: '* `iec-60320-c5` - C5 + description: '* `iec-60320-c6` - C6 - * `iec-60320-c7` - C7 + * `iec-60320-c8` - C8 - * `iec-60320-c13` - C13 + * `iec-60320-c14` - C14 - * `iec-60320-c15` - C15 + * `iec-60320-c16` - C16 - * `iec-60320-c19` - C19 + * `iec-60320-c20` - C20 - * `iec-60320-c21` - C21 + * `iec-60320-c22` - C22 * `iec-60309-p-n-e-4h` - P+N+E 4H @@ -127143,103 +179949,109 @@ components: * `nbr-14136-20a` - 2P+T 20A (NBR 14136) - * `nema-1-15r` - NEMA 1-15R + * `nema-1-15p` - NEMA 1-15P - * `nema-5-15r` - NEMA 5-15R + * `nema-5-15p` - NEMA 5-15P - * `nema-5-20r` - NEMA 5-20R + * `nema-5-20p` - NEMA 5-20P - * `nema-5-30r` - NEMA 5-30R + * `nema-5-30p` - NEMA 5-30P - * `nema-5-50r` - NEMA 5-50R + * `nema-5-50p` - NEMA 5-50P - * `nema-6-15r` - NEMA 6-15R + * `nema-6-15p` - NEMA 6-15P - * `nema-6-20r` - NEMA 6-20R + * `nema-6-20p` - NEMA 6-20P - * `nema-6-30r` - NEMA 6-30R + * `nema-6-30p` - NEMA 6-30P - * `nema-6-50r` - NEMA 6-50R + * `nema-6-50p` - NEMA 6-50P - * `nema-10-30r` - NEMA 10-30R + * `nema-10-30p` - NEMA 10-30P - * `nema-10-50r` - NEMA 10-50R + * `nema-10-50p` - NEMA 10-50P - * `nema-14-20r` - NEMA 14-20R + * `nema-14-20p` - NEMA 14-20P - * `nema-14-30r` - NEMA 14-30R + * `nema-14-30p` - NEMA 14-30P - * `nema-14-50r` - NEMA 14-50R + * `nema-14-50p` - NEMA 14-50P - * `nema-14-60r` - NEMA 14-60R + * `nema-14-60p` - NEMA 14-60P - * `nema-15-15r` - NEMA 15-15R + * `nema-15-15p` - NEMA 15-15P - * `nema-15-20r` - NEMA 15-20R + * `nema-15-20p` - NEMA 15-20P - * `nema-15-30r` - NEMA 15-30R + * `nema-15-30p` - NEMA 15-30P - * `nema-15-50r` - NEMA 15-50R + * `nema-15-50p` - NEMA 15-50P - * `nema-15-60r` - NEMA 15-60R + * `nema-15-60p` - NEMA 15-60P - * `nema-l1-15r` - NEMA L1-15R + * `nema-l1-15p` - NEMA L1-15P - * `nema-l5-15r` - NEMA L5-15R + * `nema-l5-15p` - NEMA L5-15P - * `nema-l5-20r` - NEMA L5-20R + * `nema-l5-20p` - NEMA L5-20P - * `nema-l5-30r` - NEMA L5-30R + * `nema-l5-30p` - NEMA L5-30P - * `nema-l5-50r` - NEMA L5-50R + * `nema-l5-50p` - NEMA L5-50P - * `nema-l6-15r` - NEMA L6-15R + * `nema-l6-15p` - NEMA L6-15P - * `nema-l6-20r` - NEMA L6-20R + * `nema-l6-20p` - NEMA L6-20P - * `nema-l6-30r` - NEMA L6-30R + * `nema-l6-30p` - NEMA L6-30P - * `nema-l6-50r` - NEMA L6-50R + * `nema-l6-50p` - NEMA L6-50P - * `nema-l10-30r` - NEMA L10-30R + * `nema-l10-30p` - NEMA L10-30P - * `nema-l14-20r` - NEMA L14-20R + * `nema-l14-20p` - NEMA L14-20P - * `nema-l14-30r` - NEMA L14-30R + * `nema-l14-30p` - NEMA L14-30P - * `nema-l14-50r` - NEMA L14-50R + * `nema-l14-50p` - NEMA L14-50P - * `nema-l14-60r` - NEMA L14-60R + * `nema-l14-60p` - NEMA L14-60P - * `nema-l15-20r` - NEMA L15-20R + * `nema-l15-20p` - NEMA L15-20P - * `nema-l15-30r` - NEMA L15-30R + * `nema-l15-30p` - NEMA L15-30P - * `nema-l15-50r` - NEMA L15-50R + * `nema-l15-50p` - NEMA L15-50P - * `nema-l15-60r` - NEMA L15-60R + * `nema-l15-60p` - NEMA L15-60P - * `nema-l21-20r` - NEMA L21-20R + * `nema-l21-20p` - NEMA L21-20P - * `nema-l21-30r` - NEMA L21-30R + * `nema-l21-30p` - NEMA L21-30P - * `nema-l22-30r` - NEMA L22-30R + * `nema-l22-20p` - NEMA L22-20P - * `CS6360C` - CS6360C + * `nema-l22-30p` - NEMA L22-30P - * `CS6364C` - CS6364C + * `cs6361c` - CS6361C - * `CS8164C` - CS8164C + * `cs6365c` - CS6365C - * `CS8264C` - CS8264C + * `cs8165c` - CS8165C - * `CS8364C` - CS8364C + * `cs8265c` - CS8265C - * `CS8464C` - CS8464C + * `cs8365c` - CS8365C - * `ita-e` - ITA Type E (CEE 7/5) + * `cs8465c` - CS8465C - * `ita-f` - ITA Type F (CEE 7/3) + * `ita-c` - ITA Type C (CEE 7/16) + + * `ita-e` - ITA Type E (CEE 7/6) + + * `ita-f` - ITA Type F (CEE 7/4) + + * `ita-ef` - ITA Type E/F (CEE 7/7) * `ita-g` - ITA Type G (BS 1363) @@ -127259,14 +180071,26 @@ components: * `ita-o` - ITA Type O - * `ita-multistandard` - ITA Multistandard - * `usb-a` - USB Type A - * `usb-micro-b` - USB Micro B + * `usb-b` - USB Type B * `usb-c` - USB Type C + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `usb-3-b` - USB 3.0 Type B + + * `usb-3-micro-b` - USB 3.0 Micro B + * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 @@ -127275,13 +180099,11 @@ components: * `dc-terminal` - DC Terminal - * `hdot-cx` - HDOT Cx - * `saf-d-grid` - Saf-D-Grid - * `neutrik-powercon-20a` - Neutrik powerCON (20A) + * `neutrik-powercon-20` - Neutrik powerCON (20A) - * `neutrik-powercon-32a` - Neutrik powerCON (32A) + * `neutrik-powercon-32` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 @@ -127292,16 +180114,16 @@ components: * `hardwired` - Hardwired * `other` - Other' - x-spec-enum-id: 2ff919f516566857 + x-spec-enum-id: f1bd4aedff3a591b label: type: string enum: - - C5 - - C7 - - C13 - - C15 - - C19 - - C21 + - C6 + - C8 + - C14 + - C16 + - C20 + - C22 - P+N+E 4H - P+N+E 6H - P+N+E 9H @@ -127317,55 +180139,58 @@ components: - IEC 60906-1 - 2P+T 10A (NBR 14136) - 2P+T 20A (NBR 14136) - - 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 Type E (CEE 7/5) - - ITA Type F (CEE 7/3) + - 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-20P + - NEMA L22-30P + - CS6361C + - CS6365C + - CS8165C + - CS8265C + - CS8365C + - CS8465C + - ITA Type C (CEE 7/16) + - ITA Type E (CEE 7/6) + - ITA Type F (CEE 7/4) + - ITA Type E/F (CEE 7/7) - ITA Type G (BS 1363) - ITA Type H - ITA Type I @@ -127375,15 +180200,20 @@ components: - ITA Type M (BS 546) - ITA Type N - ITA Type O - - ITA Multistandard - USB Type A - - USB Micro B + - USB Type B - USB Type C + - USB Mini A + - USB Mini B + - USB Micro A + - USB Micro B + - USB Micro AB + - USB 3.0 Type B + - USB 3.0 Micro B - Molex Micro-Fit 1x2 - Molex Micro-Fit 2x2 - Molex Micro-Fit 2x4 - DC Terminal - - HDOT Cx - Saf-D-Grid - Neutrik powerCON (20A) - Neutrik powerCON (32A) @@ -127393,33 +180223,18 @@ components: - Hardwired - Other nullable: true - power_port: - allOf: - - $ref: '#/components/schemas/PowerPort' + maximum_draw: + type: integer + maximum: 2147483647 + minimum: 1 nullable: true - feed_leg: - type: object - properties: - value: - enum: - - A - - B - - C - - '' - type: string - description: '* `A` - A - - * `B` - B - - * `C` - C' - x-spec-enum-id: a4902339df0b7c06 - label: - type: string - enum: - - A - - B - - C + description: Maximum power draw (watts) + allocated_draw: + type: integer + maximum: 2147483647 + minimum: 1 nullable: true + description: Allocated power draw (watts) description: type: string maxLength: 200 @@ -127428,7 +180243,7 @@ components: description: Treat as if a cable is connected cable: allOf: - - $ref: '#/components/schemas/Cable' + - $ref: '#/components/schemas/BriefCable' readOnly: true nullable: true cable_end: @@ -127442,13 +180257,16 @@ components: type: string description: Return the type of the peer link terminations, or None. readOnly: true + nullable: true connected_endpoints: type: array items: {} + nullable: true readOnly: true connected_endpoints_type: type: string readOnly: true + nullable: true connected_endpoints_reachable: type: boolean readOnly: true @@ -127489,15 +180307,15 @@ components: - link_peers_type - name - url - PowerOutletRequest: + PowerPortRequest: type: object description: Adds support for custom fields and tags. properties: device: - $ref: '#/components/schemas/DeviceRequest' + $ref: '#/components/schemas/BriefDeviceRequest' module: allOf: - - $ref: '#/components/schemas/ModuleRequest' + - $ref: '#/components/schemas/BriefModuleRequest' nullable: true name: type: string @@ -127509,12 +180327,12 @@ components: maxLength: 64 type: enum: - - iec-60320-c5 - - iec-60320-c7 - - iec-60320-c13 - - iec-60320-c15 - - iec-60320-c19 - - iec-60320-c21 + - 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 @@ -127530,55 +180348,58 @@ components: - 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 + - 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-20p + - nema-l22-30p + - cs6361c + - cs6365c + - cs8165c + - cs8265c + - cs8365c + - cs8465c + - ita-c - ita-e - ita-f + - ita-ef - ita-g - ita-h - ita-i @@ -127588,18 +180409,23 @@ components: - ita-m - ita-n - ita-o - - ita-multistandard - usb-a - - usb-micro-b + - 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 - molex-micro-fit-1x2 - molex-micro-fit-2x2 - molex-micro-fit-2x4 - dc-terminal - - hdot-cx - saf-d-grid - - neutrik-powercon-20a - - neutrik-powercon-32a + - neutrik-powercon-20 + - neutrik-powercon-32 - neutrik-powercon-true1 - neutrik-powercon-true1-top - ubiquiti-smartpower @@ -127607,17 +180433,17 @@ components: - other - '' type: string - description: '* `iec-60320-c5` - C5 + description: '* `iec-60320-c6` - C6 - * `iec-60320-c7` - C7 + * `iec-60320-c8` - C8 - * `iec-60320-c13` - C13 + * `iec-60320-c14` - C14 - * `iec-60320-c15` - C15 + * `iec-60320-c16` - C16 - * `iec-60320-c19` - C19 + * `iec-60320-c20` - C20 - * `iec-60320-c21` - C21 + * `iec-60320-c22` - C22 * `iec-60309-p-n-e-4h` - P+N+E 4H @@ -127649,103 +180475,109 @@ components: * `nbr-14136-20a` - 2P+T 20A (NBR 14136) - * `nema-1-15r` - NEMA 1-15R + * `nema-1-15p` - NEMA 1-15P - * `nema-5-15r` - NEMA 5-15R + * `nema-5-15p` - NEMA 5-15P - * `nema-5-20r` - NEMA 5-20R + * `nema-5-20p` - NEMA 5-20P - * `nema-5-30r` - NEMA 5-30R + * `nema-5-30p` - NEMA 5-30P - * `nema-5-50r` - NEMA 5-50R + * `nema-5-50p` - NEMA 5-50P - * `nema-6-15r` - NEMA 6-15R + * `nema-6-15p` - NEMA 6-15P - * `nema-6-20r` - NEMA 6-20R + * `nema-6-20p` - NEMA 6-20P - * `nema-6-30r` - NEMA 6-30R + * `nema-6-30p` - NEMA 6-30P - * `nema-6-50r` - NEMA 6-50R + * `nema-6-50p` - NEMA 6-50P - * `nema-10-30r` - NEMA 10-30R + * `nema-10-30p` - NEMA 10-30P - * `nema-10-50r` - NEMA 10-50R + * `nema-10-50p` - NEMA 10-50P - * `nema-14-20r` - NEMA 14-20R + * `nema-14-20p` - NEMA 14-20P - * `nema-14-30r` - NEMA 14-30R + * `nema-14-30p` - NEMA 14-30P - * `nema-14-50r` - NEMA 14-50R + * `nema-14-50p` - NEMA 14-50P - * `nema-14-60r` - NEMA 14-60R + * `nema-14-60p` - NEMA 14-60P - * `nema-15-15r` - NEMA 15-15R + * `nema-15-15p` - NEMA 15-15P - * `nema-15-20r` - NEMA 15-20R + * `nema-15-20p` - NEMA 15-20P - * `nema-15-30r` - NEMA 15-30R + * `nema-15-30p` - NEMA 15-30P - * `nema-15-50r` - NEMA 15-50R + * `nema-15-50p` - NEMA 15-50P - * `nema-15-60r` - NEMA 15-60R + * `nema-15-60p` - NEMA 15-60P - * `nema-l1-15r` - NEMA L1-15R + * `nema-l1-15p` - NEMA L1-15P - * `nema-l5-15r` - NEMA L5-15R + * `nema-l5-15p` - NEMA L5-15P - * `nema-l5-20r` - NEMA L5-20R + * `nema-l5-20p` - NEMA L5-20P - * `nema-l5-30r` - NEMA L5-30R + * `nema-l5-30p` - NEMA L5-30P - * `nema-l5-50r` - NEMA L5-50R + * `nema-l5-50p` - NEMA L5-50P - * `nema-l6-15r` - NEMA L6-15R + * `nema-l6-15p` - NEMA L6-15P - * `nema-l6-20r` - NEMA L6-20R + * `nema-l6-20p` - NEMA L6-20P - * `nema-l6-30r` - NEMA L6-30R + * `nema-l6-30p` - NEMA L6-30P - * `nema-l6-50r` - NEMA L6-50R + * `nema-l6-50p` - NEMA L6-50P - * `nema-l10-30r` - NEMA L10-30R + * `nema-l10-30p` - NEMA L10-30P - * `nema-l14-20r` - NEMA L14-20R + * `nema-l14-20p` - NEMA L14-20P - * `nema-l14-30r` - NEMA L14-30R + * `nema-l14-30p` - NEMA L14-30P - * `nema-l14-50r` - NEMA L14-50R + * `nema-l14-50p` - NEMA L14-50P - * `nema-l14-60r` - NEMA L14-60R + * `nema-l14-60p` - NEMA L14-60P - * `nema-l15-20r` - NEMA L15-20R + * `nema-l15-20p` - NEMA L15-20P - * `nema-l15-30r` - NEMA L15-30R + * `nema-l15-30p` - NEMA L15-30P - * `nema-l15-50r` - NEMA L15-50R + * `nema-l15-50p` - NEMA L15-50P - * `nema-l15-60r` - NEMA L15-60R + * `nema-l15-60p` - NEMA L15-60P - * `nema-l21-20r` - NEMA L21-20R + * `nema-l21-20p` - NEMA L21-20P - * `nema-l21-30r` - NEMA L21-30R + * `nema-l21-30p` - NEMA L21-30P - * `nema-l22-30r` - NEMA L22-30R + * `nema-l22-20p` - NEMA L22-20P - * `CS6360C` - CS6360C + * `nema-l22-30p` - NEMA L22-30P - * `CS6364C` - CS6364C + * `cs6361c` - CS6361C - * `CS8164C` - CS8164C + * `cs6365c` - CS6365C - * `CS8264C` - CS8264C + * `cs8165c` - CS8165C - * `CS8364C` - CS8364C + * `cs8265c` - CS8265C - * `CS8464C` - CS8464C + * `cs8365c` - CS8365C - * `ita-e` - ITA Type E (CEE 7/5) + * `cs8465c` - CS8465C - * `ita-f` - ITA Type F (CEE 7/3) + * `ita-c` - ITA Type C (CEE 7/16) + + * `ita-e` - ITA Type E (CEE 7/6) + + * `ita-f` - ITA Type F (CEE 7/4) + + * `ita-ef` - ITA Type E/F (CEE 7/7) * `ita-g` - ITA Type G (BS 1363) @@ -127765,14 +180597,26 @@ components: * `ita-o` - ITA Type O - * `ita-multistandard` - ITA Multistandard - * `usb-a` - USB Type A - * `usb-micro-b` - USB Micro B + * `usb-b` - USB Type B * `usb-c` - USB Type C + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `usb-3-b` - USB 3.0 Type B + + * `usb-3-micro-b` - USB 3.0 Micro B + * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 @@ -127781,13 +180625,11 @@ components: * `dc-terminal` - DC Terminal - * `hdot-cx` - HDOT Cx - * `saf-d-grid` - Saf-D-Grid - * `neutrik-powercon-20a` - Neutrik powerCON (20A) + * `neutrik-powercon-20` - Neutrik powerCON (20A) - * `neutrik-powercon-32a` - Neutrik powerCON (32A) + * `neutrik-powercon-32` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 @@ -127798,26 +180640,20 @@ components: * `hardwired` - Hardwired * `other` - Other' - x-spec-enum-id: 2ff919f516566857 + x-spec-enum-id: f1bd4aedff3a591b nullable: true - power_port: - allOf: - - $ref: '#/components/schemas/PowerPortRequest' + maximum_draw: + type: integer + maximum: 2147483647 + minimum: 1 nullable: true - feed_leg: - enum: - - A - - B - - C - - '' - type: string - description: '* `A` - A - - * `B` - B - - * `C` - C' - x-spec-enum-id: a4902339df0b7c06 + description: Maximum power draw (watts) + allocated_draw: + type: integer + maximum: 2147483647 + minimum: 1 nullable: true + description: Allocated power draw (watts) description: type: string maxLength: 200 @@ -127834,7 +180670,7 @@ components: required: - device - name - PowerOutletTemplate: + PowerPortTemplate: type: object description: 'Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during @@ -127853,11 +180689,11 @@ components: readOnly: true device_type: allOf: - - $ref: '#/components/schemas/DeviceType' + - $ref: '#/components/schemas/BriefDeviceType' nullable: true module_type: allOf: - - $ref: '#/components/schemas/ModuleType' + - $ref: '#/components/schemas/BriefModuleType' nullable: true name: type: string @@ -127873,12 +180709,12 @@ components: properties: value: enum: - - iec-60320-c5 - - iec-60320-c7 - - iec-60320-c13 - - iec-60320-c15 - - iec-60320-c19 - - iec-60320-c21 + - 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 @@ -127894,55 +180730,58 @@ components: - 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 + - 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-20p + - nema-l22-30p + - cs6361c + - cs6365c + - cs8165c + - cs8265c + - cs8365c + - cs8465c + - ita-c - ita-e - ita-f + - ita-ef - ita-g - ita-h - ita-i @@ -127952,18 +180791,23 @@ components: - ita-m - ita-n - ita-o - - ita-multistandard - usb-a - - usb-micro-b + - 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 - molex-micro-fit-1x2 - molex-micro-fit-2x2 - molex-micro-fit-2x4 - dc-terminal - - hdot-cx - saf-d-grid - - neutrik-powercon-20a - - neutrik-powercon-32a + - neutrik-powercon-20 + - neutrik-powercon-32 - neutrik-powercon-true1 - neutrik-powercon-true1-top - ubiquiti-smartpower @@ -127971,17 +180815,17 @@ components: - other - '' type: string - description: '* `iec-60320-c5` - C5 + description: '* `iec-60320-c6` - C6 - * `iec-60320-c7` - C7 + * `iec-60320-c8` - C8 - * `iec-60320-c13` - C13 + * `iec-60320-c14` - C14 - * `iec-60320-c15` - C15 + * `iec-60320-c16` - C16 - * `iec-60320-c19` - C19 + * `iec-60320-c20` - C20 - * `iec-60320-c21` - C21 + * `iec-60320-c22` - C22 * `iec-60309-p-n-e-4h` - P+N+E 4H @@ -128013,103 +180857,109 @@ components: * `nbr-14136-20a` - 2P+T 20A (NBR 14136) - * `nema-1-15r` - NEMA 1-15R + * `nema-1-15p` - NEMA 1-15P - * `nema-5-15r` - NEMA 5-15R + * `nema-5-15p` - NEMA 5-15P - * `nema-5-20r` - NEMA 5-20R + * `nema-5-20p` - NEMA 5-20P - * `nema-5-30r` - NEMA 5-30R + * `nema-5-30p` - NEMA 5-30P - * `nema-5-50r` - NEMA 5-50R + * `nema-5-50p` - NEMA 5-50P - * `nema-6-15r` - NEMA 6-15R + * `nema-6-15p` - NEMA 6-15P - * `nema-6-20r` - NEMA 6-20R + * `nema-6-20p` - NEMA 6-20P - * `nema-6-30r` - NEMA 6-30R + * `nema-6-30p` - NEMA 6-30P - * `nema-6-50r` - NEMA 6-50R + * `nema-6-50p` - NEMA 6-50P - * `nema-10-30r` - NEMA 10-30R + * `nema-10-30p` - NEMA 10-30P - * `nema-10-50r` - NEMA 10-50R + * `nema-10-50p` - NEMA 10-50P - * `nema-14-20r` - NEMA 14-20R + * `nema-14-20p` - NEMA 14-20P - * `nema-14-30r` - NEMA 14-30R + * `nema-14-30p` - NEMA 14-30P - * `nema-14-50r` - NEMA 14-50R + * `nema-14-50p` - NEMA 14-50P - * `nema-14-60r` - NEMA 14-60R + * `nema-14-60p` - NEMA 14-60P - * `nema-15-15r` - NEMA 15-15R + * `nema-15-15p` - NEMA 15-15P - * `nema-15-20r` - NEMA 15-20R + * `nema-15-20p` - NEMA 15-20P - * `nema-15-30r` - NEMA 15-30R + * `nema-15-30p` - NEMA 15-30P - * `nema-15-50r` - NEMA 15-50R + * `nema-15-50p` - NEMA 15-50P - * `nema-15-60r` - NEMA 15-60R + * `nema-15-60p` - NEMA 15-60P - * `nema-l1-15r` - NEMA L1-15R + * `nema-l1-15p` - NEMA L1-15P - * `nema-l5-15r` - NEMA L5-15R + * `nema-l5-15p` - NEMA L5-15P - * `nema-l5-20r` - NEMA L5-20R + * `nema-l5-20p` - NEMA L5-20P - * `nema-l5-30r` - NEMA L5-30R + * `nema-l5-30p` - NEMA L5-30P - * `nema-l5-50r` - NEMA L5-50R + * `nema-l5-50p` - NEMA L5-50P - * `nema-l6-15r` - NEMA L6-15R + * `nema-l6-15p` - NEMA L6-15P - * `nema-l6-20r` - NEMA L6-20R + * `nema-l6-20p` - NEMA L6-20P - * `nema-l6-30r` - NEMA L6-30R + * `nema-l6-30p` - NEMA L6-30P - * `nema-l6-50r` - NEMA L6-50R + * `nema-l6-50p` - NEMA L6-50P - * `nema-l10-30r` - NEMA L10-30R + * `nema-l10-30p` - NEMA L10-30P - * `nema-l14-20r` - NEMA L14-20R + * `nema-l14-20p` - NEMA L14-20P - * `nema-l14-30r` - NEMA L14-30R + * `nema-l14-30p` - NEMA L14-30P - * `nema-l14-50r` - NEMA L14-50R + * `nema-l14-50p` - NEMA L14-50P - * `nema-l14-60r` - NEMA L14-60R + * `nema-l14-60p` - NEMA L14-60P - * `nema-l15-20r` - NEMA L15-20R + * `nema-l15-20p` - NEMA L15-20P - * `nema-l15-30r` - NEMA L15-30R + * `nema-l15-30p` - NEMA L15-30P - * `nema-l15-50r` - NEMA L15-50R + * `nema-l15-50p` - NEMA L15-50P - * `nema-l15-60r` - NEMA L15-60R + * `nema-l15-60p` - NEMA L15-60P - * `nema-l21-20r` - NEMA L21-20R + * `nema-l21-20p` - NEMA L21-20P - * `nema-l21-30r` - NEMA L21-30R + * `nema-l21-30p` - NEMA L21-30P - * `nema-l22-30r` - NEMA L22-30R + * `nema-l22-20p` - NEMA L22-20P - * `CS6360C` - CS6360C + * `nema-l22-30p` - NEMA L22-30P - * `CS6364C` - CS6364C + * `cs6361c` - CS6361C - * `CS8164C` - CS8164C + * `cs6365c` - CS6365C - * `CS8264C` - CS8264C + * `cs8165c` - CS8165C - * `CS8364C` - CS8364C + * `cs8265c` - CS8265C - * `CS8464C` - CS8464C + * `cs8365c` - CS8365C - * `ita-e` - ITA Type E (CEE 7/5) + * `cs8465c` - CS8465C - * `ita-f` - ITA Type F (CEE 7/3) + * `ita-c` - ITA Type C (CEE 7/16) + + * `ita-e` - ITA Type E (CEE 7/6) + + * `ita-f` - ITA Type F (CEE 7/4) + + * `ita-ef` - ITA Type E/F (CEE 7/7) * `ita-g` - ITA Type G (BS 1363) @@ -128129,113 +180979,126 @@ components: * `ita-o` - ITA Type O - * `ita-multistandard` - ITA Multistandard - * `usb-a` - USB Type A - * `usb-micro-b` - USB Micro B + * `usb-b` - USB Type B * `usb-c` - USB Type C - * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 - - * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 - - * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 - - * `dc-terminal` - DC Terminal - - * `hdot-cx` - HDOT Cx + * `usb-mini-a` - USB Mini A - * `saf-d-grid` - Saf-D-Grid + * `usb-mini-b` - USB Mini B - * `neutrik-powercon-20a` - Neutrik powerCON (20A) + * `usb-micro-a` - USB Micro A - * `neutrik-powercon-32a` - Neutrik powerCON (32A) + * `usb-micro-b` - USB Micro B - * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 + * `usb-micro-ab` - USB Micro AB - * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP + * `usb-3-b` - USB 3.0 Type B - * `ubiquiti-smartpower` - Ubiquiti SmartPower + * `usb-3-micro-b` - USB 3.0 Micro B - * `hardwired` - Hardwired + * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 - * `other` - Other' - x-spec-enum-id: 2ff919f516566857 - label: - type: string - enum: - - C5 - - C7 - - C13 - - C15 - - C19 - - C21 - - P+N+E 4H - - P+N+E 6H - - P+N+E 9H - - 2P+E 4H - - 2P+E 6H - - 2P+E 9H - - 3P+E 4H - - 3P+E 6H - - 3P+E 9H - - 3P+N+E 4H - - 3P+N+E 6H - - 3P+N+E 9H - - IEC 60906-1 - - 2P+T 10A (NBR 14136) - - 2P+T 20A (NBR 14136) - - 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 Type E (CEE 7/5) - - ITA Type F (CEE 7/3) + * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 + + * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 + + * `dc-terminal` - DC Terminal + + * `saf-d-grid` - Saf-D-Grid + + * `neutrik-powercon-20` - Neutrik powerCON (20A) + + * `neutrik-powercon-32` - Neutrik powerCON (32A) + + * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 + + * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP + + * `ubiquiti-smartpower` - Ubiquiti SmartPower + + * `hardwired` - Hardwired + + * `other` - Other' + x-spec-enum-id: f1bd4aedff3a591b + label: + type: string + enum: + - C6 + - C8 + - C14 + - C16 + - C20 + - C22 + - P+N+E 4H + - P+N+E 6H + - P+N+E 9H + - 2P+E 4H + - 2P+E 6H + - 2P+E 9H + - 3P+E 4H + - 3P+E 6H + - 3P+E 9H + - 3P+N+E 4H + - 3P+N+E 6H + - 3P+N+E 9H + - IEC 60906-1 + - 2P+T 10A (NBR 14136) + - 2P+T 20A (NBR 14136) + - 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-20P + - NEMA L22-30P + - CS6361C + - CS6365C + - CS8165C + - CS8265C + - CS8365C + - CS8465C + - ITA Type C (CEE 7/16) + - ITA Type E (CEE 7/6) + - ITA Type F (CEE 7/4) + - ITA Type E/F (CEE 7/7) - ITA Type G (BS 1363) - ITA Type H - ITA Type I @@ -128245,15 +181108,20 @@ components: - ITA Type M (BS 546) - ITA Type N - ITA Type O - - ITA Multistandard - USB Type A - - USB Micro B + - USB Type B - USB Type C + - USB Mini A + - USB Mini B + - USB Micro A + - USB Micro B + - USB Micro AB + - USB 3.0 Type B + - USB 3.0 Micro B - Molex Micro-Fit 1x2 - Molex Micro-Fit 2x2 - Molex Micro-Fit 2x4 - DC Terminal - - HDOT Cx - Saf-D-Grid - Neutrik powerCON (20A) - Neutrik powerCON (32A) @@ -128263,33 +181131,18 @@ components: - Hardwired - Other nullable: true - power_port: - allOf: - - $ref: '#/components/schemas/PowerPortTemplate' + maximum_draw: + type: integer + maximum: 2147483647 + minimum: 1 nullable: true - feed_leg: - type: object - properties: - value: - enum: - - A - - B - - C - - '' - type: string - description: '* `A` - A - - * `B` - B - - * `C` - C' - x-spec-enum-id: a4902339df0b7c06 - label: - type: string - enum: - - A - - B - - C + description: Maximum power draw (watts) + allocated_draw: + type: integer + maximum: 2147483647 + minimum: 1 nullable: true + description: Allocated power draw (watts) description: type: string maxLength: 200 @@ -128310,7 +181163,7 @@ components: - last_updated - name - url - PowerOutletTemplateRequest: + PowerPortTemplateRequest: type: object description: 'Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during @@ -128319,11 +181172,11 @@ components: properties: device_type: allOf: - - $ref: '#/components/schemas/DeviceTypeRequest' + - $ref: '#/components/schemas/BriefDeviceTypeRequest' nullable: true module_type: allOf: - - $ref: '#/components/schemas/ModuleTypeRequest' + - $ref: '#/components/schemas/BriefModuleTypeRequest' nullable: true name: type: string @@ -128337,12 +181190,12 @@ components: maxLength: 64 type: enum: - - iec-60320-c5 - - iec-60320-c7 - - iec-60320-c13 - - iec-60320-c15 - - iec-60320-c19 - - iec-60320-c21 + - 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 @@ -128358,55 +181211,58 @@ components: - 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 + - 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-20p + - nema-l22-30p + - cs6361c + - cs6365c + - cs8165c + - cs8265c + - cs8365c + - cs8465c + - ita-c - ita-e - ita-f + - ita-ef - ita-g - ita-h - ita-i @@ -128416,18 +181272,23 @@ components: - ita-m - ita-n - ita-o - - ita-multistandard - usb-a - - usb-micro-b + - 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 - molex-micro-fit-1x2 - molex-micro-fit-2x2 - molex-micro-fit-2x4 - dc-terminal - - hdot-cx - saf-d-grid - - neutrik-powercon-20a - - neutrik-powercon-32a + - neutrik-powercon-20 + - neutrik-powercon-32 - neutrik-powercon-true1 - neutrik-powercon-true1-top - ubiquiti-smartpower @@ -128435,17 +181296,17 @@ components: - other - '' type: string - description: '* `iec-60320-c5` - C5 + description: '* `iec-60320-c6` - C6 - * `iec-60320-c7` - C7 + * `iec-60320-c8` - C8 - * `iec-60320-c13` - C13 + * `iec-60320-c14` - C14 - * `iec-60320-c15` - C15 + * `iec-60320-c16` - C16 - * `iec-60320-c19` - C19 + * `iec-60320-c20` - C20 - * `iec-60320-c21` - C21 + * `iec-60320-c22` - C22 * `iec-60309-p-n-e-4h` - P+N+E 4H @@ -128477,103 +181338,109 @@ components: * `nbr-14136-20a` - 2P+T 20A (NBR 14136) - * `nema-1-15r` - NEMA 1-15R + * `nema-1-15p` - NEMA 1-15P - * `nema-5-15r` - NEMA 5-15R + * `nema-5-15p` - NEMA 5-15P - * `nema-5-20r` - NEMA 5-20R + * `nema-5-20p` - NEMA 5-20P - * `nema-5-30r` - NEMA 5-30R + * `nema-5-30p` - NEMA 5-30P - * `nema-5-50r` - NEMA 5-50R + * `nema-5-50p` - NEMA 5-50P - * `nema-6-15r` - NEMA 6-15R + * `nema-6-15p` - NEMA 6-15P - * `nema-6-20r` - NEMA 6-20R + * `nema-6-20p` - NEMA 6-20P - * `nema-6-30r` - NEMA 6-30R + * `nema-6-30p` - NEMA 6-30P - * `nema-6-50r` - NEMA 6-50R + * `nema-6-50p` - NEMA 6-50P - * `nema-10-30r` - NEMA 10-30R + * `nema-10-30p` - NEMA 10-30P - * `nema-10-50r` - NEMA 10-50R + * `nema-10-50p` - NEMA 10-50P - * `nema-14-20r` - NEMA 14-20R + * `nema-14-20p` - NEMA 14-20P - * `nema-14-30r` - NEMA 14-30R + * `nema-14-30p` - NEMA 14-30P - * `nema-14-50r` - NEMA 14-50R + * `nema-14-50p` - NEMA 14-50P - * `nema-14-60r` - NEMA 14-60R + * `nema-14-60p` - NEMA 14-60P - * `nema-15-15r` - NEMA 15-15R + * `nema-15-15p` - NEMA 15-15P - * `nema-15-20r` - NEMA 15-20R + * `nema-15-20p` - NEMA 15-20P - * `nema-15-30r` - NEMA 15-30R + * `nema-15-30p` - NEMA 15-30P - * `nema-15-50r` - NEMA 15-50R + * `nema-15-50p` - NEMA 15-50P - * `nema-15-60r` - NEMA 15-60R + * `nema-15-60p` - NEMA 15-60P - * `nema-l1-15r` - NEMA L1-15R + * `nema-l1-15p` - NEMA L1-15P - * `nema-l5-15r` - NEMA L5-15R + * `nema-l5-15p` - NEMA L5-15P - * `nema-l5-20r` - NEMA L5-20R + * `nema-l5-20p` - NEMA L5-20P - * `nema-l5-30r` - NEMA L5-30R + * `nema-l5-30p` - NEMA L5-30P - * `nema-l5-50r` - NEMA L5-50R + * `nema-l5-50p` - NEMA L5-50P - * `nema-l6-15r` - NEMA L6-15R + * `nema-l6-15p` - NEMA L6-15P - * `nema-l6-20r` - NEMA L6-20R + * `nema-l6-20p` - NEMA L6-20P - * `nema-l6-30r` - NEMA L6-30R + * `nema-l6-30p` - NEMA L6-30P - * `nema-l6-50r` - NEMA L6-50R + * `nema-l6-50p` - NEMA L6-50P - * `nema-l10-30r` - NEMA L10-30R + * `nema-l10-30p` - NEMA L10-30P - * `nema-l14-20r` - NEMA L14-20R + * `nema-l14-20p` - NEMA L14-20P - * `nema-l14-30r` - NEMA L14-30R + * `nema-l14-30p` - NEMA L14-30P - * `nema-l14-50r` - NEMA L14-50R + * `nema-l14-50p` - NEMA L14-50P - * `nema-l14-60r` - NEMA L14-60R + * `nema-l14-60p` - NEMA L14-60P - * `nema-l15-20r` - NEMA L15-20R + * `nema-l15-20p` - NEMA L15-20P - * `nema-l15-30r` - NEMA L15-30R + * `nema-l15-30p` - NEMA L15-30P - * `nema-l15-50r` - NEMA L15-50R + * `nema-l15-50p` - NEMA L15-50P - * `nema-l15-60r` - NEMA L15-60R + * `nema-l15-60p` - NEMA L15-60P - * `nema-l21-20r` - NEMA L21-20R + * `nema-l21-20p` - NEMA L21-20P - * `nema-l21-30r` - NEMA L21-30R + * `nema-l21-30p` - NEMA L21-30P - * `nema-l22-30r` - NEMA L22-30R + * `nema-l22-20p` - NEMA L22-20P - * `CS6360C` - CS6360C + * `nema-l22-30p` - NEMA L22-30P - * `CS6364C` - CS6364C + * `cs6361c` - CS6361C - * `CS8164C` - CS8164C + * `cs6365c` - CS6365C - * `CS8264C` - CS8264C + * `cs8165c` - CS8165C - * `CS8364C` - CS8364C + * `cs8265c` - CS8265C - * `CS8464C` - CS8464C + * `cs8365c` - CS8365C - * `ita-e` - ITA Type E (CEE 7/5) + * `cs8465c` - CS8465C - * `ita-f` - ITA Type F (CEE 7/3) + * `ita-c` - ITA Type C (CEE 7/16) + + * `ita-e` - ITA Type E (CEE 7/6) + + * `ita-f` - ITA Type F (CEE 7/4) + + * `ita-ef` - ITA Type E/F (CEE 7/7) * `ita-g` - ITA Type G (BS 1363) @@ -128593,14 +181460,26 @@ components: * `ita-o` - ITA Type O - * `ita-multistandard` - ITA Multistandard - * `usb-a` - USB Type A - * `usb-micro-b` - USB Micro B + * `usb-b` - USB Type B * `usb-c` - USB Type C + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `usb-3-b` - USB 3.0 Type B + + * `usb-3-micro-b` - USB 3.0 Micro B + * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 @@ -128609,13 +181488,11 @@ components: * `dc-terminal` - DC Terminal - * `hdot-cx` - HDOT Cx - * `saf-d-grid` - Saf-D-Grid - * `neutrik-powercon-20a` - Neutrik powerCON (20A) + * `neutrik-powercon-20` - Neutrik powerCON (20A) - * `neutrik-powercon-32a` - Neutrik powerCON (32A) + * `neutrik-powercon-32` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 @@ -128626,135 +181503,28 @@ components: * `hardwired` - Hardwired * `other` - Other' - x-spec-enum-id: 2ff919f516566857 - nullable: true - power_port: - allOf: - - $ref: '#/components/schemas/PowerPortTemplateRequest' - nullable: true - feed_leg: - enum: - - A - - B - - C - - '' - type: string - description: '* `A` - A - - * `B` - B - - * `C` - C' - x-spec-enum-id: a4902339df0b7c06 + x-spec-enum-id: f1bd4aedff3a591b nullable: true - description: - type: string - maxLength: 200 - required: - - name - PowerPanel: - type: object - description: Adds support for custom fields and tags. - properties: - id: - type: integer - readOnly: true - url: - type: string - format: uri - readOnly: true - display: - type: string - readOnly: true - name: - type: string - maxLength: 100 - description: - type: string - maxLength: 200 - powerfeed_count: + maximum_draw: type: integer - format: int64 - readOnly: true - required: - - display - - id - - name - - powerfeed_count - - url - PowerPanelRequest: - type: object - description: Adds support for custom fields and tags. - properties: - name: - type: string - minLength: 1 - maxLength: 100 - description: - type: string - maxLength: 200 - required: - - name - PowerPort: - type: object - description: Adds support for custom fields and tags. - properties: - id: + maximum: 2147483647 + minimum: 1 + nullable: true + description: Maximum power draw (watts) + allocated_draw: type: integer - readOnly: true - url: - type: string - format: uri - readOnly: true - display: - type: string - readOnly: true - device: - $ref: '#/components/schemas/Device' - name: - type: string - maxLength: 64 - description: - type: string - maxLength: 200 - cable: - allOf: - - $ref: '#/components/schemas/Cable' - readOnly: true + maximum: 2147483647 + minimum: 1 nullable: true - _occupied: - type: boolean - readOnly: true - title: ' occupied' - required: - - _occupied - - cable - - device - - display - - id - - name - - url - PowerPortRequest: - type: object - description: Adds support for custom fields and tags. - properties: - device: - $ref: '#/components/schemas/DeviceRequest' - name: - type: string - minLength: 1 - maxLength: 64 + description: Allocated power draw (watts) description: type: string maxLength: 200 required: - - device - name - PowerPortTemplate: + Prefix: 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: Adds support for custom fields and tags. properties: id: type: integer @@ -128763,48 +181533,7 @@ components: type: string format: uri readOnly: true - display: - type: string - readOnly: true - name: - type: string - description: '{module} is accepted as a substitution for the module bay - position when attached to a module type.' - maxLength: 64 - description: - type: string - maxLength: 200 - required: - - display - - id - - name - - url - PowerPortTemplateRequest: - 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: - name: - type: string - minLength: 1 - description: '{module} is accepted as a substitution for the module bay - position when attached to a module type.' - maxLength: 64 - description: - type: string - maxLength: 200 - required: - - name - Prefix: - type: object - description: Adds support for custom fields and tags. - properties: - id: - type: integer - readOnly: true - url: + display_url: type: string format: uri readOnly: true @@ -128833,19 +181562,19 @@ components: type: string site: allOf: - - $ref: '#/components/schemas/Site' + - $ref: '#/components/schemas/BriefSite' nullable: true vrf: allOf: - - $ref: '#/components/schemas/VRF' + - $ref: '#/components/schemas/BriefVRF' nullable: true tenant: allOf: - - $ref: '#/components/schemas/Tenant' + - $ref: '#/components/schemas/BriefTenant' nullable: true vlan: allOf: - - $ref: '#/components/schemas/VLAN' + - $ref: '#/components/schemas/BriefVLAN' nullable: true status: type: object @@ -128874,7 +181603,7 @@ components: - Deprecated role: allOf: - - $ref: '#/components/schemas/Role' + - $ref: '#/components/schemas/BriefRole' nullable: true is_pool: type: boolean @@ -128931,19 +181660,19 @@ components: minLength: 1 site: allOf: - - $ref: '#/components/schemas/SiteRequest' + - $ref: '#/components/schemas/BriefSiteRequest' nullable: true vrf: allOf: - - $ref: '#/components/schemas/VRFRequest' + - $ref: '#/components/schemas/BriefVRFRequest' nullable: true tenant: allOf: - - $ref: '#/components/schemas/TenantRequest' + - $ref: '#/components/schemas/BriefTenantRequest' nullable: true vlan: allOf: - - $ref: '#/components/schemas/VLANRequest' + - $ref: '#/components/schemas/BriefVLANRequest' nullable: true status: enum: @@ -128962,7 +181691,7 @@ components: x-spec-enum-id: d38bee5f512701d9 role: allOf: - - $ref: '#/components/schemas/RoleRequest' + - $ref: '#/components/schemas/BriefRoleRequest' nullable: true is_pool: type: boolean @@ -128996,6 +181725,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -129007,17 +181740,46 @@ components: type: string maxLength: 100 pattern: ^[-a-zA-Z0-9_]+$ + accounts: + type: array + items: + $ref: '#/components/schemas/NestedProviderAccount' description: type: string maxLength: 200 + comments: + type: string + asns: + type: array + items: + $ref: '#/components/schemas/ASN' + tags: + type: array + items: + $ref: '#/components/schemas/NestedTag' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date-time + readOnly: true + nullable: true + last_updated: + type: string + format: date-time + readOnly: true + nullable: true circuit_count: type: integer format: int64 readOnly: true required: - circuit_count + - created - display - id + - last_updated - name - slug - url @@ -129032,11 +181794,15 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true provider: - $ref: '#/components/schemas/Provider' + $ref: '#/components/schemas/BriefProvider' name: type: string default: '' @@ -129079,6 +181845,8 @@ components: type: object description: Adds support for custom fields and tags. properties: + provider: + $ref: '#/components/schemas/BriefProviderRequest' name: type: string default: '' @@ -129091,8 +181859,18 @@ components: description: type: string maxLength: 200 + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} required: - account + - provider ProviderNetwork: type: object description: Adds support for custom fields and tags. @@ -129104,33 +181882,79 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true + provider: + $ref: '#/components/schemas/BriefProvider' name: type: string maxLength: 100 + service_id: + type: string + maxLength: 100 description: type: string maxLength: 200 + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/NestedTag' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date-time + readOnly: true + nullable: true + last_updated: + type: string + format: date-time + readOnly: true + nullable: true required: + - created - display - id + - last_updated - name + - provider - url ProviderNetworkRequest: type: object description: Adds support for custom fields and tags. properties: + provider: + $ref: '#/components/schemas/BriefProviderRequest' name: type: string minLength: 1 maxLength: 100 + service_id: + type: string + maxLength: 100 description: type: string maxLength: 200 + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} required: - name + - provider ProviderRequest: type: object description: Adds support for custom fields and tags. @@ -129145,9 +181969,26 @@ components: minLength: 1 maxLength: 100 pattern: ^[-a-zA-Z0-9_]+$ + accounts: + type: array + items: + type: integer description: type: string maxLength: 200 + comments: + type: string + asns: + type: array + items: + type: integer + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} required: - name - slug @@ -129157,97 +181998,587 @@ components: properties: id: type: integer - readOnly: true - url: - type: string - format: uri - readOnly: true - display: - type: string - readOnly: true - name: - type: string - maxLength: 100 - slug: - type: string - maxLength: 100 - pattern: ^[-a-zA-Z0-9_]+$ - description: - type: string - maxLength: 200 - aggregate_count: + readOnly: true + url: + type: string + format: uri + readOnly: true + display_url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + name: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + is_private: + type: boolean + title: Private + description: IP space managed by this RIR is considered private + description: + type: string + maxLength: 200 + tags: + type: array + items: + $ref: '#/components/schemas/NestedTag' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date-time + readOnly: true + nullable: true + last_updated: + type: string + format: date-time + readOnly: true + nullable: true + aggregate_count: + type: integer + format: int64 + readOnly: true + required: + - aggregate_count + - created + - display + - id + - last_updated + - name + - slug + - url + RIRRequest: + type: object + description: Adds support for custom fields and tags. + properties: + name: + type: string + minLength: 1 + maxLength: 100 + slug: + type: string + minLength: 1 + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + is_private: + type: boolean + title: Private + description: IP space managed by this RIR is considered private + description: + type: string + maxLength: 200 + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} + required: + - name + - slug + Rack: + type: object + description: Adds support for custom fields and tags. + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display_url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + name: + type: string + maxLength: 100 + facility_id: + type: string + nullable: true + maxLength: 50 + site: + $ref: '#/components/schemas/BriefSite' + location: + allOf: + - $ref: '#/components/schemas/BriefLocation' + nullable: true + tenant: + allOf: + - $ref: '#/components/schemas/BriefTenant' + nullable: true + status: + type: object + properties: + value: + enum: + - reserved + - available + - planned + - active + - deprecated + type: string + description: '* `reserved` - Reserved + + * `available` - Available + + * `planned` - Planned + + * `active` - Active + + * `deprecated` - Deprecated' + x-spec-enum-id: 0c556d55dc1baa13 + label: + type: string + enum: + - Reserved + - Available + - Planned + - Active + - Deprecated + role: + allOf: + - $ref: '#/components/schemas/BriefRackRole' + nullable: true + serial: + type: string + title: Serial number + maxLength: 50 + asset_tag: + type: string + nullable: true + description: A unique tag used to identify this rack + maxLength: 50 + rack_type: + allOf: + - $ref: '#/components/schemas/BriefRackType' + nullable: true + form_factor: + type: object + properties: + value: + enum: + - 2-post-frame + - 4-post-frame + - 4-post-cabinet + - wall-frame + - wall-frame-vertical + - wall-cabinet + - wall-cabinet-vertical + - '' + type: string + description: '* `2-post-frame` - 2-post frame + + * `4-post-frame` - 4-post frame + + * `4-post-cabinet` - 4-post cabinet + + * `wall-frame` - Wall-mounted frame + + * `wall-frame-vertical` - Wall-mounted frame (vertical) + + * `wall-cabinet` - Wall-mounted cabinet + + * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical)' + x-spec-enum-id: e32aaa89a223f2ea + label: + type: string + enum: + - 2-post frame + - 4-post frame + - 4-post cabinet + - Wall-mounted frame + - Wall-mounted frame (vertical) + - Wall-mounted cabinet + - Wall-mounted cabinet (vertical) + nullable: true + width: + type: object + properties: + value: + enum: + - 10 + - 19 + - 21 + - 23 + type: integer + description: '* `10` - 10 inches + + * `19` - 19 inches + + * `21` - 21 inches + + * `23` - 23 inches' + x-spec-enum-id: 9b322795f297a9c3 + label: + type: string + enum: + - 10 inches + - 19 inches + - 21 inches + - 23 inches + u_height: + type: integer + maximum: 100 + minimum: 1 + title: Height (U) + description: Height in rack units + starting_unit: + type: integer + maximum: 32767 + minimum: 1 + description: Starting unit for rack + weight: + type: number + format: double + maximum: 1000000 + minimum: -1000000 + exclusiveMaximum: true + exclusiveMinimum: true + nullable: true + max_weight: + type: integer + maximum: 2147483647 + minimum: 0 + nullable: true + description: Maximum load capacity for the rack + weight_unit: + type: object + properties: + value: + enum: + - kg + - g + - lb + - oz + - '' + type: string + description: '* `kg` - Kilograms + + * `g` - Grams + + * `lb` - Pounds + + * `oz` - Ounces' + x-spec-enum-id: 7c1876f422815884 + label: + type: string + enum: + - Kilograms + - Grams + - Pounds + - Ounces + nullable: true + desc_units: + type: boolean + title: Descending units + description: Units are numbered top-to-bottom + outer_width: + type: integer + maximum: 32767 + minimum: 0 + nullable: true + description: Outer dimension of rack (width) + outer_depth: + type: integer + maximum: 32767 + minimum: 0 + nullable: true + description: Outer dimension of rack (depth) + outer_unit: + type: object + properties: + value: + enum: + - mm + - in + - '' + type: string + description: '* `mm` - Millimeters + + * `in` - Inches' + x-spec-enum-id: 86a846b6c40f495e + label: + type: string + enum: + - Millimeters + - Inches + nullable: true + mounting_depth: + type: integer + maximum: 32767 + minimum: 0 + nullable: true + description: Maximum depth of a mounted device, in millimeters. For four-post + racks, this is the distance between the front and rear rails. + airflow: + type: object + properties: + value: + enum: + - front-to-rear + - rear-to-front + - '' + type: string + description: '* `front-to-rear` - Front to rear + + * `rear-to-front` - Rear to front' + x-spec-enum-id: a784734d07ef1b3c + label: + type: string + enum: + - Front to rear + - Rear to front + description: + type: string + maxLength: 200 + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/NestedTag' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date-time + readOnly: true + nullable: true + last_updated: + type: string + format: date-time + readOnly: true + nullable: true + device_count: + type: integer + format: int64 + readOnly: true + powerfeed_count: + type: integer + format: int64 + readOnly: true + required: + - created + - display + - id + - last_updated + - name + - powerfeed_count + - site + - url + RackRequest: + type: object + description: Adds support for custom fields and tags. + properties: + name: + type: string + minLength: 1 + maxLength: 100 + facility_id: + type: string + nullable: true + maxLength: 50 + site: + $ref: '#/components/schemas/BriefSiteRequest' + location: + allOf: + - $ref: '#/components/schemas/BriefLocationRequest' + nullable: true + tenant: + allOf: + - $ref: '#/components/schemas/BriefTenantRequest' + nullable: true + status: + enum: + - reserved + - available + - planned + - active + - deprecated + type: string + description: '* `reserved` - Reserved + + * `available` - Available + + * `planned` - Planned + + * `active` - Active + + * `deprecated` - Deprecated' + x-spec-enum-id: 0c556d55dc1baa13 + role: + allOf: + - $ref: '#/components/schemas/BriefRackRoleRequest' + nullable: true + serial: + type: string + title: Serial number + maxLength: 50 + asset_tag: + type: string + nullable: true + description: A unique tag used to identify this rack + maxLength: 50 + rack_type: + allOf: + - $ref: '#/components/schemas/BriefRackTypeRequest' + nullable: true + form_factor: + enum: + - 2-post-frame + - 4-post-frame + - 4-post-cabinet + - wall-frame + - wall-frame-vertical + - wall-cabinet + - wall-cabinet-vertical + - '' + type: string + description: '* `2-post-frame` - 2-post frame + + * `4-post-frame` - 4-post frame + + * `4-post-cabinet` - 4-post cabinet + + * `wall-frame` - Wall-mounted frame + + * `wall-frame-vertical` - Wall-mounted frame (vertical) + + * `wall-cabinet` - Wall-mounted cabinet + + * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical)' + x-spec-enum-id: e32aaa89a223f2ea + nullable: true + width: + enum: + - 10 + - 19 + - 21 + - 23 + type: integer + description: '* `10` - 10 inches + + * `19` - 19 inches + + * `21` - 21 inches + + * `23` - 23 inches' + x-spec-enum-id: 9b322795f297a9c3 + u_height: + type: integer + maximum: 100 + minimum: 1 + title: Height (U) + description: Height in rack units + starting_unit: + type: integer + maximum: 32767 + minimum: 1 + description: Starting unit for rack + weight: + type: number + format: double + maximum: 1000000 + minimum: -1000000 + exclusiveMaximum: true + exclusiveMinimum: true + nullable: true + max_weight: type: integer - format: int64 - readOnly: true - required: - - aggregate_count - - display - - id - - name - - slug - - url - RIRRequest: - type: object - description: Adds support for custom fields and tags. - properties: - name: - type: string - minLength: 1 - maxLength: 100 - slug: - type: string - minLength: 1 - maxLength: 100 - pattern: ^[-a-zA-Z0-9_]+$ - description: + maximum: 2147483647 + minimum: 0 + nullable: true + description: Maximum load capacity for the rack + weight_unit: + enum: + - kg + - g + - lb + - oz + - '' type: string - maxLength: 200 - required: - - name - - slug - Rack: - type: object - description: Adds support for custom fields and tags. - properties: - id: + description: '* `kg` - Kilograms + + * `g` - Grams + + * `lb` - Pounds + + * `oz` - Ounces' + x-spec-enum-id: 7c1876f422815884 + nullable: true + desc_units: + type: boolean + title: Descending units + description: Units are numbered top-to-bottom + outer_width: type: integer - readOnly: true - url: - type: string - format: uri - readOnly: true - display: - type: string - readOnly: true - name: - type: string - maxLength: 100 - description: + maximum: 32767 + minimum: 0 + nullable: true + description: Outer dimension of rack (width) + outer_depth: + type: integer + maximum: 32767 + minimum: 0 + nullable: true + description: Outer dimension of rack (depth) + outer_unit: + enum: + - mm + - in + - '' type: string - maxLength: 200 - device_count: + description: '* `mm` - Millimeters + + * `in` - Inches' + x-spec-enum-id: 86a846b6c40f495e + nullable: true + mounting_depth: type: integer - format: int64 - readOnly: true - required: - - device_count - - display - - id - - name - - url - RackRequest: - type: object - description: Adds support for custom fields and tags. - properties: - name: + maximum: 32767 + minimum: 0 + nullable: true + description: Maximum depth of a mounted device, in millimeters. For four-post + racks, this is the distance between the front and rear rails. + airflow: + enum: + - front-to-rear + - rear-to-front + - '' type: string - minLength: 1 - maxLength: 100 + description: '* `front-to-rear` - Front to rear + + * `rear-to-front` - Rear to front' + x-spec-enum-id: a784734d07ef1b3c description: type: string maxLength: 200 + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} required: - name + - site RackReservation: type: object description: Adds support for custom fields and tags. @@ -129259,11 +182590,15 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true rack: - $ref: '#/components/schemas/Rack' + $ref: '#/components/schemas/BriefRack' units: type: array items: @@ -129281,10 +182616,10 @@ components: readOnly: true nullable: true user: - $ref: '#/components/schemas/User' + $ref: '#/components/schemas/BriefUser' tenant: allOf: - - $ref: '#/components/schemas/Tenant' + - $ref: '#/components/schemas/BriefTenant' nullable: true description: type: string @@ -129313,7 +182648,7 @@ components: description: Adds support for custom fields and tags. properties: rack: - $ref: '#/components/schemas/RackRequest' + $ref: '#/components/schemas/BriefRackRequest' units: type: array items: @@ -129321,10 +182656,10 @@ components: maximum: 32767 minimum: 0 user: - $ref: '#/components/schemas/UserRequest' + $ref: '#/components/schemas/BriefUserRequest' tenant: allOf: - - $ref: '#/components/schemas/TenantRequest' + - $ref: '#/components/schemas/BriefTenantRequest' nullable: true description: type: string @@ -129355,6 +182690,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -129433,6 +182772,370 @@ components: required: - name - slug + RackType: + type: object + description: Adds support for custom fields and tags. + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display_url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + manufacturer: + $ref: '#/components/schemas/BriefManufacturer' + model: + type: string + maxLength: 100 + slug: + type: string + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + form_factor: + type: object + properties: + value: + enum: + - 2-post-frame + - 4-post-frame + - 4-post-cabinet + - wall-frame + - wall-frame-vertical + - wall-cabinet + - wall-cabinet-vertical + - '' + type: string + description: '* `2-post-frame` - 2-post frame + + * `4-post-frame` - 4-post frame + + * `4-post-cabinet` - 4-post cabinet + + * `wall-frame` - Wall-mounted frame + + * `wall-frame-vertical` - Wall-mounted frame (vertical) + + * `wall-cabinet` - Wall-mounted cabinet + + * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical)' + x-spec-enum-id: e32aaa89a223f2ea + label: + type: string + enum: + - 2-post frame + - 4-post frame + - 4-post cabinet + - Wall-mounted frame + - Wall-mounted frame (vertical) + - Wall-mounted cabinet + - Wall-mounted cabinet (vertical) + nullable: true + width: + type: object + properties: + value: + enum: + - 10 + - 19 + - 21 + - 23 + type: integer + description: '* `10` - 10 inches + + * `19` - 19 inches + + * `21` - 21 inches + + * `23` - 23 inches' + x-spec-enum-id: 9b322795f297a9c3 + label: + type: string + enum: + - 10 inches + - 19 inches + - 21 inches + - 23 inches + u_height: + type: integer + maximum: 100 + minimum: 1 + title: Height (U) + description: Height in rack units + starting_unit: + type: integer + maximum: 32767 + minimum: 1 + description: Starting unit for rack + desc_units: + type: boolean + title: Descending units + description: Units are numbered top-to-bottom + outer_width: + type: integer + maximum: 32767 + minimum: 0 + nullable: true + description: Outer dimension of rack (width) + outer_depth: + type: integer + maximum: 32767 + minimum: 0 + nullable: true + description: Outer dimension of rack (depth) + outer_unit: + type: object + properties: + value: + enum: + - mm + - in + - '' + type: string + description: '* `mm` - Millimeters + + * `in` - Inches' + x-spec-enum-id: 86a846b6c40f495e + label: + type: string + enum: + - Millimeters + - Inches + nullable: true + weight: + type: number + format: double + maximum: 1000000 + minimum: -1000000 + exclusiveMaximum: true + exclusiveMinimum: true + nullable: true + max_weight: + type: integer + maximum: 2147483647 + minimum: 0 + nullable: true + description: Maximum load capacity for the rack + weight_unit: + type: object + properties: + value: + enum: + - kg + - g + - lb + - oz + - '' + type: string + description: '* `kg` - Kilograms + + * `g` - Grams + + * `lb` - Pounds + + * `oz` - Ounces' + x-spec-enum-id: 7c1876f422815884 + label: + type: string + enum: + - Kilograms + - Grams + - Pounds + - Ounces + nullable: true + mounting_depth: + type: integer + maximum: 32767 + minimum: 0 + nullable: true + description: Maximum depth of a mounted device, in millimeters. For four-post + racks, this is the distance between the front and rear rails. + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/NestedTag' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date-time + readOnly: true + nullable: true + last_updated: + type: string + format: date-time + readOnly: true + nullable: true + required: + - created + - display + - id + - last_updated + - manufacturer + - model + - slug + - url + RackTypeRequest: + type: object + description: Adds support for custom fields and tags. + properties: + manufacturer: + $ref: '#/components/schemas/BriefManufacturerRequest' + model: + type: string + minLength: 1 + maxLength: 100 + slug: + type: string + minLength: 1 + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + form_factor: + enum: + - 2-post-frame + - 4-post-frame + - 4-post-cabinet + - wall-frame + - wall-frame-vertical + - wall-cabinet + - wall-cabinet-vertical + - '' + type: string + description: '* `2-post-frame` - 2-post frame + + * `4-post-frame` - 4-post frame + + * `4-post-cabinet` - 4-post cabinet + + * `wall-frame` - Wall-mounted frame + + * `wall-frame-vertical` - Wall-mounted frame (vertical) + + * `wall-cabinet` - Wall-mounted cabinet + + * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical)' + x-spec-enum-id: e32aaa89a223f2ea + nullable: true + width: + enum: + - 10 + - 19 + - 21 + - 23 + type: integer + description: '* `10` - 10 inches + + * `19` - 19 inches + + * `21` - 21 inches + + * `23` - 23 inches' + x-spec-enum-id: 9b322795f297a9c3 + u_height: + type: integer + maximum: 100 + minimum: 1 + title: Height (U) + description: Height in rack units + starting_unit: + type: integer + maximum: 32767 + minimum: 1 + description: Starting unit for rack + desc_units: + type: boolean + title: Descending units + description: Units are numbered top-to-bottom + outer_width: + type: integer + maximum: 32767 + minimum: 0 + nullable: true + description: Outer dimension of rack (width) + outer_depth: + type: integer + maximum: 32767 + minimum: 0 + nullable: true + description: Outer dimension of rack (depth) + outer_unit: + enum: + - mm + - in + - '' + type: string + description: '* `mm` - Millimeters + + * `in` - Inches' + x-spec-enum-id: 86a846b6c40f495e + nullable: true + weight: + type: number + format: double + maximum: 1000000 + minimum: -1000000 + exclusiveMaximum: true + exclusiveMinimum: true + nullable: true + max_weight: + type: integer + maximum: 2147483647 + minimum: 0 + nullable: true + description: Maximum load capacity for the rack + weight_unit: + enum: + - kg + - g + - lb + - oz + - '' + type: string + description: '* `kg` - Kilograms + + * `g` - Grams + + * `lb` - Pounds + + * `oz` - Ounces' + x-spec-enum-id: 7c1876f422815884 + nullable: true + mounting_depth: + type: integer + maximum: 32767 + minimum: 0 + nullable: true + description: Maximum depth of a mounted device, in millimeters. For four-post + racks, this is the distance between the front and rear rails. + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} + required: + - manufacturer + - model + - slug RackUnit: type: object description: A rack unit is an abstraction formed by the set (rack, position, @@ -129469,7 +183172,7 @@ components: readOnly: true device: allOf: - - $ref: '#/components/schemas/Device' + - $ref: '#/components/schemas/BriefDevice' readOnly: true occupied: type: boolean @@ -129495,14 +183198,18 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true device: - $ref: '#/components/schemas/Device' + $ref: '#/components/schemas/BriefDevice' module: allOf: - - $ref: '#/components/schemas/Module' + - $ref: '#/components/schemas/BriefModule' nullable: true name: type: string @@ -129562,6 +183269,14 @@ components: - urm-p4 - urm-p8 - splice + - usb-a + - usb-b + - usb-c + - usb-mini-a + - usb-mini-b + - usb-micro-a + - usb-micro-b + - usb-micro-ab - other type: string description: '* `8p8c` - 8P8C @@ -129656,8 +183371,24 @@ components: * `splice` - Splice + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + * `other` - Other' - x-spec-enum-id: 0276d1110ada597a + x-spec-enum-id: c5086c01f1f9c18a label: type: string enum: @@ -129707,6 +183438,14 @@ components: - URM-P4 - URM-P8 - Splice + - USB Type A + - USB Type B + - USB Type C + - USB Mini A + - USB Mini B + - USB Micro A + - USB Micro B + - USB Micro AB - Other color: type: string @@ -129725,7 +183464,7 @@ components: description: Treat as if a cable is connected cable: allOf: - - $ref: '#/components/schemas/Cable' + - $ref: '#/components/schemas/BriefCable' readOnly: true nullable: true cable_end: @@ -129739,6 +183478,7 @@ components: type: string description: Return the type of the peer link terminations, or None. readOnly: true + nullable: true tags: type: array items: @@ -129779,10 +183519,10 @@ components: description: Adds support for custom fields and tags. properties: device: - $ref: '#/components/schemas/DeviceRequest' + $ref: '#/components/schemas/BriefDeviceRequest' module: allOf: - - $ref: '#/components/schemas/ModuleRequest' + - $ref: '#/components/schemas/BriefModuleRequest' nullable: true name: type: string @@ -129840,6 +183580,14 @@ components: - urm-p4 - urm-p8 - splice + - usb-a + - usb-b + - usb-c + - usb-mini-a + - usb-mini-b + - usb-micro-a + - usb-micro-b + - usb-micro-ab - other type: string description: '* `8p8c` - 8P8C @@ -129934,8 +183682,24 @@ components: * `splice` - Splice + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + * `other` - Other' - x-spec-enum-id: 0276d1110ada597a + x-spec-enum-id: c5086c01f1f9c18a color: type: string pattern: ^[0-9a-f]{6}$ @@ -129979,18 +183743,280 @@ components: display: type: string readOnly: true + device_type: + allOf: + - $ref: '#/components/schemas/BriefDeviceType' + nullable: true + module_type: + allOf: + - $ref: '#/components/schemas/BriefModuleType' + nullable: true name: type: string description: '{module} is accepted as a substitution for the module bay position when attached to a module type.' maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + type: + type: object + properties: + value: + enum: + - 8p8c + - 8p6c + - 8p4c + - 8p2c + - 6p6c + - 6p4c + - 6p2c + - 4p4c + - 4p2c + - gg45 + - tera-4p + - tera-2p + - tera-1p + - 110-punch + - bnc + - f + - n + - mrj21 + - fc + - lc + - lc-pc + - lc-upc + - lc-apc + - lsh + - lsh-pc + - lsh-upc + - lsh-apc + - lx5 + - lx5-pc + - lx5-upc + - lx5-apc + - mpo + - mtrj + - sc + - sc-pc + - sc-upc + - sc-apc + - st + - cs + - sn + - sma-905 + - sma-906 + - urm-p2 + - urm-p4 + - urm-p8 + - splice + - usb-a + - usb-b + - usb-c + - usb-mini-a + - usb-mini-b + - usb-micro-a + - usb-micro-b + - usb-micro-ab + - other + type: string + description: '* `8p8c` - 8P8C + + * `8p6c` - 8P6C + + * `8p4c` - 8P4C + + * `8p2c` - 8P2C + + * `6p6c` - 6P6C + + * `6p4c` - 6P4C + + * `6p2c` - 6P2C + + * `4p4c` - 4P4C + + * `4p2c` - 4P2C + + * `gg45` - GG45 + + * `tera-4p` - TERA 4P + + * `tera-2p` - TERA 2P + + * `tera-1p` - TERA 1P + + * `110-punch` - 110 Punch + + * `bnc` - BNC + + * `f` - F Connector + + * `n` - N Connector + + * `mrj21` - MRJ21 + + * `fc` - FC + + * `lc` - LC + + * `lc-pc` - LC/PC + + * `lc-upc` - LC/UPC + + * `lc-apc` - LC/APC + + * `lsh` - LSH + + * `lsh-pc` - LSH/PC + + * `lsh-upc` - LSH/UPC + + * `lsh-apc` - LSH/APC + + * `lx5` - LX.5 + + * `lx5-pc` - LX.5/PC + + * `lx5-upc` - LX.5/UPC + + * `lx5-apc` - LX.5/APC + + * `mpo` - MPO + + * `mtrj` - MTRJ + + * `sc` - SC + + * `sc-pc` - SC/PC + + * `sc-upc` - SC/UPC + + * `sc-apc` - SC/APC + + * `st` - ST + + * `cs` - CS + + * `sn` - SN + + * `sma-905` - SMA 905 + + * `sma-906` - SMA 906 + + * `urm-p2` - URM-P2 + + * `urm-p4` - URM-P4 + + * `urm-p8` - URM-P8 + + * `splice` - Splice + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' + x-spec-enum-id: c5086c01f1f9c18a + label: + type: string + enum: + - 8P8C + - 8P6C + - 8P4C + - 8P2C + - 6P6C + - 6P4C + - 6P2C + - 4P4C + - 4P2C + - GG45 + - TERA 4P + - TERA 2P + - TERA 1P + - 110 Punch + - BNC + - F Connector + - N Connector + - MRJ21 + - FC + - LC + - LC/PC + - LC/UPC + - LC/APC + - LSH + - LSH/PC + - LSH/UPC + - LSH/APC + - LX.5 + - LX.5/PC + - LX.5/UPC + - LX.5/APC + - MPO + - MTRJ + - SC + - SC/PC + - SC/UPC + - SC/APC + - ST + - CS + - SN + - SMA 905 + - SMA 906 + - URM-P2 + - URM-P4 + - URM-P8 + - Splice + - USB Type A + - USB Type B + - USB Type C + - USB Mini A + - USB Mini B + - USB Micro A + - USB Micro B + - USB Micro AB + - Other + color: + type: string + pattern: ^[0-9a-f]{6}$ + maxLength: 6 + positions: + type: integer + maximum: 1024 + minimum: 1 description: type: string maxLength: 200 + created: + type: string + format: date-time + readOnly: true + nullable: true + last_updated: + type: string + format: date-time + readOnly: true + nullable: true required: + - created - display - id + - last_updated - name + - type - url RearPortTemplateRequest: type: object @@ -129999,17 +184025,206 @@ components: validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' properties: + device_type: + allOf: + - $ref: '#/components/schemas/BriefDeviceTypeRequest' + nullable: true + module_type: + allOf: + - $ref: '#/components/schemas/BriefModuleTypeRequest' + nullable: true name: type: string minLength: 1 description: '{module} is accepted as a substitution for the module bay position when attached to a module type.' maxLength: 64 + label: + type: string + description: Physical label + maxLength: 64 + type: + enum: + - 8p8c + - 8p6c + - 8p4c + - 8p2c + - 6p6c + - 6p4c + - 6p2c + - 4p4c + - 4p2c + - gg45 + - tera-4p + - tera-2p + - tera-1p + - 110-punch + - bnc + - f + - n + - mrj21 + - fc + - lc + - lc-pc + - lc-upc + - lc-apc + - lsh + - lsh-pc + - lsh-upc + - lsh-apc + - lx5 + - lx5-pc + - lx5-upc + - lx5-apc + - mpo + - mtrj + - sc + - sc-pc + - sc-upc + - sc-apc + - st + - cs + - sn + - sma-905 + - sma-906 + - urm-p2 + - urm-p4 + - urm-p8 + - splice + - usb-a + - usb-b + - usb-c + - usb-mini-a + - usb-mini-b + - usb-micro-a + - usb-micro-b + - usb-micro-ab + - other + type: string + description: '* `8p8c` - 8P8C + + * `8p6c` - 8P6C + + * `8p4c` - 8P4C + + * `8p2c` - 8P2C + + * `6p6c` - 6P6C + + * `6p4c` - 6P4C + + * `6p2c` - 6P2C + + * `4p4c` - 4P4C + + * `4p2c` - 4P2C + + * `gg45` - GG45 + + * `tera-4p` - TERA 4P + + * `tera-2p` - TERA 2P + + * `tera-1p` - TERA 1P + + * `110-punch` - 110 Punch + + * `bnc` - BNC + + * `f` - F Connector + + * `n` - N Connector + + * `mrj21` - MRJ21 + + * `fc` - FC + + * `lc` - LC + + * `lc-pc` - LC/PC + + * `lc-upc` - LC/UPC + + * `lc-apc` - LC/APC + + * `lsh` - LSH + + * `lsh-pc` - LSH/PC + + * `lsh-upc` - LSH/UPC + + * `lsh-apc` - LSH/APC + + * `lx5` - LX.5 + + * `lx5-pc` - LX.5/PC + + * `lx5-upc` - LX.5/UPC + + * `lx5-apc` - LX.5/APC + + * `mpo` - MPO + + * `mtrj` - MTRJ + + * `sc` - SC + + * `sc-pc` - SC/PC + + * `sc-upc` - SC/UPC + + * `sc-apc` - SC/APC + + * `st` - ST + + * `cs` - CS + + * `sn` - SN + + * `sma-905` - SMA 905 + + * `sma-906` - SMA 906 + + * `urm-p2` - URM-P2 + + * `urm-p4` - URM-P4 + + * `urm-p8` - URM-P8 + + * `splice` - Splice + + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + + * `other` - Other' + x-spec-enum-id: c5086c01f1f9c18a + color: + type: string + pattern: ^[0-9a-f]{6}$ + maxLength: 6 + positions: + type: integer + maximum: 1024 + minimum: 1 description: type: string maxLength: 200 required: - name + - type Region: type: object description: Extends PrimaryModelSerializer to include MPTT support. @@ -130021,6 +184236,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -130114,6 +184333,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -130124,9 +184347,30 @@ components: type: string maxLength: 100 pattern: ^[-a-zA-Z0-9_]+$ + weight: + type: integer + maximum: 32767 + minimum: 0 description: type: string maxLength: 200 + tags: + type: array + items: + $ref: '#/components/schemas/NestedTag' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date-time + readOnly: true + nullable: true + last_updated: + type: string + format: date-time + readOnly: true + nullable: true prefix_count: type: integer format: int64 @@ -130136,13 +184380,13 @@ components: format: int64 readOnly: true required: + - created - display - id + - last_updated - name - - prefix_count - slug - url - - vlan_count RoleRequest: type: object description: Adds support for custom fields and tags. @@ -130156,9 +184400,20 @@ components: minLength: 1 maxLength: 100 pattern: ^[-a-zA-Z0-9_]+$ + weight: + type: integer + maximum: 32767 + minimum: 0 description: type: string maxLength: 200 + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} required: - name - slug @@ -130173,6 +184428,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -130182,7 +184441,7 @@ components: maxLength: 21 tenant: allOf: - - $ref: '#/components/schemas/Tenant' + - $ref: '#/components/schemas/BriefTenant' nullable: true description: type: string @@ -130224,7 +184483,7 @@ components: maxLength: 21 tenant: allOf: - - $ref: '#/components/schemas/TenantRequest' + - $ref: '#/components/schemas/BriefTenantRequest' nullable: true description: type: string @@ -130254,6 +184513,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -130357,6 +184620,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true module: type: integer readOnly: true @@ -130365,13 +184632,14 @@ components: readOnly: true description: type: string + nullable: true readOnly: true vars: nullable: true readOnly: true result: allOf: - - $ref: '#/components/schemas/Job' + - $ref: '#/components/schemas/BriefJob' readOnly: true display: type: string @@ -130389,6 +184657,22 @@ components: - result - url - vars + ScriptInputRequest: + type: object + properties: + data: {} + commit: + type: boolean + schedule_at: + type: string + format: date-time + nullable: true + interval: + type: integer + nullable: true + required: + - commit + - data Service: type: object description: Adds support for custom fields and tags. @@ -130400,16 +184684,20 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true device: allOf: - - $ref: '#/components/schemas/Device' + - $ref: '#/components/schemas/BriefDevice' nullable: true virtual_machine: allOf: - - $ref: '#/components/schemas/VirtualMachine' + - $ref: '#/components/schemas/BriefVirtualMachine' nullable: true name: type: string @@ -130482,11 +184770,11 @@ components: properties: device: allOf: - - $ref: '#/components/schemas/DeviceRequest' + - $ref: '#/components/schemas/BriefDeviceRequest' nullable: true virtual_machine: allOf: - - $ref: '#/components/schemas/VirtualMachineRequest' + - $ref: '#/components/schemas/BriefVirtualMachineRequest' nullable: true name: type: string @@ -130541,6 +184829,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -130658,6 +184950,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -130669,13 +184965,138 @@ components: type: string maxLength: 100 pattern: ^[-a-zA-Z0-9_]+$ + status: + type: object + properties: + value: + enum: + - planned + - staging + - active + - decommissioning + - retired + type: string + description: '* `planned` - Planned + + * `staging` - Staging + + * `active` - Active + + * `decommissioning` - Decommissioning + + * `retired` - Retired' + x-spec-enum-id: e363a8ddb138be50 + label: + type: string + enum: + - Planned + - Staging + - Active + - Decommissioning + - Retired + region: + allOf: + - $ref: '#/components/schemas/BriefRegion' + nullable: true + group: + allOf: + - $ref: '#/components/schemas/BriefSiteGroup' + nullable: true + tenant: + allOf: + - $ref: '#/components/schemas/BriefTenant' + nullable: true + facility: + type: string + description: Local facility ID or description + maxLength: 50 + time_zone: + type: string + nullable: true description: type: string maxLength: 200 + physical_address: + type: string + description: Physical location of the building + maxLength: 200 + shipping_address: + type: string + description: If different from the physical address + maxLength: 200 + latitude: + type: number + format: double + maximum: 100 + minimum: -100 + exclusiveMaximum: true + exclusiveMinimum: true + nullable: true + description: GPS coordinate in decimal format (xx.yyyyyy) + longitude: + type: number + format: double + maximum: 1000 + minimum: -1000 + exclusiveMaximum: true + exclusiveMinimum: true + nullable: true + description: GPS coordinate in decimal format (xx.yyyyyy) + comments: + type: string + asns: + type: array + items: + $ref: '#/components/schemas/ASN' + tags: + type: array + items: + $ref: '#/components/schemas/NestedTag' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date-time + readOnly: true + nullable: true + last_updated: + type: string + format: date-time + readOnly: true + nullable: true + circuit_count: + type: integer + format: int64 + readOnly: true + device_count: + type: integer + format: int64 + readOnly: true + prefix_count: + type: integer + format: int64 + readOnly: true + rack_count: + type: integer + format: int64 + readOnly: true + virtualmachine_count: + type: integer + format: int64 + readOnly: true + vlan_count: + type: integer + format: int64 + readOnly: true required: + - circuit_count + - created - display - id + - last_updated - name + - rack_count - slug - url SiteGroup: @@ -130689,6 +185110,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -130785,12 +185210,151 @@ components: minLength: 1 maxLength: 100 pattern: ^[-a-zA-Z0-9_]+$ + status: + enum: + - planned + - staging + - active + - decommissioning + - retired + type: string + description: '* `planned` - Planned + + * `staging` - Staging + + * `active` - Active + + * `decommissioning` - Decommissioning + + * `retired` - Retired' + x-spec-enum-id: e363a8ddb138be50 + region: + allOf: + - $ref: '#/components/schemas/BriefRegionRequest' + nullable: true + group: + allOf: + - $ref: '#/components/schemas/BriefSiteGroupRequest' + nullable: true + tenant: + allOf: + - $ref: '#/components/schemas/BriefTenantRequest' + nullable: true + facility: + type: string + description: Local facility ID or description + maxLength: 50 + time_zone: + type: string + nullable: true + minLength: 1 description: type: string maxLength: 200 + physical_address: + type: string + description: Physical location of the building + maxLength: 200 + shipping_address: + type: string + description: If different from the physical address + maxLength: 200 + latitude: + type: number + format: double + maximum: 100 + minimum: -100 + exclusiveMaximum: true + exclusiveMinimum: true + nullable: true + description: GPS coordinate in decimal format (xx.yyyyyy) + longitude: + type: number + format: double + maximum: 1000 + minimum: -1000 + exclusiveMaximum: true + exclusiveMinimum: true + nullable: true + description: GPS coordinate in decimal format (xx.yyyyyy) + comments: + type: string + asns: + type: array + items: + type: integer + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} required: - name - slug + Subscription: + 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: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + object_type: + type: string + object_id: + type: integer + maximum: 9223372036854775807 + minimum: 0 + format: int64 + object: + nullable: true + readOnly: true + user: + $ref: '#/components/schemas/BriefUser' + created: + type: string + format: date-time + readOnly: true + required: + - created + - display + - id + - object + - object_id + - object_type + - url + - user + SubscriptionRequest: + 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: + object_type: + type: string + object_id: + type: integer + maximum: 9223372036854775807 + minimum: 0 + format: int64 + user: + $ref: '#/components/schemas/BriefUserRequest' + required: + - object_id + - object_type + - user Tag: type: object description: 'Extends the built-in ModelSerializer to enforce calling full_clean() @@ -130805,6 +185369,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -130891,6 +185459,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -130901,15 +185473,86 @@ components: type: string maxLength: 100 pattern: ^[-a-zA-Z0-9_]+$ + group: + allOf: + - $ref: '#/components/schemas/BriefTenantGroup' + nullable: true description: type: string maxLength: 200 + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/NestedTag' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date-time + readOnly: true + nullable: true + last_updated: + type: string + format: date-time + readOnly: true + nullable: true + circuit_count: + type: integer + format: int64 + readOnly: true + device_count: + type: integer + format: int64 + readOnly: true + ipaddress_count: + type: integer + format: int64 + readOnly: true + prefix_count: + type: integer + format: int64 + readOnly: true + rack_count: + type: integer + format: int64 + readOnly: true + site_count: + type: integer + format: int64 + readOnly: true + virtualmachine_count: + type: integer + format: int64 + readOnly: true + vlan_count: + type: integer + format: int64 + readOnly: true + vrf_count: + type: integer + format: int64 + readOnly: true + cluster_count: + type: integer + format: int64 + readOnly: true required: + - circuit_count + - cluster_count + - created - display - id + - ipaddress_count + - last_updated - name + - rack_count + - site_count - slug - url + - vrf_count TenantGroup: type: object description: Extends PrimaryModelSerializer to include MPTT support. @@ -130921,6 +185564,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -131016,9 +185663,22 @@ components: minLength: 1 maxLength: 100 pattern: ^[-a-zA-Z0-9_]+$ + group: + allOf: + - $ref: '#/components/schemas/BriefTenantGroupRequest' + nullable: true description: type: string maxLength: 200 + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} required: - name - slug @@ -131036,11 +185696,15 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true user: - $ref: '#/components/schemas/User' + $ref: '#/components/schemas/BriefUser' created: type: string format: date-time @@ -131083,12 +185747,16 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true user: allOf: - - $ref: '#/components/schemas/User' + - $ref: '#/components/schemas/BriefUser' readOnly: true created: type: string @@ -131155,7 +185823,7 @@ components: validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' properties: user: - $ref: '#/components/schemas/UserRequest' + $ref: '#/components/schemas/BriefUserRequest' expires: type: string format: date-time @@ -131187,19 +185855,115 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true name: type: string maxLength: 100 + status: + type: object + properties: + value: + enum: + - planned + - active + - disabled + type: string + description: '* `planned` - Planned + + * `active` - Active + + * `disabled` - Disabled' + x-spec-enum-id: 0d65f7912cba74aa + label: + type: string + enum: + - Planned + - Active + - Disabled + group: + allOf: + - $ref: '#/components/schemas/BriefTunnelGroup' + nullable: true + encapsulation: + type: object + properties: + value: + enum: + - ipsec-transport + - ipsec-tunnel + - ip-ip + - gre + type: string + description: '* `ipsec-transport` - IPsec - Transport + + * `ipsec-tunnel` - IPsec - Tunnel + + * `ip-ip` - IP-in-IP + + * `gre` - GRE' + x-spec-enum-id: 5fc36bb745852746 + label: + type: string + enum: + - IPsec - Transport + - IPsec - Tunnel + - IP-in-IP + - GRE + ipsec_profile: + allOf: + - $ref: '#/components/schemas/BriefIPSecProfile' + nullable: true + tenant: + allOf: + - $ref: '#/components/schemas/BriefTenant' + nullable: true + tunnel_id: + type: integer + maximum: 9223372036854775807 + minimum: 0 + format: int64 + nullable: true description: type: string maxLength: 200 + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/NestedTag' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date-time + readOnly: true + nullable: true + last_updated: + type: string + format: date-time + readOnly: true + nullable: true + terminations_count: + type: integer + format: int64 + readOnly: true required: + - created - display + - encapsulation - id + - last_updated - name + - status + - terminations_count - url TunnelGroup: type: object @@ -131212,6 +185976,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -131289,11 +186057,67 @@ components: type: string minLength: 1 maxLength: 100 + status: + enum: + - planned + - active + - disabled + type: string + description: '* `planned` - Planned + + * `active` - Active + + * `disabled` - Disabled' + x-spec-enum-id: 0d65f7912cba74aa + group: + allOf: + - $ref: '#/components/schemas/BriefTunnelGroupRequest' + nullable: true + encapsulation: + enum: + - ipsec-transport + - ipsec-tunnel + - ip-ip + - gre + type: string + description: '* `ipsec-transport` - IPsec - Transport + + * `ipsec-tunnel` - IPsec - Tunnel + + * `ip-ip` - IP-in-IP + + * `gre` - GRE' + x-spec-enum-id: 5fc36bb745852746 + ipsec_profile: + allOf: + - $ref: '#/components/schemas/BriefIPSecProfileRequest' + nullable: true + tenant: + allOf: + - $ref: '#/components/schemas/BriefTenantRequest' + nullable: true + tunnel_id: + type: integer + maximum: 9223372036854775807 + minimum: 0 + format: int64 + nullable: true description: type: string maxLength: 200 + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} required: + - encapsulation - name + - status TunnelTermination: type: object description: Adds support for custom fields and tags. @@ -131305,11 +186129,15 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true tunnel: - $ref: '#/components/schemas/Tunnel' + $ref: '#/components/schemas/BriefTunnel' role: type: object properties: @@ -131344,7 +186172,7 @@ components: readOnly: true outside_ip: allOf: - - $ref: '#/components/schemas/IPAddress' + - $ref: '#/components/schemas/BriefIPAddress' nullable: true tags: type: array @@ -131379,7 +186207,7 @@ components: description: Adds support for custom fields and tags. properties: tunnel: - $ref: '#/components/schemas/TunnelRequest' + $ref: '#/components/schemas/BriefTunnelRequest' role: enum: - peer @@ -131402,7 +186230,7 @@ components: nullable: true outside_ip: allOf: - - $ref: '#/components/schemas/IPAddressRequest' + - $ref: '#/components/schemas/BriefIPAddressRequest' nullable: true tags: type: array @@ -131430,6 +186258,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -131439,6 +186271,41 @@ components: only. pattern: ^[\w.@+-]+$ maxLength: 150 + first_name: + type: string + maxLength: 150 + last_name: + type: string + maxLength: 150 + email: + type: string + format: email + title: Email address + maxLength: 254 + is_staff: + type: boolean + title: Staff status + description: Designates whether the user can log into this admin site. + is_active: + type: boolean + title: Active + description: Designates whether this user should be treated as active. Unselect + this instead of deleting accounts. + date_joined: + type: string + format: date-time + last_login: + type: string + format: date-time + nullable: true + groups: + type: array + items: + $ref: '#/components/schemas/Group' + permissions: + type: array + items: + $ref: '#/components/schemas/ObjectPermission' required: - display - id @@ -131458,7 +186325,48 @@ components: only. pattern: ^[\w.@+-]+$ maxLength: 150 + password: + type: string + writeOnly: true + minLength: 1 + maxLength: 128 + first_name: + type: string + maxLength: 150 + last_name: + type: string + maxLength: 150 + email: + type: string + format: email + title: Email address + maxLength: 254 + is_staff: + type: boolean + title: Staff status + description: Designates whether the user can log into this admin site. + is_active: + type: boolean + title: Active + description: Designates whether this user should be treated as active. Unselect + this instead of deleting accounts. + date_joined: + type: string + format: date-time + last_login: + type: string + format: date-time + nullable: true + groups: + type: array + items: + type: integer + permissions: + type: array + items: + type: integer required: + - password - username VLAN: type: object @@ -131471,9 +186379,21 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true + site: + allOf: + - $ref: '#/components/schemas/BriefSite' + nullable: true + group: + allOf: + - $ref: '#/components/schemas/BriefVLANGroup' + nullable: true vid: type: integer maximum: 4094 @@ -131483,12 +186403,72 @@ components: name: type: string maxLength: 64 + tenant: + allOf: + - $ref: '#/components/schemas/BriefTenant' + nullable: true + status: + type: object + properties: + value: + enum: + - active + - reserved + - deprecated + type: string + description: '* `active` - Active + + * `reserved` - Reserved + + * `deprecated` - Deprecated' + x-spec-enum-id: 6388dfb94ca1cc15 + label: + type: string + enum: + - Active + - Reserved + - Deprecated + role: + allOf: + - $ref: '#/components/schemas/BriefRole' + nullable: true description: type: string maxLength: 200 + comments: + type: string + l2vpn_termination: + allOf: + - $ref: '#/components/schemas/BriefL2VPNTermination' + readOnly: true + nullable: true + tags: + type: array + items: + $ref: '#/components/schemas/NestedTag' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date-time + readOnly: true + nullable: true + last_updated: + type: string + format: date-time + readOnly: true + nullable: true + prefix_count: + type: integer + format: int64 + readOnly: true required: + - created - display - id + - l2vpn_termination + - last_updated - name - url - vid @@ -131503,6 +186483,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -131522,18 +186506,6 @@ components: scope: nullable: true readOnly: true - min_vid: - type: integer - maximum: 4094 - minimum: 1 - title: Minimum VLAN ID - description: Lowest permissible ID of a child VLAN - max_vid: - type: integer - maximum: 4094 - minimum: 1 - title: Maximum VLAN ID - description: Highest permissible ID of a child VLAN description: type: string maxLength: 200 @@ -131571,7 +186543,6 @@ components: - slug - url - utilization - - vlan_count VLANGroupRequest: type: object description: Adds support for custom fields and tags. @@ -131591,18 +186562,6 @@ components: scope_id: type: integer nullable: true - min_vid: - type: integer - maximum: 4094 - minimum: 1 - title: Minimum VLAN ID - description: Lowest permissible ID of a child VLAN - max_vid: - type: integer - maximum: 4094 - minimum: 1 - title: Maximum VLAN ID - description: Highest permissible ID of a child VLAN description: type: string maxLength: 200 @@ -131620,6 +186579,14 @@ components: type: object description: Adds support for custom fields and tags. properties: + site: + allOf: + - $ref: '#/components/schemas/BriefSiteRequest' + nullable: true + group: + allOf: + - $ref: '#/components/schemas/BriefVLANGroupRequest' + nullable: true vid: type: integer maximum: 4094 @@ -131630,9 +186597,38 @@ components: type: string minLength: 1 maxLength: 64 + tenant: + allOf: + - $ref: '#/components/schemas/BriefTenantRequest' + nullable: true + status: + enum: + - active + - reserved + - deprecated + type: string + description: '* `active` - Active + + * `reserved` - Reserved + + * `deprecated` - Deprecated' + x-spec-enum-id: 6388dfb94ca1cc15 + role: + allOf: + - $ref: '#/components/schemas/BriefRoleRequest' + nullable: true description: type: string maxLength: 200 + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} required: - name - vid @@ -131647,11 +186643,15 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true virtual_machine: - $ref: '#/components/schemas/VirtualMachine' + $ref: '#/components/schemas/BriefVirtualMachine' name: type: string maxLength: 64 @@ -131700,7 +186700,7 @@ components: - Tagged (All) untagged_vlan: allOf: - - $ref: '#/components/schemas/VLAN' + - $ref: '#/components/schemas/BriefVLAN' nullable: true tagged_vlans: type: array @@ -131708,11 +186708,11 @@ components: $ref: '#/components/schemas/VLAN' vrf: allOf: - - $ref: '#/components/schemas/VRF' + - $ref: '#/components/schemas/BriefVRF' nullable: true l2vpn_termination: allOf: - - $ref: '#/components/schemas/L2VPNTermination' + - $ref: '#/components/schemas/BriefL2VPNTermination' readOnly: true nullable: true tags: @@ -131754,7 +186754,7 @@ components: description: Adds support for custom fields and tags. properties: virtual_machine: - $ref: '#/components/schemas/VirtualMachineRequest' + $ref: '#/components/schemas/BriefVirtualMachineRequest' name: type: string minLength: 1 @@ -131796,7 +186796,7 @@ components: x-spec-enum-id: 79109bd9dbb73a3c untagged_vlan: allOf: - - $ref: '#/components/schemas/VLANRequest' + - $ref: '#/components/schemas/BriefVLANRequest' nullable: true tagged_vlans: type: array @@ -131804,7 +186804,7 @@ components: type: integer vrf: allOf: - - $ref: '#/components/schemas/VRFRequest' + - $ref: '#/components/schemas/BriefVRFRequest' nullable: true tags: type: array @@ -131827,6 +186827,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -131839,18 +186843,59 @@ components: title: Route distinguisher description: Unique route distinguisher (as defined in RFC 4364) maxLength: 21 + tenant: + allOf: + - $ref: '#/components/schemas/BriefTenant' + nullable: true + enforce_unique: + type: boolean + title: Enforce unique space + description: Prevent duplicate prefixes/IP addresses within this VRF description: type: string maxLength: 200 + comments: + type: string + import_targets: + type: array + items: + $ref: '#/components/schemas/RouteTarget' + export_targets: + type: array + items: + $ref: '#/components/schemas/RouteTarget' + tags: + type: array + items: + $ref: '#/components/schemas/NestedTag' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date-time + readOnly: true + nullable: true + last_updated: + type: string + format: date-time + readOnly: true + nullable: true + ipaddress_count: + type: integer + format: int64 + readOnly: true prefix_count: type: integer format: int64 readOnly: true required: + - created - display - id + - ipaddress_count + - last_updated - name - - prefix_count - url VRFRequest: type: object @@ -131866,9 +186911,34 @@ components: title: Route distinguisher description: Unique route distinguisher (as defined in RFC 4364) maxLength: 21 + tenant: + allOf: + - $ref: '#/components/schemas/BriefTenantRequest' + nullable: true + enforce_unique: + type: boolean + title: Enforce unique space + description: Prevent duplicate prefixes/IP addresses within this VRF description: type: string maxLength: 200 + comments: + type: string + import_targets: + type: array + items: + type: integer + export_targets: + type: array + items: + type: integer + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} required: - name VirtualChassis: @@ -131882,12 +186952,19 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true name: type: string maxLength: 64 + domain: + type: string + maxLength: 30 master: allOf: - $ref: '#/components/schemas/NestedDevice' @@ -131895,13 +186972,40 @@ components: description: type: string maxLength: 200 + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/NestedTag' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date-time + readOnly: true + nullable: true + last_updated: + type: string + format: date-time + readOnly: true + nullable: true member_count: type: integer readOnly: true + members: + type: array + items: + $ref: '#/components/schemas/NestedDevice' + readOnly: true required: + - created - display - id + - last_updated - member_count + - members - name - url VirtualChassisRequest: @@ -131912,6 +187016,9 @@ components: type: string minLength: 1 maxLength: 64 + domain: + type: string + maxLength: 30 master: allOf: - $ref: '#/components/schemas/NestedDeviceRequest' @@ -131919,6 +187026,15 @@ components: description: type: string maxLength: 200 + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} required: - name VirtualDeviceContext: @@ -131932,6 +187048,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -131939,7 +187059,7 @@ components: type: string maxLength: 64 device: - $ref: '#/components/schemas/Device' + $ref: '#/components/schemas/BriefDevice' identifier: type: integer maximum: 32767 @@ -131947,20 +187067,20 @@ components: nullable: true tenant: allOf: - - $ref: '#/components/schemas/Tenant' + - $ref: '#/components/schemas/BriefTenant' nullable: true primary_ip: allOf: - - $ref: '#/components/schemas/IPAddress' + - $ref: '#/components/schemas/BriefIPAddress' readOnly: true nullable: true primary_ip4: allOf: - - $ref: '#/components/schemas/IPAddress' + - $ref: '#/components/schemas/BriefIPAddress' nullable: true primary_ip6: allOf: - - $ref: '#/components/schemas/IPAddress' + - $ref: '#/components/schemas/BriefIPAddress' nullable: true status: type: object @@ -132029,7 +187149,7 @@ components: minLength: 1 maxLength: 64 device: - $ref: '#/components/schemas/DeviceRequest' + $ref: '#/components/schemas/BriefDeviceRequest' identifier: type: integer maximum: 32767 @@ -132037,15 +187157,15 @@ components: nullable: true tenant: allOf: - - $ref: '#/components/schemas/TenantRequest' + - $ref: '#/components/schemas/BriefTenantRequest' nullable: true primary_ip4: allOf: - - $ref: '#/components/schemas/IPAddressRequest' + - $ref: '#/components/schemas/BriefIPAddressRequest' nullable: true primary_ip6: allOf: - - $ref: '#/components/schemas/IPAddressRequest' + - $ref: '#/components/schemas/BriefIPAddressRequest' nullable: true status: enum: @@ -132086,11 +187206,15 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true virtual_machine: - $ref: '#/components/schemas/VirtualMachine' + $ref: '#/components/schemas/BriefVirtualMachine' name: type: string maxLength: 64 @@ -132101,7 +187225,7 @@ components: type: integer maximum: 2147483647 minimum: 0 - title: Size (GB) + title: Size (MB) tags: type: array items: @@ -132133,7 +187257,7 @@ components: description: Adds support for custom fields and tags. properties: virtual_machine: - $ref: '#/components/schemas/VirtualMachineRequest' + $ref: '#/components/schemas/BriefVirtualMachineRequest' name: type: string minLength: 1 @@ -132145,7 +187269,7 @@ components: type: integer maximum: 2147483647 minimum: 0 - title: Size (GB) + title: Size (MB) tags: type: array items: @@ -132157,7 +187281,7 @@ components: - name - size - virtual_machine - VirtualMachine: + VirtualMachineWithConfigContext: type: object description: Adds support for custom fields and tags. properties: @@ -132168,41 +187292,7 @@ components: type: string format: uri readOnly: true - display: - type: string - readOnly: true - name: - type: string - maxLength: 64 - description: - type: string - maxLength: 200 - required: - - display - - id - - name - - url - VirtualMachineRequest: - type: object - description: Adds support for custom fields and tags. - properties: - name: - type: string - minLength: 1 - maxLength: 64 - description: - type: string - maxLength: 200 - required: - - name - VirtualMachineWithConfigContext: - type: object - description: Adds support for custom fields and tags. - properties: - id: - type: integer - readOnly: true - url: + display_url: type: string format: uri readOnly: true @@ -132247,40 +187337,44 @@ components: - Decommissioning site: allOf: - - $ref: '#/components/schemas/Site' + - $ref: '#/components/schemas/BriefSite' nullable: true cluster: allOf: - - $ref: '#/components/schemas/Cluster' + - $ref: '#/components/schemas/BriefCluster' nullable: true device: allOf: - - $ref: '#/components/schemas/Device' + - $ref: '#/components/schemas/BriefDevice' nullable: true + serial: + type: string + title: Serial number + maxLength: 50 role: allOf: - - $ref: '#/components/schemas/DeviceRole' + - $ref: '#/components/schemas/BriefDeviceRole' nullable: true tenant: allOf: - - $ref: '#/components/schemas/Tenant' + - $ref: '#/components/schemas/BriefTenant' nullable: true platform: allOf: - - $ref: '#/components/schemas/Platform' + - $ref: '#/components/schemas/BriefPlatform' nullable: true primary_ip: allOf: - - $ref: '#/components/schemas/IPAddress' + - $ref: '#/components/schemas/BriefIPAddress' readOnly: true nullable: true primary_ip4: allOf: - - $ref: '#/components/schemas/IPAddress' + - $ref: '#/components/schemas/BriefIPAddress' nullable: true primary_ip6: allOf: - - $ref: '#/components/schemas/IPAddress' + - $ref: '#/components/schemas/BriefIPAddress' nullable: true vcpus: type: number @@ -132300,7 +187394,7 @@ components: maximum: 2147483647 minimum: 0 nullable: true - title: Disk (GB) + title: Disk (MB) description: type: string maxLength: 200 @@ -132308,7 +187402,7 @@ components: type: string config_template: allOf: - - $ref: '#/components/schemas/ConfigTemplate' + - $ref: '#/components/schemas/BriefConfigTemplate' nullable: true local_context_data: nullable: true @@ -132382,35 +187476,39 @@ components: x-spec-enum-id: 2217e87d0c3efdda site: allOf: - - $ref: '#/components/schemas/SiteRequest' + - $ref: '#/components/schemas/BriefSiteRequest' nullable: true cluster: allOf: - - $ref: '#/components/schemas/ClusterRequest' + - $ref: '#/components/schemas/BriefClusterRequest' nullable: true device: allOf: - - $ref: '#/components/schemas/DeviceRequest' + - $ref: '#/components/schemas/BriefDeviceRequest' nullable: true + serial: + type: string + title: Serial number + maxLength: 50 role: allOf: - - $ref: '#/components/schemas/DeviceRoleRequest' + - $ref: '#/components/schemas/BriefDeviceRoleRequest' nullable: true tenant: allOf: - - $ref: '#/components/schemas/TenantRequest' + - $ref: '#/components/schemas/BriefTenantRequest' nullable: true platform: allOf: - - $ref: '#/components/schemas/PlatformRequest' + - $ref: '#/components/schemas/BriefPlatformRequest' nullable: true primary_ip4: allOf: - - $ref: '#/components/schemas/IPAddressRequest' + - $ref: '#/components/schemas/BriefIPAddressRequest' nullable: true primary_ip6: allOf: - - $ref: '#/components/schemas/IPAddressRequest' + - $ref: '#/components/schemas/BriefIPAddressRequest' nullable: true vcpus: type: number @@ -132430,7 +187528,7 @@ components: maximum: 2147483647 minimum: 0 nullable: true - title: Disk (GB) + title: Disk (MB) description: type: string maxLength: 200 @@ -132438,7 +187536,7 @@ components: type: string config_template: allOf: - - $ref: '#/components/schemas/ConfigTemplateRequest' + - $ref: '#/components/schemas/BriefConfigTemplateRequest' nullable: true local_context_data: nullable: true @@ -132464,6 +187562,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -132646,6 +187748,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -132657,7 +187763,7 @@ components: maxLength: 200 group: allOf: - - $ref: '#/components/schemas/WirelessLANGroup' + - $ref: '#/components/schemas/BriefWirelessLANGroup' nullable: true status: type: object @@ -132687,11 +187793,11 @@ components: - Deprecated vlan: allOf: - - $ref: '#/components/schemas/VLAN' + - $ref: '#/components/schemas/BriefVLAN' nullable: true tenant: allOf: - - $ref: '#/components/schemas/Tenant' + - $ref: '#/components/schemas/BriefTenant' nullable: true auth_type: type: object @@ -132782,6 +187888,10 @@ components: type: string format: uri readOnly: true + display_url: + type: string + format: uri + readOnly: true display: type: string readOnly: true @@ -132792,9 +187902,30 @@ components: type: string maxLength: 100 pattern: ^[-a-zA-Z0-9_]+$ + parent: + allOf: + - $ref: '#/components/schemas/NestedWirelessLANGroup' + nullable: true description: type: string maxLength: 200 + tags: + type: array + items: + $ref: '#/components/schemas/NestedTag' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date-time + readOnly: true + nullable: true + last_updated: + type: string + format: date-time + readOnly: true + nullable: true wirelesslan_count: type: integer readOnly: true @@ -132805,8 +187936,10 @@ components: title: ' depth' required: - _depth + - created - display - id + - last_updated - name - slug - url @@ -132854,7 +187987,7 @@ components: maxLength: 200 group: allOf: - - $ref: '#/components/schemas/WirelessLANGroupRequest' + - $ref: '#/components/schemas/BriefWirelessLANGroupRequest' nullable: true status: enum: @@ -132874,11 +188007,249 @@ components: x-spec-enum-id: 412ebdca597f609e vlan: allOf: - - $ref: '#/components/schemas/VLANRequest' + - $ref: '#/components/schemas/BriefVLANRequest' + nullable: true + tenant: + allOf: + - $ref: '#/components/schemas/BriefTenantRequest' + nullable: true + auth_type: + enum: + - open + - wep + - wpa-personal + - wpa-enterprise + - '' + type: string + description: '* `open` - Open + + * `wep` - WEP + + * `wpa-personal` - WPA Personal (PSK) + + * `wpa-enterprise` - WPA Enterprise' + x-spec-enum-id: a2043acb899b3954 + auth_cipher: + enum: + - auto + - tkip + - aes + - '' + type: string + description: '* `auto` - Auto + + * `tkip` - TKIP + + * `aes` - AES' + x-spec-enum-id: 8fdaefa727c26fdc + auth_psk: + type: string + title: Pre-shared key + maxLength: 64 + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} + required: + - ssid + WirelessLink: + type: object + description: Adds support for custom fields and tags. + properties: + id: + type: integer + readOnly: true + url: + type: string + format: uri + readOnly: true + display_url: + type: string + format: uri + readOnly: true + display: + type: string + readOnly: true + interface_a: + $ref: '#/components/schemas/BriefInterface' + interface_b: + $ref: '#/components/schemas/BriefInterface' + ssid: + type: string + maxLength: 32 + status: + type: object + properties: + value: + enum: + - connected + - planned + - decommissioning + type: string + description: '* `connected` - Connected + + * `planned` - Planned + + * `decommissioning` - Decommissioning' + x-spec-enum-id: fbc2f302c08be50d + label: + type: string + enum: + - Connected + - Planned + - Decommissioning + tenant: + allOf: + - $ref: '#/components/schemas/BriefTenant' nullable: true + auth_type: + type: object + properties: + value: + enum: + - open + - wep + - wpa-personal + - wpa-enterprise + - '' + type: string + description: '* `open` - Open + + * `wep` - WEP + + * `wpa-personal` - WPA Personal (PSK) + + * `wpa-enterprise` - WPA Enterprise' + x-spec-enum-id: a2043acb899b3954 + label: + type: string + enum: + - Open + - WEP + - WPA Personal (PSK) + - WPA Enterprise + auth_cipher: + type: object + properties: + value: + enum: + - auto + - tkip + - aes + - '' + type: string + description: '* `auto` - Auto + + * `tkip` - TKIP + + * `aes` - AES' + x-spec-enum-id: 8fdaefa727c26fdc + label: + type: string + enum: + - Auto + - TKIP + - AES + auth_psk: + type: string + title: Pre-shared key + maxLength: 64 + distance: + type: number + format: double + maximum: 1000000 + minimum: -1000000 + exclusiveMaximum: true + exclusiveMinimum: true + nullable: true + distance_unit: + type: object + properties: + value: + enum: + - km + - m + - mi + - ft + - '' + type: string + description: '* `km` - Kilometers + + * `m` - Meters + + * `mi` - Miles + + * `ft` - Feet' + x-spec-enum-id: 53542e7902f946af + label: + type: string + enum: + - Kilometers + - Meters + - Miles + - Feet + nullable: true + description: + type: string + maxLength: 200 + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/NestedTag' + custom_fields: + type: object + additionalProperties: {} + created: + type: string + format: date-time + readOnly: true + nullable: true + last_updated: + type: string + format: date-time + readOnly: true + nullable: true + required: + - created + - display + - id + - interface_a + - interface_b + - last_updated + - url + WirelessLinkRequest: + type: object + description: Adds support for custom fields and tags. + properties: + interface_a: + $ref: '#/components/schemas/BriefInterfaceRequest' + interface_b: + $ref: '#/components/schemas/BriefInterfaceRequest' + ssid: + type: string + maxLength: 32 + status: + enum: + - connected + - planned + - decommissioning + type: string + description: '* `connected` - Connected + + * `planned` - Planned + + * `decommissioning` - Decommissioning' + x-spec-enum-id: fbc2f302c08be50d tenant: allOf: - - $ref: '#/components/schemas/TenantRequest' + - $ref: '#/components/schemas/BriefTenantRequest' nullable: true auth_type: enum: @@ -132913,205 +188284,31 @@ components: type: string title: Pre-shared key maxLength: 64 - comments: - type: string - tags: - type: array - items: - $ref: '#/components/schemas/NestedTagRequest' - custom_fields: - type: object - additionalProperties: {} - required: - - ssid - WirelessLink: - type: object - description: Adds support for custom fields and tags. - properties: - id: - type: integer - readOnly: true - url: - type: string - format: uri - readOnly: true - display: - type: string - readOnly: true - interface_a: - $ref: '#/components/schemas/Interface' - interface_b: - $ref: '#/components/schemas/Interface' - ssid: - type: string - maxLength: 32 - status: - type: object - properties: - value: - enum: - - connected - - planned - - decommissioning - type: string - description: '* `connected` - Connected - - * `planned` - Planned - - * `decommissioning` - Decommissioning' - x-spec-enum-id: fbc2f302c08be50d - label: - type: string - enum: - - Connected - - Planned - - Decommissioning - tenant: - allOf: - - $ref: '#/components/schemas/Tenant' - nullable: true - auth_type: - type: object - properties: - value: - enum: - - open - - wep - - wpa-personal - - wpa-enterprise - - '' - type: string - description: '* `open` - Open - - * `wep` - WEP - - * `wpa-personal` - WPA Personal (PSK) - - * `wpa-enterprise` - WPA Enterprise' - x-spec-enum-id: a2043acb899b3954 - label: - type: string - enum: - - Open - - WEP - - WPA Personal (PSK) - - WPA Enterprise - auth_cipher: - type: object - properties: - value: - enum: - - auto - - tkip - - aes - - '' - type: string - description: '* `auto` - Auto - - * `tkip` - TKIP - - * `aes` - AES' - x-spec-enum-id: 8fdaefa727c26fdc - label: - type: string - enum: - - Auto - - TKIP - - AES - auth_psk: - type: string - title: Pre-shared key - maxLength: 64 - description: - type: string - maxLength: 200 - comments: - type: string - tags: - type: array - items: - $ref: '#/components/schemas/NestedTag' - custom_fields: - type: object - additionalProperties: {} - created: - type: string - format: date-time - readOnly: true - nullable: true - last_updated: - type: string - format: date-time - readOnly: true - nullable: true - required: - - created - - display - - id - - interface_a - - interface_b - - last_updated - - url - WirelessLinkRequest: - type: object - description: Adds support for custom fields and tags. - properties: - interface_a: - $ref: '#/components/schemas/InterfaceRequest' - interface_b: - $ref: '#/components/schemas/InterfaceRequest' - ssid: - type: string - maxLength: 32 - status: - enum: - - connected - - planned - - decommissioning - type: string - description: '* `connected` - Connected - - * `planned` - Planned - - * `decommissioning` - Decommissioning' - x-spec-enum-id: fbc2f302c08be50d - tenant: - allOf: - - $ref: '#/components/schemas/TenantRequest' + distance: + type: number + format: double + maximum: 1000000 + minimum: -1000000 + exclusiveMaximum: true + exclusiveMinimum: true nullable: true - auth_type: + distance_unit: enum: - - open - - wep - - wpa-personal - - wpa-enterprise + - km + - m + - mi + - ft - '' type: string - description: '* `open` - Open - - * `wep` - WEP - - * `wpa-personal` - WPA Personal (PSK) + description: '* `km` - Kilometers - * `wpa-enterprise` - WPA Enterprise' - x-spec-enum-id: a2043acb899b3954 - auth_cipher: - enum: - - auto - - tkip - - aes - - '' - type: string - description: '* `auto` - Auto + * `m` - Meters - * `tkip` - TKIP + * `mi` - Miles - * `aes` - AES' - x-spec-enum-id: 8fdaefa727c26fdc - auth_psk: - type: string - title: Pre-shared key - maxLength: 64 + * `ft` - Feet' + x-spec-enum-id: 53542e7902f946af + nullable: true description: type: string maxLength: 200 @@ -133135,10 +188332,10 @@ components: type: string minLength: 1 rir: - $ref: '#/components/schemas/RIRRequest' + $ref: '#/components/schemas/BriefRIRRequest' tenant: allOf: - - $ref: '#/components/schemas/TenantRequest' + - $ref: '#/components/schemas/BriefTenantRequest' nullable: true date_added: type: string @@ -133187,6 +188384,7 @@ components: - smf-os1 - smf-os2 - aoc + - usb - power - '' type: string @@ -133234,8 +188432,10 @@ components: * `aoc` - Active Optical Cabling (AOC) + * `usb` - USB + * `power` - Power' - x-spec-enum-id: e671018e64196f8d + x-spec-enum-id: 7b11d524b2b1a7ef a_terminations: type: array items: @@ -133258,7 +188458,7 @@ components: x-spec-enum-id: fbc2f302c08be50d tenant: allOf: - - $ref: '#/components/schemas/TenantRequest' + - $ref: '#/components/schemas/BriefTenantRequest' nullable: true label: type: string @@ -133309,6 +188509,37 @@ components: custom_fields: type: object additionalProperties: {} + WritableCircuitGroupAssignmentRequest: + type: object + description: Base serializer for group assignments under CircuitSerializer. + properties: + group: + $ref: '#/components/schemas/BriefCircuitGroupRequest' + circuit: + $ref: '#/components/schemas/BriefCircuitRequest' + priority: + enum: + - primary + - secondary + - tertiary + - inactive + - '' + type: string + description: '* `primary` - Primary + + * `secondary` - Secondary + + * `tertiary` - Tertiary + + * `inactive` - Inactive' + x-spec-enum-id: ef3a31644cec7524 + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + required: + - circuit + - group WritableCircuitRequest: type: object description: Adds support for custom fields and tags. @@ -133320,13 +188551,13 @@ components: description: Unique circuit ID maxLength: 100 provider: - $ref: '#/components/schemas/ProviderRequest' + $ref: '#/components/schemas/BriefProviderRequest' provider_account: allOf: - - $ref: '#/components/schemas/ProviderAccountRequest' + - $ref: '#/components/schemas/BriefProviderAccountRequest' nullable: true type: - $ref: '#/components/schemas/CircuitTypeRequest' + $ref: '#/components/schemas/BriefCircuitTypeRequest' status: enum: - planned @@ -133350,7 +188581,7 @@ components: x-spec-enum-id: 63c838134a022200 tenant: allOf: - - $ref: '#/components/schemas/TenantRequest' + - $ref: '#/components/schemas/BriefTenantRequest' nullable: true install_date: type: string @@ -133381,6 +188612,10 @@ components: custom_fields: type: object additionalProperties: {} + assignments: + type: array + items: + $ref: '#/components/schemas/BriefCircuitGroupAssignmentSerializer_Request' required: - cid - provider @@ -133394,10 +188629,10 @@ components: minLength: 1 maxLength: 100 type: - $ref: '#/components/schemas/ClusterTypeRequest' + $ref: '#/components/schemas/BriefClusterTypeRequest' group: allOf: - - $ref: '#/components/schemas/ClusterGroupRequest' + - $ref: '#/components/schemas/BriefClusterGroupRequest' nullable: true status: enum: @@ -133419,11 +188654,11 @@ components: x-spec-enum-id: 79d20a734d0eecbb tenant: allOf: - - $ref: '#/components/schemas/TenantRequest' + - $ref: '#/components/schemas/BriefTenantRequest' nullable: true site: allOf: - - $ref: '#/components/schemas/SiteRequest' + - $ref: '#/components/schemas/BriefSiteRequest' nullable: true description: type: string @@ -133445,10 +188680,10 @@ components: description: Adds support for custom fields and tags. properties: device: - $ref: '#/components/schemas/DeviceRequest' + $ref: '#/components/schemas/BriefDeviceRequest' module: allOf: - - $ref: '#/components/schemas/ModuleRequest' + - $ref: '#/components/schemas/BriefModuleRequest' nullable: true name: type: string @@ -133568,11 +188803,11 @@ components: properties: device_type: allOf: - - $ref: '#/components/schemas/DeviceTypeRequest' + - $ref: '#/components/schemas/BriefDeviceTypeRequest' nullable: true module_type: allOf: - - $ref: '#/components/schemas/ModuleTypeRequest' + - $ref: '#/components/schemas/BriefModuleTypeRequest' nullable: true name: type: string @@ -133643,10 +188878,10 @@ components: description: Adds support for custom fields and tags. properties: device: - $ref: '#/components/schemas/DeviceRequest' + $ref: '#/components/schemas/BriefDeviceRequest' module: allOf: - - $ref: '#/components/schemas/ModuleRequest' + - $ref: '#/components/schemas/BriefModuleRequest' nullable: true name: type: string @@ -133766,11 +189001,11 @@ components: properties: device_type: allOf: - - $ref: '#/components/schemas/DeviceTypeRequest' + - $ref: '#/components/schemas/BriefDeviceTypeRequest' nullable: true module_type: allOf: - - $ref: '#/components/schemas/ModuleTypeRequest' + - $ref: '#/components/schemas/BriefModuleTypeRequest' nullable: true name: type: string @@ -133848,10 +189083,10 @@ components: minimum: 0 format: int64 contact: - $ref: '#/components/schemas/ContactRequest' + $ref: '#/components/schemas/BriefContactRequest' role: allOf: - - $ref: '#/components/schemas/ContactRoleRequest' + - $ref: '#/components/schemas/BriefContactRoleRequest' nullable: true priority: enum: @@ -134032,8 +189267,12 @@ components: maxLength: 200 required: type: boolean - description: If true, this field is required when creating new objects or - editing an existing object. + description: This field is required when creating new objects or editing + an existing object. + unique: + type: boolean + title: Must be unique + description: The value of this field must be unique for the assigned object search_weight: type: integer maximum: 32767 @@ -134094,6 +189333,10 @@ components: nullable: true description: Default value for the field (must be a JSON value). Encapsulate strings with double quotes (e.g. "Foo"). + related_object_filter: + nullable: true + description: Filter the object selection choices using a query_params dict + (must be a JSON value).Encapsulate strings with double quotes (e.g. "Foo"). weight: type: integer maximum: 32767 @@ -134124,7 +189367,7 @@ components: maxLength: 500 choice_set: allOf: - - $ref: '#/components/schemas/CustomFieldChoiceSetRequest' + - $ref: '#/components/schemas/BriefCustomFieldChoiceSetRequest' nullable: true comments: type: string @@ -134153,13 +189396,13 @@ components: description: type: string maxLength: 200 - comments: - type: string parameters: nullable: true ignore_rules: type: string description: Patterns (one per line) matching files to ignore when syncing + comments: + type: string custom_fields: type: object additionalProperties: {} @@ -134172,10 +189415,10 @@ components: description: Adds support for custom fields and tags. properties: manufacturer: - $ref: '#/components/schemas/ManufacturerRequest' + $ref: '#/components/schemas/BriefManufacturerRequest' default_platform: allOf: - - $ref: '#/components/schemas/PlatformRequest' + - $ref: '#/components/schemas/BriefPlatformRequest' nullable: true model: type: string @@ -134299,16 +189542,16 @@ components: nullable: true maxLength: 64 device_type: - $ref: '#/components/schemas/DeviceTypeRequest' + $ref: '#/components/schemas/BriefDeviceTypeRequest' role: - $ref: '#/components/schemas/DeviceRoleRequest' + $ref: '#/components/schemas/BriefDeviceRoleRequest' tenant: allOf: - - $ref: '#/components/schemas/TenantRequest' + - $ref: '#/components/schemas/BriefTenantRequest' nullable: true platform: allOf: - - $ref: '#/components/schemas/PlatformRequest' + - $ref: '#/components/schemas/BriefPlatformRequest' nullable: true serial: type: string @@ -134321,14 +189564,14 @@ components: description: A unique tag used to identify this device maxLength: 50 site: - $ref: '#/components/schemas/SiteRequest' + $ref: '#/components/schemas/BriefSiteRequest' location: allOf: - - $ref: '#/components/schemas/LocationRequest' + - $ref: '#/components/schemas/BriefLocationRequest' nullable: true rack: allOf: - - $ref: '#/components/schemas/RackRequest' + - $ref: '#/components/schemas/BriefRackRequest' nullable: true position: type: number @@ -134418,23 +189661,23 @@ components: x-spec-enum-id: 58e389e240a5e53d primary_ip4: allOf: - - $ref: '#/components/schemas/IPAddressRequest' + - $ref: '#/components/schemas/BriefIPAddressRequest' nullable: true primary_ip6: allOf: - - $ref: '#/components/schemas/IPAddressRequest' + - $ref: '#/components/schemas/BriefIPAddressRequest' nullable: true oob_ip: allOf: - - $ref: '#/components/schemas/IPAddressRequest' + - $ref: '#/components/schemas/BriefIPAddressRequest' nullable: true cluster: allOf: - - $ref: '#/components/schemas/ClusterRequest' + - $ref: '#/components/schemas/BriefClusterRequest' nullable: true virtual_chassis: allOf: - - $ref: '#/components/schemas/VirtualChassisRequest' + - $ref: '#/components/schemas/BriefVirtualChassisRequest' nullable: true vc_position: type: integer @@ -134454,7 +189697,7 @@ components: type: string config_template: allOf: - - $ref: '#/components/schemas/ConfigTemplateRequest' + - $ref: '#/components/schemas/BriefConfigTemplateRequest' nullable: true local_context_data: nullable: true @@ -134484,28 +189727,35 @@ components: type: string minLength: 1 maxLength: 150 - type_create: - type: boolean - title: On create - description: Triggers when a matching object is created. - type_update: - type: boolean - title: On update - description: Triggers when a matching object is updated. - type_delete: - type: boolean - title: On delete - description: Triggers when a matching object is deleted. - type_job_start: - type: boolean - title: On job start - description: Triggers when a job for a matching object is started. - type_job_end: - type: boolean - title: On job end - description: Triggers when a job for a matching object terminates. enabled: type: boolean + event_types: + type: array + items: + enum: + - object_created + - object_updated + - object_deleted + - job_started + - job_completed + - job_failed + - job_errored + type: string + description: '* `object_created` - Object created + + * `object_updated` - Object updated + + * `object_deleted` - Object deleted + + * `job_started` - Job started + + * `job_completed` - Job completed + + * `job_failed` - Job failed + + * `job_errored` - Job errored' + x-spec-enum-id: 80d172232f4af424 + description: The types of event which will trigger this rule. conditions: nullable: true description: A set of conditions which determine whether the event will @@ -134514,11 +189764,14 @@ components: enum: - webhook - script + - notification type: string description: '* `webhook` - Webhook - * `script` - Script' - x-spec-enum-id: a08300d86473de6e + * `script` - Script + + * `notification` - Notification' + x-spec-enum-id: d07193c73ebc03c6 action_object_type: type: string action_object_id: @@ -134539,6 +189792,7 @@ components: $ref: '#/components/schemas/NestedTagRequest' required: - action_object_type + - event_types - name - object_types WritableFrontPortRequest: @@ -134546,10 +189800,10 @@ components: description: Adds support for custom fields and tags. properties: device: - $ref: '#/components/schemas/DeviceRequest' + $ref: '#/components/schemas/BriefDeviceRequest' module: allOf: - - $ref: '#/components/schemas/ModuleRequest' + - $ref: '#/components/schemas/BriefModuleRequest' nullable: true name: type: string @@ -134607,6 +189861,14 @@ components: - urm-p4 - urm-p8 - splice + - usb-a + - usb-b + - usb-c + - usb-mini-a + - usb-mini-b + - usb-micro-a + - usb-micro-b + - usb-micro-ab - other type: string description: '* `8p8c` - 8P8C @@ -134701,8 +189963,24 @@ components: * `splice` - Splice + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + * `other` - Other' - x-spec-enum-id: 0276d1110ada597a + x-spec-enum-id: c5086c01f1f9c18a color: type: string pattern: ^[0-9a-f]{6}$ @@ -134742,11 +190020,11 @@ components: properties: device_type: allOf: - - $ref: '#/components/schemas/DeviceTypeRequest' + - $ref: '#/components/schemas/BriefDeviceTypeRequest' nullable: true module_type: allOf: - - $ref: '#/components/schemas/ModuleTypeRequest' + - $ref: '#/components/schemas/BriefModuleTypeRequest' nullable: true name: type: string @@ -134806,6 +190084,14 @@ components: - urm-p4 - urm-p8 - splice + - usb-a + - usb-b + - usb-c + - usb-mini-a + - usb-mini-b + - usb-micro-a + - usb-micro-b + - usb-micro-ab - other type: string description: '* `8p8c` - 8P8C @@ -134900,14 +190186,30 @@ components: * `splice` - Splice + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + * `other` - Other' - x-spec-enum-id: 0276d1110ada597a + x-spec-enum-id: c5086c01f1f9c18a color: type: string pattern: ^[0-9a-f]{6}$ maxLength: 6 rear_port: - $ref: '#/components/schemas/RearPortTemplateRequest' + $ref: '#/components/schemas/BriefRearPortTemplateRequest' rear_port_position: type: integer maximum: 1024 @@ -135151,11 +190453,11 @@ components: minLength: 1 vrf: allOf: - - $ref: '#/components/schemas/VRFRequest' + - $ref: '#/components/schemas/BriefVRFRequest' nullable: true tenant: allOf: - - $ref: '#/components/schemas/TenantRequest' + - $ref: '#/components/schemas/BriefTenantRequest' nullable: true status: enum: @@ -135254,11 +190556,11 @@ components: minLength: 1 vrf: allOf: - - $ref: '#/components/schemas/VRFRequest' + - $ref: '#/components/schemas/BriefVRFRequest' nullable: true tenant: allOf: - - $ref: '#/components/schemas/TenantRequest' + - $ref: '#/components/schemas/BriefTenantRequest' nullable: true status: enum: @@ -135277,7 +190579,7 @@ components: * `deprecated` - Deprecated' role: allOf: - - $ref: '#/components/schemas/RoleRequest' + - $ref: '#/components/schemas/BriefRoleRequest' nullable: true description: type: string @@ -135425,9 +190727,9 @@ components: * `ah` - AH' x-spec-enum-id: 1136c2cdfee84436 ike_policy: - $ref: '#/components/schemas/IKEPolicyRequest' + $ref: '#/components/schemas/BriefIKEPolicyRequest' ipsec_policy: - $ref: '#/components/schemas/IPSecPolicyRequest' + $ref: '#/components/schemas/BriefIPSecPolicyRequest' comments: type: string tags: @@ -135532,14 +190834,14 @@ components: description: Adds support for custom fields and tags. properties: device: - $ref: '#/components/schemas/DeviceRequest' + $ref: '#/components/schemas/BriefDeviceRequest' vdcs: type: array items: type: integer module: allOf: - - $ref: '#/components/schemas/ModuleRequest' + - $ref: '#/components/schemas/BriefModuleRequest' nullable: true name: type: string @@ -135559,10 +190861,12 @@ components: - 100base-tx - 100base-t1 - 1000base-t + - 1000base-tx - 2.5gbase-t - 5gbase-t - 10gbase-t - 10gbase-cx4 + - 100base-x-sfp - 1000base-x-gbic - 1000base-x-sfp - 10gbase-x-sfpp @@ -135612,7 +190916,9 @@ components: - ieee802.11ad - ieee802.11ax - ieee802.11ay + - ieee802.11be - ieee802.15.1 + - ieee802.15.4 - other-wireless - gsm - cdma @@ -135693,6 +190999,8 @@ components: * `1000base-t` - 1000BASE-T (1GE) + * `1000base-tx` - 1000BASE-TX (1GE) + * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) @@ -135701,6 +191009,8 @@ components: * `10gbase-cx4` - 10GBASE-CX4 (10GE) + * `100base-x-sfp` - SFP (100ME) + * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) @@ -135799,8 +191109,12 @@ components: * `ieee802.11ay` - IEEE 802.11ay + * `ieee802.11be` - IEEE 802.11be + * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) + * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) + * `other-wireless` - Other (Wireless) * `gsm` - GSM @@ -135926,7 +191240,7 @@ components: * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other' - x-spec-enum-id: b9a351ea129ed754 + x-spec-enum-id: 56365107f9c2326f enabled: type: boolean parent: @@ -136668,7 +191982,7 @@ components: title: Transmit power (dBm) untagged_vlan: allOf: - - $ref: '#/components/schemas/VLANRequest' + - $ref: '#/components/schemas/BriefVLANRequest' nullable: true tagged_vlans: type: array @@ -136683,7 +191997,7 @@ components: type: integer vrf: allOf: - - $ref: '#/components/schemas/VRFRequest' + - $ref: '#/components/schemas/BriefVRFRequest' nullable: true tags: type: array @@ -136705,11 +192019,11 @@ components: properties: device_type: allOf: - - $ref: '#/components/schemas/DeviceTypeRequest' + - $ref: '#/components/schemas/BriefDeviceTypeRequest' nullable: true module_type: allOf: - - $ref: '#/components/schemas/ModuleTypeRequest' + - $ref: '#/components/schemas/BriefModuleTypeRequest' nullable: true name: type: string @@ -136731,10 +192045,12 @@ components: - 100base-tx - 100base-t1 - 1000base-t + - 1000base-tx - 2.5gbase-t - 5gbase-t - 10gbase-t - 10gbase-cx4 + - 100base-x-sfp - 1000base-x-gbic - 1000base-x-sfp - 10gbase-x-sfpp @@ -136784,7 +192100,9 @@ components: - ieee802.11ad - ieee802.11ax - ieee802.11ay + - ieee802.11be - ieee802.15.1 + - ieee802.15.4 - other-wireless - gsm - cdma @@ -136865,6 +192183,8 @@ components: * `1000base-t` - 1000BASE-T (1GE) + * `1000base-tx` - 1000BASE-TX (1GE) + * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) @@ -136873,6 +192193,8 @@ components: * `10gbase-cx4` - 10GBASE-CX4 (10GE) + * `100base-x-sfp` - SFP (100ME) + * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) @@ -136971,8 +192293,12 @@ components: * `ieee802.11ay` - IEEE 802.11ay + * `ieee802.11be` - IEEE 802.11be + * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) + * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) + * `other-wireless` - Other (Wireless) * `gsm` - GSM @@ -137098,7 +192424,7 @@ components: * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other' - x-spec-enum-id: b9a351ea129ed754 + x-spec-enum-id: 56365107f9c2326f enabled: type: boolean mgmt_only: @@ -137279,7 +192605,7 @@ components: type: string tenant: allOf: - - $ref: '#/components/schemas/TenantRequest' + - $ref: '#/components/schemas/BriefTenantRequest' nullable: true tags: type: array @@ -137306,7 +192632,7 @@ components: maxLength: 100 pattern: ^[-a-zA-Z0-9_]+$ site: - $ref: '#/components/schemas/SiteRequest' + $ref: '#/components/schemas/BriefSiteRequest' parent: type: integer nullable: true @@ -137330,7 +192656,7 @@ components: x-spec-enum-id: e363a8ddb138be50 tenant: allOf: - - $ref: '#/components/schemas/TenantRequest' + - $ref: '#/components/schemas/BriefTenantRequest' nullable: true facility: type: string @@ -137356,11 +192682,11 @@ components: description: Adds support for custom fields and tags. properties: device: - $ref: '#/components/schemas/DeviceRequest' + $ref: '#/components/schemas/BriefDeviceRequest' module_bay: type: integer module_type: - $ref: '#/components/schemas/ModuleTypeRequest' + $ref: '#/components/schemas/BriefModuleTypeRequest' status: enum: - offline @@ -137412,7 +192738,7 @@ components: description: Adds support for custom fields and tags. properties: manufacturer: - $ref: '#/components/schemas/ManufacturerRequest' + $ref: '#/components/schemas/BriefManufacturerRequest' model: type: string minLength: 1 @@ -137421,6 +192747,28 @@ components: type: string description: Discrete part number (optional) maxLength: 50 + airflow: + enum: + - front-to-rear + - rear-to-front + - left-to-right + - right-to-left + - side-to-rear + - passive + - '' + type: string + description: '* `front-to-rear` - Front to rear + + * `rear-to-front` - Rear to front + + * `left-to-right` - Left to right + + * `right-to-left` - Right to left + + * `side-to-rear` - Side to rear + + * `passive` - Passive' + x-spec-enum-id: f6e5562e0e98d69d weight: type: number format: double @@ -137465,10 +192813,10 @@ components: description: Adds support for custom fields and tags. properties: power_panel: - $ref: '#/components/schemas/PowerPanelRequest' + $ref: '#/components/schemas/BriefPowerPanelRequest' rack: allOf: - - $ref: '#/components/schemas/RackRequest' + - $ref: '#/components/schemas/BriefRackRequest' nullable: true name: type: string @@ -137537,7 +192885,7 @@ components: maxLength: 200 tenant: allOf: - - $ref: '#/components/schemas/TenantRequest' + - $ref: '#/components/schemas/BriefTenantRequest' nullable: true comments: type: string @@ -137556,10 +192904,10 @@ components: description: Adds support for custom fields and tags. properties: device: - $ref: '#/components/schemas/DeviceRequest' + $ref: '#/components/schemas/BriefDeviceRequest' module: allOf: - - $ref: '#/components/schemas/ModuleRequest' + - $ref: '#/components/schemas/BriefModuleRequest' nullable: true name: type: string @@ -137632,6 +192980,7 @@ components: - nema-l15-60r - nema-l21-20r - nema-l21-30r + - nema-l22-20r - nema-l22-30r - CS6360C - CS6364C @@ -137658,6 +193007,7 @@ components: - molex-micro-fit-2x2 - molex-micro-fit-2x4 - dc-terminal + - eaton-c39 - hdot-cx - saf-d-grid - neutrik-powercon-20a @@ -137669,7 +193019,7 @@ components: - other - '' type: string - x-spec-enum-id: 2ff919f516566857 + x-spec-enum-id: f8c08053f2db8830 description: 'Physical port type @@ -137795,6 +193145,8 @@ components: * `nema-l21-30r` - NEMA L21-30R + * `nema-l22-20r` - NEMA L22-20R + * `nema-l22-30r` - NEMA L22-30R * `CS6360C` - CS6360C @@ -137847,6 +193199,8 @@ components: * `dc-terminal` - DC Terminal + * `eaton-c39` - Eaton C39 + * `hdot-cx` - HDOT Cx * `saf-d-grid` - Saf-D-Grid @@ -137866,7 +193220,7 @@ components: * `other` - Other' power_port: allOf: - - $ref: '#/components/schemas/PowerPortRequest' + - $ref: '#/components/schemas/BriefPowerPortRequest' nullable: true feed_leg: enum: @@ -137909,11 +193263,11 @@ components: properties: device_type: allOf: - - $ref: '#/components/schemas/DeviceTypeRequest' + - $ref: '#/components/schemas/BriefDeviceTypeRequest' nullable: true module_type: allOf: - - $ref: '#/components/schemas/ModuleTypeRequest' + - $ref: '#/components/schemas/BriefModuleTypeRequest' nullable: true name: type: string @@ -137988,6 +193342,7 @@ components: - nema-l15-60r - nema-l21-20r - nema-l21-30r + - nema-l22-20r - nema-l22-30r - CS6360C - CS6364C @@ -138014,6 +193369,7 @@ components: - molex-micro-fit-2x2 - molex-micro-fit-2x4 - dc-terminal + - eaton-c39 - hdot-cx - saf-d-grid - neutrik-powercon-20a @@ -138147,6 +193503,8 @@ components: * `nema-l21-30r` - NEMA L21-30R + * `nema-l22-20r` - NEMA L22-20R + * `nema-l22-30r` - NEMA L22-30R * `CS6360C` - CS6360C @@ -138199,6 +193557,8 @@ components: * `dc-terminal` - DC Terminal + * `eaton-c39` - Eaton C39 + * `hdot-cx` - HDOT Cx * `saf-d-grid` - Saf-D-Grid @@ -138216,10 +193576,10 @@ components: * `hardwired` - Hardwired * `other` - Other' - x-spec-enum-id: 2ff919f516566857 + x-spec-enum-id: f8c08053f2db8830 power_port: allOf: - - $ref: '#/components/schemas/PowerPortTemplateRequest' + - $ref: '#/components/schemas/BriefPowerPortTemplateRequest' nullable: true feed_leg: enum: @@ -138247,10 +193607,10 @@ components: description: Adds support for custom fields and tags. properties: device: - $ref: '#/components/schemas/DeviceRequest' + $ref: '#/components/schemas/BriefDeviceRequest' module: allOf: - - $ref: '#/components/schemas/ModuleRequest' + - $ref: '#/components/schemas/BriefModuleRequest' nullable: true name: type: string @@ -138323,6 +193683,7 @@ components: - nema-l15-60p - nema-l21-20p - nema-l21-30p + - nema-l22-20p - nema-l22-30p - cs6361c - cs6365c @@ -138367,7 +193728,7 @@ components: - other - '' type: string - x-spec-enum-id: 6d680dea031864ae + x-spec-enum-id: f1bd4aedff3a591b description: 'Physical port type @@ -138493,6 +193854,8 @@ components: * `nema-l21-30p` - NEMA L21-30P + * `nema-l22-20p` - NEMA L22-20P + * `nema-l22-30p` - NEMA L22-30P * `cs6361c` - CS6361C @@ -138613,11 +193976,11 @@ components: properties: device_type: allOf: - - $ref: '#/components/schemas/DeviceTypeRequest' + - $ref: '#/components/schemas/BriefDeviceTypeRequest' nullable: true module_type: allOf: - - $ref: '#/components/schemas/ModuleTypeRequest' + - $ref: '#/components/schemas/BriefModuleTypeRequest' nullable: true name: type: string @@ -138692,6 +194055,7 @@ components: - nema-l15-60p - nema-l21-20p - nema-l21-30p + - nema-l22-20p - nema-l22-30p - cs6361c - cs6365c @@ -138858,6 +194222,8 @@ components: * `nema-l21-30p` - NEMA L21-30P + * `nema-l22-20p` - NEMA L22-20P + * `nema-l22-30p` - NEMA L22-30P * `cs6361c` - CS6361C @@ -138941,7 +194307,7 @@ components: * `hardwired` - Hardwired * `other` - Other' - x-spec-enum-id: 6d680dea031864ae + x-spec-enum-id: f1bd4aedff3a591b maximum_draw: type: integer maximum: 2147483647 @@ -138968,19 +194334,19 @@ components: minLength: 1 site: allOf: - - $ref: '#/components/schemas/SiteRequest' + - $ref: '#/components/schemas/BriefSiteRequest' nullable: true vrf: allOf: - - $ref: '#/components/schemas/VRFRequest' + - $ref: '#/components/schemas/BriefVRFRequest' nullable: true tenant: allOf: - - $ref: '#/components/schemas/TenantRequest' + - $ref: '#/components/schemas/BriefTenantRequest' nullable: true vlan: allOf: - - $ref: '#/components/schemas/VLANRequest' + - $ref: '#/components/schemas/BriefVLANRequest' nullable: true status: enum: @@ -139002,7 +194368,7 @@ components: * `deprecated` - Deprecated' role: allOf: - - $ref: '#/components/schemas/RoleRequest' + - $ref: '#/components/schemas/BriefRoleRequest' nullable: true is_pool: type: boolean @@ -139038,14 +194404,14 @@ components: nullable: true maxLength: 50 site: - $ref: '#/components/schemas/SiteRequest' + $ref: '#/components/schemas/BriefSiteRequest' location: allOf: - - $ref: '#/components/schemas/LocationRequest' + - $ref: '#/components/schemas/BriefLocationRequest' nullable: true tenant: allOf: - - $ref: '#/components/schemas/TenantRequest' + - $ref: '#/components/schemas/BriefTenantRequest' nullable: true status: enum: @@ -139067,7 +194433,7 @@ components: x-spec-enum-id: 0c556d55dc1baa13 role: allOf: - - $ref: '#/components/schemas/RackRoleRequest' + - $ref: '#/components/schemas/BriefRackRoleRequest' nullable: true serial: type: string @@ -139078,7 +194444,11 @@ components: nullable: true description: A unique tag used to identify this rack maxLength: 50 - type: + rack_type: + allOf: + - $ref: '#/components/schemas/BriefRackTypeRequest' + nullable: true + form_factor: enum: - 2-post-frame - 4-post-frame @@ -139197,6 +194567,16 @@ components: nullable: true description: Maximum depth of a mounted device, in millimeters. For four-post racks, this is the distance between the front and rear rails. + airflow: + enum: + - front-to-rear + - rear-to-front + - '' + type: string + description: '* `front-to-rear` - Front to rear + + * `rear-to-front` - Rear to front' + x-spec-enum-id: a784734d07ef1b3c description: type: string maxLength: 200 @@ -139212,15 +194592,165 @@ components: required: - name - site + WritableRackTypeRequest: + type: object + description: Adds support for custom fields and tags. + properties: + manufacturer: + $ref: '#/components/schemas/BriefManufacturerRequest' + model: + type: string + minLength: 1 + maxLength: 100 + slug: + type: string + minLength: 1 + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + description: + type: string + maxLength: 200 + form_factor: + enum: + - 2-post-frame + - 4-post-frame + - 4-post-cabinet + - wall-frame + - wall-frame-vertical + - wall-cabinet + - wall-cabinet-vertical + type: string + description: '* `2-post-frame` - 2-post frame + + * `4-post-frame` - 4-post frame + + * `4-post-cabinet` - 4-post cabinet + + * `wall-frame` - Wall-mounted frame + + * `wall-frame-vertical` - Wall-mounted frame (vertical) + + * `wall-cabinet` - Wall-mounted cabinet + + * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical)' + x-spec-enum-id: e32aaa89a223f2ea + width: + enum: + - 10 + - 19 + - 21 + - 23 + type: integer + x-spec-enum-id: 9b322795f297a9c3 + description: 'Rail-to-rail width + + + * `10` - 10 inches + + * `19` - 19 inches + + * `21` - 21 inches + + * `23` - 23 inches' + minimum: 0 + maximum: 32767 + u_height: + type: integer + maximum: 100 + minimum: 1 + title: Height (U) + description: Height in rack units + starting_unit: + type: integer + maximum: 32767 + minimum: 1 + description: Starting unit for rack + desc_units: + type: boolean + title: Descending units + description: Units are numbered top-to-bottom + outer_width: + type: integer + maximum: 32767 + minimum: 0 + nullable: true + description: Outer dimension of rack (width) + outer_depth: + type: integer + maximum: 32767 + minimum: 0 + nullable: true + description: Outer dimension of rack (depth) + outer_unit: + enum: + - mm + - in + - '' + type: string + description: '* `mm` - Millimeters + + * `in` - Inches' + x-spec-enum-id: 86a846b6c40f495e + weight: + type: number + format: double + maximum: 1000000 + minimum: -1000000 + exclusiveMaximum: true + exclusiveMinimum: true + nullable: true + max_weight: + type: integer + maximum: 2147483647 + minimum: 0 + nullable: true + description: Maximum load capacity for the rack + weight_unit: + enum: + - kg + - g + - lb + - oz + - '' + type: string + description: '* `kg` - Kilograms + + * `g` - Grams + + * `lb` - Pounds + + * `oz` - Ounces' + x-spec-enum-id: 7c1876f422815884 + mounting_depth: + type: integer + maximum: 32767 + minimum: 0 + nullable: true + description: Maximum depth of a mounted device, in millimeters. For four-post + racks, this is the distance between the front and rear rails. + comments: + type: string + tags: + type: array + items: + $ref: '#/components/schemas/NestedTagRequest' + custom_fields: + type: object + additionalProperties: {} + required: + - form_factor + - manufacturer + - model + - slug WritableRearPortRequest: type: object description: Adds support for custom fields and tags. properties: device: - $ref: '#/components/schemas/DeviceRequest' + $ref: '#/components/schemas/BriefDeviceRequest' module: allOf: - - $ref: '#/components/schemas/ModuleRequest' + - $ref: '#/components/schemas/BriefModuleRequest' nullable: true name: type: string @@ -139278,6 +194808,14 @@ components: - urm-p4 - urm-p8 - splice + - usb-a + - usb-b + - usb-c + - usb-mini-a + - usb-mini-b + - usb-micro-a + - usb-micro-b + - usb-micro-ab - other type: string description: '* `8p8c` - 8P8C @@ -139372,8 +194910,24 @@ components: * `splice` - Splice + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + * `other` - Other' - x-spec-enum-id: 0276d1110ada597a + x-spec-enum-id: c5086c01f1f9c18a color: type: string pattern: ^[0-9a-f]{6}$ @@ -139409,11 +194963,11 @@ components: properties: device_type: allOf: - - $ref: '#/components/schemas/DeviceTypeRequest' + - $ref: '#/components/schemas/BriefDeviceTypeRequest' nullable: true module_type: allOf: - - $ref: '#/components/schemas/ModuleTypeRequest' + - $ref: '#/components/schemas/BriefModuleTypeRequest' nullable: true name: type: string @@ -139473,6 +195027,14 @@ components: - urm-p4 - urm-p8 - splice + - usb-a + - usb-b + - usb-c + - usb-mini-a + - usb-mini-b + - usb-micro-a + - usb-micro-b + - usb-micro-ab - other type: string description: '* `8p8c` - 8P8C @@ -139567,8 +195129,24 @@ components: * `splice` - Splice + * `usb-a` - USB Type A + + * `usb-b` - USB Type B + + * `usb-c` - USB Type C + + * `usb-mini-a` - USB Mini A + + * `usb-mini-b` - USB Mini B + + * `usb-micro-a` - USB Micro A + + * `usb-micro-b` - USB Micro B + + * `usb-micro-ab` - USB Micro AB + * `other` - Other' - x-spec-enum-id: 0276d1110ada597a + x-spec-enum-id: c5086c01f1f9c18a color: type: string pattern: ^[0-9a-f]{6}$ @@ -139619,11 +195197,11 @@ components: properties: device: allOf: - - $ref: '#/components/schemas/DeviceRequest' + - $ref: '#/components/schemas/BriefDeviceRequest' nullable: true virtual_machine: allOf: - - $ref: '#/components/schemas/VirtualMachineRequest' + - $ref: '#/components/schemas/BriefVirtualMachineRequest' nullable: true name: type: string @@ -139775,15 +195353,15 @@ components: x-spec-enum-id: e363a8ddb138be50 region: allOf: - - $ref: '#/components/schemas/RegionRequest' + - $ref: '#/components/schemas/BriefRegionRequest' nullable: true group: allOf: - - $ref: '#/components/schemas/SiteGroupRequest' + - $ref: '#/components/schemas/BriefSiteGroupRequest' nullable: true tenant: allOf: - - $ref: '#/components/schemas/TenantRequest' + - $ref: '#/components/schemas/BriefTenantRequest' nullable: true facility: type: string @@ -139792,6 +195370,7 @@ components: time_zone: type: string nullable: true + minLength: 1 description: type: string maxLength: 200 @@ -139888,7 +195467,7 @@ components: x-spec-enum-id: 0d65f7912cba74aa group: allOf: - - $ref: '#/components/schemas/TunnelGroupRequest' + - $ref: '#/components/schemas/BriefTunnelGroupRequest' nullable: true encapsulation: enum: @@ -139907,11 +195486,11 @@ components: x-spec-enum-id: 5fc36bb745852746 ipsec_profile: allOf: - - $ref: '#/components/schemas/IPSecProfileRequest' + - $ref: '#/components/schemas/BriefIPSecProfileRequest' nullable: true tenant: allOf: - - $ref: '#/components/schemas/TenantRequest' + - $ref: '#/components/schemas/BriefTenantRequest' nullable: true tunnel_id: type: integer @@ -139939,7 +195518,7 @@ components: description: Adds support for custom fields and tags. properties: tunnel: - $ref: '#/components/schemas/TunnelRequest' + $ref: '#/components/schemas/BriefTunnelRequest' role: enum: - peer @@ -139962,7 +195541,7 @@ components: nullable: true outside_ip: allOf: - - $ref: '#/components/schemas/IPAddressRequest' + - $ref: '#/components/schemas/BriefIPAddressRequest' nullable: true tags: type: array @@ -139981,11 +195560,11 @@ components: properties: site: allOf: - - $ref: '#/components/schemas/SiteRequest' + - $ref: '#/components/schemas/BriefSiteRequest' nullable: true group: allOf: - - $ref: '#/components/schemas/VLANGroupRequest' + - $ref: '#/components/schemas/BriefVLANGroupRequest' nullable: true vid: type: integer @@ -139999,7 +195578,7 @@ components: maxLength: 64 tenant: allOf: - - $ref: '#/components/schemas/TenantRequest' + - $ref: '#/components/schemas/BriefTenantRequest' nullable: true status: enum: @@ -140018,7 +195597,7 @@ components: * `deprecated` - Deprecated' role: allOf: - - $ref: '#/components/schemas/RoleRequest' + - $ref: '#/components/schemas/BriefRoleRequest' nullable: true description: type: string @@ -140040,7 +195619,7 @@ components: description: Adds support for custom fields and tags. properties: virtual_machine: - $ref: '#/components/schemas/VirtualMachineRequest' + $ref: '#/components/schemas/BriefVirtualMachineRequest' name: type: string minLength: 1 @@ -140085,7 +195664,7 @@ components: * `tagged-all` - Tagged (All)' untagged_vlan: allOf: - - $ref: '#/components/schemas/VLANRequest' + - $ref: '#/components/schemas/BriefVLANRequest' nullable: true tagged_vlans: type: array @@ -140093,7 +195672,7 @@ components: type: integer vrf: allOf: - - $ref: '#/components/schemas/VRFRequest' + - $ref: '#/components/schemas/BriefVRFRequest' nullable: true tags: type: array @@ -140142,7 +195721,7 @@ components: minLength: 1 maxLength: 64 device: - $ref: '#/components/schemas/DeviceRequest' + $ref: '#/components/schemas/BriefDeviceRequest' identifier: type: integer maximum: 32767 @@ -140150,15 +195729,15 @@ components: nullable: true tenant: allOf: - - $ref: '#/components/schemas/TenantRequest' + - $ref: '#/components/schemas/BriefTenantRequest' nullable: true primary_ip4: allOf: - - $ref: '#/components/schemas/IPAddressRequest' + - $ref: '#/components/schemas/BriefIPAddressRequest' nullable: true primary_ip6: allOf: - - $ref: '#/components/schemas/IPAddressRequest' + - $ref: '#/components/schemas/BriefIPAddressRequest' nullable: true status: enum: @@ -140219,35 +195798,39 @@ components: x-spec-enum-id: 2217e87d0c3efdda site: allOf: - - $ref: '#/components/schemas/SiteRequest' + - $ref: '#/components/schemas/BriefSiteRequest' nullable: true cluster: allOf: - - $ref: '#/components/schemas/ClusterRequest' + - $ref: '#/components/schemas/BriefClusterRequest' nullable: true device: allOf: - - $ref: '#/components/schemas/DeviceRequest' + - $ref: '#/components/schemas/BriefDeviceRequest' nullable: true + serial: + type: string + title: Serial number + maxLength: 50 role: allOf: - - $ref: '#/components/schemas/DeviceRoleRequest' + - $ref: '#/components/schemas/BriefDeviceRoleRequest' nullable: true tenant: allOf: - - $ref: '#/components/schemas/TenantRequest' + - $ref: '#/components/schemas/BriefTenantRequest' nullable: true platform: allOf: - - $ref: '#/components/schemas/PlatformRequest' + - $ref: '#/components/schemas/BriefPlatformRequest' nullable: true primary_ip4: allOf: - - $ref: '#/components/schemas/IPAddressRequest' + - $ref: '#/components/schemas/BriefIPAddressRequest' nullable: true primary_ip6: allOf: - - $ref: '#/components/schemas/IPAddressRequest' + - $ref: '#/components/schemas/BriefIPAddressRequest' nullable: true vcpus: type: number @@ -140267,7 +195850,7 @@ components: maximum: 2147483647 minimum: 0 nullable: true - title: Disk (GB) + title: Disk (MB) description: type: string maxLength: 200 @@ -140275,7 +195858,7 @@ components: type: string config_template: allOf: - - $ref: '#/components/schemas/ConfigTemplateRequest' + - $ref: '#/components/schemas/BriefConfigTemplateRequest' nullable: true local_context_data: nullable: true @@ -140333,7 +195916,7 @@ components: maxLength: 200 group: allOf: - - $ref: '#/components/schemas/WirelessLANGroupRequest' + - $ref: '#/components/schemas/BriefWirelessLANGroupRequest' nullable: true status: enum: @@ -140352,11 +195935,11 @@ components: x-spec-enum-id: 412ebdca597f609e vlan: allOf: - - $ref: '#/components/schemas/VLANRequest' + - $ref: '#/components/schemas/BriefVLANRequest' nullable: true tenant: allOf: - - $ref: '#/components/schemas/TenantRequest' + - $ref: '#/components/schemas/BriefTenantRequest' nullable: true auth_type: enum: @@ -140409,9 +195992,9 @@ components: description: Adds support for custom fields and tags. properties: interface_a: - $ref: '#/components/schemas/InterfaceRequest' + $ref: '#/components/schemas/BriefInterfaceRequest' interface_b: - $ref: '#/components/schemas/InterfaceRequest' + $ref: '#/components/schemas/BriefInterfaceRequest' ssid: type: string maxLength: 32 @@ -140429,7 +196012,7 @@ components: x-spec-enum-id: fbc2f302c08be50d tenant: allOf: - - $ref: '#/components/schemas/TenantRequest' + - $ref: '#/components/schemas/BriefTenantRequest' nullable: true auth_type: enum: @@ -140466,6 +196049,30 @@ components: type: string title: Pre-shared key maxLength: 64 + distance: + type: number + format: double + maximum: 1000000 + minimum: -1000000 + exclusiveMaximum: true + exclusiveMinimum: true + nullable: true + distance_unit: + enum: + - km + - m + - mi + - ft + - '' + type: string + description: '* `km` - Kilometers + + * `m` - Meters + + * `mi` - Miles + + * `ft` - Feet' + x-spec-enum-id: 53542e7902f946af description: type: string maxLength: 200 diff --git a/api_circuits.go b/api_circuits.go index 7e493535b..b7931efd2 100644 --- a/api_circuits.go +++ b/api_circuits.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -24,6 +24,3971 @@ import ( // CircuitsAPIService CircuitsAPI service type CircuitsAPIService service +type ApiCircuitsCircuitGroupAssignmentsBulkDestroyRequest struct { + ctx context.Context + ApiService *CircuitsAPIService + circuitGroupAssignmentRequest *[]CircuitGroupAssignmentRequest +} + +func (r ApiCircuitsCircuitGroupAssignmentsBulkDestroyRequest) CircuitGroupAssignmentRequest(circuitGroupAssignmentRequest []CircuitGroupAssignmentRequest) ApiCircuitsCircuitGroupAssignmentsBulkDestroyRequest { + r.circuitGroupAssignmentRequest = &circuitGroupAssignmentRequest + return r +} + +func (r ApiCircuitsCircuitGroupAssignmentsBulkDestroyRequest) Execute() (*http.Response, error) { + return r.ApiService.CircuitsCircuitGroupAssignmentsBulkDestroyExecute(r) +} + +/* +CircuitsCircuitGroupAssignmentsBulkDestroy Method for CircuitsCircuitGroupAssignmentsBulkDestroy + +Delete a list of Circuit group assignment objects. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiCircuitsCircuitGroupAssignmentsBulkDestroyRequest +*/ +func (a *CircuitsAPIService) CircuitsCircuitGroupAssignmentsBulkDestroy(ctx context.Context) ApiCircuitsCircuitGroupAssignmentsBulkDestroyRequest { + return ApiCircuitsCircuitGroupAssignmentsBulkDestroyRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +func (a *CircuitsAPIService) CircuitsCircuitGroupAssignmentsBulkDestroyExecute(r ApiCircuitsCircuitGroupAssignmentsBulkDestroyRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CircuitsAPIService.CircuitsCircuitGroupAssignmentsBulkDestroy") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/circuits/circuit-group-assignments/" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.circuitGroupAssignmentRequest == nil { + return nil, reportError("circuitGroupAssignmentRequest is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "multipart/form-data"} + + // 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.circuitGroupAssignmentRequest + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["tokenAuth"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + 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 ApiCircuitsCircuitGroupAssignmentsBulkPartialUpdateRequest struct { + ctx context.Context + ApiService *CircuitsAPIService + circuitGroupAssignmentRequest *[]CircuitGroupAssignmentRequest +} + +func (r ApiCircuitsCircuitGroupAssignmentsBulkPartialUpdateRequest) CircuitGroupAssignmentRequest(circuitGroupAssignmentRequest []CircuitGroupAssignmentRequest) ApiCircuitsCircuitGroupAssignmentsBulkPartialUpdateRequest { + r.circuitGroupAssignmentRequest = &circuitGroupAssignmentRequest + return r +} + +func (r ApiCircuitsCircuitGroupAssignmentsBulkPartialUpdateRequest) Execute() ([]CircuitGroupAssignment, *http.Response, error) { + return r.ApiService.CircuitsCircuitGroupAssignmentsBulkPartialUpdateExecute(r) +} + +/* +CircuitsCircuitGroupAssignmentsBulkPartialUpdate Method for CircuitsCircuitGroupAssignmentsBulkPartialUpdate + +Patch a list of Circuit group assignment objects. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiCircuitsCircuitGroupAssignmentsBulkPartialUpdateRequest +*/ +func (a *CircuitsAPIService) CircuitsCircuitGroupAssignmentsBulkPartialUpdate(ctx context.Context) ApiCircuitsCircuitGroupAssignmentsBulkPartialUpdateRequest { + return ApiCircuitsCircuitGroupAssignmentsBulkPartialUpdateRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// +// @return []CircuitGroupAssignment +func (a *CircuitsAPIService) CircuitsCircuitGroupAssignmentsBulkPartialUpdateExecute(r ApiCircuitsCircuitGroupAssignmentsBulkPartialUpdateRequest) ([]CircuitGroupAssignment, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPatch + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []CircuitGroupAssignment + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CircuitsAPIService.CircuitsCircuitGroupAssignmentsBulkPartialUpdate") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/circuits/circuit-group-assignments/" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.circuitGroupAssignmentRequest == nil { + return localVarReturnValue, nil, reportError("circuitGroupAssignmentRequest is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "multipart/form-data"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.circuitGroupAssignmentRequest + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["tokenAuth"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + 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 ApiCircuitsCircuitGroupAssignmentsBulkUpdateRequest struct { + ctx context.Context + ApiService *CircuitsAPIService + circuitGroupAssignmentRequest *[]CircuitGroupAssignmentRequest +} + +func (r ApiCircuitsCircuitGroupAssignmentsBulkUpdateRequest) CircuitGroupAssignmentRequest(circuitGroupAssignmentRequest []CircuitGroupAssignmentRequest) ApiCircuitsCircuitGroupAssignmentsBulkUpdateRequest { + r.circuitGroupAssignmentRequest = &circuitGroupAssignmentRequest + return r +} + +func (r ApiCircuitsCircuitGroupAssignmentsBulkUpdateRequest) Execute() ([]CircuitGroupAssignment, *http.Response, error) { + return r.ApiService.CircuitsCircuitGroupAssignmentsBulkUpdateExecute(r) +} + +/* +CircuitsCircuitGroupAssignmentsBulkUpdate Method for CircuitsCircuitGroupAssignmentsBulkUpdate + +Put a list of Circuit group assignment objects. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiCircuitsCircuitGroupAssignmentsBulkUpdateRequest +*/ +func (a *CircuitsAPIService) CircuitsCircuitGroupAssignmentsBulkUpdate(ctx context.Context) ApiCircuitsCircuitGroupAssignmentsBulkUpdateRequest { + return ApiCircuitsCircuitGroupAssignmentsBulkUpdateRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// +// @return []CircuitGroupAssignment +func (a *CircuitsAPIService) CircuitsCircuitGroupAssignmentsBulkUpdateExecute(r ApiCircuitsCircuitGroupAssignmentsBulkUpdateRequest) ([]CircuitGroupAssignment, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []CircuitGroupAssignment + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CircuitsAPIService.CircuitsCircuitGroupAssignmentsBulkUpdate") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/circuits/circuit-group-assignments/" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.circuitGroupAssignmentRequest == nil { + return localVarReturnValue, nil, reportError("circuitGroupAssignmentRequest is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "multipart/form-data"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.circuitGroupAssignmentRequest + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["tokenAuth"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + 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 ApiCircuitsCircuitGroupAssignmentsCreateRequest struct { + ctx context.Context + ApiService *CircuitsAPIService + writableCircuitGroupAssignmentRequest *WritableCircuitGroupAssignmentRequest +} + +func (r ApiCircuitsCircuitGroupAssignmentsCreateRequest) WritableCircuitGroupAssignmentRequest(writableCircuitGroupAssignmentRequest WritableCircuitGroupAssignmentRequest) ApiCircuitsCircuitGroupAssignmentsCreateRequest { + r.writableCircuitGroupAssignmentRequest = &writableCircuitGroupAssignmentRequest + return r +} + +func (r ApiCircuitsCircuitGroupAssignmentsCreateRequest) Execute() (*CircuitGroupAssignment, *http.Response, error) { + return r.ApiService.CircuitsCircuitGroupAssignmentsCreateExecute(r) +} + +/* +CircuitsCircuitGroupAssignmentsCreate Method for CircuitsCircuitGroupAssignmentsCreate + +Post a list of Circuit group assignment objects. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiCircuitsCircuitGroupAssignmentsCreateRequest +*/ +func (a *CircuitsAPIService) CircuitsCircuitGroupAssignmentsCreate(ctx context.Context) ApiCircuitsCircuitGroupAssignmentsCreateRequest { + return ApiCircuitsCircuitGroupAssignmentsCreateRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// +// @return CircuitGroupAssignment +func (a *CircuitsAPIService) CircuitsCircuitGroupAssignmentsCreateExecute(r ApiCircuitsCircuitGroupAssignmentsCreateRequest) (*CircuitGroupAssignment, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *CircuitGroupAssignment + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CircuitsAPIService.CircuitsCircuitGroupAssignmentsCreate") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/circuits/circuit-group-assignments/" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.writableCircuitGroupAssignmentRequest == nil { + return localVarReturnValue, nil, reportError("writableCircuitGroupAssignmentRequest is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "multipart/form-data"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.writableCircuitGroupAssignmentRequest + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["tokenAuth"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + 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 ApiCircuitsCircuitGroupAssignmentsDestroyRequest struct { + ctx context.Context + ApiService *CircuitsAPIService + id int32 +} + +func (r ApiCircuitsCircuitGroupAssignmentsDestroyRequest) Execute() (*http.Response, error) { + return r.ApiService.CircuitsCircuitGroupAssignmentsDestroyExecute(r) +} + +/* +CircuitsCircuitGroupAssignmentsDestroy Method for CircuitsCircuitGroupAssignmentsDestroy + +Delete a Circuit group assignment object. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id A unique integer value identifying this Circuit group assignment. + @return ApiCircuitsCircuitGroupAssignmentsDestroyRequest +*/ +func (a *CircuitsAPIService) CircuitsCircuitGroupAssignmentsDestroy(ctx context.Context, id int32) ApiCircuitsCircuitGroupAssignmentsDestroyRequest { + return ApiCircuitsCircuitGroupAssignmentsDestroyRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +func (a *CircuitsAPIService) CircuitsCircuitGroupAssignmentsDestroyExecute(r ApiCircuitsCircuitGroupAssignmentsDestroyRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CircuitsAPIService.CircuitsCircuitGroupAssignmentsDestroy") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/circuits/circuit-group-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{} + + // 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 ApiCircuitsCircuitGroupAssignmentsListRequest struct { + ctx context.Context + ApiService *CircuitsAPIService + circuit *[]string + circuitN *[]string + circuitId *[]int32 + circuitIdN *[]int32 + created *[]time.Time + createdEmpty *[]time.Time + createdGt *[]time.Time + createdGte *[]time.Time + createdLt *[]time.Time + createdLte *[]time.Time + createdN *[]time.Time + createdByRequest *string + group *[]string + groupN *[]string + groupId *[]int32 + groupIdN *[]int32 + id *[]int32 + idEmpty *bool + idGt *[]int32 + idGte *[]int32 + idLt *[]int32 + idLte *[]int32 + idN *[]int32 + lastUpdated *[]time.Time + lastUpdatedEmpty *[]time.Time + lastUpdatedGt *[]time.Time + lastUpdatedGte *[]time.Time + lastUpdatedLt *[]time.Time + lastUpdatedLte *[]time.Time + lastUpdatedN *[]time.Time + limit *int32 + modifiedByRequest *string + offset *int32 + ordering *string + priority *CircuitsCircuitGroupAssignmentsListPriorityParameter + provider *[]string + providerN *[]string + providerId *[]int32 + providerIdN *[]int32 + q *string + tag *[]string + tagN *[]string + updatedByRequest *string +} + +// Circuit (CID) +func (r ApiCircuitsCircuitGroupAssignmentsListRequest) Circuit(circuit []string) ApiCircuitsCircuitGroupAssignmentsListRequest { + r.circuit = &circuit + return r +} + +// Circuit (CID) +func (r ApiCircuitsCircuitGroupAssignmentsListRequest) CircuitN(circuitN []string) ApiCircuitsCircuitGroupAssignmentsListRequest { + r.circuitN = &circuitN + return r +} + +// Circuit (ID) +func (r ApiCircuitsCircuitGroupAssignmentsListRequest) CircuitId(circuitId []int32) ApiCircuitsCircuitGroupAssignmentsListRequest { + r.circuitId = &circuitId + return r +} + +// Circuit (ID) +func (r ApiCircuitsCircuitGroupAssignmentsListRequest) CircuitIdN(circuitIdN []int32) ApiCircuitsCircuitGroupAssignmentsListRequest { + r.circuitIdN = &circuitIdN + return r +} + +func (r ApiCircuitsCircuitGroupAssignmentsListRequest) Created(created []time.Time) ApiCircuitsCircuitGroupAssignmentsListRequest { + r.created = &created + return r +} + +func (r ApiCircuitsCircuitGroupAssignmentsListRequest) CreatedEmpty(createdEmpty []time.Time) ApiCircuitsCircuitGroupAssignmentsListRequest { + r.createdEmpty = &createdEmpty + return r +} + +func (r ApiCircuitsCircuitGroupAssignmentsListRequest) CreatedGt(createdGt []time.Time) ApiCircuitsCircuitGroupAssignmentsListRequest { + r.createdGt = &createdGt + return r +} + +func (r ApiCircuitsCircuitGroupAssignmentsListRequest) CreatedGte(createdGte []time.Time) ApiCircuitsCircuitGroupAssignmentsListRequest { + r.createdGte = &createdGte + return r +} + +func (r ApiCircuitsCircuitGroupAssignmentsListRequest) CreatedLt(createdLt []time.Time) ApiCircuitsCircuitGroupAssignmentsListRequest { + r.createdLt = &createdLt + return r +} + +func (r ApiCircuitsCircuitGroupAssignmentsListRequest) CreatedLte(createdLte []time.Time) ApiCircuitsCircuitGroupAssignmentsListRequest { + r.createdLte = &createdLte + return r +} + +func (r ApiCircuitsCircuitGroupAssignmentsListRequest) CreatedN(createdN []time.Time) ApiCircuitsCircuitGroupAssignmentsListRequest { + r.createdN = &createdN + return r +} + +func (r ApiCircuitsCircuitGroupAssignmentsListRequest) CreatedByRequest(createdByRequest string) ApiCircuitsCircuitGroupAssignmentsListRequest { + r.createdByRequest = &createdByRequest + return r +} + +// Circuit group (slug) +func (r ApiCircuitsCircuitGroupAssignmentsListRequest) Group(group []string) ApiCircuitsCircuitGroupAssignmentsListRequest { + r.group = &group + return r +} + +// Circuit group (slug) +func (r ApiCircuitsCircuitGroupAssignmentsListRequest) GroupN(groupN []string) ApiCircuitsCircuitGroupAssignmentsListRequest { + r.groupN = &groupN + return r +} + +// Circuit group (ID) +func (r ApiCircuitsCircuitGroupAssignmentsListRequest) GroupId(groupId []int32) ApiCircuitsCircuitGroupAssignmentsListRequest { + r.groupId = &groupId + return r +} + +// Circuit group (ID) +func (r ApiCircuitsCircuitGroupAssignmentsListRequest) GroupIdN(groupIdN []int32) ApiCircuitsCircuitGroupAssignmentsListRequest { + r.groupIdN = &groupIdN + return r +} + +func (r ApiCircuitsCircuitGroupAssignmentsListRequest) Id(id []int32) ApiCircuitsCircuitGroupAssignmentsListRequest { + r.id = &id + return r +} + +func (r ApiCircuitsCircuitGroupAssignmentsListRequest) IdEmpty(idEmpty bool) ApiCircuitsCircuitGroupAssignmentsListRequest { + r.idEmpty = &idEmpty + return r +} + +func (r ApiCircuitsCircuitGroupAssignmentsListRequest) IdGt(idGt []int32) ApiCircuitsCircuitGroupAssignmentsListRequest { + r.idGt = &idGt + return r +} + +func (r ApiCircuitsCircuitGroupAssignmentsListRequest) IdGte(idGte []int32) ApiCircuitsCircuitGroupAssignmentsListRequest { + r.idGte = &idGte + return r +} + +func (r ApiCircuitsCircuitGroupAssignmentsListRequest) IdLt(idLt []int32) ApiCircuitsCircuitGroupAssignmentsListRequest { + r.idLt = &idLt + return r +} + +func (r ApiCircuitsCircuitGroupAssignmentsListRequest) IdLte(idLte []int32) ApiCircuitsCircuitGroupAssignmentsListRequest { + r.idLte = &idLte + return r +} + +func (r ApiCircuitsCircuitGroupAssignmentsListRequest) IdN(idN []int32) ApiCircuitsCircuitGroupAssignmentsListRequest { + r.idN = &idN + return r +} + +func (r ApiCircuitsCircuitGroupAssignmentsListRequest) LastUpdated(lastUpdated []time.Time) ApiCircuitsCircuitGroupAssignmentsListRequest { + r.lastUpdated = &lastUpdated + return r +} + +func (r ApiCircuitsCircuitGroupAssignmentsListRequest) LastUpdatedEmpty(lastUpdatedEmpty []time.Time) ApiCircuitsCircuitGroupAssignmentsListRequest { + r.lastUpdatedEmpty = &lastUpdatedEmpty + return r +} + +func (r ApiCircuitsCircuitGroupAssignmentsListRequest) LastUpdatedGt(lastUpdatedGt []time.Time) ApiCircuitsCircuitGroupAssignmentsListRequest { + r.lastUpdatedGt = &lastUpdatedGt + return r +} + +func (r ApiCircuitsCircuitGroupAssignmentsListRequest) LastUpdatedGte(lastUpdatedGte []time.Time) ApiCircuitsCircuitGroupAssignmentsListRequest { + r.lastUpdatedGte = &lastUpdatedGte + return r +} + +func (r ApiCircuitsCircuitGroupAssignmentsListRequest) LastUpdatedLt(lastUpdatedLt []time.Time) ApiCircuitsCircuitGroupAssignmentsListRequest { + r.lastUpdatedLt = &lastUpdatedLt + return r +} + +func (r ApiCircuitsCircuitGroupAssignmentsListRequest) LastUpdatedLte(lastUpdatedLte []time.Time) ApiCircuitsCircuitGroupAssignmentsListRequest { + r.lastUpdatedLte = &lastUpdatedLte + return r +} + +func (r ApiCircuitsCircuitGroupAssignmentsListRequest) LastUpdatedN(lastUpdatedN []time.Time) ApiCircuitsCircuitGroupAssignmentsListRequest { + r.lastUpdatedN = &lastUpdatedN + return r +} + +// Number of results to return per page. +func (r ApiCircuitsCircuitGroupAssignmentsListRequest) Limit(limit int32) ApiCircuitsCircuitGroupAssignmentsListRequest { + r.limit = &limit + return r +} + +func (r ApiCircuitsCircuitGroupAssignmentsListRequest) ModifiedByRequest(modifiedByRequest string) ApiCircuitsCircuitGroupAssignmentsListRequest { + r.modifiedByRequest = &modifiedByRequest + return r +} + +// The initial index from which to return the results. +func (r ApiCircuitsCircuitGroupAssignmentsListRequest) Offset(offset int32) ApiCircuitsCircuitGroupAssignmentsListRequest { + r.offset = &offset + return r +} + +// Which field to use when ordering the results. +func (r ApiCircuitsCircuitGroupAssignmentsListRequest) Ordering(ordering string) ApiCircuitsCircuitGroupAssignmentsListRequest { + r.ordering = &ordering + return r +} + +// * `primary` - Primary * `secondary` - Secondary * `tertiary` - Tertiary * `inactive` - Inactive +func (r ApiCircuitsCircuitGroupAssignmentsListRequest) Priority(priority CircuitsCircuitGroupAssignmentsListPriorityParameter) ApiCircuitsCircuitGroupAssignmentsListRequest { + r.priority = &priority + return r +} + +// Provider (slug) +func (r ApiCircuitsCircuitGroupAssignmentsListRequest) Provider(provider []string) ApiCircuitsCircuitGroupAssignmentsListRequest { + r.provider = &provider + return r +} + +// Provider (slug) +func (r ApiCircuitsCircuitGroupAssignmentsListRequest) ProviderN(providerN []string) ApiCircuitsCircuitGroupAssignmentsListRequest { + r.providerN = &providerN + return r +} + +// Provider (ID) +func (r ApiCircuitsCircuitGroupAssignmentsListRequest) ProviderId(providerId []int32) ApiCircuitsCircuitGroupAssignmentsListRequest { + r.providerId = &providerId + return r +} + +// Provider (ID) +func (r ApiCircuitsCircuitGroupAssignmentsListRequest) ProviderIdN(providerIdN []int32) ApiCircuitsCircuitGroupAssignmentsListRequest { + r.providerIdN = &providerIdN + return r +} + +// Search +func (r ApiCircuitsCircuitGroupAssignmentsListRequest) Q(q string) ApiCircuitsCircuitGroupAssignmentsListRequest { + r.q = &q + return r +} + +func (r ApiCircuitsCircuitGroupAssignmentsListRequest) Tag(tag []string) ApiCircuitsCircuitGroupAssignmentsListRequest { + r.tag = &tag + return r +} + +func (r ApiCircuitsCircuitGroupAssignmentsListRequest) TagN(tagN []string) ApiCircuitsCircuitGroupAssignmentsListRequest { + r.tagN = &tagN + return r +} + +func (r ApiCircuitsCircuitGroupAssignmentsListRequest) UpdatedByRequest(updatedByRequest string) ApiCircuitsCircuitGroupAssignmentsListRequest { + r.updatedByRequest = &updatedByRequest + return r +} + +func (r ApiCircuitsCircuitGroupAssignmentsListRequest) Execute() (*PaginatedCircuitGroupAssignmentList, *http.Response, error) { + return r.ApiService.CircuitsCircuitGroupAssignmentsListExecute(r) +} + +/* +CircuitsCircuitGroupAssignmentsList Method for CircuitsCircuitGroupAssignmentsList + +Get a list of Circuit group assignment objects. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiCircuitsCircuitGroupAssignmentsListRequest +*/ +func (a *CircuitsAPIService) CircuitsCircuitGroupAssignmentsList(ctx context.Context) ApiCircuitsCircuitGroupAssignmentsListRequest { + return ApiCircuitsCircuitGroupAssignmentsListRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// +// @return PaginatedCircuitGroupAssignmentList +func (a *CircuitsAPIService) CircuitsCircuitGroupAssignmentsListExecute(r ApiCircuitsCircuitGroupAssignmentsListRequest) (*PaginatedCircuitGroupAssignmentList, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *PaginatedCircuitGroupAssignmentList + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CircuitsAPIService.CircuitsCircuitGroupAssignmentsList") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/circuits/circuit-group-assignments/" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.circuit != nil { + t := *r.circuit + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "circuit", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "circuit", t, "multi") + } + } + if r.circuitN != nil { + t := *r.circuitN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "circuit__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "circuit__n", t, "multi") + } + } + if r.circuitId != nil { + t := *r.circuitId + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "circuit_id", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "circuit_id", t, "multi") + } + } + if r.circuitIdN != nil { + t := *r.circuitIdN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "circuit_id__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "circuit_id__n", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "created", t, "multi") + } + } + if r.createdEmpty != nil { + t := *r.createdEmpty + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "created__empty", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "created__empty", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "created__gt", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "created__gte", t, "multi") + } + } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "created__lt", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "created__lte", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", t, "multi") + } + } + if r.createdByRequest != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "created_by_request", r.createdByRequest, "") + } + if r.group != nil { + t := *r.group + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "group", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "group", t, "multi") + } + } + if r.groupN != nil { + t := *r.groupN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "group__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "group__n", t, "multi") + } + } + if r.groupId != nil { + t := *r.groupId + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "group_id", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "group_id", t, "multi") + } + } + if r.groupIdN != nil { + t := *r.groupIdN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "group_id__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "group_id__n", t, "multi") + } + } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "multi") + } + } + if r.idEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "id__empty", r.idEmpty, "") + } + if r.idGt != nil { + t := *r.idGt + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "id__gt", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "id__gt", t, "multi") + } + } + if r.idGte != nil { + t := *r.idGte + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "id__gte", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "id__gte", t, "multi") + } + } + if r.idLt != nil { + t := *r.idLt + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "id__lt", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "id__lt", t, "multi") + } + } + if r.idLte != nil { + t := *r.idLte + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "id__lte", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "id__lte", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", t, "multi") + } + } + if r.lastUpdatedEmpty != nil { + t := *r.lastUpdatedEmpty + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__empty", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__empty", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gt", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gte", t, "multi") + } + } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lt", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lte", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__n", t, "multi") + } + } + if r.limit != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "") + } + if r.modifiedByRequest != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "modified_by_request", r.modifiedByRequest, "") + } + if r.offset != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "") + } + if r.ordering != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "ordering", r.ordering, "") + } + if r.priority != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "priority", r.priority, "") + } + if r.provider != nil { + t := *r.provider + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "provider", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "provider", t, "multi") + } + } + if r.providerN != nil { + t := *r.providerN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "provider__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "provider__n", t, "multi") + } + } + if r.providerId != nil { + t := *r.providerId + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "provider_id", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "provider_id", t, "multi") + } + } + if r.providerIdN != nil { + t := *r.providerIdN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "provider_id__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "provider_id__n", t, "multi") + } + } + if r.q != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "") + } + if r.tag != nil { + t := *r.tag + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "tag", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "tag", t, "multi") + } + } + if r.tagN != nil { + t := *r.tagN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "tag__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "tag__n", t, "multi") + } + } + if r.updatedByRequest != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "updated_by_request", r.updatedByRequest, "") + } + // 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"} + + // 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 ApiCircuitsCircuitGroupAssignmentsPartialUpdateRequest struct { + ctx context.Context + ApiService *CircuitsAPIService + id int32 + patchedWritableCircuitGroupAssignmentRequest *PatchedWritableCircuitGroupAssignmentRequest +} + +func (r ApiCircuitsCircuitGroupAssignmentsPartialUpdateRequest) PatchedWritableCircuitGroupAssignmentRequest(patchedWritableCircuitGroupAssignmentRequest PatchedWritableCircuitGroupAssignmentRequest) ApiCircuitsCircuitGroupAssignmentsPartialUpdateRequest { + r.patchedWritableCircuitGroupAssignmentRequest = &patchedWritableCircuitGroupAssignmentRequest + return r +} + +func (r ApiCircuitsCircuitGroupAssignmentsPartialUpdateRequest) Execute() (*CircuitGroupAssignment, *http.Response, error) { + return r.ApiService.CircuitsCircuitGroupAssignmentsPartialUpdateExecute(r) +} + +/* +CircuitsCircuitGroupAssignmentsPartialUpdate Method for CircuitsCircuitGroupAssignmentsPartialUpdate + +Patch a Circuit group assignment object. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id A unique integer value identifying this Circuit group assignment. + @return ApiCircuitsCircuitGroupAssignmentsPartialUpdateRequest +*/ +func (a *CircuitsAPIService) CircuitsCircuitGroupAssignmentsPartialUpdate(ctx context.Context, id int32) ApiCircuitsCircuitGroupAssignmentsPartialUpdateRequest { + return ApiCircuitsCircuitGroupAssignmentsPartialUpdateRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// +// @return CircuitGroupAssignment +func (a *CircuitsAPIService) CircuitsCircuitGroupAssignmentsPartialUpdateExecute(r ApiCircuitsCircuitGroupAssignmentsPartialUpdateRequest) (*CircuitGroupAssignment, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPatch + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *CircuitGroupAssignment + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CircuitsAPIService.CircuitsCircuitGroupAssignmentsPartialUpdate") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/circuits/circuit-group-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{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "multipart/form-data"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.patchedWritableCircuitGroupAssignmentRequest + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["tokenAuth"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + 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 ApiCircuitsCircuitGroupAssignmentsRetrieveRequest struct { + ctx context.Context + ApiService *CircuitsAPIService + id int32 +} + +func (r ApiCircuitsCircuitGroupAssignmentsRetrieveRequest) Execute() (*CircuitGroupAssignment, *http.Response, error) { + return r.ApiService.CircuitsCircuitGroupAssignmentsRetrieveExecute(r) +} + +/* +CircuitsCircuitGroupAssignmentsRetrieve Method for CircuitsCircuitGroupAssignmentsRetrieve + +Get a Circuit group assignment object. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id A unique integer value identifying this Circuit group assignment. + @return ApiCircuitsCircuitGroupAssignmentsRetrieveRequest +*/ +func (a *CircuitsAPIService) CircuitsCircuitGroupAssignmentsRetrieve(ctx context.Context, id int32) ApiCircuitsCircuitGroupAssignmentsRetrieveRequest { + return ApiCircuitsCircuitGroupAssignmentsRetrieveRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// +// @return CircuitGroupAssignment +func (a *CircuitsAPIService) CircuitsCircuitGroupAssignmentsRetrieveExecute(r ApiCircuitsCircuitGroupAssignmentsRetrieveRequest) (*CircuitGroupAssignment, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *CircuitGroupAssignment + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CircuitsAPIService.CircuitsCircuitGroupAssignmentsRetrieve") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/circuits/circuit-group-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{} + + // 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"} + + // 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 ApiCircuitsCircuitGroupAssignmentsUpdateRequest struct { + ctx context.Context + ApiService *CircuitsAPIService + id int32 + writableCircuitGroupAssignmentRequest *WritableCircuitGroupAssignmentRequest +} + +func (r ApiCircuitsCircuitGroupAssignmentsUpdateRequest) WritableCircuitGroupAssignmentRequest(writableCircuitGroupAssignmentRequest WritableCircuitGroupAssignmentRequest) ApiCircuitsCircuitGroupAssignmentsUpdateRequest { + r.writableCircuitGroupAssignmentRequest = &writableCircuitGroupAssignmentRequest + return r +} + +func (r ApiCircuitsCircuitGroupAssignmentsUpdateRequest) Execute() (*CircuitGroupAssignment, *http.Response, error) { + return r.ApiService.CircuitsCircuitGroupAssignmentsUpdateExecute(r) +} + +/* +CircuitsCircuitGroupAssignmentsUpdate Method for CircuitsCircuitGroupAssignmentsUpdate + +Put a Circuit group assignment object. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id A unique integer value identifying this Circuit group assignment. + @return ApiCircuitsCircuitGroupAssignmentsUpdateRequest +*/ +func (a *CircuitsAPIService) CircuitsCircuitGroupAssignmentsUpdate(ctx context.Context, id int32) ApiCircuitsCircuitGroupAssignmentsUpdateRequest { + return ApiCircuitsCircuitGroupAssignmentsUpdateRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// +// @return CircuitGroupAssignment +func (a *CircuitsAPIService) CircuitsCircuitGroupAssignmentsUpdateExecute(r ApiCircuitsCircuitGroupAssignmentsUpdateRequest) (*CircuitGroupAssignment, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *CircuitGroupAssignment + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CircuitsAPIService.CircuitsCircuitGroupAssignmentsUpdate") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/circuits/circuit-group-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.writableCircuitGroupAssignmentRequest == nil { + return localVarReturnValue, nil, reportError("writableCircuitGroupAssignmentRequest is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "multipart/form-data"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.writableCircuitGroupAssignmentRequest + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["tokenAuth"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + 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 ApiCircuitsCircuitGroupsBulkDestroyRequest struct { + ctx context.Context + ApiService *CircuitsAPIService + circuitGroupRequest *[]CircuitGroupRequest +} + +func (r ApiCircuitsCircuitGroupsBulkDestroyRequest) CircuitGroupRequest(circuitGroupRequest []CircuitGroupRequest) ApiCircuitsCircuitGroupsBulkDestroyRequest { + r.circuitGroupRequest = &circuitGroupRequest + return r +} + +func (r ApiCircuitsCircuitGroupsBulkDestroyRequest) Execute() (*http.Response, error) { + return r.ApiService.CircuitsCircuitGroupsBulkDestroyExecute(r) +} + +/* +CircuitsCircuitGroupsBulkDestroy Method for CircuitsCircuitGroupsBulkDestroy + +Delete a list of circuit group objects. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiCircuitsCircuitGroupsBulkDestroyRequest +*/ +func (a *CircuitsAPIService) CircuitsCircuitGroupsBulkDestroy(ctx context.Context) ApiCircuitsCircuitGroupsBulkDestroyRequest { + return ApiCircuitsCircuitGroupsBulkDestroyRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +func (a *CircuitsAPIService) CircuitsCircuitGroupsBulkDestroyExecute(r ApiCircuitsCircuitGroupsBulkDestroyRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CircuitsAPIService.CircuitsCircuitGroupsBulkDestroy") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/circuits/circuit-groups/" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.circuitGroupRequest == nil { + return nil, reportError("circuitGroupRequest is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "multipart/form-data"} + + // 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.circuitGroupRequest + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["tokenAuth"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + 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 ApiCircuitsCircuitGroupsBulkPartialUpdateRequest struct { + ctx context.Context + ApiService *CircuitsAPIService + circuitGroupRequest *[]CircuitGroupRequest +} + +func (r ApiCircuitsCircuitGroupsBulkPartialUpdateRequest) CircuitGroupRequest(circuitGroupRequest []CircuitGroupRequest) ApiCircuitsCircuitGroupsBulkPartialUpdateRequest { + r.circuitGroupRequest = &circuitGroupRequest + return r +} + +func (r ApiCircuitsCircuitGroupsBulkPartialUpdateRequest) Execute() ([]CircuitGroup, *http.Response, error) { + return r.ApiService.CircuitsCircuitGroupsBulkPartialUpdateExecute(r) +} + +/* +CircuitsCircuitGroupsBulkPartialUpdate Method for CircuitsCircuitGroupsBulkPartialUpdate + +Patch a list of circuit group objects. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiCircuitsCircuitGroupsBulkPartialUpdateRequest +*/ +func (a *CircuitsAPIService) CircuitsCircuitGroupsBulkPartialUpdate(ctx context.Context) ApiCircuitsCircuitGroupsBulkPartialUpdateRequest { + return ApiCircuitsCircuitGroupsBulkPartialUpdateRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// +// @return []CircuitGroup +func (a *CircuitsAPIService) CircuitsCircuitGroupsBulkPartialUpdateExecute(r ApiCircuitsCircuitGroupsBulkPartialUpdateRequest) ([]CircuitGroup, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPatch + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []CircuitGroup + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CircuitsAPIService.CircuitsCircuitGroupsBulkPartialUpdate") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/circuits/circuit-groups/" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.circuitGroupRequest == nil { + return localVarReturnValue, nil, reportError("circuitGroupRequest is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "multipart/form-data"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.circuitGroupRequest + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["tokenAuth"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + 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 ApiCircuitsCircuitGroupsBulkUpdateRequest struct { + ctx context.Context + ApiService *CircuitsAPIService + circuitGroupRequest *[]CircuitGroupRequest +} + +func (r ApiCircuitsCircuitGroupsBulkUpdateRequest) CircuitGroupRequest(circuitGroupRequest []CircuitGroupRequest) ApiCircuitsCircuitGroupsBulkUpdateRequest { + r.circuitGroupRequest = &circuitGroupRequest + return r +} + +func (r ApiCircuitsCircuitGroupsBulkUpdateRequest) Execute() ([]CircuitGroup, *http.Response, error) { + return r.ApiService.CircuitsCircuitGroupsBulkUpdateExecute(r) +} + +/* +CircuitsCircuitGroupsBulkUpdate Method for CircuitsCircuitGroupsBulkUpdate + +Put a list of circuit group objects. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiCircuitsCircuitGroupsBulkUpdateRequest +*/ +func (a *CircuitsAPIService) CircuitsCircuitGroupsBulkUpdate(ctx context.Context) ApiCircuitsCircuitGroupsBulkUpdateRequest { + return ApiCircuitsCircuitGroupsBulkUpdateRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// +// @return []CircuitGroup +func (a *CircuitsAPIService) CircuitsCircuitGroupsBulkUpdateExecute(r ApiCircuitsCircuitGroupsBulkUpdateRequest) ([]CircuitGroup, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []CircuitGroup + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CircuitsAPIService.CircuitsCircuitGroupsBulkUpdate") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/circuits/circuit-groups/" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.circuitGroupRequest == nil { + return localVarReturnValue, nil, reportError("circuitGroupRequest is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "multipart/form-data"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.circuitGroupRequest + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["tokenAuth"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + 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 ApiCircuitsCircuitGroupsCreateRequest struct { + ctx context.Context + ApiService *CircuitsAPIService + circuitGroupRequest *CircuitGroupRequest +} + +func (r ApiCircuitsCircuitGroupsCreateRequest) CircuitGroupRequest(circuitGroupRequest CircuitGroupRequest) ApiCircuitsCircuitGroupsCreateRequest { + r.circuitGroupRequest = &circuitGroupRequest + return r +} + +func (r ApiCircuitsCircuitGroupsCreateRequest) Execute() (*CircuitGroup, *http.Response, error) { + return r.ApiService.CircuitsCircuitGroupsCreateExecute(r) +} + +/* +CircuitsCircuitGroupsCreate Method for CircuitsCircuitGroupsCreate + +Post a list of circuit group objects. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiCircuitsCircuitGroupsCreateRequest +*/ +func (a *CircuitsAPIService) CircuitsCircuitGroupsCreate(ctx context.Context) ApiCircuitsCircuitGroupsCreateRequest { + return ApiCircuitsCircuitGroupsCreateRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// +// @return CircuitGroup +func (a *CircuitsAPIService) CircuitsCircuitGroupsCreateExecute(r ApiCircuitsCircuitGroupsCreateRequest) (*CircuitGroup, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *CircuitGroup + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CircuitsAPIService.CircuitsCircuitGroupsCreate") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/circuits/circuit-groups/" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.circuitGroupRequest == nil { + return localVarReturnValue, nil, reportError("circuitGroupRequest is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "multipart/form-data"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.circuitGroupRequest + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["tokenAuth"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + 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 ApiCircuitsCircuitGroupsDestroyRequest struct { + ctx context.Context + ApiService *CircuitsAPIService + id int32 +} + +func (r ApiCircuitsCircuitGroupsDestroyRequest) Execute() (*http.Response, error) { + return r.ApiService.CircuitsCircuitGroupsDestroyExecute(r) +} + +/* +CircuitsCircuitGroupsDestroy Method for CircuitsCircuitGroupsDestroy + +Delete a circuit group object. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id A unique integer value identifying this circuit group. + @return ApiCircuitsCircuitGroupsDestroyRequest +*/ +func (a *CircuitsAPIService) CircuitsCircuitGroupsDestroy(ctx context.Context, id int32) ApiCircuitsCircuitGroupsDestroyRequest { + return ApiCircuitsCircuitGroupsDestroyRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +func (a *CircuitsAPIService) CircuitsCircuitGroupsDestroyExecute(r ApiCircuitsCircuitGroupsDestroyRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CircuitsAPIService.CircuitsCircuitGroupsDestroy") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/circuits/circuit-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{} + + // 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 ApiCircuitsCircuitGroupsListRequest struct { + ctx context.Context + ApiService *CircuitsAPIService + created *[]time.Time + createdEmpty *[]time.Time + createdGt *[]time.Time + createdGte *[]time.Time + createdLt *[]time.Time + createdLte *[]time.Time + createdN *[]time.Time + createdByRequest *string + description *[]string + descriptionEmpty *bool + descriptionIc *[]string + descriptionIe *[]string + descriptionIew *[]string + descriptionIsw *[]string + descriptionN *[]string + descriptionNic *[]string + descriptionNie *[]string + descriptionNiew *[]string + descriptionNisw *[]string + id *[]int32 + idEmpty *bool + idGt *[]int32 + idGte *[]int32 + idLt *[]int32 + idLte *[]int32 + idN *[]int32 + lastUpdated *[]time.Time + lastUpdatedEmpty *[]time.Time + lastUpdatedGt *[]time.Time + lastUpdatedGte *[]time.Time + lastUpdatedLt *[]time.Time + lastUpdatedLte *[]time.Time + lastUpdatedN *[]time.Time + limit *int32 + modifiedByRequest *string + name *[]string + nameEmpty *bool + nameIc *[]string + nameIe *[]string + nameIew *[]string + nameIsw *[]string + nameN *[]string + nameNic *[]string + nameNie *[]string + nameNiew *[]string + nameNisw *[]string + offset *int32 + ordering *string + q *string + slug *[]string + slugEmpty *bool + slugIc *[]string + slugIe *[]string + slugIew *[]string + slugIsw *[]string + slugN *[]string + slugNic *[]string + slugNie *[]string + slugNiew *[]string + slugNisw *[]string + tag *[]string + tagN *[]string + tenant *[]string + tenantN *[]string + tenantGroup *[]string + tenantGroupN *[]string + tenantGroupId *[]string + tenantGroupIdN *[]string + tenantId *[]*int32 + tenantIdN *[]*int32 + updatedByRequest *string +} + +func (r ApiCircuitsCircuitGroupsListRequest) Created(created []time.Time) ApiCircuitsCircuitGroupsListRequest { + r.created = &created + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) CreatedEmpty(createdEmpty []time.Time) ApiCircuitsCircuitGroupsListRequest { + r.createdEmpty = &createdEmpty + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) CreatedGt(createdGt []time.Time) ApiCircuitsCircuitGroupsListRequest { + r.createdGt = &createdGt + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) CreatedGte(createdGte []time.Time) ApiCircuitsCircuitGroupsListRequest { + r.createdGte = &createdGte + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) CreatedLt(createdLt []time.Time) ApiCircuitsCircuitGroupsListRequest { + r.createdLt = &createdLt + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) CreatedLte(createdLte []time.Time) ApiCircuitsCircuitGroupsListRequest { + r.createdLte = &createdLte + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) CreatedN(createdN []time.Time) ApiCircuitsCircuitGroupsListRequest { + r.createdN = &createdN + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) CreatedByRequest(createdByRequest string) ApiCircuitsCircuitGroupsListRequest { + r.createdByRequest = &createdByRequest + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) Description(description []string) ApiCircuitsCircuitGroupsListRequest { + r.description = &description + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) DescriptionEmpty(descriptionEmpty bool) ApiCircuitsCircuitGroupsListRequest { + r.descriptionEmpty = &descriptionEmpty + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) DescriptionIc(descriptionIc []string) ApiCircuitsCircuitGroupsListRequest { + r.descriptionIc = &descriptionIc + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) DescriptionIe(descriptionIe []string) ApiCircuitsCircuitGroupsListRequest { + r.descriptionIe = &descriptionIe + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) DescriptionIew(descriptionIew []string) ApiCircuitsCircuitGroupsListRequest { + r.descriptionIew = &descriptionIew + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) DescriptionIsw(descriptionIsw []string) ApiCircuitsCircuitGroupsListRequest { + r.descriptionIsw = &descriptionIsw + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) DescriptionN(descriptionN []string) ApiCircuitsCircuitGroupsListRequest { + r.descriptionN = &descriptionN + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) DescriptionNic(descriptionNic []string) ApiCircuitsCircuitGroupsListRequest { + r.descriptionNic = &descriptionNic + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) DescriptionNie(descriptionNie []string) ApiCircuitsCircuitGroupsListRequest { + r.descriptionNie = &descriptionNie + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) DescriptionNiew(descriptionNiew []string) ApiCircuitsCircuitGroupsListRequest { + r.descriptionNiew = &descriptionNiew + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) DescriptionNisw(descriptionNisw []string) ApiCircuitsCircuitGroupsListRequest { + r.descriptionNisw = &descriptionNisw + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) Id(id []int32) ApiCircuitsCircuitGroupsListRequest { + r.id = &id + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) IdEmpty(idEmpty bool) ApiCircuitsCircuitGroupsListRequest { + r.idEmpty = &idEmpty + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) IdGt(idGt []int32) ApiCircuitsCircuitGroupsListRequest { + r.idGt = &idGt + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) IdGte(idGte []int32) ApiCircuitsCircuitGroupsListRequest { + r.idGte = &idGte + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) IdLt(idLt []int32) ApiCircuitsCircuitGroupsListRequest { + r.idLt = &idLt + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) IdLte(idLte []int32) ApiCircuitsCircuitGroupsListRequest { + r.idLte = &idLte + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) IdN(idN []int32) ApiCircuitsCircuitGroupsListRequest { + r.idN = &idN + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) LastUpdated(lastUpdated []time.Time) ApiCircuitsCircuitGroupsListRequest { + r.lastUpdated = &lastUpdated + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) LastUpdatedEmpty(lastUpdatedEmpty []time.Time) ApiCircuitsCircuitGroupsListRequest { + r.lastUpdatedEmpty = &lastUpdatedEmpty + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) LastUpdatedGt(lastUpdatedGt []time.Time) ApiCircuitsCircuitGroupsListRequest { + r.lastUpdatedGt = &lastUpdatedGt + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) LastUpdatedGte(lastUpdatedGte []time.Time) ApiCircuitsCircuitGroupsListRequest { + r.lastUpdatedGte = &lastUpdatedGte + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) LastUpdatedLt(lastUpdatedLt []time.Time) ApiCircuitsCircuitGroupsListRequest { + r.lastUpdatedLt = &lastUpdatedLt + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) LastUpdatedLte(lastUpdatedLte []time.Time) ApiCircuitsCircuitGroupsListRequest { + r.lastUpdatedLte = &lastUpdatedLte + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) LastUpdatedN(lastUpdatedN []time.Time) ApiCircuitsCircuitGroupsListRequest { + r.lastUpdatedN = &lastUpdatedN + return r +} + +// Number of results to return per page. +func (r ApiCircuitsCircuitGroupsListRequest) Limit(limit int32) ApiCircuitsCircuitGroupsListRequest { + r.limit = &limit + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) ModifiedByRequest(modifiedByRequest string) ApiCircuitsCircuitGroupsListRequest { + r.modifiedByRequest = &modifiedByRequest + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) Name(name []string) ApiCircuitsCircuitGroupsListRequest { + r.name = &name + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) NameEmpty(nameEmpty bool) ApiCircuitsCircuitGroupsListRequest { + r.nameEmpty = &nameEmpty + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) NameIc(nameIc []string) ApiCircuitsCircuitGroupsListRequest { + r.nameIc = &nameIc + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) NameIe(nameIe []string) ApiCircuitsCircuitGroupsListRequest { + r.nameIe = &nameIe + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) NameIew(nameIew []string) ApiCircuitsCircuitGroupsListRequest { + r.nameIew = &nameIew + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) NameIsw(nameIsw []string) ApiCircuitsCircuitGroupsListRequest { + r.nameIsw = &nameIsw + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) NameN(nameN []string) ApiCircuitsCircuitGroupsListRequest { + r.nameN = &nameN + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) NameNic(nameNic []string) ApiCircuitsCircuitGroupsListRequest { + r.nameNic = &nameNic + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) NameNie(nameNie []string) ApiCircuitsCircuitGroupsListRequest { + r.nameNie = &nameNie + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) NameNiew(nameNiew []string) ApiCircuitsCircuitGroupsListRequest { + r.nameNiew = &nameNiew + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) NameNisw(nameNisw []string) ApiCircuitsCircuitGroupsListRequest { + r.nameNisw = &nameNisw + return r +} + +// The initial index from which to return the results. +func (r ApiCircuitsCircuitGroupsListRequest) Offset(offset int32) ApiCircuitsCircuitGroupsListRequest { + r.offset = &offset + return r +} + +// Which field to use when ordering the results. +func (r ApiCircuitsCircuitGroupsListRequest) Ordering(ordering string) ApiCircuitsCircuitGroupsListRequest { + r.ordering = &ordering + return r +} + +// Search +func (r ApiCircuitsCircuitGroupsListRequest) Q(q string) ApiCircuitsCircuitGroupsListRequest { + r.q = &q + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) Slug(slug []string) ApiCircuitsCircuitGroupsListRequest { + r.slug = &slug + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) SlugEmpty(slugEmpty bool) ApiCircuitsCircuitGroupsListRequest { + r.slugEmpty = &slugEmpty + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) SlugIc(slugIc []string) ApiCircuitsCircuitGroupsListRequest { + r.slugIc = &slugIc + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) SlugIe(slugIe []string) ApiCircuitsCircuitGroupsListRequest { + r.slugIe = &slugIe + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) SlugIew(slugIew []string) ApiCircuitsCircuitGroupsListRequest { + r.slugIew = &slugIew + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) SlugIsw(slugIsw []string) ApiCircuitsCircuitGroupsListRequest { + r.slugIsw = &slugIsw + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) SlugN(slugN []string) ApiCircuitsCircuitGroupsListRequest { + r.slugN = &slugN + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) SlugNic(slugNic []string) ApiCircuitsCircuitGroupsListRequest { + r.slugNic = &slugNic + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) SlugNie(slugNie []string) ApiCircuitsCircuitGroupsListRequest { + r.slugNie = &slugNie + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) SlugNiew(slugNiew []string) ApiCircuitsCircuitGroupsListRequest { + r.slugNiew = &slugNiew + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) SlugNisw(slugNisw []string) ApiCircuitsCircuitGroupsListRequest { + r.slugNisw = &slugNisw + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) Tag(tag []string) ApiCircuitsCircuitGroupsListRequest { + r.tag = &tag + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) TagN(tagN []string) ApiCircuitsCircuitGroupsListRequest { + r.tagN = &tagN + return r +} + +// Tenant (slug) +func (r ApiCircuitsCircuitGroupsListRequest) Tenant(tenant []string) ApiCircuitsCircuitGroupsListRequest { + r.tenant = &tenant + return r +} + +// Tenant (slug) +func (r ApiCircuitsCircuitGroupsListRequest) TenantN(tenantN []string) ApiCircuitsCircuitGroupsListRequest { + r.tenantN = &tenantN + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) TenantGroup(tenantGroup []string) ApiCircuitsCircuitGroupsListRequest { + r.tenantGroup = &tenantGroup + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) TenantGroupN(tenantGroupN []string) ApiCircuitsCircuitGroupsListRequest { + r.tenantGroupN = &tenantGroupN + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) TenantGroupId(tenantGroupId []string) ApiCircuitsCircuitGroupsListRequest { + r.tenantGroupId = &tenantGroupId + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) TenantGroupIdN(tenantGroupIdN []string) ApiCircuitsCircuitGroupsListRequest { + r.tenantGroupIdN = &tenantGroupIdN + return r +} + +// Tenant (ID) +func (r ApiCircuitsCircuitGroupsListRequest) TenantId(tenantId []*int32) ApiCircuitsCircuitGroupsListRequest { + r.tenantId = &tenantId + return r +} + +// Tenant (ID) +func (r ApiCircuitsCircuitGroupsListRequest) TenantIdN(tenantIdN []*int32) ApiCircuitsCircuitGroupsListRequest { + r.tenantIdN = &tenantIdN + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) UpdatedByRequest(updatedByRequest string) ApiCircuitsCircuitGroupsListRequest { + r.updatedByRequest = &updatedByRequest + return r +} + +func (r ApiCircuitsCircuitGroupsListRequest) Execute() (*PaginatedCircuitGroupList, *http.Response, error) { + return r.ApiService.CircuitsCircuitGroupsListExecute(r) +} + +/* +CircuitsCircuitGroupsList Method for CircuitsCircuitGroupsList + +Get a list of circuit group objects. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiCircuitsCircuitGroupsListRequest +*/ +func (a *CircuitsAPIService) CircuitsCircuitGroupsList(ctx context.Context) ApiCircuitsCircuitGroupsListRequest { + return ApiCircuitsCircuitGroupsListRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// +// @return PaginatedCircuitGroupList +func (a *CircuitsAPIService) CircuitsCircuitGroupsListExecute(r ApiCircuitsCircuitGroupsListRequest) (*PaginatedCircuitGroupList, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *PaginatedCircuitGroupList + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CircuitsAPIService.CircuitsCircuitGroupsList") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/circuits/circuit-groups/" + + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "created", t, "multi") + } + } + if r.createdEmpty != nil { + t := *r.createdEmpty + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "created__empty", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "created__empty", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "created__gt", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "created__gte", t, "multi") + } + } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "created__lt", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "created__lte", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", t, "multi") + } + } + if r.createdByRequest != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "created_by_request", r.createdByRequest, "") + } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "description", t, "multi") + } + } + if r.descriptionEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "description__empty", r.descriptionEmpty, "") + } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "description__ic", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "description__ie", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "description__iew", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "description__isw", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "description__n", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "description__nic", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "description__nie", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "description__niew", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "description__nisw", t, "multi") + } + } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "multi") + } + } + if r.idEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "id__empty", r.idEmpty, "") + } + if r.idGt != nil { + t := *r.idGt + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "id__gt", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "id__gt", t, "multi") + } + } + if r.idGte != nil { + t := *r.idGte + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "id__gte", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "id__gte", t, "multi") + } + } + if r.idLt != nil { + t := *r.idLt + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "id__lt", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "id__lt", t, "multi") + } + } + if r.idLte != nil { + t := *r.idLte + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "id__lte", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "id__lte", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", t, "multi") + } + } + if r.lastUpdatedEmpty != nil { + t := *r.lastUpdatedEmpty + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__empty", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__empty", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gt", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gte", t, "multi") + } + } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lt", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lte", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__n", t, "multi") + } + } + if r.limit != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "") + } + if r.modifiedByRequest != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "modified_by_request", r.modifiedByRequest, "") + } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "name", t, "multi") + } + } + if r.nameEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "name__empty", r.nameEmpty, "") + } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "name__ic", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "name__ie", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "name__iew", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "name__isw", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "name__n", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "name__nic", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "name__nie", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "name__niew", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "name__nisw", t, "multi") + } + } + if r.offset != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "") + } + if r.ordering != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "ordering", r.ordering, "") + } + if r.q != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "") + } + if r.slug != nil { + t := *r.slug + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug", t, "multi") + } + } + if r.slugEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__empty", r.slugEmpty, "") + } + if r.slugIc != nil { + t := *r.slugIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__ic", t, "multi") + } + } + if r.slugIe != nil { + t := *r.slugIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__ie", t, "multi") + } + } + if r.slugIew != nil { + t := *r.slugIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__iew", t, "multi") + } + } + if r.slugIsw != nil { + t := *r.slugIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__isw", t, "multi") + } + } + if r.slugN != nil { + t := *r.slugN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__n", t, "multi") + } + } + if r.slugNic != nil { + t := *r.slugNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__nic", t, "multi") + } + } + if r.slugNie != nil { + t := *r.slugNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__nie", t, "multi") + } + } + if r.slugNiew != nil { + t := *r.slugNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__niew", t, "multi") + } + } + if r.slugNisw != nil { + t := *r.slugNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__nisw", t, "multi") + } + } + if r.tag != nil { + t := *r.tag + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "tag", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "tag", t, "multi") + } + } + if r.tagN != nil { + t := *r.tagN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "tag__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "tag__n", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "tenant", t, "multi") + } + } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "tenant__n", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group", t, "multi") + } + } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group__n", t, "multi") + } + } + if r.tenantGroupId != nil { + t := *r.tenantGroupId + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group_id", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group_id", t, "multi") + } + } + if r.tenantGroupIdN != nil { + t := *r.tenantGroupIdN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group_id__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group_id__n", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id", t, "multi") + } + } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id__n", t, "multi") + } + } + if r.updatedByRequest != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "updated_by_request", r.updatedByRequest, "") + } + // 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"} + + // 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 ApiCircuitsCircuitGroupsPartialUpdateRequest struct { + ctx context.Context + ApiService *CircuitsAPIService + id int32 + patchedCircuitGroupRequest *PatchedCircuitGroupRequest +} + +func (r ApiCircuitsCircuitGroupsPartialUpdateRequest) PatchedCircuitGroupRequest(patchedCircuitGroupRequest PatchedCircuitGroupRequest) ApiCircuitsCircuitGroupsPartialUpdateRequest { + r.patchedCircuitGroupRequest = &patchedCircuitGroupRequest + return r +} + +func (r ApiCircuitsCircuitGroupsPartialUpdateRequest) Execute() (*CircuitGroup, *http.Response, error) { + return r.ApiService.CircuitsCircuitGroupsPartialUpdateExecute(r) +} + +/* +CircuitsCircuitGroupsPartialUpdate Method for CircuitsCircuitGroupsPartialUpdate + +Patch a circuit group object. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id A unique integer value identifying this circuit group. + @return ApiCircuitsCircuitGroupsPartialUpdateRequest +*/ +func (a *CircuitsAPIService) CircuitsCircuitGroupsPartialUpdate(ctx context.Context, id int32) ApiCircuitsCircuitGroupsPartialUpdateRequest { + return ApiCircuitsCircuitGroupsPartialUpdateRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// +// @return CircuitGroup +func (a *CircuitsAPIService) CircuitsCircuitGroupsPartialUpdateExecute(r ApiCircuitsCircuitGroupsPartialUpdateRequest) (*CircuitGroup, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPatch + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *CircuitGroup + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CircuitsAPIService.CircuitsCircuitGroupsPartialUpdate") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/circuits/circuit-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{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "multipart/form-data"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.patchedCircuitGroupRequest + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["tokenAuth"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + 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 ApiCircuitsCircuitGroupsRetrieveRequest struct { + ctx context.Context + ApiService *CircuitsAPIService + id int32 +} + +func (r ApiCircuitsCircuitGroupsRetrieveRequest) Execute() (*CircuitGroup, *http.Response, error) { + return r.ApiService.CircuitsCircuitGroupsRetrieveExecute(r) +} + +/* +CircuitsCircuitGroupsRetrieve Method for CircuitsCircuitGroupsRetrieve + +Get a circuit group object. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id A unique integer value identifying this circuit group. + @return ApiCircuitsCircuitGroupsRetrieveRequest +*/ +func (a *CircuitsAPIService) CircuitsCircuitGroupsRetrieve(ctx context.Context, id int32) ApiCircuitsCircuitGroupsRetrieveRequest { + return ApiCircuitsCircuitGroupsRetrieveRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// +// @return CircuitGroup +func (a *CircuitsAPIService) CircuitsCircuitGroupsRetrieveExecute(r ApiCircuitsCircuitGroupsRetrieveRequest) (*CircuitGroup, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *CircuitGroup + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CircuitsAPIService.CircuitsCircuitGroupsRetrieve") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/circuits/circuit-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{} + + // 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"} + + // 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 ApiCircuitsCircuitGroupsUpdateRequest struct { + ctx context.Context + ApiService *CircuitsAPIService + id int32 + circuitGroupRequest *CircuitGroupRequest +} + +func (r ApiCircuitsCircuitGroupsUpdateRequest) CircuitGroupRequest(circuitGroupRequest CircuitGroupRequest) ApiCircuitsCircuitGroupsUpdateRequest { + r.circuitGroupRequest = &circuitGroupRequest + return r +} + +func (r ApiCircuitsCircuitGroupsUpdateRequest) Execute() (*CircuitGroup, *http.Response, error) { + return r.ApiService.CircuitsCircuitGroupsUpdateExecute(r) +} + +/* +CircuitsCircuitGroupsUpdate Method for CircuitsCircuitGroupsUpdate + +Put a circuit group object. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id A unique integer value identifying this circuit group. + @return ApiCircuitsCircuitGroupsUpdateRequest +*/ +func (a *CircuitsAPIService) CircuitsCircuitGroupsUpdate(ctx context.Context, id int32) ApiCircuitsCircuitGroupsUpdateRequest { + return ApiCircuitsCircuitGroupsUpdateRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// +// @return CircuitGroup +func (a *CircuitsAPIService) CircuitsCircuitGroupsUpdateExecute(r ApiCircuitsCircuitGroupsUpdateRequest) (*CircuitGroup, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *CircuitGroup + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CircuitsAPIService.CircuitsCircuitGroupsUpdate") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/circuits/circuit-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.circuitGroupRequest == nil { + return localVarReturnValue, nil, reportError("circuitGroupRequest is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "multipart/form-data"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.circuitGroupRequest + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["tokenAuth"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + 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 ApiCircuitsCircuitTerminationsBulkDestroyRequest struct { ctx context.Context ApiService *CircuitsAPIService @@ -622,7 +4587,6 @@ type ApiCircuitsCircuitTerminationsListRequest struct { ctx context.Context ApiService *CircuitsAPIService cableEnd *CircuitsCircuitTerminationsListCableEndParameter - cableEndN *CircuitsCircuitTerminationsListCableEndParameter cableId *[]*int32 cableIdN *[]*int32 cabled *bool @@ -699,7 +4663,6 @@ type ApiCircuitsCircuitTerminationsListRequest struct { tag *[]string tagN *[]string termSide *Termination - termSideN *Termination updatedByRequest *string upstreamSpeed *[]int32 upstreamSpeedEmpty *bool @@ -727,12 +4690,6 @@ func (r ApiCircuitsCircuitTerminationsListRequest) CableEnd(cableEnd CircuitsCir return r } -// * `A` - A * `B` - B -func (r ApiCircuitsCircuitTerminationsListRequest) CableEndN(cableEndN CircuitsCircuitTerminationsListCableEndParameter) ApiCircuitsCircuitTerminationsListRequest { - r.cableEndN = &cableEndN - return r -} - // Cable (ID) func (r ApiCircuitsCircuitTerminationsListRequest) CableId(cableId []*int32) ApiCircuitsCircuitTerminationsListRequest { r.cableId = &cableId @@ -1132,12 +5089,6 @@ func (r ApiCircuitsCircuitTerminationsListRequest) TermSide(termSide Termination return r } -// * `A` - A * `Z` - Z -func (r ApiCircuitsCircuitTerminationsListRequest) TermSideN(termSideN Termination) ApiCircuitsCircuitTerminationsListRequest { - r.termSideN = &termSideN - return r -} - func (r ApiCircuitsCircuitTerminationsListRequest) UpdatedByRequest(updatedByRequest string) ApiCircuitsCircuitTerminationsListRequest { r.updatedByRequest = &updatedByRequest return r @@ -1277,9 +5228,6 @@ func (a *CircuitsAPIService) CircuitsCircuitTerminationsListExecute(r ApiCircuit if r.cableEnd != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "cable_end", r.cableEnd, "") } - if r.cableEndN != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "cable_end__n", r.cableEndN, "") - } if r.cableId != nil { t := *r.cableId if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -2004,9 +5952,6 @@ func (a *CircuitsAPIService) CircuitsCircuitTerminationsListExecute(r ApiCircuit if r.termSide != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "term_side", r.termSide, "") } - if r.termSideN != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "term_side__n", r.termSideN, "") - } if r.updatedByRequest != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "updated_by_request", r.updatedByRequest, "") } @@ -5615,8 +9560,8 @@ type ApiCircuitsCircuitsListRequest struct { commitRateN *[]int32 contact *[]int32 contactN *[]int32 - contactGroup *[]int32 - contactGroupN *[]int32 + contactGroup *[]string + contactGroupN *[]string contactRole *[]int32 contactRoleN *[]int32 created *[]time.Time @@ -5674,28 +9619,37 @@ type ApiCircuitsCircuitsListRequest struct { providerNetworkId *[]int32 providerNetworkIdN *[]int32 q *string - region *[]int32 - regionN *[]int32 - regionId *[]int32 - regionIdN *[]int32 + region *[]string + regionN *[]string + regionId *[]string + regionIdN *[]string site *[]string siteN *[]string - siteGroup *[]int32 - siteGroupN *[]int32 - siteGroupId *[]int32 - siteGroupIdN *[]int32 + siteGroup *[]string + siteGroupN *[]string + siteGroupId *[]string + siteGroupIdN *[]string siteId *[]int32 siteIdN *[]int32 status *[]string - statusN *[]string + statusEmpty *bool + statusIc *[]CircuitsCircuitsListStatusIcParameterInner + statusIe *[]CircuitsCircuitsListStatusIcParameterInner + statusIew *[]CircuitsCircuitsListStatusIcParameterInner + statusIsw *[]CircuitsCircuitsListStatusIcParameterInner + statusN *[]CircuitsCircuitsListStatusIcParameterInner + statusNic *[]CircuitsCircuitsListStatusIcParameterInner + statusNie *[]CircuitsCircuitsListStatusIcParameterInner + statusNiew *[]CircuitsCircuitsListStatusIcParameterInner + statusNisw *[]CircuitsCircuitsListStatusIcParameterInner tag *[]string tagN *[]string tenant *[]string tenantN *[]string - tenantGroup *[]int32 - tenantGroupN *[]int32 - tenantGroupId *[]int32 - tenantGroupIdN *[]int32 + tenantGroup *[]string + tenantGroupN *[]string + tenantGroupId *[]string + tenantGroupIdN *[]string tenantId *[]*int32 tenantIdN *[]*int32 terminationAId *[]*int32 @@ -5818,14 +9772,12 @@ func (r ApiCircuitsCircuitsListRequest) ContactN(contactN []int32) ApiCircuitsCi return r } -// Contact group -func (r ApiCircuitsCircuitsListRequest) ContactGroup(contactGroup []int32) ApiCircuitsCircuitsListRequest { +func (r ApiCircuitsCircuitsListRequest) ContactGroup(contactGroup []string) ApiCircuitsCircuitsListRequest { r.contactGroup = &contactGroup return r } -// Contact group -func (r ApiCircuitsCircuitsListRequest) ContactGroupN(contactGroupN []int32) ApiCircuitsCircuitsListRequest { +func (r ApiCircuitsCircuitsListRequest) ContactGroupN(contactGroupN []string) ApiCircuitsCircuitsListRequest { r.contactGroupN = &contactGroupN return r } @@ -6131,26 +10083,22 @@ func (r ApiCircuitsCircuitsListRequest) Q(q string) ApiCircuitsCircuitsListReque return r } -// Region (slug) -func (r ApiCircuitsCircuitsListRequest) Region(region []int32) ApiCircuitsCircuitsListRequest { +func (r ApiCircuitsCircuitsListRequest) Region(region []string) ApiCircuitsCircuitsListRequest { r.region = ®ion return r } -// Region (slug) -func (r ApiCircuitsCircuitsListRequest) RegionN(regionN []int32) ApiCircuitsCircuitsListRequest { +func (r ApiCircuitsCircuitsListRequest) RegionN(regionN []string) ApiCircuitsCircuitsListRequest { r.regionN = ®ionN return r } -// Region (ID) -func (r ApiCircuitsCircuitsListRequest) RegionId(regionId []int32) ApiCircuitsCircuitsListRequest { +func (r ApiCircuitsCircuitsListRequest) RegionId(regionId []string) ApiCircuitsCircuitsListRequest { r.regionId = ®ionId return r } -// Region (ID) -func (r ApiCircuitsCircuitsListRequest) RegionIdN(regionIdN []int32) ApiCircuitsCircuitsListRequest { +func (r ApiCircuitsCircuitsListRequest) RegionIdN(regionIdN []string) ApiCircuitsCircuitsListRequest { r.regionIdN = ®ionIdN return r } @@ -6167,26 +10115,22 @@ func (r ApiCircuitsCircuitsListRequest) SiteN(siteN []string) ApiCircuitsCircuit return r } -// Site group (slug) -func (r ApiCircuitsCircuitsListRequest) SiteGroup(siteGroup []int32) ApiCircuitsCircuitsListRequest { +func (r ApiCircuitsCircuitsListRequest) SiteGroup(siteGroup []string) ApiCircuitsCircuitsListRequest { r.siteGroup = &siteGroup return r } -// Site group (slug) -func (r ApiCircuitsCircuitsListRequest) SiteGroupN(siteGroupN []int32) ApiCircuitsCircuitsListRequest { +func (r ApiCircuitsCircuitsListRequest) SiteGroupN(siteGroupN []string) ApiCircuitsCircuitsListRequest { r.siteGroupN = &siteGroupN return r } -// Site group (ID) -func (r ApiCircuitsCircuitsListRequest) SiteGroupId(siteGroupId []int32) ApiCircuitsCircuitsListRequest { +func (r ApiCircuitsCircuitsListRequest) SiteGroupId(siteGroupId []string) ApiCircuitsCircuitsListRequest { r.siteGroupId = &siteGroupId return r } -// Site group (ID) -func (r ApiCircuitsCircuitsListRequest) SiteGroupIdN(siteGroupIdN []int32) ApiCircuitsCircuitsListRequest { +func (r ApiCircuitsCircuitsListRequest) SiteGroupIdN(siteGroupIdN []string) ApiCircuitsCircuitsListRequest { r.siteGroupIdN = &siteGroupIdN return r } @@ -6208,11 +10152,65 @@ func (r ApiCircuitsCircuitsListRequest) Status(status []string) ApiCircuitsCircu return r } -func (r ApiCircuitsCircuitsListRequest) StatusN(statusN []string) ApiCircuitsCircuitsListRequest { +func (r ApiCircuitsCircuitsListRequest) StatusEmpty(statusEmpty bool) ApiCircuitsCircuitsListRequest { + r.statusEmpty = &statusEmpty + return r +} + +// * `planned` - Planned * `provisioning` - Provisioning * `active` - Active * `offline` - Offline * `deprovisioning` - Deprovisioning * `decommissioned` - Decommissioned +func (r ApiCircuitsCircuitsListRequest) StatusIc(statusIc []CircuitsCircuitsListStatusIcParameterInner) ApiCircuitsCircuitsListRequest { + r.statusIc = &statusIc + return r +} + +// * `planned` - Planned * `provisioning` - Provisioning * `active` - Active * `offline` - Offline * `deprovisioning` - Deprovisioning * `decommissioned` - Decommissioned +func (r ApiCircuitsCircuitsListRequest) StatusIe(statusIe []CircuitsCircuitsListStatusIcParameterInner) ApiCircuitsCircuitsListRequest { + r.statusIe = &statusIe + return r +} + +// * `planned` - Planned * `provisioning` - Provisioning * `active` - Active * `offline` - Offline * `deprovisioning` - Deprovisioning * `decommissioned` - Decommissioned +func (r ApiCircuitsCircuitsListRequest) StatusIew(statusIew []CircuitsCircuitsListStatusIcParameterInner) ApiCircuitsCircuitsListRequest { + r.statusIew = &statusIew + return r +} + +// * `planned` - Planned * `provisioning` - Provisioning * `active` - Active * `offline` - Offline * `deprovisioning` - Deprovisioning * `decommissioned` - Decommissioned +func (r ApiCircuitsCircuitsListRequest) StatusIsw(statusIsw []CircuitsCircuitsListStatusIcParameterInner) ApiCircuitsCircuitsListRequest { + r.statusIsw = &statusIsw + return r +} + +// * `planned` - Planned * `provisioning` - Provisioning * `active` - Active * `offline` - Offline * `deprovisioning` - Deprovisioning * `decommissioned` - Decommissioned +func (r ApiCircuitsCircuitsListRequest) StatusN(statusN []CircuitsCircuitsListStatusIcParameterInner) ApiCircuitsCircuitsListRequest { r.statusN = &statusN return r } +// * `planned` - Planned * `provisioning` - Provisioning * `active` - Active * `offline` - Offline * `deprovisioning` - Deprovisioning * `decommissioned` - Decommissioned +func (r ApiCircuitsCircuitsListRequest) StatusNic(statusNic []CircuitsCircuitsListStatusIcParameterInner) ApiCircuitsCircuitsListRequest { + r.statusNic = &statusNic + return r +} + +// * `planned` - Planned * `provisioning` - Provisioning * `active` - Active * `offline` - Offline * `deprovisioning` - Deprovisioning * `decommissioned` - Decommissioned +func (r ApiCircuitsCircuitsListRequest) StatusNie(statusNie []CircuitsCircuitsListStatusIcParameterInner) ApiCircuitsCircuitsListRequest { + r.statusNie = &statusNie + return r +} + +// * `planned` - Planned * `provisioning` - Provisioning * `active` - Active * `offline` - Offline * `deprovisioning` - Deprovisioning * `decommissioned` - Decommissioned +func (r ApiCircuitsCircuitsListRequest) StatusNiew(statusNiew []CircuitsCircuitsListStatusIcParameterInner) ApiCircuitsCircuitsListRequest { + r.statusNiew = &statusNiew + return r +} + +// * `planned` - Planned * `provisioning` - Provisioning * `active` - Active * `offline` - Offline * `deprovisioning` - Deprovisioning * `decommissioned` - Decommissioned +func (r ApiCircuitsCircuitsListRequest) StatusNisw(statusNisw []CircuitsCircuitsListStatusIcParameterInner) ApiCircuitsCircuitsListRequest { + r.statusNisw = &statusNisw + return r +} + func (r ApiCircuitsCircuitsListRequest) Tag(tag []string) ApiCircuitsCircuitsListRequest { r.tag = &tag return r @@ -6235,26 +10233,22 @@ func (r ApiCircuitsCircuitsListRequest) TenantN(tenantN []string) ApiCircuitsCir return r } -// Tenant Group (slug) -func (r ApiCircuitsCircuitsListRequest) TenantGroup(tenantGroup []int32) ApiCircuitsCircuitsListRequest { +func (r ApiCircuitsCircuitsListRequest) TenantGroup(tenantGroup []string) ApiCircuitsCircuitsListRequest { r.tenantGroup = &tenantGroup return r } -// Tenant Group (slug) -func (r ApiCircuitsCircuitsListRequest) TenantGroupN(tenantGroupN []int32) ApiCircuitsCircuitsListRequest { +func (r ApiCircuitsCircuitsListRequest) TenantGroupN(tenantGroupN []string) ApiCircuitsCircuitsListRequest { r.tenantGroupN = &tenantGroupN return r } -// Tenant Group (ID) -func (r ApiCircuitsCircuitsListRequest) TenantGroupId(tenantGroupId []int32) ApiCircuitsCircuitsListRequest { +func (r ApiCircuitsCircuitsListRequest) TenantGroupId(tenantGroupId []string) ApiCircuitsCircuitsListRequest { r.tenantGroupId = &tenantGroupId return r } -// Tenant Group (ID) -func (r ApiCircuitsCircuitsListRequest) TenantGroupIdN(tenantGroupIdN []int32) ApiCircuitsCircuitsListRequest { +func (r ApiCircuitsCircuitsListRequest) TenantGroupIdN(tenantGroupIdN []string) ApiCircuitsCircuitsListRequest { r.tenantGroupIdN = &tenantGroupIdN return r } @@ -7324,6 +11318,53 @@ func (a *CircuitsAPIService) CircuitsCircuitsListExecute(r ApiCircuitsCircuitsLi parameterAddToHeaderOrQuery(localVarQueryParams, "status", t, "multi") } } + if r.statusEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__empty", r.statusEmpty, "") + } + if r.statusIc != nil { + t := *r.statusIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ic", t, "multi") + } + } + if r.statusIe != nil { + t := *r.statusIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ie", t, "multi") + } + } + if r.statusIew != nil { + t := *r.statusIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__iew", t, "multi") + } + } + if r.statusIsw != nil { + t := *r.statusIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__isw", t, "multi") + } + } if r.statusN != nil { t := *r.statusN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -7335,6 +11376,50 @@ func (a *CircuitsAPIService) CircuitsCircuitsListExecute(r ApiCircuitsCircuitsLi parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", t, "multi") } } + if r.statusNic != nil { + t := *r.statusNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nic", t, "multi") + } + } + if r.statusNie != nil { + t := *r.statusNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nie", t, "multi") + } + } + if r.statusNiew != nil { + t := *r.statusNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__niew", t, "multi") + } + } + if r.statusNisw != nil { + t := *r.statusNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nisw", t, "multi") + } + } if r.tag != nil { t := *r.tag if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -12929,8 +17014,8 @@ type ApiCircuitsProvidersListRequest struct { asnIdN *[]int32 contact *[]int32 contactN *[]int32 - contactGroup *[]int32 - contactGroupN *[]int32 + contactGroup *[]string + contactGroupN *[]string contactRole *[]int32 contactRoleN *[]int32 created *[]time.Time @@ -12982,16 +17067,16 @@ type ApiCircuitsProvidersListRequest struct { offset *int32 ordering *string q *string - region *[]int32 - regionN *[]int32 - regionId *[]int32 - regionIdN *[]int32 + region *[]string + regionN *[]string + regionId *[]string + regionIdN *[]string site *[]string siteN *[]string - siteGroup *[]int32 - siteGroupN *[]int32 - siteGroupId *[]int32 - siteGroupIdN *[]int32 + siteGroup *[]string + siteGroupN *[]string + siteGroupId *[]string + siteGroupIdN *[]string siteId *[]int32 siteIdN *[]int32 slug *[]string @@ -13046,14 +17131,12 @@ func (r ApiCircuitsProvidersListRequest) ContactN(contactN []int32) ApiCircuitsP return r } -// Contact group -func (r ApiCircuitsProvidersListRequest) ContactGroup(contactGroup []int32) ApiCircuitsProvidersListRequest { +func (r ApiCircuitsProvidersListRequest) ContactGroup(contactGroup []string) ApiCircuitsProvidersListRequest { r.contactGroup = &contactGroup return r } -// Contact group -func (r ApiCircuitsProvidersListRequest) ContactGroupN(contactGroupN []int32) ApiCircuitsProvidersListRequest { +func (r ApiCircuitsProvidersListRequest) ContactGroupN(contactGroupN []string) ApiCircuitsProvidersListRequest { r.contactGroupN = &contactGroupN return r } @@ -13319,26 +17402,22 @@ func (r ApiCircuitsProvidersListRequest) Q(q string) ApiCircuitsProvidersListReq return r } -// Region (slug) -func (r ApiCircuitsProvidersListRequest) Region(region []int32) ApiCircuitsProvidersListRequest { +func (r ApiCircuitsProvidersListRequest) Region(region []string) ApiCircuitsProvidersListRequest { r.region = ®ion return r } -// Region (slug) -func (r ApiCircuitsProvidersListRequest) RegionN(regionN []int32) ApiCircuitsProvidersListRequest { +func (r ApiCircuitsProvidersListRequest) RegionN(regionN []string) ApiCircuitsProvidersListRequest { r.regionN = ®ionN return r } -// Region (ID) -func (r ApiCircuitsProvidersListRequest) RegionId(regionId []int32) ApiCircuitsProvidersListRequest { +func (r ApiCircuitsProvidersListRequest) RegionId(regionId []string) ApiCircuitsProvidersListRequest { r.regionId = ®ionId return r } -// Region (ID) -func (r ApiCircuitsProvidersListRequest) RegionIdN(regionIdN []int32) ApiCircuitsProvidersListRequest { +func (r ApiCircuitsProvidersListRequest) RegionIdN(regionIdN []string) ApiCircuitsProvidersListRequest { r.regionIdN = ®ionIdN return r } @@ -13355,26 +17434,22 @@ func (r ApiCircuitsProvidersListRequest) SiteN(siteN []string) ApiCircuitsProvid return r } -// Site group (slug) -func (r ApiCircuitsProvidersListRequest) SiteGroup(siteGroup []int32) ApiCircuitsProvidersListRequest { +func (r ApiCircuitsProvidersListRequest) SiteGroup(siteGroup []string) ApiCircuitsProvidersListRequest { r.siteGroup = &siteGroup return r } -// Site group (slug) -func (r ApiCircuitsProvidersListRequest) SiteGroupN(siteGroupN []int32) ApiCircuitsProvidersListRequest { +func (r ApiCircuitsProvidersListRequest) SiteGroupN(siteGroupN []string) ApiCircuitsProvidersListRequest { r.siteGroupN = &siteGroupN return r } -// Site group (ID) -func (r ApiCircuitsProvidersListRequest) SiteGroupId(siteGroupId []int32) ApiCircuitsProvidersListRequest { +func (r ApiCircuitsProvidersListRequest) SiteGroupId(siteGroupId []string) ApiCircuitsProvidersListRequest { r.siteGroupId = &siteGroupId return r } -// Site group (ID) -func (r ApiCircuitsProvidersListRequest) SiteGroupIdN(siteGroupIdN []int32) ApiCircuitsProvidersListRequest { +func (r ApiCircuitsProvidersListRequest) SiteGroupIdN(siteGroupIdN []string) ApiCircuitsProvidersListRequest { r.siteGroupIdN = &siteGroupIdN return r } diff --git a/api_core.go b/api_core.go index 73022d419..41337a80b 100644 --- a/api_core.go +++ b/api_core.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -1878,11 +1878,29 @@ type ApiCoreDataSourcesListRequest struct { sourceUrlNiew *[]string sourceUrlNisw *[]string status *[]string + statusEmpty *bool + statusIc *[]string + statusIe *[]string + statusIew *[]string + statusIsw *[]string statusN *[]string + statusNic *[]string + statusNie *[]string + statusNiew *[]string + statusNisw *[]string tag *[]string tagN *[]string type_ *[]string + typeEmpty *bool + typeIc *[]string + typeIe *[]string + typeIew *[]string + typeIsw *[]string typeN *[]string + typeNic *[]string + typeNie *[]string + typeNiew *[]string + typeNisw *[]string updatedByRequest *string } @@ -2235,11 +2253,56 @@ func (r ApiCoreDataSourcesListRequest) Status(status []string) ApiCoreDataSource return r } +func (r ApiCoreDataSourcesListRequest) StatusEmpty(statusEmpty bool) ApiCoreDataSourcesListRequest { + r.statusEmpty = &statusEmpty + return r +} + +func (r ApiCoreDataSourcesListRequest) StatusIc(statusIc []string) ApiCoreDataSourcesListRequest { + r.statusIc = &statusIc + return r +} + +func (r ApiCoreDataSourcesListRequest) StatusIe(statusIe []string) ApiCoreDataSourcesListRequest { + r.statusIe = &statusIe + return r +} + +func (r ApiCoreDataSourcesListRequest) StatusIew(statusIew []string) ApiCoreDataSourcesListRequest { + r.statusIew = &statusIew + return r +} + +func (r ApiCoreDataSourcesListRequest) StatusIsw(statusIsw []string) ApiCoreDataSourcesListRequest { + r.statusIsw = &statusIsw + return r +} + func (r ApiCoreDataSourcesListRequest) StatusN(statusN []string) ApiCoreDataSourcesListRequest { r.statusN = &statusN return r } +func (r ApiCoreDataSourcesListRequest) StatusNic(statusNic []string) ApiCoreDataSourcesListRequest { + r.statusNic = &statusNic + return r +} + +func (r ApiCoreDataSourcesListRequest) StatusNie(statusNie []string) ApiCoreDataSourcesListRequest { + r.statusNie = &statusNie + return r +} + +func (r ApiCoreDataSourcesListRequest) StatusNiew(statusNiew []string) ApiCoreDataSourcesListRequest { + r.statusNiew = &statusNiew + return r +} + +func (r ApiCoreDataSourcesListRequest) StatusNisw(statusNisw []string) ApiCoreDataSourcesListRequest { + r.statusNisw = &statusNisw + return r +} + func (r ApiCoreDataSourcesListRequest) Tag(tag []string) ApiCoreDataSourcesListRequest { r.tag = &tag return r @@ -2255,11 +2318,56 @@ func (r ApiCoreDataSourcesListRequest) Type_(type_ []string) ApiCoreDataSourcesL return r } +func (r ApiCoreDataSourcesListRequest) TypeEmpty(typeEmpty bool) ApiCoreDataSourcesListRequest { + r.typeEmpty = &typeEmpty + return r +} + +func (r ApiCoreDataSourcesListRequest) TypeIc(typeIc []string) ApiCoreDataSourcesListRequest { + r.typeIc = &typeIc + return r +} + +func (r ApiCoreDataSourcesListRequest) TypeIe(typeIe []string) ApiCoreDataSourcesListRequest { + r.typeIe = &typeIe + return r +} + +func (r ApiCoreDataSourcesListRequest) TypeIew(typeIew []string) ApiCoreDataSourcesListRequest { + r.typeIew = &typeIew + return r +} + +func (r ApiCoreDataSourcesListRequest) TypeIsw(typeIsw []string) ApiCoreDataSourcesListRequest { + r.typeIsw = &typeIsw + return r +} + func (r ApiCoreDataSourcesListRequest) TypeN(typeN []string) ApiCoreDataSourcesListRequest { r.typeN = &typeN return r } +func (r ApiCoreDataSourcesListRequest) TypeNic(typeNic []string) ApiCoreDataSourcesListRequest { + r.typeNic = &typeNic + return r +} + +func (r ApiCoreDataSourcesListRequest) TypeNie(typeNie []string) ApiCoreDataSourcesListRequest { + r.typeNie = &typeNie + return r +} + +func (r ApiCoreDataSourcesListRequest) TypeNiew(typeNiew []string) ApiCoreDataSourcesListRequest { + r.typeNiew = &typeNiew + return r +} + +func (r ApiCoreDataSourcesListRequest) TypeNisw(typeNisw []string) ApiCoreDataSourcesListRequest { + r.typeNisw = &typeNisw + return r +} + func (r ApiCoreDataSourcesListRequest) UpdatedByRequest(updatedByRequest string) ApiCoreDataSourcesListRequest { r.updatedByRequest = &updatedByRequest return r @@ -2969,6 +3077,53 @@ func (a *CoreAPIService) CoreDataSourcesListExecute(r ApiCoreDataSourcesListRequ parameterAddToHeaderOrQuery(localVarQueryParams, "status", t, "multi") } } + if r.statusEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__empty", r.statusEmpty, "") + } + if r.statusIc != nil { + t := *r.statusIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ic", t, "multi") + } + } + if r.statusIe != nil { + t := *r.statusIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ie", t, "multi") + } + } + if r.statusIew != nil { + t := *r.statusIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__iew", t, "multi") + } + } + if r.statusIsw != nil { + t := *r.statusIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__isw", t, "multi") + } + } if r.statusN != nil { t := *r.statusN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -2980,6 +3135,50 @@ func (a *CoreAPIService) CoreDataSourcesListExecute(r ApiCoreDataSourcesListRequ parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", t, "multi") } } + if r.statusNic != nil { + t := *r.statusNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nic", t, "multi") + } + } + if r.statusNie != nil { + t := *r.statusNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nie", t, "multi") + } + } + if r.statusNiew != nil { + t := *r.statusNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__niew", t, "multi") + } + } + if r.statusNisw != nil { + t := *r.statusNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nisw", t, "multi") + } + } if r.tag != nil { t := *r.tag if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -3013,6 +3212,53 @@ func (a *CoreAPIService) CoreDataSourcesListExecute(r ApiCoreDataSourcesListRequ parameterAddToHeaderOrQuery(localVarQueryParams, "type", t, "multi") } } + if r.typeEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__empty", r.typeEmpty, "") + } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__ic", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__ie", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__iew", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__isw", t, "multi") + } + } if r.typeN != nil { t := *r.typeN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -3024,6 +3270,50 @@ func (a *CoreAPIService) CoreDataSourcesListExecute(r ApiCoreDataSourcesListRequ parameterAddToHeaderOrQuery(localVarQueryParams, "type__n", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__nic", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__nie", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__niew", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__nisw", t, "multi") + } + } if r.updatedByRequest != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "updated_by_request", r.updatedByRequest, "") } @@ -3652,7 +3942,16 @@ type ApiCoreJobsListRequest struct { startedAfter *time.Time startedBefore *time.Time status *[]string - statusN *[]string + statusEmpty *bool + statusIc *[]CoreJobsListStatusIcParameterInner + statusIe *[]CoreJobsListStatusIcParameterInner + statusIew *[]CoreJobsListStatusIcParameterInner + statusIsw *[]CoreJobsListStatusIcParameterInner + statusN *[]CoreJobsListStatusIcParameterInner + statusNic *[]CoreJobsListStatusIcParameterInner + statusNie *[]CoreJobsListStatusIcParameterInner + statusNiew *[]CoreJobsListStatusIcParameterInner + statusNisw *[]CoreJobsListStatusIcParameterInner user *int32 userN *int32 } @@ -3921,11 +4220,65 @@ func (r ApiCoreJobsListRequest) Status(status []string) ApiCoreJobsListRequest { return r } -func (r ApiCoreJobsListRequest) StatusN(statusN []string) ApiCoreJobsListRequest { +func (r ApiCoreJobsListRequest) StatusEmpty(statusEmpty bool) ApiCoreJobsListRequest { + r.statusEmpty = &statusEmpty + return r +} + +// * `pending` - Pending * `scheduled` - Scheduled * `running` - Running * `completed` - Completed * `errored` - Errored * `failed` - Failed +func (r ApiCoreJobsListRequest) StatusIc(statusIc []CoreJobsListStatusIcParameterInner) ApiCoreJobsListRequest { + r.statusIc = &statusIc + return r +} + +// * `pending` - Pending * `scheduled` - Scheduled * `running` - Running * `completed` - Completed * `errored` - Errored * `failed` - Failed +func (r ApiCoreJobsListRequest) StatusIe(statusIe []CoreJobsListStatusIcParameterInner) ApiCoreJobsListRequest { + r.statusIe = &statusIe + return r +} + +// * `pending` - Pending * `scheduled` - Scheduled * `running` - Running * `completed` - Completed * `errored` - Errored * `failed` - Failed +func (r ApiCoreJobsListRequest) StatusIew(statusIew []CoreJobsListStatusIcParameterInner) ApiCoreJobsListRequest { + r.statusIew = &statusIew + return r +} + +// * `pending` - Pending * `scheduled` - Scheduled * `running` - Running * `completed` - Completed * `errored` - Errored * `failed` - Failed +func (r ApiCoreJobsListRequest) StatusIsw(statusIsw []CoreJobsListStatusIcParameterInner) ApiCoreJobsListRequest { + r.statusIsw = &statusIsw + return r +} + +// * `pending` - Pending * `scheduled` - Scheduled * `running` - Running * `completed` - Completed * `errored` - Errored * `failed` - Failed +func (r ApiCoreJobsListRequest) StatusN(statusN []CoreJobsListStatusIcParameterInner) ApiCoreJobsListRequest { r.statusN = &statusN return r } +// * `pending` - Pending * `scheduled` - Scheduled * `running` - Running * `completed` - Completed * `errored` - Errored * `failed` - Failed +func (r ApiCoreJobsListRequest) StatusNic(statusNic []CoreJobsListStatusIcParameterInner) ApiCoreJobsListRequest { + r.statusNic = &statusNic + return r +} + +// * `pending` - Pending * `scheduled` - Scheduled * `running` - Running * `completed` - Completed * `errored` - Errored * `failed` - Failed +func (r ApiCoreJobsListRequest) StatusNie(statusNie []CoreJobsListStatusIcParameterInner) ApiCoreJobsListRequest { + r.statusNie = &statusNie + return r +} + +// * `pending` - Pending * `scheduled` - Scheduled * `running` - Running * `completed` - Completed * `errored` - Errored * `failed` - Failed +func (r ApiCoreJobsListRequest) StatusNiew(statusNiew []CoreJobsListStatusIcParameterInner) ApiCoreJobsListRequest { + r.statusNiew = &statusNiew + return r +} + +// * `pending` - Pending * `scheduled` - Scheduled * `running` - Running * `completed` - Completed * `errored` - Errored * `failed` - Failed +func (r ApiCoreJobsListRequest) StatusNisw(statusNisw []CoreJobsListStatusIcParameterInner) ApiCoreJobsListRequest { + r.statusNisw = &statusNisw + return r +} + func (r ApiCoreJobsListRequest) User(user int32) ApiCoreJobsListRequest { r.user = &user return r @@ -4365,6 +4718,53 @@ func (a *CoreAPIService) CoreJobsListExecute(r ApiCoreJobsListRequest) (*Paginat parameterAddToHeaderOrQuery(localVarQueryParams, "status", t, "multi") } } + if r.statusEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__empty", r.statusEmpty, "") + } + if r.statusIc != nil { + t := *r.statusIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ic", t, "multi") + } + } + if r.statusIe != nil { + t := *r.statusIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ie", t, "multi") + } + } + if r.statusIew != nil { + t := *r.statusIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__iew", t, "multi") + } + } + if r.statusIsw != nil { + t := *r.statusIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__isw", t, "multi") + } + } if r.statusN != nil { t := *r.statusN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -4376,6 +4776,50 @@ func (a *CoreAPIService) CoreJobsListExecute(r ApiCoreJobsListRequest) (*Paginat parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", t, "multi") } } + if r.statusNic != nil { + t := *r.statusNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nic", t, "multi") + } + } + if r.statusNie != nil { + t := *r.statusNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nie", t, "multi") + } + } + if r.statusNiew != nil { + t := *r.statusNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__niew", t, "multi") + } + } + if r.statusNisw != nil { + t := *r.statusNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nisw", t, "multi") + } + } if r.user != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "user", r.user, "") } @@ -4567,3 +5011,1145 @@ func (a *CoreAPIService) CoreJobsRetrieveExecute(r ApiCoreJobsRetrieveRequest) ( return localVarReturnValue, localVarHTTPResponse, nil } + +type ApiCoreObjectChangesListRequest struct { + ctx context.Context + ApiService *CoreAPIService + action *CoreObjectChangesListActionParameter + changedObjectId *[]int32 + changedObjectIdEmpty *bool + changedObjectIdGt *[]int32 + changedObjectIdGte *[]int32 + changedObjectIdLt *[]int32 + changedObjectIdLte *[]int32 + changedObjectIdN *[]int32 + changedObjectType *string + changedObjectTypeN *string + changedObjectTypeId *[]int32 + changedObjectTypeIdN *[]int32 + id *[]int32 + idEmpty *bool + idGt *[]int32 + idGte *[]int32 + idLt *[]int32 + idLte *[]int32 + idN *[]int32 + limit *int32 + objectRepr *[]string + objectReprEmpty *bool + objectReprIc *[]string + objectReprIe *[]string + objectReprIew *[]string + objectReprIsw *[]string + objectReprN *[]string + objectReprNic *[]string + objectReprNie *[]string + objectReprNiew *[]string + objectReprNisw *[]string + offset *int32 + ordering *string + q *string + relatedObjectId *[]int32 + relatedObjectIdEmpty *bool + relatedObjectIdGt *[]int32 + relatedObjectIdGte *[]int32 + relatedObjectIdLt *[]int32 + relatedObjectIdLte *[]int32 + relatedObjectIdN *[]int32 + relatedObjectType *int32 + relatedObjectTypeN *int32 + requestId *string + timeAfter *time.Time + timeBefore *time.Time + user *[]string + userN *[]string + userId *[]*int32 + userIdN *[]*int32 + userName *[]string + userNameEmpty *bool + userNameIc *[]string + userNameIe *[]string + userNameIew *[]string + userNameIsw *[]string + userNameN *[]string + userNameNic *[]string + userNameNie *[]string + userNameNiew *[]string + userNameNisw *[]string +} + +// * `create` - Created * `update` - Updated * `delete` - Deleted +func (r ApiCoreObjectChangesListRequest) Action(action CoreObjectChangesListActionParameter) ApiCoreObjectChangesListRequest { + r.action = &action + return r +} + +func (r ApiCoreObjectChangesListRequest) ChangedObjectId(changedObjectId []int32) ApiCoreObjectChangesListRequest { + r.changedObjectId = &changedObjectId + return r +} + +func (r ApiCoreObjectChangesListRequest) ChangedObjectIdEmpty(changedObjectIdEmpty bool) ApiCoreObjectChangesListRequest { + r.changedObjectIdEmpty = &changedObjectIdEmpty + return r +} + +func (r ApiCoreObjectChangesListRequest) ChangedObjectIdGt(changedObjectIdGt []int32) ApiCoreObjectChangesListRequest { + r.changedObjectIdGt = &changedObjectIdGt + return r +} + +func (r ApiCoreObjectChangesListRequest) ChangedObjectIdGte(changedObjectIdGte []int32) ApiCoreObjectChangesListRequest { + r.changedObjectIdGte = &changedObjectIdGte + return r +} + +func (r ApiCoreObjectChangesListRequest) ChangedObjectIdLt(changedObjectIdLt []int32) ApiCoreObjectChangesListRequest { + r.changedObjectIdLt = &changedObjectIdLt + return r +} + +func (r ApiCoreObjectChangesListRequest) ChangedObjectIdLte(changedObjectIdLte []int32) ApiCoreObjectChangesListRequest { + r.changedObjectIdLte = &changedObjectIdLte + return r +} + +func (r ApiCoreObjectChangesListRequest) ChangedObjectIdN(changedObjectIdN []int32) ApiCoreObjectChangesListRequest { + r.changedObjectIdN = &changedObjectIdN + return r +} + +func (r ApiCoreObjectChangesListRequest) ChangedObjectType(changedObjectType string) ApiCoreObjectChangesListRequest { + r.changedObjectType = &changedObjectType + return r +} + +func (r ApiCoreObjectChangesListRequest) ChangedObjectTypeN(changedObjectTypeN string) ApiCoreObjectChangesListRequest { + r.changedObjectTypeN = &changedObjectTypeN + return r +} + +func (r ApiCoreObjectChangesListRequest) ChangedObjectTypeId(changedObjectTypeId []int32) ApiCoreObjectChangesListRequest { + r.changedObjectTypeId = &changedObjectTypeId + return r +} + +func (r ApiCoreObjectChangesListRequest) ChangedObjectTypeIdN(changedObjectTypeIdN []int32) ApiCoreObjectChangesListRequest { + r.changedObjectTypeIdN = &changedObjectTypeIdN + return r +} + +func (r ApiCoreObjectChangesListRequest) Id(id []int32) ApiCoreObjectChangesListRequest { + r.id = &id + return r +} + +func (r ApiCoreObjectChangesListRequest) IdEmpty(idEmpty bool) ApiCoreObjectChangesListRequest { + r.idEmpty = &idEmpty + return r +} + +func (r ApiCoreObjectChangesListRequest) IdGt(idGt []int32) ApiCoreObjectChangesListRequest { + r.idGt = &idGt + return r +} + +func (r ApiCoreObjectChangesListRequest) IdGte(idGte []int32) ApiCoreObjectChangesListRequest { + r.idGte = &idGte + return r +} + +func (r ApiCoreObjectChangesListRequest) IdLt(idLt []int32) ApiCoreObjectChangesListRequest { + r.idLt = &idLt + return r +} + +func (r ApiCoreObjectChangesListRequest) IdLte(idLte []int32) ApiCoreObjectChangesListRequest { + r.idLte = &idLte + return r +} + +func (r ApiCoreObjectChangesListRequest) IdN(idN []int32) ApiCoreObjectChangesListRequest { + r.idN = &idN + return r +} + +// Number of results to return per page. +func (r ApiCoreObjectChangesListRequest) Limit(limit int32) ApiCoreObjectChangesListRequest { + r.limit = &limit + return r +} + +func (r ApiCoreObjectChangesListRequest) ObjectRepr(objectRepr []string) ApiCoreObjectChangesListRequest { + r.objectRepr = &objectRepr + return r +} + +func (r ApiCoreObjectChangesListRequest) ObjectReprEmpty(objectReprEmpty bool) ApiCoreObjectChangesListRequest { + r.objectReprEmpty = &objectReprEmpty + return r +} + +func (r ApiCoreObjectChangesListRequest) ObjectReprIc(objectReprIc []string) ApiCoreObjectChangesListRequest { + r.objectReprIc = &objectReprIc + return r +} + +func (r ApiCoreObjectChangesListRequest) ObjectReprIe(objectReprIe []string) ApiCoreObjectChangesListRequest { + r.objectReprIe = &objectReprIe + return r +} + +func (r ApiCoreObjectChangesListRequest) ObjectReprIew(objectReprIew []string) ApiCoreObjectChangesListRequest { + r.objectReprIew = &objectReprIew + return r +} + +func (r ApiCoreObjectChangesListRequest) ObjectReprIsw(objectReprIsw []string) ApiCoreObjectChangesListRequest { + r.objectReprIsw = &objectReprIsw + return r +} + +func (r ApiCoreObjectChangesListRequest) ObjectReprN(objectReprN []string) ApiCoreObjectChangesListRequest { + r.objectReprN = &objectReprN + return r +} + +func (r ApiCoreObjectChangesListRequest) ObjectReprNic(objectReprNic []string) ApiCoreObjectChangesListRequest { + r.objectReprNic = &objectReprNic + return r +} + +func (r ApiCoreObjectChangesListRequest) ObjectReprNie(objectReprNie []string) ApiCoreObjectChangesListRequest { + r.objectReprNie = &objectReprNie + return r +} + +func (r ApiCoreObjectChangesListRequest) ObjectReprNiew(objectReprNiew []string) ApiCoreObjectChangesListRequest { + r.objectReprNiew = &objectReprNiew + return r +} + +func (r ApiCoreObjectChangesListRequest) ObjectReprNisw(objectReprNisw []string) ApiCoreObjectChangesListRequest { + r.objectReprNisw = &objectReprNisw + return r +} + +// The initial index from which to return the results. +func (r ApiCoreObjectChangesListRequest) Offset(offset int32) ApiCoreObjectChangesListRequest { + r.offset = &offset + return r +} + +// Which field to use when ordering the results. +func (r ApiCoreObjectChangesListRequest) Ordering(ordering string) ApiCoreObjectChangesListRequest { + r.ordering = &ordering + return r +} + +// Search +func (r ApiCoreObjectChangesListRequest) Q(q string) ApiCoreObjectChangesListRequest { + r.q = &q + return r +} + +func (r ApiCoreObjectChangesListRequest) RelatedObjectId(relatedObjectId []int32) ApiCoreObjectChangesListRequest { + r.relatedObjectId = &relatedObjectId + return r +} + +func (r ApiCoreObjectChangesListRequest) RelatedObjectIdEmpty(relatedObjectIdEmpty bool) ApiCoreObjectChangesListRequest { + r.relatedObjectIdEmpty = &relatedObjectIdEmpty + return r +} + +func (r ApiCoreObjectChangesListRequest) RelatedObjectIdGt(relatedObjectIdGt []int32) ApiCoreObjectChangesListRequest { + r.relatedObjectIdGt = &relatedObjectIdGt + return r +} + +func (r ApiCoreObjectChangesListRequest) RelatedObjectIdGte(relatedObjectIdGte []int32) ApiCoreObjectChangesListRequest { + r.relatedObjectIdGte = &relatedObjectIdGte + return r +} + +func (r ApiCoreObjectChangesListRequest) RelatedObjectIdLt(relatedObjectIdLt []int32) ApiCoreObjectChangesListRequest { + r.relatedObjectIdLt = &relatedObjectIdLt + return r +} + +func (r ApiCoreObjectChangesListRequest) RelatedObjectIdLte(relatedObjectIdLte []int32) ApiCoreObjectChangesListRequest { + r.relatedObjectIdLte = &relatedObjectIdLte + return r +} + +func (r ApiCoreObjectChangesListRequest) RelatedObjectIdN(relatedObjectIdN []int32) ApiCoreObjectChangesListRequest { + r.relatedObjectIdN = &relatedObjectIdN + return r +} + +func (r ApiCoreObjectChangesListRequest) RelatedObjectType(relatedObjectType int32) ApiCoreObjectChangesListRequest { + r.relatedObjectType = &relatedObjectType + return r +} + +func (r ApiCoreObjectChangesListRequest) RelatedObjectTypeN(relatedObjectTypeN int32) ApiCoreObjectChangesListRequest { + r.relatedObjectTypeN = &relatedObjectTypeN + return r +} + +func (r ApiCoreObjectChangesListRequest) RequestId(requestId string) ApiCoreObjectChangesListRequest { + r.requestId = &requestId + return r +} + +func (r ApiCoreObjectChangesListRequest) TimeAfter(timeAfter time.Time) ApiCoreObjectChangesListRequest { + r.timeAfter = &timeAfter + return r +} + +func (r ApiCoreObjectChangesListRequest) TimeBefore(timeBefore time.Time) ApiCoreObjectChangesListRequest { + r.timeBefore = &timeBefore + return r +} + +// User name +func (r ApiCoreObjectChangesListRequest) User(user []string) ApiCoreObjectChangesListRequest { + r.user = &user + return r +} + +// User name +func (r ApiCoreObjectChangesListRequest) UserN(userN []string) ApiCoreObjectChangesListRequest { + r.userN = &userN + return r +} + +// User (ID) +func (r ApiCoreObjectChangesListRequest) UserId(userId []*int32) ApiCoreObjectChangesListRequest { + r.userId = &userId + return r +} + +// User (ID) +func (r ApiCoreObjectChangesListRequest) UserIdN(userIdN []*int32) ApiCoreObjectChangesListRequest { + r.userIdN = &userIdN + return r +} + +func (r ApiCoreObjectChangesListRequest) UserName(userName []string) ApiCoreObjectChangesListRequest { + r.userName = &userName + return r +} + +func (r ApiCoreObjectChangesListRequest) UserNameEmpty(userNameEmpty bool) ApiCoreObjectChangesListRequest { + r.userNameEmpty = &userNameEmpty + return r +} + +func (r ApiCoreObjectChangesListRequest) UserNameIc(userNameIc []string) ApiCoreObjectChangesListRequest { + r.userNameIc = &userNameIc + return r +} + +func (r ApiCoreObjectChangesListRequest) UserNameIe(userNameIe []string) ApiCoreObjectChangesListRequest { + r.userNameIe = &userNameIe + return r +} + +func (r ApiCoreObjectChangesListRequest) UserNameIew(userNameIew []string) ApiCoreObjectChangesListRequest { + r.userNameIew = &userNameIew + return r +} + +func (r ApiCoreObjectChangesListRequest) UserNameIsw(userNameIsw []string) ApiCoreObjectChangesListRequest { + r.userNameIsw = &userNameIsw + return r +} + +func (r ApiCoreObjectChangesListRequest) UserNameN(userNameN []string) ApiCoreObjectChangesListRequest { + r.userNameN = &userNameN + return r +} + +func (r ApiCoreObjectChangesListRequest) UserNameNic(userNameNic []string) ApiCoreObjectChangesListRequest { + r.userNameNic = &userNameNic + return r +} + +func (r ApiCoreObjectChangesListRequest) UserNameNie(userNameNie []string) ApiCoreObjectChangesListRequest { + r.userNameNie = &userNameNie + return r +} + +func (r ApiCoreObjectChangesListRequest) UserNameNiew(userNameNiew []string) ApiCoreObjectChangesListRequest { + r.userNameNiew = &userNameNiew + return r +} + +func (r ApiCoreObjectChangesListRequest) UserNameNisw(userNameNisw []string) ApiCoreObjectChangesListRequest { + r.userNameNisw = &userNameNisw + return r +} + +func (r ApiCoreObjectChangesListRequest) Execute() (*PaginatedObjectChangeList, *http.Response, error) { + return r.ApiService.CoreObjectChangesListExecute(r) +} + +/* +CoreObjectChangesList Method for CoreObjectChangesList + +Retrieve a list of recent changes. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiCoreObjectChangesListRequest +*/ +func (a *CoreAPIService) CoreObjectChangesList(ctx context.Context) ApiCoreObjectChangesListRequest { + return ApiCoreObjectChangesListRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// +// @return PaginatedObjectChangeList +func (a *CoreAPIService) CoreObjectChangesListExecute(r ApiCoreObjectChangesListRequest) (*PaginatedObjectChangeList, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *PaginatedObjectChangeList + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CoreAPIService.CoreObjectChangesList") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/core/object-changes/" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.action != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "action", r.action, "") + } + if r.changedObjectId != nil { + t := *r.changedObjectId + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_id", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_id", t, "multi") + } + } + if r.changedObjectIdEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_id__empty", r.changedObjectIdEmpty, "") + } + if r.changedObjectIdGt != nil { + t := *r.changedObjectIdGt + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_id__gt", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_id__gt", t, "multi") + } + } + if r.changedObjectIdGte != nil { + t := *r.changedObjectIdGte + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_id__gte", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_id__gte", t, "multi") + } + } + if r.changedObjectIdLt != nil { + t := *r.changedObjectIdLt + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_id__lt", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_id__lt", t, "multi") + } + } + if r.changedObjectIdLte != nil { + t := *r.changedObjectIdLte + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_id__lte", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_id__lte", t, "multi") + } + } + if r.changedObjectIdN != nil { + t := *r.changedObjectIdN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_id__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_id__n", t, "multi") + } + } + if r.changedObjectType != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_type", r.changedObjectType, "") + } + if r.changedObjectTypeN != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_type__n", r.changedObjectTypeN, "") + } + if r.changedObjectTypeId != nil { + t := *r.changedObjectTypeId + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_type_id", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_type_id", t, "multi") + } + } + if r.changedObjectTypeIdN != nil { + t := *r.changedObjectTypeIdN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_type_id__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_type_id__n", t, "multi") + } + } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "multi") + } + } + if r.idEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "id__empty", r.idEmpty, "") + } + if r.idGt != nil { + t := *r.idGt + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "id__gt", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "id__gt", t, "multi") + } + } + if r.idGte != nil { + t := *r.idGte + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "id__gte", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "id__gte", t, "multi") + } + } + if r.idLt != nil { + t := *r.idLt + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "id__lt", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "id__lt", t, "multi") + } + } + if r.idLte != nil { + t := *r.idLte + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "id__lte", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "id__lte", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "multi") + } + } + if r.limit != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "") + } + if r.objectRepr != nil { + t := *r.objectRepr + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "object_repr", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "object_repr", t, "multi") + } + } + if r.objectReprEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "object_repr__empty", r.objectReprEmpty, "") + } + if r.objectReprIc != nil { + t := *r.objectReprIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "object_repr__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "object_repr__ic", t, "multi") + } + } + if r.objectReprIe != nil { + t := *r.objectReprIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "object_repr__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "object_repr__ie", t, "multi") + } + } + if r.objectReprIew != nil { + t := *r.objectReprIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "object_repr__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "object_repr__iew", t, "multi") + } + } + if r.objectReprIsw != nil { + t := *r.objectReprIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "object_repr__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "object_repr__isw", t, "multi") + } + } + if r.objectReprN != nil { + t := *r.objectReprN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "object_repr__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "object_repr__n", t, "multi") + } + } + if r.objectReprNic != nil { + t := *r.objectReprNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "object_repr__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "object_repr__nic", t, "multi") + } + } + if r.objectReprNie != nil { + t := *r.objectReprNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "object_repr__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "object_repr__nie", t, "multi") + } + } + if r.objectReprNiew != nil { + t := *r.objectReprNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "object_repr__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "object_repr__niew", t, "multi") + } + } + if r.objectReprNisw != nil { + t := *r.objectReprNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "object_repr__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "object_repr__nisw", t, "multi") + } + } + if r.offset != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "") + } + if r.ordering != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "ordering", r.ordering, "") + } + if r.q != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "") + } + if r.relatedObjectId != nil { + t := *r.relatedObjectId + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "related_object_id", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "related_object_id", t, "multi") + } + } + if r.relatedObjectIdEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "related_object_id__empty", r.relatedObjectIdEmpty, "") + } + if r.relatedObjectIdGt != nil { + t := *r.relatedObjectIdGt + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "related_object_id__gt", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "related_object_id__gt", t, "multi") + } + } + if r.relatedObjectIdGte != nil { + t := *r.relatedObjectIdGte + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "related_object_id__gte", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "related_object_id__gte", t, "multi") + } + } + if r.relatedObjectIdLt != nil { + t := *r.relatedObjectIdLt + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "related_object_id__lt", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "related_object_id__lt", t, "multi") + } + } + if r.relatedObjectIdLte != nil { + t := *r.relatedObjectIdLte + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "related_object_id__lte", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "related_object_id__lte", t, "multi") + } + } + if r.relatedObjectIdN != nil { + t := *r.relatedObjectIdN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "related_object_id__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "related_object_id__n", t, "multi") + } + } + if r.relatedObjectType != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "related_object_type", r.relatedObjectType, "") + } + if r.relatedObjectTypeN != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "related_object_type__n", r.relatedObjectTypeN, "") + } + if r.requestId != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "request_id", r.requestId, "") + } + if r.timeAfter != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "time_after", r.timeAfter, "") + } + if r.timeBefore != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "time_before", r.timeBefore, "") + } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "user", t, "multi") + } + } + 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, "user__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "user__n", t, "multi") + } + } + if r.userId != nil { + t := *r.userId + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "user_id", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "user_id", t, "multi") + } + } + if r.userIdN != nil { + t := *r.userIdN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "user_id__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "user_id__n", t, "multi") + } + } + if r.userName != nil { + t := *r.userName + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "user_name", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "user_name", t, "multi") + } + } + if r.userNameEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "user_name__empty", r.userNameEmpty, "") + } + if r.userNameIc != nil { + t := *r.userNameIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "user_name__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "user_name__ic", t, "multi") + } + } + if r.userNameIe != nil { + t := *r.userNameIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "user_name__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "user_name__ie", t, "multi") + } + } + if r.userNameIew != nil { + t := *r.userNameIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "user_name__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "user_name__iew", t, "multi") + } + } + if r.userNameIsw != nil { + t := *r.userNameIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "user_name__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "user_name__isw", t, "multi") + } + } + if r.userNameN != nil { + t := *r.userNameN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "user_name__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "user_name__n", t, "multi") + } + } + if r.userNameNic != nil { + t := *r.userNameNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "user_name__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "user_name__nic", t, "multi") + } + } + if r.userNameNie != nil { + t := *r.userNameNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "user_name__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "user_name__nie", t, "multi") + } + } + if r.userNameNiew != nil { + t := *r.userNameNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "user_name__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "user_name__niew", t, "multi") + } + } + if r.userNameNisw != nil { + t := *r.userNameNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "user_name__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "user_name__nisw", t, "multi") + } + } + // 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"} + + // 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 ApiCoreObjectChangesRetrieveRequest struct { + ctx context.Context + ApiService *CoreAPIService + id int32 +} + +func (r ApiCoreObjectChangesRetrieveRequest) Execute() (*ObjectChange, *http.Response, error) { + return r.ApiService.CoreObjectChangesRetrieveExecute(r) +} + +/* +CoreObjectChangesRetrieve Method for CoreObjectChangesRetrieve + +Retrieve a list of recent changes. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id A unique integer value identifying this object change. + @return ApiCoreObjectChangesRetrieveRequest +*/ +func (a *CoreAPIService) CoreObjectChangesRetrieve(ctx context.Context, id int32) ApiCoreObjectChangesRetrieveRequest { + return ApiCoreObjectChangesRetrieveRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// +// @return ObjectChange +func (a *CoreAPIService) CoreObjectChangesRetrieveExecute(r ApiCoreObjectChangesRetrieveRequest) (*ObjectChange, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ObjectChange + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CoreAPIService.CoreObjectChangesRetrieve") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/core/object-changes/{id}/" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // 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"} + + // 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 +} diff --git a/api_dcim.go b/api_dcim.go index 0427ae7cc..f6100c61f 100644 --- a/api_dcim.go +++ b/api_dcim.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -624,7 +624,6 @@ type ApiDcimCableTerminationsListRequest struct { cable *int32 cableN *int32 cableEnd *End - cableEndN *End created *[]time.Time createdEmpty *[]time.Time createdGt *[]time.Time @@ -679,12 +678,6 @@ func (r ApiDcimCableTerminationsListRequest) CableEnd(cableEnd End) ApiDcimCable return r } -// * `A` - A * `B` - B -func (r ApiDcimCableTerminationsListRequest) CableEndN(cableEndN End) ApiDcimCableTerminationsListRequest { - r.cableEndN = &cableEndN - return r -} - func (r ApiDcimCableTerminationsListRequest) Created(created []time.Time) ApiDcimCableTerminationsListRequest { r.created = &created return r @@ -918,9 +911,6 @@ func (a *DcimAPIService) DcimCableTerminationsListExecute(r ApiDcimCableTerminat if r.cableEnd != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "cable_end", r.cableEnd, "") } - if r.cableEndN != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "cable_end__n", r.cableEndN, "") - } if r.created != nil { t := *r.created if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -2274,7 +2264,16 @@ type ApiDcimCablesListRequest struct { ApiService *DcimAPIService circuitterminationId *[]int32 color *[]string + colorEmpty *bool + colorIc *[]string + colorIe *[]string + colorIew *[]string + colorIsw *[]string colorN *[]string + colorNic *[]string + colorNie *[]string + colorNiew *[]string + colorNisw *[]string consoleportId *[]int32 consoleserverportId *[]int32 created *[]time.Time @@ -2333,7 +2332,6 @@ type ApiDcimCablesListRequest struct { lengthLte *[]float64 lengthN *[]float64 lengthUnit *DcimCablesListLengthUnitParameter - lengthUnitN *DcimCablesListLengthUnitParameter limit *int32 location *[]string locationId *[]int32 @@ -2350,15 +2348,24 @@ type ApiDcimCablesListRequest struct { site *[]string siteId *[]int32 status *[]string - statusN *[]string + statusEmpty *bool + statusIc *[]DcimCablesListStatusIcParameterInner + statusIe *[]DcimCablesListStatusIcParameterInner + statusIew *[]DcimCablesListStatusIcParameterInner + statusIsw *[]DcimCablesListStatusIcParameterInner + statusN *[]DcimCablesListStatusIcParameterInner + statusNic *[]DcimCablesListStatusIcParameterInner + statusNie *[]DcimCablesListStatusIcParameterInner + statusNiew *[]DcimCablesListStatusIcParameterInner + statusNisw *[]DcimCablesListStatusIcParameterInner tag *[]string tagN *[]string tenant *[]string tenantN *[]string - tenantGroup *[]int32 - tenantGroupN *[]int32 - tenantGroupId *[]int32 - tenantGroupIdN *[]int32 + tenantGroup *[]string + tenantGroupN *[]string + tenantGroupId *[]string + tenantGroupIdN *[]string tenantId *[]*int32 tenantIdN *[]*int32 terminationAId *[]int32 @@ -2368,7 +2375,16 @@ type ApiDcimCablesListRequest struct { terminationBType *string terminationBTypeN *string type_ *[]string - typeN *[]string + typeEmpty *bool + typeIc *[]DcimCablesListTypeIcParameterInner + typeIe *[]DcimCablesListTypeIcParameterInner + typeIew *[]DcimCablesListTypeIcParameterInner + typeIsw *[]DcimCablesListTypeIcParameterInner + typeN *[]DcimCablesListTypeIcParameterInner + typeNic *[]DcimCablesListTypeIcParameterInner + typeNie *[]DcimCablesListTypeIcParameterInner + typeNiew *[]DcimCablesListTypeIcParameterInner + typeNisw *[]DcimCablesListTypeIcParameterInner unterminated *bool updatedByRequest *string } @@ -2383,11 +2399,56 @@ func (r ApiDcimCablesListRequest) Color(color []string) ApiDcimCablesListRequest return r } +func (r ApiDcimCablesListRequest) ColorEmpty(colorEmpty bool) ApiDcimCablesListRequest { + r.colorEmpty = &colorEmpty + return r +} + +func (r ApiDcimCablesListRequest) ColorIc(colorIc []string) ApiDcimCablesListRequest { + r.colorIc = &colorIc + return r +} + +func (r ApiDcimCablesListRequest) ColorIe(colorIe []string) ApiDcimCablesListRequest { + r.colorIe = &colorIe + return r +} + +func (r ApiDcimCablesListRequest) ColorIew(colorIew []string) ApiDcimCablesListRequest { + r.colorIew = &colorIew + return r +} + +func (r ApiDcimCablesListRequest) ColorIsw(colorIsw []string) ApiDcimCablesListRequest { + r.colorIsw = &colorIsw + return r +} + func (r ApiDcimCablesListRequest) ColorN(colorN []string) ApiDcimCablesListRequest { r.colorN = &colorN return r } +func (r ApiDcimCablesListRequest) ColorNic(colorNic []string) ApiDcimCablesListRequest { + r.colorNic = &colorNic + return r +} + +func (r ApiDcimCablesListRequest) ColorNie(colorNie []string) ApiDcimCablesListRequest { + r.colorNie = &colorNie + return r +} + +func (r ApiDcimCablesListRequest) ColorNiew(colorNiew []string) ApiDcimCablesListRequest { + r.colorNiew = &colorNiew + return r +} + +func (r ApiDcimCablesListRequest) ColorNisw(colorNisw []string) ApiDcimCablesListRequest { + r.colorNisw = &colorNisw + return r +} + func (r ApiDcimCablesListRequest) ConsoleportId(consoleportId []int32) ApiDcimCablesListRequest { r.consoleportId = &consoleportId return r @@ -2679,12 +2740,6 @@ func (r ApiDcimCablesListRequest) LengthUnit(lengthUnit DcimCablesListLengthUnit return r } -// * `km` - Kilometers * `m` - Meters * `cm` - Centimeters * `mi` - Miles * `ft` - Feet * `in` - Inches -func (r ApiDcimCablesListRequest) LengthUnitN(lengthUnitN DcimCablesListLengthUnitParameter) ApiDcimCablesListRequest { - r.lengthUnitN = &lengthUnitN - return r -} - // Number of results to return per page. func (r ApiDcimCablesListRequest) Limit(limit int32) ApiDcimCablesListRequest { r.limit = &limit @@ -2769,11 +2824,65 @@ func (r ApiDcimCablesListRequest) Status(status []string) ApiDcimCablesListReque return r } -func (r ApiDcimCablesListRequest) StatusN(statusN []string) ApiDcimCablesListRequest { +func (r ApiDcimCablesListRequest) StatusEmpty(statusEmpty bool) ApiDcimCablesListRequest { + r.statusEmpty = &statusEmpty + return r +} + +// * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning +func (r ApiDcimCablesListRequest) StatusIc(statusIc []DcimCablesListStatusIcParameterInner) ApiDcimCablesListRequest { + r.statusIc = &statusIc + return r +} + +// * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning +func (r ApiDcimCablesListRequest) StatusIe(statusIe []DcimCablesListStatusIcParameterInner) ApiDcimCablesListRequest { + r.statusIe = &statusIe + return r +} + +// * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning +func (r ApiDcimCablesListRequest) StatusIew(statusIew []DcimCablesListStatusIcParameterInner) ApiDcimCablesListRequest { + r.statusIew = &statusIew + return r +} + +// * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning +func (r ApiDcimCablesListRequest) StatusIsw(statusIsw []DcimCablesListStatusIcParameterInner) ApiDcimCablesListRequest { + r.statusIsw = &statusIsw + return r +} + +// * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning +func (r ApiDcimCablesListRequest) StatusN(statusN []DcimCablesListStatusIcParameterInner) ApiDcimCablesListRequest { r.statusN = &statusN return r } +// * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning +func (r ApiDcimCablesListRequest) StatusNic(statusNic []DcimCablesListStatusIcParameterInner) ApiDcimCablesListRequest { + r.statusNic = &statusNic + return r +} + +// * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning +func (r ApiDcimCablesListRequest) StatusNie(statusNie []DcimCablesListStatusIcParameterInner) ApiDcimCablesListRequest { + r.statusNie = &statusNie + return r +} + +// * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning +func (r ApiDcimCablesListRequest) StatusNiew(statusNiew []DcimCablesListStatusIcParameterInner) ApiDcimCablesListRequest { + r.statusNiew = &statusNiew + return r +} + +// * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning +func (r ApiDcimCablesListRequest) StatusNisw(statusNisw []DcimCablesListStatusIcParameterInner) ApiDcimCablesListRequest { + r.statusNisw = &statusNisw + return r +} + func (r ApiDcimCablesListRequest) Tag(tag []string) ApiDcimCablesListRequest { r.tag = &tag return r @@ -2796,26 +2905,22 @@ func (r ApiDcimCablesListRequest) TenantN(tenantN []string) ApiDcimCablesListReq return r } -// Tenant Group (slug) -func (r ApiDcimCablesListRequest) TenantGroup(tenantGroup []int32) ApiDcimCablesListRequest { +func (r ApiDcimCablesListRequest) TenantGroup(tenantGroup []string) ApiDcimCablesListRequest { r.tenantGroup = &tenantGroup return r } -// Tenant Group (slug) -func (r ApiDcimCablesListRequest) TenantGroupN(tenantGroupN []int32) ApiDcimCablesListRequest { +func (r ApiDcimCablesListRequest) TenantGroupN(tenantGroupN []string) ApiDcimCablesListRequest { r.tenantGroupN = &tenantGroupN return r } -// Tenant Group (ID) -func (r ApiDcimCablesListRequest) TenantGroupId(tenantGroupId []int32) ApiDcimCablesListRequest { +func (r ApiDcimCablesListRequest) TenantGroupId(tenantGroupId []string) ApiDcimCablesListRequest { r.tenantGroupId = &tenantGroupId return r } -// Tenant Group (ID) -func (r ApiDcimCablesListRequest) TenantGroupIdN(tenantGroupIdN []int32) ApiDcimCablesListRequest { +func (r ApiDcimCablesListRequest) TenantGroupIdN(tenantGroupIdN []string) ApiDcimCablesListRequest { r.tenantGroupIdN = &tenantGroupIdN return r } @@ -2867,11 +2972,65 @@ func (r ApiDcimCablesListRequest) Type_(type_ []string) ApiDcimCablesListRequest return r } -func (r ApiDcimCablesListRequest) TypeN(typeN []string) ApiDcimCablesListRequest { +func (r ApiDcimCablesListRequest) TypeEmpty(typeEmpty bool) ApiDcimCablesListRequest { + r.typeEmpty = &typeEmpty + return r +} + +// * `cat3` - CAT3 * `cat5` - CAT5 * `cat5e` - CAT5e * `cat6` - CAT6 * `cat6a` - CAT6a * `cat7` - CAT7 * `cat7a` - CAT7a * `cat8` - CAT8 * `dac-active` - Direct Attach Copper (Active) * `dac-passive` - Direct Attach Copper (Passive) * `mrj21-trunk` - MRJ21 Trunk * `coaxial` - Coaxial * `mmf` - Multimode Fiber * `mmf-om1` - Multimode Fiber (OM1) * `mmf-om2` - Multimode Fiber (OM2) * `mmf-om3` - Multimode Fiber (OM3) * `mmf-om4` - Multimode Fiber (OM4) * `mmf-om5` - Multimode Fiber (OM5) * `smf` - Singlemode Fiber * `smf-os1` - Singlemode Fiber (OS1) * `smf-os2` - Singlemode Fiber (OS2) * `aoc` - Active Optical Cabling (AOC) * `usb` - USB * `power` - Power +func (r ApiDcimCablesListRequest) TypeIc(typeIc []DcimCablesListTypeIcParameterInner) ApiDcimCablesListRequest { + r.typeIc = &typeIc + return r +} + +// * `cat3` - CAT3 * `cat5` - CAT5 * `cat5e` - CAT5e * `cat6` - CAT6 * `cat6a` - CAT6a * `cat7` - CAT7 * `cat7a` - CAT7a * `cat8` - CAT8 * `dac-active` - Direct Attach Copper (Active) * `dac-passive` - Direct Attach Copper (Passive) * `mrj21-trunk` - MRJ21 Trunk * `coaxial` - Coaxial * `mmf` - Multimode Fiber * `mmf-om1` - Multimode Fiber (OM1) * `mmf-om2` - Multimode Fiber (OM2) * `mmf-om3` - Multimode Fiber (OM3) * `mmf-om4` - Multimode Fiber (OM4) * `mmf-om5` - Multimode Fiber (OM5) * `smf` - Singlemode Fiber * `smf-os1` - Singlemode Fiber (OS1) * `smf-os2` - Singlemode Fiber (OS2) * `aoc` - Active Optical Cabling (AOC) * `usb` - USB * `power` - Power +func (r ApiDcimCablesListRequest) TypeIe(typeIe []DcimCablesListTypeIcParameterInner) ApiDcimCablesListRequest { + r.typeIe = &typeIe + return r +} + +// * `cat3` - CAT3 * `cat5` - CAT5 * `cat5e` - CAT5e * `cat6` - CAT6 * `cat6a` - CAT6a * `cat7` - CAT7 * `cat7a` - CAT7a * `cat8` - CAT8 * `dac-active` - Direct Attach Copper (Active) * `dac-passive` - Direct Attach Copper (Passive) * `mrj21-trunk` - MRJ21 Trunk * `coaxial` - Coaxial * `mmf` - Multimode Fiber * `mmf-om1` - Multimode Fiber (OM1) * `mmf-om2` - Multimode Fiber (OM2) * `mmf-om3` - Multimode Fiber (OM3) * `mmf-om4` - Multimode Fiber (OM4) * `mmf-om5` - Multimode Fiber (OM5) * `smf` - Singlemode Fiber * `smf-os1` - Singlemode Fiber (OS1) * `smf-os2` - Singlemode Fiber (OS2) * `aoc` - Active Optical Cabling (AOC) * `usb` - USB * `power` - Power +func (r ApiDcimCablesListRequest) TypeIew(typeIew []DcimCablesListTypeIcParameterInner) ApiDcimCablesListRequest { + r.typeIew = &typeIew + return r +} + +// * `cat3` - CAT3 * `cat5` - CAT5 * `cat5e` - CAT5e * `cat6` - CAT6 * `cat6a` - CAT6a * `cat7` - CAT7 * `cat7a` - CAT7a * `cat8` - CAT8 * `dac-active` - Direct Attach Copper (Active) * `dac-passive` - Direct Attach Copper (Passive) * `mrj21-trunk` - MRJ21 Trunk * `coaxial` - Coaxial * `mmf` - Multimode Fiber * `mmf-om1` - Multimode Fiber (OM1) * `mmf-om2` - Multimode Fiber (OM2) * `mmf-om3` - Multimode Fiber (OM3) * `mmf-om4` - Multimode Fiber (OM4) * `mmf-om5` - Multimode Fiber (OM5) * `smf` - Singlemode Fiber * `smf-os1` - Singlemode Fiber (OS1) * `smf-os2` - Singlemode Fiber (OS2) * `aoc` - Active Optical Cabling (AOC) * `usb` - USB * `power` - Power +func (r ApiDcimCablesListRequest) TypeIsw(typeIsw []DcimCablesListTypeIcParameterInner) ApiDcimCablesListRequest { + r.typeIsw = &typeIsw + return r +} + +// * `cat3` - CAT3 * `cat5` - CAT5 * `cat5e` - CAT5e * `cat6` - CAT6 * `cat6a` - CAT6a * `cat7` - CAT7 * `cat7a` - CAT7a * `cat8` - CAT8 * `dac-active` - Direct Attach Copper (Active) * `dac-passive` - Direct Attach Copper (Passive) * `mrj21-trunk` - MRJ21 Trunk * `coaxial` - Coaxial * `mmf` - Multimode Fiber * `mmf-om1` - Multimode Fiber (OM1) * `mmf-om2` - Multimode Fiber (OM2) * `mmf-om3` - Multimode Fiber (OM3) * `mmf-om4` - Multimode Fiber (OM4) * `mmf-om5` - Multimode Fiber (OM5) * `smf` - Singlemode Fiber * `smf-os1` - Singlemode Fiber (OS1) * `smf-os2` - Singlemode Fiber (OS2) * `aoc` - Active Optical Cabling (AOC) * `usb` - USB * `power` - Power +func (r ApiDcimCablesListRequest) TypeN(typeN []DcimCablesListTypeIcParameterInner) ApiDcimCablesListRequest { r.typeN = &typeN return r } +// * `cat3` - CAT3 * `cat5` - CAT5 * `cat5e` - CAT5e * `cat6` - CAT6 * `cat6a` - CAT6a * `cat7` - CAT7 * `cat7a` - CAT7a * `cat8` - CAT8 * `dac-active` - Direct Attach Copper (Active) * `dac-passive` - Direct Attach Copper (Passive) * `mrj21-trunk` - MRJ21 Trunk * `coaxial` - Coaxial * `mmf` - Multimode Fiber * `mmf-om1` - Multimode Fiber (OM1) * `mmf-om2` - Multimode Fiber (OM2) * `mmf-om3` - Multimode Fiber (OM3) * `mmf-om4` - Multimode Fiber (OM4) * `mmf-om5` - Multimode Fiber (OM5) * `smf` - Singlemode Fiber * `smf-os1` - Singlemode Fiber (OS1) * `smf-os2` - Singlemode Fiber (OS2) * `aoc` - Active Optical Cabling (AOC) * `usb` - USB * `power` - Power +func (r ApiDcimCablesListRequest) TypeNic(typeNic []DcimCablesListTypeIcParameterInner) ApiDcimCablesListRequest { + r.typeNic = &typeNic + return r +} + +// * `cat3` - CAT3 * `cat5` - CAT5 * `cat5e` - CAT5e * `cat6` - CAT6 * `cat6a` - CAT6a * `cat7` - CAT7 * `cat7a` - CAT7a * `cat8` - CAT8 * `dac-active` - Direct Attach Copper (Active) * `dac-passive` - Direct Attach Copper (Passive) * `mrj21-trunk` - MRJ21 Trunk * `coaxial` - Coaxial * `mmf` - Multimode Fiber * `mmf-om1` - Multimode Fiber (OM1) * `mmf-om2` - Multimode Fiber (OM2) * `mmf-om3` - Multimode Fiber (OM3) * `mmf-om4` - Multimode Fiber (OM4) * `mmf-om5` - Multimode Fiber (OM5) * `smf` - Singlemode Fiber * `smf-os1` - Singlemode Fiber (OS1) * `smf-os2` - Singlemode Fiber (OS2) * `aoc` - Active Optical Cabling (AOC) * `usb` - USB * `power` - Power +func (r ApiDcimCablesListRequest) TypeNie(typeNie []DcimCablesListTypeIcParameterInner) ApiDcimCablesListRequest { + r.typeNie = &typeNie + return r +} + +// * `cat3` - CAT3 * `cat5` - CAT5 * `cat5e` - CAT5e * `cat6` - CAT6 * `cat6a` - CAT6a * `cat7` - CAT7 * `cat7a` - CAT7a * `cat8` - CAT8 * `dac-active` - Direct Attach Copper (Active) * `dac-passive` - Direct Attach Copper (Passive) * `mrj21-trunk` - MRJ21 Trunk * `coaxial` - Coaxial * `mmf` - Multimode Fiber * `mmf-om1` - Multimode Fiber (OM1) * `mmf-om2` - Multimode Fiber (OM2) * `mmf-om3` - Multimode Fiber (OM3) * `mmf-om4` - Multimode Fiber (OM4) * `mmf-om5` - Multimode Fiber (OM5) * `smf` - Singlemode Fiber * `smf-os1` - Singlemode Fiber (OS1) * `smf-os2` - Singlemode Fiber (OS2) * `aoc` - Active Optical Cabling (AOC) * `usb` - USB * `power` - Power +func (r ApiDcimCablesListRequest) TypeNiew(typeNiew []DcimCablesListTypeIcParameterInner) ApiDcimCablesListRequest { + r.typeNiew = &typeNiew + return r +} + +// * `cat3` - CAT3 * `cat5` - CAT5 * `cat5e` - CAT5e * `cat6` - CAT6 * `cat6a` - CAT6a * `cat7` - CAT7 * `cat7a` - CAT7a * `cat8` - CAT8 * `dac-active` - Direct Attach Copper (Active) * `dac-passive` - Direct Attach Copper (Passive) * `mrj21-trunk` - MRJ21 Trunk * `coaxial` - Coaxial * `mmf` - Multimode Fiber * `mmf-om1` - Multimode Fiber (OM1) * `mmf-om2` - Multimode Fiber (OM2) * `mmf-om3` - Multimode Fiber (OM3) * `mmf-om4` - Multimode Fiber (OM4) * `mmf-om5` - Multimode Fiber (OM5) * `smf` - Singlemode Fiber * `smf-os1` - Singlemode Fiber (OS1) * `smf-os2` - Singlemode Fiber (OS2) * `aoc` - Active Optical Cabling (AOC) * `usb` - USB * `power` - Power +func (r ApiDcimCablesListRequest) TypeNisw(typeNisw []DcimCablesListTypeIcParameterInner) ApiDcimCablesListRequest { + r.typeNisw = &typeNisw + return r +} + // Unterminated func (r ApiDcimCablesListRequest) Unterminated(unterminated bool) ApiDcimCablesListRequest { r.unterminated = &unterminated @@ -2946,6 +3105,53 @@ func (a *DcimAPIService) DcimCablesListExecute(r ApiDcimCablesListRequest) (*Pag parameterAddToHeaderOrQuery(localVarQueryParams, "color", t, "multi") } } + if r.colorEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "color__empty", r.colorEmpty, "") + } + if r.colorIc != nil { + t := *r.colorIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "color__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "color__ic", t, "multi") + } + } + if r.colorIe != nil { + t := *r.colorIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "color__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "color__ie", t, "multi") + } + } + if r.colorIew != nil { + t := *r.colorIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "color__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "color__iew", t, "multi") + } + } + if r.colorIsw != nil { + t := *r.colorIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "color__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "color__isw", t, "multi") + } + } if r.colorN != nil { t := *r.colorN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -2957,6 +3163,50 @@ func (a *DcimAPIService) DcimCablesListExecute(r ApiDcimCablesListRequest) (*Pag parameterAddToHeaderOrQuery(localVarQueryParams, "color__n", t, "multi") } } + if r.colorNic != nil { + t := *r.colorNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "color__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "color__nic", t, "multi") + } + } + if r.colorNie != nil { + t := *r.colorNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "color__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "color__nie", t, "multi") + } + } + if r.colorNiew != nil { + t := *r.colorNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "color__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "color__niew", t, "multi") + } + } + if r.colorNisw != nil { + t := *r.colorNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "color__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "color__nisw", t, "multi") + } + } if r.consoleportId != nil { t := *r.consoleportId if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -3547,9 +3797,6 @@ func (a *DcimAPIService) DcimCablesListExecute(r ApiDcimCablesListRequest) (*Pag if r.lengthUnit != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "length_unit", r.lengthUnit, "") } - if r.lengthUnitN != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "length_unit__n", r.lengthUnitN, "") - } if r.limit != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "") } @@ -3686,6 +3933,53 @@ func (a *DcimAPIService) DcimCablesListExecute(r ApiDcimCablesListRequest) (*Pag parameterAddToHeaderOrQuery(localVarQueryParams, "status", t, "multi") } } + if r.statusEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__empty", r.statusEmpty, "") + } + if r.statusIc != nil { + t := *r.statusIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ic", t, "multi") + } + } + if r.statusIe != nil { + t := *r.statusIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ie", t, "multi") + } + } + if r.statusIew != nil { + t := *r.statusIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__iew", t, "multi") + } + } + if r.statusIsw != nil { + t := *r.statusIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__isw", t, "multi") + } + } if r.statusN != nil { t := *r.statusN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -3697,6 +3991,50 @@ func (a *DcimAPIService) DcimCablesListExecute(r ApiDcimCablesListRequest) (*Pag parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", t, "multi") } } + if r.statusNic != nil { + t := *r.statusNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nic", t, "multi") + } + } + if r.statusNie != nil { + t := *r.statusNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nie", t, "multi") + } + } + if r.statusNiew != nil { + t := *r.statusNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__niew", t, "multi") + } + } + if r.statusNisw != nil { + t := *r.statusNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nisw", t, "multi") + } + } if r.tag != nil { t := *r.tag if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -3852,6 +4190,53 @@ func (a *DcimAPIService) DcimCablesListExecute(r ApiDcimCablesListRequest) (*Pag parameterAddToHeaderOrQuery(localVarQueryParams, "type", t, "multi") } } + if r.typeEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__empty", r.typeEmpty, "") + } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__ic", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__ie", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__iew", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__isw", t, "multi") + } + } if r.typeN != nil { t := *r.typeN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -3863,6 +4248,50 @@ func (a *DcimAPIService) DcimCablesListExecute(r ApiDcimCablesListRequest) (*Pag parameterAddToHeaderOrQuery(localVarQueryParams, "type__n", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__nic", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__nie", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__niew", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__nisw", t, "multi") + } + } if r.unterminated != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "unterminated", r.unterminated, "") } @@ -5066,8 +5495,6 @@ type ApiDcimConsolePortTemplatesListRequest struct { descriptionNisw *[]string deviceTypeId *[]*int32 deviceTypeIdN *[]*int32 - devicetypeId *[]*int32 - devicetypeIdN *[]*int32 id *[]int32 idEmpty *bool idGt *[]int32 @@ -5097,8 +5524,6 @@ type ApiDcimConsolePortTemplatesListRequest struct { modifiedByRequest *string moduleTypeId *[]*int32 moduleTypeIdN *[]*int32 - moduletypeId *[]*int32 - moduletypeIdN *[]*int32 name *[]string nameEmpty *bool nameIc *[]string @@ -5114,7 +5539,6 @@ type ApiDcimConsolePortTemplatesListRequest struct { ordering *string q *string type_ *DcimConsolePortTemplatesListTypeParameter - typeN *DcimConsolePortTemplatesListTypeParameter updatedByRequest *string } @@ -5225,18 +5649,6 @@ func (r ApiDcimConsolePortTemplatesListRequest) DeviceTypeIdN(deviceTypeIdN []*i return r } -// Device type (ID) -func (r ApiDcimConsolePortTemplatesListRequest) DevicetypeId(devicetypeId []*int32) ApiDcimConsolePortTemplatesListRequest { - r.devicetypeId = &devicetypeId - return r -} - -// Device type (ID) -func (r ApiDcimConsolePortTemplatesListRequest) DevicetypeIdN(devicetypeIdN []*int32) ApiDcimConsolePortTemplatesListRequest { - r.devicetypeIdN = &devicetypeIdN - return r -} - func (r ApiDcimConsolePortTemplatesListRequest) Id(id []int32) ApiDcimConsolePortTemplatesListRequest { r.id = &id return r @@ -5385,18 +5797,6 @@ func (r ApiDcimConsolePortTemplatesListRequest) ModuleTypeIdN(moduleTypeIdN []*i return r } -// Module type (ID) -func (r ApiDcimConsolePortTemplatesListRequest) ModuletypeId(moduletypeId []*int32) ApiDcimConsolePortTemplatesListRequest { - r.moduletypeId = &moduletypeId - return r -} - -// Module type (ID) -func (r ApiDcimConsolePortTemplatesListRequest) ModuletypeIdN(moduletypeIdN []*int32) ApiDcimConsolePortTemplatesListRequest { - r.moduletypeIdN = &moduletypeIdN - return r -} - func (r ApiDcimConsolePortTemplatesListRequest) Name(name []string) ApiDcimConsolePortTemplatesListRequest { r.name = &name return r @@ -5476,12 +5876,6 @@ func (r ApiDcimConsolePortTemplatesListRequest) Type_(type_ DcimConsolePortTempl return r } -// * `Serial` - [('de-9', 'DE-9'), ('db-25', 'DB-25'), ('rj-11', 'RJ-11'), ('rj-12', 'RJ-12'), ('rj-45', 'RJ-45'), ('mini-din-8', 'Mini-DIN 8')] * `USB` - [('usb-a', 'USB Type A'), ('usb-b', 'USB Type B'), ('usb-c', 'USB Type C'), ('usb-mini-a', 'USB Mini A'), ('usb-mini-b', 'USB Mini B'), ('usb-micro-a', 'USB Micro A'), ('usb-micro-b', 'USB Micro B'), ('usb-micro-ab', 'USB Micro AB')] * `Other` - [('other', 'Other')] -func (r ApiDcimConsolePortTemplatesListRequest) TypeN(typeN DcimConsolePortTemplatesListTypeParameter) ApiDcimConsolePortTemplatesListRequest { - r.typeN = &typeN - return r -} - func (r ApiDcimConsolePortTemplatesListRequest) UpdatedByRequest(updatedByRequest string) ApiDcimConsolePortTemplatesListRequest { r.updatedByRequest = &updatedByRequest return r @@ -5743,28 +6137,6 @@ func (a *DcimAPIService) DcimConsolePortTemplatesListExecute(r ApiDcimConsolePor parameterAddToHeaderOrQuery(localVarQueryParams, "device_type_id__n", t, "multi") } } - if r.devicetypeId != nil { - t := *r.devicetypeId - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "devicetype_id", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "devicetype_id", t, "multi") - } - } - if r.devicetypeIdN != nil { - t := *r.devicetypeIdN - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "devicetype_id__n", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "devicetype_id__n", t, "multi") - } - } if r.id != nil { t := *r.id if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -6052,28 +6424,6 @@ func (a *DcimAPIService) DcimConsolePortTemplatesListExecute(r ApiDcimConsolePor parameterAddToHeaderOrQuery(localVarQueryParams, "module_type_id__n", t, "multi") } } - if r.moduletypeId != nil { - t := *r.moduletypeId - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "moduletype_id", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "moduletype_id", t, "multi") - } - } - if r.moduletypeIdN != nil { - t := *r.moduletypeIdN - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "moduletype_id__n", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "moduletype_id__n", t, "multi") - } - } if r.name != nil { t := *r.name if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -6199,9 +6549,6 @@ func (a *DcimAPIService) DcimConsolePortTemplatesListExecute(r ApiDcimConsolePor if r.type_ != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "type", r.type_, "") } - if r.typeN != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "type__n", r.typeN, "") - } if r.updatedByRequest != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "updated_by_request", r.updatedByRequest, "") } @@ -7244,7 +7591,6 @@ type ApiDcimConsolePortsListRequest struct { ctx context.Context ApiService *DcimAPIService cableEnd *CircuitsCircuitTerminationsListCableEndParameter - cableEndN *CircuitsCircuitTerminationsListCableEndParameter cableId *[]*int32 cableIdN *[]*int32 cabled *bool @@ -7272,6 +7618,21 @@ type ApiDcimConsolePortsListRequest struct { deviceN *[]*string deviceId *[]int32 deviceIdN *[]int32 + deviceRole *[]string + deviceRoleN *[]string + deviceRoleId *[]int32 + deviceRoleIdN *[]int32 + deviceStatus *[]string + deviceStatusEmpty *bool + deviceStatusIc *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusIe *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusIew *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusIsw *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusN *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusNic *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusNie *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusNiew *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusNisw *[]DcimConsolePortsListDeviceStatusIcParameterInner deviceType *[]string deviceTypeN *[]string deviceTypeId *[]int32 @@ -7329,28 +7690,32 @@ type ApiDcimConsolePortsListRequest struct { rackN *[]string rackId *[]int32 rackIdN *[]int32 - region *[]int32 - regionN *[]int32 - regionId *[]int32 - regionIdN *[]int32 - role *[]string - roleN *[]string - roleId *[]int32 - roleIdN *[]int32 + region *[]string + regionN *[]string + regionId *[]string + regionIdN *[]string site *[]string siteN *[]string - siteGroup *[]int32 - siteGroupN *[]int32 - siteGroupId *[]int32 - siteGroupIdN *[]int32 + siteGroup *[]string + siteGroupN *[]string + siteGroupId *[]string + siteGroupIdN *[]string siteId *[]int32 siteIdN *[]int32 speed *DcimConsolePortsListSpeedParameter - speedN *DcimConsolePortsListSpeedParameter tag *[]string tagN *[]string type_ *[]string - typeN *[]string + typeEmpty *bool + typeIc *[]DcimConsolePortsListTypeIcParameterInner + typeIe *[]DcimConsolePortsListTypeIcParameterInner + typeIew *[]DcimConsolePortsListTypeIcParameterInner + typeIsw *[]DcimConsolePortsListTypeIcParameterInner + typeN *[]DcimConsolePortsListTypeIcParameterInner + typeNic *[]DcimConsolePortsListTypeIcParameterInner + typeNie *[]DcimConsolePortsListTypeIcParameterInner + typeNiew *[]DcimConsolePortsListTypeIcParameterInner + typeNisw *[]DcimConsolePortsListTypeIcParameterInner updatedByRequest *string virtualChassis *[]string virtualChassisN *[]string @@ -7364,12 +7729,6 @@ func (r ApiDcimConsolePortsListRequest) CableEnd(cableEnd CircuitsCircuitTermina return r } -// * `A` - A * `B` - B -func (r ApiDcimConsolePortsListRequest) CableEndN(cableEndN CircuitsCircuitTerminationsListCableEndParameter) ApiDcimConsolePortsListRequest { - r.cableEndN = &cableEndN - return r -} - // Cable (ID) func (r ApiDcimConsolePortsListRequest) CableId(cableId []*int32) ApiDcimConsolePortsListRequest { r.cableId = &cableId @@ -7511,6 +7870,94 @@ func (r ApiDcimConsolePortsListRequest) DeviceIdN(deviceIdN []int32) ApiDcimCons return r } +// Device role (slug) +func (r ApiDcimConsolePortsListRequest) DeviceRole(deviceRole []string) ApiDcimConsolePortsListRequest { + r.deviceRole = &deviceRole + return r +} + +// Device role (slug) +func (r ApiDcimConsolePortsListRequest) DeviceRoleN(deviceRoleN []string) ApiDcimConsolePortsListRequest { + r.deviceRoleN = &deviceRoleN + return r +} + +// Device role (ID) +func (r ApiDcimConsolePortsListRequest) DeviceRoleId(deviceRoleId []int32) ApiDcimConsolePortsListRequest { + r.deviceRoleId = &deviceRoleId + return r +} + +// Device role (ID) +func (r ApiDcimConsolePortsListRequest) DeviceRoleIdN(deviceRoleIdN []int32) ApiDcimConsolePortsListRequest { + r.deviceRoleIdN = &deviceRoleIdN + return r +} + +func (r ApiDcimConsolePortsListRequest) DeviceStatus(deviceStatus []string) ApiDcimConsolePortsListRequest { + r.deviceStatus = &deviceStatus + return r +} + +func (r ApiDcimConsolePortsListRequest) DeviceStatusEmpty(deviceStatusEmpty bool) ApiDcimConsolePortsListRequest { + r.deviceStatusEmpty = &deviceStatusEmpty + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimConsolePortsListRequest) DeviceStatusIc(deviceStatusIc []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimConsolePortsListRequest { + r.deviceStatusIc = &deviceStatusIc + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimConsolePortsListRequest) DeviceStatusIe(deviceStatusIe []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimConsolePortsListRequest { + r.deviceStatusIe = &deviceStatusIe + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimConsolePortsListRequest) DeviceStatusIew(deviceStatusIew []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimConsolePortsListRequest { + r.deviceStatusIew = &deviceStatusIew + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimConsolePortsListRequest) DeviceStatusIsw(deviceStatusIsw []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimConsolePortsListRequest { + r.deviceStatusIsw = &deviceStatusIsw + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimConsolePortsListRequest) DeviceStatusN(deviceStatusN []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimConsolePortsListRequest { + r.deviceStatusN = &deviceStatusN + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimConsolePortsListRequest) DeviceStatusNic(deviceStatusNic []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimConsolePortsListRequest { + r.deviceStatusNic = &deviceStatusNic + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimConsolePortsListRequest) DeviceStatusNie(deviceStatusNie []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimConsolePortsListRequest { + r.deviceStatusNie = &deviceStatusNie + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimConsolePortsListRequest) DeviceStatusNiew(deviceStatusNiew []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimConsolePortsListRequest { + r.deviceStatusNiew = &deviceStatusNiew + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimConsolePortsListRequest) DeviceStatusNisw(deviceStatusNisw []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimConsolePortsListRequest { + r.deviceStatusNisw = &deviceStatusNisw + return r +} + // Device type (model) func (r ApiDcimConsolePortsListRequest) DeviceType(deviceType []string) ApiDcimConsolePortsListRequest { r.deviceType = &deviceType @@ -7814,54 +8261,26 @@ func (r ApiDcimConsolePortsListRequest) RackIdN(rackIdN []int32) ApiDcimConsoleP return r } -// Region (slug) -func (r ApiDcimConsolePortsListRequest) Region(region []int32) ApiDcimConsolePortsListRequest { +func (r ApiDcimConsolePortsListRequest) Region(region []string) ApiDcimConsolePortsListRequest { r.region = ®ion return r } -// Region (slug) -func (r ApiDcimConsolePortsListRequest) RegionN(regionN []int32) ApiDcimConsolePortsListRequest { +func (r ApiDcimConsolePortsListRequest) RegionN(regionN []string) ApiDcimConsolePortsListRequest { r.regionN = ®ionN return r } -// Region (ID) -func (r ApiDcimConsolePortsListRequest) RegionId(regionId []int32) ApiDcimConsolePortsListRequest { +func (r ApiDcimConsolePortsListRequest) RegionId(regionId []string) ApiDcimConsolePortsListRequest { r.regionId = ®ionId return r } -// Region (ID) -func (r ApiDcimConsolePortsListRequest) RegionIdN(regionIdN []int32) ApiDcimConsolePortsListRequest { +func (r ApiDcimConsolePortsListRequest) RegionIdN(regionIdN []string) ApiDcimConsolePortsListRequest { r.regionIdN = ®ionIdN return r } -// Device role (slug) -func (r ApiDcimConsolePortsListRequest) Role(role []string) ApiDcimConsolePortsListRequest { - r.role = &role - return r -} - -// Device role (slug) -func (r ApiDcimConsolePortsListRequest) RoleN(roleN []string) ApiDcimConsolePortsListRequest { - r.roleN = &roleN - return r -} - -// Device role (ID) -func (r ApiDcimConsolePortsListRequest) RoleId(roleId []int32) ApiDcimConsolePortsListRequest { - r.roleId = &roleId - return r -} - -// Device role (ID) -func (r ApiDcimConsolePortsListRequest) RoleIdN(roleIdN []int32) ApiDcimConsolePortsListRequest { - r.roleIdN = &roleIdN - return r -} - // Site name (slug) func (r ApiDcimConsolePortsListRequest) Site(site []string) ApiDcimConsolePortsListRequest { r.site = &site @@ -7874,26 +8293,22 @@ func (r ApiDcimConsolePortsListRequest) SiteN(siteN []string) ApiDcimConsolePort return r } -// Site group (slug) -func (r ApiDcimConsolePortsListRequest) SiteGroup(siteGroup []int32) ApiDcimConsolePortsListRequest { +func (r ApiDcimConsolePortsListRequest) SiteGroup(siteGroup []string) ApiDcimConsolePortsListRequest { r.siteGroup = &siteGroup return r } -// Site group (slug) -func (r ApiDcimConsolePortsListRequest) SiteGroupN(siteGroupN []int32) ApiDcimConsolePortsListRequest { +func (r ApiDcimConsolePortsListRequest) SiteGroupN(siteGroupN []string) ApiDcimConsolePortsListRequest { r.siteGroupN = &siteGroupN return r } -// Site group (ID) -func (r ApiDcimConsolePortsListRequest) SiteGroupId(siteGroupId []int32) ApiDcimConsolePortsListRequest { +func (r ApiDcimConsolePortsListRequest) SiteGroupId(siteGroupId []string) ApiDcimConsolePortsListRequest { r.siteGroupId = &siteGroupId return r } -// Site group (ID) -func (r ApiDcimConsolePortsListRequest) SiteGroupIdN(siteGroupIdN []int32) ApiDcimConsolePortsListRequest { +func (r ApiDcimConsolePortsListRequest) SiteGroupIdN(siteGroupIdN []string) ApiDcimConsolePortsListRequest { r.siteGroupIdN = &siteGroupIdN return r } @@ -7916,12 +8331,6 @@ func (r ApiDcimConsolePortsListRequest) Speed(speed DcimConsolePortsListSpeedPar return r } -// Port speed in bits per second * `1200` - 1200 bps * `2400` - 2400 bps * `4800` - 4800 bps * `9600` - 9600 bps * `19200` - 19.2 kbps * `38400` - 38.4 kbps * `57600` - 57.6 kbps * `115200` - 115.2 kbps -func (r ApiDcimConsolePortsListRequest) SpeedN(speedN DcimConsolePortsListSpeedParameter) ApiDcimConsolePortsListRequest { - r.speedN = &speedN - return r -} - func (r ApiDcimConsolePortsListRequest) Tag(tag []string) ApiDcimConsolePortsListRequest { r.tag = &tag return r @@ -7938,12 +8347,65 @@ func (r ApiDcimConsolePortsListRequest) Type_(type_ []string) ApiDcimConsolePort return r } -// Physical port type -func (r ApiDcimConsolePortsListRequest) TypeN(typeN []string) ApiDcimConsolePortsListRequest { +func (r ApiDcimConsolePortsListRequest) TypeEmpty(typeEmpty bool) ApiDcimConsolePortsListRequest { + r.typeEmpty = &typeEmpty + return r +} + +// Physical port type * `de-9` - DE-9 * `db-25` - DB-25 * `rj-11` - RJ-11 * `rj-12` - RJ-12 * `rj-45` - RJ-45 * `mini-din-8` - Mini-DIN 8 * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other +func (r ApiDcimConsolePortsListRequest) TypeIc(typeIc []DcimConsolePortsListTypeIcParameterInner) ApiDcimConsolePortsListRequest { + r.typeIc = &typeIc + return r +} + +// Physical port type * `de-9` - DE-9 * `db-25` - DB-25 * `rj-11` - RJ-11 * `rj-12` - RJ-12 * `rj-45` - RJ-45 * `mini-din-8` - Mini-DIN 8 * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other +func (r ApiDcimConsolePortsListRequest) TypeIe(typeIe []DcimConsolePortsListTypeIcParameterInner) ApiDcimConsolePortsListRequest { + r.typeIe = &typeIe + return r +} + +// Physical port type * `de-9` - DE-9 * `db-25` - DB-25 * `rj-11` - RJ-11 * `rj-12` - RJ-12 * `rj-45` - RJ-45 * `mini-din-8` - Mini-DIN 8 * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other +func (r ApiDcimConsolePortsListRequest) TypeIew(typeIew []DcimConsolePortsListTypeIcParameterInner) ApiDcimConsolePortsListRequest { + r.typeIew = &typeIew + return r +} + +// Physical port type * `de-9` - DE-9 * `db-25` - DB-25 * `rj-11` - RJ-11 * `rj-12` - RJ-12 * `rj-45` - RJ-45 * `mini-din-8` - Mini-DIN 8 * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other +func (r ApiDcimConsolePortsListRequest) TypeIsw(typeIsw []DcimConsolePortsListTypeIcParameterInner) ApiDcimConsolePortsListRequest { + r.typeIsw = &typeIsw + return r +} + +// Physical port type * `de-9` - DE-9 * `db-25` - DB-25 * `rj-11` - RJ-11 * `rj-12` - RJ-12 * `rj-45` - RJ-45 * `mini-din-8` - Mini-DIN 8 * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other +func (r ApiDcimConsolePortsListRequest) TypeN(typeN []DcimConsolePortsListTypeIcParameterInner) ApiDcimConsolePortsListRequest { r.typeN = &typeN return r } +// Physical port type * `de-9` - DE-9 * `db-25` - DB-25 * `rj-11` - RJ-11 * `rj-12` - RJ-12 * `rj-45` - RJ-45 * `mini-din-8` - Mini-DIN 8 * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other +func (r ApiDcimConsolePortsListRequest) TypeNic(typeNic []DcimConsolePortsListTypeIcParameterInner) ApiDcimConsolePortsListRequest { + r.typeNic = &typeNic + return r +} + +// Physical port type * `de-9` - DE-9 * `db-25` - DB-25 * `rj-11` - RJ-11 * `rj-12` - RJ-12 * `rj-45` - RJ-45 * `mini-din-8` - Mini-DIN 8 * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other +func (r ApiDcimConsolePortsListRequest) TypeNie(typeNie []DcimConsolePortsListTypeIcParameterInner) ApiDcimConsolePortsListRequest { + r.typeNie = &typeNie + return r +} + +// Physical port type * `de-9` - DE-9 * `db-25` - DB-25 * `rj-11` - RJ-11 * `rj-12` - RJ-12 * `rj-45` - RJ-45 * `mini-din-8` - Mini-DIN 8 * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other +func (r ApiDcimConsolePortsListRequest) TypeNiew(typeNiew []DcimConsolePortsListTypeIcParameterInner) ApiDcimConsolePortsListRequest { + r.typeNiew = &typeNiew + return r +} + +// Physical port type * `de-9` - DE-9 * `db-25` - DB-25 * `rj-11` - RJ-11 * `rj-12` - RJ-12 * `rj-45` - RJ-45 * `mini-din-8` - Mini-DIN 8 * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other +func (r ApiDcimConsolePortsListRequest) TypeNisw(typeNisw []DcimConsolePortsListTypeIcParameterInner) ApiDcimConsolePortsListRequest { + r.typeNisw = &typeNisw + return r +} + func (r ApiDcimConsolePortsListRequest) UpdatedByRequest(updatedByRequest string) ApiDcimConsolePortsListRequest { r.updatedByRequest = &updatedByRequest return r @@ -8017,9 +8479,6 @@ func (a *DcimAPIService) DcimConsolePortsListExecute(r ApiDcimConsolePortsListRe if r.cableEnd != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "cable_end", r.cableEnd, "") } - if r.cableEndN != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "cable_end__n", r.cableEndN, "") - } if r.cableId != nil { t := *r.cableId if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -8285,6 +8744,163 @@ func (a *DcimAPIService) DcimConsolePortsListExecute(r ApiDcimConsolePortsListRe parameterAddToHeaderOrQuery(localVarQueryParams, "device_id__n", t, "multi") } } + if r.deviceRole != nil { + t := *r.deviceRole + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role", t, "multi") + } + } + if r.deviceRoleN != nil { + t := *r.deviceRoleN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role__n", t, "multi") + } + } + if r.deviceRoleId != nil { + t := *r.deviceRoleId + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role_id", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role_id", t, "multi") + } + } + if r.deviceRoleIdN != nil { + t := *r.deviceRoleIdN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role_id__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role_id__n", t, "multi") + } + } + if r.deviceStatus != nil { + t := *r.deviceStatus + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status", t, "multi") + } + } + if r.deviceStatusEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__empty", r.deviceStatusEmpty, "") + } + if r.deviceStatusIc != nil { + t := *r.deviceStatusIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__ic", t, "multi") + } + } + if r.deviceStatusIe != nil { + t := *r.deviceStatusIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__ie", t, "multi") + } + } + if r.deviceStatusIew != nil { + t := *r.deviceStatusIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__iew", t, "multi") + } + } + if r.deviceStatusIsw != nil { + t := *r.deviceStatusIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__isw", t, "multi") + } + } + if r.deviceStatusN != nil { + t := *r.deviceStatusN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__n", t, "multi") + } + } + if r.deviceStatusNic != nil { + t := *r.deviceStatusNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nic", t, "multi") + } + } + if r.deviceStatusNie != nil { + t := *r.deviceStatusNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nie", t, "multi") + } + } + if r.deviceStatusNiew != nil { + t := *r.deviceStatusNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__niew", t, "multi") + } + } + if r.deviceStatusNisw != nil { + t := *r.deviceStatusNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nisw", t, "multi") + } + } if r.deviceType != nil { t := *r.deviceType if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -8876,50 +9492,6 @@ func (a *DcimAPIService) DcimConsolePortsListExecute(r ApiDcimConsolePortsListRe parameterAddToHeaderOrQuery(localVarQueryParams, "region_id__n", t, "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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "role", t, "multi") - } - } - 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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "role__n", t, "multi") - } - } - if r.roleId != nil { - t := *r.roleId - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "role_id", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "role_id", t, "multi") - } - } - if r.roleIdN != nil { - t := *r.roleIdN - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "role_id__n", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "role_id__n", t, "multi") - } - } if r.site != nil { t := *r.site if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -9011,9 +9583,6 @@ func (a *DcimAPIService) DcimConsolePortsListExecute(r ApiDcimConsolePortsListRe if r.speed != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "speed", r.speed, "") } - if r.speedN != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "speed__n", r.speedN, "") - } if r.tag != nil { t := *r.tag if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -9047,6 +9616,53 @@ func (a *DcimAPIService) DcimConsolePortsListExecute(r ApiDcimConsolePortsListRe parameterAddToHeaderOrQuery(localVarQueryParams, "type", t, "multi") } } + if r.typeEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__empty", r.typeEmpty, "") + } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__ic", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__ie", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__iew", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__isw", t, "multi") + } + } if r.typeN != nil { t := *r.typeN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -9058,6 +9674,50 @@ func (a *DcimAPIService) DcimConsolePortsListExecute(r ApiDcimConsolePortsListRe parameterAddToHeaderOrQuery(localVarQueryParams, "type__n", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__nic", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__nie", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__niew", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__nisw", t, "multi") + } + } if r.updatedByRequest != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "updated_by_request", r.updatedByRequest, "") } @@ -10282,8 +10942,6 @@ type ApiDcimConsoleServerPortTemplatesListRequest struct { descriptionNisw *[]string deviceTypeId *[]*int32 deviceTypeIdN *[]*int32 - devicetypeId *[]*int32 - devicetypeIdN *[]*int32 id *[]int32 idEmpty *bool idGt *[]int32 @@ -10313,8 +10971,6 @@ type ApiDcimConsoleServerPortTemplatesListRequest struct { modifiedByRequest *string moduleTypeId *[]*int32 moduleTypeIdN *[]*int32 - moduletypeId *[]*int32 - moduletypeIdN *[]*int32 name *[]string nameEmpty *bool nameIc *[]string @@ -10330,7 +10986,6 @@ type ApiDcimConsoleServerPortTemplatesListRequest struct { ordering *string q *string type_ *DcimConsolePortTemplatesListTypeParameter - typeN *DcimConsolePortTemplatesListTypeParameter updatedByRequest *string } @@ -10441,18 +11096,6 @@ func (r ApiDcimConsoleServerPortTemplatesListRequest) DeviceTypeIdN(deviceTypeId return r } -// Device type (ID) -func (r ApiDcimConsoleServerPortTemplatesListRequest) DevicetypeId(devicetypeId []*int32) ApiDcimConsoleServerPortTemplatesListRequest { - r.devicetypeId = &devicetypeId - return r -} - -// Device type (ID) -func (r ApiDcimConsoleServerPortTemplatesListRequest) DevicetypeIdN(devicetypeIdN []*int32) ApiDcimConsoleServerPortTemplatesListRequest { - r.devicetypeIdN = &devicetypeIdN - return r -} - func (r ApiDcimConsoleServerPortTemplatesListRequest) Id(id []int32) ApiDcimConsoleServerPortTemplatesListRequest { r.id = &id return r @@ -10601,18 +11244,6 @@ func (r ApiDcimConsoleServerPortTemplatesListRequest) ModuleTypeIdN(moduleTypeId return r } -// Module type (ID) -func (r ApiDcimConsoleServerPortTemplatesListRequest) ModuletypeId(moduletypeId []*int32) ApiDcimConsoleServerPortTemplatesListRequest { - r.moduletypeId = &moduletypeId - return r -} - -// Module type (ID) -func (r ApiDcimConsoleServerPortTemplatesListRequest) ModuletypeIdN(moduletypeIdN []*int32) ApiDcimConsoleServerPortTemplatesListRequest { - r.moduletypeIdN = &moduletypeIdN - return r -} - func (r ApiDcimConsoleServerPortTemplatesListRequest) Name(name []string) ApiDcimConsoleServerPortTemplatesListRequest { r.name = &name return r @@ -10692,12 +11323,6 @@ func (r ApiDcimConsoleServerPortTemplatesListRequest) Type_(type_ DcimConsolePor return r } -// * `Serial` - [('de-9', 'DE-9'), ('db-25', 'DB-25'), ('rj-11', 'RJ-11'), ('rj-12', 'RJ-12'), ('rj-45', 'RJ-45'), ('mini-din-8', 'Mini-DIN 8')] * `USB` - [('usb-a', 'USB Type A'), ('usb-b', 'USB Type B'), ('usb-c', 'USB Type C'), ('usb-mini-a', 'USB Mini A'), ('usb-mini-b', 'USB Mini B'), ('usb-micro-a', 'USB Micro A'), ('usb-micro-b', 'USB Micro B'), ('usb-micro-ab', 'USB Micro AB')] * `Other` - [('other', 'Other')] -func (r ApiDcimConsoleServerPortTemplatesListRequest) TypeN(typeN DcimConsolePortTemplatesListTypeParameter) ApiDcimConsoleServerPortTemplatesListRequest { - r.typeN = &typeN - return r -} - func (r ApiDcimConsoleServerPortTemplatesListRequest) UpdatedByRequest(updatedByRequest string) ApiDcimConsoleServerPortTemplatesListRequest { r.updatedByRequest = &updatedByRequest return r @@ -10959,28 +11584,6 @@ func (a *DcimAPIService) DcimConsoleServerPortTemplatesListExecute(r ApiDcimCons parameterAddToHeaderOrQuery(localVarQueryParams, "device_type_id__n", t, "multi") } } - if r.devicetypeId != nil { - t := *r.devicetypeId - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "devicetype_id", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "devicetype_id", t, "multi") - } - } - if r.devicetypeIdN != nil { - t := *r.devicetypeIdN - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "devicetype_id__n", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "devicetype_id__n", t, "multi") - } - } if r.id != nil { t := *r.id if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -11268,28 +11871,6 @@ func (a *DcimAPIService) DcimConsoleServerPortTemplatesListExecute(r ApiDcimCons parameterAddToHeaderOrQuery(localVarQueryParams, "module_type_id__n", t, "multi") } } - if r.moduletypeId != nil { - t := *r.moduletypeId - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "moduletype_id", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "moduletype_id", t, "multi") - } - } - if r.moduletypeIdN != nil { - t := *r.moduletypeIdN - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "moduletype_id__n", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "moduletype_id__n", t, "multi") - } - } if r.name != nil { t := *r.name if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -11415,9 +11996,6 @@ func (a *DcimAPIService) DcimConsoleServerPortTemplatesListExecute(r ApiDcimCons if r.type_ != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "type", r.type_, "") } - if r.typeN != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "type__n", r.typeN, "") - } if r.updatedByRequest != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "updated_by_request", r.updatedByRequest, "") } @@ -12460,7 +13038,6 @@ type ApiDcimConsoleServerPortsListRequest struct { ctx context.Context ApiService *DcimAPIService cableEnd *CircuitsCircuitTerminationsListCableEndParameter - cableEndN *CircuitsCircuitTerminationsListCableEndParameter cableId *[]*int32 cableIdN *[]*int32 cabled *bool @@ -12488,6 +13065,21 @@ type ApiDcimConsoleServerPortsListRequest struct { deviceN *[]*string deviceId *[]int32 deviceIdN *[]int32 + deviceRole *[]string + deviceRoleN *[]string + deviceRoleId *[]int32 + deviceRoleIdN *[]int32 + deviceStatus *[]string + deviceStatusEmpty *bool + deviceStatusIc *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusIe *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusIew *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusIsw *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusN *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusNic *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusNie *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusNiew *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusNisw *[]DcimConsolePortsListDeviceStatusIcParameterInner deviceType *[]string deviceTypeN *[]string deviceTypeId *[]int32 @@ -12545,28 +13137,32 @@ type ApiDcimConsoleServerPortsListRequest struct { rackN *[]string rackId *[]int32 rackIdN *[]int32 - region *[]int32 - regionN *[]int32 - regionId *[]int32 - regionIdN *[]int32 - role *[]string - roleN *[]string - roleId *[]int32 - roleIdN *[]int32 + region *[]string + regionN *[]string + regionId *[]string + regionIdN *[]string site *[]string siteN *[]string - siteGroup *[]int32 - siteGroupN *[]int32 - siteGroupId *[]int32 - siteGroupIdN *[]int32 + siteGroup *[]string + siteGroupN *[]string + siteGroupId *[]string + siteGroupIdN *[]string siteId *[]int32 siteIdN *[]int32 speed *DcimConsolePortsListSpeedParameter - speedN *DcimConsolePortsListSpeedParameter tag *[]string tagN *[]string type_ *[]string - typeN *[]string + typeEmpty *bool + typeIc *[]DcimConsolePortsListTypeIcParameterInner + typeIe *[]DcimConsolePortsListTypeIcParameterInner + typeIew *[]DcimConsolePortsListTypeIcParameterInner + typeIsw *[]DcimConsolePortsListTypeIcParameterInner + typeN *[]DcimConsolePortsListTypeIcParameterInner + typeNic *[]DcimConsolePortsListTypeIcParameterInner + typeNie *[]DcimConsolePortsListTypeIcParameterInner + typeNiew *[]DcimConsolePortsListTypeIcParameterInner + typeNisw *[]DcimConsolePortsListTypeIcParameterInner updatedByRequest *string virtualChassis *[]string virtualChassisN *[]string @@ -12580,12 +13176,6 @@ func (r ApiDcimConsoleServerPortsListRequest) CableEnd(cableEnd CircuitsCircuitT return r } -// * `A` - A * `B` - B -func (r ApiDcimConsoleServerPortsListRequest) CableEndN(cableEndN CircuitsCircuitTerminationsListCableEndParameter) ApiDcimConsoleServerPortsListRequest { - r.cableEndN = &cableEndN - return r -} - // Cable (ID) func (r ApiDcimConsoleServerPortsListRequest) CableId(cableId []*int32) ApiDcimConsoleServerPortsListRequest { r.cableId = &cableId @@ -12727,6 +13317,94 @@ func (r ApiDcimConsoleServerPortsListRequest) DeviceIdN(deviceIdN []int32) ApiDc return r } +// Device role (slug) +func (r ApiDcimConsoleServerPortsListRequest) DeviceRole(deviceRole []string) ApiDcimConsoleServerPortsListRequest { + r.deviceRole = &deviceRole + return r +} + +// Device role (slug) +func (r ApiDcimConsoleServerPortsListRequest) DeviceRoleN(deviceRoleN []string) ApiDcimConsoleServerPortsListRequest { + r.deviceRoleN = &deviceRoleN + return r +} + +// Device role (ID) +func (r ApiDcimConsoleServerPortsListRequest) DeviceRoleId(deviceRoleId []int32) ApiDcimConsoleServerPortsListRequest { + r.deviceRoleId = &deviceRoleId + return r +} + +// Device role (ID) +func (r ApiDcimConsoleServerPortsListRequest) DeviceRoleIdN(deviceRoleIdN []int32) ApiDcimConsoleServerPortsListRequest { + r.deviceRoleIdN = &deviceRoleIdN + return r +} + +func (r ApiDcimConsoleServerPortsListRequest) DeviceStatus(deviceStatus []string) ApiDcimConsoleServerPortsListRequest { + r.deviceStatus = &deviceStatus + return r +} + +func (r ApiDcimConsoleServerPortsListRequest) DeviceStatusEmpty(deviceStatusEmpty bool) ApiDcimConsoleServerPortsListRequest { + r.deviceStatusEmpty = &deviceStatusEmpty + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimConsoleServerPortsListRequest) DeviceStatusIc(deviceStatusIc []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimConsoleServerPortsListRequest { + r.deviceStatusIc = &deviceStatusIc + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimConsoleServerPortsListRequest) DeviceStatusIe(deviceStatusIe []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimConsoleServerPortsListRequest { + r.deviceStatusIe = &deviceStatusIe + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimConsoleServerPortsListRequest) DeviceStatusIew(deviceStatusIew []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimConsoleServerPortsListRequest { + r.deviceStatusIew = &deviceStatusIew + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimConsoleServerPortsListRequest) DeviceStatusIsw(deviceStatusIsw []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimConsoleServerPortsListRequest { + r.deviceStatusIsw = &deviceStatusIsw + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimConsoleServerPortsListRequest) DeviceStatusN(deviceStatusN []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimConsoleServerPortsListRequest { + r.deviceStatusN = &deviceStatusN + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimConsoleServerPortsListRequest) DeviceStatusNic(deviceStatusNic []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimConsoleServerPortsListRequest { + r.deviceStatusNic = &deviceStatusNic + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimConsoleServerPortsListRequest) DeviceStatusNie(deviceStatusNie []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimConsoleServerPortsListRequest { + r.deviceStatusNie = &deviceStatusNie + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimConsoleServerPortsListRequest) DeviceStatusNiew(deviceStatusNiew []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimConsoleServerPortsListRequest { + r.deviceStatusNiew = &deviceStatusNiew + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimConsoleServerPortsListRequest) DeviceStatusNisw(deviceStatusNisw []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimConsoleServerPortsListRequest { + r.deviceStatusNisw = &deviceStatusNisw + return r +} + // Device type (model) func (r ApiDcimConsoleServerPortsListRequest) DeviceType(deviceType []string) ApiDcimConsoleServerPortsListRequest { r.deviceType = &deviceType @@ -13030,54 +13708,26 @@ func (r ApiDcimConsoleServerPortsListRequest) RackIdN(rackIdN []int32) ApiDcimCo return r } -// Region (slug) -func (r ApiDcimConsoleServerPortsListRequest) Region(region []int32) ApiDcimConsoleServerPortsListRequest { +func (r ApiDcimConsoleServerPortsListRequest) Region(region []string) ApiDcimConsoleServerPortsListRequest { r.region = ®ion return r } -// Region (slug) -func (r ApiDcimConsoleServerPortsListRequest) RegionN(regionN []int32) ApiDcimConsoleServerPortsListRequest { +func (r ApiDcimConsoleServerPortsListRequest) RegionN(regionN []string) ApiDcimConsoleServerPortsListRequest { r.regionN = ®ionN return r } -// Region (ID) -func (r ApiDcimConsoleServerPortsListRequest) RegionId(regionId []int32) ApiDcimConsoleServerPortsListRequest { +func (r ApiDcimConsoleServerPortsListRequest) RegionId(regionId []string) ApiDcimConsoleServerPortsListRequest { r.regionId = ®ionId return r } -// Region (ID) -func (r ApiDcimConsoleServerPortsListRequest) RegionIdN(regionIdN []int32) ApiDcimConsoleServerPortsListRequest { +func (r ApiDcimConsoleServerPortsListRequest) RegionIdN(regionIdN []string) ApiDcimConsoleServerPortsListRequest { r.regionIdN = ®ionIdN return r } -// Device role (slug) -func (r ApiDcimConsoleServerPortsListRequest) Role(role []string) ApiDcimConsoleServerPortsListRequest { - r.role = &role - return r -} - -// Device role (slug) -func (r ApiDcimConsoleServerPortsListRequest) RoleN(roleN []string) ApiDcimConsoleServerPortsListRequest { - r.roleN = &roleN - return r -} - -// Device role (ID) -func (r ApiDcimConsoleServerPortsListRequest) RoleId(roleId []int32) ApiDcimConsoleServerPortsListRequest { - r.roleId = &roleId - return r -} - -// Device role (ID) -func (r ApiDcimConsoleServerPortsListRequest) RoleIdN(roleIdN []int32) ApiDcimConsoleServerPortsListRequest { - r.roleIdN = &roleIdN - return r -} - // Site name (slug) func (r ApiDcimConsoleServerPortsListRequest) Site(site []string) ApiDcimConsoleServerPortsListRequest { r.site = &site @@ -13090,26 +13740,22 @@ func (r ApiDcimConsoleServerPortsListRequest) SiteN(siteN []string) ApiDcimConso return r } -// Site group (slug) -func (r ApiDcimConsoleServerPortsListRequest) SiteGroup(siteGroup []int32) ApiDcimConsoleServerPortsListRequest { +func (r ApiDcimConsoleServerPortsListRequest) SiteGroup(siteGroup []string) ApiDcimConsoleServerPortsListRequest { r.siteGroup = &siteGroup return r } -// Site group (slug) -func (r ApiDcimConsoleServerPortsListRequest) SiteGroupN(siteGroupN []int32) ApiDcimConsoleServerPortsListRequest { +func (r ApiDcimConsoleServerPortsListRequest) SiteGroupN(siteGroupN []string) ApiDcimConsoleServerPortsListRequest { r.siteGroupN = &siteGroupN return r } -// Site group (ID) -func (r ApiDcimConsoleServerPortsListRequest) SiteGroupId(siteGroupId []int32) ApiDcimConsoleServerPortsListRequest { +func (r ApiDcimConsoleServerPortsListRequest) SiteGroupId(siteGroupId []string) ApiDcimConsoleServerPortsListRequest { r.siteGroupId = &siteGroupId return r } -// Site group (ID) -func (r ApiDcimConsoleServerPortsListRequest) SiteGroupIdN(siteGroupIdN []int32) ApiDcimConsoleServerPortsListRequest { +func (r ApiDcimConsoleServerPortsListRequest) SiteGroupIdN(siteGroupIdN []string) ApiDcimConsoleServerPortsListRequest { r.siteGroupIdN = &siteGroupIdN return r } @@ -13132,12 +13778,6 @@ func (r ApiDcimConsoleServerPortsListRequest) Speed(speed DcimConsolePortsListSp return r } -// Port speed in bits per second * `1200` - 1200 bps * `2400` - 2400 bps * `4800` - 4800 bps * `9600` - 9600 bps * `19200` - 19.2 kbps * `38400` - 38.4 kbps * `57600` - 57.6 kbps * `115200` - 115.2 kbps -func (r ApiDcimConsoleServerPortsListRequest) SpeedN(speedN DcimConsolePortsListSpeedParameter) ApiDcimConsoleServerPortsListRequest { - r.speedN = &speedN - return r -} - func (r ApiDcimConsoleServerPortsListRequest) Tag(tag []string) ApiDcimConsoleServerPortsListRequest { r.tag = &tag return r @@ -13154,12 +13794,65 @@ func (r ApiDcimConsoleServerPortsListRequest) Type_(type_ []string) ApiDcimConso return r } -// Physical port type -func (r ApiDcimConsoleServerPortsListRequest) TypeN(typeN []string) ApiDcimConsoleServerPortsListRequest { +func (r ApiDcimConsoleServerPortsListRequest) TypeEmpty(typeEmpty bool) ApiDcimConsoleServerPortsListRequest { + r.typeEmpty = &typeEmpty + return r +} + +// Physical port type * `de-9` - DE-9 * `db-25` - DB-25 * `rj-11` - RJ-11 * `rj-12` - RJ-12 * `rj-45` - RJ-45 * `mini-din-8` - Mini-DIN 8 * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other +func (r ApiDcimConsoleServerPortsListRequest) TypeIc(typeIc []DcimConsolePortsListTypeIcParameterInner) ApiDcimConsoleServerPortsListRequest { + r.typeIc = &typeIc + return r +} + +// Physical port type * `de-9` - DE-9 * `db-25` - DB-25 * `rj-11` - RJ-11 * `rj-12` - RJ-12 * `rj-45` - RJ-45 * `mini-din-8` - Mini-DIN 8 * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other +func (r ApiDcimConsoleServerPortsListRequest) TypeIe(typeIe []DcimConsolePortsListTypeIcParameterInner) ApiDcimConsoleServerPortsListRequest { + r.typeIe = &typeIe + return r +} + +// Physical port type * `de-9` - DE-9 * `db-25` - DB-25 * `rj-11` - RJ-11 * `rj-12` - RJ-12 * `rj-45` - RJ-45 * `mini-din-8` - Mini-DIN 8 * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other +func (r ApiDcimConsoleServerPortsListRequest) TypeIew(typeIew []DcimConsolePortsListTypeIcParameterInner) ApiDcimConsoleServerPortsListRequest { + r.typeIew = &typeIew + return r +} + +// Physical port type * `de-9` - DE-9 * `db-25` - DB-25 * `rj-11` - RJ-11 * `rj-12` - RJ-12 * `rj-45` - RJ-45 * `mini-din-8` - Mini-DIN 8 * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other +func (r ApiDcimConsoleServerPortsListRequest) TypeIsw(typeIsw []DcimConsolePortsListTypeIcParameterInner) ApiDcimConsoleServerPortsListRequest { + r.typeIsw = &typeIsw + return r +} + +// Physical port type * `de-9` - DE-9 * `db-25` - DB-25 * `rj-11` - RJ-11 * `rj-12` - RJ-12 * `rj-45` - RJ-45 * `mini-din-8` - Mini-DIN 8 * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other +func (r ApiDcimConsoleServerPortsListRequest) TypeN(typeN []DcimConsolePortsListTypeIcParameterInner) ApiDcimConsoleServerPortsListRequest { r.typeN = &typeN return r } +// Physical port type * `de-9` - DE-9 * `db-25` - DB-25 * `rj-11` - RJ-11 * `rj-12` - RJ-12 * `rj-45` - RJ-45 * `mini-din-8` - Mini-DIN 8 * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other +func (r ApiDcimConsoleServerPortsListRequest) TypeNic(typeNic []DcimConsolePortsListTypeIcParameterInner) ApiDcimConsoleServerPortsListRequest { + r.typeNic = &typeNic + return r +} + +// Physical port type * `de-9` - DE-9 * `db-25` - DB-25 * `rj-11` - RJ-11 * `rj-12` - RJ-12 * `rj-45` - RJ-45 * `mini-din-8` - Mini-DIN 8 * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other +func (r ApiDcimConsoleServerPortsListRequest) TypeNie(typeNie []DcimConsolePortsListTypeIcParameterInner) ApiDcimConsoleServerPortsListRequest { + r.typeNie = &typeNie + return r +} + +// Physical port type * `de-9` - DE-9 * `db-25` - DB-25 * `rj-11` - RJ-11 * `rj-12` - RJ-12 * `rj-45` - RJ-45 * `mini-din-8` - Mini-DIN 8 * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other +func (r ApiDcimConsoleServerPortsListRequest) TypeNiew(typeNiew []DcimConsolePortsListTypeIcParameterInner) ApiDcimConsoleServerPortsListRequest { + r.typeNiew = &typeNiew + return r +} + +// Physical port type * `de-9` - DE-9 * `db-25` - DB-25 * `rj-11` - RJ-11 * `rj-12` - RJ-12 * `rj-45` - RJ-45 * `mini-din-8` - Mini-DIN 8 * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other +func (r ApiDcimConsoleServerPortsListRequest) TypeNisw(typeNisw []DcimConsolePortsListTypeIcParameterInner) ApiDcimConsoleServerPortsListRequest { + r.typeNisw = &typeNisw + return r +} + func (r ApiDcimConsoleServerPortsListRequest) UpdatedByRequest(updatedByRequest string) ApiDcimConsoleServerPortsListRequest { r.updatedByRequest = &updatedByRequest return r @@ -13233,9 +13926,6 @@ func (a *DcimAPIService) DcimConsoleServerPortsListExecute(r ApiDcimConsoleServe if r.cableEnd != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "cable_end", r.cableEnd, "") } - if r.cableEndN != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "cable_end__n", r.cableEndN, "") - } if r.cableId != nil { t := *r.cableId if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -13501,6 +14191,163 @@ func (a *DcimAPIService) DcimConsoleServerPortsListExecute(r ApiDcimConsoleServe parameterAddToHeaderOrQuery(localVarQueryParams, "device_id__n", t, "multi") } } + if r.deviceRole != nil { + t := *r.deviceRole + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role", t, "multi") + } + } + if r.deviceRoleN != nil { + t := *r.deviceRoleN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role__n", t, "multi") + } + } + if r.deviceRoleId != nil { + t := *r.deviceRoleId + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role_id", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role_id", t, "multi") + } + } + if r.deviceRoleIdN != nil { + t := *r.deviceRoleIdN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role_id__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role_id__n", t, "multi") + } + } + if r.deviceStatus != nil { + t := *r.deviceStatus + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status", t, "multi") + } + } + if r.deviceStatusEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__empty", r.deviceStatusEmpty, "") + } + if r.deviceStatusIc != nil { + t := *r.deviceStatusIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__ic", t, "multi") + } + } + if r.deviceStatusIe != nil { + t := *r.deviceStatusIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__ie", t, "multi") + } + } + if r.deviceStatusIew != nil { + t := *r.deviceStatusIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__iew", t, "multi") + } + } + if r.deviceStatusIsw != nil { + t := *r.deviceStatusIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__isw", t, "multi") + } + } + if r.deviceStatusN != nil { + t := *r.deviceStatusN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__n", t, "multi") + } + } + if r.deviceStatusNic != nil { + t := *r.deviceStatusNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nic", t, "multi") + } + } + if r.deviceStatusNie != nil { + t := *r.deviceStatusNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nie", t, "multi") + } + } + if r.deviceStatusNiew != nil { + t := *r.deviceStatusNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__niew", t, "multi") + } + } + if r.deviceStatusNisw != nil { + t := *r.deviceStatusNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nisw", t, "multi") + } + } if r.deviceType != nil { t := *r.deviceType if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -14092,50 +14939,6 @@ func (a *DcimAPIService) DcimConsoleServerPortsListExecute(r ApiDcimConsoleServe parameterAddToHeaderOrQuery(localVarQueryParams, "region_id__n", t, "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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "role", t, "multi") - } - } - 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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "role__n", t, "multi") - } - } - if r.roleId != nil { - t := *r.roleId - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "role_id", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "role_id", t, "multi") - } - } - if r.roleIdN != nil { - t := *r.roleIdN - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "role_id__n", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "role_id__n", t, "multi") - } - } if r.site != nil { t := *r.site if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -14227,9 +15030,6 @@ func (a *DcimAPIService) DcimConsoleServerPortsListExecute(r ApiDcimConsoleServe if r.speed != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "speed", r.speed, "") } - if r.speedN != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "speed__n", r.speedN, "") - } if r.tag != nil { t := *r.tag if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -14263,6 +15063,53 @@ func (a *DcimAPIService) DcimConsoleServerPortsListExecute(r ApiDcimConsoleServe parameterAddToHeaderOrQuery(localVarQueryParams, "type", t, "multi") } } + if r.typeEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__empty", r.typeEmpty, "") + } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__ic", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__ie", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__iew", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__isw", t, "multi") + } + } if r.typeN != nil { t := *r.typeN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -14274,6 +15121,50 @@ func (a *DcimAPIService) DcimConsoleServerPortsListExecute(r ApiDcimConsoleServe parameterAddToHeaderOrQuery(localVarQueryParams, "type__n", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__nic", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__nie", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__niew", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__nisw", t, "multi") + } + } if r.updatedByRequest != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "updated_by_request", r.updatedByRequest, "") } @@ -15498,8 +16389,6 @@ type ApiDcimDeviceBayTemplatesListRequest struct { descriptionNisw *[]string deviceTypeId *[]int32 deviceTypeIdN *[]int32 - devicetypeId *[]int32 - devicetypeIdN *[]int32 id *[]int32 idEmpty *bool idGt *[]int32 @@ -15651,18 +16540,6 @@ func (r ApiDcimDeviceBayTemplatesListRequest) DeviceTypeIdN(deviceTypeIdN []int3 return r } -// Device type (ID) -func (r ApiDcimDeviceBayTemplatesListRequest) DevicetypeId(devicetypeId []int32) ApiDcimDeviceBayTemplatesListRequest { - r.devicetypeId = &devicetypeId - return r -} - -// Device type (ID) -func (r ApiDcimDeviceBayTemplatesListRequest) DevicetypeIdN(devicetypeIdN []int32) ApiDcimDeviceBayTemplatesListRequest { - r.devicetypeIdN = &devicetypeIdN - return r -} - func (r ApiDcimDeviceBayTemplatesListRequest) Id(id []int32) ApiDcimDeviceBayTemplatesListRequest { r.id = &id return r @@ -16133,28 +17010,6 @@ func (a *DcimAPIService) DcimDeviceBayTemplatesListExecute(r ApiDcimDeviceBayTem parameterAddToHeaderOrQuery(localVarQueryParams, "device_type_id__n", t, "multi") } } - if r.devicetypeId != nil { - t := *r.devicetypeId - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "devicetype_id", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "devicetype_id", t, "multi") - } - } - if r.devicetypeIdN != nil { - t := *r.devicetypeIdN - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "devicetype_id__n", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "devicetype_id__n", t, "multi") - } - } if r.id != nil { t := *r.id if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -17606,6 +18461,21 @@ type ApiDcimDeviceBaysListRequest struct { deviceN *[]*string deviceId *[]int32 deviceIdN *[]int32 + deviceRole *[]string + deviceRoleN *[]string + deviceRoleId *[]int32 + deviceRoleIdN *[]int32 + deviceStatus *[]string + deviceStatusEmpty *bool + deviceStatusIc *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusIe *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusIew *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusIsw *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusN *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusNic *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusNie *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusNiew *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusNisw *[]DcimConsolePortsListDeviceStatusIcParameterInner deviceType *[]string deviceTypeN *[]string deviceTypeId *[]int32 @@ -17663,20 +18533,16 @@ type ApiDcimDeviceBaysListRequest struct { rackN *[]string rackId *[]int32 rackIdN *[]int32 - region *[]int32 - regionN *[]int32 - regionId *[]int32 - regionIdN *[]int32 - role *[]string - roleN *[]string - roleId *[]int32 - roleIdN *[]int32 + region *[]string + regionN *[]string + regionId *[]string + regionIdN *[]string site *[]string siteN *[]string - siteGroup *[]int32 - siteGroupN *[]int32 - siteGroupId *[]int32 - siteGroupIdN *[]int32 + siteGroup *[]string + siteGroupN *[]string + siteGroupId *[]string + siteGroupIdN *[]string siteId *[]int32 siteIdN *[]int32 tag *[]string @@ -17807,6 +18673,94 @@ func (r ApiDcimDeviceBaysListRequest) DeviceIdN(deviceIdN []int32) ApiDcimDevice return r } +// Device role (slug) +func (r ApiDcimDeviceBaysListRequest) DeviceRole(deviceRole []string) ApiDcimDeviceBaysListRequest { + r.deviceRole = &deviceRole + return r +} + +// Device role (slug) +func (r ApiDcimDeviceBaysListRequest) DeviceRoleN(deviceRoleN []string) ApiDcimDeviceBaysListRequest { + r.deviceRoleN = &deviceRoleN + return r +} + +// Device role (ID) +func (r ApiDcimDeviceBaysListRequest) DeviceRoleId(deviceRoleId []int32) ApiDcimDeviceBaysListRequest { + r.deviceRoleId = &deviceRoleId + return r +} + +// Device role (ID) +func (r ApiDcimDeviceBaysListRequest) DeviceRoleIdN(deviceRoleIdN []int32) ApiDcimDeviceBaysListRequest { + r.deviceRoleIdN = &deviceRoleIdN + return r +} + +func (r ApiDcimDeviceBaysListRequest) DeviceStatus(deviceStatus []string) ApiDcimDeviceBaysListRequest { + r.deviceStatus = &deviceStatus + return r +} + +func (r ApiDcimDeviceBaysListRequest) DeviceStatusEmpty(deviceStatusEmpty bool) ApiDcimDeviceBaysListRequest { + r.deviceStatusEmpty = &deviceStatusEmpty + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimDeviceBaysListRequest) DeviceStatusIc(deviceStatusIc []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimDeviceBaysListRequest { + r.deviceStatusIc = &deviceStatusIc + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimDeviceBaysListRequest) DeviceStatusIe(deviceStatusIe []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimDeviceBaysListRequest { + r.deviceStatusIe = &deviceStatusIe + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimDeviceBaysListRequest) DeviceStatusIew(deviceStatusIew []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimDeviceBaysListRequest { + r.deviceStatusIew = &deviceStatusIew + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimDeviceBaysListRequest) DeviceStatusIsw(deviceStatusIsw []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimDeviceBaysListRequest { + r.deviceStatusIsw = &deviceStatusIsw + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimDeviceBaysListRequest) DeviceStatusN(deviceStatusN []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimDeviceBaysListRequest { + r.deviceStatusN = &deviceStatusN + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimDeviceBaysListRequest) DeviceStatusNic(deviceStatusNic []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimDeviceBaysListRequest { + r.deviceStatusNic = &deviceStatusNic + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimDeviceBaysListRequest) DeviceStatusNie(deviceStatusNie []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimDeviceBaysListRequest { + r.deviceStatusNie = &deviceStatusNie + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimDeviceBaysListRequest) DeviceStatusNiew(deviceStatusNiew []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimDeviceBaysListRequest { + r.deviceStatusNiew = &deviceStatusNiew + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimDeviceBaysListRequest) DeviceStatusNisw(deviceStatusNisw []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimDeviceBaysListRequest { + r.deviceStatusNisw = &deviceStatusNisw + return r +} + // Device type (model) func (r ApiDcimDeviceBaysListRequest) DeviceType(deviceType []string) ApiDcimDeviceBaysListRequest { r.deviceType = &deviceType @@ -18112,54 +19066,26 @@ func (r ApiDcimDeviceBaysListRequest) RackIdN(rackIdN []int32) ApiDcimDeviceBays return r } -// Region (slug) -func (r ApiDcimDeviceBaysListRequest) Region(region []int32) ApiDcimDeviceBaysListRequest { +func (r ApiDcimDeviceBaysListRequest) Region(region []string) ApiDcimDeviceBaysListRequest { r.region = ®ion return r } -// Region (slug) -func (r ApiDcimDeviceBaysListRequest) RegionN(regionN []int32) ApiDcimDeviceBaysListRequest { +func (r ApiDcimDeviceBaysListRequest) RegionN(regionN []string) ApiDcimDeviceBaysListRequest { r.regionN = ®ionN return r } -// Region (ID) -func (r ApiDcimDeviceBaysListRequest) RegionId(regionId []int32) ApiDcimDeviceBaysListRequest { +func (r ApiDcimDeviceBaysListRequest) RegionId(regionId []string) ApiDcimDeviceBaysListRequest { r.regionId = ®ionId return r } -// Region (ID) -func (r ApiDcimDeviceBaysListRequest) RegionIdN(regionIdN []int32) ApiDcimDeviceBaysListRequest { +func (r ApiDcimDeviceBaysListRequest) RegionIdN(regionIdN []string) ApiDcimDeviceBaysListRequest { r.regionIdN = ®ionIdN return r } -// Device role (slug) -func (r ApiDcimDeviceBaysListRequest) Role(role []string) ApiDcimDeviceBaysListRequest { - r.role = &role - return r -} - -// Device role (slug) -func (r ApiDcimDeviceBaysListRequest) RoleN(roleN []string) ApiDcimDeviceBaysListRequest { - r.roleN = &roleN - return r -} - -// Device role (ID) -func (r ApiDcimDeviceBaysListRequest) RoleId(roleId []int32) ApiDcimDeviceBaysListRequest { - r.roleId = &roleId - return r -} - -// Device role (ID) -func (r ApiDcimDeviceBaysListRequest) RoleIdN(roleIdN []int32) ApiDcimDeviceBaysListRequest { - r.roleIdN = &roleIdN - return r -} - // Site name (slug) func (r ApiDcimDeviceBaysListRequest) Site(site []string) ApiDcimDeviceBaysListRequest { r.site = &site @@ -18172,26 +19098,22 @@ func (r ApiDcimDeviceBaysListRequest) SiteN(siteN []string) ApiDcimDeviceBaysLis return r } -// Site group (slug) -func (r ApiDcimDeviceBaysListRequest) SiteGroup(siteGroup []int32) ApiDcimDeviceBaysListRequest { +func (r ApiDcimDeviceBaysListRequest) SiteGroup(siteGroup []string) ApiDcimDeviceBaysListRequest { r.siteGroup = &siteGroup return r } -// Site group (slug) -func (r ApiDcimDeviceBaysListRequest) SiteGroupN(siteGroupN []int32) ApiDcimDeviceBaysListRequest { +func (r ApiDcimDeviceBaysListRequest) SiteGroupN(siteGroupN []string) ApiDcimDeviceBaysListRequest { r.siteGroupN = &siteGroupN return r } -// Site group (ID) -func (r ApiDcimDeviceBaysListRequest) SiteGroupId(siteGroupId []int32) ApiDcimDeviceBaysListRequest { +func (r ApiDcimDeviceBaysListRequest) SiteGroupId(siteGroupId []string) ApiDcimDeviceBaysListRequest { r.siteGroupId = &siteGroupId return r } -// Site group (ID) -func (r ApiDcimDeviceBaysListRequest) SiteGroupIdN(siteGroupIdN []int32) ApiDcimDeviceBaysListRequest { +func (r ApiDcimDeviceBaysListRequest) SiteGroupIdN(siteGroupIdN []string) ApiDcimDeviceBaysListRequest { r.siteGroupIdN = &siteGroupIdN return r } @@ -18525,6 +19447,163 @@ func (a *DcimAPIService) DcimDeviceBaysListExecute(r ApiDcimDeviceBaysListReques parameterAddToHeaderOrQuery(localVarQueryParams, "device_id__n", t, "multi") } } + if r.deviceRole != nil { + t := *r.deviceRole + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role", t, "multi") + } + } + if r.deviceRoleN != nil { + t := *r.deviceRoleN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role__n", t, "multi") + } + } + if r.deviceRoleId != nil { + t := *r.deviceRoleId + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role_id", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role_id", t, "multi") + } + } + if r.deviceRoleIdN != nil { + t := *r.deviceRoleIdN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role_id__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role_id__n", t, "multi") + } + } + if r.deviceStatus != nil { + t := *r.deviceStatus + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status", t, "multi") + } + } + if r.deviceStatusEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__empty", r.deviceStatusEmpty, "") + } + if r.deviceStatusIc != nil { + t := *r.deviceStatusIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__ic", t, "multi") + } + } + if r.deviceStatusIe != nil { + t := *r.deviceStatusIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__ie", t, "multi") + } + } + if r.deviceStatusIew != nil { + t := *r.deviceStatusIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__iew", t, "multi") + } + } + if r.deviceStatusIsw != nil { + t := *r.deviceStatusIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__isw", t, "multi") + } + } + if r.deviceStatusN != nil { + t := *r.deviceStatusN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__n", t, "multi") + } + } + if r.deviceStatusNic != nil { + t := *r.deviceStatusNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nic", t, "multi") + } + } + if r.deviceStatusNie != nil { + t := *r.deviceStatusNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nie", t, "multi") + } + } + if r.deviceStatusNiew != nil { + t := *r.deviceStatusNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__niew", t, "multi") + } + } + if r.deviceStatusNisw != nil { + t := *r.deviceStatusNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nisw", t, "multi") + } + } if r.deviceType != nil { t := *r.deviceType if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -19132,50 +20211,6 @@ func (a *DcimAPIService) DcimDeviceBaysListExecute(r ApiDcimDeviceBaysListReques parameterAddToHeaderOrQuery(localVarQueryParams, "region_id__n", t, "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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "role", t, "multi") - } - } - 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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "role__n", t, "multi") - } - } - if r.roleId != nil { - t := *r.roleId - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "role_id", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "role_id", t, "multi") - } - } - if r.roleIdN != nil { - t := *r.roleIdN - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "role_id__n", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "role_id__n", t, "multi") - } - } if r.site != nil { t := *r.site if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -22664,7 +23699,6 @@ type ApiDcimDeviceTypesListRequest struct { ctx context.Context ApiService *DcimAPIService airflow *DcimDeviceTypesListAirflowParameter - airflowN *DcimDeviceTypesListAirflowParameter consolePortTemplateCount *[]int32 consolePortTemplateCountEmpty *bool consolePortTemplateCountGt *[]int32 @@ -22828,7 +23862,6 @@ type ApiDcimDeviceTypesListRequest struct { slugNiew *[]string slugNisw *[]string subdeviceRole *ParentChildStatus - subdeviceRoleN *ParentChildStatus tag *[]string tagN *[]string uHeight *[]float64 @@ -22847,7 +23880,6 @@ type ApiDcimDeviceTypesListRequest struct { weightLte *[]float64 weightN *[]float64 weightUnit *DcimDeviceTypesListWeightUnitParameter - weightUnitN *DcimDeviceTypesListWeightUnitParameter } // * `front-to-rear` - Front to rear * `rear-to-front` - Rear to front * `left-to-right` - Left to right * `right-to-left` - Right to left * `side-to-rear` - Side to rear * `passive` - Passive * `mixed` - Mixed @@ -22856,12 +23888,6 @@ func (r ApiDcimDeviceTypesListRequest) Airflow(airflow DcimDeviceTypesListAirflo return r } -// * `front-to-rear` - Front to rear * `rear-to-front` - Rear to front * `left-to-right` - Left to right * `right-to-left` - Right to left * `side-to-rear` - Side to rear * `passive` - Passive * `mixed` - Mixed -func (r ApiDcimDeviceTypesListRequest) AirflowN(airflowN DcimDeviceTypesListAirflowParameter) ApiDcimDeviceTypesListRequest { - r.airflowN = &airflowN - return r -} - func (r ApiDcimDeviceTypesListRequest) ConsolePortTemplateCount(consolePortTemplateCount []int32) ApiDcimDeviceTypesListRequest { r.consolePortTemplateCount = &consolePortTemplateCount return r @@ -23701,12 +24727,6 @@ func (r ApiDcimDeviceTypesListRequest) SubdeviceRole(subdeviceRole ParentChildSt return r } -// Parent devices house child devices in device bays. Leave blank if this device type is neither a parent nor a child. * `parent` - Parent * `child` - Child -func (r ApiDcimDeviceTypesListRequest) SubdeviceRoleN(subdeviceRoleN ParentChildStatus) ApiDcimDeviceTypesListRequest { - r.subdeviceRoleN = &subdeviceRoleN - return r -} - func (r ApiDcimDeviceTypesListRequest) Tag(tag []string) ApiDcimDeviceTypesListRequest { r.tag = &tag return r @@ -23798,12 +24818,6 @@ func (r ApiDcimDeviceTypesListRequest) WeightUnit(weightUnit DcimDeviceTypesList return r } -// * `kg` - Kilograms * `g` - Grams * `lb` - Pounds * `oz` - Ounces -func (r ApiDcimDeviceTypesListRequest) WeightUnitN(weightUnitN DcimDeviceTypesListWeightUnitParameter) ApiDcimDeviceTypesListRequest { - r.weightUnitN = &weightUnitN - return r -} - func (r ApiDcimDeviceTypesListRequest) Execute() (*PaginatedDeviceTypeList, *http.Response, error) { return r.ApiService.DcimDeviceTypesListExecute(r) } @@ -23848,9 +24862,6 @@ func (a *DcimAPIService) DcimDeviceTypesListExecute(r ApiDcimDeviceTypesListRequ if r.airflow != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "airflow", r.airflow, "") } - if r.airflowN != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "airflow__n", r.airflowN, "") - } if r.consolePortTemplateCount != nil { t := *r.consolePortTemplateCount if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -25364,9 +26375,6 @@ func (a *DcimAPIService) DcimDeviceTypesListExecute(r ApiDcimDeviceTypesListRequ if r.subdeviceRole != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "subdevice_role", r.subdeviceRole, "") } - if r.subdeviceRoleN != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "subdevice_role__n", r.subdeviceRoleN, "") - } if r.tag != nil { t := *r.tag if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -25533,9 +26541,6 @@ func (a *DcimAPIService) DcimDeviceTypesListExecute(r ApiDcimDeviceTypesListRequ if r.weightUnit != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "weight_unit", r.weightUnit, "") } - if r.weightUnitN != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "weight_unit__n", r.weightUnitN, "") - } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -26575,7 +27580,6 @@ type ApiDcimDevicesListRequest struct { ctx context.Context ApiService *DcimAPIService airflow *DcimDeviceTypesListAirflowParameter - airflowN *DcimDeviceTypesListAirflowParameter assetTag *[]string assetTagEmpty *bool assetTagIc *[]string @@ -26587,6 +27591,10 @@ type ApiDcimDevicesListRequest struct { assetTagNie *[]string assetTagNiew *[]string assetTagNisw *[]string + clusterGroup *[]string + clusterGroupN *[]string + clusterGroupId *[]int32 + clusterGroupIdN *[]int32 clusterId *[]*int32 clusterIdN *[]*int32 configTemplateId *[]*int32 @@ -26609,8 +27617,8 @@ type ApiDcimDevicesListRequest struct { consoleServerPorts *bool contact *[]int32 contactN *[]int32 - contactGroup *[]int32 - contactGroupN *[]int32 + contactGroup *[]string + contactGroupN *[]string contactRole *[]int32 contactRoleN *[]int32 created *[]time.Time @@ -26645,7 +27653,6 @@ type ApiDcimDevicesListRequest struct { deviceTypeId *[]int32 deviceTypeIdN *[]int32 face *RackFace - faceN *RackFace frontPortCount *[]int32 frontPortCountEmpty *bool frontPortCountGt *[]int32 @@ -26695,8 +27702,8 @@ type ApiDcimDevicesListRequest struct { latitudeN *[]float64 limit *int32 localContextData *bool - locationId *[]int32 - locationIdN *[]int32 + locationId *[]string + locationIdN *[]string longitude *[]float64 longitudeEmpty *bool longitudeGt *[]float64 @@ -26790,10 +27797,10 @@ type ApiDcimDevicesListRequest struct { rearPortCountLt *[]int32 rearPortCountLte *[]int32 rearPortCountN *[]int32 - region *[]int32 - regionN *[]int32 - regionId *[]int32 - regionIdN *[]int32 + region *[]string + regionN *[]string + regionId *[]string + regionIdN *[]string role *[]string roleN *[]string roleId *[]int32 @@ -26811,22 +27818,31 @@ type ApiDcimDevicesListRequest struct { serialNisw *[]string site *[]string siteN *[]string - siteGroup *[]int32 - siteGroupN *[]int32 - siteGroupId *[]int32 - siteGroupIdN *[]int32 + siteGroup *[]string + siteGroupN *[]string + siteGroupId *[]string + siteGroupIdN *[]string siteId *[]int32 siteIdN *[]int32 status *[]string - statusN *[]string + statusEmpty *bool + statusIc *[]DcimConsolePortsListDeviceStatusIcParameterInner + statusIe *[]DcimConsolePortsListDeviceStatusIcParameterInner + statusIew *[]DcimConsolePortsListDeviceStatusIcParameterInner + statusIsw *[]DcimConsolePortsListDeviceStatusIcParameterInner + statusN *[]DcimConsolePortsListDeviceStatusIcParameterInner + statusNic *[]DcimConsolePortsListDeviceStatusIcParameterInner + statusNie *[]DcimConsolePortsListDeviceStatusIcParameterInner + statusNiew *[]DcimConsolePortsListDeviceStatusIcParameterInner + statusNisw *[]DcimConsolePortsListDeviceStatusIcParameterInner tag *[]string tagN *[]string tenant *[]string tenantN *[]string - tenantGroup *[]int32 - tenantGroupN *[]int32 - tenantGroupId *[]int32 - tenantGroupIdN *[]int32 + tenantGroup *[]string + tenantGroupN *[]string + tenantGroupId *[]string + tenantGroupIdN *[]string tenantId *[]*int32 tenantIdN *[]*int32 updatedByRequest *string @@ -26855,12 +27871,6 @@ func (r ApiDcimDevicesListRequest) Airflow(airflow DcimDeviceTypesListAirflowPar return r } -// * `front-to-rear` - Front to rear * `rear-to-front` - Rear to front * `left-to-right` - Left to right * `right-to-left` - Right to left * `side-to-rear` - Side to rear * `passive` - Passive * `mixed` - Mixed -func (r ApiDcimDevicesListRequest) AirflowN(airflowN DcimDeviceTypesListAirflowParameter) ApiDcimDevicesListRequest { - r.airflowN = &airflowN - return r -} - func (r ApiDcimDevicesListRequest) AssetTag(assetTag []string) ApiDcimDevicesListRequest { r.assetTag = &assetTag return r @@ -26916,6 +27926,30 @@ func (r ApiDcimDevicesListRequest) AssetTagNisw(assetTagNisw []string) ApiDcimDe return r } +// Cluster group (slug) +func (r ApiDcimDevicesListRequest) ClusterGroup(clusterGroup []string) ApiDcimDevicesListRequest { + r.clusterGroup = &clusterGroup + return r +} + +// Cluster group (slug) +func (r ApiDcimDevicesListRequest) ClusterGroupN(clusterGroupN []string) ApiDcimDevicesListRequest { + r.clusterGroupN = &clusterGroupN + return r +} + +// Cluster group (ID) +func (r ApiDcimDevicesListRequest) ClusterGroupId(clusterGroupId []int32) ApiDcimDevicesListRequest { + r.clusterGroupId = &clusterGroupId + return r +} + +// Cluster group (ID) +func (r ApiDcimDevicesListRequest) ClusterGroupIdN(clusterGroupIdN []int32) ApiDcimDevicesListRequest { + r.clusterGroupIdN = &clusterGroupIdN + return r +} + // VM cluster (ID) func (r ApiDcimDevicesListRequest) ClusterId(clusterId []*int32) ApiDcimDevicesListRequest { r.clusterId = &clusterId @@ -27034,14 +28068,12 @@ func (r ApiDcimDevicesListRequest) ContactN(contactN []int32) ApiDcimDevicesList return r } -// Contact group -func (r ApiDcimDevicesListRequest) ContactGroup(contactGroup []int32) ApiDcimDevicesListRequest { +func (r ApiDcimDevicesListRequest) ContactGroup(contactGroup []string) ApiDcimDevicesListRequest { r.contactGroup = &contactGroup return r } -// Contact group -func (r ApiDcimDevicesListRequest) ContactGroupN(contactGroupN []int32) ApiDcimDevicesListRequest { +func (r ApiDcimDevicesListRequest) ContactGroupN(contactGroupN []string) ApiDcimDevicesListRequest { r.contactGroupN = &contactGroupN return r } @@ -27224,12 +28256,6 @@ func (r ApiDcimDevicesListRequest) Face(face RackFace) ApiDcimDevicesListRequest return r } -// * `front` - Front * `rear` - Rear -func (r ApiDcimDevicesListRequest) FaceN(faceN RackFace) ApiDcimDevicesListRequest { - r.faceN = &faceN - return r -} - func (r ApiDcimDevicesListRequest) FrontPortCount(frontPortCount []int32) ApiDcimDevicesListRequest { r.frontPortCount = &frontPortCount return r @@ -27482,14 +28508,12 @@ func (r ApiDcimDevicesListRequest) LocalContextData(localContextData bool) ApiDc return r } -// Location (ID) -func (r ApiDcimDevicesListRequest) LocationId(locationId []int32) ApiDcimDevicesListRequest { +func (r ApiDcimDevicesListRequest) LocationId(locationId []string) ApiDcimDevicesListRequest { r.locationId = &locationId return r } -// Location (ID) -func (r ApiDcimDevicesListRequest) LocationIdN(locationIdN []int32) ApiDcimDevicesListRequest { +func (r ApiDcimDevicesListRequest) LocationIdN(locationIdN []string) ApiDcimDevicesListRequest { r.locationIdN = &locationIdN return r } @@ -27988,26 +29012,22 @@ func (r ApiDcimDevicesListRequest) RearPortCountN(rearPortCountN []int32) ApiDci return r } -// Region (slug) -func (r ApiDcimDevicesListRequest) Region(region []int32) ApiDcimDevicesListRequest { +func (r ApiDcimDevicesListRequest) Region(region []string) ApiDcimDevicesListRequest { r.region = ®ion return r } -// Region (slug) -func (r ApiDcimDevicesListRequest) RegionN(regionN []int32) ApiDcimDevicesListRequest { +func (r ApiDcimDevicesListRequest) RegionN(regionN []string) ApiDcimDevicesListRequest { r.regionN = ®ionN return r } -// Region (ID) -func (r ApiDcimDevicesListRequest) RegionId(regionId []int32) ApiDcimDevicesListRequest { +func (r ApiDcimDevicesListRequest) RegionId(regionId []string) ApiDcimDevicesListRequest { r.regionId = ®ionId return r } -// Region (ID) -func (r ApiDcimDevicesListRequest) RegionIdN(regionIdN []int32) ApiDcimDevicesListRequest { +func (r ApiDcimDevicesListRequest) RegionIdN(regionIdN []string) ApiDcimDevicesListRequest { r.regionIdN = ®ionIdN return r } @@ -28103,26 +29123,22 @@ func (r ApiDcimDevicesListRequest) SiteN(siteN []string) ApiDcimDevicesListReque return r } -// Site group (slug) -func (r ApiDcimDevicesListRequest) SiteGroup(siteGroup []int32) ApiDcimDevicesListRequest { +func (r ApiDcimDevicesListRequest) SiteGroup(siteGroup []string) ApiDcimDevicesListRequest { r.siteGroup = &siteGroup return r } -// Site group (slug) -func (r ApiDcimDevicesListRequest) SiteGroupN(siteGroupN []int32) ApiDcimDevicesListRequest { +func (r ApiDcimDevicesListRequest) SiteGroupN(siteGroupN []string) ApiDcimDevicesListRequest { r.siteGroupN = &siteGroupN return r } -// Site group (ID) -func (r ApiDcimDevicesListRequest) SiteGroupId(siteGroupId []int32) ApiDcimDevicesListRequest { +func (r ApiDcimDevicesListRequest) SiteGroupId(siteGroupId []string) ApiDcimDevicesListRequest { r.siteGroupId = &siteGroupId return r } -// Site group (ID) -func (r ApiDcimDevicesListRequest) SiteGroupIdN(siteGroupIdN []int32) ApiDcimDevicesListRequest { +func (r ApiDcimDevicesListRequest) SiteGroupIdN(siteGroupIdN []string) ApiDcimDevicesListRequest { r.siteGroupIdN = &siteGroupIdN return r } @@ -28144,11 +29160,65 @@ func (r ApiDcimDevicesListRequest) Status(status []string) ApiDcimDevicesListReq return r } -func (r ApiDcimDevicesListRequest) StatusN(statusN []string) ApiDcimDevicesListRequest { +func (r ApiDcimDevicesListRequest) StatusEmpty(statusEmpty bool) ApiDcimDevicesListRequest { + r.statusEmpty = &statusEmpty + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimDevicesListRequest) StatusIc(statusIc []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimDevicesListRequest { + r.statusIc = &statusIc + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimDevicesListRequest) StatusIe(statusIe []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimDevicesListRequest { + r.statusIe = &statusIe + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimDevicesListRequest) StatusIew(statusIew []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimDevicesListRequest { + r.statusIew = &statusIew + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimDevicesListRequest) StatusIsw(statusIsw []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimDevicesListRequest { + r.statusIsw = &statusIsw + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimDevicesListRequest) StatusN(statusN []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimDevicesListRequest { r.statusN = &statusN return r } +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimDevicesListRequest) StatusNic(statusNic []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimDevicesListRequest { + r.statusNic = &statusNic + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimDevicesListRequest) StatusNie(statusNie []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimDevicesListRequest { + r.statusNie = &statusNie + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimDevicesListRequest) StatusNiew(statusNiew []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimDevicesListRequest { + r.statusNiew = &statusNiew + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimDevicesListRequest) StatusNisw(statusNisw []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimDevicesListRequest { + r.statusNisw = &statusNisw + return r +} + func (r ApiDcimDevicesListRequest) Tag(tag []string) ApiDcimDevicesListRequest { r.tag = &tag return r @@ -28171,26 +29241,22 @@ func (r ApiDcimDevicesListRequest) TenantN(tenantN []string) ApiDcimDevicesListR return r } -// Tenant Group (slug) -func (r ApiDcimDevicesListRequest) TenantGroup(tenantGroup []int32) ApiDcimDevicesListRequest { +func (r ApiDcimDevicesListRequest) TenantGroup(tenantGroup []string) ApiDcimDevicesListRequest { r.tenantGroup = &tenantGroup return r } -// Tenant Group (slug) -func (r ApiDcimDevicesListRequest) TenantGroupN(tenantGroupN []int32) ApiDcimDevicesListRequest { +func (r ApiDcimDevicesListRequest) TenantGroupN(tenantGroupN []string) ApiDcimDevicesListRequest { r.tenantGroupN = &tenantGroupN return r } -// Tenant Group (ID) -func (r ApiDcimDevicesListRequest) TenantGroupId(tenantGroupId []int32) ApiDcimDevicesListRequest { +func (r ApiDcimDevicesListRequest) TenantGroupId(tenantGroupId []string) ApiDcimDevicesListRequest { r.tenantGroupId = &tenantGroupId return r } -// Tenant Group (ID) -func (r ApiDcimDevicesListRequest) TenantGroupIdN(tenantGroupIdN []int32) ApiDcimDevicesListRequest { +func (r ApiDcimDevicesListRequest) TenantGroupIdN(tenantGroupIdN []string) ApiDcimDevicesListRequest { r.tenantGroupIdN = &tenantGroupIdN return r } @@ -28344,9 +29410,6 @@ func (a *DcimAPIService) DcimDevicesListExecute(r ApiDcimDevicesListRequest) (*P if r.airflow != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "airflow", r.airflow, "") } - if r.airflowN != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "airflow__n", r.airflowN, "") - } if r.assetTag != nil { t := *r.assetTag if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -28460,6 +29523,50 @@ func (a *DcimAPIService) DcimDevicesListExecute(r ApiDcimDevicesListRequest) (*P parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__nisw", t, "multi") } } + if r.clusterGroup != nil { + t := *r.clusterGroup + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "cluster_group", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "cluster_group", t, "multi") + } + } + if r.clusterGroupN != nil { + t := *r.clusterGroupN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "cluster_group__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "cluster_group__n", t, "multi") + } + } + if r.clusterGroupId != nil { + t := *r.clusterGroupId + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "cluster_group_id", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "cluster_group_id", t, "multi") + } + } + if r.clusterGroupIdN != nil { + t := *r.clusterGroupIdN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "cluster_group_id__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "cluster_group_id__n", t, "multi") + } + } if r.clusterId != nil { t := *r.clusterId if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -29026,9 +30133,6 @@ func (a *DcimAPIService) DcimDevicesListExecute(r ApiDcimDevicesListRequest) (*P if r.face != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "face", r.face, "") } - if r.faceN != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "face__n", r.faceN, "") - } if r.frontPortCount != nil { t := *r.frontPortCount if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -30697,6 +31801,53 @@ func (a *DcimAPIService) DcimDevicesListExecute(r ApiDcimDevicesListRequest) (*P parameterAddToHeaderOrQuery(localVarQueryParams, "status", t, "multi") } } + if r.statusEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__empty", r.statusEmpty, "") + } + if r.statusIc != nil { + t := *r.statusIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ic", t, "multi") + } + } + if r.statusIe != nil { + t := *r.statusIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ie", t, "multi") + } + } + if r.statusIew != nil { + t := *r.statusIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__iew", t, "multi") + } + } + if r.statusIsw != nil { + t := *r.statusIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__isw", t, "multi") + } + } if r.statusN != nil { t := *r.statusN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -30708,6 +31859,50 @@ func (a *DcimAPIService) DcimDevicesListExecute(r ApiDcimDevicesListRequest) (*P parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", t, "multi") } } + if r.statusNic != nil { + t := *r.statusNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nic", t, "multi") + } + } + if r.statusNie != nil { + t := *r.statusNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nie", t, "multi") + } + } + if r.statusNiew != nil { + t := *r.statusNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__niew", t, "multi") + } + } + if r.statusNisw != nil { + t := *r.statusNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nisw", t, "multi") + } + } if r.tag != nil { t := *r.tag if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -32192,8 +33387,6 @@ type ApiDcimFrontPortTemplatesListRequest struct { descriptionNisw *[]string deviceTypeId *[]*int32 deviceTypeIdN *[]*int32 - devicetypeId *[]*int32 - devicetypeIdN *[]*int32 id *[]int32 idEmpty *bool idGt *[]int32 @@ -32223,8 +33416,6 @@ type ApiDcimFrontPortTemplatesListRequest struct { modifiedByRequest *string moduleTypeId *[]*int32 moduleTypeIdN *[]*int32 - moduletypeId *[]*int32 - moduletypeIdN *[]*int32 name *[]string nameEmpty *bool nameIc *[]string @@ -32249,7 +33440,16 @@ type ApiDcimFrontPortTemplatesListRequest struct { rearPortPositionLte *[]int32 rearPortPositionN *[]int32 type_ *[]string - typeN *[]string + typeEmpty *bool + typeIc *[]DcimFrontPortTemplatesListTypeIcParameterInner + typeIe *[]DcimFrontPortTemplatesListTypeIcParameterInner + typeIew *[]DcimFrontPortTemplatesListTypeIcParameterInner + typeIsw *[]DcimFrontPortTemplatesListTypeIcParameterInner + typeN *[]DcimFrontPortTemplatesListTypeIcParameterInner + typeNic *[]DcimFrontPortTemplatesListTypeIcParameterInner + typeNie *[]DcimFrontPortTemplatesListTypeIcParameterInner + typeNiew *[]DcimFrontPortTemplatesListTypeIcParameterInner + typeNisw *[]DcimFrontPortTemplatesListTypeIcParameterInner updatedByRequest *string } @@ -32415,18 +33615,6 @@ func (r ApiDcimFrontPortTemplatesListRequest) DeviceTypeIdN(deviceTypeIdN []*int return r } -// Device type (ID) -func (r ApiDcimFrontPortTemplatesListRequest) DevicetypeId(devicetypeId []*int32) ApiDcimFrontPortTemplatesListRequest { - r.devicetypeId = &devicetypeId - return r -} - -// Device type (ID) -func (r ApiDcimFrontPortTemplatesListRequest) DevicetypeIdN(devicetypeIdN []*int32) ApiDcimFrontPortTemplatesListRequest { - r.devicetypeIdN = &devicetypeIdN - return r -} - func (r ApiDcimFrontPortTemplatesListRequest) Id(id []int32) ApiDcimFrontPortTemplatesListRequest { r.id = &id return r @@ -32575,18 +33763,6 @@ func (r ApiDcimFrontPortTemplatesListRequest) ModuleTypeIdN(moduleTypeIdN []*int return r } -// Module type (ID) -func (r ApiDcimFrontPortTemplatesListRequest) ModuletypeId(moduletypeId []*int32) ApiDcimFrontPortTemplatesListRequest { - r.moduletypeId = &moduletypeId - return r -} - -// Module type (ID) -func (r ApiDcimFrontPortTemplatesListRequest) ModuletypeIdN(moduletypeIdN []*int32) ApiDcimFrontPortTemplatesListRequest { - r.moduletypeIdN = &moduletypeIdN - return r -} - func (r ApiDcimFrontPortTemplatesListRequest) Name(name []string) ApiDcimFrontPortTemplatesListRequest { r.name = &name return r @@ -32710,11 +33886,65 @@ func (r ApiDcimFrontPortTemplatesListRequest) Type_(type_ []string) ApiDcimFront return r } -func (r ApiDcimFrontPortTemplatesListRequest) TypeN(typeN []string) ApiDcimFrontPortTemplatesListRequest { +func (r ApiDcimFrontPortTemplatesListRequest) TypeEmpty(typeEmpty bool) ApiDcimFrontPortTemplatesListRequest { + r.typeEmpty = &typeEmpty + return r +} + +// * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other +func (r ApiDcimFrontPortTemplatesListRequest) TypeIc(typeIc []DcimFrontPortTemplatesListTypeIcParameterInner) ApiDcimFrontPortTemplatesListRequest { + r.typeIc = &typeIc + return r +} + +// * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other +func (r ApiDcimFrontPortTemplatesListRequest) TypeIe(typeIe []DcimFrontPortTemplatesListTypeIcParameterInner) ApiDcimFrontPortTemplatesListRequest { + r.typeIe = &typeIe + return r +} + +// * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other +func (r ApiDcimFrontPortTemplatesListRequest) TypeIew(typeIew []DcimFrontPortTemplatesListTypeIcParameterInner) ApiDcimFrontPortTemplatesListRequest { + r.typeIew = &typeIew + return r +} + +// * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other +func (r ApiDcimFrontPortTemplatesListRequest) TypeIsw(typeIsw []DcimFrontPortTemplatesListTypeIcParameterInner) ApiDcimFrontPortTemplatesListRequest { + r.typeIsw = &typeIsw + return r +} + +// * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other +func (r ApiDcimFrontPortTemplatesListRequest) TypeN(typeN []DcimFrontPortTemplatesListTypeIcParameterInner) ApiDcimFrontPortTemplatesListRequest { r.typeN = &typeN return r } +// * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other +func (r ApiDcimFrontPortTemplatesListRequest) TypeNic(typeNic []DcimFrontPortTemplatesListTypeIcParameterInner) ApiDcimFrontPortTemplatesListRequest { + r.typeNic = &typeNic + return r +} + +// * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other +func (r ApiDcimFrontPortTemplatesListRequest) TypeNie(typeNie []DcimFrontPortTemplatesListTypeIcParameterInner) ApiDcimFrontPortTemplatesListRequest { + r.typeNie = &typeNie + return r +} + +// * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other +func (r ApiDcimFrontPortTemplatesListRequest) TypeNiew(typeNiew []DcimFrontPortTemplatesListTypeIcParameterInner) ApiDcimFrontPortTemplatesListRequest { + r.typeNiew = &typeNiew + return r +} + +// * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other +func (r ApiDcimFrontPortTemplatesListRequest) TypeNisw(typeNisw []DcimFrontPortTemplatesListTypeIcParameterInner) ApiDcimFrontPortTemplatesListRequest { + r.typeNisw = &typeNisw + return r +} + func (r ApiDcimFrontPortTemplatesListRequest) UpdatedByRequest(updatedByRequest string) ApiDcimFrontPortTemplatesListRequest { r.updatedByRequest = &updatedByRequest return r @@ -33089,28 +34319,6 @@ func (a *DcimAPIService) DcimFrontPortTemplatesListExecute(r ApiDcimFrontPortTem parameterAddToHeaderOrQuery(localVarQueryParams, "device_type_id__n", t, "multi") } } - if r.devicetypeId != nil { - t := *r.devicetypeId - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "devicetype_id", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "devicetype_id", t, "multi") - } - } - if r.devicetypeIdN != nil { - t := *r.devicetypeIdN - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "devicetype_id__n", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "devicetype_id__n", t, "multi") - } - } if r.id != nil { t := *r.id if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -33398,28 +34606,6 @@ func (a *DcimAPIService) DcimFrontPortTemplatesListExecute(r ApiDcimFrontPortTem parameterAddToHeaderOrQuery(localVarQueryParams, "module_type_id__n", t, "multi") } } - if r.moduletypeId != nil { - t := *r.moduletypeId - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "moduletype_id", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "moduletype_id", t, "multi") - } - } - if r.moduletypeIdN != nil { - t := *r.moduletypeIdN - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "moduletype_id__n", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "moduletype_id__n", t, "multi") - } - } if r.name != nil { t := *r.name if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -33644,6 +34830,53 @@ func (a *DcimAPIService) DcimFrontPortTemplatesListExecute(r ApiDcimFrontPortTem parameterAddToHeaderOrQuery(localVarQueryParams, "type", t, "multi") } } + if r.typeEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__empty", r.typeEmpty, "") + } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__ic", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__ie", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__iew", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__isw", t, "multi") + } + } if r.typeN != nil { t := *r.typeN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -33655,6 +34888,50 @@ func (a *DcimAPIService) DcimFrontPortTemplatesListExecute(r ApiDcimFrontPortTem parameterAddToHeaderOrQuery(localVarQueryParams, "type__n", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__nic", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__nie", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__niew", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__nisw", t, "multi") + } + } if r.updatedByRequest != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "updated_by_request", r.updatedByRequest, "") } @@ -34697,7 +35974,6 @@ type ApiDcimFrontPortsListRequest struct { ctx context.Context ApiService *DcimAPIService cableEnd *CircuitsCircuitTerminationsListCableEndParameter - cableEndN *CircuitsCircuitTerminationsListCableEndParameter cableId *[]*int32 cableIdN *[]*int32 cabled *bool @@ -34735,6 +36011,21 @@ type ApiDcimFrontPortsListRequest struct { deviceN *[]*string deviceId *[]int32 deviceIdN *[]int32 + deviceRole *[]string + deviceRoleN *[]string + deviceRoleId *[]int32 + deviceRoleIdN *[]int32 + deviceStatus *[]string + deviceStatusEmpty *bool + deviceStatusIc *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusIe *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusIew *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusIsw *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusN *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusNic *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusNie *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusNiew *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusNisw *[]DcimConsolePortsListDeviceStatusIcParameterInner deviceType *[]string deviceTypeN *[]string deviceTypeId *[]int32 @@ -34801,26 +36092,31 @@ type ApiDcimFrontPortsListRequest struct { rearPortPositionLt *[]int32 rearPortPositionLte *[]int32 rearPortPositionN *[]int32 - region *[]int32 - regionN *[]int32 - regionId *[]int32 - regionIdN *[]int32 - role *[]string - roleN *[]string - roleId *[]int32 - roleIdN *[]int32 + region *[]string + regionN *[]string + regionId *[]string + regionIdN *[]string site *[]string siteN *[]string - siteGroup *[]int32 - siteGroupN *[]int32 - siteGroupId *[]int32 - siteGroupIdN *[]int32 + siteGroup *[]string + siteGroupN *[]string + siteGroupId *[]string + siteGroupIdN *[]string siteId *[]int32 siteIdN *[]int32 tag *[]string tagN *[]string type_ *[]string - typeN *[]string + typeEmpty *bool + typeIc *[]DcimFrontPortTemplatesListTypeIcParameterInner + typeIe *[]DcimFrontPortTemplatesListTypeIcParameterInner + typeIew *[]DcimFrontPortTemplatesListTypeIcParameterInner + typeIsw *[]DcimFrontPortTemplatesListTypeIcParameterInner + typeN *[]DcimFrontPortTemplatesListTypeIcParameterInner + typeNic *[]DcimFrontPortTemplatesListTypeIcParameterInner + typeNie *[]DcimFrontPortTemplatesListTypeIcParameterInner + typeNiew *[]DcimFrontPortTemplatesListTypeIcParameterInner + typeNisw *[]DcimFrontPortTemplatesListTypeIcParameterInner updatedByRequest *string virtualChassis *[]string virtualChassisN *[]string @@ -34834,12 +36130,6 @@ func (r ApiDcimFrontPortsListRequest) CableEnd(cableEnd CircuitsCircuitTerminati return r } -// * `A` - A * `B` - B -func (r ApiDcimFrontPortsListRequest) CableEndN(cableEndN CircuitsCircuitTerminationsListCableEndParameter) ApiDcimFrontPortsListRequest { - r.cableEndN = &cableEndN - return r -} - // Cable (ID) func (r ApiDcimFrontPortsListRequest) CableId(cableId []*int32) ApiDcimFrontPortsListRequest { r.cableId = &cableId @@ -35031,6 +36321,94 @@ func (r ApiDcimFrontPortsListRequest) DeviceIdN(deviceIdN []int32) ApiDcimFrontP return r } +// Device role (slug) +func (r ApiDcimFrontPortsListRequest) DeviceRole(deviceRole []string) ApiDcimFrontPortsListRequest { + r.deviceRole = &deviceRole + return r +} + +// Device role (slug) +func (r ApiDcimFrontPortsListRequest) DeviceRoleN(deviceRoleN []string) ApiDcimFrontPortsListRequest { + r.deviceRoleN = &deviceRoleN + return r +} + +// Device role (ID) +func (r ApiDcimFrontPortsListRequest) DeviceRoleId(deviceRoleId []int32) ApiDcimFrontPortsListRequest { + r.deviceRoleId = &deviceRoleId + return r +} + +// Device role (ID) +func (r ApiDcimFrontPortsListRequest) DeviceRoleIdN(deviceRoleIdN []int32) ApiDcimFrontPortsListRequest { + r.deviceRoleIdN = &deviceRoleIdN + return r +} + +func (r ApiDcimFrontPortsListRequest) DeviceStatus(deviceStatus []string) ApiDcimFrontPortsListRequest { + r.deviceStatus = &deviceStatus + return r +} + +func (r ApiDcimFrontPortsListRequest) DeviceStatusEmpty(deviceStatusEmpty bool) ApiDcimFrontPortsListRequest { + r.deviceStatusEmpty = &deviceStatusEmpty + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimFrontPortsListRequest) DeviceStatusIc(deviceStatusIc []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimFrontPortsListRequest { + r.deviceStatusIc = &deviceStatusIc + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimFrontPortsListRequest) DeviceStatusIe(deviceStatusIe []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimFrontPortsListRequest { + r.deviceStatusIe = &deviceStatusIe + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimFrontPortsListRequest) DeviceStatusIew(deviceStatusIew []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimFrontPortsListRequest { + r.deviceStatusIew = &deviceStatusIew + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimFrontPortsListRequest) DeviceStatusIsw(deviceStatusIsw []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimFrontPortsListRequest { + r.deviceStatusIsw = &deviceStatusIsw + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimFrontPortsListRequest) DeviceStatusN(deviceStatusN []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimFrontPortsListRequest { + r.deviceStatusN = &deviceStatusN + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimFrontPortsListRequest) DeviceStatusNic(deviceStatusNic []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimFrontPortsListRequest { + r.deviceStatusNic = &deviceStatusNic + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimFrontPortsListRequest) DeviceStatusNie(deviceStatusNie []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimFrontPortsListRequest { + r.deviceStatusNie = &deviceStatusNie + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimFrontPortsListRequest) DeviceStatusNiew(deviceStatusNiew []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimFrontPortsListRequest { + r.deviceStatusNiew = &deviceStatusNiew + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimFrontPortsListRequest) DeviceStatusNisw(deviceStatusNisw []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimFrontPortsListRequest { + r.deviceStatusNisw = &deviceStatusNisw + return r +} + // Device type (model) func (r ApiDcimFrontPortsListRequest) DeviceType(deviceType []string) ApiDcimFrontPortsListRequest { r.deviceType = &deviceType @@ -35379,54 +36757,26 @@ func (r ApiDcimFrontPortsListRequest) RearPortPositionN(rearPortPositionN []int3 return r } -// Region (slug) -func (r ApiDcimFrontPortsListRequest) Region(region []int32) ApiDcimFrontPortsListRequest { +func (r ApiDcimFrontPortsListRequest) Region(region []string) ApiDcimFrontPortsListRequest { r.region = ®ion return r } -// Region (slug) -func (r ApiDcimFrontPortsListRequest) RegionN(regionN []int32) ApiDcimFrontPortsListRequest { +func (r ApiDcimFrontPortsListRequest) RegionN(regionN []string) ApiDcimFrontPortsListRequest { r.regionN = ®ionN return r } -// Region (ID) -func (r ApiDcimFrontPortsListRequest) RegionId(regionId []int32) ApiDcimFrontPortsListRequest { +func (r ApiDcimFrontPortsListRequest) RegionId(regionId []string) ApiDcimFrontPortsListRequest { r.regionId = ®ionId return r } -// Region (ID) -func (r ApiDcimFrontPortsListRequest) RegionIdN(regionIdN []int32) ApiDcimFrontPortsListRequest { +func (r ApiDcimFrontPortsListRequest) RegionIdN(regionIdN []string) ApiDcimFrontPortsListRequest { r.regionIdN = ®ionIdN return r } -// Device role (slug) -func (r ApiDcimFrontPortsListRequest) Role(role []string) ApiDcimFrontPortsListRequest { - r.role = &role - return r -} - -// Device role (slug) -func (r ApiDcimFrontPortsListRequest) RoleN(roleN []string) ApiDcimFrontPortsListRequest { - r.roleN = &roleN - return r -} - -// Device role (ID) -func (r ApiDcimFrontPortsListRequest) RoleId(roleId []int32) ApiDcimFrontPortsListRequest { - r.roleId = &roleId - return r -} - -// Device role (ID) -func (r ApiDcimFrontPortsListRequest) RoleIdN(roleIdN []int32) ApiDcimFrontPortsListRequest { - r.roleIdN = &roleIdN - return r -} - // Site name (slug) func (r ApiDcimFrontPortsListRequest) Site(site []string) ApiDcimFrontPortsListRequest { r.site = &site @@ -35439,26 +36789,22 @@ func (r ApiDcimFrontPortsListRequest) SiteN(siteN []string) ApiDcimFrontPortsLis return r } -// Site group (slug) -func (r ApiDcimFrontPortsListRequest) SiteGroup(siteGroup []int32) ApiDcimFrontPortsListRequest { +func (r ApiDcimFrontPortsListRequest) SiteGroup(siteGroup []string) ApiDcimFrontPortsListRequest { r.siteGroup = &siteGroup return r } -// Site group (slug) -func (r ApiDcimFrontPortsListRequest) SiteGroupN(siteGroupN []int32) ApiDcimFrontPortsListRequest { +func (r ApiDcimFrontPortsListRequest) SiteGroupN(siteGroupN []string) ApiDcimFrontPortsListRequest { r.siteGroupN = &siteGroupN return r } -// Site group (ID) -func (r ApiDcimFrontPortsListRequest) SiteGroupId(siteGroupId []int32) ApiDcimFrontPortsListRequest { +func (r ApiDcimFrontPortsListRequest) SiteGroupId(siteGroupId []string) ApiDcimFrontPortsListRequest { r.siteGroupId = &siteGroupId return r } -// Site group (ID) -func (r ApiDcimFrontPortsListRequest) SiteGroupIdN(siteGroupIdN []int32) ApiDcimFrontPortsListRequest { +func (r ApiDcimFrontPortsListRequest) SiteGroupIdN(siteGroupIdN []string) ApiDcimFrontPortsListRequest { r.siteGroupIdN = &siteGroupIdN return r } @@ -35490,11 +36836,65 @@ func (r ApiDcimFrontPortsListRequest) Type_(type_ []string) ApiDcimFrontPortsLis return r } -func (r ApiDcimFrontPortsListRequest) TypeN(typeN []string) ApiDcimFrontPortsListRequest { +func (r ApiDcimFrontPortsListRequest) TypeEmpty(typeEmpty bool) ApiDcimFrontPortsListRequest { + r.typeEmpty = &typeEmpty + return r +} + +// * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other +func (r ApiDcimFrontPortsListRequest) TypeIc(typeIc []DcimFrontPortTemplatesListTypeIcParameterInner) ApiDcimFrontPortsListRequest { + r.typeIc = &typeIc + return r +} + +// * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other +func (r ApiDcimFrontPortsListRequest) TypeIe(typeIe []DcimFrontPortTemplatesListTypeIcParameterInner) ApiDcimFrontPortsListRequest { + r.typeIe = &typeIe + return r +} + +// * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other +func (r ApiDcimFrontPortsListRequest) TypeIew(typeIew []DcimFrontPortTemplatesListTypeIcParameterInner) ApiDcimFrontPortsListRequest { + r.typeIew = &typeIew + return r +} + +// * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other +func (r ApiDcimFrontPortsListRequest) TypeIsw(typeIsw []DcimFrontPortTemplatesListTypeIcParameterInner) ApiDcimFrontPortsListRequest { + r.typeIsw = &typeIsw + return r +} + +// * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other +func (r ApiDcimFrontPortsListRequest) TypeN(typeN []DcimFrontPortTemplatesListTypeIcParameterInner) ApiDcimFrontPortsListRequest { r.typeN = &typeN return r } +// * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other +func (r ApiDcimFrontPortsListRequest) TypeNic(typeNic []DcimFrontPortTemplatesListTypeIcParameterInner) ApiDcimFrontPortsListRequest { + r.typeNic = &typeNic + return r +} + +// * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other +func (r ApiDcimFrontPortsListRequest) TypeNie(typeNie []DcimFrontPortTemplatesListTypeIcParameterInner) ApiDcimFrontPortsListRequest { + r.typeNie = &typeNie + return r +} + +// * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other +func (r ApiDcimFrontPortsListRequest) TypeNiew(typeNiew []DcimFrontPortTemplatesListTypeIcParameterInner) ApiDcimFrontPortsListRequest { + r.typeNiew = &typeNiew + return r +} + +// * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other +func (r ApiDcimFrontPortsListRequest) TypeNisw(typeNisw []DcimFrontPortTemplatesListTypeIcParameterInner) ApiDcimFrontPortsListRequest { + r.typeNisw = &typeNisw + return r +} + func (r ApiDcimFrontPortsListRequest) UpdatedByRequest(updatedByRequest string) ApiDcimFrontPortsListRequest { r.updatedByRequest = &updatedByRequest return r @@ -35568,9 +36968,6 @@ func (a *DcimAPIService) DcimFrontPortsListExecute(r ApiDcimFrontPortsListReques if r.cableEnd != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "cable_end", r.cableEnd, "") } - if r.cableEndN != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "cable_end__n", r.cableEndN, "") - } if r.cableId != nil { t := *r.cableId if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -35946,6 +37343,163 @@ func (a *DcimAPIService) DcimFrontPortsListExecute(r ApiDcimFrontPortsListReques parameterAddToHeaderOrQuery(localVarQueryParams, "device_id__n", t, "multi") } } + if r.deviceRole != nil { + t := *r.deviceRole + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role", t, "multi") + } + } + if r.deviceRoleN != nil { + t := *r.deviceRoleN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role__n", t, "multi") + } + } + if r.deviceRoleId != nil { + t := *r.deviceRoleId + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role_id", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role_id", t, "multi") + } + } + if r.deviceRoleIdN != nil { + t := *r.deviceRoleIdN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role_id__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role_id__n", t, "multi") + } + } + if r.deviceStatus != nil { + t := *r.deviceStatus + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status", t, "multi") + } + } + if r.deviceStatusEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__empty", r.deviceStatusEmpty, "") + } + if r.deviceStatusIc != nil { + t := *r.deviceStatusIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__ic", t, "multi") + } + } + if r.deviceStatusIe != nil { + t := *r.deviceStatusIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__ie", t, "multi") + } + } + if r.deviceStatusIew != nil { + t := *r.deviceStatusIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__iew", t, "multi") + } + } + if r.deviceStatusIsw != nil { + t := *r.deviceStatusIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__isw", t, "multi") + } + } + if r.deviceStatusN != nil { + t := *r.deviceStatusN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__n", t, "multi") + } + } + if r.deviceStatusNic != nil { + t := *r.deviceStatusNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nic", t, "multi") + } + } + if r.deviceStatusNie != nil { + t := *r.deviceStatusNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nie", t, "multi") + } + } + if r.deviceStatusNiew != nil { + t := *r.deviceStatusNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__niew", t, "multi") + } + } + if r.deviceStatusNisw != nil { + t := *r.deviceStatusNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nisw", t, "multi") + } + } if r.deviceType != nil { t := *r.deviceType if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -36628,50 +38182,6 @@ func (a *DcimAPIService) DcimFrontPortsListExecute(r ApiDcimFrontPortsListReques parameterAddToHeaderOrQuery(localVarQueryParams, "region_id__n", t, "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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "role", t, "multi") - } - } - 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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "role__n", t, "multi") - } - } - if r.roleId != nil { - t := *r.roleId - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "role_id", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "role_id", t, "multi") - } - } - if r.roleIdN != nil { - t := *r.roleIdN - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "role_id__n", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "role_id__n", t, "multi") - } - } if r.site != nil { t := *r.site if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -36793,6 +38303,53 @@ func (a *DcimAPIService) DcimFrontPortsListExecute(r ApiDcimFrontPortsListReques parameterAddToHeaderOrQuery(localVarQueryParams, "type", t, "multi") } } + if r.typeEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__empty", r.typeEmpty, "") + } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__ic", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__ie", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__iew", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__isw", t, "multi") + } + } if r.typeN != nil { t := *r.typeN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -36804,6 +38361,50 @@ func (a *DcimAPIService) DcimFrontPortsListExecute(r ApiDcimFrontPortsListReques parameterAddToHeaderOrQuery(localVarQueryParams, "type__n", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__nic", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__nie", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__niew", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__nisw", t, "multi") + } + } if r.updatedByRequest != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "updated_by_request", r.updatedByRequest, "") } @@ -38030,8 +39631,6 @@ type ApiDcimInterfaceTemplatesListRequest struct { descriptionNisw *[]string deviceTypeId *[]*int32 deviceTypeIdN *[]*int32 - devicetypeId *[]*int32 - devicetypeIdN *[]*int32 enabled *bool id *[]int32 idEmpty *bool @@ -38063,8 +39662,6 @@ type ApiDcimInterfaceTemplatesListRequest struct { modifiedByRequest *string moduleTypeId *[]*int32 moduleTypeIdN *[]*int32 - moduletypeId *[]*int32 - moduletypeIdN *[]*int32 name *[]string nameEmpty *bool nameIc *[]string @@ -38079,14 +39676,50 @@ type ApiDcimInterfaceTemplatesListRequest struct { offset *int32 ordering *string poeMode *[]string - poeModeN *[]string + poeModeEmpty *bool + poeModeIc *[]DcimInterfaceTemplatesListPoeModeIcParameterInner + poeModeIe *[]DcimInterfaceTemplatesListPoeModeIcParameterInner + poeModeIew *[]DcimInterfaceTemplatesListPoeModeIcParameterInner + poeModeIsw *[]DcimInterfaceTemplatesListPoeModeIcParameterInner + poeModeN *[]DcimInterfaceTemplatesListPoeModeIcParameterInner + poeModeNic *[]DcimInterfaceTemplatesListPoeModeIcParameterInner + poeModeNie *[]DcimInterfaceTemplatesListPoeModeIcParameterInner + poeModeNiew *[]DcimInterfaceTemplatesListPoeModeIcParameterInner + poeModeNisw *[]DcimInterfaceTemplatesListPoeModeIcParameterInner poeType *[]string - poeTypeN *[]string + poeTypeEmpty *bool + poeTypeIc *[]DcimInterfaceTemplatesListPoeTypeIcParameterInner + poeTypeIe *[]DcimInterfaceTemplatesListPoeTypeIcParameterInner + poeTypeIew *[]DcimInterfaceTemplatesListPoeTypeIcParameterInner + poeTypeIsw *[]DcimInterfaceTemplatesListPoeTypeIcParameterInner + poeTypeN *[]DcimInterfaceTemplatesListPoeTypeIcParameterInner + poeTypeNic *[]DcimInterfaceTemplatesListPoeTypeIcParameterInner + poeTypeNie *[]DcimInterfaceTemplatesListPoeTypeIcParameterInner + poeTypeNiew *[]DcimInterfaceTemplatesListPoeTypeIcParameterInner + poeTypeNisw *[]DcimInterfaceTemplatesListPoeTypeIcParameterInner q *string rfRole *[]string - rfRoleN *[]string + rfRoleEmpty *bool + rfRoleIc *[]WirelessRole + rfRoleIe *[]WirelessRole + rfRoleIew *[]WirelessRole + rfRoleIsw *[]WirelessRole + rfRoleN *[]WirelessRole + rfRoleNic *[]WirelessRole + rfRoleNie *[]WirelessRole + rfRoleNiew *[]WirelessRole + rfRoleNisw *[]WirelessRole type_ *[]string - typeN *[]string + typeEmpty *bool + typeIc *[]DcimInterfaceTemplatesListTypeIcParameterInner + typeIe *[]DcimInterfaceTemplatesListTypeIcParameterInner + typeIew *[]DcimInterfaceTemplatesListTypeIcParameterInner + typeIsw *[]DcimInterfaceTemplatesListTypeIcParameterInner + typeN *[]DcimInterfaceTemplatesListTypeIcParameterInner + typeNic *[]DcimInterfaceTemplatesListTypeIcParameterInner + typeNie *[]DcimInterfaceTemplatesListTypeIcParameterInner + typeNiew *[]DcimInterfaceTemplatesListTypeIcParameterInner + typeNisw *[]DcimInterfaceTemplatesListTypeIcParameterInner updatedByRequest *string } @@ -38207,18 +39840,6 @@ func (r ApiDcimInterfaceTemplatesListRequest) DeviceTypeIdN(deviceTypeIdN []*int return r } -// Device type (ID) -func (r ApiDcimInterfaceTemplatesListRequest) DevicetypeId(devicetypeId []*int32) ApiDcimInterfaceTemplatesListRequest { - r.devicetypeId = &devicetypeId - return r -} - -// Device type (ID) -func (r ApiDcimInterfaceTemplatesListRequest) DevicetypeIdN(devicetypeIdN []*int32) ApiDcimInterfaceTemplatesListRequest { - r.devicetypeIdN = &devicetypeIdN - return r -} - func (r ApiDcimInterfaceTemplatesListRequest) Enabled(enabled bool) ApiDcimInterfaceTemplatesListRequest { r.enabled = &enabled return r @@ -38377,18 +39998,6 @@ func (r ApiDcimInterfaceTemplatesListRequest) ModuleTypeIdN(moduleTypeIdN []*int return r } -// Module type (ID) -func (r ApiDcimInterfaceTemplatesListRequest) ModuletypeId(moduletypeId []*int32) ApiDcimInterfaceTemplatesListRequest { - r.moduletypeId = &moduletypeId - return r -} - -// Module type (ID) -func (r ApiDcimInterfaceTemplatesListRequest) ModuletypeIdN(moduletypeIdN []*int32) ApiDcimInterfaceTemplatesListRequest { - r.moduletypeIdN = &moduletypeIdN - return r -} - func (r ApiDcimInterfaceTemplatesListRequest) Name(name []string) ApiDcimInterfaceTemplatesListRequest { r.name = &name return r @@ -38461,21 +40070,129 @@ func (r ApiDcimInterfaceTemplatesListRequest) PoeMode(poeMode []string) ApiDcimI return r } -func (r ApiDcimInterfaceTemplatesListRequest) PoeModeN(poeModeN []string) ApiDcimInterfaceTemplatesListRequest { +func (r ApiDcimInterfaceTemplatesListRequest) PoeModeEmpty(poeModeEmpty bool) ApiDcimInterfaceTemplatesListRequest { + r.poeModeEmpty = &poeModeEmpty + return r +} + +// * `pd` - PD * `pse` - PSE +func (r ApiDcimInterfaceTemplatesListRequest) PoeModeIc(poeModeIc []DcimInterfaceTemplatesListPoeModeIcParameterInner) ApiDcimInterfaceTemplatesListRequest { + r.poeModeIc = &poeModeIc + return r +} + +// * `pd` - PD * `pse` - PSE +func (r ApiDcimInterfaceTemplatesListRequest) PoeModeIe(poeModeIe []DcimInterfaceTemplatesListPoeModeIcParameterInner) ApiDcimInterfaceTemplatesListRequest { + r.poeModeIe = &poeModeIe + return r +} + +// * `pd` - PD * `pse` - PSE +func (r ApiDcimInterfaceTemplatesListRequest) PoeModeIew(poeModeIew []DcimInterfaceTemplatesListPoeModeIcParameterInner) ApiDcimInterfaceTemplatesListRequest { + r.poeModeIew = &poeModeIew + return r +} + +// * `pd` - PD * `pse` - PSE +func (r ApiDcimInterfaceTemplatesListRequest) PoeModeIsw(poeModeIsw []DcimInterfaceTemplatesListPoeModeIcParameterInner) ApiDcimInterfaceTemplatesListRequest { + r.poeModeIsw = &poeModeIsw + return r +} + +// * `pd` - PD * `pse` - PSE +func (r ApiDcimInterfaceTemplatesListRequest) PoeModeN(poeModeN []DcimInterfaceTemplatesListPoeModeIcParameterInner) ApiDcimInterfaceTemplatesListRequest { r.poeModeN = &poeModeN return r } +// * `pd` - PD * `pse` - PSE +func (r ApiDcimInterfaceTemplatesListRequest) PoeModeNic(poeModeNic []DcimInterfaceTemplatesListPoeModeIcParameterInner) ApiDcimInterfaceTemplatesListRequest { + r.poeModeNic = &poeModeNic + return r +} + +// * `pd` - PD * `pse` - PSE +func (r ApiDcimInterfaceTemplatesListRequest) PoeModeNie(poeModeNie []DcimInterfaceTemplatesListPoeModeIcParameterInner) ApiDcimInterfaceTemplatesListRequest { + r.poeModeNie = &poeModeNie + return r +} + +// * `pd` - PD * `pse` - PSE +func (r ApiDcimInterfaceTemplatesListRequest) PoeModeNiew(poeModeNiew []DcimInterfaceTemplatesListPoeModeIcParameterInner) ApiDcimInterfaceTemplatesListRequest { + r.poeModeNiew = &poeModeNiew + return r +} + +// * `pd` - PD * `pse` - PSE +func (r ApiDcimInterfaceTemplatesListRequest) PoeModeNisw(poeModeNisw []DcimInterfaceTemplatesListPoeModeIcParameterInner) ApiDcimInterfaceTemplatesListRequest { + r.poeModeNisw = &poeModeNisw + return r +} + func (r ApiDcimInterfaceTemplatesListRequest) PoeType(poeType []string) ApiDcimInterfaceTemplatesListRequest { r.poeType = &poeType return r } -func (r ApiDcimInterfaceTemplatesListRequest) PoeTypeN(poeTypeN []string) ApiDcimInterfaceTemplatesListRequest { +func (r ApiDcimInterfaceTemplatesListRequest) PoeTypeEmpty(poeTypeEmpty bool) ApiDcimInterfaceTemplatesListRequest { + r.poeTypeEmpty = &poeTypeEmpty + return r +} + +// * `type1-ieee802.3af` - 802.3af (Type 1) * `type2-ieee802.3at` - 802.3at (Type 2) * `type3-ieee802.3bt` - 802.3bt (Type 3) * `type4-ieee802.3bt` - 802.3bt (Type 4) * `passive-24v-2pair` - Passive 24V (2-pair) * `passive-24v-4pair` - Passive 24V (4-pair) * `passive-48v-2pair` - Passive 48V (2-pair) * `passive-48v-4pair` - Passive 48V (4-pair) +func (r ApiDcimInterfaceTemplatesListRequest) PoeTypeIc(poeTypeIc []DcimInterfaceTemplatesListPoeTypeIcParameterInner) ApiDcimInterfaceTemplatesListRequest { + r.poeTypeIc = &poeTypeIc + return r +} + +// * `type1-ieee802.3af` - 802.3af (Type 1) * `type2-ieee802.3at` - 802.3at (Type 2) * `type3-ieee802.3bt` - 802.3bt (Type 3) * `type4-ieee802.3bt` - 802.3bt (Type 4) * `passive-24v-2pair` - Passive 24V (2-pair) * `passive-24v-4pair` - Passive 24V (4-pair) * `passive-48v-2pair` - Passive 48V (2-pair) * `passive-48v-4pair` - Passive 48V (4-pair) +func (r ApiDcimInterfaceTemplatesListRequest) PoeTypeIe(poeTypeIe []DcimInterfaceTemplatesListPoeTypeIcParameterInner) ApiDcimInterfaceTemplatesListRequest { + r.poeTypeIe = &poeTypeIe + return r +} + +// * `type1-ieee802.3af` - 802.3af (Type 1) * `type2-ieee802.3at` - 802.3at (Type 2) * `type3-ieee802.3bt` - 802.3bt (Type 3) * `type4-ieee802.3bt` - 802.3bt (Type 4) * `passive-24v-2pair` - Passive 24V (2-pair) * `passive-24v-4pair` - Passive 24V (4-pair) * `passive-48v-2pair` - Passive 48V (2-pair) * `passive-48v-4pair` - Passive 48V (4-pair) +func (r ApiDcimInterfaceTemplatesListRequest) PoeTypeIew(poeTypeIew []DcimInterfaceTemplatesListPoeTypeIcParameterInner) ApiDcimInterfaceTemplatesListRequest { + r.poeTypeIew = &poeTypeIew + return r +} + +// * `type1-ieee802.3af` - 802.3af (Type 1) * `type2-ieee802.3at` - 802.3at (Type 2) * `type3-ieee802.3bt` - 802.3bt (Type 3) * `type4-ieee802.3bt` - 802.3bt (Type 4) * `passive-24v-2pair` - Passive 24V (2-pair) * `passive-24v-4pair` - Passive 24V (4-pair) * `passive-48v-2pair` - Passive 48V (2-pair) * `passive-48v-4pair` - Passive 48V (4-pair) +func (r ApiDcimInterfaceTemplatesListRequest) PoeTypeIsw(poeTypeIsw []DcimInterfaceTemplatesListPoeTypeIcParameterInner) ApiDcimInterfaceTemplatesListRequest { + r.poeTypeIsw = &poeTypeIsw + return r +} + +// * `type1-ieee802.3af` - 802.3af (Type 1) * `type2-ieee802.3at` - 802.3at (Type 2) * `type3-ieee802.3bt` - 802.3bt (Type 3) * `type4-ieee802.3bt` - 802.3bt (Type 4) * `passive-24v-2pair` - Passive 24V (2-pair) * `passive-24v-4pair` - Passive 24V (4-pair) * `passive-48v-2pair` - Passive 48V (2-pair) * `passive-48v-4pair` - Passive 48V (4-pair) +func (r ApiDcimInterfaceTemplatesListRequest) PoeTypeN(poeTypeN []DcimInterfaceTemplatesListPoeTypeIcParameterInner) ApiDcimInterfaceTemplatesListRequest { r.poeTypeN = &poeTypeN return r } +// * `type1-ieee802.3af` - 802.3af (Type 1) * `type2-ieee802.3at` - 802.3at (Type 2) * `type3-ieee802.3bt` - 802.3bt (Type 3) * `type4-ieee802.3bt` - 802.3bt (Type 4) * `passive-24v-2pair` - Passive 24V (2-pair) * `passive-24v-4pair` - Passive 24V (4-pair) * `passive-48v-2pair` - Passive 48V (2-pair) * `passive-48v-4pair` - Passive 48V (4-pair) +func (r ApiDcimInterfaceTemplatesListRequest) PoeTypeNic(poeTypeNic []DcimInterfaceTemplatesListPoeTypeIcParameterInner) ApiDcimInterfaceTemplatesListRequest { + r.poeTypeNic = &poeTypeNic + return r +} + +// * `type1-ieee802.3af` - 802.3af (Type 1) * `type2-ieee802.3at` - 802.3at (Type 2) * `type3-ieee802.3bt` - 802.3bt (Type 3) * `type4-ieee802.3bt` - 802.3bt (Type 4) * `passive-24v-2pair` - Passive 24V (2-pair) * `passive-24v-4pair` - Passive 24V (4-pair) * `passive-48v-2pair` - Passive 48V (2-pair) * `passive-48v-4pair` - Passive 48V (4-pair) +func (r ApiDcimInterfaceTemplatesListRequest) PoeTypeNie(poeTypeNie []DcimInterfaceTemplatesListPoeTypeIcParameterInner) ApiDcimInterfaceTemplatesListRequest { + r.poeTypeNie = &poeTypeNie + return r +} + +// * `type1-ieee802.3af` - 802.3af (Type 1) * `type2-ieee802.3at` - 802.3at (Type 2) * `type3-ieee802.3bt` - 802.3bt (Type 3) * `type4-ieee802.3bt` - 802.3bt (Type 4) * `passive-24v-2pair` - Passive 24V (2-pair) * `passive-24v-4pair` - Passive 24V (4-pair) * `passive-48v-2pair` - Passive 48V (2-pair) * `passive-48v-4pair` - Passive 48V (4-pair) +func (r ApiDcimInterfaceTemplatesListRequest) PoeTypeNiew(poeTypeNiew []DcimInterfaceTemplatesListPoeTypeIcParameterInner) ApiDcimInterfaceTemplatesListRequest { + r.poeTypeNiew = &poeTypeNiew + return r +} + +// * `type1-ieee802.3af` - 802.3af (Type 1) * `type2-ieee802.3at` - 802.3at (Type 2) * `type3-ieee802.3bt` - 802.3bt (Type 3) * `type4-ieee802.3bt` - 802.3bt (Type 4) * `passive-24v-2pair` - Passive 24V (2-pair) * `passive-24v-4pair` - Passive 24V (4-pair) * `passive-48v-2pair` - Passive 48V (2-pair) * `passive-48v-4pair` - Passive 48V (4-pair) +func (r ApiDcimInterfaceTemplatesListRequest) PoeTypeNisw(poeTypeNisw []DcimInterfaceTemplatesListPoeTypeIcParameterInner) ApiDcimInterfaceTemplatesListRequest { + r.poeTypeNisw = &poeTypeNisw + return r +} + // Search func (r ApiDcimInterfaceTemplatesListRequest) Q(q string) ApiDcimInterfaceTemplatesListRequest { r.q = &q @@ -38487,21 +40204,129 @@ func (r ApiDcimInterfaceTemplatesListRequest) RfRole(rfRole []string) ApiDcimInt return r } -func (r ApiDcimInterfaceTemplatesListRequest) RfRoleN(rfRoleN []string) ApiDcimInterfaceTemplatesListRequest { +func (r ApiDcimInterfaceTemplatesListRequest) RfRoleEmpty(rfRoleEmpty bool) ApiDcimInterfaceTemplatesListRequest { + r.rfRoleEmpty = &rfRoleEmpty + return r +} + +// * `ap` - Access point * `station` - Station +func (r ApiDcimInterfaceTemplatesListRequest) RfRoleIc(rfRoleIc []WirelessRole) ApiDcimInterfaceTemplatesListRequest { + r.rfRoleIc = &rfRoleIc + return r +} + +// * `ap` - Access point * `station` - Station +func (r ApiDcimInterfaceTemplatesListRequest) RfRoleIe(rfRoleIe []WirelessRole) ApiDcimInterfaceTemplatesListRequest { + r.rfRoleIe = &rfRoleIe + return r +} + +// * `ap` - Access point * `station` - Station +func (r ApiDcimInterfaceTemplatesListRequest) RfRoleIew(rfRoleIew []WirelessRole) ApiDcimInterfaceTemplatesListRequest { + r.rfRoleIew = &rfRoleIew + return r +} + +// * `ap` - Access point * `station` - Station +func (r ApiDcimInterfaceTemplatesListRequest) RfRoleIsw(rfRoleIsw []WirelessRole) ApiDcimInterfaceTemplatesListRequest { + r.rfRoleIsw = &rfRoleIsw + return r +} + +// * `ap` - Access point * `station` - Station +func (r ApiDcimInterfaceTemplatesListRequest) RfRoleN(rfRoleN []WirelessRole) ApiDcimInterfaceTemplatesListRequest { r.rfRoleN = &rfRoleN return r } +// * `ap` - Access point * `station` - Station +func (r ApiDcimInterfaceTemplatesListRequest) RfRoleNic(rfRoleNic []WirelessRole) ApiDcimInterfaceTemplatesListRequest { + r.rfRoleNic = &rfRoleNic + return r +} + +// * `ap` - Access point * `station` - Station +func (r ApiDcimInterfaceTemplatesListRequest) RfRoleNie(rfRoleNie []WirelessRole) ApiDcimInterfaceTemplatesListRequest { + r.rfRoleNie = &rfRoleNie + return r +} + +// * `ap` - Access point * `station` - Station +func (r ApiDcimInterfaceTemplatesListRequest) RfRoleNiew(rfRoleNiew []WirelessRole) ApiDcimInterfaceTemplatesListRequest { + r.rfRoleNiew = &rfRoleNiew + return r +} + +// * `ap` - Access point * `station` - Station +func (r ApiDcimInterfaceTemplatesListRequest) RfRoleNisw(rfRoleNisw []WirelessRole) ApiDcimInterfaceTemplatesListRequest { + r.rfRoleNisw = &rfRoleNisw + return r +} + func (r ApiDcimInterfaceTemplatesListRequest) Type_(type_ []string) ApiDcimInterfaceTemplatesListRequest { r.type_ = &type_ return r } -func (r ApiDcimInterfaceTemplatesListRequest) TypeN(typeN []string) ApiDcimInterfaceTemplatesListRequest { +func (r ApiDcimInterfaceTemplatesListRequest) TypeEmpty(typeEmpty bool) ApiDcimInterfaceTemplatesListRequest { + r.typeEmpty = &typeEmpty + return r +} + +// * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other +func (r ApiDcimInterfaceTemplatesListRequest) TypeIc(typeIc []DcimInterfaceTemplatesListTypeIcParameterInner) ApiDcimInterfaceTemplatesListRequest { + r.typeIc = &typeIc + return r +} + +// * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other +func (r ApiDcimInterfaceTemplatesListRequest) TypeIe(typeIe []DcimInterfaceTemplatesListTypeIcParameterInner) ApiDcimInterfaceTemplatesListRequest { + r.typeIe = &typeIe + return r +} + +// * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other +func (r ApiDcimInterfaceTemplatesListRequest) TypeIew(typeIew []DcimInterfaceTemplatesListTypeIcParameterInner) ApiDcimInterfaceTemplatesListRequest { + r.typeIew = &typeIew + return r +} + +// * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other +func (r ApiDcimInterfaceTemplatesListRequest) TypeIsw(typeIsw []DcimInterfaceTemplatesListTypeIcParameterInner) ApiDcimInterfaceTemplatesListRequest { + r.typeIsw = &typeIsw + return r +} + +// * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other +func (r ApiDcimInterfaceTemplatesListRequest) TypeN(typeN []DcimInterfaceTemplatesListTypeIcParameterInner) ApiDcimInterfaceTemplatesListRequest { r.typeN = &typeN return r } +// * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other +func (r ApiDcimInterfaceTemplatesListRequest) TypeNic(typeNic []DcimInterfaceTemplatesListTypeIcParameterInner) ApiDcimInterfaceTemplatesListRequest { + r.typeNic = &typeNic + return r +} + +// * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other +func (r ApiDcimInterfaceTemplatesListRequest) TypeNie(typeNie []DcimInterfaceTemplatesListTypeIcParameterInner) ApiDcimInterfaceTemplatesListRequest { + r.typeNie = &typeNie + return r +} + +// * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other +func (r ApiDcimInterfaceTemplatesListRequest) TypeNiew(typeNiew []DcimInterfaceTemplatesListTypeIcParameterInner) ApiDcimInterfaceTemplatesListRequest { + r.typeNiew = &typeNiew + return r +} + +// * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other +func (r ApiDcimInterfaceTemplatesListRequest) TypeNisw(typeNisw []DcimInterfaceTemplatesListTypeIcParameterInner) ApiDcimInterfaceTemplatesListRequest { + r.typeNisw = &typeNisw + return r +} + func (r ApiDcimInterfaceTemplatesListRequest) UpdatedByRequest(updatedByRequest string) ApiDcimInterfaceTemplatesListRequest { r.updatedByRequest = &updatedByRequest return r @@ -38785,28 +40610,6 @@ func (a *DcimAPIService) DcimInterfaceTemplatesListExecute(r ApiDcimInterfaceTem parameterAddToHeaderOrQuery(localVarQueryParams, "device_type_id__n", t, "multi") } } - if r.devicetypeId != nil { - t := *r.devicetypeId - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "devicetype_id", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "devicetype_id", t, "multi") - } - } - if r.devicetypeIdN != nil { - t := *r.devicetypeIdN - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "devicetype_id__n", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "devicetype_id__n", t, "multi") - } - } if r.enabled != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "enabled", r.enabled, "") } @@ -39100,28 +40903,6 @@ func (a *DcimAPIService) DcimInterfaceTemplatesListExecute(r ApiDcimInterfaceTem parameterAddToHeaderOrQuery(localVarQueryParams, "module_type_id__n", t, "multi") } } - if r.moduletypeId != nil { - t := *r.moduletypeId - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "moduletype_id", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "moduletype_id", t, "multi") - } - } - if r.moduletypeIdN != nil { - t := *r.moduletypeIdN - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "moduletype_id__n", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "moduletype_id__n", t, "multi") - } - } if r.name != nil { t := *r.name if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -39252,6 +41033,53 @@ func (a *DcimAPIService) DcimInterfaceTemplatesListExecute(r ApiDcimInterfaceTem parameterAddToHeaderOrQuery(localVarQueryParams, "poe_mode", t, "multi") } } + if r.poeModeEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_mode__empty", r.poeModeEmpty, "") + } + if r.poeModeIc != nil { + t := *r.poeModeIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_mode__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_mode__ic", t, "multi") + } + } + if r.poeModeIe != nil { + t := *r.poeModeIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_mode__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_mode__ie", t, "multi") + } + } + if r.poeModeIew != nil { + t := *r.poeModeIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_mode__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_mode__iew", t, "multi") + } + } + if r.poeModeIsw != nil { + t := *r.poeModeIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_mode__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_mode__isw", t, "multi") + } + } if r.poeModeN != nil { t := *r.poeModeN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -39263,6 +41091,50 @@ func (a *DcimAPIService) DcimInterfaceTemplatesListExecute(r ApiDcimInterfaceTem parameterAddToHeaderOrQuery(localVarQueryParams, "poe_mode__n", t, "multi") } } + if r.poeModeNic != nil { + t := *r.poeModeNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_mode__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_mode__nic", t, "multi") + } + } + if r.poeModeNie != nil { + t := *r.poeModeNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_mode__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_mode__nie", t, "multi") + } + } + if r.poeModeNiew != nil { + t := *r.poeModeNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_mode__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_mode__niew", t, "multi") + } + } + if r.poeModeNisw != nil { + t := *r.poeModeNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_mode__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_mode__nisw", t, "multi") + } + } if r.poeType != nil { t := *r.poeType if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -39274,6 +41146,53 @@ func (a *DcimAPIService) DcimInterfaceTemplatesListExecute(r ApiDcimInterfaceTem parameterAddToHeaderOrQuery(localVarQueryParams, "poe_type", t, "multi") } } + if r.poeTypeEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_type__empty", r.poeTypeEmpty, "") + } + if r.poeTypeIc != nil { + t := *r.poeTypeIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_type__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_type__ic", t, "multi") + } + } + if r.poeTypeIe != nil { + t := *r.poeTypeIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_type__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_type__ie", t, "multi") + } + } + if r.poeTypeIew != nil { + t := *r.poeTypeIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_type__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_type__iew", t, "multi") + } + } + if r.poeTypeIsw != nil { + t := *r.poeTypeIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_type__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_type__isw", t, "multi") + } + } if r.poeTypeN != nil { t := *r.poeTypeN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -39285,6 +41204,50 @@ func (a *DcimAPIService) DcimInterfaceTemplatesListExecute(r ApiDcimInterfaceTem parameterAddToHeaderOrQuery(localVarQueryParams, "poe_type__n", t, "multi") } } + if r.poeTypeNic != nil { + t := *r.poeTypeNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_type__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_type__nic", t, "multi") + } + } + if r.poeTypeNie != nil { + t := *r.poeTypeNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_type__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_type__nie", t, "multi") + } + } + if r.poeTypeNiew != nil { + t := *r.poeTypeNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_type__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_type__niew", t, "multi") + } + } + if r.poeTypeNisw != nil { + t := *r.poeTypeNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_type__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_type__nisw", t, "multi") + } + } if r.q != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "") } @@ -39299,6 +41262,53 @@ func (a *DcimAPIService) DcimInterfaceTemplatesListExecute(r ApiDcimInterfaceTem parameterAddToHeaderOrQuery(localVarQueryParams, "rf_role", t, "multi") } } + if r.rfRoleEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "rf_role__empty", r.rfRoleEmpty, "") + } + if r.rfRoleIc != nil { + t := *r.rfRoleIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "rf_role__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "rf_role__ic", t, "multi") + } + } + if r.rfRoleIe != nil { + t := *r.rfRoleIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "rf_role__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "rf_role__ie", t, "multi") + } + } + if r.rfRoleIew != nil { + t := *r.rfRoleIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "rf_role__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "rf_role__iew", t, "multi") + } + } + if r.rfRoleIsw != nil { + t := *r.rfRoleIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "rf_role__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "rf_role__isw", t, "multi") + } + } if r.rfRoleN != nil { t := *r.rfRoleN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -39310,6 +41320,50 @@ func (a *DcimAPIService) DcimInterfaceTemplatesListExecute(r ApiDcimInterfaceTem parameterAddToHeaderOrQuery(localVarQueryParams, "rf_role__n", t, "multi") } } + if r.rfRoleNic != nil { + t := *r.rfRoleNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "rf_role__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "rf_role__nic", t, "multi") + } + } + if r.rfRoleNie != nil { + t := *r.rfRoleNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "rf_role__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "rf_role__nie", t, "multi") + } + } + if r.rfRoleNiew != nil { + t := *r.rfRoleNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "rf_role__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "rf_role__niew", t, "multi") + } + } + if r.rfRoleNisw != nil { + t := *r.rfRoleNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "rf_role__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "rf_role__nisw", t, "multi") + } + } if r.type_ != nil { t := *r.type_ if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -39321,6 +41375,53 @@ func (a *DcimAPIService) DcimInterfaceTemplatesListExecute(r ApiDcimInterfaceTem parameterAddToHeaderOrQuery(localVarQueryParams, "type", t, "multi") } } + if r.typeEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__empty", r.typeEmpty, "") + } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__ic", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__ie", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__iew", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__isw", t, "multi") + } + } if r.typeN != nil { t := *r.typeN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -39332,6 +41433,50 @@ func (a *DcimAPIService) DcimInterfaceTemplatesListExecute(r ApiDcimInterfaceTem parameterAddToHeaderOrQuery(localVarQueryParams, "type__n", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__nic", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__nie", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__niew", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__nisw", t, "multi") + } + } if r.updatedByRequest != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "updated_by_request", r.updatedByRequest, "") } @@ -40376,7 +42521,6 @@ type ApiDcimInterfacesListRequest struct { bridgeId *[]int32 bridgeIdN *[]int32 cableEnd *CircuitsCircuitTerminationsListCableEndParameter - cableEndN *CircuitsCircuitTerminationsListCableEndParameter cableId *[]*int32 cableIdN *[]*int32 cabled *bool @@ -40404,12 +42548,36 @@ type ApiDcimInterfacesListRequest struct { deviceN *[]*string deviceId *[]int32 deviceIdN *[]int32 + deviceRole *[]string + deviceRoleN *[]string + deviceRoleId *[]int32 + deviceRoleIdN *[]int32 + deviceStatus *[]string + deviceStatusEmpty *bool + deviceStatusIc *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusIe *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusIew *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusIsw *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusN *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusNic *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusNie *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusNiew *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusNisw *[]DcimConsolePortsListDeviceStatusIcParameterInner deviceType *[]string deviceTypeN *[]string deviceTypeId *[]int32 deviceTypeIdN *[]int32 duplex *[]*string - duplexN *[]*string + duplexEmpty *bool + duplexIc *[]DcimInterfacesListDuplexIcParameterInner + duplexIe *[]DcimInterfacesListDuplexIcParameterInner + duplexIew *[]DcimInterfacesListDuplexIcParameterInner + duplexIsw *[]DcimInterfacesListDuplexIcParameterInner + duplexN *[]DcimInterfacesListDuplexIcParameterInner + duplexNic *[]DcimInterfacesListDuplexIcParameterInner + duplexNie *[]DcimInterfacesListDuplexIcParameterInner + duplexNiew *[]DcimInterfacesListDuplexIcParameterInner + duplexNisw *[]DcimInterfacesListDuplexIcParameterInner enabled *bool id *[]int32 idEmpty *bool @@ -40461,7 +42629,6 @@ type ApiDcimInterfacesListRequest struct { markConnected *bool mgmtOnly *bool mode *DcimInterfacesListModeParameter - modeN *DcimInterfacesListModeParameter modifiedByRequest *string moduleId *[]*int32 moduleIdN *[]*int32 @@ -40489,20 +42656,47 @@ type ApiDcimInterfacesListRequest struct { parentId *[]int32 parentIdN *[]int32 poeMode *[]string - poeModeN *[]string + poeModeEmpty *bool + poeModeIc *[]DcimInterfaceTemplatesListPoeModeIcParameterInner + poeModeIe *[]DcimInterfaceTemplatesListPoeModeIcParameterInner + poeModeIew *[]DcimInterfaceTemplatesListPoeModeIcParameterInner + poeModeIsw *[]DcimInterfaceTemplatesListPoeModeIcParameterInner + poeModeN *[]DcimInterfaceTemplatesListPoeModeIcParameterInner + poeModeNic *[]DcimInterfaceTemplatesListPoeModeIcParameterInner + poeModeNie *[]DcimInterfaceTemplatesListPoeModeIcParameterInner + poeModeNiew *[]DcimInterfaceTemplatesListPoeModeIcParameterInner + poeModeNisw *[]DcimInterfaceTemplatesListPoeModeIcParameterInner poeType *[]string - poeTypeN *[]string + poeTypeEmpty *bool + poeTypeIc *[]DcimInterfaceTemplatesListPoeTypeIcParameterInner + poeTypeIe *[]DcimInterfaceTemplatesListPoeTypeIcParameterInner + poeTypeIew *[]DcimInterfaceTemplatesListPoeTypeIcParameterInner + poeTypeIsw *[]DcimInterfaceTemplatesListPoeTypeIcParameterInner + poeTypeN *[]DcimInterfaceTemplatesListPoeTypeIcParameterInner + poeTypeNic *[]DcimInterfaceTemplatesListPoeTypeIcParameterInner + poeTypeNie *[]DcimInterfaceTemplatesListPoeTypeIcParameterInner + poeTypeNiew *[]DcimInterfaceTemplatesListPoeTypeIcParameterInner + poeTypeNisw *[]DcimInterfaceTemplatesListPoeTypeIcParameterInner q *string rack *[]string rackN *[]string rackId *[]int32 rackIdN *[]int32 - region *[]int32 - regionN *[]int32 - regionId *[]int32 - regionIdN *[]int32 + region *[]string + regionN *[]string + regionId *[]string + regionIdN *[]string rfChannel *[]string - rfChannelN *[]string + rfChannelEmpty *bool + rfChannelIc *[]WirelessChannel + rfChannelIe *[]WirelessChannel + rfChannelIew *[]WirelessChannel + rfChannelIsw *[]WirelessChannel + rfChannelN *[]WirelessChannel + rfChannelNic *[]WirelessChannel + rfChannelNie *[]WirelessChannel + rfChannelNiew *[]WirelessChannel + rfChannelNisw *[]WirelessChannel rfChannelFrequency *[]float64 rfChannelFrequencyEmpty *bool rfChannelFrequencyGt *[]float64 @@ -40518,17 +42712,22 @@ type ApiDcimInterfacesListRequest struct { rfChannelWidthLte *[]float64 rfChannelWidthN *[]float64 rfRole *[]string - rfRoleN *[]string - role *[]string - roleN *[]string - roleId *[]int32 - roleIdN *[]int32 + rfRoleEmpty *bool + rfRoleIc *[]WirelessRole + rfRoleIe *[]WirelessRole + rfRoleIew *[]WirelessRole + rfRoleIsw *[]WirelessRole + rfRoleN *[]WirelessRole + rfRoleNic *[]WirelessRole + rfRoleNie *[]WirelessRole + rfRoleNiew *[]WirelessRole + rfRoleNisw *[]WirelessRole site *[]string siteN *[]string - siteGroup *[]int32 - siteGroupN *[]int32 - siteGroupId *[]int32 - siteGroupIdN *[]int32 + siteGroup *[]string + siteGroupN *[]string + siteGroupId *[]string + siteGroupIdN *[]string siteId *[]int32 siteIdN *[]int32 speed *[]int32 @@ -40548,7 +42747,16 @@ type ApiDcimInterfacesListRequest struct { txPowerLte *[]int32 txPowerN *[]int32 type_ *[]string - typeN *[]string + typeEmpty *bool + typeIc *[]DcimInterfaceTemplatesListTypeIcParameterInner + typeIe *[]DcimInterfaceTemplatesListTypeIcParameterInner + typeIew *[]DcimInterfaceTemplatesListTypeIcParameterInner + typeIsw *[]DcimInterfaceTemplatesListTypeIcParameterInner + typeN *[]DcimInterfaceTemplatesListTypeIcParameterInner + typeNic *[]DcimInterfaceTemplatesListTypeIcParameterInner + typeNie *[]DcimInterfaceTemplatesListTypeIcParameterInner + typeNiew *[]DcimInterfaceTemplatesListTypeIcParameterInner + typeNisw *[]DcimInterfaceTemplatesListTypeIcParameterInner updatedByRequest *string vdc *[]string vdcN *[]string @@ -40602,12 +42810,6 @@ func (r ApiDcimInterfacesListRequest) CableEnd(cableEnd CircuitsCircuitTerminati return r } -// * `A` - A * `B` - B -func (r ApiDcimInterfacesListRequest) CableEndN(cableEndN CircuitsCircuitTerminationsListCableEndParameter) ApiDcimInterfacesListRequest { - r.cableEndN = &cableEndN - return r -} - // Cable (ID) func (r ApiDcimInterfacesListRequest) CableId(cableId []*int32) ApiDcimInterfacesListRequest { r.cableId = &cableId @@ -40749,6 +42951,94 @@ func (r ApiDcimInterfacesListRequest) DeviceIdN(deviceIdN []int32) ApiDcimInterf return r } +// Device role (slug) +func (r ApiDcimInterfacesListRequest) DeviceRole(deviceRole []string) ApiDcimInterfacesListRequest { + r.deviceRole = &deviceRole + return r +} + +// Device role (slug) +func (r ApiDcimInterfacesListRequest) DeviceRoleN(deviceRoleN []string) ApiDcimInterfacesListRequest { + r.deviceRoleN = &deviceRoleN + return r +} + +// Device role (ID) +func (r ApiDcimInterfacesListRequest) DeviceRoleId(deviceRoleId []int32) ApiDcimInterfacesListRequest { + r.deviceRoleId = &deviceRoleId + return r +} + +// Device role (ID) +func (r ApiDcimInterfacesListRequest) DeviceRoleIdN(deviceRoleIdN []int32) ApiDcimInterfacesListRequest { + r.deviceRoleIdN = &deviceRoleIdN + return r +} + +func (r ApiDcimInterfacesListRequest) DeviceStatus(deviceStatus []string) ApiDcimInterfacesListRequest { + r.deviceStatus = &deviceStatus + return r +} + +func (r ApiDcimInterfacesListRequest) DeviceStatusEmpty(deviceStatusEmpty bool) ApiDcimInterfacesListRequest { + r.deviceStatusEmpty = &deviceStatusEmpty + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimInterfacesListRequest) DeviceStatusIc(deviceStatusIc []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimInterfacesListRequest { + r.deviceStatusIc = &deviceStatusIc + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimInterfacesListRequest) DeviceStatusIe(deviceStatusIe []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimInterfacesListRequest { + r.deviceStatusIe = &deviceStatusIe + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimInterfacesListRequest) DeviceStatusIew(deviceStatusIew []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimInterfacesListRequest { + r.deviceStatusIew = &deviceStatusIew + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimInterfacesListRequest) DeviceStatusIsw(deviceStatusIsw []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimInterfacesListRequest { + r.deviceStatusIsw = &deviceStatusIsw + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimInterfacesListRequest) DeviceStatusN(deviceStatusN []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimInterfacesListRequest { + r.deviceStatusN = &deviceStatusN + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimInterfacesListRequest) DeviceStatusNic(deviceStatusNic []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimInterfacesListRequest { + r.deviceStatusNic = &deviceStatusNic + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimInterfacesListRequest) DeviceStatusNie(deviceStatusNie []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimInterfacesListRequest { + r.deviceStatusNie = &deviceStatusNie + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimInterfacesListRequest) DeviceStatusNiew(deviceStatusNiew []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimInterfacesListRequest { + r.deviceStatusNiew = &deviceStatusNiew + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimInterfacesListRequest) DeviceStatusNisw(deviceStatusNisw []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimInterfacesListRequest { + r.deviceStatusNisw = &deviceStatusNisw + return r +} + // Device type (model) func (r ApiDcimInterfacesListRequest) DeviceType(deviceType []string) ApiDcimInterfacesListRequest { r.deviceType = &deviceType @@ -40778,11 +43068,65 @@ func (r ApiDcimInterfacesListRequest) Duplex(duplex []*string) ApiDcimInterfaces return r } -func (r ApiDcimInterfacesListRequest) DuplexN(duplexN []*string) ApiDcimInterfacesListRequest { +func (r ApiDcimInterfacesListRequest) DuplexEmpty(duplexEmpty bool) ApiDcimInterfacesListRequest { + r.duplexEmpty = &duplexEmpty + return r +} + +// * `half` - Half * `full` - Full * `auto` - Auto +func (r ApiDcimInterfacesListRequest) DuplexIc(duplexIc []DcimInterfacesListDuplexIcParameterInner) ApiDcimInterfacesListRequest { + r.duplexIc = &duplexIc + return r +} + +// * `half` - Half * `full` - Full * `auto` - Auto +func (r ApiDcimInterfacesListRequest) DuplexIe(duplexIe []DcimInterfacesListDuplexIcParameterInner) ApiDcimInterfacesListRequest { + r.duplexIe = &duplexIe + return r +} + +// * `half` - Half * `full` - Full * `auto` - Auto +func (r ApiDcimInterfacesListRequest) DuplexIew(duplexIew []DcimInterfacesListDuplexIcParameterInner) ApiDcimInterfacesListRequest { + r.duplexIew = &duplexIew + return r +} + +// * `half` - Half * `full` - Full * `auto` - Auto +func (r ApiDcimInterfacesListRequest) DuplexIsw(duplexIsw []DcimInterfacesListDuplexIcParameterInner) ApiDcimInterfacesListRequest { + r.duplexIsw = &duplexIsw + return r +} + +// * `half` - Half * `full` - Full * `auto` - Auto +func (r ApiDcimInterfacesListRequest) DuplexN(duplexN []DcimInterfacesListDuplexIcParameterInner) ApiDcimInterfacesListRequest { r.duplexN = &duplexN return r } +// * `half` - Half * `full` - Full * `auto` - Auto +func (r ApiDcimInterfacesListRequest) DuplexNic(duplexNic []DcimInterfacesListDuplexIcParameterInner) ApiDcimInterfacesListRequest { + r.duplexNic = &duplexNic + return r +} + +// * `half` - Half * `full` - Full * `auto` - Auto +func (r ApiDcimInterfacesListRequest) DuplexNie(duplexNie []DcimInterfacesListDuplexIcParameterInner) ApiDcimInterfacesListRequest { + r.duplexNie = &duplexNie + return r +} + +// * `half` - Half * `full` - Full * `auto` - Auto +func (r ApiDcimInterfacesListRequest) DuplexNiew(duplexNiew []DcimInterfacesListDuplexIcParameterInner) ApiDcimInterfacesListRequest { + r.duplexNiew = &duplexNiew + return r +} + +// * `half` - Half * `full` - Full * `auto` - Auto +func (r ApiDcimInterfacesListRequest) DuplexNisw(duplexNisw []DcimInterfacesListDuplexIcParameterInner) ApiDcimInterfacesListRequest { + r.duplexNisw = &duplexNisw + return r +} + func (r ApiDcimInterfacesListRequest) Enabled(enabled bool) ApiDcimInterfacesListRequest { r.enabled = &enabled return r @@ -41051,12 +43395,6 @@ func (r ApiDcimInterfacesListRequest) Mode(mode DcimInterfacesListModeParameter) return r } -// IEEE 802.1Q tagging strategy * `access` - Access * `tagged` - Tagged * `tagged-all` - Tagged (All) -func (r ApiDcimInterfacesListRequest) ModeN(modeN DcimInterfacesListModeParameter) ApiDcimInterfacesListRequest { - r.modeN = &modeN - return r -} - func (r ApiDcimInterfacesListRequest) ModifiedByRequest(modifiedByRequest string) ApiDcimInterfacesListRequest { r.modifiedByRequest = &modifiedByRequest return r @@ -41198,21 +43536,129 @@ func (r ApiDcimInterfacesListRequest) PoeMode(poeMode []string) ApiDcimInterface return r } -func (r ApiDcimInterfacesListRequest) PoeModeN(poeModeN []string) ApiDcimInterfacesListRequest { +func (r ApiDcimInterfacesListRequest) PoeModeEmpty(poeModeEmpty bool) ApiDcimInterfacesListRequest { + r.poeModeEmpty = &poeModeEmpty + return r +} + +// * `pd` - PD * `pse` - PSE +func (r ApiDcimInterfacesListRequest) PoeModeIc(poeModeIc []DcimInterfaceTemplatesListPoeModeIcParameterInner) ApiDcimInterfacesListRequest { + r.poeModeIc = &poeModeIc + return r +} + +// * `pd` - PD * `pse` - PSE +func (r ApiDcimInterfacesListRequest) PoeModeIe(poeModeIe []DcimInterfaceTemplatesListPoeModeIcParameterInner) ApiDcimInterfacesListRequest { + r.poeModeIe = &poeModeIe + return r +} + +// * `pd` - PD * `pse` - PSE +func (r ApiDcimInterfacesListRequest) PoeModeIew(poeModeIew []DcimInterfaceTemplatesListPoeModeIcParameterInner) ApiDcimInterfacesListRequest { + r.poeModeIew = &poeModeIew + return r +} + +// * `pd` - PD * `pse` - PSE +func (r ApiDcimInterfacesListRequest) PoeModeIsw(poeModeIsw []DcimInterfaceTemplatesListPoeModeIcParameterInner) ApiDcimInterfacesListRequest { + r.poeModeIsw = &poeModeIsw + return r +} + +// * `pd` - PD * `pse` - PSE +func (r ApiDcimInterfacesListRequest) PoeModeN(poeModeN []DcimInterfaceTemplatesListPoeModeIcParameterInner) ApiDcimInterfacesListRequest { r.poeModeN = &poeModeN return r } +// * `pd` - PD * `pse` - PSE +func (r ApiDcimInterfacesListRequest) PoeModeNic(poeModeNic []DcimInterfaceTemplatesListPoeModeIcParameterInner) ApiDcimInterfacesListRequest { + r.poeModeNic = &poeModeNic + return r +} + +// * `pd` - PD * `pse` - PSE +func (r ApiDcimInterfacesListRequest) PoeModeNie(poeModeNie []DcimInterfaceTemplatesListPoeModeIcParameterInner) ApiDcimInterfacesListRequest { + r.poeModeNie = &poeModeNie + return r +} + +// * `pd` - PD * `pse` - PSE +func (r ApiDcimInterfacesListRequest) PoeModeNiew(poeModeNiew []DcimInterfaceTemplatesListPoeModeIcParameterInner) ApiDcimInterfacesListRequest { + r.poeModeNiew = &poeModeNiew + return r +} + +// * `pd` - PD * `pse` - PSE +func (r ApiDcimInterfacesListRequest) PoeModeNisw(poeModeNisw []DcimInterfaceTemplatesListPoeModeIcParameterInner) ApiDcimInterfacesListRequest { + r.poeModeNisw = &poeModeNisw + return r +} + func (r ApiDcimInterfacesListRequest) PoeType(poeType []string) ApiDcimInterfacesListRequest { r.poeType = &poeType return r } -func (r ApiDcimInterfacesListRequest) PoeTypeN(poeTypeN []string) ApiDcimInterfacesListRequest { +func (r ApiDcimInterfacesListRequest) PoeTypeEmpty(poeTypeEmpty bool) ApiDcimInterfacesListRequest { + r.poeTypeEmpty = &poeTypeEmpty + return r +} + +// * `type1-ieee802.3af` - 802.3af (Type 1) * `type2-ieee802.3at` - 802.3at (Type 2) * `type3-ieee802.3bt` - 802.3bt (Type 3) * `type4-ieee802.3bt` - 802.3bt (Type 4) * `passive-24v-2pair` - Passive 24V (2-pair) * `passive-24v-4pair` - Passive 24V (4-pair) * `passive-48v-2pair` - Passive 48V (2-pair) * `passive-48v-4pair` - Passive 48V (4-pair) +func (r ApiDcimInterfacesListRequest) PoeTypeIc(poeTypeIc []DcimInterfaceTemplatesListPoeTypeIcParameterInner) ApiDcimInterfacesListRequest { + r.poeTypeIc = &poeTypeIc + return r +} + +// * `type1-ieee802.3af` - 802.3af (Type 1) * `type2-ieee802.3at` - 802.3at (Type 2) * `type3-ieee802.3bt` - 802.3bt (Type 3) * `type4-ieee802.3bt` - 802.3bt (Type 4) * `passive-24v-2pair` - Passive 24V (2-pair) * `passive-24v-4pair` - Passive 24V (4-pair) * `passive-48v-2pair` - Passive 48V (2-pair) * `passive-48v-4pair` - Passive 48V (4-pair) +func (r ApiDcimInterfacesListRequest) PoeTypeIe(poeTypeIe []DcimInterfaceTemplatesListPoeTypeIcParameterInner) ApiDcimInterfacesListRequest { + r.poeTypeIe = &poeTypeIe + return r +} + +// * `type1-ieee802.3af` - 802.3af (Type 1) * `type2-ieee802.3at` - 802.3at (Type 2) * `type3-ieee802.3bt` - 802.3bt (Type 3) * `type4-ieee802.3bt` - 802.3bt (Type 4) * `passive-24v-2pair` - Passive 24V (2-pair) * `passive-24v-4pair` - Passive 24V (4-pair) * `passive-48v-2pair` - Passive 48V (2-pair) * `passive-48v-4pair` - Passive 48V (4-pair) +func (r ApiDcimInterfacesListRequest) PoeTypeIew(poeTypeIew []DcimInterfaceTemplatesListPoeTypeIcParameterInner) ApiDcimInterfacesListRequest { + r.poeTypeIew = &poeTypeIew + return r +} + +// * `type1-ieee802.3af` - 802.3af (Type 1) * `type2-ieee802.3at` - 802.3at (Type 2) * `type3-ieee802.3bt` - 802.3bt (Type 3) * `type4-ieee802.3bt` - 802.3bt (Type 4) * `passive-24v-2pair` - Passive 24V (2-pair) * `passive-24v-4pair` - Passive 24V (4-pair) * `passive-48v-2pair` - Passive 48V (2-pair) * `passive-48v-4pair` - Passive 48V (4-pair) +func (r ApiDcimInterfacesListRequest) PoeTypeIsw(poeTypeIsw []DcimInterfaceTemplatesListPoeTypeIcParameterInner) ApiDcimInterfacesListRequest { + r.poeTypeIsw = &poeTypeIsw + return r +} + +// * `type1-ieee802.3af` - 802.3af (Type 1) * `type2-ieee802.3at` - 802.3at (Type 2) * `type3-ieee802.3bt` - 802.3bt (Type 3) * `type4-ieee802.3bt` - 802.3bt (Type 4) * `passive-24v-2pair` - Passive 24V (2-pair) * `passive-24v-4pair` - Passive 24V (4-pair) * `passive-48v-2pair` - Passive 48V (2-pair) * `passive-48v-4pair` - Passive 48V (4-pair) +func (r ApiDcimInterfacesListRequest) PoeTypeN(poeTypeN []DcimInterfaceTemplatesListPoeTypeIcParameterInner) ApiDcimInterfacesListRequest { r.poeTypeN = &poeTypeN return r } +// * `type1-ieee802.3af` - 802.3af (Type 1) * `type2-ieee802.3at` - 802.3at (Type 2) * `type3-ieee802.3bt` - 802.3bt (Type 3) * `type4-ieee802.3bt` - 802.3bt (Type 4) * `passive-24v-2pair` - Passive 24V (2-pair) * `passive-24v-4pair` - Passive 24V (4-pair) * `passive-48v-2pair` - Passive 48V (2-pair) * `passive-48v-4pair` - Passive 48V (4-pair) +func (r ApiDcimInterfacesListRequest) PoeTypeNic(poeTypeNic []DcimInterfaceTemplatesListPoeTypeIcParameterInner) ApiDcimInterfacesListRequest { + r.poeTypeNic = &poeTypeNic + return r +} + +// * `type1-ieee802.3af` - 802.3af (Type 1) * `type2-ieee802.3at` - 802.3at (Type 2) * `type3-ieee802.3bt` - 802.3bt (Type 3) * `type4-ieee802.3bt` - 802.3bt (Type 4) * `passive-24v-2pair` - Passive 24V (2-pair) * `passive-24v-4pair` - Passive 24V (4-pair) * `passive-48v-2pair` - Passive 48V (2-pair) * `passive-48v-4pair` - Passive 48V (4-pair) +func (r ApiDcimInterfacesListRequest) PoeTypeNie(poeTypeNie []DcimInterfaceTemplatesListPoeTypeIcParameterInner) ApiDcimInterfacesListRequest { + r.poeTypeNie = &poeTypeNie + return r +} + +// * `type1-ieee802.3af` - 802.3af (Type 1) * `type2-ieee802.3at` - 802.3at (Type 2) * `type3-ieee802.3bt` - 802.3bt (Type 3) * `type4-ieee802.3bt` - 802.3bt (Type 4) * `passive-24v-2pair` - Passive 24V (2-pair) * `passive-24v-4pair` - Passive 24V (4-pair) * `passive-48v-2pair` - Passive 48V (2-pair) * `passive-48v-4pair` - Passive 48V (4-pair) +func (r ApiDcimInterfacesListRequest) PoeTypeNiew(poeTypeNiew []DcimInterfaceTemplatesListPoeTypeIcParameterInner) ApiDcimInterfacesListRequest { + r.poeTypeNiew = &poeTypeNiew + return r +} + +// * `type1-ieee802.3af` - 802.3af (Type 1) * `type2-ieee802.3at` - 802.3at (Type 2) * `type3-ieee802.3bt` - 802.3bt (Type 3) * `type4-ieee802.3bt` - 802.3bt (Type 4) * `passive-24v-2pair` - Passive 24V (2-pair) * `passive-24v-4pair` - Passive 24V (4-pair) * `passive-48v-2pair` - Passive 48V (2-pair) * `passive-48v-4pair` - Passive 48V (4-pair) +func (r ApiDcimInterfacesListRequest) PoeTypeNisw(poeTypeNisw []DcimInterfaceTemplatesListPoeTypeIcParameterInner) ApiDcimInterfacesListRequest { + r.poeTypeNisw = &poeTypeNisw + return r +} + // Search func (r ApiDcimInterfacesListRequest) Q(q string) ApiDcimInterfacesListRequest { r.q = &q @@ -41243,26 +43689,22 @@ func (r ApiDcimInterfacesListRequest) RackIdN(rackIdN []int32) ApiDcimInterfaces return r } -// Region (slug) -func (r ApiDcimInterfacesListRequest) Region(region []int32) ApiDcimInterfacesListRequest { +func (r ApiDcimInterfacesListRequest) Region(region []string) ApiDcimInterfacesListRequest { r.region = ®ion return r } -// Region (slug) -func (r ApiDcimInterfacesListRequest) RegionN(regionN []int32) ApiDcimInterfacesListRequest { +func (r ApiDcimInterfacesListRequest) RegionN(regionN []string) ApiDcimInterfacesListRequest { r.regionN = ®ionN return r } -// Region (ID) -func (r ApiDcimInterfacesListRequest) RegionId(regionId []int32) ApiDcimInterfacesListRequest { +func (r ApiDcimInterfacesListRequest) RegionId(regionId []string) ApiDcimInterfacesListRequest { r.regionId = ®ionId return r } -// Region (ID) -func (r ApiDcimInterfacesListRequest) RegionIdN(regionIdN []int32) ApiDcimInterfacesListRequest { +func (r ApiDcimInterfacesListRequest) RegionIdN(regionIdN []string) ApiDcimInterfacesListRequest { r.regionIdN = ®ionIdN return r } @@ -41272,11 +43714,65 @@ func (r ApiDcimInterfacesListRequest) RfChannel(rfChannel []string) ApiDcimInter return r } -func (r ApiDcimInterfacesListRequest) RfChannelN(rfChannelN []string) ApiDcimInterfacesListRequest { +func (r ApiDcimInterfacesListRequest) RfChannelEmpty(rfChannelEmpty bool) ApiDcimInterfacesListRequest { + r.rfChannelEmpty = &rfChannelEmpty + return r +} + +// * `2.4g-1-2412-22` - 1 (2412 MHz) * `2.4g-2-2417-22` - 2 (2417 MHz) * `2.4g-3-2422-22` - 3 (2422 MHz) * `2.4g-4-2427-22` - 4 (2427 MHz) * `2.4g-5-2432-22` - 5 (2432 MHz) * `2.4g-6-2437-22` - 6 (2437 MHz) * `2.4g-7-2442-22` - 7 (2442 MHz) * `2.4g-8-2447-22` - 8 (2447 MHz) * `2.4g-9-2452-22` - 9 (2452 MHz) * `2.4g-10-2457-22` - 10 (2457 MHz) * `2.4g-11-2462-22` - 11 (2462 MHz) * `2.4g-12-2467-22` - 12 (2467 MHz) * `2.4g-13-2472-22` - 13 (2472 MHz) * `5g-32-5160-20` - 32 (5160/20 MHz) * `5g-34-5170-40` - 34 (5170/40 MHz) * `5g-36-5180-20` - 36 (5180/20 MHz) * `5g-38-5190-40` - 38 (5190/40 MHz) * `5g-40-5200-20` - 40 (5200/20 MHz) * `5g-42-5210-80` - 42 (5210/80 MHz) * `5g-44-5220-20` - 44 (5220/20 MHz) * `5g-46-5230-40` - 46 (5230/40 MHz) * `5g-48-5240-20` - 48 (5240/20 MHz) * `5g-50-5250-160` - 50 (5250/160 MHz) * `5g-52-5260-20` - 52 (5260/20 MHz) * `5g-54-5270-40` - 54 (5270/40 MHz) * `5g-56-5280-20` - 56 (5280/20 MHz) * `5g-58-5290-80` - 58 (5290/80 MHz) * `5g-60-5300-20` - 60 (5300/20 MHz) * `5g-62-5310-40` - 62 (5310/40 MHz) * `5g-64-5320-20` - 64 (5320/20 MHz) * `5g-100-5500-20` - 100 (5500/20 MHz) * `5g-102-5510-40` - 102 (5510/40 MHz) * `5g-104-5520-20` - 104 (5520/20 MHz) * `5g-106-5530-80` - 106 (5530/80 MHz) * `5g-108-5540-20` - 108 (5540/20 MHz) * `5g-110-5550-40` - 110 (5550/40 MHz) * `5g-112-5560-20` - 112 (5560/20 MHz) * `5g-114-5570-160` - 114 (5570/160 MHz) * `5g-116-5580-20` - 116 (5580/20 MHz) * `5g-118-5590-40` - 118 (5590/40 MHz) * `5g-120-5600-20` - 120 (5600/20 MHz) * `5g-122-5610-80` - 122 (5610/80 MHz) * `5g-124-5620-20` - 124 (5620/20 MHz) * `5g-126-5630-40` - 126 (5630/40 MHz) * `5g-128-5640-20` - 128 (5640/20 MHz) * `5g-132-5660-20` - 132 (5660/20 MHz) * `5g-134-5670-40` - 134 (5670/40 MHz) * `5g-136-5680-20` - 136 (5680/20 MHz) * `5g-138-5690-80` - 138 (5690/80 MHz) * `5g-140-5700-20` - 140 (5700/20 MHz) * `5g-142-5710-40` - 142 (5710/40 MHz) * `5g-144-5720-20` - 144 (5720/20 MHz) * `5g-149-5745-20` - 149 (5745/20 MHz) * `5g-151-5755-40` - 151 (5755/40 MHz) * `5g-153-5765-20` - 153 (5765/20 MHz) * `5g-155-5775-80` - 155 (5775/80 MHz) * `5g-157-5785-20` - 157 (5785/20 MHz) * `5g-159-5795-40` - 159 (5795/40 MHz) * `5g-161-5805-20` - 161 (5805/20 MHz) * `5g-163-5815-160` - 163 (5815/160 MHz) * `5g-165-5825-20` - 165 (5825/20 MHz) * `5g-167-5835-40` - 167 (5835/40 MHz) * `5g-169-5845-20` - 169 (5845/20 MHz) * `5g-171-5855-80` - 171 (5855/80 MHz) * `5g-173-5865-20` - 173 (5865/20 MHz) * `5g-175-5875-40` - 175 (5875/40 MHz) * `5g-177-5885-20` - 177 (5885/20 MHz) * `6g-1-5955-20` - 1 (5955/20 MHz) * `6g-3-5965-40` - 3 (5965/40 MHz) * `6g-5-5975-20` - 5 (5975/20 MHz) * `6g-7-5985-80` - 7 (5985/80 MHz) * `6g-9-5995-20` - 9 (5995/20 MHz) * `6g-11-6005-40` - 11 (6005/40 MHz) * `6g-13-6015-20` - 13 (6015/20 MHz) * `6g-15-6025-160` - 15 (6025/160 MHz) * `6g-17-6035-20` - 17 (6035/20 MHz) * `6g-19-6045-40` - 19 (6045/40 MHz) * `6g-21-6055-20` - 21 (6055/20 MHz) * `6g-23-6065-80` - 23 (6065/80 MHz) * `6g-25-6075-20` - 25 (6075/20 MHz) * `6g-27-6085-40` - 27 (6085/40 MHz) * `6g-29-6095-20` - 29 (6095/20 MHz) * `6g-31-6105-320` - 31 (6105/320 MHz) * `6g-33-6115-20` - 33 (6115/20 MHz) * `6g-35-6125-40` - 35 (6125/40 MHz) * `6g-37-6135-20` - 37 (6135/20 MHz) * `6g-39-6145-80` - 39 (6145/80 MHz) * `6g-41-6155-20` - 41 (6155/20 MHz) * `6g-43-6165-40` - 43 (6165/40 MHz) * `6g-45-6175-20` - 45 (6175/20 MHz) * `6g-47-6185-160` - 47 (6185/160 MHz) * `6g-49-6195-20` - 49 (6195/20 MHz) * `6g-51-6205-40` - 51 (6205/40 MHz) * `6g-53-6215-20` - 53 (6215/20 MHz) * `6g-55-6225-80` - 55 (6225/80 MHz) * `6g-57-6235-20` - 57 (6235/20 MHz) * `6g-59-6245-40` - 59 (6245/40 MHz) * `6g-61-6255-20` - 61 (6255/20 MHz) * `6g-65-6275-20` - 65 (6275/20 MHz) * `6g-67-6285-40` - 67 (6285/40 MHz) * `6g-69-6295-20` - 69 (6295/20 MHz) * `6g-71-6305-80` - 71 (6305/80 MHz) * `6g-73-6315-20` - 73 (6315/20 MHz) * `6g-75-6325-40` - 75 (6325/40 MHz) * `6g-77-6335-20` - 77 (6335/20 MHz) * `6g-79-6345-160` - 79 (6345/160 MHz) * `6g-81-6355-20` - 81 (6355/20 MHz) * `6g-83-6365-40` - 83 (6365/40 MHz) * `6g-85-6375-20` - 85 (6375/20 MHz) * `6g-87-6385-80` - 87 (6385/80 MHz) * `6g-89-6395-20` - 89 (6395/20 MHz) * `6g-91-6405-40` - 91 (6405/40 MHz) * `6g-93-6415-20` - 93 (6415/20 MHz) * `6g-95-6425-320` - 95 (6425/320 MHz) * `6g-97-6435-20` - 97 (6435/20 MHz) * `6g-99-6445-40` - 99 (6445/40 MHz) * `6g-101-6455-20` - 101 (6455/20 MHz) * `6g-103-6465-80` - 103 (6465/80 MHz) * `6g-105-6475-20` - 105 (6475/20 MHz) * `6g-107-6485-40` - 107 (6485/40 MHz) * `6g-109-6495-20` - 109 (6495/20 MHz) * `6g-111-6505-160` - 111 (6505/160 MHz) * `6g-113-6515-20` - 113 (6515/20 MHz) * `6g-115-6525-40` - 115 (6525/40 MHz) * `6g-117-6535-20` - 117 (6535/20 MHz) * `6g-119-6545-80` - 119 (6545/80 MHz) * `6g-121-6555-20` - 121 (6555/20 MHz) * `6g-123-6565-40` - 123 (6565/40 MHz) * `6g-125-6575-20` - 125 (6575/20 MHz) * `6g-129-6595-20` - 129 (6595/20 MHz) * `6g-131-6605-40` - 131 (6605/40 MHz) * `6g-133-6615-20` - 133 (6615/20 MHz) * `6g-135-6625-80` - 135 (6625/80 MHz) * `6g-137-6635-20` - 137 (6635/20 MHz) * `6g-139-6645-40` - 139 (6645/40 MHz) * `6g-141-6655-20` - 141 (6655/20 MHz) * `6g-143-6665-160` - 143 (6665/160 MHz) * `6g-145-6675-20` - 145 (6675/20 MHz) * `6g-147-6685-40` - 147 (6685/40 MHz) * `6g-149-6695-20` - 149 (6695/20 MHz) * `6g-151-6705-80` - 151 (6705/80 MHz) * `6g-153-6715-20` - 153 (6715/20 MHz) * `6g-155-6725-40` - 155 (6725/40 MHz) * `6g-157-6735-20` - 157 (6735/20 MHz) * `6g-159-6745-320` - 159 (6745/320 MHz) * `6g-161-6755-20` - 161 (6755/20 MHz) * `6g-163-6765-40` - 163 (6765/40 MHz) * `6g-165-6775-20` - 165 (6775/20 MHz) * `6g-167-6785-80` - 167 (6785/80 MHz) * `6g-169-6795-20` - 169 (6795/20 MHz) * `6g-171-6805-40` - 171 (6805/40 MHz) * `6g-173-6815-20` - 173 (6815/20 MHz) * `6g-175-6825-160` - 175 (6825/160 MHz) * `6g-177-6835-20` - 177 (6835/20 MHz) * `6g-179-6845-40` - 179 (6845/40 MHz) * `6g-181-6855-20` - 181 (6855/20 MHz) * `6g-183-6865-80` - 183 (6865/80 MHz) * `6g-185-6875-20` - 185 (6875/20 MHz) * `6g-187-6885-40` - 187 (6885/40 MHz) * `6g-189-6895-20` - 189 (6895/20 MHz) * `6g-193-6915-20` - 193 (6915/20 MHz) * `6g-195-6925-40` - 195 (6925/40 MHz) * `6g-197-6935-20` - 197 (6935/20 MHz) * `6g-199-6945-80` - 199 (6945/80 MHz) * `6g-201-6955-20` - 201 (6955/20 MHz) * `6g-203-6965-40` - 203 (6965/40 MHz) * `6g-205-6975-20` - 205 (6975/20 MHz) * `6g-207-6985-160` - 207 (6985/160 MHz) * `6g-209-6995-20` - 209 (6995/20 MHz) * `6g-211-7005-40` - 211 (7005/40 MHz) * `6g-213-7015-20` - 213 (7015/20 MHz) * `6g-215-7025-80` - 215 (7025/80 MHz) * `6g-217-7035-20` - 217 (7035/20 MHz) * `6g-219-7045-40` - 219 (7045/40 MHz) * `6g-221-7055-20` - 221 (7055/20 MHz) * `6g-225-7075-20` - 225 (7075/20 MHz) * `6g-227-7085-40` - 227 (7085/40 MHz) * `6g-229-7095-20` - 229 (7095/20 MHz) * `6g-233-7115-20` - 233 (7115/20 MHz) * `60g-1-58320-2160` - 1 (58.32/2.16 GHz) * `60g-2-60480-2160` - 2 (60.48/2.16 GHz) * `60g-3-62640-2160` - 3 (62.64/2.16 GHz) * `60g-4-64800-2160` - 4 (64.80/2.16 GHz) * `60g-5-66960-2160` - 5 (66.96/2.16 GHz) * `60g-6-69120-2160` - 6 (69.12/2.16 GHz) * `60g-9-59400-4320` - 9 (59.40/4.32 GHz) * `60g-10-61560-4320` - 10 (61.56/4.32 GHz) * `60g-11-63720-4320` - 11 (63.72/4.32 GHz) * `60g-12-65880-4320` - 12 (65.88/4.32 GHz) * `60g-13-68040-4320` - 13 (68.04/4.32 GHz) * `60g-17-60480-6480` - 17 (60.48/6.48 GHz) * `60g-18-62640-6480` - 18 (62.64/6.48 GHz) * `60g-19-64800-6480` - 19 (64.80/6.48 GHz) * `60g-20-66960-6480` - 20 (66.96/6.48 GHz) * `60g-25-61560-6480` - 25 (61.56/8.64 GHz) * `60g-26-63720-6480` - 26 (63.72/8.64 GHz) * `60g-27-65880-6480` - 27 (65.88/8.64 GHz) +func (r ApiDcimInterfacesListRequest) RfChannelIc(rfChannelIc []WirelessChannel) ApiDcimInterfacesListRequest { + r.rfChannelIc = &rfChannelIc + return r +} + +// * `2.4g-1-2412-22` - 1 (2412 MHz) * `2.4g-2-2417-22` - 2 (2417 MHz) * `2.4g-3-2422-22` - 3 (2422 MHz) * `2.4g-4-2427-22` - 4 (2427 MHz) * `2.4g-5-2432-22` - 5 (2432 MHz) * `2.4g-6-2437-22` - 6 (2437 MHz) * `2.4g-7-2442-22` - 7 (2442 MHz) * `2.4g-8-2447-22` - 8 (2447 MHz) * `2.4g-9-2452-22` - 9 (2452 MHz) * `2.4g-10-2457-22` - 10 (2457 MHz) * `2.4g-11-2462-22` - 11 (2462 MHz) * `2.4g-12-2467-22` - 12 (2467 MHz) * `2.4g-13-2472-22` - 13 (2472 MHz) * `5g-32-5160-20` - 32 (5160/20 MHz) * `5g-34-5170-40` - 34 (5170/40 MHz) * `5g-36-5180-20` - 36 (5180/20 MHz) * `5g-38-5190-40` - 38 (5190/40 MHz) * `5g-40-5200-20` - 40 (5200/20 MHz) * `5g-42-5210-80` - 42 (5210/80 MHz) * `5g-44-5220-20` - 44 (5220/20 MHz) * `5g-46-5230-40` - 46 (5230/40 MHz) * `5g-48-5240-20` - 48 (5240/20 MHz) * `5g-50-5250-160` - 50 (5250/160 MHz) * `5g-52-5260-20` - 52 (5260/20 MHz) * `5g-54-5270-40` - 54 (5270/40 MHz) * `5g-56-5280-20` - 56 (5280/20 MHz) * `5g-58-5290-80` - 58 (5290/80 MHz) * `5g-60-5300-20` - 60 (5300/20 MHz) * `5g-62-5310-40` - 62 (5310/40 MHz) * `5g-64-5320-20` - 64 (5320/20 MHz) * `5g-100-5500-20` - 100 (5500/20 MHz) * `5g-102-5510-40` - 102 (5510/40 MHz) * `5g-104-5520-20` - 104 (5520/20 MHz) * `5g-106-5530-80` - 106 (5530/80 MHz) * `5g-108-5540-20` - 108 (5540/20 MHz) * `5g-110-5550-40` - 110 (5550/40 MHz) * `5g-112-5560-20` - 112 (5560/20 MHz) * `5g-114-5570-160` - 114 (5570/160 MHz) * `5g-116-5580-20` - 116 (5580/20 MHz) * `5g-118-5590-40` - 118 (5590/40 MHz) * `5g-120-5600-20` - 120 (5600/20 MHz) * `5g-122-5610-80` - 122 (5610/80 MHz) * `5g-124-5620-20` - 124 (5620/20 MHz) * `5g-126-5630-40` - 126 (5630/40 MHz) * `5g-128-5640-20` - 128 (5640/20 MHz) * `5g-132-5660-20` - 132 (5660/20 MHz) * `5g-134-5670-40` - 134 (5670/40 MHz) * `5g-136-5680-20` - 136 (5680/20 MHz) * `5g-138-5690-80` - 138 (5690/80 MHz) * `5g-140-5700-20` - 140 (5700/20 MHz) * `5g-142-5710-40` - 142 (5710/40 MHz) * `5g-144-5720-20` - 144 (5720/20 MHz) * `5g-149-5745-20` - 149 (5745/20 MHz) * `5g-151-5755-40` - 151 (5755/40 MHz) * `5g-153-5765-20` - 153 (5765/20 MHz) * `5g-155-5775-80` - 155 (5775/80 MHz) * `5g-157-5785-20` - 157 (5785/20 MHz) * `5g-159-5795-40` - 159 (5795/40 MHz) * `5g-161-5805-20` - 161 (5805/20 MHz) * `5g-163-5815-160` - 163 (5815/160 MHz) * `5g-165-5825-20` - 165 (5825/20 MHz) * `5g-167-5835-40` - 167 (5835/40 MHz) * `5g-169-5845-20` - 169 (5845/20 MHz) * `5g-171-5855-80` - 171 (5855/80 MHz) * `5g-173-5865-20` - 173 (5865/20 MHz) * `5g-175-5875-40` - 175 (5875/40 MHz) * `5g-177-5885-20` - 177 (5885/20 MHz) * `6g-1-5955-20` - 1 (5955/20 MHz) * `6g-3-5965-40` - 3 (5965/40 MHz) * `6g-5-5975-20` - 5 (5975/20 MHz) * `6g-7-5985-80` - 7 (5985/80 MHz) * `6g-9-5995-20` - 9 (5995/20 MHz) * `6g-11-6005-40` - 11 (6005/40 MHz) * `6g-13-6015-20` - 13 (6015/20 MHz) * `6g-15-6025-160` - 15 (6025/160 MHz) * `6g-17-6035-20` - 17 (6035/20 MHz) * `6g-19-6045-40` - 19 (6045/40 MHz) * `6g-21-6055-20` - 21 (6055/20 MHz) * `6g-23-6065-80` - 23 (6065/80 MHz) * `6g-25-6075-20` - 25 (6075/20 MHz) * `6g-27-6085-40` - 27 (6085/40 MHz) * `6g-29-6095-20` - 29 (6095/20 MHz) * `6g-31-6105-320` - 31 (6105/320 MHz) * `6g-33-6115-20` - 33 (6115/20 MHz) * `6g-35-6125-40` - 35 (6125/40 MHz) * `6g-37-6135-20` - 37 (6135/20 MHz) * `6g-39-6145-80` - 39 (6145/80 MHz) * `6g-41-6155-20` - 41 (6155/20 MHz) * `6g-43-6165-40` - 43 (6165/40 MHz) * `6g-45-6175-20` - 45 (6175/20 MHz) * `6g-47-6185-160` - 47 (6185/160 MHz) * `6g-49-6195-20` - 49 (6195/20 MHz) * `6g-51-6205-40` - 51 (6205/40 MHz) * `6g-53-6215-20` - 53 (6215/20 MHz) * `6g-55-6225-80` - 55 (6225/80 MHz) * `6g-57-6235-20` - 57 (6235/20 MHz) * `6g-59-6245-40` - 59 (6245/40 MHz) * `6g-61-6255-20` - 61 (6255/20 MHz) * `6g-65-6275-20` - 65 (6275/20 MHz) * `6g-67-6285-40` - 67 (6285/40 MHz) * `6g-69-6295-20` - 69 (6295/20 MHz) * `6g-71-6305-80` - 71 (6305/80 MHz) * `6g-73-6315-20` - 73 (6315/20 MHz) * `6g-75-6325-40` - 75 (6325/40 MHz) * `6g-77-6335-20` - 77 (6335/20 MHz) * `6g-79-6345-160` - 79 (6345/160 MHz) * `6g-81-6355-20` - 81 (6355/20 MHz) * `6g-83-6365-40` - 83 (6365/40 MHz) * `6g-85-6375-20` - 85 (6375/20 MHz) * `6g-87-6385-80` - 87 (6385/80 MHz) * `6g-89-6395-20` - 89 (6395/20 MHz) * `6g-91-6405-40` - 91 (6405/40 MHz) * `6g-93-6415-20` - 93 (6415/20 MHz) * `6g-95-6425-320` - 95 (6425/320 MHz) * `6g-97-6435-20` - 97 (6435/20 MHz) * `6g-99-6445-40` - 99 (6445/40 MHz) * `6g-101-6455-20` - 101 (6455/20 MHz) * `6g-103-6465-80` - 103 (6465/80 MHz) * `6g-105-6475-20` - 105 (6475/20 MHz) * `6g-107-6485-40` - 107 (6485/40 MHz) * `6g-109-6495-20` - 109 (6495/20 MHz) * `6g-111-6505-160` - 111 (6505/160 MHz) * `6g-113-6515-20` - 113 (6515/20 MHz) * `6g-115-6525-40` - 115 (6525/40 MHz) * `6g-117-6535-20` - 117 (6535/20 MHz) * `6g-119-6545-80` - 119 (6545/80 MHz) * `6g-121-6555-20` - 121 (6555/20 MHz) * `6g-123-6565-40` - 123 (6565/40 MHz) * `6g-125-6575-20` - 125 (6575/20 MHz) * `6g-129-6595-20` - 129 (6595/20 MHz) * `6g-131-6605-40` - 131 (6605/40 MHz) * `6g-133-6615-20` - 133 (6615/20 MHz) * `6g-135-6625-80` - 135 (6625/80 MHz) * `6g-137-6635-20` - 137 (6635/20 MHz) * `6g-139-6645-40` - 139 (6645/40 MHz) * `6g-141-6655-20` - 141 (6655/20 MHz) * `6g-143-6665-160` - 143 (6665/160 MHz) * `6g-145-6675-20` - 145 (6675/20 MHz) * `6g-147-6685-40` - 147 (6685/40 MHz) * `6g-149-6695-20` - 149 (6695/20 MHz) * `6g-151-6705-80` - 151 (6705/80 MHz) * `6g-153-6715-20` - 153 (6715/20 MHz) * `6g-155-6725-40` - 155 (6725/40 MHz) * `6g-157-6735-20` - 157 (6735/20 MHz) * `6g-159-6745-320` - 159 (6745/320 MHz) * `6g-161-6755-20` - 161 (6755/20 MHz) * `6g-163-6765-40` - 163 (6765/40 MHz) * `6g-165-6775-20` - 165 (6775/20 MHz) * `6g-167-6785-80` - 167 (6785/80 MHz) * `6g-169-6795-20` - 169 (6795/20 MHz) * `6g-171-6805-40` - 171 (6805/40 MHz) * `6g-173-6815-20` - 173 (6815/20 MHz) * `6g-175-6825-160` - 175 (6825/160 MHz) * `6g-177-6835-20` - 177 (6835/20 MHz) * `6g-179-6845-40` - 179 (6845/40 MHz) * `6g-181-6855-20` - 181 (6855/20 MHz) * `6g-183-6865-80` - 183 (6865/80 MHz) * `6g-185-6875-20` - 185 (6875/20 MHz) * `6g-187-6885-40` - 187 (6885/40 MHz) * `6g-189-6895-20` - 189 (6895/20 MHz) * `6g-193-6915-20` - 193 (6915/20 MHz) * `6g-195-6925-40` - 195 (6925/40 MHz) * `6g-197-6935-20` - 197 (6935/20 MHz) * `6g-199-6945-80` - 199 (6945/80 MHz) * `6g-201-6955-20` - 201 (6955/20 MHz) * `6g-203-6965-40` - 203 (6965/40 MHz) * `6g-205-6975-20` - 205 (6975/20 MHz) * `6g-207-6985-160` - 207 (6985/160 MHz) * `6g-209-6995-20` - 209 (6995/20 MHz) * `6g-211-7005-40` - 211 (7005/40 MHz) * `6g-213-7015-20` - 213 (7015/20 MHz) * `6g-215-7025-80` - 215 (7025/80 MHz) * `6g-217-7035-20` - 217 (7035/20 MHz) * `6g-219-7045-40` - 219 (7045/40 MHz) * `6g-221-7055-20` - 221 (7055/20 MHz) * `6g-225-7075-20` - 225 (7075/20 MHz) * `6g-227-7085-40` - 227 (7085/40 MHz) * `6g-229-7095-20` - 229 (7095/20 MHz) * `6g-233-7115-20` - 233 (7115/20 MHz) * `60g-1-58320-2160` - 1 (58.32/2.16 GHz) * `60g-2-60480-2160` - 2 (60.48/2.16 GHz) * `60g-3-62640-2160` - 3 (62.64/2.16 GHz) * `60g-4-64800-2160` - 4 (64.80/2.16 GHz) * `60g-5-66960-2160` - 5 (66.96/2.16 GHz) * `60g-6-69120-2160` - 6 (69.12/2.16 GHz) * `60g-9-59400-4320` - 9 (59.40/4.32 GHz) * `60g-10-61560-4320` - 10 (61.56/4.32 GHz) * `60g-11-63720-4320` - 11 (63.72/4.32 GHz) * `60g-12-65880-4320` - 12 (65.88/4.32 GHz) * `60g-13-68040-4320` - 13 (68.04/4.32 GHz) * `60g-17-60480-6480` - 17 (60.48/6.48 GHz) * `60g-18-62640-6480` - 18 (62.64/6.48 GHz) * `60g-19-64800-6480` - 19 (64.80/6.48 GHz) * `60g-20-66960-6480` - 20 (66.96/6.48 GHz) * `60g-25-61560-6480` - 25 (61.56/8.64 GHz) * `60g-26-63720-6480` - 26 (63.72/8.64 GHz) * `60g-27-65880-6480` - 27 (65.88/8.64 GHz) +func (r ApiDcimInterfacesListRequest) RfChannelIe(rfChannelIe []WirelessChannel) ApiDcimInterfacesListRequest { + r.rfChannelIe = &rfChannelIe + return r +} + +// * `2.4g-1-2412-22` - 1 (2412 MHz) * `2.4g-2-2417-22` - 2 (2417 MHz) * `2.4g-3-2422-22` - 3 (2422 MHz) * `2.4g-4-2427-22` - 4 (2427 MHz) * `2.4g-5-2432-22` - 5 (2432 MHz) * `2.4g-6-2437-22` - 6 (2437 MHz) * `2.4g-7-2442-22` - 7 (2442 MHz) * `2.4g-8-2447-22` - 8 (2447 MHz) * `2.4g-9-2452-22` - 9 (2452 MHz) * `2.4g-10-2457-22` - 10 (2457 MHz) * `2.4g-11-2462-22` - 11 (2462 MHz) * `2.4g-12-2467-22` - 12 (2467 MHz) * `2.4g-13-2472-22` - 13 (2472 MHz) * `5g-32-5160-20` - 32 (5160/20 MHz) * `5g-34-5170-40` - 34 (5170/40 MHz) * `5g-36-5180-20` - 36 (5180/20 MHz) * `5g-38-5190-40` - 38 (5190/40 MHz) * `5g-40-5200-20` - 40 (5200/20 MHz) * `5g-42-5210-80` - 42 (5210/80 MHz) * `5g-44-5220-20` - 44 (5220/20 MHz) * `5g-46-5230-40` - 46 (5230/40 MHz) * `5g-48-5240-20` - 48 (5240/20 MHz) * `5g-50-5250-160` - 50 (5250/160 MHz) * `5g-52-5260-20` - 52 (5260/20 MHz) * `5g-54-5270-40` - 54 (5270/40 MHz) * `5g-56-5280-20` - 56 (5280/20 MHz) * `5g-58-5290-80` - 58 (5290/80 MHz) * `5g-60-5300-20` - 60 (5300/20 MHz) * `5g-62-5310-40` - 62 (5310/40 MHz) * `5g-64-5320-20` - 64 (5320/20 MHz) * `5g-100-5500-20` - 100 (5500/20 MHz) * `5g-102-5510-40` - 102 (5510/40 MHz) * `5g-104-5520-20` - 104 (5520/20 MHz) * `5g-106-5530-80` - 106 (5530/80 MHz) * `5g-108-5540-20` - 108 (5540/20 MHz) * `5g-110-5550-40` - 110 (5550/40 MHz) * `5g-112-5560-20` - 112 (5560/20 MHz) * `5g-114-5570-160` - 114 (5570/160 MHz) * `5g-116-5580-20` - 116 (5580/20 MHz) * `5g-118-5590-40` - 118 (5590/40 MHz) * `5g-120-5600-20` - 120 (5600/20 MHz) * `5g-122-5610-80` - 122 (5610/80 MHz) * `5g-124-5620-20` - 124 (5620/20 MHz) * `5g-126-5630-40` - 126 (5630/40 MHz) * `5g-128-5640-20` - 128 (5640/20 MHz) * `5g-132-5660-20` - 132 (5660/20 MHz) * `5g-134-5670-40` - 134 (5670/40 MHz) * `5g-136-5680-20` - 136 (5680/20 MHz) * `5g-138-5690-80` - 138 (5690/80 MHz) * `5g-140-5700-20` - 140 (5700/20 MHz) * `5g-142-5710-40` - 142 (5710/40 MHz) * `5g-144-5720-20` - 144 (5720/20 MHz) * `5g-149-5745-20` - 149 (5745/20 MHz) * `5g-151-5755-40` - 151 (5755/40 MHz) * `5g-153-5765-20` - 153 (5765/20 MHz) * `5g-155-5775-80` - 155 (5775/80 MHz) * `5g-157-5785-20` - 157 (5785/20 MHz) * `5g-159-5795-40` - 159 (5795/40 MHz) * `5g-161-5805-20` - 161 (5805/20 MHz) * `5g-163-5815-160` - 163 (5815/160 MHz) * `5g-165-5825-20` - 165 (5825/20 MHz) * `5g-167-5835-40` - 167 (5835/40 MHz) * `5g-169-5845-20` - 169 (5845/20 MHz) * `5g-171-5855-80` - 171 (5855/80 MHz) * `5g-173-5865-20` - 173 (5865/20 MHz) * `5g-175-5875-40` - 175 (5875/40 MHz) * `5g-177-5885-20` - 177 (5885/20 MHz) * `6g-1-5955-20` - 1 (5955/20 MHz) * `6g-3-5965-40` - 3 (5965/40 MHz) * `6g-5-5975-20` - 5 (5975/20 MHz) * `6g-7-5985-80` - 7 (5985/80 MHz) * `6g-9-5995-20` - 9 (5995/20 MHz) * `6g-11-6005-40` - 11 (6005/40 MHz) * `6g-13-6015-20` - 13 (6015/20 MHz) * `6g-15-6025-160` - 15 (6025/160 MHz) * `6g-17-6035-20` - 17 (6035/20 MHz) * `6g-19-6045-40` - 19 (6045/40 MHz) * `6g-21-6055-20` - 21 (6055/20 MHz) * `6g-23-6065-80` - 23 (6065/80 MHz) * `6g-25-6075-20` - 25 (6075/20 MHz) * `6g-27-6085-40` - 27 (6085/40 MHz) * `6g-29-6095-20` - 29 (6095/20 MHz) * `6g-31-6105-320` - 31 (6105/320 MHz) * `6g-33-6115-20` - 33 (6115/20 MHz) * `6g-35-6125-40` - 35 (6125/40 MHz) * `6g-37-6135-20` - 37 (6135/20 MHz) * `6g-39-6145-80` - 39 (6145/80 MHz) * `6g-41-6155-20` - 41 (6155/20 MHz) * `6g-43-6165-40` - 43 (6165/40 MHz) * `6g-45-6175-20` - 45 (6175/20 MHz) * `6g-47-6185-160` - 47 (6185/160 MHz) * `6g-49-6195-20` - 49 (6195/20 MHz) * `6g-51-6205-40` - 51 (6205/40 MHz) * `6g-53-6215-20` - 53 (6215/20 MHz) * `6g-55-6225-80` - 55 (6225/80 MHz) * `6g-57-6235-20` - 57 (6235/20 MHz) * `6g-59-6245-40` - 59 (6245/40 MHz) * `6g-61-6255-20` - 61 (6255/20 MHz) * `6g-65-6275-20` - 65 (6275/20 MHz) * `6g-67-6285-40` - 67 (6285/40 MHz) * `6g-69-6295-20` - 69 (6295/20 MHz) * `6g-71-6305-80` - 71 (6305/80 MHz) * `6g-73-6315-20` - 73 (6315/20 MHz) * `6g-75-6325-40` - 75 (6325/40 MHz) * `6g-77-6335-20` - 77 (6335/20 MHz) * `6g-79-6345-160` - 79 (6345/160 MHz) * `6g-81-6355-20` - 81 (6355/20 MHz) * `6g-83-6365-40` - 83 (6365/40 MHz) * `6g-85-6375-20` - 85 (6375/20 MHz) * `6g-87-6385-80` - 87 (6385/80 MHz) * `6g-89-6395-20` - 89 (6395/20 MHz) * `6g-91-6405-40` - 91 (6405/40 MHz) * `6g-93-6415-20` - 93 (6415/20 MHz) * `6g-95-6425-320` - 95 (6425/320 MHz) * `6g-97-6435-20` - 97 (6435/20 MHz) * `6g-99-6445-40` - 99 (6445/40 MHz) * `6g-101-6455-20` - 101 (6455/20 MHz) * `6g-103-6465-80` - 103 (6465/80 MHz) * `6g-105-6475-20` - 105 (6475/20 MHz) * `6g-107-6485-40` - 107 (6485/40 MHz) * `6g-109-6495-20` - 109 (6495/20 MHz) * `6g-111-6505-160` - 111 (6505/160 MHz) * `6g-113-6515-20` - 113 (6515/20 MHz) * `6g-115-6525-40` - 115 (6525/40 MHz) * `6g-117-6535-20` - 117 (6535/20 MHz) * `6g-119-6545-80` - 119 (6545/80 MHz) * `6g-121-6555-20` - 121 (6555/20 MHz) * `6g-123-6565-40` - 123 (6565/40 MHz) * `6g-125-6575-20` - 125 (6575/20 MHz) * `6g-129-6595-20` - 129 (6595/20 MHz) * `6g-131-6605-40` - 131 (6605/40 MHz) * `6g-133-6615-20` - 133 (6615/20 MHz) * `6g-135-6625-80` - 135 (6625/80 MHz) * `6g-137-6635-20` - 137 (6635/20 MHz) * `6g-139-6645-40` - 139 (6645/40 MHz) * `6g-141-6655-20` - 141 (6655/20 MHz) * `6g-143-6665-160` - 143 (6665/160 MHz) * `6g-145-6675-20` - 145 (6675/20 MHz) * `6g-147-6685-40` - 147 (6685/40 MHz) * `6g-149-6695-20` - 149 (6695/20 MHz) * `6g-151-6705-80` - 151 (6705/80 MHz) * `6g-153-6715-20` - 153 (6715/20 MHz) * `6g-155-6725-40` - 155 (6725/40 MHz) * `6g-157-6735-20` - 157 (6735/20 MHz) * `6g-159-6745-320` - 159 (6745/320 MHz) * `6g-161-6755-20` - 161 (6755/20 MHz) * `6g-163-6765-40` - 163 (6765/40 MHz) * `6g-165-6775-20` - 165 (6775/20 MHz) * `6g-167-6785-80` - 167 (6785/80 MHz) * `6g-169-6795-20` - 169 (6795/20 MHz) * `6g-171-6805-40` - 171 (6805/40 MHz) * `6g-173-6815-20` - 173 (6815/20 MHz) * `6g-175-6825-160` - 175 (6825/160 MHz) * `6g-177-6835-20` - 177 (6835/20 MHz) * `6g-179-6845-40` - 179 (6845/40 MHz) * `6g-181-6855-20` - 181 (6855/20 MHz) * `6g-183-6865-80` - 183 (6865/80 MHz) * `6g-185-6875-20` - 185 (6875/20 MHz) * `6g-187-6885-40` - 187 (6885/40 MHz) * `6g-189-6895-20` - 189 (6895/20 MHz) * `6g-193-6915-20` - 193 (6915/20 MHz) * `6g-195-6925-40` - 195 (6925/40 MHz) * `6g-197-6935-20` - 197 (6935/20 MHz) * `6g-199-6945-80` - 199 (6945/80 MHz) * `6g-201-6955-20` - 201 (6955/20 MHz) * `6g-203-6965-40` - 203 (6965/40 MHz) * `6g-205-6975-20` - 205 (6975/20 MHz) * `6g-207-6985-160` - 207 (6985/160 MHz) * `6g-209-6995-20` - 209 (6995/20 MHz) * `6g-211-7005-40` - 211 (7005/40 MHz) * `6g-213-7015-20` - 213 (7015/20 MHz) * `6g-215-7025-80` - 215 (7025/80 MHz) * `6g-217-7035-20` - 217 (7035/20 MHz) * `6g-219-7045-40` - 219 (7045/40 MHz) * `6g-221-7055-20` - 221 (7055/20 MHz) * `6g-225-7075-20` - 225 (7075/20 MHz) * `6g-227-7085-40` - 227 (7085/40 MHz) * `6g-229-7095-20` - 229 (7095/20 MHz) * `6g-233-7115-20` - 233 (7115/20 MHz) * `60g-1-58320-2160` - 1 (58.32/2.16 GHz) * `60g-2-60480-2160` - 2 (60.48/2.16 GHz) * `60g-3-62640-2160` - 3 (62.64/2.16 GHz) * `60g-4-64800-2160` - 4 (64.80/2.16 GHz) * `60g-5-66960-2160` - 5 (66.96/2.16 GHz) * `60g-6-69120-2160` - 6 (69.12/2.16 GHz) * `60g-9-59400-4320` - 9 (59.40/4.32 GHz) * `60g-10-61560-4320` - 10 (61.56/4.32 GHz) * `60g-11-63720-4320` - 11 (63.72/4.32 GHz) * `60g-12-65880-4320` - 12 (65.88/4.32 GHz) * `60g-13-68040-4320` - 13 (68.04/4.32 GHz) * `60g-17-60480-6480` - 17 (60.48/6.48 GHz) * `60g-18-62640-6480` - 18 (62.64/6.48 GHz) * `60g-19-64800-6480` - 19 (64.80/6.48 GHz) * `60g-20-66960-6480` - 20 (66.96/6.48 GHz) * `60g-25-61560-6480` - 25 (61.56/8.64 GHz) * `60g-26-63720-6480` - 26 (63.72/8.64 GHz) * `60g-27-65880-6480` - 27 (65.88/8.64 GHz) +func (r ApiDcimInterfacesListRequest) RfChannelIew(rfChannelIew []WirelessChannel) ApiDcimInterfacesListRequest { + r.rfChannelIew = &rfChannelIew + return r +} + +// * `2.4g-1-2412-22` - 1 (2412 MHz) * `2.4g-2-2417-22` - 2 (2417 MHz) * `2.4g-3-2422-22` - 3 (2422 MHz) * `2.4g-4-2427-22` - 4 (2427 MHz) * `2.4g-5-2432-22` - 5 (2432 MHz) * `2.4g-6-2437-22` - 6 (2437 MHz) * `2.4g-7-2442-22` - 7 (2442 MHz) * `2.4g-8-2447-22` - 8 (2447 MHz) * `2.4g-9-2452-22` - 9 (2452 MHz) * `2.4g-10-2457-22` - 10 (2457 MHz) * `2.4g-11-2462-22` - 11 (2462 MHz) * `2.4g-12-2467-22` - 12 (2467 MHz) * `2.4g-13-2472-22` - 13 (2472 MHz) * `5g-32-5160-20` - 32 (5160/20 MHz) * `5g-34-5170-40` - 34 (5170/40 MHz) * `5g-36-5180-20` - 36 (5180/20 MHz) * `5g-38-5190-40` - 38 (5190/40 MHz) * `5g-40-5200-20` - 40 (5200/20 MHz) * `5g-42-5210-80` - 42 (5210/80 MHz) * `5g-44-5220-20` - 44 (5220/20 MHz) * `5g-46-5230-40` - 46 (5230/40 MHz) * `5g-48-5240-20` - 48 (5240/20 MHz) * `5g-50-5250-160` - 50 (5250/160 MHz) * `5g-52-5260-20` - 52 (5260/20 MHz) * `5g-54-5270-40` - 54 (5270/40 MHz) * `5g-56-5280-20` - 56 (5280/20 MHz) * `5g-58-5290-80` - 58 (5290/80 MHz) * `5g-60-5300-20` - 60 (5300/20 MHz) * `5g-62-5310-40` - 62 (5310/40 MHz) * `5g-64-5320-20` - 64 (5320/20 MHz) * `5g-100-5500-20` - 100 (5500/20 MHz) * `5g-102-5510-40` - 102 (5510/40 MHz) * `5g-104-5520-20` - 104 (5520/20 MHz) * `5g-106-5530-80` - 106 (5530/80 MHz) * `5g-108-5540-20` - 108 (5540/20 MHz) * `5g-110-5550-40` - 110 (5550/40 MHz) * `5g-112-5560-20` - 112 (5560/20 MHz) * `5g-114-5570-160` - 114 (5570/160 MHz) * `5g-116-5580-20` - 116 (5580/20 MHz) * `5g-118-5590-40` - 118 (5590/40 MHz) * `5g-120-5600-20` - 120 (5600/20 MHz) * `5g-122-5610-80` - 122 (5610/80 MHz) * `5g-124-5620-20` - 124 (5620/20 MHz) * `5g-126-5630-40` - 126 (5630/40 MHz) * `5g-128-5640-20` - 128 (5640/20 MHz) * `5g-132-5660-20` - 132 (5660/20 MHz) * `5g-134-5670-40` - 134 (5670/40 MHz) * `5g-136-5680-20` - 136 (5680/20 MHz) * `5g-138-5690-80` - 138 (5690/80 MHz) * `5g-140-5700-20` - 140 (5700/20 MHz) * `5g-142-5710-40` - 142 (5710/40 MHz) * `5g-144-5720-20` - 144 (5720/20 MHz) * `5g-149-5745-20` - 149 (5745/20 MHz) * `5g-151-5755-40` - 151 (5755/40 MHz) * `5g-153-5765-20` - 153 (5765/20 MHz) * `5g-155-5775-80` - 155 (5775/80 MHz) * `5g-157-5785-20` - 157 (5785/20 MHz) * `5g-159-5795-40` - 159 (5795/40 MHz) * `5g-161-5805-20` - 161 (5805/20 MHz) * `5g-163-5815-160` - 163 (5815/160 MHz) * `5g-165-5825-20` - 165 (5825/20 MHz) * `5g-167-5835-40` - 167 (5835/40 MHz) * `5g-169-5845-20` - 169 (5845/20 MHz) * `5g-171-5855-80` - 171 (5855/80 MHz) * `5g-173-5865-20` - 173 (5865/20 MHz) * `5g-175-5875-40` - 175 (5875/40 MHz) * `5g-177-5885-20` - 177 (5885/20 MHz) * `6g-1-5955-20` - 1 (5955/20 MHz) * `6g-3-5965-40` - 3 (5965/40 MHz) * `6g-5-5975-20` - 5 (5975/20 MHz) * `6g-7-5985-80` - 7 (5985/80 MHz) * `6g-9-5995-20` - 9 (5995/20 MHz) * `6g-11-6005-40` - 11 (6005/40 MHz) * `6g-13-6015-20` - 13 (6015/20 MHz) * `6g-15-6025-160` - 15 (6025/160 MHz) * `6g-17-6035-20` - 17 (6035/20 MHz) * `6g-19-6045-40` - 19 (6045/40 MHz) * `6g-21-6055-20` - 21 (6055/20 MHz) * `6g-23-6065-80` - 23 (6065/80 MHz) * `6g-25-6075-20` - 25 (6075/20 MHz) * `6g-27-6085-40` - 27 (6085/40 MHz) * `6g-29-6095-20` - 29 (6095/20 MHz) * `6g-31-6105-320` - 31 (6105/320 MHz) * `6g-33-6115-20` - 33 (6115/20 MHz) * `6g-35-6125-40` - 35 (6125/40 MHz) * `6g-37-6135-20` - 37 (6135/20 MHz) * `6g-39-6145-80` - 39 (6145/80 MHz) * `6g-41-6155-20` - 41 (6155/20 MHz) * `6g-43-6165-40` - 43 (6165/40 MHz) * `6g-45-6175-20` - 45 (6175/20 MHz) * `6g-47-6185-160` - 47 (6185/160 MHz) * `6g-49-6195-20` - 49 (6195/20 MHz) * `6g-51-6205-40` - 51 (6205/40 MHz) * `6g-53-6215-20` - 53 (6215/20 MHz) * `6g-55-6225-80` - 55 (6225/80 MHz) * `6g-57-6235-20` - 57 (6235/20 MHz) * `6g-59-6245-40` - 59 (6245/40 MHz) * `6g-61-6255-20` - 61 (6255/20 MHz) * `6g-65-6275-20` - 65 (6275/20 MHz) * `6g-67-6285-40` - 67 (6285/40 MHz) * `6g-69-6295-20` - 69 (6295/20 MHz) * `6g-71-6305-80` - 71 (6305/80 MHz) * `6g-73-6315-20` - 73 (6315/20 MHz) * `6g-75-6325-40` - 75 (6325/40 MHz) * `6g-77-6335-20` - 77 (6335/20 MHz) * `6g-79-6345-160` - 79 (6345/160 MHz) * `6g-81-6355-20` - 81 (6355/20 MHz) * `6g-83-6365-40` - 83 (6365/40 MHz) * `6g-85-6375-20` - 85 (6375/20 MHz) * `6g-87-6385-80` - 87 (6385/80 MHz) * `6g-89-6395-20` - 89 (6395/20 MHz) * `6g-91-6405-40` - 91 (6405/40 MHz) * `6g-93-6415-20` - 93 (6415/20 MHz) * `6g-95-6425-320` - 95 (6425/320 MHz) * `6g-97-6435-20` - 97 (6435/20 MHz) * `6g-99-6445-40` - 99 (6445/40 MHz) * `6g-101-6455-20` - 101 (6455/20 MHz) * `6g-103-6465-80` - 103 (6465/80 MHz) * `6g-105-6475-20` - 105 (6475/20 MHz) * `6g-107-6485-40` - 107 (6485/40 MHz) * `6g-109-6495-20` - 109 (6495/20 MHz) * `6g-111-6505-160` - 111 (6505/160 MHz) * `6g-113-6515-20` - 113 (6515/20 MHz) * `6g-115-6525-40` - 115 (6525/40 MHz) * `6g-117-6535-20` - 117 (6535/20 MHz) * `6g-119-6545-80` - 119 (6545/80 MHz) * `6g-121-6555-20` - 121 (6555/20 MHz) * `6g-123-6565-40` - 123 (6565/40 MHz) * `6g-125-6575-20` - 125 (6575/20 MHz) * `6g-129-6595-20` - 129 (6595/20 MHz) * `6g-131-6605-40` - 131 (6605/40 MHz) * `6g-133-6615-20` - 133 (6615/20 MHz) * `6g-135-6625-80` - 135 (6625/80 MHz) * `6g-137-6635-20` - 137 (6635/20 MHz) * `6g-139-6645-40` - 139 (6645/40 MHz) * `6g-141-6655-20` - 141 (6655/20 MHz) * `6g-143-6665-160` - 143 (6665/160 MHz) * `6g-145-6675-20` - 145 (6675/20 MHz) * `6g-147-6685-40` - 147 (6685/40 MHz) * `6g-149-6695-20` - 149 (6695/20 MHz) * `6g-151-6705-80` - 151 (6705/80 MHz) * `6g-153-6715-20` - 153 (6715/20 MHz) * `6g-155-6725-40` - 155 (6725/40 MHz) * `6g-157-6735-20` - 157 (6735/20 MHz) * `6g-159-6745-320` - 159 (6745/320 MHz) * `6g-161-6755-20` - 161 (6755/20 MHz) * `6g-163-6765-40` - 163 (6765/40 MHz) * `6g-165-6775-20` - 165 (6775/20 MHz) * `6g-167-6785-80` - 167 (6785/80 MHz) * `6g-169-6795-20` - 169 (6795/20 MHz) * `6g-171-6805-40` - 171 (6805/40 MHz) * `6g-173-6815-20` - 173 (6815/20 MHz) * `6g-175-6825-160` - 175 (6825/160 MHz) * `6g-177-6835-20` - 177 (6835/20 MHz) * `6g-179-6845-40` - 179 (6845/40 MHz) * `6g-181-6855-20` - 181 (6855/20 MHz) * `6g-183-6865-80` - 183 (6865/80 MHz) * `6g-185-6875-20` - 185 (6875/20 MHz) * `6g-187-6885-40` - 187 (6885/40 MHz) * `6g-189-6895-20` - 189 (6895/20 MHz) * `6g-193-6915-20` - 193 (6915/20 MHz) * `6g-195-6925-40` - 195 (6925/40 MHz) * `6g-197-6935-20` - 197 (6935/20 MHz) * `6g-199-6945-80` - 199 (6945/80 MHz) * `6g-201-6955-20` - 201 (6955/20 MHz) * `6g-203-6965-40` - 203 (6965/40 MHz) * `6g-205-6975-20` - 205 (6975/20 MHz) * `6g-207-6985-160` - 207 (6985/160 MHz) * `6g-209-6995-20` - 209 (6995/20 MHz) * `6g-211-7005-40` - 211 (7005/40 MHz) * `6g-213-7015-20` - 213 (7015/20 MHz) * `6g-215-7025-80` - 215 (7025/80 MHz) * `6g-217-7035-20` - 217 (7035/20 MHz) * `6g-219-7045-40` - 219 (7045/40 MHz) * `6g-221-7055-20` - 221 (7055/20 MHz) * `6g-225-7075-20` - 225 (7075/20 MHz) * `6g-227-7085-40` - 227 (7085/40 MHz) * `6g-229-7095-20` - 229 (7095/20 MHz) * `6g-233-7115-20` - 233 (7115/20 MHz) * `60g-1-58320-2160` - 1 (58.32/2.16 GHz) * `60g-2-60480-2160` - 2 (60.48/2.16 GHz) * `60g-3-62640-2160` - 3 (62.64/2.16 GHz) * `60g-4-64800-2160` - 4 (64.80/2.16 GHz) * `60g-5-66960-2160` - 5 (66.96/2.16 GHz) * `60g-6-69120-2160` - 6 (69.12/2.16 GHz) * `60g-9-59400-4320` - 9 (59.40/4.32 GHz) * `60g-10-61560-4320` - 10 (61.56/4.32 GHz) * `60g-11-63720-4320` - 11 (63.72/4.32 GHz) * `60g-12-65880-4320` - 12 (65.88/4.32 GHz) * `60g-13-68040-4320` - 13 (68.04/4.32 GHz) * `60g-17-60480-6480` - 17 (60.48/6.48 GHz) * `60g-18-62640-6480` - 18 (62.64/6.48 GHz) * `60g-19-64800-6480` - 19 (64.80/6.48 GHz) * `60g-20-66960-6480` - 20 (66.96/6.48 GHz) * `60g-25-61560-6480` - 25 (61.56/8.64 GHz) * `60g-26-63720-6480` - 26 (63.72/8.64 GHz) * `60g-27-65880-6480` - 27 (65.88/8.64 GHz) +func (r ApiDcimInterfacesListRequest) RfChannelIsw(rfChannelIsw []WirelessChannel) ApiDcimInterfacesListRequest { + r.rfChannelIsw = &rfChannelIsw + return r +} + +// * `2.4g-1-2412-22` - 1 (2412 MHz) * `2.4g-2-2417-22` - 2 (2417 MHz) * `2.4g-3-2422-22` - 3 (2422 MHz) * `2.4g-4-2427-22` - 4 (2427 MHz) * `2.4g-5-2432-22` - 5 (2432 MHz) * `2.4g-6-2437-22` - 6 (2437 MHz) * `2.4g-7-2442-22` - 7 (2442 MHz) * `2.4g-8-2447-22` - 8 (2447 MHz) * `2.4g-9-2452-22` - 9 (2452 MHz) * `2.4g-10-2457-22` - 10 (2457 MHz) * `2.4g-11-2462-22` - 11 (2462 MHz) * `2.4g-12-2467-22` - 12 (2467 MHz) * `2.4g-13-2472-22` - 13 (2472 MHz) * `5g-32-5160-20` - 32 (5160/20 MHz) * `5g-34-5170-40` - 34 (5170/40 MHz) * `5g-36-5180-20` - 36 (5180/20 MHz) * `5g-38-5190-40` - 38 (5190/40 MHz) * `5g-40-5200-20` - 40 (5200/20 MHz) * `5g-42-5210-80` - 42 (5210/80 MHz) * `5g-44-5220-20` - 44 (5220/20 MHz) * `5g-46-5230-40` - 46 (5230/40 MHz) * `5g-48-5240-20` - 48 (5240/20 MHz) * `5g-50-5250-160` - 50 (5250/160 MHz) * `5g-52-5260-20` - 52 (5260/20 MHz) * `5g-54-5270-40` - 54 (5270/40 MHz) * `5g-56-5280-20` - 56 (5280/20 MHz) * `5g-58-5290-80` - 58 (5290/80 MHz) * `5g-60-5300-20` - 60 (5300/20 MHz) * `5g-62-5310-40` - 62 (5310/40 MHz) * `5g-64-5320-20` - 64 (5320/20 MHz) * `5g-100-5500-20` - 100 (5500/20 MHz) * `5g-102-5510-40` - 102 (5510/40 MHz) * `5g-104-5520-20` - 104 (5520/20 MHz) * `5g-106-5530-80` - 106 (5530/80 MHz) * `5g-108-5540-20` - 108 (5540/20 MHz) * `5g-110-5550-40` - 110 (5550/40 MHz) * `5g-112-5560-20` - 112 (5560/20 MHz) * `5g-114-5570-160` - 114 (5570/160 MHz) * `5g-116-5580-20` - 116 (5580/20 MHz) * `5g-118-5590-40` - 118 (5590/40 MHz) * `5g-120-5600-20` - 120 (5600/20 MHz) * `5g-122-5610-80` - 122 (5610/80 MHz) * `5g-124-5620-20` - 124 (5620/20 MHz) * `5g-126-5630-40` - 126 (5630/40 MHz) * `5g-128-5640-20` - 128 (5640/20 MHz) * `5g-132-5660-20` - 132 (5660/20 MHz) * `5g-134-5670-40` - 134 (5670/40 MHz) * `5g-136-5680-20` - 136 (5680/20 MHz) * `5g-138-5690-80` - 138 (5690/80 MHz) * `5g-140-5700-20` - 140 (5700/20 MHz) * `5g-142-5710-40` - 142 (5710/40 MHz) * `5g-144-5720-20` - 144 (5720/20 MHz) * `5g-149-5745-20` - 149 (5745/20 MHz) * `5g-151-5755-40` - 151 (5755/40 MHz) * `5g-153-5765-20` - 153 (5765/20 MHz) * `5g-155-5775-80` - 155 (5775/80 MHz) * `5g-157-5785-20` - 157 (5785/20 MHz) * `5g-159-5795-40` - 159 (5795/40 MHz) * `5g-161-5805-20` - 161 (5805/20 MHz) * `5g-163-5815-160` - 163 (5815/160 MHz) * `5g-165-5825-20` - 165 (5825/20 MHz) * `5g-167-5835-40` - 167 (5835/40 MHz) * `5g-169-5845-20` - 169 (5845/20 MHz) * `5g-171-5855-80` - 171 (5855/80 MHz) * `5g-173-5865-20` - 173 (5865/20 MHz) * `5g-175-5875-40` - 175 (5875/40 MHz) * `5g-177-5885-20` - 177 (5885/20 MHz) * `6g-1-5955-20` - 1 (5955/20 MHz) * `6g-3-5965-40` - 3 (5965/40 MHz) * `6g-5-5975-20` - 5 (5975/20 MHz) * `6g-7-5985-80` - 7 (5985/80 MHz) * `6g-9-5995-20` - 9 (5995/20 MHz) * `6g-11-6005-40` - 11 (6005/40 MHz) * `6g-13-6015-20` - 13 (6015/20 MHz) * `6g-15-6025-160` - 15 (6025/160 MHz) * `6g-17-6035-20` - 17 (6035/20 MHz) * `6g-19-6045-40` - 19 (6045/40 MHz) * `6g-21-6055-20` - 21 (6055/20 MHz) * `6g-23-6065-80` - 23 (6065/80 MHz) * `6g-25-6075-20` - 25 (6075/20 MHz) * `6g-27-6085-40` - 27 (6085/40 MHz) * `6g-29-6095-20` - 29 (6095/20 MHz) * `6g-31-6105-320` - 31 (6105/320 MHz) * `6g-33-6115-20` - 33 (6115/20 MHz) * `6g-35-6125-40` - 35 (6125/40 MHz) * `6g-37-6135-20` - 37 (6135/20 MHz) * `6g-39-6145-80` - 39 (6145/80 MHz) * `6g-41-6155-20` - 41 (6155/20 MHz) * `6g-43-6165-40` - 43 (6165/40 MHz) * `6g-45-6175-20` - 45 (6175/20 MHz) * `6g-47-6185-160` - 47 (6185/160 MHz) * `6g-49-6195-20` - 49 (6195/20 MHz) * `6g-51-6205-40` - 51 (6205/40 MHz) * `6g-53-6215-20` - 53 (6215/20 MHz) * `6g-55-6225-80` - 55 (6225/80 MHz) * `6g-57-6235-20` - 57 (6235/20 MHz) * `6g-59-6245-40` - 59 (6245/40 MHz) * `6g-61-6255-20` - 61 (6255/20 MHz) * `6g-65-6275-20` - 65 (6275/20 MHz) * `6g-67-6285-40` - 67 (6285/40 MHz) * `6g-69-6295-20` - 69 (6295/20 MHz) * `6g-71-6305-80` - 71 (6305/80 MHz) * `6g-73-6315-20` - 73 (6315/20 MHz) * `6g-75-6325-40` - 75 (6325/40 MHz) * `6g-77-6335-20` - 77 (6335/20 MHz) * `6g-79-6345-160` - 79 (6345/160 MHz) * `6g-81-6355-20` - 81 (6355/20 MHz) * `6g-83-6365-40` - 83 (6365/40 MHz) * `6g-85-6375-20` - 85 (6375/20 MHz) * `6g-87-6385-80` - 87 (6385/80 MHz) * `6g-89-6395-20` - 89 (6395/20 MHz) * `6g-91-6405-40` - 91 (6405/40 MHz) * `6g-93-6415-20` - 93 (6415/20 MHz) * `6g-95-6425-320` - 95 (6425/320 MHz) * `6g-97-6435-20` - 97 (6435/20 MHz) * `6g-99-6445-40` - 99 (6445/40 MHz) * `6g-101-6455-20` - 101 (6455/20 MHz) * `6g-103-6465-80` - 103 (6465/80 MHz) * `6g-105-6475-20` - 105 (6475/20 MHz) * `6g-107-6485-40` - 107 (6485/40 MHz) * `6g-109-6495-20` - 109 (6495/20 MHz) * `6g-111-6505-160` - 111 (6505/160 MHz) * `6g-113-6515-20` - 113 (6515/20 MHz) * `6g-115-6525-40` - 115 (6525/40 MHz) * `6g-117-6535-20` - 117 (6535/20 MHz) * `6g-119-6545-80` - 119 (6545/80 MHz) * `6g-121-6555-20` - 121 (6555/20 MHz) * `6g-123-6565-40` - 123 (6565/40 MHz) * `6g-125-6575-20` - 125 (6575/20 MHz) * `6g-129-6595-20` - 129 (6595/20 MHz) * `6g-131-6605-40` - 131 (6605/40 MHz) * `6g-133-6615-20` - 133 (6615/20 MHz) * `6g-135-6625-80` - 135 (6625/80 MHz) * `6g-137-6635-20` - 137 (6635/20 MHz) * `6g-139-6645-40` - 139 (6645/40 MHz) * `6g-141-6655-20` - 141 (6655/20 MHz) * `6g-143-6665-160` - 143 (6665/160 MHz) * `6g-145-6675-20` - 145 (6675/20 MHz) * `6g-147-6685-40` - 147 (6685/40 MHz) * `6g-149-6695-20` - 149 (6695/20 MHz) * `6g-151-6705-80` - 151 (6705/80 MHz) * `6g-153-6715-20` - 153 (6715/20 MHz) * `6g-155-6725-40` - 155 (6725/40 MHz) * `6g-157-6735-20` - 157 (6735/20 MHz) * `6g-159-6745-320` - 159 (6745/320 MHz) * `6g-161-6755-20` - 161 (6755/20 MHz) * `6g-163-6765-40` - 163 (6765/40 MHz) * `6g-165-6775-20` - 165 (6775/20 MHz) * `6g-167-6785-80` - 167 (6785/80 MHz) * `6g-169-6795-20` - 169 (6795/20 MHz) * `6g-171-6805-40` - 171 (6805/40 MHz) * `6g-173-6815-20` - 173 (6815/20 MHz) * `6g-175-6825-160` - 175 (6825/160 MHz) * `6g-177-6835-20` - 177 (6835/20 MHz) * `6g-179-6845-40` - 179 (6845/40 MHz) * `6g-181-6855-20` - 181 (6855/20 MHz) * `6g-183-6865-80` - 183 (6865/80 MHz) * `6g-185-6875-20` - 185 (6875/20 MHz) * `6g-187-6885-40` - 187 (6885/40 MHz) * `6g-189-6895-20` - 189 (6895/20 MHz) * `6g-193-6915-20` - 193 (6915/20 MHz) * `6g-195-6925-40` - 195 (6925/40 MHz) * `6g-197-6935-20` - 197 (6935/20 MHz) * `6g-199-6945-80` - 199 (6945/80 MHz) * `6g-201-6955-20` - 201 (6955/20 MHz) * `6g-203-6965-40` - 203 (6965/40 MHz) * `6g-205-6975-20` - 205 (6975/20 MHz) * `6g-207-6985-160` - 207 (6985/160 MHz) * `6g-209-6995-20` - 209 (6995/20 MHz) * `6g-211-7005-40` - 211 (7005/40 MHz) * `6g-213-7015-20` - 213 (7015/20 MHz) * `6g-215-7025-80` - 215 (7025/80 MHz) * `6g-217-7035-20` - 217 (7035/20 MHz) * `6g-219-7045-40` - 219 (7045/40 MHz) * `6g-221-7055-20` - 221 (7055/20 MHz) * `6g-225-7075-20` - 225 (7075/20 MHz) * `6g-227-7085-40` - 227 (7085/40 MHz) * `6g-229-7095-20` - 229 (7095/20 MHz) * `6g-233-7115-20` - 233 (7115/20 MHz) * `60g-1-58320-2160` - 1 (58.32/2.16 GHz) * `60g-2-60480-2160` - 2 (60.48/2.16 GHz) * `60g-3-62640-2160` - 3 (62.64/2.16 GHz) * `60g-4-64800-2160` - 4 (64.80/2.16 GHz) * `60g-5-66960-2160` - 5 (66.96/2.16 GHz) * `60g-6-69120-2160` - 6 (69.12/2.16 GHz) * `60g-9-59400-4320` - 9 (59.40/4.32 GHz) * `60g-10-61560-4320` - 10 (61.56/4.32 GHz) * `60g-11-63720-4320` - 11 (63.72/4.32 GHz) * `60g-12-65880-4320` - 12 (65.88/4.32 GHz) * `60g-13-68040-4320` - 13 (68.04/4.32 GHz) * `60g-17-60480-6480` - 17 (60.48/6.48 GHz) * `60g-18-62640-6480` - 18 (62.64/6.48 GHz) * `60g-19-64800-6480` - 19 (64.80/6.48 GHz) * `60g-20-66960-6480` - 20 (66.96/6.48 GHz) * `60g-25-61560-6480` - 25 (61.56/8.64 GHz) * `60g-26-63720-6480` - 26 (63.72/8.64 GHz) * `60g-27-65880-6480` - 27 (65.88/8.64 GHz) +func (r ApiDcimInterfacesListRequest) RfChannelN(rfChannelN []WirelessChannel) ApiDcimInterfacesListRequest { r.rfChannelN = &rfChannelN return r } +// * `2.4g-1-2412-22` - 1 (2412 MHz) * `2.4g-2-2417-22` - 2 (2417 MHz) * `2.4g-3-2422-22` - 3 (2422 MHz) * `2.4g-4-2427-22` - 4 (2427 MHz) * `2.4g-5-2432-22` - 5 (2432 MHz) * `2.4g-6-2437-22` - 6 (2437 MHz) * `2.4g-7-2442-22` - 7 (2442 MHz) * `2.4g-8-2447-22` - 8 (2447 MHz) * `2.4g-9-2452-22` - 9 (2452 MHz) * `2.4g-10-2457-22` - 10 (2457 MHz) * `2.4g-11-2462-22` - 11 (2462 MHz) * `2.4g-12-2467-22` - 12 (2467 MHz) * `2.4g-13-2472-22` - 13 (2472 MHz) * `5g-32-5160-20` - 32 (5160/20 MHz) * `5g-34-5170-40` - 34 (5170/40 MHz) * `5g-36-5180-20` - 36 (5180/20 MHz) * `5g-38-5190-40` - 38 (5190/40 MHz) * `5g-40-5200-20` - 40 (5200/20 MHz) * `5g-42-5210-80` - 42 (5210/80 MHz) * `5g-44-5220-20` - 44 (5220/20 MHz) * `5g-46-5230-40` - 46 (5230/40 MHz) * `5g-48-5240-20` - 48 (5240/20 MHz) * `5g-50-5250-160` - 50 (5250/160 MHz) * `5g-52-5260-20` - 52 (5260/20 MHz) * `5g-54-5270-40` - 54 (5270/40 MHz) * `5g-56-5280-20` - 56 (5280/20 MHz) * `5g-58-5290-80` - 58 (5290/80 MHz) * `5g-60-5300-20` - 60 (5300/20 MHz) * `5g-62-5310-40` - 62 (5310/40 MHz) * `5g-64-5320-20` - 64 (5320/20 MHz) * `5g-100-5500-20` - 100 (5500/20 MHz) * `5g-102-5510-40` - 102 (5510/40 MHz) * `5g-104-5520-20` - 104 (5520/20 MHz) * `5g-106-5530-80` - 106 (5530/80 MHz) * `5g-108-5540-20` - 108 (5540/20 MHz) * `5g-110-5550-40` - 110 (5550/40 MHz) * `5g-112-5560-20` - 112 (5560/20 MHz) * `5g-114-5570-160` - 114 (5570/160 MHz) * `5g-116-5580-20` - 116 (5580/20 MHz) * `5g-118-5590-40` - 118 (5590/40 MHz) * `5g-120-5600-20` - 120 (5600/20 MHz) * `5g-122-5610-80` - 122 (5610/80 MHz) * `5g-124-5620-20` - 124 (5620/20 MHz) * `5g-126-5630-40` - 126 (5630/40 MHz) * `5g-128-5640-20` - 128 (5640/20 MHz) * `5g-132-5660-20` - 132 (5660/20 MHz) * `5g-134-5670-40` - 134 (5670/40 MHz) * `5g-136-5680-20` - 136 (5680/20 MHz) * `5g-138-5690-80` - 138 (5690/80 MHz) * `5g-140-5700-20` - 140 (5700/20 MHz) * `5g-142-5710-40` - 142 (5710/40 MHz) * `5g-144-5720-20` - 144 (5720/20 MHz) * `5g-149-5745-20` - 149 (5745/20 MHz) * `5g-151-5755-40` - 151 (5755/40 MHz) * `5g-153-5765-20` - 153 (5765/20 MHz) * `5g-155-5775-80` - 155 (5775/80 MHz) * `5g-157-5785-20` - 157 (5785/20 MHz) * `5g-159-5795-40` - 159 (5795/40 MHz) * `5g-161-5805-20` - 161 (5805/20 MHz) * `5g-163-5815-160` - 163 (5815/160 MHz) * `5g-165-5825-20` - 165 (5825/20 MHz) * `5g-167-5835-40` - 167 (5835/40 MHz) * `5g-169-5845-20` - 169 (5845/20 MHz) * `5g-171-5855-80` - 171 (5855/80 MHz) * `5g-173-5865-20` - 173 (5865/20 MHz) * `5g-175-5875-40` - 175 (5875/40 MHz) * `5g-177-5885-20` - 177 (5885/20 MHz) * `6g-1-5955-20` - 1 (5955/20 MHz) * `6g-3-5965-40` - 3 (5965/40 MHz) * `6g-5-5975-20` - 5 (5975/20 MHz) * `6g-7-5985-80` - 7 (5985/80 MHz) * `6g-9-5995-20` - 9 (5995/20 MHz) * `6g-11-6005-40` - 11 (6005/40 MHz) * `6g-13-6015-20` - 13 (6015/20 MHz) * `6g-15-6025-160` - 15 (6025/160 MHz) * `6g-17-6035-20` - 17 (6035/20 MHz) * `6g-19-6045-40` - 19 (6045/40 MHz) * `6g-21-6055-20` - 21 (6055/20 MHz) * `6g-23-6065-80` - 23 (6065/80 MHz) * `6g-25-6075-20` - 25 (6075/20 MHz) * `6g-27-6085-40` - 27 (6085/40 MHz) * `6g-29-6095-20` - 29 (6095/20 MHz) * `6g-31-6105-320` - 31 (6105/320 MHz) * `6g-33-6115-20` - 33 (6115/20 MHz) * `6g-35-6125-40` - 35 (6125/40 MHz) * `6g-37-6135-20` - 37 (6135/20 MHz) * `6g-39-6145-80` - 39 (6145/80 MHz) * `6g-41-6155-20` - 41 (6155/20 MHz) * `6g-43-6165-40` - 43 (6165/40 MHz) * `6g-45-6175-20` - 45 (6175/20 MHz) * `6g-47-6185-160` - 47 (6185/160 MHz) * `6g-49-6195-20` - 49 (6195/20 MHz) * `6g-51-6205-40` - 51 (6205/40 MHz) * `6g-53-6215-20` - 53 (6215/20 MHz) * `6g-55-6225-80` - 55 (6225/80 MHz) * `6g-57-6235-20` - 57 (6235/20 MHz) * `6g-59-6245-40` - 59 (6245/40 MHz) * `6g-61-6255-20` - 61 (6255/20 MHz) * `6g-65-6275-20` - 65 (6275/20 MHz) * `6g-67-6285-40` - 67 (6285/40 MHz) * `6g-69-6295-20` - 69 (6295/20 MHz) * `6g-71-6305-80` - 71 (6305/80 MHz) * `6g-73-6315-20` - 73 (6315/20 MHz) * `6g-75-6325-40` - 75 (6325/40 MHz) * `6g-77-6335-20` - 77 (6335/20 MHz) * `6g-79-6345-160` - 79 (6345/160 MHz) * `6g-81-6355-20` - 81 (6355/20 MHz) * `6g-83-6365-40` - 83 (6365/40 MHz) * `6g-85-6375-20` - 85 (6375/20 MHz) * `6g-87-6385-80` - 87 (6385/80 MHz) * `6g-89-6395-20` - 89 (6395/20 MHz) * `6g-91-6405-40` - 91 (6405/40 MHz) * `6g-93-6415-20` - 93 (6415/20 MHz) * `6g-95-6425-320` - 95 (6425/320 MHz) * `6g-97-6435-20` - 97 (6435/20 MHz) * `6g-99-6445-40` - 99 (6445/40 MHz) * `6g-101-6455-20` - 101 (6455/20 MHz) * `6g-103-6465-80` - 103 (6465/80 MHz) * `6g-105-6475-20` - 105 (6475/20 MHz) * `6g-107-6485-40` - 107 (6485/40 MHz) * `6g-109-6495-20` - 109 (6495/20 MHz) * `6g-111-6505-160` - 111 (6505/160 MHz) * `6g-113-6515-20` - 113 (6515/20 MHz) * `6g-115-6525-40` - 115 (6525/40 MHz) * `6g-117-6535-20` - 117 (6535/20 MHz) * `6g-119-6545-80` - 119 (6545/80 MHz) * `6g-121-6555-20` - 121 (6555/20 MHz) * `6g-123-6565-40` - 123 (6565/40 MHz) * `6g-125-6575-20` - 125 (6575/20 MHz) * `6g-129-6595-20` - 129 (6595/20 MHz) * `6g-131-6605-40` - 131 (6605/40 MHz) * `6g-133-6615-20` - 133 (6615/20 MHz) * `6g-135-6625-80` - 135 (6625/80 MHz) * `6g-137-6635-20` - 137 (6635/20 MHz) * `6g-139-6645-40` - 139 (6645/40 MHz) * `6g-141-6655-20` - 141 (6655/20 MHz) * `6g-143-6665-160` - 143 (6665/160 MHz) * `6g-145-6675-20` - 145 (6675/20 MHz) * `6g-147-6685-40` - 147 (6685/40 MHz) * `6g-149-6695-20` - 149 (6695/20 MHz) * `6g-151-6705-80` - 151 (6705/80 MHz) * `6g-153-6715-20` - 153 (6715/20 MHz) * `6g-155-6725-40` - 155 (6725/40 MHz) * `6g-157-6735-20` - 157 (6735/20 MHz) * `6g-159-6745-320` - 159 (6745/320 MHz) * `6g-161-6755-20` - 161 (6755/20 MHz) * `6g-163-6765-40` - 163 (6765/40 MHz) * `6g-165-6775-20` - 165 (6775/20 MHz) * `6g-167-6785-80` - 167 (6785/80 MHz) * `6g-169-6795-20` - 169 (6795/20 MHz) * `6g-171-6805-40` - 171 (6805/40 MHz) * `6g-173-6815-20` - 173 (6815/20 MHz) * `6g-175-6825-160` - 175 (6825/160 MHz) * `6g-177-6835-20` - 177 (6835/20 MHz) * `6g-179-6845-40` - 179 (6845/40 MHz) * `6g-181-6855-20` - 181 (6855/20 MHz) * `6g-183-6865-80` - 183 (6865/80 MHz) * `6g-185-6875-20` - 185 (6875/20 MHz) * `6g-187-6885-40` - 187 (6885/40 MHz) * `6g-189-6895-20` - 189 (6895/20 MHz) * `6g-193-6915-20` - 193 (6915/20 MHz) * `6g-195-6925-40` - 195 (6925/40 MHz) * `6g-197-6935-20` - 197 (6935/20 MHz) * `6g-199-6945-80` - 199 (6945/80 MHz) * `6g-201-6955-20` - 201 (6955/20 MHz) * `6g-203-6965-40` - 203 (6965/40 MHz) * `6g-205-6975-20` - 205 (6975/20 MHz) * `6g-207-6985-160` - 207 (6985/160 MHz) * `6g-209-6995-20` - 209 (6995/20 MHz) * `6g-211-7005-40` - 211 (7005/40 MHz) * `6g-213-7015-20` - 213 (7015/20 MHz) * `6g-215-7025-80` - 215 (7025/80 MHz) * `6g-217-7035-20` - 217 (7035/20 MHz) * `6g-219-7045-40` - 219 (7045/40 MHz) * `6g-221-7055-20` - 221 (7055/20 MHz) * `6g-225-7075-20` - 225 (7075/20 MHz) * `6g-227-7085-40` - 227 (7085/40 MHz) * `6g-229-7095-20` - 229 (7095/20 MHz) * `6g-233-7115-20` - 233 (7115/20 MHz) * `60g-1-58320-2160` - 1 (58.32/2.16 GHz) * `60g-2-60480-2160` - 2 (60.48/2.16 GHz) * `60g-3-62640-2160` - 3 (62.64/2.16 GHz) * `60g-4-64800-2160` - 4 (64.80/2.16 GHz) * `60g-5-66960-2160` - 5 (66.96/2.16 GHz) * `60g-6-69120-2160` - 6 (69.12/2.16 GHz) * `60g-9-59400-4320` - 9 (59.40/4.32 GHz) * `60g-10-61560-4320` - 10 (61.56/4.32 GHz) * `60g-11-63720-4320` - 11 (63.72/4.32 GHz) * `60g-12-65880-4320` - 12 (65.88/4.32 GHz) * `60g-13-68040-4320` - 13 (68.04/4.32 GHz) * `60g-17-60480-6480` - 17 (60.48/6.48 GHz) * `60g-18-62640-6480` - 18 (62.64/6.48 GHz) * `60g-19-64800-6480` - 19 (64.80/6.48 GHz) * `60g-20-66960-6480` - 20 (66.96/6.48 GHz) * `60g-25-61560-6480` - 25 (61.56/8.64 GHz) * `60g-26-63720-6480` - 26 (63.72/8.64 GHz) * `60g-27-65880-6480` - 27 (65.88/8.64 GHz) +func (r ApiDcimInterfacesListRequest) RfChannelNic(rfChannelNic []WirelessChannel) ApiDcimInterfacesListRequest { + r.rfChannelNic = &rfChannelNic + return r +} + +// * `2.4g-1-2412-22` - 1 (2412 MHz) * `2.4g-2-2417-22` - 2 (2417 MHz) * `2.4g-3-2422-22` - 3 (2422 MHz) * `2.4g-4-2427-22` - 4 (2427 MHz) * `2.4g-5-2432-22` - 5 (2432 MHz) * `2.4g-6-2437-22` - 6 (2437 MHz) * `2.4g-7-2442-22` - 7 (2442 MHz) * `2.4g-8-2447-22` - 8 (2447 MHz) * `2.4g-9-2452-22` - 9 (2452 MHz) * `2.4g-10-2457-22` - 10 (2457 MHz) * `2.4g-11-2462-22` - 11 (2462 MHz) * `2.4g-12-2467-22` - 12 (2467 MHz) * `2.4g-13-2472-22` - 13 (2472 MHz) * `5g-32-5160-20` - 32 (5160/20 MHz) * `5g-34-5170-40` - 34 (5170/40 MHz) * `5g-36-5180-20` - 36 (5180/20 MHz) * `5g-38-5190-40` - 38 (5190/40 MHz) * `5g-40-5200-20` - 40 (5200/20 MHz) * `5g-42-5210-80` - 42 (5210/80 MHz) * `5g-44-5220-20` - 44 (5220/20 MHz) * `5g-46-5230-40` - 46 (5230/40 MHz) * `5g-48-5240-20` - 48 (5240/20 MHz) * `5g-50-5250-160` - 50 (5250/160 MHz) * `5g-52-5260-20` - 52 (5260/20 MHz) * `5g-54-5270-40` - 54 (5270/40 MHz) * `5g-56-5280-20` - 56 (5280/20 MHz) * `5g-58-5290-80` - 58 (5290/80 MHz) * `5g-60-5300-20` - 60 (5300/20 MHz) * `5g-62-5310-40` - 62 (5310/40 MHz) * `5g-64-5320-20` - 64 (5320/20 MHz) * `5g-100-5500-20` - 100 (5500/20 MHz) * `5g-102-5510-40` - 102 (5510/40 MHz) * `5g-104-5520-20` - 104 (5520/20 MHz) * `5g-106-5530-80` - 106 (5530/80 MHz) * `5g-108-5540-20` - 108 (5540/20 MHz) * `5g-110-5550-40` - 110 (5550/40 MHz) * `5g-112-5560-20` - 112 (5560/20 MHz) * `5g-114-5570-160` - 114 (5570/160 MHz) * `5g-116-5580-20` - 116 (5580/20 MHz) * `5g-118-5590-40` - 118 (5590/40 MHz) * `5g-120-5600-20` - 120 (5600/20 MHz) * `5g-122-5610-80` - 122 (5610/80 MHz) * `5g-124-5620-20` - 124 (5620/20 MHz) * `5g-126-5630-40` - 126 (5630/40 MHz) * `5g-128-5640-20` - 128 (5640/20 MHz) * `5g-132-5660-20` - 132 (5660/20 MHz) * `5g-134-5670-40` - 134 (5670/40 MHz) * `5g-136-5680-20` - 136 (5680/20 MHz) * `5g-138-5690-80` - 138 (5690/80 MHz) * `5g-140-5700-20` - 140 (5700/20 MHz) * `5g-142-5710-40` - 142 (5710/40 MHz) * `5g-144-5720-20` - 144 (5720/20 MHz) * `5g-149-5745-20` - 149 (5745/20 MHz) * `5g-151-5755-40` - 151 (5755/40 MHz) * `5g-153-5765-20` - 153 (5765/20 MHz) * `5g-155-5775-80` - 155 (5775/80 MHz) * `5g-157-5785-20` - 157 (5785/20 MHz) * `5g-159-5795-40` - 159 (5795/40 MHz) * `5g-161-5805-20` - 161 (5805/20 MHz) * `5g-163-5815-160` - 163 (5815/160 MHz) * `5g-165-5825-20` - 165 (5825/20 MHz) * `5g-167-5835-40` - 167 (5835/40 MHz) * `5g-169-5845-20` - 169 (5845/20 MHz) * `5g-171-5855-80` - 171 (5855/80 MHz) * `5g-173-5865-20` - 173 (5865/20 MHz) * `5g-175-5875-40` - 175 (5875/40 MHz) * `5g-177-5885-20` - 177 (5885/20 MHz) * `6g-1-5955-20` - 1 (5955/20 MHz) * `6g-3-5965-40` - 3 (5965/40 MHz) * `6g-5-5975-20` - 5 (5975/20 MHz) * `6g-7-5985-80` - 7 (5985/80 MHz) * `6g-9-5995-20` - 9 (5995/20 MHz) * `6g-11-6005-40` - 11 (6005/40 MHz) * `6g-13-6015-20` - 13 (6015/20 MHz) * `6g-15-6025-160` - 15 (6025/160 MHz) * `6g-17-6035-20` - 17 (6035/20 MHz) * `6g-19-6045-40` - 19 (6045/40 MHz) * `6g-21-6055-20` - 21 (6055/20 MHz) * `6g-23-6065-80` - 23 (6065/80 MHz) * `6g-25-6075-20` - 25 (6075/20 MHz) * `6g-27-6085-40` - 27 (6085/40 MHz) * `6g-29-6095-20` - 29 (6095/20 MHz) * `6g-31-6105-320` - 31 (6105/320 MHz) * `6g-33-6115-20` - 33 (6115/20 MHz) * `6g-35-6125-40` - 35 (6125/40 MHz) * `6g-37-6135-20` - 37 (6135/20 MHz) * `6g-39-6145-80` - 39 (6145/80 MHz) * `6g-41-6155-20` - 41 (6155/20 MHz) * `6g-43-6165-40` - 43 (6165/40 MHz) * `6g-45-6175-20` - 45 (6175/20 MHz) * `6g-47-6185-160` - 47 (6185/160 MHz) * `6g-49-6195-20` - 49 (6195/20 MHz) * `6g-51-6205-40` - 51 (6205/40 MHz) * `6g-53-6215-20` - 53 (6215/20 MHz) * `6g-55-6225-80` - 55 (6225/80 MHz) * `6g-57-6235-20` - 57 (6235/20 MHz) * `6g-59-6245-40` - 59 (6245/40 MHz) * `6g-61-6255-20` - 61 (6255/20 MHz) * `6g-65-6275-20` - 65 (6275/20 MHz) * `6g-67-6285-40` - 67 (6285/40 MHz) * `6g-69-6295-20` - 69 (6295/20 MHz) * `6g-71-6305-80` - 71 (6305/80 MHz) * `6g-73-6315-20` - 73 (6315/20 MHz) * `6g-75-6325-40` - 75 (6325/40 MHz) * `6g-77-6335-20` - 77 (6335/20 MHz) * `6g-79-6345-160` - 79 (6345/160 MHz) * `6g-81-6355-20` - 81 (6355/20 MHz) * `6g-83-6365-40` - 83 (6365/40 MHz) * `6g-85-6375-20` - 85 (6375/20 MHz) * `6g-87-6385-80` - 87 (6385/80 MHz) * `6g-89-6395-20` - 89 (6395/20 MHz) * `6g-91-6405-40` - 91 (6405/40 MHz) * `6g-93-6415-20` - 93 (6415/20 MHz) * `6g-95-6425-320` - 95 (6425/320 MHz) * `6g-97-6435-20` - 97 (6435/20 MHz) * `6g-99-6445-40` - 99 (6445/40 MHz) * `6g-101-6455-20` - 101 (6455/20 MHz) * `6g-103-6465-80` - 103 (6465/80 MHz) * `6g-105-6475-20` - 105 (6475/20 MHz) * `6g-107-6485-40` - 107 (6485/40 MHz) * `6g-109-6495-20` - 109 (6495/20 MHz) * `6g-111-6505-160` - 111 (6505/160 MHz) * `6g-113-6515-20` - 113 (6515/20 MHz) * `6g-115-6525-40` - 115 (6525/40 MHz) * `6g-117-6535-20` - 117 (6535/20 MHz) * `6g-119-6545-80` - 119 (6545/80 MHz) * `6g-121-6555-20` - 121 (6555/20 MHz) * `6g-123-6565-40` - 123 (6565/40 MHz) * `6g-125-6575-20` - 125 (6575/20 MHz) * `6g-129-6595-20` - 129 (6595/20 MHz) * `6g-131-6605-40` - 131 (6605/40 MHz) * `6g-133-6615-20` - 133 (6615/20 MHz) * `6g-135-6625-80` - 135 (6625/80 MHz) * `6g-137-6635-20` - 137 (6635/20 MHz) * `6g-139-6645-40` - 139 (6645/40 MHz) * `6g-141-6655-20` - 141 (6655/20 MHz) * `6g-143-6665-160` - 143 (6665/160 MHz) * `6g-145-6675-20` - 145 (6675/20 MHz) * `6g-147-6685-40` - 147 (6685/40 MHz) * `6g-149-6695-20` - 149 (6695/20 MHz) * `6g-151-6705-80` - 151 (6705/80 MHz) * `6g-153-6715-20` - 153 (6715/20 MHz) * `6g-155-6725-40` - 155 (6725/40 MHz) * `6g-157-6735-20` - 157 (6735/20 MHz) * `6g-159-6745-320` - 159 (6745/320 MHz) * `6g-161-6755-20` - 161 (6755/20 MHz) * `6g-163-6765-40` - 163 (6765/40 MHz) * `6g-165-6775-20` - 165 (6775/20 MHz) * `6g-167-6785-80` - 167 (6785/80 MHz) * `6g-169-6795-20` - 169 (6795/20 MHz) * `6g-171-6805-40` - 171 (6805/40 MHz) * `6g-173-6815-20` - 173 (6815/20 MHz) * `6g-175-6825-160` - 175 (6825/160 MHz) * `6g-177-6835-20` - 177 (6835/20 MHz) * `6g-179-6845-40` - 179 (6845/40 MHz) * `6g-181-6855-20` - 181 (6855/20 MHz) * `6g-183-6865-80` - 183 (6865/80 MHz) * `6g-185-6875-20` - 185 (6875/20 MHz) * `6g-187-6885-40` - 187 (6885/40 MHz) * `6g-189-6895-20` - 189 (6895/20 MHz) * `6g-193-6915-20` - 193 (6915/20 MHz) * `6g-195-6925-40` - 195 (6925/40 MHz) * `6g-197-6935-20` - 197 (6935/20 MHz) * `6g-199-6945-80` - 199 (6945/80 MHz) * `6g-201-6955-20` - 201 (6955/20 MHz) * `6g-203-6965-40` - 203 (6965/40 MHz) * `6g-205-6975-20` - 205 (6975/20 MHz) * `6g-207-6985-160` - 207 (6985/160 MHz) * `6g-209-6995-20` - 209 (6995/20 MHz) * `6g-211-7005-40` - 211 (7005/40 MHz) * `6g-213-7015-20` - 213 (7015/20 MHz) * `6g-215-7025-80` - 215 (7025/80 MHz) * `6g-217-7035-20` - 217 (7035/20 MHz) * `6g-219-7045-40` - 219 (7045/40 MHz) * `6g-221-7055-20` - 221 (7055/20 MHz) * `6g-225-7075-20` - 225 (7075/20 MHz) * `6g-227-7085-40` - 227 (7085/40 MHz) * `6g-229-7095-20` - 229 (7095/20 MHz) * `6g-233-7115-20` - 233 (7115/20 MHz) * `60g-1-58320-2160` - 1 (58.32/2.16 GHz) * `60g-2-60480-2160` - 2 (60.48/2.16 GHz) * `60g-3-62640-2160` - 3 (62.64/2.16 GHz) * `60g-4-64800-2160` - 4 (64.80/2.16 GHz) * `60g-5-66960-2160` - 5 (66.96/2.16 GHz) * `60g-6-69120-2160` - 6 (69.12/2.16 GHz) * `60g-9-59400-4320` - 9 (59.40/4.32 GHz) * `60g-10-61560-4320` - 10 (61.56/4.32 GHz) * `60g-11-63720-4320` - 11 (63.72/4.32 GHz) * `60g-12-65880-4320` - 12 (65.88/4.32 GHz) * `60g-13-68040-4320` - 13 (68.04/4.32 GHz) * `60g-17-60480-6480` - 17 (60.48/6.48 GHz) * `60g-18-62640-6480` - 18 (62.64/6.48 GHz) * `60g-19-64800-6480` - 19 (64.80/6.48 GHz) * `60g-20-66960-6480` - 20 (66.96/6.48 GHz) * `60g-25-61560-6480` - 25 (61.56/8.64 GHz) * `60g-26-63720-6480` - 26 (63.72/8.64 GHz) * `60g-27-65880-6480` - 27 (65.88/8.64 GHz) +func (r ApiDcimInterfacesListRequest) RfChannelNie(rfChannelNie []WirelessChannel) ApiDcimInterfacesListRequest { + r.rfChannelNie = &rfChannelNie + return r +} + +// * `2.4g-1-2412-22` - 1 (2412 MHz) * `2.4g-2-2417-22` - 2 (2417 MHz) * `2.4g-3-2422-22` - 3 (2422 MHz) * `2.4g-4-2427-22` - 4 (2427 MHz) * `2.4g-5-2432-22` - 5 (2432 MHz) * `2.4g-6-2437-22` - 6 (2437 MHz) * `2.4g-7-2442-22` - 7 (2442 MHz) * `2.4g-8-2447-22` - 8 (2447 MHz) * `2.4g-9-2452-22` - 9 (2452 MHz) * `2.4g-10-2457-22` - 10 (2457 MHz) * `2.4g-11-2462-22` - 11 (2462 MHz) * `2.4g-12-2467-22` - 12 (2467 MHz) * `2.4g-13-2472-22` - 13 (2472 MHz) * `5g-32-5160-20` - 32 (5160/20 MHz) * `5g-34-5170-40` - 34 (5170/40 MHz) * `5g-36-5180-20` - 36 (5180/20 MHz) * `5g-38-5190-40` - 38 (5190/40 MHz) * `5g-40-5200-20` - 40 (5200/20 MHz) * `5g-42-5210-80` - 42 (5210/80 MHz) * `5g-44-5220-20` - 44 (5220/20 MHz) * `5g-46-5230-40` - 46 (5230/40 MHz) * `5g-48-5240-20` - 48 (5240/20 MHz) * `5g-50-5250-160` - 50 (5250/160 MHz) * `5g-52-5260-20` - 52 (5260/20 MHz) * `5g-54-5270-40` - 54 (5270/40 MHz) * `5g-56-5280-20` - 56 (5280/20 MHz) * `5g-58-5290-80` - 58 (5290/80 MHz) * `5g-60-5300-20` - 60 (5300/20 MHz) * `5g-62-5310-40` - 62 (5310/40 MHz) * `5g-64-5320-20` - 64 (5320/20 MHz) * `5g-100-5500-20` - 100 (5500/20 MHz) * `5g-102-5510-40` - 102 (5510/40 MHz) * `5g-104-5520-20` - 104 (5520/20 MHz) * `5g-106-5530-80` - 106 (5530/80 MHz) * `5g-108-5540-20` - 108 (5540/20 MHz) * `5g-110-5550-40` - 110 (5550/40 MHz) * `5g-112-5560-20` - 112 (5560/20 MHz) * `5g-114-5570-160` - 114 (5570/160 MHz) * `5g-116-5580-20` - 116 (5580/20 MHz) * `5g-118-5590-40` - 118 (5590/40 MHz) * `5g-120-5600-20` - 120 (5600/20 MHz) * `5g-122-5610-80` - 122 (5610/80 MHz) * `5g-124-5620-20` - 124 (5620/20 MHz) * `5g-126-5630-40` - 126 (5630/40 MHz) * `5g-128-5640-20` - 128 (5640/20 MHz) * `5g-132-5660-20` - 132 (5660/20 MHz) * `5g-134-5670-40` - 134 (5670/40 MHz) * `5g-136-5680-20` - 136 (5680/20 MHz) * `5g-138-5690-80` - 138 (5690/80 MHz) * `5g-140-5700-20` - 140 (5700/20 MHz) * `5g-142-5710-40` - 142 (5710/40 MHz) * `5g-144-5720-20` - 144 (5720/20 MHz) * `5g-149-5745-20` - 149 (5745/20 MHz) * `5g-151-5755-40` - 151 (5755/40 MHz) * `5g-153-5765-20` - 153 (5765/20 MHz) * `5g-155-5775-80` - 155 (5775/80 MHz) * `5g-157-5785-20` - 157 (5785/20 MHz) * `5g-159-5795-40` - 159 (5795/40 MHz) * `5g-161-5805-20` - 161 (5805/20 MHz) * `5g-163-5815-160` - 163 (5815/160 MHz) * `5g-165-5825-20` - 165 (5825/20 MHz) * `5g-167-5835-40` - 167 (5835/40 MHz) * `5g-169-5845-20` - 169 (5845/20 MHz) * `5g-171-5855-80` - 171 (5855/80 MHz) * `5g-173-5865-20` - 173 (5865/20 MHz) * `5g-175-5875-40` - 175 (5875/40 MHz) * `5g-177-5885-20` - 177 (5885/20 MHz) * `6g-1-5955-20` - 1 (5955/20 MHz) * `6g-3-5965-40` - 3 (5965/40 MHz) * `6g-5-5975-20` - 5 (5975/20 MHz) * `6g-7-5985-80` - 7 (5985/80 MHz) * `6g-9-5995-20` - 9 (5995/20 MHz) * `6g-11-6005-40` - 11 (6005/40 MHz) * `6g-13-6015-20` - 13 (6015/20 MHz) * `6g-15-6025-160` - 15 (6025/160 MHz) * `6g-17-6035-20` - 17 (6035/20 MHz) * `6g-19-6045-40` - 19 (6045/40 MHz) * `6g-21-6055-20` - 21 (6055/20 MHz) * `6g-23-6065-80` - 23 (6065/80 MHz) * `6g-25-6075-20` - 25 (6075/20 MHz) * `6g-27-6085-40` - 27 (6085/40 MHz) * `6g-29-6095-20` - 29 (6095/20 MHz) * `6g-31-6105-320` - 31 (6105/320 MHz) * `6g-33-6115-20` - 33 (6115/20 MHz) * `6g-35-6125-40` - 35 (6125/40 MHz) * `6g-37-6135-20` - 37 (6135/20 MHz) * `6g-39-6145-80` - 39 (6145/80 MHz) * `6g-41-6155-20` - 41 (6155/20 MHz) * `6g-43-6165-40` - 43 (6165/40 MHz) * `6g-45-6175-20` - 45 (6175/20 MHz) * `6g-47-6185-160` - 47 (6185/160 MHz) * `6g-49-6195-20` - 49 (6195/20 MHz) * `6g-51-6205-40` - 51 (6205/40 MHz) * `6g-53-6215-20` - 53 (6215/20 MHz) * `6g-55-6225-80` - 55 (6225/80 MHz) * `6g-57-6235-20` - 57 (6235/20 MHz) * `6g-59-6245-40` - 59 (6245/40 MHz) * `6g-61-6255-20` - 61 (6255/20 MHz) * `6g-65-6275-20` - 65 (6275/20 MHz) * `6g-67-6285-40` - 67 (6285/40 MHz) * `6g-69-6295-20` - 69 (6295/20 MHz) * `6g-71-6305-80` - 71 (6305/80 MHz) * `6g-73-6315-20` - 73 (6315/20 MHz) * `6g-75-6325-40` - 75 (6325/40 MHz) * `6g-77-6335-20` - 77 (6335/20 MHz) * `6g-79-6345-160` - 79 (6345/160 MHz) * `6g-81-6355-20` - 81 (6355/20 MHz) * `6g-83-6365-40` - 83 (6365/40 MHz) * `6g-85-6375-20` - 85 (6375/20 MHz) * `6g-87-6385-80` - 87 (6385/80 MHz) * `6g-89-6395-20` - 89 (6395/20 MHz) * `6g-91-6405-40` - 91 (6405/40 MHz) * `6g-93-6415-20` - 93 (6415/20 MHz) * `6g-95-6425-320` - 95 (6425/320 MHz) * `6g-97-6435-20` - 97 (6435/20 MHz) * `6g-99-6445-40` - 99 (6445/40 MHz) * `6g-101-6455-20` - 101 (6455/20 MHz) * `6g-103-6465-80` - 103 (6465/80 MHz) * `6g-105-6475-20` - 105 (6475/20 MHz) * `6g-107-6485-40` - 107 (6485/40 MHz) * `6g-109-6495-20` - 109 (6495/20 MHz) * `6g-111-6505-160` - 111 (6505/160 MHz) * `6g-113-6515-20` - 113 (6515/20 MHz) * `6g-115-6525-40` - 115 (6525/40 MHz) * `6g-117-6535-20` - 117 (6535/20 MHz) * `6g-119-6545-80` - 119 (6545/80 MHz) * `6g-121-6555-20` - 121 (6555/20 MHz) * `6g-123-6565-40` - 123 (6565/40 MHz) * `6g-125-6575-20` - 125 (6575/20 MHz) * `6g-129-6595-20` - 129 (6595/20 MHz) * `6g-131-6605-40` - 131 (6605/40 MHz) * `6g-133-6615-20` - 133 (6615/20 MHz) * `6g-135-6625-80` - 135 (6625/80 MHz) * `6g-137-6635-20` - 137 (6635/20 MHz) * `6g-139-6645-40` - 139 (6645/40 MHz) * `6g-141-6655-20` - 141 (6655/20 MHz) * `6g-143-6665-160` - 143 (6665/160 MHz) * `6g-145-6675-20` - 145 (6675/20 MHz) * `6g-147-6685-40` - 147 (6685/40 MHz) * `6g-149-6695-20` - 149 (6695/20 MHz) * `6g-151-6705-80` - 151 (6705/80 MHz) * `6g-153-6715-20` - 153 (6715/20 MHz) * `6g-155-6725-40` - 155 (6725/40 MHz) * `6g-157-6735-20` - 157 (6735/20 MHz) * `6g-159-6745-320` - 159 (6745/320 MHz) * `6g-161-6755-20` - 161 (6755/20 MHz) * `6g-163-6765-40` - 163 (6765/40 MHz) * `6g-165-6775-20` - 165 (6775/20 MHz) * `6g-167-6785-80` - 167 (6785/80 MHz) * `6g-169-6795-20` - 169 (6795/20 MHz) * `6g-171-6805-40` - 171 (6805/40 MHz) * `6g-173-6815-20` - 173 (6815/20 MHz) * `6g-175-6825-160` - 175 (6825/160 MHz) * `6g-177-6835-20` - 177 (6835/20 MHz) * `6g-179-6845-40` - 179 (6845/40 MHz) * `6g-181-6855-20` - 181 (6855/20 MHz) * `6g-183-6865-80` - 183 (6865/80 MHz) * `6g-185-6875-20` - 185 (6875/20 MHz) * `6g-187-6885-40` - 187 (6885/40 MHz) * `6g-189-6895-20` - 189 (6895/20 MHz) * `6g-193-6915-20` - 193 (6915/20 MHz) * `6g-195-6925-40` - 195 (6925/40 MHz) * `6g-197-6935-20` - 197 (6935/20 MHz) * `6g-199-6945-80` - 199 (6945/80 MHz) * `6g-201-6955-20` - 201 (6955/20 MHz) * `6g-203-6965-40` - 203 (6965/40 MHz) * `6g-205-6975-20` - 205 (6975/20 MHz) * `6g-207-6985-160` - 207 (6985/160 MHz) * `6g-209-6995-20` - 209 (6995/20 MHz) * `6g-211-7005-40` - 211 (7005/40 MHz) * `6g-213-7015-20` - 213 (7015/20 MHz) * `6g-215-7025-80` - 215 (7025/80 MHz) * `6g-217-7035-20` - 217 (7035/20 MHz) * `6g-219-7045-40` - 219 (7045/40 MHz) * `6g-221-7055-20` - 221 (7055/20 MHz) * `6g-225-7075-20` - 225 (7075/20 MHz) * `6g-227-7085-40` - 227 (7085/40 MHz) * `6g-229-7095-20` - 229 (7095/20 MHz) * `6g-233-7115-20` - 233 (7115/20 MHz) * `60g-1-58320-2160` - 1 (58.32/2.16 GHz) * `60g-2-60480-2160` - 2 (60.48/2.16 GHz) * `60g-3-62640-2160` - 3 (62.64/2.16 GHz) * `60g-4-64800-2160` - 4 (64.80/2.16 GHz) * `60g-5-66960-2160` - 5 (66.96/2.16 GHz) * `60g-6-69120-2160` - 6 (69.12/2.16 GHz) * `60g-9-59400-4320` - 9 (59.40/4.32 GHz) * `60g-10-61560-4320` - 10 (61.56/4.32 GHz) * `60g-11-63720-4320` - 11 (63.72/4.32 GHz) * `60g-12-65880-4320` - 12 (65.88/4.32 GHz) * `60g-13-68040-4320` - 13 (68.04/4.32 GHz) * `60g-17-60480-6480` - 17 (60.48/6.48 GHz) * `60g-18-62640-6480` - 18 (62.64/6.48 GHz) * `60g-19-64800-6480` - 19 (64.80/6.48 GHz) * `60g-20-66960-6480` - 20 (66.96/6.48 GHz) * `60g-25-61560-6480` - 25 (61.56/8.64 GHz) * `60g-26-63720-6480` - 26 (63.72/8.64 GHz) * `60g-27-65880-6480` - 27 (65.88/8.64 GHz) +func (r ApiDcimInterfacesListRequest) RfChannelNiew(rfChannelNiew []WirelessChannel) ApiDcimInterfacesListRequest { + r.rfChannelNiew = &rfChannelNiew + return r +} + +// * `2.4g-1-2412-22` - 1 (2412 MHz) * `2.4g-2-2417-22` - 2 (2417 MHz) * `2.4g-3-2422-22` - 3 (2422 MHz) * `2.4g-4-2427-22` - 4 (2427 MHz) * `2.4g-5-2432-22` - 5 (2432 MHz) * `2.4g-6-2437-22` - 6 (2437 MHz) * `2.4g-7-2442-22` - 7 (2442 MHz) * `2.4g-8-2447-22` - 8 (2447 MHz) * `2.4g-9-2452-22` - 9 (2452 MHz) * `2.4g-10-2457-22` - 10 (2457 MHz) * `2.4g-11-2462-22` - 11 (2462 MHz) * `2.4g-12-2467-22` - 12 (2467 MHz) * `2.4g-13-2472-22` - 13 (2472 MHz) * `5g-32-5160-20` - 32 (5160/20 MHz) * `5g-34-5170-40` - 34 (5170/40 MHz) * `5g-36-5180-20` - 36 (5180/20 MHz) * `5g-38-5190-40` - 38 (5190/40 MHz) * `5g-40-5200-20` - 40 (5200/20 MHz) * `5g-42-5210-80` - 42 (5210/80 MHz) * `5g-44-5220-20` - 44 (5220/20 MHz) * `5g-46-5230-40` - 46 (5230/40 MHz) * `5g-48-5240-20` - 48 (5240/20 MHz) * `5g-50-5250-160` - 50 (5250/160 MHz) * `5g-52-5260-20` - 52 (5260/20 MHz) * `5g-54-5270-40` - 54 (5270/40 MHz) * `5g-56-5280-20` - 56 (5280/20 MHz) * `5g-58-5290-80` - 58 (5290/80 MHz) * `5g-60-5300-20` - 60 (5300/20 MHz) * `5g-62-5310-40` - 62 (5310/40 MHz) * `5g-64-5320-20` - 64 (5320/20 MHz) * `5g-100-5500-20` - 100 (5500/20 MHz) * `5g-102-5510-40` - 102 (5510/40 MHz) * `5g-104-5520-20` - 104 (5520/20 MHz) * `5g-106-5530-80` - 106 (5530/80 MHz) * `5g-108-5540-20` - 108 (5540/20 MHz) * `5g-110-5550-40` - 110 (5550/40 MHz) * `5g-112-5560-20` - 112 (5560/20 MHz) * `5g-114-5570-160` - 114 (5570/160 MHz) * `5g-116-5580-20` - 116 (5580/20 MHz) * `5g-118-5590-40` - 118 (5590/40 MHz) * `5g-120-5600-20` - 120 (5600/20 MHz) * `5g-122-5610-80` - 122 (5610/80 MHz) * `5g-124-5620-20` - 124 (5620/20 MHz) * `5g-126-5630-40` - 126 (5630/40 MHz) * `5g-128-5640-20` - 128 (5640/20 MHz) * `5g-132-5660-20` - 132 (5660/20 MHz) * `5g-134-5670-40` - 134 (5670/40 MHz) * `5g-136-5680-20` - 136 (5680/20 MHz) * `5g-138-5690-80` - 138 (5690/80 MHz) * `5g-140-5700-20` - 140 (5700/20 MHz) * `5g-142-5710-40` - 142 (5710/40 MHz) * `5g-144-5720-20` - 144 (5720/20 MHz) * `5g-149-5745-20` - 149 (5745/20 MHz) * `5g-151-5755-40` - 151 (5755/40 MHz) * `5g-153-5765-20` - 153 (5765/20 MHz) * `5g-155-5775-80` - 155 (5775/80 MHz) * `5g-157-5785-20` - 157 (5785/20 MHz) * `5g-159-5795-40` - 159 (5795/40 MHz) * `5g-161-5805-20` - 161 (5805/20 MHz) * `5g-163-5815-160` - 163 (5815/160 MHz) * `5g-165-5825-20` - 165 (5825/20 MHz) * `5g-167-5835-40` - 167 (5835/40 MHz) * `5g-169-5845-20` - 169 (5845/20 MHz) * `5g-171-5855-80` - 171 (5855/80 MHz) * `5g-173-5865-20` - 173 (5865/20 MHz) * `5g-175-5875-40` - 175 (5875/40 MHz) * `5g-177-5885-20` - 177 (5885/20 MHz) * `6g-1-5955-20` - 1 (5955/20 MHz) * `6g-3-5965-40` - 3 (5965/40 MHz) * `6g-5-5975-20` - 5 (5975/20 MHz) * `6g-7-5985-80` - 7 (5985/80 MHz) * `6g-9-5995-20` - 9 (5995/20 MHz) * `6g-11-6005-40` - 11 (6005/40 MHz) * `6g-13-6015-20` - 13 (6015/20 MHz) * `6g-15-6025-160` - 15 (6025/160 MHz) * `6g-17-6035-20` - 17 (6035/20 MHz) * `6g-19-6045-40` - 19 (6045/40 MHz) * `6g-21-6055-20` - 21 (6055/20 MHz) * `6g-23-6065-80` - 23 (6065/80 MHz) * `6g-25-6075-20` - 25 (6075/20 MHz) * `6g-27-6085-40` - 27 (6085/40 MHz) * `6g-29-6095-20` - 29 (6095/20 MHz) * `6g-31-6105-320` - 31 (6105/320 MHz) * `6g-33-6115-20` - 33 (6115/20 MHz) * `6g-35-6125-40` - 35 (6125/40 MHz) * `6g-37-6135-20` - 37 (6135/20 MHz) * `6g-39-6145-80` - 39 (6145/80 MHz) * `6g-41-6155-20` - 41 (6155/20 MHz) * `6g-43-6165-40` - 43 (6165/40 MHz) * `6g-45-6175-20` - 45 (6175/20 MHz) * `6g-47-6185-160` - 47 (6185/160 MHz) * `6g-49-6195-20` - 49 (6195/20 MHz) * `6g-51-6205-40` - 51 (6205/40 MHz) * `6g-53-6215-20` - 53 (6215/20 MHz) * `6g-55-6225-80` - 55 (6225/80 MHz) * `6g-57-6235-20` - 57 (6235/20 MHz) * `6g-59-6245-40` - 59 (6245/40 MHz) * `6g-61-6255-20` - 61 (6255/20 MHz) * `6g-65-6275-20` - 65 (6275/20 MHz) * `6g-67-6285-40` - 67 (6285/40 MHz) * `6g-69-6295-20` - 69 (6295/20 MHz) * `6g-71-6305-80` - 71 (6305/80 MHz) * `6g-73-6315-20` - 73 (6315/20 MHz) * `6g-75-6325-40` - 75 (6325/40 MHz) * `6g-77-6335-20` - 77 (6335/20 MHz) * `6g-79-6345-160` - 79 (6345/160 MHz) * `6g-81-6355-20` - 81 (6355/20 MHz) * `6g-83-6365-40` - 83 (6365/40 MHz) * `6g-85-6375-20` - 85 (6375/20 MHz) * `6g-87-6385-80` - 87 (6385/80 MHz) * `6g-89-6395-20` - 89 (6395/20 MHz) * `6g-91-6405-40` - 91 (6405/40 MHz) * `6g-93-6415-20` - 93 (6415/20 MHz) * `6g-95-6425-320` - 95 (6425/320 MHz) * `6g-97-6435-20` - 97 (6435/20 MHz) * `6g-99-6445-40` - 99 (6445/40 MHz) * `6g-101-6455-20` - 101 (6455/20 MHz) * `6g-103-6465-80` - 103 (6465/80 MHz) * `6g-105-6475-20` - 105 (6475/20 MHz) * `6g-107-6485-40` - 107 (6485/40 MHz) * `6g-109-6495-20` - 109 (6495/20 MHz) * `6g-111-6505-160` - 111 (6505/160 MHz) * `6g-113-6515-20` - 113 (6515/20 MHz) * `6g-115-6525-40` - 115 (6525/40 MHz) * `6g-117-6535-20` - 117 (6535/20 MHz) * `6g-119-6545-80` - 119 (6545/80 MHz) * `6g-121-6555-20` - 121 (6555/20 MHz) * `6g-123-6565-40` - 123 (6565/40 MHz) * `6g-125-6575-20` - 125 (6575/20 MHz) * `6g-129-6595-20` - 129 (6595/20 MHz) * `6g-131-6605-40` - 131 (6605/40 MHz) * `6g-133-6615-20` - 133 (6615/20 MHz) * `6g-135-6625-80` - 135 (6625/80 MHz) * `6g-137-6635-20` - 137 (6635/20 MHz) * `6g-139-6645-40` - 139 (6645/40 MHz) * `6g-141-6655-20` - 141 (6655/20 MHz) * `6g-143-6665-160` - 143 (6665/160 MHz) * `6g-145-6675-20` - 145 (6675/20 MHz) * `6g-147-6685-40` - 147 (6685/40 MHz) * `6g-149-6695-20` - 149 (6695/20 MHz) * `6g-151-6705-80` - 151 (6705/80 MHz) * `6g-153-6715-20` - 153 (6715/20 MHz) * `6g-155-6725-40` - 155 (6725/40 MHz) * `6g-157-6735-20` - 157 (6735/20 MHz) * `6g-159-6745-320` - 159 (6745/320 MHz) * `6g-161-6755-20` - 161 (6755/20 MHz) * `6g-163-6765-40` - 163 (6765/40 MHz) * `6g-165-6775-20` - 165 (6775/20 MHz) * `6g-167-6785-80` - 167 (6785/80 MHz) * `6g-169-6795-20` - 169 (6795/20 MHz) * `6g-171-6805-40` - 171 (6805/40 MHz) * `6g-173-6815-20` - 173 (6815/20 MHz) * `6g-175-6825-160` - 175 (6825/160 MHz) * `6g-177-6835-20` - 177 (6835/20 MHz) * `6g-179-6845-40` - 179 (6845/40 MHz) * `6g-181-6855-20` - 181 (6855/20 MHz) * `6g-183-6865-80` - 183 (6865/80 MHz) * `6g-185-6875-20` - 185 (6875/20 MHz) * `6g-187-6885-40` - 187 (6885/40 MHz) * `6g-189-6895-20` - 189 (6895/20 MHz) * `6g-193-6915-20` - 193 (6915/20 MHz) * `6g-195-6925-40` - 195 (6925/40 MHz) * `6g-197-6935-20` - 197 (6935/20 MHz) * `6g-199-6945-80` - 199 (6945/80 MHz) * `6g-201-6955-20` - 201 (6955/20 MHz) * `6g-203-6965-40` - 203 (6965/40 MHz) * `6g-205-6975-20` - 205 (6975/20 MHz) * `6g-207-6985-160` - 207 (6985/160 MHz) * `6g-209-6995-20` - 209 (6995/20 MHz) * `6g-211-7005-40` - 211 (7005/40 MHz) * `6g-213-7015-20` - 213 (7015/20 MHz) * `6g-215-7025-80` - 215 (7025/80 MHz) * `6g-217-7035-20` - 217 (7035/20 MHz) * `6g-219-7045-40` - 219 (7045/40 MHz) * `6g-221-7055-20` - 221 (7055/20 MHz) * `6g-225-7075-20` - 225 (7075/20 MHz) * `6g-227-7085-40` - 227 (7085/40 MHz) * `6g-229-7095-20` - 229 (7095/20 MHz) * `6g-233-7115-20` - 233 (7115/20 MHz) * `60g-1-58320-2160` - 1 (58.32/2.16 GHz) * `60g-2-60480-2160` - 2 (60.48/2.16 GHz) * `60g-3-62640-2160` - 3 (62.64/2.16 GHz) * `60g-4-64800-2160` - 4 (64.80/2.16 GHz) * `60g-5-66960-2160` - 5 (66.96/2.16 GHz) * `60g-6-69120-2160` - 6 (69.12/2.16 GHz) * `60g-9-59400-4320` - 9 (59.40/4.32 GHz) * `60g-10-61560-4320` - 10 (61.56/4.32 GHz) * `60g-11-63720-4320` - 11 (63.72/4.32 GHz) * `60g-12-65880-4320` - 12 (65.88/4.32 GHz) * `60g-13-68040-4320` - 13 (68.04/4.32 GHz) * `60g-17-60480-6480` - 17 (60.48/6.48 GHz) * `60g-18-62640-6480` - 18 (62.64/6.48 GHz) * `60g-19-64800-6480` - 19 (64.80/6.48 GHz) * `60g-20-66960-6480` - 20 (66.96/6.48 GHz) * `60g-25-61560-6480` - 25 (61.56/8.64 GHz) * `60g-26-63720-6480` - 26 (63.72/8.64 GHz) * `60g-27-65880-6480` - 27 (65.88/8.64 GHz) +func (r ApiDcimInterfacesListRequest) RfChannelNisw(rfChannelNisw []WirelessChannel) ApiDcimInterfacesListRequest { + r.rfChannelNisw = &rfChannelNisw + return r +} + func (r ApiDcimInterfacesListRequest) RfChannelFrequency(rfChannelFrequency []float64) ApiDcimInterfacesListRequest { r.rfChannelFrequency = &rfChannelFrequency return r @@ -41352,32 +43848,62 @@ func (r ApiDcimInterfacesListRequest) RfRole(rfRole []string) ApiDcimInterfacesL return r } -func (r ApiDcimInterfacesListRequest) RfRoleN(rfRoleN []string) ApiDcimInterfacesListRequest { +func (r ApiDcimInterfacesListRequest) RfRoleEmpty(rfRoleEmpty bool) ApiDcimInterfacesListRequest { + r.rfRoleEmpty = &rfRoleEmpty + return r +} + +// * `ap` - Access point * `station` - Station +func (r ApiDcimInterfacesListRequest) RfRoleIc(rfRoleIc []WirelessRole) ApiDcimInterfacesListRequest { + r.rfRoleIc = &rfRoleIc + return r +} + +// * `ap` - Access point * `station` - Station +func (r ApiDcimInterfacesListRequest) RfRoleIe(rfRoleIe []WirelessRole) ApiDcimInterfacesListRequest { + r.rfRoleIe = &rfRoleIe + return r +} + +// * `ap` - Access point * `station` - Station +func (r ApiDcimInterfacesListRequest) RfRoleIew(rfRoleIew []WirelessRole) ApiDcimInterfacesListRequest { + r.rfRoleIew = &rfRoleIew + return r +} + +// * `ap` - Access point * `station` - Station +func (r ApiDcimInterfacesListRequest) RfRoleIsw(rfRoleIsw []WirelessRole) ApiDcimInterfacesListRequest { + r.rfRoleIsw = &rfRoleIsw + return r +} + +// * `ap` - Access point * `station` - Station +func (r ApiDcimInterfacesListRequest) RfRoleN(rfRoleN []WirelessRole) ApiDcimInterfacesListRequest { r.rfRoleN = &rfRoleN return r } -// Device role (slug) -func (r ApiDcimInterfacesListRequest) Role(role []string) ApiDcimInterfacesListRequest { - r.role = &role +// * `ap` - Access point * `station` - Station +func (r ApiDcimInterfacesListRequest) RfRoleNic(rfRoleNic []WirelessRole) ApiDcimInterfacesListRequest { + r.rfRoleNic = &rfRoleNic return r } -// Device role (slug) -func (r ApiDcimInterfacesListRequest) RoleN(roleN []string) ApiDcimInterfacesListRequest { - r.roleN = &roleN +// * `ap` - Access point * `station` - Station +func (r ApiDcimInterfacesListRequest) RfRoleNie(rfRoleNie []WirelessRole) ApiDcimInterfacesListRequest { + r.rfRoleNie = &rfRoleNie return r } -// Device role (ID) -func (r ApiDcimInterfacesListRequest) RoleId(roleId []int32) ApiDcimInterfacesListRequest { - r.roleId = &roleId +// * `ap` - Access point * `station` - Station +func (r ApiDcimInterfacesListRequest) RfRoleNiew(rfRoleNiew []WirelessRole) ApiDcimInterfacesListRequest { + r.rfRoleNiew = &rfRoleNiew return r } -// Device role (ID) -func (r ApiDcimInterfacesListRequest) RoleIdN(roleIdN []int32) ApiDcimInterfacesListRequest { - r.roleIdN = &roleIdN +// * `ap` - Access point * `station` - Station +func (r ApiDcimInterfacesListRequest) RfRoleNisw(rfRoleNisw []WirelessRole) ApiDcimInterfacesListRequest { + r.rfRoleNisw = &rfRoleNisw return r } @@ -41393,26 +43919,22 @@ func (r ApiDcimInterfacesListRequest) SiteN(siteN []string) ApiDcimInterfacesLis return r } -// Site group (slug) -func (r ApiDcimInterfacesListRequest) SiteGroup(siteGroup []int32) ApiDcimInterfacesListRequest { +func (r ApiDcimInterfacesListRequest) SiteGroup(siteGroup []string) ApiDcimInterfacesListRequest { r.siteGroup = &siteGroup return r } -// Site group (slug) -func (r ApiDcimInterfacesListRequest) SiteGroupN(siteGroupN []int32) ApiDcimInterfacesListRequest { +func (r ApiDcimInterfacesListRequest) SiteGroupN(siteGroupN []string) ApiDcimInterfacesListRequest { r.siteGroupN = &siteGroupN return r } -// Site group (ID) -func (r ApiDcimInterfacesListRequest) SiteGroupId(siteGroupId []int32) ApiDcimInterfacesListRequest { +func (r ApiDcimInterfacesListRequest) SiteGroupId(siteGroupId []string) ApiDcimInterfacesListRequest { r.siteGroupId = &siteGroupId return r } -// Site group (ID) -func (r ApiDcimInterfacesListRequest) SiteGroupIdN(siteGroupIdN []int32) ApiDcimInterfacesListRequest { +func (r ApiDcimInterfacesListRequest) SiteGroupIdN(siteGroupIdN []string) ApiDcimInterfacesListRequest { r.siteGroupIdN = &siteGroupIdN return r } @@ -41514,11 +44036,65 @@ func (r ApiDcimInterfacesListRequest) Type_(type_ []string) ApiDcimInterfacesLis return r } -func (r ApiDcimInterfacesListRequest) TypeN(typeN []string) ApiDcimInterfacesListRequest { +func (r ApiDcimInterfacesListRequest) TypeEmpty(typeEmpty bool) ApiDcimInterfacesListRequest { + r.typeEmpty = &typeEmpty + return r +} + +// * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other +func (r ApiDcimInterfacesListRequest) TypeIc(typeIc []DcimInterfaceTemplatesListTypeIcParameterInner) ApiDcimInterfacesListRequest { + r.typeIc = &typeIc + return r +} + +// * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other +func (r ApiDcimInterfacesListRequest) TypeIe(typeIe []DcimInterfaceTemplatesListTypeIcParameterInner) ApiDcimInterfacesListRequest { + r.typeIe = &typeIe + return r +} + +// * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other +func (r ApiDcimInterfacesListRequest) TypeIew(typeIew []DcimInterfaceTemplatesListTypeIcParameterInner) ApiDcimInterfacesListRequest { + r.typeIew = &typeIew + return r +} + +// * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other +func (r ApiDcimInterfacesListRequest) TypeIsw(typeIsw []DcimInterfaceTemplatesListTypeIcParameterInner) ApiDcimInterfacesListRequest { + r.typeIsw = &typeIsw + return r +} + +// * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other +func (r ApiDcimInterfacesListRequest) TypeN(typeN []DcimInterfaceTemplatesListTypeIcParameterInner) ApiDcimInterfacesListRequest { r.typeN = &typeN return r } +// * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other +func (r ApiDcimInterfacesListRequest) TypeNic(typeNic []DcimInterfaceTemplatesListTypeIcParameterInner) ApiDcimInterfacesListRequest { + r.typeNic = &typeNic + return r +} + +// * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other +func (r ApiDcimInterfacesListRequest) TypeNie(typeNie []DcimInterfaceTemplatesListTypeIcParameterInner) ApiDcimInterfacesListRequest { + r.typeNie = &typeNie + return r +} + +// * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other +func (r ApiDcimInterfacesListRequest) TypeNiew(typeNiew []DcimInterfaceTemplatesListTypeIcParameterInner) ApiDcimInterfacesListRequest { + r.typeNiew = &typeNiew + return r +} + +// * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other +func (r ApiDcimInterfacesListRequest) TypeNisw(typeNisw []DcimInterfaceTemplatesListTypeIcParameterInner) ApiDcimInterfacesListRequest { + r.typeNisw = &typeNisw + return r +} + func (r ApiDcimInterfacesListRequest) UpdatedByRequest(updatedByRequest string) ApiDcimInterfacesListRequest { r.updatedByRequest = &updatedByRequest return r @@ -41770,9 +44346,6 @@ func (a *DcimAPIService) DcimInterfacesListExecute(r ApiDcimInterfacesListReques if r.cableEnd != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "cable_end", r.cableEnd, "") } - if r.cableEndN != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "cable_end__n", r.cableEndN, "") - } if r.cableId != nil { t := *r.cableId if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -42038,6 +44611,163 @@ func (a *DcimAPIService) DcimInterfacesListExecute(r ApiDcimInterfacesListReques parameterAddToHeaderOrQuery(localVarQueryParams, "device_id__n", t, "multi") } } + if r.deviceRole != nil { + t := *r.deviceRole + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role", t, "multi") + } + } + if r.deviceRoleN != nil { + t := *r.deviceRoleN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role__n", t, "multi") + } + } + if r.deviceRoleId != nil { + t := *r.deviceRoleId + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role_id", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role_id", t, "multi") + } + } + if r.deviceRoleIdN != nil { + t := *r.deviceRoleIdN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role_id__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role_id__n", t, "multi") + } + } + if r.deviceStatus != nil { + t := *r.deviceStatus + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status", t, "multi") + } + } + if r.deviceStatusEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__empty", r.deviceStatusEmpty, "") + } + if r.deviceStatusIc != nil { + t := *r.deviceStatusIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__ic", t, "multi") + } + } + if r.deviceStatusIe != nil { + t := *r.deviceStatusIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__ie", t, "multi") + } + } + if r.deviceStatusIew != nil { + t := *r.deviceStatusIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__iew", t, "multi") + } + } + if r.deviceStatusIsw != nil { + t := *r.deviceStatusIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__isw", t, "multi") + } + } + if r.deviceStatusN != nil { + t := *r.deviceStatusN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__n", t, "multi") + } + } + if r.deviceStatusNic != nil { + t := *r.deviceStatusNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nic", t, "multi") + } + } + if r.deviceStatusNie != nil { + t := *r.deviceStatusNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nie", t, "multi") + } + } + if r.deviceStatusNiew != nil { + t := *r.deviceStatusNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__niew", t, "multi") + } + } + if r.deviceStatusNisw != nil { + t := *r.deviceStatusNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nisw", t, "multi") + } + } if r.deviceType != nil { t := *r.deviceType if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -42093,6 +44823,53 @@ func (a *DcimAPIService) DcimInterfacesListExecute(r ApiDcimInterfacesListReques parameterAddToHeaderOrQuery(localVarQueryParams, "duplex", t, "multi") } } + if r.duplexEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "duplex__empty", r.duplexEmpty, "") + } + if r.duplexIc != nil { + t := *r.duplexIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "duplex__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "duplex__ic", t, "multi") + } + } + if r.duplexIe != nil { + t := *r.duplexIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "duplex__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "duplex__ie", t, "multi") + } + } + if r.duplexIew != nil { + t := *r.duplexIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "duplex__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "duplex__iew", t, "multi") + } + } + if r.duplexIsw != nil { + t := *r.duplexIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "duplex__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "duplex__isw", t, "multi") + } + } if r.duplexN != nil { t := *r.duplexN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -42104,6 +44881,50 @@ func (a *DcimAPIService) DcimInterfacesListExecute(r ApiDcimInterfacesListReques parameterAddToHeaderOrQuery(localVarQueryParams, "duplex__n", t, "multi") } } + if r.duplexNic != nil { + t := *r.duplexNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "duplex__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "duplex__nic", t, "multi") + } + } + if r.duplexNie != nil { + t := *r.duplexNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "duplex__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "duplex__nie", t, "multi") + } + } + if r.duplexNiew != nil { + t := *r.duplexNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "duplex__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "duplex__niew", t, "multi") + } + } + if r.duplexNisw != nil { + t := *r.duplexNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "duplex__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "duplex__nisw", t, "multi") + } + } if r.enabled != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "enabled", r.enabled, "") } @@ -42601,9 +45422,6 @@ func (a *DcimAPIService) DcimInterfacesListExecute(r ApiDcimInterfacesListReques if r.mode != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "mode", r.mode, "") } - if r.modeN != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "mode__n", r.modeN, "") - } if r.modifiedByRequest != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "modified_by_request", r.modifiedByRequest, "") } @@ -42853,6 +45671,53 @@ func (a *DcimAPIService) DcimInterfacesListExecute(r ApiDcimInterfacesListReques parameterAddToHeaderOrQuery(localVarQueryParams, "poe_mode", t, "multi") } } + if r.poeModeEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_mode__empty", r.poeModeEmpty, "") + } + if r.poeModeIc != nil { + t := *r.poeModeIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_mode__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_mode__ic", t, "multi") + } + } + if r.poeModeIe != nil { + t := *r.poeModeIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_mode__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_mode__ie", t, "multi") + } + } + if r.poeModeIew != nil { + t := *r.poeModeIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_mode__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_mode__iew", t, "multi") + } + } + if r.poeModeIsw != nil { + t := *r.poeModeIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_mode__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_mode__isw", t, "multi") + } + } if r.poeModeN != nil { t := *r.poeModeN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -42864,6 +45729,50 @@ func (a *DcimAPIService) DcimInterfacesListExecute(r ApiDcimInterfacesListReques parameterAddToHeaderOrQuery(localVarQueryParams, "poe_mode__n", t, "multi") } } + if r.poeModeNic != nil { + t := *r.poeModeNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_mode__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_mode__nic", t, "multi") + } + } + if r.poeModeNie != nil { + t := *r.poeModeNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_mode__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_mode__nie", t, "multi") + } + } + if r.poeModeNiew != nil { + t := *r.poeModeNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_mode__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_mode__niew", t, "multi") + } + } + if r.poeModeNisw != nil { + t := *r.poeModeNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_mode__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_mode__nisw", t, "multi") + } + } if r.poeType != nil { t := *r.poeType if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -42875,6 +45784,53 @@ func (a *DcimAPIService) DcimInterfacesListExecute(r ApiDcimInterfacesListReques parameterAddToHeaderOrQuery(localVarQueryParams, "poe_type", t, "multi") } } + if r.poeTypeEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_type__empty", r.poeTypeEmpty, "") + } + if r.poeTypeIc != nil { + t := *r.poeTypeIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_type__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_type__ic", t, "multi") + } + } + if r.poeTypeIe != nil { + t := *r.poeTypeIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_type__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_type__ie", t, "multi") + } + } + if r.poeTypeIew != nil { + t := *r.poeTypeIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_type__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_type__iew", t, "multi") + } + } + if r.poeTypeIsw != nil { + t := *r.poeTypeIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_type__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_type__isw", t, "multi") + } + } if r.poeTypeN != nil { t := *r.poeTypeN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -42886,6 +45842,50 @@ func (a *DcimAPIService) DcimInterfacesListExecute(r ApiDcimInterfacesListReques parameterAddToHeaderOrQuery(localVarQueryParams, "poe_type__n", t, "multi") } } + if r.poeTypeNic != nil { + t := *r.poeTypeNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_type__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_type__nic", t, "multi") + } + } + if r.poeTypeNie != nil { + t := *r.poeTypeNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_type__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_type__nie", t, "multi") + } + } + if r.poeTypeNiew != nil { + t := *r.poeTypeNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_type__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_type__niew", t, "multi") + } + } + if r.poeTypeNisw != nil { + t := *r.poeTypeNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_type__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "poe_type__nisw", t, "multi") + } + } if r.q != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "") } @@ -42988,6 +45988,53 @@ func (a *DcimAPIService) DcimInterfacesListExecute(r ApiDcimInterfacesListReques parameterAddToHeaderOrQuery(localVarQueryParams, "rf_channel", t, "multi") } } + if r.rfChannelEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "rf_channel__empty", r.rfChannelEmpty, "") + } + if r.rfChannelIc != nil { + t := *r.rfChannelIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "rf_channel__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "rf_channel__ic", t, "multi") + } + } + if r.rfChannelIe != nil { + t := *r.rfChannelIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "rf_channel__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "rf_channel__ie", t, "multi") + } + } + if r.rfChannelIew != nil { + t := *r.rfChannelIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "rf_channel__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "rf_channel__iew", t, "multi") + } + } + if r.rfChannelIsw != nil { + t := *r.rfChannelIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "rf_channel__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "rf_channel__isw", t, "multi") + } + } if r.rfChannelN != nil { t := *r.rfChannelN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -42999,6 +46046,50 @@ func (a *DcimAPIService) DcimInterfacesListExecute(r ApiDcimInterfacesListReques parameterAddToHeaderOrQuery(localVarQueryParams, "rf_channel__n", t, "multi") } } + if r.rfChannelNic != nil { + t := *r.rfChannelNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "rf_channel__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "rf_channel__nic", t, "multi") + } + } + if r.rfChannelNie != nil { + t := *r.rfChannelNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "rf_channel__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "rf_channel__nie", t, "multi") + } + } + if r.rfChannelNiew != nil { + t := *r.rfChannelNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "rf_channel__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "rf_channel__niew", t, "multi") + } + } + if r.rfChannelNisw != nil { + t := *r.rfChannelNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "rf_channel__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "rf_channel__nisw", t, "multi") + } + } if r.rfChannelFrequency != nil { t := *r.rfChannelFrequency if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -43148,6 +46239,53 @@ func (a *DcimAPIService) DcimInterfacesListExecute(r ApiDcimInterfacesListReques parameterAddToHeaderOrQuery(localVarQueryParams, "rf_role", t, "multi") } } + if r.rfRoleEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "rf_role__empty", r.rfRoleEmpty, "") + } + if r.rfRoleIc != nil { + t := *r.rfRoleIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "rf_role__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "rf_role__ic", t, "multi") + } + } + if r.rfRoleIe != nil { + t := *r.rfRoleIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "rf_role__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "rf_role__ie", t, "multi") + } + } + if r.rfRoleIew != nil { + t := *r.rfRoleIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "rf_role__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "rf_role__iew", t, "multi") + } + } + if r.rfRoleIsw != nil { + t := *r.rfRoleIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "rf_role__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "rf_role__isw", t, "multi") + } + } if r.rfRoleN != nil { t := *r.rfRoleN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -43159,48 +46297,48 @@ func (a *DcimAPIService) DcimInterfacesListExecute(r ApiDcimInterfacesListReques parameterAddToHeaderOrQuery(localVarQueryParams, "rf_role__n", t, "multi") } } - if r.role != nil { - t := *r.role + if r.rfRoleNic != nil { + t := *r.rfRoleNic 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(), "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "rf_role__nic", s.Index(i).Interface(), "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "role", t, "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "rf_role__nic", t, "multi") } } - if r.roleN != nil { - t := *r.roleN + if r.rfRoleNie != nil { + t := *r.rfRoleNie 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(), "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "rf_role__nie", s.Index(i).Interface(), "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "role__n", t, "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "rf_role__nie", t, "multi") } } - if r.roleId != nil { - t := *r.roleId + if r.rfRoleNiew != nil { + t := *r.rfRoleNiew if reflect.TypeOf(t).Kind() == reflect.Slice { s := reflect.ValueOf(t) for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "role_id", s.Index(i).Interface(), "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "rf_role__niew", s.Index(i).Interface(), "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "role_id", t, "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "rf_role__niew", t, "multi") } } - if r.roleIdN != nil { - t := *r.roleIdN + if r.rfRoleNisw != nil { + t := *r.rfRoleNisw if reflect.TypeOf(t).Kind() == reflect.Slice { s := reflect.ValueOf(t) for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "role_id__n", s.Index(i).Interface(), "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "rf_role__nisw", s.Index(i).Interface(), "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "role_id__n", t, "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "rf_role__nisw", t, "multi") } } if r.site != nil { @@ -43470,6 +46608,53 @@ func (a *DcimAPIService) DcimInterfacesListExecute(r ApiDcimInterfacesListReques parameterAddToHeaderOrQuery(localVarQueryParams, "type", t, "multi") } } + if r.typeEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__empty", r.typeEmpty, "") + } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__ic", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__ie", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__iew", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__isw", t, "multi") + } + } if r.typeN != nil { t := *r.typeN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -43481,6 +46666,50 @@ func (a *DcimAPIService) DcimInterfacesListExecute(r ApiDcimInterfacesListReques parameterAddToHeaderOrQuery(localVarQueryParams, "type__n", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__nic", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__nie", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__niew", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__nisw", t, "multi") + } + } if r.updatedByRequest != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "updated_by_request", r.updatedByRequest, "") } @@ -47253,8 +50482,6 @@ type ApiDcimInventoryItemTemplatesListRequest struct { descriptionNisw *[]string deviceTypeId *[]int32 deviceTypeIdN *[]int32 - devicetypeId *[]int32 - devicetypeIdN *[]int32 id *[]int32 idEmpty *bool idGt *[]int32 @@ -47472,18 +50699,6 @@ func (r ApiDcimInventoryItemTemplatesListRequest) DeviceTypeIdN(deviceTypeIdN [] return r } -// Device type (ID) -func (r ApiDcimInventoryItemTemplatesListRequest) DevicetypeId(devicetypeId []int32) ApiDcimInventoryItemTemplatesListRequest { - r.devicetypeId = &devicetypeId - return r -} - -// Device type (ID) -func (r ApiDcimInventoryItemTemplatesListRequest) DevicetypeIdN(devicetypeIdN []int32) ApiDcimInventoryItemTemplatesListRequest { - r.devicetypeIdN = &devicetypeIdN - return r -} - func (r ApiDcimInventoryItemTemplatesListRequest) Id(id []int32) ApiDcimInventoryItemTemplatesListRequest { r.id = &id return r @@ -48152,28 +51367,6 @@ func (a *DcimAPIService) DcimInventoryItemTemplatesListExecute(r ApiDcimInventor parameterAddToHeaderOrQuery(localVarQueryParams, "device_type_id__n", t, "multi") } } - if r.devicetypeId != nil { - t := *r.devicetypeId - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "devicetype_id", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "devicetype_id", t, "multi") - } - } - if r.devicetypeIdN != nil { - t := *r.devicetypeIdN - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "devicetype_id__n", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "devicetype_id__n", t, "multi") - } - } if r.id != nil { t := *r.id if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -49868,6 +53061,21 @@ type ApiDcimInventoryItemsListRequest struct { deviceN *[]*string deviceId *[]int32 deviceIdN *[]int32 + deviceRole *[]string + deviceRoleN *[]string + deviceRoleId *[]int32 + deviceRoleIdN *[]int32 + deviceStatus *[]string + deviceStatusEmpty *bool + deviceStatusIc *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusIe *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusIew *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusIsw *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusN *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusNic *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusNie *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusNiew *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusNisw *[]DcimConsolePortsListDeviceStatusIcParameterInner deviceType *[]string deviceTypeN *[]string deviceTypeId *[]int32 @@ -49939,10 +53147,10 @@ type ApiDcimInventoryItemsListRequest struct { rackN *[]string rackId *[]int32 rackIdN *[]int32 - region *[]int32 - regionN *[]int32 - regionId *[]int32 - regionIdN *[]int32 + region *[]string + regionN *[]string + regionId *[]string + regionIdN *[]string role *[]string roleN *[]string roleId *[]*int32 @@ -49960,10 +53168,10 @@ type ApiDcimInventoryItemsListRequest struct { serialNisw *[]string site *[]string siteN *[]string - siteGroup *[]int32 - siteGroupN *[]int32 - siteGroupId *[]int32 - siteGroupIdN *[]int32 + siteGroup *[]string + siteGroupN *[]string + siteGroupId *[]string + siteGroupIdN *[]string siteId *[]int32 siteIdN *[]int32 tag *[]string @@ -50194,6 +53402,94 @@ func (r ApiDcimInventoryItemsListRequest) DeviceIdN(deviceIdN []int32) ApiDcimIn return r } +// Device role (slug) +func (r ApiDcimInventoryItemsListRequest) DeviceRole(deviceRole []string) ApiDcimInventoryItemsListRequest { + r.deviceRole = &deviceRole + return r +} + +// Device role (slug) +func (r ApiDcimInventoryItemsListRequest) DeviceRoleN(deviceRoleN []string) ApiDcimInventoryItemsListRequest { + r.deviceRoleN = &deviceRoleN + return r +} + +// Device role (ID) +func (r ApiDcimInventoryItemsListRequest) DeviceRoleId(deviceRoleId []int32) ApiDcimInventoryItemsListRequest { + r.deviceRoleId = &deviceRoleId + return r +} + +// Device role (ID) +func (r ApiDcimInventoryItemsListRequest) DeviceRoleIdN(deviceRoleIdN []int32) ApiDcimInventoryItemsListRequest { + r.deviceRoleIdN = &deviceRoleIdN + return r +} + +func (r ApiDcimInventoryItemsListRequest) DeviceStatus(deviceStatus []string) ApiDcimInventoryItemsListRequest { + r.deviceStatus = &deviceStatus + return r +} + +func (r ApiDcimInventoryItemsListRequest) DeviceStatusEmpty(deviceStatusEmpty bool) ApiDcimInventoryItemsListRequest { + r.deviceStatusEmpty = &deviceStatusEmpty + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimInventoryItemsListRequest) DeviceStatusIc(deviceStatusIc []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimInventoryItemsListRequest { + r.deviceStatusIc = &deviceStatusIc + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimInventoryItemsListRequest) DeviceStatusIe(deviceStatusIe []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimInventoryItemsListRequest { + r.deviceStatusIe = &deviceStatusIe + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimInventoryItemsListRequest) DeviceStatusIew(deviceStatusIew []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimInventoryItemsListRequest { + r.deviceStatusIew = &deviceStatusIew + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimInventoryItemsListRequest) DeviceStatusIsw(deviceStatusIsw []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimInventoryItemsListRequest { + r.deviceStatusIsw = &deviceStatusIsw + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimInventoryItemsListRequest) DeviceStatusN(deviceStatusN []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimInventoryItemsListRequest { + r.deviceStatusN = &deviceStatusN + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimInventoryItemsListRequest) DeviceStatusNic(deviceStatusNic []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimInventoryItemsListRequest { + r.deviceStatusNic = &deviceStatusNic + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimInventoryItemsListRequest) DeviceStatusNie(deviceStatusNie []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimInventoryItemsListRequest { + r.deviceStatusNie = &deviceStatusNie + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimInventoryItemsListRequest) DeviceStatusNiew(deviceStatusNiew []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimInventoryItemsListRequest { + r.deviceStatusNiew = &deviceStatusNiew + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimInventoryItemsListRequest) DeviceStatusNisw(deviceStatusNisw []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimInventoryItemsListRequest { + r.deviceStatusNisw = &deviceStatusNisw + return r +} + // Device type (model) func (r ApiDcimInventoryItemsListRequest) DeviceType(deviceType []string) ApiDcimInventoryItemsListRequest { r.deviceType = &deviceType @@ -50571,26 +53867,22 @@ func (r ApiDcimInventoryItemsListRequest) RackIdN(rackIdN []int32) ApiDcimInvent return r } -// Region (slug) -func (r ApiDcimInventoryItemsListRequest) Region(region []int32) ApiDcimInventoryItemsListRequest { +func (r ApiDcimInventoryItemsListRequest) Region(region []string) ApiDcimInventoryItemsListRequest { r.region = ®ion return r } -// Region (slug) -func (r ApiDcimInventoryItemsListRequest) RegionN(regionN []int32) ApiDcimInventoryItemsListRequest { +func (r ApiDcimInventoryItemsListRequest) RegionN(regionN []string) ApiDcimInventoryItemsListRequest { r.regionN = ®ionN return r } -// Region (ID) -func (r ApiDcimInventoryItemsListRequest) RegionId(regionId []int32) ApiDcimInventoryItemsListRequest { +func (r ApiDcimInventoryItemsListRequest) RegionId(regionId []string) ApiDcimInventoryItemsListRequest { r.regionId = ®ionId return r } -// Region (ID) -func (r ApiDcimInventoryItemsListRequest) RegionIdN(regionIdN []int32) ApiDcimInventoryItemsListRequest { +func (r ApiDcimInventoryItemsListRequest) RegionIdN(regionIdN []string) ApiDcimInventoryItemsListRequest { r.regionIdN = ®ionIdN return r } @@ -50686,26 +53978,22 @@ func (r ApiDcimInventoryItemsListRequest) SiteN(siteN []string) ApiDcimInventory return r } -// Site group (slug) -func (r ApiDcimInventoryItemsListRequest) SiteGroup(siteGroup []int32) ApiDcimInventoryItemsListRequest { +func (r ApiDcimInventoryItemsListRequest) SiteGroup(siteGroup []string) ApiDcimInventoryItemsListRequest { r.siteGroup = &siteGroup return r } -// Site group (slug) -func (r ApiDcimInventoryItemsListRequest) SiteGroupN(siteGroupN []int32) ApiDcimInventoryItemsListRequest { +func (r ApiDcimInventoryItemsListRequest) SiteGroupN(siteGroupN []string) ApiDcimInventoryItemsListRequest { r.siteGroupN = &siteGroupN return r } -// Site group (ID) -func (r ApiDcimInventoryItemsListRequest) SiteGroupId(siteGroupId []int32) ApiDcimInventoryItemsListRequest { +func (r ApiDcimInventoryItemsListRequest) SiteGroupId(siteGroupId []string) ApiDcimInventoryItemsListRequest { r.siteGroupId = &siteGroupId return r } -// Site group (ID) -func (r ApiDcimInventoryItemsListRequest) SiteGroupIdN(siteGroupIdN []int32) ApiDcimInventoryItemsListRequest { +func (r ApiDcimInventoryItemsListRequest) SiteGroupIdN(siteGroupIdN []string) ApiDcimInventoryItemsListRequest { r.siteGroupIdN = &siteGroupIdN return r } @@ -51235,6 +54523,163 @@ func (a *DcimAPIService) DcimInventoryItemsListExecute(r ApiDcimInventoryItemsLi parameterAddToHeaderOrQuery(localVarQueryParams, "device_id__n", t, "multi") } } + if r.deviceRole != nil { + t := *r.deviceRole + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role", t, "multi") + } + } + if r.deviceRoleN != nil { + t := *r.deviceRoleN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role__n", t, "multi") + } + } + if r.deviceRoleId != nil { + t := *r.deviceRoleId + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role_id", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role_id", t, "multi") + } + } + if r.deviceRoleIdN != nil { + t := *r.deviceRoleIdN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role_id__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role_id__n", t, "multi") + } + } + if r.deviceStatus != nil { + t := *r.deviceStatus + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status", t, "multi") + } + } + if r.deviceStatusEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__empty", r.deviceStatusEmpty, "") + } + if r.deviceStatusIc != nil { + t := *r.deviceStatusIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__ic", t, "multi") + } + } + if r.deviceStatusIe != nil { + t := *r.deviceStatusIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__ie", t, "multi") + } + } + if r.deviceStatusIew != nil { + t := *r.deviceStatusIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__iew", t, "multi") + } + } + if r.deviceStatusIsw != nil { + t := *r.deviceStatusIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__isw", t, "multi") + } + } + if r.deviceStatusN != nil { + t := *r.deviceStatusN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__n", t, "multi") + } + } + if r.deviceStatusNic != nil { + t := *r.deviceStatusNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nic", t, "multi") + } + } + if r.deviceStatusNie != nil { + t := *r.deviceStatusNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nie", t, "multi") + } + } + if r.deviceStatusNiew != nil { + t := *r.deviceStatusNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__niew", t, "multi") + } + } + if r.deviceStatusNisw != nil { + t := *r.deviceStatusNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nisw", t, "multi") + } + } if r.deviceType != nil { t := *r.deviceType if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -53332,14 +56777,14 @@ func (a *DcimAPIService) DcimLocationsDestroyExecute(r ApiDcimLocationsDestroyRe type ApiDcimLocationsListRequest struct { ctx context.Context ApiService *DcimAPIService - ancestor *[]int32 - ancestorN *[]int32 - ancestorId *[]int32 - ancestorIdN *[]int32 + ancestor *[]string + ancestorN *[]string + ancestorId *[]string + ancestorIdN *[]string contact *[]int32 contactN *[]int32 - contactGroup *[]int32 - contactGroupN *[]int32 + contactGroup *[]string + contactGroupN *[]string contactRole *[]int32 contactRoleN *[]int32 created *[]time.Time @@ -53406,16 +56851,16 @@ type ApiDcimLocationsListRequest struct { parentId *[]*int32 parentIdN *[]*int32 q *string - region *[]int32 - regionN *[]int32 - regionId *[]int32 - regionIdN *[]int32 + region *[]string + regionN *[]string + regionId *[]string + regionIdN *[]string site *[]string siteN *[]string - siteGroup *[]int32 - siteGroupN *[]int32 - siteGroupId *[]int32 - siteGroupIdN *[]int32 + siteGroup *[]string + siteGroupN *[]string + siteGroupId *[]string + siteGroupIdN *[]string siteId *[]int32 siteIdN *[]int32 slug *[]string @@ -53430,40 +56875,45 @@ type ApiDcimLocationsListRequest struct { slugNiew *[]string slugNisw *[]string status *[]string - statusN *[]string + statusEmpty *bool + statusIc *[]DcimLocationsListStatusIcParameterInner + statusIe *[]DcimLocationsListStatusIcParameterInner + statusIew *[]DcimLocationsListStatusIcParameterInner + statusIsw *[]DcimLocationsListStatusIcParameterInner + statusN *[]DcimLocationsListStatusIcParameterInner + statusNic *[]DcimLocationsListStatusIcParameterInner + statusNie *[]DcimLocationsListStatusIcParameterInner + statusNiew *[]DcimLocationsListStatusIcParameterInner + statusNisw *[]DcimLocationsListStatusIcParameterInner tag *[]string tagN *[]string tenant *[]string tenantN *[]string - tenantGroup *[]int32 - tenantGroupN *[]int32 - tenantGroupId *[]int32 - tenantGroupIdN *[]int32 + tenantGroup *[]string + tenantGroupN *[]string + tenantGroupId *[]string + tenantGroupIdN *[]string tenantId *[]*int32 tenantIdN *[]*int32 updatedByRequest *string } -// Location (slug) -func (r ApiDcimLocationsListRequest) Ancestor(ancestor []int32) ApiDcimLocationsListRequest { +func (r ApiDcimLocationsListRequest) Ancestor(ancestor []string) ApiDcimLocationsListRequest { r.ancestor = &ancestor return r } -// Location (slug) -func (r ApiDcimLocationsListRequest) AncestorN(ancestorN []int32) ApiDcimLocationsListRequest { +func (r ApiDcimLocationsListRequest) AncestorN(ancestorN []string) ApiDcimLocationsListRequest { r.ancestorN = &ancestorN return r } -// Location (ID) -func (r ApiDcimLocationsListRequest) AncestorId(ancestorId []int32) ApiDcimLocationsListRequest { +func (r ApiDcimLocationsListRequest) AncestorId(ancestorId []string) ApiDcimLocationsListRequest { r.ancestorId = &ancestorId return r } -// Location (ID) -func (r ApiDcimLocationsListRequest) AncestorIdN(ancestorIdN []int32) ApiDcimLocationsListRequest { +func (r ApiDcimLocationsListRequest) AncestorIdN(ancestorIdN []string) ApiDcimLocationsListRequest { r.ancestorIdN = &ancestorIdN return r } @@ -53480,14 +56930,12 @@ func (r ApiDcimLocationsListRequest) ContactN(contactN []int32) ApiDcimLocations return r } -// Contact group -func (r ApiDcimLocationsListRequest) ContactGroup(contactGroup []int32) ApiDcimLocationsListRequest { +func (r ApiDcimLocationsListRequest) ContactGroup(contactGroup []string) ApiDcimLocationsListRequest { r.contactGroup = &contactGroup return r } -// Contact group -func (r ApiDcimLocationsListRequest) ContactGroupN(contactGroupN []int32) ApiDcimLocationsListRequest { +func (r ApiDcimLocationsListRequest) ContactGroupN(contactGroupN []string) ApiDcimLocationsListRequest { r.contactGroupN = &contactGroupN return r } @@ -53832,26 +57280,22 @@ func (r ApiDcimLocationsListRequest) Q(q string) ApiDcimLocationsListRequest { return r } -// Region (slug) -func (r ApiDcimLocationsListRequest) Region(region []int32) ApiDcimLocationsListRequest { +func (r ApiDcimLocationsListRequest) Region(region []string) ApiDcimLocationsListRequest { r.region = ®ion return r } -// Region (slug) -func (r ApiDcimLocationsListRequest) RegionN(regionN []int32) ApiDcimLocationsListRequest { +func (r ApiDcimLocationsListRequest) RegionN(regionN []string) ApiDcimLocationsListRequest { r.regionN = ®ionN return r } -// Region (ID) -func (r ApiDcimLocationsListRequest) RegionId(regionId []int32) ApiDcimLocationsListRequest { +func (r ApiDcimLocationsListRequest) RegionId(regionId []string) ApiDcimLocationsListRequest { r.regionId = ®ionId return r } -// Region (ID) -func (r ApiDcimLocationsListRequest) RegionIdN(regionIdN []int32) ApiDcimLocationsListRequest { +func (r ApiDcimLocationsListRequest) RegionIdN(regionIdN []string) ApiDcimLocationsListRequest { r.regionIdN = ®ionIdN return r } @@ -53868,26 +57312,22 @@ func (r ApiDcimLocationsListRequest) SiteN(siteN []string) ApiDcimLocationsListR return r } -// Site group (slug) -func (r ApiDcimLocationsListRequest) SiteGroup(siteGroup []int32) ApiDcimLocationsListRequest { +func (r ApiDcimLocationsListRequest) SiteGroup(siteGroup []string) ApiDcimLocationsListRequest { r.siteGroup = &siteGroup return r } -// Site group (slug) -func (r ApiDcimLocationsListRequest) SiteGroupN(siteGroupN []int32) ApiDcimLocationsListRequest { +func (r ApiDcimLocationsListRequest) SiteGroupN(siteGroupN []string) ApiDcimLocationsListRequest { r.siteGroupN = &siteGroupN return r } -// Site group (ID) -func (r ApiDcimLocationsListRequest) SiteGroupId(siteGroupId []int32) ApiDcimLocationsListRequest { +func (r ApiDcimLocationsListRequest) SiteGroupId(siteGroupId []string) ApiDcimLocationsListRequest { r.siteGroupId = &siteGroupId return r } -// Site group (ID) -func (r ApiDcimLocationsListRequest) SiteGroupIdN(siteGroupIdN []int32) ApiDcimLocationsListRequest { +func (r ApiDcimLocationsListRequest) SiteGroupIdN(siteGroupIdN []string) ApiDcimLocationsListRequest { r.siteGroupIdN = &siteGroupIdN return r } @@ -53964,11 +57404,65 @@ func (r ApiDcimLocationsListRequest) Status(status []string) ApiDcimLocationsLis return r } -func (r ApiDcimLocationsListRequest) StatusN(statusN []string) ApiDcimLocationsListRequest { +func (r ApiDcimLocationsListRequest) StatusEmpty(statusEmpty bool) ApiDcimLocationsListRequest { + r.statusEmpty = &statusEmpty + return r +} + +// * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired +func (r ApiDcimLocationsListRequest) StatusIc(statusIc []DcimLocationsListStatusIcParameterInner) ApiDcimLocationsListRequest { + r.statusIc = &statusIc + return r +} + +// * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired +func (r ApiDcimLocationsListRequest) StatusIe(statusIe []DcimLocationsListStatusIcParameterInner) ApiDcimLocationsListRequest { + r.statusIe = &statusIe + return r +} + +// * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired +func (r ApiDcimLocationsListRequest) StatusIew(statusIew []DcimLocationsListStatusIcParameterInner) ApiDcimLocationsListRequest { + r.statusIew = &statusIew + return r +} + +// * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired +func (r ApiDcimLocationsListRequest) StatusIsw(statusIsw []DcimLocationsListStatusIcParameterInner) ApiDcimLocationsListRequest { + r.statusIsw = &statusIsw + return r +} + +// * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired +func (r ApiDcimLocationsListRequest) StatusN(statusN []DcimLocationsListStatusIcParameterInner) ApiDcimLocationsListRequest { r.statusN = &statusN return r } +// * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired +func (r ApiDcimLocationsListRequest) StatusNic(statusNic []DcimLocationsListStatusIcParameterInner) ApiDcimLocationsListRequest { + r.statusNic = &statusNic + return r +} + +// * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired +func (r ApiDcimLocationsListRequest) StatusNie(statusNie []DcimLocationsListStatusIcParameterInner) ApiDcimLocationsListRequest { + r.statusNie = &statusNie + return r +} + +// * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired +func (r ApiDcimLocationsListRequest) StatusNiew(statusNiew []DcimLocationsListStatusIcParameterInner) ApiDcimLocationsListRequest { + r.statusNiew = &statusNiew + return r +} + +// * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired +func (r ApiDcimLocationsListRequest) StatusNisw(statusNisw []DcimLocationsListStatusIcParameterInner) ApiDcimLocationsListRequest { + r.statusNisw = &statusNisw + return r +} + func (r ApiDcimLocationsListRequest) Tag(tag []string) ApiDcimLocationsListRequest { r.tag = &tag return r @@ -53991,26 +57485,22 @@ func (r ApiDcimLocationsListRequest) TenantN(tenantN []string) ApiDcimLocationsL return r } -// Tenant Group (slug) -func (r ApiDcimLocationsListRequest) TenantGroup(tenantGroup []int32) ApiDcimLocationsListRequest { +func (r ApiDcimLocationsListRequest) TenantGroup(tenantGroup []string) ApiDcimLocationsListRequest { r.tenantGroup = &tenantGroup return r } -// Tenant Group (slug) -func (r ApiDcimLocationsListRequest) TenantGroupN(tenantGroupN []int32) ApiDcimLocationsListRequest { +func (r ApiDcimLocationsListRequest) TenantGroupN(tenantGroupN []string) ApiDcimLocationsListRequest { r.tenantGroupN = &tenantGroupN return r } -// Tenant Group (ID) -func (r ApiDcimLocationsListRequest) TenantGroupId(tenantGroupId []int32) ApiDcimLocationsListRequest { +func (r ApiDcimLocationsListRequest) TenantGroupId(tenantGroupId []string) ApiDcimLocationsListRequest { r.tenantGroupId = &tenantGroupId return r } -// Tenant Group (ID) -func (r ApiDcimLocationsListRequest) TenantGroupIdN(tenantGroupIdN []int32) ApiDcimLocationsListRequest { +func (r ApiDcimLocationsListRequest) TenantGroupIdN(tenantGroupIdN []string) ApiDcimLocationsListRequest { r.tenantGroupIdN = &tenantGroupIdN return r } @@ -55063,6 +58553,53 @@ func (a *DcimAPIService) DcimLocationsListExecute(r ApiDcimLocationsListRequest) parameterAddToHeaderOrQuery(localVarQueryParams, "status", t, "multi") } } + if r.statusEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__empty", r.statusEmpty, "") + } + if r.statusIc != nil { + t := *r.statusIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ic", t, "multi") + } + } + if r.statusIe != nil { + t := *r.statusIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ie", t, "multi") + } + } + if r.statusIew != nil { + t := *r.statusIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__iew", t, "multi") + } + } + if r.statusIsw != nil { + t := *r.statusIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__isw", t, "multi") + } + } if r.statusN != nil { t := *r.statusN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -55074,6 +58611,50 @@ func (a *DcimAPIService) DcimLocationsListExecute(r ApiDcimLocationsListRequest) parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", t, "multi") } } + if r.statusNic != nil { + t := *r.statusNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nic", t, "multi") + } + } + if r.statusNie != nil { + t := *r.statusNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nie", t, "multi") + } + } + if r.statusNiew != nil { + t := *r.statusNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__niew", t, "multi") + } + } + if r.statusNisw != nil { + t := *r.statusNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nisw", t, "multi") + } + } if r.tag != nil { t := *r.tag if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -56227,8 +59808,8 @@ type ApiDcimManufacturersListRequest struct { ApiService *DcimAPIService contact *[]int32 contactN *[]int32 - contactGroup *[]int32 - contactGroupN *[]int32 + contactGroup *[]string + contactGroupN *[]string contactRole *[]int32 contactRoleN *[]int32 created *[]time.Time @@ -56308,14 +59889,12 @@ func (r ApiDcimManufacturersListRequest) ContactN(contactN []int32) ApiDcimManuf return r } -// Contact group -func (r ApiDcimManufacturersListRequest) ContactGroup(contactGroup []int32) ApiDcimManufacturersListRequest { +func (r ApiDcimManufacturersListRequest) ContactGroup(contactGroup []string) ApiDcimManufacturersListRequest { r.contactGroup = &contactGroup return r } -// Contact group -func (r ApiDcimManufacturersListRequest) ContactGroupN(contactGroupN []int32) ApiDcimManufacturersListRequest { +func (r ApiDcimManufacturersListRequest) ContactGroupN(contactGroupN []string) ApiDcimManufacturersListRequest { r.contactGroupN = &contactGroupN return r } @@ -58420,10 +61999,8 @@ type ApiDcimModuleBayTemplatesListRequest struct { descriptionNie *[]string descriptionNiew *[]string descriptionNisw *[]string - deviceTypeId *[]int32 - deviceTypeIdN *[]int32 - devicetypeId *[]int32 - devicetypeIdN *[]int32 + deviceTypeId *[]*int32 + deviceTypeIdN *[]*int32 id *[]int32 idEmpty *bool idGt *[]int32 @@ -58451,6 +62028,8 @@ type ApiDcimModuleBayTemplatesListRequest struct { lastUpdatedN *[]time.Time limit *int32 modifiedByRequest *string + moduleTypeId *[]*int32 + moduleTypeIdN *[]*int32 name *[]string nameEmpty *bool nameIc *[]string @@ -58575,29 +62154,17 @@ func (r ApiDcimModuleBayTemplatesListRequest) DescriptionNisw(descriptionNisw [] } // Device type (ID) -func (r ApiDcimModuleBayTemplatesListRequest) DeviceTypeId(deviceTypeId []int32) ApiDcimModuleBayTemplatesListRequest { +func (r ApiDcimModuleBayTemplatesListRequest) DeviceTypeId(deviceTypeId []*int32) ApiDcimModuleBayTemplatesListRequest { r.deviceTypeId = &deviceTypeId return r } // Device type (ID) -func (r ApiDcimModuleBayTemplatesListRequest) DeviceTypeIdN(deviceTypeIdN []int32) ApiDcimModuleBayTemplatesListRequest { +func (r ApiDcimModuleBayTemplatesListRequest) DeviceTypeIdN(deviceTypeIdN []*int32) ApiDcimModuleBayTemplatesListRequest { r.deviceTypeIdN = &deviceTypeIdN return r } -// Device type (ID) -func (r ApiDcimModuleBayTemplatesListRequest) DevicetypeId(devicetypeId []int32) ApiDcimModuleBayTemplatesListRequest { - r.devicetypeId = &devicetypeId - return r -} - -// Device type (ID) -func (r ApiDcimModuleBayTemplatesListRequest) DevicetypeIdN(devicetypeIdN []int32) ApiDcimModuleBayTemplatesListRequest { - r.devicetypeIdN = &devicetypeIdN - return r -} - func (r ApiDcimModuleBayTemplatesListRequest) Id(id []int32) ApiDcimModuleBayTemplatesListRequest { r.id = &id return r @@ -58734,6 +62301,18 @@ func (r ApiDcimModuleBayTemplatesListRequest) ModifiedByRequest(modifiedByReques return r } +// Module type (ID) +func (r ApiDcimModuleBayTemplatesListRequest) ModuleTypeId(moduleTypeId []*int32) ApiDcimModuleBayTemplatesListRequest { + r.moduleTypeId = &moduleTypeId + return r +} + +// Module type (ID) +func (r ApiDcimModuleBayTemplatesListRequest) ModuleTypeIdN(moduleTypeIdN []*int32) ApiDcimModuleBayTemplatesListRequest { + r.moduleTypeIdN = &moduleTypeIdN + return r +} + func (r ApiDcimModuleBayTemplatesListRequest) Name(name []string) ApiDcimModuleBayTemplatesListRequest { r.name = &name return r @@ -59123,28 +62702,6 @@ func (a *DcimAPIService) DcimModuleBayTemplatesListExecute(r ApiDcimModuleBayTem parameterAddToHeaderOrQuery(localVarQueryParams, "device_type_id__n", t, "multi") } } - if r.devicetypeId != nil { - t := *r.devicetypeId - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "devicetype_id", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "devicetype_id", t, "multi") - } - } - if r.devicetypeIdN != nil { - t := *r.devicetypeIdN - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "devicetype_id__n", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "devicetype_id__n", t, "multi") - } - } if r.id != nil { t := *r.id if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -59410,6 +62967,28 @@ func (a *DcimAPIService) DcimModuleBayTemplatesListExecute(r ApiDcimModuleBayTem if r.modifiedByRequest != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "modified_by_request", r.modifiedByRequest, "") } + if r.moduleTypeId != nil { + t := *r.moduleTypeId + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "module_type_id", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "module_type_id", t, "multi") + } + } + if r.moduleTypeIdN != nil { + t := *r.moduleTypeIdN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "module_type_id__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "module_type_id__n", t, "multi") + } + } if r.name != nil { t := *r.name if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -60709,6 +64288,21 @@ type ApiDcimModuleBaysListRequest struct { deviceN *[]*string deviceId *[]int32 deviceIdN *[]int32 + deviceRole *[]string + deviceRoleN *[]string + deviceRoleId *[]int32 + deviceRoleIdN *[]int32 + deviceStatus *[]string + deviceStatusEmpty *bool + deviceStatusIc *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusIe *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusIew *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusIsw *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusN *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusNic *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusNie *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusNiew *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusNisw *[]DcimConsolePortsListDeviceStatusIcParameterInner deviceType *[]string deviceTypeN *[]string deviceTypeId *[]int32 @@ -60746,6 +64340,8 @@ type ApiDcimModuleBaysListRequest struct { locationId *[]int32 locationIdN *[]int32 modifiedByRequest *string + moduleId *[]*int32 + moduleIdN *[]*int32 name *[]string nameEmpty *bool nameIc *[]string @@ -60759,6 +64355,8 @@ type ApiDcimModuleBaysListRequest struct { nameNisw *[]string offset *int32 ordering *string + parentId *[]*int32 + parentIdN *[]*int32 position *[]string positionEmpty *bool positionIc *[]string @@ -60775,20 +64373,16 @@ type ApiDcimModuleBaysListRequest struct { rackN *[]string rackId *[]int32 rackIdN *[]int32 - region *[]int32 - regionN *[]int32 - regionId *[]int32 - regionIdN *[]int32 - role *[]string - roleN *[]string - roleId *[]int32 - roleIdN *[]int32 + region *[]string + regionN *[]string + regionId *[]string + regionIdN *[]string site *[]string siteN *[]string - siteGroup *[]int32 - siteGroupN *[]int32 - siteGroupId *[]int32 - siteGroupIdN *[]int32 + siteGroup *[]string + siteGroupN *[]string + siteGroupId *[]string + siteGroupIdN *[]string siteId *[]int32 siteIdN *[]int32 tag *[]string @@ -60919,6 +64513,94 @@ func (r ApiDcimModuleBaysListRequest) DeviceIdN(deviceIdN []int32) ApiDcimModule return r } +// Device role (slug) +func (r ApiDcimModuleBaysListRequest) DeviceRole(deviceRole []string) ApiDcimModuleBaysListRequest { + r.deviceRole = &deviceRole + return r +} + +// Device role (slug) +func (r ApiDcimModuleBaysListRequest) DeviceRoleN(deviceRoleN []string) ApiDcimModuleBaysListRequest { + r.deviceRoleN = &deviceRoleN + return r +} + +// Device role (ID) +func (r ApiDcimModuleBaysListRequest) DeviceRoleId(deviceRoleId []int32) ApiDcimModuleBaysListRequest { + r.deviceRoleId = &deviceRoleId + return r +} + +// Device role (ID) +func (r ApiDcimModuleBaysListRequest) DeviceRoleIdN(deviceRoleIdN []int32) ApiDcimModuleBaysListRequest { + r.deviceRoleIdN = &deviceRoleIdN + return r +} + +func (r ApiDcimModuleBaysListRequest) DeviceStatus(deviceStatus []string) ApiDcimModuleBaysListRequest { + r.deviceStatus = &deviceStatus + return r +} + +func (r ApiDcimModuleBaysListRequest) DeviceStatusEmpty(deviceStatusEmpty bool) ApiDcimModuleBaysListRequest { + r.deviceStatusEmpty = &deviceStatusEmpty + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimModuleBaysListRequest) DeviceStatusIc(deviceStatusIc []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimModuleBaysListRequest { + r.deviceStatusIc = &deviceStatusIc + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimModuleBaysListRequest) DeviceStatusIe(deviceStatusIe []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimModuleBaysListRequest { + r.deviceStatusIe = &deviceStatusIe + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimModuleBaysListRequest) DeviceStatusIew(deviceStatusIew []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimModuleBaysListRequest { + r.deviceStatusIew = &deviceStatusIew + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimModuleBaysListRequest) DeviceStatusIsw(deviceStatusIsw []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimModuleBaysListRequest { + r.deviceStatusIsw = &deviceStatusIsw + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimModuleBaysListRequest) DeviceStatusN(deviceStatusN []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimModuleBaysListRequest { + r.deviceStatusN = &deviceStatusN + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimModuleBaysListRequest) DeviceStatusNic(deviceStatusNic []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimModuleBaysListRequest { + r.deviceStatusNic = &deviceStatusNic + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimModuleBaysListRequest) DeviceStatusNie(deviceStatusNie []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimModuleBaysListRequest { + r.deviceStatusNie = &deviceStatusNie + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimModuleBaysListRequest) DeviceStatusNiew(deviceStatusNiew []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimModuleBaysListRequest { + r.deviceStatusNiew = &deviceStatusNiew + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimModuleBaysListRequest) DeviceStatusNisw(deviceStatusNisw []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimModuleBaysListRequest { + r.deviceStatusNisw = &deviceStatusNisw + return r +} + // Device type (model) func (r ApiDcimModuleBaysListRequest) DeviceType(deviceType []string) ApiDcimModuleBaysListRequest { r.deviceType = &deviceType @@ -61115,6 +64797,18 @@ func (r ApiDcimModuleBaysListRequest) ModifiedByRequest(modifiedByRequest string return r } +// Module (ID) +func (r ApiDcimModuleBaysListRequest) ModuleId(moduleId []*int32) ApiDcimModuleBaysListRequest { + r.moduleId = &moduleId + return r +} + +// Module (ID) +func (r ApiDcimModuleBaysListRequest) ModuleIdN(moduleIdN []*int32) ApiDcimModuleBaysListRequest { + r.moduleIdN = &moduleIdN + return r +} + func (r ApiDcimModuleBaysListRequest) Name(name []string) ApiDcimModuleBaysListRequest { r.name = &name return r @@ -61182,6 +64876,18 @@ func (r ApiDcimModuleBaysListRequest) Ordering(ordering string) ApiDcimModuleBay return r } +// Parent module bay (ID) +func (r ApiDcimModuleBaysListRequest) ParentId(parentId []*int32) ApiDcimModuleBaysListRequest { + r.parentId = &parentId + return r +} + +// Parent module bay (ID) +func (r ApiDcimModuleBaysListRequest) ParentIdN(parentIdN []*int32) ApiDcimModuleBaysListRequest { + r.parentIdN = &parentIdN + return r +} + func (r ApiDcimModuleBaysListRequest) Position(position []string) ApiDcimModuleBaysListRequest { r.position = &position return r @@ -61267,54 +64973,26 @@ func (r ApiDcimModuleBaysListRequest) RackIdN(rackIdN []int32) ApiDcimModuleBays return r } -// Region (slug) -func (r ApiDcimModuleBaysListRequest) Region(region []int32) ApiDcimModuleBaysListRequest { +func (r ApiDcimModuleBaysListRequest) Region(region []string) ApiDcimModuleBaysListRequest { r.region = ®ion return r } -// Region (slug) -func (r ApiDcimModuleBaysListRequest) RegionN(regionN []int32) ApiDcimModuleBaysListRequest { +func (r ApiDcimModuleBaysListRequest) RegionN(regionN []string) ApiDcimModuleBaysListRequest { r.regionN = ®ionN return r } -// Region (ID) -func (r ApiDcimModuleBaysListRequest) RegionId(regionId []int32) ApiDcimModuleBaysListRequest { +func (r ApiDcimModuleBaysListRequest) RegionId(regionId []string) ApiDcimModuleBaysListRequest { r.regionId = ®ionId return r } -// Region (ID) -func (r ApiDcimModuleBaysListRequest) RegionIdN(regionIdN []int32) ApiDcimModuleBaysListRequest { +func (r ApiDcimModuleBaysListRequest) RegionIdN(regionIdN []string) ApiDcimModuleBaysListRequest { r.regionIdN = ®ionIdN return r } -// Device role (slug) -func (r ApiDcimModuleBaysListRequest) Role(role []string) ApiDcimModuleBaysListRequest { - r.role = &role - return r -} - -// Device role (slug) -func (r ApiDcimModuleBaysListRequest) RoleN(roleN []string) ApiDcimModuleBaysListRequest { - r.roleN = &roleN - return r -} - -// Device role (ID) -func (r ApiDcimModuleBaysListRequest) RoleId(roleId []int32) ApiDcimModuleBaysListRequest { - r.roleId = &roleId - return r -} - -// Device role (ID) -func (r ApiDcimModuleBaysListRequest) RoleIdN(roleIdN []int32) ApiDcimModuleBaysListRequest { - r.roleIdN = &roleIdN - return r -} - // Site name (slug) func (r ApiDcimModuleBaysListRequest) Site(site []string) ApiDcimModuleBaysListRequest { r.site = &site @@ -61327,26 +65005,22 @@ func (r ApiDcimModuleBaysListRequest) SiteN(siteN []string) ApiDcimModuleBaysLis return r } -// Site group (slug) -func (r ApiDcimModuleBaysListRequest) SiteGroup(siteGroup []int32) ApiDcimModuleBaysListRequest { +func (r ApiDcimModuleBaysListRequest) SiteGroup(siteGroup []string) ApiDcimModuleBaysListRequest { r.siteGroup = &siteGroup return r } -// Site group (slug) -func (r ApiDcimModuleBaysListRequest) SiteGroupN(siteGroupN []int32) ApiDcimModuleBaysListRequest { +func (r ApiDcimModuleBaysListRequest) SiteGroupN(siteGroupN []string) ApiDcimModuleBaysListRequest { r.siteGroupN = &siteGroupN return r } -// Site group (ID) -func (r ApiDcimModuleBaysListRequest) SiteGroupId(siteGroupId []int32) ApiDcimModuleBaysListRequest { +func (r ApiDcimModuleBaysListRequest) SiteGroupId(siteGroupId []string) ApiDcimModuleBaysListRequest { r.siteGroupId = &siteGroupId return r } -// Site group (ID) -func (r ApiDcimModuleBaysListRequest) SiteGroupIdN(siteGroupIdN []int32) ApiDcimModuleBaysListRequest { +func (r ApiDcimModuleBaysListRequest) SiteGroupIdN(siteGroupIdN []string) ApiDcimModuleBaysListRequest { r.siteGroupIdN = &siteGroupIdN return r } @@ -61680,6 +65354,163 @@ func (a *DcimAPIService) DcimModuleBaysListExecute(r ApiDcimModuleBaysListReques parameterAddToHeaderOrQuery(localVarQueryParams, "device_id__n", t, "multi") } } + if r.deviceRole != nil { + t := *r.deviceRole + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role", t, "multi") + } + } + if r.deviceRoleN != nil { + t := *r.deviceRoleN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role__n", t, "multi") + } + } + if r.deviceRoleId != nil { + t := *r.deviceRoleId + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role_id", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role_id", t, "multi") + } + } + if r.deviceRoleIdN != nil { + t := *r.deviceRoleIdN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role_id__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role_id__n", t, "multi") + } + } + if r.deviceStatus != nil { + t := *r.deviceStatus + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status", t, "multi") + } + } + if r.deviceStatusEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__empty", r.deviceStatusEmpty, "") + } + if r.deviceStatusIc != nil { + t := *r.deviceStatusIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__ic", t, "multi") + } + } + if r.deviceStatusIe != nil { + t := *r.deviceStatusIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__ie", t, "multi") + } + } + if r.deviceStatusIew != nil { + t := *r.deviceStatusIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__iew", t, "multi") + } + } + if r.deviceStatusIsw != nil { + t := *r.deviceStatusIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__isw", t, "multi") + } + } + if r.deviceStatusN != nil { + t := *r.deviceStatusN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__n", t, "multi") + } + } + if r.deviceStatusNic != nil { + t := *r.deviceStatusNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nic", t, "multi") + } + } + if r.deviceStatusNie != nil { + t := *r.deviceStatusNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nie", t, "multi") + } + } + if r.deviceStatusNiew != nil { + t := *r.deviceStatusNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__niew", t, "multi") + } + } + if r.deviceStatusNisw != nil { + t := *r.deviceStatusNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nisw", t, "multi") + } + } if r.deviceType != nil { t := *r.deviceType if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -62055,6 +65886,28 @@ func (a *DcimAPIService) DcimModuleBaysListExecute(r ApiDcimModuleBaysListReques if r.modifiedByRequest != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "modified_by_request", r.modifiedByRequest, "") } + if r.moduleId != nil { + t := *r.moduleId + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "module_id", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "module_id", t, "multi") + } + } + if r.moduleIdN != nil { + t := *r.moduleIdN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "module_id__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "module_id__n", t, "multi") + } + } if r.name != nil { t := *r.name if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -62174,6 +66027,28 @@ func (a *DcimAPIService) DcimModuleBaysListExecute(r ApiDcimModuleBaysListReques if r.ordering != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "ordering", r.ordering, "") } + if r.parentId != nil { + t := *r.parentId + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "parent_id", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "parent_id", t, "multi") + } + } + if r.parentIdN != nil { + t := *r.parentIdN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "parent_id__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "parent_id__n", t, "multi") + } + } if r.position != nil { t := *r.position if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -62378,50 +66253,6 @@ func (a *DcimAPIService) DcimModuleBaysListExecute(r ApiDcimModuleBaysListReques parameterAddToHeaderOrQuery(localVarQueryParams, "region_id__n", t, "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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "role", t, "multi") - } - } - 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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "role__n", t, "multi") - } - } - if r.roleId != nil { - t := *r.roleId - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "role_id", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "role_id", t, "multi") - } - } - if r.roleIdN != nil { - t := *r.roleIdN - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "role_id__n", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "role_id__n", t, "multi") - } - } if r.site != nil { t := *r.site if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -63617,6 +67448,7 @@ func (a *DcimAPIService) DcimModuleTypesDestroyExecute(r ApiDcimModuleTypesDestr type ApiDcimModuleTypesListRequest struct { ctx context.Context ApiService *DcimAPIService + airflow *DcimModuleTypesListAirflowParameter consolePorts *bool consoleServerPorts *bool created *[]time.Time @@ -63698,7 +67530,12 @@ type ApiDcimModuleTypesListRequest struct { weightLte *[]float64 weightN *[]float64 weightUnit *DcimDeviceTypesListWeightUnitParameter - weightUnitN *DcimDeviceTypesListWeightUnitParameter +} + +// * `front-to-rear` - Front to rear * `rear-to-front` - Rear to front * `left-to-right` - Left to right * `right-to-left` - Right to left * `side-to-rear` - Side to rear * `passive` - Passive +func (r ApiDcimModuleTypesListRequest) Airflow(airflow DcimModuleTypesListAirflowParameter) ApiDcimModuleTypesListRequest { + r.airflow = &airflow + return r } // Has console ports @@ -64121,12 +67958,6 @@ func (r ApiDcimModuleTypesListRequest) WeightUnit(weightUnit DcimDeviceTypesList return r } -// * `kg` - Kilograms * `g` - Grams * `lb` - Pounds * `oz` - Ounces -func (r ApiDcimModuleTypesListRequest) WeightUnitN(weightUnitN DcimDeviceTypesListWeightUnitParameter) ApiDcimModuleTypesListRequest { - r.weightUnitN = &weightUnitN - return r -} - func (r ApiDcimModuleTypesListRequest) Execute() (*PaginatedModuleTypeList, *http.Response, error) { return r.ApiService.DcimModuleTypesListExecute(r) } @@ -64168,6 +67999,9 @@ func (a *DcimAPIService) DcimModuleTypesListExecute(r ApiDcimModuleTypesListRequ localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.airflow != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "airflow", r.airflow, "") + } if r.consolePorts != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "console_ports", r.consolePorts, "") } @@ -64907,9 +68741,6 @@ func (a *DcimAPIService) DcimModuleTypesListExecute(r ApiDcimModuleTypesListRequ if r.weightUnit != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "weight_unit", r.weightUnit, "") } - if r.weightUnitN != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "weight_unit__n", r.weightUnitN, "") - } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -66000,8 +69831,8 @@ type ApiDcimModulesListRequest struct { manufacturerId *[]int32 manufacturerIdN *[]int32 modifiedByRequest *string - moduleBayId *[]int32 - moduleBayIdN *[]int32 + moduleBayId *[]string + moduleBayIdN *[]string moduleType *[]string moduleTypeN *[]string moduleTypeId *[]int32 @@ -66021,7 +69852,16 @@ type ApiDcimModulesListRequest struct { serialNiew *[]string serialNisw *[]string status *[]string - statusN *[]string + statusEmpty *bool + statusIc *[]DcimModulesListStatusIcParameterInner + statusIe *[]DcimModulesListStatusIcParameterInner + statusIew *[]DcimModulesListStatusIcParameterInner + statusIsw *[]DcimModulesListStatusIcParameterInner + statusN *[]DcimModulesListStatusIcParameterInner + statusNic *[]DcimModulesListStatusIcParameterInner + statusNie *[]DcimModulesListStatusIcParameterInner + statusNiew *[]DcimModulesListStatusIcParameterInner + statusNisw *[]DcimModulesListStatusIcParameterInner tag *[]string tagN *[]string updatedByRequest *string @@ -66294,14 +70134,12 @@ func (r ApiDcimModulesListRequest) ModifiedByRequest(modifiedByRequest string) A return r } -// Module Bay (ID) -func (r ApiDcimModulesListRequest) ModuleBayId(moduleBayId []int32) ApiDcimModulesListRequest { +func (r ApiDcimModulesListRequest) ModuleBayId(moduleBayId []string) ApiDcimModulesListRequest { r.moduleBayId = &moduleBayId return r } -// Module Bay (ID) -func (r ApiDcimModulesListRequest) ModuleBayIdN(moduleBayIdN []int32) ApiDcimModulesListRequest { +func (r ApiDcimModulesListRequest) ModuleBayIdN(moduleBayIdN []string) ApiDcimModulesListRequest { r.moduleBayIdN = &moduleBayIdN return r } @@ -66408,11 +70246,65 @@ func (r ApiDcimModulesListRequest) Status(status []string) ApiDcimModulesListReq return r } -func (r ApiDcimModulesListRequest) StatusN(statusN []string) ApiDcimModulesListRequest { +func (r ApiDcimModulesListRequest) StatusEmpty(statusEmpty bool) ApiDcimModulesListRequest { + r.statusEmpty = &statusEmpty + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning +func (r ApiDcimModulesListRequest) StatusIc(statusIc []DcimModulesListStatusIcParameterInner) ApiDcimModulesListRequest { + r.statusIc = &statusIc + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning +func (r ApiDcimModulesListRequest) StatusIe(statusIe []DcimModulesListStatusIcParameterInner) ApiDcimModulesListRequest { + r.statusIe = &statusIe + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning +func (r ApiDcimModulesListRequest) StatusIew(statusIew []DcimModulesListStatusIcParameterInner) ApiDcimModulesListRequest { + r.statusIew = &statusIew + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning +func (r ApiDcimModulesListRequest) StatusIsw(statusIsw []DcimModulesListStatusIcParameterInner) ApiDcimModulesListRequest { + r.statusIsw = &statusIsw + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning +func (r ApiDcimModulesListRequest) StatusN(statusN []DcimModulesListStatusIcParameterInner) ApiDcimModulesListRequest { r.statusN = &statusN return r } +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning +func (r ApiDcimModulesListRequest) StatusNic(statusNic []DcimModulesListStatusIcParameterInner) ApiDcimModulesListRequest { + r.statusNic = &statusNic + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning +func (r ApiDcimModulesListRequest) StatusNie(statusNie []DcimModulesListStatusIcParameterInner) ApiDcimModulesListRequest { + r.statusNie = &statusNie + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning +func (r ApiDcimModulesListRequest) StatusNiew(statusNiew []DcimModulesListStatusIcParameterInner) ApiDcimModulesListRequest { + r.statusNiew = &statusNiew + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning +func (r ApiDcimModulesListRequest) StatusNisw(statusNisw []DcimModulesListStatusIcParameterInner) ApiDcimModulesListRequest { + r.statusNisw = &statusNisw + return r +} + func (r ApiDcimModulesListRequest) Tag(tag []string) ApiDcimModulesListRequest { r.tag = &tag return r @@ -67192,6 +71084,53 @@ func (a *DcimAPIService) DcimModulesListExecute(r ApiDcimModulesListRequest) (*P parameterAddToHeaderOrQuery(localVarQueryParams, "status", t, "multi") } } + if r.statusEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__empty", r.statusEmpty, "") + } + if r.statusIc != nil { + t := *r.statusIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ic", t, "multi") + } + } + if r.statusIe != nil { + t := *r.statusIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ie", t, "multi") + } + } + if r.statusIew != nil { + t := *r.statusIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__iew", t, "multi") + } + } + if r.statusIsw != nil { + t := *r.statusIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__isw", t, "multi") + } + } if r.statusN != nil { t := *r.statusN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -67203,6 +71142,50 @@ func (a *DcimAPIService) DcimModulesListExecute(r ApiDcimModulesListRequest) (*P parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", t, "multi") } } + if r.statusNic != nil { + t := *r.statusNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nic", t, "multi") + } + } + if r.statusNie != nil { + t := *r.statusNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nie", t, "multi") + } + } + if r.statusNiew != nil { + t := *r.statusNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__niew", t, "multi") + } + } + if r.statusNisw != nil { + t := *r.statusNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nisw", t, "multi") + } + } if r.tag != nil { t := *r.tag if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -70466,7 +74449,6 @@ type ApiDcimPowerFeedsListRequest struct { availablePowerLte *[]int32 availablePowerN *[]int32 cableEnd *CircuitsCircuitTerminationsListCableEndParameter - cableEndN *CircuitsCircuitTerminationsListCableEndParameter cableId *[]*int32 cableIdN *[]*int32 cabled *bool @@ -70529,40 +74511,46 @@ type ApiDcimPowerFeedsListRequest struct { offset *int32 ordering *string phase *DcimPowerFeedsListPhaseParameter - phaseN *DcimPowerFeedsListPhaseParameter powerPanelId *[]int32 powerPanelIdN *[]int32 q *string rackId *[]int32 rackIdN *[]int32 - region *[]int32 - regionN *[]int32 - regionId *[]int32 - regionIdN *[]int32 + region *[]string + regionN *[]string + regionId *[]string + regionIdN *[]string site *[]string siteN *[]string - siteGroup *[]int32 - siteGroupN *[]int32 - siteGroupId *[]int32 - siteGroupIdN *[]int32 + siteGroup *[]string + siteGroupN *[]string + siteGroupId *[]string + siteGroupIdN *[]string siteId *[]int32 siteIdN *[]int32 status *[]string - statusN *[]string + statusEmpty *bool + statusIc *[]DcimPowerFeedsListStatusIcParameterInner + statusIe *[]DcimPowerFeedsListStatusIcParameterInner + statusIew *[]DcimPowerFeedsListStatusIcParameterInner + statusIsw *[]DcimPowerFeedsListStatusIcParameterInner + statusN *[]DcimPowerFeedsListStatusIcParameterInner + statusNic *[]DcimPowerFeedsListStatusIcParameterInner + statusNie *[]DcimPowerFeedsListStatusIcParameterInner + statusNiew *[]DcimPowerFeedsListStatusIcParameterInner + statusNisw *[]DcimPowerFeedsListStatusIcParameterInner supply *DcimPowerFeedsListSupplyParameter - supplyN *DcimPowerFeedsListSupplyParameter tag *[]string tagN *[]string tenant *[]string tenantN *[]string - tenantGroup *[]int32 - tenantGroupN *[]int32 - tenantGroupId *[]int32 - tenantGroupIdN *[]int32 + tenantGroup *[]string + tenantGroupN *[]string + tenantGroupId *[]string + tenantGroupIdN *[]string tenantId *[]*int32 tenantIdN *[]*int32 type_ *DcimPowerFeedsListTypeParameter - typeN *DcimPowerFeedsListTypeParameter updatedByRequest *string voltage *[]int32 voltageEmpty *bool @@ -70649,12 +74637,6 @@ func (r ApiDcimPowerFeedsListRequest) CableEnd(cableEnd CircuitsCircuitTerminati return r } -// * `A` - A * `B` - B -func (r ApiDcimPowerFeedsListRequest) CableEndN(cableEndN CircuitsCircuitTerminationsListCableEndParameter) ApiDcimPowerFeedsListRequest { - r.cableEndN = &cableEndN - return r -} - // Cable (ID) func (r ApiDcimPowerFeedsListRequest) CableId(cableId []*int32) ApiDcimPowerFeedsListRequest { r.cableId = &cableId @@ -70971,12 +74953,6 @@ func (r ApiDcimPowerFeedsListRequest) Phase(phase DcimPowerFeedsListPhaseParamet return r } -// * `single-phase` - Single phase * `three-phase` - Three-phase -func (r ApiDcimPowerFeedsListRequest) PhaseN(phaseN DcimPowerFeedsListPhaseParameter) ApiDcimPowerFeedsListRequest { - r.phaseN = &phaseN - return r -} - // Power panel (ID) func (r ApiDcimPowerFeedsListRequest) PowerPanelId(powerPanelId []int32) ApiDcimPowerFeedsListRequest { r.powerPanelId = &powerPanelId @@ -71007,26 +74983,22 @@ func (r ApiDcimPowerFeedsListRequest) RackIdN(rackIdN []int32) ApiDcimPowerFeeds return r } -// Region (slug) -func (r ApiDcimPowerFeedsListRequest) Region(region []int32) ApiDcimPowerFeedsListRequest { +func (r ApiDcimPowerFeedsListRequest) Region(region []string) ApiDcimPowerFeedsListRequest { r.region = ®ion return r } -// Region (slug) -func (r ApiDcimPowerFeedsListRequest) RegionN(regionN []int32) ApiDcimPowerFeedsListRequest { +func (r ApiDcimPowerFeedsListRequest) RegionN(regionN []string) ApiDcimPowerFeedsListRequest { r.regionN = ®ionN return r } -// Region (ID) -func (r ApiDcimPowerFeedsListRequest) RegionId(regionId []int32) ApiDcimPowerFeedsListRequest { +func (r ApiDcimPowerFeedsListRequest) RegionId(regionId []string) ApiDcimPowerFeedsListRequest { r.regionId = ®ionId return r } -// Region (ID) -func (r ApiDcimPowerFeedsListRequest) RegionIdN(regionIdN []int32) ApiDcimPowerFeedsListRequest { +func (r ApiDcimPowerFeedsListRequest) RegionIdN(regionIdN []string) ApiDcimPowerFeedsListRequest { r.regionIdN = ®ionIdN return r } @@ -71043,26 +75015,22 @@ func (r ApiDcimPowerFeedsListRequest) SiteN(siteN []string) ApiDcimPowerFeedsLis return r } -// Site group (slug) -func (r ApiDcimPowerFeedsListRequest) SiteGroup(siteGroup []int32) ApiDcimPowerFeedsListRequest { +func (r ApiDcimPowerFeedsListRequest) SiteGroup(siteGroup []string) ApiDcimPowerFeedsListRequest { r.siteGroup = &siteGroup return r } -// Site group (slug) -func (r ApiDcimPowerFeedsListRequest) SiteGroupN(siteGroupN []int32) ApiDcimPowerFeedsListRequest { +func (r ApiDcimPowerFeedsListRequest) SiteGroupN(siteGroupN []string) ApiDcimPowerFeedsListRequest { r.siteGroupN = &siteGroupN return r } -// Site group (ID) -func (r ApiDcimPowerFeedsListRequest) SiteGroupId(siteGroupId []int32) ApiDcimPowerFeedsListRequest { +func (r ApiDcimPowerFeedsListRequest) SiteGroupId(siteGroupId []string) ApiDcimPowerFeedsListRequest { r.siteGroupId = &siteGroupId return r } -// Site group (ID) -func (r ApiDcimPowerFeedsListRequest) SiteGroupIdN(siteGroupIdN []int32) ApiDcimPowerFeedsListRequest { +func (r ApiDcimPowerFeedsListRequest) SiteGroupIdN(siteGroupIdN []string) ApiDcimPowerFeedsListRequest { r.siteGroupIdN = &siteGroupIdN return r } @@ -71084,20 +75052,68 @@ func (r ApiDcimPowerFeedsListRequest) Status(status []string) ApiDcimPowerFeedsL return r } -func (r ApiDcimPowerFeedsListRequest) StatusN(statusN []string) ApiDcimPowerFeedsListRequest { +func (r ApiDcimPowerFeedsListRequest) StatusEmpty(statusEmpty bool) ApiDcimPowerFeedsListRequest { + r.statusEmpty = &statusEmpty + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `failed` - Failed +func (r ApiDcimPowerFeedsListRequest) StatusIc(statusIc []DcimPowerFeedsListStatusIcParameterInner) ApiDcimPowerFeedsListRequest { + r.statusIc = &statusIc + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `failed` - Failed +func (r ApiDcimPowerFeedsListRequest) StatusIe(statusIe []DcimPowerFeedsListStatusIcParameterInner) ApiDcimPowerFeedsListRequest { + r.statusIe = &statusIe + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `failed` - Failed +func (r ApiDcimPowerFeedsListRequest) StatusIew(statusIew []DcimPowerFeedsListStatusIcParameterInner) ApiDcimPowerFeedsListRequest { + r.statusIew = &statusIew + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `failed` - Failed +func (r ApiDcimPowerFeedsListRequest) StatusIsw(statusIsw []DcimPowerFeedsListStatusIcParameterInner) ApiDcimPowerFeedsListRequest { + r.statusIsw = &statusIsw + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `failed` - Failed +func (r ApiDcimPowerFeedsListRequest) StatusN(statusN []DcimPowerFeedsListStatusIcParameterInner) ApiDcimPowerFeedsListRequest { r.statusN = &statusN return r } -// * `ac` - AC * `dc` - DC -func (r ApiDcimPowerFeedsListRequest) Supply(supply DcimPowerFeedsListSupplyParameter) ApiDcimPowerFeedsListRequest { - r.supply = &supply +// * `offline` - Offline * `active` - Active * `planned` - Planned * `failed` - Failed +func (r ApiDcimPowerFeedsListRequest) StatusNic(statusNic []DcimPowerFeedsListStatusIcParameterInner) ApiDcimPowerFeedsListRequest { + r.statusNic = &statusNic + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `failed` - Failed +func (r ApiDcimPowerFeedsListRequest) StatusNie(statusNie []DcimPowerFeedsListStatusIcParameterInner) ApiDcimPowerFeedsListRequest { + r.statusNie = &statusNie + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `failed` - Failed +func (r ApiDcimPowerFeedsListRequest) StatusNiew(statusNiew []DcimPowerFeedsListStatusIcParameterInner) ApiDcimPowerFeedsListRequest { + r.statusNiew = &statusNiew + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `failed` - Failed +func (r ApiDcimPowerFeedsListRequest) StatusNisw(statusNisw []DcimPowerFeedsListStatusIcParameterInner) ApiDcimPowerFeedsListRequest { + r.statusNisw = &statusNisw return r } // * `ac` - AC * `dc` - DC -func (r ApiDcimPowerFeedsListRequest) SupplyN(supplyN DcimPowerFeedsListSupplyParameter) ApiDcimPowerFeedsListRequest { - r.supplyN = &supplyN +func (r ApiDcimPowerFeedsListRequest) Supply(supply DcimPowerFeedsListSupplyParameter) ApiDcimPowerFeedsListRequest { + r.supply = &supply return r } @@ -71123,26 +75139,22 @@ func (r ApiDcimPowerFeedsListRequest) TenantN(tenantN []string) ApiDcimPowerFeed return r } -// Tenant Group (slug) -func (r ApiDcimPowerFeedsListRequest) TenantGroup(tenantGroup []int32) ApiDcimPowerFeedsListRequest { +func (r ApiDcimPowerFeedsListRequest) TenantGroup(tenantGroup []string) ApiDcimPowerFeedsListRequest { r.tenantGroup = &tenantGroup return r } -// Tenant Group (slug) -func (r ApiDcimPowerFeedsListRequest) TenantGroupN(tenantGroupN []int32) ApiDcimPowerFeedsListRequest { +func (r ApiDcimPowerFeedsListRequest) TenantGroupN(tenantGroupN []string) ApiDcimPowerFeedsListRequest { r.tenantGroupN = &tenantGroupN return r } -// Tenant Group (ID) -func (r ApiDcimPowerFeedsListRequest) TenantGroupId(tenantGroupId []int32) ApiDcimPowerFeedsListRequest { +func (r ApiDcimPowerFeedsListRequest) TenantGroupId(tenantGroupId []string) ApiDcimPowerFeedsListRequest { r.tenantGroupId = &tenantGroupId return r } -// Tenant Group (ID) -func (r ApiDcimPowerFeedsListRequest) TenantGroupIdN(tenantGroupIdN []int32) ApiDcimPowerFeedsListRequest { +func (r ApiDcimPowerFeedsListRequest) TenantGroupIdN(tenantGroupIdN []string) ApiDcimPowerFeedsListRequest { r.tenantGroupIdN = &tenantGroupIdN return r } @@ -71165,12 +75177,6 @@ func (r ApiDcimPowerFeedsListRequest) Type_(type_ DcimPowerFeedsListTypeParamete return r } -// * `primary` - Primary * `redundant` - Redundant -func (r ApiDcimPowerFeedsListRequest) TypeN(typeN DcimPowerFeedsListTypeParameter) ApiDcimPowerFeedsListRequest { - r.typeN = &typeN - return r -} - func (r ApiDcimPowerFeedsListRequest) UpdatedByRequest(updatedByRequest string) ApiDcimPowerFeedsListRequest { r.updatedByRequest = &updatedByRequest return r @@ -71393,9 +75399,6 @@ func (a *DcimAPIService) DcimPowerFeedsListExecute(r ApiDcimPowerFeedsListReques if r.cableEnd != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "cable_end", r.cableEnd, "") } - if r.cableEndN != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "cable_end__n", r.cableEndN, "") - } if r.cableId != nil { t := *r.cableId if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -71966,9 +75969,6 @@ func (a *DcimAPIService) DcimPowerFeedsListExecute(r ApiDcimPowerFeedsListReques if r.phase != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "phase", r.phase, "") } - if r.phaseN != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "phase__n", r.phaseN, "") - } if r.powerPanelId != nil { t := *r.powerPanelId if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -72159,6 +76159,53 @@ func (a *DcimAPIService) DcimPowerFeedsListExecute(r ApiDcimPowerFeedsListReques parameterAddToHeaderOrQuery(localVarQueryParams, "status", t, "multi") } } + if r.statusEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__empty", r.statusEmpty, "") + } + if r.statusIc != nil { + t := *r.statusIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ic", t, "multi") + } + } + if r.statusIe != nil { + t := *r.statusIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ie", t, "multi") + } + } + if r.statusIew != nil { + t := *r.statusIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__iew", t, "multi") + } + } + if r.statusIsw != nil { + t := *r.statusIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__isw", t, "multi") + } + } if r.statusN != nil { t := *r.statusN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -72170,12 +76217,53 @@ func (a *DcimAPIService) DcimPowerFeedsListExecute(r ApiDcimPowerFeedsListReques parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", t, "multi") } } + if r.statusNic != nil { + t := *r.statusNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nic", t, "multi") + } + } + if r.statusNie != nil { + t := *r.statusNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nie", t, "multi") + } + } + if r.statusNiew != nil { + t := *r.statusNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__niew", t, "multi") + } + } + if r.statusNisw != nil { + t := *r.statusNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nisw", t, "multi") + } + } if r.supply != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "supply", r.supply, "") } - if r.supplyN != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "supply__n", r.supplyN, "") - } if r.tag != nil { t := *r.tag if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -72289,9 +76377,6 @@ func (a *DcimAPIService) DcimPowerFeedsListExecute(r ApiDcimPowerFeedsListReques if r.type_ != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "type", r.type_, "") } - if r.typeN != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "type__n", r.typeN, "") - } if r.updatedByRequest != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "updated_by_request", r.updatedByRequest, "") } @@ -73541,10 +77626,17 @@ type ApiDcimPowerOutletTemplatesListRequest struct { descriptionNisw *[]string deviceTypeId *[]*int32 deviceTypeIdN *[]*int32 - devicetypeId *[]*int32 - devicetypeIdN *[]*int32 feedLeg *[]string - feedLegN *[]string + feedLegEmpty *bool + feedLegIc *[]DcimPowerOutletTemplatesListFeedLegIcParameterInner + feedLegIe *[]DcimPowerOutletTemplatesListFeedLegIcParameterInner + feedLegIew *[]DcimPowerOutletTemplatesListFeedLegIcParameterInner + feedLegIsw *[]DcimPowerOutletTemplatesListFeedLegIcParameterInner + feedLegN *[]DcimPowerOutletTemplatesListFeedLegIcParameterInner + feedLegNic *[]DcimPowerOutletTemplatesListFeedLegIcParameterInner + feedLegNie *[]DcimPowerOutletTemplatesListFeedLegIcParameterInner + feedLegNiew *[]DcimPowerOutletTemplatesListFeedLegIcParameterInner + feedLegNisw *[]DcimPowerOutletTemplatesListFeedLegIcParameterInner id *[]int32 idEmpty *bool idGt *[]int32 @@ -73574,8 +77666,6 @@ type ApiDcimPowerOutletTemplatesListRequest struct { modifiedByRequest *string moduleTypeId *[]*int32 moduleTypeIdN *[]*int32 - moduletypeId *[]*int32 - moduletypeIdN *[]*int32 name *[]string nameEmpty *bool nameIc *[]string @@ -73593,7 +77683,6 @@ type ApiDcimPowerOutletTemplatesListRequest struct { powerPortIdN *[]*int32 q *string type_ *DcimPowerOutletTemplatesListTypeParameter - typeN *DcimPowerOutletTemplatesListTypeParameter updatedByRequest *string } @@ -73704,30 +77793,71 @@ func (r ApiDcimPowerOutletTemplatesListRequest) DeviceTypeIdN(deviceTypeIdN []*i return r } -// Device type (ID) -func (r ApiDcimPowerOutletTemplatesListRequest) DevicetypeId(devicetypeId []*int32) ApiDcimPowerOutletTemplatesListRequest { - r.devicetypeId = &devicetypeId +// Phase (for three-phase feeds) +func (r ApiDcimPowerOutletTemplatesListRequest) FeedLeg(feedLeg []string) ApiDcimPowerOutletTemplatesListRequest { + r.feedLeg = &feedLeg return r } -// Device type (ID) -func (r ApiDcimPowerOutletTemplatesListRequest) DevicetypeIdN(devicetypeIdN []*int32) ApiDcimPowerOutletTemplatesListRequest { - r.devicetypeIdN = &devicetypeIdN +func (r ApiDcimPowerOutletTemplatesListRequest) FeedLegEmpty(feedLegEmpty bool) ApiDcimPowerOutletTemplatesListRequest { + r.feedLegEmpty = &feedLegEmpty return r } -// Phase (for three-phase feeds) -func (r ApiDcimPowerOutletTemplatesListRequest) FeedLeg(feedLeg []string) ApiDcimPowerOutletTemplatesListRequest { - r.feedLeg = &feedLeg +// Phase (for three-phase feeds) * `A` - A * `B` - B * `C` - C +func (r ApiDcimPowerOutletTemplatesListRequest) FeedLegIc(feedLegIc []DcimPowerOutletTemplatesListFeedLegIcParameterInner) ApiDcimPowerOutletTemplatesListRequest { + r.feedLegIc = &feedLegIc return r } -// Phase (for three-phase feeds) -func (r ApiDcimPowerOutletTemplatesListRequest) FeedLegN(feedLegN []string) ApiDcimPowerOutletTemplatesListRequest { +// Phase (for three-phase feeds) * `A` - A * `B` - B * `C` - C +func (r ApiDcimPowerOutletTemplatesListRequest) FeedLegIe(feedLegIe []DcimPowerOutletTemplatesListFeedLegIcParameterInner) ApiDcimPowerOutletTemplatesListRequest { + r.feedLegIe = &feedLegIe + return r +} + +// Phase (for three-phase feeds) * `A` - A * `B` - B * `C` - C +func (r ApiDcimPowerOutletTemplatesListRequest) FeedLegIew(feedLegIew []DcimPowerOutletTemplatesListFeedLegIcParameterInner) ApiDcimPowerOutletTemplatesListRequest { + r.feedLegIew = &feedLegIew + return r +} + +// Phase (for three-phase feeds) * `A` - A * `B` - B * `C` - C +func (r ApiDcimPowerOutletTemplatesListRequest) FeedLegIsw(feedLegIsw []DcimPowerOutletTemplatesListFeedLegIcParameterInner) ApiDcimPowerOutletTemplatesListRequest { + r.feedLegIsw = &feedLegIsw + return r +} + +// Phase (for three-phase feeds) * `A` - A * `B` - B * `C` - C +func (r ApiDcimPowerOutletTemplatesListRequest) FeedLegN(feedLegN []DcimPowerOutletTemplatesListFeedLegIcParameterInner) ApiDcimPowerOutletTemplatesListRequest { r.feedLegN = &feedLegN return r } +// Phase (for three-phase feeds) * `A` - A * `B` - B * `C` - C +func (r ApiDcimPowerOutletTemplatesListRequest) FeedLegNic(feedLegNic []DcimPowerOutletTemplatesListFeedLegIcParameterInner) ApiDcimPowerOutletTemplatesListRequest { + r.feedLegNic = &feedLegNic + return r +} + +// Phase (for three-phase feeds) * `A` - A * `B` - B * `C` - C +func (r ApiDcimPowerOutletTemplatesListRequest) FeedLegNie(feedLegNie []DcimPowerOutletTemplatesListFeedLegIcParameterInner) ApiDcimPowerOutletTemplatesListRequest { + r.feedLegNie = &feedLegNie + return r +} + +// Phase (for three-phase feeds) * `A` - A * `B` - B * `C` - C +func (r ApiDcimPowerOutletTemplatesListRequest) FeedLegNiew(feedLegNiew []DcimPowerOutletTemplatesListFeedLegIcParameterInner) ApiDcimPowerOutletTemplatesListRequest { + r.feedLegNiew = &feedLegNiew + return r +} + +// Phase (for three-phase feeds) * `A` - A * `B` - B * `C` - C +func (r ApiDcimPowerOutletTemplatesListRequest) FeedLegNisw(feedLegNisw []DcimPowerOutletTemplatesListFeedLegIcParameterInner) ApiDcimPowerOutletTemplatesListRequest { + r.feedLegNisw = &feedLegNisw + return r +} + func (r ApiDcimPowerOutletTemplatesListRequest) Id(id []int32) ApiDcimPowerOutletTemplatesListRequest { r.id = &id return r @@ -73876,18 +78006,6 @@ func (r ApiDcimPowerOutletTemplatesListRequest) ModuleTypeIdN(moduleTypeIdN []*i return r } -// Module type (ID) -func (r ApiDcimPowerOutletTemplatesListRequest) ModuletypeId(moduletypeId []*int32) ApiDcimPowerOutletTemplatesListRequest { - r.moduletypeId = &moduletypeId - return r -} - -// Module type (ID) -func (r ApiDcimPowerOutletTemplatesListRequest) ModuletypeIdN(moduletypeIdN []*int32) ApiDcimPowerOutletTemplatesListRequest { - r.moduletypeIdN = &moduletypeIdN - return r -} - func (r ApiDcimPowerOutletTemplatesListRequest) Name(name []string) ApiDcimPowerOutletTemplatesListRequest { r.name = &name return r @@ -73973,18 +78091,12 @@ func (r ApiDcimPowerOutletTemplatesListRequest) Q(q string) ApiDcimPowerOutletTe return r } -// * `IEC 60320` - [('iec-60320-c5', 'C5'), ('iec-60320-c7', 'C7'), ('iec-60320-c13', 'C13'), ('iec-60320-c15', 'C15'), ('iec-60320-c19', 'C19'), ('iec-60320-c21', 'C21')] * `IEC 60309` - [('iec-60309-p-n-e-4h', 'P+N+E 4H'), ('iec-60309-p-n-e-6h', 'P+N+E 6H'), ('iec-60309-p-n-e-9h', 'P+N+E 9H'), ('iec-60309-2p-e-4h', '2P+E 4H'), ('iec-60309-2p-e-6h', '2P+E 6H'), ('iec-60309-2p-e-9h', '2P+E 9H'), ('iec-60309-3p-e-4h', '3P+E 4H'), ('iec-60309-3p-e-6h', '3P+E 6H'), ('iec-60309-3p-e-9h', '3P+E 9H'), ('iec-60309-3p-n-e-4h', '3P+N+E 4H'), ('iec-60309-3p-n-e-6h', '3P+N+E 6H'), ('iec-60309-3p-n-e-9h', '3P+N+E 9H')] * `IEC 60906-1` - [('iec-60906-1', 'IEC 60906-1'), ('nbr-14136-10a', '2P+T 10A (NBR 14136)'), ('nbr-14136-20a', '2P+T 20A (NBR 14136)')] * `NEMA (Non-locking)` - [('nema-1-15r', 'NEMA 1-15R'), ('nema-5-15r', 'NEMA 5-15R'), ('nema-5-20r', 'NEMA 5-20R'), ('nema-5-30r', 'NEMA 5-30R'), ('nema-5-50r', 'NEMA 5-50R'), ('nema-6-15r', 'NEMA 6-15R'), ('nema-6-20r', 'NEMA 6-20R'), ('nema-6-30r', 'NEMA 6-30R'), ('nema-6-50r', 'NEMA 6-50R'), ('nema-10-30r', 'NEMA 10-30R'), ('nema-10-50r', 'NEMA 10-50R'), ('nema-14-20r', 'NEMA 14-20R'), ('nema-14-30r', 'NEMA 14-30R'), ('nema-14-50r', 'NEMA 14-50R'), ('nema-14-60r', 'NEMA 14-60R'), ('nema-15-15r', 'NEMA 15-15R'), ('nema-15-20r', 'NEMA 15-20R'), ('nema-15-30r', 'NEMA 15-30R'), ('nema-15-50r', 'NEMA 15-50R'), ('nema-15-60r', 'NEMA 15-60R')] * `NEMA (Locking)` - [('nema-l1-15r', 'NEMA L1-15R'), ('nema-l5-15r', 'NEMA L5-15R'), ('nema-l5-20r', 'NEMA L5-20R'), ('nema-l5-30r', 'NEMA L5-30R'), ('nema-l5-50r', 'NEMA L5-50R'), ('nema-l6-15r', 'NEMA L6-15R'), ('nema-l6-20r', 'NEMA L6-20R'), ('nema-l6-30r', 'NEMA L6-30R'), ('nema-l6-50r', 'NEMA L6-50R'), ('nema-l10-30r', 'NEMA L10-30R'), ('nema-l14-20r', 'NEMA L14-20R'), ('nema-l14-30r', 'NEMA L14-30R'), ('nema-l14-50r', 'NEMA L14-50R'), ('nema-l14-60r', 'NEMA L14-60R'), ('nema-l15-20r', 'NEMA L15-20R'), ('nema-l15-30r', 'NEMA L15-30R'), ('nema-l15-50r', 'NEMA L15-50R'), ('nema-l15-60r', 'NEMA L15-60R'), ('nema-l21-20r', 'NEMA L21-20R'), ('nema-l21-30r', 'NEMA L21-30R'), ('nema-l22-30r', 'NEMA L22-30R')] * `California Style` - [('CS6360C', 'CS6360C'), ('CS6364C', 'CS6364C'), ('CS8164C', 'CS8164C'), ('CS8264C', 'CS8264C'), ('CS8364C', 'CS8364C'), ('CS8464C', 'CS8464C')] * `ITA/International` - [('ita-e', 'ITA Type E (CEE 7/5)'), ('ita-f', 'ITA Type F (CEE 7/3)'), ('ita-g', 'ITA Type G (BS 1363)'), ('ita-h', 'ITA Type H'), ('ita-i', 'ITA Type I'), ('ita-j', 'ITA Type J'), ('ita-k', 'ITA Type K'), ('ita-l', 'ITA Type L (CEI 23-50)'), ('ita-m', 'ITA Type M (BS 546)'), ('ita-n', 'ITA Type N'), ('ita-o', 'ITA Type O'), ('ita-multistandard', 'ITA Multistandard')] * `USB` - [('usb-a', 'USB Type A'), ('usb-micro-b', 'USB Micro B'), ('usb-c', 'USB Type C')] * `Molex` - [('molex-micro-fit-1x2', 'Molex Micro-Fit 1x2'), ('molex-micro-fit-2x2', 'Molex Micro-Fit 2x2'), ('molex-micro-fit-2x4', 'Molex Micro-Fit 2x4')] * `DC` - [('dc-terminal', 'DC Terminal')] * `Proprietary` - [('hdot-cx', 'HDOT Cx'), ('saf-d-grid', 'Saf-D-Grid'), ('neutrik-powercon-20a', 'Neutrik powerCON (20A)'), ('neutrik-powercon-32a', 'Neutrik powerCON (32A)'), ('neutrik-powercon-true1', 'Neutrik powerCON TRUE1'), ('neutrik-powercon-true1-top', 'Neutrik powerCON TRUE1 TOP'), ('ubiquiti-smartpower', 'Ubiquiti SmartPower')] * `Other` - [('hardwired', 'Hardwired'), ('other', 'Other')] +// * `IEC 60320` - [('iec-60320-c5', 'C5'), ('iec-60320-c7', 'C7'), ('iec-60320-c13', 'C13'), ('iec-60320-c15', 'C15'), ('iec-60320-c19', 'C19'), ('iec-60320-c21', 'C21')] * `IEC 60309` - [('iec-60309-p-n-e-4h', 'P+N+E 4H'), ('iec-60309-p-n-e-6h', 'P+N+E 6H'), ('iec-60309-p-n-e-9h', 'P+N+E 9H'), ('iec-60309-2p-e-4h', '2P+E 4H'), ('iec-60309-2p-e-6h', '2P+E 6H'), ('iec-60309-2p-e-9h', '2P+E 9H'), ('iec-60309-3p-e-4h', '3P+E 4H'), ('iec-60309-3p-e-6h', '3P+E 6H'), ('iec-60309-3p-e-9h', '3P+E 9H'), ('iec-60309-3p-n-e-4h', '3P+N+E 4H'), ('iec-60309-3p-n-e-6h', '3P+N+E 6H'), ('iec-60309-3p-n-e-9h', '3P+N+E 9H')] * `IEC 60906-1` - [('iec-60906-1', 'IEC 60906-1'), ('nbr-14136-10a', '2P+T 10A (NBR 14136)'), ('nbr-14136-20a', '2P+T 20A (NBR 14136)')] * `NEMA (Non-locking)` - [('nema-1-15r', 'NEMA 1-15R'), ('nema-5-15r', 'NEMA 5-15R'), ('nema-5-20r', 'NEMA 5-20R'), ('nema-5-30r', 'NEMA 5-30R'), ('nema-5-50r', 'NEMA 5-50R'), ('nema-6-15r', 'NEMA 6-15R'), ('nema-6-20r', 'NEMA 6-20R'), ('nema-6-30r', 'NEMA 6-30R'), ('nema-6-50r', 'NEMA 6-50R'), ('nema-10-30r', 'NEMA 10-30R'), ('nema-10-50r', 'NEMA 10-50R'), ('nema-14-20r', 'NEMA 14-20R'), ('nema-14-30r', 'NEMA 14-30R'), ('nema-14-50r', 'NEMA 14-50R'), ('nema-14-60r', 'NEMA 14-60R'), ('nema-15-15r', 'NEMA 15-15R'), ('nema-15-20r', 'NEMA 15-20R'), ('nema-15-30r', 'NEMA 15-30R'), ('nema-15-50r', 'NEMA 15-50R'), ('nema-15-60r', 'NEMA 15-60R')] * `NEMA (Locking)` - [('nema-l1-15r', 'NEMA L1-15R'), ('nema-l5-15r', 'NEMA L5-15R'), ('nema-l5-20r', 'NEMA L5-20R'), ('nema-l5-30r', 'NEMA L5-30R'), ('nema-l5-50r', 'NEMA L5-50R'), ('nema-l6-15r', 'NEMA L6-15R'), ('nema-l6-20r', 'NEMA L6-20R'), ('nema-l6-30r', 'NEMA L6-30R'), ('nema-l6-50r', 'NEMA L6-50R'), ('nema-l10-30r', 'NEMA L10-30R'), ('nema-l14-20r', 'NEMA L14-20R'), ('nema-l14-30r', 'NEMA L14-30R'), ('nema-l14-50r', 'NEMA L14-50R'), ('nema-l14-60r', 'NEMA L14-60R'), ('nema-l15-20r', 'NEMA L15-20R'), ('nema-l15-30r', 'NEMA L15-30R'), ('nema-l15-50r', 'NEMA L15-50R'), ('nema-l15-60r', 'NEMA L15-60R'), ('nema-l21-20r', 'NEMA L21-20R'), ('nema-l21-30r', 'NEMA L21-30R'), ('nema-l22-20r', 'NEMA L22-20R'), ('nema-l22-30r', 'NEMA L22-30R')] * `California Style` - [('CS6360C', 'CS6360C'), ('CS6364C', 'CS6364C'), ('CS8164C', 'CS8164C'), ('CS8264C', 'CS8264C'), ('CS8364C', 'CS8364C'), ('CS8464C', 'CS8464C')] * `ITA/International` - [('ita-e', 'ITA Type E (CEE 7/5)'), ('ita-f', 'ITA Type F (CEE 7/3)'), ('ita-g', 'ITA Type G (BS 1363)'), ('ita-h', 'ITA Type H'), ('ita-i', 'ITA Type I'), ('ita-j', 'ITA Type J'), ('ita-k', 'ITA Type K'), ('ita-l', 'ITA Type L (CEI 23-50)'), ('ita-m', 'ITA Type M (BS 546)'), ('ita-n', 'ITA Type N'), ('ita-o', 'ITA Type O'), ('ita-multistandard', 'ITA Multistandard')] * `USB` - [('usb-a', 'USB Type A'), ('usb-micro-b', 'USB Micro B'), ('usb-c', 'USB Type C')] * `Molex` - [('molex-micro-fit-1x2', 'Molex Micro-Fit 1x2'), ('molex-micro-fit-2x2', 'Molex Micro-Fit 2x2'), ('molex-micro-fit-2x4', 'Molex Micro-Fit 2x4')] * `DC` - [('dc-terminal', 'DC Terminal')] * `Proprietary` - [('eaton-c39', 'Eaton C39'), ('hdot-cx', 'HDOT Cx'), ('saf-d-grid', 'Saf-D-Grid'), ('neutrik-powercon-20a', 'Neutrik powerCON (20A)'), ('neutrik-powercon-32a', 'Neutrik powerCON (32A)'), ('neutrik-powercon-true1', 'Neutrik powerCON TRUE1'), ('neutrik-powercon-true1-top', 'Neutrik powerCON TRUE1 TOP'), ('ubiquiti-smartpower', 'Ubiquiti SmartPower')] * `Other` - [('hardwired', 'Hardwired'), ('other', 'Other')] func (r ApiDcimPowerOutletTemplatesListRequest) Type_(type_ DcimPowerOutletTemplatesListTypeParameter) ApiDcimPowerOutletTemplatesListRequest { r.type_ = &type_ return r } -// * `IEC 60320` - [('iec-60320-c5', 'C5'), ('iec-60320-c7', 'C7'), ('iec-60320-c13', 'C13'), ('iec-60320-c15', 'C15'), ('iec-60320-c19', 'C19'), ('iec-60320-c21', 'C21')] * `IEC 60309` - [('iec-60309-p-n-e-4h', 'P+N+E 4H'), ('iec-60309-p-n-e-6h', 'P+N+E 6H'), ('iec-60309-p-n-e-9h', 'P+N+E 9H'), ('iec-60309-2p-e-4h', '2P+E 4H'), ('iec-60309-2p-e-6h', '2P+E 6H'), ('iec-60309-2p-e-9h', '2P+E 9H'), ('iec-60309-3p-e-4h', '3P+E 4H'), ('iec-60309-3p-e-6h', '3P+E 6H'), ('iec-60309-3p-e-9h', '3P+E 9H'), ('iec-60309-3p-n-e-4h', '3P+N+E 4H'), ('iec-60309-3p-n-e-6h', '3P+N+E 6H'), ('iec-60309-3p-n-e-9h', '3P+N+E 9H')] * `IEC 60906-1` - [('iec-60906-1', 'IEC 60906-1'), ('nbr-14136-10a', '2P+T 10A (NBR 14136)'), ('nbr-14136-20a', '2P+T 20A (NBR 14136)')] * `NEMA (Non-locking)` - [('nema-1-15r', 'NEMA 1-15R'), ('nema-5-15r', 'NEMA 5-15R'), ('nema-5-20r', 'NEMA 5-20R'), ('nema-5-30r', 'NEMA 5-30R'), ('nema-5-50r', 'NEMA 5-50R'), ('nema-6-15r', 'NEMA 6-15R'), ('nema-6-20r', 'NEMA 6-20R'), ('nema-6-30r', 'NEMA 6-30R'), ('nema-6-50r', 'NEMA 6-50R'), ('nema-10-30r', 'NEMA 10-30R'), ('nema-10-50r', 'NEMA 10-50R'), ('nema-14-20r', 'NEMA 14-20R'), ('nema-14-30r', 'NEMA 14-30R'), ('nema-14-50r', 'NEMA 14-50R'), ('nema-14-60r', 'NEMA 14-60R'), ('nema-15-15r', 'NEMA 15-15R'), ('nema-15-20r', 'NEMA 15-20R'), ('nema-15-30r', 'NEMA 15-30R'), ('nema-15-50r', 'NEMA 15-50R'), ('nema-15-60r', 'NEMA 15-60R')] * `NEMA (Locking)` - [('nema-l1-15r', 'NEMA L1-15R'), ('nema-l5-15r', 'NEMA L5-15R'), ('nema-l5-20r', 'NEMA L5-20R'), ('nema-l5-30r', 'NEMA L5-30R'), ('nema-l5-50r', 'NEMA L5-50R'), ('nema-l6-15r', 'NEMA L6-15R'), ('nema-l6-20r', 'NEMA L6-20R'), ('nema-l6-30r', 'NEMA L6-30R'), ('nema-l6-50r', 'NEMA L6-50R'), ('nema-l10-30r', 'NEMA L10-30R'), ('nema-l14-20r', 'NEMA L14-20R'), ('nema-l14-30r', 'NEMA L14-30R'), ('nema-l14-50r', 'NEMA L14-50R'), ('nema-l14-60r', 'NEMA L14-60R'), ('nema-l15-20r', 'NEMA L15-20R'), ('nema-l15-30r', 'NEMA L15-30R'), ('nema-l15-50r', 'NEMA L15-50R'), ('nema-l15-60r', 'NEMA L15-60R'), ('nema-l21-20r', 'NEMA L21-20R'), ('nema-l21-30r', 'NEMA L21-30R'), ('nema-l22-30r', 'NEMA L22-30R')] * `California Style` - [('CS6360C', 'CS6360C'), ('CS6364C', 'CS6364C'), ('CS8164C', 'CS8164C'), ('CS8264C', 'CS8264C'), ('CS8364C', 'CS8364C'), ('CS8464C', 'CS8464C')] * `ITA/International` - [('ita-e', 'ITA Type E (CEE 7/5)'), ('ita-f', 'ITA Type F (CEE 7/3)'), ('ita-g', 'ITA Type G (BS 1363)'), ('ita-h', 'ITA Type H'), ('ita-i', 'ITA Type I'), ('ita-j', 'ITA Type J'), ('ita-k', 'ITA Type K'), ('ita-l', 'ITA Type L (CEI 23-50)'), ('ita-m', 'ITA Type M (BS 546)'), ('ita-n', 'ITA Type N'), ('ita-o', 'ITA Type O'), ('ita-multistandard', 'ITA Multistandard')] * `USB` - [('usb-a', 'USB Type A'), ('usb-micro-b', 'USB Micro B'), ('usb-c', 'USB Type C')] * `Molex` - [('molex-micro-fit-1x2', 'Molex Micro-Fit 1x2'), ('molex-micro-fit-2x2', 'Molex Micro-Fit 2x2'), ('molex-micro-fit-2x4', 'Molex Micro-Fit 2x4')] * `DC` - [('dc-terminal', 'DC Terminal')] * `Proprietary` - [('hdot-cx', 'HDOT Cx'), ('saf-d-grid', 'Saf-D-Grid'), ('neutrik-powercon-20a', 'Neutrik powerCON (20A)'), ('neutrik-powercon-32a', 'Neutrik powerCON (32A)'), ('neutrik-powercon-true1', 'Neutrik powerCON TRUE1'), ('neutrik-powercon-true1-top', 'Neutrik powerCON TRUE1 TOP'), ('ubiquiti-smartpower', 'Ubiquiti SmartPower')] * `Other` - [('hardwired', 'Hardwired'), ('other', 'Other')] -func (r ApiDcimPowerOutletTemplatesListRequest) TypeN(typeN DcimPowerOutletTemplatesListTypeParameter) ApiDcimPowerOutletTemplatesListRequest { - r.typeN = &typeN - return r -} - func (r ApiDcimPowerOutletTemplatesListRequest) UpdatedByRequest(updatedByRequest string) ApiDcimPowerOutletTemplatesListRequest { r.updatedByRequest = &updatedByRequest return r @@ -74246,37 +78358,62 @@ func (a *DcimAPIService) DcimPowerOutletTemplatesListExecute(r ApiDcimPowerOutle parameterAddToHeaderOrQuery(localVarQueryParams, "device_type_id__n", t, "multi") } } - if r.devicetypeId != nil { - t := *r.devicetypeId + 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, "devicetype_id", s.Index(i).Interface(), "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg", s.Index(i).Interface(), "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "devicetype_id", t, "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg", t, "multi") } } - if r.devicetypeIdN != nil { - t := *r.devicetypeIdN + if r.feedLegEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__empty", r.feedLegEmpty, "") + } + 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, "devicetype_id__n", s.Index(i).Interface(), "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__ic", s.Index(i).Interface(), "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "devicetype_id__n", t, "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__ic", t, "multi") } } - if r.feedLeg != nil { - t := *r.feedLeg + 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, "feed_leg", s.Index(i).Interface(), "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__ie", s.Index(i).Interface(), "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg", t, "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__ie", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__iew", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__isw", t, "multi") } } if r.feedLegN != nil { @@ -74290,6 +78427,50 @@ func (a *DcimAPIService) DcimPowerOutletTemplatesListExecute(r ApiDcimPowerOutle parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__n", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__nic", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__nie", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__niew", t, "multi") + } + } + 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, "feed_leg__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__nisw", t, "multi") + } + } if r.id != nil { t := *r.id if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -74577,28 +78758,6 @@ func (a *DcimAPIService) DcimPowerOutletTemplatesListExecute(r ApiDcimPowerOutle parameterAddToHeaderOrQuery(localVarQueryParams, "module_type_id__n", t, "multi") } } - if r.moduletypeId != nil { - t := *r.moduletypeId - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "moduletype_id", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "moduletype_id", t, "multi") - } - } - if r.moduletypeIdN != nil { - t := *r.moduletypeIdN - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "moduletype_id__n", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "moduletype_id__n", t, "multi") - } - } if r.name != nil { t := *r.name if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -74746,9 +78905,6 @@ func (a *DcimAPIService) DcimPowerOutletTemplatesListExecute(r ApiDcimPowerOutle if r.type_ != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "type", r.type_, "") } - if r.typeN != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "type__n", r.typeN, "") - } if r.updatedByRequest != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "updated_by_request", r.updatedByRequest, "") } @@ -75791,7 +79947,6 @@ type ApiDcimPowerOutletsListRequest struct { ctx context.Context ApiService *DcimAPIService cableEnd *CircuitsCircuitTerminationsListCableEndParameter - cableEndN *CircuitsCircuitTerminationsListCableEndParameter cableId *[]*int32 cableIdN *[]*int32 cabled *bool @@ -75819,12 +79974,36 @@ type ApiDcimPowerOutletsListRequest struct { deviceN *[]*string deviceId *[]int32 deviceIdN *[]int32 + deviceRole *[]string + deviceRoleN *[]string + deviceRoleId *[]int32 + deviceRoleIdN *[]int32 + deviceStatus *[]string + deviceStatusEmpty *bool + deviceStatusIc *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusIe *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusIew *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusIsw *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusN *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusNic *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusNie *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusNiew *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusNisw *[]DcimConsolePortsListDeviceStatusIcParameterInner deviceType *[]string deviceTypeN *[]string deviceTypeId *[]int32 deviceTypeIdN *[]int32 feedLeg *[]string - feedLegN *[]string + feedLegEmpty *bool + feedLegIc *[]DcimPowerOutletTemplatesListFeedLegIcParameterInner + feedLegIe *[]DcimPowerOutletTemplatesListFeedLegIcParameterInner + feedLegIew *[]DcimPowerOutletTemplatesListFeedLegIcParameterInner + feedLegIsw *[]DcimPowerOutletTemplatesListFeedLegIcParameterInner + feedLegN *[]DcimPowerOutletTemplatesListFeedLegIcParameterInner + feedLegNic *[]DcimPowerOutletTemplatesListFeedLegIcParameterInner + feedLegNie *[]DcimPowerOutletTemplatesListFeedLegIcParameterInner + feedLegNiew *[]DcimPowerOutletTemplatesListFeedLegIcParameterInner + feedLegNisw *[]DcimPowerOutletTemplatesListFeedLegIcParameterInner id *[]int32 idEmpty *bool idGt *[]int32 @@ -75880,26 +80059,31 @@ type ApiDcimPowerOutletsListRequest struct { rackN *[]string rackId *[]int32 rackIdN *[]int32 - region *[]int32 - regionN *[]int32 - regionId *[]int32 - regionIdN *[]int32 - role *[]string - roleN *[]string - roleId *[]int32 - roleIdN *[]int32 + region *[]string + regionN *[]string + regionId *[]string + regionIdN *[]string site *[]string siteN *[]string - siteGroup *[]int32 - siteGroupN *[]int32 - siteGroupId *[]int32 - siteGroupIdN *[]int32 + siteGroup *[]string + siteGroupN *[]string + siteGroupId *[]string + siteGroupIdN *[]string siteId *[]int32 siteIdN *[]int32 tag *[]string tagN *[]string type_ *[]string - typeN *[]string + typeEmpty *bool + typeIc *[]DcimPowerOutletsListTypeIcParameterInner + typeIe *[]DcimPowerOutletsListTypeIcParameterInner + typeIew *[]DcimPowerOutletsListTypeIcParameterInner + typeIsw *[]DcimPowerOutletsListTypeIcParameterInner + typeN *[]DcimPowerOutletsListTypeIcParameterInner + typeNic *[]DcimPowerOutletsListTypeIcParameterInner + typeNie *[]DcimPowerOutletsListTypeIcParameterInner + typeNiew *[]DcimPowerOutletsListTypeIcParameterInner + typeNisw *[]DcimPowerOutletsListTypeIcParameterInner updatedByRequest *string virtualChassis *[]string virtualChassisN *[]string @@ -75913,12 +80097,6 @@ func (r ApiDcimPowerOutletsListRequest) CableEnd(cableEnd CircuitsCircuitTermina return r } -// * `A` - A * `B` - B -func (r ApiDcimPowerOutletsListRequest) CableEndN(cableEndN CircuitsCircuitTerminationsListCableEndParameter) ApiDcimPowerOutletsListRequest { - r.cableEndN = &cableEndN - return r -} - // Cable (ID) func (r ApiDcimPowerOutletsListRequest) CableId(cableId []*int32) ApiDcimPowerOutletsListRequest { r.cableId = &cableId @@ -76060,6 +80238,94 @@ func (r ApiDcimPowerOutletsListRequest) DeviceIdN(deviceIdN []int32) ApiDcimPowe return r } +// Device role (slug) +func (r ApiDcimPowerOutletsListRequest) DeviceRole(deviceRole []string) ApiDcimPowerOutletsListRequest { + r.deviceRole = &deviceRole + return r +} + +// Device role (slug) +func (r ApiDcimPowerOutletsListRequest) DeviceRoleN(deviceRoleN []string) ApiDcimPowerOutletsListRequest { + r.deviceRoleN = &deviceRoleN + return r +} + +// Device role (ID) +func (r ApiDcimPowerOutletsListRequest) DeviceRoleId(deviceRoleId []int32) ApiDcimPowerOutletsListRequest { + r.deviceRoleId = &deviceRoleId + return r +} + +// Device role (ID) +func (r ApiDcimPowerOutletsListRequest) DeviceRoleIdN(deviceRoleIdN []int32) ApiDcimPowerOutletsListRequest { + r.deviceRoleIdN = &deviceRoleIdN + return r +} + +func (r ApiDcimPowerOutletsListRequest) DeviceStatus(deviceStatus []string) ApiDcimPowerOutletsListRequest { + r.deviceStatus = &deviceStatus + return r +} + +func (r ApiDcimPowerOutletsListRequest) DeviceStatusEmpty(deviceStatusEmpty bool) ApiDcimPowerOutletsListRequest { + r.deviceStatusEmpty = &deviceStatusEmpty + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimPowerOutletsListRequest) DeviceStatusIc(deviceStatusIc []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimPowerOutletsListRequest { + r.deviceStatusIc = &deviceStatusIc + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimPowerOutletsListRequest) DeviceStatusIe(deviceStatusIe []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimPowerOutletsListRequest { + r.deviceStatusIe = &deviceStatusIe + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimPowerOutletsListRequest) DeviceStatusIew(deviceStatusIew []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimPowerOutletsListRequest { + r.deviceStatusIew = &deviceStatusIew + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimPowerOutletsListRequest) DeviceStatusIsw(deviceStatusIsw []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimPowerOutletsListRequest { + r.deviceStatusIsw = &deviceStatusIsw + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimPowerOutletsListRequest) DeviceStatusN(deviceStatusN []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimPowerOutletsListRequest { + r.deviceStatusN = &deviceStatusN + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimPowerOutletsListRequest) DeviceStatusNic(deviceStatusNic []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimPowerOutletsListRequest { + r.deviceStatusNic = &deviceStatusNic + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimPowerOutletsListRequest) DeviceStatusNie(deviceStatusNie []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimPowerOutletsListRequest { + r.deviceStatusNie = &deviceStatusNie + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimPowerOutletsListRequest) DeviceStatusNiew(deviceStatusNiew []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimPowerOutletsListRequest { + r.deviceStatusNiew = &deviceStatusNiew + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimPowerOutletsListRequest) DeviceStatusNisw(deviceStatusNisw []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimPowerOutletsListRequest { + r.deviceStatusNisw = &deviceStatusNisw + return r +} + // Device type (model) func (r ApiDcimPowerOutletsListRequest) DeviceType(deviceType []string) ApiDcimPowerOutletsListRequest { r.deviceType = &deviceType @@ -76090,12 +80356,65 @@ func (r ApiDcimPowerOutletsListRequest) FeedLeg(feedLeg []string) ApiDcimPowerOu return r } -// Phase (for three-phase feeds) -func (r ApiDcimPowerOutletsListRequest) FeedLegN(feedLegN []string) ApiDcimPowerOutletsListRequest { +func (r ApiDcimPowerOutletsListRequest) FeedLegEmpty(feedLegEmpty bool) ApiDcimPowerOutletsListRequest { + r.feedLegEmpty = &feedLegEmpty + return r +} + +// Phase (for three-phase feeds) * `A` - A * `B` - B * `C` - C +func (r ApiDcimPowerOutletsListRequest) FeedLegIc(feedLegIc []DcimPowerOutletTemplatesListFeedLegIcParameterInner) ApiDcimPowerOutletsListRequest { + r.feedLegIc = &feedLegIc + return r +} + +// Phase (for three-phase feeds) * `A` - A * `B` - B * `C` - C +func (r ApiDcimPowerOutletsListRequest) FeedLegIe(feedLegIe []DcimPowerOutletTemplatesListFeedLegIcParameterInner) ApiDcimPowerOutletsListRequest { + r.feedLegIe = &feedLegIe + return r +} + +// Phase (for three-phase feeds) * `A` - A * `B` - B * `C` - C +func (r ApiDcimPowerOutletsListRequest) FeedLegIew(feedLegIew []DcimPowerOutletTemplatesListFeedLegIcParameterInner) ApiDcimPowerOutletsListRequest { + r.feedLegIew = &feedLegIew + return r +} + +// Phase (for three-phase feeds) * `A` - A * `B` - B * `C` - C +func (r ApiDcimPowerOutletsListRequest) FeedLegIsw(feedLegIsw []DcimPowerOutletTemplatesListFeedLegIcParameterInner) ApiDcimPowerOutletsListRequest { + r.feedLegIsw = &feedLegIsw + return r +} + +// Phase (for three-phase feeds) * `A` - A * `B` - B * `C` - C +func (r ApiDcimPowerOutletsListRequest) FeedLegN(feedLegN []DcimPowerOutletTemplatesListFeedLegIcParameterInner) ApiDcimPowerOutletsListRequest { r.feedLegN = &feedLegN return r } +// Phase (for three-phase feeds) * `A` - A * `B` - B * `C` - C +func (r ApiDcimPowerOutletsListRequest) FeedLegNic(feedLegNic []DcimPowerOutletTemplatesListFeedLegIcParameterInner) ApiDcimPowerOutletsListRequest { + r.feedLegNic = &feedLegNic + return r +} + +// Phase (for three-phase feeds) * `A` - A * `B` - B * `C` - C +func (r ApiDcimPowerOutletsListRequest) FeedLegNie(feedLegNie []DcimPowerOutletTemplatesListFeedLegIcParameterInner) ApiDcimPowerOutletsListRequest { + r.feedLegNie = &feedLegNie + return r +} + +// Phase (for three-phase feeds) * `A` - A * `B` - B * `C` - C +func (r ApiDcimPowerOutletsListRequest) FeedLegNiew(feedLegNiew []DcimPowerOutletTemplatesListFeedLegIcParameterInner) ApiDcimPowerOutletsListRequest { + r.feedLegNiew = &feedLegNiew + return r +} + +// Phase (for three-phase feeds) * `A` - A * `B` - B * `C` - C +func (r ApiDcimPowerOutletsListRequest) FeedLegNisw(feedLegNisw []DcimPowerOutletTemplatesListFeedLegIcParameterInner) ApiDcimPowerOutletsListRequest { + r.feedLegNisw = &feedLegNisw + return r +} + func (r ApiDcimPowerOutletsListRequest) Id(id []int32) ApiDcimPowerOutletsListRequest { r.id = &id return r @@ -76387,54 +80706,26 @@ func (r ApiDcimPowerOutletsListRequest) RackIdN(rackIdN []int32) ApiDcimPowerOut return r } -// Region (slug) -func (r ApiDcimPowerOutletsListRequest) Region(region []int32) ApiDcimPowerOutletsListRequest { +func (r ApiDcimPowerOutletsListRequest) Region(region []string) ApiDcimPowerOutletsListRequest { r.region = ®ion return r } -// Region (slug) -func (r ApiDcimPowerOutletsListRequest) RegionN(regionN []int32) ApiDcimPowerOutletsListRequest { +func (r ApiDcimPowerOutletsListRequest) RegionN(regionN []string) ApiDcimPowerOutletsListRequest { r.regionN = ®ionN return r } -// Region (ID) -func (r ApiDcimPowerOutletsListRequest) RegionId(regionId []int32) ApiDcimPowerOutletsListRequest { +func (r ApiDcimPowerOutletsListRequest) RegionId(regionId []string) ApiDcimPowerOutletsListRequest { r.regionId = ®ionId return r } -// Region (ID) -func (r ApiDcimPowerOutletsListRequest) RegionIdN(regionIdN []int32) ApiDcimPowerOutletsListRequest { +func (r ApiDcimPowerOutletsListRequest) RegionIdN(regionIdN []string) ApiDcimPowerOutletsListRequest { r.regionIdN = ®ionIdN return r } -// Device role (slug) -func (r ApiDcimPowerOutletsListRequest) Role(role []string) ApiDcimPowerOutletsListRequest { - r.role = &role - return r -} - -// Device role (slug) -func (r ApiDcimPowerOutletsListRequest) RoleN(roleN []string) ApiDcimPowerOutletsListRequest { - r.roleN = &roleN - return r -} - -// Device role (ID) -func (r ApiDcimPowerOutletsListRequest) RoleId(roleId []int32) ApiDcimPowerOutletsListRequest { - r.roleId = &roleId - return r -} - -// Device role (ID) -func (r ApiDcimPowerOutletsListRequest) RoleIdN(roleIdN []int32) ApiDcimPowerOutletsListRequest { - r.roleIdN = &roleIdN - return r -} - // Site name (slug) func (r ApiDcimPowerOutletsListRequest) Site(site []string) ApiDcimPowerOutletsListRequest { r.site = &site @@ -76447,26 +80738,22 @@ func (r ApiDcimPowerOutletsListRequest) SiteN(siteN []string) ApiDcimPowerOutlet return r } -// Site group (slug) -func (r ApiDcimPowerOutletsListRequest) SiteGroup(siteGroup []int32) ApiDcimPowerOutletsListRequest { +func (r ApiDcimPowerOutletsListRequest) SiteGroup(siteGroup []string) ApiDcimPowerOutletsListRequest { r.siteGroup = &siteGroup return r } -// Site group (slug) -func (r ApiDcimPowerOutletsListRequest) SiteGroupN(siteGroupN []int32) ApiDcimPowerOutletsListRequest { +func (r ApiDcimPowerOutletsListRequest) SiteGroupN(siteGroupN []string) ApiDcimPowerOutletsListRequest { r.siteGroupN = &siteGroupN return r } -// Site group (ID) -func (r ApiDcimPowerOutletsListRequest) SiteGroupId(siteGroupId []int32) ApiDcimPowerOutletsListRequest { +func (r ApiDcimPowerOutletsListRequest) SiteGroupId(siteGroupId []string) ApiDcimPowerOutletsListRequest { r.siteGroupId = &siteGroupId return r } -// Site group (ID) -func (r ApiDcimPowerOutletsListRequest) SiteGroupIdN(siteGroupIdN []int32) ApiDcimPowerOutletsListRequest { +func (r ApiDcimPowerOutletsListRequest) SiteGroupIdN(siteGroupIdN []string) ApiDcimPowerOutletsListRequest { r.siteGroupIdN = &siteGroupIdN return r } @@ -76499,12 +80786,65 @@ func (r ApiDcimPowerOutletsListRequest) Type_(type_ []string) ApiDcimPowerOutlet return r } -// Physical port type -func (r ApiDcimPowerOutletsListRequest) TypeN(typeN []string) ApiDcimPowerOutletsListRequest { +func (r ApiDcimPowerOutletsListRequest) TypeEmpty(typeEmpty bool) ApiDcimPowerOutletsListRequest { + r.typeEmpty = &typeEmpty + return r +} + +// Physical port type * `iec-60320-c5` - C5 * `iec-60320-c7` - C7 * `iec-60320-c13` - C13 * `iec-60320-c15` - C15 * `iec-60320-c19` - C19 * `iec-60320-c21` - C21 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15r` - NEMA 1-15R * `nema-5-15r` - NEMA 5-15R * `nema-5-20r` - NEMA 5-20R * `nema-5-30r` - NEMA 5-30R * `nema-5-50r` - NEMA 5-50R * `nema-6-15r` - NEMA 6-15R * `nema-6-20r` - NEMA 6-20R * `nema-6-30r` - NEMA 6-30R * `nema-6-50r` - NEMA 6-50R * `nema-10-30r` - NEMA 10-30R * `nema-10-50r` - NEMA 10-50R * `nema-14-20r` - NEMA 14-20R * `nema-14-30r` - NEMA 14-30R * `nema-14-50r` - NEMA 14-50R * `nema-14-60r` - NEMA 14-60R * `nema-15-15r` - NEMA 15-15R * `nema-15-20r` - NEMA 15-20R * `nema-15-30r` - NEMA 15-30R * `nema-15-50r` - NEMA 15-50R * `nema-15-60r` - NEMA 15-60R * `nema-l1-15r` - NEMA L1-15R * `nema-l5-15r` - NEMA L5-15R * `nema-l5-20r` - NEMA L5-20R * `nema-l5-30r` - NEMA L5-30R * `nema-l5-50r` - NEMA L5-50R * `nema-l6-15r` - NEMA L6-15R * `nema-l6-20r` - NEMA L6-20R * `nema-l6-30r` - NEMA L6-30R * `nema-l6-50r` - NEMA L6-50R * `nema-l10-30r` - NEMA L10-30R * `nema-l14-20r` - NEMA L14-20R * `nema-l14-30r` - NEMA L14-30R * `nema-l14-50r` - NEMA L14-50R * `nema-l14-60r` - NEMA L14-60R * `nema-l15-20r` - NEMA L15-20R * `nema-l15-30r` - NEMA L15-30R * `nema-l15-50r` - NEMA L15-50R * `nema-l15-60r` - NEMA L15-60R * `nema-l21-20r` - NEMA L21-20R * `nema-l21-30r` - NEMA L21-30R * `nema-l22-20r` - NEMA L22-20R * `nema-l22-30r` - NEMA L22-30R * `CS6360C` - CS6360C * `CS6364C` - CS6364C * `CS8164C` - CS8164C * `CS8264C` - CS8264C * `CS8364C` - CS8364C * `CS8464C` - CS8464C * `ita-e` - ITA Type E (CEE 7/5) * `ita-f` - ITA Type F (CEE 7/3) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `ita-multistandard` - ITA Multistandard * `usb-a` - USB Type A * `usb-micro-b` - USB Micro B * `usb-c` - USB Type C * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `eaton-c39` - Eaton C39 * `hdot-cx` - HDOT Cx * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20a` - Neutrik powerCON (20A) * `neutrik-powercon-32a` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other +func (r ApiDcimPowerOutletsListRequest) TypeIc(typeIc []DcimPowerOutletsListTypeIcParameterInner) ApiDcimPowerOutletsListRequest { + r.typeIc = &typeIc + return r +} + +// Physical port type * `iec-60320-c5` - C5 * `iec-60320-c7` - C7 * `iec-60320-c13` - C13 * `iec-60320-c15` - C15 * `iec-60320-c19` - C19 * `iec-60320-c21` - C21 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15r` - NEMA 1-15R * `nema-5-15r` - NEMA 5-15R * `nema-5-20r` - NEMA 5-20R * `nema-5-30r` - NEMA 5-30R * `nema-5-50r` - NEMA 5-50R * `nema-6-15r` - NEMA 6-15R * `nema-6-20r` - NEMA 6-20R * `nema-6-30r` - NEMA 6-30R * `nema-6-50r` - NEMA 6-50R * `nema-10-30r` - NEMA 10-30R * `nema-10-50r` - NEMA 10-50R * `nema-14-20r` - NEMA 14-20R * `nema-14-30r` - NEMA 14-30R * `nema-14-50r` - NEMA 14-50R * `nema-14-60r` - NEMA 14-60R * `nema-15-15r` - NEMA 15-15R * `nema-15-20r` - NEMA 15-20R * `nema-15-30r` - NEMA 15-30R * `nema-15-50r` - NEMA 15-50R * `nema-15-60r` - NEMA 15-60R * `nema-l1-15r` - NEMA L1-15R * `nema-l5-15r` - NEMA L5-15R * `nema-l5-20r` - NEMA L5-20R * `nema-l5-30r` - NEMA L5-30R * `nema-l5-50r` - NEMA L5-50R * `nema-l6-15r` - NEMA L6-15R * `nema-l6-20r` - NEMA L6-20R * `nema-l6-30r` - NEMA L6-30R * `nema-l6-50r` - NEMA L6-50R * `nema-l10-30r` - NEMA L10-30R * `nema-l14-20r` - NEMA L14-20R * `nema-l14-30r` - NEMA L14-30R * `nema-l14-50r` - NEMA L14-50R * `nema-l14-60r` - NEMA L14-60R * `nema-l15-20r` - NEMA L15-20R * `nema-l15-30r` - NEMA L15-30R * `nema-l15-50r` - NEMA L15-50R * `nema-l15-60r` - NEMA L15-60R * `nema-l21-20r` - NEMA L21-20R * `nema-l21-30r` - NEMA L21-30R * `nema-l22-20r` - NEMA L22-20R * `nema-l22-30r` - NEMA L22-30R * `CS6360C` - CS6360C * `CS6364C` - CS6364C * `CS8164C` - CS8164C * `CS8264C` - CS8264C * `CS8364C` - CS8364C * `CS8464C` - CS8464C * `ita-e` - ITA Type E (CEE 7/5) * `ita-f` - ITA Type F (CEE 7/3) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `ita-multistandard` - ITA Multistandard * `usb-a` - USB Type A * `usb-micro-b` - USB Micro B * `usb-c` - USB Type C * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `eaton-c39` - Eaton C39 * `hdot-cx` - HDOT Cx * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20a` - Neutrik powerCON (20A) * `neutrik-powercon-32a` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other +func (r ApiDcimPowerOutletsListRequest) TypeIe(typeIe []DcimPowerOutletsListTypeIcParameterInner) ApiDcimPowerOutletsListRequest { + r.typeIe = &typeIe + return r +} + +// Physical port type * `iec-60320-c5` - C5 * `iec-60320-c7` - C7 * `iec-60320-c13` - C13 * `iec-60320-c15` - C15 * `iec-60320-c19` - C19 * `iec-60320-c21` - C21 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15r` - NEMA 1-15R * `nema-5-15r` - NEMA 5-15R * `nema-5-20r` - NEMA 5-20R * `nema-5-30r` - NEMA 5-30R * `nema-5-50r` - NEMA 5-50R * `nema-6-15r` - NEMA 6-15R * `nema-6-20r` - NEMA 6-20R * `nema-6-30r` - NEMA 6-30R * `nema-6-50r` - NEMA 6-50R * `nema-10-30r` - NEMA 10-30R * `nema-10-50r` - NEMA 10-50R * `nema-14-20r` - NEMA 14-20R * `nema-14-30r` - NEMA 14-30R * `nema-14-50r` - NEMA 14-50R * `nema-14-60r` - NEMA 14-60R * `nema-15-15r` - NEMA 15-15R * `nema-15-20r` - NEMA 15-20R * `nema-15-30r` - NEMA 15-30R * `nema-15-50r` - NEMA 15-50R * `nema-15-60r` - NEMA 15-60R * `nema-l1-15r` - NEMA L1-15R * `nema-l5-15r` - NEMA L5-15R * `nema-l5-20r` - NEMA L5-20R * `nema-l5-30r` - NEMA L5-30R * `nema-l5-50r` - NEMA L5-50R * `nema-l6-15r` - NEMA L6-15R * `nema-l6-20r` - NEMA L6-20R * `nema-l6-30r` - NEMA L6-30R * `nema-l6-50r` - NEMA L6-50R * `nema-l10-30r` - NEMA L10-30R * `nema-l14-20r` - NEMA L14-20R * `nema-l14-30r` - NEMA L14-30R * `nema-l14-50r` - NEMA L14-50R * `nema-l14-60r` - NEMA L14-60R * `nema-l15-20r` - NEMA L15-20R * `nema-l15-30r` - NEMA L15-30R * `nema-l15-50r` - NEMA L15-50R * `nema-l15-60r` - NEMA L15-60R * `nema-l21-20r` - NEMA L21-20R * `nema-l21-30r` - NEMA L21-30R * `nema-l22-20r` - NEMA L22-20R * `nema-l22-30r` - NEMA L22-30R * `CS6360C` - CS6360C * `CS6364C` - CS6364C * `CS8164C` - CS8164C * `CS8264C` - CS8264C * `CS8364C` - CS8364C * `CS8464C` - CS8464C * `ita-e` - ITA Type E (CEE 7/5) * `ita-f` - ITA Type F (CEE 7/3) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `ita-multistandard` - ITA Multistandard * `usb-a` - USB Type A * `usb-micro-b` - USB Micro B * `usb-c` - USB Type C * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `eaton-c39` - Eaton C39 * `hdot-cx` - HDOT Cx * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20a` - Neutrik powerCON (20A) * `neutrik-powercon-32a` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other +func (r ApiDcimPowerOutletsListRequest) TypeIew(typeIew []DcimPowerOutletsListTypeIcParameterInner) ApiDcimPowerOutletsListRequest { + r.typeIew = &typeIew + return r +} + +// Physical port type * `iec-60320-c5` - C5 * `iec-60320-c7` - C7 * `iec-60320-c13` - C13 * `iec-60320-c15` - C15 * `iec-60320-c19` - C19 * `iec-60320-c21` - C21 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15r` - NEMA 1-15R * `nema-5-15r` - NEMA 5-15R * `nema-5-20r` - NEMA 5-20R * `nema-5-30r` - NEMA 5-30R * `nema-5-50r` - NEMA 5-50R * `nema-6-15r` - NEMA 6-15R * `nema-6-20r` - NEMA 6-20R * `nema-6-30r` - NEMA 6-30R * `nema-6-50r` - NEMA 6-50R * `nema-10-30r` - NEMA 10-30R * `nema-10-50r` - NEMA 10-50R * `nema-14-20r` - NEMA 14-20R * `nema-14-30r` - NEMA 14-30R * `nema-14-50r` - NEMA 14-50R * `nema-14-60r` - NEMA 14-60R * `nema-15-15r` - NEMA 15-15R * `nema-15-20r` - NEMA 15-20R * `nema-15-30r` - NEMA 15-30R * `nema-15-50r` - NEMA 15-50R * `nema-15-60r` - NEMA 15-60R * `nema-l1-15r` - NEMA L1-15R * `nema-l5-15r` - NEMA L5-15R * `nema-l5-20r` - NEMA L5-20R * `nema-l5-30r` - NEMA L5-30R * `nema-l5-50r` - NEMA L5-50R * `nema-l6-15r` - NEMA L6-15R * `nema-l6-20r` - NEMA L6-20R * `nema-l6-30r` - NEMA L6-30R * `nema-l6-50r` - NEMA L6-50R * `nema-l10-30r` - NEMA L10-30R * `nema-l14-20r` - NEMA L14-20R * `nema-l14-30r` - NEMA L14-30R * `nema-l14-50r` - NEMA L14-50R * `nema-l14-60r` - NEMA L14-60R * `nema-l15-20r` - NEMA L15-20R * `nema-l15-30r` - NEMA L15-30R * `nema-l15-50r` - NEMA L15-50R * `nema-l15-60r` - NEMA L15-60R * `nema-l21-20r` - NEMA L21-20R * `nema-l21-30r` - NEMA L21-30R * `nema-l22-20r` - NEMA L22-20R * `nema-l22-30r` - NEMA L22-30R * `CS6360C` - CS6360C * `CS6364C` - CS6364C * `CS8164C` - CS8164C * `CS8264C` - CS8264C * `CS8364C` - CS8364C * `CS8464C` - CS8464C * `ita-e` - ITA Type E (CEE 7/5) * `ita-f` - ITA Type F (CEE 7/3) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `ita-multistandard` - ITA Multistandard * `usb-a` - USB Type A * `usb-micro-b` - USB Micro B * `usb-c` - USB Type C * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `eaton-c39` - Eaton C39 * `hdot-cx` - HDOT Cx * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20a` - Neutrik powerCON (20A) * `neutrik-powercon-32a` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other +func (r ApiDcimPowerOutletsListRequest) TypeIsw(typeIsw []DcimPowerOutletsListTypeIcParameterInner) ApiDcimPowerOutletsListRequest { + r.typeIsw = &typeIsw + return r +} + +// Physical port type * `iec-60320-c5` - C5 * `iec-60320-c7` - C7 * `iec-60320-c13` - C13 * `iec-60320-c15` - C15 * `iec-60320-c19` - C19 * `iec-60320-c21` - C21 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15r` - NEMA 1-15R * `nema-5-15r` - NEMA 5-15R * `nema-5-20r` - NEMA 5-20R * `nema-5-30r` - NEMA 5-30R * `nema-5-50r` - NEMA 5-50R * `nema-6-15r` - NEMA 6-15R * `nema-6-20r` - NEMA 6-20R * `nema-6-30r` - NEMA 6-30R * `nema-6-50r` - NEMA 6-50R * `nema-10-30r` - NEMA 10-30R * `nema-10-50r` - NEMA 10-50R * `nema-14-20r` - NEMA 14-20R * `nema-14-30r` - NEMA 14-30R * `nema-14-50r` - NEMA 14-50R * `nema-14-60r` - NEMA 14-60R * `nema-15-15r` - NEMA 15-15R * `nema-15-20r` - NEMA 15-20R * `nema-15-30r` - NEMA 15-30R * `nema-15-50r` - NEMA 15-50R * `nema-15-60r` - NEMA 15-60R * `nema-l1-15r` - NEMA L1-15R * `nema-l5-15r` - NEMA L5-15R * `nema-l5-20r` - NEMA L5-20R * `nema-l5-30r` - NEMA L5-30R * `nema-l5-50r` - NEMA L5-50R * `nema-l6-15r` - NEMA L6-15R * `nema-l6-20r` - NEMA L6-20R * `nema-l6-30r` - NEMA L6-30R * `nema-l6-50r` - NEMA L6-50R * `nema-l10-30r` - NEMA L10-30R * `nema-l14-20r` - NEMA L14-20R * `nema-l14-30r` - NEMA L14-30R * `nema-l14-50r` - NEMA L14-50R * `nema-l14-60r` - NEMA L14-60R * `nema-l15-20r` - NEMA L15-20R * `nema-l15-30r` - NEMA L15-30R * `nema-l15-50r` - NEMA L15-50R * `nema-l15-60r` - NEMA L15-60R * `nema-l21-20r` - NEMA L21-20R * `nema-l21-30r` - NEMA L21-30R * `nema-l22-20r` - NEMA L22-20R * `nema-l22-30r` - NEMA L22-30R * `CS6360C` - CS6360C * `CS6364C` - CS6364C * `CS8164C` - CS8164C * `CS8264C` - CS8264C * `CS8364C` - CS8364C * `CS8464C` - CS8464C * `ita-e` - ITA Type E (CEE 7/5) * `ita-f` - ITA Type F (CEE 7/3) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `ita-multistandard` - ITA Multistandard * `usb-a` - USB Type A * `usb-micro-b` - USB Micro B * `usb-c` - USB Type C * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `eaton-c39` - Eaton C39 * `hdot-cx` - HDOT Cx * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20a` - Neutrik powerCON (20A) * `neutrik-powercon-32a` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other +func (r ApiDcimPowerOutletsListRequest) TypeN(typeN []DcimPowerOutletsListTypeIcParameterInner) ApiDcimPowerOutletsListRequest { r.typeN = &typeN return r } +// Physical port type * `iec-60320-c5` - C5 * `iec-60320-c7` - C7 * `iec-60320-c13` - C13 * `iec-60320-c15` - C15 * `iec-60320-c19` - C19 * `iec-60320-c21` - C21 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15r` - NEMA 1-15R * `nema-5-15r` - NEMA 5-15R * `nema-5-20r` - NEMA 5-20R * `nema-5-30r` - NEMA 5-30R * `nema-5-50r` - NEMA 5-50R * `nema-6-15r` - NEMA 6-15R * `nema-6-20r` - NEMA 6-20R * `nema-6-30r` - NEMA 6-30R * `nema-6-50r` - NEMA 6-50R * `nema-10-30r` - NEMA 10-30R * `nema-10-50r` - NEMA 10-50R * `nema-14-20r` - NEMA 14-20R * `nema-14-30r` - NEMA 14-30R * `nema-14-50r` - NEMA 14-50R * `nema-14-60r` - NEMA 14-60R * `nema-15-15r` - NEMA 15-15R * `nema-15-20r` - NEMA 15-20R * `nema-15-30r` - NEMA 15-30R * `nema-15-50r` - NEMA 15-50R * `nema-15-60r` - NEMA 15-60R * `nema-l1-15r` - NEMA L1-15R * `nema-l5-15r` - NEMA L5-15R * `nema-l5-20r` - NEMA L5-20R * `nema-l5-30r` - NEMA L5-30R * `nema-l5-50r` - NEMA L5-50R * `nema-l6-15r` - NEMA L6-15R * `nema-l6-20r` - NEMA L6-20R * `nema-l6-30r` - NEMA L6-30R * `nema-l6-50r` - NEMA L6-50R * `nema-l10-30r` - NEMA L10-30R * `nema-l14-20r` - NEMA L14-20R * `nema-l14-30r` - NEMA L14-30R * `nema-l14-50r` - NEMA L14-50R * `nema-l14-60r` - NEMA L14-60R * `nema-l15-20r` - NEMA L15-20R * `nema-l15-30r` - NEMA L15-30R * `nema-l15-50r` - NEMA L15-50R * `nema-l15-60r` - NEMA L15-60R * `nema-l21-20r` - NEMA L21-20R * `nema-l21-30r` - NEMA L21-30R * `nema-l22-20r` - NEMA L22-20R * `nema-l22-30r` - NEMA L22-30R * `CS6360C` - CS6360C * `CS6364C` - CS6364C * `CS8164C` - CS8164C * `CS8264C` - CS8264C * `CS8364C` - CS8364C * `CS8464C` - CS8464C * `ita-e` - ITA Type E (CEE 7/5) * `ita-f` - ITA Type F (CEE 7/3) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `ita-multistandard` - ITA Multistandard * `usb-a` - USB Type A * `usb-micro-b` - USB Micro B * `usb-c` - USB Type C * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `eaton-c39` - Eaton C39 * `hdot-cx` - HDOT Cx * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20a` - Neutrik powerCON (20A) * `neutrik-powercon-32a` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other +func (r ApiDcimPowerOutletsListRequest) TypeNic(typeNic []DcimPowerOutletsListTypeIcParameterInner) ApiDcimPowerOutletsListRequest { + r.typeNic = &typeNic + return r +} + +// Physical port type * `iec-60320-c5` - C5 * `iec-60320-c7` - C7 * `iec-60320-c13` - C13 * `iec-60320-c15` - C15 * `iec-60320-c19` - C19 * `iec-60320-c21` - C21 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15r` - NEMA 1-15R * `nema-5-15r` - NEMA 5-15R * `nema-5-20r` - NEMA 5-20R * `nema-5-30r` - NEMA 5-30R * `nema-5-50r` - NEMA 5-50R * `nema-6-15r` - NEMA 6-15R * `nema-6-20r` - NEMA 6-20R * `nema-6-30r` - NEMA 6-30R * `nema-6-50r` - NEMA 6-50R * `nema-10-30r` - NEMA 10-30R * `nema-10-50r` - NEMA 10-50R * `nema-14-20r` - NEMA 14-20R * `nema-14-30r` - NEMA 14-30R * `nema-14-50r` - NEMA 14-50R * `nema-14-60r` - NEMA 14-60R * `nema-15-15r` - NEMA 15-15R * `nema-15-20r` - NEMA 15-20R * `nema-15-30r` - NEMA 15-30R * `nema-15-50r` - NEMA 15-50R * `nema-15-60r` - NEMA 15-60R * `nema-l1-15r` - NEMA L1-15R * `nema-l5-15r` - NEMA L5-15R * `nema-l5-20r` - NEMA L5-20R * `nema-l5-30r` - NEMA L5-30R * `nema-l5-50r` - NEMA L5-50R * `nema-l6-15r` - NEMA L6-15R * `nema-l6-20r` - NEMA L6-20R * `nema-l6-30r` - NEMA L6-30R * `nema-l6-50r` - NEMA L6-50R * `nema-l10-30r` - NEMA L10-30R * `nema-l14-20r` - NEMA L14-20R * `nema-l14-30r` - NEMA L14-30R * `nema-l14-50r` - NEMA L14-50R * `nema-l14-60r` - NEMA L14-60R * `nema-l15-20r` - NEMA L15-20R * `nema-l15-30r` - NEMA L15-30R * `nema-l15-50r` - NEMA L15-50R * `nema-l15-60r` - NEMA L15-60R * `nema-l21-20r` - NEMA L21-20R * `nema-l21-30r` - NEMA L21-30R * `nema-l22-20r` - NEMA L22-20R * `nema-l22-30r` - NEMA L22-30R * `CS6360C` - CS6360C * `CS6364C` - CS6364C * `CS8164C` - CS8164C * `CS8264C` - CS8264C * `CS8364C` - CS8364C * `CS8464C` - CS8464C * `ita-e` - ITA Type E (CEE 7/5) * `ita-f` - ITA Type F (CEE 7/3) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `ita-multistandard` - ITA Multistandard * `usb-a` - USB Type A * `usb-micro-b` - USB Micro B * `usb-c` - USB Type C * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `eaton-c39` - Eaton C39 * `hdot-cx` - HDOT Cx * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20a` - Neutrik powerCON (20A) * `neutrik-powercon-32a` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other +func (r ApiDcimPowerOutletsListRequest) TypeNie(typeNie []DcimPowerOutletsListTypeIcParameterInner) ApiDcimPowerOutletsListRequest { + r.typeNie = &typeNie + return r +} + +// Physical port type * `iec-60320-c5` - C5 * `iec-60320-c7` - C7 * `iec-60320-c13` - C13 * `iec-60320-c15` - C15 * `iec-60320-c19` - C19 * `iec-60320-c21` - C21 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15r` - NEMA 1-15R * `nema-5-15r` - NEMA 5-15R * `nema-5-20r` - NEMA 5-20R * `nema-5-30r` - NEMA 5-30R * `nema-5-50r` - NEMA 5-50R * `nema-6-15r` - NEMA 6-15R * `nema-6-20r` - NEMA 6-20R * `nema-6-30r` - NEMA 6-30R * `nema-6-50r` - NEMA 6-50R * `nema-10-30r` - NEMA 10-30R * `nema-10-50r` - NEMA 10-50R * `nema-14-20r` - NEMA 14-20R * `nema-14-30r` - NEMA 14-30R * `nema-14-50r` - NEMA 14-50R * `nema-14-60r` - NEMA 14-60R * `nema-15-15r` - NEMA 15-15R * `nema-15-20r` - NEMA 15-20R * `nema-15-30r` - NEMA 15-30R * `nema-15-50r` - NEMA 15-50R * `nema-15-60r` - NEMA 15-60R * `nema-l1-15r` - NEMA L1-15R * `nema-l5-15r` - NEMA L5-15R * `nema-l5-20r` - NEMA L5-20R * `nema-l5-30r` - NEMA L5-30R * `nema-l5-50r` - NEMA L5-50R * `nema-l6-15r` - NEMA L6-15R * `nema-l6-20r` - NEMA L6-20R * `nema-l6-30r` - NEMA L6-30R * `nema-l6-50r` - NEMA L6-50R * `nema-l10-30r` - NEMA L10-30R * `nema-l14-20r` - NEMA L14-20R * `nema-l14-30r` - NEMA L14-30R * `nema-l14-50r` - NEMA L14-50R * `nema-l14-60r` - NEMA L14-60R * `nema-l15-20r` - NEMA L15-20R * `nema-l15-30r` - NEMA L15-30R * `nema-l15-50r` - NEMA L15-50R * `nema-l15-60r` - NEMA L15-60R * `nema-l21-20r` - NEMA L21-20R * `nema-l21-30r` - NEMA L21-30R * `nema-l22-20r` - NEMA L22-20R * `nema-l22-30r` - NEMA L22-30R * `CS6360C` - CS6360C * `CS6364C` - CS6364C * `CS8164C` - CS8164C * `CS8264C` - CS8264C * `CS8364C` - CS8364C * `CS8464C` - CS8464C * `ita-e` - ITA Type E (CEE 7/5) * `ita-f` - ITA Type F (CEE 7/3) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `ita-multistandard` - ITA Multistandard * `usb-a` - USB Type A * `usb-micro-b` - USB Micro B * `usb-c` - USB Type C * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `eaton-c39` - Eaton C39 * `hdot-cx` - HDOT Cx * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20a` - Neutrik powerCON (20A) * `neutrik-powercon-32a` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other +func (r ApiDcimPowerOutletsListRequest) TypeNiew(typeNiew []DcimPowerOutletsListTypeIcParameterInner) ApiDcimPowerOutletsListRequest { + r.typeNiew = &typeNiew + return r +} + +// Physical port type * `iec-60320-c5` - C5 * `iec-60320-c7` - C7 * `iec-60320-c13` - C13 * `iec-60320-c15` - C15 * `iec-60320-c19` - C19 * `iec-60320-c21` - C21 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15r` - NEMA 1-15R * `nema-5-15r` - NEMA 5-15R * `nema-5-20r` - NEMA 5-20R * `nema-5-30r` - NEMA 5-30R * `nema-5-50r` - NEMA 5-50R * `nema-6-15r` - NEMA 6-15R * `nema-6-20r` - NEMA 6-20R * `nema-6-30r` - NEMA 6-30R * `nema-6-50r` - NEMA 6-50R * `nema-10-30r` - NEMA 10-30R * `nema-10-50r` - NEMA 10-50R * `nema-14-20r` - NEMA 14-20R * `nema-14-30r` - NEMA 14-30R * `nema-14-50r` - NEMA 14-50R * `nema-14-60r` - NEMA 14-60R * `nema-15-15r` - NEMA 15-15R * `nema-15-20r` - NEMA 15-20R * `nema-15-30r` - NEMA 15-30R * `nema-15-50r` - NEMA 15-50R * `nema-15-60r` - NEMA 15-60R * `nema-l1-15r` - NEMA L1-15R * `nema-l5-15r` - NEMA L5-15R * `nema-l5-20r` - NEMA L5-20R * `nema-l5-30r` - NEMA L5-30R * `nema-l5-50r` - NEMA L5-50R * `nema-l6-15r` - NEMA L6-15R * `nema-l6-20r` - NEMA L6-20R * `nema-l6-30r` - NEMA L6-30R * `nema-l6-50r` - NEMA L6-50R * `nema-l10-30r` - NEMA L10-30R * `nema-l14-20r` - NEMA L14-20R * `nema-l14-30r` - NEMA L14-30R * `nema-l14-50r` - NEMA L14-50R * `nema-l14-60r` - NEMA L14-60R * `nema-l15-20r` - NEMA L15-20R * `nema-l15-30r` - NEMA L15-30R * `nema-l15-50r` - NEMA L15-50R * `nema-l15-60r` - NEMA L15-60R * `nema-l21-20r` - NEMA L21-20R * `nema-l21-30r` - NEMA L21-30R * `nema-l22-20r` - NEMA L22-20R * `nema-l22-30r` - NEMA L22-30R * `CS6360C` - CS6360C * `CS6364C` - CS6364C * `CS8164C` - CS8164C * `CS8264C` - CS8264C * `CS8364C` - CS8364C * `CS8464C` - CS8464C * `ita-e` - ITA Type E (CEE 7/5) * `ita-f` - ITA Type F (CEE 7/3) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `ita-multistandard` - ITA Multistandard * `usb-a` - USB Type A * `usb-micro-b` - USB Micro B * `usb-c` - USB Type C * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `eaton-c39` - Eaton C39 * `hdot-cx` - HDOT Cx * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20a` - Neutrik powerCON (20A) * `neutrik-powercon-32a` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other +func (r ApiDcimPowerOutletsListRequest) TypeNisw(typeNisw []DcimPowerOutletsListTypeIcParameterInner) ApiDcimPowerOutletsListRequest { + r.typeNisw = &typeNisw + return r +} + func (r ApiDcimPowerOutletsListRequest) UpdatedByRequest(updatedByRequest string) ApiDcimPowerOutletsListRequest { r.updatedByRequest = &updatedByRequest return r @@ -76578,9 +80918,6 @@ func (a *DcimAPIService) DcimPowerOutletsListExecute(r ApiDcimPowerOutletsListRe if r.cableEnd != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "cable_end", r.cableEnd, "") } - if r.cableEndN != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "cable_end__n", r.cableEndN, "") - } if r.cableId != nil { t := *r.cableId if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -76846,6 +81183,163 @@ func (a *DcimAPIService) DcimPowerOutletsListExecute(r ApiDcimPowerOutletsListRe parameterAddToHeaderOrQuery(localVarQueryParams, "device_id__n", t, "multi") } } + if r.deviceRole != nil { + t := *r.deviceRole + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role", t, "multi") + } + } + if r.deviceRoleN != nil { + t := *r.deviceRoleN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role__n", t, "multi") + } + } + if r.deviceRoleId != nil { + t := *r.deviceRoleId + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role_id", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role_id", t, "multi") + } + } + if r.deviceRoleIdN != nil { + t := *r.deviceRoleIdN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role_id__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role_id__n", t, "multi") + } + } + if r.deviceStatus != nil { + t := *r.deviceStatus + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status", t, "multi") + } + } + if r.deviceStatusEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__empty", r.deviceStatusEmpty, "") + } + if r.deviceStatusIc != nil { + t := *r.deviceStatusIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__ic", t, "multi") + } + } + if r.deviceStatusIe != nil { + t := *r.deviceStatusIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__ie", t, "multi") + } + } + if r.deviceStatusIew != nil { + t := *r.deviceStatusIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__iew", t, "multi") + } + } + if r.deviceStatusIsw != nil { + t := *r.deviceStatusIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__isw", t, "multi") + } + } + if r.deviceStatusN != nil { + t := *r.deviceStatusN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__n", t, "multi") + } + } + if r.deviceStatusNic != nil { + t := *r.deviceStatusNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nic", t, "multi") + } + } + if r.deviceStatusNie != nil { + t := *r.deviceStatusNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nie", t, "multi") + } + } + if r.deviceStatusNiew != nil { + t := *r.deviceStatusNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__niew", t, "multi") + } + } + if r.deviceStatusNisw != nil { + t := *r.deviceStatusNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nisw", t, "multi") + } + } if r.deviceType != nil { t := *r.deviceType if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -76901,6 +81395,53 @@ func (a *DcimAPIService) DcimPowerOutletsListExecute(r ApiDcimPowerOutletsListRe parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg", t, "multi") } } + if r.feedLegEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__empty", r.feedLegEmpty, "") + } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__ic", t, "multi") + } + } + 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, "feed_leg__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__ie", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__iew", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__isw", t, "multi") + } + } if r.feedLegN != nil { t := *r.feedLegN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -76912,6 +81453,50 @@ func (a *DcimAPIService) DcimPowerOutletsListExecute(r ApiDcimPowerOutletsListRe parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__n", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__nic", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__nie", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__niew", t, "multi") + } + } + 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, "feed_leg__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__nisw", t, "multi") + } + } if r.id != nil { t := *r.id if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -77481,50 +82066,6 @@ func (a *DcimAPIService) DcimPowerOutletsListExecute(r ApiDcimPowerOutletsListRe parameterAddToHeaderOrQuery(localVarQueryParams, "region_id__n", t, "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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "role", t, "multi") - } - } - 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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "role__n", t, "multi") - } - } - if r.roleId != nil { - t := *r.roleId - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "role_id", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "role_id", t, "multi") - } - } - if r.roleIdN != nil { - t := *r.roleIdN - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "role_id__n", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "role_id__n", t, "multi") - } - } if r.site != nil { t := *r.site if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -77646,6 +82187,53 @@ func (a *DcimAPIService) DcimPowerOutletsListExecute(r ApiDcimPowerOutletsListRe parameterAddToHeaderOrQuery(localVarQueryParams, "type", t, "multi") } } + if r.typeEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__empty", r.typeEmpty, "") + } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__ic", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__ie", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__iew", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__isw", t, "multi") + } + } if r.typeN != nil { t := *r.typeN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -77657,6 +82245,50 @@ func (a *DcimAPIService) DcimPowerOutletsListExecute(r ApiDcimPowerOutletsListRe parameterAddToHeaderOrQuery(localVarQueryParams, "type__n", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__nic", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__nie", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__niew", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__nisw", t, "multi") + } + } if r.updatedByRequest != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "updated_by_request", r.updatedByRequest, "") } @@ -78862,8 +83494,8 @@ type ApiDcimPowerPanelsListRequest struct { ApiService *DcimAPIService contact *[]int32 contactN *[]int32 - contactGroup *[]int32 - contactGroupN *[]int32 + contactGroup *[]string + contactGroupN *[]string contactRole *[]int32 contactRoleN *[]int32 created *[]time.Time @@ -78900,8 +83532,8 @@ type ApiDcimPowerPanelsListRequest struct { lastUpdatedLte *[]time.Time lastUpdatedN *[]time.Time limit *int32 - locationId *[]int32 - locationIdN *[]int32 + locationId *[]string + locationIdN *[]string modifiedByRequest *string name *[]string nameEmpty *bool @@ -78917,16 +83549,16 @@ type ApiDcimPowerPanelsListRequest struct { offset *int32 ordering *string q *string - region *[]int32 - regionN *[]int32 - regionId *[]int32 - regionIdN *[]int32 + region *[]string + regionN *[]string + regionId *[]string + regionIdN *[]string site *[]string siteN *[]string - siteGroup *[]int32 - siteGroupN *[]int32 - siteGroupId *[]int32 - siteGroupIdN *[]int32 + siteGroup *[]string + siteGroupN *[]string + siteGroupId *[]string + siteGroupIdN *[]string siteId *[]int32 siteIdN *[]int32 tag *[]string @@ -78946,14 +83578,12 @@ func (r ApiDcimPowerPanelsListRequest) ContactN(contactN []int32) ApiDcimPowerPa return r } -// Contact group -func (r ApiDcimPowerPanelsListRequest) ContactGroup(contactGroup []int32) ApiDcimPowerPanelsListRequest { +func (r ApiDcimPowerPanelsListRequest) ContactGroup(contactGroup []string) ApiDcimPowerPanelsListRequest { r.contactGroup = &contactGroup return r } -// Contact group -func (r ApiDcimPowerPanelsListRequest) ContactGroupN(contactGroupN []int32) ApiDcimPowerPanelsListRequest { +func (r ApiDcimPowerPanelsListRequest) ContactGroupN(contactGroupN []string) ApiDcimPowerPanelsListRequest { r.contactGroupN = &contactGroupN return r } @@ -79141,14 +83771,12 @@ func (r ApiDcimPowerPanelsListRequest) Limit(limit int32) ApiDcimPowerPanelsList return r } -// Location (ID) -func (r ApiDcimPowerPanelsListRequest) LocationId(locationId []int32) ApiDcimPowerPanelsListRequest { +func (r ApiDcimPowerPanelsListRequest) LocationId(locationId []string) ApiDcimPowerPanelsListRequest { r.locationId = &locationId return r } -// Location (ID) -func (r ApiDcimPowerPanelsListRequest) LocationIdN(locationIdN []int32) ApiDcimPowerPanelsListRequest { +func (r ApiDcimPowerPanelsListRequest) LocationIdN(locationIdN []string) ApiDcimPowerPanelsListRequest { r.locationIdN = &locationIdN return r } @@ -79231,26 +83859,22 @@ func (r ApiDcimPowerPanelsListRequest) Q(q string) ApiDcimPowerPanelsListRequest return r } -// Region (slug) -func (r ApiDcimPowerPanelsListRequest) Region(region []int32) ApiDcimPowerPanelsListRequest { +func (r ApiDcimPowerPanelsListRequest) Region(region []string) ApiDcimPowerPanelsListRequest { r.region = ®ion return r } -// Region (slug) -func (r ApiDcimPowerPanelsListRequest) RegionN(regionN []int32) ApiDcimPowerPanelsListRequest { +func (r ApiDcimPowerPanelsListRequest) RegionN(regionN []string) ApiDcimPowerPanelsListRequest { r.regionN = ®ionN return r } -// Region (ID) -func (r ApiDcimPowerPanelsListRequest) RegionId(regionId []int32) ApiDcimPowerPanelsListRequest { +func (r ApiDcimPowerPanelsListRequest) RegionId(regionId []string) ApiDcimPowerPanelsListRequest { r.regionId = ®ionId return r } -// Region (ID) -func (r ApiDcimPowerPanelsListRequest) RegionIdN(regionIdN []int32) ApiDcimPowerPanelsListRequest { +func (r ApiDcimPowerPanelsListRequest) RegionIdN(regionIdN []string) ApiDcimPowerPanelsListRequest { r.regionIdN = ®ionIdN return r } @@ -79267,26 +83891,22 @@ func (r ApiDcimPowerPanelsListRequest) SiteN(siteN []string) ApiDcimPowerPanelsL return r } -// Site group (slug) -func (r ApiDcimPowerPanelsListRequest) SiteGroup(siteGroup []int32) ApiDcimPowerPanelsListRequest { +func (r ApiDcimPowerPanelsListRequest) SiteGroup(siteGroup []string) ApiDcimPowerPanelsListRequest { r.siteGroup = &siteGroup return r } -// Site group (slug) -func (r ApiDcimPowerPanelsListRequest) SiteGroupN(siteGroupN []int32) ApiDcimPowerPanelsListRequest { +func (r ApiDcimPowerPanelsListRequest) SiteGroupN(siteGroupN []string) ApiDcimPowerPanelsListRequest { r.siteGroupN = &siteGroupN return r } -// Site group (ID) -func (r ApiDcimPowerPanelsListRequest) SiteGroupId(siteGroupId []int32) ApiDcimPowerPanelsListRequest { +func (r ApiDcimPowerPanelsListRequest) SiteGroupId(siteGroupId []string) ApiDcimPowerPanelsListRequest { r.siteGroupId = &siteGroupId return r } -// Site group (ID) -func (r ApiDcimPowerPanelsListRequest) SiteGroupIdN(siteGroupIdN []int32) ApiDcimPowerPanelsListRequest { +func (r ApiDcimPowerPanelsListRequest) SiteGroupIdN(siteGroupIdN []string) ApiDcimPowerPanelsListRequest { r.siteGroupIdN = &siteGroupIdN return r } @@ -81137,8 +85757,6 @@ type ApiDcimPowerPortTemplatesListRequest struct { descriptionNisw *[]string deviceTypeId *[]*int32 deviceTypeIdN *[]*int32 - devicetypeId *[]*int32 - devicetypeIdN *[]*int32 id *[]int32 idEmpty *bool idGt *[]int32 @@ -81175,8 +85793,6 @@ type ApiDcimPowerPortTemplatesListRequest struct { modifiedByRequest *string moduleTypeId *[]*int32 moduleTypeIdN *[]*int32 - moduletypeId *[]*int32 - moduletypeIdN *[]*int32 name *[]string nameEmpty *bool nameIc *[]string @@ -81192,7 +85808,6 @@ type ApiDcimPowerPortTemplatesListRequest struct { ordering *string q *string type_ *DcimPowerPortTemplatesListTypeParameter - typeN *DcimPowerPortTemplatesListTypeParameter updatedByRequest *string } @@ -81338,18 +85953,6 @@ func (r ApiDcimPowerPortTemplatesListRequest) DeviceTypeIdN(deviceTypeIdN []*int return r } -// Device type (ID) -func (r ApiDcimPowerPortTemplatesListRequest) DevicetypeId(devicetypeId []*int32) ApiDcimPowerPortTemplatesListRequest { - r.devicetypeId = &devicetypeId - return r -} - -// Device type (ID) -func (r ApiDcimPowerPortTemplatesListRequest) DevicetypeIdN(devicetypeIdN []*int32) ApiDcimPowerPortTemplatesListRequest { - r.devicetypeIdN = &devicetypeIdN - return r -} - func (r ApiDcimPowerPortTemplatesListRequest) Id(id []int32) ApiDcimPowerPortTemplatesListRequest { r.id = &id return r @@ -81533,18 +86136,6 @@ func (r ApiDcimPowerPortTemplatesListRequest) ModuleTypeIdN(moduleTypeIdN []*int return r } -// Module type (ID) -func (r ApiDcimPowerPortTemplatesListRequest) ModuletypeId(moduletypeId []*int32) ApiDcimPowerPortTemplatesListRequest { - r.moduletypeId = &moduletypeId - return r -} - -// Module type (ID) -func (r ApiDcimPowerPortTemplatesListRequest) ModuletypeIdN(moduletypeIdN []*int32) ApiDcimPowerPortTemplatesListRequest { - r.moduletypeIdN = &moduletypeIdN - return r -} - func (r ApiDcimPowerPortTemplatesListRequest) Name(name []string) ApiDcimPowerPortTemplatesListRequest { r.name = &name return r @@ -81618,18 +86209,12 @@ func (r ApiDcimPowerPortTemplatesListRequest) Q(q string) ApiDcimPowerPortTempla return r } -// * `IEC 60320` - [('iec-60320-c6', 'C6'), ('iec-60320-c8', 'C8'), ('iec-60320-c14', 'C14'), ('iec-60320-c16', 'C16'), ('iec-60320-c20', 'C20'), ('iec-60320-c22', 'C22')] * `IEC 60309` - [('iec-60309-p-n-e-4h', 'P+N+E 4H'), ('iec-60309-p-n-e-6h', 'P+N+E 6H'), ('iec-60309-p-n-e-9h', 'P+N+E 9H'), ('iec-60309-2p-e-4h', '2P+E 4H'), ('iec-60309-2p-e-6h', '2P+E 6H'), ('iec-60309-2p-e-9h', '2P+E 9H'), ('iec-60309-3p-e-4h', '3P+E 4H'), ('iec-60309-3p-e-6h', '3P+E 6H'), ('iec-60309-3p-e-9h', '3P+E 9H'), ('iec-60309-3p-n-e-4h', '3P+N+E 4H'), ('iec-60309-3p-n-e-6h', '3P+N+E 6H'), ('iec-60309-3p-n-e-9h', '3P+N+E 9H')] * `IEC 60906-1` - [('iec-60906-1', 'IEC 60906-1'), ('nbr-14136-10a', '2P+T 10A (NBR 14136)'), ('nbr-14136-20a', '2P+T 20A (NBR 14136)')] * `NEMA (Non-locking)` - [('nema-1-15p', 'NEMA 1-15P'), ('nema-5-15p', 'NEMA 5-15P'), ('nema-5-20p', 'NEMA 5-20P'), ('nema-5-30p', 'NEMA 5-30P'), ('nema-5-50p', 'NEMA 5-50P'), ('nema-6-15p', 'NEMA 6-15P'), ('nema-6-20p', 'NEMA 6-20P'), ('nema-6-30p', 'NEMA 6-30P'), ('nema-6-50p', 'NEMA 6-50P'), ('nema-10-30p', 'NEMA 10-30P'), ('nema-10-50p', 'NEMA 10-50P'), ('nema-14-20p', 'NEMA 14-20P'), ('nema-14-30p', 'NEMA 14-30P'), ('nema-14-50p', 'NEMA 14-50P'), ('nema-14-60p', 'NEMA 14-60P'), ('nema-15-15p', 'NEMA 15-15P'), ('nema-15-20p', 'NEMA 15-20P'), ('nema-15-30p', 'NEMA 15-30P'), ('nema-15-50p', 'NEMA 15-50P'), ('nema-15-60p', 'NEMA 15-60P')] * `NEMA (Locking)` - [('nema-l1-15p', 'NEMA L1-15P'), ('nema-l5-15p', 'NEMA L5-15P'), ('nema-l5-20p', 'NEMA L5-20P'), ('nema-l5-30p', 'NEMA L5-30P'), ('nema-l5-50p', 'NEMA L5-50P'), ('nema-l6-15p', 'NEMA L6-15P'), ('nema-l6-20p', 'NEMA L6-20P'), ('nema-l6-30p', 'NEMA L6-30P'), ('nema-l6-50p', 'NEMA L6-50P'), ('nema-l10-30p', 'NEMA L10-30P'), ('nema-l14-20p', 'NEMA L14-20P'), ('nema-l14-30p', 'NEMA L14-30P'), ('nema-l14-50p', 'NEMA L14-50P'), ('nema-l14-60p', 'NEMA L14-60P'), ('nema-l15-20p', 'NEMA L15-20P'), ('nema-l15-30p', 'NEMA L15-30P'), ('nema-l15-50p', 'NEMA L15-50P'), ('nema-l15-60p', 'NEMA L15-60P'), ('nema-l21-20p', 'NEMA L21-20P'), ('nema-l21-30p', 'NEMA L21-30P'), ('nema-l22-30p', 'NEMA L22-30P')] * `California Style` - [('cs6361c', 'CS6361C'), ('cs6365c', 'CS6365C'), ('cs8165c', 'CS8165C'), ('cs8265c', 'CS8265C'), ('cs8365c', 'CS8365C'), ('cs8465c', 'CS8465C')] * `International/ITA` - [('ita-c', 'ITA Type C (CEE 7/16)'), ('ita-e', 'ITA Type E (CEE 7/6)'), ('ita-f', 'ITA Type F (CEE 7/4)'), ('ita-ef', 'ITA Type E/F (CEE 7/7)'), ('ita-g', 'ITA Type G (BS 1363)'), ('ita-h', 'ITA Type H'), ('ita-i', 'ITA Type I'), ('ita-j', 'ITA Type J'), ('ita-k', 'ITA Type K'), ('ita-l', 'ITA Type L (CEI 23-50)'), ('ita-m', 'ITA Type M (BS 546)'), ('ita-n', 'ITA Type N'), ('ita-o', 'ITA Type O')] * `USB` - [('usb-a', 'USB Type A'), ('usb-b', 'USB Type B'), ('usb-c', 'USB Type C'), ('usb-mini-a', 'USB Mini A'), ('usb-mini-b', 'USB Mini B'), ('usb-micro-a', 'USB Micro A'), ('usb-micro-b', 'USB Micro B'), ('usb-micro-ab', 'USB Micro AB'), ('usb-3-b', 'USB 3.0 Type B'), ('usb-3-micro-b', 'USB 3.0 Micro B')] * `Molex` - [('molex-micro-fit-1x2', 'Molex Micro-Fit 1x2'), ('molex-micro-fit-2x2', 'Molex Micro-Fit 2x2'), ('molex-micro-fit-2x4', 'Molex Micro-Fit 2x4')] * `DC` - [('dc-terminal', 'DC Terminal')] * `Proprietary` - [('saf-d-grid', 'Saf-D-Grid'), ('neutrik-powercon-20', 'Neutrik powerCON (20A)'), ('neutrik-powercon-32', 'Neutrik powerCON (32A)'), ('neutrik-powercon-true1', 'Neutrik powerCON TRUE1'), ('neutrik-powercon-true1-top', 'Neutrik powerCON TRUE1 TOP'), ('ubiquiti-smartpower', 'Ubiquiti SmartPower')] * `Other` - [('hardwired', 'Hardwired'), ('other', 'Other')] +// * `IEC 60320` - [('iec-60320-c6', 'C6'), ('iec-60320-c8', 'C8'), ('iec-60320-c14', 'C14'), ('iec-60320-c16', 'C16'), ('iec-60320-c20', 'C20'), ('iec-60320-c22', 'C22')] * `IEC 60309` - [('iec-60309-p-n-e-4h', 'P+N+E 4H'), ('iec-60309-p-n-e-6h', 'P+N+E 6H'), ('iec-60309-p-n-e-9h', 'P+N+E 9H'), ('iec-60309-2p-e-4h', '2P+E 4H'), ('iec-60309-2p-e-6h', '2P+E 6H'), ('iec-60309-2p-e-9h', '2P+E 9H'), ('iec-60309-3p-e-4h', '3P+E 4H'), ('iec-60309-3p-e-6h', '3P+E 6H'), ('iec-60309-3p-e-9h', '3P+E 9H'), ('iec-60309-3p-n-e-4h', '3P+N+E 4H'), ('iec-60309-3p-n-e-6h', '3P+N+E 6H'), ('iec-60309-3p-n-e-9h', '3P+N+E 9H')] * `IEC 60906-1` - [('iec-60906-1', 'IEC 60906-1'), ('nbr-14136-10a', '2P+T 10A (NBR 14136)'), ('nbr-14136-20a', '2P+T 20A (NBR 14136)')] * `NEMA (Non-locking)` - [('nema-1-15p', 'NEMA 1-15P'), ('nema-5-15p', 'NEMA 5-15P'), ('nema-5-20p', 'NEMA 5-20P'), ('nema-5-30p', 'NEMA 5-30P'), ('nema-5-50p', 'NEMA 5-50P'), ('nema-6-15p', 'NEMA 6-15P'), ('nema-6-20p', 'NEMA 6-20P'), ('nema-6-30p', 'NEMA 6-30P'), ('nema-6-50p', 'NEMA 6-50P'), ('nema-10-30p', 'NEMA 10-30P'), ('nema-10-50p', 'NEMA 10-50P'), ('nema-14-20p', 'NEMA 14-20P'), ('nema-14-30p', 'NEMA 14-30P'), ('nema-14-50p', 'NEMA 14-50P'), ('nema-14-60p', 'NEMA 14-60P'), ('nema-15-15p', 'NEMA 15-15P'), ('nema-15-20p', 'NEMA 15-20P'), ('nema-15-30p', 'NEMA 15-30P'), ('nema-15-50p', 'NEMA 15-50P'), ('nema-15-60p', 'NEMA 15-60P')] * `NEMA (Locking)` - [('nema-l1-15p', 'NEMA L1-15P'), ('nema-l5-15p', 'NEMA L5-15P'), ('nema-l5-20p', 'NEMA L5-20P'), ('nema-l5-30p', 'NEMA L5-30P'), ('nema-l5-50p', 'NEMA L5-50P'), ('nema-l6-15p', 'NEMA L6-15P'), ('nema-l6-20p', 'NEMA L6-20P'), ('nema-l6-30p', 'NEMA L6-30P'), ('nema-l6-50p', 'NEMA L6-50P'), ('nema-l10-30p', 'NEMA L10-30P'), ('nema-l14-20p', 'NEMA L14-20P'), ('nema-l14-30p', 'NEMA L14-30P'), ('nema-l14-50p', 'NEMA L14-50P'), ('nema-l14-60p', 'NEMA L14-60P'), ('nema-l15-20p', 'NEMA L15-20P'), ('nema-l15-30p', 'NEMA L15-30P'), ('nema-l15-50p', 'NEMA L15-50P'), ('nema-l15-60p', 'NEMA L15-60P'), ('nema-l21-20p', 'NEMA L21-20P'), ('nema-l21-30p', 'NEMA L21-30P'), ('nema-l22-20p', 'NEMA L22-20P'), ('nema-l22-30p', 'NEMA L22-30P')] * `California Style` - [('cs6361c', 'CS6361C'), ('cs6365c', 'CS6365C'), ('cs8165c', 'CS8165C'), ('cs8265c', 'CS8265C'), ('cs8365c', 'CS8365C'), ('cs8465c', 'CS8465C')] * `International/ITA` - [('ita-c', 'ITA Type C (CEE 7/16)'), ('ita-e', 'ITA Type E (CEE 7/6)'), ('ita-f', 'ITA Type F (CEE 7/4)'), ('ita-ef', 'ITA Type E/F (CEE 7/7)'), ('ita-g', 'ITA Type G (BS 1363)'), ('ita-h', 'ITA Type H'), ('ita-i', 'ITA Type I'), ('ita-j', 'ITA Type J'), ('ita-k', 'ITA Type K'), ('ita-l', 'ITA Type L (CEI 23-50)'), ('ita-m', 'ITA Type M (BS 546)'), ('ita-n', 'ITA Type N'), ('ita-o', 'ITA Type O')] * `USB` - [('usb-a', 'USB Type A'), ('usb-b', 'USB Type B'), ('usb-c', 'USB Type C'), ('usb-mini-a', 'USB Mini A'), ('usb-mini-b', 'USB Mini B'), ('usb-micro-a', 'USB Micro A'), ('usb-micro-b', 'USB Micro B'), ('usb-micro-ab', 'USB Micro AB'), ('usb-3-b', 'USB 3.0 Type B'), ('usb-3-micro-b', 'USB 3.0 Micro B')] * `Molex` - [('molex-micro-fit-1x2', 'Molex Micro-Fit 1x2'), ('molex-micro-fit-2x2', 'Molex Micro-Fit 2x2'), ('molex-micro-fit-2x4', 'Molex Micro-Fit 2x4')] * `DC` - [('dc-terminal', 'DC Terminal')] * `Proprietary` - [('saf-d-grid', 'Saf-D-Grid'), ('neutrik-powercon-20', 'Neutrik powerCON (20A)'), ('neutrik-powercon-32', 'Neutrik powerCON (32A)'), ('neutrik-powercon-true1', 'Neutrik powerCON TRUE1'), ('neutrik-powercon-true1-top', 'Neutrik powerCON TRUE1 TOP'), ('ubiquiti-smartpower', 'Ubiquiti SmartPower')] * `Other` - [('hardwired', 'Hardwired'), ('other', 'Other')] func (r ApiDcimPowerPortTemplatesListRequest) Type_(type_ DcimPowerPortTemplatesListTypeParameter) ApiDcimPowerPortTemplatesListRequest { r.type_ = &type_ return r } -// * `IEC 60320` - [('iec-60320-c6', 'C6'), ('iec-60320-c8', 'C8'), ('iec-60320-c14', 'C14'), ('iec-60320-c16', 'C16'), ('iec-60320-c20', 'C20'), ('iec-60320-c22', 'C22')] * `IEC 60309` - [('iec-60309-p-n-e-4h', 'P+N+E 4H'), ('iec-60309-p-n-e-6h', 'P+N+E 6H'), ('iec-60309-p-n-e-9h', 'P+N+E 9H'), ('iec-60309-2p-e-4h', '2P+E 4H'), ('iec-60309-2p-e-6h', '2P+E 6H'), ('iec-60309-2p-e-9h', '2P+E 9H'), ('iec-60309-3p-e-4h', '3P+E 4H'), ('iec-60309-3p-e-6h', '3P+E 6H'), ('iec-60309-3p-e-9h', '3P+E 9H'), ('iec-60309-3p-n-e-4h', '3P+N+E 4H'), ('iec-60309-3p-n-e-6h', '3P+N+E 6H'), ('iec-60309-3p-n-e-9h', '3P+N+E 9H')] * `IEC 60906-1` - [('iec-60906-1', 'IEC 60906-1'), ('nbr-14136-10a', '2P+T 10A (NBR 14136)'), ('nbr-14136-20a', '2P+T 20A (NBR 14136)')] * `NEMA (Non-locking)` - [('nema-1-15p', 'NEMA 1-15P'), ('nema-5-15p', 'NEMA 5-15P'), ('nema-5-20p', 'NEMA 5-20P'), ('nema-5-30p', 'NEMA 5-30P'), ('nema-5-50p', 'NEMA 5-50P'), ('nema-6-15p', 'NEMA 6-15P'), ('nema-6-20p', 'NEMA 6-20P'), ('nema-6-30p', 'NEMA 6-30P'), ('nema-6-50p', 'NEMA 6-50P'), ('nema-10-30p', 'NEMA 10-30P'), ('nema-10-50p', 'NEMA 10-50P'), ('nema-14-20p', 'NEMA 14-20P'), ('nema-14-30p', 'NEMA 14-30P'), ('nema-14-50p', 'NEMA 14-50P'), ('nema-14-60p', 'NEMA 14-60P'), ('nema-15-15p', 'NEMA 15-15P'), ('nema-15-20p', 'NEMA 15-20P'), ('nema-15-30p', 'NEMA 15-30P'), ('nema-15-50p', 'NEMA 15-50P'), ('nema-15-60p', 'NEMA 15-60P')] * `NEMA (Locking)` - [('nema-l1-15p', 'NEMA L1-15P'), ('nema-l5-15p', 'NEMA L5-15P'), ('nema-l5-20p', 'NEMA L5-20P'), ('nema-l5-30p', 'NEMA L5-30P'), ('nema-l5-50p', 'NEMA L5-50P'), ('nema-l6-15p', 'NEMA L6-15P'), ('nema-l6-20p', 'NEMA L6-20P'), ('nema-l6-30p', 'NEMA L6-30P'), ('nema-l6-50p', 'NEMA L6-50P'), ('nema-l10-30p', 'NEMA L10-30P'), ('nema-l14-20p', 'NEMA L14-20P'), ('nema-l14-30p', 'NEMA L14-30P'), ('nema-l14-50p', 'NEMA L14-50P'), ('nema-l14-60p', 'NEMA L14-60P'), ('nema-l15-20p', 'NEMA L15-20P'), ('nema-l15-30p', 'NEMA L15-30P'), ('nema-l15-50p', 'NEMA L15-50P'), ('nema-l15-60p', 'NEMA L15-60P'), ('nema-l21-20p', 'NEMA L21-20P'), ('nema-l21-30p', 'NEMA L21-30P'), ('nema-l22-30p', 'NEMA L22-30P')] * `California Style` - [('cs6361c', 'CS6361C'), ('cs6365c', 'CS6365C'), ('cs8165c', 'CS8165C'), ('cs8265c', 'CS8265C'), ('cs8365c', 'CS8365C'), ('cs8465c', 'CS8465C')] * `International/ITA` - [('ita-c', 'ITA Type C (CEE 7/16)'), ('ita-e', 'ITA Type E (CEE 7/6)'), ('ita-f', 'ITA Type F (CEE 7/4)'), ('ita-ef', 'ITA Type E/F (CEE 7/7)'), ('ita-g', 'ITA Type G (BS 1363)'), ('ita-h', 'ITA Type H'), ('ita-i', 'ITA Type I'), ('ita-j', 'ITA Type J'), ('ita-k', 'ITA Type K'), ('ita-l', 'ITA Type L (CEI 23-50)'), ('ita-m', 'ITA Type M (BS 546)'), ('ita-n', 'ITA Type N'), ('ita-o', 'ITA Type O')] * `USB` - [('usb-a', 'USB Type A'), ('usb-b', 'USB Type B'), ('usb-c', 'USB Type C'), ('usb-mini-a', 'USB Mini A'), ('usb-mini-b', 'USB Mini B'), ('usb-micro-a', 'USB Micro A'), ('usb-micro-b', 'USB Micro B'), ('usb-micro-ab', 'USB Micro AB'), ('usb-3-b', 'USB 3.0 Type B'), ('usb-3-micro-b', 'USB 3.0 Micro B')] * `Molex` - [('molex-micro-fit-1x2', 'Molex Micro-Fit 1x2'), ('molex-micro-fit-2x2', 'Molex Micro-Fit 2x2'), ('molex-micro-fit-2x4', 'Molex Micro-Fit 2x4')] * `DC` - [('dc-terminal', 'DC Terminal')] * `Proprietary` - [('saf-d-grid', 'Saf-D-Grid'), ('neutrik-powercon-20', 'Neutrik powerCON (20A)'), ('neutrik-powercon-32', 'Neutrik powerCON (32A)'), ('neutrik-powercon-true1', 'Neutrik powerCON TRUE1'), ('neutrik-powercon-true1-top', 'Neutrik powerCON TRUE1 TOP'), ('ubiquiti-smartpower', 'Ubiquiti SmartPower')] * `Other` - [('hardwired', 'Hardwired'), ('other', 'Other')] -func (r ApiDcimPowerPortTemplatesListRequest) TypeN(typeN DcimPowerPortTemplatesListTypeParameter) ApiDcimPowerPortTemplatesListRequest { - r.typeN = &typeN - return r -} - func (r ApiDcimPowerPortTemplatesListRequest) UpdatedByRequest(updatedByRequest string) ApiDcimPowerPortTemplatesListRequest { r.updatedByRequest = &updatedByRequest return r @@ -81960,28 +86545,6 @@ func (a *DcimAPIService) DcimPowerPortTemplatesListExecute(r ApiDcimPowerPortTem parameterAddToHeaderOrQuery(localVarQueryParams, "device_type_id__n", t, "multi") } } - if r.devicetypeId != nil { - t := *r.devicetypeId - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "devicetype_id", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "devicetype_id", t, "multi") - } - } - if r.devicetypeIdN != nil { - t := *r.devicetypeIdN - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "devicetype_id__n", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "devicetype_id__n", t, "multi") - } - } if r.id != nil { t := *r.id if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -82338,28 +86901,6 @@ func (a *DcimAPIService) DcimPowerPortTemplatesListExecute(r ApiDcimPowerPortTem parameterAddToHeaderOrQuery(localVarQueryParams, "module_type_id__n", t, "multi") } } - if r.moduletypeId != nil { - t := *r.moduletypeId - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "moduletype_id", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "moduletype_id", t, "multi") - } - } - if r.moduletypeIdN != nil { - t := *r.moduletypeIdN - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "moduletype_id__n", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "moduletype_id__n", t, "multi") - } - } if r.name != nil { t := *r.name if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -82485,9 +87026,6 @@ func (a *DcimAPIService) DcimPowerPortTemplatesListExecute(r ApiDcimPowerPortTem if r.type_ != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "type", r.type_, "") } - if r.typeN != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "type__n", r.typeN, "") - } if r.updatedByRequest != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "updated_by_request", r.updatedByRequest, "") } @@ -83537,7 +88075,6 @@ type ApiDcimPowerPortsListRequest struct { allocatedDrawLte *[]int32 allocatedDrawN *[]int32 cableEnd *CircuitsCircuitTerminationsListCableEndParameter - cableEndN *CircuitsCircuitTerminationsListCableEndParameter cableId *[]*int32 cableIdN *[]*int32 cabled *bool @@ -83565,6 +88102,21 @@ type ApiDcimPowerPortsListRequest struct { deviceN *[]*string deviceId *[]int32 deviceIdN *[]int32 + deviceRole *[]string + deviceRoleN *[]string + deviceRoleId *[]int32 + deviceRoleIdN *[]int32 + deviceStatus *[]string + deviceStatusEmpty *bool + deviceStatusIc *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusIe *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusIew *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusIsw *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusN *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusNic *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusNie *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusNiew *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusNisw *[]DcimConsolePortsListDeviceStatusIcParameterInner deviceType *[]string deviceTypeN *[]string deviceTypeId *[]int32 @@ -83629,26 +88181,31 @@ type ApiDcimPowerPortsListRequest struct { rackN *[]string rackId *[]int32 rackIdN *[]int32 - region *[]int32 - regionN *[]int32 - regionId *[]int32 - regionIdN *[]int32 - role *[]string - roleN *[]string - roleId *[]int32 - roleIdN *[]int32 + region *[]string + regionN *[]string + regionId *[]string + regionIdN *[]string site *[]string siteN *[]string - siteGroup *[]int32 - siteGroupN *[]int32 - siteGroupId *[]int32 - siteGroupIdN *[]int32 + siteGroup *[]string + siteGroupN *[]string + siteGroupId *[]string + siteGroupIdN *[]string siteId *[]int32 siteIdN *[]int32 tag *[]string tagN *[]string type_ *[]string - typeN *[]string + typeEmpty *bool + typeIc *[]DcimPowerPortsListTypeIcParameterInner + typeIe *[]DcimPowerPortsListTypeIcParameterInner + typeIew *[]DcimPowerPortsListTypeIcParameterInner + typeIsw *[]DcimPowerPortsListTypeIcParameterInner + typeN *[]DcimPowerPortsListTypeIcParameterInner + typeNic *[]DcimPowerPortsListTypeIcParameterInner + typeNie *[]DcimPowerPortsListTypeIcParameterInner + typeNiew *[]DcimPowerPortsListTypeIcParameterInner + typeNisw *[]DcimPowerPortsListTypeIcParameterInner updatedByRequest *string virtualChassis *[]string virtualChassisN *[]string @@ -83697,12 +88254,6 @@ func (r ApiDcimPowerPortsListRequest) CableEnd(cableEnd CircuitsCircuitTerminati return r } -// * `A` - A * `B` - B -func (r ApiDcimPowerPortsListRequest) CableEndN(cableEndN CircuitsCircuitTerminationsListCableEndParameter) ApiDcimPowerPortsListRequest { - r.cableEndN = &cableEndN - return r -} - // Cable (ID) func (r ApiDcimPowerPortsListRequest) CableId(cableId []*int32) ApiDcimPowerPortsListRequest { r.cableId = &cableId @@ -83844,6 +88395,94 @@ func (r ApiDcimPowerPortsListRequest) DeviceIdN(deviceIdN []int32) ApiDcimPowerP return r } +// Device role (slug) +func (r ApiDcimPowerPortsListRequest) DeviceRole(deviceRole []string) ApiDcimPowerPortsListRequest { + r.deviceRole = &deviceRole + return r +} + +// Device role (slug) +func (r ApiDcimPowerPortsListRequest) DeviceRoleN(deviceRoleN []string) ApiDcimPowerPortsListRequest { + r.deviceRoleN = &deviceRoleN + return r +} + +// Device role (ID) +func (r ApiDcimPowerPortsListRequest) DeviceRoleId(deviceRoleId []int32) ApiDcimPowerPortsListRequest { + r.deviceRoleId = &deviceRoleId + return r +} + +// Device role (ID) +func (r ApiDcimPowerPortsListRequest) DeviceRoleIdN(deviceRoleIdN []int32) ApiDcimPowerPortsListRequest { + r.deviceRoleIdN = &deviceRoleIdN + return r +} + +func (r ApiDcimPowerPortsListRequest) DeviceStatus(deviceStatus []string) ApiDcimPowerPortsListRequest { + r.deviceStatus = &deviceStatus + return r +} + +func (r ApiDcimPowerPortsListRequest) DeviceStatusEmpty(deviceStatusEmpty bool) ApiDcimPowerPortsListRequest { + r.deviceStatusEmpty = &deviceStatusEmpty + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimPowerPortsListRequest) DeviceStatusIc(deviceStatusIc []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimPowerPortsListRequest { + r.deviceStatusIc = &deviceStatusIc + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimPowerPortsListRequest) DeviceStatusIe(deviceStatusIe []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimPowerPortsListRequest { + r.deviceStatusIe = &deviceStatusIe + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimPowerPortsListRequest) DeviceStatusIew(deviceStatusIew []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimPowerPortsListRequest { + r.deviceStatusIew = &deviceStatusIew + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimPowerPortsListRequest) DeviceStatusIsw(deviceStatusIsw []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimPowerPortsListRequest { + r.deviceStatusIsw = &deviceStatusIsw + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimPowerPortsListRequest) DeviceStatusN(deviceStatusN []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimPowerPortsListRequest { + r.deviceStatusN = &deviceStatusN + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimPowerPortsListRequest) DeviceStatusNic(deviceStatusNic []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimPowerPortsListRequest { + r.deviceStatusNic = &deviceStatusNic + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimPowerPortsListRequest) DeviceStatusNie(deviceStatusNie []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimPowerPortsListRequest { + r.deviceStatusNie = &deviceStatusNie + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimPowerPortsListRequest) DeviceStatusNiew(deviceStatusNiew []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimPowerPortsListRequest { + r.deviceStatusNiew = &deviceStatusNiew + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimPowerPortsListRequest) DeviceStatusNisw(deviceStatusNisw []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimPowerPortsListRequest { + r.deviceStatusNisw = &deviceStatusNisw + return r +} + // Device type (model) func (r ApiDcimPowerPortsListRequest) DeviceType(deviceType []string) ApiDcimPowerPortsListRequest { r.deviceType = &deviceType @@ -84182,54 +88821,26 @@ func (r ApiDcimPowerPortsListRequest) RackIdN(rackIdN []int32) ApiDcimPowerPorts return r } -// Region (slug) -func (r ApiDcimPowerPortsListRequest) Region(region []int32) ApiDcimPowerPortsListRequest { +func (r ApiDcimPowerPortsListRequest) Region(region []string) ApiDcimPowerPortsListRequest { r.region = ®ion return r } -// Region (slug) -func (r ApiDcimPowerPortsListRequest) RegionN(regionN []int32) ApiDcimPowerPortsListRequest { +func (r ApiDcimPowerPortsListRequest) RegionN(regionN []string) ApiDcimPowerPortsListRequest { r.regionN = ®ionN return r } -// Region (ID) -func (r ApiDcimPowerPortsListRequest) RegionId(regionId []int32) ApiDcimPowerPortsListRequest { +func (r ApiDcimPowerPortsListRequest) RegionId(regionId []string) ApiDcimPowerPortsListRequest { r.regionId = ®ionId return r } -// Region (ID) -func (r ApiDcimPowerPortsListRequest) RegionIdN(regionIdN []int32) ApiDcimPowerPortsListRequest { +func (r ApiDcimPowerPortsListRequest) RegionIdN(regionIdN []string) ApiDcimPowerPortsListRequest { r.regionIdN = ®ionIdN return r } -// Device role (slug) -func (r ApiDcimPowerPortsListRequest) Role(role []string) ApiDcimPowerPortsListRequest { - r.role = &role - return r -} - -// Device role (slug) -func (r ApiDcimPowerPortsListRequest) RoleN(roleN []string) ApiDcimPowerPortsListRequest { - r.roleN = &roleN - return r -} - -// Device role (ID) -func (r ApiDcimPowerPortsListRequest) RoleId(roleId []int32) ApiDcimPowerPortsListRequest { - r.roleId = &roleId - return r -} - -// Device role (ID) -func (r ApiDcimPowerPortsListRequest) RoleIdN(roleIdN []int32) ApiDcimPowerPortsListRequest { - r.roleIdN = &roleIdN - return r -} - // Site name (slug) func (r ApiDcimPowerPortsListRequest) Site(site []string) ApiDcimPowerPortsListRequest { r.site = &site @@ -84242,26 +88853,22 @@ func (r ApiDcimPowerPortsListRequest) SiteN(siteN []string) ApiDcimPowerPortsLis return r } -// Site group (slug) -func (r ApiDcimPowerPortsListRequest) SiteGroup(siteGroup []int32) ApiDcimPowerPortsListRequest { +func (r ApiDcimPowerPortsListRequest) SiteGroup(siteGroup []string) ApiDcimPowerPortsListRequest { r.siteGroup = &siteGroup return r } -// Site group (slug) -func (r ApiDcimPowerPortsListRequest) SiteGroupN(siteGroupN []int32) ApiDcimPowerPortsListRequest { +func (r ApiDcimPowerPortsListRequest) SiteGroupN(siteGroupN []string) ApiDcimPowerPortsListRequest { r.siteGroupN = &siteGroupN return r } -// Site group (ID) -func (r ApiDcimPowerPortsListRequest) SiteGroupId(siteGroupId []int32) ApiDcimPowerPortsListRequest { +func (r ApiDcimPowerPortsListRequest) SiteGroupId(siteGroupId []string) ApiDcimPowerPortsListRequest { r.siteGroupId = &siteGroupId return r } -// Site group (ID) -func (r ApiDcimPowerPortsListRequest) SiteGroupIdN(siteGroupIdN []int32) ApiDcimPowerPortsListRequest { +func (r ApiDcimPowerPortsListRequest) SiteGroupIdN(siteGroupIdN []string) ApiDcimPowerPortsListRequest { r.siteGroupIdN = &siteGroupIdN return r } @@ -84294,12 +88901,65 @@ func (r ApiDcimPowerPortsListRequest) Type_(type_ []string) ApiDcimPowerPortsLis return r } -// Physical port type -func (r ApiDcimPowerPortsListRequest) TypeN(typeN []string) ApiDcimPowerPortsListRequest { +func (r ApiDcimPowerPortsListRequest) TypeEmpty(typeEmpty bool) ApiDcimPowerPortsListRequest { + r.typeEmpty = &typeEmpty + return r +} + +// Physical port type * `iec-60320-c6` - C6 * `iec-60320-c8` - C8 * `iec-60320-c14` - C14 * `iec-60320-c16` - C16 * `iec-60320-c20` - C20 * `iec-60320-c22` - C22 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15p` - NEMA 1-15P * `nema-5-15p` - NEMA 5-15P * `nema-5-20p` - NEMA 5-20P * `nema-5-30p` - NEMA 5-30P * `nema-5-50p` - NEMA 5-50P * `nema-6-15p` - NEMA 6-15P * `nema-6-20p` - NEMA 6-20P * `nema-6-30p` - NEMA 6-30P * `nema-6-50p` - NEMA 6-50P * `nema-10-30p` - NEMA 10-30P * `nema-10-50p` - NEMA 10-50P * `nema-14-20p` - NEMA 14-20P * `nema-14-30p` - NEMA 14-30P * `nema-14-50p` - NEMA 14-50P * `nema-14-60p` - NEMA 14-60P * `nema-15-15p` - NEMA 15-15P * `nema-15-20p` - NEMA 15-20P * `nema-15-30p` - NEMA 15-30P * `nema-15-50p` - NEMA 15-50P * `nema-15-60p` - NEMA 15-60P * `nema-l1-15p` - NEMA L1-15P * `nema-l5-15p` - NEMA L5-15P * `nema-l5-20p` - NEMA L5-20P * `nema-l5-30p` - NEMA L5-30P * `nema-l5-50p` - NEMA L5-50P * `nema-l6-15p` - NEMA L6-15P * `nema-l6-20p` - NEMA L6-20P * `nema-l6-30p` - NEMA L6-30P * `nema-l6-50p` - NEMA L6-50P * `nema-l10-30p` - NEMA L10-30P * `nema-l14-20p` - NEMA L14-20P * `nema-l14-30p` - NEMA L14-30P * `nema-l14-50p` - NEMA L14-50P * `nema-l14-60p` - NEMA L14-60P * `nema-l15-20p` - NEMA L15-20P * `nema-l15-30p` - NEMA L15-30P * `nema-l15-50p` - NEMA L15-50P * `nema-l15-60p` - NEMA L15-60P * `nema-l21-20p` - NEMA L21-20P * `nema-l21-30p` - NEMA L21-30P * `nema-l22-20p` - NEMA L22-20P * `nema-l22-30p` - NEMA L22-30P * `cs6361c` - CS6361C * `cs6365c` - CS6365C * `cs8165c` - CS8165C * `cs8265c` - CS8265C * `cs8365c` - CS8365C * `cs8465c` - CS8465C * `ita-c` - ITA Type C (CEE 7/16) * `ita-e` - ITA Type E (CEE 7/6) * `ita-f` - ITA Type F (CEE 7/4) * `ita-ef` - ITA Type E/F (CEE 7/7) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `usb-3-b` - USB 3.0 Type B * `usb-3-micro-b` - USB 3.0 Micro B * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20` - Neutrik powerCON (20A) * `neutrik-powercon-32` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other +func (r ApiDcimPowerPortsListRequest) TypeIc(typeIc []DcimPowerPortsListTypeIcParameterInner) ApiDcimPowerPortsListRequest { + r.typeIc = &typeIc + return r +} + +// Physical port type * `iec-60320-c6` - C6 * `iec-60320-c8` - C8 * `iec-60320-c14` - C14 * `iec-60320-c16` - C16 * `iec-60320-c20` - C20 * `iec-60320-c22` - C22 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15p` - NEMA 1-15P * `nema-5-15p` - NEMA 5-15P * `nema-5-20p` - NEMA 5-20P * `nema-5-30p` - NEMA 5-30P * `nema-5-50p` - NEMA 5-50P * `nema-6-15p` - NEMA 6-15P * `nema-6-20p` - NEMA 6-20P * `nema-6-30p` - NEMA 6-30P * `nema-6-50p` - NEMA 6-50P * `nema-10-30p` - NEMA 10-30P * `nema-10-50p` - NEMA 10-50P * `nema-14-20p` - NEMA 14-20P * `nema-14-30p` - NEMA 14-30P * `nema-14-50p` - NEMA 14-50P * `nema-14-60p` - NEMA 14-60P * `nema-15-15p` - NEMA 15-15P * `nema-15-20p` - NEMA 15-20P * `nema-15-30p` - NEMA 15-30P * `nema-15-50p` - NEMA 15-50P * `nema-15-60p` - NEMA 15-60P * `nema-l1-15p` - NEMA L1-15P * `nema-l5-15p` - NEMA L5-15P * `nema-l5-20p` - NEMA L5-20P * `nema-l5-30p` - NEMA L5-30P * `nema-l5-50p` - NEMA L5-50P * `nema-l6-15p` - NEMA L6-15P * `nema-l6-20p` - NEMA L6-20P * `nema-l6-30p` - NEMA L6-30P * `nema-l6-50p` - NEMA L6-50P * `nema-l10-30p` - NEMA L10-30P * `nema-l14-20p` - NEMA L14-20P * `nema-l14-30p` - NEMA L14-30P * `nema-l14-50p` - NEMA L14-50P * `nema-l14-60p` - NEMA L14-60P * `nema-l15-20p` - NEMA L15-20P * `nema-l15-30p` - NEMA L15-30P * `nema-l15-50p` - NEMA L15-50P * `nema-l15-60p` - NEMA L15-60P * `nema-l21-20p` - NEMA L21-20P * `nema-l21-30p` - NEMA L21-30P * `nema-l22-20p` - NEMA L22-20P * `nema-l22-30p` - NEMA L22-30P * `cs6361c` - CS6361C * `cs6365c` - CS6365C * `cs8165c` - CS8165C * `cs8265c` - CS8265C * `cs8365c` - CS8365C * `cs8465c` - CS8465C * `ita-c` - ITA Type C (CEE 7/16) * `ita-e` - ITA Type E (CEE 7/6) * `ita-f` - ITA Type F (CEE 7/4) * `ita-ef` - ITA Type E/F (CEE 7/7) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `usb-3-b` - USB 3.0 Type B * `usb-3-micro-b` - USB 3.0 Micro B * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20` - Neutrik powerCON (20A) * `neutrik-powercon-32` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other +func (r ApiDcimPowerPortsListRequest) TypeIe(typeIe []DcimPowerPortsListTypeIcParameterInner) ApiDcimPowerPortsListRequest { + r.typeIe = &typeIe + return r +} + +// Physical port type * `iec-60320-c6` - C6 * `iec-60320-c8` - C8 * `iec-60320-c14` - C14 * `iec-60320-c16` - C16 * `iec-60320-c20` - C20 * `iec-60320-c22` - C22 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15p` - NEMA 1-15P * `nema-5-15p` - NEMA 5-15P * `nema-5-20p` - NEMA 5-20P * `nema-5-30p` - NEMA 5-30P * `nema-5-50p` - NEMA 5-50P * `nema-6-15p` - NEMA 6-15P * `nema-6-20p` - NEMA 6-20P * `nema-6-30p` - NEMA 6-30P * `nema-6-50p` - NEMA 6-50P * `nema-10-30p` - NEMA 10-30P * `nema-10-50p` - NEMA 10-50P * `nema-14-20p` - NEMA 14-20P * `nema-14-30p` - NEMA 14-30P * `nema-14-50p` - NEMA 14-50P * `nema-14-60p` - NEMA 14-60P * `nema-15-15p` - NEMA 15-15P * `nema-15-20p` - NEMA 15-20P * `nema-15-30p` - NEMA 15-30P * `nema-15-50p` - NEMA 15-50P * `nema-15-60p` - NEMA 15-60P * `nema-l1-15p` - NEMA L1-15P * `nema-l5-15p` - NEMA L5-15P * `nema-l5-20p` - NEMA L5-20P * `nema-l5-30p` - NEMA L5-30P * `nema-l5-50p` - NEMA L5-50P * `nema-l6-15p` - NEMA L6-15P * `nema-l6-20p` - NEMA L6-20P * `nema-l6-30p` - NEMA L6-30P * `nema-l6-50p` - NEMA L6-50P * `nema-l10-30p` - NEMA L10-30P * `nema-l14-20p` - NEMA L14-20P * `nema-l14-30p` - NEMA L14-30P * `nema-l14-50p` - NEMA L14-50P * `nema-l14-60p` - NEMA L14-60P * `nema-l15-20p` - NEMA L15-20P * `nema-l15-30p` - NEMA L15-30P * `nema-l15-50p` - NEMA L15-50P * `nema-l15-60p` - NEMA L15-60P * `nema-l21-20p` - NEMA L21-20P * `nema-l21-30p` - NEMA L21-30P * `nema-l22-20p` - NEMA L22-20P * `nema-l22-30p` - NEMA L22-30P * `cs6361c` - CS6361C * `cs6365c` - CS6365C * `cs8165c` - CS8165C * `cs8265c` - CS8265C * `cs8365c` - CS8365C * `cs8465c` - CS8465C * `ita-c` - ITA Type C (CEE 7/16) * `ita-e` - ITA Type E (CEE 7/6) * `ita-f` - ITA Type F (CEE 7/4) * `ita-ef` - ITA Type E/F (CEE 7/7) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `usb-3-b` - USB 3.0 Type B * `usb-3-micro-b` - USB 3.0 Micro B * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20` - Neutrik powerCON (20A) * `neutrik-powercon-32` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other +func (r ApiDcimPowerPortsListRequest) TypeIew(typeIew []DcimPowerPortsListTypeIcParameterInner) ApiDcimPowerPortsListRequest { + r.typeIew = &typeIew + return r +} + +// Physical port type * `iec-60320-c6` - C6 * `iec-60320-c8` - C8 * `iec-60320-c14` - C14 * `iec-60320-c16` - C16 * `iec-60320-c20` - C20 * `iec-60320-c22` - C22 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15p` - NEMA 1-15P * `nema-5-15p` - NEMA 5-15P * `nema-5-20p` - NEMA 5-20P * `nema-5-30p` - NEMA 5-30P * `nema-5-50p` - NEMA 5-50P * `nema-6-15p` - NEMA 6-15P * `nema-6-20p` - NEMA 6-20P * `nema-6-30p` - NEMA 6-30P * `nema-6-50p` - NEMA 6-50P * `nema-10-30p` - NEMA 10-30P * `nema-10-50p` - NEMA 10-50P * `nema-14-20p` - NEMA 14-20P * `nema-14-30p` - NEMA 14-30P * `nema-14-50p` - NEMA 14-50P * `nema-14-60p` - NEMA 14-60P * `nema-15-15p` - NEMA 15-15P * `nema-15-20p` - NEMA 15-20P * `nema-15-30p` - NEMA 15-30P * `nema-15-50p` - NEMA 15-50P * `nema-15-60p` - NEMA 15-60P * `nema-l1-15p` - NEMA L1-15P * `nema-l5-15p` - NEMA L5-15P * `nema-l5-20p` - NEMA L5-20P * `nema-l5-30p` - NEMA L5-30P * `nema-l5-50p` - NEMA L5-50P * `nema-l6-15p` - NEMA L6-15P * `nema-l6-20p` - NEMA L6-20P * `nema-l6-30p` - NEMA L6-30P * `nema-l6-50p` - NEMA L6-50P * `nema-l10-30p` - NEMA L10-30P * `nema-l14-20p` - NEMA L14-20P * `nema-l14-30p` - NEMA L14-30P * `nema-l14-50p` - NEMA L14-50P * `nema-l14-60p` - NEMA L14-60P * `nema-l15-20p` - NEMA L15-20P * `nema-l15-30p` - NEMA L15-30P * `nema-l15-50p` - NEMA L15-50P * `nema-l15-60p` - NEMA L15-60P * `nema-l21-20p` - NEMA L21-20P * `nema-l21-30p` - NEMA L21-30P * `nema-l22-20p` - NEMA L22-20P * `nema-l22-30p` - NEMA L22-30P * `cs6361c` - CS6361C * `cs6365c` - CS6365C * `cs8165c` - CS8165C * `cs8265c` - CS8265C * `cs8365c` - CS8365C * `cs8465c` - CS8465C * `ita-c` - ITA Type C (CEE 7/16) * `ita-e` - ITA Type E (CEE 7/6) * `ita-f` - ITA Type F (CEE 7/4) * `ita-ef` - ITA Type E/F (CEE 7/7) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `usb-3-b` - USB 3.0 Type B * `usb-3-micro-b` - USB 3.0 Micro B * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20` - Neutrik powerCON (20A) * `neutrik-powercon-32` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other +func (r ApiDcimPowerPortsListRequest) TypeIsw(typeIsw []DcimPowerPortsListTypeIcParameterInner) ApiDcimPowerPortsListRequest { + r.typeIsw = &typeIsw + return r +} + +// Physical port type * `iec-60320-c6` - C6 * `iec-60320-c8` - C8 * `iec-60320-c14` - C14 * `iec-60320-c16` - C16 * `iec-60320-c20` - C20 * `iec-60320-c22` - C22 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15p` - NEMA 1-15P * `nema-5-15p` - NEMA 5-15P * `nema-5-20p` - NEMA 5-20P * `nema-5-30p` - NEMA 5-30P * `nema-5-50p` - NEMA 5-50P * `nema-6-15p` - NEMA 6-15P * `nema-6-20p` - NEMA 6-20P * `nema-6-30p` - NEMA 6-30P * `nema-6-50p` - NEMA 6-50P * `nema-10-30p` - NEMA 10-30P * `nema-10-50p` - NEMA 10-50P * `nema-14-20p` - NEMA 14-20P * `nema-14-30p` - NEMA 14-30P * `nema-14-50p` - NEMA 14-50P * `nema-14-60p` - NEMA 14-60P * `nema-15-15p` - NEMA 15-15P * `nema-15-20p` - NEMA 15-20P * `nema-15-30p` - NEMA 15-30P * `nema-15-50p` - NEMA 15-50P * `nema-15-60p` - NEMA 15-60P * `nema-l1-15p` - NEMA L1-15P * `nema-l5-15p` - NEMA L5-15P * `nema-l5-20p` - NEMA L5-20P * `nema-l5-30p` - NEMA L5-30P * `nema-l5-50p` - NEMA L5-50P * `nema-l6-15p` - NEMA L6-15P * `nema-l6-20p` - NEMA L6-20P * `nema-l6-30p` - NEMA L6-30P * `nema-l6-50p` - NEMA L6-50P * `nema-l10-30p` - NEMA L10-30P * `nema-l14-20p` - NEMA L14-20P * `nema-l14-30p` - NEMA L14-30P * `nema-l14-50p` - NEMA L14-50P * `nema-l14-60p` - NEMA L14-60P * `nema-l15-20p` - NEMA L15-20P * `nema-l15-30p` - NEMA L15-30P * `nema-l15-50p` - NEMA L15-50P * `nema-l15-60p` - NEMA L15-60P * `nema-l21-20p` - NEMA L21-20P * `nema-l21-30p` - NEMA L21-30P * `nema-l22-20p` - NEMA L22-20P * `nema-l22-30p` - NEMA L22-30P * `cs6361c` - CS6361C * `cs6365c` - CS6365C * `cs8165c` - CS8165C * `cs8265c` - CS8265C * `cs8365c` - CS8365C * `cs8465c` - CS8465C * `ita-c` - ITA Type C (CEE 7/16) * `ita-e` - ITA Type E (CEE 7/6) * `ita-f` - ITA Type F (CEE 7/4) * `ita-ef` - ITA Type E/F (CEE 7/7) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `usb-3-b` - USB 3.0 Type B * `usb-3-micro-b` - USB 3.0 Micro B * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20` - Neutrik powerCON (20A) * `neutrik-powercon-32` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other +func (r ApiDcimPowerPortsListRequest) TypeN(typeN []DcimPowerPortsListTypeIcParameterInner) ApiDcimPowerPortsListRequest { r.typeN = &typeN return r } +// Physical port type * `iec-60320-c6` - C6 * `iec-60320-c8` - C8 * `iec-60320-c14` - C14 * `iec-60320-c16` - C16 * `iec-60320-c20` - C20 * `iec-60320-c22` - C22 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15p` - NEMA 1-15P * `nema-5-15p` - NEMA 5-15P * `nema-5-20p` - NEMA 5-20P * `nema-5-30p` - NEMA 5-30P * `nema-5-50p` - NEMA 5-50P * `nema-6-15p` - NEMA 6-15P * `nema-6-20p` - NEMA 6-20P * `nema-6-30p` - NEMA 6-30P * `nema-6-50p` - NEMA 6-50P * `nema-10-30p` - NEMA 10-30P * `nema-10-50p` - NEMA 10-50P * `nema-14-20p` - NEMA 14-20P * `nema-14-30p` - NEMA 14-30P * `nema-14-50p` - NEMA 14-50P * `nema-14-60p` - NEMA 14-60P * `nema-15-15p` - NEMA 15-15P * `nema-15-20p` - NEMA 15-20P * `nema-15-30p` - NEMA 15-30P * `nema-15-50p` - NEMA 15-50P * `nema-15-60p` - NEMA 15-60P * `nema-l1-15p` - NEMA L1-15P * `nema-l5-15p` - NEMA L5-15P * `nema-l5-20p` - NEMA L5-20P * `nema-l5-30p` - NEMA L5-30P * `nema-l5-50p` - NEMA L5-50P * `nema-l6-15p` - NEMA L6-15P * `nema-l6-20p` - NEMA L6-20P * `nema-l6-30p` - NEMA L6-30P * `nema-l6-50p` - NEMA L6-50P * `nema-l10-30p` - NEMA L10-30P * `nema-l14-20p` - NEMA L14-20P * `nema-l14-30p` - NEMA L14-30P * `nema-l14-50p` - NEMA L14-50P * `nema-l14-60p` - NEMA L14-60P * `nema-l15-20p` - NEMA L15-20P * `nema-l15-30p` - NEMA L15-30P * `nema-l15-50p` - NEMA L15-50P * `nema-l15-60p` - NEMA L15-60P * `nema-l21-20p` - NEMA L21-20P * `nema-l21-30p` - NEMA L21-30P * `nema-l22-20p` - NEMA L22-20P * `nema-l22-30p` - NEMA L22-30P * `cs6361c` - CS6361C * `cs6365c` - CS6365C * `cs8165c` - CS8165C * `cs8265c` - CS8265C * `cs8365c` - CS8365C * `cs8465c` - CS8465C * `ita-c` - ITA Type C (CEE 7/16) * `ita-e` - ITA Type E (CEE 7/6) * `ita-f` - ITA Type F (CEE 7/4) * `ita-ef` - ITA Type E/F (CEE 7/7) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `usb-3-b` - USB 3.0 Type B * `usb-3-micro-b` - USB 3.0 Micro B * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20` - Neutrik powerCON (20A) * `neutrik-powercon-32` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other +func (r ApiDcimPowerPortsListRequest) TypeNic(typeNic []DcimPowerPortsListTypeIcParameterInner) ApiDcimPowerPortsListRequest { + r.typeNic = &typeNic + return r +} + +// Physical port type * `iec-60320-c6` - C6 * `iec-60320-c8` - C8 * `iec-60320-c14` - C14 * `iec-60320-c16` - C16 * `iec-60320-c20` - C20 * `iec-60320-c22` - C22 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15p` - NEMA 1-15P * `nema-5-15p` - NEMA 5-15P * `nema-5-20p` - NEMA 5-20P * `nema-5-30p` - NEMA 5-30P * `nema-5-50p` - NEMA 5-50P * `nema-6-15p` - NEMA 6-15P * `nema-6-20p` - NEMA 6-20P * `nema-6-30p` - NEMA 6-30P * `nema-6-50p` - NEMA 6-50P * `nema-10-30p` - NEMA 10-30P * `nema-10-50p` - NEMA 10-50P * `nema-14-20p` - NEMA 14-20P * `nema-14-30p` - NEMA 14-30P * `nema-14-50p` - NEMA 14-50P * `nema-14-60p` - NEMA 14-60P * `nema-15-15p` - NEMA 15-15P * `nema-15-20p` - NEMA 15-20P * `nema-15-30p` - NEMA 15-30P * `nema-15-50p` - NEMA 15-50P * `nema-15-60p` - NEMA 15-60P * `nema-l1-15p` - NEMA L1-15P * `nema-l5-15p` - NEMA L5-15P * `nema-l5-20p` - NEMA L5-20P * `nema-l5-30p` - NEMA L5-30P * `nema-l5-50p` - NEMA L5-50P * `nema-l6-15p` - NEMA L6-15P * `nema-l6-20p` - NEMA L6-20P * `nema-l6-30p` - NEMA L6-30P * `nema-l6-50p` - NEMA L6-50P * `nema-l10-30p` - NEMA L10-30P * `nema-l14-20p` - NEMA L14-20P * `nema-l14-30p` - NEMA L14-30P * `nema-l14-50p` - NEMA L14-50P * `nema-l14-60p` - NEMA L14-60P * `nema-l15-20p` - NEMA L15-20P * `nema-l15-30p` - NEMA L15-30P * `nema-l15-50p` - NEMA L15-50P * `nema-l15-60p` - NEMA L15-60P * `nema-l21-20p` - NEMA L21-20P * `nema-l21-30p` - NEMA L21-30P * `nema-l22-20p` - NEMA L22-20P * `nema-l22-30p` - NEMA L22-30P * `cs6361c` - CS6361C * `cs6365c` - CS6365C * `cs8165c` - CS8165C * `cs8265c` - CS8265C * `cs8365c` - CS8365C * `cs8465c` - CS8465C * `ita-c` - ITA Type C (CEE 7/16) * `ita-e` - ITA Type E (CEE 7/6) * `ita-f` - ITA Type F (CEE 7/4) * `ita-ef` - ITA Type E/F (CEE 7/7) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `usb-3-b` - USB 3.0 Type B * `usb-3-micro-b` - USB 3.0 Micro B * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20` - Neutrik powerCON (20A) * `neutrik-powercon-32` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other +func (r ApiDcimPowerPortsListRequest) TypeNie(typeNie []DcimPowerPortsListTypeIcParameterInner) ApiDcimPowerPortsListRequest { + r.typeNie = &typeNie + return r +} + +// Physical port type * `iec-60320-c6` - C6 * `iec-60320-c8` - C8 * `iec-60320-c14` - C14 * `iec-60320-c16` - C16 * `iec-60320-c20` - C20 * `iec-60320-c22` - C22 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15p` - NEMA 1-15P * `nema-5-15p` - NEMA 5-15P * `nema-5-20p` - NEMA 5-20P * `nema-5-30p` - NEMA 5-30P * `nema-5-50p` - NEMA 5-50P * `nema-6-15p` - NEMA 6-15P * `nema-6-20p` - NEMA 6-20P * `nema-6-30p` - NEMA 6-30P * `nema-6-50p` - NEMA 6-50P * `nema-10-30p` - NEMA 10-30P * `nema-10-50p` - NEMA 10-50P * `nema-14-20p` - NEMA 14-20P * `nema-14-30p` - NEMA 14-30P * `nema-14-50p` - NEMA 14-50P * `nema-14-60p` - NEMA 14-60P * `nema-15-15p` - NEMA 15-15P * `nema-15-20p` - NEMA 15-20P * `nema-15-30p` - NEMA 15-30P * `nema-15-50p` - NEMA 15-50P * `nema-15-60p` - NEMA 15-60P * `nema-l1-15p` - NEMA L1-15P * `nema-l5-15p` - NEMA L5-15P * `nema-l5-20p` - NEMA L5-20P * `nema-l5-30p` - NEMA L5-30P * `nema-l5-50p` - NEMA L5-50P * `nema-l6-15p` - NEMA L6-15P * `nema-l6-20p` - NEMA L6-20P * `nema-l6-30p` - NEMA L6-30P * `nema-l6-50p` - NEMA L6-50P * `nema-l10-30p` - NEMA L10-30P * `nema-l14-20p` - NEMA L14-20P * `nema-l14-30p` - NEMA L14-30P * `nema-l14-50p` - NEMA L14-50P * `nema-l14-60p` - NEMA L14-60P * `nema-l15-20p` - NEMA L15-20P * `nema-l15-30p` - NEMA L15-30P * `nema-l15-50p` - NEMA L15-50P * `nema-l15-60p` - NEMA L15-60P * `nema-l21-20p` - NEMA L21-20P * `nema-l21-30p` - NEMA L21-30P * `nema-l22-20p` - NEMA L22-20P * `nema-l22-30p` - NEMA L22-30P * `cs6361c` - CS6361C * `cs6365c` - CS6365C * `cs8165c` - CS8165C * `cs8265c` - CS8265C * `cs8365c` - CS8365C * `cs8465c` - CS8465C * `ita-c` - ITA Type C (CEE 7/16) * `ita-e` - ITA Type E (CEE 7/6) * `ita-f` - ITA Type F (CEE 7/4) * `ita-ef` - ITA Type E/F (CEE 7/7) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `usb-3-b` - USB 3.0 Type B * `usb-3-micro-b` - USB 3.0 Micro B * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20` - Neutrik powerCON (20A) * `neutrik-powercon-32` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other +func (r ApiDcimPowerPortsListRequest) TypeNiew(typeNiew []DcimPowerPortsListTypeIcParameterInner) ApiDcimPowerPortsListRequest { + r.typeNiew = &typeNiew + return r +} + +// Physical port type * `iec-60320-c6` - C6 * `iec-60320-c8` - C8 * `iec-60320-c14` - C14 * `iec-60320-c16` - C16 * `iec-60320-c20` - C20 * `iec-60320-c22` - C22 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15p` - NEMA 1-15P * `nema-5-15p` - NEMA 5-15P * `nema-5-20p` - NEMA 5-20P * `nema-5-30p` - NEMA 5-30P * `nema-5-50p` - NEMA 5-50P * `nema-6-15p` - NEMA 6-15P * `nema-6-20p` - NEMA 6-20P * `nema-6-30p` - NEMA 6-30P * `nema-6-50p` - NEMA 6-50P * `nema-10-30p` - NEMA 10-30P * `nema-10-50p` - NEMA 10-50P * `nema-14-20p` - NEMA 14-20P * `nema-14-30p` - NEMA 14-30P * `nema-14-50p` - NEMA 14-50P * `nema-14-60p` - NEMA 14-60P * `nema-15-15p` - NEMA 15-15P * `nema-15-20p` - NEMA 15-20P * `nema-15-30p` - NEMA 15-30P * `nema-15-50p` - NEMA 15-50P * `nema-15-60p` - NEMA 15-60P * `nema-l1-15p` - NEMA L1-15P * `nema-l5-15p` - NEMA L5-15P * `nema-l5-20p` - NEMA L5-20P * `nema-l5-30p` - NEMA L5-30P * `nema-l5-50p` - NEMA L5-50P * `nema-l6-15p` - NEMA L6-15P * `nema-l6-20p` - NEMA L6-20P * `nema-l6-30p` - NEMA L6-30P * `nema-l6-50p` - NEMA L6-50P * `nema-l10-30p` - NEMA L10-30P * `nema-l14-20p` - NEMA L14-20P * `nema-l14-30p` - NEMA L14-30P * `nema-l14-50p` - NEMA L14-50P * `nema-l14-60p` - NEMA L14-60P * `nema-l15-20p` - NEMA L15-20P * `nema-l15-30p` - NEMA L15-30P * `nema-l15-50p` - NEMA L15-50P * `nema-l15-60p` - NEMA L15-60P * `nema-l21-20p` - NEMA L21-20P * `nema-l21-30p` - NEMA L21-30P * `nema-l22-20p` - NEMA L22-20P * `nema-l22-30p` - NEMA L22-30P * `cs6361c` - CS6361C * `cs6365c` - CS6365C * `cs8165c` - CS8165C * `cs8265c` - CS8265C * `cs8365c` - CS8365C * `cs8465c` - CS8465C * `ita-c` - ITA Type C (CEE 7/16) * `ita-e` - ITA Type E (CEE 7/6) * `ita-f` - ITA Type F (CEE 7/4) * `ita-ef` - ITA Type E/F (CEE 7/7) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `usb-3-b` - USB 3.0 Type B * `usb-3-micro-b` - USB 3.0 Micro B * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20` - Neutrik powerCON (20A) * `neutrik-powercon-32` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other +func (r ApiDcimPowerPortsListRequest) TypeNisw(typeNisw []DcimPowerPortsListTypeIcParameterInner) ApiDcimPowerPortsListRequest { + r.typeNisw = &typeNisw + return r +} + func (r ApiDcimPowerPortsListRequest) UpdatedByRequest(updatedByRequest string) ApiDcimPowerPortsListRequest { r.updatedByRequest = &updatedByRequest return r @@ -84442,9 +89102,6 @@ func (a *DcimAPIService) DcimPowerPortsListExecute(r ApiDcimPowerPortsListReques if r.cableEnd != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "cable_end", r.cableEnd, "") } - if r.cableEndN != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "cable_end__n", r.cableEndN, "") - } if r.cableId != nil { t := *r.cableId if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -84710,6 +89367,163 @@ func (a *DcimAPIService) DcimPowerPortsListExecute(r ApiDcimPowerPortsListReques parameterAddToHeaderOrQuery(localVarQueryParams, "device_id__n", t, "multi") } } + if r.deviceRole != nil { + t := *r.deviceRole + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role", t, "multi") + } + } + if r.deviceRoleN != nil { + t := *r.deviceRoleN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role__n", t, "multi") + } + } + if r.deviceRoleId != nil { + t := *r.deviceRoleId + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role_id", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role_id", t, "multi") + } + } + if r.deviceRoleIdN != nil { + t := *r.deviceRoleIdN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role_id__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role_id__n", t, "multi") + } + } + if r.deviceStatus != nil { + t := *r.deviceStatus + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status", t, "multi") + } + } + if r.deviceStatusEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__empty", r.deviceStatusEmpty, "") + } + if r.deviceStatusIc != nil { + t := *r.deviceStatusIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__ic", t, "multi") + } + } + if r.deviceStatusIe != nil { + t := *r.deviceStatusIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__ie", t, "multi") + } + } + if r.deviceStatusIew != nil { + t := *r.deviceStatusIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__iew", t, "multi") + } + } + if r.deviceStatusIsw != nil { + t := *r.deviceStatusIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__isw", t, "multi") + } + } + if r.deviceStatusN != nil { + t := *r.deviceStatusN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__n", t, "multi") + } + } + if r.deviceStatusNic != nil { + t := *r.deviceStatusNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nic", t, "multi") + } + } + if r.deviceStatusNie != nil { + t := *r.deviceStatusNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nie", t, "multi") + } + } + if r.deviceStatusNiew != nil { + t := *r.deviceStatusNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__niew", t, "multi") + } + } + if r.deviceStatusNisw != nil { + t := *r.deviceStatusNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nisw", t, "multi") + } + } if r.deviceType != nil { t := *r.deviceType if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -85370,50 +90184,6 @@ func (a *DcimAPIService) DcimPowerPortsListExecute(r ApiDcimPowerPortsListReques parameterAddToHeaderOrQuery(localVarQueryParams, "region_id__n", t, "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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "role", t, "multi") - } - } - 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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "role__n", t, "multi") - } - } - if r.roleId != nil { - t := *r.roleId - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "role_id", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "role_id", t, "multi") - } - } - if r.roleIdN != nil { - t := *r.roleIdN - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "role_id__n", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "role_id__n", t, "multi") - } - } if r.site != nil { t := *r.site if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -85535,6 +90305,53 @@ func (a *DcimAPIService) DcimPowerPortsListExecute(r ApiDcimPowerPortsListReques parameterAddToHeaderOrQuery(localVarQueryParams, "type", t, "multi") } } + if r.typeEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__empty", r.typeEmpty, "") + } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__ic", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__ie", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__iew", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__isw", t, "multi") + } + } if r.typeN != nil { t := *r.typeN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -85546,6 +90363,50 @@ func (a *DcimAPIService) DcimPowerPortsListExecute(r ApiDcimPowerPortsListReques parameterAddToHeaderOrQuery(localVarQueryParams, "type__n", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__nic", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__nie", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__niew", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__nisw", t, "multi") + } + } if r.updatedByRequest != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "updated_by_request", r.updatedByRequest, "") } @@ -86783,36 +91644,36 @@ type ApiDcimRackReservationsListRequest struct { lastUpdatedLte *[]time.Time lastUpdatedN *[]time.Time limit *int32 - location *[]int32 - locationN *[]int32 - locationId *[]int32 - locationIdN *[]int32 + location *[]string + locationN *[]string + locationId *[]string + locationIdN *[]string modifiedByRequest *string offset *int32 ordering *string q *string rackId *[]int32 rackIdN *[]int32 - region *[]int32 - regionN *[]int32 - regionId *[]int32 - regionIdN *[]int32 + region *[]string + regionN *[]string + regionId *[]string + regionIdN *[]string site *[]string siteN *[]string - siteGroup *[]int32 - siteGroupN *[]int32 - siteGroupId *[]int32 - siteGroupIdN *[]int32 + siteGroup *[]string + siteGroupN *[]string + siteGroupId *[]string + siteGroupIdN *[]string siteId *[]int32 siteIdN *[]int32 tag *[]string tagN *[]string tenant *[]string tenantN *[]string - tenantGroup *[]int32 - tenantGroupN *[]int32 - tenantGroupId *[]int32 - tenantGroupIdN *[]int32 + tenantGroup *[]string + tenantGroupN *[]string + tenantGroupId *[]string + tenantGroupIdN *[]string tenantId *[]*int32 tenantIdN *[]*int32 unit *float32 @@ -86994,26 +91855,22 @@ func (r ApiDcimRackReservationsListRequest) Limit(limit int32) ApiDcimRackReserv return r } -// Location (slug) -func (r ApiDcimRackReservationsListRequest) Location(location []int32) ApiDcimRackReservationsListRequest { +func (r ApiDcimRackReservationsListRequest) Location(location []string) ApiDcimRackReservationsListRequest { r.location = &location return r } -// Location (slug) -func (r ApiDcimRackReservationsListRequest) LocationN(locationN []int32) ApiDcimRackReservationsListRequest { +func (r ApiDcimRackReservationsListRequest) LocationN(locationN []string) ApiDcimRackReservationsListRequest { r.locationN = &locationN return r } -// Location (ID) -func (r ApiDcimRackReservationsListRequest) LocationId(locationId []int32) ApiDcimRackReservationsListRequest { +func (r ApiDcimRackReservationsListRequest) LocationId(locationId []string) ApiDcimRackReservationsListRequest { r.locationId = &locationId return r } -// Location (ID) -func (r ApiDcimRackReservationsListRequest) LocationIdN(locationIdN []int32) ApiDcimRackReservationsListRequest { +func (r ApiDcimRackReservationsListRequest) LocationIdN(locationIdN []string) ApiDcimRackReservationsListRequest { r.locationIdN = &locationIdN return r } @@ -87053,26 +91910,22 @@ func (r ApiDcimRackReservationsListRequest) RackIdN(rackIdN []int32) ApiDcimRack return r } -// Region (slug) -func (r ApiDcimRackReservationsListRequest) Region(region []int32) ApiDcimRackReservationsListRequest { +func (r ApiDcimRackReservationsListRequest) Region(region []string) ApiDcimRackReservationsListRequest { r.region = ®ion return r } -// Region (slug) -func (r ApiDcimRackReservationsListRequest) RegionN(regionN []int32) ApiDcimRackReservationsListRequest { +func (r ApiDcimRackReservationsListRequest) RegionN(regionN []string) ApiDcimRackReservationsListRequest { r.regionN = ®ionN return r } -// Region (ID) -func (r ApiDcimRackReservationsListRequest) RegionId(regionId []int32) ApiDcimRackReservationsListRequest { +func (r ApiDcimRackReservationsListRequest) RegionId(regionId []string) ApiDcimRackReservationsListRequest { r.regionId = ®ionId return r } -// Region (ID) -func (r ApiDcimRackReservationsListRequest) RegionIdN(regionIdN []int32) ApiDcimRackReservationsListRequest { +func (r ApiDcimRackReservationsListRequest) RegionIdN(regionIdN []string) ApiDcimRackReservationsListRequest { r.regionIdN = ®ionIdN return r } @@ -87089,26 +91942,22 @@ func (r ApiDcimRackReservationsListRequest) SiteN(siteN []string) ApiDcimRackRes return r } -// Site group (slug) -func (r ApiDcimRackReservationsListRequest) SiteGroup(siteGroup []int32) ApiDcimRackReservationsListRequest { +func (r ApiDcimRackReservationsListRequest) SiteGroup(siteGroup []string) ApiDcimRackReservationsListRequest { r.siteGroup = &siteGroup return r } -// Site group (slug) -func (r ApiDcimRackReservationsListRequest) SiteGroupN(siteGroupN []int32) ApiDcimRackReservationsListRequest { +func (r ApiDcimRackReservationsListRequest) SiteGroupN(siteGroupN []string) ApiDcimRackReservationsListRequest { r.siteGroupN = &siteGroupN return r } -// Site group (ID) -func (r ApiDcimRackReservationsListRequest) SiteGroupId(siteGroupId []int32) ApiDcimRackReservationsListRequest { +func (r ApiDcimRackReservationsListRequest) SiteGroupId(siteGroupId []string) ApiDcimRackReservationsListRequest { r.siteGroupId = &siteGroupId return r } -// Site group (ID) -func (r ApiDcimRackReservationsListRequest) SiteGroupIdN(siteGroupIdN []int32) ApiDcimRackReservationsListRequest { +func (r ApiDcimRackReservationsListRequest) SiteGroupIdN(siteGroupIdN []string) ApiDcimRackReservationsListRequest { r.siteGroupIdN = &siteGroupIdN return r } @@ -87147,26 +91996,22 @@ func (r ApiDcimRackReservationsListRequest) TenantN(tenantN []string) ApiDcimRac return r } -// Tenant Group (slug) -func (r ApiDcimRackReservationsListRequest) TenantGroup(tenantGroup []int32) ApiDcimRackReservationsListRequest { +func (r ApiDcimRackReservationsListRequest) TenantGroup(tenantGroup []string) ApiDcimRackReservationsListRequest { r.tenantGroup = &tenantGroup return r } -// Tenant Group (slug) -func (r ApiDcimRackReservationsListRequest) TenantGroupN(tenantGroupN []int32) ApiDcimRackReservationsListRequest { +func (r ApiDcimRackReservationsListRequest) TenantGroupN(tenantGroupN []string) ApiDcimRackReservationsListRequest { r.tenantGroupN = &tenantGroupN return r } -// Tenant Group (ID) -func (r ApiDcimRackReservationsListRequest) TenantGroupId(tenantGroupId []int32) ApiDcimRackReservationsListRequest { +func (r ApiDcimRackReservationsListRequest) TenantGroupId(tenantGroupId []string) ApiDcimRackReservationsListRequest { r.tenantGroupId = &tenantGroupId return r } -// Tenant Group (ID) -func (r ApiDcimRackReservationsListRequest) TenantGroupIdN(tenantGroupIdN []int32) ApiDcimRackReservationsListRequest { +func (r ApiDcimRackReservationsListRequest) TenantGroupIdN(tenantGroupIdN []string) ApiDcimRackReservationsListRequest { r.tenantGroupIdN = &tenantGroupIdN return r } @@ -90411,27 +95256,3341 @@ func (a *DcimAPIService) DcimRackRolesPartialUpdateExecute(r ApiDcimRackRolesPar return localVarReturnValue, localVarHTTPResponse, nil } -type ApiDcimRackRolesRetrieveRequest struct { +type ApiDcimRackRolesRetrieveRequest struct { + ctx context.Context + ApiService *DcimAPIService + id int32 +} + +func (r ApiDcimRackRolesRetrieveRequest) Execute() (*RackRole, *http.Response, error) { + return r.ApiService.DcimRackRolesRetrieveExecute(r) +} + +/* +DcimRackRolesRetrieve Method for DcimRackRolesRetrieve + +Get a rack role object. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id A unique integer value identifying this rack role. + @return ApiDcimRackRolesRetrieveRequest +*/ +func (a *DcimAPIService) DcimRackRolesRetrieve(ctx context.Context, id int32) ApiDcimRackRolesRetrieveRequest { + return ApiDcimRackRolesRetrieveRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// +// @return RackRole +func (a *DcimAPIService) DcimRackRolesRetrieveExecute(r ApiDcimRackRolesRetrieveRequest) (*RackRole, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *RackRole + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackRolesRetrieve") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/dcim/rack-roles/{id}/" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // 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"} + + // 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 ApiDcimRackRolesUpdateRequest struct { + ctx context.Context + ApiService *DcimAPIService + id int32 + rackRoleRequest *RackRoleRequest +} + +func (r ApiDcimRackRolesUpdateRequest) RackRoleRequest(rackRoleRequest RackRoleRequest) ApiDcimRackRolesUpdateRequest { + r.rackRoleRequest = &rackRoleRequest + return r +} + +func (r ApiDcimRackRolesUpdateRequest) Execute() (*RackRole, *http.Response, error) { + return r.ApiService.DcimRackRolesUpdateExecute(r) +} + +/* +DcimRackRolesUpdate Method for DcimRackRolesUpdate + +Put a rack role object. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id A unique integer value identifying this rack role. + @return ApiDcimRackRolesUpdateRequest +*/ +func (a *DcimAPIService) DcimRackRolesUpdate(ctx context.Context, id int32) ApiDcimRackRolesUpdateRequest { + return ApiDcimRackRolesUpdateRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// +// @return RackRole +func (a *DcimAPIService) DcimRackRolesUpdateExecute(r ApiDcimRackRolesUpdateRequest) (*RackRole, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *RackRole + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackRolesUpdate") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/dcim/rack-roles/{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.rackRoleRequest == nil { + return localVarReturnValue, nil, reportError("rackRoleRequest is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "multipart/form-data"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.rackRoleRequest + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["tokenAuth"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + 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 ApiDcimRackTypesBulkDestroyRequest struct { + ctx context.Context + ApiService *DcimAPIService + rackTypeRequest *[]RackTypeRequest +} + +func (r ApiDcimRackTypesBulkDestroyRequest) RackTypeRequest(rackTypeRequest []RackTypeRequest) ApiDcimRackTypesBulkDestroyRequest { + r.rackTypeRequest = &rackTypeRequest + return r +} + +func (r ApiDcimRackTypesBulkDestroyRequest) Execute() (*http.Response, error) { + return r.ApiService.DcimRackTypesBulkDestroyExecute(r) +} + +/* +DcimRackTypesBulkDestroy Method for DcimRackTypesBulkDestroy + +Delete a list of rack type objects. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiDcimRackTypesBulkDestroyRequest +*/ +func (a *DcimAPIService) DcimRackTypesBulkDestroy(ctx context.Context) ApiDcimRackTypesBulkDestroyRequest { + return ApiDcimRackTypesBulkDestroyRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +func (a *DcimAPIService) DcimRackTypesBulkDestroyExecute(r ApiDcimRackTypesBulkDestroyRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackTypesBulkDestroy") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/dcim/rack-types/" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.rackTypeRequest == nil { + return nil, reportError("rackTypeRequest is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "multipart/form-data"} + + // 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.rackTypeRequest + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["tokenAuth"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + 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 ApiDcimRackTypesBulkPartialUpdateRequest struct { + ctx context.Context + ApiService *DcimAPIService + rackTypeRequest *[]RackTypeRequest +} + +func (r ApiDcimRackTypesBulkPartialUpdateRequest) RackTypeRequest(rackTypeRequest []RackTypeRequest) ApiDcimRackTypesBulkPartialUpdateRequest { + r.rackTypeRequest = &rackTypeRequest + return r +} + +func (r ApiDcimRackTypesBulkPartialUpdateRequest) Execute() ([]RackType, *http.Response, error) { + return r.ApiService.DcimRackTypesBulkPartialUpdateExecute(r) +} + +/* +DcimRackTypesBulkPartialUpdate Method for DcimRackTypesBulkPartialUpdate + +Patch a list of rack type objects. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiDcimRackTypesBulkPartialUpdateRequest +*/ +func (a *DcimAPIService) DcimRackTypesBulkPartialUpdate(ctx context.Context) ApiDcimRackTypesBulkPartialUpdateRequest { + return ApiDcimRackTypesBulkPartialUpdateRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// +// @return []RackType +func (a *DcimAPIService) DcimRackTypesBulkPartialUpdateExecute(r ApiDcimRackTypesBulkPartialUpdateRequest) ([]RackType, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPatch + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []RackType + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackTypesBulkPartialUpdate") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/dcim/rack-types/" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.rackTypeRequest == nil { + return localVarReturnValue, nil, reportError("rackTypeRequest is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "multipart/form-data"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.rackTypeRequest + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["tokenAuth"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + 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 ApiDcimRackTypesBulkUpdateRequest struct { + ctx context.Context + ApiService *DcimAPIService + rackTypeRequest *[]RackTypeRequest +} + +func (r ApiDcimRackTypesBulkUpdateRequest) RackTypeRequest(rackTypeRequest []RackTypeRequest) ApiDcimRackTypesBulkUpdateRequest { + r.rackTypeRequest = &rackTypeRequest + return r +} + +func (r ApiDcimRackTypesBulkUpdateRequest) Execute() ([]RackType, *http.Response, error) { + return r.ApiService.DcimRackTypesBulkUpdateExecute(r) +} + +/* +DcimRackTypesBulkUpdate Method for DcimRackTypesBulkUpdate + +Put a list of rack type objects. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiDcimRackTypesBulkUpdateRequest +*/ +func (a *DcimAPIService) DcimRackTypesBulkUpdate(ctx context.Context) ApiDcimRackTypesBulkUpdateRequest { + return ApiDcimRackTypesBulkUpdateRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// +// @return []RackType +func (a *DcimAPIService) DcimRackTypesBulkUpdateExecute(r ApiDcimRackTypesBulkUpdateRequest) ([]RackType, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []RackType + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackTypesBulkUpdate") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/dcim/rack-types/" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.rackTypeRequest == nil { + return localVarReturnValue, nil, reportError("rackTypeRequest is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "multipart/form-data"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.rackTypeRequest + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["tokenAuth"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + 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 ApiDcimRackTypesCreateRequest struct { + ctx context.Context + ApiService *DcimAPIService + writableRackTypeRequest *WritableRackTypeRequest +} + +func (r ApiDcimRackTypesCreateRequest) WritableRackTypeRequest(writableRackTypeRequest WritableRackTypeRequest) ApiDcimRackTypesCreateRequest { + r.writableRackTypeRequest = &writableRackTypeRequest + return r +} + +func (r ApiDcimRackTypesCreateRequest) Execute() (*RackType, *http.Response, error) { + return r.ApiService.DcimRackTypesCreateExecute(r) +} + +/* +DcimRackTypesCreate Method for DcimRackTypesCreate + +Post a list of rack type objects. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiDcimRackTypesCreateRequest +*/ +func (a *DcimAPIService) DcimRackTypesCreate(ctx context.Context) ApiDcimRackTypesCreateRequest { + return ApiDcimRackTypesCreateRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// +// @return RackType +func (a *DcimAPIService) DcimRackTypesCreateExecute(r ApiDcimRackTypesCreateRequest) (*RackType, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *RackType + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackTypesCreate") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/dcim/rack-types/" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.writableRackTypeRequest == nil { + return localVarReturnValue, nil, reportError("writableRackTypeRequest is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "multipart/form-data"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.writableRackTypeRequest + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["tokenAuth"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + 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 ApiDcimRackTypesDestroyRequest struct { + ctx context.Context + ApiService *DcimAPIService + id int32 +} + +func (r ApiDcimRackTypesDestroyRequest) Execute() (*http.Response, error) { + return r.ApiService.DcimRackTypesDestroyExecute(r) +} + +/* +DcimRackTypesDestroy Method for DcimRackTypesDestroy + +Delete a rack type object. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id A unique integer value identifying this rack type. + @return ApiDcimRackTypesDestroyRequest +*/ +func (a *DcimAPIService) DcimRackTypesDestroy(ctx context.Context, id int32) ApiDcimRackTypesDestroyRequest { + return ApiDcimRackTypesDestroyRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +func (a *DcimAPIService) DcimRackTypesDestroyExecute(r ApiDcimRackTypesDestroyRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackTypesDestroy") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/dcim/rack-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{} + + // 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 ApiDcimRackTypesListRequest struct { + ctx context.Context + ApiService *DcimAPIService + created *[]time.Time + createdEmpty *[]time.Time + createdGt *[]time.Time + createdGte *[]time.Time + createdLt *[]time.Time + createdLte *[]time.Time + createdN *[]time.Time + createdByRequest *string + descUnits *bool + description *[]string + descriptionEmpty *bool + descriptionIc *[]string + descriptionIe *[]string + descriptionIew *[]string + descriptionIsw *[]string + descriptionN *[]string + descriptionNic *[]string + descriptionNie *[]string + descriptionNiew *[]string + descriptionNisw *[]string + formFactor *[]string + formFactorEmpty *bool + formFactorIc *[]DcimRackTypesListFormFactorIcParameterInner + formFactorIe *[]DcimRackTypesListFormFactorIcParameterInner + formFactorIew *[]DcimRackTypesListFormFactorIcParameterInner + formFactorIsw *[]DcimRackTypesListFormFactorIcParameterInner + formFactorN *[]DcimRackTypesListFormFactorIcParameterInner + formFactorNic *[]DcimRackTypesListFormFactorIcParameterInner + formFactorNie *[]DcimRackTypesListFormFactorIcParameterInner + formFactorNiew *[]DcimRackTypesListFormFactorIcParameterInner + formFactorNisw *[]DcimRackTypesListFormFactorIcParameterInner + id *[]int32 + idEmpty *bool + idGt *[]int32 + idGte *[]int32 + idLt *[]int32 + idLte *[]int32 + idN *[]int32 + lastUpdated *[]time.Time + lastUpdatedEmpty *[]time.Time + lastUpdatedGt *[]time.Time + lastUpdatedGte *[]time.Time + lastUpdatedLt *[]time.Time + lastUpdatedLte *[]time.Time + lastUpdatedN *[]time.Time + limit *int32 + manufacturer *[]string + manufacturerN *[]string + manufacturerId *[]int32 + manufacturerIdN *[]int32 + maxWeight *[]int32 + maxWeightEmpty *bool + maxWeightGt *[]int32 + maxWeightGte *[]int32 + maxWeightLt *[]int32 + maxWeightLte *[]int32 + maxWeightN *[]int32 + model *[]string + modelEmpty *bool + modelIc *[]string + modelIe *[]string + modelIew *[]string + modelIsw *[]string + modelN *[]string + modelNic *[]string + modelNie *[]string + modelNiew *[]string + modelNisw *[]string + modifiedByRequest *string + mountingDepth *[]int32 + mountingDepthEmpty *bool + mountingDepthGt *[]int32 + mountingDepthGte *[]int32 + mountingDepthLt *[]int32 + mountingDepthLte *[]int32 + mountingDepthN *[]int32 + offset *int32 + ordering *string + outerDepth *[]int32 + outerDepthEmpty *bool + outerDepthGt *[]int32 + outerDepthGte *[]int32 + outerDepthLt *[]int32 + outerDepthLte *[]int32 + outerDepthN *[]int32 + outerUnit *DcimRackTypesListOuterUnitParameter + outerWidth *[]int32 + outerWidthEmpty *bool + outerWidthGt *[]int32 + outerWidthGte *[]int32 + outerWidthLt *[]int32 + outerWidthLte *[]int32 + outerWidthN *[]int32 + q *string + slug *[]string + slugEmpty *bool + slugIc *[]string + slugIe *[]string + slugIew *[]string + slugIsw *[]string + slugN *[]string + slugNic *[]string + slugNie *[]string + slugNiew *[]string + slugNisw *[]string + startingUnit *[]int32 + startingUnitEmpty *bool + startingUnitGt *[]int32 + startingUnitGte *[]int32 + startingUnitLt *[]int32 + startingUnitLte *[]int32 + startingUnitN *[]int32 + tag *[]string + tagN *[]string + uHeight *[]int32 + uHeightEmpty *bool + uHeightGt *[]int32 + uHeightGte *[]int32 + uHeightLt *[]int32 + uHeightLte *[]int32 + uHeightN *[]int32 + updatedByRequest *string + weight *[]float64 + weightEmpty *bool + weightGt *[]float64 + weightGte *[]float64 + weightLt *[]float64 + weightLte *[]float64 + weightN *[]float64 + weightUnit *DcimDeviceTypesListWeightUnitParameter + width *[]int32 + widthIc *[]DcimRackTypesListWidthIcParameterInner + widthIe *[]DcimRackTypesListWidthIcParameterInner + widthIew *[]DcimRackTypesListWidthIcParameterInner + widthIsw *[]DcimRackTypesListWidthIcParameterInner + widthN *[]DcimRackTypesListWidthIcParameterInner + widthNic *[]DcimRackTypesListWidthIcParameterInner + widthNie *[]DcimRackTypesListWidthIcParameterInner + widthNiew *[]DcimRackTypesListWidthIcParameterInner + widthNisw *[]DcimRackTypesListWidthIcParameterInner +} + +func (r ApiDcimRackTypesListRequest) Created(created []time.Time) ApiDcimRackTypesListRequest { + r.created = &created + return r +} + +func (r ApiDcimRackTypesListRequest) CreatedEmpty(createdEmpty []time.Time) ApiDcimRackTypesListRequest { + r.createdEmpty = &createdEmpty + return r +} + +func (r ApiDcimRackTypesListRequest) CreatedGt(createdGt []time.Time) ApiDcimRackTypesListRequest { + r.createdGt = &createdGt + return r +} + +func (r ApiDcimRackTypesListRequest) CreatedGte(createdGte []time.Time) ApiDcimRackTypesListRequest { + r.createdGte = &createdGte + return r +} + +func (r ApiDcimRackTypesListRequest) CreatedLt(createdLt []time.Time) ApiDcimRackTypesListRequest { + r.createdLt = &createdLt + return r +} + +func (r ApiDcimRackTypesListRequest) CreatedLte(createdLte []time.Time) ApiDcimRackTypesListRequest { + r.createdLte = &createdLte + return r +} + +func (r ApiDcimRackTypesListRequest) CreatedN(createdN []time.Time) ApiDcimRackTypesListRequest { + r.createdN = &createdN + return r +} + +func (r ApiDcimRackTypesListRequest) CreatedByRequest(createdByRequest string) ApiDcimRackTypesListRequest { + r.createdByRequest = &createdByRequest + return r +} + +func (r ApiDcimRackTypesListRequest) DescUnits(descUnits bool) ApiDcimRackTypesListRequest { + r.descUnits = &descUnits + return r +} + +func (r ApiDcimRackTypesListRequest) Description(description []string) ApiDcimRackTypesListRequest { + r.description = &description + return r +} + +func (r ApiDcimRackTypesListRequest) DescriptionEmpty(descriptionEmpty bool) ApiDcimRackTypesListRequest { + r.descriptionEmpty = &descriptionEmpty + return r +} + +func (r ApiDcimRackTypesListRequest) DescriptionIc(descriptionIc []string) ApiDcimRackTypesListRequest { + r.descriptionIc = &descriptionIc + return r +} + +func (r ApiDcimRackTypesListRequest) DescriptionIe(descriptionIe []string) ApiDcimRackTypesListRequest { + r.descriptionIe = &descriptionIe + return r +} + +func (r ApiDcimRackTypesListRequest) DescriptionIew(descriptionIew []string) ApiDcimRackTypesListRequest { + r.descriptionIew = &descriptionIew + return r +} + +func (r ApiDcimRackTypesListRequest) DescriptionIsw(descriptionIsw []string) ApiDcimRackTypesListRequest { + r.descriptionIsw = &descriptionIsw + return r +} + +func (r ApiDcimRackTypesListRequest) DescriptionN(descriptionN []string) ApiDcimRackTypesListRequest { + r.descriptionN = &descriptionN + return r +} + +func (r ApiDcimRackTypesListRequest) DescriptionNic(descriptionNic []string) ApiDcimRackTypesListRequest { + r.descriptionNic = &descriptionNic + return r +} + +func (r ApiDcimRackTypesListRequest) DescriptionNie(descriptionNie []string) ApiDcimRackTypesListRequest { + r.descriptionNie = &descriptionNie + return r +} + +func (r ApiDcimRackTypesListRequest) DescriptionNiew(descriptionNiew []string) ApiDcimRackTypesListRequest { + r.descriptionNiew = &descriptionNiew + return r +} + +func (r ApiDcimRackTypesListRequest) DescriptionNisw(descriptionNisw []string) ApiDcimRackTypesListRequest { + r.descriptionNisw = &descriptionNisw + return r +} + +func (r ApiDcimRackTypesListRequest) FormFactor(formFactor []string) ApiDcimRackTypesListRequest { + r.formFactor = &formFactor + return r +} + +func (r ApiDcimRackTypesListRequest) FormFactorEmpty(formFactorEmpty bool) ApiDcimRackTypesListRequest { + r.formFactorEmpty = &formFactorEmpty + return r +} + +// * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) +func (r ApiDcimRackTypesListRequest) FormFactorIc(formFactorIc []DcimRackTypesListFormFactorIcParameterInner) ApiDcimRackTypesListRequest { + r.formFactorIc = &formFactorIc + return r +} + +// * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) +func (r ApiDcimRackTypesListRequest) FormFactorIe(formFactorIe []DcimRackTypesListFormFactorIcParameterInner) ApiDcimRackTypesListRequest { + r.formFactorIe = &formFactorIe + return r +} + +// * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) +func (r ApiDcimRackTypesListRequest) FormFactorIew(formFactorIew []DcimRackTypesListFormFactorIcParameterInner) ApiDcimRackTypesListRequest { + r.formFactorIew = &formFactorIew + return r +} + +// * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) +func (r ApiDcimRackTypesListRequest) FormFactorIsw(formFactorIsw []DcimRackTypesListFormFactorIcParameterInner) ApiDcimRackTypesListRequest { + r.formFactorIsw = &formFactorIsw + return r +} + +// * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) +func (r ApiDcimRackTypesListRequest) FormFactorN(formFactorN []DcimRackTypesListFormFactorIcParameterInner) ApiDcimRackTypesListRequest { + r.formFactorN = &formFactorN + return r +} + +// * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) +func (r ApiDcimRackTypesListRequest) FormFactorNic(formFactorNic []DcimRackTypesListFormFactorIcParameterInner) ApiDcimRackTypesListRequest { + r.formFactorNic = &formFactorNic + return r +} + +// * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) +func (r ApiDcimRackTypesListRequest) FormFactorNie(formFactorNie []DcimRackTypesListFormFactorIcParameterInner) ApiDcimRackTypesListRequest { + r.formFactorNie = &formFactorNie + return r +} + +// * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) +func (r ApiDcimRackTypesListRequest) FormFactorNiew(formFactorNiew []DcimRackTypesListFormFactorIcParameterInner) ApiDcimRackTypesListRequest { + r.formFactorNiew = &formFactorNiew + return r +} + +// * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) +func (r ApiDcimRackTypesListRequest) FormFactorNisw(formFactorNisw []DcimRackTypesListFormFactorIcParameterInner) ApiDcimRackTypesListRequest { + r.formFactorNisw = &formFactorNisw + return r +} + +func (r ApiDcimRackTypesListRequest) Id(id []int32) ApiDcimRackTypesListRequest { + r.id = &id + return r +} + +func (r ApiDcimRackTypesListRequest) IdEmpty(idEmpty bool) ApiDcimRackTypesListRequest { + r.idEmpty = &idEmpty + return r +} + +func (r ApiDcimRackTypesListRequest) IdGt(idGt []int32) ApiDcimRackTypesListRequest { + r.idGt = &idGt + return r +} + +func (r ApiDcimRackTypesListRequest) IdGte(idGte []int32) ApiDcimRackTypesListRequest { + r.idGte = &idGte + return r +} + +func (r ApiDcimRackTypesListRequest) IdLt(idLt []int32) ApiDcimRackTypesListRequest { + r.idLt = &idLt + return r +} + +func (r ApiDcimRackTypesListRequest) IdLte(idLte []int32) ApiDcimRackTypesListRequest { + r.idLte = &idLte + return r +} + +func (r ApiDcimRackTypesListRequest) IdN(idN []int32) ApiDcimRackTypesListRequest { + r.idN = &idN + return r +} + +func (r ApiDcimRackTypesListRequest) LastUpdated(lastUpdated []time.Time) ApiDcimRackTypesListRequest { + r.lastUpdated = &lastUpdated + return r +} + +func (r ApiDcimRackTypesListRequest) LastUpdatedEmpty(lastUpdatedEmpty []time.Time) ApiDcimRackTypesListRequest { + r.lastUpdatedEmpty = &lastUpdatedEmpty + return r +} + +func (r ApiDcimRackTypesListRequest) LastUpdatedGt(lastUpdatedGt []time.Time) ApiDcimRackTypesListRequest { + r.lastUpdatedGt = &lastUpdatedGt + return r +} + +func (r ApiDcimRackTypesListRequest) LastUpdatedGte(lastUpdatedGte []time.Time) ApiDcimRackTypesListRequest { + r.lastUpdatedGte = &lastUpdatedGte + return r +} + +func (r ApiDcimRackTypesListRequest) LastUpdatedLt(lastUpdatedLt []time.Time) ApiDcimRackTypesListRequest { + r.lastUpdatedLt = &lastUpdatedLt + return r +} + +func (r ApiDcimRackTypesListRequest) LastUpdatedLte(lastUpdatedLte []time.Time) ApiDcimRackTypesListRequest { + r.lastUpdatedLte = &lastUpdatedLte + return r +} + +func (r ApiDcimRackTypesListRequest) LastUpdatedN(lastUpdatedN []time.Time) ApiDcimRackTypesListRequest { + r.lastUpdatedN = &lastUpdatedN + return r +} + +// Number of results to return per page. +func (r ApiDcimRackTypesListRequest) Limit(limit int32) ApiDcimRackTypesListRequest { + r.limit = &limit + return r +} + +// Manufacturer (slug) +func (r ApiDcimRackTypesListRequest) Manufacturer(manufacturer []string) ApiDcimRackTypesListRequest { + r.manufacturer = &manufacturer + return r +} + +// Manufacturer (slug) +func (r ApiDcimRackTypesListRequest) ManufacturerN(manufacturerN []string) ApiDcimRackTypesListRequest { + r.manufacturerN = &manufacturerN + return r +} + +// Manufacturer (ID) +func (r ApiDcimRackTypesListRequest) ManufacturerId(manufacturerId []int32) ApiDcimRackTypesListRequest { + r.manufacturerId = &manufacturerId + return r +} + +// Manufacturer (ID) +func (r ApiDcimRackTypesListRequest) ManufacturerIdN(manufacturerIdN []int32) ApiDcimRackTypesListRequest { + r.manufacturerIdN = &manufacturerIdN + return r +} + +func (r ApiDcimRackTypesListRequest) MaxWeight(maxWeight []int32) ApiDcimRackTypesListRequest { + r.maxWeight = &maxWeight + return r +} + +func (r ApiDcimRackTypesListRequest) MaxWeightEmpty(maxWeightEmpty bool) ApiDcimRackTypesListRequest { + r.maxWeightEmpty = &maxWeightEmpty + return r +} + +func (r ApiDcimRackTypesListRequest) MaxWeightGt(maxWeightGt []int32) ApiDcimRackTypesListRequest { + r.maxWeightGt = &maxWeightGt + return r +} + +func (r ApiDcimRackTypesListRequest) MaxWeightGte(maxWeightGte []int32) ApiDcimRackTypesListRequest { + r.maxWeightGte = &maxWeightGte + return r +} + +func (r ApiDcimRackTypesListRequest) MaxWeightLt(maxWeightLt []int32) ApiDcimRackTypesListRequest { + r.maxWeightLt = &maxWeightLt + return r +} + +func (r ApiDcimRackTypesListRequest) MaxWeightLte(maxWeightLte []int32) ApiDcimRackTypesListRequest { + r.maxWeightLte = &maxWeightLte + return r +} + +func (r ApiDcimRackTypesListRequest) MaxWeightN(maxWeightN []int32) ApiDcimRackTypesListRequest { + r.maxWeightN = &maxWeightN + return r +} + +func (r ApiDcimRackTypesListRequest) Model(model []string) ApiDcimRackTypesListRequest { + r.model = &model + return r +} + +func (r ApiDcimRackTypesListRequest) ModelEmpty(modelEmpty bool) ApiDcimRackTypesListRequest { + r.modelEmpty = &modelEmpty + return r +} + +func (r ApiDcimRackTypesListRequest) ModelIc(modelIc []string) ApiDcimRackTypesListRequest { + r.modelIc = &modelIc + return r +} + +func (r ApiDcimRackTypesListRequest) ModelIe(modelIe []string) ApiDcimRackTypesListRequest { + r.modelIe = &modelIe + return r +} + +func (r ApiDcimRackTypesListRequest) ModelIew(modelIew []string) ApiDcimRackTypesListRequest { + r.modelIew = &modelIew + return r +} + +func (r ApiDcimRackTypesListRequest) ModelIsw(modelIsw []string) ApiDcimRackTypesListRequest { + r.modelIsw = &modelIsw + return r +} + +func (r ApiDcimRackTypesListRequest) ModelN(modelN []string) ApiDcimRackTypesListRequest { + r.modelN = &modelN + return r +} + +func (r ApiDcimRackTypesListRequest) ModelNic(modelNic []string) ApiDcimRackTypesListRequest { + r.modelNic = &modelNic + return r +} + +func (r ApiDcimRackTypesListRequest) ModelNie(modelNie []string) ApiDcimRackTypesListRequest { + r.modelNie = &modelNie + return r +} + +func (r ApiDcimRackTypesListRequest) ModelNiew(modelNiew []string) ApiDcimRackTypesListRequest { + r.modelNiew = &modelNiew + return r +} + +func (r ApiDcimRackTypesListRequest) ModelNisw(modelNisw []string) ApiDcimRackTypesListRequest { + r.modelNisw = &modelNisw + return r +} + +func (r ApiDcimRackTypesListRequest) ModifiedByRequest(modifiedByRequest string) ApiDcimRackTypesListRequest { + r.modifiedByRequest = &modifiedByRequest + return r +} + +func (r ApiDcimRackTypesListRequest) MountingDepth(mountingDepth []int32) ApiDcimRackTypesListRequest { + r.mountingDepth = &mountingDepth + return r +} + +func (r ApiDcimRackTypesListRequest) MountingDepthEmpty(mountingDepthEmpty bool) ApiDcimRackTypesListRequest { + r.mountingDepthEmpty = &mountingDepthEmpty + return r +} + +func (r ApiDcimRackTypesListRequest) MountingDepthGt(mountingDepthGt []int32) ApiDcimRackTypesListRequest { + r.mountingDepthGt = &mountingDepthGt + return r +} + +func (r ApiDcimRackTypesListRequest) MountingDepthGte(mountingDepthGte []int32) ApiDcimRackTypesListRequest { + r.mountingDepthGte = &mountingDepthGte + return r +} + +func (r ApiDcimRackTypesListRequest) MountingDepthLt(mountingDepthLt []int32) ApiDcimRackTypesListRequest { + r.mountingDepthLt = &mountingDepthLt + return r +} + +func (r ApiDcimRackTypesListRequest) MountingDepthLte(mountingDepthLte []int32) ApiDcimRackTypesListRequest { + r.mountingDepthLte = &mountingDepthLte + return r +} + +func (r ApiDcimRackTypesListRequest) MountingDepthN(mountingDepthN []int32) ApiDcimRackTypesListRequest { + r.mountingDepthN = &mountingDepthN + return r +} + +// The initial index from which to return the results. +func (r ApiDcimRackTypesListRequest) Offset(offset int32) ApiDcimRackTypesListRequest { + r.offset = &offset + return r +} + +// Which field to use when ordering the results. +func (r ApiDcimRackTypesListRequest) Ordering(ordering string) ApiDcimRackTypesListRequest { + r.ordering = &ordering + return r +} + +func (r ApiDcimRackTypesListRequest) OuterDepth(outerDepth []int32) ApiDcimRackTypesListRequest { + r.outerDepth = &outerDepth + return r +} + +func (r ApiDcimRackTypesListRequest) OuterDepthEmpty(outerDepthEmpty bool) ApiDcimRackTypesListRequest { + r.outerDepthEmpty = &outerDepthEmpty + return r +} + +func (r ApiDcimRackTypesListRequest) OuterDepthGt(outerDepthGt []int32) ApiDcimRackTypesListRequest { + r.outerDepthGt = &outerDepthGt + return r +} + +func (r ApiDcimRackTypesListRequest) OuterDepthGte(outerDepthGte []int32) ApiDcimRackTypesListRequest { + r.outerDepthGte = &outerDepthGte + return r +} + +func (r ApiDcimRackTypesListRequest) OuterDepthLt(outerDepthLt []int32) ApiDcimRackTypesListRequest { + r.outerDepthLt = &outerDepthLt + return r +} + +func (r ApiDcimRackTypesListRequest) OuterDepthLte(outerDepthLte []int32) ApiDcimRackTypesListRequest { + r.outerDepthLte = &outerDepthLte + return r +} + +func (r ApiDcimRackTypesListRequest) OuterDepthN(outerDepthN []int32) ApiDcimRackTypesListRequest { + r.outerDepthN = &outerDepthN + return r +} + +// * `mm` - Millimeters * `in` - Inches +func (r ApiDcimRackTypesListRequest) OuterUnit(outerUnit DcimRackTypesListOuterUnitParameter) ApiDcimRackTypesListRequest { + r.outerUnit = &outerUnit + return r +} + +func (r ApiDcimRackTypesListRequest) OuterWidth(outerWidth []int32) ApiDcimRackTypesListRequest { + r.outerWidth = &outerWidth + return r +} + +func (r ApiDcimRackTypesListRequest) OuterWidthEmpty(outerWidthEmpty bool) ApiDcimRackTypesListRequest { + r.outerWidthEmpty = &outerWidthEmpty + return r +} + +func (r ApiDcimRackTypesListRequest) OuterWidthGt(outerWidthGt []int32) ApiDcimRackTypesListRequest { + r.outerWidthGt = &outerWidthGt + return r +} + +func (r ApiDcimRackTypesListRequest) OuterWidthGte(outerWidthGte []int32) ApiDcimRackTypesListRequest { + r.outerWidthGte = &outerWidthGte + return r +} + +func (r ApiDcimRackTypesListRequest) OuterWidthLt(outerWidthLt []int32) ApiDcimRackTypesListRequest { + r.outerWidthLt = &outerWidthLt + return r +} + +func (r ApiDcimRackTypesListRequest) OuterWidthLte(outerWidthLte []int32) ApiDcimRackTypesListRequest { + r.outerWidthLte = &outerWidthLte + return r +} + +func (r ApiDcimRackTypesListRequest) OuterWidthN(outerWidthN []int32) ApiDcimRackTypesListRequest { + r.outerWidthN = &outerWidthN + return r +} + +// Search +func (r ApiDcimRackTypesListRequest) Q(q string) ApiDcimRackTypesListRequest { + r.q = &q + return r +} + +func (r ApiDcimRackTypesListRequest) Slug(slug []string) ApiDcimRackTypesListRequest { + r.slug = &slug + return r +} + +func (r ApiDcimRackTypesListRequest) SlugEmpty(slugEmpty bool) ApiDcimRackTypesListRequest { + r.slugEmpty = &slugEmpty + return r +} + +func (r ApiDcimRackTypesListRequest) SlugIc(slugIc []string) ApiDcimRackTypesListRequest { + r.slugIc = &slugIc + return r +} + +func (r ApiDcimRackTypesListRequest) SlugIe(slugIe []string) ApiDcimRackTypesListRequest { + r.slugIe = &slugIe + return r +} + +func (r ApiDcimRackTypesListRequest) SlugIew(slugIew []string) ApiDcimRackTypesListRequest { + r.slugIew = &slugIew + return r +} + +func (r ApiDcimRackTypesListRequest) SlugIsw(slugIsw []string) ApiDcimRackTypesListRequest { + r.slugIsw = &slugIsw + return r +} + +func (r ApiDcimRackTypesListRequest) SlugN(slugN []string) ApiDcimRackTypesListRequest { + r.slugN = &slugN + return r +} + +func (r ApiDcimRackTypesListRequest) SlugNic(slugNic []string) ApiDcimRackTypesListRequest { + r.slugNic = &slugNic + return r +} + +func (r ApiDcimRackTypesListRequest) SlugNie(slugNie []string) ApiDcimRackTypesListRequest { + r.slugNie = &slugNie + return r +} + +func (r ApiDcimRackTypesListRequest) SlugNiew(slugNiew []string) ApiDcimRackTypesListRequest { + r.slugNiew = &slugNiew + return r +} + +func (r ApiDcimRackTypesListRequest) SlugNisw(slugNisw []string) ApiDcimRackTypesListRequest { + r.slugNisw = &slugNisw + return r +} + +func (r ApiDcimRackTypesListRequest) StartingUnit(startingUnit []int32) ApiDcimRackTypesListRequest { + r.startingUnit = &startingUnit + return r +} + +func (r ApiDcimRackTypesListRequest) StartingUnitEmpty(startingUnitEmpty bool) ApiDcimRackTypesListRequest { + r.startingUnitEmpty = &startingUnitEmpty + return r +} + +func (r ApiDcimRackTypesListRequest) StartingUnitGt(startingUnitGt []int32) ApiDcimRackTypesListRequest { + r.startingUnitGt = &startingUnitGt + return r +} + +func (r ApiDcimRackTypesListRequest) StartingUnitGte(startingUnitGte []int32) ApiDcimRackTypesListRequest { + r.startingUnitGte = &startingUnitGte + return r +} + +func (r ApiDcimRackTypesListRequest) StartingUnitLt(startingUnitLt []int32) ApiDcimRackTypesListRequest { + r.startingUnitLt = &startingUnitLt + return r +} + +func (r ApiDcimRackTypesListRequest) StartingUnitLte(startingUnitLte []int32) ApiDcimRackTypesListRequest { + r.startingUnitLte = &startingUnitLte + return r +} + +func (r ApiDcimRackTypesListRequest) StartingUnitN(startingUnitN []int32) ApiDcimRackTypesListRequest { + r.startingUnitN = &startingUnitN + return r +} + +func (r ApiDcimRackTypesListRequest) Tag(tag []string) ApiDcimRackTypesListRequest { + r.tag = &tag + return r +} + +func (r ApiDcimRackTypesListRequest) TagN(tagN []string) ApiDcimRackTypesListRequest { + r.tagN = &tagN + return r +} + +func (r ApiDcimRackTypesListRequest) UHeight(uHeight []int32) ApiDcimRackTypesListRequest { + r.uHeight = &uHeight + return r +} + +func (r ApiDcimRackTypesListRequest) UHeightEmpty(uHeightEmpty bool) ApiDcimRackTypesListRequest { + r.uHeightEmpty = &uHeightEmpty + return r +} + +func (r ApiDcimRackTypesListRequest) UHeightGt(uHeightGt []int32) ApiDcimRackTypesListRequest { + r.uHeightGt = &uHeightGt + return r +} + +func (r ApiDcimRackTypesListRequest) UHeightGte(uHeightGte []int32) ApiDcimRackTypesListRequest { + r.uHeightGte = &uHeightGte + return r +} + +func (r ApiDcimRackTypesListRequest) UHeightLt(uHeightLt []int32) ApiDcimRackTypesListRequest { + r.uHeightLt = &uHeightLt + return r +} + +func (r ApiDcimRackTypesListRequest) UHeightLte(uHeightLte []int32) ApiDcimRackTypesListRequest { + r.uHeightLte = &uHeightLte + return r +} + +func (r ApiDcimRackTypesListRequest) UHeightN(uHeightN []int32) ApiDcimRackTypesListRequest { + r.uHeightN = &uHeightN + return r +} + +func (r ApiDcimRackTypesListRequest) UpdatedByRequest(updatedByRequest string) ApiDcimRackTypesListRequest { + r.updatedByRequest = &updatedByRequest + return r +} + +func (r ApiDcimRackTypesListRequest) Weight(weight []float64) ApiDcimRackTypesListRequest { + r.weight = &weight + return r +} + +func (r ApiDcimRackTypesListRequest) WeightEmpty(weightEmpty bool) ApiDcimRackTypesListRequest { + r.weightEmpty = &weightEmpty + return r +} + +func (r ApiDcimRackTypesListRequest) WeightGt(weightGt []float64) ApiDcimRackTypesListRequest { + r.weightGt = &weightGt + return r +} + +func (r ApiDcimRackTypesListRequest) WeightGte(weightGte []float64) ApiDcimRackTypesListRequest { + r.weightGte = &weightGte + return r +} + +func (r ApiDcimRackTypesListRequest) WeightLt(weightLt []float64) ApiDcimRackTypesListRequest { + r.weightLt = &weightLt + return r +} + +func (r ApiDcimRackTypesListRequest) WeightLte(weightLte []float64) ApiDcimRackTypesListRequest { + r.weightLte = &weightLte + return r +} + +func (r ApiDcimRackTypesListRequest) WeightN(weightN []float64) ApiDcimRackTypesListRequest { + r.weightN = &weightN + return r +} + +// * `kg` - Kilograms * `g` - Grams * `lb` - Pounds * `oz` - Ounces +func (r ApiDcimRackTypesListRequest) WeightUnit(weightUnit DcimDeviceTypesListWeightUnitParameter) ApiDcimRackTypesListRequest { + r.weightUnit = &weightUnit + return r +} + +// Rail-to-rail width +func (r ApiDcimRackTypesListRequest) Width(width []int32) ApiDcimRackTypesListRequest { + r.width = &width + return r +} + +// Rail-to-rail width * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches +func (r ApiDcimRackTypesListRequest) WidthIc(widthIc []DcimRackTypesListWidthIcParameterInner) ApiDcimRackTypesListRequest { + r.widthIc = &widthIc + return r +} + +// Rail-to-rail width * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches +func (r ApiDcimRackTypesListRequest) WidthIe(widthIe []DcimRackTypesListWidthIcParameterInner) ApiDcimRackTypesListRequest { + r.widthIe = &widthIe + return r +} + +// Rail-to-rail width * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches +func (r ApiDcimRackTypesListRequest) WidthIew(widthIew []DcimRackTypesListWidthIcParameterInner) ApiDcimRackTypesListRequest { + r.widthIew = &widthIew + return r +} + +// Rail-to-rail width * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches +func (r ApiDcimRackTypesListRequest) WidthIsw(widthIsw []DcimRackTypesListWidthIcParameterInner) ApiDcimRackTypesListRequest { + r.widthIsw = &widthIsw + return r +} + +// Rail-to-rail width * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches +func (r ApiDcimRackTypesListRequest) WidthN(widthN []DcimRackTypesListWidthIcParameterInner) ApiDcimRackTypesListRequest { + r.widthN = &widthN + return r +} + +// Rail-to-rail width * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches +func (r ApiDcimRackTypesListRequest) WidthNic(widthNic []DcimRackTypesListWidthIcParameterInner) ApiDcimRackTypesListRequest { + r.widthNic = &widthNic + return r +} + +// Rail-to-rail width * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches +func (r ApiDcimRackTypesListRequest) WidthNie(widthNie []DcimRackTypesListWidthIcParameterInner) ApiDcimRackTypesListRequest { + r.widthNie = &widthNie + return r +} + +// Rail-to-rail width * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches +func (r ApiDcimRackTypesListRequest) WidthNiew(widthNiew []DcimRackTypesListWidthIcParameterInner) ApiDcimRackTypesListRequest { + r.widthNiew = &widthNiew + return r +} + +// Rail-to-rail width * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches +func (r ApiDcimRackTypesListRequest) WidthNisw(widthNisw []DcimRackTypesListWidthIcParameterInner) ApiDcimRackTypesListRequest { + r.widthNisw = &widthNisw + return r +} + +func (r ApiDcimRackTypesListRequest) Execute() (*PaginatedRackTypeList, *http.Response, error) { + return r.ApiService.DcimRackTypesListExecute(r) +} + +/* +DcimRackTypesList Method for DcimRackTypesList + +Get a list of rack type objects. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiDcimRackTypesListRequest +*/ +func (a *DcimAPIService) DcimRackTypesList(ctx context.Context) ApiDcimRackTypesListRequest { + return ApiDcimRackTypesListRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// +// @return PaginatedRackTypeList +func (a *DcimAPIService) DcimRackTypesListExecute(r ApiDcimRackTypesListRequest) (*PaginatedRackTypeList, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *PaginatedRackTypeList + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackTypesList") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/dcim/rack-types/" + + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "created", t, "multi") + } + } + if r.createdEmpty != nil { + t := *r.createdEmpty + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "created__empty", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "created__empty", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "created__gt", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "created__gte", t, "multi") + } + } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "created__lt", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "created__lte", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", t, "multi") + } + } + if r.createdByRequest != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "created_by_request", r.createdByRequest, "") + } + if r.descUnits != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "desc_units", r.descUnits, "") + } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "description", t, "multi") + } + } + if r.descriptionEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "description__empty", r.descriptionEmpty, "") + } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "description__ic", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "description__ie", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "description__iew", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "description__isw", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "description__n", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "description__nic", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "description__nie", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "description__niew", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "description__nisw", t, "multi") + } + } + if r.formFactor != nil { + t := *r.formFactor + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "form_factor", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "form_factor", t, "multi") + } + } + if r.formFactorEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "form_factor__empty", r.formFactorEmpty, "") + } + if r.formFactorIc != nil { + t := *r.formFactorIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "form_factor__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "form_factor__ic", t, "multi") + } + } + if r.formFactorIe != nil { + t := *r.formFactorIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "form_factor__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "form_factor__ie", t, "multi") + } + } + if r.formFactorIew != nil { + t := *r.formFactorIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "form_factor__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "form_factor__iew", t, "multi") + } + } + if r.formFactorIsw != nil { + t := *r.formFactorIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "form_factor__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "form_factor__isw", t, "multi") + } + } + if r.formFactorN != nil { + t := *r.formFactorN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "form_factor__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "form_factor__n", t, "multi") + } + } + if r.formFactorNic != nil { + t := *r.formFactorNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "form_factor__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "form_factor__nic", t, "multi") + } + } + if r.formFactorNie != nil { + t := *r.formFactorNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "form_factor__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "form_factor__nie", t, "multi") + } + } + if r.formFactorNiew != nil { + t := *r.formFactorNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "form_factor__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "form_factor__niew", t, "multi") + } + } + if r.formFactorNisw != nil { + t := *r.formFactorNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "form_factor__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "form_factor__nisw", t, "multi") + } + } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "multi") + } + } + if r.idEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "id__empty", r.idEmpty, "") + } + if r.idGt != nil { + t := *r.idGt + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "id__gt", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "id__gt", t, "multi") + } + } + if r.idGte != nil { + t := *r.idGte + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "id__gte", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "id__gte", t, "multi") + } + } + if r.idLt != nil { + t := *r.idLt + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "id__lt", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "id__lt", t, "multi") + } + } + if r.idLte != nil { + t := *r.idLte + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "id__lte", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "id__lte", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", t, "multi") + } + } + if r.lastUpdatedEmpty != nil { + t := *r.lastUpdatedEmpty + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__empty", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__empty", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gt", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gte", t, "multi") + } + } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lt", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lte", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__n", t, "multi") + } + } + if r.limit != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "") + } + 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, "manufacturer", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "manufacturer", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "manufacturer__n", t, "multi") + } + } + if r.manufacturerId != nil { + t := *r.manufacturerId + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "manufacturer_id", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "manufacturer_id", t, "multi") + } + } + if r.manufacturerIdN != nil { + t := *r.manufacturerIdN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "manufacturer_id__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "manufacturer_id__n", t, "multi") + } + } + if r.maxWeight != nil { + t := *r.maxWeight + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "max_weight", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "max_weight", t, "multi") + } + } + if r.maxWeightEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "max_weight__empty", r.maxWeightEmpty, "") + } + if r.maxWeightGt != nil { + t := *r.maxWeightGt + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "max_weight__gt", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "max_weight__gt", t, "multi") + } + } + if r.maxWeightGte != nil { + t := *r.maxWeightGte + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "max_weight__gte", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "max_weight__gte", t, "multi") + } + } + if r.maxWeightLt != nil { + t := *r.maxWeightLt + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "max_weight__lt", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "max_weight__lt", t, "multi") + } + } + if r.maxWeightLte != nil { + t := *r.maxWeightLte + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "max_weight__lte", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "max_weight__lte", t, "multi") + } + } + if r.maxWeightN != nil { + t := *r.maxWeightN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "max_weight__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "max_weight__n", t, "multi") + } + } + 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, "model", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "model", t, "multi") + } + } + if r.modelEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "model__empty", r.modelEmpty, "") + } + 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, "model__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "model__ic", t, "multi") + } + } + 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, "model__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "model__ie", t, "multi") + } + } + 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, "model__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "model__iew", t, "multi") + } + } + 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, "model__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "model__isw", t, "multi") + } + } + 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, "model__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "model__n", t, "multi") + } + } + 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, "model__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "model__nic", t, "multi") + } + } + 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, "model__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "model__nie", t, "multi") + } + } + 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, "model__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "model__niew", t, "multi") + } + } + 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, "model__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "model__nisw", t, "multi") + } + } + if r.modifiedByRequest != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "modified_by_request", r.modifiedByRequest, "") + } + if r.mountingDepth != nil { + t := *r.mountingDepth + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "mounting_depth", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "mounting_depth", t, "multi") + } + } + if r.mountingDepthEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "mounting_depth__empty", r.mountingDepthEmpty, "") + } + if r.mountingDepthGt != nil { + t := *r.mountingDepthGt + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "mounting_depth__gt", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "mounting_depth__gt", t, "multi") + } + } + if r.mountingDepthGte != nil { + t := *r.mountingDepthGte + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "mounting_depth__gte", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "mounting_depth__gte", t, "multi") + } + } + if r.mountingDepthLt != nil { + t := *r.mountingDepthLt + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "mounting_depth__lt", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "mounting_depth__lt", t, "multi") + } + } + if r.mountingDepthLte != nil { + t := *r.mountingDepthLte + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "mounting_depth__lte", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "mounting_depth__lte", t, "multi") + } + } + if r.mountingDepthN != nil { + t := *r.mountingDepthN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "mounting_depth__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "mounting_depth__n", t, "multi") + } + } + if r.offset != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "") + } + if r.ordering != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "ordering", r.ordering, "") + } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "outer_depth", t, "multi") + } + } + if r.outerDepthEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "outer_depth__empty", r.outerDepthEmpty, "") + } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "outer_depth__gt", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "outer_depth__gte", t, "multi") + } + } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "outer_depth__lt", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "outer_depth__lte", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "outer_depth__n", t, "multi") + } + } + if r.outerUnit != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit", r.outerUnit, "") + } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "outer_width", t, "multi") + } + } + if r.outerWidthEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "outer_width__empty", r.outerWidthEmpty, "") + } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "outer_width__gt", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "outer_width__gte", t, "multi") + } + } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "outer_width__lt", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "outer_width__lte", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "outer_width__n", t, "multi") + } + } + if r.q != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "") + } + if r.slug != nil { + t := *r.slug + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug", t, "multi") + } + } + if r.slugEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__empty", r.slugEmpty, "") + } + if r.slugIc != nil { + t := *r.slugIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__ic", t, "multi") + } + } + if r.slugIe != nil { + t := *r.slugIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__ie", t, "multi") + } + } + if r.slugIew != nil { + t := *r.slugIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__iew", t, "multi") + } + } + if r.slugIsw != nil { + t := *r.slugIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__isw", t, "multi") + } + } + if r.slugN != nil { + t := *r.slugN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__n", t, "multi") + } + } + if r.slugNic != nil { + t := *r.slugNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__nic", t, "multi") + } + } + if r.slugNie != nil { + t := *r.slugNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__nie", t, "multi") + } + } + if r.slugNiew != nil { + t := *r.slugNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__niew", t, "multi") + } + } + if r.slugNisw != nil { + t := *r.slugNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__nisw", t, "multi") + } + } + if r.startingUnit != nil { + t := *r.startingUnit + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "starting_unit", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "starting_unit", t, "multi") + } + } + if r.startingUnitEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "starting_unit__empty", r.startingUnitEmpty, "") + } + if r.startingUnitGt != nil { + t := *r.startingUnitGt + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "starting_unit__gt", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "starting_unit__gt", t, "multi") + } + } + if r.startingUnitGte != nil { + t := *r.startingUnitGte + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "starting_unit__gte", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "starting_unit__gte", t, "multi") + } + } + if r.startingUnitLt != nil { + t := *r.startingUnitLt + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "starting_unit__lt", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "starting_unit__lt", t, "multi") + } + } + if r.startingUnitLte != nil { + t := *r.startingUnitLte + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "starting_unit__lte", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "starting_unit__lte", t, "multi") + } + } + if r.startingUnitN != nil { + t := *r.startingUnitN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "starting_unit__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "starting_unit__n", t, "multi") + } + } + if r.tag != nil { + t := *r.tag + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "tag", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "tag", t, "multi") + } + } + if r.tagN != nil { + t := *r.tagN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "tag__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "tag__n", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "u_height", t, "multi") + } + } + if r.uHeightEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "u_height__empty", r.uHeightEmpty, "") + } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "u_height__gt", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "u_height__gte", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "u_height__lt", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "u_height__lte", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "u_height__n", t, "multi") + } + } + if r.updatedByRequest != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "updated_by_request", r.updatedByRequest, "") + } + if r.weight != nil { + t := *r.weight + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "weight", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "weight", t, "multi") + } + } + if r.weightEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "weight__empty", r.weightEmpty, "") + } + if r.weightGt != nil { + t := *r.weightGt + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "weight__gt", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "weight__gt", t, "multi") + } + } + if r.weightGte != nil { + t := *r.weightGte + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "weight__gte", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "weight__gte", t, "multi") + } + } + if r.weightLt != nil { + t := *r.weightLt + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "weight__lt", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "weight__lt", t, "multi") + } + } + if r.weightLte != nil { + t := *r.weightLte + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "weight__lte", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "weight__lte", t, "multi") + } + } + if r.weightN != nil { + t := *r.weightN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "weight__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "weight__n", t, "multi") + } + } + if r.weightUnit != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "weight_unit", r.weightUnit, "") + } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "width", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "width__ic", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "width__ie", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "width__iew", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "width__isw", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "width__n", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "width__nic", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "width__nie", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "width__niew", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "width__nisw", t, "multi") + } + } + // 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"} + + // 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 ApiDcimRackTypesPartialUpdateRequest struct { + ctx context.Context + ApiService *DcimAPIService + id int32 + patchedWritableRackTypeRequest *PatchedWritableRackTypeRequest +} + +func (r ApiDcimRackTypesPartialUpdateRequest) PatchedWritableRackTypeRequest(patchedWritableRackTypeRequest PatchedWritableRackTypeRequest) ApiDcimRackTypesPartialUpdateRequest { + r.patchedWritableRackTypeRequest = &patchedWritableRackTypeRequest + return r +} + +func (r ApiDcimRackTypesPartialUpdateRequest) Execute() (*RackType, *http.Response, error) { + return r.ApiService.DcimRackTypesPartialUpdateExecute(r) +} + +/* +DcimRackTypesPartialUpdate Method for DcimRackTypesPartialUpdate + +Patch a rack type object. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id A unique integer value identifying this rack type. + @return ApiDcimRackTypesPartialUpdateRequest +*/ +func (a *DcimAPIService) DcimRackTypesPartialUpdate(ctx context.Context, id int32) ApiDcimRackTypesPartialUpdateRequest { + return ApiDcimRackTypesPartialUpdateRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// +// @return RackType +func (a *DcimAPIService) DcimRackTypesPartialUpdateExecute(r ApiDcimRackTypesPartialUpdateRequest) (*RackType, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPatch + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *RackType + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackTypesPartialUpdate") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/dcim/rack-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{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "multipart/form-data"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.patchedWritableRackTypeRequest + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["tokenAuth"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + 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 ApiDcimRackTypesRetrieveRequest struct { ctx context.Context ApiService *DcimAPIService id int32 } -func (r ApiDcimRackRolesRetrieveRequest) Execute() (*RackRole, *http.Response, error) { - return r.ApiService.DcimRackRolesRetrieveExecute(r) +func (r ApiDcimRackTypesRetrieveRequest) Execute() (*RackType, *http.Response, error) { + return r.ApiService.DcimRackTypesRetrieveExecute(r) } /* -DcimRackRolesRetrieve Method for DcimRackRolesRetrieve +DcimRackTypesRetrieve Method for DcimRackTypesRetrieve -Get a rack role object. +Get a rack type object. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param id A unique integer value identifying this rack role. - @return ApiDcimRackRolesRetrieveRequest + @param id A unique integer value identifying this rack type. + @return ApiDcimRackTypesRetrieveRequest */ -func (a *DcimAPIService) DcimRackRolesRetrieve(ctx context.Context, id int32) ApiDcimRackRolesRetrieveRequest { - return ApiDcimRackRolesRetrieveRequest{ +func (a *DcimAPIService) DcimRackTypesRetrieve(ctx context.Context, id int32) ApiDcimRackTypesRetrieveRequest { + return ApiDcimRackTypesRetrieveRequest{ ApiService: a, ctx: ctx, id: id, @@ -90440,21 +98599,21 @@ func (a *DcimAPIService) DcimRackRolesRetrieve(ctx context.Context, id int32) Ap // Execute executes the request // -// @return RackRole -func (a *DcimAPIService) DcimRackRolesRetrieveExecute(r ApiDcimRackRolesRetrieveRequest) (*RackRole, *http.Response, error) { +// @return RackType +func (a *DcimAPIService) DcimRackTypesRetrieveExecute(r ApiDcimRackTypesRetrieveRequest) (*RackType, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *RackRole + localVarReturnValue *RackType ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackRolesRetrieve") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackTypesRetrieve") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/api/dcim/rack-roles/{id}/" + localVarPath := localBasePath + "/api/dcim/rack-types/{id}/" localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) localVarHeaderParams := make(map[string]string) @@ -90529,33 +98688,33 @@ func (a *DcimAPIService) DcimRackRolesRetrieveExecute(r ApiDcimRackRolesRetrieve return localVarReturnValue, localVarHTTPResponse, nil } -type ApiDcimRackRolesUpdateRequest struct { - ctx context.Context - ApiService *DcimAPIService - id int32 - rackRoleRequest *RackRoleRequest +type ApiDcimRackTypesUpdateRequest struct { + ctx context.Context + ApiService *DcimAPIService + id int32 + writableRackTypeRequest *WritableRackTypeRequest } -func (r ApiDcimRackRolesUpdateRequest) RackRoleRequest(rackRoleRequest RackRoleRequest) ApiDcimRackRolesUpdateRequest { - r.rackRoleRequest = &rackRoleRequest +func (r ApiDcimRackTypesUpdateRequest) WritableRackTypeRequest(writableRackTypeRequest WritableRackTypeRequest) ApiDcimRackTypesUpdateRequest { + r.writableRackTypeRequest = &writableRackTypeRequest return r } -func (r ApiDcimRackRolesUpdateRequest) Execute() (*RackRole, *http.Response, error) { - return r.ApiService.DcimRackRolesUpdateExecute(r) +func (r ApiDcimRackTypesUpdateRequest) Execute() (*RackType, *http.Response, error) { + return r.ApiService.DcimRackTypesUpdateExecute(r) } /* -DcimRackRolesUpdate Method for DcimRackRolesUpdate +DcimRackTypesUpdate Method for DcimRackTypesUpdate -Put a rack role object. +Put a rack type object. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param id A unique integer value identifying this rack role. - @return ApiDcimRackRolesUpdateRequest + @param id A unique integer value identifying this rack type. + @return ApiDcimRackTypesUpdateRequest */ -func (a *DcimAPIService) DcimRackRolesUpdate(ctx context.Context, id int32) ApiDcimRackRolesUpdateRequest { - return ApiDcimRackRolesUpdateRequest{ +func (a *DcimAPIService) DcimRackTypesUpdate(ctx context.Context, id int32) ApiDcimRackTypesUpdateRequest { + return ApiDcimRackTypesUpdateRequest{ ApiService: a, ctx: ctx, id: id, @@ -90564,28 +98723,28 @@ func (a *DcimAPIService) DcimRackRolesUpdate(ctx context.Context, id int32) ApiD // Execute executes the request // -// @return RackRole -func (a *DcimAPIService) DcimRackRolesUpdateExecute(r ApiDcimRackRolesUpdateRequest) (*RackRole, *http.Response, error) { +// @return RackType +func (a *DcimAPIService) DcimRackTypesUpdateExecute(r ApiDcimRackTypesUpdateRequest) (*RackType, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} formFiles []formFile - localVarReturnValue *RackRole + localVarReturnValue *RackType ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackRolesUpdate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackTypesUpdate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/api/dcim/rack-roles/{id}/" + localVarPath := localBasePath + "/api/dcim/rack-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.rackRoleRequest == nil { - return localVarReturnValue, nil, reportError("rackRoleRequest is required and must be specified") + if r.writableRackTypeRequest == nil { + return localVarReturnValue, nil, reportError("writableRackTypeRequest is required and must be specified") } // to determine the Content-Type header @@ -90606,7 +98765,7 @@ func (a *DcimAPIService) DcimRackRolesUpdateExecute(r ApiDcimRackRolesUpdateRequ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } // body params - localVarPostBody = r.rackRoleRequest + localVarPostBody = r.writableRackTypeRequest if r.ctx != nil { // API Key Authentication if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { @@ -91503,6 +99662,7 @@ func (a *DcimAPIService) DcimRacksElevationRetrieveExecute(r ApiDcimRacksElevati type ApiDcimRacksListRequest struct { ctx context.Context ApiService *DcimAPIService + airflow *DcimRacksListAirflowParameter assetTag *[]string assetTagEmpty *bool assetTagIc *[]string @@ -91516,8 +99676,8 @@ type ApiDcimRacksListRequest struct { assetTagNisw *[]string contact *[]int32 contactN *[]int32 - contactGroup *[]int32 - contactGroupN *[]int32 + contactGroup *[]string + contactGroupN *[]string contactRole *[]int32 contactRoleN *[]int32 created *[]time.Time @@ -91551,6 +99711,17 @@ type ApiDcimRacksListRequest struct { facilityIdNie *[]string facilityIdNiew *[]string facilityIdNisw *[]string + formFactor *[]string + formFactorEmpty *bool + formFactorIc *[]DcimRacksListFormFactorIcParameterInner + formFactorIe *[]DcimRacksListFormFactorIcParameterInner + formFactorIew *[]DcimRacksListFormFactorIcParameterInner + formFactorIsw *[]DcimRacksListFormFactorIcParameterInner + formFactorN *[]DcimRacksListFormFactorIcParameterInner + formFactorNic *[]DcimRacksListFormFactorIcParameterInner + formFactorNie *[]DcimRacksListFormFactorIcParameterInner + formFactorNiew *[]DcimRacksListFormFactorIcParameterInner + formFactorNisw *[]DcimRacksListFormFactorIcParameterInner id *[]int32 idEmpty *bool idGt *[]int32 @@ -91566,10 +99737,14 @@ type ApiDcimRacksListRequest struct { lastUpdatedLte *[]time.Time lastUpdatedN *[]time.Time limit *int32 - location *[]int32 - locationN *[]int32 - locationId *[]int32 - locationIdN *[]int32 + location *[]string + locationN *[]string + locationId *[]string + locationIdN *[]string + manufacturer *[]string + manufacturerN *[]string + manufacturerId *[]int32 + manufacturerIdN *[]int32 maxWeight *[]int32 maxWeightEmpty *bool maxWeightGt *[]int32 @@ -91605,8 +99780,7 @@ type ApiDcimRacksListRequest struct { outerDepthLt *[]int32 outerDepthLte *[]int32 outerDepthN *[]int32 - outerUnit *DcimRacksListOuterUnitParameter - outerUnitN *DcimRacksListOuterUnitParameter + outerUnit *DcimRackTypesListOuterUnitParameter outerWidth *[]int32 outerWidthEmpty *bool outerWidthGt *[]int32 @@ -91615,10 +99789,14 @@ type ApiDcimRacksListRequest struct { outerWidthLte *[]int32 outerWidthN *[]int32 q *string - region *[]int32 - regionN *[]int32 - regionId *[]int32 - regionIdN *[]int32 + rackType *[]string + rackTypeN *[]string + rackTypeId *[]*int32 + rackTypeIdN *[]*int32 + region *[]string + regionN *[]string + regionId *[]string + regionIdN *[]string role *[]string roleN *[]string roleId *[]*int32 @@ -91636,10 +99814,10 @@ type ApiDcimRacksListRequest struct { serialNisw *[]string site *[]string siteN *[]string - siteGroup *[]int32 - siteGroupN *[]int32 - siteGroupId *[]int32 - siteGroupIdN *[]int32 + siteGroup *[]string + siteGroupN *[]string + siteGroupId *[]string + siteGroupIdN *[]string siteId *[]int32 siteIdN *[]int32 startingUnit *[]int32 @@ -91650,19 +99828,26 @@ type ApiDcimRacksListRequest struct { startingUnitLte *[]int32 startingUnitN *[]int32 status *[]string - statusN *[]string + statusEmpty *bool + statusIc *[]DcimRacksListStatusIcParameterInner + statusIe *[]DcimRacksListStatusIcParameterInner + statusIew *[]DcimRacksListStatusIcParameterInner + statusIsw *[]DcimRacksListStatusIcParameterInner + statusN *[]DcimRacksListStatusIcParameterInner + statusNic *[]DcimRacksListStatusIcParameterInner + statusNie *[]DcimRacksListStatusIcParameterInner + statusNiew *[]DcimRacksListStatusIcParameterInner + statusNisw *[]DcimRacksListStatusIcParameterInner tag *[]string tagN *[]string tenant *[]string tenantN *[]string - tenantGroup *[]int32 - tenantGroupN *[]int32 - tenantGroupId *[]int32 - tenantGroupIdN *[]int32 + tenantGroup *[]string + tenantGroupN *[]string + tenantGroupId *[]string + tenantGroupIdN *[]string tenantId *[]*int32 tenantIdN *[]*int32 - type_ *[]string - typeN *[]string uHeight *[]int32 uHeightEmpty *bool uHeightGt *[]int32 @@ -91679,9 +99864,22 @@ type ApiDcimRacksListRequest struct { weightLte *[]float64 weightN *[]float64 weightUnit *DcimDeviceTypesListWeightUnitParameter - weightUnitN *DcimDeviceTypesListWeightUnitParameter width *[]int32 - widthN *[]int32 + widthIc *[]DcimRackTypesListWidthIcParameterInner + widthIe *[]DcimRackTypesListWidthIcParameterInner + widthIew *[]DcimRackTypesListWidthIcParameterInner + widthIsw *[]DcimRackTypesListWidthIcParameterInner + widthN *[]DcimRackTypesListWidthIcParameterInner + widthNic *[]DcimRackTypesListWidthIcParameterInner + widthNie *[]DcimRackTypesListWidthIcParameterInner + widthNiew *[]DcimRackTypesListWidthIcParameterInner + widthNisw *[]DcimRackTypesListWidthIcParameterInner +} + +// * `front-to-rear` - Front to rear * `rear-to-front` - Rear to front +func (r ApiDcimRacksListRequest) Airflow(airflow DcimRacksListAirflowParameter) ApiDcimRacksListRequest { + r.airflow = &airflow + return r } func (r ApiDcimRacksListRequest) AssetTag(assetTag []string) ApiDcimRacksListRequest { @@ -91751,14 +99949,12 @@ func (r ApiDcimRacksListRequest) ContactN(contactN []int32) ApiDcimRacksListRequ return r } -// Contact group -func (r ApiDcimRacksListRequest) ContactGroup(contactGroup []int32) ApiDcimRacksListRequest { +func (r ApiDcimRacksListRequest) ContactGroup(contactGroup []string) ApiDcimRacksListRequest { r.contactGroup = &contactGroup return r } -// Contact group -func (r ApiDcimRacksListRequest) ContactGroupN(contactGroupN []int32) ApiDcimRacksListRequest { +func (r ApiDcimRacksListRequest) ContactGroupN(contactGroupN []string) ApiDcimRacksListRequest { r.contactGroupN = &contactGroupN return r } @@ -91930,6 +100126,70 @@ func (r ApiDcimRacksListRequest) FacilityIdNisw(facilityIdNisw []string) ApiDcim return r } +func (r ApiDcimRacksListRequest) FormFactor(formFactor []string) ApiDcimRacksListRequest { + r.formFactor = &formFactor + return r +} + +func (r ApiDcimRacksListRequest) FormFactorEmpty(formFactorEmpty bool) ApiDcimRacksListRequest { + r.formFactorEmpty = &formFactorEmpty + return r +} + +// * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) +func (r ApiDcimRacksListRequest) FormFactorIc(formFactorIc []DcimRacksListFormFactorIcParameterInner) ApiDcimRacksListRequest { + r.formFactorIc = &formFactorIc + return r +} + +// * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) +func (r ApiDcimRacksListRequest) FormFactorIe(formFactorIe []DcimRacksListFormFactorIcParameterInner) ApiDcimRacksListRequest { + r.formFactorIe = &formFactorIe + return r +} + +// * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) +func (r ApiDcimRacksListRequest) FormFactorIew(formFactorIew []DcimRacksListFormFactorIcParameterInner) ApiDcimRacksListRequest { + r.formFactorIew = &formFactorIew + return r +} + +// * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) +func (r ApiDcimRacksListRequest) FormFactorIsw(formFactorIsw []DcimRacksListFormFactorIcParameterInner) ApiDcimRacksListRequest { + r.formFactorIsw = &formFactorIsw + return r +} + +// * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) +func (r ApiDcimRacksListRequest) FormFactorN(formFactorN []DcimRacksListFormFactorIcParameterInner) ApiDcimRacksListRequest { + r.formFactorN = &formFactorN + return r +} + +// * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) +func (r ApiDcimRacksListRequest) FormFactorNic(formFactorNic []DcimRacksListFormFactorIcParameterInner) ApiDcimRacksListRequest { + r.formFactorNic = &formFactorNic + return r +} + +// * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) +func (r ApiDcimRacksListRequest) FormFactorNie(formFactorNie []DcimRacksListFormFactorIcParameterInner) ApiDcimRacksListRequest { + r.formFactorNie = &formFactorNie + return r +} + +// * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) +func (r ApiDcimRacksListRequest) FormFactorNiew(formFactorNiew []DcimRacksListFormFactorIcParameterInner) ApiDcimRacksListRequest { + r.formFactorNiew = &formFactorNiew + return r +} + +// * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) +func (r ApiDcimRacksListRequest) FormFactorNisw(formFactorNisw []DcimRacksListFormFactorIcParameterInner) ApiDcimRacksListRequest { + r.formFactorNisw = &formFactorNisw + return r +} + func (r ApiDcimRacksListRequest) Id(id []int32) ApiDcimRacksListRequest { r.id = &id return r @@ -92006,30 +100266,50 @@ func (r ApiDcimRacksListRequest) Limit(limit int32) ApiDcimRacksListRequest { return r } -// Location (slug) -func (r ApiDcimRacksListRequest) Location(location []int32) ApiDcimRacksListRequest { +func (r ApiDcimRacksListRequest) Location(location []string) ApiDcimRacksListRequest { r.location = &location return r } -// Location (slug) -func (r ApiDcimRacksListRequest) LocationN(locationN []int32) ApiDcimRacksListRequest { +func (r ApiDcimRacksListRequest) LocationN(locationN []string) ApiDcimRacksListRequest { r.locationN = &locationN return r } -// Location (ID) -func (r ApiDcimRacksListRequest) LocationId(locationId []int32) ApiDcimRacksListRequest { +func (r ApiDcimRacksListRequest) LocationId(locationId []string) ApiDcimRacksListRequest { r.locationId = &locationId return r } -// Location (ID) -func (r ApiDcimRacksListRequest) LocationIdN(locationIdN []int32) ApiDcimRacksListRequest { +func (r ApiDcimRacksListRequest) LocationIdN(locationIdN []string) ApiDcimRacksListRequest { r.locationIdN = &locationIdN return r } +// Manufacturer (slug) +func (r ApiDcimRacksListRequest) Manufacturer(manufacturer []string) ApiDcimRacksListRequest { + r.manufacturer = &manufacturer + return r +} + +// Manufacturer (slug) +func (r ApiDcimRacksListRequest) ManufacturerN(manufacturerN []string) ApiDcimRacksListRequest { + r.manufacturerN = &manufacturerN + return r +} + +// Manufacturer (ID) +func (r ApiDcimRacksListRequest) ManufacturerId(manufacturerId []int32) ApiDcimRacksListRequest { + r.manufacturerId = &manufacturerId + return r +} + +// Manufacturer (ID) +func (r ApiDcimRacksListRequest) ManufacturerIdN(manufacturerIdN []int32) ApiDcimRacksListRequest { + r.manufacturerIdN = &manufacturerIdN + return r +} + func (r ApiDcimRacksListRequest) MaxWeight(maxWeight []int32) ApiDcimRacksListRequest { r.maxWeight = &maxWeight return r @@ -92208,17 +100488,11 @@ func (r ApiDcimRacksListRequest) OuterDepthN(outerDepthN []int32) ApiDcimRacksLi } // * `mm` - Millimeters * `in` - Inches -func (r ApiDcimRacksListRequest) OuterUnit(outerUnit DcimRacksListOuterUnitParameter) ApiDcimRacksListRequest { +func (r ApiDcimRacksListRequest) OuterUnit(outerUnit DcimRackTypesListOuterUnitParameter) ApiDcimRacksListRequest { r.outerUnit = &outerUnit return r } -// * `mm` - Millimeters * `in` - Inches -func (r ApiDcimRacksListRequest) OuterUnitN(outerUnitN DcimRacksListOuterUnitParameter) ApiDcimRacksListRequest { - r.outerUnitN = &outerUnitN - return r -} - func (r ApiDcimRacksListRequest) OuterWidth(outerWidth []int32) ApiDcimRacksListRequest { r.outerWidth = &outerWidth return r @@ -92260,26 +100534,46 @@ func (r ApiDcimRacksListRequest) Q(q string) ApiDcimRacksListRequest { return r } -// Region (slug) -func (r ApiDcimRacksListRequest) Region(region []int32) ApiDcimRacksListRequest { +// Rack type (slug) +func (r ApiDcimRacksListRequest) RackType(rackType []string) ApiDcimRacksListRequest { + r.rackType = &rackType + return r +} + +// Rack type (slug) +func (r ApiDcimRacksListRequest) RackTypeN(rackTypeN []string) ApiDcimRacksListRequest { + r.rackTypeN = &rackTypeN + return r +} + +// Rack type (ID) +func (r ApiDcimRacksListRequest) RackTypeId(rackTypeId []*int32) ApiDcimRacksListRequest { + r.rackTypeId = &rackTypeId + return r +} + +// Rack type (ID) +func (r ApiDcimRacksListRequest) RackTypeIdN(rackTypeIdN []*int32) ApiDcimRacksListRequest { + r.rackTypeIdN = &rackTypeIdN + return r +} + +func (r ApiDcimRacksListRequest) Region(region []string) ApiDcimRacksListRequest { r.region = ®ion return r } -// Region (slug) -func (r ApiDcimRacksListRequest) RegionN(regionN []int32) ApiDcimRacksListRequest { +func (r ApiDcimRacksListRequest) RegionN(regionN []string) ApiDcimRacksListRequest { r.regionN = ®ionN return r } -// Region (ID) -func (r ApiDcimRacksListRequest) RegionId(regionId []int32) ApiDcimRacksListRequest { +func (r ApiDcimRacksListRequest) RegionId(regionId []string) ApiDcimRacksListRequest { r.regionId = ®ionId return r } -// Region (ID) -func (r ApiDcimRacksListRequest) RegionIdN(regionIdN []int32) ApiDcimRacksListRequest { +func (r ApiDcimRacksListRequest) RegionIdN(regionIdN []string) ApiDcimRacksListRequest { r.regionIdN = ®ionIdN return r } @@ -92375,26 +100669,22 @@ func (r ApiDcimRacksListRequest) SiteN(siteN []string) ApiDcimRacksListRequest { return r } -// Site group (slug) -func (r ApiDcimRacksListRequest) SiteGroup(siteGroup []int32) ApiDcimRacksListRequest { +func (r ApiDcimRacksListRequest) SiteGroup(siteGroup []string) ApiDcimRacksListRequest { r.siteGroup = &siteGroup return r } -// Site group (slug) -func (r ApiDcimRacksListRequest) SiteGroupN(siteGroupN []int32) ApiDcimRacksListRequest { +func (r ApiDcimRacksListRequest) SiteGroupN(siteGroupN []string) ApiDcimRacksListRequest { r.siteGroupN = &siteGroupN return r } -// Site group (ID) -func (r ApiDcimRacksListRequest) SiteGroupId(siteGroupId []int32) ApiDcimRacksListRequest { +func (r ApiDcimRacksListRequest) SiteGroupId(siteGroupId []string) ApiDcimRacksListRequest { r.siteGroupId = &siteGroupId return r } -// Site group (ID) -func (r ApiDcimRacksListRequest) SiteGroupIdN(siteGroupIdN []int32) ApiDcimRacksListRequest { +func (r ApiDcimRacksListRequest) SiteGroupIdN(siteGroupIdN []string) ApiDcimRacksListRequest { r.siteGroupIdN = &siteGroupIdN return r } @@ -92451,11 +100741,65 @@ func (r ApiDcimRacksListRequest) Status(status []string) ApiDcimRacksListRequest return r } -func (r ApiDcimRacksListRequest) StatusN(statusN []string) ApiDcimRacksListRequest { +func (r ApiDcimRacksListRequest) StatusEmpty(statusEmpty bool) ApiDcimRacksListRequest { + r.statusEmpty = &statusEmpty + return r +} + +// * `reserved` - Reserved * `available` - Available * `planned` - Planned * `active` - Active * `deprecated` - Deprecated +func (r ApiDcimRacksListRequest) StatusIc(statusIc []DcimRacksListStatusIcParameterInner) ApiDcimRacksListRequest { + r.statusIc = &statusIc + return r +} + +// * `reserved` - Reserved * `available` - Available * `planned` - Planned * `active` - Active * `deprecated` - Deprecated +func (r ApiDcimRacksListRequest) StatusIe(statusIe []DcimRacksListStatusIcParameterInner) ApiDcimRacksListRequest { + r.statusIe = &statusIe + return r +} + +// * `reserved` - Reserved * `available` - Available * `planned` - Planned * `active` - Active * `deprecated` - Deprecated +func (r ApiDcimRacksListRequest) StatusIew(statusIew []DcimRacksListStatusIcParameterInner) ApiDcimRacksListRequest { + r.statusIew = &statusIew + return r +} + +// * `reserved` - Reserved * `available` - Available * `planned` - Planned * `active` - Active * `deprecated` - Deprecated +func (r ApiDcimRacksListRequest) StatusIsw(statusIsw []DcimRacksListStatusIcParameterInner) ApiDcimRacksListRequest { + r.statusIsw = &statusIsw + return r +} + +// * `reserved` - Reserved * `available` - Available * `planned` - Planned * `active` - Active * `deprecated` - Deprecated +func (r ApiDcimRacksListRequest) StatusN(statusN []DcimRacksListStatusIcParameterInner) ApiDcimRacksListRequest { r.statusN = &statusN return r } +// * `reserved` - Reserved * `available` - Available * `planned` - Planned * `active` - Active * `deprecated` - Deprecated +func (r ApiDcimRacksListRequest) StatusNic(statusNic []DcimRacksListStatusIcParameterInner) ApiDcimRacksListRequest { + r.statusNic = &statusNic + return r +} + +// * `reserved` - Reserved * `available` - Available * `planned` - Planned * `active` - Active * `deprecated` - Deprecated +func (r ApiDcimRacksListRequest) StatusNie(statusNie []DcimRacksListStatusIcParameterInner) ApiDcimRacksListRequest { + r.statusNie = &statusNie + return r +} + +// * `reserved` - Reserved * `available` - Available * `planned` - Planned * `active` - Active * `deprecated` - Deprecated +func (r ApiDcimRacksListRequest) StatusNiew(statusNiew []DcimRacksListStatusIcParameterInner) ApiDcimRacksListRequest { + r.statusNiew = &statusNiew + return r +} + +// * `reserved` - Reserved * `available` - Available * `planned` - Planned * `active` - Active * `deprecated` - Deprecated +func (r ApiDcimRacksListRequest) StatusNisw(statusNisw []DcimRacksListStatusIcParameterInner) ApiDcimRacksListRequest { + r.statusNisw = &statusNisw + return r +} + func (r ApiDcimRacksListRequest) Tag(tag []string) ApiDcimRacksListRequest { r.tag = &tag return r @@ -92478,26 +100822,22 @@ func (r ApiDcimRacksListRequest) TenantN(tenantN []string) ApiDcimRacksListReque return r } -// Tenant Group (slug) -func (r ApiDcimRacksListRequest) TenantGroup(tenantGroup []int32) ApiDcimRacksListRequest { +func (r ApiDcimRacksListRequest) TenantGroup(tenantGroup []string) ApiDcimRacksListRequest { r.tenantGroup = &tenantGroup return r } -// Tenant Group (slug) -func (r ApiDcimRacksListRequest) TenantGroupN(tenantGroupN []int32) ApiDcimRacksListRequest { +func (r ApiDcimRacksListRequest) TenantGroupN(tenantGroupN []string) ApiDcimRacksListRequest { r.tenantGroupN = &tenantGroupN return r } -// Tenant Group (ID) -func (r ApiDcimRacksListRequest) TenantGroupId(tenantGroupId []int32) ApiDcimRacksListRequest { +func (r ApiDcimRacksListRequest) TenantGroupId(tenantGroupId []string) ApiDcimRacksListRequest { r.tenantGroupId = &tenantGroupId return r } -// Tenant Group (ID) -func (r ApiDcimRacksListRequest) TenantGroupIdN(tenantGroupIdN []int32) ApiDcimRacksListRequest { +func (r ApiDcimRacksListRequest) TenantGroupIdN(tenantGroupIdN []string) ApiDcimRacksListRequest { r.tenantGroupIdN = &tenantGroupIdN return r } @@ -92514,16 +100854,6 @@ func (r ApiDcimRacksListRequest) TenantIdN(tenantIdN []*int32) ApiDcimRacksListR return r } -func (r ApiDcimRacksListRequest) Type_(type_ []string) ApiDcimRacksListRequest { - r.type_ = &type_ - return r -} - -func (r ApiDcimRacksListRequest) TypeN(typeN []string) ApiDcimRacksListRequest { - r.typeN = &typeN - return r -} - func (r ApiDcimRacksListRequest) UHeight(uHeight []int32) ApiDcimRacksListRequest { r.uHeight = &uHeight return r @@ -92605,24 +100935,66 @@ func (r ApiDcimRacksListRequest) WeightUnit(weightUnit DcimDeviceTypesListWeight return r } -// * `kg` - Kilograms * `g` - Grams * `lb` - Pounds * `oz` - Ounces -func (r ApiDcimRacksListRequest) WeightUnitN(weightUnitN DcimDeviceTypesListWeightUnitParameter) ApiDcimRacksListRequest { - r.weightUnitN = &weightUnitN - 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) WidthN(widthN []int32) ApiDcimRacksListRequest { +// Rail-to-rail width * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches +func (r ApiDcimRacksListRequest) WidthIc(widthIc []DcimRackTypesListWidthIcParameterInner) ApiDcimRacksListRequest { + r.widthIc = &widthIc + return r +} + +// Rail-to-rail width * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches +func (r ApiDcimRacksListRequest) WidthIe(widthIe []DcimRackTypesListWidthIcParameterInner) ApiDcimRacksListRequest { + r.widthIe = &widthIe + return r +} + +// Rail-to-rail width * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches +func (r ApiDcimRacksListRequest) WidthIew(widthIew []DcimRackTypesListWidthIcParameterInner) ApiDcimRacksListRequest { + r.widthIew = &widthIew + return r +} + +// Rail-to-rail width * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches +func (r ApiDcimRacksListRequest) WidthIsw(widthIsw []DcimRackTypesListWidthIcParameterInner) ApiDcimRacksListRequest { + r.widthIsw = &widthIsw + return r +} + +// Rail-to-rail width * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches +func (r ApiDcimRacksListRequest) WidthN(widthN []DcimRackTypesListWidthIcParameterInner) ApiDcimRacksListRequest { r.widthN = &widthN return r } +// Rail-to-rail width * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches +func (r ApiDcimRacksListRequest) WidthNic(widthNic []DcimRackTypesListWidthIcParameterInner) ApiDcimRacksListRequest { + r.widthNic = &widthNic + return r +} + +// Rail-to-rail width * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches +func (r ApiDcimRacksListRequest) WidthNie(widthNie []DcimRackTypesListWidthIcParameterInner) ApiDcimRacksListRequest { + r.widthNie = &widthNie + return r +} + +// Rail-to-rail width * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches +func (r ApiDcimRacksListRequest) WidthNiew(widthNiew []DcimRackTypesListWidthIcParameterInner) ApiDcimRacksListRequest { + r.widthNiew = &widthNiew + return r +} + +// Rail-to-rail width * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches +func (r ApiDcimRacksListRequest) WidthNisw(widthNisw []DcimRackTypesListWidthIcParameterInner) ApiDcimRacksListRequest { + r.widthNisw = &widthNisw + return r +} + func (r ApiDcimRacksListRequest) Execute() (*PaginatedRackList, *http.Response, error) { return r.ApiService.DcimRacksListExecute(r) } @@ -92664,6 +101036,9 @@ func (a *DcimAPIService) DcimRacksListExecute(r ApiDcimRacksListRequest) (*Pagin localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.airflow != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "airflow", r.airflow, "") + } if r.assetTag != nil { t := *r.assetTag if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -93152,6 +101527,119 @@ func (a *DcimAPIService) DcimRacksListExecute(r ApiDcimRacksListRequest) (*Pagin parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id__nisw", t, "multi") } } + if r.formFactor != nil { + t := *r.formFactor + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "form_factor", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "form_factor", t, "multi") + } + } + if r.formFactorEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "form_factor__empty", r.formFactorEmpty, "") + } + if r.formFactorIc != nil { + t := *r.formFactorIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "form_factor__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "form_factor__ic", t, "multi") + } + } + if r.formFactorIe != nil { + t := *r.formFactorIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "form_factor__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "form_factor__ie", t, "multi") + } + } + if r.formFactorIew != nil { + t := *r.formFactorIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "form_factor__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "form_factor__iew", t, "multi") + } + } + if r.formFactorIsw != nil { + t := *r.formFactorIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "form_factor__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "form_factor__isw", t, "multi") + } + } + if r.formFactorN != nil { + t := *r.formFactorN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "form_factor__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "form_factor__n", t, "multi") + } + } + if r.formFactorNic != nil { + t := *r.formFactorNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "form_factor__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "form_factor__nic", t, "multi") + } + } + if r.formFactorNie != nil { + t := *r.formFactorNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "form_factor__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "form_factor__nie", t, "multi") + } + } + if r.formFactorNiew != nil { + t := *r.formFactorNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "form_factor__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "form_factor__niew", t, "multi") + } + } + if r.formFactorNisw != nil { + t := *r.formFactorNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "form_factor__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "form_factor__nisw", t, "multi") + } + } if r.id != nil { t := *r.id if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -93345,6 +101833,50 @@ func (a *DcimAPIService) DcimRacksListExecute(r ApiDcimRacksListRequest) (*Pagin parameterAddToHeaderOrQuery(localVarQueryParams, "location_id__n", t, "multi") } } + 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, "manufacturer", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "manufacturer", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "manufacturer__n", t, "multi") + } + } + if r.manufacturerId != nil { + t := *r.manufacturerId + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "manufacturer_id", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "manufacturer_id", t, "multi") + } + } + if r.manufacturerIdN != nil { + t := *r.manufacturerIdN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "manufacturer_id__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "manufacturer_id__n", t, "multi") + } + } if r.maxWeight != nil { t := *r.maxWeight if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -93677,9 +102209,6 @@ func (a *DcimAPIService) DcimRacksListExecute(r ApiDcimRacksListRequest) (*Pagin if r.outerUnit != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit", r.outerUnit, "") } - if r.outerUnitN != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit__n", r.outerUnitN, "") - } if r.outerWidth != nil { t := *r.outerWidth if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -93752,6 +102281,50 @@ func (a *DcimAPIService) DcimRacksListExecute(r ApiDcimRacksListRequest) (*Pagin if r.q != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "") } + if r.rackType != nil { + t := *r.rackType + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "rack_type", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "rack_type", t, "multi") + } + } + if r.rackTypeN != nil { + t := *r.rackTypeN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "rack_type__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "rack_type__n", t, "multi") + } + } + if r.rackTypeId != nil { + t := *r.rackTypeId + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "rack_type_id", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "rack_type_id", t, "multi") + } + } + if r.rackTypeIdN != nil { + t := *r.rackTypeIdN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "rack_type_id__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "rack_type_id__n", t, "multi") + } + } if r.region != nil { t := *r.region if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -94121,6 +102694,53 @@ func (a *DcimAPIService) DcimRacksListExecute(r ApiDcimRacksListRequest) (*Pagin parameterAddToHeaderOrQuery(localVarQueryParams, "status", t, "multi") } } + if r.statusEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__empty", r.statusEmpty, "") + } + if r.statusIc != nil { + t := *r.statusIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ic", t, "multi") + } + } + if r.statusIe != nil { + t := *r.statusIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ie", t, "multi") + } + } + if r.statusIew != nil { + t := *r.statusIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__iew", t, "multi") + } + } + if r.statusIsw != nil { + t := *r.statusIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__isw", t, "multi") + } + } if r.statusN != nil { t := *r.statusN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -94132,6 +102752,50 @@ func (a *DcimAPIService) DcimRacksListExecute(r ApiDcimRacksListRequest) (*Pagin parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", t, "multi") } } + if r.statusNic != nil { + t := *r.statusNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nic", t, "multi") + } + } + if r.statusNie != nil { + t := *r.statusNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nie", t, "multi") + } + } + if r.statusNiew != nil { + t := *r.statusNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__niew", t, "multi") + } + } + if r.statusNisw != nil { + t := *r.statusNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nisw", t, "multi") + } + } if r.tag != nil { t := *r.tag if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -94242,28 +102906,6 @@ func (a *DcimAPIService) DcimRacksListExecute(r ApiDcimRacksListRequest) (*Pagin parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id__n", t, "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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "type", t, "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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "type__n", t, "multi") - } - } if r.uHeight != nil { t := *r.uHeight if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -94408,9 +103050,6 @@ func (a *DcimAPIService) DcimRacksListExecute(r ApiDcimRacksListRequest) (*Pagin if r.weightUnit != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "weight_unit", r.weightUnit, "") } - if r.weightUnitN != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "weight_unit__n", r.weightUnitN, "") - } if r.width != nil { t := *r.width if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -94422,6 +103061,50 @@ func (a *DcimAPIService) DcimRacksListExecute(r ApiDcimRacksListRequest) (*Pagin parameterAddToHeaderOrQuery(localVarQueryParams, "width", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "width__ic", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "width__ie", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "width__iew", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "width__isw", t, "multi") + } + } if r.widthN != nil { t := *r.widthN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -94433,6 +103116,50 @@ func (a *DcimAPIService) DcimRacksListExecute(r ApiDcimRacksListRequest) (*Pagin parameterAddToHeaderOrQuery(localVarQueryParams, "width__n", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "width__nic", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "width__nie", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "width__niew", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "width__nisw", t, "multi") + } + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -95503,8 +104230,6 @@ type ApiDcimRearPortTemplatesListRequest struct { descriptionNisw *[]string deviceTypeId *[]*int32 deviceTypeIdN *[]*int32 - devicetypeId *[]*int32 - devicetypeIdN *[]*int32 id *[]int32 idEmpty *bool idGt *[]int32 @@ -95534,8 +104259,6 @@ type ApiDcimRearPortTemplatesListRequest struct { modifiedByRequest *string moduleTypeId *[]*int32 moduleTypeIdN *[]*int32 - moduletypeId *[]*int32 - moduletypeIdN *[]*int32 name *[]string nameEmpty *bool nameIc *[]string @@ -95558,7 +104281,16 @@ type ApiDcimRearPortTemplatesListRequest struct { positionsN *[]int32 q *string type_ *[]string - typeN *[]string + typeEmpty *bool + typeIc *[]DcimFrontPortTemplatesListTypeIcParameterInner + typeIe *[]DcimFrontPortTemplatesListTypeIcParameterInner + typeIew *[]DcimFrontPortTemplatesListTypeIcParameterInner + typeIsw *[]DcimFrontPortTemplatesListTypeIcParameterInner + typeN *[]DcimFrontPortTemplatesListTypeIcParameterInner + typeNic *[]DcimFrontPortTemplatesListTypeIcParameterInner + typeNie *[]DcimFrontPortTemplatesListTypeIcParameterInner + typeNiew *[]DcimFrontPortTemplatesListTypeIcParameterInner + typeNisw *[]DcimFrontPortTemplatesListTypeIcParameterInner updatedByRequest *string } @@ -95724,18 +104456,6 @@ func (r ApiDcimRearPortTemplatesListRequest) DeviceTypeIdN(deviceTypeIdN []*int3 return r } -// Device type (ID) -func (r ApiDcimRearPortTemplatesListRequest) DevicetypeId(devicetypeId []*int32) ApiDcimRearPortTemplatesListRequest { - r.devicetypeId = &devicetypeId - return r -} - -// Device type (ID) -func (r ApiDcimRearPortTemplatesListRequest) DevicetypeIdN(devicetypeIdN []*int32) ApiDcimRearPortTemplatesListRequest { - r.devicetypeIdN = &devicetypeIdN - return r -} - func (r ApiDcimRearPortTemplatesListRequest) Id(id []int32) ApiDcimRearPortTemplatesListRequest { r.id = &id return r @@ -95884,18 +104604,6 @@ func (r ApiDcimRearPortTemplatesListRequest) ModuleTypeIdN(moduleTypeIdN []*int3 return r } -// Module type (ID) -func (r ApiDcimRearPortTemplatesListRequest) ModuletypeId(moduletypeId []*int32) ApiDcimRearPortTemplatesListRequest { - r.moduletypeId = &moduletypeId - return r -} - -// Module type (ID) -func (r ApiDcimRearPortTemplatesListRequest) ModuletypeIdN(moduletypeIdN []*int32) ApiDcimRearPortTemplatesListRequest { - r.moduletypeIdN = &moduletypeIdN - return r -} - func (r ApiDcimRearPortTemplatesListRequest) Name(name []string) ApiDcimRearPortTemplatesListRequest { r.name = &name return r @@ -96009,11 +104717,65 @@ func (r ApiDcimRearPortTemplatesListRequest) Type_(type_ []string) ApiDcimRearPo return r } -func (r ApiDcimRearPortTemplatesListRequest) TypeN(typeN []string) ApiDcimRearPortTemplatesListRequest { +func (r ApiDcimRearPortTemplatesListRequest) TypeEmpty(typeEmpty bool) ApiDcimRearPortTemplatesListRequest { + r.typeEmpty = &typeEmpty + return r +} + +// * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other +func (r ApiDcimRearPortTemplatesListRequest) TypeIc(typeIc []DcimFrontPortTemplatesListTypeIcParameterInner) ApiDcimRearPortTemplatesListRequest { + r.typeIc = &typeIc + return r +} + +// * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other +func (r ApiDcimRearPortTemplatesListRequest) TypeIe(typeIe []DcimFrontPortTemplatesListTypeIcParameterInner) ApiDcimRearPortTemplatesListRequest { + r.typeIe = &typeIe + return r +} + +// * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other +func (r ApiDcimRearPortTemplatesListRequest) TypeIew(typeIew []DcimFrontPortTemplatesListTypeIcParameterInner) ApiDcimRearPortTemplatesListRequest { + r.typeIew = &typeIew + return r +} + +// * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other +func (r ApiDcimRearPortTemplatesListRequest) TypeIsw(typeIsw []DcimFrontPortTemplatesListTypeIcParameterInner) ApiDcimRearPortTemplatesListRequest { + r.typeIsw = &typeIsw + return r +} + +// * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other +func (r ApiDcimRearPortTemplatesListRequest) TypeN(typeN []DcimFrontPortTemplatesListTypeIcParameterInner) ApiDcimRearPortTemplatesListRequest { r.typeN = &typeN return r } +// * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other +func (r ApiDcimRearPortTemplatesListRequest) TypeNic(typeNic []DcimFrontPortTemplatesListTypeIcParameterInner) ApiDcimRearPortTemplatesListRequest { + r.typeNic = &typeNic + return r +} + +// * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other +func (r ApiDcimRearPortTemplatesListRequest) TypeNie(typeNie []DcimFrontPortTemplatesListTypeIcParameterInner) ApiDcimRearPortTemplatesListRequest { + r.typeNie = &typeNie + return r +} + +// * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other +func (r ApiDcimRearPortTemplatesListRequest) TypeNiew(typeNiew []DcimFrontPortTemplatesListTypeIcParameterInner) ApiDcimRearPortTemplatesListRequest { + r.typeNiew = &typeNiew + return r +} + +// * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other +func (r ApiDcimRearPortTemplatesListRequest) TypeNisw(typeNisw []DcimFrontPortTemplatesListTypeIcParameterInner) ApiDcimRearPortTemplatesListRequest { + r.typeNisw = &typeNisw + return r +} + func (r ApiDcimRearPortTemplatesListRequest) UpdatedByRequest(updatedByRequest string) ApiDcimRearPortTemplatesListRequest { r.updatedByRequest = &updatedByRequest return r @@ -96388,28 +105150,6 @@ func (a *DcimAPIService) DcimRearPortTemplatesListExecute(r ApiDcimRearPortTempl parameterAddToHeaderOrQuery(localVarQueryParams, "device_type_id__n", t, "multi") } } - if r.devicetypeId != nil { - t := *r.devicetypeId - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "devicetype_id", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "devicetype_id", t, "multi") - } - } - if r.devicetypeIdN != nil { - t := *r.devicetypeIdN - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "devicetype_id__n", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "devicetype_id__n", t, "multi") - } - } if r.id != nil { t := *r.id if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -96697,28 +105437,6 @@ func (a *DcimAPIService) DcimRearPortTemplatesListExecute(r ApiDcimRearPortTempl parameterAddToHeaderOrQuery(localVarQueryParams, "module_type_id__n", t, "multi") } } - if r.moduletypeId != nil { - t := *r.moduletypeId - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "moduletype_id", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "moduletype_id", t, "multi") - } - } - if r.moduletypeIdN != nil { - t := *r.moduletypeIdN - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "moduletype_id__n", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "moduletype_id__n", t, "multi") - } - } if r.name != nil { t := *r.name if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -96921,6 +105639,53 @@ func (a *DcimAPIService) DcimRearPortTemplatesListExecute(r ApiDcimRearPortTempl parameterAddToHeaderOrQuery(localVarQueryParams, "type", t, "multi") } } + if r.typeEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__empty", r.typeEmpty, "") + } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__ic", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__ie", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__iew", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__isw", t, "multi") + } + } if r.typeN != nil { t := *r.typeN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -96932,6 +105697,50 @@ func (a *DcimAPIService) DcimRearPortTemplatesListExecute(r ApiDcimRearPortTempl parameterAddToHeaderOrQuery(localVarQueryParams, "type__n", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__nic", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__nie", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__niew", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__nisw", t, "multi") + } + } if r.updatedByRequest != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "updated_by_request", r.updatedByRequest, "") } @@ -97974,7 +106783,6 @@ type ApiDcimRearPortsListRequest struct { ctx context.Context ApiService *DcimAPIService cableEnd *CircuitsCircuitTerminationsListCableEndParameter - cableEndN *CircuitsCircuitTerminationsListCableEndParameter cableId *[]*int32 cableIdN *[]*int32 cabled *bool @@ -98012,6 +106820,21 @@ type ApiDcimRearPortsListRequest struct { deviceN *[]*string deviceId *[]int32 deviceIdN *[]int32 + deviceRole *[]string + deviceRoleN *[]string + deviceRoleId *[]int32 + deviceRoleIdN *[]int32 + deviceStatus *[]string + deviceStatusEmpty *bool + deviceStatusIc *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusIe *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusIew *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusIsw *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusN *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusNic *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusNie *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusNiew *[]DcimConsolePortsListDeviceStatusIcParameterInner + deviceStatusNisw *[]DcimConsolePortsListDeviceStatusIcParameterInner deviceType *[]string deviceTypeN *[]string deviceTypeId *[]int32 @@ -98076,26 +106899,31 @@ type ApiDcimRearPortsListRequest struct { rackN *[]string rackId *[]int32 rackIdN *[]int32 - region *[]int32 - regionN *[]int32 - regionId *[]int32 - regionIdN *[]int32 - role *[]string - roleN *[]string - roleId *[]int32 - roleIdN *[]int32 + region *[]string + regionN *[]string + regionId *[]string + regionIdN *[]string site *[]string siteN *[]string - siteGroup *[]int32 - siteGroupN *[]int32 - siteGroupId *[]int32 - siteGroupIdN *[]int32 + siteGroup *[]string + siteGroupN *[]string + siteGroupId *[]string + siteGroupIdN *[]string siteId *[]int32 siteIdN *[]int32 tag *[]string tagN *[]string type_ *[]string - typeN *[]string + typeEmpty *bool + typeIc *[]DcimFrontPortTemplatesListTypeIcParameterInner + typeIe *[]DcimFrontPortTemplatesListTypeIcParameterInner + typeIew *[]DcimFrontPortTemplatesListTypeIcParameterInner + typeIsw *[]DcimFrontPortTemplatesListTypeIcParameterInner + typeN *[]DcimFrontPortTemplatesListTypeIcParameterInner + typeNic *[]DcimFrontPortTemplatesListTypeIcParameterInner + typeNie *[]DcimFrontPortTemplatesListTypeIcParameterInner + typeNiew *[]DcimFrontPortTemplatesListTypeIcParameterInner + typeNisw *[]DcimFrontPortTemplatesListTypeIcParameterInner updatedByRequest *string virtualChassis *[]string virtualChassisN *[]string @@ -98109,12 +106937,6 @@ func (r ApiDcimRearPortsListRequest) CableEnd(cableEnd CircuitsCircuitTerminatio return r } -// * `A` - A * `B` - B -func (r ApiDcimRearPortsListRequest) CableEndN(cableEndN CircuitsCircuitTerminationsListCableEndParameter) ApiDcimRearPortsListRequest { - r.cableEndN = &cableEndN - return r -} - // Cable (ID) func (r ApiDcimRearPortsListRequest) CableId(cableId []*int32) ApiDcimRearPortsListRequest { r.cableId = &cableId @@ -98306,6 +107128,94 @@ func (r ApiDcimRearPortsListRequest) DeviceIdN(deviceIdN []int32) ApiDcimRearPor return r } +// Device role (slug) +func (r ApiDcimRearPortsListRequest) DeviceRole(deviceRole []string) ApiDcimRearPortsListRequest { + r.deviceRole = &deviceRole + return r +} + +// Device role (slug) +func (r ApiDcimRearPortsListRequest) DeviceRoleN(deviceRoleN []string) ApiDcimRearPortsListRequest { + r.deviceRoleN = &deviceRoleN + return r +} + +// Device role (ID) +func (r ApiDcimRearPortsListRequest) DeviceRoleId(deviceRoleId []int32) ApiDcimRearPortsListRequest { + r.deviceRoleId = &deviceRoleId + return r +} + +// Device role (ID) +func (r ApiDcimRearPortsListRequest) DeviceRoleIdN(deviceRoleIdN []int32) ApiDcimRearPortsListRequest { + r.deviceRoleIdN = &deviceRoleIdN + return r +} + +func (r ApiDcimRearPortsListRequest) DeviceStatus(deviceStatus []string) ApiDcimRearPortsListRequest { + r.deviceStatus = &deviceStatus + return r +} + +func (r ApiDcimRearPortsListRequest) DeviceStatusEmpty(deviceStatusEmpty bool) ApiDcimRearPortsListRequest { + r.deviceStatusEmpty = &deviceStatusEmpty + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimRearPortsListRequest) DeviceStatusIc(deviceStatusIc []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimRearPortsListRequest { + r.deviceStatusIc = &deviceStatusIc + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimRearPortsListRequest) DeviceStatusIe(deviceStatusIe []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimRearPortsListRequest { + r.deviceStatusIe = &deviceStatusIe + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimRearPortsListRequest) DeviceStatusIew(deviceStatusIew []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimRearPortsListRequest { + r.deviceStatusIew = &deviceStatusIew + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimRearPortsListRequest) DeviceStatusIsw(deviceStatusIsw []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimRearPortsListRequest { + r.deviceStatusIsw = &deviceStatusIsw + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimRearPortsListRequest) DeviceStatusN(deviceStatusN []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimRearPortsListRequest { + r.deviceStatusN = &deviceStatusN + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimRearPortsListRequest) DeviceStatusNic(deviceStatusNic []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimRearPortsListRequest { + r.deviceStatusNic = &deviceStatusNic + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimRearPortsListRequest) DeviceStatusNie(deviceStatusNie []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimRearPortsListRequest { + r.deviceStatusNie = &deviceStatusNie + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimRearPortsListRequest) DeviceStatusNiew(deviceStatusNiew []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimRearPortsListRequest { + r.deviceStatusNiew = &deviceStatusNiew + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning +func (r ApiDcimRearPortsListRequest) DeviceStatusNisw(deviceStatusNisw []DcimConsolePortsListDeviceStatusIcParameterInner) ApiDcimRearPortsListRequest { + r.deviceStatusNisw = &deviceStatusNisw + return r +} + // Device type (model) func (r ApiDcimRearPortsListRequest) DeviceType(deviceType []string) ApiDcimRearPortsListRequest { r.deviceType = &deviceType @@ -98644,54 +107554,26 @@ func (r ApiDcimRearPortsListRequest) RackIdN(rackIdN []int32) ApiDcimRearPortsLi return r } -// Region (slug) -func (r ApiDcimRearPortsListRequest) Region(region []int32) ApiDcimRearPortsListRequest { +func (r ApiDcimRearPortsListRequest) Region(region []string) ApiDcimRearPortsListRequest { r.region = ®ion return r } -// Region (slug) -func (r ApiDcimRearPortsListRequest) RegionN(regionN []int32) ApiDcimRearPortsListRequest { +func (r ApiDcimRearPortsListRequest) RegionN(regionN []string) ApiDcimRearPortsListRequest { r.regionN = ®ionN return r } -// Region (ID) -func (r ApiDcimRearPortsListRequest) RegionId(regionId []int32) ApiDcimRearPortsListRequest { +func (r ApiDcimRearPortsListRequest) RegionId(regionId []string) ApiDcimRearPortsListRequest { r.regionId = ®ionId return r } -// Region (ID) -func (r ApiDcimRearPortsListRequest) RegionIdN(regionIdN []int32) ApiDcimRearPortsListRequest { +func (r ApiDcimRearPortsListRequest) RegionIdN(regionIdN []string) ApiDcimRearPortsListRequest { r.regionIdN = ®ionIdN return r } -// Device role (slug) -func (r ApiDcimRearPortsListRequest) Role(role []string) ApiDcimRearPortsListRequest { - r.role = &role - return r -} - -// Device role (slug) -func (r ApiDcimRearPortsListRequest) RoleN(roleN []string) ApiDcimRearPortsListRequest { - r.roleN = &roleN - return r -} - -// Device role (ID) -func (r ApiDcimRearPortsListRequest) RoleId(roleId []int32) ApiDcimRearPortsListRequest { - r.roleId = &roleId - return r -} - -// Device role (ID) -func (r ApiDcimRearPortsListRequest) RoleIdN(roleIdN []int32) ApiDcimRearPortsListRequest { - r.roleIdN = &roleIdN - return r -} - // Site name (slug) func (r ApiDcimRearPortsListRequest) Site(site []string) ApiDcimRearPortsListRequest { r.site = &site @@ -98704,26 +107586,22 @@ func (r ApiDcimRearPortsListRequest) SiteN(siteN []string) ApiDcimRearPortsListR return r } -// Site group (slug) -func (r ApiDcimRearPortsListRequest) SiteGroup(siteGroup []int32) ApiDcimRearPortsListRequest { +func (r ApiDcimRearPortsListRequest) SiteGroup(siteGroup []string) ApiDcimRearPortsListRequest { r.siteGroup = &siteGroup return r } -// Site group (slug) -func (r ApiDcimRearPortsListRequest) SiteGroupN(siteGroupN []int32) ApiDcimRearPortsListRequest { +func (r ApiDcimRearPortsListRequest) SiteGroupN(siteGroupN []string) ApiDcimRearPortsListRequest { r.siteGroupN = &siteGroupN return r } -// Site group (ID) -func (r ApiDcimRearPortsListRequest) SiteGroupId(siteGroupId []int32) ApiDcimRearPortsListRequest { +func (r ApiDcimRearPortsListRequest) SiteGroupId(siteGroupId []string) ApiDcimRearPortsListRequest { r.siteGroupId = &siteGroupId return r } -// Site group (ID) -func (r ApiDcimRearPortsListRequest) SiteGroupIdN(siteGroupIdN []int32) ApiDcimRearPortsListRequest { +func (r ApiDcimRearPortsListRequest) SiteGroupIdN(siteGroupIdN []string) ApiDcimRearPortsListRequest { r.siteGroupIdN = &siteGroupIdN return r } @@ -98755,11 +107633,65 @@ func (r ApiDcimRearPortsListRequest) Type_(type_ []string) ApiDcimRearPortsListR return r } -func (r ApiDcimRearPortsListRequest) TypeN(typeN []string) ApiDcimRearPortsListRequest { +func (r ApiDcimRearPortsListRequest) TypeEmpty(typeEmpty bool) ApiDcimRearPortsListRequest { + r.typeEmpty = &typeEmpty + return r +} + +// * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other +func (r ApiDcimRearPortsListRequest) TypeIc(typeIc []DcimFrontPortTemplatesListTypeIcParameterInner) ApiDcimRearPortsListRequest { + r.typeIc = &typeIc + return r +} + +// * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other +func (r ApiDcimRearPortsListRequest) TypeIe(typeIe []DcimFrontPortTemplatesListTypeIcParameterInner) ApiDcimRearPortsListRequest { + r.typeIe = &typeIe + return r +} + +// * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other +func (r ApiDcimRearPortsListRequest) TypeIew(typeIew []DcimFrontPortTemplatesListTypeIcParameterInner) ApiDcimRearPortsListRequest { + r.typeIew = &typeIew + return r +} + +// * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other +func (r ApiDcimRearPortsListRequest) TypeIsw(typeIsw []DcimFrontPortTemplatesListTypeIcParameterInner) ApiDcimRearPortsListRequest { + r.typeIsw = &typeIsw + return r +} + +// * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other +func (r ApiDcimRearPortsListRequest) TypeN(typeN []DcimFrontPortTemplatesListTypeIcParameterInner) ApiDcimRearPortsListRequest { r.typeN = &typeN return r } +// * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other +func (r ApiDcimRearPortsListRequest) TypeNic(typeNic []DcimFrontPortTemplatesListTypeIcParameterInner) ApiDcimRearPortsListRequest { + r.typeNic = &typeNic + return r +} + +// * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other +func (r ApiDcimRearPortsListRequest) TypeNie(typeNie []DcimFrontPortTemplatesListTypeIcParameterInner) ApiDcimRearPortsListRequest { + r.typeNie = &typeNie + return r +} + +// * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other +func (r ApiDcimRearPortsListRequest) TypeNiew(typeNiew []DcimFrontPortTemplatesListTypeIcParameterInner) ApiDcimRearPortsListRequest { + r.typeNiew = &typeNiew + return r +} + +// * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other +func (r ApiDcimRearPortsListRequest) TypeNisw(typeNisw []DcimFrontPortTemplatesListTypeIcParameterInner) ApiDcimRearPortsListRequest { + r.typeNisw = &typeNisw + return r +} + func (r ApiDcimRearPortsListRequest) UpdatedByRequest(updatedByRequest string) ApiDcimRearPortsListRequest { r.updatedByRequest = &updatedByRequest return r @@ -98833,9 +107765,6 @@ func (a *DcimAPIService) DcimRearPortsListExecute(r ApiDcimRearPortsListRequest) if r.cableEnd != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "cable_end", r.cableEnd, "") } - if r.cableEndN != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "cable_end__n", r.cableEndN, "") - } if r.cableId != nil { t := *r.cableId if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -99211,6 +108140,163 @@ func (a *DcimAPIService) DcimRearPortsListExecute(r ApiDcimRearPortsListRequest) parameterAddToHeaderOrQuery(localVarQueryParams, "device_id__n", t, "multi") } } + if r.deviceRole != nil { + t := *r.deviceRole + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role", t, "multi") + } + } + if r.deviceRoleN != nil { + t := *r.deviceRoleN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role__n", t, "multi") + } + } + if r.deviceRoleId != nil { + t := *r.deviceRoleId + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role_id", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role_id", t, "multi") + } + } + if r.deviceRoleIdN != nil { + t := *r.deviceRoleIdN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role_id__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_role_id__n", t, "multi") + } + } + if r.deviceStatus != nil { + t := *r.deviceStatus + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status", t, "multi") + } + } + if r.deviceStatusEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__empty", r.deviceStatusEmpty, "") + } + if r.deviceStatusIc != nil { + t := *r.deviceStatusIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__ic", t, "multi") + } + } + if r.deviceStatusIe != nil { + t := *r.deviceStatusIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__ie", t, "multi") + } + } + if r.deviceStatusIew != nil { + t := *r.deviceStatusIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__iew", t, "multi") + } + } + if r.deviceStatusIsw != nil { + t := *r.deviceStatusIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__isw", t, "multi") + } + } + if r.deviceStatusN != nil { + t := *r.deviceStatusN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__n", t, "multi") + } + } + if r.deviceStatusNic != nil { + t := *r.deviceStatusNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nic", t, "multi") + } + } + if r.deviceStatusNie != nil { + t := *r.deviceStatusNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nie", t, "multi") + } + } + if r.deviceStatusNiew != nil { + t := *r.deviceStatusNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__niew", t, "multi") + } + } + if r.deviceStatusNisw != nil { + t := *r.deviceStatusNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "device_status__nisw", t, "multi") + } + } if r.deviceType != nil { t := *r.deviceType if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -99871,50 +108957,6 @@ func (a *DcimAPIService) DcimRearPortsListExecute(r ApiDcimRearPortsListRequest) parameterAddToHeaderOrQuery(localVarQueryParams, "region_id__n", t, "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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "role", t, "multi") - } - } - 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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "role__n", t, "multi") - } - } - if r.roleId != nil { - t := *r.roleId - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "role_id", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "role_id", t, "multi") - } - } - if r.roleIdN != nil { - t := *r.roleIdN - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "role_id__n", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "role_id__n", t, "multi") - } - } if r.site != nil { t := *r.site if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -100036,6 +109078,53 @@ func (a *DcimAPIService) DcimRearPortsListExecute(r ApiDcimRearPortsListRequest) parameterAddToHeaderOrQuery(localVarQueryParams, "type", t, "multi") } } + if r.typeEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__empty", r.typeEmpty, "") + } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__ic", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__ie", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__iew", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__isw", t, "multi") + } + } if r.typeN != nil { t := *r.typeN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -100047,6 +109136,50 @@ func (a *DcimAPIService) DcimRearPortsListExecute(r ApiDcimRearPortsListRequest) parameterAddToHeaderOrQuery(localVarQueryParams, "type__n", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__nic", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__nie", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__niew", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__nisw", t, "multi") + } + } if r.updatedByRequest != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "updated_by_request", r.updatedByRequest, "") } @@ -101250,14 +110383,14 @@ func (a *DcimAPIService) DcimRegionsDestroyExecute(r ApiDcimRegionsDestroyReques type ApiDcimRegionsListRequest struct { ctx context.Context ApiService *DcimAPIService - ancestor *[]int32 - ancestorN *[]int32 - ancestorId *[]int32 - ancestorIdN *[]int32 + ancestor *[]string + ancestorN *[]string + ancestorId *[]string + ancestorIdN *[]string contact *[]int32 contactN *[]int32 - contactGroup *[]int32 - contactGroupN *[]int32 + contactGroup *[]string + contactGroupN *[]string contactRole *[]int32 contactRoleN *[]int32 created *[]time.Time @@ -101329,26 +110462,22 @@ type ApiDcimRegionsListRequest struct { updatedByRequest *string } -// Region (slug) -func (r ApiDcimRegionsListRequest) Ancestor(ancestor []int32) ApiDcimRegionsListRequest { +func (r ApiDcimRegionsListRequest) Ancestor(ancestor []string) ApiDcimRegionsListRequest { r.ancestor = &ancestor return r } -// Region (slug) -func (r ApiDcimRegionsListRequest) AncestorN(ancestorN []int32) ApiDcimRegionsListRequest { +func (r ApiDcimRegionsListRequest) AncestorN(ancestorN []string) ApiDcimRegionsListRequest { r.ancestorN = &ancestorN return r } -// Region (ID) -func (r ApiDcimRegionsListRequest) AncestorId(ancestorId []int32) ApiDcimRegionsListRequest { +func (r ApiDcimRegionsListRequest) AncestorId(ancestorId []string) ApiDcimRegionsListRequest { r.ancestorId = &ancestorId return r } -// Region (ID) -func (r ApiDcimRegionsListRequest) AncestorIdN(ancestorIdN []int32) ApiDcimRegionsListRequest { +func (r ApiDcimRegionsListRequest) AncestorIdN(ancestorIdN []string) ApiDcimRegionsListRequest { r.ancestorIdN = &ancestorIdN return r } @@ -101365,14 +110494,12 @@ func (r ApiDcimRegionsListRequest) ContactN(contactN []int32) ApiDcimRegionsList return r } -// Contact group -func (r ApiDcimRegionsListRequest) ContactGroup(contactGroup []int32) ApiDcimRegionsListRequest { +func (r ApiDcimRegionsListRequest) ContactGroup(contactGroup []string) ApiDcimRegionsListRequest { r.contactGroup = &contactGroup return r } -// Contact group -func (r ApiDcimRegionsListRequest) ContactGroupN(contactGroupN []int32) ApiDcimRegionsListRequest { +func (r ApiDcimRegionsListRequest) ContactGroupN(contactGroupN []string) ApiDcimRegionsListRequest { r.contactGroupN = &contactGroupN return r } @@ -103570,14 +112697,14 @@ func (a *DcimAPIService) DcimSiteGroupsDestroyExecute(r ApiDcimSiteGroupsDestroy type ApiDcimSiteGroupsListRequest struct { ctx context.Context ApiService *DcimAPIService - ancestor *[]int32 - ancestorN *[]int32 - ancestorId *[]int32 - ancestorIdN *[]int32 + ancestor *[]string + ancestorN *[]string + ancestorId *[]string + ancestorIdN *[]string contact *[]int32 contactN *[]int32 - contactGroup *[]int32 - contactGroupN *[]int32 + contactGroup *[]string + contactGroupN *[]string contactRole *[]int32 contactRoleN *[]int32 created *[]time.Time @@ -103649,26 +112776,22 @@ type ApiDcimSiteGroupsListRequest struct { updatedByRequest *string } -// Site group (slug) -func (r ApiDcimSiteGroupsListRequest) Ancestor(ancestor []int32) ApiDcimSiteGroupsListRequest { +func (r ApiDcimSiteGroupsListRequest) Ancestor(ancestor []string) ApiDcimSiteGroupsListRequest { r.ancestor = &ancestor return r } -// Site group (slug) -func (r ApiDcimSiteGroupsListRequest) AncestorN(ancestorN []int32) ApiDcimSiteGroupsListRequest { +func (r ApiDcimSiteGroupsListRequest) AncestorN(ancestorN []string) ApiDcimSiteGroupsListRequest { r.ancestorN = &ancestorN return r } -// Site group (ID) -func (r ApiDcimSiteGroupsListRequest) AncestorId(ancestorId []int32) ApiDcimSiteGroupsListRequest { +func (r ApiDcimSiteGroupsListRequest) AncestorId(ancestorId []string) ApiDcimSiteGroupsListRequest { r.ancestorId = &ancestorId return r } -// Site group (ID) -func (r ApiDcimSiteGroupsListRequest) AncestorIdN(ancestorIdN []int32) ApiDcimSiteGroupsListRequest { +func (r ApiDcimSiteGroupsListRequest) AncestorIdN(ancestorIdN []string) ApiDcimSiteGroupsListRequest { r.ancestorIdN = &ancestorIdN return r } @@ -103685,14 +112808,12 @@ func (r ApiDcimSiteGroupsListRequest) ContactN(contactN []int32) ApiDcimSiteGrou return r } -// Contact group -func (r ApiDcimSiteGroupsListRequest) ContactGroup(contactGroup []int32) ApiDcimSiteGroupsListRequest { +func (r ApiDcimSiteGroupsListRequest) ContactGroup(contactGroup []string) ApiDcimSiteGroupsListRequest { r.contactGroup = &contactGroup return r } -// Contact group -func (r ApiDcimSiteGroupsListRequest) ContactGroupN(contactGroupN []int32) ApiDcimSiteGroupsListRequest { +func (r ApiDcimSiteGroupsListRequest) ContactGroupN(contactGroupN []string) ApiDcimSiteGroupsListRequest { r.contactGroupN = &contactGroupN return r } @@ -105896,8 +115017,8 @@ type ApiDcimSitesListRequest struct { asnIdN *[]int32 contact *[]int32 contactN *[]int32 - contactGroup *[]int32 - contactGroupN *[]int32 + contactGroup *[]string + contactGroupN *[]string contactRole *[]int32 contactRoleN *[]int32 created *[]time.Time @@ -105930,10 +115051,10 @@ type ApiDcimSitesListRequest struct { facilityNie *[]string facilityNiew *[]string facilityNisw *[]string - group *[]int32 - groupN *[]int32 - groupId *[]int32 - groupIdN *[]int32 + group *[]string + groupN *[]string + groupId *[]string + groupIdN *[]string id *[]int32 idEmpty *bool idGt *[]int32 @@ -105978,10 +115099,10 @@ type ApiDcimSitesListRequest struct { offset *int32 ordering *string q *string - region *[]int32 - regionN *[]int32 - regionId *[]int32 - regionIdN *[]int32 + region *[]string + regionN *[]string + regionId *[]string + regionIdN *[]string slug *[]string slugEmpty *bool slugIc *[]string @@ -105994,15 +115115,24 @@ type ApiDcimSitesListRequest struct { slugNiew *[]string slugNisw *[]string status *[]string - statusN *[]string + statusEmpty *bool + statusIc *[]DcimLocationsListStatusIcParameterInner + statusIe *[]DcimLocationsListStatusIcParameterInner + statusIew *[]DcimLocationsListStatusIcParameterInner + statusIsw *[]DcimLocationsListStatusIcParameterInner + statusN *[]DcimLocationsListStatusIcParameterInner + statusNic *[]DcimLocationsListStatusIcParameterInner + statusNie *[]DcimLocationsListStatusIcParameterInner + statusNiew *[]DcimLocationsListStatusIcParameterInner + statusNisw *[]DcimLocationsListStatusIcParameterInner tag *[]string tagN *[]string tenant *[]string tenantN *[]string - tenantGroup *[]int32 - tenantGroupN *[]int32 - tenantGroupId *[]int32 - tenantGroupIdN *[]int32 + tenantGroup *[]string + tenantGroupN *[]string + tenantGroupId *[]string + tenantGroupIdN *[]string tenantId *[]*int32 tenantIdN *[]*int32 timeZone *[]string @@ -106054,14 +115184,12 @@ func (r ApiDcimSitesListRequest) ContactN(contactN []int32) ApiDcimSitesListRequ return r } -// Contact group -func (r ApiDcimSitesListRequest) ContactGroup(contactGroup []int32) ApiDcimSitesListRequest { +func (r ApiDcimSitesListRequest) ContactGroup(contactGroup []string) ApiDcimSitesListRequest { r.contactGroup = &contactGroup return r } -// Contact group -func (r ApiDcimSitesListRequest) ContactGroupN(contactGroupN []int32) ApiDcimSitesListRequest { +func (r ApiDcimSitesListRequest) ContactGroupN(contactGroupN []string) ApiDcimSitesListRequest { r.contactGroupN = &contactGroupN return r } @@ -106228,26 +115356,22 @@ func (r ApiDcimSitesListRequest) FacilityNisw(facilityNisw []string) ApiDcimSite return r } -// Group (slug) -func (r ApiDcimSitesListRequest) Group(group []int32) ApiDcimSitesListRequest { +func (r ApiDcimSitesListRequest) Group(group []string) ApiDcimSitesListRequest { r.group = &group return r } -// Group (slug) -func (r ApiDcimSitesListRequest) GroupN(groupN []int32) ApiDcimSitesListRequest { +func (r ApiDcimSitesListRequest) GroupN(groupN []string) ApiDcimSitesListRequest { r.groupN = &groupN return r } -// Group (ID) -func (r ApiDcimSitesListRequest) GroupId(groupId []int32) ApiDcimSitesListRequest { +func (r ApiDcimSitesListRequest) GroupId(groupId []string) ApiDcimSitesListRequest { r.groupId = &groupId return r } -// Group (ID) -func (r ApiDcimSitesListRequest) GroupIdN(groupIdN []int32) ApiDcimSitesListRequest { +func (r ApiDcimSitesListRequest) GroupIdN(groupIdN []string) ApiDcimSitesListRequest { r.groupIdN = &groupIdN return r } @@ -106476,26 +115600,22 @@ func (r ApiDcimSitesListRequest) Q(q string) ApiDcimSitesListRequest { return r } -// Region (slug) -func (r ApiDcimSitesListRequest) Region(region []int32) ApiDcimSitesListRequest { +func (r ApiDcimSitesListRequest) Region(region []string) ApiDcimSitesListRequest { r.region = ®ion return r } -// Region (slug) -func (r ApiDcimSitesListRequest) RegionN(regionN []int32) ApiDcimSitesListRequest { +func (r ApiDcimSitesListRequest) RegionN(regionN []string) ApiDcimSitesListRequest { r.regionN = ®ionN return r } -// Region (ID) -func (r ApiDcimSitesListRequest) RegionId(regionId []int32) ApiDcimSitesListRequest { +func (r ApiDcimSitesListRequest) RegionId(regionId []string) ApiDcimSitesListRequest { r.regionId = ®ionId return r } -// Region (ID) -func (r ApiDcimSitesListRequest) RegionIdN(regionIdN []int32) ApiDcimSitesListRequest { +func (r ApiDcimSitesListRequest) RegionIdN(regionIdN []string) ApiDcimSitesListRequest { r.regionIdN = ®ionIdN return r } @@ -106560,11 +115680,65 @@ func (r ApiDcimSitesListRequest) Status(status []string) ApiDcimSitesListRequest return r } -func (r ApiDcimSitesListRequest) StatusN(statusN []string) ApiDcimSitesListRequest { +func (r ApiDcimSitesListRequest) StatusEmpty(statusEmpty bool) ApiDcimSitesListRequest { + r.statusEmpty = &statusEmpty + return r +} + +// * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired +func (r ApiDcimSitesListRequest) StatusIc(statusIc []DcimLocationsListStatusIcParameterInner) ApiDcimSitesListRequest { + r.statusIc = &statusIc + return r +} + +// * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired +func (r ApiDcimSitesListRequest) StatusIe(statusIe []DcimLocationsListStatusIcParameterInner) ApiDcimSitesListRequest { + r.statusIe = &statusIe + return r +} + +// * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired +func (r ApiDcimSitesListRequest) StatusIew(statusIew []DcimLocationsListStatusIcParameterInner) ApiDcimSitesListRequest { + r.statusIew = &statusIew + return r +} + +// * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired +func (r ApiDcimSitesListRequest) StatusIsw(statusIsw []DcimLocationsListStatusIcParameterInner) ApiDcimSitesListRequest { + r.statusIsw = &statusIsw + return r +} + +// * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired +func (r ApiDcimSitesListRequest) StatusN(statusN []DcimLocationsListStatusIcParameterInner) ApiDcimSitesListRequest { r.statusN = &statusN return r } +// * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired +func (r ApiDcimSitesListRequest) StatusNic(statusNic []DcimLocationsListStatusIcParameterInner) ApiDcimSitesListRequest { + r.statusNic = &statusNic + return r +} + +// * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired +func (r ApiDcimSitesListRequest) StatusNie(statusNie []DcimLocationsListStatusIcParameterInner) ApiDcimSitesListRequest { + r.statusNie = &statusNie + return r +} + +// * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired +func (r ApiDcimSitesListRequest) StatusNiew(statusNiew []DcimLocationsListStatusIcParameterInner) ApiDcimSitesListRequest { + r.statusNiew = &statusNiew + return r +} + +// * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired +func (r ApiDcimSitesListRequest) StatusNisw(statusNisw []DcimLocationsListStatusIcParameterInner) ApiDcimSitesListRequest { + r.statusNisw = &statusNisw + return r +} + func (r ApiDcimSitesListRequest) Tag(tag []string) ApiDcimSitesListRequest { r.tag = &tag return r @@ -106587,26 +115761,22 @@ func (r ApiDcimSitesListRequest) TenantN(tenantN []string) ApiDcimSitesListReque return r } -// Tenant Group (slug) -func (r ApiDcimSitesListRequest) TenantGroup(tenantGroup []int32) ApiDcimSitesListRequest { +func (r ApiDcimSitesListRequest) TenantGroup(tenantGroup []string) ApiDcimSitesListRequest { r.tenantGroup = &tenantGroup return r } -// Tenant Group (slug) -func (r ApiDcimSitesListRequest) TenantGroupN(tenantGroupN []int32) ApiDcimSitesListRequest { +func (r ApiDcimSitesListRequest) TenantGroupN(tenantGroupN []string) ApiDcimSitesListRequest { r.tenantGroupN = &tenantGroupN return r } -// Tenant Group (ID) -func (r ApiDcimSitesListRequest) TenantGroupId(tenantGroupId []int32) ApiDcimSitesListRequest { +func (r ApiDcimSitesListRequest) TenantGroupId(tenantGroupId []string) ApiDcimSitesListRequest { r.tenantGroupId = &tenantGroupId return r } -// Tenant Group (ID) -func (r ApiDcimSitesListRequest) TenantGroupIdN(tenantGroupIdN []int32) ApiDcimSitesListRequest { +func (r ApiDcimSitesListRequest) TenantGroupIdN(tenantGroupIdN []string) ApiDcimSitesListRequest { r.tenantGroupIdN = &tenantGroupIdN return r } @@ -107759,6 +116929,53 @@ func (a *DcimAPIService) DcimSitesListExecute(r ApiDcimSitesListRequest) (*Pagin parameterAddToHeaderOrQuery(localVarQueryParams, "status", t, "multi") } } + if r.statusEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__empty", r.statusEmpty, "") + } + if r.statusIc != nil { + t := *r.statusIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ic", t, "multi") + } + } + if r.statusIe != nil { + t := *r.statusIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ie", t, "multi") + } + } + if r.statusIew != nil { + t := *r.statusIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__iew", t, "multi") + } + } + if r.statusIsw != nil { + t := *r.statusIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__isw", t, "multi") + } + } if r.statusN != nil { t := *r.statusN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -107770,6 +116987,50 @@ func (a *DcimAPIService) DcimSitesListExecute(r ApiDcimSitesListRequest) (*Pagin parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", t, "multi") } } + if r.statusNic != nil { + t := *r.statusNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nic", t, "multi") + } + } + if r.statusNie != nil { + t := *r.statusNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nie", t, "multi") + } + } + if r.statusNiew != nil { + t := *r.statusNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__niew", t, "multi") + } + } + if r.statusNisw != nil { + t := *r.statusNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nisw", t, "multi") + } + } if r.tag != nil { t := *r.tag if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -109102,16 +118363,16 @@ type ApiDcimVirtualChassisListRequest struct { offset *int32 ordering *string q *string - region *[]int32 - regionN *[]int32 - regionId *[]int32 - regionIdN *[]int32 + region *[]string + regionN *[]string + regionId *[]string + regionIdN *[]string site *[]string siteN *[]string - siteGroup *[]int32 - siteGroupN *[]int32 - siteGroupId *[]int32 - siteGroupIdN *[]int32 + siteGroup *[]string + siteGroupN *[]string + siteGroupId *[]string + siteGroupIdN *[]string siteId *[]int32 siteIdN *[]int32 tag *[]string @@ -109486,26 +118747,22 @@ func (r ApiDcimVirtualChassisListRequest) Q(q string) ApiDcimVirtualChassisListR return r } -// Region (slug) -func (r ApiDcimVirtualChassisListRequest) Region(region []int32) ApiDcimVirtualChassisListRequest { +func (r ApiDcimVirtualChassisListRequest) Region(region []string) ApiDcimVirtualChassisListRequest { r.region = ®ion return r } -// Region (slug) -func (r ApiDcimVirtualChassisListRequest) RegionN(regionN []int32) ApiDcimVirtualChassisListRequest { +func (r ApiDcimVirtualChassisListRequest) RegionN(regionN []string) ApiDcimVirtualChassisListRequest { r.regionN = ®ionN return r } -// Region (ID) -func (r ApiDcimVirtualChassisListRequest) RegionId(regionId []int32) ApiDcimVirtualChassisListRequest { +func (r ApiDcimVirtualChassisListRequest) RegionId(regionId []string) ApiDcimVirtualChassisListRequest { r.regionId = ®ionId return r } -// Region (ID) -func (r ApiDcimVirtualChassisListRequest) RegionIdN(regionIdN []int32) ApiDcimVirtualChassisListRequest { +func (r ApiDcimVirtualChassisListRequest) RegionIdN(regionIdN []string) ApiDcimVirtualChassisListRequest { r.regionIdN = ®ionIdN return r } @@ -109522,26 +118779,22 @@ func (r ApiDcimVirtualChassisListRequest) SiteN(siteN []string) ApiDcimVirtualCh return r } -// Site group (slug) -func (r ApiDcimVirtualChassisListRequest) SiteGroup(siteGroup []int32) ApiDcimVirtualChassisListRequest { +func (r ApiDcimVirtualChassisListRequest) SiteGroup(siteGroup []string) ApiDcimVirtualChassisListRequest { r.siteGroup = &siteGroup return r } -// Site group (slug) -func (r ApiDcimVirtualChassisListRequest) SiteGroupN(siteGroupN []int32) ApiDcimVirtualChassisListRequest { +func (r ApiDcimVirtualChassisListRequest) SiteGroupN(siteGroupN []string) ApiDcimVirtualChassisListRequest { r.siteGroupN = &siteGroupN return r } -// Site group (ID) -func (r ApiDcimVirtualChassisListRequest) SiteGroupId(siteGroupId []int32) ApiDcimVirtualChassisListRequest { +func (r ApiDcimVirtualChassisListRequest) SiteGroupId(siteGroupId []string) ApiDcimVirtualChassisListRequest { r.siteGroupId = &siteGroupId return r } -// Site group (ID) -func (r ApiDcimVirtualChassisListRequest) SiteGroupIdN(siteGroupIdN []int32) ApiDcimVirtualChassisListRequest { +func (r ApiDcimVirtualChassisListRequest) SiteGroupIdN(siteGroupIdN []string) ApiDcimVirtualChassisListRequest { r.siteGroupIdN = &siteGroupIdN return r } @@ -111638,15 +120891,24 @@ type ApiDcimVirtualDeviceContextsListRequest struct { primaryIp6IdN *[]int32 q *string status *[]string - statusN *[]string + statusEmpty *bool + statusIc *[]DcimVirtualDeviceContextsListStatusIcParameterInner + statusIe *[]DcimVirtualDeviceContextsListStatusIcParameterInner + statusIew *[]DcimVirtualDeviceContextsListStatusIcParameterInner + statusIsw *[]DcimVirtualDeviceContextsListStatusIcParameterInner + statusN *[]DcimVirtualDeviceContextsListStatusIcParameterInner + statusNic *[]DcimVirtualDeviceContextsListStatusIcParameterInner + statusNie *[]DcimVirtualDeviceContextsListStatusIcParameterInner + statusNiew *[]DcimVirtualDeviceContextsListStatusIcParameterInner + statusNisw *[]DcimVirtualDeviceContextsListStatusIcParameterInner tag *[]string tagN *[]string tenant *[]string tenantN *[]string - tenantGroup *[]int32 - tenantGroupN *[]int32 - tenantGroupId *[]int32 - tenantGroupIdN *[]int32 + tenantGroup *[]string + tenantGroupN *[]string + tenantGroupId *[]string + tenantGroupIdN *[]string tenantId *[]*int32 tenantIdN *[]*int32 updatedByRequest *string @@ -112007,11 +121269,65 @@ func (r ApiDcimVirtualDeviceContextsListRequest) Status(status []string) ApiDcim return r } -func (r ApiDcimVirtualDeviceContextsListRequest) StatusN(statusN []string) ApiDcimVirtualDeviceContextsListRequest { +func (r ApiDcimVirtualDeviceContextsListRequest) StatusEmpty(statusEmpty bool) ApiDcimVirtualDeviceContextsListRequest { + r.statusEmpty = &statusEmpty + return r +} + +// * `active` - Active * `planned` - Planned * `offline` - Offline +func (r ApiDcimVirtualDeviceContextsListRequest) StatusIc(statusIc []DcimVirtualDeviceContextsListStatusIcParameterInner) ApiDcimVirtualDeviceContextsListRequest { + r.statusIc = &statusIc + return r +} + +// * `active` - Active * `planned` - Planned * `offline` - Offline +func (r ApiDcimVirtualDeviceContextsListRequest) StatusIe(statusIe []DcimVirtualDeviceContextsListStatusIcParameterInner) ApiDcimVirtualDeviceContextsListRequest { + r.statusIe = &statusIe + return r +} + +// * `active` - Active * `planned` - Planned * `offline` - Offline +func (r ApiDcimVirtualDeviceContextsListRequest) StatusIew(statusIew []DcimVirtualDeviceContextsListStatusIcParameterInner) ApiDcimVirtualDeviceContextsListRequest { + r.statusIew = &statusIew + return r +} + +// * `active` - Active * `planned` - Planned * `offline` - Offline +func (r ApiDcimVirtualDeviceContextsListRequest) StatusIsw(statusIsw []DcimVirtualDeviceContextsListStatusIcParameterInner) ApiDcimVirtualDeviceContextsListRequest { + r.statusIsw = &statusIsw + return r +} + +// * `active` - Active * `planned` - Planned * `offline` - Offline +func (r ApiDcimVirtualDeviceContextsListRequest) StatusN(statusN []DcimVirtualDeviceContextsListStatusIcParameterInner) ApiDcimVirtualDeviceContextsListRequest { r.statusN = &statusN return r } +// * `active` - Active * `planned` - Planned * `offline` - Offline +func (r ApiDcimVirtualDeviceContextsListRequest) StatusNic(statusNic []DcimVirtualDeviceContextsListStatusIcParameterInner) ApiDcimVirtualDeviceContextsListRequest { + r.statusNic = &statusNic + return r +} + +// * `active` - Active * `planned` - Planned * `offline` - Offline +func (r ApiDcimVirtualDeviceContextsListRequest) StatusNie(statusNie []DcimVirtualDeviceContextsListStatusIcParameterInner) ApiDcimVirtualDeviceContextsListRequest { + r.statusNie = &statusNie + return r +} + +// * `active` - Active * `planned` - Planned * `offline` - Offline +func (r ApiDcimVirtualDeviceContextsListRequest) StatusNiew(statusNiew []DcimVirtualDeviceContextsListStatusIcParameterInner) ApiDcimVirtualDeviceContextsListRequest { + r.statusNiew = &statusNiew + return r +} + +// * `active` - Active * `planned` - Planned * `offline` - Offline +func (r ApiDcimVirtualDeviceContextsListRequest) StatusNisw(statusNisw []DcimVirtualDeviceContextsListStatusIcParameterInner) ApiDcimVirtualDeviceContextsListRequest { + r.statusNisw = &statusNisw + return r +} + func (r ApiDcimVirtualDeviceContextsListRequest) Tag(tag []string) ApiDcimVirtualDeviceContextsListRequest { r.tag = &tag return r @@ -112034,26 +121350,22 @@ func (r ApiDcimVirtualDeviceContextsListRequest) TenantN(tenantN []string) ApiDc return r } -// Tenant Group (slug) -func (r ApiDcimVirtualDeviceContextsListRequest) TenantGroup(tenantGroup []int32) ApiDcimVirtualDeviceContextsListRequest { +func (r ApiDcimVirtualDeviceContextsListRequest) TenantGroup(tenantGroup []string) ApiDcimVirtualDeviceContextsListRequest { r.tenantGroup = &tenantGroup return r } -// Tenant Group (slug) -func (r ApiDcimVirtualDeviceContextsListRequest) TenantGroupN(tenantGroupN []int32) ApiDcimVirtualDeviceContextsListRequest { +func (r ApiDcimVirtualDeviceContextsListRequest) TenantGroupN(tenantGroupN []string) ApiDcimVirtualDeviceContextsListRequest { r.tenantGroupN = &tenantGroupN return r } -// Tenant Group (ID) -func (r ApiDcimVirtualDeviceContextsListRequest) TenantGroupId(tenantGroupId []int32) ApiDcimVirtualDeviceContextsListRequest { +func (r ApiDcimVirtualDeviceContextsListRequest) TenantGroupId(tenantGroupId []string) ApiDcimVirtualDeviceContextsListRequest { r.tenantGroupId = &tenantGroupId return r } -// Tenant Group (ID) -func (r ApiDcimVirtualDeviceContextsListRequest) TenantGroupIdN(tenantGroupIdN []int32) ApiDcimVirtualDeviceContextsListRequest { +func (r ApiDcimVirtualDeviceContextsListRequest) TenantGroupIdN(tenantGroupIdN []string) ApiDcimVirtualDeviceContextsListRequest { r.tenantGroupIdN = &tenantGroupIdN return r } @@ -112776,6 +122088,53 @@ func (a *DcimAPIService) DcimVirtualDeviceContextsListExecute(r ApiDcimVirtualDe parameterAddToHeaderOrQuery(localVarQueryParams, "status", t, "multi") } } + if r.statusEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__empty", r.statusEmpty, "") + } + if r.statusIc != nil { + t := *r.statusIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ic", t, "multi") + } + } + if r.statusIe != nil { + t := *r.statusIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ie", t, "multi") + } + } + if r.statusIew != nil { + t := *r.statusIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__iew", t, "multi") + } + } + if r.statusIsw != nil { + t := *r.statusIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__isw", t, "multi") + } + } if r.statusN != nil { t := *r.statusN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -112787,6 +122146,50 @@ func (a *DcimAPIService) DcimVirtualDeviceContextsListExecute(r ApiDcimVirtualDe parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", t, "multi") } } + if r.statusNic != nil { + t := *r.statusNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nic", t, "multi") + } + } + if r.statusNie != nil { + t := *r.statusNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nie", t, "multi") + } + } + if r.statusNiew != nil { + t := *r.statusNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__niew", t, "multi") + } + } + if r.statusNisw != nil { + t := *r.statusNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nisw", t, "multi") + } + } if r.tag != nil { t := *r.tag if reflect.TypeOf(t).Kind() == reflect.Slice { diff --git a/api_extras.go b/api_extras.go index 2b89c130c..5eafaa38b 100644 --- a/api_extras.go +++ b/api_extras.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -2262,10 +2262,6 @@ type ApiExtrasConfigContextsListRequest struct { regionN *[]string regionId *[]int32 regionIdN *[]int32 - role *[]string - roleN *[]string - roleId *[]int32 - roleIdN *[]int32 site *[]string siteN *[]string siteGroup *[]string @@ -2782,30 +2778,6 @@ func (r ApiExtrasConfigContextsListRequest) RegionIdN(regionIdN []int32) ApiExtr return r } -// Role (slug) -func (r ApiExtrasConfigContextsListRequest) Role(role []string) ApiExtrasConfigContextsListRequest { - r.role = &role - return r -} - -// Role (slug) -func (r ApiExtrasConfigContextsListRequest) RoleN(roleN []string) ApiExtrasConfigContextsListRequest { - r.roleN = &roleN - return r -} - -// Role -func (r ApiExtrasConfigContextsListRequest) RoleId(roleId []int32) ApiExtrasConfigContextsListRequest { - r.roleId = &roleId - return r -} - -// Role -func (r ApiExtrasConfigContextsListRequest) RoleIdN(roleIdN []int32) ApiExtrasConfigContextsListRequest { - r.roleIdN = &roleIdN - return r -} - // Site (slug) func (r ApiExtrasConfigContextsListRequest) Site(site []string) ApiExtrasConfigContextsListRequest { r.site = &site @@ -3901,50 +3873,6 @@ func (a *ExtrasAPIService) ExtrasConfigContextsListExecute(r ApiExtrasConfigCont parameterAddToHeaderOrQuery(localVarQueryParams, "region_id__n", t, "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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "role", t, "multi") - } - } - 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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "role__n", t, "multi") - } - } - if r.roleId != nil { - t := *r.roleId - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "role_id", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "role_id", t, "multi") - } - } - if r.roleIdN != nil { - t := *r.roleIdN - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "role_id__n", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "role_id__n", t, "multi") - } - } if r.site != nil { t := *r.site if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -7872,7 +7800,6 @@ type ApiExtrasCustomFieldChoiceSetsListRequest struct { ctx context.Context ApiService *ExtrasAPIService baseChoices *ExtrasCustomFieldChoiceSetsListBaseChoicesParameter - baseChoicesN *ExtrasCustomFieldChoiceSetsListBaseChoicesParameter choice *[]string created *[]time.Time createdEmpty *[]time.Time @@ -7933,12 +7860,6 @@ func (r ApiExtrasCustomFieldChoiceSetsListRequest) BaseChoices(baseChoices Extra return r } -// Base set of predefined choices (optional) * `IATA` - IATA (Airport codes) * `ISO_3166` - ISO 3166 (Country codes) * `UN_LOCODE` - UN/LOCODE (Location codes) -func (r ApiExtrasCustomFieldChoiceSetsListRequest) BaseChoicesN(baseChoicesN ExtrasCustomFieldChoiceSetsListBaseChoicesParameter) ApiExtrasCustomFieldChoiceSetsListRequest { - r.baseChoicesN = &baseChoicesN - return r -} - func (r ApiExtrasCustomFieldChoiceSetsListRequest) Choice(choice []string) ApiExtrasCustomFieldChoiceSetsListRequest { r.choice = &choice return r @@ -8247,9 +8168,6 @@ func (a *ExtrasAPIService) ExtrasCustomFieldChoiceSetsListExecute(r ApiExtrasCus if r.baseChoices != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "base_choices", r.baseChoices, "") } - if r.baseChoicesN != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "base_choices__n", r.baseChoicesN, "") - } if r.choice != nil { t := *r.choice if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -9796,7 +9714,6 @@ type ApiExtrasCustomFieldsListRequest struct { descriptionNiew *[]string descriptionNisw *[]string filterLogic *ExtrasCustomFieldsListFilterLogicParameter - filterLogicN *ExtrasCustomFieldsListFilterLogicParameter groupName *[]string groupNameEmpty *bool groupNameIc *[]string @@ -9875,11 +9792,19 @@ type ApiExtrasCustomFieldsListRequest struct { searchWeightLte *[]int32 searchWeightN *[]int32 type_ *[]string - typeN *[]string + typeEmpty *bool + typeIc *[]ExtrasCustomFieldsListTypeIcParameterInner + typeIe *[]ExtrasCustomFieldsListTypeIcParameterInner + typeIew *[]ExtrasCustomFieldsListTypeIcParameterInner + typeIsw *[]ExtrasCustomFieldsListTypeIcParameterInner + typeN *[]ExtrasCustomFieldsListTypeIcParameterInner + typeNic *[]ExtrasCustomFieldsListTypeIcParameterInner + typeNie *[]ExtrasCustomFieldsListTypeIcParameterInner + typeNiew *[]ExtrasCustomFieldsListTypeIcParameterInner + typeNisw *[]ExtrasCustomFieldsListTypeIcParameterInner uiEditable *ExtrasCustomFieldsListUiEditableParameter - uiEditableN *ExtrasCustomFieldsListUiEditableParameter uiVisible *ExtrasCustomFieldsListUiVisibleParameter - uiVisibleN *ExtrasCustomFieldsListUiVisibleParameter + unique *bool updatedByRequest *string validationMaximum *[]int32 validationMaximumEmpty *bool @@ -10036,12 +9961,6 @@ func (r ApiExtrasCustomFieldsListRequest) FilterLogic(filterLogic ExtrasCustomFi return r } -// Loose matches any instance of a given string; exact matches the entire field. * `disabled` - Disabled * `loose` - Loose * `exact` - Exact -func (r ApiExtrasCustomFieldsListRequest) FilterLogicN(filterLogicN ExtrasCustomFieldsListFilterLogicParameter) ApiExtrasCustomFieldsListRequest { - r.filterLogicN = &filterLogicN - return r -} - func (r ApiExtrasCustomFieldsListRequest) GroupName(groupName []string) ApiExtrasCustomFieldsListRequest { r.groupName = &groupName return r @@ -10437,21 +10356,68 @@ func (r ApiExtrasCustomFieldsListRequest) Type_(type_ []string) ApiExtrasCustomF return r } -// The type of data this custom field holds -func (r ApiExtrasCustomFieldsListRequest) TypeN(typeN []string) ApiExtrasCustomFieldsListRequest { +func (r ApiExtrasCustomFieldsListRequest) TypeEmpty(typeEmpty bool) ApiExtrasCustomFieldsListRequest { + r.typeEmpty = &typeEmpty + return r +} + +// The type of data this custom field holds * `text` - Text * `longtext` - Text (long) * `integer` - Integer * `decimal` - Decimal * `boolean` - Boolean (true/false) * `date` - Date * `datetime` - Date & time * `url` - URL * `json` - JSON * `select` - Selection * `multiselect` - Multiple selection * `object` - Object * `multiobject` - Multiple objects +func (r ApiExtrasCustomFieldsListRequest) TypeIc(typeIc []ExtrasCustomFieldsListTypeIcParameterInner) ApiExtrasCustomFieldsListRequest { + r.typeIc = &typeIc + return r +} + +// The type of data this custom field holds * `text` - Text * `longtext` - Text (long) * `integer` - Integer * `decimal` - Decimal * `boolean` - Boolean (true/false) * `date` - Date * `datetime` - Date & time * `url` - URL * `json` - JSON * `select` - Selection * `multiselect` - Multiple selection * `object` - Object * `multiobject` - Multiple objects +func (r ApiExtrasCustomFieldsListRequest) TypeIe(typeIe []ExtrasCustomFieldsListTypeIcParameterInner) ApiExtrasCustomFieldsListRequest { + r.typeIe = &typeIe + return r +} + +// The type of data this custom field holds * `text` - Text * `longtext` - Text (long) * `integer` - Integer * `decimal` - Decimal * `boolean` - Boolean (true/false) * `date` - Date * `datetime` - Date & time * `url` - URL * `json` - JSON * `select` - Selection * `multiselect` - Multiple selection * `object` - Object * `multiobject` - Multiple objects +func (r ApiExtrasCustomFieldsListRequest) TypeIew(typeIew []ExtrasCustomFieldsListTypeIcParameterInner) ApiExtrasCustomFieldsListRequest { + r.typeIew = &typeIew + return r +} + +// The type of data this custom field holds * `text` - Text * `longtext` - Text (long) * `integer` - Integer * `decimal` - Decimal * `boolean` - Boolean (true/false) * `date` - Date * `datetime` - Date & time * `url` - URL * `json` - JSON * `select` - Selection * `multiselect` - Multiple selection * `object` - Object * `multiobject` - Multiple objects +func (r ApiExtrasCustomFieldsListRequest) TypeIsw(typeIsw []ExtrasCustomFieldsListTypeIcParameterInner) ApiExtrasCustomFieldsListRequest { + r.typeIsw = &typeIsw + return r +} + +// The type of data this custom field holds * `text` - Text * `longtext` - Text (long) * `integer` - Integer * `decimal` - Decimal * `boolean` - Boolean (true/false) * `date` - Date * `datetime` - Date & time * `url` - URL * `json` - JSON * `select` - Selection * `multiselect` - Multiple selection * `object` - Object * `multiobject` - Multiple objects +func (r ApiExtrasCustomFieldsListRequest) TypeN(typeN []ExtrasCustomFieldsListTypeIcParameterInner) ApiExtrasCustomFieldsListRequest { r.typeN = &typeN return r } -// Specifies whether the custom field value can be edited in the UI * `yes` - Yes * `no` - No * `hidden` - Hidden -func (r ApiExtrasCustomFieldsListRequest) UiEditable(uiEditable ExtrasCustomFieldsListUiEditableParameter) ApiExtrasCustomFieldsListRequest { - r.uiEditable = &uiEditable +// The type of data this custom field holds * `text` - Text * `longtext` - Text (long) * `integer` - Integer * `decimal` - Decimal * `boolean` - Boolean (true/false) * `date` - Date * `datetime` - Date & time * `url` - URL * `json` - JSON * `select` - Selection * `multiselect` - Multiple selection * `object` - Object * `multiobject` - Multiple objects +func (r ApiExtrasCustomFieldsListRequest) TypeNic(typeNic []ExtrasCustomFieldsListTypeIcParameterInner) ApiExtrasCustomFieldsListRequest { + r.typeNic = &typeNic + return r +} + +// The type of data this custom field holds * `text` - Text * `longtext` - Text (long) * `integer` - Integer * `decimal` - Decimal * `boolean` - Boolean (true/false) * `date` - Date * `datetime` - Date & time * `url` - URL * `json` - JSON * `select` - Selection * `multiselect` - Multiple selection * `object` - Object * `multiobject` - Multiple objects +func (r ApiExtrasCustomFieldsListRequest) TypeNie(typeNie []ExtrasCustomFieldsListTypeIcParameterInner) ApiExtrasCustomFieldsListRequest { + r.typeNie = &typeNie + return r +} + +// The type of data this custom field holds * `text` - Text * `longtext` - Text (long) * `integer` - Integer * `decimal` - Decimal * `boolean` - Boolean (true/false) * `date` - Date * `datetime` - Date & time * `url` - URL * `json` - JSON * `select` - Selection * `multiselect` - Multiple selection * `object` - Object * `multiobject` - Multiple objects +func (r ApiExtrasCustomFieldsListRequest) TypeNiew(typeNiew []ExtrasCustomFieldsListTypeIcParameterInner) ApiExtrasCustomFieldsListRequest { + r.typeNiew = &typeNiew + return r +} + +// The type of data this custom field holds * `text` - Text * `longtext` - Text (long) * `integer` - Integer * `decimal` - Decimal * `boolean` - Boolean (true/false) * `date` - Date * `datetime` - Date & time * `url` - URL * `json` - JSON * `select` - Selection * `multiselect` - Multiple selection * `object` - Object * `multiobject` - Multiple objects +func (r ApiExtrasCustomFieldsListRequest) TypeNisw(typeNisw []ExtrasCustomFieldsListTypeIcParameterInner) ApiExtrasCustomFieldsListRequest { + r.typeNisw = &typeNisw return r } // Specifies whether the custom field value can be edited in the UI * `yes` - Yes * `no` - No * `hidden` - Hidden -func (r ApiExtrasCustomFieldsListRequest) UiEditableN(uiEditableN ExtrasCustomFieldsListUiEditableParameter) ApiExtrasCustomFieldsListRequest { - r.uiEditableN = &uiEditableN +func (r ApiExtrasCustomFieldsListRequest) UiEditable(uiEditable ExtrasCustomFieldsListUiEditableParameter) ApiExtrasCustomFieldsListRequest { + r.uiEditable = &uiEditable return r } @@ -10461,9 +10427,8 @@ func (r ApiExtrasCustomFieldsListRequest) UiVisible(uiVisible ExtrasCustomFields return r } -// Specifies whether the custom field is displayed in the UI * `always` - Always * `if-set` - If set * `hidden` - Hidden -func (r ApiExtrasCustomFieldsListRequest) UiVisibleN(uiVisibleN ExtrasCustomFieldsListUiVisibleParameter) ApiExtrasCustomFieldsListRequest { - r.uiVisibleN = &uiVisibleN +func (r ApiExtrasCustomFieldsListRequest) Unique(unique bool) ApiExtrasCustomFieldsListRequest { + r.unique = &unique return r } @@ -10913,9 +10878,6 @@ func (a *ExtrasAPIService) ExtrasCustomFieldsListExecute(r ApiExtrasCustomFields if r.filterLogic != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "filter_logic", r.filterLogic, "") } - if r.filterLogicN != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter_logic__n", r.filterLogicN, "") - } if r.groupName != nil { t := *r.groupName if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -11582,6 +11544,53 @@ func (a *ExtrasAPIService) ExtrasCustomFieldsListExecute(r ApiExtrasCustomFields parameterAddToHeaderOrQuery(localVarQueryParams, "type", t, "multi") } } + if r.typeEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__empty", r.typeEmpty, "") + } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__ic", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__ie", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__iew", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__isw", t, "multi") + } + } if r.typeN != nil { t := *r.typeN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -11593,17 +11602,58 @@ func (a *ExtrasAPIService) ExtrasCustomFieldsListExecute(r ApiExtrasCustomFields parameterAddToHeaderOrQuery(localVarQueryParams, "type__n", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__nic", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__nie", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__niew", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__nisw", t, "multi") + } + } if r.uiEditable != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "ui_editable", r.uiEditable, "") } - if r.uiEditableN != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "ui_editable__n", r.uiEditableN, "") - } if r.uiVisible != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "ui_visible", r.uiVisible, "") } - if r.uiVisibleN != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "ui_visible__n", r.uiVisibleN, "") + if r.unique != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "unique", r.unique, "") } if r.updatedByRequest != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "updated_by_request", r.updatedByRequest, "") @@ -12967,7 +13017,6 @@ type ApiExtrasCustomLinksListRequest struct { ctx context.Context ApiService *ExtrasAPIService buttonClass *ExtrasCustomLinksListButtonClassParameter - buttonClassN *ExtrasCustomLinksListButtonClassParameter created *[]time.Time createdEmpty *[]time.Time createdGt *[]time.Time @@ -13061,18 +13110,12 @@ type ApiExtrasCustomLinksListRequest struct { weightN *[]int32 } -// The class of the first link in a group will be used for the dropdown button * `outline-dark` - Default * `blue` - Blue * `indigo` - Indigo * `purple` - Purple * `pink` - Pink * `red` - Red * `orange` - Orange * `yellow` - Yellow * `green` - Green * `teal` - Teal * `cyan` - Cyan * `gray` - Gray * `black` - Black * `white` - White * `ghost-dark` - Link +// The class of the first link in a group will be used for the dropdown button * `default` - Default * `blue` - Blue * `indigo` - Indigo * `purple` - Purple * `pink` - Pink * `red` - Red * `orange` - Orange * `yellow` - Yellow * `green` - Green * `teal` - Teal * `cyan` - Cyan * `gray` - Gray * `black` - Black * `white` - White * `ghost-dark` - Link func (r ApiExtrasCustomLinksListRequest) ButtonClass(buttonClass ExtrasCustomLinksListButtonClassParameter) ApiExtrasCustomLinksListRequest { r.buttonClass = &buttonClass return r } -// The class of the first link in a group will be used for the dropdown button * `outline-dark` - Default * `blue` - Blue * `indigo` - Indigo * `purple` - Purple * `pink` - Pink * `red` - Red * `orange` - Orange * `yellow` - Yellow * `green` - Green * `teal` - Teal * `cyan` - Cyan * `gray` - Gray * `black` - Black * `white` - White * `ghost-dark` - Link -func (r ApiExtrasCustomLinksListRequest) ButtonClassN(buttonClassN ExtrasCustomLinksListButtonClassParameter) ApiExtrasCustomLinksListRequest { - r.buttonClassN = &buttonClassN - return r -} - func (r ApiExtrasCustomLinksListRequest) Created(created []time.Time) ApiExtrasCustomLinksListRequest { r.created = &created return r @@ -13576,9 +13619,6 @@ func (a *ExtrasAPIService) ExtrasCustomLinksListExecute(r ApiExtrasCustomLinksLi if r.buttonClass != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "button_class", r.buttonClass, "") } - if r.buttonClassN != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "button_class__n", r.buttonClassN, "") - } if r.created != nil { t := *r.created if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -15744,7 +15784,16 @@ type ApiExtrasEventRulesListRequest struct { actionObjectType *string actionObjectTypeN *string actionType *[]string - actionTypeN *[]string + actionTypeEmpty *bool + actionTypeIc *[]ExtrasEventRulesListActionTypeIcParameterInner + actionTypeIe *[]ExtrasEventRulesListActionTypeIcParameterInner + actionTypeIew *[]ExtrasEventRulesListActionTypeIcParameterInner + actionTypeIsw *[]ExtrasEventRulesListActionTypeIcParameterInner + actionTypeN *[]ExtrasEventRulesListActionTypeIcParameterInner + actionTypeNic *[]ExtrasEventRulesListActionTypeIcParameterInner + actionTypeNie *[]ExtrasEventRulesListActionTypeIcParameterInner + actionTypeNiew *[]ExtrasEventRulesListActionTypeIcParameterInner + actionTypeNisw *[]ExtrasEventRulesListActionTypeIcParameterInner created *[]time.Time createdEmpty *[]time.Time createdGt *[]time.Time @@ -15765,6 +15814,7 @@ type ApiExtrasEventRulesListRequest struct { descriptionNiew *[]string descriptionNisw *[]string enabled *bool + eventType *[]string id *[]int32 idEmpty *bool idGt *[]int32 @@ -15809,11 +15859,6 @@ type ApiExtrasEventRulesListRequest struct { q *string tag *[]string tagN *[]string - typeCreate *bool - typeDelete *bool - typeJobEnd *bool - typeJobStart *bool - typeUpdate *bool updatedByRequest *string } @@ -15867,11 +15912,65 @@ func (r ApiExtrasEventRulesListRequest) ActionType(actionType []string) ApiExtra return r } -func (r ApiExtrasEventRulesListRequest) ActionTypeN(actionTypeN []string) ApiExtrasEventRulesListRequest { +func (r ApiExtrasEventRulesListRequest) ActionTypeEmpty(actionTypeEmpty bool) ApiExtrasEventRulesListRequest { + r.actionTypeEmpty = &actionTypeEmpty + return r +} + +// * `webhook` - Webhook * `script` - Script * `notification` - Notification +func (r ApiExtrasEventRulesListRequest) ActionTypeIc(actionTypeIc []ExtrasEventRulesListActionTypeIcParameterInner) ApiExtrasEventRulesListRequest { + r.actionTypeIc = &actionTypeIc + return r +} + +// * `webhook` - Webhook * `script` - Script * `notification` - Notification +func (r ApiExtrasEventRulesListRequest) ActionTypeIe(actionTypeIe []ExtrasEventRulesListActionTypeIcParameterInner) ApiExtrasEventRulesListRequest { + r.actionTypeIe = &actionTypeIe + return r +} + +// * `webhook` - Webhook * `script` - Script * `notification` - Notification +func (r ApiExtrasEventRulesListRequest) ActionTypeIew(actionTypeIew []ExtrasEventRulesListActionTypeIcParameterInner) ApiExtrasEventRulesListRequest { + r.actionTypeIew = &actionTypeIew + return r +} + +// * `webhook` - Webhook * `script` - Script * `notification` - Notification +func (r ApiExtrasEventRulesListRequest) ActionTypeIsw(actionTypeIsw []ExtrasEventRulesListActionTypeIcParameterInner) ApiExtrasEventRulesListRequest { + r.actionTypeIsw = &actionTypeIsw + return r +} + +// * `webhook` - Webhook * `script` - Script * `notification` - Notification +func (r ApiExtrasEventRulesListRequest) ActionTypeN(actionTypeN []ExtrasEventRulesListActionTypeIcParameterInner) ApiExtrasEventRulesListRequest { r.actionTypeN = &actionTypeN return r } +// * `webhook` - Webhook * `script` - Script * `notification` - Notification +func (r ApiExtrasEventRulesListRequest) ActionTypeNic(actionTypeNic []ExtrasEventRulesListActionTypeIcParameterInner) ApiExtrasEventRulesListRequest { + r.actionTypeNic = &actionTypeNic + return r +} + +// * `webhook` - Webhook * `script` - Script * `notification` - Notification +func (r ApiExtrasEventRulesListRequest) ActionTypeNie(actionTypeNie []ExtrasEventRulesListActionTypeIcParameterInner) ApiExtrasEventRulesListRequest { + r.actionTypeNie = &actionTypeNie + return r +} + +// * `webhook` - Webhook * `script` - Script * `notification` - Notification +func (r ApiExtrasEventRulesListRequest) ActionTypeNiew(actionTypeNiew []ExtrasEventRulesListActionTypeIcParameterInner) ApiExtrasEventRulesListRequest { + r.actionTypeNiew = &actionTypeNiew + return r +} + +// * `webhook` - Webhook * `script` - Script * `notification` - Notification +func (r ApiExtrasEventRulesListRequest) ActionTypeNisw(actionTypeNisw []ExtrasEventRulesListActionTypeIcParameterInner) ApiExtrasEventRulesListRequest { + r.actionTypeNisw = &actionTypeNisw + return r +} + func (r ApiExtrasEventRulesListRequest) Created(created []time.Time) ApiExtrasEventRulesListRequest { r.created = &created return r @@ -15972,6 +16071,11 @@ func (r ApiExtrasEventRulesListRequest) Enabled(enabled bool) ApiExtrasEventRule return r } +func (r ApiExtrasEventRulesListRequest) EventType(eventType []string) ApiExtrasEventRulesListRequest { + r.eventType = &eventType + return r +} + func (r ApiExtrasEventRulesListRequest) Id(id []int32) ApiExtrasEventRulesListRequest { r.id = &id return r @@ -16196,31 +16300,6 @@ func (r ApiExtrasEventRulesListRequest) TagN(tagN []string) ApiExtrasEventRulesL return r } -func (r ApiExtrasEventRulesListRequest) TypeCreate(typeCreate bool) ApiExtrasEventRulesListRequest { - r.typeCreate = &typeCreate - return r -} - -func (r ApiExtrasEventRulesListRequest) TypeDelete(typeDelete bool) ApiExtrasEventRulesListRequest { - r.typeDelete = &typeDelete - return r -} - -func (r ApiExtrasEventRulesListRequest) TypeJobEnd(typeJobEnd bool) ApiExtrasEventRulesListRequest { - r.typeJobEnd = &typeJobEnd - return r -} - -func (r ApiExtrasEventRulesListRequest) TypeJobStart(typeJobStart bool) ApiExtrasEventRulesListRequest { - r.typeJobStart = &typeJobStart - return r -} - -func (r ApiExtrasEventRulesListRequest) TypeUpdate(typeUpdate bool) ApiExtrasEventRulesListRequest { - r.typeUpdate = &typeUpdate - return r -} - func (r ApiExtrasEventRulesListRequest) UpdatedByRequest(updatedByRequest string) ApiExtrasEventRulesListRequest { r.updatedByRequest = &updatedByRequest return r @@ -16361,6 +16440,53 @@ func (a *ExtrasAPIService) ExtrasEventRulesListExecute(r ApiExtrasEventRulesList parameterAddToHeaderOrQuery(localVarQueryParams, "action_type", t, "multi") } } + if r.actionTypeEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "action_type__empty", r.actionTypeEmpty, "") + } + if r.actionTypeIc != nil { + t := *r.actionTypeIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "action_type__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "action_type__ic", t, "multi") + } + } + if r.actionTypeIe != nil { + t := *r.actionTypeIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "action_type__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "action_type__ie", t, "multi") + } + } + if r.actionTypeIew != nil { + t := *r.actionTypeIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "action_type__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "action_type__iew", t, "multi") + } + } + if r.actionTypeIsw != nil { + t := *r.actionTypeIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "action_type__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "action_type__isw", t, "multi") + } + } if r.actionTypeN != nil { t := *r.actionTypeN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -16372,6 +16498,50 @@ func (a *ExtrasAPIService) ExtrasEventRulesListExecute(r ApiExtrasEventRulesList parameterAddToHeaderOrQuery(localVarQueryParams, "action_type__n", t, "multi") } } + if r.actionTypeNic != nil { + t := *r.actionTypeNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "action_type__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "action_type__nic", t, "multi") + } + } + if r.actionTypeNie != nil { + t := *r.actionTypeNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "action_type__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "action_type__nie", t, "multi") + } + } + if r.actionTypeNiew != nil { + t := *r.actionTypeNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "action_type__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "action_type__niew", t, "multi") + } + } + if r.actionTypeNisw != nil { + t := *r.actionTypeNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "action_type__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "action_type__nisw", t, "multi") + } + } if r.created != nil { t := *r.created if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -16568,6 +16738,17 @@ func (a *ExtrasAPIService) ExtrasEventRulesListExecute(r ApiExtrasEventRulesList if r.enabled != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "enabled", r.enabled, "") } + if r.eventType != nil { + t := *r.eventType + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "event_type", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "event_type", t, "multi") + } + } if r.id != nil { t := *r.id if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -16916,21 +17097,6 @@ func (a *ExtrasAPIService) ExtrasEventRulesListExecute(r ApiExtrasEventRulesList parameterAddToHeaderOrQuery(localVarQueryParams, "tag__n", t, "multi") } } - if r.typeCreate != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "type_create", r.typeCreate, "") - } - if r.typeDelete != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "type_delete", r.typeDelete, "") - } - if r.typeJobEnd != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "type_job_end", r.typeJobEnd, "") - } - if r.typeJobStart != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "type_job_start", r.typeJobStart, "") - } - if r.typeUpdate != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "type_update", r.typeUpdate, "") - } if r.updatedByRequest != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "updated_by_request", r.updatedByRequest, "") } @@ -22710,7 +22876,16 @@ type ApiExtrasJournalEntriesListRequest struct { idLte *[]int32 idN *[]int32 kind *[]string - kindN *[]string + kindEmpty *bool + kindIc *[]ExtrasJournalEntriesListKindIcParameterInner + kindIe *[]ExtrasJournalEntriesListKindIcParameterInner + kindIew *[]ExtrasJournalEntriesListKindIcParameterInner + kindIsw *[]ExtrasJournalEntriesListKindIcParameterInner + kindN *[]ExtrasJournalEntriesListKindIcParameterInner + kindNic *[]ExtrasJournalEntriesListKindIcParameterInner + kindNie *[]ExtrasJournalEntriesListKindIcParameterInner + kindNiew *[]ExtrasJournalEntriesListKindIcParameterInner + kindNisw *[]ExtrasJournalEntriesListKindIcParameterInner lastUpdated *[]time.Time lastUpdatedEmpty *[]time.Time lastUpdatedGt *[]time.Time @@ -22862,11 +23037,65 @@ func (r ApiExtrasJournalEntriesListRequest) Kind(kind []string) ApiExtrasJournal return r } -func (r ApiExtrasJournalEntriesListRequest) KindN(kindN []string) ApiExtrasJournalEntriesListRequest { +func (r ApiExtrasJournalEntriesListRequest) KindEmpty(kindEmpty bool) ApiExtrasJournalEntriesListRequest { + r.kindEmpty = &kindEmpty + return r +} + +// * `info` - Info * `success` - Success * `warning` - Warning * `danger` - Danger +func (r ApiExtrasJournalEntriesListRequest) KindIc(kindIc []ExtrasJournalEntriesListKindIcParameterInner) ApiExtrasJournalEntriesListRequest { + r.kindIc = &kindIc + return r +} + +// * `info` - Info * `success` - Success * `warning` - Warning * `danger` - Danger +func (r ApiExtrasJournalEntriesListRequest) KindIe(kindIe []ExtrasJournalEntriesListKindIcParameterInner) ApiExtrasJournalEntriesListRequest { + r.kindIe = &kindIe + return r +} + +// * `info` - Info * `success` - Success * `warning` - Warning * `danger` - Danger +func (r ApiExtrasJournalEntriesListRequest) KindIew(kindIew []ExtrasJournalEntriesListKindIcParameterInner) ApiExtrasJournalEntriesListRequest { + r.kindIew = &kindIew + return r +} + +// * `info` - Info * `success` - Success * `warning` - Warning * `danger` - Danger +func (r ApiExtrasJournalEntriesListRequest) KindIsw(kindIsw []ExtrasJournalEntriesListKindIcParameterInner) ApiExtrasJournalEntriesListRequest { + r.kindIsw = &kindIsw + return r +} + +// * `info` - Info * `success` - Success * `warning` - Warning * `danger` - Danger +func (r ApiExtrasJournalEntriesListRequest) KindN(kindN []ExtrasJournalEntriesListKindIcParameterInner) ApiExtrasJournalEntriesListRequest { r.kindN = &kindN return r } +// * `info` - Info * `success` - Success * `warning` - Warning * `danger` - Danger +func (r ApiExtrasJournalEntriesListRequest) KindNic(kindNic []ExtrasJournalEntriesListKindIcParameterInner) ApiExtrasJournalEntriesListRequest { + r.kindNic = &kindNic + return r +} + +// * `info` - Info * `success` - Success * `warning` - Warning * `danger` - Danger +func (r ApiExtrasJournalEntriesListRequest) KindNie(kindNie []ExtrasJournalEntriesListKindIcParameterInner) ApiExtrasJournalEntriesListRequest { + r.kindNie = &kindNie + return r +} + +// * `info` - Info * `success` - Success * `warning` - Warning * `danger` - Danger +func (r ApiExtrasJournalEntriesListRequest) KindNiew(kindNiew []ExtrasJournalEntriesListKindIcParameterInner) ApiExtrasJournalEntriesListRequest { + r.kindNiew = &kindNiew + return r +} + +// * `info` - Info * `success` - Success * `warning` - Warning * `danger` - Danger +func (r ApiExtrasJournalEntriesListRequest) KindNisw(kindNisw []ExtrasJournalEntriesListKindIcParameterInner) ApiExtrasJournalEntriesListRequest { + r.kindNisw = &kindNisw + return r +} + func (r ApiExtrasJournalEntriesListRequest) LastUpdated(lastUpdated []time.Time) ApiExtrasJournalEntriesListRequest { r.lastUpdated = &lastUpdated return r @@ -23217,6 +23446,53 @@ func (a *ExtrasAPIService) ExtrasJournalEntriesListExecute(r ApiExtrasJournalEnt parameterAddToHeaderOrQuery(localVarQueryParams, "kind", t, "multi") } } + if r.kindEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "kind__empty", r.kindEmpty, "") + } + if r.kindIc != nil { + t := *r.kindIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "kind__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "kind__ic", t, "multi") + } + } + if r.kindIe != nil { + t := *r.kindIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "kind__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "kind__ie", t, "multi") + } + } + if r.kindIew != nil { + t := *r.kindIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "kind__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "kind__iew", t, "multi") + } + } + if r.kindIsw != nil { + t := *r.kindIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "kind__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "kind__isw", t, "multi") + } + } if r.kindN != nil { t := *r.kindN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -23228,6 +23504,50 @@ func (a *ExtrasAPIService) ExtrasJournalEntriesListExecute(r ApiExtrasJournalEnt parameterAddToHeaderOrQuery(localVarQueryParams, "kind__n", t, "multi") } } + if r.kindNic != nil { + t := *r.kindNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "kind__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "kind__nic", t, "multi") + } + } + if r.kindNie != nil { + t := *r.kindNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "kind__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "kind__nie", t, "multi") + } + } + if r.kindNiew != nil { + t := *r.kindNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "kind__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "kind__niew", t, "multi") + } + } + if r.kindNisw != nil { + t := *r.kindNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "kind__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "kind__nisw", t, "multi") + } + } if r.lastUpdated != nil { t := *r.lastUpdated if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -23786,407 +24106,394 @@ func (a *ExtrasAPIService) ExtrasJournalEntriesUpdateExecute(r ApiExtrasJournalE return localVarReturnValue, localVarHTTPResponse, nil } -type ApiExtrasObjectChangesListRequest struct { - ctx context.Context - ApiService *ExtrasAPIService - action *ExtrasObjectChangesListActionParameter - actionN *ExtrasObjectChangesListActionParameter - changedObjectId *[]int32 - changedObjectIdEmpty *bool - changedObjectIdGt *[]int32 - changedObjectIdGte *[]int32 - changedObjectIdLt *[]int32 - changedObjectIdLte *[]int32 - changedObjectIdN *[]int32 - changedObjectType *string - changedObjectTypeN *string - changedObjectTypeId *[]int32 - changedObjectTypeIdN *[]int32 - id *[]int32 - idEmpty *bool - idGt *[]int32 - idGte *[]int32 - idLt *[]int32 - idLte *[]int32 - idN *[]int32 - limit *int32 - objectRepr *[]string - objectReprEmpty *bool - objectReprIc *[]string - objectReprIe *[]string - objectReprIew *[]string - objectReprIsw *[]string - objectReprN *[]string - objectReprNic *[]string - objectReprNie *[]string - objectReprNiew *[]string - objectReprNisw *[]string - offset *int32 - ordering *string - q *string - relatedObjectId *[]int32 - relatedObjectIdEmpty *bool - relatedObjectIdGt *[]int32 - relatedObjectIdGte *[]int32 - relatedObjectIdLt *[]int32 - relatedObjectIdLte *[]int32 - relatedObjectIdN *[]int32 - relatedObjectType *int32 - relatedObjectTypeN *int32 - requestId *string - timeAfter *time.Time - timeBefore *time.Time - user *[]string - userN *[]string - userId *[]*int32 - userIdN *[]*int32 - userName *[]string - userNameEmpty *bool - userNameIc *[]string - userNameIe *[]string - userNameIew *[]string - userNameIsw *[]string - userNameN *[]string - userNameNic *[]string - userNameNie *[]string - userNameNiew *[]string - userNameNisw *[]string -} - -// * `create` - Created * `update` - Updated * `delete` - Deleted -func (r ApiExtrasObjectChangesListRequest) Action(action ExtrasObjectChangesListActionParameter) ApiExtrasObjectChangesListRequest { - r.action = &action - return r -} - -// * `create` - Created * `update` - Updated * `delete` - Deleted -func (r ApiExtrasObjectChangesListRequest) ActionN(actionN ExtrasObjectChangesListActionParameter) ApiExtrasObjectChangesListRequest { - r.actionN = &actionN - return r -} - -func (r ApiExtrasObjectChangesListRequest) ChangedObjectId(changedObjectId []int32) ApiExtrasObjectChangesListRequest { - r.changedObjectId = &changedObjectId - return r -} - -func (r ApiExtrasObjectChangesListRequest) ChangedObjectIdEmpty(changedObjectIdEmpty bool) ApiExtrasObjectChangesListRequest { - r.changedObjectIdEmpty = &changedObjectIdEmpty - return r -} - -func (r ApiExtrasObjectChangesListRequest) ChangedObjectIdGt(changedObjectIdGt []int32) ApiExtrasObjectChangesListRequest { - r.changedObjectIdGt = &changedObjectIdGt - return r +type ApiExtrasNotificationGroupsBulkDestroyRequest struct { + ctx context.Context + ApiService *ExtrasAPIService + notificationGroupRequest *[]NotificationGroupRequest } -func (r ApiExtrasObjectChangesListRequest) ChangedObjectIdGte(changedObjectIdGte []int32) ApiExtrasObjectChangesListRequest { - r.changedObjectIdGte = &changedObjectIdGte +func (r ApiExtrasNotificationGroupsBulkDestroyRequest) NotificationGroupRequest(notificationGroupRequest []NotificationGroupRequest) ApiExtrasNotificationGroupsBulkDestroyRequest { + r.notificationGroupRequest = ¬ificationGroupRequest return r } -func (r ApiExtrasObjectChangesListRequest) ChangedObjectIdLt(changedObjectIdLt []int32) ApiExtrasObjectChangesListRequest { - r.changedObjectIdLt = &changedObjectIdLt - return r +func (r ApiExtrasNotificationGroupsBulkDestroyRequest) Execute() (*http.Response, error) { + return r.ApiService.ExtrasNotificationGroupsBulkDestroyExecute(r) } -func (r ApiExtrasObjectChangesListRequest) ChangedObjectIdLte(changedObjectIdLte []int32) ApiExtrasObjectChangesListRequest { - r.changedObjectIdLte = &changedObjectIdLte - return r -} +/* +ExtrasNotificationGroupsBulkDestroy Method for ExtrasNotificationGroupsBulkDestroy -func (r ApiExtrasObjectChangesListRequest) ChangedObjectIdN(changedObjectIdN []int32) ApiExtrasObjectChangesListRequest { - r.changedObjectIdN = &changedObjectIdN - return r -} +Delete a list of notification group objects. -func (r ApiExtrasObjectChangesListRequest) ChangedObjectType(changedObjectType string) ApiExtrasObjectChangesListRequest { - r.changedObjectType = &changedObjectType - return r + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiExtrasNotificationGroupsBulkDestroyRequest +*/ +func (a *ExtrasAPIService) ExtrasNotificationGroupsBulkDestroy(ctx context.Context) ApiExtrasNotificationGroupsBulkDestroyRequest { + return ApiExtrasNotificationGroupsBulkDestroyRequest{ + ApiService: a, + ctx: ctx, + } } -func (r ApiExtrasObjectChangesListRequest) ChangedObjectTypeN(changedObjectTypeN string) ApiExtrasObjectChangesListRequest { - r.changedObjectTypeN = &changedObjectTypeN - return r -} +// Execute executes the request +func (a *ExtrasAPIService) ExtrasNotificationGroupsBulkDestroyExecute(r ApiExtrasNotificationGroupsBulkDestroyRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile + ) -func (r ApiExtrasObjectChangesListRequest) ChangedObjectTypeId(changedObjectTypeId []int32) ApiExtrasObjectChangesListRequest { - r.changedObjectTypeId = &changedObjectTypeId - return r -} + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasNotificationGroupsBulkDestroy") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } -func (r ApiExtrasObjectChangesListRequest) ChangedObjectTypeIdN(changedObjectTypeIdN []int32) ApiExtrasObjectChangesListRequest { - r.changedObjectTypeIdN = &changedObjectTypeIdN - return r -} + localVarPath := localBasePath + "/api/extras/notification-groups/" -func (r ApiExtrasObjectChangesListRequest) Id(id []int32) ApiExtrasObjectChangesListRequest { - r.id = &id - return r -} + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.notificationGroupRequest == nil { + return nil, reportError("notificationGroupRequest is required and must be specified") + } -func (r ApiExtrasObjectChangesListRequest) IdEmpty(idEmpty bool) ApiExtrasObjectChangesListRequest { - r.idEmpty = &idEmpty - return r -} + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "multipart/form-data"} -func (r ApiExtrasObjectChangesListRequest) IdGt(idGt []int32) ApiExtrasObjectChangesListRequest { - r.idGt = &idGt - return r -} + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } -func (r ApiExtrasObjectChangesListRequest) IdGte(idGte []int32) ApiExtrasObjectChangesListRequest { - r.idGte = &idGte - return r -} + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} -func (r ApiExtrasObjectChangesListRequest) IdLt(idLt []int32) ApiExtrasObjectChangesListRequest { - r.idLt = &idLt - return r -} + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.notificationGroupRequest + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["tokenAuth"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + 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 + } -func (r ApiExtrasObjectChangesListRequest) IdLte(idLte []int32) ApiExtrasObjectChangesListRequest { - r.idLte = &idLte - return r -} + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } -func (r ApiExtrasObjectChangesListRequest) IdN(idN []int32) ApiExtrasObjectChangesListRequest { - r.idN = &idN - return r -} + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } -// Number of results to return per page. -func (r ApiExtrasObjectChangesListRequest) Limit(limit int32) ApiExtrasObjectChangesListRequest { - r.limit = &limit - return r -} + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } -func (r ApiExtrasObjectChangesListRequest) ObjectRepr(objectRepr []string) ApiExtrasObjectChangesListRequest { - r.objectRepr = &objectRepr - return r + return localVarHTTPResponse, nil } -func (r ApiExtrasObjectChangesListRequest) ObjectReprEmpty(objectReprEmpty bool) ApiExtrasObjectChangesListRequest { - r.objectReprEmpty = &objectReprEmpty - return r +type ApiExtrasNotificationGroupsBulkPartialUpdateRequest struct { + ctx context.Context + ApiService *ExtrasAPIService + notificationGroupRequest *[]NotificationGroupRequest } -func (r ApiExtrasObjectChangesListRequest) ObjectReprIc(objectReprIc []string) ApiExtrasObjectChangesListRequest { - r.objectReprIc = &objectReprIc +func (r ApiExtrasNotificationGroupsBulkPartialUpdateRequest) NotificationGroupRequest(notificationGroupRequest []NotificationGroupRequest) ApiExtrasNotificationGroupsBulkPartialUpdateRequest { + r.notificationGroupRequest = ¬ificationGroupRequest return r } -func (r ApiExtrasObjectChangesListRequest) ObjectReprIe(objectReprIe []string) ApiExtrasObjectChangesListRequest { - r.objectReprIe = &objectReprIe - return r +func (r ApiExtrasNotificationGroupsBulkPartialUpdateRequest) Execute() ([]NotificationGroup, *http.Response, error) { + return r.ApiService.ExtrasNotificationGroupsBulkPartialUpdateExecute(r) } -func (r ApiExtrasObjectChangesListRequest) ObjectReprIew(objectReprIew []string) ApiExtrasObjectChangesListRequest { - r.objectReprIew = &objectReprIew - return r -} +/* +ExtrasNotificationGroupsBulkPartialUpdate Method for ExtrasNotificationGroupsBulkPartialUpdate -func (r ApiExtrasObjectChangesListRequest) ObjectReprIsw(objectReprIsw []string) ApiExtrasObjectChangesListRequest { - r.objectReprIsw = &objectReprIsw - return r -} +Patch a list of notification group objects. -func (r ApiExtrasObjectChangesListRequest) ObjectReprN(objectReprN []string) ApiExtrasObjectChangesListRequest { - r.objectReprN = &objectReprN - return r + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiExtrasNotificationGroupsBulkPartialUpdateRequest +*/ +func (a *ExtrasAPIService) ExtrasNotificationGroupsBulkPartialUpdate(ctx context.Context) ApiExtrasNotificationGroupsBulkPartialUpdateRequest { + return ApiExtrasNotificationGroupsBulkPartialUpdateRequest{ + ApiService: a, + ctx: ctx, + } } -func (r ApiExtrasObjectChangesListRequest) ObjectReprNic(objectReprNic []string) ApiExtrasObjectChangesListRequest { - r.objectReprNic = &objectReprNic - return r -} +// Execute executes the request +// +// @return []NotificationGroup +func (a *ExtrasAPIService) ExtrasNotificationGroupsBulkPartialUpdateExecute(r ApiExtrasNotificationGroupsBulkPartialUpdateRequest) ([]NotificationGroup, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPatch + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []NotificationGroup + ) -func (r ApiExtrasObjectChangesListRequest) ObjectReprNie(objectReprNie []string) ApiExtrasObjectChangesListRequest { - r.objectReprNie = &objectReprNie - return r -} + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasNotificationGroupsBulkPartialUpdate") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } -func (r ApiExtrasObjectChangesListRequest) ObjectReprNiew(objectReprNiew []string) ApiExtrasObjectChangesListRequest { - r.objectReprNiew = &objectReprNiew - return r -} + localVarPath := localBasePath + "/api/extras/notification-groups/" -func (r ApiExtrasObjectChangesListRequest) ObjectReprNisw(objectReprNisw []string) ApiExtrasObjectChangesListRequest { - r.objectReprNisw = &objectReprNisw - return r -} + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.notificationGroupRequest == nil { + return localVarReturnValue, nil, reportError("notificationGroupRequest is required and must be specified") + } -// The initial index from which to return the results. -func (r ApiExtrasObjectChangesListRequest) Offset(offset int32) ApiExtrasObjectChangesListRequest { - r.offset = &offset - return r -} + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "multipart/form-data"} -// Which field to use when ordering the results. -func (r ApiExtrasObjectChangesListRequest) Ordering(ordering string) ApiExtrasObjectChangesListRequest { - r.ordering = &ordering - return r -} + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } -// Search -func (r ApiExtrasObjectChangesListRequest) Q(q string) ApiExtrasObjectChangesListRequest { - r.q = &q - return r -} + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} -func (r ApiExtrasObjectChangesListRequest) RelatedObjectId(relatedObjectId []int32) ApiExtrasObjectChangesListRequest { - r.relatedObjectId = &relatedObjectId - return r -} + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.notificationGroupRequest + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["tokenAuth"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + 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 + } -func (r ApiExtrasObjectChangesListRequest) RelatedObjectIdEmpty(relatedObjectIdEmpty bool) ApiExtrasObjectChangesListRequest { - r.relatedObjectIdEmpty = &relatedObjectIdEmpty - return r -} + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } -func (r ApiExtrasObjectChangesListRequest) RelatedObjectIdGt(relatedObjectIdGt []int32) ApiExtrasObjectChangesListRequest { - r.relatedObjectIdGt = &relatedObjectIdGt - return r -} + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } -func (r ApiExtrasObjectChangesListRequest) RelatedObjectIdGte(relatedObjectIdGte []int32) ApiExtrasObjectChangesListRequest { - r.relatedObjectIdGte = &relatedObjectIdGte - return r -} + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } -func (r ApiExtrasObjectChangesListRequest) RelatedObjectIdLt(relatedObjectIdLt []int32) ApiExtrasObjectChangesListRequest { - r.relatedObjectIdLt = &relatedObjectIdLt - return r -} + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } -func (r ApiExtrasObjectChangesListRequest) RelatedObjectIdLte(relatedObjectIdLte []int32) ApiExtrasObjectChangesListRequest { - r.relatedObjectIdLte = &relatedObjectIdLte - return r + return localVarReturnValue, localVarHTTPResponse, nil } -func (r ApiExtrasObjectChangesListRequest) RelatedObjectIdN(relatedObjectIdN []int32) ApiExtrasObjectChangesListRequest { - r.relatedObjectIdN = &relatedObjectIdN - return r +type ApiExtrasNotificationGroupsBulkUpdateRequest struct { + ctx context.Context + ApiService *ExtrasAPIService + notificationGroupRequest *[]NotificationGroupRequest } -func (r ApiExtrasObjectChangesListRequest) RelatedObjectType(relatedObjectType int32) ApiExtrasObjectChangesListRequest { - r.relatedObjectType = &relatedObjectType +func (r ApiExtrasNotificationGroupsBulkUpdateRequest) NotificationGroupRequest(notificationGroupRequest []NotificationGroupRequest) ApiExtrasNotificationGroupsBulkUpdateRequest { + r.notificationGroupRequest = ¬ificationGroupRequest return r } -func (r ApiExtrasObjectChangesListRequest) RelatedObjectTypeN(relatedObjectTypeN int32) ApiExtrasObjectChangesListRequest { - r.relatedObjectTypeN = &relatedObjectTypeN - return r +func (r ApiExtrasNotificationGroupsBulkUpdateRequest) Execute() ([]NotificationGroup, *http.Response, error) { + return r.ApiService.ExtrasNotificationGroupsBulkUpdateExecute(r) } -func (r ApiExtrasObjectChangesListRequest) RequestId(requestId string) ApiExtrasObjectChangesListRequest { - r.requestId = &requestId - return r -} +/* +ExtrasNotificationGroupsBulkUpdate Method for ExtrasNotificationGroupsBulkUpdate -func (r ApiExtrasObjectChangesListRequest) TimeAfter(timeAfter time.Time) ApiExtrasObjectChangesListRequest { - r.timeAfter = &timeAfter - return r -} +Put a list of notification group objects. -func (r ApiExtrasObjectChangesListRequest) TimeBefore(timeBefore time.Time) ApiExtrasObjectChangesListRequest { - r.timeBefore = &timeBefore - return r + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiExtrasNotificationGroupsBulkUpdateRequest +*/ +func (a *ExtrasAPIService) ExtrasNotificationGroupsBulkUpdate(ctx context.Context) ApiExtrasNotificationGroupsBulkUpdateRequest { + return ApiExtrasNotificationGroupsBulkUpdateRequest{ + ApiService: a, + ctx: ctx, + } } -// User name -func (r ApiExtrasObjectChangesListRequest) User(user []string) ApiExtrasObjectChangesListRequest { - r.user = &user - return r -} +// Execute executes the request +// +// @return []NotificationGroup +func (a *ExtrasAPIService) ExtrasNotificationGroupsBulkUpdateExecute(r ApiExtrasNotificationGroupsBulkUpdateRequest) ([]NotificationGroup, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []NotificationGroup + ) -// User name -func (r ApiExtrasObjectChangesListRequest) UserN(userN []string) ApiExtrasObjectChangesListRequest { - r.userN = &userN - return r -} + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasNotificationGroupsBulkUpdate") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } -// User (ID) -func (r ApiExtrasObjectChangesListRequest) UserId(userId []*int32) ApiExtrasObjectChangesListRequest { - r.userId = &userId - return r -} + localVarPath := localBasePath + "/api/extras/notification-groups/" -// User (ID) -func (r ApiExtrasObjectChangesListRequest) UserIdN(userIdN []*int32) ApiExtrasObjectChangesListRequest { - r.userIdN = &userIdN - return r -} + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.notificationGroupRequest == nil { + return localVarReturnValue, nil, reportError("notificationGroupRequest is required and must be specified") + } -func (r ApiExtrasObjectChangesListRequest) UserName(userName []string) ApiExtrasObjectChangesListRequest { - r.userName = &userName - return r -} + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "multipart/form-data"} -func (r ApiExtrasObjectChangesListRequest) UserNameEmpty(userNameEmpty bool) ApiExtrasObjectChangesListRequest { - r.userNameEmpty = &userNameEmpty - return r -} + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } -func (r ApiExtrasObjectChangesListRequest) UserNameIc(userNameIc []string) ApiExtrasObjectChangesListRequest { - r.userNameIc = &userNameIc - return r -} + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} -func (r ApiExtrasObjectChangesListRequest) UserNameIe(userNameIe []string) ApiExtrasObjectChangesListRequest { - r.userNameIe = &userNameIe - return r -} + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.notificationGroupRequest + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["tokenAuth"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + 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 + } -func (r ApiExtrasObjectChangesListRequest) UserNameIew(userNameIew []string) ApiExtrasObjectChangesListRequest { - r.userNameIew = &userNameIew - return r -} + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } -func (r ApiExtrasObjectChangesListRequest) UserNameIsw(userNameIsw []string) ApiExtrasObjectChangesListRequest { - r.userNameIsw = &userNameIsw - return r -} + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } -func (r ApiExtrasObjectChangesListRequest) UserNameN(userNameN []string) ApiExtrasObjectChangesListRequest { - r.userNameN = &userNameN - return r -} + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } -func (r ApiExtrasObjectChangesListRequest) UserNameNic(userNameNic []string) ApiExtrasObjectChangesListRequest { - r.userNameNic = &userNameNic - return r -} + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } -func (r ApiExtrasObjectChangesListRequest) UserNameNie(userNameNie []string) ApiExtrasObjectChangesListRequest { - r.userNameNie = &userNameNie - return r + return localVarReturnValue, localVarHTTPResponse, nil } -func (r ApiExtrasObjectChangesListRequest) UserNameNiew(userNameNiew []string) ApiExtrasObjectChangesListRequest { - r.userNameNiew = &userNameNiew - return r +type ApiExtrasNotificationGroupsCreateRequest struct { + ctx context.Context + ApiService *ExtrasAPIService + notificationGroupRequest *NotificationGroupRequest } -func (r ApiExtrasObjectChangesListRequest) UserNameNisw(userNameNisw []string) ApiExtrasObjectChangesListRequest { - r.userNameNisw = &userNameNisw +func (r ApiExtrasNotificationGroupsCreateRequest) NotificationGroupRequest(notificationGroupRequest NotificationGroupRequest) ApiExtrasNotificationGroupsCreateRequest { + r.notificationGroupRequest = ¬ificationGroupRequest return r } -func (r ApiExtrasObjectChangesListRequest) Execute() (*PaginatedObjectChangeList, *http.Response, error) { - return r.ApiService.ExtrasObjectChangesListExecute(r) +func (r ApiExtrasNotificationGroupsCreateRequest) Execute() (*NotificationGroup, *http.Response, error) { + return r.ApiService.ExtrasNotificationGroupsCreateExecute(r) } /* -ExtrasObjectChangesList Method for ExtrasObjectChangesList +ExtrasNotificationGroupsCreate Method for ExtrasNotificationGroupsCreate -Retrieve a list of recent changes. +Post a list of notification group objects. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiExtrasObjectChangesListRequest + @return ApiExtrasNotificationGroupsCreateRequest */ -func (a *ExtrasAPIService) ExtrasObjectChangesList(ctx context.Context) ApiExtrasObjectChangesListRequest { - return ApiExtrasObjectChangesListRequest{ +func (a *ExtrasAPIService) ExtrasNotificationGroupsCreate(ctx context.Context) ApiExtrasNotificationGroupsCreateRequest { + return ApiExtrasNotificationGroupsCreateRequest{ ApiService: a, ctx: ctx, } @@ -24194,603 +24501,70 @@ func (a *ExtrasAPIService) ExtrasObjectChangesList(ctx context.Context) ApiExtra // Execute executes the request // -// @return PaginatedObjectChangeList -func (a *ExtrasAPIService) ExtrasObjectChangesListExecute(r ApiExtrasObjectChangesListRequest) (*PaginatedObjectChangeList, *http.Response, error) { +// @return NotificationGroup +func (a *ExtrasAPIService) ExtrasNotificationGroupsCreateExecute(r ApiExtrasNotificationGroupsCreateRequest) (*NotificationGroup, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet + localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *PaginatedObjectChangeList + localVarReturnValue *NotificationGroup ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasObjectChangesList") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasNotificationGroupsCreate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/api/extras/object-changes/" + localVarPath := localBasePath + "/api/extras/notification-groups/" localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.notificationGroupRequest == nil { + return localVarReturnValue, nil, reportError("notificationGroupRequest is required and must be specified") + } - if r.action != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "action", r.action, "") + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "multipart/form-data"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType } - if r.actionN != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "action__n", r.actionN, "") + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - if r.changedObjectId != nil { - t := *r.changedObjectId - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_id", s.Index(i).Interface(), "multi") + // body params + localVarPostBody = r.notificationGroupRequest + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + 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, "changed_object_id", t, "multi") } } - if r.changedObjectIdEmpty != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_id__empty", r.changedObjectIdEmpty, "") + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err } - if r.changedObjectIdGt != nil { - t := *r.changedObjectIdGt - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_id__gt", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_id__gt", t, "multi") - } - } - if r.changedObjectIdGte != nil { - t := *r.changedObjectIdGte - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_id__gte", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_id__gte", t, "multi") - } - } - if r.changedObjectIdLt != nil { - t := *r.changedObjectIdLt - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_id__lt", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_id__lt", t, "multi") - } - } - if r.changedObjectIdLte != nil { - t := *r.changedObjectIdLte - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_id__lte", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_id__lte", t, "multi") - } - } - if r.changedObjectIdN != nil { - t := *r.changedObjectIdN - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_id__n", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_id__n", t, "multi") - } - } - if r.changedObjectType != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_type", r.changedObjectType, "") - } - if r.changedObjectTypeN != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_type__n", r.changedObjectTypeN, "") - } - if r.changedObjectTypeId != nil { - t := *r.changedObjectTypeId - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_type_id", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_type_id", t, "multi") - } - } - if r.changedObjectTypeIdN != nil { - t := *r.changedObjectTypeIdN - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_type_id__n", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_type_id__n", t, "multi") - } - } - 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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "multi") - } - } - if r.idEmpty != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "id__empty", r.idEmpty, "") - } - if r.idGt != nil { - t := *r.idGt - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "id__gt", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "id__gt", t, "multi") - } - } - if r.idGte != nil { - t := *r.idGte - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "id__gte", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "id__gte", t, "multi") - } - } - if r.idLt != nil { - t := *r.idLt - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "id__lt", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "id__lt", t, "multi") - } - } - if r.idLte != nil { - t := *r.idLte - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "id__lte", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "id__lte", t, "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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "multi") - } - } - if r.limit != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "") - } - if r.objectRepr != nil { - t := *r.objectRepr - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "object_repr", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "object_repr", t, "multi") - } - } - if r.objectReprEmpty != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "object_repr__empty", r.objectReprEmpty, "") - } - if r.objectReprIc != nil { - t := *r.objectReprIc - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "object_repr__ic", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "object_repr__ic", t, "multi") - } - } - if r.objectReprIe != nil { - t := *r.objectReprIe - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "object_repr__ie", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "object_repr__ie", t, "multi") - } - } - if r.objectReprIew != nil { - t := *r.objectReprIew - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "object_repr__iew", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "object_repr__iew", t, "multi") - } - } - if r.objectReprIsw != nil { - t := *r.objectReprIsw - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "object_repr__isw", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "object_repr__isw", t, "multi") - } - } - if r.objectReprN != nil { - t := *r.objectReprN - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "object_repr__n", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "object_repr__n", t, "multi") - } - } - if r.objectReprNic != nil { - t := *r.objectReprNic - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "object_repr__nic", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "object_repr__nic", t, "multi") - } - } - if r.objectReprNie != nil { - t := *r.objectReprNie - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "object_repr__nie", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "object_repr__nie", t, "multi") - } - } - if r.objectReprNiew != nil { - t := *r.objectReprNiew - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "object_repr__niew", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "object_repr__niew", t, "multi") - } - } - if r.objectReprNisw != nil { - t := *r.objectReprNisw - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "object_repr__nisw", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "object_repr__nisw", t, "multi") - } - } - if r.offset != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "") - } - if r.ordering != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "ordering", r.ordering, "") - } - if r.q != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "") - } - if r.relatedObjectId != nil { - t := *r.relatedObjectId - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "related_object_id", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "related_object_id", t, "multi") - } - } - if r.relatedObjectIdEmpty != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "related_object_id__empty", r.relatedObjectIdEmpty, "") - } - if r.relatedObjectIdGt != nil { - t := *r.relatedObjectIdGt - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "related_object_id__gt", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "related_object_id__gt", t, "multi") - } - } - if r.relatedObjectIdGte != nil { - t := *r.relatedObjectIdGte - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "related_object_id__gte", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "related_object_id__gte", t, "multi") - } - } - if r.relatedObjectIdLt != nil { - t := *r.relatedObjectIdLt - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "related_object_id__lt", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "related_object_id__lt", t, "multi") - } - } - if r.relatedObjectIdLte != nil { - t := *r.relatedObjectIdLte - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "related_object_id__lte", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "related_object_id__lte", t, "multi") - } - } - if r.relatedObjectIdN != nil { - t := *r.relatedObjectIdN - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "related_object_id__n", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "related_object_id__n", t, "multi") - } - } - if r.relatedObjectType != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "related_object_type", r.relatedObjectType, "") - } - if r.relatedObjectTypeN != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "related_object_type__n", r.relatedObjectTypeN, "") - } - if r.requestId != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "request_id", r.requestId, "") - } - if r.timeAfter != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "time_after", r.timeAfter, "") - } - if r.timeBefore != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "time_before", r.timeBefore, "") - } - 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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "user", t, "multi") - } - } - 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, "user__n", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "user__n", t, "multi") - } - } - if r.userId != nil { - t := *r.userId - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "user_id", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "user_id", t, "multi") - } - } - if r.userIdN != nil { - t := *r.userIdN - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "user_id__n", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "user_id__n", t, "multi") - } - } - if r.userName != nil { - t := *r.userName - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "user_name", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "user_name", t, "multi") - } - } - if r.userNameEmpty != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "user_name__empty", r.userNameEmpty, "") - } - if r.userNameIc != nil { - t := *r.userNameIc - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "user_name__ic", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "user_name__ic", t, "multi") - } - } - if r.userNameIe != nil { - t := *r.userNameIe - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "user_name__ie", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "user_name__ie", t, "multi") - } - } - if r.userNameIew != nil { - t := *r.userNameIew - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "user_name__iew", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "user_name__iew", t, "multi") - } - } - if r.userNameIsw != nil { - t := *r.userNameIsw - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "user_name__isw", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "user_name__isw", t, "multi") - } - } - if r.userNameN != nil { - t := *r.userNameN - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "user_name__n", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "user_name__n", t, "multi") - } - } - if r.userNameNic != nil { - t := *r.userNameNic - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "user_name__nic", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "user_name__nic", t, "multi") - } - } - if r.userNameNie != nil { - t := *r.userNameNie - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "user_name__nie", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "user_name__nie", t, "multi") - } - } - if r.userNameNiew != nil { - t := *r.userNameNiew - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "user_name__niew", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "user_name__niew", t, "multi") - } - } - if r.userNameNisw != nil { - t := *r.userNameNisw - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "user_name__nisw", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "user_name__nisw", t, "multi") - } - } - // 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"} - - // 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 + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err } localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) @@ -24820,27 +24594,27 @@ func (a *ExtrasAPIService) ExtrasObjectChangesListExecute(r ApiExtrasObjectChang return localVarReturnValue, localVarHTTPResponse, nil } -type ApiExtrasObjectChangesRetrieveRequest struct { +type ApiExtrasNotificationGroupsDestroyRequest struct { ctx context.Context ApiService *ExtrasAPIService id int32 } -func (r ApiExtrasObjectChangesRetrieveRequest) Execute() (*ObjectChange, *http.Response, error) { - return r.ApiService.ExtrasObjectChangesRetrieveExecute(r) +func (r ApiExtrasNotificationGroupsDestroyRequest) Execute() (*http.Response, error) { + return r.ApiService.ExtrasNotificationGroupsDestroyExecute(r) } /* -ExtrasObjectChangesRetrieve Method for ExtrasObjectChangesRetrieve +ExtrasNotificationGroupsDestroy Method for ExtrasNotificationGroupsDestroy -Retrieve a list of recent changes. +Delete a notification group object. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param id A unique integer value identifying this object change. - @return ApiExtrasObjectChangesRetrieveRequest + @param id A unique integer value identifying this notification group. + @return ApiExtrasNotificationGroupsDestroyRequest */ -func (a *ExtrasAPIService) ExtrasObjectChangesRetrieve(ctx context.Context, id int32) ApiExtrasObjectChangesRetrieveRequest { - return ApiExtrasObjectChangesRetrieveRequest{ +func (a *ExtrasAPIService) ExtrasNotificationGroupsDestroy(ctx context.Context, id int32) ApiExtrasNotificationGroupsDestroyRequest { + return ApiExtrasNotificationGroupsDestroyRequest{ ApiService: a, ctx: ctx, id: id, @@ -24848,22 +24622,19 @@ func (a *ExtrasAPIService) ExtrasObjectChangesRetrieve(ctx context.Context, id i } // Execute executes the request -// -// @return ObjectChange -func (a *ExtrasAPIService) ExtrasObjectChangesRetrieveExecute(r ApiExtrasObjectChangesRetrieveRequest) (*ObjectChange, *http.Response, error) { +func (a *ExtrasAPIService) ExtrasNotificationGroupsDestroyExecute(r ApiExtrasNotificationGroupsDestroyRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *ObjectChange + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasObjectChangesRetrieve") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasNotificationGroupsDestroy") if err != nil { - return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + return nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/api/extras/object-changes/{id}/" + localVarPath := localBasePath + "/api/extras/notification-groups/{id}/" localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) localVarHeaderParams := make(map[string]string) @@ -24880,7 +24651,7 @@ func (a *ExtrasAPIService) ExtrasObjectChangesRetrieveExecute(r ApiExtrasObjectC } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json"} + localVarHTTPHeaderAccepts := []string{} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -24903,19 +24674,19 @@ func (a *ExtrasAPIService) ExtrasObjectChangesRetrieveExecute(r ApiExtrasObjectC } 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 { @@ -24923,86 +24694,52 @@ func (a *ExtrasAPIService) ExtrasObjectChangesRetrieveExecute(r ApiExtrasObjectC body: localVarBody, error: localVarHTTPResponse.Status, } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - err = a.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 ApiExtrasObjectTypesListRequest struct { +type ApiExtrasNotificationGroupsListRequest struct { ctx context.Context ApiService *ExtrasAPIService - appLabel *string - id *int32 limit *int32 - model *string offset *int32 ordering *string - q *string -} - -func (r ApiExtrasObjectTypesListRequest) AppLabel(appLabel string) ApiExtrasObjectTypesListRequest { - r.appLabel = &appLabel - return r -} - -func (r ApiExtrasObjectTypesListRequest) Id(id int32) ApiExtrasObjectTypesListRequest { - r.id = &id - return r } // Number of results to return per page. -func (r ApiExtrasObjectTypesListRequest) Limit(limit int32) ApiExtrasObjectTypesListRequest { +func (r ApiExtrasNotificationGroupsListRequest) Limit(limit int32) ApiExtrasNotificationGroupsListRequest { r.limit = &limit return r } -func (r ApiExtrasObjectTypesListRequest) Model(model string) ApiExtrasObjectTypesListRequest { - r.model = &model - return r -} - // The initial index from which to return the results. -func (r ApiExtrasObjectTypesListRequest) Offset(offset int32) ApiExtrasObjectTypesListRequest { +func (r ApiExtrasNotificationGroupsListRequest) Offset(offset int32) ApiExtrasNotificationGroupsListRequest { r.offset = &offset return r } // Which field to use when ordering the results. -func (r ApiExtrasObjectTypesListRequest) Ordering(ordering string) ApiExtrasObjectTypesListRequest { +func (r ApiExtrasNotificationGroupsListRequest) Ordering(ordering string) ApiExtrasNotificationGroupsListRequest { r.ordering = &ordering return r } -// Search -func (r ApiExtrasObjectTypesListRequest) Q(q string) ApiExtrasObjectTypesListRequest { - r.q = &q - return r -} - -func (r ApiExtrasObjectTypesListRequest) Execute() (*PaginatedObjectTypeList, *http.Response, error) { - return r.ApiService.ExtrasObjectTypesListExecute(r) +func (r ApiExtrasNotificationGroupsListRequest) Execute() (*PaginatedNotificationGroupList, *http.Response, error) { + return r.ApiService.ExtrasNotificationGroupsListExecute(r) } /* -ExtrasObjectTypesList Method for ExtrasObjectTypesList +ExtrasNotificationGroupsList Method for ExtrasNotificationGroupsList -Read-only list of ObjectTypes. +Get a list of notification group objects. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiExtrasObjectTypesListRequest + @return ApiExtrasNotificationGroupsListRequest */ -func (a *ExtrasAPIService) ExtrasObjectTypesList(ctx context.Context) ApiExtrasObjectTypesListRequest { - return ApiExtrasObjectTypesListRequest{ +func (a *ExtrasAPIService) ExtrasNotificationGroupsList(ctx context.Context) ApiExtrasNotificationGroupsListRequest { + return ApiExtrasNotificationGroupsListRequest{ ApiService: a, ctx: ctx, } @@ -25010,47 +24747,35 @@ func (a *ExtrasAPIService) ExtrasObjectTypesList(ctx context.Context) ApiExtrasO // Execute executes the request // -// @return PaginatedObjectTypeList -func (a *ExtrasAPIService) ExtrasObjectTypesListExecute(r ApiExtrasObjectTypesListRequest) (*PaginatedObjectTypeList, *http.Response, error) { +// @return PaginatedNotificationGroupList +func (a *ExtrasAPIService) ExtrasNotificationGroupsListExecute(r ApiExtrasNotificationGroupsListRequest) (*PaginatedNotificationGroupList, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *PaginatedObjectTypeList + localVarReturnValue *PaginatedNotificationGroupList ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasObjectTypesList") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasNotificationGroupsList") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/api/extras/object-types/" + localVarPath := localBasePath + "/api/extras/notification-groups/" localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} - if r.appLabel != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "app_label", r.appLabel, "") - } - if r.id != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "id", r.id, "") - } if r.limit != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "") } - if r.model != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "model", r.model, "") - } if r.offset != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "") } if r.ordering != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "ordering", r.ordering, "") } - if r.q != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "") - } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -25119,27 +24844,33 @@ func (a *ExtrasAPIService) ExtrasObjectTypesListExecute(r ApiExtrasObjectTypesLi return localVarReturnValue, localVarHTTPResponse, nil } -type ApiExtrasObjectTypesRetrieveRequest struct { - ctx context.Context - ApiService *ExtrasAPIService - id int32 +type ApiExtrasNotificationGroupsPartialUpdateRequest struct { + ctx context.Context + ApiService *ExtrasAPIService + id int32 + patchedNotificationGroupRequest *PatchedNotificationGroupRequest } -func (r ApiExtrasObjectTypesRetrieveRequest) Execute() (*ObjectType, *http.Response, error) { - return r.ApiService.ExtrasObjectTypesRetrieveExecute(r) +func (r ApiExtrasNotificationGroupsPartialUpdateRequest) PatchedNotificationGroupRequest(patchedNotificationGroupRequest PatchedNotificationGroupRequest) ApiExtrasNotificationGroupsPartialUpdateRequest { + r.patchedNotificationGroupRequest = &patchedNotificationGroupRequest + return r +} + +func (r ApiExtrasNotificationGroupsPartialUpdateRequest) Execute() (*NotificationGroup, *http.Response, error) { + return r.ApiService.ExtrasNotificationGroupsPartialUpdateExecute(r) } /* -ExtrasObjectTypesRetrieve Method for ExtrasObjectTypesRetrieve +ExtrasNotificationGroupsPartialUpdate Method for ExtrasNotificationGroupsPartialUpdate -Read-only list of ObjectTypes. +Patch a notification group object. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param id A unique integer value identifying this object type. - @return ApiExtrasObjectTypesRetrieveRequest + @param id A unique integer value identifying this notification group. + @return ApiExtrasNotificationGroupsPartialUpdateRequest */ -func (a *ExtrasAPIService) ExtrasObjectTypesRetrieve(ctx context.Context, id int32) ApiExtrasObjectTypesRetrieveRequest { - return ApiExtrasObjectTypesRetrieveRequest{ +func (a *ExtrasAPIService) ExtrasNotificationGroupsPartialUpdate(ctx context.Context, id int32) ApiExtrasNotificationGroupsPartialUpdateRequest { + return ApiExtrasNotificationGroupsPartialUpdateRequest{ ApiService: a, ctx: ctx, id: id, @@ -25148,21 +24879,21 @@ func (a *ExtrasAPIService) ExtrasObjectTypesRetrieve(ctx context.Context, id int // Execute executes the request // -// @return ObjectType -func (a *ExtrasAPIService) ExtrasObjectTypesRetrieveExecute(r ApiExtrasObjectTypesRetrieveRequest) (*ObjectType, *http.Response, error) { +// @return NotificationGroup +func (a *ExtrasAPIService) ExtrasNotificationGroupsPartialUpdateExecute(r ApiExtrasNotificationGroupsPartialUpdateRequest) (*NotificationGroup, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet + localVarHTTPMethod = http.MethodPatch localVarPostBody interface{} formFiles []formFile - localVarReturnValue *ObjectType + localVarReturnValue *NotificationGroup ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasObjectTypesRetrieve") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasNotificationGroupsPartialUpdate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/api/extras/object-types/{id}/" + localVarPath := localBasePath + "/api/extras/notification-groups/{id}/" localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) localVarHeaderParams := make(map[string]string) @@ -25170,7 +24901,7 @@ func (a *ExtrasAPIService) ExtrasObjectTypesRetrieveExecute(r ApiExtrasObjectTyp localVarFormParams := url.Values{} // to determine the Content-Type header - localVarHTTPContentTypes := []string{} + localVarHTTPContentTypes := []string{"application/json", "multipart/form-data"} // set Content-Type header localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) @@ -25186,6 +24917,8 @@ func (a *ExtrasAPIService) ExtrasObjectTypesRetrieveExecute(r ApiExtrasObjectTyp if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } + // body params + localVarPostBody = r.patchedNotificationGroupRequest if r.ctx != nil { // API Key Authentication if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { @@ -25237,56 +24970,303 @@ func (a *ExtrasAPIService) ExtrasObjectTypesRetrieveExecute(r ApiExtrasObjectTyp return localVarReturnValue, localVarHTTPResponse, nil } -type ApiExtrasSavedFiltersBulkDestroyRequest struct { - ctx context.Context - ApiService *ExtrasAPIService - savedFilterRequest *[]SavedFilterRequest +type ApiExtrasNotificationGroupsRetrieveRequest struct { + ctx context.Context + ApiService *ExtrasAPIService + id int32 } -func (r ApiExtrasSavedFiltersBulkDestroyRequest) SavedFilterRequest(savedFilterRequest []SavedFilterRequest) ApiExtrasSavedFiltersBulkDestroyRequest { - r.savedFilterRequest = &savedFilterRequest +func (r ApiExtrasNotificationGroupsRetrieveRequest) Execute() (*NotificationGroup, *http.Response, error) { + return r.ApiService.ExtrasNotificationGroupsRetrieveExecute(r) +} + +/* +ExtrasNotificationGroupsRetrieve Method for ExtrasNotificationGroupsRetrieve + +Get a notification group object. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id A unique integer value identifying this notification group. + @return ApiExtrasNotificationGroupsRetrieveRequest +*/ +func (a *ExtrasAPIService) ExtrasNotificationGroupsRetrieve(ctx context.Context, id int32) ApiExtrasNotificationGroupsRetrieveRequest { + return ApiExtrasNotificationGroupsRetrieveRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// +// @return NotificationGroup +func (a *ExtrasAPIService) ExtrasNotificationGroupsRetrieveExecute(r ApiExtrasNotificationGroupsRetrieveRequest) (*NotificationGroup, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *NotificationGroup + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasNotificationGroupsRetrieve") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/extras/notification-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{} + + // 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"} + + // 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 ApiExtrasNotificationGroupsUpdateRequest struct { + ctx context.Context + ApiService *ExtrasAPIService + id int32 + notificationGroupRequest *NotificationGroupRequest +} + +func (r ApiExtrasNotificationGroupsUpdateRequest) NotificationGroupRequest(notificationGroupRequest NotificationGroupRequest) ApiExtrasNotificationGroupsUpdateRequest { + r.notificationGroupRequest = ¬ificationGroupRequest return r } -func (r ApiExtrasSavedFiltersBulkDestroyRequest) Execute() (*http.Response, error) { - return r.ApiService.ExtrasSavedFiltersBulkDestroyExecute(r) +func (r ApiExtrasNotificationGroupsUpdateRequest) Execute() (*NotificationGroup, *http.Response, error) { + return r.ApiService.ExtrasNotificationGroupsUpdateExecute(r) } /* -ExtrasSavedFiltersBulkDestroy Method for ExtrasSavedFiltersBulkDestroy +ExtrasNotificationGroupsUpdate Method for ExtrasNotificationGroupsUpdate -Delete a list of saved filter objects. +Put a notification group object. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiExtrasSavedFiltersBulkDestroyRequest + @param id A unique integer value identifying this notification group. + @return ApiExtrasNotificationGroupsUpdateRequest */ -func (a *ExtrasAPIService) ExtrasSavedFiltersBulkDestroy(ctx context.Context) ApiExtrasSavedFiltersBulkDestroyRequest { - return ApiExtrasSavedFiltersBulkDestroyRequest{ +func (a *ExtrasAPIService) ExtrasNotificationGroupsUpdate(ctx context.Context, id int32) ApiExtrasNotificationGroupsUpdateRequest { + return ApiExtrasNotificationGroupsUpdateRequest{ ApiService: a, ctx: ctx, + id: id, } } // Execute executes the request -func (a *ExtrasAPIService) ExtrasSavedFiltersBulkDestroyExecute(r ApiExtrasSavedFiltersBulkDestroyRequest) (*http.Response, error) { +// +// @return NotificationGroup +func (a *ExtrasAPIService) ExtrasNotificationGroupsUpdateExecute(r ApiExtrasNotificationGroupsUpdateRequest) (*NotificationGroup, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *NotificationGroup + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasNotificationGroupsUpdate") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/extras/notification-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.notificationGroupRequest == nil { + return localVarReturnValue, nil, reportError("notificationGroupRequest is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "multipart/form-data"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.notificationGroupRequest + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["tokenAuth"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + 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 ApiExtrasNotificationsBulkDestroyRequest struct { + ctx context.Context + ApiService *ExtrasAPIService + notificationRequest *[]NotificationRequest +} + +func (r ApiExtrasNotificationsBulkDestroyRequest) NotificationRequest(notificationRequest []NotificationRequest) ApiExtrasNotificationsBulkDestroyRequest { + r.notificationRequest = ¬ificationRequest + return r +} + +func (r ApiExtrasNotificationsBulkDestroyRequest) Execute() (*http.Response, error) { + return r.ApiService.ExtrasNotificationsBulkDestroyExecute(r) +} + +/* +ExtrasNotificationsBulkDestroy Method for ExtrasNotificationsBulkDestroy + +Delete a list of notification objects. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiExtrasNotificationsBulkDestroyRequest +*/ +func (a *ExtrasAPIService) ExtrasNotificationsBulkDestroy(ctx context.Context) ApiExtrasNotificationsBulkDestroyRequest { + return ApiExtrasNotificationsBulkDestroyRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +func (a *ExtrasAPIService) ExtrasNotificationsBulkDestroyExecute(r ApiExtrasNotificationsBulkDestroyRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasSavedFiltersBulkDestroy") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasNotificationsBulkDestroy") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/api/extras/saved-filters/" + localVarPath := localBasePath + "/api/extras/notifications/" localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} - if r.savedFilterRequest == nil { - return nil, reportError("savedFilterRequest is required and must be specified") + if r.notificationRequest == nil { + return nil, reportError("notificationRequest is required and must be specified") } // to determine the Content-Type header @@ -25307,7 +25287,7 @@ func (a *ExtrasAPIService) ExtrasSavedFiltersBulkDestroyExecute(r ApiExtrasSaved localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } // body params - localVarPostBody = r.savedFilterRequest + localVarPostBody = r.notificationRequest if r.ctx != nil { // API Key Authentication if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { @@ -25350,31 +25330,31 @@ func (a *ExtrasAPIService) ExtrasSavedFiltersBulkDestroyExecute(r ApiExtrasSaved return localVarHTTPResponse, nil } -type ApiExtrasSavedFiltersBulkPartialUpdateRequest struct { - ctx context.Context - ApiService *ExtrasAPIService - savedFilterRequest *[]SavedFilterRequest +type ApiExtrasNotificationsBulkPartialUpdateRequest struct { + ctx context.Context + ApiService *ExtrasAPIService + notificationRequest *[]NotificationRequest } -func (r ApiExtrasSavedFiltersBulkPartialUpdateRequest) SavedFilterRequest(savedFilterRequest []SavedFilterRequest) ApiExtrasSavedFiltersBulkPartialUpdateRequest { - r.savedFilterRequest = &savedFilterRequest +func (r ApiExtrasNotificationsBulkPartialUpdateRequest) NotificationRequest(notificationRequest []NotificationRequest) ApiExtrasNotificationsBulkPartialUpdateRequest { + r.notificationRequest = ¬ificationRequest return r } -func (r ApiExtrasSavedFiltersBulkPartialUpdateRequest) Execute() ([]SavedFilter, *http.Response, error) { - return r.ApiService.ExtrasSavedFiltersBulkPartialUpdateExecute(r) +func (r ApiExtrasNotificationsBulkPartialUpdateRequest) Execute() ([]Notification, *http.Response, error) { + return r.ApiService.ExtrasNotificationsBulkPartialUpdateExecute(r) } /* -ExtrasSavedFiltersBulkPartialUpdate Method for ExtrasSavedFiltersBulkPartialUpdate +ExtrasNotificationsBulkPartialUpdate Method for ExtrasNotificationsBulkPartialUpdate -Patch a list of saved filter objects. +Patch a list of notification objects. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiExtrasSavedFiltersBulkPartialUpdateRequest + @return ApiExtrasNotificationsBulkPartialUpdateRequest */ -func (a *ExtrasAPIService) ExtrasSavedFiltersBulkPartialUpdate(ctx context.Context) ApiExtrasSavedFiltersBulkPartialUpdateRequest { - return ApiExtrasSavedFiltersBulkPartialUpdateRequest{ +func (a *ExtrasAPIService) ExtrasNotificationsBulkPartialUpdate(ctx context.Context) ApiExtrasNotificationsBulkPartialUpdateRequest { + return ApiExtrasNotificationsBulkPartialUpdateRequest{ ApiService: a, ctx: ctx, } @@ -25382,27 +25362,27 @@ func (a *ExtrasAPIService) ExtrasSavedFiltersBulkPartialUpdate(ctx context.Conte // Execute executes the request // -// @return []SavedFilter -func (a *ExtrasAPIService) ExtrasSavedFiltersBulkPartialUpdateExecute(r ApiExtrasSavedFiltersBulkPartialUpdateRequest) ([]SavedFilter, *http.Response, error) { +// @return []Notification +func (a *ExtrasAPIService) ExtrasNotificationsBulkPartialUpdateExecute(r ApiExtrasNotificationsBulkPartialUpdateRequest) ([]Notification, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPatch localVarPostBody interface{} formFiles []formFile - localVarReturnValue []SavedFilter + localVarReturnValue []Notification ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasSavedFiltersBulkPartialUpdate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasNotificationsBulkPartialUpdate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/api/extras/saved-filters/" + localVarPath := localBasePath + "/api/extras/notifications/" localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} - if r.savedFilterRequest == nil { - return localVarReturnValue, nil, reportError("savedFilterRequest is required and must be specified") + if r.notificationRequest == nil { + return localVarReturnValue, nil, reportError("notificationRequest is required and must be specified") } // to determine the Content-Type header @@ -25423,7 +25403,7 @@ func (a *ExtrasAPIService) ExtrasSavedFiltersBulkPartialUpdateExecute(r ApiExtra localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } // body params - localVarPostBody = r.savedFilterRequest + localVarPostBody = r.notificationRequest if r.ctx != nil { // API Key Authentication if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { @@ -25475,31 +25455,31 @@ func (a *ExtrasAPIService) ExtrasSavedFiltersBulkPartialUpdateExecute(r ApiExtra return localVarReturnValue, localVarHTTPResponse, nil } -type ApiExtrasSavedFiltersBulkUpdateRequest struct { - ctx context.Context - ApiService *ExtrasAPIService - savedFilterRequest *[]SavedFilterRequest +type ApiExtrasNotificationsBulkUpdateRequest struct { + ctx context.Context + ApiService *ExtrasAPIService + notificationRequest *[]NotificationRequest } -func (r ApiExtrasSavedFiltersBulkUpdateRequest) SavedFilterRequest(savedFilterRequest []SavedFilterRequest) ApiExtrasSavedFiltersBulkUpdateRequest { - r.savedFilterRequest = &savedFilterRequest +func (r ApiExtrasNotificationsBulkUpdateRequest) NotificationRequest(notificationRequest []NotificationRequest) ApiExtrasNotificationsBulkUpdateRequest { + r.notificationRequest = ¬ificationRequest return r } -func (r ApiExtrasSavedFiltersBulkUpdateRequest) Execute() ([]SavedFilter, *http.Response, error) { - return r.ApiService.ExtrasSavedFiltersBulkUpdateExecute(r) +func (r ApiExtrasNotificationsBulkUpdateRequest) Execute() ([]Notification, *http.Response, error) { + return r.ApiService.ExtrasNotificationsBulkUpdateExecute(r) } /* -ExtrasSavedFiltersBulkUpdate Method for ExtrasSavedFiltersBulkUpdate +ExtrasNotificationsBulkUpdate Method for ExtrasNotificationsBulkUpdate -Put a list of saved filter objects. +Put a list of notification objects. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiExtrasSavedFiltersBulkUpdateRequest + @return ApiExtrasNotificationsBulkUpdateRequest */ -func (a *ExtrasAPIService) ExtrasSavedFiltersBulkUpdate(ctx context.Context) ApiExtrasSavedFiltersBulkUpdateRequest { - return ApiExtrasSavedFiltersBulkUpdateRequest{ +func (a *ExtrasAPIService) ExtrasNotificationsBulkUpdate(ctx context.Context) ApiExtrasNotificationsBulkUpdateRequest { + return ApiExtrasNotificationsBulkUpdateRequest{ ApiService: a, ctx: ctx, } @@ -25507,27 +25487,27 @@ func (a *ExtrasAPIService) ExtrasSavedFiltersBulkUpdate(ctx context.Context) Api // Execute executes the request // -// @return []SavedFilter -func (a *ExtrasAPIService) ExtrasSavedFiltersBulkUpdateExecute(r ApiExtrasSavedFiltersBulkUpdateRequest) ([]SavedFilter, *http.Response, error) { +// @return []Notification +func (a *ExtrasAPIService) ExtrasNotificationsBulkUpdateExecute(r ApiExtrasNotificationsBulkUpdateRequest) ([]Notification, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} formFiles []formFile - localVarReturnValue []SavedFilter + localVarReturnValue []Notification ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasSavedFiltersBulkUpdate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasNotificationsBulkUpdate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/api/extras/saved-filters/" + localVarPath := localBasePath + "/api/extras/notifications/" localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} - if r.savedFilterRequest == nil { - return localVarReturnValue, nil, reportError("savedFilterRequest is required and must be specified") + if r.notificationRequest == nil { + return localVarReturnValue, nil, reportError("notificationRequest is required and must be specified") } // to determine the Content-Type header @@ -25548,7 +25528,7 @@ func (a *ExtrasAPIService) ExtrasSavedFiltersBulkUpdateExecute(r ApiExtrasSavedF localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } // body params - localVarPostBody = r.savedFilterRequest + localVarPostBody = r.notificationRequest if r.ctx != nil { // API Key Authentication if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { @@ -25600,31 +25580,31 @@ func (a *ExtrasAPIService) ExtrasSavedFiltersBulkUpdateExecute(r ApiExtrasSavedF return localVarReturnValue, localVarHTTPResponse, nil } -type ApiExtrasSavedFiltersCreateRequest struct { - ctx context.Context - ApiService *ExtrasAPIService - savedFilterRequest *SavedFilterRequest +type ApiExtrasNotificationsCreateRequest struct { + ctx context.Context + ApiService *ExtrasAPIService + notificationRequest *NotificationRequest } -func (r ApiExtrasSavedFiltersCreateRequest) SavedFilterRequest(savedFilterRequest SavedFilterRequest) ApiExtrasSavedFiltersCreateRequest { - r.savedFilterRequest = &savedFilterRequest +func (r ApiExtrasNotificationsCreateRequest) NotificationRequest(notificationRequest NotificationRequest) ApiExtrasNotificationsCreateRequest { + r.notificationRequest = ¬ificationRequest return r } -func (r ApiExtrasSavedFiltersCreateRequest) Execute() (*SavedFilter, *http.Response, error) { - return r.ApiService.ExtrasSavedFiltersCreateExecute(r) +func (r ApiExtrasNotificationsCreateRequest) Execute() (*Notification, *http.Response, error) { + return r.ApiService.ExtrasNotificationsCreateExecute(r) } /* -ExtrasSavedFiltersCreate Method for ExtrasSavedFiltersCreate +ExtrasNotificationsCreate Method for ExtrasNotificationsCreate -Post a list of saved filter objects. +Post a list of notification objects. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiExtrasSavedFiltersCreateRequest + @return ApiExtrasNotificationsCreateRequest */ -func (a *ExtrasAPIService) ExtrasSavedFiltersCreate(ctx context.Context) ApiExtrasSavedFiltersCreateRequest { - return ApiExtrasSavedFiltersCreateRequest{ +func (a *ExtrasAPIService) ExtrasNotificationsCreate(ctx context.Context) ApiExtrasNotificationsCreateRequest { + return ApiExtrasNotificationsCreateRequest{ ApiService: a, ctx: ctx, } @@ -25632,27 +25612,27 @@ func (a *ExtrasAPIService) ExtrasSavedFiltersCreate(ctx context.Context) ApiExtr // Execute executes the request // -// @return SavedFilter -func (a *ExtrasAPIService) ExtrasSavedFiltersCreateExecute(r ApiExtrasSavedFiltersCreateRequest) (*SavedFilter, *http.Response, error) { +// @return Notification +func (a *ExtrasAPIService) ExtrasNotificationsCreateExecute(r ApiExtrasNotificationsCreateRequest) (*Notification, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *SavedFilter + localVarReturnValue *Notification ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasSavedFiltersCreate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasNotificationsCreate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/api/extras/saved-filters/" + localVarPath := localBasePath + "/api/extras/notifications/" localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} - if r.savedFilterRequest == nil { - return localVarReturnValue, nil, reportError("savedFilterRequest is required and must be specified") + if r.notificationRequest == nil { + return localVarReturnValue, nil, reportError("notificationRequest is required and must be specified") } // to determine the Content-Type header @@ -25673,7 +25653,7 @@ func (a *ExtrasAPIService) ExtrasSavedFiltersCreateExecute(r ApiExtrasSavedFilte localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } // body params - localVarPostBody = r.savedFilterRequest + localVarPostBody = r.notificationRequest if r.ctx != nil { // API Key Authentication if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { @@ -25725,27 +25705,27 @@ func (a *ExtrasAPIService) ExtrasSavedFiltersCreateExecute(r ApiExtrasSavedFilte return localVarReturnValue, localVarHTTPResponse, nil } -type ApiExtrasSavedFiltersDestroyRequest struct { +type ApiExtrasNotificationsDestroyRequest struct { ctx context.Context ApiService *ExtrasAPIService id int32 } -func (r ApiExtrasSavedFiltersDestroyRequest) Execute() (*http.Response, error) { - return r.ApiService.ExtrasSavedFiltersDestroyExecute(r) +func (r ApiExtrasNotificationsDestroyRequest) Execute() (*http.Response, error) { + return r.ApiService.ExtrasNotificationsDestroyExecute(r) } /* -ExtrasSavedFiltersDestroy Method for ExtrasSavedFiltersDestroy +ExtrasNotificationsDestroy Method for ExtrasNotificationsDestroy -Delete a saved filter object. +Delete a notification object. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param id A unique integer value identifying this saved filter. - @return ApiExtrasSavedFiltersDestroyRequest + @param id A unique integer value identifying this notification. + @return ApiExtrasNotificationsDestroyRequest */ -func (a *ExtrasAPIService) ExtrasSavedFiltersDestroy(ctx context.Context, id int32) ApiExtrasSavedFiltersDestroyRequest { - return ApiExtrasSavedFiltersDestroyRequest{ +func (a *ExtrasAPIService) ExtrasNotificationsDestroy(ctx context.Context, id int32) ApiExtrasNotificationsDestroyRequest { + return ApiExtrasNotificationsDestroyRequest{ ApiService: a, ctx: ctx, id: id, @@ -25753,19 +25733,19 @@ func (a *ExtrasAPIService) ExtrasSavedFiltersDestroy(ctx context.Context, id int } // Execute executes the request -func (a *ExtrasAPIService) ExtrasSavedFiltersDestroyExecute(r ApiExtrasSavedFiltersDestroyRequest) (*http.Response, error) { +func (a *ExtrasAPIService) ExtrasNotificationsDestroyExecute(r ApiExtrasNotificationsDestroyRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasSavedFiltersDestroy") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasNotificationsDestroy") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/api/extras/saved-filters/{id}/" + localVarPath := localBasePath + "/api/extras/notifications/{id}/" localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) localVarHeaderParams := make(map[string]string) @@ -25831,555 +25811,3585 @@ func (a *ExtrasAPIService) ExtrasSavedFiltersDestroyExecute(r ApiExtrasSavedFilt return localVarHTTPResponse, nil } -type ApiExtrasSavedFiltersListRequest struct { - ctx context.Context - ApiService *ExtrasAPIService - created *[]time.Time - createdEmpty *[]time.Time - createdGt *[]time.Time - createdGte *[]time.Time - createdLt *[]time.Time - createdLte *[]time.Time - createdN *[]time.Time - createdByRequest *string - description *[]string - descriptionEmpty *bool - descriptionIc *[]string - descriptionIe *[]string - descriptionIew *[]string - descriptionIsw *[]string - descriptionN *[]string - descriptionNic *[]string - descriptionNie *[]string - descriptionNiew *[]string - descriptionNisw *[]string - enabled *bool - id *[]int32 - idEmpty *bool - idGt *[]int32 - idGte *[]int32 - idLt *[]int32 - idLte *[]int32 - idN *[]int32 - lastUpdated *[]time.Time - lastUpdatedEmpty *[]time.Time - lastUpdatedGt *[]time.Time - lastUpdatedGte *[]time.Time - lastUpdatedLt *[]time.Time - lastUpdatedLte *[]time.Time - lastUpdatedN *[]time.Time - limit *int32 - modifiedByRequest *string - name *[]string - nameEmpty *bool - nameIc *[]string - nameIe *[]string - nameIew *[]string - nameIsw *[]string - nameN *[]string - nameNic *[]string - nameNie *[]string - nameNiew *[]string - nameNisw *[]string - objectType *string - objectTypeIc *string - objectTypeIe *string - objectTypeIew *string - objectTypeIsw *string - objectTypeN *string - objectTypeNic *string - objectTypeNie *string - objectTypeNiew *string - objectTypeNisw *string - objectTypeId *[]int32 - objectTypeIdN *[]int32 - offset *int32 - ordering *string - q *string - shared *bool - slug *[]string - slugEmpty *bool - slugIc *[]string - slugIe *[]string - slugIew *[]string - slugIsw *[]string - slugN *[]string - slugNic *[]string - slugNie *[]string - slugNiew *[]string - slugNisw *[]string - updatedByRequest *string - usable *bool - user *[]string - userN *[]string - userId *[]*int32 - userIdN *[]*int32 - weight *[]int32 - weightEmpty *bool - weightGt *[]int32 - weightGte *[]int32 - weightLt *[]int32 - weightLte *[]int32 - weightN *[]int32 +type ApiExtrasNotificationsListRequest struct { + ctx context.Context + ApiService *ExtrasAPIService + limit *int32 + offset *int32 + ordering *string } -func (r ApiExtrasSavedFiltersListRequest) Created(created []time.Time) ApiExtrasSavedFiltersListRequest { - r.created = &created +// Number of results to return per page. +func (r ApiExtrasNotificationsListRequest) Limit(limit int32) ApiExtrasNotificationsListRequest { + r.limit = &limit return r } -func (r ApiExtrasSavedFiltersListRequest) CreatedEmpty(createdEmpty []time.Time) ApiExtrasSavedFiltersListRequest { - r.createdEmpty = &createdEmpty +// The initial index from which to return the results. +func (r ApiExtrasNotificationsListRequest) Offset(offset int32) ApiExtrasNotificationsListRequest { + r.offset = &offset return r } -func (r ApiExtrasSavedFiltersListRequest) CreatedGt(createdGt []time.Time) ApiExtrasSavedFiltersListRequest { - r.createdGt = &createdGt +// Which field to use when ordering the results. +func (r ApiExtrasNotificationsListRequest) Ordering(ordering string) ApiExtrasNotificationsListRequest { + r.ordering = &ordering return r } -func (r ApiExtrasSavedFiltersListRequest) CreatedGte(createdGte []time.Time) ApiExtrasSavedFiltersListRequest { - r.createdGte = &createdGte - return r +func (r ApiExtrasNotificationsListRequest) Execute() (*PaginatedNotificationList, *http.Response, error) { + return r.ApiService.ExtrasNotificationsListExecute(r) } -func (r ApiExtrasSavedFiltersListRequest) CreatedLt(createdLt []time.Time) ApiExtrasSavedFiltersListRequest { - r.createdLt = &createdLt - return r -} +/* +ExtrasNotificationsList Method for ExtrasNotificationsList -func (r ApiExtrasSavedFiltersListRequest) CreatedLte(createdLte []time.Time) ApiExtrasSavedFiltersListRequest { - r.createdLte = &createdLte - return r -} +Get a list of notification objects. -func (r ApiExtrasSavedFiltersListRequest) CreatedN(createdN []time.Time) ApiExtrasSavedFiltersListRequest { - r.createdN = &createdN - return r + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiExtrasNotificationsListRequest +*/ +func (a *ExtrasAPIService) ExtrasNotificationsList(ctx context.Context) ApiExtrasNotificationsListRequest { + return ApiExtrasNotificationsListRequest{ + ApiService: a, + ctx: ctx, + } } -func (r ApiExtrasSavedFiltersListRequest) CreatedByRequest(createdByRequest string) ApiExtrasSavedFiltersListRequest { - r.createdByRequest = &createdByRequest - return r -} +// Execute executes the request +// +// @return PaginatedNotificationList +func (a *ExtrasAPIService) ExtrasNotificationsListExecute(r ApiExtrasNotificationsListRequest) (*PaginatedNotificationList, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *PaginatedNotificationList + ) -func (r ApiExtrasSavedFiltersListRequest) Description(description []string) ApiExtrasSavedFiltersListRequest { - r.description = &description - return r -} + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasNotificationsList") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } -func (r ApiExtrasSavedFiltersListRequest) DescriptionEmpty(descriptionEmpty bool) ApiExtrasSavedFiltersListRequest { - r.descriptionEmpty = &descriptionEmpty - return r -} + localVarPath := localBasePath + "/api/extras/notifications/" -func (r ApiExtrasSavedFiltersListRequest) DescriptionIc(descriptionIc []string) ApiExtrasSavedFiltersListRequest { - r.descriptionIc = &descriptionIc - return r -} + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} -func (r ApiExtrasSavedFiltersListRequest) DescriptionIe(descriptionIe []string) ApiExtrasSavedFiltersListRequest { - r.descriptionIe = &descriptionIe - return r -} + if r.limit != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "") + } + if r.offset != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "") + } + if r.ordering != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "ordering", r.ordering, "") + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} -func (r ApiExtrasSavedFiltersListRequest) DescriptionIew(descriptionIew []string) ApiExtrasSavedFiltersListRequest { - r.descriptionIew = &descriptionIew - return r -} + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } -func (r ApiExtrasSavedFiltersListRequest) DescriptionIsw(descriptionIsw []string) ApiExtrasSavedFiltersListRequest { - r.descriptionIsw = &descriptionIsw - return r -} + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} -func (r ApiExtrasSavedFiltersListRequest) DescriptionN(descriptionN []string) ApiExtrasSavedFiltersListRequest { - r.descriptionN = &descriptionN - return r -} + // 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 + } -func (r ApiExtrasSavedFiltersListRequest) DescriptionNic(descriptionNic []string) ApiExtrasSavedFiltersListRequest { - r.descriptionNic = &descriptionNic - return r -} + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } -func (r ApiExtrasSavedFiltersListRequest) DescriptionNie(descriptionNie []string) ApiExtrasSavedFiltersListRequest { - r.descriptionNie = &descriptionNie - return r -} + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } -func (r ApiExtrasSavedFiltersListRequest) DescriptionNiew(descriptionNiew []string) ApiExtrasSavedFiltersListRequest { - r.descriptionNiew = &descriptionNiew - return r -} + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } -func (r ApiExtrasSavedFiltersListRequest) DescriptionNisw(descriptionNisw []string) ApiExtrasSavedFiltersListRequest { - r.descriptionNisw = &descriptionNisw - return r -} + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } -func (r ApiExtrasSavedFiltersListRequest) Enabled(enabled bool) ApiExtrasSavedFiltersListRequest { - r.enabled = &enabled - return r + return localVarReturnValue, localVarHTTPResponse, nil } -func (r ApiExtrasSavedFiltersListRequest) Id(id []int32) ApiExtrasSavedFiltersListRequest { - r.id = &id - return r +type ApiExtrasNotificationsPartialUpdateRequest struct { + ctx context.Context + ApiService *ExtrasAPIService + id int32 + patchedNotificationRequest *PatchedNotificationRequest } -func (r ApiExtrasSavedFiltersListRequest) IdEmpty(idEmpty bool) ApiExtrasSavedFiltersListRequest { - r.idEmpty = &idEmpty +func (r ApiExtrasNotificationsPartialUpdateRequest) PatchedNotificationRequest(patchedNotificationRequest PatchedNotificationRequest) ApiExtrasNotificationsPartialUpdateRequest { + r.patchedNotificationRequest = &patchedNotificationRequest return r } -func (r ApiExtrasSavedFiltersListRequest) IdGt(idGt []int32) ApiExtrasSavedFiltersListRequest { - r.idGt = &idGt - return r +func (r ApiExtrasNotificationsPartialUpdateRequest) Execute() (*Notification, *http.Response, error) { + return r.ApiService.ExtrasNotificationsPartialUpdateExecute(r) } -func (r ApiExtrasSavedFiltersListRequest) IdGte(idGte []int32) ApiExtrasSavedFiltersListRequest { - r.idGte = &idGte - return r -} +/* +ExtrasNotificationsPartialUpdate Method for ExtrasNotificationsPartialUpdate -func (r ApiExtrasSavedFiltersListRequest) IdLt(idLt []int32) ApiExtrasSavedFiltersListRequest { - r.idLt = &idLt - return r -} +Patch a notification object. -func (r ApiExtrasSavedFiltersListRequest) IdLte(idLte []int32) ApiExtrasSavedFiltersListRequest { - r.idLte = &idLte - return r + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id A unique integer value identifying this notification. + @return ApiExtrasNotificationsPartialUpdateRequest +*/ +func (a *ExtrasAPIService) ExtrasNotificationsPartialUpdate(ctx context.Context, id int32) ApiExtrasNotificationsPartialUpdateRequest { + return ApiExtrasNotificationsPartialUpdateRequest{ + ApiService: a, + ctx: ctx, + id: id, + } } -func (r ApiExtrasSavedFiltersListRequest) IdN(idN []int32) ApiExtrasSavedFiltersListRequest { - r.idN = &idN - return r -} +// Execute executes the request +// +// @return Notification +func (a *ExtrasAPIService) ExtrasNotificationsPartialUpdateExecute(r ApiExtrasNotificationsPartialUpdateRequest) (*Notification, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPatch + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *Notification + ) -func (r ApiExtrasSavedFiltersListRequest) LastUpdated(lastUpdated []time.Time) ApiExtrasSavedFiltersListRequest { - r.lastUpdated = &lastUpdated - return r -} + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasNotificationsPartialUpdate") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } -func (r ApiExtrasSavedFiltersListRequest) LastUpdatedEmpty(lastUpdatedEmpty []time.Time) ApiExtrasSavedFiltersListRequest { - r.lastUpdatedEmpty = &lastUpdatedEmpty - return r -} + localVarPath := localBasePath + "/api/extras/notifications/{id}/" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) -func (r ApiExtrasSavedFiltersListRequest) LastUpdatedGt(lastUpdatedGt []time.Time) ApiExtrasSavedFiltersListRequest { - r.lastUpdatedGt = &lastUpdatedGt - return r -} + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} -func (r ApiExtrasSavedFiltersListRequest) LastUpdatedGte(lastUpdatedGte []time.Time) ApiExtrasSavedFiltersListRequest { - r.lastUpdatedGte = &lastUpdatedGte - return r -} + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "multipart/form-data"} -func (r ApiExtrasSavedFiltersListRequest) LastUpdatedLt(lastUpdatedLt []time.Time) ApiExtrasSavedFiltersListRequest { - r.lastUpdatedLt = &lastUpdatedLt - return r -} + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } -func (r ApiExtrasSavedFiltersListRequest) LastUpdatedLte(lastUpdatedLte []time.Time) ApiExtrasSavedFiltersListRequest { - r.lastUpdatedLte = &lastUpdatedLte - return r -} + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} -func (r ApiExtrasSavedFiltersListRequest) LastUpdatedN(lastUpdatedN []time.Time) ApiExtrasSavedFiltersListRequest { - r.lastUpdatedN = &lastUpdatedN - return r -} + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.patchedNotificationRequest + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["tokenAuth"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + 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 + } -// Number of results to return per page. -func (r ApiExtrasSavedFiltersListRequest) Limit(limit int32) ApiExtrasSavedFiltersListRequest { - r.limit = &limit - return r -} + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } -func (r ApiExtrasSavedFiltersListRequest) ModifiedByRequest(modifiedByRequest string) ApiExtrasSavedFiltersListRequest { - r.modifiedByRequest = &modifiedByRequest - return r -} + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } -func (r ApiExtrasSavedFiltersListRequest) Name(name []string) ApiExtrasSavedFiltersListRequest { - r.name = &name - return r -} + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } -func (r ApiExtrasSavedFiltersListRequest) NameEmpty(nameEmpty bool) ApiExtrasSavedFiltersListRequest { - r.nameEmpty = &nameEmpty - return r -} + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } -func (r ApiExtrasSavedFiltersListRequest) NameIc(nameIc []string) ApiExtrasSavedFiltersListRequest { - r.nameIc = &nameIc - return r + return localVarReturnValue, localVarHTTPResponse, nil } -func (r ApiExtrasSavedFiltersListRequest) NameIe(nameIe []string) ApiExtrasSavedFiltersListRequest { - r.nameIe = &nameIe - return r +type ApiExtrasNotificationsRetrieveRequest struct { + ctx context.Context + ApiService *ExtrasAPIService + id int32 } -func (r ApiExtrasSavedFiltersListRequest) NameIew(nameIew []string) ApiExtrasSavedFiltersListRequest { - r.nameIew = &nameIew - return r +func (r ApiExtrasNotificationsRetrieveRequest) Execute() (*Notification, *http.Response, error) { + return r.ApiService.ExtrasNotificationsRetrieveExecute(r) } -func (r ApiExtrasSavedFiltersListRequest) NameIsw(nameIsw []string) ApiExtrasSavedFiltersListRequest { - r.nameIsw = &nameIsw - return r -} +/* +ExtrasNotificationsRetrieve Method for ExtrasNotificationsRetrieve -func (r ApiExtrasSavedFiltersListRequest) NameN(nameN []string) ApiExtrasSavedFiltersListRequest { - r.nameN = &nameN - return r -} +Get a notification object. -func (r ApiExtrasSavedFiltersListRequest) NameNic(nameNic []string) ApiExtrasSavedFiltersListRequest { - r.nameNic = &nameNic - return r + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id A unique integer value identifying this notification. + @return ApiExtrasNotificationsRetrieveRequest +*/ +func (a *ExtrasAPIService) ExtrasNotificationsRetrieve(ctx context.Context, id int32) ApiExtrasNotificationsRetrieveRequest { + return ApiExtrasNotificationsRetrieveRequest{ + ApiService: a, + ctx: ctx, + id: id, + } } -func (r ApiExtrasSavedFiltersListRequest) NameNie(nameNie []string) ApiExtrasSavedFiltersListRequest { - r.nameNie = &nameNie - return r -} +// Execute executes the request +// +// @return Notification +func (a *ExtrasAPIService) ExtrasNotificationsRetrieveExecute(r ApiExtrasNotificationsRetrieveRequest) (*Notification, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *Notification + ) -func (r ApiExtrasSavedFiltersListRequest) NameNiew(nameNiew []string) ApiExtrasSavedFiltersListRequest { - r.nameNiew = &nameNiew - return r -} + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasNotificationsRetrieve") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } -func (r ApiExtrasSavedFiltersListRequest) NameNisw(nameNisw []string) ApiExtrasSavedFiltersListRequest { - r.nameNisw = &nameNisw - return r -} + localVarPath := localBasePath + "/api/extras/notifications/{id}/" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) -func (r ApiExtrasSavedFiltersListRequest) ObjectType(objectType string) ApiExtrasSavedFiltersListRequest { - r.objectType = &objectType - return r -} + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} -func (r ApiExtrasSavedFiltersListRequest) ObjectTypeIc(objectTypeIc string) ApiExtrasSavedFiltersListRequest { - r.objectTypeIc = &objectTypeIc - return r -} + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} -func (r ApiExtrasSavedFiltersListRequest) ObjectTypeIe(objectTypeIe string) ApiExtrasSavedFiltersListRequest { - r.objectTypeIe = &objectTypeIe - return r -} + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } -func (r ApiExtrasSavedFiltersListRequest) ObjectTypeIew(objectTypeIew string) ApiExtrasSavedFiltersListRequest { - r.objectTypeIew = &objectTypeIew - return r -} + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} -func (r ApiExtrasSavedFiltersListRequest) ObjectTypeIsw(objectTypeIsw string) ApiExtrasSavedFiltersListRequest { - r.objectTypeIsw = &objectTypeIsw - return r -} + // 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 ApiExtrasNotificationsUpdateRequest struct { + ctx context.Context + ApiService *ExtrasAPIService + id int32 + notificationRequest *NotificationRequest +} + +func (r ApiExtrasNotificationsUpdateRequest) NotificationRequest(notificationRequest NotificationRequest) ApiExtrasNotificationsUpdateRequest { + r.notificationRequest = ¬ificationRequest + return r +} + +func (r ApiExtrasNotificationsUpdateRequest) Execute() (*Notification, *http.Response, error) { + return r.ApiService.ExtrasNotificationsUpdateExecute(r) +} + +/* +ExtrasNotificationsUpdate Method for ExtrasNotificationsUpdate + +Put a notification object. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id A unique integer value identifying this notification. + @return ApiExtrasNotificationsUpdateRequest +*/ +func (a *ExtrasAPIService) ExtrasNotificationsUpdate(ctx context.Context, id int32) ApiExtrasNotificationsUpdateRequest { + return ApiExtrasNotificationsUpdateRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// +// @return Notification +func (a *ExtrasAPIService) ExtrasNotificationsUpdateExecute(r ApiExtrasNotificationsUpdateRequest) (*Notification, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *Notification + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasNotificationsUpdate") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/extras/notifications/{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.notificationRequest == nil { + return localVarReturnValue, nil, reportError("notificationRequest is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "multipart/form-data"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.notificationRequest + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["tokenAuth"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + 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 ApiExtrasObjectTypesListRequest struct { + ctx context.Context + ApiService *ExtrasAPIService + appLabel *string + id *int32 + limit *int32 + model *string + offset *int32 + ordering *string + q *string +} + +func (r ApiExtrasObjectTypesListRequest) AppLabel(appLabel string) ApiExtrasObjectTypesListRequest { + r.appLabel = &appLabel + return r +} + +func (r ApiExtrasObjectTypesListRequest) Id(id int32) ApiExtrasObjectTypesListRequest { + r.id = &id + return r +} + +// Number of results to return per page. +func (r ApiExtrasObjectTypesListRequest) Limit(limit int32) ApiExtrasObjectTypesListRequest { + r.limit = &limit + return r +} + +func (r ApiExtrasObjectTypesListRequest) Model(model string) ApiExtrasObjectTypesListRequest { + r.model = &model + return r +} + +// The initial index from which to return the results. +func (r ApiExtrasObjectTypesListRequest) Offset(offset int32) ApiExtrasObjectTypesListRequest { + r.offset = &offset + return r +} + +// Which field to use when ordering the results. +func (r ApiExtrasObjectTypesListRequest) Ordering(ordering string) ApiExtrasObjectTypesListRequest { + r.ordering = &ordering + return r +} + +// Search +func (r ApiExtrasObjectTypesListRequest) Q(q string) ApiExtrasObjectTypesListRequest { + r.q = &q + return r +} + +func (r ApiExtrasObjectTypesListRequest) Execute() (*PaginatedObjectTypeList, *http.Response, error) { + return r.ApiService.ExtrasObjectTypesListExecute(r) +} + +/* +ExtrasObjectTypesList Method for ExtrasObjectTypesList + +Read-only list of ObjectTypes. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiExtrasObjectTypesListRequest +*/ +func (a *ExtrasAPIService) ExtrasObjectTypesList(ctx context.Context) ApiExtrasObjectTypesListRequest { + return ApiExtrasObjectTypesListRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// +// @return PaginatedObjectTypeList +func (a *ExtrasAPIService) ExtrasObjectTypesListExecute(r ApiExtrasObjectTypesListRequest) (*PaginatedObjectTypeList, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *PaginatedObjectTypeList + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasObjectTypesList") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/extras/object-types/" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.appLabel != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "app_label", r.appLabel, "") + } + if r.id != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "id", r.id, "") + } + if r.limit != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "") + } + if r.model != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "model", r.model, "") + } + if r.offset != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "") + } + if r.ordering != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "ordering", r.ordering, "") + } + if r.q != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "") + } + // 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"} + + // 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 ApiExtrasObjectTypesRetrieveRequest struct { + ctx context.Context + ApiService *ExtrasAPIService + id int32 +} + +func (r ApiExtrasObjectTypesRetrieveRequest) Execute() (*ObjectType, *http.Response, error) { + return r.ApiService.ExtrasObjectTypesRetrieveExecute(r) +} + +/* +ExtrasObjectTypesRetrieve Method for ExtrasObjectTypesRetrieve + +Read-only list of ObjectTypes. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id A unique integer value identifying this object type. + @return ApiExtrasObjectTypesRetrieveRequest +*/ +func (a *ExtrasAPIService) ExtrasObjectTypesRetrieve(ctx context.Context, id int32) ApiExtrasObjectTypesRetrieveRequest { + return ApiExtrasObjectTypesRetrieveRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// +// @return ObjectType +func (a *ExtrasAPIService) ExtrasObjectTypesRetrieveExecute(r ApiExtrasObjectTypesRetrieveRequest) (*ObjectType, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ObjectType + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasObjectTypesRetrieve") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/extras/object-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{} + + // 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"} + + // 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 ApiExtrasSavedFiltersBulkDestroyRequest struct { + ctx context.Context + ApiService *ExtrasAPIService + savedFilterRequest *[]SavedFilterRequest +} + +func (r ApiExtrasSavedFiltersBulkDestroyRequest) SavedFilterRequest(savedFilterRequest []SavedFilterRequest) ApiExtrasSavedFiltersBulkDestroyRequest { + r.savedFilterRequest = &savedFilterRequest + return r +} + +func (r ApiExtrasSavedFiltersBulkDestroyRequest) Execute() (*http.Response, error) { + return r.ApiService.ExtrasSavedFiltersBulkDestroyExecute(r) +} + +/* +ExtrasSavedFiltersBulkDestroy Method for ExtrasSavedFiltersBulkDestroy + +Delete a list of saved filter objects. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiExtrasSavedFiltersBulkDestroyRequest +*/ +func (a *ExtrasAPIService) ExtrasSavedFiltersBulkDestroy(ctx context.Context) ApiExtrasSavedFiltersBulkDestroyRequest { + return ApiExtrasSavedFiltersBulkDestroyRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +func (a *ExtrasAPIService) ExtrasSavedFiltersBulkDestroyExecute(r ApiExtrasSavedFiltersBulkDestroyRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasSavedFiltersBulkDestroy") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/extras/saved-filters/" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.savedFilterRequest == nil { + return nil, reportError("savedFilterRequest is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "multipart/form-data"} + + // 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.savedFilterRequest + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["tokenAuth"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + 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 ApiExtrasSavedFiltersBulkPartialUpdateRequest struct { + ctx context.Context + ApiService *ExtrasAPIService + savedFilterRequest *[]SavedFilterRequest +} + +func (r ApiExtrasSavedFiltersBulkPartialUpdateRequest) SavedFilterRequest(savedFilterRequest []SavedFilterRequest) ApiExtrasSavedFiltersBulkPartialUpdateRequest { + r.savedFilterRequest = &savedFilterRequest + return r +} + +func (r ApiExtrasSavedFiltersBulkPartialUpdateRequest) Execute() ([]SavedFilter, *http.Response, error) { + return r.ApiService.ExtrasSavedFiltersBulkPartialUpdateExecute(r) +} + +/* +ExtrasSavedFiltersBulkPartialUpdate Method for ExtrasSavedFiltersBulkPartialUpdate + +Patch a list of saved filter objects. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiExtrasSavedFiltersBulkPartialUpdateRequest +*/ +func (a *ExtrasAPIService) ExtrasSavedFiltersBulkPartialUpdate(ctx context.Context) ApiExtrasSavedFiltersBulkPartialUpdateRequest { + return ApiExtrasSavedFiltersBulkPartialUpdateRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// +// @return []SavedFilter +func (a *ExtrasAPIService) ExtrasSavedFiltersBulkPartialUpdateExecute(r ApiExtrasSavedFiltersBulkPartialUpdateRequest) ([]SavedFilter, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPatch + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []SavedFilter + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasSavedFiltersBulkPartialUpdate") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/extras/saved-filters/" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.savedFilterRequest == nil { + return localVarReturnValue, nil, reportError("savedFilterRequest is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "multipart/form-data"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.savedFilterRequest + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["tokenAuth"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + 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 ApiExtrasSavedFiltersBulkUpdateRequest struct { + ctx context.Context + ApiService *ExtrasAPIService + savedFilterRequest *[]SavedFilterRequest +} + +func (r ApiExtrasSavedFiltersBulkUpdateRequest) SavedFilterRequest(savedFilterRequest []SavedFilterRequest) ApiExtrasSavedFiltersBulkUpdateRequest { + r.savedFilterRequest = &savedFilterRequest + return r +} + +func (r ApiExtrasSavedFiltersBulkUpdateRequest) Execute() ([]SavedFilter, *http.Response, error) { + return r.ApiService.ExtrasSavedFiltersBulkUpdateExecute(r) +} + +/* +ExtrasSavedFiltersBulkUpdate Method for ExtrasSavedFiltersBulkUpdate + +Put a list of saved filter objects. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiExtrasSavedFiltersBulkUpdateRequest +*/ +func (a *ExtrasAPIService) ExtrasSavedFiltersBulkUpdate(ctx context.Context) ApiExtrasSavedFiltersBulkUpdateRequest { + return ApiExtrasSavedFiltersBulkUpdateRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// +// @return []SavedFilter +func (a *ExtrasAPIService) ExtrasSavedFiltersBulkUpdateExecute(r ApiExtrasSavedFiltersBulkUpdateRequest) ([]SavedFilter, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []SavedFilter + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasSavedFiltersBulkUpdate") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/extras/saved-filters/" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.savedFilterRequest == nil { + return localVarReturnValue, nil, reportError("savedFilterRequest is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "multipart/form-data"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.savedFilterRequest + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["tokenAuth"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + 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 ApiExtrasSavedFiltersCreateRequest struct { + ctx context.Context + ApiService *ExtrasAPIService + savedFilterRequest *SavedFilterRequest +} + +func (r ApiExtrasSavedFiltersCreateRequest) SavedFilterRequest(savedFilterRequest SavedFilterRequest) ApiExtrasSavedFiltersCreateRequest { + r.savedFilterRequest = &savedFilterRequest + return r +} + +func (r ApiExtrasSavedFiltersCreateRequest) Execute() (*SavedFilter, *http.Response, error) { + return r.ApiService.ExtrasSavedFiltersCreateExecute(r) +} + +/* +ExtrasSavedFiltersCreate Method for ExtrasSavedFiltersCreate + +Post a list of saved filter objects. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiExtrasSavedFiltersCreateRequest +*/ +func (a *ExtrasAPIService) ExtrasSavedFiltersCreate(ctx context.Context) ApiExtrasSavedFiltersCreateRequest { + return ApiExtrasSavedFiltersCreateRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// +// @return SavedFilter +func (a *ExtrasAPIService) ExtrasSavedFiltersCreateExecute(r ApiExtrasSavedFiltersCreateRequest) (*SavedFilter, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *SavedFilter + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasSavedFiltersCreate") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/extras/saved-filters/" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.savedFilterRequest == nil { + return localVarReturnValue, nil, reportError("savedFilterRequest is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "multipart/form-data"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.savedFilterRequest + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["tokenAuth"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + 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 ApiExtrasSavedFiltersDestroyRequest struct { + ctx context.Context + ApiService *ExtrasAPIService + id int32 +} + +func (r ApiExtrasSavedFiltersDestroyRequest) Execute() (*http.Response, error) { + return r.ApiService.ExtrasSavedFiltersDestroyExecute(r) +} + +/* +ExtrasSavedFiltersDestroy Method for ExtrasSavedFiltersDestroy + +Delete a saved filter object. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id A unique integer value identifying this saved filter. + @return ApiExtrasSavedFiltersDestroyRequest +*/ +func (a *ExtrasAPIService) ExtrasSavedFiltersDestroy(ctx context.Context, id int32) ApiExtrasSavedFiltersDestroyRequest { + return ApiExtrasSavedFiltersDestroyRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +func (a *ExtrasAPIService) ExtrasSavedFiltersDestroyExecute(r ApiExtrasSavedFiltersDestroyRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasSavedFiltersDestroy") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/extras/saved-filters/{id}/" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // 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 ApiExtrasSavedFiltersListRequest struct { + ctx context.Context + ApiService *ExtrasAPIService + created *[]time.Time + createdEmpty *[]time.Time + createdGt *[]time.Time + createdGte *[]time.Time + createdLt *[]time.Time + createdLte *[]time.Time + createdN *[]time.Time + createdByRequest *string + description *[]string + descriptionEmpty *bool + descriptionIc *[]string + descriptionIe *[]string + descriptionIew *[]string + descriptionIsw *[]string + descriptionN *[]string + descriptionNic *[]string + descriptionNie *[]string + descriptionNiew *[]string + descriptionNisw *[]string + enabled *bool + id *[]int32 + idEmpty *bool + idGt *[]int32 + idGte *[]int32 + idLt *[]int32 + idLte *[]int32 + idN *[]int32 + lastUpdated *[]time.Time + lastUpdatedEmpty *[]time.Time + lastUpdatedGt *[]time.Time + lastUpdatedGte *[]time.Time + lastUpdatedLt *[]time.Time + lastUpdatedLte *[]time.Time + lastUpdatedN *[]time.Time + limit *int32 + modifiedByRequest *string + name *[]string + nameEmpty *bool + nameIc *[]string + nameIe *[]string + nameIew *[]string + nameIsw *[]string + nameN *[]string + nameNic *[]string + nameNie *[]string + nameNiew *[]string + nameNisw *[]string + objectType *string + objectTypeIc *string + objectTypeIe *string + objectTypeIew *string + objectTypeIsw *string + objectTypeN *string + objectTypeNic *string + objectTypeNie *string + objectTypeNiew *string + objectTypeNisw *string + objectTypeId *[]int32 + objectTypeIdN *[]int32 + offset *int32 + ordering *string + q *string + shared *bool + slug *[]string + slugEmpty *bool + slugIc *[]string + slugIe *[]string + slugIew *[]string + slugIsw *[]string + slugN *[]string + slugNic *[]string + slugNie *[]string + slugNiew *[]string + slugNisw *[]string + updatedByRequest *string + usable *bool + user *[]string + userN *[]string + userId *[]*int32 + userIdN *[]*int32 + weight *[]int32 + weightEmpty *bool + weightGt *[]int32 + weightGte *[]int32 + weightLt *[]int32 + weightLte *[]int32 + weightN *[]int32 +} + +func (r ApiExtrasSavedFiltersListRequest) Created(created []time.Time) ApiExtrasSavedFiltersListRequest { + r.created = &created + return r +} + +func (r ApiExtrasSavedFiltersListRequest) CreatedEmpty(createdEmpty []time.Time) ApiExtrasSavedFiltersListRequest { + r.createdEmpty = &createdEmpty + return r +} + +func (r ApiExtrasSavedFiltersListRequest) CreatedGt(createdGt []time.Time) ApiExtrasSavedFiltersListRequest { + r.createdGt = &createdGt + return r +} + +func (r ApiExtrasSavedFiltersListRequest) CreatedGte(createdGte []time.Time) ApiExtrasSavedFiltersListRequest { + r.createdGte = &createdGte + return r +} + +func (r ApiExtrasSavedFiltersListRequest) CreatedLt(createdLt []time.Time) ApiExtrasSavedFiltersListRequest { + r.createdLt = &createdLt + return r +} + +func (r ApiExtrasSavedFiltersListRequest) CreatedLte(createdLte []time.Time) ApiExtrasSavedFiltersListRequest { + r.createdLte = &createdLte + return r +} + +func (r ApiExtrasSavedFiltersListRequest) CreatedN(createdN []time.Time) ApiExtrasSavedFiltersListRequest { + r.createdN = &createdN + return r +} + +func (r ApiExtrasSavedFiltersListRequest) CreatedByRequest(createdByRequest string) ApiExtrasSavedFiltersListRequest { + r.createdByRequest = &createdByRequest + return r +} + +func (r ApiExtrasSavedFiltersListRequest) Description(description []string) ApiExtrasSavedFiltersListRequest { + r.description = &description + return r +} + +func (r ApiExtrasSavedFiltersListRequest) DescriptionEmpty(descriptionEmpty bool) ApiExtrasSavedFiltersListRequest { + r.descriptionEmpty = &descriptionEmpty + return r +} + +func (r ApiExtrasSavedFiltersListRequest) DescriptionIc(descriptionIc []string) ApiExtrasSavedFiltersListRequest { + r.descriptionIc = &descriptionIc + return r +} + +func (r ApiExtrasSavedFiltersListRequest) DescriptionIe(descriptionIe []string) ApiExtrasSavedFiltersListRequest { + r.descriptionIe = &descriptionIe + return r +} + +func (r ApiExtrasSavedFiltersListRequest) DescriptionIew(descriptionIew []string) ApiExtrasSavedFiltersListRequest { + r.descriptionIew = &descriptionIew + return r +} + +func (r ApiExtrasSavedFiltersListRequest) DescriptionIsw(descriptionIsw []string) ApiExtrasSavedFiltersListRequest { + r.descriptionIsw = &descriptionIsw + return r +} + +func (r ApiExtrasSavedFiltersListRequest) DescriptionN(descriptionN []string) ApiExtrasSavedFiltersListRequest { + r.descriptionN = &descriptionN + return r +} + +func (r ApiExtrasSavedFiltersListRequest) DescriptionNic(descriptionNic []string) ApiExtrasSavedFiltersListRequest { + r.descriptionNic = &descriptionNic + return r +} + +func (r ApiExtrasSavedFiltersListRequest) DescriptionNie(descriptionNie []string) ApiExtrasSavedFiltersListRequest { + r.descriptionNie = &descriptionNie + return r +} + +func (r ApiExtrasSavedFiltersListRequest) DescriptionNiew(descriptionNiew []string) ApiExtrasSavedFiltersListRequest { + r.descriptionNiew = &descriptionNiew + return r +} + +func (r ApiExtrasSavedFiltersListRequest) DescriptionNisw(descriptionNisw []string) ApiExtrasSavedFiltersListRequest { + r.descriptionNisw = &descriptionNisw + return r +} + +func (r ApiExtrasSavedFiltersListRequest) Enabled(enabled bool) ApiExtrasSavedFiltersListRequest { + r.enabled = &enabled + return r +} + +func (r ApiExtrasSavedFiltersListRequest) Id(id []int32) ApiExtrasSavedFiltersListRequest { + r.id = &id + return r +} + +func (r ApiExtrasSavedFiltersListRequest) IdEmpty(idEmpty bool) ApiExtrasSavedFiltersListRequest { + r.idEmpty = &idEmpty + return r +} + +func (r ApiExtrasSavedFiltersListRequest) IdGt(idGt []int32) ApiExtrasSavedFiltersListRequest { + r.idGt = &idGt + return r +} + +func (r ApiExtrasSavedFiltersListRequest) IdGte(idGte []int32) ApiExtrasSavedFiltersListRequest { + r.idGte = &idGte + return r +} + +func (r ApiExtrasSavedFiltersListRequest) IdLt(idLt []int32) ApiExtrasSavedFiltersListRequest { + r.idLt = &idLt + return r +} + +func (r ApiExtrasSavedFiltersListRequest) IdLte(idLte []int32) ApiExtrasSavedFiltersListRequest { + r.idLte = &idLte + return r +} + +func (r ApiExtrasSavedFiltersListRequest) IdN(idN []int32) ApiExtrasSavedFiltersListRequest { + r.idN = &idN + return r +} + +func (r ApiExtrasSavedFiltersListRequest) LastUpdated(lastUpdated []time.Time) ApiExtrasSavedFiltersListRequest { + r.lastUpdated = &lastUpdated + return r +} + +func (r ApiExtrasSavedFiltersListRequest) LastUpdatedEmpty(lastUpdatedEmpty []time.Time) ApiExtrasSavedFiltersListRequest { + r.lastUpdatedEmpty = &lastUpdatedEmpty + return r +} + +func (r ApiExtrasSavedFiltersListRequest) LastUpdatedGt(lastUpdatedGt []time.Time) ApiExtrasSavedFiltersListRequest { + r.lastUpdatedGt = &lastUpdatedGt + return r +} + +func (r ApiExtrasSavedFiltersListRequest) LastUpdatedGte(lastUpdatedGte []time.Time) ApiExtrasSavedFiltersListRequest { + r.lastUpdatedGte = &lastUpdatedGte + return r +} + +func (r ApiExtrasSavedFiltersListRequest) LastUpdatedLt(lastUpdatedLt []time.Time) ApiExtrasSavedFiltersListRequest { + r.lastUpdatedLt = &lastUpdatedLt + return r +} + +func (r ApiExtrasSavedFiltersListRequest) LastUpdatedLte(lastUpdatedLte []time.Time) ApiExtrasSavedFiltersListRequest { + r.lastUpdatedLte = &lastUpdatedLte + return r +} + +func (r ApiExtrasSavedFiltersListRequest) LastUpdatedN(lastUpdatedN []time.Time) ApiExtrasSavedFiltersListRequest { + r.lastUpdatedN = &lastUpdatedN + return r +} + +// Number of results to return per page. +func (r ApiExtrasSavedFiltersListRequest) Limit(limit int32) ApiExtrasSavedFiltersListRequest { + r.limit = &limit + return r +} + +func (r ApiExtrasSavedFiltersListRequest) ModifiedByRequest(modifiedByRequest string) ApiExtrasSavedFiltersListRequest { + r.modifiedByRequest = &modifiedByRequest + return r +} + +func (r ApiExtrasSavedFiltersListRequest) Name(name []string) ApiExtrasSavedFiltersListRequest { + r.name = &name + return r +} + +func (r ApiExtrasSavedFiltersListRequest) NameEmpty(nameEmpty bool) ApiExtrasSavedFiltersListRequest { + r.nameEmpty = &nameEmpty + return r +} + +func (r ApiExtrasSavedFiltersListRequest) NameIc(nameIc []string) ApiExtrasSavedFiltersListRequest { + r.nameIc = &nameIc + return r +} + +func (r ApiExtrasSavedFiltersListRequest) NameIe(nameIe []string) ApiExtrasSavedFiltersListRequest { + r.nameIe = &nameIe + return r +} + +func (r ApiExtrasSavedFiltersListRequest) NameIew(nameIew []string) ApiExtrasSavedFiltersListRequest { + r.nameIew = &nameIew + return r +} + +func (r ApiExtrasSavedFiltersListRequest) NameIsw(nameIsw []string) ApiExtrasSavedFiltersListRequest { + r.nameIsw = &nameIsw + return r +} + +func (r ApiExtrasSavedFiltersListRequest) NameN(nameN []string) ApiExtrasSavedFiltersListRequest { + r.nameN = &nameN + return r +} + +func (r ApiExtrasSavedFiltersListRequest) NameNic(nameNic []string) ApiExtrasSavedFiltersListRequest { + r.nameNic = &nameNic + return r +} + +func (r ApiExtrasSavedFiltersListRequest) NameNie(nameNie []string) ApiExtrasSavedFiltersListRequest { + r.nameNie = &nameNie + return r +} + +func (r ApiExtrasSavedFiltersListRequest) NameNiew(nameNiew []string) ApiExtrasSavedFiltersListRequest { + r.nameNiew = &nameNiew + return r +} + +func (r ApiExtrasSavedFiltersListRequest) NameNisw(nameNisw []string) ApiExtrasSavedFiltersListRequest { + r.nameNisw = &nameNisw + return r +} + +func (r ApiExtrasSavedFiltersListRequest) ObjectType(objectType string) ApiExtrasSavedFiltersListRequest { + r.objectType = &objectType + return r +} + +func (r ApiExtrasSavedFiltersListRequest) ObjectTypeIc(objectTypeIc string) ApiExtrasSavedFiltersListRequest { + r.objectTypeIc = &objectTypeIc + return r +} + +func (r ApiExtrasSavedFiltersListRequest) ObjectTypeIe(objectTypeIe string) ApiExtrasSavedFiltersListRequest { + r.objectTypeIe = &objectTypeIe + return r +} + +func (r ApiExtrasSavedFiltersListRequest) ObjectTypeIew(objectTypeIew string) ApiExtrasSavedFiltersListRequest { + r.objectTypeIew = &objectTypeIew + return r +} + +func (r ApiExtrasSavedFiltersListRequest) ObjectTypeIsw(objectTypeIsw string) ApiExtrasSavedFiltersListRequest { + r.objectTypeIsw = &objectTypeIsw + return r +} + +func (r ApiExtrasSavedFiltersListRequest) ObjectTypeN(objectTypeN string) ApiExtrasSavedFiltersListRequest { + r.objectTypeN = &objectTypeN + return r +} + +func (r ApiExtrasSavedFiltersListRequest) ObjectTypeNic(objectTypeNic string) ApiExtrasSavedFiltersListRequest { + r.objectTypeNic = &objectTypeNic + return r +} + +func (r ApiExtrasSavedFiltersListRequest) ObjectTypeNie(objectTypeNie string) ApiExtrasSavedFiltersListRequest { + r.objectTypeNie = &objectTypeNie + return r +} + +func (r ApiExtrasSavedFiltersListRequest) ObjectTypeNiew(objectTypeNiew string) ApiExtrasSavedFiltersListRequest { + r.objectTypeNiew = &objectTypeNiew + return r +} + +func (r ApiExtrasSavedFiltersListRequest) ObjectTypeNisw(objectTypeNisw string) ApiExtrasSavedFiltersListRequest { + r.objectTypeNisw = &objectTypeNisw + return r +} + +func (r ApiExtrasSavedFiltersListRequest) ObjectTypeId(objectTypeId []int32) ApiExtrasSavedFiltersListRequest { + r.objectTypeId = &objectTypeId + return r +} + +func (r ApiExtrasSavedFiltersListRequest) ObjectTypeIdN(objectTypeIdN []int32) ApiExtrasSavedFiltersListRequest { + r.objectTypeIdN = &objectTypeIdN + return r +} + +// The initial index from which to return the results. +func (r ApiExtrasSavedFiltersListRequest) Offset(offset int32) ApiExtrasSavedFiltersListRequest { + r.offset = &offset + return r +} + +// Which field to use when ordering the results. +func (r ApiExtrasSavedFiltersListRequest) Ordering(ordering string) ApiExtrasSavedFiltersListRequest { + r.ordering = &ordering + return r +} + +// Search +func (r ApiExtrasSavedFiltersListRequest) Q(q string) ApiExtrasSavedFiltersListRequest { + r.q = &q + return r +} + +func (r ApiExtrasSavedFiltersListRequest) Shared(shared bool) ApiExtrasSavedFiltersListRequest { + r.shared = &shared + return r +} + +func (r ApiExtrasSavedFiltersListRequest) Slug(slug []string) ApiExtrasSavedFiltersListRequest { + r.slug = &slug + return r +} + +func (r ApiExtrasSavedFiltersListRequest) SlugEmpty(slugEmpty bool) ApiExtrasSavedFiltersListRequest { + r.slugEmpty = &slugEmpty + return r +} + +func (r ApiExtrasSavedFiltersListRequest) SlugIc(slugIc []string) ApiExtrasSavedFiltersListRequest { + r.slugIc = &slugIc + return r +} + +func (r ApiExtrasSavedFiltersListRequest) SlugIe(slugIe []string) ApiExtrasSavedFiltersListRequest { + r.slugIe = &slugIe + return r +} + +func (r ApiExtrasSavedFiltersListRequest) SlugIew(slugIew []string) ApiExtrasSavedFiltersListRequest { + r.slugIew = &slugIew + return r +} + +func (r ApiExtrasSavedFiltersListRequest) SlugIsw(slugIsw []string) ApiExtrasSavedFiltersListRequest { + r.slugIsw = &slugIsw + return r +} + +func (r ApiExtrasSavedFiltersListRequest) SlugN(slugN []string) ApiExtrasSavedFiltersListRequest { + r.slugN = &slugN + return r +} + +func (r ApiExtrasSavedFiltersListRequest) SlugNic(slugNic []string) ApiExtrasSavedFiltersListRequest { + r.slugNic = &slugNic + return r +} + +func (r ApiExtrasSavedFiltersListRequest) SlugNie(slugNie []string) ApiExtrasSavedFiltersListRequest { + r.slugNie = &slugNie + return r +} + +func (r ApiExtrasSavedFiltersListRequest) SlugNiew(slugNiew []string) ApiExtrasSavedFiltersListRequest { + r.slugNiew = &slugNiew + return r +} + +func (r ApiExtrasSavedFiltersListRequest) SlugNisw(slugNisw []string) ApiExtrasSavedFiltersListRequest { + r.slugNisw = &slugNisw + return r +} + +func (r ApiExtrasSavedFiltersListRequest) UpdatedByRequest(updatedByRequest string) ApiExtrasSavedFiltersListRequest { + r.updatedByRequest = &updatedByRequest + return r +} + +func (r ApiExtrasSavedFiltersListRequest) Usable(usable bool) ApiExtrasSavedFiltersListRequest { + r.usable = &usable + return r +} + +// User (name) +func (r ApiExtrasSavedFiltersListRequest) User(user []string) ApiExtrasSavedFiltersListRequest { + r.user = &user + return r +} + +// User (name) +func (r ApiExtrasSavedFiltersListRequest) UserN(userN []string) ApiExtrasSavedFiltersListRequest { + r.userN = &userN + return r +} + +// User (ID) +func (r ApiExtrasSavedFiltersListRequest) UserId(userId []*int32) ApiExtrasSavedFiltersListRequest { + r.userId = &userId + return r +} + +// User (ID) +func (r ApiExtrasSavedFiltersListRequest) UserIdN(userIdN []*int32) ApiExtrasSavedFiltersListRequest { + r.userIdN = &userIdN + return r +} + +func (r ApiExtrasSavedFiltersListRequest) Weight(weight []int32) ApiExtrasSavedFiltersListRequest { + r.weight = &weight + return r +} + +func (r ApiExtrasSavedFiltersListRequest) WeightEmpty(weightEmpty bool) ApiExtrasSavedFiltersListRequest { + r.weightEmpty = &weightEmpty + return r +} + +func (r ApiExtrasSavedFiltersListRequest) WeightGt(weightGt []int32) ApiExtrasSavedFiltersListRequest { + r.weightGt = &weightGt + return r +} + +func (r ApiExtrasSavedFiltersListRequest) WeightGte(weightGte []int32) ApiExtrasSavedFiltersListRequest { + r.weightGte = &weightGte + return r +} + +func (r ApiExtrasSavedFiltersListRequest) WeightLt(weightLt []int32) ApiExtrasSavedFiltersListRequest { + r.weightLt = &weightLt + return r +} + +func (r ApiExtrasSavedFiltersListRequest) WeightLte(weightLte []int32) ApiExtrasSavedFiltersListRequest { + r.weightLte = &weightLte + return r +} + +func (r ApiExtrasSavedFiltersListRequest) WeightN(weightN []int32) ApiExtrasSavedFiltersListRequest { + r.weightN = &weightN + return r +} + +func (r ApiExtrasSavedFiltersListRequest) Execute() (*PaginatedSavedFilterList, *http.Response, error) { + return r.ApiService.ExtrasSavedFiltersListExecute(r) +} + +/* +ExtrasSavedFiltersList Method for ExtrasSavedFiltersList + +Get a list of saved filter objects. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiExtrasSavedFiltersListRequest +*/ +func (a *ExtrasAPIService) ExtrasSavedFiltersList(ctx context.Context) ApiExtrasSavedFiltersListRequest { + return ApiExtrasSavedFiltersListRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// +// @return PaginatedSavedFilterList +func (a *ExtrasAPIService) ExtrasSavedFiltersListExecute(r ApiExtrasSavedFiltersListRequest) (*PaginatedSavedFilterList, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *PaginatedSavedFilterList + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasSavedFiltersList") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/extras/saved-filters/" + + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "created", t, "multi") + } + } + if r.createdEmpty != nil { + t := *r.createdEmpty + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "created__empty", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "created__empty", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "created__gt", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "created__gte", t, "multi") + } + } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "created__lt", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "created__lte", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", t, "multi") + } + } + if r.createdByRequest != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "created_by_request", r.createdByRequest, "") + } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "description", t, "multi") + } + } + if r.descriptionEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "description__empty", r.descriptionEmpty, "") + } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "description__ic", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "description__ie", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "description__iew", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "description__isw", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "description__n", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "description__nic", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "description__nie", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "description__niew", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "description__nisw", t, "multi") + } + } + if r.enabled != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "enabled", r.enabled, "") + } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "multi") + } + } + if r.idEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "id__empty", r.idEmpty, "") + } + if r.idGt != nil { + t := *r.idGt + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "id__gt", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "id__gt", t, "multi") + } + } + if r.idGte != nil { + t := *r.idGte + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "id__gte", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "id__gte", t, "multi") + } + } + if r.idLt != nil { + t := *r.idLt + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "id__lt", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "id__lt", t, "multi") + } + } + if r.idLte != nil { + t := *r.idLte + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "id__lte", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "id__lte", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", t, "multi") + } + } + if r.lastUpdatedEmpty != nil { + t := *r.lastUpdatedEmpty + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__empty", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__empty", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gt", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gte", t, "multi") + } + } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lt", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lte", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__n", t, "multi") + } + } + if r.limit != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "") + } + if r.modifiedByRequest != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "modified_by_request", r.modifiedByRequest, "") + } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "name", t, "multi") + } + } + if r.nameEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "name__empty", r.nameEmpty, "") + } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "name__ic", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "name__ie", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "name__iew", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "name__isw", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "name__n", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "name__nic", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "name__nie", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "name__niew", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "name__nisw", t, "multi") + } + } + if r.objectType != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "object_type", r.objectType, "") + } + if r.objectTypeIc != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "object_type__ic", r.objectTypeIc, "") + } + if r.objectTypeIe != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "object_type__ie", r.objectTypeIe, "") + } + if r.objectTypeIew != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "object_type__iew", r.objectTypeIew, "") + } + if r.objectTypeIsw != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "object_type__isw", r.objectTypeIsw, "") + } + if r.objectTypeN != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "object_type__n", r.objectTypeN, "") + } + if r.objectTypeNic != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "object_type__nic", r.objectTypeNic, "") + } + if r.objectTypeNie != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "object_type__nie", r.objectTypeNie, "") + } + if r.objectTypeNiew != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "object_type__niew", r.objectTypeNiew, "") + } + if r.objectTypeNisw != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "object_type__nisw", r.objectTypeNisw, "") + } + if r.objectTypeId != nil { + t := *r.objectTypeId + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "object_type_id", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "object_type_id", t, "multi") + } + } + if r.objectTypeIdN != nil { + t := *r.objectTypeIdN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "object_type_id__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "object_type_id__n", t, "multi") + } + } + if r.offset != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "") + } + if r.ordering != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "ordering", r.ordering, "") + } + if r.q != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "") + } + if r.shared != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "shared", r.shared, "") + } + if r.slug != nil { + t := *r.slug + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug", t, "multi") + } + } + if r.slugEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__empty", r.slugEmpty, "") + } + if r.slugIc != nil { + t := *r.slugIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__ic", t, "multi") + } + } + if r.slugIe != nil { + t := *r.slugIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__ie", t, "multi") + } + } + if r.slugIew != nil { + t := *r.slugIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__iew", t, "multi") + } + } + if r.slugIsw != nil { + t := *r.slugIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__isw", t, "multi") + } + } + if r.slugN != nil { + t := *r.slugN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__n", t, "multi") + } + } + if r.slugNic != nil { + t := *r.slugNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__nic", t, "multi") + } + } + if r.slugNie != nil { + t := *r.slugNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__nie", t, "multi") + } + } + if r.slugNiew != nil { + t := *r.slugNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__niew", t, "multi") + } + } + if r.slugNisw != nil { + t := *r.slugNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "slug__nisw", t, "multi") + } + } + if r.updatedByRequest != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "updated_by_request", r.updatedByRequest, "") + } + if r.usable != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "usable", r.usable, "") + } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "user", t, "multi") + } + } + 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, "user__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "user__n", t, "multi") + } + } + if r.userId != nil { + t := *r.userId + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "user_id", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "user_id", t, "multi") + } + } + if r.userIdN != nil { + t := *r.userIdN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "user_id__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "user_id__n", t, "multi") + } + } + if r.weight != nil { + t := *r.weight + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "weight", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "weight", t, "multi") + } + } + if r.weightEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "weight__empty", r.weightEmpty, "") + } + if r.weightGt != nil { + t := *r.weightGt + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "weight__gt", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "weight__gt", t, "multi") + } + } + if r.weightGte != nil { + t := *r.weightGte + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "weight__gte", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "weight__gte", t, "multi") + } + } + if r.weightLt != nil { + t := *r.weightLt + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "weight__lt", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "weight__lt", t, "multi") + } + } + if r.weightLte != nil { + t := *r.weightLte + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "weight__lte", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "weight__lte", t, "multi") + } + } + if r.weightN != nil { + t := *r.weightN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "weight__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "weight__n", t, "multi") + } + } + // 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"} + + // 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 ApiExtrasSavedFiltersPartialUpdateRequest struct { + ctx context.Context + ApiService *ExtrasAPIService + id int32 + patchedSavedFilterRequest *PatchedSavedFilterRequest +} + +func (r ApiExtrasSavedFiltersPartialUpdateRequest) PatchedSavedFilterRequest(patchedSavedFilterRequest PatchedSavedFilterRequest) ApiExtrasSavedFiltersPartialUpdateRequest { + r.patchedSavedFilterRequest = &patchedSavedFilterRequest + return r +} + +func (r ApiExtrasSavedFiltersPartialUpdateRequest) Execute() (*SavedFilter, *http.Response, error) { + return r.ApiService.ExtrasSavedFiltersPartialUpdateExecute(r) +} + +/* +ExtrasSavedFiltersPartialUpdate Method for ExtrasSavedFiltersPartialUpdate + +Patch a saved filter object. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id A unique integer value identifying this saved filter. + @return ApiExtrasSavedFiltersPartialUpdateRequest +*/ +func (a *ExtrasAPIService) ExtrasSavedFiltersPartialUpdate(ctx context.Context, id int32) ApiExtrasSavedFiltersPartialUpdateRequest { + return ApiExtrasSavedFiltersPartialUpdateRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// +// @return SavedFilter +func (a *ExtrasAPIService) ExtrasSavedFiltersPartialUpdateExecute(r ApiExtrasSavedFiltersPartialUpdateRequest) (*SavedFilter, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPatch + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *SavedFilter + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasSavedFiltersPartialUpdate") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/extras/saved-filters/{id}/" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "multipart/form-data"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.patchedSavedFilterRequest + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["tokenAuth"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + 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 ApiExtrasSavedFiltersRetrieveRequest struct { + ctx context.Context + ApiService *ExtrasAPIService + id int32 +} + +func (r ApiExtrasSavedFiltersRetrieveRequest) Execute() (*SavedFilter, *http.Response, error) { + return r.ApiService.ExtrasSavedFiltersRetrieveExecute(r) +} + +/* +ExtrasSavedFiltersRetrieve Method for ExtrasSavedFiltersRetrieve + +Get a saved filter object. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id A unique integer value identifying this saved filter. + @return ApiExtrasSavedFiltersRetrieveRequest +*/ +func (a *ExtrasAPIService) ExtrasSavedFiltersRetrieve(ctx context.Context, id int32) ApiExtrasSavedFiltersRetrieveRequest { + return ApiExtrasSavedFiltersRetrieveRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// +// @return SavedFilter +func (a *ExtrasAPIService) ExtrasSavedFiltersRetrieveExecute(r ApiExtrasSavedFiltersRetrieveRequest) (*SavedFilter, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *SavedFilter + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasSavedFiltersRetrieve") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/extras/saved-filters/{id}/" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // 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"} + + // 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 ApiExtrasSavedFiltersUpdateRequest struct { + ctx context.Context + ApiService *ExtrasAPIService + id int32 + savedFilterRequest *SavedFilterRequest +} + +func (r ApiExtrasSavedFiltersUpdateRequest) SavedFilterRequest(savedFilterRequest SavedFilterRequest) ApiExtrasSavedFiltersUpdateRequest { + r.savedFilterRequest = &savedFilterRequest + return r +} + +func (r ApiExtrasSavedFiltersUpdateRequest) Execute() (*SavedFilter, *http.Response, error) { + return r.ApiService.ExtrasSavedFiltersUpdateExecute(r) +} + +/* +ExtrasSavedFiltersUpdate Method for ExtrasSavedFiltersUpdate + +Put a saved filter object. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id A unique integer value identifying this saved filter. + @return ApiExtrasSavedFiltersUpdateRequest +*/ +func (a *ExtrasAPIService) ExtrasSavedFiltersUpdate(ctx context.Context, id int32) ApiExtrasSavedFiltersUpdateRequest { + return ApiExtrasSavedFiltersUpdateRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// +// @return SavedFilter +func (a *ExtrasAPIService) ExtrasSavedFiltersUpdateExecute(r ApiExtrasSavedFiltersUpdateRequest) (*SavedFilter, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *SavedFilter + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasSavedFiltersUpdate") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/extras/saved-filters/{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.savedFilterRequest == nil { + return localVarReturnValue, nil, reportError("savedFilterRequest is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "multipart/form-data"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.savedFilterRequest + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["tokenAuth"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + 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 ApiExtrasScriptsCreateRequest struct { + ctx context.Context + ApiService *ExtrasAPIService +} + +func (r ApiExtrasScriptsCreateRequest) Execute() (*Script, *http.Response, error) { + return r.ApiService.ExtrasScriptsCreateExecute(r) +} + +/* +ExtrasScriptsCreate Method for ExtrasScriptsCreate + +Post a list of script objects. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiExtrasScriptsCreateRequest +*/ +func (a *ExtrasAPIService) ExtrasScriptsCreate(ctx context.Context) ApiExtrasScriptsCreateRequest { + return ApiExtrasScriptsCreateRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// +// @return Script +func (a *ExtrasAPIService) ExtrasScriptsCreateExecute(r ApiExtrasScriptsCreateRequest) (*Script, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *Script + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasScriptsCreate") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/extras/scripts/" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // 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"} + + // 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 ApiExtrasScriptsDestroyRequest struct { + ctx context.Context + ApiService *ExtrasAPIService + id string +} + +func (r ApiExtrasScriptsDestroyRequest) Execute() (*http.Response, error) { + return r.ApiService.ExtrasScriptsDestroyExecute(r) +} + +/* +ExtrasScriptsDestroy Method for ExtrasScriptsDestroy + +Delete a script object. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiExtrasScriptsDestroyRequest +*/ +func (a *ExtrasAPIService) ExtrasScriptsDestroy(ctx context.Context, id string) ApiExtrasScriptsDestroyRequest { + return ApiExtrasScriptsDestroyRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +func (a *ExtrasAPIService) ExtrasScriptsDestroyExecute(r ApiExtrasScriptsDestroyRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasScriptsDestroy") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } -func (r ApiExtrasSavedFiltersListRequest) ObjectTypeN(objectTypeN string) ApiExtrasSavedFiltersListRequest { - r.objectTypeN = &objectTypeN - return r -} + localVarPath := localBasePath + "/api/extras/scripts/{id}/" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) -func (r ApiExtrasSavedFiltersListRequest) ObjectTypeNic(objectTypeNic string) ApiExtrasSavedFiltersListRequest { - r.objectTypeNic = &objectTypeNic - return r -} + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} -func (r ApiExtrasSavedFiltersListRequest) ObjectTypeNie(objectTypeNie string) ApiExtrasSavedFiltersListRequest { - r.objectTypeNie = &objectTypeNie - return r -} + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} -func (r ApiExtrasSavedFiltersListRequest) ObjectTypeNiew(objectTypeNiew string) ApiExtrasSavedFiltersListRequest { - r.objectTypeNiew = &objectTypeNiew - return r -} + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } -func (r ApiExtrasSavedFiltersListRequest) ObjectTypeNisw(objectTypeNisw string) ApiExtrasSavedFiltersListRequest { - r.objectTypeNisw = &objectTypeNisw - return r -} + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} -func (r ApiExtrasSavedFiltersListRequest) ObjectTypeId(objectTypeId []int32) ApiExtrasSavedFiltersListRequest { - r.objectTypeId = &objectTypeId - return r -} + // 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 + } -func (r ApiExtrasSavedFiltersListRequest) ObjectTypeIdN(objectTypeIdN []int32) ApiExtrasSavedFiltersListRequest { - r.objectTypeIdN = &objectTypeIdN - return r -} + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } -// The initial index from which to return the results. -func (r ApiExtrasSavedFiltersListRequest) Offset(offset int32) ApiExtrasSavedFiltersListRequest { - r.offset = &offset - return r -} + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } -// Which field to use when ordering the results. -func (r ApiExtrasSavedFiltersListRequest) Ordering(ordering string) ApiExtrasSavedFiltersListRequest { - r.ordering = &ordering - return r + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil } -// Search -func (r ApiExtrasSavedFiltersListRequest) Q(q string) ApiExtrasSavedFiltersListRequest { - r.q = &q - return r +type ApiExtrasScriptsListRequest struct { + ctx context.Context + ApiService *ExtrasAPIService + id *[]int32 + idEmpty *bool + idGt *[]int32 + idGte *[]int32 + idLt *[]int32 + idLte *[]int32 + idN *[]int32 + isExecutable *bool + limit *int32 + moduleId *[]int32 + moduleIdN *[]int32 + name *[]string + nameEmpty *bool + nameIc *[]string + nameIe *[]string + nameIew *[]string + nameIsw *[]string + nameN *[]string + nameNic *[]string + nameNie *[]string + nameNiew *[]string + nameNisw *[]string + offset *int32 + ordering *string + q *string } -func (r ApiExtrasSavedFiltersListRequest) Shared(shared bool) ApiExtrasSavedFiltersListRequest { - r.shared = &shared +func (r ApiExtrasScriptsListRequest) Id(id []int32) ApiExtrasScriptsListRequest { + r.id = &id return r } -func (r ApiExtrasSavedFiltersListRequest) Slug(slug []string) ApiExtrasSavedFiltersListRequest { - r.slug = &slug +func (r ApiExtrasScriptsListRequest) IdEmpty(idEmpty bool) ApiExtrasScriptsListRequest { + r.idEmpty = &idEmpty return r } -func (r ApiExtrasSavedFiltersListRequest) SlugEmpty(slugEmpty bool) ApiExtrasSavedFiltersListRequest { - r.slugEmpty = &slugEmpty +func (r ApiExtrasScriptsListRequest) IdGt(idGt []int32) ApiExtrasScriptsListRequest { + r.idGt = &idGt return r } -func (r ApiExtrasSavedFiltersListRequest) SlugIc(slugIc []string) ApiExtrasSavedFiltersListRequest { - r.slugIc = &slugIc +func (r ApiExtrasScriptsListRequest) IdGte(idGte []int32) ApiExtrasScriptsListRequest { + r.idGte = &idGte return r } -func (r ApiExtrasSavedFiltersListRequest) SlugIe(slugIe []string) ApiExtrasSavedFiltersListRequest { - r.slugIe = &slugIe +func (r ApiExtrasScriptsListRequest) IdLt(idLt []int32) ApiExtrasScriptsListRequest { + r.idLt = &idLt return r } -func (r ApiExtrasSavedFiltersListRequest) SlugIew(slugIew []string) ApiExtrasSavedFiltersListRequest { - r.slugIew = &slugIew +func (r ApiExtrasScriptsListRequest) IdLte(idLte []int32) ApiExtrasScriptsListRequest { + r.idLte = &idLte return r } -func (r ApiExtrasSavedFiltersListRequest) SlugIsw(slugIsw []string) ApiExtrasSavedFiltersListRequest { - r.slugIsw = &slugIsw +func (r ApiExtrasScriptsListRequest) IdN(idN []int32) ApiExtrasScriptsListRequest { + r.idN = &idN return r } -func (r ApiExtrasSavedFiltersListRequest) SlugN(slugN []string) ApiExtrasSavedFiltersListRequest { - r.slugN = &slugN +func (r ApiExtrasScriptsListRequest) IsExecutable(isExecutable bool) ApiExtrasScriptsListRequest { + r.isExecutable = &isExecutable return r } -func (r ApiExtrasSavedFiltersListRequest) SlugNic(slugNic []string) ApiExtrasSavedFiltersListRequest { - r.slugNic = &slugNic +// Number of results to return per page. +func (r ApiExtrasScriptsListRequest) Limit(limit int32) ApiExtrasScriptsListRequest { + r.limit = &limit return r } -func (r ApiExtrasSavedFiltersListRequest) SlugNie(slugNie []string) ApiExtrasSavedFiltersListRequest { - r.slugNie = &slugNie +// Script module (ID) +func (r ApiExtrasScriptsListRequest) ModuleId(moduleId []int32) ApiExtrasScriptsListRequest { + r.moduleId = &moduleId return r } -func (r ApiExtrasSavedFiltersListRequest) SlugNiew(slugNiew []string) ApiExtrasSavedFiltersListRequest { - r.slugNiew = &slugNiew +// Script module (ID) +func (r ApiExtrasScriptsListRequest) ModuleIdN(moduleIdN []int32) ApiExtrasScriptsListRequest { + r.moduleIdN = &moduleIdN return r } -func (r ApiExtrasSavedFiltersListRequest) SlugNisw(slugNisw []string) ApiExtrasSavedFiltersListRequest { - r.slugNisw = &slugNisw +func (r ApiExtrasScriptsListRequest) Name(name []string) ApiExtrasScriptsListRequest { + r.name = &name return r } -func (r ApiExtrasSavedFiltersListRequest) UpdatedByRequest(updatedByRequest string) ApiExtrasSavedFiltersListRequest { - r.updatedByRequest = &updatedByRequest +func (r ApiExtrasScriptsListRequest) NameEmpty(nameEmpty bool) ApiExtrasScriptsListRequest { + r.nameEmpty = &nameEmpty return r } -func (r ApiExtrasSavedFiltersListRequest) Usable(usable bool) ApiExtrasSavedFiltersListRequest { - r.usable = &usable +func (r ApiExtrasScriptsListRequest) NameIc(nameIc []string) ApiExtrasScriptsListRequest { + r.nameIc = &nameIc return r } -// User (name) -func (r ApiExtrasSavedFiltersListRequest) User(user []string) ApiExtrasSavedFiltersListRequest { - r.user = &user +func (r ApiExtrasScriptsListRequest) NameIe(nameIe []string) ApiExtrasScriptsListRequest { + r.nameIe = &nameIe return r } -// User (name) -func (r ApiExtrasSavedFiltersListRequest) UserN(userN []string) ApiExtrasSavedFiltersListRequest { - r.userN = &userN +func (r ApiExtrasScriptsListRequest) NameIew(nameIew []string) ApiExtrasScriptsListRequest { + r.nameIew = &nameIew return r } -// User (ID) -func (r ApiExtrasSavedFiltersListRequest) UserId(userId []*int32) ApiExtrasSavedFiltersListRequest { - r.userId = &userId +func (r ApiExtrasScriptsListRequest) NameIsw(nameIsw []string) ApiExtrasScriptsListRequest { + r.nameIsw = &nameIsw return r } -// User (ID) -func (r ApiExtrasSavedFiltersListRequest) UserIdN(userIdN []*int32) ApiExtrasSavedFiltersListRequest { - r.userIdN = &userIdN +func (r ApiExtrasScriptsListRequest) NameN(nameN []string) ApiExtrasScriptsListRequest { + r.nameN = &nameN return r } -func (r ApiExtrasSavedFiltersListRequest) Weight(weight []int32) ApiExtrasSavedFiltersListRequest { - r.weight = &weight +func (r ApiExtrasScriptsListRequest) NameNic(nameNic []string) ApiExtrasScriptsListRequest { + r.nameNic = &nameNic return r } -func (r ApiExtrasSavedFiltersListRequest) WeightEmpty(weightEmpty bool) ApiExtrasSavedFiltersListRequest { - r.weightEmpty = &weightEmpty +func (r ApiExtrasScriptsListRequest) NameNie(nameNie []string) ApiExtrasScriptsListRequest { + r.nameNie = &nameNie return r } -func (r ApiExtrasSavedFiltersListRequest) WeightGt(weightGt []int32) ApiExtrasSavedFiltersListRequest { - r.weightGt = &weightGt +func (r ApiExtrasScriptsListRequest) NameNiew(nameNiew []string) ApiExtrasScriptsListRequest { + r.nameNiew = &nameNiew return r } -func (r ApiExtrasSavedFiltersListRequest) WeightGte(weightGte []int32) ApiExtrasSavedFiltersListRequest { - r.weightGte = &weightGte +func (r ApiExtrasScriptsListRequest) NameNisw(nameNisw []string) ApiExtrasScriptsListRequest { + r.nameNisw = &nameNisw return r } -func (r ApiExtrasSavedFiltersListRequest) WeightLt(weightLt []int32) ApiExtrasSavedFiltersListRequest { - r.weightLt = &weightLt +// The initial index from which to return the results. +func (r ApiExtrasScriptsListRequest) Offset(offset int32) ApiExtrasScriptsListRequest { + r.offset = &offset return r } -func (r ApiExtrasSavedFiltersListRequest) WeightLte(weightLte []int32) ApiExtrasSavedFiltersListRequest { - r.weightLte = &weightLte +// Which field to use when ordering the results. +func (r ApiExtrasScriptsListRequest) Ordering(ordering string) ApiExtrasScriptsListRequest { + r.ordering = &ordering return r } -func (r ApiExtrasSavedFiltersListRequest) WeightN(weightN []int32) ApiExtrasSavedFiltersListRequest { - r.weightN = &weightN +// Search +func (r ApiExtrasScriptsListRequest) Q(q string) ApiExtrasScriptsListRequest { + r.q = &q return r } -func (r ApiExtrasSavedFiltersListRequest) Execute() (*PaginatedSavedFilterList, *http.Response, error) { - return r.ApiService.ExtrasSavedFiltersListExecute(r) +func (r ApiExtrasScriptsListRequest) Execute() (*PaginatedScriptList, *http.Response, error) { + return r.ApiService.ExtrasScriptsListExecute(r) } /* -ExtrasSavedFiltersList Method for ExtrasSavedFiltersList +ExtrasScriptsList Method for ExtrasScriptsList -Get a list of saved filter objects. +Get a list of script objects. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiExtrasSavedFiltersListRequest + @return ApiExtrasScriptsListRequest */ -func (a *ExtrasAPIService) ExtrasSavedFiltersList(ctx context.Context) ApiExtrasSavedFiltersListRequest { - return ApiExtrasSavedFiltersListRequest{ +func (a *ExtrasAPIService) ExtrasScriptsList(ctx context.Context) ApiExtrasScriptsListRequest { + return ApiExtrasScriptsListRequest{ ApiService: a, ctx: ctx, } @@ -26387,222 +29397,26 @@ func (a *ExtrasAPIService) ExtrasSavedFiltersList(ctx context.Context) ApiExtras // Execute executes the request // -// @return PaginatedSavedFilterList -func (a *ExtrasAPIService) ExtrasSavedFiltersListExecute(r ApiExtrasSavedFiltersListRequest) (*PaginatedSavedFilterList, *http.Response, error) { +// @return PaginatedScriptList +func (a *ExtrasAPIService) ExtrasScriptsListExecute(r ApiExtrasScriptsListRequest) (*PaginatedScriptList, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *PaginatedSavedFilterList + localVarReturnValue *PaginatedScriptList ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasSavedFiltersList") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasScriptsList") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/api/extras/saved-filters/" + localVarPath := localBasePath + "/api/extras/scripts/" 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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "created", t, "multi") - } - } - if r.createdEmpty != nil { - t := *r.createdEmpty - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "created__empty", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "created__empty", t, "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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "created__gt", t, "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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "created__gte", t, "multi") - } - } - 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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "created__lt", t, "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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "created__lte", t, "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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", t, "multi") - } - } - if r.createdByRequest != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "created_by_request", r.createdByRequest, "") - } - 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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "description", t, "multi") - } - } - if r.descriptionEmpty != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "description__empty", r.descriptionEmpty, "") - } - 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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "description__ic", t, "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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "description__ie", t, "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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "description__iew", t, "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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "description__isw", t, "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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "description__n", t, "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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "description__nic", t, "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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "description__nie", t, "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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "description__niew", t, "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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "description__nisw", t, "multi") - } - } - if r.enabled != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "enabled", r.enabled, "") - } if r.id != nil { t := *r.id if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -26672,89 +29486,34 @@ func (a *ExtrasAPIService) ExtrasSavedFiltersListExecute(r ApiExtrasSavedFilters parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", t, "multi") - } - } - if r.lastUpdatedEmpty != nil { - t := *r.lastUpdatedEmpty - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__empty", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__empty", t, "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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gt", t, "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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gte", t, "multi") - } - } - 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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lt", t, "multi") - } - } - if r.lastUpdatedLte != nil { - t := *r.lastUpdatedLte + if r.isExecutable != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "is_executable", r.isExecutable, "") + } + if r.limit != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "") + } + if r.moduleId != nil { + t := *r.moduleId 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(), "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "module_id", s.Index(i).Interface(), "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lte", t, "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "module_id", t, "multi") } } - if r.lastUpdatedN != nil { - t := *r.lastUpdatedN + if r.moduleIdN != nil { + t := *r.moduleIdN 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(), "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "module_id__n", s.Index(i).Interface(), "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__n", t, "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "module_id__n", t, "multi") } } - if r.limit != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "") - } - if r.modifiedByRequest != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "modified_by_request", r.modifiedByRequest, "") - } if r.name != nil { t := *r.name if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -26868,58 +29627,6 @@ func (a *ExtrasAPIService) ExtrasSavedFiltersListExecute(r ApiExtrasSavedFilters parameterAddToHeaderOrQuery(localVarQueryParams, "name__nisw", t, "multi") } } - if r.objectType != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "object_type", r.objectType, "") - } - if r.objectTypeIc != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "object_type__ic", r.objectTypeIc, "") - } - if r.objectTypeIe != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "object_type__ie", r.objectTypeIe, "") - } - if r.objectTypeIew != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "object_type__iew", r.objectTypeIew, "") - } - if r.objectTypeIsw != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "object_type__isw", r.objectTypeIsw, "") - } - if r.objectTypeN != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "object_type__n", r.objectTypeN, "") - } - if r.objectTypeNic != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "object_type__nic", r.objectTypeNic, "") - } - if r.objectTypeNie != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "object_type__nie", r.objectTypeNie, "") - } - if r.objectTypeNiew != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "object_type__niew", r.objectTypeNiew, "") - } - if r.objectTypeNisw != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "object_type__nisw", r.objectTypeNisw, "") - } - if r.objectTypeId != nil { - t := *r.objectTypeId - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "object_type_id", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "object_type_id", t, "multi") - } - } - if r.objectTypeIdN != nil { - t := *r.objectTypeIdN - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "object_type_id__n", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "object_type_id__n", t, "multi") - } - } if r.offset != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "") } @@ -26929,241 +29636,6 @@ func (a *ExtrasAPIService) ExtrasSavedFiltersListExecute(r ApiExtrasSavedFilters if r.q != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "") } - if r.shared != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "shared", r.shared, "") - } - if r.slug != nil { - t := *r.slug - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "slug", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "slug", t, "multi") - } - } - if r.slugEmpty != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "slug__empty", r.slugEmpty, "") - } - if r.slugIc != nil { - t := *r.slugIc - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "slug__ic", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "slug__ic", t, "multi") - } - } - if r.slugIe != nil { - t := *r.slugIe - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "slug__ie", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "slug__ie", t, "multi") - } - } - if r.slugIew != nil { - t := *r.slugIew - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "slug__iew", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "slug__iew", t, "multi") - } - } - if r.slugIsw != nil { - t := *r.slugIsw - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "slug__isw", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "slug__isw", t, "multi") - } - } - if r.slugN != nil { - t := *r.slugN - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "slug__n", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "slug__n", t, "multi") - } - } - if r.slugNic != nil { - t := *r.slugNic - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "slug__nic", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "slug__nic", t, "multi") - } - } - if r.slugNie != nil { - t := *r.slugNie - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "slug__nie", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "slug__nie", t, "multi") - } - } - if r.slugNiew != nil { - t := *r.slugNiew - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "slug__niew", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "slug__niew", t, "multi") - } - } - if r.slugNisw != nil { - t := *r.slugNisw - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "slug__nisw", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "slug__nisw", t, "multi") - } - } - if r.updatedByRequest != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "updated_by_request", r.updatedByRequest, "") - } - if r.usable != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "usable", r.usable, "") - } - 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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "user", t, "multi") - } - } - 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, "user__n", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "user__n", t, "multi") - } - } - if r.userId != nil { - t := *r.userId - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "user_id", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "user_id", t, "multi") - } - } - if r.userIdN != nil { - t := *r.userIdN - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "user_id__n", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "user_id__n", t, "multi") - } - } - if r.weight != nil { - t := *r.weight - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "weight", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "weight", t, "multi") - } - } - if r.weightEmpty != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "weight__empty", r.weightEmpty, "") - } - if r.weightGt != nil { - t := *r.weightGt - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "weight__gt", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "weight__gt", t, "multi") - } - } - if r.weightGte != nil { - t := *r.weightGte - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "weight__gte", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "weight__gte", t, "multi") - } - } - if r.weightLt != nil { - t := *r.weightLt - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "weight__lt", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "weight__lt", t, "multi") - } - } - if r.weightLte != nil { - t := *r.weightLte - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "weight__lte", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "weight__lte", t, "multi") - } - } - if r.weightN != nil { - t := *r.weightN - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "weight__n", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "weight__n", t, "multi") - } - } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -27232,33 +29704,33 @@ func (a *ExtrasAPIService) ExtrasSavedFiltersListExecute(r ApiExtrasSavedFilters return localVarReturnValue, localVarHTTPResponse, nil } -type ApiExtrasSavedFiltersPartialUpdateRequest struct { +type ApiExtrasScriptsPartialUpdateRequest struct { ctx context.Context ApiService *ExtrasAPIService - id int32 - patchedSavedFilterRequest *PatchedSavedFilterRequest + id string + patchedScriptInputRequest *PatchedScriptInputRequest } -func (r ApiExtrasSavedFiltersPartialUpdateRequest) PatchedSavedFilterRequest(patchedSavedFilterRequest PatchedSavedFilterRequest) ApiExtrasSavedFiltersPartialUpdateRequest { - r.patchedSavedFilterRequest = &patchedSavedFilterRequest +func (r ApiExtrasScriptsPartialUpdateRequest) PatchedScriptInputRequest(patchedScriptInputRequest PatchedScriptInputRequest) ApiExtrasScriptsPartialUpdateRequest { + r.patchedScriptInputRequest = &patchedScriptInputRequest return r } -func (r ApiExtrasSavedFiltersPartialUpdateRequest) Execute() (*SavedFilter, *http.Response, error) { - return r.ApiService.ExtrasSavedFiltersPartialUpdateExecute(r) +func (r ApiExtrasScriptsPartialUpdateRequest) Execute() (*Script, *http.Response, error) { + return r.ApiService.ExtrasScriptsPartialUpdateExecute(r) } /* -ExtrasSavedFiltersPartialUpdate Method for ExtrasSavedFiltersPartialUpdate +ExtrasScriptsPartialUpdate Method for ExtrasScriptsPartialUpdate -Patch a saved filter object. +Patch a script object. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param id A unique integer value identifying this saved filter. - @return ApiExtrasSavedFiltersPartialUpdateRequest + @param id + @return ApiExtrasScriptsPartialUpdateRequest */ -func (a *ExtrasAPIService) ExtrasSavedFiltersPartialUpdate(ctx context.Context, id int32) ApiExtrasSavedFiltersPartialUpdateRequest { - return ApiExtrasSavedFiltersPartialUpdateRequest{ +func (a *ExtrasAPIService) ExtrasScriptsPartialUpdate(ctx context.Context, id string) ApiExtrasScriptsPartialUpdateRequest { + return ApiExtrasScriptsPartialUpdateRequest{ ApiService: a, ctx: ctx, id: id, @@ -27267,21 +29739,21 @@ func (a *ExtrasAPIService) ExtrasSavedFiltersPartialUpdate(ctx context.Context, // Execute executes the request // -// @return SavedFilter -func (a *ExtrasAPIService) ExtrasSavedFiltersPartialUpdateExecute(r ApiExtrasSavedFiltersPartialUpdateRequest) (*SavedFilter, *http.Response, error) { +// @return Script +func (a *ExtrasAPIService) ExtrasScriptsPartialUpdateExecute(r ApiExtrasScriptsPartialUpdateRequest) (*Script, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPatch localVarPostBody interface{} formFiles []formFile - localVarReturnValue *SavedFilter + localVarReturnValue *Script ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasSavedFiltersPartialUpdate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasScriptsPartialUpdate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/api/extras/saved-filters/{id}/" + localVarPath := localBasePath + "/api/extras/scripts/{id}/" localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) localVarHeaderParams := make(map[string]string) @@ -27306,7 +29778,7 @@ func (a *ExtrasAPIService) ExtrasSavedFiltersPartialUpdateExecute(r ApiExtrasSav localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } // body params - localVarPostBody = r.patchedSavedFilterRequest + localVarPostBody = r.patchedScriptInputRequest if r.ctx != nil { // API Key Authentication if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { @@ -27358,27 +29830,27 @@ func (a *ExtrasAPIService) ExtrasSavedFiltersPartialUpdateExecute(r ApiExtrasSav return localVarReturnValue, localVarHTTPResponse, nil } -type ApiExtrasSavedFiltersRetrieveRequest struct { +type ApiExtrasScriptsRetrieveRequest struct { ctx context.Context ApiService *ExtrasAPIService - id int32 + id string } -func (r ApiExtrasSavedFiltersRetrieveRequest) Execute() (*SavedFilter, *http.Response, error) { - return r.ApiService.ExtrasSavedFiltersRetrieveExecute(r) +func (r ApiExtrasScriptsRetrieveRequest) Execute() (*Script, *http.Response, error) { + return r.ApiService.ExtrasScriptsRetrieveExecute(r) } /* -ExtrasSavedFiltersRetrieve Method for ExtrasSavedFiltersRetrieve +ExtrasScriptsRetrieve Method for ExtrasScriptsRetrieve -Get a saved filter object. +Get a script object. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param id A unique integer value identifying this saved filter. - @return ApiExtrasSavedFiltersRetrieveRequest + @param id + @return ApiExtrasScriptsRetrieveRequest */ -func (a *ExtrasAPIService) ExtrasSavedFiltersRetrieve(ctx context.Context, id int32) ApiExtrasSavedFiltersRetrieveRequest { - return ApiExtrasSavedFiltersRetrieveRequest{ +func (a *ExtrasAPIService) ExtrasScriptsRetrieve(ctx context.Context, id string) ApiExtrasScriptsRetrieveRequest { + return ApiExtrasScriptsRetrieveRequest{ ApiService: a, ctx: ctx, id: id, @@ -27387,21 +29859,21 @@ func (a *ExtrasAPIService) ExtrasSavedFiltersRetrieve(ctx context.Context, id in // Execute executes the request // -// @return SavedFilter -func (a *ExtrasAPIService) ExtrasSavedFiltersRetrieveExecute(r ApiExtrasSavedFiltersRetrieveRequest) (*SavedFilter, *http.Response, error) { +// @return Script +func (a *ExtrasAPIService) ExtrasScriptsRetrieveExecute(r ApiExtrasScriptsRetrieveRequest) (*Script, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *SavedFilter + localVarReturnValue *Script ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasSavedFiltersRetrieve") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasScriptsRetrieve") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/api/extras/saved-filters/{id}/" + localVarPath := localBasePath + "/api/extras/scripts/{id}/" localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) localVarHeaderParams := make(map[string]string) @@ -27476,33 +29948,33 @@ func (a *ExtrasAPIService) ExtrasSavedFiltersRetrieveExecute(r ApiExtrasSavedFil return localVarReturnValue, localVarHTTPResponse, nil } -type ApiExtrasSavedFiltersUpdateRequest struct { +type ApiExtrasScriptsUpdateRequest struct { ctx context.Context ApiService *ExtrasAPIService - id int32 - savedFilterRequest *SavedFilterRequest + id string + scriptInputRequest *ScriptInputRequest } -func (r ApiExtrasSavedFiltersUpdateRequest) SavedFilterRequest(savedFilterRequest SavedFilterRequest) ApiExtrasSavedFiltersUpdateRequest { - r.savedFilterRequest = &savedFilterRequest +func (r ApiExtrasScriptsUpdateRequest) ScriptInputRequest(scriptInputRequest ScriptInputRequest) ApiExtrasScriptsUpdateRequest { + r.scriptInputRequest = &scriptInputRequest return r } -func (r ApiExtrasSavedFiltersUpdateRequest) Execute() (*SavedFilter, *http.Response, error) { - return r.ApiService.ExtrasSavedFiltersUpdateExecute(r) +func (r ApiExtrasScriptsUpdateRequest) Execute() (*Script, *http.Response, error) { + return r.ApiService.ExtrasScriptsUpdateExecute(r) } /* -ExtrasSavedFiltersUpdate Method for ExtrasSavedFiltersUpdate +ExtrasScriptsUpdate Method for ExtrasScriptsUpdate -Put a saved filter object. +Put a script object. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param id A unique integer value identifying this saved filter. - @return ApiExtrasSavedFiltersUpdateRequest + @param id + @return ApiExtrasScriptsUpdateRequest */ -func (a *ExtrasAPIService) ExtrasSavedFiltersUpdate(ctx context.Context, id int32) ApiExtrasSavedFiltersUpdateRequest { - return ApiExtrasSavedFiltersUpdateRequest{ +func (a *ExtrasAPIService) ExtrasScriptsUpdate(ctx context.Context, id string) ApiExtrasScriptsUpdateRequest { + return ApiExtrasScriptsUpdateRequest{ ApiService: a, ctx: ctx, id: id, @@ -27510,29 +29982,151 @@ func (a *ExtrasAPIService) ExtrasSavedFiltersUpdate(ctx context.Context, id int3 } // Execute executes the request -// -// @return SavedFilter -func (a *ExtrasAPIService) ExtrasSavedFiltersUpdateExecute(r ApiExtrasSavedFiltersUpdateRequest) (*SavedFilter, *http.Response, error) { +// +// @return Script +func (a *ExtrasAPIService) ExtrasScriptsUpdateExecute(r ApiExtrasScriptsUpdateRequest) (*Script, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *Script + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasScriptsUpdate") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/extras/scripts/{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.scriptInputRequest == nil { + return localVarReturnValue, nil, reportError("scriptInputRequest is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "multipart/form-data"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.scriptInputRequest + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["tokenAuth"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + 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 ApiExtrasSubscriptionsBulkDestroyRequest struct { + ctx context.Context + ApiService *ExtrasAPIService + subscriptionRequest *[]SubscriptionRequest +} + +func (r ApiExtrasSubscriptionsBulkDestroyRequest) SubscriptionRequest(subscriptionRequest []SubscriptionRequest) ApiExtrasSubscriptionsBulkDestroyRequest { + r.subscriptionRequest = &subscriptionRequest + return r +} + +func (r ApiExtrasSubscriptionsBulkDestroyRequest) Execute() (*http.Response, error) { + return r.ApiService.ExtrasSubscriptionsBulkDestroyExecute(r) +} + +/* +ExtrasSubscriptionsBulkDestroy Method for ExtrasSubscriptionsBulkDestroy + +Delete a list of subscription objects. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiExtrasSubscriptionsBulkDestroyRequest +*/ +func (a *ExtrasAPIService) ExtrasSubscriptionsBulkDestroy(ctx context.Context) ApiExtrasSubscriptionsBulkDestroyRequest { + return ApiExtrasSubscriptionsBulkDestroyRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +func (a *ExtrasAPIService) ExtrasSubscriptionsBulkDestroyExecute(r ApiExtrasSubscriptionsBulkDestroyRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *SavedFilter + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasSavedFiltersUpdate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasSubscriptionsBulkDestroy") if err != nil { - return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + return nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/api/extras/saved-filters/{id}/" - localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) + localVarPath := localBasePath + "/api/extras/subscriptions/" localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} - if r.savedFilterRequest == nil { - return localVarReturnValue, nil, reportError("savedFilterRequest is required and must be specified") + if r.subscriptionRequest == nil { + return nil, reportError("subscriptionRequest is required and must be specified") } // to determine the Content-Type header @@ -27545,7 +30139,7 @@ func (a *ExtrasAPIService) ExtrasSavedFiltersUpdateExecute(r ApiExtrasSavedFilte } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json"} + localVarHTTPHeaderAccepts := []string{} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -27553,7 +30147,7 @@ func (a *ExtrasAPIService) ExtrasSavedFiltersUpdateExecute(r ApiExtrasSavedFilte localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } // body params - localVarPostBody = r.savedFilterRequest + localVarPostBody = r.subscriptionRequest if r.ctx != nil { // API Key Authentication if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { @@ -27570,19 +30164,19 @@ func (a *ExtrasAPIService) ExtrasSavedFiltersUpdateExecute(r ApiExtrasSavedFilte } 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 { @@ -27590,40 +30184,37 @@ func (a *ExtrasAPIService) ExtrasSavedFiltersUpdateExecute(r ApiExtrasSavedFilte body: localVarBody, error: localVarHTTPResponse.Status, } - return localVarReturnValue, localVarHTTPResponse, newErr + return localVarHTTPResponse, newErr } - err = a.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, nil +} - return localVarReturnValue, localVarHTTPResponse, nil +type ApiExtrasSubscriptionsBulkPartialUpdateRequest struct { + ctx context.Context + ApiService *ExtrasAPIService + subscriptionRequest *[]SubscriptionRequest } -type ApiExtrasScriptsCreateRequest struct { - ctx context.Context - ApiService *ExtrasAPIService +func (r ApiExtrasSubscriptionsBulkPartialUpdateRequest) SubscriptionRequest(subscriptionRequest []SubscriptionRequest) ApiExtrasSubscriptionsBulkPartialUpdateRequest { + r.subscriptionRequest = &subscriptionRequest + return r } -func (r ApiExtrasScriptsCreateRequest) Execute() (*Script, *http.Response, error) { - return r.ApiService.ExtrasScriptsCreateExecute(r) +func (r ApiExtrasSubscriptionsBulkPartialUpdateRequest) Execute() ([]Subscription, *http.Response, error) { + return r.ApiService.ExtrasSubscriptionsBulkPartialUpdateExecute(r) } /* -ExtrasScriptsCreate Method for ExtrasScriptsCreate +ExtrasSubscriptionsBulkPartialUpdate Method for ExtrasSubscriptionsBulkPartialUpdate -Post a list of script objects. +Patch a list of subscription objects. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiExtrasScriptsCreateRequest + @return ApiExtrasSubscriptionsBulkPartialUpdateRequest */ -func (a *ExtrasAPIService) ExtrasScriptsCreate(ctx context.Context) ApiExtrasScriptsCreateRequest { - return ApiExtrasScriptsCreateRequest{ +func (a *ExtrasAPIService) ExtrasSubscriptionsBulkPartialUpdate(ctx context.Context) ApiExtrasSubscriptionsBulkPartialUpdateRequest { + return ApiExtrasSubscriptionsBulkPartialUpdateRequest{ ApiService: a, ctx: ctx, } @@ -27631,28 +30222,31 @@ func (a *ExtrasAPIService) ExtrasScriptsCreate(ctx context.Context) ApiExtrasScr // Execute executes the request // -// @return Script -func (a *ExtrasAPIService) ExtrasScriptsCreateExecute(r ApiExtrasScriptsCreateRequest) (*Script, *http.Response, error) { +// @return []Subscription +func (a *ExtrasAPIService) ExtrasSubscriptionsBulkPartialUpdateExecute(r ApiExtrasSubscriptionsBulkPartialUpdateRequest) ([]Subscription, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost + localVarHTTPMethod = http.MethodPatch localVarPostBody interface{} formFiles []formFile - localVarReturnValue *Script + localVarReturnValue []Subscription ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasScriptsCreate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasSubscriptionsBulkPartialUpdate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/api/extras/scripts/" + localVarPath := localBasePath + "/api/extras/subscriptions/" localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.subscriptionRequest == nil { + return localVarReturnValue, nil, reportError("subscriptionRequest is required and must be specified") + } // to determine the Content-Type header - localVarHTTPContentTypes := []string{} + localVarHTTPContentTypes := []string{"application/json", "multipart/form-data"} // set Content-Type header localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) @@ -27668,6 +30262,8 @@ func (a *ExtrasAPIService) ExtrasScriptsCreateExecute(r ApiExtrasScriptsCreateRe if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } + // body params + localVarPostBody = r.subscriptionRequest if r.ctx != nil { // API Key Authentication if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { @@ -27719,55 +30315,63 @@ func (a *ExtrasAPIService) ExtrasScriptsCreateExecute(r ApiExtrasScriptsCreateRe return localVarReturnValue, localVarHTTPResponse, nil } -type ApiExtrasScriptsDestroyRequest struct { - ctx context.Context - ApiService *ExtrasAPIService - id string +type ApiExtrasSubscriptionsBulkUpdateRequest struct { + ctx context.Context + ApiService *ExtrasAPIService + subscriptionRequest *[]SubscriptionRequest } -func (r ApiExtrasScriptsDestroyRequest) Execute() (*http.Response, error) { - return r.ApiService.ExtrasScriptsDestroyExecute(r) +func (r ApiExtrasSubscriptionsBulkUpdateRequest) SubscriptionRequest(subscriptionRequest []SubscriptionRequest) ApiExtrasSubscriptionsBulkUpdateRequest { + r.subscriptionRequest = &subscriptionRequest + return r +} + +func (r ApiExtrasSubscriptionsBulkUpdateRequest) Execute() ([]Subscription, *http.Response, error) { + return r.ApiService.ExtrasSubscriptionsBulkUpdateExecute(r) } /* -ExtrasScriptsDestroy Method for ExtrasScriptsDestroy +ExtrasSubscriptionsBulkUpdate Method for ExtrasSubscriptionsBulkUpdate -Delete a script object. +Put a list of subscription objects. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param id - @return ApiExtrasScriptsDestroyRequest + @return ApiExtrasSubscriptionsBulkUpdateRequest */ -func (a *ExtrasAPIService) ExtrasScriptsDestroy(ctx context.Context, id string) ApiExtrasScriptsDestroyRequest { - return ApiExtrasScriptsDestroyRequest{ +func (a *ExtrasAPIService) ExtrasSubscriptionsBulkUpdate(ctx context.Context) ApiExtrasSubscriptionsBulkUpdateRequest { + return ApiExtrasSubscriptionsBulkUpdateRequest{ ApiService: a, ctx: ctx, - id: id, } } // Execute executes the request -func (a *ExtrasAPIService) ExtrasScriptsDestroyExecute(r ApiExtrasScriptsDestroyRequest) (*http.Response, error) { +// +// @return []Subscription +func (a *ExtrasAPIService) ExtrasSubscriptionsBulkUpdateExecute(r ApiExtrasSubscriptionsBulkUpdateRequest) ([]Subscription, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []Subscription ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasScriptsDestroy") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasSubscriptionsBulkUpdate") if err != nil { - return nil, &GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/api/extras/scripts/{id}/" - localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) + localVarPath := localBasePath + "/api/extras/subscriptions/" localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.subscriptionRequest == nil { + return localVarReturnValue, nil, reportError("subscriptionRequest is required and must be specified") + } // to determine the Content-Type header - localVarHTTPContentTypes := []string{} + localVarHTTPContentTypes := []string{"application/json", "multipart/form-data"} // set Content-Type header localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) @@ -27776,13 +30380,15 @@ func (a *ExtrasAPIService) ExtrasScriptsDestroyExecute(r ApiExtrasScriptsDestroy } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } + // body params + localVarPostBody = r.subscriptionRequest if r.ctx != nil { // API Key Authentication if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { @@ -27799,19 +30405,19 @@ func (a *ExtrasAPIService) ExtrasScriptsDestroyExecute(r ApiExtrasScriptsDestroy } 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 { @@ -27819,187 +30425,46 @@ func (a *ExtrasAPIService) ExtrasScriptsDestroyExecute(r ApiExtrasScriptsDestroy body: localVarBody, error: localVarHTTPResponse.Status, } - return localVarHTTPResponse, newErr + return localVarReturnValue, localVarHTTPResponse, newErr } - return localVarHTTPResponse, nil -} - -type ApiExtrasScriptsListRequest struct { - ctx context.Context - ApiService *ExtrasAPIService - id *[]int32 - idEmpty *bool - idGt *[]int32 - idGte *[]int32 - idLt *[]int32 - idLte *[]int32 - idN *[]int32 - isExecutable *bool - limit *int32 - moduleId *[]int32 - moduleIdN *[]int32 - name *[]string - nameEmpty *bool - nameIc *[]string - nameIe *[]string - nameIew *[]string - nameIsw *[]string - nameN *[]string - nameNic *[]string - nameNie *[]string - nameNiew *[]string - nameNisw *[]string - offset *int32 - ordering *string - q *string -} - -func (r ApiExtrasScriptsListRequest) Id(id []int32) ApiExtrasScriptsListRequest { - r.id = &id - return r -} - -func (r ApiExtrasScriptsListRequest) IdEmpty(idEmpty bool) ApiExtrasScriptsListRequest { - r.idEmpty = &idEmpty - return r -} - -func (r ApiExtrasScriptsListRequest) IdGt(idGt []int32) ApiExtrasScriptsListRequest { - r.idGt = &idGt - return r -} - -func (r ApiExtrasScriptsListRequest) IdGte(idGte []int32) ApiExtrasScriptsListRequest { - r.idGte = &idGte - return r -} - -func (r ApiExtrasScriptsListRequest) IdLt(idLt []int32) ApiExtrasScriptsListRequest { - r.idLt = &idLt - return r -} - -func (r ApiExtrasScriptsListRequest) IdLte(idLte []int32) ApiExtrasScriptsListRequest { - r.idLte = &idLte - return r -} - -func (r ApiExtrasScriptsListRequest) IdN(idN []int32) ApiExtrasScriptsListRequest { - r.idN = &idN - return r -} - -func (r ApiExtrasScriptsListRequest) IsExecutable(isExecutable bool) ApiExtrasScriptsListRequest { - r.isExecutable = &isExecutable - return r -} - -// Number of results to return per page. -func (r ApiExtrasScriptsListRequest) Limit(limit int32) ApiExtrasScriptsListRequest { - r.limit = &limit - return r -} - -// Script module (ID) -func (r ApiExtrasScriptsListRequest) ModuleId(moduleId []int32) ApiExtrasScriptsListRequest { - r.moduleId = &moduleId - return r -} - -// Script module (ID) -func (r ApiExtrasScriptsListRequest) ModuleIdN(moduleIdN []int32) ApiExtrasScriptsListRequest { - r.moduleIdN = &moduleIdN - return r -} - -func (r ApiExtrasScriptsListRequest) Name(name []string) ApiExtrasScriptsListRequest { - r.name = &name - return r -} - -func (r ApiExtrasScriptsListRequest) NameEmpty(nameEmpty bool) ApiExtrasScriptsListRequest { - r.nameEmpty = &nameEmpty - return r -} - -func (r ApiExtrasScriptsListRequest) NameIc(nameIc []string) ApiExtrasScriptsListRequest { - r.nameIc = &nameIc - return r -} - -func (r ApiExtrasScriptsListRequest) NameIe(nameIe []string) ApiExtrasScriptsListRequest { - r.nameIe = &nameIe - return r -} - -func (r ApiExtrasScriptsListRequest) NameIew(nameIew []string) ApiExtrasScriptsListRequest { - r.nameIew = &nameIew - return r -} - -func (r ApiExtrasScriptsListRequest) NameIsw(nameIsw []string) ApiExtrasScriptsListRequest { - r.nameIsw = &nameIsw - return r -} - -func (r ApiExtrasScriptsListRequest) NameN(nameN []string) ApiExtrasScriptsListRequest { - r.nameN = &nameN - return r -} - -func (r ApiExtrasScriptsListRequest) NameNic(nameNic []string) ApiExtrasScriptsListRequest { - r.nameNic = &nameNic - return r -} - -func (r ApiExtrasScriptsListRequest) NameNie(nameNie []string) ApiExtrasScriptsListRequest { - r.nameNie = &nameNie - return r -} - -func (r ApiExtrasScriptsListRequest) NameNiew(nameNiew []string) ApiExtrasScriptsListRequest { - r.nameNiew = &nameNiew - return r -} - -func (r ApiExtrasScriptsListRequest) NameNisw(nameNisw []string) ApiExtrasScriptsListRequest { - r.nameNisw = &nameNisw - return r -} + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } -// The initial index from which to return the results. -func (r ApiExtrasScriptsListRequest) Offset(offset int32) ApiExtrasScriptsListRequest { - r.offset = &offset - return r + return localVarReturnValue, localVarHTTPResponse, nil } -// Which field to use when ordering the results. -func (r ApiExtrasScriptsListRequest) Ordering(ordering string) ApiExtrasScriptsListRequest { - r.ordering = &ordering - return r +type ApiExtrasSubscriptionsCreateRequest struct { + ctx context.Context + ApiService *ExtrasAPIService + subscriptionRequest *SubscriptionRequest } -// Search -func (r ApiExtrasScriptsListRequest) Q(q string) ApiExtrasScriptsListRequest { - r.q = &q +func (r ApiExtrasSubscriptionsCreateRequest) SubscriptionRequest(subscriptionRequest SubscriptionRequest) ApiExtrasSubscriptionsCreateRequest { + r.subscriptionRequest = &subscriptionRequest return r } -func (r ApiExtrasScriptsListRequest) Execute() (*PaginatedScriptList, *http.Response, error) { - return r.ApiService.ExtrasScriptsListExecute(r) +func (r ApiExtrasSubscriptionsCreateRequest) Execute() (*Subscription, *http.Response, error) { + return r.ApiService.ExtrasSubscriptionsCreateExecute(r) } /* -ExtrasScriptsList Method for ExtrasScriptsList +ExtrasSubscriptionsCreate Method for ExtrasSubscriptionsCreate -Get a list of script objects. +Post a list of subscription objects. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiExtrasScriptsListRequest + @return ApiExtrasSubscriptionsCreateRequest */ -func (a *ExtrasAPIService) ExtrasScriptsList(ctx context.Context) ApiExtrasScriptsListRequest { - return ApiExtrasScriptsListRequest{ +func (a *ExtrasAPIService) ExtrasSubscriptionsCreate(ctx context.Context) ApiExtrasSubscriptionsCreateRequest { + return ApiExtrasSubscriptionsCreateRequest{ ApiService: a, ctx: ctx, } @@ -28007,247 +30472,31 @@ func (a *ExtrasAPIService) ExtrasScriptsList(ctx context.Context) ApiExtrasScrip // Execute executes the request // -// @return PaginatedScriptList -func (a *ExtrasAPIService) ExtrasScriptsListExecute(r ApiExtrasScriptsListRequest) (*PaginatedScriptList, *http.Response, error) { +// @return Subscription +func (a *ExtrasAPIService) ExtrasSubscriptionsCreateExecute(r ApiExtrasSubscriptionsCreateRequest) (*Subscription, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet + localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *PaginatedScriptList + localVarReturnValue *Subscription ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasScriptsList") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasSubscriptionsCreate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/api/extras/scripts/" + localVarPath := localBasePath + "/api/extras/subscriptions/" localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} - - 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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "multi") - } - } - if r.idEmpty != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "id__empty", r.idEmpty, "") - } - if r.idGt != nil { - t := *r.idGt - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "id__gt", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "id__gt", t, "multi") - } - } - if r.idGte != nil { - t := *r.idGte - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "id__gte", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "id__gte", t, "multi") - } - } - if r.idLt != nil { - t := *r.idLt - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "id__lt", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "id__lt", t, "multi") - } - } - if r.idLte != nil { - t := *r.idLte - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "id__lte", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "id__lte", t, "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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "multi") - } - } - if r.isExecutable != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "is_executable", r.isExecutable, "") - } - if r.limit != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "") - } - if r.moduleId != nil { - t := *r.moduleId - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "module_id", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "module_id", t, "multi") - } - } - if r.moduleIdN != nil { - t := *r.moduleIdN - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "module_id__n", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "module_id__n", t, "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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "name", t, "multi") - } - } - if r.nameEmpty != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "name__empty", r.nameEmpty, "") - } - 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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "name__ic", t, "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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "name__ie", t, "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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "name__iew", t, "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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "name__isw", t, "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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "name__n", t, "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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "name__nic", t, "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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "name__nie", t, "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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "name__niew", t, "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(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "name__nisw", t, "multi") - } - } - if r.offset != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "") - } - if r.ordering != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "ordering", r.ordering, "") - } - if r.q != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "") + if r.subscriptionRequest == nil { + return localVarReturnValue, nil, reportError("subscriptionRequest is required and must be specified") } + // to determine the Content-Type header - localVarHTTPContentTypes := []string{} + localVarHTTPContentTypes := []string{"application/json", "multipart/form-data"} // set Content-Type header localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) @@ -28263,6 +30512,8 @@ func (a *ExtrasAPIService) ExtrasScriptsListExecute(r ApiExtrasScriptsListReques if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } + // body params + localVarPostBody = r.subscriptionRequest if r.ctx != nil { // API Key Authentication if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { @@ -28314,50 +30565,306 @@ func (a *ExtrasAPIService) ExtrasScriptsListExecute(r ApiExtrasScriptsListReques return localVarReturnValue, localVarHTTPResponse, nil } -type ApiExtrasScriptsPartialUpdateRequest struct { +type ApiExtrasSubscriptionsDestroyRequest struct { ctx context.Context ApiService *ExtrasAPIService - id string + id int32 } -func (r ApiExtrasScriptsPartialUpdateRequest) Execute() (*Script, *http.Response, error) { - return r.ApiService.ExtrasScriptsPartialUpdateExecute(r) +func (r ApiExtrasSubscriptionsDestroyRequest) Execute() (*http.Response, error) { + return r.ApiService.ExtrasSubscriptionsDestroyExecute(r) } /* -ExtrasScriptsPartialUpdate Method for ExtrasScriptsPartialUpdate +ExtrasSubscriptionsDestroy Method for ExtrasSubscriptionsDestroy -Patch a script object. +Delete a subscription object. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param id - @return ApiExtrasScriptsPartialUpdateRequest + @param id A unique integer value identifying this subscription. + @return ApiExtrasSubscriptionsDestroyRequest */ -func (a *ExtrasAPIService) ExtrasScriptsPartialUpdate(ctx context.Context, id string) ApiExtrasScriptsPartialUpdateRequest { - return ApiExtrasScriptsPartialUpdateRequest{ +func (a *ExtrasAPIService) ExtrasSubscriptionsDestroy(ctx context.Context, id int32) ApiExtrasSubscriptionsDestroyRequest { + return ApiExtrasSubscriptionsDestroyRequest{ ApiService: a, ctx: ctx, id: id, } } +// Execute executes the request +func (a *ExtrasAPIService) ExtrasSubscriptionsDestroyExecute(r ApiExtrasSubscriptionsDestroyRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasSubscriptionsDestroy") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/extras/subscriptions/{id}/" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // 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 ApiExtrasSubscriptionsListRequest struct { + ctx context.Context + ApiService *ExtrasAPIService + limit *int32 + offset *int32 + ordering *string +} + +// Number of results to return per page. +func (r ApiExtrasSubscriptionsListRequest) Limit(limit int32) ApiExtrasSubscriptionsListRequest { + r.limit = &limit + return r +} + +// The initial index from which to return the results. +func (r ApiExtrasSubscriptionsListRequest) Offset(offset int32) ApiExtrasSubscriptionsListRequest { + r.offset = &offset + return r +} + +// Which field to use when ordering the results. +func (r ApiExtrasSubscriptionsListRequest) Ordering(ordering string) ApiExtrasSubscriptionsListRequest { + r.ordering = &ordering + return r +} + +func (r ApiExtrasSubscriptionsListRequest) Execute() (*PaginatedSubscriptionList, *http.Response, error) { + return r.ApiService.ExtrasSubscriptionsListExecute(r) +} + +/* +ExtrasSubscriptionsList Method for ExtrasSubscriptionsList + +Get a list of subscription objects. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiExtrasSubscriptionsListRequest +*/ +func (a *ExtrasAPIService) ExtrasSubscriptionsList(ctx context.Context) ApiExtrasSubscriptionsListRequest { + return ApiExtrasSubscriptionsListRequest{ + ApiService: a, + ctx: ctx, + } +} + // Execute executes the request // -// @return Script -func (a *ExtrasAPIService) ExtrasScriptsPartialUpdateExecute(r ApiExtrasScriptsPartialUpdateRequest) (*Script, *http.Response, error) { +// @return PaginatedSubscriptionList +func (a *ExtrasAPIService) ExtrasSubscriptionsListExecute(r ApiExtrasSubscriptionsListRequest) (*PaginatedSubscriptionList, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *PaginatedSubscriptionList + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasSubscriptionsList") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/extras/subscriptions/" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.limit != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "") + } + if r.offset != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "") + } + if r.ordering != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "ordering", r.ordering, "") + } + // 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"} + + // 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 ApiExtrasSubscriptionsPartialUpdateRequest struct { + ctx context.Context + ApiService *ExtrasAPIService + id int32 + patchedSubscriptionRequest *PatchedSubscriptionRequest +} + +func (r ApiExtrasSubscriptionsPartialUpdateRequest) PatchedSubscriptionRequest(patchedSubscriptionRequest PatchedSubscriptionRequest) ApiExtrasSubscriptionsPartialUpdateRequest { + r.patchedSubscriptionRequest = &patchedSubscriptionRequest + return r +} + +func (r ApiExtrasSubscriptionsPartialUpdateRequest) Execute() (*Subscription, *http.Response, error) { + return r.ApiService.ExtrasSubscriptionsPartialUpdateExecute(r) +} + +/* +ExtrasSubscriptionsPartialUpdate Method for ExtrasSubscriptionsPartialUpdate + +Patch a subscription object. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id A unique integer value identifying this subscription. + @return ApiExtrasSubscriptionsPartialUpdateRequest +*/ +func (a *ExtrasAPIService) ExtrasSubscriptionsPartialUpdate(ctx context.Context, id int32) ApiExtrasSubscriptionsPartialUpdateRequest { + return ApiExtrasSubscriptionsPartialUpdateRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// +// @return Subscription +func (a *ExtrasAPIService) ExtrasSubscriptionsPartialUpdateExecute(r ApiExtrasSubscriptionsPartialUpdateRequest) (*Subscription, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPatch localVarPostBody interface{} formFiles []formFile - localVarReturnValue *Script + localVarReturnValue *Subscription ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasScriptsPartialUpdate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasSubscriptionsPartialUpdate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/api/extras/scripts/{id}/" + localVarPath := localBasePath + "/api/extras/subscriptions/{id}/" localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) localVarHeaderParams := make(map[string]string) @@ -28365,7 +30872,7 @@ func (a *ExtrasAPIService) ExtrasScriptsPartialUpdateExecute(r ApiExtrasScriptsP localVarFormParams := url.Values{} // to determine the Content-Type header - localVarHTTPContentTypes := []string{} + localVarHTTPContentTypes := []string{"application/json", "multipart/form-data"} // set Content-Type header localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) @@ -28381,6 +30888,8 @@ func (a *ExtrasAPIService) ExtrasScriptsPartialUpdateExecute(r ApiExtrasScriptsP if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } + // body params + localVarPostBody = r.patchedSubscriptionRequest if r.ctx != nil { // API Key Authentication if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { @@ -28432,27 +30941,27 @@ func (a *ExtrasAPIService) ExtrasScriptsPartialUpdateExecute(r ApiExtrasScriptsP return localVarReturnValue, localVarHTTPResponse, nil } -type ApiExtrasScriptsRetrieveRequest struct { +type ApiExtrasSubscriptionsRetrieveRequest struct { ctx context.Context ApiService *ExtrasAPIService - id string + id int32 } -func (r ApiExtrasScriptsRetrieveRequest) Execute() (*Script, *http.Response, error) { - return r.ApiService.ExtrasScriptsRetrieveExecute(r) +func (r ApiExtrasSubscriptionsRetrieveRequest) Execute() (*Subscription, *http.Response, error) { + return r.ApiService.ExtrasSubscriptionsRetrieveExecute(r) } /* -ExtrasScriptsRetrieve Method for ExtrasScriptsRetrieve +ExtrasSubscriptionsRetrieve Method for ExtrasSubscriptionsRetrieve -Get a script object. +Get a subscription object. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param id - @return ApiExtrasScriptsRetrieveRequest + @param id A unique integer value identifying this subscription. + @return ApiExtrasSubscriptionsRetrieveRequest */ -func (a *ExtrasAPIService) ExtrasScriptsRetrieve(ctx context.Context, id string) ApiExtrasScriptsRetrieveRequest { - return ApiExtrasScriptsRetrieveRequest{ +func (a *ExtrasAPIService) ExtrasSubscriptionsRetrieve(ctx context.Context, id int32) ApiExtrasSubscriptionsRetrieveRequest { + return ApiExtrasSubscriptionsRetrieveRequest{ ApiService: a, ctx: ctx, id: id, @@ -28461,21 +30970,21 @@ func (a *ExtrasAPIService) ExtrasScriptsRetrieve(ctx context.Context, id string) // Execute executes the request // -// @return Script -func (a *ExtrasAPIService) ExtrasScriptsRetrieveExecute(r ApiExtrasScriptsRetrieveRequest) (*Script, *http.Response, error) { +// @return Subscription +func (a *ExtrasAPIService) ExtrasSubscriptionsRetrieveExecute(r ApiExtrasSubscriptionsRetrieveRequest) (*Subscription, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *Script + localVarReturnValue *Subscription ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasScriptsRetrieve") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasSubscriptionsRetrieve") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/api/extras/scripts/{id}/" + localVarPath := localBasePath + "/api/extras/subscriptions/{id}/" localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) localVarHeaderParams := make(map[string]string) @@ -28550,27 +31059,33 @@ func (a *ExtrasAPIService) ExtrasScriptsRetrieveExecute(r ApiExtrasScriptsRetrie return localVarReturnValue, localVarHTTPResponse, nil } -type ApiExtrasScriptsUpdateRequest struct { - ctx context.Context - ApiService *ExtrasAPIService - id string +type ApiExtrasSubscriptionsUpdateRequest struct { + ctx context.Context + ApiService *ExtrasAPIService + id int32 + subscriptionRequest *SubscriptionRequest } -func (r ApiExtrasScriptsUpdateRequest) Execute() (*Script, *http.Response, error) { - return r.ApiService.ExtrasScriptsUpdateExecute(r) +func (r ApiExtrasSubscriptionsUpdateRequest) SubscriptionRequest(subscriptionRequest SubscriptionRequest) ApiExtrasSubscriptionsUpdateRequest { + r.subscriptionRequest = &subscriptionRequest + return r +} + +func (r ApiExtrasSubscriptionsUpdateRequest) Execute() (*Subscription, *http.Response, error) { + return r.ApiService.ExtrasSubscriptionsUpdateExecute(r) } /* -ExtrasScriptsUpdate Method for ExtrasScriptsUpdate +ExtrasSubscriptionsUpdate Method for ExtrasSubscriptionsUpdate -Put a script object. +Put a subscription object. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param id - @return ApiExtrasScriptsUpdateRequest + @param id A unique integer value identifying this subscription. + @return ApiExtrasSubscriptionsUpdateRequest */ -func (a *ExtrasAPIService) ExtrasScriptsUpdate(ctx context.Context, id string) ApiExtrasScriptsUpdateRequest { - return ApiExtrasScriptsUpdateRequest{ +func (a *ExtrasAPIService) ExtrasSubscriptionsUpdate(ctx context.Context, id int32) ApiExtrasSubscriptionsUpdateRequest { + return ApiExtrasSubscriptionsUpdateRequest{ ApiService: a, ctx: ctx, id: id, @@ -28579,29 +31094,32 @@ func (a *ExtrasAPIService) ExtrasScriptsUpdate(ctx context.Context, id string) A // Execute executes the request // -// @return Script -func (a *ExtrasAPIService) ExtrasScriptsUpdateExecute(r ApiExtrasScriptsUpdateRequest) (*Script, *http.Response, error) { +// @return Subscription +func (a *ExtrasAPIService) ExtrasSubscriptionsUpdateExecute(r ApiExtrasSubscriptionsUpdateRequest) (*Subscription, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} formFiles []formFile - localVarReturnValue *Script + localVarReturnValue *Subscription ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasScriptsUpdate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasSubscriptionsUpdate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/api/extras/scripts/{id}/" + localVarPath := localBasePath + "/api/extras/subscriptions/{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.subscriptionRequest == nil { + return localVarReturnValue, nil, reportError("subscriptionRequest is required and must be specified") + } // to determine the Content-Type header - localVarHTTPContentTypes := []string{} + localVarHTTPContentTypes := []string{"application/json", "multipart/form-data"} // set Content-Type header localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) @@ -28617,6 +31135,8 @@ func (a *ExtrasAPIService) ExtrasScriptsUpdateExecute(r ApiExtrasScriptsUpdateRe if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } + // body params + localVarPostBody = r.subscriptionRequest if r.ctx != nil { // API Key Authentication if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { @@ -31605,7 +34125,16 @@ type ApiExtrasWebhooksListRequest struct { httpContentTypeNiew *[]string httpContentTypeNisw *[]string httpMethod *[]string - httpMethodN *[]string + httpMethodEmpty *bool + httpMethodIc *[]ExtrasWebhooksListHttpMethodIcParameterInner + httpMethodIe *[]ExtrasWebhooksListHttpMethodIcParameterInner + httpMethodIew *[]ExtrasWebhooksListHttpMethodIcParameterInner + httpMethodIsw *[]ExtrasWebhooksListHttpMethodIcParameterInner + httpMethodN *[]ExtrasWebhooksListHttpMethodIcParameterInner + httpMethodNic *[]ExtrasWebhooksListHttpMethodIcParameterInner + httpMethodNie *[]ExtrasWebhooksListHttpMethodIcParameterInner + httpMethodNiew *[]ExtrasWebhooksListHttpMethodIcParameterInner + httpMethodNisw *[]ExtrasWebhooksListHttpMethodIcParameterInner id *[]int32 idEmpty *bool idGt *[]int32 @@ -31864,11 +34393,65 @@ func (r ApiExtrasWebhooksListRequest) HttpMethod(httpMethod []string) ApiExtrasW return r } -func (r ApiExtrasWebhooksListRequest) HttpMethodN(httpMethodN []string) ApiExtrasWebhooksListRequest { +func (r ApiExtrasWebhooksListRequest) HttpMethodEmpty(httpMethodEmpty bool) ApiExtrasWebhooksListRequest { + r.httpMethodEmpty = &httpMethodEmpty + return r +} + +// * `GET` - GET * `POST` - POST * `PUT` - PUT * `PATCH` - PATCH * `DELETE` - DELETE +func (r ApiExtrasWebhooksListRequest) HttpMethodIc(httpMethodIc []ExtrasWebhooksListHttpMethodIcParameterInner) ApiExtrasWebhooksListRequest { + r.httpMethodIc = &httpMethodIc + return r +} + +// * `GET` - GET * `POST` - POST * `PUT` - PUT * `PATCH` - PATCH * `DELETE` - DELETE +func (r ApiExtrasWebhooksListRequest) HttpMethodIe(httpMethodIe []ExtrasWebhooksListHttpMethodIcParameterInner) ApiExtrasWebhooksListRequest { + r.httpMethodIe = &httpMethodIe + return r +} + +// * `GET` - GET * `POST` - POST * `PUT` - PUT * `PATCH` - PATCH * `DELETE` - DELETE +func (r ApiExtrasWebhooksListRequest) HttpMethodIew(httpMethodIew []ExtrasWebhooksListHttpMethodIcParameterInner) ApiExtrasWebhooksListRequest { + r.httpMethodIew = &httpMethodIew + return r +} + +// * `GET` - GET * `POST` - POST * `PUT` - PUT * `PATCH` - PATCH * `DELETE` - DELETE +func (r ApiExtrasWebhooksListRequest) HttpMethodIsw(httpMethodIsw []ExtrasWebhooksListHttpMethodIcParameterInner) ApiExtrasWebhooksListRequest { + r.httpMethodIsw = &httpMethodIsw + return r +} + +// * `GET` - GET * `POST` - POST * `PUT` - PUT * `PATCH` - PATCH * `DELETE` - DELETE +func (r ApiExtrasWebhooksListRequest) HttpMethodN(httpMethodN []ExtrasWebhooksListHttpMethodIcParameterInner) ApiExtrasWebhooksListRequest { r.httpMethodN = &httpMethodN return r } +// * `GET` - GET * `POST` - POST * `PUT` - PUT * `PATCH` - PATCH * `DELETE` - DELETE +func (r ApiExtrasWebhooksListRequest) HttpMethodNic(httpMethodNic []ExtrasWebhooksListHttpMethodIcParameterInner) ApiExtrasWebhooksListRequest { + r.httpMethodNic = &httpMethodNic + return r +} + +// * `GET` - GET * `POST` - POST * `PUT` - PUT * `PATCH` - PATCH * `DELETE` - DELETE +func (r ApiExtrasWebhooksListRequest) HttpMethodNie(httpMethodNie []ExtrasWebhooksListHttpMethodIcParameterInner) ApiExtrasWebhooksListRequest { + r.httpMethodNie = &httpMethodNie + return r +} + +// * `GET` - GET * `POST` - POST * `PUT` - PUT * `PATCH` - PATCH * `DELETE` - DELETE +func (r ApiExtrasWebhooksListRequest) HttpMethodNiew(httpMethodNiew []ExtrasWebhooksListHttpMethodIcParameterInner) ApiExtrasWebhooksListRequest { + r.httpMethodNiew = &httpMethodNiew + return r +} + +// * `GET` - GET * `POST` - POST * `PUT` - PUT * `PATCH` - PATCH * `DELETE` - DELETE +func (r ApiExtrasWebhooksListRequest) HttpMethodNisw(httpMethodNisw []ExtrasWebhooksListHttpMethodIcParameterInner) ApiExtrasWebhooksListRequest { + r.httpMethodNisw = &httpMethodNisw + return r +} + func (r ApiExtrasWebhooksListRequest) Id(id []int32) ApiExtrasWebhooksListRequest { r.id = &id return r @@ -32574,6 +35157,53 @@ func (a *ExtrasAPIService) ExtrasWebhooksListExecute(r ApiExtrasWebhooksListRequ parameterAddToHeaderOrQuery(localVarQueryParams, "http_method", t, "multi") } } + if r.httpMethodEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "http_method__empty", r.httpMethodEmpty, "") + } + if r.httpMethodIc != nil { + t := *r.httpMethodIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "http_method__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "http_method__ic", t, "multi") + } + } + if r.httpMethodIe != nil { + t := *r.httpMethodIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "http_method__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "http_method__ie", t, "multi") + } + } + if r.httpMethodIew != nil { + t := *r.httpMethodIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "http_method__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "http_method__iew", t, "multi") + } + } + if r.httpMethodIsw != nil { + t := *r.httpMethodIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "http_method__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "http_method__isw", t, "multi") + } + } if r.httpMethodN != nil { t := *r.httpMethodN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -32585,6 +35215,50 @@ func (a *ExtrasAPIService) ExtrasWebhooksListExecute(r ApiExtrasWebhooksListRequ parameterAddToHeaderOrQuery(localVarQueryParams, "http_method__n", t, "multi") } } + if r.httpMethodNic != nil { + t := *r.httpMethodNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "http_method__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "http_method__nic", t, "multi") + } + } + if r.httpMethodNie != nil { + t := *r.httpMethodNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "http_method__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "http_method__nie", t, "multi") + } + } + if r.httpMethodNiew != nil { + t := *r.httpMethodNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "http_method__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "http_method__niew", t, "multi") + } + } + if r.httpMethodNisw != nil { + t := *r.httpMethodNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "http_method__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "http_method__nisw", t, "multi") + } + } if r.id != nil { t := *r.id if reflect.TypeOf(t).Kind() == reflect.Slice { diff --git a/api_ipam.go b/api_ipam.go index 0e906f752..21348b5eb 100644 --- a/api_ipam.go +++ b/api_ipam.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -676,10 +676,10 @@ type ApiIpamAggregatesListRequest struct { tagN *[]string tenant *[]string tenantN *[]string - tenantGroup *[]int32 - tenantGroupN *[]int32 - tenantGroupId *[]int32 - tenantGroupIdN *[]int32 + tenantGroup *[]string + tenantGroupN *[]string + tenantGroupId *[]string + tenantGroupIdN *[]string tenantId *[]*int32 tenantIdN *[]*int32 updatedByRequest *string @@ -971,26 +971,22 @@ func (r ApiIpamAggregatesListRequest) TenantN(tenantN []string) ApiIpamAggregate return r } -// Tenant Group (slug) -func (r ApiIpamAggregatesListRequest) TenantGroup(tenantGroup []int32) ApiIpamAggregatesListRequest { +func (r ApiIpamAggregatesListRequest) TenantGroup(tenantGroup []string) ApiIpamAggregatesListRequest { r.tenantGroup = &tenantGroup return r } -// Tenant Group (slug) -func (r ApiIpamAggregatesListRequest) TenantGroupN(tenantGroupN []int32) ApiIpamAggregatesListRequest { +func (r ApiIpamAggregatesListRequest) TenantGroupN(tenantGroupN []string) ApiIpamAggregatesListRequest { r.tenantGroupN = &tenantGroupN return r } -// Tenant Group (ID) -func (r ApiIpamAggregatesListRequest) TenantGroupId(tenantGroupId []int32) ApiIpamAggregatesListRequest { +func (r ApiIpamAggregatesListRequest) TenantGroupId(tenantGroupId []string) ApiIpamAggregatesListRequest { r.tenantGroupId = &tenantGroupId return r } -// Tenant Group (ID) -func (r ApiIpamAggregatesListRequest) TenantGroupIdN(tenantGroupIdN []int32) ApiIpamAggregatesListRequest { +func (r ApiIpamAggregatesListRequest) TenantGroupIdN(tenantGroupIdN []string) ApiIpamAggregatesListRequest { r.tenantGroupIdN = &tenantGroupIdN return r } @@ -3006,10 +3002,10 @@ type ApiIpamAsnRangesListRequest struct { tagN *[]string tenant *[]string tenantN *[]string - tenantGroup *[]int32 - tenantGroupN *[]int32 - tenantGroupId *[]int32 - tenantGroupIdN *[]int32 + tenantGroup *[]string + tenantGroupN *[]string + tenantGroupId *[]string + tenantGroupIdN *[]string tenantId *[]*int32 tenantIdN *[]*int32 updatedByRequest *string @@ -3435,26 +3431,22 @@ func (r ApiIpamAsnRangesListRequest) TenantN(tenantN []string) ApiIpamAsnRangesL return r } -// Tenant Group (slug) -func (r ApiIpamAsnRangesListRequest) TenantGroup(tenantGroup []int32) ApiIpamAsnRangesListRequest { +func (r ApiIpamAsnRangesListRequest) TenantGroup(tenantGroup []string) ApiIpamAsnRangesListRequest { r.tenantGroup = &tenantGroup return r } -// Tenant Group (slug) -func (r ApiIpamAsnRangesListRequest) TenantGroupN(tenantGroupN []int32) ApiIpamAsnRangesListRequest { +func (r ApiIpamAsnRangesListRequest) TenantGroupN(tenantGroupN []string) ApiIpamAsnRangesListRequest { r.tenantGroupN = &tenantGroupN return r } -// Tenant Group (ID) -func (r ApiIpamAsnRangesListRequest) TenantGroupId(tenantGroupId []int32) ApiIpamAsnRangesListRequest { +func (r ApiIpamAsnRangesListRequest) TenantGroupId(tenantGroupId []string) ApiIpamAsnRangesListRequest { r.tenantGroupId = &tenantGroupId return r } -// Tenant Group (ID) -func (r ApiIpamAsnRangesListRequest) TenantGroupIdN(tenantGroupIdN []int32) ApiIpamAsnRangesListRequest { +func (r ApiIpamAsnRangesListRequest) TenantGroupIdN(tenantGroupIdN []string) ApiIpamAsnRangesListRequest { r.tenantGroupIdN = &tenantGroupIdN return r } @@ -5491,10 +5483,10 @@ type ApiIpamAsnsListRequest struct { tagN *[]string tenant *[]string tenantN *[]string - tenantGroup *[]int32 - tenantGroupN *[]int32 - tenantGroupId *[]int32 - tenantGroupIdN *[]int32 + tenantGroup *[]string + tenantGroupN *[]string + tenantGroupId *[]string + tenantGroupIdN *[]string tenantId *[]*int32 tenantIdN *[]*int32 updatedByRequest *string @@ -5823,26 +5815,22 @@ func (r ApiIpamAsnsListRequest) TenantN(tenantN []string) ApiIpamAsnsListRequest return r } -// Tenant Group (slug) -func (r ApiIpamAsnsListRequest) TenantGroup(tenantGroup []int32) ApiIpamAsnsListRequest { +func (r ApiIpamAsnsListRequest) TenantGroup(tenantGroup []string) ApiIpamAsnsListRequest { r.tenantGroup = &tenantGroup return r } -// Tenant Group (slug) -func (r ApiIpamAsnsListRequest) TenantGroupN(tenantGroupN []int32) ApiIpamAsnsListRequest { +func (r ApiIpamAsnsListRequest) TenantGroupN(tenantGroupN []string) ApiIpamAsnsListRequest { r.tenantGroupN = &tenantGroupN return r } -// Tenant Group (ID) -func (r ApiIpamAsnsListRequest) TenantGroupId(tenantGroupId []int32) ApiIpamAsnsListRequest { +func (r ApiIpamAsnsListRequest) TenantGroupId(tenantGroupId []string) ApiIpamAsnsListRequest { r.tenantGroupId = &tenantGroupId return r } -// Tenant Group (ID) -func (r ApiIpamAsnsListRequest) TenantGroupIdN(tenantGroupIdN []int32) ApiIpamAsnsListRequest { +func (r ApiIpamAsnsListRequest) TenantGroupIdN(tenantGroupIdN []string) ApiIpamAsnsListRequest { r.tenantGroupIdN = &tenantGroupIdN return r } @@ -9454,7 +9442,16 @@ type ApiIpamFhrpGroupsListRequest struct { authKeyNiew *[]string authKeyNisw *[]string authType *[]string - authTypeN *[]string + authTypeEmpty *bool + authTypeIc *[]AuthenticationType + authTypeIe *[]AuthenticationType + authTypeIew *[]AuthenticationType + authTypeIsw *[]AuthenticationType + authTypeN *[]AuthenticationType + authTypeNic *[]AuthenticationType + authTypeNie *[]AuthenticationType + authTypeNiew *[]AuthenticationType + authTypeNisw *[]AuthenticationType created *[]time.Time createdEmpty *[]time.Time createdGt *[]time.Time @@ -9511,7 +9508,16 @@ type ApiIpamFhrpGroupsListRequest struct { offset *int32 ordering *string protocol *[]string - protocolN *[]string + protocolEmpty *bool + protocolIc *[]IpamFhrpGroupsListProtocolIcParameterInner + protocolIe *[]IpamFhrpGroupsListProtocolIcParameterInner + protocolIew *[]IpamFhrpGroupsListProtocolIcParameterInner + protocolIsw *[]IpamFhrpGroupsListProtocolIcParameterInner + protocolN *[]IpamFhrpGroupsListProtocolIcParameterInner + protocolNic *[]IpamFhrpGroupsListProtocolIcParameterInner + protocolNie *[]IpamFhrpGroupsListProtocolIcParameterInner + protocolNiew *[]IpamFhrpGroupsListProtocolIcParameterInner + protocolNisw *[]IpamFhrpGroupsListProtocolIcParameterInner q *string relatedIp *[]string tag *[]string @@ -9579,11 +9585,65 @@ func (r ApiIpamFhrpGroupsListRequest) AuthType(authType []string) ApiIpamFhrpGro return r } -func (r ApiIpamFhrpGroupsListRequest) AuthTypeN(authTypeN []string) ApiIpamFhrpGroupsListRequest { +func (r ApiIpamFhrpGroupsListRequest) AuthTypeEmpty(authTypeEmpty bool) ApiIpamFhrpGroupsListRequest { + r.authTypeEmpty = &authTypeEmpty + return r +} + +// * `plaintext` - Plaintext * `md5` - MD5 +func (r ApiIpamFhrpGroupsListRequest) AuthTypeIc(authTypeIc []AuthenticationType) ApiIpamFhrpGroupsListRequest { + r.authTypeIc = &authTypeIc + return r +} + +// * `plaintext` - Plaintext * `md5` - MD5 +func (r ApiIpamFhrpGroupsListRequest) AuthTypeIe(authTypeIe []AuthenticationType) ApiIpamFhrpGroupsListRequest { + r.authTypeIe = &authTypeIe + return r +} + +// * `plaintext` - Plaintext * `md5` - MD5 +func (r ApiIpamFhrpGroupsListRequest) AuthTypeIew(authTypeIew []AuthenticationType) ApiIpamFhrpGroupsListRequest { + r.authTypeIew = &authTypeIew + return r +} + +// * `plaintext` - Plaintext * `md5` - MD5 +func (r ApiIpamFhrpGroupsListRequest) AuthTypeIsw(authTypeIsw []AuthenticationType) ApiIpamFhrpGroupsListRequest { + r.authTypeIsw = &authTypeIsw + return r +} + +// * `plaintext` - Plaintext * `md5` - MD5 +func (r ApiIpamFhrpGroupsListRequest) AuthTypeN(authTypeN []AuthenticationType) ApiIpamFhrpGroupsListRequest { r.authTypeN = &authTypeN return r } +// * `plaintext` - Plaintext * `md5` - MD5 +func (r ApiIpamFhrpGroupsListRequest) AuthTypeNic(authTypeNic []AuthenticationType) ApiIpamFhrpGroupsListRequest { + r.authTypeNic = &authTypeNic + return r +} + +// * `plaintext` - Plaintext * `md5` - MD5 +func (r ApiIpamFhrpGroupsListRequest) AuthTypeNie(authTypeNie []AuthenticationType) ApiIpamFhrpGroupsListRequest { + r.authTypeNie = &authTypeNie + return r +} + +// * `plaintext` - Plaintext * `md5` - MD5 +func (r ApiIpamFhrpGroupsListRequest) AuthTypeNiew(authTypeNiew []AuthenticationType) ApiIpamFhrpGroupsListRequest { + r.authTypeNiew = &authTypeNiew + return r +} + +// * `plaintext` - Plaintext * `md5` - MD5 +func (r ApiIpamFhrpGroupsListRequest) AuthTypeNisw(authTypeNisw []AuthenticationType) ApiIpamFhrpGroupsListRequest { + r.authTypeNisw = &authTypeNisw + return r +} + func (r ApiIpamFhrpGroupsListRequest) Created(created []time.Time) ApiIpamFhrpGroupsListRequest { r.created = &created return r @@ -9867,11 +9927,65 @@ func (r ApiIpamFhrpGroupsListRequest) Protocol(protocol []string) ApiIpamFhrpGro return r } -func (r ApiIpamFhrpGroupsListRequest) ProtocolN(protocolN []string) ApiIpamFhrpGroupsListRequest { +func (r ApiIpamFhrpGroupsListRequest) ProtocolEmpty(protocolEmpty bool) ApiIpamFhrpGroupsListRequest { + r.protocolEmpty = &protocolEmpty + return r +} + +// * `vrrp2` - VRRPv2 * `vrrp3` - VRRPv3 * `carp` - CARP * `clusterxl` - ClusterXL * `hsrp` - HSRP * `glbp` - GLBP * `other` - Other +func (r ApiIpamFhrpGroupsListRequest) ProtocolIc(protocolIc []IpamFhrpGroupsListProtocolIcParameterInner) ApiIpamFhrpGroupsListRequest { + r.protocolIc = &protocolIc + return r +} + +// * `vrrp2` - VRRPv2 * `vrrp3` - VRRPv3 * `carp` - CARP * `clusterxl` - ClusterXL * `hsrp` - HSRP * `glbp` - GLBP * `other` - Other +func (r ApiIpamFhrpGroupsListRequest) ProtocolIe(protocolIe []IpamFhrpGroupsListProtocolIcParameterInner) ApiIpamFhrpGroupsListRequest { + r.protocolIe = &protocolIe + return r +} + +// * `vrrp2` - VRRPv2 * `vrrp3` - VRRPv3 * `carp` - CARP * `clusterxl` - ClusterXL * `hsrp` - HSRP * `glbp` - GLBP * `other` - Other +func (r ApiIpamFhrpGroupsListRequest) ProtocolIew(protocolIew []IpamFhrpGroupsListProtocolIcParameterInner) ApiIpamFhrpGroupsListRequest { + r.protocolIew = &protocolIew + return r +} + +// * `vrrp2` - VRRPv2 * `vrrp3` - VRRPv3 * `carp` - CARP * `clusterxl` - ClusterXL * `hsrp` - HSRP * `glbp` - GLBP * `other` - Other +func (r ApiIpamFhrpGroupsListRequest) ProtocolIsw(protocolIsw []IpamFhrpGroupsListProtocolIcParameterInner) ApiIpamFhrpGroupsListRequest { + r.protocolIsw = &protocolIsw + return r +} + +// * `vrrp2` - VRRPv2 * `vrrp3` - VRRPv3 * `carp` - CARP * `clusterxl` - ClusterXL * `hsrp` - HSRP * `glbp` - GLBP * `other` - Other +func (r ApiIpamFhrpGroupsListRequest) ProtocolN(protocolN []IpamFhrpGroupsListProtocolIcParameterInner) ApiIpamFhrpGroupsListRequest { r.protocolN = &protocolN return r } +// * `vrrp2` - VRRPv2 * `vrrp3` - VRRPv3 * `carp` - CARP * `clusterxl` - ClusterXL * `hsrp` - HSRP * `glbp` - GLBP * `other` - Other +func (r ApiIpamFhrpGroupsListRequest) ProtocolNic(protocolNic []IpamFhrpGroupsListProtocolIcParameterInner) ApiIpamFhrpGroupsListRequest { + r.protocolNic = &protocolNic + return r +} + +// * `vrrp2` - VRRPv2 * `vrrp3` - VRRPv3 * `carp` - CARP * `clusterxl` - ClusterXL * `hsrp` - HSRP * `glbp` - GLBP * `other` - Other +func (r ApiIpamFhrpGroupsListRequest) ProtocolNie(protocolNie []IpamFhrpGroupsListProtocolIcParameterInner) ApiIpamFhrpGroupsListRequest { + r.protocolNie = &protocolNie + return r +} + +// * `vrrp2` - VRRPv2 * `vrrp3` - VRRPv3 * `carp` - CARP * `clusterxl` - ClusterXL * `hsrp` - HSRP * `glbp` - GLBP * `other` - Other +func (r ApiIpamFhrpGroupsListRequest) ProtocolNiew(protocolNiew []IpamFhrpGroupsListProtocolIcParameterInner) ApiIpamFhrpGroupsListRequest { + r.protocolNiew = &protocolNiew + return r +} + +// * `vrrp2` - VRRPv2 * `vrrp3` - VRRPv3 * `carp` - CARP * `clusterxl` - ClusterXL * `hsrp` - HSRP * `glbp` - GLBP * `other` - Other +func (r ApiIpamFhrpGroupsListRequest) ProtocolNisw(protocolNisw []IpamFhrpGroupsListProtocolIcParameterInner) ApiIpamFhrpGroupsListRequest { + r.protocolNisw = &protocolNisw + return r +} + // Search func (r ApiIpamFhrpGroupsListRequest) Q(q string) ApiIpamFhrpGroupsListRequest { r.q = &q @@ -10063,6 +10177,53 @@ func (a *IpamAPIService) IpamFhrpGroupsListExecute(r ApiIpamFhrpGroupsListReques parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type", t, "multi") } } + if r.authTypeEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type__empty", r.authTypeEmpty, "") + } + if r.authTypeIc != nil { + t := *r.authTypeIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type__ic", t, "multi") + } + } + if r.authTypeIe != nil { + t := *r.authTypeIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type__ie", t, "multi") + } + } + if r.authTypeIew != nil { + t := *r.authTypeIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type__iew", t, "multi") + } + } + if r.authTypeIsw != nil { + t := *r.authTypeIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type__isw", t, "multi") + } + } if r.authTypeN != nil { t := *r.authTypeN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -10074,6 +10235,50 @@ func (a *IpamAPIService) IpamFhrpGroupsListExecute(r ApiIpamFhrpGroupsListReques parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type__n", t, "multi") } } + if r.authTypeNic != nil { + t := *r.authTypeNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type__nic", t, "multi") + } + } + if r.authTypeNie != nil { + t := *r.authTypeNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type__nie", t, "multi") + } + } + if r.authTypeNiew != nil { + t := *r.authTypeNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type__niew", t, "multi") + } + } + if r.authTypeNisw != nil { + t := *r.authTypeNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type__nisw", t, "multi") + } + } if r.created != nil { t := *r.created if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -10618,6 +10823,53 @@ func (a *IpamAPIService) IpamFhrpGroupsListExecute(r ApiIpamFhrpGroupsListReques parameterAddToHeaderOrQuery(localVarQueryParams, "protocol", t, "multi") } } + if r.protocolEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "protocol__empty", r.protocolEmpty, "") + } + if r.protocolIc != nil { + t := *r.protocolIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "protocol__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "protocol__ic", t, "multi") + } + } + if r.protocolIe != nil { + t := *r.protocolIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "protocol__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "protocol__ie", t, "multi") + } + } + if r.protocolIew != nil { + t := *r.protocolIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "protocol__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "protocol__iew", t, "multi") + } + } + if r.protocolIsw != nil { + t := *r.protocolIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "protocol__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "protocol__isw", t, "multi") + } + } if r.protocolN != nil { t := *r.protocolN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -10629,6 +10881,50 @@ func (a *IpamAPIService) IpamFhrpGroupsListExecute(r ApiIpamFhrpGroupsListReques parameterAddToHeaderOrQuery(localVarQueryParams, "protocol__n", t, "multi") } } + if r.protocolNic != nil { + t := *r.protocolNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "protocol__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "protocol__nic", t, "multi") + } + } + if r.protocolNie != nil { + t := *r.protocolNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "protocol__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "protocol__nie", t, "multi") + } + } + if r.protocolNiew != nil { + t := *r.protocolNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "protocol__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "protocol__niew", t, "multi") + } + } + if r.protocolNisw != nil { + t := *r.protocolNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "protocol__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "protocol__nisw", t, "multi") + } + } if r.q != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "") } @@ -11785,19 +12081,37 @@ type ApiIpamIpAddressesListRequest struct { presentInVrfId *string q *string role *[]string - roleN *[]string + roleEmpty *bool + roleIc *[]IpamIpAddressesListRoleIcParameterInner + roleIe *[]IpamIpAddressesListRoleIcParameterInner + roleIew *[]IpamIpAddressesListRoleIcParameterInner + roleIsw *[]IpamIpAddressesListRoleIcParameterInner + roleN *[]IpamIpAddressesListRoleIcParameterInner + roleNic *[]IpamIpAddressesListRoleIcParameterInner + roleNie *[]IpamIpAddressesListRoleIcParameterInner + roleNiew *[]IpamIpAddressesListRoleIcParameterInner + roleNisw *[]IpamIpAddressesListRoleIcParameterInner serviceId *[]int32 serviceIdN *[]int32 status *[]string - statusN *[]string + statusEmpty *bool + statusIc *[]IpamIpAddressesListStatusIcParameterInner + statusIe *[]IpamIpAddressesListStatusIcParameterInner + statusIew *[]IpamIpAddressesListStatusIcParameterInner + statusIsw *[]IpamIpAddressesListStatusIcParameterInner + statusN *[]IpamIpAddressesListStatusIcParameterInner + statusNic *[]IpamIpAddressesListStatusIcParameterInner + statusNie *[]IpamIpAddressesListStatusIcParameterInner + statusNiew *[]IpamIpAddressesListStatusIcParameterInner + statusNisw *[]IpamIpAddressesListStatusIcParameterInner tag *[]string tagN *[]string tenant *[]string tenantN *[]string - tenantGroup *[]int32 - tenantGroupN *[]int32 - tenantGroupId *[]int32 - tenantGroupIdN *[]int32 + tenantGroup *[]string + tenantGroupN *[]string + tenantGroupId *[]string + tenantGroupIdN *[]string tenantId *[]*int32 tenantIdN *[]*int32 updatedByRequest *string @@ -12223,12 +12537,65 @@ func (r ApiIpamIpAddressesListRequest) Role(role []string) ApiIpamIpAddressesLis return r } -// The functional role of this IP -func (r ApiIpamIpAddressesListRequest) RoleN(roleN []string) ApiIpamIpAddressesListRequest { +func (r ApiIpamIpAddressesListRequest) RoleEmpty(roleEmpty bool) ApiIpamIpAddressesListRequest { + r.roleEmpty = &roleEmpty + return r +} + +// The functional role of this IP * `loopback` - Loopback * `secondary` - Secondary * `anycast` - Anycast * `vip` - VIP * `vrrp` - VRRP * `hsrp` - HSRP * `glbp` - GLBP * `carp` - CARP +func (r ApiIpamIpAddressesListRequest) RoleIc(roleIc []IpamIpAddressesListRoleIcParameterInner) ApiIpamIpAddressesListRequest { + r.roleIc = &roleIc + return r +} + +// The functional role of this IP * `loopback` - Loopback * `secondary` - Secondary * `anycast` - Anycast * `vip` - VIP * `vrrp` - VRRP * `hsrp` - HSRP * `glbp` - GLBP * `carp` - CARP +func (r ApiIpamIpAddressesListRequest) RoleIe(roleIe []IpamIpAddressesListRoleIcParameterInner) ApiIpamIpAddressesListRequest { + r.roleIe = &roleIe + return r +} + +// The functional role of this IP * `loopback` - Loopback * `secondary` - Secondary * `anycast` - Anycast * `vip` - VIP * `vrrp` - VRRP * `hsrp` - HSRP * `glbp` - GLBP * `carp` - CARP +func (r ApiIpamIpAddressesListRequest) RoleIew(roleIew []IpamIpAddressesListRoleIcParameterInner) ApiIpamIpAddressesListRequest { + r.roleIew = &roleIew + return r +} + +// The functional role of this IP * `loopback` - Loopback * `secondary` - Secondary * `anycast` - Anycast * `vip` - VIP * `vrrp` - VRRP * `hsrp` - HSRP * `glbp` - GLBP * `carp` - CARP +func (r ApiIpamIpAddressesListRequest) RoleIsw(roleIsw []IpamIpAddressesListRoleIcParameterInner) ApiIpamIpAddressesListRequest { + r.roleIsw = &roleIsw + return r +} + +// The functional role of this IP * `loopback` - Loopback * `secondary` - Secondary * `anycast` - Anycast * `vip` - VIP * `vrrp` - VRRP * `hsrp` - HSRP * `glbp` - GLBP * `carp` - CARP +func (r ApiIpamIpAddressesListRequest) RoleN(roleN []IpamIpAddressesListRoleIcParameterInner) ApiIpamIpAddressesListRequest { r.roleN = &roleN return r } +// The functional role of this IP * `loopback` - Loopback * `secondary` - Secondary * `anycast` - Anycast * `vip` - VIP * `vrrp` - VRRP * `hsrp` - HSRP * `glbp` - GLBP * `carp` - CARP +func (r ApiIpamIpAddressesListRequest) RoleNic(roleNic []IpamIpAddressesListRoleIcParameterInner) ApiIpamIpAddressesListRequest { + r.roleNic = &roleNic + return r +} + +// The functional role of this IP * `loopback` - Loopback * `secondary` - Secondary * `anycast` - Anycast * `vip` - VIP * `vrrp` - VRRP * `hsrp` - HSRP * `glbp` - GLBP * `carp` - CARP +func (r ApiIpamIpAddressesListRequest) RoleNie(roleNie []IpamIpAddressesListRoleIcParameterInner) ApiIpamIpAddressesListRequest { + r.roleNie = &roleNie + return r +} + +// The functional role of this IP * `loopback` - Loopback * `secondary` - Secondary * `anycast` - Anycast * `vip` - VIP * `vrrp` - VRRP * `hsrp` - HSRP * `glbp` - GLBP * `carp` - CARP +func (r ApiIpamIpAddressesListRequest) RoleNiew(roleNiew []IpamIpAddressesListRoleIcParameterInner) ApiIpamIpAddressesListRequest { + r.roleNiew = &roleNiew + return r +} + +// The functional role of this IP * `loopback` - Loopback * `secondary` - Secondary * `anycast` - Anycast * `vip` - VIP * `vrrp` - VRRP * `hsrp` - HSRP * `glbp` - GLBP * `carp` - CARP +func (r ApiIpamIpAddressesListRequest) RoleNisw(roleNisw []IpamIpAddressesListRoleIcParameterInner) ApiIpamIpAddressesListRequest { + r.roleNisw = &roleNisw + return r +} + // Service (ID) func (r ApiIpamIpAddressesListRequest) ServiceId(serviceId []int32) ApiIpamIpAddressesListRequest { r.serviceId = &serviceId @@ -12247,12 +12614,65 @@ func (r ApiIpamIpAddressesListRequest) Status(status []string) ApiIpamIpAddresse return r } -// The operational status of this IP -func (r ApiIpamIpAddressesListRequest) StatusN(statusN []string) ApiIpamIpAddressesListRequest { +func (r ApiIpamIpAddressesListRequest) StatusEmpty(statusEmpty bool) ApiIpamIpAddressesListRequest { + r.statusEmpty = &statusEmpty + return r +} + +// The operational status of this IP * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated * `dhcp` - DHCP * `slaac` - SLAAC +func (r ApiIpamIpAddressesListRequest) StatusIc(statusIc []IpamIpAddressesListStatusIcParameterInner) ApiIpamIpAddressesListRequest { + r.statusIc = &statusIc + return r +} + +// The operational status of this IP * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated * `dhcp` - DHCP * `slaac` - SLAAC +func (r ApiIpamIpAddressesListRequest) StatusIe(statusIe []IpamIpAddressesListStatusIcParameterInner) ApiIpamIpAddressesListRequest { + r.statusIe = &statusIe + return r +} + +// The operational status of this IP * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated * `dhcp` - DHCP * `slaac` - SLAAC +func (r ApiIpamIpAddressesListRequest) StatusIew(statusIew []IpamIpAddressesListStatusIcParameterInner) ApiIpamIpAddressesListRequest { + r.statusIew = &statusIew + return r +} + +// The operational status of this IP * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated * `dhcp` - DHCP * `slaac` - SLAAC +func (r ApiIpamIpAddressesListRequest) StatusIsw(statusIsw []IpamIpAddressesListStatusIcParameterInner) ApiIpamIpAddressesListRequest { + r.statusIsw = &statusIsw + return r +} + +// The operational status of this IP * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated * `dhcp` - DHCP * `slaac` - SLAAC +func (r ApiIpamIpAddressesListRequest) StatusN(statusN []IpamIpAddressesListStatusIcParameterInner) ApiIpamIpAddressesListRequest { r.statusN = &statusN return r } +// The operational status of this IP * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated * `dhcp` - DHCP * `slaac` - SLAAC +func (r ApiIpamIpAddressesListRequest) StatusNic(statusNic []IpamIpAddressesListStatusIcParameterInner) ApiIpamIpAddressesListRequest { + r.statusNic = &statusNic + return r +} + +// The operational status of this IP * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated * `dhcp` - DHCP * `slaac` - SLAAC +func (r ApiIpamIpAddressesListRequest) StatusNie(statusNie []IpamIpAddressesListStatusIcParameterInner) ApiIpamIpAddressesListRequest { + r.statusNie = &statusNie + return r +} + +// The operational status of this IP * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated * `dhcp` - DHCP * `slaac` - SLAAC +func (r ApiIpamIpAddressesListRequest) StatusNiew(statusNiew []IpamIpAddressesListStatusIcParameterInner) ApiIpamIpAddressesListRequest { + r.statusNiew = &statusNiew + return r +} + +// The operational status of this IP * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated * `dhcp` - DHCP * `slaac` - SLAAC +func (r ApiIpamIpAddressesListRequest) StatusNisw(statusNisw []IpamIpAddressesListStatusIcParameterInner) ApiIpamIpAddressesListRequest { + r.statusNisw = &statusNisw + return r +} + func (r ApiIpamIpAddressesListRequest) Tag(tag []string) ApiIpamIpAddressesListRequest { r.tag = &tag return r @@ -12275,26 +12695,22 @@ func (r ApiIpamIpAddressesListRequest) TenantN(tenantN []string) ApiIpamIpAddres return r } -// Tenant Group (slug) -func (r ApiIpamIpAddressesListRequest) TenantGroup(tenantGroup []int32) ApiIpamIpAddressesListRequest { +func (r ApiIpamIpAddressesListRequest) TenantGroup(tenantGroup []string) ApiIpamIpAddressesListRequest { r.tenantGroup = &tenantGroup return r } -// Tenant Group (slug) -func (r ApiIpamIpAddressesListRequest) TenantGroupN(tenantGroupN []int32) ApiIpamIpAddressesListRequest { +func (r ApiIpamIpAddressesListRequest) TenantGroupN(tenantGroupN []string) ApiIpamIpAddressesListRequest { r.tenantGroupN = &tenantGroupN return r } -// Tenant Group (ID) -func (r ApiIpamIpAddressesListRequest) TenantGroupId(tenantGroupId []int32) ApiIpamIpAddressesListRequest { +func (r ApiIpamIpAddressesListRequest) TenantGroupId(tenantGroupId []string) ApiIpamIpAddressesListRequest { r.tenantGroupId = &tenantGroupId return r } -// Tenant Group (ID) -func (r ApiIpamIpAddressesListRequest) TenantGroupIdN(tenantGroupIdN []int32) ApiIpamIpAddressesListRequest { +func (r ApiIpamIpAddressesListRequest) TenantGroupIdN(tenantGroupIdN []string) ApiIpamIpAddressesListRequest { r.tenantGroupIdN = &tenantGroupIdN return r } @@ -13132,6 +13548,53 @@ func (a *IpamAPIService) IpamIpAddressesListExecute(r ApiIpamIpAddressesListRequ parameterAddToHeaderOrQuery(localVarQueryParams, "role", t, "multi") } } + if r.roleEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "role__empty", r.roleEmpty, "") + } + if r.roleIc != nil { + t := *r.roleIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "role__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "role__ic", t, "multi") + } + } + if r.roleIe != nil { + t := *r.roleIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "role__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "role__ie", t, "multi") + } + } + if r.roleIew != nil { + t := *r.roleIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "role__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "role__iew", t, "multi") + } + } + if r.roleIsw != nil { + t := *r.roleIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "role__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "role__isw", t, "multi") + } + } if r.roleN != nil { t := *r.roleN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -13143,6 +13606,50 @@ func (a *IpamAPIService) IpamIpAddressesListExecute(r ApiIpamIpAddressesListRequ parameterAddToHeaderOrQuery(localVarQueryParams, "role__n", t, "multi") } } + if r.roleNic != nil { + t := *r.roleNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "role__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "role__nic", t, "multi") + } + } + if r.roleNie != nil { + t := *r.roleNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "role__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "role__nie", t, "multi") + } + } + if r.roleNiew != nil { + t := *r.roleNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "role__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "role__niew", t, "multi") + } + } + if r.roleNisw != nil { + t := *r.roleNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "role__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "role__nisw", t, "multi") + } + } if r.serviceId != nil { t := *r.serviceId if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -13176,6 +13683,53 @@ func (a *IpamAPIService) IpamIpAddressesListExecute(r ApiIpamIpAddressesListRequ parameterAddToHeaderOrQuery(localVarQueryParams, "status", t, "multi") } } + if r.statusEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__empty", r.statusEmpty, "") + } + if r.statusIc != nil { + t := *r.statusIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ic", t, "multi") + } + } + if r.statusIe != nil { + t := *r.statusIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ie", t, "multi") + } + } + if r.statusIew != nil { + t := *r.statusIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__iew", t, "multi") + } + } + if r.statusIsw != nil { + t := *r.statusIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__isw", t, "multi") + } + } if r.statusN != nil { t := *r.statusN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -13187,6 +13741,50 @@ func (a *IpamAPIService) IpamIpAddressesListExecute(r ApiIpamIpAddressesListRequ parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", t, "multi") } } + if r.statusNic != nil { + t := *r.statusNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nic", t, "multi") + } + } + if r.statusNie != nil { + t := *r.statusNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nie", t, "multi") + } + } + if r.statusNiew != nil { + t := *r.statusNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__niew", t, "multi") + } + } + if r.statusNisw != nil { + t := *r.statusNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nisw", t, "multi") + } + } if r.tag != nil { t := *r.tag if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -14751,15 +15349,24 @@ type ApiIpamIpRangesListRequest struct { sizeN *[]int32 startAddress *[]string status *[]string - statusN *[]string + statusEmpty *bool + statusIc *[]IpamIpRangesListStatusIcParameterInner + statusIe *[]IpamIpRangesListStatusIcParameterInner + statusIew *[]IpamIpRangesListStatusIcParameterInner + statusIsw *[]IpamIpRangesListStatusIcParameterInner + statusN *[]IpamIpRangesListStatusIcParameterInner + statusNic *[]IpamIpRangesListStatusIcParameterInner + statusNie *[]IpamIpRangesListStatusIcParameterInner + statusNiew *[]IpamIpRangesListStatusIcParameterInner + statusNisw *[]IpamIpRangesListStatusIcParameterInner tag *[]string tagN *[]string tenant *[]string tenantN *[]string - tenantGroup *[]int32 - tenantGroupN *[]int32 - tenantGroupId *[]int32 - tenantGroupIdN *[]int32 + tenantGroup *[]string + tenantGroupN *[]string + tenantGroupId *[]string + tenantGroupIdN *[]string tenantId *[]*int32 tenantIdN *[]*int32 updatedByRequest *string @@ -15059,12 +15666,65 @@ func (r ApiIpamIpRangesListRequest) Status(status []string) ApiIpamIpRangesListR return r } -// Operational status of this range -func (r ApiIpamIpRangesListRequest) StatusN(statusN []string) ApiIpamIpRangesListRequest { +func (r ApiIpamIpRangesListRequest) StatusEmpty(statusEmpty bool) ApiIpamIpRangesListRequest { + r.statusEmpty = &statusEmpty + return r +} + +// Operational status of this range * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated +func (r ApiIpamIpRangesListRequest) StatusIc(statusIc []IpamIpRangesListStatusIcParameterInner) ApiIpamIpRangesListRequest { + r.statusIc = &statusIc + return r +} + +// Operational status of this range * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated +func (r ApiIpamIpRangesListRequest) StatusIe(statusIe []IpamIpRangesListStatusIcParameterInner) ApiIpamIpRangesListRequest { + r.statusIe = &statusIe + return r +} + +// Operational status of this range * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated +func (r ApiIpamIpRangesListRequest) StatusIew(statusIew []IpamIpRangesListStatusIcParameterInner) ApiIpamIpRangesListRequest { + r.statusIew = &statusIew + return r +} + +// Operational status of this range * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated +func (r ApiIpamIpRangesListRequest) StatusIsw(statusIsw []IpamIpRangesListStatusIcParameterInner) ApiIpamIpRangesListRequest { + r.statusIsw = &statusIsw + return r +} + +// Operational status of this range * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated +func (r ApiIpamIpRangesListRequest) StatusN(statusN []IpamIpRangesListStatusIcParameterInner) ApiIpamIpRangesListRequest { r.statusN = &statusN return r } +// Operational status of this range * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated +func (r ApiIpamIpRangesListRequest) StatusNic(statusNic []IpamIpRangesListStatusIcParameterInner) ApiIpamIpRangesListRequest { + r.statusNic = &statusNic + return r +} + +// Operational status of this range * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated +func (r ApiIpamIpRangesListRequest) StatusNie(statusNie []IpamIpRangesListStatusIcParameterInner) ApiIpamIpRangesListRequest { + r.statusNie = &statusNie + return r +} + +// Operational status of this range * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated +func (r ApiIpamIpRangesListRequest) StatusNiew(statusNiew []IpamIpRangesListStatusIcParameterInner) ApiIpamIpRangesListRequest { + r.statusNiew = &statusNiew + return r +} + +// Operational status of this range * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated +func (r ApiIpamIpRangesListRequest) StatusNisw(statusNisw []IpamIpRangesListStatusIcParameterInner) ApiIpamIpRangesListRequest { + r.statusNisw = &statusNisw + return r +} + func (r ApiIpamIpRangesListRequest) Tag(tag []string) ApiIpamIpRangesListRequest { r.tag = &tag return r @@ -15087,26 +15747,22 @@ func (r ApiIpamIpRangesListRequest) TenantN(tenantN []string) ApiIpamIpRangesLis return r } -// Tenant Group (slug) -func (r ApiIpamIpRangesListRequest) TenantGroup(tenantGroup []int32) ApiIpamIpRangesListRequest { +func (r ApiIpamIpRangesListRequest) TenantGroup(tenantGroup []string) ApiIpamIpRangesListRequest { r.tenantGroup = &tenantGroup return r } -// Tenant Group (slug) -func (r ApiIpamIpRangesListRequest) TenantGroupN(tenantGroupN []int32) ApiIpamIpRangesListRequest { +func (r ApiIpamIpRangesListRequest) TenantGroupN(tenantGroupN []string) ApiIpamIpRangesListRequest { r.tenantGroupN = &tenantGroupN return r } -// Tenant Group (ID) -func (r ApiIpamIpRangesListRequest) TenantGroupId(tenantGroupId []int32) ApiIpamIpRangesListRequest { +func (r ApiIpamIpRangesListRequest) TenantGroupId(tenantGroupId []string) ApiIpamIpRangesListRequest { r.tenantGroupId = &tenantGroupId return r } -// Tenant Group (ID) -func (r ApiIpamIpRangesListRequest) TenantGroupIdN(tenantGroupIdN []int32) ApiIpamIpRangesListRequest { +func (r ApiIpamIpRangesListRequest) TenantGroupIdN(tenantGroupIdN []string) ApiIpamIpRangesListRequest { r.tenantGroupIdN = &tenantGroupIdN return r } @@ -15713,6 +16369,53 @@ func (a *IpamAPIService) IpamIpRangesListExecute(r ApiIpamIpRangesListRequest) ( parameterAddToHeaderOrQuery(localVarQueryParams, "status", t, "multi") } } + if r.statusEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__empty", r.statusEmpty, "") + } + if r.statusIc != nil { + t := *r.statusIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ic", t, "multi") + } + } + if r.statusIe != nil { + t := *r.statusIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ie", t, "multi") + } + } + if r.statusIew != nil { + t := *r.statusIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__iew", t, "multi") + } + } + if r.statusIsw != nil { + t := *r.statusIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__isw", t, "multi") + } + } if r.statusN != nil { t := *r.statusN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -15724,6 +16427,50 @@ func (a *IpamAPIService) IpamIpRangesListExecute(r ApiIpamIpRangesListRequest) ( parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", t, "multi") } } + if r.statusNic != nil { + t := *r.statusNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nic", t, "multi") + } + } + if r.statusNie != nil { + t := *r.statusNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nie", t, "multi") + } + } + if r.statusNiew != nil { + t := *r.statusNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__niew", t, "multi") + } + } + if r.statusNisw != nil { + t := *r.statusNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nisw", t, "multi") + } + } if r.tag != nil { t := *r.tag if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -17475,32 +18222,41 @@ type ApiIpamPrefixesListRequest struct { presentInVrf *string presentInVrfId *string q *string - region *[]int32 - regionN *[]int32 - regionId *[]int32 - regionIdN *[]int32 + region *[]string + regionN *[]string + regionId *[]string + regionIdN *[]string role *[]string roleN *[]string roleId *[]*int32 roleIdN *[]*int32 site *[]string siteN *[]string - siteGroup *[]int32 - siteGroupN *[]int32 - siteGroupId *[]int32 - siteGroupIdN *[]int32 + siteGroup *[]string + siteGroupN *[]string + siteGroupId *[]string + siteGroupIdN *[]string siteId *[]*int32 siteIdN *[]*int32 status *[]string - statusN *[]string + statusEmpty *bool + statusIc *[]IpamPrefixesListStatusIcParameterInner + statusIe *[]IpamPrefixesListStatusIcParameterInner + statusIew *[]IpamPrefixesListStatusIcParameterInner + statusIsw *[]IpamPrefixesListStatusIcParameterInner + statusN *[]IpamPrefixesListStatusIcParameterInner + statusNic *[]IpamPrefixesListStatusIcParameterInner + statusNie *[]IpamPrefixesListStatusIcParameterInner + statusNiew *[]IpamPrefixesListStatusIcParameterInner + statusNisw *[]IpamPrefixesListStatusIcParameterInner tag *[]string tagN *[]string tenant *[]string tenantN *[]string - tenantGroup *[]int32 - tenantGroupN *[]int32 - tenantGroupId *[]int32 - tenantGroupIdN *[]int32 + tenantGroup *[]string + tenantGroupN *[]string + tenantGroupId *[]string + tenantGroupIdN *[]string tenantId *[]*int32 tenantIdN *[]*int32 updatedByRequest *string @@ -17836,26 +18592,22 @@ func (r ApiIpamPrefixesListRequest) Q(q string) ApiIpamPrefixesListRequest { return r } -// Region (slug) -func (r ApiIpamPrefixesListRequest) Region(region []int32) ApiIpamPrefixesListRequest { +func (r ApiIpamPrefixesListRequest) Region(region []string) ApiIpamPrefixesListRequest { r.region = ®ion return r } -// Region (slug) -func (r ApiIpamPrefixesListRequest) RegionN(regionN []int32) ApiIpamPrefixesListRequest { +func (r ApiIpamPrefixesListRequest) RegionN(regionN []string) ApiIpamPrefixesListRequest { r.regionN = ®ionN return r } -// Region (ID) -func (r ApiIpamPrefixesListRequest) RegionId(regionId []int32) ApiIpamPrefixesListRequest { +func (r ApiIpamPrefixesListRequest) RegionId(regionId []string) ApiIpamPrefixesListRequest { r.regionId = ®ionId return r } -// Region (ID) -func (r ApiIpamPrefixesListRequest) RegionIdN(regionIdN []int32) ApiIpamPrefixesListRequest { +func (r ApiIpamPrefixesListRequest) RegionIdN(regionIdN []string) ApiIpamPrefixesListRequest { r.regionIdN = ®ionIdN return r } @@ -17896,26 +18648,22 @@ func (r ApiIpamPrefixesListRequest) SiteN(siteN []string) ApiIpamPrefixesListReq return r } -// Site group (slug) -func (r ApiIpamPrefixesListRequest) SiteGroup(siteGroup []int32) ApiIpamPrefixesListRequest { +func (r ApiIpamPrefixesListRequest) SiteGroup(siteGroup []string) ApiIpamPrefixesListRequest { r.siteGroup = &siteGroup return r } -// Site group (slug) -func (r ApiIpamPrefixesListRequest) SiteGroupN(siteGroupN []int32) ApiIpamPrefixesListRequest { +func (r ApiIpamPrefixesListRequest) SiteGroupN(siteGroupN []string) ApiIpamPrefixesListRequest { r.siteGroupN = &siteGroupN return r } -// Site group (ID) -func (r ApiIpamPrefixesListRequest) SiteGroupId(siteGroupId []int32) ApiIpamPrefixesListRequest { +func (r ApiIpamPrefixesListRequest) SiteGroupId(siteGroupId []string) ApiIpamPrefixesListRequest { r.siteGroupId = &siteGroupId return r } -// Site group (ID) -func (r ApiIpamPrefixesListRequest) SiteGroupIdN(siteGroupIdN []int32) ApiIpamPrefixesListRequest { +func (r ApiIpamPrefixesListRequest) SiteGroupIdN(siteGroupIdN []string) ApiIpamPrefixesListRequest { r.siteGroupIdN = &siteGroupIdN return r } @@ -17938,12 +18686,65 @@ func (r ApiIpamPrefixesListRequest) Status(status []string) ApiIpamPrefixesListR return r } -// Operational status of this prefix -func (r ApiIpamPrefixesListRequest) StatusN(statusN []string) ApiIpamPrefixesListRequest { +func (r ApiIpamPrefixesListRequest) StatusEmpty(statusEmpty bool) ApiIpamPrefixesListRequest { + r.statusEmpty = &statusEmpty + return r +} + +// Operational status of this prefix * `container` - Container * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated +func (r ApiIpamPrefixesListRequest) StatusIc(statusIc []IpamPrefixesListStatusIcParameterInner) ApiIpamPrefixesListRequest { + r.statusIc = &statusIc + return r +} + +// Operational status of this prefix * `container` - Container * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated +func (r ApiIpamPrefixesListRequest) StatusIe(statusIe []IpamPrefixesListStatusIcParameterInner) ApiIpamPrefixesListRequest { + r.statusIe = &statusIe + return r +} + +// Operational status of this prefix * `container` - Container * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated +func (r ApiIpamPrefixesListRequest) StatusIew(statusIew []IpamPrefixesListStatusIcParameterInner) ApiIpamPrefixesListRequest { + r.statusIew = &statusIew + return r +} + +// Operational status of this prefix * `container` - Container * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated +func (r ApiIpamPrefixesListRequest) StatusIsw(statusIsw []IpamPrefixesListStatusIcParameterInner) ApiIpamPrefixesListRequest { + r.statusIsw = &statusIsw + return r +} + +// Operational status of this prefix * `container` - Container * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated +func (r ApiIpamPrefixesListRequest) StatusN(statusN []IpamPrefixesListStatusIcParameterInner) ApiIpamPrefixesListRequest { r.statusN = &statusN return r } +// Operational status of this prefix * `container` - Container * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated +func (r ApiIpamPrefixesListRequest) StatusNic(statusNic []IpamPrefixesListStatusIcParameterInner) ApiIpamPrefixesListRequest { + r.statusNic = &statusNic + return r +} + +// Operational status of this prefix * `container` - Container * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated +func (r ApiIpamPrefixesListRequest) StatusNie(statusNie []IpamPrefixesListStatusIcParameterInner) ApiIpamPrefixesListRequest { + r.statusNie = &statusNie + return r +} + +// Operational status of this prefix * `container` - Container * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated +func (r ApiIpamPrefixesListRequest) StatusNiew(statusNiew []IpamPrefixesListStatusIcParameterInner) ApiIpamPrefixesListRequest { + r.statusNiew = &statusNiew + return r +} + +// Operational status of this prefix * `container` - Container * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated +func (r ApiIpamPrefixesListRequest) StatusNisw(statusNisw []IpamPrefixesListStatusIcParameterInner) ApiIpamPrefixesListRequest { + r.statusNisw = &statusNisw + return r +} + func (r ApiIpamPrefixesListRequest) Tag(tag []string) ApiIpamPrefixesListRequest { r.tag = &tag return r @@ -17966,26 +18767,22 @@ func (r ApiIpamPrefixesListRequest) TenantN(tenantN []string) ApiIpamPrefixesLis return r } -// Tenant Group (slug) -func (r ApiIpamPrefixesListRequest) TenantGroup(tenantGroup []int32) ApiIpamPrefixesListRequest { +func (r ApiIpamPrefixesListRequest) TenantGroup(tenantGroup []string) ApiIpamPrefixesListRequest { r.tenantGroup = &tenantGroup return r } -// Tenant Group (slug) -func (r ApiIpamPrefixesListRequest) TenantGroupN(tenantGroupN []int32) ApiIpamPrefixesListRequest { +func (r ApiIpamPrefixesListRequest) TenantGroupN(tenantGroupN []string) ApiIpamPrefixesListRequest { r.tenantGroupN = &tenantGroupN return r } -// Tenant Group (ID) -func (r ApiIpamPrefixesListRequest) TenantGroupId(tenantGroupId []int32) ApiIpamPrefixesListRequest { +func (r ApiIpamPrefixesListRequest) TenantGroupId(tenantGroupId []string) ApiIpamPrefixesListRequest { r.tenantGroupId = &tenantGroupId return r } -// Tenant Group (ID) -func (r ApiIpamPrefixesListRequest) TenantGroupIdN(tenantGroupIdN []int32) ApiIpamPrefixesListRequest { +func (r ApiIpamPrefixesListRequest) TenantGroupIdN(tenantGroupIdN []string) ApiIpamPrefixesListRequest { r.tenantGroupIdN = &tenantGroupIdN return r } @@ -18879,6 +19676,53 @@ func (a *IpamAPIService) IpamPrefixesListExecute(r ApiIpamPrefixesListRequest) ( parameterAddToHeaderOrQuery(localVarQueryParams, "status", t, "multi") } } + if r.statusEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__empty", r.statusEmpty, "") + } + if r.statusIc != nil { + t := *r.statusIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ic", t, "multi") + } + } + if r.statusIe != nil { + t := *r.statusIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ie", t, "multi") + } + } + if r.statusIew != nil { + t := *r.statusIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__iew", t, "multi") + } + } + if r.statusIsw != nil { + t := *r.statusIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__isw", t, "multi") + } + } if r.statusN != nil { t := *r.statusN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -18890,6 +19734,50 @@ func (a *IpamAPIService) IpamPrefixesListExecute(r ApiIpamPrefixesListRequest) ( parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", t, "multi") } } + if r.statusNic != nil { + t := *r.statusNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nic", t, "multi") + } + } + if r.statusNie != nil { + t := *r.statusNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nie", t, "multi") + } + } + if r.statusNiew != nil { + t := *r.statusNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__niew", t, "multi") + } + } + if r.statusNisw != nil { + t := *r.statusNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nisw", t, "multi") + } + } if r.tag != nil { t := *r.tag if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -24459,10 +25347,10 @@ type ApiIpamRouteTargetsListRequest struct { tagN *[]string tenant *[]string tenantN *[]string - tenantGroup *[]int32 - tenantGroupN *[]int32 - tenantGroupId *[]int32 - tenantGroupIdN *[]int32 + tenantGroup *[]string + tenantGroupN *[]string + tenantGroupId *[]string + tenantGroupIdN *[]string tenantId *[]*int32 tenantIdN *[]*int32 updatedByRequest *string @@ -24835,26 +25723,22 @@ func (r ApiIpamRouteTargetsListRequest) TenantN(tenantN []string) ApiIpamRouteTa return r } -// Tenant Group (slug) -func (r ApiIpamRouteTargetsListRequest) TenantGroup(tenantGroup []int32) ApiIpamRouteTargetsListRequest { +func (r ApiIpamRouteTargetsListRequest) TenantGroup(tenantGroup []string) ApiIpamRouteTargetsListRequest { r.tenantGroup = &tenantGroup return r } -// Tenant Group (slug) -func (r ApiIpamRouteTargetsListRequest) TenantGroupN(tenantGroupN []int32) ApiIpamRouteTargetsListRequest { +func (r ApiIpamRouteTargetsListRequest) TenantGroupN(tenantGroupN []string) ApiIpamRouteTargetsListRequest { r.tenantGroupN = &tenantGroupN return r } -// Tenant Group (ID) -func (r ApiIpamRouteTargetsListRequest) TenantGroupId(tenantGroupId []int32) ApiIpamRouteTargetsListRequest { +func (r ApiIpamRouteTargetsListRequest) TenantGroupId(tenantGroupId []string) ApiIpamRouteTargetsListRequest { r.tenantGroupId = &tenantGroupId return r } -// Tenant Group (ID) -func (r ApiIpamRouteTargetsListRequest) TenantGroupIdN(tenantGroupIdN []int32) ApiIpamRouteTargetsListRequest { +func (r ApiIpamRouteTargetsListRequest) TenantGroupIdN(tenantGroupIdN []string) ApiIpamRouteTargetsListRequest { r.tenantGroupIdN = &tenantGroupIdN return r } @@ -26761,7 +27645,6 @@ type ApiIpamServiceTemplatesListRequest struct { ordering *string port *float32 protocol *IpamServiceTemplatesListProtocolParameter - protocolN *IpamServiceTemplatesListProtocolParameter q *string tag *[]string tagN *[]string @@ -27022,12 +27905,6 @@ func (r ApiIpamServiceTemplatesListRequest) Protocol(protocol IpamServiceTemplat return r } -// * `tcp` - TCP * `udp` - UDP * `sctp` - SCTP -func (r ApiIpamServiceTemplatesListRequest) ProtocolN(protocolN IpamServiceTemplatesListProtocolParameter) ApiIpamServiceTemplatesListRequest { - r.protocolN = &protocolN - return r -} - // Search func (r ApiIpamServiceTemplatesListRequest) Q(q string) ApiIpamServiceTemplatesListRequest { r.q = &q @@ -27560,9 +28437,6 @@ func (a *IpamAPIService) IpamServiceTemplatesListExecute(r ApiIpamServiceTemplat if r.protocol != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "protocol", r.protocol, "") } - if r.protocolN != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "protocol__n", r.protocolN, "") - } if r.q != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "") } @@ -28663,10 +29537,6 @@ type ApiIpamServicesListRequest struct { ipAddressN *[]string ipAddressId *[]int32 ipAddressIdN *[]int32 - ipaddress *[]string - ipaddressN *[]string - ipaddressId *[]int32 - ipaddressIdN *[]int32 lastUpdated *[]time.Time lastUpdatedEmpty *[]time.Time lastUpdatedGt *[]time.Time @@ -28691,7 +29561,6 @@ type ApiIpamServicesListRequest struct { ordering *string port *float32 protocol *IpamServiceTemplatesListProtocolParameter - protocolN *IpamServiceTemplatesListProtocolParameter q *string tag *[]string tagN *[]string @@ -28880,30 +29749,6 @@ func (r ApiIpamServicesListRequest) IpAddressIdN(ipAddressIdN []int32) ApiIpamSe return r } -// IP address -func (r ApiIpamServicesListRequest) Ipaddress(ipaddress []string) ApiIpamServicesListRequest { - r.ipaddress = &ipaddress - return r -} - -// IP address -func (r ApiIpamServicesListRequest) IpaddressN(ipaddressN []string) ApiIpamServicesListRequest { - r.ipaddressN = &ipaddressN - return r -} - -// IP address (ID) -func (r ApiIpamServicesListRequest) IpaddressId(ipaddressId []int32) ApiIpamServicesListRequest { - r.ipaddressId = &ipaddressId - return r -} - -// IP address (ID) -func (r ApiIpamServicesListRequest) IpaddressIdN(ipaddressIdN []int32) ApiIpamServicesListRequest { - r.ipaddressIdN = &ipaddressIdN - return r -} - func (r ApiIpamServicesListRequest) LastUpdated(lastUpdated []time.Time) ApiIpamServicesListRequest { r.lastUpdated = &lastUpdated return r @@ -29028,12 +29873,6 @@ func (r ApiIpamServicesListRequest) Protocol(protocol IpamServiceTemplatesListPr return r } -// * `tcp` - TCP * `udp` - UDP * `sctp` - SCTP -func (r ApiIpamServicesListRequest) ProtocolN(protocolN IpamServiceTemplatesListProtocolParameter) ApiIpamServicesListRequest { - r.protocolN = &protocolN - return r -} - // Search func (r ApiIpamServicesListRequest) Q(q string) ApiIpamServicesListRequest { r.q = &q @@ -29470,50 +30309,6 @@ func (a *IpamAPIService) IpamServicesListExecute(r ApiIpamServicesListRequest) ( parameterAddToHeaderOrQuery(localVarQueryParams, "ip_address_id__n", t, "multi") } } - if r.ipaddress != nil { - t := *r.ipaddress - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "ipaddress", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "ipaddress", t, "multi") - } - } - if r.ipaddressN != nil { - t := *r.ipaddressN - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "ipaddress__n", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "ipaddress__n", t, "multi") - } - } - if r.ipaddressId != nil { - t := *r.ipaddressId - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "ipaddress_id", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "ipaddress_id", t, "multi") - } - } - if r.ipaddressIdN != nil { - t := *r.ipaddressIdN - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "ipaddress_id__n", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "ipaddress_id__n", t, "multi") - } - } if r.lastUpdated != nil { t := *r.lastUpdated if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -29722,9 +30517,6 @@ func (a *IpamAPIService) IpamServicesListExecute(r ApiIpamServicesListRequest) ( if r.protocol != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "protocol", r.protocol, "") } - if r.protocolN != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "protocol__n", r.protocolN, "") - } if r.q != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "") } @@ -31084,7 +31876,7 @@ type ApiIpamVlanGroupsListRequest struct { ApiService *IpamAPIService cluster *int32 clusterGroup *int32 - clustergroup *int32 + containsVid *float32 created *[]time.Time createdEmpty *[]time.Time createdGt *[]time.Time @@ -31120,20 +31912,6 @@ type ApiIpamVlanGroupsListRequest struct { lastUpdatedN *[]time.Time limit *int32 location *int32 - maxVid *[]int32 - maxVidEmpty *bool - maxVidGt *[]int32 - maxVidGte *[]int32 - maxVidLt *[]int32 - maxVidLte *[]int32 - maxVidN *[]int32 - minVid *[]int32 - minVidEmpty *bool - minVidGt *[]int32 - minVidGte *[]int32 - minVidLt *[]int32 - minVidLte *[]int32 - minVidN *[]int32 modifiedByRequest *string name *[]string nameEmpty *bool @@ -31162,7 +31940,6 @@ type ApiIpamVlanGroupsListRequest struct { scopeTypeN *string site *int32 siteGroup *int32 - sitegroup *int32 slug *[]string slugEmpty *bool slugIc *[]string @@ -31189,8 +31966,8 @@ func (r ApiIpamVlanGroupsListRequest) ClusterGroup(clusterGroup int32) ApiIpamVl return r } -func (r ApiIpamVlanGroupsListRequest) Clustergroup(clustergroup int32) ApiIpamVlanGroupsListRequest { - r.clustergroup = &clustergroup +func (r ApiIpamVlanGroupsListRequest) ContainsVid(containsVid float32) ApiIpamVlanGroupsListRequest { + r.containsVid = &containsVid return r } @@ -31370,76 +32147,6 @@ func (r ApiIpamVlanGroupsListRequest) Location(location int32) ApiIpamVlanGroups return r } -func (r ApiIpamVlanGroupsListRequest) MaxVid(maxVid []int32) ApiIpamVlanGroupsListRequest { - r.maxVid = &maxVid - return r -} - -func (r ApiIpamVlanGroupsListRequest) MaxVidEmpty(maxVidEmpty bool) ApiIpamVlanGroupsListRequest { - r.maxVidEmpty = &maxVidEmpty - return r -} - -func (r ApiIpamVlanGroupsListRequest) MaxVidGt(maxVidGt []int32) ApiIpamVlanGroupsListRequest { - r.maxVidGt = &maxVidGt - return r -} - -func (r ApiIpamVlanGroupsListRequest) MaxVidGte(maxVidGte []int32) ApiIpamVlanGroupsListRequest { - r.maxVidGte = &maxVidGte - return r -} - -func (r ApiIpamVlanGroupsListRequest) MaxVidLt(maxVidLt []int32) ApiIpamVlanGroupsListRequest { - r.maxVidLt = &maxVidLt - return r -} - -func (r ApiIpamVlanGroupsListRequest) MaxVidLte(maxVidLte []int32) ApiIpamVlanGroupsListRequest { - r.maxVidLte = &maxVidLte - return r -} - -func (r ApiIpamVlanGroupsListRequest) MaxVidN(maxVidN []int32) ApiIpamVlanGroupsListRequest { - r.maxVidN = &maxVidN - return r -} - -func (r ApiIpamVlanGroupsListRequest) MinVid(minVid []int32) ApiIpamVlanGroupsListRequest { - r.minVid = &minVid - return r -} - -func (r ApiIpamVlanGroupsListRequest) MinVidEmpty(minVidEmpty bool) ApiIpamVlanGroupsListRequest { - r.minVidEmpty = &minVidEmpty - return r -} - -func (r ApiIpamVlanGroupsListRequest) MinVidGt(minVidGt []int32) ApiIpamVlanGroupsListRequest { - r.minVidGt = &minVidGt - return r -} - -func (r ApiIpamVlanGroupsListRequest) MinVidGte(minVidGte []int32) ApiIpamVlanGroupsListRequest { - r.minVidGte = &minVidGte - return r -} - -func (r ApiIpamVlanGroupsListRequest) MinVidLt(minVidLt []int32) ApiIpamVlanGroupsListRequest { - r.minVidLt = &minVidLt - return r -} - -func (r ApiIpamVlanGroupsListRequest) MinVidLte(minVidLte []int32) ApiIpamVlanGroupsListRequest { - r.minVidLte = &minVidLte - return r -} - -func (r ApiIpamVlanGroupsListRequest) MinVidN(minVidN []int32) ApiIpamVlanGroupsListRequest { - r.minVidN = &minVidN - return r -} - func (r ApiIpamVlanGroupsListRequest) ModifiedByRequest(modifiedByRequest string) ApiIpamVlanGroupsListRequest { r.modifiedByRequest = &modifiedByRequest return r @@ -31583,11 +32290,6 @@ func (r ApiIpamVlanGroupsListRequest) SiteGroup(siteGroup int32) ApiIpamVlanGrou return r } -func (r ApiIpamVlanGroupsListRequest) Sitegroup(sitegroup int32) ApiIpamVlanGroupsListRequest { - r.sitegroup = &sitegroup - return r -} - func (r ApiIpamVlanGroupsListRequest) Slug(slug []string) ApiIpamVlanGroupsListRequest { r.slug = &slug return r @@ -31705,8 +32407,8 @@ func (a *IpamAPIService) IpamVlanGroupsListExecute(r ApiIpamVlanGroupsListReques if r.clusterGroup != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "cluster_group", r.clusterGroup, "") } - if r.clustergroup != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "clustergroup", r.clustergroup, "") + if r.containsVid != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "contains_vid", r.containsVid, "") } if r.created != nil { t := *r.created @@ -32053,144 +32755,6 @@ func (a *IpamAPIService) IpamVlanGroupsListExecute(r ApiIpamVlanGroupsListReques if r.location != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "location", r.location, "") } - if r.maxVid != nil { - t := *r.maxVid - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "max_vid", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "max_vid", t, "multi") - } - } - if r.maxVidEmpty != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "max_vid__empty", r.maxVidEmpty, "") - } - if r.maxVidGt != nil { - t := *r.maxVidGt - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "max_vid__gt", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "max_vid__gt", t, "multi") - } - } - if r.maxVidGte != nil { - t := *r.maxVidGte - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "max_vid__gte", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "max_vid__gte", t, "multi") - } - } - if r.maxVidLt != nil { - t := *r.maxVidLt - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "max_vid__lt", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "max_vid__lt", t, "multi") - } - } - if r.maxVidLte != nil { - t := *r.maxVidLte - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "max_vid__lte", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "max_vid__lte", t, "multi") - } - } - if r.maxVidN != nil { - t := *r.maxVidN - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "max_vid__n", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "max_vid__n", t, "multi") - } - } - if r.minVid != nil { - t := *r.minVid - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "min_vid", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "min_vid", t, "multi") - } - } - if r.minVidEmpty != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "min_vid__empty", r.minVidEmpty, "") - } - if r.minVidGt != nil { - t := *r.minVidGt - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "min_vid__gt", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "min_vid__gt", t, "multi") - } - } - if r.minVidGte != nil { - t := *r.minVidGte - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "min_vid__gte", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "min_vid__gte", t, "multi") - } - } - if r.minVidLt != nil { - t := *r.minVidLt - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "min_vid__lt", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "min_vid__lt", t, "multi") - } - } - if r.minVidLte != nil { - t := *r.minVidLte - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "min_vid__lte", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "min_vid__lte", t, "multi") - } - } - if r.minVidN != nil { - t := *r.minVidN - if reflect.TypeOf(t).Kind() == reflect.Slice { - s := reflect.ValueOf(t) - for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "min_vid__n", s.Index(i).Interface(), "multi") - } - } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "min_vid__n", t, "multi") - } - } if r.modifiedByRequest != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "modified_by_request", r.modifiedByRequest, "") } @@ -32403,9 +32967,6 @@ func (a *IpamAPIService) IpamVlanGroupsListExecute(r ApiIpamVlanGroupsListReques if r.siteGroup != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "site_group", r.siteGroup, "") } - if r.sitegroup != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "sitegroup", r.sitegroup, "") - } if r.slug != nil { t := *r.slug if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -33642,32 +34203,41 @@ type ApiIpamVlansListRequest struct { offset *int32 ordering *string q *string - region *[]int32 - regionN *[]int32 - regionId *[]int32 - regionIdN *[]int32 + region *[]string + regionN *[]string + regionId *[]string + regionIdN *[]string role *[]string roleN *[]string roleId *[]*int32 roleIdN *[]*int32 site *[]string siteN *[]string - siteGroup *[]int32 - siteGroupN *[]int32 - siteGroupId *[]int32 - siteGroupIdN *[]int32 + siteGroup *[]string + siteGroupN *[]string + siteGroupId *[]string + siteGroupIdN *[]string siteId *[]*int32 siteIdN *[]*int32 status *[]string - statusN *[]string + statusEmpty *bool + statusIc *[]IpamIpRangesListStatusIcParameterInner + statusIe *[]IpamIpRangesListStatusIcParameterInner + statusIew *[]IpamIpRangesListStatusIcParameterInner + statusIsw *[]IpamIpRangesListStatusIcParameterInner + statusN *[]IpamIpRangesListStatusIcParameterInner + statusNic *[]IpamIpRangesListStatusIcParameterInner + statusNie *[]IpamIpRangesListStatusIcParameterInner + statusNiew *[]IpamIpRangesListStatusIcParameterInner + statusNisw *[]IpamIpRangesListStatusIcParameterInner tag *[]string tagN *[]string tenant *[]string tenantN *[]string - tenantGroup *[]int32 - tenantGroupN *[]int32 - tenantGroupId *[]int32 - tenantGroupIdN *[]int32 + tenantGroup *[]string + tenantGroupN *[]string + tenantGroupId *[]string + tenantGroupIdN *[]string tenantId *[]*int32 tenantIdN *[]*int32 updatedByRequest *string @@ -33992,26 +34562,22 @@ func (r ApiIpamVlansListRequest) Q(q string) ApiIpamVlansListRequest { return r } -// Region (slug) -func (r ApiIpamVlansListRequest) Region(region []int32) ApiIpamVlansListRequest { +func (r ApiIpamVlansListRequest) Region(region []string) ApiIpamVlansListRequest { r.region = ®ion return r } -// Region (slug) -func (r ApiIpamVlansListRequest) RegionN(regionN []int32) ApiIpamVlansListRequest { +func (r ApiIpamVlansListRequest) RegionN(regionN []string) ApiIpamVlansListRequest { r.regionN = ®ionN return r } -// Region (ID) -func (r ApiIpamVlansListRequest) RegionId(regionId []int32) ApiIpamVlansListRequest { +func (r ApiIpamVlansListRequest) RegionId(regionId []string) ApiIpamVlansListRequest { r.regionId = ®ionId return r } -// Region (ID) -func (r ApiIpamVlansListRequest) RegionIdN(regionIdN []int32) ApiIpamVlansListRequest { +func (r ApiIpamVlansListRequest) RegionIdN(regionIdN []string) ApiIpamVlansListRequest { r.regionIdN = ®ionIdN return r } @@ -34052,26 +34618,22 @@ func (r ApiIpamVlansListRequest) SiteN(siteN []string) ApiIpamVlansListRequest { return r } -// Site group (slug) -func (r ApiIpamVlansListRequest) SiteGroup(siteGroup []int32) ApiIpamVlansListRequest { +func (r ApiIpamVlansListRequest) SiteGroup(siteGroup []string) ApiIpamVlansListRequest { r.siteGroup = &siteGroup return r } -// Site group (slug) -func (r ApiIpamVlansListRequest) SiteGroupN(siteGroupN []int32) ApiIpamVlansListRequest { +func (r ApiIpamVlansListRequest) SiteGroupN(siteGroupN []string) ApiIpamVlansListRequest { r.siteGroupN = &siteGroupN return r } -// Site group (ID) -func (r ApiIpamVlansListRequest) SiteGroupId(siteGroupId []int32) ApiIpamVlansListRequest { +func (r ApiIpamVlansListRequest) SiteGroupId(siteGroupId []string) ApiIpamVlansListRequest { r.siteGroupId = &siteGroupId return r } -// Site group (ID) -func (r ApiIpamVlansListRequest) SiteGroupIdN(siteGroupIdN []int32) ApiIpamVlansListRequest { +func (r ApiIpamVlansListRequest) SiteGroupIdN(siteGroupIdN []string) ApiIpamVlansListRequest { r.siteGroupIdN = &siteGroupIdN return r } @@ -34094,12 +34656,65 @@ func (r ApiIpamVlansListRequest) Status(status []string) ApiIpamVlansListRequest return r } -// Operational status of this VLAN -func (r ApiIpamVlansListRequest) StatusN(statusN []string) ApiIpamVlansListRequest { +func (r ApiIpamVlansListRequest) StatusEmpty(statusEmpty bool) ApiIpamVlansListRequest { + r.statusEmpty = &statusEmpty + return r +} + +// Operational status of this VLAN * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated +func (r ApiIpamVlansListRequest) StatusIc(statusIc []IpamIpRangesListStatusIcParameterInner) ApiIpamVlansListRequest { + r.statusIc = &statusIc + return r +} + +// Operational status of this VLAN * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated +func (r ApiIpamVlansListRequest) StatusIe(statusIe []IpamIpRangesListStatusIcParameterInner) ApiIpamVlansListRequest { + r.statusIe = &statusIe + return r +} + +// Operational status of this VLAN * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated +func (r ApiIpamVlansListRequest) StatusIew(statusIew []IpamIpRangesListStatusIcParameterInner) ApiIpamVlansListRequest { + r.statusIew = &statusIew + return r +} + +// Operational status of this VLAN * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated +func (r ApiIpamVlansListRequest) StatusIsw(statusIsw []IpamIpRangesListStatusIcParameterInner) ApiIpamVlansListRequest { + r.statusIsw = &statusIsw + return r +} + +// Operational status of this VLAN * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated +func (r ApiIpamVlansListRequest) StatusN(statusN []IpamIpRangesListStatusIcParameterInner) ApiIpamVlansListRequest { r.statusN = &statusN return r } +// Operational status of this VLAN * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated +func (r ApiIpamVlansListRequest) StatusNic(statusNic []IpamIpRangesListStatusIcParameterInner) ApiIpamVlansListRequest { + r.statusNic = &statusNic + return r +} + +// Operational status of this VLAN * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated +func (r ApiIpamVlansListRequest) StatusNie(statusNie []IpamIpRangesListStatusIcParameterInner) ApiIpamVlansListRequest { + r.statusNie = &statusNie + return r +} + +// Operational status of this VLAN * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated +func (r ApiIpamVlansListRequest) StatusNiew(statusNiew []IpamIpRangesListStatusIcParameterInner) ApiIpamVlansListRequest { + r.statusNiew = &statusNiew + return r +} + +// Operational status of this VLAN * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated +func (r ApiIpamVlansListRequest) StatusNisw(statusNisw []IpamIpRangesListStatusIcParameterInner) ApiIpamVlansListRequest { + r.statusNisw = &statusNisw + return r +} + func (r ApiIpamVlansListRequest) Tag(tag []string) ApiIpamVlansListRequest { r.tag = &tag return r @@ -34122,26 +34737,22 @@ func (r ApiIpamVlansListRequest) TenantN(tenantN []string) ApiIpamVlansListReque return r } -// Tenant Group (slug) -func (r ApiIpamVlansListRequest) TenantGroup(tenantGroup []int32) ApiIpamVlansListRequest { +func (r ApiIpamVlansListRequest) TenantGroup(tenantGroup []string) ApiIpamVlansListRequest { r.tenantGroup = &tenantGroup return r } -// Tenant Group (slug) -func (r ApiIpamVlansListRequest) TenantGroupN(tenantGroupN []int32) ApiIpamVlansListRequest { +func (r ApiIpamVlansListRequest) TenantGroupN(tenantGroupN []string) ApiIpamVlansListRequest { r.tenantGroupN = &tenantGroupN return r } -// Tenant Group (ID) -func (r ApiIpamVlansListRequest) TenantGroupId(tenantGroupId []int32) ApiIpamVlansListRequest { +func (r ApiIpamVlansListRequest) TenantGroupId(tenantGroupId []string) ApiIpamVlansListRequest { r.tenantGroupId = &tenantGroupId return r } -// Tenant Group (ID) -func (r ApiIpamVlansListRequest) TenantGroupIdN(tenantGroupIdN []int32) ApiIpamVlansListRequest { +func (r ApiIpamVlansListRequest) TenantGroupIdN(tenantGroupIdN []string) ApiIpamVlansListRequest { r.tenantGroupIdN = &tenantGroupIdN return r } @@ -34990,6 +35601,53 @@ func (a *IpamAPIService) IpamVlansListExecute(r ApiIpamVlansListRequest) (*Pagin parameterAddToHeaderOrQuery(localVarQueryParams, "status", t, "multi") } } + if r.statusEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__empty", r.statusEmpty, "") + } + if r.statusIc != nil { + t := *r.statusIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ic", t, "multi") + } + } + if r.statusIe != nil { + t := *r.statusIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ie", t, "multi") + } + } + if r.statusIew != nil { + t := *r.statusIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__iew", t, "multi") + } + } + if r.statusIsw != nil { + t := *r.statusIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__isw", t, "multi") + } + } if r.statusN != nil { t := *r.statusN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -35001,6 +35659,50 @@ func (a *IpamAPIService) IpamVlansListExecute(r ApiIpamVlansListRequest) (*Pagin parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", t, "multi") } } + if r.statusNic != nil { + t := *r.statusNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nic", t, "multi") + } + } + if r.statusNie != nil { + t := *r.statusNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nie", t, "multi") + } + } + if r.statusNiew != nil { + t := *r.statusNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__niew", t, "multi") + } + } + if r.statusNisw != nil { + t := *r.statusNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nisw", t, "multi") + } + } if r.tag != nil { t := *r.tag if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -36294,10 +36996,10 @@ type ApiIpamVrfsListRequest struct { tagN *[]string tenant *[]string tenantN *[]string - tenantGroup *[]int32 - tenantGroupN *[]int32 - tenantGroupId *[]int32 - tenantGroupIdN *[]int32 + tenantGroup *[]string + tenantGroupN *[]string + tenantGroupId *[]string + tenantGroupIdN *[]string tenantId *[]*int32 tenantIdN *[]*int32 updatedByRequest *string @@ -36682,26 +37384,22 @@ func (r ApiIpamVrfsListRequest) TenantN(tenantN []string) ApiIpamVrfsListRequest return r } -// Tenant Group (slug) -func (r ApiIpamVrfsListRequest) TenantGroup(tenantGroup []int32) ApiIpamVrfsListRequest { +func (r ApiIpamVrfsListRequest) TenantGroup(tenantGroup []string) ApiIpamVrfsListRequest { r.tenantGroup = &tenantGroup return r } -// Tenant Group (slug) -func (r ApiIpamVrfsListRequest) TenantGroupN(tenantGroupN []int32) ApiIpamVrfsListRequest { +func (r ApiIpamVrfsListRequest) TenantGroupN(tenantGroupN []string) ApiIpamVrfsListRequest { r.tenantGroupN = &tenantGroupN return r } -// Tenant Group (ID) -func (r ApiIpamVrfsListRequest) TenantGroupId(tenantGroupId []int32) ApiIpamVrfsListRequest { +func (r ApiIpamVrfsListRequest) TenantGroupId(tenantGroupId []string) ApiIpamVrfsListRequest { r.tenantGroupId = &tenantGroupId return r } -// Tenant Group (ID) -func (r ApiIpamVrfsListRequest) TenantGroupIdN(tenantGroupIdN []int32) ApiIpamVrfsListRequest { +func (r ApiIpamVrfsListRequest) TenantGroupIdN(tenantGroupIdN []string) ApiIpamVrfsListRequest { r.tenantGroupIdN = &tenantGroupIdN return r } diff --git a/api_schema.go b/api_schema.go index 5394105aa..20032d1fb 100644 --- a/api_schema.go +++ b/api_schema.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_status.go b/api_status.go index 9f266f523..c7713d66e 100644 --- a/api_status.go +++ b/api_status.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_tenancy.go b/api_tenancy.go index 0b17b4c3a..8402943d2 100644 --- a/api_tenancy.go +++ b/api_tenancy.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -631,10 +631,10 @@ type ApiTenancyContactAssignmentsListRequest struct { createdLte *[]time.Time createdN *[]time.Time createdByRequest *string - group *[]int32 - groupN *[]int32 - groupId *[]int32 - groupIdN *[]int32 + group *[]string + groupN *[]string + groupId *[]string + groupIdN *[]string id *[]int32 idEmpty *bool idGt *[]int32 @@ -664,8 +664,7 @@ type ApiTenancyContactAssignmentsListRequest struct { objectTypeIdN *int32 offset *int32 ordering *string - priority *TenancyContactAssignmentsListPriorityParameter - priorityN *TenancyContactAssignmentsListPriorityParameter + priority *CircuitsCircuitGroupAssignmentsListPriorityParameter q *string role *[]string roleN *[]string @@ -728,26 +727,22 @@ func (r ApiTenancyContactAssignmentsListRequest) CreatedByRequest(createdByReque return r } -// Contact group (slug) -func (r ApiTenancyContactAssignmentsListRequest) Group(group []int32) ApiTenancyContactAssignmentsListRequest { +func (r ApiTenancyContactAssignmentsListRequest) Group(group []string) ApiTenancyContactAssignmentsListRequest { r.group = &group return r } -// Contact group (slug) -func (r ApiTenancyContactAssignmentsListRequest) GroupN(groupN []int32) ApiTenancyContactAssignmentsListRequest { +func (r ApiTenancyContactAssignmentsListRequest) GroupN(groupN []string) ApiTenancyContactAssignmentsListRequest { r.groupN = &groupN return r } -// Contact group (ID) -func (r ApiTenancyContactAssignmentsListRequest) GroupId(groupId []int32) ApiTenancyContactAssignmentsListRequest { +func (r ApiTenancyContactAssignmentsListRequest) GroupId(groupId []string) ApiTenancyContactAssignmentsListRequest { r.groupId = &groupId return r } -// Contact group (ID) -func (r ApiTenancyContactAssignmentsListRequest) GroupIdN(groupIdN []int32) ApiTenancyContactAssignmentsListRequest { +func (r ApiTenancyContactAssignmentsListRequest) GroupIdN(groupIdN []string) ApiTenancyContactAssignmentsListRequest { r.groupIdN = &groupIdN return r } @@ -901,17 +896,11 @@ func (r ApiTenancyContactAssignmentsListRequest) Ordering(ordering string) ApiTe } // * `primary` - Primary * `secondary` - Secondary * `tertiary` - Tertiary * `inactive` - Inactive -func (r ApiTenancyContactAssignmentsListRequest) Priority(priority TenancyContactAssignmentsListPriorityParameter) ApiTenancyContactAssignmentsListRequest { +func (r ApiTenancyContactAssignmentsListRequest) Priority(priority CircuitsCircuitGroupAssignmentsListPriorityParameter) ApiTenancyContactAssignmentsListRequest { r.priority = &priority return r } -// * `primary` - Primary * `secondary` - Secondary * `tertiary` - Tertiary * `inactive` - Inactive -func (r ApiTenancyContactAssignmentsListRequest) PriorityN(priorityN TenancyContactAssignmentsListPriorityParameter) ApiTenancyContactAssignmentsListRequest { - r.priorityN = &priorityN - return r -} - // Search func (r ApiTenancyContactAssignmentsListRequest) Q(q string) ApiTenancyContactAssignmentsListRequest { r.q = &q @@ -1386,9 +1375,6 @@ func (a *TenancyAPIService) TenancyContactAssignmentsListExecute(r ApiTenancyCon if r.priority != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "priority", r.priority, "") } - if r.priorityN != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "priority__n", r.priorityN, "") - } if r.q != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "") } @@ -2499,10 +2485,10 @@ func (a *TenancyAPIService) TenancyContactGroupsDestroyExecute(r ApiTenancyConta type ApiTenancyContactGroupsListRequest struct { ctx context.Context ApiService *TenancyAPIService - ancestor *[]int32 - ancestorN *[]int32 - ancestorId *[]int32 - ancestorIdN *[]int32 + ancestor *[]string + ancestorN *[]string + ancestorId *[]string + ancestorIdN *[]string created *[]time.Time createdEmpty *[]time.Time createdGt *[]time.Time @@ -2572,26 +2558,22 @@ type ApiTenancyContactGroupsListRequest struct { updatedByRequest *string } -// Contact group (slug) -func (r ApiTenancyContactGroupsListRequest) Ancestor(ancestor []int32) ApiTenancyContactGroupsListRequest { +func (r ApiTenancyContactGroupsListRequest) Ancestor(ancestor []string) ApiTenancyContactGroupsListRequest { r.ancestor = &ancestor return r } -// Contact group (slug) -func (r ApiTenancyContactGroupsListRequest) AncestorN(ancestorN []int32) ApiTenancyContactGroupsListRequest { +func (r ApiTenancyContactGroupsListRequest) AncestorN(ancestorN []string) ApiTenancyContactGroupsListRequest { r.ancestorN = &ancestorN return r } -// Contact group (ID) -func (r ApiTenancyContactGroupsListRequest) AncestorId(ancestorId []int32) ApiTenancyContactGroupsListRequest { +func (r ApiTenancyContactGroupsListRequest) AncestorId(ancestorId []string) ApiTenancyContactGroupsListRequest { r.ancestorId = &ancestorId return r } -// Contact group (ID) -func (r ApiTenancyContactGroupsListRequest) AncestorIdN(ancestorIdN []int32) ApiTenancyContactGroupsListRequest { +func (r ApiTenancyContactGroupsListRequest) AncestorIdN(ancestorIdN []string) ApiTenancyContactGroupsListRequest { r.ancestorIdN = &ancestorIdN return r } @@ -6820,10 +6802,10 @@ type ApiTenancyContactsListRequest struct { emailNie *[]string emailNiew *[]string emailNisw *[]string - group *[]int32 - groupN *[]int32 - groupId *[]int32 - groupIdN *[]int32 + group *[]string + groupN *[]string + groupId *[]string + groupIdN *[]string id *[]int32 idEmpty *bool idGt *[]int32 @@ -7097,26 +7079,22 @@ func (r ApiTenancyContactsListRequest) EmailNisw(emailNisw []string) ApiTenancyC return r } -// Contact group (slug) -func (r ApiTenancyContactsListRequest) Group(group []int32) ApiTenancyContactsListRequest { +func (r ApiTenancyContactsListRequest) Group(group []string) ApiTenancyContactsListRequest { r.group = &group return r } -// Contact group (slug) -func (r ApiTenancyContactsListRequest) GroupN(groupN []int32) ApiTenancyContactsListRequest { +func (r ApiTenancyContactsListRequest) GroupN(groupN []string) ApiTenancyContactsListRequest { r.groupN = &groupN return r } -// Contact group (ID) -func (r ApiTenancyContactsListRequest) GroupId(groupId []int32) ApiTenancyContactsListRequest { +func (r ApiTenancyContactsListRequest) GroupId(groupId []string) ApiTenancyContactsListRequest { r.groupId = &groupId return r } -// Contact group (ID) -func (r ApiTenancyContactsListRequest) GroupIdN(groupIdN []int32) ApiTenancyContactsListRequest { +func (r ApiTenancyContactsListRequest) GroupIdN(groupIdN []string) ApiTenancyContactsListRequest { r.groupIdN = &groupIdN return r } @@ -9635,10 +9613,10 @@ func (a *TenancyAPIService) TenancyTenantGroupsDestroyExecute(r ApiTenancyTenant type ApiTenancyTenantGroupsListRequest struct { ctx context.Context ApiService *TenancyAPIService - ancestor *[]int32 - ancestorN *[]int32 - ancestorId *[]int32 - ancestorIdN *[]int32 + ancestor *[]string + ancestorN *[]string + ancestorId *[]string + ancestorIdN *[]string created *[]time.Time createdEmpty *[]time.Time createdGt *[]time.Time @@ -9708,26 +9686,22 @@ type ApiTenancyTenantGroupsListRequest struct { updatedByRequest *string } -// Tenant group (slug) -func (r ApiTenancyTenantGroupsListRequest) Ancestor(ancestor []int32) ApiTenancyTenantGroupsListRequest { +func (r ApiTenancyTenantGroupsListRequest) Ancestor(ancestor []string) ApiTenancyTenantGroupsListRequest { r.ancestor = &ancestor return r } -// Tenant group (slug) -func (r ApiTenancyTenantGroupsListRequest) AncestorN(ancestorN []int32) ApiTenancyTenantGroupsListRequest { +func (r ApiTenancyTenantGroupsListRequest) AncestorN(ancestorN []string) ApiTenancyTenantGroupsListRequest { r.ancestorN = &ancestorN return r } -// Tenant group (ID) -func (r ApiTenancyTenantGroupsListRequest) AncestorId(ancestorId []int32) ApiTenancyTenantGroupsListRequest { +func (r ApiTenancyTenantGroupsListRequest) AncestorId(ancestorId []string) ApiTenancyTenantGroupsListRequest { r.ancestorId = &ancestorId return r } -// Tenant group (ID) -func (r ApiTenancyTenantGroupsListRequest) AncestorIdN(ancestorIdN []int32) ApiTenancyTenantGroupsListRequest { +func (r ApiTenancyTenantGroupsListRequest) AncestorIdN(ancestorIdN []string) ApiTenancyTenantGroupsListRequest { r.ancestorIdN = &ancestorIdN return r } @@ -11849,8 +11823,8 @@ type ApiTenancyTenantsListRequest struct { ApiService *TenancyAPIService contact *[]int32 contactN *[]int32 - contactGroup *[]int32 - contactGroupN *[]int32 + contactGroup *[]string + contactGroupN *[]string contactRole *[]int32 contactRoleN *[]int32 created *[]time.Time @@ -11872,10 +11846,10 @@ type ApiTenancyTenantsListRequest struct { descriptionNie *[]string descriptionNiew *[]string descriptionNisw *[]string - group *[]int32 - groupN *[]int32 - groupId *[]int32 - groupIdN *[]int32 + group *[]string + groupN *[]string + groupId *[]string + groupIdN *[]string id *[]int32 idEmpty *bool idGt *[]int32 @@ -11934,14 +11908,12 @@ func (r ApiTenancyTenantsListRequest) ContactN(contactN []int32) ApiTenancyTenan return r } -// Contact group -func (r ApiTenancyTenantsListRequest) ContactGroup(contactGroup []int32) ApiTenancyTenantsListRequest { +func (r ApiTenancyTenantsListRequest) ContactGroup(contactGroup []string) ApiTenancyTenantsListRequest { r.contactGroup = &contactGroup return r } -// Contact group -func (r ApiTenancyTenantsListRequest) ContactGroupN(contactGroupN []int32) ApiTenancyTenantsListRequest { +func (r ApiTenancyTenantsListRequest) ContactGroupN(contactGroupN []string) ApiTenancyTenantsListRequest { r.contactGroupN = &contactGroupN return r } @@ -12053,26 +12025,22 @@ func (r ApiTenancyTenantsListRequest) DescriptionNisw(descriptionNisw []string) return r } -// Tenant group (slug) -func (r ApiTenancyTenantsListRequest) Group(group []int32) ApiTenancyTenantsListRequest { +func (r ApiTenancyTenantsListRequest) Group(group []string) ApiTenancyTenantsListRequest { r.group = &group return r } -// Tenant group (slug) -func (r ApiTenancyTenantsListRequest) GroupN(groupN []int32) ApiTenancyTenantsListRequest { +func (r ApiTenancyTenantsListRequest) GroupN(groupN []string) ApiTenancyTenantsListRequest { r.groupN = &groupN return r } -// Tenant group (ID) -func (r ApiTenancyTenantsListRequest) GroupId(groupId []int32) ApiTenancyTenantsListRequest { +func (r ApiTenancyTenantsListRequest) GroupId(groupId []string) ApiTenancyTenantsListRequest { r.groupId = &groupId return r } -// Tenant group (ID) -func (r ApiTenancyTenantsListRequest) GroupIdN(groupIdN []int32) ApiTenancyTenantsListRequest { +func (r ApiTenancyTenantsListRequest) GroupIdN(groupIdN []string) ApiTenancyTenantsListRequest { r.groupIdN = &groupIdN return r } diff --git a/api_users.go b/api_users.go index f872d1a93..5a154dd97 100644 --- a/api_users.go +++ b/api_users.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -733,45 +733,47 @@ func (a *UsersAPIService) UsersGroupsDestroyExecute(r ApiUsersGroupsDestroyReque } type ApiUsersGroupsListRequest struct { - ctx context.Context - ApiService *UsersAPIService - description *[]string - descriptionEmpty *bool - descriptionIc *[]string - descriptionIe *[]string - descriptionIew *[]string - descriptionIsw *[]string - descriptionN *[]string - descriptionNic *[]string - descriptionNie *[]string - descriptionNiew *[]string - descriptionNisw *[]string - id *[]int32 - idEmpty *bool - idGt *[]int32 - idGte *[]int32 - idLt *[]int32 - idLte *[]int32 - idN *[]int32 - limit *int32 - name *[]string - nameEmpty *bool - nameIc *[]string - nameIe *[]string - nameIew *[]string - nameIsw *[]string - nameN *[]string - nameNic *[]string - nameNie *[]string - nameNiew *[]string - nameNisw *[]string - offset *int32 - ordering *string - permissionId *[]int32 - permissionIdN *[]int32 - q *string - userId *[]int32 - userIdN *[]int32 + ctx context.Context + ApiService *UsersAPIService + description *[]string + descriptionEmpty *bool + descriptionIc *[]string + descriptionIe *[]string + descriptionIew *[]string + descriptionIsw *[]string + descriptionN *[]string + descriptionNic *[]string + descriptionNie *[]string + descriptionNiew *[]string + descriptionNisw *[]string + id *[]int32 + idEmpty *bool + idGt *[]int32 + idGte *[]int32 + idLt *[]int32 + idLte *[]int32 + idN *[]int32 + limit *int32 + name *[]string + nameEmpty *bool + nameIc *[]string + nameIe *[]string + nameIew *[]string + nameIsw *[]string + nameN *[]string + nameNic *[]string + nameNie *[]string + nameNiew *[]string + nameNisw *[]string + notificationGroupId *[]int32 + notificationGroupIdN *[]int32 + offset *int32 + ordering *string + permissionId *[]int32 + permissionIdN *[]int32 + q *string + userId *[]int32 + userIdN *[]int32 } func (r ApiUsersGroupsListRequest) Description(description []string) ApiUsersGroupsListRequest { @@ -925,6 +927,18 @@ func (r ApiUsersGroupsListRequest) NameNisw(nameNisw []string) ApiUsersGroupsLis return r } +// Notification group (ID) +func (r ApiUsersGroupsListRequest) NotificationGroupId(notificationGroupId []int32) ApiUsersGroupsListRequest { + r.notificationGroupId = ¬ificationGroupId + return r +} + +// Notification group (ID) +func (r ApiUsersGroupsListRequest) NotificationGroupIdN(notificationGroupIdN []int32) ApiUsersGroupsListRequest { + r.notificationGroupIdN = ¬ificationGroupIdN + return r +} + // The initial index from which to return the results. func (r ApiUsersGroupsListRequest) Offset(offset int32) ApiUsersGroupsListRequest { r.offset = &offset @@ -1306,6 +1320,28 @@ func (a *UsersAPIService) UsersGroupsListExecute(r ApiUsersGroupsListRequest) (* parameterAddToHeaderOrQuery(localVarQueryParams, "name__nisw", t, "multi") } } + if r.notificationGroupId != nil { + t := *r.notificationGroupId + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "notification_group_id", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "notification_group_id", t, "multi") + } + } + if r.notificationGroupIdN != nil { + t := *r.notificationGroupIdN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "notification_group_id__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "notification_group_id__n", t, "multi") + } + } if r.offset != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "") } @@ -6303,86 +6339,88 @@ func (a *UsersAPIService) UsersUsersDestroyExecute(r ApiUsersUsersDestroyRequest } type ApiUsersUsersListRequest struct { - ctx context.Context - ApiService *UsersAPIService - dateJoined *[]time.Time - dateJoinedEmpty *bool - dateJoinedGt *[]time.Time - dateJoinedGte *[]time.Time - dateJoinedLt *[]time.Time - dateJoinedLte *[]time.Time - dateJoinedN *[]time.Time - email *[]string - emailEmpty *bool - emailIc *[]string - emailIe *[]string - emailIew *[]string - emailIsw *[]string - emailN *[]string - emailNic *[]string - emailNie *[]string - emailNiew *[]string - emailNisw *[]string - firstName *[]string - firstNameEmpty *bool - firstNameIc *[]string - firstNameIe *[]string - firstNameIew *[]string - firstNameIsw *[]string - firstNameN *[]string - firstNameNic *[]string - firstNameNie *[]string - firstNameNiew *[]string - firstNameNisw *[]string - group *[]string - groupN *[]string - groupId *[]int32 - groupIdN *[]int32 - id *[]int32 - idEmpty *bool - idGt *[]int32 - idGte *[]int32 - idLt *[]int32 - idLte *[]int32 - idN *[]int32 - isActive *bool - isStaff *bool - isSuperuser *bool - lastLogin *[]time.Time - lastLoginEmpty *bool - lastLoginGt *[]time.Time - lastLoginGte *[]time.Time - lastLoginLt *[]time.Time - lastLoginLte *[]time.Time - lastLoginN *[]time.Time - lastName *[]string - lastNameEmpty *bool - lastNameIc *[]string - lastNameIe *[]string - lastNameIew *[]string - lastNameIsw *[]string - lastNameN *[]string - lastNameNic *[]string - lastNameNie *[]string - lastNameNiew *[]string - lastNameNisw *[]string - limit *int32 - offset *int32 - ordering *string - permissionId *[]int32 - permissionIdN *[]int32 - q *string - username *[]string - usernameEmpty *bool - usernameIc *[]string - usernameIe *[]string - usernameIew *[]string - usernameIsw *[]string - usernameN *[]string - usernameNic *[]string - usernameNie *[]string - usernameNiew *[]string - usernameNisw *[]string + ctx context.Context + ApiService *UsersAPIService + dateJoined *[]time.Time + dateJoinedEmpty *bool + dateJoinedGt *[]time.Time + dateJoinedGte *[]time.Time + dateJoinedLt *[]time.Time + dateJoinedLte *[]time.Time + dateJoinedN *[]time.Time + email *[]string + emailEmpty *bool + emailIc *[]string + emailIe *[]string + emailIew *[]string + emailIsw *[]string + emailN *[]string + emailNic *[]string + emailNie *[]string + emailNiew *[]string + emailNisw *[]string + firstName *[]string + firstNameEmpty *bool + firstNameIc *[]string + firstNameIe *[]string + firstNameIew *[]string + firstNameIsw *[]string + firstNameN *[]string + firstNameNic *[]string + firstNameNie *[]string + firstNameNiew *[]string + firstNameNisw *[]string + group *[]string + groupN *[]string + groupId *[]int32 + groupIdN *[]int32 + id *[]int32 + idEmpty *bool + idGt *[]int32 + idGte *[]int32 + idLt *[]int32 + idLte *[]int32 + idN *[]int32 + isActive *bool + isStaff *bool + isSuperuser *bool + lastLogin *[]time.Time + lastLoginEmpty *bool + lastLoginGt *[]time.Time + lastLoginGte *[]time.Time + lastLoginLt *[]time.Time + lastLoginLte *[]time.Time + lastLoginN *[]time.Time + lastName *[]string + lastNameEmpty *bool + lastNameIc *[]string + lastNameIe *[]string + lastNameIew *[]string + lastNameIsw *[]string + lastNameN *[]string + lastNameNic *[]string + lastNameNie *[]string + lastNameNiew *[]string + lastNameNisw *[]string + limit *int32 + notificationGroupId *[]int32 + notificationGroupIdN *[]int32 + offset *int32 + ordering *string + permissionId *[]int32 + permissionIdN *[]int32 + q *string + username *[]string + usernameEmpty *bool + usernameIc *[]string + usernameIe *[]string + usernameIew *[]string + usernameIsw *[]string + usernameN *[]string + usernameNic *[]string + usernameNie *[]string + usernameNiew *[]string + usernameNisw *[]string } func (r ApiUsersUsersListRequest) DateJoined(dateJoined []time.Time) ApiUsersUsersListRequest { @@ -6700,6 +6738,18 @@ func (r ApiUsersUsersListRequest) Limit(limit int32) ApiUsersUsersListRequest { return r } +// Notification group (ID) +func (r ApiUsersUsersListRequest) NotificationGroupId(notificationGroupId []int32) ApiUsersUsersListRequest { + r.notificationGroupId = ¬ificationGroupId + return r +} + +// Notification group (ID) +func (r ApiUsersUsersListRequest) NotificationGroupIdN(notificationGroupIdN []int32) ApiUsersUsersListRequest { + r.notificationGroupIdN = ¬ificationGroupIdN + return r +} + // The initial index from which to return the results. func (r ApiUsersUsersListRequest) Offset(offset int32) ApiUsersUsersListRequest { r.offset = &offset @@ -7428,6 +7478,28 @@ func (a *UsersAPIService) UsersUsersListExecute(r ApiUsersUsersListRequest) (*Pa if r.limit != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "") } + if r.notificationGroupId != nil { + t := *r.notificationGroupId + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "notification_group_id", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "notification_group_id", t, "multi") + } + } + if r.notificationGroupIdN != nil { + t := *r.notificationGroupIdN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "notification_group_id__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "notification_group_id__n", t, "multi") + } + } if r.offset != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "") } diff --git a/api_virtualization.go b/api_virtualization.go index 2216c43f9..e985ac66d 100644 --- a/api_virtualization.go +++ b/api_virtualization.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -623,8 +623,8 @@ type ApiVirtualizationClusterGroupsListRequest struct { ApiService *VirtualizationAPIService contact *[]int32 contactN *[]int32 - contactGroup *[]int32 - contactGroupN *[]int32 + contactGroup *[]string + contactGroupN *[]string contactRole *[]int32 contactRoleN *[]int32 created *[]time.Time @@ -704,14 +704,12 @@ func (r ApiVirtualizationClusterGroupsListRequest) ContactN(contactN []int32) Ap return r } -// Contact group -func (r ApiVirtualizationClusterGroupsListRequest) ContactGroup(contactGroup []int32) ApiVirtualizationClusterGroupsListRequest { +func (r ApiVirtualizationClusterGroupsListRequest) ContactGroup(contactGroup []string) ApiVirtualizationClusterGroupsListRequest { r.contactGroup = &contactGroup return r } -// Contact group -func (r ApiVirtualizationClusterGroupsListRequest) ContactGroupN(contactGroupN []int32) ApiVirtualizationClusterGroupsListRequest { +func (r ApiVirtualizationClusterGroupsListRequest) ContactGroupN(contactGroupN []string) ApiVirtualizationClusterGroupsListRequest { r.contactGroupN = &contactGroupN return r } @@ -4867,8 +4865,8 @@ type ApiVirtualizationClustersListRequest struct { ApiService *VirtualizationAPIService contact *[]int32 contactN *[]int32 - contactGroup *[]int32 - contactGroupN *[]int32 + contactGroup *[]string + contactGroupN *[]string contactRole *[]int32 contactRoleN *[]int32 created *[]time.Time @@ -4924,28 +4922,37 @@ type ApiVirtualizationClustersListRequest struct { offset *int32 ordering *string q *string - region *[]int32 - regionN *[]int32 - regionId *[]int32 - regionIdN *[]int32 + region *[]string + regionN *[]string + regionId *[]string + regionIdN *[]string site *[]string siteN *[]string - siteGroup *[]int32 - siteGroupN *[]int32 - siteGroupId *[]int32 - siteGroupIdN *[]int32 + siteGroup *[]string + siteGroupN *[]string + siteGroupId *[]string + siteGroupIdN *[]string siteId *[]*int32 siteIdN *[]*int32 status *[]string - statusN *[]string + statusEmpty *bool + statusIc *[]VirtualizationClustersListStatusIcParameterInner + statusIe *[]VirtualizationClustersListStatusIcParameterInner + statusIew *[]VirtualizationClustersListStatusIcParameterInner + statusIsw *[]VirtualizationClustersListStatusIcParameterInner + statusN *[]VirtualizationClustersListStatusIcParameterInner + statusNic *[]VirtualizationClustersListStatusIcParameterInner + statusNie *[]VirtualizationClustersListStatusIcParameterInner + statusNiew *[]VirtualizationClustersListStatusIcParameterInner + statusNisw *[]VirtualizationClustersListStatusIcParameterInner tag *[]string tagN *[]string tenant *[]string tenantN *[]string - tenantGroup *[]int32 - tenantGroupN *[]int32 - tenantGroupId *[]int32 - tenantGroupIdN *[]int32 + tenantGroup *[]string + tenantGroupN *[]string + tenantGroupId *[]string + tenantGroupIdN *[]string tenantId *[]*int32 tenantIdN *[]*int32 type_ *[]string @@ -4967,14 +4974,12 @@ func (r ApiVirtualizationClustersListRequest) ContactN(contactN []int32) ApiVirt return r } -// Contact group -func (r ApiVirtualizationClustersListRequest) ContactGroup(contactGroup []int32) ApiVirtualizationClustersListRequest { +func (r ApiVirtualizationClustersListRequest) ContactGroup(contactGroup []string) ApiVirtualizationClustersListRequest { r.contactGroup = &contactGroup return r } -// Contact group -func (r ApiVirtualizationClustersListRequest) ContactGroupN(contactGroupN []int32) ApiVirtualizationClustersListRequest { +func (r ApiVirtualizationClustersListRequest) ContactGroupN(contactGroupN []string) ApiVirtualizationClustersListRequest { r.contactGroupN = &contactGroupN return r } @@ -5264,26 +5269,22 @@ func (r ApiVirtualizationClustersListRequest) Q(q string) ApiVirtualizationClust return r } -// Region (slug) -func (r ApiVirtualizationClustersListRequest) Region(region []int32) ApiVirtualizationClustersListRequest { +func (r ApiVirtualizationClustersListRequest) Region(region []string) ApiVirtualizationClustersListRequest { r.region = ®ion return r } -// Region (slug) -func (r ApiVirtualizationClustersListRequest) RegionN(regionN []int32) ApiVirtualizationClustersListRequest { +func (r ApiVirtualizationClustersListRequest) RegionN(regionN []string) ApiVirtualizationClustersListRequest { r.regionN = ®ionN return r } -// Region (ID) -func (r ApiVirtualizationClustersListRequest) RegionId(regionId []int32) ApiVirtualizationClustersListRequest { +func (r ApiVirtualizationClustersListRequest) RegionId(regionId []string) ApiVirtualizationClustersListRequest { r.regionId = ®ionId return r } -// Region (ID) -func (r ApiVirtualizationClustersListRequest) RegionIdN(regionIdN []int32) ApiVirtualizationClustersListRequest { +func (r ApiVirtualizationClustersListRequest) RegionIdN(regionIdN []string) ApiVirtualizationClustersListRequest { r.regionIdN = ®ionIdN return r } @@ -5300,26 +5301,22 @@ func (r ApiVirtualizationClustersListRequest) SiteN(siteN []string) ApiVirtualiz return r } -// Site group (slug) -func (r ApiVirtualizationClustersListRequest) SiteGroup(siteGroup []int32) ApiVirtualizationClustersListRequest { +func (r ApiVirtualizationClustersListRequest) SiteGroup(siteGroup []string) ApiVirtualizationClustersListRequest { r.siteGroup = &siteGroup return r } -// Site group (slug) -func (r ApiVirtualizationClustersListRequest) SiteGroupN(siteGroupN []int32) ApiVirtualizationClustersListRequest { +func (r ApiVirtualizationClustersListRequest) SiteGroupN(siteGroupN []string) ApiVirtualizationClustersListRequest { r.siteGroupN = &siteGroupN return r } -// Site group (ID) -func (r ApiVirtualizationClustersListRequest) SiteGroupId(siteGroupId []int32) ApiVirtualizationClustersListRequest { +func (r ApiVirtualizationClustersListRequest) SiteGroupId(siteGroupId []string) ApiVirtualizationClustersListRequest { r.siteGroupId = &siteGroupId return r } -// Site group (ID) -func (r ApiVirtualizationClustersListRequest) SiteGroupIdN(siteGroupIdN []int32) ApiVirtualizationClustersListRequest { +func (r ApiVirtualizationClustersListRequest) SiteGroupIdN(siteGroupIdN []string) ApiVirtualizationClustersListRequest { r.siteGroupIdN = &siteGroupIdN return r } @@ -5341,11 +5338,65 @@ func (r ApiVirtualizationClustersListRequest) Status(status []string) ApiVirtual return r } -func (r ApiVirtualizationClustersListRequest) StatusN(statusN []string) ApiVirtualizationClustersListRequest { +func (r ApiVirtualizationClustersListRequest) StatusEmpty(statusEmpty bool) ApiVirtualizationClustersListRequest { + r.statusEmpty = &statusEmpty + return r +} + +// * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `offline` - Offline +func (r ApiVirtualizationClustersListRequest) StatusIc(statusIc []VirtualizationClustersListStatusIcParameterInner) ApiVirtualizationClustersListRequest { + r.statusIc = &statusIc + return r +} + +// * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `offline` - Offline +func (r ApiVirtualizationClustersListRequest) StatusIe(statusIe []VirtualizationClustersListStatusIcParameterInner) ApiVirtualizationClustersListRequest { + r.statusIe = &statusIe + return r +} + +// * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `offline` - Offline +func (r ApiVirtualizationClustersListRequest) StatusIew(statusIew []VirtualizationClustersListStatusIcParameterInner) ApiVirtualizationClustersListRequest { + r.statusIew = &statusIew + return r +} + +// * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `offline` - Offline +func (r ApiVirtualizationClustersListRequest) StatusIsw(statusIsw []VirtualizationClustersListStatusIcParameterInner) ApiVirtualizationClustersListRequest { + r.statusIsw = &statusIsw + return r +} + +// * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `offline` - Offline +func (r ApiVirtualizationClustersListRequest) StatusN(statusN []VirtualizationClustersListStatusIcParameterInner) ApiVirtualizationClustersListRequest { r.statusN = &statusN return r } +// * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `offline` - Offline +func (r ApiVirtualizationClustersListRequest) StatusNic(statusNic []VirtualizationClustersListStatusIcParameterInner) ApiVirtualizationClustersListRequest { + r.statusNic = &statusNic + return r +} + +// * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `offline` - Offline +func (r ApiVirtualizationClustersListRequest) StatusNie(statusNie []VirtualizationClustersListStatusIcParameterInner) ApiVirtualizationClustersListRequest { + r.statusNie = &statusNie + return r +} + +// * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `offline` - Offline +func (r ApiVirtualizationClustersListRequest) StatusNiew(statusNiew []VirtualizationClustersListStatusIcParameterInner) ApiVirtualizationClustersListRequest { + r.statusNiew = &statusNiew + return r +} + +// * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `offline` - Offline +func (r ApiVirtualizationClustersListRequest) StatusNisw(statusNisw []VirtualizationClustersListStatusIcParameterInner) ApiVirtualizationClustersListRequest { + r.statusNisw = &statusNisw + return r +} + func (r ApiVirtualizationClustersListRequest) Tag(tag []string) ApiVirtualizationClustersListRequest { r.tag = &tag return r @@ -5368,26 +5419,22 @@ func (r ApiVirtualizationClustersListRequest) TenantN(tenantN []string) ApiVirtu return r } -// Tenant Group (slug) -func (r ApiVirtualizationClustersListRequest) TenantGroup(tenantGroup []int32) ApiVirtualizationClustersListRequest { +func (r ApiVirtualizationClustersListRequest) TenantGroup(tenantGroup []string) ApiVirtualizationClustersListRequest { r.tenantGroup = &tenantGroup return r } -// Tenant Group (slug) -func (r ApiVirtualizationClustersListRequest) TenantGroupN(tenantGroupN []int32) ApiVirtualizationClustersListRequest { +func (r ApiVirtualizationClustersListRequest) TenantGroupN(tenantGroupN []string) ApiVirtualizationClustersListRequest { r.tenantGroupN = &tenantGroupN return r } -// Tenant Group (ID) -func (r ApiVirtualizationClustersListRequest) TenantGroupId(tenantGroupId []int32) ApiVirtualizationClustersListRequest { +func (r ApiVirtualizationClustersListRequest) TenantGroupId(tenantGroupId []string) ApiVirtualizationClustersListRequest { r.tenantGroupId = &tenantGroupId return r } -// Tenant Group (ID) -func (r ApiVirtualizationClustersListRequest) TenantGroupIdN(tenantGroupIdN []int32) ApiVirtualizationClustersListRequest { +func (r ApiVirtualizationClustersListRequest) TenantGroupIdN(tenantGroupIdN []string) ApiVirtualizationClustersListRequest { r.tenantGroupIdN = &tenantGroupIdN return r } @@ -6194,6 +6241,53 @@ func (a *VirtualizationAPIService) VirtualizationClustersListExecute(r ApiVirtua parameterAddToHeaderOrQuery(localVarQueryParams, "status", t, "multi") } } + if r.statusEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__empty", r.statusEmpty, "") + } + if r.statusIc != nil { + t := *r.statusIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ic", t, "multi") + } + } + if r.statusIe != nil { + t := *r.statusIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ie", t, "multi") + } + } + if r.statusIew != nil { + t := *r.statusIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__iew", t, "multi") + } + } + if r.statusIsw != nil { + t := *r.statusIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__isw", t, "multi") + } + } if r.statusN != nil { t := *r.statusN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -6205,6 +6299,50 @@ func (a *VirtualizationAPIService) VirtualizationClustersListExecute(r ApiVirtua parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", t, "multi") } } + if r.statusNic != nil { + t := *r.statusNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nic", t, "multi") + } + } + if r.statusNie != nil { + t := *r.statusNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nie", t, "multi") + } + } + if r.statusNiew != nil { + t := *r.statusNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__niew", t, "multi") + } + } + if r.statusNisw != nil { + t := *r.statusNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nisw", t, "multi") + } + } if r.tag != nil { t := *r.tag if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -7456,7 +7594,6 @@ type ApiVirtualizationInterfacesListRequest struct { macAddressNiew *[]string macAddressNisw *[]string mode *DcimInterfacesListModeParameter - modeN *DcimInterfacesListModeParameter modifiedByRequest *string mtu *[]int32 mtuEmpty *bool @@ -7788,12 +7925,6 @@ func (r ApiVirtualizationInterfacesListRequest) Mode(mode DcimInterfacesListMode return r } -// IEEE 802.1Q tagging strategy * `access` - Access * `tagged` - Tagged * `tagged-all` - Tagged (All) -func (r ApiVirtualizationInterfacesListRequest) ModeN(modeN DcimInterfacesListModeParameter) ApiVirtualizationInterfacesListRequest { - r.modeN = &modeN - return r -} - func (r ApiVirtualizationInterfacesListRequest) ModifiedByRequest(modifiedByRequest string) ApiVirtualizationInterfacesListRequest { r.modifiedByRequest = &modifiedByRequest return r @@ -8603,9 +8734,6 @@ func (a *VirtualizationAPIService) VirtualizationInterfacesListExecute(r ApiVirt if r.mode != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "mode", r.mode, "") } - if r.modeN != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "mode__n", r.modeN, "") - } if r.modifiedByRequest != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "modified_by_request", r.modifiedByRequest, "") } @@ -12067,8 +12195,8 @@ type ApiVirtualizationVirtualMachinesListRequest struct { configTemplateIdN *[]*int32 contact *[]int32 contactN *[]int32 - contactGroup *[]int32 - contactGroupN *[]int32 + contactGroup *[]string + contactGroupN *[]string contactRole *[]int32 contactRoleN *[]int32 created *[]time.Time @@ -12165,32 +12293,52 @@ type ApiVirtualizationVirtualMachinesListRequest struct { primaryIp6Id *[]int32 primaryIp6IdN *[]int32 q *string - region *[]int32 - regionN *[]int32 - regionId *[]int32 - regionIdN *[]int32 + region *[]string + regionN *[]string + regionId *[]string + regionIdN *[]string role *[]string roleN *[]string roleId *[]*int32 roleIdN *[]*int32 + serial *[]string + serialEmpty *bool + serialIc *[]string + serialIe *[]string + serialIew *[]string + serialIsw *[]string + serialN *[]string + serialNic *[]string + serialNie *[]string + serialNiew *[]string + serialNisw *[]string site *[]string siteN *[]string - siteGroup *[]int32 - siteGroupN *[]int32 - siteGroupId *[]int32 - siteGroupIdN *[]int32 + siteGroup *[]string + siteGroupN *[]string + siteGroupId *[]string + siteGroupIdN *[]string siteId *[]*int32 siteIdN *[]*int32 status *[]string - statusN *[]string + statusEmpty *bool + statusIc *[]DcimModulesListStatusIcParameterInner + statusIe *[]DcimModulesListStatusIcParameterInner + statusIew *[]DcimModulesListStatusIcParameterInner + statusIsw *[]DcimModulesListStatusIcParameterInner + statusN *[]DcimModulesListStatusIcParameterInner + statusNic *[]DcimModulesListStatusIcParameterInner + statusNie *[]DcimModulesListStatusIcParameterInner + statusNiew *[]DcimModulesListStatusIcParameterInner + statusNisw *[]DcimModulesListStatusIcParameterInner tag *[]string tagN *[]string tenant *[]string tenantN *[]string - tenantGroup *[]int32 - tenantGroupN *[]int32 - tenantGroupId *[]int32 - tenantGroupIdN *[]int32 + tenantGroup *[]string + tenantGroupN *[]string + tenantGroupId *[]string + tenantGroupIdN *[]string tenantId *[]*int32 tenantIdN *[]*int32 updatedByRequest *string @@ -12306,14 +12454,12 @@ func (r ApiVirtualizationVirtualMachinesListRequest) ContactN(contactN []int32) return r } -// Contact group -func (r ApiVirtualizationVirtualMachinesListRequest) ContactGroup(contactGroup []int32) ApiVirtualizationVirtualMachinesListRequest { +func (r ApiVirtualizationVirtualMachinesListRequest) ContactGroup(contactGroup []string) ApiVirtualizationVirtualMachinesListRequest { r.contactGroup = &contactGroup return r } -// Contact group -func (r ApiVirtualizationVirtualMachinesListRequest) ContactGroupN(contactGroupN []int32) ApiVirtualizationVirtualMachinesListRequest { +func (r ApiVirtualizationVirtualMachinesListRequest) ContactGroupN(contactGroupN []string) ApiVirtualizationVirtualMachinesListRequest { r.contactGroupN = &contactGroupN return r } @@ -12818,26 +12964,22 @@ func (r ApiVirtualizationVirtualMachinesListRequest) Q(q string) ApiVirtualizati return r } -// Region (slug) -func (r ApiVirtualizationVirtualMachinesListRequest) Region(region []int32) ApiVirtualizationVirtualMachinesListRequest { +func (r ApiVirtualizationVirtualMachinesListRequest) Region(region []string) ApiVirtualizationVirtualMachinesListRequest { r.region = ®ion return r } -// Region (slug) -func (r ApiVirtualizationVirtualMachinesListRequest) RegionN(regionN []int32) ApiVirtualizationVirtualMachinesListRequest { +func (r ApiVirtualizationVirtualMachinesListRequest) RegionN(regionN []string) ApiVirtualizationVirtualMachinesListRequest { r.regionN = ®ionN return r } -// Region (ID) -func (r ApiVirtualizationVirtualMachinesListRequest) RegionId(regionId []int32) ApiVirtualizationVirtualMachinesListRequest { +func (r ApiVirtualizationVirtualMachinesListRequest) RegionId(regionId []string) ApiVirtualizationVirtualMachinesListRequest { r.regionId = ®ionId return r } -// Region (ID) -func (r ApiVirtualizationVirtualMachinesListRequest) RegionIdN(regionIdN []int32) ApiVirtualizationVirtualMachinesListRequest { +func (r ApiVirtualizationVirtualMachinesListRequest) RegionIdN(regionIdN []string) ApiVirtualizationVirtualMachinesListRequest { r.regionIdN = ®ionIdN return r } @@ -12866,6 +13008,61 @@ func (r ApiVirtualizationVirtualMachinesListRequest) RoleIdN(roleIdN []*int32) A return r } +func (r ApiVirtualizationVirtualMachinesListRequest) Serial(serial []string) ApiVirtualizationVirtualMachinesListRequest { + r.serial = &serial + return r +} + +func (r ApiVirtualizationVirtualMachinesListRequest) SerialEmpty(serialEmpty bool) ApiVirtualizationVirtualMachinesListRequest { + r.serialEmpty = &serialEmpty + return r +} + +func (r ApiVirtualizationVirtualMachinesListRequest) SerialIc(serialIc []string) ApiVirtualizationVirtualMachinesListRequest { + r.serialIc = &serialIc + return r +} + +func (r ApiVirtualizationVirtualMachinesListRequest) SerialIe(serialIe []string) ApiVirtualizationVirtualMachinesListRequest { + r.serialIe = &serialIe + return r +} + +func (r ApiVirtualizationVirtualMachinesListRequest) SerialIew(serialIew []string) ApiVirtualizationVirtualMachinesListRequest { + r.serialIew = &serialIew + return r +} + +func (r ApiVirtualizationVirtualMachinesListRequest) SerialIsw(serialIsw []string) ApiVirtualizationVirtualMachinesListRequest { + r.serialIsw = &serialIsw + return r +} + +func (r ApiVirtualizationVirtualMachinesListRequest) SerialN(serialN []string) ApiVirtualizationVirtualMachinesListRequest { + r.serialN = &serialN + return r +} + +func (r ApiVirtualizationVirtualMachinesListRequest) SerialNic(serialNic []string) ApiVirtualizationVirtualMachinesListRequest { + r.serialNic = &serialNic + return r +} + +func (r ApiVirtualizationVirtualMachinesListRequest) SerialNie(serialNie []string) ApiVirtualizationVirtualMachinesListRequest { + r.serialNie = &serialNie + return r +} + +func (r ApiVirtualizationVirtualMachinesListRequest) SerialNiew(serialNiew []string) ApiVirtualizationVirtualMachinesListRequest { + r.serialNiew = &serialNiew + return r +} + +func (r ApiVirtualizationVirtualMachinesListRequest) SerialNisw(serialNisw []string) ApiVirtualizationVirtualMachinesListRequest { + r.serialNisw = &serialNisw + return r +} + // Site (slug) func (r ApiVirtualizationVirtualMachinesListRequest) Site(site []string) ApiVirtualizationVirtualMachinesListRequest { r.site = &site @@ -12878,26 +13075,22 @@ func (r ApiVirtualizationVirtualMachinesListRequest) SiteN(siteN []string) ApiVi return r } -// Site group (slug) -func (r ApiVirtualizationVirtualMachinesListRequest) SiteGroup(siteGroup []int32) ApiVirtualizationVirtualMachinesListRequest { +func (r ApiVirtualizationVirtualMachinesListRequest) SiteGroup(siteGroup []string) ApiVirtualizationVirtualMachinesListRequest { r.siteGroup = &siteGroup return r } -// Site group (slug) -func (r ApiVirtualizationVirtualMachinesListRequest) SiteGroupN(siteGroupN []int32) ApiVirtualizationVirtualMachinesListRequest { +func (r ApiVirtualizationVirtualMachinesListRequest) SiteGroupN(siteGroupN []string) ApiVirtualizationVirtualMachinesListRequest { r.siteGroupN = &siteGroupN return r } -// Site group (ID) -func (r ApiVirtualizationVirtualMachinesListRequest) SiteGroupId(siteGroupId []int32) ApiVirtualizationVirtualMachinesListRequest { +func (r ApiVirtualizationVirtualMachinesListRequest) SiteGroupId(siteGroupId []string) ApiVirtualizationVirtualMachinesListRequest { r.siteGroupId = &siteGroupId return r } -// Site group (ID) -func (r ApiVirtualizationVirtualMachinesListRequest) SiteGroupIdN(siteGroupIdN []int32) ApiVirtualizationVirtualMachinesListRequest { +func (r ApiVirtualizationVirtualMachinesListRequest) SiteGroupIdN(siteGroupIdN []string) ApiVirtualizationVirtualMachinesListRequest { r.siteGroupIdN = &siteGroupIdN return r } @@ -12919,11 +13112,65 @@ func (r ApiVirtualizationVirtualMachinesListRequest) Status(status []string) Api return r } -func (r ApiVirtualizationVirtualMachinesListRequest) StatusN(statusN []string) ApiVirtualizationVirtualMachinesListRequest { +func (r ApiVirtualizationVirtualMachinesListRequest) StatusEmpty(statusEmpty bool) ApiVirtualizationVirtualMachinesListRequest { + r.statusEmpty = &statusEmpty + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning +func (r ApiVirtualizationVirtualMachinesListRequest) StatusIc(statusIc []DcimModulesListStatusIcParameterInner) ApiVirtualizationVirtualMachinesListRequest { + r.statusIc = &statusIc + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning +func (r ApiVirtualizationVirtualMachinesListRequest) StatusIe(statusIe []DcimModulesListStatusIcParameterInner) ApiVirtualizationVirtualMachinesListRequest { + r.statusIe = &statusIe + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning +func (r ApiVirtualizationVirtualMachinesListRequest) StatusIew(statusIew []DcimModulesListStatusIcParameterInner) ApiVirtualizationVirtualMachinesListRequest { + r.statusIew = &statusIew + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning +func (r ApiVirtualizationVirtualMachinesListRequest) StatusIsw(statusIsw []DcimModulesListStatusIcParameterInner) ApiVirtualizationVirtualMachinesListRequest { + r.statusIsw = &statusIsw + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning +func (r ApiVirtualizationVirtualMachinesListRequest) StatusN(statusN []DcimModulesListStatusIcParameterInner) ApiVirtualizationVirtualMachinesListRequest { r.statusN = &statusN return r } +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning +func (r ApiVirtualizationVirtualMachinesListRequest) StatusNic(statusNic []DcimModulesListStatusIcParameterInner) ApiVirtualizationVirtualMachinesListRequest { + r.statusNic = &statusNic + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning +func (r ApiVirtualizationVirtualMachinesListRequest) StatusNie(statusNie []DcimModulesListStatusIcParameterInner) ApiVirtualizationVirtualMachinesListRequest { + r.statusNie = &statusNie + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning +func (r ApiVirtualizationVirtualMachinesListRequest) StatusNiew(statusNiew []DcimModulesListStatusIcParameterInner) ApiVirtualizationVirtualMachinesListRequest { + r.statusNiew = &statusNiew + return r +} + +// * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning +func (r ApiVirtualizationVirtualMachinesListRequest) StatusNisw(statusNisw []DcimModulesListStatusIcParameterInner) ApiVirtualizationVirtualMachinesListRequest { + r.statusNisw = &statusNisw + return r +} + func (r ApiVirtualizationVirtualMachinesListRequest) Tag(tag []string) ApiVirtualizationVirtualMachinesListRequest { r.tag = &tag return r @@ -12946,26 +13193,22 @@ func (r ApiVirtualizationVirtualMachinesListRequest) TenantN(tenantN []string) A return r } -// Tenant Group (slug) -func (r ApiVirtualizationVirtualMachinesListRequest) TenantGroup(tenantGroup []int32) ApiVirtualizationVirtualMachinesListRequest { +func (r ApiVirtualizationVirtualMachinesListRequest) TenantGroup(tenantGroup []string) ApiVirtualizationVirtualMachinesListRequest { r.tenantGroup = &tenantGroup return r } -// Tenant Group (slug) -func (r ApiVirtualizationVirtualMachinesListRequest) TenantGroupN(tenantGroupN []int32) ApiVirtualizationVirtualMachinesListRequest { +func (r ApiVirtualizationVirtualMachinesListRequest) TenantGroupN(tenantGroupN []string) ApiVirtualizationVirtualMachinesListRequest { r.tenantGroupN = &tenantGroupN return r } -// Tenant Group (ID) -func (r ApiVirtualizationVirtualMachinesListRequest) TenantGroupId(tenantGroupId []int32) ApiVirtualizationVirtualMachinesListRequest { +func (r ApiVirtualizationVirtualMachinesListRequest) TenantGroupId(tenantGroupId []string) ApiVirtualizationVirtualMachinesListRequest { r.tenantGroupId = &tenantGroupId return r } -// Tenant Group (ID) -func (r ApiVirtualizationVirtualMachinesListRequest) TenantGroupIdN(tenantGroupIdN []int32) ApiVirtualizationVirtualMachinesListRequest { +func (r ApiVirtualizationVirtualMachinesListRequest) TenantGroupIdN(tenantGroupIdN []string) ApiVirtualizationVirtualMachinesListRequest { r.tenantGroupIdN = &tenantGroupIdN return r } @@ -14328,6 +14571,119 @@ func (a *VirtualizationAPIService) VirtualizationVirtualMachinesListExecute(r Ap parameterAddToHeaderOrQuery(localVarQueryParams, "role_id__n", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "serial", t, "multi") + } + } + if r.serialEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "serial__empty", r.serialEmpty, "") + } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "serial__ic", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "serial__ie", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "serial__iew", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "serial__isw", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "serial__n", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "serial__nic", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "serial__nie", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "serial__niew", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "serial__nisw", t, "multi") + } + } if r.site != nil { t := *r.site if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -14427,6 +14783,53 @@ func (a *VirtualizationAPIService) VirtualizationVirtualMachinesListExecute(r Ap parameterAddToHeaderOrQuery(localVarQueryParams, "status", t, "multi") } } + if r.statusEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__empty", r.statusEmpty, "") + } + if r.statusIc != nil { + t := *r.statusIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ic", t, "multi") + } + } + if r.statusIe != nil { + t := *r.statusIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ie", t, "multi") + } + } + if r.statusIew != nil { + t := *r.statusIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__iew", t, "multi") + } + } + if r.statusIsw != nil { + t := *r.statusIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__isw", t, "multi") + } + } if r.statusN != nil { t := *r.statusN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -14438,6 +14841,50 @@ func (a *VirtualizationAPIService) VirtualizationVirtualMachinesListExecute(r Ap parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", t, "multi") } } + if r.statusNic != nil { + t := *r.statusNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nic", t, "multi") + } + } + if r.statusNie != nil { + t := *r.statusNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nie", t, "multi") + } + } + if r.statusNiew != nil { + t := *r.statusNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__niew", t, "multi") + } + } + if r.statusNisw != nil { + t := *r.statusNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nisw", t, "multi") + } + } if r.tag != nil { t := *r.tag if reflect.TypeOf(t).Kind() == reflect.Slice { diff --git a/api_vpn.go b/api_vpn.go index 6893f11ad..3b75168ec 100644 --- a/api_vpn.go +++ b/api_vpn.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -660,7 +660,16 @@ type ApiVpnIkePoliciesListRequest struct { lastUpdatedN *[]time.Time limit *int32 mode *[]string - modeN *[]string + modeEmpty *bool + modeIc *[]VpnIkePoliciesListModeIcParameterInner + modeIe *[]VpnIkePoliciesListModeIcParameterInner + modeIew *[]VpnIkePoliciesListModeIcParameterInner + modeIsw *[]VpnIkePoliciesListModeIcParameterInner + modeN *[]VpnIkePoliciesListModeIcParameterInner + modeNic *[]VpnIkePoliciesListModeIcParameterInner + modeNie *[]VpnIkePoliciesListModeIcParameterInner + modeNiew *[]VpnIkePoliciesListModeIcParameterInner + modeNisw *[]VpnIkePoliciesListModeIcParameterInner modifiedByRequest *string name *[]string nameEmpty *bool @@ -685,16 +694,20 @@ type ApiVpnIkePoliciesListRequest struct { presharedKeyNie *string presharedKeyNiew *string presharedKeyNisw *string - proposal *[]string - proposalN *[]string - proposalId *[]int32 - proposalIdN *[]int32 q *string tag *[]string tagN *[]string updatedByRequest *string version *[]int32 - versionN *[]int32 + versionIc *[]VpnIkePoliciesListVersionIcParameterInner + versionIe *[]VpnIkePoliciesListVersionIcParameterInner + versionIew *[]VpnIkePoliciesListVersionIcParameterInner + versionIsw *[]VpnIkePoliciesListVersionIcParameterInner + versionN *[]VpnIkePoliciesListVersionIcParameterInner + versionNic *[]VpnIkePoliciesListVersionIcParameterInner + versionNie *[]VpnIkePoliciesListVersionIcParameterInner + versionNiew *[]VpnIkePoliciesListVersionIcParameterInner + versionNisw *[]VpnIkePoliciesListVersionIcParameterInner } func (r ApiVpnIkePoliciesListRequest) Created(created []time.Time) ApiVpnIkePoliciesListRequest { @@ -893,11 +906,65 @@ func (r ApiVpnIkePoliciesListRequest) Mode(mode []string) ApiVpnIkePoliciesListR return r } -func (r ApiVpnIkePoliciesListRequest) ModeN(modeN []string) ApiVpnIkePoliciesListRequest { +func (r ApiVpnIkePoliciesListRequest) ModeEmpty(modeEmpty bool) ApiVpnIkePoliciesListRequest { + r.modeEmpty = &modeEmpty + return r +} + +// * `aggressive` - Aggressive * `main` - Main +func (r ApiVpnIkePoliciesListRequest) ModeIc(modeIc []VpnIkePoliciesListModeIcParameterInner) ApiVpnIkePoliciesListRequest { + r.modeIc = &modeIc + return r +} + +// * `aggressive` - Aggressive * `main` - Main +func (r ApiVpnIkePoliciesListRequest) ModeIe(modeIe []VpnIkePoliciesListModeIcParameterInner) ApiVpnIkePoliciesListRequest { + r.modeIe = &modeIe + return r +} + +// * `aggressive` - Aggressive * `main` - Main +func (r ApiVpnIkePoliciesListRequest) ModeIew(modeIew []VpnIkePoliciesListModeIcParameterInner) ApiVpnIkePoliciesListRequest { + r.modeIew = &modeIew + return r +} + +// * `aggressive` - Aggressive * `main` - Main +func (r ApiVpnIkePoliciesListRequest) ModeIsw(modeIsw []VpnIkePoliciesListModeIcParameterInner) ApiVpnIkePoliciesListRequest { + r.modeIsw = &modeIsw + return r +} + +// * `aggressive` - Aggressive * `main` - Main +func (r ApiVpnIkePoliciesListRequest) ModeN(modeN []VpnIkePoliciesListModeIcParameterInner) ApiVpnIkePoliciesListRequest { r.modeN = &modeN return r } +// * `aggressive` - Aggressive * `main` - Main +func (r ApiVpnIkePoliciesListRequest) ModeNic(modeNic []VpnIkePoliciesListModeIcParameterInner) ApiVpnIkePoliciesListRequest { + r.modeNic = &modeNic + return r +} + +// * `aggressive` - Aggressive * `main` - Main +func (r ApiVpnIkePoliciesListRequest) ModeNie(modeNie []VpnIkePoliciesListModeIcParameterInner) ApiVpnIkePoliciesListRequest { + r.modeNie = &modeNie + return r +} + +// * `aggressive` - Aggressive * `main` - Main +func (r ApiVpnIkePoliciesListRequest) ModeNiew(modeNiew []VpnIkePoliciesListModeIcParameterInner) ApiVpnIkePoliciesListRequest { + r.modeNiew = &modeNiew + return r +} + +// * `aggressive` - Aggressive * `main` - Main +func (r ApiVpnIkePoliciesListRequest) ModeNisw(modeNisw []VpnIkePoliciesListModeIcParameterInner) ApiVpnIkePoliciesListRequest { + r.modeNisw = &modeNisw + return r +} + func (r ApiVpnIkePoliciesListRequest) ModifiedByRequest(modifiedByRequest string) ApiVpnIkePoliciesListRequest { r.modifiedByRequest = &modifiedByRequest return r @@ -1020,57 +1087,86 @@ func (r ApiVpnIkePoliciesListRequest) PresharedKeyNisw(presharedKeyNisw string) return r } -func (r ApiVpnIkePoliciesListRequest) Proposal(proposal []string) ApiVpnIkePoliciesListRequest { - r.proposal = &proposal +// Search +func (r ApiVpnIkePoliciesListRequest) Q(q string) ApiVpnIkePoliciesListRequest { + r.q = &q return r } -func (r ApiVpnIkePoliciesListRequest) ProposalN(proposalN []string) ApiVpnIkePoliciesListRequest { - r.proposalN = &proposalN +func (r ApiVpnIkePoliciesListRequest) Tag(tag []string) ApiVpnIkePoliciesListRequest { + r.tag = &tag return r } -func (r ApiVpnIkePoliciesListRequest) ProposalId(proposalId []int32) ApiVpnIkePoliciesListRequest { - r.proposalId = &proposalId +func (r ApiVpnIkePoliciesListRequest) TagN(tagN []string) ApiVpnIkePoliciesListRequest { + r.tagN = &tagN return r } -func (r ApiVpnIkePoliciesListRequest) ProposalIdN(proposalIdN []int32) ApiVpnIkePoliciesListRequest { - r.proposalIdN = &proposalIdN +func (r ApiVpnIkePoliciesListRequest) UpdatedByRequest(updatedByRequest string) ApiVpnIkePoliciesListRequest { + r.updatedByRequest = &updatedByRequest return r } -// Search -func (r ApiVpnIkePoliciesListRequest) Q(q string) ApiVpnIkePoliciesListRequest { - r.q = &q +func (r ApiVpnIkePoliciesListRequest) Version(version []int32) ApiVpnIkePoliciesListRequest { + r.version = &version return r } -func (r ApiVpnIkePoliciesListRequest) Tag(tag []string) ApiVpnIkePoliciesListRequest { - r.tag = &tag +// * `1` - IKEv1 * `2` - IKEv2 +func (r ApiVpnIkePoliciesListRequest) VersionIc(versionIc []VpnIkePoliciesListVersionIcParameterInner) ApiVpnIkePoliciesListRequest { + r.versionIc = &versionIc return r } -func (r ApiVpnIkePoliciesListRequest) TagN(tagN []string) ApiVpnIkePoliciesListRequest { - r.tagN = &tagN +// * `1` - IKEv1 * `2` - IKEv2 +func (r ApiVpnIkePoliciesListRequest) VersionIe(versionIe []VpnIkePoliciesListVersionIcParameterInner) ApiVpnIkePoliciesListRequest { + r.versionIe = &versionIe return r } -func (r ApiVpnIkePoliciesListRequest) UpdatedByRequest(updatedByRequest string) ApiVpnIkePoliciesListRequest { - r.updatedByRequest = &updatedByRequest +// * `1` - IKEv1 * `2` - IKEv2 +func (r ApiVpnIkePoliciesListRequest) VersionIew(versionIew []VpnIkePoliciesListVersionIcParameterInner) ApiVpnIkePoliciesListRequest { + r.versionIew = &versionIew return r } -func (r ApiVpnIkePoliciesListRequest) Version(version []int32) ApiVpnIkePoliciesListRequest { - r.version = &version +// * `1` - IKEv1 * `2` - IKEv2 +func (r ApiVpnIkePoliciesListRequest) VersionIsw(versionIsw []VpnIkePoliciesListVersionIcParameterInner) ApiVpnIkePoliciesListRequest { + r.versionIsw = &versionIsw return r } -func (r ApiVpnIkePoliciesListRequest) VersionN(versionN []int32) ApiVpnIkePoliciesListRequest { +// * `1` - IKEv1 * `2` - IKEv2 +func (r ApiVpnIkePoliciesListRequest) VersionN(versionN []VpnIkePoliciesListVersionIcParameterInner) ApiVpnIkePoliciesListRequest { r.versionN = &versionN return r } +// * `1` - IKEv1 * `2` - IKEv2 +func (r ApiVpnIkePoliciesListRequest) VersionNic(versionNic []VpnIkePoliciesListVersionIcParameterInner) ApiVpnIkePoliciesListRequest { + r.versionNic = &versionNic + return r +} + +// * `1` - IKEv1 * `2` - IKEv2 +func (r ApiVpnIkePoliciesListRequest) VersionNie(versionNie []VpnIkePoliciesListVersionIcParameterInner) ApiVpnIkePoliciesListRequest { + r.versionNie = &versionNie + return r +} + +// * `1` - IKEv1 * `2` - IKEv2 +func (r ApiVpnIkePoliciesListRequest) VersionNiew(versionNiew []VpnIkePoliciesListVersionIcParameterInner) ApiVpnIkePoliciesListRequest { + r.versionNiew = &versionNiew + return r +} + +// * `1` - IKEv1 * `2` - IKEv2 +func (r ApiVpnIkePoliciesListRequest) VersionNisw(versionNisw []VpnIkePoliciesListVersionIcParameterInner) ApiVpnIkePoliciesListRequest { + r.versionNisw = &versionNisw + return r +} + func (r ApiVpnIkePoliciesListRequest) Execute() (*PaginatedIKEPolicyList, *http.Response, error) { return r.ApiService.VpnIkePoliciesListExecute(r) } @@ -1509,6 +1605,53 @@ func (a *VpnAPIService) VpnIkePoliciesListExecute(r ApiVpnIkePoliciesListRequest parameterAddToHeaderOrQuery(localVarQueryParams, "mode", t, "multi") } } + if r.modeEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "mode__empty", r.modeEmpty, "") + } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "mode__ic", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "mode__ie", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "mode__iew", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "mode__isw", t, "multi") + } + } if r.modeN != nil { t := *r.modeN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -1520,6 +1663,50 @@ func (a *VpnAPIService) VpnIkePoliciesListExecute(r ApiVpnIkePoliciesListRequest parameterAddToHeaderOrQuery(localVarQueryParams, "mode__n", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "mode__nic", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "mode__nie", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "mode__niew", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "mode__nisw", t, "multi") + } + } if r.modifiedByRequest != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "modified_by_request", r.modifiedByRequest, "") } @@ -1672,87 +1859,87 @@ func (a *VpnAPIService) VpnIkePoliciesListExecute(r ApiVpnIkePoliciesListRequest if r.presharedKeyNisw != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "preshared_key__nisw", r.presharedKeyNisw, "") } - if r.proposal != nil { - t := *r.proposal + if r.q != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "") + } + if r.tag != nil { + t := *r.tag if reflect.TypeOf(t).Kind() == reflect.Slice { s := reflect.ValueOf(t) for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "proposal", s.Index(i).Interface(), "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "tag", s.Index(i).Interface(), "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "proposal", t, "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "tag", t, "multi") } } - if r.proposalN != nil { - t := *r.proposalN + if r.tagN != nil { + t := *r.tagN if reflect.TypeOf(t).Kind() == reflect.Slice { s := reflect.ValueOf(t) for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "proposal__n", s.Index(i).Interface(), "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "tag__n", s.Index(i).Interface(), "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "proposal__n", t, "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "tag__n", t, "multi") } } - if r.proposalId != nil { - t := *r.proposalId + if r.updatedByRequest != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "updated_by_request", r.updatedByRequest, "") + } + 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, "proposal_id", s.Index(i).Interface(), "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "version", s.Index(i).Interface(), "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "proposal_id", t, "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "version", t, "multi") } } - if r.proposalIdN != nil { - t := *r.proposalIdN + 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, "proposal_id__n", s.Index(i).Interface(), "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "version__ic", s.Index(i).Interface(), "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "proposal_id__n", t, "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "version__ic", t, "multi") } } - if r.q != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "") - } - if r.tag != nil { - t := *r.tag + 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, "tag", s.Index(i).Interface(), "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "version__ie", s.Index(i).Interface(), "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "tag", t, "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "version__ie", t, "multi") } } - if r.tagN != nil { - t := *r.tagN + 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, "tag__n", s.Index(i).Interface(), "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "version__iew", s.Index(i).Interface(), "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "tag__n", t, "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "version__iew", t, "multi") } } - if r.updatedByRequest != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "updated_by_request", r.updatedByRequest, "") - } - if r.version != nil { - t := *r.version + 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, "version", s.Index(i).Interface(), "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "version__isw", s.Index(i).Interface(), "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "version", t, "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "version__isw", t, "multi") } } if r.versionN != nil { @@ -1766,6 +1953,50 @@ func (a *VpnAPIService) VpnIkePoliciesListExecute(r ApiVpnIkePoliciesListRequest parameterAddToHeaderOrQuery(localVarQueryParams, "version__n", t, "multi") } } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "version__nic", t, "multi") + } + } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "version__nie", t, "multi") + } + } + 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, "version__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "version__niew", t, "multi") + } + } + 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, "version__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "version__nisw", t, "multi") + } + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -2802,79 +3033,114 @@ func (a *VpnAPIService) VpnIkeProposalsDestroyExecute(r ApiVpnIkeProposalsDestro } type ApiVpnIkeProposalsListRequest struct { - ctx context.Context - ApiService *VpnAPIService - authenticationAlgorithm *[]string - authenticationAlgorithmN *[]string - authenticationMethod *[]string - authenticationMethodN *[]string - created *[]time.Time - createdEmpty *[]time.Time - createdGt *[]time.Time - createdGte *[]time.Time - createdLt *[]time.Time - createdLte *[]time.Time - createdN *[]time.Time - createdByRequest *string - description *[]string - descriptionEmpty *bool - descriptionIc *[]string - descriptionIe *[]string - descriptionIew *[]string - descriptionIsw *[]string - descriptionN *[]string - descriptionNic *[]string - descriptionNie *[]string - descriptionNiew *[]string - descriptionNisw *[]string - encryptionAlgorithm *[]string - encryptionAlgorithmN *[]string - group *[]int32 - groupN *[]int32 - id *[]int32 - idEmpty *bool - idGt *[]int32 - idGte *[]int32 - idLt *[]int32 - idLte *[]int32 - idN *[]int32 - ikePolicy *[]string - ikePolicyN *[]string - ikePolicyId *[]int32 - ikePolicyIdN *[]int32 - lastUpdated *[]time.Time - lastUpdatedEmpty *[]time.Time - lastUpdatedGt *[]time.Time - lastUpdatedGte *[]time.Time - lastUpdatedLt *[]time.Time - lastUpdatedLte *[]time.Time - lastUpdatedN *[]time.Time - limit *int32 - modifiedByRequest *string - name *[]string - nameEmpty *bool - nameIc *[]string - nameIe *[]string - nameIew *[]string - nameIsw *[]string - nameN *[]string - nameNic *[]string - nameNie *[]string - nameNiew *[]string - nameNisw *[]string - offset *int32 - ordering *string - q *string - saLifetime *[]int32 - saLifetimeEmpty *bool - saLifetimeGt *[]int32 - saLifetimeGte *[]int32 - saLifetimeLt *[]int32 - saLifetimeLte *[]int32 - saLifetimeN *[]int32 - tag *[]string - tagN *[]string - updatedByRequest *string + ctx context.Context + ApiService *VpnAPIService + authenticationAlgorithm *[]string + authenticationAlgorithmEmpty *bool + authenticationAlgorithmIc *[]VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner + authenticationAlgorithmIe *[]VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner + authenticationAlgorithmIew *[]VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner + authenticationAlgorithmIsw *[]VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner + authenticationAlgorithmN *[]VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner + authenticationAlgorithmNic *[]VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner + authenticationAlgorithmNie *[]VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner + authenticationAlgorithmNiew *[]VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner + authenticationAlgorithmNisw *[]VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner + authenticationMethod *[]string + authenticationMethodEmpty *bool + authenticationMethodIc *[]VpnIkeProposalsListAuthenticationMethodIcParameterInner + authenticationMethodIe *[]VpnIkeProposalsListAuthenticationMethodIcParameterInner + authenticationMethodIew *[]VpnIkeProposalsListAuthenticationMethodIcParameterInner + authenticationMethodIsw *[]VpnIkeProposalsListAuthenticationMethodIcParameterInner + authenticationMethodN *[]VpnIkeProposalsListAuthenticationMethodIcParameterInner + authenticationMethodNic *[]VpnIkeProposalsListAuthenticationMethodIcParameterInner + authenticationMethodNie *[]VpnIkeProposalsListAuthenticationMethodIcParameterInner + authenticationMethodNiew *[]VpnIkeProposalsListAuthenticationMethodIcParameterInner + authenticationMethodNisw *[]VpnIkeProposalsListAuthenticationMethodIcParameterInner + created *[]time.Time + createdEmpty *[]time.Time + createdGt *[]time.Time + createdGte *[]time.Time + createdLt *[]time.Time + createdLte *[]time.Time + createdN *[]time.Time + createdByRequest *string + description *[]string + descriptionEmpty *bool + descriptionIc *[]string + descriptionIe *[]string + descriptionIew *[]string + descriptionIsw *[]string + descriptionN *[]string + descriptionNic *[]string + descriptionNie *[]string + descriptionNiew *[]string + descriptionNisw *[]string + encryptionAlgorithm *[]string + encryptionAlgorithmEmpty *bool + encryptionAlgorithmIc *[]VpnIkeProposalsListEncryptionAlgorithmIcParameterInner + encryptionAlgorithmIe *[]VpnIkeProposalsListEncryptionAlgorithmIcParameterInner + encryptionAlgorithmIew *[]VpnIkeProposalsListEncryptionAlgorithmIcParameterInner + encryptionAlgorithmIsw *[]VpnIkeProposalsListEncryptionAlgorithmIcParameterInner + encryptionAlgorithmN *[]VpnIkeProposalsListEncryptionAlgorithmIcParameterInner + encryptionAlgorithmNic *[]VpnIkeProposalsListEncryptionAlgorithmIcParameterInner + encryptionAlgorithmNie *[]VpnIkeProposalsListEncryptionAlgorithmIcParameterInner + encryptionAlgorithmNiew *[]VpnIkeProposalsListEncryptionAlgorithmIcParameterInner + encryptionAlgorithmNisw *[]VpnIkeProposalsListEncryptionAlgorithmIcParameterInner + group *[]int32 + groupIc *[]VpnIkeProposalsListGroupIcParameterInner + groupIe *[]VpnIkeProposalsListGroupIcParameterInner + groupIew *[]VpnIkeProposalsListGroupIcParameterInner + groupIsw *[]VpnIkeProposalsListGroupIcParameterInner + groupN *[]VpnIkeProposalsListGroupIcParameterInner + groupNic *[]VpnIkeProposalsListGroupIcParameterInner + groupNie *[]VpnIkeProposalsListGroupIcParameterInner + groupNiew *[]VpnIkeProposalsListGroupIcParameterInner + groupNisw *[]VpnIkeProposalsListGroupIcParameterInner + id *[]int32 + idEmpty *bool + idGt *[]int32 + idGte *[]int32 + idLt *[]int32 + idLte *[]int32 + idN *[]int32 + ikePolicy *[]string + ikePolicyN *[]string + ikePolicyId *[]int32 + ikePolicyIdN *[]int32 + lastUpdated *[]time.Time + lastUpdatedEmpty *[]time.Time + lastUpdatedGt *[]time.Time + lastUpdatedGte *[]time.Time + lastUpdatedLt *[]time.Time + lastUpdatedLte *[]time.Time + lastUpdatedN *[]time.Time + limit *int32 + modifiedByRequest *string + name *[]string + nameEmpty *bool + nameIc *[]string + nameIe *[]string + nameIew *[]string + nameIsw *[]string + nameN *[]string + nameNic *[]string + nameNie *[]string + nameNiew *[]string + nameNisw *[]string + offset *int32 + ordering *string + q *string + saLifetime *[]int32 + saLifetimeEmpty *bool + saLifetimeGt *[]int32 + saLifetimeGte *[]int32 + saLifetimeLt *[]int32 + saLifetimeLte *[]int32 + saLifetimeN *[]int32 + tag *[]string + tagN *[]string + updatedByRequest *string } func (r ApiVpnIkeProposalsListRequest) AuthenticationAlgorithm(authenticationAlgorithm []string) ApiVpnIkeProposalsListRequest { @@ -2882,21 +3148,129 @@ func (r ApiVpnIkeProposalsListRequest) AuthenticationAlgorithm(authenticationAlg return r } -func (r ApiVpnIkeProposalsListRequest) AuthenticationAlgorithmN(authenticationAlgorithmN []string) ApiVpnIkeProposalsListRequest { +func (r ApiVpnIkeProposalsListRequest) AuthenticationAlgorithmEmpty(authenticationAlgorithmEmpty bool) ApiVpnIkeProposalsListRequest { + r.authenticationAlgorithmEmpty = &authenticationAlgorithmEmpty + return r +} + +// * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC +func (r ApiVpnIkeProposalsListRequest) AuthenticationAlgorithmIc(authenticationAlgorithmIc []VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner) ApiVpnIkeProposalsListRequest { + r.authenticationAlgorithmIc = &authenticationAlgorithmIc + return r +} + +// * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC +func (r ApiVpnIkeProposalsListRequest) AuthenticationAlgorithmIe(authenticationAlgorithmIe []VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner) ApiVpnIkeProposalsListRequest { + r.authenticationAlgorithmIe = &authenticationAlgorithmIe + return r +} + +// * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC +func (r ApiVpnIkeProposalsListRequest) AuthenticationAlgorithmIew(authenticationAlgorithmIew []VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner) ApiVpnIkeProposalsListRequest { + r.authenticationAlgorithmIew = &authenticationAlgorithmIew + return r +} + +// * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC +func (r ApiVpnIkeProposalsListRequest) AuthenticationAlgorithmIsw(authenticationAlgorithmIsw []VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner) ApiVpnIkeProposalsListRequest { + r.authenticationAlgorithmIsw = &authenticationAlgorithmIsw + return r +} + +// * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC +func (r ApiVpnIkeProposalsListRequest) AuthenticationAlgorithmN(authenticationAlgorithmN []VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner) ApiVpnIkeProposalsListRequest { r.authenticationAlgorithmN = &authenticationAlgorithmN return r } +// * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC +func (r ApiVpnIkeProposalsListRequest) AuthenticationAlgorithmNic(authenticationAlgorithmNic []VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner) ApiVpnIkeProposalsListRequest { + r.authenticationAlgorithmNic = &authenticationAlgorithmNic + return r +} + +// * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC +func (r ApiVpnIkeProposalsListRequest) AuthenticationAlgorithmNie(authenticationAlgorithmNie []VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner) ApiVpnIkeProposalsListRequest { + r.authenticationAlgorithmNie = &authenticationAlgorithmNie + return r +} + +// * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC +func (r ApiVpnIkeProposalsListRequest) AuthenticationAlgorithmNiew(authenticationAlgorithmNiew []VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner) ApiVpnIkeProposalsListRequest { + r.authenticationAlgorithmNiew = &authenticationAlgorithmNiew + return r +} + +// * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC +func (r ApiVpnIkeProposalsListRequest) AuthenticationAlgorithmNisw(authenticationAlgorithmNisw []VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner) ApiVpnIkeProposalsListRequest { + r.authenticationAlgorithmNisw = &authenticationAlgorithmNisw + return r +} + func (r ApiVpnIkeProposalsListRequest) AuthenticationMethod(authenticationMethod []string) ApiVpnIkeProposalsListRequest { r.authenticationMethod = &authenticationMethod return r } -func (r ApiVpnIkeProposalsListRequest) AuthenticationMethodN(authenticationMethodN []string) ApiVpnIkeProposalsListRequest { +func (r ApiVpnIkeProposalsListRequest) AuthenticationMethodEmpty(authenticationMethodEmpty bool) ApiVpnIkeProposalsListRequest { + r.authenticationMethodEmpty = &authenticationMethodEmpty + return r +} + +// * `preshared-keys` - Pre-shared keys * `certificates` - Certificates * `rsa-signatures` - RSA signatures * `dsa-signatures` - DSA signatures +func (r ApiVpnIkeProposalsListRequest) AuthenticationMethodIc(authenticationMethodIc []VpnIkeProposalsListAuthenticationMethodIcParameterInner) ApiVpnIkeProposalsListRequest { + r.authenticationMethodIc = &authenticationMethodIc + return r +} + +// * `preshared-keys` - Pre-shared keys * `certificates` - Certificates * `rsa-signatures` - RSA signatures * `dsa-signatures` - DSA signatures +func (r ApiVpnIkeProposalsListRequest) AuthenticationMethodIe(authenticationMethodIe []VpnIkeProposalsListAuthenticationMethodIcParameterInner) ApiVpnIkeProposalsListRequest { + r.authenticationMethodIe = &authenticationMethodIe + return r +} + +// * `preshared-keys` - Pre-shared keys * `certificates` - Certificates * `rsa-signatures` - RSA signatures * `dsa-signatures` - DSA signatures +func (r ApiVpnIkeProposalsListRequest) AuthenticationMethodIew(authenticationMethodIew []VpnIkeProposalsListAuthenticationMethodIcParameterInner) ApiVpnIkeProposalsListRequest { + r.authenticationMethodIew = &authenticationMethodIew + return r +} + +// * `preshared-keys` - Pre-shared keys * `certificates` - Certificates * `rsa-signatures` - RSA signatures * `dsa-signatures` - DSA signatures +func (r ApiVpnIkeProposalsListRequest) AuthenticationMethodIsw(authenticationMethodIsw []VpnIkeProposalsListAuthenticationMethodIcParameterInner) ApiVpnIkeProposalsListRequest { + r.authenticationMethodIsw = &authenticationMethodIsw + return r +} + +// * `preshared-keys` - Pre-shared keys * `certificates` - Certificates * `rsa-signatures` - RSA signatures * `dsa-signatures` - DSA signatures +func (r ApiVpnIkeProposalsListRequest) AuthenticationMethodN(authenticationMethodN []VpnIkeProposalsListAuthenticationMethodIcParameterInner) ApiVpnIkeProposalsListRequest { r.authenticationMethodN = &authenticationMethodN return r } +// * `preshared-keys` - Pre-shared keys * `certificates` - Certificates * `rsa-signatures` - RSA signatures * `dsa-signatures` - DSA signatures +func (r ApiVpnIkeProposalsListRequest) AuthenticationMethodNic(authenticationMethodNic []VpnIkeProposalsListAuthenticationMethodIcParameterInner) ApiVpnIkeProposalsListRequest { + r.authenticationMethodNic = &authenticationMethodNic + return r +} + +// * `preshared-keys` - Pre-shared keys * `certificates` - Certificates * `rsa-signatures` - RSA signatures * `dsa-signatures` - DSA signatures +func (r ApiVpnIkeProposalsListRequest) AuthenticationMethodNie(authenticationMethodNie []VpnIkeProposalsListAuthenticationMethodIcParameterInner) ApiVpnIkeProposalsListRequest { + r.authenticationMethodNie = &authenticationMethodNie + return r +} + +// * `preshared-keys` - Pre-shared keys * `certificates` - Certificates * `rsa-signatures` - RSA signatures * `dsa-signatures` - DSA signatures +func (r ApiVpnIkeProposalsListRequest) AuthenticationMethodNiew(authenticationMethodNiew []VpnIkeProposalsListAuthenticationMethodIcParameterInner) ApiVpnIkeProposalsListRequest { + r.authenticationMethodNiew = &authenticationMethodNiew + return r +} + +// * `preshared-keys` - Pre-shared keys * `certificates` - Certificates * `rsa-signatures` - RSA signatures * `dsa-signatures` - DSA signatures +func (r ApiVpnIkeProposalsListRequest) AuthenticationMethodNisw(authenticationMethodNisw []VpnIkeProposalsListAuthenticationMethodIcParameterInner) ApiVpnIkeProposalsListRequest { + r.authenticationMethodNisw = &authenticationMethodNisw + return r +} + func (r ApiVpnIkeProposalsListRequest) Created(created []time.Time) ApiVpnIkeProposalsListRequest { r.created = &created return r @@ -2997,44 +3371,146 @@ func (r ApiVpnIkeProposalsListRequest) EncryptionAlgorithm(encryptionAlgorithm [ return r } -func (r ApiVpnIkeProposalsListRequest) EncryptionAlgorithmN(encryptionAlgorithmN []string) ApiVpnIkeProposalsListRequest { - r.encryptionAlgorithmN = &encryptionAlgorithmN +func (r ApiVpnIkeProposalsListRequest) EncryptionAlgorithmEmpty(encryptionAlgorithmEmpty bool) ApiVpnIkeProposalsListRequest { + r.encryptionAlgorithmEmpty = &encryptionAlgorithmEmpty return r } -// Diffie-Hellman group ID -func (r ApiVpnIkeProposalsListRequest) Group(group []int32) ApiVpnIkeProposalsListRequest { - r.group = &group +// * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES +func (r ApiVpnIkeProposalsListRequest) EncryptionAlgorithmIc(encryptionAlgorithmIc []VpnIkeProposalsListEncryptionAlgorithmIcParameterInner) ApiVpnIkeProposalsListRequest { + r.encryptionAlgorithmIc = &encryptionAlgorithmIc return r } -// Diffie-Hellman group ID -func (r ApiVpnIkeProposalsListRequest) GroupN(groupN []int32) ApiVpnIkeProposalsListRequest { - r.groupN = &groupN +// * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES +func (r ApiVpnIkeProposalsListRequest) EncryptionAlgorithmIe(encryptionAlgorithmIe []VpnIkeProposalsListEncryptionAlgorithmIcParameterInner) ApiVpnIkeProposalsListRequest { + r.encryptionAlgorithmIe = &encryptionAlgorithmIe return r } -func (r ApiVpnIkeProposalsListRequest) Id(id []int32) ApiVpnIkeProposalsListRequest { - r.id = &id +// * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES +func (r ApiVpnIkeProposalsListRequest) EncryptionAlgorithmIew(encryptionAlgorithmIew []VpnIkeProposalsListEncryptionAlgorithmIcParameterInner) ApiVpnIkeProposalsListRequest { + r.encryptionAlgorithmIew = &encryptionAlgorithmIew return r } -func (r ApiVpnIkeProposalsListRequest) IdEmpty(idEmpty bool) ApiVpnIkeProposalsListRequest { - r.idEmpty = &idEmpty +// * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES +func (r ApiVpnIkeProposalsListRequest) EncryptionAlgorithmIsw(encryptionAlgorithmIsw []VpnIkeProposalsListEncryptionAlgorithmIcParameterInner) ApiVpnIkeProposalsListRequest { + r.encryptionAlgorithmIsw = &encryptionAlgorithmIsw return r } -func (r ApiVpnIkeProposalsListRequest) IdGt(idGt []int32) ApiVpnIkeProposalsListRequest { - r.idGt = &idGt +// * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES +func (r ApiVpnIkeProposalsListRequest) EncryptionAlgorithmN(encryptionAlgorithmN []VpnIkeProposalsListEncryptionAlgorithmIcParameterInner) ApiVpnIkeProposalsListRequest { + r.encryptionAlgorithmN = &encryptionAlgorithmN return r } -func (r ApiVpnIkeProposalsListRequest) IdGte(idGte []int32) ApiVpnIkeProposalsListRequest { - r.idGte = &idGte +// * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES +func (r ApiVpnIkeProposalsListRequest) EncryptionAlgorithmNic(encryptionAlgorithmNic []VpnIkeProposalsListEncryptionAlgorithmIcParameterInner) ApiVpnIkeProposalsListRequest { + r.encryptionAlgorithmNic = &encryptionAlgorithmNic return r } -func (r ApiVpnIkeProposalsListRequest) IdLt(idLt []int32) ApiVpnIkeProposalsListRequest { +// * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES +func (r ApiVpnIkeProposalsListRequest) EncryptionAlgorithmNie(encryptionAlgorithmNie []VpnIkeProposalsListEncryptionAlgorithmIcParameterInner) ApiVpnIkeProposalsListRequest { + r.encryptionAlgorithmNie = &encryptionAlgorithmNie + return r +} + +// * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES +func (r ApiVpnIkeProposalsListRequest) EncryptionAlgorithmNiew(encryptionAlgorithmNiew []VpnIkeProposalsListEncryptionAlgorithmIcParameterInner) ApiVpnIkeProposalsListRequest { + r.encryptionAlgorithmNiew = &encryptionAlgorithmNiew + return r +} + +// * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES +func (r ApiVpnIkeProposalsListRequest) EncryptionAlgorithmNisw(encryptionAlgorithmNisw []VpnIkeProposalsListEncryptionAlgorithmIcParameterInner) ApiVpnIkeProposalsListRequest { + r.encryptionAlgorithmNisw = &encryptionAlgorithmNisw + return r +} + +// Diffie-Hellman group ID +func (r ApiVpnIkeProposalsListRequest) Group(group []int32) ApiVpnIkeProposalsListRequest { + r.group = &group + return r +} + +// Diffie-Hellman group ID * `1` - Group 1 * `2` - Group 2 * `5` - Group 5 * `14` - Group 14 * `15` - Group 15 * `16` - Group 16 * `17` - Group 17 * `18` - Group 18 * `19` - Group 19 * `20` - Group 20 * `21` - Group 21 * `22` - Group 22 * `23` - Group 23 * `24` - Group 24 * `25` - Group 25 * `26` - Group 26 * `27` - Group 27 * `28` - Group 28 * `29` - Group 29 * `30` - Group 30 * `31` - Group 31 * `32` - Group 32 * `33` - Group 33 * `34` - Group 34 +func (r ApiVpnIkeProposalsListRequest) GroupIc(groupIc []VpnIkeProposalsListGroupIcParameterInner) ApiVpnIkeProposalsListRequest { + r.groupIc = &groupIc + return r +} + +// Diffie-Hellman group ID * `1` - Group 1 * `2` - Group 2 * `5` - Group 5 * `14` - Group 14 * `15` - Group 15 * `16` - Group 16 * `17` - Group 17 * `18` - Group 18 * `19` - Group 19 * `20` - Group 20 * `21` - Group 21 * `22` - Group 22 * `23` - Group 23 * `24` - Group 24 * `25` - Group 25 * `26` - Group 26 * `27` - Group 27 * `28` - Group 28 * `29` - Group 29 * `30` - Group 30 * `31` - Group 31 * `32` - Group 32 * `33` - Group 33 * `34` - Group 34 +func (r ApiVpnIkeProposalsListRequest) GroupIe(groupIe []VpnIkeProposalsListGroupIcParameterInner) ApiVpnIkeProposalsListRequest { + r.groupIe = &groupIe + return r +} + +// Diffie-Hellman group ID * `1` - Group 1 * `2` - Group 2 * `5` - Group 5 * `14` - Group 14 * `15` - Group 15 * `16` - Group 16 * `17` - Group 17 * `18` - Group 18 * `19` - Group 19 * `20` - Group 20 * `21` - Group 21 * `22` - Group 22 * `23` - Group 23 * `24` - Group 24 * `25` - Group 25 * `26` - Group 26 * `27` - Group 27 * `28` - Group 28 * `29` - Group 29 * `30` - Group 30 * `31` - Group 31 * `32` - Group 32 * `33` - Group 33 * `34` - Group 34 +func (r ApiVpnIkeProposalsListRequest) GroupIew(groupIew []VpnIkeProposalsListGroupIcParameterInner) ApiVpnIkeProposalsListRequest { + r.groupIew = &groupIew + return r +} + +// Diffie-Hellman group ID * `1` - Group 1 * `2` - Group 2 * `5` - Group 5 * `14` - Group 14 * `15` - Group 15 * `16` - Group 16 * `17` - Group 17 * `18` - Group 18 * `19` - Group 19 * `20` - Group 20 * `21` - Group 21 * `22` - Group 22 * `23` - Group 23 * `24` - Group 24 * `25` - Group 25 * `26` - Group 26 * `27` - Group 27 * `28` - Group 28 * `29` - Group 29 * `30` - Group 30 * `31` - Group 31 * `32` - Group 32 * `33` - Group 33 * `34` - Group 34 +func (r ApiVpnIkeProposalsListRequest) GroupIsw(groupIsw []VpnIkeProposalsListGroupIcParameterInner) ApiVpnIkeProposalsListRequest { + r.groupIsw = &groupIsw + return r +} + +// Diffie-Hellman group ID * `1` - Group 1 * `2` - Group 2 * `5` - Group 5 * `14` - Group 14 * `15` - Group 15 * `16` - Group 16 * `17` - Group 17 * `18` - Group 18 * `19` - Group 19 * `20` - Group 20 * `21` - Group 21 * `22` - Group 22 * `23` - Group 23 * `24` - Group 24 * `25` - Group 25 * `26` - Group 26 * `27` - Group 27 * `28` - Group 28 * `29` - Group 29 * `30` - Group 30 * `31` - Group 31 * `32` - Group 32 * `33` - Group 33 * `34` - Group 34 +func (r ApiVpnIkeProposalsListRequest) GroupN(groupN []VpnIkeProposalsListGroupIcParameterInner) ApiVpnIkeProposalsListRequest { + r.groupN = &groupN + return r +} + +// Diffie-Hellman group ID * `1` - Group 1 * `2` - Group 2 * `5` - Group 5 * `14` - Group 14 * `15` - Group 15 * `16` - Group 16 * `17` - Group 17 * `18` - Group 18 * `19` - Group 19 * `20` - Group 20 * `21` - Group 21 * `22` - Group 22 * `23` - Group 23 * `24` - Group 24 * `25` - Group 25 * `26` - Group 26 * `27` - Group 27 * `28` - Group 28 * `29` - Group 29 * `30` - Group 30 * `31` - Group 31 * `32` - Group 32 * `33` - Group 33 * `34` - Group 34 +func (r ApiVpnIkeProposalsListRequest) GroupNic(groupNic []VpnIkeProposalsListGroupIcParameterInner) ApiVpnIkeProposalsListRequest { + r.groupNic = &groupNic + return r +} + +// Diffie-Hellman group ID * `1` - Group 1 * `2` - Group 2 * `5` - Group 5 * `14` - Group 14 * `15` - Group 15 * `16` - Group 16 * `17` - Group 17 * `18` - Group 18 * `19` - Group 19 * `20` - Group 20 * `21` - Group 21 * `22` - Group 22 * `23` - Group 23 * `24` - Group 24 * `25` - Group 25 * `26` - Group 26 * `27` - Group 27 * `28` - Group 28 * `29` - Group 29 * `30` - Group 30 * `31` - Group 31 * `32` - Group 32 * `33` - Group 33 * `34` - Group 34 +func (r ApiVpnIkeProposalsListRequest) GroupNie(groupNie []VpnIkeProposalsListGroupIcParameterInner) ApiVpnIkeProposalsListRequest { + r.groupNie = &groupNie + return r +} + +// Diffie-Hellman group ID * `1` - Group 1 * `2` - Group 2 * `5` - Group 5 * `14` - Group 14 * `15` - Group 15 * `16` - Group 16 * `17` - Group 17 * `18` - Group 18 * `19` - Group 19 * `20` - Group 20 * `21` - Group 21 * `22` - Group 22 * `23` - Group 23 * `24` - Group 24 * `25` - Group 25 * `26` - Group 26 * `27` - Group 27 * `28` - Group 28 * `29` - Group 29 * `30` - Group 30 * `31` - Group 31 * `32` - Group 32 * `33` - Group 33 * `34` - Group 34 +func (r ApiVpnIkeProposalsListRequest) GroupNiew(groupNiew []VpnIkeProposalsListGroupIcParameterInner) ApiVpnIkeProposalsListRequest { + r.groupNiew = &groupNiew + return r +} + +// Diffie-Hellman group ID * `1` - Group 1 * `2` - Group 2 * `5` - Group 5 * `14` - Group 14 * `15` - Group 15 * `16` - Group 16 * `17` - Group 17 * `18` - Group 18 * `19` - Group 19 * `20` - Group 20 * `21` - Group 21 * `22` - Group 22 * `23` - Group 23 * `24` - Group 24 * `25` - Group 25 * `26` - Group 26 * `27` - Group 27 * `28` - Group 28 * `29` - Group 29 * `30` - Group 30 * `31` - Group 31 * `32` - Group 32 * `33` - Group 33 * `34` - Group 34 +func (r ApiVpnIkeProposalsListRequest) GroupNisw(groupNisw []VpnIkeProposalsListGroupIcParameterInner) ApiVpnIkeProposalsListRequest { + r.groupNisw = &groupNisw + return r +} + +func (r ApiVpnIkeProposalsListRequest) Id(id []int32) ApiVpnIkeProposalsListRequest { + r.id = &id + return r +} + +func (r ApiVpnIkeProposalsListRequest) IdEmpty(idEmpty bool) ApiVpnIkeProposalsListRequest { + r.idEmpty = &idEmpty + return r +} + +func (r ApiVpnIkeProposalsListRequest) IdGt(idGt []int32) ApiVpnIkeProposalsListRequest { + r.idGt = &idGt + return r +} + +func (r ApiVpnIkeProposalsListRequest) IdGte(idGte []int32) ApiVpnIkeProposalsListRequest { + r.idGte = &idGte + return r +} + +func (r ApiVpnIkeProposalsListRequest) IdLt(idLt []int32) ApiVpnIkeProposalsListRequest { r.idLt = &idLt return r } @@ -3294,6 +3770,53 @@ func (a *VpnAPIService) VpnIkeProposalsListExecute(r ApiVpnIkeProposalsListReque parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_algorithm", t, "multi") } } + if r.authenticationAlgorithmEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_algorithm__empty", r.authenticationAlgorithmEmpty, "") + } + if r.authenticationAlgorithmIc != nil { + t := *r.authenticationAlgorithmIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_algorithm__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_algorithm__ic", t, "multi") + } + } + if r.authenticationAlgorithmIe != nil { + t := *r.authenticationAlgorithmIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_algorithm__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_algorithm__ie", t, "multi") + } + } + if r.authenticationAlgorithmIew != nil { + t := *r.authenticationAlgorithmIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_algorithm__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_algorithm__iew", t, "multi") + } + } + if r.authenticationAlgorithmIsw != nil { + t := *r.authenticationAlgorithmIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_algorithm__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_algorithm__isw", t, "multi") + } + } if r.authenticationAlgorithmN != nil { t := *r.authenticationAlgorithmN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -3305,6 +3828,50 @@ func (a *VpnAPIService) VpnIkeProposalsListExecute(r ApiVpnIkeProposalsListReque parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_algorithm__n", t, "multi") } } + if r.authenticationAlgorithmNic != nil { + t := *r.authenticationAlgorithmNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_algorithm__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_algorithm__nic", t, "multi") + } + } + if r.authenticationAlgorithmNie != nil { + t := *r.authenticationAlgorithmNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_algorithm__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_algorithm__nie", t, "multi") + } + } + if r.authenticationAlgorithmNiew != nil { + t := *r.authenticationAlgorithmNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_algorithm__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_algorithm__niew", t, "multi") + } + } + if r.authenticationAlgorithmNisw != nil { + t := *r.authenticationAlgorithmNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_algorithm__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_algorithm__nisw", t, "multi") + } + } if r.authenticationMethod != nil { t := *r.authenticationMethod if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -3316,6 +3883,53 @@ func (a *VpnAPIService) VpnIkeProposalsListExecute(r ApiVpnIkeProposalsListReque parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_method", t, "multi") } } + if r.authenticationMethodEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_method__empty", r.authenticationMethodEmpty, "") + } + if r.authenticationMethodIc != nil { + t := *r.authenticationMethodIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_method__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_method__ic", t, "multi") + } + } + if r.authenticationMethodIe != nil { + t := *r.authenticationMethodIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_method__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_method__ie", t, "multi") + } + } + if r.authenticationMethodIew != nil { + t := *r.authenticationMethodIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_method__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_method__iew", t, "multi") + } + } + if r.authenticationMethodIsw != nil { + t := *r.authenticationMethodIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_method__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_method__isw", t, "multi") + } + } if r.authenticationMethodN != nil { t := *r.authenticationMethodN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -3327,6 +3941,50 @@ func (a *VpnAPIService) VpnIkeProposalsListExecute(r ApiVpnIkeProposalsListReque parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_method__n", t, "multi") } } + if r.authenticationMethodNic != nil { + t := *r.authenticationMethodNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_method__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_method__nic", t, "multi") + } + } + if r.authenticationMethodNie != nil { + t := *r.authenticationMethodNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_method__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_method__nie", t, "multi") + } + } + if r.authenticationMethodNiew != nil { + t := *r.authenticationMethodNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_method__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_method__niew", t, "multi") + } + } + if r.authenticationMethodNisw != nil { + t := *r.authenticationMethodNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_method__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_method__nisw", t, "multi") + } + } if r.created != nil { t := *r.created if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -3531,6 +4189,53 @@ func (a *VpnAPIService) VpnIkeProposalsListExecute(r ApiVpnIkeProposalsListReque parameterAddToHeaderOrQuery(localVarQueryParams, "encryption_algorithm", t, "multi") } } + if r.encryptionAlgorithmEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "encryption_algorithm__empty", r.encryptionAlgorithmEmpty, "") + } + if r.encryptionAlgorithmIc != nil { + t := *r.encryptionAlgorithmIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "encryption_algorithm__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "encryption_algorithm__ic", t, "multi") + } + } + if r.encryptionAlgorithmIe != nil { + t := *r.encryptionAlgorithmIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "encryption_algorithm__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "encryption_algorithm__ie", t, "multi") + } + } + if r.encryptionAlgorithmIew != nil { + t := *r.encryptionAlgorithmIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "encryption_algorithm__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "encryption_algorithm__iew", t, "multi") + } + } + if r.encryptionAlgorithmIsw != nil { + t := *r.encryptionAlgorithmIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "encryption_algorithm__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "encryption_algorithm__isw", t, "multi") + } + } if r.encryptionAlgorithmN != nil { t := *r.encryptionAlgorithmN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -3542,6 +4247,50 @@ func (a *VpnAPIService) VpnIkeProposalsListExecute(r ApiVpnIkeProposalsListReque parameterAddToHeaderOrQuery(localVarQueryParams, "encryption_algorithm__n", t, "multi") } } + if r.encryptionAlgorithmNic != nil { + t := *r.encryptionAlgorithmNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "encryption_algorithm__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "encryption_algorithm__nic", t, "multi") + } + } + if r.encryptionAlgorithmNie != nil { + t := *r.encryptionAlgorithmNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "encryption_algorithm__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "encryption_algorithm__nie", t, "multi") + } + } + if r.encryptionAlgorithmNiew != nil { + t := *r.encryptionAlgorithmNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "encryption_algorithm__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "encryption_algorithm__niew", t, "multi") + } + } + if r.encryptionAlgorithmNisw != nil { + t := *r.encryptionAlgorithmNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "encryption_algorithm__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "encryption_algorithm__nisw", t, "multi") + } + } if r.group != nil { t := *r.group if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -3553,6 +4302,50 @@ func (a *VpnAPIService) VpnIkeProposalsListExecute(r ApiVpnIkeProposalsListReque parameterAddToHeaderOrQuery(localVarQueryParams, "group", t, "multi") } } + if r.groupIc != nil { + t := *r.groupIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "group__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "group__ic", t, "multi") + } + } + if r.groupIe != nil { + t := *r.groupIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "group__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "group__ie", t, "multi") + } + } + if r.groupIew != nil { + t := *r.groupIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "group__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "group__iew", t, "multi") + } + } + if r.groupIsw != nil { + t := *r.groupIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "group__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "group__isw", t, "multi") + } + } if r.groupN != nil { t := *r.groupN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -3564,6 +4357,50 @@ func (a *VpnAPIService) VpnIkeProposalsListExecute(r ApiVpnIkeProposalsListReque parameterAddToHeaderOrQuery(localVarQueryParams, "group__n", t, "multi") } } + if r.groupNic != nil { + t := *r.groupNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "group__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "group__nic", t, "multi") + } + } + if r.groupNie != nil { + t := *r.groupNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "group__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "group__nie", t, "multi") + } + } + if r.groupNiew != nil { + t := *r.groupNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "group__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "group__niew", t, "multi") + } + } + if r.groupNisw != nil { + t := *r.groupNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "group__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "group__nisw", t, "multi") + } + } if r.id != nil { t := *r.id if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -5067,11 +5904,15 @@ type ApiVpnIpsecPoliciesListRequest struct { offset *int32 ordering *string pfsGroup *[]*int32 - pfsGroupN *[]*int32 - proposal *[]string - proposalN *[]string - proposalId *[]int32 - proposalIdN *[]int32 + pfsGroupIc *[]VpnIpsecPoliciesListPfsGroupIcParameterInner + pfsGroupIe *[]VpnIpsecPoliciesListPfsGroupIcParameterInner + pfsGroupIew *[]VpnIpsecPoliciesListPfsGroupIcParameterInner + pfsGroupIsw *[]VpnIpsecPoliciesListPfsGroupIcParameterInner + pfsGroupN *[]VpnIpsecPoliciesListPfsGroupIcParameterInner + pfsGroupNic *[]VpnIpsecPoliciesListPfsGroupIcParameterInner + pfsGroupNie *[]VpnIpsecPoliciesListPfsGroupIcParameterInner + pfsGroupNiew *[]VpnIpsecPoliciesListPfsGroupIcParameterInner + pfsGroupNisw *[]VpnIpsecPoliciesListPfsGroupIcParameterInner q *string tag *[]string tagN *[]string @@ -5347,29 +6188,57 @@ func (r ApiVpnIpsecPoliciesListRequest) PfsGroup(pfsGroup []*int32) ApiVpnIpsecP return r } -// Diffie-Hellman group for Perfect Forward Secrecy -func (r ApiVpnIpsecPoliciesListRequest) PfsGroupN(pfsGroupN []*int32) ApiVpnIpsecPoliciesListRequest { +// Diffie-Hellman group for Perfect Forward Secrecy * `1` - Group 1 * `2` - Group 2 * `5` - Group 5 * `14` - Group 14 * `15` - Group 15 * `16` - Group 16 * `17` - Group 17 * `18` - Group 18 * `19` - Group 19 * `20` - Group 20 * `21` - Group 21 * `22` - Group 22 * `23` - Group 23 * `24` - Group 24 * `25` - Group 25 * `26` - Group 26 * `27` - Group 27 * `28` - Group 28 * `29` - Group 29 * `30` - Group 30 * `31` - Group 31 * `32` - Group 32 * `33` - Group 33 * `34` - Group 34 +func (r ApiVpnIpsecPoliciesListRequest) PfsGroupIc(pfsGroupIc []VpnIpsecPoliciesListPfsGroupIcParameterInner) ApiVpnIpsecPoliciesListRequest { + r.pfsGroupIc = &pfsGroupIc + return r +} + +// Diffie-Hellman group for Perfect Forward Secrecy * `1` - Group 1 * `2` - Group 2 * `5` - Group 5 * `14` - Group 14 * `15` - Group 15 * `16` - Group 16 * `17` - Group 17 * `18` - Group 18 * `19` - Group 19 * `20` - Group 20 * `21` - Group 21 * `22` - Group 22 * `23` - Group 23 * `24` - Group 24 * `25` - Group 25 * `26` - Group 26 * `27` - Group 27 * `28` - Group 28 * `29` - Group 29 * `30` - Group 30 * `31` - Group 31 * `32` - Group 32 * `33` - Group 33 * `34` - Group 34 +func (r ApiVpnIpsecPoliciesListRequest) PfsGroupIe(pfsGroupIe []VpnIpsecPoliciesListPfsGroupIcParameterInner) ApiVpnIpsecPoliciesListRequest { + r.pfsGroupIe = &pfsGroupIe + return r +} + +// Diffie-Hellman group for Perfect Forward Secrecy * `1` - Group 1 * `2` - Group 2 * `5` - Group 5 * `14` - Group 14 * `15` - Group 15 * `16` - Group 16 * `17` - Group 17 * `18` - Group 18 * `19` - Group 19 * `20` - Group 20 * `21` - Group 21 * `22` - Group 22 * `23` - Group 23 * `24` - Group 24 * `25` - Group 25 * `26` - Group 26 * `27` - Group 27 * `28` - Group 28 * `29` - Group 29 * `30` - Group 30 * `31` - Group 31 * `32` - Group 32 * `33` - Group 33 * `34` - Group 34 +func (r ApiVpnIpsecPoliciesListRequest) PfsGroupIew(pfsGroupIew []VpnIpsecPoliciesListPfsGroupIcParameterInner) ApiVpnIpsecPoliciesListRequest { + r.pfsGroupIew = &pfsGroupIew + return r +} + +// Diffie-Hellman group for Perfect Forward Secrecy * `1` - Group 1 * `2` - Group 2 * `5` - Group 5 * `14` - Group 14 * `15` - Group 15 * `16` - Group 16 * `17` - Group 17 * `18` - Group 18 * `19` - Group 19 * `20` - Group 20 * `21` - Group 21 * `22` - Group 22 * `23` - Group 23 * `24` - Group 24 * `25` - Group 25 * `26` - Group 26 * `27` - Group 27 * `28` - Group 28 * `29` - Group 29 * `30` - Group 30 * `31` - Group 31 * `32` - Group 32 * `33` - Group 33 * `34` - Group 34 +func (r ApiVpnIpsecPoliciesListRequest) PfsGroupIsw(pfsGroupIsw []VpnIpsecPoliciesListPfsGroupIcParameterInner) ApiVpnIpsecPoliciesListRequest { + r.pfsGroupIsw = &pfsGroupIsw + return r +} + +// Diffie-Hellman group for Perfect Forward Secrecy * `1` - Group 1 * `2` - Group 2 * `5` - Group 5 * `14` - Group 14 * `15` - Group 15 * `16` - Group 16 * `17` - Group 17 * `18` - Group 18 * `19` - Group 19 * `20` - Group 20 * `21` - Group 21 * `22` - Group 22 * `23` - Group 23 * `24` - Group 24 * `25` - Group 25 * `26` - Group 26 * `27` - Group 27 * `28` - Group 28 * `29` - Group 29 * `30` - Group 30 * `31` - Group 31 * `32` - Group 32 * `33` - Group 33 * `34` - Group 34 +func (r ApiVpnIpsecPoliciesListRequest) PfsGroupN(pfsGroupN []VpnIpsecPoliciesListPfsGroupIcParameterInner) ApiVpnIpsecPoliciesListRequest { r.pfsGroupN = &pfsGroupN return r } -func (r ApiVpnIpsecPoliciesListRequest) Proposal(proposal []string) ApiVpnIpsecPoliciesListRequest { - r.proposal = &proposal +// Diffie-Hellman group for Perfect Forward Secrecy * `1` - Group 1 * `2` - Group 2 * `5` - Group 5 * `14` - Group 14 * `15` - Group 15 * `16` - Group 16 * `17` - Group 17 * `18` - Group 18 * `19` - Group 19 * `20` - Group 20 * `21` - Group 21 * `22` - Group 22 * `23` - Group 23 * `24` - Group 24 * `25` - Group 25 * `26` - Group 26 * `27` - Group 27 * `28` - Group 28 * `29` - Group 29 * `30` - Group 30 * `31` - Group 31 * `32` - Group 32 * `33` - Group 33 * `34` - Group 34 +func (r ApiVpnIpsecPoliciesListRequest) PfsGroupNic(pfsGroupNic []VpnIpsecPoliciesListPfsGroupIcParameterInner) ApiVpnIpsecPoliciesListRequest { + r.pfsGroupNic = &pfsGroupNic return r } -func (r ApiVpnIpsecPoliciesListRequest) ProposalN(proposalN []string) ApiVpnIpsecPoliciesListRequest { - r.proposalN = &proposalN +// Diffie-Hellman group for Perfect Forward Secrecy * `1` - Group 1 * `2` - Group 2 * `5` - Group 5 * `14` - Group 14 * `15` - Group 15 * `16` - Group 16 * `17` - Group 17 * `18` - Group 18 * `19` - Group 19 * `20` - Group 20 * `21` - Group 21 * `22` - Group 22 * `23` - Group 23 * `24` - Group 24 * `25` - Group 25 * `26` - Group 26 * `27` - Group 27 * `28` - Group 28 * `29` - Group 29 * `30` - Group 30 * `31` - Group 31 * `32` - Group 32 * `33` - Group 33 * `34` - Group 34 +func (r ApiVpnIpsecPoliciesListRequest) PfsGroupNie(pfsGroupNie []VpnIpsecPoliciesListPfsGroupIcParameterInner) ApiVpnIpsecPoliciesListRequest { + r.pfsGroupNie = &pfsGroupNie return r } -func (r ApiVpnIpsecPoliciesListRequest) ProposalId(proposalId []int32) ApiVpnIpsecPoliciesListRequest { - r.proposalId = &proposalId +// Diffie-Hellman group for Perfect Forward Secrecy * `1` - Group 1 * `2` - Group 2 * `5` - Group 5 * `14` - Group 14 * `15` - Group 15 * `16` - Group 16 * `17` - Group 17 * `18` - Group 18 * `19` - Group 19 * `20` - Group 20 * `21` - Group 21 * `22` - Group 22 * `23` - Group 23 * `24` - Group 24 * `25` - Group 25 * `26` - Group 26 * `27` - Group 27 * `28` - Group 28 * `29` - Group 29 * `30` - Group 30 * `31` - Group 31 * `32` - Group 32 * `33` - Group 33 * `34` - Group 34 +func (r ApiVpnIpsecPoliciesListRequest) PfsGroupNiew(pfsGroupNiew []VpnIpsecPoliciesListPfsGroupIcParameterInner) ApiVpnIpsecPoliciesListRequest { + r.pfsGroupNiew = &pfsGroupNiew return r } -func (r ApiVpnIpsecPoliciesListRequest) ProposalIdN(proposalIdN []int32) ApiVpnIpsecPoliciesListRequest { - r.proposalIdN = &proposalIdN +// Diffie-Hellman group for Perfect Forward Secrecy * `1` - Group 1 * `2` - Group 2 * `5` - Group 5 * `14` - Group 14 * `15` - Group 15 * `16` - Group 16 * `17` - Group 17 * `18` - Group 18 * `19` - Group 19 * `20` - Group 20 * `21` - Group 21 * `22` - Group 22 * `23` - Group 23 * `24` - Group 24 * `25` - Group 25 * `26` - Group 26 * `27` - Group 27 * `28` - Group 28 * `29` - Group 29 * `30` - Group 30 * `31` - Group 31 * `32` - Group 32 * `33` - Group 33 * `34` - Group 34 +func (r ApiVpnIpsecPoliciesListRequest) PfsGroupNisw(pfsGroupNisw []VpnIpsecPoliciesListPfsGroupIcParameterInner) ApiVpnIpsecPoliciesListRequest { + r.pfsGroupNisw = &pfsGroupNisw return r } @@ -5954,6 +6823,50 @@ func (a *VpnAPIService) VpnIpsecPoliciesListExecute(r ApiVpnIpsecPoliciesListReq parameterAddToHeaderOrQuery(localVarQueryParams, "pfs_group", t, "multi") } } + if r.pfsGroupIc != nil { + t := *r.pfsGroupIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "pfs_group__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "pfs_group__ic", t, "multi") + } + } + if r.pfsGroupIe != nil { + t := *r.pfsGroupIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "pfs_group__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "pfs_group__ie", t, "multi") + } + } + if r.pfsGroupIew != nil { + t := *r.pfsGroupIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "pfs_group__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "pfs_group__iew", t, "multi") + } + } + if r.pfsGroupIsw != nil { + t := *r.pfsGroupIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "pfs_group__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "pfs_group__isw", t, "multi") + } + } if r.pfsGroupN != nil { t := *r.pfsGroupN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -5965,48 +6878,48 @@ func (a *VpnAPIService) VpnIpsecPoliciesListExecute(r ApiVpnIpsecPoliciesListReq parameterAddToHeaderOrQuery(localVarQueryParams, "pfs_group__n", t, "multi") } } - if r.proposal != nil { - t := *r.proposal + if r.pfsGroupNic != nil { + t := *r.pfsGroupNic if reflect.TypeOf(t).Kind() == reflect.Slice { s := reflect.ValueOf(t) for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "proposal", s.Index(i).Interface(), "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "pfs_group__nic", s.Index(i).Interface(), "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "proposal", t, "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "pfs_group__nic", t, "multi") } } - if r.proposalN != nil { - t := *r.proposalN + if r.pfsGroupNie != nil { + t := *r.pfsGroupNie if reflect.TypeOf(t).Kind() == reflect.Slice { s := reflect.ValueOf(t) for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "proposal__n", s.Index(i).Interface(), "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "pfs_group__nie", s.Index(i).Interface(), "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "proposal__n", t, "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "pfs_group__nie", t, "multi") } } - if r.proposalId != nil { - t := *r.proposalId + if r.pfsGroupNiew != nil { + t := *r.pfsGroupNiew if reflect.TypeOf(t).Kind() == reflect.Slice { s := reflect.ValueOf(t) for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "proposal_id", s.Index(i).Interface(), "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "pfs_group__niew", s.Index(i).Interface(), "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "proposal_id", t, "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "pfs_group__niew", t, "multi") } } - if r.proposalIdN != nil { - t := *r.proposalIdN + if r.pfsGroupNisw != nil { + t := *r.pfsGroupNisw if reflect.TypeOf(t).Kind() == reflect.Slice { s := reflect.ValueOf(t) for i := 0; i < s.Len(); i++ { - parameterAddToHeaderOrQuery(localVarQueryParams, "proposal_id__n", s.Index(i).Interface(), "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "pfs_group__nisw", s.Index(i).Interface(), "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "proposal_id__n", t, "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "pfs_group__nisw", t, "multi") } } if r.q != nil { @@ -7118,7 +8031,16 @@ type ApiVpnIpsecProfilesListRequest struct { lastUpdatedN *[]time.Time limit *int32 mode *[]string - modeN *[]string + modeEmpty *bool + modeIc *[]VpnIpsecProfilesListModeIcParameterInner + modeIe *[]VpnIpsecProfilesListModeIcParameterInner + modeIew *[]VpnIpsecProfilesListModeIcParameterInner + modeIsw *[]VpnIpsecProfilesListModeIcParameterInner + modeN *[]VpnIpsecProfilesListModeIcParameterInner + modeNic *[]VpnIpsecProfilesListModeIcParameterInner + modeNie *[]VpnIpsecProfilesListModeIcParameterInner + modeNiew *[]VpnIpsecProfilesListModeIcParameterInner + modeNisw *[]VpnIpsecProfilesListModeIcParameterInner modifiedByRequest *string name *[]string nameEmpty *bool @@ -7363,11 +8285,65 @@ func (r ApiVpnIpsecProfilesListRequest) Mode(mode []string) ApiVpnIpsecProfilesL return r } -func (r ApiVpnIpsecProfilesListRequest) ModeN(modeN []string) ApiVpnIpsecProfilesListRequest { +func (r ApiVpnIpsecProfilesListRequest) ModeEmpty(modeEmpty bool) ApiVpnIpsecProfilesListRequest { + r.modeEmpty = &modeEmpty + return r +} + +// * `esp` - ESP * `ah` - AH +func (r ApiVpnIpsecProfilesListRequest) ModeIc(modeIc []VpnIpsecProfilesListModeIcParameterInner) ApiVpnIpsecProfilesListRequest { + r.modeIc = &modeIc + return r +} + +// * `esp` - ESP * `ah` - AH +func (r ApiVpnIpsecProfilesListRequest) ModeIe(modeIe []VpnIpsecProfilesListModeIcParameterInner) ApiVpnIpsecProfilesListRequest { + r.modeIe = &modeIe + return r +} + +// * `esp` - ESP * `ah` - AH +func (r ApiVpnIpsecProfilesListRequest) ModeIew(modeIew []VpnIpsecProfilesListModeIcParameterInner) ApiVpnIpsecProfilesListRequest { + r.modeIew = &modeIew + return r +} + +// * `esp` - ESP * `ah` - AH +func (r ApiVpnIpsecProfilesListRequest) ModeIsw(modeIsw []VpnIpsecProfilesListModeIcParameterInner) ApiVpnIpsecProfilesListRequest { + r.modeIsw = &modeIsw + return r +} + +// * `esp` - ESP * `ah` - AH +func (r ApiVpnIpsecProfilesListRequest) ModeN(modeN []VpnIpsecProfilesListModeIcParameterInner) ApiVpnIpsecProfilesListRequest { r.modeN = &modeN return r } +// * `esp` - ESP * `ah` - AH +func (r ApiVpnIpsecProfilesListRequest) ModeNic(modeNic []VpnIpsecProfilesListModeIcParameterInner) ApiVpnIpsecProfilesListRequest { + r.modeNic = &modeNic + return r +} + +// * `esp` - ESP * `ah` - AH +func (r ApiVpnIpsecProfilesListRequest) ModeNie(modeNie []VpnIpsecProfilesListModeIcParameterInner) ApiVpnIpsecProfilesListRequest { + r.modeNie = &modeNie + return r +} + +// * `esp` - ESP * `ah` - AH +func (r ApiVpnIpsecProfilesListRequest) ModeNiew(modeNiew []VpnIpsecProfilesListModeIcParameterInner) ApiVpnIpsecProfilesListRequest { + r.modeNiew = &modeNiew + return r +} + +// * `esp` - ESP * `ah` - AH +func (r ApiVpnIpsecProfilesListRequest) ModeNisw(modeNisw []VpnIpsecProfilesListModeIcParameterInner) ApiVpnIpsecProfilesListRequest { + r.modeNisw = &modeNisw + return r +} + func (r ApiVpnIpsecProfilesListRequest) ModifiedByRequest(modifiedByRequest string) ApiVpnIpsecProfilesListRequest { r.modifiedByRequest = &modifiedByRequest return r @@ -7841,117 +8817,208 @@ func (a *VpnAPIService) VpnIpsecProfilesListExecute(r ApiVpnIpsecProfilesListReq parameterAddToHeaderOrQuery(localVarQueryParams, "ipsec_policy_id", t, "multi") } } - if r.ipsecPolicyIdN != nil { - t := *r.ipsecPolicyIdN + if r.ipsecPolicyIdN != nil { + t := *r.ipsecPolicyIdN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "ipsec_policy_id__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "ipsec_policy_id__n", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", t, "multi") + } + } + if r.lastUpdatedEmpty != nil { + t := *r.lastUpdatedEmpty + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__empty", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__empty", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gt", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gte", t, "multi") + } + } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lt", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lte", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__n", t, "multi") + } + } + if r.limit != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "") + } + 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, "ipsec_policy_id__n", s.Index(i).Interface(), "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "mode", s.Index(i).Interface(), "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "ipsec_policy_id__n", t, "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "mode", t, "multi") } } - if r.lastUpdated != nil { - t := *r.lastUpdated + if r.modeEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "mode__empty", r.modeEmpty, "") + } + 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, "last_updated", s.Index(i).Interface(), "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "mode__ic", s.Index(i).Interface(), "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", t, "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "mode__ic", t, "multi") } } - if r.lastUpdatedEmpty != nil { - t := *r.lastUpdatedEmpty + 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, "last_updated__empty", s.Index(i).Interface(), "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "mode__ie", s.Index(i).Interface(), "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__empty", t, "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "mode__ie", t, "multi") } } - if r.lastUpdatedGt != nil { - t := *r.lastUpdatedGt + 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, "last_updated__gt", s.Index(i).Interface(), "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "mode__iew", s.Index(i).Interface(), "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gt", t, "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "mode__iew", t, "multi") } } - if r.lastUpdatedGte != nil { - t := *r.lastUpdatedGte + 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, "last_updated__gte", s.Index(i).Interface(), "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "mode__isw", s.Index(i).Interface(), "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gte", t, "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "mode__isw", t, "multi") } } - if r.lastUpdatedLt != nil { - t := *r.lastUpdatedLt + 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, "last_updated__lt", s.Index(i).Interface(), "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "mode__n", s.Index(i).Interface(), "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lt", t, "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "mode__n", t, "multi") } } - if r.lastUpdatedLte != nil { - t := *r.lastUpdatedLte + 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, "last_updated__lte", s.Index(i).Interface(), "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "mode__nic", s.Index(i).Interface(), "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lte", t, "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "mode__nic", t, "multi") } } - if r.lastUpdatedN != nil { - t := *r.lastUpdatedN + 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, "last_updated__n", s.Index(i).Interface(), "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "mode__nie", s.Index(i).Interface(), "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__n", t, "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "mode__nie", t, "multi") } } - if r.limit != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "") - } - if r.mode != nil { - t := *r.mode + 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", s.Index(i).Interface(), "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "mode__niew", s.Index(i).Interface(), "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "mode", t, "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "mode__niew", t, "multi") } } - if r.modeN != nil { - t := *r.modeN + 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__n", s.Index(i).Interface(), "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "mode__nisw", s.Index(i).Interface(), "multi") } } else { - parameterAddToHeaderOrQuery(localVarQueryParams, "mode__n", t, "multi") + parameterAddToHeaderOrQuery(localVarQueryParams, "mode__nisw", t, "multi") } } if r.modifiedByRequest != nil { @@ -9140,82 +10207,100 @@ func (a *VpnAPIService) VpnIpsecProposalsDestroyExecute(r ApiVpnIpsecProposalsDe } type ApiVpnIpsecProposalsListRequest struct { - ctx context.Context - ApiService *VpnAPIService - authenticationAlgorithm *[]string - authenticationAlgorithmN *[]string - created *[]time.Time - createdEmpty *[]time.Time - createdGt *[]time.Time - createdGte *[]time.Time - createdLt *[]time.Time - createdLte *[]time.Time - createdN *[]time.Time - createdByRequest *string - description *[]string - descriptionEmpty *bool - descriptionIc *[]string - descriptionIe *[]string - descriptionIew *[]string - descriptionIsw *[]string - descriptionN *[]string - descriptionNic *[]string - descriptionNie *[]string - descriptionNiew *[]string - descriptionNisw *[]string - encryptionAlgorithm *[]string - encryptionAlgorithmN *[]string - id *[]int32 - idEmpty *bool - idGt *[]int32 - idGte *[]int32 - idLt *[]int32 - idLte *[]int32 - idN *[]int32 - ipsecPolicy *[]string - ipsecPolicyN *[]string - ipsecPolicyId *[]int32 - ipsecPolicyIdN *[]int32 - lastUpdated *[]time.Time - lastUpdatedEmpty *[]time.Time - lastUpdatedGt *[]time.Time - lastUpdatedGte *[]time.Time - lastUpdatedLt *[]time.Time - lastUpdatedLte *[]time.Time - lastUpdatedN *[]time.Time - limit *int32 - modifiedByRequest *string - name *[]string - nameEmpty *bool - nameIc *[]string - nameIe *[]string - nameIew *[]string - nameIsw *[]string - nameN *[]string - nameNic *[]string - nameNie *[]string - nameNiew *[]string - nameNisw *[]string - offset *int32 - ordering *string - q *string - saLifetimeData *[]int32 - saLifetimeDataEmpty *bool - saLifetimeDataGt *[]int32 - saLifetimeDataGte *[]int32 - saLifetimeDataLt *[]int32 - saLifetimeDataLte *[]int32 - saLifetimeDataN *[]int32 - saLifetimeSeconds *[]int32 - saLifetimeSecondsEmpty *bool - saLifetimeSecondsGt *[]int32 - saLifetimeSecondsGte *[]int32 - saLifetimeSecondsLt *[]int32 - saLifetimeSecondsLte *[]int32 - saLifetimeSecondsN *[]int32 - tag *[]string - tagN *[]string - updatedByRequest *string + ctx context.Context + ApiService *VpnAPIService + authenticationAlgorithm *[]string + authenticationAlgorithmEmpty *bool + authenticationAlgorithmIc *[]Authentication + authenticationAlgorithmIe *[]Authentication + authenticationAlgorithmIew *[]Authentication + authenticationAlgorithmIsw *[]Authentication + authenticationAlgorithmN *[]Authentication + authenticationAlgorithmNic *[]Authentication + authenticationAlgorithmNie *[]Authentication + authenticationAlgorithmNiew *[]Authentication + authenticationAlgorithmNisw *[]Authentication + created *[]time.Time + createdEmpty *[]time.Time + createdGt *[]time.Time + createdGte *[]time.Time + createdLt *[]time.Time + createdLte *[]time.Time + createdN *[]time.Time + createdByRequest *string + description *[]string + descriptionEmpty *bool + descriptionIc *[]string + descriptionIe *[]string + descriptionIew *[]string + descriptionIsw *[]string + descriptionN *[]string + descriptionNic *[]string + descriptionNie *[]string + descriptionNiew *[]string + descriptionNisw *[]string + encryptionAlgorithm *[]string + encryptionAlgorithmEmpty *bool + encryptionAlgorithmIc *[]Encryption + encryptionAlgorithmIe *[]Encryption + encryptionAlgorithmIew *[]Encryption + encryptionAlgorithmIsw *[]Encryption + encryptionAlgorithmN *[]Encryption + encryptionAlgorithmNic *[]Encryption + encryptionAlgorithmNie *[]Encryption + encryptionAlgorithmNiew *[]Encryption + encryptionAlgorithmNisw *[]Encryption + id *[]int32 + idEmpty *bool + idGt *[]int32 + idGte *[]int32 + idLt *[]int32 + idLte *[]int32 + idN *[]int32 + ipsecPolicy *[]string + ipsecPolicyN *[]string + ipsecPolicyId *[]int32 + ipsecPolicyIdN *[]int32 + lastUpdated *[]time.Time + lastUpdatedEmpty *[]time.Time + lastUpdatedGt *[]time.Time + lastUpdatedGte *[]time.Time + lastUpdatedLt *[]time.Time + lastUpdatedLte *[]time.Time + lastUpdatedN *[]time.Time + limit *int32 + modifiedByRequest *string + name *[]string + nameEmpty *bool + nameIc *[]string + nameIe *[]string + nameIew *[]string + nameIsw *[]string + nameN *[]string + nameNic *[]string + nameNie *[]string + nameNiew *[]string + nameNisw *[]string + offset *int32 + ordering *string + q *string + saLifetimeData *[]int32 + saLifetimeDataEmpty *bool + saLifetimeDataGt *[]int32 + saLifetimeDataGte *[]int32 + saLifetimeDataLt *[]int32 + saLifetimeDataLte *[]int32 + saLifetimeDataN *[]int32 + saLifetimeSeconds *[]int32 + saLifetimeSecondsEmpty *bool + saLifetimeSecondsGt *[]int32 + saLifetimeSecondsGte *[]int32 + saLifetimeSecondsLt *[]int32 + saLifetimeSecondsLte *[]int32 + saLifetimeSecondsN *[]int32 + tag *[]string + tagN *[]string + updatedByRequest *string } func (r ApiVpnIpsecProposalsListRequest) AuthenticationAlgorithm(authenticationAlgorithm []string) ApiVpnIpsecProposalsListRequest { @@ -9223,11 +10308,65 @@ func (r ApiVpnIpsecProposalsListRequest) AuthenticationAlgorithm(authenticationA return r } -func (r ApiVpnIpsecProposalsListRequest) AuthenticationAlgorithmN(authenticationAlgorithmN []string) ApiVpnIpsecProposalsListRequest { +func (r ApiVpnIpsecProposalsListRequest) AuthenticationAlgorithmEmpty(authenticationAlgorithmEmpty bool) ApiVpnIpsecProposalsListRequest { + r.authenticationAlgorithmEmpty = &authenticationAlgorithmEmpty + return r +} + +// * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC +func (r ApiVpnIpsecProposalsListRequest) AuthenticationAlgorithmIc(authenticationAlgorithmIc []Authentication) ApiVpnIpsecProposalsListRequest { + r.authenticationAlgorithmIc = &authenticationAlgorithmIc + return r +} + +// * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC +func (r ApiVpnIpsecProposalsListRequest) AuthenticationAlgorithmIe(authenticationAlgorithmIe []Authentication) ApiVpnIpsecProposalsListRequest { + r.authenticationAlgorithmIe = &authenticationAlgorithmIe + return r +} + +// * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC +func (r ApiVpnIpsecProposalsListRequest) AuthenticationAlgorithmIew(authenticationAlgorithmIew []Authentication) ApiVpnIpsecProposalsListRequest { + r.authenticationAlgorithmIew = &authenticationAlgorithmIew + return r +} + +// * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC +func (r ApiVpnIpsecProposalsListRequest) AuthenticationAlgorithmIsw(authenticationAlgorithmIsw []Authentication) ApiVpnIpsecProposalsListRequest { + r.authenticationAlgorithmIsw = &authenticationAlgorithmIsw + return r +} + +// * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC +func (r ApiVpnIpsecProposalsListRequest) AuthenticationAlgorithmN(authenticationAlgorithmN []Authentication) ApiVpnIpsecProposalsListRequest { r.authenticationAlgorithmN = &authenticationAlgorithmN return r } +// * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC +func (r ApiVpnIpsecProposalsListRequest) AuthenticationAlgorithmNic(authenticationAlgorithmNic []Authentication) ApiVpnIpsecProposalsListRequest { + r.authenticationAlgorithmNic = &authenticationAlgorithmNic + return r +} + +// * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC +func (r ApiVpnIpsecProposalsListRequest) AuthenticationAlgorithmNie(authenticationAlgorithmNie []Authentication) ApiVpnIpsecProposalsListRequest { + r.authenticationAlgorithmNie = &authenticationAlgorithmNie + return r +} + +// * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC +func (r ApiVpnIpsecProposalsListRequest) AuthenticationAlgorithmNiew(authenticationAlgorithmNiew []Authentication) ApiVpnIpsecProposalsListRequest { + r.authenticationAlgorithmNiew = &authenticationAlgorithmNiew + return r +} + +// * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC +func (r ApiVpnIpsecProposalsListRequest) AuthenticationAlgorithmNisw(authenticationAlgorithmNisw []Authentication) ApiVpnIpsecProposalsListRequest { + r.authenticationAlgorithmNisw = &authenticationAlgorithmNisw + return r +} + func (r ApiVpnIpsecProposalsListRequest) Created(created []time.Time) ApiVpnIpsecProposalsListRequest { r.created = &created return r @@ -9328,11 +10467,65 @@ func (r ApiVpnIpsecProposalsListRequest) EncryptionAlgorithm(encryptionAlgorithm return r } -func (r ApiVpnIpsecProposalsListRequest) EncryptionAlgorithmN(encryptionAlgorithmN []string) ApiVpnIpsecProposalsListRequest { +func (r ApiVpnIpsecProposalsListRequest) EncryptionAlgorithmEmpty(encryptionAlgorithmEmpty bool) ApiVpnIpsecProposalsListRequest { + r.encryptionAlgorithmEmpty = &encryptionAlgorithmEmpty + return r +} + +// * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES +func (r ApiVpnIpsecProposalsListRequest) EncryptionAlgorithmIc(encryptionAlgorithmIc []Encryption) ApiVpnIpsecProposalsListRequest { + r.encryptionAlgorithmIc = &encryptionAlgorithmIc + return r +} + +// * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES +func (r ApiVpnIpsecProposalsListRequest) EncryptionAlgorithmIe(encryptionAlgorithmIe []Encryption) ApiVpnIpsecProposalsListRequest { + r.encryptionAlgorithmIe = &encryptionAlgorithmIe + return r +} + +// * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES +func (r ApiVpnIpsecProposalsListRequest) EncryptionAlgorithmIew(encryptionAlgorithmIew []Encryption) ApiVpnIpsecProposalsListRequest { + r.encryptionAlgorithmIew = &encryptionAlgorithmIew + return r +} + +// * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES +func (r ApiVpnIpsecProposalsListRequest) EncryptionAlgorithmIsw(encryptionAlgorithmIsw []Encryption) ApiVpnIpsecProposalsListRequest { + r.encryptionAlgorithmIsw = &encryptionAlgorithmIsw + return r +} + +// * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES +func (r ApiVpnIpsecProposalsListRequest) EncryptionAlgorithmN(encryptionAlgorithmN []Encryption) ApiVpnIpsecProposalsListRequest { r.encryptionAlgorithmN = &encryptionAlgorithmN return r } +// * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES +func (r ApiVpnIpsecProposalsListRequest) EncryptionAlgorithmNic(encryptionAlgorithmNic []Encryption) ApiVpnIpsecProposalsListRequest { + r.encryptionAlgorithmNic = &encryptionAlgorithmNic + return r +} + +// * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES +func (r ApiVpnIpsecProposalsListRequest) EncryptionAlgorithmNie(encryptionAlgorithmNie []Encryption) ApiVpnIpsecProposalsListRequest { + r.encryptionAlgorithmNie = &encryptionAlgorithmNie + return r +} + +// * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES +func (r ApiVpnIpsecProposalsListRequest) EncryptionAlgorithmNiew(encryptionAlgorithmNiew []Encryption) ApiVpnIpsecProposalsListRequest { + r.encryptionAlgorithmNiew = &encryptionAlgorithmNiew + return r +} + +// * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES +func (r ApiVpnIpsecProposalsListRequest) EncryptionAlgorithmNisw(encryptionAlgorithmNisw []Encryption) ApiVpnIpsecProposalsListRequest { + r.encryptionAlgorithmNisw = &encryptionAlgorithmNisw + return r +} + func (r ApiVpnIpsecProposalsListRequest) Id(id []int32) ApiVpnIpsecProposalsListRequest { r.id = &id return r @@ -9648,6 +10841,53 @@ func (a *VpnAPIService) VpnIpsecProposalsListExecute(r ApiVpnIpsecProposalsListR parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_algorithm", t, "multi") } } + if r.authenticationAlgorithmEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_algorithm__empty", r.authenticationAlgorithmEmpty, "") + } + if r.authenticationAlgorithmIc != nil { + t := *r.authenticationAlgorithmIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_algorithm__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_algorithm__ic", t, "multi") + } + } + if r.authenticationAlgorithmIe != nil { + t := *r.authenticationAlgorithmIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_algorithm__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_algorithm__ie", t, "multi") + } + } + if r.authenticationAlgorithmIew != nil { + t := *r.authenticationAlgorithmIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_algorithm__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_algorithm__iew", t, "multi") + } + } + if r.authenticationAlgorithmIsw != nil { + t := *r.authenticationAlgorithmIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_algorithm__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_algorithm__isw", t, "multi") + } + } if r.authenticationAlgorithmN != nil { t := *r.authenticationAlgorithmN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -9659,6 +10899,50 @@ func (a *VpnAPIService) VpnIpsecProposalsListExecute(r ApiVpnIpsecProposalsListR parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_algorithm__n", t, "multi") } } + if r.authenticationAlgorithmNic != nil { + t := *r.authenticationAlgorithmNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_algorithm__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_algorithm__nic", t, "multi") + } + } + if r.authenticationAlgorithmNie != nil { + t := *r.authenticationAlgorithmNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_algorithm__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_algorithm__nie", t, "multi") + } + } + if r.authenticationAlgorithmNiew != nil { + t := *r.authenticationAlgorithmNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_algorithm__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_algorithm__niew", t, "multi") + } + } + if r.authenticationAlgorithmNisw != nil { + t := *r.authenticationAlgorithmNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_algorithm__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "authentication_algorithm__nisw", t, "multi") + } + } if r.created != nil { t := *r.created if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -9863,6 +11147,53 @@ func (a *VpnAPIService) VpnIpsecProposalsListExecute(r ApiVpnIpsecProposalsListR parameterAddToHeaderOrQuery(localVarQueryParams, "encryption_algorithm", t, "multi") } } + if r.encryptionAlgorithmEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "encryption_algorithm__empty", r.encryptionAlgorithmEmpty, "") + } + if r.encryptionAlgorithmIc != nil { + t := *r.encryptionAlgorithmIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "encryption_algorithm__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "encryption_algorithm__ic", t, "multi") + } + } + if r.encryptionAlgorithmIe != nil { + t := *r.encryptionAlgorithmIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "encryption_algorithm__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "encryption_algorithm__ie", t, "multi") + } + } + if r.encryptionAlgorithmIew != nil { + t := *r.encryptionAlgorithmIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "encryption_algorithm__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "encryption_algorithm__iew", t, "multi") + } + } + if r.encryptionAlgorithmIsw != nil { + t := *r.encryptionAlgorithmIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "encryption_algorithm__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "encryption_algorithm__isw", t, "multi") + } + } if r.encryptionAlgorithmN != nil { t := *r.encryptionAlgorithmN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -9874,6 +11205,50 @@ func (a *VpnAPIService) VpnIpsecProposalsListExecute(r ApiVpnIpsecProposalsListR parameterAddToHeaderOrQuery(localVarQueryParams, "encryption_algorithm__n", t, "multi") } } + if r.encryptionAlgorithmNic != nil { + t := *r.encryptionAlgorithmNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "encryption_algorithm__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "encryption_algorithm__nic", t, "multi") + } + } + if r.encryptionAlgorithmNie != nil { + t := *r.encryptionAlgorithmNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "encryption_algorithm__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "encryption_algorithm__nie", t, "multi") + } + } + if r.encryptionAlgorithmNiew != nil { + t := *r.encryptionAlgorithmNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "encryption_algorithm__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "encryption_algorithm__niew", t, "multi") + } + } + if r.encryptionAlgorithmNisw != nil { + t := *r.encryptionAlgorithmNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "encryption_algorithm__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "encryption_algorithm__nisw", t, "multi") + } + } if r.id != nil { t := *r.id if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -13702,14 +15077,23 @@ type ApiVpnL2vpnsListRequest struct { tagN *[]string tenant *[]string tenantN *[]string - tenantGroup *[]int32 - tenantGroupN *[]int32 - tenantGroupId *[]int32 - tenantGroupIdN *[]int32 + tenantGroup *[]string + tenantGroupN *[]string + tenantGroupId *[]string + tenantGroupIdN *[]string tenantId *[]*int32 tenantIdN *[]*int32 type_ *[]string - typeN *[]string + typeEmpty *bool + typeIc *[]VpnL2vpnsListTypeIcParameterInner + typeIe *[]VpnL2vpnsListTypeIcParameterInner + typeIew *[]VpnL2vpnsListTypeIcParameterInner + typeIsw *[]VpnL2vpnsListTypeIcParameterInner + typeN *[]VpnL2vpnsListTypeIcParameterInner + typeNic *[]VpnL2vpnsListTypeIcParameterInner + typeNie *[]VpnL2vpnsListTypeIcParameterInner + typeNiew *[]VpnL2vpnsListTypeIcParameterInner + typeNisw *[]VpnL2vpnsListTypeIcParameterInner updatedByRequest *string } @@ -14122,26 +15506,22 @@ func (r ApiVpnL2vpnsListRequest) TenantN(tenantN []string) ApiVpnL2vpnsListReque return r } -// Tenant Group (slug) -func (r ApiVpnL2vpnsListRequest) TenantGroup(tenantGroup []int32) ApiVpnL2vpnsListRequest { +func (r ApiVpnL2vpnsListRequest) TenantGroup(tenantGroup []string) ApiVpnL2vpnsListRequest { r.tenantGroup = &tenantGroup return r } -// Tenant Group (slug) -func (r ApiVpnL2vpnsListRequest) TenantGroupN(tenantGroupN []int32) ApiVpnL2vpnsListRequest { +func (r ApiVpnL2vpnsListRequest) TenantGroupN(tenantGroupN []string) ApiVpnL2vpnsListRequest { r.tenantGroupN = &tenantGroupN return r } -// Tenant Group (ID) -func (r ApiVpnL2vpnsListRequest) TenantGroupId(tenantGroupId []int32) ApiVpnL2vpnsListRequest { +func (r ApiVpnL2vpnsListRequest) TenantGroupId(tenantGroupId []string) ApiVpnL2vpnsListRequest { r.tenantGroupId = &tenantGroupId return r } -// Tenant Group (ID) -func (r ApiVpnL2vpnsListRequest) TenantGroupIdN(tenantGroupIdN []int32) ApiVpnL2vpnsListRequest { +func (r ApiVpnL2vpnsListRequest) TenantGroupIdN(tenantGroupIdN []string) ApiVpnL2vpnsListRequest { r.tenantGroupIdN = &tenantGroupIdN return r } @@ -14158,13 +15538,67 @@ func (r ApiVpnL2vpnsListRequest) TenantIdN(tenantIdN []*int32) ApiVpnL2vpnsListR return r } -func (r ApiVpnL2vpnsListRequest) Type_(type_ []string) ApiVpnL2vpnsListRequest { - r.type_ = &type_ +func (r ApiVpnL2vpnsListRequest) Type_(type_ []string) ApiVpnL2vpnsListRequest { + r.type_ = &type_ + return r +} + +func (r ApiVpnL2vpnsListRequest) TypeEmpty(typeEmpty bool) ApiVpnL2vpnsListRequest { + r.typeEmpty = &typeEmpty + return r +} + +// * `vpws` - VPWS * `vpls` - VPLS * `vxlan` - VXLAN * `vxlan-evpn` - VXLAN-EVPN * `mpls-evpn` - MPLS EVPN * `pbb-evpn` - PBB EVPN * `epl` - EPL * `evpl` - EVPL * `ep-lan` - Ethernet Private LAN * `evp-lan` - Ethernet Virtual Private LAN * `ep-tree` - Ethernet Private Tree * `evp-tree` - Ethernet Virtual Private Tree +func (r ApiVpnL2vpnsListRequest) TypeIc(typeIc []VpnL2vpnsListTypeIcParameterInner) ApiVpnL2vpnsListRequest { + r.typeIc = &typeIc + return r +} + +// * `vpws` - VPWS * `vpls` - VPLS * `vxlan` - VXLAN * `vxlan-evpn` - VXLAN-EVPN * `mpls-evpn` - MPLS EVPN * `pbb-evpn` - PBB EVPN * `epl` - EPL * `evpl` - EVPL * `ep-lan` - Ethernet Private LAN * `evp-lan` - Ethernet Virtual Private LAN * `ep-tree` - Ethernet Private Tree * `evp-tree` - Ethernet Virtual Private Tree +func (r ApiVpnL2vpnsListRequest) TypeIe(typeIe []VpnL2vpnsListTypeIcParameterInner) ApiVpnL2vpnsListRequest { + r.typeIe = &typeIe + return r +} + +// * `vpws` - VPWS * `vpls` - VPLS * `vxlan` - VXLAN * `vxlan-evpn` - VXLAN-EVPN * `mpls-evpn` - MPLS EVPN * `pbb-evpn` - PBB EVPN * `epl` - EPL * `evpl` - EVPL * `ep-lan` - Ethernet Private LAN * `evp-lan` - Ethernet Virtual Private LAN * `ep-tree` - Ethernet Private Tree * `evp-tree` - Ethernet Virtual Private Tree +func (r ApiVpnL2vpnsListRequest) TypeIew(typeIew []VpnL2vpnsListTypeIcParameterInner) ApiVpnL2vpnsListRequest { + r.typeIew = &typeIew + return r +} + +// * `vpws` - VPWS * `vpls` - VPLS * `vxlan` - VXLAN * `vxlan-evpn` - VXLAN-EVPN * `mpls-evpn` - MPLS EVPN * `pbb-evpn` - PBB EVPN * `epl` - EPL * `evpl` - EVPL * `ep-lan` - Ethernet Private LAN * `evp-lan` - Ethernet Virtual Private LAN * `ep-tree` - Ethernet Private Tree * `evp-tree` - Ethernet Virtual Private Tree +func (r ApiVpnL2vpnsListRequest) TypeIsw(typeIsw []VpnL2vpnsListTypeIcParameterInner) ApiVpnL2vpnsListRequest { + r.typeIsw = &typeIsw + return r +} + +// * `vpws` - VPWS * `vpls` - VPLS * `vxlan` - VXLAN * `vxlan-evpn` - VXLAN-EVPN * `mpls-evpn` - MPLS EVPN * `pbb-evpn` - PBB EVPN * `epl` - EPL * `evpl` - EVPL * `ep-lan` - Ethernet Private LAN * `evp-lan` - Ethernet Virtual Private LAN * `ep-tree` - Ethernet Private Tree * `evp-tree` - Ethernet Virtual Private Tree +func (r ApiVpnL2vpnsListRequest) TypeN(typeN []VpnL2vpnsListTypeIcParameterInner) ApiVpnL2vpnsListRequest { + r.typeN = &typeN + return r +} + +// * `vpws` - VPWS * `vpls` - VPLS * `vxlan` - VXLAN * `vxlan-evpn` - VXLAN-EVPN * `mpls-evpn` - MPLS EVPN * `pbb-evpn` - PBB EVPN * `epl` - EPL * `evpl` - EVPL * `ep-lan` - Ethernet Private LAN * `evp-lan` - Ethernet Virtual Private LAN * `ep-tree` - Ethernet Private Tree * `evp-tree` - Ethernet Virtual Private Tree +func (r ApiVpnL2vpnsListRequest) TypeNic(typeNic []VpnL2vpnsListTypeIcParameterInner) ApiVpnL2vpnsListRequest { + r.typeNic = &typeNic + return r +} + +// * `vpws` - VPWS * `vpls` - VPLS * `vxlan` - VXLAN * `vxlan-evpn` - VXLAN-EVPN * `mpls-evpn` - MPLS EVPN * `pbb-evpn` - PBB EVPN * `epl` - EPL * `evpl` - EVPL * `ep-lan` - Ethernet Private LAN * `evp-lan` - Ethernet Virtual Private LAN * `ep-tree` - Ethernet Private Tree * `evp-tree` - Ethernet Virtual Private Tree +func (r ApiVpnL2vpnsListRequest) TypeNie(typeNie []VpnL2vpnsListTypeIcParameterInner) ApiVpnL2vpnsListRequest { + r.typeNie = &typeNie + return r +} + +// * `vpws` - VPWS * `vpls` - VPLS * `vxlan` - VXLAN * `vxlan-evpn` - VXLAN-EVPN * `mpls-evpn` - MPLS EVPN * `pbb-evpn` - PBB EVPN * `epl` - EPL * `evpl` - EVPL * `ep-lan` - Ethernet Private LAN * `evp-lan` - Ethernet Virtual Private LAN * `ep-tree` - Ethernet Private Tree * `evp-tree` - Ethernet Virtual Private Tree +func (r ApiVpnL2vpnsListRequest) TypeNiew(typeNiew []VpnL2vpnsListTypeIcParameterInner) ApiVpnL2vpnsListRequest { + r.typeNiew = &typeNiew return r } -func (r ApiVpnL2vpnsListRequest) TypeN(typeN []string) ApiVpnL2vpnsListRequest { - r.typeN = &typeN +// * `vpws` - VPWS * `vpls` - VPLS * `vxlan` - VXLAN * `vxlan-evpn` - VXLAN-EVPN * `mpls-evpn` - MPLS EVPN * `pbb-evpn` - PBB EVPN * `epl` - EPL * `evpl` - EVPL * `ep-lan` - Ethernet Private LAN * `evp-lan` - Ethernet Virtual Private LAN * `ep-tree` - Ethernet Private Tree * `evp-tree` - Ethernet Virtual Private Tree +func (r ApiVpnL2vpnsListRequest) TypeNisw(typeNisw []VpnL2vpnsListTypeIcParameterInner) ApiVpnL2vpnsListRequest { + r.typeNisw = &typeNisw return r } @@ -15072,6 +16506,53 @@ func (a *VpnAPIService) VpnL2vpnsListExecute(r ApiVpnL2vpnsListRequest) (*Pagina parameterAddToHeaderOrQuery(localVarQueryParams, "type", t, "multi") } } + if r.typeEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__empty", r.typeEmpty, "") + } + 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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__ic", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__ie", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__iew", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__isw", t, "multi") + } + } if r.typeN != nil { t := *r.typeN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -15083,6 +16564,50 @@ func (a *VpnAPIService) VpnL2vpnsListExecute(r ApiVpnL2vpnsListRequest) (*Pagina parameterAddToHeaderOrQuery(localVarQueryParams, "type__n", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__nic", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__nie", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__niew", t, "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(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "type__nisw", t, "multi") + } + } if r.updatedByRequest != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "updated_by_request", r.updatedByRequest, "") } @@ -18226,7 +19751,16 @@ type ApiVpnTunnelTerminationsListRequest struct { outsideIpIdN *[]int32 q *string role *[]string - roleN *[]string + roleEmpty *bool + roleIc *[]VpnTunnelTerminationsListRoleIcParameterInner + roleIe *[]VpnTunnelTerminationsListRoleIcParameterInner + roleIew *[]VpnTunnelTerminationsListRoleIcParameterInner + roleIsw *[]VpnTunnelTerminationsListRoleIcParameterInner + roleN *[]VpnTunnelTerminationsListRoleIcParameterInner + roleNic *[]VpnTunnelTerminationsListRoleIcParameterInner + roleNie *[]VpnTunnelTerminationsListRoleIcParameterInner + roleNiew *[]VpnTunnelTerminationsListRoleIcParameterInner + roleNisw *[]VpnTunnelTerminationsListRoleIcParameterInner tag *[]string tagN *[]string terminationId *[]int32 @@ -18429,11 +19963,65 @@ func (r ApiVpnTunnelTerminationsListRequest) Role(role []string) ApiVpnTunnelTer return r } -func (r ApiVpnTunnelTerminationsListRequest) RoleN(roleN []string) ApiVpnTunnelTerminationsListRequest { +func (r ApiVpnTunnelTerminationsListRequest) RoleEmpty(roleEmpty bool) ApiVpnTunnelTerminationsListRequest { + r.roleEmpty = &roleEmpty + return r +} + +// * `peer` - Peer * `hub` - Hub * `spoke` - Spoke +func (r ApiVpnTunnelTerminationsListRequest) RoleIc(roleIc []VpnTunnelTerminationsListRoleIcParameterInner) ApiVpnTunnelTerminationsListRequest { + r.roleIc = &roleIc + return r +} + +// * `peer` - Peer * `hub` - Hub * `spoke` - Spoke +func (r ApiVpnTunnelTerminationsListRequest) RoleIe(roleIe []VpnTunnelTerminationsListRoleIcParameterInner) ApiVpnTunnelTerminationsListRequest { + r.roleIe = &roleIe + return r +} + +// * `peer` - Peer * `hub` - Hub * `spoke` - Spoke +func (r ApiVpnTunnelTerminationsListRequest) RoleIew(roleIew []VpnTunnelTerminationsListRoleIcParameterInner) ApiVpnTunnelTerminationsListRequest { + r.roleIew = &roleIew + return r +} + +// * `peer` - Peer * `hub` - Hub * `spoke` - Spoke +func (r ApiVpnTunnelTerminationsListRequest) RoleIsw(roleIsw []VpnTunnelTerminationsListRoleIcParameterInner) ApiVpnTunnelTerminationsListRequest { + r.roleIsw = &roleIsw + return r +} + +// * `peer` - Peer * `hub` - Hub * `spoke` - Spoke +func (r ApiVpnTunnelTerminationsListRequest) RoleN(roleN []VpnTunnelTerminationsListRoleIcParameterInner) ApiVpnTunnelTerminationsListRequest { r.roleN = &roleN return r } +// * `peer` - Peer * `hub` - Hub * `spoke` - Spoke +func (r ApiVpnTunnelTerminationsListRequest) RoleNic(roleNic []VpnTunnelTerminationsListRoleIcParameterInner) ApiVpnTunnelTerminationsListRequest { + r.roleNic = &roleNic + return r +} + +// * `peer` - Peer * `hub` - Hub * `spoke` - Spoke +func (r ApiVpnTunnelTerminationsListRequest) RoleNie(roleNie []VpnTunnelTerminationsListRoleIcParameterInner) ApiVpnTunnelTerminationsListRequest { + r.roleNie = &roleNie + return r +} + +// * `peer` - Peer * `hub` - Hub * `spoke` - Spoke +func (r ApiVpnTunnelTerminationsListRequest) RoleNiew(roleNiew []VpnTunnelTerminationsListRoleIcParameterInner) ApiVpnTunnelTerminationsListRequest { + r.roleNiew = &roleNiew + return r +} + +// * `peer` - Peer * `hub` - Hub * `spoke` - Spoke +func (r ApiVpnTunnelTerminationsListRequest) RoleNisw(roleNisw []VpnTunnelTerminationsListRoleIcParameterInner) ApiVpnTunnelTerminationsListRequest { + r.roleNisw = &roleNisw + return r +} + func (r ApiVpnTunnelTerminationsListRequest) Tag(tag []string) ApiVpnTunnelTerminationsListRequest { r.tag = &tag return r @@ -18901,6 +20489,53 @@ func (a *VpnAPIService) VpnTunnelTerminationsListExecute(r ApiVpnTunnelTerminati parameterAddToHeaderOrQuery(localVarQueryParams, "role", t, "multi") } } + if r.roleEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "role__empty", r.roleEmpty, "") + } + if r.roleIc != nil { + t := *r.roleIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "role__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "role__ic", t, "multi") + } + } + if r.roleIe != nil { + t := *r.roleIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "role__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "role__ie", t, "multi") + } + } + if r.roleIew != nil { + t := *r.roleIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "role__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "role__iew", t, "multi") + } + } + if r.roleIsw != nil { + t := *r.roleIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "role__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "role__isw", t, "multi") + } + } if r.roleN != nil { t := *r.roleN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -18912,6 +20547,50 @@ func (a *VpnAPIService) VpnTunnelTerminationsListExecute(r ApiVpnTunnelTerminati parameterAddToHeaderOrQuery(localVarQueryParams, "role__n", t, "multi") } } + if r.roleNic != nil { + t := *r.roleNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "role__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "role__nic", t, "multi") + } + } + if r.roleNie != nil { + t := *r.roleNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "role__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "role__nie", t, "multi") + } + } + if r.roleNiew != nil { + t := *r.roleNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "role__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "role__niew", t, "multi") + } + } + if r.roleNisw != nil { + t := *r.roleNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "role__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "role__nisw", t, "multi") + } + } if r.tag != nil { t := *r.tag if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -20082,141 +21761,159 @@ func (a *VpnAPIService) VpnTunnelsDestroyExecute(r ApiVpnTunnelsDestroyRequest) // 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 ApiVpnTunnelsListRequest struct { - ctx context.Context - ApiService *VpnAPIService - created *[]time.Time - createdEmpty *[]time.Time - createdGt *[]time.Time - createdGte *[]time.Time - createdLt *[]time.Time - createdLte *[]time.Time - createdN *[]time.Time - createdByRequest *string - description *[]string - descriptionEmpty *bool - descriptionIc *[]string - descriptionIe *[]string - descriptionIew *[]string - descriptionIsw *[]string - descriptionN *[]string - descriptionNic *[]string - descriptionNie *[]string - descriptionNiew *[]string - descriptionNisw *[]string - encapsulation *[]string - encapsulationN *[]string - group *[]string - groupN *[]string - groupId *[]*int32 - groupIdN *[]*int32 - id *[]int32 - idEmpty *bool - idGt *[]int32 - idGte *[]int32 - idLt *[]int32 - idLte *[]int32 - idN *[]int32 - ipsecProfile *[]string - ipsecProfileN *[]string - ipsecProfileId *[]*int32 - ipsecProfileIdN *[]*int32 - lastUpdated *[]time.Time - lastUpdatedEmpty *[]time.Time - lastUpdatedGt *[]time.Time - lastUpdatedGte *[]time.Time - lastUpdatedLt *[]time.Time - lastUpdatedLte *[]time.Time - lastUpdatedN *[]time.Time - limit *int32 - modifiedByRequest *string - name *[]string - nameEmpty *bool - nameIc *[]string - nameIe *[]string - nameIew *[]string - nameIsw *[]string - nameN *[]string - nameNic *[]string - nameNie *[]string - nameNiew *[]string - nameNisw *[]string - offset *int32 - ordering *string - q *string - status *[]string - statusN *[]string - tag *[]string - tagN *[]string - tenant *[]string - tenantN *[]string - tenantGroup *[]int32 - tenantGroupN *[]int32 - tenantGroupId *[]int32 - tenantGroupIdN *[]int32 - tenantId *[]*int32 - tenantIdN *[]*int32 - tunnelId *[]int32 - tunnelIdEmpty *bool - tunnelIdGt *[]int32 - tunnelIdGte *[]int32 - tunnelIdLt *[]int32 - tunnelIdLte *[]int32 - tunnelIdN *[]int32 - updatedByRequest *string + 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 ApiVpnTunnelsListRequest struct { + ctx context.Context + ApiService *VpnAPIService + created *[]time.Time + createdEmpty *[]time.Time + createdGt *[]time.Time + createdGte *[]time.Time + createdLt *[]time.Time + createdLte *[]time.Time + createdN *[]time.Time + createdByRequest *string + description *[]string + descriptionEmpty *bool + descriptionIc *[]string + descriptionIe *[]string + descriptionIew *[]string + descriptionIsw *[]string + descriptionN *[]string + descriptionNic *[]string + descriptionNie *[]string + descriptionNiew *[]string + descriptionNisw *[]string + encapsulation *[]string + encapsulationEmpty *bool + encapsulationIc *[]VpnTunnelsListEncapsulationIcParameterInner + encapsulationIe *[]VpnTunnelsListEncapsulationIcParameterInner + encapsulationIew *[]VpnTunnelsListEncapsulationIcParameterInner + encapsulationIsw *[]VpnTunnelsListEncapsulationIcParameterInner + encapsulationN *[]VpnTunnelsListEncapsulationIcParameterInner + encapsulationNic *[]VpnTunnelsListEncapsulationIcParameterInner + encapsulationNie *[]VpnTunnelsListEncapsulationIcParameterInner + encapsulationNiew *[]VpnTunnelsListEncapsulationIcParameterInner + encapsulationNisw *[]VpnTunnelsListEncapsulationIcParameterInner + group *[]string + groupN *[]string + groupId *[]*int32 + groupIdN *[]*int32 + id *[]int32 + idEmpty *bool + idGt *[]int32 + idGte *[]int32 + idLt *[]int32 + idLte *[]int32 + idN *[]int32 + ipsecProfile *[]string + ipsecProfileN *[]string + ipsecProfileId *[]*int32 + ipsecProfileIdN *[]*int32 + lastUpdated *[]time.Time + lastUpdatedEmpty *[]time.Time + lastUpdatedGt *[]time.Time + lastUpdatedGte *[]time.Time + lastUpdatedLt *[]time.Time + lastUpdatedLte *[]time.Time + lastUpdatedN *[]time.Time + limit *int32 + modifiedByRequest *string + name *[]string + nameEmpty *bool + nameIc *[]string + nameIe *[]string + nameIew *[]string + nameIsw *[]string + nameN *[]string + nameNic *[]string + nameNie *[]string + nameNiew *[]string + nameNisw *[]string + offset *int32 + ordering *string + q *string + status *[]string + statusEmpty *bool + statusIc *[]VpnTunnelsListStatusIcParameterInner + statusIe *[]VpnTunnelsListStatusIcParameterInner + statusIew *[]VpnTunnelsListStatusIcParameterInner + statusIsw *[]VpnTunnelsListStatusIcParameterInner + statusN *[]VpnTunnelsListStatusIcParameterInner + statusNic *[]VpnTunnelsListStatusIcParameterInner + statusNie *[]VpnTunnelsListStatusIcParameterInner + statusNiew *[]VpnTunnelsListStatusIcParameterInner + statusNisw *[]VpnTunnelsListStatusIcParameterInner + tag *[]string + tagN *[]string + tenant *[]string + tenantN *[]string + tenantGroup *[]string + tenantGroupN *[]string + tenantGroupId *[]string + tenantGroupIdN *[]string + tenantId *[]*int32 + tenantIdN *[]*int32 + tunnelId *[]int32 + tunnelIdEmpty *bool + tunnelIdGt *[]int32 + tunnelIdGte *[]int32 + tunnelIdLt *[]int32 + tunnelIdLte *[]int32 + tunnelIdN *[]int32 + updatedByRequest *string } func (r ApiVpnTunnelsListRequest) Created(created []time.Time) ApiVpnTunnelsListRequest { @@ -20319,11 +22016,65 @@ func (r ApiVpnTunnelsListRequest) Encapsulation(encapsulation []string) ApiVpnTu return r } -func (r ApiVpnTunnelsListRequest) EncapsulationN(encapsulationN []string) ApiVpnTunnelsListRequest { +func (r ApiVpnTunnelsListRequest) EncapsulationEmpty(encapsulationEmpty bool) ApiVpnTunnelsListRequest { + r.encapsulationEmpty = &encapsulationEmpty + return r +} + +// * `ipsec-transport` - IPsec - Transport * `ipsec-tunnel` - IPsec - Tunnel * `ip-ip` - IP-in-IP * `gre` - GRE +func (r ApiVpnTunnelsListRequest) EncapsulationIc(encapsulationIc []VpnTunnelsListEncapsulationIcParameterInner) ApiVpnTunnelsListRequest { + r.encapsulationIc = &encapsulationIc + return r +} + +// * `ipsec-transport` - IPsec - Transport * `ipsec-tunnel` - IPsec - Tunnel * `ip-ip` - IP-in-IP * `gre` - GRE +func (r ApiVpnTunnelsListRequest) EncapsulationIe(encapsulationIe []VpnTunnelsListEncapsulationIcParameterInner) ApiVpnTunnelsListRequest { + r.encapsulationIe = &encapsulationIe + return r +} + +// * `ipsec-transport` - IPsec - Transport * `ipsec-tunnel` - IPsec - Tunnel * `ip-ip` - IP-in-IP * `gre` - GRE +func (r ApiVpnTunnelsListRequest) EncapsulationIew(encapsulationIew []VpnTunnelsListEncapsulationIcParameterInner) ApiVpnTunnelsListRequest { + r.encapsulationIew = &encapsulationIew + return r +} + +// * `ipsec-transport` - IPsec - Transport * `ipsec-tunnel` - IPsec - Tunnel * `ip-ip` - IP-in-IP * `gre` - GRE +func (r ApiVpnTunnelsListRequest) EncapsulationIsw(encapsulationIsw []VpnTunnelsListEncapsulationIcParameterInner) ApiVpnTunnelsListRequest { + r.encapsulationIsw = &encapsulationIsw + return r +} + +// * `ipsec-transport` - IPsec - Transport * `ipsec-tunnel` - IPsec - Tunnel * `ip-ip` - IP-in-IP * `gre` - GRE +func (r ApiVpnTunnelsListRequest) EncapsulationN(encapsulationN []VpnTunnelsListEncapsulationIcParameterInner) ApiVpnTunnelsListRequest { r.encapsulationN = &encapsulationN return r } +// * `ipsec-transport` - IPsec - Transport * `ipsec-tunnel` - IPsec - Tunnel * `ip-ip` - IP-in-IP * `gre` - GRE +func (r ApiVpnTunnelsListRequest) EncapsulationNic(encapsulationNic []VpnTunnelsListEncapsulationIcParameterInner) ApiVpnTunnelsListRequest { + r.encapsulationNic = &encapsulationNic + return r +} + +// * `ipsec-transport` - IPsec - Transport * `ipsec-tunnel` - IPsec - Tunnel * `ip-ip` - IP-in-IP * `gre` - GRE +func (r ApiVpnTunnelsListRequest) EncapsulationNie(encapsulationNie []VpnTunnelsListEncapsulationIcParameterInner) ApiVpnTunnelsListRequest { + r.encapsulationNie = &encapsulationNie + return r +} + +// * `ipsec-transport` - IPsec - Transport * `ipsec-tunnel` - IPsec - Tunnel * `ip-ip` - IP-in-IP * `gre` - GRE +func (r ApiVpnTunnelsListRequest) EncapsulationNiew(encapsulationNiew []VpnTunnelsListEncapsulationIcParameterInner) ApiVpnTunnelsListRequest { + r.encapsulationNiew = &encapsulationNiew + return r +} + +// * `ipsec-transport` - IPsec - Transport * `ipsec-tunnel` - IPsec - Tunnel * `ip-ip` - IP-in-IP * `gre` - GRE +func (r ApiVpnTunnelsListRequest) EncapsulationNisw(encapsulationNisw []VpnTunnelsListEncapsulationIcParameterInner) ApiVpnTunnelsListRequest { + r.encapsulationNisw = &encapsulationNisw + return r +} + // Tunnel group (slug) func (r ApiVpnTunnelsListRequest) Group(group []string) ApiVpnTunnelsListRequest { r.group = &group @@ -20531,11 +22282,65 @@ func (r ApiVpnTunnelsListRequest) Status(status []string) ApiVpnTunnelsListReque return r } -func (r ApiVpnTunnelsListRequest) StatusN(statusN []string) ApiVpnTunnelsListRequest { +func (r ApiVpnTunnelsListRequest) StatusEmpty(statusEmpty bool) ApiVpnTunnelsListRequest { + r.statusEmpty = &statusEmpty + return r +} + +// * `planned` - Planned * `active` - Active * `disabled` - Disabled +func (r ApiVpnTunnelsListRequest) StatusIc(statusIc []VpnTunnelsListStatusIcParameterInner) ApiVpnTunnelsListRequest { + r.statusIc = &statusIc + return r +} + +// * `planned` - Planned * `active` - Active * `disabled` - Disabled +func (r ApiVpnTunnelsListRequest) StatusIe(statusIe []VpnTunnelsListStatusIcParameterInner) ApiVpnTunnelsListRequest { + r.statusIe = &statusIe + return r +} + +// * `planned` - Planned * `active` - Active * `disabled` - Disabled +func (r ApiVpnTunnelsListRequest) StatusIew(statusIew []VpnTunnelsListStatusIcParameterInner) ApiVpnTunnelsListRequest { + r.statusIew = &statusIew + return r +} + +// * `planned` - Planned * `active` - Active * `disabled` - Disabled +func (r ApiVpnTunnelsListRequest) StatusIsw(statusIsw []VpnTunnelsListStatusIcParameterInner) ApiVpnTunnelsListRequest { + r.statusIsw = &statusIsw + return r +} + +// * `planned` - Planned * `active` - Active * `disabled` - Disabled +func (r ApiVpnTunnelsListRequest) StatusN(statusN []VpnTunnelsListStatusIcParameterInner) ApiVpnTunnelsListRequest { r.statusN = &statusN return r } +// * `planned` - Planned * `active` - Active * `disabled` - Disabled +func (r ApiVpnTunnelsListRequest) StatusNic(statusNic []VpnTunnelsListStatusIcParameterInner) ApiVpnTunnelsListRequest { + r.statusNic = &statusNic + return r +} + +// * `planned` - Planned * `active` - Active * `disabled` - Disabled +func (r ApiVpnTunnelsListRequest) StatusNie(statusNie []VpnTunnelsListStatusIcParameterInner) ApiVpnTunnelsListRequest { + r.statusNie = &statusNie + return r +} + +// * `planned` - Planned * `active` - Active * `disabled` - Disabled +func (r ApiVpnTunnelsListRequest) StatusNiew(statusNiew []VpnTunnelsListStatusIcParameterInner) ApiVpnTunnelsListRequest { + r.statusNiew = &statusNiew + return r +} + +// * `planned` - Planned * `active` - Active * `disabled` - Disabled +func (r ApiVpnTunnelsListRequest) StatusNisw(statusNisw []VpnTunnelsListStatusIcParameterInner) ApiVpnTunnelsListRequest { + r.statusNisw = &statusNisw + return r +} + func (r ApiVpnTunnelsListRequest) Tag(tag []string) ApiVpnTunnelsListRequest { r.tag = &tag return r @@ -20558,26 +22363,22 @@ func (r ApiVpnTunnelsListRequest) TenantN(tenantN []string) ApiVpnTunnelsListReq return r } -// Tenant Group (slug) -func (r ApiVpnTunnelsListRequest) TenantGroup(tenantGroup []int32) ApiVpnTunnelsListRequest { +func (r ApiVpnTunnelsListRequest) TenantGroup(tenantGroup []string) ApiVpnTunnelsListRequest { r.tenantGroup = &tenantGroup return r } -// Tenant Group (slug) -func (r ApiVpnTunnelsListRequest) TenantGroupN(tenantGroupN []int32) ApiVpnTunnelsListRequest { +func (r ApiVpnTunnelsListRequest) TenantGroupN(tenantGroupN []string) ApiVpnTunnelsListRequest { r.tenantGroupN = &tenantGroupN return r } -// Tenant Group (ID) -func (r ApiVpnTunnelsListRequest) TenantGroupId(tenantGroupId []int32) ApiVpnTunnelsListRequest { +func (r ApiVpnTunnelsListRequest) TenantGroupId(tenantGroupId []string) ApiVpnTunnelsListRequest { r.tenantGroupId = &tenantGroupId return r } -// Tenant Group (ID) -func (r ApiVpnTunnelsListRequest) TenantGroupIdN(tenantGroupIdN []int32) ApiVpnTunnelsListRequest { +func (r ApiVpnTunnelsListRequest) TenantGroupIdN(tenantGroupIdN []string) ApiVpnTunnelsListRequest { r.tenantGroupIdN = &tenantGroupIdN return r } @@ -20879,6 +22680,53 @@ func (a *VpnAPIService) VpnTunnelsListExecute(r ApiVpnTunnelsListRequest) (*Pagi parameterAddToHeaderOrQuery(localVarQueryParams, "encapsulation", t, "multi") } } + if r.encapsulationEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "encapsulation__empty", r.encapsulationEmpty, "") + } + if r.encapsulationIc != nil { + t := *r.encapsulationIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "encapsulation__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "encapsulation__ic", t, "multi") + } + } + if r.encapsulationIe != nil { + t := *r.encapsulationIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "encapsulation__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "encapsulation__ie", t, "multi") + } + } + if r.encapsulationIew != nil { + t := *r.encapsulationIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "encapsulation__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "encapsulation__iew", t, "multi") + } + } + if r.encapsulationIsw != nil { + t := *r.encapsulationIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "encapsulation__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "encapsulation__isw", t, "multi") + } + } if r.encapsulationN != nil { t := *r.encapsulationN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -20890,6 +22738,50 @@ func (a *VpnAPIService) VpnTunnelsListExecute(r ApiVpnTunnelsListRequest) (*Pagi parameterAddToHeaderOrQuery(localVarQueryParams, "encapsulation__n", t, "multi") } } + if r.encapsulationNic != nil { + t := *r.encapsulationNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "encapsulation__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "encapsulation__nic", t, "multi") + } + } + if r.encapsulationNie != nil { + t := *r.encapsulationNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "encapsulation__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "encapsulation__nie", t, "multi") + } + } + if r.encapsulationNiew != nil { + t := *r.encapsulationNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "encapsulation__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "encapsulation__niew", t, "multi") + } + } + if r.encapsulationNisw != nil { + t := *r.encapsulationNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "encapsulation__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "encapsulation__nisw", t, "multi") + } + } if r.group != nil { t := *r.group if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -21263,6 +23155,53 @@ func (a *VpnAPIService) VpnTunnelsListExecute(r ApiVpnTunnelsListRequest) (*Pagi parameterAddToHeaderOrQuery(localVarQueryParams, "status", t, "multi") } } + if r.statusEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__empty", r.statusEmpty, "") + } + if r.statusIc != nil { + t := *r.statusIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ic", t, "multi") + } + } + if r.statusIe != nil { + t := *r.statusIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ie", t, "multi") + } + } + if r.statusIew != nil { + t := *r.statusIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__iew", t, "multi") + } + } + if r.statusIsw != nil { + t := *r.statusIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__isw", t, "multi") + } + } if r.statusN != nil { t := *r.statusN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -21274,6 +23213,50 @@ func (a *VpnAPIService) VpnTunnelsListExecute(r ApiVpnTunnelsListRequest) (*Pagi parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", t, "multi") } } + if r.statusNic != nil { + t := *r.statusNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nic", t, "multi") + } + } + if r.statusNie != nil { + t := *r.statusNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nie", t, "multi") + } + } + if r.statusNiew != nil { + t := *r.statusNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__niew", t, "multi") + } + } + if r.statusNisw != nil { + t := *r.statusNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nisw", t, "multi") + } + } if r.tag != nil { t := *r.tag if reflect.TypeOf(t).Kind() == reflect.Slice { diff --git a/api_wireless.go b/api_wireless.go index ac16ccf58..13c346a0c 100644 --- a/api_wireless.go +++ b/api_wireless.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -621,10 +621,10 @@ func (a *WirelessAPIService) WirelessWirelessLanGroupsDestroyExecute(r ApiWirele type ApiWirelessWirelessLanGroupsListRequest struct { ctx context.Context ApiService *WirelessAPIService - ancestor *[]int32 - ancestorN *[]int32 - ancestorId *[]int32 - ancestorIdN *[]int32 + ancestor *[]string + ancestorN *[]string + ancestorId *[]string + ancestorIdN *[]string created *[]time.Time createdEmpty *[]time.Time createdGt *[]time.Time @@ -694,22 +694,22 @@ type ApiWirelessWirelessLanGroupsListRequest struct { updatedByRequest *string } -func (r ApiWirelessWirelessLanGroupsListRequest) Ancestor(ancestor []int32) ApiWirelessWirelessLanGroupsListRequest { +func (r ApiWirelessWirelessLanGroupsListRequest) Ancestor(ancestor []string) ApiWirelessWirelessLanGroupsListRequest { r.ancestor = &ancestor return r } -func (r ApiWirelessWirelessLanGroupsListRequest) AncestorN(ancestorN []int32) ApiWirelessWirelessLanGroupsListRequest { +func (r ApiWirelessWirelessLanGroupsListRequest) AncestorN(ancestorN []string) ApiWirelessWirelessLanGroupsListRequest { r.ancestorN = &ancestorN return r } -func (r ApiWirelessWirelessLanGroupsListRequest) AncestorId(ancestorId []int32) ApiWirelessWirelessLanGroupsListRequest { +func (r ApiWirelessWirelessLanGroupsListRequest) AncestorId(ancestorId []string) ApiWirelessWirelessLanGroupsListRequest { r.ancestorId = &ancestorId return r } -func (r ApiWirelessWirelessLanGroupsListRequest) AncestorIdN(ancestorIdN []int32) ApiWirelessWirelessLanGroupsListRequest { +func (r ApiWirelessWirelessLanGroupsListRequest) AncestorIdN(ancestorIdN []string) ApiWirelessWirelessLanGroupsListRequest { r.ancestorIdN = &ancestorIdN return r } @@ -2826,7 +2826,16 @@ type ApiWirelessWirelessLansListRequest struct { ctx context.Context ApiService *WirelessAPIService authCipher *[]string - authCipherN *[]string + authCipherEmpty *bool + authCipherIc *[]AuthenticationCipher + authCipherIe *[]AuthenticationCipher + authCipherIew *[]AuthenticationCipher + authCipherIsw *[]AuthenticationCipher + authCipherN *[]AuthenticationCipher + authCipherNic *[]AuthenticationCipher + authCipherNie *[]AuthenticationCipher + authCipherNiew *[]AuthenticationCipher + authCipherNisw *[]AuthenticationCipher authPsk *[]string authPskEmpty *bool authPskIc *[]string @@ -2839,7 +2848,16 @@ type ApiWirelessWirelessLansListRequest struct { authPskNiew *[]string authPskNisw *[]string authType *[]string - authTypeN *[]string + authTypeEmpty *bool + authTypeIc *[]AuthenticationType1 + authTypeIe *[]AuthenticationType1 + authTypeIew *[]AuthenticationType1 + authTypeIsw *[]AuthenticationType1 + authTypeN *[]AuthenticationType1 + authTypeNic *[]AuthenticationType1 + authTypeNie *[]AuthenticationType1 + authTypeNiew *[]AuthenticationType1 + authTypeNisw *[]AuthenticationType1 created *[]time.Time createdEmpty *[]time.Time createdGt *[]time.Time @@ -2859,10 +2877,10 @@ type ApiWirelessWirelessLansListRequest struct { descriptionNie *[]string descriptionNiew *[]string descriptionNisw *[]string - group *[]int32 - groupN *[]int32 - groupId *[]int32 - groupIdN *[]int32 + group *[]string + groupN *[]string + groupId *[]string + groupIdN *[]string id *[]int32 idEmpty *bool idGt *[]int32 @@ -2896,15 +2914,24 @@ type ApiWirelessWirelessLansListRequest struct { ssidNiew *[]string ssidNisw *[]string status *[]string - statusN *[]string + statusEmpty *bool + statusIc *[]WirelessWirelessLansListStatusIcParameterInner + statusIe *[]WirelessWirelessLansListStatusIcParameterInner + statusIew *[]WirelessWirelessLansListStatusIcParameterInner + statusIsw *[]WirelessWirelessLansListStatusIcParameterInner + statusN *[]WirelessWirelessLansListStatusIcParameterInner + statusNic *[]WirelessWirelessLansListStatusIcParameterInner + statusNie *[]WirelessWirelessLansListStatusIcParameterInner + statusNiew *[]WirelessWirelessLansListStatusIcParameterInner + statusNisw *[]WirelessWirelessLansListStatusIcParameterInner tag *[]string tagN *[]string tenant *[]string tenantN *[]string - tenantGroup *[]int32 - tenantGroupN *[]int32 - tenantGroupId *[]int32 - tenantGroupIdN *[]int32 + tenantGroup *[]string + tenantGroupN *[]string + tenantGroupId *[]string + tenantGroupIdN *[]string tenantId *[]*int32 tenantIdN *[]*int32 updatedByRequest *string @@ -2917,11 +2944,65 @@ func (r ApiWirelessWirelessLansListRequest) AuthCipher(authCipher []string) ApiW return r } -func (r ApiWirelessWirelessLansListRequest) AuthCipherN(authCipherN []string) ApiWirelessWirelessLansListRequest { +func (r ApiWirelessWirelessLansListRequest) AuthCipherEmpty(authCipherEmpty bool) ApiWirelessWirelessLansListRequest { + r.authCipherEmpty = &authCipherEmpty + return r +} + +// * `auto` - Auto * `tkip` - TKIP * `aes` - AES +func (r ApiWirelessWirelessLansListRequest) AuthCipherIc(authCipherIc []AuthenticationCipher) ApiWirelessWirelessLansListRequest { + r.authCipherIc = &authCipherIc + return r +} + +// * `auto` - Auto * `tkip` - TKIP * `aes` - AES +func (r ApiWirelessWirelessLansListRequest) AuthCipherIe(authCipherIe []AuthenticationCipher) ApiWirelessWirelessLansListRequest { + r.authCipherIe = &authCipherIe + return r +} + +// * `auto` - Auto * `tkip` - TKIP * `aes` - AES +func (r ApiWirelessWirelessLansListRequest) AuthCipherIew(authCipherIew []AuthenticationCipher) ApiWirelessWirelessLansListRequest { + r.authCipherIew = &authCipherIew + return r +} + +// * `auto` - Auto * `tkip` - TKIP * `aes` - AES +func (r ApiWirelessWirelessLansListRequest) AuthCipherIsw(authCipherIsw []AuthenticationCipher) ApiWirelessWirelessLansListRequest { + r.authCipherIsw = &authCipherIsw + return r +} + +// * `auto` - Auto * `tkip` - TKIP * `aes` - AES +func (r ApiWirelessWirelessLansListRequest) AuthCipherN(authCipherN []AuthenticationCipher) ApiWirelessWirelessLansListRequest { r.authCipherN = &authCipherN return r } +// * `auto` - Auto * `tkip` - TKIP * `aes` - AES +func (r ApiWirelessWirelessLansListRequest) AuthCipherNic(authCipherNic []AuthenticationCipher) ApiWirelessWirelessLansListRequest { + r.authCipherNic = &authCipherNic + return r +} + +// * `auto` - Auto * `tkip` - TKIP * `aes` - AES +func (r ApiWirelessWirelessLansListRequest) AuthCipherNie(authCipherNie []AuthenticationCipher) ApiWirelessWirelessLansListRequest { + r.authCipherNie = &authCipherNie + return r +} + +// * `auto` - Auto * `tkip` - TKIP * `aes` - AES +func (r ApiWirelessWirelessLansListRequest) AuthCipherNiew(authCipherNiew []AuthenticationCipher) ApiWirelessWirelessLansListRequest { + r.authCipherNiew = &authCipherNiew + return r +} + +// * `auto` - Auto * `tkip` - TKIP * `aes` - AES +func (r ApiWirelessWirelessLansListRequest) AuthCipherNisw(authCipherNisw []AuthenticationCipher) ApiWirelessWirelessLansListRequest { + r.authCipherNisw = &authCipherNisw + return r +} + func (r ApiWirelessWirelessLansListRequest) AuthPsk(authPsk []string) ApiWirelessWirelessLansListRequest { r.authPsk = &authPsk return r @@ -2982,11 +3063,65 @@ func (r ApiWirelessWirelessLansListRequest) AuthType(authType []string) ApiWirel return r } -func (r ApiWirelessWirelessLansListRequest) AuthTypeN(authTypeN []string) ApiWirelessWirelessLansListRequest { +func (r ApiWirelessWirelessLansListRequest) AuthTypeEmpty(authTypeEmpty bool) ApiWirelessWirelessLansListRequest { + r.authTypeEmpty = &authTypeEmpty + return r +} + +// * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise +func (r ApiWirelessWirelessLansListRequest) AuthTypeIc(authTypeIc []AuthenticationType1) ApiWirelessWirelessLansListRequest { + r.authTypeIc = &authTypeIc + return r +} + +// * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise +func (r ApiWirelessWirelessLansListRequest) AuthTypeIe(authTypeIe []AuthenticationType1) ApiWirelessWirelessLansListRequest { + r.authTypeIe = &authTypeIe + return r +} + +// * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise +func (r ApiWirelessWirelessLansListRequest) AuthTypeIew(authTypeIew []AuthenticationType1) ApiWirelessWirelessLansListRequest { + r.authTypeIew = &authTypeIew + return r +} + +// * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise +func (r ApiWirelessWirelessLansListRequest) AuthTypeIsw(authTypeIsw []AuthenticationType1) ApiWirelessWirelessLansListRequest { + r.authTypeIsw = &authTypeIsw + return r +} + +// * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise +func (r ApiWirelessWirelessLansListRequest) AuthTypeN(authTypeN []AuthenticationType1) ApiWirelessWirelessLansListRequest { r.authTypeN = &authTypeN return r } +// * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise +func (r ApiWirelessWirelessLansListRequest) AuthTypeNic(authTypeNic []AuthenticationType1) ApiWirelessWirelessLansListRequest { + r.authTypeNic = &authTypeNic + return r +} + +// * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise +func (r ApiWirelessWirelessLansListRequest) AuthTypeNie(authTypeNie []AuthenticationType1) ApiWirelessWirelessLansListRequest { + r.authTypeNie = &authTypeNie + return r +} + +// * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise +func (r ApiWirelessWirelessLansListRequest) AuthTypeNiew(authTypeNiew []AuthenticationType1) ApiWirelessWirelessLansListRequest { + r.authTypeNiew = &authTypeNiew + return r +} + +// * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise +func (r ApiWirelessWirelessLansListRequest) AuthTypeNisw(authTypeNisw []AuthenticationType1) ApiWirelessWirelessLansListRequest { + r.authTypeNisw = &authTypeNisw + return r +} + func (r ApiWirelessWirelessLansListRequest) Created(created []time.Time) ApiWirelessWirelessLansListRequest { r.created = &created return r @@ -3082,22 +3217,22 @@ func (r ApiWirelessWirelessLansListRequest) DescriptionNisw(descriptionNisw []st return r } -func (r ApiWirelessWirelessLansListRequest) Group(group []int32) ApiWirelessWirelessLansListRequest { +func (r ApiWirelessWirelessLansListRequest) Group(group []string) ApiWirelessWirelessLansListRequest { r.group = &group return r } -func (r ApiWirelessWirelessLansListRequest) GroupN(groupN []int32) ApiWirelessWirelessLansListRequest { +func (r ApiWirelessWirelessLansListRequest) GroupN(groupN []string) ApiWirelessWirelessLansListRequest { r.groupN = &groupN return r } -func (r ApiWirelessWirelessLansListRequest) GroupId(groupId []int32) ApiWirelessWirelessLansListRequest { +func (r ApiWirelessWirelessLansListRequest) GroupId(groupId []string) ApiWirelessWirelessLansListRequest { r.groupId = &groupId return r } -func (r ApiWirelessWirelessLansListRequest) GroupIdN(groupIdN []int32) ApiWirelessWirelessLansListRequest { +func (r ApiWirelessWirelessLansListRequest) GroupIdN(groupIdN []string) ApiWirelessWirelessLansListRequest { r.groupIdN = &groupIdN return r } @@ -3271,11 +3406,65 @@ func (r ApiWirelessWirelessLansListRequest) Status(status []string) ApiWirelessW return r } -func (r ApiWirelessWirelessLansListRequest) StatusN(statusN []string) ApiWirelessWirelessLansListRequest { +func (r ApiWirelessWirelessLansListRequest) StatusEmpty(statusEmpty bool) ApiWirelessWirelessLansListRequest { + r.statusEmpty = &statusEmpty + return r +} + +// * `active` - Active * `reserved` - Reserved * `disabled` - Disabled * `deprecated` - Deprecated +func (r ApiWirelessWirelessLansListRequest) StatusIc(statusIc []WirelessWirelessLansListStatusIcParameterInner) ApiWirelessWirelessLansListRequest { + r.statusIc = &statusIc + return r +} + +// * `active` - Active * `reserved` - Reserved * `disabled` - Disabled * `deprecated` - Deprecated +func (r ApiWirelessWirelessLansListRequest) StatusIe(statusIe []WirelessWirelessLansListStatusIcParameterInner) ApiWirelessWirelessLansListRequest { + r.statusIe = &statusIe + return r +} + +// * `active` - Active * `reserved` - Reserved * `disabled` - Disabled * `deprecated` - Deprecated +func (r ApiWirelessWirelessLansListRequest) StatusIew(statusIew []WirelessWirelessLansListStatusIcParameterInner) ApiWirelessWirelessLansListRequest { + r.statusIew = &statusIew + return r +} + +// * `active` - Active * `reserved` - Reserved * `disabled` - Disabled * `deprecated` - Deprecated +func (r ApiWirelessWirelessLansListRequest) StatusIsw(statusIsw []WirelessWirelessLansListStatusIcParameterInner) ApiWirelessWirelessLansListRequest { + r.statusIsw = &statusIsw + return r +} + +// * `active` - Active * `reserved` - Reserved * `disabled` - Disabled * `deprecated` - Deprecated +func (r ApiWirelessWirelessLansListRequest) StatusN(statusN []WirelessWirelessLansListStatusIcParameterInner) ApiWirelessWirelessLansListRequest { r.statusN = &statusN return r } +// * `active` - Active * `reserved` - Reserved * `disabled` - Disabled * `deprecated` - Deprecated +func (r ApiWirelessWirelessLansListRequest) StatusNic(statusNic []WirelessWirelessLansListStatusIcParameterInner) ApiWirelessWirelessLansListRequest { + r.statusNic = &statusNic + return r +} + +// * `active` - Active * `reserved` - Reserved * `disabled` - Disabled * `deprecated` - Deprecated +func (r ApiWirelessWirelessLansListRequest) StatusNie(statusNie []WirelessWirelessLansListStatusIcParameterInner) ApiWirelessWirelessLansListRequest { + r.statusNie = &statusNie + return r +} + +// * `active` - Active * `reserved` - Reserved * `disabled` - Disabled * `deprecated` - Deprecated +func (r ApiWirelessWirelessLansListRequest) StatusNiew(statusNiew []WirelessWirelessLansListStatusIcParameterInner) ApiWirelessWirelessLansListRequest { + r.statusNiew = &statusNiew + return r +} + +// * `active` - Active * `reserved` - Reserved * `disabled` - Disabled * `deprecated` - Deprecated +func (r ApiWirelessWirelessLansListRequest) StatusNisw(statusNisw []WirelessWirelessLansListStatusIcParameterInner) ApiWirelessWirelessLansListRequest { + r.statusNisw = &statusNisw + return r +} + func (r ApiWirelessWirelessLansListRequest) Tag(tag []string) ApiWirelessWirelessLansListRequest { r.tag = &tag return r @@ -3298,26 +3487,22 @@ func (r ApiWirelessWirelessLansListRequest) TenantN(tenantN []string) ApiWireles return r } -// Tenant Group (slug) -func (r ApiWirelessWirelessLansListRequest) TenantGroup(tenantGroup []int32) ApiWirelessWirelessLansListRequest { +func (r ApiWirelessWirelessLansListRequest) TenantGroup(tenantGroup []string) ApiWirelessWirelessLansListRequest { r.tenantGroup = &tenantGroup return r } -// Tenant Group (slug) -func (r ApiWirelessWirelessLansListRequest) TenantGroupN(tenantGroupN []int32) ApiWirelessWirelessLansListRequest { +func (r ApiWirelessWirelessLansListRequest) TenantGroupN(tenantGroupN []string) ApiWirelessWirelessLansListRequest { r.tenantGroupN = &tenantGroupN return r } -// Tenant Group (ID) -func (r ApiWirelessWirelessLansListRequest) TenantGroupId(tenantGroupId []int32) ApiWirelessWirelessLansListRequest { +func (r ApiWirelessWirelessLansListRequest) TenantGroupId(tenantGroupId []string) ApiWirelessWirelessLansListRequest { r.tenantGroupId = &tenantGroupId return r } -// Tenant Group (ID) -func (r ApiWirelessWirelessLansListRequest) TenantGroupIdN(tenantGroupIdN []int32) ApiWirelessWirelessLansListRequest { +func (r ApiWirelessWirelessLansListRequest) TenantGroupIdN(tenantGroupIdN []string) ApiWirelessWirelessLansListRequest { r.tenantGroupIdN = &tenantGroupIdN return r } @@ -3401,6 +3586,53 @@ func (a *WirelessAPIService) WirelessWirelessLansListExecute(r ApiWirelessWirele parameterAddToHeaderOrQuery(localVarQueryParams, "auth_cipher", t, "multi") } } + if r.authCipherEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_cipher__empty", r.authCipherEmpty, "") + } + if r.authCipherIc != nil { + t := *r.authCipherIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_cipher__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_cipher__ic", t, "multi") + } + } + if r.authCipherIe != nil { + t := *r.authCipherIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_cipher__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_cipher__ie", t, "multi") + } + } + if r.authCipherIew != nil { + t := *r.authCipherIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_cipher__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_cipher__iew", t, "multi") + } + } + if r.authCipherIsw != nil { + t := *r.authCipherIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_cipher__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_cipher__isw", t, "multi") + } + } if r.authCipherN != nil { t := *r.authCipherN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -3412,6 +3644,50 @@ func (a *WirelessAPIService) WirelessWirelessLansListExecute(r ApiWirelessWirele parameterAddToHeaderOrQuery(localVarQueryParams, "auth_cipher__n", t, "multi") } } + if r.authCipherNic != nil { + t := *r.authCipherNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_cipher__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_cipher__nic", t, "multi") + } + } + if r.authCipherNie != nil { + t := *r.authCipherNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_cipher__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_cipher__nie", t, "multi") + } + } + if r.authCipherNiew != nil { + t := *r.authCipherNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_cipher__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_cipher__niew", t, "multi") + } + } + if r.authCipherNisw != nil { + t := *r.authCipherNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_cipher__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_cipher__nisw", t, "multi") + } + } if r.authPsk != nil { t := *r.authPsk if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -3536,6 +3812,53 @@ func (a *WirelessAPIService) WirelessWirelessLansListExecute(r ApiWirelessWirele parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type", t, "multi") } } + if r.authTypeEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type__empty", r.authTypeEmpty, "") + } + if r.authTypeIc != nil { + t := *r.authTypeIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type__ic", t, "multi") + } + } + if r.authTypeIe != nil { + t := *r.authTypeIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type__ie", t, "multi") + } + } + if r.authTypeIew != nil { + t := *r.authTypeIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type__iew", t, "multi") + } + } + if r.authTypeIsw != nil { + t := *r.authTypeIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type__isw", t, "multi") + } + } if r.authTypeN != nil { t := *r.authTypeN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -3547,6 +3870,50 @@ func (a *WirelessAPIService) WirelessWirelessLansListExecute(r ApiWirelessWirele parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type__n", t, "multi") } } + if r.authTypeNic != nil { + t := *r.authTypeNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type__nic", t, "multi") + } + } + if r.authTypeNie != nil { + t := *r.authTypeNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type__nie", t, "multi") + } + } + if r.authTypeNiew != nil { + t := *r.authTypeNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type__niew", t, "multi") + } + } + if r.authTypeNisw != nil { + t := *r.authTypeNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type__nisw", t, "multi") + } + } if r.created != nil { t := *r.created if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -4091,6 +4458,53 @@ func (a *WirelessAPIService) WirelessWirelessLansListExecute(r ApiWirelessWirele parameterAddToHeaderOrQuery(localVarQueryParams, "status", t, "multi") } } + if r.statusEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__empty", r.statusEmpty, "") + } + if r.statusIc != nil { + t := *r.statusIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ic", t, "multi") + } + } + if r.statusIe != nil { + t := *r.statusIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ie", t, "multi") + } + } + if r.statusIew != nil { + t := *r.statusIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__iew", t, "multi") + } + } + if r.statusIsw != nil { + t := *r.statusIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__isw", t, "multi") + } + } if r.statusN != nil { t := *r.statusN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -4102,6 +4516,50 @@ func (a *WirelessAPIService) WirelessWirelessLansListExecute(r ApiWirelessWirele parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", t, "multi") } } + if r.statusNic != nil { + t := *r.statusNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nic", t, "multi") + } + } + if r.statusNie != nil { + t := *r.statusNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nie", t, "multi") + } + } + if r.statusNiew != nil { + t := *r.statusNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__niew", t, "multi") + } + } + if r.statusNisw != nil { + t := *r.statusNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nisw", t, "multi") + } + } if r.tag != nil { t := *r.tag if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -5276,7 +5734,16 @@ type ApiWirelessWirelessLinksListRequest struct { ctx context.Context ApiService *WirelessAPIService authCipher *[]string - authCipherN *[]string + authCipherEmpty *bool + authCipherIc *[]AuthenticationCipher + authCipherIe *[]AuthenticationCipher + authCipherIew *[]AuthenticationCipher + authCipherIsw *[]AuthenticationCipher + authCipherN *[]AuthenticationCipher + authCipherNic *[]AuthenticationCipher + authCipherNie *[]AuthenticationCipher + authCipherNiew *[]AuthenticationCipher + authCipherNisw *[]AuthenticationCipher authPsk *[]string authPskEmpty *bool authPskIc *[]string @@ -5289,7 +5756,16 @@ type ApiWirelessWirelessLinksListRequest struct { authPskNiew *[]string authPskNisw *[]string authType *[]string - authTypeN *[]string + authTypeEmpty *bool + authTypeIc *[]AuthenticationType1 + authTypeIe *[]AuthenticationType1 + authTypeIew *[]AuthenticationType1 + authTypeIsw *[]AuthenticationType1 + authTypeN *[]AuthenticationType1 + authTypeNic *[]AuthenticationType1 + authTypeNie *[]AuthenticationType1 + authTypeNiew *[]AuthenticationType1 + authTypeNisw *[]AuthenticationType1 created *[]time.Time createdEmpty *[]time.Time createdGt *[]time.Time @@ -5309,6 +5785,14 @@ type ApiWirelessWirelessLinksListRequest struct { descriptionNie *[]string descriptionNiew *[]string descriptionNisw *[]string + distance *[]float64 + distanceEmpty *bool + distanceGt *[]float64 + distanceGte *[]float64 + distanceLt *[]float64 + distanceLte *[]float64 + distanceN *[]float64 + distanceUnit *WirelessWirelessLinksListDistanceUnitParameter id *[]int32 idEmpty *bool idGt *[]int32 @@ -5344,15 +5828,24 @@ type ApiWirelessWirelessLinksListRequest struct { ssidNiew *[]string ssidNisw *[]string status *[]string - statusN *[]string + statusEmpty *bool + statusIc *[]DcimCablesListStatusIcParameterInner + statusIe *[]DcimCablesListStatusIcParameterInner + statusIew *[]DcimCablesListStatusIcParameterInner + statusIsw *[]DcimCablesListStatusIcParameterInner + statusN *[]DcimCablesListStatusIcParameterInner + statusNic *[]DcimCablesListStatusIcParameterInner + statusNie *[]DcimCablesListStatusIcParameterInner + statusNiew *[]DcimCablesListStatusIcParameterInner + statusNisw *[]DcimCablesListStatusIcParameterInner tag *[]string tagN *[]string tenant *[]string tenantN *[]string - tenantGroup *[]int32 - tenantGroupN *[]int32 - tenantGroupId *[]int32 - tenantGroupIdN *[]int32 + tenantGroup *[]string + tenantGroupN *[]string + tenantGroupId *[]string + tenantGroupIdN *[]string tenantId *[]*int32 tenantIdN *[]*int32 updatedByRequest *string @@ -5363,17 +5856,71 @@ func (r ApiWirelessWirelessLinksListRequest) AuthCipher(authCipher []string) Api return r } -func (r ApiWirelessWirelessLinksListRequest) AuthCipherN(authCipherN []string) ApiWirelessWirelessLinksListRequest { - r.authCipherN = &authCipherN +func (r ApiWirelessWirelessLinksListRequest) AuthCipherEmpty(authCipherEmpty bool) ApiWirelessWirelessLinksListRequest { + r.authCipherEmpty = &authCipherEmpty return r } -func (r ApiWirelessWirelessLinksListRequest) AuthPsk(authPsk []string) ApiWirelessWirelessLinksListRequest { - r.authPsk = &authPsk +// * `auto` - Auto * `tkip` - TKIP * `aes` - AES +func (r ApiWirelessWirelessLinksListRequest) AuthCipherIc(authCipherIc []AuthenticationCipher) ApiWirelessWirelessLinksListRequest { + r.authCipherIc = &authCipherIc return r } -func (r ApiWirelessWirelessLinksListRequest) AuthPskEmpty(authPskEmpty bool) ApiWirelessWirelessLinksListRequest { +// * `auto` - Auto * `tkip` - TKIP * `aes` - AES +func (r ApiWirelessWirelessLinksListRequest) AuthCipherIe(authCipherIe []AuthenticationCipher) ApiWirelessWirelessLinksListRequest { + r.authCipherIe = &authCipherIe + return r +} + +// * `auto` - Auto * `tkip` - TKIP * `aes` - AES +func (r ApiWirelessWirelessLinksListRequest) AuthCipherIew(authCipherIew []AuthenticationCipher) ApiWirelessWirelessLinksListRequest { + r.authCipherIew = &authCipherIew + return r +} + +// * `auto` - Auto * `tkip` - TKIP * `aes` - AES +func (r ApiWirelessWirelessLinksListRequest) AuthCipherIsw(authCipherIsw []AuthenticationCipher) ApiWirelessWirelessLinksListRequest { + r.authCipherIsw = &authCipherIsw + return r +} + +// * `auto` - Auto * `tkip` - TKIP * `aes` - AES +func (r ApiWirelessWirelessLinksListRequest) AuthCipherN(authCipherN []AuthenticationCipher) ApiWirelessWirelessLinksListRequest { + r.authCipherN = &authCipherN + return r +} + +// * `auto` - Auto * `tkip` - TKIP * `aes` - AES +func (r ApiWirelessWirelessLinksListRequest) AuthCipherNic(authCipherNic []AuthenticationCipher) ApiWirelessWirelessLinksListRequest { + r.authCipherNic = &authCipherNic + return r +} + +// * `auto` - Auto * `tkip` - TKIP * `aes` - AES +func (r ApiWirelessWirelessLinksListRequest) AuthCipherNie(authCipherNie []AuthenticationCipher) ApiWirelessWirelessLinksListRequest { + r.authCipherNie = &authCipherNie + return r +} + +// * `auto` - Auto * `tkip` - TKIP * `aes` - AES +func (r ApiWirelessWirelessLinksListRequest) AuthCipherNiew(authCipherNiew []AuthenticationCipher) ApiWirelessWirelessLinksListRequest { + r.authCipherNiew = &authCipherNiew + return r +} + +// * `auto` - Auto * `tkip` - TKIP * `aes` - AES +func (r ApiWirelessWirelessLinksListRequest) AuthCipherNisw(authCipherNisw []AuthenticationCipher) ApiWirelessWirelessLinksListRequest { + r.authCipherNisw = &authCipherNisw + return r +} + +func (r ApiWirelessWirelessLinksListRequest) AuthPsk(authPsk []string) ApiWirelessWirelessLinksListRequest { + r.authPsk = &authPsk + return r +} + +func (r ApiWirelessWirelessLinksListRequest) AuthPskEmpty(authPskEmpty bool) ApiWirelessWirelessLinksListRequest { r.authPskEmpty = &authPskEmpty return r } @@ -5428,11 +5975,65 @@ func (r ApiWirelessWirelessLinksListRequest) AuthType(authType []string) ApiWire return r } -func (r ApiWirelessWirelessLinksListRequest) AuthTypeN(authTypeN []string) ApiWirelessWirelessLinksListRequest { +func (r ApiWirelessWirelessLinksListRequest) AuthTypeEmpty(authTypeEmpty bool) ApiWirelessWirelessLinksListRequest { + r.authTypeEmpty = &authTypeEmpty + return r +} + +// * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise +func (r ApiWirelessWirelessLinksListRequest) AuthTypeIc(authTypeIc []AuthenticationType1) ApiWirelessWirelessLinksListRequest { + r.authTypeIc = &authTypeIc + return r +} + +// * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise +func (r ApiWirelessWirelessLinksListRequest) AuthTypeIe(authTypeIe []AuthenticationType1) ApiWirelessWirelessLinksListRequest { + r.authTypeIe = &authTypeIe + return r +} + +// * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise +func (r ApiWirelessWirelessLinksListRequest) AuthTypeIew(authTypeIew []AuthenticationType1) ApiWirelessWirelessLinksListRequest { + r.authTypeIew = &authTypeIew + return r +} + +// * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise +func (r ApiWirelessWirelessLinksListRequest) AuthTypeIsw(authTypeIsw []AuthenticationType1) ApiWirelessWirelessLinksListRequest { + r.authTypeIsw = &authTypeIsw + return r +} + +// * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise +func (r ApiWirelessWirelessLinksListRequest) AuthTypeN(authTypeN []AuthenticationType1) ApiWirelessWirelessLinksListRequest { r.authTypeN = &authTypeN return r } +// * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise +func (r ApiWirelessWirelessLinksListRequest) AuthTypeNic(authTypeNic []AuthenticationType1) ApiWirelessWirelessLinksListRequest { + r.authTypeNic = &authTypeNic + return r +} + +// * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise +func (r ApiWirelessWirelessLinksListRequest) AuthTypeNie(authTypeNie []AuthenticationType1) ApiWirelessWirelessLinksListRequest { + r.authTypeNie = &authTypeNie + return r +} + +// * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise +func (r ApiWirelessWirelessLinksListRequest) AuthTypeNiew(authTypeNiew []AuthenticationType1) ApiWirelessWirelessLinksListRequest { + r.authTypeNiew = &authTypeNiew + return r +} + +// * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise +func (r ApiWirelessWirelessLinksListRequest) AuthTypeNisw(authTypeNisw []AuthenticationType1) ApiWirelessWirelessLinksListRequest { + r.authTypeNisw = &authTypeNisw + return r +} + func (r ApiWirelessWirelessLinksListRequest) Created(created []time.Time) ApiWirelessWirelessLinksListRequest { r.created = &created return r @@ -5528,6 +6129,47 @@ func (r ApiWirelessWirelessLinksListRequest) DescriptionNisw(descriptionNisw []s return r } +func (r ApiWirelessWirelessLinksListRequest) Distance(distance []float64) ApiWirelessWirelessLinksListRequest { + r.distance = &distance + return r +} + +func (r ApiWirelessWirelessLinksListRequest) DistanceEmpty(distanceEmpty bool) ApiWirelessWirelessLinksListRequest { + r.distanceEmpty = &distanceEmpty + return r +} + +func (r ApiWirelessWirelessLinksListRequest) DistanceGt(distanceGt []float64) ApiWirelessWirelessLinksListRequest { + r.distanceGt = &distanceGt + return r +} + +func (r ApiWirelessWirelessLinksListRequest) DistanceGte(distanceGte []float64) ApiWirelessWirelessLinksListRequest { + r.distanceGte = &distanceGte + return r +} + +func (r ApiWirelessWirelessLinksListRequest) DistanceLt(distanceLt []float64) ApiWirelessWirelessLinksListRequest { + r.distanceLt = &distanceLt + return r +} + +func (r ApiWirelessWirelessLinksListRequest) DistanceLte(distanceLte []float64) ApiWirelessWirelessLinksListRequest { + r.distanceLte = &distanceLte + return r +} + +func (r ApiWirelessWirelessLinksListRequest) DistanceN(distanceN []float64) ApiWirelessWirelessLinksListRequest { + r.distanceN = &distanceN + return r +} + +// * `km` - Kilometers * `m` - Meters * `mi` - Miles * `ft` - Feet +func (r ApiWirelessWirelessLinksListRequest) DistanceUnit(distanceUnit WirelessWirelessLinksListDistanceUnitParameter) ApiWirelessWirelessLinksListRequest { + r.distanceUnit = &distanceUnit + return r +} + func (r ApiWirelessWirelessLinksListRequest) Id(id []int32) ApiWirelessWirelessLinksListRequest { r.id = &id return r @@ -5707,11 +6349,65 @@ func (r ApiWirelessWirelessLinksListRequest) Status(status []string) ApiWireless return r } -func (r ApiWirelessWirelessLinksListRequest) StatusN(statusN []string) ApiWirelessWirelessLinksListRequest { +func (r ApiWirelessWirelessLinksListRequest) StatusEmpty(statusEmpty bool) ApiWirelessWirelessLinksListRequest { + r.statusEmpty = &statusEmpty + return r +} + +// * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning +func (r ApiWirelessWirelessLinksListRequest) StatusIc(statusIc []DcimCablesListStatusIcParameterInner) ApiWirelessWirelessLinksListRequest { + r.statusIc = &statusIc + return r +} + +// * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning +func (r ApiWirelessWirelessLinksListRequest) StatusIe(statusIe []DcimCablesListStatusIcParameterInner) ApiWirelessWirelessLinksListRequest { + r.statusIe = &statusIe + return r +} + +// * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning +func (r ApiWirelessWirelessLinksListRequest) StatusIew(statusIew []DcimCablesListStatusIcParameterInner) ApiWirelessWirelessLinksListRequest { + r.statusIew = &statusIew + return r +} + +// * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning +func (r ApiWirelessWirelessLinksListRequest) StatusIsw(statusIsw []DcimCablesListStatusIcParameterInner) ApiWirelessWirelessLinksListRequest { + r.statusIsw = &statusIsw + return r +} + +// * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning +func (r ApiWirelessWirelessLinksListRequest) StatusN(statusN []DcimCablesListStatusIcParameterInner) ApiWirelessWirelessLinksListRequest { r.statusN = &statusN return r } +// * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning +func (r ApiWirelessWirelessLinksListRequest) StatusNic(statusNic []DcimCablesListStatusIcParameterInner) ApiWirelessWirelessLinksListRequest { + r.statusNic = &statusNic + return r +} + +// * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning +func (r ApiWirelessWirelessLinksListRequest) StatusNie(statusNie []DcimCablesListStatusIcParameterInner) ApiWirelessWirelessLinksListRequest { + r.statusNie = &statusNie + return r +} + +// * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning +func (r ApiWirelessWirelessLinksListRequest) StatusNiew(statusNiew []DcimCablesListStatusIcParameterInner) ApiWirelessWirelessLinksListRequest { + r.statusNiew = &statusNiew + return r +} + +// * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning +func (r ApiWirelessWirelessLinksListRequest) StatusNisw(statusNisw []DcimCablesListStatusIcParameterInner) ApiWirelessWirelessLinksListRequest { + r.statusNisw = &statusNisw + return r +} + func (r ApiWirelessWirelessLinksListRequest) Tag(tag []string) ApiWirelessWirelessLinksListRequest { r.tag = &tag return r @@ -5734,26 +6430,22 @@ func (r ApiWirelessWirelessLinksListRequest) TenantN(tenantN []string) ApiWirele return r } -// Tenant Group (slug) -func (r ApiWirelessWirelessLinksListRequest) TenantGroup(tenantGroup []int32) ApiWirelessWirelessLinksListRequest { +func (r ApiWirelessWirelessLinksListRequest) TenantGroup(tenantGroup []string) ApiWirelessWirelessLinksListRequest { r.tenantGroup = &tenantGroup return r } -// Tenant Group (slug) -func (r ApiWirelessWirelessLinksListRequest) TenantGroupN(tenantGroupN []int32) ApiWirelessWirelessLinksListRequest { +func (r ApiWirelessWirelessLinksListRequest) TenantGroupN(tenantGroupN []string) ApiWirelessWirelessLinksListRequest { r.tenantGroupN = &tenantGroupN return r } -// Tenant Group (ID) -func (r ApiWirelessWirelessLinksListRequest) TenantGroupId(tenantGroupId []int32) ApiWirelessWirelessLinksListRequest { +func (r ApiWirelessWirelessLinksListRequest) TenantGroupId(tenantGroupId []string) ApiWirelessWirelessLinksListRequest { r.tenantGroupId = &tenantGroupId return r } -// Tenant Group (ID) -func (r ApiWirelessWirelessLinksListRequest) TenantGroupIdN(tenantGroupIdN []int32) ApiWirelessWirelessLinksListRequest { +func (r ApiWirelessWirelessLinksListRequest) TenantGroupIdN(tenantGroupIdN []string) ApiWirelessWirelessLinksListRequest { r.tenantGroupIdN = &tenantGroupIdN return r } @@ -5827,6 +6519,53 @@ func (a *WirelessAPIService) WirelessWirelessLinksListExecute(r ApiWirelessWirel parameterAddToHeaderOrQuery(localVarQueryParams, "auth_cipher", t, "multi") } } + if r.authCipherEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_cipher__empty", r.authCipherEmpty, "") + } + if r.authCipherIc != nil { + t := *r.authCipherIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_cipher__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_cipher__ic", t, "multi") + } + } + if r.authCipherIe != nil { + t := *r.authCipherIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_cipher__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_cipher__ie", t, "multi") + } + } + if r.authCipherIew != nil { + t := *r.authCipherIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_cipher__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_cipher__iew", t, "multi") + } + } + if r.authCipherIsw != nil { + t := *r.authCipherIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_cipher__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_cipher__isw", t, "multi") + } + } if r.authCipherN != nil { t := *r.authCipherN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -5838,6 +6577,50 @@ func (a *WirelessAPIService) WirelessWirelessLinksListExecute(r ApiWirelessWirel parameterAddToHeaderOrQuery(localVarQueryParams, "auth_cipher__n", t, "multi") } } + if r.authCipherNic != nil { + t := *r.authCipherNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_cipher__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_cipher__nic", t, "multi") + } + } + if r.authCipherNie != nil { + t := *r.authCipherNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_cipher__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_cipher__nie", t, "multi") + } + } + if r.authCipherNiew != nil { + t := *r.authCipherNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_cipher__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_cipher__niew", t, "multi") + } + } + if r.authCipherNisw != nil { + t := *r.authCipherNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_cipher__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_cipher__nisw", t, "multi") + } + } if r.authPsk != nil { t := *r.authPsk if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -5962,6 +6745,53 @@ func (a *WirelessAPIService) WirelessWirelessLinksListExecute(r ApiWirelessWirel parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type", t, "multi") } } + if r.authTypeEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type__empty", r.authTypeEmpty, "") + } + if r.authTypeIc != nil { + t := *r.authTypeIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type__ic", t, "multi") + } + } + if r.authTypeIe != nil { + t := *r.authTypeIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type__ie", t, "multi") + } + } + if r.authTypeIew != nil { + t := *r.authTypeIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type__iew", t, "multi") + } + } + if r.authTypeIsw != nil { + t := *r.authTypeIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type__isw", t, "multi") + } + } if r.authTypeN != nil { t := *r.authTypeN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -5973,6 +6803,50 @@ func (a *WirelessAPIService) WirelessWirelessLinksListExecute(r ApiWirelessWirel parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type__n", t, "multi") } } + if r.authTypeNic != nil { + t := *r.authTypeNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type__nic", t, "multi") + } + } + if r.authTypeNie != nil { + t := *r.authTypeNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type__nie", t, "multi") + } + } + if r.authTypeNiew != nil { + t := *r.authTypeNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type__niew", t, "multi") + } + } + if r.authTypeNisw != nil { + t := *r.authTypeNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "auth_type__nisw", t, "multi") + } + } if r.created != nil { t := *r.created if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -6166,6 +7040,78 @@ func (a *WirelessAPIService) WirelessWirelessLinksListExecute(r ApiWirelessWirel parameterAddToHeaderOrQuery(localVarQueryParams, "description__nisw", t, "multi") } } + if r.distance != nil { + t := *r.distance + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "distance", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "distance", t, "multi") + } + } + if r.distanceEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "distance__empty", r.distanceEmpty, "") + } + if r.distanceGt != nil { + t := *r.distanceGt + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "distance__gt", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "distance__gt", t, "multi") + } + } + if r.distanceGte != nil { + t := *r.distanceGte + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "distance__gte", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "distance__gte", t, "multi") + } + } + if r.distanceLt != nil { + t := *r.distanceLt + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "distance__lt", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "distance__lt", t, "multi") + } + } + if r.distanceLte != nil { + t := *r.distanceLte + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "distance__lte", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "distance__lte", t, "multi") + } + } + if r.distanceN != nil { + t := *r.distanceN + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "distance__n", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "distance__n", t, "multi") + } + } + if r.distanceUnit != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "distance_unit", r.distanceUnit, "") + } if r.id != nil { t := *r.id if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -6495,6 +7441,53 @@ func (a *WirelessAPIService) WirelessWirelessLinksListExecute(r ApiWirelessWirel parameterAddToHeaderOrQuery(localVarQueryParams, "status", t, "multi") } } + if r.statusEmpty != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__empty", r.statusEmpty, "") + } + if r.statusIc != nil { + t := *r.statusIc + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ic", t, "multi") + } + } + if r.statusIe != nil { + t := *r.statusIe + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__ie", t, "multi") + } + } + if r.statusIew != nil { + t := *r.statusIew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__iew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__iew", t, "multi") + } + } + if r.statusIsw != nil { + t := *r.statusIsw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__isw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__isw", t, "multi") + } + } if r.statusN != nil { t := *r.statusN if reflect.TypeOf(t).Kind() == reflect.Slice { @@ -6506,6 +7499,50 @@ func (a *WirelessAPIService) WirelessWirelessLinksListExecute(r ApiWirelessWirel parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", t, "multi") } } + if r.statusNic != nil { + t := *r.statusNic + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nic", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nic", t, "multi") + } + } + if r.statusNie != nil { + t := *r.statusNie + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nie", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nie", t, "multi") + } + } + if r.statusNiew != nil { + t := *r.statusNiew + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__niew", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__niew", t, "multi") + } + } + if r.statusNisw != nil { + t := *r.statusNisw + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nisw", s.Index(i).Interface(), "multi") + } + } else { + parameterAddToHeaderOrQuery(localVarQueryParams, "status__nisw", t, "multi") + } + } if r.tag != nil { t := *r.tag if reflect.TypeOf(t).Kind() == reflect.Slice { diff --git a/client.go b/client.go index 7ced10a11..7132e8646 100644 --- a/client.go +++ b/client.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -40,7 +40,7 @@ var ( queryDescape = strings.NewReplacer("%5B", "[", "%5D", "]") ) -// APIClient manages communication with the NetBox REST API API v4.0.3 (4.0) +// APIClient manages communication with the NetBox REST API API v4.1.3 (4.1) // In most cases there should be only one, shared, APIClient. type APIClient struct { cfg *Configuration diff --git a/configuration.go b/configuration.go index e65a51b2f..3d6cc428b 100644 --- a/configuration.go +++ b/configuration.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -89,7 +89,7 @@ type Configuration struct { func NewConfiguration() *Configuration { cfg := &Configuration{ DefaultHeader: make(map[string]string), - UserAgent: "go-netbox/4.0.3", + UserAgent: "go-netbox/4.1.3", Debug: false, Servers: ServerConfigurations{ { diff --git a/docs/ASN.md b/docs/ASN.md index fed0cdda3..fcf0cd8ad 100644 --- a/docs/ASN.md +++ b/docs/ASN.md @@ -6,10 +6,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Asn** | **int64** | 16- or 32-bit autonomous system number | -**Rir** | Pointer to [**NullableRIR**](RIR.md) | | [optional] -**Tenant** | Pointer to [**NullableTenant**](Tenant.md) | | [optional] +**Rir** | Pointer to [**NullableBriefRIR**](BriefRIR.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenant**](BriefTenant.md) | | [optional] **Description** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] **Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] @@ -78,6 +79,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *ASN) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *ASN) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *ASN) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *ASN) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *ASN) GetDisplay() string` @@ -120,20 +146,20 @@ SetAsn sets Asn field to given value. ### GetRir -`func (o *ASN) GetRir() RIR` +`func (o *ASN) GetRir() BriefRIR` GetRir returns the Rir field if non-nil, zero value otherwise. ### GetRirOk -`func (o *ASN) GetRirOk() (*RIR, bool)` +`func (o *ASN) GetRirOk() (*BriefRIR, bool)` GetRirOk returns a tuple with the Rir field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRir -`func (o *ASN) SetRir(v RIR)` +`func (o *ASN) SetRir(v BriefRIR)` SetRir sets Rir field to given value. @@ -155,20 +181,20 @@ HasRir returns a boolean if a field has been set. UnsetRir ensures that no value is present for Rir, not even an explicit nil ### GetTenant -`func (o *ASN) GetTenant() Tenant` +`func (o *ASN) GetTenant() BriefTenant` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *ASN) GetTenantOk() (*Tenant, bool)` +`func (o *ASN) GetTenantOk() (*BriefTenant, 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 *ASN) SetTenant(v Tenant)` +`func (o *ASN) SetTenant(v BriefTenant)` SetTenant sets Tenant field to given value. diff --git a/docs/ASNRange.md b/docs/ASNRange.md index 8efc8ef06..aa0d20e5d 100644 --- a/docs/ASNRange.md +++ b/docs/ASNRange.md @@ -6,13 +6,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Name** | **string** | | **Slug** | **string** | | -**Rir** | [**RIR**](RIR.md) | | +**Rir** | [**BriefRIR**](BriefRIR.md) | | **Start** | **int64** | | **End** | **int64** | | -**Tenant** | Pointer to [**NullableTenant**](Tenant.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenant**](BriefTenant.md) | | [optional] **Description** | Pointer to **string** | | [optional] **Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] @@ -24,7 +25,7 @@ Name | Type | Description | Notes ### NewASNRange -`func NewASNRange(id int32, url string, display string, name string, slug string, rir RIR, start int64, end int64, created NullableTime, lastUpdated NullableTime, asnCount int32, ) *ASNRange` +`func NewASNRange(id int32, url string, display string, name string, slug string, rir BriefRIR, start int64, end int64, created NullableTime, lastUpdated NullableTime, asnCount int32, ) *ASNRange` NewASNRange instantiates a new ASNRange object This constructor will assign default values to properties that have it defined, @@ -79,6 +80,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *ASNRange) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *ASNRange) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *ASNRange) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *ASNRange) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *ASNRange) GetDisplay() string` @@ -141,20 +167,20 @@ SetSlug sets Slug field to given value. ### GetRir -`func (o *ASNRange) GetRir() RIR` +`func (o *ASNRange) GetRir() BriefRIR` GetRir returns the Rir field if non-nil, zero value otherwise. ### GetRirOk -`func (o *ASNRange) GetRirOk() (*RIR, bool)` +`func (o *ASNRange) GetRirOk() (*BriefRIR, bool)` GetRirOk returns a tuple with the Rir field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRir -`func (o *ASNRange) SetRir(v RIR)` +`func (o *ASNRange) SetRir(v BriefRIR)` SetRir sets Rir field to given value. @@ -201,20 +227,20 @@ SetEnd sets End field to given value. ### GetTenant -`func (o *ASNRange) GetTenant() Tenant` +`func (o *ASNRange) GetTenant() BriefTenant` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *ASNRange) GetTenantOk() (*Tenant, bool)` +`func (o *ASNRange) GetTenantOk() (*BriefTenant, 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 *ASNRange) SetTenant(v Tenant)` +`func (o *ASNRange) SetTenant(v BriefTenant)` SetTenant sets Tenant field to given value. diff --git a/docs/ASNRangeRequest.md b/docs/ASNRangeRequest.md index c7b5e284f..1c1f5dd35 100644 --- a/docs/ASNRangeRequest.md +++ b/docs/ASNRangeRequest.md @@ -6,10 +6,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | **string** | | **Slug** | **string** | | -**Rir** | [**RIRRequest**](RIRRequest.md) | | +**Rir** | [**BriefRIRRequest**](BriefRIRRequest.md) | | **Start** | **int64** | | **End** | **int64** | | -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] **Description** | Pointer to **string** | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] @@ -18,7 +18,7 @@ Name | Type | Description | Notes ### NewASNRangeRequest -`func NewASNRangeRequest(name string, slug string, rir RIRRequest, start int64, end int64, ) *ASNRangeRequest` +`func NewASNRangeRequest(name string, slug string, rir BriefRIRRequest, start int64, end int64, ) *ASNRangeRequest` NewASNRangeRequest instantiates a new ASNRangeRequest object This constructor will assign default values to properties that have it defined, @@ -75,20 +75,20 @@ SetSlug sets Slug field to given value. ### GetRir -`func (o *ASNRangeRequest) GetRir() RIRRequest` +`func (o *ASNRangeRequest) GetRir() BriefRIRRequest` GetRir returns the Rir field if non-nil, zero value otherwise. ### GetRirOk -`func (o *ASNRangeRequest) GetRirOk() (*RIRRequest, bool)` +`func (o *ASNRangeRequest) GetRirOk() (*BriefRIRRequest, bool)` GetRirOk returns a tuple with the Rir field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRir -`func (o *ASNRangeRequest) SetRir(v RIRRequest)` +`func (o *ASNRangeRequest) SetRir(v BriefRIRRequest)` SetRir sets Rir field to given value. @@ -135,20 +135,20 @@ SetEnd sets End field to given value. ### GetTenant -`func (o *ASNRangeRequest) GetTenant() TenantRequest` +`func (o *ASNRangeRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *ASNRangeRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *ASNRangeRequest) GetTenantOk() (*BriefTenantRequest, 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 *ASNRangeRequest) SetTenant(v TenantRequest)` +`func (o *ASNRangeRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. diff --git a/docs/ASNRequest.md b/docs/ASNRequest.md index c82eb0830..ef24115a1 100644 --- a/docs/ASNRequest.md +++ b/docs/ASNRequest.md @@ -5,8 +5,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Asn** | **int64** | 16- or 32-bit autonomous system number | -**Rir** | Pointer to [**NullableRIRRequest**](RIRRequest.md) | | [optional] -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] +**Rir** | Pointer to [**NullableBriefRIRRequest**](BriefRIRRequest.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] **Description** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] @@ -53,20 +53,20 @@ SetAsn sets Asn field to given value. ### GetRir -`func (o *ASNRequest) GetRir() RIRRequest` +`func (o *ASNRequest) GetRir() BriefRIRRequest` GetRir returns the Rir field if non-nil, zero value otherwise. ### GetRirOk -`func (o *ASNRequest) GetRirOk() (*RIRRequest, bool)` +`func (o *ASNRequest) GetRirOk() (*BriefRIRRequest, bool)` GetRirOk returns a tuple with the Rir field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRir -`func (o *ASNRequest) SetRir(v RIRRequest)` +`func (o *ASNRequest) SetRir(v BriefRIRRequest)` SetRir sets Rir field to given value. @@ -88,20 +88,20 @@ HasRir returns a boolean if a field has been set. UnsetRir ensures that no value is present for Rir, not even an explicit nil ### GetTenant -`func (o *ASNRequest) GetTenant() TenantRequest` +`func (o *ASNRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *ASNRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *ASNRequest) GetTenantOk() (*BriefTenantRequest, 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 *ASNRequest) SetTenant(v TenantRequest)` +`func (o *ASNRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. diff --git a/docs/Aggregate.md b/docs/Aggregate.md index aab5e7099..47f649b1b 100644 --- a/docs/Aggregate.md +++ b/docs/Aggregate.md @@ -6,11 +6,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Family** | [**AggregateFamily**](AggregateFamily.md) | | **Prefix** | **string** | | -**Rir** | [**RIR**](RIR.md) | | -**Tenant** | Pointer to [**NullableTenant**](Tenant.md) | | [optional] +**Rir** | [**BriefRIR**](BriefRIR.md) | | +**Tenant** | Pointer to [**NullableBriefTenant**](BriefTenant.md) | | [optional] **DateAdded** | Pointer to **NullableString** | | [optional] **Description** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] @@ -23,7 +24,7 @@ Name | Type | Description | Notes ### NewAggregate -`func NewAggregate(id int32, url string, display string, family AggregateFamily, prefix string, rir RIR, created NullableTime, lastUpdated NullableTime, ) *Aggregate` +`func NewAggregate(id int32, url string, display string, family AggregateFamily, prefix string, rir BriefRIR, created NullableTime, lastUpdated NullableTime, ) *Aggregate` NewAggregate instantiates a new Aggregate object This constructor will assign default values to properties that have it defined, @@ -78,6 +79,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *Aggregate) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *Aggregate) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *Aggregate) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *Aggregate) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *Aggregate) GetDisplay() string` @@ -140,40 +166,40 @@ SetPrefix sets Prefix field to given value. ### GetRir -`func (o *Aggregate) GetRir() RIR` +`func (o *Aggregate) GetRir() BriefRIR` GetRir returns the Rir field if non-nil, zero value otherwise. ### GetRirOk -`func (o *Aggregate) GetRirOk() (*RIR, bool)` +`func (o *Aggregate) GetRirOk() (*BriefRIR, bool)` GetRirOk returns a tuple with the Rir field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRir -`func (o *Aggregate) SetRir(v RIR)` +`func (o *Aggregate) SetRir(v BriefRIR)` SetRir sets Rir field to given value. ### GetTenant -`func (o *Aggregate) GetTenant() Tenant` +`func (o *Aggregate) GetTenant() BriefTenant` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *Aggregate) GetTenantOk() (*Tenant, bool)` +`func (o *Aggregate) GetTenantOk() (*BriefTenant, 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 *Aggregate) SetTenant(v Tenant)` +`func (o *Aggregate) SetTenant(v BriefTenant)` SetTenant sets Tenant field to given value. diff --git a/docs/AggregateRequest.md b/docs/AggregateRequest.md index 197cf1897..a11fa9f7a 100644 --- a/docs/AggregateRequest.md +++ b/docs/AggregateRequest.md @@ -5,8 +5,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Prefix** | **string** | | -**Rir** | [**RIRRequest**](RIRRequest.md) | | -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] +**Rir** | [**BriefRIRRequest**](BriefRIRRequest.md) | | +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] **DateAdded** | Pointer to **NullableString** | | [optional] **Description** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] @@ -17,7 +17,7 @@ Name | Type | Description | Notes ### NewAggregateRequest -`func NewAggregateRequest(prefix string, rir RIRRequest, ) *AggregateRequest` +`func NewAggregateRequest(prefix string, rir BriefRIRRequest, ) *AggregateRequest` NewAggregateRequest instantiates a new AggregateRequest object This constructor will assign default values to properties that have it defined, @@ -54,40 +54,40 @@ SetPrefix sets Prefix field to given value. ### GetRir -`func (o *AggregateRequest) GetRir() RIRRequest` +`func (o *AggregateRequest) GetRir() BriefRIRRequest` GetRir returns the Rir field if non-nil, zero value otherwise. ### GetRirOk -`func (o *AggregateRequest) GetRirOk() (*RIRRequest, bool)` +`func (o *AggregateRequest) GetRirOk() (*BriefRIRRequest, bool)` GetRirOk returns a tuple with the Rir field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRir -`func (o *AggregateRequest) SetRir(v RIRRequest)` +`func (o *AggregateRequest) SetRir(v BriefRIRRequest)` SetRir sets Rir field to given value. ### GetTenant -`func (o *AggregateRequest) GetTenant() TenantRequest` +`func (o *AggregateRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *AggregateRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *AggregateRequest) GetTenantOk() (*BriefTenantRequest, 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 *AggregateRequest) SetTenant(v TenantRequest)` +`func (o *AggregateRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. diff --git a/docs/Authentication.md b/docs/Authentication.md index 1e2ffd4f6..87bc50d26 100644 --- a/docs/Authentication.md +++ b/docs/Authentication.md @@ -3,6 +3,10 @@ ## Enum +* `EMPTY` (value: `""`) + +* `HMAC_MD5` (value: `"hmac-md5"`) + * `HMAC_SHA1` (value: `"hmac-sha1"`) * `HMAC_SHA256` (value: `"hmac-sha256"`) @@ -11,10 +15,6 @@ * `HMAC_SHA512` (value: `"hmac-sha512"`) -* `HMAC_MD5` (value: `"hmac-md5"`) - -* `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/Authentication1.md b/docs/Authentication1.md new file mode 100644 index 000000000..68ab02839 --- /dev/null +++ b/docs/Authentication1.md @@ -0,0 +1,21 @@ +# Authentication1 + +## Enum + + +* `HMAC_SHA1` (value: `"hmac-sha1"`) + +* `HMAC_SHA256` (value: `"hmac-sha256"`) + +* `HMAC_SHA384` (value: `"hmac-sha384"`) + +* `HMAC_SHA512` (value: `"hmac-sha512"`) + +* `HMAC_MD5` (value: `"hmac-md5"`) + +* `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/AuthenticationCipher.md b/docs/AuthenticationCipher.md index d6f1451af..d0eb1d07c 100644 --- a/docs/AuthenticationCipher.md +++ b/docs/AuthenticationCipher.md @@ -3,13 +3,13 @@ ## Enum -* `AUTO` (value: `"auto"`) - -* `TKIP` (value: `"tkip"`) +* `EMPTY` (value: `""`) * `AES` (value: `"aes"`) -* `EMPTY` (value: `""`) +* `AUTO` (value: `"auto"`) + +* `TKIP` (value: `"tkip"`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/AuthenticationCipher1.md b/docs/AuthenticationCipher1.md new file mode 100644 index 000000000..284db02d4 --- /dev/null +++ b/docs/AuthenticationCipher1.md @@ -0,0 +1,17 @@ +# AuthenticationCipher1 + +## Enum + + +* `AUTO` (value: `"auto"`) + +* `TKIP` (value: `"tkip"`) + +* `AES` (value: `"aes"`) + +* `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/AuthenticationType.md b/docs/AuthenticationType.md index 7d11f5f6d..14cf1c4a8 100644 --- a/docs/AuthenticationType.md +++ b/docs/AuthenticationType.md @@ -3,11 +3,11 @@ ## Enum -* `PLAINTEXT` (value: `"plaintext"`) +* `EMPTY` (value: `""`) * `MD5` (value: `"md5"`) -* `EMPTY` (value: `""`) +* `PLAINTEXT` (value: `"plaintext"`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/AuthenticationType1.md b/docs/AuthenticationType1.md index 64f268e22..ffac682f7 100644 --- a/docs/AuthenticationType1.md +++ b/docs/AuthenticationType1.md @@ -3,15 +3,15 @@ ## Enum +* `EMPTY` (value: `""`) + * `OPEN` (value: `"open"`) * `WEP` (value: `"wep"`) -* `WPA_PERSONAL` (value: `"wpa-personal"`) - * `WPA_ENTERPRISE` (value: `"wpa-enterprise"`) -* `EMPTY` (value: `""`) +* `WPA_PERSONAL` (value: `"wpa-personal"`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/AuthenticationType2.md b/docs/AuthenticationType2.md new file mode 100644 index 000000000..ace619531 --- /dev/null +++ b/docs/AuthenticationType2.md @@ -0,0 +1,15 @@ +# AuthenticationType2 + +## Enum + + +* `PLAINTEXT` (value: `"plaintext"`) + +* `MD5` (value: `"md5"`) + +* `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/AuthenticationType3.md b/docs/AuthenticationType3.md new file mode 100644 index 000000000..fd0a92221 --- /dev/null +++ b/docs/AuthenticationType3.md @@ -0,0 +1,19 @@ +# AuthenticationType3 + +## Enum + + +* `OPEN` (value: `"open"`) + +* `WEP` (value: `"wep"`) + +* `WPA_PERSONAL` (value: `"wpa-personal"`) + +* `WPA_ENTERPRISE` (value: `"wpa-enterprise"`) + +* `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/AvailableIP.md b/docs/AvailableIP.md index 9fa0b65df..961593aa5 100644 --- a/docs/AvailableIP.md +++ b/docs/AvailableIP.md @@ -6,14 +6,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Family** | **int32** | | [readonly] **Address** | **string** | | [readonly] -**Vrf** | [**NullableVRF**](VRF.md) | | [readonly] +**Vrf** | [**NullableBriefVRF**](BriefVRF.md) | | [readonly] **Description** | Pointer to **string** | | [optional] ## Methods ### NewAvailableIP -`func NewAvailableIP(family int32, address string, vrf NullableVRF, ) *AvailableIP` +`func NewAvailableIP(family int32, address string, vrf NullableBriefVRF, ) *AvailableIP` NewAvailableIP instantiates a new AvailableIP object This constructor will assign default values to properties that have it defined, @@ -70,20 +70,20 @@ SetAddress sets Address field to given value. ### GetVrf -`func (o *AvailableIP) GetVrf() VRF` +`func (o *AvailableIP) GetVrf() BriefVRF` GetVrf returns the Vrf field if non-nil, zero value otherwise. ### GetVrfOk -`func (o *AvailableIP) GetVrfOk() (*VRF, bool)` +`func (o *AvailableIP) GetVrfOk() (*BriefVRF, bool)` GetVrfOk returns a tuple with the Vrf field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVrf -`func (o *AvailableIP) SetVrf(v VRF)` +`func (o *AvailableIP) SetVrf(v BriefVRF)` SetVrf sets Vrf field to given value. diff --git a/docs/AvailablePrefix.md b/docs/AvailablePrefix.md index e9f9da1fe..dd8738306 100644 --- a/docs/AvailablePrefix.md +++ b/docs/AvailablePrefix.md @@ -6,13 +6,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Family** | **int32** | | [readonly] **Prefix** | **string** | | [readonly] -**Vrf** | [**NullableVRF**](VRF.md) | | [readonly] +**Vrf** | [**NullableBriefVRF**](BriefVRF.md) | | [readonly] ## Methods ### NewAvailablePrefix -`func NewAvailablePrefix(family int32, prefix string, vrf NullableVRF, ) *AvailablePrefix` +`func NewAvailablePrefix(family int32, prefix string, vrf NullableBriefVRF, ) *AvailablePrefix` NewAvailablePrefix instantiates a new AvailablePrefix object This constructor will assign default values to properties that have it defined, @@ -69,20 +69,20 @@ SetPrefix sets Prefix field to given value. ### GetVrf -`func (o *AvailablePrefix) GetVrf() VRF` +`func (o *AvailablePrefix) GetVrf() BriefVRF` GetVrf returns the Vrf field if non-nil, zero value otherwise. ### GetVrfOk -`func (o *AvailablePrefix) GetVrfOk() (*VRF, bool)` +`func (o *AvailablePrefix) GetVrfOk() (*BriefVRF, bool)` GetVrfOk returns a tuple with the Vrf field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVrf -`func (o *AvailablePrefix) SetVrf(v VRF)` +`func (o *AvailablePrefix) SetVrf(v BriefVRF)` SetVrf sets Vrf field to given value. diff --git a/docs/AvailableVLAN.md b/docs/AvailableVLAN.md index 86e18eea9..c00225080 100644 --- a/docs/AvailableVLAN.md +++ b/docs/AvailableVLAN.md @@ -5,13 +5,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Vid** | **int32** | | [readonly] -**Group** | [**NullableVLANGroup**](VLANGroup.md) | | [readonly] +**Group** | [**NullableBriefVLANGroup**](BriefVLANGroup.md) | | [readonly] ## Methods ### NewAvailableVLAN -`func NewAvailableVLAN(vid int32, group NullableVLANGroup, ) *AvailableVLAN` +`func NewAvailableVLAN(vid int32, group NullableBriefVLANGroup, ) *AvailableVLAN` NewAvailableVLAN instantiates a new AvailableVLAN object This constructor will assign default values to properties that have it defined, @@ -48,20 +48,20 @@ SetVid sets Vid field to given value. ### GetGroup -`func (o *AvailableVLAN) GetGroup() VLANGroup` +`func (o *AvailableVLAN) GetGroup() BriefVLANGroup` GetGroup returns the Group field if non-nil, zero value otherwise. ### GetGroupOk -`func (o *AvailableVLAN) GetGroupOk() (*VLANGroup, bool)` +`func (o *AvailableVLAN) GetGroupOk() (*BriefVLANGroup, bool)` GetGroupOk returns a tuple with the Group field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetGroup -`func (o *AvailableVLAN) SetGroup(v VLANGroup)` +`func (o *AvailableVLAN) SetGroup(v BriefVLANGroup)` SetGroup sets Group field to given value. diff --git a/docs/Bookmark.md b/docs/Bookmark.md index 68ef93cce..05631b586 100644 --- a/docs/Bookmark.md +++ b/docs/Bookmark.md @@ -10,14 +10,14 @@ Name | Type | Description | Notes **ObjectType** | **string** | | **ObjectId** | **int64** | | **Object** | **interface{}** | | [readonly] -**User** | [**User**](User.md) | | +**User** | [**BriefUser**](BriefUser.md) | | **Created** | **time.Time** | | [readonly] ## Methods ### NewBookmark -`func NewBookmark(id int32, url string, display string, objectType string, objectId int64, object interface{}, user User, created time.Time, ) *Bookmark` +`func NewBookmark(id int32, url string, display string, objectType string, objectId int64, object interface{}, user BriefUser, created time.Time, ) *Bookmark` NewBookmark instantiates a new Bookmark object This constructor will assign default values to properties that have it defined, @@ -164,20 +164,20 @@ SetObject sets Object field to given value. UnsetObject ensures that no value is present for Object, not even an explicit nil ### GetUser -`func (o *Bookmark) GetUser() User` +`func (o *Bookmark) GetUser() BriefUser` GetUser returns the User field if non-nil, zero value otherwise. ### GetUserOk -`func (o *Bookmark) GetUserOk() (*User, bool)` +`func (o *Bookmark) GetUserOk() (*BriefUser, bool)` GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUser -`func (o *Bookmark) SetUser(v User)` +`func (o *Bookmark) SetUser(v BriefUser)` SetUser sets User field to given value. diff --git a/docs/BookmarkRequest.md b/docs/BookmarkRequest.md index caeb3fc59..ab40a26e9 100644 --- a/docs/BookmarkRequest.md +++ b/docs/BookmarkRequest.md @@ -6,13 +6,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **ObjectType** | **string** | | **ObjectId** | **int64** | | -**User** | [**UserRequest**](UserRequest.md) | | +**User** | [**BriefUserRequest**](BriefUserRequest.md) | | ## Methods ### NewBookmarkRequest -`func NewBookmarkRequest(objectType string, objectId int64, user UserRequest, ) *BookmarkRequest` +`func NewBookmarkRequest(objectType string, objectId int64, user BriefUserRequest, ) *BookmarkRequest` NewBookmarkRequest instantiates a new BookmarkRequest object This constructor will assign default values to properties that have it defined, @@ -69,20 +69,20 @@ SetObjectId sets ObjectId field to given value. ### GetUser -`func (o *BookmarkRequest) GetUser() UserRequest` +`func (o *BookmarkRequest) GetUser() BriefUserRequest` GetUser returns the User field if non-nil, zero value otherwise. ### GetUserOk -`func (o *BookmarkRequest) GetUserOk() (*UserRequest, bool)` +`func (o *BookmarkRequest) GetUserOk() (*BriefUserRequest, bool)` GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUser -`func (o *BookmarkRequest) SetUser(v UserRequest)` +`func (o *BookmarkRequest) SetUser(v BriefUserRequest)` SetUser sets User field to given value. diff --git a/docs/BriefCable.md b/docs/BriefCable.md new file mode 100644 index 000000000..16efce10b --- /dev/null +++ b/docs/BriefCable.md @@ -0,0 +1,145 @@ +# BriefCable + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Label** | Pointer to **string** | | [optional] +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefCable + +`func NewBriefCable(id int32, url string, display string, ) *BriefCable` + +NewBriefCable instantiates a new BriefCable object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefCableWithDefaults + +`func NewBriefCableWithDefaults() *BriefCable` + +NewBriefCableWithDefaults instantiates a new BriefCable object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefCable) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefCable) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefCable) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefCable) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefCable) 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 *BriefCable) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefCable) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefCable) 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 *BriefCable) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetLabel + +`func (o *BriefCable) GetLabel() string` + +GetLabel returns the Label field if non-nil, zero value otherwise. + +### GetLabelOk + +`func (o *BriefCable) GetLabelOk() (*string, 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 *BriefCable) SetLabel(v string)` + +SetLabel sets Label field to given value. + +### HasLabel + +`func (o *BriefCable) HasLabel() bool` + +HasLabel returns a boolean if a field has been set. + +### GetDescription + +`func (o *BriefCable) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefCable) 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 *BriefCable) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefCable) HasDescription() bool` + +HasDescription 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/BriefCableRequest.md b/docs/BriefCableRequest.md new file mode 100644 index 000000000..7a5b52bd6 --- /dev/null +++ b/docs/BriefCableRequest.md @@ -0,0 +1,82 @@ +# BriefCableRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Label** | Pointer to **string** | | [optional] +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefCableRequest + +`func NewBriefCableRequest() *BriefCableRequest` + +NewBriefCableRequest instantiates a new BriefCableRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefCableRequestWithDefaults + +`func NewBriefCableRequestWithDefaults() *BriefCableRequest` + +NewBriefCableRequestWithDefaults instantiates a new BriefCableRequest object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetLabel + +`func (o *BriefCableRequest) GetLabel() string` + +GetLabel returns the Label field if non-nil, zero value otherwise. + +### GetLabelOk + +`func (o *BriefCableRequest) GetLabelOk() (*string, 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 *BriefCableRequest) SetLabel(v string)` + +SetLabel sets Label field to given value. + +### HasLabel + +`func (o *BriefCableRequest) HasLabel() bool` + +HasLabel returns a boolean if a field has been set. + +### GetDescription + +`func (o *BriefCableRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefCableRequest) 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 *BriefCableRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefCableRequest) HasDescription() bool` + +HasDescription 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/BriefCircuit.md b/docs/BriefCircuit.md new file mode 100644 index 000000000..138f8f8fe --- /dev/null +++ b/docs/BriefCircuit.md @@ -0,0 +1,161 @@ +# BriefCircuit + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Cid** | **string** | Unique circuit ID | +**Provider** | [**BriefProvider**](BriefProvider.md) | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefCircuit + +`func NewBriefCircuit(id int32, url string, display string, cid string, provider BriefProvider, ) *BriefCircuit` + +NewBriefCircuit instantiates a new BriefCircuit object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefCircuitWithDefaults + +`func NewBriefCircuitWithDefaults() *BriefCircuit` + +NewBriefCircuitWithDefaults instantiates a new BriefCircuit object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefCircuit) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefCircuit) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefCircuit) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefCircuit) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefCircuit) 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 *BriefCircuit) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefCircuit) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefCircuit) 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 *BriefCircuit) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetCid + +`func (o *BriefCircuit) GetCid() string` + +GetCid returns the Cid field if non-nil, zero value otherwise. + +### GetCidOk + +`func (o *BriefCircuit) GetCidOk() (*string, bool)` + +GetCidOk returns a tuple with the Cid field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCid + +`func (o *BriefCircuit) SetCid(v string)` + +SetCid sets Cid field to given value. + + +### GetProvider + +`func (o *BriefCircuit) GetProvider() BriefProvider` + +GetProvider returns the Provider field if non-nil, zero value otherwise. + +### GetProviderOk + +`func (o *BriefCircuit) GetProviderOk() (*BriefProvider, bool)` + +GetProviderOk returns a tuple with the Provider field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetProvider + +`func (o *BriefCircuit) SetProvider(v BriefProvider)` + +SetProvider sets Provider field to given value. + + +### GetDescription + +`func (o *BriefCircuit) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefCircuit) 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 *BriefCircuit) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefCircuit) HasDescription() bool` + +HasDescription 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/BriefCircuitGroup.md b/docs/BriefCircuitGroup.md new file mode 100644 index 000000000..25564b648 --- /dev/null +++ b/docs/BriefCircuitGroup.md @@ -0,0 +1,114 @@ +# BriefCircuitGroup + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Name** | **string** | | + +## Methods + +### NewBriefCircuitGroup + +`func NewBriefCircuitGroup(id int32, url string, display string, name string, ) *BriefCircuitGroup` + +NewBriefCircuitGroup instantiates a new BriefCircuitGroup object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefCircuitGroupWithDefaults + +`func NewBriefCircuitGroupWithDefaults() *BriefCircuitGroup` + +NewBriefCircuitGroupWithDefaults instantiates a new BriefCircuitGroup object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefCircuitGroup) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefCircuitGroup) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefCircuitGroup) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefCircuitGroup) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefCircuitGroup) 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 *BriefCircuitGroup) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefCircuitGroup) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefCircuitGroup) 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 *BriefCircuitGroup) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetName + +`func (o *BriefCircuitGroup) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefCircuitGroup) 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 *BriefCircuitGroup) SetName(v string)` + +SetName sets Name 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/BriefCircuitGroupAssignmentSerializer.md b/docs/BriefCircuitGroupAssignmentSerializer.md new file mode 100644 index 000000000..2036b6e32 --- /dev/null +++ b/docs/BriefCircuitGroupAssignmentSerializer.md @@ -0,0 +1,140 @@ +# BriefCircuitGroupAssignmentSerializer + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Group** | [**BriefCircuitGroup**](BriefCircuitGroup.md) | | +**Priority** | Pointer to [**BriefCircuitGroupAssignmentSerializerPriority**](BriefCircuitGroupAssignmentSerializerPriority.md) | | [optional] + +## Methods + +### NewBriefCircuitGroupAssignmentSerializer + +`func NewBriefCircuitGroupAssignmentSerializer(id int32, url string, display string, group BriefCircuitGroup, ) *BriefCircuitGroupAssignmentSerializer` + +NewBriefCircuitGroupAssignmentSerializer instantiates a new BriefCircuitGroupAssignmentSerializer object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefCircuitGroupAssignmentSerializerWithDefaults + +`func NewBriefCircuitGroupAssignmentSerializerWithDefaults() *BriefCircuitGroupAssignmentSerializer` + +NewBriefCircuitGroupAssignmentSerializerWithDefaults instantiates a new BriefCircuitGroupAssignmentSerializer object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefCircuitGroupAssignmentSerializer) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefCircuitGroupAssignmentSerializer) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefCircuitGroupAssignmentSerializer) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefCircuitGroupAssignmentSerializer) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefCircuitGroupAssignmentSerializer) 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 *BriefCircuitGroupAssignmentSerializer) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefCircuitGroupAssignmentSerializer) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefCircuitGroupAssignmentSerializer) 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 *BriefCircuitGroupAssignmentSerializer) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetGroup + +`func (o *BriefCircuitGroupAssignmentSerializer) GetGroup() BriefCircuitGroup` + +GetGroup returns the Group field if non-nil, zero value otherwise. + +### GetGroupOk + +`func (o *BriefCircuitGroupAssignmentSerializer) GetGroupOk() (*BriefCircuitGroup, bool)` + +GetGroupOk returns a tuple with the Group field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGroup + +`func (o *BriefCircuitGroupAssignmentSerializer) SetGroup(v BriefCircuitGroup)` + +SetGroup sets Group field to given value. + + +### GetPriority + +`func (o *BriefCircuitGroupAssignmentSerializer) GetPriority() BriefCircuitGroupAssignmentSerializerPriority` + +GetPriority returns the Priority field if non-nil, zero value otherwise. + +### GetPriorityOk + +`func (o *BriefCircuitGroupAssignmentSerializer) GetPriorityOk() (*BriefCircuitGroupAssignmentSerializerPriority, bool)` + +GetPriorityOk returns a tuple with the Priority field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPriority + +`func (o *BriefCircuitGroupAssignmentSerializer) SetPriority(v BriefCircuitGroupAssignmentSerializerPriority)` + +SetPriority sets Priority field to given value. + +### HasPriority + +`func (o *BriefCircuitGroupAssignmentSerializer) HasPriority() bool` + +HasPriority 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/BriefCircuitGroupAssignmentSerializerPriority.md b/docs/BriefCircuitGroupAssignmentSerializerPriority.md new file mode 100644 index 000000000..1d9667157 --- /dev/null +++ b/docs/BriefCircuitGroupAssignmentSerializerPriority.md @@ -0,0 +1,82 @@ +# BriefCircuitGroupAssignmentSerializerPriority + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Value** | Pointer to [**BriefCircuitGroupAssignmentSerializerPriorityValue**](BriefCircuitGroupAssignmentSerializerPriorityValue.md) | | [optional] +**Label** | Pointer to [**BriefCircuitGroupAssignmentSerializerPriorityLabel**](BriefCircuitGroupAssignmentSerializerPriorityLabel.md) | | [optional] + +## Methods + +### NewBriefCircuitGroupAssignmentSerializerPriority + +`func NewBriefCircuitGroupAssignmentSerializerPriority() *BriefCircuitGroupAssignmentSerializerPriority` + +NewBriefCircuitGroupAssignmentSerializerPriority instantiates a new BriefCircuitGroupAssignmentSerializerPriority object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefCircuitGroupAssignmentSerializerPriorityWithDefaults + +`func NewBriefCircuitGroupAssignmentSerializerPriorityWithDefaults() *BriefCircuitGroupAssignmentSerializerPriority` + +NewBriefCircuitGroupAssignmentSerializerPriorityWithDefaults instantiates a new BriefCircuitGroupAssignmentSerializerPriority object +This 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 *BriefCircuitGroupAssignmentSerializerPriority) GetValue() BriefCircuitGroupAssignmentSerializerPriorityValue` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *BriefCircuitGroupAssignmentSerializerPriority) GetValueOk() (*BriefCircuitGroupAssignmentSerializerPriorityValue, 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 *BriefCircuitGroupAssignmentSerializerPriority) SetValue(v BriefCircuitGroupAssignmentSerializerPriorityValue)` + +SetValue sets Value field to given value. + +### HasValue + +`func (o *BriefCircuitGroupAssignmentSerializerPriority) HasValue() bool` + +HasValue returns a boolean if a field has been set. + +### GetLabel + +`func (o *BriefCircuitGroupAssignmentSerializerPriority) GetLabel() BriefCircuitGroupAssignmentSerializerPriorityLabel` + +GetLabel returns the Label field if non-nil, zero value otherwise. + +### GetLabelOk + +`func (o *BriefCircuitGroupAssignmentSerializerPriority) GetLabelOk() (*BriefCircuitGroupAssignmentSerializerPriorityLabel, 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 *BriefCircuitGroupAssignmentSerializerPriority) SetLabel(v BriefCircuitGroupAssignmentSerializerPriorityLabel)` + +SetLabel sets Label field to given value. + +### HasLabel + +`func (o *BriefCircuitGroupAssignmentSerializerPriority) 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/BriefCircuitGroupAssignmentSerializerPriorityLabel.md b/docs/BriefCircuitGroupAssignmentSerializerPriorityLabel.md new file mode 100644 index 000000000..9cca225d8 --- /dev/null +++ b/docs/BriefCircuitGroupAssignmentSerializerPriorityLabel.md @@ -0,0 +1,17 @@ +# BriefCircuitGroupAssignmentSerializerPriorityLabel + +## Enum + + +* `PRIMARY` (value: `"Primary"`) + +* `SECONDARY` (value: `"Secondary"`) + +* `TERTIARY` (value: `"Tertiary"`) + +* `INACTIVE` (value: `"Inactive"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/BriefCircuitGroupAssignmentSerializerPriorityValue.md b/docs/BriefCircuitGroupAssignmentSerializerPriorityValue.md new file mode 100644 index 000000000..00692d0a1 --- /dev/null +++ b/docs/BriefCircuitGroupAssignmentSerializerPriorityValue.md @@ -0,0 +1,19 @@ +# BriefCircuitGroupAssignmentSerializerPriorityValue + +## Enum + + +* `PRIMARY` (value: `"primary"`) + +* `SECONDARY` (value: `"secondary"`) + +* `TERTIARY` (value: `"tertiary"`) + +* `INACTIVE` (value: `"inactive"`) + +* `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/BriefCircuitGroupAssignmentSerializerRequest.md b/docs/BriefCircuitGroupAssignmentSerializerRequest.md new file mode 100644 index 000000000..e05840b8b --- /dev/null +++ b/docs/BriefCircuitGroupAssignmentSerializerRequest.md @@ -0,0 +1,77 @@ +# BriefCircuitGroupAssignmentSerializerRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Group** | [**BriefCircuitGroupRequest**](BriefCircuitGroupRequest.md) | | +**Priority** | Pointer to [**BriefCircuitGroupAssignmentSerializerPriorityValue**](BriefCircuitGroupAssignmentSerializerPriorityValue.md) | | [optional] + +## Methods + +### NewBriefCircuitGroupAssignmentSerializerRequest + +`func NewBriefCircuitGroupAssignmentSerializerRequest(group BriefCircuitGroupRequest, ) *BriefCircuitGroupAssignmentSerializerRequest` + +NewBriefCircuitGroupAssignmentSerializerRequest instantiates a new BriefCircuitGroupAssignmentSerializerRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefCircuitGroupAssignmentSerializerRequestWithDefaults + +`func NewBriefCircuitGroupAssignmentSerializerRequestWithDefaults() *BriefCircuitGroupAssignmentSerializerRequest` + +NewBriefCircuitGroupAssignmentSerializerRequestWithDefaults instantiates a new BriefCircuitGroupAssignmentSerializerRequest object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetGroup + +`func (o *BriefCircuitGroupAssignmentSerializerRequest) GetGroup() BriefCircuitGroupRequest` + +GetGroup returns the Group field if non-nil, zero value otherwise. + +### GetGroupOk + +`func (o *BriefCircuitGroupAssignmentSerializerRequest) GetGroupOk() (*BriefCircuitGroupRequest, bool)` + +GetGroupOk returns a tuple with the Group field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGroup + +`func (o *BriefCircuitGroupAssignmentSerializerRequest) SetGroup(v BriefCircuitGroupRequest)` + +SetGroup sets Group field to given value. + + +### GetPriority + +`func (o *BriefCircuitGroupAssignmentSerializerRequest) GetPriority() BriefCircuitGroupAssignmentSerializerPriorityValue` + +GetPriority returns the Priority field if non-nil, zero value otherwise. + +### GetPriorityOk + +`func (o *BriefCircuitGroupAssignmentSerializerRequest) GetPriorityOk() (*BriefCircuitGroupAssignmentSerializerPriorityValue, bool)` + +GetPriorityOk returns a tuple with the Priority field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPriority + +`func (o *BriefCircuitGroupAssignmentSerializerRequest) SetPriority(v BriefCircuitGroupAssignmentSerializerPriorityValue)` + +SetPriority sets Priority field to given value. + +### HasPriority + +`func (o *BriefCircuitGroupAssignmentSerializerRequest) HasPriority() bool` + +HasPriority 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/BriefCircuitGroupRequest.md b/docs/BriefCircuitGroupRequest.md new file mode 100644 index 000000000..edd865f31 --- /dev/null +++ b/docs/BriefCircuitGroupRequest.md @@ -0,0 +1,51 @@ +# BriefCircuitGroupRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **string** | | + +## Methods + +### NewBriefCircuitGroupRequest + +`func NewBriefCircuitGroupRequest(name string, ) *BriefCircuitGroupRequest` + +NewBriefCircuitGroupRequest instantiates a new BriefCircuitGroupRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefCircuitGroupRequestWithDefaults + +`func NewBriefCircuitGroupRequestWithDefaults() *BriefCircuitGroupRequest` + +NewBriefCircuitGroupRequestWithDefaults instantiates a new BriefCircuitGroupRequest object +This 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 *BriefCircuitGroupRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefCircuitGroupRequest) 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 *BriefCircuitGroupRequest) SetName(v string)` + +SetName sets Name 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/BriefCircuitRequest.md b/docs/BriefCircuitRequest.md new file mode 100644 index 000000000..9dca17169 --- /dev/null +++ b/docs/BriefCircuitRequest.md @@ -0,0 +1,98 @@ +# BriefCircuitRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Cid** | **string** | Unique circuit ID | +**Provider** | [**BriefProviderRequest**](BriefProviderRequest.md) | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefCircuitRequest + +`func NewBriefCircuitRequest(cid string, provider BriefProviderRequest, ) *BriefCircuitRequest` + +NewBriefCircuitRequest instantiates a new BriefCircuitRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefCircuitRequestWithDefaults + +`func NewBriefCircuitRequestWithDefaults() *BriefCircuitRequest` + +NewBriefCircuitRequestWithDefaults instantiates a new BriefCircuitRequest object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCid + +`func (o *BriefCircuitRequest) GetCid() string` + +GetCid returns the Cid field if non-nil, zero value otherwise. + +### GetCidOk + +`func (o *BriefCircuitRequest) GetCidOk() (*string, bool)` + +GetCidOk returns a tuple with the Cid field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCid + +`func (o *BriefCircuitRequest) SetCid(v string)` + +SetCid sets Cid field to given value. + + +### GetProvider + +`func (o *BriefCircuitRequest) GetProvider() BriefProviderRequest` + +GetProvider returns the Provider field if non-nil, zero value otherwise. + +### GetProviderOk + +`func (o *BriefCircuitRequest) GetProviderOk() (*BriefProviderRequest, bool)` + +GetProviderOk returns a tuple with the Provider field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetProvider + +`func (o *BriefCircuitRequest) SetProvider(v BriefProviderRequest)` + +SetProvider sets Provider field to given value. + + +### GetDescription + +`func (o *BriefCircuitRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefCircuitRequest) 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 *BriefCircuitRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefCircuitRequest) HasDescription() bool` + +HasDescription 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/BriefCircuitType.md b/docs/BriefCircuitType.md new file mode 100644 index 000000000..77987dfcd --- /dev/null +++ b/docs/BriefCircuitType.md @@ -0,0 +1,182 @@ +# BriefCircuitType + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Name** | **string** | | +**Slug** | **string** | | +**Description** | Pointer to **string** | | [optional] +**CircuitCount** | **int64** | | [readonly] + +## Methods + +### NewBriefCircuitType + +`func NewBriefCircuitType(id int32, url string, display string, name string, slug string, circuitCount int64, ) *BriefCircuitType` + +NewBriefCircuitType instantiates a new BriefCircuitType object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefCircuitTypeWithDefaults + +`func NewBriefCircuitTypeWithDefaults() *BriefCircuitType` + +NewBriefCircuitTypeWithDefaults instantiates a new BriefCircuitType object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefCircuitType) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefCircuitType) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefCircuitType) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefCircuitType) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefCircuitType) 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 *BriefCircuitType) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefCircuitType) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefCircuitType) 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 *BriefCircuitType) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetName + +`func (o *BriefCircuitType) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefCircuitType) 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 *BriefCircuitType) SetName(v string)` + +SetName sets Name field to given value. + + +### GetSlug + +`func (o *BriefCircuitType) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *BriefCircuitType) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *BriefCircuitType) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetDescription + +`func (o *BriefCircuitType) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefCircuitType) 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 *BriefCircuitType) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefCircuitType) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetCircuitCount + +`func (o *BriefCircuitType) GetCircuitCount() int64` + +GetCircuitCount returns the CircuitCount field if non-nil, zero value otherwise. + +### GetCircuitCountOk + +`func (o *BriefCircuitType) GetCircuitCountOk() (*int64, bool)` + +GetCircuitCountOk returns a tuple with the CircuitCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCircuitCount + +`func (o *BriefCircuitType) SetCircuitCount(v int64)` + +SetCircuitCount sets CircuitCount 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/BriefCircuitTypeRequest.md b/docs/BriefCircuitTypeRequest.md new file mode 100644 index 000000000..38531bc02 --- /dev/null +++ b/docs/BriefCircuitTypeRequest.md @@ -0,0 +1,98 @@ +# BriefCircuitTypeRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **string** | | +**Slug** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefCircuitTypeRequest + +`func NewBriefCircuitTypeRequest(name string, slug string, ) *BriefCircuitTypeRequest` + +NewBriefCircuitTypeRequest instantiates a new BriefCircuitTypeRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefCircuitTypeRequestWithDefaults + +`func NewBriefCircuitTypeRequestWithDefaults() *BriefCircuitTypeRequest` + +NewBriefCircuitTypeRequestWithDefaults instantiates a new BriefCircuitTypeRequest object +This 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 *BriefCircuitTypeRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefCircuitTypeRequest) 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 *BriefCircuitTypeRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetSlug + +`func (o *BriefCircuitTypeRequest) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *BriefCircuitTypeRequest) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *BriefCircuitTypeRequest) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetDescription + +`func (o *BriefCircuitTypeRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefCircuitTypeRequest) 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 *BriefCircuitTypeRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefCircuitTypeRequest) HasDescription() bool` + +HasDescription 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/BriefCluster.md b/docs/BriefCluster.md new file mode 100644 index 000000000..b1aab83b0 --- /dev/null +++ b/docs/BriefCluster.md @@ -0,0 +1,166 @@ +# BriefCluster + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Name** | **string** | | +**Description** | Pointer to **string** | | [optional] +**VirtualmachineCount** | Pointer to **int64** | | [optional] [readonly] + +## Methods + +### NewBriefCluster + +`func NewBriefCluster(id int32, url string, display string, name string, ) *BriefCluster` + +NewBriefCluster instantiates a new BriefCluster object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefClusterWithDefaults + +`func NewBriefClusterWithDefaults() *BriefCluster` + +NewBriefClusterWithDefaults instantiates a new BriefCluster object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefCluster) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefCluster) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefCluster) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefCluster) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefCluster) 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 *BriefCluster) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefCluster) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefCluster) 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 *BriefCluster) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetName + +`func (o *BriefCluster) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefCluster) 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 *BriefCluster) SetName(v string)` + +SetName sets Name field to given value. + + +### GetDescription + +`func (o *BriefCluster) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefCluster) 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 *BriefCluster) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefCluster) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetVirtualmachineCount + +`func (o *BriefCluster) GetVirtualmachineCount() int64` + +GetVirtualmachineCount returns the VirtualmachineCount field if non-nil, zero value otherwise. + +### GetVirtualmachineCountOk + +`func (o *BriefCluster) GetVirtualmachineCountOk() (*int64, bool)` + +GetVirtualmachineCountOk returns a tuple with the VirtualmachineCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVirtualmachineCount + +`func (o *BriefCluster) SetVirtualmachineCount(v int64)` + +SetVirtualmachineCount sets VirtualmachineCount field to given value. + +### HasVirtualmachineCount + +`func (o *BriefCluster) HasVirtualmachineCount() bool` + +HasVirtualmachineCount 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/BriefClusterGroup.md b/docs/BriefClusterGroup.md new file mode 100644 index 000000000..2fe6cce7f --- /dev/null +++ b/docs/BriefClusterGroup.md @@ -0,0 +1,182 @@ +# BriefClusterGroup + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Name** | **string** | | +**Slug** | **string** | | +**Description** | Pointer to **string** | | [optional] +**ClusterCount** | **int64** | | [readonly] + +## Methods + +### NewBriefClusterGroup + +`func NewBriefClusterGroup(id int32, url string, display string, name string, slug string, clusterCount int64, ) *BriefClusterGroup` + +NewBriefClusterGroup instantiates a new BriefClusterGroup object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefClusterGroupWithDefaults + +`func NewBriefClusterGroupWithDefaults() *BriefClusterGroup` + +NewBriefClusterGroupWithDefaults instantiates a new BriefClusterGroup object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefClusterGroup) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefClusterGroup) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefClusterGroup) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefClusterGroup) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefClusterGroup) 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 *BriefClusterGroup) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefClusterGroup) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefClusterGroup) 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 *BriefClusterGroup) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetName + +`func (o *BriefClusterGroup) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefClusterGroup) 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 *BriefClusterGroup) SetName(v string)` + +SetName sets Name field to given value. + + +### GetSlug + +`func (o *BriefClusterGroup) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *BriefClusterGroup) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *BriefClusterGroup) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetDescription + +`func (o *BriefClusterGroup) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefClusterGroup) 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 *BriefClusterGroup) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefClusterGroup) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetClusterCount + +`func (o *BriefClusterGroup) GetClusterCount() int64` + +GetClusterCount returns the ClusterCount field if non-nil, zero value otherwise. + +### GetClusterCountOk + +`func (o *BriefClusterGroup) GetClusterCountOk() (*int64, bool)` + +GetClusterCountOk returns a tuple with the ClusterCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetClusterCount + +`func (o *BriefClusterGroup) SetClusterCount(v int64)` + +SetClusterCount sets ClusterCount 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/BriefClusterGroupRequest.md b/docs/BriefClusterGroupRequest.md new file mode 100644 index 000000000..c5dbaff19 --- /dev/null +++ b/docs/BriefClusterGroupRequest.md @@ -0,0 +1,98 @@ +# BriefClusterGroupRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **string** | | +**Slug** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefClusterGroupRequest + +`func NewBriefClusterGroupRequest(name string, slug string, ) *BriefClusterGroupRequest` + +NewBriefClusterGroupRequest instantiates a new BriefClusterGroupRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefClusterGroupRequestWithDefaults + +`func NewBriefClusterGroupRequestWithDefaults() *BriefClusterGroupRequest` + +NewBriefClusterGroupRequestWithDefaults instantiates a new BriefClusterGroupRequest object +This 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 *BriefClusterGroupRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefClusterGroupRequest) 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 *BriefClusterGroupRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetSlug + +`func (o *BriefClusterGroupRequest) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *BriefClusterGroupRequest) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *BriefClusterGroupRequest) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetDescription + +`func (o *BriefClusterGroupRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefClusterGroupRequest) 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 *BriefClusterGroupRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefClusterGroupRequest) HasDescription() bool` + +HasDescription 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/BriefClusterRequest.md b/docs/BriefClusterRequest.md new file mode 100644 index 000000000..e2dc40671 --- /dev/null +++ b/docs/BriefClusterRequest.md @@ -0,0 +1,77 @@ +# BriefClusterRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefClusterRequest + +`func NewBriefClusterRequest(name string, ) *BriefClusterRequest` + +NewBriefClusterRequest instantiates a new BriefClusterRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefClusterRequestWithDefaults + +`func NewBriefClusterRequestWithDefaults() *BriefClusterRequest` + +NewBriefClusterRequestWithDefaults instantiates a new BriefClusterRequest object +This 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 *BriefClusterRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefClusterRequest) 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 *BriefClusterRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetDescription + +`func (o *BriefClusterRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefClusterRequest) 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 *BriefClusterRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefClusterRequest) HasDescription() bool` + +HasDescription 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/BriefClusterType.md b/docs/BriefClusterType.md new file mode 100644 index 000000000..7464c686a --- /dev/null +++ b/docs/BriefClusterType.md @@ -0,0 +1,182 @@ +# BriefClusterType + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Name** | **string** | | +**Slug** | **string** | | +**Description** | Pointer to **string** | | [optional] +**ClusterCount** | **int64** | | [readonly] + +## Methods + +### NewBriefClusterType + +`func NewBriefClusterType(id int32, url string, display string, name string, slug string, clusterCount int64, ) *BriefClusterType` + +NewBriefClusterType instantiates a new BriefClusterType object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefClusterTypeWithDefaults + +`func NewBriefClusterTypeWithDefaults() *BriefClusterType` + +NewBriefClusterTypeWithDefaults instantiates a new BriefClusterType object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefClusterType) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefClusterType) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefClusterType) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefClusterType) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefClusterType) 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 *BriefClusterType) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefClusterType) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefClusterType) 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 *BriefClusterType) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetName + +`func (o *BriefClusterType) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefClusterType) 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 *BriefClusterType) SetName(v string)` + +SetName sets Name field to given value. + + +### GetSlug + +`func (o *BriefClusterType) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *BriefClusterType) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *BriefClusterType) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetDescription + +`func (o *BriefClusterType) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefClusterType) 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 *BriefClusterType) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefClusterType) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetClusterCount + +`func (o *BriefClusterType) GetClusterCount() int64` + +GetClusterCount returns the ClusterCount field if non-nil, zero value otherwise. + +### GetClusterCountOk + +`func (o *BriefClusterType) GetClusterCountOk() (*int64, bool)` + +GetClusterCountOk returns a tuple with the ClusterCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetClusterCount + +`func (o *BriefClusterType) SetClusterCount(v int64)` + +SetClusterCount sets ClusterCount 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/BriefClusterTypeRequest.md b/docs/BriefClusterTypeRequest.md new file mode 100644 index 000000000..516608463 --- /dev/null +++ b/docs/BriefClusterTypeRequest.md @@ -0,0 +1,98 @@ +# BriefClusterTypeRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **string** | | +**Slug** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefClusterTypeRequest + +`func NewBriefClusterTypeRequest(name string, slug string, ) *BriefClusterTypeRequest` + +NewBriefClusterTypeRequest instantiates a new BriefClusterTypeRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefClusterTypeRequestWithDefaults + +`func NewBriefClusterTypeRequestWithDefaults() *BriefClusterTypeRequest` + +NewBriefClusterTypeRequestWithDefaults instantiates a new BriefClusterTypeRequest object +This 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 *BriefClusterTypeRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefClusterTypeRequest) 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 *BriefClusterTypeRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetSlug + +`func (o *BriefClusterTypeRequest) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *BriefClusterTypeRequest) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *BriefClusterTypeRequest) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetDescription + +`func (o *BriefClusterTypeRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefClusterTypeRequest) 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 *BriefClusterTypeRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefClusterTypeRequest) HasDescription() bool` + +HasDescription 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/BriefConfigTemplate.md b/docs/BriefConfigTemplate.md new file mode 100644 index 000000000..ea23146a7 --- /dev/null +++ b/docs/BriefConfigTemplate.md @@ -0,0 +1,140 @@ +# BriefConfigTemplate + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Name** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefConfigTemplate + +`func NewBriefConfigTemplate(id int32, url string, display string, name string, ) *BriefConfigTemplate` + +NewBriefConfigTemplate instantiates a new BriefConfigTemplate object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefConfigTemplateWithDefaults + +`func NewBriefConfigTemplateWithDefaults() *BriefConfigTemplate` + +NewBriefConfigTemplateWithDefaults instantiates a new BriefConfigTemplate object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefConfigTemplate) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefConfigTemplate) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefConfigTemplate) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefConfigTemplate) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefConfigTemplate) 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 *BriefConfigTemplate) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefConfigTemplate) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefConfigTemplate) 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 *BriefConfigTemplate) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetName + +`func (o *BriefConfigTemplate) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefConfigTemplate) 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 *BriefConfigTemplate) SetName(v string)` + +SetName sets Name field to given value. + + +### GetDescription + +`func (o *BriefConfigTemplate) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefConfigTemplate) 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 *BriefConfigTemplate) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefConfigTemplate) HasDescription() bool` + +HasDescription 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/BriefConfigTemplateRequest.md b/docs/BriefConfigTemplateRequest.md new file mode 100644 index 000000000..0ae8e8d49 --- /dev/null +++ b/docs/BriefConfigTemplateRequest.md @@ -0,0 +1,77 @@ +# BriefConfigTemplateRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefConfigTemplateRequest + +`func NewBriefConfigTemplateRequest(name string, ) *BriefConfigTemplateRequest` + +NewBriefConfigTemplateRequest instantiates a new BriefConfigTemplateRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefConfigTemplateRequestWithDefaults + +`func NewBriefConfigTemplateRequestWithDefaults() *BriefConfigTemplateRequest` + +NewBriefConfigTemplateRequestWithDefaults instantiates a new BriefConfigTemplateRequest object +This 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 *BriefConfigTemplateRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefConfigTemplateRequest) 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 *BriefConfigTemplateRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetDescription + +`func (o *BriefConfigTemplateRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefConfigTemplateRequest) 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 *BriefConfigTemplateRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefConfigTemplateRequest) HasDescription() bool` + +HasDescription 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/BriefContact.md b/docs/BriefContact.md new file mode 100644 index 000000000..966138ba8 --- /dev/null +++ b/docs/BriefContact.md @@ -0,0 +1,140 @@ +# BriefContact + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Name** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefContact + +`func NewBriefContact(id int32, url string, display string, name string, ) *BriefContact` + +NewBriefContact instantiates a new BriefContact object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefContactWithDefaults + +`func NewBriefContactWithDefaults() *BriefContact` + +NewBriefContactWithDefaults instantiates a new BriefContact object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefContact) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefContact) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefContact) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefContact) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefContact) 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 *BriefContact) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefContact) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefContact) 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 *BriefContact) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetName + +`func (o *BriefContact) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefContact) 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 *BriefContact) SetName(v string)` + +SetName sets Name field to given value. + + +### GetDescription + +`func (o *BriefContact) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefContact) 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 *BriefContact) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefContact) HasDescription() bool` + +HasDescription 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/BriefContactGroup.md b/docs/BriefContactGroup.md new file mode 100644 index 000000000..0b6812739 --- /dev/null +++ b/docs/BriefContactGroup.md @@ -0,0 +1,203 @@ +# BriefContactGroup + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Name** | **string** | | +**Slug** | **string** | | +**Description** | Pointer to **string** | | [optional] +**ContactCount** | **int32** | | [readonly] [default to 0] +**Depth** | **int32** | | [readonly] + +## Methods + +### NewBriefContactGroup + +`func NewBriefContactGroup(id int32, url string, display string, name string, slug string, contactCount int32, depth int32, ) *BriefContactGroup` + +NewBriefContactGroup instantiates a new BriefContactGroup object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefContactGroupWithDefaults + +`func NewBriefContactGroupWithDefaults() *BriefContactGroup` + +NewBriefContactGroupWithDefaults instantiates a new BriefContactGroup object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefContactGroup) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefContactGroup) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefContactGroup) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefContactGroup) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefContactGroup) 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 *BriefContactGroup) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefContactGroup) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefContactGroup) 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 *BriefContactGroup) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetName + +`func (o *BriefContactGroup) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefContactGroup) 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 *BriefContactGroup) SetName(v string)` + +SetName sets Name field to given value. + + +### GetSlug + +`func (o *BriefContactGroup) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *BriefContactGroup) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *BriefContactGroup) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetDescription + +`func (o *BriefContactGroup) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefContactGroup) 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 *BriefContactGroup) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefContactGroup) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetContactCount + +`func (o *BriefContactGroup) GetContactCount() int32` + +GetContactCount returns the ContactCount field if non-nil, zero value otherwise. + +### GetContactCountOk + +`func (o *BriefContactGroup) GetContactCountOk() (*int32, bool)` + +GetContactCountOk returns a tuple with the ContactCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContactCount + +`func (o *BriefContactGroup) SetContactCount(v int32)` + +SetContactCount sets ContactCount field to given value. + + +### GetDepth + +`func (o *BriefContactGroup) GetDepth() int32` + +GetDepth returns the Depth field if non-nil, zero value otherwise. + +### GetDepthOk + +`func (o *BriefContactGroup) GetDepthOk() (*int32, bool)` + +GetDepthOk returns a tuple with the Depth field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDepth + +`func (o *BriefContactGroup) SetDepth(v int32)` + +SetDepth sets Depth 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/BriefContactGroupRequest.md b/docs/BriefContactGroupRequest.md new file mode 100644 index 000000000..43bd0093d --- /dev/null +++ b/docs/BriefContactGroupRequest.md @@ -0,0 +1,98 @@ +# BriefContactGroupRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **string** | | +**Slug** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefContactGroupRequest + +`func NewBriefContactGroupRequest(name string, slug string, ) *BriefContactGroupRequest` + +NewBriefContactGroupRequest instantiates a new BriefContactGroupRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefContactGroupRequestWithDefaults + +`func NewBriefContactGroupRequestWithDefaults() *BriefContactGroupRequest` + +NewBriefContactGroupRequestWithDefaults instantiates a new BriefContactGroupRequest object +This 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 *BriefContactGroupRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefContactGroupRequest) 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 *BriefContactGroupRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetSlug + +`func (o *BriefContactGroupRequest) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *BriefContactGroupRequest) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *BriefContactGroupRequest) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetDescription + +`func (o *BriefContactGroupRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefContactGroupRequest) 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 *BriefContactGroupRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefContactGroupRequest) HasDescription() bool` + +HasDescription 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/BriefContactRequest.md b/docs/BriefContactRequest.md new file mode 100644 index 000000000..fcfc9f9a6 --- /dev/null +++ b/docs/BriefContactRequest.md @@ -0,0 +1,77 @@ +# BriefContactRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefContactRequest + +`func NewBriefContactRequest(name string, ) *BriefContactRequest` + +NewBriefContactRequest instantiates a new BriefContactRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefContactRequestWithDefaults + +`func NewBriefContactRequestWithDefaults() *BriefContactRequest` + +NewBriefContactRequestWithDefaults instantiates a new BriefContactRequest object +This 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 *BriefContactRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefContactRequest) 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 *BriefContactRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetDescription + +`func (o *BriefContactRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefContactRequest) 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 *BriefContactRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefContactRequest) HasDescription() bool` + +HasDescription 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/BriefContactRole.md b/docs/BriefContactRole.md new file mode 100644 index 000000000..0d0856a58 --- /dev/null +++ b/docs/BriefContactRole.md @@ -0,0 +1,161 @@ +# BriefContactRole + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Name** | **string** | | +**Slug** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefContactRole + +`func NewBriefContactRole(id int32, url string, display string, name string, slug string, ) *BriefContactRole` + +NewBriefContactRole instantiates a new BriefContactRole object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefContactRoleWithDefaults + +`func NewBriefContactRoleWithDefaults() *BriefContactRole` + +NewBriefContactRoleWithDefaults instantiates a new BriefContactRole object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefContactRole) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefContactRole) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefContactRole) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefContactRole) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefContactRole) 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 *BriefContactRole) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefContactRole) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefContactRole) 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 *BriefContactRole) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetName + +`func (o *BriefContactRole) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefContactRole) 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 *BriefContactRole) SetName(v string)` + +SetName sets Name field to given value. + + +### GetSlug + +`func (o *BriefContactRole) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *BriefContactRole) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *BriefContactRole) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetDescription + +`func (o *BriefContactRole) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefContactRole) 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 *BriefContactRole) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefContactRole) HasDescription() bool` + +HasDescription 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/BriefContactRoleRequest.md b/docs/BriefContactRoleRequest.md new file mode 100644 index 000000000..e8a89fac6 --- /dev/null +++ b/docs/BriefContactRoleRequest.md @@ -0,0 +1,98 @@ +# BriefContactRoleRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **string** | | +**Slug** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefContactRoleRequest + +`func NewBriefContactRoleRequest(name string, slug string, ) *BriefContactRoleRequest` + +NewBriefContactRoleRequest instantiates a new BriefContactRoleRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefContactRoleRequestWithDefaults + +`func NewBriefContactRoleRequestWithDefaults() *BriefContactRoleRequest` + +NewBriefContactRoleRequestWithDefaults instantiates a new BriefContactRoleRequest object +This 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 *BriefContactRoleRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefContactRoleRequest) 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 *BriefContactRoleRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetSlug + +`func (o *BriefContactRoleRequest) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *BriefContactRoleRequest) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *BriefContactRoleRequest) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetDescription + +`func (o *BriefContactRoleRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefContactRoleRequest) 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 *BriefContactRoleRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefContactRoleRequest) HasDescription() bool` + +HasDescription 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/BriefCustomFieldChoiceSet.md b/docs/BriefCustomFieldChoiceSet.md new file mode 100644 index 000000000..6f5b27675 --- /dev/null +++ b/docs/BriefCustomFieldChoiceSet.md @@ -0,0 +1,161 @@ +# BriefCustomFieldChoiceSet + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Name** | **string** | | +**Description** | Pointer to **string** | | [optional] +**ChoicesCount** | **string** | | [readonly] + +## Methods + +### NewBriefCustomFieldChoiceSet + +`func NewBriefCustomFieldChoiceSet(id int32, url string, display string, name string, choicesCount string, ) *BriefCustomFieldChoiceSet` + +NewBriefCustomFieldChoiceSet instantiates a new BriefCustomFieldChoiceSet object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefCustomFieldChoiceSetWithDefaults + +`func NewBriefCustomFieldChoiceSetWithDefaults() *BriefCustomFieldChoiceSet` + +NewBriefCustomFieldChoiceSetWithDefaults instantiates a new BriefCustomFieldChoiceSet object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefCustomFieldChoiceSet) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefCustomFieldChoiceSet) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefCustomFieldChoiceSet) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefCustomFieldChoiceSet) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefCustomFieldChoiceSet) 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 *BriefCustomFieldChoiceSet) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefCustomFieldChoiceSet) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefCustomFieldChoiceSet) 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 *BriefCustomFieldChoiceSet) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetName + +`func (o *BriefCustomFieldChoiceSet) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefCustomFieldChoiceSet) 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 *BriefCustomFieldChoiceSet) SetName(v string)` + +SetName sets Name field to given value. + + +### GetDescription + +`func (o *BriefCustomFieldChoiceSet) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefCustomFieldChoiceSet) 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 *BriefCustomFieldChoiceSet) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefCustomFieldChoiceSet) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetChoicesCount + +`func (o *BriefCustomFieldChoiceSet) GetChoicesCount() string` + +GetChoicesCount returns the ChoicesCount field if non-nil, zero value otherwise. + +### GetChoicesCountOk + +`func (o *BriefCustomFieldChoiceSet) GetChoicesCountOk() (*string, bool)` + +GetChoicesCountOk returns a tuple with the ChoicesCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChoicesCount + +`func (o *BriefCustomFieldChoiceSet) SetChoicesCount(v string)` + +SetChoicesCount sets ChoicesCount 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/BriefCustomFieldChoiceSetRequest.md b/docs/BriefCustomFieldChoiceSetRequest.md new file mode 100644 index 000000000..5add176ca --- /dev/null +++ b/docs/BriefCustomFieldChoiceSetRequest.md @@ -0,0 +1,77 @@ +# BriefCustomFieldChoiceSetRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefCustomFieldChoiceSetRequest + +`func NewBriefCustomFieldChoiceSetRequest(name string, ) *BriefCustomFieldChoiceSetRequest` + +NewBriefCustomFieldChoiceSetRequest instantiates a new BriefCustomFieldChoiceSetRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefCustomFieldChoiceSetRequestWithDefaults + +`func NewBriefCustomFieldChoiceSetRequestWithDefaults() *BriefCustomFieldChoiceSetRequest` + +NewBriefCustomFieldChoiceSetRequestWithDefaults instantiates a new BriefCustomFieldChoiceSetRequest object +This 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 *BriefCustomFieldChoiceSetRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefCustomFieldChoiceSetRequest) 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 *BriefCustomFieldChoiceSetRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetDescription + +`func (o *BriefCustomFieldChoiceSetRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefCustomFieldChoiceSetRequest) 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 *BriefCustomFieldChoiceSetRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefCustomFieldChoiceSetRequest) HasDescription() bool` + +HasDescription 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/BriefDataFile.md b/docs/BriefDataFile.md new file mode 100644 index 000000000..f083e7ab4 --- /dev/null +++ b/docs/BriefDataFile.md @@ -0,0 +1,114 @@ +# BriefDataFile + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Path** | **string** | File path relative to the data source's root | [readonly] + +## Methods + +### NewBriefDataFile + +`func NewBriefDataFile(id int32, url string, display string, path string, ) *BriefDataFile` + +NewBriefDataFile instantiates a new BriefDataFile object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefDataFileWithDefaults + +`func NewBriefDataFileWithDefaults() *BriefDataFile` + +NewBriefDataFileWithDefaults instantiates a new BriefDataFile object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefDataFile) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefDataFile) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefDataFile) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefDataFile) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefDataFile) 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 *BriefDataFile) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefDataFile) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefDataFile) 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 *BriefDataFile) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetPath + +`func (o *BriefDataFile) GetPath() string` + +GetPath returns the Path field if non-nil, zero value otherwise. + +### GetPathOk + +`func (o *BriefDataFile) GetPathOk() (*string, bool)` + +GetPathOk returns a tuple with the Path field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPath + +`func (o *BriefDataFile) SetPath(v string)` + +SetPath sets Path 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/BriefDataSource.md b/docs/BriefDataSource.md new file mode 100644 index 000000000..38d2eba30 --- /dev/null +++ b/docs/BriefDataSource.md @@ -0,0 +1,140 @@ +# BriefDataSource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Name** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefDataSource + +`func NewBriefDataSource(id int32, url string, display string, name string, ) *BriefDataSource` + +NewBriefDataSource instantiates a new BriefDataSource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefDataSourceWithDefaults + +`func NewBriefDataSourceWithDefaults() *BriefDataSource` + +NewBriefDataSourceWithDefaults instantiates a new BriefDataSource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefDataSource) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefDataSource) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefDataSource) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefDataSource) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefDataSource) 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 *BriefDataSource) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefDataSource) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefDataSource) 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 *BriefDataSource) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetName + +`func (o *BriefDataSource) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefDataSource) 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 *BriefDataSource) SetName(v string)` + +SetName sets Name field to given value. + + +### GetDescription + +`func (o *BriefDataSource) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefDataSource) 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 *BriefDataSource) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefDataSource) HasDescription() bool` + +HasDescription 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/BriefDataSourceRequest.md b/docs/BriefDataSourceRequest.md new file mode 100644 index 000000000..2fa1fac6a --- /dev/null +++ b/docs/BriefDataSourceRequest.md @@ -0,0 +1,77 @@ +# BriefDataSourceRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefDataSourceRequest + +`func NewBriefDataSourceRequest(name string, ) *BriefDataSourceRequest` + +NewBriefDataSourceRequest instantiates a new BriefDataSourceRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefDataSourceRequestWithDefaults + +`func NewBriefDataSourceRequestWithDefaults() *BriefDataSourceRequest` + +NewBriefDataSourceRequestWithDefaults instantiates a new BriefDataSourceRequest object +This 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 *BriefDataSourceRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefDataSourceRequest) 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 *BriefDataSourceRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetDescription + +`func (o *BriefDataSourceRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefDataSourceRequest) 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 *BriefDataSourceRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefDataSourceRequest) HasDescription() bool` + +HasDescription 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/BriefDevice.md b/docs/BriefDevice.md new file mode 100644 index 000000000..0748fff49 --- /dev/null +++ b/docs/BriefDevice.md @@ -0,0 +1,155 @@ +# BriefDevice + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Name** | Pointer to **NullableString** | | [optional] +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefDevice + +`func NewBriefDevice(id int32, url string, display string, ) *BriefDevice` + +NewBriefDevice instantiates a new BriefDevice object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefDeviceWithDefaults + +`func NewBriefDeviceWithDefaults() *BriefDevice` + +NewBriefDeviceWithDefaults instantiates a new BriefDevice object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefDevice) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefDevice) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefDevice) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefDevice) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefDevice) 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 *BriefDevice) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefDevice) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefDevice) 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 *BriefDevice) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetName + +`func (o *BriefDevice) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefDevice) 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 *BriefDevice) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *BriefDevice) HasName() bool` + +HasName returns a boolean if a field has been set. + +### SetNameNil + +`func (o *BriefDevice) SetNameNil(b bool)` + + SetNameNil sets the value for Name to be an explicit nil + +### UnsetName +`func (o *BriefDevice) UnsetName()` + +UnsetName ensures that no value is present for Name, not even an explicit nil +### GetDescription + +`func (o *BriefDevice) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefDevice) 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 *BriefDevice) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefDevice) HasDescription() bool` + +HasDescription 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/BriefDeviceRequest.md b/docs/BriefDeviceRequest.md new file mode 100644 index 000000000..9671b9f39 --- /dev/null +++ b/docs/BriefDeviceRequest.md @@ -0,0 +1,92 @@ +# BriefDeviceRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | Pointer to **NullableString** | | [optional] +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefDeviceRequest + +`func NewBriefDeviceRequest() *BriefDeviceRequest` + +NewBriefDeviceRequest instantiates a new BriefDeviceRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefDeviceRequestWithDefaults + +`func NewBriefDeviceRequestWithDefaults() *BriefDeviceRequest` + +NewBriefDeviceRequestWithDefaults instantiates a new BriefDeviceRequest object +This 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 *BriefDeviceRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefDeviceRequest) 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 *BriefDeviceRequest) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *BriefDeviceRequest) HasName() bool` + +HasName returns a boolean if a field has been set. + +### SetNameNil + +`func (o *BriefDeviceRequest) SetNameNil(b bool)` + + SetNameNil sets the value for Name to be an explicit nil + +### UnsetName +`func (o *BriefDeviceRequest) UnsetName()` + +UnsetName ensures that no value is present for Name, not even an explicit nil +### GetDescription + +`func (o *BriefDeviceRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefDeviceRequest) 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 *BriefDeviceRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefDeviceRequest) HasDescription() bool` + +HasDescription 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/BriefDeviceRole.md b/docs/BriefDeviceRole.md new file mode 100644 index 000000000..8f86b010e --- /dev/null +++ b/docs/BriefDeviceRole.md @@ -0,0 +1,213 @@ +# BriefDeviceRole + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Name** | **string** | | +**Slug** | **string** | | +**Description** | Pointer to **string** | | [optional] +**DeviceCount** | Pointer to **int64** | | [optional] [readonly] +**VirtualmachineCount** | Pointer to **int64** | | [optional] [readonly] + +## Methods + +### NewBriefDeviceRole + +`func NewBriefDeviceRole(id int32, url string, display string, name string, slug string, ) *BriefDeviceRole` + +NewBriefDeviceRole instantiates a new BriefDeviceRole object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefDeviceRoleWithDefaults + +`func NewBriefDeviceRoleWithDefaults() *BriefDeviceRole` + +NewBriefDeviceRoleWithDefaults instantiates a new BriefDeviceRole object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefDeviceRole) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefDeviceRole) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefDeviceRole) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefDeviceRole) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefDeviceRole) 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 *BriefDeviceRole) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefDeviceRole) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefDeviceRole) 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 *BriefDeviceRole) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetName + +`func (o *BriefDeviceRole) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefDeviceRole) 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 *BriefDeviceRole) SetName(v string)` + +SetName sets Name field to given value. + + +### GetSlug + +`func (o *BriefDeviceRole) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *BriefDeviceRole) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *BriefDeviceRole) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetDescription + +`func (o *BriefDeviceRole) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefDeviceRole) 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 *BriefDeviceRole) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefDeviceRole) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetDeviceCount + +`func (o *BriefDeviceRole) GetDeviceCount() int64` + +GetDeviceCount returns the DeviceCount field if non-nil, zero value otherwise. + +### GetDeviceCountOk + +`func (o *BriefDeviceRole) GetDeviceCountOk() (*int64, bool)` + +GetDeviceCountOk returns a tuple with the DeviceCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDeviceCount + +`func (o *BriefDeviceRole) SetDeviceCount(v int64)` + +SetDeviceCount sets DeviceCount field to given value. + +### HasDeviceCount + +`func (o *BriefDeviceRole) HasDeviceCount() bool` + +HasDeviceCount returns a boolean if a field has been set. + +### GetVirtualmachineCount + +`func (o *BriefDeviceRole) GetVirtualmachineCount() int64` + +GetVirtualmachineCount returns the VirtualmachineCount field if non-nil, zero value otherwise. + +### GetVirtualmachineCountOk + +`func (o *BriefDeviceRole) GetVirtualmachineCountOk() (*int64, bool)` + +GetVirtualmachineCountOk returns a tuple with the VirtualmachineCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVirtualmachineCount + +`func (o *BriefDeviceRole) SetVirtualmachineCount(v int64)` + +SetVirtualmachineCount sets VirtualmachineCount field to given value. + +### HasVirtualmachineCount + +`func (o *BriefDeviceRole) HasVirtualmachineCount() bool` + +HasVirtualmachineCount 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/BriefDeviceRoleRequest.md b/docs/BriefDeviceRoleRequest.md new file mode 100644 index 000000000..cff3dcc04 --- /dev/null +++ b/docs/BriefDeviceRoleRequest.md @@ -0,0 +1,98 @@ +# BriefDeviceRoleRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **string** | | +**Slug** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefDeviceRoleRequest + +`func NewBriefDeviceRoleRequest(name string, slug string, ) *BriefDeviceRoleRequest` + +NewBriefDeviceRoleRequest instantiates a new BriefDeviceRoleRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefDeviceRoleRequestWithDefaults + +`func NewBriefDeviceRoleRequestWithDefaults() *BriefDeviceRoleRequest` + +NewBriefDeviceRoleRequestWithDefaults instantiates a new BriefDeviceRoleRequest object +This 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 *BriefDeviceRoleRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefDeviceRoleRequest) 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 *BriefDeviceRoleRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetSlug + +`func (o *BriefDeviceRoleRequest) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *BriefDeviceRoleRequest) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *BriefDeviceRoleRequest) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetDescription + +`func (o *BriefDeviceRoleRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefDeviceRoleRequest) 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 *BriefDeviceRoleRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefDeviceRoleRequest) HasDescription() bool` + +HasDescription 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/BriefDeviceType.md b/docs/BriefDeviceType.md new file mode 100644 index 000000000..edf56ee0c --- /dev/null +++ b/docs/BriefDeviceType.md @@ -0,0 +1,208 @@ +# BriefDeviceType + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Manufacturer** | [**BriefManufacturer**](BriefManufacturer.md) | | +**Model** | **string** | | +**Slug** | **string** | | +**Description** | Pointer to **string** | | [optional] +**DeviceCount** | Pointer to **int64** | | [optional] [readonly] + +## Methods + +### NewBriefDeviceType + +`func NewBriefDeviceType(id int32, url string, display string, manufacturer BriefManufacturer, model string, slug string, ) *BriefDeviceType` + +NewBriefDeviceType instantiates a new BriefDeviceType object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefDeviceTypeWithDefaults + +`func NewBriefDeviceTypeWithDefaults() *BriefDeviceType` + +NewBriefDeviceTypeWithDefaults instantiates a new BriefDeviceType object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefDeviceType) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefDeviceType) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefDeviceType) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefDeviceType) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefDeviceType) 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 *BriefDeviceType) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefDeviceType) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefDeviceType) 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 *BriefDeviceType) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetManufacturer + +`func (o *BriefDeviceType) GetManufacturer() BriefManufacturer` + +GetManufacturer returns the Manufacturer field if non-nil, zero value otherwise. + +### GetManufacturerOk + +`func (o *BriefDeviceType) GetManufacturerOk() (*BriefManufacturer, bool)` + +GetManufacturerOk returns a tuple with the Manufacturer field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetManufacturer + +`func (o *BriefDeviceType) SetManufacturer(v BriefManufacturer)` + +SetManufacturer sets Manufacturer field to given value. + + +### GetModel + +`func (o *BriefDeviceType) GetModel() string` + +GetModel returns the Model field if non-nil, zero value otherwise. + +### GetModelOk + +`func (o *BriefDeviceType) GetModelOk() (*string, bool)` + +GetModelOk returns a tuple with the Model field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetModel + +`func (o *BriefDeviceType) SetModel(v string)` + +SetModel sets Model field to given value. + + +### GetSlug + +`func (o *BriefDeviceType) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *BriefDeviceType) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *BriefDeviceType) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetDescription + +`func (o *BriefDeviceType) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefDeviceType) 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 *BriefDeviceType) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefDeviceType) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetDeviceCount + +`func (o *BriefDeviceType) GetDeviceCount() int64` + +GetDeviceCount returns the DeviceCount field if non-nil, zero value otherwise. + +### GetDeviceCountOk + +`func (o *BriefDeviceType) GetDeviceCountOk() (*int64, bool)` + +GetDeviceCountOk returns a tuple with the DeviceCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDeviceCount + +`func (o *BriefDeviceType) SetDeviceCount(v int64)` + +SetDeviceCount sets DeviceCount field to given value. + +### HasDeviceCount + +`func (o *BriefDeviceType) HasDeviceCount() bool` + +HasDeviceCount 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/BriefDeviceTypeRequest.md b/docs/BriefDeviceTypeRequest.md new file mode 100644 index 000000000..aecf3cf0a --- /dev/null +++ b/docs/BriefDeviceTypeRequest.md @@ -0,0 +1,119 @@ +# BriefDeviceTypeRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Manufacturer** | [**BriefManufacturerRequest**](BriefManufacturerRequest.md) | | +**Model** | **string** | | +**Slug** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefDeviceTypeRequest + +`func NewBriefDeviceTypeRequest(manufacturer BriefManufacturerRequest, model string, slug string, ) *BriefDeviceTypeRequest` + +NewBriefDeviceTypeRequest instantiates a new BriefDeviceTypeRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefDeviceTypeRequestWithDefaults + +`func NewBriefDeviceTypeRequestWithDefaults() *BriefDeviceTypeRequest` + +NewBriefDeviceTypeRequestWithDefaults instantiates a new BriefDeviceTypeRequest object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetManufacturer + +`func (o *BriefDeviceTypeRequest) GetManufacturer() BriefManufacturerRequest` + +GetManufacturer returns the Manufacturer field if non-nil, zero value otherwise. + +### GetManufacturerOk + +`func (o *BriefDeviceTypeRequest) GetManufacturerOk() (*BriefManufacturerRequest, bool)` + +GetManufacturerOk returns a tuple with the Manufacturer field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetManufacturer + +`func (o *BriefDeviceTypeRequest) SetManufacturer(v BriefManufacturerRequest)` + +SetManufacturer sets Manufacturer field to given value. + + +### GetModel + +`func (o *BriefDeviceTypeRequest) GetModel() string` + +GetModel returns the Model field if non-nil, zero value otherwise. + +### GetModelOk + +`func (o *BriefDeviceTypeRequest) GetModelOk() (*string, bool)` + +GetModelOk returns a tuple with the Model field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetModel + +`func (o *BriefDeviceTypeRequest) SetModel(v string)` + +SetModel sets Model field to given value. + + +### GetSlug + +`func (o *BriefDeviceTypeRequest) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *BriefDeviceTypeRequest) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *BriefDeviceTypeRequest) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetDescription + +`func (o *BriefDeviceTypeRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefDeviceTypeRequest) 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 *BriefDeviceTypeRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefDeviceTypeRequest) HasDescription() bool` + +HasDescription 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/BriefFHRPGroup.md b/docs/BriefFHRPGroup.md new file mode 100644 index 000000000..3c7eb2314 --- /dev/null +++ b/docs/BriefFHRPGroup.md @@ -0,0 +1,161 @@ +# BriefFHRPGroup + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Protocol** | [**BriefFHRPGroupProtocol**](BriefFHRPGroupProtocol.md) | | +**GroupId** | **int32** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefFHRPGroup + +`func NewBriefFHRPGroup(id int32, url string, display string, protocol BriefFHRPGroupProtocol, groupId int32, ) *BriefFHRPGroup` + +NewBriefFHRPGroup instantiates a new BriefFHRPGroup object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefFHRPGroupWithDefaults + +`func NewBriefFHRPGroupWithDefaults() *BriefFHRPGroup` + +NewBriefFHRPGroupWithDefaults instantiates a new BriefFHRPGroup object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefFHRPGroup) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefFHRPGroup) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefFHRPGroup) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefFHRPGroup) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefFHRPGroup) 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 *BriefFHRPGroup) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefFHRPGroup) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefFHRPGroup) 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 *BriefFHRPGroup) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetProtocol + +`func (o *BriefFHRPGroup) GetProtocol() BriefFHRPGroupProtocol` + +GetProtocol returns the Protocol field if non-nil, zero value otherwise. + +### GetProtocolOk + +`func (o *BriefFHRPGroup) GetProtocolOk() (*BriefFHRPGroupProtocol, bool)` + +GetProtocolOk returns a tuple with the Protocol field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetProtocol + +`func (o *BriefFHRPGroup) SetProtocol(v BriefFHRPGroupProtocol)` + +SetProtocol sets Protocol field to given value. + + +### GetGroupId + +`func (o *BriefFHRPGroup) GetGroupId() int32` + +GetGroupId returns the GroupId field if non-nil, zero value otherwise. + +### GetGroupIdOk + +`func (o *BriefFHRPGroup) GetGroupIdOk() (*int32, bool)` + +GetGroupIdOk returns a tuple with the GroupId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGroupId + +`func (o *BriefFHRPGroup) SetGroupId(v int32)` + +SetGroupId sets GroupId field to given value. + + +### GetDescription + +`func (o *BriefFHRPGroup) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefFHRPGroup) 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 *BriefFHRPGroup) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefFHRPGroup) HasDescription() bool` + +HasDescription 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/BriefFHRPGroupProtocol.md b/docs/BriefFHRPGroupProtocol.md new file mode 100644 index 000000000..1927b6d37 --- /dev/null +++ b/docs/BriefFHRPGroupProtocol.md @@ -0,0 +1,23 @@ +# BriefFHRPGroupProtocol + +## Enum + + +* `VRRP2` (value: `"vrrp2"`) + +* `VRRP3` (value: `"vrrp3"`) + +* `CARP` (value: `"carp"`) + +* `CLUSTERXL` (value: `"clusterxl"`) + +* `HSRP` (value: `"hsrp"`) + +* `GLBP` (value: `"glbp"`) + +* `OTHER` (value: `"other"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/BriefFHRPGroupRequest.md b/docs/BriefFHRPGroupRequest.md new file mode 100644 index 000000000..ec3f629bd --- /dev/null +++ b/docs/BriefFHRPGroupRequest.md @@ -0,0 +1,98 @@ +# BriefFHRPGroupRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Protocol** | [**BriefFHRPGroupProtocol**](BriefFHRPGroupProtocol.md) | | +**GroupId** | **int32** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefFHRPGroupRequest + +`func NewBriefFHRPGroupRequest(protocol BriefFHRPGroupProtocol, groupId int32, ) *BriefFHRPGroupRequest` + +NewBriefFHRPGroupRequest instantiates a new BriefFHRPGroupRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefFHRPGroupRequestWithDefaults + +`func NewBriefFHRPGroupRequestWithDefaults() *BriefFHRPGroupRequest` + +NewBriefFHRPGroupRequestWithDefaults instantiates a new BriefFHRPGroupRequest object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetProtocol + +`func (o *BriefFHRPGroupRequest) GetProtocol() BriefFHRPGroupProtocol` + +GetProtocol returns the Protocol field if non-nil, zero value otherwise. + +### GetProtocolOk + +`func (o *BriefFHRPGroupRequest) GetProtocolOk() (*BriefFHRPGroupProtocol, bool)` + +GetProtocolOk returns a tuple with the Protocol field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetProtocol + +`func (o *BriefFHRPGroupRequest) SetProtocol(v BriefFHRPGroupProtocol)` + +SetProtocol sets Protocol field to given value. + + +### GetGroupId + +`func (o *BriefFHRPGroupRequest) GetGroupId() int32` + +GetGroupId returns the GroupId field if non-nil, zero value otherwise. + +### GetGroupIdOk + +`func (o *BriefFHRPGroupRequest) GetGroupIdOk() (*int32, bool)` + +GetGroupIdOk returns a tuple with the GroupId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGroupId + +`func (o *BriefFHRPGroupRequest) SetGroupId(v int32)` + +SetGroupId sets GroupId field to given value. + + +### GetDescription + +`func (o *BriefFHRPGroupRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefFHRPGroupRequest) 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 *BriefFHRPGroupRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefFHRPGroupRequest) HasDescription() bool` + +HasDescription 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/BriefIKEPolicy.md b/docs/BriefIKEPolicy.md new file mode 100644 index 000000000..4010027b1 --- /dev/null +++ b/docs/BriefIKEPolicy.md @@ -0,0 +1,140 @@ +# BriefIKEPolicy + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Name** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefIKEPolicy + +`func NewBriefIKEPolicy(id int32, url string, display string, name string, ) *BriefIKEPolicy` + +NewBriefIKEPolicy instantiates a new BriefIKEPolicy object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefIKEPolicyWithDefaults + +`func NewBriefIKEPolicyWithDefaults() *BriefIKEPolicy` + +NewBriefIKEPolicyWithDefaults instantiates a new BriefIKEPolicy object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefIKEPolicy) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefIKEPolicy) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefIKEPolicy) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefIKEPolicy) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefIKEPolicy) 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 *BriefIKEPolicy) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefIKEPolicy) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefIKEPolicy) 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 *BriefIKEPolicy) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetName + +`func (o *BriefIKEPolicy) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefIKEPolicy) 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 *BriefIKEPolicy) SetName(v string)` + +SetName sets Name field to given value. + + +### GetDescription + +`func (o *BriefIKEPolicy) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefIKEPolicy) 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 *BriefIKEPolicy) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefIKEPolicy) HasDescription() bool` + +HasDescription 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/BriefIKEPolicyRequest.md b/docs/BriefIKEPolicyRequest.md new file mode 100644 index 000000000..11af2f4fd --- /dev/null +++ b/docs/BriefIKEPolicyRequest.md @@ -0,0 +1,77 @@ +# BriefIKEPolicyRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefIKEPolicyRequest + +`func NewBriefIKEPolicyRequest(name string, ) *BriefIKEPolicyRequest` + +NewBriefIKEPolicyRequest instantiates a new BriefIKEPolicyRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefIKEPolicyRequestWithDefaults + +`func NewBriefIKEPolicyRequestWithDefaults() *BriefIKEPolicyRequest` + +NewBriefIKEPolicyRequestWithDefaults instantiates a new BriefIKEPolicyRequest object +This 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 *BriefIKEPolicyRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefIKEPolicyRequest) 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 *BriefIKEPolicyRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetDescription + +`func (o *BriefIKEPolicyRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefIKEPolicyRequest) 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 *BriefIKEPolicyRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefIKEPolicyRequest) HasDescription() bool` + +HasDescription 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/BriefIPAddress.md b/docs/BriefIPAddress.md new file mode 100644 index 000000000..6ad683fc9 --- /dev/null +++ b/docs/BriefIPAddress.md @@ -0,0 +1,161 @@ +# BriefIPAddress + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Family** | [**AggregateFamily**](AggregateFamily.md) | | +**Address** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefIPAddress + +`func NewBriefIPAddress(id int32, url string, display string, family AggregateFamily, address string, ) *BriefIPAddress` + +NewBriefIPAddress instantiates a new BriefIPAddress object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefIPAddressWithDefaults + +`func NewBriefIPAddressWithDefaults() *BriefIPAddress` + +NewBriefIPAddressWithDefaults instantiates a new BriefIPAddress object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefIPAddress) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefIPAddress) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefIPAddress) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefIPAddress) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefIPAddress) 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 *BriefIPAddress) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefIPAddress) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefIPAddress) 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 *BriefIPAddress) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetFamily + +`func (o *BriefIPAddress) GetFamily() AggregateFamily` + +GetFamily returns the Family field if non-nil, zero value otherwise. + +### GetFamilyOk + +`func (o *BriefIPAddress) GetFamilyOk() (*AggregateFamily, bool)` + +GetFamilyOk returns a tuple with the Family field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFamily + +`func (o *BriefIPAddress) SetFamily(v AggregateFamily)` + +SetFamily sets Family field to given value. + + +### GetAddress + +`func (o *BriefIPAddress) GetAddress() string` + +GetAddress returns the Address field if non-nil, zero value otherwise. + +### GetAddressOk + +`func (o *BriefIPAddress) GetAddressOk() (*string, bool)` + +GetAddressOk returns a tuple with the Address field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddress + +`func (o *BriefIPAddress) SetAddress(v string)` + +SetAddress sets Address field to given value. + + +### GetDescription + +`func (o *BriefIPAddress) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefIPAddress) 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 *BriefIPAddress) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefIPAddress) HasDescription() bool` + +HasDescription 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/BriefIPAddressRequest.md b/docs/BriefIPAddressRequest.md new file mode 100644 index 000000000..9041d294a --- /dev/null +++ b/docs/BriefIPAddressRequest.md @@ -0,0 +1,77 @@ +# BriefIPAddressRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Address** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefIPAddressRequest + +`func NewBriefIPAddressRequest(address string, ) *BriefIPAddressRequest` + +NewBriefIPAddressRequest instantiates a new BriefIPAddressRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefIPAddressRequestWithDefaults + +`func NewBriefIPAddressRequestWithDefaults() *BriefIPAddressRequest` + +NewBriefIPAddressRequestWithDefaults instantiates a new BriefIPAddressRequest object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetAddress + +`func (o *BriefIPAddressRequest) GetAddress() string` + +GetAddress returns the Address field if non-nil, zero value otherwise. + +### GetAddressOk + +`func (o *BriefIPAddressRequest) GetAddressOk() (*string, bool)` + +GetAddressOk returns a tuple with the Address field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddress + +`func (o *BriefIPAddressRequest) SetAddress(v string)` + +SetAddress sets Address field to given value. + + +### GetDescription + +`func (o *BriefIPAddressRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefIPAddressRequest) 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 *BriefIPAddressRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefIPAddressRequest) HasDescription() bool` + +HasDescription 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/BriefIPSecPolicy.md b/docs/BriefIPSecPolicy.md new file mode 100644 index 000000000..046c03acc --- /dev/null +++ b/docs/BriefIPSecPolicy.md @@ -0,0 +1,140 @@ +# BriefIPSecPolicy + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Name** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefIPSecPolicy + +`func NewBriefIPSecPolicy(id int32, url string, display string, name string, ) *BriefIPSecPolicy` + +NewBriefIPSecPolicy instantiates a new BriefIPSecPolicy object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefIPSecPolicyWithDefaults + +`func NewBriefIPSecPolicyWithDefaults() *BriefIPSecPolicy` + +NewBriefIPSecPolicyWithDefaults instantiates a new BriefIPSecPolicy object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefIPSecPolicy) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefIPSecPolicy) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefIPSecPolicy) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefIPSecPolicy) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefIPSecPolicy) 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 *BriefIPSecPolicy) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefIPSecPolicy) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefIPSecPolicy) 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 *BriefIPSecPolicy) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetName + +`func (o *BriefIPSecPolicy) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefIPSecPolicy) 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 *BriefIPSecPolicy) SetName(v string)` + +SetName sets Name field to given value. + + +### GetDescription + +`func (o *BriefIPSecPolicy) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefIPSecPolicy) 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 *BriefIPSecPolicy) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefIPSecPolicy) HasDescription() bool` + +HasDescription 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/BriefIPSecPolicyRequest.md b/docs/BriefIPSecPolicyRequest.md new file mode 100644 index 000000000..6077a7048 --- /dev/null +++ b/docs/BriefIPSecPolicyRequest.md @@ -0,0 +1,77 @@ +# BriefIPSecPolicyRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefIPSecPolicyRequest + +`func NewBriefIPSecPolicyRequest(name string, ) *BriefIPSecPolicyRequest` + +NewBriefIPSecPolicyRequest instantiates a new BriefIPSecPolicyRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefIPSecPolicyRequestWithDefaults + +`func NewBriefIPSecPolicyRequestWithDefaults() *BriefIPSecPolicyRequest` + +NewBriefIPSecPolicyRequestWithDefaults instantiates a new BriefIPSecPolicyRequest object +This 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 *BriefIPSecPolicyRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefIPSecPolicyRequest) 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 *BriefIPSecPolicyRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetDescription + +`func (o *BriefIPSecPolicyRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefIPSecPolicyRequest) 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 *BriefIPSecPolicyRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefIPSecPolicyRequest) HasDescription() bool` + +HasDescription 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/BriefIPSecProfile.md b/docs/BriefIPSecProfile.md new file mode 100644 index 000000000..3dd97ae9e --- /dev/null +++ b/docs/BriefIPSecProfile.md @@ -0,0 +1,140 @@ +# BriefIPSecProfile + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Name** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefIPSecProfile + +`func NewBriefIPSecProfile(id int32, url string, display string, name string, ) *BriefIPSecProfile` + +NewBriefIPSecProfile instantiates a new BriefIPSecProfile object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefIPSecProfileWithDefaults + +`func NewBriefIPSecProfileWithDefaults() *BriefIPSecProfile` + +NewBriefIPSecProfileWithDefaults instantiates a new BriefIPSecProfile object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefIPSecProfile) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefIPSecProfile) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefIPSecProfile) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefIPSecProfile) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefIPSecProfile) 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 *BriefIPSecProfile) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefIPSecProfile) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefIPSecProfile) 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 *BriefIPSecProfile) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetName + +`func (o *BriefIPSecProfile) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefIPSecProfile) 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 *BriefIPSecProfile) SetName(v string)` + +SetName sets Name field to given value. + + +### GetDescription + +`func (o *BriefIPSecProfile) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefIPSecProfile) 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 *BriefIPSecProfile) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefIPSecProfile) HasDescription() bool` + +HasDescription 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/BriefIPSecProfileRequest.md b/docs/BriefIPSecProfileRequest.md new file mode 100644 index 000000000..3357d6751 --- /dev/null +++ b/docs/BriefIPSecProfileRequest.md @@ -0,0 +1,77 @@ +# BriefIPSecProfileRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefIPSecProfileRequest + +`func NewBriefIPSecProfileRequest(name string, ) *BriefIPSecProfileRequest` + +NewBriefIPSecProfileRequest instantiates a new BriefIPSecProfileRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefIPSecProfileRequestWithDefaults + +`func NewBriefIPSecProfileRequestWithDefaults() *BriefIPSecProfileRequest` + +NewBriefIPSecProfileRequestWithDefaults instantiates a new BriefIPSecProfileRequest object +This 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 *BriefIPSecProfileRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefIPSecProfileRequest) 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 *BriefIPSecProfileRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetDescription + +`func (o *BriefIPSecProfileRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefIPSecProfileRequest) 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 *BriefIPSecProfileRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefIPSecProfileRequest) HasDescription() bool` + +HasDescription 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/BriefInterface.md b/docs/BriefInterface.md new file mode 100644 index 000000000..cfa19b097 --- /dev/null +++ b/docs/BriefInterface.md @@ -0,0 +1,213 @@ +# BriefInterface + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Device** | [**BriefDevice**](BriefDevice.md) | | +**Name** | **string** | | +**Description** | Pointer to **string** | | [optional] +**Cable** | [**NullableBriefCable**](BriefCable.md) | | [readonly] +**Occupied** | **bool** | | [readonly] + +## Methods + +### NewBriefInterface + +`func NewBriefInterface(id int32, url string, display string, device BriefDevice, name string, cable NullableBriefCable, occupied bool, ) *BriefInterface` + +NewBriefInterface instantiates a new BriefInterface object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefInterfaceWithDefaults + +`func NewBriefInterfaceWithDefaults() *BriefInterface` + +NewBriefInterfaceWithDefaults instantiates a new BriefInterface object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefInterface) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefInterface) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefInterface) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefInterface) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefInterface) 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 *BriefInterface) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefInterface) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefInterface) 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 *BriefInterface) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetDevice + +`func (o *BriefInterface) GetDevice() BriefDevice` + +GetDevice returns the Device field if non-nil, zero value otherwise. + +### GetDeviceOk + +`func (o *BriefInterface) GetDeviceOk() (*BriefDevice, 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 *BriefInterface) SetDevice(v BriefDevice)` + +SetDevice sets Device field to given value. + + +### GetName + +`func (o *BriefInterface) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefInterface) 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 *BriefInterface) SetName(v string)` + +SetName sets Name field to given value. + + +### GetDescription + +`func (o *BriefInterface) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefInterface) 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 *BriefInterface) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefInterface) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetCable + +`func (o *BriefInterface) GetCable() BriefCable` + +GetCable returns the Cable field if non-nil, zero value otherwise. + +### GetCableOk + +`func (o *BriefInterface) GetCableOk() (*BriefCable, bool)` + +GetCableOk returns a tuple with the Cable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCable + +`func (o *BriefInterface) SetCable(v BriefCable)` + +SetCable sets Cable field to given value. + + +### SetCableNil + +`func (o *BriefInterface) SetCableNil(b bool)` + + SetCableNil sets the value for Cable to be an explicit nil + +### UnsetCable +`func (o *BriefInterface) UnsetCable()` + +UnsetCable ensures that no value is present for Cable, not even an explicit nil +### GetOccupied + +`func (o *BriefInterface) GetOccupied() bool` + +GetOccupied returns the Occupied field if non-nil, zero value otherwise. + +### GetOccupiedOk + +`func (o *BriefInterface) GetOccupiedOk() (*bool, bool)` + +GetOccupiedOk returns a tuple with the Occupied field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOccupied + +`func (o *BriefInterface) SetOccupied(v bool)` + +SetOccupied sets Occupied 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/BriefInterfaceRequest.md b/docs/BriefInterfaceRequest.md new file mode 100644 index 000000000..d6d5c4129 --- /dev/null +++ b/docs/BriefInterfaceRequest.md @@ -0,0 +1,98 @@ +# BriefInterfaceRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Device** | [**BriefDeviceRequest**](BriefDeviceRequest.md) | | +**Name** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefInterfaceRequest + +`func NewBriefInterfaceRequest(device BriefDeviceRequest, name string, ) *BriefInterfaceRequest` + +NewBriefInterfaceRequest instantiates a new BriefInterfaceRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefInterfaceRequestWithDefaults + +`func NewBriefInterfaceRequestWithDefaults() *BriefInterfaceRequest` + +NewBriefInterfaceRequestWithDefaults instantiates a new BriefInterfaceRequest object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetDevice + +`func (o *BriefInterfaceRequest) GetDevice() BriefDeviceRequest` + +GetDevice returns the Device field if non-nil, zero value otherwise. + +### GetDeviceOk + +`func (o *BriefInterfaceRequest) GetDeviceOk() (*BriefDeviceRequest, 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 *BriefInterfaceRequest) SetDevice(v BriefDeviceRequest)` + +SetDevice sets Device field to given value. + + +### GetName + +`func (o *BriefInterfaceRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefInterfaceRequest) 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 *BriefInterfaceRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetDescription + +`func (o *BriefInterfaceRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefInterfaceRequest) 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 *BriefInterfaceRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefInterfaceRequest) HasDescription() bool` + +HasDescription 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/BriefInventoryItemRole.md b/docs/BriefInventoryItemRole.md new file mode 100644 index 000000000..00a656879 --- /dev/null +++ b/docs/BriefInventoryItemRole.md @@ -0,0 +1,182 @@ +# BriefInventoryItemRole + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Name** | **string** | | +**Slug** | **string** | | +**Description** | Pointer to **string** | | [optional] +**InventoryitemCount** | **int64** | | [readonly] + +## Methods + +### NewBriefInventoryItemRole + +`func NewBriefInventoryItemRole(id int32, url string, display string, name string, slug string, inventoryitemCount int64, ) *BriefInventoryItemRole` + +NewBriefInventoryItemRole instantiates a new BriefInventoryItemRole object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefInventoryItemRoleWithDefaults + +`func NewBriefInventoryItemRoleWithDefaults() *BriefInventoryItemRole` + +NewBriefInventoryItemRoleWithDefaults instantiates a new BriefInventoryItemRole object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefInventoryItemRole) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefInventoryItemRole) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefInventoryItemRole) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefInventoryItemRole) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefInventoryItemRole) 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 *BriefInventoryItemRole) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefInventoryItemRole) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefInventoryItemRole) 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 *BriefInventoryItemRole) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetName + +`func (o *BriefInventoryItemRole) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefInventoryItemRole) 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 *BriefInventoryItemRole) SetName(v string)` + +SetName sets Name field to given value. + + +### GetSlug + +`func (o *BriefInventoryItemRole) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *BriefInventoryItemRole) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *BriefInventoryItemRole) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetDescription + +`func (o *BriefInventoryItemRole) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefInventoryItemRole) 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 *BriefInventoryItemRole) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefInventoryItemRole) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetInventoryitemCount + +`func (o *BriefInventoryItemRole) GetInventoryitemCount() int64` + +GetInventoryitemCount returns the InventoryitemCount field if non-nil, zero value otherwise. + +### GetInventoryitemCountOk + +`func (o *BriefInventoryItemRole) GetInventoryitemCountOk() (*int64, bool)` + +GetInventoryitemCountOk returns a tuple with the InventoryitemCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetInventoryitemCount + +`func (o *BriefInventoryItemRole) SetInventoryitemCount(v int64)` + +SetInventoryitemCount sets InventoryitemCount 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/BriefInventoryItemRoleRequest.md b/docs/BriefInventoryItemRoleRequest.md new file mode 100644 index 000000000..3badc4bce --- /dev/null +++ b/docs/BriefInventoryItemRoleRequest.md @@ -0,0 +1,98 @@ +# BriefInventoryItemRoleRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **string** | | +**Slug** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefInventoryItemRoleRequest + +`func NewBriefInventoryItemRoleRequest(name string, slug string, ) *BriefInventoryItemRoleRequest` + +NewBriefInventoryItemRoleRequest instantiates a new BriefInventoryItemRoleRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefInventoryItemRoleRequestWithDefaults + +`func NewBriefInventoryItemRoleRequestWithDefaults() *BriefInventoryItemRoleRequest` + +NewBriefInventoryItemRoleRequestWithDefaults instantiates a new BriefInventoryItemRoleRequest object +This 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 *BriefInventoryItemRoleRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefInventoryItemRoleRequest) 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 *BriefInventoryItemRoleRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetSlug + +`func (o *BriefInventoryItemRoleRequest) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *BriefInventoryItemRoleRequest) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *BriefInventoryItemRoleRequest) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetDescription + +`func (o *BriefInventoryItemRoleRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefInventoryItemRoleRequest) 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 *BriefInventoryItemRoleRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefInventoryItemRoleRequest) HasDescription() bool` + +HasDescription 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/BriefJob.md b/docs/BriefJob.md new file mode 100644 index 000000000..3a29c8b74 --- /dev/null +++ b/docs/BriefJob.md @@ -0,0 +1,150 @@ +# BriefJob + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Url** | **string** | | [readonly] +**Status** | [**BriefJobStatus**](BriefJobStatus.md) | | +**Created** | **time.Time** | | [readonly] +**Completed** | Pointer to **NullableTime** | | [optional] +**User** | [**BriefUser**](BriefUser.md) | | [readonly] + +## Methods + +### NewBriefJob + +`func NewBriefJob(url string, status BriefJobStatus, created time.Time, user BriefUser, ) *BriefJob` + +NewBriefJob instantiates a new BriefJob object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefJobWithDefaults + +`func NewBriefJobWithDefaults() *BriefJob` + +NewBriefJobWithDefaults instantiates a new BriefJob object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetUrl + +`func (o *BriefJob) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefJob) 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 *BriefJob) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetStatus + +`func (o *BriefJob) GetStatus() BriefJobStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *BriefJob) GetStatusOk() (*BriefJobStatus, 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 *BriefJob) SetStatus(v BriefJobStatus)` + +SetStatus sets Status field to given value. + + +### GetCreated + +`func (o *BriefJob) GetCreated() time.Time` + +GetCreated returns the Created field if non-nil, zero value otherwise. + +### GetCreatedOk + +`func (o *BriefJob) 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 *BriefJob) SetCreated(v time.Time)` + +SetCreated sets Created field to given value. + + +### GetCompleted + +`func (o *BriefJob) GetCompleted() time.Time` + +GetCompleted returns the Completed field if non-nil, zero value otherwise. + +### GetCompletedOk + +`func (o *BriefJob) GetCompletedOk() (*time.Time, bool)` + +GetCompletedOk returns a tuple with the Completed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCompleted + +`func (o *BriefJob) SetCompleted(v time.Time)` + +SetCompleted sets Completed field to given value. + +### HasCompleted + +`func (o *BriefJob) HasCompleted() bool` + +HasCompleted returns a boolean if a field has been set. + +### SetCompletedNil + +`func (o *BriefJob) SetCompletedNil(b bool)` + + SetCompletedNil sets the value for Completed to be an explicit nil + +### UnsetCompleted +`func (o *BriefJob) UnsetCompleted()` + +UnsetCompleted ensures that no value is present for Completed, not even an explicit nil +### GetUser + +`func (o *BriefJob) GetUser() BriefUser` + +GetUser returns the User field if non-nil, zero value otherwise. + +### GetUserOk + +`func (o *BriefJob) GetUserOk() (*BriefUser, bool)` + +GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUser + +`func (o *BriefJob) SetUser(v BriefUser)` + +SetUser sets User 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/BriefJobRequest.md b/docs/BriefJobRequest.md new file mode 100644 index 000000000..6e62ff44c --- /dev/null +++ b/docs/BriefJobRequest.md @@ -0,0 +1,66 @@ +# BriefJobRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Completed** | Pointer to **NullableTime** | | [optional] + +## Methods + +### NewBriefJobRequest + +`func NewBriefJobRequest() *BriefJobRequest` + +NewBriefJobRequest instantiates a new BriefJobRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefJobRequestWithDefaults + +`func NewBriefJobRequestWithDefaults() *BriefJobRequest` + +NewBriefJobRequestWithDefaults instantiates a new BriefJobRequest object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCompleted + +`func (o *BriefJobRequest) GetCompleted() time.Time` + +GetCompleted returns the Completed field if non-nil, zero value otherwise. + +### GetCompletedOk + +`func (o *BriefJobRequest) GetCompletedOk() (*time.Time, bool)` + +GetCompletedOk returns a tuple with the Completed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCompleted + +`func (o *BriefJobRequest) SetCompleted(v time.Time)` + +SetCompleted sets Completed field to given value. + +### HasCompleted + +`func (o *BriefJobRequest) HasCompleted() bool` + +HasCompleted returns a boolean if a field has been set. + +### SetCompletedNil + +`func (o *BriefJobRequest) SetCompletedNil(b bool)` + + SetCompletedNil sets the value for Completed to be an explicit nil + +### UnsetCompleted +`func (o *BriefJobRequest) UnsetCompleted()` + +UnsetCompleted ensures that no value is present for Completed, 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/BriefJobStatus.md b/docs/BriefJobStatus.md new file mode 100644 index 000000000..42df2b5a5 --- /dev/null +++ b/docs/BriefJobStatus.md @@ -0,0 +1,82 @@ +# BriefJobStatus + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Value** | Pointer to [**BriefJobStatusValue**](BriefJobStatusValue.md) | | [optional] +**Label** | Pointer to [**BriefJobStatusLabel**](BriefJobStatusLabel.md) | | [optional] + +## Methods + +### NewBriefJobStatus + +`func NewBriefJobStatus() *BriefJobStatus` + +NewBriefJobStatus instantiates a new BriefJobStatus object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefJobStatusWithDefaults + +`func NewBriefJobStatusWithDefaults() *BriefJobStatus` + +NewBriefJobStatusWithDefaults instantiates a new BriefJobStatus object +This 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 *BriefJobStatus) GetValue() BriefJobStatusValue` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *BriefJobStatus) GetValueOk() (*BriefJobStatusValue, 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 *BriefJobStatus) SetValue(v BriefJobStatusValue)` + +SetValue sets Value field to given value. + +### HasValue + +`func (o *BriefJobStatus) HasValue() bool` + +HasValue returns a boolean if a field has been set. + +### GetLabel + +`func (o *BriefJobStatus) GetLabel() BriefJobStatusLabel` + +GetLabel returns the Label field if non-nil, zero value otherwise. + +### GetLabelOk + +`func (o *BriefJobStatus) GetLabelOk() (*BriefJobStatusLabel, 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 *BriefJobStatus) SetLabel(v BriefJobStatusLabel)` + +SetLabel sets Label field to given value. + +### HasLabel + +`func (o *BriefJobStatus) 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/BriefJobStatusLabel.md b/docs/BriefJobStatusLabel.md new file mode 100644 index 000000000..fe83a7999 --- /dev/null +++ b/docs/BriefJobStatusLabel.md @@ -0,0 +1,21 @@ +# BriefJobStatusLabel + +## Enum + + +* `PENDING` (value: `"Pending"`) + +* `SCHEDULED` (value: `"Scheduled"`) + +* `RUNNING` (value: `"Running"`) + +* `COMPLETED` (value: `"Completed"`) + +* `ERRORED` (value: `"Errored"`) + +* `FAILED` (value: `"Failed"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/BriefJobStatusValue.md b/docs/BriefJobStatusValue.md new file mode 100644 index 000000000..e6bf72e53 --- /dev/null +++ b/docs/BriefJobStatusValue.md @@ -0,0 +1,21 @@ +# BriefJobStatusValue + +## Enum + + +* `PENDING` (value: `"pending"`) + +* `SCHEDULED` (value: `"scheduled"`) + +* `RUNNING` (value: `"running"`) + +* `COMPLETED` (value: `"completed"`) + +* `ERRORED` (value: `"errored"`) + +* `FAILED` (value: `"failed"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/BriefL2VPN.md b/docs/BriefL2VPN.md new file mode 100644 index 000000000..2a66326c1 --- /dev/null +++ b/docs/BriefL2VPN.md @@ -0,0 +1,223 @@ +# BriefL2VPN + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Identifier** | Pointer to **NullableInt64** | | [optional] +**Name** | **string** | | +**Slug** | **string** | | +**Type** | Pointer to [**BriefL2VPNType**](BriefL2VPNType.md) | | [optional] +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefL2VPN + +`func NewBriefL2VPN(id int32, url string, display string, name string, slug string, ) *BriefL2VPN` + +NewBriefL2VPN instantiates a new BriefL2VPN object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefL2VPNWithDefaults + +`func NewBriefL2VPNWithDefaults() *BriefL2VPN` + +NewBriefL2VPNWithDefaults instantiates a new BriefL2VPN object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefL2VPN) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefL2VPN) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefL2VPN) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefL2VPN) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefL2VPN) 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 *BriefL2VPN) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefL2VPN) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefL2VPN) 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 *BriefL2VPN) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetIdentifier + +`func (o *BriefL2VPN) GetIdentifier() int64` + +GetIdentifier returns the Identifier field if non-nil, zero value otherwise. + +### GetIdentifierOk + +`func (o *BriefL2VPN) GetIdentifierOk() (*int64, 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 *BriefL2VPN) SetIdentifier(v int64)` + +SetIdentifier sets Identifier field to given value. + +### HasIdentifier + +`func (o *BriefL2VPN) HasIdentifier() bool` + +HasIdentifier returns a boolean if a field has been set. + +### SetIdentifierNil + +`func (o *BriefL2VPN) SetIdentifierNil(b bool)` + + SetIdentifierNil sets the value for Identifier to be an explicit nil + +### UnsetIdentifier +`func (o *BriefL2VPN) UnsetIdentifier()` + +UnsetIdentifier ensures that no value is present for Identifier, not even an explicit nil +### GetName + +`func (o *BriefL2VPN) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefL2VPN) 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 *BriefL2VPN) SetName(v string)` + +SetName sets Name field to given value. + + +### GetSlug + +`func (o *BriefL2VPN) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *BriefL2VPN) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *BriefL2VPN) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetType + +`func (o *BriefL2VPN) GetType() BriefL2VPNType` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *BriefL2VPN) GetTypeOk() (*BriefL2VPNType, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *BriefL2VPN) SetType(v BriefL2VPNType)` + +SetType sets Type field to given value. + +### HasType + +`func (o *BriefL2VPN) HasType() bool` + +HasType returns a boolean if a field has been set. + +### GetDescription + +`func (o *BriefL2VPN) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefL2VPN) 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 *BriefL2VPN) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefL2VPN) HasDescription() bool` + +HasDescription 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/BriefL2VPNRequest.md b/docs/BriefL2VPNRequest.md new file mode 100644 index 000000000..be23320d9 --- /dev/null +++ b/docs/BriefL2VPNRequest.md @@ -0,0 +1,160 @@ +# BriefL2VPNRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Identifier** | Pointer to **NullableInt64** | | [optional] +**Name** | **string** | | +**Slug** | **string** | | +**Type** | Pointer to [**BriefL2VPNTypeValue**](BriefL2VPNTypeValue.md) | | [optional] +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefL2VPNRequest + +`func NewBriefL2VPNRequest(name string, slug string, ) *BriefL2VPNRequest` + +NewBriefL2VPNRequest instantiates a new BriefL2VPNRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefL2VPNRequestWithDefaults + +`func NewBriefL2VPNRequestWithDefaults() *BriefL2VPNRequest` + +NewBriefL2VPNRequestWithDefaults instantiates a new BriefL2VPNRequest object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetIdentifier + +`func (o *BriefL2VPNRequest) GetIdentifier() int64` + +GetIdentifier returns the Identifier field if non-nil, zero value otherwise. + +### GetIdentifierOk + +`func (o *BriefL2VPNRequest) GetIdentifierOk() (*int64, 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 *BriefL2VPNRequest) SetIdentifier(v int64)` + +SetIdentifier sets Identifier field to given value. + +### HasIdentifier + +`func (o *BriefL2VPNRequest) HasIdentifier() bool` + +HasIdentifier returns a boolean if a field has been set. + +### SetIdentifierNil + +`func (o *BriefL2VPNRequest) SetIdentifierNil(b bool)` + + SetIdentifierNil sets the value for Identifier to be an explicit nil + +### UnsetIdentifier +`func (o *BriefL2VPNRequest) UnsetIdentifier()` + +UnsetIdentifier ensures that no value is present for Identifier, not even an explicit nil +### GetName + +`func (o *BriefL2VPNRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefL2VPNRequest) 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 *BriefL2VPNRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetSlug + +`func (o *BriefL2VPNRequest) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *BriefL2VPNRequest) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *BriefL2VPNRequest) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetType + +`func (o *BriefL2VPNRequest) GetType() BriefL2VPNTypeValue` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *BriefL2VPNRequest) GetTypeOk() (*BriefL2VPNTypeValue, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *BriefL2VPNRequest) SetType(v BriefL2VPNTypeValue)` + +SetType sets Type field to given value. + +### HasType + +`func (o *BriefL2VPNRequest) HasType() bool` + +HasType returns a boolean if a field has been set. + +### GetDescription + +`func (o *BriefL2VPNRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefL2VPNRequest) 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 *BriefL2VPNRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefL2VPNRequest) HasDescription() bool` + +HasDescription 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/BriefL2VPNTermination.md b/docs/BriefL2VPNTermination.md new file mode 100644 index 000000000..121bc7753 --- /dev/null +++ b/docs/BriefL2VPNTermination.md @@ -0,0 +1,114 @@ +# BriefL2VPNTermination + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**L2vpn** | [**BriefL2VPN**](BriefL2VPN.md) | | + +## Methods + +### NewBriefL2VPNTermination + +`func NewBriefL2VPNTermination(id int32, url string, display string, l2vpn BriefL2VPN, ) *BriefL2VPNTermination` + +NewBriefL2VPNTermination instantiates a new BriefL2VPNTermination object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefL2VPNTerminationWithDefaults + +`func NewBriefL2VPNTerminationWithDefaults() *BriefL2VPNTermination` + +NewBriefL2VPNTerminationWithDefaults instantiates a new BriefL2VPNTermination object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefL2VPNTermination) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefL2VPNTermination) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefL2VPNTermination) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefL2VPNTermination) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefL2VPNTermination) 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 *BriefL2VPNTermination) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefL2VPNTermination) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefL2VPNTermination) 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 *BriefL2VPNTermination) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetL2vpn + +`func (o *BriefL2VPNTermination) GetL2vpn() BriefL2VPN` + +GetL2vpn returns the L2vpn field if non-nil, zero value otherwise. + +### GetL2vpnOk + +`func (o *BriefL2VPNTermination) GetL2vpnOk() (*BriefL2VPN, bool)` + +GetL2vpnOk returns a tuple with the L2vpn field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetL2vpn + +`func (o *BriefL2VPNTermination) SetL2vpn(v BriefL2VPN)` + +SetL2vpn sets L2vpn 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/BriefL2VPNTerminationRequest.md b/docs/BriefL2VPNTerminationRequest.md new file mode 100644 index 000000000..3f41ef213 --- /dev/null +++ b/docs/BriefL2VPNTerminationRequest.md @@ -0,0 +1,51 @@ +# BriefL2VPNTerminationRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**L2vpn** | [**BriefL2VPNRequest**](BriefL2VPNRequest.md) | | + +## Methods + +### NewBriefL2VPNTerminationRequest + +`func NewBriefL2VPNTerminationRequest(l2vpn BriefL2VPNRequest, ) *BriefL2VPNTerminationRequest` + +NewBriefL2VPNTerminationRequest instantiates a new BriefL2VPNTerminationRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefL2VPNTerminationRequestWithDefaults + +`func NewBriefL2VPNTerminationRequestWithDefaults() *BriefL2VPNTerminationRequest` + +NewBriefL2VPNTerminationRequestWithDefaults instantiates a new BriefL2VPNTerminationRequest object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetL2vpn + +`func (o *BriefL2VPNTerminationRequest) GetL2vpn() BriefL2VPNRequest` + +GetL2vpn returns the L2vpn field if non-nil, zero value otherwise. + +### GetL2vpnOk + +`func (o *BriefL2VPNTerminationRequest) GetL2vpnOk() (*BriefL2VPNRequest, bool)` + +GetL2vpnOk returns a tuple with the L2vpn field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetL2vpn + +`func (o *BriefL2VPNTerminationRequest) SetL2vpn(v BriefL2VPNRequest)` + +SetL2vpn sets L2vpn 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/BriefL2VPNType.md b/docs/BriefL2VPNType.md new file mode 100644 index 000000000..63ceeaefd --- /dev/null +++ b/docs/BriefL2VPNType.md @@ -0,0 +1,82 @@ +# BriefL2VPNType + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Value** | Pointer to [**BriefL2VPNTypeValue**](BriefL2VPNTypeValue.md) | | [optional] +**Label** | Pointer to [**BriefL2VPNTypeLabel**](BriefL2VPNTypeLabel.md) | | [optional] + +## Methods + +### NewBriefL2VPNType + +`func NewBriefL2VPNType() *BriefL2VPNType` + +NewBriefL2VPNType instantiates a new BriefL2VPNType object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefL2VPNTypeWithDefaults + +`func NewBriefL2VPNTypeWithDefaults() *BriefL2VPNType` + +NewBriefL2VPNTypeWithDefaults instantiates a new BriefL2VPNType object +This 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 *BriefL2VPNType) GetValue() BriefL2VPNTypeValue` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *BriefL2VPNType) GetValueOk() (*BriefL2VPNTypeValue, 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 *BriefL2VPNType) SetValue(v BriefL2VPNTypeValue)` + +SetValue sets Value field to given value. + +### HasValue + +`func (o *BriefL2VPNType) HasValue() bool` + +HasValue returns a boolean if a field has been set. + +### GetLabel + +`func (o *BriefL2VPNType) GetLabel() BriefL2VPNTypeLabel` + +GetLabel returns the Label field if non-nil, zero value otherwise. + +### GetLabelOk + +`func (o *BriefL2VPNType) GetLabelOk() (*BriefL2VPNTypeLabel, 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 *BriefL2VPNType) SetLabel(v BriefL2VPNTypeLabel)` + +SetLabel sets Label field to given value. + +### HasLabel + +`func (o *BriefL2VPNType) 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/BriefL2VPNTypeLabel.md b/docs/BriefL2VPNTypeLabel.md new file mode 100644 index 000000000..757dc73eb --- /dev/null +++ b/docs/BriefL2VPNTypeLabel.md @@ -0,0 +1,33 @@ +# BriefL2VPNTypeLabel + +## Enum + + +* `VPWS` (value: `"VPWS"`) + +* `VPLS` (value: `"VPLS"`) + +* `VXLAN` (value: `"VXLAN"`) + +* `VXLAN_EVPN` (value: `"VXLAN-EVPN"`) + +* `MPLS_EVPN` (value: `"MPLS EVPN"`) + +* `PBB_EVPN` (value: `"PBB EVPN"`) + +* `EPL` (value: `"EPL"`) + +* `EVPL` (value: `"EVPL"`) + +* `ETHERNET_PRIVATE_LAN` (value: `"Ethernet Private LAN"`) + +* `ETHERNET_VIRTUAL_PRIVATE_LAN` (value: `"Ethernet Virtual Private LAN"`) + +* `ETHERNET_PRIVATE_TREE` (value: `"Ethernet Private Tree"`) + +* `ETHERNET_VIRTUAL_PRIVATE_TREE` (value: `"Ethernet Virtual Private Tree"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/BriefL2VPNTypeValue.md b/docs/BriefL2VPNTypeValue.md new file mode 100644 index 000000000..31d6731bb --- /dev/null +++ b/docs/BriefL2VPNTypeValue.md @@ -0,0 +1,33 @@ +# BriefL2VPNTypeValue + +## Enum + + +* `VPWS` (value: `"vpws"`) + +* `VPLS` (value: `"vpls"`) + +* `VXLAN` (value: `"vxlan"`) + +* `VXLAN_EVPN` (value: `"vxlan-evpn"`) + +* `MPLS_EVPN` (value: `"mpls-evpn"`) + +* `PBB_EVPN` (value: `"pbb-evpn"`) + +* `EPL` (value: `"epl"`) + +* `EVPL` (value: `"evpl"`) + +* `EP_LAN` (value: `"ep-lan"`) + +* `EVP_LAN` (value: `"evp-lan"`) + +* `EP_TREE` (value: `"ep-tree"`) + +* `EVP_TREE` (value: `"evp-tree"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/BriefLocation.md b/docs/BriefLocation.md new file mode 100644 index 000000000..0a5f3b992 --- /dev/null +++ b/docs/BriefLocation.md @@ -0,0 +1,203 @@ +# BriefLocation + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Name** | **string** | | +**Slug** | **string** | | +**Description** | Pointer to **string** | | [optional] +**RackCount** | **int32** | | [readonly] [default to 0] +**Depth** | **int32** | | [readonly] + +## Methods + +### NewBriefLocation + +`func NewBriefLocation(id int32, url string, display string, name string, slug string, rackCount int32, depth int32, ) *BriefLocation` + +NewBriefLocation instantiates a new BriefLocation object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefLocationWithDefaults + +`func NewBriefLocationWithDefaults() *BriefLocation` + +NewBriefLocationWithDefaults instantiates a new BriefLocation object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefLocation) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefLocation) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefLocation) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefLocation) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefLocation) 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 *BriefLocation) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefLocation) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefLocation) 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 *BriefLocation) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetName + +`func (o *BriefLocation) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefLocation) 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 *BriefLocation) SetName(v string)` + +SetName sets Name field to given value. + + +### GetSlug + +`func (o *BriefLocation) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *BriefLocation) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *BriefLocation) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetDescription + +`func (o *BriefLocation) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefLocation) 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 *BriefLocation) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefLocation) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetRackCount + +`func (o *BriefLocation) GetRackCount() int32` + +GetRackCount returns the RackCount field if non-nil, zero value otherwise. + +### GetRackCountOk + +`func (o *BriefLocation) GetRackCountOk() (*int32, bool)` + +GetRackCountOk returns a tuple with the RackCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRackCount + +`func (o *BriefLocation) SetRackCount(v int32)` + +SetRackCount sets RackCount field to given value. + + +### GetDepth + +`func (o *BriefLocation) GetDepth() int32` + +GetDepth returns the Depth field if non-nil, zero value otherwise. + +### GetDepthOk + +`func (o *BriefLocation) GetDepthOk() (*int32, bool)` + +GetDepthOk returns a tuple with the Depth field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDepth + +`func (o *BriefLocation) SetDepth(v int32)` + +SetDepth sets Depth 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/BriefLocationRequest.md b/docs/BriefLocationRequest.md new file mode 100644 index 000000000..1f4d74c6c --- /dev/null +++ b/docs/BriefLocationRequest.md @@ -0,0 +1,98 @@ +# BriefLocationRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **string** | | +**Slug** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefLocationRequest + +`func NewBriefLocationRequest(name string, slug string, ) *BriefLocationRequest` + +NewBriefLocationRequest instantiates a new BriefLocationRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefLocationRequestWithDefaults + +`func NewBriefLocationRequestWithDefaults() *BriefLocationRequest` + +NewBriefLocationRequestWithDefaults instantiates a new BriefLocationRequest object +This 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 *BriefLocationRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefLocationRequest) 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 *BriefLocationRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetSlug + +`func (o *BriefLocationRequest) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *BriefLocationRequest) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *BriefLocationRequest) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetDescription + +`func (o *BriefLocationRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefLocationRequest) 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 *BriefLocationRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefLocationRequest) HasDescription() bool` + +HasDescription 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/BriefManufacturer.md b/docs/BriefManufacturer.md new file mode 100644 index 000000000..19cbc042b --- /dev/null +++ b/docs/BriefManufacturer.md @@ -0,0 +1,187 @@ +# BriefManufacturer + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Name** | **string** | | +**Slug** | **string** | | +**Description** | Pointer to **string** | | [optional] +**DevicetypeCount** | Pointer to **int64** | | [optional] [readonly] + +## Methods + +### NewBriefManufacturer + +`func NewBriefManufacturer(id int32, url string, display string, name string, slug string, ) *BriefManufacturer` + +NewBriefManufacturer instantiates a new BriefManufacturer object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefManufacturerWithDefaults + +`func NewBriefManufacturerWithDefaults() *BriefManufacturer` + +NewBriefManufacturerWithDefaults instantiates a new BriefManufacturer object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefManufacturer) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefManufacturer) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefManufacturer) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefManufacturer) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefManufacturer) 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 *BriefManufacturer) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefManufacturer) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefManufacturer) 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 *BriefManufacturer) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetName + +`func (o *BriefManufacturer) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefManufacturer) 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 *BriefManufacturer) SetName(v string)` + +SetName sets Name field to given value. + + +### GetSlug + +`func (o *BriefManufacturer) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *BriefManufacturer) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *BriefManufacturer) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetDescription + +`func (o *BriefManufacturer) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefManufacturer) 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 *BriefManufacturer) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefManufacturer) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetDevicetypeCount + +`func (o *BriefManufacturer) GetDevicetypeCount() int64` + +GetDevicetypeCount returns the DevicetypeCount field if non-nil, zero value otherwise. + +### GetDevicetypeCountOk + +`func (o *BriefManufacturer) GetDevicetypeCountOk() (*int64, bool)` + +GetDevicetypeCountOk returns a tuple with the DevicetypeCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDevicetypeCount + +`func (o *BriefManufacturer) SetDevicetypeCount(v int64)` + +SetDevicetypeCount sets DevicetypeCount field to given value. + +### HasDevicetypeCount + +`func (o *BriefManufacturer) HasDevicetypeCount() bool` + +HasDevicetypeCount 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/BriefManufacturerRequest.md b/docs/BriefManufacturerRequest.md new file mode 100644 index 000000000..ba1eb927f --- /dev/null +++ b/docs/BriefManufacturerRequest.md @@ -0,0 +1,98 @@ +# BriefManufacturerRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **string** | | +**Slug** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefManufacturerRequest + +`func NewBriefManufacturerRequest(name string, slug string, ) *BriefManufacturerRequest` + +NewBriefManufacturerRequest instantiates a new BriefManufacturerRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefManufacturerRequestWithDefaults + +`func NewBriefManufacturerRequestWithDefaults() *BriefManufacturerRequest` + +NewBriefManufacturerRequestWithDefaults instantiates a new BriefManufacturerRequest object +This 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 *BriefManufacturerRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefManufacturerRequest) 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 *BriefManufacturerRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetSlug + +`func (o *BriefManufacturerRequest) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *BriefManufacturerRequest) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *BriefManufacturerRequest) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetDescription + +`func (o *BriefManufacturerRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefManufacturerRequest) 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 *BriefManufacturerRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefManufacturerRequest) HasDescription() bool` + +HasDescription 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/BriefModule.md b/docs/BriefModule.md new file mode 100644 index 000000000..5e80bca58 --- /dev/null +++ b/docs/BriefModule.md @@ -0,0 +1,135 @@ +# BriefModule + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Device** | [**BriefDevice**](BriefDevice.md) | | +**ModuleBay** | [**NestedModuleBay**](NestedModuleBay.md) | | + +## Methods + +### NewBriefModule + +`func NewBriefModule(id int32, url string, display string, device BriefDevice, moduleBay NestedModuleBay, ) *BriefModule` + +NewBriefModule instantiates a new BriefModule object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefModuleWithDefaults + +`func NewBriefModuleWithDefaults() *BriefModule` + +NewBriefModuleWithDefaults instantiates a new BriefModule object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefModule) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefModule) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefModule) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefModule) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefModule) 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 *BriefModule) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefModule) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefModule) 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 *BriefModule) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetDevice + +`func (o *BriefModule) GetDevice() BriefDevice` + +GetDevice returns the Device field if non-nil, zero value otherwise. + +### GetDeviceOk + +`func (o *BriefModule) GetDeviceOk() (*BriefDevice, 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 *BriefModule) SetDevice(v BriefDevice)` + +SetDevice sets Device field to given value. + + +### GetModuleBay + +`func (o *BriefModule) GetModuleBay() NestedModuleBay` + +GetModuleBay returns the ModuleBay field if non-nil, zero value otherwise. + +### GetModuleBayOk + +`func (o *BriefModule) GetModuleBayOk() (*NestedModuleBay, bool)` + +GetModuleBayOk returns a tuple with the ModuleBay field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetModuleBay + +`func (o *BriefModule) SetModuleBay(v NestedModuleBay)` + +SetModuleBay sets ModuleBay 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/BriefModuleRequest.md b/docs/BriefModuleRequest.md new file mode 100644 index 000000000..e9cb7aa81 --- /dev/null +++ b/docs/BriefModuleRequest.md @@ -0,0 +1,72 @@ +# BriefModuleRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Device** | [**BriefDeviceRequest**](BriefDeviceRequest.md) | | +**ModuleBay** | [**NestedModuleBayRequest**](NestedModuleBayRequest.md) | | + +## Methods + +### NewBriefModuleRequest + +`func NewBriefModuleRequest(device BriefDeviceRequest, moduleBay NestedModuleBayRequest, ) *BriefModuleRequest` + +NewBriefModuleRequest instantiates a new BriefModuleRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefModuleRequestWithDefaults + +`func NewBriefModuleRequestWithDefaults() *BriefModuleRequest` + +NewBriefModuleRequestWithDefaults instantiates a new BriefModuleRequest object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetDevice + +`func (o *BriefModuleRequest) GetDevice() BriefDeviceRequest` + +GetDevice returns the Device field if non-nil, zero value otherwise. + +### GetDeviceOk + +`func (o *BriefModuleRequest) GetDeviceOk() (*BriefDeviceRequest, 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 *BriefModuleRequest) SetDevice(v BriefDeviceRequest)` + +SetDevice sets Device field to given value. + + +### GetModuleBay + +`func (o *BriefModuleRequest) GetModuleBay() NestedModuleBayRequest` + +GetModuleBay returns the ModuleBay field if non-nil, zero value otherwise. + +### GetModuleBayOk + +`func (o *BriefModuleRequest) GetModuleBayOk() (*NestedModuleBayRequest, bool)` + +GetModuleBayOk returns a tuple with the ModuleBay field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetModuleBay + +`func (o *BriefModuleRequest) SetModuleBay(v NestedModuleBayRequest)` + +SetModuleBay sets ModuleBay 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/BriefModuleType.md b/docs/BriefModuleType.md new file mode 100644 index 000000000..320d634f9 --- /dev/null +++ b/docs/BriefModuleType.md @@ -0,0 +1,161 @@ +# BriefModuleType + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Manufacturer** | [**BriefManufacturer**](BriefManufacturer.md) | | +**Model** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefModuleType + +`func NewBriefModuleType(id int32, url string, display string, manufacturer BriefManufacturer, model string, ) *BriefModuleType` + +NewBriefModuleType instantiates a new BriefModuleType object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefModuleTypeWithDefaults + +`func NewBriefModuleTypeWithDefaults() *BriefModuleType` + +NewBriefModuleTypeWithDefaults instantiates a new BriefModuleType object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefModuleType) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefModuleType) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefModuleType) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefModuleType) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefModuleType) 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 *BriefModuleType) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefModuleType) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefModuleType) 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 *BriefModuleType) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetManufacturer + +`func (o *BriefModuleType) GetManufacturer() BriefManufacturer` + +GetManufacturer returns the Manufacturer field if non-nil, zero value otherwise. + +### GetManufacturerOk + +`func (o *BriefModuleType) GetManufacturerOk() (*BriefManufacturer, bool)` + +GetManufacturerOk returns a tuple with the Manufacturer field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetManufacturer + +`func (o *BriefModuleType) SetManufacturer(v BriefManufacturer)` + +SetManufacturer sets Manufacturer field to given value. + + +### GetModel + +`func (o *BriefModuleType) GetModel() string` + +GetModel returns the Model field if non-nil, zero value otherwise. + +### GetModelOk + +`func (o *BriefModuleType) GetModelOk() (*string, bool)` + +GetModelOk returns a tuple with the Model field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetModel + +`func (o *BriefModuleType) SetModel(v string)` + +SetModel sets Model field to given value. + + +### GetDescription + +`func (o *BriefModuleType) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefModuleType) 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 *BriefModuleType) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefModuleType) HasDescription() bool` + +HasDescription 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/BriefModuleTypeRequest.md b/docs/BriefModuleTypeRequest.md new file mode 100644 index 000000000..230ec4028 --- /dev/null +++ b/docs/BriefModuleTypeRequest.md @@ -0,0 +1,98 @@ +# BriefModuleTypeRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Manufacturer** | [**BriefManufacturerRequest**](BriefManufacturerRequest.md) | | +**Model** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefModuleTypeRequest + +`func NewBriefModuleTypeRequest(manufacturer BriefManufacturerRequest, model string, ) *BriefModuleTypeRequest` + +NewBriefModuleTypeRequest instantiates a new BriefModuleTypeRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefModuleTypeRequestWithDefaults + +`func NewBriefModuleTypeRequestWithDefaults() *BriefModuleTypeRequest` + +NewBriefModuleTypeRequestWithDefaults instantiates a new BriefModuleTypeRequest object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetManufacturer + +`func (o *BriefModuleTypeRequest) GetManufacturer() BriefManufacturerRequest` + +GetManufacturer returns the Manufacturer field if non-nil, zero value otherwise. + +### GetManufacturerOk + +`func (o *BriefModuleTypeRequest) GetManufacturerOk() (*BriefManufacturerRequest, bool)` + +GetManufacturerOk returns a tuple with the Manufacturer field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetManufacturer + +`func (o *BriefModuleTypeRequest) SetManufacturer(v BriefManufacturerRequest)` + +SetManufacturer sets Manufacturer field to given value. + + +### GetModel + +`func (o *BriefModuleTypeRequest) GetModel() string` + +GetModel returns the Model field if non-nil, zero value otherwise. + +### GetModelOk + +`func (o *BriefModuleTypeRequest) GetModelOk() (*string, bool)` + +GetModelOk returns a tuple with the Model field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetModel + +`func (o *BriefModuleTypeRequest) SetModel(v string)` + +SetModel sets Model field to given value. + + +### GetDescription + +`func (o *BriefModuleTypeRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefModuleTypeRequest) 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 *BriefModuleTypeRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefModuleTypeRequest) HasDescription() bool` + +HasDescription 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/BriefPlatform.md b/docs/BriefPlatform.md new file mode 100644 index 000000000..03d114515 --- /dev/null +++ b/docs/BriefPlatform.md @@ -0,0 +1,213 @@ +# BriefPlatform + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Name** | **string** | | +**Slug** | **string** | | +**Description** | Pointer to **string** | | [optional] +**DeviceCount** | Pointer to **int64** | | [optional] [readonly] +**VirtualmachineCount** | Pointer to **int64** | | [optional] [readonly] + +## Methods + +### NewBriefPlatform + +`func NewBriefPlatform(id int32, url string, display string, name string, slug string, ) *BriefPlatform` + +NewBriefPlatform instantiates a new BriefPlatform object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefPlatformWithDefaults + +`func NewBriefPlatformWithDefaults() *BriefPlatform` + +NewBriefPlatformWithDefaults instantiates a new BriefPlatform object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefPlatform) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefPlatform) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefPlatform) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefPlatform) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefPlatform) 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 *BriefPlatform) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefPlatform) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefPlatform) 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 *BriefPlatform) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetName + +`func (o *BriefPlatform) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefPlatform) 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 *BriefPlatform) SetName(v string)` + +SetName sets Name field to given value. + + +### GetSlug + +`func (o *BriefPlatform) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *BriefPlatform) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *BriefPlatform) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetDescription + +`func (o *BriefPlatform) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefPlatform) 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 *BriefPlatform) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefPlatform) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetDeviceCount + +`func (o *BriefPlatform) GetDeviceCount() int64` + +GetDeviceCount returns the DeviceCount field if non-nil, zero value otherwise. + +### GetDeviceCountOk + +`func (o *BriefPlatform) GetDeviceCountOk() (*int64, bool)` + +GetDeviceCountOk returns a tuple with the DeviceCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDeviceCount + +`func (o *BriefPlatform) SetDeviceCount(v int64)` + +SetDeviceCount sets DeviceCount field to given value. + +### HasDeviceCount + +`func (o *BriefPlatform) HasDeviceCount() bool` + +HasDeviceCount returns a boolean if a field has been set. + +### GetVirtualmachineCount + +`func (o *BriefPlatform) GetVirtualmachineCount() int64` + +GetVirtualmachineCount returns the VirtualmachineCount field if non-nil, zero value otherwise. + +### GetVirtualmachineCountOk + +`func (o *BriefPlatform) GetVirtualmachineCountOk() (*int64, bool)` + +GetVirtualmachineCountOk returns a tuple with the VirtualmachineCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVirtualmachineCount + +`func (o *BriefPlatform) SetVirtualmachineCount(v int64)` + +SetVirtualmachineCount sets VirtualmachineCount field to given value. + +### HasVirtualmachineCount + +`func (o *BriefPlatform) HasVirtualmachineCount() bool` + +HasVirtualmachineCount 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/BriefPlatformRequest.md b/docs/BriefPlatformRequest.md new file mode 100644 index 000000000..95c3de869 --- /dev/null +++ b/docs/BriefPlatformRequest.md @@ -0,0 +1,98 @@ +# BriefPlatformRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **string** | | +**Slug** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefPlatformRequest + +`func NewBriefPlatformRequest(name string, slug string, ) *BriefPlatformRequest` + +NewBriefPlatformRequest instantiates a new BriefPlatformRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefPlatformRequestWithDefaults + +`func NewBriefPlatformRequestWithDefaults() *BriefPlatformRequest` + +NewBriefPlatformRequestWithDefaults instantiates a new BriefPlatformRequest object +This 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 *BriefPlatformRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefPlatformRequest) 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 *BriefPlatformRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetSlug + +`func (o *BriefPlatformRequest) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *BriefPlatformRequest) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *BriefPlatformRequest) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetDescription + +`func (o *BriefPlatformRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefPlatformRequest) 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 *BriefPlatformRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefPlatformRequest) HasDescription() bool` + +HasDescription 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/BriefPowerPanel.md b/docs/BriefPowerPanel.md new file mode 100644 index 000000000..76914fc7a --- /dev/null +++ b/docs/BriefPowerPanel.md @@ -0,0 +1,161 @@ +# BriefPowerPanel + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Name** | **string** | | +**Description** | Pointer to **string** | | [optional] +**PowerfeedCount** | **int64** | | [readonly] + +## Methods + +### NewBriefPowerPanel + +`func NewBriefPowerPanel(id int32, url string, display string, name string, powerfeedCount int64, ) *BriefPowerPanel` + +NewBriefPowerPanel instantiates a new BriefPowerPanel object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefPowerPanelWithDefaults + +`func NewBriefPowerPanelWithDefaults() *BriefPowerPanel` + +NewBriefPowerPanelWithDefaults instantiates a new BriefPowerPanel object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefPowerPanel) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefPowerPanel) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefPowerPanel) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefPowerPanel) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefPowerPanel) 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 *BriefPowerPanel) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefPowerPanel) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefPowerPanel) 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 *BriefPowerPanel) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetName + +`func (o *BriefPowerPanel) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefPowerPanel) 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 *BriefPowerPanel) SetName(v string)` + +SetName sets Name field to given value. + + +### GetDescription + +`func (o *BriefPowerPanel) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefPowerPanel) 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 *BriefPowerPanel) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefPowerPanel) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetPowerfeedCount + +`func (o *BriefPowerPanel) GetPowerfeedCount() int64` + +GetPowerfeedCount returns the PowerfeedCount field if non-nil, zero value otherwise. + +### GetPowerfeedCountOk + +`func (o *BriefPowerPanel) GetPowerfeedCountOk() (*int64, bool)` + +GetPowerfeedCountOk returns a tuple with the PowerfeedCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPowerfeedCount + +`func (o *BriefPowerPanel) SetPowerfeedCount(v int64)` + +SetPowerfeedCount sets PowerfeedCount 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/BriefPowerPanelRequest.md b/docs/BriefPowerPanelRequest.md new file mode 100644 index 000000000..20cf4027d --- /dev/null +++ b/docs/BriefPowerPanelRequest.md @@ -0,0 +1,77 @@ +# BriefPowerPanelRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefPowerPanelRequest + +`func NewBriefPowerPanelRequest(name string, ) *BriefPowerPanelRequest` + +NewBriefPowerPanelRequest instantiates a new BriefPowerPanelRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefPowerPanelRequestWithDefaults + +`func NewBriefPowerPanelRequestWithDefaults() *BriefPowerPanelRequest` + +NewBriefPowerPanelRequestWithDefaults instantiates a new BriefPowerPanelRequest object +This 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 *BriefPowerPanelRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefPowerPanelRequest) 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 *BriefPowerPanelRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetDescription + +`func (o *BriefPowerPanelRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefPowerPanelRequest) 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 *BriefPowerPanelRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefPowerPanelRequest) HasDescription() bool` + +HasDescription 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/BriefPowerPort.md b/docs/BriefPowerPort.md new file mode 100644 index 000000000..79e23cbce --- /dev/null +++ b/docs/BriefPowerPort.md @@ -0,0 +1,213 @@ +# BriefPowerPort + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Device** | [**BriefDevice**](BriefDevice.md) | | +**Name** | **string** | | +**Description** | Pointer to **string** | | [optional] +**Cable** | [**NullableBriefCable**](BriefCable.md) | | [readonly] +**Occupied** | **bool** | | [readonly] + +## Methods + +### NewBriefPowerPort + +`func NewBriefPowerPort(id int32, url string, display string, device BriefDevice, name string, cable NullableBriefCable, occupied bool, ) *BriefPowerPort` + +NewBriefPowerPort instantiates a new BriefPowerPort object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefPowerPortWithDefaults + +`func NewBriefPowerPortWithDefaults() *BriefPowerPort` + +NewBriefPowerPortWithDefaults instantiates a new BriefPowerPort object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefPowerPort) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefPowerPort) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefPowerPort) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefPowerPort) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefPowerPort) 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 *BriefPowerPort) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefPowerPort) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefPowerPort) 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 *BriefPowerPort) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetDevice + +`func (o *BriefPowerPort) GetDevice() BriefDevice` + +GetDevice returns the Device field if non-nil, zero value otherwise. + +### GetDeviceOk + +`func (o *BriefPowerPort) GetDeviceOk() (*BriefDevice, 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 *BriefPowerPort) SetDevice(v BriefDevice)` + +SetDevice sets Device field to given value. + + +### GetName + +`func (o *BriefPowerPort) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefPowerPort) 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 *BriefPowerPort) SetName(v string)` + +SetName sets Name field to given value. + + +### GetDescription + +`func (o *BriefPowerPort) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefPowerPort) 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 *BriefPowerPort) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefPowerPort) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetCable + +`func (o *BriefPowerPort) GetCable() BriefCable` + +GetCable returns the Cable field if non-nil, zero value otherwise. + +### GetCableOk + +`func (o *BriefPowerPort) GetCableOk() (*BriefCable, bool)` + +GetCableOk returns a tuple with the Cable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCable + +`func (o *BriefPowerPort) SetCable(v BriefCable)` + +SetCable sets Cable field to given value. + + +### SetCableNil + +`func (o *BriefPowerPort) SetCableNil(b bool)` + + SetCableNil sets the value for Cable to be an explicit nil + +### UnsetCable +`func (o *BriefPowerPort) UnsetCable()` + +UnsetCable ensures that no value is present for Cable, not even an explicit nil +### GetOccupied + +`func (o *BriefPowerPort) GetOccupied() bool` + +GetOccupied returns the Occupied field if non-nil, zero value otherwise. + +### GetOccupiedOk + +`func (o *BriefPowerPort) GetOccupiedOk() (*bool, bool)` + +GetOccupiedOk returns a tuple with the Occupied field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOccupied + +`func (o *BriefPowerPort) SetOccupied(v bool)` + +SetOccupied sets Occupied 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/BriefPowerPortRequest.md b/docs/BriefPowerPortRequest.md new file mode 100644 index 000000000..885fa69e4 --- /dev/null +++ b/docs/BriefPowerPortRequest.md @@ -0,0 +1,98 @@ +# BriefPowerPortRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Device** | [**BriefDeviceRequest**](BriefDeviceRequest.md) | | +**Name** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefPowerPortRequest + +`func NewBriefPowerPortRequest(device BriefDeviceRequest, name string, ) *BriefPowerPortRequest` + +NewBriefPowerPortRequest instantiates a new BriefPowerPortRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefPowerPortRequestWithDefaults + +`func NewBriefPowerPortRequestWithDefaults() *BriefPowerPortRequest` + +NewBriefPowerPortRequestWithDefaults instantiates a new BriefPowerPortRequest object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetDevice + +`func (o *BriefPowerPortRequest) GetDevice() BriefDeviceRequest` + +GetDevice returns the Device field if non-nil, zero value otherwise. + +### GetDeviceOk + +`func (o *BriefPowerPortRequest) GetDeviceOk() (*BriefDeviceRequest, 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 *BriefPowerPortRequest) SetDevice(v BriefDeviceRequest)` + +SetDevice sets Device field to given value. + + +### GetName + +`func (o *BriefPowerPortRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefPowerPortRequest) 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 *BriefPowerPortRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetDescription + +`func (o *BriefPowerPortRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefPowerPortRequest) 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 *BriefPowerPortRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefPowerPortRequest) HasDescription() bool` + +HasDescription 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/BriefPowerPortTemplate.md b/docs/BriefPowerPortTemplate.md new file mode 100644 index 000000000..5a5772d96 --- /dev/null +++ b/docs/BriefPowerPortTemplate.md @@ -0,0 +1,140 @@ +# BriefPowerPortTemplate + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Name** | **string** | {module} is accepted as a substitution for the module bay position when attached to a module type. | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefPowerPortTemplate + +`func NewBriefPowerPortTemplate(id int32, url string, display string, name string, ) *BriefPowerPortTemplate` + +NewBriefPowerPortTemplate instantiates a new BriefPowerPortTemplate object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefPowerPortTemplateWithDefaults + +`func NewBriefPowerPortTemplateWithDefaults() *BriefPowerPortTemplate` + +NewBriefPowerPortTemplateWithDefaults instantiates a new BriefPowerPortTemplate object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefPowerPortTemplate) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefPowerPortTemplate) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefPowerPortTemplate) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefPowerPortTemplate) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefPowerPortTemplate) 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 *BriefPowerPortTemplate) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefPowerPortTemplate) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefPowerPortTemplate) 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 *BriefPowerPortTemplate) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetName + +`func (o *BriefPowerPortTemplate) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefPowerPortTemplate) 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 *BriefPowerPortTemplate) SetName(v string)` + +SetName sets Name field to given value. + + +### GetDescription + +`func (o *BriefPowerPortTemplate) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefPowerPortTemplate) 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 *BriefPowerPortTemplate) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefPowerPortTemplate) HasDescription() bool` + +HasDescription 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/BriefPowerPortTemplateRequest.md b/docs/BriefPowerPortTemplateRequest.md new file mode 100644 index 000000000..81787bb98 --- /dev/null +++ b/docs/BriefPowerPortTemplateRequest.md @@ -0,0 +1,77 @@ +# BriefPowerPortTemplateRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **string** | {module} is accepted as a substitution for the module bay position when attached to a module type. | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefPowerPortTemplateRequest + +`func NewBriefPowerPortTemplateRequest(name string, ) *BriefPowerPortTemplateRequest` + +NewBriefPowerPortTemplateRequest instantiates a new BriefPowerPortTemplateRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefPowerPortTemplateRequestWithDefaults + +`func NewBriefPowerPortTemplateRequestWithDefaults() *BriefPowerPortTemplateRequest` + +NewBriefPowerPortTemplateRequestWithDefaults instantiates a new BriefPowerPortTemplateRequest object +This 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 *BriefPowerPortTemplateRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefPowerPortTemplateRequest) 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 *BriefPowerPortTemplateRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetDescription + +`func (o *BriefPowerPortTemplateRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefPowerPortTemplateRequest) 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 *BriefPowerPortTemplateRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefPowerPortTemplateRequest) HasDescription() bool` + +HasDescription 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/BriefProvider.md b/docs/BriefProvider.md new file mode 100644 index 000000000..2b0cfad58 --- /dev/null +++ b/docs/BriefProvider.md @@ -0,0 +1,182 @@ +# BriefProvider + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Name** | **string** | Full name of the provider | +**Slug** | **string** | | +**Description** | Pointer to **string** | | [optional] +**CircuitCount** | **int64** | | [readonly] + +## Methods + +### NewBriefProvider + +`func NewBriefProvider(id int32, url string, display string, name string, slug string, circuitCount int64, ) *BriefProvider` + +NewBriefProvider instantiates a new BriefProvider object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefProviderWithDefaults + +`func NewBriefProviderWithDefaults() *BriefProvider` + +NewBriefProviderWithDefaults instantiates a new BriefProvider object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefProvider) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefProvider) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefProvider) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefProvider) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefProvider) 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 *BriefProvider) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefProvider) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefProvider) 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 *BriefProvider) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetName + +`func (o *BriefProvider) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefProvider) 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 *BriefProvider) SetName(v string)` + +SetName sets Name field to given value. + + +### GetSlug + +`func (o *BriefProvider) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *BriefProvider) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *BriefProvider) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetDescription + +`func (o *BriefProvider) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefProvider) 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 *BriefProvider) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefProvider) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetCircuitCount + +`func (o *BriefProvider) GetCircuitCount() int64` + +GetCircuitCount returns the CircuitCount field if non-nil, zero value otherwise. + +### GetCircuitCountOk + +`func (o *BriefProvider) GetCircuitCountOk() (*int64, bool)` + +GetCircuitCountOk returns a tuple with the CircuitCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCircuitCount + +`func (o *BriefProvider) SetCircuitCount(v int64)` + +SetCircuitCount sets CircuitCount 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/BriefProviderAccount.md b/docs/BriefProviderAccount.md new file mode 100644 index 000000000..98b6f9fd3 --- /dev/null +++ b/docs/BriefProviderAccount.md @@ -0,0 +1,166 @@ +# BriefProviderAccount + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Name** | Pointer to **string** | | [optional] [default to ""] +**Account** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefProviderAccount + +`func NewBriefProviderAccount(id int32, url string, display string, account string, ) *BriefProviderAccount` + +NewBriefProviderAccount instantiates a new BriefProviderAccount object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefProviderAccountWithDefaults + +`func NewBriefProviderAccountWithDefaults() *BriefProviderAccount` + +NewBriefProviderAccountWithDefaults instantiates a new BriefProviderAccount object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefProviderAccount) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefProviderAccount) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefProviderAccount) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefProviderAccount) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefProviderAccount) 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 *BriefProviderAccount) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefProviderAccount) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefProviderAccount) 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 *BriefProviderAccount) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetName + +`func (o *BriefProviderAccount) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefProviderAccount) 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 *BriefProviderAccount) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *BriefProviderAccount) HasName() bool` + +HasName returns a boolean if a field has been set. + +### GetAccount + +`func (o *BriefProviderAccount) GetAccount() string` + +GetAccount returns the Account field if non-nil, zero value otherwise. + +### GetAccountOk + +`func (o *BriefProviderAccount) GetAccountOk() (*string, bool)` + +GetAccountOk returns a tuple with the Account field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAccount + +`func (o *BriefProviderAccount) SetAccount(v string)` + +SetAccount sets Account field to given value. + + +### GetDescription + +`func (o *BriefProviderAccount) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefProviderAccount) 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 *BriefProviderAccount) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefProviderAccount) HasDescription() bool` + +HasDescription 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/BriefProviderAccountRequest.md b/docs/BriefProviderAccountRequest.md new file mode 100644 index 000000000..72b16517a --- /dev/null +++ b/docs/BriefProviderAccountRequest.md @@ -0,0 +1,103 @@ +# BriefProviderAccountRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | Pointer to **string** | | [optional] [default to ""] +**Account** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefProviderAccountRequest + +`func NewBriefProviderAccountRequest(account string, ) *BriefProviderAccountRequest` + +NewBriefProviderAccountRequest instantiates a new BriefProviderAccountRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefProviderAccountRequestWithDefaults + +`func NewBriefProviderAccountRequestWithDefaults() *BriefProviderAccountRequest` + +NewBriefProviderAccountRequestWithDefaults instantiates a new BriefProviderAccountRequest object +This 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 *BriefProviderAccountRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefProviderAccountRequest) 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 *BriefProviderAccountRequest) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *BriefProviderAccountRequest) HasName() bool` + +HasName returns a boolean if a field has been set. + +### GetAccount + +`func (o *BriefProviderAccountRequest) GetAccount() string` + +GetAccount returns the Account field if non-nil, zero value otherwise. + +### GetAccountOk + +`func (o *BriefProviderAccountRequest) GetAccountOk() (*string, bool)` + +GetAccountOk returns a tuple with the Account field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAccount + +`func (o *BriefProviderAccountRequest) SetAccount(v string)` + +SetAccount sets Account field to given value. + + +### GetDescription + +`func (o *BriefProviderAccountRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefProviderAccountRequest) 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 *BriefProviderAccountRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefProviderAccountRequest) HasDescription() bool` + +HasDescription 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/BriefProviderNetwork.md b/docs/BriefProviderNetwork.md new file mode 100644 index 000000000..b7f37a3d3 --- /dev/null +++ b/docs/BriefProviderNetwork.md @@ -0,0 +1,140 @@ +# BriefProviderNetwork + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Name** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefProviderNetwork + +`func NewBriefProviderNetwork(id int32, url string, display string, name string, ) *BriefProviderNetwork` + +NewBriefProviderNetwork instantiates a new BriefProviderNetwork object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefProviderNetworkWithDefaults + +`func NewBriefProviderNetworkWithDefaults() *BriefProviderNetwork` + +NewBriefProviderNetworkWithDefaults instantiates a new BriefProviderNetwork object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefProviderNetwork) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefProviderNetwork) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefProviderNetwork) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefProviderNetwork) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefProviderNetwork) 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 *BriefProviderNetwork) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefProviderNetwork) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefProviderNetwork) 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 *BriefProviderNetwork) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetName + +`func (o *BriefProviderNetwork) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefProviderNetwork) 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 *BriefProviderNetwork) SetName(v string)` + +SetName sets Name field to given value. + + +### GetDescription + +`func (o *BriefProviderNetwork) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefProviderNetwork) 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 *BriefProviderNetwork) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefProviderNetwork) HasDescription() bool` + +HasDescription 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/BriefProviderNetworkRequest.md b/docs/BriefProviderNetworkRequest.md new file mode 100644 index 000000000..cb801a067 --- /dev/null +++ b/docs/BriefProviderNetworkRequest.md @@ -0,0 +1,77 @@ +# BriefProviderNetworkRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefProviderNetworkRequest + +`func NewBriefProviderNetworkRequest(name string, ) *BriefProviderNetworkRequest` + +NewBriefProviderNetworkRequest instantiates a new BriefProviderNetworkRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefProviderNetworkRequestWithDefaults + +`func NewBriefProviderNetworkRequestWithDefaults() *BriefProviderNetworkRequest` + +NewBriefProviderNetworkRequestWithDefaults instantiates a new BriefProviderNetworkRequest object +This 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 *BriefProviderNetworkRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefProviderNetworkRequest) 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 *BriefProviderNetworkRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetDescription + +`func (o *BriefProviderNetworkRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefProviderNetworkRequest) 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 *BriefProviderNetworkRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefProviderNetworkRequest) HasDescription() bool` + +HasDescription 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/BriefProviderRequest.md b/docs/BriefProviderRequest.md new file mode 100644 index 000000000..86e8b0824 --- /dev/null +++ b/docs/BriefProviderRequest.md @@ -0,0 +1,98 @@ +# BriefProviderRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **string** | Full name of the provider | +**Slug** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefProviderRequest + +`func NewBriefProviderRequest(name string, slug string, ) *BriefProviderRequest` + +NewBriefProviderRequest instantiates a new BriefProviderRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefProviderRequestWithDefaults + +`func NewBriefProviderRequestWithDefaults() *BriefProviderRequest` + +NewBriefProviderRequestWithDefaults instantiates a new BriefProviderRequest object +This 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 *BriefProviderRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefProviderRequest) 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 *BriefProviderRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetSlug + +`func (o *BriefProviderRequest) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *BriefProviderRequest) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *BriefProviderRequest) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetDescription + +`func (o *BriefProviderRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefProviderRequest) 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 *BriefProviderRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefProviderRequest) HasDescription() bool` + +HasDescription 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/BriefRIR.md b/docs/BriefRIR.md new file mode 100644 index 000000000..30084ad67 --- /dev/null +++ b/docs/BriefRIR.md @@ -0,0 +1,182 @@ +# BriefRIR + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Name** | **string** | | +**Slug** | **string** | | +**Description** | Pointer to **string** | | [optional] +**AggregateCount** | **int64** | | [readonly] + +## Methods + +### NewBriefRIR + +`func NewBriefRIR(id int32, url string, display string, name string, slug string, aggregateCount int64, ) *BriefRIR` + +NewBriefRIR instantiates a new BriefRIR object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefRIRWithDefaults + +`func NewBriefRIRWithDefaults() *BriefRIR` + +NewBriefRIRWithDefaults instantiates a new BriefRIR object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefRIR) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefRIR) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefRIR) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefRIR) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefRIR) 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 *BriefRIR) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefRIR) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefRIR) 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 *BriefRIR) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetName + +`func (o *BriefRIR) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefRIR) 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 *BriefRIR) SetName(v string)` + +SetName sets Name field to given value. + + +### GetSlug + +`func (o *BriefRIR) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *BriefRIR) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *BriefRIR) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetDescription + +`func (o *BriefRIR) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefRIR) 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 *BriefRIR) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefRIR) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetAggregateCount + +`func (o *BriefRIR) GetAggregateCount() int64` + +GetAggregateCount returns the AggregateCount field if non-nil, zero value otherwise. + +### GetAggregateCountOk + +`func (o *BriefRIR) GetAggregateCountOk() (*int64, bool)` + +GetAggregateCountOk returns a tuple with the AggregateCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAggregateCount + +`func (o *BriefRIR) SetAggregateCount(v int64)` + +SetAggregateCount sets AggregateCount 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/BriefRIRRequest.md b/docs/BriefRIRRequest.md new file mode 100644 index 000000000..b22e58156 --- /dev/null +++ b/docs/BriefRIRRequest.md @@ -0,0 +1,98 @@ +# BriefRIRRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **string** | | +**Slug** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefRIRRequest + +`func NewBriefRIRRequest(name string, slug string, ) *BriefRIRRequest` + +NewBriefRIRRequest instantiates a new BriefRIRRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefRIRRequestWithDefaults + +`func NewBriefRIRRequestWithDefaults() *BriefRIRRequest` + +NewBriefRIRRequestWithDefaults instantiates a new BriefRIRRequest object +This 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 *BriefRIRRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefRIRRequest) 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 *BriefRIRRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetSlug + +`func (o *BriefRIRRequest) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *BriefRIRRequest) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *BriefRIRRequest) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetDescription + +`func (o *BriefRIRRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefRIRRequest) 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 *BriefRIRRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefRIRRequest) HasDescription() bool` + +HasDescription 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/BriefRack.md b/docs/BriefRack.md new file mode 100644 index 000000000..a3245e2e9 --- /dev/null +++ b/docs/BriefRack.md @@ -0,0 +1,166 @@ +# BriefRack + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Name** | **string** | | +**Description** | Pointer to **string** | | [optional] +**DeviceCount** | Pointer to **int64** | | [optional] [readonly] + +## Methods + +### NewBriefRack + +`func NewBriefRack(id int32, url string, display string, name string, ) *BriefRack` + +NewBriefRack instantiates a new BriefRack object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefRackWithDefaults + +`func NewBriefRackWithDefaults() *BriefRack` + +NewBriefRackWithDefaults instantiates a new BriefRack object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefRack) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefRack) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefRack) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefRack) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefRack) 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 *BriefRack) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefRack) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefRack) 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 *BriefRack) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetName + +`func (o *BriefRack) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefRack) 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 *BriefRack) SetName(v string)` + +SetName sets Name field to given value. + + +### GetDescription + +`func (o *BriefRack) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefRack) 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 *BriefRack) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefRack) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetDeviceCount + +`func (o *BriefRack) GetDeviceCount() int64` + +GetDeviceCount returns the DeviceCount field if non-nil, zero value otherwise. + +### GetDeviceCountOk + +`func (o *BriefRack) GetDeviceCountOk() (*int64, bool)` + +GetDeviceCountOk returns a tuple with the DeviceCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDeviceCount + +`func (o *BriefRack) SetDeviceCount(v int64)` + +SetDeviceCount sets DeviceCount field to given value. + +### HasDeviceCount + +`func (o *BriefRack) HasDeviceCount() bool` + +HasDeviceCount 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/BriefRackRequest.md b/docs/BriefRackRequest.md new file mode 100644 index 000000000..a36044006 --- /dev/null +++ b/docs/BriefRackRequest.md @@ -0,0 +1,77 @@ +# BriefRackRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefRackRequest + +`func NewBriefRackRequest(name string, ) *BriefRackRequest` + +NewBriefRackRequest instantiates a new BriefRackRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefRackRequestWithDefaults + +`func NewBriefRackRequestWithDefaults() *BriefRackRequest` + +NewBriefRackRequestWithDefaults instantiates a new BriefRackRequest object +This 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 *BriefRackRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefRackRequest) 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 *BriefRackRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetDescription + +`func (o *BriefRackRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefRackRequest) 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 *BriefRackRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefRackRequest) HasDescription() bool` + +HasDescription 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/BriefRackRole.md b/docs/BriefRackRole.md new file mode 100644 index 000000000..8b1cd4fb9 --- /dev/null +++ b/docs/BriefRackRole.md @@ -0,0 +1,182 @@ +# BriefRackRole + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Name** | **string** | | +**Slug** | **string** | | +**Description** | Pointer to **string** | | [optional] +**RackCount** | **int64** | | [readonly] + +## Methods + +### NewBriefRackRole + +`func NewBriefRackRole(id int32, url string, display string, name string, slug string, rackCount int64, ) *BriefRackRole` + +NewBriefRackRole instantiates a new BriefRackRole object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefRackRoleWithDefaults + +`func NewBriefRackRoleWithDefaults() *BriefRackRole` + +NewBriefRackRoleWithDefaults instantiates a new BriefRackRole object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefRackRole) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefRackRole) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefRackRole) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefRackRole) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefRackRole) 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 *BriefRackRole) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefRackRole) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefRackRole) 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 *BriefRackRole) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetName + +`func (o *BriefRackRole) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefRackRole) 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 *BriefRackRole) SetName(v string)` + +SetName sets Name field to given value. + + +### GetSlug + +`func (o *BriefRackRole) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *BriefRackRole) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *BriefRackRole) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetDescription + +`func (o *BriefRackRole) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefRackRole) 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 *BriefRackRole) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefRackRole) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetRackCount + +`func (o *BriefRackRole) GetRackCount() int64` + +GetRackCount returns the RackCount field if non-nil, zero value otherwise. + +### GetRackCountOk + +`func (o *BriefRackRole) GetRackCountOk() (*int64, bool)` + +GetRackCountOk returns a tuple with the RackCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRackCount + +`func (o *BriefRackRole) SetRackCount(v int64)` + +SetRackCount sets RackCount 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/BriefRackRoleRequest.md b/docs/BriefRackRoleRequest.md new file mode 100644 index 000000000..9b1a04ce2 --- /dev/null +++ b/docs/BriefRackRoleRequest.md @@ -0,0 +1,98 @@ +# BriefRackRoleRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **string** | | +**Slug** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefRackRoleRequest + +`func NewBriefRackRoleRequest(name string, slug string, ) *BriefRackRoleRequest` + +NewBriefRackRoleRequest instantiates a new BriefRackRoleRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefRackRoleRequestWithDefaults + +`func NewBriefRackRoleRequestWithDefaults() *BriefRackRoleRequest` + +NewBriefRackRoleRequestWithDefaults instantiates a new BriefRackRoleRequest object +This 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 *BriefRackRoleRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefRackRoleRequest) 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 *BriefRackRoleRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetSlug + +`func (o *BriefRackRoleRequest) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *BriefRackRoleRequest) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *BriefRackRoleRequest) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetDescription + +`func (o *BriefRackRoleRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefRackRoleRequest) 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 *BriefRackRoleRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefRackRoleRequest) HasDescription() bool` + +HasDescription 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/BriefRackType.md b/docs/BriefRackType.md new file mode 100644 index 000000000..a2c5e0a41 --- /dev/null +++ b/docs/BriefRackType.md @@ -0,0 +1,182 @@ +# BriefRackType + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Manufacturer** | [**BriefManufacturer**](BriefManufacturer.md) | | +**Model** | **string** | | +**Slug** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefRackType + +`func NewBriefRackType(id int32, url string, display string, manufacturer BriefManufacturer, model string, slug string, ) *BriefRackType` + +NewBriefRackType instantiates a new BriefRackType object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefRackTypeWithDefaults + +`func NewBriefRackTypeWithDefaults() *BriefRackType` + +NewBriefRackTypeWithDefaults instantiates a new BriefRackType object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefRackType) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefRackType) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefRackType) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefRackType) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefRackType) 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 *BriefRackType) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefRackType) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefRackType) 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 *BriefRackType) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetManufacturer + +`func (o *BriefRackType) GetManufacturer() BriefManufacturer` + +GetManufacturer returns the Manufacturer field if non-nil, zero value otherwise. + +### GetManufacturerOk + +`func (o *BriefRackType) GetManufacturerOk() (*BriefManufacturer, bool)` + +GetManufacturerOk returns a tuple with the Manufacturer field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetManufacturer + +`func (o *BriefRackType) SetManufacturer(v BriefManufacturer)` + +SetManufacturer sets Manufacturer field to given value. + + +### GetModel + +`func (o *BriefRackType) GetModel() string` + +GetModel returns the Model field if non-nil, zero value otherwise. + +### GetModelOk + +`func (o *BriefRackType) GetModelOk() (*string, bool)` + +GetModelOk returns a tuple with the Model field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetModel + +`func (o *BriefRackType) SetModel(v string)` + +SetModel sets Model field to given value. + + +### GetSlug + +`func (o *BriefRackType) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *BriefRackType) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *BriefRackType) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetDescription + +`func (o *BriefRackType) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefRackType) 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 *BriefRackType) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefRackType) HasDescription() bool` + +HasDescription 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/BriefRackTypeRequest.md b/docs/BriefRackTypeRequest.md new file mode 100644 index 000000000..5cfa32e38 --- /dev/null +++ b/docs/BriefRackTypeRequest.md @@ -0,0 +1,119 @@ +# BriefRackTypeRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Manufacturer** | [**BriefManufacturerRequest**](BriefManufacturerRequest.md) | | +**Model** | **string** | | +**Slug** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefRackTypeRequest + +`func NewBriefRackTypeRequest(manufacturer BriefManufacturerRequest, model string, slug string, ) *BriefRackTypeRequest` + +NewBriefRackTypeRequest instantiates a new BriefRackTypeRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefRackTypeRequestWithDefaults + +`func NewBriefRackTypeRequestWithDefaults() *BriefRackTypeRequest` + +NewBriefRackTypeRequestWithDefaults instantiates a new BriefRackTypeRequest object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetManufacturer + +`func (o *BriefRackTypeRequest) GetManufacturer() BriefManufacturerRequest` + +GetManufacturer returns the Manufacturer field if non-nil, zero value otherwise. + +### GetManufacturerOk + +`func (o *BriefRackTypeRequest) GetManufacturerOk() (*BriefManufacturerRequest, bool)` + +GetManufacturerOk returns a tuple with the Manufacturer field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetManufacturer + +`func (o *BriefRackTypeRequest) SetManufacturer(v BriefManufacturerRequest)` + +SetManufacturer sets Manufacturer field to given value. + + +### GetModel + +`func (o *BriefRackTypeRequest) GetModel() string` + +GetModel returns the Model field if non-nil, zero value otherwise. + +### GetModelOk + +`func (o *BriefRackTypeRequest) GetModelOk() (*string, bool)` + +GetModelOk returns a tuple with the Model field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetModel + +`func (o *BriefRackTypeRequest) SetModel(v string)` + +SetModel sets Model field to given value. + + +### GetSlug + +`func (o *BriefRackTypeRequest) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *BriefRackTypeRequest) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *BriefRackTypeRequest) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetDescription + +`func (o *BriefRackTypeRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefRackTypeRequest) 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 *BriefRackTypeRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefRackTypeRequest) HasDescription() bool` + +HasDescription 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/BriefRearPortTemplate.md b/docs/BriefRearPortTemplate.md new file mode 100644 index 000000000..3849d33c2 --- /dev/null +++ b/docs/BriefRearPortTemplate.md @@ -0,0 +1,140 @@ +# BriefRearPortTemplate + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Name** | **string** | {module} is accepted as a substitution for the module bay position when attached to a module type. | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefRearPortTemplate + +`func NewBriefRearPortTemplate(id int32, url string, display string, name string, ) *BriefRearPortTemplate` + +NewBriefRearPortTemplate instantiates a new BriefRearPortTemplate object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefRearPortTemplateWithDefaults + +`func NewBriefRearPortTemplateWithDefaults() *BriefRearPortTemplate` + +NewBriefRearPortTemplateWithDefaults instantiates a new BriefRearPortTemplate object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefRearPortTemplate) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefRearPortTemplate) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefRearPortTemplate) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefRearPortTemplate) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefRearPortTemplate) 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 *BriefRearPortTemplate) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefRearPortTemplate) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefRearPortTemplate) 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 *BriefRearPortTemplate) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetName + +`func (o *BriefRearPortTemplate) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefRearPortTemplate) 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 *BriefRearPortTemplate) SetName(v string)` + +SetName sets Name field to given value. + + +### GetDescription + +`func (o *BriefRearPortTemplate) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefRearPortTemplate) 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 *BriefRearPortTemplate) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefRearPortTemplate) HasDescription() bool` + +HasDescription 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/BriefRearPortTemplateRequest.md b/docs/BriefRearPortTemplateRequest.md new file mode 100644 index 000000000..8c0720a7e --- /dev/null +++ b/docs/BriefRearPortTemplateRequest.md @@ -0,0 +1,77 @@ +# BriefRearPortTemplateRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **string** | {module} is accepted as a substitution for the module bay position when attached to a module type. | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefRearPortTemplateRequest + +`func NewBriefRearPortTemplateRequest(name string, ) *BriefRearPortTemplateRequest` + +NewBriefRearPortTemplateRequest instantiates a new BriefRearPortTemplateRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefRearPortTemplateRequestWithDefaults + +`func NewBriefRearPortTemplateRequestWithDefaults() *BriefRearPortTemplateRequest` + +NewBriefRearPortTemplateRequestWithDefaults instantiates a new BriefRearPortTemplateRequest object +This 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 *BriefRearPortTemplateRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefRearPortTemplateRequest) 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 *BriefRearPortTemplateRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetDescription + +`func (o *BriefRearPortTemplateRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefRearPortTemplateRequest) 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 *BriefRearPortTemplateRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefRearPortTemplateRequest) HasDescription() bool` + +HasDescription 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/BriefRegion.md b/docs/BriefRegion.md new file mode 100644 index 000000000..a77d1bcf3 --- /dev/null +++ b/docs/BriefRegion.md @@ -0,0 +1,203 @@ +# BriefRegion + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Name** | **string** | | +**Slug** | **string** | | +**Description** | Pointer to **string** | | [optional] +**SiteCount** | **int32** | | [readonly] [default to 0] +**Depth** | **int32** | | [readonly] + +## Methods + +### NewBriefRegion + +`func NewBriefRegion(id int32, url string, display string, name string, slug string, siteCount int32, depth int32, ) *BriefRegion` + +NewBriefRegion instantiates a new BriefRegion object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefRegionWithDefaults + +`func NewBriefRegionWithDefaults() *BriefRegion` + +NewBriefRegionWithDefaults instantiates a new BriefRegion object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefRegion) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefRegion) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefRegion) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefRegion) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefRegion) 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 *BriefRegion) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefRegion) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefRegion) 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 *BriefRegion) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetName + +`func (o *BriefRegion) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefRegion) 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 *BriefRegion) SetName(v string)` + +SetName sets Name field to given value. + + +### GetSlug + +`func (o *BriefRegion) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *BriefRegion) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *BriefRegion) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetDescription + +`func (o *BriefRegion) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefRegion) 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 *BriefRegion) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefRegion) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetSiteCount + +`func (o *BriefRegion) GetSiteCount() int32` + +GetSiteCount returns the SiteCount field if non-nil, zero value otherwise. + +### GetSiteCountOk + +`func (o *BriefRegion) GetSiteCountOk() (*int32, bool)` + +GetSiteCountOk returns a tuple with the SiteCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSiteCount + +`func (o *BriefRegion) SetSiteCount(v int32)` + +SetSiteCount sets SiteCount field to given value. + + +### GetDepth + +`func (o *BriefRegion) GetDepth() int32` + +GetDepth returns the Depth field if non-nil, zero value otherwise. + +### GetDepthOk + +`func (o *BriefRegion) GetDepthOk() (*int32, bool)` + +GetDepthOk returns a tuple with the Depth field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDepth + +`func (o *BriefRegion) SetDepth(v int32)` + +SetDepth sets Depth 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/BriefRegionRequest.md b/docs/BriefRegionRequest.md new file mode 100644 index 000000000..eef94bb0d --- /dev/null +++ b/docs/BriefRegionRequest.md @@ -0,0 +1,98 @@ +# BriefRegionRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **string** | | +**Slug** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefRegionRequest + +`func NewBriefRegionRequest(name string, slug string, ) *BriefRegionRequest` + +NewBriefRegionRequest instantiates a new BriefRegionRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefRegionRequestWithDefaults + +`func NewBriefRegionRequestWithDefaults() *BriefRegionRequest` + +NewBriefRegionRequestWithDefaults instantiates a new BriefRegionRequest object +This 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 *BriefRegionRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefRegionRequest) 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 *BriefRegionRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetSlug + +`func (o *BriefRegionRequest) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *BriefRegionRequest) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *BriefRegionRequest) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetDescription + +`func (o *BriefRegionRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefRegionRequest) 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 *BriefRegionRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefRegionRequest) HasDescription() bool` + +HasDescription 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/BriefRole.md b/docs/BriefRole.md new file mode 100644 index 000000000..9f7e0ed31 --- /dev/null +++ b/docs/BriefRole.md @@ -0,0 +1,213 @@ +# BriefRole + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Name** | **string** | | +**Slug** | **string** | | +**Description** | Pointer to **string** | | [optional] +**PrefixCount** | Pointer to **int64** | | [optional] [readonly] +**VlanCount** | Pointer to **int64** | | [optional] [readonly] + +## Methods + +### NewBriefRole + +`func NewBriefRole(id int32, url string, display string, name string, slug string, ) *BriefRole` + +NewBriefRole instantiates a new BriefRole object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefRoleWithDefaults + +`func NewBriefRoleWithDefaults() *BriefRole` + +NewBriefRoleWithDefaults instantiates a new BriefRole object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefRole) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefRole) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefRole) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefRole) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefRole) 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 *BriefRole) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefRole) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefRole) 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 *BriefRole) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetName + +`func (o *BriefRole) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefRole) 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 *BriefRole) SetName(v string)` + +SetName sets Name field to given value. + + +### GetSlug + +`func (o *BriefRole) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *BriefRole) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *BriefRole) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetDescription + +`func (o *BriefRole) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefRole) 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 *BriefRole) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefRole) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetPrefixCount + +`func (o *BriefRole) GetPrefixCount() int64` + +GetPrefixCount returns the PrefixCount field if non-nil, zero value otherwise. + +### GetPrefixCountOk + +`func (o *BriefRole) GetPrefixCountOk() (*int64, bool)` + +GetPrefixCountOk returns a tuple with the PrefixCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPrefixCount + +`func (o *BriefRole) SetPrefixCount(v int64)` + +SetPrefixCount sets PrefixCount field to given value. + +### HasPrefixCount + +`func (o *BriefRole) HasPrefixCount() bool` + +HasPrefixCount returns a boolean if a field has been set. + +### GetVlanCount + +`func (o *BriefRole) GetVlanCount() int64` + +GetVlanCount returns the VlanCount field if non-nil, zero value otherwise. + +### GetVlanCountOk + +`func (o *BriefRole) GetVlanCountOk() (*int64, bool)` + +GetVlanCountOk returns a tuple with the VlanCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVlanCount + +`func (o *BriefRole) SetVlanCount(v int64)` + +SetVlanCount sets VlanCount field to given value. + +### HasVlanCount + +`func (o *BriefRole) HasVlanCount() bool` + +HasVlanCount 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/BriefRoleRequest.md b/docs/BriefRoleRequest.md new file mode 100644 index 000000000..e42a2bccf --- /dev/null +++ b/docs/BriefRoleRequest.md @@ -0,0 +1,98 @@ +# BriefRoleRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **string** | | +**Slug** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefRoleRequest + +`func NewBriefRoleRequest(name string, slug string, ) *BriefRoleRequest` + +NewBriefRoleRequest instantiates a new BriefRoleRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefRoleRequestWithDefaults + +`func NewBriefRoleRequestWithDefaults() *BriefRoleRequest` + +NewBriefRoleRequestWithDefaults instantiates a new BriefRoleRequest object +This 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 *BriefRoleRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefRoleRequest) 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 *BriefRoleRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetSlug + +`func (o *BriefRoleRequest) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *BriefRoleRequest) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *BriefRoleRequest) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetDescription + +`func (o *BriefRoleRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefRoleRequest) 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 *BriefRoleRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefRoleRequest) HasDescription() bool` + +HasDescription 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/BriefSite.md b/docs/BriefSite.md new file mode 100644 index 000000000..16f9519a0 --- /dev/null +++ b/docs/BriefSite.md @@ -0,0 +1,161 @@ +# BriefSite + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Name** | **string** | Full name of the site | +**Slug** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefSite + +`func NewBriefSite(id int32, url string, display string, name string, slug string, ) *BriefSite` + +NewBriefSite instantiates a new BriefSite object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefSiteWithDefaults + +`func NewBriefSiteWithDefaults() *BriefSite` + +NewBriefSiteWithDefaults instantiates a new BriefSite object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefSite) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefSite) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefSite) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefSite) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefSite) 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 *BriefSite) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefSite) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefSite) 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 *BriefSite) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetName + +`func (o *BriefSite) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefSite) 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 *BriefSite) SetName(v string)` + +SetName sets Name field to given value. + + +### GetSlug + +`func (o *BriefSite) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *BriefSite) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *BriefSite) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetDescription + +`func (o *BriefSite) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefSite) 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 *BriefSite) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefSite) HasDescription() bool` + +HasDescription 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/BriefSiteGroup.md b/docs/BriefSiteGroup.md new file mode 100644 index 000000000..72c29685d --- /dev/null +++ b/docs/BriefSiteGroup.md @@ -0,0 +1,203 @@ +# BriefSiteGroup + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Name** | **string** | | +**Slug** | **string** | | +**Description** | Pointer to **string** | | [optional] +**SiteCount** | **int32** | | [readonly] [default to 0] +**Depth** | **int32** | | [readonly] + +## Methods + +### NewBriefSiteGroup + +`func NewBriefSiteGroup(id int32, url string, display string, name string, slug string, siteCount int32, depth int32, ) *BriefSiteGroup` + +NewBriefSiteGroup instantiates a new BriefSiteGroup object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefSiteGroupWithDefaults + +`func NewBriefSiteGroupWithDefaults() *BriefSiteGroup` + +NewBriefSiteGroupWithDefaults instantiates a new BriefSiteGroup object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefSiteGroup) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefSiteGroup) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefSiteGroup) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefSiteGroup) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefSiteGroup) 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 *BriefSiteGroup) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefSiteGroup) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefSiteGroup) 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 *BriefSiteGroup) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetName + +`func (o *BriefSiteGroup) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefSiteGroup) 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 *BriefSiteGroup) SetName(v string)` + +SetName sets Name field to given value. + + +### GetSlug + +`func (o *BriefSiteGroup) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *BriefSiteGroup) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *BriefSiteGroup) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetDescription + +`func (o *BriefSiteGroup) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefSiteGroup) 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 *BriefSiteGroup) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefSiteGroup) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetSiteCount + +`func (o *BriefSiteGroup) GetSiteCount() int32` + +GetSiteCount returns the SiteCount field if non-nil, zero value otherwise. + +### GetSiteCountOk + +`func (o *BriefSiteGroup) GetSiteCountOk() (*int32, bool)` + +GetSiteCountOk returns a tuple with the SiteCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSiteCount + +`func (o *BriefSiteGroup) SetSiteCount(v int32)` + +SetSiteCount sets SiteCount field to given value. + + +### GetDepth + +`func (o *BriefSiteGroup) GetDepth() int32` + +GetDepth returns the Depth field if non-nil, zero value otherwise. + +### GetDepthOk + +`func (o *BriefSiteGroup) GetDepthOk() (*int32, bool)` + +GetDepthOk returns a tuple with the Depth field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDepth + +`func (o *BriefSiteGroup) SetDepth(v int32)` + +SetDepth sets Depth 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/BriefSiteGroupRequest.md b/docs/BriefSiteGroupRequest.md new file mode 100644 index 000000000..b1c35391d --- /dev/null +++ b/docs/BriefSiteGroupRequest.md @@ -0,0 +1,98 @@ +# BriefSiteGroupRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **string** | | +**Slug** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefSiteGroupRequest + +`func NewBriefSiteGroupRequest(name string, slug string, ) *BriefSiteGroupRequest` + +NewBriefSiteGroupRequest instantiates a new BriefSiteGroupRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefSiteGroupRequestWithDefaults + +`func NewBriefSiteGroupRequestWithDefaults() *BriefSiteGroupRequest` + +NewBriefSiteGroupRequestWithDefaults instantiates a new BriefSiteGroupRequest object +This 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 *BriefSiteGroupRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefSiteGroupRequest) 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 *BriefSiteGroupRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetSlug + +`func (o *BriefSiteGroupRequest) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *BriefSiteGroupRequest) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *BriefSiteGroupRequest) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetDescription + +`func (o *BriefSiteGroupRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefSiteGroupRequest) 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 *BriefSiteGroupRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefSiteGroupRequest) HasDescription() bool` + +HasDescription 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/BriefSiteRequest.md b/docs/BriefSiteRequest.md new file mode 100644 index 000000000..bf692187b --- /dev/null +++ b/docs/BriefSiteRequest.md @@ -0,0 +1,98 @@ +# BriefSiteRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **string** | Full name of the site | +**Slug** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefSiteRequest + +`func NewBriefSiteRequest(name string, slug string, ) *BriefSiteRequest` + +NewBriefSiteRequest instantiates a new BriefSiteRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefSiteRequestWithDefaults + +`func NewBriefSiteRequestWithDefaults() *BriefSiteRequest` + +NewBriefSiteRequestWithDefaults instantiates a new BriefSiteRequest object +This 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 *BriefSiteRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefSiteRequest) 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 *BriefSiteRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetSlug + +`func (o *BriefSiteRequest) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *BriefSiteRequest) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *BriefSiteRequest) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetDescription + +`func (o *BriefSiteRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefSiteRequest) 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 *BriefSiteRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefSiteRequest) HasDescription() bool` + +HasDescription 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/BriefTenant.md b/docs/BriefTenant.md new file mode 100644 index 000000000..19156dfc0 --- /dev/null +++ b/docs/BriefTenant.md @@ -0,0 +1,161 @@ +# BriefTenant + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Name** | **string** | | +**Slug** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefTenant + +`func NewBriefTenant(id int32, url string, display string, name string, slug string, ) *BriefTenant` + +NewBriefTenant instantiates a new BriefTenant object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefTenantWithDefaults + +`func NewBriefTenantWithDefaults() *BriefTenant` + +NewBriefTenantWithDefaults instantiates a new BriefTenant object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefTenant) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefTenant) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefTenant) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefTenant) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefTenant) 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 *BriefTenant) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefTenant) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefTenant) 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 *BriefTenant) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetName + +`func (o *BriefTenant) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefTenant) 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 *BriefTenant) SetName(v string)` + +SetName sets Name field to given value. + + +### GetSlug + +`func (o *BriefTenant) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *BriefTenant) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *BriefTenant) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetDescription + +`func (o *BriefTenant) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefTenant) 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 *BriefTenant) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefTenant) HasDescription() bool` + +HasDescription 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/BriefTenantGroup.md b/docs/BriefTenantGroup.md new file mode 100644 index 000000000..513eb6956 --- /dev/null +++ b/docs/BriefTenantGroup.md @@ -0,0 +1,203 @@ +# BriefTenantGroup + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Name** | **string** | | +**Slug** | **string** | | +**Description** | Pointer to **string** | | [optional] +**TenantCount** | **int32** | | [readonly] [default to 0] +**Depth** | **int32** | | [readonly] + +## Methods + +### NewBriefTenantGroup + +`func NewBriefTenantGroup(id int32, url string, display string, name string, slug string, tenantCount int32, depth int32, ) *BriefTenantGroup` + +NewBriefTenantGroup instantiates a new BriefTenantGroup object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefTenantGroupWithDefaults + +`func NewBriefTenantGroupWithDefaults() *BriefTenantGroup` + +NewBriefTenantGroupWithDefaults instantiates a new BriefTenantGroup object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefTenantGroup) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefTenantGroup) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefTenantGroup) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefTenantGroup) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefTenantGroup) 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 *BriefTenantGroup) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefTenantGroup) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefTenantGroup) 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 *BriefTenantGroup) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetName + +`func (o *BriefTenantGroup) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefTenantGroup) 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 *BriefTenantGroup) SetName(v string)` + +SetName sets Name field to given value. + + +### GetSlug + +`func (o *BriefTenantGroup) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *BriefTenantGroup) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *BriefTenantGroup) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetDescription + +`func (o *BriefTenantGroup) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefTenantGroup) 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 *BriefTenantGroup) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefTenantGroup) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetTenantCount + +`func (o *BriefTenantGroup) GetTenantCount() int32` + +GetTenantCount returns the TenantCount field if non-nil, zero value otherwise. + +### GetTenantCountOk + +`func (o *BriefTenantGroup) GetTenantCountOk() (*int32, bool)` + +GetTenantCountOk returns a tuple with the TenantCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTenantCount + +`func (o *BriefTenantGroup) SetTenantCount(v int32)` + +SetTenantCount sets TenantCount field to given value. + + +### GetDepth + +`func (o *BriefTenantGroup) GetDepth() int32` + +GetDepth returns the Depth field if non-nil, zero value otherwise. + +### GetDepthOk + +`func (o *BriefTenantGroup) GetDepthOk() (*int32, bool)` + +GetDepthOk returns a tuple with the Depth field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDepth + +`func (o *BriefTenantGroup) SetDepth(v int32)` + +SetDepth sets Depth 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/BriefTenantGroupRequest.md b/docs/BriefTenantGroupRequest.md new file mode 100644 index 000000000..2db94d120 --- /dev/null +++ b/docs/BriefTenantGroupRequest.md @@ -0,0 +1,98 @@ +# BriefTenantGroupRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **string** | | +**Slug** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefTenantGroupRequest + +`func NewBriefTenantGroupRequest(name string, slug string, ) *BriefTenantGroupRequest` + +NewBriefTenantGroupRequest instantiates a new BriefTenantGroupRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefTenantGroupRequestWithDefaults + +`func NewBriefTenantGroupRequestWithDefaults() *BriefTenantGroupRequest` + +NewBriefTenantGroupRequestWithDefaults instantiates a new BriefTenantGroupRequest object +This 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 *BriefTenantGroupRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefTenantGroupRequest) 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 *BriefTenantGroupRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetSlug + +`func (o *BriefTenantGroupRequest) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *BriefTenantGroupRequest) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *BriefTenantGroupRequest) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetDescription + +`func (o *BriefTenantGroupRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefTenantGroupRequest) 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 *BriefTenantGroupRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefTenantGroupRequest) HasDescription() bool` + +HasDescription 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/BriefTenantRequest.md b/docs/BriefTenantRequest.md new file mode 100644 index 000000000..5c45f3814 --- /dev/null +++ b/docs/BriefTenantRequest.md @@ -0,0 +1,98 @@ +# BriefTenantRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **string** | | +**Slug** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefTenantRequest + +`func NewBriefTenantRequest(name string, slug string, ) *BriefTenantRequest` + +NewBriefTenantRequest instantiates a new BriefTenantRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefTenantRequestWithDefaults + +`func NewBriefTenantRequestWithDefaults() *BriefTenantRequest` + +NewBriefTenantRequestWithDefaults instantiates a new BriefTenantRequest object +This 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 *BriefTenantRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefTenantRequest) 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 *BriefTenantRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetSlug + +`func (o *BriefTenantRequest) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *BriefTenantRequest) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *BriefTenantRequest) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetDescription + +`func (o *BriefTenantRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefTenantRequest) 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 *BriefTenantRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefTenantRequest) HasDescription() bool` + +HasDescription 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/BriefTunnel.md b/docs/BriefTunnel.md new file mode 100644 index 000000000..cab03cd7e --- /dev/null +++ b/docs/BriefTunnel.md @@ -0,0 +1,140 @@ +# BriefTunnel + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Name** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefTunnel + +`func NewBriefTunnel(id int32, url string, display string, name string, ) *BriefTunnel` + +NewBriefTunnel instantiates a new BriefTunnel object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefTunnelWithDefaults + +`func NewBriefTunnelWithDefaults() *BriefTunnel` + +NewBriefTunnelWithDefaults instantiates a new BriefTunnel object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefTunnel) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefTunnel) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefTunnel) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefTunnel) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefTunnel) 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 *BriefTunnel) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefTunnel) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefTunnel) 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 *BriefTunnel) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetName + +`func (o *BriefTunnel) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefTunnel) 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 *BriefTunnel) SetName(v string)` + +SetName sets Name field to given value. + + +### GetDescription + +`func (o *BriefTunnel) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefTunnel) 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 *BriefTunnel) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefTunnel) HasDescription() bool` + +HasDescription 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/BriefTunnelGroup.md b/docs/BriefTunnelGroup.md new file mode 100644 index 000000000..ca2d77464 --- /dev/null +++ b/docs/BriefTunnelGroup.md @@ -0,0 +1,182 @@ +# BriefTunnelGroup + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Name** | **string** | | +**Slug** | **string** | | +**Description** | Pointer to **string** | | [optional] +**TunnelCount** | **int64** | | [readonly] + +## Methods + +### NewBriefTunnelGroup + +`func NewBriefTunnelGroup(id int32, url string, display string, name string, slug string, tunnelCount int64, ) *BriefTunnelGroup` + +NewBriefTunnelGroup instantiates a new BriefTunnelGroup object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefTunnelGroupWithDefaults + +`func NewBriefTunnelGroupWithDefaults() *BriefTunnelGroup` + +NewBriefTunnelGroupWithDefaults instantiates a new BriefTunnelGroup object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefTunnelGroup) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefTunnelGroup) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefTunnelGroup) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefTunnelGroup) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefTunnelGroup) 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 *BriefTunnelGroup) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefTunnelGroup) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefTunnelGroup) 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 *BriefTunnelGroup) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetName + +`func (o *BriefTunnelGroup) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefTunnelGroup) 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 *BriefTunnelGroup) SetName(v string)` + +SetName sets Name field to given value. + + +### GetSlug + +`func (o *BriefTunnelGroup) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *BriefTunnelGroup) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *BriefTunnelGroup) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetDescription + +`func (o *BriefTunnelGroup) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefTunnelGroup) 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 *BriefTunnelGroup) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefTunnelGroup) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetTunnelCount + +`func (o *BriefTunnelGroup) GetTunnelCount() int64` + +GetTunnelCount returns the TunnelCount field if non-nil, zero value otherwise. + +### GetTunnelCountOk + +`func (o *BriefTunnelGroup) GetTunnelCountOk() (*int64, bool)` + +GetTunnelCountOk returns a tuple with the TunnelCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTunnelCount + +`func (o *BriefTunnelGroup) SetTunnelCount(v int64)` + +SetTunnelCount sets TunnelCount 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/BriefTunnelGroupRequest.md b/docs/BriefTunnelGroupRequest.md new file mode 100644 index 000000000..8db15328a --- /dev/null +++ b/docs/BriefTunnelGroupRequest.md @@ -0,0 +1,98 @@ +# BriefTunnelGroupRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **string** | | +**Slug** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefTunnelGroupRequest + +`func NewBriefTunnelGroupRequest(name string, slug string, ) *BriefTunnelGroupRequest` + +NewBriefTunnelGroupRequest instantiates a new BriefTunnelGroupRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefTunnelGroupRequestWithDefaults + +`func NewBriefTunnelGroupRequestWithDefaults() *BriefTunnelGroupRequest` + +NewBriefTunnelGroupRequestWithDefaults instantiates a new BriefTunnelGroupRequest object +This 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 *BriefTunnelGroupRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefTunnelGroupRequest) 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 *BriefTunnelGroupRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetSlug + +`func (o *BriefTunnelGroupRequest) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *BriefTunnelGroupRequest) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *BriefTunnelGroupRequest) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetDescription + +`func (o *BriefTunnelGroupRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefTunnelGroupRequest) 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 *BriefTunnelGroupRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefTunnelGroupRequest) HasDescription() bool` + +HasDescription 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/BriefTunnelRequest.md b/docs/BriefTunnelRequest.md new file mode 100644 index 000000000..74b5f1acd --- /dev/null +++ b/docs/BriefTunnelRequest.md @@ -0,0 +1,77 @@ +# BriefTunnelRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefTunnelRequest + +`func NewBriefTunnelRequest(name string, ) *BriefTunnelRequest` + +NewBriefTunnelRequest instantiates a new BriefTunnelRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefTunnelRequestWithDefaults + +`func NewBriefTunnelRequestWithDefaults() *BriefTunnelRequest` + +NewBriefTunnelRequestWithDefaults instantiates a new BriefTunnelRequest object +This 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 *BriefTunnelRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefTunnelRequest) 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 *BriefTunnelRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetDescription + +`func (o *BriefTunnelRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefTunnelRequest) 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 *BriefTunnelRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefTunnelRequest) HasDescription() bool` + +HasDescription 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/BriefUser.md b/docs/BriefUser.md new file mode 100644 index 000000000..6f3cab564 --- /dev/null +++ b/docs/BriefUser.md @@ -0,0 +1,114 @@ +# BriefUser + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Username** | **string** | Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. | + +## Methods + +### NewBriefUser + +`func NewBriefUser(id int32, url string, display string, username string, ) *BriefUser` + +NewBriefUser instantiates a new BriefUser object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefUserWithDefaults + +`func NewBriefUserWithDefaults() *BriefUser` + +NewBriefUserWithDefaults instantiates a new BriefUser object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefUser) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefUser) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefUser) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefUser) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefUser) 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 *BriefUser) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefUser) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefUser) 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 *BriefUser) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetUsername + +`func (o *BriefUser) GetUsername() string` + +GetUsername returns the Username field if non-nil, zero value otherwise. + +### GetUsernameOk + +`func (o *BriefUser) GetUsernameOk() (*string, bool)` + +GetUsernameOk returns a tuple with the Username field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUsername + +`func (o *BriefUser) SetUsername(v string)` + +SetUsername sets Username 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/BriefUserRequest.md b/docs/BriefUserRequest.md new file mode 100644 index 000000000..f3559dd8e --- /dev/null +++ b/docs/BriefUserRequest.md @@ -0,0 +1,51 @@ +# BriefUserRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Username** | **string** | Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. | + +## Methods + +### NewBriefUserRequest + +`func NewBriefUserRequest(username string, ) *BriefUserRequest` + +NewBriefUserRequest instantiates a new BriefUserRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefUserRequestWithDefaults + +`func NewBriefUserRequestWithDefaults() *BriefUserRequest` + +NewBriefUserRequestWithDefaults instantiates a new BriefUserRequest object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetUsername + +`func (o *BriefUserRequest) GetUsername() string` + +GetUsername returns the Username field if non-nil, zero value otherwise. + +### GetUsernameOk + +`func (o *BriefUserRequest) GetUsernameOk() (*string, bool)` + +GetUsernameOk returns a tuple with the Username field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUsername + +`func (o *BriefUserRequest) SetUsername(v string)` + +SetUsername sets Username 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/BriefVLAN.md b/docs/BriefVLAN.md new file mode 100644 index 000000000..da6784bd4 --- /dev/null +++ b/docs/BriefVLAN.md @@ -0,0 +1,161 @@ +# BriefVLAN + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Vid** | **int32** | Numeric VLAN ID (1-4094) | +**Name** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefVLAN + +`func NewBriefVLAN(id int32, url string, display string, vid int32, name string, ) *BriefVLAN` + +NewBriefVLAN instantiates a new BriefVLAN object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefVLANWithDefaults + +`func NewBriefVLANWithDefaults() *BriefVLAN` + +NewBriefVLANWithDefaults instantiates a new BriefVLAN object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefVLAN) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefVLAN) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefVLAN) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefVLAN) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefVLAN) 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 *BriefVLAN) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefVLAN) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefVLAN) 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 *BriefVLAN) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetVid + +`func (o *BriefVLAN) GetVid() int32` + +GetVid returns the Vid field if non-nil, zero value otherwise. + +### GetVidOk + +`func (o *BriefVLAN) 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 *BriefVLAN) SetVid(v int32)` + +SetVid sets Vid field to given value. + + +### GetName + +`func (o *BriefVLAN) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefVLAN) 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 *BriefVLAN) SetName(v string)` + +SetName sets Name field to given value. + + +### GetDescription + +`func (o *BriefVLAN) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefVLAN) 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 *BriefVLAN) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefVLAN) HasDescription() bool` + +HasDescription 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/BriefVLANGroup.md b/docs/BriefVLANGroup.md new file mode 100644 index 000000000..7a073db84 --- /dev/null +++ b/docs/BriefVLANGroup.md @@ -0,0 +1,187 @@ +# BriefVLANGroup + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Name** | **string** | | +**Slug** | **string** | | +**Description** | Pointer to **string** | | [optional] +**VlanCount** | Pointer to **int64** | | [optional] [readonly] + +## Methods + +### NewBriefVLANGroup + +`func NewBriefVLANGroup(id int32, url string, display string, name string, slug string, ) *BriefVLANGroup` + +NewBriefVLANGroup instantiates a new BriefVLANGroup object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefVLANGroupWithDefaults + +`func NewBriefVLANGroupWithDefaults() *BriefVLANGroup` + +NewBriefVLANGroupWithDefaults instantiates a new BriefVLANGroup object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefVLANGroup) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefVLANGroup) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefVLANGroup) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefVLANGroup) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefVLANGroup) 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 *BriefVLANGroup) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefVLANGroup) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefVLANGroup) 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 *BriefVLANGroup) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetName + +`func (o *BriefVLANGroup) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefVLANGroup) 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 *BriefVLANGroup) SetName(v string)` + +SetName sets Name field to given value. + + +### GetSlug + +`func (o *BriefVLANGroup) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *BriefVLANGroup) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *BriefVLANGroup) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetDescription + +`func (o *BriefVLANGroup) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefVLANGroup) 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 *BriefVLANGroup) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefVLANGroup) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetVlanCount + +`func (o *BriefVLANGroup) GetVlanCount() int64` + +GetVlanCount returns the VlanCount field if non-nil, zero value otherwise. + +### GetVlanCountOk + +`func (o *BriefVLANGroup) GetVlanCountOk() (*int64, bool)` + +GetVlanCountOk returns a tuple with the VlanCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVlanCount + +`func (o *BriefVLANGroup) SetVlanCount(v int64)` + +SetVlanCount sets VlanCount field to given value. + +### HasVlanCount + +`func (o *BriefVLANGroup) HasVlanCount() bool` + +HasVlanCount 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/BriefVLANGroupRequest.md b/docs/BriefVLANGroupRequest.md new file mode 100644 index 000000000..a77682fe0 --- /dev/null +++ b/docs/BriefVLANGroupRequest.md @@ -0,0 +1,98 @@ +# BriefVLANGroupRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **string** | | +**Slug** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefVLANGroupRequest + +`func NewBriefVLANGroupRequest(name string, slug string, ) *BriefVLANGroupRequest` + +NewBriefVLANGroupRequest instantiates a new BriefVLANGroupRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefVLANGroupRequestWithDefaults + +`func NewBriefVLANGroupRequestWithDefaults() *BriefVLANGroupRequest` + +NewBriefVLANGroupRequestWithDefaults instantiates a new BriefVLANGroupRequest object +This 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 *BriefVLANGroupRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefVLANGroupRequest) 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 *BriefVLANGroupRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetSlug + +`func (o *BriefVLANGroupRequest) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *BriefVLANGroupRequest) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *BriefVLANGroupRequest) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetDescription + +`func (o *BriefVLANGroupRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefVLANGroupRequest) 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 *BriefVLANGroupRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefVLANGroupRequest) HasDescription() bool` + +HasDescription 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/BriefVLANRequest.md b/docs/BriefVLANRequest.md new file mode 100644 index 000000000..c90d38167 --- /dev/null +++ b/docs/BriefVLANRequest.md @@ -0,0 +1,98 @@ +# BriefVLANRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Vid** | **int32** | Numeric VLAN ID (1-4094) | +**Name** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefVLANRequest + +`func NewBriefVLANRequest(vid int32, name string, ) *BriefVLANRequest` + +NewBriefVLANRequest instantiates a new BriefVLANRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefVLANRequestWithDefaults + +`func NewBriefVLANRequestWithDefaults() *BriefVLANRequest` + +NewBriefVLANRequestWithDefaults instantiates a new BriefVLANRequest object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetVid + +`func (o *BriefVLANRequest) GetVid() int32` + +GetVid returns the Vid field if non-nil, zero value otherwise. + +### GetVidOk + +`func (o *BriefVLANRequest) 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 *BriefVLANRequest) SetVid(v int32)` + +SetVid sets Vid field to given value. + + +### GetName + +`func (o *BriefVLANRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefVLANRequest) 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 *BriefVLANRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetDescription + +`func (o *BriefVLANRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefVLANRequest) 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 *BriefVLANRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefVLANRequest) HasDescription() bool` + +HasDescription 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/BriefVRF.md b/docs/BriefVRF.md new file mode 100644 index 000000000..a130ae340 --- /dev/null +++ b/docs/BriefVRF.md @@ -0,0 +1,202 @@ +# BriefVRF + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Name** | **string** | | +**Rd** | Pointer to **NullableString** | Unique route distinguisher (as defined in RFC 4364) | [optional] +**Description** | Pointer to **string** | | [optional] +**PrefixCount** | Pointer to **int64** | | [optional] [readonly] + +## Methods + +### NewBriefVRF + +`func NewBriefVRF(id int32, url string, display string, name string, ) *BriefVRF` + +NewBriefVRF instantiates a new BriefVRF object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefVRFWithDefaults + +`func NewBriefVRFWithDefaults() *BriefVRF` + +NewBriefVRFWithDefaults instantiates a new BriefVRF object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefVRF) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefVRF) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefVRF) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefVRF) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefVRF) 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 *BriefVRF) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefVRF) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefVRF) 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 *BriefVRF) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetName + +`func (o *BriefVRF) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefVRF) 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 *BriefVRF) SetName(v string)` + +SetName sets Name field to given value. + + +### GetRd + +`func (o *BriefVRF) GetRd() string` + +GetRd returns the Rd field if non-nil, zero value otherwise. + +### GetRdOk + +`func (o *BriefVRF) GetRdOk() (*string, bool)` + +GetRdOk returns a tuple with the Rd field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRd + +`func (o *BriefVRF) SetRd(v string)` + +SetRd sets Rd field to given value. + +### HasRd + +`func (o *BriefVRF) HasRd() bool` + +HasRd returns a boolean if a field has been set. + +### SetRdNil + +`func (o *BriefVRF) SetRdNil(b bool)` + + SetRdNil sets the value for Rd to be an explicit nil + +### UnsetRd +`func (o *BriefVRF) UnsetRd()` + +UnsetRd ensures that no value is present for Rd, not even an explicit nil +### GetDescription + +`func (o *BriefVRF) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefVRF) 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 *BriefVRF) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefVRF) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetPrefixCount + +`func (o *BriefVRF) GetPrefixCount() int64` + +GetPrefixCount returns the PrefixCount field if non-nil, zero value otherwise. + +### GetPrefixCountOk + +`func (o *BriefVRF) GetPrefixCountOk() (*int64, bool)` + +GetPrefixCountOk returns a tuple with the PrefixCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPrefixCount + +`func (o *BriefVRF) SetPrefixCount(v int64)` + +SetPrefixCount sets PrefixCount field to given value. + +### HasPrefixCount + +`func (o *BriefVRF) HasPrefixCount() bool` + +HasPrefixCount 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/BriefVRFRequest.md b/docs/BriefVRFRequest.md new file mode 100644 index 000000000..c942553ae --- /dev/null +++ b/docs/BriefVRFRequest.md @@ -0,0 +1,113 @@ +# BriefVRFRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **string** | | +**Rd** | Pointer to **NullableString** | Unique route distinguisher (as defined in RFC 4364) | [optional] +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefVRFRequest + +`func NewBriefVRFRequest(name string, ) *BriefVRFRequest` + +NewBriefVRFRequest instantiates a new BriefVRFRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefVRFRequestWithDefaults + +`func NewBriefVRFRequestWithDefaults() *BriefVRFRequest` + +NewBriefVRFRequestWithDefaults instantiates a new BriefVRFRequest object +This 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 *BriefVRFRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefVRFRequest) 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 *BriefVRFRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetRd + +`func (o *BriefVRFRequest) GetRd() string` + +GetRd returns the Rd field if non-nil, zero value otherwise. + +### GetRdOk + +`func (o *BriefVRFRequest) GetRdOk() (*string, bool)` + +GetRdOk returns a tuple with the Rd field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRd + +`func (o *BriefVRFRequest) SetRd(v string)` + +SetRd sets Rd field to given value. + +### HasRd + +`func (o *BriefVRFRequest) HasRd() bool` + +HasRd returns a boolean if a field has been set. + +### SetRdNil + +`func (o *BriefVRFRequest) SetRdNil(b bool)` + + SetRdNil sets the value for Rd to be an explicit nil + +### UnsetRd +`func (o *BriefVRFRequest) UnsetRd()` + +UnsetRd ensures that no value is present for Rd, not even an explicit nil +### GetDescription + +`func (o *BriefVRFRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefVRFRequest) 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 *BriefVRFRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefVRFRequest) HasDescription() bool` + +HasDescription 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/BriefVirtualChassis.md b/docs/BriefVirtualChassis.md new file mode 100644 index 000000000..304b6f30d --- /dev/null +++ b/docs/BriefVirtualChassis.md @@ -0,0 +1,197 @@ +# BriefVirtualChassis + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Name** | **string** | | +**Master** | Pointer to [**NullableNestedDevice**](NestedDevice.md) | | [optional] +**Description** | Pointer to **string** | | [optional] +**MemberCount** | **int32** | | [readonly] + +## Methods + +### NewBriefVirtualChassis + +`func NewBriefVirtualChassis(id int32, url string, display string, name string, memberCount int32, ) *BriefVirtualChassis` + +NewBriefVirtualChassis instantiates a new BriefVirtualChassis object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefVirtualChassisWithDefaults + +`func NewBriefVirtualChassisWithDefaults() *BriefVirtualChassis` + +NewBriefVirtualChassisWithDefaults instantiates a new BriefVirtualChassis object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefVirtualChassis) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefVirtualChassis) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefVirtualChassis) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefVirtualChassis) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefVirtualChassis) 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 *BriefVirtualChassis) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefVirtualChassis) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefVirtualChassis) 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 *BriefVirtualChassis) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetName + +`func (o *BriefVirtualChassis) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefVirtualChassis) 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 *BriefVirtualChassis) SetName(v string)` + +SetName sets Name field to given value. + + +### GetMaster + +`func (o *BriefVirtualChassis) GetMaster() NestedDevice` + +GetMaster returns the Master field if non-nil, zero value otherwise. + +### GetMasterOk + +`func (o *BriefVirtualChassis) GetMasterOk() (*NestedDevice, bool)` + +GetMasterOk returns a tuple with the Master field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaster + +`func (o *BriefVirtualChassis) SetMaster(v NestedDevice)` + +SetMaster sets Master field to given value. + +### HasMaster + +`func (o *BriefVirtualChassis) HasMaster() bool` + +HasMaster returns a boolean if a field has been set. + +### SetMasterNil + +`func (o *BriefVirtualChassis) SetMasterNil(b bool)` + + SetMasterNil sets the value for Master to be an explicit nil + +### UnsetMaster +`func (o *BriefVirtualChassis) UnsetMaster()` + +UnsetMaster ensures that no value is present for Master, not even an explicit nil +### GetDescription + +`func (o *BriefVirtualChassis) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefVirtualChassis) 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 *BriefVirtualChassis) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefVirtualChassis) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetMemberCount + +`func (o *BriefVirtualChassis) GetMemberCount() int32` + +GetMemberCount returns the MemberCount field if non-nil, zero value otherwise. + +### GetMemberCountOk + +`func (o *BriefVirtualChassis) GetMemberCountOk() (*int32, bool)` + +GetMemberCountOk returns a tuple with the MemberCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMemberCount + +`func (o *BriefVirtualChassis) SetMemberCount(v int32)` + +SetMemberCount sets MemberCount 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/BriefVirtualChassisRequest.md b/docs/BriefVirtualChassisRequest.md new file mode 100644 index 000000000..168d675ed --- /dev/null +++ b/docs/BriefVirtualChassisRequest.md @@ -0,0 +1,113 @@ +# BriefVirtualChassisRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **string** | | +**Master** | Pointer to [**NullableNestedDeviceRequest**](NestedDeviceRequest.md) | | [optional] +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefVirtualChassisRequest + +`func NewBriefVirtualChassisRequest(name string, ) *BriefVirtualChassisRequest` + +NewBriefVirtualChassisRequest instantiates a new BriefVirtualChassisRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefVirtualChassisRequestWithDefaults + +`func NewBriefVirtualChassisRequestWithDefaults() *BriefVirtualChassisRequest` + +NewBriefVirtualChassisRequestWithDefaults instantiates a new BriefVirtualChassisRequest object +This 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 *BriefVirtualChassisRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefVirtualChassisRequest) 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 *BriefVirtualChassisRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetMaster + +`func (o *BriefVirtualChassisRequest) GetMaster() NestedDeviceRequest` + +GetMaster returns the Master field if non-nil, zero value otherwise. + +### GetMasterOk + +`func (o *BriefVirtualChassisRequest) GetMasterOk() (*NestedDeviceRequest, bool)` + +GetMasterOk returns a tuple with the Master field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaster + +`func (o *BriefVirtualChassisRequest) SetMaster(v NestedDeviceRequest)` + +SetMaster sets Master field to given value. + +### HasMaster + +`func (o *BriefVirtualChassisRequest) HasMaster() bool` + +HasMaster returns a boolean if a field has been set. + +### SetMasterNil + +`func (o *BriefVirtualChassisRequest) SetMasterNil(b bool)` + + SetMasterNil sets the value for Master to be an explicit nil + +### UnsetMaster +`func (o *BriefVirtualChassisRequest) UnsetMaster()` + +UnsetMaster ensures that no value is present for Master, not even an explicit nil +### GetDescription + +`func (o *BriefVirtualChassisRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefVirtualChassisRequest) 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 *BriefVirtualChassisRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefVirtualChassisRequest) HasDescription() bool` + +HasDescription 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/BriefVirtualMachine.md b/docs/BriefVirtualMachine.md new file mode 100644 index 000000000..224fa020b --- /dev/null +++ b/docs/BriefVirtualMachine.md @@ -0,0 +1,140 @@ +# BriefVirtualMachine + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Name** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefVirtualMachine + +`func NewBriefVirtualMachine(id int32, url string, display string, name string, ) *BriefVirtualMachine` + +NewBriefVirtualMachine instantiates a new BriefVirtualMachine object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefVirtualMachineWithDefaults + +`func NewBriefVirtualMachineWithDefaults() *BriefVirtualMachine` + +NewBriefVirtualMachineWithDefaults instantiates a new BriefVirtualMachine object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefVirtualMachine) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefVirtualMachine) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefVirtualMachine) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefVirtualMachine) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefVirtualMachine) 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 *BriefVirtualMachine) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefVirtualMachine) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefVirtualMachine) 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 *BriefVirtualMachine) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetName + +`func (o *BriefVirtualMachine) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefVirtualMachine) 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 *BriefVirtualMachine) SetName(v string)` + +SetName sets Name field to given value. + + +### GetDescription + +`func (o *BriefVirtualMachine) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefVirtualMachine) 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 *BriefVirtualMachine) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefVirtualMachine) HasDescription() bool` + +HasDescription 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/BriefVirtualMachineRequest.md b/docs/BriefVirtualMachineRequest.md new file mode 100644 index 000000000..8c147c303 --- /dev/null +++ b/docs/BriefVirtualMachineRequest.md @@ -0,0 +1,77 @@ +# BriefVirtualMachineRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefVirtualMachineRequest + +`func NewBriefVirtualMachineRequest(name string, ) *BriefVirtualMachineRequest` + +NewBriefVirtualMachineRequest instantiates a new BriefVirtualMachineRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefVirtualMachineRequestWithDefaults + +`func NewBriefVirtualMachineRequestWithDefaults() *BriefVirtualMachineRequest` + +NewBriefVirtualMachineRequestWithDefaults instantiates a new BriefVirtualMachineRequest object +This 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 *BriefVirtualMachineRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefVirtualMachineRequest) 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 *BriefVirtualMachineRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetDescription + +`func (o *BriefVirtualMachineRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefVirtualMachineRequest) 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 *BriefVirtualMachineRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefVirtualMachineRequest) HasDescription() bool` + +HasDescription 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/BriefWirelessLANGroup.md b/docs/BriefWirelessLANGroup.md new file mode 100644 index 000000000..680e013da --- /dev/null +++ b/docs/BriefWirelessLANGroup.md @@ -0,0 +1,203 @@ +# BriefWirelessLANGroup + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**Name** | **string** | | +**Slug** | **string** | | +**Description** | Pointer to **string** | | [optional] +**WirelesslanCount** | **int32** | | [readonly] [default to 0] +**Depth** | **int32** | | [readonly] + +## Methods + +### NewBriefWirelessLANGroup + +`func NewBriefWirelessLANGroup(id int32, url string, display string, name string, slug string, wirelesslanCount int32, depth int32, ) *BriefWirelessLANGroup` + +NewBriefWirelessLANGroup instantiates a new BriefWirelessLANGroup object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefWirelessLANGroupWithDefaults + +`func NewBriefWirelessLANGroupWithDefaults() *BriefWirelessLANGroup` + +NewBriefWirelessLANGroupWithDefaults instantiates a new BriefWirelessLANGroup object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BriefWirelessLANGroup) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BriefWirelessLANGroup) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BriefWirelessLANGroup) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *BriefWirelessLANGroup) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *BriefWirelessLANGroup) 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 *BriefWirelessLANGroup) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *BriefWirelessLANGroup) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *BriefWirelessLANGroup) 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 *BriefWirelessLANGroup) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetName + +`func (o *BriefWirelessLANGroup) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefWirelessLANGroup) 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 *BriefWirelessLANGroup) SetName(v string)` + +SetName sets Name field to given value. + + +### GetSlug + +`func (o *BriefWirelessLANGroup) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *BriefWirelessLANGroup) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *BriefWirelessLANGroup) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetDescription + +`func (o *BriefWirelessLANGroup) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefWirelessLANGroup) 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 *BriefWirelessLANGroup) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefWirelessLANGroup) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetWirelesslanCount + +`func (o *BriefWirelessLANGroup) GetWirelesslanCount() int32` + +GetWirelesslanCount returns the WirelesslanCount field if non-nil, zero value otherwise. + +### GetWirelesslanCountOk + +`func (o *BriefWirelessLANGroup) GetWirelesslanCountOk() (*int32, bool)` + +GetWirelesslanCountOk returns a tuple with the WirelesslanCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWirelesslanCount + +`func (o *BriefWirelessLANGroup) SetWirelesslanCount(v int32)` + +SetWirelesslanCount sets WirelesslanCount field to given value. + + +### GetDepth + +`func (o *BriefWirelessLANGroup) GetDepth() int32` + +GetDepth returns the Depth field if non-nil, zero value otherwise. + +### GetDepthOk + +`func (o *BriefWirelessLANGroup) GetDepthOk() (*int32, bool)` + +GetDepthOk returns a tuple with the Depth field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDepth + +`func (o *BriefWirelessLANGroup) SetDepth(v int32)` + +SetDepth sets Depth 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/BriefWirelessLANGroupRequest.md b/docs/BriefWirelessLANGroupRequest.md new file mode 100644 index 000000000..7e45eb450 --- /dev/null +++ b/docs/BriefWirelessLANGroupRequest.md @@ -0,0 +1,98 @@ +# BriefWirelessLANGroupRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **string** | | +**Slug** | **string** | | +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewBriefWirelessLANGroupRequest + +`func NewBriefWirelessLANGroupRequest(name string, slug string, ) *BriefWirelessLANGroupRequest` + +NewBriefWirelessLANGroupRequest instantiates a new BriefWirelessLANGroupRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBriefWirelessLANGroupRequestWithDefaults + +`func NewBriefWirelessLANGroupRequestWithDefaults() *BriefWirelessLANGroupRequest` + +NewBriefWirelessLANGroupRequestWithDefaults instantiates a new BriefWirelessLANGroupRequest object +This 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 *BriefWirelessLANGroupRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BriefWirelessLANGroupRequest) 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 *BriefWirelessLANGroupRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetSlug + +`func (o *BriefWirelessLANGroupRequest) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *BriefWirelessLANGroupRequest) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *BriefWirelessLANGroupRequest) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetDescription + +`func (o *BriefWirelessLANGroupRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *BriefWirelessLANGroupRequest) 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 *BriefWirelessLANGroupRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *BriefWirelessLANGroupRequest) HasDescription() bool` + +HasDescription 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 389a4c616..719777dc0 100644 --- a/docs/Cable.md +++ b/docs/Cable.md @@ -6,15 +6,29 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] +**Type** | Pointer to [**CableType**](CableType.md) | | [optional] +**ATerminations** | Pointer to [**[]GenericObject**](GenericObject.md) | | [optional] +**BTerminations** | Pointer to [**[]GenericObject**](GenericObject.md) | | [optional] +**Status** | Pointer to [**CableStatus**](CableStatus.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenant**](BriefTenant.md) | | [optional] **Label** | Pointer to **string** | | [optional] +**Color** | Pointer to **string** | | [optional] +**Length** | Pointer to **NullableFloat64** | | [optional] +**LengthUnit** | Pointer to [**NullableCableLengthUnit**](CableLengthUnit.md) | | [optional] **Description** | Pointer to **string** | | [optional] +**Comments** | Pointer to **string** | | [optional] +**Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] +**Created** | **NullableTime** | | [readonly] +**LastUpdated** | **NullableTime** | | [readonly] ## Methods ### NewCable -`func NewCable(id int32, url string, display string, ) *Cable` +`func NewCable(id int32, url string, display string, created NullableTime, lastUpdated NullableTime, ) *Cable` NewCable instantiates a new Cable object This constructor will assign default values to properties that have it defined, @@ -69,6 +83,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *Cable) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *Cable) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *Cable) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *Cable) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *Cable) GetDisplay() string` @@ -89,6 +128,141 @@ and a boolean to check if the value has been set. SetDisplay sets Display field to given value. +### GetType + +`func (o *Cable) GetType() CableType` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *Cable) GetTypeOk() (*CableType, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *Cable) SetType(v CableType)` + +SetType sets Type field to given value. + +### HasType + +`func (o *Cable) HasType() bool` + +HasType returns a boolean if a field has been set. + +### GetATerminations + +`func (o *Cable) GetATerminations() []GenericObject` + +GetATerminations returns the ATerminations field if non-nil, zero value otherwise. + +### GetATerminationsOk + +`func (o *Cable) GetATerminationsOk() (*[]GenericObject, bool)` + +GetATerminationsOk returns a tuple with the ATerminations field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetATerminations + +`func (o *Cable) SetATerminations(v []GenericObject)` + +SetATerminations sets ATerminations field to given value. + +### HasATerminations + +`func (o *Cable) HasATerminations() bool` + +HasATerminations returns a boolean if a field has been set. + +### GetBTerminations + +`func (o *Cable) GetBTerminations() []GenericObject` + +GetBTerminations returns the BTerminations field if non-nil, zero value otherwise. + +### GetBTerminationsOk + +`func (o *Cable) GetBTerminationsOk() (*[]GenericObject, bool)` + +GetBTerminationsOk returns a tuple with the BTerminations field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBTerminations + +`func (o *Cable) SetBTerminations(v []GenericObject)` + +SetBTerminations sets BTerminations field to given value. + +### HasBTerminations + +`func (o *Cable) HasBTerminations() bool` + +HasBTerminations returns a boolean if a field has been set. + +### GetStatus + +`func (o *Cable) GetStatus() CableStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *Cable) GetStatusOk() (*CableStatus, 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 *Cable) SetStatus(v CableStatus)` + +SetStatus sets Status field to given value. + +### HasStatus + +`func (o *Cable) HasStatus() bool` + +HasStatus returns a boolean if a field has been set. + +### GetTenant + +`func (o *Cable) GetTenant() BriefTenant` + +GetTenant returns the Tenant field if non-nil, zero value otherwise. + +### GetTenantOk + +`func (o *Cable) GetTenantOk() (*BriefTenant, 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 *Cable) SetTenant(v BriefTenant)` + +SetTenant sets Tenant field to given value. + +### HasTenant + +`func (o *Cable) HasTenant() bool` + +HasTenant returns a boolean if a field has been set. + +### SetTenantNil + +`func (o *Cable) SetTenantNil(b bool)` + + SetTenantNil sets the value for Tenant to be an explicit nil + +### UnsetTenant +`func (o *Cable) UnsetTenant()` + +UnsetTenant ensures that no value is present for Tenant, not even an explicit nil ### GetLabel `func (o *Cable) GetLabel() string` @@ -114,6 +288,101 @@ SetLabel sets Label field to given value. HasLabel returns a boolean if a field has been set. +### GetColor + +`func (o *Cable) GetColor() string` + +GetColor returns the Color field if non-nil, zero value otherwise. + +### GetColorOk + +`func (o *Cable) GetColorOk() (*string, bool)` + +GetColorOk returns a tuple with the Color field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetColor + +`func (o *Cable) SetColor(v string)` + +SetColor sets Color field to given value. + +### HasColor + +`func (o *Cable) HasColor() bool` + +HasColor returns a boolean if a field has been set. + +### GetLength + +`func (o *Cable) GetLength() float64` + +GetLength returns the Length field if non-nil, zero value otherwise. + +### GetLengthOk + +`func (o *Cable) GetLengthOk() (*float64, bool)` + +GetLengthOk returns a tuple with the Length field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLength + +`func (o *Cable) SetLength(v float64)` + +SetLength sets Length field to given value. + +### HasLength + +`func (o *Cable) HasLength() bool` + +HasLength returns a boolean if a field has been set. + +### SetLengthNil + +`func (o *Cable) SetLengthNil(b bool)` + + SetLengthNil sets the value for Length to be an explicit nil + +### UnsetLength +`func (o *Cable) UnsetLength()` + +UnsetLength ensures that no value is present for Length, not even an explicit nil +### GetLengthUnit + +`func (o *Cable) GetLengthUnit() CableLengthUnit` + +GetLengthUnit returns the LengthUnit field if non-nil, zero value otherwise. + +### GetLengthUnitOk + +`func (o *Cable) GetLengthUnitOk() (*CableLengthUnit, bool)` + +GetLengthUnitOk returns a tuple with the LengthUnit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLengthUnit + +`func (o *Cable) SetLengthUnit(v CableLengthUnit)` + +SetLengthUnit sets LengthUnit field to given value. + +### HasLengthUnit + +`func (o *Cable) HasLengthUnit() bool` + +HasLengthUnit returns a boolean if a field has been set. + +### SetLengthUnitNil + +`func (o *Cable) SetLengthUnitNil(b bool)` + + SetLengthUnitNil sets the value for LengthUnit to be an explicit nil + +### UnsetLengthUnit +`func (o *Cable) UnsetLengthUnit()` + +UnsetLengthUnit ensures that no value is present for LengthUnit, not even an explicit nil ### GetDescription `func (o *Cable) GetDescription() string` @@ -139,6 +408,141 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetComments + +`func (o *Cable) GetComments() string` + +GetComments returns the Comments field if non-nil, zero value otherwise. + +### GetCommentsOk + +`func (o *Cable) GetCommentsOk() (*string, bool)` + +GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComments + +`func (o *Cable) SetComments(v string)` + +SetComments sets Comments field to given value. + +### HasComments + +`func (o *Cable) HasComments() bool` + +HasComments returns a boolean if a field has been set. + +### GetTags + +`func (o *Cable) GetTags() []NestedTag` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *Cable) GetTagsOk() (*[]NestedTag, 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 *Cable) SetTags(v []NestedTag)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *Cable) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *Cable) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *Cable) 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 *Cable) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *Cable) HasCustomFields() bool` + +HasCustomFields returns a boolean if a field has been set. + +### GetCreated + +`func (o *Cable) GetCreated() time.Time` + +GetCreated returns the Created field if non-nil, zero value otherwise. + +### GetCreatedOk + +`func (o *Cable) 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 *Cable) SetCreated(v time.Time)` + +SetCreated sets Created field to given value. + + +### SetCreatedNil + +`func (o *Cable) SetCreatedNil(b bool)` + + SetCreatedNil sets the value for Created to be an explicit nil + +### UnsetCreated +`func (o *Cable) UnsetCreated()` + +UnsetCreated ensures that no value is present for Created, not even an explicit nil +### GetLastUpdated + +`func (o *Cable) GetLastUpdated() time.Time` + +GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise. + +### GetLastUpdatedOk + +`func (o *Cable) 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 *Cable) SetLastUpdated(v time.Time)` + +SetLastUpdated sets LastUpdated field to given value. + + +### SetLastUpdatedNil + +`func (o *Cable) SetLastUpdatedNil(b bool)` + + SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil + +### UnsetLastUpdated +`func (o *Cable) UnsetLastUpdated()` + +UnsetLastUpdated ensures that no value is present for LastUpdated, 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/CableLengthUnit.md b/docs/CableLengthUnit.md new file mode 100644 index 000000000..0ca0923d9 --- /dev/null +++ b/docs/CableLengthUnit.md @@ -0,0 +1,82 @@ +# CableLengthUnit + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Value** | Pointer to [**CableLengthUnitValue**](CableLengthUnitValue.md) | | [optional] +**Label** | Pointer to [**CableLengthUnitLabel**](CableLengthUnitLabel.md) | | [optional] + +## Methods + +### NewCableLengthUnit + +`func NewCableLengthUnit() *CableLengthUnit` + +NewCableLengthUnit instantiates a new CableLengthUnit object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewCableLengthUnitWithDefaults + +`func NewCableLengthUnitWithDefaults() *CableLengthUnit` + +NewCableLengthUnitWithDefaults instantiates a new CableLengthUnit object +This 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 *CableLengthUnit) GetValue() CableLengthUnitValue` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *CableLengthUnit) GetValueOk() (*CableLengthUnitValue, 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 *CableLengthUnit) SetValue(v CableLengthUnitValue)` + +SetValue sets Value field to given value. + +### HasValue + +`func (o *CableLengthUnit) HasValue() bool` + +HasValue returns a boolean if a field has been set. + +### GetLabel + +`func (o *CableLengthUnit) GetLabel() CableLengthUnitLabel` + +GetLabel returns the Label field if non-nil, zero value otherwise. + +### GetLabelOk + +`func (o *CableLengthUnit) GetLabelOk() (*CableLengthUnitLabel, 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 *CableLengthUnit) SetLabel(v CableLengthUnitLabel)` + +SetLabel sets Label field to given value. + +### HasLabel + +`func (o *CableLengthUnit) 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/CableLengthUnitLabel.md b/docs/CableLengthUnitLabel.md new file mode 100644 index 000000000..5e953b5a9 --- /dev/null +++ b/docs/CableLengthUnitLabel.md @@ -0,0 +1,21 @@ +# CableLengthUnitLabel + +## Enum + + +* `KILOMETERS` (value: `"Kilometers"`) + +* `METERS` (value: `"Meters"`) + +* `CENTIMETERS` (value: `"Centimeters"`) + +* `MILES` (value: `"Miles"`) + +* `FEET` (value: `"Feet"`) + +* `INCHES` (value: `"Inches"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CableLengthUnitValue.md b/docs/CableLengthUnitValue.md new file mode 100644 index 000000000..a9a0eebea --- /dev/null +++ b/docs/CableLengthUnitValue.md @@ -0,0 +1,23 @@ +# CableLengthUnitValue + +## Enum + + +* `KM` (value: `"km"`) + +* `M` (value: `"m"`) + +* `CM` (value: `"cm"`) + +* `MI` (value: `"mi"`) + +* `FT` (value: `"ft"`) + +* `IN` (value: `"in"`) + +* `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/CableRequest.md b/docs/CableRequest.md index b90dfd2ea..61b9cded1 100644 --- a/docs/CableRequest.md +++ b/docs/CableRequest.md @@ -4,8 +4,19 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Type** | Pointer to [**CableType**](CableType.md) | | [optional] +**ATerminations** | Pointer to [**[]GenericObjectRequest**](GenericObjectRequest.md) | | [optional] +**BTerminations** | Pointer to [**[]GenericObjectRequest**](GenericObjectRequest.md) | | [optional] +**Status** | Pointer to [**CableStatusValue**](CableStatusValue.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] **Label** | Pointer to **string** | | [optional] +**Color** | Pointer to **string** | | [optional] +**Length** | Pointer to **NullableFloat64** | | [optional] +**LengthUnit** | Pointer to [**NullableCableRequestLengthUnit**](CableRequestLengthUnit.md) | | [optional] **Description** | Pointer to **string** | | [optional] +**Comments** | Pointer to **string** | | [optional] +**Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] ## Methods @@ -26,6 +37,141 @@ NewCableRequestWithDefaults instantiates a new CableRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set +### GetType + +`func (o *CableRequest) GetType() CableType` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *CableRequest) GetTypeOk() (*CableType, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *CableRequest) SetType(v CableType)` + +SetType sets Type field to given value. + +### HasType + +`func (o *CableRequest) HasType() bool` + +HasType returns a boolean if a field has been set. + +### GetATerminations + +`func (o *CableRequest) GetATerminations() []GenericObjectRequest` + +GetATerminations returns the ATerminations field if non-nil, zero value otherwise. + +### GetATerminationsOk + +`func (o *CableRequest) GetATerminationsOk() (*[]GenericObjectRequest, bool)` + +GetATerminationsOk returns a tuple with the ATerminations field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetATerminations + +`func (o *CableRequest) SetATerminations(v []GenericObjectRequest)` + +SetATerminations sets ATerminations field to given value. + +### HasATerminations + +`func (o *CableRequest) HasATerminations() bool` + +HasATerminations returns a boolean if a field has been set. + +### GetBTerminations + +`func (o *CableRequest) GetBTerminations() []GenericObjectRequest` + +GetBTerminations returns the BTerminations field if non-nil, zero value otherwise. + +### GetBTerminationsOk + +`func (o *CableRequest) GetBTerminationsOk() (*[]GenericObjectRequest, bool)` + +GetBTerminationsOk returns a tuple with the BTerminations field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBTerminations + +`func (o *CableRequest) SetBTerminations(v []GenericObjectRequest)` + +SetBTerminations sets BTerminations field to given value. + +### HasBTerminations + +`func (o *CableRequest) HasBTerminations() bool` + +HasBTerminations returns a boolean if a field has been set. + +### GetStatus + +`func (o *CableRequest) GetStatus() CableStatusValue` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *CableRequest) GetStatusOk() (*CableStatusValue, 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 *CableRequest) SetStatus(v CableStatusValue)` + +SetStatus sets Status field to given value. + +### HasStatus + +`func (o *CableRequest) HasStatus() bool` + +HasStatus returns a boolean if a field has been set. + +### GetTenant + +`func (o *CableRequest) GetTenant() BriefTenantRequest` + +GetTenant returns the Tenant field if non-nil, zero value otherwise. + +### GetTenantOk + +`func (o *CableRequest) GetTenantOk() (*BriefTenantRequest, 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 *CableRequest) SetTenant(v BriefTenantRequest)` + +SetTenant sets Tenant field to given value. + +### HasTenant + +`func (o *CableRequest) HasTenant() bool` + +HasTenant returns a boolean if a field has been set. + +### SetTenantNil + +`func (o *CableRequest) SetTenantNil(b bool)` + + SetTenantNil sets the value for Tenant to be an explicit nil + +### UnsetTenant +`func (o *CableRequest) UnsetTenant()` + +UnsetTenant ensures that no value is present for Tenant, not even an explicit nil ### GetLabel `func (o *CableRequest) GetLabel() string` @@ -51,6 +197,101 @@ SetLabel sets Label field to given value. HasLabel returns a boolean if a field has been set. +### GetColor + +`func (o *CableRequest) GetColor() string` + +GetColor returns the Color field if non-nil, zero value otherwise. + +### GetColorOk + +`func (o *CableRequest) GetColorOk() (*string, bool)` + +GetColorOk returns a tuple with the Color field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetColor + +`func (o *CableRequest) SetColor(v string)` + +SetColor sets Color field to given value. + +### HasColor + +`func (o *CableRequest) HasColor() bool` + +HasColor returns a boolean if a field has been set. + +### GetLength + +`func (o *CableRequest) GetLength() float64` + +GetLength returns the Length field if non-nil, zero value otherwise. + +### GetLengthOk + +`func (o *CableRequest) GetLengthOk() (*float64, bool)` + +GetLengthOk returns a tuple with the Length field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLength + +`func (o *CableRequest) SetLength(v float64)` + +SetLength sets Length field to given value. + +### HasLength + +`func (o *CableRequest) HasLength() bool` + +HasLength returns a boolean if a field has been set. + +### SetLengthNil + +`func (o *CableRequest) SetLengthNil(b bool)` + + SetLengthNil sets the value for Length to be an explicit nil + +### UnsetLength +`func (o *CableRequest) UnsetLength()` + +UnsetLength ensures that no value is present for Length, not even an explicit nil +### GetLengthUnit + +`func (o *CableRequest) GetLengthUnit() CableRequestLengthUnit` + +GetLengthUnit returns the LengthUnit field if non-nil, zero value otherwise. + +### GetLengthUnitOk + +`func (o *CableRequest) GetLengthUnitOk() (*CableRequestLengthUnit, bool)` + +GetLengthUnitOk returns a tuple with the LengthUnit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLengthUnit + +`func (o *CableRequest) SetLengthUnit(v CableRequestLengthUnit)` + +SetLengthUnit sets LengthUnit field to given value. + +### HasLengthUnit + +`func (o *CableRequest) HasLengthUnit() bool` + +HasLengthUnit returns a boolean if a field has been set. + +### SetLengthUnitNil + +`func (o *CableRequest) SetLengthUnitNil(b bool)` + + SetLengthUnitNil sets the value for LengthUnit to be an explicit nil + +### UnsetLengthUnit +`func (o *CableRequest) UnsetLengthUnit()` + +UnsetLengthUnit ensures that no value is present for LengthUnit, not even an explicit nil ### GetDescription `func (o *CableRequest) GetDescription() string` @@ -76,6 +317,81 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetComments + +`func (o *CableRequest) GetComments() string` + +GetComments returns the Comments field if non-nil, zero value otherwise. + +### GetCommentsOk + +`func (o *CableRequest) GetCommentsOk() (*string, bool)` + +GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComments + +`func (o *CableRequest) SetComments(v string)` + +SetComments sets Comments field to given value. + +### HasComments + +`func (o *CableRequest) HasComments() bool` + +HasComments returns a boolean if a field has been set. + +### GetTags + +`func (o *CableRequest) GetTags() []NestedTagRequest` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *CableRequest) GetTagsOk() (*[]NestedTagRequest, 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 *CableRequest) SetTags(v []NestedTagRequest)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *CableRequest) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *CableRequest) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *CableRequest) 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 *CableRequest) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *CableRequest) 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/CableRequestLengthUnit.md b/docs/CableRequestLengthUnit.md new file mode 100644 index 000000000..c549b14b8 --- /dev/null +++ b/docs/CableRequestLengthUnit.md @@ -0,0 +1,23 @@ +# CableRequestLengthUnit + +## Enum + + +* `KM` (value: `"km"`) + +* `M` (value: `"m"`) + +* `CM` (value: `"cm"`) + +* `MI` (value: `"mi"`) + +* `FT` (value: `"ft"`) + +* `IN` (value: `"in"`) + +* `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/CableStatus.md b/docs/CableStatus.md new file mode 100644 index 000000000..3cdd8c4b3 --- /dev/null +++ b/docs/CableStatus.md @@ -0,0 +1,82 @@ +# CableStatus + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Value** | Pointer to [**CableStatusValue**](CableStatusValue.md) | | [optional] +**Label** | Pointer to [**CableStatusLabel**](CableStatusLabel.md) | | [optional] + +## Methods + +### NewCableStatus + +`func NewCableStatus() *CableStatus` + +NewCableStatus instantiates a new CableStatus object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewCableStatusWithDefaults + +`func NewCableStatusWithDefaults() *CableStatus` + +NewCableStatusWithDefaults instantiates a new CableStatus object +This 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 *CableStatus) GetValue() CableStatusValue` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *CableStatus) GetValueOk() (*CableStatusValue, 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 *CableStatus) SetValue(v CableStatusValue)` + +SetValue sets Value field to given value. + +### HasValue + +`func (o *CableStatus) HasValue() bool` + +HasValue returns a boolean if a field has been set. + +### GetLabel + +`func (o *CableStatus) GetLabel() CableStatusLabel` + +GetLabel returns the Label field if non-nil, zero value otherwise. + +### GetLabelOk + +`func (o *CableStatus) GetLabelOk() (*CableStatusLabel, 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 *CableStatus) SetLabel(v CableStatusLabel)` + +SetLabel sets Label field to given value. + +### HasLabel + +`func (o *CableStatus) 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/CableStatusLabel.md b/docs/CableStatusLabel.md new file mode 100644 index 000000000..b90ffa9fd --- /dev/null +++ b/docs/CableStatusLabel.md @@ -0,0 +1,15 @@ +# CableStatusLabel + +## Enum + + +* `CONNECTED` (value: `"Connected"`) + +* `PLANNED` (value: `"Planned"`) + +* `DECOMMISSIONING` (value: `"Decommissioning"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CableStatusValue.md b/docs/CableStatusValue.md new file mode 100644 index 000000000..35769fef1 --- /dev/null +++ b/docs/CableStatusValue.md @@ -0,0 +1,15 @@ +# CableStatusValue + +## Enum + + +* `CONNECTED` (value: `"connected"`) + +* `PLANNED` (value: `"planned"`) + +* `DECOMMISSIONING` (value: `"decommissioning"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CableType.md b/docs/CableType.md new file mode 100644 index 000000000..3a9bb982a --- /dev/null +++ b/docs/CableType.md @@ -0,0 +1,59 @@ +# CableType + +## Enum + + +* `CAT3` (value: `"cat3"`) + +* `CAT5` (value: `"cat5"`) + +* `CAT5E` (value: `"cat5e"`) + +* `CAT6` (value: `"cat6"`) + +* `CAT6A` (value: `"cat6a"`) + +* `CAT7` (value: `"cat7"`) + +* `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"`) + +* `USB` (value: `"usb"`) + +* `POWER` (value: `"power"`) + +* `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/Circuit.md b/docs/Circuit.md index b9bb4fd7e..81a521aed 100644 --- a/docs/Circuit.md +++ b/docs/Circuit.md @@ -6,15 +6,32 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Cid** | **string** | Unique circuit ID | +**Provider** | [**BriefProvider**](BriefProvider.md) | | +**ProviderAccount** | Pointer to [**NullableBriefProviderAccount**](BriefProviderAccount.md) | | [optional] +**Type** | [**BriefCircuitType**](BriefCircuitType.md) | | +**Status** | Pointer to [**CircuitStatus**](CircuitStatus.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenant**](BriefTenant.md) | | [optional] +**InstallDate** | Pointer to **NullableString** | | [optional] +**TerminationDate** | Pointer to **NullableString** | | [optional] +**CommitRate** | Pointer to **NullableInt32** | Committed rate | [optional] **Description** | Pointer to **string** | | [optional] +**TerminationA** | [**NullableCircuitCircuitTermination**](CircuitCircuitTermination.md) | | [readonly] +**TerminationZ** | [**NullableCircuitCircuitTermination**](CircuitCircuitTermination.md) | | [readonly] +**Comments** | Pointer to **string** | | [optional] +**Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] +**Created** | **NullableTime** | | [readonly] +**LastUpdated** | **NullableTime** | | [readonly] +**Assignments** | Pointer to [**[]BriefCircuitGroupAssignmentSerializer**](BriefCircuitGroupAssignmentSerializer.md) | | [optional] ## Methods ### NewCircuit -`func NewCircuit(id int32, url string, display string, cid string, ) *Circuit` +`func NewCircuit(id int32, url string, display string, cid string, provider BriefProvider, type_ BriefCircuitType, terminationA NullableCircuitCircuitTermination, terminationZ NullableCircuitCircuitTermination, created NullableTime, lastUpdated NullableTime, ) *Circuit` NewCircuit instantiates a new Circuit object This constructor will assign default values to properties that have it defined, @@ -69,6 +86,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *Circuit) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *Circuit) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *Circuit) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *Circuit) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *Circuit) GetDisplay() string` @@ -109,6 +151,246 @@ and a boolean to check if the value has been set. SetCid sets Cid field to given value. +### GetProvider + +`func (o *Circuit) GetProvider() BriefProvider` + +GetProvider returns the Provider field if non-nil, zero value otherwise. + +### GetProviderOk + +`func (o *Circuit) GetProviderOk() (*BriefProvider, bool)` + +GetProviderOk returns a tuple with the Provider field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetProvider + +`func (o *Circuit) SetProvider(v BriefProvider)` + +SetProvider sets Provider field to given value. + + +### GetProviderAccount + +`func (o *Circuit) GetProviderAccount() BriefProviderAccount` + +GetProviderAccount returns the ProviderAccount field if non-nil, zero value otherwise. + +### GetProviderAccountOk + +`func (o *Circuit) GetProviderAccountOk() (*BriefProviderAccount, bool)` + +GetProviderAccountOk returns a tuple with the ProviderAccount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetProviderAccount + +`func (o *Circuit) SetProviderAccount(v BriefProviderAccount)` + +SetProviderAccount sets ProviderAccount field to given value. + +### HasProviderAccount + +`func (o *Circuit) HasProviderAccount() bool` + +HasProviderAccount returns a boolean if a field has been set. + +### SetProviderAccountNil + +`func (o *Circuit) SetProviderAccountNil(b bool)` + + SetProviderAccountNil sets the value for ProviderAccount to be an explicit nil + +### UnsetProviderAccount +`func (o *Circuit) UnsetProviderAccount()` + +UnsetProviderAccount ensures that no value is present for ProviderAccount, not even an explicit nil +### GetType + +`func (o *Circuit) GetType() BriefCircuitType` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *Circuit) GetTypeOk() (*BriefCircuitType, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *Circuit) SetType(v BriefCircuitType)` + +SetType sets Type field to given value. + + +### GetStatus + +`func (o *Circuit) GetStatus() CircuitStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *Circuit) GetStatusOk() (*CircuitStatus, 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 *Circuit) SetStatus(v CircuitStatus)` + +SetStatus sets Status field to given value. + +### HasStatus + +`func (o *Circuit) HasStatus() bool` + +HasStatus returns a boolean if a field has been set. + +### GetTenant + +`func (o *Circuit) GetTenant() BriefTenant` + +GetTenant returns the Tenant field if non-nil, zero value otherwise. + +### GetTenantOk + +`func (o *Circuit) GetTenantOk() (*BriefTenant, 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 *Circuit) SetTenant(v BriefTenant)` + +SetTenant sets Tenant field to given value. + +### HasTenant + +`func (o *Circuit) HasTenant() bool` + +HasTenant returns a boolean if a field has been set. + +### SetTenantNil + +`func (o *Circuit) SetTenantNil(b bool)` + + SetTenantNil sets the value for Tenant to be an explicit nil + +### UnsetTenant +`func (o *Circuit) UnsetTenant()` + +UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +### GetInstallDate + +`func (o *Circuit) GetInstallDate() string` + +GetInstallDate returns the InstallDate field if non-nil, zero value otherwise. + +### GetInstallDateOk + +`func (o *Circuit) GetInstallDateOk() (*string, bool)` + +GetInstallDateOk returns a tuple with the InstallDate field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetInstallDate + +`func (o *Circuit) SetInstallDate(v string)` + +SetInstallDate sets InstallDate field to given value. + +### HasInstallDate + +`func (o *Circuit) HasInstallDate() bool` + +HasInstallDate returns a boolean if a field has been set. + +### SetInstallDateNil + +`func (o *Circuit) SetInstallDateNil(b bool)` + + SetInstallDateNil sets the value for InstallDate to be an explicit nil + +### UnsetInstallDate +`func (o *Circuit) UnsetInstallDate()` + +UnsetInstallDate ensures that no value is present for InstallDate, not even an explicit nil +### GetTerminationDate + +`func (o *Circuit) GetTerminationDate() string` + +GetTerminationDate returns the TerminationDate field if non-nil, zero value otherwise. + +### GetTerminationDateOk + +`func (o *Circuit) GetTerminationDateOk() (*string, bool)` + +GetTerminationDateOk returns a tuple with the TerminationDate field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTerminationDate + +`func (o *Circuit) SetTerminationDate(v string)` + +SetTerminationDate sets TerminationDate field to given value. + +### HasTerminationDate + +`func (o *Circuit) HasTerminationDate() bool` + +HasTerminationDate returns a boolean if a field has been set. + +### SetTerminationDateNil + +`func (o *Circuit) SetTerminationDateNil(b bool)` + + SetTerminationDateNil sets the value for TerminationDate to be an explicit nil + +### UnsetTerminationDate +`func (o *Circuit) UnsetTerminationDate()` + +UnsetTerminationDate ensures that no value is present for TerminationDate, not even an explicit nil +### GetCommitRate + +`func (o *Circuit) GetCommitRate() int32` + +GetCommitRate returns the CommitRate field if non-nil, zero value otherwise. + +### GetCommitRateOk + +`func (o *Circuit) GetCommitRateOk() (*int32, bool)` + +GetCommitRateOk returns a tuple with the CommitRate field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCommitRate + +`func (o *Circuit) SetCommitRate(v int32)` + +SetCommitRate sets CommitRate field to given value. + +### HasCommitRate + +`func (o *Circuit) HasCommitRate() bool` + +HasCommitRate returns a boolean if a field has been set. + +### SetCommitRateNil + +`func (o *Circuit) SetCommitRateNil(b bool)` + + SetCommitRateNil sets the value for CommitRate to be an explicit nil + +### UnsetCommitRate +`func (o *Circuit) UnsetCommitRate()` + +UnsetCommitRate ensures that no value is present for CommitRate, not even an explicit nil ### GetDescription `func (o *Circuit) GetDescription() string` @@ -134,6 +416,226 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetTerminationA + +`func (o *Circuit) GetTerminationA() CircuitCircuitTermination` + +GetTerminationA returns the TerminationA field if non-nil, zero value otherwise. + +### GetTerminationAOk + +`func (o *Circuit) GetTerminationAOk() (*CircuitCircuitTermination, bool)` + +GetTerminationAOk returns a tuple with the TerminationA field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTerminationA + +`func (o *Circuit) SetTerminationA(v CircuitCircuitTermination)` + +SetTerminationA sets TerminationA field to given value. + + +### SetTerminationANil + +`func (o *Circuit) SetTerminationANil(b bool)` + + SetTerminationANil sets the value for TerminationA to be an explicit nil + +### UnsetTerminationA +`func (o *Circuit) UnsetTerminationA()` + +UnsetTerminationA ensures that no value is present for TerminationA, not even an explicit nil +### GetTerminationZ + +`func (o *Circuit) GetTerminationZ() CircuitCircuitTermination` + +GetTerminationZ returns the TerminationZ field if non-nil, zero value otherwise. + +### GetTerminationZOk + +`func (o *Circuit) GetTerminationZOk() (*CircuitCircuitTermination, bool)` + +GetTerminationZOk returns a tuple with the TerminationZ field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTerminationZ + +`func (o *Circuit) SetTerminationZ(v CircuitCircuitTermination)` + +SetTerminationZ sets TerminationZ field to given value. + + +### SetTerminationZNil + +`func (o *Circuit) SetTerminationZNil(b bool)` + + SetTerminationZNil sets the value for TerminationZ to be an explicit nil + +### UnsetTerminationZ +`func (o *Circuit) UnsetTerminationZ()` + +UnsetTerminationZ ensures that no value is present for TerminationZ, not even an explicit nil +### GetComments + +`func (o *Circuit) GetComments() string` + +GetComments returns the Comments field if non-nil, zero value otherwise. + +### GetCommentsOk + +`func (o *Circuit) GetCommentsOk() (*string, bool)` + +GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComments + +`func (o *Circuit) SetComments(v string)` + +SetComments sets Comments field to given value. + +### HasComments + +`func (o *Circuit) HasComments() bool` + +HasComments returns a boolean if a field has been set. + +### GetTags + +`func (o *Circuit) GetTags() []NestedTag` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *Circuit) GetTagsOk() (*[]NestedTag, 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 *Circuit) SetTags(v []NestedTag)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *Circuit) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *Circuit) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *Circuit) 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 *Circuit) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *Circuit) HasCustomFields() bool` + +HasCustomFields returns a boolean if a field has been set. + +### GetCreated + +`func (o *Circuit) GetCreated() time.Time` + +GetCreated returns the Created field if non-nil, zero value otherwise. + +### GetCreatedOk + +`func (o *Circuit) 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 *Circuit) SetCreated(v time.Time)` + +SetCreated sets Created field to given value. + + +### SetCreatedNil + +`func (o *Circuit) SetCreatedNil(b bool)` + + SetCreatedNil sets the value for Created to be an explicit nil + +### UnsetCreated +`func (o *Circuit) UnsetCreated()` + +UnsetCreated ensures that no value is present for Created, not even an explicit nil +### GetLastUpdated + +`func (o *Circuit) GetLastUpdated() time.Time` + +GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise. + +### GetLastUpdatedOk + +`func (o *Circuit) 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 *Circuit) SetLastUpdated(v time.Time)` + +SetLastUpdated sets LastUpdated field to given value. + + +### SetLastUpdatedNil + +`func (o *Circuit) SetLastUpdatedNil(b bool)` + + SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil + +### UnsetLastUpdated +`func (o *Circuit) UnsetLastUpdated()` + +UnsetLastUpdated ensures that no value is present for LastUpdated, not even an explicit nil +### GetAssignments + +`func (o *Circuit) GetAssignments() []BriefCircuitGroupAssignmentSerializer` + +GetAssignments returns the Assignments field if non-nil, zero value otherwise. + +### GetAssignmentsOk + +`func (o *Circuit) GetAssignmentsOk() (*[]BriefCircuitGroupAssignmentSerializer, bool)` + +GetAssignmentsOk returns a tuple with the Assignments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAssignments + +`func (o *Circuit) SetAssignments(v []BriefCircuitGroupAssignmentSerializer)` + +SetAssignments sets Assignments field to given value. + +### HasAssignments + +`func (o *Circuit) HasAssignments() bool` + +HasAssignments 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/CircuitCircuitTermination.md b/docs/CircuitCircuitTermination.md new file mode 100644 index 000000000..86ff40d4b --- /dev/null +++ b/docs/CircuitCircuitTermination.md @@ -0,0 +1,305 @@ +# CircuitCircuitTermination + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] +**Display** | **string** | | [readonly] +**Site** | [**NullableBriefSite**](BriefSite.md) | | +**ProviderNetwork** | [**NullableBriefProviderNetwork**](BriefProviderNetwork.md) | | +**PortSpeed** | Pointer to **NullableInt32** | Physical circuit speed | [optional] +**UpstreamSpeed** | Pointer to **NullableInt32** | Upstream speed, if different from port speed | [optional] +**XconnectId** | Pointer to **string** | ID of the local cross-connect | [optional] +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewCircuitCircuitTermination + +`func NewCircuitCircuitTermination(id int32, url string, display string, site NullableBriefSite, providerNetwork NullableBriefProviderNetwork, ) *CircuitCircuitTermination` + +NewCircuitCircuitTermination instantiates a new CircuitCircuitTermination object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewCircuitCircuitTerminationWithDefaults + +`func NewCircuitCircuitTerminationWithDefaults() *CircuitCircuitTermination` + +NewCircuitCircuitTerminationWithDefaults instantiates a new CircuitCircuitTermination object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *CircuitCircuitTermination) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *CircuitCircuitTermination) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *CircuitCircuitTermination) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *CircuitCircuitTermination) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *CircuitCircuitTermination) 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 *CircuitCircuitTermination) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplayUrl + +`func (o *CircuitCircuitTermination) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *CircuitCircuitTermination) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *CircuitCircuitTermination) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *CircuitCircuitTermination) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + +### GetDisplay + +`func (o *CircuitCircuitTermination) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *CircuitCircuitTermination) 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 *CircuitCircuitTermination) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetSite + +`func (o *CircuitCircuitTermination) GetSite() BriefSite` + +GetSite returns the Site field if non-nil, zero value otherwise. + +### GetSiteOk + +`func (o *CircuitCircuitTermination) GetSiteOk() (*BriefSite, bool)` + +GetSiteOk returns a tuple with the Site field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSite + +`func (o *CircuitCircuitTermination) SetSite(v BriefSite)` + +SetSite sets Site field to given value. + + +### SetSiteNil + +`func (o *CircuitCircuitTermination) SetSiteNil(b bool)` + + SetSiteNil sets the value for Site to be an explicit nil + +### UnsetSite +`func (o *CircuitCircuitTermination) UnsetSite()` + +UnsetSite ensures that no value is present for Site, not even an explicit nil +### GetProviderNetwork + +`func (o *CircuitCircuitTermination) GetProviderNetwork() BriefProviderNetwork` + +GetProviderNetwork returns the ProviderNetwork field if non-nil, zero value otherwise. + +### GetProviderNetworkOk + +`func (o *CircuitCircuitTermination) GetProviderNetworkOk() (*BriefProviderNetwork, bool)` + +GetProviderNetworkOk returns a tuple with the ProviderNetwork field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetProviderNetwork + +`func (o *CircuitCircuitTermination) SetProviderNetwork(v BriefProviderNetwork)` + +SetProviderNetwork sets ProviderNetwork field to given value. + + +### SetProviderNetworkNil + +`func (o *CircuitCircuitTermination) SetProviderNetworkNil(b bool)` + + SetProviderNetworkNil sets the value for ProviderNetwork to be an explicit nil + +### UnsetProviderNetwork +`func (o *CircuitCircuitTermination) UnsetProviderNetwork()` + +UnsetProviderNetwork ensures that no value is present for ProviderNetwork, not even an explicit nil +### GetPortSpeed + +`func (o *CircuitCircuitTermination) GetPortSpeed() int32` + +GetPortSpeed returns the PortSpeed field if non-nil, zero value otherwise. + +### GetPortSpeedOk + +`func (o *CircuitCircuitTermination) GetPortSpeedOk() (*int32, bool)` + +GetPortSpeedOk returns a tuple with the PortSpeed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPortSpeed + +`func (o *CircuitCircuitTermination) SetPortSpeed(v int32)` + +SetPortSpeed sets PortSpeed field to given value. + +### HasPortSpeed + +`func (o *CircuitCircuitTermination) HasPortSpeed() bool` + +HasPortSpeed returns a boolean if a field has been set. + +### SetPortSpeedNil + +`func (o *CircuitCircuitTermination) SetPortSpeedNil(b bool)` + + SetPortSpeedNil sets the value for PortSpeed to be an explicit nil + +### UnsetPortSpeed +`func (o *CircuitCircuitTermination) UnsetPortSpeed()` + +UnsetPortSpeed ensures that no value is present for PortSpeed, not even an explicit nil +### GetUpstreamSpeed + +`func (o *CircuitCircuitTermination) GetUpstreamSpeed() int32` + +GetUpstreamSpeed returns the UpstreamSpeed field if non-nil, zero value otherwise. + +### GetUpstreamSpeedOk + +`func (o *CircuitCircuitTermination) GetUpstreamSpeedOk() (*int32, bool)` + +GetUpstreamSpeedOk returns a tuple with the UpstreamSpeed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUpstreamSpeed + +`func (o *CircuitCircuitTermination) SetUpstreamSpeed(v int32)` + +SetUpstreamSpeed sets UpstreamSpeed field to given value. + +### HasUpstreamSpeed + +`func (o *CircuitCircuitTermination) HasUpstreamSpeed() bool` + +HasUpstreamSpeed returns a boolean if a field has been set. + +### SetUpstreamSpeedNil + +`func (o *CircuitCircuitTermination) SetUpstreamSpeedNil(b bool)` + + SetUpstreamSpeedNil sets the value for UpstreamSpeed to be an explicit nil + +### UnsetUpstreamSpeed +`func (o *CircuitCircuitTermination) UnsetUpstreamSpeed()` + +UnsetUpstreamSpeed ensures that no value is present for UpstreamSpeed, not even an explicit nil +### GetXconnectId + +`func (o *CircuitCircuitTermination) GetXconnectId() string` + +GetXconnectId returns the XconnectId field if non-nil, zero value otherwise. + +### GetXconnectIdOk + +`func (o *CircuitCircuitTermination) GetXconnectIdOk() (*string, bool)` + +GetXconnectIdOk returns a tuple with the XconnectId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetXconnectId + +`func (o *CircuitCircuitTermination) SetXconnectId(v string)` + +SetXconnectId sets XconnectId field to given value. + +### HasXconnectId + +`func (o *CircuitCircuitTermination) HasXconnectId() bool` + +HasXconnectId returns a boolean if a field has been set. + +### GetDescription + +`func (o *CircuitCircuitTermination) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *CircuitCircuitTermination) 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 *CircuitCircuitTermination) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *CircuitCircuitTermination) HasDescription() bool` + +HasDescription 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/CircuitCircuitTerminationRequest.md b/docs/CircuitCircuitTerminationRequest.md new file mode 100644 index 000000000..7a7dc6c09 --- /dev/null +++ b/docs/CircuitCircuitTerminationRequest.md @@ -0,0 +1,216 @@ +# CircuitCircuitTerminationRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Site** | [**NullableBriefSiteRequest**](BriefSiteRequest.md) | | +**ProviderNetwork** | [**NullableBriefProviderNetworkRequest**](BriefProviderNetworkRequest.md) | | +**PortSpeed** | Pointer to **NullableInt32** | Physical circuit speed | [optional] +**UpstreamSpeed** | Pointer to **NullableInt32** | Upstream speed, if different from port speed | [optional] +**XconnectId** | Pointer to **string** | ID of the local cross-connect | [optional] +**Description** | Pointer to **string** | | [optional] + +## Methods + +### NewCircuitCircuitTerminationRequest + +`func NewCircuitCircuitTerminationRequest(site NullableBriefSiteRequest, providerNetwork NullableBriefProviderNetworkRequest, ) *CircuitCircuitTerminationRequest` + +NewCircuitCircuitTerminationRequest instantiates a new CircuitCircuitTerminationRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewCircuitCircuitTerminationRequestWithDefaults + +`func NewCircuitCircuitTerminationRequestWithDefaults() *CircuitCircuitTerminationRequest` + +NewCircuitCircuitTerminationRequestWithDefaults instantiates a new CircuitCircuitTerminationRequest object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetSite + +`func (o *CircuitCircuitTerminationRequest) GetSite() BriefSiteRequest` + +GetSite returns the Site field if non-nil, zero value otherwise. + +### GetSiteOk + +`func (o *CircuitCircuitTerminationRequest) GetSiteOk() (*BriefSiteRequest, bool)` + +GetSiteOk returns a tuple with the Site field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSite + +`func (o *CircuitCircuitTerminationRequest) SetSite(v BriefSiteRequest)` + +SetSite sets Site field to given value. + + +### SetSiteNil + +`func (o *CircuitCircuitTerminationRequest) SetSiteNil(b bool)` + + SetSiteNil sets the value for Site to be an explicit nil + +### UnsetSite +`func (o *CircuitCircuitTerminationRequest) UnsetSite()` + +UnsetSite ensures that no value is present for Site, not even an explicit nil +### GetProviderNetwork + +`func (o *CircuitCircuitTerminationRequest) GetProviderNetwork() BriefProviderNetworkRequest` + +GetProviderNetwork returns the ProviderNetwork field if non-nil, zero value otherwise. + +### GetProviderNetworkOk + +`func (o *CircuitCircuitTerminationRequest) GetProviderNetworkOk() (*BriefProviderNetworkRequest, bool)` + +GetProviderNetworkOk returns a tuple with the ProviderNetwork field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetProviderNetwork + +`func (o *CircuitCircuitTerminationRequest) SetProviderNetwork(v BriefProviderNetworkRequest)` + +SetProviderNetwork sets ProviderNetwork field to given value. + + +### SetProviderNetworkNil + +`func (o *CircuitCircuitTerminationRequest) SetProviderNetworkNil(b bool)` + + SetProviderNetworkNil sets the value for ProviderNetwork to be an explicit nil + +### UnsetProviderNetwork +`func (o *CircuitCircuitTerminationRequest) UnsetProviderNetwork()` + +UnsetProviderNetwork ensures that no value is present for ProviderNetwork, not even an explicit nil +### GetPortSpeed + +`func (o *CircuitCircuitTerminationRequest) GetPortSpeed() int32` + +GetPortSpeed returns the PortSpeed field if non-nil, zero value otherwise. + +### GetPortSpeedOk + +`func (o *CircuitCircuitTerminationRequest) GetPortSpeedOk() (*int32, bool)` + +GetPortSpeedOk returns a tuple with the PortSpeed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPortSpeed + +`func (o *CircuitCircuitTerminationRequest) SetPortSpeed(v int32)` + +SetPortSpeed sets PortSpeed field to given value. + +### HasPortSpeed + +`func (o *CircuitCircuitTerminationRequest) HasPortSpeed() bool` + +HasPortSpeed returns a boolean if a field has been set. + +### SetPortSpeedNil + +`func (o *CircuitCircuitTerminationRequest) SetPortSpeedNil(b bool)` + + SetPortSpeedNil sets the value for PortSpeed to be an explicit nil + +### UnsetPortSpeed +`func (o *CircuitCircuitTerminationRequest) UnsetPortSpeed()` + +UnsetPortSpeed ensures that no value is present for PortSpeed, not even an explicit nil +### GetUpstreamSpeed + +`func (o *CircuitCircuitTerminationRequest) GetUpstreamSpeed() int32` + +GetUpstreamSpeed returns the UpstreamSpeed field if non-nil, zero value otherwise. + +### GetUpstreamSpeedOk + +`func (o *CircuitCircuitTerminationRequest) GetUpstreamSpeedOk() (*int32, bool)` + +GetUpstreamSpeedOk returns a tuple with the UpstreamSpeed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUpstreamSpeed + +`func (o *CircuitCircuitTerminationRequest) SetUpstreamSpeed(v int32)` + +SetUpstreamSpeed sets UpstreamSpeed field to given value. + +### HasUpstreamSpeed + +`func (o *CircuitCircuitTerminationRequest) HasUpstreamSpeed() bool` + +HasUpstreamSpeed returns a boolean if a field has been set. + +### SetUpstreamSpeedNil + +`func (o *CircuitCircuitTerminationRequest) SetUpstreamSpeedNil(b bool)` + + SetUpstreamSpeedNil sets the value for UpstreamSpeed to be an explicit nil + +### UnsetUpstreamSpeed +`func (o *CircuitCircuitTerminationRequest) UnsetUpstreamSpeed()` + +UnsetUpstreamSpeed ensures that no value is present for UpstreamSpeed, not even an explicit nil +### GetXconnectId + +`func (o *CircuitCircuitTerminationRequest) GetXconnectId() string` + +GetXconnectId returns the XconnectId field if non-nil, zero value otherwise. + +### GetXconnectIdOk + +`func (o *CircuitCircuitTerminationRequest) GetXconnectIdOk() (*string, bool)` + +GetXconnectIdOk returns a tuple with the XconnectId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetXconnectId + +`func (o *CircuitCircuitTerminationRequest) SetXconnectId(v string)` + +SetXconnectId sets XconnectId field to given value. + +### HasXconnectId + +`func (o *CircuitCircuitTerminationRequest) HasXconnectId() bool` + +HasXconnectId returns a boolean if a field has been set. + +### GetDescription + +`func (o *CircuitCircuitTerminationRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *CircuitCircuitTerminationRequest) 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 *CircuitCircuitTerminationRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *CircuitCircuitTerminationRequest) HasDescription() bool` + +HasDescription 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/CircuitGroup.md b/docs/CircuitGroup.md new file mode 100644 index 000000000..58bc40f5b --- /dev/null +++ b/docs/CircuitGroup.md @@ -0,0 +1,358 @@ +# CircuitGroup + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] +**Display** | **string** | | [readonly] +**Name** | **string** | | +**Slug** | **string** | | +**Description** | Pointer to **string** | | [optional] +**Tenant** | Pointer to [**NullableBriefTenant**](BriefTenant.md) | | [optional] +**Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] +**Created** | **NullableTime** | | [readonly] +**LastUpdated** | **NullableTime** | | [readonly] +**CircuitCount** | **int64** | | [readonly] + +## Methods + +### NewCircuitGroup + +`func NewCircuitGroup(id int32, url string, display string, name string, slug string, created NullableTime, lastUpdated NullableTime, circuitCount int64, ) *CircuitGroup` + +NewCircuitGroup instantiates a new CircuitGroup object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewCircuitGroupWithDefaults + +`func NewCircuitGroupWithDefaults() *CircuitGroup` + +NewCircuitGroupWithDefaults instantiates a new CircuitGroup object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *CircuitGroup) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *CircuitGroup) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *CircuitGroup) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *CircuitGroup) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *CircuitGroup) 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 *CircuitGroup) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplayUrl + +`func (o *CircuitGroup) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *CircuitGroup) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *CircuitGroup) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *CircuitGroup) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + +### GetDisplay + +`func (o *CircuitGroup) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *CircuitGroup) 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 *CircuitGroup) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetName + +`func (o *CircuitGroup) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *CircuitGroup) 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 *CircuitGroup) SetName(v string)` + +SetName sets Name field to given value. + + +### GetSlug + +`func (o *CircuitGroup) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *CircuitGroup) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *CircuitGroup) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetDescription + +`func (o *CircuitGroup) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *CircuitGroup) 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 *CircuitGroup) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *CircuitGroup) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetTenant + +`func (o *CircuitGroup) GetTenant() BriefTenant` + +GetTenant returns the Tenant field if non-nil, zero value otherwise. + +### GetTenantOk + +`func (o *CircuitGroup) GetTenantOk() (*BriefTenant, 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 *CircuitGroup) SetTenant(v BriefTenant)` + +SetTenant sets Tenant field to given value. + +### HasTenant + +`func (o *CircuitGroup) HasTenant() bool` + +HasTenant returns a boolean if a field has been set. + +### SetTenantNil + +`func (o *CircuitGroup) SetTenantNil(b bool)` + + SetTenantNil sets the value for Tenant to be an explicit nil + +### UnsetTenant +`func (o *CircuitGroup) UnsetTenant()` + +UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +### GetTags + +`func (o *CircuitGroup) GetTags() []NestedTag` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *CircuitGroup) GetTagsOk() (*[]NestedTag, 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 *CircuitGroup) SetTags(v []NestedTag)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *CircuitGroup) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *CircuitGroup) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *CircuitGroup) 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 *CircuitGroup) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *CircuitGroup) HasCustomFields() bool` + +HasCustomFields returns a boolean if a field has been set. + +### GetCreated + +`func (o *CircuitGroup) GetCreated() time.Time` + +GetCreated returns the Created field if non-nil, zero value otherwise. + +### GetCreatedOk + +`func (o *CircuitGroup) 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 *CircuitGroup) SetCreated(v time.Time)` + +SetCreated sets Created field to given value. + + +### SetCreatedNil + +`func (o *CircuitGroup) SetCreatedNil(b bool)` + + SetCreatedNil sets the value for Created to be an explicit nil + +### UnsetCreated +`func (o *CircuitGroup) UnsetCreated()` + +UnsetCreated ensures that no value is present for Created, not even an explicit nil +### GetLastUpdated + +`func (o *CircuitGroup) GetLastUpdated() time.Time` + +GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise. + +### GetLastUpdatedOk + +`func (o *CircuitGroup) 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 *CircuitGroup) SetLastUpdated(v time.Time)` + +SetLastUpdated sets LastUpdated field to given value. + + +### SetLastUpdatedNil + +`func (o *CircuitGroup) SetLastUpdatedNil(b bool)` + + SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil + +### UnsetLastUpdated +`func (o *CircuitGroup) UnsetLastUpdated()` + +UnsetLastUpdated ensures that no value is present for LastUpdated, not even an explicit nil +### GetCircuitCount + +`func (o *CircuitGroup) GetCircuitCount() int64` + +GetCircuitCount returns the CircuitCount field if non-nil, zero value otherwise. + +### GetCircuitCountOk + +`func (o *CircuitGroup) GetCircuitCountOk() (*int64, bool)` + +GetCircuitCountOk returns a tuple with the CircuitCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCircuitCount + +`func (o *CircuitGroup) SetCircuitCount(v int64)` + +SetCircuitCount sets CircuitCount 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/CircuitGroupAssignment.md b/docs/CircuitGroupAssignment.md new file mode 100644 index 000000000..bb2647f4b --- /dev/null +++ b/docs/CircuitGroupAssignment.md @@ -0,0 +1,275 @@ +# CircuitGroupAssignment + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] +**Display** | **string** | | [readonly] +**Group** | [**BriefCircuitGroup**](BriefCircuitGroup.md) | | +**Circuit** | [**BriefCircuit**](BriefCircuit.md) | | +**Priority** | Pointer to [**BriefCircuitGroupAssignmentSerializerPriority**](BriefCircuitGroupAssignmentSerializerPriority.md) | | [optional] +**Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] +**Created** | **NullableTime** | | [readonly] +**LastUpdated** | **NullableTime** | | [readonly] + +## Methods + +### NewCircuitGroupAssignment + +`func NewCircuitGroupAssignment(id int32, url string, display string, group BriefCircuitGroup, circuit BriefCircuit, created NullableTime, lastUpdated NullableTime, ) *CircuitGroupAssignment` + +NewCircuitGroupAssignment instantiates a new CircuitGroupAssignment object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewCircuitGroupAssignmentWithDefaults + +`func NewCircuitGroupAssignmentWithDefaults() *CircuitGroupAssignment` + +NewCircuitGroupAssignmentWithDefaults instantiates a new CircuitGroupAssignment object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *CircuitGroupAssignment) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *CircuitGroupAssignment) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *CircuitGroupAssignment) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *CircuitGroupAssignment) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *CircuitGroupAssignment) 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 *CircuitGroupAssignment) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplayUrl + +`func (o *CircuitGroupAssignment) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *CircuitGroupAssignment) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *CircuitGroupAssignment) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *CircuitGroupAssignment) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + +### GetDisplay + +`func (o *CircuitGroupAssignment) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *CircuitGroupAssignment) 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 *CircuitGroupAssignment) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetGroup + +`func (o *CircuitGroupAssignment) GetGroup() BriefCircuitGroup` + +GetGroup returns the Group field if non-nil, zero value otherwise. + +### GetGroupOk + +`func (o *CircuitGroupAssignment) GetGroupOk() (*BriefCircuitGroup, bool)` + +GetGroupOk returns a tuple with the Group field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGroup + +`func (o *CircuitGroupAssignment) SetGroup(v BriefCircuitGroup)` + +SetGroup sets Group field to given value. + + +### GetCircuit + +`func (o *CircuitGroupAssignment) GetCircuit() BriefCircuit` + +GetCircuit returns the Circuit field if non-nil, zero value otherwise. + +### GetCircuitOk + +`func (o *CircuitGroupAssignment) GetCircuitOk() (*BriefCircuit, bool)` + +GetCircuitOk returns a tuple with the Circuit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCircuit + +`func (o *CircuitGroupAssignment) SetCircuit(v BriefCircuit)` + +SetCircuit sets Circuit field to given value. + + +### GetPriority + +`func (o *CircuitGroupAssignment) GetPriority() BriefCircuitGroupAssignmentSerializerPriority` + +GetPriority returns the Priority field if non-nil, zero value otherwise. + +### GetPriorityOk + +`func (o *CircuitGroupAssignment) GetPriorityOk() (*BriefCircuitGroupAssignmentSerializerPriority, bool)` + +GetPriorityOk returns a tuple with the Priority field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPriority + +`func (o *CircuitGroupAssignment) SetPriority(v BriefCircuitGroupAssignmentSerializerPriority)` + +SetPriority sets Priority field to given value. + +### HasPriority + +`func (o *CircuitGroupAssignment) HasPriority() bool` + +HasPriority returns a boolean if a field has been set. + +### GetTags + +`func (o *CircuitGroupAssignment) GetTags() []NestedTag` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *CircuitGroupAssignment) GetTagsOk() (*[]NestedTag, 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 *CircuitGroupAssignment) SetTags(v []NestedTag)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *CircuitGroupAssignment) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCreated + +`func (o *CircuitGroupAssignment) GetCreated() time.Time` + +GetCreated returns the Created field if non-nil, zero value otherwise. + +### GetCreatedOk + +`func (o *CircuitGroupAssignment) 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 *CircuitGroupAssignment) SetCreated(v time.Time)` + +SetCreated sets Created field to given value. + + +### SetCreatedNil + +`func (o *CircuitGroupAssignment) SetCreatedNil(b bool)` + + SetCreatedNil sets the value for Created to be an explicit nil + +### UnsetCreated +`func (o *CircuitGroupAssignment) UnsetCreated()` + +UnsetCreated ensures that no value is present for Created, not even an explicit nil +### GetLastUpdated + +`func (o *CircuitGroupAssignment) GetLastUpdated() time.Time` + +GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise. + +### GetLastUpdatedOk + +`func (o *CircuitGroupAssignment) 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 *CircuitGroupAssignment) SetLastUpdated(v time.Time)` + +SetLastUpdated sets LastUpdated field to given value. + + +### SetLastUpdatedNil + +`func (o *CircuitGroupAssignment) SetLastUpdatedNil(b bool)` + + SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil + +### UnsetLastUpdated +`func (o *CircuitGroupAssignment) UnsetLastUpdated()` + +UnsetLastUpdated ensures that no value is present for LastUpdated, 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/CircuitGroupAssignmentRequest.md b/docs/CircuitGroupAssignmentRequest.md new file mode 100644 index 000000000..8858b039e --- /dev/null +++ b/docs/CircuitGroupAssignmentRequest.md @@ -0,0 +1,124 @@ +# CircuitGroupAssignmentRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Group** | [**BriefCircuitGroupRequest**](BriefCircuitGroupRequest.md) | | +**Circuit** | [**BriefCircuitRequest**](BriefCircuitRequest.md) | | +**Priority** | Pointer to [**BriefCircuitGroupAssignmentSerializerPriorityValue**](BriefCircuitGroupAssignmentSerializerPriorityValue.md) | | [optional] +**Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] + +## Methods + +### NewCircuitGroupAssignmentRequest + +`func NewCircuitGroupAssignmentRequest(group BriefCircuitGroupRequest, circuit BriefCircuitRequest, ) *CircuitGroupAssignmentRequest` + +NewCircuitGroupAssignmentRequest instantiates a new CircuitGroupAssignmentRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewCircuitGroupAssignmentRequestWithDefaults + +`func NewCircuitGroupAssignmentRequestWithDefaults() *CircuitGroupAssignmentRequest` + +NewCircuitGroupAssignmentRequestWithDefaults instantiates a new CircuitGroupAssignmentRequest object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetGroup + +`func (o *CircuitGroupAssignmentRequest) GetGroup() BriefCircuitGroupRequest` + +GetGroup returns the Group field if non-nil, zero value otherwise. + +### GetGroupOk + +`func (o *CircuitGroupAssignmentRequest) GetGroupOk() (*BriefCircuitGroupRequest, bool)` + +GetGroupOk returns a tuple with the Group field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGroup + +`func (o *CircuitGroupAssignmentRequest) SetGroup(v BriefCircuitGroupRequest)` + +SetGroup sets Group field to given value. + + +### GetCircuit + +`func (o *CircuitGroupAssignmentRequest) GetCircuit() BriefCircuitRequest` + +GetCircuit returns the Circuit field if non-nil, zero value otherwise. + +### GetCircuitOk + +`func (o *CircuitGroupAssignmentRequest) GetCircuitOk() (*BriefCircuitRequest, bool)` + +GetCircuitOk returns a tuple with the Circuit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCircuit + +`func (o *CircuitGroupAssignmentRequest) SetCircuit(v BriefCircuitRequest)` + +SetCircuit sets Circuit field to given value. + + +### GetPriority + +`func (o *CircuitGroupAssignmentRequest) GetPriority() BriefCircuitGroupAssignmentSerializerPriorityValue` + +GetPriority returns the Priority field if non-nil, zero value otherwise. + +### GetPriorityOk + +`func (o *CircuitGroupAssignmentRequest) GetPriorityOk() (*BriefCircuitGroupAssignmentSerializerPriorityValue, bool)` + +GetPriorityOk returns a tuple with the Priority field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPriority + +`func (o *CircuitGroupAssignmentRequest) SetPriority(v BriefCircuitGroupAssignmentSerializerPriorityValue)` + +SetPriority sets Priority field to given value. + +### HasPriority + +`func (o *CircuitGroupAssignmentRequest) HasPriority() bool` + +HasPriority returns a boolean if a field has been set. + +### GetTags + +`func (o *CircuitGroupAssignmentRequest) GetTags() []NestedTagRequest` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *CircuitGroupAssignmentRequest) GetTagsOk() (*[]NestedTagRequest, 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 *CircuitGroupAssignmentRequest) SetTags(v []NestedTagRequest)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *CircuitGroupAssignmentRequest) 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/CircuitGroupRequest.md b/docs/CircuitGroupRequest.md new file mode 100644 index 000000000..7d69e4f34 --- /dev/null +++ b/docs/CircuitGroupRequest.md @@ -0,0 +1,186 @@ +# CircuitGroupRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **string** | | +**Slug** | **string** | | +**Description** | Pointer to **string** | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] +**Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] + +## Methods + +### NewCircuitGroupRequest + +`func NewCircuitGroupRequest(name string, slug string, ) *CircuitGroupRequest` + +NewCircuitGroupRequest instantiates a new CircuitGroupRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewCircuitGroupRequestWithDefaults + +`func NewCircuitGroupRequestWithDefaults() *CircuitGroupRequest` + +NewCircuitGroupRequestWithDefaults instantiates a new CircuitGroupRequest object +This 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 *CircuitGroupRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *CircuitGroupRequest) 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 *CircuitGroupRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetSlug + +`func (o *CircuitGroupRequest) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *CircuitGroupRequest) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *CircuitGroupRequest) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetDescription + +`func (o *CircuitGroupRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *CircuitGroupRequest) 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 *CircuitGroupRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *CircuitGroupRequest) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetTenant + +`func (o *CircuitGroupRequest) GetTenant() BriefTenantRequest` + +GetTenant returns the Tenant field if non-nil, zero value otherwise. + +### GetTenantOk + +`func (o *CircuitGroupRequest) GetTenantOk() (*BriefTenantRequest, 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 *CircuitGroupRequest) SetTenant(v BriefTenantRequest)` + +SetTenant sets Tenant field to given value. + +### HasTenant + +`func (o *CircuitGroupRequest) HasTenant() bool` + +HasTenant returns a boolean if a field has been set. + +### SetTenantNil + +`func (o *CircuitGroupRequest) SetTenantNil(b bool)` + + SetTenantNil sets the value for Tenant to be an explicit nil + +### UnsetTenant +`func (o *CircuitGroupRequest) UnsetTenant()` + +UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +### GetTags + +`func (o *CircuitGroupRequest) GetTags() []NestedTagRequest` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *CircuitGroupRequest) GetTagsOk() (*[]NestedTagRequest, 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 *CircuitGroupRequest) SetTags(v []NestedTagRequest)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *CircuitGroupRequest) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *CircuitGroupRequest) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *CircuitGroupRequest) 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 *CircuitGroupRequest) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *CircuitGroupRequest) 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/CircuitRequest.md b/docs/CircuitRequest.md index e28059fb5..0b956756e 100644 --- a/docs/CircuitRequest.md +++ b/docs/CircuitRequest.md @@ -5,13 +5,25 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Cid** | **string** | Unique circuit ID | +**Provider** | [**BriefProviderRequest**](BriefProviderRequest.md) | | +**ProviderAccount** | Pointer to [**NullableBriefProviderAccountRequest**](BriefProviderAccountRequest.md) | | [optional] +**Type** | [**BriefCircuitTypeRequest**](BriefCircuitTypeRequest.md) | | +**Status** | Pointer to [**CircuitStatusValue**](CircuitStatusValue.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] +**InstallDate** | Pointer to **NullableString** | | [optional] +**TerminationDate** | Pointer to **NullableString** | | [optional] +**CommitRate** | Pointer to **NullableInt32** | Committed rate | [optional] **Description** | Pointer to **string** | | [optional] +**Comments** | Pointer to **string** | | [optional] +**Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] +**Assignments** | Pointer to [**[]BriefCircuitGroupAssignmentSerializerRequest**](BriefCircuitGroupAssignmentSerializerRequest.md) | | [optional] ## Methods ### NewCircuitRequest -`func NewCircuitRequest(cid string, ) *CircuitRequest` +`func NewCircuitRequest(cid string, provider BriefProviderRequest, type_ BriefCircuitTypeRequest, ) *CircuitRequest` NewCircuitRequest instantiates a new CircuitRequest object This constructor will assign default values to properties that have it defined, @@ -46,6 +58,246 @@ and a boolean to check if the value has been set. SetCid sets Cid field to given value. +### GetProvider + +`func (o *CircuitRequest) GetProvider() BriefProviderRequest` + +GetProvider returns the Provider field if non-nil, zero value otherwise. + +### GetProviderOk + +`func (o *CircuitRequest) GetProviderOk() (*BriefProviderRequest, bool)` + +GetProviderOk returns a tuple with the Provider field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetProvider + +`func (o *CircuitRequest) SetProvider(v BriefProviderRequest)` + +SetProvider sets Provider field to given value. + + +### GetProviderAccount + +`func (o *CircuitRequest) GetProviderAccount() BriefProviderAccountRequest` + +GetProviderAccount returns the ProviderAccount field if non-nil, zero value otherwise. + +### GetProviderAccountOk + +`func (o *CircuitRequest) GetProviderAccountOk() (*BriefProviderAccountRequest, bool)` + +GetProviderAccountOk returns a tuple with the ProviderAccount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetProviderAccount + +`func (o *CircuitRequest) SetProviderAccount(v BriefProviderAccountRequest)` + +SetProviderAccount sets ProviderAccount field to given value. + +### HasProviderAccount + +`func (o *CircuitRequest) HasProviderAccount() bool` + +HasProviderAccount returns a boolean if a field has been set. + +### SetProviderAccountNil + +`func (o *CircuitRequest) SetProviderAccountNil(b bool)` + + SetProviderAccountNil sets the value for ProviderAccount to be an explicit nil + +### UnsetProviderAccount +`func (o *CircuitRequest) UnsetProviderAccount()` + +UnsetProviderAccount ensures that no value is present for ProviderAccount, not even an explicit nil +### GetType + +`func (o *CircuitRequest) GetType() BriefCircuitTypeRequest` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *CircuitRequest) GetTypeOk() (*BriefCircuitTypeRequest, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *CircuitRequest) SetType(v BriefCircuitTypeRequest)` + +SetType sets Type field to given value. + + +### GetStatus + +`func (o *CircuitRequest) GetStatus() CircuitStatusValue` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *CircuitRequest) GetStatusOk() (*CircuitStatusValue, 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 *CircuitRequest) SetStatus(v CircuitStatusValue)` + +SetStatus sets Status field to given value. + +### HasStatus + +`func (o *CircuitRequest) HasStatus() bool` + +HasStatus returns a boolean if a field has been set. + +### GetTenant + +`func (o *CircuitRequest) GetTenant() BriefTenantRequest` + +GetTenant returns the Tenant field if non-nil, zero value otherwise. + +### GetTenantOk + +`func (o *CircuitRequest) GetTenantOk() (*BriefTenantRequest, 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 *CircuitRequest) SetTenant(v BriefTenantRequest)` + +SetTenant sets Tenant field to given value. + +### HasTenant + +`func (o *CircuitRequest) HasTenant() bool` + +HasTenant returns a boolean if a field has been set. + +### SetTenantNil + +`func (o *CircuitRequest) SetTenantNil(b bool)` + + SetTenantNil sets the value for Tenant to be an explicit nil + +### UnsetTenant +`func (o *CircuitRequest) UnsetTenant()` + +UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +### GetInstallDate + +`func (o *CircuitRequest) GetInstallDate() string` + +GetInstallDate returns the InstallDate field if non-nil, zero value otherwise. + +### GetInstallDateOk + +`func (o *CircuitRequest) GetInstallDateOk() (*string, bool)` + +GetInstallDateOk returns a tuple with the InstallDate field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetInstallDate + +`func (o *CircuitRequest) SetInstallDate(v string)` + +SetInstallDate sets InstallDate field to given value. + +### HasInstallDate + +`func (o *CircuitRequest) HasInstallDate() bool` + +HasInstallDate returns a boolean if a field has been set. + +### SetInstallDateNil + +`func (o *CircuitRequest) SetInstallDateNil(b bool)` + + SetInstallDateNil sets the value for InstallDate to be an explicit nil + +### UnsetInstallDate +`func (o *CircuitRequest) UnsetInstallDate()` + +UnsetInstallDate ensures that no value is present for InstallDate, not even an explicit nil +### GetTerminationDate + +`func (o *CircuitRequest) GetTerminationDate() string` + +GetTerminationDate returns the TerminationDate field if non-nil, zero value otherwise. + +### GetTerminationDateOk + +`func (o *CircuitRequest) GetTerminationDateOk() (*string, bool)` + +GetTerminationDateOk returns a tuple with the TerminationDate field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTerminationDate + +`func (o *CircuitRequest) SetTerminationDate(v string)` + +SetTerminationDate sets TerminationDate field to given value. + +### HasTerminationDate + +`func (o *CircuitRequest) HasTerminationDate() bool` + +HasTerminationDate returns a boolean if a field has been set. + +### SetTerminationDateNil + +`func (o *CircuitRequest) SetTerminationDateNil(b bool)` + + SetTerminationDateNil sets the value for TerminationDate to be an explicit nil + +### UnsetTerminationDate +`func (o *CircuitRequest) UnsetTerminationDate()` + +UnsetTerminationDate ensures that no value is present for TerminationDate, not even an explicit nil +### GetCommitRate + +`func (o *CircuitRequest) GetCommitRate() int32` + +GetCommitRate returns the CommitRate field if non-nil, zero value otherwise. + +### GetCommitRateOk + +`func (o *CircuitRequest) GetCommitRateOk() (*int32, bool)` + +GetCommitRateOk returns a tuple with the CommitRate field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCommitRate + +`func (o *CircuitRequest) SetCommitRate(v int32)` + +SetCommitRate sets CommitRate field to given value. + +### HasCommitRate + +`func (o *CircuitRequest) HasCommitRate() bool` + +HasCommitRate returns a boolean if a field has been set. + +### SetCommitRateNil + +`func (o *CircuitRequest) SetCommitRateNil(b bool)` + + SetCommitRateNil sets the value for CommitRate to be an explicit nil + +### UnsetCommitRate +`func (o *CircuitRequest) UnsetCommitRate()` + +UnsetCommitRate ensures that no value is present for CommitRate, not even an explicit nil ### GetDescription `func (o *CircuitRequest) GetDescription() string` @@ -71,6 +323,106 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetComments + +`func (o *CircuitRequest) GetComments() string` + +GetComments returns the Comments field if non-nil, zero value otherwise. + +### GetCommentsOk + +`func (o *CircuitRequest) GetCommentsOk() (*string, bool)` + +GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComments + +`func (o *CircuitRequest) SetComments(v string)` + +SetComments sets Comments field to given value. + +### HasComments + +`func (o *CircuitRequest) HasComments() bool` + +HasComments returns a boolean if a field has been set. + +### GetTags + +`func (o *CircuitRequest) GetTags() []NestedTagRequest` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *CircuitRequest) GetTagsOk() (*[]NestedTagRequest, 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 *CircuitRequest) SetTags(v []NestedTagRequest)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *CircuitRequest) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *CircuitRequest) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *CircuitRequest) 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 *CircuitRequest) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *CircuitRequest) HasCustomFields() bool` + +HasCustomFields returns a boolean if a field has been set. + +### GetAssignments + +`func (o *CircuitRequest) GetAssignments() []BriefCircuitGroupAssignmentSerializerRequest` + +GetAssignments returns the Assignments field if non-nil, zero value otherwise. + +### GetAssignmentsOk + +`func (o *CircuitRequest) GetAssignmentsOk() (*[]BriefCircuitGroupAssignmentSerializerRequest, bool)` + +GetAssignmentsOk returns a tuple with the Assignments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAssignments + +`func (o *CircuitRequest) SetAssignments(v []BriefCircuitGroupAssignmentSerializerRequest)` + +SetAssignments sets Assignments field to given value. + +### HasAssignments + +`func (o *CircuitRequest) HasAssignments() bool` + +HasAssignments 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/CircuitStatus.md b/docs/CircuitStatus.md new file mode 100644 index 000000000..8815d2697 --- /dev/null +++ b/docs/CircuitStatus.md @@ -0,0 +1,82 @@ +# CircuitStatus + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Value** | Pointer to [**CircuitStatusValue**](CircuitStatusValue.md) | | [optional] +**Label** | Pointer to [**CircuitStatusLabel**](CircuitStatusLabel.md) | | [optional] + +## Methods + +### NewCircuitStatus + +`func NewCircuitStatus() *CircuitStatus` + +NewCircuitStatus instantiates a new CircuitStatus object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewCircuitStatusWithDefaults + +`func NewCircuitStatusWithDefaults() *CircuitStatus` + +NewCircuitStatusWithDefaults instantiates a new CircuitStatus object +This 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 *CircuitStatus) GetValue() CircuitStatusValue` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *CircuitStatus) GetValueOk() (*CircuitStatusValue, 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 *CircuitStatus) SetValue(v CircuitStatusValue)` + +SetValue sets Value field to given value. + +### HasValue + +`func (o *CircuitStatus) HasValue() bool` + +HasValue returns a boolean if a field has been set. + +### GetLabel + +`func (o *CircuitStatus) GetLabel() CircuitStatusLabel` + +GetLabel returns the Label field if non-nil, zero value otherwise. + +### GetLabelOk + +`func (o *CircuitStatus) GetLabelOk() (*CircuitStatusLabel, 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 *CircuitStatus) SetLabel(v CircuitStatusLabel)` + +SetLabel sets Label field to given value. + +### HasLabel + +`func (o *CircuitStatus) 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/CircuitStatusLabel.md b/docs/CircuitStatusLabel.md new file mode 100644 index 000000000..594cdc8dc --- /dev/null +++ b/docs/CircuitStatusLabel.md @@ -0,0 +1,21 @@ +# CircuitStatusLabel + +## Enum + + +* `PLANNED` (value: `"Planned"`) + +* `PROVISIONING` (value: `"Provisioning"`) + +* `ACTIVE` (value: `"Active"`) + +* `OFFLINE` (value: `"Offline"`) + +* `DEPROVISIONING` (value: `"Deprovisioning"`) + +* `DECOMMISSIONED` (value: `"Decommissioned"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CircuitStatusValue.md b/docs/CircuitStatusValue.md new file mode 100644 index 000000000..c49a8ea53 --- /dev/null +++ b/docs/CircuitStatusValue.md @@ -0,0 +1,21 @@ +# CircuitStatusValue + +## Enum + + +* `PLANNED` (value: `"planned"`) + +* `PROVISIONING` (value: `"provisioning"`) + +* `ACTIVE` (value: `"active"`) + +* `OFFLINE` (value: `"offline"`) + +* `DEPROVISIONING` (value: `"deprovisioning"`) + +* `DECOMMISSIONED` (value: `"decommissioned"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CircuitTermination.md b/docs/CircuitTermination.md index 11b220a6d..fb84abe60 100644 --- a/docs/CircuitTermination.md +++ b/docs/CircuitTermination.md @@ -6,21 +6,22 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] -**Circuit** | [**Circuit**](Circuit.md) | | +**Circuit** | [**BriefCircuit**](BriefCircuit.md) | | **TermSide** | [**Termination1**](Termination1.md) | | -**Site** | Pointer to [**NullableSite**](Site.md) | | [optional] -**ProviderNetwork** | Pointer to [**NullableProviderNetwork**](ProviderNetwork.md) | | [optional] +**Site** | Pointer to [**NullableBriefSite**](BriefSite.md) | | [optional] +**ProviderNetwork** | Pointer to [**NullableBriefProviderNetwork**](BriefProviderNetwork.md) | | [optional] **PortSpeed** | Pointer to **NullableInt32** | Physical circuit speed | [optional] **UpstreamSpeed** | Pointer to **NullableInt32** | Upstream speed, if different from port speed | [optional] **XconnectId** | Pointer to **string** | ID of the local cross-connect | [optional] **PpInfo** | Pointer to **string** | Patch panel ID and port number(s) | [optional] **Description** | Pointer to **string** | | [optional] **MarkConnected** | Pointer to **bool** | Treat as if a cable is connected | [optional] -**Cable** | [**NullableCable**](Cable.md) | | [readonly] +**Cable** | [**NullableBriefCable**](BriefCable.md) | | [readonly] **CableEnd** | **string** | | [readonly] **LinkPeers** | **[]interface{}** | | [readonly] -**LinkPeersType** | **string** | Return the type of the peer link terminations, or None. | [readonly] +**LinkPeersType** | **NullableString** | Return the type of the peer link terminations, or None. | [readonly] **Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] **Created** | **NullableTime** | | [readonly] @@ -31,7 +32,7 @@ Name | Type | Description | Notes ### NewCircuitTermination -`func NewCircuitTermination(id int32, url string, display string, circuit Circuit, termSide Termination1, cable NullableCable, cableEnd string, linkPeers []interface{}, linkPeersType string, created NullableTime, lastUpdated NullableTime, occupied bool, ) *CircuitTermination` +`func NewCircuitTermination(id int32, url string, display string, circuit BriefCircuit, termSide Termination1, cable NullableBriefCable, cableEnd string, linkPeers []interface{}, linkPeersType NullableString, created NullableTime, lastUpdated NullableTime, occupied bool, ) *CircuitTermination` NewCircuitTermination instantiates a new CircuitTermination object This constructor will assign default values to properties that have it defined, @@ -86,6 +87,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *CircuitTermination) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *CircuitTermination) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *CircuitTermination) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *CircuitTermination) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *CircuitTermination) GetDisplay() string` @@ -108,20 +134,20 @@ SetDisplay sets Display field to given value. ### GetCircuit -`func (o *CircuitTermination) GetCircuit() Circuit` +`func (o *CircuitTermination) GetCircuit() BriefCircuit` GetCircuit returns the Circuit field if non-nil, zero value otherwise. ### GetCircuitOk -`func (o *CircuitTermination) GetCircuitOk() (*Circuit, bool)` +`func (o *CircuitTermination) GetCircuitOk() (*BriefCircuit, bool)` GetCircuitOk returns a tuple with the Circuit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCircuit -`func (o *CircuitTermination) SetCircuit(v Circuit)` +`func (o *CircuitTermination) SetCircuit(v BriefCircuit)` SetCircuit sets Circuit field to given value. @@ -148,20 +174,20 @@ SetTermSide sets TermSide field to given value. ### GetSite -`func (o *CircuitTermination) GetSite() Site` +`func (o *CircuitTermination) GetSite() BriefSite` GetSite returns the Site field if non-nil, zero value otherwise. ### GetSiteOk -`func (o *CircuitTermination) GetSiteOk() (*Site, bool)` +`func (o *CircuitTermination) GetSiteOk() (*BriefSite, bool)` GetSiteOk returns a tuple with the Site field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSite -`func (o *CircuitTermination) SetSite(v Site)` +`func (o *CircuitTermination) SetSite(v BriefSite)` SetSite sets Site field to given value. @@ -183,20 +209,20 @@ HasSite returns a boolean if a field has been set. UnsetSite ensures that no value is present for Site, not even an explicit nil ### GetProviderNetwork -`func (o *CircuitTermination) GetProviderNetwork() ProviderNetwork` +`func (o *CircuitTermination) GetProviderNetwork() BriefProviderNetwork` GetProviderNetwork returns the ProviderNetwork field if non-nil, zero value otherwise. ### GetProviderNetworkOk -`func (o *CircuitTermination) GetProviderNetworkOk() (*ProviderNetwork, bool)` +`func (o *CircuitTermination) GetProviderNetworkOk() (*BriefProviderNetwork, bool)` GetProviderNetworkOk returns a tuple with the ProviderNetwork field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetProviderNetwork -`func (o *CircuitTermination) SetProviderNetwork(v ProviderNetwork)` +`func (o *CircuitTermination) SetProviderNetwork(v BriefProviderNetwork)` SetProviderNetwork sets ProviderNetwork field to given value. @@ -388,20 +414,20 @@ HasMarkConnected returns a boolean if a field has been set. ### GetCable -`func (o *CircuitTermination) GetCable() Cable` +`func (o *CircuitTermination) GetCable() BriefCable` GetCable returns the Cable field if non-nil, zero value otherwise. ### GetCableOk -`func (o *CircuitTermination) GetCableOk() (*Cable, bool)` +`func (o *CircuitTermination) GetCableOk() (*BriefCable, bool)` GetCableOk returns a tuple with the Cable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCable -`func (o *CircuitTermination) SetCable(v Cable)` +`func (o *CircuitTermination) SetCable(v BriefCable)` SetCable sets Cable field to given value. @@ -476,6 +502,16 @@ and a boolean to check if the value has been set. SetLinkPeersType sets LinkPeersType field to given value. +### SetLinkPeersTypeNil + +`func (o *CircuitTermination) SetLinkPeersTypeNil(b bool)` + + SetLinkPeersTypeNil sets the value for LinkPeersType to be an explicit nil + +### UnsetLinkPeersType +`func (o *CircuitTermination) UnsetLinkPeersType()` + +UnsetLinkPeersType ensures that no value is present for LinkPeersType, not even an explicit nil ### GetTags `func (o *CircuitTermination) GetTags() []NestedTag` diff --git a/docs/CircuitTerminationRequest.md b/docs/CircuitTerminationRequest.md index a99223da7..f4116a999 100644 --- a/docs/CircuitTerminationRequest.md +++ b/docs/CircuitTerminationRequest.md @@ -4,10 +4,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Circuit** | [**CircuitRequest**](CircuitRequest.md) | | +**Circuit** | [**BriefCircuitRequest**](BriefCircuitRequest.md) | | **TermSide** | [**Termination1**](Termination1.md) | | -**Site** | Pointer to [**NullableSiteRequest**](SiteRequest.md) | | [optional] -**ProviderNetwork** | Pointer to [**NullableProviderNetworkRequest**](ProviderNetworkRequest.md) | | [optional] +**Site** | Pointer to [**NullableBriefSiteRequest**](BriefSiteRequest.md) | | [optional] +**ProviderNetwork** | Pointer to [**NullableBriefProviderNetworkRequest**](BriefProviderNetworkRequest.md) | | [optional] **PortSpeed** | Pointer to **NullableInt32** | Physical circuit speed | [optional] **UpstreamSpeed** | Pointer to **NullableInt32** | Upstream speed, if different from port speed | [optional] **XconnectId** | Pointer to **string** | ID of the local cross-connect | [optional] @@ -21,7 +21,7 @@ Name | Type | Description | Notes ### NewCircuitTerminationRequest -`func NewCircuitTerminationRequest(circuit CircuitRequest, termSide Termination1, ) *CircuitTerminationRequest` +`func NewCircuitTerminationRequest(circuit BriefCircuitRequest, termSide Termination1, ) *CircuitTerminationRequest` NewCircuitTerminationRequest instantiates a new CircuitTerminationRequest object This constructor will assign default values to properties that have it defined, @@ -38,20 +38,20 @@ but it doesn't guarantee that properties required by API are set ### GetCircuit -`func (o *CircuitTerminationRequest) GetCircuit() CircuitRequest` +`func (o *CircuitTerminationRequest) GetCircuit() BriefCircuitRequest` GetCircuit returns the Circuit field if non-nil, zero value otherwise. ### GetCircuitOk -`func (o *CircuitTerminationRequest) GetCircuitOk() (*CircuitRequest, bool)` +`func (o *CircuitTerminationRequest) GetCircuitOk() (*BriefCircuitRequest, bool)` GetCircuitOk returns a tuple with the Circuit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCircuit -`func (o *CircuitTerminationRequest) SetCircuit(v CircuitRequest)` +`func (o *CircuitTerminationRequest) SetCircuit(v BriefCircuitRequest)` SetCircuit sets Circuit field to given value. @@ -78,20 +78,20 @@ SetTermSide sets TermSide field to given value. ### GetSite -`func (o *CircuitTerminationRequest) GetSite() SiteRequest` +`func (o *CircuitTerminationRequest) GetSite() BriefSiteRequest` GetSite returns the Site field if non-nil, zero value otherwise. ### GetSiteOk -`func (o *CircuitTerminationRequest) GetSiteOk() (*SiteRequest, bool)` +`func (o *CircuitTerminationRequest) GetSiteOk() (*BriefSiteRequest, bool)` GetSiteOk returns a tuple with the Site field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSite -`func (o *CircuitTerminationRequest) SetSite(v SiteRequest)` +`func (o *CircuitTerminationRequest) SetSite(v BriefSiteRequest)` SetSite sets Site field to given value. @@ -113,20 +113,20 @@ HasSite returns a boolean if a field has been set. UnsetSite ensures that no value is present for Site, not even an explicit nil ### GetProviderNetwork -`func (o *CircuitTerminationRequest) GetProviderNetwork() ProviderNetworkRequest` +`func (o *CircuitTerminationRequest) GetProviderNetwork() BriefProviderNetworkRequest` GetProviderNetwork returns the ProviderNetwork field if non-nil, zero value otherwise. ### GetProviderNetworkOk -`func (o *CircuitTerminationRequest) GetProviderNetworkOk() (*ProviderNetworkRequest, bool)` +`func (o *CircuitTerminationRequest) GetProviderNetworkOk() (*BriefProviderNetworkRequest, bool)` GetProviderNetworkOk returns a tuple with the ProviderNetwork field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetProviderNetwork -`func (o *CircuitTerminationRequest) SetProviderNetwork(v ProviderNetworkRequest)` +`func (o *CircuitTerminationRequest) SetProviderNetwork(v BriefProviderNetworkRequest)` SetProviderNetwork sets ProviderNetwork field to given value. diff --git a/docs/CircuitType.md b/docs/CircuitType.md index ea037618e..c14002431 100644 --- a/docs/CircuitType.md +++ b/docs/CircuitType.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Name** | **string** | | **Slug** | **string** | | @@ -76,6 +77,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *CircuitType) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *CircuitType) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *CircuitType) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *CircuitType) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *CircuitType) GetDisplay() string` diff --git a/docs/CircuitsAPI.md b/docs/CircuitsAPI.md index c78529d9c..8961304dc 100644 --- a/docs/CircuitsAPI.md +++ b/docs/CircuitsAPI.md @@ -4,6 +4,24 @@ All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- +[**CircuitsCircuitGroupAssignmentsBulkDestroy**](CircuitsAPI.md#CircuitsCircuitGroupAssignmentsBulkDestroy) | **Delete** /api/circuits/circuit-group-assignments/ | +[**CircuitsCircuitGroupAssignmentsBulkPartialUpdate**](CircuitsAPI.md#CircuitsCircuitGroupAssignmentsBulkPartialUpdate) | **Patch** /api/circuits/circuit-group-assignments/ | +[**CircuitsCircuitGroupAssignmentsBulkUpdate**](CircuitsAPI.md#CircuitsCircuitGroupAssignmentsBulkUpdate) | **Put** /api/circuits/circuit-group-assignments/ | +[**CircuitsCircuitGroupAssignmentsCreate**](CircuitsAPI.md#CircuitsCircuitGroupAssignmentsCreate) | **Post** /api/circuits/circuit-group-assignments/ | +[**CircuitsCircuitGroupAssignmentsDestroy**](CircuitsAPI.md#CircuitsCircuitGroupAssignmentsDestroy) | **Delete** /api/circuits/circuit-group-assignments/{id}/ | +[**CircuitsCircuitGroupAssignmentsList**](CircuitsAPI.md#CircuitsCircuitGroupAssignmentsList) | **Get** /api/circuits/circuit-group-assignments/ | +[**CircuitsCircuitGroupAssignmentsPartialUpdate**](CircuitsAPI.md#CircuitsCircuitGroupAssignmentsPartialUpdate) | **Patch** /api/circuits/circuit-group-assignments/{id}/ | +[**CircuitsCircuitGroupAssignmentsRetrieve**](CircuitsAPI.md#CircuitsCircuitGroupAssignmentsRetrieve) | **Get** /api/circuits/circuit-group-assignments/{id}/ | +[**CircuitsCircuitGroupAssignmentsUpdate**](CircuitsAPI.md#CircuitsCircuitGroupAssignmentsUpdate) | **Put** /api/circuits/circuit-group-assignments/{id}/ | +[**CircuitsCircuitGroupsBulkDestroy**](CircuitsAPI.md#CircuitsCircuitGroupsBulkDestroy) | **Delete** /api/circuits/circuit-groups/ | +[**CircuitsCircuitGroupsBulkPartialUpdate**](CircuitsAPI.md#CircuitsCircuitGroupsBulkPartialUpdate) | **Patch** /api/circuits/circuit-groups/ | +[**CircuitsCircuitGroupsBulkUpdate**](CircuitsAPI.md#CircuitsCircuitGroupsBulkUpdate) | **Put** /api/circuits/circuit-groups/ | +[**CircuitsCircuitGroupsCreate**](CircuitsAPI.md#CircuitsCircuitGroupsCreate) | **Post** /api/circuits/circuit-groups/ | +[**CircuitsCircuitGroupsDestroy**](CircuitsAPI.md#CircuitsCircuitGroupsDestroy) | **Delete** /api/circuits/circuit-groups/{id}/ | +[**CircuitsCircuitGroupsList**](CircuitsAPI.md#CircuitsCircuitGroupsList) | **Get** /api/circuits/circuit-groups/ | +[**CircuitsCircuitGroupsPartialUpdate**](CircuitsAPI.md#CircuitsCircuitGroupsPartialUpdate) | **Patch** /api/circuits/circuit-groups/{id}/ | +[**CircuitsCircuitGroupsRetrieve**](CircuitsAPI.md#CircuitsCircuitGroupsRetrieve) | **Get** /api/circuits/circuit-groups/{id}/ | +[**CircuitsCircuitGroupsUpdate**](CircuitsAPI.md#CircuitsCircuitGroupsUpdate) | **Put** /api/circuits/circuit-groups/{id}/ | [**CircuitsCircuitTerminationsBulkDestroy**](CircuitsAPI.md#CircuitsCircuitTerminationsBulkDestroy) | **Delete** /api/circuits/circuit-terminations/ | [**CircuitsCircuitTerminationsBulkPartialUpdate**](CircuitsAPI.md#CircuitsCircuitTerminationsBulkPartialUpdate) | **Patch** /api/circuits/circuit-terminations/ | [**CircuitsCircuitTerminationsBulkUpdate**](CircuitsAPI.md#CircuitsCircuitTerminationsBulkUpdate) | **Put** /api/circuits/circuit-terminations/ | @@ -62,6 +80,1452 @@ Method | HTTP request | Description +## CircuitsCircuitGroupAssignmentsBulkDestroy + +> CircuitsCircuitGroupAssignmentsBulkDestroy(ctx).CircuitGroupAssignmentRequest(circuitGroupAssignmentRequest).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/netbox-community/go-netbox/v4" +) + +func main() { + circuitGroupAssignmentRequest := []openapiclient.CircuitGroupAssignmentRequest{*openapiclient.NewCircuitGroupAssignmentRequest(*openapiclient.NewBriefCircuitGroupRequest("Name_example"), *openapiclient.NewBriefCircuitRequest("Cid_example", *openapiclient.NewBriefProviderRequest("Name_example", "Slug_example")))} // []CircuitGroupAssignmentRequest | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.CircuitsAPI.CircuitsCircuitGroupAssignmentsBulkDestroy(context.Background()).CircuitGroupAssignmentRequest(circuitGroupAssignmentRequest).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `CircuitsAPI.CircuitsCircuitGroupAssignmentsBulkDestroy``: %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 apiCircuitsCircuitGroupAssignmentsBulkDestroyRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **circuitGroupAssignmentRequest** | [**[]CircuitGroupAssignmentRequest**](CircuitGroupAssignmentRequest.md) | | + +### Return type + + (empty response body) + +### Authorization + +[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) + +### HTTP request headers + +- **Content-Type**: application/json, multipart/form-data +- **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) + + +## CircuitsCircuitGroupAssignmentsBulkPartialUpdate + +> []CircuitGroupAssignment CircuitsCircuitGroupAssignmentsBulkPartialUpdate(ctx).CircuitGroupAssignmentRequest(circuitGroupAssignmentRequest).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/netbox-community/go-netbox/v4" +) + +func main() { + circuitGroupAssignmentRequest := []openapiclient.CircuitGroupAssignmentRequest{*openapiclient.NewCircuitGroupAssignmentRequest(*openapiclient.NewBriefCircuitGroupRequest("Name_example"), *openapiclient.NewBriefCircuitRequest("Cid_example", *openapiclient.NewBriefProviderRequest("Name_example", "Slug_example")))} // []CircuitGroupAssignmentRequest | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.CircuitsAPI.CircuitsCircuitGroupAssignmentsBulkPartialUpdate(context.Background()).CircuitGroupAssignmentRequest(circuitGroupAssignmentRequest).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `CircuitsAPI.CircuitsCircuitGroupAssignmentsBulkPartialUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `CircuitsCircuitGroupAssignmentsBulkPartialUpdate`: []CircuitGroupAssignment + fmt.Fprintf(os.Stdout, "Response from `CircuitsAPI.CircuitsCircuitGroupAssignmentsBulkPartialUpdate`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiCircuitsCircuitGroupAssignmentsBulkPartialUpdateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **circuitGroupAssignmentRequest** | [**[]CircuitGroupAssignmentRequest**](CircuitGroupAssignmentRequest.md) | | + +### Return type + +[**[]CircuitGroupAssignment**](CircuitGroupAssignment.md) + +### Authorization + +[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) + +### HTTP request headers + +- **Content-Type**: application/json, multipart/form-data +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## CircuitsCircuitGroupAssignmentsBulkUpdate + +> []CircuitGroupAssignment CircuitsCircuitGroupAssignmentsBulkUpdate(ctx).CircuitGroupAssignmentRequest(circuitGroupAssignmentRequest).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/netbox-community/go-netbox/v4" +) + +func main() { + circuitGroupAssignmentRequest := []openapiclient.CircuitGroupAssignmentRequest{*openapiclient.NewCircuitGroupAssignmentRequest(*openapiclient.NewBriefCircuitGroupRequest("Name_example"), *openapiclient.NewBriefCircuitRequest("Cid_example", *openapiclient.NewBriefProviderRequest("Name_example", "Slug_example")))} // []CircuitGroupAssignmentRequest | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.CircuitsAPI.CircuitsCircuitGroupAssignmentsBulkUpdate(context.Background()).CircuitGroupAssignmentRequest(circuitGroupAssignmentRequest).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `CircuitsAPI.CircuitsCircuitGroupAssignmentsBulkUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `CircuitsCircuitGroupAssignmentsBulkUpdate`: []CircuitGroupAssignment + fmt.Fprintf(os.Stdout, "Response from `CircuitsAPI.CircuitsCircuitGroupAssignmentsBulkUpdate`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiCircuitsCircuitGroupAssignmentsBulkUpdateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **circuitGroupAssignmentRequest** | [**[]CircuitGroupAssignmentRequest**](CircuitGroupAssignmentRequest.md) | | + +### Return type + +[**[]CircuitGroupAssignment**](CircuitGroupAssignment.md) + +### Authorization + +[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) + +### HTTP request headers + +- **Content-Type**: application/json, multipart/form-data +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## CircuitsCircuitGroupAssignmentsCreate + +> CircuitGroupAssignment CircuitsCircuitGroupAssignmentsCreate(ctx).WritableCircuitGroupAssignmentRequest(writableCircuitGroupAssignmentRequest).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/netbox-community/go-netbox/v4" +) + +func main() { + writableCircuitGroupAssignmentRequest := *openapiclient.NewWritableCircuitGroupAssignmentRequest(*openapiclient.NewBriefCircuitGroupRequest("Name_example"), *openapiclient.NewBriefCircuitRequest("Cid_example", *openapiclient.NewBriefProviderRequest("Name_example", "Slug_example"))) // WritableCircuitGroupAssignmentRequest | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.CircuitsAPI.CircuitsCircuitGroupAssignmentsCreate(context.Background()).WritableCircuitGroupAssignmentRequest(writableCircuitGroupAssignmentRequest).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `CircuitsAPI.CircuitsCircuitGroupAssignmentsCreate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `CircuitsCircuitGroupAssignmentsCreate`: CircuitGroupAssignment + fmt.Fprintf(os.Stdout, "Response from `CircuitsAPI.CircuitsCircuitGroupAssignmentsCreate`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiCircuitsCircuitGroupAssignmentsCreateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **writableCircuitGroupAssignmentRequest** | [**WritableCircuitGroupAssignmentRequest**](WritableCircuitGroupAssignmentRequest.md) | | + +### Return type + +[**CircuitGroupAssignment**](CircuitGroupAssignment.md) + +### Authorization + +[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) + +### HTTP request headers + +- **Content-Type**: application/json, multipart/form-data +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## CircuitsCircuitGroupAssignmentsDestroy + +> CircuitsCircuitGroupAssignmentsDestroy(ctx, id).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/netbox-community/go-netbox/v4" +) + +func main() { + id := int32(56) // int32 | A unique integer value identifying this Circuit group assignment. + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.CircuitsAPI.CircuitsCircuitGroupAssignmentsDestroy(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `CircuitsAPI.CircuitsCircuitGroupAssignmentsDestroy``: %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** | **int32** | A unique integer value identifying this Circuit group assignment. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiCircuitsCircuitGroupAssignmentsDestroyRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### 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) + + +## CircuitsCircuitGroupAssignmentsList + +> PaginatedCircuitGroupAssignmentList CircuitsCircuitGroupAssignmentsList(ctx).Circuit(circuit).CircuitN(circuitN).CircuitId(circuitId).CircuitIdN(circuitIdN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Group(group).GroupN(groupN).GroupId(groupId).GroupIdN(groupIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Offset(offset).Ordering(ordering).Priority(priority).Provider(provider).ProviderN(providerN).ProviderId(providerId).ProviderIdN(providerIdN).Q(q).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + "time" + openapiclient "github.com/netbox-community/go-netbox/v4" +) + +func main() { + circuit := []string{"Inner_example"} // []string | Circuit (CID) (optional) + circuitN := []string{"Inner_example"} // []string | Circuit (CID) (optional) + circuitId := []int32{int32(123)} // []int32 | Circuit (ID) (optional) + circuitIdN := []int32{int32(123)} // []int32 | Circuit (ID) (optional) + created := []time.Time{time.Now()} // []time.Time | (optional) + createdEmpty := []time.Time{time.Now()} // []time.Time | (optional) + createdGt := []time.Time{time.Now()} // []time.Time | (optional) + createdGte := []time.Time{time.Now()} // []time.Time | (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) + createdByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) + group := []string{"Inner_example"} // []string | Circuit group (slug) (optional) + groupN := []string{"Inner_example"} // []string | Circuit group (slug) (optional) + groupId := []int32{int32(123)} // []int32 | Circuit group (ID) (optional) + groupIdN := []int32{int32(123)} // []int32 | Circuit group (ID) (optional) + id := []int32{int32(123)} // []int32 | (optional) + idEmpty := true // bool | (optional) + idGt := []int32{int32(123)} // []int32 | (optional) + idGte := []int32{int32(123)} // []int32 | (optional) + idLt := []int32{int32(123)} // []int32 | (optional) + idLte := []int32{int32(123)} // []int32 | (optional) + idN := []int32{int32(123)} // []int32 | (optional) + lastUpdated := []time.Time{time.Now()} // []time.Time | (optional) + lastUpdatedEmpty := []time.Time{time.Now()} // []time.Time | (optional) + lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional) + lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (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) + modifiedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) + offset := int32(56) // int32 | The initial index from which to return the results. (optional) + ordering := "ordering_example" // string | Which field to use when ordering the results. (optional) + priority := openapiclient.circuits_circuit_group_assignments_list_priority_parameter("inactive") // CircuitsCircuitGroupAssignmentsListPriorityParameter | * `primary` - Primary * `secondary` - Secondary * `tertiary` - Tertiary * `inactive` - Inactive (optional) + provider := []string{"Inner_example"} // []string | Provider (slug) (optional) + providerN := []string{"Inner_example"} // []string | Provider (slug) (optional) + providerId := []int32{int32(123)} // []int32 | Provider (ID) (optional) + providerIdN := []int32{int32(123)} // []int32 | Provider (ID) (optional) + q := "q_example" // string | Search (optional) + tag := []string{"Inner_example"} // []string | (optional) + tagN := []string{"Inner_example"} // []string | (optional) + updatedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.CircuitsAPI.CircuitsCircuitGroupAssignmentsList(context.Background()).Circuit(circuit).CircuitN(circuitN).CircuitId(circuitId).CircuitIdN(circuitIdN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Group(group).GroupN(groupN).GroupId(groupId).GroupIdN(groupIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Offset(offset).Ordering(ordering).Priority(priority).Provider(provider).ProviderN(providerN).ProviderId(providerId).ProviderIdN(providerIdN).Q(q).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `CircuitsAPI.CircuitsCircuitGroupAssignmentsList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `CircuitsCircuitGroupAssignmentsList`: PaginatedCircuitGroupAssignmentList + fmt.Fprintf(os.Stdout, "Response from `CircuitsAPI.CircuitsCircuitGroupAssignmentsList`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiCircuitsCircuitGroupAssignmentsListRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **circuit** | **[]string** | Circuit (CID) | + **circuitN** | **[]string** | Circuit (CID) | + **circuitId** | **[]int32** | Circuit (ID) | + **circuitIdN** | **[]int32** | Circuit (ID) | + **created** | [**[]time.Time**](time.Time.md) | | + **createdEmpty** | [**[]time.Time**](time.Time.md) | | + **createdGt** | [**[]time.Time**](time.Time.md) | | + **createdGte** | [**[]time.Time**](time.Time.md) | | + **createdLt** | [**[]time.Time**](time.Time.md) | | + **createdLte** | [**[]time.Time**](time.Time.md) | | + **createdN** | [**[]time.Time**](time.Time.md) | | + **createdByRequest** | **string** | | + **group** | **[]string** | Circuit group (slug) | + **groupN** | **[]string** | Circuit group (slug) | + **groupId** | **[]int32** | Circuit group (ID) | + **groupIdN** | **[]int32** | Circuit group (ID) | + **id** | **[]int32** | | + **idEmpty** | **bool** | | + **idGt** | **[]int32** | | + **idGte** | **[]int32** | | + **idLt** | **[]int32** | | + **idLte** | **[]int32** | | + **idN** | **[]int32** | | + **lastUpdated** | [**[]time.Time**](time.Time.md) | | + **lastUpdatedEmpty** | [**[]time.Time**](time.Time.md) | | + **lastUpdatedGt** | [**[]time.Time**](time.Time.md) | | + **lastUpdatedGte** | [**[]time.Time**](time.Time.md) | | + **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. | + **modifiedByRequest** | **string** | | + **offset** | **int32** | The initial index from which to return the results. | + **ordering** | **string** | Which field to use when ordering the results. | + **priority** | [**CircuitsCircuitGroupAssignmentsListPriorityParameter**](CircuitsCircuitGroupAssignmentsListPriorityParameter.md) | * `primary` - Primary * `secondary` - Secondary * `tertiary` - Tertiary * `inactive` - Inactive | + **provider** | **[]string** | Provider (slug) | + **providerN** | **[]string** | Provider (slug) | + **providerId** | **[]int32** | Provider (ID) | + **providerIdN** | **[]int32** | Provider (ID) | + **q** | **string** | Search | + **tag** | **[]string** | | + **tagN** | **[]string** | | + **updatedByRequest** | **string** | | + +### Return type + +[**PaginatedCircuitGroupAssignmentList**](PaginatedCircuitGroupAssignmentList.md) + +### Authorization + +[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## CircuitsCircuitGroupAssignmentsPartialUpdate + +> CircuitGroupAssignment CircuitsCircuitGroupAssignmentsPartialUpdate(ctx, id).PatchedWritableCircuitGroupAssignmentRequest(patchedWritableCircuitGroupAssignmentRequest).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/netbox-community/go-netbox/v4" +) + +func main() { + id := int32(56) // int32 | A unique integer value identifying this Circuit group assignment. + patchedWritableCircuitGroupAssignmentRequest := *openapiclient.NewPatchedWritableCircuitGroupAssignmentRequest() // PatchedWritableCircuitGroupAssignmentRequest | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.CircuitsAPI.CircuitsCircuitGroupAssignmentsPartialUpdate(context.Background(), id).PatchedWritableCircuitGroupAssignmentRequest(patchedWritableCircuitGroupAssignmentRequest).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `CircuitsAPI.CircuitsCircuitGroupAssignmentsPartialUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `CircuitsCircuitGroupAssignmentsPartialUpdate`: CircuitGroupAssignment + fmt.Fprintf(os.Stdout, "Response from `CircuitsAPI.CircuitsCircuitGroupAssignmentsPartialUpdate`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | A unique integer value identifying this Circuit group assignment. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiCircuitsCircuitGroupAssignmentsPartialUpdateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **patchedWritableCircuitGroupAssignmentRequest** | [**PatchedWritableCircuitGroupAssignmentRequest**](PatchedWritableCircuitGroupAssignmentRequest.md) | | + +### Return type + +[**CircuitGroupAssignment**](CircuitGroupAssignment.md) + +### Authorization + +[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) + +### HTTP request headers + +- **Content-Type**: application/json, multipart/form-data +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## CircuitsCircuitGroupAssignmentsRetrieve + +> CircuitGroupAssignment CircuitsCircuitGroupAssignmentsRetrieve(ctx, id).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/netbox-community/go-netbox/v4" +) + +func main() { + id := int32(56) // int32 | A unique integer value identifying this Circuit group assignment. + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.CircuitsAPI.CircuitsCircuitGroupAssignmentsRetrieve(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `CircuitsAPI.CircuitsCircuitGroupAssignmentsRetrieve``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `CircuitsCircuitGroupAssignmentsRetrieve`: CircuitGroupAssignment + fmt.Fprintf(os.Stdout, "Response from `CircuitsAPI.CircuitsCircuitGroupAssignmentsRetrieve`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | A unique integer value identifying this Circuit group assignment. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiCircuitsCircuitGroupAssignmentsRetrieveRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + +[**CircuitGroupAssignment**](CircuitGroupAssignment.md) + +### Authorization + +[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## CircuitsCircuitGroupAssignmentsUpdate + +> CircuitGroupAssignment CircuitsCircuitGroupAssignmentsUpdate(ctx, id).WritableCircuitGroupAssignmentRequest(writableCircuitGroupAssignmentRequest).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/netbox-community/go-netbox/v4" +) + +func main() { + id := int32(56) // int32 | A unique integer value identifying this Circuit group assignment. + writableCircuitGroupAssignmentRequest := *openapiclient.NewWritableCircuitGroupAssignmentRequest(*openapiclient.NewBriefCircuitGroupRequest("Name_example"), *openapiclient.NewBriefCircuitRequest("Cid_example", *openapiclient.NewBriefProviderRequest("Name_example", "Slug_example"))) // WritableCircuitGroupAssignmentRequest | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.CircuitsAPI.CircuitsCircuitGroupAssignmentsUpdate(context.Background(), id).WritableCircuitGroupAssignmentRequest(writableCircuitGroupAssignmentRequest).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `CircuitsAPI.CircuitsCircuitGroupAssignmentsUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `CircuitsCircuitGroupAssignmentsUpdate`: CircuitGroupAssignment + fmt.Fprintf(os.Stdout, "Response from `CircuitsAPI.CircuitsCircuitGroupAssignmentsUpdate`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | A unique integer value identifying this Circuit group assignment. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiCircuitsCircuitGroupAssignmentsUpdateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **writableCircuitGroupAssignmentRequest** | [**WritableCircuitGroupAssignmentRequest**](WritableCircuitGroupAssignmentRequest.md) | | + +### Return type + +[**CircuitGroupAssignment**](CircuitGroupAssignment.md) + +### Authorization + +[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) + +### HTTP request headers + +- **Content-Type**: application/json, multipart/form-data +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## CircuitsCircuitGroupsBulkDestroy + +> CircuitsCircuitGroupsBulkDestroy(ctx).CircuitGroupRequest(circuitGroupRequest).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/netbox-community/go-netbox/v4" +) + +func main() { + circuitGroupRequest := []openapiclient.CircuitGroupRequest{*openapiclient.NewCircuitGroupRequest("Name_example", "Slug_example")} // []CircuitGroupRequest | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.CircuitsAPI.CircuitsCircuitGroupsBulkDestroy(context.Background()).CircuitGroupRequest(circuitGroupRequest).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `CircuitsAPI.CircuitsCircuitGroupsBulkDestroy``: %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 apiCircuitsCircuitGroupsBulkDestroyRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **circuitGroupRequest** | [**[]CircuitGroupRequest**](CircuitGroupRequest.md) | | + +### Return type + + (empty response body) + +### Authorization + +[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) + +### HTTP request headers + +- **Content-Type**: application/json, multipart/form-data +- **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) + + +## CircuitsCircuitGroupsBulkPartialUpdate + +> []CircuitGroup CircuitsCircuitGroupsBulkPartialUpdate(ctx).CircuitGroupRequest(circuitGroupRequest).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/netbox-community/go-netbox/v4" +) + +func main() { + circuitGroupRequest := []openapiclient.CircuitGroupRequest{*openapiclient.NewCircuitGroupRequest("Name_example", "Slug_example")} // []CircuitGroupRequest | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.CircuitsAPI.CircuitsCircuitGroupsBulkPartialUpdate(context.Background()).CircuitGroupRequest(circuitGroupRequest).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `CircuitsAPI.CircuitsCircuitGroupsBulkPartialUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `CircuitsCircuitGroupsBulkPartialUpdate`: []CircuitGroup + fmt.Fprintf(os.Stdout, "Response from `CircuitsAPI.CircuitsCircuitGroupsBulkPartialUpdate`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiCircuitsCircuitGroupsBulkPartialUpdateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **circuitGroupRequest** | [**[]CircuitGroupRequest**](CircuitGroupRequest.md) | | + +### Return type + +[**[]CircuitGroup**](CircuitGroup.md) + +### Authorization + +[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) + +### HTTP request headers + +- **Content-Type**: application/json, multipart/form-data +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## CircuitsCircuitGroupsBulkUpdate + +> []CircuitGroup CircuitsCircuitGroupsBulkUpdate(ctx).CircuitGroupRequest(circuitGroupRequest).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/netbox-community/go-netbox/v4" +) + +func main() { + circuitGroupRequest := []openapiclient.CircuitGroupRequest{*openapiclient.NewCircuitGroupRequest("Name_example", "Slug_example")} // []CircuitGroupRequest | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.CircuitsAPI.CircuitsCircuitGroupsBulkUpdate(context.Background()).CircuitGroupRequest(circuitGroupRequest).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `CircuitsAPI.CircuitsCircuitGroupsBulkUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `CircuitsCircuitGroupsBulkUpdate`: []CircuitGroup + fmt.Fprintf(os.Stdout, "Response from `CircuitsAPI.CircuitsCircuitGroupsBulkUpdate`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiCircuitsCircuitGroupsBulkUpdateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **circuitGroupRequest** | [**[]CircuitGroupRequest**](CircuitGroupRequest.md) | | + +### Return type + +[**[]CircuitGroup**](CircuitGroup.md) + +### Authorization + +[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) + +### HTTP request headers + +- **Content-Type**: application/json, multipart/form-data +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## CircuitsCircuitGroupsCreate + +> CircuitGroup CircuitsCircuitGroupsCreate(ctx).CircuitGroupRequest(circuitGroupRequest).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/netbox-community/go-netbox/v4" +) + +func main() { + circuitGroupRequest := *openapiclient.NewCircuitGroupRequest("Name_example", "Slug_example") // CircuitGroupRequest | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.CircuitsAPI.CircuitsCircuitGroupsCreate(context.Background()).CircuitGroupRequest(circuitGroupRequest).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `CircuitsAPI.CircuitsCircuitGroupsCreate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `CircuitsCircuitGroupsCreate`: CircuitGroup + fmt.Fprintf(os.Stdout, "Response from `CircuitsAPI.CircuitsCircuitGroupsCreate`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiCircuitsCircuitGroupsCreateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **circuitGroupRequest** | [**CircuitGroupRequest**](CircuitGroupRequest.md) | | + +### Return type + +[**CircuitGroup**](CircuitGroup.md) + +### Authorization + +[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) + +### HTTP request headers + +- **Content-Type**: application/json, multipart/form-data +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## CircuitsCircuitGroupsDestroy + +> CircuitsCircuitGroupsDestroy(ctx, id).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/netbox-community/go-netbox/v4" +) + +func main() { + id := int32(56) // int32 | A unique integer value identifying this circuit group. + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.CircuitsAPI.CircuitsCircuitGroupsDestroy(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `CircuitsAPI.CircuitsCircuitGroupsDestroy``: %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** | **int32** | A unique integer value identifying this circuit group. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiCircuitsCircuitGroupsDestroyRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### 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) + + +## CircuitsCircuitGroupsList + +> PaginatedCircuitGroupList CircuitsCircuitGroupsList(ctx).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).Slug(slug).SlugEmpty(slugEmpty).SlugIc(slugIc).SlugIe(slugIe).SlugIew(slugIew).SlugIsw(slugIsw).SlugN(slugN).SlugNic(slugNic).SlugNie(slugNie).SlugNiew(slugNiew).SlugNisw(slugNisw).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).UpdatedByRequest(updatedByRequest).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + "time" + openapiclient "github.com/netbox-community/go-netbox/v4" +) + +func main() { + created := []time.Time{time.Now()} // []time.Time | (optional) + createdEmpty := []time.Time{time.Now()} // []time.Time | (optional) + createdGt := []time.Time{time.Now()} // []time.Time | (optional) + createdGte := []time.Time{time.Now()} // []time.Time | (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) + createdByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) + description := []string{"Inner_example"} // []string | (optional) + descriptionEmpty := true // bool | (optional) + descriptionIc := []string{"Inner_example"} // []string | (optional) + descriptionIe := []string{"Inner_example"} // []string | (optional) + descriptionIew := []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) + descriptionNisw := []string{"Inner_example"} // []string | (optional) + id := []int32{int32(123)} // []int32 | (optional) + idEmpty := true // bool | (optional) + idGt := []int32{int32(123)} // []int32 | (optional) + idGte := []int32{int32(123)} // []int32 | (optional) + idLt := []int32{int32(123)} // []int32 | (optional) + idLte := []int32{int32(123)} // []int32 | (optional) + idN := []int32{int32(123)} // []int32 | (optional) + lastUpdated := []time.Time{time.Now()} // []time.Time | (optional) + lastUpdatedEmpty := []time.Time{time.Now()} // []time.Time | (optional) + lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional) + lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (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) + modifiedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) + name := []string{"Inner_example"} // []string | (optional) + nameEmpty := true // bool | (optional) + nameIc := []string{"Inner_example"} // []string | (optional) + nameIe := []string{"Inner_example"} // []string | (optional) + nameIew := []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) + nameNisw := []string{"Inner_example"} // []string | (optional) + offset := int32(56) // int32 | The initial index from which to return the results. (optional) + ordering := "ordering_example" // string | Which field to use when ordering the results. (optional) + q := "q_example" // string | Search (optional) + slug := []string{"Inner_example"} // []string | (optional) + slugEmpty := true // bool | (optional) + slugIc := []string{"Inner_example"} // []string | (optional) + slugIe := []string{"Inner_example"} // []string | (optional) + slugIew := []string{"Inner_example"} // []string | (optional) + slugIsw := []string{"Inner_example"} // []string | (optional) + slugN := []string{"Inner_example"} // []string | (optional) + slugNic := []string{"Inner_example"} // []string | (optional) + slugNie := []string{"Inner_example"} // []string | (optional) + slugNiew := []string{"Inner_example"} // []string | (optional) + slugNisw := []string{"Inner_example"} // []string | (optional) + tag := []string{"Inner_example"} // []string | (optional) + tagN := []string{"Inner_example"} // []string | (optional) + tenant := []string{"Inner_example"} // []string | Tenant (slug) (optional) + tenantN := []string{"Inner_example"} // []string | Tenant (slug) (optional) + tenantGroup := []string{"Inner_example"} // []string | (optional) + tenantGroupN := []string{"Inner_example"} // []string | (optional) + tenantGroupId := []string{"Inner_example"} // []string | (optional) + tenantGroupIdN := []string{"Inner_example"} // []string | (optional) + tenantId := []*int32{int32(123)} // []*int32 | Tenant (ID) (optional) + tenantIdN := []*int32{int32(123)} // []*int32 | Tenant (ID) (optional) + updatedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.CircuitsAPI.CircuitsCircuitGroupsList(context.Background()).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).Slug(slug).SlugEmpty(slugEmpty).SlugIc(slugIc).SlugIe(slugIe).SlugIew(slugIew).SlugIsw(slugIsw).SlugN(slugN).SlugNic(slugNic).SlugNie(slugNie).SlugNiew(slugNiew).SlugNisw(slugNisw).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).UpdatedByRequest(updatedByRequest).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `CircuitsAPI.CircuitsCircuitGroupsList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `CircuitsCircuitGroupsList`: PaginatedCircuitGroupList + fmt.Fprintf(os.Stdout, "Response from `CircuitsAPI.CircuitsCircuitGroupsList`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiCircuitsCircuitGroupsListRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **created** | [**[]time.Time**](time.Time.md) | | + **createdEmpty** | [**[]time.Time**](time.Time.md) | | + **createdGt** | [**[]time.Time**](time.Time.md) | | + **createdGte** | [**[]time.Time**](time.Time.md) | | + **createdLt** | [**[]time.Time**](time.Time.md) | | + **createdLte** | [**[]time.Time**](time.Time.md) | | + **createdN** | [**[]time.Time**](time.Time.md) | | + **createdByRequest** | **string** | | + **description** | **[]string** | | + **descriptionEmpty** | **bool** | | + **descriptionIc** | **[]string** | | + **descriptionIe** | **[]string** | | + **descriptionIew** | **[]string** | | + **descriptionIsw** | **[]string** | | + **descriptionN** | **[]string** | | + **descriptionNic** | **[]string** | | + **descriptionNie** | **[]string** | | + **descriptionNiew** | **[]string** | | + **descriptionNisw** | **[]string** | | + **id** | **[]int32** | | + **idEmpty** | **bool** | | + **idGt** | **[]int32** | | + **idGte** | **[]int32** | | + **idLt** | **[]int32** | | + **idLte** | **[]int32** | | + **idN** | **[]int32** | | + **lastUpdated** | [**[]time.Time**](time.Time.md) | | + **lastUpdatedEmpty** | [**[]time.Time**](time.Time.md) | | + **lastUpdatedGt** | [**[]time.Time**](time.Time.md) | | + **lastUpdatedGte** | [**[]time.Time**](time.Time.md) | | + **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. | + **modifiedByRequest** | **string** | | + **name** | **[]string** | | + **nameEmpty** | **bool** | | + **nameIc** | **[]string** | | + **nameIe** | **[]string** | | + **nameIew** | **[]string** | | + **nameIsw** | **[]string** | | + **nameN** | **[]string** | | + **nameNic** | **[]string** | | + **nameNie** | **[]string** | | + **nameNiew** | **[]string** | | + **nameNisw** | **[]string** | | + **offset** | **int32** | The initial index from which to return the results. | + **ordering** | **string** | Which field to use when ordering the results. | + **q** | **string** | Search | + **slug** | **[]string** | | + **slugEmpty** | **bool** | | + **slugIc** | **[]string** | | + **slugIe** | **[]string** | | + **slugIew** | **[]string** | | + **slugIsw** | **[]string** | | + **slugN** | **[]string** | | + **slugNic** | **[]string** | | + **slugNie** | **[]string** | | + **slugNiew** | **[]string** | | + **slugNisw** | **[]string** | | + **tag** | **[]string** | | + **tagN** | **[]string** | | + **tenant** | **[]string** | Tenant (slug) | + **tenantN** | **[]string** | Tenant (slug) | + **tenantGroup** | **[]string** | | + **tenantGroupN** | **[]string** | | + **tenantGroupId** | **[]string** | | + **tenantGroupIdN** | **[]string** | | + **tenantId** | **[]int32** | Tenant (ID) | + **tenantIdN** | **[]int32** | Tenant (ID) | + **updatedByRequest** | **string** | | + +### Return type + +[**PaginatedCircuitGroupList**](PaginatedCircuitGroupList.md) + +### Authorization + +[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## CircuitsCircuitGroupsPartialUpdate + +> CircuitGroup CircuitsCircuitGroupsPartialUpdate(ctx, id).PatchedCircuitGroupRequest(patchedCircuitGroupRequest).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/netbox-community/go-netbox/v4" +) + +func main() { + id := int32(56) // int32 | A unique integer value identifying this circuit group. + patchedCircuitGroupRequest := *openapiclient.NewPatchedCircuitGroupRequest() // PatchedCircuitGroupRequest | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.CircuitsAPI.CircuitsCircuitGroupsPartialUpdate(context.Background(), id).PatchedCircuitGroupRequest(patchedCircuitGroupRequest).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `CircuitsAPI.CircuitsCircuitGroupsPartialUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `CircuitsCircuitGroupsPartialUpdate`: CircuitGroup + fmt.Fprintf(os.Stdout, "Response from `CircuitsAPI.CircuitsCircuitGroupsPartialUpdate`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | A unique integer value identifying this circuit group. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiCircuitsCircuitGroupsPartialUpdateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **patchedCircuitGroupRequest** | [**PatchedCircuitGroupRequest**](PatchedCircuitGroupRequest.md) | | + +### Return type + +[**CircuitGroup**](CircuitGroup.md) + +### Authorization + +[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) + +### HTTP request headers + +- **Content-Type**: application/json, multipart/form-data +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## CircuitsCircuitGroupsRetrieve + +> CircuitGroup CircuitsCircuitGroupsRetrieve(ctx, id).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/netbox-community/go-netbox/v4" +) + +func main() { + id := int32(56) // int32 | A unique integer value identifying this circuit group. + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.CircuitsAPI.CircuitsCircuitGroupsRetrieve(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `CircuitsAPI.CircuitsCircuitGroupsRetrieve``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `CircuitsCircuitGroupsRetrieve`: CircuitGroup + fmt.Fprintf(os.Stdout, "Response from `CircuitsAPI.CircuitsCircuitGroupsRetrieve`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | A unique integer value identifying this circuit group. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiCircuitsCircuitGroupsRetrieveRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + +[**CircuitGroup**](CircuitGroup.md) + +### Authorization + +[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## CircuitsCircuitGroupsUpdate + +> CircuitGroup CircuitsCircuitGroupsUpdate(ctx, id).CircuitGroupRequest(circuitGroupRequest).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/netbox-community/go-netbox/v4" +) + +func main() { + id := int32(56) // int32 | A unique integer value identifying this circuit group. + circuitGroupRequest := *openapiclient.NewCircuitGroupRequest("Name_example", "Slug_example") // CircuitGroupRequest | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.CircuitsAPI.CircuitsCircuitGroupsUpdate(context.Background(), id).CircuitGroupRequest(circuitGroupRequest).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `CircuitsAPI.CircuitsCircuitGroupsUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `CircuitsCircuitGroupsUpdate`: CircuitGroup + fmt.Fprintf(os.Stdout, "Response from `CircuitsAPI.CircuitsCircuitGroupsUpdate`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | A unique integer value identifying this circuit group. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiCircuitsCircuitGroupsUpdateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **circuitGroupRequest** | [**CircuitGroupRequest**](CircuitGroupRequest.md) | | + +### Return type + +[**CircuitGroup**](CircuitGroup.md) + +### Authorization + +[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) + +### HTTP request headers + +- **Content-Type**: application/json, multipart/form-data +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + ## CircuitsCircuitTerminationsBulkDestroy > CircuitsCircuitTerminationsBulkDestroy(ctx).CircuitTerminationRequest(circuitTerminationRequest).Execute() @@ -83,7 +1547,7 @@ import ( ) func main() { - circuitTerminationRequest := []openapiclient.CircuitTerminationRequest{*openapiclient.NewCircuitTerminationRequest(*openapiclient.NewCircuitRequest("Cid_example"), openapiclient.Termination_1("A"))} // []CircuitTerminationRequest | + circuitTerminationRequest := []openapiclient.CircuitTerminationRequest{*openapiclient.NewCircuitTerminationRequest(*openapiclient.NewBriefCircuitRequest("Cid_example", *openapiclient.NewBriefProviderRequest("Name_example", "Slug_example")), openapiclient.Termination_1("A"))} // []CircuitTerminationRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -147,7 +1611,7 @@ import ( ) func main() { - circuitTerminationRequest := []openapiclient.CircuitTerminationRequest{*openapiclient.NewCircuitTerminationRequest(*openapiclient.NewCircuitRequest("Cid_example"), openapiclient.Termination_1("A"))} // []CircuitTerminationRequest | + circuitTerminationRequest := []openapiclient.CircuitTerminationRequest{*openapiclient.NewCircuitTerminationRequest(*openapiclient.NewBriefCircuitRequest("Cid_example", *openapiclient.NewBriefProviderRequest("Name_example", "Slug_example")), openapiclient.Termination_1("A"))} // []CircuitTerminationRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -213,7 +1677,7 @@ import ( ) func main() { - circuitTerminationRequest := []openapiclient.CircuitTerminationRequest{*openapiclient.NewCircuitTerminationRequest(*openapiclient.NewCircuitRequest("Cid_example"), openapiclient.Termination_1("A"))} // []CircuitTerminationRequest | + circuitTerminationRequest := []openapiclient.CircuitTerminationRequest{*openapiclient.NewCircuitTerminationRequest(*openapiclient.NewBriefCircuitRequest("Cid_example", *openapiclient.NewBriefProviderRequest("Name_example", "Slug_example")), openapiclient.Termination_1("A"))} // []CircuitTerminationRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -279,7 +1743,7 @@ import ( ) func main() { - circuitTerminationRequest := *openapiclient.NewCircuitTerminationRequest(*openapiclient.NewCircuitRequest("Cid_example"), openapiclient.Termination_1("A")) // CircuitTerminationRequest | + circuitTerminationRequest := *openapiclient.NewCircuitTerminationRequest(*openapiclient.NewBriefCircuitRequest("Cid_example", *openapiclient.NewBriefProviderRequest("Name_example", "Slug_example")), openapiclient.Termination_1("A")) // CircuitTerminationRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -394,7 +1858,7 @@ Name | Type | Description | Notes ## CircuitsCircuitTerminationsList -> PaginatedCircuitTerminationList CircuitsCircuitTerminationsList(ctx).CableEnd(cableEnd).CableEndN(cableEndN).CableId(cableId).CableIdN(cableIdN).Cabled(cabled).CircuitId(circuitId).CircuitIdN(circuitIdN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).MarkConnected(markConnected).ModifiedByRequest(modifiedByRequest).Occupied(occupied).Offset(offset).Ordering(ordering).PortSpeed(portSpeed).PortSpeedEmpty(portSpeedEmpty).PortSpeedGt(portSpeedGt).PortSpeedGte(portSpeedGte).PortSpeedLt(portSpeedLt).PortSpeedLte(portSpeedLte).PortSpeedN(portSpeedN).PpInfo(ppInfo).PpInfoEmpty(ppInfoEmpty).PpInfoIc(ppInfoIc).PpInfoIe(ppInfoIe).PpInfoIew(ppInfoIew).PpInfoIsw(ppInfoIsw).PpInfoN(ppInfoN).PpInfoNic(ppInfoNic).PpInfoNie(ppInfoNie).PpInfoNiew(ppInfoNiew).PpInfoNisw(ppInfoNisw).Provider(provider).ProviderN(providerN).ProviderId(providerId).ProviderIdN(providerIdN).ProviderNetworkId(providerNetworkId).ProviderNetworkIdN(providerNetworkIdN).Q(q).Site(site).SiteN(siteN).SiteId(siteId).SiteIdN(siteIdN).Tag(tag).TagN(tagN).TermSide(termSide).TermSideN(termSideN).UpdatedByRequest(updatedByRequest).UpstreamSpeed(upstreamSpeed).UpstreamSpeedEmpty(upstreamSpeedEmpty).UpstreamSpeedGt(upstreamSpeedGt).UpstreamSpeedGte(upstreamSpeedGte).UpstreamSpeedLt(upstreamSpeedLt).UpstreamSpeedLte(upstreamSpeedLte).UpstreamSpeedN(upstreamSpeedN).XconnectId(xconnectId).XconnectIdEmpty(xconnectIdEmpty).XconnectIdIc(xconnectIdIc).XconnectIdIe(xconnectIdIe).XconnectIdIew(xconnectIdIew).XconnectIdIsw(xconnectIdIsw).XconnectIdN(xconnectIdN).XconnectIdNic(xconnectIdNic).XconnectIdNie(xconnectIdNie).XconnectIdNiew(xconnectIdNiew).XconnectIdNisw(xconnectIdNisw).Execute() +> PaginatedCircuitTerminationList CircuitsCircuitTerminationsList(ctx).CableEnd(cableEnd).CableId(cableId).CableIdN(cableIdN).Cabled(cabled).CircuitId(circuitId).CircuitIdN(circuitIdN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).MarkConnected(markConnected).ModifiedByRequest(modifiedByRequest).Occupied(occupied).Offset(offset).Ordering(ordering).PortSpeed(portSpeed).PortSpeedEmpty(portSpeedEmpty).PortSpeedGt(portSpeedGt).PortSpeedGte(portSpeedGte).PortSpeedLt(portSpeedLt).PortSpeedLte(portSpeedLte).PortSpeedN(portSpeedN).PpInfo(ppInfo).PpInfoEmpty(ppInfoEmpty).PpInfoIc(ppInfoIc).PpInfoIe(ppInfoIe).PpInfoIew(ppInfoIew).PpInfoIsw(ppInfoIsw).PpInfoN(ppInfoN).PpInfoNic(ppInfoNic).PpInfoNie(ppInfoNie).PpInfoNiew(ppInfoNiew).PpInfoNisw(ppInfoNisw).Provider(provider).ProviderN(providerN).ProviderId(providerId).ProviderIdN(providerIdN).ProviderNetworkId(providerNetworkId).ProviderNetworkIdN(providerNetworkIdN).Q(q).Site(site).SiteN(siteN).SiteId(siteId).SiteIdN(siteIdN).Tag(tag).TagN(tagN).TermSide(termSide).UpdatedByRequest(updatedByRequest).UpstreamSpeed(upstreamSpeed).UpstreamSpeedEmpty(upstreamSpeedEmpty).UpstreamSpeedGt(upstreamSpeedGt).UpstreamSpeedGte(upstreamSpeedGte).UpstreamSpeedLt(upstreamSpeedLt).UpstreamSpeedLte(upstreamSpeedLte).UpstreamSpeedN(upstreamSpeedN).XconnectId(xconnectId).XconnectIdEmpty(xconnectIdEmpty).XconnectIdIc(xconnectIdIc).XconnectIdIe(xconnectIdIe).XconnectIdIew(xconnectIdIew).XconnectIdIsw(xconnectIdIsw).XconnectIdN(xconnectIdN).XconnectIdNic(xconnectIdNic).XconnectIdNie(xconnectIdNie).XconnectIdNiew(xconnectIdNiew).XconnectIdNisw(xconnectIdNisw).Execute() @@ -415,7 +1879,6 @@ import ( func main() { cableEnd := openapiclient.circuits_circuit_terminations_list_cable_end_parameter("A") // CircuitsCircuitTerminationsListCableEndParameter | * `A` - A * `B` - B (optional) - cableEndN := openapiclient.circuits_circuit_terminations_list_cable_end_parameter("A") // CircuitsCircuitTerminationsListCableEndParameter | * `A` - A * `B` - B (optional) cableId := []*int32{int32(123)} // []*int32 | Cable (ID) (optional) cableIdN := []*int32{int32(123)} // []*int32 | Cable (ID) (optional) cabled := true // bool | (optional) @@ -492,7 +1955,6 @@ func main() { tag := []string{"Inner_example"} // []string | (optional) tagN := []string{"Inner_example"} // []string | (optional) termSide := openapiclient.Termination("A") // Termination | * `A` - A * `Z` - Z (optional) - termSideN := openapiclient.Termination("A") // Termination | * `A` - A * `Z` - Z (optional) updatedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) upstreamSpeed := []int32{int32(123)} // []int32 | (optional) upstreamSpeedEmpty := true // bool | (optional) @@ -515,7 +1977,7 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.CircuitsAPI.CircuitsCircuitTerminationsList(context.Background()).CableEnd(cableEnd).CableEndN(cableEndN).CableId(cableId).CableIdN(cableIdN).Cabled(cabled).CircuitId(circuitId).CircuitIdN(circuitIdN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).MarkConnected(markConnected).ModifiedByRequest(modifiedByRequest).Occupied(occupied).Offset(offset).Ordering(ordering).PortSpeed(portSpeed).PortSpeedEmpty(portSpeedEmpty).PortSpeedGt(portSpeedGt).PortSpeedGte(portSpeedGte).PortSpeedLt(portSpeedLt).PortSpeedLte(portSpeedLte).PortSpeedN(portSpeedN).PpInfo(ppInfo).PpInfoEmpty(ppInfoEmpty).PpInfoIc(ppInfoIc).PpInfoIe(ppInfoIe).PpInfoIew(ppInfoIew).PpInfoIsw(ppInfoIsw).PpInfoN(ppInfoN).PpInfoNic(ppInfoNic).PpInfoNie(ppInfoNie).PpInfoNiew(ppInfoNiew).PpInfoNisw(ppInfoNisw).Provider(provider).ProviderN(providerN).ProviderId(providerId).ProviderIdN(providerIdN).ProviderNetworkId(providerNetworkId).ProviderNetworkIdN(providerNetworkIdN).Q(q).Site(site).SiteN(siteN).SiteId(siteId).SiteIdN(siteIdN).Tag(tag).TagN(tagN).TermSide(termSide).TermSideN(termSideN).UpdatedByRequest(updatedByRequest).UpstreamSpeed(upstreamSpeed).UpstreamSpeedEmpty(upstreamSpeedEmpty).UpstreamSpeedGt(upstreamSpeedGt).UpstreamSpeedGte(upstreamSpeedGte).UpstreamSpeedLt(upstreamSpeedLt).UpstreamSpeedLte(upstreamSpeedLte).UpstreamSpeedN(upstreamSpeedN).XconnectId(xconnectId).XconnectIdEmpty(xconnectIdEmpty).XconnectIdIc(xconnectIdIc).XconnectIdIe(xconnectIdIe).XconnectIdIew(xconnectIdIew).XconnectIdIsw(xconnectIdIsw).XconnectIdN(xconnectIdN).XconnectIdNic(xconnectIdNic).XconnectIdNie(xconnectIdNie).XconnectIdNiew(xconnectIdNiew).XconnectIdNisw(xconnectIdNisw).Execute() + resp, r, err := apiClient.CircuitsAPI.CircuitsCircuitTerminationsList(context.Background()).CableEnd(cableEnd).CableId(cableId).CableIdN(cableIdN).Cabled(cabled).CircuitId(circuitId).CircuitIdN(circuitIdN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).MarkConnected(markConnected).ModifiedByRequest(modifiedByRequest).Occupied(occupied).Offset(offset).Ordering(ordering).PortSpeed(portSpeed).PortSpeedEmpty(portSpeedEmpty).PortSpeedGt(portSpeedGt).PortSpeedGte(portSpeedGte).PortSpeedLt(portSpeedLt).PortSpeedLte(portSpeedLte).PortSpeedN(portSpeedN).PpInfo(ppInfo).PpInfoEmpty(ppInfoEmpty).PpInfoIc(ppInfoIc).PpInfoIe(ppInfoIe).PpInfoIew(ppInfoIew).PpInfoIsw(ppInfoIsw).PpInfoN(ppInfoN).PpInfoNic(ppInfoNic).PpInfoNie(ppInfoNie).PpInfoNiew(ppInfoNiew).PpInfoNisw(ppInfoNisw).Provider(provider).ProviderN(providerN).ProviderId(providerId).ProviderIdN(providerIdN).ProviderNetworkId(providerNetworkId).ProviderNetworkIdN(providerNetworkIdN).Q(q).Site(site).SiteN(siteN).SiteId(siteId).SiteIdN(siteIdN).Tag(tag).TagN(tagN).TermSide(termSide).UpdatedByRequest(updatedByRequest).UpstreamSpeed(upstreamSpeed).UpstreamSpeedEmpty(upstreamSpeedEmpty).UpstreamSpeedGt(upstreamSpeedGt).UpstreamSpeedGte(upstreamSpeedGte).UpstreamSpeedLt(upstreamSpeedLt).UpstreamSpeedLte(upstreamSpeedLte).UpstreamSpeedN(upstreamSpeedN).XconnectId(xconnectId).XconnectIdEmpty(xconnectIdEmpty).XconnectIdIc(xconnectIdIc).XconnectIdIe(xconnectIdIe).XconnectIdIew(xconnectIdIew).XconnectIdIsw(xconnectIdIsw).XconnectIdN(xconnectIdN).XconnectIdNic(xconnectIdNic).XconnectIdNie(xconnectIdNie).XconnectIdNiew(xconnectIdNiew).XconnectIdNisw(xconnectIdNisw).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) @@ -537,7 +1999,6 @@ Other parameters are passed through a pointer to a apiCircuitsCircuitTermination Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **cableEnd** | [**CircuitsCircuitTerminationsListCableEndParameter**](CircuitsCircuitTerminationsListCableEndParameter.md) | * `A` - A * `B` - B | - **cableEndN** | [**CircuitsCircuitTerminationsListCableEndParameter**](CircuitsCircuitTerminationsListCableEndParameter.md) | * `A` - A * `B` - B | **cableId** | **[]int32** | Cable (ID) | **cableIdN** | **[]int32** | Cable (ID) | **cabled** | **bool** | | @@ -614,7 +2075,6 @@ Name | Type | Description | Notes **tag** | **[]string** | | **tagN** | **[]string** | | **termSide** | [**Termination**](Termination.md) | * `A` - A * `Z` - Z | - **termSideN** | [**Termination**](Termination.md) | * `A` - A * `Z` - Z | **updatedByRequest** | **string** | | **upstreamSpeed** | **[]int32** | | **upstreamSpeedEmpty** | **bool** | | @@ -887,7 +2347,7 @@ import ( func main() { id := int32(56) // int32 | A unique integer value identifying this circuit termination. - circuitTerminationRequest := *openapiclient.NewCircuitTerminationRequest(*openapiclient.NewCircuitRequest("Cid_example"), openapiclient.Termination_1("A")) // CircuitTerminationRequest | + circuitTerminationRequest := *openapiclient.NewCircuitTerminationRequest(*openapiclient.NewBriefCircuitRequest("Cid_example", *openapiclient.NewBriefProviderRequest("Name_example", "Slug_example")), openapiclient.Termination_1("A")) // CircuitTerminationRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -1715,7 +3175,7 @@ import ( ) func main() { - circuitRequest := []openapiclient.CircuitRequest{*openapiclient.NewCircuitRequest("Cid_example")} // []CircuitRequest | + circuitRequest := []openapiclient.CircuitRequest{*openapiclient.NewCircuitRequest("Cid_example", *openapiclient.NewBriefProviderRequest("Name_example", "Slug_example"), *openapiclient.NewBriefCircuitTypeRequest("Name_example", "Slug_example"))} // []CircuitRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -1779,7 +3239,7 @@ import ( ) func main() { - circuitRequest := []openapiclient.CircuitRequest{*openapiclient.NewCircuitRequest("Cid_example")} // []CircuitRequest | + circuitRequest := []openapiclient.CircuitRequest{*openapiclient.NewCircuitRequest("Cid_example", *openapiclient.NewBriefProviderRequest("Name_example", "Slug_example"), *openapiclient.NewBriefCircuitTypeRequest("Name_example", "Slug_example"))} // []CircuitRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -1845,7 +3305,7 @@ import ( ) func main() { - circuitRequest := []openapiclient.CircuitRequest{*openapiclient.NewCircuitRequest("Cid_example")} // []CircuitRequest | + circuitRequest := []openapiclient.CircuitRequest{*openapiclient.NewCircuitRequest("Cid_example", *openapiclient.NewBriefProviderRequest("Name_example", "Slug_example"), *openapiclient.NewBriefCircuitTypeRequest("Name_example", "Slug_example"))} // []CircuitRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -1911,7 +3371,7 @@ import ( ) func main() { - writableCircuitRequest := *openapiclient.NewWritableCircuitRequest("Cid_example", *openapiclient.NewProviderRequest("Name_example", "Slug_example"), *openapiclient.NewCircuitTypeRequest("Name_example", "Slug_example")) // WritableCircuitRequest | + writableCircuitRequest := *openapiclient.NewWritableCircuitRequest("Cid_example", *openapiclient.NewBriefProviderRequest("Name_example", "Slug_example"), *openapiclient.NewBriefCircuitTypeRequest("Name_example", "Slug_example")) // WritableCircuitRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -2026,7 +3486,7 @@ Name | Type | Description | Notes ## CircuitsCircuitsList -> PaginatedCircuitList CircuitsCircuitsList(ctx).Cid(cid).CidEmpty(cidEmpty).CidIc(cidIc).CidIe(cidIe).CidIew(cidIew).CidIsw(cidIsw).CidN(cidN).CidNic(cidNic).CidNie(cidNie).CidNiew(cidNiew).CidNisw(cidNisw).CommitRate(commitRate).CommitRateEmpty(commitRateEmpty).CommitRateGt(commitRateGt).CommitRateGte(commitRateGte).CommitRateLt(commitRateLt).CommitRateLte(commitRateLte).CommitRateN(commitRateN).Contact(contact).ContactN(contactN).ContactGroup(contactGroup).ContactGroupN(contactGroupN).ContactRole(contactRole).ContactRoleN(contactRoleN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).InstallDate(installDate).InstallDateEmpty(installDateEmpty).InstallDateGt(installDateGt).InstallDateGte(installDateGte).InstallDateLt(installDateLt).InstallDateLte(installDateLte).InstallDateN(installDateN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Offset(offset).Ordering(ordering).Provider(provider).ProviderN(providerN).ProviderAccount(providerAccount).ProviderAccountN(providerAccountN).ProviderAccountId(providerAccountId).ProviderAccountIdN(providerAccountIdN).ProviderId(providerId).ProviderIdN(providerIdN).ProviderNetworkId(providerNetworkId).ProviderNetworkIdN(providerNetworkIdN).Q(q).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Status(status).StatusN(statusN).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).TerminationAId(terminationAId).TerminationAIdN(terminationAIdN).TerminationDate(terminationDate).TerminationDateEmpty(terminationDateEmpty).TerminationDateGt(terminationDateGt).TerminationDateGte(terminationDateGte).TerminationDateLt(terminationDateLt).TerminationDateLte(terminationDateLte).TerminationDateN(terminationDateN).TerminationZId(terminationZId).TerminationZIdN(terminationZIdN).Type_(type_).TypeN(typeN).TypeId(typeId).TypeIdN(typeIdN).UpdatedByRequest(updatedByRequest).Execute() +> PaginatedCircuitList CircuitsCircuitsList(ctx).Cid(cid).CidEmpty(cidEmpty).CidIc(cidIc).CidIe(cidIe).CidIew(cidIew).CidIsw(cidIsw).CidN(cidN).CidNic(cidNic).CidNie(cidNie).CidNiew(cidNiew).CidNisw(cidNisw).CommitRate(commitRate).CommitRateEmpty(commitRateEmpty).CommitRateGt(commitRateGt).CommitRateGte(commitRateGte).CommitRateLt(commitRateLt).CommitRateLte(commitRateLte).CommitRateN(commitRateN).Contact(contact).ContactN(contactN).ContactGroup(contactGroup).ContactGroupN(contactGroupN).ContactRole(contactRole).ContactRoleN(contactRoleN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).InstallDate(installDate).InstallDateEmpty(installDateEmpty).InstallDateGt(installDateGt).InstallDateGte(installDateGte).InstallDateLt(installDateLt).InstallDateLte(installDateLte).InstallDateN(installDateN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Offset(offset).Ordering(ordering).Provider(provider).ProviderN(providerN).ProviderAccount(providerAccount).ProviderAccountN(providerAccountN).ProviderAccountId(providerAccountId).ProviderAccountIdN(providerAccountIdN).ProviderId(providerId).ProviderIdN(providerIdN).ProviderNetworkId(providerNetworkId).ProviderNetworkIdN(providerNetworkIdN).Q(q).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Status(status).StatusEmpty(statusEmpty).StatusIc(statusIc).StatusIe(statusIe).StatusIew(statusIew).StatusIsw(statusIsw).StatusN(statusN).StatusNic(statusNic).StatusNie(statusNie).StatusNiew(statusNiew).StatusNisw(statusNisw).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).TerminationAId(terminationAId).TerminationAIdN(terminationAIdN).TerminationDate(terminationDate).TerminationDateEmpty(terminationDateEmpty).TerminationDateGt(terminationDateGt).TerminationDateGte(terminationDateGte).TerminationDateLt(terminationDateLt).TerminationDateLte(terminationDateLte).TerminationDateN(terminationDateN).TerminationZId(terminationZId).TerminationZIdN(terminationZIdN).Type_(type_).TypeN(typeN).TypeId(typeId).TypeIdN(typeIdN).UpdatedByRequest(updatedByRequest).Execute() @@ -2066,8 +3526,8 @@ func main() { commitRateN := []int32{int32(123)} // []int32 | (optional) contact := []int32{int32(123)} // []int32 | Contact (optional) contactN := []int32{int32(123)} // []int32 | Contact (optional) - contactGroup := []int32{int32(123)} // []int32 | Contact group (optional) - contactGroupN := []int32{int32(123)} // []int32 | Contact group (optional) + contactGroup := []string{"Inner_example"} // []string | (optional) + contactGroupN := []string{"Inner_example"} // []string | (optional) contactRole := []int32{int32(123)} // []int32 | Contact Role (optional) contactRoleN := []int32{int32(123)} // []int32 | Contact Role (optional) created := []time.Time{time.Now()} // []time.Time | (optional) @@ -2125,28 +3585,37 @@ func main() { providerNetworkId := []int32{int32(123)} // []int32 | Provider network (ID) (optional) providerNetworkIdN := []int32{int32(123)} // []int32 | Provider network (ID) (optional) q := "q_example" // string | Search (optional) - region := []int32{int32(123)} // []int32 | Region (slug) (optional) - regionN := []int32{int32(123)} // []int32 | Region (slug) (optional) - regionId := []int32{int32(123)} // []int32 | Region (ID) (optional) - regionIdN := []int32{int32(123)} // []int32 | Region (ID) (optional) + region := []string{"Inner_example"} // []string | (optional) + regionN := []string{"Inner_example"} // []string | (optional) + regionId := []string{"Inner_example"} // []string | (optional) + regionIdN := []string{"Inner_example"} // []string | (optional) site := []string{"Inner_example"} // []string | Site (slug) (optional) siteN := []string{"Inner_example"} // []string | Site (slug) (optional) - siteGroup := []int32{int32(123)} // []int32 | Site group (slug) (optional) - siteGroupN := []int32{int32(123)} // []int32 | Site group (slug) (optional) - siteGroupId := []int32{int32(123)} // []int32 | Site group (ID) (optional) - siteGroupIdN := []int32{int32(123)} // []int32 | Site group (ID) (optional) + siteGroup := []string{"Inner_example"} // []string | (optional) + siteGroupN := []string{"Inner_example"} // []string | (optional) + siteGroupId := []string{"Inner_example"} // []string | (optional) + siteGroupIdN := []string{"Inner_example"} // []string | (optional) siteId := []int32{int32(123)} // []int32 | Site (ID) (optional) siteIdN := []int32{int32(123)} // []int32 | Site (ID) (optional) status := []string{"Inner_example"} // []string | (optional) - statusN := []string{"Inner_example"} // []string | (optional) + statusEmpty := true // bool | (optional) + statusIc := []openapiclient.CircuitsCircuitsListStatusIcParameterInner{openapiclient.circuits_circuits_list_status__ic_parameter_inner("active")} // []CircuitsCircuitsListStatusIcParameterInner | * `planned` - Planned * `provisioning` - Provisioning * `active` - Active * `offline` - Offline * `deprovisioning` - Deprovisioning * `decommissioned` - Decommissioned (optional) + statusIe := []openapiclient.CircuitsCircuitsListStatusIcParameterInner{openapiclient.circuits_circuits_list_status__ic_parameter_inner("active")} // []CircuitsCircuitsListStatusIcParameterInner | * `planned` - Planned * `provisioning` - Provisioning * `active` - Active * `offline` - Offline * `deprovisioning` - Deprovisioning * `decommissioned` - Decommissioned (optional) + statusIew := []openapiclient.CircuitsCircuitsListStatusIcParameterInner{openapiclient.circuits_circuits_list_status__ic_parameter_inner("active")} // []CircuitsCircuitsListStatusIcParameterInner | * `planned` - Planned * `provisioning` - Provisioning * `active` - Active * `offline` - Offline * `deprovisioning` - Deprovisioning * `decommissioned` - Decommissioned (optional) + statusIsw := []openapiclient.CircuitsCircuitsListStatusIcParameterInner{openapiclient.circuits_circuits_list_status__ic_parameter_inner("active")} // []CircuitsCircuitsListStatusIcParameterInner | * `planned` - Planned * `provisioning` - Provisioning * `active` - Active * `offline` - Offline * `deprovisioning` - Deprovisioning * `decommissioned` - Decommissioned (optional) + statusN := []openapiclient.CircuitsCircuitsListStatusIcParameterInner{openapiclient.circuits_circuits_list_status__ic_parameter_inner("active")} // []CircuitsCircuitsListStatusIcParameterInner | * `planned` - Planned * `provisioning` - Provisioning * `active` - Active * `offline` - Offline * `deprovisioning` - Deprovisioning * `decommissioned` - Decommissioned (optional) + statusNic := []openapiclient.CircuitsCircuitsListStatusIcParameterInner{openapiclient.circuits_circuits_list_status__ic_parameter_inner("active")} // []CircuitsCircuitsListStatusIcParameterInner | * `planned` - Planned * `provisioning` - Provisioning * `active` - Active * `offline` - Offline * `deprovisioning` - Deprovisioning * `decommissioned` - Decommissioned (optional) + statusNie := []openapiclient.CircuitsCircuitsListStatusIcParameterInner{openapiclient.circuits_circuits_list_status__ic_parameter_inner("active")} // []CircuitsCircuitsListStatusIcParameterInner | * `planned` - Planned * `provisioning` - Provisioning * `active` - Active * `offline` - Offline * `deprovisioning` - Deprovisioning * `decommissioned` - Decommissioned (optional) + statusNiew := []openapiclient.CircuitsCircuitsListStatusIcParameterInner{openapiclient.circuits_circuits_list_status__ic_parameter_inner("active")} // []CircuitsCircuitsListStatusIcParameterInner | * `planned` - Planned * `provisioning` - Provisioning * `active` - Active * `offline` - Offline * `deprovisioning` - Deprovisioning * `decommissioned` - Decommissioned (optional) + statusNisw := []openapiclient.CircuitsCircuitsListStatusIcParameterInner{openapiclient.circuits_circuits_list_status__ic_parameter_inner("active")} // []CircuitsCircuitsListStatusIcParameterInner | * `planned` - Planned * `provisioning` - Provisioning * `active` - Active * `offline` - Offline * `deprovisioning` - Deprovisioning * `decommissioned` - Decommissioned (optional) tag := []string{"Inner_example"} // []string | (optional) tagN := []string{"Inner_example"} // []string | (optional) tenant := []string{"Inner_example"} // []string | Tenant (slug) (optional) tenantN := []string{"Inner_example"} // []string | Tenant (slug) (optional) - tenantGroup := []int32{int32(123)} // []int32 | Tenant Group (slug) (optional) - tenantGroupN := []int32{int32(123)} // []int32 | Tenant Group (slug) (optional) - tenantGroupId := []int32{int32(123)} // []int32 | Tenant Group (ID) (optional) - tenantGroupIdN := []int32{int32(123)} // []int32 | Tenant Group (ID) (optional) + tenantGroup := []string{"Inner_example"} // []string | (optional) + tenantGroupN := []string{"Inner_example"} // []string | (optional) + tenantGroupId := []string{"Inner_example"} // []string | (optional) + tenantGroupIdN := []string{"Inner_example"} // []string | (optional) tenantId := []*int32{int32(123)} // []*int32 | Tenant (ID) (optional) tenantIdN := []*int32{int32(123)} // []*int32 | Tenant (ID) (optional) terminationAId := []*int32{int32(123)} // []*int32 | Termination A (ID) (optional) @@ -2168,7 +3637,7 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.CircuitsAPI.CircuitsCircuitsList(context.Background()).Cid(cid).CidEmpty(cidEmpty).CidIc(cidIc).CidIe(cidIe).CidIew(cidIew).CidIsw(cidIsw).CidN(cidN).CidNic(cidNic).CidNie(cidNie).CidNiew(cidNiew).CidNisw(cidNisw).CommitRate(commitRate).CommitRateEmpty(commitRateEmpty).CommitRateGt(commitRateGt).CommitRateGte(commitRateGte).CommitRateLt(commitRateLt).CommitRateLte(commitRateLte).CommitRateN(commitRateN).Contact(contact).ContactN(contactN).ContactGroup(contactGroup).ContactGroupN(contactGroupN).ContactRole(contactRole).ContactRoleN(contactRoleN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).InstallDate(installDate).InstallDateEmpty(installDateEmpty).InstallDateGt(installDateGt).InstallDateGte(installDateGte).InstallDateLt(installDateLt).InstallDateLte(installDateLte).InstallDateN(installDateN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Offset(offset).Ordering(ordering).Provider(provider).ProviderN(providerN).ProviderAccount(providerAccount).ProviderAccountN(providerAccountN).ProviderAccountId(providerAccountId).ProviderAccountIdN(providerAccountIdN).ProviderId(providerId).ProviderIdN(providerIdN).ProviderNetworkId(providerNetworkId).ProviderNetworkIdN(providerNetworkIdN).Q(q).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Status(status).StatusN(statusN).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).TerminationAId(terminationAId).TerminationAIdN(terminationAIdN).TerminationDate(terminationDate).TerminationDateEmpty(terminationDateEmpty).TerminationDateGt(terminationDateGt).TerminationDateGte(terminationDateGte).TerminationDateLt(terminationDateLt).TerminationDateLte(terminationDateLte).TerminationDateN(terminationDateN).TerminationZId(terminationZId).TerminationZIdN(terminationZIdN).Type_(type_).TypeN(typeN).TypeId(typeId).TypeIdN(typeIdN).UpdatedByRequest(updatedByRequest).Execute() + resp, r, err := apiClient.CircuitsAPI.CircuitsCircuitsList(context.Background()).Cid(cid).CidEmpty(cidEmpty).CidIc(cidIc).CidIe(cidIe).CidIew(cidIew).CidIsw(cidIsw).CidN(cidN).CidNic(cidNic).CidNie(cidNie).CidNiew(cidNiew).CidNisw(cidNisw).CommitRate(commitRate).CommitRateEmpty(commitRateEmpty).CommitRateGt(commitRateGt).CommitRateGte(commitRateGte).CommitRateLt(commitRateLt).CommitRateLte(commitRateLte).CommitRateN(commitRateN).Contact(contact).ContactN(contactN).ContactGroup(contactGroup).ContactGroupN(contactGroupN).ContactRole(contactRole).ContactRoleN(contactRoleN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).InstallDate(installDate).InstallDateEmpty(installDateEmpty).InstallDateGt(installDateGt).InstallDateGte(installDateGte).InstallDateLt(installDateLt).InstallDateLte(installDateLte).InstallDateN(installDateN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Offset(offset).Ordering(ordering).Provider(provider).ProviderN(providerN).ProviderAccount(providerAccount).ProviderAccountN(providerAccountN).ProviderAccountId(providerAccountId).ProviderAccountIdN(providerAccountIdN).ProviderId(providerId).ProviderIdN(providerIdN).ProviderNetworkId(providerNetworkId).ProviderNetworkIdN(providerNetworkIdN).Q(q).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Status(status).StatusEmpty(statusEmpty).StatusIc(statusIc).StatusIe(statusIe).StatusIew(statusIew).StatusIsw(statusIsw).StatusN(statusN).StatusNic(statusNic).StatusNie(statusNie).StatusNiew(statusNiew).StatusNisw(statusNisw).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).TerminationAId(terminationAId).TerminationAIdN(terminationAIdN).TerminationDate(terminationDate).TerminationDateEmpty(terminationDateEmpty).TerminationDateGt(terminationDateGt).TerminationDateGte(terminationDateGte).TerminationDateLt(terminationDateLt).TerminationDateLte(terminationDateLte).TerminationDateN(terminationDateN).TerminationZId(terminationZId).TerminationZIdN(terminationZIdN).Type_(type_).TypeN(typeN).TypeId(typeId).TypeIdN(typeIdN).UpdatedByRequest(updatedByRequest).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) @@ -2209,8 +3678,8 @@ Name | Type | Description | Notes **commitRateN** | **[]int32** | | **contact** | **[]int32** | Contact | **contactN** | **[]int32** | Contact | - **contactGroup** | **[]int32** | Contact group | - **contactGroupN** | **[]int32** | Contact group | + **contactGroup** | **[]string** | | + **contactGroupN** | **[]string** | | **contactRole** | **[]int32** | Contact Role | **contactRoleN** | **[]int32** | Contact Role | **created** | [**[]time.Time**](time.Time.md) | | @@ -2268,28 +3737,37 @@ Name | Type | Description | Notes **providerNetworkId** | **[]int32** | Provider network (ID) | **providerNetworkIdN** | **[]int32** | Provider network (ID) | **q** | **string** | Search | - **region** | **[]int32** | Region (slug) | - **regionN** | **[]int32** | Region (slug) | - **regionId** | **[]int32** | Region (ID) | - **regionIdN** | **[]int32** | Region (ID) | + **region** | **[]string** | | + **regionN** | **[]string** | | + **regionId** | **[]string** | | + **regionIdN** | **[]string** | | **site** | **[]string** | Site (slug) | **siteN** | **[]string** | Site (slug) | - **siteGroup** | **[]int32** | Site group (slug) | - **siteGroupN** | **[]int32** | Site group (slug) | - **siteGroupId** | **[]int32** | Site group (ID) | - **siteGroupIdN** | **[]int32** | Site group (ID) | + **siteGroup** | **[]string** | | + **siteGroupN** | **[]string** | | + **siteGroupId** | **[]string** | | + **siteGroupIdN** | **[]string** | | **siteId** | **[]int32** | Site (ID) | **siteIdN** | **[]int32** | Site (ID) | **status** | **[]string** | | - **statusN** | **[]string** | | + **statusEmpty** | **bool** | | + **statusIc** | [**[]CircuitsCircuitsListStatusIcParameterInner**](CircuitsCircuitsListStatusIcParameterInner.md) | * `planned` - Planned * `provisioning` - Provisioning * `active` - Active * `offline` - Offline * `deprovisioning` - Deprovisioning * `decommissioned` - Decommissioned | + **statusIe** | [**[]CircuitsCircuitsListStatusIcParameterInner**](CircuitsCircuitsListStatusIcParameterInner.md) | * `planned` - Planned * `provisioning` - Provisioning * `active` - Active * `offline` - Offline * `deprovisioning` - Deprovisioning * `decommissioned` - Decommissioned | + **statusIew** | [**[]CircuitsCircuitsListStatusIcParameterInner**](CircuitsCircuitsListStatusIcParameterInner.md) | * `planned` - Planned * `provisioning` - Provisioning * `active` - Active * `offline` - Offline * `deprovisioning` - Deprovisioning * `decommissioned` - Decommissioned | + **statusIsw** | [**[]CircuitsCircuitsListStatusIcParameterInner**](CircuitsCircuitsListStatusIcParameterInner.md) | * `planned` - Planned * `provisioning` - Provisioning * `active` - Active * `offline` - Offline * `deprovisioning` - Deprovisioning * `decommissioned` - Decommissioned | + **statusN** | [**[]CircuitsCircuitsListStatusIcParameterInner**](CircuitsCircuitsListStatusIcParameterInner.md) | * `planned` - Planned * `provisioning` - Provisioning * `active` - Active * `offline` - Offline * `deprovisioning` - Deprovisioning * `decommissioned` - Decommissioned | + **statusNic** | [**[]CircuitsCircuitsListStatusIcParameterInner**](CircuitsCircuitsListStatusIcParameterInner.md) | * `planned` - Planned * `provisioning` - Provisioning * `active` - Active * `offline` - Offline * `deprovisioning` - Deprovisioning * `decommissioned` - Decommissioned | + **statusNie** | [**[]CircuitsCircuitsListStatusIcParameterInner**](CircuitsCircuitsListStatusIcParameterInner.md) | * `planned` - Planned * `provisioning` - Provisioning * `active` - Active * `offline` - Offline * `deprovisioning` - Deprovisioning * `decommissioned` - Decommissioned | + **statusNiew** | [**[]CircuitsCircuitsListStatusIcParameterInner**](CircuitsCircuitsListStatusIcParameterInner.md) | * `planned` - Planned * `provisioning` - Provisioning * `active` - Active * `offline` - Offline * `deprovisioning` - Deprovisioning * `decommissioned` - Decommissioned | + **statusNisw** | [**[]CircuitsCircuitsListStatusIcParameterInner**](CircuitsCircuitsListStatusIcParameterInner.md) | * `planned` - Planned * `provisioning` - Provisioning * `active` - Active * `offline` - Offline * `deprovisioning` - Deprovisioning * `decommissioned` - Decommissioned | **tag** | **[]string** | | **tagN** | **[]string** | | **tenant** | **[]string** | Tenant (slug) | **tenantN** | **[]string** | Tenant (slug) | - **tenantGroup** | **[]int32** | Tenant Group (slug) | - **tenantGroupN** | **[]int32** | Tenant Group (slug) | - **tenantGroupId** | **[]int32** | Tenant Group (ID) | - **tenantGroupIdN** | **[]int32** | Tenant Group (ID) | + **tenantGroup** | **[]string** | | + **tenantGroupN** | **[]string** | | + **tenantGroupId** | **[]string** | | + **tenantGroupIdN** | **[]string** | | **tenantId** | **[]int32** | Tenant (ID) | **tenantIdN** | **[]int32** | Tenant (ID) | **terminationAId** | **[]int32** | Termination A (ID) | @@ -2491,7 +3969,7 @@ import ( func main() { id := int32(56) // int32 | A unique integer value identifying this circuit. - writableCircuitRequest := *openapiclient.NewWritableCircuitRequest("Cid_example", *openapiclient.NewProviderRequest("Name_example", "Slug_example"), *openapiclient.NewCircuitTypeRequest("Name_example", "Slug_example")) // WritableCircuitRequest | + writableCircuitRequest := *openapiclient.NewWritableCircuitRequest("Cid_example", *openapiclient.NewBriefProviderRequest("Name_example", "Slug_example"), *openapiclient.NewBriefCircuitTypeRequest("Name_example", "Slug_example")) // WritableCircuitRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -2562,7 +4040,7 @@ import ( ) func main() { - providerAccountRequest := []openapiclient.ProviderAccountRequest{*openapiclient.NewProviderAccountRequest("Account_example")} // []ProviderAccountRequest | + providerAccountRequest := []openapiclient.ProviderAccountRequest{*openapiclient.NewProviderAccountRequest(*openapiclient.NewBriefProviderRequest("Name_example", "Slug_example"), "Account_example")} // []ProviderAccountRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -2626,7 +4104,7 @@ import ( ) func main() { - providerAccountRequest := []openapiclient.ProviderAccountRequest{*openapiclient.NewProviderAccountRequest("Account_example")} // []ProviderAccountRequest | + providerAccountRequest := []openapiclient.ProviderAccountRequest{*openapiclient.NewProviderAccountRequest(*openapiclient.NewBriefProviderRequest("Name_example", "Slug_example"), "Account_example")} // []ProviderAccountRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -2692,7 +4170,7 @@ import ( ) func main() { - providerAccountRequest := []openapiclient.ProviderAccountRequest{*openapiclient.NewProviderAccountRequest("Account_example")} // []ProviderAccountRequest | + providerAccountRequest := []openapiclient.ProviderAccountRequest{*openapiclient.NewProviderAccountRequest(*openapiclient.NewBriefProviderRequest("Name_example", "Slug_example"), "Account_example")} // []ProviderAccountRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -2758,7 +4236,7 @@ import ( ) func main() { - providerAccountRequest := *openapiclient.NewProviderAccountRequest("Account_example") // ProviderAccountRequest | + providerAccountRequest := *openapiclient.NewProviderAccountRequest(*openapiclient.NewBriefProviderRequest("Name_example", "Slug_example"), "Account_example") // ProviderAccountRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -3234,7 +4712,7 @@ import ( func main() { id := int32(56) // int32 | A unique integer value identifying this provider account. - providerAccountRequest := *openapiclient.NewProviderAccountRequest("Account_example") // ProviderAccountRequest | + providerAccountRequest := *openapiclient.NewProviderAccountRequest(*openapiclient.NewBriefProviderRequest("Name_example", "Slug_example"), "Account_example") // ProviderAccountRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -3305,7 +4783,7 @@ import ( ) func main() { - providerNetworkRequest := []openapiclient.ProviderNetworkRequest{*openapiclient.NewProviderNetworkRequest("Name_example")} // []ProviderNetworkRequest | + providerNetworkRequest := []openapiclient.ProviderNetworkRequest{*openapiclient.NewProviderNetworkRequest(*openapiclient.NewBriefProviderRequest("Name_example", "Slug_example"), "Name_example")} // []ProviderNetworkRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -3369,7 +4847,7 @@ import ( ) func main() { - providerNetworkRequest := []openapiclient.ProviderNetworkRequest{*openapiclient.NewProviderNetworkRequest("Name_example")} // []ProviderNetworkRequest | + providerNetworkRequest := []openapiclient.ProviderNetworkRequest{*openapiclient.NewProviderNetworkRequest(*openapiclient.NewBriefProviderRequest("Name_example", "Slug_example"), "Name_example")} // []ProviderNetworkRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -3435,7 +4913,7 @@ import ( ) func main() { - providerNetworkRequest := []openapiclient.ProviderNetworkRequest{*openapiclient.NewProviderNetworkRequest("Name_example")} // []ProviderNetworkRequest | + providerNetworkRequest := []openapiclient.ProviderNetworkRequest{*openapiclient.NewProviderNetworkRequest(*openapiclient.NewBriefProviderRequest("Name_example", "Slug_example"), "Name_example")} // []ProviderNetworkRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -3501,7 +4979,7 @@ import ( ) func main() { - providerNetworkRequest := *openapiclient.NewProviderNetworkRequest("Name_example") // ProviderNetworkRequest | + providerNetworkRequest := *openapiclient.NewProviderNetworkRequest(*openapiclient.NewBriefProviderRequest("Name_example", "Slug_example"), "Name_example") // ProviderNetworkRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -3977,7 +5455,7 @@ import ( func main() { id := int32(56) // int32 | A unique integer value identifying this provider network. - providerNetworkRequest := *openapiclient.NewProviderNetworkRequest("Name_example") // ProviderNetworkRequest | + providerNetworkRequest := *openapiclient.NewProviderNetworkRequest(*openapiclient.NewBriefProviderRequest("Name_example", "Slug_example"), "Name_example") // ProviderNetworkRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -4385,8 +5863,8 @@ func main() { asnIdN := []int32{int32(123)} // []int32 | ASN (ID) (optional) contact := []int32{int32(123)} // []int32 | Contact (optional) contactN := []int32{int32(123)} // []int32 | Contact (optional) - contactGroup := []int32{int32(123)} // []int32 | Contact group (optional) - contactGroupN := []int32{int32(123)} // []int32 | Contact group (optional) + contactGroup := []string{"Inner_example"} // []string | (optional) + contactGroupN := []string{"Inner_example"} // []string | (optional) contactRole := []int32{int32(123)} // []int32 | Contact Role (optional) contactRoleN := []int32{int32(123)} // []int32 | Contact Role (optional) created := []time.Time{time.Now()} // []time.Time | (optional) @@ -4438,16 +5916,16 @@ func main() { offset := int32(56) // int32 | The initial index from which to return the results. (optional) ordering := "ordering_example" // string | Which field to use when ordering the results. (optional) q := "q_example" // string | Search (optional) - region := []int32{int32(123)} // []int32 | Region (slug) (optional) - regionN := []int32{int32(123)} // []int32 | Region (slug) (optional) - regionId := []int32{int32(123)} // []int32 | Region (ID) (optional) - regionIdN := []int32{int32(123)} // []int32 | Region (ID) (optional) + region := []string{"Inner_example"} // []string | (optional) + regionN := []string{"Inner_example"} // []string | (optional) + regionId := []string{"Inner_example"} // []string | (optional) + regionIdN := []string{"Inner_example"} // []string | (optional) site := []string{"Inner_example"} // []string | Site (slug) (optional) siteN := []string{"Inner_example"} // []string | Site (slug) (optional) - siteGroup := []int32{int32(123)} // []int32 | Site group (slug) (optional) - siteGroupN := []int32{int32(123)} // []int32 | Site group (slug) (optional) - siteGroupId := []int32{int32(123)} // []int32 | Site group (ID) (optional) - siteGroupIdN := []int32{int32(123)} // []int32 | Site group (ID) (optional) + siteGroup := []string{"Inner_example"} // []string | (optional) + siteGroupN := []string{"Inner_example"} // []string | (optional) + siteGroupId := []string{"Inner_example"} // []string | (optional) + siteGroupIdN := []string{"Inner_example"} // []string | (optional) siteId := []int32{int32(123)} // []int32 | Site (optional) siteIdN := []int32{int32(123)} // []int32 | Site (optional) slug := []string{"Inner_example"} // []string | (optional) @@ -4494,8 +5972,8 @@ Name | Type | Description | Notes **asnIdN** | **[]int32** | ASN (ID) | **contact** | **[]int32** | Contact | **contactN** | **[]int32** | Contact | - **contactGroup** | **[]int32** | Contact group | - **contactGroupN** | **[]int32** | Contact group | + **contactGroup** | **[]string** | | + **contactGroupN** | **[]string** | | **contactRole** | **[]int32** | Contact Role | **contactRoleN** | **[]int32** | Contact Role | **created** | [**[]time.Time**](time.Time.md) | | @@ -4547,16 +6025,16 @@ Name | Type | Description | Notes **offset** | **int32** | The initial index from which to return the results. | **ordering** | **string** | Which field to use when ordering the results. | **q** | **string** | Search | - **region** | **[]int32** | Region (slug) | - **regionN** | **[]int32** | Region (slug) | - **regionId** | **[]int32** | Region (ID) | - **regionIdN** | **[]int32** | Region (ID) | + **region** | **[]string** | | + **regionN** | **[]string** | | + **regionId** | **[]string** | | + **regionIdN** | **[]string** | | **site** | **[]string** | Site (slug) | **siteN** | **[]string** | Site (slug) | - **siteGroup** | **[]int32** | Site group (slug) | - **siteGroupN** | **[]int32** | Site group (slug) | - **siteGroupId** | **[]int32** | Site group (ID) | - **siteGroupIdN** | **[]int32** | Site group (ID) | + **siteGroup** | **[]string** | | + **siteGroupN** | **[]string** | | + **siteGroupId** | **[]string** | | + **siteGroupIdN** | **[]string** | | **siteId** | **[]int32** | Site | **siteIdN** | **[]int32** | Site | **slug** | **[]string** | | diff --git a/docs/CircuitsCircuitGroupAssignmentsListPriorityParameter.md b/docs/CircuitsCircuitGroupAssignmentsListPriorityParameter.md new file mode 100644 index 000000000..b8be447a2 --- /dev/null +++ b/docs/CircuitsCircuitGroupAssignmentsListPriorityParameter.md @@ -0,0 +1,17 @@ +# CircuitsCircuitGroupAssignmentsListPriorityParameter + +## Enum + + +* `INACTIVE` (value: `"inactive"`) + +* `PRIMARY` (value: `"primary"`) + +* `SECONDARY` (value: `"secondary"`) + +* `TERTIARY` (value: `"tertiary"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CircuitsCircuitsListStatusIcParameterInner.md b/docs/CircuitsCircuitsListStatusIcParameterInner.md new file mode 100644 index 000000000..4695fdf8d --- /dev/null +++ b/docs/CircuitsCircuitsListStatusIcParameterInner.md @@ -0,0 +1,21 @@ +# CircuitsCircuitsListStatusIcParameterInner + +## Enum + + +* `ACTIVE` (value: `"active"`) + +* `DECOMMISSIONED` (value: `"decommissioned"`) + +* `DEPROVISIONING` (value: `"deprovisioning"`) + +* `OFFLINE` (value: `"offline"`) + +* `PLANNED` (value: `"planned"`) + +* `PROVISIONING` (value: `"provisioning"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/Cluster.md b/docs/Cluster.md index 53f6ac8f2..68fb7525f 100644 --- a/docs/Cluster.md +++ b/docs/Cluster.md @@ -6,16 +6,28 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Name** | **string** | | +**Type** | [**BriefClusterType**](BriefClusterType.md) | | +**Group** | Pointer to [**NullableBriefClusterGroup**](BriefClusterGroup.md) | | [optional] +**Status** | Pointer to [**ClusterStatus**](ClusterStatus.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenant**](BriefTenant.md) | | [optional] +**Site** | Pointer to [**NullableBriefSite**](BriefSite.md) | | [optional] **Description** | Pointer to **string** | | [optional] -**VirtualmachineCount** | **int64** | | [readonly] +**Comments** | Pointer to **string** | | [optional] +**Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] +**Created** | **NullableTime** | | [readonly] +**LastUpdated** | **NullableTime** | | [readonly] +**DeviceCount** | Pointer to **int64** | | [optional] [readonly] +**VirtualmachineCount** | Pointer to **int64** | | [optional] [readonly] ## Methods ### NewCluster -`func NewCluster(id int32, url string, display string, name string, virtualmachineCount int64, ) *Cluster` +`func NewCluster(id int32, url string, display string, name string, type_ BriefClusterType, created NullableTime, lastUpdated NullableTime, ) *Cluster` NewCluster instantiates a new Cluster object This constructor will assign default values to properties that have it defined, @@ -70,6 +82,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *Cluster) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *Cluster) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *Cluster) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *Cluster) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *Cluster) GetDisplay() string` @@ -110,6 +147,156 @@ and a boolean to check if the value has been set. SetName sets Name field to given value. +### GetType + +`func (o *Cluster) GetType() BriefClusterType` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *Cluster) GetTypeOk() (*BriefClusterType, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *Cluster) SetType(v BriefClusterType)` + +SetType sets Type field to given value. + + +### GetGroup + +`func (o *Cluster) GetGroup() BriefClusterGroup` + +GetGroup returns the Group field if non-nil, zero value otherwise. + +### GetGroupOk + +`func (o *Cluster) GetGroupOk() (*BriefClusterGroup, bool)` + +GetGroupOk returns a tuple with the Group field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGroup + +`func (o *Cluster) SetGroup(v BriefClusterGroup)` + +SetGroup sets Group field to given value. + +### HasGroup + +`func (o *Cluster) HasGroup() bool` + +HasGroup returns a boolean if a field has been set. + +### SetGroupNil + +`func (o *Cluster) SetGroupNil(b bool)` + + SetGroupNil sets the value for Group to be an explicit nil + +### UnsetGroup +`func (o *Cluster) UnsetGroup()` + +UnsetGroup ensures that no value is present for Group, not even an explicit nil +### GetStatus + +`func (o *Cluster) GetStatus() ClusterStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *Cluster) GetStatusOk() (*ClusterStatus, 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 *Cluster) SetStatus(v ClusterStatus)` + +SetStatus sets Status field to given value. + +### HasStatus + +`func (o *Cluster) HasStatus() bool` + +HasStatus returns a boolean if a field has been set. + +### GetTenant + +`func (o *Cluster) GetTenant() BriefTenant` + +GetTenant returns the Tenant field if non-nil, zero value otherwise. + +### GetTenantOk + +`func (o *Cluster) GetTenantOk() (*BriefTenant, 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 *Cluster) SetTenant(v BriefTenant)` + +SetTenant sets Tenant field to given value. + +### HasTenant + +`func (o *Cluster) HasTenant() bool` + +HasTenant returns a boolean if a field has been set. + +### SetTenantNil + +`func (o *Cluster) SetTenantNil(b bool)` + + SetTenantNil sets the value for Tenant to be an explicit nil + +### UnsetTenant +`func (o *Cluster) UnsetTenant()` + +UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +### GetSite + +`func (o *Cluster) GetSite() BriefSite` + +GetSite returns the Site field if non-nil, zero value otherwise. + +### GetSiteOk + +`func (o *Cluster) GetSiteOk() (*BriefSite, bool)` + +GetSiteOk returns a tuple with the Site field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSite + +`func (o *Cluster) SetSite(v BriefSite)` + +SetSite sets Site field to given value. + +### HasSite + +`func (o *Cluster) HasSite() bool` + +HasSite returns a boolean if a field has been set. + +### SetSiteNil + +`func (o *Cluster) SetSiteNil(b bool)` + + SetSiteNil sets the value for Site to be an explicit nil + +### UnsetSite +`func (o *Cluster) UnsetSite()` + +UnsetSite ensures that no value is present for Site, not even an explicit nil ### GetDescription `func (o *Cluster) GetDescription() string` @@ -135,6 +322,166 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetComments + +`func (o *Cluster) GetComments() string` + +GetComments returns the Comments field if non-nil, zero value otherwise. + +### GetCommentsOk + +`func (o *Cluster) GetCommentsOk() (*string, bool)` + +GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComments + +`func (o *Cluster) SetComments(v string)` + +SetComments sets Comments field to given value. + +### HasComments + +`func (o *Cluster) HasComments() bool` + +HasComments returns a boolean if a field has been set. + +### GetTags + +`func (o *Cluster) GetTags() []NestedTag` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *Cluster) GetTagsOk() (*[]NestedTag, 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 *Cluster) SetTags(v []NestedTag)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *Cluster) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *Cluster) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *Cluster) 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 *Cluster) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *Cluster) HasCustomFields() bool` + +HasCustomFields returns a boolean if a field has been set. + +### GetCreated + +`func (o *Cluster) GetCreated() time.Time` + +GetCreated returns the Created field if non-nil, zero value otherwise. + +### GetCreatedOk + +`func (o *Cluster) 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 *Cluster) SetCreated(v time.Time)` + +SetCreated sets Created field to given value. + + +### SetCreatedNil + +`func (o *Cluster) SetCreatedNil(b bool)` + + SetCreatedNil sets the value for Created to be an explicit nil + +### UnsetCreated +`func (o *Cluster) UnsetCreated()` + +UnsetCreated ensures that no value is present for Created, not even an explicit nil +### GetLastUpdated + +`func (o *Cluster) GetLastUpdated() time.Time` + +GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise. + +### GetLastUpdatedOk + +`func (o *Cluster) 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 *Cluster) SetLastUpdated(v time.Time)` + +SetLastUpdated sets LastUpdated field to given value. + + +### SetLastUpdatedNil + +`func (o *Cluster) SetLastUpdatedNil(b bool)` + + SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil + +### UnsetLastUpdated +`func (o *Cluster) UnsetLastUpdated()` + +UnsetLastUpdated ensures that no value is present for LastUpdated, not even an explicit nil +### GetDeviceCount + +`func (o *Cluster) GetDeviceCount() int64` + +GetDeviceCount returns the DeviceCount field if non-nil, zero value otherwise. + +### GetDeviceCountOk + +`func (o *Cluster) GetDeviceCountOk() (*int64, bool)` + +GetDeviceCountOk returns a tuple with the DeviceCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDeviceCount + +`func (o *Cluster) SetDeviceCount(v int64)` + +SetDeviceCount sets DeviceCount field to given value. + +### HasDeviceCount + +`func (o *Cluster) HasDeviceCount() bool` + +HasDeviceCount returns a boolean if a field has been set. + ### GetVirtualmachineCount `func (o *Cluster) GetVirtualmachineCount() int64` @@ -154,6 +501,11 @@ and a boolean to check if the value has been set. SetVirtualmachineCount sets VirtualmachineCount field to given value. +### HasVirtualmachineCount + +`func (o *Cluster) HasVirtualmachineCount() bool` + +HasVirtualmachineCount 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/ClusterGroup.md b/docs/ClusterGroup.md index ce837f38c..2c95aea73 100644 --- a/docs/ClusterGroup.md +++ b/docs/ClusterGroup.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Name** | **string** | | **Slug** | **string** | | @@ -75,6 +76,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *ClusterGroup) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *ClusterGroup) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *ClusterGroup) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *ClusterGroup) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *ClusterGroup) GetDisplay() string` diff --git a/docs/ClusterRequest.md b/docs/ClusterRequest.md index bfe754ce8..15316566b 100644 --- a/docs/ClusterRequest.md +++ b/docs/ClusterRequest.md @@ -5,13 +5,21 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | **string** | | +**Type** | [**BriefClusterTypeRequest**](BriefClusterTypeRequest.md) | | +**Group** | Pointer to [**NullableBriefClusterGroupRequest**](BriefClusterGroupRequest.md) | | [optional] +**Status** | Pointer to [**ClusterStatusValue**](ClusterStatusValue.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] +**Site** | Pointer to [**NullableBriefSiteRequest**](BriefSiteRequest.md) | | [optional] **Description** | Pointer to **string** | | [optional] +**Comments** | Pointer to **string** | | [optional] +**Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] ## Methods ### NewClusterRequest -`func NewClusterRequest(name string, ) *ClusterRequest` +`func NewClusterRequest(name string, type_ BriefClusterTypeRequest, ) *ClusterRequest` NewClusterRequest instantiates a new ClusterRequest object This constructor will assign default values to properties that have it defined, @@ -46,6 +54,156 @@ and a boolean to check if the value has been set. SetName sets Name field to given value. +### GetType + +`func (o *ClusterRequest) GetType() BriefClusterTypeRequest` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *ClusterRequest) GetTypeOk() (*BriefClusterTypeRequest, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *ClusterRequest) SetType(v BriefClusterTypeRequest)` + +SetType sets Type field to given value. + + +### GetGroup + +`func (o *ClusterRequest) GetGroup() BriefClusterGroupRequest` + +GetGroup returns the Group field if non-nil, zero value otherwise. + +### GetGroupOk + +`func (o *ClusterRequest) GetGroupOk() (*BriefClusterGroupRequest, bool)` + +GetGroupOk returns a tuple with the Group field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGroup + +`func (o *ClusterRequest) SetGroup(v BriefClusterGroupRequest)` + +SetGroup sets Group field to given value. + +### HasGroup + +`func (o *ClusterRequest) HasGroup() bool` + +HasGroup returns a boolean if a field has been set. + +### SetGroupNil + +`func (o *ClusterRequest) SetGroupNil(b bool)` + + SetGroupNil sets the value for Group to be an explicit nil + +### UnsetGroup +`func (o *ClusterRequest) UnsetGroup()` + +UnsetGroup ensures that no value is present for Group, not even an explicit nil +### GetStatus + +`func (o *ClusterRequest) GetStatus() ClusterStatusValue` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *ClusterRequest) GetStatusOk() (*ClusterStatusValue, 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 *ClusterRequest) SetStatus(v ClusterStatusValue)` + +SetStatus sets Status field to given value. + +### HasStatus + +`func (o *ClusterRequest) HasStatus() bool` + +HasStatus returns a boolean if a field has been set. + +### GetTenant + +`func (o *ClusterRequest) GetTenant() BriefTenantRequest` + +GetTenant returns the Tenant field if non-nil, zero value otherwise. + +### GetTenantOk + +`func (o *ClusterRequest) GetTenantOk() (*BriefTenantRequest, 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 *ClusterRequest) SetTenant(v BriefTenantRequest)` + +SetTenant sets Tenant field to given value. + +### HasTenant + +`func (o *ClusterRequest) HasTenant() bool` + +HasTenant returns a boolean if a field has been set. + +### SetTenantNil + +`func (o *ClusterRequest) SetTenantNil(b bool)` + + SetTenantNil sets the value for Tenant to be an explicit nil + +### UnsetTenant +`func (o *ClusterRequest) UnsetTenant()` + +UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +### GetSite + +`func (o *ClusterRequest) GetSite() BriefSiteRequest` + +GetSite returns the Site field if non-nil, zero value otherwise. + +### GetSiteOk + +`func (o *ClusterRequest) GetSiteOk() (*BriefSiteRequest, bool)` + +GetSiteOk returns a tuple with the Site field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSite + +`func (o *ClusterRequest) SetSite(v BriefSiteRequest)` + +SetSite sets Site field to given value. + +### HasSite + +`func (o *ClusterRequest) HasSite() bool` + +HasSite returns a boolean if a field has been set. + +### SetSiteNil + +`func (o *ClusterRequest) SetSiteNil(b bool)` + + SetSiteNil sets the value for Site to be an explicit nil + +### UnsetSite +`func (o *ClusterRequest) UnsetSite()` + +UnsetSite ensures that no value is present for Site, not even an explicit nil ### GetDescription `func (o *ClusterRequest) GetDescription() string` @@ -71,6 +229,81 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetComments + +`func (o *ClusterRequest) GetComments() string` + +GetComments returns the Comments field if non-nil, zero value otherwise. + +### GetCommentsOk + +`func (o *ClusterRequest) GetCommentsOk() (*string, bool)` + +GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComments + +`func (o *ClusterRequest) SetComments(v string)` + +SetComments sets Comments field to given value. + +### HasComments + +`func (o *ClusterRequest) HasComments() bool` + +HasComments returns a boolean if a field has been set. + +### GetTags + +`func (o *ClusterRequest) GetTags() []NestedTagRequest` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *ClusterRequest) GetTagsOk() (*[]NestedTagRequest, 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 *ClusterRequest) SetTags(v []NestedTagRequest)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *ClusterRequest) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *ClusterRequest) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *ClusterRequest) 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 *ClusterRequest) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *ClusterRequest) 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/ClusterStatus.md b/docs/ClusterStatus.md new file mode 100644 index 000000000..0753edae9 --- /dev/null +++ b/docs/ClusterStatus.md @@ -0,0 +1,82 @@ +# ClusterStatus + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Value** | Pointer to [**ClusterStatusValue**](ClusterStatusValue.md) | | [optional] +**Label** | Pointer to [**ClusterStatusLabel**](ClusterStatusLabel.md) | | [optional] + +## Methods + +### NewClusterStatus + +`func NewClusterStatus() *ClusterStatus` + +NewClusterStatus instantiates a new ClusterStatus object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewClusterStatusWithDefaults + +`func NewClusterStatusWithDefaults() *ClusterStatus` + +NewClusterStatusWithDefaults instantiates a new ClusterStatus object +This 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 *ClusterStatus) GetValue() ClusterStatusValue` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *ClusterStatus) GetValueOk() (*ClusterStatusValue, 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 *ClusterStatus) SetValue(v ClusterStatusValue)` + +SetValue sets Value field to given value. + +### HasValue + +`func (o *ClusterStatus) HasValue() bool` + +HasValue returns a boolean if a field has been set. + +### GetLabel + +`func (o *ClusterStatus) GetLabel() ClusterStatusLabel` + +GetLabel returns the Label field if non-nil, zero value otherwise. + +### GetLabelOk + +`func (o *ClusterStatus) GetLabelOk() (*ClusterStatusLabel, 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 *ClusterStatus) SetLabel(v ClusterStatusLabel)` + +SetLabel sets Label field to given value. + +### HasLabel + +`func (o *ClusterStatus) 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/ClusterStatusLabel.md b/docs/ClusterStatusLabel.md new file mode 100644 index 000000000..7a03fab9a --- /dev/null +++ b/docs/ClusterStatusLabel.md @@ -0,0 +1,19 @@ +# ClusterStatusLabel + +## Enum + + +* `PLANNED` (value: `"Planned"`) + +* `STAGING` (value: `"Staging"`) + +* `ACTIVE` (value: `"Active"`) + +* `DECOMMISSIONING` (value: `"Decommissioning"`) + +* `OFFLINE` (value: `"Offline"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ClusterStatusValue.md b/docs/ClusterStatusValue.md new file mode 100644 index 000000000..f68d48cac --- /dev/null +++ b/docs/ClusterStatusValue.md @@ -0,0 +1,19 @@ +# ClusterStatusValue + +## Enum + + +* `PLANNED` (value: `"planned"`) + +* `STAGING` (value: `"staging"`) + +* `ACTIVE` (value: `"active"`) + +* `DECOMMISSIONING` (value: `"decommissioning"`) + +* `OFFLINE` (value: `"offline"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ClusterType.md b/docs/ClusterType.md index c759403ed..34c9893ab 100644 --- a/docs/ClusterType.md +++ b/docs/ClusterType.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Name** | **string** | | **Slug** | **string** | | @@ -75,6 +76,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *ClusterType) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *ClusterType) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *ClusterType) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *ClusterType) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *ClusterType) GetDisplay() string` diff --git a/docs/ConfigContext.md b/docs/ConfigContext.md index 3d27ad7ed..7dae89962 100644 --- a/docs/ConfigContext.md +++ b/docs/ConfigContext.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Name** | **string** | | **Weight** | Pointer to **int32** | | [optional] @@ -24,9 +25,9 @@ Name | Type | Description | Notes **TenantGroups** | Pointer to [**[]TenantGroup**](TenantGroup.md) | | [optional] **Tenants** | Pointer to [**[]Tenant**](Tenant.md) | | [optional] **Tags** | Pointer to **[]string** | | [optional] -**DataSource** | Pointer to [**DataSource**](DataSource.md) | | [optional] +**DataSource** | Pointer to [**BriefDataSource**](BriefDataSource.md) | | [optional] **DataPath** | **string** | Path to remote file (relative to data source root) | [readonly] -**DataFile** | [**DataFile**](DataFile.md) | | [readonly] +**DataFile** | [**BriefDataFile**](BriefDataFile.md) | | [readonly] **DataSynced** | **NullableTime** | | [readonly] **Data** | **interface{}** | | **Created** | **NullableTime** | | [readonly] @@ -36,7 +37,7 @@ Name | Type | Description | Notes ### NewConfigContext -`func NewConfigContext(id int32, url string, display string, name string, dataPath string, dataFile DataFile, dataSynced NullableTime, data interface{}, created NullableTime, lastUpdated NullableTime, ) *ConfigContext` +`func NewConfigContext(id int32, url string, display string, name string, dataPath string, dataFile BriefDataFile, dataSynced NullableTime, data interface{}, created NullableTime, lastUpdated NullableTime, ) *ConfigContext` NewConfigContext instantiates a new ConfigContext object This constructor will assign default values to properties that have it defined, @@ -91,6 +92,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *ConfigContext) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *ConfigContext) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *ConfigContext) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *ConfigContext) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *ConfigContext) GetDisplay() string` @@ -533,20 +559,20 @@ HasTags returns a boolean if a field has been set. ### GetDataSource -`func (o *ConfigContext) GetDataSource() DataSource` +`func (o *ConfigContext) GetDataSource() BriefDataSource` GetDataSource returns the DataSource field if non-nil, zero value otherwise. ### GetDataSourceOk -`func (o *ConfigContext) GetDataSourceOk() (*DataSource, bool)` +`func (o *ConfigContext) GetDataSourceOk() (*BriefDataSource, bool)` GetDataSourceOk returns a tuple with the DataSource field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDataSource -`func (o *ConfigContext) SetDataSource(v DataSource)` +`func (o *ConfigContext) SetDataSource(v BriefDataSource)` SetDataSource sets DataSource field to given value. @@ -578,20 +604,20 @@ SetDataPath sets DataPath field to given value. ### GetDataFile -`func (o *ConfigContext) GetDataFile() DataFile` +`func (o *ConfigContext) GetDataFile() BriefDataFile` GetDataFile returns the DataFile field if non-nil, zero value otherwise. ### GetDataFileOk -`func (o *ConfigContext) GetDataFileOk() (*DataFile, bool)` +`func (o *ConfigContext) GetDataFileOk() (*BriefDataFile, bool)` GetDataFileOk returns a tuple with the DataFile field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDataFile -`func (o *ConfigContext) SetDataFile(v DataFile)` +`func (o *ConfigContext) SetDataFile(v BriefDataFile)` SetDataFile sets DataFile field to given value. diff --git a/docs/ConfigContextRequest.md b/docs/ConfigContextRequest.md index 298074ebf..a42d2482a 100644 --- a/docs/ConfigContextRequest.md +++ b/docs/ConfigContextRequest.md @@ -21,7 +21,7 @@ Name | Type | Description | Notes **TenantGroups** | Pointer to **[]int32** | | [optional] **Tenants** | Pointer to **[]int32** | | [optional] **Tags** | Pointer to **[]string** | | [optional] -**DataSource** | Pointer to [**DataSourceRequest**](DataSourceRequest.md) | | [optional] +**DataSource** | Pointer to [**BriefDataSourceRequest**](BriefDataSourceRequest.md) | | [optional] **Data** | **interface{}** | | ## Methods @@ -465,20 +465,20 @@ HasTags returns a boolean if a field has been set. ### GetDataSource -`func (o *ConfigContextRequest) GetDataSource() DataSourceRequest` +`func (o *ConfigContextRequest) GetDataSource() BriefDataSourceRequest` GetDataSource returns the DataSource field if non-nil, zero value otherwise. ### GetDataSourceOk -`func (o *ConfigContextRequest) GetDataSourceOk() (*DataSourceRequest, bool)` +`func (o *ConfigContextRequest) GetDataSourceOk() (*BriefDataSourceRequest, bool)` GetDataSourceOk returns a tuple with the DataSource field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDataSource -`func (o *ConfigContextRequest) SetDataSource(v DataSourceRequest)` +`func (o *ConfigContextRequest) SetDataSource(v BriefDataSourceRequest)` SetDataSource sets DataSource field to given value. diff --git a/docs/ConfigTemplate.md b/docs/ConfigTemplate.md index e87b65990..dc3e4c6ce 100644 --- a/docs/ConfigTemplate.md +++ b/docs/ConfigTemplate.md @@ -6,15 +6,25 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Name** | **string** | | **Description** | Pointer to **string** | | [optional] +**EnvironmentParams** | Pointer to **interface{}** | Any <a href=\"https://jinja.palletsprojects.com/en/3.1.x/api/#jinja2.Environment\">additional parameters</a> to pass when constructing the Jinja2 environment. | [optional] +**TemplateCode** | **string** | Jinja2 template code. | +**DataSource** | Pointer to [**BriefDataSource**](BriefDataSource.md) | | [optional] +**DataPath** | **string** | Path to remote file (relative to data source root) | [readonly] +**DataFile** | Pointer to [**BriefDataFile**](BriefDataFile.md) | | [optional] +**DataSynced** | **NullableTime** | | [readonly] +**Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] +**Created** | **NullableTime** | | [readonly] +**LastUpdated** | **NullableTime** | | [readonly] ## Methods ### NewConfigTemplate -`func NewConfigTemplate(id int32, url string, display string, name string, ) *ConfigTemplate` +`func NewConfigTemplate(id int32, url string, display string, name string, templateCode string, dataPath string, dataSynced NullableTime, created NullableTime, lastUpdated NullableTime, ) *ConfigTemplate` NewConfigTemplate instantiates a new ConfigTemplate object This constructor will assign default values to properties that have it defined, @@ -69,6 +79,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *ConfigTemplate) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *ConfigTemplate) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *ConfigTemplate) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *ConfigTemplate) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *ConfigTemplate) GetDisplay() string` @@ -134,6 +169,246 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetEnvironmentParams + +`func (o *ConfigTemplate) GetEnvironmentParams() interface{}` + +GetEnvironmentParams returns the EnvironmentParams field if non-nil, zero value otherwise. + +### GetEnvironmentParamsOk + +`func (o *ConfigTemplate) GetEnvironmentParamsOk() (*interface{}, bool)` + +GetEnvironmentParamsOk returns a tuple with the EnvironmentParams field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEnvironmentParams + +`func (o *ConfigTemplate) SetEnvironmentParams(v interface{})` + +SetEnvironmentParams sets EnvironmentParams field to given value. + +### HasEnvironmentParams + +`func (o *ConfigTemplate) HasEnvironmentParams() bool` + +HasEnvironmentParams returns a boolean if a field has been set. + +### SetEnvironmentParamsNil + +`func (o *ConfigTemplate) SetEnvironmentParamsNil(b bool)` + + SetEnvironmentParamsNil sets the value for EnvironmentParams to be an explicit nil + +### UnsetEnvironmentParams +`func (o *ConfigTemplate) UnsetEnvironmentParams()` + +UnsetEnvironmentParams ensures that no value is present for EnvironmentParams, not even an explicit nil +### GetTemplateCode + +`func (o *ConfigTemplate) GetTemplateCode() string` + +GetTemplateCode returns the TemplateCode field if non-nil, zero value otherwise. + +### GetTemplateCodeOk + +`func (o *ConfigTemplate) 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 *ConfigTemplate) SetTemplateCode(v string)` + +SetTemplateCode sets TemplateCode field to given value. + + +### GetDataSource + +`func (o *ConfigTemplate) GetDataSource() BriefDataSource` + +GetDataSource returns the DataSource field if non-nil, zero value otherwise. + +### GetDataSourceOk + +`func (o *ConfigTemplate) GetDataSourceOk() (*BriefDataSource, bool)` + +GetDataSourceOk returns a tuple with the DataSource field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDataSource + +`func (o *ConfigTemplate) SetDataSource(v BriefDataSource)` + +SetDataSource sets DataSource field to given value. + +### HasDataSource + +`func (o *ConfigTemplate) HasDataSource() bool` + +HasDataSource returns a boolean if a field has been set. + +### GetDataPath + +`func (o *ConfigTemplate) GetDataPath() string` + +GetDataPath returns the DataPath field if non-nil, zero value otherwise. + +### GetDataPathOk + +`func (o *ConfigTemplate) GetDataPathOk() (*string, bool)` + +GetDataPathOk returns a tuple with the DataPath field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDataPath + +`func (o *ConfigTemplate) SetDataPath(v string)` + +SetDataPath sets DataPath field to given value. + + +### GetDataFile + +`func (o *ConfigTemplate) GetDataFile() BriefDataFile` + +GetDataFile returns the DataFile field if non-nil, zero value otherwise. + +### GetDataFileOk + +`func (o *ConfigTemplate) GetDataFileOk() (*BriefDataFile, bool)` + +GetDataFileOk returns a tuple with the DataFile field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDataFile + +`func (o *ConfigTemplate) SetDataFile(v BriefDataFile)` + +SetDataFile sets DataFile field to given value. + +### HasDataFile + +`func (o *ConfigTemplate) HasDataFile() bool` + +HasDataFile returns a boolean if a field has been set. + +### GetDataSynced + +`func (o *ConfigTemplate) GetDataSynced() time.Time` + +GetDataSynced returns the DataSynced field if non-nil, zero value otherwise. + +### GetDataSyncedOk + +`func (o *ConfigTemplate) GetDataSyncedOk() (*time.Time, bool)` + +GetDataSyncedOk returns a tuple with the DataSynced field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDataSynced + +`func (o *ConfigTemplate) SetDataSynced(v time.Time)` + +SetDataSynced sets DataSynced field to given value. + + +### SetDataSyncedNil + +`func (o *ConfigTemplate) SetDataSyncedNil(b bool)` + + SetDataSyncedNil sets the value for DataSynced to be an explicit nil + +### UnsetDataSynced +`func (o *ConfigTemplate) UnsetDataSynced()` + +UnsetDataSynced ensures that no value is present for DataSynced, not even an explicit nil +### GetTags + +`func (o *ConfigTemplate) GetTags() []NestedTag` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *ConfigTemplate) GetTagsOk() (*[]NestedTag, 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 *ConfigTemplate) SetTags(v []NestedTag)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *ConfigTemplate) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCreated + +`func (o *ConfigTemplate) GetCreated() time.Time` + +GetCreated returns the Created field if non-nil, zero value otherwise. + +### GetCreatedOk + +`func (o *ConfigTemplate) 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 *ConfigTemplate) SetCreated(v time.Time)` + +SetCreated sets Created field to given value. + + +### SetCreatedNil + +`func (o *ConfigTemplate) SetCreatedNil(b bool)` + + SetCreatedNil sets the value for Created to be an explicit nil + +### UnsetCreated +`func (o *ConfigTemplate) UnsetCreated()` + +UnsetCreated ensures that no value is present for Created, not even an explicit nil +### GetLastUpdated + +`func (o *ConfigTemplate) GetLastUpdated() time.Time` + +GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise. + +### GetLastUpdatedOk + +`func (o *ConfigTemplate) 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 *ConfigTemplate) SetLastUpdated(v time.Time)` + +SetLastUpdated sets LastUpdated field to given value. + + +### SetLastUpdatedNil + +`func (o *ConfigTemplate) SetLastUpdatedNil(b bool)` + + SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil + +### UnsetLastUpdated +`func (o *ConfigTemplate) UnsetLastUpdated()` + +UnsetLastUpdated ensures that no value is present for LastUpdated, 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/ConfigTemplateRequest.md b/docs/ConfigTemplateRequest.md index 2c1540c0d..6865ade79 100644 --- a/docs/ConfigTemplateRequest.md +++ b/docs/ConfigTemplateRequest.md @@ -6,12 +6,16 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | **string** | | **Description** | Pointer to **string** | | [optional] +**EnvironmentParams** | Pointer to **interface{}** | Any <a href=\"https://jinja.palletsprojects.com/en/3.1.x/api/#jinja2.Environment\">additional parameters</a> to pass when constructing the Jinja2 environment. | [optional] +**TemplateCode** | **string** | Jinja2 template code. | +**DataSource** | Pointer to [**BriefDataSourceRequest**](BriefDataSourceRequest.md) | | [optional] +**Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] ## Methods ### NewConfigTemplateRequest -`func NewConfigTemplateRequest(name string, ) *ConfigTemplateRequest` +`func NewConfigTemplateRequest(name string, templateCode string, ) *ConfigTemplateRequest` NewConfigTemplateRequest instantiates a new ConfigTemplateRequest object This constructor will assign default values to properties that have it defined, @@ -71,6 +75,111 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetEnvironmentParams + +`func (o *ConfigTemplateRequest) GetEnvironmentParams() interface{}` + +GetEnvironmentParams returns the EnvironmentParams field if non-nil, zero value otherwise. + +### GetEnvironmentParamsOk + +`func (o *ConfigTemplateRequest) GetEnvironmentParamsOk() (*interface{}, bool)` + +GetEnvironmentParamsOk returns a tuple with the EnvironmentParams field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEnvironmentParams + +`func (o *ConfigTemplateRequest) SetEnvironmentParams(v interface{})` + +SetEnvironmentParams sets EnvironmentParams field to given value. + +### HasEnvironmentParams + +`func (o *ConfigTemplateRequest) HasEnvironmentParams() bool` + +HasEnvironmentParams returns a boolean if a field has been set. + +### SetEnvironmentParamsNil + +`func (o *ConfigTemplateRequest) SetEnvironmentParamsNil(b bool)` + + SetEnvironmentParamsNil sets the value for EnvironmentParams to be an explicit nil + +### UnsetEnvironmentParams +`func (o *ConfigTemplateRequest) UnsetEnvironmentParams()` + +UnsetEnvironmentParams ensures that no value is present for EnvironmentParams, not even an explicit nil +### GetTemplateCode + +`func (o *ConfigTemplateRequest) GetTemplateCode() string` + +GetTemplateCode returns the TemplateCode field if non-nil, zero value otherwise. + +### GetTemplateCodeOk + +`func (o *ConfigTemplateRequest) 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 *ConfigTemplateRequest) SetTemplateCode(v string)` + +SetTemplateCode sets TemplateCode field to given value. + + +### GetDataSource + +`func (o *ConfigTemplateRequest) GetDataSource() BriefDataSourceRequest` + +GetDataSource returns the DataSource field if non-nil, zero value otherwise. + +### GetDataSourceOk + +`func (o *ConfigTemplateRequest) GetDataSourceOk() (*BriefDataSourceRequest, bool)` + +GetDataSourceOk returns a tuple with the DataSource field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDataSource + +`func (o *ConfigTemplateRequest) SetDataSource(v BriefDataSourceRequest)` + +SetDataSource sets DataSource field to given value. + +### HasDataSource + +`func (o *ConfigTemplateRequest) HasDataSource() bool` + +HasDataSource returns a boolean if a field has been set. + +### GetTags + +`func (o *ConfigTemplateRequest) GetTags() []NestedTagRequest` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *ConfigTemplateRequest) GetTagsOk() (*[]NestedTagRequest, 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 *ConfigTemplateRequest) SetTags(v []NestedTagRequest)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *ConfigTemplateRequest) 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/ConsolePort.md b/docs/ConsolePort.md index 165ccf778..2a603cfc3 100644 --- a/docs/ConsolePort.md +++ b/docs/ConsolePort.md @@ -6,21 +6,22 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] -**Device** | [**Device**](Device.md) | | -**Module** | Pointer to [**NullableModule**](Module.md) | | [optional] +**Device** | [**BriefDevice**](BriefDevice.md) | | +**Module** | Pointer to [**NullableBriefModule**](BriefModule.md) | | [optional] **Name** | **string** | | **Label** | Pointer to **string** | Physical label | [optional] **Type** | Pointer to [**ConsolePortType**](ConsolePortType.md) | | [optional] **Speed** | Pointer to [**NullableConsolePortSpeed**](ConsolePortSpeed.md) | | [optional] **Description** | Pointer to **string** | | [optional] **MarkConnected** | Pointer to **bool** | Treat as if a cable is connected | [optional] -**Cable** | [**NullableCable**](Cable.md) | | [readonly] +**Cable** | [**NullableBriefCable**](BriefCable.md) | | [readonly] **CableEnd** | **string** | | [readonly] **LinkPeers** | **[]interface{}** | | [readonly] -**LinkPeersType** | **string** | Return the type of the peer link terminations, or None. | [readonly] +**LinkPeersType** | **NullableString** | Return the type of the peer link terminations, or None. | [readonly] **ConnectedEndpoints** | **[]interface{}** | | [readonly] -**ConnectedEndpointsType** | **string** | | [readonly] +**ConnectedEndpointsType** | **NullableString** | | [readonly] **ConnectedEndpointsReachable** | **bool** | | [readonly] **Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] @@ -32,7 +33,7 @@ Name | Type | Description | Notes ### NewConsolePort -`func NewConsolePort(id int32, url string, display string, device Device, name string, cable NullableCable, cableEnd string, linkPeers []interface{}, linkPeersType string, connectedEndpoints []interface{}, connectedEndpointsType string, connectedEndpointsReachable bool, created NullableTime, lastUpdated NullableTime, occupied bool, ) *ConsolePort` +`func NewConsolePort(id int32, url string, display string, device BriefDevice, name string, cable NullableBriefCable, cableEnd string, linkPeers []interface{}, linkPeersType NullableString, connectedEndpoints []interface{}, connectedEndpointsType NullableString, connectedEndpointsReachable bool, created NullableTime, lastUpdated NullableTime, occupied bool, ) *ConsolePort` NewConsolePort instantiates a new ConsolePort object This constructor will assign default values to properties that have it defined, @@ -87,6 +88,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *ConsolePort) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *ConsolePort) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *ConsolePort) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *ConsolePort) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *ConsolePort) GetDisplay() string` @@ -109,40 +135,40 @@ SetDisplay sets Display field to given value. ### GetDevice -`func (o *ConsolePort) GetDevice() Device` +`func (o *ConsolePort) GetDevice() BriefDevice` GetDevice returns the Device field if non-nil, zero value otherwise. ### GetDeviceOk -`func (o *ConsolePort) GetDeviceOk() (*Device, bool)` +`func (o *ConsolePort) GetDeviceOk() (*BriefDevice, 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 *ConsolePort) SetDevice(v Device)` +`func (o *ConsolePort) SetDevice(v BriefDevice)` SetDevice sets Device field to given value. ### GetModule -`func (o *ConsolePort) GetModule() Module` +`func (o *ConsolePort) GetModule() BriefModule` GetModule returns the Module field if non-nil, zero value otherwise. ### GetModuleOk -`func (o *ConsolePort) GetModuleOk() (*Module, bool)` +`func (o *ConsolePort) GetModuleOk() (*BriefModule, bool)` GetModuleOk returns a tuple with the Module field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetModule -`func (o *ConsolePort) SetModule(v Module)` +`func (o *ConsolePort) SetModule(v BriefModule)` SetModule sets Module field to given value. @@ -319,20 +345,20 @@ HasMarkConnected returns a boolean if a field has been set. ### GetCable -`func (o *ConsolePort) GetCable() Cable` +`func (o *ConsolePort) GetCable() BriefCable` GetCable returns the Cable field if non-nil, zero value otherwise. ### GetCableOk -`func (o *ConsolePort) GetCableOk() (*Cable, bool)` +`func (o *ConsolePort) GetCableOk() (*BriefCable, bool)` GetCableOk returns a tuple with the Cable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCable -`func (o *ConsolePort) SetCable(v Cable)` +`func (o *ConsolePort) SetCable(v BriefCable)` SetCable sets Cable field to given value. @@ -407,6 +433,16 @@ and a boolean to check if the value has been set. SetLinkPeersType sets LinkPeersType field to given value. +### SetLinkPeersTypeNil + +`func (o *ConsolePort) SetLinkPeersTypeNil(b bool)` + + SetLinkPeersTypeNil sets the value for LinkPeersType to be an explicit nil + +### UnsetLinkPeersType +`func (o *ConsolePort) UnsetLinkPeersType()` + +UnsetLinkPeersType ensures that no value is present for LinkPeersType, not even an explicit nil ### GetConnectedEndpoints `func (o *ConsolePort) GetConnectedEndpoints() []interface{}` @@ -427,6 +463,16 @@ and a boolean to check if the value has been set. SetConnectedEndpoints sets ConnectedEndpoints field to given value. +### SetConnectedEndpointsNil + +`func (o *ConsolePort) SetConnectedEndpointsNil(b bool)` + + SetConnectedEndpointsNil sets the value for ConnectedEndpoints to be an explicit nil + +### UnsetConnectedEndpoints +`func (o *ConsolePort) UnsetConnectedEndpoints()` + +UnsetConnectedEndpoints ensures that no value is present for ConnectedEndpoints, not even an explicit nil ### GetConnectedEndpointsType `func (o *ConsolePort) GetConnectedEndpointsType() string` @@ -447,6 +493,16 @@ and a boolean to check if the value has been set. SetConnectedEndpointsType sets ConnectedEndpointsType field to given value. +### SetConnectedEndpointsTypeNil + +`func (o *ConsolePort) SetConnectedEndpointsTypeNil(b bool)` + + SetConnectedEndpointsTypeNil sets the value for ConnectedEndpointsType to be an explicit nil + +### UnsetConnectedEndpointsType +`func (o *ConsolePort) UnsetConnectedEndpointsType()` + +UnsetConnectedEndpointsType ensures that no value is present for ConnectedEndpointsType, not even an explicit nil ### GetConnectedEndpointsReachable `func (o *ConsolePort) GetConnectedEndpointsReachable() bool` diff --git a/docs/ConsolePortRequest.md b/docs/ConsolePortRequest.md index 3c9fe8176..4fdb86bae 100644 --- a/docs/ConsolePortRequest.md +++ b/docs/ConsolePortRequest.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Device** | [**DeviceRequest**](DeviceRequest.md) | | -**Module** | Pointer to [**NullableModuleRequest**](ModuleRequest.md) | | [optional] +**Device** | [**BriefDeviceRequest**](BriefDeviceRequest.md) | | +**Module** | Pointer to [**NullableBriefModuleRequest**](BriefModuleRequest.md) | | [optional] **Name** | **string** | | **Label** | Pointer to **string** | Physical label | [optional] **Type** | Pointer to [**ConsolePortTypeValue**](ConsolePortTypeValue.md) | | [optional] @@ -19,7 +19,7 @@ Name | Type | Description | Notes ### NewConsolePortRequest -`func NewConsolePortRequest(device DeviceRequest, name string, ) *ConsolePortRequest` +`func NewConsolePortRequest(device BriefDeviceRequest, name string, ) *ConsolePortRequest` NewConsolePortRequest instantiates a new ConsolePortRequest object This constructor will assign default values to properties that have it defined, @@ -36,40 +36,40 @@ but it doesn't guarantee that properties required by API are set ### GetDevice -`func (o *ConsolePortRequest) GetDevice() DeviceRequest` +`func (o *ConsolePortRequest) GetDevice() BriefDeviceRequest` GetDevice returns the Device field if non-nil, zero value otherwise. ### GetDeviceOk -`func (o *ConsolePortRequest) GetDeviceOk() (*DeviceRequest, bool)` +`func (o *ConsolePortRequest) GetDeviceOk() (*BriefDeviceRequest, 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 *ConsolePortRequest) SetDevice(v DeviceRequest)` +`func (o *ConsolePortRequest) SetDevice(v BriefDeviceRequest)` SetDevice sets Device field to given value. ### GetModule -`func (o *ConsolePortRequest) GetModule() ModuleRequest` +`func (o *ConsolePortRequest) GetModule() BriefModuleRequest` GetModule returns the Module field if non-nil, zero value otherwise. ### GetModuleOk -`func (o *ConsolePortRequest) GetModuleOk() (*ModuleRequest, bool)` +`func (o *ConsolePortRequest) GetModuleOk() (*BriefModuleRequest, bool)` GetModuleOk returns a tuple with the Module field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetModule -`func (o *ConsolePortRequest) SetModule(v ModuleRequest)` +`func (o *ConsolePortRequest) SetModule(v BriefModuleRequest)` SetModule sets Module field to given value. diff --git a/docs/ConsolePortTemplate.md b/docs/ConsolePortTemplate.md index d37560677..00f005d5e 100644 --- a/docs/ConsolePortTemplate.md +++ b/docs/ConsolePortTemplate.md @@ -7,8 +7,8 @@ Name | Type | Description | Notes **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] **Display** | **string** | | [readonly] -**DeviceType** | Pointer to [**NullableDeviceType**](DeviceType.md) | | [optional] -**ModuleType** | Pointer to [**NullableModuleType**](ModuleType.md) | | [optional] +**DeviceType** | Pointer to [**NullableBriefDeviceType**](BriefDeviceType.md) | | [optional] +**ModuleType** | Pointer to [**NullableBriefModuleType**](BriefModuleType.md) | | [optional] **Name** | **string** | {module} is accepted as a substitution for the module bay position when attached to a module type. | **Label** | Pointer to **string** | Physical label | [optional] **Type** | Pointer to [**ConsolePortType**](ConsolePortType.md) | | [optional] @@ -97,20 +97,20 @@ SetDisplay sets Display field to given value. ### GetDeviceType -`func (o *ConsolePortTemplate) GetDeviceType() DeviceType` +`func (o *ConsolePortTemplate) GetDeviceType() BriefDeviceType` GetDeviceType returns the DeviceType field if non-nil, zero value otherwise. ### GetDeviceTypeOk -`func (o *ConsolePortTemplate) GetDeviceTypeOk() (*DeviceType, bool)` +`func (o *ConsolePortTemplate) GetDeviceTypeOk() (*BriefDeviceType, bool)` GetDeviceTypeOk returns a tuple with the DeviceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDeviceType -`func (o *ConsolePortTemplate) SetDeviceType(v DeviceType)` +`func (o *ConsolePortTemplate) SetDeviceType(v BriefDeviceType)` SetDeviceType sets DeviceType field to given value. @@ -132,20 +132,20 @@ HasDeviceType returns a boolean if a field has been set. UnsetDeviceType ensures that no value is present for DeviceType, not even an explicit nil ### GetModuleType -`func (o *ConsolePortTemplate) GetModuleType() ModuleType` +`func (o *ConsolePortTemplate) GetModuleType() BriefModuleType` GetModuleType returns the ModuleType field if non-nil, zero value otherwise. ### GetModuleTypeOk -`func (o *ConsolePortTemplate) GetModuleTypeOk() (*ModuleType, bool)` +`func (o *ConsolePortTemplate) GetModuleTypeOk() (*BriefModuleType, bool)` GetModuleTypeOk returns a tuple with the ModuleType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetModuleType -`func (o *ConsolePortTemplate) SetModuleType(v ModuleType)` +`func (o *ConsolePortTemplate) SetModuleType(v BriefModuleType)` SetModuleType sets ModuleType field to given value. diff --git a/docs/ConsolePortTemplateRequest.md b/docs/ConsolePortTemplateRequest.md index bdd1627ea..33af6cae0 100644 --- a/docs/ConsolePortTemplateRequest.md +++ b/docs/ConsolePortTemplateRequest.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**DeviceType** | Pointer to [**NullableDeviceTypeRequest**](DeviceTypeRequest.md) | | [optional] -**ModuleType** | Pointer to [**NullableModuleTypeRequest**](ModuleTypeRequest.md) | | [optional] +**DeviceType** | Pointer to [**NullableBriefDeviceTypeRequest**](BriefDeviceTypeRequest.md) | | [optional] +**ModuleType** | Pointer to [**NullableBriefModuleTypeRequest**](BriefModuleTypeRequest.md) | | [optional] **Name** | **string** | {module} is accepted as a substitution for the module bay position when attached to a module type. | **Label** | Pointer to **string** | Physical label | [optional] **Type** | Pointer to [**ConsolePortTypeValue**](ConsolePortTypeValue.md) | | [optional] @@ -32,20 +32,20 @@ but it doesn't guarantee that properties required by API are set ### GetDeviceType -`func (o *ConsolePortTemplateRequest) GetDeviceType() DeviceTypeRequest` +`func (o *ConsolePortTemplateRequest) GetDeviceType() BriefDeviceTypeRequest` GetDeviceType returns the DeviceType field if non-nil, zero value otherwise. ### GetDeviceTypeOk -`func (o *ConsolePortTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool)` +`func (o *ConsolePortTemplateRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool)` GetDeviceTypeOk returns a tuple with the DeviceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDeviceType -`func (o *ConsolePortTemplateRequest) SetDeviceType(v DeviceTypeRequest)` +`func (o *ConsolePortTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest)` SetDeviceType sets DeviceType field to given value. @@ -67,20 +67,20 @@ HasDeviceType returns a boolean if a field has been set. UnsetDeviceType ensures that no value is present for DeviceType, not even an explicit nil ### GetModuleType -`func (o *ConsolePortTemplateRequest) GetModuleType() ModuleTypeRequest` +`func (o *ConsolePortTemplateRequest) GetModuleType() BriefModuleTypeRequest` GetModuleType returns the ModuleType field if non-nil, zero value otherwise. ### GetModuleTypeOk -`func (o *ConsolePortTemplateRequest) GetModuleTypeOk() (*ModuleTypeRequest, bool)` +`func (o *ConsolePortTemplateRequest) GetModuleTypeOk() (*BriefModuleTypeRequest, bool)` GetModuleTypeOk returns a tuple with the ModuleType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetModuleType -`func (o *ConsolePortTemplateRequest) SetModuleType(v ModuleTypeRequest)` +`func (o *ConsolePortTemplateRequest) SetModuleType(v BriefModuleTypeRequest)` SetModuleType sets ModuleType field to given value. diff --git a/docs/ConsoleServerPort.md b/docs/ConsoleServerPort.md index 7686dfe90..4f574d38f 100644 --- a/docs/ConsoleServerPort.md +++ b/docs/ConsoleServerPort.md @@ -6,21 +6,22 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] -**Device** | [**Device**](Device.md) | | -**Module** | Pointer to [**NullableModule**](Module.md) | | [optional] +**Device** | [**BriefDevice**](BriefDevice.md) | | +**Module** | Pointer to [**NullableBriefModule**](BriefModule.md) | | [optional] **Name** | **string** | | **Label** | Pointer to **string** | Physical label | [optional] **Type** | Pointer to [**ConsolePortType**](ConsolePortType.md) | | [optional] **Speed** | Pointer to [**NullableConsolePortSpeed**](ConsolePortSpeed.md) | | [optional] **Description** | Pointer to **string** | | [optional] **MarkConnected** | Pointer to **bool** | Treat as if a cable is connected | [optional] -**Cable** | [**NullableCable**](Cable.md) | | [readonly] +**Cable** | [**NullableBriefCable**](BriefCable.md) | | [readonly] **CableEnd** | **string** | | [readonly] **LinkPeers** | **[]interface{}** | | [readonly] -**LinkPeersType** | **string** | Return the type of the peer link terminations, or None. | [readonly] +**LinkPeersType** | **NullableString** | Return the type of the peer link terminations, or None. | [readonly] **ConnectedEndpoints** | **[]interface{}** | | [readonly] -**ConnectedEndpointsType** | **string** | | [readonly] +**ConnectedEndpointsType** | **NullableString** | | [readonly] **ConnectedEndpointsReachable** | **bool** | | [readonly] **Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] @@ -32,7 +33,7 @@ Name | Type | Description | Notes ### NewConsoleServerPort -`func NewConsoleServerPort(id int32, url string, display string, device Device, name string, cable NullableCable, cableEnd string, linkPeers []interface{}, linkPeersType string, connectedEndpoints []interface{}, connectedEndpointsType string, connectedEndpointsReachable bool, created NullableTime, lastUpdated NullableTime, occupied bool, ) *ConsoleServerPort` +`func NewConsoleServerPort(id int32, url string, display string, device BriefDevice, name string, cable NullableBriefCable, cableEnd string, linkPeers []interface{}, linkPeersType NullableString, connectedEndpoints []interface{}, connectedEndpointsType NullableString, connectedEndpointsReachable bool, created NullableTime, lastUpdated NullableTime, occupied bool, ) *ConsoleServerPort` NewConsoleServerPort instantiates a new ConsoleServerPort object This constructor will assign default values to properties that have it defined, @@ -87,6 +88,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *ConsoleServerPort) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *ConsoleServerPort) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *ConsoleServerPort) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *ConsoleServerPort) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *ConsoleServerPort) GetDisplay() string` @@ -109,40 +135,40 @@ SetDisplay sets Display field to given value. ### GetDevice -`func (o *ConsoleServerPort) GetDevice() Device` +`func (o *ConsoleServerPort) GetDevice() BriefDevice` GetDevice returns the Device field if non-nil, zero value otherwise. ### GetDeviceOk -`func (o *ConsoleServerPort) GetDeviceOk() (*Device, bool)` +`func (o *ConsoleServerPort) GetDeviceOk() (*BriefDevice, 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 *ConsoleServerPort) SetDevice(v Device)` +`func (o *ConsoleServerPort) SetDevice(v BriefDevice)` SetDevice sets Device field to given value. ### GetModule -`func (o *ConsoleServerPort) GetModule() Module` +`func (o *ConsoleServerPort) GetModule() BriefModule` GetModule returns the Module field if non-nil, zero value otherwise. ### GetModuleOk -`func (o *ConsoleServerPort) GetModuleOk() (*Module, bool)` +`func (o *ConsoleServerPort) GetModuleOk() (*BriefModule, bool)` GetModuleOk returns a tuple with the Module field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetModule -`func (o *ConsoleServerPort) SetModule(v Module)` +`func (o *ConsoleServerPort) SetModule(v BriefModule)` SetModule sets Module field to given value. @@ -319,20 +345,20 @@ HasMarkConnected returns a boolean if a field has been set. ### GetCable -`func (o *ConsoleServerPort) GetCable() Cable` +`func (o *ConsoleServerPort) GetCable() BriefCable` GetCable returns the Cable field if non-nil, zero value otherwise. ### GetCableOk -`func (o *ConsoleServerPort) GetCableOk() (*Cable, bool)` +`func (o *ConsoleServerPort) GetCableOk() (*BriefCable, bool)` GetCableOk returns a tuple with the Cable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCable -`func (o *ConsoleServerPort) SetCable(v Cable)` +`func (o *ConsoleServerPort) SetCable(v BriefCable)` SetCable sets Cable field to given value. @@ -407,6 +433,16 @@ and a boolean to check if the value has been set. SetLinkPeersType sets LinkPeersType field to given value. +### SetLinkPeersTypeNil + +`func (o *ConsoleServerPort) SetLinkPeersTypeNil(b bool)` + + SetLinkPeersTypeNil sets the value for LinkPeersType to be an explicit nil + +### UnsetLinkPeersType +`func (o *ConsoleServerPort) UnsetLinkPeersType()` + +UnsetLinkPeersType ensures that no value is present for LinkPeersType, not even an explicit nil ### GetConnectedEndpoints `func (o *ConsoleServerPort) GetConnectedEndpoints() []interface{}` @@ -427,6 +463,16 @@ and a boolean to check if the value has been set. SetConnectedEndpoints sets ConnectedEndpoints field to given value. +### SetConnectedEndpointsNil + +`func (o *ConsoleServerPort) SetConnectedEndpointsNil(b bool)` + + SetConnectedEndpointsNil sets the value for ConnectedEndpoints to be an explicit nil + +### UnsetConnectedEndpoints +`func (o *ConsoleServerPort) UnsetConnectedEndpoints()` + +UnsetConnectedEndpoints ensures that no value is present for ConnectedEndpoints, not even an explicit nil ### GetConnectedEndpointsType `func (o *ConsoleServerPort) GetConnectedEndpointsType() string` @@ -447,6 +493,16 @@ and a boolean to check if the value has been set. SetConnectedEndpointsType sets ConnectedEndpointsType field to given value. +### SetConnectedEndpointsTypeNil + +`func (o *ConsoleServerPort) SetConnectedEndpointsTypeNil(b bool)` + + SetConnectedEndpointsTypeNil sets the value for ConnectedEndpointsType to be an explicit nil + +### UnsetConnectedEndpointsType +`func (o *ConsoleServerPort) UnsetConnectedEndpointsType()` + +UnsetConnectedEndpointsType ensures that no value is present for ConnectedEndpointsType, not even an explicit nil ### GetConnectedEndpointsReachable `func (o *ConsoleServerPort) GetConnectedEndpointsReachable() bool` diff --git a/docs/ConsoleServerPortRequest.md b/docs/ConsoleServerPortRequest.md index 995610c63..3e59314af 100644 --- a/docs/ConsoleServerPortRequest.md +++ b/docs/ConsoleServerPortRequest.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Device** | [**DeviceRequest**](DeviceRequest.md) | | -**Module** | Pointer to [**NullableModuleRequest**](ModuleRequest.md) | | [optional] +**Device** | [**BriefDeviceRequest**](BriefDeviceRequest.md) | | +**Module** | Pointer to [**NullableBriefModuleRequest**](BriefModuleRequest.md) | | [optional] **Name** | **string** | | **Label** | Pointer to **string** | Physical label | [optional] **Type** | Pointer to [**ConsolePortTypeValue**](ConsolePortTypeValue.md) | | [optional] @@ -19,7 +19,7 @@ Name | Type | Description | Notes ### NewConsoleServerPortRequest -`func NewConsoleServerPortRequest(device DeviceRequest, name string, ) *ConsoleServerPortRequest` +`func NewConsoleServerPortRequest(device BriefDeviceRequest, name string, ) *ConsoleServerPortRequest` NewConsoleServerPortRequest instantiates a new ConsoleServerPortRequest object This constructor will assign default values to properties that have it defined, @@ -36,40 +36,40 @@ but it doesn't guarantee that properties required by API are set ### GetDevice -`func (o *ConsoleServerPortRequest) GetDevice() DeviceRequest` +`func (o *ConsoleServerPortRequest) GetDevice() BriefDeviceRequest` GetDevice returns the Device field if non-nil, zero value otherwise. ### GetDeviceOk -`func (o *ConsoleServerPortRequest) GetDeviceOk() (*DeviceRequest, bool)` +`func (o *ConsoleServerPortRequest) GetDeviceOk() (*BriefDeviceRequest, 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 *ConsoleServerPortRequest) SetDevice(v DeviceRequest)` +`func (o *ConsoleServerPortRequest) SetDevice(v BriefDeviceRequest)` SetDevice sets Device field to given value. ### GetModule -`func (o *ConsoleServerPortRequest) GetModule() ModuleRequest` +`func (o *ConsoleServerPortRequest) GetModule() BriefModuleRequest` GetModule returns the Module field if non-nil, zero value otherwise. ### GetModuleOk -`func (o *ConsoleServerPortRequest) GetModuleOk() (*ModuleRequest, bool)` +`func (o *ConsoleServerPortRequest) GetModuleOk() (*BriefModuleRequest, bool)` GetModuleOk returns a tuple with the Module field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetModule -`func (o *ConsoleServerPortRequest) SetModule(v ModuleRequest)` +`func (o *ConsoleServerPortRequest) SetModule(v BriefModuleRequest)` SetModule sets Module field to given value. diff --git a/docs/ConsoleServerPortTemplate.md b/docs/ConsoleServerPortTemplate.md index dfc96440f..33411a949 100644 --- a/docs/ConsoleServerPortTemplate.md +++ b/docs/ConsoleServerPortTemplate.md @@ -7,8 +7,8 @@ Name | Type | Description | Notes **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] **Display** | **string** | | [readonly] -**DeviceType** | Pointer to [**NullableDeviceType**](DeviceType.md) | | [optional] -**ModuleType** | Pointer to [**NullableModuleType**](ModuleType.md) | | [optional] +**DeviceType** | Pointer to [**NullableBriefDeviceType**](BriefDeviceType.md) | | [optional] +**ModuleType** | Pointer to [**NullableBriefModuleType**](BriefModuleType.md) | | [optional] **Name** | **string** | {module} is accepted as a substitution for the module bay position when attached to a module type. | **Label** | Pointer to **string** | Physical label | [optional] **Type** | Pointer to [**ConsolePortType**](ConsolePortType.md) | | [optional] @@ -97,20 +97,20 @@ SetDisplay sets Display field to given value. ### GetDeviceType -`func (o *ConsoleServerPortTemplate) GetDeviceType() DeviceType` +`func (o *ConsoleServerPortTemplate) GetDeviceType() BriefDeviceType` GetDeviceType returns the DeviceType field if non-nil, zero value otherwise. ### GetDeviceTypeOk -`func (o *ConsoleServerPortTemplate) GetDeviceTypeOk() (*DeviceType, bool)` +`func (o *ConsoleServerPortTemplate) GetDeviceTypeOk() (*BriefDeviceType, bool)` GetDeviceTypeOk returns a tuple with the DeviceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDeviceType -`func (o *ConsoleServerPortTemplate) SetDeviceType(v DeviceType)` +`func (o *ConsoleServerPortTemplate) SetDeviceType(v BriefDeviceType)` SetDeviceType sets DeviceType field to given value. @@ -132,20 +132,20 @@ HasDeviceType returns a boolean if a field has been set. UnsetDeviceType ensures that no value is present for DeviceType, not even an explicit nil ### GetModuleType -`func (o *ConsoleServerPortTemplate) GetModuleType() ModuleType` +`func (o *ConsoleServerPortTemplate) GetModuleType() BriefModuleType` GetModuleType returns the ModuleType field if non-nil, zero value otherwise. ### GetModuleTypeOk -`func (o *ConsoleServerPortTemplate) GetModuleTypeOk() (*ModuleType, bool)` +`func (o *ConsoleServerPortTemplate) GetModuleTypeOk() (*BriefModuleType, bool)` GetModuleTypeOk returns a tuple with the ModuleType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetModuleType -`func (o *ConsoleServerPortTemplate) SetModuleType(v ModuleType)` +`func (o *ConsoleServerPortTemplate) SetModuleType(v BriefModuleType)` SetModuleType sets ModuleType field to given value. diff --git a/docs/ConsoleServerPortTemplateRequest.md b/docs/ConsoleServerPortTemplateRequest.md index 6c677fcc5..2fe0e692e 100644 --- a/docs/ConsoleServerPortTemplateRequest.md +++ b/docs/ConsoleServerPortTemplateRequest.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**DeviceType** | Pointer to [**NullableDeviceTypeRequest**](DeviceTypeRequest.md) | | [optional] -**ModuleType** | Pointer to [**NullableModuleTypeRequest**](ModuleTypeRequest.md) | | [optional] +**DeviceType** | Pointer to [**NullableBriefDeviceTypeRequest**](BriefDeviceTypeRequest.md) | | [optional] +**ModuleType** | Pointer to [**NullableBriefModuleTypeRequest**](BriefModuleTypeRequest.md) | | [optional] **Name** | **string** | {module} is accepted as a substitution for the module bay position when attached to a module type. | **Label** | Pointer to **string** | Physical label | [optional] **Type** | Pointer to [**ConsolePortTypeValue**](ConsolePortTypeValue.md) | | [optional] @@ -32,20 +32,20 @@ but it doesn't guarantee that properties required by API are set ### GetDeviceType -`func (o *ConsoleServerPortTemplateRequest) GetDeviceType() DeviceTypeRequest` +`func (o *ConsoleServerPortTemplateRequest) GetDeviceType() BriefDeviceTypeRequest` GetDeviceType returns the DeviceType field if non-nil, zero value otherwise. ### GetDeviceTypeOk -`func (o *ConsoleServerPortTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool)` +`func (o *ConsoleServerPortTemplateRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool)` GetDeviceTypeOk returns a tuple with the DeviceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDeviceType -`func (o *ConsoleServerPortTemplateRequest) SetDeviceType(v DeviceTypeRequest)` +`func (o *ConsoleServerPortTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest)` SetDeviceType sets DeviceType field to given value. @@ -67,20 +67,20 @@ HasDeviceType returns a boolean if a field has been set. UnsetDeviceType ensures that no value is present for DeviceType, not even an explicit nil ### GetModuleType -`func (o *ConsoleServerPortTemplateRequest) GetModuleType() ModuleTypeRequest` +`func (o *ConsoleServerPortTemplateRequest) GetModuleType() BriefModuleTypeRequest` GetModuleType returns the ModuleType field if non-nil, zero value otherwise. ### GetModuleTypeOk -`func (o *ConsoleServerPortTemplateRequest) GetModuleTypeOk() (*ModuleTypeRequest, bool)` +`func (o *ConsoleServerPortTemplateRequest) GetModuleTypeOk() (*BriefModuleTypeRequest, bool)` GetModuleTypeOk returns a tuple with the ModuleType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetModuleType -`func (o *ConsoleServerPortTemplateRequest) SetModuleType(v ModuleTypeRequest)` +`func (o *ConsoleServerPortTemplateRequest) SetModuleType(v BriefModuleTypeRequest)` SetModuleType sets ModuleType field to given value. diff --git a/docs/Contact.md b/docs/Contact.md index d3701de38..e51ab0712 100644 --- a/docs/Contact.md +++ b/docs/Contact.md @@ -6,15 +6,27 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] +**Group** | Pointer to [**NullableBriefContactGroup**](BriefContactGroup.md) | | [optional] **Name** | **string** | | +**Title** | Pointer to **string** | | [optional] +**Phone** | Pointer to **string** | | [optional] +**Email** | Pointer to **string** | | [optional] +**Address** | Pointer to **string** | | [optional] +**Link** | Pointer to **string** | | [optional] **Description** | Pointer to **string** | | [optional] +**Comments** | Pointer to **string** | | [optional] +**Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] +**Created** | **NullableTime** | | [readonly] +**LastUpdated** | **NullableTime** | | [readonly] ## Methods ### NewContact -`func NewContact(id int32, url string, display string, name string, ) *Contact` +`func NewContact(id int32, url string, display string, name string, created NullableTime, lastUpdated NullableTime, ) *Contact` NewContact instantiates a new Contact object This constructor will assign default values to properties that have it defined, @@ -69,6 +81,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *Contact) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *Contact) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *Contact) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *Contact) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *Contact) GetDisplay() string` @@ -89,6 +126,41 @@ and a boolean to check if the value has been set. SetDisplay sets Display field to given value. +### GetGroup + +`func (o *Contact) GetGroup() BriefContactGroup` + +GetGroup returns the Group field if non-nil, zero value otherwise. + +### GetGroupOk + +`func (o *Contact) GetGroupOk() (*BriefContactGroup, bool)` + +GetGroupOk returns a tuple with the Group field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGroup + +`func (o *Contact) SetGroup(v BriefContactGroup)` + +SetGroup sets Group field to given value. + +### HasGroup + +`func (o *Contact) HasGroup() bool` + +HasGroup returns a boolean if a field has been set. + +### SetGroupNil + +`func (o *Contact) SetGroupNil(b bool)` + + SetGroupNil sets the value for Group to be an explicit nil + +### UnsetGroup +`func (o *Contact) UnsetGroup()` + +UnsetGroup ensures that no value is present for Group, not even an explicit nil ### GetName `func (o *Contact) GetName() string` @@ -109,6 +181,131 @@ and a boolean to check if the value has been set. SetName sets Name field to given value. +### GetTitle + +`func (o *Contact) GetTitle() string` + +GetTitle returns the Title field if non-nil, zero value otherwise. + +### GetTitleOk + +`func (o *Contact) GetTitleOk() (*string, bool)` + +GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTitle + +`func (o *Contact) SetTitle(v string)` + +SetTitle sets Title field to given value. + +### HasTitle + +`func (o *Contact) HasTitle() bool` + +HasTitle returns a boolean if a field has been set. + +### GetPhone + +`func (o *Contact) GetPhone() string` + +GetPhone returns the Phone field if non-nil, zero value otherwise. + +### GetPhoneOk + +`func (o *Contact) GetPhoneOk() (*string, bool)` + +GetPhoneOk returns a tuple with the Phone field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPhone + +`func (o *Contact) SetPhone(v string)` + +SetPhone sets Phone field to given value. + +### HasPhone + +`func (o *Contact) HasPhone() bool` + +HasPhone returns a boolean if a field has been set. + +### GetEmail + +`func (o *Contact) GetEmail() string` + +GetEmail returns the Email field if non-nil, zero value otherwise. + +### GetEmailOk + +`func (o *Contact) GetEmailOk() (*string, bool)` + +GetEmailOk returns a tuple with the Email field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEmail + +`func (o *Contact) SetEmail(v string)` + +SetEmail sets Email field to given value. + +### HasEmail + +`func (o *Contact) HasEmail() bool` + +HasEmail returns a boolean if a field has been set. + +### GetAddress + +`func (o *Contact) GetAddress() string` + +GetAddress returns the Address field if non-nil, zero value otherwise. + +### GetAddressOk + +`func (o *Contact) GetAddressOk() (*string, bool)` + +GetAddressOk returns a tuple with the Address field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddress + +`func (o *Contact) SetAddress(v string)` + +SetAddress sets Address field to given value. + +### HasAddress + +`func (o *Contact) HasAddress() bool` + +HasAddress returns a boolean if a field has been set. + +### GetLink + +`func (o *Contact) GetLink() string` + +GetLink returns the Link field if non-nil, zero value otherwise. + +### GetLinkOk + +`func (o *Contact) GetLinkOk() (*string, bool)` + +GetLinkOk returns a tuple with the Link field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLink + +`func (o *Contact) SetLink(v string)` + +SetLink sets Link field to given value. + +### HasLink + +`func (o *Contact) HasLink() bool` + +HasLink returns a boolean if a field has been set. + ### GetDescription `func (o *Contact) GetDescription() string` @@ -134,6 +331,141 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetComments + +`func (o *Contact) GetComments() string` + +GetComments returns the Comments field if non-nil, zero value otherwise. + +### GetCommentsOk + +`func (o *Contact) GetCommentsOk() (*string, bool)` + +GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComments + +`func (o *Contact) SetComments(v string)` + +SetComments sets Comments field to given value. + +### HasComments + +`func (o *Contact) HasComments() bool` + +HasComments returns a boolean if a field has been set. + +### GetTags + +`func (o *Contact) GetTags() []NestedTag` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *Contact) GetTagsOk() (*[]NestedTag, 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 []NestedTag)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *Contact) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *Contact) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *Contact) 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 *Contact) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *Contact) HasCustomFields() bool` + +HasCustomFields returns a boolean if a field has been set. + +### GetCreated + +`func (o *Contact) GetCreated() time.Time` + +GetCreated returns the Created field if non-nil, zero value otherwise. + +### GetCreatedOk + +`func (o *Contact) 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 *Contact) SetCreated(v time.Time)` + +SetCreated sets Created field to given value. + + +### SetCreatedNil + +`func (o *Contact) SetCreatedNil(b bool)` + + SetCreatedNil sets the value for Created to be an explicit nil + +### UnsetCreated +`func (o *Contact) UnsetCreated()` + +UnsetCreated ensures that no value is present for Created, not even an explicit nil +### GetLastUpdated + +`func (o *Contact) GetLastUpdated() time.Time` + +GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise. + +### GetLastUpdatedOk + +`func (o *Contact) 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 *Contact) SetLastUpdated(v time.Time)` + +SetLastUpdated sets LastUpdated field to given value. + + +### SetLastUpdatedNil + +`func (o *Contact) SetLastUpdatedNil(b bool)` + + SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil + +### UnsetLastUpdated +`func (o *Contact) UnsetLastUpdated()` + +UnsetLastUpdated ensures that no value is present for LastUpdated, 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/ContactAssignment.md b/docs/ContactAssignment.md index 26a003bab..637e6bf0e 100644 --- a/docs/ContactAssignment.md +++ b/docs/ContactAssignment.md @@ -10,9 +10,9 @@ Name | Type | Description | Notes **ObjectType** | **string** | | **ObjectId** | **int64** | | **Object** | **map[string]interface{}** | | [readonly] -**Contact** | [**Contact**](Contact.md) | | -**Role** | Pointer to [**NullableContactRole**](ContactRole.md) | | [optional] -**Priority** | Pointer to [**ContactAssignmentPriority**](ContactAssignmentPriority.md) | | [optional] +**Contact** | [**BriefContact**](BriefContact.md) | | +**Role** | Pointer to [**NullableBriefContactRole**](BriefContactRole.md) | | [optional] +**Priority** | Pointer to [**BriefCircuitGroupAssignmentSerializerPriority**](BriefCircuitGroupAssignmentSerializerPriority.md) | | [optional] **Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] **Created** | **NullableTime** | | [readonly] @@ -22,7 +22,7 @@ Name | Type | Description | Notes ### NewContactAssignment -`func NewContactAssignment(id int32, url string, display string, objectType string, objectId int64, object map[string]interface{}, contact Contact, created NullableTime, lastUpdated NullableTime, ) *ContactAssignment` +`func NewContactAssignment(id int32, url string, display string, objectType string, objectId int64, object map[string]interface{}, contact BriefContact, created NullableTime, lastUpdated NullableTime, ) *ContactAssignment` NewContactAssignment instantiates a new ContactAssignment object This constructor will assign default values to properties that have it defined, @@ -159,40 +159,40 @@ SetObject sets Object field to given value. ### GetContact -`func (o *ContactAssignment) GetContact() Contact` +`func (o *ContactAssignment) GetContact() BriefContact` GetContact returns the Contact field if non-nil, zero value otherwise. ### GetContactOk -`func (o *ContactAssignment) GetContactOk() (*Contact, bool)` +`func (o *ContactAssignment) GetContactOk() (*BriefContact, bool)` GetContactOk returns a tuple with the Contact field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetContact -`func (o *ContactAssignment) SetContact(v Contact)` +`func (o *ContactAssignment) SetContact(v BriefContact)` SetContact sets Contact field to given value. ### GetRole -`func (o *ContactAssignment) GetRole() ContactRole` +`func (o *ContactAssignment) GetRole() BriefContactRole` GetRole returns the Role field if non-nil, zero value otherwise. ### GetRoleOk -`func (o *ContactAssignment) GetRoleOk() (*ContactRole, bool)` +`func (o *ContactAssignment) GetRoleOk() (*BriefContactRole, 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 *ContactAssignment) SetRole(v ContactRole)` +`func (o *ContactAssignment) SetRole(v BriefContactRole)` SetRole sets Role field to given value. @@ -214,20 +214,20 @@ HasRole returns a boolean if a field has been set. UnsetRole ensures that no value is present for Role, not even an explicit nil ### GetPriority -`func (o *ContactAssignment) GetPriority() ContactAssignmentPriority` +`func (o *ContactAssignment) GetPriority() BriefCircuitGroupAssignmentSerializerPriority` GetPriority returns the Priority field if non-nil, zero value otherwise. ### GetPriorityOk -`func (o *ContactAssignment) GetPriorityOk() (*ContactAssignmentPriority, bool)` +`func (o *ContactAssignment) GetPriorityOk() (*BriefCircuitGroupAssignmentSerializerPriority, bool)` GetPriorityOk returns a tuple with the Priority field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPriority -`func (o *ContactAssignment) SetPriority(v ContactAssignmentPriority)` +`func (o *ContactAssignment) SetPriority(v BriefCircuitGroupAssignmentSerializerPriority)` SetPriority sets Priority field to given value. diff --git a/docs/ContactAssignmentRequest.md b/docs/ContactAssignmentRequest.md index de146e2f6..5ca6e4a62 100644 --- a/docs/ContactAssignmentRequest.md +++ b/docs/ContactAssignmentRequest.md @@ -6,9 +6,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **ObjectType** | **string** | | **ObjectId** | **int64** | | -**Contact** | [**ContactRequest**](ContactRequest.md) | | -**Role** | Pointer to [**NullableContactRoleRequest**](ContactRoleRequest.md) | | [optional] -**Priority** | Pointer to [**ContactAssignmentPriorityValue**](ContactAssignmentPriorityValue.md) | | [optional] +**Contact** | [**BriefContactRequest**](BriefContactRequest.md) | | +**Role** | Pointer to [**NullableBriefContactRoleRequest**](BriefContactRoleRequest.md) | | [optional] +**Priority** | Pointer to [**BriefCircuitGroupAssignmentSerializerPriorityValue**](BriefCircuitGroupAssignmentSerializerPriorityValue.md) | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] @@ -16,7 +16,7 @@ Name | Type | Description | Notes ### NewContactAssignmentRequest -`func NewContactAssignmentRequest(objectType string, objectId int64, contact ContactRequest, ) *ContactAssignmentRequest` +`func NewContactAssignmentRequest(objectType string, objectId int64, contact BriefContactRequest, ) *ContactAssignmentRequest` NewContactAssignmentRequest instantiates a new ContactAssignmentRequest object This constructor will assign default values to properties that have it defined, @@ -73,40 +73,40 @@ SetObjectId sets ObjectId field to given value. ### GetContact -`func (o *ContactAssignmentRequest) GetContact() ContactRequest` +`func (o *ContactAssignmentRequest) GetContact() BriefContactRequest` GetContact returns the Contact field if non-nil, zero value otherwise. ### GetContactOk -`func (o *ContactAssignmentRequest) GetContactOk() (*ContactRequest, bool)` +`func (o *ContactAssignmentRequest) GetContactOk() (*BriefContactRequest, bool)` GetContactOk returns a tuple with the Contact field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetContact -`func (o *ContactAssignmentRequest) SetContact(v ContactRequest)` +`func (o *ContactAssignmentRequest) SetContact(v BriefContactRequest)` SetContact sets Contact field to given value. ### GetRole -`func (o *ContactAssignmentRequest) GetRole() ContactRoleRequest` +`func (o *ContactAssignmentRequest) GetRole() BriefContactRoleRequest` GetRole returns the Role field if non-nil, zero value otherwise. ### GetRoleOk -`func (o *ContactAssignmentRequest) GetRoleOk() (*ContactRoleRequest, bool)` +`func (o *ContactAssignmentRequest) GetRoleOk() (*BriefContactRoleRequest, 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 *ContactAssignmentRequest) SetRole(v ContactRoleRequest)` +`func (o *ContactAssignmentRequest) SetRole(v BriefContactRoleRequest)` SetRole sets Role field to given value. @@ -128,20 +128,20 @@ HasRole returns a boolean if a field has been set. UnsetRole ensures that no value is present for Role, not even an explicit nil ### GetPriority -`func (o *ContactAssignmentRequest) GetPriority() ContactAssignmentPriorityValue` +`func (o *ContactAssignmentRequest) GetPriority() BriefCircuitGroupAssignmentSerializerPriorityValue` GetPriority returns the Priority field if non-nil, zero value otherwise. ### GetPriorityOk -`func (o *ContactAssignmentRequest) GetPriorityOk() (*ContactAssignmentPriorityValue, bool)` +`func (o *ContactAssignmentRequest) GetPriorityOk() (*BriefCircuitGroupAssignmentSerializerPriorityValue, bool)` GetPriorityOk returns a tuple with the Priority field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPriority -`func (o *ContactAssignmentRequest) SetPriority(v ContactAssignmentPriorityValue)` +`func (o *ContactAssignmentRequest) SetPriority(v BriefCircuitGroupAssignmentSerializerPriorityValue)` SetPriority sets Priority field to given value. diff --git a/docs/ContactGroup.md b/docs/ContactGroup.md index 42b960ec3..0e1b86b04 100644 --- a/docs/ContactGroup.md +++ b/docs/ContactGroup.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Name** | **string** | | **Slug** | **string** | | @@ -77,6 +78,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *ContactGroup) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *ContactGroup) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *ContactGroup) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *ContactGroup) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *ContactGroup) GetDisplay() string` diff --git a/docs/ContactRequest.md b/docs/ContactRequest.md index 050fa6fb1..13eead0d4 100644 --- a/docs/ContactRequest.md +++ b/docs/ContactRequest.md @@ -4,8 +4,17 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Group** | Pointer to [**NullableBriefContactGroupRequest**](BriefContactGroupRequest.md) | | [optional] **Name** | **string** | | +**Title** | Pointer to **string** | | [optional] +**Phone** | Pointer to **string** | | [optional] +**Email** | Pointer to **string** | | [optional] +**Address** | Pointer to **string** | | [optional] +**Link** | Pointer to **string** | | [optional] **Description** | Pointer to **string** | | [optional] +**Comments** | Pointer to **string** | | [optional] +**Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] ## Methods @@ -26,6 +35,41 @@ 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 +### GetGroup + +`func (o *ContactRequest) GetGroup() BriefContactGroupRequest` + +GetGroup returns the Group field if non-nil, zero value otherwise. + +### GetGroupOk + +`func (o *ContactRequest) GetGroupOk() (*BriefContactGroupRequest, bool)` + +GetGroupOk returns a tuple with the Group field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGroup + +`func (o *ContactRequest) SetGroup(v BriefContactGroupRequest)` + +SetGroup sets Group field to given value. + +### HasGroup + +`func (o *ContactRequest) HasGroup() bool` + +HasGroup returns a boolean if a field has been set. + +### SetGroupNil + +`func (o *ContactRequest) SetGroupNil(b bool)` + + SetGroupNil sets the value for Group to be an explicit nil + +### UnsetGroup +`func (o *ContactRequest) UnsetGroup()` + +UnsetGroup ensures that no value is present for Group, not even an explicit nil ### GetName `func (o *ContactRequest) GetName() string` @@ -46,6 +90,131 @@ and a boolean to check if the value has been set. SetName sets Name field to given value. +### GetTitle + +`func (o *ContactRequest) GetTitle() string` + +GetTitle returns the Title field if non-nil, zero value otherwise. + +### GetTitleOk + +`func (o *ContactRequest) GetTitleOk() (*string, bool)` + +GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTitle + +`func (o *ContactRequest) SetTitle(v string)` + +SetTitle sets Title field to given value. + +### HasTitle + +`func (o *ContactRequest) HasTitle() bool` + +HasTitle returns a boolean if a field has been set. + +### GetPhone + +`func (o *ContactRequest) GetPhone() string` + +GetPhone returns the Phone field if non-nil, zero value otherwise. + +### GetPhoneOk + +`func (o *ContactRequest) GetPhoneOk() (*string, bool)` + +GetPhoneOk returns a tuple with the Phone field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPhone + +`func (o *ContactRequest) SetPhone(v string)` + +SetPhone sets Phone field to given value. + +### HasPhone + +`func (o *ContactRequest) HasPhone() bool` + +HasPhone returns a boolean if a field has been set. + +### GetEmail + +`func (o *ContactRequest) GetEmail() string` + +GetEmail returns the Email field if non-nil, zero value otherwise. + +### GetEmailOk + +`func (o *ContactRequest) GetEmailOk() (*string, bool)` + +GetEmailOk returns a tuple with the Email field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEmail + +`func (o *ContactRequest) SetEmail(v string)` + +SetEmail sets Email field to given value. + +### HasEmail + +`func (o *ContactRequest) HasEmail() bool` + +HasEmail returns a boolean if a field has been set. + +### GetAddress + +`func (o *ContactRequest) GetAddress() string` + +GetAddress returns the Address field if non-nil, zero value otherwise. + +### GetAddressOk + +`func (o *ContactRequest) GetAddressOk() (*string, bool)` + +GetAddressOk returns a tuple with the Address field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddress + +`func (o *ContactRequest) SetAddress(v string)` + +SetAddress sets Address field to given value. + +### HasAddress + +`func (o *ContactRequest) HasAddress() bool` + +HasAddress returns a boolean if a field has been set. + +### GetLink + +`func (o *ContactRequest) GetLink() string` + +GetLink returns the Link field if non-nil, zero value otherwise. + +### GetLinkOk + +`func (o *ContactRequest) GetLinkOk() (*string, bool)` + +GetLinkOk returns a tuple with the Link field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLink + +`func (o *ContactRequest) SetLink(v string)` + +SetLink sets Link field to given value. + +### HasLink + +`func (o *ContactRequest) HasLink() bool` + +HasLink returns a boolean if a field has been set. + ### GetDescription `func (o *ContactRequest) GetDescription() string` @@ -71,6 +240,81 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetComments + +`func (o *ContactRequest) GetComments() string` + +GetComments returns the Comments field if non-nil, zero value otherwise. + +### GetCommentsOk + +`func (o *ContactRequest) GetCommentsOk() (*string, bool)` + +GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComments + +`func (o *ContactRequest) SetComments(v string)` + +SetComments sets Comments field to given value. + +### HasComments + +`func (o *ContactRequest) HasComments() bool` + +HasComments returns a boolean if a field has been set. + +### GetTags + +`func (o *ContactRequest) GetTags() []NestedTagRequest` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *ContactRequest) GetTagsOk() (*[]NestedTagRequest, 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 []NestedTagRequest)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *ContactRequest) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *ContactRequest) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *ContactRequest) 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 *ContactRequest) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *ContactRequest) 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/ContactRole.md b/docs/ContactRole.md index 66937cee4..8c3597c8c 100644 --- a/docs/ContactRole.md +++ b/docs/ContactRole.md @@ -6,16 +6,21 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Name** | **string** | | **Slug** | **string** | | **Description** | Pointer to **string** | | [optional] +**Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] +**Created** | **NullableTime** | | [readonly] +**LastUpdated** | **NullableTime** | | [readonly] ## Methods ### NewContactRole -`func NewContactRole(id int32, url string, display string, name string, slug string, ) *ContactRole` +`func NewContactRole(id int32, url string, display string, name string, slug string, created NullableTime, lastUpdated NullableTime, ) *ContactRole` NewContactRole instantiates a new ContactRole object This constructor will assign default values to properties that have it defined, @@ -70,6 +75,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *ContactRole) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *ContactRole) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *ContactRole) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *ContactRole) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *ContactRole) GetDisplay() string` @@ -155,6 +185,116 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetTags + +`func (o *ContactRole) GetTags() []NestedTag` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *ContactRole) GetTagsOk() (*[]NestedTag, 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 *ContactRole) SetTags(v []NestedTag)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *ContactRole) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *ContactRole) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *ContactRole) 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 *ContactRole) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *ContactRole) HasCustomFields() bool` + +HasCustomFields returns a boolean if a field has been set. + +### GetCreated + +`func (o *ContactRole) GetCreated() time.Time` + +GetCreated returns the Created field if non-nil, zero value otherwise. + +### GetCreatedOk + +`func (o *ContactRole) 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 *ContactRole) SetCreated(v time.Time)` + +SetCreated sets Created field to given value. + + +### SetCreatedNil + +`func (o *ContactRole) SetCreatedNil(b bool)` + + SetCreatedNil sets the value for Created to be an explicit nil + +### UnsetCreated +`func (o *ContactRole) UnsetCreated()` + +UnsetCreated ensures that no value is present for Created, not even an explicit nil +### GetLastUpdated + +`func (o *ContactRole) GetLastUpdated() time.Time` + +GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise. + +### GetLastUpdatedOk + +`func (o *ContactRole) 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 *ContactRole) SetLastUpdated(v time.Time)` + +SetLastUpdated sets LastUpdated field to given value. + + +### SetLastUpdatedNil + +`func (o *ContactRole) SetLastUpdatedNil(b bool)` + + SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil + +### UnsetLastUpdated +`func (o *ContactRole) UnsetLastUpdated()` + +UnsetLastUpdated ensures that no value is present for LastUpdated, 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/ContactRoleRequest.md b/docs/ContactRoleRequest.md index 615000a63..dce32edee 100644 --- a/docs/ContactRoleRequest.md +++ b/docs/ContactRoleRequest.md @@ -7,6 +7,8 @@ Name | Type | Description | Notes **Name** | **string** | | **Slug** | **string** | | **Description** | Pointer to **string** | | [optional] +**Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] ## Methods @@ -92,6 +94,56 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetTags + +`func (o *ContactRoleRequest) GetTags() []NestedTagRequest` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *ContactRoleRequest) GetTagsOk() (*[]NestedTagRequest, 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 *ContactRoleRequest) SetTags(v []NestedTagRequest)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *ContactRoleRequest) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *ContactRoleRequest) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *ContactRoleRequest) 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 *ContactRoleRequest) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *ContactRoleRequest) 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/CoreAPI.md b/docs/CoreAPI.md index 18791cb42..7d2cb7b36 100644 --- a/docs/CoreAPI.md +++ b/docs/CoreAPI.md @@ -18,6 +18,8 @@ Method | HTTP request | Description [**CoreDataSourcesUpdate**](CoreAPI.md#CoreDataSourcesUpdate) | **Put** /api/core/data-sources/{id}/ | [**CoreJobsList**](CoreAPI.md#CoreJobsList) | **Get** /api/core/jobs/ | [**CoreJobsRetrieve**](CoreAPI.md#CoreJobsRetrieve) | **Get** /api/core/jobs/{id}/ | +[**CoreObjectChangesList**](CoreAPI.md#CoreObjectChangesList) | **Get** /api/core/object-changes/ | +[**CoreObjectChangesRetrieve**](CoreAPI.md#CoreObjectChangesRetrieve) | **Get** /api/core/object-changes/{id}/ | @@ -299,7 +301,7 @@ import ( ) func main() { - dataSourceRequest := []openapiclient.DataSourceRequest{*openapiclient.NewDataSourceRequest("Name_example", openapiclient.DataSourceRequest_type("local"), "SourceUrl_example")} // []DataSourceRequest | + dataSourceRequest := []openapiclient.DataSourceRequest{*openapiclient.NewDataSourceRequest("Name_example", openapiclient.DataSource_type_value("local"), "SourceUrl_example")} // []DataSourceRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -363,7 +365,7 @@ import ( ) func main() { - dataSourceRequest := []openapiclient.DataSourceRequest{*openapiclient.NewDataSourceRequest("Name_example", openapiclient.DataSourceRequest_type("local"), "SourceUrl_example")} // []DataSourceRequest | + dataSourceRequest := []openapiclient.DataSourceRequest{*openapiclient.NewDataSourceRequest("Name_example", openapiclient.DataSource_type_value("local"), "SourceUrl_example")} // []DataSourceRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -429,7 +431,7 @@ import ( ) func main() { - dataSourceRequest := []openapiclient.DataSourceRequest{*openapiclient.NewDataSourceRequest("Name_example", openapiclient.DataSourceRequest_type("local"), "SourceUrl_example")} // []DataSourceRequest | + dataSourceRequest := []openapiclient.DataSourceRequest{*openapiclient.NewDataSourceRequest("Name_example", openapiclient.DataSource_type_value("local"), "SourceUrl_example")} // []DataSourceRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -610,7 +612,7 @@ Name | Type | Description | Notes ## CoreDataSourcesList -> PaginatedDataSourceList CoreDataSourcesList(ctx).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Enabled(enabled).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastSynced(lastSynced).LastSyncedEmpty(lastSyncedEmpty).LastSyncedGt(lastSyncedGt).LastSyncedGte(lastSyncedGte).LastSyncedLt(lastSyncedLt).LastSyncedLte(lastSyncedLte).LastSyncedN(lastSyncedN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).SourceUrl(sourceUrl).SourceUrlEmpty(sourceUrlEmpty).SourceUrlIc(sourceUrlIc).SourceUrlIe(sourceUrlIe).SourceUrlIew(sourceUrlIew).SourceUrlIsw(sourceUrlIsw).SourceUrlN(sourceUrlN).SourceUrlNic(sourceUrlNic).SourceUrlNie(sourceUrlNie).SourceUrlNiew(sourceUrlNiew).SourceUrlNisw(sourceUrlNisw).Status(status).StatusN(statusN).Tag(tag).TagN(tagN).Type_(type_).TypeN(typeN).UpdatedByRequest(updatedByRequest).Execute() +> PaginatedDataSourceList CoreDataSourcesList(ctx).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Enabled(enabled).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastSynced(lastSynced).LastSyncedEmpty(lastSyncedEmpty).LastSyncedGt(lastSyncedGt).LastSyncedGte(lastSyncedGte).LastSyncedLt(lastSyncedLt).LastSyncedLte(lastSyncedLte).LastSyncedN(lastSyncedN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).SourceUrl(sourceUrl).SourceUrlEmpty(sourceUrlEmpty).SourceUrlIc(sourceUrlIc).SourceUrlIe(sourceUrlIe).SourceUrlIew(sourceUrlIew).SourceUrlIsw(sourceUrlIsw).SourceUrlN(sourceUrlN).SourceUrlNic(sourceUrlNic).SourceUrlNie(sourceUrlNie).SourceUrlNiew(sourceUrlNiew).SourceUrlNisw(sourceUrlNisw).Status(status).StatusEmpty(statusEmpty).StatusIc(statusIc).StatusIe(statusIe).StatusIew(statusIew).StatusIsw(statusIsw).StatusN(statusN).StatusNic(statusNic).StatusNie(statusNie).StatusNiew(statusNiew).StatusNisw(statusNisw).Tag(tag).TagN(tagN).Type_(type_).TypeEmpty(typeEmpty).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNisw(typeNisw).UpdatedByRequest(updatedByRequest).Execute() @@ -699,16 +701,34 @@ func main() { sourceUrlNiew := []string{"Inner_example"} // []string | (optional) sourceUrlNisw := []string{"Inner_example"} // []string | (optional) status := []string{"Inner_example"} // []string | (optional) + statusEmpty := true // bool | (optional) + statusIc := []string{"Inner_example"} // []string | (optional) + statusIe := []string{"Inner_example"} // []string | (optional) + statusIew := []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) + statusNisw := []string{"Inner_example"} // []string | (optional) tag := []string{"Inner_example"} // []string | (optional) tagN := []string{"Inner_example"} // []string | (optional) type_ := []string{"Inner_example"} // []string | (optional) + typeEmpty := true // bool | (optional) + typeIc := []string{"Inner_example"} // []string | (optional) + typeIe := []string{"Inner_example"} // []string | (optional) + typeIew := []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) + typeNisw := []string{"Inner_example"} // []string | (optional) updatedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.CoreAPI.CoreDataSourcesList(context.Background()).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Enabled(enabled).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastSynced(lastSynced).LastSyncedEmpty(lastSyncedEmpty).LastSyncedGt(lastSyncedGt).LastSyncedGte(lastSyncedGte).LastSyncedLt(lastSyncedLt).LastSyncedLte(lastSyncedLte).LastSyncedN(lastSyncedN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).SourceUrl(sourceUrl).SourceUrlEmpty(sourceUrlEmpty).SourceUrlIc(sourceUrlIc).SourceUrlIe(sourceUrlIe).SourceUrlIew(sourceUrlIew).SourceUrlIsw(sourceUrlIsw).SourceUrlN(sourceUrlN).SourceUrlNic(sourceUrlNic).SourceUrlNie(sourceUrlNie).SourceUrlNiew(sourceUrlNiew).SourceUrlNisw(sourceUrlNisw).Status(status).StatusN(statusN).Tag(tag).TagN(tagN).Type_(type_).TypeN(typeN).UpdatedByRequest(updatedByRequest).Execute() + resp, r, err := apiClient.CoreAPI.CoreDataSourcesList(context.Background()).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Enabled(enabled).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastSynced(lastSynced).LastSyncedEmpty(lastSyncedEmpty).LastSyncedGt(lastSyncedGt).LastSyncedGte(lastSyncedGte).LastSyncedLt(lastSyncedLt).LastSyncedLte(lastSyncedLte).LastSyncedN(lastSyncedN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).SourceUrl(sourceUrl).SourceUrlEmpty(sourceUrlEmpty).SourceUrlIc(sourceUrlIc).SourceUrlIe(sourceUrlIe).SourceUrlIew(sourceUrlIew).SourceUrlIsw(sourceUrlIsw).SourceUrlN(sourceUrlN).SourceUrlNic(sourceUrlNic).SourceUrlNie(sourceUrlNie).SourceUrlNiew(sourceUrlNiew).SourceUrlNisw(sourceUrlNisw).Status(status).StatusEmpty(statusEmpty).StatusIc(statusIc).StatusIe(statusIe).StatusIew(statusIew).StatusIsw(statusIsw).StatusN(statusN).StatusNic(statusNic).StatusNie(statusNie).StatusNiew(statusNiew).StatusNisw(statusNisw).Tag(tag).TagN(tagN).Type_(type_).TypeEmpty(typeEmpty).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNisw(typeNisw).UpdatedByRequest(updatedByRequest).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `CoreAPI.CoreDataSourcesList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -798,11 +818,29 @@ Name | Type | Description | Notes **sourceUrlNiew** | **[]string** | | **sourceUrlNisw** | **[]string** | | **status** | **[]string** | | + **statusEmpty** | **bool** | | + **statusIc** | **[]string** | | + **statusIe** | **[]string** | | + **statusIew** | **[]string** | | + **statusIsw** | **[]string** | | **statusN** | **[]string** | | + **statusNic** | **[]string** | | + **statusNie** | **[]string** | | + **statusNiew** | **[]string** | | + **statusNisw** | **[]string** | | **tag** | **[]string** | | **tagN** | **[]string** | | **type_** | **[]string** | | + **typeEmpty** | **bool** | | + **typeIc** | **[]string** | | + **typeIe** | **[]string** | | + **typeIew** | **[]string** | | + **typeIsw** | **[]string** | | **typeN** | **[]string** | | + **typeNic** | **[]string** | | + **typeNie** | **[]string** | | + **typeNiew** | **[]string** | | + **typeNisw** | **[]string** | | **updatedByRequest** | **string** | | ### Return type @@ -1111,7 +1149,7 @@ Name | Type | Description | Notes ## CoreJobsList -> PaginatedJobList CoreJobsList(ctx).Completed(completed).CompletedAfter(completedAfter).CompletedBefore(completedBefore).Created(created).CreatedAfter(createdAfter).CreatedBefore(createdBefore).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Interval(interval).IntervalEmpty(intervalEmpty).IntervalGt(intervalGt).IntervalGte(intervalGte).IntervalLt(intervalLt).IntervalLte(intervalLte).IntervalN(intervalN).JobId(jobId).Limit(limit).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).ObjectId(objectId).ObjectIdEmpty(objectIdEmpty).ObjectIdGt(objectIdGt).ObjectIdGte(objectIdGte).ObjectIdLt(objectIdLt).ObjectIdLte(objectIdLte).ObjectIdN(objectIdN).ObjectType(objectType).ObjectTypeN(objectTypeN).Offset(offset).Ordering(ordering).Q(q).Scheduled(scheduled).ScheduledAfter(scheduledAfter).ScheduledBefore(scheduledBefore).Started(started).StartedAfter(startedAfter).StartedBefore(startedBefore).Status(status).StatusN(statusN).User(user).UserN(userN).Execute() +> PaginatedJobList CoreJobsList(ctx).Completed(completed).CompletedAfter(completedAfter).CompletedBefore(completedBefore).Created(created).CreatedAfter(createdAfter).CreatedBefore(createdBefore).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Interval(interval).IntervalEmpty(intervalEmpty).IntervalGt(intervalGt).IntervalGte(intervalGte).IntervalLt(intervalLt).IntervalLte(intervalLte).IntervalN(intervalN).JobId(jobId).Limit(limit).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).ObjectId(objectId).ObjectIdEmpty(objectIdEmpty).ObjectIdGt(objectIdGt).ObjectIdGte(objectIdGte).ObjectIdLt(objectIdLt).ObjectIdLte(objectIdLte).ObjectIdN(objectIdN).ObjectType(objectType).ObjectTypeN(objectTypeN).Offset(offset).Ordering(ordering).Q(q).Scheduled(scheduled).ScheduledAfter(scheduledAfter).ScheduledBefore(scheduledBefore).Started(started).StartedAfter(startedAfter).StartedBefore(startedBefore).Status(status).StatusEmpty(statusEmpty).StatusIc(statusIc).StatusIe(statusIe).StatusIew(statusIew).StatusIsw(statusIsw).StatusN(statusN).StatusNic(statusNic).StatusNie(statusNie).StatusNiew(statusNiew).StatusNisw(statusNisw).User(user).UserN(userN).Execute() @@ -1183,13 +1221,22 @@ func main() { startedAfter := time.Now() // time.Time | (optional) startedBefore := time.Now() // time.Time | (optional) status := []string{"Inner_example"} // []string | (optional) - statusN := []string{"Inner_example"} // []string | (optional) + statusEmpty := true // bool | (optional) + statusIc := []openapiclient.CoreJobsListStatusIcParameterInner{openapiclient.core_jobs_list_status__ic_parameter_inner("completed")} // []CoreJobsListStatusIcParameterInner | * `pending` - Pending * `scheduled` - Scheduled * `running` - Running * `completed` - Completed * `errored` - Errored * `failed` - Failed (optional) + statusIe := []openapiclient.CoreJobsListStatusIcParameterInner{openapiclient.core_jobs_list_status__ic_parameter_inner("completed")} // []CoreJobsListStatusIcParameterInner | * `pending` - Pending * `scheduled` - Scheduled * `running` - Running * `completed` - Completed * `errored` - Errored * `failed` - Failed (optional) + statusIew := []openapiclient.CoreJobsListStatusIcParameterInner{openapiclient.core_jobs_list_status__ic_parameter_inner("completed")} // []CoreJobsListStatusIcParameterInner | * `pending` - Pending * `scheduled` - Scheduled * `running` - Running * `completed` - Completed * `errored` - Errored * `failed` - Failed (optional) + statusIsw := []openapiclient.CoreJobsListStatusIcParameterInner{openapiclient.core_jobs_list_status__ic_parameter_inner("completed")} // []CoreJobsListStatusIcParameterInner | * `pending` - Pending * `scheduled` - Scheduled * `running` - Running * `completed` - Completed * `errored` - Errored * `failed` - Failed (optional) + statusN := []openapiclient.CoreJobsListStatusIcParameterInner{openapiclient.core_jobs_list_status__ic_parameter_inner("completed")} // []CoreJobsListStatusIcParameterInner | * `pending` - Pending * `scheduled` - Scheduled * `running` - Running * `completed` - Completed * `errored` - Errored * `failed` - Failed (optional) + statusNic := []openapiclient.CoreJobsListStatusIcParameterInner{openapiclient.core_jobs_list_status__ic_parameter_inner("completed")} // []CoreJobsListStatusIcParameterInner | * `pending` - Pending * `scheduled` - Scheduled * `running` - Running * `completed` - Completed * `errored` - Errored * `failed` - Failed (optional) + statusNie := []openapiclient.CoreJobsListStatusIcParameterInner{openapiclient.core_jobs_list_status__ic_parameter_inner("completed")} // []CoreJobsListStatusIcParameterInner | * `pending` - Pending * `scheduled` - Scheduled * `running` - Running * `completed` - Completed * `errored` - Errored * `failed` - Failed (optional) + statusNiew := []openapiclient.CoreJobsListStatusIcParameterInner{openapiclient.core_jobs_list_status__ic_parameter_inner("completed")} // []CoreJobsListStatusIcParameterInner | * `pending` - Pending * `scheduled` - Scheduled * `running` - Running * `completed` - Completed * `errored` - Errored * `failed` - Failed (optional) + statusNisw := []openapiclient.CoreJobsListStatusIcParameterInner{openapiclient.core_jobs_list_status__ic_parameter_inner("completed")} // []CoreJobsListStatusIcParameterInner | * `pending` - Pending * `scheduled` - Scheduled * `running` - Running * `completed` - Completed * `errored` - Errored * `failed` - Failed (optional) user := int32(56) // int32 | (optional) userN := int32(56) // int32 | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.CoreAPI.CoreJobsList(context.Background()).Completed(completed).CompletedAfter(completedAfter).CompletedBefore(completedBefore).Created(created).CreatedAfter(createdAfter).CreatedBefore(createdBefore).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Interval(interval).IntervalEmpty(intervalEmpty).IntervalGt(intervalGt).IntervalGte(intervalGte).IntervalLt(intervalLt).IntervalLte(intervalLte).IntervalN(intervalN).JobId(jobId).Limit(limit).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).ObjectId(objectId).ObjectIdEmpty(objectIdEmpty).ObjectIdGt(objectIdGt).ObjectIdGte(objectIdGte).ObjectIdLt(objectIdLt).ObjectIdLte(objectIdLte).ObjectIdN(objectIdN).ObjectType(objectType).ObjectTypeN(objectTypeN).Offset(offset).Ordering(ordering).Q(q).Scheduled(scheduled).ScheduledAfter(scheduledAfter).ScheduledBefore(scheduledBefore).Started(started).StartedAfter(startedAfter).StartedBefore(startedBefore).Status(status).StatusN(statusN).User(user).UserN(userN).Execute() + resp, r, err := apiClient.CoreAPI.CoreJobsList(context.Background()).Completed(completed).CompletedAfter(completedAfter).CompletedBefore(completedBefore).Created(created).CreatedAfter(createdAfter).CreatedBefore(createdBefore).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Interval(interval).IntervalEmpty(intervalEmpty).IntervalGt(intervalGt).IntervalGte(intervalGte).IntervalLt(intervalLt).IntervalLte(intervalLte).IntervalN(intervalN).JobId(jobId).Limit(limit).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).ObjectId(objectId).ObjectIdEmpty(objectIdEmpty).ObjectIdGt(objectIdGt).ObjectIdGte(objectIdGte).ObjectIdLt(objectIdLt).ObjectIdLte(objectIdLte).ObjectIdN(objectIdN).ObjectType(objectType).ObjectTypeN(objectTypeN).Offset(offset).Ordering(ordering).Q(q).Scheduled(scheduled).ScheduledAfter(scheduledAfter).ScheduledBefore(scheduledBefore).Started(started).StartedAfter(startedAfter).StartedBefore(startedBefore).Status(status).StatusEmpty(statusEmpty).StatusIc(statusIc).StatusIe(statusIe).StatusIew(statusIew).StatusIsw(statusIsw).StatusN(statusN).StatusNic(statusNic).StatusNie(statusNie).StatusNiew(statusNiew).StatusNisw(statusNisw).User(user).UserN(userN).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `CoreAPI.CoreJobsList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -1262,7 +1309,16 @@ Name | Type | Description | Notes **startedAfter** | **time.Time** | | **startedBefore** | **time.Time** | | **status** | **[]string** | | - **statusN** | **[]string** | | + **statusEmpty** | **bool** | | + **statusIc** | [**[]CoreJobsListStatusIcParameterInner**](CoreJobsListStatusIcParameterInner.md) | * `pending` - Pending * `scheduled` - Scheduled * `running` - Running * `completed` - Completed * `errored` - Errored * `failed` - Failed | + **statusIe** | [**[]CoreJobsListStatusIcParameterInner**](CoreJobsListStatusIcParameterInner.md) | * `pending` - Pending * `scheduled` - Scheduled * `running` - Running * `completed` - Completed * `errored` - Errored * `failed` - Failed | + **statusIew** | [**[]CoreJobsListStatusIcParameterInner**](CoreJobsListStatusIcParameterInner.md) | * `pending` - Pending * `scheduled` - Scheduled * `running` - Running * `completed` - Completed * `errored` - Errored * `failed` - Failed | + **statusIsw** | [**[]CoreJobsListStatusIcParameterInner**](CoreJobsListStatusIcParameterInner.md) | * `pending` - Pending * `scheduled` - Scheduled * `running` - Running * `completed` - Completed * `errored` - Errored * `failed` - Failed | + **statusN** | [**[]CoreJobsListStatusIcParameterInner**](CoreJobsListStatusIcParameterInner.md) | * `pending` - Pending * `scheduled` - Scheduled * `running` - Running * `completed` - Completed * `errored` - Errored * `failed` - Failed | + **statusNic** | [**[]CoreJobsListStatusIcParameterInner**](CoreJobsListStatusIcParameterInner.md) | * `pending` - Pending * `scheduled` - Scheduled * `running` - Running * `completed` - Completed * `errored` - Errored * `failed` - Failed | + **statusNie** | [**[]CoreJobsListStatusIcParameterInner**](CoreJobsListStatusIcParameterInner.md) | * `pending` - Pending * `scheduled` - Scheduled * `running` - Running * `completed` - Completed * `errored` - Errored * `failed` - Failed | + **statusNiew** | [**[]CoreJobsListStatusIcParameterInner**](CoreJobsListStatusIcParameterInner.md) | * `pending` - Pending * `scheduled` - Scheduled * `running` - Running * `completed` - Completed * `errored` - Errored * `failed` - Failed | + **statusNisw** | [**[]CoreJobsListStatusIcParameterInner**](CoreJobsListStatusIcParameterInner.md) | * `pending` - Pending * `scheduled` - Scheduled * `running` - Running * `completed` - Completed * `errored` - Errored * `failed` - Failed | **user** | **int32** | | **userN** | **int32** | | @@ -1353,3 +1409,260 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +## CoreObjectChangesList + +> PaginatedObjectChangeList CoreObjectChangesList(ctx).Action(action).ChangedObjectId(changedObjectId).ChangedObjectIdEmpty(changedObjectIdEmpty).ChangedObjectIdGt(changedObjectIdGt).ChangedObjectIdGte(changedObjectIdGte).ChangedObjectIdLt(changedObjectIdLt).ChangedObjectIdLte(changedObjectIdLte).ChangedObjectIdN(changedObjectIdN).ChangedObjectType(changedObjectType).ChangedObjectTypeN(changedObjectTypeN).ChangedObjectTypeId(changedObjectTypeId).ChangedObjectTypeIdN(changedObjectTypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Limit(limit).ObjectRepr(objectRepr).ObjectReprEmpty(objectReprEmpty).ObjectReprIc(objectReprIc).ObjectReprIe(objectReprIe).ObjectReprIew(objectReprIew).ObjectReprIsw(objectReprIsw).ObjectReprN(objectReprN).ObjectReprNic(objectReprNic).ObjectReprNie(objectReprNie).ObjectReprNiew(objectReprNiew).ObjectReprNisw(objectReprNisw).Offset(offset).Ordering(ordering).Q(q).RelatedObjectId(relatedObjectId).RelatedObjectIdEmpty(relatedObjectIdEmpty).RelatedObjectIdGt(relatedObjectIdGt).RelatedObjectIdGte(relatedObjectIdGte).RelatedObjectIdLt(relatedObjectIdLt).RelatedObjectIdLte(relatedObjectIdLte).RelatedObjectIdN(relatedObjectIdN).RelatedObjectType(relatedObjectType).RelatedObjectTypeN(relatedObjectTypeN).RequestId(requestId).TimeAfter(timeAfter).TimeBefore(timeBefore).User(user).UserN(userN).UserId(userId).UserIdN(userIdN).UserName(userName).UserNameEmpty(userNameEmpty).UserNameIc(userNameIc).UserNameIe(userNameIe).UserNameIew(userNameIew).UserNameIsw(userNameIsw).UserNameN(userNameN).UserNameNic(userNameNic).UserNameNie(userNameNie).UserNameNiew(userNameNiew).UserNameNisw(userNameNisw).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + "time" + openapiclient "github.com/netbox-community/go-netbox/v4" +) + +func main() { + action := openapiclient.core_object_changes_list_action_parameter("create") // CoreObjectChangesListActionParameter | * `create` - Created * `update` - Updated * `delete` - Deleted (optional) + changedObjectId := []int32{int32(123)} // []int32 | (optional) + changedObjectIdEmpty := true // bool | (optional) + changedObjectIdGt := []int32{int32(123)} // []int32 | (optional) + changedObjectIdGte := []int32{int32(123)} // []int32 | (optional) + changedObjectIdLt := []int32{int32(123)} // []int32 | (optional) + changedObjectIdLte := []int32{int32(123)} // []int32 | (optional) + changedObjectIdN := []int32{int32(123)} // []int32 | (optional) + changedObjectType := "changedObjectType_example" // string | (optional) + changedObjectTypeN := "changedObjectTypeN_example" // string | (optional) + changedObjectTypeId := []int32{int32(123)} // []int32 | (optional) + changedObjectTypeIdN := []int32{int32(123)} // []int32 | (optional) + id := []int32{int32(123)} // []int32 | (optional) + idEmpty := true // bool | (optional) + idGt := []int32{int32(123)} // []int32 | (optional) + idGte := []int32{int32(123)} // []int32 | (optional) + idLt := []int32{int32(123)} // []int32 | (optional) + idLte := []int32{int32(123)} // []int32 | (optional) + idN := []int32{int32(123)} // []int32 | (optional) + limit := int32(56) // int32 | Number of results to return per page. (optional) + objectRepr := []string{"Inner_example"} // []string | (optional) + objectReprEmpty := true // bool | (optional) + objectReprIc := []string{"Inner_example"} // []string | (optional) + objectReprIe := []string{"Inner_example"} // []string | (optional) + objectReprIew := []string{"Inner_example"} // []string | (optional) + objectReprIsw := []string{"Inner_example"} // []string | (optional) + objectReprN := []string{"Inner_example"} // []string | (optional) + objectReprNic := []string{"Inner_example"} // []string | (optional) + objectReprNie := []string{"Inner_example"} // []string | (optional) + objectReprNiew := []string{"Inner_example"} // []string | (optional) + objectReprNisw := []string{"Inner_example"} // []string | (optional) + offset := int32(56) // int32 | The initial index from which to return the results. (optional) + ordering := "ordering_example" // string | Which field to use when ordering the results. (optional) + q := "q_example" // string | Search (optional) + relatedObjectId := []int32{int32(123)} // []int32 | (optional) + relatedObjectIdEmpty := true // bool | (optional) + relatedObjectIdGt := []int32{int32(123)} // []int32 | (optional) + relatedObjectIdGte := []int32{int32(123)} // []int32 | (optional) + relatedObjectIdLt := []int32{int32(123)} // []int32 | (optional) + relatedObjectIdLte := []int32{int32(123)} // []int32 | (optional) + relatedObjectIdN := []int32{int32(123)} // []int32 | (optional) + relatedObjectType := int32(56) // int32 | (optional) + relatedObjectTypeN := int32(56) // int32 | (optional) + requestId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) + timeAfter := time.Now() // time.Time | (optional) + timeBefore := time.Now() // time.Time | (optional) + user := []string{"Inner_example"} // []string | User name (optional) + userN := []string{"Inner_example"} // []string | User name (optional) + userId := []*int32{int32(123)} // []*int32 | User (ID) (optional) + userIdN := []*int32{int32(123)} // []*int32 | User (ID) (optional) + userName := []string{"Inner_example"} // []string | (optional) + userNameEmpty := true // bool | (optional) + userNameIc := []string{"Inner_example"} // []string | (optional) + userNameIe := []string{"Inner_example"} // []string | (optional) + userNameIew := []string{"Inner_example"} // []string | (optional) + userNameIsw := []string{"Inner_example"} // []string | (optional) + userNameN := []string{"Inner_example"} // []string | (optional) + userNameNic := []string{"Inner_example"} // []string | (optional) + userNameNie := []string{"Inner_example"} // []string | (optional) + userNameNiew := []string{"Inner_example"} // []string | (optional) + userNameNisw := []string{"Inner_example"} // []string | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.CoreAPI.CoreObjectChangesList(context.Background()).Action(action).ChangedObjectId(changedObjectId).ChangedObjectIdEmpty(changedObjectIdEmpty).ChangedObjectIdGt(changedObjectIdGt).ChangedObjectIdGte(changedObjectIdGte).ChangedObjectIdLt(changedObjectIdLt).ChangedObjectIdLte(changedObjectIdLte).ChangedObjectIdN(changedObjectIdN).ChangedObjectType(changedObjectType).ChangedObjectTypeN(changedObjectTypeN).ChangedObjectTypeId(changedObjectTypeId).ChangedObjectTypeIdN(changedObjectTypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Limit(limit).ObjectRepr(objectRepr).ObjectReprEmpty(objectReprEmpty).ObjectReprIc(objectReprIc).ObjectReprIe(objectReprIe).ObjectReprIew(objectReprIew).ObjectReprIsw(objectReprIsw).ObjectReprN(objectReprN).ObjectReprNic(objectReprNic).ObjectReprNie(objectReprNie).ObjectReprNiew(objectReprNiew).ObjectReprNisw(objectReprNisw).Offset(offset).Ordering(ordering).Q(q).RelatedObjectId(relatedObjectId).RelatedObjectIdEmpty(relatedObjectIdEmpty).RelatedObjectIdGt(relatedObjectIdGt).RelatedObjectIdGte(relatedObjectIdGte).RelatedObjectIdLt(relatedObjectIdLt).RelatedObjectIdLte(relatedObjectIdLte).RelatedObjectIdN(relatedObjectIdN).RelatedObjectType(relatedObjectType).RelatedObjectTypeN(relatedObjectTypeN).RequestId(requestId).TimeAfter(timeAfter).TimeBefore(timeBefore).User(user).UserN(userN).UserId(userId).UserIdN(userIdN).UserName(userName).UserNameEmpty(userNameEmpty).UserNameIc(userNameIc).UserNameIe(userNameIe).UserNameIew(userNameIew).UserNameIsw(userNameIsw).UserNameN(userNameN).UserNameNic(userNameNic).UserNameNie(userNameNie).UserNameNiew(userNameNiew).UserNameNisw(userNameNisw).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `CoreAPI.CoreObjectChangesList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `CoreObjectChangesList`: PaginatedObjectChangeList + fmt.Fprintf(os.Stdout, "Response from `CoreAPI.CoreObjectChangesList`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiCoreObjectChangesListRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **action** | [**CoreObjectChangesListActionParameter**](CoreObjectChangesListActionParameter.md) | * `create` - Created * `update` - Updated * `delete` - Deleted | + **changedObjectId** | **[]int32** | | + **changedObjectIdEmpty** | **bool** | | + **changedObjectIdGt** | **[]int32** | | + **changedObjectIdGte** | **[]int32** | | + **changedObjectIdLt** | **[]int32** | | + **changedObjectIdLte** | **[]int32** | | + **changedObjectIdN** | **[]int32** | | + **changedObjectType** | **string** | | + **changedObjectTypeN** | **string** | | + **changedObjectTypeId** | **[]int32** | | + **changedObjectTypeIdN** | **[]int32** | | + **id** | **[]int32** | | + **idEmpty** | **bool** | | + **idGt** | **[]int32** | | + **idGte** | **[]int32** | | + **idLt** | **[]int32** | | + **idLte** | **[]int32** | | + **idN** | **[]int32** | | + **limit** | **int32** | Number of results to return per page. | + **objectRepr** | **[]string** | | + **objectReprEmpty** | **bool** | | + **objectReprIc** | **[]string** | | + **objectReprIe** | **[]string** | | + **objectReprIew** | **[]string** | | + **objectReprIsw** | **[]string** | | + **objectReprN** | **[]string** | | + **objectReprNic** | **[]string** | | + **objectReprNie** | **[]string** | | + **objectReprNiew** | **[]string** | | + **objectReprNisw** | **[]string** | | + **offset** | **int32** | The initial index from which to return the results. | + **ordering** | **string** | Which field to use when ordering the results. | + **q** | **string** | Search | + **relatedObjectId** | **[]int32** | | + **relatedObjectIdEmpty** | **bool** | | + **relatedObjectIdGt** | **[]int32** | | + **relatedObjectIdGte** | **[]int32** | | + **relatedObjectIdLt** | **[]int32** | | + **relatedObjectIdLte** | **[]int32** | | + **relatedObjectIdN** | **[]int32** | | + **relatedObjectType** | **int32** | | + **relatedObjectTypeN** | **int32** | | + **requestId** | **string** | | + **timeAfter** | **time.Time** | | + **timeBefore** | **time.Time** | | + **user** | **[]string** | User name | + **userN** | **[]string** | User name | + **userId** | **[]int32** | User (ID) | + **userIdN** | **[]int32** | User (ID) | + **userName** | **[]string** | | + **userNameEmpty** | **bool** | | + **userNameIc** | **[]string** | | + **userNameIe** | **[]string** | | + **userNameIew** | **[]string** | | + **userNameIsw** | **[]string** | | + **userNameN** | **[]string** | | + **userNameNic** | **[]string** | | + **userNameNie** | **[]string** | | + **userNameNiew** | **[]string** | | + **userNameNisw** | **[]string** | | + +### Return type + +[**PaginatedObjectChangeList**](PaginatedObjectChangeList.md) + +### Authorization + +[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## CoreObjectChangesRetrieve + +> ObjectChange CoreObjectChangesRetrieve(ctx, id).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/netbox-community/go-netbox/v4" +) + +func main() { + id := int32(56) // int32 | A unique integer value identifying this object change. + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.CoreAPI.CoreObjectChangesRetrieve(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `CoreAPI.CoreObjectChangesRetrieve``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `CoreObjectChangesRetrieve`: ObjectChange + fmt.Fprintf(os.Stdout, "Response from `CoreAPI.CoreObjectChangesRetrieve`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | A unique integer value identifying this object change. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiCoreObjectChangesRetrieveRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + +[**ObjectChange**](ObjectChange.md) + +### Authorization + +[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[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/CoreJobsListStatusIcParameterInner.md b/docs/CoreJobsListStatusIcParameterInner.md new file mode 100644 index 000000000..ec42b984b --- /dev/null +++ b/docs/CoreJobsListStatusIcParameterInner.md @@ -0,0 +1,21 @@ +# CoreJobsListStatusIcParameterInner + +## Enum + + +* `COMPLETED` (value: `"completed"`) + +* `ERRORED` (value: `"errored"`) + +* `FAILED` (value: `"failed"`) + +* `PENDING` (value: `"pending"`) + +* `RUNNING` (value: `"running"`) + +* `SCHEDULED` (value: `"scheduled"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CoreObjectChangesListActionParameter.md b/docs/CoreObjectChangesListActionParameter.md new file mode 100644 index 000000000..3e5e393d7 --- /dev/null +++ b/docs/CoreObjectChangesListActionParameter.md @@ -0,0 +1,15 @@ +# CoreObjectChangesListActionParameter + +## Enum + + +* `CREATE` (value: `"create"`) + +* `DELETE` (value: `"delete"`) + +* `UPDATE` (value: `"update"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CustomField.md b/docs/CustomField.md index 58a8f8771..518643ee9 100644 --- a/docs/CustomField.md +++ b/docs/CustomField.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **ObjectTypes** | **[]string** | | **Type** | [**CustomFieldType**](CustomFieldType.md) | | @@ -15,18 +16,20 @@ Name | Type | Description | Notes **Label** | Pointer to **string** | Name of the field as displayed to users (if not provided, 'the field's name will be used) | [optional] **GroupName** | Pointer to **string** | Custom fields within the same group will be displayed together | [optional] **Description** | Pointer to **string** | | [optional] -**Required** | Pointer to **bool** | If true, this field is required when creating new objects or editing an existing object. | [optional] +**Required** | Pointer to **bool** | This field is required when creating new objects or editing an existing object. | [optional] +**Unique** | Pointer to **bool** | The value of this field must be unique for the assigned object | [optional] **SearchWeight** | Pointer to **int32** | Weighting for search. Lower values are considered more important. Fields with a search weight of zero will be ignored. | [optional] **FilterLogic** | Pointer to [**CustomFieldFilterLogic**](CustomFieldFilterLogic.md) | | [optional] **UiVisible** | Pointer to [**CustomFieldUiVisible**](CustomFieldUiVisible.md) | | [optional] **UiEditable** | Pointer to [**CustomFieldUiEditable**](CustomFieldUiEditable.md) | | [optional] **IsCloneable** | Pointer to **bool** | Replicate this value when cloning objects | [optional] **Default** | Pointer to **interface{}** | Default value for the field (must be a JSON value). Encapsulate strings with double quotes (e.g. \"Foo\"). | [optional] +**RelatedObjectFilter** | Pointer to **interface{}** | Filter the object selection choices using a query_params dict (must be a JSON value).Encapsulate strings with double quotes (e.g. \"Foo\"). | [optional] **Weight** | Pointer to **int32** | Fields with higher weights appear lower in a form. | [optional] **ValidationMinimum** | Pointer to **NullableInt64** | Minimum allowed value (for numeric fields) | [optional] **ValidationMaximum** | Pointer to **NullableInt64** | Maximum allowed value (for numeric fields) | [optional] **ValidationRegex** | Pointer to **string** | Regular expression to enforce on text field values. Use ^ and $ to force matching of entire string. For example, <code>^[A-Z]{3}$</code> will limit values to exactly three uppercase letters. | [optional] -**ChoiceSet** | Pointer to [**NullableCustomFieldChoiceSet**](CustomFieldChoiceSet.md) | | [optional] +**ChoiceSet** | Pointer to [**NullableBriefCustomFieldChoiceSet**](BriefCustomFieldChoiceSet.md) | | [optional] **Comments** | Pointer to **string** | | [optional] **Created** | **NullableTime** | | [readonly] **LastUpdated** | **NullableTime** | | [readonly] @@ -90,6 +93,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *CustomField) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *CustomField) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *CustomField) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *CustomField) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *CustomField) GetDisplay() string` @@ -325,6 +353,31 @@ SetRequired sets Required field to given value. HasRequired returns a boolean if a field has been set. +### GetUnique + +`func (o *CustomField) GetUnique() bool` + +GetUnique returns the Unique field if non-nil, zero value otherwise. + +### GetUniqueOk + +`func (o *CustomField) GetUniqueOk() (*bool, bool)` + +GetUniqueOk returns a tuple with the Unique field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUnique + +`func (o *CustomField) SetUnique(v bool)` + +SetUnique sets Unique field to given value. + +### HasUnique + +`func (o *CustomField) HasUnique() bool` + +HasUnique returns a boolean if a field has been set. + ### GetSearchWeight `func (o *CustomField) GetSearchWeight() int32` @@ -485,6 +538,41 @@ HasDefault returns a boolean if a field has been set. `func (o *CustomField) UnsetDefault()` UnsetDefault ensures that no value is present for Default, not even an explicit nil +### GetRelatedObjectFilter + +`func (o *CustomField) GetRelatedObjectFilter() interface{}` + +GetRelatedObjectFilter returns the RelatedObjectFilter field if non-nil, zero value otherwise. + +### GetRelatedObjectFilterOk + +`func (o *CustomField) GetRelatedObjectFilterOk() (*interface{}, bool)` + +GetRelatedObjectFilterOk returns a tuple with the RelatedObjectFilter field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRelatedObjectFilter + +`func (o *CustomField) SetRelatedObjectFilter(v interface{})` + +SetRelatedObjectFilter sets RelatedObjectFilter field to given value. + +### HasRelatedObjectFilter + +`func (o *CustomField) HasRelatedObjectFilter() bool` + +HasRelatedObjectFilter returns a boolean if a field has been set. + +### SetRelatedObjectFilterNil + +`func (o *CustomField) SetRelatedObjectFilterNil(b bool)` + + SetRelatedObjectFilterNil sets the value for RelatedObjectFilter to be an explicit nil + +### UnsetRelatedObjectFilter +`func (o *CustomField) UnsetRelatedObjectFilter()` + +UnsetRelatedObjectFilter ensures that no value is present for RelatedObjectFilter, not even an explicit nil ### GetWeight `func (o *CustomField) GetWeight() int32` @@ -607,20 +695,20 @@ HasValidationRegex returns a boolean if a field has been set. ### GetChoiceSet -`func (o *CustomField) GetChoiceSet() CustomFieldChoiceSet` +`func (o *CustomField) GetChoiceSet() BriefCustomFieldChoiceSet` GetChoiceSet returns the ChoiceSet field if non-nil, zero value otherwise. ### GetChoiceSetOk -`func (o *CustomField) GetChoiceSetOk() (*CustomFieldChoiceSet, bool)` +`func (o *CustomField) GetChoiceSetOk() (*BriefCustomFieldChoiceSet, bool)` GetChoiceSetOk returns a tuple with the ChoiceSet field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChoiceSet -`func (o *CustomField) SetChoiceSet(v CustomFieldChoiceSet)` +`func (o *CustomField) SetChoiceSet(v BriefCustomFieldChoiceSet)` SetChoiceSet sets ChoiceSet field to given value. diff --git a/docs/CustomFieldChoiceSet.md b/docs/CustomFieldChoiceSet.md index ebc8229ca..d274de05f 100644 --- a/docs/CustomFieldChoiceSet.md +++ b/docs/CustomFieldChoiceSet.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Name** | **string** | | **Description** | Pointer to **string** | | [optional] @@ -75,6 +76,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *CustomFieldChoiceSet) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *CustomFieldChoiceSet) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *CustomFieldChoiceSet) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *CustomFieldChoiceSet) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *CustomFieldChoiceSet) GetDisplay() string` diff --git a/docs/CustomFieldRequest.md b/docs/CustomFieldRequest.md index ab9dfbfd1..e9b2185ec 100644 --- a/docs/CustomFieldRequest.md +++ b/docs/CustomFieldRequest.md @@ -11,18 +11,20 @@ Name | Type | Description | Notes **Label** | Pointer to **string** | Name of the field as displayed to users (if not provided, 'the field's name will be used) | [optional] **GroupName** | Pointer to **string** | Custom fields within the same group will be displayed together | [optional] **Description** | Pointer to **string** | | [optional] -**Required** | Pointer to **bool** | If true, this field is required when creating new objects or editing an existing object. | [optional] +**Required** | Pointer to **bool** | This field is required when creating new objects or editing an existing object. | [optional] +**Unique** | Pointer to **bool** | The value of this field must be unique for the assigned object | [optional] **SearchWeight** | Pointer to **int32** | Weighting for search. Lower values are considered more important. Fields with a search weight of zero will be ignored. | [optional] **FilterLogic** | Pointer to [**CustomFieldFilterLogicValue**](CustomFieldFilterLogicValue.md) | | [optional] **UiVisible** | Pointer to [**CustomFieldUiVisibleValue**](CustomFieldUiVisibleValue.md) | | [optional] **UiEditable** | Pointer to [**CustomFieldUiEditableValue**](CustomFieldUiEditableValue.md) | | [optional] **IsCloneable** | Pointer to **bool** | Replicate this value when cloning objects | [optional] **Default** | Pointer to **interface{}** | Default value for the field (must be a JSON value). Encapsulate strings with double quotes (e.g. \"Foo\"). | [optional] +**RelatedObjectFilter** | Pointer to **interface{}** | Filter the object selection choices using a query_params dict (must be a JSON value).Encapsulate strings with double quotes (e.g. \"Foo\"). | [optional] **Weight** | Pointer to **int32** | Fields with higher weights appear lower in a form. | [optional] **ValidationMinimum** | Pointer to **NullableInt64** | Minimum allowed value (for numeric fields) | [optional] **ValidationMaximum** | Pointer to **NullableInt64** | Maximum allowed value (for numeric fields) | [optional] **ValidationRegex** | Pointer to **string** | Regular expression to enforce on text field values. Use ^ and $ to force matching of entire string. For example, <code>^[A-Z]{3}$</code> will limit values to exactly three uppercase letters. | [optional] -**ChoiceSet** | Pointer to [**NullableCustomFieldChoiceSetRequest**](CustomFieldChoiceSetRequest.md) | | [optional] +**ChoiceSet** | Pointer to [**NullableBriefCustomFieldChoiceSetRequest**](BriefCustomFieldChoiceSetRequest.md) | | [optional] **Comments** | Pointer to **string** | | [optional] ## Methods @@ -239,6 +241,31 @@ SetRequired sets Required field to given value. HasRequired returns a boolean if a field has been set. +### GetUnique + +`func (o *CustomFieldRequest) GetUnique() bool` + +GetUnique returns the Unique field if non-nil, zero value otherwise. + +### GetUniqueOk + +`func (o *CustomFieldRequest) GetUniqueOk() (*bool, bool)` + +GetUniqueOk returns a tuple with the Unique field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUnique + +`func (o *CustomFieldRequest) SetUnique(v bool)` + +SetUnique sets Unique field to given value. + +### HasUnique + +`func (o *CustomFieldRequest) HasUnique() bool` + +HasUnique returns a boolean if a field has been set. + ### GetSearchWeight `func (o *CustomFieldRequest) GetSearchWeight() int32` @@ -399,6 +426,41 @@ HasDefault returns a boolean if a field has been set. `func (o *CustomFieldRequest) UnsetDefault()` UnsetDefault ensures that no value is present for Default, not even an explicit nil +### GetRelatedObjectFilter + +`func (o *CustomFieldRequest) GetRelatedObjectFilter() interface{}` + +GetRelatedObjectFilter returns the RelatedObjectFilter field if non-nil, zero value otherwise. + +### GetRelatedObjectFilterOk + +`func (o *CustomFieldRequest) GetRelatedObjectFilterOk() (*interface{}, bool)` + +GetRelatedObjectFilterOk returns a tuple with the RelatedObjectFilter field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRelatedObjectFilter + +`func (o *CustomFieldRequest) SetRelatedObjectFilter(v interface{})` + +SetRelatedObjectFilter sets RelatedObjectFilter field to given value. + +### HasRelatedObjectFilter + +`func (o *CustomFieldRequest) HasRelatedObjectFilter() bool` + +HasRelatedObjectFilter returns a boolean if a field has been set. + +### SetRelatedObjectFilterNil + +`func (o *CustomFieldRequest) SetRelatedObjectFilterNil(b bool)` + + SetRelatedObjectFilterNil sets the value for RelatedObjectFilter to be an explicit nil + +### UnsetRelatedObjectFilter +`func (o *CustomFieldRequest) UnsetRelatedObjectFilter()` + +UnsetRelatedObjectFilter ensures that no value is present for RelatedObjectFilter, not even an explicit nil ### GetWeight `func (o *CustomFieldRequest) GetWeight() int32` @@ -521,20 +583,20 @@ HasValidationRegex returns a boolean if a field has been set. ### GetChoiceSet -`func (o *CustomFieldRequest) GetChoiceSet() CustomFieldChoiceSetRequest` +`func (o *CustomFieldRequest) GetChoiceSet() BriefCustomFieldChoiceSetRequest` GetChoiceSet returns the ChoiceSet field if non-nil, zero value otherwise. ### GetChoiceSetOk -`func (o *CustomFieldRequest) GetChoiceSetOk() (*CustomFieldChoiceSetRequest, bool)` +`func (o *CustomFieldRequest) GetChoiceSetOk() (*BriefCustomFieldChoiceSetRequest, bool)` GetChoiceSetOk returns a tuple with the ChoiceSet field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChoiceSet -`func (o *CustomFieldRequest) SetChoiceSet(v CustomFieldChoiceSetRequest)` +`func (o *CustomFieldRequest) SetChoiceSet(v BriefCustomFieldChoiceSetRequest)` SetChoiceSet sets ChoiceSet field to given value. diff --git a/docs/CustomLink.md b/docs/CustomLink.md index c2b8e12ea..51b4a34b5 100644 --- a/docs/CustomLink.md +++ b/docs/CustomLink.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **ObjectTypes** | **[]string** | | **Name** | **string** | | @@ -78,6 +79,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *CustomLink) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *CustomLink) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *CustomLink) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *CustomLink) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *CustomLink) GetDisplay() string` diff --git a/docs/CustomLinkButtonClass.md b/docs/CustomLinkButtonClass.md index f62db6217..bf68c5956 100644 --- a/docs/CustomLinkButtonClass.md +++ b/docs/CustomLinkButtonClass.md @@ -3,7 +3,7 @@ ## Enum -* `OUTLINE_DARK` (value: `"outline-dark"`) +* `DEFAULT` (value: `"default"`) * `BLUE` (value: `"blue"`) diff --git a/docs/DataFile.md b/docs/DataFile.md index a332d29cb..81f2e0f93 100644 --- a/docs/DataFile.md +++ b/docs/DataFile.md @@ -6,8 +6,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] -**Source** | [**DataSource**](DataSource.md) | | [readonly] +**Source** | [**BriefDataSource**](BriefDataSource.md) | | [readonly] **Path** | **string** | File path relative to the data source's root | [readonly] **LastUpdated** | **time.Time** | | [readonly] **Size** | **int32** | | [readonly] @@ -17,7 +18,7 @@ Name | Type | Description | Notes ### NewDataFile -`func NewDataFile(id int32, url string, display string, source DataSource, path string, lastUpdated time.Time, size int32, hash string, ) *DataFile` +`func NewDataFile(id int32, url string, display string, source BriefDataSource, path string, lastUpdated time.Time, size int32, hash string, ) *DataFile` NewDataFile instantiates a new DataFile object This constructor will assign default values to properties that have it defined, @@ -72,6 +73,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *DataFile) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *DataFile) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *DataFile) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *DataFile) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *DataFile) GetDisplay() string` @@ -94,20 +120,20 @@ SetDisplay sets Display field to given value. ### GetSource -`func (o *DataFile) GetSource() DataSource` +`func (o *DataFile) GetSource() BriefDataSource` GetSource returns the Source field if non-nil, zero value otherwise. ### GetSourceOk -`func (o *DataFile) GetSourceOk() (*DataSource, bool)` +`func (o *DataFile) GetSourceOk() (*BriefDataSource, bool)` GetSourceOk returns a tuple with the Source field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSource -`func (o *DataFile) SetSource(v DataSource)` +`func (o *DataFile) SetSource(v BriefDataSource)` SetSource sets Source field to given value. diff --git a/docs/DataSource.md b/docs/DataSource.md index 0768fd476..9ec944dbd 100644 --- a/docs/DataSource.md +++ b/docs/DataSource.md @@ -6,15 +6,28 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Name** | **string** | | +**Type** | [**DataSourceType**](DataSourceType.md) | | +**SourceUrl** | **string** | | +**Enabled** | Pointer to **bool** | | [optional] +**Status** | [**DataSourceStatus**](DataSourceStatus.md) | | **Description** | Pointer to **string** | | [optional] +**Parameters** | Pointer to **interface{}** | | [optional] +**IgnoreRules** | Pointer to **string** | Patterns (one per line) matching files to ignore when syncing | [optional] +**Comments** | Pointer to **string** | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] +**Created** | **NullableTime** | | [readonly] +**LastUpdated** | **NullableTime** | | [readonly] +**LastSynced** | **NullableTime** | | [readonly] +**FileCount** | **int64** | | [readonly] ## Methods ### NewDataSource -`func NewDataSource(id int32, url string, display string, name string, ) *DataSource` +`func NewDataSource(id int32, url string, display string, name string, type_ DataSourceType, sourceUrl string, status DataSourceStatus, created NullableTime, lastUpdated NullableTime, lastSynced NullableTime, fileCount int64, ) *DataSource` NewDataSource instantiates a new DataSource object This constructor will assign default values to properties that have it defined, @@ -69,6 +82,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *DataSource) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *DataSource) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *DataSource) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *DataSource) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *DataSource) GetDisplay() string` @@ -109,6 +147,91 @@ and a boolean to check if the value has been set. SetName sets Name field to given value. +### GetType + +`func (o *DataSource) GetType() DataSourceType` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *DataSource) GetTypeOk() (*DataSourceType, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *DataSource) SetType(v DataSourceType)` + +SetType sets Type field to given value. + + +### GetSourceUrl + +`func (o *DataSource) GetSourceUrl() string` + +GetSourceUrl returns the SourceUrl field if non-nil, zero value otherwise. + +### GetSourceUrlOk + +`func (o *DataSource) GetSourceUrlOk() (*string, bool)` + +GetSourceUrlOk returns a tuple with the SourceUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSourceUrl + +`func (o *DataSource) SetSourceUrl(v string)` + +SetSourceUrl sets SourceUrl field to given value. + + +### GetEnabled + +`func (o *DataSource) GetEnabled() bool` + +GetEnabled returns the Enabled field if non-nil, zero value otherwise. + +### GetEnabledOk + +`func (o *DataSource) 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 *DataSource) SetEnabled(v bool)` + +SetEnabled sets Enabled field to given value. + +### HasEnabled + +`func (o *DataSource) HasEnabled() bool` + +HasEnabled returns a boolean if a field has been set. + +### GetStatus + +`func (o *DataSource) GetStatus() DataSourceStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *DataSource) GetStatusOk() (*DataSourceStatus, 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 *DataSource) SetStatus(v DataSourceStatus)` + +SetStatus sets Status field to given value. + + ### GetDescription `func (o *DataSource) GetDescription() string` @@ -134,6 +257,226 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetParameters + +`func (o *DataSource) GetParameters() interface{}` + +GetParameters returns the Parameters field if non-nil, zero value otherwise. + +### GetParametersOk + +`func (o *DataSource) GetParametersOk() (*interface{}, bool)` + +GetParametersOk returns a tuple with the Parameters field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetParameters + +`func (o *DataSource) SetParameters(v interface{})` + +SetParameters sets Parameters field to given value. + +### HasParameters + +`func (o *DataSource) HasParameters() bool` + +HasParameters returns a boolean if a field has been set. + +### SetParametersNil + +`func (o *DataSource) SetParametersNil(b bool)` + + SetParametersNil sets the value for Parameters to be an explicit nil + +### UnsetParameters +`func (o *DataSource) UnsetParameters()` + +UnsetParameters ensures that no value is present for Parameters, not even an explicit nil +### GetIgnoreRules + +`func (o *DataSource) GetIgnoreRules() string` + +GetIgnoreRules returns the IgnoreRules field if non-nil, zero value otherwise. + +### GetIgnoreRulesOk + +`func (o *DataSource) GetIgnoreRulesOk() (*string, bool)` + +GetIgnoreRulesOk returns a tuple with the IgnoreRules field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIgnoreRules + +`func (o *DataSource) SetIgnoreRules(v string)` + +SetIgnoreRules sets IgnoreRules field to given value. + +### HasIgnoreRules + +`func (o *DataSource) HasIgnoreRules() bool` + +HasIgnoreRules returns a boolean if a field has been set. + +### GetComments + +`func (o *DataSource) GetComments() string` + +GetComments returns the Comments field if non-nil, zero value otherwise. + +### GetCommentsOk + +`func (o *DataSource) GetCommentsOk() (*string, bool)` + +GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComments + +`func (o *DataSource) SetComments(v string)` + +SetComments sets Comments field to given value. + +### HasComments + +`func (o *DataSource) HasComments() bool` + +HasComments returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *DataSource) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *DataSource) 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 *DataSource) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *DataSource) HasCustomFields() bool` + +HasCustomFields returns a boolean if a field has been set. + +### GetCreated + +`func (o *DataSource) GetCreated() time.Time` + +GetCreated returns the Created field if non-nil, zero value otherwise. + +### GetCreatedOk + +`func (o *DataSource) 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 *DataSource) SetCreated(v time.Time)` + +SetCreated sets Created field to given value. + + +### SetCreatedNil + +`func (o *DataSource) SetCreatedNil(b bool)` + + SetCreatedNil sets the value for Created to be an explicit nil + +### UnsetCreated +`func (o *DataSource) UnsetCreated()` + +UnsetCreated ensures that no value is present for Created, not even an explicit nil +### GetLastUpdated + +`func (o *DataSource) GetLastUpdated() time.Time` + +GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise. + +### GetLastUpdatedOk + +`func (o *DataSource) 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 *DataSource) SetLastUpdated(v time.Time)` + +SetLastUpdated sets LastUpdated field to given value. + + +### SetLastUpdatedNil + +`func (o *DataSource) SetLastUpdatedNil(b bool)` + + SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil + +### UnsetLastUpdated +`func (o *DataSource) UnsetLastUpdated()` + +UnsetLastUpdated ensures that no value is present for LastUpdated, not even an explicit nil +### GetLastSynced + +`func (o *DataSource) GetLastSynced() time.Time` + +GetLastSynced returns the LastSynced field if non-nil, zero value otherwise. + +### GetLastSyncedOk + +`func (o *DataSource) GetLastSyncedOk() (*time.Time, bool)` + +GetLastSyncedOk returns a tuple with the LastSynced field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLastSynced + +`func (o *DataSource) SetLastSynced(v time.Time)` + +SetLastSynced sets LastSynced field to given value. + + +### SetLastSyncedNil + +`func (o *DataSource) SetLastSyncedNil(b bool)` + + SetLastSyncedNil sets the value for LastSynced to be an explicit nil + +### UnsetLastSynced +`func (o *DataSource) UnsetLastSynced()` + +UnsetLastSynced ensures that no value is present for LastSynced, not even an explicit nil +### GetFileCount + +`func (o *DataSource) GetFileCount() int64` + +GetFileCount returns the FileCount field if non-nil, zero value otherwise. + +### GetFileCountOk + +`func (o *DataSource) GetFileCountOk() (*int64, bool)` + +GetFileCountOk returns a tuple with the FileCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFileCount + +`func (o *DataSource) SetFileCount(v int64)` + +SetFileCount sets FileCount 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/DataSourceRequest.md b/docs/DataSourceRequest.md index f9f23e255..8aad888e3 100644 --- a/docs/DataSourceRequest.md +++ b/docs/DataSourceRequest.md @@ -5,20 +5,20 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | **string** | | -**Type** | [**DataSourceRequestType**](DataSourceRequestType.md) | | +**Type** | [**DataSourceTypeValue**](DataSourceTypeValue.md) | | **SourceUrl** | **string** | | **Enabled** | Pointer to **bool** | | [optional] **Description** | Pointer to **string** | | [optional] -**Comments** | Pointer to **string** | | [optional] **Parameters** | Pointer to **interface{}** | | [optional] **IgnoreRules** | Pointer to **string** | Patterns (one per line) matching files to ignore when syncing | [optional] +**Comments** | Pointer to **string** | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] ## Methods ### NewDataSourceRequest -`func NewDataSourceRequest(name string, type_ DataSourceRequestType, sourceUrl string, ) *DataSourceRequest` +`func NewDataSourceRequest(name string, type_ DataSourceTypeValue, sourceUrl string, ) *DataSourceRequest` NewDataSourceRequest instantiates a new DataSourceRequest object This constructor will assign default values to properties that have it defined, @@ -55,20 +55,20 @@ SetName sets Name field to given value. ### GetType -`func (o *DataSourceRequest) GetType() DataSourceRequestType` +`func (o *DataSourceRequest) GetType() DataSourceTypeValue` GetType returns the Type field if non-nil, zero value otherwise. ### GetTypeOk -`func (o *DataSourceRequest) GetTypeOk() (*DataSourceRequestType, bool)` +`func (o *DataSourceRequest) GetTypeOk() (*DataSourceTypeValue, bool)` GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetType -`func (o *DataSourceRequest) SetType(v DataSourceRequestType)` +`func (o *DataSourceRequest) SetType(v DataSourceTypeValue)` SetType sets Type field to given value. @@ -143,31 +143,6 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. -### GetComments - -`func (o *DataSourceRequest) GetComments() string` - -GetComments returns the Comments field if non-nil, zero value otherwise. - -### GetCommentsOk - -`func (o *DataSourceRequest) GetCommentsOk() (*string, bool)` - -GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetComments - -`func (o *DataSourceRequest) SetComments(v string)` - -SetComments sets Comments field to given value. - -### HasComments - -`func (o *DataSourceRequest) HasComments() bool` - -HasComments returns a boolean if a field has been set. - ### GetParameters `func (o *DataSourceRequest) GetParameters() interface{}` @@ -228,6 +203,31 @@ SetIgnoreRules sets IgnoreRules field to given value. HasIgnoreRules returns a boolean if a field has been set. +### GetComments + +`func (o *DataSourceRequest) GetComments() string` + +GetComments returns the Comments field if non-nil, zero value otherwise. + +### GetCommentsOk + +`func (o *DataSourceRequest) GetCommentsOk() (*string, bool)` + +GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComments + +`func (o *DataSourceRequest) SetComments(v string)` + +SetComments sets Comments field to given value. + +### HasComments + +`func (o *DataSourceRequest) HasComments() bool` + +HasComments returns a boolean if a field has been set. + ### GetCustomFields `func (o *DataSourceRequest) GetCustomFields() map[string]interface{}` diff --git a/docs/DataSourceStatus.md b/docs/DataSourceStatus.md new file mode 100644 index 000000000..bb83baf4a --- /dev/null +++ b/docs/DataSourceStatus.md @@ -0,0 +1,82 @@ +# DataSourceStatus + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Value** | Pointer to [**DataSourceStatusValue**](DataSourceStatusValue.md) | | [optional] +**Label** | Pointer to [**DataSourceStatusLabel**](DataSourceStatusLabel.md) | | [optional] + +## Methods + +### NewDataSourceStatus + +`func NewDataSourceStatus() *DataSourceStatus` + +NewDataSourceStatus instantiates a new DataSourceStatus object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDataSourceStatusWithDefaults + +`func NewDataSourceStatusWithDefaults() *DataSourceStatus` + +NewDataSourceStatusWithDefaults instantiates a new DataSourceStatus object +This 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 *DataSourceStatus) GetValue() DataSourceStatusValue` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *DataSourceStatus) GetValueOk() (*DataSourceStatusValue, 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 *DataSourceStatus) SetValue(v DataSourceStatusValue)` + +SetValue sets Value field to given value. + +### HasValue + +`func (o *DataSourceStatus) HasValue() bool` + +HasValue returns a boolean if a field has been set. + +### GetLabel + +`func (o *DataSourceStatus) GetLabel() DataSourceStatusLabel` + +GetLabel returns the Label field if non-nil, zero value otherwise. + +### GetLabelOk + +`func (o *DataSourceStatus) GetLabelOk() (*DataSourceStatusLabel, 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 *DataSourceStatus) SetLabel(v DataSourceStatusLabel)` + +SetLabel sets Label field to given value. + +### HasLabel + +`func (o *DataSourceStatus) 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/DataSourceStatusLabel.md b/docs/DataSourceStatusLabel.md new file mode 100644 index 000000000..09a777b52 --- /dev/null +++ b/docs/DataSourceStatusLabel.md @@ -0,0 +1,19 @@ +# DataSourceStatusLabel + +## Enum + + +* `NEW` (value: `"New"`) + +* `QUEUED` (value: `"Queued"`) + +* `SYNCING` (value: `"Syncing"`) + +* `COMPLETED` (value: `"Completed"`) + +* `FAILED` (value: `"Failed"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DataSourceStatusValue.md b/docs/DataSourceStatusValue.md new file mode 100644 index 000000000..a46091ab0 --- /dev/null +++ b/docs/DataSourceStatusValue.md @@ -0,0 +1,19 @@ +# DataSourceStatusValue + +## Enum + + +* `NEW` (value: `"new"`) + +* `QUEUED` (value: `"queued"`) + +* `SYNCING` (value: `"syncing"`) + +* `COMPLETED` (value: `"completed"`) + +* `FAILED` (value: `"failed"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DataSourceType.md b/docs/DataSourceType.md new file mode 100644 index 000000000..a5d2f0be0 --- /dev/null +++ b/docs/DataSourceType.md @@ -0,0 +1,82 @@ +# DataSourceType + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Value** | Pointer to [**DataSourceTypeValue**](DataSourceTypeValue.md) | | [optional] +**Label** | Pointer to [**DataSourceTypeLabel**](DataSourceTypeLabel.md) | | [optional] + +## Methods + +### NewDataSourceType + +`func NewDataSourceType() *DataSourceType` + +NewDataSourceType instantiates a new DataSourceType object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDataSourceTypeWithDefaults + +`func NewDataSourceTypeWithDefaults() *DataSourceType` + +NewDataSourceTypeWithDefaults instantiates a new DataSourceType object +This 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 *DataSourceType) GetValue() DataSourceTypeValue` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *DataSourceType) GetValueOk() (*DataSourceTypeValue, 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 *DataSourceType) SetValue(v DataSourceTypeValue)` + +SetValue sets Value field to given value. + +### HasValue + +`func (o *DataSourceType) HasValue() bool` + +HasValue returns a boolean if a field has been set. + +### GetLabel + +`func (o *DataSourceType) GetLabel() DataSourceTypeLabel` + +GetLabel returns the Label field if non-nil, zero value otherwise. + +### GetLabelOk + +`func (o *DataSourceType) GetLabelOk() (*DataSourceTypeLabel, 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 *DataSourceType) SetLabel(v DataSourceTypeLabel)` + +SetLabel sets Label field to given value. + +### HasLabel + +`func (o *DataSourceType) 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/DataSourceTypeLabel.md b/docs/DataSourceTypeLabel.md new file mode 100644 index 000000000..067bf53d6 --- /dev/null +++ b/docs/DataSourceTypeLabel.md @@ -0,0 +1,17 @@ +# DataSourceTypeLabel + +## Enum + + +* `_______` (value: `"---------"`) + +* `LOCAL` (value: `"Local"`) + +* `GIT` (value: `"Git"`) + +* `AMAZON_S3` (value: `"Amazon S3"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DataSourceTypeValue.md b/docs/DataSourceTypeValue.md new file mode 100644 index 000000000..8d051f27c --- /dev/null +++ b/docs/DataSourceTypeValue.md @@ -0,0 +1,15 @@ +# DataSourceTypeValue + +## Enum + + +* `LOCAL` (value: `"local"`) + +* `GIT` (value: `"git"`) + +* `AMAZON_S3` (value: `"amazon-s3"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DcimAPI.md b/docs/DcimAPI.md index 2e73f244a..7e707268d 100644 --- a/docs/DcimAPI.md +++ b/docs/DcimAPI.md @@ -310,6 +310,15 @@ Method | HTTP request | Description [**DcimRackRolesPartialUpdate**](DcimAPI.md#DcimRackRolesPartialUpdate) | **Patch** /api/dcim/rack-roles/{id}/ | [**DcimRackRolesRetrieve**](DcimAPI.md#DcimRackRolesRetrieve) | **Get** /api/dcim/rack-roles/{id}/ | [**DcimRackRolesUpdate**](DcimAPI.md#DcimRackRolesUpdate) | **Put** /api/dcim/rack-roles/{id}/ | +[**DcimRackTypesBulkDestroy**](DcimAPI.md#DcimRackTypesBulkDestroy) | **Delete** /api/dcim/rack-types/ | +[**DcimRackTypesBulkPartialUpdate**](DcimAPI.md#DcimRackTypesBulkPartialUpdate) | **Patch** /api/dcim/rack-types/ | +[**DcimRackTypesBulkUpdate**](DcimAPI.md#DcimRackTypesBulkUpdate) | **Put** /api/dcim/rack-types/ | +[**DcimRackTypesCreate**](DcimAPI.md#DcimRackTypesCreate) | **Post** /api/dcim/rack-types/ | +[**DcimRackTypesDestroy**](DcimAPI.md#DcimRackTypesDestroy) | **Delete** /api/dcim/rack-types/{id}/ | +[**DcimRackTypesList**](DcimAPI.md#DcimRackTypesList) | **Get** /api/dcim/rack-types/ | +[**DcimRackTypesPartialUpdate**](DcimAPI.md#DcimRackTypesPartialUpdate) | **Patch** /api/dcim/rack-types/{id}/ | +[**DcimRackTypesRetrieve**](DcimAPI.md#DcimRackTypesRetrieve) | **Get** /api/dcim/rack-types/{id}/ | +[**DcimRackTypesUpdate**](DcimAPI.md#DcimRackTypesUpdate) | **Put** /api/dcim/rack-types/{id}/ | [**DcimRacksBulkDestroy**](DcimAPI.md#DcimRacksBulkDestroy) | **Delete** /api/dcim/racks/ | [**DcimRacksBulkPartialUpdate**](DcimAPI.md#DcimRacksBulkPartialUpdate) | **Patch** /api/dcim/racks/ | [**DcimRacksBulkUpdate**](DcimAPI.md#DcimRacksBulkUpdate) | **Put** /api/dcim/racks/ | @@ -719,7 +728,7 @@ Name | Type | Description | Notes ## DcimCableTerminationsList -> PaginatedCableTerminationList DcimCableTerminationsList(ctx).Cable(cable).CableN(cableN).CableEnd(cableEnd).CableEndN(cableEndN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Offset(offset).Ordering(ordering).TerminationId(terminationId).TerminationIdEmpty(terminationIdEmpty).TerminationIdGt(terminationIdGt).TerminationIdGte(terminationIdGte).TerminationIdLt(terminationIdLt).TerminationIdLte(terminationIdLte).TerminationIdN(terminationIdN).TerminationType(terminationType).TerminationTypeN(terminationTypeN).UpdatedByRequest(updatedByRequest).Execute() +> PaginatedCableTerminationList DcimCableTerminationsList(ctx).Cable(cable).CableN(cableN).CableEnd(cableEnd).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Offset(offset).Ordering(ordering).TerminationId(terminationId).TerminationIdEmpty(terminationIdEmpty).TerminationIdGt(terminationIdGt).TerminationIdGte(terminationIdGte).TerminationIdLt(terminationIdLt).TerminationIdLte(terminationIdLte).TerminationIdN(terminationIdN).TerminationType(terminationType).TerminationTypeN(terminationTypeN).UpdatedByRequest(updatedByRequest).Execute() @@ -742,7 +751,6 @@ func main() { cable := int32(56) // int32 | (optional) cableN := int32(56) // int32 | (optional) cableEnd := openapiclient.End("A") // End | * `A` - A * `B` - B (optional) - cableEndN := openapiclient.End("A") // End | * `A` - A * `B` - B (optional) created := []time.Time{time.Now()} // []time.Time | (optional) createdEmpty := []time.Time{time.Now()} // []time.Time | (optional) createdGt := []time.Time{time.Now()} // []time.Time | (optional) @@ -782,7 +790,7 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.DcimAPI.DcimCableTerminationsList(context.Background()).Cable(cable).CableN(cableN).CableEnd(cableEnd).CableEndN(cableEndN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Offset(offset).Ordering(ordering).TerminationId(terminationId).TerminationIdEmpty(terminationIdEmpty).TerminationIdGt(terminationIdGt).TerminationIdGte(terminationIdGte).TerminationIdLt(terminationIdLt).TerminationIdLte(terminationIdLte).TerminationIdN(terminationIdN).TerminationType(terminationType).TerminationTypeN(terminationTypeN).UpdatedByRequest(updatedByRequest).Execute() + resp, r, err := apiClient.DcimAPI.DcimCableTerminationsList(context.Background()).Cable(cable).CableN(cableN).CableEnd(cableEnd).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Offset(offset).Ordering(ordering).TerminationId(terminationId).TerminationIdEmpty(terminationIdEmpty).TerminationIdGt(terminationIdGt).TerminationIdGte(terminationIdGte).TerminationIdLt(terminationIdLt).TerminationIdLte(terminationIdLte).TerminationIdN(terminationIdN).TerminationType(terminationType).TerminationTypeN(terminationTypeN).UpdatedByRequest(updatedByRequest).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimCableTerminationsList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -806,7 +814,6 @@ Name | Type | Description | Notes **cable** | **int32** | | **cableN** | **int32** | | **cableEnd** | [**End**](End.md) | * `A` - A * `B` - B | - **cableEndN** | [**End**](End.md) | * `A` - A * `B` - B | **created** | [**[]time.Time**](time.Time.md) | | **createdEmpty** | [**[]time.Time**](time.Time.md) | | **createdGt** | [**[]time.Time**](time.Time.md) | | @@ -1408,7 +1415,7 @@ Name | Type | Description | Notes ## DcimCablesList -> PaginatedCableList DcimCablesList(ctx).CircuitterminationId(circuitterminationId).Color(color).ColorN(colorN).ConsoleportId(consoleportId).ConsoleserverportId(consoleserverportId).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceId(deviceId).FrontportId(frontportId).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).InterfaceId(interfaceId).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Length(length).LengthEmpty(lengthEmpty).LengthGt(lengthGt).LengthGte(lengthGte).LengthLt(lengthLt).LengthLte(lengthLte).LengthN(lengthN).LengthUnit(lengthUnit).LengthUnitN(lengthUnitN).Limit(limit).Location(location).LocationId(locationId).ModifiedByRequest(modifiedByRequest).Offset(offset).Ordering(ordering).PowerfeedId(powerfeedId).PoweroutletId(poweroutletId).PowerportId(powerportId).Q(q).Rack(rack).RackId(rackId).RearportId(rearportId).Site(site).SiteId(siteId).Status(status).StatusN(statusN).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).TerminationAId(terminationAId).TerminationAType(terminationAType).TerminationATypeN(terminationATypeN).TerminationBId(terminationBId).TerminationBType(terminationBType).TerminationBTypeN(terminationBTypeN).Type_(type_).TypeN(typeN).Unterminated(unterminated).UpdatedByRequest(updatedByRequest).Execute() +> PaginatedCableList DcimCablesList(ctx).CircuitterminationId(circuitterminationId).Color(color).ColorEmpty(colorEmpty).ColorIc(colorIc).ColorIe(colorIe).ColorIew(colorIew).ColorIsw(colorIsw).ColorN(colorN).ColorNic(colorNic).ColorNie(colorNie).ColorNiew(colorNiew).ColorNisw(colorNisw).ConsoleportId(consoleportId).ConsoleserverportId(consoleserverportId).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceId(deviceId).FrontportId(frontportId).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).InterfaceId(interfaceId).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Length(length).LengthEmpty(lengthEmpty).LengthGt(lengthGt).LengthGte(lengthGte).LengthLt(lengthLt).LengthLte(lengthLte).LengthN(lengthN).LengthUnit(lengthUnit).Limit(limit).Location(location).LocationId(locationId).ModifiedByRequest(modifiedByRequest).Offset(offset).Ordering(ordering).PowerfeedId(powerfeedId).PoweroutletId(poweroutletId).PowerportId(powerportId).Q(q).Rack(rack).RackId(rackId).RearportId(rearportId).Site(site).SiteId(siteId).Status(status).StatusEmpty(statusEmpty).StatusIc(statusIc).StatusIe(statusIe).StatusIew(statusIew).StatusIsw(statusIsw).StatusN(statusN).StatusNic(statusNic).StatusNie(statusNie).StatusNiew(statusNiew).StatusNisw(statusNisw).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).TerminationAId(terminationAId).TerminationAType(terminationAType).TerminationATypeN(terminationATypeN).TerminationBId(terminationBId).TerminationBType(terminationBType).TerminationBTypeN(terminationBTypeN).Type_(type_).TypeEmpty(typeEmpty).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNisw(typeNisw).Unterminated(unterminated).UpdatedByRequest(updatedByRequest).Execute() @@ -1430,7 +1437,16 @@ import ( func main() { circuitterminationId := []int32{int32(123)} // []int32 | (optional) color := []string{"Inner_example"} // []string | (optional) + colorEmpty := true // bool | (optional) + colorIc := []string{"Inner_example"} // []string | (optional) + colorIe := []string{"Inner_example"} // []string | (optional) + colorIew := []string{"Inner_example"} // []string | (optional) + colorIsw := []string{"Inner_example"} // []string | (optional) colorN := []string{"Inner_example"} // []string | (optional) + colorNic := []string{"Inner_example"} // []string | (optional) + colorNie := []string{"Inner_example"} // []string | (optional) + colorNiew := []string{"Inner_example"} // []string | (optional) + colorNisw := []string{"Inner_example"} // []string | (optional) consoleportId := []int32{int32(123)} // []int32 | (optional) consoleserverportId := []int32{int32(123)} // []int32 | (optional) created := []time.Time{time.Now()} // []time.Time | (optional) @@ -1489,7 +1505,6 @@ func main() { lengthLte := []float64{float64(123)} // []float64 | (optional) lengthN := []float64{float64(123)} // []float64 | (optional) lengthUnit := openapiclient.dcim_cables_list_length_unit_parameter("cm") // DcimCablesListLengthUnitParameter | * `km` - Kilometers * `m` - Meters * `cm` - Centimeters * `mi` - Miles * `ft` - Feet * `in` - Inches (optional) - lengthUnitN := openapiclient.dcim_cables_list_length_unit_parameter("cm") // DcimCablesListLengthUnitParameter | * `km` - Kilometers * `m` - Meters * `cm` - Centimeters * `mi` - Miles * `ft` - Feet * `in` - Inches (optional) limit := int32(56) // int32 | Number of results to return per page. (optional) location := []string{"Inner_example"} // []string | (optional) locationId := []int32{int32(123)} // []int32 | (optional) @@ -1506,15 +1521,24 @@ func main() { site := []string{"Inner_example"} // []string | (optional) siteId := []int32{int32(123)} // []int32 | (optional) status := []string{"Inner_example"} // []string | (optional) - statusN := []string{"Inner_example"} // []string | (optional) + statusEmpty := true // bool | (optional) + statusIc := []openapiclient.DcimCablesListStatusIcParameterInner{openapiclient.dcim_cables_list_status__ic_parameter_inner("connected")} // []DcimCablesListStatusIcParameterInner | * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning (optional) + statusIe := []openapiclient.DcimCablesListStatusIcParameterInner{openapiclient.dcim_cables_list_status__ic_parameter_inner("connected")} // []DcimCablesListStatusIcParameterInner | * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning (optional) + statusIew := []openapiclient.DcimCablesListStatusIcParameterInner{openapiclient.dcim_cables_list_status__ic_parameter_inner("connected")} // []DcimCablesListStatusIcParameterInner | * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning (optional) + statusIsw := []openapiclient.DcimCablesListStatusIcParameterInner{openapiclient.dcim_cables_list_status__ic_parameter_inner("connected")} // []DcimCablesListStatusIcParameterInner | * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning (optional) + statusN := []openapiclient.DcimCablesListStatusIcParameterInner{openapiclient.dcim_cables_list_status__ic_parameter_inner("connected")} // []DcimCablesListStatusIcParameterInner | * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning (optional) + statusNic := []openapiclient.DcimCablesListStatusIcParameterInner{openapiclient.dcim_cables_list_status__ic_parameter_inner("connected")} // []DcimCablesListStatusIcParameterInner | * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning (optional) + statusNie := []openapiclient.DcimCablesListStatusIcParameterInner{openapiclient.dcim_cables_list_status__ic_parameter_inner("connected")} // []DcimCablesListStatusIcParameterInner | * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning (optional) + statusNiew := []openapiclient.DcimCablesListStatusIcParameterInner{openapiclient.dcim_cables_list_status__ic_parameter_inner("connected")} // []DcimCablesListStatusIcParameterInner | * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning (optional) + statusNisw := []openapiclient.DcimCablesListStatusIcParameterInner{openapiclient.dcim_cables_list_status__ic_parameter_inner("connected")} // []DcimCablesListStatusIcParameterInner | * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning (optional) tag := []string{"Inner_example"} // []string | (optional) tagN := []string{"Inner_example"} // []string | (optional) tenant := []string{"Inner_example"} // []string | Tenant (slug) (optional) tenantN := []string{"Inner_example"} // []string | Tenant (slug) (optional) - tenantGroup := []int32{int32(123)} // []int32 | Tenant Group (slug) (optional) - tenantGroupN := []int32{int32(123)} // []int32 | Tenant Group (slug) (optional) - tenantGroupId := []int32{int32(123)} // []int32 | Tenant Group (ID) (optional) - tenantGroupIdN := []int32{int32(123)} // []int32 | Tenant Group (ID) (optional) + tenantGroup := []string{"Inner_example"} // []string | (optional) + tenantGroupN := []string{"Inner_example"} // []string | (optional) + tenantGroupId := []string{"Inner_example"} // []string | (optional) + tenantGroupIdN := []string{"Inner_example"} // []string | (optional) tenantId := []*int32{int32(123)} // []*int32 | Tenant (ID) (optional) tenantIdN := []*int32{int32(123)} // []*int32 | Tenant (ID) (optional) terminationAId := []int32{int32(123)} // []int32 | (optional) @@ -1524,13 +1548,22 @@ func main() { terminationBType := "terminationBType_example" // string | (optional) terminationBTypeN := "terminationBTypeN_example" // string | (optional) type_ := []string{"Inner_example"} // []string | (optional) - typeN := []string{"Inner_example"} // []string | (optional) + typeEmpty := true // bool | (optional) + typeIc := []openapiclient.DcimCablesListTypeIcParameterInner{openapiclient.dcim_cables_list_type__ic_parameter_inner("")} // []DcimCablesListTypeIcParameterInner | * `cat3` - CAT3 * `cat5` - CAT5 * `cat5e` - CAT5e * `cat6` - CAT6 * `cat6a` - CAT6a * `cat7` - CAT7 * `cat7a` - CAT7a * `cat8` - CAT8 * `dac-active` - Direct Attach Copper (Active) * `dac-passive` - Direct Attach Copper (Passive) * `mrj21-trunk` - MRJ21 Trunk * `coaxial` - Coaxial * `mmf` - Multimode Fiber * `mmf-om1` - Multimode Fiber (OM1) * `mmf-om2` - Multimode Fiber (OM2) * `mmf-om3` - Multimode Fiber (OM3) * `mmf-om4` - Multimode Fiber (OM4) * `mmf-om5` - Multimode Fiber (OM5) * `smf` - Singlemode Fiber * `smf-os1` - Singlemode Fiber (OS1) * `smf-os2` - Singlemode Fiber (OS2) * `aoc` - Active Optical Cabling (AOC) * `usb` - USB * `power` - Power (optional) + typeIe := []openapiclient.DcimCablesListTypeIcParameterInner{openapiclient.dcim_cables_list_type__ic_parameter_inner("")} // []DcimCablesListTypeIcParameterInner | * `cat3` - CAT3 * `cat5` - CAT5 * `cat5e` - CAT5e * `cat6` - CAT6 * `cat6a` - CAT6a * `cat7` - CAT7 * `cat7a` - CAT7a * `cat8` - CAT8 * `dac-active` - Direct Attach Copper (Active) * `dac-passive` - Direct Attach Copper (Passive) * `mrj21-trunk` - MRJ21 Trunk * `coaxial` - Coaxial * `mmf` - Multimode Fiber * `mmf-om1` - Multimode Fiber (OM1) * `mmf-om2` - Multimode Fiber (OM2) * `mmf-om3` - Multimode Fiber (OM3) * `mmf-om4` - Multimode Fiber (OM4) * `mmf-om5` - Multimode Fiber (OM5) * `smf` - Singlemode Fiber * `smf-os1` - Singlemode Fiber (OS1) * `smf-os2` - Singlemode Fiber (OS2) * `aoc` - Active Optical Cabling (AOC) * `usb` - USB * `power` - Power (optional) + typeIew := []openapiclient.DcimCablesListTypeIcParameterInner{openapiclient.dcim_cables_list_type__ic_parameter_inner("")} // []DcimCablesListTypeIcParameterInner | * `cat3` - CAT3 * `cat5` - CAT5 * `cat5e` - CAT5e * `cat6` - CAT6 * `cat6a` - CAT6a * `cat7` - CAT7 * `cat7a` - CAT7a * `cat8` - CAT8 * `dac-active` - Direct Attach Copper (Active) * `dac-passive` - Direct Attach Copper (Passive) * `mrj21-trunk` - MRJ21 Trunk * `coaxial` - Coaxial * `mmf` - Multimode Fiber * `mmf-om1` - Multimode Fiber (OM1) * `mmf-om2` - Multimode Fiber (OM2) * `mmf-om3` - Multimode Fiber (OM3) * `mmf-om4` - Multimode Fiber (OM4) * `mmf-om5` - Multimode Fiber (OM5) * `smf` - Singlemode Fiber * `smf-os1` - Singlemode Fiber (OS1) * `smf-os2` - Singlemode Fiber (OS2) * `aoc` - Active Optical Cabling (AOC) * `usb` - USB * `power` - Power (optional) + typeIsw := []openapiclient.DcimCablesListTypeIcParameterInner{openapiclient.dcim_cables_list_type__ic_parameter_inner("")} // []DcimCablesListTypeIcParameterInner | * `cat3` - CAT3 * `cat5` - CAT5 * `cat5e` - CAT5e * `cat6` - CAT6 * `cat6a` - CAT6a * `cat7` - CAT7 * `cat7a` - CAT7a * `cat8` - CAT8 * `dac-active` - Direct Attach Copper (Active) * `dac-passive` - Direct Attach Copper (Passive) * `mrj21-trunk` - MRJ21 Trunk * `coaxial` - Coaxial * `mmf` - Multimode Fiber * `mmf-om1` - Multimode Fiber (OM1) * `mmf-om2` - Multimode Fiber (OM2) * `mmf-om3` - Multimode Fiber (OM3) * `mmf-om4` - Multimode Fiber (OM4) * `mmf-om5` - Multimode Fiber (OM5) * `smf` - Singlemode Fiber * `smf-os1` - Singlemode Fiber (OS1) * `smf-os2` - Singlemode Fiber (OS2) * `aoc` - Active Optical Cabling (AOC) * `usb` - USB * `power` - Power (optional) + typeN := []openapiclient.DcimCablesListTypeIcParameterInner{openapiclient.dcim_cables_list_type__ic_parameter_inner("")} // []DcimCablesListTypeIcParameterInner | * `cat3` - CAT3 * `cat5` - CAT5 * `cat5e` - CAT5e * `cat6` - CAT6 * `cat6a` - CAT6a * `cat7` - CAT7 * `cat7a` - CAT7a * `cat8` - CAT8 * `dac-active` - Direct Attach Copper (Active) * `dac-passive` - Direct Attach Copper (Passive) * `mrj21-trunk` - MRJ21 Trunk * `coaxial` - Coaxial * `mmf` - Multimode Fiber * `mmf-om1` - Multimode Fiber (OM1) * `mmf-om2` - Multimode Fiber (OM2) * `mmf-om3` - Multimode Fiber (OM3) * `mmf-om4` - Multimode Fiber (OM4) * `mmf-om5` - Multimode Fiber (OM5) * `smf` - Singlemode Fiber * `smf-os1` - Singlemode Fiber (OS1) * `smf-os2` - Singlemode Fiber (OS2) * `aoc` - Active Optical Cabling (AOC) * `usb` - USB * `power` - Power (optional) + typeNic := []openapiclient.DcimCablesListTypeIcParameterInner{openapiclient.dcim_cables_list_type__ic_parameter_inner("")} // []DcimCablesListTypeIcParameterInner | * `cat3` - CAT3 * `cat5` - CAT5 * `cat5e` - CAT5e * `cat6` - CAT6 * `cat6a` - CAT6a * `cat7` - CAT7 * `cat7a` - CAT7a * `cat8` - CAT8 * `dac-active` - Direct Attach Copper (Active) * `dac-passive` - Direct Attach Copper (Passive) * `mrj21-trunk` - MRJ21 Trunk * `coaxial` - Coaxial * `mmf` - Multimode Fiber * `mmf-om1` - Multimode Fiber (OM1) * `mmf-om2` - Multimode Fiber (OM2) * `mmf-om3` - Multimode Fiber (OM3) * `mmf-om4` - Multimode Fiber (OM4) * `mmf-om5` - Multimode Fiber (OM5) * `smf` - Singlemode Fiber * `smf-os1` - Singlemode Fiber (OS1) * `smf-os2` - Singlemode Fiber (OS2) * `aoc` - Active Optical Cabling (AOC) * `usb` - USB * `power` - Power (optional) + typeNie := []openapiclient.DcimCablesListTypeIcParameterInner{openapiclient.dcim_cables_list_type__ic_parameter_inner("")} // []DcimCablesListTypeIcParameterInner | * `cat3` - CAT3 * `cat5` - CAT5 * `cat5e` - CAT5e * `cat6` - CAT6 * `cat6a` - CAT6a * `cat7` - CAT7 * `cat7a` - CAT7a * `cat8` - CAT8 * `dac-active` - Direct Attach Copper (Active) * `dac-passive` - Direct Attach Copper (Passive) * `mrj21-trunk` - MRJ21 Trunk * `coaxial` - Coaxial * `mmf` - Multimode Fiber * `mmf-om1` - Multimode Fiber (OM1) * `mmf-om2` - Multimode Fiber (OM2) * `mmf-om3` - Multimode Fiber (OM3) * `mmf-om4` - Multimode Fiber (OM4) * `mmf-om5` - Multimode Fiber (OM5) * `smf` - Singlemode Fiber * `smf-os1` - Singlemode Fiber (OS1) * `smf-os2` - Singlemode Fiber (OS2) * `aoc` - Active Optical Cabling (AOC) * `usb` - USB * `power` - Power (optional) + typeNiew := []openapiclient.DcimCablesListTypeIcParameterInner{openapiclient.dcim_cables_list_type__ic_parameter_inner("")} // []DcimCablesListTypeIcParameterInner | * `cat3` - CAT3 * `cat5` - CAT5 * `cat5e` - CAT5e * `cat6` - CAT6 * `cat6a` - CAT6a * `cat7` - CAT7 * `cat7a` - CAT7a * `cat8` - CAT8 * `dac-active` - Direct Attach Copper (Active) * `dac-passive` - Direct Attach Copper (Passive) * `mrj21-trunk` - MRJ21 Trunk * `coaxial` - Coaxial * `mmf` - Multimode Fiber * `mmf-om1` - Multimode Fiber (OM1) * `mmf-om2` - Multimode Fiber (OM2) * `mmf-om3` - Multimode Fiber (OM3) * `mmf-om4` - Multimode Fiber (OM4) * `mmf-om5` - Multimode Fiber (OM5) * `smf` - Singlemode Fiber * `smf-os1` - Singlemode Fiber (OS1) * `smf-os2` - Singlemode Fiber (OS2) * `aoc` - Active Optical Cabling (AOC) * `usb` - USB * `power` - Power (optional) + typeNisw := []openapiclient.DcimCablesListTypeIcParameterInner{openapiclient.dcim_cables_list_type__ic_parameter_inner("")} // []DcimCablesListTypeIcParameterInner | * `cat3` - CAT3 * `cat5` - CAT5 * `cat5e` - CAT5e * `cat6` - CAT6 * `cat6a` - CAT6a * `cat7` - CAT7 * `cat7a` - CAT7a * `cat8` - CAT8 * `dac-active` - Direct Attach Copper (Active) * `dac-passive` - Direct Attach Copper (Passive) * `mrj21-trunk` - MRJ21 Trunk * `coaxial` - Coaxial * `mmf` - Multimode Fiber * `mmf-om1` - Multimode Fiber (OM1) * `mmf-om2` - Multimode Fiber (OM2) * `mmf-om3` - Multimode Fiber (OM3) * `mmf-om4` - Multimode Fiber (OM4) * `mmf-om5` - Multimode Fiber (OM5) * `smf` - Singlemode Fiber * `smf-os1` - Singlemode Fiber (OS1) * `smf-os2` - Singlemode Fiber (OS2) * `aoc` - Active Optical Cabling (AOC) * `usb` - USB * `power` - Power (optional) unterminated := true // bool | Unterminated (optional) updatedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.DcimAPI.DcimCablesList(context.Background()).CircuitterminationId(circuitterminationId).Color(color).ColorN(colorN).ConsoleportId(consoleportId).ConsoleserverportId(consoleserverportId).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceId(deviceId).FrontportId(frontportId).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).InterfaceId(interfaceId).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Length(length).LengthEmpty(lengthEmpty).LengthGt(lengthGt).LengthGte(lengthGte).LengthLt(lengthLt).LengthLte(lengthLte).LengthN(lengthN).LengthUnit(lengthUnit).LengthUnitN(lengthUnitN).Limit(limit).Location(location).LocationId(locationId).ModifiedByRequest(modifiedByRequest).Offset(offset).Ordering(ordering).PowerfeedId(powerfeedId).PoweroutletId(poweroutletId).PowerportId(powerportId).Q(q).Rack(rack).RackId(rackId).RearportId(rearportId).Site(site).SiteId(siteId).Status(status).StatusN(statusN).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).TerminationAId(terminationAId).TerminationAType(terminationAType).TerminationATypeN(terminationATypeN).TerminationBId(terminationBId).TerminationBType(terminationBType).TerminationBTypeN(terminationBTypeN).Type_(type_).TypeN(typeN).Unterminated(unterminated).UpdatedByRequest(updatedByRequest).Execute() + resp, r, err := apiClient.DcimAPI.DcimCablesList(context.Background()).CircuitterminationId(circuitterminationId).Color(color).ColorEmpty(colorEmpty).ColorIc(colorIc).ColorIe(colorIe).ColorIew(colorIew).ColorIsw(colorIsw).ColorN(colorN).ColorNic(colorNic).ColorNie(colorNie).ColorNiew(colorNiew).ColorNisw(colorNisw).ConsoleportId(consoleportId).ConsoleserverportId(consoleserverportId).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceId(deviceId).FrontportId(frontportId).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).InterfaceId(interfaceId).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Length(length).LengthEmpty(lengthEmpty).LengthGt(lengthGt).LengthGte(lengthGte).LengthLt(lengthLt).LengthLte(lengthLte).LengthN(lengthN).LengthUnit(lengthUnit).Limit(limit).Location(location).LocationId(locationId).ModifiedByRequest(modifiedByRequest).Offset(offset).Ordering(ordering).PowerfeedId(powerfeedId).PoweroutletId(poweroutletId).PowerportId(powerportId).Q(q).Rack(rack).RackId(rackId).RearportId(rearportId).Site(site).SiteId(siteId).Status(status).StatusEmpty(statusEmpty).StatusIc(statusIc).StatusIe(statusIe).StatusIew(statusIew).StatusIsw(statusIsw).StatusN(statusN).StatusNic(statusNic).StatusNie(statusNie).StatusNiew(statusNiew).StatusNisw(statusNisw).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).TerminationAId(terminationAId).TerminationAType(terminationAType).TerminationATypeN(terminationATypeN).TerminationBId(terminationBId).TerminationBType(terminationBType).TerminationBTypeN(terminationBTypeN).Type_(type_).TypeEmpty(typeEmpty).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNisw(typeNisw).Unterminated(unterminated).UpdatedByRequest(updatedByRequest).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) @@ -1553,7 +1586,16 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **circuitterminationId** | **[]int32** | | **color** | **[]string** | | + **colorEmpty** | **bool** | | + **colorIc** | **[]string** | | + **colorIe** | **[]string** | | + **colorIew** | **[]string** | | + **colorIsw** | **[]string** | | **colorN** | **[]string** | | + **colorNic** | **[]string** | | + **colorNie** | **[]string** | | + **colorNiew** | **[]string** | | + **colorNisw** | **[]string** | | **consoleportId** | **[]int32** | | **consoleserverportId** | **[]int32** | | **created** | [**[]time.Time**](time.Time.md) | | @@ -1612,7 +1654,6 @@ Name | Type | Description | Notes **lengthLte** | **[]float64** | | **lengthN** | **[]float64** | | **lengthUnit** | [**DcimCablesListLengthUnitParameter**](DcimCablesListLengthUnitParameter.md) | * `km` - Kilometers * `m` - Meters * `cm` - Centimeters * `mi` - Miles * `ft` - Feet * `in` - Inches | - **lengthUnitN** | [**DcimCablesListLengthUnitParameter**](DcimCablesListLengthUnitParameter.md) | * `km` - Kilometers * `m` - Meters * `cm` - Centimeters * `mi` - Miles * `ft` - Feet * `in` - Inches | **limit** | **int32** | Number of results to return per page. | **location** | **[]string** | | **locationId** | **[]int32** | | @@ -1629,15 +1670,24 @@ Name | Type | Description | Notes **site** | **[]string** | | **siteId** | **[]int32** | | **status** | **[]string** | | - **statusN** | **[]string** | | + **statusEmpty** | **bool** | | + **statusIc** | [**[]DcimCablesListStatusIcParameterInner**](DcimCablesListStatusIcParameterInner.md) | * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning | + **statusIe** | [**[]DcimCablesListStatusIcParameterInner**](DcimCablesListStatusIcParameterInner.md) | * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning | + **statusIew** | [**[]DcimCablesListStatusIcParameterInner**](DcimCablesListStatusIcParameterInner.md) | * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning | + **statusIsw** | [**[]DcimCablesListStatusIcParameterInner**](DcimCablesListStatusIcParameterInner.md) | * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning | + **statusN** | [**[]DcimCablesListStatusIcParameterInner**](DcimCablesListStatusIcParameterInner.md) | * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning | + **statusNic** | [**[]DcimCablesListStatusIcParameterInner**](DcimCablesListStatusIcParameterInner.md) | * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning | + **statusNie** | [**[]DcimCablesListStatusIcParameterInner**](DcimCablesListStatusIcParameterInner.md) | * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning | + **statusNiew** | [**[]DcimCablesListStatusIcParameterInner**](DcimCablesListStatusIcParameterInner.md) | * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning | + **statusNisw** | [**[]DcimCablesListStatusIcParameterInner**](DcimCablesListStatusIcParameterInner.md) | * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning | **tag** | **[]string** | | **tagN** | **[]string** | | **tenant** | **[]string** | Tenant (slug) | **tenantN** | **[]string** | Tenant (slug) | - **tenantGroup** | **[]int32** | Tenant Group (slug) | - **tenantGroupN** | **[]int32** | Tenant Group (slug) | - **tenantGroupId** | **[]int32** | Tenant Group (ID) | - **tenantGroupIdN** | **[]int32** | Tenant Group (ID) | + **tenantGroup** | **[]string** | | + **tenantGroupN** | **[]string** | | + **tenantGroupId** | **[]string** | | + **tenantGroupIdN** | **[]string** | | **tenantId** | **[]int32** | Tenant (ID) | **tenantIdN** | **[]int32** | Tenant (ID) | **terminationAId** | **[]int32** | | @@ -1647,7 +1697,16 @@ Name | Type | Description | Notes **terminationBType** | **string** | | **terminationBTypeN** | **string** | | **type_** | **[]string** | | - **typeN** | **[]string** | | + **typeEmpty** | **bool** | | + **typeIc** | [**[]DcimCablesListTypeIcParameterInner**](DcimCablesListTypeIcParameterInner.md) | * `cat3` - CAT3 * `cat5` - CAT5 * `cat5e` - CAT5e * `cat6` - CAT6 * `cat6a` - CAT6a * `cat7` - CAT7 * `cat7a` - CAT7a * `cat8` - CAT8 * `dac-active` - Direct Attach Copper (Active) * `dac-passive` - Direct Attach Copper (Passive) * `mrj21-trunk` - MRJ21 Trunk * `coaxial` - Coaxial * `mmf` - Multimode Fiber * `mmf-om1` - Multimode Fiber (OM1) * `mmf-om2` - Multimode Fiber (OM2) * `mmf-om3` - Multimode Fiber (OM3) * `mmf-om4` - Multimode Fiber (OM4) * `mmf-om5` - Multimode Fiber (OM5) * `smf` - Singlemode Fiber * `smf-os1` - Singlemode Fiber (OS1) * `smf-os2` - Singlemode Fiber (OS2) * `aoc` - Active Optical Cabling (AOC) * `usb` - USB * `power` - Power | + **typeIe** | [**[]DcimCablesListTypeIcParameterInner**](DcimCablesListTypeIcParameterInner.md) | * `cat3` - CAT3 * `cat5` - CAT5 * `cat5e` - CAT5e * `cat6` - CAT6 * `cat6a` - CAT6a * `cat7` - CAT7 * `cat7a` - CAT7a * `cat8` - CAT8 * `dac-active` - Direct Attach Copper (Active) * `dac-passive` - Direct Attach Copper (Passive) * `mrj21-trunk` - MRJ21 Trunk * `coaxial` - Coaxial * `mmf` - Multimode Fiber * `mmf-om1` - Multimode Fiber (OM1) * `mmf-om2` - Multimode Fiber (OM2) * `mmf-om3` - Multimode Fiber (OM3) * `mmf-om4` - Multimode Fiber (OM4) * `mmf-om5` - Multimode Fiber (OM5) * `smf` - Singlemode Fiber * `smf-os1` - Singlemode Fiber (OS1) * `smf-os2` - Singlemode Fiber (OS2) * `aoc` - Active Optical Cabling (AOC) * `usb` - USB * `power` - Power | + **typeIew** | [**[]DcimCablesListTypeIcParameterInner**](DcimCablesListTypeIcParameterInner.md) | * `cat3` - CAT3 * `cat5` - CAT5 * `cat5e` - CAT5e * `cat6` - CAT6 * `cat6a` - CAT6a * `cat7` - CAT7 * `cat7a` - CAT7a * `cat8` - CAT8 * `dac-active` - Direct Attach Copper (Active) * `dac-passive` - Direct Attach Copper (Passive) * `mrj21-trunk` - MRJ21 Trunk * `coaxial` - Coaxial * `mmf` - Multimode Fiber * `mmf-om1` - Multimode Fiber (OM1) * `mmf-om2` - Multimode Fiber (OM2) * `mmf-om3` - Multimode Fiber (OM3) * `mmf-om4` - Multimode Fiber (OM4) * `mmf-om5` - Multimode Fiber (OM5) * `smf` - Singlemode Fiber * `smf-os1` - Singlemode Fiber (OS1) * `smf-os2` - Singlemode Fiber (OS2) * `aoc` - Active Optical Cabling (AOC) * `usb` - USB * `power` - Power | + **typeIsw** | [**[]DcimCablesListTypeIcParameterInner**](DcimCablesListTypeIcParameterInner.md) | * `cat3` - CAT3 * `cat5` - CAT5 * `cat5e` - CAT5e * `cat6` - CAT6 * `cat6a` - CAT6a * `cat7` - CAT7 * `cat7a` - CAT7a * `cat8` - CAT8 * `dac-active` - Direct Attach Copper (Active) * `dac-passive` - Direct Attach Copper (Passive) * `mrj21-trunk` - MRJ21 Trunk * `coaxial` - Coaxial * `mmf` - Multimode Fiber * `mmf-om1` - Multimode Fiber (OM1) * `mmf-om2` - Multimode Fiber (OM2) * `mmf-om3` - Multimode Fiber (OM3) * `mmf-om4` - Multimode Fiber (OM4) * `mmf-om5` - Multimode Fiber (OM5) * `smf` - Singlemode Fiber * `smf-os1` - Singlemode Fiber (OS1) * `smf-os2` - Singlemode Fiber (OS2) * `aoc` - Active Optical Cabling (AOC) * `usb` - USB * `power` - Power | + **typeN** | [**[]DcimCablesListTypeIcParameterInner**](DcimCablesListTypeIcParameterInner.md) | * `cat3` - CAT3 * `cat5` - CAT5 * `cat5e` - CAT5e * `cat6` - CAT6 * `cat6a` - CAT6a * `cat7` - CAT7 * `cat7a` - CAT7a * `cat8` - CAT8 * `dac-active` - Direct Attach Copper (Active) * `dac-passive` - Direct Attach Copper (Passive) * `mrj21-trunk` - MRJ21 Trunk * `coaxial` - Coaxial * `mmf` - Multimode Fiber * `mmf-om1` - Multimode Fiber (OM1) * `mmf-om2` - Multimode Fiber (OM2) * `mmf-om3` - Multimode Fiber (OM3) * `mmf-om4` - Multimode Fiber (OM4) * `mmf-om5` - Multimode Fiber (OM5) * `smf` - Singlemode Fiber * `smf-os1` - Singlemode Fiber (OS1) * `smf-os2` - Singlemode Fiber (OS2) * `aoc` - Active Optical Cabling (AOC) * `usb` - USB * `power` - Power | + **typeNic** | [**[]DcimCablesListTypeIcParameterInner**](DcimCablesListTypeIcParameterInner.md) | * `cat3` - CAT3 * `cat5` - CAT5 * `cat5e` - CAT5e * `cat6` - CAT6 * `cat6a` - CAT6a * `cat7` - CAT7 * `cat7a` - CAT7a * `cat8` - CAT8 * `dac-active` - Direct Attach Copper (Active) * `dac-passive` - Direct Attach Copper (Passive) * `mrj21-trunk` - MRJ21 Trunk * `coaxial` - Coaxial * `mmf` - Multimode Fiber * `mmf-om1` - Multimode Fiber (OM1) * `mmf-om2` - Multimode Fiber (OM2) * `mmf-om3` - Multimode Fiber (OM3) * `mmf-om4` - Multimode Fiber (OM4) * `mmf-om5` - Multimode Fiber (OM5) * `smf` - Singlemode Fiber * `smf-os1` - Singlemode Fiber (OS1) * `smf-os2` - Singlemode Fiber (OS2) * `aoc` - Active Optical Cabling (AOC) * `usb` - USB * `power` - Power | + **typeNie** | [**[]DcimCablesListTypeIcParameterInner**](DcimCablesListTypeIcParameterInner.md) | * `cat3` - CAT3 * `cat5` - CAT5 * `cat5e` - CAT5e * `cat6` - CAT6 * `cat6a` - CAT6a * `cat7` - CAT7 * `cat7a` - CAT7a * `cat8` - CAT8 * `dac-active` - Direct Attach Copper (Active) * `dac-passive` - Direct Attach Copper (Passive) * `mrj21-trunk` - MRJ21 Trunk * `coaxial` - Coaxial * `mmf` - Multimode Fiber * `mmf-om1` - Multimode Fiber (OM1) * `mmf-om2` - Multimode Fiber (OM2) * `mmf-om3` - Multimode Fiber (OM3) * `mmf-om4` - Multimode Fiber (OM4) * `mmf-om5` - Multimode Fiber (OM5) * `smf` - Singlemode Fiber * `smf-os1` - Singlemode Fiber (OS1) * `smf-os2` - Singlemode Fiber (OS2) * `aoc` - Active Optical Cabling (AOC) * `usb` - USB * `power` - Power | + **typeNiew** | [**[]DcimCablesListTypeIcParameterInner**](DcimCablesListTypeIcParameterInner.md) | * `cat3` - CAT3 * `cat5` - CAT5 * `cat5e` - CAT5e * `cat6` - CAT6 * `cat6a` - CAT6a * `cat7` - CAT7 * `cat7a` - CAT7a * `cat8` - CAT8 * `dac-active` - Direct Attach Copper (Active) * `dac-passive` - Direct Attach Copper (Passive) * `mrj21-trunk` - MRJ21 Trunk * `coaxial` - Coaxial * `mmf` - Multimode Fiber * `mmf-om1` - Multimode Fiber (OM1) * `mmf-om2` - Multimode Fiber (OM2) * `mmf-om3` - Multimode Fiber (OM3) * `mmf-om4` - Multimode Fiber (OM4) * `mmf-om5` - Multimode Fiber (OM5) * `smf` - Singlemode Fiber * `smf-os1` - Singlemode Fiber (OS1) * `smf-os2` - Singlemode Fiber (OS2) * `aoc` - Active Optical Cabling (AOC) * `usb` - USB * `power` - Power | + **typeNisw** | [**[]DcimCablesListTypeIcParameterInner**](DcimCablesListTypeIcParameterInner.md) | * `cat3` - CAT3 * `cat5` - CAT5 * `cat5e` - CAT5e * `cat6` - CAT6 * `cat6a` - CAT6a * `cat7` - CAT7 * `cat7a` - CAT7a * `cat8` - CAT8 * `dac-active` - Direct Attach Copper (Active) * `dac-passive` - Direct Attach Copper (Passive) * `mrj21-trunk` - MRJ21 Trunk * `coaxial` - Coaxial * `mmf` - Multimode Fiber * `mmf-om1` - Multimode Fiber (OM1) * `mmf-om2` - Multimode Fiber (OM2) * `mmf-om3` - Multimode Fiber (OM3) * `mmf-om4` - Multimode Fiber (OM4) * `mmf-om5` - Multimode Fiber (OM5) * `smf` - Singlemode Fiber * `smf-os1` - Singlemode Fiber (OS1) * `smf-os2` - Singlemode Fiber (OS2) * `aoc` - Active Optical Cabling (AOC) * `usb` - USB * `power` - Power | **unterminated** | **bool** | Unterminated | **updatedByRequest** | **string** | | @@ -2283,7 +2342,7 @@ Name | Type | Description | Notes ## DcimConsolePortTemplatesList -> PaginatedConsolePortTemplateList DcimConsolePortTemplatesList(ctx).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).DevicetypeId(devicetypeId).DevicetypeIdN(devicetypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).ModuleTypeId(moduleTypeId).ModuleTypeIdN(moduleTypeIdN).ModuletypeId(moduletypeId).ModuletypeIdN(moduletypeIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).Type_(type_).TypeN(typeN).UpdatedByRequest(updatedByRequest).Execute() +> PaginatedConsolePortTemplateList DcimConsolePortTemplatesList(ctx).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).ModuleTypeId(moduleTypeId).ModuleTypeIdN(moduleTypeIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).Type_(type_).UpdatedByRequest(updatedByRequest).Execute() @@ -2324,8 +2383,6 @@ func main() { descriptionNisw := []string{"Inner_example"} // []string | (optional) deviceTypeId := []*int32{int32(123)} // []*int32 | Device type (ID) (optional) deviceTypeIdN := []*int32{int32(123)} // []*int32 | Device type (ID) (optional) - devicetypeId := []*int32{int32(123)} // []*int32 | Device type (ID) (optional) - devicetypeIdN := []*int32{int32(123)} // []*int32 | Device type (ID) (optional) id := []int32{int32(123)} // []int32 | (optional) idEmpty := true // bool | (optional) idGt := []int32{int32(123)} // []int32 | (optional) @@ -2355,8 +2412,6 @@ func main() { modifiedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) moduleTypeId := []*int32{int32(123)} // []*int32 | Module type (ID) (optional) moduleTypeIdN := []*int32{int32(123)} // []*int32 | Module type (ID) (optional) - moduletypeId := []*int32{int32(123)} // []*int32 | Module type (ID) (optional) - moduletypeIdN := []*int32{int32(123)} // []*int32 | Module type (ID) (optional) name := []string{"Inner_example"} // []string | (optional) nameEmpty := true // bool | (optional) nameIc := []string{"Inner_example"} // []string | (optional) @@ -2372,12 +2427,11 @@ func main() { ordering := "ordering_example" // string | Which field to use when ordering the results. (optional) q := "q_example" // string | Search (optional) type_ := openapiclient.dcim_console_port_templates_list_type_parameter("Other") // DcimConsolePortTemplatesListTypeParameter | * `Serial` - [('de-9', 'DE-9'), ('db-25', 'DB-25'), ('rj-11', 'RJ-11'), ('rj-12', 'RJ-12'), ('rj-45', 'RJ-45'), ('mini-din-8', 'Mini-DIN 8')] * `USB` - [('usb-a', 'USB Type A'), ('usb-b', 'USB Type B'), ('usb-c', 'USB Type C'), ('usb-mini-a', 'USB Mini A'), ('usb-mini-b', 'USB Mini B'), ('usb-micro-a', 'USB Micro A'), ('usb-micro-b', 'USB Micro B'), ('usb-micro-ab', 'USB Micro AB')] * `Other` - [('other', 'Other')] (optional) - typeN := openapiclient.dcim_console_port_templates_list_type_parameter("Other") // DcimConsolePortTemplatesListTypeParameter | * `Serial` - [('de-9', 'DE-9'), ('db-25', 'DB-25'), ('rj-11', 'RJ-11'), ('rj-12', 'RJ-12'), ('rj-45', 'RJ-45'), ('mini-din-8', 'Mini-DIN 8')] * `USB` - [('usb-a', 'USB Type A'), ('usb-b', 'USB Type B'), ('usb-c', 'USB Type C'), ('usb-mini-a', 'USB Mini A'), ('usb-mini-b', 'USB Mini B'), ('usb-micro-a', 'USB Micro A'), ('usb-micro-b', 'USB Micro B'), ('usb-micro-ab', 'USB Micro AB')] * `Other` - [('other', 'Other')] (optional) updatedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.DcimAPI.DcimConsolePortTemplatesList(context.Background()).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).DevicetypeId(devicetypeId).DevicetypeIdN(devicetypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).ModuleTypeId(moduleTypeId).ModuleTypeIdN(moduleTypeIdN).ModuletypeId(moduletypeId).ModuletypeIdN(moduletypeIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).Type_(type_).TypeN(typeN).UpdatedByRequest(updatedByRequest).Execute() + resp, r, err := apiClient.DcimAPI.DcimConsolePortTemplatesList(context.Background()).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).ModuleTypeId(moduleTypeId).ModuleTypeIdN(moduleTypeIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).Type_(type_).UpdatedByRequest(updatedByRequest).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) @@ -2419,8 +2473,6 @@ Name | Type | Description | Notes **descriptionNisw** | **[]string** | | **deviceTypeId** | **[]int32** | Device type (ID) | **deviceTypeIdN** | **[]int32** | Device type (ID) | - **devicetypeId** | **[]int32** | Device type (ID) | - **devicetypeIdN** | **[]int32** | Device type (ID) | **id** | **[]int32** | | **idEmpty** | **bool** | | **idGt** | **[]int32** | | @@ -2450,8 +2502,6 @@ Name | Type | Description | Notes **modifiedByRequest** | **string** | | **moduleTypeId** | **[]int32** | Module type (ID) | **moduleTypeIdN** | **[]int32** | Module type (ID) | - **moduletypeId** | **[]int32** | Module type (ID) | - **moduletypeIdN** | **[]int32** | Module type (ID) | **name** | **[]string** | | **nameEmpty** | **bool** | | **nameIc** | **[]string** | | @@ -2467,7 +2517,6 @@ Name | Type | Description | Notes **ordering** | **string** | Which field to use when ordering the results. | **q** | **string** | Search | **type_** | [**DcimConsolePortTemplatesListTypeParameter**](DcimConsolePortTemplatesListTypeParameter.md) | * `Serial` - [('de-9', 'DE-9'), ('db-25', 'DB-25'), ('rj-11', 'RJ-11'), ('rj-12', 'RJ-12'), ('rj-45', 'RJ-45'), ('mini-din-8', 'Mini-DIN 8')] * `USB` - [('usb-a', 'USB Type A'), ('usb-b', 'USB Type B'), ('usb-c', 'USB Type C'), ('usb-mini-a', 'USB Mini A'), ('usb-mini-b', 'USB Mini B'), ('usb-micro-a', 'USB Micro A'), ('usb-micro-b', 'USB Micro B'), ('usb-micro-ab', 'USB Micro AB')] * `Other` - [('other', 'Other')] | - **typeN** | [**DcimConsolePortTemplatesListTypeParameter**](DcimConsolePortTemplatesListTypeParameter.md) | * `Serial` - [('de-9', 'DE-9'), ('db-25', 'DB-25'), ('rj-11', 'RJ-11'), ('rj-12', 'RJ-12'), ('rj-45', 'RJ-45'), ('mini-din-8', 'Mini-DIN 8')] * `USB` - [('usb-a', 'USB Type A'), ('usb-b', 'USB Type B'), ('usb-c', 'USB Type C'), ('usb-mini-a', 'USB Mini A'), ('usb-mini-b', 'USB Mini B'), ('usb-micro-a', 'USB Micro A'), ('usb-micro-b', 'USB Micro B'), ('usb-micro-ab', 'USB Micro AB')] * `Other` - [('other', 'Other')] | **updatedByRequest** | **string** | | ### Return type @@ -2723,7 +2772,7 @@ import ( ) func main() { - consolePortRequest := []openapiclient.ConsolePortRequest{*openapiclient.NewConsolePortRequest(*openapiclient.NewDeviceRequest(), "Name_example")} // []ConsolePortRequest | + consolePortRequest := []openapiclient.ConsolePortRequest{*openapiclient.NewConsolePortRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example")} // []ConsolePortRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -2787,7 +2836,7 @@ import ( ) func main() { - consolePortRequest := []openapiclient.ConsolePortRequest{*openapiclient.NewConsolePortRequest(*openapiclient.NewDeviceRequest(), "Name_example")} // []ConsolePortRequest | + consolePortRequest := []openapiclient.ConsolePortRequest{*openapiclient.NewConsolePortRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example")} // []ConsolePortRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -2853,7 +2902,7 @@ import ( ) func main() { - consolePortRequest := []openapiclient.ConsolePortRequest{*openapiclient.NewConsolePortRequest(*openapiclient.NewDeviceRequest(), "Name_example")} // []ConsolePortRequest | + consolePortRequest := []openapiclient.ConsolePortRequest{*openapiclient.NewConsolePortRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example")} // []ConsolePortRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -2919,7 +2968,7 @@ import ( ) func main() { - writableConsolePortRequest := *openapiclient.NewWritableConsolePortRequest(*openapiclient.NewDeviceRequest(), "Name_example") // WritableConsolePortRequest | + writableConsolePortRequest := *openapiclient.NewWritableConsolePortRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example") // WritableConsolePortRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -3034,7 +3083,7 @@ Name | Type | Description | Notes ## DcimConsolePortsList -> PaginatedConsolePortList DcimConsolePortsList(ctx).CableEnd(cableEnd).CableEndN(cableEndN).CableId(cableId).CableIdN(cableIdN).Cabled(cabled).Connected(connected).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceN(deviceN).DeviceId(deviceId).DeviceIdN(deviceIdN).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).LocationId(locationId).LocationIdN(locationIdN).MarkConnected(markConnected).ModifiedByRequest(modifiedByRequest).ModuleId(moduleId).ModuleIdN(moduleIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Occupied(occupied).Offset(offset).Ordering(ordering).Q(q).Rack(rack).RackN(rackN).RackId(rackId).RackIdN(rackIdN).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Speed(speed).SpeedN(speedN).Tag(tag).TagN(tagN).Type_(type_).TypeN(typeN).UpdatedByRequest(updatedByRequest).VirtualChassis(virtualChassis).VirtualChassisN(virtualChassisN).VirtualChassisId(virtualChassisId).VirtualChassisIdN(virtualChassisIdN).Execute() +> PaginatedConsolePortList DcimConsolePortsList(ctx).CableEnd(cableEnd).CableId(cableId).CableIdN(cableIdN).Cabled(cabled).Connected(connected).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceN(deviceN).DeviceId(deviceId).DeviceIdN(deviceIdN).DeviceRole(deviceRole).DeviceRoleN(deviceRoleN).DeviceRoleId(deviceRoleId).DeviceRoleIdN(deviceRoleIdN).DeviceStatus(deviceStatus).DeviceStatusEmpty(deviceStatusEmpty).DeviceStatusIc(deviceStatusIc).DeviceStatusIe(deviceStatusIe).DeviceStatusIew(deviceStatusIew).DeviceStatusIsw(deviceStatusIsw).DeviceStatusN(deviceStatusN).DeviceStatusNic(deviceStatusNic).DeviceStatusNie(deviceStatusNie).DeviceStatusNiew(deviceStatusNiew).DeviceStatusNisw(deviceStatusNisw).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).LocationId(locationId).LocationIdN(locationIdN).MarkConnected(markConnected).ModifiedByRequest(modifiedByRequest).ModuleId(moduleId).ModuleIdN(moduleIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Occupied(occupied).Offset(offset).Ordering(ordering).Q(q).Rack(rack).RackN(rackN).RackId(rackId).RackIdN(rackIdN).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Speed(speed).Tag(tag).TagN(tagN).Type_(type_).TypeEmpty(typeEmpty).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNisw(typeNisw).UpdatedByRequest(updatedByRequest).VirtualChassis(virtualChassis).VirtualChassisN(virtualChassisN).VirtualChassisId(virtualChassisId).VirtualChassisIdN(virtualChassisIdN).Execute() @@ -3055,7 +3104,6 @@ import ( func main() { cableEnd := openapiclient.circuits_circuit_terminations_list_cable_end_parameter("A") // CircuitsCircuitTerminationsListCableEndParameter | * `A` - A * `B` - B (optional) - cableEndN := openapiclient.circuits_circuit_terminations_list_cable_end_parameter("A") // CircuitsCircuitTerminationsListCableEndParameter | * `A` - A * `B` - B (optional) cableId := []*int32{int32(123)} // []*int32 | Cable (ID) (optional) cableIdN := []*int32{int32(123)} // []*int32 | Cable (ID) (optional) cabled := true // bool | (optional) @@ -3083,6 +3131,21 @@ func main() { deviceN := []*string{"Inner_example"} // []*string | Device (name) (optional) deviceId := []int32{int32(123)} // []int32 | Device (ID) (optional) deviceIdN := []int32{int32(123)} // []int32 | Device (ID) (optional) + deviceRole := []string{"Inner_example"} // []string | Device role (slug) (optional) + deviceRoleN := []string{"Inner_example"} // []string | Device role (slug) (optional) + deviceRoleId := []int32{int32(123)} // []int32 | Device role (ID) (optional) + deviceRoleIdN := []int32{int32(123)} // []int32 | Device role (ID) (optional) + deviceStatus := []string{"Inner_example"} // []string | (optional) + deviceStatusEmpty := true // bool | (optional) + deviceStatusIc := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusIe := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusIew := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusIsw := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusN := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusNic := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusNie := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusNiew := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusNisw := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) deviceType := []string{"Inner_example"} // []string | Device type (model) (optional) deviceTypeN := []string{"Inner_example"} // []string | Device type (model) (optional) deviceTypeId := []int32{int32(123)} // []int32 | Device type (ID) (optional) @@ -3140,28 +3203,32 @@ func main() { rackN := []string{"Inner_example"} // []string | Rack (name) (optional) rackId := []int32{int32(123)} // []int32 | Rack (ID) (optional) rackIdN := []int32{int32(123)} // []int32 | Rack (ID) (optional) - region := []int32{int32(123)} // []int32 | Region (slug) (optional) - regionN := []int32{int32(123)} // []int32 | Region (slug) (optional) - regionId := []int32{int32(123)} // []int32 | Region (ID) (optional) - regionIdN := []int32{int32(123)} // []int32 | Region (ID) (optional) - role := []string{"Inner_example"} // []string | Device role (slug) (optional) - roleN := []string{"Inner_example"} // []string | Device role (slug) (optional) - roleId := []int32{int32(123)} // []int32 | Device role (ID) (optional) - roleIdN := []int32{int32(123)} // []int32 | Device role (ID) (optional) + region := []string{"Inner_example"} // []string | (optional) + regionN := []string{"Inner_example"} // []string | (optional) + regionId := []string{"Inner_example"} // []string | (optional) + regionIdN := []string{"Inner_example"} // []string | (optional) site := []string{"Inner_example"} // []string | Site name (slug) (optional) siteN := []string{"Inner_example"} // []string | Site name (slug) (optional) - siteGroup := []int32{int32(123)} // []int32 | Site group (slug) (optional) - siteGroupN := []int32{int32(123)} // []int32 | Site group (slug) (optional) - siteGroupId := []int32{int32(123)} // []int32 | Site group (ID) (optional) - siteGroupIdN := []int32{int32(123)} // []int32 | Site group (ID) (optional) + siteGroup := []string{"Inner_example"} // []string | (optional) + siteGroupN := []string{"Inner_example"} // []string | (optional) + siteGroupId := []string{"Inner_example"} // []string | (optional) + siteGroupIdN := []string{"Inner_example"} // []string | (optional) siteId := []int32{int32(123)} // []int32 | Site (ID) (optional) siteIdN := []int32{int32(123)} // []int32 | Site (ID) (optional) speed := openapiclient.dcim_console_ports_list_speed_parameter(115200) // DcimConsolePortsListSpeedParameter | Port speed in bits per second * `1200` - 1200 bps * `2400` - 2400 bps * `4800` - 4800 bps * `9600` - 9600 bps * `19200` - 19.2 kbps * `38400` - 38.4 kbps * `57600` - 57.6 kbps * `115200` - 115.2 kbps (optional) - speedN := openapiclient.dcim_console_ports_list_speed_parameter(115200) // DcimConsolePortsListSpeedParameter | Port speed in bits per second * `1200` - 1200 bps * `2400` - 2400 bps * `4800` - 4800 bps * `9600` - 9600 bps * `19200` - 19.2 kbps * `38400` - 38.4 kbps * `57600` - 57.6 kbps * `115200` - 115.2 kbps (optional) tag := []string{"Inner_example"} // []string | (optional) tagN := []string{"Inner_example"} // []string | (optional) type_ := []string{"Inner_example"} // []string | Physical port type (optional) - typeN := []string{"Inner_example"} // []string | Physical port type (optional) + typeEmpty := true // bool | (optional) + typeIc := []openapiclient.DcimConsolePortsListTypeIcParameterInner{openapiclient.dcim_console_ports_list_type__ic_parameter_inner("")} // []DcimConsolePortsListTypeIcParameterInner | Physical port type * `de-9` - DE-9 * `db-25` - DB-25 * `rj-11` - RJ-11 * `rj-12` - RJ-12 * `rj-45` - RJ-45 * `mini-din-8` - Mini-DIN 8 * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other (optional) + typeIe := []openapiclient.DcimConsolePortsListTypeIcParameterInner{openapiclient.dcim_console_ports_list_type__ic_parameter_inner("")} // []DcimConsolePortsListTypeIcParameterInner | Physical port type * `de-9` - DE-9 * `db-25` - DB-25 * `rj-11` - RJ-11 * `rj-12` - RJ-12 * `rj-45` - RJ-45 * `mini-din-8` - Mini-DIN 8 * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other (optional) + typeIew := []openapiclient.DcimConsolePortsListTypeIcParameterInner{openapiclient.dcim_console_ports_list_type__ic_parameter_inner("")} // []DcimConsolePortsListTypeIcParameterInner | Physical port type * `de-9` - DE-9 * `db-25` - DB-25 * `rj-11` - RJ-11 * `rj-12` - RJ-12 * `rj-45` - RJ-45 * `mini-din-8` - Mini-DIN 8 * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other (optional) + typeIsw := []openapiclient.DcimConsolePortsListTypeIcParameterInner{openapiclient.dcim_console_ports_list_type__ic_parameter_inner("")} // []DcimConsolePortsListTypeIcParameterInner | Physical port type * `de-9` - DE-9 * `db-25` - DB-25 * `rj-11` - RJ-11 * `rj-12` - RJ-12 * `rj-45` - RJ-45 * `mini-din-8` - Mini-DIN 8 * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other (optional) + typeN := []openapiclient.DcimConsolePortsListTypeIcParameterInner{openapiclient.dcim_console_ports_list_type__ic_parameter_inner("")} // []DcimConsolePortsListTypeIcParameterInner | Physical port type * `de-9` - DE-9 * `db-25` - DB-25 * `rj-11` - RJ-11 * `rj-12` - RJ-12 * `rj-45` - RJ-45 * `mini-din-8` - Mini-DIN 8 * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other (optional) + typeNic := []openapiclient.DcimConsolePortsListTypeIcParameterInner{openapiclient.dcim_console_ports_list_type__ic_parameter_inner("")} // []DcimConsolePortsListTypeIcParameterInner | Physical port type * `de-9` - DE-9 * `db-25` - DB-25 * `rj-11` - RJ-11 * `rj-12` - RJ-12 * `rj-45` - RJ-45 * `mini-din-8` - Mini-DIN 8 * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other (optional) + typeNie := []openapiclient.DcimConsolePortsListTypeIcParameterInner{openapiclient.dcim_console_ports_list_type__ic_parameter_inner("")} // []DcimConsolePortsListTypeIcParameterInner | Physical port type * `de-9` - DE-9 * `db-25` - DB-25 * `rj-11` - RJ-11 * `rj-12` - RJ-12 * `rj-45` - RJ-45 * `mini-din-8` - Mini-DIN 8 * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other (optional) + typeNiew := []openapiclient.DcimConsolePortsListTypeIcParameterInner{openapiclient.dcim_console_ports_list_type__ic_parameter_inner("")} // []DcimConsolePortsListTypeIcParameterInner | Physical port type * `de-9` - DE-9 * `db-25` - DB-25 * `rj-11` - RJ-11 * `rj-12` - RJ-12 * `rj-45` - RJ-45 * `mini-din-8` - Mini-DIN 8 * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other (optional) + typeNisw := []openapiclient.DcimConsolePortsListTypeIcParameterInner{openapiclient.dcim_console_ports_list_type__ic_parameter_inner("")} // []DcimConsolePortsListTypeIcParameterInner | Physical port type * `de-9` - DE-9 * `db-25` - DB-25 * `rj-11` - RJ-11 * `rj-12` - RJ-12 * `rj-45` - RJ-45 * `mini-din-8` - Mini-DIN 8 * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other (optional) updatedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) virtualChassis := []string{"Inner_example"} // []string | Virtual Chassis (optional) virtualChassisN := []string{"Inner_example"} // []string | Virtual Chassis (optional) @@ -3170,7 +3237,7 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.DcimAPI.DcimConsolePortsList(context.Background()).CableEnd(cableEnd).CableEndN(cableEndN).CableId(cableId).CableIdN(cableIdN).Cabled(cabled).Connected(connected).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceN(deviceN).DeviceId(deviceId).DeviceIdN(deviceIdN).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).LocationId(locationId).LocationIdN(locationIdN).MarkConnected(markConnected).ModifiedByRequest(modifiedByRequest).ModuleId(moduleId).ModuleIdN(moduleIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Occupied(occupied).Offset(offset).Ordering(ordering).Q(q).Rack(rack).RackN(rackN).RackId(rackId).RackIdN(rackIdN).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Speed(speed).SpeedN(speedN).Tag(tag).TagN(tagN).Type_(type_).TypeN(typeN).UpdatedByRequest(updatedByRequest).VirtualChassis(virtualChassis).VirtualChassisN(virtualChassisN).VirtualChassisId(virtualChassisId).VirtualChassisIdN(virtualChassisIdN).Execute() + resp, r, err := apiClient.DcimAPI.DcimConsolePortsList(context.Background()).CableEnd(cableEnd).CableId(cableId).CableIdN(cableIdN).Cabled(cabled).Connected(connected).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceN(deviceN).DeviceId(deviceId).DeviceIdN(deviceIdN).DeviceRole(deviceRole).DeviceRoleN(deviceRoleN).DeviceRoleId(deviceRoleId).DeviceRoleIdN(deviceRoleIdN).DeviceStatus(deviceStatus).DeviceStatusEmpty(deviceStatusEmpty).DeviceStatusIc(deviceStatusIc).DeviceStatusIe(deviceStatusIe).DeviceStatusIew(deviceStatusIew).DeviceStatusIsw(deviceStatusIsw).DeviceStatusN(deviceStatusN).DeviceStatusNic(deviceStatusNic).DeviceStatusNie(deviceStatusNie).DeviceStatusNiew(deviceStatusNiew).DeviceStatusNisw(deviceStatusNisw).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).LocationId(locationId).LocationIdN(locationIdN).MarkConnected(markConnected).ModifiedByRequest(modifiedByRequest).ModuleId(moduleId).ModuleIdN(moduleIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Occupied(occupied).Offset(offset).Ordering(ordering).Q(q).Rack(rack).RackN(rackN).RackId(rackId).RackIdN(rackIdN).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Speed(speed).Tag(tag).TagN(tagN).Type_(type_).TypeEmpty(typeEmpty).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNisw(typeNisw).UpdatedByRequest(updatedByRequest).VirtualChassis(virtualChassis).VirtualChassisN(virtualChassisN).VirtualChassisId(virtualChassisId).VirtualChassisIdN(virtualChassisIdN).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) @@ -3192,7 +3259,6 @@ Other parameters are passed through a pointer to a apiDcimConsolePortsListReques Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **cableEnd** | [**CircuitsCircuitTerminationsListCableEndParameter**](CircuitsCircuitTerminationsListCableEndParameter.md) | * `A` - A * `B` - B | - **cableEndN** | [**CircuitsCircuitTerminationsListCableEndParameter**](CircuitsCircuitTerminationsListCableEndParameter.md) | * `A` - A * `B` - B | **cableId** | **[]int32** | Cable (ID) | **cableIdN** | **[]int32** | Cable (ID) | **cabled** | **bool** | | @@ -3220,6 +3286,21 @@ Name | Type | Description | Notes **deviceN** | **[]string** | Device (name) | **deviceId** | **[]int32** | Device (ID) | **deviceIdN** | **[]int32** | Device (ID) | + **deviceRole** | **[]string** | Device role (slug) | + **deviceRoleN** | **[]string** | Device role (slug) | + **deviceRoleId** | **[]int32** | Device role (ID) | + **deviceRoleIdN** | **[]int32** | Device role (ID) | + **deviceStatus** | **[]string** | | + **deviceStatusEmpty** | **bool** | | + **deviceStatusIc** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusIe** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusIew** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusIsw** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusN** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusNic** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusNie** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusNiew** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusNisw** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | **deviceType** | **[]string** | Device type (model) | **deviceTypeN** | **[]string** | Device type (model) | **deviceTypeId** | **[]int32** | Device type (ID) | @@ -3277,28 +3358,32 @@ Name | Type | Description | Notes **rackN** | **[]string** | Rack (name) | **rackId** | **[]int32** | Rack (ID) | **rackIdN** | **[]int32** | Rack (ID) | - **region** | **[]int32** | Region (slug) | - **regionN** | **[]int32** | Region (slug) | - **regionId** | **[]int32** | Region (ID) | - **regionIdN** | **[]int32** | Region (ID) | - **role** | **[]string** | Device role (slug) | - **roleN** | **[]string** | Device role (slug) | - **roleId** | **[]int32** | Device role (ID) | - **roleIdN** | **[]int32** | Device role (ID) | + **region** | **[]string** | | + **regionN** | **[]string** | | + **regionId** | **[]string** | | + **regionIdN** | **[]string** | | **site** | **[]string** | Site name (slug) | **siteN** | **[]string** | Site name (slug) | - **siteGroup** | **[]int32** | Site group (slug) | - **siteGroupN** | **[]int32** | Site group (slug) | - **siteGroupId** | **[]int32** | Site group (ID) | - **siteGroupIdN** | **[]int32** | Site group (ID) | + **siteGroup** | **[]string** | | + **siteGroupN** | **[]string** | | + **siteGroupId** | **[]string** | | + **siteGroupIdN** | **[]string** | | **siteId** | **[]int32** | Site (ID) | **siteIdN** | **[]int32** | Site (ID) | **speed** | [**DcimConsolePortsListSpeedParameter**](DcimConsolePortsListSpeedParameter.md) | Port speed in bits per second * `1200` - 1200 bps * `2400` - 2400 bps * `4800` - 4800 bps * `9600` - 9600 bps * `19200` - 19.2 kbps * `38400` - 38.4 kbps * `57600` - 57.6 kbps * `115200` - 115.2 kbps | - **speedN** | [**DcimConsolePortsListSpeedParameter**](DcimConsolePortsListSpeedParameter.md) | Port speed in bits per second * `1200` - 1200 bps * `2400` - 2400 bps * `4800` - 4800 bps * `9600` - 9600 bps * `19200` - 19.2 kbps * `38400` - 38.4 kbps * `57600` - 57.6 kbps * `115200` - 115.2 kbps | **tag** | **[]string** | | **tagN** | **[]string** | | **type_** | **[]string** | Physical port type | - **typeN** | **[]string** | Physical port type | + **typeEmpty** | **bool** | | + **typeIc** | [**[]DcimConsolePortsListTypeIcParameterInner**](DcimConsolePortsListTypeIcParameterInner.md) | Physical port type * `de-9` - DE-9 * `db-25` - DB-25 * `rj-11` - RJ-11 * `rj-12` - RJ-12 * `rj-45` - RJ-45 * `mini-din-8` - Mini-DIN 8 * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other | + **typeIe** | [**[]DcimConsolePortsListTypeIcParameterInner**](DcimConsolePortsListTypeIcParameterInner.md) | Physical port type * `de-9` - DE-9 * `db-25` - DB-25 * `rj-11` - RJ-11 * `rj-12` - RJ-12 * `rj-45` - RJ-45 * `mini-din-8` - Mini-DIN 8 * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other | + **typeIew** | [**[]DcimConsolePortsListTypeIcParameterInner**](DcimConsolePortsListTypeIcParameterInner.md) | Physical port type * `de-9` - DE-9 * `db-25` - DB-25 * `rj-11` - RJ-11 * `rj-12` - RJ-12 * `rj-45` - RJ-45 * `mini-din-8` - Mini-DIN 8 * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other | + **typeIsw** | [**[]DcimConsolePortsListTypeIcParameterInner**](DcimConsolePortsListTypeIcParameterInner.md) | Physical port type * `de-9` - DE-9 * `db-25` - DB-25 * `rj-11` - RJ-11 * `rj-12` - RJ-12 * `rj-45` - RJ-45 * `mini-din-8` - Mini-DIN 8 * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other | + **typeN** | [**[]DcimConsolePortsListTypeIcParameterInner**](DcimConsolePortsListTypeIcParameterInner.md) | Physical port type * `de-9` - DE-9 * `db-25` - DB-25 * `rj-11` - RJ-11 * `rj-12` - RJ-12 * `rj-45` - RJ-45 * `mini-din-8` - Mini-DIN 8 * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other | + **typeNic** | [**[]DcimConsolePortsListTypeIcParameterInner**](DcimConsolePortsListTypeIcParameterInner.md) | Physical port type * `de-9` - DE-9 * `db-25` - DB-25 * `rj-11` - RJ-11 * `rj-12` - RJ-12 * `rj-45` - RJ-45 * `mini-din-8` - Mini-DIN 8 * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other | + **typeNie** | [**[]DcimConsolePortsListTypeIcParameterInner**](DcimConsolePortsListTypeIcParameterInner.md) | Physical port type * `de-9` - DE-9 * `db-25` - DB-25 * `rj-11` - RJ-11 * `rj-12` - RJ-12 * `rj-45` - RJ-45 * `mini-din-8` - Mini-DIN 8 * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other | + **typeNiew** | [**[]DcimConsolePortsListTypeIcParameterInner**](DcimConsolePortsListTypeIcParameterInner.md) | Physical port type * `de-9` - DE-9 * `db-25` - DB-25 * `rj-11` - RJ-11 * `rj-12` - RJ-12 * `rj-45` - RJ-45 * `mini-din-8` - Mini-DIN 8 * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other | + **typeNisw** | [**[]DcimConsolePortsListTypeIcParameterInner**](DcimConsolePortsListTypeIcParameterInner.md) | Physical port type * `de-9` - DE-9 * `db-25` - DB-25 * `rj-11` - RJ-11 * `rj-12` - RJ-12 * `rj-45` - RJ-45 * `mini-din-8` - Mini-DIN 8 * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other | **updatedByRequest** | **string** | | **virtualChassis** | **[]string** | Virtual Chassis | **virtualChassisN** | **[]string** | Virtual Chassis | @@ -3557,7 +3642,7 @@ import ( func main() { id := int32(56) // int32 | A unique integer value identifying this console port. - writableConsolePortRequest := *openapiclient.NewWritableConsolePortRequest(*openapiclient.NewDeviceRequest(), "Name_example") // WritableConsolePortRequest | + writableConsolePortRequest := *openapiclient.NewWritableConsolePortRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example") // WritableConsolePortRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -3939,7 +4024,7 @@ Name | Type | Description | Notes ## DcimConsoleServerPortTemplatesList -> PaginatedConsoleServerPortTemplateList DcimConsoleServerPortTemplatesList(ctx).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).DevicetypeId(devicetypeId).DevicetypeIdN(devicetypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).ModuleTypeId(moduleTypeId).ModuleTypeIdN(moduleTypeIdN).ModuletypeId(moduletypeId).ModuletypeIdN(moduletypeIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).Type_(type_).TypeN(typeN).UpdatedByRequest(updatedByRequest).Execute() +> PaginatedConsoleServerPortTemplateList DcimConsoleServerPortTemplatesList(ctx).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).ModuleTypeId(moduleTypeId).ModuleTypeIdN(moduleTypeIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).Type_(type_).UpdatedByRequest(updatedByRequest).Execute() @@ -3980,8 +4065,6 @@ func main() { descriptionNisw := []string{"Inner_example"} // []string | (optional) deviceTypeId := []*int32{int32(123)} // []*int32 | Device type (ID) (optional) deviceTypeIdN := []*int32{int32(123)} // []*int32 | Device type (ID) (optional) - devicetypeId := []*int32{int32(123)} // []*int32 | Device type (ID) (optional) - devicetypeIdN := []*int32{int32(123)} // []*int32 | Device type (ID) (optional) id := []int32{int32(123)} // []int32 | (optional) idEmpty := true // bool | (optional) idGt := []int32{int32(123)} // []int32 | (optional) @@ -4011,8 +4094,6 @@ func main() { modifiedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) moduleTypeId := []*int32{int32(123)} // []*int32 | Module type (ID) (optional) moduleTypeIdN := []*int32{int32(123)} // []*int32 | Module type (ID) (optional) - moduletypeId := []*int32{int32(123)} // []*int32 | Module type (ID) (optional) - moduletypeIdN := []*int32{int32(123)} // []*int32 | Module type (ID) (optional) name := []string{"Inner_example"} // []string | (optional) nameEmpty := true // bool | (optional) nameIc := []string{"Inner_example"} // []string | (optional) @@ -4028,12 +4109,11 @@ func main() { ordering := "ordering_example" // string | Which field to use when ordering the results. (optional) q := "q_example" // string | Search (optional) type_ := openapiclient.dcim_console_port_templates_list_type_parameter("Other") // DcimConsolePortTemplatesListTypeParameter | * `Serial` - [('de-9', 'DE-9'), ('db-25', 'DB-25'), ('rj-11', 'RJ-11'), ('rj-12', 'RJ-12'), ('rj-45', 'RJ-45'), ('mini-din-8', 'Mini-DIN 8')] * `USB` - [('usb-a', 'USB Type A'), ('usb-b', 'USB Type B'), ('usb-c', 'USB Type C'), ('usb-mini-a', 'USB Mini A'), ('usb-mini-b', 'USB Mini B'), ('usb-micro-a', 'USB Micro A'), ('usb-micro-b', 'USB Micro B'), ('usb-micro-ab', 'USB Micro AB')] * `Other` - [('other', 'Other')] (optional) - typeN := openapiclient.dcim_console_port_templates_list_type_parameter("Other") // DcimConsolePortTemplatesListTypeParameter | * `Serial` - [('de-9', 'DE-9'), ('db-25', 'DB-25'), ('rj-11', 'RJ-11'), ('rj-12', 'RJ-12'), ('rj-45', 'RJ-45'), ('mini-din-8', 'Mini-DIN 8')] * `USB` - [('usb-a', 'USB Type A'), ('usb-b', 'USB Type B'), ('usb-c', 'USB Type C'), ('usb-mini-a', 'USB Mini A'), ('usb-mini-b', 'USB Mini B'), ('usb-micro-a', 'USB Micro A'), ('usb-micro-b', 'USB Micro B'), ('usb-micro-ab', 'USB Micro AB')] * `Other` - [('other', 'Other')] (optional) updatedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.DcimAPI.DcimConsoleServerPortTemplatesList(context.Background()).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).DevicetypeId(devicetypeId).DevicetypeIdN(devicetypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).ModuleTypeId(moduleTypeId).ModuleTypeIdN(moduleTypeIdN).ModuletypeId(moduletypeId).ModuletypeIdN(moduletypeIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).Type_(type_).TypeN(typeN).UpdatedByRequest(updatedByRequest).Execute() + resp, r, err := apiClient.DcimAPI.DcimConsoleServerPortTemplatesList(context.Background()).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).ModuleTypeId(moduleTypeId).ModuleTypeIdN(moduleTypeIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).Type_(type_).UpdatedByRequest(updatedByRequest).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) @@ -4075,8 +4155,6 @@ Name | Type | Description | Notes **descriptionNisw** | **[]string** | | **deviceTypeId** | **[]int32** | Device type (ID) | **deviceTypeIdN** | **[]int32** | Device type (ID) | - **devicetypeId** | **[]int32** | Device type (ID) | - **devicetypeIdN** | **[]int32** | Device type (ID) | **id** | **[]int32** | | **idEmpty** | **bool** | | **idGt** | **[]int32** | | @@ -4106,8 +4184,6 @@ Name | Type | Description | Notes **modifiedByRequest** | **string** | | **moduleTypeId** | **[]int32** | Module type (ID) | **moduleTypeIdN** | **[]int32** | Module type (ID) | - **moduletypeId** | **[]int32** | Module type (ID) | - **moduletypeIdN** | **[]int32** | Module type (ID) | **name** | **[]string** | | **nameEmpty** | **bool** | | **nameIc** | **[]string** | | @@ -4123,7 +4199,6 @@ Name | Type | Description | Notes **ordering** | **string** | Which field to use when ordering the results. | **q** | **string** | Search | **type_** | [**DcimConsolePortTemplatesListTypeParameter**](DcimConsolePortTemplatesListTypeParameter.md) | * `Serial` - [('de-9', 'DE-9'), ('db-25', 'DB-25'), ('rj-11', 'RJ-11'), ('rj-12', 'RJ-12'), ('rj-45', 'RJ-45'), ('mini-din-8', 'Mini-DIN 8')] * `USB` - [('usb-a', 'USB Type A'), ('usb-b', 'USB Type B'), ('usb-c', 'USB Type C'), ('usb-mini-a', 'USB Mini A'), ('usb-mini-b', 'USB Mini B'), ('usb-micro-a', 'USB Micro A'), ('usb-micro-b', 'USB Micro B'), ('usb-micro-ab', 'USB Micro AB')] * `Other` - [('other', 'Other')] | - **typeN** | [**DcimConsolePortTemplatesListTypeParameter**](DcimConsolePortTemplatesListTypeParameter.md) | * `Serial` - [('de-9', 'DE-9'), ('db-25', 'DB-25'), ('rj-11', 'RJ-11'), ('rj-12', 'RJ-12'), ('rj-45', 'RJ-45'), ('mini-din-8', 'Mini-DIN 8')] * `USB` - [('usb-a', 'USB Type A'), ('usb-b', 'USB Type B'), ('usb-c', 'USB Type C'), ('usb-mini-a', 'USB Mini A'), ('usb-mini-b', 'USB Mini B'), ('usb-micro-a', 'USB Micro A'), ('usb-micro-b', 'USB Micro B'), ('usb-micro-ab', 'USB Micro AB')] * `Other` - [('other', 'Other')] | **updatedByRequest** | **string** | | ### Return type @@ -4379,7 +4454,7 @@ import ( ) func main() { - consoleServerPortRequest := []openapiclient.ConsoleServerPortRequest{*openapiclient.NewConsoleServerPortRequest(*openapiclient.NewDeviceRequest(), "Name_example")} // []ConsoleServerPortRequest | + consoleServerPortRequest := []openapiclient.ConsoleServerPortRequest{*openapiclient.NewConsoleServerPortRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example")} // []ConsoleServerPortRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -4443,7 +4518,7 @@ import ( ) func main() { - consoleServerPortRequest := []openapiclient.ConsoleServerPortRequest{*openapiclient.NewConsoleServerPortRequest(*openapiclient.NewDeviceRequest(), "Name_example")} // []ConsoleServerPortRequest | + consoleServerPortRequest := []openapiclient.ConsoleServerPortRequest{*openapiclient.NewConsoleServerPortRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example")} // []ConsoleServerPortRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -4509,7 +4584,7 @@ import ( ) func main() { - consoleServerPortRequest := []openapiclient.ConsoleServerPortRequest{*openapiclient.NewConsoleServerPortRequest(*openapiclient.NewDeviceRequest(), "Name_example")} // []ConsoleServerPortRequest | + consoleServerPortRequest := []openapiclient.ConsoleServerPortRequest{*openapiclient.NewConsoleServerPortRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example")} // []ConsoleServerPortRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -4575,7 +4650,7 @@ import ( ) func main() { - writableConsoleServerPortRequest := *openapiclient.NewWritableConsoleServerPortRequest(*openapiclient.NewDeviceRequest(), "Name_example") // WritableConsoleServerPortRequest | + writableConsoleServerPortRequest := *openapiclient.NewWritableConsoleServerPortRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example") // WritableConsoleServerPortRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -4690,7 +4765,7 @@ Name | Type | Description | Notes ## DcimConsoleServerPortsList -> PaginatedConsoleServerPortList DcimConsoleServerPortsList(ctx).CableEnd(cableEnd).CableEndN(cableEndN).CableId(cableId).CableIdN(cableIdN).Cabled(cabled).Connected(connected).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceN(deviceN).DeviceId(deviceId).DeviceIdN(deviceIdN).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).LocationId(locationId).LocationIdN(locationIdN).MarkConnected(markConnected).ModifiedByRequest(modifiedByRequest).ModuleId(moduleId).ModuleIdN(moduleIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Occupied(occupied).Offset(offset).Ordering(ordering).Q(q).Rack(rack).RackN(rackN).RackId(rackId).RackIdN(rackIdN).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Speed(speed).SpeedN(speedN).Tag(tag).TagN(tagN).Type_(type_).TypeN(typeN).UpdatedByRequest(updatedByRequest).VirtualChassis(virtualChassis).VirtualChassisN(virtualChassisN).VirtualChassisId(virtualChassisId).VirtualChassisIdN(virtualChassisIdN).Execute() +> PaginatedConsoleServerPortList DcimConsoleServerPortsList(ctx).CableEnd(cableEnd).CableId(cableId).CableIdN(cableIdN).Cabled(cabled).Connected(connected).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceN(deviceN).DeviceId(deviceId).DeviceIdN(deviceIdN).DeviceRole(deviceRole).DeviceRoleN(deviceRoleN).DeviceRoleId(deviceRoleId).DeviceRoleIdN(deviceRoleIdN).DeviceStatus(deviceStatus).DeviceStatusEmpty(deviceStatusEmpty).DeviceStatusIc(deviceStatusIc).DeviceStatusIe(deviceStatusIe).DeviceStatusIew(deviceStatusIew).DeviceStatusIsw(deviceStatusIsw).DeviceStatusN(deviceStatusN).DeviceStatusNic(deviceStatusNic).DeviceStatusNie(deviceStatusNie).DeviceStatusNiew(deviceStatusNiew).DeviceStatusNisw(deviceStatusNisw).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).LocationId(locationId).LocationIdN(locationIdN).MarkConnected(markConnected).ModifiedByRequest(modifiedByRequest).ModuleId(moduleId).ModuleIdN(moduleIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Occupied(occupied).Offset(offset).Ordering(ordering).Q(q).Rack(rack).RackN(rackN).RackId(rackId).RackIdN(rackIdN).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Speed(speed).Tag(tag).TagN(tagN).Type_(type_).TypeEmpty(typeEmpty).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNisw(typeNisw).UpdatedByRequest(updatedByRequest).VirtualChassis(virtualChassis).VirtualChassisN(virtualChassisN).VirtualChassisId(virtualChassisId).VirtualChassisIdN(virtualChassisIdN).Execute() @@ -4711,7 +4786,6 @@ import ( func main() { cableEnd := openapiclient.circuits_circuit_terminations_list_cable_end_parameter("A") // CircuitsCircuitTerminationsListCableEndParameter | * `A` - A * `B` - B (optional) - cableEndN := openapiclient.circuits_circuit_terminations_list_cable_end_parameter("A") // CircuitsCircuitTerminationsListCableEndParameter | * `A` - A * `B` - B (optional) cableId := []*int32{int32(123)} // []*int32 | Cable (ID) (optional) cableIdN := []*int32{int32(123)} // []*int32 | Cable (ID) (optional) cabled := true // bool | (optional) @@ -4739,6 +4813,21 @@ func main() { deviceN := []*string{"Inner_example"} // []*string | Device (name) (optional) deviceId := []int32{int32(123)} // []int32 | Device (ID) (optional) deviceIdN := []int32{int32(123)} // []int32 | Device (ID) (optional) + deviceRole := []string{"Inner_example"} // []string | Device role (slug) (optional) + deviceRoleN := []string{"Inner_example"} // []string | Device role (slug) (optional) + deviceRoleId := []int32{int32(123)} // []int32 | Device role (ID) (optional) + deviceRoleIdN := []int32{int32(123)} // []int32 | Device role (ID) (optional) + deviceStatus := []string{"Inner_example"} // []string | (optional) + deviceStatusEmpty := true // bool | (optional) + deviceStatusIc := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusIe := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusIew := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusIsw := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusN := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusNic := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusNie := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusNiew := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusNisw := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) deviceType := []string{"Inner_example"} // []string | Device type (model) (optional) deviceTypeN := []string{"Inner_example"} // []string | Device type (model) (optional) deviceTypeId := []int32{int32(123)} // []int32 | Device type (ID) (optional) @@ -4796,28 +4885,32 @@ func main() { rackN := []string{"Inner_example"} // []string | Rack (name) (optional) rackId := []int32{int32(123)} // []int32 | Rack (ID) (optional) rackIdN := []int32{int32(123)} // []int32 | Rack (ID) (optional) - region := []int32{int32(123)} // []int32 | Region (slug) (optional) - regionN := []int32{int32(123)} // []int32 | Region (slug) (optional) - regionId := []int32{int32(123)} // []int32 | Region (ID) (optional) - regionIdN := []int32{int32(123)} // []int32 | Region (ID) (optional) - role := []string{"Inner_example"} // []string | Device role (slug) (optional) - roleN := []string{"Inner_example"} // []string | Device role (slug) (optional) - roleId := []int32{int32(123)} // []int32 | Device role (ID) (optional) - roleIdN := []int32{int32(123)} // []int32 | Device role (ID) (optional) + region := []string{"Inner_example"} // []string | (optional) + regionN := []string{"Inner_example"} // []string | (optional) + regionId := []string{"Inner_example"} // []string | (optional) + regionIdN := []string{"Inner_example"} // []string | (optional) site := []string{"Inner_example"} // []string | Site name (slug) (optional) siteN := []string{"Inner_example"} // []string | Site name (slug) (optional) - siteGroup := []int32{int32(123)} // []int32 | Site group (slug) (optional) - siteGroupN := []int32{int32(123)} // []int32 | Site group (slug) (optional) - siteGroupId := []int32{int32(123)} // []int32 | Site group (ID) (optional) - siteGroupIdN := []int32{int32(123)} // []int32 | Site group (ID) (optional) + siteGroup := []string{"Inner_example"} // []string | (optional) + siteGroupN := []string{"Inner_example"} // []string | (optional) + siteGroupId := []string{"Inner_example"} // []string | (optional) + siteGroupIdN := []string{"Inner_example"} // []string | (optional) siteId := []int32{int32(123)} // []int32 | Site (ID) (optional) siteIdN := []int32{int32(123)} // []int32 | Site (ID) (optional) speed := openapiclient.dcim_console_ports_list_speed_parameter(115200) // DcimConsolePortsListSpeedParameter | Port speed in bits per second * `1200` - 1200 bps * `2400` - 2400 bps * `4800` - 4800 bps * `9600` - 9600 bps * `19200` - 19.2 kbps * `38400` - 38.4 kbps * `57600` - 57.6 kbps * `115200` - 115.2 kbps (optional) - speedN := openapiclient.dcim_console_ports_list_speed_parameter(115200) // DcimConsolePortsListSpeedParameter | Port speed in bits per second * `1200` - 1200 bps * `2400` - 2400 bps * `4800` - 4800 bps * `9600` - 9600 bps * `19200` - 19.2 kbps * `38400` - 38.4 kbps * `57600` - 57.6 kbps * `115200` - 115.2 kbps (optional) tag := []string{"Inner_example"} // []string | (optional) tagN := []string{"Inner_example"} // []string | (optional) type_ := []string{"Inner_example"} // []string | Physical port type (optional) - typeN := []string{"Inner_example"} // []string | Physical port type (optional) + typeEmpty := true // bool | (optional) + typeIc := []openapiclient.DcimConsolePortsListTypeIcParameterInner{openapiclient.dcim_console_ports_list_type__ic_parameter_inner("")} // []DcimConsolePortsListTypeIcParameterInner | Physical port type * `de-9` - DE-9 * `db-25` - DB-25 * `rj-11` - RJ-11 * `rj-12` - RJ-12 * `rj-45` - RJ-45 * `mini-din-8` - Mini-DIN 8 * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other (optional) + typeIe := []openapiclient.DcimConsolePortsListTypeIcParameterInner{openapiclient.dcim_console_ports_list_type__ic_parameter_inner("")} // []DcimConsolePortsListTypeIcParameterInner | Physical port type * `de-9` - DE-9 * `db-25` - DB-25 * `rj-11` - RJ-11 * `rj-12` - RJ-12 * `rj-45` - RJ-45 * `mini-din-8` - Mini-DIN 8 * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other (optional) + typeIew := []openapiclient.DcimConsolePortsListTypeIcParameterInner{openapiclient.dcim_console_ports_list_type__ic_parameter_inner("")} // []DcimConsolePortsListTypeIcParameterInner | Physical port type * `de-9` - DE-9 * `db-25` - DB-25 * `rj-11` - RJ-11 * `rj-12` - RJ-12 * `rj-45` - RJ-45 * `mini-din-8` - Mini-DIN 8 * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other (optional) + typeIsw := []openapiclient.DcimConsolePortsListTypeIcParameterInner{openapiclient.dcim_console_ports_list_type__ic_parameter_inner("")} // []DcimConsolePortsListTypeIcParameterInner | Physical port type * `de-9` - DE-9 * `db-25` - DB-25 * `rj-11` - RJ-11 * `rj-12` - RJ-12 * `rj-45` - RJ-45 * `mini-din-8` - Mini-DIN 8 * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other (optional) + typeN := []openapiclient.DcimConsolePortsListTypeIcParameterInner{openapiclient.dcim_console_ports_list_type__ic_parameter_inner("")} // []DcimConsolePortsListTypeIcParameterInner | Physical port type * `de-9` - DE-9 * `db-25` - DB-25 * `rj-11` - RJ-11 * `rj-12` - RJ-12 * `rj-45` - RJ-45 * `mini-din-8` - Mini-DIN 8 * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other (optional) + typeNic := []openapiclient.DcimConsolePortsListTypeIcParameterInner{openapiclient.dcim_console_ports_list_type__ic_parameter_inner("")} // []DcimConsolePortsListTypeIcParameterInner | Physical port type * `de-9` - DE-9 * `db-25` - DB-25 * `rj-11` - RJ-11 * `rj-12` - RJ-12 * `rj-45` - RJ-45 * `mini-din-8` - Mini-DIN 8 * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other (optional) + typeNie := []openapiclient.DcimConsolePortsListTypeIcParameterInner{openapiclient.dcim_console_ports_list_type__ic_parameter_inner("")} // []DcimConsolePortsListTypeIcParameterInner | Physical port type * `de-9` - DE-9 * `db-25` - DB-25 * `rj-11` - RJ-11 * `rj-12` - RJ-12 * `rj-45` - RJ-45 * `mini-din-8` - Mini-DIN 8 * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other (optional) + typeNiew := []openapiclient.DcimConsolePortsListTypeIcParameterInner{openapiclient.dcim_console_ports_list_type__ic_parameter_inner("")} // []DcimConsolePortsListTypeIcParameterInner | Physical port type * `de-9` - DE-9 * `db-25` - DB-25 * `rj-11` - RJ-11 * `rj-12` - RJ-12 * `rj-45` - RJ-45 * `mini-din-8` - Mini-DIN 8 * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other (optional) + typeNisw := []openapiclient.DcimConsolePortsListTypeIcParameterInner{openapiclient.dcim_console_ports_list_type__ic_parameter_inner("")} // []DcimConsolePortsListTypeIcParameterInner | Physical port type * `de-9` - DE-9 * `db-25` - DB-25 * `rj-11` - RJ-11 * `rj-12` - RJ-12 * `rj-45` - RJ-45 * `mini-din-8` - Mini-DIN 8 * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other (optional) updatedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) virtualChassis := []string{"Inner_example"} // []string | Virtual Chassis (optional) virtualChassisN := []string{"Inner_example"} // []string | Virtual Chassis (optional) @@ -4826,7 +4919,7 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.DcimAPI.DcimConsoleServerPortsList(context.Background()).CableEnd(cableEnd).CableEndN(cableEndN).CableId(cableId).CableIdN(cableIdN).Cabled(cabled).Connected(connected).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceN(deviceN).DeviceId(deviceId).DeviceIdN(deviceIdN).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).LocationId(locationId).LocationIdN(locationIdN).MarkConnected(markConnected).ModifiedByRequest(modifiedByRequest).ModuleId(moduleId).ModuleIdN(moduleIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Occupied(occupied).Offset(offset).Ordering(ordering).Q(q).Rack(rack).RackN(rackN).RackId(rackId).RackIdN(rackIdN).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Speed(speed).SpeedN(speedN).Tag(tag).TagN(tagN).Type_(type_).TypeN(typeN).UpdatedByRequest(updatedByRequest).VirtualChassis(virtualChassis).VirtualChassisN(virtualChassisN).VirtualChassisId(virtualChassisId).VirtualChassisIdN(virtualChassisIdN).Execute() + resp, r, err := apiClient.DcimAPI.DcimConsoleServerPortsList(context.Background()).CableEnd(cableEnd).CableId(cableId).CableIdN(cableIdN).Cabled(cabled).Connected(connected).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceN(deviceN).DeviceId(deviceId).DeviceIdN(deviceIdN).DeviceRole(deviceRole).DeviceRoleN(deviceRoleN).DeviceRoleId(deviceRoleId).DeviceRoleIdN(deviceRoleIdN).DeviceStatus(deviceStatus).DeviceStatusEmpty(deviceStatusEmpty).DeviceStatusIc(deviceStatusIc).DeviceStatusIe(deviceStatusIe).DeviceStatusIew(deviceStatusIew).DeviceStatusIsw(deviceStatusIsw).DeviceStatusN(deviceStatusN).DeviceStatusNic(deviceStatusNic).DeviceStatusNie(deviceStatusNie).DeviceStatusNiew(deviceStatusNiew).DeviceStatusNisw(deviceStatusNisw).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).LocationId(locationId).LocationIdN(locationIdN).MarkConnected(markConnected).ModifiedByRequest(modifiedByRequest).ModuleId(moduleId).ModuleIdN(moduleIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Occupied(occupied).Offset(offset).Ordering(ordering).Q(q).Rack(rack).RackN(rackN).RackId(rackId).RackIdN(rackIdN).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Speed(speed).Tag(tag).TagN(tagN).Type_(type_).TypeEmpty(typeEmpty).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNisw(typeNisw).UpdatedByRequest(updatedByRequest).VirtualChassis(virtualChassis).VirtualChassisN(virtualChassisN).VirtualChassisId(virtualChassisId).VirtualChassisIdN(virtualChassisIdN).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) @@ -4848,7 +4941,6 @@ Other parameters are passed through a pointer to a apiDcimConsoleServerPortsList Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **cableEnd** | [**CircuitsCircuitTerminationsListCableEndParameter**](CircuitsCircuitTerminationsListCableEndParameter.md) | * `A` - A * `B` - B | - **cableEndN** | [**CircuitsCircuitTerminationsListCableEndParameter**](CircuitsCircuitTerminationsListCableEndParameter.md) | * `A` - A * `B` - B | **cableId** | **[]int32** | Cable (ID) | **cableIdN** | **[]int32** | Cable (ID) | **cabled** | **bool** | | @@ -4876,6 +4968,21 @@ Name | Type | Description | Notes **deviceN** | **[]string** | Device (name) | **deviceId** | **[]int32** | Device (ID) | **deviceIdN** | **[]int32** | Device (ID) | + **deviceRole** | **[]string** | Device role (slug) | + **deviceRoleN** | **[]string** | Device role (slug) | + **deviceRoleId** | **[]int32** | Device role (ID) | + **deviceRoleIdN** | **[]int32** | Device role (ID) | + **deviceStatus** | **[]string** | | + **deviceStatusEmpty** | **bool** | | + **deviceStatusIc** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusIe** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusIew** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusIsw** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusN** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusNic** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusNie** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusNiew** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusNisw** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | **deviceType** | **[]string** | Device type (model) | **deviceTypeN** | **[]string** | Device type (model) | **deviceTypeId** | **[]int32** | Device type (ID) | @@ -4933,28 +5040,32 @@ Name | Type | Description | Notes **rackN** | **[]string** | Rack (name) | **rackId** | **[]int32** | Rack (ID) | **rackIdN** | **[]int32** | Rack (ID) | - **region** | **[]int32** | Region (slug) | - **regionN** | **[]int32** | Region (slug) | - **regionId** | **[]int32** | Region (ID) | - **regionIdN** | **[]int32** | Region (ID) | - **role** | **[]string** | Device role (slug) | - **roleN** | **[]string** | Device role (slug) | - **roleId** | **[]int32** | Device role (ID) | - **roleIdN** | **[]int32** | Device role (ID) | + **region** | **[]string** | | + **regionN** | **[]string** | | + **regionId** | **[]string** | | + **regionIdN** | **[]string** | | **site** | **[]string** | Site name (slug) | **siteN** | **[]string** | Site name (slug) | - **siteGroup** | **[]int32** | Site group (slug) | - **siteGroupN** | **[]int32** | Site group (slug) | - **siteGroupId** | **[]int32** | Site group (ID) | - **siteGroupIdN** | **[]int32** | Site group (ID) | + **siteGroup** | **[]string** | | + **siteGroupN** | **[]string** | | + **siteGroupId** | **[]string** | | + **siteGroupIdN** | **[]string** | | **siteId** | **[]int32** | Site (ID) | **siteIdN** | **[]int32** | Site (ID) | **speed** | [**DcimConsolePortsListSpeedParameter**](DcimConsolePortsListSpeedParameter.md) | Port speed in bits per second * `1200` - 1200 bps * `2400` - 2400 bps * `4800` - 4800 bps * `9600` - 9600 bps * `19200` - 19.2 kbps * `38400` - 38.4 kbps * `57600` - 57.6 kbps * `115200` - 115.2 kbps | - **speedN** | [**DcimConsolePortsListSpeedParameter**](DcimConsolePortsListSpeedParameter.md) | Port speed in bits per second * `1200` - 1200 bps * `2400` - 2400 bps * `4800` - 4800 bps * `9600` - 9600 bps * `19200` - 19.2 kbps * `38400` - 38.4 kbps * `57600` - 57.6 kbps * `115200` - 115.2 kbps | **tag** | **[]string** | | **tagN** | **[]string** | | **type_** | **[]string** | Physical port type | - **typeN** | **[]string** | Physical port type | + **typeEmpty** | **bool** | | + **typeIc** | [**[]DcimConsolePortsListTypeIcParameterInner**](DcimConsolePortsListTypeIcParameterInner.md) | Physical port type * `de-9` - DE-9 * `db-25` - DB-25 * `rj-11` - RJ-11 * `rj-12` - RJ-12 * `rj-45` - RJ-45 * `mini-din-8` - Mini-DIN 8 * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other | + **typeIe** | [**[]DcimConsolePortsListTypeIcParameterInner**](DcimConsolePortsListTypeIcParameterInner.md) | Physical port type * `de-9` - DE-9 * `db-25` - DB-25 * `rj-11` - RJ-11 * `rj-12` - RJ-12 * `rj-45` - RJ-45 * `mini-din-8` - Mini-DIN 8 * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other | + **typeIew** | [**[]DcimConsolePortsListTypeIcParameterInner**](DcimConsolePortsListTypeIcParameterInner.md) | Physical port type * `de-9` - DE-9 * `db-25` - DB-25 * `rj-11` - RJ-11 * `rj-12` - RJ-12 * `rj-45` - RJ-45 * `mini-din-8` - Mini-DIN 8 * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other | + **typeIsw** | [**[]DcimConsolePortsListTypeIcParameterInner**](DcimConsolePortsListTypeIcParameterInner.md) | Physical port type * `de-9` - DE-9 * `db-25` - DB-25 * `rj-11` - RJ-11 * `rj-12` - RJ-12 * `rj-45` - RJ-45 * `mini-din-8` - Mini-DIN 8 * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other | + **typeN** | [**[]DcimConsolePortsListTypeIcParameterInner**](DcimConsolePortsListTypeIcParameterInner.md) | Physical port type * `de-9` - DE-9 * `db-25` - DB-25 * `rj-11` - RJ-11 * `rj-12` - RJ-12 * `rj-45` - RJ-45 * `mini-din-8` - Mini-DIN 8 * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other | + **typeNic** | [**[]DcimConsolePortsListTypeIcParameterInner**](DcimConsolePortsListTypeIcParameterInner.md) | Physical port type * `de-9` - DE-9 * `db-25` - DB-25 * `rj-11` - RJ-11 * `rj-12` - RJ-12 * `rj-45` - RJ-45 * `mini-din-8` - Mini-DIN 8 * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other | + **typeNie** | [**[]DcimConsolePortsListTypeIcParameterInner**](DcimConsolePortsListTypeIcParameterInner.md) | Physical port type * `de-9` - DE-9 * `db-25` - DB-25 * `rj-11` - RJ-11 * `rj-12` - RJ-12 * `rj-45` - RJ-45 * `mini-din-8` - Mini-DIN 8 * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other | + **typeNiew** | [**[]DcimConsolePortsListTypeIcParameterInner**](DcimConsolePortsListTypeIcParameterInner.md) | Physical port type * `de-9` - DE-9 * `db-25` - DB-25 * `rj-11` - RJ-11 * `rj-12` - RJ-12 * `rj-45` - RJ-45 * `mini-din-8` - Mini-DIN 8 * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other | + **typeNisw** | [**[]DcimConsolePortsListTypeIcParameterInner**](DcimConsolePortsListTypeIcParameterInner.md) | Physical port type * `de-9` - DE-9 * `db-25` - DB-25 * `rj-11` - RJ-11 * `rj-12` - RJ-12 * `rj-45` - RJ-45 * `mini-din-8` - Mini-DIN 8 * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other | **updatedByRequest** | **string** | | **virtualChassis** | **[]string** | Virtual Chassis | **virtualChassisN** | **[]string** | Virtual Chassis | @@ -5213,7 +5324,7 @@ import ( func main() { id := int32(56) // int32 | A unique integer value identifying this console server port. - writableConsoleServerPortRequest := *openapiclient.NewWritableConsoleServerPortRequest(*openapiclient.NewDeviceRequest(), "Name_example") // WritableConsoleServerPortRequest | + writableConsoleServerPortRequest := *openapiclient.NewWritableConsoleServerPortRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example") // WritableConsoleServerPortRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -5284,7 +5395,7 @@ import ( ) func main() { - deviceBayTemplateRequest := []openapiclient.DeviceBayTemplateRequest{*openapiclient.NewDeviceBayTemplateRequest(*openapiclient.NewDeviceTypeRequest(*openapiclient.NewManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example"), "Name_example")} // []DeviceBayTemplateRequest | + deviceBayTemplateRequest := []openapiclient.DeviceBayTemplateRequest{*openapiclient.NewDeviceBayTemplateRequest(*openapiclient.NewBriefDeviceTypeRequest(*openapiclient.NewBriefManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example"), "Name_example")} // []DeviceBayTemplateRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -5348,7 +5459,7 @@ import ( ) func main() { - deviceBayTemplateRequest := []openapiclient.DeviceBayTemplateRequest{*openapiclient.NewDeviceBayTemplateRequest(*openapiclient.NewDeviceTypeRequest(*openapiclient.NewManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example"), "Name_example")} // []DeviceBayTemplateRequest | + deviceBayTemplateRequest := []openapiclient.DeviceBayTemplateRequest{*openapiclient.NewDeviceBayTemplateRequest(*openapiclient.NewBriefDeviceTypeRequest(*openapiclient.NewBriefManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example"), "Name_example")} // []DeviceBayTemplateRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -5414,7 +5525,7 @@ import ( ) func main() { - deviceBayTemplateRequest := []openapiclient.DeviceBayTemplateRequest{*openapiclient.NewDeviceBayTemplateRequest(*openapiclient.NewDeviceTypeRequest(*openapiclient.NewManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example"), "Name_example")} // []DeviceBayTemplateRequest | + deviceBayTemplateRequest := []openapiclient.DeviceBayTemplateRequest{*openapiclient.NewDeviceBayTemplateRequest(*openapiclient.NewBriefDeviceTypeRequest(*openapiclient.NewBriefManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example"), "Name_example")} // []DeviceBayTemplateRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -5480,7 +5591,7 @@ import ( ) func main() { - deviceBayTemplateRequest := *openapiclient.NewDeviceBayTemplateRequest(*openapiclient.NewDeviceTypeRequest(*openapiclient.NewManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example"), "Name_example") // DeviceBayTemplateRequest | + deviceBayTemplateRequest := *openapiclient.NewDeviceBayTemplateRequest(*openapiclient.NewBriefDeviceTypeRequest(*openapiclient.NewBriefManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example"), "Name_example") // DeviceBayTemplateRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -5595,7 +5706,7 @@ Name | Type | Description | Notes ## DcimDeviceBayTemplatesList -> PaginatedDeviceBayTemplateList DcimDeviceBayTemplatesList(ctx).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).DevicetypeId(devicetypeId).DevicetypeIdN(devicetypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).UpdatedByRequest(updatedByRequest).Execute() +> PaginatedDeviceBayTemplateList DcimDeviceBayTemplatesList(ctx).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).UpdatedByRequest(updatedByRequest).Execute() @@ -5636,8 +5747,6 @@ func main() { descriptionNisw := []string{"Inner_example"} // []string | (optional) deviceTypeId := []int32{int32(123)} // []int32 | Device type (ID) (optional) deviceTypeIdN := []int32{int32(123)} // []int32 | Device type (ID) (optional) - devicetypeId := []int32{int32(123)} // []int32 | Device type (ID) (optional) - devicetypeIdN := []int32{int32(123)} // []int32 | Device type (ID) (optional) id := []int32{int32(123)} // []int32 | (optional) idEmpty := true // bool | (optional) idGt := []int32{int32(123)} // []int32 | (optional) @@ -5683,7 +5792,7 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.DcimAPI.DcimDeviceBayTemplatesList(context.Background()).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).DevicetypeId(devicetypeId).DevicetypeIdN(devicetypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).UpdatedByRequest(updatedByRequest).Execute() + resp, r, err := apiClient.DcimAPI.DcimDeviceBayTemplatesList(context.Background()).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).UpdatedByRequest(updatedByRequest).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) @@ -5725,8 +5834,6 @@ Name | Type | Description | Notes **descriptionNisw** | **[]string** | | **deviceTypeId** | **[]int32** | Device type (ID) | **deviceTypeIdN** | **[]int32** | Device type (ID) | - **devicetypeId** | **[]int32** | Device type (ID) | - **devicetypeIdN** | **[]int32** | Device type (ID) | **id** | **[]int32** | | **idEmpty** | **bool** | | **idGt** | **[]int32** | | @@ -5952,7 +6059,7 @@ import ( func main() { id := int32(56) // int32 | A unique integer value identifying this device bay template. - deviceBayTemplateRequest := *openapiclient.NewDeviceBayTemplateRequest(*openapiclient.NewDeviceTypeRequest(*openapiclient.NewManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example"), "Name_example") // DeviceBayTemplateRequest | + deviceBayTemplateRequest := *openapiclient.NewDeviceBayTemplateRequest(*openapiclient.NewBriefDeviceTypeRequest(*openapiclient.NewBriefManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example"), "Name_example") // DeviceBayTemplateRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -6023,7 +6130,7 @@ import ( ) func main() { - deviceBayRequest := []openapiclient.DeviceBayRequest{*openapiclient.NewDeviceBayRequest(*openapiclient.NewDeviceRequest(), "Name_example")} // []DeviceBayRequest | + deviceBayRequest := []openapiclient.DeviceBayRequest{*openapiclient.NewDeviceBayRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example")} // []DeviceBayRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -6087,7 +6194,7 @@ import ( ) func main() { - deviceBayRequest := []openapiclient.DeviceBayRequest{*openapiclient.NewDeviceBayRequest(*openapiclient.NewDeviceRequest(), "Name_example")} // []DeviceBayRequest | + deviceBayRequest := []openapiclient.DeviceBayRequest{*openapiclient.NewDeviceBayRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example")} // []DeviceBayRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -6153,7 +6260,7 @@ import ( ) func main() { - deviceBayRequest := []openapiclient.DeviceBayRequest{*openapiclient.NewDeviceBayRequest(*openapiclient.NewDeviceRequest(), "Name_example")} // []DeviceBayRequest | + deviceBayRequest := []openapiclient.DeviceBayRequest{*openapiclient.NewDeviceBayRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example")} // []DeviceBayRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -6219,7 +6326,7 @@ import ( ) func main() { - deviceBayRequest := *openapiclient.NewDeviceBayRequest(*openapiclient.NewDeviceRequest(), "Name_example") // DeviceBayRequest | + deviceBayRequest := *openapiclient.NewDeviceBayRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example") // DeviceBayRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -6334,7 +6441,7 @@ Name | Type | Description | Notes ## DcimDeviceBaysList -> PaginatedDeviceBayList DcimDeviceBaysList(ctx).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceN(deviceN).DeviceId(deviceId).DeviceIdN(deviceIdN).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).InstalledDevice(installedDevice).InstalledDeviceN(installedDeviceN).InstalledDeviceId(installedDeviceId).InstalledDeviceIdN(installedDeviceIdN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).LocationId(locationId).LocationIdN(locationIdN).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).Rack(rack).RackN(rackN).RackId(rackId).RackIdN(rackIdN).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).VirtualChassis(virtualChassis).VirtualChassisN(virtualChassisN).VirtualChassisId(virtualChassisId).VirtualChassisIdN(virtualChassisIdN).Execute() +> PaginatedDeviceBayList DcimDeviceBaysList(ctx).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceN(deviceN).DeviceId(deviceId).DeviceIdN(deviceIdN).DeviceRole(deviceRole).DeviceRoleN(deviceRoleN).DeviceRoleId(deviceRoleId).DeviceRoleIdN(deviceRoleIdN).DeviceStatus(deviceStatus).DeviceStatusEmpty(deviceStatusEmpty).DeviceStatusIc(deviceStatusIc).DeviceStatusIe(deviceStatusIe).DeviceStatusIew(deviceStatusIew).DeviceStatusIsw(deviceStatusIsw).DeviceStatusN(deviceStatusN).DeviceStatusNic(deviceStatusNic).DeviceStatusNie(deviceStatusNie).DeviceStatusNiew(deviceStatusNiew).DeviceStatusNisw(deviceStatusNisw).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).InstalledDevice(installedDevice).InstalledDeviceN(installedDeviceN).InstalledDeviceId(installedDeviceId).InstalledDeviceIdN(installedDeviceIdN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).LocationId(locationId).LocationIdN(locationIdN).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).Rack(rack).RackN(rackN).RackId(rackId).RackIdN(rackIdN).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).VirtualChassis(virtualChassis).VirtualChassisN(virtualChassisN).VirtualChassisId(virtualChassisId).VirtualChassisIdN(virtualChassisIdN).Execute() @@ -6377,6 +6484,21 @@ func main() { deviceN := []*string{"Inner_example"} // []*string | Device (name) (optional) deviceId := []int32{int32(123)} // []int32 | Device (ID) (optional) deviceIdN := []int32{int32(123)} // []int32 | Device (ID) (optional) + deviceRole := []string{"Inner_example"} // []string | Device role (slug) (optional) + deviceRoleN := []string{"Inner_example"} // []string | Device role (slug) (optional) + deviceRoleId := []int32{int32(123)} // []int32 | Device role (ID) (optional) + deviceRoleIdN := []int32{int32(123)} // []int32 | Device role (ID) (optional) + deviceStatus := []string{"Inner_example"} // []string | (optional) + deviceStatusEmpty := true // bool | (optional) + deviceStatusIc := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusIe := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusIew := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusIsw := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusN := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusNic := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusNie := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusNiew := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusNisw := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) deviceType := []string{"Inner_example"} // []string | Device type (model) (optional) deviceTypeN := []string{"Inner_example"} // []string | Device type (model) (optional) deviceTypeId := []int32{int32(123)} // []int32 | Device type (ID) (optional) @@ -6434,20 +6556,16 @@ func main() { rackN := []string{"Inner_example"} // []string | Rack (name) (optional) rackId := []int32{int32(123)} // []int32 | Rack (ID) (optional) rackIdN := []int32{int32(123)} // []int32 | Rack (ID) (optional) - region := []int32{int32(123)} // []int32 | Region (slug) (optional) - regionN := []int32{int32(123)} // []int32 | Region (slug) (optional) - regionId := []int32{int32(123)} // []int32 | Region (ID) (optional) - regionIdN := []int32{int32(123)} // []int32 | Region (ID) (optional) - role := []string{"Inner_example"} // []string | Device role (slug) (optional) - roleN := []string{"Inner_example"} // []string | Device role (slug) (optional) - roleId := []int32{int32(123)} // []int32 | Device role (ID) (optional) - roleIdN := []int32{int32(123)} // []int32 | Device role (ID) (optional) + region := []string{"Inner_example"} // []string | (optional) + regionN := []string{"Inner_example"} // []string | (optional) + regionId := []string{"Inner_example"} // []string | (optional) + regionIdN := []string{"Inner_example"} // []string | (optional) site := []string{"Inner_example"} // []string | Site name (slug) (optional) siteN := []string{"Inner_example"} // []string | Site name (slug) (optional) - siteGroup := []int32{int32(123)} // []int32 | Site group (slug) (optional) - siteGroupN := []int32{int32(123)} // []int32 | Site group (slug) (optional) - siteGroupId := []int32{int32(123)} // []int32 | Site group (ID) (optional) - siteGroupIdN := []int32{int32(123)} // []int32 | Site group (ID) (optional) + siteGroup := []string{"Inner_example"} // []string | (optional) + siteGroupN := []string{"Inner_example"} // []string | (optional) + siteGroupId := []string{"Inner_example"} // []string | (optional) + siteGroupIdN := []string{"Inner_example"} // []string | (optional) siteId := []int32{int32(123)} // []int32 | Site (ID) (optional) siteIdN := []int32{int32(123)} // []int32 | Site (ID) (optional) tag := []string{"Inner_example"} // []string | (optional) @@ -6460,7 +6578,7 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.DcimAPI.DcimDeviceBaysList(context.Background()).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceN(deviceN).DeviceId(deviceId).DeviceIdN(deviceIdN).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).InstalledDevice(installedDevice).InstalledDeviceN(installedDeviceN).InstalledDeviceId(installedDeviceId).InstalledDeviceIdN(installedDeviceIdN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).LocationId(locationId).LocationIdN(locationIdN).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).Rack(rack).RackN(rackN).RackId(rackId).RackIdN(rackIdN).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).VirtualChassis(virtualChassis).VirtualChassisN(virtualChassisN).VirtualChassisId(virtualChassisId).VirtualChassisIdN(virtualChassisIdN).Execute() + resp, r, err := apiClient.DcimAPI.DcimDeviceBaysList(context.Background()).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceN(deviceN).DeviceId(deviceId).DeviceIdN(deviceIdN).DeviceRole(deviceRole).DeviceRoleN(deviceRoleN).DeviceRoleId(deviceRoleId).DeviceRoleIdN(deviceRoleIdN).DeviceStatus(deviceStatus).DeviceStatusEmpty(deviceStatusEmpty).DeviceStatusIc(deviceStatusIc).DeviceStatusIe(deviceStatusIe).DeviceStatusIew(deviceStatusIew).DeviceStatusIsw(deviceStatusIsw).DeviceStatusN(deviceStatusN).DeviceStatusNic(deviceStatusNic).DeviceStatusNie(deviceStatusNie).DeviceStatusNiew(deviceStatusNiew).DeviceStatusNisw(deviceStatusNisw).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).InstalledDevice(installedDevice).InstalledDeviceN(installedDeviceN).InstalledDeviceId(installedDeviceId).InstalledDeviceIdN(installedDeviceIdN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).LocationId(locationId).LocationIdN(locationIdN).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).Rack(rack).RackN(rackN).RackId(rackId).RackIdN(rackIdN).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).VirtualChassis(virtualChassis).VirtualChassisN(virtualChassisN).VirtualChassisId(virtualChassisId).VirtualChassisIdN(virtualChassisIdN).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) @@ -6504,6 +6622,21 @@ Name | Type | Description | Notes **deviceN** | **[]string** | Device (name) | **deviceId** | **[]int32** | Device (ID) | **deviceIdN** | **[]int32** | Device (ID) | + **deviceRole** | **[]string** | Device role (slug) | + **deviceRoleN** | **[]string** | Device role (slug) | + **deviceRoleId** | **[]int32** | Device role (ID) | + **deviceRoleIdN** | **[]int32** | Device role (ID) | + **deviceStatus** | **[]string** | | + **deviceStatusEmpty** | **bool** | | + **deviceStatusIc** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusIe** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusIew** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusIsw** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusN** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusNic** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusNie** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusNiew** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusNisw** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | **deviceType** | **[]string** | Device type (model) | **deviceTypeN** | **[]string** | Device type (model) | **deviceTypeId** | **[]int32** | Device type (ID) | @@ -6561,20 +6694,16 @@ Name | Type | Description | Notes **rackN** | **[]string** | Rack (name) | **rackId** | **[]int32** | Rack (ID) | **rackIdN** | **[]int32** | Rack (ID) | - **region** | **[]int32** | Region (slug) | - **regionN** | **[]int32** | Region (slug) | - **regionId** | **[]int32** | Region (ID) | - **regionIdN** | **[]int32** | Region (ID) | - **role** | **[]string** | Device role (slug) | - **roleN** | **[]string** | Device role (slug) | - **roleId** | **[]int32** | Device role (ID) | - **roleIdN** | **[]int32** | Device role (ID) | + **region** | **[]string** | | + **regionN** | **[]string** | | + **regionId** | **[]string** | | + **regionIdN** | **[]string** | | **site** | **[]string** | Site name (slug) | **siteN** | **[]string** | Site name (slug) | - **siteGroup** | **[]int32** | Site group (slug) | - **siteGroupN** | **[]int32** | Site group (slug) | - **siteGroupId** | **[]int32** | Site group (ID) | - **siteGroupIdN** | **[]int32** | Site group (ID) | + **siteGroup** | **[]string** | | + **siteGroupN** | **[]string** | | + **siteGroupId** | **[]string** | | + **siteGroupIdN** | **[]string** | | **siteId** | **[]int32** | Site (ID) | **siteIdN** | **[]int32** | Site (ID) | **tag** | **[]string** | | @@ -6767,7 +6896,7 @@ import ( func main() { id := int32(56) // int32 | A unique integer value identifying this device bay. - deviceBayRequest := *openapiclient.NewDeviceBayRequest(*openapiclient.NewDeviceRequest(), "Name_example") // DeviceBayRequest | + deviceBayRequest := *openapiclient.NewDeviceBayRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example") // DeviceBayRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -7601,7 +7730,7 @@ import ( ) func main() { - deviceTypeRequest := []openapiclient.DeviceTypeRequest{*openapiclient.NewDeviceTypeRequest(*openapiclient.NewManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example")} // []DeviceTypeRequest | + deviceTypeRequest := []openapiclient.DeviceTypeRequest{*openapiclient.NewDeviceTypeRequest(*openapiclient.NewBriefManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example")} // []DeviceTypeRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -7665,7 +7794,7 @@ import ( ) func main() { - deviceTypeRequest := []openapiclient.DeviceTypeRequest{*openapiclient.NewDeviceTypeRequest(*openapiclient.NewManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example")} // []DeviceTypeRequest | + deviceTypeRequest := []openapiclient.DeviceTypeRequest{*openapiclient.NewDeviceTypeRequest(*openapiclient.NewBriefManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example")} // []DeviceTypeRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -7731,7 +7860,7 @@ import ( ) func main() { - deviceTypeRequest := []openapiclient.DeviceTypeRequest{*openapiclient.NewDeviceTypeRequest(*openapiclient.NewManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example")} // []DeviceTypeRequest | + deviceTypeRequest := []openapiclient.DeviceTypeRequest{*openapiclient.NewDeviceTypeRequest(*openapiclient.NewBriefManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example")} // []DeviceTypeRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -7797,7 +7926,7 @@ import ( ) func main() { - writableDeviceTypeRequest := *openapiclient.NewWritableDeviceTypeRequest(*openapiclient.NewManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example") // WritableDeviceTypeRequest | + writableDeviceTypeRequest := *openapiclient.NewWritableDeviceTypeRequest(*openapiclient.NewBriefManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example") // WritableDeviceTypeRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -7912,7 +8041,7 @@ Name | Type | Description | Notes ## DcimDeviceTypesList -> PaginatedDeviceTypeList DcimDeviceTypesList(ctx).Airflow(airflow).AirflowN(airflowN).ConsolePortTemplateCount(consolePortTemplateCount).ConsolePortTemplateCountEmpty(consolePortTemplateCountEmpty).ConsolePortTemplateCountGt(consolePortTemplateCountGt).ConsolePortTemplateCountGte(consolePortTemplateCountGte).ConsolePortTemplateCountLt(consolePortTemplateCountLt).ConsolePortTemplateCountLte(consolePortTemplateCountLte).ConsolePortTemplateCountN(consolePortTemplateCountN).ConsolePorts(consolePorts).ConsoleServerPortTemplateCount(consoleServerPortTemplateCount).ConsoleServerPortTemplateCountEmpty(consoleServerPortTemplateCountEmpty).ConsoleServerPortTemplateCountGt(consoleServerPortTemplateCountGt).ConsoleServerPortTemplateCountGte(consoleServerPortTemplateCountGte).ConsoleServerPortTemplateCountLt(consoleServerPortTemplateCountLt).ConsoleServerPortTemplateCountLte(consoleServerPortTemplateCountLte).ConsoleServerPortTemplateCountN(consoleServerPortTemplateCountN).ConsoleServerPorts(consoleServerPorts).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).DefaultPlatform(defaultPlatform).DefaultPlatformN(defaultPlatformN).DefaultPlatformId(defaultPlatformId).DefaultPlatformIdN(defaultPlatformIdN).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceBayTemplateCount(deviceBayTemplateCount).DeviceBayTemplateCountEmpty(deviceBayTemplateCountEmpty).DeviceBayTemplateCountGt(deviceBayTemplateCountGt).DeviceBayTemplateCountGte(deviceBayTemplateCountGte).DeviceBayTemplateCountLt(deviceBayTemplateCountLt).DeviceBayTemplateCountLte(deviceBayTemplateCountLte).DeviceBayTemplateCountN(deviceBayTemplateCountN).DeviceBays(deviceBays).ExcludeFromUtilization(excludeFromUtilization).FrontPortTemplateCount(frontPortTemplateCount).FrontPortTemplateCountEmpty(frontPortTemplateCountEmpty).FrontPortTemplateCountGt(frontPortTemplateCountGt).FrontPortTemplateCountGte(frontPortTemplateCountGte).FrontPortTemplateCountLt(frontPortTemplateCountLt).FrontPortTemplateCountLte(frontPortTemplateCountLte).FrontPortTemplateCountN(frontPortTemplateCountN).HasFrontImage(hasFrontImage).HasRearImage(hasRearImage).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).InterfaceTemplateCount(interfaceTemplateCount).InterfaceTemplateCountEmpty(interfaceTemplateCountEmpty).InterfaceTemplateCountGt(interfaceTemplateCountGt).InterfaceTemplateCountGte(interfaceTemplateCountGte).InterfaceTemplateCountLt(interfaceTemplateCountLt).InterfaceTemplateCountLte(interfaceTemplateCountLte).InterfaceTemplateCountN(interfaceTemplateCountN).Interfaces(interfaces).InventoryItemTemplateCount(inventoryItemTemplateCount).InventoryItemTemplateCountEmpty(inventoryItemTemplateCountEmpty).InventoryItemTemplateCountGt(inventoryItemTemplateCountGt).InventoryItemTemplateCountGte(inventoryItemTemplateCountGte).InventoryItemTemplateCountLt(inventoryItemTemplateCountLt).InventoryItemTemplateCountLte(inventoryItemTemplateCountLte).InventoryItemTemplateCountN(inventoryItemTemplateCountN).InventoryItems(inventoryItems).IsFullDepth(isFullDepth).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Manufacturer(manufacturer).ManufacturerN(manufacturerN).ManufacturerId(manufacturerId).ManufacturerIdN(manufacturerIdN).Model(model).ModelEmpty(modelEmpty).ModelIc(modelIc).ModelIe(modelIe).ModelIew(modelIew).ModelIsw(modelIsw).ModelN(modelN).ModelNic(modelNic).ModelNie(modelNie).ModelNiew(modelNiew).ModelNisw(modelNisw).ModifiedByRequest(modifiedByRequest).ModuleBayTemplateCount(moduleBayTemplateCount).ModuleBayTemplateCountEmpty(moduleBayTemplateCountEmpty).ModuleBayTemplateCountGt(moduleBayTemplateCountGt).ModuleBayTemplateCountGte(moduleBayTemplateCountGte).ModuleBayTemplateCountLt(moduleBayTemplateCountLt).ModuleBayTemplateCountLte(moduleBayTemplateCountLte).ModuleBayTemplateCountN(moduleBayTemplateCountN).ModuleBays(moduleBays).Offset(offset).Ordering(ordering).PartNumber(partNumber).PartNumberEmpty(partNumberEmpty).PartNumberIc(partNumberIc).PartNumberIe(partNumberIe).PartNumberIew(partNumberIew).PartNumberIsw(partNumberIsw).PartNumberN(partNumberN).PartNumberNic(partNumberNic).PartNumberNie(partNumberNie).PartNumberNiew(partNumberNiew).PartNumberNisw(partNumberNisw).PassThroughPorts(passThroughPorts).PowerOutletTemplateCount(powerOutletTemplateCount).PowerOutletTemplateCountEmpty(powerOutletTemplateCountEmpty).PowerOutletTemplateCountGt(powerOutletTemplateCountGt).PowerOutletTemplateCountGte(powerOutletTemplateCountGte).PowerOutletTemplateCountLt(powerOutletTemplateCountLt).PowerOutletTemplateCountLte(powerOutletTemplateCountLte).PowerOutletTemplateCountN(powerOutletTemplateCountN).PowerOutlets(powerOutlets).PowerPortTemplateCount(powerPortTemplateCount).PowerPortTemplateCountEmpty(powerPortTemplateCountEmpty).PowerPortTemplateCountGt(powerPortTemplateCountGt).PowerPortTemplateCountGte(powerPortTemplateCountGte).PowerPortTemplateCountLt(powerPortTemplateCountLt).PowerPortTemplateCountLte(powerPortTemplateCountLte).PowerPortTemplateCountN(powerPortTemplateCountN).PowerPorts(powerPorts).Q(q).RearPortTemplateCount(rearPortTemplateCount).RearPortTemplateCountEmpty(rearPortTemplateCountEmpty).RearPortTemplateCountGt(rearPortTemplateCountGt).RearPortTemplateCountGte(rearPortTemplateCountGte).RearPortTemplateCountLt(rearPortTemplateCountLt).RearPortTemplateCountLte(rearPortTemplateCountLte).RearPortTemplateCountN(rearPortTemplateCountN).Slug(slug).SlugEmpty(slugEmpty).SlugIc(slugIc).SlugIe(slugIe).SlugIew(slugIew).SlugIsw(slugIsw).SlugN(slugN).SlugNic(slugNic).SlugNie(slugNie).SlugNiew(slugNiew).SlugNisw(slugNisw).SubdeviceRole(subdeviceRole).SubdeviceRoleN(subdeviceRoleN).Tag(tag).TagN(tagN).UHeight(uHeight).UHeightEmpty(uHeightEmpty).UHeightGt(uHeightGt).UHeightGte(uHeightGte).UHeightLt(uHeightLt).UHeightLte(uHeightLte).UHeightN(uHeightN).UpdatedByRequest(updatedByRequest).Weight(weight).WeightEmpty(weightEmpty).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).WeightUnit(weightUnit).WeightUnitN(weightUnitN).Execute() +> PaginatedDeviceTypeList DcimDeviceTypesList(ctx).Airflow(airflow).ConsolePortTemplateCount(consolePortTemplateCount).ConsolePortTemplateCountEmpty(consolePortTemplateCountEmpty).ConsolePortTemplateCountGt(consolePortTemplateCountGt).ConsolePortTemplateCountGte(consolePortTemplateCountGte).ConsolePortTemplateCountLt(consolePortTemplateCountLt).ConsolePortTemplateCountLte(consolePortTemplateCountLte).ConsolePortTemplateCountN(consolePortTemplateCountN).ConsolePorts(consolePorts).ConsoleServerPortTemplateCount(consoleServerPortTemplateCount).ConsoleServerPortTemplateCountEmpty(consoleServerPortTemplateCountEmpty).ConsoleServerPortTemplateCountGt(consoleServerPortTemplateCountGt).ConsoleServerPortTemplateCountGte(consoleServerPortTemplateCountGte).ConsoleServerPortTemplateCountLt(consoleServerPortTemplateCountLt).ConsoleServerPortTemplateCountLte(consoleServerPortTemplateCountLte).ConsoleServerPortTemplateCountN(consoleServerPortTemplateCountN).ConsoleServerPorts(consoleServerPorts).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).DefaultPlatform(defaultPlatform).DefaultPlatformN(defaultPlatformN).DefaultPlatformId(defaultPlatformId).DefaultPlatformIdN(defaultPlatformIdN).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceBayTemplateCount(deviceBayTemplateCount).DeviceBayTemplateCountEmpty(deviceBayTemplateCountEmpty).DeviceBayTemplateCountGt(deviceBayTemplateCountGt).DeviceBayTemplateCountGte(deviceBayTemplateCountGte).DeviceBayTemplateCountLt(deviceBayTemplateCountLt).DeviceBayTemplateCountLte(deviceBayTemplateCountLte).DeviceBayTemplateCountN(deviceBayTemplateCountN).DeviceBays(deviceBays).ExcludeFromUtilization(excludeFromUtilization).FrontPortTemplateCount(frontPortTemplateCount).FrontPortTemplateCountEmpty(frontPortTemplateCountEmpty).FrontPortTemplateCountGt(frontPortTemplateCountGt).FrontPortTemplateCountGte(frontPortTemplateCountGte).FrontPortTemplateCountLt(frontPortTemplateCountLt).FrontPortTemplateCountLte(frontPortTemplateCountLte).FrontPortTemplateCountN(frontPortTemplateCountN).HasFrontImage(hasFrontImage).HasRearImage(hasRearImage).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).InterfaceTemplateCount(interfaceTemplateCount).InterfaceTemplateCountEmpty(interfaceTemplateCountEmpty).InterfaceTemplateCountGt(interfaceTemplateCountGt).InterfaceTemplateCountGte(interfaceTemplateCountGte).InterfaceTemplateCountLt(interfaceTemplateCountLt).InterfaceTemplateCountLte(interfaceTemplateCountLte).InterfaceTemplateCountN(interfaceTemplateCountN).Interfaces(interfaces).InventoryItemTemplateCount(inventoryItemTemplateCount).InventoryItemTemplateCountEmpty(inventoryItemTemplateCountEmpty).InventoryItemTemplateCountGt(inventoryItemTemplateCountGt).InventoryItemTemplateCountGte(inventoryItemTemplateCountGte).InventoryItemTemplateCountLt(inventoryItemTemplateCountLt).InventoryItemTemplateCountLte(inventoryItemTemplateCountLte).InventoryItemTemplateCountN(inventoryItemTemplateCountN).InventoryItems(inventoryItems).IsFullDepth(isFullDepth).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Manufacturer(manufacturer).ManufacturerN(manufacturerN).ManufacturerId(manufacturerId).ManufacturerIdN(manufacturerIdN).Model(model).ModelEmpty(modelEmpty).ModelIc(modelIc).ModelIe(modelIe).ModelIew(modelIew).ModelIsw(modelIsw).ModelN(modelN).ModelNic(modelNic).ModelNie(modelNie).ModelNiew(modelNiew).ModelNisw(modelNisw).ModifiedByRequest(modifiedByRequest).ModuleBayTemplateCount(moduleBayTemplateCount).ModuleBayTemplateCountEmpty(moduleBayTemplateCountEmpty).ModuleBayTemplateCountGt(moduleBayTemplateCountGt).ModuleBayTemplateCountGte(moduleBayTemplateCountGte).ModuleBayTemplateCountLt(moduleBayTemplateCountLt).ModuleBayTemplateCountLte(moduleBayTemplateCountLte).ModuleBayTemplateCountN(moduleBayTemplateCountN).ModuleBays(moduleBays).Offset(offset).Ordering(ordering).PartNumber(partNumber).PartNumberEmpty(partNumberEmpty).PartNumberIc(partNumberIc).PartNumberIe(partNumberIe).PartNumberIew(partNumberIew).PartNumberIsw(partNumberIsw).PartNumberN(partNumberN).PartNumberNic(partNumberNic).PartNumberNie(partNumberNie).PartNumberNiew(partNumberNiew).PartNumberNisw(partNumberNisw).PassThroughPorts(passThroughPorts).PowerOutletTemplateCount(powerOutletTemplateCount).PowerOutletTemplateCountEmpty(powerOutletTemplateCountEmpty).PowerOutletTemplateCountGt(powerOutletTemplateCountGt).PowerOutletTemplateCountGte(powerOutletTemplateCountGte).PowerOutletTemplateCountLt(powerOutletTemplateCountLt).PowerOutletTemplateCountLte(powerOutletTemplateCountLte).PowerOutletTemplateCountN(powerOutletTemplateCountN).PowerOutlets(powerOutlets).PowerPortTemplateCount(powerPortTemplateCount).PowerPortTemplateCountEmpty(powerPortTemplateCountEmpty).PowerPortTemplateCountGt(powerPortTemplateCountGt).PowerPortTemplateCountGte(powerPortTemplateCountGte).PowerPortTemplateCountLt(powerPortTemplateCountLt).PowerPortTemplateCountLte(powerPortTemplateCountLte).PowerPortTemplateCountN(powerPortTemplateCountN).PowerPorts(powerPorts).Q(q).RearPortTemplateCount(rearPortTemplateCount).RearPortTemplateCountEmpty(rearPortTemplateCountEmpty).RearPortTemplateCountGt(rearPortTemplateCountGt).RearPortTemplateCountGte(rearPortTemplateCountGte).RearPortTemplateCountLt(rearPortTemplateCountLt).RearPortTemplateCountLte(rearPortTemplateCountLte).RearPortTemplateCountN(rearPortTemplateCountN).Slug(slug).SlugEmpty(slugEmpty).SlugIc(slugIc).SlugIe(slugIe).SlugIew(slugIew).SlugIsw(slugIsw).SlugN(slugN).SlugNic(slugNic).SlugNie(slugNie).SlugNiew(slugNiew).SlugNisw(slugNisw).SubdeviceRole(subdeviceRole).Tag(tag).TagN(tagN).UHeight(uHeight).UHeightEmpty(uHeightEmpty).UHeightGt(uHeightGt).UHeightGte(uHeightGte).UHeightLt(uHeightLt).UHeightLte(uHeightLte).UHeightN(uHeightN).UpdatedByRequest(updatedByRequest).Weight(weight).WeightEmpty(weightEmpty).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).WeightUnit(weightUnit).Execute() @@ -7933,7 +8062,6 @@ import ( func main() { airflow := openapiclient.dcim_device_types_list_airflow_parameter("front-to-rear") // DcimDeviceTypesListAirflowParameter | * `front-to-rear` - Front to rear * `rear-to-front` - Rear to front * `left-to-right` - Left to right * `right-to-left` - Right to left * `side-to-rear` - Side to rear * `passive` - Passive * `mixed` - Mixed (optional) - airflowN := openapiclient.dcim_device_types_list_airflow_parameter("front-to-rear") // DcimDeviceTypesListAirflowParameter | * `front-to-rear` - Front to rear * `rear-to-front` - Rear to front * `left-to-right` - Left to right * `right-to-left` - Right to left * `side-to-rear` - Side to rear * `passive` - Passive * `mixed` - Mixed (optional) consolePortTemplateCount := []int32{int32(123)} // []int32 | (optional) consolePortTemplateCountEmpty := true // bool | (optional) consolePortTemplateCountGt := []int32{int32(123)} // []int32 | (optional) @@ -8097,7 +8225,6 @@ func main() { slugNiew := []string{"Inner_example"} // []string | (optional) slugNisw := []string{"Inner_example"} // []string | (optional) subdeviceRole := openapiclient.Parent_child_status("child") // ParentChildStatus | Parent devices house child devices in device bays. Leave blank if this device type is neither a parent nor a child. * `parent` - Parent * `child` - Child (optional) - subdeviceRoleN := openapiclient.Parent_child_status("child") // ParentChildStatus | Parent devices house child devices in device bays. Leave blank if this device type is neither a parent nor a child. * `parent` - Parent * `child` - Child (optional) tag := []string{"Inner_example"} // []string | (optional) tagN := []string{"Inner_example"} // []string | (optional) uHeight := []float64{float64(123)} // []float64 | (optional) @@ -8116,11 +8243,10 @@ func main() { weightLte := []float64{float64(123)} // []float64 | (optional) weightN := []float64{float64(123)} // []float64 | (optional) weightUnit := openapiclient.dcim_device_types_list_weight_unit_parameter("g") // DcimDeviceTypesListWeightUnitParameter | * `kg` - Kilograms * `g` - Grams * `lb` - Pounds * `oz` - Ounces (optional) - weightUnitN := openapiclient.dcim_device_types_list_weight_unit_parameter("g") // DcimDeviceTypesListWeightUnitParameter | * `kg` - Kilograms * `g` - Grams * `lb` - Pounds * `oz` - Ounces (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.DcimAPI.DcimDeviceTypesList(context.Background()).Airflow(airflow).AirflowN(airflowN).ConsolePortTemplateCount(consolePortTemplateCount).ConsolePortTemplateCountEmpty(consolePortTemplateCountEmpty).ConsolePortTemplateCountGt(consolePortTemplateCountGt).ConsolePortTemplateCountGte(consolePortTemplateCountGte).ConsolePortTemplateCountLt(consolePortTemplateCountLt).ConsolePortTemplateCountLte(consolePortTemplateCountLte).ConsolePortTemplateCountN(consolePortTemplateCountN).ConsolePorts(consolePorts).ConsoleServerPortTemplateCount(consoleServerPortTemplateCount).ConsoleServerPortTemplateCountEmpty(consoleServerPortTemplateCountEmpty).ConsoleServerPortTemplateCountGt(consoleServerPortTemplateCountGt).ConsoleServerPortTemplateCountGte(consoleServerPortTemplateCountGte).ConsoleServerPortTemplateCountLt(consoleServerPortTemplateCountLt).ConsoleServerPortTemplateCountLte(consoleServerPortTemplateCountLte).ConsoleServerPortTemplateCountN(consoleServerPortTemplateCountN).ConsoleServerPorts(consoleServerPorts).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).DefaultPlatform(defaultPlatform).DefaultPlatformN(defaultPlatformN).DefaultPlatformId(defaultPlatformId).DefaultPlatformIdN(defaultPlatformIdN).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceBayTemplateCount(deviceBayTemplateCount).DeviceBayTemplateCountEmpty(deviceBayTemplateCountEmpty).DeviceBayTemplateCountGt(deviceBayTemplateCountGt).DeviceBayTemplateCountGte(deviceBayTemplateCountGte).DeviceBayTemplateCountLt(deviceBayTemplateCountLt).DeviceBayTemplateCountLte(deviceBayTemplateCountLte).DeviceBayTemplateCountN(deviceBayTemplateCountN).DeviceBays(deviceBays).ExcludeFromUtilization(excludeFromUtilization).FrontPortTemplateCount(frontPortTemplateCount).FrontPortTemplateCountEmpty(frontPortTemplateCountEmpty).FrontPortTemplateCountGt(frontPortTemplateCountGt).FrontPortTemplateCountGte(frontPortTemplateCountGte).FrontPortTemplateCountLt(frontPortTemplateCountLt).FrontPortTemplateCountLte(frontPortTemplateCountLte).FrontPortTemplateCountN(frontPortTemplateCountN).HasFrontImage(hasFrontImage).HasRearImage(hasRearImage).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).InterfaceTemplateCount(interfaceTemplateCount).InterfaceTemplateCountEmpty(interfaceTemplateCountEmpty).InterfaceTemplateCountGt(interfaceTemplateCountGt).InterfaceTemplateCountGte(interfaceTemplateCountGte).InterfaceTemplateCountLt(interfaceTemplateCountLt).InterfaceTemplateCountLte(interfaceTemplateCountLte).InterfaceTemplateCountN(interfaceTemplateCountN).Interfaces(interfaces).InventoryItemTemplateCount(inventoryItemTemplateCount).InventoryItemTemplateCountEmpty(inventoryItemTemplateCountEmpty).InventoryItemTemplateCountGt(inventoryItemTemplateCountGt).InventoryItemTemplateCountGte(inventoryItemTemplateCountGte).InventoryItemTemplateCountLt(inventoryItemTemplateCountLt).InventoryItemTemplateCountLte(inventoryItemTemplateCountLte).InventoryItemTemplateCountN(inventoryItemTemplateCountN).InventoryItems(inventoryItems).IsFullDepth(isFullDepth).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Manufacturer(manufacturer).ManufacturerN(manufacturerN).ManufacturerId(manufacturerId).ManufacturerIdN(manufacturerIdN).Model(model).ModelEmpty(modelEmpty).ModelIc(modelIc).ModelIe(modelIe).ModelIew(modelIew).ModelIsw(modelIsw).ModelN(modelN).ModelNic(modelNic).ModelNie(modelNie).ModelNiew(modelNiew).ModelNisw(modelNisw).ModifiedByRequest(modifiedByRequest).ModuleBayTemplateCount(moduleBayTemplateCount).ModuleBayTemplateCountEmpty(moduleBayTemplateCountEmpty).ModuleBayTemplateCountGt(moduleBayTemplateCountGt).ModuleBayTemplateCountGte(moduleBayTemplateCountGte).ModuleBayTemplateCountLt(moduleBayTemplateCountLt).ModuleBayTemplateCountLte(moduleBayTemplateCountLte).ModuleBayTemplateCountN(moduleBayTemplateCountN).ModuleBays(moduleBays).Offset(offset).Ordering(ordering).PartNumber(partNumber).PartNumberEmpty(partNumberEmpty).PartNumberIc(partNumberIc).PartNumberIe(partNumberIe).PartNumberIew(partNumberIew).PartNumberIsw(partNumberIsw).PartNumberN(partNumberN).PartNumberNic(partNumberNic).PartNumberNie(partNumberNie).PartNumberNiew(partNumberNiew).PartNumberNisw(partNumberNisw).PassThroughPorts(passThroughPorts).PowerOutletTemplateCount(powerOutletTemplateCount).PowerOutletTemplateCountEmpty(powerOutletTemplateCountEmpty).PowerOutletTemplateCountGt(powerOutletTemplateCountGt).PowerOutletTemplateCountGte(powerOutletTemplateCountGte).PowerOutletTemplateCountLt(powerOutletTemplateCountLt).PowerOutletTemplateCountLte(powerOutletTemplateCountLte).PowerOutletTemplateCountN(powerOutletTemplateCountN).PowerOutlets(powerOutlets).PowerPortTemplateCount(powerPortTemplateCount).PowerPortTemplateCountEmpty(powerPortTemplateCountEmpty).PowerPortTemplateCountGt(powerPortTemplateCountGt).PowerPortTemplateCountGte(powerPortTemplateCountGte).PowerPortTemplateCountLt(powerPortTemplateCountLt).PowerPortTemplateCountLte(powerPortTemplateCountLte).PowerPortTemplateCountN(powerPortTemplateCountN).PowerPorts(powerPorts).Q(q).RearPortTemplateCount(rearPortTemplateCount).RearPortTemplateCountEmpty(rearPortTemplateCountEmpty).RearPortTemplateCountGt(rearPortTemplateCountGt).RearPortTemplateCountGte(rearPortTemplateCountGte).RearPortTemplateCountLt(rearPortTemplateCountLt).RearPortTemplateCountLte(rearPortTemplateCountLte).RearPortTemplateCountN(rearPortTemplateCountN).Slug(slug).SlugEmpty(slugEmpty).SlugIc(slugIc).SlugIe(slugIe).SlugIew(slugIew).SlugIsw(slugIsw).SlugN(slugN).SlugNic(slugNic).SlugNie(slugNie).SlugNiew(slugNiew).SlugNisw(slugNisw).SubdeviceRole(subdeviceRole).SubdeviceRoleN(subdeviceRoleN).Tag(tag).TagN(tagN).UHeight(uHeight).UHeightEmpty(uHeightEmpty).UHeightGt(uHeightGt).UHeightGte(uHeightGte).UHeightLt(uHeightLt).UHeightLte(uHeightLte).UHeightN(uHeightN).UpdatedByRequest(updatedByRequest).Weight(weight).WeightEmpty(weightEmpty).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).WeightUnit(weightUnit).WeightUnitN(weightUnitN).Execute() + resp, r, err := apiClient.DcimAPI.DcimDeviceTypesList(context.Background()).Airflow(airflow).ConsolePortTemplateCount(consolePortTemplateCount).ConsolePortTemplateCountEmpty(consolePortTemplateCountEmpty).ConsolePortTemplateCountGt(consolePortTemplateCountGt).ConsolePortTemplateCountGte(consolePortTemplateCountGte).ConsolePortTemplateCountLt(consolePortTemplateCountLt).ConsolePortTemplateCountLte(consolePortTemplateCountLte).ConsolePortTemplateCountN(consolePortTemplateCountN).ConsolePorts(consolePorts).ConsoleServerPortTemplateCount(consoleServerPortTemplateCount).ConsoleServerPortTemplateCountEmpty(consoleServerPortTemplateCountEmpty).ConsoleServerPortTemplateCountGt(consoleServerPortTemplateCountGt).ConsoleServerPortTemplateCountGte(consoleServerPortTemplateCountGte).ConsoleServerPortTemplateCountLt(consoleServerPortTemplateCountLt).ConsoleServerPortTemplateCountLte(consoleServerPortTemplateCountLte).ConsoleServerPortTemplateCountN(consoleServerPortTemplateCountN).ConsoleServerPorts(consoleServerPorts).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).DefaultPlatform(defaultPlatform).DefaultPlatformN(defaultPlatformN).DefaultPlatformId(defaultPlatformId).DefaultPlatformIdN(defaultPlatformIdN).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceBayTemplateCount(deviceBayTemplateCount).DeviceBayTemplateCountEmpty(deviceBayTemplateCountEmpty).DeviceBayTemplateCountGt(deviceBayTemplateCountGt).DeviceBayTemplateCountGte(deviceBayTemplateCountGte).DeviceBayTemplateCountLt(deviceBayTemplateCountLt).DeviceBayTemplateCountLte(deviceBayTemplateCountLte).DeviceBayTemplateCountN(deviceBayTemplateCountN).DeviceBays(deviceBays).ExcludeFromUtilization(excludeFromUtilization).FrontPortTemplateCount(frontPortTemplateCount).FrontPortTemplateCountEmpty(frontPortTemplateCountEmpty).FrontPortTemplateCountGt(frontPortTemplateCountGt).FrontPortTemplateCountGte(frontPortTemplateCountGte).FrontPortTemplateCountLt(frontPortTemplateCountLt).FrontPortTemplateCountLte(frontPortTemplateCountLte).FrontPortTemplateCountN(frontPortTemplateCountN).HasFrontImage(hasFrontImage).HasRearImage(hasRearImage).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).InterfaceTemplateCount(interfaceTemplateCount).InterfaceTemplateCountEmpty(interfaceTemplateCountEmpty).InterfaceTemplateCountGt(interfaceTemplateCountGt).InterfaceTemplateCountGte(interfaceTemplateCountGte).InterfaceTemplateCountLt(interfaceTemplateCountLt).InterfaceTemplateCountLte(interfaceTemplateCountLte).InterfaceTemplateCountN(interfaceTemplateCountN).Interfaces(interfaces).InventoryItemTemplateCount(inventoryItemTemplateCount).InventoryItemTemplateCountEmpty(inventoryItemTemplateCountEmpty).InventoryItemTemplateCountGt(inventoryItemTemplateCountGt).InventoryItemTemplateCountGte(inventoryItemTemplateCountGte).InventoryItemTemplateCountLt(inventoryItemTemplateCountLt).InventoryItemTemplateCountLte(inventoryItemTemplateCountLte).InventoryItemTemplateCountN(inventoryItemTemplateCountN).InventoryItems(inventoryItems).IsFullDepth(isFullDepth).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Manufacturer(manufacturer).ManufacturerN(manufacturerN).ManufacturerId(manufacturerId).ManufacturerIdN(manufacturerIdN).Model(model).ModelEmpty(modelEmpty).ModelIc(modelIc).ModelIe(modelIe).ModelIew(modelIew).ModelIsw(modelIsw).ModelN(modelN).ModelNic(modelNic).ModelNie(modelNie).ModelNiew(modelNiew).ModelNisw(modelNisw).ModifiedByRequest(modifiedByRequest).ModuleBayTemplateCount(moduleBayTemplateCount).ModuleBayTemplateCountEmpty(moduleBayTemplateCountEmpty).ModuleBayTemplateCountGt(moduleBayTemplateCountGt).ModuleBayTemplateCountGte(moduleBayTemplateCountGte).ModuleBayTemplateCountLt(moduleBayTemplateCountLt).ModuleBayTemplateCountLte(moduleBayTemplateCountLte).ModuleBayTemplateCountN(moduleBayTemplateCountN).ModuleBays(moduleBays).Offset(offset).Ordering(ordering).PartNumber(partNumber).PartNumberEmpty(partNumberEmpty).PartNumberIc(partNumberIc).PartNumberIe(partNumberIe).PartNumberIew(partNumberIew).PartNumberIsw(partNumberIsw).PartNumberN(partNumberN).PartNumberNic(partNumberNic).PartNumberNie(partNumberNie).PartNumberNiew(partNumberNiew).PartNumberNisw(partNumberNisw).PassThroughPorts(passThroughPorts).PowerOutletTemplateCount(powerOutletTemplateCount).PowerOutletTemplateCountEmpty(powerOutletTemplateCountEmpty).PowerOutletTemplateCountGt(powerOutletTemplateCountGt).PowerOutletTemplateCountGte(powerOutletTemplateCountGte).PowerOutletTemplateCountLt(powerOutletTemplateCountLt).PowerOutletTemplateCountLte(powerOutletTemplateCountLte).PowerOutletTemplateCountN(powerOutletTemplateCountN).PowerOutlets(powerOutlets).PowerPortTemplateCount(powerPortTemplateCount).PowerPortTemplateCountEmpty(powerPortTemplateCountEmpty).PowerPortTemplateCountGt(powerPortTemplateCountGt).PowerPortTemplateCountGte(powerPortTemplateCountGte).PowerPortTemplateCountLt(powerPortTemplateCountLt).PowerPortTemplateCountLte(powerPortTemplateCountLte).PowerPortTemplateCountN(powerPortTemplateCountN).PowerPorts(powerPorts).Q(q).RearPortTemplateCount(rearPortTemplateCount).RearPortTemplateCountEmpty(rearPortTemplateCountEmpty).RearPortTemplateCountGt(rearPortTemplateCountGt).RearPortTemplateCountGte(rearPortTemplateCountGte).RearPortTemplateCountLt(rearPortTemplateCountLt).RearPortTemplateCountLte(rearPortTemplateCountLte).RearPortTemplateCountN(rearPortTemplateCountN).Slug(slug).SlugEmpty(slugEmpty).SlugIc(slugIc).SlugIe(slugIe).SlugIew(slugIew).SlugIsw(slugIsw).SlugN(slugN).SlugNic(slugNic).SlugNie(slugNie).SlugNiew(slugNiew).SlugNisw(slugNisw).SubdeviceRole(subdeviceRole).Tag(tag).TagN(tagN).UHeight(uHeight).UHeightEmpty(uHeightEmpty).UHeightGt(uHeightGt).UHeightGte(uHeightGte).UHeightLt(uHeightLt).UHeightLte(uHeightLte).UHeightN(uHeightN).UpdatedByRequest(updatedByRequest).Weight(weight).WeightEmpty(weightEmpty).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).WeightUnit(weightUnit).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) @@ -8142,7 +8268,6 @@ Other parameters are passed through a pointer to a apiDcimDeviceTypesListRequest Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **airflow** | [**DcimDeviceTypesListAirflowParameter**](DcimDeviceTypesListAirflowParameter.md) | * `front-to-rear` - Front to rear * `rear-to-front` - Rear to front * `left-to-right` - Left to right * `right-to-left` - Right to left * `side-to-rear` - Side to rear * `passive` - Passive * `mixed` - Mixed | - **airflowN** | [**DcimDeviceTypesListAirflowParameter**](DcimDeviceTypesListAirflowParameter.md) | * `front-to-rear` - Front to rear * `rear-to-front` - Rear to front * `left-to-right` - Left to right * `right-to-left` - Right to left * `side-to-rear` - Side to rear * `passive` - Passive * `mixed` - Mixed | **consolePortTemplateCount** | **[]int32** | | **consolePortTemplateCountEmpty** | **bool** | | **consolePortTemplateCountGt** | **[]int32** | | @@ -8306,7 +8431,6 @@ Name | Type | Description | Notes **slugNiew** | **[]string** | | **slugNisw** | **[]string** | | **subdeviceRole** | [**ParentChildStatus**](ParentChildStatus.md) | Parent devices house child devices in device bays. Leave blank if this device type is neither a parent nor a child. * `parent` - Parent * `child` - Child | - **subdeviceRoleN** | [**ParentChildStatus**](ParentChildStatus.md) | Parent devices house child devices in device bays. Leave blank if this device type is neither a parent nor a child. * `parent` - Parent * `child` - Child | **tag** | **[]string** | | **tagN** | **[]string** | | **uHeight** | **[]float64** | | @@ -8325,7 +8449,6 @@ Name | Type | Description | Notes **weightLte** | **[]float64** | | **weightN** | **[]float64** | | **weightUnit** | [**DcimDeviceTypesListWeightUnitParameter**](DcimDeviceTypesListWeightUnitParameter.md) | * `kg` - Kilograms * `g` - Grams * `lb` - Pounds * `oz` - Ounces | - **weightUnitN** | [**DcimDeviceTypesListWeightUnitParameter**](DcimDeviceTypesListWeightUnitParameter.md) | * `kg` - Kilograms * `g` - Grams * `lb` - Pounds * `oz` - Ounces | ### Return type @@ -8509,7 +8632,7 @@ import ( func main() { id := int32(56) // int32 | A unique integer value identifying this device type. - writableDeviceTypeRequest := *openapiclient.NewWritableDeviceTypeRequest(*openapiclient.NewManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example") // WritableDeviceTypeRequest | + writableDeviceTypeRequest := *openapiclient.NewWritableDeviceTypeRequest(*openapiclient.NewBriefManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example") // WritableDeviceTypeRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -8580,7 +8703,7 @@ import ( ) func main() { - deviceWithConfigContextRequest := []openapiclient.DeviceWithConfigContextRequest{*openapiclient.NewDeviceWithConfigContextRequest(*openapiclient.NewDeviceTypeRequest(*openapiclient.NewManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example"), *openapiclient.NewDeviceRoleRequest("Name_example", "Slug_example"), *openapiclient.NewSiteRequest("Name_example", "Slug_example"))} // []DeviceWithConfigContextRequest | + deviceWithConfigContextRequest := []openapiclient.DeviceWithConfigContextRequest{*openapiclient.NewDeviceWithConfigContextRequest(*openapiclient.NewBriefDeviceTypeRequest(*openapiclient.NewBriefManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example"), *openapiclient.NewBriefDeviceRoleRequest("Name_example", "Slug_example"), *openapiclient.NewBriefSiteRequest("Name_example", "Slug_example"))} // []DeviceWithConfigContextRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -8644,7 +8767,7 @@ import ( ) func main() { - deviceWithConfigContextRequest := []openapiclient.DeviceWithConfigContextRequest{*openapiclient.NewDeviceWithConfigContextRequest(*openapiclient.NewDeviceTypeRequest(*openapiclient.NewManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example"), *openapiclient.NewDeviceRoleRequest("Name_example", "Slug_example"), *openapiclient.NewSiteRequest("Name_example", "Slug_example"))} // []DeviceWithConfigContextRequest | + deviceWithConfigContextRequest := []openapiclient.DeviceWithConfigContextRequest{*openapiclient.NewDeviceWithConfigContextRequest(*openapiclient.NewBriefDeviceTypeRequest(*openapiclient.NewBriefManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example"), *openapiclient.NewBriefDeviceRoleRequest("Name_example", "Slug_example"), *openapiclient.NewBriefSiteRequest("Name_example", "Slug_example"))} // []DeviceWithConfigContextRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -8710,7 +8833,7 @@ import ( ) func main() { - deviceWithConfigContextRequest := []openapiclient.DeviceWithConfigContextRequest{*openapiclient.NewDeviceWithConfigContextRequest(*openapiclient.NewDeviceTypeRequest(*openapiclient.NewManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example"), *openapiclient.NewDeviceRoleRequest("Name_example", "Slug_example"), *openapiclient.NewSiteRequest("Name_example", "Slug_example"))} // []DeviceWithConfigContextRequest | + deviceWithConfigContextRequest := []openapiclient.DeviceWithConfigContextRequest{*openapiclient.NewDeviceWithConfigContextRequest(*openapiclient.NewBriefDeviceTypeRequest(*openapiclient.NewBriefManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example"), *openapiclient.NewBriefDeviceRoleRequest("Name_example", "Slug_example"), *openapiclient.NewBriefSiteRequest("Name_example", "Slug_example"))} // []DeviceWithConfigContextRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -8776,7 +8899,7 @@ import ( ) func main() { - writableDeviceWithConfigContextRequest := *openapiclient.NewWritableDeviceWithConfigContextRequest(*openapiclient.NewDeviceTypeRequest(*openapiclient.NewManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example"), *openapiclient.NewDeviceRoleRequest("Name_example", "Slug_example"), *openapiclient.NewSiteRequest("Name_example", "Slug_example"), openapiclient.Rack_face_1("front")) // WritableDeviceWithConfigContextRequest | + writableDeviceWithConfigContextRequest := *openapiclient.NewWritableDeviceWithConfigContextRequest(*openapiclient.NewBriefDeviceTypeRequest(*openapiclient.NewBriefManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example"), *openapiclient.NewBriefDeviceRoleRequest("Name_example", "Slug_example"), *openapiclient.NewBriefSiteRequest("Name_example", "Slug_example"), openapiclient.Rack_face_1("front")) // WritableDeviceWithConfigContextRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -8891,7 +9014,7 @@ Name | Type | Description | Notes ## DcimDevicesList -> PaginatedDeviceWithConfigContextList DcimDevicesList(ctx).Airflow(airflow).AirflowN(airflowN).AssetTag(assetTag).AssetTagEmpty(assetTagEmpty).AssetTagIc(assetTagIc).AssetTagIe(assetTagIe).AssetTagIew(assetTagIew).AssetTagIsw(assetTagIsw).AssetTagN(assetTagN).AssetTagNic(assetTagNic).AssetTagNie(assetTagNie).AssetTagNiew(assetTagNiew).AssetTagNisw(assetTagNisw).ClusterId(clusterId).ClusterIdN(clusterIdN).ConfigTemplateId(configTemplateId).ConfigTemplateIdN(configTemplateIdN).ConsolePortCount(consolePortCount).ConsolePortCountEmpty(consolePortCountEmpty).ConsolePortCountGt(consolePortCountGt).ConsolePortCountGte(consolePortCountGte).ConsolePortCountLt(consolePortCountLt).ConsolePortCountLte(consolePortCountLte).ConsolePortCountN(consolePortCountN).ConsolePorts(consolePorts).ConsoleServerPortCount(consoleServerPortCount).ConsoleServerPortCountEmpty(consoleServerPortCountEmpty).ConsoleServerPortCountGt(consoleServerPortCountGt).ConsoleServerPortCountGte(consoleServerPortCountGte).ConsoleServerPortCountLt(consoleServerPortCountLt).ConsoleServerPortCountLte(consoleServerPortCountLte).ConsoleServerPortCountN(consoleServerPortCountN).ConsoleServerPorts(consoleServerPorts).Contact(contact).ContactN(contactN).ContactGroup(contactGroup).ContactGroupN(contactGroupN).ContactRole(contactRole).ContactRoleN(contactRoleN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceBayCount(deviceBayCount).DeviceBayCountEmpty(deviceBayCountEmpty).DeviceBayCountGt(deviceBayCountGt).DeviceBayCountGte(deviceBayCountGte).DeviceBayCountLt(deviceBayCountLt).DeviceBayCountLte(deviceBayCountLte).DeviceBayCountN(deviceBayCountN).DeviceBays(deviceBays).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Face(face).FaceN(faceN).FrontPortCount(frontPortCount).FrontPortCountEmpty(frontPortCountEmpty).FrontPortCountGt(frontPortCountGt).FrontPortCountGte(frontPortCountGte).FrontPortCountLt(frontPortCountLt).FrontPortCountLte(frontPortCountLte).FrontPortCountN(frontPortCountN).HasOobIp(hasOobIp).HasPrimaryIp(hasPrimaryIp).HasVirtualDeviceContext(hasVirtualDeviceContext).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).InterfaceCount(interfaceCount).InterfaceCountEmpty(interfaceCountEmpty).InterfaceCountGt(interfaceCountGt).InterfaceCountGte(interfaceCountGte).InterfaceCountLt(interfaceCountLt).InterfaceCountLte(interfaceCountLte).InterfaceCountN(interfaceCountN).Interfaces(interfaces).InventoryItemCount(inventoryItemCount).InventoryItemCountEmpty(inventoryItemCountEmpty).InventoryItemCountGt(inventoryItemCountGt).InventoryItemCountGte(inventoryItemCountGte).InventoryItemCountLt(inventoryItemCountLt).InventoryItemCountLte(inventoryItemCountLte).InventoryItemCountN(inventoryItemCountN).IsFullDepth(isFullDepth).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Latitude(latitude).LatitudeEmpty(latitudeEmpty).LatitudeGt(latitudeGt).LatitudeGte(latitudeGte).LatitudeLt(latitudeLt).LatitudeLte(latitudeLte).LatitudeN(latitudeN).Limit(limit).LocalContextData(localContextData).LocationId(locationId).LocationIdN(locationIdN).Longitude(longitude).LongitudeEmpty(longitudeEmpty).LongitudeGt(longitudeGt).LongitudeGte(longitudeGte).LongitudeLt(longitudeLt).LongitudeLte(longitudeLte).LongitudeN(longitudeN).MacAddress(macAddress).MacAddressIc(macAddressIc).MacAddressIe(macAddressIe).MacAddressIew(macAddressIew).MacAddressIsw(macAddressIsw).MacAddressN(macAddressN).MacAddressNic(macAddressNic).MacAddressNie(macAddressNie).MacAddressNiew(macAddressNiew).MacAddressNisw(macAddressNisw).Manufacturer(manufacturer).ManufacturerN(manufacturerN).ManufacturerId(manufacturerId).ManufacturerIdN(manufacturerIdN).Model(model).ModelN(modelN).ModifiedByRequest(modifiedByRequest).ModuleBayCount(moduleBayCount).ModuleBayCountEmpty(moduleBayCountEmpty).ModuleBayCountGt(moduleBayCountGt).ModuleBayCountGte(moduleBayCountGte).ModuleBayCountLt(moduleBayCountLt).ModuleBayCountLte(moduleBayCountLte).ModuleBayCountN(moduleBayCountN).ModuleBays(moduleBays).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).OobIpId(oobIpId).OobIpIdN(oobIpIdN).Ordering(ordering).ParentBayId(parentBayId).ParentBayIdN(parentBayIdN).ParentDeviceId(parentDeviceId).ParentDeviceIdN(parentDeviceIdN).PassThroughPorts(passThroughPorts).Platform(platform).PlatformN(platformN).PlatformId(platformId).PlatformIdN(platformIdN).Position(position).PositionEmpty(positionEmpty).PositionGt(positionGt).PositionGte(positionGte).PositionLt(positionLt).PositionLte(positionLte).PositionN(positionN).PowerOutletCount(powerOutletCount).PowerOutletCountEmpty(powerOutletCountEmpty).PowerOutletCountGt(powerOutletCountGt).PowerOutletCountGte(powerOutletCountGte).PowerOutletCountLt(powerOutletCountLt).PowerOutletCountLte(powerOutletCountLte).PowerOutletCountN(powerOutletCountN).PowerOutlets(powerOutlets).PowerPortCount(powerPortCount).PowerPortCountEmpty(powerPortCountEmpty).PowerPortCountGt(powerPortCountGt).PowerPortCountGte(powerPortCountGte).PowerPortCountLt(powerPortCountLt).PowerPortCountLte(powerPortCountLte).PowerPortCountN(powerPortCountN).PowerPorts(powerPorts).PrimaryIp4Id(primaryIp4Id).PrimaryIp4IdN(primaryIp4IdN).PrimaryIp6Id(primaryIp6Id).PrimaryIp6IdN(primaryIp6IdN).Q(q).RackId(rackId).RackIdN(rackIdN).RearPortCount(rearPortCount).RearPortCountEmpty(rearPortCountEmpty).RearPortCountGt(rearPortCountGt).RearPortCountGte(rearPortCountGte).RearPortCountLt(rearPortCountLt).RearPortCountLte(rearPortCountLte).RearPortCountN(rearPortCountN).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).Serial(serial).SerialEmpty(serialEmpty).SerialIc(serialIc).SerialIe(serialIe).SerialIew(serialIew).SerialIsw(serialIsw).SerialN(serialN).SerialNic(serialNic).SerialNie(serialNie).SerialNiew(serialNiew).SerialNisw(serialNisw).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Status(status).StatusN(statusN).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).UpdatedByRequest(updatedByRequest).VcPosition(vcPosition).VcPositionEmpty(vcPositionEmpty).VcPositionGt(vcPositionGt).VcPositionGte(vcPositionGte).VcPositionLt(vcPositionLt).VcPositionLte(vcPositionLte).VcPositionN(vcPositionN).VcPriority(vcPriority).VcPriorityEmpty(vcPriorityEmpty).VcPriorityGt(vcPriorityGt).VcPriorityGte(vcPriorityGte).VcPriorityLt(vcPriorityLt).VcPriorityLte(vcPriorityLte).VcPriorityN(vcPriorityN).VirtualChassisId(virtualChassisId).VirtualChassisIdN(virtualChassisIdN).VirtualChassisMember(virtualChassisMember).Execute() +> PaginatedDeviceWithConfigContextList DcimDevicesList(ctx).Airflow(airflow).AssetTag(assetTag).AssetTagEmpty(assetTagEmpty).AssetTagIc(assetTagIc).AssetTagIe(assetTagIe).AssetTagIew(assetTagIew).AssetTagIsw(assetTagIsw).AssetTagN(assetTagN).AssetTagNic(assetTagNic).AssetTagNie(assetTagNie).AssetTagNiew(assetTagNiew).AssetTagNisw(assetTagNisw).ClusterGroup(clusterGroup).ClusterGroupN(clusterGroupN).ClusterGroupId(clusterGroupId).ClusterGroupIdN(clusterGroupIdN).ClusterId(clusterId).ClusterIdN(clusterIdN).ConfigTemplateId(configTemplateId).ConfigTemplateIdN(configTemplateIdN).ConsolePortCount(consolePortCount).ConsolePortCountEmpty(consolePortCountEmpty).ConsolePortCountGt(consolePortCountGt).ConsolePortCountGte(consolePortCountGte).ConsolePortCountLt(consolePortCountLt).ConsolePortCountLte(consolePortCountLte).ConsolePortCountN(consolePortCountN).ConsolePorts(consolePorts).ConsoleServerPortCount(consoleServerPortCount).ConsoleServerPortCountEmpty(consoleServerPortCountEmpty).ConsoleServerPortCountGt(consoleServerPortCountGt).ConsoleServerPortCountGte(consoleServerPortCountGte).ConsoleServerPortCountLt(consoleServerPortCountLt).ConsoleServerPortCountLte(consoleServerPortCountLte).ConsoleServerPortCountN(consoleServerPortCountN).ConsoleServerPorts(consoleServerPorts).Contact(contact).ContactN(contactN).ContactGroup(contactGroup).ContactGroupN(contactGroupN).ContactRole(contactRole).ContactRoleN(contactRoleN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceBayCount(deviceBayCount).DeviceBayCountEmpty(deviceBayCountEmpty).DeviceBayCountGt(deviceBayCountGt).DeviceBayCountGte(deviceBayCountGte).DeviceBayCountLt(deviceBayCountLt).DeviceBayCountLte(deviceBayCountLte).DeviceBayCountN(deviceBayCountN).DeviceBays(deviceBays).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Face(face).FrontPortCount(frontPortCount).FrontPortCountEmpty(frontPortCountEmpty).FrontPortCountGt(frontPortCountGt).FrontPortCountGte(frontPortCountGte).FrontPortCountLt(frontPortCountLt).FrontPortCountLte(frontPortCountLte).FrontPortCountN(frontPortCountN).HasOobIp(hasOobIp).HasPrimaryIp(hasPrimaryIp).HasVirtualDeviceContext(hasVirtualDeviceContext).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).InterfaceCount(interfaceCount).InterfaceCountEmpty(interfaceCountEmpty).InterfaceCountGt(interfaceCountGt).InterfaceCountGte(interfaceCountGte).InterfaceCountLt(interfaceCountLt).InterfaceCountLte(interfaceCountLte).InterfaceCountN(interfaceCountN).Interfaces(interfaces).InventoryItemCount(inventoryItemCount).InventoryItemCountEmpty(inventoryItemCountEmpty).InventoryItemCountGt(inventoryItemCountGt).InventoryItemCountGte(inventoryItemCountGte).InventoryItemCountLt(inventoryItemCountLt).InventoryItemCountLte(inventoryItemCountLte).InventoryItemCountN(inventoryItemCountN).IsFullDepth(isFullDepth).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Latitude(latitude).LatitudeEmpty(latitudeEmpty).LatitudeGt(latitudeGt).LatitudeGte(latitudeGte).LatitudeLt(latitudeLt).LatitudeLte(latitudeLte).LatitudeN(latitudeN).Limit(limit).LocalContextData(localContextData).LocationId(locationId).LocationIdN(locationIdN).Longitude(longitude).LongitudeEmpty(longitudeEmpty).LongitudeGt(longitudeGt).LongitudeGte(longitudeGte).LongitudeLt(longitudeLt).LongitudeLte(longitudeLte).LongitudeN(longitudeN).MacAddress(macAddress).MacAddressIc(macAddressIc).MacAddressIe(macAddressIe).MacAddressIew(macAddressIew).MacAddressIsw(macAddressIsw).MacAddressN(macAddressN).MacAddressNic(macAddressNic).MacAddressNie(macAddressNie).MacAddressNiew(macAddressNiew).MacAddressNisw(macAddressNisw).Manufacturer(manufacturer).ManufacturerN(manufacturerN).ManufacturerId(manufacturerId).ManufacturerIdN(manufacturerIdN).Model(model).ModelN(modelN).ModifiedByRequest(modifiedByRequest).ModuleBayCount(moduleBayCount).ModuleBayCountEmpty(moduleBayCountEmpty).ModuleBayCountGt(moduleBayCountGt).ModuleBayCountGte(moduleBayCountGte).ModuleBayCountLt(moduleBayCountLt).ModuleBayCountLte(moduleBayCountLte).ModuleBayCountN(moduleBayCountN).ModuleBays(moduleBays).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).OobIpId(oobIpId).OobIpIdN(oobIpIdN).Ordering(ordering).ParentBayId(parentBayId).ParentBayIdN(parentBayIdN).ParentDeviceId(parentDeviceId).ParentDeviceIdN(parentDeviceIdN).PassThroughPorts(passThroughPorts).Platform(platform).PlatformN(platformN).PlatformId(platformId).PlatformIdN(platformIdN).Position(position).PositionEmpty(positionEmpty).PositionGt(positionGt).PositionGte(positionGte).PositionLt(positionLt).PositionLte(positionLte).PositionN(positionN).PowerOutletCount(powerOutletCount).PowerOutletCountEmpty(powerOutletCountEmpty).PowerOutletCountGt(powerOutletCountGt).PowerOutletCountGte(powerOutletCountGte).PowerOutletCountLt(powerOutletCountLt).PowerOutletCountLte(powerOutletCountLte).PowerOutletCountN(powerOutletCountN).PowerOutlets(powerOutlets).PowerPortCount(powerPortCount).PowerPortCountEmpty(powerPortCountEmpty).PowerPortCountGt(powerPortCountGt).PowerPortCountGte(powerPortCountGte).PowerPortCountLt(powerPortCountLt).PowerPortCountLte(powerPortCountLte).PowerPortCountN(powerPortCountN).PowerPorts(powerPorts).PrimaryIp4Id(primaryIp4Id).PrimaryIp4IdN(primaryIp4IdN).PrimaryIp6Id(primaryIp6Id).PrimaryIp6IdN(primaryIp6IdN).Q(q).RackId(rackId).RackIdN(rackIdN).RearPortCount(rearPortCount).RearPortCountEmpty(rearPortCountEmpty).RearPortCountGt(rearPortCountGt).RearPortCountGte(rearPortCountGte).RearPortCountLt(rearPortCountLt).RearPortCountLte(rearPortCountLte).RearPortCountN(rearPortCountN).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).Serial(serial).SerialEmpty(serialEmpty).SerialIc(serialIc).SerialIe(serialIe).SerialIew(serialIew).SerialIsw(serialIsw).SerialN(serialN).SerialNic(serialNic).SerialNie(serialNie).SerialNiew(serialNiew).SerialNisw(serialNisw).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Status(status).StatusEmpty(statusEmpty).StatusIc(statusIc).StatusIe(statusIe).StatusIew(statusIew).StatusIsw(statusIsw).StatusN(statusN).StatusNic(statusNic).StatusNie(statusNie).StatusNiew(statusNiew).StatusNisw(statusNisw).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).UpdatedByRequest(updatedByRequest).VcPosition(vcPosition).VcPositionEmpty(vcPositionEmpty).VcPositionGt(vcPositionGt).VcPositionGte(vcPositionGte).VcPositionLt(vcPositionLt).VcPositionLte(vcPositionLte).VcPositionN(vcPositionN).VcPriority(vcPriority).VcPriorityEmpty(vcPriorityEmpty).VcPriorityGt(vcPriorityGt).VcPriorityGte(vcPriorityGte).VcPriorityLt(vcPriorityLt).VcPriorityLte(vcPriorityLte).VcPriorityN(vcPriorityN).VirtualChassisId(virtualChassisId).VirtualChassisIdN(virtualChassisIdN).VirtualChassisMember(virtualChassisMember).Execute() @@ -8912,7 +9035,6 @@ import ( func main() { airflow := openapiclient.dcim_device_types_list_airflow_parameter("front-to-rear") // DcimDeviceTypesListAirflowParameter | * `front-to-rear` - Front to rear * `rear-to-front` - Rear to front * `left-to-right` - Left to right * `right-to-left` - Right to left * `side-to-rear` - Side to rear * `passive` - Passive * `mixed` - Mixed (optional) - airflowN := openapiclient.dcim_device_types_list_airflow_parameter("front-to-rear") // DcimDeviceTypesListAirflowParameter | * `front-to-rear` - Front to rear * `rear-to-front` - Rear to front * `left-to-right` - Left to right * `right-to-left` - Right to left * `side-to-rear` - Side to rear * `passive` - Passive * `mixed` - Mixed (optional) assetTag := []string{"Inner_example"} // []string | (optional) assetTagEmpty := true // bool | (optional) assetTagIc := []string{"Inner_example"} // []string | (optional) @@ -8924,6 +9046,10 @@ func main() { assetTagNie := []string{"Inner_example"} // []string | (optional) assetTagNiew := []string{"Inner_example"} // []string | (optional) assetTagNisw := []string{"Inner_example"} // []string | (optional) + clusterGroup := []string{"Inner_example"} // []string | Cluster group (slug) (optional) + clusterGroupN := []string{"Inner_example"} // []string | Cluster group (slug) (optional) + clusterGroupId := []int32{int32(123)} // []int32 | Cluster group (ID) (optional) + clusterGroupIdN := []int32{int32(123)} // []int32 | Cluster group (ID) (optional) clusterId := []*int32{int32(123)} // []*int32 | VM cluster (ID) (optional) clusterIdN := []*int32{int32(123)} // []*int32 | VM cluster (ID) (optional) configTemplateId := []*int32{int32(123)} // []*int32 | Config template (ID) (optional) @@ -8946,8 +9072,8 @@ func main() { consoleServerPorts := true // bool | Has console server ports (optional) contact := []int32{int32(123)} // []int32 | Contact (optional) contactN := []int32{int32(123)} // []int32 | Contact (optional) - contactGroup := []int32{int32(123)} // []int32 | Contact group (optional) - contactGroupN := []int32{int32(123)} // []int32 | Contact group (optional) + contactGroup := []string{"Inner_example"} // []string | (optional) + contactGroupN := []string{"Inner_example"} // []string | (optional) contactRole := []int32{int32(123)} // []int32 | Contact Role (optional) contactRoleN := []int32{int32(123)} // []int32 | Contact Role (optional) created := []time.Time{time.Now()} // []time.Time | (optional) @@ -8982,7 +9108,6 @@ func main() { deviceTypeId := []int32{int32(123)} // []int32 | Device type (ID) (optional) deviceTypeIdN := []int32{int32(123)} // []int32 | Device type (ID) (optional) face := openapiclient.Rack_face("front") // RackFace | * `front` - Front * `rear` - Rear (optional) - faceN := openapiclient.Rack_face("front") // RackFace | * `front` - Front * `rear` - Rear (optional) frontPortCount := []int32{int32(123)} // []int32 | (optional) frontPortCountEmpty := true // bool | (optional) frontPortCountGt := []int32{int32(123)} // []int32 | (optional) @@ -9032,8 +9157,8 @@ func main() { latitudeN := []float64{float64(123)} // []float64 | (optional) limit := int32(56) // int32 | Number of results to return per page. (optional) localContextData := true // bool | Has local config context data (optional) - locationId := []int32{int32(123)} // []int32 | Location (ID) (optional) - locationIdN := []int32{int32(123)} // []int32 | Location (ID) (optional) + locationId := []string{"Inner_example"} // []string | (optional) + locationIdN := []string{"Inner_example"} // []string | (optional) longitude := []float64{float64(123)} // []float64 | (optional) longitudeEmpty := true // bool | (optional) longitudeGt := []float64{float64(123)} // []float64 | (optional) @@ -9127,10 +9252,10 @@ func main() { rearPortCountLt := []int32{int32(123)} // []int32 | (optional) rearPortCountLte := []int32{int32(123)} // []int32 | (optional) rearPortCountN := []int32{int32(123)} // []int32 | (optional) - region := []int32{int32(123)} // []int32 | Region (slug) (optional) - regionN := []int32{int32(123)} // []int32 | Region (slug) (optional) - regionId := []int32{int32(123)} // []int32 | Region (ID) (optional) - regionIdN := []int32{int32(123)} // []int32 | Region (ID) (optional) + region := []string{"Inner_example"} // []string | (optional) + regionN := []string{"Inner_example"} // []string | (optional) + regionId := []string{"Inner_example"} // []string | (optional) + regionIdN := []string{"Inner_example"} // []string | (optional) role := []string{"Inner_example"} // []string | Role (slug) (optional) roleN := []string{"Inner_example"} // []string | Role (slug) (optional) roleId := []int32{int32(123)} // []int32 | Role (ID) (optional) @@ -9148,22 +9273,31 @@ func main() { serialNisw := []string{"Inner_example"} // []string | (optional) site := []string{"Inner_example"} // []string | Site name (slug) (optional) siteN := []string{"Inner_example"} // []string | Site name (slug) (optional) - siteGroup := []int32{int32(123)} // []int32 | Site group (slug) (optional) - siteGroupN := []int32{int32(123)} // []int32 | Site group (slug) (optional) - siteGroupId := []int32{int32(123)} // []int32 | Site group (ID) (optional) - siteGroupIdN := []int32{int32(123)} // []int32 | Site group (ID) (optional) + siteGroup := []string{"Inner_example"} // []string | (optional) + siteGroupN := []string{"Inner_example"} // []string | (optional) + siteGroupId := []string{"Inner_example"} // []string | (optional) + siteGroupIdN := []string{"Inner_example"} // []string | (optional) siteId := []int32{int32(123)} // []int32 | Site (ID) (optional) siteIdN := []int32{int32(123)} // []int32 | Site (ID) (optional) status := []string{"Inner_example"} // []string | (optional) - statusN := []string{"Inner_example"} // []string | (optional) + statusEmpty := true // bool | (optional) + statusIc := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + statusIe := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + statusIew := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + statusIsw := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + statusN := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + statusNic := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + statusNie := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + statusNiew := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + statusNisw := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) tag := []string{"Inner_example"} // []string | (optional) tagN := []string{"Inner_example"} // []string | (optional) tenant := []string{"Inner_example"} // []string | Tenant (slug) (optional) tenantN := []string{"Inner_example"} // []string | Tenant (slug) (optional) - tenantGroup := []int32{int32(123)} // []int32 | Tenant Group (slug) (optional) - tenantGroupN := []int32{int32(123)} // []int32 | Tenant Group (slug) (optional) - tenantGroupId := []int32{int32(123)} // []int32 | Tenant Group (ID) (optional) - tenantGroupIdN := []int32{int32(123)} // []int32 | Tenant Group (ID) (optional) + tenantGroup := []string{"Inner_example"} // []string | (optional) + tenantGroupN := []string{"Inner_example"} // []string | (optional) + tenantGroupId := []string{"Inner_example"} // []string | (optional) + tenantGroupIdN := []string{"Inner_example"} // []string | (optional) tenantId := []*int32{int32(123)} // []*int32 | Tenant (ID) (optional) tenantIdN := []*int32{int32(123)} // []*int32 | Tenant (ID) (optional) updatedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) @@ -9187,7 +9321,7 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.DcimAPI.DcimDevicesList(context.Background()).Airflow(airflow).AirflowN(airflowN).AssetTag(assetTag).AssetTagEmpty(assetTagEmpty).AssetTagIc(assetTagIc).AssetTagIe(assetTagIe).AssetTagIew(assetTagIew).AssetTagIsw(assetTagIsw).AssetTagN(assetTagN).AssetTagNic(assetTagNic).AssetTagNie(assetTagNie).AssetTagNiew(assetTagNiew).AssetTagNisw(assetTagNisw).ClusterId(clusterId).ClusterIdN(clusterIdN).ConfigTemplateId(configTemplateId).ConfigTemplateIdN(configTemplateIdN).ConsolePortCount(consolePortCount).ConsolePortCountEmpty(consolePortCountEmpty).ConsolePortCountGt(consolePortCountGt).ConsolePortCountGte(consolePortCountGte).ConsolePortCountLt(consolePortCountLt).ConsolePortCountLte(consolePortCountLte).ConsolePortCountN(consolePortCountN).ConsolePorts(consolePorts).ConsoleServerPortCount(consoleServerPortCount).ConsoleServerPortCountEmpty(consoleServerPortCountEmpty).ConsoleServerPortCountGt(consoleServerPortCountGt).ConsoleServerPortCountGte(consoleServerPortCountGte).ConsoleServerPortCountLt(consoleServerPortCountLt).ConsoleServerPortCountLte(consoleServerPortCountLte).ConsoleServerPortCountN(consoleServerPortCountN).ConsoleServerPorts(consoleServerPorts).Contact(contact).ContactN(contactN).ContactGroup(contactGroup).ContactGroupN(contactGroupN).ContactRole(contactRole).ContactRoleN(contactRoleN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceBayCount(deviceBayCount).DeviceBayCountEmpty(deviceBayCountEmpty).DeviceBayCountGt(deviceBayCountGt).DeviceBayCountGte(deviceBayCountGte).DeviceBayCountLt(deviceBayCountLt).DeviceBayCountLte(deviceBayCountLte).DeviceBayCountN(deviceBayCountN).DeviceBays(deviceBays).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Face(face).FaceN(faceN).FrontPortCount(frontPortCount).FrontPortCountEmpty(frontPortCountEmpty).FrontPortCountGt(frontPortCountGt).FrontPortCountGte(frontPortCountGte).FrontPortCountLt(frontPortCountLt).FrontPortCountLte(frontPortCountLte).FrontPortCountN(frontPortCountN).HasOobIp(hasOobIp).HasPrimaryIp(hasPrimaryIp).HasVirtualDeviceContext(hasVirtualDeviceContext).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).InterfaceCount(interfaceCount).InterfaceCountEmpty(interfaceCountEmpty).InterfaceCountGt(interfaceCountGt).InterfaceCountGte(interfaceCountGte).InterfaceCountLt(interfaceCountLt).InterfaceCountLte(interfaceCountLte).InterfaceCountN(interfaceCountN).Interfaces(interfaces).InventoryItemCount(inventoryItemCount).InventoryItemCountEmpty(inventoryItemCountEmpty).InventoryItemCountGt(inventoryItemCountGt).InventoryItemCountGte(inventoryItemCountGte).InventoryItemCountLt(inventoryItemCountLt).InventoryItemCountLte(inventoryItemCountLte).InventoryItemCountN(inventoryItemCountN).IsFullDepth(isFullDepth).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Latitude(latitude).LatitudeEmpty(latitudeEmpty).LatitudeGt(latitudeGt).LatitudeGte(latitudeGte).LatitudeLt(latitudeLt).LatitudeLte(latitudeLte).LatitudeN(latitudeN).Limit(limit).LocalContextData(localContextData).LocationId(locationId).LocationIdN(locationIdN).Longitude(longitude).LongitudeEmpty(longitudeEmpty).LongitudeGt(longitudeGt).LongitudeGte(longitudeGte).LongitudeLt(longitudeLt).LongitudeLte(longitudeLte).LongitudeN(longitudeN).MacAddress(macAddress).MacAddressIc(macAddressIc).MacAddressIe(macAddressIe).MacAddressIew(macAddressIew).MacAddressIsw(macAddressIsw).MacAddressN(macAddressN).MacAddressNic(macAddressNic).MacAddressNie(macAddressNie).MacAddressNiew(macAddressNiew).MacAddressNisw(macAddressNisw).Manufacturer(manufacturer).ManufacturerN(manufacturerN).ManufacturerId(manufacturerId).ManufacturerIdN(manufacturerIdN).Model(model).ModelN(modelN).ModifiedByRequest(modifiedByRequest).ModuleBayCount(moduleBayCount).ModuleBayCountEmpty(moduleBayCountEmpty).ModuleBayCountGt(moduleBayCountGt).ModuleBayCountGte(moduleBayCountGte).ModuleBayCountLt(moduleBayCountLt).ModuleBayCountLte(moduleBayCountLte).ModuleBayCountN(moduleBayCountN).ModuleBays(moduleBays).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).OobIpId(oobIpId).OobIpIdN(oobIpIdN).Ordering(ordering).ParentBayId(parentBayId).ParentBayIdN(parentBayIdN).ParentDeviceId(parentDeviceId).ParentDeviceIdN(parentDeviceIdN).PassThroughPorts(passThroughPorts).Platform(platform).PlatformN(platformN).PlatformId(platformId).PlatformIdN(platformIdN).Position(position).PositionEmpty(positionEmpty).PositionGt(positionGt).PositionGte(positionGte).PositionLt(positionLt).PositionLte(positionLte).PositionN(positionN).PowerOutletCount(powerOutletCount).PowerOutletCountEmpty(powerOutletCountEmpty).PowerOutletCountGt(powerOutletCountGt).PowerOutletCountGte(powerOutletCountGte).PowerOutletCountLt(powerOutletCountLt).PowerOutletCountLte(powerOutletCountLte).PowerOutletCountN(powerOutletCountN).PowerOutlets(powerOutlets).PowerPortCount(powerPortCount).PowerPortCountEmpty(powerPortCountEmpty).PowerPortCountGt(powerPortCountGt).PowerPortCountGte(powerPortCountGte).PowerPortCountLt(powerPortCountLt).PowerPortCountLte(powerPortCountLte).PowerPortCountN(powerPortCountN).PowerPorts(powerPorts).PrimaryIp4Id(primaryIp4Id).PrimaryIp4IdN(primaryIp4IdN).PrimaryIp6Id(primaryIp6Id).PrimaryIp6IdN(primaryIp6IdN).Q(q).RackId(rackId).RackIdN(rackIdN).RearPortCount(rearPortCount).RearPortCountEmpty(rearPortCountEmpty).RearPortCountGt(rearPortCountGt).RearPortCountGte(rearPortCountGte).RearPortCountLt(rearPortCountLt).RearPortCountLte(rearPortCountLte).RearPortCountN(rearPortCountN).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).Serial(serial).SerialEmpty(serialEmpty).SerialIc(serialIc).SerialIe(serialIe).SerialIew(serialIew).SerialIsw(serialIsw).SerialN(serialN).SerialNic(serialNic).SerialNie(serialNie).SerialNiew(serialNiew).SerialNisw(serialNisw).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Status(status).StatusN(statusN).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).UpdatedByRequest(updatedByRequest).VcPosition(vcPosition).VcPositionEmpty(vcPositionEmpty).VcPositionGt(vcPositionGt).VcPositionGte(vcPositionGte).VcPositionLt(vcPositionLt).VcPositionLte(vcPositionLte).VcPositionN(vcPositionN).VcPriority(vcPriority).VcPriorityEmpty(vcPriorityEmpty).VcPriorityGt(vcPriorityGt).VcPriorityGte(vcPriorityGte).VcPriorityLt(vcPriorityLt).VcPriorityLte(vcPriorityLte).VcPriorityN(vcPriorityN).VirtualChassisId(virtualChassisId).VirtualChassisIdN(virtualChassisIdN).VirtualChassisMember(virtualChassisMember).Execute() + resp, r, err := apiClient.DcimAPI.DcimDevicesList(context.Background()).Airflow(airflow).AssetTag(assetTag).AssetTagEmpty(assetTagEmpty).AssetTagIc(assetTagIc).AssetTagIe(assetTagIe).AssetTagIew(assetTagIew).AssetTagIsw(assetTagIsw).AssetTagN(assetTagN).AssetTagNic(assetTagNic).AssetTagNie(assetTagNie).AssetTagNiew(assetTagNiew).AssetTagNisw(assetTagNisw).ClusterGroup(clusterGroup).ClusterGroupN(clusterGroupN).ClusterGroupId(clusterGroupId).ClusterGroupIdN(clusterGroupIdN).ClusterId(clusterId).ClusterIdN(clusterIdN).ConfigTemplateId(configTemplateId).ConfigTemplateIdN(configTemplateIdN).ConsolePortCount(consolePortCount).ConsolePortCountEmpty(consolePortCountEmpty).ConsolePortCountGt(consolePortCountGt).ConsolePortCountGte(consolePortCountGte).ConsolePortCountLt(consolePortCountLt).ConsolePortCountLte(consolePortCountLte).ConsolePortCountN(consolePortCountN).ConsolePorts(consolePorts).ConsoleServerPortCount(consoleServerPortCount).ConsoleServerPortCountEmpty(consoleServerPortCountEmpty).ConsoleServerPortCountGt(consoleServerPortCountGt).ConsoleServerPortCountGte(consoleServerPortCountGte).ConsoleServerPortCountLt(consoleServerPortCountLt).ConsoleServerPortCountLte(consoleServerPortCountLte).ConsoleServerPortCountN(consoleServerPortCountN).ConsoleServerPorts(consoleServerPorts).Contact(contact).ContactN(contactN).ContactGroup(contactGroup).ContactGroupN(contactGroupN).ContactRole(contactRole).ContactRoleN(contactRoleN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceBayCount(deviceBayCount).DeviceBayCountEmpty(deviceBayCountEmpty).DeviceBayCountGt(deviceBayCountGt).DeviceBayCountGte(deviceBayCountGte).DeviceBayCountLt(deviceBayCountLt).DeviceBayCountLte(deviceBayCountLte).DeviceBayCountN(deviceBayCountN).DeviceBays(deviceBays).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Face(face).FrontPortCount(frontPortCount).FrontPortCountEmpty(frontPortCountEmpty).FrontPortCountGt(frontPortCountGt).FrontPortCountGte(frontPortCountGte).FrontPortCountLt(frontPortCountLt).FrontPortCountLte(frontPortCountLte).FrontPortCountN(frontPortCountN).HasOobIp(hasOobIp).HasPrimaryIp(hasPrimaryIp).HasVirtualDeviceContext(hasVirtualDeviceContext).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).InterfaceCount(interfaceCount).InterfaceCountEmpty(interfaceCountEmpty).InterfaceCountGt(interfaceCountGt).InterfaceCountGte(interfaceCountGte).InterfaceCountLt(interfaceCountLt).InterfaceCountLte(interfaceCountLte).InterfaceCountN(interfaceCountN).Interfaces(interfaces).InventoryItemCount(inventoryItemCount).InventoryItemCountEmpty(inventoryItemCountEmpty).InventoryItemCountGt(inventoryItemCountGt).InventoryItemCountGte(inventoryItemCountGte).InventoryItemCountLt(inventoryItemCountLt).InventoryItemCountLte(inventoryItemCountLte).InventoryItemCountN(inventoryItemCountN).IsFullDepth(isFullDepth).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Latitude(latitude).LatitudeEmpty(latitudeEmpty).LatitudeGt(latitudeGt).LatitudeGte(latitudeGte).LatitudeLt(latitudeLt).LatitudeLte(latitudeLte).LatitudeN(latitudeN).Limit(limit).LocalContextData(localContextData).LocationId(locationId).LocationIdN(locationIdN).Longitude(longitude).LongitudeEmpty(longitudeEmpty).LongitudeGt(longitudeGt).LongitudeGte(longitudeGte).LongitudeLt(longitudeLt).LongitudeLte(longitudeLte).LongitudeN(longitudeN).MacAddress(macAddress).MacAddressIc(macAddressIc).MacAddressIe(macAddressIe).MacAddressIew(macAddressIew).MacAddressIsw(macAddressIsw).MacAddressN(macAddressN).MacAddressNic(macAddressNic).MacAddressNie(macAddressNie).MacAddressNiew(macAddressNiew).MacAddressNisw(macAddressNisw).Manufacturer(manufacturer).ManufacturerN(manufacturerN).ManufacturerId(manufacturerId).ManufacturerIdN(manufacturerIdN).Model(model).ModelN(modelN).ModifiedByRequest(modifiedByRequest).ModuleBayCount(moduleBayCount).ModuleBayCountEmpty(moduleBayCountEmpty).ModuleBayCountGt(moduleBayCountGt).ModuleBayCountGte(moduleBayCountGte).ModuleBayCountLt(moduleBayCountLt).ModuleBayCountLte(moduleBayCountLte).ModuleBayCountN(moduleBayCountN).ModuleBays(moduleBays).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).OobIpId(oobIpId).OobIpIdN(oobIpIdN).Ordering(ordering).ParentBayId(parentBayId).ParentBayIdN(parentBayIdN).ParentDeviceId(parentDeviceId).ParentDeviceIdN(parentDeviceIdN).PassThroughPorts(passThroughPorts).Platform(platform).PlatformN(platformN).PlatformId(platformId).PlatformIdN(platformIdN).Position(position).PositionEmpty(positionEmpty).PositionGt(positionGt).PositionGte(positionGte).PositionLt(positionLt).PositionLte(positionLte).PositionN(positionN).PowerOutletCount(powerOutletCount).PowerOutletCountEmpty(powerOutletCountEmpty).PowerOutletCountGt(powerOutletCountGt).PowerOutletCountGte(powerOutletCountGte).PowerOutletCountLt(powerOutletCountLt).PowerOutletCountLte(powerOutletCountLte).PowerOutletCountN(powerOutletCountN).PowerOutlets(powerOutlets).PowerPortCount(powerPortCount).PowerPortCountEmpty(powerPortCountEmpty).PowerPortCountGt(powerPortCountGt).PowerPortCountGte(powerPortCountGte).PowerPortCountLt(powerPortCountLt).PowerPortCountLte(powerPortCountLte).PowerPortCountN(powerPortCountN).PowerPorts(powerPorts).PrimaryIp4Id(primaryIp4Id).PrimaryIp4IdN(primaryIp4IdN).PrimaryIp6Id(primaryIp6Id).PrimaryIp6IdN(primaryIp6IdN).Q(q).RackId(rackId).RackIdN(rackIdN).RearPortCount(rearPortCount).RearPortCountEmpty(rearPortCountEmpty).RearPortCountGt(rearPortCountGt).RearPortCountGte(rearPortCountGte).RearPortCountLt(rearPortCountLt).RearPortCountLte(rearPortCountLte).RearPortCountN(rearPortCountN).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).Serial(serial).SerialEmpty(serialEmpty).SerialIc(serialIc).SerialIe(serialIe).SerialIew(serialIew).SerialIsw(serialIsw).SerialN(serialN).SerialNic(serialNic).SerialNie(serialNie).SerialNiew(serialNiew).SerialNisw(serialNisw).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Status(status).StatusEmpty(statusEmpty).StatusIc(statusIc).StatusIe(statusIe).StatusIew(statusIew).StatusIsw(statusIsw).StatusN(statusN).StatusNic(statusNic).StatusNie(statusNie).StatusNiew(statusNiew).StatusNisw(statusNisw).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).UpdatedByRequest(updatedByRequest).VcPosition(vcPosition).VcPositionEmpty(vcPositionEmpty).VcPositionGt(vcPositionGt).VcPositionGte(vcPositionGte).VcPositionLt(vcPositionLt).VcPositionLte(vcPositionLte).VcPositionN(vcPositionN).VcPriority(vcPriority).VcPriorityEmpty(vcPriorityEmpty).VcPriorityGt(vcPriorityGt).VcPriorityGte(vcPriorityGte).VcPriorityLt(vcPriorityLt).VcPriorityLte(vcPriorityLte).VcPriorityN(vcPriorityN).VirtualChassisId(virtualChassisId).VirtualChassisIdN(virtualChassisIdN).VirtualChassisMember(virtualChassisMember).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) @@ -9209,7 +9343,6 @@ Other parameters are passed through a pointer to a apiDcimDevicesListRequest str Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **airflow** | [**DcimDeviceTypesListAirflowParameter**](DcimDeviceTypesListAirflowParameter.md) | * `front-to-rear` - Front to rear * `rear-to-front` - Rear to front * `left-to-right` - Left to right * `right-to-left` - Right to left * `side-to-rear` - Side to rear * `passive` - Passive * `mixed` - Mixed | - **airflowN** | [**DcimDeviceTypesListAirflowParameter**](DcimDeviceTypesListAirflowParameter.md) | * `front-to-rear` - Front to rear * `rear-to-front` - Rear to front * `left-to-right` - Left to right * `right-to-left` - Right to left * `side-to-rear` - Side to rear * `passive` - Passive * `mixed` - Mixed | **assetTag** | **[]string** | | **assetTagEmpty** | **bool** | | **assetTagIc** | **[]string** | | @@ -9221,6 +9354,10 @@ Name | Type | Description | Notes **assetTagNie** | **[]string** | | **assetTagNiew** | **[]string** | | **assetTagNisw** | **[]string** | | + **clusterGroup** | **[]string** | Cluster group (slug) | + **clusterGroupN** | **[]string** | Cluster group (slug) | + **clusterGroupId** | **[]int32** | Cluster group (ID) | + **clusterGroupIdN** | **[]int32** | Cluster group (ID) | **clusterId** | **[]int32** | VM cluster (ID) | **clusterIdN** | **[]int32** | VM cluster (ID) | **configTemplateId** | **[]int32** | Config template (ID) | @@ -9243,8 +9380,8 @@ Name | Type | Description | Notes **consoleServerPorts** | **bool** | Has console server ports | **contact** | **[]int32** | Contact | **contactN** | **[]int32** | Contact | - **contactGroup** | **[]int32** | Contact group | - **contactGroupN** | **[]int32** | Contact group | + **contactGroup** | **[]string** | | + **contactGroupN** | **[]string** | | **contactRole** | **[]int32** | Contact Role | **contactRoleN** | **[]int32** | Contact Role | **created** | [**[]time.Time**](time.Time.md) | | @@ -9279,7 +9416,6 @@ Name | Type | Description | Notes **deviceTypeId** | **[]int32** | Device type (ID) | **deviceTypeIdN** | **[]int32** | Device type (ID) | **face** | [**RackFace**](RackFace.md) | * `front` - Front * `rear` - Rear | - **faceN** | [**RackFace**](RackFace.md) | * `front` - Front * `rear` - Rear | **frontPortCount** | **[]int32** | | **frontPortCountEmpty** | **bool** | | **frontPortCountGt** | **[]int32** | | @@ -9329,8 +9465,8 @@ Name | Type | Description | Notes **latitudeN** | **[]float64** | | **limit** | **int32** | Number of results to return per page. | **localContextData** | **bool** | Has local config context data | - **locationId** | **[]int32** | Location (ID) | - **locationIdN** | **[]int32** | Location (ID) | + **locationId** | **[]string** | | + **locationIdN** | **[]string** | | **longitude** | **[]float64** | | **longitudeEmpty** | **bool** | | **longitudeGt** | **[]float64** | | @@ -9424,10 +9560,10 @@ Name | Type | Description | Notes **rearPortCountLt** | **[]int32** | | **rearPortCountLte** | **[]int32** | | **rearPortCountN** | **[]int32** | | - **region** | **[]int32** | Region (slug) | - **regionN** | **[]int32** | Region (slug) | - **regionId** | **[]int32** | Region (ID) | - **regionIdN** | **[]int32** | Region (ID) | + **region** | **[]string** | | + **regionN** | **[]string** | | + **regionId** | **[]string** | | + **regionIdN** | **[]string** | | **role** | **[]string** | Role (slug) | **roleN** | **[]string** | Role (slug) | **roleId** | **[]int32** | Role (ID) | @@ -9445,22 +9581,31 @@ Name | Type | Description | Notes **serialNisw** | **[]string** | | **site** | **[]string** | Site name (slug) | **siteN** | **[]string** | Site name (slug) | - **siteGroup** | **[]int32** | Site group (slug) | - **siteGroupN** | **[]int32** | Site group (slug) | - **siteGroupId** | **[]int32** | Site group (ID) | - **siteGroupIdN** | **[]int32** | Site group (ID) | + **siteGroup** | **[]string** | | + **siteGroupN** | **[]string** | | + **siteGroupId** | **[]string** | | + **siteGroupIdN** | **[]string** | | **siteId** | **[]int32** | Site (ID) | **siteIdN** | **[]int32** | Site (ID) | **status** | **[]string** | | - **statusN** | **[]string** | | + **statusEmpty** | **bool** | | + **statusIc** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **statusIe** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **statusIew** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **statusIsw** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **statusN** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **statusNic** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **statusNie** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **statusNiew** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **statusNisw** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | **tag** | **[]string** | | **tagN** | **[]string** | | **tenant** | **[]string** | Tenant (slug) | **tenantN** | **[]string** | Tenant (slug) | - **tenantGroup** | **[]int32** | Tenant Group (slug) | - **tenantGroupN** | **[]int32** | Tenant Group (slug) | - **tenantGroupId** | **[]int32** | Tenant Group (ID) | - **tenantGroupIdN** | **[]int32** | Tenant Group (ID) | + **tenantGroup** | **[]string** | | + **tenantGroupN** | **[]string** | | + **tenantGroupId** | **[]string** | | + **tenantGroupIdN** | **[]string** | | **tenantId** | **[]int32** | Tenant (ID) | **tenantIdN** | **[]int32** | Tenant (ID) | **updatedByRequest** | **string** | | @@ -9594,7 +9739,7 @@ import ( func main() { id := int32(56) // int32 | A unique integer value identifying this device. - writableDeviceWithConfigContextRequest := *openapiclient.NewWritableDeviceWithConfigContextRequest(*openapiclient.NewDeviceTypeRequest(*openapiclient.NewManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example"), *openapiclient.NewDeviceRoleRequest("Name_example", "Slug_example"), *openapiclient.NewSiteRequest("Name_example", "Slug_example"), openapiclient.Rack_face_1("front")) // WritableDeviceWithConfigContextRequest | + writableDeviceWithConfigContextRequest := *openapiclient.NewWritableDeviceWithConfigContextRequest(*openapiclient.NewBriefDeviceTypeRequest(*openapiclient.NewBriefManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example"), *openapiclient.NewBriefDeviceRoleRequest("Name_example", "Slug_example"), *openapiclient.NewBriefSiteRequest("Name_example", "Slug_example"), openapiclient.Rack_face_1("front")) // WritableDeviceWithConfigContextRequest | format := openapiclient.dcim_devices_render_config_create_format_parameter("json") // DcimDevicesRenderConfigCreateFormatParameter | (optional) configuration := openapiclient.NewConfiguration() @@ -9738,7 +9883,7 @@ import ( func main() { id := int32(56) // int32 | A unique integer value identifying this device. - writableDeviceWithConfigContextRequest := *openapiclient.NewWritableDeviceWithConfigContextRequest(*openapiclient.NewDeviceTypeRequest(*openapiclient.NewManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example"), *openapiclient.NewDeviceRoleRequest("Name_example", "Slug_example"), *openapiclient.NewSiteRequest("Name_example", "Slug_example"), openapiclient.Rack_face_1("front")) // WritableDeviceWithConfigContextRequest | + writableDeviceWithConfigContextRequest := *openapiclient.NewWritableDeviceWithConfigContextRequest(*openapiclient.NewBriefDeviceTypeRequest(*openapiclient.NewBriefManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example"), *openapiclient.NewBriefDeviceRoleRequest("Name_example", "Slug_example"), *openapiclient.NewBriefSiteRequest("Name_example", "Slug_example"), openapiclient.Rack_face_1("front")) // WritableDeviceWithConfigContextRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -9809,7 +9954,7 @@ import ( ) func main() { - frontPortTemplateRequest := []openapiclient.FrontPortTemplateRequest{*openapiclient.NewFrontPortTemplateRequest("Name_example", openapiclient.FrontPort_type_value("8p8c"), *openapiclient.NewRearPortTemplateRequest("Name_example"))} // []FrontPortTemplateRequest | + frontPortTemplateRequest := []openapiclient.FrontPortTemplateRequest{*openapiclient.NewFrontPortTemplateRequest("Name_example", openapiclient.FrontPort_type_value("8p8c"), *openapiclient.NewBriefRearPortTemplateRequest("Name_example"))} // []FrontPortTemplateRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -9873,7 +10018,7 @@ import ( ) func main() { - frontPortTemplateRequest := []openapiclient.FrontPortTemplateRequest{*openapiclient.NewFrontPortTemplateRequest("Name_example", openapiclient.FrontPort_type_value("8p8c"), *openapiclient.NewRearPortTemplateRequest("Name_example"))} // []FrontPortTemplateRequest | + frontPortTemplateRequest := []openapiclient.FrontPortTemplateRequest{*openapiclient.NewFrontPortTemplateRequest("Name_example", openapiclient.FrontPort_type_value("8p8c"), *openapiclient.NewBriefRearPortTemplateRequest("Name_example"))} // []FrontPortTemplateRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -9939,7 +10084,7 @@ import ( ) func main() { - frontPortTemplateRequest := []openapiclient.FrontPortTemplateRequest{*openapiclient.NewFrontPortTemplateRequest("Name_example", openapiclient.FrontPort_type_value("8p8c"), *openapiclient.NewRearPortTemplateRequest("Name_example"))} // []FrontPortTemplateRequest | + frontPortTemplateRequest := []openapiclient.FrontPortTemplateRequest{*openapiclient.NewFrontPortTemplateRequest("Name_example", openapiclient.FrontPort_type_value("8p8c"), *openapiclient.NewBriefRearPortTemplateRequest("Name_example"))} // []FrontPortTemplateRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -10005,7 +10150,7 @@ import ( ) func main() { - writableFrontPortTemplateRequest := *openapiclient.NewWritableFrontPortTemplateRequest("Name_example", openapiclient.FrontPort_type_value("8p8c"), *openapiclient.NewRearPortTemplateRequest("Name_example")) // WritableFrontPortTemplateRequest | + writableFrontPortTemplateRequest := *openapiclient.NewWritableFrontPortTemplateRequest("Name_example", openapiclient.FrontPort_type_value("8p8c"), *openapiclient.NewBriefRearPortTemplateRequest("Name_example")) // WritableFrontPortTemplateRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -10120,7 +10265,7 @@ Name | Type | Description | Notes ## DcimFrontPortTemplatesList -> PaginatedFrontPortTemplateList DcimFrontPortTemplatesList(ctx).Color(color).ColorEmpty(colorEmpty).ColorIc(colorIc).ColorIe(colorIe).ColorIew(colorIew).ColorIsw(colorIsw).ColorN(colorN).ColorNic(colorNic).ColorNie(colorNie).ColorNiew(colorNiew).ColorNisw(colorNisw).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).DevicetypeId(devicetypeId).DevicetypeIdN(devicetypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).ModuleTypeId(moduleTypeId).ModuleTypeIdN(moduleTypeIdN).ModuletypeId(moduletypeId).ModuletypeIdN(moduletypeIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).RearPortId(rearPortId).RearPortIdN(rearPortIdN).RearPortPosition(rearPortPosition).RearPortPositionEmpty(rearPortPositionEmpty).RearPortPositionGt(rearPortPositionGt).RearPortPositionGte(rearPortPositionGte).RearPortPositionLt(rearPortPositionLt).RearPortPositionLte(rearPortPositionLte).RearPortPositionN(rearPortPositionN).Type_(type_).TypeN(typeN).UpdatedByRequest(updatedByRequest).Execute() +> PaginatedFrontPortTemplateList DcimFrontPortTemplatesList(ctx).Color(color).ColorEmpty(colorEmpty).ColorIc(colorIc).ColorIe(colorIe).ColorIew(colorIew).ColorIsw(colorIsw).ColorN(colorN).ColorNic(colorNic).ColorNie(colorNie).ColorNiew(colorNiew).ColorNisw(colorNisw).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).ModuleTypeId(moduleTypeId).ModuleTypeIdN(moduleTypeIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).RearPortId(rearPortId).RearPortIdN(rearPortIdN).RearPortPosition(rearPortPosition).RearPortPositionEmpty(rearPortPositionEmpty).RearPortPositionGt(rearPortPositionGt).RearPortPositionGte(rearPortPositionGte).RearPortPositionLt(rearPortPositionLt).RearPortPositionLte(rearPortPositionLte).RearPortPositionN(rearPortPositionN).Type_(type_).TypeEmpty(typeEmpty).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNisw(typeNisw).UpdatedByRequest(updatedByRequest).Execute() @@ -10172,8 +10317,6 @@ func main() { descriptionNisw := []string{"Inner_example"} // []string | (optional) deviceTypeId := []*int32{int32(123)} // []*int32 | Device type (ID) (optional) deviceTypeIdN := []*int32{int32(123)} // []*int32 | Device type (ID) (optional) - devicetypeId := []*int32{int32(123)} // []*int32 | Device type (ID) (optional) - devicetypeIdN := []*int32{int32(123)} // []*int32 | Device type (ID) (optional) id := []int32{int32(123)} // []int32 | (optional) idEmpty := true // bool | (optional) idGt := []int32{int32(123)} // []int32 | (optional) @@ -10203,8 +10346,6 @@ func main() { modifiedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) moduleTypeId := []*int32{int32(123)} // []*int32 | Module type (ID) (optional) moduleTypeIdN := []*int32{int32(123)} // []*int32 | Module type (ID) (optional) - moduletypeId := []*int32{int32(123)} // []*int32 | Module type (ID) (optional) - moduletypeIdN := []*int32{int32(123)} // []*int32 | Module type (ID) (optional) name := []string{"Inner_example"} // []string | (optional) nameEmpty := true // bool | (optional) nameIc := []string{"Inner_example"} // []string | (optional) @@ -10229,12 +10370,21 @@ func main() { rearPortPositionLte := []int32{int32(123)} // []int32 | (optional) rearPortPositionN := []int32{int32(123)} // []int32 | (optional) type_ := []string{"Inner_example"} // []string | (optional) - typeN := []string{"Inner_example"} // []string | (optional) + typeEmpty := true // bool | (optional) + typeIc := []openapiclient.DcimFrontPortTemplatesListTypeIcParameterInner{openapiclient.dcim_front_port_templates_list_type__ic_parameter_inner("110-punch")} // []DcimFrontPortTemplatesListTypeIcParameterInner | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other (optional) + typeIe := []openapiclient.DcimFrontPortTemplatesListTypeIcParameterInner{openapiclient.dcim_front_port_templates_list_type__ic_parameter_inner("110-punch")} // []DcimFrontPortTemplatesListTypeIcParameterInner | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other (optional) + typeIew := []openapiclient.DcimFrontPortTemplatesListTypeIcParameterInner{openapiclient.dcim_front_port_templates_list_type__ic_parameter_inner("110-punch")} // []DcimFrontPortTemplatesListTypeIcParameterInner | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other (optional) + typeIsw := []openapiclient.DcimFrontPortTemplatesListTypeIcParameterInner{openapiclient.dcim_front_port_templates_list_type__ic_parameter_inner("110-punch")} // []DcimFrontPortTemplatesListTypeIcParameterInner | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other (optional) + typeN := []openapiclient.DcimFrontPortTemplatesListTypeIcParameterInner{openapiclient.dcim_front_port_templates_list_type__ic_parameter_inner("110-punch")} // []DcimFrontPortTemplatesListTypeIcParameterInner | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other (optional) + typeNic := []openapiclient.DcimFrontPortTemplatesListTypeIcParameterInner{openapiclient.dcim_front_port_templates_list_type__ic_parameter_inner("110-punch")} // []DcimFrontPortTemplatesListTypeIcParameterInner | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other (optional) + typeNie := []openapiclient.DcimFrontPortTemplatesListTypeIcParameterInner{openapiclient.dcim_front_port_templates_list_type__ic_parameter_inner("110-punch")} // []DcimFrontPortTemplatesListTypeIcParameterInner | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other (optional) + typeNiew := []openapiclient.DcimFrontPortTemplatesListTypeIcParameterInner{openapiclient.dcim_front_port_templates_list_type__ic_parameter_inner("110-punch")} // []DcimFrontPortTemplatesListTypeIcParameterInner | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other (optional) + typeNisw := []openapiclient.DcimFrontPortTemplatesListTypeIcParameterInner{openapiclient.dcim_front_port_templates_list_type__ic_parameter_inner("110-punch")} // []DcimFrontPortTemplatesListTypeIcParameterInner | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other (optional) updatedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.DcimAPI.DcimFrontPortTemplatesList(context.Background()).Color(color).ColorEmpty(colorEmpty).ColorIc(colorIc).ColorIe(colorIe).ColorIew(colorIew).ColorIsw(colorIsw).ColorN(colorN).ColorNic(colorNic).ColorNie(colorNie).ColorNiew(colorNiew).ColorNisw(colorNisw).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).DevicetypeId(devicetypeId).DevicetypeIdN(devicetypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).ModuleTypeId(moduleTypeId).ModuleTypeIdN(moduleTypeIdN).ModuletypeId(moduletypeId).ModuletypeIdN(moduletypeIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).RearPortId(rearPortId).RearPortIdN(rearPortIdN).RearPortPosition(rearPortPosition).RearPortPositionEmpty(rearPortPositionEmpty).RearPortPositionGt(rearPortPositionGt).RearPortPositionGte(rearPortPositionGte).RearPortPositionLt(rearPortPositionLt).RearPortPositionLte(rearPortPositionLte).RearPortPositionN(rearPortPositionN).Type_(type_).TypeN(typeN).UpdatedByRequest(updatedByRequest).Execute() + resp, r, err := apiClient.DcimAPI.DcimFrontPortTemplatesList(context.Background()).Color(color).ColorEmpty(colorEmpty).ColorIc(colorIc).ColorIe(colorIe).ColorIew(colorIew).ColorIsw(colorIsw).ColorN(colorN).ColorNic(colorNic).ColorNie(colorNie).ColorNiew(colorNiew).ColorNisw(colorNisw).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).ModuleTypeId(moduleTypeId).ModuleTypeIdN(moduleTypeIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).RearPortId(rearPortId).RearPortIdN(rearPortIdN).RearPortPosition(rearPortPosition).RearPortPositionEmpty(rearPortPositionEmpty).RearPortPositionGt(rearPortPositionGt).RearPortPositionGte(rearPortPositionGte).RearPortPositionLt(rearPortPositionLt).RearPortPositionLte(rearPortPositionLte).RearPortPositionN(rearPortPositionN).Type_(type_).TypeEmpty(typeEmpty).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNisw(typeNisw).UpdatedByRequest(updatedByRequest).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) @@ -10287,8 +10437,6 @@ Name | Type | Description | Notes **descriptionNisw** | **[]string** | | **deviceTypeId** | **[]int32** | Device type (ID) | **deviceTypeIdN** | **[]int32** | Device type (ID) | - **devicetypeId** | **[]int32** | Device type (ID) | - **devicetypeIdN** | **[]int32** | Device type (ID) | **id** | **[]int32** | | **idEmpty** | **bool** | | **idGt** | **[]int32** | | @@ -10318,8 +10466,6 @@ Name | Type | Description | Notes **modifiedByRequest** | **string** | | **moduleTypeId** | **[]int32** | Module type (ID) | **moduleTypeIdN** | **[]int32** | Module type (ID) | - **moduletypeId** | **[]int32** | Module type (ID) | - **moduletypeIdN** | **[]int32** | Module type (ID) | **name** | **[]string** | | **nameEmpty** | **bool** | | **nameIc** | **[]string** | | @@ -10344,7 +10490,16 @@ Name | Type | Description | Notes **rearPortPositionLte** | **[]int32** | | **rearPortPositionN** | **[]int32** | | **type_** | **[]string** | | - **typeN** | **[]string** | | + **typeEmpty** | **bool** | | + **typeIc** | [**[]DcimFrontPortTemplatesListTypeIcParameterInner**](DcimFrontPortTemplatesListTypeIcParameterInner.md) | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other | + **typeIe** | [**[]DcimFrontPortTemplatesListTypeIcParameterInner**](DcimFrontPortTemplatesListTypeIcParameterInner.md) | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other | + **typeIew** | [**[]DcimFrontPortTemplatesListTypeIcParameterInner**](DcimFrontPortTemplatesListTypeIcParameterInner.md) | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other | + **typeIsw** | [**[]DcimFrontPortTemplatesListTypeIcParameterInner**](DcimFrontPortTemplatesListTypeIcParameterInner.md) | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other | + **typeN** | [**[]DcimFrontPortTemplatesListTypeIcParameterInner**](DcimFrontPortTemplatesListTypeIcParameterInner.md) | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other | + **typeNic** | [**[]DcimFrontPortTemplatesListTypeIcParameterInner**](DcimFrontPortTemplatesListTypeIcParameterInner.md) | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other | + **typeNie** | [**[]DcimFrontPortTemplatesListTypeIcParameterInner**](DcimFrontPortTemplatesListTypeIcParameterInner.md) | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other | + **typeNiew** | [**[]DcimFrontPortTemplatesListTypeIcParameterInner**](DcimFrontPortTemplatesListTypeIcParameterInner.md) | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other | + **typeNisw** | [**[]DcimFrontPortTemplatesListTypeIcParameterInner**](DcimFrontPortTemplatesListTypeIcParameterInner.md) | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other | **updatedByRequest** | **string** | | ### Return type @@ -10529,7 +10684,7 @@ import ( func main() { id := int32(56) // int32 | A unique integer value identifying this front port template. - writableFrontPortTemplateRequest := *openapiclient.NewWritableFrontPortTemplateRequest("Name_example", openapiclient.FrontPort_type_value("8p8c"), *openapiclient.NewRearPortTemplateRequest("Name_example")) // WritableFrontPortTemplateRequest | + writableFrontPortTemplateRequest := *openapiclient.NewWritableFrontPortTemplateRequest("Name_example", openapiclient.FrontPort_type_value("8p8c"), *openapiclient.NewBriefRearPortTemplateRequest("Name_example")) // WritableFrontPortTemplateRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -10600,7 +10755,7 @@ import ( ) func main() { - frontPortRequest := []openapiclient.FrontPortRequest{*openapiclient.NewFrontPortRequest(*openapiclient.NewDeviceRequest(), "Name_example", openapiclient.FrontPort_type_value("8p8c"), *openapiclient.NewFrontPortRearPortRequest("Name_example"))} // []FrontPortRequest | + frontPortRequest := []openapiclient.FrontPortRequest{*openapiclient.NewFrontPortRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example", openapiclient.FrontPort_type_value("8p8c"), *openapiclient.NewFrontPortRearPortRequest("Name_example"))} // []FrontPortRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -10664,7 +10819,7 @@ import ( ) func main() { - frontPortRequest := []openapiclient.FrontPortRequest{*openapiclient.NewFrontPortRequest(*openapiclient.NewDeviceRequest(), "Name_example", openapiclient.FrontPort_type_value("8p8c"), *openapiclient.NewFrontPortRearPortRequest("Name_example"))} // []FrontPortRequest | + frontPortRequest := []openapiclient.FrontPortRequest{*openapiclient.NewFrontPortRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example", openapiclient.FrontPort_type_value("8p8c"), *openapiclient.NewFrontPortRearPortRequest("Name_example"))} // []FrontPortRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -10730,7 +10885,7 @@ import ( ) func main() { - frontPortRequest := []openapiclient.FrontPortRequest{*openapiclient.NewFrontPortRequest(*openapiclient.NewDeviceRequest(), "Name_example", openapiclient.FrontPort_type_value("8p8c"), *openapiclient.NewFrontPortRearPortRequest("Name_example"))} // []FrontPortRequest | + frontPortRequest := []openapiclient.FrontPortRequest{*openapiclient.NewFrontPortRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example", openapiclient.FrontPort_type_value("8p8c"), *openapiclient.NewFrontPortRearPortRequest("Name_example"))} // []FrontPortRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -10796,7 +10951,7 @@ import ( ) func main() { - writableFrontPortRequest := *openapiclient.NewWritableFrontPortRequest(*openapiclient.NewDeviceRequest(), "Name_example", openapiclient.FrontPort_type_value("8p8c"), int32(123)) // WritableFrontPortRequest | + writableFrontPortRequest := *openapiclient.NewWritableFrontPortRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example", openapiclient.FrontPort_type_value("8p8c"), int32(123)) // WritableFrontPortRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -10911,7 +11066,7 @@ Name | Type | Description | Notes ## DcimFrontPortsList -> PaginatedFrontPortList DcimFrontPortsList(ctx).CableEnd(cableEnd).CableEndN(cableEndN).CableId(cableId).CableIdN(cableIdN).Cabled(cabled).Color(color).ColorEmpty(colorEmpty).ColorIc(colorIc).ColorIe(colorIe).ColorIew(colorIew).ColorIsw(colorIsw).ColorN(colorN).ColorNic(colorNic).ColorNie(colorNie).ColorNiew(colorNiew).ColorNisw(colorNisw).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceN(deviceN).DeviceId(deviceId).DeviceIdN(deviceIdN).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).LocationId(locationId).LocationIdN(locationIdN).MarkConnected(markConnected).ModifiedByRequest(modifiedByRequest).ModuleId(moduleId).ModuleIdN(moduleIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Occupied(occupied).Offset(offset).Ordering(ordering).Q(q).Rack(rack).RackN(rackN).RackId(rackId).RackIdN(rackIdN).RearPortId(rearPortId).RearPortIdN(rearPortIdN).RearPortPosition(rearPortPosition).RearPortPositionEmpty(rearPortPositionEmpty).RearPortPositionGt(rearPortPositionGt).RearPortPositionGte(rearPortPositionGte).RearPortPositionLt(rearPortPositionLt).RearPortPositionLte(rearPortPositionLte).RearPortPositionN(rearPortPositionN).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Tag(tag).TagN(tagN).Type_(type_).TypeN(typeN).UpdatedByRequest(updatedByRequest).VirtualChassis(virtualChassis).VirtualChassisN(virtualChassisN).VirtualChassisId(virtualChassisId).VirtualChassisIdN(virtualChassisIdN).Execute() +> PaginatedFrontPortList DcimFrontPortsList(ctx).CableEnd(cableEnd).CableId(cableId).CableIdN(cableIdN).Cabled(cabled).Color(color).ColorEmpty(colorEmpty).ColorIc(colorIc).ColorIe(colorIe).ColorIew(colorIew).ColorIsw(colorIsw).ColorN(colorN).ColorNic(colorNic).ColorNie(colorNie).ColorNiew(colorNiew).ColorNisw(colorNisw).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceN(deviceN).DeviceId(deviceId).DeviceIdN(deviceIdN).DeviceRole(deviceRole).DeviceRoleN(deviceRoleN).DeviceRoleId(deviceRoleId).DeviceRoleIdN(deviceRoleIdN).DeviceStatus(deviceStatus).DeviceStatusEmpty(deviceStatusEmpty).DeviceStatusIc(deviceStatusIc).DeviceStatusIe(deviceStatusIe).DeviceStatusIew(deviceStatusIew).DeviceStatusIsw(deviceStatusIsw).DeviceStatusN(deviceStatusN).DeviceStatusNic(deviceStatusNic).DeviceStatusNie(deviceStatusNie).DeviceStatusNiew(deviceStatusNiew).DeviceStatusNisw(deviceStatusNisw).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).LocationId(locationId).LocationIdN(locationIdN).MarkConnected(markConnected).ModifiedByRequest(modifiedByRequest).ModuleId(moduleId).ModuleIdN(moduleIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Occupied(occupied).Offset(offset).Ordering(ordering).Q(q).Rack(rack).RackN(rackN).RackId(rackId).RackIdN(rackIdN).RearPortId(rearPortId).RearPortIdN(rearPortIdN).RearPortPosition(rearPortPosition).RearPortPositionEmpty(rearPortPositionEmpty).RearPortPositionGt(rearPortPositionGt).RearPortPositionGte(rearPortPositionGte).RearPortPositionLt(rearPortPositionLt).RearPortPositionLte(rearPortPositionLte).RearPortPositionN(rearPortPositionN).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Tag(tag).TagN(tagN).Type_(type_).TypeEmpty(typeEmpty).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNisw(typeNisw).UpdatedByRequest(updatedByRequest).VirtualChassis(virtualChassis).VirtualChassisN(virtualChassisN).VirtualChassisId(virtualChassisId).VirtualChassisIdN(virtualChassisIdN).Execute() @@ -10932,7 +11087,6 @@ import ( func main() { cableEnd := openapiclient.circuits_circuit_terminations_list_cable_end_parameter("A") // CircuitsCircuitTerminationsListCableEndParameter | * `A` - A * `B` - B (optional) - cableEndN := openapiclient.circuits_circuit_terminations_list_cable_end_parameter("A") // CircuitsCircuitTerminationsListCableEndParameter | * `A` - A * `B` - B (optional) cableId := []*int32{int32(123)} // []*int32 | Cable (ID) (optional) cableIdN := []*int32{int32(123)} // []*int32 | Cable (ID) (optional) cabled := true // bool | (optional) @@ -10970,6 +11124,21 @@ func main() { deviceN := []*string{"Inner_example"} // []*string | Device (name) (optional) deviceId := []int32{int32(123)} // []int32 | Device (ID) (optional) deviceIdN := []int32{int32(123)} // []int32 | Device (ID) (optional) + deviceRole := []string{"Inner_example"} // []string | Device role (slug) (optional) + deviceRoleN := []string{"Inner_example"} // []string | Device role (slug) (optional) + deviceRoleId := []int32{int32(123)} // []int32 | Device role (ID) (optional) + deviceRoleIdN := []int32{int32(123)} // []int32 | Device role (ID) (optional) + deviceStatus := []string{"Inner_example"} // []string | (optional) + deviceStatusEmpty := true // bool | (optional) + deviceStatusIc := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusIe := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusIew := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusIsw := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusN := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusNic := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusNie := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusNiew := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusNisw := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) deviceType := []string{"Inner_example"} // []string | Device type (model) (optional) deviceTypeN := []string{"Inner_example"} // []string | Device type (model) (optional) deviceTypeId := []int32{int32(123)} // []int32 | Device type (ID) (optional) @@ -11036,26 +11205,31 @@ func main() { rearPortPositionLt := []int32{int32(123)} // []int32 | (optional) rearPortPositionLte := []int32{int32(123)} // []int32 | (optional) rearPortPositionN := []int32{int32(123)} // []int32 | (optional) - region := []int32{int32(123)} // []int32 | Region (slug) (optional) - regionN := []int32{int32(123)} // []int32 | Region (slug) (optional) - regionId := []int32{int32(123)} // []int32 | Region (ID) (optional) - regionIdN := []int32{int32(123)} // []int32 | Region (ID) (optional) - role := []string{"Inner_example"} // []string | Device role (slug) (optional) - roleN := []string{"Inner_example"} // []string | Device role (slug) (optional) - roleId := []int32{int32(123)} // []int32 | Device role (ID) (optional) - roleIdN := []int32{int32(123)} // []int32 | Device role (ID) (optional) + region := []string{"Inner_example"} // []string | (optional) + regionN := []string{"Inner_example"} // []string | (optional) + regionId := []string{"Inner_example"} // []string | (optional) + regionIdN := []string{"Inner_example"} // []string | (optional) site := []string{"Inner_example"} // []string | Site name (slug) (optional) siteN := []string{"Inner_example"} // []string | Site name (slug) (optional) - siteGroup := []int32{int32(123)} // []int32 | Site group (slug) (optional) - siteGroupN := []int32{int32(123)} // []int32 | Site group (slug) (optional) - siteGroupId := []int32{int32(123)} // []int32 | Site group (ID) (optional) - siteGroupIdN := []int32{int32(123)} // []int32 | Site group (ID) (optional) + siteGroup := []string{"Inner_example"} // []string | (optional) + siteGroupN := []string{"Inner_example"} // []string | (optional) + siteGroupId := []string{"Inner_example"} // []string | (optional) + siteGroupIdN := []string{"Inner_example"} // []string | (optional) siteId := []int32{int32(123)} // []int32 | Site (ID) (optional) siteIdN := []int32{int32(123)} // []int32 | Site (ID) (optional) tag := []string{"Inner_example"} // []string | (optional) tagN := []string{"Inner_example"} // []string | (optional) type_ := []string{"Inner_example"} // []string | (optional) - typeN := []string{"Inner_example"} // []string | (optional) + typeEmpty := true // bool | (optional) + typeIc := []openapiclient.DcimFrontPortTemplatesListTypeIcParameterInner{openapiclient.dcim_front_port_templates_list_type__ic_parameter_inner("110-punch")} // []DcimFrontPortTemplatesListTypeIcParameterInner | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other (optional) + typeIe := []openapiclient.DcimFrontPortTemplatesListTypeIcParameterInner{openapiclient.dcim_front_port_templates_list_type__ic_parameter_inner("110-punch")} // []DcimFrontPortTemplatesListTypeIcParameterInner | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other (optional) + typeIew := []openapiclient.DcimFrontPortTemplatesListTypeIcParameterInner{openapiclient.dcim_front_port_templates_list_type__ic_parameter_inner("110-punch")} // []DcimFrontPortTemplatesListTypeIcParameterInner | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other (optional) + typeIsw := []openapiclient.DcimFrontPortTemplatesListTypeIcParameterInner{openapiclient.dcim_front_port_templates_list_type__ic_parameter_inner("110-punch")} // []DcimFrontPortTemplatesListTypeIcParameterInner | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other (optional) + typeN := []openapiclient.DcimFrontPortTemplatesListTypeIcParameterInner{openapiclient.dcim_front_port_templates_list_type__ic_parameter_inner("110-punch")} // []DcimFrontPortTemplatesListTypeIcParameterInner | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other (optional) + typeNic := []openapiclient.DcimFrontPortTemplatesListTypeIcParameterInner{openapiclient.dcim_front_port_templates_list_type__ic_parameter_inner("110-punch")} // []DcimFrontPortTemplatesListTypeIcParameterInner | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other (optional) + typeNie := []openapiclient.DcimFrontPortTemplatesListTypeIcParameterInner{openapiclient.dcim_front_port_templates_list_type__ic_parameter_inner("110-punch")} // []DcimFrontPortTemplatesListTypeIcParameterInner | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other (optional) + typeNiew := []openapiclient.DcimFrontPortTemplatesListTypeIcParameterInner{openapiclient.dcim_front_port_templates_list_type__ic_parameter_inner("110-punch")} // []DcimFrontPortTemplatesListTypeIcParameterInner | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other (optional) + typeNisw := []openapiclient.DcimFrontPortTemplatesListTypeIcParameterInner{openapiclient.dcim_front_port_templates_list_type__ic_parameter_inner("110-punch")} // []DcimFrontPortTemplatesListTypeIcParameterInner | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other (optional) updatedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) virtualChassis := []string{"Inner_example"} // []string | Virtual Chassis (optional) virtualChassisN := []string{"Inner_example"} // []string | Virtual Chassis (optional) @@ -11064,7 +11238,7 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.DcimAPI.DcimFrontPortsList(context.Background()).CableEnd(cableEnd).CableEndN(cableEndN).CableId(cableId).CableIdN(cableIdN).Cabled(cabled).Color(color).ColorEmpty(colorEmpty).ColorIc(colorIc).ColorIe(colorIe).ColorIew(colorIew).ColorIsw(colorIsw).ColorN(colorN).ColorNic(colorNic).ColorNie(colorNie).ColorNiew(colorNiew).ColorNisw(colorNisw).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceN(deviceN).DeviceId(deviceId).DeviceIdN(deviceIdN).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).LocationId(locationId).LocationIdN(locationIdN).MarkConnected(markConnected).ModifiedByRequest(modifiedByRequest).ModuleId(moduleId).ModuleIdN(moduleIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Occupied(occupied).Offset(offset).Ordering(ordering).Q(q).Rack(rack).RackN(rackN).RackId(rackId).RackIdN(rackIdN).RearPortId(rearPortId).RearPortIdN(rearPortIdN).RearPortPosition(rearPortPosition).RearPortPositionEmpty(rearPortPositionEmpty).RearPortPositionGt(rearPortPositionGt).RearPortPositionGte(rearPortPositionGte).RearPortPositionLt(rearPortPositionLt).RearPortPositionLte(rearPortPositionLte).RearPortPositionN(rearPortPositionN).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Tag(tag).TagN(tagN).Type_(type_).TypeN(typeN).UpdatedByRequest(updatedByRequest).VirtualChassis(virtualChassis).VirtualChassisN(virtualChassisN).VirtualChassisId(virtualChassisId).VirtualChassisIdN(virtualChassisIdN).Execute() + resp, r, err := apiClient.DcimAPI.DcimFrontPortsList(context.Background()).CableEnd(cableEnd).CableId(cableId).CableIdN(cableIdN).Cabled(cabled).Color(color).ColorEmpty(colorEmpty).ColorIc(colorIc).ColorIe(colorIe).ColorIew(colorIew).ColorIsw(colorIsw).ColorN(colorN).ColorNic(colorNic).ColorNie(colorNie).ColorNiew(colorNiew).ColorNisw(colorNisw).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceN(deviceN).DeviceId(deviceId).DeviceIdN(deviceIdN).DeviceRole(deviceRole).DeviceRoleN(deviceRoleN).DeviceRoleId(deviceRoleId).DeviceRoleIdN(deviceRoleIdN).DeviceStatus(deviceStatus).DeviceStatusEmpty(deviceStatusEmpty).DeviceStatusIc(deviceStatusIc).DeviceStatusIe(deviceStatusIe).DeviceStatusIew(deviceStatusIew).DeviceStatusIsw(deviceStatusIsw).DeviceStatusN(deviceStatusN).DeviceStatusNic(deviceStatusNic).DeviceStatusNie(deviceStatusNie).DeviceStatusNiew(deviceStatusNiew).DeviceStatusNisw(deviceStatusNisw).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).LocationId(locationId).LocationIdN(locationIdN).MarkConnected(markConnected).ModifiedByRequest(modifiedByRequest).ModuleId(moduleId).ModuleIdN(moduleIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Occupied(occupied).Offset(offset).Ordering(ordering).Q(q).Rack(rack).RackN(rackN).RackId(rackId).RackIdN(rackIdN).RearPortId(rearPortId).RearPortIdN(rearPortIdN).RearPortPosition(rearPortPosition).RearPortPositionEmpty(rearPortPositionEmpty).RearPortPositionGt(rearPortPositionGt).RearPortPositionGte(rearPortPositionGte).RearPortPositionLt(rearPortPositionLt).RearPortPositionLte(rearPortPositionLte).RearPortPositionN(rearPortPositionN).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Tag(tag).TagN(tagN).Type_(type_).TypeEmpty(typeEmpty).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNisw(typeNisw).UpdatedByRequest(updatedByRequest).VirtualChassis(virtualChassis).VirtualChassisN(virtualChassisN).VirtualChassisId(virtualChassisId).VirtualChassisIdN(virtualChassisIdN).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) @@ -11086,7 +11260,6 @@ Other parameters are passed through a pointer to a apiDcimFrontPortsListRequest Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **cableEnd** | [**CircuitsCircuitTerminationsListCableEndParameter**](CircuitsCircuitTerminationsListCableEndParameter.md) | * `A` - A * `B` - B | - **cableEndN** | [**CircuitsCircuitTerminationsListCableEndParameter**](CircuitsCircuitTerminationsListCableEndParameter.md) | * `A` - A * `B` - B | **cableId** | **[]int32** | Cable (ID) | **cableIdN** | **[]int32** | Cable (ID) | **cabled** | **bool** | | @@ -11124,6 +11297,21 @@ Name | Type | Description | Notes **deviceN** | **[]string** | Device (name) | **deviceId** | **[]int32** | Device (ID) | **deviceIdN** | **[]int32** | Device (ID) | + **deviceRole** | **[]string** | Device role (slug) | + **deviceRoleN** | **[]string** | Device role (slug) | + **deviceRoleId** | **[]int32** | Device role (ID) | + **deviceRoleIdN** | **[]int32** | Device role (ID) | + **deviceStatus** | **[]string** | | + **deviceStatusEmpty** | **bool** | | + **deviceStatusIc** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusIe** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusIew** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusIsw** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusN** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusNic** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusNie** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusNiew** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusNisw** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | **deviceType** | **[]string** | Device type (model) | **deviceTypeN** | **[]string** | Device type (model) | **deviceTypeId** | **[]int32** | Device type (ID) | @@ -11190,26 +11378,31 @@ Name | Type | Description | Notes **rearPortPositionLt** | **[]int32** | | **rearPortPositionLte** | **[]int32** | | **rearPortPositionN** | **[]int32** | | - **region** | **[]int32** | Region (slug) | - **regionN** | **[]int32** | Region (slug) | - **regionId** | **[]int32** | Region (ID) | - **regionIdN** | **[]int32** | Region (ID) | - **role** | **[]string** | Device role (slug) | - **roleN** | **[]string** | Device role (slug) | - **roleId** | **[]int32** | Device role (ID) | - **roleIdN** | **[]int32** | Device role (ID) | + **region** | **[]string** | | + **regionN** | **[]string** | | + **regionId** | **[]string** | | + **regionIdN** | **[]string** | | **site** | **[]string** | Site name (slug) | **siteN** | **[]string** | Site name (slug) | - **siteGroup** | **[]int32** | Site group (slug) | - **siteGroupN** | **[]int32** | Site group (slug) | - **siteGroupId** | **[]int32** | Site group (ID) | - **siteGroupIdN** | **[]int32** | Site group (ID) | + **siteGroup** | **[]string** | | + **siteGroupN** | **[]string** | | + **siteGroupId** | **[]string** | | + **siteGroupIdN** | **[]string** | | **siteId** | **[]int32** | Site (ID) | **siteIdN** | **[]int32** | Site (ID) | **tag** | **[]string** | | **tagN** | **[]string** | | **type_** | **[]string** | | - **typeN** | **[]string** | | + **typeEmpty** | **bool** | | + **typeIc** | [**[]DcimFrontPortTemplatesListTypeIcParameterInner**](DcimFrontPortTemplatesListTypeIcParameterInner.md) | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other | + **typeIe** | [**[]DcimFrontPortTemplatesListTypeIcParameterInner**](DcimFrontPortTemplatesListTypeIcParameterInner.md) | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other | + **typeIew** | [**[]DcimFrontPortTemplatesListTypeIcParameterInner**](DcimFrontPortTemplatesListTypeIcParameterInner.md) | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other | + **typeIsw** | [**[]DcimFrontPortTemplatesListTypeIcParameterInner**](DcimFrontPortTemplatesListTypeIcParameterInner.md) | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other | + **typeN** | [**[]DcimFrontPortTemplatesListTypeIcParameterInner**](DcimFrontPortTemplatesListTypeIcParameterInner.md) | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other | + **typeNic** | [**[]DcimFrontPortTemplatesListTypeIcParameterInner**](DcimFrontPortTemplatesListTypeIcParameterInner.md) | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other | + **typeNie** | [**[]DcimFrontPortTemplatesListTypeIcParameterInner**](DcimFrontPortTemplatesListTypeIcParameterInner.md) | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other | + **typeNiew** | [**[]DcimFrontPortTemplatesListTypeIcParameterInner**](DcimFrontPortTemplatesListTypeIcParameterInner.md) | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other | + **typeNisw** | [**[]DcimFrontPortTemplatesListTypeIcParameterInner**](DcimFrontPortTemplatesListTypeIcParameterInner.md) | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other | **updatedByRequest** | **string** | | **virtualChassis** | **[]string** | Virtual Chassis | **virtualChassisN** | **[]string** | Virtual Chassis | @@ -11468,7 +11661,7 @@ import ( func main() { id := int32(56) // int32 | A unique integer value identifying this front port. - writableFrontPortRequest := *openapiclient.NewWritableFrontPortRequest(*openapiclient.NewDeviceRequest(), "Name_example", openapiclient.FrontPort_type_value("8p8c"), int32(123)) // WritableFrontPortRequest | + writableFrontPortRequest := *openapiclient.NewWritableFrontPortRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example", openapiclient.FrontPort_type_value("8p8c"), int32(123)) // WritableFrontPortRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -11850,7 +12043,7 @@ Name | Type | Description | Notes ## DcimInterfaceTemplatesList -> PaginatedInterfaceTemplateList DcimInterfaceTemplatesList(ctx).BridgeId(bridgeId).BridgeIdN(bridgeIdN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).DevicetypeId(devicetypeId).DevicetypeIdN(devicetypeIdN).Enabled(enabled).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).MgmtOnly(mgmtOnly).ModifiedByRequest(modifiedByRequest).ModuleTypeId(moduleTypeId).ModuleTypeIdN(moduleTypeIdN).ModuletypeId(moduletypeId).ModuletypeIdN(moduletypeIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).PoeMode(poeMode).PoeModeN(poeModeN).PoeType(poeType).PoeTypeN(poeTypeN).Q(q).RfRole(rfRole).RfRoleN(rfRoleN).Type_(type_).TypeN(typeN).UpdatedByRequest(updatedByRequest).Execute() +> PaginatedInterfaceTemplateList DcimInterfaceTemplatesList(ctx).BridgeId(bridgeId).BridgeIdN(bridgeIdN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Enabled(enabled).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).MgmtOnly(mgmtOnly).ModifiedByRequest(modifiedByRequest).ModuleTypeId(moduleTypeId).ModuleTypeIdN(moduleTypeIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).PoeMode(poeMode).PoeModeEmpty(poeModeEmpty).PoeModeIc(poeModeIc).PoeModeIe(poeModeIe).PoeModeIew(poeModeIew).PoeModeIsw(poeModeIsw).PoeModeN(poeModeN).PoeModeNic(poeModeNic).PoeModeNie(poeModeNie).PoeModeNiew(poeModeNiew).PoeModeNisw(poeModeNisw).PoeType(poeType).PoeTypeEmpty(poeTypeEmpty).PoeTypeIc(poeTypeIc).PoeTypeIe(poeTypeIe).PoeTypeIew(poeTypeIew).PoeTypeIsw(poeTypeIsw).PoeTypeN(poeTypeN).PoeTypeNic(poeTypeNic).PoeTypeNie(poeTypeNie).PoeTypeNiew(poeTypeNiew).PoeTypeNisw(poeTypeNisw).Q(q).RfRole(rfRole).RfRoleEmpty(rfRoleEmpty).RfRoleIc(rfRoleIc).RfRoleIe(rfRoleIe).RfRoleIew(rfRoleIew).RfRoleIsw(rfRoleIsw).RfRoleN(rfRoleN).RfRoleNic(rfRoleNic).RfRoleNie(rfRoleNie).RfRoleNiew(rfRoleNiew).RfRoleNisw(rfRoleNisw).Type_(type_).TypeEmpty(typeEmpty).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNisw(typeNisw).UpdatedByRequest(updatedByRequest).Execute() @@ -11893,8 +12086,6 @@ func main() { descriptionNisw := []string{"Inner_example"} // []string | (optional) deviceTypeId := []*int32{int32(123)} // []*int32 | Device type (ID) (optional) deviceTypeIdN := []*int32{int32(123)} // []*int32 | Device type (ID) (optional) - devicetypeId := []*int32{int32(123)} // []*int32 | Device type (ID) (optional) - devicetypeIdN := []*int32{int32(123)} // []*int32 | Device type (ID) (optional) enabled := true // bool | (optional) id := []int32{int32(123)} // []int32 | (optional) idEmpty := true // bool | (optional) @@ -11926,8 +12117,6 @@ func main() { modifiedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) moduleTypeId := []*int32{int32(123)} // []*int32 | Module type (ID) (optional) moduleTypeIdN := []*int32{int32(123)} // []*int32 | Module type (ID) (optional) - moduletypeId := []*int32{int32(123)} // []*int32 | Module type (ID) (optional) - moduletypeIdN := []*int32{int32(123)} // []*int32 | Module type (ID) (optional) name := []string{"Inner_example"} // []string | (optional) nameEmpty := true // bool | (optional) nameIc := []string{"Inner_example"} // []string | (optional) @@ -11942,19 +12131,55 @@ func main() { offset := int32(56) // int32 | The initial index from which to return the results. (optional) ordering := "ordering_example" // string | Which field to use when ordering the results. (optional) poeMode := []string{"Inner_example"} // []string | (optional) - poeModeN := []string{"Inner_example"} // []string | (optional) + poeModeEmpty := true // bool | (optional) + poeModeIc := []openapiclient.DcimInterfaceTemplatesListPoeModeIcParameterInner{openapiclient.dcim_interface_templates_list_poe_mode__ic_parameter_inner("")} // []DcimInterfaceTemplatesListPoeModeIcParameterInner | * `pd` - PD * `pse` - PSE (optional) + poeModeIe := []openapiclient.DcimInterfaceTemplatesListPoeModeIcParameterInner{openapiclient.dcim_interface_templates_list_poe_mode__ic_parameter_inner("")} // []DcimInterfaceTemplatesListPoeModeIcParameterInner | * `pd` - PD * `pse` - PSE (optional) + poeModeIew := []openapiclient.DcimInterfaceTemplatesListPoeModeIcParameterInner{openapiclient.dcim_interface_templates_list_poe_mode__ic_parameter_inner("")} // []DcimInterfaceTemplatesListPoeModeIcParameterInner | * `pd` - PD * `pse` - PSE (optional) + poeModeIsw := []openapiclient.DcimInterfaceTemplatesListPoeModeIcParameterInner{openapiclient.dcim_interface_templates_list_poe_mode__ic_parameter_inner("")} // []DcimInterfaceTemplatesListPoeModeIcParameterInner | * `pd` - PD * `pse` - PSE (optional) + poeModeN := []openapiclient.DcimInterfaceTemplatesListPoeModeIcParameterInner{openapiclient.dcim_interface_templates_list_poe_mode__ic_parameter_inner("")} // []DcimInterfaceTemplatesListPoeModeIcParameterInner | * `pd` - PD * `pse` - PSE (optional) + poeModeNic := []openapiclient.DcimInterfaceTemplatesListPoeModeIcParameterInner{openapiclient.dcim_interface_templates_list_poe_mode__ic_parameter_inner("")} // []DcimInterfaceTemplatesListPoeModeIcParameterInner | * `pd` - PD * `pse` - PSE (optional) + poeModeNie := []openapiclient.DcimInterfaceTemplatesListPoeModeIcParameterInner{openapiclient.dcim_interface_templates_list_poe_mode__ic_parameter_inner("")} // []DcimInterfaceTemplatesListPoeModeIcParameterInner | * `pd` - PD * `pse` - PSE (optional) + poeModeNiew := []openapiclient.DcimInterfaceTemplatesListPoeModeIcParameterInner{openapiclient.dcim_interface_templates_list_poe_mode__ic_parameter_inner("")} // []DcimInterfaceTemplatesListPoeModeIcParameterInner | * `pd` - PD * `pse` - PSE (optional) + poeModeNisw := []openapiclient.DcimInterfaceTemplatesListPoeModeIcParameterInner{openapiclient.dcim_interface_templates_list_poe_mode__ic_parameter_inner("")} // []DcimInterfaceTemplatesListPoeModeIcParameterInner | * `pd` - PD * `pse` - PSE (optional) poeType := []string{"Inner_example"} // []string | (optional) - poeTypeN := []string{"Inner_example"} // []string | (optional) + poeTypeEmpty := true // bool | (optional) + poeTypeIc := []openapiclient.DcimInterfaceTemplatesListPoeTypeIcParameterInner{openapiclient.dcim_interface_templates_list_poe_type__ic_parameter_inner("")} // []DcimInterfaceTemplatesListPoeTypeIcParameterInner | * `type1-ieee802.3af` - 802.3af (Type 1) * `type2-ieee802.3at` - 802.3at (Type 2) * `type3-ieee802.3bt` - 802.3bt (Type 3) * `type4-ieee802.3bt` - 802.3bt (Type 4) * `passive-24v-2pair` - Passive 24V (2-pair) * `passive-24v-4pair` - Passive 24V (4-pair) * `passive-48v-2pair` - Passive 48V (2-pair) * `passive-48v-4pair` - Passive 48V (4-pair) (optional) + poeTypeIe := []openapiclient.DcimInterfaceTemplatesListPoeTypeIcParameterInner{openapiclient.dcim_interface_templates_list_poe_type__ic_parameter_inner("")} // []DcimInterfaceTemplatesListPoeTypeIcParameterInner | * `type1-ieee802.3af` - 802.3af (Type 1) * `type2-ieee802.3at` - 802.3at (Type 2) * `type3-ieee802.3bt` - 802.3bt (Type 3) * `type4-ieee802.3bt` - 802.3bt (Type 4) * `passive-24v-2pair` - Passive 24V (2-pair) * `passive-24v-4pair` - Passive 24V (4-pair) * `passive-48v-2pair` - Passive 48V (2-pair) * `passive-48v-4pair` - Passive 48V (4-pair) (optional) + poeTypeIew := []openapiclient.DcimInterfaceTemplatesListPoeTypeIcParameterInner{openapiclient.dcim_interface_templates_list_poe_type__ic_parameter_inner("")} // []DcimInterfaceTemplatesListPoeTypeIcParameterInner | * `type1-ieee802.3af` - 802.3af (Type 1) * `type2-ieee802.3at` - 802.3at (Type 2) * `type3-ieee802.3bt` - 802.3bt (Type 3) * `type4-ieee802.3bt` - 802.3bt (Type 4) * `passive-24v-2pair` - Passive 24V (2-pair) * `passive-24v-4pair` - Passive 24V (4-pair) * `passive-48v-2pair` - Passive 48V (2-pair) * `passive-48v-4pair` - Passive 48V (4-pair) (optional) + poeTypeIsw := []openapiclient.DcimInterfaceTemplatesListPoeTypeIcParameterInner{openapiclient.dcim_interface_templates_list_poe_type__ic_parameter_inner("")} // []DcimInterfaceTemplatesListPoeTypeIcParameterInner | * `type1-ieee802.3af` - 802.3af (Type 1) * `type2-ieee802.3at` - 802.3at (Type 2) * `type3-ieee802.3bt` - 802.3bt (Type 3) * `type4-ieee802.3bt` - 802.3bt (Type 4) * `passive-24v-2pair` - Passive 24V (2-pair) * `passive-24v-4pair` - Passive 24V (4-pair) * `passive-48v-2pair` - Passive 48V (2-pair) * `passive-48v-4pair` - Passive 48V (4-pair) (optional) + poeTypeN := []openapiclient.DcimInterfaceTemplatesListPoeTypeIcParameterInner{openapiclient.dcim_interface_templates_list_poe_type__ic_parameter_inner("")} // []DcimInterfaceTemplatesListPoeTypeIcParameterInner | * `type1-ieee802.3af` - 802.3af (Type 1) * `type2-ieee802.3at` - 802.3at (Type 2) * `type3-ieee802.3bt` - 802.3bt (Type 3) * `type4-ieee802.3bt` - 802.3bt (Type 4) * `passive-24v-2pair` - Passive 24V (2-pair) * `passive-24v-4pair` - Passive 24V (4-pair) * `passive-48v-2pair` - Passive 48V (2-pair) * `passive-48v-4pair` - Passive 48V (4-pair) (optional) + poeTypeNic := []openapiclient.DcimInterfaceTemplatesListPoeTypeIcParameterInner{openapiclient.dcim_interface_templates_list_poe_type__ic_parameter_inner("")} // []DcimInterfaceTemplatesListPoeTypeIcParameterInner | * `type1-ieee802.3af` - 802.3af (Type 1) * `type2-ieee802.3at` - 802.3at (Type 2) * `type3-ieee802.3bt` - 802.3bt (Type 3) * `type4-ieee802.3bt` - 802.3bt (Type 4) * `passive-24v-2pair` - Passive 24V (2-pair) * `passive-24v-4pair` - Passive 24V (4-pair) * `passive-48v-2pair` - Passive 48V (2-pair) * `passive-48v-4pair` - Passive 48V (4-pair) (optional) + poeTypeNie := []openapiclient.DcimInterfaceTemplatesListPoeTypeIcParameterInner{openapiclient.dcim_interface_templates_list_poe_type__ic_parameter_inner("")} // []DcimInterfaceTemplatesListPoeTypeIcParameterInner | * `type1-ieee802.3af` - 802.3af (Type 1) * `type2-ieee802.3at` - 802.3at (Type 2) * `type3-ieee802.3bt` - 802.3bt (Type 3) * `type4-ieee802.3bt` - 802.3bt (Type 4) * `passive-24v-2pair` - Passive 24V (2-pair) * `passive-24v-4pair` - Passive 24V (4-pair) * `passive-48v-2pair` - Passive 48V (2-pair) * `passive-48v-4pair` - Passive 48V (4-pair) (optional) + poeTypeNiew := []openapiclient.DcimInterfaceTemplatesListPoeTypeIcParameterInner{openapiclient.dcim_interface_templates_list_poe_type__ic_parameter_inner("")} // []DcimInterfaceTemplatesListPoeTypeIcParameterInner | * `type1-ieee802.3af` - 802.3af (Type 1) * `type2-ieee802.3at` - 802.3at (Type 2) * `type3-ieee802.3bt` - 802.3bt (Type 3) * `type4-ieee802.3bt` - 802.3bt (Type 4) * `passive-24v-2pair` - Passive 24V (2-pair) * `passive-24v-4pair` - Passive 24V (4-pair) * `passive-48v-2pair` - Passive 48V (2-pair) * `passive-48v-4pair` - Passive 48V (4-pair) (optional) + poeTypeNisw := []openapiclient.DcimInterfaceTemplatesListPoeTypeIcParameterInner{openapiclient.dcim_interface_templates_list_poe_type__ic_parameter_inner("")} // []DcimInterfaceTemplatesListPoeTypeIcParameterInner | * `type1-ieee802.3af` - 802.3af (Type 1) * `type2-ieee802.3at` - 802.3at (Type 2) * `type3-ieee802.3bt` - 802.3bt (Type 3) * `type4-ieee802.3bt` - 802.3bt (Type 4) * `passive-24v-2pair` - Passive 24V (2-pair) * `passive-24v-4pair` - Passive 24V (4-pair) * `passive-48v-2pair` - Passive 48V (2-pair) * `passive-48v-4pair` - Passive 48V (4-pair) (optional) q := "q_example" // string | Search (optional) rfRole := []string{"Inner_example"} // []string | (optional) - rfRoleN := []string{"Inner_example"} // []string | (optional) + rfRoleEmpty := true // bool | (optional) + rfRoleIc := []openapiclient.WirelessRole{openapiclient.Wireless_role("")} // []WirelessRole | * `ap` - Access point * `station` - Station (optional) + rfRoleIe := []openapiclient.WirelessRole{openapiclient.Wireless_role("")} // []WirelessRole | * `ap` - Access point * `station` - Station (optional) + rfRoleIew := []openapiclient.WirelessRole{openapiclient.Wireless_role("")} // []WirelessRole | * `ap` - Access point * `station` - Station (optional) + rfRoleIsw := []openapiclient.WirelessRole{openapiclient.Wireless_role("")} // []WirelessRole | * `ap` - Access point * `station` - Station (optional) + rfRoleN := []openapiclient.WirelessRole{openapiclient.Wireless_role("")} // []WirelessRole | * `ap` - Access point * `station` - Station (optional) + rfRoleNic := []openapiclient.WirelessRole{openapiclient.Wireless_role("")} // []WirelessRole | * `ap` - Access point * `station` - Station (optional) + rfRoleNie := []openapiclient.WirelessRole{openapiclient.Wireless_role("")} // []WirelessRole | * `ap` - Access point * `station` - Station (optional) + rfRoleNiew := []openapiclient.WirelessRole{openapiclient.Wireless_role("")} // []WirelessRole | * `ap` - Access point * `station` - Station (optional) + rfRoleNisw := []openapiclient.WirelessRole{openapiclient.Wireless_role("")} // []WirelessRole | * `ap` - Access point * `station` - Station (optional) type_ := []string{"Inner_example"} // []string | (optional) - typeN := []string{"Inner_example"} // []string | (optional) + typeEmpty := true // bool | (optional) + typeIc := []openapiclient.DcimInterfaceTemplatesListTypeIcParameterInner{openapiclient.dcim_interface_templates_list_type__ic_parameter_inner("1000base-kx")} // []DcimInterfaceTemplatesListTypeIcParameterInner | * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other (optional) + typeIe := []openapiclient.DcimInterfaceTemplatesListTypeIcParameterInner{openapiclient.dcim_interface_templates_list_type__ic_parameter_inner("1000base-kx")} // []DcimInterfaceTemplatesListTypeIcParameterInner | * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other (optional) + typeIew := []openapiclient.DcimInterfaceTemplatesListTypeIcParameterInner{openapiclient.dcim_interface_templates_list_type__ic_parameter_inner("1000base-kx")} // []DcimInterfaceTemplatesListTypeIcParameterInner | * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other (optional) + typeIsw := []openapiclient.DcimInterfaceTemplatesListTypeIcParameterInner{openapiclient.dcim_interface_templates_list_type__ic_parameter_inner("1000base-kx")} // []DcimInterfaceTemplatesListTypeIcParameterInner | * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other (optional) + typeN := []openapiclient.DcimInterfaceTemplatesListTypeIcParameterInner{openapiclient.dcim_interface_templates_list_type__ic_parameter_inner("1000base-kx")} // []DcimInterfaceTemplatesListTypeIcParameterInner | * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other (optional) + typeNic := []openapiclient.DcimInterfaceTemplatesListTypeIcParameterInner{openapiclient.dcim_interface_templates_list_type__ic_parameter_inner("1000base-kx")} // []DcimInterfaceTemplatesListTypeIcParameterInner | * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other (optional) + typeNie := []openapiclient.DcimInterfaceTemplatesListTypeIcParameterInner{openapiclient.dcim_interface_templates_list_type__ic_parameter_inner("1000base-kx")} // []DcimInterfaceTemplatesListTypeIcParameterInner | * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other (optional) + typeNiew := []openapiclient.DcimInterfaceTemplatesListTypeIcParameterInner{openapiclient.dcim_interface_templates_list_type__ic_parameter_inner("1000base-kx")} // []DcimInterfaceTemplatesListTypeIcParameterInner | * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other (optional) + typeNisw := []openapiclient.DcimInterfaceTemplatesListTypeIcParameterInner{openapiclient.dcim_interface_templates_list_type__ic_parameter_inner("1000base-kx")} // []DcimInterfaceTemplatesListTypeIcParameterInner | * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other (optional) updatedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.DcimAPI.DcimInterfaceTemplatesList(context.Background()).BridgeId(bridgeId).BridgeIdN(bridgeIdN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).DevicetypeId(devicetypeId).DevicetypeIdN(devicetypeIdN).Enabled(enabled).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).MgmtOnly(mgmtOnly).ModifiedByRequest(modifiedByRequest).ModuleTypeId(moduleTypeId).ModuleTypeIdN(moduleTypeIdN).ModuletypeId(moduletypeId).ModuletypeIdN(moduletypeIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).PoeMode(poeMode).PoeModeN(poeModeN).PoeType(poeType).PoeTypeN(poeTypeN).Q(q).RfRole(rfRole).RfRoleN(rfRoleN).Type_(type_).TypeN(typeN).UpdatedByRequest(updatedByRequest).Execute() + resp, r, err := apiClient.DcimAPI.DcimInterfaceTemplatesList(context.Background()).BridgeId(bridgeId).BridgeIdN(bridgeIdN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Enabled(enabled).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).MgmtOnly(mgmtOnly).ModifiedByRequest(modifiedByRequest).ModuleTypeId(moduleTypeId).ModuleTypeIdN(moduleTypeIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).PoeMode(poeMode).PoeModeEmpty(poeModeEmpty).PoeModeIc(poeModeIc).PoeModeIe(poeModeIe).PoeModeIew(poeModeIew).PoeModeIsw(poeModeIsw).PoeModeN(poeModeN).PoeModeNic(poeModeNic).PoeModeNie(poeModeNie).PoeModeNiew(poeModeNiew).PoeModeNisw(poeModeNisw).PoeType(poeType).PoeTypeEmpty(poeTypeEmpty).PoeTypeIc(poeTypeIc).PoeTypeIe(poeTypeIe).PoeTypeIew(poeTypeIew).PoeTypeIsw(poeTypeIsw).PoeTypeN(poeTypeN).PoeTypeNic(poeTypeNic).PoeTypeNie(poeTypeNie).PoeTypeNiew(poeTypeNiew).PoeTypeNisw(poeTypeNisw).Q(q).RfRole(rfRole).RfRoleEmpty(rfRoleEmpty).RfRoleIc(rfRoleIc).RfRoleIe(rfRoleIe).RfRoleIew(rfRoleIew).RfRoleIsw(rfRoleIsw).RfRoleN(rfRoleN).RfRoleNic(rfRoleNic).RfRoleNie(rfRoleNie).RfRoleNiew(rfRoleNiew).RfRoleNisw(rfRoleNisw).Type_(type_).TypeEmpty(typeEmpty).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNisw(typeNisw).UpdatedByRequest(updatedByRequest).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) @@ -11998,8 +12223,6 @@ Name | Type | Description | Notes **descriptionNisw** | **[]string** | | **deviceTypeId** | **[]int32** | Device type (ID) | **deviceTypeIdN** | **[]int32** | Device type (ID) | - **devicetypeId** | **[]int32** | Device type (ID) | - **devicetypeIdN** | **[]int32** | Device type (ID) | **enabled** | **bool** | | **id** | **[]int32** | | **idEmpty** | **bool** | | @@ -12031,8 +12254,6 @@ Name | Type | Description | Notes **modifiedByRequest** | **string** | | **moduleTypeId** | **[]int32** | Module type (ID) | **moduleTypeIdN** | **[]int32** | Module type (ID) | - **moduletypeId** | **[]int32** | Module type (ID) | - **moduletypeIdN** | **[]int32** | Module type (ID) | **name** | **[]string** | | **nameEmpty** | **bool** | | **nameIc** | **[]string** | | @@ -12047,14 +12268,50 @@ Name | Type | Description | Notes **offset** | **int32** | The initial index from which to return the results. | **ordering** | **string** | Which field to use when ordering the results. | **poeMode** | **[]string** | | - **poeModeN** | **[]string** | | + **poeModeEmpty** | **bool** | | + **poeModeIc** | [**[]DcimInterfaceTemplatesListPoeModeIcParameterInner**](DcimInterfaceTemplatesListPoeModeIcParameterInner.md) | * `pd` - PD * `pse` - PSE | + **poeModeIe** | [**[]DcimInterfaceTemplatesListPoeModeIcParameterInner**](DcimInterfaceTemplatesListPoeModeIcParameterInner.md) | * `pd` - PD * `pse` - PSE | + **poeModeIew** | [**[]DcimInterfaceTemplatesListPoeModeIcParameterInner**](DcimInterfaceTemplatesListPoeModeIcParameterInner.md) | * `pd` - PD * `pse` - PSE | + **poeModeIsw** | [**[]DcimInterfaceTemplatesListPoeModeIcParameterInner**](DcimInterfaceTemplatesListPoeModeIcParameterInner.md) | * `pd` - PD * `pse` - PSE | + **poeModeN** | [**[]DcimInterfaceTemplatesListPoeModeIcParameterInner**](DcimInterfaceTemplatesListPoeModeIcParameterInner.md) | * `pd` - PD * `pse` - PSE | + **poeModeNic** | [**[]DcimInterfaceTemplatesListPoeModeIcParameterInner**](DcimInterfaceTemplatesListPoeModeIcParameterInner.md) | * `pd` - PD * `pse` - PSE | + **poeModeNie** | [**[]DcimInterfaceTemplatesListPoeModeIcParameterInner**](DcimInterfaceTemplatesListPoeModeIcParameterInner.md) | * `pd` - PD * `pse` - PSE | + **poeModeNiew** | [**[]DcimInterfaceTemplatesListPoeModeIcParameterInner**](DcimInterfaceTemplatesListPoeModeIcParameterInner.md) | * `pd` - PD * `pse` - PSE | + **poeModeNisw** | [**[]DcimInterfaceTemplatesListPoeModeIcParameterInner**](DcimInterfaceTemplatesListPoeModeIcParameterInner.md) | * `pd` - PD * `pse` - PSE | **poeType** | **[]string** | | - **poeTypeN** | **[]string** | | + **poeTypeEmpty** | **bool** | | + **poeTypeIc** | [**[]DcimInterfaceTemplatesListPoeTypeIcParameterInner**](DcimInterfaceTemplatesListPoeTypeIcParameterInner.md) | * `type1-ieee802.3af` - 802.3af (Type 1) * `type2-ieee802.3at` - 802.3at (Type 2) * `type3-ieee802.3bt` - 802.3bt (Type 3) * `type4-ieee802.3bt` - 802.3bt (Type 4) * `passive-24v-2pair` - Passive 24V (2-pair) * `passive-24v-4pair` - Passive 24V (4-pair) * `passive-48v-2pair` - Passive 48V (2-pair) * `passive-48v-4pair` - Passive 48V (4-pair) | + **poeTypeIe** | [**[]DcimInterfaceTemplatesListPoeTypeIcParameterInner**](DcimInterfaceTemplatesListPoeTypeIcParameterInner.md) | * `type1-ieee802.3af` - 802.3af (Type 1) * `type2-ieee802.3at` - 802.3at (Type 2) * `type3-ieee802.3bt` - 802.3bt (Type 3) * `type4-ieee802.3bt` - 802.3bt (Type 4) * `passive-24v-2pair` - Passive 24V (2-pair) * `passive-24v-4pair` - Passive 24V (4-pair) * `passive-48v-2pair` - Passive 48V (2-pair) * `passive-48v-4pair` - Passive 48V (4-pair) | + **poeTypeIew** | [**[]DcimInterfaceTemplatesListPoeTypeIcParameterInner**](DcimInterfaceTemplatesListPoeTypeIcParameterInner.md) | * `type1-ieee802.3af` - 802.3af (Type 1) * `type2-ieee802.3at` - 802.3at (Type 2) * `type3-ieee802.3bt` - 802.3bt (Type 3) * `type4-ieee802.3bt` - 802.3bt (Type 4) * `passive-24v-2pair` - Passive 24V (2-pair) * `passive-24v-4pair` - Passive 24V (4-pair) * `passive-48v-2pair` - Passive 48V (2-pair) * `passive-48v-4pair` - Passive 48V (4-pair) | + **poeTypeIsw** | [**[]DcimInterfaceTemplatesListPoeTypeIcParameterInner**](DcimInterfaceTemplatesListPoeTypeIcParameterInner.md) | * `type1-ieee802.3af` - 802.3af (Type 1) * `type2-ieee802.3at` - 802.3at (Type 2) * `type3-ieee802.3bt` - 802.3bt (Type 3) * `type4-ieee802.3bt` - 802.3bt (Type 4) * `passive-24v-2pair` - Passive 24V (2-pair) * `passive-24v-4pair` - Passive 24V (4-pair) * `passive-48v-2pair` - Passive 48V (2-pair) * `passive-48v-4pair` - Passive 48V (4-pair) | + **poeTypeN** | [**[]DcimInterfaceTemplatesListPoeTypeIcParameterInner**](DcimInterfaceTemplatesListPoeTypeIcParameterInner.md) | * `type1-ieee802.3af` - 802.3af (Type 1) * `type2-ieee802.3at` - 802.3at (Type 2) * `type3-ieee802.3bt` - 802.3bt (Type 3) * `type4-ieee802.3bt` - 802.3bt (Type 4) * `passive-24v-2pair` - Passive 24V (2-pair) * `passive-24v-4pair` - Passive 24V (4-pair) * `passive-48v-2pair` - Passive 48V (2-pair) * `passive-48v-4pair` - Passive 48V (4-pair) | + **poeTypeNic** | [**[]DcimInterfaceTemplatesListPoeTypeIcParameterInner**](DcimInterfaceTemplatesListPoeTypeIcParameterInner.md) | * `type1-ieee802.3af` - 802.3af (Type 1) * `type2-ieee802.3at` - 802.3at (Type 2) * `type3-ieee802.3bt` - 802.3bt (Type 3) * `type4-ieee802.3bt` - 802.3bt (Type 4) * `passive-24v-2pair` - Passive 24V (2-pair) * `passive-24v-4pair` - Passive 24V (4-pair) * `passive-48v-2pair` - Passive 48V (2-pair) * `passive-48v-4pair` - Passive 48V (4-pair) | + **poeTypeNie** | [**[]DcimInterfaceTemplatesListPoeTypeIcParameterInner**](DcimInterfaceTemplatesListPoeTypeIcParameterInner.md) | * `type1-ieee802.3af` - 802.3af (Type 1) * `type2-ieee802.3at` - 802.3at (Type 2) * `type3-ieee802.3bt` - 802.3bt (Type 3) * `type4-ieee802.3bt` - 802.3bt (Type 4) * `passive-24v-2pair` - Passive 24V (2-pair) * `passive-24v-4pair` - Passive 24V (4-pair) * `passive-48v-2pair` - Passive 48V (2-pair) * `passive-48v-4pair` - Passive 48V (4-pair) | + **poeTypeNiew** | [**[]DcimInterfaceTemplatesListPoeTypeIcParameterInner**](DcimInterfaceTemplatesListPoeTypeIcParameterInner.md) | * `type1-ieee802.3af` - 802.3af (Type 1) * `type2-ieee802.3at` - 802.3at (Type 2) * `type3-ieee802.3bt` - 802.3bt (Type 3) * `type4-ieee802.3bt` - 802.3bt (Type 4) * `passive-24v-2pair` - Passive 24V (2-pair) * `passive-24v-4pair` - Passive 24V (4-pair) * `passive-48v-2pair` - Passive 48V (2-pair) * `passive-48v-4pair` - Passive 48V (4-pair) | + **poeTypeNisw** | [**[]DcimInterfaceTemplatesListPoeTypeIcParameterInner**](DcimInterfaceTemplatesListPoeTypeIcParameterInner.md) | * `type1-ieee802.3af` - 802.3af (Type 1) * `type2-ieee802.3at` - 802.3at (Type 2) * `type3-ieee802.3bt` - 802.3bt (Type 3) * `type4-ieee802.3bt` - 802.3bt (Type 4) * `passive-24v-2pair` - Passive 24V (2-pair) * `passive-24v-4pair` - Passive 24V (4-pair) * `passive-48v-2pair` - Passive 48V (2-pair) * `passive-48v-4pair` - Passive 48V (4-pair) | **q** | **string** | Search | **rfRole** | **[]string** | | - **rfRoleN** | **[]string** | | + **rfRoleEmpty** | **bool** | | + **rfRoleIc** | [**[]WirelessRole**](WirelessRole.md) | * `ap` - Access point * `station` - Station | + **rfRoleIe** | [**[]WirelessRole**](WirelessRole.md) | * `ap` - Access point * `station` - Station | + **rfRoleIew** | [**[]WirelessRole**](WirelessRole.md) | * `ap` - Access point * `station` - Station | + **rfRoleIsw** | [**[]WirelessRole**](WirelessRole.md) | * `ap` - Access point * `station` - Station | + **rfRoleN** | [**[]WirelessRole**](WirelessRole.md) | * `ap` - Access point * `station` - Station | + **rfRoleNic** | [**[]WirelessRole**](WirelessRole.md) | * `ap` - Access point * `station` - Station | + **rfRoleNie** | [**[]WirelessRole**](WirelessRole.md) | * `ap` - Access point * `station` - Station | + **rfRoleNiew** | [**[]WirelessRole**](WirelessRole.md) | * `ap` - Access point * `station` - Station | + **rfRoleNisw** | [**[]WirelessRole**](WirelessRole.md) | * `ap` - Access point * `station` - Station | **type_** | **[]string** | | - **typeN** | **[]string** | | + **typeEmpty** | **bool** | | + **typeIc** | [**[]DcimInterfaceTemplatesListTypeIcParameterInner**](DcimInterfaceTemplatesListTypeIcParameterInner.md) | * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other | + **typeIe** | [**[]DcimInterfaceTemplatesListTypeIcParameterInner**](DcimInterfaceTemplatesListTypeIcParameterInner.md) | * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other | + **typeIew** | [**[]DcimInterfaceTemplatesListTypeIcParameterInner**](DcimInterfaceTemplatesListTypeIcParameterInner.md) | * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other | + **typeIsw** | [**[]DcimInterfaceTemplatesListTypeIcParameterInner**](DcimInterfaceTemplatesListTypeIcParameterInner.md) | * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other | + **typeN** | [**[]DcimInterfaceTemplatesListTypeIcParameterInner**](DcimInterfaceTemplatesListTypeIcParameterInner.md) | * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other | + **typeNic** | [**[]DcimInterfaceTemplatesListTypeIcParameterInner**](DcimInterfaceTemplatesListTypeIcParameterInner.md) | * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other | + **typeNie** | [**[]DcimInterfaceTemplatesListTypeIcParameterInner**](DcimInterfaceTemplatesListTypeIcParameterInner.md) | * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other | + **typeNiew** | [**[]DcimInterfaceTemplatesListTypeIcParameterInner**](DcimInterfaceTemplatesListTypeIcParameterInner.md) | * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other | + **typeNisw** | [**[]DcimInterfaceTemplatesListTypeIcParameterInner**](DcimInterfaceTemplatesListTypeIcParameterInner.md) | * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other | **updatedByRequest** | **string** | | ### Return type @@ -12310,7 +12567,7 @@ import ( ) func main() { - interfaceRequest := []openapiclient.InterfaceRequest{*openapiclient.NewInterfaceRequest(*openapiclient.NewDeviceRequest(), "Name_example", openapiclient.Interface_type_value("virtual"))} // []InterfaceRequest | + interfaceRequest := []openapiclient.InterfaceRequest{*openapiclient.NewInterfaceRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example", openapiclient.Interface_type_value("virtual"))} // []InterfaceRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -12374,7 +12631,7 @@ import ( ) func main() { - interfaceRequest := []openapiclient.InterfaceRequest{*openapiclient.NewInterfaceRequest(*openapiclient.NewDeviceRequest(), "Name_example", openapiclient.Interface_type_value("virtual"))} // []InterfaceRequest | + interfaceRequest := []openapiclient.InterfaceRequest{*openapiclient.NewInterfaceRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example", openapiclient.Interface_type_value("virtual"))} // []InterfaceRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -12440,7 +12697,7 @@ import ( ) func main() { - interfaceRequest := []openapiclient.InterfaceRequest{*openapiclient.NewInterfaceRequest(*openapiclient.NewDeviceRequest(), "Name_example", openapiclient.Interface_type_value("virtual"))} // []InterfaceRequest | + interfaceRequest := []openapiclient.InterfaceRequest{*openapiclient.NewInterfaceRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example", openapiclient.Interface_type_value("virtual"))} // []InterfaceRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -12506,7 +12763,7 @@ import ( ) func main() { - writableInterfaceRequest := *openapiclient.NewWritableInterfaceRequest(*openapiclient.NewDeviceRequest(), "Name_example", openapiclient.Interface_type_value("virtual")) // WritableInterfaceRequest | + writableInterfaceRequest := *openapiclient.NewWritableInterfaceRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example", openapiclient.Interface_type_value("virtual")) // WritableInterfaceRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -12621,7 +12878,7 @@ Name | Type | Description | Notes ## DcimInterfacesList -> PaginatedInterfaceList DcimInterfacesList(ctx).BridgeId(bridgeId).BridgeIdN(bridgeIdN).CableEnd(cableEnd).CableEndN(cableEndN).CableId(cableId).CableIdN(cableIdN).Cabled(cabled).Connected(connected).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceN(deviceN).DeviceId(deviceId).DeviceIdN(deviceIdN).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Duplex(duplex).DuplexN(duplexN).Enabled(enabled).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Kind(kind).L2vpn(l2vpn).L2vpnN(l2vpnN).L2vpnId(l2vpnId).L2vpnIdN(l2vpnIdN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LagId(lagId).LagIdN(lagIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).LocationId(locationId).LocationIdN(locationIdN).MacAddress(macAddress).MacAddressIc(macAddressIc).MacAddressIe(macAddressIe).MacAddressIew(macAddressIew).MacAddressIsw(macAddressIsw).MacAddressN(macAddressN).MacAddressNic(macAddressNic).MacAddressNie(macAddressNie).MacAddressNiew(macAddressNiew).MacAddressNisw(macAddressNisw).MarkConnected(markConnected).MgmtOnly(mgmtOnly).Mode(mode).ModeN(modeN).ModifiedByRequest(modifiedByRequest).ModuleId(moduleId).ModuleIdN(moduleIdN).Mtu(mtu).MtuEmpty(mtuEmpty).MtuGt(mtuGt).MtuGte(mtuGte).MtuLt(mtuLt).MtuLte(mtuLte).MtuN(mtuN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Occupied(occupied).Offset(offset).Ordering(ordering).ParentId(parentId).ParentIdN(parentIdN).PoeMode(poeMode).PoeModeN(poeModeN).PoeType(poeType).PoeTypeN(poeTypeN).Q(q).Rack(rack).RackN(rackN).RackId(rackId).RackIdN(rackIdN).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).RfChannel(rfChannel).RfChannelN(rfChannelN).RfChannelFrequency(rfChannelFrequency).RfChannelFrequencyEmpty(rfChannelFrequencyEmpty).RfChannelFrequencyGt(rfChannelFrequencyGt).RfChannelFrequencyGte(rfChannelFrequencyGte).RfChannelFrequencyLt(rfChannelFrequencyLt).RfChannelFrequencyLte(rfChannelFrequencyLte).RfChannelFrequencyN(rfChannelFrequencyN).RfChannelWidth(rfChannelWidth).RfChannelWidthEmpty(rfChannelWidthEmpty).RfChannelWidthGt(rfChannelWidthGt).RfChannelWidthGte(rfChannelWidthGte).RfChannelWidthLt(rfChannelWidthLt).RfChannelWidthLte(rfChannelWidthLte).RfChannelWidthN(rfChannelWidthN).RfRole(rfRole).RfRoleN(rfRoleN).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Speed(speed).SpeedEmpty(speedEmpty).SpeedGt(speedGt).SpeedGte(speedGte).SpeedLt(speedLt).SpeedLte(speedLte).SpeedN(speedN).Tag(tag).TagN(tagN).TxPower(txPower).TxPowerEmpty(txPowerEmpty).TxPowerGt(txPowerGt).TxPowerGte(txPowerGte).TxPowerLt(txPowerLt).TxPowerLte(txPowerLte).TxPowerN(txPowerN).Type_(type_).TypeN(typeN).UpdatedByRequest(updatedByRequest).Vdc(vdc).VdcN(vdcN).VdcId(vdcId).VdcIdN(vdcIdN).VdcIdentifier(vdcIdentifier).VdcIdentifierN(vdcIdentifierN).VirtualChassis(virtualChassis).VirtualChassisN(virtualChassisN).VirtualChassisId(virtualChassisId).VirtualChassisIdN(virtualChassisIdN).VirtualChassisMember(virtualChassisMember).VirtualChassisMemberId(virtualChassisMemberId).Vlan(vlan).VlanId(vlanId).Vrf(vrf).VrfN(vrfN).VrfId(vrfId).VrfIdN(vrfIdN).WirelessLanId(wirelessLanId).WirelessLanIdN(wirelessLanIdN).WirelessLinkId(wirelessLinkId).WirelessLinkIdN(wirelessLinkIdN).Wwn(wwn).WwnIc(wwnIc).WwnIe(wwnIe).WwnIew(wwnIew).WwnIsw(wwnIsw).WwnN(wwnN).WwnNic(wwnNic).WwnNie(wwnNie).WwnNiew(wwnNiew).WwnNisw(wwnNisw).Execute() +> PaginatedInterfaceList DcimInterfacesList(ctx).BridgeId(bridgeId).BridgeIdN(bridgeIdN).CableEnd(cableEnd).CableId(cableId).CableIdN(cableIdN).Cabled(cabled).Connected(connected).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceN(deviceN).DeviceId(deviceId).DeviceIdN(deviceIdN).DeviceRole(deviceRole).DeviceRoleN(deviceRoleN).DeviceRoleId(deviceRoleId).DeviceRoleIdN(deviceRoleIdN).DeviceStatus(deviceStatus).DeviceStatusEmpty(deviceStatusEmpty).DeviceStatusIc(deviceStatusIc).DeviceStatusIe(deviceStatusIe).DeviceStatusIew(deviceStatusIew).DeviceStatusIsw(deviceStatusIsw).DeviceStatusN(deviceStatusN).DeviceStatusNic(deviceStatusNic).DeviceStatusNie(deviceStatusNie).DeviceStatusNiew(deviceStatusNiew).DeviceStatusNisw(deviceStatusNisw).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Duplex(duplex).DuplexEmpty(duplexEmpty).DuplexIc(duplexIc).DuplexIe(duplexIe).DuplexIew(duplexIew).DuplexIsw(duplexIsw).DuplexN(duplexN).DuplexNic(duplexNic).DuplexNie(duplexNie).DuplexNiew(duplexNiew).DuplexNisw(duplexNisw).Enabled(enabled).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Kind(kind).L2vpn(l2vpn).L2vpnN(l2vpnN).L2vpnId(l2vpnId).L2vpnIdN(l2vpnIdN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LagId(lagId).LagIdN(lagIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).LocationId(locationId).LocationIdN(locationIdN).MacAddress(macAddress).MacAddressIc(macAddressIc).MacAddressIe(macAddressIe).MacAddressIew(macAddressIew).MacAddressIsw(macAddressIsw).MacAddressN(macAddressN).MacAddressNic(macAddressNic).MacAddressNie(macAddressNie).MacAddressNiew(macAddressNiew).MacAddressNisw(macAddressNisw).MarkConnected(markConnected).MgmtOnly(mgmtOnly).Mode(mode).ModifiedByRequest(modifiedByRequest).ModuleId(moduleId).ModuleIdN(moduleIdN).Mtu(mtu).MtuEmpty(mtuEmpty).MtuGt(mtuGt).MtuGte(mtuGte).MtuLt(mtuLt).MtuLte(mtuLte).MtuN(mtuN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Occupied(occupied).Offset(offset).Ordering(ordering).ParentId(parentId).ParentIdN(parentIdN).PoeMode(poeMode).PoeModeEmpty(poeModeEmpty).PoeModeIc(poeModeIc).PoeModeIe(poeModeIe).PoeModeIew(poeModeIew).PoeModeIsw(poeModeIsw).PoeModeN(poeModeN).PoeModeNic(poeModeNic).PoeModeNie(poeModeNie).PoeModeNiew(poeModeNiew).PoeModeNisw(poeModeNisw).PoeType(poeType).PoeTypeEmpty(poeTypeEmpty).PoeTypeIc(poeTypeIc).PoeTypeIe(poeTypeIe).PoeTypeIew(poeTypeIew).PoeTypeIsw(poeTypeIsw).PoeTypeN(poeTypeN).PoeTypeNic(poeTypeNic).PoeTypeNie(poeTypeNie).PoeTypeNiew(poeTypeNiew).PoeTypeNisw(poeTypeNisw).Q(q).Rack(rack).RackN(rackN).RackId(rackId).RackIdN(rackIdN).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).RfChannel(rfChannel).RfChannelEmpty(rfChannelEmpty).RfChannelIc(rfChannelIc).RfChannelIe(rfChannelIe).RfChannelIew(rfChannelIew).RfChannelIsw(rfChannelIsw).RfChannelN(rfChannelN).RfChannelNic(rfChannelNic).RfChannelNie(rfChannelNie).RfChannelNiew(rfChannelNiew).RfChannelNisw(rfChannelNisw).RfChannelFrequency(rfChannelFrequency).RfChannelFrequencyEmpty(rfChannelFrequencyEmpty).RfChannelFrequencyGt(rfChannelFrequencyGt).RfChannelFrequencyGte(rfChannelFrequencyGte).RfChannelFrequencyLt(rfChannelFrequencyLt).RfChannelFrequencyLte(rfChannelFrequencyLte).RfChannelFrequencyN(rfChannelFrequencyN).RfChannelWidth(rfChannelWidth).RfChannelWidthEmpty(rfChannelWidthEmpty).RfChannelWidthGt(rfChannelWidthGt).RfChannelWidthGte(rfChannelWidthGte).RfChannelWidthLt(rfChannelWidthLt).RfChannelWidthLte(rfChannelWidthLte).RfChannelWidthN(rfChannelWidthN).RfRole(rfRole).RfRoleEmpty(rfRoleEmpty).RfRoleIc(rfRoleIc).RfRoleIe(rfRoleIe).RfRoleIew(rfRoleIew).RfRoleIsw(rfRoleIsw).RfRoleN(rfRoleN).RfRoleNic(rfRoleNic).RfRoleNie(rfRoleNie).RfRoleNiew(rfRoleNiew).RfRoleNisw(rfRoleNisw).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Speed(speed).SpeedEmpty(speedEmpty).SpeedGt(speedGt).SpeedGte(speedGte).SpeedLt(speedLt).SpeedLte(speedLte).SpeedN(speedN).Tag(tag).TagN(tagN).TxPower(txPower).TxPowerEmpty(txPowerEmpty).TxPowerGt(txPowerGt).TxPowerGte(txPowerGte).TxPowerLt(txPowerLt).TxPowerLte(txPowerLte).TxPowerN(txPowerN).Type_(type_).TypeEmpty(typeEmpty).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNisw(typeNisw).UpdatedByRequest(updatedByRequest).Vdc(vdc).VdcN(vdcN).VdcId(vdcId).VdcIdN(vdcIdN).VdcIdentifier(vdcIdentifier).VdcIdentifierN(vdcIdentifierN).VirtualChassis(virtualChassis).VirtualChassisN(virtualChassisN).VirtualChassisId(virtualChassisId).VirtualChassisIdN(virtualChassisIdN).VirtualChassisMember(virtualChassisMember).VirtualChassisMemberId(virtualChassisMemberId).Vlan(vlan).VlanId(vlanId).Vrf(vrf).VrfN(vrfN).VrfId(vrfId).VrfIdN(vrfIdN).WirelessLanId(wirelessLanId).WirelessLanIdN(wirelessLanIdN).WirelessLinkId(wirelessLinkId).WirelessLinkIdN(wirelessLinkIdN).Wwn(wwn).WwnIc(wwnIc).WwnIe(wwnIe).WwnIew(wwnIew).WwnIsw(wwnIsw).WwnN(wwnN).WwnNic(wwnNic).WwnNie(wwnNie).WwnNiew(wwnNiew).WwnNisw(wwnNisw).Execute() @@ -12644,7 +12901,6 @@ func main() { bridgeId := []int32{int32(123)} // []int32 | Bridged interface (ID) (optional) bridgeIdN := []int32{int32(123)} // []int32 | Bridged interface (ID) (optional) cableEnd := openapiclient.circuits_circuit_terminations_list_cable_end_parameter("A") // CircuitsCircuitTerminationsListCableEndParameter | * `A` - A * `B` - B (optional) - cableEndN := openapiclient.circuits_circuit_terminations_list_cable_end_parameter("A") // CircuitsCircuitTerminationsListCableEndParameter | * `A` - A * `B` - B (optional) cableId := []*int32{int32(123)} // []*int32 | Cable (ID) (optional) cableIdN := []*int32{int32(123)} // []*int32 | Cable (ID) (optional) cabled := true // bool | (optional) @@ -12672,12 +12928,36 @@ func main() { deviceN := []*string{"Inner_example"} // []*string | Device (name) (optional) deviceId := []int32{int32(123)} // []int32 | Device (ID) (optional) deviceIdN := []int32{int32(123)} // []int32 | Device (ID) (optional) + deviceRole := []string{"Inner_example"} // []string | Device role (slug) (optional) + deviceRoleN := []string{"Inner_example"} // []string | Device role (slug) (optional) + deviceRoleId := []int32{int32(123)} // []int32 | Device role (ID) (optional) + deviceRoleIdN := []int32{int32(123)} // []int32 | Device role (ID) (optional) + deviceStatus := []string{"Inner_example"} // []string | (optional) + deviceStatusEmpty := true // bool | (optional) + deviceStatusIc := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusIe := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusIew := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusIsw := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusN := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusNic := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusNie := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusNiew := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusNisw := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) deviceType := []string{"Inner_example"} // []string | Device type (model) (optional) deviceTypeN := []string{"Inner_example"} // []string | Device type (model) (optional) deviceTypeId := []int32{int32(123)} // []int32 | Device type (ID) (optional) deviceTypeIdN := []int32{int32(123)} // []int32 | Device type (ID) (optional) duplex := []*string{"Inner_example"} // []*string | (optional) - duplexN := []*string{"Inner_example"} // []*string | (optional) + duplexEmpty := true // bool | (optional) + duplexIc := []openapiclient.DcimInterfacesListDuplexIcParameterInner{openapiclient.dcim_interfaces_list_duplex__ic_parameter_inner("")} // []DcimInterfacesListDuplexIcParameterInner | * `half` - Half * `full` - Full * `auto` - Auto (optional) + duplexIe := []openapiclient.DcimInterfacesListDuplexIcParameterInner{openapiclient.dcim_interfaces_list_duplex__ic_parameter_inner("")} // []DcimInterfacesListDuplexIcParameterInner | * `half` - Half * `full` - Full * `auto` - Auto (optional) + duplexIew := []openapiclient.DcimInterfacesListDuplexIcParameterInner{openapiclient.dcim_interfaces_list_duplex__ic_parameter_inner("")} // []DcimInterfacesListDuplexIcParameterInner | * `half` - Half * `full` - Full * `auto` - Auto (optional) + duplexIsw := []openapiclient.DcimInterfacesListDuplexIcParameterInner{openapiclient.dcim_interfaces_list_duplex__ic_parameter_inner("")} // []DcimInterfacesListDuplexIcParameterInner | * `half` - Half * `full` - Full * `auto` - Auto (optional) + duplexN := []openapiclient.DcimInterfacesListDuplexIcParameterInner{openapiclient.dcim_interfaces_list_duplex__ic_parameter_inner("")} // []DcimInterfacesListDuplexIcParameterInner | * `half` - Half * `full` - Full * `auto` - Auto (optional) + duplexNic := []openapiclient.DcimInterfacesListDuplexIcParameterInner{openapiclient.dcim_interfaces_list_duplex__ic_parameter_inner("")} // []DcimInterfacesListDuplexIcParameterInner | * `half` - Half * `full` - Full * `auto` - Auto (optional) + duplexNie := []openapiclient.DcimInterfacesListDuplexIcParameterInner{openapiclient.dcim_interfaces_list_duplex__ic_parameter_inner("")} // []DcimInterfacesListDuplexIcParameterInner | * `half` - Half * `full` - Full * `auto` - Auto (optional) + duplexNiew := []openapiclient.DcimInterfacesListDuplexIcParameterInner{openapiclient.dcim_interfaces_list_duplex__ic_parameter_inner("")} // []DcimInterfacesListDuplexIcParameterInner | * `half` - Half * `full` - Full * `auto` - Auto (optional) + duplexNisw := []openapiclient.DcimInterfacesListDuplexIcParameterInner{openapiclient.dcim_interfaces_list_duplex__ic_parameter_inner("")} // []DcimInterfacesListDuplexIcParameterInner | * `half` - Half * `full` - Full * `auto` - Auto (optional) enabled := true // bool | (optional) id := []int32{int32(123)} // []int32 | (optional) idEmpty := true // bool | (optional) @@ -12729,7 +13009,6 @@ func main() { markConnected := true // bool | (optional) mgmtOnly := true // bool | (optional) mode := openapiclient.dcim_interfaces_list_mode_parameter("access") // DcimInterfacesListModeParameter | IEEE 802.1Q tagging strategy * `access` - Access * `tagged` - Tagged * `tagged-all` - Tagged (All) (optional) - modeN := openapiclient.dcim_interfaces_list_mode_parameter("access") // DcimInterfacesListModeParameter | IEEE 802.1Q tagging strategy * `access` - Access * `tagged` - Tagged * `tagged-all` - Tagged (All) (optional) modifiedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) moduleId := []*int32{int32(123)} // []*int32 | Module (ID) (optional) moduleIdN := []*int32{int32(123)} // []*int32 | Module (ID) (optional) @@ -12757,20 +13036,47 @@ func main() { parentId := []int32{int32(123)} // []int32 | Parent interface (ID) (optional) parentIdN := []int32{int32(123)} // []int32 | Parent interface (ID) (optional) poeMode := []string{"Inner_example"} // []string | (optional) - poeModeN := []string{"Inner_example"} // []string | (optional) + poeModeEmpty := true // bool | (optional) + poeModeIc := []openapiclient.DcimInterfaceTemplatesListPoeModeIcParameterInner{openapiclient.dcim_interface_templates_list_poe_mode__ic_parameter_inner("")} // []DcimInterfaceTemplatesListPoeModeIcParameterInner | * `pd` - PD * `pse` - PSE (optional) + poeModeIe := []openapiclient.DcimInterfaceTemplatesListPoeModeIcParameterInner{openapiclient.dcim_interface_templates_list_poe_mode__ic_parameter_inner("")} // []DcimInterfaceTemplatesListPoeModeIcParameterInner | * `pd` - PD * `pse` - PSE (optional) + poeModeIew := []openapiclient.DcimInterfaceTemplatesListPoeModeIcParameterInner{openapiclient.dcim_interface_templates_list_poe_mode__ic_parameter_inner("")} // []DcimInterfaceTemplatesListPoeModeIcParameterInner | * `pd` - PD * `pse` - PSE (optional) + poeModeIsw := []openapiclient.DcimInterfaceTemplatesListPoeModeIcParameterInner{openapiclient.dcim_interface_templates_list_poe_mode__ic_parameter_inner("")} // []DcimInterfaceTemplatesListPoeModeIcParameterInner | * `pd` - PD * `pse` - PSE (optional) + poeModeN := []openapiclient.DcimInterfaceTemplatesListPoeModeIcParameterInner{openapiclient.dcim_interface_templates_list_poe_mode__ic_parameter_inner("")} // []DcimInterfaceTemplatesListPoeModeIcParameterInner | * `pd` - PD * `pse` - PSE (optional) + poeModeNic := []openapiclient.DcimInterfaceTemplatesListPoeModeIcParameterInner{openapiclient.dcim_interface_templates_list_poe_mode__ic_parameter_inner("")} // []DcimInterfaceTemplatesListPoeModeIcParameterInner | * `pd` - PD * `pse` - PSE (optional) + poeModeNie := []openapiclient.DcimInterfaceTemplatesListPoeModeIcParameterInner{openapiclient.dcim_interface_templates_list_poe_mode__ic_parameter_inner("")} // []DcimInterfaceTemplatesListPoeModeIcParameterInner | * `pd` - PD * `pse` - PSE (optional) + poeModeNiew := []openapiclient.DcimInterfaceTemplatesListPoeModeIcParameterInner{openapiclient.dcim_interface_templates_list_poe_mode__ic_parameter_inner("")} // []DcimInterfaceTemplatesListPoeModeIcParameterInner | * `pd` - PD * `pse` - PSE (optional) + poeModeNisw := []openapiclient.DcimInterfaceTemplatesListPoeModeIcParameterInner{openapiclient.dcim_interface_templates_list_poe_mode__ic_parameter_inner("")} // []DcimInterfaceTemplatesListPoeModeIcParameterInner | * `pd` - PD * `pse` - PSE (optional) poeType := []string{"Inner_example"} // []string | (optional) - poeTypeN := []string{"Inner_example"} // []string | (optional) + poeTypeEmpty := true // bool | (optional) + poeTypeIc := []openapiclient.DcimInterfaceTemplatesListPoeTypeIcParameterInner{openapiclient.dcim_interface_templates_list_poe_type__ic_parameter_inner("")} // []DcimInterfaceTemplatesListPoeTypeIcParameterInner | * `type1-ieee802.3af` - 802.3af (Type 1) * `type2-ieee802.3at` - 802.3at (Type 2) * `type3-ieee802.3bt` - 802.3bt (Type 3) * `type4-ieee802.3bt` - 802.3bt (Type 4) * `passive-24v-2pair` - Passive 24V (2-pair) * `passive-24v-4pair` - Passive 24V (4-pair) * `passive-48v-2pair` - Passive 48V (2-pair) * `passive-48v-4pair` - Passive 48V (4-pair) (optional) + poeTypeIe := []openapiclient.DcimInterfaceTemplatesListPoeTypeIcParameterInner{openapiclient.dcim_interface_templates_list_poe_type__ic_parameter_inner("")} // []DcimInterfaceTemplatesListPoeTypeIcParameterInner | * `type1-ieee802.3af` - 802.3af (Type 1) * `type2-ieee802.3at` - 802.3at (Type 2) * `type3-ieee802.3bt` - 802.3bt (Type 3) * `type4-ieee802.3bt` - 802.3bt (Type 4) * `passive-24v-2pair` - Passive 24V (2-pair) * `passive-24v-4pair` - Passive 24V (4-pair) * `passive-48v-2pair` - Passive 48V (2-pair) * `passive-48v-4pair` - Passive 48V (4-pair) (optional) + poeTypeIew := []openapiclient.DcimInterfaceTemplatesListPoeTypeIcParameterInner{openapiclient.dcim_interface_templates_list_poe_type__ic_parameter_inner("")} // []DcimInterfaceTemplatesListPoeTypeIcParameterInner | * `type1-ieee802.3af` - 802.3af (Type 1) * `type2-ieee802.3at` - 802.3at (Type 2) * `type3-ieee802.3bt` - 802.3bt (Type 3) * `type4-ieee802.3bt` - 802.3bt (Type 4) * `passive-24v-2pair` - Passive 24V (2-pair) * `passive-24v-4pair` - Passive 24V (4-pair) * `passive-48v-2pair` - Passive 48V (2-pair) * `passive-48v-4pair` - Passive 48V (4-pair) (optional) + poeTypeIsw := []openapiclient.DcimInterfaceTemplatesListPoeTypeIcParameterInner{openapiclient.dcim_interface_templates_list_poe_type__ic_parameter_inner("")} // []DcimInterfaceTemplatesListPoeTypeIcParameterInner | * `type1-ieee802.3af` - 802.3af (Type 1) * `type2-ieee802.3at` - 802.3at (Type 2) * `type3-ieee802.3bt` - 802.3bt (Type 3) * `type4-ieee802.3bt` - 802.3bt (Type 4) * `passive-24v-2pair` - Passive 24V (2-pair) * `passive-24v-4pair` - Passive 24V (4-pair) * `passive-48v-2pair` - Passive 48V (2-pair) * `passive-48v-4pair` - Passive 48V (4-pair) (optional) + poeTypeN := []openapiclient.DcimInterfaceTemplatesListPoeTypeIcParameterInner{openapiclient.dcim_interface_templates_list_poe_type__ic_parameter_inner("")} // []DcimInterfaceTemplatesListPoeTypeIcParameterInner | * `type1-ieee802.3af` - 802.3af (Type 1) * `type2-ieee802.3at` - 802.3at (Type 2) * `type3-ieee802.3bt` - 802.3bt (Type 3) * `type4-ieee802.3bt` - 802.3bt (Type 4) * `passive-24v-2pair` - Passive 24V (2-pair) * `passive-24v-4pair` - Passive 24V (4-pair) * `passive-48v-2pair` - Passive 48V (2-pair) * `passive-48v-4pair` - Passive 48V (4-pair) (optional) + poeTypeNic := []openapiclient.DcimInterfaceTemplatesListPoeTypeIcParameterInner{openapiclient.dcim_interface_templates_list_poe_type__ic_parameter_inner("")} // []DcimInterfaceTemplatesListPoeTypeIcParameterInner | * `type1-ieee802.3af` - 802.3af (Type 1) * `type2-ieee802.3at` - 802.3at (Type 2) * `type3-ieee802.3bt` - 802.3bt (Type 3) * `type4-ieee802.3bt` - 802.3bt (Type 4) * `passive-24v-2pair` - Passive 24V (2-pair) * `passive-24v-4pair` - Passive 24V (4-pair) * `passive-48v-2pair` - Passive 48V (2-pair) * `passive-48v-4pair` - Passive 48V (4-pair) (optional) + poeTypeNie := []openapiclient.DcimInterfaceTemplatesListPoeTypeIcParameterInner{openapiclient.dcim_interface_templates_list_poe_type__ic_parameter_inner("")} // []DcimInterfaceTemplatesListPoeTypeIcParameterInner | * `type1-ieee802.3af` - 802.3af (Type 1) * `type2-ieee802.3at` - 802.3at (Type 2) * `type3-ieee802.3bt` - 802.3bt (Type 3) * `type4-ieee802.3bt` - 802.3bt (Type 4) * `passive-24v-2pair` - Passive 24V (2-pair) * `passive-24v-4pair` - Passive 24V (4-pair) * `passive-48v-2pair` - Passive 48V (2-pair) * `passive-48v-4pair` - Passive 48V (4-pair) (optional) + poeTypeNiew := []openapiclient.DcimInterfaceTemplatesListPoeTypeIcParameterInner{openapiclient.dcim_interface_templates_list_poe_type__ic_parameter_inner("")} // []DcimInterfaceTemplatesListPoeTypeIcParameterInner | * `type1-ieee802.3af` - 802.3af (Type 1) * `type2-ieee802.3at` - 802.3at (Type 2) * `type3-ieee802.3bt` - 802.3bt (Type 3) * `type4-ieee802.3bt` - 802.3bt (Type 4) * `passive-24v-2pair` - Passive 24V (2-pair) * `passive-24v-4pair` - Passive 24V (4-pair) * `passive-48v-2pair` - Passive 48V (2-pair) * `passive-48v-4pair` - Passive 48V (4-pair) (optional) + poeTypeNisw := []openapiclient.DcimInterfaceTemplatesListPoeTypeIcParameterInner{openapiclient.dcim_interface_templates_list_poe_type__ic_parameter_inner("")} // []DcimInterfaceTemplatesListPoeTypeIcParameterInner | * `type1-ieee802.3af` - 802.3af (Type 1) * `type2-ieee802.3at` - 802.3at (Type 2) * `type3-ieee802.3bt` - 802.3bt (Type 3) * `type4-ieee802.3bt` - 802.3bt (Type 4) * `passive-24v-2pair` - Passive 24V (2-pair) * `passive-24v-4pair` - Passive 24V (4-pair) * `passive-48v-2pair` - Passive 48V (2-pair) * `passive-48v-4pair` - Passive 48V (4-pair) (optional) q := "q_example" // string | Search (optional) rack := []string{"Inner_example"} // []string | Rack (name) (optional) rackN := []string{"Inner_example"} // []string | Rack (name) (optional) rackId := []int32{int32(123)} // []int32 | Rack (ID) (optional) rackIdN := []int32{int32(123)} // []int32 | Rack (ID) (optional) - region := []int32{int32(123)} // []int32 | Region (slug) (optional) - regionN := []int32{int32(123)} // []int32 | Region (slug) (optional) - regionId := []int32{int32(123)} // []int32 | Region (ID) (optional) - regionIdN := []int32{int32(123)} // []int32 | Region (ID) (optional) + region := []string{"Inner_example"} // []string | (optional) + regionN := []string{"Inner_example"} // []string | (optional) + regionId := []string{"Inner_example"} // []string | (optional) + regionIdN := []string{"Inner_example"} // []string | (optional) rfChannel := []string{"Inner_example"} // []string | (optional) - rfChannelN := []string{"Inner_example"} // []string | (optional) + rfChannelEmpty := true // bool | (optional) + rfChannelIc := []openapiclient.WirelessChannel{openapiclient.Wireless_channel("")} // []WirelessChannel | * `2.4g-1-2412-22` - 1 (2412 MHz) * `2.4g-2-2417-22` - 2 (2417 MHz) * `2.4g-3-2422-22` - 3 (2422 MHz) * `2.4g-4-2427-22` - 4 (2427 MHz) * `2.4g-5-2432-22` - 5 (2432 MHz) * `2.4g-6-2437-22` - 6 (2437 MHz) * `2.4g-7-2442-22` - 7 (2442 MHz) * `2.4g-8-2447-22` - 8 (2447 MHz) * `2.4g-9-2452-22` - 9 (2452 MHz) * `2.4g-10-2457-22` - 10 (2457 MHz) * `2.4g-11-2462-22` - 11 (2462 MHz) * `2.4g-12-2467-22` - 12 (2467 MHz) * `2.4g-13-2472-22` - 13 (2472 MHz) * `5g-32-5160-20` - 32 (5160/20 MHz) * `5g-34-5170-40` - 34 (5170/40 MHz) * `5g-36-5180-20` - 36 (5180/20 MHz) * `5g-38-5190-40` - 38 (5190/40 MHz) * `5g-40-5200-20` - 40 (5200/20 MHz) * `5g-42-5210-80` - 42 (5210/80 MHz) * `5g-44-5220-20` - 44 (5220/20 MHz) * `5g-46-5230-40` - 46 (5230/40 MHz) * `5g-48-5240-20` - 48 (5240/20 MHz) * `5g-50-5250-160` - 50 (5250/160 MHz) * `5g-52-5260-20` - 52 (5260/20 MHz) * `5g-54-5270-40` - 54 (5270/40 MHz) * `5g-56-5280-20` - 56 (5280/20 MHz) * `5g-58-5290-80` - 58 (5290/80 MHz) * `5g-60-5300-20` - 60 (5300/20 MHz) * `5g-62-5310-40` - 62 (5310/40 MHz) * `5g-64-5320-20` - 64 (5320/20 MHz) * `5g-100-5500-20` - 100 (5500/20 MHz) * `5g-102-5510-40` - 102 (5510/40 MHz) * `5g-104-5520-20` - 104 (5520/20 MHz) * `5g-106-5530-80` - 106 (5530/80 MHz) * `5g-108-5540-20` - 108 (5540/20 MHz) * `5g-110-5550-40` - 110 (5550/40 MHz) * `5g-112-5560-20` - 112 (5560/20 MHz) * `5g-114-5570-160` - 114 (5570/160 MHz) * `5g-116-5580-20` - 116 (5580/20 MHz) * `5g-118-5590-40` - 118 (5590/40 MHz) * `5g-120-5600-20` - 120 (5600/20 MHz) * `5g-122-5610-80` - 122 (5610/80 MHz) * `5g-124-5620-20` - 124 (5620/20 MHz) * `5g-126-5630-40` - 126 (5630/40 MHz) * `5g-128-5640-20` - 128 (5640/20 MHz) * `5g-132-5660-20` - 132 (5660/20 MHz) * `5g-134-5670-40` - 134 (5670/40 MHz) * `5g-136-5680-20` - 136 (5680/20 MHz) * `5g-138-5690-80` - 138 (5690/80 MHz) * `5g-140-5700-20` - 140 (5700/20 MHz) * `5g-142-5710-40` - 142 (5710/40 MHz) * `5g-144-5720-20` - 144 (5720/20 MHz) * `5g-149-5745-20` - 149 (5745/20 MHz) * `5g-151-5755-40` - 151 (5755/40 MHz) * `5g-153-5765-20` - 153 (5765/20 MHz) * `5g-155-5775-80` - 155 (5775/80 MHz) * `5g-157-5785-20` - 157 (5785/20 MHz) * `5g-159-5795-40` - 159 (5795/40 MHz) * `5g-161-5805-20` - 161 (5805/20 MHz) * `5g-163-5815-160` - 163 (5815/160 MHz) * `5g-165-5825-20` - 165 (5825/20 MHz) * `5g-167-5835-40` - 167 (5835/40 MHz) * `5g-169-5845-20` - 169 (5845/20 MHz) * `5g-171-5855-80` - 171 (5855/80 MHz) * `5g-173-5865-20` - 173 (5865/20 MHz) * `5g-175-5875-40` - 175 (5875/40 MHz) * `5g-177-5885-20` - 177 (5885/20 MHz) * `6g-1-5955-20` - 1 (5955/20 MHz) * `6g-3-5965-40` - 3 (5965/40 MHz) * `6g-5-5975-20` - 5 (5975/20 MHz) * `6g-7-5985-80` - 7 (5985/80 MHz) * `6g-9-5995-20` - 9 (5995/20 MHz) * `6g-11-6005-40` - 11 (6005/40 MHz) * `6g-13-6015-20` - 13 (6015/20 MHz) * `6g-15-6025-160` - 15 (6025/160 MHz) * `6g-17-6035-20` - 17 (6035/20 MHz) * `6g-19-6045-40` - 19 (6045/40 MHz) * `6g-21-6055-20` - 21 (6055/20 MHz) * `6g-23-6065-80` - 23 (6065/80 MHz) * `6g-25-6075-20` - 25 (6075/20 MHz) * `6g-27-6085-40` - 27 (6085/40 MHz) * `6g-29-6095-20` - 29 (6095/20 MHz) * `6g-31-6105-320` - 31 (6105/320 MHz) * `6g-33-6115-20` - 33 (6115/20 MHz) * `6g-35-6125-40` - 35 (6125/40 MHz) * `6g-37-6135-20` - 37 (6135/20 MHz) * `6g-39-6145-80` - 39 (6145/80 MHz) * `6g-41-6155-20` - 41 (6155/20 MHz) * `6g-43-6165-40` - 43 (6165/40 MHz) * `6g-45-6175-20` - 45 (6175/20 MHz) * `6g-47-6185-160` - 47 (6185/160 MHz) * `6g-49-6195-20` - 49 (6195/20 MHz) * `6g-51-6205-40` - 51 (6205/40 MHz) * `6g-53-6215-20` - 53 (6215/20 MHz) * `6g-55-6225-80` - 55 (6225/80 MHz) * `6g-57-6235-20` - 57 (6235/20 MHz) * `6g-59-6245-40` - 59 (6245/40 MHz) * `6g-61-6255-20` - 61 (6255/20 MHz) * `6g-65-6275-20` - 65 (6275/20 MHz) * `6g-67-6285-40` - 67 (6285/40 MHz) * `6g-69-6295-20` - 69 (6295/20 MHz) * `6g-71-6305-80` - 71 (6305/80 MHz) * `6g-73-6315-20` - 73 (6315/20 MHz) * `6g-75-6325-40` - 75 (6325/40 MHz) * `6g-77-6335-20` - 77 (6335/20 MHz) * `6g-79-6345-160` - 79 (6345/160 MHz) * `6g-81-6355-20` - 81 (6355/20 MHz) * `6g-83-6365-40` - 83 (6365/40 MHz) * `6g-85-6375-20` - 85 (6375/20 MHz) * `6g-87-6385-80` - 87 (6385/80 MHz) * `6g-89-6395-20` - 89 (6395/20 MHz) * `6g-91-6405-40` - 91 (6405/40 MHz) * `6g-93-6415-20` - 93 (6415/20 MHz) * `6g-95-6425-320` - 95 (6425/320 MHz) * `6g-97-6435-20` - 97 (6435/20 MHz) * `6g-99-6445-40` - 99 (6445/40 MHz) * `6g-101-6455-20` - 101 (6455/20 MHz) * `6g-103-6465-80` - 103 (6465/80 MHz) * `6g-105-6475-20` - 105 (6475/20 MHz) * `6g-107-6485-40` - 107 (6485/40 MHz) * `6g-109-6495-20` - 109 (6495/20 MHz) * `6g-111-6505-160` - 111 (6505/160 MHz) * `6g-113-6515-20` - 113 (6515/20 MHz) * `6g-115-6525-40` - 115 (6525/40 MHz) * `6g-117-6535-20` - 117 (6535/20 MHz) * `6g-119-6545-80` - 119 (6545/80 MHz) * `6g-121-6555-20` - 121 (6555/20 MHz) * `6g-123-6565-40` - 123 (6565/40 MHz) * `6g-125-6575-20` - 125 (6575/20 MHz) * `6g-129-6595-20` - 129 (6595/20 MHz) * `6g-131-6605-40` - 131 (6605/40 MHz) * `6g-133-6615-20` - 133 (6615/20 MHz) * `6g-135-6625-80` - 135 (6625/80 MHz) * `6g-137-6635-20` - 137 (6635/20 MHz) * `6g-139-6645-40` - 139 (6645/40 MHz) * `6g-141-6655-20` - 141 (6655/20 MHz) * `6g-143-6665-160` - 143 (6665/160 MHz) * `6g-145-6675-20` - 145 (6675/20 MHz) * `6g-147-6685-40` - 147 (6685/40 MHz) * `6g-149-6695-20` - 149 (6695/20 MHz) * `6g-151-6705-80` - 151 (6705/80 MHz) * `6g-153-6715-20` - 153 (6715/20 MHz) * `6g-155-6725-40` - 155 (6725/40 MHz) * `6g-157-6735-20` - 157 (6735/20 MHz) * `6g-159-6745-320` - 159 (6745/320 MHz) * `6g-161-6755-20` - 161 (6755/20 MHz) * `6g-163-6765-40` - 163 (6765/40 MHz) * `6g-165-6775-20` - 165 (6775/20 MHz) * `6g-167-6785-80` - 167 (6785/80 MHz) * `6g-169-6795-20` - 169 (6795/20 MHz) * `6g-171-6805-40` - 171 (6805/40 MHz) * `6g-173-6815-20` - 173 (6815/20 MHz) * `6g-175-6825-160` - 175 (6825/160 MHz) * `6g-177-6835-20` - 177 (6835/20 MHz) * `6g-179-6845-40` - 179 (6845/40 MHz) * `6g-181-6855-20` - 181 (6855/20 MHz) * `6g-183-6865-80` - 183 (6865/80 MHz) * `6g-185-6875-20` - 185 (6875/20 MHz) * `6g-187-6885-40` - 187 (6885/40 MHz) * `6g-189-6895-20` - 189 (6895/20 MHz) * `6g-193-6915-20` - 193 (6915/20 MHz) * `6g-195-6925-40` - 195 (6925/40 MHz) * `6g-197-6935-20` - 197 (6935/20 MHz) * `6g-199-6945-80` - 199 (6945/80 MHz) * `6g-201-6955-20` - 201 (6955/20 MHz) * `6g-203-6965-40` - 203 (6965/40 MHz) * `6g-205-6975-20` - 205 (6975/20 MHz) * `6g-207-6985-160` - 207 (6985/160 MHz) * `6g-209-6995-20` - 209 (6995/20 MHz) * `6g-211-7005-40` - 211 (7005/40 MHz) * `6g-213-7015-20` - 213 (7015/20 MHz) * `6g-215-7025-80` - 215 (7025/80 MHz) * `6g-217-7035-20` - 217 (7035/20 MHz) * `6g-219-7045-40` - 219 (7045/40 MHz) * `6g-221-7055-20` - 221 (7055/20 MHz) * `6g-225-7075-20` - 225 (7075/20 MHz) * `6g-227-7085-40` - 227 (7085/40 MHz) * `6g-229-7095-20` - 229 (7095/20 MHz) * `6g-233-7115-20` - 233 (7115/20 MHz) * `60g-1-58320-2160` - 1 (58.32/2.16 GHz) * `60g-2-60480-2160` - 2 (60.48/2.16 GHz) * `60g-3-62640-2160` - 3 (62.64/2.16 GHz) * `60g-4-64800-2160` - 4 (64.80/2.16 GHz) * `60g-5-66960-2160` - 5 (66.96/2.16 GHz) * `60g-6-69120-2160` - 6 (69.12/2.16 GHz) * `60g-9-59400-4320` - 9 (59.40/4.32 GHz) * `60g-10-61560-4320` - 10 (61.56/4.32 GHz) * `60g-11-63720-4320` - 11 (63.72/4.32 GHz) * `60g-12-65880-4320` - 12 (65.88/4.32 GHz) * `60g-13-68040-4320` - 13 (68.04/4.32 GHz) * `60g-17-60480-6480` - 17 (60.48/6.48 GHz) * `60g-18-62640-6480` - 18 (62.64/6.48 GHz) * `60g-19-64800-6480` - 19 (64.80/6.48 GHz) * `60g-20-66960-6480` - 20 (66.96/6.48 GHz) * `60g-25-61560-6480` - 25 (61.56/8.64 GHz) * `60g-26-63720-6480` - 26 (63.72/8.64 GHz) * `60g-27-65880-6480` - 27 (65.88/8.64 GHz) (optional) + rfChannelIe := []openapiclient.WirelessChannel{openapiclient.Wireless_channel("")} // []WirelessChannel | * `2.4g-1-2412-22` - 1 (2412 MHz) * `2.4g-2-2417-22` - 2 (2417 MHz) * `2.4g-3-2422-22` - 3 (2422 MHz) * `2.4g-4-2427-22` - 4 (2427 MHz) * `2.4g-5-2432-22` - 5 (2432 MHz) * `2.4g-6-2437-22` - 6 (2437 MHz) * `2.4g-7-2442-22` - 7 (2442 MHz) * `2.4g-8-2447-22` - 8 (2447 MHz) * `2.4g-9-2452-22` - 9 (2452 MHz) * `2.4g-10-2457-22` - 10 (2457 MHz) * `2.4g-11-2462-22` - 11 (2462 MHz) * `2.4g-12-2467-22` - 12 (2467 MHz) * `2.4g-13-2472-22` - 13 (2472 MHz) * `5g-32-5160-20` - 32 (5160/20 MHz) * `5g-34-5170-40` - 34 (5170/40 MHz) * `5g-36-5180-20` - 36 (5180/20 MHz) * `5g-38-5190-40` - 38 (5190/40 MHz) * `5g-40-5200-20` - 40 (5200/20 MHz) * `5g-42-5210-80` - 42 (5210/80 MHz) * `5g-44-5220-20` - 44 (5220/20 MHz) * `5g-46-5230-40` - 46 (5230/40 MHz) * `5g-48-5240-20` - 48 (5240/20 MHz) * `5g-50-5250-160` - 50 (5250/160 MHz) * `5g-52-5260-20` - 52 (5260/20 MHz) * `5g-54-5270-40` - 54 (5270/40 MHz) * `5g-56-5280-20` - 56 (5280/20 MHz) * `5g-58-5290-80` - 58 (5290/80 MHz) * `5g-60-5300-20` - 60 (5300/20 MHz) * `5g-62-5310-40` - 62 (5310/40 MHz) * `5g-64-5320-20` - 64 (5320/20 MHz) * `5g-100-5500-20` - 100 (5500/20 MHz) * `5g-102-5510-40` - 102 (5510/40 MHz) * `5g-104-5520-20` - 104 (5520/20 MHz) * `5g-106-5530-80` - 106 (5530/80 MHz) * `5g-108-5540-20` - 108 (5540/20 MHz) * `5g-110-5550-40` - 110 (5550/40 MHz) * `5g-112-5560-20` - 112 (5560/20 MHz) * `5g-114-5570-160` - 114 (5570/160 MHz) * `5g-116-5580-20` - 116 (5580/20 MHz) * `5g-118-5590-40` - 118 (5590/40 MHz) * `5g-120-5600-20` - 120 (5600/20 MHz) * `5g-122-5610-80` - 122 (5610/80 MHz) * `5g-124-5620-20` - 124 (5620/20 MHz) * `5g-126-5630-40` - 126 (5630/40 MHz) * `5g-128-5640-20` - 128 (5640/20 MHz) * `5g-132-5660-20` - 132 (5660/20 MHz) * `5g-134-5670-40` - 134 (5670/40 MHz) * `5g-136-5680-20` - 136 (5680/20 MHz) * `5g-138-5690-80` - 138 (5690/80 MHz) * `5g-140-5700-20` - 140 (5700/20 MHz) * `5g-142-5710-40` - 142 (5710/40 MHz) * `5g-144-5720-20` - 144 (5720/20 MHz) * `5g-149-5745-20` - 149 (5745/20 MHz) * `5g-151-5755-40` - 151 (5755/40 MHz) * `5g-153-5765-20` - 153 (5765/20 MHz) * `5g-155-5775-80` - 155 (5775/80 MHz) * `5g-157-5785-20` - 157 (5785/20 MHz) * `5g-159-5795-40` - 159 (5795/40 MHz) * `5g-161-5805-20` - 161 (5805/20 MHz) * `5g-163-5815-160` - 163 (5815/160 MHz) * `5g-165-5825-20` - 165 (5825/20 MHz) * `5g-167-5835-40` - 167 (5835/40 MHz) * `5g-169-5845-20` - 169 (5845/20 MHz) * `5g-171-5855-80` - 171 (5855/80 MHz) * `5g-173-5865-20` - 173 (5865/20 MHz) * `5g-175-5875-40` - 175 (5875/40 MHz) * `5g-177-5885-20` - 177 (5885/20 MHz) * `6g-1-5955-20` - 1 (5955/20 MHz) * `6g-3-5965-40` - 3 (5965/40 MHz) * `6g-5-5975-20` - 5 (5975/20 MHz) * `6g-7-5985-80` - 7 (5985/80 MHz) * `6g-9-5995-20` - 9 (5995/20 MHz) * `6g-11-6005-40` - 11 (6005/40 MHz) * `6g-13-6015-20` - 13 (6015/20 MHz) * `6g-15-6025-160` - 15 (6025/160 MHz) * `6g-17-6035-20` - 17 (6035/20 MHz) * `6g-19-6045-40` - 19 (6045/40 MHz) * `6g-21-6055-20` - 21 (6055/20 MHz) * `6g-23-6065-80` - 23 (6065/80 MHz) * `6g-25-6075-20` - 25 (6075/20 MHz) * `6g-27-6085-40` - 27 (6085/40 MHz) * `6g-29-6095-20` - 29 (6095/20 MHz) * `6g-31-6105-320` - 31 (6105/320 MHz) * `6g-33-6115-20` - 33 (6115/20 MHz) * `6g-35-6125-40` - 35 (6125/40 MHz) * `6g-37-6135-20` - 37 (6135/20 MHz) * `6g-39-6145-80` - 39 (6145/80 MHz) * `6g-41-6155-20` - 41 (6155/20 MHz) * `6g-43-6165-40` - 43 (6165/40 MHz) * `6g-45-6175-20` - 45 (6175/20 MHz) * `6g-47-6185-160` - 47 (6185/160 MHz) * `6g-49-6195-20` - 49 (6195/20 MHz) * `6g-51-6205-40` - 51 (6205/40 MHz) * `6g-53-6215-20` - 53 (6215/20 MHz) * `6g-55-6225-80` - 55 (6225/80 MHz) * `6g-57-6235-20` - 57 (6235/20 MHz) * `6g-59-6245-40` - 59 (6245/40 MHz) * `6g-61-6255-20` - 61 (6255/20 MHz) * `6g-65-6275-20` - 65 (6275/20 MHz) * `6g-67-6285-40` - 67 (6285/40 MHz) * `6g-69-6295-20` - 69 (6295/20 MHz) * `6g-71-6305-80` - 71 (6305/80 MHz) * `6g-73-6315-20` - 73 (6315/20 MHz) * `6g-75-6325-40` - 75 (6325/40 MHz) * `6g-77-6335-20` - 77 (6335/20 MHz) * `6g-79-6345-160` - 79 (6345/160 MHz) * `6g-81-6355-20` - 81 (6355/20 MHz) * `6g-83-6365-40` - 83 (6365/40 MHz) * `6g-85-6375-20` - 85 (6375/20 MHz) * `6g-87-6385-80` - 87 (6385/80 MHz) * `6g-89-6395-20` - 89 (6395/20 MHz) * `6g-91-6405-40` - 91 (6405/40 MHz) * `6g-93-6415-20` - 93 (6415/20 MHz) * `6g-95-6425-320` - 95 (6425/320 MHz) * `6g-97-6435-20` - 97 (6435/20 MHz) * `6g-99-6445-40` - 99 (6445/40 MHz) * `6g-101-6455-20` - 101 (6455/20 MHz) * `6g-103-6465-80` - 103 (6465/80 MHz) * `6g-105-6475-20` - 105 (6475/20 MHz) * `6g-107-6485-40` - 107 (6485/40 MHz) * `6g-109-6495-20` - 109 (6495/20 MHz) * `6g-111-6505-160` - 111 (6505/160 MHz) * `6g-113-6515-20` - 113 (6515/20 MHz) * `6g-115-6525-40` - 115 (6525/40 MHz) * `6g-117-6535-20` - 117 (6535/20 MHz) * `6g-119-6545-80` - 119 (6545/80 MHz) * `6g-121-6555-20` - 121 (6555/20 MHz) * `6g-123-6565-40` - 123 (6565/40 MHz) * `6g-125-6575-20` - 125 (6575/20 MHz) * `6g-129-6595-20` - 129 (6595/20 MHz) * `6g-131-6605-40` - 131 (6605/40 MHz) * `6g-133-6615-20` - 133 (6615/20 MHz) * `6g-135-6625-80` - 135 (6625/80 MHz) * `6g-137-6635-20` - 137 (6635/20 MHz) * `6g-139-6645-40` - 139 (6645/40 MHz) * `6g-141-6655-20` - 141 (6655/20 MHz) * `6g-143-6665-160` - 143 (6665/160 MHz) * `6g-145-6675-20` - 145 (6675/20 MHz) * `6g-147-6685-40` - 147 (6685/40 MHz) * `6g-149-6695-20` - 149 (6695/20 MHz) * `6g-151-6705-80` - 151 (6705/80 MHz) * `6g-153-6715-20` - 153 (6715/20 MHz) * `6g-155-6725-40` - 155 (6725/40 MHz) * `6g-157-6735-20` - 157 (6735/20 MHz) * `6g-159-6745-320` - 159 (6745/320 MHz) * `6g-161-6755-20` - 161 (6755/20 MHz) * `6g-163-6765-40` - 163 (6765/40 MHz) * `6g-165-6775-20` - 165 (6775/20 MHz) * `6g-167-6785-80` - 167 (6785/80 MHz) * `6g-169-6795-20` - 169 (6795/20 MHz) * `6g-171-6805-40` - 171 (6805/40 MHz) * `6g-173-6815-20` - 173 (6815/20 MHz) * `6g-175-6825-160` - 175 (6825/160 MHz) * `6g-177-6835-20` - 177 (6835/20 MHz) * `6g-179-6845-40` - 179 (6845/40 MHz) * `6g-181-6855-20` - 181 (6855/20 MHz) * `6g-183-6865-80` - 183 (6865/80 MHz) * `6g-185-6875-20` - 185 (6875/20 MHz) * `6g-187-6885-40` - 187 (6885/40 MHz) * `6g-189-6895-20` - 189 (6895/20 MHz) * `6g-193-6915-20` - 193 (6915/20 MHz) * `6g-195-6925-40` - 195 (6925/40 MHz) * `6g-197-6935-20` - 197 (6935/20 MHz) * `6g-199-6945-80` - 199 (6945/80 MHz) * `6g-201-6955-20` - 201 (6955/20 MHz) * `6g-203-6965-40` - 203 (6965/40 MHz) * `6g-205-6975-20` - 205 (6975/20 MHz) * `6g-207-6985-160` - 207 (6985/160 MHz) * `6g-209-6995-20` - 209 (6995/20 MHz) * `6g-211-7005-40` - 211 (7005/40 MHz) * `6g-213-7015-20` - 213 (7015/20 MHz) * `6g-215-7025-80` - 215 (7025/80 MHz) * `6g-217-7035-20` - 217 (7035/20 MHz) * `6g-219-7045-40` - 219 (7045/40 MHz) * `6g-221-7055-20` - 221 (7055/20 MHz) * `6g-225-7075-20` - 225 (7075/20 MHz) * `6g-227-7085-40` - 227 (7085/40 MHz) * `6g-229-7095-20` - 229 (7095/20 MHz) * `6g-233-7115-20` - 233 (7115/20 MHz) * `60g-1-58320-2160` - 1 (58.32/2.16 GHz) * `60g-2-60480-2160` - 2 (60.48/2.16 GHz) * `60g-3-62640-2160` - 3 (62.64/2.16 GHz) * `60g-4-64800-2160` - 4 (64.80/2.16 GHz) * `60g-5-66960-2160` - 5 (66.96/2.16 GHz) * `60g-6-69120-2160` - 6 (69.12/2.16 GHz) * `60g-9-59400-4320` - 9 (59.40/4.32 GHz) * `60g-10-61560-4320` - 10 (61.56/4.32 GHz) * `60g-11-63720-4320` - 11 (63.72/4.32 GHz) * `60g-12-65880-4320` - 12 (65.88/4.32 GHz) * `60g-13-68040-4320` - 13 (68.04/4.32 GHz) * `60g-17-60480-6480` - 17 (60.48/6.48 GHz) * `60g-18-62640-6480` - 18 (62.64/6.48 GHz) * `60g-19-64800-6480` - 19 (64.80/6.48 GHz) * `60g-20-66960-6480` - 20 (66.96/6.48 GHz) * `60g-25-61560-6480` - 25 (61.56/8.64 GHz) * `60g-26-63720-6480` - 26 (63.72/8.64 GHz) * `60g-27-65880-6480` - 27 (65.88/8.64 GHz) (optional) + rfChannelIew := []openapiclient.WirelessChannel{openapiclient.Wireless_channel("")} // []WirelessChannel | * `2.4g-1-2412-22` - 1 (2412 MHz) * `2.4g-2-2417-22` - 2 (2417 MHz) * `2.4g-3-2422-22` - 3 (2422 MHz) * `2.4g-4-2427-22` - 4 (2427 MHz) * `2.4g-5-2432-22` - 5 (2432 MHz) * `2.4g-6-2437-22` - 6 (2437 MHz) * `2.4g-7-2442-22` - 7 (2442 MHz) * `2.4g-8-2447-22` - 8 (2447 MHz) * `2.4g-9-2452-22` - 9 (2452 MHz) * `2.4g-10-2457-22` - 10 (2457 MHz) * `2.4g-11-2462-22` - 11 (2462 MHz) * `2.4g-12-2467-22` - 12 (2467 MHz) * `2.4g-13-2472-22` - 13 (2472 MHz) * `5g-32-5160-20` - 32 (5160/20 MHz) * `5g-34-5170-40` - 34 (5170/40 MHz) * `5g-36-5180-20` - 36 (5180/20 MHz) * `5g-38-5190-40` - 38 (5190/40 MHz) * `5g-40-5200-20` - 40 (5200/20 MHz) * `5g-42-5210-80` - 42 (5210/80 MHz) * `5g-44-5220-20` - 44 (5220/20 MHz) * `5g-46-5230-40` - 46 (5230/40 MHz) * `5g-48-5240-20` - 48 (5240/20 MHz) * `5g-50-5250-160` - 50 (5250/160 MHz) * `5g-52-5260-20` - 52 (5260/20 MHz) * `5g-54-5270-40` - 54 (5270/40 MHz) * `5g-56-5280-20` - 56 (5280/20 MHz) * `5g-58-5290-80` - 58 (5290/80 MHz) * `5g-60-5300-20` - 60 (5300/20 MHz) * `5g-62-5310-40` - 62 (5310/40 MHz) * `5g-64-5320-20` - 64 (5320/20 MHz) * `5g-100-5500-20` - 100 (5500/20 MHz) * `5g-102-5510-40` - 102 (5510/40 MHz) * `5g-104-5520-20` - 104 (5520/20 MHz) * `5g-106-5530-80` - 106 (5530/80 MHz) * `5g-108-5540-20` - 108 (5540/20 MHz) * `5g-110-5550-40` - 110 (5550/40 MHz) * `5g-112-5560-20` - 112 (5560/20 MHz) * `5g-114-5570-160` - 114 (5570/160 MHz) * `5g-116-5580-20` - 116 (5580/20 MHz) * `5g-118-5590-40` - 118 (5590/40 MHz) * `5g-120-5600-20` - 120 (5600/20 MHz) * `5g-122-5610-80` - 122 (5610/80 MHz) * `5g-124-5620-20` - 124 (5620/20 MHz) * `5g-126-5630-40` - 126 (5630/40 MHz) * `5g-128-5640-20` - 128 (5640/20 MHz) * `5g-132-5660-20` - 132 (5660/20 MHz) * `5g-134-5670-40` - 134 (5670/40 MHz) * `5g-136-5680-20` - 136 (5680/20 MHz) * `5g-138-5690-80` - 138 (5690/80 MHz) * `5g-140-5700-20` - 140 (5700/20 MHz) * `5g-142-5710-40` - 142 (5710/40 MHz) * `5g-144-5720-20` - 144 (5720/20 MHz) * `5g-149-5745-20` - 149 (5745/20 MHz) * `5g-151-5755-40` - 151 (5755/40 MHz) * `5g-153-5765-20` - 153 (5765/20 MHz) * `5g-155-5775-80` - 155 (5775/80 MHz) * `5g-157-5785-20` - 157 (5785/20 MHz) * `5g-159-5795-40` - 159 (5795/40 MHz) * `5g-161-5805-20` - 161 (5805/20 MHz) * `5g-163-5815-160` - 163 (5815/160 MHz) * `5g-165-5825-20` - 165 (5825/20 MHz) * `5g-167-5835-40` - 167 (5835/40 MHz) * `5g-169-5845-20` - 169 (5845/20 MHz) * `5g-171-5855-80` - 171 (5855/80 MHz) * `5g-173-5865-20` - 173 (5865/20 MHz) * `5g-175-5875-40` - 175 (5875/40 MHz) * `5g-177-5885-20` - 177 (5885/20 MHz) * `6g-1-5955-20` - 1 (5955/20 MHz) * `6g-3-5965-40` - 3 (5965/40 MHz) * `6g-5-5975-20` - 5 (5975/20 MHz) * `6g-7-5985-80` - 7 (5985/80 MHz) * `6g-9-5995-20` - 9 (5995/20 MHz) * `6g-11-6005-40` - 11 (6005/40 MHz) * `6g-13-6015-20` - 13 (6015/20 MHz) * `6g-15-6025-160` - 15 (6025/160 MHz) * `6g-17-6035-20` - 17 (6035/20 MHz) * `6g-19-6045-40` - 19 (6045/40 MHz) * `6g-21-6055-20` - 21 (6055/20 MHz) * `6g-23-6065-80` - 23 (6065/80 MHz) * `6g-25-6075-20` - 25 (6075/20 MHz) * `6g-27-6085-40` - 27 (6085/40 MHz) * `6g-29-6095-20` - 29 (6095/20 MHz) * `6g-31-6105-320` - 31 (6105/320 MHz) * `6g-33-6115-20` - 33 (6115/20 MHz) * `6g-35-6125-40` - 35 (6125/40 MHz) * `6g-37-6135-20` - 37 (6135/20 MHz) * `6g-39-6145-80` - 39 (6145/80 MHz) * `6g-41-6155-20` - 41 (6155/20 MHz) * `6g-43-6165-40` - 43 (6165/40 MHz) * `6g-45-6175-20` - 45 (6175/20 MHz) * `6g-47-6185-160` - 47 (6185/160 MHz) * `6g-49-6195-20` - 49 (6195/20 MHz) * `6g-51-6205-40` - 51 (6205/40 MHz) * `6g-53-6215-20` - 53 (6215/20 MHz) * `6g-55-6225-80` - 55 (6225/80 MHz) * `6g-57-6235-20` - 57 (6235/20 MHz) * `6g-59-6245-40` - 59 (6245/40 MHz) * `6g-61-6255-20` - 61 (6255/20 MHz) * `6g-65-6275-20` - 65 (6275/20 MHz) * `6g-67-6285-40` - 67 (6285/40 MHz) * `6g-69-6295-20` - 69 (6295/20 MHz) * `6g-71-6305-80` - 71 (6305/80 MHz) * `6g-73-6315-20` - 73 (6315/20 MHz) * `6g-75-6325-40` - 75 (6325/40 MHz) * `6g-77-6335-20` - 77 (6335/20 MHz) * `6g-79-6345-160` - 79 (6345/160 MHz) * `6g-81-6355-20` - 81 (6355/20 MHz) * `6g-83-6365-40` - 83 (6365/40 MHz) * `6g-85-6375-20` - 85 (6375/20 MHz) * `6g-87-6385-80` - 87 (6385/80 MHz) * `6g-89-6395-20` - 89 (6395/20 MHz) * `6g-91-6405-40` - 91 (6405/40 MHz) * `6g-93-6415-20` - 93 (6415/20 MHz) * `6g-95-6425-320` - 95 (6425/320 MHz) * `6g-97-6435-20` - 97 (6435/20 MHz) * `6g-99-6445-40` - 99 (6445/40 MHz) * `6g-101-6455-20` - 101 (6455/20 MHz) * `6g-103-6465-80` - 103 (6465/80 MHz) * `6g-105-6475-20` - 105 (6475/20 MHz) * `6g-107-6485-40` - 107 (6485/40 MHz) * `6g-109-6495-20` - 109 (6495/20 MHz) * `6g-111-6505-160` - 111 (6505/160 MHz) * `6g-113-6515-20` - 113 (6515/20 MHz) * `6g-115-6525-40` - 115 (6525/40 MHz) * `6g-117-6535-20` - 117 (6535/20 MHz) * `6g-119-6545-80` - 119 (6545/80 MHz) * `6g-121-6555-20` - 121 (6555/20 MHz) * `6g-123-6565-40` - 123 (6565/40 MHz) * `6g-125-6575-20` - 125 (6575/20 MHz) * `6g-129-6595-20` - 129 (6595/20 MHz) * `6g-131-6605-40` - 131 (6605/40 MHz) * `6g-133-6615-20` - 133 (6615/20 MHz) * `6g-135-6625-80` - 135 (6625/80 MHz) * `6g-137-6635-20` - 137 (6635/20 MHz) * `6g-139-6645-40` - 139 (6645/40 MHz) * `6g-141-6655-20` - 141 (6655/20 MHz) * `6g-143-6665-160` - 143 (6665/160 MHz) * `6g-145-6675-20` - 145 (6675/20 MHz) * `6g-147-6685-40` - 147 (6685/40 MHz) * `6g-149-6695-20` - 149 (6695/20 MHz) * `6g-151-6705-80` - 151 (6705/80 MHz) * `6g-153-6715-20` - 153 (6715/20 MHz) * `6g-155-6725-40` - 155 (6725/40 MHz) * `6g-157-6735-20` - 157 (6735/20 MHz) * `6g-159-6745-320` - 159 (6745/320 MHz) * `6g-161-6755-20` - 161 (6755/20 MHz) * `6g-163-6765-40` - 163 (6765/40 MHz) * `6g-165-6775-20` - 165 (6775/20 MHz) * `6g-167-6785-80` - 167 (6785/80 MHz) * `6g-169-6795-20` - 169 (6795/20 MHz) * `6g-171-6805-40` - 171 (6805/40 MHz) * `6g-173-6815-20` - 173 (6815/20 MHz) * `6g-175-6825-160` - 175 (6825/160 MHz) * `6g-177-6835-20` - 177 (6835/20 MHz) * `6g-179-6845-40` - 179 (6845/40 MHz) * `6g-181-6855-20` - 181 (6855/20 MHz) * `6g-183-6865-80` - 183 (6865/80 MHz) * `6g-185-6875-20` - 185 (6875/20 MHz) * `6g-187-6885-40` - 187 (6885/40 MHz) * `6g-189-6895-20` - 189 (6895/20 MHz) * `6g-193-6915-20` - 193 (6915/20 MHz) * `6g-195-6925-40` - 195 (6925/40 MHz) * `6g-197-6935-20` - 197 (6935/20 MHz) * `6g-199-6945-80` - 199 (6945/80 MHz) * `6g-201-6955-20` - 201 (6955/20 MHz) * `6g-203-6965-40` - 203 (6965/40 MHz) * `6g-205-6975-20` - 205 (6975/20 MHz) * `6g-207-6985-160` - 207 (6985/160 MHz) * `6g-209-6995-20` - 209 (6995/20 MHz) * `6g-211-7005-40` - 211 (7005/40 MHz) * `6g-213-7015-20` - 213 (7015/20 MHz) * `6g-215-7025-80` - 215 (7025/80 MHz) * `6g-217-7035-20` - 217 (7035/20 MHz) * `6g-219-7045-40` - 219 (7045/40 MHz) * `6g-221-7055-20` - 221 (7055/20 MHz) * `6g-225-7075-20` - 225 (7075/20 MHz) * `6g-227-7085-40` - 227 (7085/40 MHz) * `6g-229-7095-20` - 229 (7095/20 MHz) * `6g-233-7115-20` - 233 (7115/20 MHz) * `60g-1-58320-2160` - 1 (58.32/2.16 GHz) * `60g-2-60480-2160` - 2 (60.48/2.16 GHz) * `60g-3-62640-2160` - 3 (62.64/2.16 GHz) * `60g-4-64800-2160` - 4 (64.80/2.16 GHz) * `60g-5-66960-2160` - 5 (66.96/2.16 GHz) * `60g-6-69120-2160` - 6 (69.12/2.16 GHz) * `60g-9-59400-4320` - 9 (59.40/4.32 GHz) * `60g-10-61560-4320` - 10 (61.56/4.32 GHz) * `60g-11-63720-4320` - 11 (63.72/4.32 GHz) * `60g-12-65880-4320` - 12 (65.88/4.32 GHz) * `60g-13-68040-4320` - 13 (68.04/4.32 GHz) * `60g-17-60480-6480` - 17 (60.48/6.48 GHz) * `60g-18-62640-6480` - 18 (62.64/6.48 GHz) * `60g-19-64800-6480` - 19 (64.80/6.48 GHz) * `60g-20-66960-6480` - 20 (66.96/6.48 GHz) * `60g-25-61560-6480` - 25 (61.56/8.64 GHz) * `60g-26-63720-6480` - 26 (63.72/8.64 GHz) * `60g-27-65880-6480` - 27 (65.88/8.64 GHz) (optional) + rfChannelIsw := []openapiclient.WirelessChannel{openapiclient.Wireless_channel("")} // []WirelessChannel | * `2.4g-1-2412-22` - 1 (2412 MHz) * `2.4g-2-2417-22` - 2 (2417 MHz) * `2.4g-3-2422-22` - 3 (2422 MHz) * `2.4g-4-2427-22` - 4 (2427 MHz) * `2.4g-5-2432-22` - 5 (2432 MHz) * `2.4g-6-2437-22` - 6 (2437 MHz) * `2.4g-7-2442-22` - 7 (2442 MHz) * `2.4g-8-2447-22` - 8 (2447 MHz) * `2.4g-9-2452-22` - 9 (2452 MHz) * `2.4g-10-2457-22` - 10 (2457 MHz) * `2.4g-11-2462-22` - 11 (2462 MHz) * `2.4g-12-2467-22` - 12 (2467 MHz) * `2.4g-13-2472-22` - 13 (2472 MHz) * `5g-32-5160-20` - 32 (5160/20 MHz) * `5g-34-5170-40` - 34 (5170/40 MHz) * `5g-36-5180-20` - 36 (5180/20 MHz) * `5g-38-5190-40` - 38 (5190/40 MHz) * `5g-40-5200-20` - 40 (5200/20 MHz) * `5g-42-5210-80` - 42 (5210/80 MHz) * `5g-44-5220-20` - 44 (5220/20 MHz) * `5g-46-5230-40` - 46 (5230/40 MHz) * `5g-48-5240-20` - 48 (5240/20 MHz) * `5g-50-5250-160` - 50 (5250/160 MHz) * `5g-52-5260-20` - 52 (5260/20 MHz) * `5g-54-5270-40` - 54 (5270/40 MHz) * `5g-56-5280-20` - 56 (5280/20 MHz) * `5g-58-5290-80` - 58 (5290/80 MHz) * `5g-60-5300-20` - 60 (5300/20 MHz) * `5g-62-5310-40` - 62 (5310/40 MHz) * `5g-64-5320-20` - 64 (5320/20 MHz) * `5g-100-5500-20` - 100 (5500/20 MHz) * `5g-102-5510-40` - 102 (5510/40 MHz) * `5g-104-5520-20` - 104 (5520/20 MHz) * `5g-106-5530-80` - 106 (5530/80 MHz) * `5g-108-5540-20` - 108 (5540/20 MHz) * `5g-110-5550-40` - 110 (5550/40 MHz) * `5g-112-5560-20` - 112 (5560/20 MHz) * `5g-114-5570-160` - 114 (5570/160 MHz) * `5g-116-5580-20` - 116 (5580/20 MHz) * `5g-118-5590-40` - 118 (5590/40 MHz) * `5g-120-5600-20` - 120 (5600/20 MHz) * `5g-122-5610-80` - 122 (5610/80 MHz) * `5g-124-5620-20` - 124 (5620/20 MHz) * `5g-126-5630-40` - 126 (5630/40 MHz) * `5g-128-5640-20` - 128 (5640/20 MHz) * `5g-132-5660-20` - 132 (5660/20 MHz) * `5g-134-5670-40` - 134 (5670/40 MHz) * `5g-136-5680-20` - 136 (5680/20 MHz) * `5g-138-5690-80` - 138 (5690/80 MHz) * `5g-140-5700-20` - 140 (5700/20 MHz) * `5g-142-5710-40` - 142 (5710/40 MHz) * `5g-144-5720-20` - 144 (5720/20 MHz) * `5g-149-5745-20` - 149 (5745/20 MHz) * `5g-151-5755-40` - 151 (5755/40 MHz) * `5g-153-5765-20` - 153 (5765/20 MHz) * `5g-155-5775-80` - 155 (5775/80 MHz) * `5g-157-5785-20` - 157 (5785/20 MHz) * `5g-159-5795-40` - 159 (5795/40 MHz) * `5g-161-5805-20` - 161 (5805/20 MHz) * `5g-163-5815-160` - 163 (5815/160 MHz) * `5g-165-5825-20` - 165 (5825/20 MHz) * `5g-167-5835-40` - 167 (5835/40 MHz) * `5g-169-5845-20` - 169 (5845/20 MHz) * `5g-171-5855-80` - 171 (5855/80 MHz) * `5g-173-5865-20` - 173 (5865/20 MHz) * `5g-175-5875-40` - 175 (5875/40 MHz) * `5g-177-5885-20` - 177 (5885/20 MHz) * `6g-1-5955-20` - 1 (5955/20 MHz) * `6g-3-5965-40` - 3 (5965/40 MHz) * `6g-5-5975-20` - 5 (5975/20 MHz) * `6g-7-5985-80` - 7 (5985/80 MHz) * `6g-9-5995-20` - 9 (5995/20 MHz) * `6g-11-6005-40` - 11 (6005/40 MHz) * `6g-13-6015-20` - 13 (6015/20 MHz) * `6g-15-6025-160` - 15 (6025/160 MHz) * `6g-17-6035-20` - 17 (6035/20 MHz) * `6g-19-6045-40` - 19 (6045/40 MHz) * `6g-21-6055-20` - 21 (6055/20 MHz) * `6g-23-6065-80` - 23 (6065/80 MHz) * `6g-25-6075-20` - 25 (6075/20 MHz) * `6g-27-6085-40` - 27 (6085/40 MHz) * `6g-29-6095-20` - 29 (6095/20 MHz) * `6g-31-6105-320` - 31 (6105/320 MHz) * `6g-33-6115-20` - 33 (6115/20 MHz) * `6g-35-6125-40` - 35 (6125/40 MHz) * `6g-37-6135-20` - 37 (6135/20 MHz) * `6g-39-6145-80` - 39 (6145/80 MHz) * `6g-41-6155-20` - 41 (6155/20 MHz) * `6g-43-6165-40` - 43 (6165/40 MHz) * `6g-45-6175-20` - 45 (6175/20 MHz) * `6g-47-6185-160` - 47 (6185/160 MHz) * `6g-49-6195-20` - 49 (6195/20 MHz) * `6g-51-6205-40` - 51 (6205/40 MHz) * `6g-53-6215-20` - 53 (6215/20 MHz) * `6g-55-6225-80` - 55 (6225/80 MHz) * `6g-57-6235-20` - 57 (6235/20 MHz) * `6g-59-6245-40` - 59 (6245/40 MHz) * `6g-61-6255-20` - 61 (6255/20 MHz) * `6g-65-6275-20` - 65 (6275/20 MHz) * `6g-67-6285-40` - 67 (6285/40 MHz) * `6g-69-6295-20` - 69 (6295/20 MHz) * `6g-71-6305-80` - 71 (6305/80 MHz) * `6g-73-6315-20` - 73 (6315/20 MHz) * `6g-75-6325-40` - 75 (6325/40 MHz) * `6g-77-6335-20` - 77 (6335/20 MHz) * `6g-79-6345-160` - 79 (6345/160 MHz) * `6g-81-6355-20` - 81 (6355/20 MHz) * `6g-83-6365-40` - 83 (6365/40 MHz) * `6g-85-6375-20` - 85 (6375/20 MHz) * `6g-87-6385-80` - 87 (6385/80 MHz) * `6g-89-6395-20` - 89 (6395/20 MHz) * `6g-91-6405-40` - 91 (6405/40 MHz) * `6g-93-6415-20` - 93 (6415/20 MHz) * `6g-95-6425-320` - 95 (6425/320 MHz) * `6g-97-6435-20` - 97 (6435/20 MHz) * `6g-99-6445-40` - 99 (6445/40 MHz) * `6g-101-6455-20` - 101 (6455/20 MHz) * `6g-103-6465-80` - 103 (6465/80 MHz) * `6g-105-6475-20` - 105 (6475/20 MHz) * `6g-107-6485-40` - 107 (6485/40 MHz) * `6g-109-6495-20` - 109 (6495/20 MHz) * `6g-111-6505-160` - 111 (6505/160 MHz) * `6g-113-6515-20` - 113 (6515/20 MHz) * `6g-115-6525-40` - 115 (6525/40 MHz) * `6g-117-6535-20` - 117 (6535/20 MHz) * `6g-119-6545-80` - 119 (6545/80 MHz) * `6g-121-6555-20` - 121 (6555/20 MHz) * `6g-123-6565-40` - 123 (6565/40 MHz) * `6g-125-6575-20` - 125 (6575/20 MHz) * `6g-129-6595-20` - 129 (6595/20 MHz) * `6g-131-6605-40` - 131 (6605/40 MHz) * `6g-133-6615-20` - 133 (6615/20 MHz) * `6g-135-6625-80` - 135 (6625/80 MHz) * `6g-137-6635-20` - 137 (6635/20 MHz) * `6g-139-6645-40` - 139 (6645/40 MHz) * `6g-141-6655-20` - 141 (6655/20 MHz) * `6g-143-6665-160` - 143 (6665/160 MHz) * `6g-145-6675-20` - 145 (6675/20 MHz) * `6g-147-6685-40` - 147 (6685/40 MHz) * `6g-149-6695-20` - 149 (6695/20 MHz) * `6g-151-6705-80` - 151 (6705/80 MHz) * `6g-153-6715-20` - 153 (6715/20 MHz) * `6g-155-6725-40` - 155 (6725/40 MHz) * `6g-157-6735-20` - 157 (6735/20 MHz) * `6g-159-6745-320` - 159 (6745/320 MHz) * `6g-161-6755-20` - 161 (6755/20 MHz) * `6g-163-6765-40` - 163 (6765/40 MHz) * `6g-165-6775-20` - 165 (6775/20 MHz) * `6g-167-6785-80` - 167 (6785/80 MHz) * `6g-169-6795-20` - 169 (6795/20 MHz) * `6g-171-6805-40` - 171 (6805/40 MHz) * `6g-173-6815-20` - 173 (6815/20 MHz) * `6g-175-6825-160` - 175 (6825/160 MHz) * `6g-177-6835-20` - 177 (6835/20 MHz) * `6g-179-6845-40` - 179 (6845/40 MHz) * `6g-181-6855-20` - 181 (6855/20 MHz) * `6g-183-6865-80` - 183 (6865/80 MHz) * `6g-185-6875-20` - 185 (6875/20 MHz) * `6g-187-6885-40` - 187 (6885/40 MHz) * `6g-189-6895-20` - 189 (6895/20 MHz) * `6g-193-6915-20` - 193 (6915/20 MHz) * `6g-195-6925-40` - 195 (6925/40 MHz) * `6g-197-6935-20` - 197 (6935/20 MHz) * `6g-199-6945-80` - 199 (6945/80 MHz) * `6g-201-6955-20` - 201 (6955/20 MHz) * `6g-203-6965-40` - 203 (6965/40 MHz) * `6g-205-6975-20` - 205 (6975/20 MHz) * `6g-207-6985-160` - 207 (6985/160 MHz) * `6g-209-6995-20` - 209 (6995/20 MHz) * `6g-211-7005-40` - 211 (7005/40 MHz) * `6g-213-7015-20` - 213 (7015/20 MHz) * `6g-215-7025-80` - 215 (7025/80 MHz) * `6g-217-7035-20` - 217 (7035/20 MHz) * `6g-219-7045-40` - 219 (7045/40 MHz) * `6g-221-7055-20` - 221 (7055/20 MHz) * `6g-225-7075-20` - 225 (7075/20 MHz) * `6g-227-7085-40` - 227 (7085/40 MHz) * `6g-229-7095-20` - 229 (7095/20 MHz) * `6g-233-7115-20` - 233 (7115/20 MHz) * `60g-1-58320-2160` - 1 (58.32/2.16 GHz) * `60g-2-60480-2160` - 2 (60.48/2.16 GHz) * `60g-3-62640-2160` - 3 (62.64/2.16 GHz) * `60g-4-64800-2160` - 4 (64.80/2.16 GHz) * `60g-5-66960-2160` - 5 (66.96/2.16 GHz) * `60g-6-69120-2160` - 6 (69.12/2.16 GHz) * `60g-9-59400-4320` - 9 (59.40/4.32 GHz) * `60g-10-61560-4320` - 10 (61.56/4.32 GHz) * `60g-11-63720-4320` - 11 (63.72/4.32 GHz) * `60g-12-65880-4320` - 12 (65.88/4.32 GHz) * `60g-13-68040-4320` - 13 (68.04/4.32 GHz) * `60g-17-60480-6480` - 17 (60.48/6.48 GHz) * `60g-18-62640-6480` - 18 (62.64/6.48 GHz) * `60g-19-64800-6480` - 19 (64.80/6.48 GHz) * `60g-20-66960-6480` - 20 (66.96/6.48 GHz) * `60g-25-61560-6480` - 25 (61.56/8.64 GHz) * `60g-26-63720-6480` - 26 (63.72/8.64 GHz) * `60g-27-65880-6480` - 27 (65.88/8.64 GHz) (optional) + rfChannelN := []openapiclient.WirelessChannel{openapiclient.Wireless_channel("")} // []WirelessChannel | * `2.4g-1-2412-22` - 1 (2412 MHz) * `2.4g-2-2417-22` - 2 (2417 MHz) * `2.4g-3-2422-22` - 3 (2422 MHz) * `2.4g-4-2427-22` - 4 (2427 MHz) * `2.4g-5-2432-22` - 5 (2432 MHz) * `2.4g-6-2437-22` - 6 (2437 MHz) * `2.4g-7-2442-22` - 7 (2442 MHz) * `2.4g-8-2447-22` - 8 (2447 MHz) * `2.4g-9-2452-22` - 9 (2452 MHz) * `2.4g-10-2457-22` - 10 (2457 MHz) * `2.4g-11-2462-22` - 11 (2462 MHz) * `2.4g-12-2467-22` - 12 (2467 MHz) * `2.4g-13-2472-22` - 13 (2472 MHz) * `5g-32-5160-20` - 32 (5160/20 MHz) * `5g-34-5170-40` - 34 (5170/40 MHz) * `5g-36-5180-20` - 36 (5180/20 MHz) * `5g-38-5190-40` - 38 (5190/40 MHz) * `5g-40-5200-20` - 40 (5200/20 MHz) * `5g-42-5210-80` - 42 (5210/80 MHz) * `5g-44-5220-20` - 44 (5220/20 MHz) * `5g-46-5230-40` - 46 (5230/40 MHz) * `5g-48-5240-20` - 48 (5240/20 MHz) * `5g-50-5250-160` - 50 (5250/160 MHz) * `5g-52-5260-20` - 52 (5260/20 MHz) * `5g-54-5270-40` - 54 (5270/40 MHz) * `5g-56-5280-20` - 56 (5280/20 MHz) * `5g-58-5290-80` - 58 (5290/80 MHz) * `5g-60-5300-20` - 60 (5300/20 MHz) * `5g-62-5310-40` - 62 (5310/40 MHz) * `5g-64-5320-20` - 64 (5320/20 MHz) * `5g-100-5500-20` - 100 (5500/20 MHz) * `5g-102-5510-40` - 102 (5510/40 MHz) * `5g-104-5520-20` - 104 (5520/20 MHz) * `5g-106-5530-80` - 106 (5530/80 MHz) * `5g-108-5540-20` - 108 (5540/20 MHz) * `5g-110-5550-40` - 110 (5550/40 MHz) * `5g-112-5560-20` - 112 (5560/20 MHz) * `5g-114-5570-160` - 114 (5570/160 MHz) * `5g-116-5580-20` - 116 (5580/20 MHz) * `5g-118-5590-40` - 118 (5590/40 MHz) * `5g-120-5600-20` - 120 (5600/20 MHz) * `5g-122-5610-80` - 122 (5610/80 MHz) * `5g-124-5620-20` - 124 (5620/20 MHz) * `5g-126-5630-40` - 126 (5630/40 MHz) * `5g-128-5640-20` - 128 (5640/20 MHz) * `5g-132-5660-20` - 132 (5660/20 MHz) * `5g-134-5670-40` - 134 (5670/40 MHz) * `5g-136-5680-20` - 136 (5680/20 MHz) * `5g-138-5690-80` - 138 (5690/80 MHz) * `5g-140-5700-20` - 140 (5700/20 MHz) * `5g-142-5710-40` - 142 (5710/40 MHz) * `5g-144-5720-20` - 144 (5720/20 MHz) * `5g-149-5745-20` - 149 (5745/20 MHz) * `5g-151-5755-40` - 151 (5755/40 MHz) * `5g-153-5765-20` - 153 (5765/20 MHz) * `5g-155-5775-80` - 155 (5775/80 MHz) * `5g-157-5785-20` - 157 (5785/20 MHz) * `5g-159-5795-40` - 159 (5795/40 MHz) * `5g-161-5805-20` - 161 (5805/20 MHz) * `5g-163-5815-160` - 163 (5815/160 MHz) * `5g-165-5825-20` - 165 (5825/20 MHz) * `5g-167-5835-40` - 167 (5835/40 MHz) * `5g-169-5845-20` - 169 (5845/20 MHz) * `5g-171-5855-80` - 171 (5855/80 MHz) * `5g-173-5865-20` - 173 (5865/20 MHz) * `5g-175-5875-40` - 175 (5875/40 MHz) * `5g-177-5885-20` - 177 (5885/20 MHz) * `6g-1-5955-20` - 1 (5955/20 MHz) * `6g-3-5965-40` - 3 (5965/40 MHz) * `6g-5-5975-20` - 5 (5975/20 MHz) * `6g-7-5985-80` - 7 (5985/80 MHz) * `6g-9-5995-20` - 9 (5995/20 MHz) * `6g-11-6005-40` - 11 (6005/40 MHz) * `6g-13-6015-20` - 13 (6015/20 MHz) * `6g-15-6025-160` - 15 (6025/160 MHz) * `6g-17-6035-20` - 17 (6035/20 MHz) * `6g-19-6045-40` - 19 (6045/40 MHz) * `6g-21-6055-20` - 21 (6055/20 MHz) * `6g-23-6065-80` - 23 (6065/80 MHz) * `6g-25-6075-20` - 25 (6075/20 MHz) * `6g-27-6085-40` - 27 (6085/40 MHz) * `6g-29-6095-20` - 29 (6095/20 MHz) * `6g-31-6105-320` - 31 (6105/320 MHz) * `6g-33-6115-20` - 33 (6115/20 MHz) * `6g-35-6125-40` - 35 (6125/40 MHz) * `6g-37-6135-20` - 37 (6135/20 MHz) * `6g-39-6145-80` - 39 (6145/80 MHz) * `6g-41-6155-20` - 41 (6155/20 MHz) * `6g-43-6165-40` - 43 (6165/40 MHz) * `6g-45-6175-20` - 45 (6175/20 MHz) * `6g-47-6185-160` - 47 (6185/160 MHz) * `6g-49-6195-20` - 49 (6195/20 MHz) * `6g-51-6205-40` - 51 (6205/40 MHz) * `6g-53-6215-20` - 53 (6215/20 MHz) * `6g-55-6225-80` - 55 (6225/80 MHz) * `6g-57-6235-20` - 57 (6235/20 MHz) * `6g-59-6245-40` - 59 (6245/40 MHz) * `6g-61-6255-20` - 61 (6255/20 MHz) * `6g-65-6275-20` - 65 (6275/20 MHz) * `6g-67-6285-40` - 67 (6285/40 MHz) * `6g-69-6295-20` - 69 (6295/20 MHz) * `6g-71-6305-80` - 71 (6305/80 MHz) * `6g-73-6315-20` - 73 (6315/20 MHz) * `6g-75-6325-40` - 75 (6325/40 MHz) * `6g-77-6335-20` - 77 (6335/20 MHz) * `6g-79-6345-160` - 79 (6345/160 MHz) * `6g-81-6355-20` - 81 (6355/20 MHz) * `6g-83-6365-40` - 83 (6365/40 MHz) * `6g-85-6375-20` - 85 (6375/20 MHz) * `6g-87-6385-80` - 87 (6385/80 MHz) * `6g-89-6395-20` - 89 (6395/20 MHz) * `6g-91-6405-40` - 91 (6405/40 MHz) * `6g-93-6415-20` - 93 (6415/20 MHz) * `6g-95-6425-320` - 95 (6425/320 MHz) * `6g-97-6435-20` - 97 (6435/20 MHz) * `6g-99-6445-40` - 99 (6445/40 MHz) * `6g-101-6455-20` - 101 (6455/20 MHz) * `6g-103-6465-80` - 103 (6465/80 MHz) * `6g-105-6475-20` - 105 (6475/20 MHz) * `6g-107-6485-40` - 107 (6485/40 MHz) * `6g-109-6495-20` - 109 (6495/20 MHz) * `6g-111-6505-160` - 111 (6505/160 MHz) * `6g-113-6515-20` - 113 (6515/20 MHz) * `6g-115-6525-40` - 115 (6525/40 MHz) * `6g-117-6535-20` - 117 (6535/20 MHz) * `6g-119-6545-80` - 119 (6545/80 MHz) * `6g-121-6555-20` - 121 (6555/20 MHz) * `6g-123-6565-40` - 123 (6565/40 MHz) * `6g-125-6575-20` - 125 (6575/20 MHz) * `6g-129-6595-20` - 129 (6595/20 MHz) * `6g-131-6605-40` - 131 (6605/40 MHz) * `6g-133-6615-20` - 133 (6615/20 MHz) * `6g-135-6625-80` - 135 (6625/80 MHz) * `6g-137-6635-20` - 137 (6635/20 MHz) * `6g-139-6645-40` - 139 (6645/40 MHz) * `6g-141-6655-20` - 141 (6655/20 MHz) * `6g-143-6665-160` - 143 (6665/160 MHz) * `6g-145-6675-20` - 145 (6675/20 MHz) * `6g-147-6685-40` - 147 (6685/40 MHz) * `6g-149-6695-20` - 149 (6695/20 MHz) * `6g-151-6705-80` - 151 (6705/80 MHz) * `6g-153-6715-20` - 153 (6715/20 MHz) * `6g-155-6725-40` - 155 (6725/40 MHz) * `6g-157-6735-20` - 157 (6735/20 MHz) * `6g-159-6745-320` - 159 (6745/320 MHz) * `6g-161-6755-20` - 161 (6755/20 MHz) * `6g-163-6765-40` - 163 (6765/40 MHz) * `6g-165-6775-20` - 165 (6775/20 MHz) * `6g-167-6785-80` - 167 (6785/80 MHz) * `6g-169-6795-20` - 169 (6795/20 MHz) * `6g-171-6805-40` - 171 (6805/40 MHz) * `6g-173-6815-20` - 173 (6815/20 MHz) * `6g-175-6825-160` - 175 (6825/160 MHz) * `6g-177-6835-20` - 177 (6835/20 MHz) * `6g-179-6845-40` - 179 (6845/40 MHz) * `6g-181-6855-20` - 181 (6855/20 MHz) * `6g-183-6865-80` - 183 (6865/80 MHz) * `6g-185-6875-20` - 185 (6875/20 MHz) * `6g-187-6885-40` - 187 (6885/40 MHz) * `6g-189-6895-20` - 189 (6895/20 MHz) * `6g-193-6915-20` - 193 (6915/20 MHz) * `6g-195-6925-40` - 195 (6925/40 MHz) * `6g-197-6935-20` - 197 (6935/20 MHz) * `6g-199-6945-80` - 199 (6945/80 MHz) * `6g-201-6955-20` - 201 (6955/20 MHz) * `6g-203-6965-40` - 203 (6965/40 MHz) * `6g-205-6975-20` - 205 (6975/20 MHz) * `6g-207-6985-160` - 207 (6985/160 MHz) * `6g-209-6995-20` - 209 (6995/20 MHz) * `6g-211-7005-40` - 211 (7005/40 MHz) * `6g-213-7015-20` - 213 (7015/20 MHz) * `6g-215-7025-80` - 215 (7025/80 MHz) * `6g-217-7035-20` - 217 (7035/20 MHz) * `6g-219-7045-40` - 219 (7045/40 MHz) * `6g-221-7055-20` - 221 (7055/20 MHz) * `6g-225-7075-20` - 225 (7075/20 MHz) * `6g-227-7085-40` - 227 (7085/40 MHz) * `6g-229-7095-20` - 229 (7095/20 MHz) * `6g-233-7115-20` - 233 (7115/20 MHz) * `60g-1-58320-2160` - 1 (58.32/2.16 GHz) * `60g-2-60480-2160` - 2 (60.48/2.16 GHz) * `60g-3-62640-2160` - 3 (62.64/2.16 GHz) * `60g-4-64800-2160` - 4 (64.80/2.16 GHz) * `60g-5-66960-2160` - 5 (66.96/2.16 GHz) * `60g-6-69120-2160` - 6 (69.12/2.16 GHz) * `60g-9-59400-4320` - 9 (59.40/4.32 GHz) * `60g-10-61560-4320` - 10 (61.56/4.32 GHz) * `60g-11-63720-4320` - 11 (63.72/4.32 GHz) * `60g-12-65880-4320` - 12 (65.88/4.32 GHz) * `60g-13-68040-4320` - 13 (68.04/4.32 GHz) * `60g-17-60480-6480` - 17 (60.48/6.48 GHz) * `60g-18-62640-6480` - 18 (62.64/6.48 GHz) * `60g-19-64800-6480` - 19 (64.80/6.48 GHz) * `60g-20-66960-6480` - 20 (66.96/6.48 GHz) * `60g-25-61560-6480` - 25 (61.56/8.64 GHz) * `60g-26-63720-6480` - 26 (63.72/8.64 GHz) * `60g-27-65880-6480` - 27 (65.88/8.64 GHz) (optional) + rfChannelNic := []openapiclient.WirelessChannel{openapiclient.Wireless_channel("")} // []WirelessChannel | * `2.4g-1-2412-22` - 1 (2412 MHz) * `2.4g-2-2417-22` - 2 (2417 MHz) * `2.4g-3-2422-22` - 3 (2422 MHz) * `2.4g-4-2427-22` - 4 (2427 MHz) * `2.4g-5-2432-22` - 5 (2432 MHz) * `2.4g-6-2437-22` - 6 (2437 MHz) * `2.4g-7-2442-22` - 7 (2442 MHz) * `2.4g-8-2447-22` - 8 (2447 MHz) * `2.4g-9-2452-22` - 9 (2452 MHz) * `2.4g-10-2457-22` - 10 (2457 MHz) * `2.4g-11-2462-22` - 11 (2462 MHz) * `2.4g-12-2467-22` - 12 (2467 MHz) * `2.4g-13-2472-22` - 13 (2472 MHz) * `5g-32-5160-20` - 32 (5160/20 MHz) * `5g-34-5170-40` - 34 (5170/40 MHz) * `5g-36-5180-20` - 36 (5180/20 MHz) * `5g-38-5190-40` - 38 (5190/40 MHz) * `5g-40-5200-20` - 40 (5200/20 MHz) * `5g-42-5210-80` - 42 (5210/80 MHz) * `5g-44-5220-20` - 44 (5220/20 MHz) * `5g-46-5230-40` - 46 (5230/40 MHz) * `5g-48-5240-20` - 48 (5240/20 MHz) * `5g-50-5250-160` - 50 (5250/160 MHz) * `5g-52-5260-20` - 52 (5260/20 MHz) * `5g-54-5270-40` - 54 (5270/40 MHz) * `5g-56-5280-20` - 56 (5280/20 MHz) * `5g-58-5290-80` - 58 (5290/80 MHz) * `5g-60-5300-20` - 60 (5300/20 MHz) * `5g-62-5310-40` - 62 (5310/40 MHz) * `5g-64-5320-20` - 64 (5320/20 MHz) * `5g-100-5500-20` - 100 (5500/20 MHz) * `5g-102-5510-40` - 102 (5510/40 MHz) * `5g-104-5520-20` - 104 (5520/20 MHz) * `5g-106-5530-80` - 106 (5530/80 MHz) * `5g-108-5540-20` - 108 (5540/20 MHz) * `5g-110-5550-40` - 110 (5550/40 MHz) * `5g-112-5560-20` - 112 (5560/20 MHz) * `5g-114-5570-160` - 114 (5570/160 MHz) * `5g-116-5580-20` - 116 (5580/20 MHz) * `5g-118-5590-40` - 118 (5590/40 MHz) * `5g-120-5600-20` - 120 (5600/20 MHz) * `5g-122-5610-80` - 122 (5610/80 MHz) * `5g-124-5620-20` - 124 (5620/20 MHz) * `5g-126-5630-40` - 126 (5630/40 MHz) * `5g-128-5640-20` - 128 (5640/20 MHz) * `5g-132-5660-20` - 132 (5660/20 MHz) * `5g-134-5670-40` - 134 (5670/40 MHz) * `5g-136-5680-20` - 136 (5680/20 MHz) * `5g-138-5690-80` - 138 (5690/80 MHz) * `5g-140-5700-20` - 140 (5700/20 MHz) * `5g-142-5710-40` - 142 (5710/40 MHz) * `5g-144-5720-20` - 144 (5720/20 MHz) * `5g-149-5745-20` - 149 (5745/20 MHz) * `5g-151-5755-40` - 151 (5755/40 MHz) * `5g-153-5765-20` - 153 (5765/20 MHz) * `5g-155-5775-80` - 155 (5775/80 MHz) * `5g-157-5785-20` - 157 (5785/20 MHz) * `5g-159-5795-40` - 159 (5795/40 MHz) * `5g-161-5805-20` - 161 (5805/20 MHz) * `5g-163-5815-160` - 163 (5815/160 MHz) * `5g-165-5825-20` - 165 (5825/20 MHz) * `5g-167-5835-40` - 167 (5835/40 MHz) * `5g-169-5845-20` - 169 (5845/20 MHz) * `5g-171-5855-80` - 171 (5855/80 MHz) * `5g-173-5865-20` - 173 (5865/20 MHz) * `5g-175-5875-40` - 175 (5875/40 MHz) * `5g-177-5885-20` - 177 (5885/20 MHz) * `6g-1-5955-20` - 1 (5955/20 MHz) * `6g-3-5965-40` - 3 (5965/40 MHz) * `6g-5-5975-20` - 5 (5975/20 MHz) * `6g-7-5985-80` - 7 (5985/80 MHz) * `6g-9-5995-20` - 9 (5995/20 MHz) * `6g-11-6005-40` - 11 (6005/40 MHz) * `6g-13-6015-20` - 13 (6015/20 MHz) * `6g-15-6025-160` - 15 (6025/160 MHz) * `6g-17-6035-20` - 17 (6035/20 MHz) * `6g-19-6045-40` - 19 (6045/40 MHz) * `6g-21-6055-20` - 21 (6055/20 MHz) * `6g-23-6065-80` - 23 (6065/80 MHz) * `6g-25-6075-20` - 25 (6075/20 MHz) * `6g-27-6085-40` - 27 (6085/40 MHz) * `6g-29-6095-20` - 29 (6095/20 MHz) * `6g-31-6105-320` - 31 (6105/320 MHz) * `6g-33-6115-20` - 33 (6115/20 MHz) * `6g-35-6125-40` - 35 (6125/40 MHz) * `6g-37-6135-20` - 37 (6135/20 MHz) * `6g-39-6145-80` - 39 (6145/80 MHz) * `6g-41-6155-20` - 41 (6155/20 MHz) * `6g-43-6165-40` - 43 (6165/40 MHz) * `6g-45-6175-20` - 45 (6175/20 MHz) * `6g-47-6185-160` - 47 (6185/160 MHz) * `6g-49-6195-20` - 49 (6195/20 MHz) * `6g-51-6205-40` - 51 (6205/40 MHz) * `6g-53-6215-20` - 53 (6215/20 MHz) * `6g-55-6225-80` - 55 (6225/80 MHz) * `6g-57-6235-20` - 57 (6235/20 MHz) * `6g-59-6245-40` - 59 (6245/40 MHz) * `6g-61-6255-20` - 61 (6255/20 MHz) * `6g-65-6275-20` - 65 (6275/20 MHz) * `6g-67-6285-40` - 67 (6285/40 MHz) * `6g-69-6295-20` - 69 (6295/20 MHz) * `6g-71-6305-80` - 71 (6305/80 MHz) * `6g-73-6315-20` - 73 (6315/20 MHz) * `6g-75-6325-40` - 75 (6325/40 MHz) * `6g-77-6335-20` - 77 (6335/20 MHz) * `6g-79-6345-160` - 79 (6345/160 MHz) * `6g-81-6355-20` - 81 (6355/20 MHz) * `6g-83-6365-40` - 83 (6365/40 MHz) * `6g-85-6375-20` - 85 (6375/20 MHz) * `6g-87-6385-80` - 87 (6385/80 MHz) * `6g-89-6395-20` - 89 (6395/20 MHz) * `6g-91-6405-40` - 91 (6405/40 MHz) * `6g-93-6415-20` - 93 (6415/20 MHz) * `6g-95-6425-320` - 95 (6425/320 MHz) * `6g-97-6435-20` - 97 (6435/20 MHz) * `6g-99-6445-40` - 99 (6445/40 MHz) * `6g-101-6455-20` - 101 (6455/20 MHz) * `6g-103-6465-80` - 103 (6465/80 MHz) * `6g-105-6475-20` - 105 (6475/20 MHz) * `6g-107-6485-40` - 107 (6485/40 MHz) * `6g-109-6495-20` - 109 (6495/20 MHz) * `6g-111-6505-160` - 111 (6505/160 MHz) * `6g-113-6515-20` - 113 (6515/20 MHz) * `6g-115-6525-40` - 115 (6525/40 MHz) * `6g-117-6535-20` - 117 (6535/20 MHz) * `6g-119-6545-80` - 119 (6545/80 MHz) * `6g-121-6555-20` - 121 (6555/20 MHz) * `6g-123-6565-40` - 123 (6565/40 MHz) * `6g-125-6575-20` - 125 (6575/20 MHz) * `6g-129-6595-20` - 129 (6595/20 MHz) * `6g-131-6605-40` - 131 (6605/40 MHz) * `6g-133-6615-20` - 133 (6615/20 MHz) * `6g-135-6625-80` - 135 (6625/80 MHz) * `6g-137-6635-20` - 137 (6635/20 MHz) * `6g-139-6645-40` - 139 (6645/40 MHz) * `6g-141-6655-20` - 141 (6655/20 MHz) * `6g-143-6665-160` - 143 (6665/160 MHz) * `6g-145-6675-20` - 145 (6675/20 MHz) * `6g-147-6685-40` - 147 (6685/40 MHz) * `6g-149-6695-20` - 149 (6695/20 MHz) * `6g-151-6705-80` - 151 (6705/80 MHz) * `6g-153-6715-20` - 153 (6715/20 MHz) * `6g-155-6725-40` - 155 (6725/40 MHz) * `6g-157-6735-20` - 157 (6735/20 MHz) * `6g-159-6745-320` - 159 (6745/320 MHz) * `6g-161-6755-20` - 161 (6755/20 MHz) * `6g-163-6765-40` - 163 (6765/40 MHz) * `6g-165-6775-20` - 165 (6775/20 MHz) * `6g-167-6785-80` - 167 (6785/80 MHz) * `6g-169-6795-20` - 169 (6795/20 MHz) * `6g-171-6805-40` - 171 (6805/40 MHz) * `6g-173-6815-20` - 173 (6815/20 MHz) * `6g-175-6825-160` - 175 (6825/160 MHz) * `6g-177-6835-20` - 177 (6835/20 MHz) * `6g-179-6845-40` - 179 (6845/40 MHz) * `6g-181-6855-20` - 181 (6855/20 MHz) * `6g-183-6865-80` - 183 (6865/80 MHz) * `6g-185-6875-20` - 185 (6875/20 MHz) * `6g-187-6885-40` - 187 (6885/40 MHz) * `6g-189-6895-20` - 189 (6895/20 MHz) * `6g-193-6915-20` - 193 (6915/20 MHz) * `6g-195-6925-40` - 195 (6925/40 MHz) * `6g-197-6935-20` - 197 (6935/20 MHz) * `6g-199-6945-80` - 199 (6945/80 MHz) * `6g-201-6955-20` - 201 (6955/20 MHz) * `6g-203-6965-40` - 203 (6965/40 MHz) * `6g-205-6975-20` - 205 (6975/20 MHz) * `6g-207-6985-160` - 207 (6985/160 MHz) * `6g-209-6995-20` - 209 (6995/20 MHz) * `6g-211-7005-40` - 211 (7005/40 MHz) * `6g-213-7015-20` - 213 (7015/20 MHz) * `6g-215-7025-80` - 215 (7025/80 MHz) * `6g-217-7035-20` - 217 (7035/20 MHz) * `6g-219-7045-40` - 219 (7045/40 MHz) * `6g-221-7055-20` - 221 (7055/20 MHz) * `6g-225-7075-20` - 225 (7075/20 MHz) * `6g-227-7085-40` - 227 (7085/40 MHz) * `6g-229-7095-20` - 229 (7095/20 MHz) * `6g-233-7115-20` - 233 (7115/20 MHz) * `60g-1-58320-2160` - 1 (58.32/2.16 GHz) * `60g-2-60480-2160` - 2 (60.48/2.16 GHz) * `60g-3-62640-2160` - 3 (62.64/2.16 GHz) * `60g-4-64800-2160` - 4 (64.80/2.16 GHz) * `60g-5-66960-2160` - 5 (66.96/2.16 GHz) * `60g-6-69120-2160` - 6 (69.12/2.16 GHz) * `60g-9-59400-4320` - 9 (59.40/4.32 GHz) * `60g-10-61560-4320` - 10 (61.56/4.32 GHz) * `60g-11-63720-4320` - 11 (63.72/4.32 GHz) * `60g-12-65880-4320` - 12 (65.88/4.32 GHz) * `60g-13-68040-4320` - 13 (68.04/4.32 GHz) * `60g-17-60480-6480` - 17 (60.48/6.48 GHz) * `60g-18-62640-6480` - 18 (62.64/6.48 GHz) * `60g-19-64800-6480` - 19 (64.80/6.48 GHz) * `60g-20-66960-6480` - 20 (66.96/6.48 GHz) * `60g-25-61560-6480` - 25 (61.56/8.64 GHz) * `60g-26-63720-6480` - 26 (63.72/8.64 GHz) * `60g-27-65880-6480` - 27 (65.88/8.64 GHz) (optional) + rfChannelNie := []openapiclient.WirelessChannel{openapiclient.Wireless_channel("")} // []WirelessChannel | * `2.4g-1-2412-22` - 1 (2412 MHz) * `2.4g-2-2417-22` - 2 (2417 MHz) * `2.4g-3-2422-22` - 3 (2422 MHz) * `2.4g-4-2427-22` - 4 (2427 MHz) * `2.4g-5-2432-22` - 5 (2432 MHz) * `2.4g-6-2437-22` - 6 (2437 MHz) * `2.4g-7-2442-22` - 7 (2442 MHz) * `2.4g-8-2447-22` - 8 (2447 MHz) * `2.4g-9-2452-22` - 9 (2452 MHz) * `2.4g-10-2457-22` - 10 (2457 MHz) * `2.4g-11-2462-22` - 11 (2462 MHz) * `2.4g-12-2467-22` - 12 (2467 MHz) * `2.4g-13-2472-22` - 13 (2472 MHz) * `5g-32-5160-20` - 32 (5160/20 MHz) * `5g-34-5170-40` - 34 (5170/40 MHz) * `5g-36-5180-20` - 36 (5180/20 MHz) * `5g-38-5190-40` - 38 (5190/40 MHz) * `5g-40-5200-20` - 40 (5200/20 MHz) * `5g-42-5210-80` - 42 (5210/80 MHz) * `5g-44-5220-20` - 44 (5220/20 MHz) * `5g-46-5230-40` - 46 (5230/40 MHz) * `5g-48-5240-20` - 48 (5240/20 MHz) * `5g-50-5250-160` - 50 (5250/160 MHz) * `5g-52-5260-20` - 52 (5260/20 MHz) * `5g-54-5270-40` - 54 (5270/40 MHz) * `5g-56-5280-20` - 56 (5280/20 MHz) * `5g-58-5290-80` - 58 (5290/80 MHz) * `5g-60-5300-20` - 60 (5300/20 MHz) * `5g-62-5310-40` - 62 (5310/40 MHz) * `5g-64-5320-20` - 64 (5320/20 MHz) * `5g-100-5500-20` - 100 (5500/20 MHz) * `5g-102-5510-40` - 102 (5510/40 MHz) * `5g-104-5520-20` - 104 (5520/20 MHz) * `5g-106-5530-80` - 106 (5530/80 MHz) * `5g-108-5540-20` - 108 (5540/20 MHz) * `5g-110-5550-40` - 110 (5550/40 MHz) * `5g-112-5560-20` - 112 (5560/20 MHz) * `5g-114-5570-160` - 114 (5570/160 MHz) * `5g-116-5580-20` - 116 (5580/20 MHz) * `5g-118-5590-40` - 118 (5590/40 MHz) * `5g-120-5600-20` - 120 (5600/20 MHz) * `5g-122-5610-80` - 122 (5610/80 MHz) * `5g-124-5620-20` - 124 (5620/20 MHz) * `5g-126-5630-40` - 126 (5630/40 MHz) * `5g-128-5640-20` - 128 (5640/20 MHz) * `5g-132-5660-20` - 132 (5660/20 MHz) * `5g-134-5670-40` - 134 (5670/40 MHz) * `5g-136-5680-20` - 136 (5680/20 MHz) * `5g-138-5690-80` - 138 (5690/80 MHz) * `5g-140-5700-20` - 140 (5700/20 MHz) * `5g-142-5710-40` - 142 (5710/40 MHz) * `5g-144-5720-20` - 144 (5720/20 MHz) * `5g-149-5745-20` - 149 (5745/20 MHz) * `5g-151-5755-40` - 151 (5755/40 MHz) * `5g-153-5765-20` - 153 (5765/20 MHz) * `5g-155-5775-80` - 155 (5775/80 MHz) * `5g-157-5785-20` - 157 (5785/20 MHz) * `5g-159-5795-40` - 159 (5795/40 MHz) * `5g-161-5805-20` - 161 (5805/20 MHz) * `5g-163-5815-160` - 163 (5815/160 MHz) * `5g-165-5825-20` - 165 (5825/20 MHz) * `5g-167-5835-40` - 167 (5835/40 MHz) * `5g-169-5845-20` - 169 (5845/20 MHz) * `5g-171-5855-80` - 171 (5855/80 MHz) * `5g-173-5865-20` - 173 (5865/20 MHz) * `5g-175-5875-40` - 175 (5875/40 MHz) * `5g-177-5885-20` - 177 (5885/20 MHz) * `6g-1-5955-20` - 1 (5955/20 MHz) * `6g-3-5965-40` - 3 (5965/40 MHz) * `6g-5-5975-20` - 5 (5975/20 MHz) * `6g-7-5985-80` - 7 (5985/80 MHz) * `6g-9-5995-20` - 9 (5995/20 MHz) * `6g-11-6005-40` - 11 (6005/40 MHz) * `6g-13-6015-20` - 13 (6015/20 MHz) * `6g-15-6025-160` - 15 (6025/160 MHz) * `6g-17-6035-20` - 17 (6035/20 MHz) * `6g-19-6045-40` - 19 (6045/40 MHz) * `6g-21-6055-20` - 21 (6055/20 MHz) * `6g-23-6065-80` - 23 (6065/80 MHz) * `6g-25-6075-20` - 25 (6075/20 MHz) * `6g-27-6085-40` - 27 (6085/40 MHz) * `6g-29-6095-20` - 29 (6095/20 MHz) * `6g-31-6105-320` - 31 (6105/320 MHz) * `6g-33-6115-20` - 33 (6115/20 MHz) * `6g-35-6125-40` - 35 (6125/40 MHz) * `6g-37-6135-20` - 37 (6135/20 MHz) * `6g-39-6145-80` - 39 (6145/80 MHz) * `6g-41-6155-20` - 41 (6155/20 MHz) * `6g-43-6165-40` - 43 (6165/40 MHz) * `6g-45-6175-20` - 45 (6175/20 MHz) * `6g-47-6185-160` - 47 (6185/160 MHz) * `6g-49-6195-20` - 49 (6195/20 MHz) * `6g-51-6205-40` - 51 (6205/40 MHz) * `6g-53-6215-20` - 53 (6215/20 MHz) * `6g-55-6225-80` - 55 (6225/80 MHz) * `6g-57-6235-20` - 57 (6235/20 MHz) * `6g-59-6245-40` - 59 (6245/40 MHz) * `6g-61-6255-20` - 61 (6255/20 MHz) * `6g-65-6275-20` - 65 (6275/20 MHz) * `6g-67-6285-40` - 67 (6285/40 MHz) * `6g-69-6295-20` - 69 (6295/20 MHz) * `6g-71-6305-80` - 71 (6305/80 MHz) * `6g-73-6315-20` - 73 (6315/20 MHz) * `6g-75-6325-40` - 75 (6325/40 MHz) * `6g-77-6335-20` - 77 (6335/20 MHz) * `6g-79-6345-160` - 79 (6345/160 MHz) * `6g-81-6355-20` - 81 (6355/20 MHz) * `6g-83-6365-40` - 83 (6365/40 MHz) * `6g-85-6375-20` - 85 (6375/20 MHz) * `6g-87-6385-80` - 87 (6385/80 MHz) * `6g-89-6395-20` - 89 (6395/20 MHz) * `6g-91-6405-40` - 91 (6405/40 MHz) * `6g-93-6415-20` - 93 (6415/20 MHz) * `6g-95-6425-320` - 95 (6425/320 MHz) * `6g-97-6435-20` - 97 (6435/20 MHz) * `6g-99-6445-40` - 99 (6445/40 MHz) * `6g-101-6455-20` - 101 (6455/20 MHz) * `6g-103-6465-80` - 103 (6465/80 MHz) * `6g-105-6475-20` - 105 (6475/20 MHz) * `6g-107-6485-40` - 107 (6485/40 MHz) * `6g-109-6495-20` - 109 (6495/20 MHz) * `6g-111-6505-160` - 111 (6505/160 MHz) * `6g-113-6515-20` - 113 (6515/20 MHz) * `6g-115-6525-40` - 115 (6525/40 MHz) * `6g-117-6535-20` - 117 (6535/20 MHz) * `6g-119-6545-80` - 119 (6545/80 MHz) * `6g-121-6555-20` - 121 (6555/20 MHz) * `6g-123-6565-40` - 123 (6565/40 MHz) * `6g-125-6575-20` - 125 (6575/20 MHz) * `6g-129-6595-20` - 129 (6595/20 MHz) * `6g-131-6605-40` - 131 (6605/40 MHz) * `6g-133-6615-20` - 133 (6615/20 MHz) * `6g-135-6625-80` - 135 (6625/80 MHz) * `6g-137-6635-20` - 137 (6635/20 MHz) * `6g-139-6645-40` - 139 (6645/40 MHz) * `6g-141-6655-20` - 141 (6655/20 MHz) * `6g-143-6665-160` - 143 (6665/160 MHz) * `6g-145-6675-20` - 145 (6675/20 MHz) * `6g-147-6685-40` - 147 (6685/40 MHz) * `6g-149-6695-20` - 149 (6695/20 MHz) * `6g-151-6705-80` - 151 (6705/80 MHz) * `6g-153-6715-20` - 153 (6715/20 MHz) * `6g-155-6725-40` - 155 (6725/40 MHz) * `6g-157-6735-20` - 157 (6735/20 MHz) * `6g-159-6745-320` - 159 (6745/320 MHz) * `6g-161-6755-20` - 161 (6755/20 MHz) * `6g-163-6765-40` - 163 (6765/40 MHz) * `6g-165-6775-20` - 165 (6775/20 MHz) * `6g-167-6785-80` - 167 (6785/80 MHz) * `6g-169-6795-20` - 169 (6795/20 MHz) * `6g-171-6805-40` - 171 (6805/40 MHz) * `6g-173-6815-20` - 173 (6815/20 MHz) * `6g-175-6825-160` - 175 (6825/160 MHz) * `6g-177-6835-20` - 177 (6835/20 MHz) * `6g-179-6845-40` - 179 (6845/40 MHz) * `6g-181-6855-20` - 181 (6855/20 MHz) * `6g-183-6865-80` - 183 (6865/80 MHz) * `6g-185-6875-20` - 185 (6875/20 MHz) * `6g-187-6885-40` - 187 (6885/40 MHz) * `6g-189-6895-20` - 189 (6895/20 MHz) * `6g-193-6915-20` - 193 (6915/20 MHz) * `6g-195-6925-40` - 195 (6925/40 MHz) * `6g-197-6935-20` - 197 (6935/20 MHz) * `6g-199-6945-80` - 199 (6945/80 MHz) * `6g-201-6955-20` - 201 (6955/20 MHz) * `6g-203-6965-40` - 203 (6965/40 MHz) * `6g-205-6975-20` - 205 (6975/20 MHz) * `6g-207-6985-160` - 207 (6985/160 MHz) * `6g-209-6995-20` - 209 (6995/20 MHz) * `6g-211-7005-40` - 211 (7005/40 MHz) * `6g-213-7015-20` - 213 (7015/20 MHz) * `6g-215-7025-80` - 215 (7025/80 MHz) * `6g-217-7035-20` - 217 (7035/20 MHz) * `6g-219-7045-40` - 219 (7045/40 MHz) * `6g-221-7055-20` - 221 (7055/20 MHz) * `6g-225-7075-20` - 225 (7075/20 MHz) * `6g-227-7085-40` - 227 (7085/40 MHz) * `6g-229-7095-20` - 229 (7095/20 MHz) * `6g-233-7115-20` - 233 (7115/20 MHz) * `60g-1-58320-2160` - 1 (58.32/2.16 GHz) * `60g-2-60480-2160` - 2 (60.48/2.16 GHz) * `60g-3-62640-2160` - 3 (62.64/2.16 GHz) * `60g-4-64800-2160` - 4 (64.80/2.16 GHz) * `60g-5-66960-2160` - 5 (66.96/2.16 GHz) * `60g-6-69120-2160` - 6 (69.12/2.16 GHz) * `60g-9-59400-4320` - 9 (59.40/4.32 GHz) * `60g-10-61560-4320` - 10 (61.56/4.32 GHz) * `60g-11-63720-4320` - 11 (63.72/4.32 GHz) * `60g-12-65880-4320` - 12 (65.88/4.32 GHz) * `60g-13-68040-4320` - 13 (68.04/4.32 GHz) * `60g-17-60480-6480` - 17 (60.48/6.48 GHz) * `60g-18-62640-6480` - 18 (62.64/6.48 GHz) * `60g-19-64800-6480` - 19 (64.80/6.48 GHz) * `60g-20-66960-6480` - 20 (66.96/6.48 GHz) * `60g-25-61560-6480` - 25 (61.56/8.64 GHz) * `60g-26-63720-6480` - 26 (63.72/8.64 GHz) * `60g-27-65880-6480` - 27 (65.88/8.64 GHz) (optional) + rfChannelNiew := []openapiclient.WirelessChannel{openapiclient.Wireless_channel("")} // []WirelessChannel | * `2.4g-1-2412-22` - 1 (2412 MHz) * `2.4g-2-2417-22` - 2 (2417 MHz) * `2.4g-3-2422-22` - 3 (2422 MHz) * `2.4g-4-2427-22` - 4 (2427 MHz) * `2.4g-5-2432-22` - 5 (2432 MHz) * `2.4g-6-2437-22` - 6 (2437 MHz) * `2.4g-7-2442-22` - 7 (2442 MHz) * `2.4g-8-2447-22` - 8 (2447 MHz) * `2.4g-9-2452-22` - 9 (2452 MHz) * `2.4g-10-2457-22` - 10 (2457 MHz) * `2.4g-11-2462-22` - 11 (2462 MHz) * `2.4g-12-2467-22` - 12 (2467 MHz) * `2.4g-13-2472-22` - 13 (2472 MHz) * `5g-32-5160-20` - 32 (5160/20 MHz) * `5g-34-5170-40` - 34 (5170/40 MHz) * `5g-36-5180-20` - 36 (5180/20 MHz) * `5g-38-5190-40` - 38 (5190/40 MHz) * `5g-40-5200-20` - 40 (5200/20 MHz) * `5g-42-5210-80` - 42 (5210/80 MHz) * `5g-44-5220-20` - 44 (5220/20 MHz) * `5g-46-5230-40` - 46 (5230/40 MHz) * `5g-48-5240-20` - 48 (5240/20 MHz) * `5g-50-5250-160` - 50 (5250/160 MHz) * `5g-52-5260-20` - 52 (5260/20 MHz) * `5g-54-5270-40` - 54 (5270/40 MHz) * `5g-56-5280-20` - 56 (5280/20 MHz) * `5g-58-5290-80` - 58 (5290/80 MHz) * `5g-60-5300-20` - 60 (5300/20 MHz) * `5g-62-5310-40` - 62 (5310/40 MHz) * `5g-64-5320-20` - 64 (5320/20 MHz) * `5g-100-5500-20` - 100 (5500/20 MHz) * `5g-102-5510-40` - 102 (5510/40 MHz) * `5g-104-5520-20` - 104 (5520/20 MHz) * `5g-106-5530-80` - 106 (5530/80 MHz) * `5g-108-5540-20` - 108 (5540/20 MHz) * `5g-110-5550-40` - 110 (5550/40 MHz) * `5g-112-5560-20` - 112 (5560/20 MHz) * `5g-114-5570-160` - 114 (5570/160 MHz) * `5g-116-5580-20` - 116 (5580/20 MHz) * `5g-118-5590-40` - 118 (5590/40 MHz) * `5g-120-5600-20` - 120 (5600/20 MHz) * `5g-122-5610-80` - 122 (5610/80 MHz) * `5g-124-5620-20` - 124 (5620/20 MHz) * `5g-126-5630-40` - 126 (5630/40 MHz) * `5g-128-5640-20` - 128 (5640/20 MHz) * `5g-132-5660-20` - 132 (5660/20 MHz) * `5g-134-5670-40` - 134 (5670/40 MHz) * `5g-136-5680-20` - 136 (5680/20 MHz) * `5g-138-5690-80` - 138 (5690/80 MHz) * `5g-140-5700-20` - 140 (5700/20 MHz) * `5g-142-5710-40` - 142 (5710/40 MHz) * `5g-144-5720-20` - 144 (5720/20 MHz) * `5g-149-5745-20` - 149 (5745/20 MHz) * `5g-151-5755-40` - 151 (5755/40 MHz) * `5g-153-5765-20` - 153 (5765/20 MHz) * `5g-155-5775-80` - 155 (5775/80 MHz) * `5g-157-5785-20` - 157 (5785/20 MHz) * `5g-159-5795-40` - 159 (5795/40 MHz) * `5g-161-5805-20` - 161 (5805/20 MHz) * `5g-163-5815-160` - 163 (5815/160 MHz) * `5g-165-5825-20` - 165 (5825/20 MHz) * `5g-167-5835-40` - 167 (5835/40 MHz) * `5g-169-5845-20` - 169 (5845/20 MHz) * `5g-171-5855-80` - 171 (5855/80 MHz) * `5g-173-5865-20` - 173 (5865/20 MHz) * `5g-175-5875-40` - 175 (5875/40 MHz) * `5g-177-5885-20` - 177 (5885/20 MHz) * `6g-1-5955-20` - 1 (5955/20 MHz) * `6g-3-5965-40` - 3 (5965/40 MHz) * `6g-5-5975-20` - 5 (5975/20 MHz) * `6g-7-5985-80` - 7 (5985/80 MHz) * `6g-9-5995-20` - 9 (5995/20 MHz) * `6g-11-6005-40` - 11 (6005/40 MHz) * `6g-13-6015-20` - 13 (6015/20 MHz) * `6g-15-6025-160` - 15 (6025/160 MHz) * `6g-17-6035-20` - 17 (6035/20 MHz) * `6g-19-6045-40` - 19 (6045/40 MHz) * `6g-21-6055-20` - 21 (6055/20 MHz) * `6g-23-6065-80` - 23 (6065/80 MHz) * `6g-25-6075-20` - 25 (6075/20 MHz) * `6g-27-6085-40` - 27 (6085/40 MHz) * `6g-29-6095-20` - 29 (6095/20 MHz) * `6g-31-6105-320` - 31 (6105/320 MHz) * `6g-33-6115-20` - 33 (6115/20 MHz) * `6g-35-6125-40` - 35 (6125/40 MHz) * `6g-37-6135-20` - 37 (6135/20 MHz) * `6g-39-6145-80` - 39 (6145/80 MHz) * `6g-41-6155-20` - 41 (6155/20 MHz) * `6g-43-6165-40` - 43 (6165/40 MHz) * `6g-45-6175-20` - 45 (6175/20 MHz) * `6g-47-6185-160` - 47 (6185/160 MHz) * `6g-49-6195-20` - 49 (6195/20 MHz) * `6g-51-6205-40` - 51 (6205/40 MHz) * `6g-53-6215-20` - 53 (6215/20 MHz) * `6g-55-6225-80` - 55 (6225/80 MHz) * `6g-57-6235-20` - 57 (6235/20 MHz) * `6g-59-6245-40` - 59 (6245/40 MHz) * `6g-61-6255-20` - 61 (6255/20 MHz) * `6g-65-6275-20` - 65 (6275/20 MHz) * `6g-67-6285-40` - 67 (6285/40 MHz) * `6g-69-6295-20` - 69 (6295/20 MHz) * `6g-71-6305-80` - 71 (6305/80 MHz) * `6g-73-6315-20` - 73 (6315/20 MHz) * `6g-75-6325-40` - 75 (6325/40 MHz) * `6g-77-6335-20` - 77 (6335/20 MHz) * `6g-79-6345-160` - 79 (6345/160 MHz) * `6g-81-6355-20` - 81 (6355/20 MHz) * `6g-83-6365-40` - 83 (6365/40 MHz) * `6g-85-6375-20` - 85 (6375/20 MHz) * `6g-87-6385-80` - 87 (6385/80 MHz) * `6g-89-6395-20` - 89 (6395/20 MHz) * `6g-91-6405-40` - 91 (6405/40 MHz) * `6g-93-6415-20` - 93 (6415/20 MHz) * `6g-95-6425-320` - 95 (6425/320 MHz) * `6g-97-6435-20` - 97 (6435/20 MHz) * `6g-99-6445-40` - 99 (6445/40 MHz) * `6g-101-6455-20` - 101 (6455/20 MHz) * `6g-103-6465-80` - 103 (6465/80 MHz) * `6g-105-6475-20` - 105 (6475/20 MHz) * `6g-107-6485-40` - 107 (6485/40 MHz) * `6g-109-6495-20` - 109 (6495/20 MHz) * `6g-111-6505-160` - 111 (6505/160 MHz) * `6g-113-6515-20` - 113 (6515/20 MHz) * `6g-115-6525-40` - 115 (6525/40 MHz) * `6g-117-6535-20` - 117 (6535/20 MHz) * `6g-119-6545-80` - 119 (6545/80 MHz) * `6g-121-6555-20` - 121 (6555/20 MHz) * `6g-123-6565-40` - 123 (6565/40 MHz) * `6g-125-6575-20` - 125 (6575/20 MHz) * `6g-129-6595-20` - 129 (6595/20 MHz) * `6g-131-6605-40` - 131 (6605/40 MHz) * `6g-133-6615-20` - 133 (6615/20 MHz) * `6g-135-6625-80` - 135 (6625/80 MHz) * `6g-137-6635-20` - 137 (6635/20 MHz) * `6g-139-6645-40` - 139 (6645/40 MHz) * `6g-141-6655-20` - 141 (6655/20 MHz) * `6g-143-6665-160` - 143 (6665/160 MHz) * `6g-145-6675-20` - 145 (6675/20 MHz) * `6g-147-6685-40` - 147 (6685/40 MHz) * `6g-149-6695-20` - 149 (6695/20 MHz) * `6g-151-6705-80` - 151 (6705/80 MHz) * `6g-153-6715-20` - 153 (6715/20 MHz) * `6g-155-6725-40` - 155 (6725/40 MHz) * `6g-157-6735-20` - 157 (6735/20 MHz) * `6g-159-6745-320` - 159 (6745/320 MHz) * `6g-161-6755-20` - 161 (6755/20 MHz) * `6g-163-6765-40` - 163 (6765/40 MHz) * `6g-165-6775-20` - 165 (6775/20 MHz) * `6g-167-6785-80` - 167 (6785/80 MHz) * `6g-169-6795-20` - 169 (6795/20 MHz) * `6g-171-6805-40` - 171 (6805/40 MHz) * `6g-173-6815-20` - 173 (6815/20 MHz) * `6g-175-6825-160` - 175 (6825/160 MHz) * `6g-177-6835-20` - 177 (6835/20 MHz) * `6g-179-6845-40` - 179 (6845/40 MHz) * `6g-181-6855-20` - 181 (6855/20 MHz) * `6g-183-6865-80` - 183 (6865/80 MHz) * `6g-185-6875-20` - 185 (6875/20 MHz) * `6g-187-6885-40` - 187 (6885/40 MHz) * `6g-189-6895-20` - 189 (6895/20 MHz) * `6g-193-6915-20` - 193 (6915/20 MHz) * `6g-195-6925-40` - 195 (6925/40 MHz) * `6g-197-6935-20` - 197 (6935/20 MHz) * `6g-199-6945-80` - 199 (6945/80 MHz) * `6g-201-6955-20` - 201 (6955/20 MHz) * `6g-203-6965-40` - 203 (6965/40 MHz) * `6g-205-6975-20` - 205 (6975/20 MHz) * `6g-207-6985-160` - 207 (6985/160 MHz) * `6g-209-6995-20` - 209 (6995/20 MHz) * `6g-211-7005-40` - 211 (7005/40 MHz) * `6g-213-7015-20` - 213 (7015/20 MHz) * `6g-215-7025-80` - 215 (7025/80 MHz) * `6g-217-7035-20` - 217 (7035/20 MHz) * `6g-219-7045-40` - 219 (7045/40 MHz) * `6g-221-7055-20` - 221 (7055/20 MHz) * `6g-225-7075-20` - 225 (7075/20 MHz) * `6g-227-7085-40` - 227 (7085/40 MHz) * `6g-229-7095-20` - 229 (7095/20 MHz) * `6g-233-7115-20` - 233 (7115/20 MHz) * `60g-1-58320-2160` - 1 (58.32/2.16 GHz) * `60g-2-60480-2160` - 2 (60.48/2.16 GHz) * `60g-3-62640-2160` - 3 (62.64/2.16 GHz) * `60g-4-64800-2160` - 4 (64.80/2.16 GHz) * `60g-5-66960-2160` - 5 (66.96/2.16 GHz) * `60g-6-69120-2160` - 6 (69.12/2.16 GHz) * `60g-9-59400-4320` - 9 (59.40/4.32 GHz) * `60g-10-61560-4320` - 10 (61.56/4.32 GHz) * `60g-11-63720-4320` - 11 (63.72/4.32 GHz) * `60g-12-65880-4320` - 12 (65.88/4.32 GHz) * `60g-13-68040-4320` - 13 (68.04/4.32 GHz) * `60g-17-60480-6480` - 17 (60.48/6.48 GHz) * `60g-18-62640-6480` - 18 (62.64/6.48 GHz) * `60g-19-64800-6480` - 19 (64.80/6.48 GHz) * `60g-20-66960-6480` - 20 (66.96/6.48 GHz) * `60g-25-61560-6480` - 25 (61.56/8.64 GHz) * `60g-26-63720-6480` - 26 (63.72/8.64 GHz) * `60g-27-65880-6480` - 27 (65.88/8.64 GHz) (optional) + rfChannelNisw := []openapiclient.WirelessChannel{openapiclient.Wireless_channel("")} // []WirelessChannel | * `2.4g-1-2412-22` - 1 (2412 MHz) * `2.4g-2-2417-22` - 2 (2417 MHz) * `2.4g-3-2422-22` - 3 (2422 MHz) * `2.4g-4-2427-22` - 4 (2427 MHz) * `2.4g-5-2432-22` - 5 (2432 MHz) * `2.4g-6-2437-22` - 6 (2437 MHz) * `2.4g-7-2442-22` - 7 (2442 MHz) * `2.4g-8-2447-22` - 8 (2447 MHz) * `2.4g-9-2452-22` - 9 (2452 MHz) * `2.4g-10-2457-22` - 10 (2457 MHz) * `2.4g-11-2462-22` - 11 (2462 MHz) * `2.4g-12-2467-22` - 12 (2467 MHz) * `2.4g-13-2472-22` - 13 (2472 MHz) * `5g-32-5160-20` - 32 (5160/20 MHz) * `5g-34-5170-40` - 34 (5170/40 MHz) * `5g-36-5180-20` - 36 (5180/20 MHz) * `5g-38-5190-40` - 38 (5190/40 MHz) * `5g-40-5200-20` - 40 (5200/20 MHz) * `5g-42-5210-80` - 42 (5210/80 MHz) * `5g-44-5220-20` - 44 (5220/20 MHz) * `5g-46-5230-40` - 46 (5230/40 MHz) * `5g-48-5240-20` - 48 (5240/20 MHz) * `5g-50-5250-160` - 50 (5250/160 MHz) * `5g-52-5260-20` - 52 (5260/20 MHz) * `5g-54-5270-40` - 54 (5270/40 MHz) * `5g-56-5280-20` - 56 (5280/20 MHz) * `5g-58-5290-80` - 58 (5290/80 MHz) * `5g-60-5300-20` - 60 (5300/20 MHz) * `5g-62-5310-40` - 62 (5310/40 MHz) * `5g-64-5320-20` - 64 (5320/20 MHz) * `5g-100-5500-20` - 100 (5500/20 MHz) * `5g-102-5510-40` - 102 (5510/40 MHz) * `5g-104-5520-20` - 104 (5520/20 MHz) * `5g-106-5530-80` - 106 (5530/80 MHz) * `5g-108-5540-20` - 108 (5540/20 MHz) * `5g-110-5550-40` - 110 (5550/40 MHz) * `5g-112-5560-20` - 112 (5560/20 MHz) * `5g-114-5570-160` - 114 (5570/160 MHz) * `5g-116-5580-20` - 116 (5580/20 MHz) * `5g-118-5590-40` - 118 (5590/40 MHz) * `5g-120-5600-20` - 120 (5600/20 MHz) * `5g-122-5610-80` - 122 (5610/80 MHz) * `5g-124-5620-20` - 124 (5620/20 MHz) * `5g-126-5630-40` - 126 (5630/40 MHz) * `5g-128-5640-20` - 128 (5640/20 MHz) * `5g-132-5660-20` - 132 (5660/20 MHz) * `5g-134-5670-40` - 134 (5670/40 MHz) * `5g-136-5680-20` - 136 (5680/20 MHz) * `5g-138-5690-80` - 138 (5690/80 MHz) * `5g-140-5700-20` - 140 (5700/20 MHz) * `5g-142-5710-40` - 142 (5710/40 MHz) * `5g-144-5720-20` - 144 (5720/20 MHz) * `5g-149-5745-20` - 149 (5745/20 MHz) * `5g-151-5755-40` - 151 (5755/40 MHz) * `5g-153-5765-20` - 153 (5765/20 MHz) * `5g-155-5775-80` - 155 (5775/80 MHz) * `5g-157-5785-20` - 157 (5785/20 MHz) * `5g-159-5795-40` - 159 (5795/40 MHz) * `5g-161-5805-20` - 161 (5805/20 MHz) * `5g-163-5815-160` - 163 (5815/160 MHz) * `5g-165-5825-20` - 165 (5825/20 MHz) * `5g-167-5835-40` - 167 (5835/40 MHz) * `5g-169-5845-20` - 169 (5845/20 MHz) * `5g-171-5855-80` - 171 (5855/80 MHz) * `5g-173-5865-20` - 173 (5865/20 MHz) * `5g-175-5875-40` - 175 (5875/40 MHz) * `5g-177-5885-20` - 177 (5885/20 MHz) * `6g-1-5955-20` - 1 (5955/20 MHz) * `6g-3-5965-40` - 3 (5965/40 MHz) * `6g-5-5975-20` - 5 (5975/20 MHz) * `6g-7-5985-80` - 7 (5985/80 MHz) * `6g-9-5995-20` - 9 (5995/20 MHz) * `6g-11-6005-40` - 11 (6005/40 MHz) * `6g-13-6015-20` - 13 (6015/20 MHz) * `6g-15-6025-160` - 15 (6025/160 MHz) * `6g-17-6035-20` - 17 (6035/20 MHz) * `6g-19-6045-40` - 19 (6045/40 MHz) * `6g-21-6055-20` - 21 (6055/20 MHz) * `6g-23-6065-80` - 23 (6065/80 MHz) * `6g-25-6075-20` - 25 (6075/20 MHz) * `6g-27-6085-40` - 27 (6085/40 MHz) * `6g-29-6095-20` - 29 (6095/20 MHz) * `6g-31-6105-320` - 31 (6105/320 MHz) * `6g-33-6115-20` - 33 (6115/20 MHz) * `6g-35-6125-40` - 35 (6125/40 MHz) * `6g-37-6135-20` - 37 (6135/20 MHz) * `6g-39-6145-80` - 39 (6145/80 MHz) * `6g-41-6155-20` - 41 (6155/20 MHz) * `6g-43-6165-40` - 43 (6165/40 MHz) * `6g-45-6175-20` - 45 (6175/20 MHz) * `6g-47-6185-160` - 47 (6185/160 MHz) * `6g-49-6195-20` - 49 (6195/20 MHz) * `6g-51-6205-40` - 51 (6205/40 MHz) * `6g-53-6215-20` - 53 (6215/20 MHz) * `6g-55-6225-80` - 55 (6225/80 MHz) * `6g-57-6235-20` - 57 (6235/20 MHz) * `6g-59-6245-40` - 59 (6245/40 MHz) * `6g-61-6255-20` - 61 (6255/20 MHz) * `6g-65-6275-20` - 65 (6275/20 MHz) * `6g-67-6285-40` - 67 (6285/40 MHz) * `6g-69-6295-20` - 69 (6295/20 MHz) * `6g-71-6305-80` - 71 (6305/80 MHz) * `6g-73-6315-20` - 73 (6315/20 MHz) * `6g-75-6325-40` - 75 (6325/40 MHz) * `6g-77-6335-20` - 77 (6335/20 MHz) * `6g-79-6345-160` - 79 (6345/160 MHz) * `6g-81-6355-20` - 81 (6355/20 MHz) * `6g-83-6365-40` - 83 (6365/40 MHz) * `6g-85-6375-20` - 85 (6375/20 MHz) * `6g-87-6385-80` - 87 (6385/80 MHz) * `6g-89-6395-20` - 89 (6395/20 MHz) * `6g-91-6405-40` - 91 (6405/40 MHz) * `6g-93-6415-20` - 93 (6415/20 MHz) * `6g-95-6425-320` - 95 (6425/320 MHz) * `6g-97-6435-20` - 97 (6435/20 MHz) * `6g-99-6445-40` - 99 (6445/40 MHz) * `6g-101-6455-20` - 101 (6455/20 MHz) * `6g-103-6465-80` - 103 (6465/80 MHz) * `6g-105-6475-20` - 105 (6475/20 MHz) * `6g-107-6485-40` - 107 (6485/40 MHz) * `6g-109-6495-20` - 109 (6495/20 MHz) * `6g-111-6505-160` - 111 (6505/160 MHz) * `6g-113-6515-20` - 113 (6515/20 MHz) * `6g-115-6525-40` - 115 (6525/40 MHz) * `6g-117-6535-20` - 117 (6535/20 MHz) * `6g-119-6545-80` - 119 (6545/80 MHz) * `6g-121-6555-20` - 121 (6555/20 MHz) * `6g-123-6565-40` - 123 (6565/40 MHz) * `6g-125-6575-20` - 125 (6575/20 MHz) * `6g-129-6595-20` - 129 (6595/20 MHz) * `6g-131-6605-40` - 131 (6605/40 MHz) * `6g-133-6615-20` - 133 (6615/20 MHz) * `6g-135-6625-80` - 135 (6625/80 MHz) * `6g-137-6635-20` - 137 (6635/20 MHz) * `6g-139-6645-40` - 139 (6645/40 MHz) * `6g-141-6655-20` - 141 (6655/20 MHz) * `6g-143-6665-160` - 143 (6665/160 MHz) * `6g-145-6675-20` - 145 (6675/20 MHz) * `6g-147-6685-40` - 147 (6685/40 MHz) * `6g-149-6695-20` - 149 (6695/20 MHz) * `6g-151-6705-80` - 151 (6705/80 MHz) * `6g-153-6715-20` - 153 (6715/20 MHz) * `6g-155-6725-40` - 155 (6725/40 MHz) * `6g-157-6735-20` - 157 (6735/20 MHz) * `6g-159-6745-320` - 159 (6745/320 MHz) * `6g-161-6755-20` - 161 (6755/20 MHz) * `6g-163-6765-40` - 163 (6765/40 MHz) * `6g-165-6775-20` - 165 (6775/20 MHz) * `6g-167-6785-80` - 167 (6785/80 MHz) * `6g-169-6795-20` - 169 (6795/20 MHz) * `6g-171-6805-40` - 171 (6805/40 MHz) * `6g-173-6815-20` - 173 (6815/20 MHz) * `6g-175-6825-160` - 175 (6825/160 MHz) * `6g-177-6835-20` - 177 (6835/20 MHz) * `6g-179-6845-40` - 179 (6845/40 MHz) * `6g-181-6855-20` - 181 (6855/20 MHz) * `6g-183-6865-80` - 183 (6865/80 MHz) * `6g-185-6875-20` - 185 (6875/20 MHz) * `6g-187-6885-40` - 187 (6885/40 MHz) * `6g-189-6895-20` - 189 (6895/20 MHz) * `6g-193-6915-20` - 193 (6915/20 MHz) * `6g-195-6925-40` - 195 (6925/40 MHz) * `6g-197-6935-20` - 197 (6935/20 MHz) * `6g-199-6945-80` - 199 (6945/80 MHz) * `6g-201-6955-20` - 201 (6955/20 MHz) * `6g-203-6965-40` - 203 (6965/40 MHz) * `6g-205-6975-20` - 205 (6975/20 MHz) * `6g-207-6985-160` - 207 (6985/160 MHz) * `6g-209-6995-20` - 209 (6995/20 MHz) * `6g-211-7005-40` - 211 (7005/40 MHz) * `6g-213-7015-20` - 213 (7015/20 MHz) * `6g-215-7025-80` - 215 (7025/80 MHz) * `6g-217-7035-20` - 217 (7035/20 MHz) * `6g-219-7045-40` - 219 (7045/40 MHz) * `6g-221-7055-20` - 221 (7055/20 MHz) * `6g-225-7075-20` - 225 (7075/20 MHz) * `6g-227-7085-40` - 227 (7085/40 MHz) * `6g-229-7095-20` - 229 (7095/20 MHz) * `6g-233-7115-20` - 233 (7115/20 MHz) * `60g-1-58320-2160` - 1 (58.32/2.16 GHz) * `60g-2-60480-2160` - 2 (60.48/2.16 GHz) * `60g-3-62640-2160` - 3 (62.64/2.16 GHz) * `60g-4-64800-2160` - 4 (64.80/2.16 GHz) * `60g-5-66960-2160` - 5 (66.96/2.16 GHz) * `60g-6-69120-2160` - 6 (69.12/2.16 GHz) * `60g-9-59400-4320` - 9 (59.40/4.32 GHz) * `60g-10-61560-4320` - 10 (61.56/4.32 GHz) * `60g-11-63720-4320` - 11 (63.72/4.32 GHz) * `60g-12-65880-4320` - 12 (65.88/4.32 GHz) * `60g-13-68040-4320` - 13 (68.04/4.32 GHz) * `60g-17-60480-6480` - 17 (60.48/6.48 GHz) * `60g-18-62640-6480` - 18 (62.64/6.48 GHz) * `60g-19-64800-6480` - 19 (64.80/6.48 GHz) * `60g-20-66960-6480` - 20 (66.96/6.48 GHz) * `60g-25-61560-6480` - 25 (61.56/8.64 GHz) * `60g-26-63720-6480` - 26 (63.72/8.64 GHz) * `60g-27-65880-6480` - 27 (65.88/8.64 GHz) (optional) rfChannelFrequency := []float64{float64(123)} // []float64 | (optional) rfChannelFrequencyEmpty := true // bool | (optional) rfChannelFrequencyGt := []float64{float64(123)} // []float64 | (optional) @@ -12786,17 +13092,22 @@ func main() { rfChannelWidthLte := []float64{float64(123)} // []float64 | (optional) rfChannelWidthN := []float64{float64(123)} // []float64 | (optional) rfRole := []string{"Inner_example"} // []string | (optional) - rfRoleN := []string{"Inner_example"} // []string | (optional) - role := []string{"Inner_example"} // []string | Device role (slug) (optional) - roleN := []string{"Inner_example"} // []string | Device role (slug) (optional) - roleId := []int32{int32(123)} // []int32 | Device role (ID) (optional) - roleIdN := []int32{int32(123)} // []int32 | Device role (ID) (optional) + rfRoleEmpty := true // bool | (optional) + rfRoleIc := []openapiclient.WirelessRole{openapiclient.Wireless_role("")} // []WirelessRole | * `ap` - Access point * `station` - Station (optional) + rfRoleIe := []openapiclient.WirelessRole{openapiclient.Wireless_role("")} // []WirelessRole | * `ap` - Access point * `station` - Station (optional) + rfRoleIew := []openapiclient.WirelessRole{openapiclient.Wireless_role("")} // []WirelessRole | * `ap` - Access point * `station` - Station (optional) + rfRoleIsw := []openapiclient.WirelessRole{openapiclient.Wireless_role("")} // []WirelessRole | * `ap` - Access point * `station` - Station (optional) + rfRoleN := []openapiclient.WirelessRole{openapiclient.Wireless_role("")} // []WirelessRole | * `ap` - Access point * `station` - Station (optional) + rfRoleNic := []openapiclient.WirelessRole{openapiclient.Wireless_role("")} // []WirelessRole | * `ap` - Access point * `station` - Station (optional) + rfRoleNie := []openapiclient.WirelessRole{openapiclient.Wireless_role("")} // []WirelessRole | * `ap` - Access point * `station` - Station (optional) + rfRoleNiew := []openapiclient.WirelessRole{openapiclient.Wireless_role("")} // []WirelessRole | * `ap` - Access point * `station` - Station (optional) + rfRoleNisw := []openapiclient.WirelessRole{openapiclient.Wireless_role("")} // []WirelessRole | * `ap` - Access point * `station` - Station (optional) site := []string{"Inner_example"} // []string | Site name (slug) (optional) siteN := []string{"Inner_example"} // []string | Site name (slug) (optional) - siteGroup := []int32{int32(123)} // []int32 | Site group (slug) (optional) - siteGroupN := []int32{int32(123)} // []int32 | Site group (slug) (optional) - siteGroupId := []int32{int32(123)} // []int32 | Site group (ID) (optional) - siteGroupIdN := []int32{int32(123)} // []int32 | Site group (ID) (optional) + siteGroup := []string{"Inner_example"} // []string | (optional) + siteGroupN := []string{"Inner_example"} // []string | (optional) + siteGroupId := []string{"Inner_example"} // []string | (optional) + siteGroupIdN := []string{"Inner_example"} // []string | (optional) siteId := []int32{int32(123)} // []int32 | Site (ID) (optional) siteIdN := []int32{int32(123)} // []int32 | Site (ID) (optional) speed := []int32{int32(123)} // []int32 | (optional) @@ -12816,7 +13127,16 @@ func main() { txPowerLte := []int32{int32(123)} // []int32 | (optional) txPowerN := []int32{int32(123)} // []int32 | (optional) type_ := []string{"Inner_example"} // []string | (optional) - typeN := []string{"Inner_example"} // []string | (optional) + typeEmpty := true // bool | (optional) + typeIc := []openapiclient.DcimInterfaceTemplatesListTypeIcParameterInner{openapiclient.dcim_interface_templates_list_type__ic_parameter_inner("1000base-kx")} // []DcimInterfaceTemplatesListTypeIcParameterInner | * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other (optional) + typeIe := []openapiclient.DcimInterfaceTemplatesListTypeIcParameterInner{openapiclient.dcim_interface_templates_list_type__ic_parameter_inner("1000base-kx")} // []DcimInterfaceTemplatesListTypeIcParameterInner | * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other (optional) + typeIew := []openapiclient.DcimInterfaceTemplatesListTypeIcParameterInner{openapiclient.dcim_interface_templates_list_type__ic_parameter_inner("1000base-kx")} // []DcimInterfaceTemplatesListTypeIcParameterInner | * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other (optional) + typeIsw := []openapiclient.DcimInterfaceTemplatesListTypeIcParameterInner{openapiclient.dcim_interface_templates_list_type__ic_parameter_inner("1000base-kx")} // []DcimInterfaceTemplatesListTypeIcParameterInner | * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other (optional) + typeN := []openapiclient.DcimInterfaceTemplatesListTypeIcParameterInner{openapiclient.dcim_interface_templates_list_type__ic_parameter_inner("1000base-kx")} // []DcimInterfaceTemplatesListTypeIcParameterInner | * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other (optional) + typeNic := []openapiclient.DcimInterfaceTemplatesListTypeIcParameterInner{openapiclient.dcim_interface_templates_list_type__ic_parameter_inner("1000base-kx")} // []DcimInterfaceTemplatesListTypeIcParameterInner | * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other (optional) + typeNie := []openapiclient.DcimInterfaceTemplatesListTypeIcParameterInner{openapiclient.dcim_interface_templates_list_type__ic_parameter_inner("1000base-kx")} // []DcimInterfaceTemplatesListTypeIcParameterInner | * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other (optional) + typeNiew := []openapiclient.DcimInterfaceTemplatesListTypeIcParameterInner{openapiclient.dcim_interface_templates_list_type__ic_parameter_inner("1000base-kx")} // []DcimInterfaceTemplatesListTypeIcParameterInner | * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other (optional) + typeNisw := []openapiclient.DcimInterfaceTemplatesListTypeIcParameterInner{openapiclient.dcim_interface_templates_list_type__ic_parameter_inner("1000base-kx")} // []DcimInterfaceTemplatesListTypeIcParameterInner | * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other (optional) updatedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) vdc := []string{"Inner_example"} // []string | Virtual Device Context (optional) vdcN := []string{"Inner_example"} // []string | Virtual Device Context (optional) @@ -12853,7 +13173,7 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.DcimAPI.DcimInterfacesList(context.Background()).BridgeId(bridgeId).BridgeIdN(bridgeIdN).CableEnd(cableEnd).CableEndN(cableEndN).CableId(cableId).CableIdN(cableIdN).Cabled(cabled).Connected(connected).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceN(deviceN).DeviceId(deviceId).DeviceIdN(deviceIdN).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Duplex(duplex).DuplexN(duplexN).Enabled(enabled).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Kind(kind).L2vpn(l2vpn).L2vpnN(l2vpnN).L2vpnId(l2vpnId).L2vpnIdN(l2vpnIdN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LagId(lagId).LagIdN(lagIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).LocationId(locationId).LocationIdN(locationIdN).MacAddress(macAddress).MacAddressIc(macAddressIc).MacAddressIe(macAddressIe).MacAddressIew(macAddressIew).MacAddressIsw(macAddressIsw).MacAddressN(macAddressN).MacAddressNic(macAddressNic).MacAddressNie(macAddressNie).MacAddressNiew(macAddressNiew).MacAddressNisw(macAddressNisw).MarkConnected(markConnected).MgmtOnly(mgmtOnly).Mode(mode).ModeN(modeN).ModifiedByRequest(modifiedByRequest).ModuleId(moduleId).ModuleIdN(moduleIdN).Mtu(mtu).MtuEmpty(mtuEmpty).MtuGt(mtuGt).MtuGte(mtuGte).MtuLt(mtuLt).MtuLte(mtuLte).MtuN(mtuN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Occupied(occupied).Offset(offset).Ordering(ordering).ParentId(parentId).ParentIdN(parentIdN).PoeMode(poeMode).PoeModeN(poeModeN).PoeType(poeType).PoeTypeN(poeTypeN).Q(q).Rack(rack).RackN(rackN).RackId(rackId).RackIdN(rackIdN).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).RfChannel(rfChannel).RfChannelN(rfChannelN).RfChannelFrequency(rfChannelFrequency).RfChannelFrequencyEmpty(rfChannelFrequencyEmpty).RfChannelFrequencyGt(rfChannelFrequencyGt).RfChannelFrequencyGte(rfChannelFrequencyGte).RfChannelFrequencyLt(rfChannelFrequencyLt).RfChannelFrequencyLte(rfChannelFrequencyLte).RfChannelFrequencyN(rfChannelFrequencyN).RfChannelWidth(rfChannelWidth).RfChannelWidthEmpty(rfChannelWidthEmpty).RfChannelWidthGt(rfChannelWidthGt).RfChannelWidthGte(rfChannelWidthGte).RfChannelWidthLt(rfChannelWidthLt).RfChannelWidthLte(rfChannelWidthLte).RfChannelWidthN(rfChannelWidthN).RfRole(rfRole).RfRoleN(rfRoleN).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Speed(speed).SpeedEmpty(speedEmpty).SpeedGt(speedGt).SpeedGte(speedGte).SpeedLt(speedLt).SpeedLte(speedLte).SpeedN(speedN).Tag(tag).TagN(tagN).TxPower(txPower).TxPowerEmpty(txPowerEmpty).TxPowerGt(txPowerGt).TxPowerGte(txPowerGte).TxPowerLt(txPowerLt).TxPowerLte(txPowerLte).TxPowerN(txPowerN).Type_(type_).TypeN(typeN).UpdatedByRequest(updatedByRequest).Vdc(vdc).VdcN(vdcN).VdcId(vdcId).VdcIdN(vdcIdN).VdcIdentifier(vdcIdentifier).VdcIdentifierN(vdcIdentifierN).VirtualChassis(virtualChassis).VirtualChassisN(virtualChassisN).VirtualChassisId(virtualChassisId).VirtualChassisIdN(virtualChassisIdN).VirtualChassisMember(virtualChassisMember).VirtualChassisMemberId(virtualChassisMemberId).Vlan(vlan).VlanId(vlanId).Vrf(vrf).VrfN(vrfN).VrfId(vrfId).VrfIdN(vrfIdN).WirelessLanId(wirelessLanId).WirelessLanIdN(wirelessLanIdN).WirelessLinkId(wirelessLinkId).WirelessLinkIdN(wirelessLinkIdN).Wwn(wwn).WwnIc(wwnIc).WwnIe(wwnIe).WwnIew(wwnIew).WwnIsw(wwnIsw).WwnN(wwnN).WwnNic(wwnNic).WwnNie(wwnNie).WwnNiew(wwnNiew).WwnNisw(wwnNisw).Execute() + resp, r, err := apiClient.DcimAPI.DcimInterfacesList(context.Background()).BridgeId(bridgeId).BridgeIdN(bridgeIdN).CableEnd(cableEnd).CableId(cableId).CableIdN(cableIdN).Cabled(cabled).Connected(connected).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceN(deviceN).DeviceId(deviceId).DeviceIdN(deviceIdN).DeviceRole(deviceRole).DeviceRoleN(deviceRoleN).DeviceRoleId(deviceRoleId).DeviceRoleIdN(deviceRoleIdN).DeviceStatus(deviceStatus).DeviceStatusEmpty(deviceStatusEmpty).DeviceStatusIc(deviceStatusIc).DeviceStatusIe(deviceStatusIe).DeviceStatusIew(deviceStatusIew).DeviceStatusIsw(deviceStatusIsw).DeviceStatusN(deviceStatusN).DeviceStatusNic(deviceStatusNic).DeviceStatusNie(deviceStatusNie).DeviceStatusNiew(deviceStatusNiew).DeviceStatusNisw(deviceStatusNisw).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Duplex(duplex).DuplexEmpty(duplexEmpty).DuplexIc(duplexIc).DuplexIe(duplexIe).DuplexIew(duplexIew).DuplexIsw(duplexIsw).DuplexN(duplexN).DuplexNic(duplexNic).DuplexNie(duplexNie).DuplexNiew(duplexNiew).DuplexNisw(duplexNisw).Enabled(enabled).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Kind(kind).L2vpn(l2vpn).L2vpnN(l2vpnN).L2vpnId(l2vpnId).L2vpnIdN(l2vpnIdN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LagId(lagId).LagIdN(lagIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).LocationId(locationId).LocationIdN(locationIdN).MacAddress(macAddress).MacAddressIc(macAddressIc).MacAddressIe(macAddressIe).MacAddressIew(macAddressIew).MacAddressIsw(macAddressIsw).MacAddressN(macAddressN).MacAddressNic(macAddressNic).MacAddressNie(macAddressNie).MacAddressNiew(macAddressNiew).MacAddressNisw(macAddressNisw).MarkConnected(markConnected).MgmtOnly(mgmtOnly).Mode(mode).ModifiedByRequest(modifiedByRequest).ModuleId(moduleId).ModuleIdN(moduleIdN).Mtu(mtu).MtuEmpty(mtuEmpty).MtuGt(mtuGt).MtuGte(mtuGte).MtuLt(mtuLt).MtuLte(mtuLte).MtuN(mtuN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Occupied(occupied).Offset(offset).Ordering(ordering).ParentId(parentId).ParentIdN(parentIdN).PoeMode(poeMode).PoeModeEmpty(poeModeEmpty).PoeModeIc(poeModeIc).PoeModeIe(poeModeIe).PoeModeIew(poeModeIew).PoeModeIsw(poeModeIsw).PoeModeN(poeModeN).PoeModeNic(poeModeNic).PoeModeNie(poeModeNie).PoeModeNiew(poeModeNiew).PoeModeNisw(poeModeNisw).PoeType(poeType).PoeTypeEmpty(poeTypeEmpty).PoeTypeIc(poeTypeIc).PoeTypeIe(poeTypeIe).PoeTypeIew(poeTypeIew).PoeTypeIsw(poeTypeIsw).PoeTypeN(poeTypeN).PoeTypeNic(poeTypeNic).PoeTypeNie(poeTypeNie).PoeTypeNiew(poeTypeNiew).PoeTypeNisw(poeTypeNisw).Q(q).Rack(rack).RackN(rackN).RackId(rackId).RackIdN(rackIdN).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).RfChannel(rfChannel).RfChannelEmpty(rfChannelEmpty).RfChannelIc(rfChannelIc).RfChannelIe(rfChannelIe).RfChannelIew(rfChannelIew).RfChannelIsw(rfChannelIsw).RfChannelN(rfChannelN).RfChannelNic(rfChannelNic).RfChannelNie(rfChannelNie).RfChannelNiew(rfChannelNiew).RfChannelNisw(rfChannelNisw).RfChannelFrequency(rfChannelFrequency).RfChannelFrequencyEmpty(rfChannelFrequencyEmpty).RfChannelFrequencyGt(rfChannelFrequencyGt).RfChannelFrequencyGte(rfChannelFrequencyGte).RfChannelFrequencyLt(rfChannelFrequencyLt).RfChannelFrequencyLte(rfChannelFrequencyLte).RfChannelFrequencyN(rfChannelFrequencyN).RfChannelWidth(rfChannelWidth).RfChannelWidthEmpty(rfChannelWidthEmpty).RfChannelWidthGt(rfChannelWidthGt).RfChannelWidthGte(rfChannelWidthGte).RfChannelWidthLt(rfChannelWidthLt).RfChannelWidthLte(rfChannelWidthLte).RfChannelWidthN(rfChannelWidthN).RfRole(rfRole).RfRoleEmpty(rfRoleEmpty).RfRoleIc(rfRoleIc).RfRoleIe(rfRoleIe).RfRoleIew(rfRoleIew).RfRoleIsw(rfRoleIsw).RfRoleN(rfRoleN).RfRoleNic(rfRoleNic).RfRoleNie(rfRoleNie).RfRoleNiew(rfRoleNiew).RfRoleNisw(rfRoleNisw).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Speed(speed).SpeedEmpty(speedEmpty).SpeedGt(speedGt).SpeedGte(speedGte).SpeedLt(speedLt).SpeedLte(speedLte).SpeedN(speedN).Tag(tag).TagN(tagN).TxPower(txPower).TxPowerEmpty(txPowerEmpty).TxPowerGt(txPowerGt).TxPowerGte(txPowerGte).TxPowerLt(txPowerLt).TxPowerLte(txPowerLte).TxPowerN(txPowerN).Type_(type_).TypeEmpty(typeEmpty).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNisw(typeNisw).UpdatedByRequest(updatedByRequest).Vdc(vdc).VdcN(vdcN).VdcId(vdcId).VdcIdN(vdcIdN).VdcIdentifier(vdcIdentifier).VdcIdentifierN(vdcIdentifierN).VirtualChassis(virtualChassis).VirtualChassisN(virtualChassisN).VirtualChassisId(virtualChassisId).VirtualChassisIdN(virtualChassisIdN).VirtualChassisMember(virtualChassisMember).VirtualChassisMemberId(virtualChassisMemberId).Vlan(vlan).VlanId(vlanId).Vrf(vrf).VrfN(vrfN).VrfId(vrfId).VrfIdN(vrfIdN).WirelessLanId(wirelessLanId).WirelessLanIdN(wirelessLanIdN).WirelessLinkId(wirelessLinkId).WirelessLinkIdN(wirelessLinkIdN).Wwn(wwn).WwnIc(wwnIc).WwnIe(wwnIe).WwnIew(wwnIew).WwnIsw(wwnIsw).WwnN(wwnN).WwnNic(wwnNic).WwnNie(wwnNie).WwnNiew(wwnNiew).WwnNisw(wwnNisw).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInterfacesList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -12877,7 +13197,6 @@ Name | Type | Description | Notes **bridgeId** | **[]int32** | Bridged interface (ID) | **bridgeIdN** | **[]int32** | Bridged interface (ID) | **cableEnd** | [**CircuitsCircuitTerminationsListCableEndParameter**](CircuitsCircuitTerminationsListCableEndParameter.md) | * `A` - A * `B` - B | - **cableEndN** | [**CircuitsCircuitTerminationsListCableEndParameter**](CircuitsCircuitTerminationsListCableEndParameter.md) | * `A` - A * `B` - B | **cableId** | **[]int32** | Cable (ID) | **cableIdN** | **[]int32** | Cable (ID) | **cabled** | **bool** | | @@ -12905,12 +13224,36 @@ Name | Type | Description | Notes **deviceN** | **[]string** | Device (name) | **deviceId** | **[]int32** | Device (ID) | **deviceIdN** | **[]int32** | Device (ID) | + **deviceRole** | **[]string** | Device role (slug) | + **deviceRoleN** | **[]string** | Device role (slug) | + **deviceRoleId** | **[]int32** | Device role (ID) | + **deviceRoleIdN** | **[]int32** | Device role (ID) | + **deviceStatus** | **[]string** | | + **deviceStatusEmpty** | **bool** | | + **deviceStatusIc** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusIe** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusIew** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusIsw** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusN** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusNic** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusNie** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusNiew** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusNisw** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | **deviceType** | **[]string** | Device type (model) | **deviceTypeN** | **[]string** | Device type (model) | **deviceTypeId** | **[]int32** | Device type (ID) | **deviceTypeIdN** | **[]int32** | Device type (ID) | **duplex** | **[]string** | | - **duplexN** | **[]string** | | + **duplexEmpty** | **bool** | | + **duplexIc** | [**[]DcimInterfacesListDuplexIcParameterInner**](DcimInterfacesListDuplexIcParameterInner.md) | * `half` - Half * `full` - Full * `auto` - Auto | + **duplexIe** | [**[]DcimInterfacesListDuplexIcParameterInner**](DcimInterfacesListDuplexIcParameterInner.md) | * `half` - Half * `full` - Full * `auto` - Auto | + **duplexIew** | [**[]DcimInterfacesListDuplexIcParameterInner**](DcimInterfacesListDuplexIcParameterInner.md) | * `half` - Half * `full` - Full * `auto` - Auto | + **duplexIsw** | [**[]DcimInterfacesListDuplexIcParameterInner**](DcimInterfacesListDuplexIcParameterInner.md) | * `half` - Half * `full` - Full * `auto` - Auto | + **duplexN** | [**[]DcimInterfacesListDuplexIcParameterInner**](DcimInterfacesListDuplexIcParameterInner.md) | * `half` - Half * `full` - Full * `auto` - Auto | + **duplexNic** | [**[]DcimInterfacesListDuplexIcParameterInner**](DcimInterfacesListDuplexIcParameterInner.md) | * `half` - Half * `full` - Full * `auto` - Auto | + **duplexNie** | [**[]DcimInterfacesListDuplexIcParameterInner**](DcimInterfacesListDuplexIcParameterInner.md) | * `half` - Half * `full` - Full * `auto` - Auto | + **duplexNiew** | [**[]DcimInterfacesListDuplexIcParameterInner**](DcimInterfacesListDuplexIcParameterInner.md) | * `half` - Half * `full` - Full * `auto` - Auto | + **duplexNisw** | [**[]DcimInterfacesListDuplexIcParameterInner**](DcimInterfacesListDuplexIcParameterInner.md) | * `half` - Half * `full` - Full * `auto` - Auto | **enabled** | **bool** | | **id** | **[]int32** | | **idEmpty** | **bool** | | @@ -12962,7 +13305,6 @@ Name | Type | Description | Notes **markConnected** | **bool** | | **mgmtOnly** | **bool** | | **mode** | [**DcimInterfacesListModeParameter**](DcimInterfacesListModeParameter.md) | IEEE 802.1Q tagging strategy * `access` - Access * `tagged` - Tagged * `tagged-all` - Tagged (All) | - **modeN** | [**DcimInterfacesListModeParameter**](DcimInterfacesListModeParameter.md) | IEEE 802.1Q tagging strategy * `access` - Access * `tagged` - Tagged * `tagged-all` - Tagged (All) | **modifiedByRequest** | **string** | | **moduleId** | **[]int32** | Module (ID) | **moduleIdN** | **[]int32** | Module (ID) | @@ -12990,20 +13332,47 @@ Name | Type | Description | Notes **parentId** | **[]int32** | Parent interface (ID) | **parentIdN** | **[]int32** | Parent interface (ID) | **poeMode** | **[]string** | | - **poeModeN** | **[]string** | | + **poeModeEmpty** | **bool** | | + **poeModeIc** | [**[]DcimInterfaceTemplatesListPoeModeIcParameterInner**](DcimInterfaceTemplatesListPoeModeIcParameterInner.md) | * `pd` - PD * `pse` - PSE | + **poeModeIe** | [**[]DcimInterfaceTemplatesListPoeModeIcParameterInner**](DcimInterfaceTemplatesListPoeModeIcParameterInner.md) | * `pd` - PD * `pse` - PSE | + **poeModeIew** | [**[]DcimInterfaceTemplatesListPoeModeIcParameterInner**](DcimInterfaceTemplatesListPoeModeIcParameterInner.md) | * `pd` - PD * `pse` - PSE | + **poeModeIsw** | [**[]DcimInterfaceTemplatesListPoeModeIcParameterInner**](DcimInterfaceTemplatesListPoeModeIcParameterInner.md) | * `pd` - PD * `pse` - PSE | + **poeModeN** | [**[]DcimInterfaceTemplatesListPoeModeIcParameterInner**](DcimInterfaceTemplatesListPoeModeIcParameterInner.md) | * `pd` - PD * `pse` - PSE | + **poeModeNic** | [**[]DcimInterfaceTemplatesListPoeModeIcParameterInner**](DcimInterfaceTemplatesListPoeModeIcParameterInner.md) | * `pd` - PD * `pse` - PSE | + **poeModeNie** | [**[]DcimInterfaceTemplatesListPoeModeIcParameterInner**](DcimInterfaceTemplatesListPoeModeIcParameterInner.md) | * `pd` - PD * `pse` - PSE | + **poeModeNiew** | [**[]DcimInterfaceTemplatesListPoeModeIcParameterInner**](DcimInterfaceTemplatesListPoeModeIcParameterInner.md) | * `pd` - PD * `pse` - PSE | + **poeModeNisw** | [**[]DcimInterfaceTemplatesListPoeModeIcParameterInner**](DcimInterfaceTemplatesListPoeModeIcParameterInner.md) | * `pd` - PD * `pse` - PSE | **poeType** | **[]string** | | - **poeTypeN** | **[]string** | | + **poeTypeEmpty** | **bool** | | + **poeTypeIc** | [**[]DcimInterfaceTemplatesListPoeTypeIcParameterInner**](DcimInterfaceTemplatesListPoeTypeIcParameterInner.md) | * `type1-ieee802.3af` - 802.3af (Type 1) * `type2-ieee802.3at` - 802.3at (Type 2) * `type3-ieee802.3bt` - 802.3bt (Type 3) * `type4-ieee802.3bt` - 802.3bt (Type 4) * `passive-24v-2pair` - Passive 24V (2-pair) * `passive-24v-4pair` - Passive 24V (4-pair) * `passive-48v-2pair` - Passive 48V (2-pair) * `passive-48v-4pair` - Passive 48V (4-pair) | + **poeTypeIe** | [**[]DcimInterfaceTemplatesListPoeTypeIcParameterInner**](DcimInterfaceTemplatesListPoeTypeIcParameterInner.md) | * `type1-ieee802.3af` - 802.3af (Type 1) * `type2-ieee802.3at` - 802.3at (Type 2) * `type3-ieee802.3bt` - 802.3bt (Type 3) * `type4-ieee802.3bt` - 802.3bt (Type 4) * `passive-24v-2pair` - Passive 24V (2-pair) * `passive-24v-4pair` - Passive 24V (4-pair) * `passive-48v-2pair` - Passive 48V (2-pair) * `passive-48v-4pair` - Passive 48V (4-pair) | + **poeTypeIew** | [**[]DcimInterfaceTemplatesListPoeTypeIcParameterInner**](DcimInterfaceTemplatesListPoeTypeIcParameterInner.md) | * `type1-ieee802.3af` - 802.3af (Type 1) * `type2-ieee802.3at` - 802.3at (Type 2) * `type3-ieee802.3bt` - 802.3bt (Type 3) * `type4-ieee802.3bt` - 802.3bt (Type 4) * `passive-24v-2pair` - Passive 24V (2-pair) * `passive-24v-4pair` - Passive 24V (4-pair) * `passive-48v-2pair` - Passive 48V (2-pair) * `passive-48v-4pair` - Passive 48V (4-pair) | + **poeTypeIsw** | [**[]DcimInterfaceTemplatesListPoeTypeIcParameterInner**](DcimInterfaceTemplatesListPoeTypeIcParameterInner.md) | * `type1-ieee802.3af` - 802.3af (Type 1) * `type2-ieee802.3at` - 802.3at (Type 2) * `type3-ieee802.3bt` - 802.3bt (Type 3) * `type4-ieee802.3bt` - 802.3bt (Type 4) * `passive-24v-2pair` - Passive 24V (2-pair) * `passive-24v-4pair` - Passive 24V (4-pair) * `passive-48v-2pair` - Passive 48V (2-pair) * `passive-48v-4pair` - Passive 48V (4-pair) | + **poeTypeN** | [**[]DcimInterfaceTemplatesListPoeTypeIcParameterInner**](DcimInterfaceTemplatesListPoeTypeIcParameterInner.md) | * `type1-ieee802.3af` - 802.3af (Type 1) * `type2-ieee802.3at` - 802.3at (Type 2) * `type3-ieee802.3bt` - 802.3bt (Type 3) * `type4-ieee802.3bt` - 802.3bt (Type 4) * `passive-24v-2pair` - Passive 24V (2-pair) * `passive-24v-4pair` - Passive 24V (4-pair) * `passive-48v-2pair` - Passive 48V (2-pair) * `passive-48v-4pair` - Passive 48V (4-pair) | + **poeTypeNic** | [**[]DcimInterfaceTemplatesListPoeTypeIcParameterInner**](DcimInterfaceTemplatesListPoeTypeIcParameterInner.md) | * `type1-ieee802.3af` - 802.3af (Type 1) * `type2-ieee802.3at` - 802.3at (Type 2) * `type3-ieee802.3bt` - 802.3bt (Type 3) * `type4-ieee802.3bt` - 802.3bt (Type 4) * `passive-24v-2pair` - Passive 24V (2-pair) * `passive-24v-4pair` - Passive 24V (4-pair) * `passive-48v-2pair` - Passive 48V (2-pair) * `passive-48v-4pair` - Passive 48V (4-pair) | + **poeTypeNie** | [**[]DcimInterfaceTemplatesListPoeTypeIcParameterInner**](DcimInterfaceTemplatesListPoeTypeIcParameterInner.md) | * `type1-ieee802.3af` - 802.3af (Type 1) * `type2-ieee802.3at` - 802.3at (Type 2) * `type3-ieee802.3bt` - 802.3bt (Type 3) * `type4-ieee802.3bt` - 802.3bt (Type 4) * `passive-24v-2pair` - Passive 24V (2-pair) * `passive-24v-4pair` - Passive 24V (4-pair) * `passive-48v-2pair` - Passive 48V (2-pair) * `passive-48v-4pair` - Passive 48V (4-pair) | + **poeTypeNiew** | [**[]DcimInterfaceTemplatesListPoeTypeIcParameterInner**](DcimInterfaceTemplatesListPoeTypeIcParameterInner.md) | * `type1-ieee802.3af` - 802.3af (Type 1) * `type2-ieee802.3at` - 802.3at (Type 2) * `type3-ieee802.3bt` - 802.3bt (Type 3) * `type4-ieee802.3bt` - 802.3bt (Type 4) * `passive-24v-2pair` - Passive 24V (2-pair) * `passive-24v-4pair` - Passive 24V (4-pair) * `passive-48v-2pair` - Passive 48V (2-pair) * `passive-48v-4pair` - Passive 48V (4-pair) | + **poeTypeNisw** | [**[]DcimInterfaceTemplatesListPoeTypeIcParameterInner**](DcimInterfaceTemplatesListPoeTypeIcParameterInner.md) | * `type1-ieee802.3af` - 802.3af (Type 1) * `type2-ieee802.3at` - 802.3at (Type 2) * `type3-ieee802.3bt` - 802.3bt (Type 3) * `type4-ieee802.3bt` - 802.3bt (Type 4) * `passive-24v-2pair` - Passive 24V (2-pair) * `passive-24v-4pair` - Passive 24V (4-pair) * `passive-48v-2pair` - Passive 48V (2-pair) * `passive-48v-4pair` - Passive 48V (4-pair) | **q** | **string** | Search | **rack** | **[]string** | Rack (name) | **rackN** | **[]string** | Rack (name) | **rackId** | **[]int32** | Rack (ID) | **rackIdN** | **[]int32** | Rack (ID) | - **region** | **[]int32** | Region (slug) | - **regionN** | **[]int32** | Region (slug) | - **regionId** | **[]int32** | Region (ID) | - **regionIdN** | **[]int32** | Region (ID) | + **region** | **[]string** | | + **regionN** | **[]string** | | + **regionId** | **[]string** | | + **regionIdN** | **[]string** | | **rfChannel** | **[]string** | | - **rfChannelN** | **[]string** | | + **rfChannelEmpty** | **bool** | | + **rfChannelIc** | [**[]WirelessChannel**](WirelessChannel.md) | * `2.4g-1-2412-22` - 1 (2412 MHz) * `2.4g-2-2417-22` - 2 (2417 MHz) * `2.4g-3-2422-22` - 3 (2422 MHz) * `2.4g-4-2427-22` - 4 (2427 MHz) * `2.4g-5-2432-22` - 5 (2432 MHz) * `2.4g-6-2437-22` - 6 (2437 MHz) * `2.4g-7-2442-22` - 7 (2442 MHz) * `2.4g-8-2447-22` - 8 (2447 MHz) * `2.4g-9-2452-22` - 9 (2452 MHz) * `2.4g-10-2457-22` - 10 (2457 MHz) * `2.4g-11-2462-22` - 11 (2462 MHz) * `2.4g-12-2467-22` - 12 (2467 MHz) * `2.4g-13-2472-22` - 13 (2472 MHz) * `5g-32-5160-20` - 32 (5160/20 MHz) * `5g-34-5170-40` - 34 (5170/40 MHz) * `5g-36-5180-20` - 36 (5180/20 MHz) * `5g-38-5190-40` - 38 (5190/40 MHz) * `5g-40-5200-20` - 40 (5200/20 MHz) * `5g-42-5210-80` - 42 (5210/80 MHz) * `5g-44-5220-20` - 44 (5220/20 MHz) * `5g-46-5230-40` - 46 (5230/40 MHz) * `5g-48-5240-20` - 48 (5240/20 MHz) * `5g-50-5250-160` - 50 (5250/160 MHz) * `5g-52-5260-20` - 52 (5260/20 MHz) * `5g-54-5270-40` - 54 (5270/40 MHz) * `5g-56-5280-20` - 56 (5280/20 MHz) * `5g-58-5290-80` - 58 (5290/80 MHz) * `5g-60-5300-20` - 60 (5300/20 MHz) * `5g-62-5310-40` - 62 (5310/40 MHz) * `5g-64-5320-20` - 64 (5320/20 MHz) * `5g-100-5500-20` - 100 (5500/20 MHz) * `5g-102-5510-40` - 102 (5510/40 MHz) * `5g-104-5520-20` - 104 (5520/20 MHz) * `5g-106-5530-80` - 106 (5530/80 MHz) * `5g-108-5540-20` - 108 (5540/20 MHz) * `5g-110-5550-40` - 110 (5550/40 MHz) * `5g-112-5560-20` - 112 (5560/20 MHz) * `5g-114-5570-160` - 114 (5570/160 MHz) * `5g-116-5580-20` - 116 (5580/20 MHz) * `5g-118-5590-40` - 118 (5590/40 MHz) * `5g-120-5600-20` - 120 (5600/20 MHz) * `5g-122-5610-80` - 122 (5610/80 MHz) * `5g-124-5620-20` - 124 (5620/20 MHz) * `5g-126-5630-40` - 126 (5630/40 MHz) * `5g-128-5640-20` - 128 (5640/20 MHz) * `5g-132-5660-20` - 132 (5660/20 MHz) * `5g-134-5670-40` - 134 (5670/40 MHz) * `5g-136-5680-20` - 136 (5680/20 MHz) * `5g-138-5690-80` - 138 (5690/80 MHz) * `5g-140-5700-20` - 140 (5700/20 MHz) * `5g-142-5710-40` - 142 (5710/40 MHz) * `5g-144-5720-20` - 144 (5720/20 MHz) * `5g-149-5745-20` - 149 (5745/20 MHz) * `5g-151-5755-40` - 151 (5755/40 MHz) * `5g-153-5765-20` - 153 (5765/20 MHz) * `5g-155-5775-80` - 155 (5775/80 MHz) * `5g-157-5785-20` - 157 (5785/20 MHz) * `5g-159-5795-40` - 159 (5795/40 MHz) * `5g-161-5805-20` - 161 (5805/20 MHz) * `5g-163-5815-160` - 163 (5815/160 MHz) * `5g-165-5825-20` - 165 (5825/20 MHz) * `5g-167-5835-40` - 167 (5835/40 MHz) * `5g-169-5845-20` - 169 (5845/20 MHz) * `5g-171-5855-80` - 171 (5855/80 MHz) * `5g-173-5865-20` - 173 (5865/20 MHz) * `5g-175-5875-40` - 175 (5875/40 MHz) * `5g-177-5885-20` - 177 (5885/20 MHz) * `6g-1-5955-20` - 1 (5955/20 MHz) * `6g-3-5965-40` - 3 (5965/40 MHz) * `6g-5-5975-20` - 5 (5975/20 MHz) * `6g-7-5985-80` - 7 (5985/80 MHz) * `6g-9-5995-20` - 9 (5995/20 MHz) * `6g-11-6005-40` - 11 (6005/40 MHz) * `6g-13-6015-20` - 13 (6015/20 MHz) * `6g-15-6025-160` - 15 (6025/160 MHz) * `6g-17-6035-20` - 17 (6035/20 MHz) * `6g-19-6045-40` - 19 (6045/40 MHz) * `6g-21-6055-20` - 21 (6055/20 MHz) * `6g-23-6065-80` - 23 (6065/80 MHz) * `6g-25-6075-20` - 25 (6075/20 MHz) * `6g-27-6085-40` - 27 (6085/40 MHz) * `6g-29-6095-20` - 29 (6095/20 MHz) * `6g-31-6105-320` - 31 (6105/320 MHz) * `6g-33-6115-20` - 33 (6115/20 MHz) * `6g-35-6125-40` - 35 (6125/40 MHz) * `6g-37-6135-20` - 37 (6135/20 MHz) * `6g-39-6145-80` - 39 (6145/80 MHz) * `6g-41-6155-20` - 41 (6155/20 MHz) * `6g-43-6165-40` - 43 (6165/40 MHz) * `6g-45-6175-20` - 45 (6175/20 MHz) * `6g-47-6185-160` - 47 (6185/160 MHz) * `6g-49-6195-20` - 49 (6195/20 MHz) * `6g-51-6205-40` - 51 (6205/40 MHz) * `6g-53-6215-20` - 53 (6215/20 MHz) * `6g-55-6225-80` - 55 (6225/80 MHz) * `6g-57-6235-20` - 57 (6235/20 MHz) * `6g-59-6245-40` - 59 (6245/40 MHz) * `6g-61-6255-20` - 61 (6255/20 MHz) * `6g-65-6275-20` - 65 (6275/20 MHz) * `6g-67-6285-40` - 67 (6285/40 MHz) * `6g-69-6295-20` - 69 (6295/20 MHz) * `6g-71-6305-80` - 71 (6305/80 MHz) * `6g-73-6315-20` - 73 (6315/20 MHz) * `6g-75-6325-40` - 75 (6325/40 MHz) * `6g-77-6335-20` - 77 (6335/20 MHz) * `6g-79-6345-160` - 79 (6345/160 MHz) * `6g-81-6355-20` - 81 (6355/20 MHz) * `6g-83-6365-40` - 83 (6365/40 MHz) * `6g-85-6375-20` - 85 (6375/20 MHz) * `6g-87-6385-80` - 87 (6385/80 MHz) * `6g-89-6395-20` - 89 (6395/20 MHz) * `6g-91-6405-40` - 91 (6405/40 MHz) * `6g-93-6415-20` - 93 (6415/20 MHz) * `6g-95-6425-320` - 95 (6425/320 MHz) * `6g-97-6435-20` - 97 (6435/20 MHz) * `6g-99-6445-40` - 99 (6445/40 MHz) * `6g-101-6455-20` - 101 (6455/20 MHz) * `6g-103-6465-80` - 103 (6465/80 MHz) * `6g-105-6475-20` - 105 (6475/20 MHz) * `6g-107-6485-40` - 107 (6485/40 MHz) * `6g-109-6495-20` - 109 (6495/20 MHz) * `6g-111-6505-160` - 111 (6505/160 MHz) * `6g-113-6515-20` - 113 (6515/20 MHz) * `6g-115-6525-40` - 115 (6525/40 MHz) * `6g-117-6535-20` - 117 (6535/20 MHz) * `6g-119-6545-80` - 119 (6545/80 MHz) * `6g-121-6555-20` - 121 (6555/20 MHz) * `6g-123-6565-40` - 123 (6565/40 MHz) * `6g-125-6575-20` - 125 (6575/20 MHz) * `6g-129-6595-20` - 129 (6595/20 MHz) * `6g-131-6605-40` - 131 (6605/40 MHz) * `6g-133-6615-20` - 133 (6615/20 MHz) * `6g-135-6625-80` - 135 (6625/80 MHz) * `6g-137-6635-20` - 137 (6635/20 MHz) * `6g-139-6645-40` - 139 (6645/40 MHz) * `6g-141-6655-20` - 141 (6655/20 MHz) * `6g-143-6665-160` - 143 (6665/160 MHz) * `6g-145-6675-20` - 145 (6675/20 MHz) * `6g-147-6685-40` - 147 (6685/40 MHz) * `6g-149-6695-20` - 149 (6695/20 MHz) * `6g-151-6705-80` - 151 (6705/80 MHz) * `6g-153-6715-20` - 153 (6715/20 MHz) * `6g-155-6725-40` - 155 (6725/40 MHz) * `6g-157-6735-20` - 157 (6735/20 MHz) * `6g-159-6745-320` - 159 (6745/320 MHz) * `6g-161-6755-20` - 161 (6755/20 MHz) * `6g-163-6765-40` - 163 (6765/40 MHz) * `6g-165-6775-20` - 165 (6775/20 MHz) * `6g-167-6785-80` - 167 (6785/80 MHz) * `6g-169-6795-20` - 169 (6795/20 MHz) * `6g-171-6805-40` - 171 (6805/40 MHz) * `6g-173-6815-20` - 173 (6815/20 MHz) * `6g-175-6825-160` - 175 (6825/160 MHz) * `6g-177-6835-20` - 177 (6835/20 MHz) * `6g-179-6845-40` - 179 (6845/40 MHz) * `6g-181-6855-20` - 181 (6855/20 MHz) * `6g-183-6865-80` - 183 (6865/80 MHz) * `6g-185-6875-20` - 185 (6875/20 MHz) * `6g-187-6885-40` - 187 (6885/40 MHz) * `6g-189-6895-20` - 189 (6895/20 MHz) * `6g-193-6915-20` - 193 (6915/20 MHz) * `6g-195-6925-40` - 195 (6925/40 MHz) * `6g-197-6935-20` - 197 (6935/20 MHz) * `6g-199-6945-80` - 199 (6945/80 MHz) * `6g-201-6955-20` - 201 (6955/20 MHz) * `6g-203-6965-40` - 203 (6965/40 MHz) * `6g-205-6975-20` - 205 (6975/20 MHz) * `6g-207-6985-160` - 207 (6985/160 MHz) * `6g-209-6995-20` - 209 (6995/20 MHz) * `6g-211-7005-40` - 211 (7005/40 MHz) * `6g-213-7015-20` - 213 (7015/20 MHz) * `6g-215-7025-80` - 215 (7025/80 MHz) * `6g-217-7035-20` - 217 (7035/20 MHz) * `6g-219-7045-40` - 219 (7045/40 MHz) * `6g-221-7055-20` - 221 (7055/20 MHz) * `6g-225-7075-20` - 225 (7075/20 MHz) * `6g-227-7085-40` - 227 (7085/40 MHz) * `6g-229-7095-20` - 229 (7095/20 MHz) * `6g-233-7115-20` - 233 (7115/20 MHz) * `60g-1-58320-2160` - 1 (58.32/2.16 GHz) * `60g-2-60480-2160` - 2 (60.48/2.16 GHz) * `60g-3-62640-2160` - 3 (62.64/2.16 GHz) * `60g-4-64800-2160` - 4 (64.80/2.16 GHz) * `60g-5-66960-2160` - 5 (66.96/2.16 GHz) * `60g-6-69120-2160` - 6 (69.12/2.16 GHz) * `60g-9-59400-4320` - 9 (59.40/4.32 GHz) * `60g-10-61560-4320` - 10 (61.56/4.32 GHz) * `60g-11-63720-4320` - 11 (63.72/4.32 GHz) * `60g-12-65880-4320` - 12 (65.88/4.32 GHz) * `60g-13-68040-4320` - 13 (68.04/4.32 GHz) * `60g-17-60480-6480` - 17 (60.48/6.48 GHz) * `60g-18-62640-6480` - 18 (62.64/6.48 GHz) * `60g-19-64800-6480` - 19 (64.80/6.48 GHz) * `60g-20-66960-6480` - 20 (66.96/6.48 GHz) * `60g-25-61560-6480` - 25 (61.56/8.64 GHz) * `60g-26-63720-6480` - 26 (63.72/8.64 GHz) * `60g-27-65880-6480` - 27 (65.88/8.64 GHz) | + **rfChannelIe** | [**[]WirelessChannel**](WirelessChannel.md) | * `2.4g-1-2412-22` - 1 (2412 MHz) * `2.4g-2-2417-22` - 2 (2417 MHz) * `2.4g-3-2422-22` - 3 (2422 MHz) * `2.4g-4-2427-22` - 4 (2427 MHz) * `2.4g-5-2432-22` - 5 (2432 MHz) * `2.4g-6-2437-22` - 6 (2437 MHz) * `2.4g-7-2442-22` - 7 (2442 MHz) * `2.4g-8-2447-22` - 8 (2447 MHz) * `2.4g-9-2452-22` - 9 (2452 MHz) * `2.4g-10-2457-22` - 10 (2457 MHz) * `2.4g-11-2462-22` - 11 (2462 MHz) * `2.4g-12-2467-22` - 12 (2467 MHz) * `2.4g-13-2472-22` - 13 (2472 MHz) * `5g-32-5160-20` - 32 (5160/20 MHz) * `5g-34-5170-40` - 34 (5170/40 MHz) * `5g-36-5180-20` - 36 (5180/20 MHz) * `5g-38-5190-40` - 38 (5190/40 MHz) * `5g-40-5200-20` - 40 (5200/20 MHz) * `5g-42-5210-80` - 42 (5210/80 MHz) * `5g-44-5220-20` - 44 (5220/20 MHz) * `5g-46-5230-40` - 46 (5230/40 MHz) * `5g-48-5240-20` - 48 (5240/20 MHz) * `5g-50-5250-160` - 50 (5250/160 MHz) * `5g-52-5260-20` - 52 (5260/20 MHz) * `5g-54-5270-40` - 54 (5270/40 MHz) * `5g-56-5280-20` - 56 (5280/20 MHz) * `5g-58-5290-80` - 58 (5290/80 MHz) * `5g-60-5300-20` - 60 (5300/20 MHz) * `5g-62-5310-40` - 62 (5310/40 MHz) * `5g-64-5320-20` - 64 (5320/20 MHz) * `5g-100-5500-20` - 100 (5500/20 MHz) * `5g-102-5510-40` - 102 (5510/40 MHz) * `5g-104-5520-20` - 104 (5520/20 MHz) * `5g-106-5530-80` - 106 (5530/80 MHz) * `5g-108-5540-20` - 108 (5540/20 MHz) * `5g-110-5550-40` - 110 (5550/40 MHz) * `5g-112-5560-20` - 112 (5560/20 MHz) * `5g-114-5570-160` - 114 (5570/160 MHz) * `5g-116-5580-20` - 116 (5580/20 MHz) * `5g-118-5590-40` - 118 (5590/40 MHz) * `5g-120-5600-20` - 120 (5600/20 MHz) * `5g-122-5610-80` - 122 (5610/80 MHz) * `5g-124-5620-20` - 124 (5620/20 MHz) * `5g-126-5630-40` - 126 (5630/40 MHz) * `5g-128-5640-20` - 128 (5640/20 MHz) * `5g-132-5660-20` - 132 (5660/20 MHz) * `5g-134-5670-40` - 134 (5670/40 MHz) * `5g-136-5680-20` - 136 (5680/20 MHz) * `5g-138-5690-80` - 138 (5690/80 MHz) * `5g-140-5700-20` - 140 (5700/20 MHz) * `5g-142-5710-40` - 142 (5710/40 MHz) * `5g-144-5720-20` - 144 (5720/20 MHz) * `5g-149-5745-20` - 149 (5745/20 MHz) * `5g-151-5755-40` - 151 (5755/40 MHz) * `5g-153-5765-20` - 153 (5765/20 MHz) * `5g-155-5775-80` - 155 (5775/80 MHz) * `5g-157-5785-20` - 157 (5785/20 MHz) * `5g-159-5795-40` - 159 (5795/40 MHz) * `5g-161-5805-20` - 161 (5805/20 MHz) * `5g-163-5815-160` - 163 (5815/160 MHz) * `5g-165-5825-20` - 165 (5825/20 MHz) * `5g-167-5835-40` - 167 (5835/40 MHz) * `5g-169-5845-20` - 169 (5845/20 MHz) * `5g-171-5855-80` - 171 (5855/80 MHz) * `5g-173-5865-20` - 173 (5865/20 MHz) * `5g-175-5875-40` - 175 (5875/40 MHz) * `5g-177-5885-20` - 177 (5885/20 MHz) * `6g-1-5955-20` - 1 (5955/20 MHz) * `6g-3-5965-40` - 3 (5965/40 MHz) * `6g-5-5975-20` - 5 (5975/20 MHz) * `6g-7-5985-80` - 7 (5985/80 MHz) * `6g-9-5995-20` - 9 (5995/20 MHz) * `6g-11-6005-40` - 11 (6005/40 MHz) * `6g-13-6015-20` - 13 (6015/20 MHz) * `6g-15-6025-160` - 15 (6025/160 MHz) * `6g-17-6035-20` - 17 (6035/20 MHz) * `6g-19-6045-40` - 19 (6045/40 MHz) * `6g-21-6055-20` - 21 (6055/20 MHz) * `6g-23-6065-80` - 23 (6065/80 MHz) * `6g-25-6075-20` - 25 (6075/20 MHz) * `6g-27-6085-40` - 27 (6085/40 MHz) * `6g-29-6095-20` - 29 (6095/20 MHz) * `6g-31-6105-320` - 31 (6105/320 MHz) * `6g-33-6115-20` - 33 (6115/20 MHz) * `6g-35-6125-40` - 35 (6125/40 MHz) * `6g-37-6135-20` - 37 (6135/20 MHz) * `6g-39-6145-80` - 39 (6145/80 MHz) * `6g-41-6155-20` - 41 (6155/20 MHz) * `6g-43-6165-40` - 43 (6165/40 MHz) * `6g-45-6175-20` - 45 (6175/20 MHz) * `6g-47-6185-160` - 47 (6185/160 MHz) * `6g-49-6195-20` - 49 (6195/20 MHz) * `6g-51-6205-40` - 51 (6205/40 MHz) * `6g-53-6215-20` - 53 (6215/20 MHz) * `6g-55-6225-80` - 55 (6225/80 MHz) * `6g-57-6235-20` - 57 (6235/20 MHz) * `6g-59-6245-40` - 59 (6245/40 MHz) * `6g-61-6255-20` - 61 (6255/20 MHz) * `6g-65-6275-20` - 65 (6275/20 MHz) * `6g-67-6285-40` - 67 (6285/40 MHz) * `6g-69-6295-20` - 69 (6295/20 MHz) * `6g-71-6305-80` - 71 (6305/80 MHz) * `6g-73-6315-20` - 73 (6315/20 MHz) * `6g-75-6325-40` - 75 (6325/40 MHz) * `6g-77-6335-20` - 77 (6335/20 MHz) * `6g-79-6345-160` - 79 (6345/160 MHz) * `6g-81-6355-20` - 81 (6355/20 MHz) * `6g-83-6365-40` - 83 (6365/40 MHz) * `6g-85-6375-20` - 85 (6375/20 MHz) * `6g-87-6385-80` - 87 (6385/80 MHz) * `6g-89-6395-20` - 89 (6395/20 MHz) * `6g-91-6405-40` - 91 (6405/40 MHz) * `6g-93-6415-20` - 93 (6415/20 MHz) * `6g-95-6425-320` - 95 (6425/320 MHz) * `6g-97-6435-20` - 97 (6435/20 MHz) * `6g-99-6445-40` - 99 (6445/40 MHz) * `6g-101-6455-20` - 101 (6455/20 MHz) * `6g-103-6465-80` - 103 (6465/80 MHz) * `6g-105-6475-20` - 105 (6475/20 MHz) * `6g-107-6485-40` - 107 (6485/40 MHz) * `6g-109-6495-20` - 109 (6495/20 MHz) * `6g-111-6505-160` - 111 (6505/160 MHz) * `6g-113-6515-20` - 113 (6515/20 MHz) * `6g-115-6525-40` - 115 (6525/40 MHz) * `6g-117-6535-20` - 117 (6535/20 MHz) * `6g-119-6545-80` - 119 (6545/80 MHz) * `6g-121-6555-20` - 121 (6555/20 MHz) * `6g-123-6565-40` - 123 (6565/40 MHz) * `6g-125-6575-20` - 125 (6575/20 MHz) * `6g-129-6595-20` - 129 (6595/20 MHz) * `6g-131-6605-40` - 131 (6605/40 MHz) * `6g-133-6615-20` - 133 (6615/20 MHz) * `6g-135-6625-80` - 135 (6625/80 MHz) * `6g-137-6635-20` - 137 (6635/20 MHz) * `6g-139-6645-40` - 139 (6645/40 MHz) * `6g-141-6655-20` - 141 (6655/20 MHz) * `6g-143-6665-160` - 143 (6665/160 MHz) * `6g-145-6675-20` - 145 (6675/20 MHz) * `6g-147-6685-40` - 147 (6685/40 MHz) * `6g-149-6695-20` - 149 (6695/20 MHz) * `6g-151-6705-80` - 151 (6705/80 MHz) * `6g-153-6715-20` - 153 (6715/20 MHz) * `6g-155-6725-40` - 155 (6725/40 MHz) * `6g-157-6735-20` - 157 (6735/20 MHz) * `6g-159-6745-320` - 159 (6745/320 MHz) * `6g-161-6755-20` - 161 (6755/20 MHz) * `6g-163-6765-40` - 163 (6765/40 MHz) * `6g-165-6775-20` - 165 (6775/20 MHz) * `6g-167-6785-80` - 167 (6785/80 MHz) * `6g-169-6795-20` - 169 (6795/20 MHz) * `6g-171-6805-40` - 171 (6805/40 MHz) * `6g-173-6815-20` - 173 (6815/20 MHz) * `6g-175-6825-160` - 175 (6825/160 MHz) * `6g-177-6835-20` - 177 (6835/20 MHz) * `6g-179-6845-40` - 179 (6845/40 MHz) * `6g-181-6855-20` - 181 (6855/20 MHz) * `6g-183-6865-80` - 183 (6865/80 MHz) * `6g-185-6875-20` - 185 (6875/20 MHz) * `6g-187-6885-40` - 187 (6885/40 MHz) * `6g-189-6895-20` - 189 (6895/20 MHz) * `6g-193-6915-20` - 193 (6915/20 MHz) * `6g-195-6925-40` - 195 (6925/40 MHz) * `6g-197-6935-20` - 197 (6935/20 MHz) * `6g-199-6945-80` - 199 (6945/80 MHz) * `6g-201-6955-20` - 201 (6955/20 MHz) * `6g-203-6965-40` - 203 (6965/40 MHz) * `6g-205-6975-20` - 205 (6975/20 MHz) * `6g-207-6985-160` - 207 (6985/160 MHz) * `6g-209-6995-20` - 209 (6995/20 MHz) * `6g-211-7005-40` - 211 (7005/40 MHz) * `6g-213-7015-20` - 213 (7015/20 MHz) * `6g-215-7025-80` - 215 (7025/80 MHz) * `6g-217-7035-20` - 217 (7035/20 MHz) * `6g-219-7045-40` - 219 (7045/40 MHz) * `6g-221-7055-20` - 221 (7055/20 MHz) * `6g-225-7075-20` - 225 (7075/20 MHz) * `6g-227-7085-40` - 227 (7085/40 MHz) * `6g-229-7095-20` - 229 (7095/20 MHz) * `6g-233-7115-20` - 233 (7115/20 MHz) * `60g-1-58320-2160` - 1 (58.32/2.16 GHz) * `60g-2-60480-2160` - 2 (60.48/2.16 GHz) * `60g-3-62640-2160` - 3 (62.64/2.16 GHz) * `60g-4-64800-2160` - 4 (64.80/2.16 GHz) * `60g-5-66960-2160` - 5 (66.96/2.16 GHz) * `60g-6-69120-2160` - 6 (69.12/2.16 GHz) * `60g-9-59400-4320` - 9 (59.40/4.32 GHz) * `60g-10-61560-4320` - 10 (61.56/4.32 GHz) * `60g-11-63720-4320` - 11 (63.72/4.32 GHz) * `60g-12-65880-4320` - 12 (65.88/4.32 GHz) * `60g-13-68040-4320` - 13 (68.04/4.32 GHz) * `60g-17-60480-6480` - 17 (60.48/6.48 GHz) * `60g-18-62640-6480` - 18 (62.64/6.48 GHz) * `60g-19-64800-6480` - 19 (64.80/6.48 GHz) * `60g-20-66960-6480` - 20 (66.96/6.48 GHz) * `60g-25-61560-6480` - 25 (61.56/8.64 GHz) * `60g-26-63720-6480` - 26 (63.72/8.64 GHz) * `60g-27-65880-6480` - 27 (65.88/8.64 GHz) | + **rfChannelIew** | [**[]WirelessChannel**](WirelessChannel.md) | * `2.4g-1-2412-22` - 1 (2412 MHz) * `2.4g-2-2417-22` - 2 (2417 MHz) * `2.4g-3-2422-22` - 3 (2422 MHz) * `2.4g-4-2427-22` - 4 (2427 MHz) * `2.4g-5-2432-22` - 5 (2432 MHz) * `2.4g-6-2437-22` - 6 (2437 MHz) * `2.4g-7-2442-22` - 7 (2442 MHz) * `2.4g-8-2447-22` - 8 (2447 MHz) * `2.4g-9-2452-22` - 9 (2452 MHz) * `2.4g-10-2457-22` - 10 (2457 MHz) * `2.4g-11-2462-22` - 11 (2462 MHz) * `2.4g-12-2467-22` - 12 (2467 MHz) * `2.4g-13-2472-22` - 13 (2472 MHz) * `5g-32-5160-20` - 32 (5160/20 MHz) * `5g-34-5170-40` - 34 (5170/40 MHz) * `5g-36-5180-20` - 36 (5180/20 MHz) * `5g-38-5190-40` - 38 (5190/40 MHz) * `5g-40-5200-20` - 40 (5200/20 MHz) * `5g-42-5210-80` - 42 (5210/80 MHz) * `5g-44-5220-20` - 44 (5220/20 MHz) * `5g-46-5230-40` - 46 (5230/40 MHz) * `5g-48-5240-20` - 48 (5240/20 MHz) * `5g-50-5250-160` - 50 (5250/160 MHz) * `5g-52-5260-20` - 52 (5260/20 MHz) * `5g-54-5270-40` - 54 (5270/40 MHz) * `5g-56-5280-20` - 56 (5280/20 MHz) * `5g-58-5290-80` - 58 (5290/80 MHz) * `5g-60-5300-20` - 60 (5300/20 MHz) * `5g-62-5310-40` - 62 (5310/40 MHz) * `5g-64-5320-20` - 64 (5320/20 MHz) * `5g-100-5500-20` - 100 (5500/20 MHz) * `5g-102-5510-40` - 102 (5510/40 MHz) * `5g-104-5520-20` - 104 (5520/20 MHz) * `5g-106-5530-80` - 106 (5530/80 MHz) * `5g-108-5540-20` - 108 (5540/20 MHz) * `5g-110-5550-40` - 110 (5550/40 MHz) * `5g-112-5560-20` - 112 (5560/20 MHz) * `5g-114-5570-160` - 114 (5570/160 MHz) * `5g-116-5580-20` - 116 (5580/20 MHz) * `5g-118-5590-40` - 118 (5590/40 MHz) * `5g-120-5600-20` - 120 (5600/20 MHz) * `5g-122-5610-80` - 122 (5610/80 MHz) * `5g-124-5620-20` - 124 (5620/20 MHz) * `5g-126-5630-40` - 126 (5630/40 MHz) * `5g-128-5640-20` - 128 (5640/20 MHz) * `5g-132-5660-20` - 132 (5660/20 MHz) * `5g-134-5670-40` - 134 (5670/40 MHz) * `5g-136-5680-20` - 136 (5680/20 MHz) * `5g-138-5690-80` - 138 (5690/80 MHz) * `5g-140-5700-20` - 140 (5700/20 MHz) * `5g-142-5710-40` - 142 (5710/40 MHz) * `5g-144-5720-20` - 144 (5720/20 MHz) * `5g-149-5745-20` - 149 (5745/20 MHz) * `5g-151-5755-40` - 151 (5755/40 MHz) * `5g-153-5765-20` - 153 (5765/20 MHz) * `5g-155-5775-80` - 155 (5775/80 MHz) * `5g-157-5785-20` - 157 (5785/20 MHz) * `5g-159-5795-40` - 159 (5795/40 MHz) * `5g-161-5805-20` - 161 (5805/20 MHz) * `5g-163-5815-160` - 163 (5815/160 MHz) * `5g-165-5825-20` - 165 (5825/20 MHz) * `5g-167-5835-40` - 167 (5835/40 MHz) * `5g-169-5845-20` - 169 (5845/20 MHz) * `5g-171-5855-80` - 171 (5855/80 MHz) * `5g-173-5865-20` - 173 (5865/20 MHz) * `5g-175-5875-40` - 175 (5875/40 MHz) * `5g-177-5885-20` - 177 (5885/20 MHz) * `6g-1-5955-20` - 1 (5955/20 MHz) * `6g-3-5965-40` - 3 (5965/40 MHz) * `6g-5-5975-20` - 5 (5975/20 MHz) * `6g-7-5985-80` - 7 (5985/80 MHz) * `6g-9-5995-20` - 9 (5995/20 MHz) * `6g-11-6005-40` - 11 (6005/40 MHz) * `6g-13-6015-20` - 13 (6015/20 MHz) * `6g-15-6025-160` - 15 (6025/160 MHz) * `6g-17-6035-20` - 17 (6035/20 MHz) * `6g-19-6045-40` - 19 (6045/40 MHz) * `6g-21-6055-20` - 21 (6055/20 MHz) * `6g-23-6065-80` - 23 (6065/80 MHz) * `6g-25-6075-20` - 25 (6075/20 MHz) * `6g-27-6085-40` - 27 (6085/40 MHz) * `6g-29-6095-20` - 29 (6095/20 MHz) * `6g-31-6105-320` - 31 (6105/320 MHz) * `6g-33-6115-20` - 33 (6115/20 MHz) * `6g-35-6125-40` - 35 (6125/40 MHz) * `6g-37-6135-20` - 37 (6135/20 MHz) * `6g-39-6145-80` - 39 (6145/80 MHz) * `6g-41-6155-20` - 41 (6155/20 MHz) * `6g-43-6165-40` - 43 (6165/40 MHz) * `6g-45-6175-20` - 45 (6175/20 MHz) * `6g-47-6185-160` - 47 (6185/160 MHz) * `6g-49-6195-20` - 49 (6195/20 MHz) * `6g-51-6205-40` - 51 (6205/40 MHz) * `6g-53-6215-20` - 53 (6215/20 MHz) * `6g-55-6225-80` - 55 (6225/80 MHz) * `6g-57-6235-20` - 57 (6235/20 MHz) * `6g-59-6245-40` - 59 (6245/40 MHz) * `6g-61-6255-20` - 61 (6255/20 MHz) * `6g-65-6275-20` - 65 (6275/20 MHz) * `6g-67-6285-40` - 67 (6285/40 MHz) * `6g-69-6295-20` - 69 (6295/20 MHz) * `6g-71-6305-80` - 71 (6305/80 MHz) * `6g-73-6315-20` - 73 (6315/20 MHz) * `6g-75-6325-40` - 75 (6325/40 MHz) * `6g-77-6335-20` - 77 (6335/20 MHz) * `6g-79-6345-160` - 79 (6345/160 MHz) * `6g-81-6355-20` - 81 (6355/20 MHz) * `6g-83-6365-40` - 83 (6365/40 MHz) * `6g-85-6375-20` - 85 (6375/20 MHz) * `6g-87-6385-80` - 87 (6385/80 MHz) * `6g-89-6395-20` - 89 (6395/20 MHz) * `6g-91-6405-40` - 91 (6405/40 MHz) * `6g-93-6415-20` - 93 (6415/20 MHz) * `6g-95-6425-320` - 95 (6425/320 MHz) * `6g-97-6435-20` - 97 (6435/20 MHz) * `6g-99-6445-40` - 99 (6445/40 MHz) * `6g-101-6455-20` - 101 (6455/20 MHz) * `6g-103-6465-80` - 103 (6465/80 MHz) * `6g-105-6475-20` - 105 (6475/20 MHz) * `6g-107-6485-40` - 107 (6485/40 MHz) * `6g-109-6495-20` - 109 (6495/20 MHz) * `6g-111-6505-160` - 111 (6505/160 MHz) * `6g-113-6515-20` - 113 (6515/20 MHz) * `6g-115-6525-40` - 115 (6525/40 MHz) * `6g-117-6535-20` - 117 (6535/20 MHz) * `6g-119-6545-80` - 119 (6545/80 MHz) * `6g-121-6555-20` - 121 (6555/20 MHz) * `6g-123-6565-40` - 123 (6565/40 MHz) * `6g-125-6575-20` - 125 (6575/20 MHz) * `6g-129-6595-20` - 129 (6595/20 MHz) * `6g-131-6605-40` - 131 (6605/40 MHz) * `6g-133-6615-20` - 133 (6615/20 MHz) * `6g-135-6625-80` - 135 (6625/80 MHz) * `6g-137-6635-20` - 137 (6635/20 MHz) * `6g-139-6645-40` - 139 (6645/40 MHz) * `6g-141-6655-20` - 141 (6655/20 MHz) * `6g-143-6665-160` - 143 (6665/160 MHz) * `6g-145-6675-20` - 145 (6675/20 MHz) * `6g-147-6685-40` - 147 (6685/40 MHz) * `6g-149-6695-20` - 149 (6695/20 MHz) * `6g-151-6705-80` - 151 (6705/80 MHz) * `6g-153-6715-20` - 153 (6715/20 MHz) * `6g-155-6725-40` - 155 (6725/40 MHz) * `6g-157-6735-20` - 157 (6735/20 MHz) * `6g-159-6745-320` - 159 (6745/320 MHz) * `6g-161-6755-20` - 161 (6755/20 MHz) * `6g-163-6765-40` - 163 (6765/40 MHz) * `6g-165-6775-20` - 165 (6775/20 MHz) * `6g-167-6785-80` - 167 (6785/80 MHz) * `6g-169-6795-20` - 169 (6795/20 MHz) * `6g-171-6805-40` - 171 (6805/40 MHz) * `6g-173-6815-20` - 173 (6815/20 MHz) * `6g-175-6825-160` - 175 (6825/160 MHz) * `6g-177-6835-20` - 177 (6835/20 MHz) * `6g-179-6845-40` - 179 (6845/40 MHz) * `6g-181-6855-20` - 181 (6855/20 MHz) * `6g-183-6865-80` - 183 (6865/80 MHz) * `6g-185-6875-20` - 185 (6875/20 MHz) * `6g-187-6885-40` - 187 (6885/40 MHz) * `6g-189-6895-20` - 189 (6895/20 MHz) * `6g-193-6915-20` - 193 (6915/20 MHz) * `6g-195-6925-40` - 195 (6925/40 MHz) * `6g-197-6935-20` - 197 (6935/20 MHz) * `6g-199-6945-80` - 199 (6945/80 MHz) * `6g-201-6955-20` - 201 (6955/20 MHz) * `6g-203-6965-40` - 203 (6965/40 MHz) * `6g-205-6975-20` - 205 (6975/20 MHz) * `6g-207-6985-160` - 207 (6985/160 MHz) * `6g-209-6995-20` - 209 (6995/20 MHz) * `6g-211-7005-40` - 211 (7005/40 MHz) * `6g-213-7015-20` - 213 (7015/20 MHz) * `6g-215-7025-80` - 215 (7025/80 MHz) * `6g-217-7035-20` - 217 (7035/20 MHz) * `6g-219-7045-40` - 219 (7045/40 MHz) * `6g-221-7055-20` - 221 (7055/20 MHz) * `6g-225-7075-20` - 225 (7075/20 MHz) * `6g-227-7085-40` - 227 (7085/40 MHz) * `6g-229-7095-20` - 229 (7095/20 MHz) * `6g-233-7115-20` - 233 (7115/20 MHz) * `60g-1-58320-2160` - 1 (58.32/2.16 GHz) * `60g-2-60480-2160` - 2 (60.48/2.16 GHz) * `60g-3-62640-2160` - 3 (62.64/2.16 GHz) * `60g-4-64800-2160` - 4 (64.80/2.16 GHz) * `60g-5-66960-2160` - 5 (66.96/2.16 GHz) * `60g-6-69120-2160` - 6 (69.12/2.16 GHz) * `60g-9-59400-4320` - 9 (59.40/4.32 GHz) * `60g-10-61560-4320` - 10 (61.56/4.32 GHz) * `60g-11-63720-4320` - 11 (63.72/4.32 GHz) * `60g-12-65880-4320` - 12 (65.88/4.32 GHz) * `60g-13-68040-4320` - 13 (68.04/4.32 GHz) * `60g-17-60480-6480` - 17 (60.48/6.48 GHz) * `60g-18-62640-6480` - 18 (62.64/6.48 GHz) * `60g-19-64800-6480` - 19 (64.80/6.48 GHz) * `60g-20-66960-6480` - 20 (66.96/6.48 GHz) * `60g-25-61560-6480` - 25 (61.56/8.64 GHz) * `60g-26-63720-6480` - 26 (63.72/8.64 GHz) * `60g-27-65880-6480` - 27 (65.88/8.64 GHz) | + **rfChannelIsw** | [**[]WirelessChannel**](WirelessChannel.md) | * `2.4g-1-2412-22` - 1 (2412 MHz) * `2.4g-2-2417-22` - 2 (2417 MHz) * `2.4g-3-2422-22` - 3 (2422 MHz) * `2.4g-4-2427-22` - 4 (2427 MHz) * `2.4g-5-2432-22` - 5 (2432 MHz) * `2.4g-6-2437-22` - 6 (2437 MHz) * `2.4g-7-2442-22` - 7 (2442 MHz) * `2.4g-8-2447-22` - 8 (2447 MHz) * `2.4g-9-2452-22` - 9 (2452 MHz) * `2.4g-10-2457-22` - 10 (2457 MHz) * `2.4g-11-2462-22` - 11 (2462 MHz) * `2.4g-12-2467-22` - 12 (2467 MHz) * `2.4g-13-2472-22` - 13 (2472 MHz) * `5g-32-5160-20` - 32 (5160/20 MHz) * `5g-34-5170-40` - 34 (5170/40 MHz) * `5g-36-5180-20` - 36 (5180/20 MHz) * `5g-38-5190-40` - 38 (5190/40 MHz) * `5g-40-5200-20` - 40 (5200/20 MHz) * `5g-42-5210-80` - 42 (5210/80 MHz) * `5g-44-5220-20` - 44 (5220/20 MHz) * `5g-46-5230-40` - 46 (5230/40 MHz) * `5g-48-5240-20` - 48 (5240/20 MHz) * `5g-50-5250-160` - 50 (5250/160 MHz) * `5g-52-5260-20` - 52 (5260/20 MHz) * `5g-54-5270-40` - 54 (5270/40 MHz) * `5g-56-5280-20` - 56 (5280/20 MHz) * `5g-58-5290-80` - 58 (5290/80 MHz) * `5g-60-5300-20` - 60 (5300/20 MHz) * `5g-62-5310-40` - 62 (5310/40 MHz) * `5g-64-5320-20` - 64 (5320/20 MHz) * `5g-100-5500-20` - 100 (5500/20 MHz) * `5g-102-5510-40` - 102 (5510/40 MHz) * `5g-104-5520-20` - 104 (5520/20 MHz) * `5g-106-5530-80` - 106 (5530/80 MHz) * `5g-108-5540-20` - 108 (5540/20 MHz) * `5g-110-5550-40` - 110 (5550/40 MHz) * `5g-112-5560-20` - 112 (5560/20 MHz) * `5g-114-5570-160` - 114 (5570/160 MHz) * `5g-116-5580-20` - 116 (5580/20 MHz) * `5g-118-5590-40` - 118 (5590/40 MHz) * `5g-120-5600-20` - 120 (5600/20 MHz) * `5g-122-5610-80` - 122 (5610/80 MHz) * `5g-124-5620-20` - 124 (5620/20 MHz) * `5g-126-5630-40` - 126 (5630/40 MHz) * `5g-128-5640-20` - 128 (5640/20 MHz) * `5g-132-5660-20` - 132 (5660/20 MHz) * `5g-134-5670-40` - 134 (5670/40 MHz) * `5g-136-5680-20` - 136 (5680/20 MHz) * `5g-138-5690-80` - 138 (5690/80 MHz) * `5g-140-5700-20` - 140 (5700/20 MHz) * `5g-142-5710-40` - 142 (5710/40 MHz) * `5g-144-5720-20` - 144 (5720/20 MHz) * `5g-149-5745-20` - 149 (5745/20 MHz) * `5g-151-5755-40` - 151 (5755/40 MHz) * `5g-153-5765-20` - 153 (5765/20 MHz) * `5g-155-5775-80` - 155 (5775/80 MHz) * `5g-157-5785-20` - 157 (5785/20 MHz) * `5g-159-5795-40` - 159 (5795/40 MHz) * `5g-161-5805-20` - 161 (5805/20 MHz) * `5g-163-5815-160` - 163 (5815/160 MHz) * `5g-165-5825-20` - 165 (5825/20 MHz) * `5g-167-5835-40` - 167 (5835/40 MHz) * `5g-169-5845-20` - 169 (5845/20 MHz) * `5g-171-5855-80` - 171 (5855/80 MHz) * `5g-173-5865-20` - 173 (5865/20 MHz) * `5g-175-5875-40` - 175 (5875/40 MHz) * `5g-177-5885-20` - 177 (5885/20 MHz) * `6g-1-5955-20` - 1 (5955/20 MHz) * `6g-3-5965-40` - 3 (5965/40 MHz) * `6g-5-5975-20` - 5 (5975/20 MHz) * `6g-7-5985-80` - 7 (5985/80 MHz) * `6g-9-5995-20` - 9 (5995/20 MHz) * `6g-11-6005-40` - 11 (6005/40 MHz) * `6g-13-6015-20` - 13 (6015/20 MHz) * `6g-15-6025-160` - 15 (6025/160 MHz) * `6g-17-6035-20` - 17 (6035/20 MHz) * `6g-19-6045-40` - 19 (6045/40 MHz) * `6g-21-6055-20` - 21 (6055/20 MHz) * `6g-23-6065-80` - 23 (6065/80 MHz) * `6g-25-6075-20` - 25 (6075/20 MHz) * `6g-27-6085-40` - 27 (6085/40 MHz) * `6g-29-6095-20` - 29 (6095/20 MHz) * `6g-31-6105-320` - 31 (6105/320 MHz) * `6g-33-6115-20` - 33 (6115/20 MHz) * `6g-35-6125-40` - 35 (6125/40 MHz) * `6g-37-6135-20` - 37 (6135/20 MHz) * `6g-39-6145-80` - 39 (6145/80 MHz) * `6g-41-6155-20` - 41 (6155/20 MHz) * `6g-43-6165-40` - 43 (6165/40 MHz) * `6g-45-6175-20` - 45 (6175/20 MHz) * `6g-47-6185-160` - 47 (6185/160 MHz) * `6g-49-6195-20` - 49 (6195/20 MHz) * `6g-51-6205-40` - 51 (6205/40 MHz) * `6g-53-6215-20` - 53 (6215/20 MHz) * `6g-55-6225-80` - 55 (6225/80 MHz) * `6g-57-6235-20` - 57 (6235/20 MHz) * `6g-59-6245-40` - 59 (6245/40 MHz) * `6g-61-6255-20` - 61 (6255/20 MHz) * `6g-65-6275-20` - 65 (6275/20 MHz) * `6g-67-6285-40` - 67 (6285/40 MHz) * `6g-69-6295-20` - 69 (6295/20 MHz) * `6g-71-6305-80` - 71 (6305/80 MHz) * `6g-73-6315-20` - 73 (6315/20 MHz) * `6g-75-6325-40` - 75 (6325/40 MHz) * `6g-77-6335-20` - 77 (6335/20 MHz) * `6g-79-6345-160` - 79 (6345/160 MHz) * `6g-81-6355-20` - 81 (6355/20 MHz) * `6g-83-6365-40` - 83 (6365/40 MHz) * `6g-85-6375-20` - 85 (6375/20 MHz) * `6g-87-6385-80` - 87 (6385/80 MHz) * `6g-89-6395-20` - 89 (6395/20 MHz) * `6g-91-6405-40` - 91 (6405/40 MHz) * `6g-93-6415-20` - 93 (6415/20 MHz) * `6g-95-6425-320` - 95 (6425/320 MHz) * `6g-97-6435-20` - 97 (6435/20 MHz) * `6g-99-6445-40` - 99 (6445/40 MHz) * `6g-101-6455-20` - 101 (6455/20 MHz) * `6g-103-6465-80` - 103 (6465/80 MHz) * `6g-105-6475-20` - 105 (6475/20 MHz) * `6g-107-6485-40` - 107 (6485/40 MHz) * `6g-109-6495-20` - 109 (6495/20 MHz) * `6g-111-6505-160` - 111 (6505/160 MHz) * `6g-113-6515-20` - 113 (6515/20 MHz) * `6g-115-6525-40` - 115 (6525/40 MHz) * `6g-117-6535-20` - 117 (6535/20 MHz) * `6g-119-6545-80` - 119 (6545/80 MHz) * `6g-121-6555-20` - 121 (6555/20 MHz) * `6g-123-6565-40` - 123 (6565/40 MHz) * `6g-125-6575-20` - 125 (6575/20 MHz) * `6g-129-6595-20` - 129 (6595/20 MHz) * `6g-131-6605-40` - 131 (6605/40 MHz) * `6g-133-6615-20` - 133 (6615/20 MHz) * `6g-135-6625-80` - 135 (6625/80 MHz) * `6g-137-6635-20` - 137 (6635/20 MHz) * `6g-139-6645-40` - 139 (6645/40 MHz) * `6g-141-6655-20` - 141 (6655/20 MHz) * `6g-143-6665-160` - 143 (6665/160 MHz) * `6g-145-6675-20` - 145 (6675/20 MHz) * `6g-147-6685-40` - 147 (6685/40 MHz) * `6g-149-6695-20` - 149 (6695/20 MHz) * `6g-151-6705-80` - 151 (6705/80 MHz) * `6g-153-6715-20` - 153 (6715/20 MHz) * `6g-155-6725-40` - 155 (6725/40 MHz) * `6g-157-6735-20` - 157 (6735/20 MHz) * `6g-159-6745-320` - 159 (6745/320 MHz) * `6g-161-6755-20` - 161 (6755/20 MHz) * `6g-163-6765-40` - 163 (6765/40 MHz) * `6g-165-6775-20` - 165 (6775/20 MHz) * `6g-167-6785-80` - 167 (6785/80 MHz) * `6g-169-6795-20` - 169 (6795/20 MHz) * `6g-171-6805-40` - 171 (6805/40 MHz) * `6g-173-6815-20` - 173 (6815/20 MHz) * `6g-175-6825-160` - 175 (6825/160 MHz) * `6g-177-6835-20` - 177 (6835/20 MHz) * `6g-179-6845-40` - 179 (6845/40 MHz) * `6g-181-6855-20` - 181 (6855/20 MHz) * `6g-183-6865-80` - 183 (6865/80 MHz) * `6g-185-6875-20` - 185 (6875/20 MHz) * `6g-187-6885-40` - 187 (6885/40 MHz) * `6g-189-6895-20` - 189 (6895/20 MHz) * `6g-193-6915-20` - 193 (6915/20 MHz) * `6g-195-6925-40` - 195 (6925/40 MHz) * `6g-197-6935-20` - 197 (6935/20 MHz) * `6g-199-6945-80` - 199 (6945/80 MHz) * `6g-201-6955-20` - 201 (6955/20 MHz) * `6g-203-6965-40` - 203 (6965/40 MHz) * `6g-205-6975-20` - 205 (6975/20 MHz) * `6g-207-6985-160` - 207 (6985/160 MHz) * `6g-209-6995-20` - 209 (6995/20 MHz) * `6g-211-7005-40` - 211 (7005/40 MHz) * `6g-213-7015-20` - 213 (7015/20 MHz) * `6g-215-7025-80` - 215 (7025/80 MHz) * `6g-217-7035-20` - 217 (7035/20 MHz) * `6g-219-7045-40` - 219 (7045/40 MHz) * `6g-221-7055-20` - 221 (7055/20 MHz) * `6g-225-7075-20` - 225 (7075/20 MHz) * `6g-227-7085-40` - 227 (7085/40 MHz) * `6g-229-7095-20` - 229 (7095/20 MHz) * `6g-233-7115-20` - 233 (7115/20 MHz) * `60g-1-58320-2160` - 1 (58.32/2.16 GHz) * `60g-2-60480-2160` - 2 (60.48/2.16 GHz) * `60g-3-62640-2160` - 3 (62.64/2.16 GHz) * `60g-4-64800-2160` - 4 (64.80/2.16 GHz) * `60g-5-66960-2160` - 5 (66.96/2.16 GHz) * `60g-6-69120-2160` - 6 (69.12/2.16 GHz) * `60g-9-59400-4320` - 9 (59.40/4.32 GHz) * `60g-10-61560-4320` - 10 (61.56/4.32 GHz) * `60g-11-63720-4320` - 11 (63.72/4.32 GHz) * `60g-12-65880-4320` - 12 (65.88/4.32 GHz) * `60g-13-68040-4320` - 13 (68.04/4.32 GHz) * `60g-17-60480-6480` - 17 (60.48/6.48 GHz) * `60g-18-62640-6480` - 18 (62.64/6.48 GHz) * `60g-19-64800-6480` - 19 (64.80/6.48 GHz) * `60g-20-66960-6480` - 20 (66.96/6.48 GHz) * `60g-25-61560-6480` - 25 (61.56/8.64 GHz) * `60g-26-63720-6480` - 26 (63.72/8.64 GHz) * `60g-27-65880-6480` - 27 (65.88/8.64 GHz) | + **rfChannelN** | [**[]WirelessChannel**](WirelessChannel.md) | * `2.4g-1-2412-22` - 1 (2412 MHz) * `2.4g-2-2417-22` - 2 (2417 MHz) * `2.4g-3-2422-22` - 3 (2422 MHz) * `2.4g-4-2427-22` - 4 (2427 MHz) * `2.4g-5-2432-22` - 5 (2432 MHz) * `2.4g-6-2437-22` - 6 (2437 MHz) * `2.4g-7-2442-22` - 7 (2442 MHz) * `2.4g-8-2447-22` - 8 (2447 MHz) * `2.4g-9-2452-22` - 9 (2452 MHz) * `2.4g-10-2457-22` - 10 (2457 MHz) * `2.4g-11-2462-22` - 11 (2462 MHz) * `2.4g-12-2467-22` - 12 (2467 MHz) * `2.4g-13-2472-22` - 13 (2472 MHz) * `5g-32-5160-20` - 32 (5160/20 MHz) * `5g-34-5170-40` - 34 (5170/40 MHz) * `5g-36-5180-20` - 36 (5180/20 MHz) * `5g-38-5190-40` - 38 (5190/40 MHz) * `5g-40-5200-20` - 40 (5200/20 MHz) * `5g-42-5210-80` - 42 (5210/80 MHz) * `5g-44-5220-20` - 44 (5220/20 MHz) * `5g-46-5230-40` - 46 (5230/40 MHz) * `5g-48-5240-20` - 48 (5240/20 MHz) * `5g-50-5250-160` - 50 (5250/160 MHz) * `5g-52-5260-20` - 52 (5260/20 MHz) * `5g-54-5270-40` - 54 (5270/40 MHz) * `5g-56-5280-20` - 56 (5280/20 MHz) * `5g-58-5290-80` - 58 (5290/80 MHz) * `5g-60-5300-20` - 60 (5300/20 MHz) * `5g-62-5310-40` - 62 (5310/40 MHz) * `5g-64-5320-20` - 64 (5320/20 MHz) * `5g-100-5500-20` - 100 (5500/20 MHz) * `5g-102-5510-40` - 102 (5510/40 MHz) * `5g-104-5520-20` - 104 (5520/20 MHz) * `5g-106-5530-80` - 106 (5530/80 MHz) * `5g-108-5540-20` - 108 (5540/20 MHz) * `5g-110-5550-40` - 110 (5550/40 MHz) * `5g-112-5560-20` - 112 (5560/20 MHz) * `5g-114-5570-160` - 114 (5570/160 MHz) * `5g-116-5580-20` - 116 (5580/20 MHz) * `5g-118-5590-40` - 118 (5590/40 MHz) * `5g-120-5600-20` - 120 (5600/20 MHz) * `5g-122-5610-80` - 122 (5610/80 MHz) * `5g-124-5620-20` - 124 (5620/20 MHz) * `5g-126-5630-40` - 126 (5630/40 MHz) * `5g-128-5640-20` - 128 (5640/20 MHz) * `5g-132-5660-20` - 132 (5660/20 MHz) * `5g-134-5670-40` - 134 (5670/40 MHz) * `5g-136-5680-20` - 136 (5680/20 MHz) * `5g-138-5690-80` - 138 (5690/80 MHz) * `5g-140-5700-20` - 140 (5700/20 MHz) * `5g-142-5710-40` - 142 (5710/40 MHz) * `5g-144-5720-20` - 144 (5720/20 MHz) * `5g-149-5745-20` - 149 (5745/20 MHz) * `5g-151-5755-40` - 151 (5755/40 MHz) * `5g-153-5765-20` - 153 (5765/20 MHz) * `5g-155-5775-80` - 155 (5775/80 MHz) * `5g-157-5785-20` - 157 (5785/20 MHz) * `5g-159-5795-40` - 159 (5795/40 MHz) * `5g-161-5805-20` - 161 (5805/20 MHz) * `5g-163-5815-160` - 163 (5815/160 MHz) * `5g-165-5825-20` - 165 (5825/20 MHz) * `5g-167-5835-40` - 167 (5835/40 MHz) * `5g-169-5845-20` - 169 (5845/20 MHz) * `5g-171-5855-80` - 171 (5855/80 MHz) * `5g-173-5865-20` - 173 (5865/20 MHz) * `5g-175-5875-40` - 175 (5875/40 MHz) * `5g-177-5885-20` - 177 (5885/20 MHz) * `6g-1-5955-20` - 1 (5955/20 MHz) * `6g-3-5965-40` - 3 (5965/40 MHz) * `6g-5-5975-20` - 5 (5975/20 MHz) * `6g-7-5985-80` - 7 (5985/80 MHz) * `6g-9-5995-20` - 9 (5995/20 MHz) * `6g-11-6005-40` - 11 (6005/40 MHz) * `6g-13-6015-20` - 13 (6015/20 MHz) * `6g-15-6025-160` - 15 (6025/160 MHz) * `6g-17-6035-20` - 17 (6035/20 MHz) * `6g-19-6045-40` - 19 (6045/40 MHz) * `6g-21-6055-20` - 21 (6055/20 MHz) * `6g-23-6065-80` - 23 (6065/80 MHz) * `6g-25-6075-20` - 25 (6075/20 MHz) * `6g-27-6085-40` - 27 (6085/40 MHz) * `6g-29-6095-20` - 29 (6095/20 MHz) * `6g-31-6105-320` - 31 (6105/320 MHz) * `6g-33-6115-20` - 33 (6115/20 MHz) * `6g-35-6125-40` - 35 (6125/40 MHz) * `6g-37-6135-20` - 37 (6135/20 MHz) * `6g-39-6145-80` - 39 (6145/80 MHz) * `6g-41-6155-20` - 41 (6155/20 MHz) * `6g-43-6165-40` - 43 (6165/40 MHz) * `6g-45-6175-20` - 45 (6175/20 MHz) * `6g-47-6185-160` - 47 (6185/160 MHz) * `6g-49-6195-20` - 49 (6195/20 MHz) * `6g-51-6205-40` - 51 (6205/40 MHz) * `6g-53-6215-20` - 53 (6215/20 MHz) * `6g-55-6225-80` - 55 (6225/80 MHz) * `6g-57-6235-20` - 57 (6235/20 MHz) * `6g-59-6245-40` - 59 (6245/40 MHz) * `6g-61-6255-20` - 61 (6255/20 MHz) * `6g-65-6275-20` - 65 (6275/20 MHz) * `6g-67-6285-40` - 67 (6285/40 MHz) * `6g-69-6295-20` - 69 (6295/20 MHz) * `6g-71-6305-80` - 71 (6305/80 MHz) * `6g-73-6315-20` - 73 (6315/20 MHz) * `6g-75-6325-40` - 75 (6325/40 MHz) * `6g-77-6335-20` - 77 (6335/20 MHz) * `6g-79-6345-160` - 79 (6345/160 MHz) * `6g-81-6355-20` - 81 (6355/20 MHz) * `6g-83-6365-40` - 83 (6365/40 MHz) * `6g-85-6375-20` - 85 (6375/20 MHz) * `6g-87-6385-80` - 87 (6385/80 MHz) * `6g-89-6395-20` - 89 (6395/20 MHz) * `6g-91-6405-40` - 91 (6405/40 MHz) * `6g-93-6415-20` - 93 (6415/20 MHz) * `6g-95-6425-320` - 95 (6425/320 MHz) * `6g-97-6435-20` - 97 (6435/20 MHz) * `6g-99-6445-40` - 99 (6445/40 MHz) * `6g-101-6455-20` - 101 (6455/20 MHz) * `6g-103-6465-80` - 103 (6465/80 MHz) * `6g-105-6475-20` - 105 (6475/20 MHz) * `6g-107-6485-40` - 107 (6485/40 MHz) * `6g-109-6495-20` - 109 (6495/20 MHz) * `6g-111-6505-160` - 111 (6505/160 MHz) * `6g-113-6515-20` - 113 (6515/20 MHz) * `6g-115-6525-40` - 115 (6525/40 MHz) * `6g-117-6535-20` - 117 (6535/20 MHz) * `6g-119-6545-80` - 119 (6545/80 MHz) * `6g-121-6555-20` - 121 (6555/20 MHz) * `6g-123-6565-40` - 123 (6565/40 MHz) * `6g-125-6575-20` - 125 (6575/20 MHz) * `6g-129-6595-20` - 129 (6595/20 MHz) * `6g-131-6605-40` - 131 (6605/40 MHz) * `6g-133-6615-20` - 133 (6615/20 MHz) * `6g-135-6625-80` - 135 (6625/80 MHz) * `6g-137-6635-20` - 137 (6635/20 MHz) * `6g-139-6645-40` - 139 (6645/40 MHz) * `6g-141-6655-20` - 141 (6655/20 MHz) * `6g-143-6665-160` - 143 (6665/160 MHz) * `6g-145-6675-20` - 145 (6675/20 MHz) * `6g-147-6685-40` - 147 (6685/40 MHz) * `6g-149-6695-20` - 149 (6695/20 MHz) * `6g-151-6705-80` - 151 (6705/80 MHz) * `6g-153-6715-20` - 153 (6715/20 MHz) * `6g-155-6725-40` - 155 (6725/40 MHz) * `6g-157-6735-20` - 157 (6735/20 MHz) * `6g-159-6745-320` - 159 (6745/320 MHz) * `6g-161-6755-20` - 161 (6755/20 MHz) * `6g-163-6765-40` - 163 (6765/40 MHz) * `6g-165-6775-20` - 165 (6775/20 MHz) * `6g-167-6785-80` - 167 (6785/80 MHz) * `6g-169-6795-20` - 169 (6795/20 MHz) * `6g-171-6805-40` - 171 (6805/40 MHz) * `6g-173-6815-20` - 173 (6815/20 MHz) * `6g-175-6825-160` - 175 (6825/160 MHz) * `6g-177-6835-20` - 177 (6835/20 MHz) * `6g-179-6845-40` - 179 (6845/40 MHz) * `6g-181-6855-20` - 181 (6855/20 MHz) * `6g-183-6865-80` - 183 (6865/80 MHz) * `6g-185-6875-20` - 185 (6875/20 MHz) * `6g-187-6885-40` - 187 (6885/40 MHz) * `6g-189-6895-20` - 189 (6895/20 MHz) * `6g-193-6915-20` - 193 (6915/20 MHz) * `6g-195-6925-40` - 195 (6925/40 MHz) * `6g-197-6935-20` - 197 (6935/20 MHz) * `6g-199-6945-80` - 199 (6945/80 MHz) * `6g-201-6955-20` - 201 (6955/20 MHz) * `6g-203-6965-40` - 203 (6965/40 MHz) * `6g-205-6975-20` - 205 (6975/20 MHz) * `6g-207-6985-160` - 207 (6985/160 MHz) * `6g-209-6995-20` - 209 (6995/20 MHz) * `6g-211-7005-40` - 211 (7005/40 MHz) * `6g-213-7015-20` - 213 (7015/20 MHz) * `6g-215-7025-80` - 215 (7025/80 MHz) * `6g-217-7035-20` - 217 (7035/20 MHz) * `6g-219-7045-40` - 219 (7045/40 MHz) * `6g-221-7055-20` - 221 (7055/20 MHz) * `6g-225-7075-20` - 225 (7075/20 MHz) * `6g-227-7085-40` - 227 (7085/40 MHz) * `6g-229-7095-20` - 229 (7095/20 MHz) * `6g-233-7115-20` - 233 (7115/20 MHz) * `60g-1-58320-2160` - 1 (58.32/2.16 GHz) * `60g-2-60480-2160` - 2 (60.48/2.16 GHz) * `60g-3-62640-2160` - 3 (62.64/2.16 GHz) * `60g-4-64800-2160` - 4 (64.80/2.16 GHz) * `60g-5-66960-2160` - 5 (66.96/2.16 GHz) * `60g-6-69120-2160` - 6 (69.12/2.16 GHz) * `60g-9-59400-4320` - 9 (59.40/4.32 GHz) * `60g-10-61560-4320` - 10 (61.56/4.32 GHz) * `60g-11-63720-4320` - 11 (63.72/4.32 GHz) * `60g-12-65880-4320` - 12 (65.88/4.32 GHz) * `60g-13-68040-4320` - 13 (68.04/4.32 GHz) * `60g-17-60480-6480` - 17 (60.48/6.48 GHz) * `60g-18-62640-6480` - 18 (62.64/6.48 GHz) * `60g-19-64800-6480` - 19 (64.80/6.48 GHz) * `60g-20-66960-6480` - 20 (66.96/6.48 GHz) * `60g-25-61560-6480` - 25 (61.56/8.64 GHz) * `60g-26-63720-6480` - 26 (63.72/8.64 GHz) * `60g-27-65880-6480` - 27 (65.88/8.64 GHz) | + **rfChannelNic** | [**[]WirelessChannel**](WirelessChannel.md) | * `2.4g-1-2412-22` - 1 (2412 MHz) * `2.4g-2-2417-22` - 2 (2417 MHz) * `2.4g-3-2422-22` - 3 (2422 MHz) * `2.4g-4-2427-22` - 4 (2427 MHz) * `2.4g-5-2432-22` - 5 (2432 MHz) * `2.4g-6-2437-22` - 6 (2437 MHz) * `2.4g-7-2442-22` - 7 (2442 MHz) * `2.4g-8-2447-22` - 8 (2447 MHz) * `2.4g-9-2452-22` - 9 (2452 MHz) * `2.4g-10-2457-22` - 10 (2457 MHz) * `2.4g-11-2462-22` - 11 (2462 MHz) * `2.4g-12-2467-22` - 12 (2467 MHz) * `2.4g-13-2472-22` - 13 (2472 MHz) * `5g-32-5160-20` - 32 (5160/20 MHz) * `5g-34-5170-40` - 34 (5170/40 MHz) * `5g-36-5180-20` - 36 (5180/20 MHz) * `5g-38-5190-40` - 38 (5190/40 MHz) * `5g-40-5200-20` - 40 (5200/20 MHz) * `5g-42-5210-80` - 42 (5210/80 MHz) * `5g-44-5220-20` - 44 (5220/20 MHz) * `5g-46-5230-40` - 46 (5230/40 MHz) * `5g-48-5240-20` - 48 (5240/20 MHz) * `5g-50-5250-160` - 50 (5250/160 MHz) * `5g-52-5260-20` - 52 (5260/20 MHz) * `5g-54-5270-40` - 54 (5270/40 MHz) * `5g-56-5280-20` - 56 (5280/20 MHz) * `5g-58-5290-80` - 58 (5290/80 MHz) * `5g-60-5300-20` - 60 (5300/20 MHz) * `5g-62-5310-40` - 62 (5310/40 MHz) * `5g-64-5320-20` - 64 (5320/20 MHz) * `5g-100-5500-20` - 100 (5500/20 MHz) * `5g-102-5510-40` - 102 (5510/40 MHz) * `5g-104-5520-20` - 104 (5520/20 MHz) * `5g-106-5530-80` - 106 (5530/80 MHz) * `5g-108-5540-20` - 108 (5540/20 MHz) * `5g-110-5550-40` - 110 (5550/40 MHz) * `5g-112-5560-20` - 112 (5560/20 MHz) * `5g-114-5570-160` - 114 (5570/160 MHz) * `5g-116-5580-20` - 116 (5580/20 MHz) * `5g-118-5590-40` - 118 (5590/40 MHz) * `5g-120-5600-20` - 120 (5600/20 MHz) * `5g-122-5610-80` - 122 (5610/80 MHz) * `5g-124-5620-20` - 124 (5620/20 MHz) * `5g-126-5630-40` - 126 (5630/40 MHz) * `5g-128-5640-20` - 128 (5640/20 MHz) * `5g-132-5660-20` - 132 (5660/20 MHz) * `5g-134-5670-40` - 134 (5670/40 MHz) * `5g-136-5680-20` - 136 (5680/20 MHz) * `5g-138-5690-80` - 138 (5690/80 MHz) * `5g-140-5700-20` - 140 (5700/20 MHz) * `5g-142-5710-40` - 142 (5710/40 MHz) * `5g-144-5720-20` - 144 (5720/20 MHz) * `5g-149-5745-20` - 149 (5745/20 MHz) * `5g-151-5755-40` - 151 (5755/40 MHz) * `5g-153-5765-20` - 153 (5765/20 MHz) * `5g-155-5775-80` - 155 (5775/80 MHz) * `5g-157-5785-20` - 157 (5785/20 MHz) * `5g-159-5795-40` - 159 (5795/40 MHz) * `5g-161-5805-20` - 161 (5805/20 MHz) * `5g-163-5815-160` - 163 (5815/160 MHz) * `5g-165-5825-20` - 165 (5825/20 MHz) * `5g-167-5835-40` - 167 (5835/40 MHz) * `5g-169-5845-20` - 169 (5845/20 MHz) * `5g-171-5855-80` - 171 (5855/80 MHz) * `5g-173-5865-20` - 173 (5865/20 MHz) * `5g-175-5875-40` - 175 (5875/40 MHz) * `5g-177-5885-20` - 177 (5885/20 MHz) * `6g-1-5955-20` - 1 (5955/20 MHz) * `6g-3-5965-40` - 3 (5965/40 MHz) * `6g-5-5975-20` - 5 (5975/20 MHz) * `6g-7-5985-80` - 7 (5985/80 MHz) * `6g-9-5995-20` - 9 (5995/20 MHz) * `6g-11-6005-40` - 11 (6005/40 MHz) * `6g-13-6015-20` - 13 (6015/20 MHz) * `6g-15-6025-160` - 15 (6025/160 MHz) * `6g-17-6035-20` - 17 (6035/20 MHz) * `6g-19-6045-40` - 19 (6045/40 MHz) * `6g-21-6055-20` - 21 (6055/20 MHz) * `6g-23-6065-80` - 23 (6065/80 MHz) * `6g-25-6075-20` - 25 (6075/20 MHz) * `6g-27-6085-40` - 27 (6085/40 MHz) * `6g-29-6095-20` - 29 (6095/20 MHz) * `6g-31-6105-320` - 31 (6105/320 MHz) * `6g-33-6115-20` - 33 (6115/20 MHz) * `6g-35-6125-40` - 35 (6125/40 MHz) * `6g-37-6135-20` - 37 (6135/20 MHz) * `6g-39-6145-80` - 39 (6145/80 MHz) * `6g-41-6155-20` - 41 (6155/20 MHz) * `6g-43-6165-40` - 43 (6165/40 MHz) * `6g-45-6175-20` - 45 (6175/20 MHz) * `6g-47-6185-160` - 47 (6185/160 MHz) * `6g-49-6195-20` - 49 (6195/20 MHz) * `6g-51-6205-40` - 51 (6205/40 MHz) * `6g-53-6215-20` - 53 (6215/20 MHz) * `6g-55-6225-80` - 55 (6225/80 MHz) * `6g-57-6235-20` - 57 (6235/20 MHz) * `6g-59-6245-40` - 59 (6245/40 MHz) * `6g-61-6255-20` - 61 (6255/20 MHz) * `6g-65-6275-20` - 65 (6275/20 MHz) * `6g-67-6285-40` - 67 (6285/40 MHz) * `6g-69-6295-20` - 69 (6295/20 MHz) * `6g-71-6305-80` - 71 (6305/80 MHz) * `6g-73-6315-20` - 73 (6315/20 MHz) * `6g-75-6325-40` - 75 (6325/40 MHz) * `6g-77-6335-20` - 77 (6335/20 MHz) * `6g-79-6345-160` - 79 (6345/160 MHz) * `6g-81-6355-20` - 81 (6355/20 MHz) * `6g-83-6365-40` - 83 (6365/40 MHz) * `6g-85-6375-20` - 85 (6375/20 MHz) * `6g-87-6385-80` - 87 (6385/80 MHz) * `6g-89-6395-20` - 89 (6395/20 MHz) * `6g-91-6405-40` - 91 (6405/40 MHz) * `6g-93-6415-20` - 93 (6415/20 MHz) * `6g-95-6425-320` - 95 (6425/320 MHz) * `6g-97-6435-20` - 97 (6435/20 MHz) * `6g-99-6445-40` - 99 (6445/40 MHz) * `6g-101-6455-20` - 101 (6455/20 MHz) * `6g-103-6465-80` - 103 (6465/80 MHz) * `6g-105-6475-20` - 105 (6475/20 MHz) * `6g-107-6485-40` - 107 (6485/40 MHz) * `6g-109-6495-20` - 109 (6495/20 MHz) * `6g-111-6505-160` - 111 (6505/160 MHz) * `6g-113-6515-20` - 113 (6515/20 MHz) * `6g-115-6525-40` - 115 (6525/40 MHz) * `6g-117-6535-20` - 117 (6535/20 MHz) * `6g-119-6545-80` - 119 (6545/80 MHz) * `6g-121-6555-20` - 121 (6555/20 MHz) * `6g-123-6565-40` - 123 (6565/40 MHz) * `6g-125-6575-20` - 125 (6575/20 MHz) * `6g-129-6595-20` - 129 (6595/20 MHz) * `6g-131-6605-40` - 131 (6605/40 MHz) * `6g-133-6615-20` - 133 (6615/20 MHz) * `6g-135-6625-80` - 135 (6625/80 MHz) * `6g-137-6635-20` - 137 (6635/20 MHz) * `6g-139-6645-40` - 139 (6645/40 MHz) * `6g-141-6655-20` - 141 (6655/20 MHz) * `6g-143-6665-160` - 143 (6665/160 MHz) * `6g-145-6675-20` - 145 (6675/20 MHz) * `6g-147-6685-40` - 147 (6685/40 MHz) * `6g-149-6695-20` - 149 (6695/20 MHz) * `6g-151-6705-80` - 151 (6705/80 MHz) * `6g-153-6715-20` - 153 (6715/20 MHz) * `6g-155-6725-40` - 155 (6725/40 MHz) * `6g-157-6735-20` - 157 (6735/20 MHz) * `6g-159-6745-320` - 159 (6745/320 MHz) * `6g-161-6755-20` - 161 (6755/20 MHz) * `6g-163-6765-40` - 163 (6765/40 MHz) * `6g-165-6775-20` - 165 (6775/20 MHz) * `6g-167-6785-80` - 167 (6785/80 MHz) * `6g-169-6795-20` - 169 (6795/20 MHz) * `6g-171-6805-40` - 171 (6805/40 MHz) * `6g-173-6815-20` - 173 (6815/20 MHz) * `6g-175-6825-160` - 175 (6825/160 MHz) * `6g-177-6835-20` - 177 (6835/20 MHz) * `6g-179-6845-40` - 179 (6845/40 MHz) * `6g-181-6855-20` - 181 (6855/20 MHz) * `6g-183-6865-80` - 183 (6865/80 MHz) * `6g-185-6875-20` - 185 (6875/20 MHz) * `6g-187-6885-40` - 187 (6885/40 MHz) * `6g-189-6895-20` - 189 (6895/20 MHz) * `6g-193-6915-20` - 193 (6915/20 MHz) * `6g-195-6925-40` - 195 (6925/40 MHz) * `6g-197-6935-20` - 197 (6935/20 MHz) * `6g-199-6945-80` - 199 (6945/80 MHz) * `6g-201-6955-20` - 201 (6955/20 MHz) * `6g-203-6965-40` - 203 (6965/40 MHz) * `6g-205-6975-20` - 205 (6975/20 MHz) * `6g-207-6985-160` - 207 (6985/160 MHz) * `6g-209-6995-20` - 209 (6995/20 MHz) * `6g-211-7005-40` - 211 (7005/40 MHz) * `6g-213-7015-20` - 213 (7015/20 MHz) * `6g-215-7025-80` - 215 (7025/80 MHz) * `6g-217-7035-20` - 217 (7035/20 MHz) * `6g-219-7045-40` - 219 (7045/40 MHz) * `6g-221-7055-20` - 221 (7055/20 MHz) * `6g-225-7075-20` - 225 (7075/20 MHz) * `6g-227-7085-40` - 227 (7085/40 MHz) * `6g-229-7095-20` - 229 (7095/20 MHz) * `6g-233-7115-20` - 233 (7115/20 MHz) * `60g-1-58320-2160` - 1 (58.32/2.16 GHz) * `60g-2-60480-2160` - 2 (60.48/2.16 GHz) * `60g-3-62640-2160` - 3 (62.64/2.16 GHz) * `60g-4-64800-2160` - 4 (64.80/2.16 GHz) * `60g-5-66960-2160` - 5 (66.96/2.16 GHz) * `60g-6-69120-2160` - 6 (69.12/2.16 GHz) * `60g-9-59400-4320` - 9 (59.40/4.32 GHz) * `60g-10-61560-4320` - 10 (61.56/4.32 GHz) * `60g-11-63720-4320` - 11 (63.72/4.32 GHz) * `60g-12-65880-4320` - 12 (65.88/4.32 GHz) * `60g-13-68040-4320` - 13 (68.04/4.32 GHz) * `60g-17-60480-6480` - 17 (60.48/6.48 GHz) * `60g-18-62640-6480` - 18 (62.64/6.48 GHz) * `60g-19-64800-6480` - 19 (64.80/6.48 GHz) * `60g-20-66960-6480` - 20 (66.96/6.48 GHz) * `60g-25-61560-6480` - 25 (61.56/8.64 GHz) * `60g-26-63720-6480` - 26 (63.72/8.64 GHz) * `60g-27-65880-6480` - 27 (65.88/8.64 GHz) | + **rfChannelNie** | [**[]WirelessChannel**](WirelessChannel.md) | * `2.4g-1-2412-22` - 1 (2412 MHz) * `2.4g-2-2417-22` - 2 (2417 MHz) * `2.4g-3-2422-22` - 3 (2422 MHz) * `2.4g-4-2427-22` - 4 (2427 MHz) * `2.4g-5-2432-22` - 5 (2432 MHz) * `2.4g-6-2437-22` - 6 (2437 MHz) * `2.4g-7-2442-22` - 7 (2442 MHz) * `2.4g-8-2447-22` - 8 (2447 MHz) * `2.4g-9-2452-22` - 9 (2452 MHz) * `2.4g-10-2457-22` - 10 (2457 MHz) * `2.4g-11-2462-22` - 11 (2462 MHz) * `2.4g-12-2467-22` - 12 (2467 MHz) * `2.4g-13-2472-22` - 13 (2472 MHz) * `5g-32-5160-20` - 32 (5160/20 MHz) * `5g-34-5170-40` - 34 (5170/40 MHz) * `5g-36-5180-20` - 36 (5180/20 MHz) * `5g-38-5190-40` - 38 (5190/40 MHz) * `5g-40-5200-20` - 40 (5200/20 MHz) * `5g-42-5210-80` - 42 (5210/80 MHz) * `5g-44-5220-20` - 44 (5220/20 MHz) * `5g-46-5230-40` - 46 (5230/40 MHz) * `5g-48-5240-20` - 48 (5240/20 MHz) * `5g-50-5250-160` - 50 (5250/160 MHz) * `5g-52-5260-20` - 52 (5260/20 MHz) * `5g-54-5270-40` - 54 (5270/40 MHz) * `5g-56-5280-20` - 56 (5280/20 MHz) * `5g-58-5290-80` - 58 (5290/80 MHz) * `5g-60-5300-20` - 60 (5300/20 MHz) * `5g-62-5310-40` - 62 (5310/40 MHz) * `5g-64-5320-20` - 64 (5320/20 MHz) * `5g-100-5500-20` - 100 (5500/20 MHz) * `5g-102-5510-40` - 102 (5510/40 MHz) * `5g-104-5520-20` - 104 (5520/20 MHz) * `5g-106-5530-80` - 106 (5530/80 MHz) * `5g-108-5540-20` - 108 (5540/20 MHz) * `5g-110-5550-40` - 110 (5550/40 MHz) * `5g-112-5560-20` - 112 (5560/20 MHz) * `5g-114-5570-160` - 114 (5570/160 MHz) * `5g-116-5580-20` - 116 (5580/20 MHz) * `5g-118-5590-40` - 118 (5590/40 MHz) * `5g-120-5600-20` - 120 (5600/20 MHz) * `5g-122-5610-80` - 122 (5610/80 MHz) * `5g-124-5620-20` - 124 (5620/20 MHz) * `5g-126-5630-40` - 126 (5630/40 MHz) * `5g-128-5640-20` - 128 (5640/20 MHz) * `5g-132-5660-20` - 132 (5660/20 MHz) * `5g-134-5670-40` - 134 (5670/40 MHz) * `5g-136-5680-20` - 136 (5680/20 MHz) * `5g-138-5690-80` - 138 (5690/80 MHz) * `5g-140-5700-20` - 140 (5700/20 MHz) * `5g-142-5710-40` - 142 (5710/40 MHz) * `5g-144-5720-20` - 144 (5720/20 MHz) * `5g-149-5745-20` - 149 (5745/20 MHz) * `5g-151-5755-40` - 151 (5755/40 MHz) * `5g-153-5765-20` - 153 (5765/20 MHz) * `5g-155-5775-80` - 155 (5775/80 MHz) * `5g-157-5785-20` - 157 (5785/20 MHz) * `5g-159-5795-40` - 159 (5795/40 MHz) * `5g-161-5805-20` - 161 (5805/20 MHz) * `5g-163-5815-160` - 163 (5815/160 MHz) * `5g-165-5825-20` - 165 (5825/20 MHz) * `5g-167-5835-40` - 167 (5835/40 MHz) * `5g-169-5845-20` - 169 (5845/20 MHz) * `5g-171-5855-80` - 171 (5855/80 MHz) * `5g-173-5865-20` - 173 (5865/20 MHz) * `5g-175-5875-40` - 175 (5875/40 MHz) * `5g-177-5885-20` - 177 (5885/20 MHz) * `6g-1-5955-20` - 1 (5955/20 MHz) * `6g-3-5965-40` - 3 (5965/40 MHz) * `6g-5-5975-20` - 5 (5975/20 MHz) * `6g-7-5985-80` - 7 (5985/80 MHz) * `6g-9-5995-20` - 9 (5995/20 MHz) * `6g-11-6005-40` - 11 (6005/40 MHz) * `6g-13-6015-20` - 13 (6015/20 MHz) * `6g-15-6025-160` - 15 (6025/160 MHz) * `6g-17-6035-20` - 17 (6035/20 MHz) * `6g-19-6045-40` - 19 (6045/40 MHz) * `6g-21-6055-20` - 21 (6055/20 MHz) * `6g-23-6065-80` - 23 (6065/80 MHz) * `6g-25-6075-20` - 25 (6075/20 MHz) * `6g-27-6085-40` - 27 (6085/40 MHz) * `6g-29-6095-20` - 29 (6095/20 MHz) * `6g-31-6105-320` - 31 (6105/320 MHz) * `6g-33-6115-20` - 33 (6115/20 MHz) * `6g-35-6125-40` - 35 (6125/40 MHz) * `6g-37-6135-20` - 37 (6135/20 MHz) * `6g-39-6145-80` - 39 (6145/80 MHz) * `6g-41-6155-20` - 41 (6155/20 MHz) * `6g-43-6165-40` - 43 (6165/40 MHz) * `6g-45-6175-20` - 45 (6175/20 MHz) * `6g-47-6185-160` - 47 (6185/160 MHz) * `6g-49-6195-20` - 49 (6195/20 MHz) * `6g-51-6205-40` - 51 (6205/40 MHz) * `6g-53-6215-20` - 53 (6215/20 MHz) * `6g-55-6225-80` - 55 (6225/80 MHz) * `6g-57-6235-20` - 57 (6235/20 MHz) * `6g-59-6245-40` - 59 (6245/40 MHz) * `6g-61-6255-20` - 61 (6255/20 MHz) * `6g-65-6275-20` - 65 (6275/20 MHz) * `6g-67-6285-40` - 67 (6285/40 MHz) * `6g-69-6295-20` - 69 (6295/20 MHz) * `6g-71-6305-80` - 71 (6305/80 MHz) * `6g-73-6315-20` - 73 (6315/20 MHz) * `6g-75-6325-40` - 75 (6325/40 MHz) * `6g-77-6335-20` - 77 (6335/20 MHz) * `6g-79-6345-160` - 79 (6345/160 MHz) * `6g-81-6355-20` - 81 (6355/20 MHz) * `6g-83-6365-40` - 83 (6365/40 MHz) * `6g-85-6375-20` - 85 (6375/20 MHz) * `6g-87-6385-80` - 87 (6385/80 MHz) * `6g-89-6395-20` - 89 (6395/20 MHz) * `6g-91-6405-40` - 91 (6405/40 MHz) * `6g-93-6415-20` - 93 (6415/20 MHz) * `6g-95-6425-320` - 95 (6425/320 MHz) * `6g-97-6435-20` - 97 (6435/20 MHz) * `6g-99-6445-40` - 99 (6445/40 MHz) * `6g-101-6455-20` - 101 (6455/20 MHz) * `6g-103-6465-80` - 103 (6465/80 MHz) * `6g-105-6475-20` - 105 (6475/20 MHz) * `6g-107-6485-40` - 107 (6485/40 MHz) * `6g-109-6495-20` - 109 (6495/20 MHz) * `6g-111-6505-160` - 111 (6505/160 MHz) * `6g-113-6515-20` - 113 (6515/20 MHz) * `6g-115-6525-40` - 115 (6525/40 MHz) * `6g-117-6535-20` - 117 (6535/20 MHz) * `6g-119-6545-80` - 119 (6545/80 MHz) * `6g-121-6555-20` - 121 (6555/20 MHz) * `6g-123-6565-40` - 123 (6565/40 MHz) * `6g-125-6575-20` - 125 (6575/20 MHz) * `6g-129-6595-20` - 129 (6595/20 MHz) * `6g-131-6605-40` - 131 (6605/40 MHz) * `6g-133-6615-20` - 133 (6615/20 MHz) * `6g-135-6625-80` - 135 (6625/80 MHz) * `6g-137-6635-20` - 137 (6635/20 MHz) * `6g-139-6645-40` - 139 (6645/40 MHz) * `6g-141-6655-20` - 141 (6655/20 MHz) * `6g-143-6665-160` - 143 (6665/160 MHz) * `6g-145-6675-20` - 145 (6675/20 MHz) * `6g-147-6685-40` - 147 (6685/40 MHz) * `6g-149-6695-20` - 149 (6695/20 MHz) * `6g-151-6705-80` - 151 (6705/80 MHz) * `6g-153-6715-20` - 153 (6715/20 MHz) * `6g-155-6725-40` - 155 (6725/40 MHz) * `6g-157-6735-20` - 157 (6735/20 MHz) * `6g-159-6745-320` - 159 (6745/320 MHz) * `6g-161-6755-20` - 161 (6755/20 MHz) * `6g-163-6765-40` - 163 (6765/40 MHz) * `6g-165-6775-20` - 165 (6775/20 MHz) * `6g-167-6785-80` - 167 (6785/80 MHz) * `6g-169-6795-20` - 169 (6795/20 MHz) * `6g-171-6805-40` - 171 (6805/40 MHz) * `6g-173-6815-20` - 173 (6815/20 MHz) * `6g-175-6825-160` - 175 (6825/160 MHz) * `6g-177-6835-20` - 177 (6835/20 MHz) * `6g-179-6845-40` - 179 (6845/40 MHz) * `6g-181-6855-20` - 181 (6855/20 MHz) * `6g-183-6865-80` - 183 (6865/80 MHz) * `6g-185-6875-20` - 185 (6875/20 MHz) * `6g-187-6885-40` - 187 (6885/40 MHz) * `6g-189-6895-20` - 189 (6895/20 MHz) * `6g-193-6915-20` - 193 (6915/20 MHz) * `6g-195-6925-40` - 195 (6925/40 MHz) * `6g-197-6935-20` - 197 (6935/20 MHz) * `6g-199-6945-80` - 199 (6945/80 MHz) * `6g-201-6955-20` - 201 (6955/20 MHz) * `6g-203-6965-40` - 203 (6965/40 MHz) * `6g-205-6975-20` - 205 (6975/20 MHz) * `6g-207-6985-160` - 207 (6985/160 MHz) * `6g-209-6995-20` - 209 (6995/20 MHz) * `6g-211-7005-40` - 211 (7005/40 MHz) * `6g-213-7015-20` - 213 (7015/20 MHz) * `6g-215-7025-80` - 215 (7025/80 MHz) * `6g-217-7035-20` - 217 (7035/20 MHz) * `6g-219-7045-40` - 219 (7045/40 MHz) * `6g-221-7055-20` - 221 (7055/20 MHz) * `6g-225-7075-20` - 225 (7075/20 MHz) * `6g-227-7085-40` - 227 (7085/40 MHz) * `6g-229-7095-20` - 229 (7095/20 MHz) * `6g-233-7115-20` - 233 (7115/20 MHz) * `60g-1-58320-2160` - 1 (58.32/2.16 GHz) * `60g-2-60480-2160` - 2 (60.48/2.16 GHz) * `60g-3-62640-2160` - 3 (62.64/2.16 GHz) * `60g-4-64800-2160` - 4 (64.80/2.16 GHz) * `60g-5-66960-2160` - 5 (66.96/2.16 GHz) * `60g-6-69120-2160` - 6 (69.12/2.16 GHz) * `60g-9-59400-4320` - 9 (59.40/4.32 GHz) * `60g-10-61560-4320` - 10 (61.56/4.32 GHz) * `60g-11-63720-4320` - 11 (63.72/4.32 GHz) * `60g-12-65880-4320` - 12 (65.88/4.32 GHz) * `60g-13-68040-4320` - 13 (68.04/4.32 GHz) * `60g-17-60480-6480` - 17 (60.48/6.48 GHz) * `60g-18-62640-6480` - 18 (62.64/6.48 GHz) * `60g-19-64800-6480` - 19 (64.80/6.48 GHz) * `60g-20-66960-6480` - 20 (66.96/6.48 GHz) * `60g-25-61560-6480` - 25 (61.56/8.64 GHz) * `60g-26-63720-6480` - 26 (63.72/8.64 GHz) * `60g-27-65880-6480` - 27 (65.88/8.64 GHz) | + **rfChannelNiew** | [**[]WirelessChannel**](WirelessChannel.md) | * `2.4g-1-2412-22` - 1 (2412 MHz) * `2.4g-2-2417-22` - 2 (2417 MHz) * `2.4g-3-2422-22` - 3 (2422 MHz) * `2.4g-4-2427-22` - 4 (2427 MHz) * `2.4g-5-2432-22` - 5 (2432 MHz) * `2.4g-6-2437-22` - 6 (2437 MHz) * `2.4g-7-2442-22` - 7 (2442 MHz) * `2.4g-8-2447-22` - 8 (2447 MHz) * `2.4g-9-2452-22` - 9 (2452 MHz) * `2.4g-10-2457-22` - 10 (2457 MHz) * `2.4g-11-2462-22` - 11 (2462 MHz) * `2.4g-12-2467-22` - 12 (2467 MHz) * `2.4g-13-2472-22` - 13 (2472 MHz) * `5g-32-5160-20` - 32 (5160/20 MHz) * `5g-34-5170-40` - 34 (5170/40 MHz) * `5g-36-5180-20` - 36 (5180/20 MHz) * `5g-38-5190-40` - 38 (5190/40 MHz) * `5g-40-5200-20` - 40 (5200/20 MHz) * `5g-42-5210-80` - 42 (5210/80 MHz) * `5g-44-5220-20` - 44 (5220/20 MHz) * `5g-46-5230-40` - 46 (5230/40 MHz) * `5g-48-5240-20` - 48 (5240/20 MHz) * `5g-50-5250-160` - 50 (5250/160 MHz) * `5g-52-5260-20` - 52 (5260/20 MHz) * `5g-54-5270-40` - 54 (5270/40 MHz) * `5g-56-5280-20` - 56 (5280/20 MHz) * `5g-58-5290-80` - 58 (5290/80 MHz) * `5g-60-5300-20` - 60 (5300/20 MHz) * `5g-62-5310-40` - 62 (5310/40 MHz) * `5g-64-5320-20` - 64 (5320/20 MHz) * `5g-100-5500-20` - 100 (5500/20 MHz) * `5g-102-5510-40` - 102 (5510/40 MHz) * `5g-104-5520-20` - 104 (5520/20 MHz) * `5g-106-5530-80` - 106 (5530/80 MHz) * `5g-108-5540-20` - 108 (5540/20 MHz) * `5g-110-5550-40` - 110 (5550/40 MHz) * `5g-112-5560-20` - 112 (5560/20 MHz) * `5g-114-5570-160` - 114 (5570/160 MHz) * `5g-116-5580-20` - 116 (5580/20 MHz) * `5g-118-5590-40` - 118 (5590/40 MHz) * `5g-120-5600-20` - 120 (5600/20 MHz) * `5g-122-5610-80` - 122 (5610/80 MHz) * `5g-124-5620-20` - 124 (5620/20 MHz) * `5g-126-5630-40` - 126 (5630/40 MHz) * `5g-128-5640-20` - 128 (5640/20 MHz) * `5g-132-5660-20` - 132 (5660/20 MHz) * `5g-134-5670-40` - 134 (5670/40 MHz) * `5g-136-5680-20` - 136 (5680/20 MHz) * `5g-138-5690-80` - 138 (5690/80 MHz) * `5g-140-5700-20` - 140 (5700/20 MHz) * `5g-142-5710-40` - 142 (5710/40 MHz) * `5g-144-5720-20` - 144 (5720/20 MHz) * `5g-149-5745-20` - 149 (5745/20 MHz) * `5g-151-5755-40` - 151 (5755/40 MHz) * `5g-153-5765-20` - 153 (5765/20 MHz) * `5g-155-5775-80` - 155 (5775/80 MHz) * `5g-157-5785-20` - 157 (5785/20 MHz) * `5g-159-5795-40` - 159 (5795/40 MHz) * `5g-161-5805-20` - 161 (5805/20 MHz) * `5g-163-5815-160` - 163 (5815/160 MHz) * `5g-165-5825-20` - 165 (5825/20 MHz) * `5g-167-5835-40` - 167 (5835/40 MHz) * `5g-169-5845-20` - 169 (5845/20 MHz) * `5g-171-5855-80` - 171 (5855/80 MHz) * `5g-173-5865-20` - 173 (5865/20 MHz) * `5g-175-5875-40` - 175 (5875/40 MHz) * `5g-177-5885-20` - 177 (5885/20 MHz) * `6g-1-5955-20` - 1 (5955/20 MHz) * `6g-3-5965-40` - 3 (5965/40 MHz) * `6g-5-5975-20` - 5 (5975/20 MHz) * `6g-7-5985-80` - 7 (5985/80 MHz) * `6g-9-5995-20` - 9 (5995/20 MHz) * `6g-11-6005-40` - 11 (6005/40 MHz) * `6g-13-6015-20` - 13 (6015/20 MHz) * `6g-15-6025-160` - 15 (6025/160 MHz) * `6g-17-6035-20` - 17 (6035/20 MHz) * `6g-19-6045-40` - 19 (6045/40 MHz) * `6g-21-6055-20` - 21 (6055/20 MHz) * `6g-23-6065-80` - 23 (6065/80 MHz) * `6g-25-6075-20` - 25 (6075/20 MHz) * `6g-27-6085-40` - 27 (6085/40 MHz) * `6g-29-6095-20` - 29 (6095/20 MHz) * `6g-31-6105-320` - 31 (6105/320 MHz) * `6g-33-6115-20` - 33 (6115/20 MHz) * `6g-35-6125-40` - 35 (6125/40 MHz) * `6g-37-6135-20` - 37 (6135/20 MHz) * `6g-39-6145-80` - 39 (6145/80 MHz) * `6g-41-6155-20` - 41 (6155/20 MHz) * `6g-43-6165-40` - 43 (6165/40 MHz) * `6g-45-6175-20` - 45 (6175/20 MHz) * `6g-47-6185-160` - 47 (6185/160 MHz) * `6g-49-6195-20` - 49 (6195/20 MHz) * `6g-51-6205-40` - 51 (6205/40 MHz) * `6g-53-6215-20` - 53 (6215/20 MHz) * `6g-55-6225-80` - 55 (6225/80 MHz) * `6g-57-6235-20` - 57 (6235/20 MHz) * `6g-59-6245-40` - 59 (6245/40 MHz) * `6g-61-6255-20` - 61 (6255/20 MHz) * `6g-65-6275-20` - 65 (6275/20 MHz) * `6g-67-6285-40` - 67 (6285/40 MHz) * `6g-69-6295-20` - 69 (6295/20 MHz) * `6g-71-6305-80` - 71 (6305/80 MHz) * `6g-73-6315-20` - 73 (6315/20 MHz) * `6g-75-6325-40` - 75 (6325/40 MHz) * `6g-77-6335-20` - 77 (6335/20 MHz) * `6g-79-6345-160` - 79 (6345/160 MHz) * `6g-81-6355-20` - 81 (6355/20 MHz) * `6g-83-6365-40` - 83 (6365/40 MHz) * `6g-85-6375-20` - 85 (6375/20 MHz) * `6g-87-6385-80` - 87 (6385/80 MHz) * `6g-89-6395-20` - 89 (6395/20 MHz) * `6g-91-6405-40` - 91 (6405/40 MHz) * `6g-93-6415-20` - 93 (6415/20 MHz) * `6g-95-6425-320` - 95 (6425/320 MHz) * `6g-97-6435-20` - 97 (6435/20 MHz) * `6g-99-6445-40` - 99 (6445/40 MHz) * `6g-101-6455-20` - 101 (6455/20 MHz) * `6g-103-6465-80` - 103 (6465/80 MHz) * `6g-105-6475-20` - 105 (6475/20 MHz) * `6g-107-6485-40` - 107 (6485/40 MHz) * `6g-109-6495-20` - 109 (6495/20 MHz) * `6g-111-6505-160` - 111 (6505/160 MHz) * `6g-113-6515-20` - 113 (6515/20 MHz) * `6g-115-6525-40` - 115 (6525/40 MHz) * `6g-117-6535-20` - 117 (6535/20 MHz) * `6g-119-6545-80` - 119 (6545/80 MHz) * `6g-121-6555-20` - 121 (6555/20 MHz) * `6g-123-6565-40` - 123 (6565/40 MHz) * `6g-125-6575-20` - 125 (6575/20 MHz) * `6g-129-6595-20` - 129 (6595/20 MHz) * `6g-131-6605-40` - 131 (6605/40 MHz) * `6g-133-6615-20` - 133 (6615/20 MHz) * `6g-135-6625-80` - 135 (6625/80 MHz) * `6g-137-6635-20` - 137 (6635/20 MHz) * `6g-139-6645-40` - 139 (6645/40 MHz) * `6g-141-6655-20` - 141 (6655/20 MHz) * `6g-143-6665-160` - 143 (6665/160 MHz) * `6g-145-6675-20` - 145 (6675/20 MHz) * `6g-147-6685-40` - 147 (6685/40 MHz) * `6g-149-6695-20` - 149 (6695/20 MHz) * `6g-151-6705-80` - 151 (6705/80 MHz) * `6g-153-6715-20` - 153 (6715/20 MHz) * `6g-155-6725-40` - 155 (6725/40 MHz) * `6g-157-6735-20` - 157 (6735/20 MHz) * `6g-159-6745-320` - 159 (6745/320 MHz) * `6g-161-6755-20` - 161 (6755/20 MHz) * `6g-163-6765-40` - 163 (6765/40 MHz) * `6g-165-6775-20` - 165 (6775/20 MHz) * `6g-167-6785-80` - 167 (6785/80 MHz) * `6g-169-6795-20` - 169 (6795/20 MHz) * `6g-171-6805-40` - 171 (6805/40 MHz) * `6g-173-6815-20` - 173 (6815/20 MHz) * `6g-175-6825-160` - 175 (6825/160 MHz) * `6g-177-6835-20` - 177 (6835/20 MHz) * `6g-179-6845-40` - 179 (6845/40 MHz) * `6g-181-6855-20` - 181 (6855/20 MHz) * `6g-183-6865-80` - 183 (6865/80 MHz) * `6g-185-6875-20` - 185 (6875/20 MHz) * `6g-187-6885-40` - 187 (6885/40 MHz) * `6g-189-6895-20` - 189 (6895/20 MHz) * `6g-193-6915-20` - 193 (6915/20 MHz) * `6g-195-6925-40` - 195 (6925/40 MHz) * `6g-197-6935-20` - 197 (6935/20 MHz) * `6g-199-6945-80` - 199 (6945/80 MHz) * `6g-201-6955-20` - 201 (6955/20 MHz) * `6g-203-6965-40` - 203 (6965/40 MHz) * `6g-205-6975-20` - 205 (6975/20 MHz) * `6g-207-6985-160` - 207 (6985/160 MHz) * `6g-209-6995-20` - 209 (6995/20 MHz) * `6g-211-7005-40` - 211 (7005/40 MHz) * `6g-213-7015-20` - 213 (7015/20 MHz) * `6g-215-7025-80` - 215 (7025/80 MHz) * `6g-217-7035-20` - 217 (7035/20 MHz) * `6g-219-7045-40` - 219 (7045/40 MHz) * `6g-221-7055-20` - 221 (7055/20 MHz) * `6g-225-7075-20` - 225 (7075/20 MHz) * `6g-227-7085-40` - 227 (7085/40 MHz) * `6g-229-7095-20` - 229 (7095/20 MHz) * `6g-233-7115-20` - 233 (7115/20 MHz) * `60g-1-58320-2160` - 1 (58.32/2.16 GHz) * `60g-2-60480-2160` - 2 (60.48/2.16 GHz) * `60g-3-62640-2160` - 3 (62.64/2.16 GHz) * `60g-4-64800-2160` - 4 (64.80/2.16 GHz) * `60g-5-66960-2160` - 5 (66.96/2.16 GHz) * `60g-6-69120-2160` - 6 (69.12/2.16 GHz) * `60g-9-59400-4320` - 9 (59.40/4.32 GHz) * `60g-10-61560-4320` - 10 (61.56/4.32 GHz) * `60g-11-63720-4320` - 11 (63.72/4.32 GHz) * `60g-12-65880-4320` - 12 (65.88/4.32 GHz) * `60g-13-68040-4320` - 13 (68.04/4.32 GHz) * `60g-17-60480-6480` - 17 (60.48/6.48 GHz) * `60g-18-62640-6480` - 18 (62.64/6.48 GHz) * `60g-19-64800-6480` - 19 (64.80/6.48 GHz) * `60g-20-66960-6480` - 20 (66.96/6.48 GHz) * `60g-25-61560-6480` - 25 (61.56/8.64 GHz) * `60g-26-63720-6480` - 26 (63.72/8.64 GHz) * `60g-27-65880-6480` - 27 (65.88/8.64 GHz) | + **rfChannelNisw** | [**[]WirelessChannel**](WirelessChannel.md) | * `2.4g-1-2412-22` - 1 (2412 MHz) * `2.4g-2-2417-22` - 2 (2417 MHz) * `2.4g-3-2422-22` - 3 (2422 MHz) * `2.4g-4-2427-22` - 4 (2427 MHz) * `2.4g-5-2432-22` - 5 (2432 MHz) * `2.4g-6-2437-22` - 6 (2437 MHz) * `2.4g-7-2442-22` - 7 (2442 MHz) * `2.4g-8-2447-22` - 8 (2447 MHz) * `2.4g-9-2452-22` - 9 (2452 MHz) * `2.4g-10-2457-22` - 10 (2457 MHz) * `2.4g-11-2462-22` - 11 (2462 MHz) * `2.4g-12-2467-22` - 12 (2467 MHz) * `2.4g-13-2472-22` - 13 (2472 MHz) * `5g-32-5160-20` - 32 (5160/20 MHz) * `5g-34-5170-40` - 34 (5170/40 MHz) * `5g-36-5180-20` - 36 (5180/20 MHz) * `5g-38-5190-40` - 38 (5190/40 MHz) * `5g-40-5200-20` - 40 (5200/20 MHz) * `5g-42-5210-80` - 42 (5210/80 MHz) * `5g-44-5220-20` - 44 (5220/20 MHz) * `5g-46-5230-40` - 46 (5230/40 MHz) * `5g-48-5240-20` - 48 (5240/20 MHz) * `5g-50-5250-160` - 50 (5250/160 MHz) * `5g-52-5260-20` - 52 (5260/20 MHz) * `5g-54-5270-40` - 54 (5270/40 MHz) * `5g-56-5280-20` - 56 (5280/20 MHz) * `5g-58-5290-80` - 58 (5290/80 MHz) * `5g-60-5300-20` - 60 (5300/20 MHz) * `5g-62-5310-40` - 62 (5310/40 MHz) * `5g-64-5320-20` - 64 (5320/20 MHz) * `5g-100-5500-20` - 100 (5500/20 MHz) * `5g-102-5510-40` - 102 (5510/40 MHz) * `5g-104-5520-20` - 104 (5520/20 MHz) * `5g-106-5530-80` - 106 (5530/80 MHz) * `5g-108-5540-20` - 108 (5540/20 MHz) * `5g-110-5550-40` - 110 (5550/40 MHz) * `5g-112-5560-20` - 112 (5560/20 MHz) * `5g-114-5570-160` - 114 (5570/160 MHz) * `5g-116-5580-20` - 116 (5580/20 MHz) * `5g-118-5590-40` - 118 (5590/40 MHz) * `5g-120-5600-20` - 120 (5600/20 MHz) * `5g-122-5610-80` - 122 (5610/80 MHz) * `5g-124-5620-20` - 124 (5620/20 MHz) * `5g-126-5630-40` - 126 (5630/40 MHz) * `5g-128-5640-20` - 128 (5640/20 MHz) * `5g-132-5660-20` - 132 (5660/20 MHz) * `5g-134-5670-40` - 134 (5670/40 MHz) * `5g-136-5680-20` - 136 (5680/20 MHz) * `5g-138-5690-80` - 138 (5690/80 MHz) * `5g-140-5700-20` - 140 (5700/20 MHz) * `5g-142-5710-40` - 142 (5710/40 MHz) * `5g-144-5720-20` - 144 (5720/20 MHz) * `5g-149-5745-20` - 149 (5745/20 MHz) * `5g-151-5755-40` - 151 (5755/40 MHz) * `5g-153-5765-20` - 153 (5765/20 MHz) * `5g-155-5775-80` - 155 (5775/80 MHz) * `5g-157-5785-20` - 157 (5785/20 MHz) * `5g-159-5795-40` - 159 (5795/40 MHz) * `5g-161-5805-20` - 161 (5805/20 MHz) * `5g-163-5815-160` - 163 (5815/160 MHz) * `5g-165-5825-20` - 165 (5825/20 MHz) * `5g-167-5835-40` - 167 (5835/40 MHz) * `5g-169-5845-20` - 169 (5845/20 MHz) * `5g-171-5855-80` - 171 (5855/80 MHz) * `5g-173-5865-20` - 173 (5865/20 MHz) * `5g-175-5875-40` - 175 (5875/40 MHz) * `5g-177-5885-20` - 177 (5885/20 MHz) * `6g-1-5955-20` - 1 (5955/20 MHz) * `6g-3-5965-40` - 3 (5965/40 MHz) * `6g-5-5975-20` - 5 (5975/20 MHz) * `6g-7-5985-80` - 7 (5985/80 MHz) * `6g-9-5995-20` - 9 (5995/20 MHz) * `6g-11-6005-40` - 11 (6005/40 MHz) * `6g-13-6015-20` - 13 (6015/20 MHz) * `6g-15-6025-160` - 15 (6025/160 MHz) * `6g-17-6035-20` - 17 (6035/20 MHz) * `6g-19-6045-40` - 19 (6045/40 MHz) * `6g-21-6055-20` - 21 (6055/20 MHz) * `6g-23-6065-80` - 23 (6065/80 MHz) * `6g-25-6075-20` - 25 (6075/20 MHz) * `6g-27-6085-40` - 27 (6085/40 MHz) * `6g-29-6095-20` - 29 (6095/20 MHz) * `6g-31-6105-320` - 31 (6105/320 MHz) * `6g-33-6115-20` - 33 (6115/20 MHz) * `6g-35-6125-40` - 35 (6125/40 MHz) * `6g-37-6135-20` - 37 (6135/20 MHz) * `6g-39-6145-80` - 39 (6145/80 MHz) * `6g-41-6155-20` - 41 (6155/20 MHz) * `6g-43-6165-40` - 43 (6165/40 MHz) * `6g-45-6175-20` - 45 (6175/20 MHz) * `6g-47-6185-160` - 47 (6185/160 MHz) * `6g-49-6195-20` - 49 (6195/20 MHz) * `6g-51-6205-40` - 51 (6205/40 MHz) * `6g-53-6215-20` - 53 (6215/20 MHz) * `6g-55-6225-80` - 55 (6225/80 MHz) * `6g-57-6235-20` - 57 (6235/20 MHz) * `6g-59-6245-40` - 59 (6245/40 MHz) * `6g-61-6255-20` - 61 (6255/20 MHz) * `6g-65-6275-20` - 65 (6275/20 MHz) * `6g-67-6285-40` - 67 (6285/40 MHz) * `6g-69-6295-20` - 69 (6295/20 MHz) * `6g-71-6305-80` - 71 (6305/80 MHz) * `6g-73-6315-20` - 73 (6315/20 MHz) * `6g-75-6325-40` - 75 (6325/40 MHz) * `6g-77-6335-20` - 77 (6335/20 MHz) * `6g-79-6345-160` - 79 (6345/160 MHz) * `6g-81-6355-20` - 81 (6355/20 MHz) * `6g-83-6365-40` - 83 (6365/40 MHz) * `6g-85-6375-20` - 85 (6375/20 MHz) * `6g-87-6385-80` - 87 (6385/80 MHz) * `6g-89-6395-20` - 89 (6395/20 MHz) * `6g-91-6405-40` - 91 (6405/40 MHz) * `6g-93-6415-20` - 93 (6415/20 MHz) * `6g-95-6425-320` - 95 (6425/320 MHz) * `6g-97-6435-20` - 97 (6435/20 MHz) * `6g-99-6445-40` - 99 (6445/40 MHz) * `6g-101-6455-20` - 101 (6455/20 MHz) * `6g-103-6465-80` - 103 (6465/80 MHz) * `6g-105-6475-20` - 105 (6475/20 MHz) * `6g-107-6485-40` - 107 (6485/40 MHz) * `6g-109-6495-20` - 109 (6495/20 MHz) * `6g-111-6505-160` - 111 (6505/160 MHz) * `6g-113-6515-20` - 113 (6515/20 MHz) * `6g-115-6525-40` - 115 (6525/40 MHz) * `6g-117-6535-20` - 117 (6535/20 MHz) * `6g-119-6545-80` - 119 (6545/80 MHz) * `6g-121-6555-20` - 121 (6555/20 MHz) * `6g-123-6565-40` - 123 (6565/40 MHz) * `6g-125-6575-20` - 125 (6575/20 MHz) * `6g-129-6595-20` - 129 (6595/20 MHz) * `6g-131-6605-40` - 131 (6605/40 MHz) * `6g-133-6615-20` - 133 (6615/20 MHz) * `6g-135-6625-80` - 135 (6625/80 MHz) * `6g-137-6635-20` - 137 (6635/20 MHz) * `6g-139-6645-40` - 139 (6645/40 MHz) * `6g-141-6655-20` - 141 (6655/20 MHz) * `6g-143-6665-160` - 143 (6665/160 MHz) * `6g-145-6675-20` - 145 (6675/20 MHz) * `6g-147-6685-40` - 147 (6685/40 MHz) * `6g-149-6695-20` - 149 (6695/20 MHz) * `6g-151-6705-80` - 151 (6705/80 MHz) * `6g-153-6715-20` - 153 (6715/20 MHz) * `6g-155-6725-40` - 155 (6725/40 MHz) * `6g-157-6735-20` - 157 (6735/20 MHz) * `6g-159-6745-320` - 159 (6745/320 MHz) * `6g-161-6755-20` - 161 (6755/20 MHz) * `6g-163-6765-40` - 163 (6765/40 MHz) * `6g-165-6775-20` - 165 (6775/20 MHz) * `6g-167-6785-80` - 167 (6785/80 MHz) * `6g-169-6795-20` - 169 (6795/20 MHz) * `6g-171-6805-40` - 171 (6805/40 MHz) * `6g-173-6815-20` - 173 (6815/20 MHz) * `6g-175-6825-160` - 175 (6825/160 MHz) * `6g-177-6835-20` - 177 (6835/20 MHz) * `6g-179-6845-40` - 179 (6845/40 MHz) * `6g-181-6855-20` - 181 (6855/20 MHz) * `6g-183-6865-80` - 183 (6865/80 MHz) * `6g-185-6875-20` - 185 (6875/20 MHz) * `6g-187-6885-40` - 187 (6885/40 MHz) * `6g-189-6895-20` - 189 (6895/20 MHz) * `6g-193-6915-20` - 193 (6915/20 MHz) * `6g-195-6925-40` - 195 (6925/40 MHz) * `6g-197-6935-20` - 197 (6935/20 MHz) * `6g-199-6945-80` - 199 (6945/80 MHz) * `6g-201-6955-20` - 201 (6955/20 MHz) * `6g-203-6965-40` - 203 (6965/40 MHz) * `6g-205-6975-20` - 205 (6975/20 MHz) * `6g-207-6985-160` - 207 (6985/160 MHz) * `6g-209-6995-20` - 209 (6995/20 MHz) * `6g-211-7005-40` - 211 (7005/40 MHz) * `6g-213-7015-20` - 213 (7015/20 MHz) * `6g-215-7025-80` - 215 (7025/80 MHz) * `6g-217-7035-20` - 217 (7035/20 MHz) * `6g-219-7045-40` - 219 (7045/40 MHz) * `6g-221-7055-20` - 221 (7055/20 MHz) * `6g-225-7075-20` - 225 (7075/20 MHz) * `6g-227-7085-40` - 227 (7085/40 MHz) * `6g-229-7095-20` - 229 (7095/20 MHz) * `6g-233-7115-20` - 233 (7115/20 MHz) * `60g-1-58320-2160` - 1 (58.32/2.16 GHz) * `60g-2-60480-2160` - 2 (60.48/2.16 GHz) * `60g-3-62640-2160` - 3 (62.64/2.16 GHz) * `60g-4-64800-2160` - 4 (64.80/2.16 GHz) * `60g-5-66960-2160` - 5 (66.96/2.16 GHz) * `60g-6-69120-2160` - 6 (69.12/2.16 GHz) * `60g-9-59400-4320` - 9 (59.40/4.32 GHz) * `60g-10-61560-4320` - 10 (61.56/4.32 GHz) * `60g-11-63720-4320` - 11 (63.72/4.32 GHz) * `60g-12-65880-4320` - 12 (65.88/4.32 GHz) * `60g-13-68040-4320` - 13 (68.04/4.32 GHz) * `60g-17-60480-6480` - 17 (60.48/6.48 GHz) * `60g-18-62640-6480` - 18 (62.64/6.48 GHz) * `60g-19-64800-6480` - 19 (64.80/6.48 GHz) * `60g-20-66960-6480` - 20 (66.96/6.48 GHz) * `60g-25-61560-6480` - 25 (61.56/8.64 GHz) * `60g-26-63720-6480` - 26 (63.72/8.64 GHz) * `60g-27-65880-6480` - 27 (65.88/8.64 GHz) | **rfChannelFrequency** | **[]float64** | | **rfChannelFrequencyEmpty** | **bool** | | **rfChannelFrequencyGt** | **[]float64** | | @@ -13019,17 +13388,22 @@ Name | Type | Description | Notes **rfChannelWidthLte** | **[]float64** | | **rfChannelWidthN** | **[]float64** | | **rfRole** | **[]string** | | - **rfRoleN** | **[]string** | | - **role** | **[]string** | Device role (slug) | - **roleN** | **[]string** | Device role (slug) | - **roleId** | **[]int32** | Device role (ID) | - **roleIdN** | **[]int32** | Device role (ID) | + **rfRoleEmpty** | **bool** | | + **rfRoleIc** | [**[]WirelessRole**](WirelessRole.md) | * `ap` - Access point * `station` - Station | + **rfRoleIe** | [**[]WirelessRole**](WirelessRole.md) | * `ap` - Access point * `station` - Station | + **rfRoleIew** | [**[]WirelessRole**](WirelessRole.md) | * `ap` - Access point * `station` - Station | + **rfRoleIsw** | [**[]WirelessRole**](WirelessRole.md) | * `ap` - Access point * `station` - Station | + **rfRoleN** | [**[]WirelessRole**](WirelessRole.md) | * `ap` - Access point * `station` - Station | + **rfRoleNic** | [**[]WirelessRole**](WirelessRole.md) | * `ap` - Access point * `station` - Station | + **rfRoleNie** | [**[]WirelessRole**](WirelessRole.md) | * `ap` - Access point * `station` - Station | + **rfRoleNiew** | [**[]WirelessRole**](WirelessRole.md) | * `ap` - Access point * `station` - Station | + **rfRoleNisw** | [**[]WirelessRole**](WirelessRole.md) | * `ap` - Access point * `station` - Station | **site** | **[]string** | Site name (slug) | **siteN** | **[]string** | Site name (slug) | - **siteGroup** | **[]int32** | Site group (slug) | - **siteGroupN** | **[]int32** | Site group (slug) | - **siteGroupId** | **[]int32** | Site group (ID) | - **siteGroupIdN** | **[]int32** | Site group (ID) | + **siteGroup** | **[]string** | | + **siteGroupN** | **[]string** | | + **siteGroupId** | **[]string** | | + **siteGroupIdN** | **[]string** | | **siteId** | **[]int32** | Site (ID) | **siteIdN** | **[]int32** | Site (ID) | **speed** | **[]int32** | | @@ -13049,7 +13423,16 @@ Name | Type | Description | Notes **txPowerLte** | **[]int32** | | **txPowerN** | **[]int32** | | **type_** | **[]string** | | - **typeN** | **[]string** | | + **typeEmpty** | **bool** | | + **typeIc** | [**[]DcimInterfaceTemplatesListTypeIcParameterInner**](DcimInterfaceTemplatesListTypeIcParameterInner.md) | * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other | + **typeIe** | [**[]DcimInterfaceTemplatesListTypeIcParameterInner**](DcimInterfaceTemplatesListTypeIcParameterInner.md) | * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other | + **typeIew** | [**[]DcimInterfaceTemplatesListTypeIcParameterInner**](DcimInterfaceTemplatesListTypeIcParameterInner.md) | * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other | + **typeIsw** | [**[]DcimInterfaceTemplatesListTypeIcParameterInner**](DcimInterfaceTemplatesListTypeIcParameterInner.md) | * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other | + **typeN** | [**[]DcimInterfaceTemplatesListTypeIcParameterInner**](DcimInterfaceTemplatesListTypeIcParameterInner.md) | * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other | + **typeNic** | [**[]DcimInterfaceTemplatesListTypeIcParameterInner**](DcimInterfaceTemplatesListTypeIcParameterInner.md) | * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other | + **typeNie** | [**[]DcimInterfaceTemplatesListTypeIcParameterInner**](DcimInterfaceTemplatesListTypeIcParameterInner.md) | * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other | + **typeNiew** | [**[]DcimInterfaceTemplatesListTypeIcParameterInner**](DcimInterfaceTemplatesListTypeIcParameterInner.md) | * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other | + **typeNisw** | [**[]DcimInterfaceTemplatesListTypeIcParameterInner**](DcimInterfaceTemplatesListTypeIcParameterInner.md) | * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other | **updatedByRequest** | **string** | | **vdc** | **[]string** | Virtual Device Context | **vdcN** | **[]string** | Virtual Device Context | @@ -13336,7 +13719,7 @@ import ( func main() { id := int32(56) // int32 | A unique integer value identifying this interface. - writableInterfaceRequest := *openapiclient.NewWritableInterfaceRequest(*openapiclient.NewDeviceRequest(), "Name_example", openapiclient.Interface_type_value("virtual")) // WritableInterfaceRequest | + writableInterfaceRequest := *openapiclient.NewWritableInterfaceRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example", openapiclient.Interface_type_value("virtual")) // WritableInterfaceRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -14164,7 +14547,7 @@ import ( ) func main() { - inventoryItemTemplateRequest := []openapiclient.InventoryItemTemplateRequest{*openapiclient.NewInventoryItemTemplateRequest(*openapiclient.NewDeviceTypeRequest(*openapiclient.NewManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example"), "Name_example")} // []InventoryItemTemplateRequest | + inventoryItemTemplateRequest := []openapiclient.InventoryItemTemplateRequest{*openapiclient.NewInventoryItemTemplateRequest(*openapiclient.NewBriefDeviceTypeRequest(*openapiclient.NewBriefManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example"), "Name_example")} // []InventoryItemTemplateRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -14228,7 +14611,7 @@ import ( ) func main() { - inventoryItemTemplateRequest := []openapiclient.InventoryItemTemplateRequest{*openapiclient.NewInventoryItemTemplateRequest(*openapiclient.NewDeviceTypeRequest(*openapiclient.NewManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example"), "Name_example")} // []InventoryItemTemplateRequest | + inventoryItemTemplateRequest := []openapiclient.InventoryItemTemplateRequest{*openapiclient.NewInventoryItemTemplateRequest(*openapiclient.NewBriefDeviceTypeRequest(*openapiclient.NewBriefManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example"), "Name_example")} // []InventoryItemTemplateRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -14294,7 +14677,7 @@ import ( ) func main() { - inventoryItemTemplateRequest := []openapiclient.InventoryItemTemplateRequest{*openapiclient.NewInventoryItemTemplateRequest(*openapiclient.NewDeviceTypeRequest(*openapiclient.NewManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example"), "Name_example")} // []InventoryItemTemplateRequest | + inventoryItemTemplateRequest := []openapiclient.InventoryItemTemplateRequest{*openapiclient.NewInventoryItemTemplateRequest(*openapiclient.NewBriefDeviceTypeRequest(*openapiclient.NewBriefManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example"), "Name_example")} // []InventoryItemTemplateRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -14360,7 +14743,7 @@ import ( ) func main() { - inventoryItemTemplateRequest := *openapiclient.NewInventoryItemTemplateRequest(*openapiclient.NewDeviceTypeRequest(*openapiclient.NewManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example"), "Name_example") // InventoryItemTemplateRequest | + inventoryItemTemplateRequest := *openapiclient.NewInventoryItemTemplateRequest(*openapiclient.NewBriefDeviceTypeRequest(*openapiclient.NewBriefManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example"), "Name_example") // InventoryItemTemplateRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -14475,7 +14858,7 @@ Name | Type | Description | Notes ## DcimInventoryItemTemplatesList -> PaginatedInventoryItemTemplateList DcimInventoryItemTemplatesList(ctx).ComponentId(componentId).ComponentIdEmpty(componentIdEmpty).ComponentIdGt(componentIdGt).ComponentIdGte(componentIdGte).ComponentIdLt(componentIdLt).ComponentIdLte(componentIdLte).ComponentIdN(componentIdN).ComponentType(componentType).ComponentTypeN(componentTypeN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).DevicetypeId(devicetypeId).DevicetypeIdN(devicetypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Manufacturer(manufacturer).ManufacturerN(manufacturerN).ManufacturerId(manufacturerId).ManufacturerIdN(manufacturerIdN).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).ParentId(parentId).ParentIdN(parentIdN).PartId(partId).PartIdEmpty(partIdEmpty).PartIdIc(partIdIc).PartIdIe(partIdIe).PartIdIew(partIdIew).PartIdIsw(partIdIsw).PartIdN(partIdN).PartIdNic(partIdNic).PartIdNie(partIdNie).PartIdNiew(partIdNiew).PartIdNisw(partIdNisw).Q(q).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).UpdatedByRequest(updatedByRequest).Execute() +> PaginatedInventoryItemTemplateList DcimInventoryItemTemplatesList(ctx).ComponentId(componentId).ComponentIdEmpty(componentIdEmpty).ComponentIdGt(componentIdGt).ComponentIdGte(componentIdGte).ComponentIdLt(componentIdLt).ComponentIdLte(componentIdLte).ComponentIdN(componentIdN).ComponentType(componentType).ComponentTypeN(componentTypeN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Manufacturer(manufacturer).ManufacturerN(manufacturerN).ManufacturerId(manufacturerId).ManufacturerIdN(manufacturerIdN).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).ParentId(parentId).ParentIdN(parentIdN).PartId(partId).PartIdEmpty(partIdEmpty).PartIdIc(partIdIc).PartIdIe(partIdIe).PartIdIew(partIdIew).PartIdIsw(partIdIsw).PartIdN(partIdN).PartIdNic(partIdNic).PartIdNie(partIdNie).PartIdNiew(partIdNiew).PartIdNisw(partIdNisw).Q(q).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).UpdatedByRequest(updatedByRequest).Execute() @@ -14525,8 +14908,6 @@ func main() { descriptionNisw := []string{"Inner_example"} // []string | (optional) deviceTypeId := []int32{int32(123)} // []int32 | Device type (ID) (optional) deviceTypeIdN := []int32{int32(123)} // []int32 | Device type (ID) (optional) - devicetypeId := []int32{int32(123)} // []int32 | Device type (ID) (optional) - devicetypeIdN := []int32{int32(123)} // []int32 | Device type (ID) (optional) id := []int32{int32(123)} // []int32 | (optional) idEmpty := true // bool | (optional) idGt := []int32{int32(123)} // []int32 | (optional) @@ -14593,7 +14974,7 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.DcimAPI.DcimInventoryItemTemplatesList(context.Background()).ComponentId(componentId).ComponentIdEmpty(componentIdEmpty).ComponentIdGt(componentIdGt).ComponentIdGte(componentIdGte).ComponentIdLt(componentIdLt).ComponentIdLte(componentIdLte).ComponentIdN(componentIdN).ComponentType(componentType).ComponentTypeN(componentTypeN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).DevicetypeId(devicetypeId).DevicetypeIdN(devicetypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Manufacturer(manufacturer).ManufacturerN(manufacturerN).ManufacturerId(manufacturerId).ManufacturerIdN(manufacturerIdN).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).ParentId(parentId).ParentIdN(parentIdN).PartId(partId).PartIdEmpty(partIdEmpty).PartIdIc(partIdIc).PartIdIe(partIdIe).PartIdIew(partIdIew).PartIdIsw(partIdIsw).PartIdN(partIdN).PartIdNic(partIdNic).PartIdNie(partIdNie).PartIdNiew(partIdNiew).PartIdNisw(partIdNisw).Q(q).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).UpdatedByRequest(updatedByRequest).Execute() + resp, r, err := apiClient.DcimAPI.DcimInventoryItemTemplatesList(context.Background()).ComponentId(componentId).ComponentIdEmpty(componentIdEmpty).ComponentIdGt(componentIdGt).ComponentIdGte(componentIdGte).ComponentIdLt(componentIdLt).ComponentIdLte(componentIdLte).ComponentIdN(componentIdN).ComponentType(componentType).ComponentTypeN(componentTypeN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Manufacturer(manufacturer).ManufacturerN(manufacturerN).ManufacturerId(manufacturerId).ManufacturerIdN(manufacturerIdN).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).ParentId(parentId).ParentIdN(parentIdN).PartId(partId).PartIdEmpty(partIdEmpty).PartIdIc(partIdIc).PartIdIe(partIdIe).PartIdIew(partIdIew).PartIdIsw(partIdIsw).PartIdN(partIdN).PartIdNic(partIdNic).PartIdNie(partIdNie).PartIdNiew(partIdNiew).PartIdNisw(partIdNisw).Q(q).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).UpdatedByRequest(updatedByRequest).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInventoryItemTemplatesList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -14644,8 +15025,6 @@ Name | Type | Description | Notes **descriptionNisw** | **[]string** | | **deviceTypeId** | **[]int32** | Device type (ID) | **deviceTypeIdN** | **[]int32** | Device type (ID) | - **devicetypeId** | **[]int32** | Device type (ID) | - **devicetypeIdN** | **[]int32** | Device type (ID) | **id** | **[]int32** | | **idEmpty** | **bool** | | **idGt** | **[]int32** | | @@ -14892,7 +15271,7 @@ import ( func main() { id := int32(56) // int32 | A unique integer value identifying this inventory item template. - inventoryItemTemplateRequest := *openapiclient.NewInventoryItemTemplateRequest(*openapiclient.NewDeviceTypeRequest(*openapiclient.NewManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example"), "Name_example") // InventoryItemTemplateRequest | + inventoryItemTemplateRequest := *openapiclient.NewInventoryItemTemplateRequest(*openapiclient.NewBriefDeviceTypeRequest(*openapiclient.NewBriefManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example"), "Name_example") // InventoryItemTemplateRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -14963,7 +15342,7 @@ import ( ) func main() { - inventoryItemRequest := []openapiclient.InventoryItemRequest{*openapiclient.NewInventoryItemRequest(*openapiclient.NewDeviceRequest(), "Name_example")} // []InventoryItemRequest | + inventoryItemRequest := []openapiclient.InventoryItemRequest{*openapiclient.NewInventoryItemRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example")} // []InventoryItemRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -15027,7 +15406,7 @@ import ( ) func main() { - inventoryItemRequest := []openapiclient.InventoryItemRequest{*openapiclient.NewInventoryItemRequest(*openapiclient.NewDeviceRequest(), "Name_example")} // []InventoryItemRequest | + inventoryItemRequest := []openapiclient.InventoryItemRequest{*openapiclient.NewInventoryItemRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example")} // []InventoryItemRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -15093,7 +15472,7 @@ import ( ) func main() { - inventoryItemRequest := []openapiclient.InventoryItemRequest{*openapiclient.NewInventoryItemRequest(*openapiclient.NewDeviceRequest(), "Name_example")} // []InventoryItemRequest | + inventoryItemRequest := []openapiclient.InventoryItemRequest{*openapiclient.NewInventoryItemRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example")} // []InventoryItemRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -15159,7 +15538,7 @@ import ( ) func main() { - inventoryItemRequest := *openapiclient.NewInventoryItemRequest(*openapiclient.NewDeviceRequest(), "Name_example") // InventoryItemRequest | + inventoryItemRequest := *openapiclient.NewInventoryItemRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example") // InventoryItemRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -15274,7 +15653,7 @@ Name | Type | Description | Notes ## DcimInventoryItemsList -> PaginatedInventoryItemList DcimInventoryItemsList(ctx).AssetTag(assetTag).AssetTagEmpty(assetTagEmpty).AssetTagIc(assetTagIc).AssetTagIe(assetTagIe).AssetTagIew(assetTagIew).AssetTagIsw(assetTagIsw).AssetTagN(assetTagN).AssetTagNic(assetTagNic).AssetTagNie(assetTagNie).AssetTagNiew(assetTagNiew).AssetTagNisw(assetTagNisw).ComponentId(componentId).ComponentIdEmpty(componentIdEmpty).ComponentIdGt(componentIdGt).ComponentIdGte(componentIdGte).ComponentIdLt(componentIdLt).ComponentIdLte(componentIdLte).ComponentIdN(componentIdN).ComponentType(componentType).ComponentTypeN(componentTypeN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceN(deviceN).DeviceId(deviceId).DeviceIdN(deviceIdN).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Discovered(discovered).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).LocationId(locationId).LocationIdN(locationIdN).Manufacturer(manufacturer).ManufacturerN(manufacturerN).ManufacturerId(manufacturerId).ManufacturerIdN(manufacturerIdN).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).ParentId(parentId).ParentIdN(parentIdN).PartId(partId).PartIdEmpty(partIdEmpty).PartIdIc(partIdIc).PartIdIe(partIdIe).PartIdIew(partIdIew).PartIdIsw(partIdIsw).PartIdN(partIdN).PartIdNic(partIdNic).PartIdNie(partIdNie).PartIdNiew(partIdNiew).PartIdNisw(partIdNisw).Q(q).Rack(rack).RackN(rackN).RackId(rackId).RackIdN(rackIdN).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).Serial(serial).SerialEmpty(serialEmpty).SerialIc(serialIc).SerialIe(serialIe).SerialIew(serialIew).SerialIsw(serialIsw).SerialN(serialN).SerialNic(serialNic).SerialNie(serialNie).SerialNiew(serialNiew).SerialNisw(serialNisw).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).VirtualChassis(virtualChassis).VirtualChassisN(virtualChassisN).VirtualChassisId(virtualChassisId).VirtualChassisIdN(virtualChassisIdN).Execute() +> PaginatedInventoryItemList DcimInventoryItemsList(ctx).AssetTag(assetTag).AssetTagEmpty(assetTagEmpty).AssetTagIc(assetTagIc).AssetTagIe(assetTagIe).AssetTagIew(assetTagIew).AssetTagIsw(assetTagIsw).AssetTagN(assetTagN).AssetTagNic(assetTagNic).AssetTagNie(assetTagNie).AssetTagNiew(assetTagNiew).AssetTagNisw(assetTagNisw).ComponentId(componentId).ComponentIdEmpty(componentIdEmpty).ComponentIdGt(componentIdGt).ComponentIdGte(componentIdGte).ComponentIdLt(componentIdLt).ComponentIdLte(componentIdLte).ComponentIdN(componentIdN).ComponentType(componentType).ComponentTypeN(componentTypeN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceN(deviceN).DeviceId(deviceId).DeviceIdN(deviceIdN).DeviceRole(deviceRole).DeviceRoleN(deviceRoleN).DeviceRoleId(deviceRoleId).DeviceRoleIdN(deviceRoleIdN).DeviceStatus(deviceStatus).DeviceStatusEmpty(deviceStatusEmpty).DeviceStatusIc(deviceStatusIc).DeviceStatusIe(deviceStatusIe).DeviceStatusIew(deviceStatusIew).DeviceStatusIsw(deviceStatusIsw).DeviceStatusN(deviceStatusN).DeviceStatusNic(deviceStatusNic).DeviceStatusNie(deviceStatusNie).DeviceStatusNiew(deviceStatusNiew).DeviceStatusNisw(deviceStatusNisw).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Discovered(discovered).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).LocationId(locationId).LocationIdN(locationIdN).Manufacturer(manufacturer).ManufacturerN(manufacturerN).ManufacturerId(manufacturerId).ManufacturerIdN(manufacturerIdN).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).ParentId(parentId).ParentIdN(parentIdN).PartId(partId).PartIdEmpty(partIdEmpty).PartIdIc(partIdIc).PartIdIe(partIdIe).PartIdIew(partIdIew).PartIdIsw(partIdIsw).PartIdN(partIdN).PartIdNic(partIdNic).PartIdNie(partIdNie).PartIdNiew(partIdNiew).PartIdNisw(partIdNisw).Q(q).Rack(rack).RackN(rackN).RackId(rackId).RackIdN(rackIdN).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).Serial(serial).SerialEmpty(serialEmpty).SerialIc(serialIc).SerialIe(serialIe).SerialIew(serialIew).SerialIsw(serialIsw).SerialN(serialN).SerialNic(serialNic).SerialNie(serialNie).SerialNiew(serialNiew).SerialNisw(serialNisw).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).VirtualChassis(virtualChassis).VirtualChassisN(virtualChassisN).VirtualChassisId(virtualChassisId).VirtualChassisIdN(virtualChassisIdN).Execute() @@ -15337,6 +15716,21 @@ func main() { deviceN := []*string{"Inner_example"} // []*string | Device (name) (optional) deviceId := []int32{int32(123)} // []int32 | Device (ID) (optional) deviceIdN := []int32{int32(123)} // []int32 | Device (ID) (optional) + deviceRole := []string{"Inner_example"} // []string | Device role (slug) (optional) + deviceRoleN := []string{"Inner_example"} // []string | Device role (slug) (optional) + deviceRoleId := []int32{int32(123)} // []int32 | Device role (ID) (optional) + deviceRoleIdN := []int32{int32(123)} // []int32 | Device role (ID) (optional) + deviceStatus := []string{"Inner_example"} // []string | (optional) + deviceStatusEmpty := true // bool | (optional) + deviceStatusIc := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusIe := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusIew := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusIsw := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusN := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusNic := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusNie := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusNiew := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusNisw := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) deviceType := []string{"Inner_example"} // []string | Device type (model) (optional) deviceTypeN := []string{"Inner_example"} // []string | Device type (model) (optional) deviceTypeId := []int32{int32(123)} // []int32 | Device type (ID) (optional) @@ -15408,10 +15802,10 @@ func main() { rackN := []string{"Inner_example"} // []string | Rack (name) (optional) rackId := []int32{int32(123)} // []int32 | Rack (ID) (optional) rackIdN := []int32{int32(123)} // []int32 | Rack (ID) (optional) - region := []int32{int32(123)} // []int32 | Region (slug) (optional) - regionN := []int32{int32(123)} // []int32 | Region (slug) (optional) - regionId := []int32{int32(123)} // []int32 | Region (ID) (optional) - regionIdN := []int32{int32(123)} // []int32 | Region (ID) (optional) + region := []string{"Inner_example"} // []string | (optional) + regionN := []string{"Inner_example"} // []string | (optional) + regionId := []string{"Inner_example"} // []string | (optional) + regionIdN := []string{"Inner_example"} // []string | (optional) role := []string{"Inner_example"} // []string | Role (slug) (optional) roleN := []string{"Inner_example"} // []string | Role (slug) (optional) roleId := []*int32{int32(123)} // []*int32 | Role (ID) (optional) @@ -15429,10 +15823,10 @@ func main() { serialNisw := []string{"Inner_example"} // []string | (optional) site := []string{"Inner_example"} // []string | Site name (slug) (optional) siteN := []string{"Inner_example"} // []string | Site name (slug) (optional) - siteGroup := []int32{int32(123)} // []int32 | Site group (slug) (optional) - siteGroupN := []int32{int32(123)} // []int32 | Site group (slug) (optional) - siteGroupId := []int32{int32(123)} // []int32 | Site group (ID) (optional) - siteGroupIdN := []int32{int32(123)} // []int32 | Site group (ID) (optional) + siteGroup := []string{"Inner_example"} // []string | (optional) + siteGroupN := []string{"Inner_example"} // []string | (optional) + siteGroupId := []string{"Inner_example"} // []string | (optional) + siteGroupIdN := []string{"Inner_example"} // []string | (optional) siteId := []int32{int32(123)} // []int32 | Site (ID) (optional) siteIdN := []int32{int32(123)} // []int32 | Site (ID) (optional) tag := []string{"Inner_example"} // []string | (optional) @@ -15445,7 +15839,7 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.DcimAPI.DcimInventoryItemsList(context.Background()).AssetTag(assetTag).AssetTagEmpty(assetTagEmpty).AssetTagIc(assetTagIc).AssetTagIe(assetTagIe).AssetTagIew(assetTagIew).AssetTagIsw(assetTagIsw).AssetTagN(assetTagN).AssetTagNic(assetTagNic).AssetTagNie(assetTagNie).AssetTagNiew(assetTagNiew).AssetTagNisw(assetTagNisw).ComponentId(componentId).ComponentIdEmpty(componentIdEmpty).ComponentIdGt(componentIdGt).ComponentIdGte(componentIdGte).ComponentIdLt(componentIdLt).ComponentIdLte(componentIdLte).ComponentIdN(componentIdN).ComponentType(componentType).ComponentTypeN(componentTypeN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceN(deviceN).DeviceId(deviceId).DeviceIdN(deviceIdN).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Discovered(discovered).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).LocationId(locationId).LocationIdN(locationIdN).Manufacturer(manufacturer).ManufacturerN(manufacturerN).ManufacturerId(manufacturerId).ManufacturerIdN(manufacturerIdN).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).ParentId(parentId).ParentIdN(parentIdN).PartId(partId).PartIdEmpty(partIdEmpty).PartIdIc(partIdIc).PartIdIe(partIdIe).PartIdIew(partIdIew).PartIdIsw(partIdIsw).PartIdN(partIdN).PartIdNic(partIdNic).PartIdNie(partIdNie).PartIdNiew(partIdNiew).PartIdNisw(partIdNisw).Q(q).Rack(rack).RackN(rackN).RackId(rackId).RackIdN(rackIdN).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).Serial(serial).SerialEmpty(serialEmpty).SerialIc(serialIc).SerialIe(serialIe).SerialIew(serialIew).SerialIsw(serialIsw).SerialN(serialN).SerialNic(serialNic).SerialNie(serialNie).SerialNiew(serialNiew).SerialNisw(serialNisw).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).VirtualChassis(virtualChassis).VirtualChassisN(virtualChassisN).VirtualChassisId(virtualChassisId).VirtualChassisIdN(virtualChassisIdN).Execute() + resp, r, err := apiClient.DcimAPI.DcimInventoryItemsList(context.Background()).AssetTag(assetTag).AssetTagEmpty(assetTagEmpty).AssetTagIc(assetTagIc).AssetTagIe(assetTagIe).AssetTagIew(assetTagIew).AssetTagIsw(assetTagIsw).AssetTagN(assetTagN).AssetTagNic(assetTagNic).AssetTagNie(assetTagNie).AssetTagNiew(assetTagNiew).AssetTagNisw(assetTagNisw).ComponentId(componentId).ComponentIdEmpty(componentIdEmpty).ComponentIdGt(componentIdGt).ComponentIdGte(componentIdGte).ComponentIdLt(componentIdLt).ComponentIdLte(componentIdLte).ComponentIdN(componentIdN).ComponentType(componentType).ComponentTypeN(componentTypeN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceN(deviceN).DeviceId(deviceId).DeviceIdN(deviceIdN).DeviceRole(deviceRole).DeviceRoleN(deviceRoleN).DeviceRoleId(deviceRoleId).DeviceRoleIdN(deviceRoleIdN).DeviceStatus(deviceStatus).DeviceStatusEmpty(deviceStatusEmpty).DeviceStatusIc(deviceStatusIc).DeviceStatusIe(deviceStatusIe).DeviceStatusIew(deviceStatusIew).DeviceStatusIsw(deviceStatusIsw).DeviceStatusN(deviceStatusN).DeviceStatusNic(deviceStatusNic).DeviceStatusNie(deviceStatusNie).DeviceStatusNiew(deviceStatusNiew).DeviceStatusNisw(deviceStatusNisw).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Discovered(discovered).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).LocationId(locationId).LocationIdN(locationIdN).Manufacturer(manufacturer).ManufacturerN(manufacturerN).ManufacturerId(manufacturerId).ManufacturerIdN(manufacturerIdN).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).ParentId(parentId).ParentIdN(parentIdN).PartId(partId).PartIdEmpty(partIdEmpty).PartIdIc(partIdIc).PartIdIe(partIdIe).PartIdIew(partIdIew).PartIdIsw(partIdIsw).PartIdN(partIdN).PartIdNic(partIdNic).PartIdNie(partIdNie).PartIdNiew(partIdNiew).PartIdNisw(partIdNisw).Q(q).Rack(rack).RackN(rackN).RackId(rackId).RackIdN(rackIdN).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).Serial(serial).SerialEmpty(serialEmpty).SerialIc(serialIc).SerialIe(serialIe).SerialIew(serialIew).SerialIsw(serialIsw).SerialN(serialN).SerialNic(serialNic).SerialNie(serialNie).SerialNiew(serialNiew).SerialNisw(serialNisw).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).VirtualChassis(virtualChassis).VirtualChassisN(virtualChassisN).VirtualChassisId(virtualChassisId).VirtualChassisIdN(virtualChassisIdN).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInventoryItemsList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -15509,6 +15903,21 @@ Name | Type | Description | Notes **deviceN** | **[]string** | Device (name) | **deviceId** | **[]int32** | Device (ID) | **deviceIdN** | **[]int32** | Device (ID) | + **deviceRole** | **[]string** | Device role (slug) | + **deviceRoleN** | **[]string** | Device role (slug) | + **deviceRoleId** | **[]int32** | Device role (ID) | + **deviceRoleIdN** | **[]int32** | Device role (ID) | + **deviceStatus** | **[]string** | | + **deviceStatusEmpty** | **bool** | | + **deviceStatusIc** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusIe** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusIew** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusIsw** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusN** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusNic** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusNie** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusNiew** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusNisw** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | **deviceType** | **[]string** | Device type (model) | **deviceTypeN** | **[]string** | Device type (model) | **deviceTypeId** | **[]int32** | Device type (ID) | @@ -15580,10 +15989,10 @@ Name | Type | Description | Notes **rackN** | **[]string** | Rack (name) | **rackId** | **[]int32** | Rack (ID) | **rackIdN** | **[]int32** | Rack (ID) | - **region** | **[]int32** | Region (slug) | - **regionN** | **[]int32** | Region (slug) | - **regionId** | **[]int32** | Region (ID) | - **regionIdN** | **[]int32** | Region (ID) | + **region** | **[]string** | | + **regionN** | **[]string** | | + **regionId** | **[]string** | | + **regionIdN** | **[]string** | | **role** | **[]string** | Role (slug) | **roleN** | **[]string** | Role (slug) | **roleId** | **[]int32** | Role (ID) | @@ -15601,10 +16010,10 @@ Name | Type | Description | Notes **serialNisw** | **[]string** | | **site** | **[]string** | Site name (slug) | **siteN** | **[]string** | Site name (slug) | - **siteGroup** | **[]int32** | Site group (slug) | - **siteGroupN** | **[]int32** | Site group (slug) | - **siteGroupId** | **[]int32** | Site group (ID) | - **siteGroupIdN** | **[]int32** | Site group (ID) | + **siteGroup** | **[]string** | | + **siteGroupN** | **[]string** | | + **siteGroupId** | **[]string** | | + **siteGroupIdN** | **[]string** | | **siteId** | **[]int32** | Site (ID) | **siteIdN** | **[]int32** | Site (ID) | **tag** | **[]string** | | @@ -15797,7 +16206,7 @@ import ( func main() { id := int32(56) // int32 | A unique integer value identifying this inventory item. - inventoryItemRequest := *openapiclient.NewInventoryItemRequest(*openapiclient.NewDeviceRequest(), "Name_example") // InventoryItemRequest | + inventoryItemRequest := *openapiclient.NewInventoryItemRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example") // InventoryItemRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -15868,7 +16277,7 @@ import ( ) func main() { - locationRequest := []openapiclient.LocationRequest{*openapiclient.NewLocationRequest("Name_example", "Slug_example")} // []LocationRequest | + locationRequest := []openapiclient.LocationRequest{*openapiclient.NewLocationRequest("Name_example", "Slug_example", *openapiclient.NewBriefSiteRequest("Name_example", "Slug_example"))} // []LocationRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -15932,7 +16341,7 @@ import ( ) func main() { - locationRequest := []openapiclient.LocationRequest{*openapiclient.NewLocationRequest("Name_example", "Slug_example")} // []LocationRequest | + locationRequest := []openapiclient.LocationRequest{*openapiclient.NewLocationRequest("Name_example", "Slug_example", *openapiclient.NewBriefSiteRequest("Name_example", "Slug_example"))} // []LocationRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -15998,7 +16407,7 @@ import ( ) func main() { - locationRequest := []openapiclient.LocationRequest{*openapiclient.NewLocationRequest("Name_example", "Slug_example")} // []LocationRequest | + locationRequest := []openapiclient.LocationRequest{*openapiclient.NewLocationRequest("Name_example", "Slug_example", *openapiclient.NewBriefSiteRequest("Name_example", "Slug_example"))} // []LocationRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -16064,7 +16473,7 @@ import ( ) func main() { - writableLocationRequest := *openapiclient.NewWritableLocationRequest("Name_example", "Slug_example", *openapiclient.NewSiteRequest("Name_example", "Slug_example"), NullableInt32(123)) // WritableLocationRequest | + writableLocationRequest := *openapiclient.NewWritableLocationRequest("Name_example", "Slug_example", *openapiclient.NewBriefSiteRequest("Name_example", "Slug_example"), NullableInt32(123)) // WritableLocationRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -16179,7 +16588,7 @@ Name | Type | Description | Notes ## DcimLocationsList -> PaginatedLocationList DcimLocationsList(ctx).Ancestor(ancestor).AncestorN(ancestorN).AncestorId(ancestorId).AncestorIdN(ancestorIdN).Contact(contact).ContactN(contactN).ContactGroup(contactGroup).ContactGroupN(contactGroupN).ContactRole(contactRole).ContactRoleN(contactRoleN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Facility(facility).FacilityEmpty(facilityEmpty).FacilityIc(facilityIc).FacilityIe(facilityIe).FacilityIew(facilityIew).FacilityIsw(facilityIsw).FacilityN(facilityN).FacilityNic(facilityNic).FacilityNie(facilityNie).FacilityNiew(facilityNiew).FacilityNisw(facilityNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Parent(parent).ParentN(parentN).ParentId(parentId).ParentIdN(parentIdN).Q(q).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Slug(slug).SlugEmpty(slugEmpty).SlugIc(slugIc).SlugIe(slugIe).SlugIew(slugIew).SlugIsw(slugIsw).SlugN(slugN).SlugNic(slugNic).SlugNie(slugNie).SlugNiew(slugNiew).SlugNisw(slugNisw).Status(status).StatusN(statusN).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).UpdatedByRequest(updatedByRequest).Execute() +> PaginatedLocationList DcimLocationsList(ctx).Ancestor(ancestor).AncestorN(ancestorN).AncestorId(ancestorId).AncestorIdN(ancestorIdN).Contact(contact).ContactN(contactN).ContactGroup(contactGroup).ContactGroupN(contactGroupN).ContactRole(contactRole).ContactRoleN(contactRoleN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Facility(facility).FacilityEmpty(facilityEmpty).FacilityIc(facilityIc).FacilityIe(facilityIe).FacilityIew(facilityIew).FacilityIsw(facilityIsw).FacilityN(facilityN).FacilityNic(facilityNic).FacilityNie(facilityNie).FacilityNiew(facilityNiew).FacilityNisw(facilityNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Parent(parent).ParentN(parentN).ParentId(parentId).ParentIdN(parentIdN).Q(q).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Slug(slug).SlugEmpty(slugEmpty).SlugIc(slugIc).SlugIe(slugIe).SlugIew(slugIew).SlugIsw(slugIsw).SlugN(slugN).SlugNic(slugNic).SlugNie(slugNie).SlugNiew(slugNiew).SlugNisw(slugNisw).Status(status).StatusEmpty(statusEmpty).StatusIc(statusIc).StatusIe(statusIe).StatusIew(statusIew).StatusIsw(statusIsw).StatusN(statusN).StatusNic(statusNic).StatusNie(statusNie).StatusNiew(statusNiew).StatusNisw(statusNisw).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).UpdatedByRequest(updatedByRequest).Execute() @@ -16199,14 +16608,14 @@ import ( ) func main() { - ancestor := []int32{int32(123)} // []int32 | Location (slug) (optional) - ancestorN := []int32{int32(123)} // []int32 | Location (slug) (optional) - ancestorId := []int32{int32(123)} // []int32 | Location (ID) (optional) - ancestorIdN := []int32{int32(123)} // []int32 | Location (ID) (optional) + ancestor := []string{"Inner_example"} // []string | (optional) + ancestorN := []string{"Inner_example"} // []string | (optional) + ancestorId := []string{"Inner_example"} // []string | (optional) + ancestorIdN := []string{"Inner_example"} // []string | (optional) contact := []int32{int32(123)} // []int32 | Contact (optional) contactN := []int32{int32(123)} // []int32 | Contact (optional) - contactGroup := []int32{int32(123)} // []int32 | Contact group (optional) - contactGroupN := []int32{int32(123)} // []int32 | Contact group (optional) + contactGroup := []string{"Inner_example"} // []string | (optional) + contactGroupN := []string{"Inner_example"} // []string | (optional) contactRole := []int32{int32(123)} // []int32 | Contact Role (optional) contactRoleN := []int32{int32(123)} // []int32 | Contact Role (optional) created := []time.Time{time.Now()} // []time.Time | (optional) @@ -16273,16 +16682,16 @@ func main() { parentId := []*int32{int32(123)} // []*int32 | Parent location (ID) (optional) parentIdN := []*int32{int32(123)} // []*int32 | Parent location (ID) (optional) q := "q_example" // string | Search (optional) - region := []int32{int32(123)} // []int32 | Region (slug) (optional) - regionN := []int32{int32(123)} // []int32 | Region (slug) (optional) - regionId := []int32{int32(123)} // []int32 | Region (ID) (optional) - regionIdN := []int32{int32(123)} // []int32 | Region (ID) (optional) + region := []string{"Inner_example"} // []string | (optional) + regionN := []string{"Inner_example"} // []string | (optional) + regionId := []string{"Inner_example"} // []string | (optional) + regionIdN := []string{"Inner_example"} // []string | (optional) site := []string{"Inner_example"} // []string | Site (slug) (optional) siteN := []string{"Inner_example"} // []string | Site (slug) (optional) - siteGroup := []int32{int32(123)} // []int32 | Site group (slug) (optional) - siteGroupN := []int32{int32(123)} // []int32 | Site group (slug) (optional) - siteGroupId := []int32{int32(123)} // []int32 | Site group (ID) (optional) - siteGroupIdN := []int32{int32(123)} // []int32 | Site group (ID) (optional) + siteGroup := []string{"Inner_example"} // []string | (optional) + siteGroupN := []string{"Inner_example"} // []string | (optional) + siteGroupId := []string{"Inner_example"} // []string | (optional) + siteGroupIdN := []string{"Inner_example"} // []string | (optional) siteId := []int32{int32(123)} // []int32 | Site (ID) (optional) siteIdN := []int32{int32(123)} // []int32 | Site (ID) (optional) slug := []string{"Inner_example"} // []string | (optional) @@ -16297,22 +16706,31 @@ func main() { slugNiew := []string{"Inner_example"} // []string | (optional) slugNisw := []string{"Inner_example"} // []string | (optional) status := []string{"Inner_example"} // []string | (optional) - statusN := []string{"Inner_example"} // []string | (optional) + statusEmpty := true // bool | (optional) + statusIc := []openapiclient.DcimLocationsListStatusIcParameterInner{openapiclient.dcim_locations_list_status__ic_parameter_inner("active")} // []DcimLocationsListStatusIcParameterInner | * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired (optional) + statusIe := []openapiclient.DcimLocationsListStatusIcParameterInner{openapiclient.dcim_locations_list_status__ic_parameter_inner("active")} // []DcimLocationsListStatusIcParameterInner | * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired (optional) + statusIew := []openapiclient.DcimLocationsListStatusIcParameterInner{openapiclient.dcim_locations_list_status__ic_parameter_inner("active")} // []DcimLocationsListStatusIcParameterInner | * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired (optional) + statusIsw := []openapiclient.DcimLocationsListStatusIcParameterInner{openapiclient.dcim_locations_list_status__ic_parameter_inner("active")} // []DcimLocationsListStatusIcParameterInner | * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired (optional) + statusN := []openapiclient.DcimLocationsListStatusIcParameterInner{openapiclient.dcim_locations_list_status__ic_parameter_inner("active")} // []DcimLocationsListStatusIcParameterInner | * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired (optional) + statusNic := []openapiclient.DcimLocationsListStatusIcParameterInner{openapiclient.dcim_locations_list_status__ic_parameter_inner("active")} // []DcimLocationsListStatusIcParameterInner | * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired (optional) + statusNie := []openapiclient.DcimLocationsListStatusIcParameterInner{openapiclient.dcim_locations_list_status__ic_parameter_inner("active")} // []DcimLocationsListStatusIcParameterInner | * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired (optional) + statusNiew := []openapiclient.DcimLocationsListStatusIcParameterInner{openapiclient.dcim_locations_list_status__ic_parameter_inner("active")} // []DcimLocationsListStatusIcParameterInner | * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired (optional) + statusNisw := []openapiclient.DcimLocationsListStatusIcParameterInner{openapiclient.dcim_locations_list_status__ic_parameter_inner("active")} // []DcimLocationsListStatusIcParameterInner | * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired (optional) tag := []string{"Inner_example"} // []string | (optional) tagN := []string{"Inner_example"} // []string | (optional) tenant := []string{"Inner_example"} // []string | Tenant (slug) (optional) tenantN := []string{"Inner_example"} // []string | Tenant (slug) (optional) - tenantGroup := []int32{int32(123)} // []int32 | Tenant Group (slug) (optional) - tenantGroupN := []int32{int32(123)} // []int32 | Tenant Group (slug) (optional) - tenantGroupId := []int32{int32(123)} // []int32 | Tenant Group (ID) (optional) - tenantGroupIdN := []int32{int32(123)} // []int32 | Tenant Group (ID) (optional) + tenantGroup := []string{"Inner_example"} // []string | (optional) + tenantGroupN := []string{"Inner_example"} // []string | (optional) + tenantGroupId := []string{"Inner_example"} // []string | (optional) + tenantGroupIdN := []string{"Inner_example"} // []string | (optional) tenantId := []*int32{int32(123)} // []*int32 | Tenant (ID) (optional) tenantIdN := []*int32{int32(123)} // []*int32 | Tenant (ID) (optional) updatedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.DcimAPI.DcimLocationsList(context.Background()).Ancestor(ancestor).AncestorN(ancestorN).AncestorId(ancestorId).AncestorIdN(ancestorIdN).Contact(contact).ContactN(contactN).ContactGroup(contactGroup).ContactGroupN(contactGroupN).ContactRole(contactRole).ContactRoleN(contactRoleN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Facility(facility).FacilityEmpty(facilityEmpty).FacilityIc(facilityIc).FacilityIe(facilityIe).FacilityIew(facilityIew).FacilityIsw(facilityIsw).FacilityN(facilityN).FacilityNic(facilityNic).FacilityNie(facilityNie).FacilityNiew(facilityNiew).FacilityNisw(facilityNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Parent(parent).ParentN(parentN).ParentId(parentId).ParentIdN(parentIdN).Q(q).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Slug(slug).SlugEmpty(slugEmpty).SlugIc(slugIc).SlugIe(slugIe).SlugIew(slugIew).SlugIsw(slugIsw).SlugN(slugN).SlugNic(slugNic).SlugNie(slugNie).SlugNiew(slugNiew).SlugNisw(slugNisw).Status(status).StatusN(statusN).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).UpdatedByRequest(updatedByRequest).Execute() + resp, r, err := apiClient.DcimAPI.DcimLocationsList(context.Background()).Ancestor(ancestor).AncestorN(ancestorN).AncestorId(ancestorId).AncestorIdN(ancestorIdN).Contact(contact).ContactN(contactN).ContactGroup(contactGroup).ContactGroupN(contactGroupN).ContactRole(contactRole).ContactRoleN(contactRoleN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Facility(facility).FacilityEmpty(facilityEmpty).FacilityIc(facilityIc).FacilityIe(facilityIe).FacilityIew(facilityIew).FacilityIsw(facilityIsw).FacilityN(facilityN).FacilityNic(facilityNic).FacilityNie(facilityNie).FacilityNiew(facilityNiew).FacilityNisw(facilityNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Parent(parent).ParentN(parentN).ParentId(parentId).ParentIdN(parentIdN).Q(q).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Slug(slug).SlugEmpty(slugEmpty).SlugIc(slugIc).SlugIe(slugIe).SlugIew(slugIew).SlugIsw(slugIsw).SlugN(slugN).SlugNic(slugNic).SlugNie(slugNie).SlugNiew(slugNiew).SlugNisw(slugNisw).Status(status).StatusEmpty(statusEmpty).StatusIc(statusIc).StatusIe(statusIe).StatusIew(statusIew).StatusIsw(statusIsw).StatusN(statusN).StatusNic(statusNic).StatusNie(statusNie).StatusNiew(statusNiew).StatusNisw(statusNisw).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).UpdatedByRequest(updatedByRequest).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) @@ -16333,14 +16751,14 @@ Other parameters are passed through a pointer to a apiDcimLocationsListRequest s Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **ancestor** | **[]int32** | Location (slug) | - **ancestorN** | **[]int32** | Location (slug) | - **ancestorId** | **[]int32** | Location (ID) | - **ancestorIdN** | **[]int32** | Location (ID) | + **ancestor** | **[]string** | | + **ancestorN** | **[]string** | | + **ancestorId** | **[]string** | | + **ancestorIdN** | **[]string** | | **contact** | **[]int32** | Contact | **contactN** | **[]int32** | Contact | - **contactGroup** | **[]int32** | Contact group | - **contactGroupN** | **[]int32** | Contact group | + **contactGroup** | **[]string** | | + **contactGroupN** | **[]string** | | **contactRole** | **[]int32** | Contact Role | **contactRoleN** | **[]int32** | Contact Role | **created** | [**[]time.Time**](time.Time.md) | | @@ -16407,16 +16825,16 @@ Name | Type | Description | Notes **parentId** | **[]int32** | Parent location (ID) | **parentIdN** | **[]int32** | Parent location (ID) | **q** | **string** | Search | - **region** | **[]int32** | Region (slug) | - **regionN** | **[]int32** | Region (slug) | - **regionId** | **[]int32** | Region (ID) | - **regionIdN** | **[]int32** | Region (ID) | + **region** | **[]string** | | + **regionN** | **[]string** | | + **regionId** | **[]string** | | + **regionIdN** | **[]string** | | **site** | **[]string** | Site (slug) | **siteN** | **[]string** | Site (slug) | - **siteGroup** | **[]int32** | Site group (slug) | - **siteGroupN** | **[]int32** | Site group (slug) | - **siteGroupId** | **[]int32** | Site group (ID) | - **siteGroupIdN** | **[]int32** | Site group (ID) | + **siteGroup** | **[]string** | | + **siteGroupN** | **[]string** | | + **siteGroupId** | **[]string** | | + **siteGroupIdN** | **[]string** | | **siteId** | **[]int32** | Site (ID) | **siteIdN** | **[]int32** | Site (ID) | **slug** | **[]string** | | @@ -16431,15 +16849,24 @@ Name | Type | Description | Notes **slugNiew** | **[]string** | | **slugNisw** | **[]string** | | **status** | **[]string** | | - **statusN** | **[]string** | | + **statusEmpty** | **bool** | | + **statusIc** | [**[]DcimLocationsListStatusIcParameterInner**](DcimLocationsListStatusIcParameterInner.md) | * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired | + **statusIe** | [**[]DcimLocationsListStatusIcParameterInner**](DcimLocationsListStatusIcParameterInner.md) | * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired | + **statusIew** | [**[]DcimLocationsListStatusIcParameterInner**](DcimLocationsListStatusIcParameterInner.md) | * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired | + **statusIsw** | [**[]DcimLocationsListStatusIcParameterInner**](DcimLocationsListStatusIcParameterInner.md) | * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired | + **statusN** | [**[]DcimLocationsListStatusIcParameterInner**](DcimLocationsListStatusIcParameterInner.md) | * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired | + **statusNic** | [**[]DcimLocationsListStatusIcParameterInner**](DcimLocationsListStatusIcParameterInner.md) | * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired | + **statusNie** | [**[]DcimLocationsListStatusIcParameterInner**](DcimLocationsListStatusIcParameterInner.md) | * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired | + **statusNiew** | [**[]DcimLocationsListStatusIcParameterInner**](DcimLocationsListStatusIcParameterInner.md) | * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired | + **statusNisw** | [**[]DcimLocationsListStatusIcParameterInner**](DcimLocationsListStatusIcParameterInner.md) | * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired | **tag** | **[]string** | | **tagN** | **[]string** | | **tenant** | **[]string** | Tenant (slug) | **tenantN** | **[]string** | Tenant (slug) | - **tenantGroup** | **[]int32** | Tenant Group (slug) | - **tenantGroupN** | **[]int32** | Tenant Group (slug) | - **tenantGroupId** | **[]int32** | Tenant Group (ID) | - **tenantGroupIdN** | **[]int32** | Tenant Group (ID) | + **tenantGroup** | **[]string** | | + **tenantGroupN** | **[]string** | | + **tenantGroupId** | **[]string** | | + **tenantGroupIdN** | **[]string** | | **tenantId** | **[]int32** | Tenant (ID) | **tenantIdN** | **[]int32** | Tenant (ID) | **updatedByRequest** | **string** | | @@ -16626,7 +17053,7 @@ import ( func main() { id := int32(56) // int32 | A unique integer value identifying this location. - writableLocationRequest := *openapiclient.NewWritableLocationRequest("Name_example", "Slug_example", *openapiclient.NewSiteRequest("Name_example", "Slug_example"), NullableInt32(123)) // WritableLocationRequest | + writableLocationRequest := *openapiclient.NewWritableLocationRequest("Name_example", "Slug_example", *openapiclient.NewBriefSiteRequest("Name_example", "Slug_example"), NullableInt32(123)) // WritableLocationRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -17030,8 +17457,8 @@ import ( func main() { contact := []int32{int32(123)} // []int32 | Contact (optional) contactN := []int32{int32(123)} // []int32 | Contact (optional) - contactGroup := []int32{int32(123)} // []int32 | Contact group (optional) - contactGroupN := []int32{int32(123)} // []int32 | Contact group (optional) + contactGroup := []string{"Inner_example"} // []string | (optional) + contactGroupN := []string{"Inner_example"} // []string | (optional) contactRole := []int32{int32(123)} // []int32 | Contact Role (optional) contactRoleN := []int32{int32(123)} // []int32 | Contact Role (optional) created := []time.Time{time.Now()} // []time.Time | (optional) @@ -17123,8 +17550,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **contact** | **[]int32** | Contact | **contactN** | **[]int32** | Contact | - **contactGroup** | **[]int32** | Contact group | - **contactGroupN** | **[]int32** | Contact group | + **contactGroup** | **[]string** | | + **contactGroupN** | **[]string** | | **contactRole** | **[]int32** | Contact Role | **contactRoleN** | **[]int32** | Contact Role | **created** | [**[]time.Time**](time.Time.md) | | @@ -17444,7 +17871,7 @@ import ( ) func main() { - moduleBayTemplateRequest := []openapiclient.ModuleBayTemplateRequest{*openapiclient.NewModuleBayTemplateRequest(*openapiclient.NewDeviceTypeRequest(*openapiclient.NewManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example"), "Name_example")} // []ModuleBayTemplateRequest | + moduleBayTemplateRequest := []openapiclient.ModuleBayTemplateRequest{*openapiclient.NewModuleBayTemplateRequest("Name_example")} // []ModuleBayTemplateRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -17508,7 +17935,7 @@ import ( ) func main() { - moduleBayTemplateRequest := []openapiclient.ModuleBayTemplateRequest{*openapiclient.NewModuleBayTemplateRequest(*openapiclient.NewDeviceTypeRequest(*openapiclient.NewManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example"), "Name_example")} // []ModuleBayTemplateRequest | + moduleBayTemplateRequest := []openapiclient.ModuleBayTemplateRequest{*openapiclient.NewModuleBayTemplateRequest("Name_example")} // []ModuleBayTemplateRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -17574,7 +18001,7 @@ import ( ) func main() { - moduleBayTemplateRequest := []openapiclient.ModuleBayTemplateRequest{*openapiclient.NewModuleBayTemplateRequest(*openapiclient.NewDeviceTypeRequest(*openapiclient.NewManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example"), "Name_example")} // []ModuleBayTemplateRequest | + moduleBayTemplateRequest := []openapiclient.ModuleBayTemplateRequest{*openapiclient.NewModuleBayTemplateRequest("Name_example")} // []ModuleBayTemplateRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -17640,7 +18067,7 @@ import ( ) func main() { - moduleBayTemplateRequest := *openapiclient.NewModuleBayTemplateRequest(*openapiclient.NewDeviceTypeRequest(*openapiclient.NewManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example"), "Name_example") // ModuleBayTemplateRequest | + moduleBayTemplateRequest := *openapiclient.NewModuleBayTemplateRequest("Name_example") // ModuleBayTemplateRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -17755,7 +18182,7 @@ Name | Type | Description | Notes ## DcimModuleBayTemplatesList -> PaginatedModuleBayTemplateList DcimModuleBayTemplatesList(ctx).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).DevicetypeId(devicetypeId).DevicetypeIdN(devicetypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Position(position).PositionEmpty(positionEmpty).PositionIc(positionIc).PositionIe(positionIe).PositionIew(positionIew).PositionIsw(positionIsw).PositionN(positionN).PositionNic(positionNic).PositionNie(positionNie).PositionNiew(positionNiew).PositionNisw(positionNisw).Q(q).UpdatedByRequest(updatedByRequest).Execute() +> PaginatedModuleBayTemplateList DcimModuleBayTemplatesList(ctx).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).ModuleTypeId(moduleTypeId).ModuleTypeIdN(moduleTypeIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Position(position).PositionEmpty(positionEmpty).PositionIc(positionIc).PositionIe(positionIe).PositionIew(positionIew).PositionIsw(positionIsw).PositionN(positionN).PositionNic(positionNic).PositionNie(positionNie).PositionNiew(positionNiew).PositionNisw(positionNisw).Q(q).UpdatedByRequest(updatedByRequest).Execute() @@ -17794,10 +18221,8 @@ func main() { descriptionNie := []string{"Inner_example"} // []string | (optional) descriptionNiew := []string{"Inner_example"} // []string | (optional) descriptionNisw := []string{"Inner_example"} // []string | (optional) - deviceTypeId := []int32{int32(123)} // []int32 | Device type (ID) (optional) - deviceTypeIdN := []int32{int32(123)} // []int32 | Device type (ID) (optional) - devicetypeId := []int32{int32(123)} // []int32 | Device type (ID) (optional) - devicetypeIdN := []int32{int32(123)} // []int32 | Device type (ID) (optional) + deviceTypeId := []*int32{int32(123)} // []*int32 | Device type (ID) (optional) + deviceTypeIdN := []*int32{int32(123)} // []*int32 | Device type (ID) (optional) id := []int32{int32(123)} // []int32 | (optional) idEmpty := true // bool | (optional) idGt := []int32{int32(123)} // []int32 | (optional) @@ -17825,6 +18250,8 @@ func main() { lastUpdatedN := []time.Time{time.Now()} // []time.Time | (optional) limit := int32(56) // int32 | Number of results to return per page. (optional) modifiedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) + moduleTypeId := []*int32{int32(123)} // []*int32 | Module type (ID) (optional) + moduleTypeIdN := []*int32{int32(123)} // []*int32 | Module type (ID) (optional) name := []string{"Inner_example"} // []string | (optional) nameEmpty := true // bool | (optional) nameIc := []string{"Inner_example"} // []string | (optional) @@ -17854,7 +18281,7 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.DcimAPI.DcimModuleBayTemplatesList(context.Background()).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).DevicetypeId(devicetypeId).DevicetypeIdN(devicetypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Position(position).PositionEmpty(positionEmpty).PositionIc(positionIc).PositionIe(positionIe).PositionIew(positionIew).PositionIsw(positionIsw).PositionN(positionN).PositionNic(positionNic).PositionNie(positionNie).PositionNiew(positionNiew).PositionNisw(positionNisw).Q(q).UpdatedByRequest(updatedByRequest).Execute() + resp, r, err := apiClient.DcimAPI.DcimModuleBayTemplatesList(context.Background()).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).ModuleTypeId(moduleTypeId).ModuleTypeIdN(moduleTypeIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Position(position).PositionEmpty(positionEmpty).PositionIc(positionIc).PositionIe(positionIe).PositionIew(positionIew).PositionIsw(positionIsw).PositionN(positionN).PositionNic(positionNic).PositionNie(positionNie).PositionNiew(positionNiew).PositionNisw(positionNisw).Q(q).UpdatedByRequest(updatedByRequest).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) @@ -17896,8 +18323,6 @@ Name | Type | Description | Notes **descriptionNisw** | **[]string** | | **deviceTypeId** | **[]int32** | Device type (ID) | **deviceTypeIdN** | **[]int32** | Device type (ID) | - **devicetypeId** | **[]int32** | Device type (ID) | - **devicetypeIdN** | **[]int32** | Device type (ID) | **id** | **[]int32** | | **idEmpty** | **bool** | | **idGt** | **[]int32** | | @@ -17925,6 +18350,8 @@ Name | Type | Description | Notes **lastUpdatedN** | [**[]time.Time**](time.Time.md) | | **limit** | **int32** | Number of results to return per page. | **modifiedByRequest** | **string** | | + **moduleTypeId** | **[]int32** | Module type (ID) | + **moduleTypeIdN** | **[]int32** | Module type (ID) | **name** | **[]string** | | **nameEmpty** | **bool** | | **nameIc** | **[]string** | | @@ -18134,7 +18561,7 @@ import ( func main() { id := int32(56) // int32 | A unique integer value identifying this module bay template. - moduleBayTemplateRequest := *openapiclient.NewModuleBayTemplateRequest(*openapiclient.NewDeviceTypeRequest(*openapiclient.NewManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example"), "Name_example") // ModuleBayTemplateRequest | + moduleBayTemplateRequest := *openapiclient.NewModuleBayTemplateRequest("Name_example") // ModuleBayTemplateRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -18205,7 +18632,7 @@ import ( ) func main() { - moduleBayRequest := []openapiclient.ModuleBayRequest{*openapiclient.NewModuleBayRequest(*openapiclient.NewDeviceRequest(), "Name_example")} // []ModuleBayRequest | + moduleBayRequest := []openapiclient.ModuleBayRequest{*openapiclient.NewModuleBayRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example")} // []ModuleBayRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -18269,7 +18696,7 @@ import ( ) func main() { - moduleBayRequest := []openapiclient.ModuleBayRequest{*openapiclient.NewModuleBayRequest(*openapiclient.NewDeviceRequest(), "Name_example")} // []ModuleBayRequest | + moduleBayRequest := []openapiclient.ModuleBayRequest{*openapiclient.NewModuleBayRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example")} // []ModuleBayRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -18335,7 +18762,7 @@ import ( ) func main() { - moduleBayRequest := []openapiclient.ModuleBayRequest{*openapiclient.NewModuleBayRequest(*openapiclient.NewDeviceRequest(), "Name_example")} // []ModuleBayRequest | + moduleBayRequest := []openapiclient.ModuleBayRequest{*openapiclient.NewModuleBayRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example")} // []ModuleBayRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -18401,7 +18828,7 @@ import ( ) func main() { - moduleBayRequest := *openapiclient.NewModuleBayRequest(*openapiclient.NewDeviceRequest(), "Name_example") // ModuleBayRequest | + moduleBayRequest := *openapiclient.NewModuleBayRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example") // ModuleBayRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -18516,7 +18943,7 @@ Name | Type | Description | Notes ## DcimModuleBaysList -> PaginatedModuleBayList DcimModuleBaysList(ctx).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceN(deviceN).DeviceId(deviceId).DeviceIdN(deviceIdN).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).InstalledModuleId(installedModuleId).InstalledModuleIdN(installedModuleIdN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).LocationId(locationId).LocationIdN(locationIdN).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Position(position).PositionEmpty(positionEmpty).PositionIc(positionIc).PositionIe(positionIe).PositionIew(positionIew).PositionIsw(positionIsw).PositionN(positionN).PositionNic(positionNic).PositionNie(positionNie).PositionNiew(positionNiew).PositionNisw(positionNisw).Q(q).Rack(rack).RackN(rackN).RackId(rackId).RackIdN(rackIdN).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).VirtualChassis(virtualChassis).VirtualChassisN(virtualChassisN).VirtualChassisId(virtualChassisId).VirtualChassisIdN(virtualChassisIdN).Execute() +> PaginatedModuleBayList DcimModuleBaysList(ctx).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceN(deviceN).DeviceId(deviceId).DeviceIdN(deviceIdN).DeviceRole(deviceRole).DeviceRoleN(deviceRoleN).DeviceRoleId(deviceRoleId).DeviceRoleIdN(deviceRoleIdN).DeviceStatus(deviceStatus).DeviceStatusEmpty(deviceStatusEmpty).DeviceStatusIc(deviceStatusIc).DeviceStatusIe(deviceStatusIe).DeviceStatusIew(deviceStatusIew).DeviceStatusIsw(deviceStatusIsw).DeviceStatusN(deviceStatusN).DeviceStatusNic(deviceStatusNic).DeviceStatusNie(deviceStatusNie).DeviceStatusNiew(deviceStatusNiew).DeviceStatusNisw(deviceStatusNisw).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).InstalledModuleId(installedModuleId).InstalledModuleIdN(installedModuleIdN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).LocationId(locationId).LocationIdN(locationIdN).ModifiedByRequest(modifiedByRequest).ModuleId(moduleId).ModuleIdN(moduleIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).ParentId(parentId).ParentIdN(parentIdN).Position(position).PositionEmpty(positionEmpty).PositionIc(positionIc).PositionIe(positionIe).PositionIew(positionIew).PositionIsw(positionIsw).PositionN(positionN).PositionNic(positionNic).PositionNie(positionNie).PositionNiew(positionNiew).PositionNisw(positionNisw).Q(q).Rack(rack).RackN(rackN).RackId(rackId).RackIdN(rackIdN).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).VirtualChassis(virtualChassis).VirtualChassisN(virtualChassisN).VirtualChassisId(virtualChassisId).VirtualChassisIdN(virtualChassisIdN).Execute() @@ -18559,6 +18986,21 @@ func main() { deviceN := []*string{"Inner_example"} // []*string | Device (name) (optional) deviceId := []int32{int32(123)} // []int32 | Device (ID) (optional) deviceIdN := []int32{int32(123)} // []int32 | Device (ID) (optional) + deviceRole := []string{"Inner_example"} // []string | Device role (slug) (optional) + deviceRoleN := []string{"Inner_example"} // []string | Device role (slug) (optional) + deviceRoleId := []int32{int32(123)} // []int32 | Device role (ID) (optional) + deviceRoleIdN := []int32{int32(123)} // []int32 | Device role (ID) (optional) + deviceStatus := []string{"Inner_example"} // []string | (optional) + deviceStatusEmpty := true // bool | (optional) + deviceStatusIc := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusIe := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusIew := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusIsw := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusN := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusNic := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusNie := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusNiew := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusNisw := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) deviceType := []string{"Inner_example"} // []string | Device type (model) (optional) deviceTypeN := []string{"Inner_example"} // []string | Device type (model) (optional) deviceTypeId := []int32{int32(123)} // []int32 | Device type (ID) (optional) @@ -18596,6 +19038,8 @@ func main() { locationId := []int32{int32(123)} // []int32 | Location (ID) (optional) locationIdN := []int32{int32(123)} // []int32 | Location (ID) (optional) modifiedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) + moduleId := []*int32{int32(123)} // []*int32 | Module (ID) (optional) + moduleIdN := []*int32{int32(123)} // []*int32 | Module (ID) (optional) name := []string{"Inner_example"} // []string | (optional) nameEmpty := true // bool | (optional) nameIc := []string{"Inner_example"} // []string | (optional) @@ -18609,6 +19053,8 @@ func main() { nameNisw := []string{"Inner_example"} // []string | (optional) offset := int32(56) // int32 | The initial index from which to return the results. (optional) ordering := "ordering_example" // string | Which field to use when ordering the results. (optional) + parentId := []*int32{int32(123)} // []*int32 | Parent module bay (ID) (optional) + parentIdN := []*int32{int32(123)} // []*int32 | Parent module bay (ID) (optional) position := []string{"Inner_example"} // []string | (optional) positionEmpty := true // bool | (optional) positionIc := []string{"Inner_example"} // []string | (optional) @@ -18625,20 +19071,16 @@ func main() { rackN := []string{"Inner_example"} // []string | Rack (name) (optional) rackId := []int32{int32(123)} // []int32 | Rack (ID) (optional) rackIdN := []int32{int32(123)} // []int32 | Rack (ID) (optional) - region := []int32{int32(123)} // []int32 | Region (slug) (optional) - regionN := []int32{int32(123)} // []int32 | Region (slug) (optional) - regionId := []int32{int32(123)} // []int32 | Region (ID) (optional) - regionIdN := []int32{int32(123)} // []int32 | Region (ID) (optional) - role := []string{"Inner_example"} // []string | Device role (slug) (optional) - roleN := []string{"Inner_example"} // []string | Device role (slug) (optional) - roleId := []int32{int32(123)} // []int32 | Device role (ID) (optional) - roleIdN := []int32{int32(123)} // []int32 | Device role (ID) (optional) + region := []string{"Inner_example"} // []string | (optional) + regionN := []string{"Inner_example"} // []string | (optional) + regionId := []string{"Inner_example"} // []string | (optional) + regionIdN := []string{"Inner_example"} // []string | (optional) site := []string{"Inner_example"} // []string | Site name (slug) (optional) siteN := []string{"Inner_example"} // []string | Site name (slug) (optional) - siteGroup := []int32{int32(123)} // []int32 | Site group (slug) (optional) - siteGroupN := []int32{int32(123)} // []int32 | Site group (slug) (optional) - siteGroupId := []int32{int32(123)} // []int32 | Site group (ID) (optional) - siteGroupIdN := []int32{int32(123)} // []int32 | Site group (ID) (optional) + siteGroup := []string{"Inner_example"} // []string | (optional) + siteGroupN := []string{"Inner_example"} // []string | (optional) + siteGroupId := []string{"Inner_example"} // []string | (optional) + siteGroupIdN := []string{"Inner_example"} // []string | (optional) siteId := []int32{int32(123)} // []int32 | Site (ID) (optional) siteIdN := []int32{int32(123)} // []int32 | Site (ID) (optional) tag := []string{"Inner_example"} // []string | (optional) @@ -18651,7 +19093,7 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.DcimAPI.DcimModuleBaysList(context.Background()).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceN(deviceN).DeviceId(deviceId).DeviceIdN(deviceIdN).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).InstalledModuleId(installedModuleId).InstalledModuleIdN(installedModuleIdN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).LocationId(locationId).LocationIdN(locationIdN).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Position(position).PositionEmpty(positionEmpty).PositionIc(positionIc).PositionIe(positionIe).PositionIew(positionIew).PositionIsw(positionIsw).PositionN(positionN).PositionNic(positionNic).PositionNie(positionNie).PositionNiew(positionNiew).PositionNisw(positionNisw).Q(q).Rack(rack).RackN(rackN).RackId(rackId).RackIdN(rackIdN).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).VirtualChassis(virtualChassis).VirtualChassisN(virtualChassisN).VirtualChassisId(virtualChassisId).VirtualChassisIdN(virtualChassisIdN).Execute() + resp, r, err := apiClient.DcimAPI.DcimModuleBaysList(context.Background()).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceN(deviceN).DeviceId(deviceId).DeviceIdN(deviceIdN).DeviceRole(deviceRole).DeviceRoleN(deviceRoleN).DeviceRoleId(deviceRoleId).DeviceRoleIdN(deviceRoleIdN).DeviceStatus(deviceStatus).DeviceStatusEmpty(deviceStatusEmpty).DeviceStatusIc(deviceStatusIc).DeviceStatusIe(deviceStatusIe).DeviceStatusIew(deviceStatusIew).DeviceStatusIsw(deviceStatusIsw).DeviceStatusN(deviceStatusN).DeviceStatusNic(deviceStatusNic).DeviceStatusNie(deviceStatusNie).DeviceStatusNiew(deviceStatusNiew).DeviceStatusNisw(deviceStatusNisw).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).InstalledModuleId(installedModuleId).InstalledModuleIdN(installedModuleIdN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).LocationId(locationId).LocationIdN(locationIdN).ModifiedByRequest(modifiedByRequest).ModuleId(moduleId).ModuleIdN(moduleIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).ParentId(parentId).ParentIdN(parentIdN).Position(position).PositionEmpty(positionEmpty).PositionIc(positionIc).PositionIe(positionIe).PositionIew(positionIew).PositionIsw(positionIsw).PositionN(positionN).PositionNic(positionNic).PositionNie(positionNie).PositionNiew(positionNiew).PositionNisw(positionNisw).Q(q).Rack(rack).RackN(rackN).RackId(rackId).RackIdN(rackIdN).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).VirtualChassis(virtualChassis).VirtualChassisN(virtualChassisN).VirtualChassisId(virtualChassisId).VirtualChassisIdN(virtualChassisIdN).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleBaysList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -18695,6 +19137,21 @@ Name | Type | Description | Notes **deviceN** | **[]string** | Device (name) | **deviceId** | **[]int32** | Device (ID) | **deviceIdN** | **[]int32** | Device (ID) | + **deviceRole** | **[]string** | Device role (slug) | + **deviceRoleN** | **[]string** | Device role (slug) | + **deviceRoleId** | **[]int32** | Device role (ID) | + **deviceRoleIdN** | **[]int32** | Device role (ID) | + **deviceStatus** | **[]string** | | + **deviceStatusEmpty** | **bool** | | + **deviceStatusIc** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusIe** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusIew** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusIsw** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusN** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusNic** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusNie** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusNiew** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusNisw** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | **deviceType** | **[]string** | Device type (model) | **deviceTypeN** | **[]string** | Device type (model) | **deviceTypeId** | **[]int32** | Device type (ID) | @@ -18732,6 +19189,8 @@ Name | Type | Description | Notes **locationId** | **[]int32** | Location (ID) | **locationIdN** | **[]int32** | Location (ID) | **modifiedByRequest** | **string** | | + **moduleId** | **[]int32** | Module (ID) | + **moduleIdN** | **[]int32** | Module (ID) | **name** | **[]string** | | **nameEmpty** | **bool** | | **nameIc** | **[]string** | | @@ -18745,6 +19204,8 @@ Name | Type | Description | Notes **nameNisw** | **[]string** | | **offset** | **int32** | The initial index from which to return the results. | **ordering** | **string** | Which field to use when ordering the results. | + **parentId** | **[]int32** | Parent module bay (ID) | + **parentIdN** | **[]int32** | Parent module bay (ID) | **position** | **[]string** | | **positionEmpty** | **bool** | | **positionIc** | **[]string** | | @@ -18761,20 +19222,16 @@ Name | Type | Description | Notes **rackN** | **[]string** | Rack (name) | **rackId** | **[]int32** | Rack (ID) | **rackIdN** | **[]int32** | Rack (ID) | - **region** | **[]int32** | Region (slug) | - **regionN** | **[]int32** | Region (slug) | - **regionId** | **[]int32** | Region (ID) | - **regionIdN** | **[]int32** | Region (ID) | - **role** | **[]string** | Device role (slug) | - **roleN** | **[]string** | Device role (slug) | - **roleId** | **[]int32** | Device role (ID) | - **roleIdN** | **[]int32** | Device role (ID) | + **region** | **[]string** | | + **regionN** | **[]string** | | + **regionId** | **[]string** | | + **regionIdN** | **[]string** | | **site** | **[]string** | Site name (slug) | **siteN** | **[]string** | Site name (slug) | - **siteGroup** | **[]int32** | Site group (slug) | - **siteGroupN** | **[]int32** | Site group (slug) | - **siteGroupId** | **[]int32** | Site group (ID) | - **siteGroupIdN** | **[]int32** | Site group (ID) | + **siteGroup** | **[]string** | | + **siteGroupN** | **[]string** | | + **siteGroupId** | **[]string** | | + **siteGroupIdN** | **[]string** | | **siteId** | **[]int32** | Site (ID) | **siteIdN** | **[]int32** | Site (ID) | **tag** | **[]string** | | @@ -18967,7 +19424,7 @@ import ( func main() { id := int32(56) // int32 | A unique integer value identifying this module bay. - moduleBayRequest := *openapiclient.NewModuleBayRequest(*openapiclient.NewDeviceRequest(), "Name_example") // ModuleBayRequest | + moduleBayRequest := *openapiclient.NewModuleBayRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example") // ModuleBayRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -19038,7 +19495,7 @@ import ( ) func main() { - moduleTypeRequest := []openapiclient.ModuleTypeRequest{*openapiclient.NewModuleTypeRequest(*openapiclient.NewManufacturerRequest("Name_example", "Slug_example"), "Model_example")} // []ModuleTypeRequest | + moduleTypeRequest := []openapiclient.ModuleTypeRequest{*openapiclient.NewModuleTypeRequest(*openapiclient.NewBriefManufacturerRequest("Name_example", "Slug_example"), "Model_example")} // []ModuleTypeRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -19102,7 +19559,7 @@ import ( ) func main() { - moduleTypeRequest := []openapiclient.ModuleTypeRequest{*openapiclient.NewModuleTypeRequest(*openapiclient.NewManufacturerRequest("Name_example", "Slug_example"), "Model_example")} // []ModuleTypeRequest | + moduleTypeRequest := []openapiclient.ModuleTypeRequest{*openapiclient.NewModuleTypeRequest(*openapiclient.NewBriefManufacturerRequest("Name_example", "Slug_example"), "Model_example")} // []ModuleTypeRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -19168,7 +19625,7 @@ import ( ) func main() { - moduleTypeRequest := []openapiclient.ModuleTypeRequest{*openapiclient.NewModuleTypeRequest(*openapiclient.NewManufacturerRequest("Name_example", "Slug_example"), "Model_example")} // []ModuleTypeRequest | + moduleTypeRequest := []openapiclient.ModuleTypeRequest{*openapiclient.NewModuleTypeRequest(*openapiclient.NewBriefManufacturerRequest("Name_example", "Slug_example"), "Model_example")} // []ModuleTypeRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -19234,7 +19691,7 @@ import ( ) func main() { - writableModuleTypeRequest := *openapiclient.NewWritableModuleTypeRequest(*openapiclient.NewManufacturerRequest("Name_example", "Slug_example"), "Model_example") // WritableModuleTypeRequest | + writableModuleTypeRequest := *openapiclient.NewWritableModuleTypeRequest(*openapiclient.NewBriefManufacturerRequest("Name_example", "Slug_example"), "Model_example") // WritableModuleTypeRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -19349,7 +19806,7 @@ Name | Type | Description | Notes ## DcimModuleTypesList -> PaginatedModuleTypeList DcimModuleTypesList(ctx).ConsolePorts(consolePorts).ConsoleServerPorts(consoleServerPorts).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Interfaces(interfaces).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Manufacturer(manufacturer).ManufacturerN(manufacturerN).ManufacturerId(manufacturerId).ManufacturerIdN(manufacturerIdN).Model(model).ModelEmpty(modelEmpty).ModelIc(modelIc).ModelIe(modelIe).ModelIew(modelIew).ModelIsw(modelIsw).ModelN(modelN).ModelNic(modelNic).ModelNie(modelNie).ModelNiew(modelNiew).ModelNisw(modelNisw).ModifiedByRequest(modifiedByRequest).Offset(offset).Ordering(ordering).PartNumber(partNumber).PartNumberEmpty(partNumberEmpty).PartNumberIc(partNumberIc).PartNumberIe(partNumberIe).PartNumberIew(partNumberIew).PartNumberIsw(partNumberIsw).PartNumberN(partNumberN).PartNumberNic(partNumberNic).PartNumberNie(partNumberNie).PartNumberNiew(partNumberNiew).PartNumberNisw(partNumberNisw).PassThroughPorts(passThroughPorts).PowerOutlets(powerOutlets).PowerPorts(powerPorts).Q(q).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).Weight(weight).WeightEmpty(weightEmpty).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).WeightUnit(weightUnit).WeightUnitN(weightUnitN).Execute() +> PaginatedModuleTypeList DcimModuleTypesList(ctx).Airflow(airflow).ConsolePorts(consolePorts).ConsoleServerPorts(consoleServerPorts).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Interfaces(interfaces).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Manufacturer(manufacturer).ManufacturerN(manufacturerN).ManufacturerId(manufacturerId).ManufacturerIdN(manufacturerIdN).Model(model).ModelEmpty(modelEmpty).ModelIc(modelIc).ModelIe(modelIe).ModelIew(modelIew).ModelIsw(modelIsw).ModelN(modelN).ModelNic(modelNic).ModelNie(modelNie).ModelNiew(modelNiew).ModelNisw(modelNisw).ModifiedByRequest(modifiedByRequest).Offset(offset).Ordering(ordering).PartNumber(partNumber).PartNumberEmpty(partNumberEmpty).PartNumberIc(partNumberIc).PartNumberIe(partNumberIe).PartNumberIew(partNumberIew).PartNumberIsw(partNumberIsw).PartNumberN(partNumberN).PartNumberNic(partNumberNic).PartNumberNie(partNumberNie).PartNumberNiew(partNumberNiew).PartNumberNisw(partNumberNisw).PassThroughPorts(passThroughPorts).PowerOutlets(powerOutlets).PowerPorts(powerPorts).Q(q).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).Weight(weight).WeightEmpty(weightEmpty).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).WeightUnit(weightUnit).Execute() @@ -19369,6 +19826,7 @@ import ( ) func main() { + airflow := openapiclient.dcim_module_types_list_airflow_parameter("front-to-rear") // DcimModuleTypesListAirflowParameter | * `front-to-rear` - Front to rear * `rear-to-front` - Rear to front * `left-to-right` - Left to right * `right-to-left` - Right to left * `side-to-rear` - Side to rear * `passive` - Passive (optional) consolePorts := true // bool | Has console ports (optional) consoleServerPorts := true // bool | Has console server ports (optional) created := []time.Time{time.Now()} // []time.Time | (optional) @@ -19450,11 +19908,10 @@ func main() { weightLte := []float64{float64(123)} // []float64 | (optional) weightN := []float64{float64(123)} // []float64 | (optional) weightUnit := openapiclient.dcim_device_types_list_weight_unit_parameter("g") // DcimDeviceTypesListWeightUnitParameter | * `kg` - Kilograms * `g` - Grams * `lb` - Pounds * `oz` - Ounces (optional) - weightUnitN := openapiclient.dcim_device_types_list_weight_unit_parameter("g") // DcimDeviceTypesListWeightUnitParameter | * `kg` - Kilograms * `g` - Grams * `lb` - Pounds * `oz` - Ounces (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.DcimAPI.DcimModuleTypesList(context.Background()).ConsolePorts(consolePorts).ConsoleServerPorts(consoleServerPorts).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Interfaces(interfaces).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Manufacturer(manufacturer).ManufacturerN(manufacturerN).ManufacturerId(manufacturerId).ManufacturerIdN(manufacturerIdN).Model(model).ModelEmpty(modelEmpty).ModelIc(modelIc).ModelIe(modelIe).ModelIew(modelIew).ModelIsw(modelIsw).ModelN(modelN).ModelNic(modelNic).ModelNie(modelNie).ModelNiew(modelNiew).ModelNisw(modelNisw).ModifiedByRequest(modifiedByRequest).Offset(offset).Ordering(ordering).PartNumber(partNumber).PartNumberEmpty(partNumberEmpty).PartNumberIc(partNumberIc).PartNumberIe(partNumberIe).PartNumberIew(partNumberIew).PartNumberIsw(partNumberIsw).PartNumberN(partNumberN).PartNumberNic(partNumberNic).PartNumberNie(partNumberNie).PartNumberNiew(partNumberNiew).PartNumberNisw(partNumberNisw).PassThroughPorts(passThroughPorts).PowerOutlets(powerOutlets).PowerPorts(powerPorts).Q(q).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).Weight(weight).WeightEmpty(weightEmpty).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).WeightUnit(weightUnit).WeightUnitN(weightUnitN).Execute() + resp, r, err := apiClient.DcimAPI.DcimModuleTypesList(context.Background()).Airflow(airflow).ConsolePorts(consolePorts).ConsoleServerPorts(consoleServerPorts).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Interfaces(interfaces).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Manufacturer(manufacturer).ManufacturerN(manufacturerN).ManufacturerId(manufacturerId).ManufacturerIdN(manufacturerIdN).Model(model).ModelEmpty(modelEmpty).ModelIc(modelIc).ModelIe(modelIe).ModelIew(modelIew).ModelIsw(modelIsw).ModelN(modelN).ModelNic(modelNic).ModelNie(modelNie).ModelNiew(modelNiew).ModelNisw(modelNisw).ModifiedByRequest(modifiedByRequest).Offset(offset).Ordering(ordering).PartNumber(partNumber).PartNumberEmpty(partNumberEmpty).PartNumberIc(partNumberIc).PartNumberIe(partNumberIe).PartNumberIew(partNumberIew).PartNumberIsw(partNumberIsw).PartNumberN(partNumberN).PartNumberNic(partNumberNic).PartNumberNie(partNumberNie).PartNumberNiew(partNumberNiew).PartNumberNisw(partNumberNisw).PassThroughPorts(passThroughPorts).PowerOutlets(powerOutlets).PowerPorts(powerPorts).Q(q).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).Weight(weight).WeightEmpty(weightEmpty).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).WeightUnit(weightUnit).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleTypesList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -19475,6 +19932,7 @@ Other parameters are passed through a pointer to a apiDcimModuleTypesListRequest Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **airflow** | [**DcimModuleTypesListAirflowParameter**](DcimModuleTypesListAirflowParameter.md) | * `front-to-rear` - Front to rear * `rear-to-front` - Rear to front * `left-to-right` - Left to right * `right-to-left` - Right to left * `side-to-rear` - Side to rear * `passive` - Passive | **consolePorts** | **bool** | Has console ports | **consoleServerPorts** | **bool** | Has console server ports | **created** | [**[]time.Time**](time.Time.md) | | @@ -19556,7 +20014,6 @@ Name | Type | Description | Notes **weightLte** | **[]float64** | | **weightN** | **[]float64** | | **weightUnit** | [**DcimDeviceTypesListWeightUnitParameter**](DcimDeviceTypesListWeightUnitParameter.md) | * `kg` - Kilograms * `g` - Grams * `lb` - Pounds * `oz` - Ounces | - **weightUnitN** | [**DcimDeviceTypesListWeightUnitParameter**](DcimDeviceTypesListWeightUnitParameter.md) | * `kg` - Kilograms * `g` - Grams * `lb` - Pounds * `oz` - Ounces | ### Return type @@ -19740,7 +20197,7 @@ import ( func main() { id := int32(56) // int32 | A unique integer value identifying this module type. - writableModuleTypeRequest := *openapiclient.NewWritableModuleTypeRequest(*openapiclient.NewManufacturerRequest("Name_example", "Slug_example"), "Model_example") // WritableModuleTypeRequest | + writableModuleTypeRequest := *openapiclient.NewWritableModuleTypeRequest(*openapiclient.NewBriefManufacturerRequest("Name_example", "Slug_example"), "Model_example") // WritableModuleTypeRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -19811,7 +20268,7 @@ import ( ) func main() { - moduleRequest := []openapiclient.ModuleRequest{*openapiclient.NewModuleRequest(*openapiclient.NewDeviceRequest(), *openapiclient.NewNestedModuleBayRequest("Name_example"))} // []ModuleRequest | + moduleRequest := []openapiclient.ModuleRequest{*openapiclient.NewModuleRequest(*openapiclient.NewBriefDeviceRequest(), *openapiclient.NewNestedModuleBayRequest("Name_example"), *openapiclient.NewBriefModuleTypeRequest(*openapiclient.NewBriefManufacturerRequest("Name_example", "Slug_example"), "Model_example"))} // []ModuleRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -19875,7 +20332,7 @@ import ( ) func main() { - moduleRequest := []openapiclient.ModuleRequest{*openapiclient.NewModuleRequest(*openapiclient.NewDeviceRequest(), *openapiclient.NewNestedModuleBayRequest("Name_example"))} // []ModuleRequest | + moduleRequest := []openapiclient.ModuleRequest{*openapiclient.NewModuleRequest(*openapiclient.NewBriefDeviceRequest(), *openapiclient.NewNestedModuleBayRequest("Name_example"), *openapiclient.NewBriefModuleTypeRequest(*openapiclient.NewBriefManufacturerRequest("Name_example", "Slug_example"), "Model_example"))} // []ModuleRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -19941,7 +20398,7 @@ import ( ) func main() { - moduleRequest := []openapiclient.ModuleRequest{*openapiclient.NewModuleRequest(*openapiclient.NewDeviceRequest(), *openapiclient.NewNestedModuleBayRequest("Name_example"))} // []ModuleRequest | + moduleRequest := []openapiclient.ModuleRequest{*openapiclient.NewModuleRequest(*openapiclient.NewBriefDeviceRequest(), *openapiclient.NewNestedModuleBayRequest("Name_example"), *openapiclient.NewBriefModuleTypeRequest(*openapiclient.NewBriefManufacturerRequest("Name_example", "Slug_example"), "Model_example"))} // []ModuleRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -20007,7 +20464,7 @@ import ( ) func main() { - writableModuleRequest := *openapiclient.NewWritableModuleRequest(*openapiclient.NewDeviceRequest(), int32(123), *openapiclient.NewModuleTypeRequest(*openapiclient.NewManufacturerRequest("Name_example", "Slug_example"), "Model_example")) // WritableModuleRequest | + writableModuleRequest := *openapiclient.NewWritableModuleRequest(*openapiclient.NewBriefDeviceRequest(), int32(123), *openapiclient.NewBriefModuleTypeRequest(*openapiclient.NewBriefManufacturerRequest("Name_example", "Slug_example"), "Model_example")) // WritableModuleRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -20122,7 +20579,7 @@ Name | Type | Description | Notes ## DcimModulesList -> PaginatedModuleList DcimModulesList(ctx).AssetTag(assetTag).AssetTagEmpty(assetTagEmpty).AssetTagIc(assetTagIc).AssetTagIe(assetTagIe).AssetTagIew(assetTagIew).AssetTagIsw(assetTagIsw).AssetTagN(assetTagN).AssetTagNic(assetTagNic).AssetTagNie(assetTagNie).AssetTagNiew(assetTagNiew).AssetTagNisw(assetTagNisw).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceId(deviceId).DeviceIdN(deviceIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Manufacturer(manufacturer).ManufacturerN(manufacturerN).ManufacturerId(manufacturerId).ManufacturerIdN(manufacturerIdN).ModifiedByRequest(modifiedByRequest).ModuleBayId(moduleBayId).ModuleBayIdN(moduleBayIdN).ModuleType(moduleType).ModuleTypeN(moduleTypeN).ModuleTypeId(moduleTypeId).ModuleTypeIdN(moduleTypeIdN).Offset(offset).Ordering(ordering).Q(q).Serial(serial).SerialEmpty(serialEmpty).SerialIc(serialIc).SerialIe(serialIe).SerialIew(serialIew).SerialIsw(serialIsw).SerialN(serialN).SerialNic(serialNic).SerialNie(serialNie).SerialNiew(serialNiew).SerialNisw(serialNisw).Status(status).StatusN(statusN).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).Execute() +> PaginatedModuleList DcimModulesList(ctx).AssetTag(assetTag).AssetTagEmpty(assetTagEmpty).AssetTagIc(assetTagIc).AssetTagIe(assetTagIe).AssetTagIew(assetTagIew).AssetTagIsw(assetTagIsw).AssetTagN(assetTagN).AssetTagNic(assetTagNic).AssetTagNie(assetTagNie).AssetTagNiew(assetTagNiew).AssetTagNisw(assetTagNisw).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceId(deviceId).DeviceIdN(deviceIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Manufacturer(manufacturer).ManufacturerN(manufacturerN).ManufacturerId(manufacturerId).ManufacturerIdN(manufacturerIdN).ModifiedByRequest(modifiedByRequest).ModuleBayId(moduleBayId).ModuleBayIdN(moduleBayIdN).ModuleType(moduleType).ModuleTypeN(moduleTypeN).ModuleTypeId(moduleTypeId).ModuleTypeIdN(moduleTypeIdN).Offset(offset).Ordering(ordering).Q(q).Serial(serial).SerialEmpty(serialEmpty).SerialIc(serialIc).SerialIe(serialIe).SerialIew(serialIew).SerialIsw(serialIsw).SerialN(serialN).SerialNic(serialNic).SerialNie(serialNie).SerialNiew(serialNiew).SerialNisw(serialNisw).Status(status).StatusEmpty(statusEmpty).StatusIc(statusIc).StatusIe(statusIe).StatusIew(statusIew).StatusIsw(statusIsw).StatusN(statusN).StatusNic(statusNic).StatusNie(statusNie).StatusNiew(statusNiew).StatusNisw(statusNisw).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).Execute() @@ -20194,8 +20651,8 @@ func main() { manufacturerId := []int32{int32(123)} // []int32 | Manufacturer (ID) (optional) manufacturerIdN := []int32{int32(123)} // []int32 | Manufacturer (ID) (optional) modifiedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) - moduleBayId := []int32{int32(123)} // []int32 | Module Bay (ID) (optional) - moduleBayIdN := []int32{int32(123)} // []int32 | Module Bay (ID) (optional) + moduleBayId := []string{"Inner_example"} // []string | (optional) + moduleBayIdN := []string{"Inner_example"} // []string | (optional) moduleType := []string{"Inner_example"} // []string | Module type (model) (optional) moduleTypeN := []string{"Inner_example"} // []string | Module type (model) (optional) moduleTypeId := []int32{int32(123)} // []int32 | Module type (ID) (optional) @@ -20215,14 +20672,23 @@ func main() { serialNiew := []string{"Inner_example"} // []string | (optional) serialNisw := []string{"Inner_example"} // []string | (optional) status := []string{"Inner_example"} // []string | (optional) - statusN := []string{"Inner_example"} // []string | (optional) + statusEmpty := true // bool | (optional) + statusIc := []openapiclient.DcimModulesListStatusIcParameterInner{openapiclient.dcim_modules_list_status__ic_parameter_inner("active")} // []DcimModulesListStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning (optional) + statusIe := []openapiclient.DcimModulesListStatusIcParameterInner{openapiclient.dcim_modules_list_status__ic_parameter_inner("active")} // []DcimModulesListStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning (optional) + statusIew := []openapiclient.DcimModulesListStatusIcParameterInner{openapiclient.dcim_modules_list_status__ic_parameter_inner("active")} // []DcimModulesListStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning (optional) + statusIsw := []openapiclient.DcimModulesListStatusIcParameterInner{openapiclient.dcim_modules_list_status__ic_parameter_inner("active")} // []DcimModulesListStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning (optional) + statusN := []openapiclient.DcimModulesListStatusIcParameterInner{openapiclient.dcim_modules_list_status__ic_parameter_inner("active")} // []DcimModulesListStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning (optional) + statusNic := []openapiclient.DcimModulesListStatusIcParameterInner{openapiclient.dcim_modules_list_status__ic_parameter_inner("active")} // []DcimModulesListStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning (optional) + statusNie := []openapiclient.DcimModulesListStatusIcParameterInner{openapiclient.dcim_modules_list_status__ic_parameter_inner("active")} // []DcimModulesListStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning (optional) + statusNiew := []openapiclient.DcimModulesListStatusIcParameterInner{openapiclient.dcim_modules_list_status__ic_parameter_inner("active")} // []DcimModulesListStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning (optional) + statusNisw := []openapiclient.DcimModulesListStatusIcParameterInner{openapiclient.dcim_modules_list_status__ic_parameter_inner("active")} // []DcimModulesListStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning (optional) tag := []string{"Inner_example"} // []string | (optional) tagN := []string{"Inner_example"} // []string | (optional) updatedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.DcimAPI.DcimModulesList(context.Background()).AssetTag(assetTag).AssetTagEmpty(assetTagEmpty).AssetTagIc(assetTagIc).AssetTagIe(assetTagIe).AssetTagIew(assetTagIew).AssetTagIsw(assetTagIsw).AssetTagN(assetTagN).AssetTagNic(assetTagNic).AssetTagNie(assetTagNie).AssetTagNiew(assetTagNiew).AssetTagNisw(assetTagNisw).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceId(deviceId).DeviceIdN(deviceIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Manufacturer(manufacturer).ManufacturerN(manufacturerN).ManufacturerId(manufacturerId).ManufacturerIdN(manufacturerIdN).ModifiedByRequest(modifiedByRequest).ModuleBayId(moduleBayId).ModuleBayIdN(moduleBayIdN).ModuleType(moduleType).ModuleTypeN(moduleTypeN).ModuleTypeId(moduleTypeId).ModuleTypeIdN(moduleTypeIdN).Offset(offset).Ordering(ordering).Q(q).Serial(serial).SerialEmpty(serialEmpty).SerialIc(serialIc).SerialIe(serialIe).SerialIew(serialIew).SerialIsw(serialIsw).SerialN(serialN).SerialNic(serialNic).SerialNie(serialNie).SerialNiew(serialNiew).SerialNisw(serialNisw).Status(status).StatusN(statusN).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).Execute() + resp, r, err := apiClient.DcimAPI.DcimModulesList(context.Background()).AssetTag(assetTag).AssetTagEmpty(assetTagEmpty).AssetTagIc(assetTagIc).AssetTagIe(assetTagIe).AssetTagIew(assetTagIew).AssetTagIsw(assetTagIsw).AssetTagN(assetTagN).AssetTagNic(assetTagNic).AssetTagNie(assetTagNie).AssetTagNiew(assetTagNiew).AssetTagNisw(assetTagNisw).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceId(deviceId).DeviceIdN(deviceIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Manufacturer(manufacturer).ManufacturerN(manufacturerN).ManufacturerId(manufacturerId).ManufacturerIdN(manufacturerIdN).ModifiedByRequest(modifiedByRequest).ModuleBayId(moduleBayId).ModuleBayIdN(moduleBayIdN).ModuleType(moduleType).ModuleTypeN(moduleTypeN).ModuleTypeId(moduleTypeId).ModuleTypeIdN(moduleTypeIdN).Offset(offset).Ordering(ordering).Q(q).Serial(serial).SerialEmpty(serialEmpty).SerialIc(serialIc).SerialIe(serialIe).SerialIew(serialIew).SerialIsw(serialIsw).SerialN(serialN).SerialNic(serialNic).SerialNie(serialNie).SerialNiew(serialNiew).SerialNisw(serialNisw).Status(status).StatusEmpty(statusEmpty).StatusIc(statusIc).StatusIe(statusIe).StatusIew(statusIew).StatusIsw(statusIsw).StatusN(statusN).StatusNic(statusNic).StatusNie(statusNie).StatusNiew(statusNiew).StatusNisw(statusNisw).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModulesList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -20295,8 +20761,8 @@ Name | Type | Description | Notes **manufacturerId** | **[]int32** | Manufacturer (ID) | **manufacturerIdN** | **[]int32** | Manufacturer (ID) | **modifiedByRequest** | **string** | | - **moduleBayId** | **[]int32** | Module Bay (ID) | - **moduleBayIdN** | **[]int32** | Module Bay (ID) | + **moduleBayId** | **[]string** | | + **moduleBayIdN** | **[]string** | | **moduleType** | **[]string** | Module type (model) | **moduleTypeN** | **[]string** | Module type (model) | **moduleTypeId** | **[]int32** | Module type (ID) | @@ -20316,7 +20782,16 @@ Name | Type | Description | Notes **serialNiew** | **[]string** | | **serialNisw** | **[]string** | | **status** | **[]string** | | - **statusN** | **[]string** | | + **statusEmpty** | **bool** | | + **statusIc** | [**[]DcimModulesListStatusIcParameterInner**](DcimModulesListStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning | + **statusIe** | [**[]DcimModulesListStatusIcParameterInner**](DcimModulesListStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning | + **statusIew** | [**[]DcimModulesListStatusIcParameterInner**](DcimModulesListStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning | + **statusIsw** | [**[]DcimModulesListStatusIcParameterInner**](DcimModulesListStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning | + **statusN** | [**[]DcimModulesListStatusIcParameterInner**](DcimModulesListStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning | + **statusNic** | [**[]DcimModulesListStatusIcParameterInner**](DcimModulesListStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning | + **statusNie** | [**[]DcimModulesListStatusIcParameterInner**](DcimModulesListStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning | + **statusNiew** | [**[]DcimModulesListStatusIcParameterInner**](DcimModulesListStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning | + **statusNisw** | [**[]DcimModulesListStatusIcParameterInner**](DcimModulesListStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning | **tag** | **[]string** | | **tagN** | **[]string** | | **updatedByRequest** | **string** | | @@ -20503,7 +20978,7 @@ import ( func main() { id := int32(56) // int32 | A unique integer value identifying this module. - writableModuleRequest := *openapiclient.NewWritableModuleRequest(*openapiclient.NewDeviceRequest(), int32(123), *openapiclient.NewModuleTypeRequest(*openapiclient.NewManufacturerRequest("Name_example", "Slug_example"), "Model_example")) // WritableModuleRequest | + writableModuleRequest := *openapiclient.NewWritableModuleRequest(*openapiclient.NewBriefDeviceRequest(), int32(123), *openapiclient.NewBriefModuleTypeRequest(*openapiclient.NewBriefManufacturerRequest("Name_example", "Slug_example"), "Model_example")) // WritableModuleRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -21323,7 +21798,7 @@ import ( ) func main() { - powerFeedRequest := []openapiclient.PowerFeedRequest{*openapiclient.NewPowerFeedRequest(*openapiclient.NewPowerPanelRequest("Name_example"), "Name_example")} // []PowerFeedRequest | + powerFeedRequest := []openapiclient.PowerFeedRequest{*openapiclient.NewPowerFeedRequest(*openapiclient.NewBriefPowerPanelRequest("Name_example"), "Name_example")} // []PowerFeedRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -21387,7 +21862,7 @@ import ( ) func main() { - powerFeedRequest := []openapiclient.PowerFeedRequest{*openapiclient.NewPowerFeedRequest(*openapiclient.NewPowerPanelRequest("Name_example"), "Name_example")} // []PowerFeedRequest | + powerFeedRequest := []openapiclient.PowerFeedRequest{*openapiclient.NewPowerFeedRequest(*openapiclient.NewBriefPowerPanelRequest("Name_example"), "Name_example")} // []PowerFeedRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -21453,7 +21928,7 @@ import ( ) func main() { - powerFeedRequest := []openapiclient.PowerFeedRequest{*openapiclient.NewPowerFeedRequest(*openapiclient.NewPowerPanelRequest("Name_example"), "Name_example")} // []PowerFeedRequest | + powerFeedRequest := []openapiclient.PowerFeedRequest{*openapiclient.NewPowerFeedRequest(*openapiclient.NewBriefPowerPanelRequest("Name_example"), "Name_example")} // []PowerFeedRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -21519,7 +21994,7 @@ import ( ) func main() { - writablePowerFeedRequest := *openapiclient.NewWritablePowerFeedRequest(*openapiclient.NewPowerPanelRequest("Name_example"), "Name_example") // WritablePowerFeedRequest | + writablePowerFeedRequest := *openapiclient.NewWritablePowerFeedRequest(*openapiclient.NewBriefPowerPanelRequest("Name_example"), "Name_example") // WritablePowerFeedRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -21634,7 +22109,7 @@ Name | Type | Description | Notes ## DcimPowerFeedsList -> PaginatedPowerFeedList DcimPowerFeedsList(ctx).Amperage(amperage).AmperageEmpty(amperageEmpty).AmperageGt(amperageGt).AmperageGte(amperageGte).AmperageLt(amperageLt).AmperageLte(amperageLte).AmperageN(amperageN).AvailablePower(availablePower).AvailablePowerEmpty(availablePowerEmpty).AvailablePowerGt(availablePowerGt).AvailablePowerGte(availablePowerGte).AvailablePowerLt(availablePowerLt).AvailablePowerLte(availablePowerLte).AvailablePowerN(availablePowerN).CableEnd(cableEnd).CableEndN(cableEndN).CableId(cableId).CableIdN(cableIdN).Cabled(cabled).Connected(connected).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).MarkConnected(markConnected).MaxUtilization(maxUtilization).MaxUtilizationEmpty(maxUtilizationEmpty).MaxUtilizationGt(maxUtilizationGt).MaxUtilizationGte(maxUtilizationGte).MaxUtilizationLt(maxUtilizationLt).MaxUtilizationLte(maxUtilizationLte).MaxUtilizationN(maxUtilizationN).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Occupied(occupied).Offset(offset).Ordering(ordering).Phase(phase).PhaseN(phaseN).PowerPanelId(powerPanelId).PowerPanelIdN(powerPanelIdN).Q(q).RackId(rackId).RackIdN(rackIdN).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Status(status).StatusN(statusN).Supply(supply).SupplyN(supplyN).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).Type_(type_).TypeN(typeN).UpdatedByRequest(updatedByRequest).Voltage(voltage).VoltageEmpty(voltageEmpty).VoltageGt(voltageGt).VoltageGte(voltageGte).VoltageLt(voltageLt).VoltageLte(voltageLte).VoltageN(voltageN).Execute() +> PaginatedPowerFeedList DcimPowerFeedsList(ctx).Amperage(amperage).AmperageEmpty(amperageEmpty).AmperageGt(amperageGt).AmperageGte(amperageGte).AmperageLt(amperageLt).AmperageLte(amperageLte).AmperageN(amperageN).AvailablePower(availablePower).AvailablePowerEmpty(availablePowerEmpty).AvailablePowerGt(availablePowerGt).AvailablePowerGte(availablePowerGte).AvailablePowerLt(availablePowerLt).AvailablePowerLte(availablePowerLte).AvailablePowerN(availablePowerN).CableEnd(cableEnd).CableId(cableId).CableIdN(cableIdN).Cabled(cabled).Connected(connected).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).MarkConnected(markConnected).MaxUtilization(maxUtilization).MaxUtilizationEmpty(maxUtilizationEmpty).MaxUtilizationGt(maxUtilizationGt).MaxUtilizationGte(maxUtilizationGte).MaxUtilizationLt(maxUtilizationLt).MaxUtilizationLte(maxUtilizationLte).MaxUtilizationN(maxUtilizationN).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Occupied(occupied).Offset(offset).Ordering(ordering).Phase(phase).PowerPanelId(powerPanelId).PowerPanelIdN(powerPanelIdN).Q(q).RackId(rackId).RackIdN(rackIdN).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Status(status).StatusEmpty(statusEmpty).StatusIc(statusIc).StatusIe(statusIe).StatusIew(statusIew).StatusIsw(statusIsw).StatusN(statusN).StatusNic(statusNic).StatusNie(statusNie).StatusNiew(statusNiew).StatusNisw(statusNisw).Supply(supply).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).Type_(type_).UpdatedByRequest(updatedByRequest).Voltage(voltage).VoltageEmpty(voltageEmpty).VoltageGt(voltageGt).VoltageGte(voltageGte).VoltageLt(voltageLt).VoltageLte(voltageLte).VoltageN(voltageN).Execute() @@ -21669,7 +22144,6 @@ func main() { availablePowerLte := []int32{int32(123)} // []int32 | (optional) availablePowerN := []int32{int32(123)} // []int32 | (optional) cableEnd := openapiclient.circuits_circuit_terminations_list_cable_end_parameter("A") // CircuitsCircuitTerminationsListCableEndParameter | * `A` - A * `B` - B (optional) - cableEndN := openapiclient.circuits_circuit_terminations_list_cable_end_parameter("A") // CircuitsCircuitTerminationsListCableEndParameter | * `A` - A * `B` - B (optional) cableId := []*int32{int32(123)} // []*int32 | Cable (ID) (optional) cableIdN := []*int32{int32(123)} // []*int32 | Cable (ID) (optional) cabled := true // bool | (optional) @@ -21732,40 +22206,46 @@ func main() { offset := int32(56) // int32 | The initial index from which to return the results. (optional) ordering := "ordering_example" // string | Which field to use when ordering the results. (optional) phase := openapiclient.dcim_power_feeds_list_phase_parameter("single-phase") // DcimPowerFeedsListPhaseParameter | * `single-phase` - Single phase * `three-phase` - Three-phase (optional) - phaseN := openapiclient.dcim_power_feeds_list_phase_parameter("single-phase") // DcimPowerFeedsListPhaseParameter | * `single-phase` - Single phase * `three-phase` - Three-phase (optional) powerPanelId := []int32{int32(123)} // []int32 | Power panel (ID) (optional) powerPanelIdN := []int32{int32(123)} // []int32 | Power panel (ID) (optional) q := "q_example" // string | Search (optional) rackId := []int32{int32(123)} // []int32 | Rack (ID) (optional) rackIdN := []int32{int32(123)} // []int32 | Rack (ID) (optional) - region := []int32{int32(123)} // []int32 | Region (slug) (optional) - regionN := []int32{int32(123)} // []int32 | Region (slug) (optional) - regionId := []int32{int32(123)} // []int32 | Region (ID) (optional) - regionIdN := []int32{int32(123)} // []int32 | Region (ID) (optional) + region := []string{"Inner_example"} // []string | (optional) + regionN := []string{"Inner_example"} // []string | (optional) + regionId := []string{"Inner_example"} // []string | (optional) + regionIdN := []string{"Inner_example"} // []string | (optional) site := []string{"Inner_example"} // []string | Site name (slug) (optional) siteN := []string{"Inner_example"} // []string | Site name (slug) (optional) - siteGroup := []int32{int32(123)} // []int32 | Site group (slug) (optional) - siteGroupN := []int32{int32(123)} // []int32 | Site group (slug) (optional) - siteGroupId := []int32{int32(123)} // []int32 | Site group (ID) (optional) - siteGroupIdN := []int32{int32(123)} // []int32 | Site group (ID) (optional) + siteGroup := []string{"Inner_example"} // []string | (optional) + siteGroupN := []string{"Inner_example"} // []string | (optional) + siteGroupId := []string{"Inner_example"} // []string | (optional) + siteGroupIdN := []string{"Inner_example"} // []string | (optional) siteId := []int32{int32(123)} // []int32 | Site (ID) (optional) siteIdN := []int32{int32(123)} // []int32 | Site (ID) (optional) status := []string{"Inner_example"} // []string | (optional) - statusN := []string{"Inner_example"} // []string | (optional) + statusEmpty := true // bool | (optional) + statusIc := []openapiclient.DcimPowerFeedsListStatusIcParameterInner{openapiclient.dcim_power_feeds_list_status__ic_parameter_inner("active")} // []DcimPowerFeedsListStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `failed` - Failed (optional) + statusIe := []openapiclient.DcimPowerFeedsListStatusIcParameterInner{openapiclient.dcim_power_feeds_list_status__ic_parameter_inner("active")} // []DcimPowerFeedsListStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `failed` - Failed (optional) + statusIew := []openapiclient.DcimPowerFeedsListStatusIcParameterInner{openapiclient.dcim_power_feeds_list_status__ic_parameter_inner("active")} // []DcimPowerFeedsListStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `failed` - Failed (optional) + statusIsw := []openapiclient.DcimPowerFeedsListStatusIcParameterInner{openapiclient.dcim_power_feeds_list_status__ic_parameter_inner("active")} // []DcimPowerFeedsListStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `failed` - Failed (optional) + statusN := []openapiclient.DcimPowerFeedsListStatusIcParameterInner{openapiclient.dcim_power_feeds_list_status__ic_parameter_inner("active")} // []DcimPowerFeedsListStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `failed` - Failed (optional) + statusNic := []openapiclient.DcimPowerFeedsListStatusIcParameterInner{openapiclient.dcim_power_feeds_list_status__ic_parameter_inner("active")} // []DcimPowerFeedsListStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `failed` - Failed (optional) + statusNie := []openapiclient.DcimPowerFeedsListStatusIcParameterInner{openapiclient.dcim_power_feeds_list_status__ic_parameter_inner("active")} // []DcimPowerFeedsListStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `failed` - Failed (optional) + statusNiew := []openapiclient.DcimPowerFeedsListStatusIcParameterInner{openapiclient.dcim_power_feeds_list_status__ic_parameter_inner("active")} // []DcimPowerFeedsListStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `failed` - Failed (optional) + statusNisw := []openapiclient.DcimPowerFeedsListStatusIcParameterInner{openapiclient.dcim_power_feeds_list_status__ic_parameter_inner("active")} // []DcimPowerFeedsListStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `failed` - Failed (optional) supply := openapiclient.dcim_power_feeds_list_supply_parameter("ac") // DcimPowerFeedsListSupplyParameter | * `ac` - AC * `dc` - DC (optional) - supplyN := openapiclient.dcim_power_feeds_list_supply_parameter("ac") // DcimPowerFeedsListSupplyParameter | * `ac` - AC * `dc` - DC (optional) tag := []string{"Inner_example"} // []string | (optional) tagN := []string{"Inner_example"} // []string | (optional) tenant := []string{"Inner_example"} // []string | Tenant (slug) (optional) tenantN := []string{"Inner_example"} // []string | Tenant (slug) (optional) - tenantGroup := []int32{int32(123)} // []int32 | Tenant Group (slug) (optional) - tenantGroupN := []int32{int32(123)} // []int32 | Tenant Group (slug) (optional) - tenantGroupId := []int32{int32(123)} // []int32 | Tenant Group (ID) (optional) - tenantGroupIdN := []int32{int32(123)} // []int32 | Tenant Group (ID) (optional) + tenantGroup := []string{"Inner_example"} // []string | (optional) + tenantGroupN := []string{"Inner_example"} // []string | (optional) + tenantGroupId := []string{"Inner_example"} // []string | (optional) + tenantGroupIdN := []string{"Inner_example"} // []string | (optional) tenantId := []*int32{int32(123)} // []*int32 | Tenant (ID) (optional) tenantIdN := []*int32{int32(123)} // []*int32 | Tenant (ID) (optional) type_ := openapiclient.dcim_power_feeds_list_type_parameter("primary") // DcimPowerFeedsListTypeParameter | * `primary` - Primary * `redundant` - Redundant (optional) - typeN := openapiclient.dcim_power_feeds_list_type_parameter("primary") // DcimPowerFeedsListTypeParameter | * `primary` - Primary * `redundant` - Redundant (optional) updatedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) voltage := []int32{int32(123)} // []int32 | (optional) voltageEmpty := true // bool | (optional) @@ -21777,7 +22257,7 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.DcimAPI.DcimPowerFeedsList(context.Background()).Amperage(amperage).AmperageEmpty(amperageEmpty).AmperageGt(amperageGt).AmperageGte(amperageGte).AmperageLt(amperageLt).AmperageLte(amperageLte).AmperageN(amperageN).AvailablePower(availablePower).AvailablePowerEmpty(availablePowerEmpty).AvailablePowerGt(availablePowerGt).AvailablePowerGte(availablePowerGte).AvailablePowerLt(availablePowerLt).AvailablePowerLte(availablePowerLte).AvailablePowerN(availablePowerN).CableEnd(cableEnd).CableEndN(cableEndN).CableId(cableId).CableIdN(cableIdN).Cabled(cabled).Connected(connected).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).MarkConnected(markConnected).MaxUtilization(maxUtilization).MaxUtilizationEmpty(maxUtilizationEmpty).MaxUtilizationGt(maxUtilizationGt).MaxUtilizationGte(maxUtilizationGte).MaxUtilizationLt(maxUtilizationLt).MaxUtilizationLte(maxUtilizationLte).MaxUtilizationN(maxUtilizationN).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Occupied(occupied).Offset(offset).Ordering(ordering).Phase(phase).PhaseN(phaseN).PowerPanelId(powerPanelId).PowerPanelIdN(powerPanelIdN).Q(q).RackId(rackId).RackIdN(rackIdN).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Status(status).StatusN(statusN).Supply(supply).SupplyN(supplyN).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).Type_(type_).TypeN(typeN).UpdatedByRequest(updatedByRequest).Voltage(voltage).VoltageEmpty(voltageEmpty).VoltageGt(voltageGt).VoltageGte(voltageGte).VoltageLt(voltageLt).VoltageLte(voltageLte).VoltageN(voltageN).Execute() + resp, r, err := apiClient.DcimAPI.DcimPowerFeedsList(context.Background()).Amperage(amperage).AmperageEmpty(amperageEmpty).AmperageGt(amperageGt).AmperageGte(amperageGte).AmperageLt(amperageLt).AmperageLte(amperageLte).AmperageN(amperageN).AvailablePower(availablePower).AvailablePowerEmpty(availablePowerEmpty).AvailablePowerGt(availablePowerGt).AvailablePowerGte(availablePowerGte).AvailablePowerLt(availablePowerLt).AvailablePowerLte(availablePowerLte).AvailablePowerN(availablePowerN).CableEnd(cableEnd).CableId(cableId).CableIdN(cableIdN).Cabled(cabled).Connected(connected).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).MarkConnected(markConnected).MaxUtilization(maxUtilization).MaxUtilizationEmpty(maxUtilizationEmpty).MaxUtilizationGt(maxUtilizationGt).MaxUtilizationGte(maxUtilizationGte).MaxUtilizationLt(maxUtilizationLt).MaxUtilizationLte(maxUtilizationLte).MaxUtilizationN(maxUtilizationN).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Occupied(occupied).Offset(offset).Ordering(ordering).Phase(phase).PowerPanelId(powerPanelId).PowerPanelIdN(powerPanelIdN).Q(q).RackId(rackId).RackIdN(rackIdN).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Status(status).StatusEmpty(statusEmpty).StatusIc(statusIc).StatusIe(statusIe).StatusIew(statusIew).StatusIsw(statusIsw).StatusN(statusN).StatusNic(statusNic).StatusNie(statusNie).StatusNiew(statusNiew).StatusNisw(statusNisw).Supply(supply).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).Type_(type_).UpdatedByRequest(updatedByRequest).Voltage(voltage).VoltageEmpty(voltageEmpty).VoltageGt(voltageGt).VoltageGte(voltageGte).VoltageLt(voltageLt).VoltageLte(voltageLte).VoltageN(voltageN).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerFeedsList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -21813,7 +22293,6 @@ Name | Type | Description | Notes **availablePowerLte** | **[]int32** | | **availablePowerN** | **[]int32** | | **cableEnd** | [**CircuitsCircuitTerminationsListCableEndParameter**](CircuitsCircuitTerminationsListCableEndParameter.md) | * `A` - A * `B` - B | - **cableEndN** | [**CircuitsCircuitTerminationsListCableEndParameter**](CircuitsCircuitTerminationsListCableEndParameter.md) | * `A` - A * `B` - B | **cableId** | **[]int32** | Cable (ID) | **cableIdN** | **[]int32** | Cable (ID) | **cabled** | **bool** | | @@ -21876,40 +22355,46 @@ Name | Type | Description | Notes **offset** | **int32** | The initial index from which to return the results. | **ordering** | **string** | Which field to use when ordering the results. | **phase** | [**DcimPowerFeedsListPhaseParameter**](DcimPowerFeedsListPhaseParameter.md) | * `single-phase` - Single phase * `three-phase` - Three-phase | - **phaseN** | [**DcimPowerFeedsListPhaseParameter**](DcimPowerFeedsListPhaseParameter.md) | * `single-phase` - Single phase * `three-phase` - Three-phase | **powerPanelId** | **[]int32** | Power panel (ID) | **powerPanelIdN** | **[]int32** | Power panel (ID) | **q** | **string** | Search | **rackId** | **[]int32** | Rack (ID) | **rackIdN** | **[]int32** | Rack (ID) | - **region** | **[]int32** | Region (slug) | - **regionN** | **[]int32** | Region (slug) | - **regionId** | **[]int32** | Region (ID) | - **regionIdN** | **[]int32** | Region (ID) | + **region** | **[]string** | | + **regionN** | **[]string** | | + **regionId** | **[]string** | | + **regionIdN** | **[]string** | | **site** | **[]string** | Site name (slug) | **siteN** | **[]string** | Site name (slug) | - **siteGroup** | **[]int32** | Site group (slug) | - **siteGroupN** | **[]int32** | Site group (slug) | - **siteGroupId** | **[]int32** | Site group (ID) | - **siteGroupIdN** | **[]int32** | Site group (ID) | + **siteGroup** | **[]string** | | + **siteGroupN** | **[]string** | | + **siteGroupId** | **[]string** | | + **siteGroupIdN** | **[]string** | | **siteId** | **[]int32** | Site (ID) | **siteIdN** | **[]int32** | Site (ID) | **status** | **[]string** | | - **statusN** | **[]string** | | + **statusEmpty** | **bool** | | + **statusIc** | [**[]DcimPowerFeedsListStatusIcParameterInner**](DcimPowerFeedsListStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `failed` - Failed | + **statusIe** | [**[]DcimPowerFeedsListStatusIcParameterInner**](DcimPowerFeedsListStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `failed` - Failed | + **statusIew** | [**[]DcimPowerFeedsListStatusIcParameterInner**](DcimPowerFeedsListStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `failed` - Failed | + **statusIsw** | [**[]DcimPowerFeedsListStatusIcParameterInner**](DcimPowerFeedsListStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `failed` - Failed | + **statusN** | [**[]DcimPowerFeedsListStatusIcParameterInner**](DcimPowerFeedsListStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `failed` - Failed | + **statusNic** | [**[]DcimPowerFeedsListStatusIcParameterInner**](DcimPowerFeedsListStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `failed` - Failed | + **statusNie** | [**[]DcimPowerFeedsListStatusIcParameterInner**](DcimPowerFeedsListStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `failed` - Failed | + **statusNiew** | [**[]DcimPowerFeedsListStatusIcParameterInner**](DcimPowerFeedsListStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `failed` - Failed | + **statusNisw** | [**[]DcimPowerFeedsListStatusIcParameterInner**](DcimPowerFeedsListStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `failed` - Failed | **supply** | [**DcimPowerFeedsListSupplyParameter**](DcimPowerFeedsListSupplyParameter.md) | * `ac` - AC * `dc` - DC | - **supplyN** | [**DcimPowerFeedsListSupplyParameter**](DcimPowerFeedsListSupplyParameter.md) | * `ac` - AC * `dc` - DC | **tag** | **[]string** | | **tagN** | **[]string** | | **tenant** | **[]string** | Tenant (slug) | **tenantN** | **[]string** | Tenant (slug) | - **tenantGroup** | **[]int32** | Tenant Group (slug) | - **tenantGroupN** | **[]int32** | Tenant Group (slug) | - **tenantGroupId** | **[]int32** | Tenant Group (ID) | - **tenantGroupIdN** | **[]int32** | Tenant Group (ID) | + **tenantGroup** | **[]string** | | + **tenantGroupN** | **[]string** | | + **tenantGroupId** | **[]string** | | + **tenantGroupIdN** | **[]string** | | **tenantId** | **[]int32** | Tenant (ID) | **tenantIdN** | **[]int32** | Tenant (ID) | **type_** | [**DcimPowerFeedsListTypeParameter**](DcimPowerFeedsListTypeParameter.md) | * `primary` - Primary * `redundant` - Redundant | - **typeN** | [**DcimPowerFeedsListTypeParameter**](DcimPowerFeedsListTypeParameter.md) | * `primary` - Primary * `redundant` - Redundant | **updatedByRequest** | **string** | | **voltage** | **[]int32** | | **voltageEmpty** | **bool** | | @@ -22171,7 +22656,7 @@ import ( func main() { id := int32(56) // int32 | A unique integer value identifying this power feed. - writablePowerFeedRequest := *openapiclient.NewWritablePowerFeedRequest(*openapiclient.NewPowerPanelRequest("Name_example"), "Name_example") // WritablePowerFeedRequest | + writablePowerFeedRequest := *openapiclient.NewWritablePowerFeedRequest(*openapiclient.NewBriefPowerPanelRequest("Name_example"), "Name_example") // WritablePowerFeedRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -22553,7 +23038,7 @@ Name | Type | Description | Notes ## DcimPowerOutletTemplatesList -> PaginatedPowerOutletTemplateList DcimPowerOutletTemplatesList(ctx).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).DevicetypeId(devicetypeId).DevicetypeIdN(devicetypeIdN).FeedLeg(feedLeg).FeedLegN(feedLegN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).ModuleTypeId(moduleTypeId).ModuleTypeIdN(moduleTypeIdN).ModuletypeId(moduletypeId).ModuletypeIdN(moduletypeIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).PowerPortId(powerPortId).PowerPortIdN(powerPortIdN).Q(q).Type_(type_).TypeN(typeN).UpdatedByRequest(updatedByRequest).Execute() +> PaginatedPowerOutletTemplateList DcimPowerOutletTemplatesList(ctx).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).FeedLeg(feedLeg).FeedLegEmpty(feedLegEmpty).FeedLegIc(feedLegIc).FeedLegIe(feedLegIe).FeedLegIew(feedLegIew).FeedLegIsw(feedLegIsw).FeedLegN(feedLegN).FeedLegNic(feedLegNic).FeedLegNie(feedLegNie).FeedLegNiew(feedLegNiew).FeedLegNisw(feedLegNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).ModuleTypeId(moduleTypeId).ModuleTypeIdN(moduleTypeIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).PowerPortId(powerPortId).PowerPortIdN(powerPortIdN).Q(q).Type_(type_).UpdatedByRequest(updatedByRequest).Execute() @@ -22594,10 +23079,17 @@ func main() { descriptionNisw := []string{"Inner_example"} // []string | (optional) deviceTypeId := []*int32{int32(123)} // []*int32 | Device type (ID) (optional) deviceTypeIdN := []*int32{int32(123)} // []*int32 | Device type (ID) (optional) - devicetypeId := []*int32{int32(123)} // []*int32 | Device type (ID) (optional) - devicetypeIdN := []*int32{int32(123)} // []*int32 | Device type (ID) (optional) feedLeg := []string{"Inner_example"} // []string | Phase (for three-phase feeds) (optional) - feedLegN := []string{"Inner_example"} // []string | Phase (for three-phase feeds) (optional) + feedLegEmpty := true // bool | (optional) + feedLegIc := []openapiclient.DcimPowerOutletTemplatesListFeedLegIcParameterInner{openapiclient.dcim_power_outlet_templates_list_feed_leg__ic_parameter_inner("")} // []DcimPowerOutletTemplatesListFeedLegIcParameterInner | Phase (for three-phase feeds) * `A` - A * `B` - B * `C` - C (optional) + feedLegIe := []openapiclient.DcimPowerOutletTemplatesListFeedLegIcParameterInner{openapiclient.dcim_power_outlet_templates_list_feed_leg__ic_parameter_inner("")} // []DcimPowerOutletTemplatesListFeedLegIcParameterInner | Phase (for three-phase feeds) * `A` - A * `B` - B * `C` - C (optional) + feedLegIew := []openapiclient.DcimPowerOutletTemplatesListFeedLegIcParameterInner{openapiclient.dcim_power_outlet_templates_list_feed_leg__ic_parameter_inner("")} // []DcimPowerOutletTemplatesListFeedLegIcParameterInner | Phase (for three-phase feeds) * `A` - A * `B` - B * `C` - C (optional) + feedLegIsw := []openapiclient.DcimPowerOutletTemplatesListFeedLegIcParameterInner{openapiclient.dcim_power_outlet_templates_list_feed_leg__ic_parameter_inner("")} // []DcimPowerOutletTemplatesListFeedLegIcParameterInner | Phase (for three-phase feeds) * `A` - A * `B` - B * `C` - C (optional) + feedLegN := []openapiclient.DcimPowerOutletTemplatesListFeedLegIcParameterInner{openapiclient.dcim_power_outlet_templates_list_feed_leg__ic_parameter_inner("")} // []DcimPowerOutletTemplatesListFeedLegIcParameterInner | Phase (for three-phase feeds) * `A` - A * `B` - B * `C` - C (optional) + feedLegNic := []openapiclient.DcimPowerOutletTemplatesListFeedLegIcParameterInner{openapiclient.dcim_power_outlet_templates_list_feed_leg__ic_parameter_inner("")} // []DcimPowerOutletTemplatesListFeedLegIcParameterInner | Phase (for three-phase feeds) * `A` - A * `B` - B * `C` - C (optional) + feedLegNie := []openapiclient.DcimPowerOutletTemplatesListFeedLegIcParameterInner{openapiclient.dcim_power_outlet_templates_list_feed_leg__ic_parameter_inner("")} // []DcimPowerOutletTemplatesListFeedLegIcParameterInner | Phase (for three-phase feeds) * `A` - A * `B` - B * `C` - C (optional) + feedLegNiew := []openapiclient.DcimPowerOutletTemplatesListFeedLegIcParameterInner{openapiclient.dcim_power_outlet_templates_list_feed_leg__ic_parameter_inner("")} // []DcimPowerOutletTemplatesListFeedLegIcParameterInner | Phase (for three-phase feeds) * `A` - A * `B` - B * `C` - C (optional) + feedLegNisw := []openapiclient.DcimPowerOutletTemplatesListFeedLegIcParameterInner{openapiclient.dcim_power_outlet_templates_list_feed_leg__ic_parameter_inner("")} // []DcimPowerOutletTemplatesListFeedLegIcParameterInner | Phase (for three-phase feeds) * `A` - A * `B` - B * `C` - C (optional) id := []int32{int32(123)} // []int32 | (optional) idEmpty := true // bool | (optional) idGt := []int32{int32(123)} // []int32 | (optional) @@ -22627,8 +23119,6 @@ func main() { modifiedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) moduleTypeId := []*int32{int32(123)} // []*int32 | Module type (ID) (optional) moduleTypeIdN := []*int32{int32(123)} // []*int32 | Module type (ID) (optional) - moduletypeId := []*int32{int32(123)} // []*int32 | Module type (ID) (optional) - moduletypeIdN := []*int32{int32(123)} // []*int32 | Module type (ID) (optional) name := []string{"Inner_example"} // []string | (optional) nameEmpty := true // bool | (optional) nameIc := []string{"Inner_example"} // []string | (optional) @@ -22645,13 +23135,12 @@ func main() { powerPortId := []*int32{int32(123)} // []*int32 | Power port (ID) (optional) powerPortIdN := []*int32{int32(123)} // []*int32 | Power port (ID) (optional) q := "q_example" // string | Search (optional) - type_ := openapiclient.dcim_power_outlet_templates_list_type_parameter("California Style") // DcimPowerOutletTemplatesListTypeParameter | * `IEC 60320` - [('iec-60320-c5', 'C5'), ('iec-60320-c7', 'C7'), ('iec-60320-c13', 'C13'), ('iec-60320-c15', 'C15'), ('iec-60320-c19', 'C19'), ('iec-60320-c21', 'C21')] * `IEC 60309` - [('iec-60309-p-n-e-4h', 'P+N+E 4H'), ('iec-60309-p-n-e-6h', 'P+N+E 6H'), ('iec-60309-p-n-e-9h', 'P+N+E 9H'), ('iec-60309-2p-e-4h', '2P+E 4H'), ('iec-60309-2p-e-6h', '2P+E 6H'), ('iec-60309-2p-e-9h', '2P+E 9H'), ('iec-60309-3p-e-4h', '3P+E 4H'), ('iec-60309-3p-e-6h', '3P+E 6H'), ('iec-60309-3p-e-9h', '3P+E 9H'), ('iec-60309-3p-n-e-4h', '3P+N+E 4H'), ('iec-60309-3p-n-e-6h', '3P+N+E 6H'), ('iec-60309-3p-n-e-9h', '3P+N+E 9H')] * `IEC 60906-1` - [('iec-60906-1', 'IEC 60906-1'), ('nbr-14136-10a', '2P+T 10A (NBR 14136)'), ('nbr-14136-20a', '2P+T 20A (NBR 14136)')] * `NEMA (Non-locking)` - [('nema-1-15r', 'NEMA 1-15R'), ('nema-5-15r', 'NEMA 5-15R'), ('nema-5-20r', 'NEMA 5-20R'), ('nema-5-30r', 'NEMA 5-30R'), ('nema-5-50r', 'NEMA 5-50R'), ('nema-6-15r', 'NEMA 6-15R'), ('nema-6-20r', 'NEMA 6-20R'), ('nema-6-30r', 'NEMA 6-30R'), ('nema-6-50r', 'NEMA 6-50R'), ('nema-10-30r', 'NEMA 10-30R'), ('nema-10-50r', 'NEMA 10-50R'), ('nema-14-20r', 'NEMA 14-20R'), ('nema-14-30r', 'NEMA 14-30R'), ('nema-14-50r', 'NEMA 14-50R'), ('nema-14-60r', 'NEMA 14-60R'), ('nema-15-15r', 'NEMA 15-15R'), ('nema-15-20r', 'NEMA 15-20R'), ('nema-15-30r', 'NEMA 15-30R'), ('nema-15-50r', 'NEMA 15-50R'), ('nema-15-60r', 'NEMA 15-60R')] * `NEMA (Locking)` - [('nema-l1-15r', 'NEMA L1-15R'), ('nema-l5-15r', 'NEMA L5-15R'), ('nema-l5-20r', 'NEMA L5-20R'), ('nema-l5-30r', 'NEMA L5-30R'), ('nema-l5-50r', 'NEMA L5-50R'), ('nema-l6-15r', 'NEMA L6-15R'), ('nema-l6-20r', 'NEMA L6-20R'), ('nema-l6-30r', 'NEMA L6-30R'), ('nema-l6-50r', 'NEMA L6-50R'), ('nema-l10-30r', 'NEMA L10-30R'), ('nema-l14-20r', 'NEMA L14-20R'), ('nema-l14-30r', 'NEMA L14-30R'), ('nema-l14-50r', 'NEMA L14-50R'), ('nema-l14-60r', 'NEMA L14-60R'), ('nema-l15-20r', 'NEMA L15-20R'), ('nema-l15-30r', 'NEMA L15-30R'), ('nema-l15-50r', 'NEMA L15-50R'), ('nema-l15-60r', 'NEMA L15-60R'), ('nema-l21-20r', 'NEMA L21-20R'), ('nema-l21-30r', 'NEMA L21-30R'), ('nema-l22-30r', 'NEMA L22-30R')] * `California Style` - [('CS6360C', 'CS6360C'), ('CS6364C', 'CS6364C'), ('CS8164C', 'CS8164C'), ('CS8264C', 'CS8264C'), ('CS8364C', 'CS8364C'), ('CS8464C', 'CS8464C')] * `ITA/International` - [('ita-e', 'ITA Type E (CEE 7/5)'), ('ita-f', 'ITA Type F (CEE 7/3)'), ('ita-g', 'ITA Type G (BS 1363)'), ('ita-h', 'ITA Type H'), ('ita-i', 'ITA Type I'), ('ita-j', 'ITA Type J'), ('ita-k', 'ITA Type K'), ('ita-l', 'ITA Type L (CEI 23-50)'), ('ita-m', 'ITA Type M (BS 546)'), ('ita-n', 'ITA Type N'), ('ita-o', 'ITA Type O'), ('ita-multistandard', 'ITA Multistandard')] * `USB` - [('usb-a', 'USB Type A'), ('usb-micro-b', 'USB Micro B'), ('usb-c', 'USB Type C')] * `Molex` - [('molex-micro-fit-1x2', 'Molex Micro-Fit 1x2'), ('molex-micro-fit-2x2', 'Molex Micro-Fit 2x2'), ('molex-micro-fit-2x4', 'Molex Micro-Fit 2x4')] * `DC` - [('dc-terminal', 'DC Terminal')] * `Proprietary` - [('hdot-cx', 'HDOT Cx'), ('saf-d-grid', 'Saf-D-Grid'), ('neutrik-powercon-20a', 'Neutrik powerCON (20A)'), ('neutrik-powercon-32a', 'Neutrik powerCON (32A)'), ('neutrik-powercon-true1', 'Neutrik powerCON TRUE1'), ('neutrik-powercon-true1-top', 'Neutrik powerCON TRUE1 TOP'), ('ubiquiti-smartpower', 'Ubiquiti SmartPower')] * `Other` - [('hardwired', 'Hardwired'), ('other', 'Other')] (optional) - typeN := openapiclient.dcim_power_outlet_templates_list_type_parameter("California Style") // DcimPowerOutletTemplatesListTypeParameter | * `IEC 60320` - [('iec-60320-c5', 'C5'), ('iec-60320-c7', 'C7'), ('iec-60320-c13', 'C13'), ('iec-60320-c15', 'C15'), ('iec-60320-c19', 'C19'), ('iec-60320-c21', 'C21')] * `IEC 60309` - [('iec-60309-p-n-e-4h', 'P+N+E 4H'), ('iec-60309-p-n-e-6h', 'P+N+E 6H'), ('iec-60309-p-n-e-9h', 'P+N+E 9H'), ('iec-60309-2p-e-4h', '2P+E 4H'), ('iec-60309-2p-e-6h', '2P+E 6H'), ('iec-60309-2p-e-9h', '2P+E 9H'), ('iec-60309-3p-e-4h', '3P+E 4H'), ('iec-60309-3p-e-6h', '3P+E 6H'), ('iec-60309-3p-e-9h', '3P+E 9H'), ('iec-60309-3p-n-e-4h', '3P+N+E 4H'), ('iec-60309-3p-n-e-6h', '3P+N+E 6H'), ('iec-60309-3p-n-e-9h', '3P+N+E 9H')] * `IEC 60906-1` - [('iec-60906-1', 'IEC 60906-1'), ('nbr-14136-10a', '2P+T 10A (NBR 14136)'), ('nbr-14136-20a', '2P+T 20A (NBR 14136)')] * `NEMA (Non-locking)` - [('nema-1-15r', 'NEMA 1-15R'), ('nema-5-15r', 'NEMA 5-15R'), ('nema-5-20r', 'NEMA 5-20R'), ('nema-5-30r', 'NEMA 5-30R'), ('nema-5-50r', 'NEMA 5-50R'), ('nema-6-15r', 'NEMA 6-15R'), ('nema-6-20r', 'NEMA 6-20R'), ('nema-6-30r', 'NEMA 6-30R'), ('nema-6-50r', 'NEMA 6-50R'), ('nema-10-30r', 'NEMA 10-30R'), ('nema-10-50r', 'NEMA 10-50R'), ('nema-14-20r', 'NEMA 14-20R'), ('nema-14-30r', 'NEMA 14-30R'), ('nema-14-50r', 'NEMA 14-50R'), ('nema-14-60r', 'NEMA 14-60R'), ('nema-15-15r', 'NEMA 15-15R'), ('nema-15-20r', 'NEMA 15-20R'), ('nema-15-30r', 'NEMA 15-30R'), ('nema-15-50r', 'NEMA 15-50R'), ('nema-15-60r', 'NEMA 15-60R')] * `NEMA (Locking)` - [('nema-l1-15r', 'NEMA L1-15R'), ('nema-l5-15r', 'NEMA L5-15R'), ('nema-l5-20r', 'NEMA L5-20R'), ('nema-l5-30r', 'NEMA L5-30R'), ('nema-l5-50r', 'NEMA L5-50R'), ('nema-l6-15r', 'NEMA L6-15R'), ('nema-l6-20r', 'NEMA L6-20R'), ('nema-l6-30r', 'NEMA L6-30R'), ('nema-l6-50r', 'NEMA L6-50R'), ('nema-l10-30r', 'NEMA L10-30R'), ('nema-l14-20r', 'NEMA L14-20R'), ('nema-l14-30r', 'NEMA L14-30R'), ('nema-l14-50r', 'NEMA L14-50R'), ('nema-l14-60r', 'NEMA L14-60R'), ('nema-l15-20r', 'NEMA L15-20R'), ('nema-l15-30r', 'NEMA L15-30R'), ('nema-l15-50r', 'NEMA L15-50R'), ('nema-l15-60r', 'NEMA L15-60R'), ('nema-l21-20r', 'NEMA L21-20R'), ('nema-l21-30r', 'NEMA L21-30R'), ('nema-l22-30r', 'NEMA L22-30R')] * `California Style` - [('CS6360C', 'CS6360C'), ('CS6364C', 'CS6364C'), ('CS8164C', 'CS8164C'), ('CS8264C', 'CS8264C'), ('CS8364C', 'CS8364C'), ('CS8464C', 'CS8464C')] * `ITA/International` - [('ita-e', 'ITA Type E (CEE 7/5)'), ('ita-f', 'ITA Type F (CEE 7/3)'), ('ita-g', 'ITA Type G (BS 1363)'), ('ita-h', 'ITA Type H'), ('ita-i', 'ITA Type I'), ('ita-j', 'ITA Type J'), ('ita-k', 'ITA Type K'), ('ita-l', 'ITA Type L (CEI 23-50)'), ('ita-m', 'ITA Type M (BS 546)'), ('ita-n', 'ITA Type N'), ('ita-o', 'ITA Type O'), ('ita-multistandard', 'ITA Multistandard')] * `USB` - [('usb-a', 'USB Type A'), ('usb-micro-b', 'USB Micro B'), ('usb-c', 'USB Type C')] * `Molex` - [('molex-micro-fit-1x2', 'Molex Micro-Fit 1x2'), ('molex-micro-fit-2x2', 'Molex Micro-Fit 2x2'), ('molex-micro-fit-2x4', 'Molex Micro-Fit 2x4')] * `DC` - [('dc-terminal', 'DC Terminal')] * `Proprietary` - [('hdot-cx', 'HDOT Cx'), ('saf-d-grid', 'Saf-D-Grid'), ('neutrik-powercon-20a', 'Neutrik powerCON (20A)'), ('neutrik-powercon-32a', 'Neutrik powerCON (32A)'), ('neutrik-powercon-true1', 'Neutrik powerCON TRUE1'), ('neutrik-powercon-true1-top', 'Neutrik powerCON TRUE1 TOP'), ('ubiquiti-smartpower', 'Ubiquiti SmartPower')] * `Other` - [('hardwired', 'Hardwired'), ('other', 'Other')] (optional) + type_ := openapiclient.dcim_power_outlet_templates_list_type_parameter("California Style") // DcimPowerOutletTemplatesListTypeParameter | * `IEC 60320` - [('iec-60320-c5', 'C5'), ('iec-60320-c7', 'C7'), ('iec-60320-c13', 'C13'), ('iec-60320-c15', 'C15'), ('iec-60320-c19', 'C19'), ('iec-60320-c21', 'C21')] * `IEC 60309` - [('iec-60309-p-n-e-4h', 'P+N+E 4H'), ('iec-60309-p-n-e-6h', 'P+N+E 6H'), ('iec-60309-p-n-e-9h', 'P+N+E 9H'), ('iec-60309-2p-e-4h', '2P+E 4H'), ('iec-60309-2p-e-6h', '2P+E 6H'), ('iec-60309-2p-e-9h', '2P+E 9H'), ('iec-60309-3p-e-4h', '3P+E 4H'), ('iec-60309-3p-e-6h', '3P+E 6H'), ('iec-60309-3p-e-9h', '3P+E 9H'), ('iec-60309-3p-n-e-4h', '3P+N+E 4H'), ('iec-60309-3p-n-e-6h', '3P+N+E 6H'), ('iec-60309-3p-n-e-9h', '3P+N+E 9H')] * `IEC 60906-1` - [('iec-60906-1', 'IEC 60906-1'), ('nbr-14136-10a', '2P+T 10A (NBR 14136)'), ('nbr-14136-20a', '2P+T 20A (NBR 14136)')] * `NEMA (Non-locking)` - [('nema-1-15r', 'NEMA 1-15R'), ('nema-5-15r', 'NEMA 5-15R'), ('nema-5-20r', 'NEMA 5-20R'), ('nema-5-30r', 'NEMA 5-30R'), ('nema-5-50r', 'NEMA 5-50R'), ('nema-6-15r', 'NEMA 6-15R'), ('nema-6-20r', 'NEMA 6-20R'), ('nema-6-30r', 'NEMA 6-30R'), ('nema-6-50r', 'NEMA 6-50R'), ('nema-10-30r', 'NEMA 10-30R'), ('nema-10-50r', 'NEMA 10-50R'), ('nema-14-20r', 'NEMA 14-20R'), ('nema-14-30r', 'NEMA 14-30R'), ('nema-14-50r', 'NEMA 14-50R'), ('nema-14-60r', 'NEMA 14-60R'), ('nema-15-15r', 'NEMA 15-15R'), ('nema-15-20r', 'NEMA 15-20R'), ('nema-15-30r', 'NEMA 15-30R'), ('nema-15-50r', 'NEMA 15-50R'), ('nema-15-60r', 'NEMA 15-60R')] * `NEMA (Locking)` - [('nema-l1-15r', 'NEMA L1-15R'), ('nema-l5-15r', 'NEMA L5-15R'), ('nema-l5-20r', 'NEMA L5-20R'), ('nema-l5-30r', 'NEMA L5-30R'), ('nema-l5-50r', 'NEMA L5-50R'), ('nema-l6-15r', 'NEMA L6-15R'), ('nema-l6-20r', 'NEMA L6-20R'), ('nema-l6-30r', 'NEMA L6-30R'), ('nema-l6-50r', 'NEMA L6-50R'), ('nema-l10-30r', 'NEMA L10-30R'), ('nema-l14-20r', 'NEMA L14-20R'), ('nema-l14-30r', 'NEMA L14-30R'), ('nema-l14-50r', 'NEMA L14-50R'), ('nema-l14-60r', 'NEMA L14-60R'), ('nema-l15-20r', 'NEMA L15-20R'), ('nema-l15-30r', 'NEMA L15-30R'), ('nema-l15-50r', 'NEMA L15-50R'), ('nema-l15-60r', 'NEMA L15-60R'), ('nema-l21-20r', 'NEMA L21-20R'), ('nema-l21-30r', 'NEMA L21-30R'), ('nema-l22-20r', 'NEMA L22-20R'), ('nema-l22-30r', 'NEMA L22-30R')] * `California Style` - [('CS6360C', 'CS6360C'), ('CS6364C', 'CS6364C'), ('CS8164C', 'CS8164C'), ('CS8264C', 'CS8264C'), ('CS8364C', 'CS8364C'), ('CS8464C', 'CS8464C')] * `ITA/International` - [('ita-e', 'ITA Type E (CEE 7/5)'), ('ita-f', 'ITA Type F (CEE 7/3)'), ('ita-g', 'ITA Type G (BS 1363)'), ('ita-h', 'ITA Type H'), ('ita-i', 'ITA Type I'), ('ita-j', 'ITA Type J'), ('ita-k', 'ITA Type K'), ('ita-l', 'ITA Type L (CEI 23-50)'), ('ita-m', 'ITA Type M (BS 546)'), ('ita-n', 'ITA Type N'), ('ita-o', 'ITA Type O'), ('ita-multistandard', 'ITA Multistandard')] * `USB` - [('usb-a', 'USB Type A'), ('usb-micro-b', 'USB Micro B'), ('usb-c', 'USB Type C')] * `Molex` - [('molex-micro-fit-1x2', 'Molex Micro-Fit 1x2'), ('molex-micro-fit-2x2', 'Molex Micro-Fit 2x2'), ('molex-micro-fit-2x4', 'Molex Micro-Fit 2x4')] * `DC` - [('dc-terminal', 'DC Terminal')] * `Proprietary` - [('eaton-c39', 'Eaton C39'), ('hdot-cx', 'HDOT Cx'), ('saf-d-grid', 'Saf-D-Grid'), ('neutrik-powercon-20a', 'Neutrik powerCON (20A)'), ('neutrik-powercon-32a', 'Neutrik powerCON (32A)'), ('neutrik-powercon-true1', 'Neutrik powerCON TRUE1'), ('neutrik-powercon-true1-top', 'Neutrik powerCON TRUE1 TOP'), ('ubiquiti-smartpower', 'Ubiquiti SmartPower')] * `Other` - [('hardwired', 'Hardwired'), ('other', 'Other')] (optional) updatedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.DcimAPI.DcimPowerOutletTemplatesList(context.Background()).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).DevicetypeId(devicetypeId).DevicetypeIdN(devicetypeIdN).FeedLeg(feedLeg).FeedLegN(feedLegN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).ModuleTypeId(moduleTypeId).ModuleTypeIdN(moduleTypeIdN).ModuletypeId(moduletypeId).ModuletypeIdN(moduletypeIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).PowerPortId(powerPortId).PowerPortIdN(powerPortIdN).Q(q).Type_(type_).TypeN(typeN).UpdatedByRequest(updatedByRequest).Execute() + resp, r, err := apiClient.DcimAPI.DcimPowerOutletTemplatesList(context.Background()).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).FeedLeg(feedLeg).FeedLegEmpty(feedLegEmpty).FeedLegIc(feedLegIc).FeedLegIe(feedLegIe).FeedLegIew(feedLegIew).FeedLegIsw(feedLegIsw).FeedLegN(feedLegN).FeedLegNic(feedLegNic).FeedLegNie(feedLegNie).FeedLegNiew(feedLegNiew).FeedLegNisw(feedLegNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).ModuleTypeId(moduleTypeId).ModuleTypeIdN(moduleTypeIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).PowerPortId(powerPortId).PowerPortIdN(powerPortIdN).Q(q).Type_(type_).UpdatedByRequest(updatedByRequest).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerOutletTemplatesList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -22693,10 +23182,17 @@ Name | Type | Description | Notes **descriptionNisw** | **[]string** | | **deviceTypeId** | **[]int32** | Device type (ID) | **deviceTypeIdN** | **[]int32** | Device type (ID) | - **devicetypeId** | **[]int32** | Device type (ID) | - **devicetypeIdN** | **[]int32** | Device type (ID) | **feedLeg** | **[]string** | Phase (for three-phase feeds) | - **feedLegN** | **[]string** | Phase (for three-phase feeds) | + **feedLegEmpty** | **bool** | | + **feedLegIc** | [**[]DcimPowerOutletTemplatesListFeedLegIcParameterInner**](DcimPowerOutletTemplatesListFeedLegIcParameterInner.md) | Phase (for three-phase feeds) * `A` - A * `B` - B * `C` - C | + **feedLegIe** | [**[]DcimPowerOutletTemplatesListFeedLegIcParameterInner**](DcimPowerOutletTemplatesListFeedLegIcParameterInner.md) | Phase (for three-phase feeds) * `A` - A * `B` - B * `C` - C | + **feedLegIew** | [**[]DcimPowerOutletTemplatesListFeedLegIcParameterInner**](DcimPowerOutletTemplatesListFeedLegIcParameterInner.md) | Phase (for three-phase feeds) * `A` - A * `B` - B * `C` - C | + **feedLegIsw** | [**[]DcimPowerOutletTemplatesListFeedLegIcParameterInner**](DcimPowerOutletTemplatesListFeedLegIcParameterInner.md) | Phase (for three-phase feeds) * `A` - A * `B` - B * `C` - C | + **feedLegN** | [**[]DcimPowerOutletTemplatesListFeedLegIcParameterInner**](DcimPowerOutletTemplatesListFeedLegIcParameterInner.md) | Phase (for three-phase feeds) * `A` - A * `B` - B * `C` - C | + **feedLegNic** | [**[]DcimPowerOutletTemplatesListFeedLegIcParameterInner**](DcimPowerOutletTemplatesListFeedLegIcParameterInner.md) | Phase (for three-phase feeds) * `A` - A * `B` - B * `C` - C | + **feedLegNie** | [**[]DcimPowerOutletTemplatesListFeedLegIcParameterInner**](DcimPowerOutletTemplatesListFeedLegIcParameterInner.md) | Phase (for three-phase feeds) * `A` - A * `B` - B * `C` - C | + **feedLegNiew** | [**[]DcimPowerOutletTemplatesListFeedLegIcParameterInner**](DcimPowerOutletTemplatesListFeedLegIcParameterInner.md) | Phase (for three-phase feeds) * `A` - A * `B` - B * `C` - C | + **feedLegNisw** | [**[]DcimPowerOutletTemplatesListFeedLegIcParameterInner**](DcimPowerOutletTemplatesListFeedLegIcParameterInner.md) | Phase (for three-phase feeds) * `A` - A * `B` - B * `C` - C | **id** | **[]int32** | | **idEmpty** | **bool** | | **idGt** | **[]int32** | | @@ -22726,8 +23222,6 @@ Name | Type | Description | Notes **modifiedByRequest** | **string** | | **moduleTypeId** | **[]int32** | Module type (ID) | **moduleTypeIdN** | **[]int32** | Module type (ID) | - **moduletypeId** | **[]int32** | Module type (ID) | - **moduletypeIdN** | **[]int32** | Module type (ID) | **name** | **[]string** | | **nameEmpty** | **bool** | | **nameIc** | **[]string** | | @@ -22744,8 +23238,7 @@ Name | Type | Description | Notes **powerPortId** | **[]int32** | Power port (ID) | **powerPortIdN** | **[]int32** | Power port (ID) | **q** | **string** | Search | - **type_** | [**DcimPowerOutletTemplatesListTypeParameter**](DcimPowerOutletTemplatesListTypeParameter.md) | * `IEC 60320` - [('iec-60320-c5', 'C5'), ('iec-60320-c7', 'C7'), ('iec-60320-c13', 'C13'), ('iec-60320-c15', 'C15'), ('iec-60320-c19', 'C19'), ('iec-60320-c21', 'C21')] * `IEC 60309` - [('iec-60309-p-n-e-4h', 'P+N+E 4H'), ('iec-60309-p-n-e-6h', 'P+N+E 6H'), ('iec-60309-p-n-e-9h', 'P+N+E 9H'), ('iec-60309-2p-e-4h', '2P+E 4H'), ('iec-60309-2p-e-6h', '2P+E 6H'), ('iec-60309-2p-e-9h', '2P+E 9H'), ('iec-60309-3p-e-4h', '3P+E 4H'), ('iec-60309-3p-e-6h', '3P+E 6H'), ('iec-60309-3p-e-9h', '3P+E 9H'), ('iec-60309-3p-n-e-4h', '3P+N+E 4H'), ('iec-60309-3p-n-e-6h', '3P+N+E 6H'), ('iec-60309-3p-n-e-9h', '3P+N+E 9H')] * `IEC 60906-1` - [('iec-60906-1', 'IEC 60906-1'), ('nbr-14136-10a', '2P+T 10A (NBR 14136)'), ('nbr-14136-20a', '2P+T 20A (NBR 14136)')] * `NEMA (Non-locking)` - [('nema-1-15r', 'NEMA 1-15R'), ('nema-5-15r', 'NEMA 5-15R'), ('nema-5-20r', 'NEMA 5-20R'), ('nema-5-30r', 'NEMA 5-30R'), ('nema-5-50r', 'NEMA 5-50R'), ('nema-6-15r', 'NEMA 6-15R'), ('nema-6-20r', 'NEMA 6-20R'), ('nema-6-30r', 'NEMA 6-30R'), ('nema-6-50r', 'NEMA 6-50R'), ('nema-10-30r', 'NEMA 10-30R'), ('nema-10-50r', 'NEMA 10-50R'), ('nema-14-20r', 'NEMA 14-20R'), ('nema-14-30r', 'NEMA 14-30R'), ('nema-14-50r', 'NEMA 14-50R'), ('nema-14-60r', 'NEMA 14-60R'), ('nema-15-15r', 'NEMA 15-15R'), ('nema-15-20r', 'NEMA 15-20R'), ('nema-15-30r', 'NEMA 15-30R'), ('nema-15-50r', 'NEMA 15-50R'), ('nema-15-60r', 'NEMA 15-60R')] * `NEMA (Locking)` - [('nema-l1-15r', 'NEMA L1-15R'), ('nema-l5-15r', 'NEMA L5-15R'), ('nema-l5-20r', 'NEMA L5-20R'), ('nema-l5-30r', 'NEMA L5-30R'), ('nema-l5-50r', 'NEMA L5-50R'), ('nema-l6-15r', 'NEMA L6-15R'), ('nema-l6-20r', 'NEMA L6-20R'), ('nema-l6-30r', 'NEMA L6-30R'), ('nema-l6-50r', 'NEMA L6-50R'), ('nema-l10-30r', 'NEMA L10-30R'), ('nema-l14-20r', 'NEMA L14-20R'), ('nema-l14-30r', 'NEMA L14-30R'), ('nema-l14-50r', 'NEMA L14-50R'), ('nema-l14-60r', 'NEMA L14-60R'), ('nema-l15-20r', 'NEMA L15-20R'), ('nema-l15-30r', 'NEMA L15-30R'), ('nema-l15-50r', 'NEMA L15-50R'), ('nema-l15-60r', 'NEMA L15-60R'), ('nema-l21-20r', 'NEMA L21-20R'), ('nema-l21-30r', 'NEMA L21-30R'), ('nema-l22-30r', 'NEMA L22-30R')] * `California Style` - [('CS6360C', 'CS6360C'), ('CS6364C', 'CS6364C'), ('CS8164C', 'CS8164C'), ('CS8264C', 'CS8264C'), ('CS8364C', 'CS8364C'), ('CS8464C', 'CS8464C')] * `ITA/International` - [('ita-e', 'ITA Type E (CEE 7/5)'), ('ita-f', 'ITA Type F (CEE 7/3)'), ('ita-g', 'ITA Type G (BS 1363)'), ('ita-h', 'ITA Type H'), ('ita-i', 'ITA Type I'), ('ita-j', 'ITA Type J'), ('ita-k', 'ITA Type K'), ('ita-l', 'ITA Type L (CEI 23-50)'), ('ita-m', 'ITA Type M (BS 546)'), ('ita-n', 'ITA Type N'), ('ita-o', 'ITA Type O'), ('ita-multistandard', 'ITA Multistandard')] * `USB` - [('usb-a', 'USB Type A'), ('usb-micro-b', 'USB Micro B'), ('usb-c', 'USB Type C')] * `Molex` - [('molex-micro-fit-1x2', 'Molex Micro-Fit 1x2'), ('molex-micro-fit-2x2', 'Molex Micro-Fit 2x2'), ('molex-micro-fit-2x4', 'Molex Micro-Fit 2x4')] * `DC` - [('dc-terminal', 'DC Terminal')] * `Proprietary` - [('hdot-cx', 'HDOT Cx'), ('saf-d-grid', 'Saf-D-Grid'), ('neutrik-powercon-20a', 'Neutrik powerCON (20A)'), ('neutrik-powercon-32a', 'Neutrik powerCON (32A)'), ('neutrik-powercon-true1', 'Neutrik powerCON TRUE1'), ('neutrik-powercon-true1-top', 'Neutrik powerCON TRUE1 TOP'), ('ubiquiti-smartpower', 'Ubiquiti SmartPower')] * `Other` - [('hardwired', 'Hardwired'), ('other', 'Other')] | - **typeN** | [**DcimPowerOutletTemplatesListTypeParameter**](DcimPowerOutletTemplatesListTypeParameter.md) | * `IEC 60320` - [('iec-60320-c5', 'C5'), ('iec-60320-c7', 'C7'), ('iec-60320-c13', 'C13'), ('iec-60320-c15', 'C15'), ('iec-60320-c19', 'C19'), ('iec-60320-c21', 'C21')] * `IEC 60309` - [('iec-60309-p-n-e-4h', 'P+N+E 4H'), ('iec-60309-p-n-e-6h', 'P+N+E 6H'), ('iec-60309-p-n-e-9h', 'P+N+E 9H'), ('iec-60309-2p-e-4h', '2P+E 4H'), ('iec-60309-2p-e-6h', '2P+E 6H'), ('iec-60309-2p-e-9h', '2P+E 9H'), ('iec-60309-3p-e-4h', '3P+E 4H'), ('iec-60309-3p-e-6h', '3P+E 6H'), ('iec-60309-3p-e-9h', '3P+E 9H'), ('iec-60309-3p-n-e-4h', '3P+N+E 4H'), ('iec-60309-3p-n-e-6h', '3P+N+E 6H'), ('iec-60309-3p-n-e-9h', '3P+N+E 9H')] * `IEC 60906-1` - [('iec-60906-1', 'IEC 60906-1'), ('nbr-14136-10a', '2P+T 10A (NBR 14136)'), ('nbr-14136-20a', '2P+T 20A (NBR 14136)')] * `NEMA (Non-locking)` - [('nema-1-15r', 'NEMA 1-15R'), ('nema-5-15r', 'NEMA 5-15R'), ('nema-5-20r', 'NEMA 5-20R'), ('nema-5-30r', 'NEMA 5-30R'), ('nema-5-50r', 'NEMA 5-50R'), ('nema-6-15r', 'NEMA 6-15R'), ('nema-6-20r', 'NEMA 6-20R'), ('nema-6-30r', 'NEMA 6-30R'), ('nema-6-50r', 'NEMA 6-50R'), ('nema-10-30r', 'NEMA 10-30R'), ('nema-10-50r', 'NEMA 10-50R'), ('nema-14-20r', 'NEMA 14-20R'), ('nema-14-30r', 'NEMA 14-30R'), ('nema-14-50r', 'NEMA 14-50R'), ('nema-14-60r', 'NEMA 14-60R'), ('nema-15-15r', 'NEMA 15-15R'), ('nema-15-20r', 'NEMA 15-20R'), ('nema-15-30r', 'NEMA 15-30R'), ('nema-15-50r', 'NEMA 15-50R'), ('nema-15-60r', 'NEMA 15-60R')] * `NEMA (Locking)` - [('nema-l1-15r', 'NEMA L1-15R'), ('nema-l5-15r', 'NEMA L5-15R'), ('nema-l5-20r', 'NEMA L5-20R'), ('nema-l5-30r', 'NEMA L5-30R'), ('nema-l5-50r', 'NEMA L5-50R'), ('nema-l6-15r', 'NEMA L6-15R'), ('nema-l6-20r', 'NEMA L6-20R'), ('nema-l6-30r', 'NEMA L6-30R'), ('nema-l6-50r', 'NEMA L6-50R'), ('nema-l10-30r', 'NEMA L10-30R'), ('nema-l14-20r', 'NEMA L14-20R'), ('nema-l14-30r', 'NEMA L14-30R'), ('nema-l14-50r', 'NEMA L14-50R'), ('nema-l14-60r', 'NEMA L14-60R'), ('nema-l15-20r', 'NEMA L15-20R'), ('nema-l15-30r', 'NEMA L15-30R'), ('nema-l15-50r', 'NEMA L15-50R'), ('nema-l15-60r', 'NEMA L15-60R'), ('nema-l21-20r', 'NEMA L21-20R'), ('nema-l21-30r', 'NEMA L21-30R'), ('nema-l22-30r', 'NEMA L22-30R')] * `California Style` - [('CS6360C', 'CS6360C'), ('CS6364C', 'CS6364C'), ('CS8164C', 'CS8164C'), ('CS8264C', 'CS8264C'), ('CS8364C', 'CS8364C'), ('CS8464C', 'CS8464C')] * `ITA/International` - [('ita-e', 'ITA Type E (CEE 7/5)'), ('ita-f', 'ITA Type F (CEE 7/3)'), ('ita-g', 'ITA Type G (BS 1363)'), ('ita-h', 'ITA Type H'), ('ita-i', 'ITA Type I'), ('ita-j', 'ITA Type J'), ('ita-k', 'ITA Type K'), ('ita-l', 'ITA Type L (CEI 23-50)'), ('ita-m', 'ITA Type M (BS 546)'), ('ita-n', 'ITA Type N'), ('ita-o', 'ITA Type O'), ('ita-multistandard', 'ITA Multistandard')] * `USB` - [('usb-a', 'USB Type A'), ('usb-micro-b', 'USB Micro B'), ('usb-c', 'USB Type C')] * `Molex` - [('molex-micro-fit-1x2', 'Molex Micro-Fit 1x2'), ('molex-micro-fit-2x2', 'Molex Micro-Fit 2x2'), ('molex-micro-fit-2x4', 'Molex Micro-Fit 2x4')] * `DC` - [('dc-terminal', 'DC Terminal')] * `Proprietary` - [('hdot-cx', 'HDOT Cx'), ('saf-d-grid', 'Saf-D-Grid'), ('neutrik-powercon-20a', 'Neutrik powerCON (20A)'), ('neutrik-powercon-32a', 'Neutrik powerCON (32A)'), ('neutrik-powercon-true1', 'Neutrik powerCON TRUE1'), ('neutrik-powercon-true1-top', 'Neutrik powerCON TRUE1 TOP'), ('ubiquiti-smartpower', 'Ubiquiti SmartPower')] * `Other` - [('hardwired', 'Hardwired'), ('other', 'Other')] | + **type_** | [**DcimPowerOutletTemplatesListTypeParameter**](DcimPowerOutletTemplatesListTypeParameter.md) | * `IEC 60320` - [('iec-60320-c5', 'C5'), ('iec-60320-c7', 'C7'), ('iec-60320-c13', 'C13'), ('iec-60320-c15', 'C15'), ('iec-60320-c19', 'C19'), ('iec-60320-c21', 'C21')] * `IEC 60309` - [('iec-60309-p-n-e-4h', 'P+N+E 4H'), ('iec-60309-p-n-e-6h', 'P+N+E 6H'), ('iec-60309-p-n-e-9h', 'P+N+E 9H'), ('iec-60309-2p-e-4h', '2P+E 4H'), ('iec-60309-2p-e-6h', '2P+E 6H'), ('iec-60309-2p-e-9h', '2P+E 9H'), ('iec-60309-3p-e-4h', '3P+E 4H'), ('iec-60309-3p-e-6h', '3P+E 6H'), ('iec-60309-3p-e-9h', '3P+E 9H'), ('iec-60309-3p-n-e-4h', '3P+N+E 4H'), ('iec-60309-3p-n-e-6h', '3P+N+E 6H'), ('iec-60309-3p-n-e-9h', '3P+N+E 9H')] * `IEC 60906-1` - [('iec-60906-1', 'IEC 60906-1'), ('nbr-14136-10a', '2P+T 10A (NBR 14136)'), ('nbr-14136-20a', '2P+T 20A (NBR 14136)')] * `NEMA (Non-locking)` - [('nema-1-15r', 'NEMA 1-15R'), ('nema-5-15r', 'NEMA 5-15R'), ('nema-5-20r', 'NEMA 5-20R'), ('nema-5-30r', 'NEMA 5-30R'), ('nema-5-50r', 'NEMA 5-50R'), ('nema-6-15r', 'NEMA 6-15R'), ('nema-6-20r', 'NEMA 6-20R'), ('nema-6-30r', 'NEMA 6-30R'), ('nema-6-50r', 'NEMA 6-50R'), ('nema-10-30r', 'NEMA 10-30R'), ('nema-10-50r', 'NEMA 10-50R'), ('nema-14-20r', 'NEMA 14-20R'), ('nema-14-30r', 'NEMA 14-30R'), ('nema-14-50r', 'NEMA 14-50R'), ('nema-14-60r', 'NEMA 14-60R'), ('nema-15-15r', 'NEMA 15-15R'), ('nema-15-20r', 'NEMA 15-20R'), ('nema-15-30r', 'NEMA 15-30R'), ('nema-15-50r', 'NEMA 15-50R'), ('nema-15-60r', 'NEMA 15-60R')] * `NEMA (Locking)` - [('nema-l1-15r', 'NEMA L1-15R'), ('nema-l5-15r', 'NEMA L5-15R'), ('nema-l5-20r', 'NEMA L5-20R'), ('nema-l5-30r', 'NEMA L5-30R'), ('nema-l5-50r', 'NEMA L5-50R'), ('nema-l6-15r', 'NEMA L6-15R'), ('nema-l6-20r', 'NEMA L6-20R'), ('nema-l6-30r', 'NEMA L6-30R'), ('nema-l6-50r', 'NEMA L6-50R'), ('nema-l10-30r', 'NEMA L10-30R'), ('nema-l14-20r', 'NEMA L14-20R'), ('nema-l14-30r', 'NEMA L14-30R'), ('nema-l14-50r', 'NEMA L14-50R'), ('nema-l14-60r', 'NEMA L14-60R'), ('nema-l15-20r', 'NEMA L15-20R'), ('nema-l15-30r', 'NEMA L15-30R'), ('nema-l15-50r', 'NEMA L15-50R'), ('nema-l15-60r', 'NEMA L15-60R'), ('nema-l21-20r', 'NEMA L21-20R'), ('nema-l21-30r', 'NEMA L21-30R'), ('nema-l22-20r', 'NEMA L22-20R'), ('nema-l22-30r', 'NEMA L22-30R')] * `California Style` - [('CS6360C', 'CS6360C'), ('CS6364C', 'CS6364C'), ('CS8164C', 'CS8164C'), ('CS8264C', 'CS8264C'), ('CS8364C', 'CS8364C'), ('CS8464C', 'CS8464C')] * `ITA/International` - [('ita-e', 'ITA Type E (CEE 7/5)'), ('ita-f', 'ITA Type F (CEE 7/3)'), ('ita-g', 'ITA Type G (BS 1363)'), ('ita-h', 'ITA Type H'), ('ita-i', 'ITA Type I'), ('ita-j', 'ITA Type J'), ('ita-k', 'ITA Type K'), ('ita-l', 'ITA Type L (CEI 23-50)'), ('ita-m', 'ITA Type M (BS 546)'), ('ita-n', 'ITA Type N'), ('ita-o', 'ITA Type O'), ('ita-multistandard', 'ITA Multistandard')] * `USB` - [('usb-a', 'USB Type A'), ('usb-micro-b', 'USB Micro B'), ('usb-c', 'USB Type C')] * `Molex` - [('molex-micro-fit-1x2', 'Molex Micro-Fit 1x2'), ('molex-micro-fit-2x2', 'Molex Micro-Fit 2x2'), ('molex-micro-fit-2x4', 'Molex Micro-Fit 2x4')] * `DC` - [('dc-terminal', 'DC Terminal')] * `Proprietary` - [('eaton-c39', 'Eaton C39'), ('hdot-cx', 'HDOT Cx'), ('saf-d-grid', 'Saf-D-Grid'), ('neutrik-powercon-20a', 'Neutrik powerCON (20A)'), ('neutrik-powercon-32a', 'Neutrik powerCON (32A)'), ('neutrik-powercon-true1', 'Neutrik powerCON TRUE1'), ('neutrik-powercon-true1-top', 'Neutrik powerCON TRUE1 TOP'), ('ubiquiti-smartpower', 'Ubiquiti SmartPower')] * `Other` - [('hardwired', 'Hardwired'), ('other', 'Other')] | **updatedByRequest** | **string** | | ### Return type @@ -23001,7 +23494,7 @@ import ( ) func main() { - powerOutletRequest := []openapiclient.PowerOutletRequest{*openapiclient.NewPowerOutletRequest(*openapiclient.NewDeviceRequest(), "Name_example")} // []PowerOutletRequest | + powerOutletRequest := []openapiclient.PowerOutletRequest{*openapiclient.NewPowerOutletRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example")} // []PowerOutletRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -23065,7 +23558,7 @@ import ( ) func main() { - powerOutletRequest := []openapiclient.PowerOutletRequest{*openapiclient.NewPowerOutletRequest(*openapiclient.NewDeviceRequest(), "Name_example")} // []PowerOutletRequest | + powerOutletRequest := []openapiclient.PowerOutletRequest{*openapiclient.NewPowerOutletRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example")} // []PowerOutletRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -23131,7 +23624,7 @@ import ( ) func main() { - powerOutletRequest := []openapiclient.PowerOutletRequest{*openapiclient.NewPowerOutletRequest(*openapiclient.NewDeviceRequest(), "Name_example")} // []PowerOutletRequest | + powerOutletRequest := []openapiclient.PowerOutletRequest{*openapiclient.NewPowerOutletRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example")} // []PowerOutletRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -23197,7 +23690,7 @@ import ( ) func main() { - writablePowerOutletRequest := *openapiclient.NewWritablePowerOutletRequest(*openapiclient.NewDeviceRequest(), "Name_example") // WritablePowerOutletRequest | + writablePowerOutletRequest := *openapiclient.NewWritablePowerOutletRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example") // WritablePowerOutletRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -23312,7 +23805,7 @@ Name | Type | Description | Notes ## DcimPowerOutletsList -> PaginatedPowerOutletList DcimPowerOutletsList(ctx).CableEnd(cableEnd).CableEndN(cableEndN).CableId(cableId).CableIdN(cableIdN).Cabled(cabled).Connected(connected).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceN(deviceN).DeviceId(deviceId).DeviceIdN(deviceIdN).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).FeedLeg(feedLeg).FeedLegN(feedLegN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).LocationId(locationId).LocationIdN(locationIdN).MarkConnected(markConnected).ModifiedByRequest(modifiedByRequest).ModuleId(moduleId).ModuleIdN(moduleIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Occupied(occupied).Offset(offset).Ordering(ordering).PowerPortId(powerPortId).PowerPortIdN(powerPortIdN).Q(q).Rack(rack).RackN(rackN).RackId(rackId).RackIdN(rackIdN).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Tag(tag).TagN(tagN).Type_(type_).TypeN(typeN).UpdatedByRequest(updatedByRequest).VirtualChassis(virtualChassis).VirtualChassisN(virtualChassisN).VirtualChassisId(virtualChassisId).VirtualChassisIdN(virtualChassisIdN).Execute() +> PaginatedPowerOutletList DcimPowerOutletsList(ctx).CableEnd(cableEnd).CableId(cableId).CableIdN(cableIdN).Cabled(cabled).Connected(connected).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceN(deviceN).DeviceId(deviceId).DeviceIdN(deviceIdN).DeviceRole(deviceRole).DeviceRoleN(deviceRoleN).DeviceRoleId(deviceRoleId).DeviceRoleIdN(deviceRoleIdN).DeviceStatus(deviceStatus).DeviceStatusEmpty(deviceStatusEmpty).DeviceStatusIc(deviceStatusIc).DeviceStatusIe(deviceStatusIe).DeviceStatusIew(deviceStatusIew).DeviceStatusIsw(deviceStatusIsw).DeviceStatusN(deviceStatusN).DeviceStatusNic(deviceStatusNic).DeviceStatusNie(deviceStatusNie).DeviceStatusNiew(deviceStatusNiew).DeviceStatusNisw(deviceStatusNisw).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).FeedLeg(feedLeg).FeedLegEmpty(feedLegEmpty).FeedLegIc(feedLegIc).FeedLegIe(feedLegIe).FeedLegIew(feedLegIew).FeedLegIsw(feedLegIsw).FeedLegN(feedLegN).FeedLegNic(feedLegNic).FeedLegNie(feedLegNie).FeedLegNiew(feedLegNiew).FeedLegNisw(feedLegNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).LocationId(locationId).LocationIdN(locationIdN).MarkConnected(markConnected).ModifiedByRequest(modifiedByRequest).ModuleId(moduleId).ModuleIdN(moduleIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Occupied(occupied).Offset(offset).Ordering(ordering).PowerPortId(powerPortId).PowerPortIdN(powerPortIdN).Q(q).Rack(rack).RackN(rackN).RackId(rackId).RackIdN(rackIdN).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Tag(tag).TagN(tagN).Type_(type_).TypeEmpty(typeEmpty).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNisw(typeNisw).UpdatedByRequest(updatedByRequest).VirtualChassis(virtualChassis).VirtualChassisN(virtualChassisN).VirtualChassisId(virtualChassisId).VirtualChassisIdN(virtualChassisIdN).Execute() @@ -23333,7 +23826,6 @@ import ( func main() { cableEnd := openapiclient.circuits_circuit_terminations_list_cable_end_parameter("A") // CircuitsCircuitTerminationsListCableEndParameter | * `A` - A * `B` - B (optional) - cableEndN := openapiclient.circuits_circuit_terminations_list_cable_end_parameter("A") // CircuitsCircuitTerminationsListCableEndParameter | * `A` - A * `B` - B (optional) cableId := []*int32{int32(123)} // []*int32 | Cable (ID) (optional) cableIdN := []*int32{int32(123)} // []*int32 | Cable (ID) (optional) cabled := true // bool | (optional) @@ -23361,12 +23853,36 @@ func main() { deviceN := []*string{"Inner_example"} // []*string | Device (name) (optional) deviceId := []int32{int32(123)} // []int32 | Device (ID) (optional) deviceIdN := []int32{int32(123)} // []int32 | Device (ID) (optional) + deviceRole := []string{"Inner_example"} // []string | Device role (slug) (optional) + deviceRoleN := []string{"Inner_example"} // []string | Device role (slug) (optional) + deviceRoleId := []int32{int32(123)} // []int32 | Device role (ID) (optional) + deviceRoleIdN := []int32{int32(123)} // []int32 | Device role (ID) (optional) + deviceStatus := []string{"Inner_example"} // []string | (optional) + deviceStatusEmpty := true // bool | (optional) + deviceStatusIc := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusIe := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusIew := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusIsw := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusN := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusNic := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusNie := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusNiew := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusNisw := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) deviceType := []string{"Inner_example"} // []string | Device type (model) (optional) deviceTypeN := []string{"Inner_example"} // []string | Device type (model) (optional) deviceTypeId := []int32{int32(123)} // []int32 | Device type (ID) (optional) deviceTypeIdN := []int32{int32(123)} // []int32 | Device type (ID) (optional) feedLeg := []string{"Inner_example"} // []string | Phase (for three-phase feeds) (optional) - feedLegN := []string{"Inner_example"} // []string | Phase (for three-phase feeds) (optional) + feedLegEmpty := true // bool | (optional) + feedLegIc := []openapiclient.DcimPowerOutletTemplatesListFeedLegIcParameterInner{openapiclient.dcim_power_outlet_templates_list_feed_leg__ic_parameter_inner("")} // []DcimPowerOutletTemplatesListFeedLegIcParameterInner | Phase (for three-phase feeds) * `A` - A * `B` - B * `C` - C (optional) + feedLegIe := []openapiclient.DcimPowerOutletTemplatesListFeedLegIcParameterInner{openapiclient.dcim_power_outlet_templates_list_feed_leg__ic_parameter_inner("")} // []DcimPowerOutletTemplatesListFeedLegIcParameterInner | Phase (for three-phase feeds) * `A` - A * `B` - B * `C` - C (optional) + feedLegIew := []openapiclient.DcimPowerOutletTemplatesListFeedLegIcParameterInner{openapiclient.dcim_power_outlet_templates_list_feed_leg__ic_parameter_inner("")} // []DcimPowerOutletTemplatesListFeedLegIcParameterInner | Phase (for three-phase feeds) * `A` - A * `B` - B * `C` - C (optional) + feedLegIsw := []openapiclient.DcimPowerOutletTemplatesListFeedLegIcParameterInner{openapiclient.dcim_power_outlet_templates_list_feed_leg__ic_parameter_inner("")} // []DcimPowerOutletTemplatesListFeedLegIcParameterInner | Phase (for three-phase feeds) * `A` - A * `B` - B * `C` - C (optional) + feedLegN := []openapiclient.DcimPowerOutletTemplatesListFeedLegIcParameterInner{openapiclient.dcim_power_outlet_templates_list_feed_leg__ic_parameter_inner("")} // []DcimPowerOutletTemplatesListFeedLegIcParameterInner | Phase (for three-phase feeds) * `A` - A * `B` - B * `C` - C (optional) + feedLegNic := []openapiclient.DcimPowerOutletTemplatesListFeedLegIcParameterInner{openapiclient.dcim_power_outlet_templates_list_feed_leg__ic_parameter_inner("")} // []DcimPowerOutletTemplatesListFeedLegIcParameterInner | Phase (for three-phase feeds) * `A` - A * `B` - B * `C` - C (optional) + feedLegNie := []openapiclient.DcimPowerOutletTemplatesListFeedLegIcParameterInner{openapiclient.dcim_power_outlet_templates_list_feed_leg__ic_parameter_inner("")} // []DcimPowerOutletTemplatesListFeedLegIcParameterInner | Phase (for three-phase feeds) * `A` - A * `B` - B * `C` - C (optional) + feedLegNiew := []openapiclient.DcimPowerOutletTemplatesListFeedLegIcParameterInner{openapiclient.dcim_power_outlet_templates_list_feed_leg__ic_parameter_inner("")} // []DcimPowerOutletTemplatesListFeedLegIcParameterInner | Phase (for three-phase feeds) * `A` - A * `B` - B * `C` - C (optional) + feedLegNisw := []openapiclient.DcimPowerOutletTemplatesListFeedLegIcParameterInner{openapiclient.dcim_power_outlet_templates_list_feed_leg__ic_parameter_inner("")} // []DcimPowerOutletTemplatesListFeedLegIcParameterInner | Phase (for three-phase feeds) * `A` - A * `B` - B * `C` - C (optional) id := []int32{int32(123)} // []int32 | (optional) idEmpty := true // bool | (optional) idGt := []int32{int32(123)} // []int32 | (optional) @@ -23422,26 +23938,31 @@ func main() { rackN := []string{"Inner_example"} // []string | Rack (name) (optional) rackId := []int32{int32(123)} // []int32 | Rack (ID) (optional) rackIdN := []int32{int32(123)} // []int32 | Rack (ID) (optional) - region := []int32{int32(123)} // []int32 | Region (slug) (optional) - regionN := []int32{int32(123)} // []int32 | Region (slug) (optional) - regionId := []int32{int32(123)} // []int32 | Region (ID) (optional) - regionIdN := []int32{int32(123)} // []int32 | Region (ID) (optional) - role := []string{"Inner_example"} // []string | Device role (slug) (optional) - roleN := []string{"Inner_example"} // []string | Device role (slug) (optional) - roleId := []int32{int32(123)} // []int32 | Device role (ID) (optional) - roleIdN := []int32{int32(123)} // []int32 | Device role (ID) (optional) + region := []string{"Inner_example"} // []string | (optional) + regionN := []string{"Inner_example"} // []string | (optional) + regionId := []string{"Inner_example"} // []string | (optional) + regionIdN := []string{"Inner_example"} // []string | (optional) site := []string{"Inner_example"} // []string | Site name (slug) (optional) siteN := []string{"Inner_example"} // []string | Site name (slug) (optional) - siteGroup := []int32{int32(123)} // []int32 | Site group (slug) (optional) - siteGroupN := []int32{int32(123)} // []int32 | Site group (slug) (optional) - siteGroupId := []int32{int32(123)} // []int32 | Site group (ID) (optional) - siteGroupIdN := []int32{int32(123)} // []int32 | Site group (ID) (optional) + siteGroup := []string{"Inner_example"} // []string | (optional) + siteGroupN := []string{"Inner_example"} // []string | (optional) + siteGroupId := []string{"Inner_example"} // []string | (optional) + siteGroupIdN := []string{"Inner_example"} // []string | (optional) siteId := []int32{int32(123)} // []int32 | Site (ID) (optional) siteIdN := []int32{int32(123)} // []int32 | Site (ID) (optional) tag := []string{"Inner_example"} // []string | (optional) tagN := []string{"Inner_example"} // []string | (optional) type_ := []string{"Inner_example"} // []string | Physical port type (optional) - typeN := []string{"Inner_example"} // []string | Physical port type (optional) + typeEmpty := true // bool | (optional) + typeIc := []openapiclient.DcimPowerOutletsListTypeIcParameterInner{openapiclient.dcim_power_outlets_list_type__ic_parameter_inner("")} // []DcimPowerOutletsListTypeIcParameterInner | Physical port type * `iec-60320-c5` - C5 * `iec-60320-c7` - C7 * `iec-60320-c13` - C13 * `iec-60320-c15` - C15 * `iec-60320-c19` - C19 * `iec-60320-c21` - C21 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15r` - NEMA 1-15R * `nema-5-15r` - NEMA 5-15R * `nema-5-20r` - NEMA 5-20R * `nema-5-30r` - NEMA 5-30R * `nema-5-50r` - NEMA 5-50R * `nema-6-15r` - NEMA 6-15R * `nema-6-20r` - NEMA 6-20R * `nema-6-30r` - NEMA 6-30R * `nema-6-50r` - NEMA 6-50R * `nema-10-30r` - NEMA 10-30R * `nema-10-50r` - NEMA 10-50R * `nema-14-20r` - NEMA 14-20R * `nema-14-30r` - NEMA 14-30R * `nema-14-50r` - NEMA 14-50R * `nema-14-60r` - NEMA 14-60R * `nema-15-15r` - NEMA 15-15R * `nema-15-20r` - NEMA 15-20R * `nema-15-30r` - NEMA 15-30R * `nema-15-50r` - NEMA 15-50R * `nema-15-60r` - NEMA 15-60R * `nema-l1-15r` - NEMA L1-15R * `nema-l5-15r` - NEMA L5-15R * `nema-l5-20r` - NEMA L5-20R * `nema-l5-30r` - NEMA L5-30R * `nema-l5-50r` - NEMA L5-50R * `nema-l6-15r` - NEMA L6-15R * `nema-l6-20r` - NEMA L6-20R * `nema-l6-30r` - NEMA L6-30R * `nema-l6-50r` - NEMA L6-50R * `nema-l10-30r` - NEMA L10-30R * `nema-l14-20r` - NEMA L14-20R * `nema-l14-30r` - NEMA L14-30R * `nema-l14-50r` - NEMA L14-50R * `nema-l14-60r` - NEMA L14-60R * `nema-l15-20r` - NEMA L15-20R * `nema-l15-30r` - NEMA L15-30R * `nema-l15-50r` - NEMA L15-50R * `nema-l15-60r` - NEMA L15-60R * `nema-l21-20r` - NEMA L21-20R * `nema-l21-30r` - NEMA L21-30R * `nema-l22-20r` - NEMA L22-20R * `nema-l22-30r` - NEMA L22-30R * `CS6360C` - CS6360C * `CS6364C` - CS6364C * `CS8164C` - CS8164C * `CS8264C` - CS8264C * `CS8364C` - CS8364C * `CS8464C` - CS8464C * `ita-e` - ITA Type E (CEE 7/5) * `ita-f` - ITA Type F (CEE 7/3) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `ita-multistandard` - ITA Multistandard * `usb-a` - USB Type A * `usb-micro-b` - USB Micro B * `usb-c` - USB Type C * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `eaton-c39` - Eaton C39 * `hdot-cx` - HDOT Cx * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20a` - Neutrik powerCON (20A) * `neutrik-powercon-32a` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other (optional) + typeIe := []openapiclient.DcimPowerOutletsListTypeIcParameterInner{openapiclient.dcim_power_outlets_list_type__ic_parameter_inner("")} // []DcimPowerOutletsListTypeIcParameterInner | Physical port type * `iec-60320-c5` - C5 * `iec-60320-c7` - C7 * `iec-60320-c13` - C13 * `iec-60320-c15` - C15 * `iec-60320-c19` - C19 * `iec-60320-c21` - C21 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15r` - NEMA 1-15R * `nema-5-15r` - NEMA 5-15R * `nema-5-20r` - NEMA 5-20R * `nema-5-30r` - NEMA 5-30R * `nema-5-50r` - NEMA 5-50R * `nema-6-15r` - NEMA 6-15R * `nema-6-20r` - NEMA 6-20R * `nema-6-30r` - NEMA 6-30R * `nema-6-50r` - NEMA 6-50R * `nema-10-30r` - NEMA 10-30R * `nema-10-50r` - NEMA 10-50R * `nema-14-20r` - NEMA 14-20R * `nema-14-30r` - NEMA 14-30R * `nema-14-50r` - NEMA 14-50R * `nema-14-60r` - NEMA 14-60R * `nema-15-15r` - NEMA 15-15R * `nema-15-20r` - NEMA 15-20R * `nema-15-30r` - NEMA 15-30R * `nema-15-50r` - NEMA 15-50R * `nema-15-60r` - NEMA 15-60R * `nema-l1-15r` - NEMA L1-15R * `nema-l5-15r` - NEMA L5-15R * `nema-l5-20r` - NEMA L5-20R * `nema-l5-30r` - NEMA L5-30R * `nema-l5-50r` - NEMA L5-50R * `nema-l6-15r` - NEMA L6-15R * `nema-l6-20r` - NEMA L6-20R * `nema-l6-30r` - NEMA L6-30R * `nema-l6-50r` - NEMA L6-50R * `nema-l10-30r` - NEMA L10-30R * `nema-l14-20r` - NEMA L14-20R * `nema-l14-30r` - NEMA L14-30R * `nema-l14-50r` - NEMA L14-50R * `nema-l14-60r` - NEMA L14-60R * `nema-l15-20r` - NEMA L15-20R * `nema-l15-30r` - NEMA L15-30R * `nema-l15-50r` - NEMA L15-50R * `nema-l15-60r` - NEMA L15-60R * `nema-l21-20r` - NEMA L21-20R * `nema-l21-30r` - NEMA L21-30R * `nema-l22-20r` - NEMA L22-20R * `nema-l22-30r` - NEMA L22-30R * `CS6360C` - CS6360C * `CS6364C` - CS6364C * `CS8164C` - CS8164C * `CS8264C` - CS8264C * `CS8364C` - CS8364C * `CS8464C` - CS8464C * `ita-e` - ITA Type E (CEE 7/5) * `ita-f` - ITA Type F (CEE 7/3) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `ita-multistandard` - ITA Multistandard * `usb-a` - USB Type A * `usb-micro-b` - USB Micro B * `usb-c` - USB Type C * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `eaton-c39` - Eaton C39 * `hdot-cx` - HDOT Cx * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20a` - Neutrik powerCON (20A) * `neutrik-powercon-32a` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other (optional) + typeIew := []openapiclient.DcimPowerOutletsListTypeIcParameterInner{openapiclient.dcim_power_outlets_list_type__ic_parameter_inner("")} // []DcimPowerOutletsListTypeIcParameterInner | Physical port type * `iec-60320-c5` - C5 * `iec-60320-c7` - C7 * `iec-60320-c13` - C13 * `iec-60320-c15` - C15 * `iec-60320-c19` - C19 * `iec-60320-c21` - C21 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15r` - NEMA 1-15R * `nema-5-15r` - NEMA 5-15R * `nema-5-20r` - NEMA 5-20R * `nema-5-30r` - NEMA 5-30R * `nema-5-50r` - NEMA 5-50R * `nema-6-15r` - NEMA 6-15R * `nema-6-20r` - NEMA 6-20R * `nema-6-30r` - NEMA 6-30R * `nema-6-50r` - NEMA 6-50R * `nema-10-30r` - NEMA 10-30R * `nema-10-50r` - NEMA 10-50R * `nema-14-20r` - NEMA 14-20R * `nema-14-30r` - NEMA 14-30R * `nema-14-50r` - NEMA 14-50R * `nema-14-60r` - NEMA 14-60R * `nema-15-15r` - NEMA 15-15R * `nema-15-20r` - NEMA 15-20R * `nema-15-30r` - NEMA 15-30R * `nema-15-50r` - NEMA 15-50R * `nema-15-60r` - NEMA 15-60R * `nema-l1-15r` - NEMA L1-15R * `nema-l5-15r` - NEMA L5-15R * `nema-l5-20r` - NEMA L5-20R * `nema-l5-30r` - NEMA L5-30R * `nema-l5-50r` - NEMA L5-50R * `nema-l6-15r` - NEMA L6-15R * `nema-l6-20r` - NEMA L6-20R * `nema-l6-30r` - NEMA L6-30R * `nema-l6-50r` - NEMA L6-50R * `nema-l10-30r` - NEMA L10-30R * `nema-l14-20r` - NEMA L14-20R * `nema-l14-30r` - NEMA L14-30R * `nema-l14-50r` - NEMA L14-50R * `nema-l14-60r` - NEMA L14-60R * `nema-l15-20r` - NEMA L15-20R * `nema-l15-30r` - NEMA L15-30R * `nema-l15-50r` - NEMA L15-50R * `nema-l15-60r` - NEMA L15-60R * `nema-l21-20r` - NEMA L21-20R * `nema-l21-30r` - NEMA L21-30R * `nema-l22-20r` - NEMA L22-20R * `nema-l22-30r` - NEMA L22-30R * `CS6360C` - CS6360C * `CS6364C` - CS6364C * `CS8164C` - CS8164C * `CS8264C` - CS8264C * `CS8364C` - CS8364C * `CS8464C` - CS8464C * `ita-e` - ITA Type E (CEE 7/5) * `ita-f` - ITA Type F (CEE 7/3) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `ita-multistandard` - ITA Multistandard * `usb-a` - USB Type A * `usb-micro-b` - USB Micro B * `usb-c` - USB Type C * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `eaton-c39` - Eaton C39 * `hdot-cx` - HDOT Cx * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20a` - Neutrik powerCON (20A) * `neutrik-powercon-32a` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other (optional) + typeIsw := []openapiclient.DcimPowerOutletsListTypeIcParameterInner{openapiclient.dcim_power_outlets_list_type__ic_parameter_inner("")} // []DcimPowerOutletsListTypeIcParameterInner | Physical port type * `iec-60320-c5` - C5 * `iec-60320-c7` - C7 * `iec-60320-c13` - C13 * `iec-60320-c15` - C15 * `iec-60320-c19` - C19 * `iec-60320-c21` - C21 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15r` - NEMA 1-15R * `nema-5-15r` - NEMA 5-15R * `nema-5-20r` - NEMA 5-20R * `nema-5-30r` - NEMA 5-30R * `nema-5-50r` - NEMA 5-50R * `nema-6-15r` - NEMA 6-15R * `nema-6-20r` - NEMA 6-20R * `nema-6-30r` - NEMA 6-30R * `nema-6-50r` - NEMA 6-50R * `nema-10-30r` - NEMA 10-30R * `nema-10-50r` - NEMA 10-50R * `nema-14-20r` - NEMA 14-20R * `nema-14-30r` - NEMA 14-30R * `nema-14-50r` - NEMA 14-50R * `nema-14-60r` - NEMA 14-60R * `nema-15-15r` - NEMA 15-15R * `nema-15-20r` - NEMA 15-20R * `nema-15-30r` - NEMA 15-30R * `nema-15-50r` - NEMA 15-50R * `nema-15-60r` - NEMA 15-60R * `nema-l1-15r` - NEMA L1-15R * `nema-l5-15r` - NEMA L5-15R * `nema-l5-20r` - NEMA L5-20R * `nema-l5-30r` - NEMA L5-30R * `nema-l5-50r` - NEMA L5-50R * `nema-l6-15r` - NEMA L6-15R * `nema-l6-20r` - NEMA L6-20R * `nema-l6-30r` - NEMA L6-30R * `nema-l6-50r` - NEMA L6-50R * `nema-l10-30r` - NEMA L10-30R * `nema-l14-20r` - NEMA L14-20R * `nema-l14-30r` - NEMA L14-30R * `nema-l14-50r` - NEMA L14-50R * `nema-l14-60r` - NEMA L14-60R * `nema-l15-20r` - NEMA L15-20R * `nema-l15-30r` - NEMA L15-30R * `nema-l15-50r` - NEMA L15-50R * `nema-l15-60r` - NEMA L15-60R * `nema-l21-20r` - NEMA L21-20R * `nema-l21-30r` - NEMA L21-30R * `nema-l22-20r` - NEMA L22-20R * `nema-l22-30r` - NEMA L22-30R * `CS6360C` - CS6360C * `CS6364C` - CS6364C * `CS8164C` - CS8164C * `CS8264C` - CS8264C * `CS8364C` - CS8364C * `CS8464C` - CS8464C * `ita-e` - ITA Type E (CEE 7/5) * `ita-f` - ITA Type F (CEE 7/3) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `ita-multistandard` - ITA Multistandard * `usb-a` - USB Type A * `usb-micro-b` - USB Micro B * `usb-c` - USB Type C * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `eaton-c39` - Eaton C39 * `hdot-cx` - HDOT Cx * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20a` - Neutrik powerCON (20A) * `neutrik-powercon-32a` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other (optional) + typeN := []openapiclient.DcimPowerOutletsListTypeIcParameterInner{openapiclient.dcim_power_outlets_list_type__ic_parameter_inner("")} // []DcimPowerOutletsListTypeIcParameterInner | Physical port type * `iec-60320-c5` - C5 * `iec-60320-c7` - C7 * `iec-60320-c13` - C13 * `iec-60320-c15` - C15 * `iec-60320-c19` - C19 * `iec-60320-c21` - C21 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15r` - NEMA 1-15R * `nema-5-15r` - NEMA 5-15R * `nema-5-20r` - NEMA 5-20R * `nema-5-30r` - NEMA 5-30R * `nema-5-50r` - NEMA 5-50R * `nema-6-15r` - NEMA 6-15R * `nema-6-20r` - NEMA 6-20R * `nema-6-30r` - NEMA 6-30R * `nema-6-50r` - NEMA 6-50R * `nema-10-30r` - NEMA 10-30R * `nema-10-50r` - NEMA 10-50R * `nema-14-20r` - NEMA 14-20R * `nema-14-30r` - NEMA 14-30R * `nema-14-50r` - NEMA 14-50R * `nema-14-60r` - NEMA 14-60R * `nema-15-15r` - NEMA 15-15R * `nema-15-20r` - NEMA 15-20R * `nema-15-30r` - NEMA 15-30R * `nema-15-50r` - NEMA 15-50R * `nema-15-60r` - NEMA 15-60R * `nema-l1-15r` - NEMA L1-15R * `nema-l5-15r` - NEMA L5-15R * `nema-l5-20r` - NEMA L5-20R * `nema-l5-30r` - NEMA L5-30R * `nema-l5-50r` - NEMA L5-50R * `nema-l6-15r` - NEMA L6-15R * `nema-l6-20r` - NEMA L6-20R * `nema-l6-30r` - NEMA L6-30R * `nema-l6-50r` - NEMA L6-50R * `nema-l10-30r` - NEMA L10-30R * `nema-l14-20r` - NEMA L14-20R * `nema-l14-30r` - NEMA L14-30R * `nema-l14-50r` - NEMA L14-50R * `nema-l14-60r` - NEMA L14-60R * `nema-l15-20r` - NEMA L15-20R * `nema-l15-30r` - NEMA L15-30R * `nema-l15-50r` - NEMA L15-50R * `nema-l15-60r` - NEMA L15-60R * `nema-l21-20r` - NEMA L21-20R * `nema-l21-30r` - NEMA L21-30R * `nema-l22-20r` - NEMA L22-20R * `nema-l22-30r` - NEMA L22-30R * `CS6360C` - CS6360C * `CS6364C` - CS6364C * `CS8164C` - CS8164C * `CS8264C` - CS8264C * `CS8364C` - CS8364C * `CS8464C` - CS8464C * `ita-e` - ITA Type E (CEE 7/5) * `ita-f` - ITA Type F (CEE 7/3) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `ita-multistandard` - ITA Multistandard * `usb-a` - USB Type A * `usb-micro-b` - USB Micro B * `usb-c` - USB Type C * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `eaton-c39` - Eaton C39 * `hdot-cx` - HDOT Cx * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20a` - Neutrik powerCON (20A) * `neutrik-powercon-32a` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other (optional) + typeNic := []openapiclient.DcimPowerOutletsListTypeIcParameterInner{openapiclient.dcim_power_outlets_list_type__ic_parameter_inner("")} // []DcimPowerOutletsListTypeIcParameterInner | Physical port type * `iec-60320-c5` - C5 * `iec-60320-c7` - C7 * `iec-60320-c13` - C13 * `iec-60320-c15` - C15 * `iec-60320-c19` - C19 * `iec-60320-c21` - C21 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15r` - NEMA 1-15R * `nema-5-15r` - NEMA 5-15R * `nema-5-20r` - NEMA 5-20R * `nema-5-30r` - NEMA 5-30R * `nema-5-50r` - NEMA 5-50R * `nema-6-15r` - NEMA 6-15R * `nema-6-20r` - NEMA 6-20R * `nema-6-30r` - NEMA 6-30R * `nema-6-50r` - NEMA 6-50R * `nema-10-30r` - NEMA 10-30R * `nema-10-50r` - NEMA 10-50R * `nema-14-20r` - NEMA 14-20R * `nema-14-30r` - NEMA 14-30R * `nema-14-50r` - NEMA 14-50R * `nema-14-60r` - NEMA 14-60R * `nema-15-15r` - NEMA 15-15R * `nema-15-20r` - NEMA 15-20R * `nema-15-30r` - NEMA 15-30R * `nema-15-50r` - NEMA 15-50R * `nema-15-60r` - NEMA 15-60R * `nema-l1-15r` - NEMA L1-15R * `nema-l5-15r` - NEMA L5-15R * `nema-l5-20r` - NEMA L5-20R * `nema-l5-30r` - NEMA L5-30R * `nema-l5-50r` - NEMA L5-50R * `nema-l6-15r` - NEMA L6-15R * `nema-l6-20r` - NEMA L6-20R * `nema-l6-30r` - NEMA L6-30R * `nema-l6-50r` - NEMA L6-50R * `nema-l10-30r` - NEMA L10-30R * `nema-l14-20r` - NEMA L14-20R * `nema-l14-30r` - NEMA L14-30R * `nema-l14-50r` - NEMA L14-50R * `nema-l14-60r` - NEMA L14-60R * `nema-l15-20r` - NEMA L15-20R * `nema-l15-30r` - NEMA L15-30R * `nema-l15-50r` - NEMA L15-50R * `nema-l15-60r` - NEMA L15-60R * `nema-l21-20r` - NEMA L21-20R * `nema-l21-30r` - NEMA L21-30R * `nema-l22-20r` - NEMA L22-20R * `nema-l22-30r` - NEMA L22-30R * `CS6360C` - CS6360C * `CS6364C` - CS6364C * `CS8164C` - CS8164C * `CS8264C` - CS8264C * `CS8364C` - CS8364C * `CS8464C` - CS8464C * `ita-e` - ITA Type E (CEE 7/5) * `ita-f` - ITA Type F (CEE 7/3) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `ita-multistandard` - ITA Multistandard * `usb-a` - USB Type A * `usb-micro-b` - USB Micro B * `usb-c` - USB Type C * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `eaton-c39` - Eaton C39 * `hdot-cx` - HDOT Cx * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20a` - Neutrik powerCON (20A) * `neutrik-powercon-32a` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other (optional) + typeNie := []openapiclient.DcimPowerOutletsListTypeIcParameterInner{openapiclient.dcim_power_outlets_list_type__ic_parameter_inner("")} // []DcimPowerOutletsListTypeIcParameterInner | Physical port type * `iec-60320-c5` - C5 * `iec-60320-c7` - C7 * `iec-60320-c13` - C13 * `iec-60320-c15` - C15 * `iec-60320-c19` - C19 * `iec-60320-c21` - C21 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15r` - NEMA 1-15R * `nema-5-15r` - NEMA 5-15R * `nema-5-20r` - NEMA 5-20R * `nema-5-30r` - NEMA 5-30R * `nema-5-50r` - NEMA 5-50R * `nema-6-15r` - NEMA 6-15R * `nema-6-20r` - NEMA 6-20R * `nema-6-30r` - NEMA 6-30R * `nema-6-50r` - NEMA 6-50R * `nema-10-30r` - NEMA 10-30R * `nema-10-50r` - NEMA 10-50R * `nema-14-20r` - NEMA 14-20R * `nema-14-30r` - NEMA 14-30R * `nema-14-50r` - NEMA 14-50R * `nema-14-60r` - NEMA 14-60R * `nema-15-15r` - NEMA 15-15R * `nema-15-20r` - NEMA 15-20R * `nema-15-30r` - NEMA 15-30R * `nema-15-50r` - NEMA 15-50R * `nema-15-60r` - NEMA 15-60R * `nema-l1-15r` - NEMA L1-15R * `nema-l5-15r` - NEMA L5-15R * `nema-l5-20r` - NEMA L5-20R * `nema-l5-30r` - NEMA L5-30R * `nema-l5-50r` - NEMA L5-50R * `nema-l6-15r` - NEMA L6-15R * `nema-l6-20r` - NEMA L6-20R * `nema-l6-30r` - NEMA L6-30R * `nema-l6-50r` - NEMA L6-50R * `nema-l10-30r` - NEMA L10-30R * `nema-l14-20r` - NEMA L14-20R * `nema-l14-30r` - NEMA L14-30R * `nema-l14-50r` - NEMA L14-50R * `nema-l14-60r` - NEMA L14-60R * `nema-l15-20r` - NEMA L15-20R * `nema-l15-30r` - NEMA L15-30R * `nema-l15-50r` - NEMA L15-50R * `nema-l15-60r` - NEMA L15-60R * `nema-l21-20r` - NEMA L21-20R * `nema-l21-30r` - NEMA L21-30R * `nema-l22-20r` - NEMA L22-20R * `nema-l22-30r` - NEMA L22-30R * `CS6360C` - CS6360C * `CS6364C` - CS6364C * `CS8164C` - CS8164C * `CS8264C` - CS8264C * `CS8364C` - CS8364C * `CS8464C` - CS8464C * `ita-e` - ITA Type E (CEE 7/5) * `ita-f` - ITA Type F (CEE 7/3) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `ita-multistandard` - ITA Multistandard * `usb-a` - USB Type A * `usb-micro-b` - USB Micro B * `usb-c` - USB Type C * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `eaton-c39` - Eaton C39 * `hdot-cx` - HDOT Cx * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20a` - Neutrik powerCON (20A) * `neutrik-powercon-32a` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other (optional) + typeNiew := []openapiclient.DcimPowerOutletsListTypeIcParameterInner{openapiclient.dcim_power_outlets_list_type__ic_parameter_inner("")} // []DcimPowerOutletsListTypeIcParameterInner | Physical port type * `iec-60320-c5` - C5 * `iec-60320-c7` - C7 * `iec-60320-c13` - C13 * `iec-60320-c15` - C15 * `iec-60320-c19` - C19 * `iec-60320-c21` - C21 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15r` - NEMA 1-15R * `nema-5-15r` - NEMA 5-15R * `nema-5-20r` - NEMA 5-20R * `nema-5-30r` - NEMA 5-30R * `nema-5-50r` - NEMA 5-50R * `nema-6-15r` - NEMA 6-15R * `nema-6-20r` - NEMA 6-20R * `nema-6-30r` - NEMA 6-30R * `nema-6-50r` - NEMA 6-50R * `nema-10-30r` - NEMA 10-30R * `nema-10-50r` - NEMA 10-50R * `nema-14-20r` - NEMA 14-20R * `nema-14-30r` - NEMA 14-30R * `nema-14-50r` - NEMA 14-50R * `nema-14-60r` - NEMA 14-60R * `nema-15-15r` - NEMA 15-15R * `nema-15-20r` - NEMA 15-20R * `nema-15-30r` - NEMA 15-30R * `nema-15-50r` - NEMA 15-50R * `nema-15-60r` - NEMA 15-60R * `nema-l1-15r` - NEMA L1-15R * `nema-l5-15r` - NEMA L5-15R * `nema-l5-20r` - NEMA L5-20R * `nema-l5-30r` - NEMA L5-30R * `nema-l5-50r` - NEMA L5-50R * `nema-l6-15r` - NEMA L6-15R * `nema-l6-20r` - NEMA L6-20R * `nema-l6-30r` - NEMA L6-30R * `nema-l6-50r` - NEMA L6-50R * `nema-l10-30r` - NEMA L10-30R * `nema-l14-20r` - NEMA L14-20R * `nema-l14-30r` - NEMA L14-30R * `nema-l14-50r` - NEMA L14-50R * `nema-l14-60r` - NEMA L14-60R * `nema-l15-20r` - NEMA L15-20R * `nema-l15-30r` - NEMA L15-30R * `nema-l15-50r` - NEMA L15-50R * `nema-l15-60r` - NEMA L15-60R * `nema-l21-20r` - NEMA L21-20R * `nema-l21-30r` - NEMA L21-30R * `nema-l22-20r` - NEMA L22-20R * `nema-l22-30r` - NEMA L22-30R * `CS6360C` - CS6360C * `CS6364C` - CS6364C * `CS8164C` - CS8164C * `CS8264C` - CS8264C * `CS8364C` - CS8364C * `CS8464C` - CS8464C * `ita-e` - ITA Type E (CEE 7/5) * `ita-f` - ITA Type F (CEE 7/3) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `ita-multistandard` - ITA Multistandard * `usb-a` - USB Type A * `usb-micro-b` - USB Micro B * `usb-c` - USB Type C * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `eaton-c39` - Eaton C39 * `hdot-cx` - HDOT Cx * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20a` - Neutrik powerCON (20A) * `neutrik-powercon-32a` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other (optional) + typeNisw := []openapiclient.DcimPowerOutletsListTypeIcParameterInner{openapiclient.dcim_power_outlets_list_type__ic_parameter_inner("")} // []DcimPowerOutletsListTypeIcParameterInner | Physical port type * `iec-60320-c5` - C5 * `iec-60320-c7` - C7 * `iec-60320-c13` - C13 * `iec-60320-c15` - C15 * `iec-60320-c19` - C19 * `iec-60320-c21` - C21 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15r` - NEMA 1-15R * `nema-5-15r` - NEMA 5-15R * `nema-5-20r` - NEMA 5-20R * `nema-5-30r` - NEMA 5-30R * `nema-5-50r` - NEMA 5-50R * `nema-6-15r` - NEMA 6-15R * `nema-6-20r` - NEMA 6-20R * `nema-6-30r` - NEMA 6-30R * `nema-6-50r` - NEMA 6-50R * `nema-10-30r` - NEMA 10-30R * `nema-10-50r` - NEMA 10-50R * `nema-14-20r` - NEMA 14-20R * `nema-14-30r` - NEMA 14-30R * `nema-14-50r` - NEMA 14-50R * `nema-14-60r` - NEMA 14-60R * `nema-15-15r` - NEMA 15-15R * `nema-15-20r` - NEMA 15-20R * `nema-15-30r` - NEMA 15-30R * `nema-15-50r` - NEMA 15-50R * `nema-15-60r` - NEMA 15-60R * `nema-l1-15r` - NEMA L1-15R * `nema-l5-15r` - NEMA L5-15R * `nema-l5-20r` - NEMA L5-20R * `nema-l5-30r` - NEMA L5-30R * `nema-l5-50r` - NEMA L5-50R * `nema-l6-15r` - NEMA L6-15R * `nema-l6-20r` - NEMA L6-20R * `nema-l6-30r` - NEMA L6-30R * `nema-l6-50r` - NEMA L6-50R * `nema-l10-30r` - NEMA L10-30R * `nema-l14-20r` - NEMA L14-20R * `nema-l14-30r` - NEMA L14-30R * `nema-l14-50r` - NEMA L14-50R * `nema-l14-60r` - NEMA L14-60R * `nema-l15-20r` - NEMA L15-20R * `nema-l15-30r` - NEMA L15-30R * `nema-l15-50r` - NEMA L15-50R * `nema-l15-60r` - NEMA L15-60R * `nema-l21-20r` - NEMA L21-20R * `nema-l21-30r` - NEMA L21-30R * `nema-l22-20r` - NEMA L22-20R * `nema-l22-30r` - NEMA L22-30R * `CS6360C` - CS6360C * `CS6364C` - CS6364C * `CS8164C` - CS8164C * `CS8264C` - CS8264C * `CS8364C` - CS8364C * `CS8464C` - CS8464C * `ita-e` - ITA Type E (CEE 7/5) * `ita-f` - ITA Type F (CEE 7/3) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `ita-multistandard` - ITA Multistandard * `usb-a` - USB Type A * `usb-micro-b` - USB Micro B * `usb-c` - USB Type C * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `eaton-c39` - Eaton C39 * `hdot-cx` - HDOT Cx * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20a` - Neutrik powerCON (20A) * `neutrik-powercon-32a` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other (optional) updatedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) virtualChassis := []string{"Inner_example"} // []string | Virtual Chassis (optional) virtualChassisN := []string{"Inner_example"} // []string | Virtual Chassis (optional) @@ -23450,7 +23971,7 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.DcimAPI.DcimPowerOutletsList(context.Background()).CableEnd(cableEnd).CableEndN(cableEndN).CableId(cableId).CableIdN(cableIdN).Cabled(cabled).Connected(connected).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceN(deviceN).DeviceId(deviceId).DeviceIdN(deviceIdN).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).FeedLeg(feedLeg).FeedLegN(feedLegN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).LocationId(locationId).LocationIdN(locationIdN).MarkConnected(markConnected).ModifiedByRequest(modifiedByRequest).ModuleId(moduleId).ModuleIdN(moduleIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Occupied(occupied).Offset(offset).Ordering(ordering).PowerPortId(powerPortId).PowerPortIdN(powerPortIdN).Q(q).Rack(rack).RackN(rackN).RackId(rackId).RackIdN(rackIdN).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Tag(tag).TagN(tagN).Type_(type_).TypeN(typeN).UpdatedByRequest(updatedByRequest).VirtualChassis(virtualChassis).VirtualChassisN(virtualChassisN).VirtualChassisId(virtualChassisId).VirtualChassisIdN(virtualChassisIdN).Execute() + resp, r, err := apiClient.DcimAPI.DcimPowerOutletsList(context.Background()).CableEnd(cableEnd).CableId(cableId).CableIdN(cableIdN).Cabled(cabled).Connected(connected).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceN(deviceN).DeviceId(deviceId).DeviceIdN(deviceIdN).DeviceRole(deviceRole).DeviceRoleN(deviceRoleN).DeviceRoleId(deviceRoleId).DeviceRoleIdN(deviceRoleIdN).DeviceStatus(deviceStatus).DeviceStatusEmpty(deviceStatusEmpty).DeviceStatusIc(deviceStatusIc).DeviceStatusIe(deviceStatusIe).DeviceStatusIew(deviceStatusIew).DeviceStatusIsw(deviceStatusIsw).DeviceStatusN(deviceStatusN).DeviceStatusNic(deviceStatusNic).DeviceStatusNie(deviceStatusNie).DeviceStatusNiew(deviceStatusNiew).DeviceStatusNisw(deviceStatusNisw).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).FeedLeg(feedLeg).FeedLegEmpty(feedLegEmpty).FeedLegIc(feedLegIc).FeedLegIe(feedLegIe).FeedLegIew(feedLegIew).FeedLegIsw(feedLegIsw).FeedLegN(feedLegN).FeedLegNic(feedLegNic).FeedLegNie(feedLegNie).FeedLegNiew(feedLegNiew).FeedLegNisw(feedLegNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).LocationId(locationId).LocationIdN(locationIdN).MarkConnected(markConnected).ModifiedByRequest(modifiedByRequest).ModuleId(moduleId).ModuleIdN(moduleIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Occupied(occupied).Offset(offset).Ordering(ordering).PowerPortId(powerPortId).PowerPortIdN(powerPortIdN).Q(q).Rack(rack).RackN(rackN).RackId(rackId).RackIdN(rackIdN).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Tag(tag).TagN(tagN).Type_(type_).TypeEmpty(typeEmpty).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNisw(typeNisw).UpdatedByRequest(updatedByRequest).VirtualChassis(virtualChassis).VirtualChassisN(virtualChassisN).VirtualChassisId(virtualChassisId).VirtualChassisIdN(virtualChassisIdN).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerOutletsList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -23472,7 +23993,6 @@ Other parameters are passed through a pointer to a apiDcimPowerOutletsListReques Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **cableEnd** | [**CircuitsCircuitTerminationsListCableEndParameter**](CircuitsCircuitTerminationsListCableEndParameter.md) | * `A` - A * `B` - B | - **cableEndN** | [**CircuitsCircuitTerminationsListCableEndParameter**](CircuitsCircuitTerminationsListCableEndParameter.md) | * `A` - A * `B` - B | **cableId** | **[]int32** | Cable (ID) | **cableIdN** | **[]int32** | Cable (ID) | **cabled** | **bool** | | @@ -23500,12 +24020,36 @@ Name | Type | Description | Notes **deviceN** | **[]string** | Device (name) | **deviceId** | **[]int32** | Device (ID) | **deviceIdN** | **[]int32** | Device (ID) | + **deviceRole** | **[]string** | Device role (slug) | + **deviceRoleN** | **[]string** | Device role (slug) | + **deviceRoleId** | **[]int32** | Device role (ID) | + **deviceRoleIdN** | **[]int32** | Device role (ID) | + **deviceStatus** | **[]string** | | + **deviceStatusEmpty** | **bool** | | + **deviceStatusIc** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusIe** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusIew** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusIsw** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusN** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusNic** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusNie** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusNiew** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusNisw** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | **deviceType** | **[]string** | Device type (model) | **deviceTypeN** | **[]string** | Device type (model) | **deviceTypeId** | **[]int32** | Device type (ID) | **deviceTypeIdN** | **[]int32** | Device type (ID) | **feedLeg** | **[]string** | Phase (for three-phase feeds) | - **feedLegN** | **[]string** | Phase (for three-phase feeds) | + **feedLegEmpty** | **bool** | | + **feedLegIc** | [**[]DcimPowerOutletTemplatesListFeedLegIcParameterInner**](DcimPowerOutletTemplatesListFeedLegIcParameterInner.md) | Phase (for three-phase feeds) * `A` - A * `B` - B * `C` - C | + **feedLegIe** | [**[]DcimPowerOutletTemplatesListFeedLegIcParameterInner**](DcimPowerOutletTemplatesListFeedLegIcParameterInner.md) | Phase (for three-phase feeds) * `A` - A * `B` - B * `C` - C | + **feedLegIew** | [**[]DcimPowerOutletTemplatesListFeedLegIcParameterInner**](DcimPowerOutletTemplatesListFeedLegIcParameterInner.md) | Phase (for three-phase feeds) * `A` - A * `B` - B * `C` - C | + **feedLegIsw** | [**[]DcimPowerOutletTemplatesListFeedLegIcParameterInner**](DcimPowerOutletTemplatesListFeedLegIcParameterInner.md) | Phase (for three-phase feeds) * `A` - A * `B` - B * `C` - C | + **feedLegN** | [**[]DcimPowerOutletTemplatesListFeedLegIcParameterInner**](DcimPowerOutletTemplatesListFeedLegIcParameterInner.md) | Phase (for three-phase feeds) * `A` - A * `B` - B * `C` - C | + **feedLegNic** | [**[]DcimPowerOutletTemplatesListFeedLegIcParameterInner**](DcimPowerOutletTemplatesListFeedLegIcParameterInner.md) | Phase (for three-phase feeds) * `A` - A * `B` - B * `C` - C | + **feedLegNie** | [**[]DcimPowerOutletTemplatesListFeedLegIcParameterInner**](DcimPowerOutletTemplatesListFeedLegIcParameterInner.md) | Phase (for three-phase feeds) * `A` - A * `B` - B * `C` - C | + **feedLegNiew** | [**[]DcimPowerOutletTemplatesListFeedLegIcParameterInner**](DcimPowerOutletTemplatesListFeedLegIcParameterInner.md) | Phase (for three-phase feeds) * `A` - A * `B` - B * `C` - C | + **feedLegNisw** | [**[]DcimPowerOutletTemplatesListFeedLegIcParameterInner**](DcimPowerOutletTemplatesListFeedLegIcParameterInner.md) | Phase (for three-phase feeds) * `A` - A * `B` - B * `C` - C | **id** | **[]int32** | | **idEmpty** | **bool** | | **idGt** | **[]int32** | | @@ -23561,26 +24105,31 @@ Name | Type | Description | Notes **rackN** | **[]string** | Rack (name) | **rackId** | **[]int32** | Rack (ID) | **rackIdN** | **[]int32** | Rack (ID) | - **region** | **[]int32** | Region (slug) | - **regionN** | **[]int32** | Region (slug) | - **regionId** | **[]int32** | Region (ID) | - **regionIdN** | **[]int32** | Region (ID) | - **role** | **[]string** | Device role (slug) | - **roleN** | **[]string** | Device role (slug) | - **roleId** | **[]int32** | Device role (ID) | - **roleIdN** | **[]int32** | Device role (ID) | + **region** | **[]string** | | + **regionN** | **[]string** | | + **regionId** | **[]string** | | + **regionIdN** | **[]string** | | **site** | **[]string** | Site name (slug) | **siteN** | **[]string** | Site name (slug) | - **siteGroup** | **[]int32** | Site group (slug) | - **siteGroupN** | **[]int32** | Site group (slug) | - **siteGroupId** | **[]int32** | Site group (ID) | - **siteGroupIdN** | **[]int32** | Site group (ID) | + **siteGroup** | **[]string** | | + **siteGroupN** | **[]string** | | + **siteGroupId** | **[]string** | | + **siteGroupIdN** | **[]string** | | **siteId** | **[]int32** | Site (ID) | **siteIdN** | **[]int32** | Site (ID) | **tag** | **[]string** | | **tagN** | **[]string** | | **type_** | **[]string** | Physical port type | - **typeN** | **[]string** | Physical port type | + **typeEmpty** | **bool** | | + **typeIc** | [**[]DcimPowerOutletsListTypeIcParameterInner**](DcimPowerOutletsListTypeIcParameterInner.md) | Physical port type * `iec-60320-c5` - C5 * `iec-60320-c7` - C7 * `iec-60320-c13` - C13 * `iec-60320-c15` - C15 * `iec-60320-c19` - C19 * `iec-60320-c21` - C21 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15r` - NEMA 1-15R * `nema-5-15r` - NEMA 5-15R * `nema-5-20r` - NEMA 5-20R * `nema-5-30r` - NEMA 5-30R * `nema-5-50r` - NEMA 5-50R * `nema-6-15r` - NEMA 6-15R * `nema-6-20r` - NEMA 6-20R * `nema-6-30r` - NEMA 6-30R * `nema-6-50r` - NEMA 6-50R * `nema-10-30r` - NEMA 10-30R * `nema-10-50r` - NEMA 10-50R * `nema-14-20r` - NEMA 14-20R * `nema-14-30r` - NEMA 14-30R * `nema-14-50r` - NEMA 14-50R * `nema-14-60r` - NEMA 14-60R * `nema-15-15r` - NEMA 15-15R * `nema-15-20r` - NEMA 15-20R * `nema-15-30r` - NEMA 15-30R * `nema-15-50r` - NEMA 15-50R * `nema-15-60r` - NEMA 15-60R * `nema-l1-15r` - NEMA L1-15R * `nema-l5-15r` - NEMA L5-15R * `nema-l5-20r` - NEMA L5-20R * `nema-l5-30r` - NEMA L5-30R * `nema-l5-50r` - NEMA L5-50R * `nema-l6-15r` - NEMA L6-15R * `nema-l6-20r` - NEMA L6-20R * `nema-l6-30r` - NEMA L6-30R * `nema-l6-50r` - NEMA L6-50R * `nema-l10-30r` - NEMA L10-30R * `nema-l14-20r` - NEMA L14-20R * `nema-l14-30r` - NEMA L14-30R * `nema-l14-50r` - NEMA L14-50R * `nema-l14-60r` - NEMA L14-60R * `nema-l15-20r` - NEMA L15-20R * `nema-l15-30r` - NEMA L15-30R * `nema-l15-50r` - NEMA L15-50R * `nema-l15-60r` - NEMA L15-60R * `nema-l21-20r` - NEMA L21-20R * `nema-l21-30r` - NEMA L21-30R * `nema-l22-20r` - NEMA L22-20R * `nema-l22-30r` - NEMA L22-30R * `CS6360C` - CS6360C * `CS6364C` - CS6364C * `CS8164C` - CS8164C * `CS8264C` - CS8264C * `CS8364C` - CS8364C * `CS8464C` - CS8464C * `ita-e` - ITA Type E (CEE 7/5) * `ita-f` - ITA Type F (CEE 7/3) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `ita-multistandard` - ITA Multistandard * `usb-a` - USB Type A * `usb-micro-b` - USB Micro B * `usb-c` - USB Type C * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `eaton-c39` - Eaton C39 * `hdot-cx` - HDOT Cx * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20a` - Neutrik powerCON (20A) * `neutrik-powercon-32a` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other | + **typeIe** | [**[]DcimPowerOutletsListTypeIcParameterInner**](DcimPowerOutletsListTypeIcParameterInner.md) | Physical port type * `iec-60320-c5` - C5 * `iec-60320-c7` - C7 * `iec-60320-c13` - C13 * `iec-60320-c15` - C15 * `iec-60320-c19` - C19 * `iec-60320-c21` - C21 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15r` - NEMA 1-15R * `nema-5-15r` - NEMA 5-15R * `nema-5-20r` - NEMA 5-20R * `nema-5-30r` - NEMA 5-30R * `nema-5-50r` - NEMA 5-50R * `nema-6-15r` - NEMA 6-15R * `nema-6-20r` - NEMA 6-20R * `nema-6-30r` - NEMA 6-30R * `nema-6-50r` - NEMA 6-50R * `nema-10-30r` - NEMA 10-30R * `nema-10-50r` - NEMA 10-50R * `nema-14-20r` - NEMA 14-20R * `nema-14-30r` - NEMA 14-30R * `nema-14-50r` - NEMA 14-50R * `nema-14-60r` - NEMA 14-60R * `nema-15-15r` - NEMA 15-15R * `nema-15-20r` - NEMA 15-20R * `nema-15-30r` - NEMA 15-30R * `nema-15-50r` - NEMA 15-50R * `nema-15-60r` - NEMA 15-60R * `nema-l1-15r` - NEMA L1-15R * `nema-l5-15r` - NEMA L5-15R * `nema-l5-20r` - NEMA L5-20R * `nema-l5-30r` - NEMA L5-30R * `nema-l5-50r` - NEMA L5-50R * `nema-l6-15r` - NEMA L6-15R * `nema-l6-20r` - NEMA L6-20R * `nema-l6-30r` - NEMA L6-30R * `nema-l6-50r` - NEMA L6-50R * `nema-l10-30r` - NEMA L10-30R * `nema-l14-20r` - NEMA L14-20R * `nema-l14-30r` - NEMA L14-30R * `nema-l14-50r` - NEMA L14-50R * `nema-l14-60r` - NEMA L14-60R * `nema-l15-20r` - NEMA L15-20R * `nema-l15-30r` - NEMA L15-30R * `nema-l15-50r` - NEMA L15-50R * `nema-l15-60r` - NEMA L15-60R * `nema-l21-20r` - NEMA L21-20R * `nema-l21-30r` - NEMA L21-30R * `nema-l22-20r` - NEMA L22-20R * `nema-l22-30r` - NEMA L22-30R * `CS6360C` - CS6360C * `CS6364C` - CS6364C * `CS8164C` - CS8164C * `CS8264C` - CS8264C * `CS8364C` - CS8364C * `CS8464C` - CS8464C * `ita-e` - ITA Type E (CEE 7/5) * `ita-f` - ITA Type F (CEE 7/3) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `ita-multistandard` - ITA Multistandard * `usb-a` - USB Type A * `usb-micro-b` - USB Micro B * `usb-c` - USB Type C * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `eaton-c39` - Eaton C39 * `hdot-cx` - HDOT Cx * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20a` - Neutrik powerCON (20A) * `neutrik-powercon-32a` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other | + **typeIew** | [**[]DcimPowerOutletsListTypeIcParameterInner**](DcimPowerOutletsListTypeIcParameterInner.md) | Physical port type * `iec-60320-c5` - C5 * `iec-60320-c7` - C7 * `iec-60320-c13` - C13 * `iec-60320-c15` - C15 * `iec-60320-c19` - C19 * `iec-60320-c21` - C21 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15r` - NEMA 1-15R * `nema-5-15r` - NEMA 5-15R * `nema-5-20r` - NEMA 5-20R * `nema-5-30r` - NEMA 5-30R * `nema-5-50r` - NEMA 5-50R * `nema-6-15r` - NEMA 6-15R * `nema-6-20r` - NEMA 6-20R * `nema-6-30r` - NEMA 6-30R * `nema-6-50r` - NEMA 6-50R * `nema-10-30r` - NEMA 10-30R * `nema-10-50r` - NEMA 10-50R * `nema-14-20r` - NEMA 14-20R * `nema-14-30r` - NEMA 14-30R * `nema-14-50r` - NEMA 14-50R * `nema-14-60r` - NEMA 14-60R * `nema-15-15r` - NEMA 15-15R * `nema-15-20r` - NEMA 15-20R * `nema-15-30r` - NEMA 15-30R * `nema-15-50r` - NEMA 15-50R * `nema-15-60r` - NEMA 15-60R * `nema-l1-15r` - NEMA L1-15R * `nema-l5-15r` - NEMA L5-15R * `nema-l5-20r` - NEMA L5-20R * `nema-l5-30r` - NEMA L5-30R * `nema-l5-50r` - NEMA L5-50R * `nema-l6-15r` - NEMA L6-15R * `nema-l6-20r` - NEMA L6-20R * `nema-l6-30r` - NEMA L6-30R * `nema-l6-50r` - NEMA L6-50R * `nema-l10-30r` - NEMA L10-30R * `nema-l14-20r` - NEMA L14-20R * `nema-l14-30r` - NEMA L14-30R * `nema-l14-50r` - NEMA L14-50R * `nema-l14-60r` - NEMA L14-60R * `nema-l15-20r` - NEMA L15-20R * `nema-l15-30r` - NEMA L15-30R * `nema-l15-50r` - NEMA L15-50R * `nema-l15-60r` - NEMA L15-60R * `nema-l21-20r` - NEMA L21-20R * `nema-l21-30r` - NEMA L21-30R * `nema-l22-20r` - NEMA L22-20R * `nema-l22-30r` - NEMA L22-30R * `CS6360C` - CS6360C * `CS6364C` - CS6364C * `CS8164C` - CS8164C * `CS8264C` - CS8264C * `CS8364C` - CS8364C * `CS8464C` - CS8464C * `ita-e` - ITA Type E (CEE 7/5) * `ita-f` - ITA Type F (CEE 7/3) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `ita-multistandard` - ITA Multistandard * `usb-a` - USB Type A * `usb-micro-b` - USB Micro B * `usb-c` - USB Type C * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `eaton-c39` - Eaton C39 * `hdot-cx` - HDOT Cx * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20a` - Neutrik powerCON (20A) * `neutrik-powercon-32a` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other | + **typeIsw** | [**[]DcimPowerOutletsListTypeIcParameterInner**](DcimPowerOutletsListTypeIcParameterInner.md) | Physical port type * `iec-60320-c5` - C5 * `iec-60320-c7` - C7 * `iec-60320-c13` - C13 * `iec-60320-c15` - C15 * `iec-60320-c19` - C19 * `iec-60320-c21` - C21 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15r` - NEMA 1-15R * `nema-5-15r` - NEMA 5-15R * `nema-5-20r` - NEMA 5-20R * `nema-5-30r` - NEMA 5-30R * `nema-5-50r` - NEMA 5-50R * `nema-6-15r` - NEMA 6-15R * `nema-6-20r` - NEMA 6-20R * `nema-6-30r` - NEMA 6-30R * `nema-6-50r` - NEMA 6-50R * `nema-10-30r` - NEMA 10-30R * `nema-10-50r` - NEMA 10-50R * `nema-14-20r` - NEMA 14-20R * `nema-14-30r` - NEMA 14-30R * `nema-14-50r` - NEMA 14-50R * `nema-14-60r` - NEMA 14-60R * `nema-15-15r` - NEMA 15-15R * `nema-15-20r` - NEMA 15-20R * `nema-15-30r` - NEMA 15-30R * `nema-15-50r` - NEMA 15-50R * `nema-15-60r` - NEMA 15-60R * `nema-l1-15r` - NEMA L1-15R * `nema-l5-15r` - NEMA L5-15R * `nema-l5-20r` - NEMA L5-20R * `nema-l5-30r` - NEMA L5-30R * `nema-l5-50r` - NEMA L5-50R * `nema-l6-15r` - NEMA L6-15R * `nema-l6-20r` - NEMA L6-20R * `nema-l6-30r` - NEMA L6-30R * `nema-l6-50r` - NEMA L6-50R * `nema-l10-30r` - NEMA L10-30R * `nema-l14-20r` - NEMA L14-20R * `nema-l14-30r` - NEMA L14-30R * `nema-l14-50r` - NEMA L14-50R * `nema-l14-60r` - NEMA L14-60R * `nema-l15-20r` - NEMA L15-20R * `nema-l15-30r` - NEMA L15-30R * `nema-l15-50r` - NEMA L15-50R * `nema-l15-60r` - NEMA L15-60R * `nema-l21-20r` - NEMA L21-20R * `nema-l21-30r` - NEMA L21-30R * `nema-l22-20r` - NEMA L22-20R * `nema-l22-30r` - NEMA L22-30R * `CS6360C` - CS6360C * `CS6364C` - CS6364C * `CS8164C` - CS8164C * `CS8264C` - CS8264C * `CS8364C` - CS8364C * `CS8464C` - CS8464C * `ita-e` - ITA Type E (CEE 7/5) * `ita-f` - ITA Type F (CEE 7/3) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `ita-multistandard` - ITA Multistandard * `usb-a` - USB Type A * `usb-micro-b` - USB Micro B * `usb-c` - USB Type C * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `eaton-c39` - Eaton C39 * `hdot-cx` - HDOT Cx * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20a` - Neutrik powerCON (20A) * `neutrik-powercon-32a` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other | + **typeN** | [**[]DcimPowerOutletsListTypeIcParameterInner**](DcimPowerOutletsListTypeIcParameterInner.md) | Physical port type * `iec-60320-c5` - C5 * `iec-60320-c7` - C7 * `iec-60320-c13` - C13 * `iec-60320-c15` - C15 * `iec-60320-c19` - C19 * `iec-60320-c21` - C21 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15r` - NEMA 1-15R * `nema-5-15r` - NEMA 5-15R * `nema-5-20r` - NEMA 5-20R * `nema-5-30r` - NEMA 5-30R * `nema-5-50r` - NEMA 5-50R * `nema-6-15r` - NEMA 6-15R * `nema-6-20r` - NEMA 6-20R * `nema-6-30r` - NEMA 6-30R * `nema-6-50r` - NEMA 6-50R * `nema-10-30r` - NEMA 10-30R * `nema-10-50r` - NEMA 10-50R * `nema-14-20r` - NEMA 14-20R * `nema-14-30r` - NEMA 14-30R * `nema-14-50r` - NEMA 14-50R * `nema-14-60r` - NEMA 14-60R * `nema-15-15r` - NEMA 15-15R * `nema-15-20r` - NEMA 15-20R * `nema-15-30r` - NEMA 15-30R * `nema-15-50r` - NEMA 15-50R * `nema-15-60r` - NEMA 15-60R * `nema-l1-15r` - NEMA L1-15R * `nema-l5-15r` - NEMA L5-15R * `nema-l5-20r` - NEMA L5-20R * `nema-l5-30r` - NEMA L5-30R * `nema-l5-50r` - NEMA L5-50R * `nema-l6-15r` - NEMA L6-15R * `nema-l6-20r` - NEMA L6-20R * `nema-l6-30r` - NEMA L6-30R * `nema-l6-50r` - NEMA L6-50R * `nema-l10-30r` - NEMA L10-30R * `nema-l14-20r` - NEMA L14-20R * `nema-l14-30r` - NEMA L14-30R * `nema-l14-50r` - NEMA L14-50R * `nema-l14-60r` - NEMA L14-60R * `nema-l15-20r` - NEMA L15-20R * `nema-l15-30r` - NEMA L15-30R * `nema-l15-50r` - NEMA L15-50R * `nema-l15-60r` - NEMA L15-60R * `nema-l21-20r` - NEMA L21-20R * `nema-l21-30r` - NEMA L21-30R * `nema-l22-20r` - NEMA L22-20R * `nema-l22-30r` - NEMA L22-30R * `CS6360C` - CS6360C * `CS6364C` - CS6364C * `CS8164C` - CS8164C * `CS8264C` - CS8264C * `CS8364C` - CS8364C * `CS8464C` - CS8464C * `ita-e` - ITA Type E (CEE 7/5) * `ita-f` - ITA Type F (CEE 7/3) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `ita-multistandard` - ITA Multistandard * `usb-a` - USB Type A * `usb-micro-b` - USB Micro B * `usb-c` - USB Type C * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `eaton-c39` - Eaton C39 * `hdot-cx` - HDOT Cx * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20a` - Neutrik powerCON (20A) * `neutrik-powercon-32a` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other | + **typeNic** | [**[]DcimPowerOutletsListTypeIcParameterInner**](DcimPowerOutletsListTypeIcParameterInner.md) | Physical port type * `iec-60320-c5` - C5 * `iec-60320-c7` - C7 * `iec-60320-c13` - C13 * `iec-60320-c15` - C15 * `iec-60320-c19` - C19 * `iec-60320-c21` - C21 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15r` - NEMA 1-15R * `nema-5-15r` - NEMA 5-15R * `nema-5-20r` - NEMA 5-20R * `nema-5-30r` - NEMA 5-30R * `nema-5-50r` - NEMA 5-50R * `nema-6-15r` - NEMA 6-15R * `nema-6-20r` - NEMA 6-20R * `nema-6-30r` - NEMA 6-30R * `nema-6-50r` - NEMA 6-50R * `nema-10-30r` - NEMA 10-30R * `nema-10-50r` - NEMA 10-50R * `nema-14-20r` - NEMA 14-20R * `nema-14-30r` - NEMA 14-30R * `nema-14-50r` - NEMA 14-50R * `nema-14-60r` - NEMA 14-60R * `nema-15-15r` - NEMA 15-15R * `nema-15-20r` - NEMA 15-20R * `nema-15-30r` - NEMA 15-30R * `nema-15-50r` - NEMA 15-50R * `nema-15-60r` - NEMA 15-60R * `nema-l1-15r` - NEMA L1-15R * `nema-l5-15r` - NEMA L5-15R * `nema-l5-20r` - NEMA L5-20R * `nema-l5-30r` - NEMA L5-30R * `nema-l5-50r` - NEMA L5-50R * `nema-l6-15r` - NEMA L6-15R * `nema-l6-20r` - NEMA L6-20R * `nema-l6-30r` - NEMA L6-30R * `nema-l6-50r` - NEMA L6-50R * `nema-l10-30r` - NEMA L10-30R * `nema-l14-20r` - NEMA L14-20R * `nema-l14-30r` - NEMA L14-30R * `nema-l14-50r` - NEMA L14-50R * `nema-l14-60r` - NEMA L14-60R * `nema-l15-20r` - NEMA L15-20R * `nema-l15-30r` - NEMA L15-30R * `nema-l15-50r` - NEMA L15-50R * `nema-l15-60r` - NEMA L15-60R * `nema-l21-20r` - NEMA L21-20R * `nema-l21-30r` - NEMA L21-30R * `nema-l22-20r` - NEMA L22-20R * `nema-l22-30r` - NEMA L22-30R * `CS6360C` - CS6360C * `CS6364C` - CS6364C * `CS8164C` - CS8164C * `CS8264C` - CS8264C * `CS8364C` - CS8364C * `CS8464C` - CS8464C * `ita-e` - ITA Type E (CEE 7/5) * `ita-f` - ITA Type F (CEE 7/3) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `ita-multistandard` - ITA Multistandard * `usb-a` - USB Type A * `usb-micro-b` - USB Micro B * `usb-c` - USB Type C * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `eaton-c39` - Eaton C39 * `hdot-cx` - HDOT Cx * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20a` - Neutrik powerCON (20A) * `neutrik-powercon-32a` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other | + **typeNie** | [**[]DcimPowerOutletsListTypeIcParameterInner**](DcimPowerOutletsListTypeIcParameterInner.md) | Physical port type * `iec-60320-c5` - C5 * `iec-60320-c7` - C7 * `iec-60320-c13` - C13 * `iec-60320-c15` - C15 * `iec-60320-c19` - C19 * `iec-60320-c21` - C21 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15r` - NEMA 1-15R * `nema-5-15r` - NEMA 5-15R * `nema-5-20r` - NEMA 5-20R * `nema-5-30r` - NEMA 5-30R * `nema-5-50r` - NEMA 5-50R * `nema-6-15r` - NEMA 6-15R * `nema-6-20r` - NEMA 6-20R * `nema-6-30r` - NEMA 6-30R * `nema-6-50r` - NEMA 6-50R * `nema-10-30r` - NEMA 10-30R * `nema-10-50r` - NEMA 10-50R * `nema-14-20r` - NEMA 14-20R * `nema-14-30r` - NEMA 14-30R * `nema-14-50r` - NEMA 14-50R * `nema-14-60r` - NEMA 14-60R * `nema-15-15r` - NEMA 15-15R * `nema-15-20r` - NEMA 15-20R * `nema-15-30r` - NEMA 15-30R * `nema-15-50r` - NEMA 15-50R * `nema-15-60r` - NEMA 15-60R * `nema-l1-15r` - NEMA L1-15R * `nema-l5-15r` - NEMA L5-15R * `nema-l5-20r` - NEMA L5-20R * `nema-l5-30r` - NEMA L5-30R * `nema-l5-50r` - NEMA L5-50R * `nema-l6-15r` - NEMA L6-15R * `nema-l6-20r` - NEMA L6-20R * `nema-l6-30r` - NEMA L6-30R * `nema-l6-50r` - NEMA L6-50R * `nema-l10-30r` - NEMA L10-30R * `nema-l14-20r` - NEMA L14-20R * `nema-l14-30r` - NEMA L14-30R * `nema-l14-50r` - NEMA L14-50R * `nema-l14-60r` - NEMA L14-60R * `nema-l15-20r` - NEMA L15-20R * `nema-l15-30r` - NEMA L15-30R * `nema-l15-50r` - NEMA L15-50R * `nema-l15-60r` - NEMA L15-60R * `nema-l21-20r` - NEMA L21-20R * `nema-l21-30r` - NEMA L21-30R * `nema-l22-20r` - NEMA L22-20R * `nema-l22-30r` - NEMA L22-30R * `CS6360C` - CS6360C * `CS6364C` - CS6364C * `CS8164C` - CS8164C * `CS8264C` - CS8264C * `CS8364C` - CS8364C * `CS8464C` - CS8464C * `ita-e` - ITA Type E (CEE 7/5) * `ita-f` - ITA Type F (CEE 7/3) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `ita-multistandard` - ITA Multistandard * `usb-a` - USB Type A * `usb-micro-b` - USB Micro B * `usb-c` - USB Type C * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `eaton-c39` - Eaton C39 * `hdot-cx` - HDOT Cx * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20a` - Neutrik powerCON (20A) * `neutrik-powercon-32a` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other | + **typeNiew** | [**[]DcimPowerOutletsListTypeIcParameterInner**](DcimPowerOutletsListTypeIcParameterInner.md) | Physical port type * `iec-60320-c5` - C5 * `iec-60320-c7` - C7 * `iec-60320-c13` - C13 * `iec-60320-c15` - C15 * `iec-60320-c19` - C19 * `iec-60320-c21` - C21 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15r` - NEMA 1-15R * `nema-5-15r` - NEMA 5-15R * `nema-5-20r` - NEMA 5-20R * `nema-5-30r` - NEMA 5-30R * `nema-5-50r` - NEMA 5-50R * `nema-6-15r` - NEMA 6-15R * `nema-6-20r` - NEMA 6-20R * `nema-6-30r` - NEMA 6-30R * `nema-6-50r` - NEMA 6-50R * `nema-10-30r` - NEMA 10-30R * `nema-10-50r` - NEMA 10-50R * `nema-14-20r` - NEMA 14-20R * `nema-14-30r` - NEMA 14-30R * `nema-14-50r` - NEMA 14-50R * `nema-14-60r` - NEMA 14-60R * `nema-15-15r` - NEMA 15-15R * `nema-15-20r` - NEMA 15-20R * `nema-15-30r` - NEMA 15-30R * `nema-15-50r` - NEMA 15-50R * `nema-15-60r` - NEMA 15-60R * `nema-l1-15r` - NEMA L1-15R * `nema-l5-15r` - NEMA L5-15R * `nema-l5-20r` - NEMA L5-20R * `nema-l5-30r` - NEMA L5-30R * `nema-l5-50r` - NEMA L5-50R * `nema-l6-15r` - NEMA L6-15R * `nema-l6-20r` - NEMA L6-20R * `nema-l6-30r` - NEMA L6-30R * `nema-l6-50r` - NEMA L6-50R * `nema-l10-30r` - NEMA L10-30R * `nema-l14-20r` - NEMA L14-20R * `nema-l14-30r` - NEMA L14-30R * `nema-l14-50r` - NEMA L14-50R * `nema-l14-60r` - NEMA L14-60R * `nema-l15-20r` - NEMA L15-20R * `nema-l15-30r` - NEMA L15-30R * `nema-l15-50r` - NEMA L15-50R * `nema-l15-60r` - NEMA L15-60R * `nema-l21-20r` - NEMA L21-20R * `nema-l21-30r` - NEMA L21-30R * `nema-l22-20r` - NEMA L22-20R * `nema-l22-30r` - NEMA L22-30R * `CS6360C` - CS6360C * `CS6364C` - CS6364C * `CS8164C` - CS8164C * `CS8264C` - CS8264C * `CS8364C` - CS8364C * `CS8464C` - CS8464C * `ita-e` - ITA Type E (CEE 7/5) * `ita-f` - ITA Type F (CEE 7/3) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `ita-multistandard` - ITA Multistandard * `usb-a` - USB Type A * `usb-micro-b` - USB Micro B * `usb-c` - USB Type C * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `eaton-c39` - Eaton C39 * `hdot-cx` - HDOT Cx * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20a` - Neutrik powerCON (20A) * `neutrik-powercon-32a` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other | + **typeNisw** | [**[]DcimPowerOutletsListTypeIcParameterInner**](DcimPowerOutletsListTypeIcParameterInner.md) | Physical port type * `iec-60320-c5` - C5 * `iec-60320-c7` - C7 * `iec-60320-c13` - C13 * `iec-60320-c15` - C15 * `iec-60320-c19` - C19 * `iec-60320-c21` - C21 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15r` - NEMA 1-15R * `nema-5-15r` - NEMA 5-15R * `nema-5-20r` - NEMA 5-20R * `nema-5-30r` - NEMA 5-30R * `nema-5-50r` - NEMA 5-50R * `nema-6-15r` - NEMA 6-15R * `nema-6-20r` - NEMA 6-20R * `nema-6-30r` - NEMA 6-30R * `nema-6-50r` - NEMA 6-50R * `nema-10-30r` - NEMA 10-30R * `nema-10-50r` - NEMA 10-50R * `nema-14-20r` - NEMA 14-20R * `nema-14-30r` - NEMA 14-30R * `nema-14-50r` - NEMA 14-50R * `nema-14-60r` - NEMA 14-60R * `nema-15-15r` - NEMA 15-15R * `nema-15-20r` - NEMA 15-20R * `nema-15-30r` - NEMA 15-30R * `nema-15-50r` - NEMA 15-50R * `nema-15-60r` - NEMA 15-60R * `nema-l1-15r` - NEMA L1-15R * `nema-l5-15r` - NEMA L5-15R * `nema-l5-20r` - NEMA L5-20R * `nema-l5-30r` - NEMA L5-30R * `nema-l5-50r` - NEMA L5-50R * `nema-l6-15r` - NEMA L6-15R * `nema-l6-20r` - NEMA L6-20R * `nema-l6-30r` - NEMA L6-30R * `nema-l6-50r` - NEMA L6-50R * `nema-l10-30r` - NEMA L10-30R * `nema-l14-20r` - NEMA L14-20R * `nema-l14-30r` - NEMA L14-30R * `nema-l14-50r` - NEMA L14-50R * `nema-l14-60r` - NEMA L14-60R * `nema-l15-20r` - NEMA L15-20R * `nema-l15-30r` - NEMA L15-30R * `nema-l15-50r` - NEMA L15-50R * `nema-l15-60r` - NEMA L15-60R * `nema-l21-20r` - NEMA L21-20R * `nema-l21-30r` - NEMA L21-30R * `nema-l22-20r` - NEMA L22-20R * `nema-l22-30r` - NEMA L22-30R * `CS6360C` - CS6360C * `CS6364C` - CS6364C * `CS8164C` - CS8164C * `CS8264C` - CS8264C * `CS8364C` - CS8364C * `CS8464C` - CS8464C * `ita-e` - ITA Type E (CEE 7/5) * `ita-f` - ITA Type F (CEE 7/3) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `ita-multistandard` - ITA Multistandard * `usb-a` - USB Type A * `usb-micro-b` - USB Micro B * `usb-c` - USB Type C * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `eaton-c39` - Eaton C39 * `hdot-cx` - HDOT Cx * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20a` - Neutrik powerCON (20A) * `neutrik-powercon-32a` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other | **updatedByRequest** | **string** | | **virtualChassis** | **[]string** | Virtual Chassis | **virtualChassisN** | **[]string** | Virtual Chassis | @@ -23839,7 +24388,7 @@ import ( func main() { id := int32(56) // int32 | A unique integer value identifying this power outlet. - writablePowerOutletRequest := *openapiclient.NewWritablePowerOutletRequest(*openapiclient.NewDeviceRequest(), "Name_example") // WritablePowerOutletRequest | + writablePowerOutletRequest := *openapiclient.NewWritablePowerOutletRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example") // WritablePowerOutletRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -23910,7 +24459,7 @@ import ( ) func main() { - powerPanelRequest := []openapiclient.PowerPanelRequest{*openapiclient.NewPowerPanelRequest("Name_example")} // []PowerPanelRequest | + powerPanelRequest := []openapiclient.PowerPanelRequest{*openapiclient.NewPowerPanelRequest(*openapiclient.NewBriefSiteRequest("Name_example", "Slug_example"), "Name_example")} // []PowerPanelRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -23974,7 +24523,7 @@ import ( ) func main() { - powerPanelRequest := []openapiclient.PowerPanelRequest{*openapiclient.NewPowerPanelRequest("Name_example")} // []PowerPanelRequest | + powerPanelRequest := []openapiclient.PowerPanelRequest{*openapiclient.NewPowerPanelRequest(*openapiclient.NewBriefSiteRequest("Name_example", "Slug_example"), "Name_example")} // []PowerPanelRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -24040,7 +24589,7 @@ import ( ) func main() { - powerPanelRequest := []openapiclient.PowerPanelRequest{*openapiclient.NewPowerPanelRequest("Name_example")} // []PowerPanelRequest | + powerPanelRequest := []openapiclient.PowerPanelRequest{*openapiclient.NewPowerPanelRequest(*openapiclient.NewBriefSiteRequest("Name_example", "Slug_example"), "Name_example")} // []PowerPanelRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -24106,7 +24655,7 @@ import ( ) func main() { - powerPanelRequest := *openapiclient.NewPowerPanelRequest("Name_example") // PowerPanelRequest | + powerPanelRequest := *openapiclient.NewPowerPanelRequest(*openapiclient.NewBriefSiteRequest("Name_example", "Slug_example"), "Name_example") // PowerPanelRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -24243,8 +24792,8 @@ import ( func main() { contact := []int32{int32(123)} // []int32 | Contact (optional) contactN := []int32{int32(123)} // []int32 | Contact (optional) - contactGroup := []int32{int32(123)} // []int32 | Contact group (optional) - contactGroupN := []int32{int32(123)} // []int32 | Contact group (optional) + contactGroup := []string{"Inner_example"} // []string | (optional) + contactGroupN := []string{"Inner_example"} // []string | (optional) contactRole := []int32{int32(123)} // []int32 | Contact Role (optional) contactRoleN := []int32{int32(123)} // []int32 | Contact Role (optional) created := []time.Time{time.Now()} // []time.Time | (optional) @@ -24281,8 +24830,8 @@ 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) - locationId := []int32{int32(123)} // []int32 | Location (ID) (optional) - locationIdN := []int32{int32(123)} // []int32 | Location (ID) (optional) + locationId := []string{"Inner_example"} // []string | (optional) + locationIdN := []string{"Inner_example"} // []string | (optional) modifiedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) name := []string{"Inner_example"} // []string | (optional) nameEmpty := true // bool | (optional) @@ -24298,16 +24847,16 @@ func main() { offset := int32(56) // int32 | The initial index from which to return the results. (optional) ordering := "ordering_example" // string | Which field to use when ordering the results. (optional) q := "q_example" // string | Search (optional) - region := []int32{int32(123)} // []int32 | Region (slug) (optional) - regionN := []int32{int32(123)} // []int32 | Region (slug) (optional) - regionId := []int32{int32(123)} // []int32 | Region (ID) (optional) - regionIdN := []int32{int32(123)} // []int32 | Region (ID) (optional) + region := []string{"Inner_example"} // []string | (optional) + regionN := []string{"Inner_example"} // []string | (optional) + regionId := []string{"Inner_example"} // []string | (optional) + regionIdN := []string{"Inner_example"} // []string | (optional) site := []string{"Inner_example"} // []string | Site name (slug) (optional) siteN := []string{"Inner_example"} // []string | Site name (slug) (optional) - siteGroup := []int32{int32(123)} // []int32 | Site group (slug) (optional) - siteGroupN := []int32{int32(123)} // []int32 | Site group (slug) (optional) - siteGroupId := []int32{int32(123)} // []int32 | Site group (ID) (optional) - siteGroupIdN := []int32{int32(123)} // []int32 | Site group (ID) (optional) + siteGroup := []string{"Inner_example"} // []string | (optional) + siteGroupN := []string{"Inner_example"} // []string | (optional) + siteGroupId := []string{"Inner_example"} // []string | (optional) + siteGroupIdN := []string{"Inner_example"} // []string | (optional) siteId := []int32{int32(123)} // []int32 | Site (ID) (optional) siteIdN := []int32{int32(123)} // []int32 | Site (ID) (optional) tag := []string{"Inner_example"} // []string | (optional) @@ -24339,8 +24888,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **contact** | **[]int32** | Contact | **contactN** | **[]int32** | Contact | - **contactGroup** | **[]int32** | Contact group | - **contactGroupN** | **[]int32** | Contact group | + **contactGroup** | **[]string** | | + **contactGroupN** | **[]string** | | **contactRole** | **[]int32** | Contact Role | **contactRoleN** | **[]int32** | Contact Role | **created** | [**[]time.Time**](time.Time.md) | | @@ -24377,8 +24926,8 @@ 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. | - **locationId** | **[]int32** | Location (ID) | - **locationIdN** | **[]int32** | Location (ID) | + **locationId** | **[]string** | | + **locationIdN** | **[]string** | | **modifiedByRequest** | **string** | | **name** | **[]string** | | **nameEmpty** | **bool** | | @@ -24394,16 +24943,16 @@ Name | Type | Description | Notes **offset** | **int32** | The initial index from which to return the results. | **ordering** | **string** | Which field to use when ordering the results. | **q** | **string** | Search | - **region** | **[]int32** | Region (slug) | - **regionN** | **[]int32** | Region (slug) | - **regionId** | **[]int32** | Region (ID) | - **regionIdN** | **[]int32** | Region (ID) | + **region** | **[]string** | | + **regionN** | **[]string** | | + **regionId** | **[]string** | | + **regionIdN** | **[]string** | | **site** | **[]string** | Site name (slug) | **siteN** | **[]string** | Site name (slug) | - **siteGroup** | **[]int32** | Site group (slug) | - **siteGroupN** | **[]int32** | Site group (slug) | - **siteGroupId** | **[]int32** | Site group (ID) | - **siteGroupIdN** | **[]int32** | Site group (ID) | + **siteGroup** | **[]string** | | + **siteGroupN** | **[]string** | | + **siteGroupId** | **[]string** | | + **siteGroupIdN** | **[]string** | | **siteId** | **[]int32** | Site (ID) | **siteIdN** | **[]int32** | Site (ID) | **tag** | **[]string** | | @@ -24592,7 +25141,7 @@ import ( func main() { id := int32(56) // int32 | A unique integer value identifying this power panel. - powerPanelRequest := *openapiclient.NewPowerPanelRequest("Name_example") // PowerPanelRequest | + powerPanelRequest := *openapiclient.NewPowerPanelRequest(*openapiclient.NewBriefSiteRequest("Name_example", "Slug_example"), "Name_example") // PowerPanelRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -24974,7 +25523,7 @@ Name | Type | Description | Notes ## DcimPowerPortTemplatesList -> PaginatedPowerPortTemplateList DcimPowerPortTemplatesList(ctx).AllocatedDraw(allocatedDraw).AllocatedDrawEmpty(allocatedDrawEmpty).AllocatedDrawGt(allocatedDrawGt).AllocatedDrawGte(allocatedDrawGte).AllocatedDrawLt(allocatedDrawLt).AllocatedDrawLte(allocatedDrawLte).AllocatedDrawN(allocatedDrawN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).DevicetypeId(devicetypeId).DevicetypeIdN(devicetypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).MaximumDraw(maximumDraw).MaximumDrawEmpty(maximumDrawEmpty).MaximumDrawGt(maximumDrawGt).MaximumDrawGte(maximumDrawGte).MaximumDrawLt(maximumDrawLt).MaximumDrawLte(maximumDrawLte).MaximumDrawN(maximumDrawN).ModifiedByRequest(modifiedByRequest).ModuleTypeId(moduleTypeId).ModuleTypeIdN(moduleTypeIdN).ModuletypeId(moduletypeId).ModuletypeIdN(moduletypeIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).Type_(type_).TypeN(typeN).UpdatedByRequest(updatedByRequest).Execute() +> PaginatedPowerPortTemplateList DcimPowerPortTemplatesList(ctx).AllocatedDraw(allocatedDraw).AllocatedDrawEmpty(allocatedDrawEmpty).AllocatedDrawGt(allocatedDrawGt).AllocatedDrawGte(allocatedDrawGte).AllocatedDrawLt(allocatedDrawLt).AllocatedDrawLte(allocatedDrawLte).AllocatedDrawN(allocatedDrawN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).MaximumDraw(maximumDraw).MaximumDrawEmpty(maximumDrawEmpty).MaximumDrawGt(maximumDrawGt).MaximumDrawGte(maximumDrawGte).MaximumDrawLt(maximumDrawLt).MaximumDrawLte(maximumDrawLte).MaximumDrawN(maximumDrawN).ModifiedByRequest(modifiedByRequest).ModuleTypeId(moduleTypeId).ModuleTypeIdN(moduleTypeIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).Type_(type_).UpdatedByRequest(updatedByRequest).Execute() @@ -25022,8 +25571,6 @@ func main() { descriptionNisw := []string{"Inner_example"} // []string | (optional) deviceTypeId := []*int32{int32(123)} // []*int32 | Device type (ID) (optional) deviceTypeIdN := []*int32{int32(123)} // []*int32 | Device type (ID) (optional) - devicetypeId := []*int32{int32(123)} // []*int32 | Device type (ID) (optional) - devicetypeIdN := []*int32{int32(123)} // []*int32 | Device type (ID) (optional) id := []int32{int32(123)} // []int32 | (optional) idEmpty := true // bool | (optional) idGt := []int32{int32(123)} // []int32 | (optional) @@ -25060,8 +25607,6 @@ func main() { modifiedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) moduleTypeId := []*int32{int32(123)} // []*int32 | Module type (ID) (optional) moduleTypeIdN := []*int32{int32(123)} // []*int32 | Module type (ID) (optional) - moduletypeId := []*int32{int32(123)} // []*int32 | Module type (ID) (optional) - moduletypeIdN := []*int32{int32(123)} // []*int32 | Module type (ID) (optional) name := []string{"Inner_example"} // []string | (optional) nameEmpty := true // bool | (optional) nameIc := []string{"Inner_example"} // []string | (optional) @@ -25076,13 +25621,12 @@ func main() { offset := int32(56) // int32 | The initial index from which to return the results. (optional) ordering := "ordering_example" // string | Which field to use when ordering the results. (optional) q := "q_example" // string | Search (optional) - type_ := openapiclient.dcim_power_port_templates_list_type_parameter("California Style") // DcimPowerPortTemplatesListTypeParameter | * `IEC 60320` - [('iec-60320-c6', 'C6'), ('iec-60320-c8', 'C8'), ('iec-60320-c14', 'C14'), ('iec-60320-c16', 'C16'), ('iec-60320-c20', 'C20'), ('iec-60320-c22', 'C22')] * `IEC 60309` - [('iec-60309-p-n-e-4h', 'P+N+E 4H'), ('iec-60309-p-n-e-6h', 'P+N+E 6H'), ('iec-60309-p-n-e-9h', 'P+N+E 9H'), ('iec-60309-2p-e-4h', '2P+E 4H'), ('iec-60309-2p-e-6h', '2P+E 6H'), ('iec-60309-2p-e-9h', '2P+E 9H'), ('iec-60309-3p-e-4h', '3P+E 4H'), ('iec-60309-3p-e-6h', '3P+E 6H'), ('iec-60309-3p-e-9h', '3P+E 9H'), ('iec-60309-3p-n-e-4h', '3P+N+E 4H'), ('iec-60309-3p-n-e-6h', '3P+N+E 6H'), ('iec-60309-3p-n-e-9h', '3P+N+E 9H')] * `IEC 60906-1` - [('iec-60906-1', 'IEC 60906-1'), ('nbr-14136-10a', '2P+T 10A (NBR 14136)'), ('nbr-14136-20a', '2P+T 20A (NBR 14136)')] * `NEMA (Non-locking)` - [('nema-1-15p', 'NEMA 1-15P'), ('nema-5-15p', 'NEMA 5-15P'), ('nema-5-20p', 'NEMA 5-20P'), ('nema-5-30p', 'NEMA 5-30P'), ('nema-5-50p', 'NEMA 5-50P'), ('nema-6-15p', 'NEMA 6-15P'), ('nema-6-20p', 'NEMA 6-20P'), ('nema-6-30p', 'NEMA 6-30P'), ('nema-6-50p', 'NEMA 6-50P'), ('nema-10-30p', 'NEMA 10-30P'), ('nema-10-50p', 'NEMA 10-50P'), ('nema-14-20p', 'NEMA 14-20P'), ('nema-14-30p', 'NEMA 14-30P'), ('nema-14-50p', 'NEMA 14-50P'), ('nema-14-60p', 'NEMA 14-60P'), ('nema-15-15p', 'NEMA 15-15P'), ('nema-15-20p', 'NEMA 15-20P'), ('nema-15-30p', 'NEMA 15-30P'), ('nema-15-50p', 'NEMA 15-50P'), ('nema-15-60p', 'NEMA 15-60P')] * `NEMA (Locking)` - [('nema-l1-15p', 'NEMA L1-15P'), ('nema-l5-15p', 'NEMA L5-15P'), ('nema-l5-20p', 'NEMA L5-20P'), ('nema-l5-30p', 'NEMA L5-30P'), ('nema-l5-50p', 'NEMA L5-50P'), ('nema-l6-15p', 'NEMA L6-15P'), ('nema-l6-20p', 'NEMA L6-20P'), ('nema-l6-30p', 'NEMA L6-30P'), ('nema-l6-50p', 'NEMA L6-50P'), ('nema-l10-30p', 'NEMA L10-30P'), ('nema-l14-20p', 'NEMA L14-20P'), ('nema-l14-30p', 'NEMA L14-30P'), ('nema-l14-50p', 'NEMA L14-50P'), ('nema-l14-60p', 'NEMA L14-60P'), ('nema-l15-20p', 'NEMA L15-20P'), ('nema-l15-30p', 'NEMA L15-30P'), ('nema-l15-50p', 'NEMA L15-50P'), ('nema-l15-60p', 'NEMA L15-60P'), ('nema-l21-20p', 'NEMA L21-20P'), ('nema-l21-30p', 'NEMA L21-30P'), ('nema-l22-30p', 'NEMA L22-30P')] * `California Style` - [('cs6361c', 'CS6361C'), ('cs6365c', 'CS6365C'), ('cs8165c', 'CS8165C'), ('cs8265c', 'CS8265C'), ('cs8365c', 'CS8365C'), ('cs8465c', 'CS8465C')] * `International/ITA` - [('ita-c', 'ITA Type C (CEE 7/16)'), ('ita-e', 'ITA Type E (CEE 7/6)'), ('ita-f', 'ITA Type F (CEE 7/4)'), ('ita-ef', 'ITA Type E/F (CEE 7/7)'), ('ita-g', 'ITA Type G (BS 1363)'), ('ita-h', 'ITA Type H'), ('ita-i', 'ITA Type I'), ('ita-j', 'ITA Type J'), ('ita-k', 'ITA Type K'), ('ita-l', 'ITA Type L (CEI 23-50)'), ('ita-m', 'ITA Type M (BS 546)'), ('ita-n', 'ITA Type N'), ('ita-o', 'ITA Type O')] * `USB` - [('usb-a', 'USB Type A'), ('usb-b', 'USB Type B'), ('usb-c', 'USB Type C'), ('usb-mini-a', 'USB Mini A'), ('usb-mini-b', 'USB Mini B'), ('usb-micro-a', 'USB Micro A'), ('usb-micro-b', 'USB Micro B'), ('usb-micro-ab', 'USB Micro AB'), ('usb-3-b', 'USB 3.0 Type B'), ('usb-3-micro-b', 'USB 3.0 Micro B')] * `Molex` - [('molex-micro-fit-1x2', 'Molex Micro-Fit 1x2'), ('molex-micro-fit-2x2', 'Molex Micro-Fit 2x2'), ('molex-micro-fit-2x4', 'Molex Micro-Fit 2x4')] * `DC` - [('dc-terminal', 'DC Terminal')] * `Proprietary` - [('saf-d-grid', 'Saf-D-Grid'), ('neutrik-powercon-20', 'Neutrik powerCON (20A)'), ('neutrik-powercon-32', 'Neutrik powerCON (32A)'), ('neutrik-powercon-true1', 'Neutrik powerCON TRUE1'), ('neutrik-powercon-true1-top', 'Neutrik powerCON TRUE1 TOP'), ('ubiquiti-smartpower', 'Ubiquiti SmartPower')] * `Other` - [('hardwired', 'Hardwired'), ('other', 'Other')] (optional) - typeN := openapiclient.dcim_power_port_templates_list_type_parameter("California Style") // DcimPowerPortTemplatesListTypeParameter | * `IEC 60320` - [('iec-60320-c6', 'C6'), ('iec-60320-c8', 'C8'), ('iec-60320-c14', 'C14'), ('iec-60320-c16', 'C16'), ('iec-60320-c20', 'C20'), ('iec-60320-c22', 'C22')] * `IEC 60309` - [('iec-60309-p-n-e-4h', 'P+N+E 4H'), ('iec-60309-p-n-e-6h', 'P+N+E 6H'), ('iec-60309-p-n-e-9h', 'P+N+E 9H'), ('iec-60309-2p-e-4h', '2P+E 4H'), ('iec-60309-2p-e-6h', '2P+E 6H'), ('iec-60309-2p-e-9h', '2P+E 9H'), ('iec-60309-3p-e-4h', '3P+E 4H'), ('iec-60309-3p-e-6h', '3P+E 6H'), ('iec-60309-3p-e-9h', '3P+E 9H'), ('iec-60309-3p-n-e-4h', '3P+N+E 4H'), ('iec-60309-3p-n-e-6h', '3P+N+E 6H'), ('iec-60309-3p-n-e-9h', '3P+N+E 9H')] * `IEC 60906-1` - [('iec-60906-1', 'IEC 60906-1'), ('nbr-14136-10a', '2P+T 10A (NBR 14136)'), ('nbr-14136-20a', '2P+T 20A (NBR 14136)')] * `NEMA (Non-locking)` - [('nema-1-15p', 'NEMA 1-15P'), ('nema-5-15p', 'NEMA 5-15P'), ('nema-5-20p', 'NEMA 5-20P'), ('nema-5-30p', 'NEMA 5-30P'), ('nema-5-50p', 'NEMA 5-50P'), ('nema-6-15p', 'NEMA 6-15P'), ('nema-6-20p', 'NEMA 6-20P'), ('nema-6-30p', 'NEMA 6-30P'), ('nema-6-50p', 'NEMA 6-50P'), ('nema-10-30p', 'NEMA 10-30P'), ('nema-10-50p', 'NEMA 10-50P'), ('nema-14-20p', 'NEMA 14-20P'), ('nema-14-30p', 'NEMA 14-30P'), ('nema-14-50p', 'NEMA 14-50P'), ('nema-14-60p', 'NEMA 14-60P'), ('nema-15-15p', 'NEMA 15-15P'), ('nema-15-20p', 'NEMA 15-20P'), ('nema-15-30p', 'NEMA 15-30P'), ('nema-15-50p', 'NEMA 15-50P'), ('nema-15-60p', 'NEMA 15-60P')] * `NEMA (Locking)` - [('nema-l1-15p', 'NEMA L1-15P'), ('nema-l5-15p', 'NEMA L5-15P'), ('nema-l5-20p', 'NEMA L5-20P'), ('nema-l5-30p', 'NEMA L5-30P'), ('nema-l5-50p', 'NEMA L5-50P'), ('nema-l6-15p', 'NEMA L6-15P'), ('nema-l6-20p', 'NEMA L6-20P'), ('nema-l6-30p', 'NEMA L6-30P'), ('nema-l6-50p', 'NEMA L6-50P'), ('nema-l10-30p', 'NEMA L10-30P'), ('nema-l14-20p', 'NEMA L14-20P'), ('nema-l14-30p', 'NEMA L14-30P'), ('nema-l14-50p', 'NEMA L14-50P'), ('nema-l14-60p', 'NEMA L14-60P'), ('nema-l15-20p', 'NEMA L15-20P'), ('nema-l15-30p', 'NEMA L15-30P'), ('nema-l15-50p', 'NEMA L15-50P'), ('nema-l15-60p', 'NEMA L15-60P'), ('nema-l21-20p', 'NEMA L21-20P'), ('nema-l21-30p', 'NEMA L21-30P'), ('nema-l22-30p', 'NEMA L22-30P')] * `California Style` - [('cs6361c', 'CS6361C'), ('cs6365c', 'CS6365C'), ('cs8165c', 'CS8165C'), ('cs8265c', 'CS8265C'), ('cs8365c', 'CS8365C'), ('cs8465c', 'CS8465C')] * `International/ITA` - [('ita-c', 'ITA Type C (CEE 7/16)'), ('ita-e', 'ITA Type E (CEE 7/6)'), ('ita-f', 'ITA Type F (CEE 7/4)'), ('ita-ef', 'ITA Type E/F (CEE 7/7)'), ('ita-g', 'ITA Type G (BS 1363)'), ('ita-h', 'ITA Type H'), ('ita-i', 'ITA Type I'), ('ita-j', 'ITA Type J'), ('ita-k', 'ITA Type K'), ('ita-l', 'ITA Type L (CEI 23-50)'), ('ita-m', 'ITA Type M (BS 546)'), ('ita-n', 'ITA Type N'), ('ita-o', 'ITA Type O')] * `USB` - [('usb-a', 'USB Type A'), ('usb-b', 'USB Type B'), ('usb-c', 'USB Type C'), ('usb-mini-a', 'USB Mini A'), ('usb-mini-b', 'USB Mini B'), ('usb-micro-a', 'USB Micro A'), ('usb-micro-b', 'USB Micro B'), ('usb-micro-ab', 'USB Micro AB'), ('usb-3-b', 'USB 3.0 Type B'), ('usb-3-micro-b', 'USB 3.0 Micro B')] * `Molex` - [('molex-micro-fit-1x2', 'Molex Micro-Fit 1x2'), ('molex-micro-fit-2x2', 'Molex Micro-Fit 2x2'), ('molex-micro-fit-2x4', 'Molex Micro-Fit 2x4')] * `DC` - [('dc-terminal', 'DC Terminal')] * `Proprietary` - [('saf-d-grid', 'Saf-D-Grid'), ('neutrik-powercon-20', 'Neutrik powerCON (20A)'), ('neutrik-powercon-32', 'Neutrik powerCON (32A)'), ('neutrik-powercon-true1', 'Neutrik powerCON TRUE1'), ('neutrik-powercon-true1-top', 'Neutrik powerCON TRUE1 TOP'), ('ubiquiti-smartpower', 'Ubiquiti SmartPower')] * `Other` - [('hardwired', 'Hardwired'), ('other', 'Other')] (optional) + type_ := openapiclient.dcim_power_port_templates_list_type_parameter("California Style") // DcimPowerPortTemplatesListTypeParameter | * `IEC 60320` - [('iec-60320-c6', 'C6'), ('iec-60320-c8', 'C8'), ('iec-60320-c14', 'C14'), ('iec-60320-c16', 'C16'), ('iec-60320-c20', 'C20'), ('iec-60320-c22', 'C22')] * `IEC 60309` - [('iec-60309-p-n-e-4h', 'P+N+E 4H'), ('iec-60309-p-n-e-6h', 'P+N+E 6H'), ('iec-60309-p-n-e-9h', 'P+N+E 9H'), ('iec-60309-2p-e-4h', '2P+E 4H'), ('iec-60309-2p-e-6h', '2P+E 6H'), ('iec-60309-2p-e-9h', '2P+E 9H'), ('iec-60309-3p-e-4h', '3P+E 4H'), ('iec-60309-3p-e-6h', '3P+E 6H'), ('iec-60309-3p-e-9h', '3P+E 9H'), ('iec-60309-3p-n-e-4h', '3P+N+E 4H'), ('iec-60309-3p-n-e-6h', '3P+N+E 6H'), ('iec-60309-3p-n-e-9h', '3P+N+E 9H')] * `IEC 60906-1` - [('iec-60906-1', 'IEC 60906-1'), ('nbr-14136-10a', '2P+T 10A (NBR 14136)'), ('nbr-14136-20a', '2P+T 20A (NBR 14136)')] * `NEMA (Non-locking)` - [('nema-1-15p', 'NEMA 1-15P'), ('nema-5-15p', 'NEMA 5-15P'), ('nema-5-20p', 'NEMA 5-20P'), ('nema-5-30p', 'NEMA 5-30P'), ('nema-5-50p', 'NEMA 5-50P'), ('nema-6-15p', 'NEMA 6-15P'), ('nema-6-20p', 'NEMA 6-20P'), ('nema-6-30p', 'NEMA 6-30P'), ('nema-6-50p', 'NEMA 6-50P'), ('nema-10-30p', 'NEMA 10-30P'), ('nema-10-50p', 'NEMA 10-50P'), ('nema-14-20p', 'NEMA 14-20P'), ('nema-14-30p', 'NEMA 14-30P'), ('nema-14-50p', 'NEMA 14-50P'), ('nema-14-60p', 'NEMA 14-60P'), ('nema-15-15p', 'NEMA 15-15P'), ('nema-15-20p', 'NEMA 15-20P'), ('nema-15-30p', 'NEMA 15-30P'), ('nema-15-50p', 'NEMA 15-50P'), ('nema-15-60p', 'NEMA 15-60P')] * `NEMA (Locking)` - [('nema-l1-15p', 'NEMA L1-15P'), ('nema-l5-15p', 'NEMA L5-15P'), ('nema-l5-20p', 'NEMA L5-20P'), ('nema-l5-30p', 'NEMA L5-30P'), ('nema-l5-50p', 'NEMA L5-50P'), ('nema-l6-15p', 'NEMA L6-15P'), ('nema-l6-20p', 'NEMA L6-20P'), ('nema-l6-30p', 'NEMA L6-30P'), ('nema-l6-50p', 'NEMA L6-50P'), ('nema-l10-30p', 'NEMA L10-30P'), ('nema-l14-20p', 'NEMA L14-20P'), ('nema-l14-30p', 'NEMA L14-30P'), ('nema-l14-50p', 'NEMA L14-50P'), ('nema-l14-60p', 'NEMA L14-60P'), ('nema-l15-20p', 'NEMA L15-20P'), ('nema-l15-30p', 'NEMA L15-30P'), ('nema-l15-50p', 'NEMA L15-50P'), ('nema-l15-60p', 'NEMA L15-60P'), ('nema-l21-20p', 'NEMA L21-20P'), ('nema-l21-30p', 'NEMA L21-30P'), ('nema-l22-20p', 'NEMA L22-20P'), ('nema-l22-30p', 'NEMA L22-30P')] * `California Style` - [('cs6361c', 'CS6361C'), ('cs6365c', 'CS6365C'), ('cs8165c', 'CS8165C'), ('cs8265c', 'CS8265C'), ('cs8365c', 'CS8365C'), ('cs8465c', 'CS8465C')] * `International/ITA` - [('ita-c', 'ITA Type C (CEE 7/16)'), ('ita-e', 'ITA Type E (CEE 7/6)'), ('ita-f', 'ITA Type F (CEE 7/4)'), ('ita-ef', 'ITA Type E/F (CEE 7/7)'), ('ita-g', 'ITA Type G (BS 1363)'), ('ita-h', 'ITA Type H'), ('ita-i', 'ITA Type I'), ('ita-j', 'ITA Type J'), ('ita-k', 'ITA Type K'), ('ita-l', 'ITA Type L (CEI 23-50)'), ('ita-m', 'ITA Type M (BS 546)'), ('ita-n', 'ITA Type N'), ('ita-o', 'ITA Type O')] * `USB` - [('usb-a', 'USB Type A'), ('usb-b', 'USB Type B'), ('usb-c', 'USB Type C'), ('usb-mini-a', 'USB Mini A'), ('usb-mini-b', 'USB Mini B'), ('usb-micro-a', 'USB Micro A'), ('usb-micro-b', 'USB Micro B'), ('usb-micro-ab', 'USB Micro AB'), ('usb-3-b', 'USB 3.0 Type B'), ('usb-3-micro-b', 'USB 3.0 Micro B')] * `Molex` - [('molex-micro-fit-1x2', 'Molex Micro-Fit 1x2'), ('molex-micro-fit-2x2', 'Molex Micro-Fit 2x2'), ('molex-micro-fit-2x4', 'Molex Micro-Fit 2x4')] * `DC` - [('dc-terminal', 'DC Terminal')] * `Proprietary` - [('saf-d-grid', 'Saf-D-Grid'), ('neutrik-powercon-20', 'Neutrik powerCON (20A)'), ('neutrik-powercon-32', 'Neutrik powerCON (32A)'), ('neutrik-powercon-true1', 'Neutrik powerCON TRUE1'), ('neutrik-powercon-true1-top', 'Neutrik powerCON TRUE1 TOP'), ('ubiquiti-smartpower', 'Ubiquiti SmartPower')] * `Other` - [('hardwired', 'Hardwired'), ('other', 'Other')] (optional) updatedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.DcimAPI.DcimPowerPortTemplatesList(context.Background()).AllocatedDraw(allocatedDraw).AllocatedDrawEmpty(allocatedDrawEmpty).AllocatedDrawGt(allocatedDrawGt).AllocatedDrawGte(allocatedDrawGte).AllocatedDrawLt(allocatedDrawLt).AllocatedDrawLte(allocatedDrawLte).AllocatedDrawN(allocatedDrawN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).DevicetypeId(devicetypeId).DevicetypeIdN(devicetypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).MaximumDraw(maximumDraw).MaximumDrawEmpty(maximumDrawEmpty).MaximumDrawGt(maximumDrawGt).MaximumDrawGte(maximumDrawGte).MaximumDrawLt(maximumDrawLt).MaximumDrawLte(maximumDrawLte).MaximumDrawN(maximumDrawN).ModifiedByRequest(modifiedByRequest).ModuleTypeId(moduleTypeId).ModuleTypeIdN(moduleTypeIdN).ModuletypeId(moduletypeId).ModuletypeIdN(moduletypeIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).Type_(type_).TypeN(typeN).UpdatedByRequest(updatedByRequest).Execute() + resp, r, err := apiClient.DcimAPI.DcimPowerPortTemplatesList(context.Background()).AllocatedDraw(allocatedDraw).AllocatedDrawEmpty(allocatedDrawEmpty).AllocatedDrawGt(allocatedDrawGt).AllocatedDrawGte(allocatedDrawGte).AllocatedDrawLt(allocatedDrawLt).AllocatedDrawLte(allocatedDrawLte).AllocatedDrawN(allocatedDrawN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).MaximumDraw(maximumDraw).MaximumDrawEmpty(maximumDrawEmpty).MaximumDrawGt(maximumDrawGt).MaximumDrawGte(maximumDrawGte).MaximumDrawLt(maximumDrawLt).MaximumDrawLte(maximumDrawLte).MaximumDrawN(maximumDrawN).ModifiedByRequest(modifiedByRequest).ModuleTypeId(moduleTypeId).ModuleTypeIdN(moduleTypeIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).Type_(type_).UpdatedByRequest(updatedByRequest).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPortTemplatesList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -25131,8 +25675,6 @@ Name | Type | Description | Notes **descriptionNisw** | **[]string** | | **deviceTypeId** | **[]int32** | Device type (ID) | **deviceTypeIdN** | **[]int32** | Device type (ID) | - **devicetypeId** | **[]int32** | Device type (ID) | - **devicetypeIdN** | **[]int32** | Device type (ID) | **id** | **[]int32** | | **idEmpty** | **bool** | | **idGt** | **[]int32** | | @@ -25169,8 +25711,6 @@ Name | Type | Description | Notes **modifiedByRequest** | **string** | | **moduleTypeId** | **[]int32** | Module type (ID) | **moduleTypeIdN** | **[]int32** | Module type (ID) | - **moduletypeId** | **[]int32** | Module type (ID) | - **moduletypeIdN** | **[]int32** | Module type (ID) | **name** | **[]string** | | **nameEmpty** | **bool** | | **nameIc** | **[]string** | | @@ -25185,8 +25725,7 @@ Name | Type | Description | Notes **offset** | **int32** | The initial index from which to return the results. | **ordering** | **string** | Which field to use when ordering the results. | **q** | **string** | Search | - **type_** | [**DcimPowerPortTemplatesListTypeParameter**](DcimPowerPortTemplatesListTypeParameter.md) | * `IEC 60320` - [('iec-60320-c6', 'C6'), ('iec-60320-c8', 'C8'), ('iec-60320-c14', 'C14'), ('iec-60320-c16', 'C16'), ('iec-60320-c20', 'C20'), ('iec-60320-c22', 'C22')] * `IEC 60309` - [('iec-60309-p-n-e-4h', 'P+N+E 4H'), ('iec-60309-p-n-e-6h', 'P+N+E 6H'), ('iec-60309-p-n-e-9h', 'P+N+E 9H'), ('iec-60309-2p-e-4h', '2P+E 4H'), ('iec-60309-2p-e-6h', '2P+E 6H'), ('iec-60309-2p-e-9h', '2P+E 9H'), ('iec-60309-3p-e-4h', '3P+E 4H'), ('iec-60309-3p-e-6h', '3P+E 6H'), ('iec-60309-3p-e-9h', '3P+E 9H'), ('iec-60309-3p-n-e-4h', '3P+N+E 4H'), ('iec-60309-3p-n-e-6h', '3P+N+E 6H'), ('iec-60309-3p-n-e-9h', '3P+N+E 9H')] * `IEC 60906-1` - [('iec-60906-1', 'IEC 60906-1'), ('nbr-14136-10a', '2P+T 10A (NBR 14136)'), ('nbr-14136-20a', '2P+T 20A (NBR 14136)')] * `NEMA (Non-locking)` - [('nema-1-15p', 'NEMA 1-15P'), ('nema-5-15p', 'NEMA 5-15P'), ('nema-5-20p', 'NEMA 5-20P'), ('nema-5-30p', 'NEMA 5-30P'), ('nema-5-50p', 'NEMA 5-50P'), ('nema-6-15p', 'NEMA 6-15P'), ('nema-6-20p', 'NEMA 6-20P'), ('nema-6-30p', 'NEMA 6-30P'), ('nema-6-50p', 'NEMA 6-50P'), ('nema-10-30p', 'NEMA 10-30P'), ('nema-10-50p', 'NEMA 10-50P'), ('nema-14-20p', 'NEMA 14-20P'), ('nema-14-30p', 'NEMA 14-30P'), ('nema-14-50p', 'NEMA 14-50P'), ('nema-14-60p', 'NEMA 14-60P'), ('nema-15-15p', 'NEMA 15-15P'), ('nema-15-20p', 'NEMA 15-20P'), ('nema-15-30p', 'NEMA 15-30P'), ('nema-15-50p', 'NEMA 15-50P'), ('nema-15-60p', 'NEMA 15-60P')] * `NEMA (Locking)` - [('nema-l1-15p', 'NEMA L1-15P'), ('nema-l5-15p', 'NEMA L5-15P'), ('nema-l5-20p', 'NEMA L5-20P'), ('nema-l5-30p', 'NEMA L5-30P'), ('nema-l5-50p', 'NEMA L5-50P'), ('nema-l6-15p', 'NEMA L6-15P'), ('nema-l6-20p', 'NEMA L6-20P'), ('nema-l6-30p', 'NEMA L6-30P'), ('nema-l6-50p', 'NEMA L6-50P'), ('nema-l10-30p', 'NEMA L10-30P'), ('nema-l14-20p', 'NEMA L14-20P'), ('nema-l14-30p', 'NEMA L14-30P'), ('nema-l14-50p', 'NEMA L14-50P'), ('nema-l14-60p', 'NEMA L14-60P'), ('nema-l15-20p', 'NEMA L15-20P'), ('nema-l15-30p', 'NEMA L15-30P'), ('nema-l15-50p', 'NEMA L15-50P'), ('nema-l15-60p', 'NEMA L15-60P'), ('nema-l21-20p', 'NEMA L21-20P'), ('nema-l21-30p', 'NEMA L21-30P'), ('nema-l22-30p', 'NEMA L22-30P')] * `California Style` - [('cs6361c', 'CS6361C'), ('cs6365c', 'CS6365C'), ('cs8165c', 'CS8165C'), ('cs8265c', 'CS8265C'), ('cs8365c', 'CS8365C'), ('cs8465c', 'CS8465C')] * `International/ITA` - [('ita-c', 'ITA Type C (CEE 7/16)'), ('ita-e', 'ITA Type E (CEE 7/6)'), ('ita-f', 'ITA Type F (CEE 7/4)'), ('ita-ef', 'ITA Type E/F (CEE 7/7)'), ('ita-g', 'ITA Type G (BS 1363)'), ('ita-h', 'ITA Type H'), ('ita-i', 'ITA Type I'), ('ita-j', 'ITA Type J'), ('ita-k', 'ITA Type K'), ('ita-l', 'ITA Type L (CEI 23-50)'), ('ita-m', 'ITA Type M (BS 546)'), ('ita-n', 'ITA Type N'), ('ita-o', 'ITA Type O')] * `USB` - [('usb-a', 'USB Type A'), ('usb-b', 'USB Type B'), ('usb-c', 'USB Type C'), ('usb-mini-a', 'USB Mini A'), ('usb-mini-b', 'USB Mini B'), ('usb-micro-a', 'USB Micro A'), ('usb-micro-b', 'USB Micro B'), ('usb-micro-ab', 'USB Micro AB'), ('usb-3-b', 'USB 3.0 Type B'), ('usb-3-micro-b', 'USB 3.0 Micro B')] * `Molex` - [('molex-micro-fit-1x2', 'Molex Micro-Fit 1x2'), ('molex-micro-fit-2x2', 'Molex Micro-Fit 2x2'), ('molex-micro-fit-2x4', 'Molex Micro-Fit 2x4')] * `DC` - [('dc-terminal', 'DC Terminal')] * `Proprietary` - [('saf-d-grid', 'Saf-D-Grid'), ('neutrik-powercon-20', 'Neutrik powerCON (20A)'), ('neutrik-powercon-32', 'Neutrik powerCON (32A)'), ('neutrik-powercon-true1', 'Neutrik powerCON TRUE1'), ('neutrik-powercon-true1-top', 'Neutrik powerCON TRUE1 TOP'), ('ubiquiti-smartpower', 'Ubiquiti SmartPower')] * `Other` - [('hardwired', 'Hardwired'), ('other', 'Other')] | - **typeN** | [**DcimPowerPortTemplatesListTypeParameter**](DcimPowerPortTemplatesListTypeParameter.md) | * `IEC 60320` - [('iec-60320-c6', 'C6'), ('iec-60320-c8', 'C8'), ('iec-60320-c14', 'C14'), ('iec-60320-c16', 'C16'), ('iec-60320-c20', 'C20'), ('iec-60320-c22', 'C22')] * `IEC 60309` - [('iec-60309-p-n-e-4h', 'P+N+E 4H'), ('iec-60309-p-n-e-6h', 'P+N+E 6H'), ('iec-60309-p-n-e-9h', 'P+N+E 9H'), ('iec-60309-2p-e-4h', '2P+E 4H'), ('iec-60309-2p-e-6h', '2P+E 6H'), ('iec-60309-2p-e-9h', '2P+E 9H'), ('iec-60309-3p-e-4h', '3P+E 4H'), ('iec-60309-3p-e-6h', '3P+E 6H'), ('iec-60309-3p-e-9h', '3P+E 9H'), ('iec-60309-3p-n-e-4h', '3P+N+E 4H'), ('iec-60309-3p-n-e-6h', '3P+N+E 6H'), ('iec-60309-3p-n-e-9h', '3P+N+E 9H')] * `IEC 60906-1` - [('iec-60906-1', 'IEC 60906-1'), ('nbr-14136-10a', '2P+T 10A (NBR 14136)'), ('nbr-14136-20a', '2P+T 20A (NBR 14136)')] * `NEMA (Non-locking)` - [('nema-1-15p', 'NEMA 1-15P'), ('nema-5-15p', 'NEMA 5-15P'), ('nema-5-20p', 'NEMA 5-20P'), ('nema-5-30p', 'NEMA 5-30P'), ('nema-5-50p', 'NEMA 5-50P'), ('nema-6-15p', 'NEMA 6-15P'), ('nema-6-20p', 'NEMA 6-20P'), ('nema-6-30p', 'NEMA 6-30P'), ('nema-6-50p', 'NEMA 6-50P'), ('nema-10-30p', 'NEMA 10-30P'), ('nema-10-50p', 'NEMA 10-50P'), ('nema-14-20p', 'NEMA 14-20P'), ('nema-14-30p', 'NEMA 14-30P'), ('nema-14-50p', 'NEMA 14-50P'), ('nema-14-60p', 'NEMA 14-60P'), ('nema-15-15p', 'NEMA 15-15P'), ('nema-15-20p', 'NEMA 15-20P'), ('nema-15-30p', 'NEMA 15-30P'), ('nema-15-50p', 'NEMA 15-50P'), ('nema-15-60p', 'NEMA 15-60P')] * `NEMA (Locking)` - [('nema-l1-15p', 'NEMA L1-15P'), ('nema-l5-15p', 'NEMA L5-15P'), ('nema-l5-20p', 'NEMA L5-20P'), ('nema-l5-30p', 'NEMA L5-30P'), ('nema-l5-50p', 'NEMA L5-50P'), ('nema-l6-15p', 'NEMA L6-15P'), ('nema-l6-20p', 'NEMA L6-20P'), ('nema-l6-30p', 'NEMA L6-30P'), ('nema-l6-50p', 'NEMA L6-50P'), ('nema-l10-30p', 'NEMA L10-30P'), ('nema-l14-20p', 'NEMA L14-20P'), ('nema-l14-30p', 'NEMA L14-30P'), ('nema-l14-50p', 'NEMA L14-50P'), ('nema-l14-60p', 'NEMA L14-60P'), ('nema-l15-20p', 'NEMA L15-20P'), ('nema-l15-30p', 'NEMA L15-30P'), ('nema-l15-50p', 'NEMA L15-50P'), ('nema-l15-60p', 'NEMA L15-60P'), ('nema-l21-20p', 'NEMA L21-20P'), ('nema-l21-30p', 'NEMA L21-30P'), ('nema-l22-30p', 'NEMA L22-30P')] * `California Style` - [('cs6361c', 'CS6361C'), ('cs6365c', 'CS6365C'), ('cs8165c', 'CS8165C'), ('cs8265c', 'CS8265C'), ('cs8365c', 'CS8365C'), ('cs8465c', 'CS8465C')] * `International/ITA` - [('ita-c', 'ITA Type C (CEE 7/16)'), ('ita-e', 'ITA Type E (CEE 7/6)'), ('ita-f', 'ITA Type F (CEE 7/4)'), ('ita-ef', 'ITA Type E/F (CEE 7/7)'), ('ita-g', 'ITA Type G (BS 1363)'), ('ita-h', 'ITA Type H'), ('ita-i', 'ITA Type I'), ('ita-j', 'ITA Type J'), ('ita-k', 'ITA Type K'), ('ita-l', 'ITA Type L (CEI 23-50)'), ('ita-m', 'ITA Type M (BS 546)'), ('ita-n', 'ITA Type N'), ('ita-o', 'ITA Type O')] * `USB` - [('usb-a', 'USB Type A'), ('usb-b', 'USB Type B'), ('usb-c', 'USB Type C'), ('usb-mini-a', 'USB Mini A'), ('usb-mini-b', 'USB Mini B'), ('usb-micro-a', 'USB Micro A'), ('usb-micro-b', 'USB Micro B'), ('usb-micro-ab', 'USB Micro AB'), ('usb-3-b', 'USB 3.0 Type B'), ('usb-3-micro-b', 'USB 3.0 Micro B')] * `Molex` - [('molex-micro-fit-1x2', 'Molex Micro-Fit 1x2'), ('molex-micro-fit-2x2', 'Molex Micro-Fit 2x2'), ('molex-micro-fit-2x4', 'Molex Micro-Fit 2x4')] * `DC` - [('dc-terminal', 'DC Terminal')] * `Proprietary` - [('saf-d-grid', 'Saf-D-Grid'), ('neutrik-powercon-20', 'Neutrik powerCON (20A)'), ('neutrik-powercon-32', 'Neutrik powerCON (32A)'), ('neutrik-powercon-true1', 'Neutrik powerCON TRUE1'), ('neutrik-powercon-true1-top', 'Neutrik powerCON TRUE1 TOP'), ('ubiquiti-smartpower', 'Ubiquiti SmartPower')] * `Other` - [('hardwired', 'Hardwired'), ('other', 'Other')] | + **type_** | [**DcimPowerPortTemplatesListTypeParameter**](DcimPowerPortTemplatesListTypeParameter.md) | * `IEC 60320` - [('iec-60320-c6', 'C6'), ('iec-60320-c8', 'C8'), ('iec-60320-c14', 'C14'), ('iec-60320-c16', 'C16'), ('iec-60320-c20', 'C20'), ('iec-60320-c22', 'C22')] * `IEC 60309` - [('iec-60309-p-n-e-4h', 'P+N+E 4H'), ('iec-60309-p-n-e-6h', 'P+N+E 6H'), ('iec-60309-p-n-e-9h', 'P+N+E 9H'), ('iec-60309-2p-e-4h', '2P+E 4H'), ('iec-60309-2p-e-6h', '2P+E 6H'), ('iec-60309-2p-e-9h', '2P+E 9H'), ('iec-60309-3p-e-4h', '3P+E 4H'), ('iec-60309-3p-e-6h', '3P+E 6H'), ('iec-60309-3p-e-9h', '3P+E 9H'), ('iec-60309-3p-n-e-4h', '3P+N+E 4H'), ('iec-60309-3p-n-e-6h', '3P+N+E 6H'), ('iec-60309-3p-n-e-9h', '3P+N+E 9H')] * `IEC 60906-1` - [('iec-60906-1', 'IEC 60906-1'), ('nbr-14136-10a', '2P+T 10A (NBR 14136)'), ('nbr-14136-20a', '2P+T 20A (NBR 14136)')] * `NEMA (Non-locking)` - [('nema-1-15p', 'NEMA 1-15P'), ('nema-5-15p', 'NEMA 5-15P'), ('nema-5-20p', 'NEMA 5-20P'), ('nema-5-30p', 'NEMA 5-30P'), ('nema-5-50p', 'NEMA 5-50P'), ('nema-6-15p', 'NEMA 6-15P'), ('nema-6-20p', 'NEMA 6-20P'), ('nema-6-30p', 'NEMA 6-30P'), ('nema-6-50p', 'NEMA 6-50P'), ('nema-10-30p', 'NEMA 10-30P'), ('nema-10-50p', 'NEMA 10-50P'), ('nema-14-20p', 'NEMA 14-20P'), ('nema-14-30p', 'NEMA 14-30P'), ('nema-14-50p', 'NEMA 14-50P'), ('nema-14-60p', 'NEMA 14-60P'), ('nema-15-15p', 'NEMA 15-15P'), ('nema-15-20p', 'NEMA 15-20P'), ('nema-15-30p', 'NEMA 15-30P'), ('nema-15-50p', 'NEMA 15-50P'), ('nema-15-60p', 'NEMA 15-60P')] * `NEMA (Locking)` - [('nema-l1-15p', 'NEMA L1-15P'), ('nema-l5-15p', 'NEMA L5-15P'), ('nema-l5-20p', 'NEMA L5-20P'), ('nema-l5-30p', 'NEMA L5-30P'), ('nema-l5-50p', 'NEMA L5-50P'), ('nema-l6-15p', 'NEMA L6-15P'), ('nema-l6-20p', 'NEMA L6-20P'), ('nema-l6-30p', 'NEMA L6-30P'), ('nema-l6-50p', 'NEMA L6-50P'), ('nema-l10-30p', 'NEMA L10-30P'), ('nema-l14-20p', 'NEMA L14-20P'), ('nema-l14-30p', 'NEMA L14-30P'), ('nema-l14-50p', 'NEMA L14-50P'), ('nema-l14-60p', 'NEMA L14-60P'), ('nema-l15-20p', 'NEMA L15-20P'), ('nema-l15-30p', 'NEMA L15-30P'), ('nema-l15-50p', 'NEMA L15-50P'), ('nema-l15-60p', 'NEMA L15-60P'), ('nema-l21-20p', 'NEMA L21-20P'), ('nema-l21-30p', 'NEMA L21-30P'), ('nema-l22-20p', 'NEMA L22-20P'), ('nema-l22-30p', 'NEMA L22-30P')] * `California Style` - [('cs6361c', 'CS6361C'), ('cs6365c', 'CS6365C'), ('cs8165c', 'CS8165C'), ('cs8265c', 'CS8265C'), ('cs8365c', 'CS8365C'), ('cs8465c', 'CS8465C')] * `International/ITA` - [('ita-c', 'ITA Type C (CEE 7/16)'), ('ita-e', 'ITA Type E (CEE 7/6)'), ('ita-f', 'ITA Type F (CEE 7/4)'), ('ita-ef', 'ITA Type E/F (CEE 7/7)'), ('ita-g', 'ITA Type G (BS 1363)'), ('ita-h', 'ITA Type H'), ('ita-i', 'ITA Type I'), ('ita-j', 'ITA Type J'), ('ita-k', 'ITA Type K'), ('ita-l', 'ITA Type L (CEI 23-50)'), ('ita-m', 'ITA Type M (BS 546)'), ('ita-n', 'ITA Type N'), ('ita-o', 'ITA Type O')] * `USB` - [('usb-a', 'USB Type A'), ('usb-b', 'USB Type B'), ('usb-c', 'USB Type C'), ('usb-mini-a', 'USB Mini A'), ('usb-mini-b', 'USB Mini B'), ('usb-micro-a', 'USB Micro A'), ('usb-micro-b', 'USB Micro B'), ('usb-micro-ab', 'USB Micro AB'), ('usb-3-b', 'USB 3.0 Type B'), ('usb-3-micro-b', 'USB 3.0 Micro B')] * `Molex` - [('molex-micro-fit-1x2', 'Molex Micro-Fit 1x2'), ('molex-micro-fit-2x2', 'Molex Micro-Fit 2x2'), ('molex-micro-fit-2x4', 'Molex Micro-Fit 2x4')] * `DC` - [('dc-terminal', 'DC Terminal')] * `Proprietary` - [('saf-d-grid', 'Saf-D-Grid'), ('neutrik-powercon-20', 'Neutrik powerCON (20A)'), ('neutrik-powercon-32', 'Neutrik powerCON (32A)'), ('neutrik-powercon-true1', 'Neutrik powerCON TRUE1'), ('neutrik-powercon-true1-top', 'Neutrik powerCON TRUE1 TOP'), ('ubiquiti-smartpower', 'Ubiquiti SmartPower')] * `Other` - [('hardwired', 'Hardwired'), ('other', 'Other')] | **updatedByRequest** | **string** | | ### Return type @@ -25442,7 +25981,7 @@ import ( ) func main() { - powerPortRequest := []openapiclient.PowerPortRequest{*openapiclient.NewPowerPortRequest(*openapiclient.NewDeviceRequest(), "Name_example")} // []PowerPortRequest | + powerPortRequest := []openapiclient.PowerPortRequest{*openapiclient.NewPowerPortRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example")} // []PowerPortRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -25506,7 +26045,7 @@ import ( ) func main() { - powerPortRequest := []openapiclient.PowerPortRequest{*openapiclient.NewPowerPortRequest(*openapiclient.NewDeviceRequest(), "Name_example")} // []PowerPortRequest | + powerPortRequest := []openapiclient.PowerPortRequest{*openapiclient.NewPowerPortRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example")} // []PowerPortRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -25572,7 +26111,7 @@ import ( ) func main() { - powerPortRequest := []openapiclient.PowerPortRequest{*openapiclient.NewPowerPortRequest(*openapiclient.NewDeviceRequest(), "Name_example")} // []PowerPortRequest | + powerPortRequest := []openapiclient.PowerPortRequest{*openapiclient.NewPowerPortRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example")} // []PowerPortRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -25638,7 +26177,7 @@ import ( ) func main() { - writablePowerPortRequest := *openapiclient.NewWritablePowerPortRequest(*openapiclient.NewDeviceRequest(), "Name_example") // WritablePowerPortRequest | + writablePowerPortRequest := *openapiclient.NewWritablePowerPortRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example") // WritablePowerPortRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -25753,7 +26292,7 @@ Name | Type | Description | Notes ## DcimPowerPortsList -> PaginatedPowerPortList DcimPowerPortsList(ctx).AllocatedDraw(allocatedDraw).AllocatedDrawEmpty(allocatedDrawEmpty).AllocatedDrawGt(allocatedDrawGt).AllocatedDrawGte(allocatedDrawGte).AllocatedDrawLt(allocatedDrawLt).AllocatedDrawLte(allocatedDrawLte).AllocatedDrawN(allocatedDrawN).CableEnd(cableEnd).CableEndN(cableEndN).CableId(cableId).CableIdN(cableIdN).Cabled(cabled).Connected(connected).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceN(deviceN).DeviceId(deviceId).DeviceIdN(deviceIdN).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).LocationId(locationId).LocationIdN(locationIdN).MarkConnected(markConnected).MaximumDraw(maximumDraw).MaximumDrawEmpty(maximumDrawEmpty).MaximumDrawGt(maximumDrawGt).MaximumDrawGte(maximumDrawGte).MaximumDrawLt(maximumDrawLt).MaximumDrawLte(maximumDrawLte).MaximumDrawN(maximumDrawN).ModifiedByRequest(modifiedByRequest).ModuleId(moduleId).ModuleIdN(moduleIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Occupied(occupied).Offset(offset).Ordering(ordering).Q(q).Rack(rack).RackN(rackN).RackId(rackId).RackIdN(rackIdN).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Tag(tag).TagN(tagN).Type_(type_).TypeN(typeN).UpdatedByRequest(updatedByRequest).VirtualChassis(virtualChassis).VirtualChassisN(virtualChassisN).VirtualChassisId(virtualChassisId).VirtualChassisIdN(virtualChassisIdN).Execute() +> PaginatedPowerPortList DcimPowerPortsList(ctx).AllocatedDraw(allocatedDraw).AllocatedDrawEmpty(allocatedDrawEmpty).AllocatedDrawGt(allocatedDrawGt).AllocatedDrawGte(allocatedDrawGte).AllocatedDrawLt(allocatedDrawLt).AllocatedDrawLte(allocatedDrawLte).AllocatedDrawN(allocatedDrawN).CableEnd(cableEnd).CableId(cableId).CableIdN(cableIdN).Cabled(cabled).Connected(connected).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceN(deviceN).DeviceId(deviceId).DeviceIdN(deviceIdN).DeviceRole(deviceRole).DeviceRoleN(deviceRoleN).DeviceRoleId(deviceRoleId).DeviceRoleIdN(deviceRoleIdN).DeviceStatus(deviceStatus).DeviceStatusEmpty(deviceStatusEmpty).DeviceStatusIc(deviceStatusIc).DeviceStatusIe(deviceStatusIe).DeviceStatusIew(deviceStatusIew).DeviceStatusIsw(deviceStatusIsw).DeviceStatusN(deviceStatusN).DeviceStatusNic(deviceStatusNic).DeviceStatusNie(deviceStatusNie).DeviceStatusNiew(deviceStatusNiew).DeviceStatusNisw(deviceStatusNisw).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).LocationId(locationId).LocationIdN(locationIdN).MarkConnected(markConnected).MaximumDraw(maximumDraw).MaximumDrawEmpty(maximumDrawEmpty).MaximumDrawGt(maximumDrawGt).MaximumDrawGte(maximumDrawGte).MaximumDrawLt(maximumDrawLt).MaximumDrawLte(maximumDrawLte).MaximumDrawN(maximumDrawN).ModifiedByRequest(modifiedByRequest).ModuleId(moduleId).ModuleIdN(moduleIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Occupied(occupied).Offset(offset).Ordering(ordering).Q(q).Rack(rack).RackN(rackN).RackId(rackId).RackIdN(rackIdN).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Tag(tag).TagN(tagN).Type_(type_).TypeEmpty(typeEmpty).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNisw(typeNisw).UpdatedByRequest(updatedByRequest).VirtualChassis(virtualChassis).VirtualChassisN(virtualChassisN).VirtualChassisId(virtualChassisId).VirtualChassisIdN(virtualChassisIdN).Execute() @@ -25781,7 +26320,6 @@ func main() { allocatedDrawLte := []int32{int32(123)} // []int32 | (optional) allocatedDrawN := []int32{int32(123)} // []int32 | (optional) cableEnd := openapiclient.circuits_circuit_terminations_list_cable_end_parameter("A") // CircuitsCircuitTerminationsListCableEndParameter | * `A` - A * `B` - B (optional) - cableEndN := openapiclient.circuits_circuit_terminations_list_cable_end_parameter("A") // CircuitsCircuitTerminationsListCableEndParameter | * `A` - A * `B` - B (optional) cableId := []*int32{int32(123)} // []*int32 | Cable (ID) (optional) cableIdN := []*int32{int32(123)} // []*int32 | Cable (ID) (optional) cabled := true // bool | (optional) @@ -25809,6 +26347,21 @@ func main() { deviceN := []*string{"Inner_example"} // []*string | Device (name) (optional) deviceId := []int32{int32(123)} // []int32 | Device (ID) (optional) deviceIdN := []int32{int32(123)} // []int32 | Device (ID) (optional) + deviceRole := []string{"Inner_example"} // []string | Device role (slug) (optional) + deviceRoleN := []string{"Inner_example"} // []string | Device role (slug) (optional) + deviceRoleId := []int32{int32(123)} // []int32 | Device role (ID) (optional) + deviceRoleIdN := []int32{int32(123)} // []int32 | Device role (ID) (optional) + deviceStatus := []string{"Inner_example"} // []string | (optional) + deviceStatusEmpty := true // bool | (optional) + deviceStatusIc := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusIe := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusIew := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusIsw := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusN := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusNic := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusNie := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusNiew := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusNisw := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) deviceType := []string{"Inner_example"} // []string | Device type (model) (optional) deviceTypeN := []string{"Inner_example"} // []string | Device type (model) (optional) deviceTypeId := []int32{int32(123)} // []int32 | Device type (ID) (optional) @@ -25873,26 +26426,31 @@ func main() { rackN := []string{"Inner_example"} // []string | Rack (name) (optional) rackId := []int32{int32(123)} // []int32 | Rack (ID) (optional) rackIdN := []int32{int32(123)} // []int32 | Rack (ID) (optional) - region := []int32{int32(123)} // []int32 | Region (slug) (optional) - regionN := []int32{int32(123)} // []int32 | Region (slug) (optional) - regionId := []int32{int32(123)} // []int32 | Region (ID) (optional) - regionIdN := []int32{int32(123)} // []int32 | Region (ID) (optional) - role := []string{"Inner_example"} // []string | Device role (slug) (optional) - roleN := []string{"Inner_example"} // []string | Device role (slug) (optional) - roleId := []int32{int32(123)} // []int32 | Device role (ID) (optional) - roleIdN := []int32{int32(123)} // []int32 | Device role (ID) (optional) + region := []string{"Inner_example"} // []string | (optional) + regionN := []string{"Inner_example"} // []string | (optional) + regionId := []string{"Inner_example"} // []string | (optional) + regionIdN := []string{"Inner_example"} // []string | (optional) site := []string{"Inner_example"} // []string | Site name (slug) (optional) siteN := []string{"Inner_example"} // []string | Site name (slug) (optional) - siteGroup := []int32{int32(123)} // []int32 | Site group (slug) (optional) - siteGroupN := []int32{int32(123)} // []int32 | Site group (slug) (optional) - siteGroupId := []int32{int32(123)} // []int32 | Site group (ID) (optional) - siteGroupIdN := []int32{int32(123)} // []int32 | Site group (ID) (optional) + siteGroup := []string{"Inner_example"} // []string | (optional) + siteGroupN := []string{"Inner_example"} // []string | (optional) + siteGroupId := []string{"Inner_example"} // []string | (optional) + siteGroupIdN := []string{"Inner_example"} // []string | (optional) siteId := []int32{int32(123)} // []int32 | Site (ID) (optional) siteIdN := []int32{int32(123)} // []int32 | Site (ID) (optional) tag := []string{"Inner_example"} // []string | (optional) tagN := []string{"Inner_example"} // []string | (optional) type_ := []string{"Inner_example"} // []string | Physical port type (optional) - typeN := []string{"Inner_example"} // []string | Physical port type (optional) + typeEmpty := true // bool | (optional) + typeIc := []openapiclient.DcimPowerPortsListTypeIcParameterInner{openapiclient.dcim_power_ports_list_type__ic_parameter_inner("")} // []DcimPowerPortsListTypeIcParameterInner | Physical port type * `iec-60320-c6` - C6 * `iec-60320-c8` - C8 * `iec-60320-c14` - C14 * `iec-60320-c16` - C16 * `iec-60320-c20` - C20 * `iec-60320-c22` - C22 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15p` - NEMA 1-15P * `nema-5-15p` - NEMA 5-15P * `nema-5-20p` - NEMA 5-20P * `nema-5-30p` - NEMA 5-30P * `nema-5-50p` - NEMA 5-50P * `nema-6-15p` - NEMA 6-15P * `nema-6-20p` - NEMA 6-20P * `nema-6-30p` - NEMA 6-30P * `nema-6-50p` - NEMA 6-50P * `nema-10-30p` - NEMA 10-30P * `nema-10-50p` - NEMA 10-50P * `nema-14-20p` - NEMA 14-20P * `nema-14-30p` - NEMA 14-30P * `nema-14-50p` - NEMA 14-50P * `nema-14-60p` - NEMA 14-60P * `nema-15-15p` - NEMA 15-15P * `nema-15-20p` - NEMA 15-20P * `nema-15-30p` - NEMA 15-30P * `nema-15-50p` - NEMA 15-50P * `nema-15-60p` - NEMA 15-60P * `nema-l1-15p` - NEMA L1-15P * `nema-l5-15p` - NEMA L5-15P * `nema-l5-20p` - NEMA L5-20P * `nema-l5-30p` - NEMA L5-30P * `nema-l5-50p` - NEMA L5-50P * `nema-l6-15p` - NEMA L6-15P * `nema-l6-20p` - NEMA L6-20P * `nema-l6-30p` - NEMA L6-30P * `nema-l6-50p` - NEMA L6-50P * `nema-l10-30p` - NEMA L10-30P * `nema-l14-20p` - NEMA L14-20P * `nema-l14-30p` - NEMA L14-30P * `nema-l14-50p` - NEMA L14-50P * `nema-l14-60p` - NEMA L14-60P * `nema-l15-20p` - NEMA L15-20P * `nema-l15-30p` - NEMA L15-30P * `nema-l15-50p` - NEMA L15-50P * `nema-l15-60p` - NEMA L15-60P * `nema-l21-20p` - NEMA L21-20P * `nema-l21-30p` - NEMA L21-30P * `nema-l22-20p` - NEMA L22-20P * `nema-l22-30p` - NEMA L22-30P * `cs6361c` - CS6361C * `cs6365c` - CS6365C * `cs8165c` - CS8165C * `cs8265c` - CS8265C * `cs8365c` - CS8365C * `cs8465c` - CS8465C * `ita-c` - ITA Type C (CEE 7/16) * `ita-e` - ITA Type E (CEE 7/6) * `ita-f` - ITA Type F (CEE 7/4) * `ita-ef` - ITA Type E/F (CEE 7/7) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `usb-3-b` - USB 3.0 Type B * `usb-3-micro-b` - USB 3.0 Micro B * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20` - Neutrik powerCON (20A) * `neutrik-powercon-32` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other (optional) + typeIe := []openapiclient.DcimPowerPortsListTypeIcParameterInner{openapiclient.dcim_power_ports_list_type__ic_parameter_inner("")} // []DcimPowerPortsListTypeIcParameterInner | Physical port type * `iec-60320-c6` - C6 * `iec-60320-c8` - C8 * `iec-60320-c14` - C14 * `iec-60320-c16` - C16 * `iec-60320-c20` - C20 * `iec-60320-c22` - C22 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15p` - NEMA 1-15P * `nema-5-15p` - NEMA 5-15P * `nema-5-20p` - NEMA 5-20P * `nema-5-30p` - NEMA 5-30P * `nema-5-50p` - NEMA 5-50P * `nema-6-15p` - NEMA 6-15P * `nema-6-20p` - NEMA 6-20P * `nema-6-30p` - NEMA 6-30P * `nema-6-50p` - NEMA 6-50P * `nema-10-30p` - NEMA 10-30P * `nema-10-50p` - NEMA 10-50P * `nema-14-20p` - NEMA 14-20P * `nema-14-30p` - NEMA 14-30P * `nema-14-50p` - NEMA 14-50P * `nema-14-60p` - NEMA 14-60P * `nema-15-15p` - NEMA 15-15P * `nema-15-20p` - NEMA 15-20P * `nema-15-30p` - NEMA 15-30P * `nema-15-50p` - NEMA 15-50P * `nema-15-60p` - NEMA 15-60P * `nema-l1-15p` - NEMA L1-15P * `nema-l5-15p` - NEMA L5-15P * `nema-l5-20p` - NEMA L5-20P * `nema-l5-30p` - NEMA L5-30P * `nema-l5-50p` - NEMA L5-50P * `nema-l6-15p` - NEMA L6-15P * `nema-l6-20p` - NEMA L6-20P * `nema-l6-30p` - NEMA L6-30P * `nema-l6-50p` - NEMA L6-50P * `nema-l10-30p` - NEMA L10-30P * `nema-l14-20p` - NEMA L14-20P * `nema-l14-30p` - NEMA L14-30P * `nema-l14-50p` - NEMA L14-50P * `nema-l14-60p` - NEMA L14-60P * `nema-l15-20p` - NEMA L15-20P * `nema-l15-30p` - NEMA L15-30P * `nema-l15-50p` - NEMA L15-50P * `nema-l15-60p` - NEMA L15-60P * `nema-l21-20p` - NEMA L21-20P * `nema-l21-30p` - NEMA L21-30P * `nema-l22-20p` - NEMA L22-20P * `nema-l22-30p` - NEMA L22-30P * `cs6361c` - CS6361C * `cs6365c` - CS6365C * `cs8165c` - CS8165C * `cs8265c` - CS8265C * `cs8365c` - CS8365C * `cs8465c` - CS8465C * `ita-c` - ITA Type C (CEE 7/16) * `ita-e` - ITA Type E (CEE 7/6) * `ita-f` - ITA Type F (CEE 7/4) * `ita-ef` - ITA Type E/F (CEE 7/7) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `usb-3-b` - USB 3.0 Type B * `usb-3-micro-b` - USB 3.0 Micro B * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20` - Neutrik powerCON (20A) * `neutrik-powercon-32` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other (optional) + typeIew := []openapiclient.DcimPowerPortsListTypeIcParameterInner{openapiclient.dcim_power_ports_list_type__ic_parameter_inner("")} // []DcimPowerPortsListTypeIcParameterInner | Physical port type * `iec-60320-c6` - C6 * `iec-60320-c8` - C8 * `iec-60320-c14` - C14 * `iec-60320-c16` - C16 * `iec-60320-c20` - C20 * `iec-60320-c22` - C22 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15p` - NEMA 1-15P * `nema-5-15p` - NEMA 5-15P * `nema-5-20p` - NEMA 5-20P * `nema-5-30p` - NEMA 5-30P * `nema-5-50p` - NEMA 5-50P * `nema-6-15p` - NEMA 6-15P * `nema-6-20p` - NEMA 6-20P * `nema-6-30p` - NEMA 6-30P * `nema-6-50p` - NEMA 6-50P * `nema-10-30p` - NEMA 10-30P * `nema-10-50p` - NEMA 10-50P * `nema-14-20p` - NEMA 14-20P * `nema-14-30p` - NEMA 14-30P * `nema-14-50p` - NEMA 14-50P * `nema-14-60p` - NEMA 14-60P * `nema-15-15p` - NEMA 15-15P * `nema-15-20p` - NEMA 15-20P * `nema-15-30p` - NEMA 15-30P * `nema-15-50p` - NEMA 15-50P * `nema-15-60p` - NEMA 15-60P * `nema-l1-15p` - NEMA L1-15P * `nema-l5-15p` - NEMA L5-15P * `nema-l5-20p` - NEMA L5-20P * `nema-l5-30p` - NEMA L5-30P * `nema-l5-50p` - NEMA L5-50P * `nema-l6-15p` - NEMA L6-15P * `nema-l6-20p` - NEMA L6-20P * `nema-l6-30p` - NEMA L6-30P * `nema-l6-50p` - NEMA L6-50P * `nema-l10-30p` - NEMA L10-30P * `nema-l14-20p` - NEMA L14-20P * `nema-l14-30p` - NEMA L14-30P * `nema-l14-50p` - NEMA L14-50P * `nema-l14-60p` - NEMA L14-60P * `nema-l15-20p` - NEMA L15-20P * `nema-l15-30p` - NEMA L15-30P * `nema-l15-50p` - NEMA L15-50P * `nema-l15-60p` - NEMA L15-60P * `nema-l21-20p` - NEMA L21-20P * `nema-l21-30p` - NEMA L21-30P * `nema-l22-20p` - NEMA L22-20P * `nema-l22-30p` - NEMA L22-30P * `cs6361c` - CS6361C * `cs6365c` - CS6365C * `cs8165c` - CS8165C * `cs8265c` - CS8265C * `cs8365c` - CS8365C * `cs8465c` - CS8465C * `ita-c` - ITA Type C (CEE 7/16) * `ita-e` - ITA Type E (CEE 7/6) * `ita-f` - ITA Type F (CEE 7/4) * `ita-ef` - ITA Type E/F (CEE 7/7) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `usb-3-b` - USB 3.0 Type B * `usb-3-micro-b` - USB 3.0 Micro B * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20` - Neutrik powerCON (20A) * `neutrik-powercon-32` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other (optional) + typeIsw := []openapiclient.DcimPowerPortsListTypeIcParameterInner{openapiclient.dcim_power_ports_list_type__ic_parameter_inner("")} // []DcimPowerPortsListTypeIcParameterInner | Physical port type * `iec-60320-c6` - C6 * `iec-60320-c8` - C8 * `iec-60320-c14` - C14 * `iec-60320-c16` - C16 * `iec-60320-c20` - C20 * `iec-60320-c22` - C22 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15p` - NEMA 1-15P * `nema-5-15p` - NEMA 5-15P * `nema-5-20p` - NEMA 5-20P * `nema-5-30p` - NEMA 5-30P * `nema-5-50p` - NEMA 5-50P * `nema-6-15p` - NEMA 6-15P * `nema-6-20p` - NEMA 6-20P * `nema-6-30p` - NEMA 6-30P * `nema-6-50p` - NEMA 6-50P * `nema-10-30p` - NEMA 10-30P * `nema-10-50p` - NEMA 10-50P * `nema-14-20p` - NEMA 14-20P * `nema-14-30p` - NEMA 14-30P * `nema-14-50p` - NEMA 14-50P * `nema-14-60p` - NEMA 14-60P * `nema-15-15p` - NEMA 15-15P * `nema-15-20p` - NEMA 15-20P * `nema-15-30p` - NEMA 15-30P * `nema-15-50p` - NEMA 15-50P * `nema-15-60p` - NEMA 15-60P * `nema-l1-15p` - NEMA L1-15P * `nema-l5-15p` - NEMA L5-15P * `nema-l5-20p` - NEMA L5-20P * `nema-l5-30p` - NEMA L5-30P * `nema-l5-50p` - NEMA L5-50P * `nema-l6-15p` - NEMA L6-15P * `nema-l6-20p` - NEMA L6-20P * `nema-l6-30p` - NEMA L6-30P * `nema-l6-50p` - NEMA L6-50P * `nema-l10-30p` - NEMA L10-30P * `nema-l14-20p` - NEMA L14-20P * `nema-l14-30p` - NEMA L14-30P * `nema-l14-50p` - NEMA L14-50P * `nema-l14-60p` - NEMA L14-60P * `nema-l15-20p` - NEMA L15-20P * `nema-l15-30p` - NEMA L15-30P * `nema-l15-50p` - NEMA L15-50P * `nema-l15-60p` - NEMA L15-60P * `nema-l21-20p` - NEMA L21-20P * `nema-l21-30p` - NEMA L21-30P * `nema-l22-20p` - NEMA L22-20P * `nema-l22-30p` - NEMA L22-30P * `cs6361c` - CS6361C * `cs6365c` - CS6365C * `cs8165c` - CS8165C * `cs8265c` - CS8265C * `cs8365c` - CS8365C * `cs8465c` - CS8465C * `ita-c` - ITA Type C (CEE 7/16) * `ita-e` - ITA Type E (CEE 7/6) * `ita-f` - ITA Type F (CEE 7/4) * `ita-ef` - ITA Type E/F (CEE 7/7) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `usb-3-b` - USB 3.0 Type B * `usb-3-micro-b` - USB 3.0 Micro B * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20` - Neutrik powerCON (20A) * `neutrik-powercon-32` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other (optional) + typeN := []openapiclient.DcimPowerPortsListTypeIcParameterInner{openapiclient.dcim_power_ports_list_type__ic_parameter_inner("")} // []DcimPowerPortsListTypeIcParameterInner | Physical port type * `iec-60320-c6` - C6 * `iec-60320-c8` - C8 * `iec-60320-c14` - C14 * `iec-60320-c16` - C16 * `iec-60320-c20` - C20 * `iec-60320-c22` - C22 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15p` - NEMA 1-15P * `nema-5-15p` - NEMA 5-15P * `nema-5-20p` - NEMA 5-20P * `nema-5-30p` - NEMA 5-30P * `nema-5-50p` - NEMA 5-50P * `nema-6-15p` - NEMA 6-15P * `nema-6-20p` - NEMA 6-20P * `nema-6-30p` - NEMA 6-30P * `nema-6-50p` - NEMA 6-50P * `nema-10-30p` - NEMA 10-30P * `nema-10-50p` - NEMA 10-50P * `nema-14-20p` - NEMA 14-20P * `nema-14-30p` - NEMA 14-30P * `nema-14-50p` - NEMA 14-50P * `nema-14-60p` - NEMA 14-60P * `nema-15-15p` - NEMA 15-15P * `nema-15-20p` - NEMA 15-20P * `nema-15-30p` - NEMA 15-30P * `nema-15-50p` - NEMA 15-50P * `nema-15-60p` - NEMA 15-60P * `nema-l1-15p` - NEMA L1-15P * `nema-l5-15p` - NEMA L5-15P * `nema-l5-20p` - NEMA L5-20P * `nema-l5-30p` - NEMA L5-30P * `nema-l5-50p` - NEMA L5-50P * `nema-l6-15p` - NEMA L6-15P * `nema-l6-20p` - NEMA L6-20P * `nema-l6-30p` - NEMA L6-30P * `nema-l6-50p` - NEMA L6-50P * `nema-l10-30p` - NEMA L10-30P * `nema-l14-20p` - NEMA L14-20P * `nema-l14-30p` - NEMA L14-30P * `nema-l14-50p` - NEMA L14-50P * `nema-l14-60p` - NEMA L14-60P * `nema-l15-20p` - NEMA L15-20P * `nema-l15-30p` - NEMA L15-30P * `nema-l15-50p` - NEMA L15-50P * `nema-l15-60p` - NEMA L15-60P * `nema-l21-20p` - NEMA L21-20P * `nema-l21-30p` - NEMA L21-30P * `nema-l22-20p` - NEMA L22-20P * `nema-l22-30p` - NEMA L22-30P * `cs6361c` - CS6361C * `cs6365c` - CS6365C * `cs8165c` - CS8165C * `cs8265c` - CS8265C * `cs8365c` - CS8365C * `cs8465c` - CS8465C * `ita-c` - ITA Type C (CEE 7/16) * `ita-e` - ITA Type E (CEE 7/6) * `ita-f` - ITA Type F (CEE 7/4) * `ita-ef` - ITA Type E/F (CEE 7/7) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `usb-3-b` - USB 3.0 Type B * `usb-3-micro-b` - USB 3.0 Micro B * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20` - Neutrik powerCON (20A) * `neutrik-powercon-32` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other (optional) + typeNic := []openapiclient.DcimPowerPortsListTypeIcParameterInner{openapiclient.dcim_power_ports_list_type__ic_parameter_inner("")} // []DcimPowerPortsListTypeIcParameterInner | Physical port type * `iec-60320-c6` - C6 * `iec-60320-c8` - C8 * `iec-60320-c14` - C14 * `iec-60320-c16` - C16 * `iec-60320-c20` - C20 * `iec-60320-c22` - C22 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15p` - NEMA 1-15P * `nema-5-15p` - NEMA 5-15P * `nema-5-20p` - NEMA 5-20P * `nema-5-30p` - NEMA 5-30P * `nema-5-50p` - NEMA 5-50P * `nema-6-15p` - NEMA 6-15P * `nema-6-20p` - NEMA 6-20P * `nema-6-30p` - NEMA 6-30P * `nema-6-50p` - NEMA 6-50P * `nema-10-30p` - NEMA 10-30P * `nema-10-50p` - NEMA 10-50P * `nema-14-20p` - NEMA 14-20P * `nema-14-30p` - NEMA 14-30P * `nema-14-50p` - NEMA 14-50P * `nema-14-60p` - NEMA 14-60P * `nema-15-15p` - NEMA 15-15P * `nema-15-20p` - NEMA 15-20P * `nema-15-30p` - NEMA 15-30P * `nema-15-50p` - NEMA 15-50P * `nema-15-60p` - NEMA 15-60P * `nema-l1-15p` - NEMA L1-15P * `nema-l5-15p` - NEMA L5-15P * `nema-l5-20p` - NEMA L5-20P * `nema-l5-30p` - NEMA L5-30P * `nema-l5-50p` - NEMA L5-50P * `nema-l6-15p` - NEMA L6-15P * `nema-l6-20p` - NEMA L6-20P * `nema-l6-30p` - NEMA L6-30P * `nema-l6-50p` - NEMA L6-50P * `nema-l10-30p` - NEMA L10-30P * `nema-l14-20p` - NEMA L14-20P * `nema-l14-30p` - NEMA L14-30P * `nema-l14-50p` - NEMA L14-50P * `nema-l14-60p` - NEMA L14-60P * `nema-l15-20p` - NEMA L15-20P * `nema-l15-30p` - NEMA L15-30P * `nema-l15-50p` - NEMA L15-50P * `nema-l15-60p` - NEMA L15-60P * `nema-l21-20p` - NEMA L21-20P * `nema-l21-30p` - NEMA L21-30P * `nema-l22-20p` - NEMA L22-20P * `nema-l22-30p` - NEMA L22-30P * `cs6361c` - CS6361C * `cs6365c` - CS6365C * `cs8165c` - CS8165C * `cs8265c` - CS8265C * `cs8365c` - CS8365C * `cs8465c` - CS8465C * `ita-c` - ITA Type C (CEE 7/16) * `ita-e` - ITA Type E (CEE 7/6) * `ita-f` - ITA Type F (CEE 7/4) * `ita-ef` - ITA Type E/F (CEE 7/7) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `usb-3-b` - USB 3.0 Type B * `usb-3-micro-b` - USB 3.0 Micro B * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20` - Neutrik powerCON (20A) * `neutrik-powercon-32` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other (optional) + typeNie := []openapiclient.DcimPowerPortsListTypeIcParameterInner{openapiclient.dcim_power_ports_list_type__ic_parameter_inner("")} // []DcimPowerPortsListTypeIcParameterInner | Physical port type * `iec-60320-c6` - C6 * `iec-60320-c8` - C8 * `iec-60320-c14` - C14 * `iec-60320-c16` - C16 * `iec-60320-c20` - C20 * `iec-60320-c22` - C22 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15p` - NEMA 1-15P * `nema-5-15p` - NEMA 5-15P * `nema-5-20p` - NEMA 5-20P * `nema-5-30p` - NEMA 5-30P * `nema-5-50p` - NEMA 5-50P * `nema-6-15p` - NEMA 6-15P * `nema-6-20p` - NEMA 6-20P * `nema-6-30p` - NEMA 6-30P * `nema-6-50p` - NEMA 6-50P * `nema-10-30p` - NEMA 10-30P * `nema-10-50p` - NEMA 10-50P * `nema-14-20p` - NEMA 14-20P * `nema-14-30p` - NEMA 14-30P * `nema-14-50p` - NEMA 14-50P * `nema-14-60p` - NEMA 14-60P * `nema-15-15p` - NEMA 15-15P * `nema-15-20p` - NEMA 15-20P * `nema-15-30p` - NEMA 15-30P * `nema-15-50p` - NEMA 15-50P * `nema-15-60p` - NEMA 15-60P * `nema-l1-15p` - NEMA L1-15P * `nema-l5-15p` - NEMA L5-15P * `nema-l5-20p` - NEMA L5-20P * `nema-l5-30p` - NEMA L5-30P * `nema-l5-50p` - NEMA L5-50P * `nema-l6-15p` - NEMA L6-15P * `nema-l6-20p` - NEMA L6-20P * `nema-l6-30p` - NEMA L6-30P * `nema-l6-50p` - NEMA L6-50P * `nema-l10-30p` - NEMA L10-30P * `nema-l14-20p` - NEMA L14-20P * `nema-l14-30p` - NEMA L14-30P * `nema-l14-50p` - NEMA L14-50P * `nema-l14-60p` - NEMA L14-60P * `nema-l15-20p` - NEMA L15-20P * `nema-l15-30p` - NEMA L15-30P * `nema-l15-50p` - NEMA L15-50P * `nema-l15-60p` - NEMA L15-60P * `nema-l21-20p` - NEMA L21-20P * `nema-l21-30p` - NEMA L21-30P * `nema-l22-20p` - NEMA L22-20P * `nema-l22-30p` - NEMA L22-30P * `cs6361c` - CS6361C * `cs6365c` - CS6365C * `cs8165c` - CS8165C * `cs8265c` - CS8265C * `cs8365c` - CS8365C * `cs8465c` - CS8465C * `ita-c` - ITA Type C (CEE 7/16) * `ita-e` - ITA Type E (CEE 7/6) * `ita-f` - ITA Type F (CEE 7/4) * `ita-ef` - ITA Type E/F (CEE 7/7) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `usb-3-b` - USB 3.0 Type B * `usb-3-micro-b` - USB 3.0 Micro B * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20` - Neutrik powerCON (20A) * `neutrik-powercon-32` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other (optional) + typeNiew := []openapiclient.DcimPowerPortsListTypeIcParameterInner{openapiclient.dcim_power_ports_list_type__ic_parameter_inner("")} // []DcimPowerPortsListTypeIcParameterInner | Physical port type * `iec-60320-c6` - C6 * `iec-60320-c8` - C8 * `iec-60320-c14` - C14 * `iec-60320-c16` - C16 * `iec-60320-c20` - C20 * `iec-60320-c22` - C22 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15p` - NEMA 1-15P * `nema-5-15p` - NEMA 5-15P * `nema-5-20p` - NEMA 5-20P * `nema-5-30p` - NEMA 5-30P * `nema-5-50p` - NEMA 5-50P * `nema-6-15p` - NEMA 6-15P * `nema-6-20p` - NEMA 6-20P * `nema-6-30p` - NEMA 6-30P * `nema-6-50p` - NEMA 6-50P * `nema-10-30p` - NEMA 10-30P * `nema-10-50p` - NEMA 10-50P * `nema-14-20p` - NEMA 14-20P * `nema-14-30p` - NEMA 14-30P * `nema-14-50p` - NEMA 14-50P * `nema-14-60p` - NEMA 14-60P * `nema-15-15p` - NEMA 15-15P * `nema-15-20p` - NEMA 15-20P * `nema-15-30p` - NEMA 15-30P * `nema-15-50p` - NEMA 15-50P * `nema-15-60p` - NEMA 15-60P * `nema-l1-15p` - NEMA L1-15P * `nema-l5-15p` - NEMA L5-15P * `nema-l5-20p` - NEMA L5-20P * `nema-l5-30p` - NEMA L5-30P * `nema-l5-50p` - NEMA L5-50P * `nema-l6-15p` - NEMA L6-15P * `nema-l6-20p` - NEMA L6-20P * `nema-l6-30p` - NEMA L6-30P * `nema-l6-50p` - NEMA L6-50P * `nema-l10-30p` - NEMA L10-30P * `nema-l14-20p` - NEMA L14-20P * `nema-l14-30p` - NEMA L14-30P * `nema-l14-50p` - NEMA L14-50P * `nema-l14-60p` - NEMA L14-60P * `nema-l15-20p` - NEMA L15-20P * `nema-l15-30p` - NEMA L15-30P * `nema-l15-50p` - NEMA L15-50P * `nema-l15-60p` - NEMA L15-60P * `nema-l21-20p` - NEMA L21-20P * `nema-l21-30p` - NEMA L21-30P * `nema-l22-20p` - NEMA L22-20P * `nema-l22-30p` - NEMA L22-30P * `cs6361c` - CS6361C * `cs6365c` - CS6365C * `cs8165c` - CS8165C * `cs8265c` - CS8265C * `cs8365c` - CS8365C * `cs8465c` - CS8465C * `ita-c` - ITA Type C (CEE 7/16) * `ita-e` - ITA Type E (CEE 7/6) * `ita-f` - ITA Type F (CEE 7/4) * `ita-ef` - ITA Type E/F (CEE 7/7) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `usb-3-b` - USB 3.0 Type B * `usb-3-micro-b` - USB 3.0 Micro B * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20` - Neutrik powerCON (20A) * `neutrik-powercon-32` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other (optional) + typeNisw := []openapiclient.DcimPowerPortsListTypeIcParameterInner{openapiclient.dcim_power_ports_list_type__ic_parameter_inner("")} // []DcimPowerPortsListTypeIcParameterInner | Physical port type * `iec-60320-c6` - C6 * `iec-60320-c8` - C8 * `iec-60320-c14` - C14 * `iec-60320-c16` - C16 * `iec-60320-c20` - C20 * `iec-60320-c22` - C22 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15p` - NEMA 1-15P * `nema-5-15p` - NEMA 5-15P * `nema-5-20p` - NEMA 5-20P * `nema-5-30p` - NEMA 5-30P * `nema-5-50p` - NEMA 5-50P * `nema-6-15p` - NEMA 6-15P * `nema-6-20p` - NEMA 6-20P * `nema-6-30p` - NEMA 6-30P * `nema-6-50p` - NEMA 6-50P * `nema-10-30p` - NEMA 10-30P * `nema-10-50p` - NEMA 10-50P * `nema-14-20p` - NEMA 14-20P * `nema-14-30p` - NEMA 14-30P * `nema-14-50p` - NEMA 14-50P * `nema-14-60p` - NEMA 14-60P * `nema-15-15p` - NEMA 15-15P * `nema-15-20p` - NEMA 15-20P * `nema-15-30p` - NEMA 15-30P * `nema-15-50p` - NEMA 15-50P * `nema-15-60p` - NEMA 15-60P * `nema-l1-15p` - NEMA L1-15P * `nema-l5-15p` - NEMA L5-15P * `nema-l5-20p` - NEMA L5-20P * `nema-l5-30p` - NEMA L5-30P * `nema-l5-50p` - NEMA L5-50P * `nema-l6-15p` - NEMA L6-15P * `nema-l6-20p` - NEMA L6-20P * `nema-l6-30p` - NEMA L6-30P * `nema-l6-50p` - NEMA L6-50P * `nema-l10-30p` - NEMA L10-30P * `nema-l14-20p` - NEMA L14-20P * `nema-l14-30p` - NEMA L14-30P * `nema-l14-50p` - NEMA L14-50P * `nema-l14-60p` - NEMA L14-60P * `nema-l15-20p` - NEMA L15-20P * `nema-l15-30p` - NEMA L15-30P * `nema-l15-50p` - NEMA L15-50P * `nema-l15-60p` - NEMA L15-60P * `nema-l21-20p` - NEMA L21-20P * `nema-l21-30p` - NEMA L21-30P * `nema-l22-20p` - NEMA L22-20P * `nema-l22-30p` - NEMA L22-30P * `cs6361c` - CS6361C * `cs6365c` - CS6365C * `cs8165c` - CS8165C * `cs8265c` - CS8265C * `cs8365c` - CS8365C * `cs8465c` - CS8465C * `ita-c` - ITA Type C (CEE 7/16) * `ita-e` - ITA Type E (CEE 7/6) * `ita-f` - ITA Type F (CEE 7/4) * `ita-ef` - ITA Type E/F (CEE 7/7) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `usb-3-b` - USB 3.0 Type B * `usb-3-micro-b` - USB 3.0 Micro B * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20` - Neutrik powerCON (20A) * `neutrik-powercon-32` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other (optional) updatedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) virtualChassis := []string{"Inner_example"} // []string | Virtual Chassis (optional) virtualChassisN := []string{"Inner_example"} // []string | Virtual Chassis (optional) @@ -25901,7 +26459,7 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.DcimAPI.DcimPowerPortsList(context.Background()).AllocatedDraw(allocatedDraw).AllocatedDrawEmpty(allocatedDrawEmpty).AllocatedDrawGt(allocatedDrawGt).AllocatedDrawGte(allocatedDrawGte).AllocatedDrawLt(allocatedDrawLt).AllocatedDrawLte(allocatedDrawLte).AllocatedDrawN(allocatedDrawN).CableEnd(cableEnd).CableEndN(cableEndN).CableId(cableId).CableIdN(cableIdN).Cabled(cabled).Connected(connected).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceN(deviceN).DeviceId(deviceId).DeviceIdN(deviceIdN).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).LocationId(locationId).LocationIdN(locationIdN).MarkConnected(markConnected).MaximumDraw(maximumDraw).MaximumDrawEmpty(maximumDrawEmpty).MaximumDrawGt(maximumDrawGt).MaximumDrawGte(maximumDrawGte).MaximumDrawLt(maximumDrawLt).MaximumDrawLte(maximumDrawLte).MaximumDrawN(maximumDrawN).ModifiedByRequest(modifiedByRequest).ModuleId(moduleId).ModuleIdN(moduleIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Occupied(occupied).Offset(offset).Ordering(ordering).Q(q).Rack(rack).RackN(rackN).RackId(rackId).RackIdN(rackIdN).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Tag(tag).TagN(tagN).Type_(type_).TypeN(typeN).UpdatedByRequest(updatedByRequest).VirtualChassis(virtualChassis).VirtualChassisN(virtualChassisN).VirtualChassisId(virtualChassisId).VirtualChassisIdN(virtualChassisIdN).Execute() + resp, r, err := apiClient.DcimAPI.DcimPowerPortsList(context.Background()).AllocatedDraw(allocatedDraw).AllocatedDrawEmpty(allocatedDrawEmpty).AllocatedDrawGt(allocatedDrawGt).AllocatedDrawGte(allocatedDrawGte).AllocatedDrawLt(allocatedDrawLt).AllocatedDrawLte(allocatedDrawLte).AllocatedDrawN(allocatedDrawN).CableEnd(cableEnd).CableId(cableId).CableIdN(cableIdN).Cabled(cabled).Connected(connected).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceN(deviceN).DeviceId(deviceId).DeviceIdN(deviceIdN).DeviceRole(deviceRole).DeviceRoleN(deviceRoleN).DeviceRoleId(deviceRoleId).DeviceRoleIdN(deviceRoleIdN).DeviceStatus(deviceStatus).DeviceStatusEmpty(deviceStatusEmpty).DeviceStatusIc(deviceStatusIc).DeviceStatusIe(deviceStatusIe).DeviceStatusIew(deviceStatusIew).DeviceStatusIsw(deviceStatusIsw).DeviceStatusN(deviceStatusN).DeviceStatusNic(deviceStatusNic).DeviceStatusNie(deviceStatusNie).DeviceStatusNiew(deviceStatusNiew).DeviceStatusNisw(deviceStatusNisw).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).LocationId(locationId).LocationIdN(locationIdN).MarkConnected(markConnected).MaximumDraw(maximumDraw).MaximumDrawEmpty(maximumDrawEmpty).MaximumDrawGt(maximumDrawGt).MaximumDrawGte(maximumDrawGte).MaximumDrawLt(maximumDrawLt).MaximumDrawLte(maximumDrawLte).MaximumDrawN(maximumDrawN).ModifiedByRequest(modifiedByRequest).ModuleId(moduleId).ModuleIdN(moduleIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Occupied(occupied).Offset(offset).Ordering(ordering).Q(q).Rack(rack).RackN(rackN).RackId(rackId).RackIdN(rackIdN).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Tag(tag).TagN(tagN).Type_(type_).TypeEmpty(typeEmpty).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNisw(typeNisw).UpdatedByRequest(updatedByRequest).VirtualChassis(virtualChassis).VirtualChassisN(virtualChassisN).VirtualChassisId(virtualChassisId).VirtualChassisIdN(virtualChassisIdN).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPortsList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -25930,7 +26488,6 @@ Name | Type | Description | Notes **allocatedDrawLte** | **[]int32** | | **allocatedDrawN** | **[]int32** | | **cableEnd** | [**CircuitsCircuitTerminationsListCableEndParameter**](CircuitsCircuitTerminationsListCableEndParameter.md) | * `A` - A * `B` - B | - **cableEndN** | [**CircuitsCircuitTerminationsListCableEndParameter**](CircuitsCircuitTerminationsListCableEndParameter.md) | * `A` - A * `B` - B | **cableId** | **[]int32** | Cable (ID) | **cableIdN** | **[]int32** | Cable (ID) | **cabled** | **bool** | | @@ -25958,6 +26515,21 @@ Name | Type | Description | Notes **deviceN** | **[]string** | Device (name) | **deviceId** | **[]int32** | Device (ID) | **deviceIdN** | **[]int32** | Device (ID) | + **deviceRole** | **[]string** | Device role (slug) | + **deviceRoleN** | **[]string** | Device role (slug) | + **deviceRoleId** | **[]int32** | Device role (ID) | + **deviceRoleIdN** | **[]int32** | Device role (ID) | + **deviceStatus** | **[]string** | | + **deviceStatusEmpty** | **bool** | | + **deviceStatusIc** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusIe** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusIew** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusIsw** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusN** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusNic** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusNie** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusNiew** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusNisw** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | **deviceType** | **[]string** | Device type (model) | **deviceTypeN** | **[]string** | Device type (model) | **deviceTypeId** | **[]int32** | Device type (ID) | @@ -26022,26 +26594,31 @@ Name | Type | Description | Notes **rackN** | **[]string** | Rack (name) | **rackId** | **[]int32** | Rack (ID) | **rackIdN** | **[]int32** | Rack (ID) | - **region** | **[]int32** | Region (slug) | - **regionN** | **[]int32** | Region (slug) | - **regionId** | **[]int32** | Region (ID) | - **regionIdN** | **[]int32** | Region (ID) | - **role** | **[]string** | Device role (slug) | - **roleN** | **[]string** | Device role (slug) | - **roleId** | **[]int32** | Device role (ID) | - **roleIdN** | **[]int32** | Device role (ID) | + **region** | **[]string** | | + **regionN** | **[]string** | | + **regionId** | **[]string** | | + **regionIdN** | **[]string** | | **site** | **[]string** | Site name (slug) | **siteN** | **[]string** | Site name (slug) | - **siteGroup** | **[]int32** | Site group (slug) | - **siteGroupN** | **[]int32** | Site group (slug) | - **siteGroupId** | **[]int32** | Site group (ID) | - **siteGroupIdN** | **[]int32** | Site group (ID) | + **siteGroup** | **[]string** | | + **siteGroupN** | **[]string** | | + **siteGroupId** | **[]string** | | + **siteGroupIdN** | **[]string** | | **siteId** | **[]int32** | Site (ID) | **siteIdN** | **[]int32** | Site (ID) | **tag** | **[]string** | | **tagN** | **[]string** | | **type_** | **[]string** | Physical port type | - **typeN** | **[]string** | Physical port type | + **typeEmpty** | **bool** | | + **typeIc** | [**[]DcimPowerPortsListTypeIcParameterInner**](DcimPowerPortsListTypeIcParameterInner.md) | Physical port type * `iec-60320-c6` - C6 * `iec-60320-c8` - C8 * `iec-60320-c14` - C14 * `iec-60320-c16` - C16 * `iec-60320-c20` - C20 * `iec-60320-c22` - C22 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15p` - NEMA 1-15P * `nema-5-15p` - NEMA 5-15P * `nema-5-20p` - NEMA 5-20P * `nema-5-30p` - NEMA 5-30P * `nema-5-50p` - NEMA 5-50P * `nema-6-15p` - NEMA 6-15P * `nema-6-20p` - NEMA 6-20P * `nema-6-30p` - NEMA 6-30P * `nema-6-50p` - NEMA 6-50P * `nema-10-30p` - NEMA 10-30P * `nema-10-50p` - NEMA 10-50P * `nema-14-20p` - NEMA 14-20P * `nema-14-30p` - NEMA 14-30P * `nema-14-50p` - NEMA 14-50P * `nema-14-60p` - NEMA 14-60P * `nema-15-15p` - NEMA 15-15P * `nema-15-20p` - NEMA 15-20P * `nema-15-30p` - NEMA 15-30P * `nema-15-50p` - NEMA 15-50P * `nema-15-60p` - NEMA 15-60P * `nema-l1-15p` - NEMA L1-15P * `nema-l5-15p` - NEMA L5-15P * `nema-l5-20p` - NEMA L5-20P * `nema-l5-30p` - NEMA L5-30P * `nema-l5-50p` - NEMA L5-50P * `nema-l6-15p` - NEMA L6-15P * `nema-l6-20p` - NEMA L6-20P * `nema-l6-30p` - NEMA L6-30P * `nema-l6-50p` - NEMA L6-50P * `nema-l10-30p` - NEMA L10-30P * `nema-l14-20p` - NEMA L14-20P * `nema-l14-30p` - NEMA L14-30P * `nema-l14-50p` - NEMA L14-50P * `nema-l14-60p` - NEMA L14-60P * `nema-l15-20p` - NEMA L15-20P * `nema-l15-30p` - NEMA L15-30P * `nema-l15-50p` - NEMA L15-50P * `nema-l15-60p` - NEMA L15-60P * `nema-l21-20p` - NEMA L21-20P * `nema-l21-30p` - NEMA L21-30P * `nema-l22-20p` - NEMA L22-20P * `nema-l22-30p` - NEMA L22-30P * `cs6361c` - CS6361C * `cs6365c` - CS6365C * `cs8165c` - CS8165C * `cs8265c` - CS8265C * `cs8365c` - CS8365C * `cs8465c` - CS8465C * `ita-c` - ITA Type C (CEE 7/16) * `ita-e` - ITA Type E (CEE 7/6) * `ita-f` - ITA Type F (CEE 7/4) * `ita-ef` - ITA Type E/F (CEE 7/7) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `usb-3-b` - USB 3.0 Type B * `usb-3-micro-b` - USB 3.0 Micro B * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20` - Neutrik powerCON (20A) * `neutrik-powercon-32` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other | + **typeIe** | [**[]DcimPowerPortsListTypeIcParameterInner**](DcimPowerPortsListTypeIcParameterInner.md) | Physical port type * `iec-60320-c6` - C6 * `iec-60320-c8` - C8 * `iec-60320-c14` - C14 * `iec-60320-c16` - C16 * `iec-60320-c20` - C20 * `iec-60320-c22` - C22 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15p` - NEMA 1-15P * `nema-5-15p` - NEMA 5-15P * `nema-5-20p` - NEMA 5-20P * `nema-5-30p` - NEMA 5-30P * `nema-5-50p` - NEMA 5-50P * `nema-6-15p` - NEMA 6-15P * `nema-6-20p` - NEMA 6-20P * `nema-6-30p` - NEMA 6-30P * `nema-6-50p` - NEMA 6-50P * `nema-10-30p` - NEMA 10-30P * `nema-10-50p` - NEMA 10-50P * `nema-14-20p` - NEMA 14-20P * `nema-14-30p` - NEMA 14-30P * `nema-14-50p` - NEMA 14-50P * `nema-14-60p` - NEMA 14-60P * `nema-15-15p` - NEMA 15-15P * `nema-15-20p` - NEMA 15-20P * `nema-15-30p` - NEMA 15-30P * `nema-15-50p` - NEMA 15-50P * `nema-15-60p` - NEMA 15-60P * `nema-l1-15p` - NEMA L1-15P * `nema-l5-15p` - NEMA L5-15P * `nema-l5-20p` - NEMA L5-20P * `nema-l5-30p` - NEMA L5-30P * `nema-l5-50p` - NEMA L5-50P * `nema-l6-15p` - NEMA L6-15P * `nema-l6-20p` - NEMA L6-20P * `nema-l6-30p` - NEMA L6-30P * `nema-l6-50p` - NEMA L6-50P * `nema-l10-30p` - NEMA L10-30P * `nema-l14-20p` - NEMA L14-20P * `nema-l14-30p` - NEMA L14-30P * `nema-l14-50p` - NEMA L14-50P * `nema-l14-60p` - NEMA L14-60P * `nema-l15-20p` - NEMA L15-20P * `nema-l15-30p` - NEMA L15-30P * `nema-l15-50p` - NEMA L15-50P * `nema-l15-60p` - NEMA L15-60P * `nema-l21-20p` - NEMA L21-20P * `nema-l21-30p` - NEMA L21-30P * `nema-l22-20p` - NEMA L22-20P * `nema-l22-30p` - NEMA L22-30P * `cs6361c` - CS6361C * `cs6365c` - CS6365C * `cs8165c` - CS8165C * `cs8265c` - CS8265C * `cs8365c` - CS8365C * `cs8465c` - CS8465C * `ita-c` - ITA Type C (CEE 7/16) * `ita-e` - ITA Type E (CEE 7/6) * `ita-f` - ITA Type F (CEE 7/4) * `ita-ef` - ITA Type E/F (CEE 7/7) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `usb-3-b` - USB 3.0 Type B * `usb-3-micro-b` - USB 3.0 Micro B * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20` - Neutrik powerCON (20A) * `neutrik-powercon-32` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other | + **typeIew** | [**[]DcimPowerPortsListTypeIcParameterInner**](DcimPowerPortsListTypeIcParameterInner.md) | Physical port type * `iec-60320-c6` - C6 * `iec-60320-c8` - C8 * `iec-60320-c14` - C14 * `iec-60320-c16` - C16 * `iec-60320-c20` - C20 * `iec-60320-c22` - C22 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15p` - NEMA 1-15P * `nema-5-15p` - NEMA 5-15P * `nema-5-20p` - NEMA 5-20P * `nema-5-30p` - NEMA 5-30P * `nema-5-50p` - NEMA 5-50P * `nema-6-15p` - NEMA 6-15P * `nema-6-20p` - NEMA 6-20P * `nema-6-30p` - NEMA 6-30P * `nema-6-50p` - NEMA 6-50P * `nema-10-30p` - NEMA 10-30P * `nema-10-50p` - NEMA 10-50P * `nema-14-20p` - NEMA 14-20P * `nema-14-30p` - NEMA 14-30P * `nema-14-50p` - NEMA 14-50P * `nema-14-60p` - NEMA 14-60P * `nema-15-15p` - NEMA 15-15P * `nema-15-20p` - NEMA 15-20P * `nema-15-30p` - NEMA 15-30P * `nema-15-50p` - NEMA 15-50P * `nema-15-60p` - NEMA 15-60P * `nema-l1-15p` - NEMA L1-15P * `nema-l5-15p` - NEMA L5-15P * `nema-l5-20p` - NEMA L5-20P * `nema-l5-30p` - NEMA L5-30P * `nema-l5-50p` - NEMA L5-50P * `nema-l6-15p` - NEMA L6-15P * `nema-l6-20p` - NEMA L6-20P * `nema-l6-30p` - NEMA L6-30P * `nema-l6-50p` - NEMA L6-50P * `nema-l10-30p` - NEMA L10-30P * `nema-l14-20p` - NEMA L14-20P * `nema-l14-30p` - NEMA L14-30P * `nema-l14-50p` - NEMA L14-50P * `nema-l14-60p` - NEMA L14-60P * `nema-l15-20p` - NEMA L15-20P * `nema-l15-30p` - NEMA L15-30P * `nema-l15-50p` - NEMA L15-50P * `nema-l15-60p` - NEMA L15-60P * `nema-l21-20p` - NEMA L21-20P * `nema-l21-30p` - NEMA L21-30P * `nema-l22-20p` - NEMA L22-20P * `nema-l22-30p` - NEMA L22-30P * `cs6361c` - CS6361C * `cs6365c` - CS6365C * `cs8165c` - CS8165C * `cs8265c` - CS8265C * `cs8365c` - CS8365C * `cs8465c` - CS8465C * `ita-c` - ITA Type C (CEE 7/16) * `ita-e` - ITA Type E (CEE 7/6) * `ita-f` - ITA Type F (CEE 7/4) * `ita-ef` - ITA Type E/F (CEE 7/7) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `usb-3-b` - USB 3.0 Type B * `usb-3-micro-b` - USB 3.0 Micro B * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20` - Neutrik powerCON (20A) * `neutrik-powercon-32` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other | + **typeIsw** | [**[]DcimPowerPortsListTypeIcParameterInner**](DcimPowerPortsListTypeIcParameterInner.md) | Physical port type * `iec-60320-c6` - C6 * `iec-60320-c8` - C8 * `iec-60320-c14` - C14 * `iec-60320-c16` - C16 * `iec-60320-c20` - C20 * `iec-60320-c22` - C22 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15p` - NEMA 1-15P * `nema-5-15p` - NEMA 5-15P * `nema-5-20p` - NEMA 5-20P * `nema-5-30p` - NEMA 5-30P * `nema-5-50p` - NEMA 5-50P * `nema-6-15p` - NEMA 6-15P * `nema-6-20p` - NEMA 6-20P * `nema-6-30p` - NEMA 6-30P * `nema-6-50p` - NEMA 6-50P * `nema-10-30p` - NEMA 10-30P * `nema-10-50p` - NEMA 10-50P * `nema-14-20p` - NEMA 14-20P * `nema-14-30p` - NEMA 14-30P * `nema-14-50p` - NEMA 14-50P * `nema-14-60p` - NEMA 14-60P * `nema-15-15p` - NEMA 15-15P * `nema-15-20p` - NEMA 15-20P * `nema-15-30p` - NEMA 15-30P * `nema-15-50p` - NEMA 15-50P * `nema-15-60p` - NEMA 15-60P * `nema-l1-15p` - NEMA L1-15P * `nema-l5-15p` - NEMA L5-15P * `nema-l5-20p` - NEMA L5-20P * `nema-l5-30p` - NEMA L5-30P * `nema-l5-50p` - NEMA L5-50P * `nema-l6-15p` - NEMA L6-15P * `nema-l6-20p` - NEMA L6-20P * `nema-l6-30p` - NEMA L6-30P * `nema-l6-50p` - NEMA L6-50P * `nema-l10-30p` - NEMA L10-30P * `nema-l14-20p` - NEMA L14-20P * `nema-l14-30p` - NEMA L14-30P * `nema-l14-50p` - NEMA L14-50P * `nema-l14-60p` - NEMA L14-60P * `nema-l15-20p` - NEMA L15-20P * `nema-l15-30p` - NEMA L15-30P * `nema-l15-50p` - NEMA L15-50P * `nema-l15-60p` - NEMA L15-60P * `nema-l21-20p` - NEMA L21-20P * `nema-l21-30p` - NEMA L21-30P * `nema-l22-20p` - NEMA L22-20P * `nema-l22-30p` - NEMA L22-30P * `cs6361c` - CS6361C * `cs6365c` - CS6365C * `cs8165c` - CS8165C * `cs8265c` - CS8265C * `cs8365c` - CS8365C * `cs8465c` - CS8465C * `ita-c` - ITA Type C (CEE 7/16) * `ita-e` - ITA Type E (CEE 7/6) * `ita-f` - ITA Type F (CEE 7/4) * `ita-ef` - ITA Type E/F (CEE 7/7) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `usb-3-b` - USB 3.0 Type B * `usb-3-micro-b` - USB 3.0 Micro B * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20` - Neutrik powerCON (20A) * `neutrik-powercon-32` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other | + **typeN** | [**[]DcimPowerPortsListTypeIcParameterInner**](DcimPowerPortsListTypeIcParameterInner.md) | Physical port type * `iec-60320-c6` - C6 * `iec-60320-c8` - C8 * `iec-60320-c14` - C14 * `iec-60320-c16` - C16 * `iec-60320-c20` - C20 * `iec-60320-c22` - C22 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15p` - NEMA 1-15P * `nema-5-15p` - NEMA 5-15P * `nema-5-20p` - NEMA 5-20P * `nema-5-30p` - NEMA 5-30P * `nema-5-50p` - NEMA 5-50P * `nema-6-15p` - NEMA 6-15P * `nema-6-20p` - NEMA 6-20P * `nema-6-30p` - NEMA 6-30P * `nema-6-50p` - NEMA 6-50P * `nema-10-30p` - NEMA 10-30P * `nema-10-50p` - NEMA 10-50P * `nema-14-20p` - NEMA 14-20P * `nema-14-30p` - NEMA 14-30P * `nema-14-50p` - NEMA 14-50P * `nema-14-60p` - NEMA 14-60P * `nema-15-15p` - NEMA 15-15P * `nema-15-20p` - NEMA 15-20P * `nema-15-30p` - NEMA 15-30P * `nema-15-50p` - NEMA 15-50P * `nema-15-60p` - NEMA 15-60P * `nema-l1-15p` - NEMA L1-15P * `nema-l5-15p` - NEMA L5-15P * `nema-l5-20p` - NEMA L5-20P * `nema-l5-30p` - NEMA L5-30P * `nema-l5-50p` - NEMA L5-50P * `nema-l6-15p` - NEMA L6-15P * `nema-l6-20p` - NEMA L6-20P * `nema-l6-30p` - NEMA L6-30P * `nema-l6-50p` - NEMA L6-50P * `nema-l10-30p` - NEMA L10-30P * `nema-l14-20p` - NEMA L14-20P * `nema-l14-30p` - NEMA L14-30P * `nema-l14-50p` - NEMA L14-50P * `nema-l14-60p` - NEMA L14-60P * `nema-l15-20p` - NEMA L15-20P * `nema-l15-30p` - NEMA L15-30P * `nema-l15-50p` - NEMA L15-50P * `nema-l15-60p` - NEMA L15-60P * `nema-l21-20p` - NEMA L21-20P * `nema-l21-30p` - NEMA L21-30P * `nema-l22-20p` - NEMA L22-20P * `nema-l22-30p` - NEMA L22-30P * `cs6361c` - CS6361C * `cs6365c` - CS6365C * `cs8165c` - CS8165C * `cs8265c` - CS8265C * `cs8365c` - CS8365C * `cs8465c` - CS8465C * `ita-c` - ITA Type C (CEE 7/16) * `ita-e` - ITA Type E (CEE 7/6) * `ita-f` - ITA Type F (CEE 7/4) * `ita-ef` - ITA Type E/F (CEE 7/7) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `usb-3-b` - USB 3.0 Type B * `usb-3-micro-b` - USB 3.0 Micro B * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20` - Neutrik powerCON (20A) * `neutrik-powercon-32` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other | + **typeNic** | [**[]DcimPowerPortsListTypeIcParameterInner**](DcimPowerPortsListTypeIcParameterInner.md) | Physical port type * `iec-60320-c6` - C6 * `iec-60320-c8` - C8 * `iec-60320-c14` - C14 * `iec-60320-c16` - C16 * `iec-60320-c20` - C20 * `iec-60320-c22` - C22 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15p` - NEMA 1-15P * `nema-5-15p` - NEMA 5-15P * `nema-5-20p` - NEMA 5-20P * `nema-5-30p` - NEMA 5-30P * `nema-5-50p` - NEMA 5-50P * `nema-6-15p` - NEMA 6-15P * `nema-6-20p` - NEMA 6-20P * `nema-6-30p` - NEMA 6-30P * `nema-6-50p` - NEMA 6-50P * `nema-10-30p` - NEMA 10-30P * `nema-10-50p` - NEMA 10-50P * `nema-14-20p` - NEMA 14-20P * `nema-14-30p` - NEMA 14-30P * `nema-14-50p` - NEMA 14-50P * `nema-14-60p` - NEMA 14-60P * `nema-15-15p` - NEMA 15-15P * `nema-15-20p` - NEMA 15-20P * `nema-15-30p` - NEMA 15-30P * `nema-15-50p` - NEMA 15-50P * `nema-15-60p` - NEMA 15-60P * `nema-l1-15p` - NEMA L1-15P * `nema-l5-15p` - NEMA L5-15P * `nema-l5-20p` - NEMA L5-20P * `nema-l5-30p` - NEMA L5-30P * `nema-l5-50p` - NEMA L5-50P * `nema-l6-15p` - NEMA L6-15P * `nema-l6-20p` - NEMA L6-20P * `nema-l6-30p` - NEMA L6-30P * `nema-l6-50p` - NEMA L6-50P * `nema-l10-30p` - NEMA L10-30P * `nema-l14-20p` - NEMA L14-20P * `nema-l14-30p` - NEMA L14-30P * `nema-l14-50p` - NEMA L14-50P * `nema-l14-60p` - NEMA L14-60P * `nema-l15-20p` - NEMA L15-20P * `nema-l15-30p` - NEMA L15-30P * `nema-l15-50p` - NEMA L15-50P * `nema-l15-60p` - NEMA L15-60P * `nema-l21-20p` - NEMA L21-20P * `nema-l21-30p` - NEMA L21-30P * `nema-l22-20p` - NEMA L22-20P * `nema-l22-30p` - NEMA L22-30P * `cs6361c` - CS6361C * `cs6365c` - CS6365C * `cs8165c` - CS8165C * `cs8265c` - CS8265C * `cs8365c` - CS8365C * `cs8465c` - CS8465C * `ita-c` - ITA Type C (CEE 7/16) * `ita-e` - ITA Type E (CEE 7/6) * `ita-f` - ITA Type F (CEE 7/4) * `ita-ef` - ITA Type E/F (CEE 7/7) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `usb-3-b` - USB 3.0 Type B * `usb-3-micro-b` - USB 3.0 Micro B * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20` - Neutrik powerCON (20A) * `neutrik-powercon-32` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other | + **typeNie** | [**[]DcimPowerPortsListTypeIcParameterInner**](DcimPowerPortsListTypeIcParameterInner.md) | Physical port type * `iec-60320-c6` - C6 * `iec-60320-c8` - C8 * `iec-60320-c14` - C14 * `iec-60320-c16` - C16 * `iec-60320-c20` - C20 * `iec-60320-c22` - C22 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15p` - NEMA 1-15P * `nema-5-15p` - NEMA 5-15P * `nema-5-20p` - NEMA 5-20P * `nema-5-30p` - NEMA 5-30P * `nema-5-50p` - NEMA 5-50P * `nema-6-15p` - NEMA 6-15P * `nema-6-20p` - NEMA 6-20P * `nema-6-30p` - NEMA 6-30P * `nema-6-50p` - NEMA 6-50P * `nema-10-30p` - NEMA 10-30P * `nema-10-50p` - NEMA 10-50P * `nema-14-20p` - NEMA 14-20P * `nema-14-30p` - NEMA 14-30P * `nema-14-50p` - NEMA 14-50P * `nema-14-60p` - NEMA 14-60P * `nema-15-15p` - NEMA 15-15P * `nema-15-20p` - NEMA 15-20P * `nema-15-30p` - NEMA 15-30P * `nema-15-50p` - NEMA 15-50P * `nema-15-60p` - NEMA 15-60P * `nema-l1-15p` - NEMA L1-15P * `nema-l5-15p` - NEMA L5-15P * `nema-l5-20p` - NEMA L5-20P * `nema-l5-30p` - NEMA L5-30P * `nema-l5-50p` - NEMA L5-50P * `nema-l6-15p` - NEMA L6-15P * `nema-l6-20p` - NEMA L6-20P * `nema-l6-30p` - NEMA L6-30P * `nema-l6-50p` - NEMA L6-50P * `nema-l10-30p` - NEMA L10-30P * `nema-l14-20p` - NEMA L14-20P * `nema-l14-30p` - NEMA L14-30P * `nema-l14-50p` - NEMA L14-50P * `nema-l14-60p` - NEMA L14-60P * `nema-l15-20p` - NEMA L15-20P * `nema-l15-30p` - NEMA L15-30P * `nema-l15-50p` - NEMA L15-50P * `nema-l15-60p` - NEMA L15-60P * `nema-l21-20p` - NEMA L21-20P * `nema-l21-30p` - NEMA L21-30P * `nema-l22-20p` - NEMA L22-20P * `nema-l22-30p` - NEMA L22-30P * `cs6361c` - CS6361C * `cs6365c` - CS6365C * `cs8165c` - CS8165C * `cs8265c` - CS8265C * `cs8365c` - CS8365C * `cs8465c` - CS8465C * `ita-c` - ITA Type C (CEE 7/16) * `ita-e` - ITA Type E (CEE 7/6) * `ita-f` - ITA Type F (CEE 7/4) * `ita-ef` - ITA Type E/F (CEE 7/7) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `usb-3-b` - USB 3.0 Type B * `usb-3-micro-b` - USB 3.0 Micro B * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20` - Neutrik powerCON (20A) * `neutrik-powercon-32` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other | + **typeNiew** | [**[]DcimPowerPortsListTypeIcParameterInner**](DcimPowerPortsListTypeIcParameterInner.md) | Physical port type * `iec-60320-c6` - C6 * `iec-60320-c8` - C8 * `iec-60320-c14` - C14 * `iec-60320-c16` - C16 * `iec-60320-c20` - C20 * `iec-60320-c22` - C22 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15p` - NEMA 1-15P * `nema-5-15p` - NEMA 5-15P * `nema-5-20p` - NEMA 5-20P * `nema-5-30p` - NEMA 5-30P * `nema-5-50p` - NEMA 5-50P * `nema-6-15p` - NEMA 6-15P * `nema-6-20p` - NEMA 6-20P * `nema-6-30p` - NEMA 6-30P * `nema-6-50p` - NEMA 6-50P * `nema-10-30p` - NEMA 10-30P * `nema-10-50p` - NEMA 10-50P * `nema-14-20p` - NEMA 14-20P * `nema-14-30p` - NEMA 14-30P * `nema-14-50p` - NEMA 14-50P * `nema-14-60p` - NEMA 14-60P * `nema-15-15p` - NEMA 15-15P * `nema-15-20p` - NEMA 15-20P * `nema-15-30p` - NEMA 15-30P * `nema-15-50p` - NEMA 15-50P * `nema-15-60p` - NEMA 15-60P * `nema-l1-15p` - NEMA L1-15P * `nema-l5-15p` - NEMA L5-15P * `nema-l5-20p` - NEMA L5-20P * `nema-l5-30p` - NEMA L5-30P * `nema-l5-50p` - NEMA L5-50P * `nema-l6-15p` - NEMA L6-15P * `nema-l6-20p` - NEMA L6-20P * `nema-l6-30p` - NEMA L6-30P * `nema-l6-50p` - NEMA L6-50P * `nema-l10-30p` - NEMA L10-30P * `nema-l14-20p` - NEMA L14-20P * `nema-l14-30p` - NEMA L14-30P * `nema-l14-50p` - NEMA L14-50P * `nema-l14-60p` - NEMA L14-60P * `nema-l15-20p` - NEMA L15-20P * `nema-l15-30p` - NEMA L15-30P * `nema-l15-50p` - NEMA L15-50P * `nema-l15-60p` - NEMA L15-60P * `nema-l21-20p` - NEMA L21-20P * `nema-l21-30p` - NEMA L21-30P * `nema-l22-20p` - NEMA L22-20P * `nema-l22-30p` - NEMA L22-30P * `cs6361c` - CS6361C * `cs6365c` - CS6365C * `cs8165c` - CS8165C * `cs8265c` - CS8265C * `cs8365c` - CS8365C * `cs8465c` - CS8465C * `ita-c` - ITA Type C (CEE 7/16) * `ita-e` - ITA Type E (CEE 7/6) * `ita-f` - ITA Type F (CEE 7/4) * `ita-ef` - ITA Type E/F (CEE 7/7) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `usb-3-b` - USB 3.0 Type B * `usb-3-micro-b` - USB 3.0 Micro B * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20` - Neutrik powerCON (20A) * `neutrik-powercon-32` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other | + **typeNisw** | [**[]DcimPowerPortsListTypeIcParameterInner**](DcimPowerPortsListTypeIcParameterInner.md) | Physical port type * `iec-60320-c6` - C6 * `iec-60320-c8` - C8 * `iec-60320-c14` - C14 * `iec-60320-c16` - C16 * `iec-60320-c20` - C20 * `iec-60320-c22` - C22 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15p` - NEMA 1-15P * `nema-5-15p` - NEMA 5-15P * `nema-5-20p` - NEMA 5-20P * `nema-5-30p` - NEMA 5-30P * `nema-5-50p` - NEMA 5-50P * `nema-6-15p` - NEMA 6-15P * `nema-6-20p` - NEMA 6-20P * `nema-6-30p` - NEMA 6-30P * `nema-6-50p` - NEMA 6-50P * `nema-10-30p` - NEMA 10-30P * `nema-10-50p` - NEMA 10-50P * `nema-14-20p` - NEMA 14-20P * `nema-14-30p` - NEMA 14-30P * `nema-14-50p` - NEMA 14-50P * `nema-14-60p` - NEMA 14-60P * `nema-15-15p` - NEMA 15-15P * `nema-15-20p` - NEMA 15-20P * `nema-15-30p` - NEMA 15-30P * `nema-15-50p` - NEMA 15-50P * `nema-15-60p` - NEMA 15-60P * `nema-l1-15p` - NEMA L1-15P * `nema-l5-15p` - NEMA L5-15P * `nema-l5-20p` - NEMA L5-20P * `nema-l5-30p` - NEMA L5-30P * `nema-l5-50p` - NEMA L5-50P * `nema-l6-15p` - NEMA L6-15P * `nema-l6-20p` - NEMA L6-20P * `nema-l6-30p` - NEMA L6-30P * `nema-l6-50p` - NEMA L6-50P * `nema-l10-30p` - NEMA L10-30P * `nema-l14-20p` - NEMA L14-20P * `nema-l14-30p` - NEMA L14-30P * `nema-l14-50p` - NEMA L14-50P * `nema-l14-60p` - NEMA L14-60P * `nema-l15-20p` - NEMA L15-20P * `nema-l15-30p` - NEMA L15-30P * `nema-l15-50p` - NEMA L15-50P * `nema-l15-60p` - NEMA L15-60P * `nema-l21-20p` - NEMA L21-20P * `nema-l21-30p` - NEMA L21-30P * `nema-l22-20p` - NEMA L22-20P * `nema-l22-30p` - NEMA L22-30P * `cs6361c` - CS6361C * `cs6365c` - CS6365C * `cs8165c` - CS8165C * `cs8265c` - CS8265C * `cs8365c` - CS8365C * `cs8465c` - CS8465C * `ita-c` - ITA Type C (CEE 7/16) * `ita-e` - ITA Type E (CEE 7/6) * `ita-f` - ITA Type F (CEE 7/4) * `ita-ef` - ITA Type E/F (CEE 7/7) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `usb-3-b` - USB 3.0 Type B * `usb-3-micro-b` - USB 3.0 Micro B * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20` - Neutrik powerCON (20A) * `neutrik-powercon-32` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other | **updatedByRequest** | **string** | | **virtualChassis** | **[]string** | Virtual Chassis | **virtualChassisN** | **[]string** | Virtual Chassis | @@ -26300,7 +26877,7 @@ import ( func main() { id := int32(56) // int32 | A unique integer value identifying this power port. - writablePowerPortRequest := *openapiclient.NewWritablePowerPortRequest(*openapiclient.NewDeviceRequest(), "Name_example") // WritablePowerPortRequest | + writablePowerPortRequest := *openapiclient.NewWritablePowerPortRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example") // WritablePowerPortRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -26371,7 +26948,7 @@ import ( ) func main() { - rackReservationRequest := []openapiclient.RackReservationRequest{*openapiclient.NewRackReservationRequest(*openapiclient.NewRackRequest("Name_example"), []int32{int32(123)}, *openapiclient.NewUserRequest("Username_example"), "Description_example")} // []RackReservationRequest | + rackReservationRequest := []openapiclient.RackReservationRequest{*openapiclient.NewRackReservationRequest(*openapiclient.NewBriefRackRequest("Name_example"), []int32{int32(123)}, *openapiclient.NewBriefUserRequest("Username_example"), "Description_example")} // []RackReservationRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -26435,7 +27012,7 @@ import ( ) func main() { - rackReservationRequest := []openapiclient.RackReservationRequest{*openapiclient.NewRackReservationRequest(*openapiclient.NewRackRequest("Name_example"), []int32{int32(123)}, *openapiclient.NewUserRequest("Username_example"), "Description_example")} // []RackReservationRequest | + rackReservationRequest := []openapiclient.RackReservationRequest{*openapiclient.NewRackReservationRequest(*openapiclient.NewBriefRackRequest("Name_example"), []int32{int32(123)}, *openapiclient.NewBriefUserRequest("Username_example"), "Description_example")} // []RackReservationRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -26501,7 +27078,7 @@ import ( ) func main() { - rackReservationRequest := []openapiclient.RackReservationRequest{*openapiclient.NewRackReservationRequest(*openapiclient.NewRackRequest("Name_example"), []int32{int32(123)}, *openapiclient.NewUserRequest("Username_example"), "Description_example")} // []RackReservationRequest | + rackReservationRequest := []openapiclient.RackReservationRequest{*openapiclient.NewRackReservationRequest(*openapiclient.NewBriefRackRequest("Name_example"), []int32{int32(123)}, *openapiclient.NewBriefUserRequest("Username_example"), "Description_example")} // []RackReservationRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -26567,7 +27144,7 @@ import ( ) func main() { - rackReservationRequest := *openapiclient.NewRackReservationRequest(*openapiclient.NewRackRequest("Name_example"), []int32{int32(123)}, *openapiclient.NewUserRequest("Username_example"), "Description_example") // RackReservationRequest | + rackReservationRequest := *openapiclient.NewRackReservationRequest(*openapiclient.NewBriefRackRequest("Name_example"), []int32{int32(123)}, *openapiclient.NewBriefUserRequest("Username_example"), "Description_example") // RackReservationRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -26736,36 +27313,36 @@ 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 := []int32{int32(123)} // []int32 | Location (slug) (optional) - locationN := []int32{int32(123)} // []int32 | Location (slug) (optional) - locationId := []int32{int32(123)} // []int32 | Location (ID) (optional) - locationIdN := []int32{int32(123)} // []int32 | Location (ID) (optional) + location := []string{"Inner_example"} // []string | (optional) + locationN := []string{"Inner_example"} // []string | (optional) + locationId := []string{"Inner_example"} // []string | (optional) + locationIdN := []string{"Inner_example"} // []string | (optional) modifiedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) offset := int32(56) // int32 | The initial index from which to return the results. (optional) ordering := "ordering_example" // string | Which field to use when ordering the results. (optional) q := "q_example" // string | Search (optional) rackId := []int32{int32(123)} // []int32 | Rack (ID) (optional) rackIdN := []int32{int32(123)} // []int32 | Rack (ID) (optional) - region := []int32{int32(123)} // []int32 | Region (slug) (optional) - regionN := []int32{int32(123)} // []int32 | Region (slug) (optional) - regionId := []int32{int32(123)} // []int32 | Region (ID) (optional) - regionIdN := []int32{int32(123)} // []int32 | Region (ID) (optional) + region := []string{"Inner_example"} // []string | (optional) + regionN := []string{"Inner_example"} // []string | (optional) + regionId := []string{"Inner_example"} // []string | (optional) + regionIdN := []string{"Inner_example"} // []string | (optional) site := []string{"Inner_example"} // []string | Site (slug) (optional) siteN := []string{"Inner_example"} // []string | Site (slug) (optional) - siteGroup := []int32{int32(123)} // []int32 | Site group (slug) (optional) - siteGroupN := []int32{int32(123)} // []int32 | Site group (slug) (optional) - siteGroupId := []int32{int32(123)} // []int32 | Site group (ID) (optional) - siteGroupIdN := []int32{int32(123)} // []int32 | Site group (ID) (optional) + siteGroup := []string{"Inner_example"} // []string | (optional) + siteGroupN := []string{"Inner_example"} // []string | (optional) + siteGroupId := []string{"Inner_example"} // []string | (optional) + siteGroupIdN := []string{"Inner_example"} // []string | (optional) siteId := []int32{int32(123)} // []int32 | Site (ID) (optional) siteIdN := []int32{int32(123)} // []int32 | Site (ID) (optional) tag := []string{"Inner_example"} // []string | (optional) tagN := []string{"Inner_example"} // []string | (optional) tenant := []string{"Inner_example"} // []string | Tenant (slug) (optional) tenantN := []string{"Inner_example"} // []string | Tenant (slug) (optional) - tenantGroup := []int32{int32(123)} // []int32 | Tenant Group (slug) (optional) - tenantGroupN := []int32{int32(123)} // []int32 | Tenant Group (slug) (optional) - tenantGroupId := []int32{int32(123)} // []int32 | Tenant Group (ID) (optional) - tenantGroupIdN := []int32{int32(123)} // []int32 | Tenant Group (ID) (optional) + tenantGroup := []string{"Inner_example"} // []string | (optional) + tenantGroupN := []string{"Inner_example"} // []string | (optional) + tenantGroupId := []string{"Inner_example"} // []string | (optional) + tenantGroupIdN := []string{"Inner_example"} // []string | (optional) tenantId := []*int32{int32(123)} // []*int32 | Tenant (ID) (optional) tenantIdN := []*int32{int32(123)} // []*int32 | Tenant (ID) (optional) unit := float32(8.14) // float32 | (optional) @@ -26832,36 +27409,36 @@ 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** | **[]int32** | Location (slug) | - **locationN** | **[]int32** | Location (slug) | - **locationId** | **[]int32** | Location (ID) | - **locationIdN** | **[]int32** | Location (ID) | + **location** | **[]string** | | + **locationN** | **[]string** | | + **locationId** | **[]string** | | + **locationIdN** | **[]string** | | **modifiedByRequest** | **string** | | **offset** | **int32** | The initial index from which to return the results. | **ordering** | **string** | Which field to use when ordering the results. | **q** | **string** | Search | **rackId** | **[]int32** | Rack (ID) | **rackIdN** | **[]int32** | Rack (ID) | - **region** | **[]int32** | Region (slug) | - **regionN** | **[]int32** | Region (slug) | - **regionId** | **[]int32** | Region (ID) | - **regionIdN** | **[]int32** | Region (ID) | + **region** | **[]string** | | + **regionN** | **[]string** | | + **regionId** | **[]string** | | + **regionIdN** | **[]string** | | **site** | **[]string** | Site (slug) | **siteN** | **[]string** | Site (slug) | - **siteGroup** | **[]int32** | Site group (slug) | - **siteGroupN** | **[]int32** | Site group (slug) | - **siteGroupId** | **[]int32** | Site group (ID) | - **siteGroupIdN** | **[]int32** | Site group (ID) | + **siteGroup** | **[]string** | | + **siteGroupN** | **[]string** | | + **siteGroupId** | **[]string** | | + **siteGroupIdN** | **[]string** | | **siteId** | **[]int32** | Site (ID) | **siteIdN** | **[]int32** | Site (ID) | **tag** | **[]string** | | **tagN** | **[]string** | | **tenant** | **[]string** | Tenant (slug) | **tenantN** | **[]string** | Tenant (slug) | - **tenantGroup** | **[]int32** | Tenant Group (slug) | - **tenantGroupN** | **[]int32** | Tenant Group (slug) | - **tenantGroupId** | **[]int32** | Tenant Group (ID) | - **tenantGroupIdN** | **[]int32** | Tenant Group (ID) | + **tenantGroup** | **[]string** | | + **tenantGroupN** | **[]string** | | + **tenantGroupId** | **[]string** | | + **tenantGroupIdN** | **[]string** | | **tenantId** | **[]int32** | Tenant (ID) | **tenantIdN** | **[]int32** | Tenant (ID) | **unit** | **float32** | | @@ -27053,7 +27630,7 @@ import ( func main() { id := int32(56) // int32 | A unique integer value identifying this rack reservation. - rackReservationRequest := *openapiclient.NewRackReservationRequest(*openapiclient.NewRackRequest("Name_example"), []int32{int32(123)}, *openapiclient.NewUserRequest("Username_example"), "Description_example") // RackReservationRequest | + rackReservationRequest := *openapiclient.NewRackReservationRequest(*openapiclient.NewBriefRackRequest("Name_example"), []int32{int32(123)}, *openapiclient.NewBriefUserRequest("Username_example"), "Description_example") // RackReservationRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -27860,9 +28437,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## DcimRacksBulkDestroy +## DcimRackTypesBulkDestroy -> DcimRacksBulkDestroy(ctx).RackRequest(rackRequest).Execute() +> DcimRackTypesBulkDestroy(ctx).RackTypeRequest(rackTypeRequest).Execute() @@ -27881,13 +28458,13 @@ import ( ) func main() { - rackRequest := []openapiclient.RackRequest{*openapiclient.NewRackRequest("Name_example")} // []RackRequest | + rackTypeRequest := []openapiclient.RackTypeRequest{*openapiclient.NewRackTypeRequest(*openapiclient.NewBriefManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example")} // []RackTypeRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.DcimAPI.DcimRacksBulkDestroy(context.Background()).RackRequest(rackRequest).Execute() + r, err := apiClient.DcimAPI.DcimRackTypesBulkDestroy(context.Background()).RackTypeRequest(rackTypeRequest).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRacksBulkDestroy``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRackTypesBulkDestroy``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -27899,12 +28476,12 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiDcimRacksBulkDestroyRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiDcimRackTypesBulkDestroyRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **rackRequest** | [**[]RackRequest**](RackRequest.md) | | + **rackTypeRequest** | [**[]RackTypeRequest**](RackTypeRequest.md) | | ### Return type @@ -27924,9 +28501,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## DcimRacksBulkPartialUpdate +## DcimRackTypesBulkPartialUpdate -> []Rack DcimRacksBulkPartialUpdate(ctx).RackRequest(rackRequest).Execute() +> []RackType DcimRackTypesBulkPartialUpdate(ctx).RackTypeRequest(rackTypeRequest).Execute() @@ -27945,17 +28522,17 @@ import ( ) func main() { - rackRequest := []openapiclient.RackRequest{*openapiclient.NewRackRequest("Name_example")} // []RackRequest | + rackTypeRequest := []openapiclient.RackTypeRequest{*openapiclient.NewRackTypeRequest(*openapiclient.NewBriefManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example")} // []RackTypeRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.DcimAPI.DcimRacksBulkPartialUpdate(context.Background()).RackRequest(rackRequest).Execute() + resp, r, err := apiClient.DcimAPI.DcimRackTypesBulkPartialUpdate(context.Background()).RackTypeRequest(rackTypeRequest).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRacksBulkPartialUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRackTypesBulkPartialUpdate``: %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) + // response from `DcimRackTypesBulkPartialUpdate`: []RackType + fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRackTypesBulkPartialUpdate`: %v\n", resp) } ``` @@ -27965,16 +28542,16 @@ func main() { ### 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 apiDcimRackTypesBulkPartialUpdateRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **rackRequest** | [**[]RackRequest**](RackRequest.md) | | + **rackTypeRequest** | [**[]RackTypeRequest**](RackTypeRequest.md) | | ### Return type -[**[]Rack**](Rack.md) +[**[]RackType**](RackType.md) ### Authorization @@ -27990,9 +28567,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## DcimRacksBulkUpdate +## DcimRackTypesBulkUpdate -> []Rack DcimRacksBulkUpdate(ctx).RackRequest(rackRequest).Execute() +> []RackType DcimRackTypesBulkUpdate(ctx).RackTypeRequest(rackTypeRequest).Execute() @@ -28011,17 +28588,17 @@ import ( ) func main() { - rackRequest := []openapiclient.RackRequest{*openapiclient.NewRackRequest("Name_example")} // []RackRequest | + rackTypeRequest := []openapiclient.RackTypeRequest{*openapiclient.NewRackTypeRequest(*openapiclient.NewBriefManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example")} // []RackTypeRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.DcimAPI.DcimRacksBulkUpdate(context.Background()).RackRequest(rackRequest).Execute() + resp, r, err := apiClient.DcimAPI.DcimRackTypesBulkUpdate(context.Background()).RackTypeRequest(rackTypeRequest).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRacksBulkUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRackTypesBulkUpdate``: %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) + // response from `DcimRackTypesBulkUpdate`: []RackType + fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRackTypesBulkUpdate`: %v\n", resp) } ``` @@ -28031,16 +28608,16 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiDcimRacksBulkUpdateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiDcimRackTypesBulkUpdateRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **rackRequest** | [**[]RackRequest**](RackRequest.md) | | + **rackTypeRequest** | [**[]RackTypeRequest**](RackTypeRequest.md) | | ### Return type -[**[]Rack**](Rack.md) +[**[]RackType**](RackType.md) ### Authorization @@ -28056,9 +28633,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## DcimRacksCreate +## DcimRackTypesCreate -> Rack DcimRacksCreate(ctx).WritableRackRequest(writableRackRequest).Execute() +> RackType DcimRackTypesCreate(ctx).WritableRackTypeRequest(writableRackTypeRequest).Execute() @@ -28077,17 +28654,17 @@ import ( ) func main() { - writableRackRequest := *openapiclient.NewWritableRackRequest("Name_example", *openapiclient.NewSiteRequest("Name_example", "Slug_example")) // WritableRackRequest | + writableRackTypeRequest := *openapiclient.NewWritableRackTypeRequest(*openapiclient.NewBriefManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example", openapiclient.PatchedWritableRackTypeRequest_form_factor("2-post-frame")) // WritableRackTypeRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.DcimAPI.DcimRacksCreate(context.Background()).WritableRackRequest(writableRackRequest).Execute() + resp, r, err := apiClient.DcimAPI.DcimRackTypesCreate(context.Background()).WritableRackTypeRequest(writableRackTypeRequest).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRacksCreate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRackTypesCreate``: %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 `DcimRackTypesCreate`: RackType + fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRackTypesCreate`: %v\n", resp) } ``` @@ -28097,16 +28674,16 @@ func main() { ### 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 apiDcimRackTypesCreateRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **writableRackRequest** | [**WritableRackRequest**](WritableRackRequest.md) | | + **writableRackTypeRequest** | [**WritableRackTypeRequest**](WritableRackTypeRequest.md) | | ### Return type -[**Rack**](Rack.md) +[**RackType**](RackType.md) ### Authorization @@ -28122,9 +28699,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## DcimRacksDestroy +## DcimRackTypesDestroy -> DcimRacksDestroy(ctx, id).Execute() +> DcimRackTypesDestroy(ctx, id).Execute() @@ -28143,13 +28720,13 @@ import ( ) func main() { - id := int32(56) // int32 | A unique integer value identifying this rack. + id := int32(56) // int32 | A unique integer value identifying this rack type. configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.DcimAPI.DcimRacksDestroy(context.Background(), id).Execute() + r, err := apiClient.DcimAPI.DcimRackTypesDestroy(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRacksDestroy``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRackTypesDestroy``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -28161,11 +28738,11 @@ func main() { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**id** | **int32** | A unique integer value identifying this rack. | +**id** | **int32** | A unique integer value identifying this rack type. | ### 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 apiDcimRackTypesDestroyRequest struct via the builder pattern Name | Type | Description | Notes @@ -28190,103 +28767,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## DcimRacksElevationRetrieve +## DcimRackTypesList -> PaginatedRackUnitList DcimRacksElevationRetrieve(ctx, id).Exclude(exclude).ExpandDevices(expandDevices).Face(face).IncludeImages(includeImages).LegendWidth(legendWidth).Limit(limit).MarginWidth(marginWidth).Offset(offset).Q(q).Render(render).UnitHeight(unitHeight).UnitWidth(unitWidth).Execute() - - - - - -### Example - -```go -package main - -import ( - "context" - "fmt" - "os" - openapiclient "github.com/netbox-community/go-netbox/v4" -) - -func main() { - id := int32(56) // int32 | A unique integer value identifying this rack. - exclude := int32(56) // int32 | (optional) - expandDevices := true // bool | (optional) (default to true) - face := openapiclient.dcim_racks_elevation_retrieve_face_parameter("front") // DcimRacksElevationRetrieveFaceParameter | * `front` - Front * `rear` - Rear (optional) (default to "front") - 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) - marginWidth := int32(56) // int32 | (optional) (default to 15) - offset := int32(56) // int32 | The initial index from which to return the results. (optional) - q := "q_example" // string | (optional) - render := openapiclient.dcim_racks_elevation_retrieve_render_parameter("json") // DcimRacksElevationRetrieveRenderParameter | * `json` - json * `svg` - svg (optional) (default to "json") - unitHeight := int32(56) // int32 | (optional) - unitWidth := int32(56) // int32 | (optional) - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.DcimAPI.DcimRacksElevationRetrieve(context.Background(), id).Exclude(exclude).ExpandDevices(expandDevices).Face(face).IncludeImages(includeImages).LegendWidth(legendWidth).Limit(limit).MarginWidth(marginWidth).Offset(offset).Q(q).Render(render).UnitHeight(unitHeight).UnitWidth(unitWidth).Execute() - if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRacksElevationRetrieve``: %v\n", err) - fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) - } - // response from `DcimRacksElevationRetrieve`: PaginatedRackUnitList - fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRacksElevationRetrieve`: %v\n", resp) -} -``` - -### Path Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**id** | **int32** | A unique integer value identifying this rack. | - -### Other Parameters - -Other parameters are passed through a pointer to a apiDcimRacksElevationRetrieveRequest struct via the builder pattern - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - - **exclude** | **int32** | | - **expandDevices** | **bool** | | [default to true] - **face** | [**DcimRacksElevationRetrieveFaceParameter**](DcimRacksElevationRetrieveFaceParameter.md) | * `front` - Front * `rear` - Rear | [default to "front"] - **includeImages** | **bool** | | [default to true] - **legendWidth** | **int32** | | [default to 30] - **limit** | **int32** | Number of results to return per page. | - **marginWidth** | **int32** | | [default to 15] - **offset** | **int32** | The initial index from which to return the results. | - **q** | **string** | | - **render** | [**DcimRacksElevationRetrieveRenderParameter**](DcimRacksElevationRetrieveRenderParameter.md) | * `json` - json * `svg` - svg | [default to "json"] - **unitHeight** | **int32** | | - **unitWidth** | **int32** | | - -### Return type - -[**PaginatedRackUnitList**](PaginatedRackUnitList.md) - -### Authorization - -[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) -[[Back to Model list]](../README.md#documentation-for-models) -[[Back to README]](../README.md) - - -## DcimRacksList - -> PaginatedRackList DcimRacksList(ctx).AssetTag(assetTag).AssetTagEmpty(assetTagEmpty).AssetTagIc(assetTagIc).AssetTagIe(assetTagIe).AssetTagIew(assetTagIew).AssetTagIsw(assetTagIsw).AssetTagN(assetTagN).AssetTagNic(assetTagNic).AssetTagNie(assetTagNie).AssetTagNiew(assetTagNiew).AssetTagNisw(assetTagNisw).Contact(contact).ContactN(contactN).ContactGroup(contactGroup).ContactGroupN(contactGroupN).ContactRole(contactRole).ContactRoleN(contactRoleN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).DescUnits(descUnits).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).FacilityId(facilityId).FacilityIdEmpty(facilityIdEmpty).FacilityIdIc(facilityIdIc).FacilityIdIe(facilityIdIe).FacilityIdIew(facilityIdIew).FacilityIdIsw(facilityIdIsw).FacilityIdN(facilityIdN).FacilityIdNic(facilityIdNic).FacilityIdNie(facilityIdNie).FacilityIdNiew(facilityIdNiew).FacilityIdNisw(facilityIdNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).LocationId(locationId).LocationIdN(locationIdN).MaxWeight(maxWeight).MaxWeightEmpty(maxWeightEmpty).MaxWeightGt(maxWeightGt).MaxWeightGte(maxWeightGte).MaxWeightLt(maxWeightLt).MaxWeightLte(maxWeightLte).MaxWeightN(maxWeightN).ModifiedByRequest(modifiedByRequest).MountingDepth(mountingDepth).MountingDepthEmpty(mountingDepthEmpty).MountingDepthGt(mountingDepthGt).MountingDepthGte(mountingDepthGte).MountingDepthLt(mountingDepthLt).MountingDepthLte(mountingDepthLte).MountingDepthN(mountingDepthN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).OuterDepth(outerDepth).OuterDepthEmpty(outerDepthEmpty).OuterDepthGt(outerDepthGt).OuterDepthGte(outerDepthGte).OuterDepthLt(outerDepthLt).OuterDepthLte(outerDepthLte).OuterDepthN(outerDepthN).OuterUnit(outerUnit).OuterUnitN(outerUnitN).OuterWidth(outerWidth).OuterWidthEmpty(outerWidthEmpty).OuterWidthGt(outerWidthGt).OuterWidthGte(outerWidthGte).OuterWidthLt(outerWidthLt).OuterWidthLte(outerWidthLte).OuterWidthN(outerWidthN).Q(q).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).Serial(serial).SerialEmpty(serialEmpty).SerialIc(serialIc).SerialIe(serialIe).SerialIew(serialIew).SerialIsw(serialIsw).SerialN(serialN).SerialNic(serialNic).SerialNie(serialNie).SerialNiew(serialNiew).SerialNisw(serialNisw).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).StartingUnit(startingUnit).StartingUnitEmpty(startingUnitEmpty).StartingUnitGt(startingUnitGt).StartingUnitGte(startingUnitGte).StartingUnitLt(startingUnitLt).StartingUnitLte(startingUnitLte).StartingUnitN(startingUnitN).Status(status).StatusN(statusN).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).Type_(type_).TypeN(typeN).UHeight(uHeight).UHeightEmpty(uHeightEmpty).UHeightGt(uHeightGt).UHeightGte(uHeightGte).UHeightLt(uHeightLt).UHeightLte(uHeightLte).UHeightN(uHeightN).UpdatedByRequest(updatedByRequest).Weight(weight).WeightEmpty(weightEmpty).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).WeightUnit(weightUnit).WeightUnitN(weightUnitN).Width(width).WidthN(widthN).Execute() +> PaginatedRackTypeList DcimRackTypesList(ctx).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).DescUnits(descUnits).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).FormFactor(formFactor).FormFactorEmpty(formFactorEmpty).FormFactorIc(formFactorIc).FormFactorIe(formFactorIe).FormFactorIew(formFactorIew).FormFactorIsw(formFactorIsw).FormFactorN(formFactorN).FormFactorNic(formFactorNic).FormFactorNie(formFactorNie).FormFactorNiew(formFactorNiew).FormFactorNisw(formFactorNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Manufacturer(manufacturer).ManufacturerN(manufacturerN).ManufacturerId(manufacturerId).ManufacturerIdN(manufacturerIdN).MaxWeight(maxWeight).MaxWeightEmpty(maxWeightEmpty).MaxWeightGt(maxWeightGt).MaxWeightGte(maxWeightGte).MaxWeightLt(maxWeightLt).MaxWeightLte(maxWeightLte).MaxWeightN(maxWeightN).Model(model).ModelEmpty(modelEmpty).ModelIc(modelIc).ModelIe(modelIe).ModelIew(modelIew).ModelIsw(modelIsw).ModelN(modelN).ModelNic(modelNic).ModelNie(modelNie).ModelNiew(modelNiew).ModelNisw(modelNisw).ModifiedByRequest(modifiedByRequest).MountingDepth(mountingDepth).MountingDepthEmpty(mountingDepthEmpty).MountingDepthGt(mountingDepthGt).MountingDepthGte(mountingDepthGte).MountingDepthLt(mountingDepthLt).MountingDepthLte(mountingDepthLte).MountingDepthN(mountingDepthN).Offset(offset).Ordering(ordering).OuterDepth(outerDepth).OuterDepthEmpty(outerDepthEmpty).OuterDepthGt(outerDepthGt).OuterDepthGte(outerDepthGte).OuterDepthLt(outerDepthLt).OuterDepthLte(outerDepthLte).OuterDepthN(outerDepthN).OuterUnit(outerUnit).OuterWidth(outerWidth).OuterWidthEmpty(outerWidthEmpty).OuterWidthGt(outerWidthGt).OuterWidthGte(outerWidthGte).OuterWidthLt(outerWidthLt).OuterWidthLte(outerWidthLte).OuterWidthN(outerWidthN).Q(q).Slug(slug).SlugEmpty(slugEmpty).SlugIc(slugIc).SlugIe(slugIe).SlugIew(slugIew).SlugIsw(slugIsw).SlugN(slugN).SlugNic(slugNic).SlugNie(slugNie).SlugNiew(slugNiew).SlugNisw(slugNisw).StartingUnit(startingUnit).StartingUnitEmpty(startingUnitEmpty).StartingUnitGt(startingUnitGt).StartingUnitGte(startingUnitGte).StartingUnitLt(startingUnitLt).StartingUnitLte(startingUnitLte).StartingUnitN(startingUnitN).Tag(tag).TagN(tagN).UHeight(uHeight).UHeightEmpty(uHeightEmpty).UHeightGt(uHeightGt).UHeightGte(uHeightGte).UHeightLt(uHeightLt).UHeightLte(uHeightLte).UHeightN(uHeightN).UpdatedByRequest(updatedByRequest).Weight(weight).WeightEmpty(weightEmpty).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).WeightUnit(weightUnit).Width(width).WidthIc(widthIc).WidthIe(widthIe).WidthIew(widthIew).WidthIsw(widthIsw).WidthN(widthN).WidthNic(widthNic).WidthNie(widthNie).WidthNiew(widthNiew).WidthNisw(widthNisw).Execute() @@ -28306,23 +28789,6 @@ import ( ) func main() { - assetTag := []string{"Inner_example"} // []string | (optional) - assetTagEmpty := true // bool | (optional) - assetTagIc := []string{"Inner_example"} // []string | (optional) - assetTagIe := []string{"Inner_example"} // []string | (optional) - assetTagIew := []string{"Inner_example"} // []string | (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) - assetTagNisw := []string{"Inner_example"} // []string | (optional) - contact := []int32{int32(123)} // []int32 | Contact (optional) - contactN := []int32{int32(123)} // []int32 | Contact (optional) - contactGroup := []int32{int32(123)} // []int32 | Contact group (optional) - contactGroupN := []int32{int32(123)} // []int32 | Contact group (optional) - contactRole := []int32{int32(123)} // []int32 | Contact Role (optional) - contactRoleN := []int32{int32(123)} // []int32 | Contact Role (optional) created := []time.Time{time.Now()} // []time.Time | (optional) createdEmpty := []time.Time{time.Now()} // []time.Time | (optional) createdGt := []time.Time{time.Now()} // []time.Time | (optional) @@ -28343,17 +28809,17 @@ func main() { descriptionNie := []string{"Inner_example"} // []string | (optional) descriptionNiew := []string{"Inner_example"} // []string | (optional) descriptionNisw := []string{"Inner_example"} // []string | (optional) - facilityId := []string{"Inner_example"} // []string | (optional) - facilityIdEmpty := true // bool | (optional) - facilityIdIc := []string{"Inner_example"} // []string | (optional) - facilityIdIe := []string{"Inner_example"} // []string | (optional) - facilityIdIew := []string{"Inner_example"} // []string | (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) - facilityIdNisw := []string{"Inner_example"} // []string | (optional) + formFactor := []string{"Inner_example"} // []string | (optional) + formFactorEmpty := true // bool | (optional) + formFactorIc := []openapiclient.DcimRackTypesListFormFactorIcParameterInner{openapiclient.dcim_rack_types_list_form_factor__ic_parameter_inner("2-post-frame")} // []DcimRackTypesListFormFactorIcParameterInner | * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) (optional) + formFactorIe := []openapiclient.DcimRackTypesListFormFactorIcParameterInner{openapiclient.dcim_rack_types_list_form_factor__ic_parameter_inner("2-post-frame")} // []DcimRackTypesListFormFactorIcParameterInner | * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) (optional) + formFactorIew := []openapiclient.DcimRackTypesListFormFactorIcParameterInner{openapiclient.dcim_rack_types_list_form_factor__ic_parameter_inner("2-post-frame")} // []DcimRackTypesListFormFactorIcParameterInner | * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) (optional) + formFactorIsw := []openapiclient.DcimRackTypesListFormFactorIcParameterInner{openapiclient.dcim_rack_types_list_form_factor__ic_parameter_inner("2-post-frame")} // []DcimRackTypesListFormFactorIcParameterInner | * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) (optional) + formFactorN := []openapiclient.DcimRackTypesListFormFactorIcParameterInner{openapiclient.dcim_rack_types_list_form_factor__ic_parameter_inner("2-post-frame")} // []DcimRackTypesListFormFactorIcParameterInner | * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) (optional) + formFactorNic := []openapiclient.DcimRackTypesListFormFactorIcParameterInner{openapiclient.dcim_rack_types_list_form_factor__ic_parameter_inner("2-post-frame")} // []DcimRackTypesListFormFactorIcParameterInner | * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) (optional) + formFactorNie := []openapiclient.DcimRackTypesListFormFactorIcParameterInner{openapiclient.dcim_rack_types_list_form_factor__ic_parameter_inner("2-post-frame")} // []DcimRackTypesListFormFactorIcParameterInner | * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) (optional) + formFactorNiew := []openapiclient.DcimRackTypesListFormFactorIcParameterInner{openapiclient.dcim_rack_types_list_form_factor__ic_parameter_inner("2-post-frame")} // []DcimRackTypesListFormFactorIcParameterInner | * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) (optional) + formFactorNisw := []openapiclient.DcimRackTypesListFormFactorIcParameterInner{openapiclient.dcim_rack_types_list_form_factor__ic_parameter_inner("2-post-frame")} // []DcimRackTypesListFormFactorIcParameterInner | * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) (optional) id := []int32{int32(123)} // []int32 | (optional) idEmpty := true // bool | (optional) idGt := []int32{int32(123)} // []int32 | (optional) @@ -28369,10 +28835,10 @@ 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 := []int32{int32(123)} // []int32 | Location (slug) (optional) - locationN := []int32{int32(123)} // []int32 | Location (slug) (optional) - locationId := []int32{int32(123)} // []int32 | Location (ID) (optional) - locationIdN := []int32{int32(123)} // []int32 | Location (ID) (optional) + manufacturer := []string{"Inner_example"} // []string | Manufacturer (slug) (optional) + manufacturerN := []string{"Inner_example"} // []string | Manufacturer (slug) (optional) + manufacturerId := []int32{int32(123)} // []int32 | Manufacturer (ID) (optional) + manufacturerIdN := []int32{int32(123)} // []int32 | Manufacturer (ID) (optional) maxWeight := []int32{int32(123)} // []int32 | (optional) maxWeightEmpty := true // bool | (optional) maxWeightGt := []int32{int32(123)} // []int32 | (optional) @@ -28380,6 +28846,17 @@ func main() { maxWeightLt := []int32{int32(123)} // []int32 | (optional) maxWeightLte := []int32{int32(123)} // []int32 | (optional) maxWeightN := []int32{int32(123)} // []int32 | (optional) + model := []string{"Inner_example"} // []string | (optional) + modelEmpty := true // bool | (optional) + modelIc := []string{"Inner_example"} // []string | (optional) + modelIe := []string{"Inner_example"} // []string | (optional) + modelIew := []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) + modelNisw := []string{"Inner_example"} // []string | (optional) modifiedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) mountingDepth := []int32{int32(123)} // []int32 | (optional) mountingDepthEmpty := true // bool | (optional) @@ -28388,17 +28865,6 @@ func main() { mountingDepthLt := []int32{int32(123)} // []int32 | (optional) mountingDepthLte := []int32{int32(123)} // []int32 | (optional) mountingDepthN := []int32{int32(123)} // []int32 | (optional) - name := []string{"Inner_example"} // []string | (optional) - nameEmpty := true // bool | (optional) - nameIc := []string{"Inner_example"} // []string | (optional) - nameIe := []string{"Inner_example"} // []string | (optional) - nameIew := []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) - nameNisw := []string{"Inner_example"} // []string | (optional) offset := int32(56) // int32 | The initial index from which to return the results. (optional) ordering := "ordering_example" // string | Which field to use when ordering the results. (optional) outerDepth := []int32{int32(123)} // []int32 | (optional) @@ -28408,8 +28874,7 @@ func main() { outerDepthLt := []int32{int32(123)} // []int32 | (optional) outerDepthLte := []int32{int32(123)} // []int32 | (optional) outerDepthN := []int32{int32(123)} // []int32 | (optional) - outerUnit := openapiclient.dcim_racks_list_outer_unit_parameter("in") // DcimRacksListOuterUnitParameter | * `mm` - Millimeters * `in` - Inches (optional) - outerUnitN := openapiclient.dcim_racks_list_outer_unit_parameter("in") // DcimRacksListOuterUnitParameter | * `mm` - Millimeters * `in` - Inches (optional) + outerUnit := openapiclient.dcim_rack_types_list_outer_unit_parameter("in") // DcimRackTypesListOuterUnitParameter | * `mm` - Millimeters * `in` - Inches (optional) outerWidth := []int32{int32(123)} // []int32 | (optional) outerWidthEmpty := true // bool | (optional) outerWidthGt := []int32{int32(123)} // []int32 | (optional) @@ -28418,33 +28883,17 @@ func main() { outerWidthLte := []int32{int32(123)} // []int32 | (optional) outerWidthN := []int32{int32(123)} // []int32 | (optional) q := "q_example" // string | Search (optional) - region := []int32{int32(123)} // []int32 | Region (slug) (optional) - regionN := []int32{int32(123)} // []int32 | Region (slug) (optional) - regionId := []int32{int32(123)} // []int32 | Region (ID) (optional) - regionIdN := []int32{int32(123)} // []int32 | Region (ID) (optional) - role := []string{"Inner_example"} // []string | Role (slug) (optional) - roleN := []string{"Inner_example"} // []string | Role (slug) (optional) - roleId := []*int32{int32(123)} // []*int32 | Role (ID) (optional) - roleIdN := []*int32{int32(123)} // []*int32 | Role (ID) (optional) - serial := []string{"Inner_example"} // []string | (optional) - serialEmpty := true // bool | (optional) - serialIc := []string{"Inner_example"} // []string | (optional) - serialIe := []string{"Inner_example"} // []string | (optional) - serialIew := []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) - serialNisw := []string{"Inner_example"} // []string | (optional) - site := []string{"Inner_example"} // []string | Site (slug) (optional) - siteN := []string{"Inner_example"} // []string | Site (slug) (optional) - siteGroup := []int32{int32(123)} // []int32 | Site group (slug) (optional) - siteGroupN := []int32{int32(123)} // []int32 | Site group (slug) (optional) - siteGroupId := []int32{int32(123)} // []int32 | Site group (ID) (optional) - siteGroupIdN := []int32{int32(123)} // []int32 | Site group (ID) (optional) - siteId := []int32{int32(123)} // []int32 | Site (ID) (optional) - siteIdN := []int32{int32(123)} // []int32 | Site (ID) (optional) + slug := []string{"Inner_example"} // []string | (optional) + slugEmpty := true // bool | (optional) + slugIc := []string{"Inner_example"} // []string | (optional) + slugIe := []string{"Inner_example"} // []string | (optional) + slugIew := []string{"Inner_example"} // []string | (optional) + slugIsw := []string{"Inner_example"} // []string | (optional) + slugN := []string{"Inner_example"} // []string | (optional) + slugNic := []string{"Inner_example"} // []string | (optional) + slugNie := []string{"Inner_example"} // []string | (optional) + slugNiew := []string{"Inner_example"} // []string | (optional) + slugNisw := []string{"Inner_example"} // []string | (optional) startingUnit := []int32{int32(123)} // []int32 | (optional) startingUnitEmpty := true // bool | (optional) startingUnitGt := []int32{int32(123)} // []int32 | (optional) @@ -28452,20 +28901,8 @@ func main() { startingUnitLt := []int32{int32(123)} // []int32 | (optional) startingUnitLte := []int32{int32(123)} // []int32 | (optional) startingUnitN := []int32{int32(123)} // []int32 | (optional) - status := []string{"Inner_example"} // []string | (optional) - statusN := []string{"Inner_example"} // []string | (optional) tag := []string{"Inner_example"} // []string | (optional) tagN := []string{"Inner_example"} // []string | (optional) - tenant := []string{"Inner_example"} // []string | Tenant (slug) (optional) - tenantN := []string{"Inner_example"} // []string | Tenant (slug) (optional) - tenantGroup := []int32{int32(123)} // []int32 | Tenant Group (slug) (optional) - tenantGroupN := []int32{int32(123)} // []int32 | Tenant Group (slug) (optional) - tenantGroupId := []int32{int32(123)} // []int32 | Tenant Group (ID) (optional) - tenantGroupIdN := []int32{int32(123)} // []int32 | Tenant Group (ID) (optional) - tenantId := []*int32{int32(123)} // []*int32 | Tenant (ID) (optional) - tenantIdN := []*int32{int32(123)} // []*int32 | Tenant (ID) (optional) - type_ := []string{"Inner_example"} // []string | (optional) - typeN := []string{"Inner_example"} // []string | (optional) uHeight := []int32{int32(123)} // []int32 | (optional) uHeightEmpty := true // bool | (optional) uHeightGt := []int32{int32(123)} // []int32 | (optional) @@ -28482,13 +28919,1075 @@ func main() { weightLte := []float64{float64(123)} // []float64 | (optional) weightN := []float64{float64(123)} // []float64 | (optional) weightUnit := openapiclient.dcim_device_types_list_weight_unit_parameter("g") // DcimDeviceTypesListWeightUnitParameter | * `kg` - Kilograms * `g` - Grams * `lb` - Pounds * `oz` - Ounces (optional) - weightUnitN := openapiclient.dcim_device_types_list_weight_unit_parameter("g") // DcimDeviceTypesListWeightUnitParameter | * `kg` - Kilograms * `g` - Grams * `lb` - Pounds * `oz` - Ounces (optional) width := []int32{int32(123)} // []int32 | Rail-to-rail width (optional) - widthN := []int32{int32(123)} // []int32 | Rail-to-rail width (optional) + widthIc := []openapiclient.DcimRackTypesListWidthIcParameterInner{openapiclient.dcim_rack_types_list_width__ic_parameter_inner(10)} // []DcimRackTypesListWidthIcParameterInner | Rail-to-rail width * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches (optional) + widthIe := []openapiclient.DcimRackTypesListWidthIcParameterInner{openapiclient.dcim_rack_types_list_width__ic_parameter_inner(10)} // []DcimRackTypesListWidthIcParameterInner | Rail-to-rail width * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches (optional) + widthIew := []openapiclient.DcimRackTypesListWidthIcParameterInner{openapiclient.dcim_rack_types_list_width__ic_parameter_inner(10)} // []DcimRackTypesListWidthIcParameterInner | Rail-to-rail width * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches (optional) + widthIsw := []openapiclient.DcimRackTypesListWidthIcParameterInner{openapiclient.dcim_rack_types_list_width__ic_parameter_inner(10)} // []DcimRackTypesListWidthIcParameterInner | Rail-to-rail width * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches (optional) + widthN := []openapiclient.DcimRackTypesListWidthIcParameterInner{openapiclient.dcim_rack_types_list_width__ic_parameter_inner(10)} // []DcimRackTypesListWidthIcParameterInner | Rail-to-rail width * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches (optional) + widthNic := []openapiclient.DcimRackTypesListWidthIcParameterInner{openapiclient.dcim_rack_types_list_width__ic_parameter_inner(10)} // []DcimRackTypesListWidthIcParameterInner | Rail-to-rail width * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches (optional) + widthNie := []openapiclient.DcimRackTypesListWidthIcParameterInner{openapiclient.dcim_rack_types_list_width__ic_parameter_inner(10)} // []DcimRackTypesListWidthIcParameterInner | Rail-to-rail width * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches (optional) + widthNiew := []openapiclient.DcimRackTypesListWidthIcParameterInner{openapiclient.dcim_rack_types_list_width__ic_parameter_inner(10)} // []DcimRackTypesListWidthIcParameterInner | Rail-to-rail width * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches (optional) + widthNisw := []openapiclient.DcimRackTypesListWidthIcParameterInner{openapiclient.dcim_rack_types_list_width__ic_parameter_inner(10)} // []DcimRackTypesListWidthIcParameterInner | Rail-to-rail width * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.DcimAPI.DcimRacksList(context.Background()).AssetTag(assetTag).AssetTagEmpty(assetTagEmpty).AssetTagIc(assetTagIc).AssetTagIe(assetTagIe).AssetTagIew(assetTagIew).AssetTagIsw(assetTagIsw).AssetTagN(assetTagN).AssetTagNic(assetTagNic).AssetTagNie(assetTagNie).AssetTagNiew(assetTagNiew).AssetTagNisw(assetTagNisw).Contact(contact).ContactN(contactN).ContactGroup(contactGroup).ContactGroupN(contactGroupN).ContactRole(contactRole).ContactRoleN(contactRoleN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).DescUnits(descUnits).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).FacilityId(facilityId).FacilityIdEmpty(facilityIdEmpty).FacilityIdIc(facilityIdIc).FacilityIdIe(facilityIdIe).FacilityIdIew(facilityIdIew).FacilityIdIsw(facilityIdIsw).FacilityIdN(facilityIdN).FacilityIdNic(facilityIdNic).FacilityIdNie(facilityIdNie).FacilityIdNiew(facilityIdNiew).FacilityIdNisw(facilityIdNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).LocationId(locationId).LocationIdN(locationIdN).MaxWeight(maxWeight).MaxWeightEmpty(maxWeightEmpty).MaxWeightGt(maxWeightGt).MaxWeightGte(maxWeightGte).MaxWeightLt(maxWeightLt).MaxWeightLte(maxWeightLte).MaxWeightN(maxWeightN).ModifiedByRequest(modifiedByRequest).MountingDepth(mountingDepth).MountingDepthEmpty(mountingDepthEmpty).MountingDepthGt(mountingDepthGt).MountingDepthGte(mountingDepthGte).MountingDepthLt(mountingDepthLt).MountingDepthLte(mountingDepthLte).MountingDepthN(mountingDepthN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).OuterDepth(outerDepth).OuterDepthEmpty(outerDepthEmpty).OuterDepthGt(outerDepthGt).OuterDepthGte(outerDepthGte).OuterDepthLt(outerDepthLt).OuterDepthLte(outerDepthLte).OuterDepthN(outerDepthN).OuterUnit(outerUnit).OuterUnitN(outerUnitN).OuterWidth(outerWidth).OuterWidthEmpty(outerWidthEmpty).OuterWidthGt(outerWidthGt).OuterWidthGte(outerWidthGte).OuterWidthLt(outerWidthLt).OuterWidthLte(outerWidthLte).OuterWidthN(outerWidthN).Q(q).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).Serial(serial).SerialEmpty(serialEmpty).SerialIc(serialIc).SerialIe(serialIe).SerialIew(serialIew).SerialIsw(serialIsw).SerialN(serialN).SerialNic(serialNic).SerialNie(serialNie).SerialNiew(serialNiew).SerialNisw(serialNisw).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).StartingUnit(startingUnit).StartingUnitEmpty(startingUnitEmpty).StartingUnitGt(startingUnitGt).StartingUnitGte(startingUnitGte).StartingUnitLt(startingUnitLt).StartingUnitLte(startingUnitLte).StartingUnitN(startingUnitN).Status(status).StatusN(statusN).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).Type_(type_).TypeN(typeN).UHeight(uHeight).UHeightEmpty(uHeightEmpty).UHeightGt(uHeightGt).UHeightGte(uHeightGte).UHeightLt(uHeightLt).UHeightLte(uHeightLte).UHeightN(uHeightN).UpdatedByRequest(updatedByRequest).Weight(weight).WeightEmpty(weightEmpty).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).WeightUnit(weightUnit).WeightUnitN(weightUnitN).Width(width).WidthN(widthN).Execute() + resp, r, err := apiClient.DcimAPI.DcimRackTypesList(context.Background()).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).DescUnits(descUnits).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).FormFactor(formFactor).FormFactorEmpty(formFactorEmpty).FormFactorIc(formFactorIc).FormFactorIe(formFactorIe).FormFactorIew(formFactorIew).FormFactorIsw(formFactorIsw).FormFactorN(formFactorN).FormFactorNic(formFactorNic).FormFactorNie(formFactorNie).FormFactorNiew(formFactorNiew).FormFactorNisw(formFactorNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Manufacturer(manufacturer).ManufacturerN(manufacturerN).ManufacturerId(manufacturerId).ManufacturerIdN(manufacturerIdN).MaxWeight(maxWeight).MaxWeightEmpty(maxWeightEmpty).MaxWeightGt(maxWeightGt).MaxWeightGte(maxWeightGte).MaxWeightLt(maxWeightLt).MaxWeightLte(maxWeightLte).MaxWeightN(maxWeightN).Model(model).ModelEmpty(modelEmpty).ModelIc(modelIc).ModelIe(modelIe).ModelIew(modelIew).ModelIsw(modelIsw).ModelN(modelN).ModelNic(modelNic).ModelNie(modelNie).ModelNiew(modelNiew).ModelNisw(modelNisw).ModifiedByRequest(modifiedByRequest).MountingDepth(mountingDepth).MountingDepthEmpty(mountingDepthEmpty).MountingDepthGt(mountingDepthGt).MountingDepthGte(mountingDepthGte).MountingDepthLt(mountingDepthLt).MountingDepthLte(mountingDepthLte).MountingDepthN(mountingDepthN).Offset(offset).Ordering(ordering).OuterDepth(outerDepth).OuterDepthEmpty(outerDepthEmpty).OuterDepthGt(outerDepthGt).OuterDepthGte(outerDepthGte).OuterDepthLt(outerDepthLt).OuterDepthLte(outerDepthLte).OuterDepthN(outerDepthN).OuterUnit(outerUnit).OuterWidth(outerWidth).OuterWidthEmpty(outerWidthEmpty).OuterWidthGt(outerWidthGt).OuterWidthGte(outerWidthGte).OuterWidthLt(outerWidthLt).OuterWidthLte(outerWidthLte).OuterWidthN(outerWidthN).Q(q).Slug(slug).SlugEmpty(slugEmpty).SlugIc(slugIc).SlugIe(slugIe).SlugIew(slugIew).SlugIsw(slugIsw).SlugN(slugN).SlugNic(slugNic).SlugNie(slugNie).SlugNiew(slugNiew).SlugNisw(slugNisw).StartingUnit(startingUnit).StartingUnitEmpty(startingUnitEmpty).StartingUnitGt(startingUnitGt).StartingUnitGte(startingUnitGte).StartingUnitLt(startingUnitLt).StartingUnitLte(startingUnitLte).StartingUnitN(startingUnitN).Tag(tag).TagN(tagN).UHeight(uHeight).UHeightEmpty(uHeightEmpty).UHeightGt(uHeightGt).UHeightGte(uHeightGte).UHeightLt(uHeightLt).UHeightLte(uHeightLte).UHeightN(uHeightN).UpdatedByRequest(updatedByRequest).Weight(weight).WeightEmpty(weightEmpty).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).WeightUnit(weightUnit).Width(width).WidthIc(widthIc).WidthIe(widthIe).WidthIew(widthIew).WidthIsw(widthIsw).WidthN(widthN).WidthNic(widthNic).WidthNie(widthNie).WidthNiew(widthNiew).WidthNisw(widthNisw).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRackTypesList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `DcimRackTypesList`: PaginatedRackTypeList + fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRackTypesList`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiDcimRackTypesListRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **created** | [**[]time.Time**](time.Time.md) | | + **createdEmpty** | [**[]time.Time**](time.Time.md) | | + **createdGt** | [**[]time.Time**](time.Time.md) | | + **createdGte** | [**[]time.Time**](time.Time.md) | | + **createdLt** | [**[]time.Time**](time.Time.md) | | + **createdLte** | [**[]time.Time**](time.Time.md) | | + **createdN** | [**[]time.Time**](time.Time.md) | | + **createdByRequest** | **string** | | + **descUnits** | **bool** | | + **description** | **[]string** | | + **descriptionEmpty** | **bool** | | + **descriptionIc** | **[]string** | | + **descriptionIe** | **[]string** | | + **descriptionIew** | **[]string** | | + **descriptionIsw** | **[]string** | | + **descriptionN** | **[]string** | | + **descriptionNic** | **[]string** | | + **descriptionNie** | **[]string** | | + **descriptionNiew** | **[]string** | | + **descriptionNisw** | **[]string** | | + **formFactor** | **[]string** | | + **formFactorEmpty** | **bool** | | + **formFactorIc** | [**[]DcimRackTypesListFormFactorIcParameterInner**](DcimRackTypesListFormFactorIcParameterInner.md) | * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) | + **formFactorIe** | [**[]DcimRackTypesListFormFactorIcParameterInner**](DcimRackTypesListFormFactorIcParameterInner.md) | * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) | + **formFactorIew** | [**[]DcimRackTypesListFormFactorIcParameterInner**](DcimRackTypesListFormFactorIcParameterInner.md) | * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) | + **formFactorIsw** | [**[]DcimRackTypesListFormFactorIcParameterInner**](DcimRackTypesListFormFactorIcParameterInner.md) | * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) | + **formFactorN** | [**[]DcimRackTypesListFormFactorIcParameterInner**](DcimRackTypesListFormFactorIcParameterInner.md) | * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) | + **formFactorNic** | [**[]DcimRackTypesListFormFactorIcParameterInner**](DcimRackTypesListFormFactorIcParameterInner.md) | * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) | + **formFactorNie** | [**[]DcimRackTypesListFormFactorIcParameterInner**](DcimRackTypesListFormFactorIcParameterInner.md) | * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) | + **formFactorNiew** | [**[]DcimRackTypesListFormFactorIcParameterInner**](DcimRackTypesListFormFactorIcParameterInner.md) | * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) | + **formFactorNisw** | [**[]DcimRackTypesListFormFactorIcParameterInner**](DcimRackTypesListFormFactorIcParameterInner.md) | * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) | + **id** | **[]int32** | | + **idEmpty** | **bool** | | + **idGt** | **[]int32** | | + **idGte** | **[]int32** | | + **idLt** | **[]int32** | | + **idLte** | **[]int32** | | + **idN** | **[]int32** | | + **lastUpdated** | [**[]time.Time**](time.Time.md) | | + **lastUpdatedEmpty** | [**[]time.Time**](time.Time.md) | | + **lastUpdatedGt** | [**[]time.Time**](time.Time.md) | | + **lastUpdatedGte** | [**[]time.Time**](time.Time.md) | | + **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. | + **manufacturer** | **[]string** | Manufacturer (slug) | + **manufacturerN** | **[]string** | Manufacturer (slug) | + **manufacturerId** | **[]int32** | Manufacturer (ID) | + **manufacturerIdN** | **[]int32** | Manufacturer (ID) | + **maxWeight** | **[]int32** | | + **maxWeightEmpty** | **bool** | | + **maxWeightGt** | **[]int32** | | + **maxWeightGte** | **[]int32** | | + **maxWeightLt** | **[]int32** | | + **maxWeightLte** | **[]int32** | | + **maxWeightN** | **[]int32** | | + **model** | **[]string** | | + **modelEmpty** | **bool** | | + **modelIc** | **[]string** | | + **modelIe** | **[]string** | | + **modelIew** | **[]string** | | + **modelIsw** | **[]string** | | + **modelN** | **[]string** | | + **modelNic** | **[]string** | | + **modelNie** | **[]string** | | + **modelNiew** | **[]string** | | + **modelNisw** | **[]string** | | + **modifiedByRequest** | **string** | | + **mountingDepth** | **[]int32** | | + **mountingDepthEmpty** | **bool** | | + **mountingDepthGt** | **[]int32** | | + **mountingDepthGte** | **[]int32** | | + **mountingDepthLt** | **[]int32** | | + **mountingDepthLte** | **[]int32** | | + **mountingDepthN** | **[]int32** | | + **offset** | **int32** | The initial index from which to return the results. | + **ordering** | **string** | Which field to use when ordering the results. | + **outerDepth** | **[]int32** | | + **outerDepthEmpty** | **bool** | | + **outerDepthGt** | **[]int32** | | + **outerDepthGte** | **[]int32** | | + **outerDepthLt** | **[]int32** | | + **outerDepthLte** | **[]int32** | | + **outerDepthN** | **[]int32** | | + **outerUnit** | [**DcimRackTypesListOuterUnitParameter**](DcimRackTypesListOuterUnitParameter.md) | * `mm` - Millimeters * `in` - Inches | + **outerWidth** | **[]int32** | | + **outerWidthEmpty** | **bool** | | + **outerWidthGt** | **[]int32** | | + **outerWidthGte** | **[]int32** | | + **outerWidthLt** | **[]int32** | | + **outerWidthLte** | **[]int32** | | + **outerWidthN** | **[]int32** | | + **q** | **string** | Search | + **slug** | **[]string** | | + **slugEmpty** | **bool** | | + **slugIc** | **[]string** | | + **slugIe** | **[]string** | | + **slugIew** | **[]string** | | + **slugIsw** | **[]string** | | + **slugN** | **[]string** | | + **slugNic** | **[]string** | | + **slugNie** | **[]string** | | + **slugNiew** | **[]string** | | + **slugNisw** | **[]string** | | + **startingUnit** | **[]int32** | | + **startingUnitEmpty** | **bool** | | + **startingUnitGt** | **[]int32** | | + **startingUnitGte** | **[]int32** | | + **startingUnitLt** | **[]int32** | | + **startingUnitLte** | **[]int32** | | + **startingUnitN** | **[]int32** | | + **tag** | **[]string** | | + **tagN** | **[]string** | | + **uHeight** | **[]int32** | | + **uHeightEmpty** | **bool** | | + **uHeightGt** | **[]int32** | | + **uHeightGte** | **[]int32** | | + **uHeightLt** | **[]int32** | | + **uHeightLte** | **[]int32** | | + **uHeightN** | **[]int32** | | + **updatedByRequest** | **string** | | + **weight** | **[]float64** | | + **weightEmpty** | **bool** | | + **weightGt** | **[]float64** | | + **weightGte** | **[]float64** | | + **weightLt** | **[]float64** | | + **weightLte** | **[]float64** | | + **weightN** | **[]float64** | | + **weightUnit** | [**DcimDeviceTypesListWeightUnitParameter**](DcimDeviceTypesListWeightUnitParameter.md) | * `kg` - Kilograms * `g` - Grams * `lb` - Pounds * `oz` - Ounces | + **width** | **[]int32** | Rail-to-rail width | + **widthIc** | [**[]DcimRackTypesListWidthIcParameterInner**](DcimRackTypesListWidthIcParameterInner.md) | Rail-to-rail width * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches | + **widthIe** | [**[]DcimRackTypesListWidthIcParameterInner**](DcimRackTypesListWidthIcParameterInner.md) | Rail-to-rail width * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches | + **widthIew** | [**[]DcimRackTypesListWidthIcParameterInner**](DcimRackTypesListWidthIcParameterInner.md) | Rail-to-rail width * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches | + **widthIsw** | [**[]DcimRackTypesListWidthIcParameterInner**](DcimRackTypesListWidthIcParameterInner.md) | Rail-to-rail width * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches | + **widthN** | [**[]DcimRackTypesListWidthIcParameterInner**](DcimRackTypesListWidthIcParameterInner.md) | Rail-to-rail width * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches | + **widthNic** | [**[]DcimRackTypesListWidthIcParameterInner**](DcimRackTypesListWidthIcParameterInner.md) | Rail-to-rail width * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches | + **widthNie** | [**[]DcimRackTypesListWidthIcParameterInner**](DcimRackTypesListWidthIcParameterInner.md) | Rail-to-rail width * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches | + **widthNiew** | [**[]DcimRackTypesListWidthIcParameterInner**](DcimRackTypesListWidthIcParameterInner.md) | Rail-to-rail width * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches | + **widthNisw** | [**[]DcimRackTypesListWidthIcParameterInner**](DcimRackTypesListWidthIcParameterInner.md) | Rail-to-rail width * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches | + +### Return type + +[**PaginatedRackTypeList**](PaginatedRackTypeList.md) + +### Authorization + +[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## DcimRackTypesPartialUpdate + +> RackType DcimRackTypesPartialUpdate(ctx, id).PatchedWritableRackTypeRequest(patchedWritableRackTypeRequest).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/netbox-community/go-netbox/v4" +) + +func main() { + id := int32(56) // int32 | A unique integer value identifying this rack type. + patchedWritableRackTypeRequest := *openapiclient.NewPatchedWritableRackTypeRequest() // PatchedWritableRackTypeRequest | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.DcimAPI.DcimRackTypesPartialUpdate(context.Background(), id).PatchedWritableRackTypeRequest(patchedWritableRackTypeRequest).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRackTypesPartialUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `DcimRackTypesPartialUpdate`: RackType + fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRackTypesPartialUpdate`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | A unique integer value identifying this rack type. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiDcimRackTypesPartialUpdateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **patchedWritableRackTypeRequest** | [**PatchedWritableRackTypeRequest**](PatchedWritableRackTypeRequest.md) | | + +### Return type + +[**RackType**](RackType.md) + +### Authorization + +[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) + +### HTTP request headers + +- **Content-Type**: application/json, multipart/form-data +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## DcimRackTypesRetrieve + +> RackType DcimRackTypesRetrieve(ctx, id).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/netbox-community/go-netbox/v4" +) + +func main() { + id := int32(56) // int32 | A unique integer value identifying this rack type. + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.DcimAPI.DcimRackTypesRetrieve(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRackTypesRetrieve``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `DcimRackTypesRetrieve`: RackType + fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRackTypesRetrieve`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | A unique integer value identifying this rack type. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiDcimRackTypesRetrieveRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + +[**RackType**](RackType.md) + +### Authorization + +[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## DcimRackTypesUpdate + +> RackType DcimRackTypesUpdate(ctx, id).WritableRackTypeRequest(writableRackTypeRequest).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/netbox-community/go-netbox/v4" +) + +func main() { + id := int32(56) // int32 | A unique integer value identifying this rack type. + writableRackTypeRequest := *openapiclient.NewWritableRackTypeRequest(*openapiclient.NewBriefManufacturerRequest("Name_example", "Slug_example"), "Model_example", "Slug_example", openapiclient.PatchedWritableRackTypeRequest_form_factor("2-post-frame")) // WritableRackTypeRequest | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.DcimAPI.DcimRackTypesUpdate(context.Background(), id).WritableRackTypeRequest(writableRackTypeRequest).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRackTypesUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `DcimRackTypesUpdate`: RackType + fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRackTypesUpdate`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | A unique integer value identifying this rack type. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiDcimRackTypesUpdateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **writableRackTypeRequest** | [**WritableRackTypeRequest**](WritableRackTypeRequest.md) | | + +### Return type + +[**RackType**](RackType.md) + +### Authorization + +[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) + +### HTTP request headers + +- **Content-Type**: application/json, multipart/form-data +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## DcimRacksBulkDestroy + +> DcimRacksBulkDestroy(ctx).RackRequest(rackRequest).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/netbox-community/go-netbox/v4" +) + +func main() { + rackRequest := []openapiclient.RackRequest{*openapiclient.NewRackRequest("Name_example", *openapiclient.NewBriefSiteRequest("Name_example", "Slug_example"))} // []RackRequest | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.DcimAPI.DcimRacksBulkDestroy(context.Background()).RackRequest(rackRequest).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRacksBulkDestroy``: %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 apiDcimRacksBulkDestroyRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **rackRequest** | [**[]RackRequest**](RackRequest.md) | | + +### Return type + + (empty response body) + +### Authorization + +[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) + +### HTTP request headers + +- **Content-Type**: application/json, multipart/form-data +- **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).RackRequest(rackRequest).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/netbox-community/go-netbox/v4" +) + +func main() { + rackRequest := []openapiclient.RackRequest{*openapiclient.NewRackRequest("Name_example", *openapiclient.NewBriefSiteRequest("Name_example", "Slug_example"))} // []RackRequest | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.DcimAPI.DcimRacksBulkPartialUpdate(context.Background()).RackRequest(rackRequest).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 + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiDcimRacksBulkPartialUpdateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **rackRequest** | [**[]RackRequest**](RackRequest.md) | | + +### Return type + +[**[]Rack**](Rack.md) + +### Authorization + +[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) + +### HTTP request headers + +- **Content-Type**: application/json, multipart/form-data +- **Accept**: application/json + +[[Back to top]](#) [[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).RackRequest(rackRequest).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/netbox-community/go-netbox/v4" +) + +func main() { + rackRequest := []openapiclient.RackRequest{*openapiclient.NewRackRequest("Name_example", *openapiclient.NewBriefSiteRequest("Name_example", "Slug_example"))} // []RackRequest | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.DcimAPI.DcimRacksBulkUpdate(context.Background()).RackRequest(rackRequest).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 +------------- | ------------- | ------------- | ------------- + **rackRequest** | [**[]RackRequest**](RackRequest.md) | | + +### Return type + +[**[]Rack**](Rack.md) + +### Authorization + +[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) + +### HTTP request headers + +- **Content-Type**: application/json, multipart/form-data +- **Accept**: application/json + +[[Back to top]](#) [[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).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/netbox-community/go-netbox/v4" +) + +func main() { + writableRackRequest := *openapiclient.NewWritableRackRequest("Name_example", *openapiclient.NewBriefSiteRequest("Name_example", "Slug_example")) // WritableRackRequest | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.DcimAPI.DcimRacksCreate(context.Background()).WritableRackRequest(writableRackRequest).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRacksCreate``: %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) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiDcimRacksCreateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **writableRackRequest** | [**WritableRackRequest**](WritableRackRequest.md) | | + +### Return type + +[**Rack**](Rack.md) + +### Authorization + +[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) + +### HTTP request headers + +- **Content-Type**: application/json, multipart/form-data +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## DcimRacksDestroy + +> DcimRacksDestroy(ctx, id).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/netbox-community/go-netbox/v4" +) + +func main() { + id := int32(56) // int32 | A unique integer value identifying this rack. + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.DcimAPI.DcimRacksDestroy(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRacksDestroy``: %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** | **int32** | A unique integer value identifying this rack. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiDcimRacksDestroyRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### 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) + + +## DcimRacksElevationRetrieve + +> PaginatedRackUnitList DcimRacksElevationRetrieve(ctx, id).Exclude(exclude).ExpandDevices(expandDevices).Face(face).IncludeImages(includeImages).LegendWidth(legendWidth).Limit(limit).MarginWidth(marginWidth).Offset(offset).Q(q).Render(render).UnitHeight(unitHeight).UnitWidth(unitWidth).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/netbox-community/go-netbox/v4" +) + +func main() { + id := int32(56) // int32 | A unique integer value identifying this rack. + exclude := int32(56) // int32 | (optional) + expandDevices := true // bool | (optional) (default to true) + face := openapiclient.dcim_racks_elevation_retrieve_face_parameter("front") // DcimRacksElevationRetrieveFaceParameter | * `front` - Front * `rear` - Rear (optional) (default to "front") + 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) + marginWidth := int32(56) // int32 | (optional) (default to 15) + offset := int32(56) // int32 | The initial index from which to return the results. (optional) + q := "q_example" // string | (optional) + render := openapiclient.dcim_racks_elevation_retrieve_render_parameter("json") // DcimRacksElevationRetrieveRenderParameter | * `json` - json * `svg` - svg (optional) (default to "json") + unitHeight := int32(56) // int32 | (optional) + unitWidth := int32(56) // int32 | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.DcimAPI.DcimRacksElevationRetrieve(context.Background(), id).Exclude(exclude).ExpandDevices(expandDevices).Face(face).IncludeImages(includeImages).LegendWidth(legendWidth).Limit(limit).MarginWidth(marginWidth).Offset(offset).Q(q).Render(render).UnitHeight(unitHeight).UnitWidth(unitWidth).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRacksElevationRetrieve``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `DcimRacksElevationRetrieve`: PaginatedRackUnitList + fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRacksElevationRetrieve`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | A unique integer value identifying this rack. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiDcimRacksElevationRetrieveRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **exclude** | **int32** | | + **expandDevices** | **bool** | | [default to true] + **face** | [**DcimRacksElevationRetrieveFaceParameter**](DcimRacksElevationRetrieveFaceParameter.md) | * `front` - Front * `rear` - Rear | [default to "front"] + **includeImages** | **bool** | | [default to true] + **legendWidth** | **int32** | | [default to 30] + **limit** | **int32** | Number of results to return per page. | + **marginWidth** | **int32** | | [default to 15] + **offset** | **int32** | The initial index from which to return the results. | + **q** | **string** | | + **render** | [**DcimRacksElevationRetrieveRenderParameter**](DcimRacksElevationRetrieveRenderParameter.md) | * `json` - json * `svg` - svg | [default to "json"] + **unitHeight** | **int32** | | + **unitWidth** | **int32** | | + +### Return type + +[**PaginatedRackUnitList**](PaginatedRackUnitList.md) + +### Authorization + +[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## DcimRacksList + +> PaginatedRackList DcimRacksList(ctx).Airflow(airflow).AssetTag(assetTag).AssetTagEmpty(assetTagEmpty).AssetTagIc(assetTagIc).AssetTagIe(assetTagIe).AssetTagIew(assetTagIew).AssetTagIsw(assetTagIsw).AssetTagN(assetTagN).AssetTagNic(assetTagNic).AssetTagNie(assetTagNie).AssetTagNiew(assetTagNiew).AssetTagNisw(assetTagNisw).Contact(contact).ContactN(contactN).ContactGroup(contactGroup).ContactGroupN(contactGroupN).ContactRole(contactRole).ContactRoleN(contactRoleN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).DescUnits(descUnits).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).FacilityId(facilityId).FacilityIdEmpty(facilityIdEmpty).FacilityIdIc(facilityIdIc).FacilityIdIe(facilityIdIe).FacilityIdIew(facilityIdIew).FacilityIdIsw(facilityIdIsw).FacilityIdN(facilityIdN).FacilityIdNic(facilityIdNic).FacilityIdNie(facilityIdNie).FacilityIdNiew(facilityIdNiew).FacilityIdNisw(facilityIdNisw).FormFactor(formFactor).FormFactorEmpty(formFactorEmpty).FormFactorIc(formFactorIc).FormFactorIe(formFactorIe).FormFactorIew(formFactorIew).FormFactorIsw(formFactorIsw).FormFactorN(formFactorN).FormFactorNic(formFactorNic).FormFactorNie(formFactorNie).FormFactorNiew(formFactorNiew).FormFactorNisw(formFactorNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).LocationId(locationId).LocationIdN(locationIdN).Manufacturer(manufacturer).ManufacturerN(manufacturerN).ManufacturerId(manufacturerId).ManufacturerIdN(manufacturerIdN).MaxWeight(maxWeight).MaxWeightEmpty(maxWeightEmpty).MaxWeightGt(maxWeightGt).MaxWeightGte(maxWeightGte).MaxWeightLt(maxWeightLt).MaxWeightLte(maxWeightLte).MaxWeightN(maxWeightN).ModifiedByRequest(modifiedByRequest).MountingDepth(mountingDepth).MountingDepthEmpty(mountingDepthEmpty).MountingDepthGt(mountingDepthGt).MountingDepthGte(mountingDepthGte).MountingDepthLt(mountingDepthLt).MountingDepthLte(mountingDepthLte).MountingDepthN(mountingDepthN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).OuterDepth(outerDepth).OuterDepthEmpty(outerDepthEmpty).OuterDepthGt(outerDepthGt).OuterDepthGte(outerDepthGte).OuterDepthLt(outerDepthLt).OuterDepthLte(outerDepthLte).OuterDepthN(outerDepthN).OuterUnit(outerUnit).OuterWidth(outerWidth).OuterWidthEmpty(outerWidthEmpty).OuterWidthGt(outerWidthGt).OuterWidthGte(outerWidthGte).OuterWidthLt(outerWidthLt).OuterWidthLte(outerWidthLte).OuterWidthN(outerWidthN).Q(q).RackType(rackType).RackTypeN(rackTypeN).RackTypeId(rackTypeId).RackTypeIdN(rackTypeIdN).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).Serial(serial).SerialEmpty(serialEmpty).SerialIc(serialIc).SerialIe(serialIe).SerialIew(serialIew).SerialIsw(serialIsw).SerialN(serialN).SerialNic(serialNic).SerialNie(serialNie).SerialNiew(serialNiew).SerialNisw(serialNisw).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).StartingUnit(startingUnit).StartingUnitEmpty(startingUnitEmpty).StartingUnitGt(startingUnitGt).StartingUnitGte(startingUnitGte).StartingUnitLt(startingUnitLt).StartingUnitLte(startingUnitLte).StartingUnitN(startingUnitN).Status(status).StatusEmpty(statusEmpty).StatusIc(statusIc).StatusIe(statusIe).StatusIew(statusIew).StatusIsw(statusIsw).StatusN(statusN).StatusNic(statusNic).StatusNie(statusNie).StatusNiew(statusNiew).StatusNisw(statusNisw).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).UHeight(uHeight).UHeightEmpty(uHeightEmpty).UHeightGt(uHeightGt).UHeightGte(uHeightGte).UHeightLt(uHeightLt).UHeightLte(uHeightLte).UHeightN(uHeightN).UpdatedByRequest(updatedByRequest).Weight(weight).WeightEmpty(weightEmpty).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).WeightUnit(weightUnit).Width(width).WidthIc(widthIc).WidthIe(widthIe).WidthIew(widthIew).WidthIsw(widthIsw).WidthN(widthN).WidthNic(widthNic).WidthNie(widthNie).WidthNiew(widthNiew).WidthNisw(widthNisw).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + "time" + openapiclient "github.com/netbox-community/go-netbox/v4" +) + +func main() { + airflow := openapiclient.dcim_racks_list_airflow_parameter("front-to-rear") // DcimRacksListAirflowParameter | * `front-to-rear` - Front to rear * `rear-to-front` - Rear to front (optional) + assetTag := []string{"Inner_example"} // []string | (optional) + assetTagEmpty := true // bool | (optional) + assetTagIc := []string{"Inner_example"} // []string | (optional) + assetTagIe := []string{"Inner_example"} // []string | (optional) + assetTagIew := []string{"Inner_example"} // []string | (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) + assetTagNisw := []string{"Inner_example"} // []string | (optional) + contact := []int32{int32(123)} // []int32 | Contact (optional) + contactN := []int32{int32(123)} // []int32 | Contact (optional) + contactGroup := []string{"Inner_example"} // []string | (optional) + contactGroupN := []string{"Inner_example"} // []string | (optional) + contactRole := []int32{int32(123)} // []int32 | Contact Role (optional) + contactRoleN := []int32{int32(123)} // []int32 | Contact Role (optional) + created := []time.Time{time.Now()} // []time.Time | (optional) + createdEmpty := []time.Time{time.Now()} // []time.Time | (optional) + createdGt := []time.Time{time.Now()} // []time.Time | (optional) + createdGte := []time.Time{time.Now()} // []time.Time | (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) + createdByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) + descUnits := true // bool | (optional) + description := []string{"Inner_example"} // []string | (optional) + descriptionEmpty := true // bool | (optional) + descriptionIc := []string{"Inner_example"} // []string | (optional) + descriptionIe := []string{"Inner_example"} // []string | (optional) + descriptionIew := []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) + descriptionNisw := []string{"Inner_example"} // []string | (optional) + facilityId := []string{"Inner_example"} // []string | (optional) + facilityIdEmpty := true // bool | (optional) + facilityIdIc := []string{"Inner_example"} // []string | (optional) + facilityIdIe := []string{"Inner_example"} // []string | (optional) + facilityIdIew := []string{"Inner_example"} // []string | (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) + facilityIdNisw := []string{"Inner_example"} // []string | (optional) + formFactor := []string{"Inner_example"} // []string | (optional) + formFactorEmpty := true // bool | (optional) + formFactorIc := []openapiclient.DcimRacksListFormFactorIcParameterInner{openapiclient.dcim_racks_list_form_factor__ic_parameter_inner("")} // []DcimRacksListFormFactorIcParameterInner | * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) (optional) + formFactorIe := []openapiclient.DcimRacksListFormFactorIcParameterInner{openapiclient.dcim_racks_list_form_factor__ic_parameter_inner("")} // []DcimRacksListFormFactorIcParameterInner | * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) (optional) + formFactorIew := []openapiclient.DcimRacksListFormFactorIcParameterInner{openapiclient.dcim_racks_list_form_factor__ic_parameter_inner("")} // []DcimRacksListFormFactorIcParameterInner | * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) (optional) + formFactorIsw := []openapiclient.DcimRacksListFormFactorIcParameterInner{openapiclient.dcim_racks_list_form_factor__ic_parameter_inner("")} // []DcimRacksListFormFactorIcParameterInner | * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) (optional) + formFactorN := []openapiclient.DcimRacksListFormFactorIcParameterInner{openapiclient.dcim_racks_list_form_factor__ic_parameter_inner("")} // []DcimRacksListFormFactorIcParameterInner | * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) (optional) + formFactorNic := []openapiclient.DcimRacksListFormFactorIcParameterInner{openapiclient.dcim_racks_list_form_factor__ic_parameter_inner("")} // []DcimRacksListFormFactorIcParameterInner | * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) (optional) + formFactorNie := []openapiclient.DcimRacksListFormFactorIcParameterInner{openapiclient.dcim_racks_list_form_factor__ic_parameter_inner("")} // []DcimRacksListFormFactorIcParameterInner | * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) (optional) + formFactorNiew := []openapiclient.DcimRacksListFormFactorIcParameterInner{openapiclient.dcim_racks_list_form_factor__ic_parameter_inner("")} // []DcimRacksListFormFactorIcParameterInner | * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) (optional) + formFactorNisw := []openapiclient.DcimRacksListFormFactorIcParameterInner{openapiclient.dcim_racks_list_form_factor__ic_parameter_inner("")} // []DcimRacksListFormFactorIcParameterInner | * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) (optional) + id := []int32{int32(123)} // []int32 | (optional) + idEmpty := true // bool | (optional) + idGt := []int32{int32(123)} // []int32 | (optional) + idGte := []int32{int32(123)} // []int32 | (optional) + idLt := []int32{int32(123)} // []int32 | (optional) + idLte := []int32{int32(123)} // []int32 | (optional) + idN := []int32{int32(123)} // []int32 | (optional) + lastUpdated := []time.Time{time.Now()} // []time.Time | (optional) + lastUpdatedEmpty := []time.Time{time.Now()} // []time.Time | (optional) + lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional) + lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (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) + locationId := []string{"Inner_example"} // []string | (optional) + locationIdN := []string{"Inner_example"} // []string | (optional) + manufacturer := []string{"Inner_example"} // []string | Manufacturer (slug) (optional) + manufacturerN := []string{"Inner_example"} // []string | Manufacturer (slug) (optional) + manufacturerId := []int32{int32(123)} // []int32 | Manufacturer (ID) (optional) + manufacturerIdN := []int32{int32(123)} // []int32 | Manufacturer (ID) (optional) + maxWeight := []int32{int32(123)} // []int32 | (optional) + maxWeightEmpty := true // bool | (optional) + maxWeightGt := []int32{int32(123)} // []int32 | (optional) + maxWeightGte := []int32{int32(123)} // []int32 | (optional) + maxWeightLt := []int32{int32(123)} // []int32 | (optional) + maxWeightLte := []int32{int32(123)} // []int32 | (optional) + maxWeightN := []int32{int32(123)} // []int32 | (optional) + modifiedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) + mountingDepth := []int32{int32(123)} // []int32 | (optional) + mountingDepthEmpty := true // bool | (optional) + mountingDepthGt := []int32{int32(123)} // []int32 | (optional) + mountingDepthGte := []int32{int32(123)} // []int32 | (optional) + mountingDepthLt := []int32{int32(123)} // []int32 | (optional) + mountingDepthLte := []int32{int32(123)} // []int32 | (optional) + mountingDepthN := []int32{int32(123)} // []int32 | (optional) + name := []string{"Inner_example"} // []string | (optional) + nameEmpty := true // bool | (optional) + nameIc := []string{"Inner_example"} // []string | (optional) + nameIe := []string{"Inner_example"} // []string | (optional) + nameIew := []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) + nameNisw := []string{"Inner_example"} // []string | (optional) + offset := int32(56) // int32 | The initial index from which to return the results. (optional) + ordering := "ordering_example" // string | Which field to use when ordering the results. (optional) + outerDepth := []int32{int32(123)} // []int32 | (optional) + outerDepthEmpty := true // bool | (optional) + outerDepthGt := []int32{int32(123)} // []int32 | (optional) + outerDepthGte := []int32{int32(123)} // []int32 | (optional) + outerDepthLt := []int32{int32(123)} // []int32 | (optional) + outerDepthLte := []int32{int32(123)} // []int32 | (optional) + outerDepthN := []int32{int32(123)} // []int32 | (optional) + outerUnit := openapiclient.dcim_rack_types_list_outer_unit_parameter("in") // DcimRackTypesListOuterUnitParameter | * `mm` - Millimeters * `in` - Inches (optional) + outerWidth := []int32{int32(123)} // []int32 | (optional) + outerWidthEmpty := true // bool | (optional) + outerWidthGt := []int32{int32(123)} // []int32 | (optional) + outerWidthGte := []int32{int32(123)} // []int32 | (optional) + outerWidthLt := []int32{int32(123)} // []int32 | (optional) + outerWidthLte := []int32{int32(123)} // []int32 | (optional) + outerWidthN := []int32{int32(123)} // []int32 | (optional) + q := "q_example" // string | Search (optional) + rackType := []string{"Inner_example"} // []string | Rack type (slug) (optional) + rackTypeN := []string{"Inner_example"} // []string | Rack type (slug) (optional) + rackTypeId := []*int32{int32(123)} // []*int32 | Rack type (ID) (optional) + rackTypeIdN := []*int32{int32(123)} // []*int32 | Rack type (ID) (optional) + region := []string{"Inner_example"} // []string | (optional) + regionN := []string{"Inner_example"} // []string | (optional) + regionId := []string{"Inner_example"} // []string | (optional) + regionIdN := []string{"Inner_example"} // []string | (optional) + role := []string{"Inner_example"} // []string | Role (slug) (optional) + roleN := []string{"Inner_example"} // []string | Role (slug) (optional) + roleId := []*int32{int32(123)} // []*int32 | Role (ID) (optional) + roleIdN := []*int32{int32(123)} // []*int32 | Role (ID) (optional) + serial := []string{"Inner_example"} // []string | (optional) + serialEmpty := true // bool | (optional) + serialIc := []string{"Inner_example"} // []string | (optional) + serialIe := []string{"Inner_example"} // []string | (optional) + serialIew := []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) + serialNisw := []string{"Inner_example"} // []string | (optional) + site := []string{"Inner_example"} // []string | Site (slug) (optional) + siteN := []string{"Inner_example"} // []string | Site (slug) (optional) + siteGroup := []string{"Inner_example"} // []string | (optional) + siteGroupN := []string{"Inner_example"} // []string | (optional) + siteGroupId := []string{"Inner_example"} // []string | (optional) + siteGroupIdN := []string{"Inner_example"} // []string | (optional) + siteId := []int32{int32(123)} // []int32 | Site (ID) (optional) + siteIdN := []int32{int32(123)} // []int32 | Site (ID) (optional) + startingUnit := []int32{int32(123)} // []int32 | (optional) + startingUnitEmpty := true // bool | (optional) + startingUnitGt := []int32{int32(123)} // []int32 | (optional) + startingUnitGte := []int32{int32(123)} // []int32 | (optional) + startingUnitLt := []int32{int32(123)} // []int32 | (optional) + startingUnitLte := []int32{int32(123)} // []int32 | (optional) + startingUnitN := []int32{int32(123)} // []int32 | (optional) + status := []string{"Inner_example"} // []string | (optional) + statusEmpty := true // bool | (optional) + statusIc := []openapiclient.DcimRacksListStatusIcParameterInner{openapiclient.dcim_racks_list_status__ic_parameter_inner("active")} // []DcimRacksListStatusIcParameterInner | * `reserved` - Reserved * `available` - Available * `planned` - Planned * `active` - Active * `deprecated` - Deprecated (optional) + statusIe := []openapiclient.DcimRacksListStatusIcParameterInner{openapiclient.dcim_racks_list_status__ic_parameter_inner("active")} // []DcimRacksListStatusIcParameterInner | * `reserved` - Reserved * `available` - Available * `planned` - Planned * `active` - Active * `deprecated` - Deprecated (optional) + statusIew := []openapiclient.DcimRacksListStatusIcParameterInner{openapiclient.dcim_racks_list_status__ic_parameter_inner("active")} // []DcimRacksListStatusIcParameterInner | * `reserved` - Reserved * `available` - Available * `planned` - Planned * `active` - Active * `deprecated` - Deprecated (optional) + statusIsw := []openapiclient.DcimRacksListStatusIcParameterInner{openapiclient.dcim_racks_list_status__ic_parameter_inner("active")} // []DcimRacksListStatusIcParameterInner | * `reserved` - Reserved * `available` - Available * `planned` - Planned * `active` - Active * `deprecated` - Deprecated (optional) + statusN := []openapiclient.DcimRacksListStatusIcParameterInner{openapiclient.dcim_racks_list_status__ic_parameter_inner("active")} // []DcimRacksListStatusIcParameterInner | * `reserved` - Reserved * `available` - Available * `planned` - Planned * `active` - Active * `deprecated` - Deprecated (optional) + statusNic := []openapiclient.DcimRacksListStatusIcParameterInner{openapiclient.dcim_racks_list_status__ic_parameter_inner("active")} // []DcimRacksListStatusIcParameterInner | * `reserved` - Reserved * `available` - Available * `planned` - Planned * `active` - Active * `deprecated` - Deprecated (optional) + statusNie := []openapiclient.DcimRacksListStatusIcParameterInner{openapiclient.dcim_racks_list_status__ic_parameter_inner("active")} // []DcimRacksListStatusIcParameterInner | * `reserved` - Reserved * `available` - Available * `planned` - Planned * `active` - Active * `deprecated` - Deprecated (optional) + statusNiew := []openapiclient.DcimRacksListStatusIcParameterInner{openapiclient.dcim_racks_list_status__ic_parameter_inner("active")} // []DcimRacksListStatusIcParameterInner | * `reserved` - Reserved * `available` - Available * `planned` - Planned * `active` - Active * `deprecated` - Deprecated (optional) + statusNisw := []openapiclient.DcimRacksListStatusIcParameterInner{openapiclient.dcim_racks_list_status__ic_parameter_inner("active")} // []DcimRacksListStatusIcParameterInner | * `reserved` - Reserved * `available` - Available * `planned` - Planned * `active` - Active * `deprecated` - Deprecated (optional) + tag := []string{"Inner_example"} // []string | (optional) + tagN := []string{"Inner_example"} // []string | (optional) + tenant := []string{"Inner_example"} // []string | Tenant (slug) (optional) + tenantN := []string{"Inner_example"} // []string | Tenant (slug) (optional) + tenantGroup := []string{"Inner_example"} // []string | (optional) + tenantGroupN := []string{"Inner_example"} // []string | (optional) + tenantGroupId := []string{"Inner_example"} // []string | (optional) + tenantGroupIdN := []string{"Inner_example"} // []string | (optional) + tenantId := []*int32{int32(123)} // []*int32 | Tenant (ID) (optional) + tenantIdN := []*int32{int32(123)} // []*int32 | Tenant (ID) (optional) + uHeight := []int32{int32(123)} // []int32 | (optional) + uHeightEmpty := true // bool | (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) + updatedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) + weight := []float64{float64(123)} // []float64 | (optional) + weightEmpty := true // bool | (optional) + weightGt := []float64{float64(123)} // []float64 | (optional) + weightGte := []float64{float64(123)} // []float64 | (optional) + weightLt := []float64{float64(123)} // []float64 | (optional) + weightLte := []float64{float64(123)} // []float64 | (optional) + weightN := []float64{float64(123)} // []float64 | (optional) + weightUnit := openapiclient.dcim_device_types_list_weight_unit_parameter("g") // DcimDeviceTypesListWeightUnitParameter | * `kg` - Kilograms * `g` - Grams * `lb` - Pounds * `oz` - Ounces (optional) + width := []int32{int32(123)} // []int32 | Rail-to-rail width (optional) + widthIc := []openapiclient.DcimRackTypesListWidthIcParameterInner{openapiclient.dcim_rack_types_list_width__ic_parameter_inner(10)} // []DcimRackTypesListWidthIcParameterInner | Rail-to-rail width * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches (optional) + widthIe := []openapiclient.DcimRackTypesListWidthIcParameterInner{openapiclient.dcim_rack_types_list_width__ic_parameter_inner(10)} // []DcimRackTypesListWidthIcParameterInner | Rail-to-rail width * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches (optional) + widthIew := []openapiclient.DcimRackTypesListWidthIcParameterInner{openapiclient.dcim_rack_types_list_width__ic_parameter_inner(10)} // []DcimRackTypesListWidthIcParameterInner | Rail-to-rail width * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches (optional) + widthIsw := []openapiclient.DcimRackTypesListWidthIcParameterInner{openapiclient.dcim_rack_types_list_width__ic_parameter_inner(10)} // []DcimRackTypesListWidthIcParameterInner | Rail-to-rail width * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches (optional) + widthN := []openapiclient.DcimRackTypesListWidthIcParameterInner{openapiclient.dcim_rack_types_list_width__ic_parameter_inner(10)} // []DcimRackTypesListWidthIcParameterInner | Rail-to-rail width * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches (optional) + widthNic := []openapiclient.DcimRackTypesListWidthIcParameterInner{openapiclient.dcim_rack_types_list_width__ic_parameter_inner(10)} // []DcimRackTypesListWidthIcParameterInner | Rail-to-rail width * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches (optional) + widthNie := []openapiclient.DcimRackTypesListWidthIcParameterInner{openapiclient.dcim_rack_types_list_width__ic_parameter_inner(10)} // []DcimRackTypesListWidthIcParameterInner | Rail-to-rail width * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches (optional) + widthNiew := []openapiclient.DcimRackTypesListWidthIcParameterInner{openapiclient.dcim_rack_types_list_width__ic_parameter_inner(10)} // []DcimRackTypesListWidthIcParameterInner | Rail-to-rail width * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches (optional) + widthNisw := []openapiclient.DcimRackTypesListWidthIcParameterInner{openapiclient.dcim_rack_types_list_width__ic_parameter_inner(10)} // []DcimRackTypesListWidthIcParameterInner | Rail-to-rail width * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.DcimAPI.DcimRacksList(context.Background()).Airflow(airflow).AssetTag(assetTag).AssetTagEmpty(assetTagEmpty).AssetTagIc(assetTagIc).AssetTagIe(assetTagIe).AssetTagIew(assetTagIew).AssetTagIsw(assetTagIsw).AssetTagN(assetTagN).AssetTagNic(assetTagNic).AssetTagNie(assetTagNie).AssetTagNiew(assetTagNiew).AssetTagNisw(assetTagNisw).Contact(contact).ContactN(contactN).ContactGroup(contactGroup).ContactGroupN(contactGroupN).ContactRole(contactRole).ContactRoleN(contactRoleN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).DescUnits(descUnits).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).FacilityId(facilityId).FacilityIdEmpty(facilityIdEmpty).FacilityIdIc(facilityIdIc).FacilityIdIe(facilityIdIe).FacilityIdIew(facilityIdIew).FacilityIdIsw(facilityIdIsw).FacilityIdN(facilityIdN).FacilityIdNic(facilityIdNic).FacilityIdNie(facilityIdNie).FacilityIdNiew(facilityIdNiew).FacilityIdNisw(facilityIdNisw).FormFactor(formFactor).FormFactorEmpty(formFactorEmpty).FormFactorIc(formFactorIc).FormFactorIe(formFactorIe).FormFactorIew(formFactorIew).FormFactorIsw(formFactorIsw).FormFactorN(formFactorN).FormFactorNic(formFactorNic).FormFactorNie(formFactorNie).FormFactorNiew(formFactorNiew).FormFactorNisw(formFactorNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).LocationId(locationId).LocationIdN(locationIdN).Manufacturer(manufacturer).ManufacturerN(manufacturerN).ManufacturerId(manufacturerId).ManufacturerIdN(manufacturerIdN).MaxWeight(maxWeight).MaxWeightEmpty(maxWeightEmpty).MaxWeightGt(maxWeightGt).MaxWeightGte(maxWeightGte).MaxWeightLt(maxWeightLt).MaxWeightLte(maxWeightLte).MaxWeightN(maxWeightN).ModifiedByRequest(modifiedByRequest).MountingDepth(mountingDepth).MountingDepthEmpty(mountingDepthEmpty).MountingDepthGt(mountingDepthGt).MountingDepthGte(mountingDepthGte).MountingDepthLt(mountingDepthLt).MountingDepthLte(mountingDepthLte).MountingDepthN(mountingDepthN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).OuterDepth(outerDepth).OuterDepthEmpty(outerDepthEmpty).OuterDepthGt(outerDepthGt).OuterDepthGte(outerDepthGte).OuterDepthLt(outerDepthLt).OuterDepthLte(outerDepthLte).OuterDepthN(outerDepthN).OuterUnit(outerUnit).OuterWidth(outerWidth).OuterWidthEmpty(outerWidthEmpty).OuterWidthGt(outerWidthGt).OuterWidthGte(outerWidthGte).OuterWidthLt(outerWidthLt).OuterWidthLte(outerWidthLte).OuterWidthN(outerWidthN).Q(q).RackType(rackType).RackTypeN(rackTypeN).RackTypeId(rackTypeId).RackTypeIdN(rackTypeIdN).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).Serial(serial).SerialEmpty(serialEmpty).SerialIc(serialIc).SerialIe(serialIe).SerialIew(serialIew).SerialIsw(serialIsw).SerialN(serialN).SerialNic(serialNic).SerialNie(serialNie).SerialNiew(serialNiew).SerialNisw(serialNisw).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).StartingUnit(startingUnit).StartingUnitEmpty(startingUnitEmpty).StartingUnitGt(startingUnitGt).StartingUnitGte(startingUnitGte).StartingUnitLt(startingUnitLt).StartingUnitLte(startingUnitLte).StartingUnitN(startingUnitN).Status(status).StatusEmpty(statusEmpty).StatusIc(statusIc).StatusIe(statusIe).StatusIew(statusIew).StatusIsw(statusIsw).StatusN(statusN).StatusNic(statusNic).StatusNie(statusNie).StatusNiew(statusNiew).StatusNisw(statusNisw).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).UHeight(uHeight).UHeightEmpty(uHeightEmpty).UHeightGt(uHeightGt).UHeightGte(uHeightGte).UHeightLt(uHeightLt).UHeightLte(uHeightLte).UHeightN(uHeightN).UpdatedByRequest(updatedByRequest).Weight(weight).WeightEmpty(weightEmpty).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).WeightUnit(weightUnit).Width(width).WidthIc(widthIc).WidthIe(widthIe).WidthIew(widthIew).WidthIsw(widthIsw).WidthN(widthN).WidthNic(widthNic).WidthNie(widthNie).WidthNiew(widthNiew).WidthNisw(widthNisw).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRacksList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -28509,6 +30008,7 @@ Other parameters are passed through a pointer to a apiDcimRacksListRequest struc Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **airflow** | [**DcimRacksListAirflowParameter**](DcimRacksListAirflowParameter.md) | * `front-to-rear` - Front to rear * `rear-to-front` - Rear to front | **assetTag** | **[]string** | | **assetTagEmpty** | **bool** | | **assetTagIc** | **[]string** | | @@ -28522,8 +30022,8 @@ Name | Type | Description | Notes **assetTagNisw** | **[]string** | | **contact** | **[]int32** | Contact | **contactN** | **[]int32** | Contact | - **contactGroup** | **[]int32** | Contact group | - **contactGroupN** | **[]int32** | Contact group | + **contactGroup** | **[]string** | | + **contactGroupN** | **[]string** | | **contactRole** | **[]int32** | Contact Role | **contactRoleN** | **[]int32** | Contact Role | **created** | [**[]time.Time**](time.Time.md) | | @@ -28557,6 +30057,17 @@ Name | Type | Description | Notes **facilityIdNie** | **[]string** | | **facilityIdNiew** | **[]string** | | **facilityIdNisw** | **[]string** | | + **formFactor** | **[]string** | | + **formFactorEmpty** | **bool** | | + **formFactorIc** | [**[]DcimRacksListFormFactorIcParameterInner**](DcimRacksListFormFactorIcParameterInner.md) | * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) | + **formFactorIe** | [**[]DcimRacksListFormFactorIcParameterInner**](DcimRacksListFormFactorIcParameterInner.md) | * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) | + **formFactorIew** | [**[]DcimRacksListFormFactorIcParameterInner**](DcimRacksListFormFactorIcParameterInner.md) | * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) | + **formFactorIsw** | [**[]DcimRacksListFormFactorIcParameterInner**](DcimRacksListFormFactorIcParameterInner.md) | * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) | + **formFactorN** | [**[]DcimRacksListFormFactorIcParameterInner**](DcimRacksListFormFactorIcParameterInner.md) | * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) | + **formFactorNic** | [**[]DcimRacksListFormFactorIcParameterInner**](DcimRacksListFormFactorIcParameterInner.md) | * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) | + **formFactorNie** | [**[]DcimRacksListFormFactorIcParameterInner**](DcimRacksListFormFactorIcParameterInner.md) | * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) | + **formFactorNiew** | [**[]DcimRacksListFormFactorIcParameterInner**](DcimRacksListFormFactorIcParameterInner.md) | * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) | + **formFactorNisw** | [**[]DcimRacksListFormFactorIcParameterInner**](DcimRacksListFormFactorIcParameterInner.md) | * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) | **id** | **[]int32** | | **idEmpty** | **bool** | | **idGt** | **[]int32** | | @@ -28572,10 +30083,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. | - **location** | **[]int32** | Location (slug) | - **locationN** | **[]int32** | Location (slug) | - **locationId** | **[]int32** | Location (ID) | - **locationIdN** | **[]int32** | Location (ID) | + **location** | **[]string** | | + **locationN** | **[]string** | | + **locationId** | **[]string** | | + **locationIdN** | **[]string** | | + **manufacturer** | **[]string** | Manufacturer (slug) | + **manufacturerN** | **[]string** | Manufacturer (slug) | + **manufacturerId** | **[]int32** | Manufacturer (ID) | + **manufacturerIdN** | **[]int32** | Manufacturer (ID) | **maxWeight** | **[]int32** | | **maxWeightEmpty** | **bool** | | **maxWeightGt** | **[]int32** | | @@ -28611,8 +30126,7 @@ Name | Type | Description | Notes **outerDepthLt** | **[]int32** | | **outerDepthLte** | **[]int32** | | **outerDepthN** | **[]int32** | | - **outerUnit** | [**DcimRacksListOuterUnitParameter**](DcimRacksListOuterUnitParameter.md) | * `mm` - Millimeters * `in` - Inches | - **outerUnitN** | [**DcimRacksListOuterUnitParameter**](DcimRacksListOuterUnitParameter.md) | * `mm` - Millimeters * `in` - Inches | + **outerUnit** | [**DcimRackTypesListOuterUnitParameter**](DcimRackTypesListOuterUnitParameter.md) | * `mm` - Millimeters * `in` - Inches | **outerWidth** | **[]int32** | | **outerWidthEmpty** | **bool** | | **outerWidthGt** | **[]int32** | | @@ -28621,10 +30135,14 @@ Name | Type | Description | Notes **outerWidthLte** | **[]int32** | | **outerWidthN** | **[]int32** | | **q** | **string** | Search | - **region** | **[]int32** | Region (slug) | - **regionN** | **[]int32** | Region (slug) | - **regionId** | **[]int32** | Region (ID) | - **regionIdN** | **[]int32** | Region (ID) | + **rackType** | **[]string** | Rack type (slug) | + **rackTypeN** | **[]string** | Rack type (slug) | + **rackTypeId** | **[]int32** | Rack type (ID) | + **rackTypeIdN** | **[]int32** | Rack type (ID) | + **region** | **[]string** | | + **regionN** | **[]string** | | + **regionId** | **[]string** | | + **regionIdN** | **[]string** | | **role** | **[]string** | Role (slug) | **roleN** | **[]string** | Role (slug) | **roleId** | **[]int32** | Role (ID) | @@ -28642,10 +30160,10 @@ Name | Type | Description | Notes **serialNisw** | **[]string** | | **site** | **[]string** | Site (slug) | **siteN** | **[]string** | Site (slug) | - **siteGroup** | **[]int32** | Site group (slug) | - **siteGroupN** | **[]int32** | Site group (slug) | - **siteGroupId** | **[]int32** | Site group (ID) | - **siteGroupIdN** | **[]int32** | Site group (ID) | + **siteGroup** | **[]string** | | + **siteGroupN** | **[]string** | | + **siteGroupId** | **[]string** | | + **siteGroupIdN** | **[]string** | | **siteId** | **[]int32** | Site (ID) | **siteIdN** | **[]int32** | Site (ID) | **startingUnit** | **[]int32** | | @@ -28656,19 +30174,26 @@ Name | Type | Description | Notes **startingUnitLte** | **[]int32** | | **startingUnitN** | **[]int32** | | **status** | **[]string** | | - **statusN** | **[]string** | | + **statusEmpty** | **bool** | | + **statusIc** | [**[]DcimRacksListStatusIcParameterInner**](DcimRacksListStatusIcParameterInner.md) | * `reserved` - Reserved * `available` - Available * `planned` - Planned * `active` - Active * `deprecated` - Deprecated | + **statusIe** | [**[]DcimRacksListStatusIcParameterInner**](DcimRacksListStatusIcParameterInner.md) | * `reserved` - Reserved * `available` - Available * `planned` - Planned * `active` - Active * `deprecated` - Deprecated | + **statusIew** | [**[]DcimRacksListStatusIcParameterInner**](DcimRacksListStatusIcParameterInner.md) | * `reserved` - Reserved * `available` - Available * `planned` - Planned * `active` - Active * `deprecated` - Deprecated | + **statusIsw** | [**[]DcimRacksListStatusIcParameterInner**](DcimRacksListStatusIcParameterInner.md) | * `reserved` - Reserved * `available` - Available * `planned` - Planned * `active` - Active * `deprecated` - Deprecated | + **statusN** | [**[]DcimRacksListStatusIcParameterInner**](DcimRacksListStatusIcParameterInner.md) | * `reserved` - Reserved * `available` - Available * `planned` - Planned * `active` - Active * `deprecated` - Deprecated | + **statusNic** | [**[]DcimRacksListStatusIcParameterInner**](DcimRacksListStatusIcParameterInner.md) | * `reserved` - Reserved * `available` - Available * `planned` - Planned * `active` - Active * `deprecated` - Deprecated | + **statusNie** | [**[]DcimRacksListStatusIcParameterInner**](DcimRacksListStatusIcParameterInner.md) | * `reserved` - Reserved * `available` - Available * `planned` - Planned * `active` - Active * `deprecated` - Deprecated | + **statusNiew** | [**[]DcimRacksListStatusIcParameterInner**](DcimRacksListStatusIcParameterInner.md) | * `reserved` - Reserved * `available` - Available * `planned` - Planned * `active` - Active * `deprecated` - Deprecated | + **statusNisw** | [**[]DcimRacksListStatusIcParameterInner**](DcimRacksListStatusIcParameterInner.md) | * `reserved` - Reserved * `available` - Available * `planned` - Planned * `active` - Active * `deprecated` - Deprecated | **tag** | **[]string** | | **tagN** | **[]string** | | **tenant** | **[]string** | Tenant (slug) | **tenantN** | **[]string** | Tenant (slug) | - **tenantGroup** | **[]int32** | Tenant Group (slug) | - **tenantGroupN** | **[]int32** | Tenant Group (slug) | - **tenantGroupId** | **[]int32** | Tenant Group (ID) | - **tenantGroupIdN** | **[]int32** | Tenant Group (ID) | + **tenantGroup** | **[]string** | | + **tenantGroupN** | **[]string** | | + **tenantGroupId** | **[]string** | | + **tenantGroupIdN** | **[]string** | | **tenantId** | **[]int32** | Tenant (ID) | **tenantIdN** | **[]int32** | Tenant (ID) | - **type_** | **[]string** | | - **typeN** | **[]string** | | **uHeight** | **[]int32** | | **uHeightEmpty** | **bool** | | **uHeightGt** | **[]int32** | | @@ -28685,9 +30210,16 @@ Name | Type | Description | Notes **weightLte** | **[]float64** | | **weightN** | **[]float64** | | **weightUnit** | [**DcimDeviceTypesListWeightUnitParameter**](DcimDeviceTypesListWeightUnitParameter.md) | * `kg` - Kilograms * `g` - Grams * `lb` - Pounds * `oz` - Ounces | - **weightUnitN** | [**DcimDeviceTypesListWeightUnitParameter**](DcimDeviceTypesListWeightUnitParameter.md) | * `kg` - Kilograms * `g` - Grams * `lb` - Pounds * `oz` - Ounces | **width** | **[]int32** | Rail-to-rail width | - **widthN** | **[]int32** | Rail-to-rail width | + **widthIc** | [**[]DcimRackTypesListWidthIcParameterInner**](DcimRackTypesListWidthIcParameterInner.md) | Rail-to-rail width * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches | + **widthIe** | [**[]DcimRackTypesListWidthIcParameterInner**](DcimRackTypesListWidthIcParameterInner.md) | Rail-to-rail width * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches | + **widthIew** | [**[]DcimRackTypesListWidthIcParameterInner**](DcimRackTypesListWidthIcParameterInner.md) | Rail-to-rail width * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches | + **widthIsw** | [**[]DcimRackTypesListWidthIcParameterInner**](DcimRackTypesListWidthIcParameterInner.md) | Rail-to-rail width * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches | + **widthN** | [**[]DcimRackTypesListWidthIcParameterInner**](DcimRackTypesListWidthIcParameterInner.md) | Rail-to-rail width * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches | + **widthNic** | [**[]DcimRackTypesListWidthIcParameterInner**](DcimRackTypesListWidthIcParameterInner.md) | Rail-to-rail width * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches | + **widthNie** | [**[]DcimRackTypesListWidthIcParameterInner**](DcimRackTypesListWidthIcParameterInner.md) | Rail-to-rail width * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches | + **widthNiew** | [**[]DcimRackTypesListWidthIcParameterInner**](DcimRackTypesListWidthIcParameterInner.md) | Rail-to-rail width * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches | + **widthNisw** | [**[]DcimRackTypesListWidthIcParameterInner**](DcimRackTypesListWidthIcParameterInner.md) | Rail-to-rail width * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches | ### Return type @@ -28871,7 +30403,7 @@ import ( func main() { id := int32(56) // int32 | A unique integer value identifying this rack. - writableRackRequest := *openapiclient.NewWritableRackRequest("Name_example", *openapiclient.NewSiteRequest("Name_example", "Slug_example")) // WritableRackRequest | + writableRackRequest := *openapiclient.NewWritableRackRequest("Name_example", *openapiclient.NewBriefSiteRequest("Name_example", "Slug_example")) // WritableRackRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -28942,7 +30474,7 @@ import ( ) func main() { - rearPortTemplateRequest := []openapiclient.RearPortTemplateRequest{*openapiclient.NewRearPortTemplateRequest("Name_example")} // []RearPortTemplateRequest | + rearPortTemplateRequest := []openapiclient.RearPortTemplateRequest{*openapiclient.NewRearPortTemplateRequest("Name_example", openapiclient.FrontPort_type_value("8p8c"))} // []RearPortTemplateRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -29006,7 +30538,7 @@ import ( ) func main() { - rearPortTemplateRequest := []openapiclient.RearPortTemplateRequest{*openapiclient.NewRearPortTemplateRequest("Name_example")} // []RearPortTemplateRequest | + rearPortTemplateRequest := []openapiclient.RearPortTemplateRequest{*openapiclient.NewRearPortTemplateRequest("Name_example", openapiclient.FrontPort_type_value("8p8c"))} // []RearPortTemplateRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -29072,7 +30604,7 @@ import ( ) func main() { - rearPortTemplateRequest := []openapiclient.RearPortTemplateRequest{*openapiclient.NewRearPortTemplateRequest("Name_example")} // []RearPortTemplateRequest | + rearPortTemplateRequest := []openapiclient.RearPortTemplateRequest{*openapiclient.NewRearPortTemplateRequest("Name_example", openapiclient.FrontPort_type_value("8p8c"))} // []RearPortTemplateRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -29253,7 +30785,7 @@ Name | Type | Description | Notes ## DcimRearPortTemplatesList -> PaginatedRearPortTemplateList DcimRearPortTemplatesList(ctx).Color(color).ColorEmpty(colorEmpty).ColorIc(colorIc).ColorIe(colorIe).ColorIew(colorIew).ColorIsw(colorIsw).ColorN(colorN).ColorNic(colorNic).ColorNie(colorNie).ColorNiew(colorNiew).ColorNisw(colorNisw).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).DevicetypeId(devicetypeId).DevicetypeIdN(devicetypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).ModuleTypeId(moduleTypeId).ModuleTypeIdN(moduleTypeIdN).ModuletypeId(moduletypeId).ModuletypeIdN(moduletypeIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Positions(positions).PositionsEmpty(positionsEmpty).PositionsGt(positionsGt).PositionsGte(positionsGte).PositionsLt(positionsLt).PositionsLte(positionsLte).PositionsN(positionsN).Q(q).Type_(type_).TypeN(typeN).UpdatedByRequest(updatedByRequest).Execute() +> PaginatedRearPortTemplateList DcimRearPortTemplatesList(ctx).Color(color).ColorEmpty(colorEmpty).ColorIc(colorIc).ColorIe(colorIe).ColorIew(colorIew).ColorIsw(colorIsw).ColorN(colorN).ColorNic(colorNic).ColorNie(colorNie).ColorNiew(colorNiew).ColorNisw(colorNisw).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).ModuleTypeId(moduleTypeId).ModuleTypeIdN(moduleTypeIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Positions(positions).PositionsEmpty(positionsEmpty).PositionsGt(positionsGt).PositionsGte(positionsGte).PositionsLt(positionsLt).PositionsLte(positionsLte).PositionsN(positionsN).Q(q).Type_(type_).TypeEmpty(typeEmpty).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNisw(typeNisw).UpdatedByRequest(updatedByRequest).Execute() @@ -29305,8 +30837,6 @@ func main() { descriptionNisw := []string{"Inner_example"} // []string | (optional) deviceTypeId := []*int32{int32(123)} // []*int32 | Device type (ID) (optional) deviceTypeIdN := []*int32{int32(123)} // []*int32 | Device type (ID) (optional) - devicetypeId := []*int32{int32(123)} // []*int32 | Device type (ID) (optional) - devicetypeIdN := []*int32{int32(123)} // []*int32 | Device type (ID) (optional) id := []int32{int32(123)} // []int32 | (optional) idEmpty := true // bool | (optional) idGt := []int32{int32(123)} // []int32 | (optional) @@ -29336,8 +30866,6 @@ func main() { modifiedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) moduleTypeId := []*int32{int32(123)} // []*int32 | Module type (ID) (optional) moduleTypeIdN := []*int32{int32(123)} // []*int32 | Module type (ID) (optional) - moduletypeId := []*int32{int32(123)} // []*int32 | Module type (ID) (optional) - moduletypeIdN := []*int32{int32(123)} // []*int32 | Module type (ID) (optional) name := []string{"Inner_example"} // []string | (optional) nameEmpty := true // bool | (optional) nameIc := []string{"Inner_example"} // []string | (optional) @@ -29360,12 +30888,21 @@ func main() { positionsN := []int32{int32(123)} // []int32 | (optional) q := "q_example" // string | Search (optional) type_ := []string{"Inner_example"} // []string | (optional) - typeN := []string{"Inner_example"} // []string | (optional) + typeEmpty := true // bool | (optional) + typeIc := []openapiclient.DcimFrontPortTemplatesListTypeIcParameterInner{openapiclient.dcim_front_port_templates_list_type__ic_parameter_inner("110-punch")} // []DcimFrontPortTemplatesListTypeIcParameterInner | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other (optional) + typeIe := []openapiclient.DcimFrontPortTemplatesListTypeIcParameterInner{openapiclient.dcim_front_port_templates_list_type__ic_parameter_inner("110-punch")} // []DcimFrontPortTemplatesListTypeIcParameterInner | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other (optional) + typeIew := []openapiclient.DcimFrontPortTemplatesListTypeIcParameterInner{openapiclient.dcim_front_port_templates_list_type__ic_parameter_inner("110-punch")} // []DcimFrontPortTemplatesListTypeIcParameterInner | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other (optional) + typeIsw := []openapiclient.DcimFrontPortTemplatesListTypeIcParameterInner{openapiclient.dcim_front_port_templates_list_type__ic_parameter_inner("110-punch")} // []DcimFrontPortTemplatesListTypeIcParameterInner | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other (optional) + typeN := []openapiclient.DcimFrontPortTemplatesListTypeIcParameterInner{openapiclient.dcim_front_port_templates_list_type__ic_parameter_inner("110-punch")} // []DcimFrontPortTemplatesListTypeIcParameterInner | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other (optional) + typeNic := []openapiclient.DcimFrontPortTemplatesListTypeIcParameterInner{openapiclient.dcim_front_port_templates_list_type__ic_parameter_inner("110-punch")} // []DcimFrontPortTemplatesListTypeIcParameterInner | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other (optional) + typeNie := []openapiclient.DcimFrontPortTemplatesListTypeIcParameterInner{openapiclient.dcim_front_port_templates_list_type__ic_parameter_inner("110-punch")} // []DcimFrontPortTemplatesListTypeIcParameterInner | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other (optional) + typeNiew := []openapiclient.DcimFrontPortTemplatesListTypeIcParameterInner{openapiclient.dcim_front_port_templates_list_type__ic_parameter_inner("110-punch")} // []DcimFrontPortTemplatesListTypeIcParameterInner | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other (optional) + typeNisw := []openapiclient.DcimFrontPortTemplatesListTypeIcParameterInner{openapiclient.dcim_front_port_templates_list_type__ic_parameter_inner("110-punch")} // []DcimFrontPortTemplatesListTypeIcParameterInner | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other (optional) updatedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.DcimAPI.DcimRearPortTemplatesList(context.Background()).Color(color).ColorEmpty(colorEmpty).ColorIc(colorIc).ColorIe(colorIe).ColorIew(colorIew).ColorIsw(colorIsw).ColorN(colorN).ColorNic(colorNic).ColorNie(colorNie).ColorNiew(colorNiew).ColorNisw(colorNisw).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).DevicetypeId(devicetypeId).DevicetypeIdN(devicetypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).ModuleTypeId(moduleTypeId).ModuleTypeIdN(moduleTypeIdN).ModuletypeId(moduletypeId).ModuletypeIdN(moduletypeIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Positions(positions).PositionsEmpty(positionsEmpty).PositionsGt(positionsGt).PositionsGte(positionsGte).PositionsLt(positionsLt).PositionsLte(positionsLte).PositionsN(positionsN).Q(q).Type_(type_).TypeN(typeN).UpdatedByRequest(updatedByRequest).Execute() + resp, r, err := apiClient.DcimAPI.DcimRearPortTemplatesList(context.Background()).Color(color).ColorEmpty(colorEmpty).ColorIc(colorIc).ColorIe(colorIe).ColorIew(colorIew).ColorIsw(colorIsw).ColorN(colorN).ColorNic(colorNic).ColorNie(colorNie).ColorNiew(colorNiew).ColorNisw(colorNisw).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).ModuleTypeId(moduleTypeId).ModuleTypeIdN(moduleTypeIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Positions(positions).PositionsEmpty(positionsEmpty).PositionsGt(positionsGt).PositionsGte(positionsGte).PositionsLt(positionsLt).PositionsLte(positionsLte).PositionsN(positionsN).Q(q).Type_(type_).TypeEmpty(typeEmpty).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNisw(typeNisw).UpdatedByRequest(updatedByRequest).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRearPortTemplatesList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -29418,8 +30955,6 @@ Name | Type | Description | Notes **descriptionNisw** | **[]string** | | **deviceTypeId** | **[]int32** | Device type (ID) | **deviceTypeIdN** | **[]int32** | Device type (ID) | - **devicetypeId** | **[]int32** | Device type (ID) | - **devicetypeIdN** | **[]int32** | Device type (ID) | **id** | **[]int32** | | **idEmpty** | **bool** | | **idGt** | **[]int32** | | @@ -29449,8 +30984,6 @@ Name | Type | Description | Notes **modifiedByRequest** | **string** | | **moduleTypeId** | **[]int32** | Module type (ID) | **moduleTypeIdN** | **[]int32** | Module type (ID) | - **moduletypeId** | **[]int32** | Module type (ID) | - **moduletypeIdN** | **[]int32** | Module type (ID) | **name** | **[]string** | | **nameEmpty** | **bool** | | **nameIc** | **[]string** | | @@ -29473,7 +31006,16 @@ Name | Type | Description | Notes **positionsN** | **[]int32** | | **q** | **string** | Search | **type_** | **[]string** | | - **typeN** | **[]string** | | + **typeEmpty** | **bool** | | + **typeIc** | [**[]DcimFrontPortTemplatesListTypeIcParameterInner**](DcimFrontPortTemplatesListTypeIcParameterInner.md) | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other | + **typeIe** | [**[]DcimFrontPortTemplatesListTypeIcParameterInner**](DcimFrontPortTemplatesListTypeIcParameterInner.md) | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other | + **typeIew** | [**[]DcimFrontPortTemplatesListTypeIcParameterInner**](DcimFrontPortTemplatesListTypeIcParameterInner.md) | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other | + **typeIsw** | [**[]DcimFrontPortTemplatesListTypeIcParameterInner**](DcimFrontPortTemplatesListTypeIcParameterInner.md) | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other | + **typeN** | [**[]DcimFrontPortTemplatesListTypeIcParameterInner**](DcimFrontPortTemplatesListTypeIcParameterInner.md) | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other | + **typeNic** | [**[]DcimFrontPortTemplatesListTypeIcParameterInner**](DcimFrontPortTemplatesListTypeIcParameterInner.md) | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other | + **typeNie** | [**[]DcimFrontPortTemplatesListTypeIcParameterInner**](DcimFrontPortTemplatesListTypeIcParameterInner.md) | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other | + **typeNiew** | [**[]DcimFrontPortTemplatesListTypeIcParameterInner**](DcimFrontPortTemplatesListTypeIcParameterInner.md) | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other | + **typeNisw** | [**[]DcimFrontPortTemplatesListTypeIcParameterInner**](DcimFrontPortTemplatesListTypeIcParameterInner.md) | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other | **updatedByRequest** | **string** | | ### Return type @@ -29729,7 +31271,7 @@ import ( ) func main() { - rearPortRequest := []openapiclient.RearPortRequest{*openapiclient.NewRearPortRequest(*openapiclient.NewDeviceRequest(), "Name_example", openapiclient.FrontPort_type_value("8p8c"))} // []RearPortRequest | + rearPortRequest := []openapiclient.RearPortRequest{*openapiclient.NewRearPortRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example", openapiclient.FrontPort_type_value("8p8c"))} // []RearPortRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -29793,7 +31335,7 @@ import ( ) func main() { - rearPortRequest := []openapiclient.RearPortRequest{*openapiclient.NewRearPortRequest(*openapiclient.NewDeviceRequest(), "Name_example", openapiclient.FrontPort_type_value("8p8c"))} // []RearPortRequest | + rearPortRequest := []openapiclient.RearPortRequest{*openapiclient.NewRearPortRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example", openapiclient.FrontPort_type_value("8p8c"))} // []RearPortRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -29859,7 +31401,7 @@ import ( ) func main() { - rearPortRequest := []openapiclient.RearPortRequest{*openapiclient.NewRearPortRequest(*openapiclient.NewDeviceRequest(), "Name_example", openapiclient.FrontPort_type_value("8p8c"))} // []RearPortRequest | + rearPortRequest := []openapiclient.RearPortRequest{*openapiclient.NewRearPortRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example", openapiclient.FrontPort_type_value("8p8c"))} // []RearPortRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -29925,7 +31467,7 @@ import ( ) func main() { - writableRearPortRequest := *openapiclient.NewWritableRearPortRequest(*openapiclient.NewDeviceRequest(), "Name_example", openapiclient.FrontPort_type_value("8p8c")) // WritableRearPortRequest | + writableRearPortRequest := *openapiclient.NewWritableRearPortRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example", openapiclient.FrontPort_type_value("8p8c")) // WritableRearPortRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -30040,7 +31582,7 @@ Name | Type | Description | Notes ## DcimRearPortsList -> PaginatedRearPortList DcimRearPortsList(ctx).CableEnd(cableEnd).CableEndN(cableEndN).CableId(cableId).CableIdN(cableIdN).Cabled(cabled).Color(color).ColorEmpty(colorEmpty).ColorIc(colorIc).ColorIe(colorIe).ColorIew(colorIew).ColorIsw(colorIsw).ColorN(colorN).ColorNic(colorNic).ColorNie(colorNie).ColorNiew(colorNiew).ColorNisw(colorNisw).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceN(deviceN).DeviceId(deviceId).DeviceIdN(deviceIdN).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).LocationId(locationId).LocationIdN(locationIdN).MarkConnected(markConnected).ModifiedByRequest(modifiedByRequest).ModuleId(moduleId).ModuleIdN(moduleIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Occupied(occupied).Offset(offset).Ordering(ordering).Positions(positions).PositionsEmpty(positionsEmpty).PositionsGt(positionsGt).PositionsGte(positionsGte).PositionsLt(positionsLt).PositionsLte(positionsLte).PositionsN(positionsN).Q(q).Rack(rack).RackN(rackN).RackId(rackId).RackIdN(rackIdN).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Tag(tag).TagN(tagN).Type_(type_).TypeN(typeN).UpdatedByRequest(updatedByRequest).VirtualChassis(virtualChassis).VirtualChassisN(virtualChassisN).VirtualChassisId(virtualChassisId).VirtualChassisIdN(virtualChassisIdN).Execute() +> PaginatedRearPortList DcimRearPortsList(ctx).CableEnd(cableEnd).CableId(cableId).CableIdN(cableIdN).Cabled(cabled).Color(color).ColorEmpty(colorEmpty).ColorIc(colorIc).ColorIe(colorIe).ColorIew(colorIew).ColorIsw(colorIsw).ColorN(colorN).ColorNic(colorNic).ColorNie(colorNie).ColorNiew(colorNiew).ColorNisw(colorNisw).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceN(deviceN).DeviceId(deviceId).DeviceIdN(deviceIdN).DeviceRole(deviceRole).DeviceRoleN(deviceRoleN).DeviceRoleId(deviceRoleId).DeviceRoleIdN(deviceRoleIdN).DeviceStatus(deviceStatus).DeviceStatusEmpty(deviceStatusEmpty).DeviceStatusIc(deviceStatusIc).DeviceStatusIe(deviceStatusIe).DeviceStatusIew(deviceStatusIew).DeviceStatusIsw(deviceStatusIsw).DeviceStatusN(deviceStatusN).DeviceStatusNic(deviceStatusNic).DeviceStatusNie(deviceStatusNie).DeviceStatusNiew(deviceStatusNiew).DeviceStatusNisw(deviceStatusNisw).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).LocationId(locationId).LocationIdN(locationIdN).MarkConnected(markConnected).ModifiedByRequest(modifiedByRequest).ModuleId(moduleId).ModuleIdN(moduleIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Occupied(occupied).Offset(offset).Ordering(ordering).Positions(positions).PositionsEmpty(positionsEmpty).PositionsGt(positionsGt).PositionsGte(positionsGte).PositionsLt(positionsLt).PositionsLte(positionsLte).PositionsN(positionsN).Q(q).Rack(rack).RackN(rackN).RackId(rackId).RackIdN(rackIdN).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Tag(tag).TagN(tagN).Type_(type_).TypeEmpty(typeEmpty).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNisw(typeNisw).UpdatedByRequest(updatedByRequest).VirtualChassis(virtualChassis).VirtualChassisN(virtualChassisN).VirtualChassisId(virtualChassisId).VirtualChassisIdN(virtualChassisIdN).Execute() @@ -30061,7 +31603,6 @@ import ( func main() { cableEnd := openapiclient.circuits_circuit_terminations_list_cable_end_parameter("A") // CircuitsCircuitTerminationsListCableEndParameter | * `A` - A * `B` - B (optional) - cableEndN := openapiclient.circuits_circuit_terminations_list_cable_end_parameter("A") // CircuitsCircuitTerminationsListCableEndParameter | * `A` - A * `B` - B (optional) cableId := []*int32{int32(123)} // []*int32 | Cable (ID) (optional) cableIdN := []*int32{int32(123)} // []*int32 | Cable (ID) (optional) cabled := true // bool | (optional) @@ -30099,6 +31640,21 @@ func main() { deviceN := []*string{"Inner_example"} // []*string | Device (name) (optional) deviceId := []int32{int32(123)} // []int32 | Device (ID) (optional) deviceIdN := []int32{int32(123)} // []int32 | Device (ID) (optional) + deviceRole := []string{"Inner_example"} // []string | Device role (slug) (optional) + deviceRoleN := []string{"Inner_example"} // []string | Device role (slug) (optional) + deviceRoleId := []int32{int32(123)} // []int32 | Device role (ID) (optional) + deviceRoleIdN := []int32{int32(123)} // []int32 | Device role (ID) (optional) + deviceStatus := []string{"Inner_example"} // []string | (optional) + deviceStatusEmpty := true // bool | (optional) + deviceStatusIc := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusIe := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusIew := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusIsw := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusN := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusNic := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusNie := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusNiew := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) + deviceStatusNisw := []openapiclient.DcimConsolePortsListDeviceStatusIcParameterInner{openapiclient.dcim_console_ports_list_device_status__ic_parameter_inner("active")} // []DcimConsolePortsListDeviceStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning (optional) deviceType := []string{"Inner_example"} // []string | Device type (model) (optional) deviceTypeN := []string{"Inner_example"} // []string | Device type (model) (optional) deviceTypeId := []int32{int32(123)} // []int32 | Device type (ID) (optional) @@ -30163,26 +31719,31 @@ func main() { rackN := []string{"Inner_example"} // []string | Rack (name) (optional) rackId := []int32{int32(123)} // []int32 | Rack (ID) (optional) rackIdN := []int32{int32(123)} // []int32 | Rack (ID) (optional) - region := []int32{int32(123)} // []int32 | Region (slug) (optional) - regionN := []int32{int32(123)} // []int32 | Region (slug) (optional) - regionId := []int32{int32(123)} // []int32 | Region (ID) (optional) - regionIdN := []int32{int32(123)} // []int32 | Region (ID) (optional) - role := []string{"Inner_example"} // []string | Device role (slug) (optional) - roleN := []string{"Inner_example"} // []string | Device role (slug) (optional) - roleId := []int32{int32(123)} // []int32 | Device role (ID) (optional) - roleIdN := []int32{int32(123)} // []int32 | Device role (ID) (optional) + region := []string{"Inner_example"} // []string | (optional) + regionN := []string{"Inner_example"} // []string | (optional) + regionId := []string{"Inner_example"} // []string | (optional) + regionIdN := []string{"Inner_example"} // []string | (optional) site := []string{"Inner_example"} // []string | Site name (slug) (optional) siteN := []string{"Inner_example"} // []string | Site name (slug) (optional) - siteGroup := []int32{int32(123)} // []int32 | Site group (slug) (optional) - siteGroupN := []int32{int32(123)} // []int32 | Site group (slug) (optional) - siteGroupId := []int32{int32(123)} // []int32 | Site group (ID) (optional) - siteGroupIdN := []int32{int32(123)} // []int32 | Site group (ID) (optional) + siteGroup := []string{"Inner_example"} // []string | (optional) + siteGroupN := []string{"Inner_example"} // []string | (optional) + siteGroupId := []string{"Inner_example"} // []string | (optional) + siteGroupIdN := []string{"Inner_example"} // []string | (optional) siteId := []int32{int32(123)} // []int32 | Site (ID) (optional) siteIdN := []int32{int32(123)} // []int32 | Site (ID) (optional) tag := []string{"Inner_example"} // []string | (optional) tagN := []string{"Inner_example"} // []string | (optional) type_ := []string{"Inner_example"} // []string | (optional) - typeN := []string{"Inner_example"} // []string | (optional) + typeEmpty := true // bool | (optional) + typeIc := []openapiclient.DcimFrontPortTemplatesListTypeIcParameterInner{openapiclient.dcim_front_port_templates_list_type__ic_parameter_inner("110-punch")} // []DcimFrontPortTemplatesListTypeIcParameterInner | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other (optional) + typeIe := []openapiclient.DcimFrontPortTemplatesListTypeIcParameterInner{openapiclient.dcim_front_port_templates_list_type__ic_parameter_inner("110-punch")} // []DcimFrontPortTemplatesListTypeIcParameterInner | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other (optional) + typeIew := []openapiclient.DcimFrontPortTemplatesListTypeIcParameterInner{openapiclient.dcim_front_port_templates_list_type__ic_parameter_inner("110-punch")} // []DcimFrontPortTemplatesListTypeIcParameterInner | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other (optional) + typeIsw := []openapiclient.DcimFrontPortTemplatesListTypeIcParameterInner{openapiclient.dcim_front_port_templates_list_type__ic_parameter_inner("110-punch")} // []DcimFrontPortTemplatesListTypeIcParameterInner | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other (optional) + typeN := []openapiclient.DcimFrontPortTemplatesListTypeIcParameterInner{openapiclient.dcim_front_port_templates_list_type__ic_parameter_inner("110-punch")} // []DcimFrontPortTemplatesListTypeIcParameterInner | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other (optional) + typeNic := []openapiclient.DcimFrontPortTemplatesListTypeIcParameterInner{openapiclient.dcim_front_port_templates_list_type__ic_parameter_inner("110-punch")} // []DcimFrontPortTemplatesListTypeIcParameterInner | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other (optional) + typeNie := []openapiclient.DcimFrontPortTemplatesListTypeIcParameterInner{openapiclient.dcim_front_port_templates_list_type__ic_parameter_inner("110-punch")} // []DcimFrontPortTemplatesListTypeIcParameterInner | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other (optional) + typeNiew := []openapiclient.DcimFrontPortTemplatesListTypeIcParameterInner{openapiclient.dcim_front_port_templates_list_type__ic_parameter_inner("110-punch")} // []DcimFrontPortTemplatesListTypeIcParameterInner | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other (optional) + typeNisw := []openapiclient.DcimFrontPortTemplatesListTypeIcParameterInner{openapiclient.dcim_front_port_templates_list_type__ic_parameter_inner("110-punch")} // []DcimFrontPortTemplatesListTypeIcParameterInner | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other (optional) updatedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) virtualChassis := []string{"Inner_example"} // []string | Virtual Chassis (optional) virtualChassisN := []string{"Inner_example"} // []string | Virtual Chassis (optional) @@ -30191,7 +31752,7 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.DcimAPI.DcimRearPortsList(context.Background()).CableEnd(cableEnd).CableEndN(cableEndN).CableId(cableId).CableIdN(cableIdN).Cabled(cabled).Color(color).ColorEmpty(colorEmpty).ColorIc(colorIc).ColorIe(colorIe).ColorIew(colorIew).ColorIsw(colorIsw).ColorN(colorN).ColorNic(colorNic).ColorNie(colorNie).ColorNiew(colorNiew).ColorNisw(colorNisw).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceN(deviceN).DeviceId(deviceId).DeviceIdN(deviceIdN).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).LocationId(locationId).LocationIdN(locationIdN).MarkConnected(markConnected).ModifiedByRequest(modifiedByRequest).ModuleId(moduleId).ModuleIdN(moduleIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Occupied(occupied).Offset(offset).Ordering(ordering).Positions(positions).PositionsEmpty(positionsEmpty).PositionsGt(positionsGt).PositionsGte(positionsGte).PositionsLt(positionsLt).PositionsLte(positionsLte).PositionsN(positionsN).Q(q).Rack(rack).RackN(rackN).RackId(rackId).RackIdN(rackIdN).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Tag(tag).TagN(tagN).Type_(type_).TypeN(typeN).UpdatedByRequest(updatedByRequest).VirtualChassis(virtualChassis).VirtualChassisN(virtualChassisN).VirtualChassisId(virtualChassisId).VirtualChassisIdN(virtualChassisIdN).Execute() + resp, r, err := apiClient.DcimAPI.DcimRearPortsList(context.Background()).CableEnd(cableEnd).CableId(cableId).CableIdN(cableIdN).Cabled(cabled).Color(color).ColorEmpty(colorEmpty).ColorIc(colorIc).ColorIe(colorIe).ColorIew(colorIew).ColorIsw(colorIsw).ColorN(colorN).ColorNic(colorNic).ColorNie(colorNie).ColorNiew(colorNiew).ColorNisw(colorNisw).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceN(deviceN).DeviceId(deviceId).DeviceIdN(deviceIdN).DeviceRole(deviceRole).DeviceRoleN(deviceRoleN).DeviceRoleId(deviceRoleId).DeviceRoleIdN(deviceRoleIdN).DeviceStatus(deviceStatus).DeviceStatusEmpty(deviceStatusEmpty).DeviceStatusIc(deviceStatusIc).DeviceStatusIe(deviceStatusIe).DeviceStatusIew(deviceStatusIew).DeviceStatusIsw(deviceStatusIsw).DeviceStatusN(deviceStatusN).DeviceStatusNic(deviceStatusNic).DeviceStatusNie(deviceStatusNie).DeviceStatusNiew(deviceStatusNiew).DeviceStatusNisw(deviceStatusNisw).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).LocationId(locationId).LocationIdN(locationIdN).MarkConnected(markConnected).ModifiedByRequest(modifiedByRequest).ModuleId(moduleId).ModuleIdN(moduleIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Occupied(occupied).Offset(offset).Ordering(ordering).Positions(positions).PositionsEmpty(positionsEmpty).PositionsGt(positionsGt).PositionsGte(positionsGte).PositionsLt(positionsLt).PositionsLte(positionsLte).PositionsN(positionsN).Q(q).Rack(rack).RackN(rackN).RackId(rackId).RackIdN(rackIdN).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Tag(tag).TagN(tagN).Type_(type_).TypeEmpty(typeEmpty).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNisw(typeNisw).UpdatedByRequest(updatedByRequest).VirtualChassis(virtualChassis).VirtualChassisN(virtualChassisN).VirtualChassisId(virtualChassisId).VirtualChassisIdN(virtualChassisIdN).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRearPortsList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -30213,7 +31774,6 @@ Other parameters are passed through a pointer to a apiDcimRearPortsListRequest s Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **cableEnd** | [**CircuitsCircuitTerminationsListCableEndParameter**](CircuitsCircuitTerminationsListCableEndParameter.md) | * `A` - A * `B` - B | - **cableEndN** | [**CircuitsCircuitTerminationsListCableEndParameter**](CircuitsCircuitTerminationsListCableEndParameter.md) | * `A` - A * `B` - B | **cableId** | **[]int32** | Cable (ID) | **cableIdN** | **[]int32** | Cable (ID) | **cabled** | **bool** | | @@ -30251,6 +31811,21 @@ Name | Type | Description | Notes **deviceN** | **[]string** | Device (name) | **deviceId** | **[]int32** | Device (ID) | **deviceIdN** | **[]int32** | Device (ID) | + **deviceRole** | **[]string** | Device role (slug) | + **deviceRoleN** | **[]string** | Device role (slug) | + **deviceRoleId** | **[]int32** | Device role (ID) | + **deviceRoleIdN** | **[]int32** | Device role (ID) | + **deviceStatus** | **[]string** | | + **deviceStatusEmpty** | **bool** | | + **deviceStatusIc** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusIe** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusIew** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusIsw** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusN** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusNic** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusNie** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusNiew** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | + **deviceStatusNisw** | [**[]DcimConsolePortsListDeviceStatusIcParameterInner**](DcimConsolePortsListDeviceStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `inventory` - Inventory * `decommissioning` - Decommissioning | **deviceType** | **[]string** | Device type (model) | **deviceTypeN** | **[]string** | Device type (model) | **deviceTypeId** | **[]int32** | Device type (ID) | @@ -30315,26 +31890,31 @@ Name | Type | Description | Notes **rackN** | **[]string** | Rack (name) | **rackId** | **[]int32** | Rack (ID) | **rackIdN** | **[]int32** | Rack (ID) | - **region** | **[]int32** | Region (slug) | - **regionN** | **[]int32** | Region (slug) | - **regionId** | **[]int32** | Region (ID) | - **regionIdN** | **[]int32** | Region (ID) | - **role** | **[]string** | Device role (slug) | - **roleN** | **[]string** | Device role (slug) | - **roleId** | **[]int32** | Device role (ID) | - **roleIdN** | **[]int32** | Device role (ID) | + **region** | **[]string** | | + **regionN** | **[]string** | | + **regionId** | **[]string** | | + **regionIdN** | **[]string** | | **site** | **[]string** | Site name (slug) | **siteN** | **[]string** | Site name (slug) | - **siteGroup** | **[]int32** | Site group (slug) | - **siteGroupN** | **[]int32** | Site group (slug) | - **siteGroupId** | **[]int32** | Site group (ID) | - **siteGroupIdN** | **[]int32** | Site group (ID) | + **siteGroup** | **[]string** | | + **siteGroupN** | **[]string** | | + **siteGroupId** | **[]string** | | + **siteGroupIdN** | **[]string** | | **siteId** | **[]int32** | Site (ID) | **siteIdN** | **[]int32** | Site (ID) | **tag** | **[]string** | | **tagN** | **[]string** | | **type_** | **[]string** | | - **typeN** | **[]string** | | + **typeEmpty** | **bool** | | + **typeIc** | [**[]DcimFrontPortTemplatesListTypeIcParameterInner**](DcimFrontPortTemplatesListTypeIcParameterInner.md) | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other | + **typeIe** | [**[]DcimFrontPortTemplatesListTypeIcParameterInner**](DcimFrontPortTemplatesListTypeIcParameterInner.md) | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other | + **typeIew** | [**[]DcimFrontPortTemplatesListTypeIcParameterInner**](DcimFrontPortTemplatesListTypeIcParameterInner.md) | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other | + **typeIsw** | [**[]DcimFrontPortTemplatesListTypeIcParameterInner**](DcimFrontPortTemplatesListTypeIcParameterInner.md) | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other | + **typeN** | [**[]DcimFrontPortTemplatesListTypeIcParameterInner**](DcimFrontPortTemplatesListTypeIcParameterInner.md) | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other | + **typeNic** | [**[]DcimFrontPortTemplatesListTypeIcParameterInner**](DcimFrontPortTemplatesListTypeIcParameterInner.md) | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other | + **typeNie** | [**[]DcimFrontPortTemplatesListTypeIcParameterInner**](DcimFrontPortTemplatesListTypeIcParameterInner.md) | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other | + **typeNiew** | [**[]DcimFrontPortTemplatesListTypeIcParameterInner**](DcimFrontPortTemplatesListTypeIcParameterInner.md) | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other | + **typeNisw** | [**[]DcimFrontPortTemplatesListTypeIcParameterInner**](DcimFrontPortTemplatesListTypeIcParameterInner.md) | * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other | **updatedByRequest** | **string** | | **virtualChassis** | **[]string** | Virtual Chassis | **virtualChassisN** | **[]string** | Virtual Chassis | @@ -30593,7 +32173,7 @@ import ( func main() { id := int32(56) // int32 | A unique integer value identifying this rear port. - writableRearPortRequest := *openapiclient.NewWritableRearPortRequest(*openapiclient.NewDeviceRequest(), "Name_example", openapiclient.FrontPort_type_value("8p8c")) // WritableRearPortRequest | + writableRearPortRequest := *openapiclient.NewWritableRearPortRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example", openapiclient.FrontPort_type_value("8p8c")) // WritableRearPortRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -30995,14 +32575,14 @@ import ( ) func main() { - ancestor := []int32{int32(123)} // []int32 | Region (slug) (optional) - ancestorN := []int32{int32(123)} // []int32 | Region (slug) (optional) - ancestorId := []int32{int32(123)} // []int32 | Region (ID) (optional) - ancestorIdN := []int32{int32(123)} // []int32 | Region (ID) (optional) + ancestor := []string{"Inner_example"} // []string | (optional) + ancestorN := []string{"Inner_example"} // []string | (optional) + ancestorId := []string{"Inner_example"} // []string | (optional) + ancestorIdN := []string{"Inner_example"} // []string | (optional) contact := []int32{int32(123)} // []int32 | Contact (optional) contactN := []int32{int32(123)} // []int32 | Contact (optional) - contactGroup := []int32{int32(123)} // []int32 | Contact group (optional) - contactGroupN := []int32{int32(123)} // []int32 | Contact group (optional) + contactGroup := []string{"Inner_example"} // []string | (optional) + contactGroupN := []string{"Inner_example"} // []string | (optional) contactRole := []int32{int32(123)} // []int32 | Contact Role (optional) contactRoleN := []int32{int32(123)} // []int32 | Contact Role (optional) created := []time.Time{time.Now()} // []time.Time | (optional) @@ -31096,14 +32676,14 @@ Other parameters are passed through a pointer to a apiDcimRegionsListRequest str Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **ancestor** | **[]int32** | Region (slug) | - **ancestorN** | **[]int32** | Region (slug) | - **ancestorId** | **[]int32** | Region (ID) | - **ancestorIdN** | **[]int32** | Region (ID) | + **ancestor** | **[]string** | | + **ancestorN** | **[]string** | | + **ancestorId** | **[]string** | | + **ancestorIdN** | **[]string** | | **contact** | **[]int32** | Contact | **contactN** | **[]int32** | Contact | - **contactGroup** | **[]int32** | Contact group | - **contactGroupN** | **[]int32** | Contact group | + **contactGroup** | **[]string** | | + **contactGroupN** | **[]string** | | **contactRole** | **[]int32** | Contact Role | **contactRoleN** | **[]int32** | Contact Role | **created** | [**[]time.Time**](time.Time.md) | | @@ -31758,14 +33338,14 @@ import ( ) func main() { - ancestor := []int32{int32(123)} // []int32 | Site group (slug) (optional) - ancestorN := []int32{int32(123)} // []int32 | Site group (slug) (optional) - ancestorId := []int32{int32(123)} // []int32 | Site group (ID) (optional) - ancestorIdN := []int32{int32(123)} // []int32 | Site group (ID) (optional) + ancestor := []string{"Inner_example"} // []string | (optional) + ancestorN := []string{"Inner_example"} // []string | (optional) + ancestorId := []string{"Inner_example"} // []string | (optional) + ancestorIdN := []string{"Inner_example"} // []string | (optional) contact := []int32{int32(123)} // []int32 | Contact (optional) contactN := []int32{int32(123)} // []int32 | Contact (optional) - contactGroup := []int32{int32(123)} // []int32 | Contact group (optional) - contactGroupN := []int32{int32(123)} // []int32 | Contact group (optional) + contactGroup := []string{"Inner_example"} // []string | (optional) + contactGroupN := []string{"Inner_example"} // []string | (optional) contactRole := []int32{int32(123)} // []int32 | Contact Role (optional) contactRoleN := []int32{int32(123)} // []int32 | Contact Role (optional) created := []time.Time{time.Now()} // []time.Time | (optional) @@ -31859,14 +33439,14 @@ Other parameters are passed through a pointer to a apiDcimSiteGroupsListRequest Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **ancestor** | **[]int32** | Site group (slug) | - **ancestorN** | **[]int32** | Site group (slug) | - **ancestorId** | **[]int32** | Site group (ID) | - **ancestorIdN** | **[]int32** | Site group (ID) | + **ancestor** | **[]string** | | + **ancestorN** | **[]string** | | + **ancestorId** | **[]string** | | + **ancestorIdN** | **[]string** | | **contact** | **[]int32** | Contact | **contactN** | **[]int32** | Contact | - **contactGroup** | **[]int32** | Contact group | - **contactGroupN** | **[]int32** | Contact group | + **contactGroup** | **[]string** | | + **contactGroupN** | **[]string** | | **contactRole** | **[]int32** | Contact Role | **contactRoleN** | **[]int32** | Contact Role | **created** | [**[]time.Time**](time.Time.md) | | @@ -32501,7 +34081,7 @@ Name | Type | Description | Notes ## DcimSitesList -> PaginatedSiteList DcimSitesList(ctx).Asn(asn).AsnN(asnN).AsnId(asnId).AsnIdN(asnIdN).Contact(contact).ContactN(contactN).ContactGroup(contactGroup).ContactGroupN(contactGroupN).ContactRole(contactRole).ContactRoleN(contactRoleN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Facility(facility).FacilityEmpty(facilityEmpty).FacilityIc(facilityIc).FacilityIe(facilityIe).FacilityIew(facilityIew).FacilityIsw(facilityIsw).FacilityN(facilityN).FacilityNic(facilityNic).FacilityNie(facilityNie).FacilityNiew(facilityNiew).FacilityNisw(facilityNisw).Group(group).GroupN(groupN).GroupId(groupId).GroupIdN(groupIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Latitude(latitude).LatitudeEmpty(latitudeEmpty).LatitudeGt(latitudeGt).LatitudeGte(latitudeGte).LatitudeLt(latitudeLt).LatitudeLte(latitudeLte).LatitudeN(latitudeN).Limit(limit).Longitude(longitude).LongitudeEmpty(longitudeEmpty).LongitudeGt(longitudeGt).LongitudeGte(longitudeGte).LongitudeLt(longitudeLt).LongitudeLte(longitudeLte).LongitudeN(longitudeN).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Slug(slug).SlugEmpty(slugEmpty).SlugIc(slugIc).SlugIe(slugIe).SlugIew(slugIew).SlugIsw(slugIsw).SlugN(slugN).SlugNic(slugNic).SlugNie(slugNie).SlugNiew(slugNiew).SlugNisw(slugNisw).Status(status).StatusN(statusN).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).TimeZone(timeZone).TimeZoneIc(timeZoneIc).TimeZoneIe(timeZoneIe).TimeZoneIew(timeZoneIew).TimeZoneIsw(timeZoneIsw).TimeZoneN(timeZoneN).TimeZoneNic(timeZoneNic).TimeZoneNie(timeZoneNie).TimeZoneNiew(timeZoneNiew).TimeZoneNisw(timeZoneNisw).UpdatedByRequest(updatedByRequest).Execute() +> PaginatedSiteList DcimSitesList(ctx).Asn(asn).AsnN(asnN).AsnId(asnId).AsnIdN(asnIdN).Contact(contact).ContactN(contactN).ContactGroup(contactGroup).ContactGroupN(contactGroupN).ContactRole(contactRole).ContactRoleN(contactRoleN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Facility(facility).FacilityEmpty(facilityEmpty).FacilityIc(facilityIc).FacilityIe(facilityIe).FacilityIew(facilityIew).FacilityIsw(facilityIsw).FacilityN(facilityN).FacilityNic(facilityNic).FacilityNie(facilityNie).FacilityNiew(facilityNiew).FacilityNisw(facilityNisw).Group(group).GroupN(groupN).GroupId(groupId).GroupIdN(groupIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Latitude(latitude).LatitudeEmpty(latitudeEmpty).LatitudeGt(latitudeGt).LatitudeGte(latitudeGte).LatitudeLt(latitudeLt).LatitudeLte(latitudeLte).LatitudeN(latitudeN).Limit(limit).Longitude(longitude).LongitudeEmpty(longitudeEmpty).LongitudeGt(longitudeGt).LongitudeGte(longitudeGte).LongitudeLt(longitudeLt).LongitudeLte(longitudeLte).LongitudeN(longitudeN).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Slug(slug).SlugEmpty(slugEmpty).SlugIc(slugIc).SlugIe(slugIe).SlugIew(slugIew).SlugIsw(slugIsw).SlugN(slugN).SlugNic(slugNic).SlugNie(slugNie).SlugNiew(slugNiew).SlugNisw(slugNisw).Status(status).StatusEmpty(statusEmpty).StatusIc(statusIc).StatusIe(statusIe).StatusIew(statusIew).StatusIsw(statusIsw).StatusN(statusN).StatusNic(statusNic).StatusNie(statusNie).StatusNiew(statusNiew).StatusNisw(statusNisw).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).TimeZone(timeZone).TimeZoneIc(timeZoneIc).TimeZoneIe(timeZoneIe).TimeZoneIew(timeZoneIew).TimeZoneIsw(timeZoneIsw).TimeZoneN(timeZoneN).TimeZoneNic(timeZoneNic).TimeZoneNie(timeZoneNie).TimeZoneNiew(timeZoneNiew).TimeZoneNisw(timeZoneNisw).UpdatedByRequest(updatedByRequest).Execute() @@ -32527,8 +34107,8 @@ func main() { asnIdN := []int32{int32(123)} // []int32 | AS (ID) (optional) contact := []int32{int32(123)} // []int32 | Contact (optional) contactN := []int32{int32(123)} // []int32 | Contact (optional) - contactGroup := []int32{int32(123)} // []int32 | Contact group (optional) - contactGroupN := []int32{int32(123)} // []int32 | Contact group (optional) + contactGroup := []string{"Inner_example"} // []string | (optional) + contactGroupN := []string{"Inner_example"} // []string | (optional) contactRole := []int32{int32(123)} // []int32 | Contact Role (optional) contactRoleN := []int32{int32(123)} // []int32 | Contact Role (optional) created := []time.Time{time.Now()} // []time.Time | (optional) @@ -32561,10 +34141,10 @@ func main() { facilityNie := []string{"Inner_example"} // []string | (optional) facilityNiew := []string{"Inner_example"} // []string | (optional) facilityNisw := []string{"Inner_example"} // []string | (optional) - group := []int32{int32(123)} // []int32 | Group (slug) (optional) - groupN := []int32{int32(123)} // []int32 | Group (slug) (optional) - groupId := []int32{int32(123)} // []int32 | Group (ID) (optional) - groupIdN := []int32{int32(123)} // []int32 | Group (ID) (optional) + group := []string{"Inner_example"} // []string | (optional) + groupN := []string{"Inner_example"} // []string | (optional) + groupId := []string{"Inner_example"} // []string | (optional) + groupIdN := []string{"Inner_example"} // []string | (optional) id := []int32{int32(123)} // []int32 | (optional) idEmpty := true // bool | (optional) idGt := []int32{int32(123)} // []int32 | (optional) @@ -32609,10 +34189,10 @@ func main() { offset := int32(56) // int32 | The initial index from which to return the results. (optional) ordering := "ordering_example" // string | Which field to use when ordering the results. (optional) q := "q_example" // string | Search (optional) - region := []int32{int32(123)} // []int32 | Region (slug) (optional) - regionN := []int32{int32(123)} // []int32 | Region (slug) (optional) - regionId := []int32{int32(123)} // []int32 | Region (ID) (optional) - regionIdN := []int32{int32(123)} // []int32 | Region (ID) (optional) + region := []string{"Inner_example"} // []string | (optional) + regionN := []string{"Inner_example"} // []string | (optional) + regionId := []string{"Inner_example"} // []string | (optional) + regionIdN := []string{"Inner_example"} // []string | (optional) slug := []string{"Inner_example"} // []string | (optional) slugEmpty := true // bool | (optional) slugIc := []string{"Inner_example"} // []string | (optional) @@ -32625,15 +34205,24 @@ func main() { slugNiew := []string{"Inner_example"} // []string | (optional) slugNisw := []string{"Inner_example"} // []string | (optional) status := []string{"Inner_example"} // []string | (optional) - statusN := []string{"Inner_example"} // []string | (optional) + statusEmpty := true // bool | (optional) + statusIc := []openapiclient.DcimLocationsListStatusIcParameterInner{openapiclient.dcim_locations_list_status__ic_parameter_inner("active")} // []DcimLocationsListStatusIcParameterInner | * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired (optional) + statusIe := []openapiclient.DcimLocationsListStatusIcParameterInner{openapiclient.dcim_locations_list_status__ic_parameter_inner("active")} // []DcimLocationsListStatusIcParameterInner | * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired (optional) + statusIew := []openapiclient.DcimLocationsListStatusIcParameterInner{openapiclient.dcim_locations_list_status__ic_parameter_inner("active")} // []DcimLocationsListStatusIcParameterInner | * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired (optional) + statusIsw := []openapiclient.DcimLocationsListStatusIcParameterInner{openapiclient.dcim_locations_list_status__ic_parameter_inner("active")} // []DcimLocationsListStatusIcParameterInner | * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired (optional) + statusN := []openapiclient.DcimLocationsListStatusIcParameterInner{openapiclient.dcim_locations_list_status__ic_parameter_inner("active")} // []DcimLocationsListStatusIcParameterInner | * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired (optional) + statusNic := []openapiclient.DcimLocationsListStatusIcParameterInner{openapiclient.dcim_locations_list_status__ic_parameter_inner("active")} // []DcimLocationsListStatusIcParameterInner | * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired (optional) + statusNie := []openapiclient.DcimLocationsListStatusIcParameterInner{openapiclient.dcim_locations_list_status__ic_parameter_inner("active")} // []DcimLocationsListStatusIcParameterInner | * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired (optional) + statusNiew := []openapiclient.DcimLocationsListStatusIcParameterInner{openapiclient.dcim_locations_list_status__ic_parameter_inner("active")} // []DcimLocationsListStatusIcParameterInner | * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired (optional) + statusNisw := []openapiclient.DcimLocationsListStatusIcParameterInner{openapiclient.dcim_locations_list_status__ic_parameter_inner("active")} // []DcimLocationsListStatusIcParameterInner | * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired (optional) tag := []string{"Inner_example"} // []string | (optional) tagN := []string{"Inner_example"} // []string | (optional) tenant := []string{"Inner_example"} // []string | Tenant (slug) (optional) tenantN := []string{"Inner_example"} // []string | Tenant (slug) (optional) - tenantGroup := []int32{int32(123)} // []int32 | Tenant Group (slug) (optional) - tenantGroupN := []int32{int32(123)} // []int32 | Tenant Group (slug) (optional) - tenantGroupId := []int32{int32(123)} // []int32 | Tenant Group (ID) (optional) - tenantGroupIdN := []int32{int32(123)} // []int32 | Tenant Group (ID) (optional) + tenantGroup := []string{"Inner_example"} // []string | (optional) + tenantGroupN := []string{"Inner_example"} // []string | (optional) + tenantGroupId := []string{"Inner_example"} // []string | (optional) + tenantGroupIdN := []string{"Inner_example"} // []string | (optional) tenantId := []*int32{int32(123)} // []*int32 | Tenant (ID) (optional) tenantIdN := []*int32{int32(123)} // []*int32 | Tenant (ID) (optional) timeZone := []string{"Inner_example"} // []string | (optional) @@ -32650,7 +34239,7 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.DcimAPI.DcimSitesList(context.Background()).Asn(asn).AsnN(asnN).AsnId(asnId).AsnIdN(asnIdN).Contact(contact).ContactN(contactN).ContactGroup(contactGroup).ContactGroupN(contactGroupN).ContactRole(contactRole).ContactRoleN(contactRoleN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Facility(facility).FacilityEmpty(facilityEmpty).FacilityIc(facilityIc).FacilityIe(facilityIe).FacilityIew(facilityIew).FacilityIsw(facilityIsw).FacilityN(facilityN).FacilityNic(facilityNic).FacilityNie(facilityNie).FacilityNiew(facilityNiew).FacilityNisw(facilityNisw).Group(group).GroupN(groupN).GroupId(groupId).GroupIdN(groupIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Latitude(latitude).LatitudeEmpty(latitudeEmpty).LatitudeGt(latitudeGt).LatitudeGte(latitudeGte).LatitudeLt(latitudeLt).LatitudeLte(latitudeLte).LatitudeN(latitudeN).Limit(limit).Longitude(longitude).LongitudeEmpty(longitudeEmpty).LongitudeGt(longitudeGt).LongitudeGte(longitudeGte).LongitudeLt(longitudeLt).LongitudeLte(longitudeLte).LongitudeN(longitudeN).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Slug(slug).SlugEmpty(slugEmpty).SlugIc(slugIc).SlugIe(slugIe).SlugIew(slugIew).SlugIsw(slugIsw).SlugN(slugN).SlugNic(slugNic).SlugNie(slugNie).SlugNiew(slugNiew).SlugNisw(slugNisw).Status(status).StatusN(statusN).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).TimeZone(timeZone).TimeZoneIc(timeZoneIc).TimeZoneIe(timeZoneIe).TimeZoneIew(timeZoneIew).TimeZoneIsw(timeZoneIsw).TimeZoneN(timeZoneN).TimeZoneNic(timeZoneNic).TimeZoneNie(timeZoneNie).TimeZoneNiew(timeZoneNiew).TimeZoneNisw(timeZoneNisw).UpdatedByRequest(updatedByRequest).Execute() + resp, r, err := apiClient.DcimAPI.DcimSitesList(context.Background()).Asn(asn).AsnN(asnN).AsnId(asnId).AsnIdN(asnIdN).Contact(contact).ContactN(contactN).ContactGroup(contactGroup).ContactGroupN(contactGroupN).ContactRole(contactRole).ContactRoleN(contactRoleN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Facility(facility).FacilityEmpty(facilityEmpty).FacilityIc(facilityIc).FacilityIe(facilityIe).FacilityIew(facilityIew).FacilityIsw(facilityIsw).FacilityN(facilityN).FacilityNic(facilityNic).FacilityNie(facilityNie).FacilityNiew(facilityNiew).FacilityNisw(facilityNisw).Group(group).GroupN(groupN).GroupId(groupId).GroupIdN(groupIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Latitude(latitude).LatitudeEmpty(latitudeEmpty).LatitudeGt(latitudeGt).LatitudeGte(latitudeGte).LatitudeLt(latitudeLt).LatitudeLte(latitudeLte).LatitudeN(latitudeN).Limit(limit).Longitude(longitude).LongitudeEmpty(longitudeEmpty).LongitudeGt(longitudeGt).LongitudeGte(longitudeGte).LongitudeLt(longitudeLt).LongitudeLte(longitudeLte).LongitudeN(longitudeN).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Slug(slug).SlugEmpty(slugEmpty).SlugIc(slugIc).SlugIe(slugIe).SlugIew(slugIew).SlugIsw(slugIsw).SlugN(slugN).SlugNic(slugNic).SlugNie(slugNie).SlugNiew(slugNiew).SlugNisw(slugNisw).Status(status).StatusEmpty(statusEmpty).StatusIc(statusIc).StatusIe(statusIe).StatusIew(statusIew).StatusIsw(statusIsw).StatusN(statusN).StatusNic(statusNic).StatusNie(statusNie).StatusNiew(statusNiew).StatusNisw(statusNisw).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).TimeZone(timeZone).TimeZoneIc(timeZoneIc).TimeZoneIe(timeZoneIe).TimeZoneIew(timeZoneIew).TimeZoneIsw(timeZoneIsw).TimeZoneN(timeZoneN).TimeZoneNic(timeZoneNic).TimeZoneNie(timeZoneNie).TimeZoneNiew(timeZoneNiew).TimeZoneNisw(timeZoneNisw).UpdatedByRequest(updatedByRequest).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimSitesList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -32677,8 +34266,8 @@ Name | Type | Description | Notes **asnIdN** | **[]int32** | AS (ID) | **contact** | **[]int32** | Contact | **contactN** | **[]int32** | Contact | - **contactGroup** | **[]int32** | Contact group | - **contactGroupN** | **[]int32** | Contact group | + **contactGroup** | **[]string** | | + **contactGroupN** | **[]string** | | **contactRole** | **[]int32** | Contact Role | **contactRoleN** | **[]int32** | Contact Role | **created** | [**[]time.Time**](time.Time.md) | | @@ -32711,10 +34300,10 @@ Name | Type | Description | Notes **facilityNie** | **[]string** | | **facilityNiew** | **[]string** | | **facilityNisw** | **[]string** | | - **group** | **[]int32** | Group (slug) | - **groupN** | **[]int32** | Group (slug) | - **groupId** | **[]int32** | Group (ID) | - **groupIdN** | **[]int32** | Group (ID) | + **group** | **[]string** | | + **groupN** | **[]string** | | + **groupId** | **[]string** | | + **groupIdN** | **[]string** | | **id** | **[]int32** | | **idEmpty** | **bool** | | **idGt** | **[]int32** | | @@ -32759,10 +34348,10 @@ Name | Type | Description | Notes **offset** | **int32** | The initial index from which to return the results. | **ordering** | **string** | Which field to use when ordering the results. | **q** | **string** | Search | - **region** | **[]int32** | Region (slug) | - **regionN** | **[]int32** | Region (slug) | - **regionId** | **[]int32** | Region (ID) | - **regionIdN** | **[]int32** | Region (ID) | + **region** | **[]string** | | + **regionN** | **[]string** | | + **regionId** | **[]string** | | + **regionIdN** | **[]string** | | **slug** | **[]string** | | **slugEmpty** | **bool** | | **slugIc** | **[]string** | | @@ -32775,15 +34364,24 @@ Name | Type | Description | Notes **slugNiew** | **[]string** | | **slugNisw** | **[]string** | | **status** | **[]string** | | - **statusN** | **[]string** | | + **statusEmpty** | **bool** | | + **statusIc** | [**[]DcimLocationsListStatusIcParameterInner**](DcimLocationsListStatusIcParameterInner.md) | * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired | + **statusIe** | [**[]DcimLocationsListStatusIcParameterInner**](DcimLocationsListStatusIcParameterInner.md) | * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired | + **statusIew** | [**[]DcimLocationsListStatusIcParameterInner**](DcimLocationsListStatusIcParameterInner.md) | * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired | + **statusIsw** | [**[]DcimLocationsListStatusIcParameterInner**](DcimLocationsListStatusIcParameterInner.md) | * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired | + **statusN** | [**[]DcimLocationsListStatusIcParameterInner**](DcimLocationsListStatusIcParameterInner.md) | * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired | + **statusNic** | [**[]DcimLocationsListStatusIcParameterInner**](DcimLocationsListStatusIcParameterInner.md) | * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired | + **statusNie** | [**[]DcimLocationsListStatusIcParameterInner**](DcimLocationsListStatusIcParameterInner.md) | * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired | + **statusNiew** | [**[]DcimLocationsListStatusIcParameterInner**](DcimLocationsListStatusIcParameterInner.md) | * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired | + **statusNisw** | [**[]DcimLocationsListStatusIcParameterInner**](DcimLocationsListStatusIcParameterInner.md) | * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired | **tag** | **[]string** | | **tagN** | **[]string** | | **tenant** | **[]string** | Tenant (slug) | **tenantN** | **[]string** | Tenant (slug) | - **tenantGroup** | **[]int32** | Tenant Group (slug) | - **tenantGroupN** | **[]int32** | Tenant Group (slug) | - **tenantGroupId** | **[]int32** | Tenant Group (ID) | - **tenantGroupIdN** | **[]int32** | Tenant Group (ID) | + **tenantGroup** | **[]string** | | + **tenantGroupN** | **[]string** | | + **tenantGroupId** | **[]string** | | + **tenantGroupIdN** | **[]string** | | **tenantId** | **[]int32** | Tenant (ID) | **tenantIdN** | **[]int32** | Tenant (ID) | **timeZone** | **[]string** | | @@ -33453,16 +35051,16 @@ func main() { offset := int32(56) // int32 | The initial index from which to return the results. (optional) ordering := "ordering_example" // string | Which field to use when ordering the results. (optional) q := "q_example" // string | Search (optional) - region := []int32{int32(123)} // []int32 | Region (slug) (optional) - regionN := []int32{int32(123)} // []int32 | Region (slug) (optional) - regionId := []int32{int32(123)} // []int32 | Region (ID) (optional) - regionIdN := []int32{int32(123)} // []int32 | Region (ID) (optional) + region := []string{"Inner_example"} // []string | (optional) + regionN := []string{"Inner_example"} // []string | (optional) + regionId := []string{"Inner_example"} // []string | (optional) + regionIdN := []string{"Inner_example"} // []string | (optional) site := []string{"Inner_example"} // []string | Site name (slug) (optional) siteN := []string{"Inner_example"} // []string | Site name (slug) (optional) - siteGroup := []int32{int32(123)} // []int32 | Site group (slug) (optional) - siteGroupN := []int32{int32(123)} // []int32 | Site group (slug) (optional) - siteGroupId := []int32{int32(123)} // []int32 | Site group (ID) (optional) - siteGroupIdN := []int32{int32(123)} // []int32 | Site group (ID) (optional) + siteGroup := []string{"Inner_example"} // []string | (optional) + siteGroupN := []string{"Inner_example"} // []string | (optional) + siteGroupId := []string{"Inner_example"} // []string | (optional) + siteGroupIdN := []string{"Inner_example"} // []string | (optional) siteId := []int32{int32(123)} // []int32 | Site (ID) (optional) siteIdN := []int32{int32(123)} // []int32 | Site (ID) (optional) tag := []string{"Inner_example"} // []string | (optional) @@ -33567,16 +35165,16 @@ Name | Type | Description | Notes **offset** | **int32** | The initial index from which to return the results. | **ordering** | **string** | Which field to use when ordering the results. | **q** | **string** | Search | - **region** | **[]int32** | Region (slug) | - **regionN** | **[]int32** | Region (slug) | - **regionId** | **[]int32** | Region (ID) | - **regionIdN** | **[]int32** | Region (ID) | + **region** | **[]string** | | + **regionN** | **[]string** | | + **regionId** | **[]string** | | + **regionIdN** | **[]string** | | **site** | **[]string** | Site name (slug) | **siteN** | **[]string** | Site name (slug) | - **siteGroup** | **[]int32** | Site group (slug) | - **siteGroupN** | **[]int32** | Site group (slug) | - **siteGroupId** | **[]int32** | Site group (ID) | - **siteGroupIdN** | **[]int32** | Site group (ID) | + **siteGroup** | **[]string** | | + **siteGroupN** | **[]string** | | + **siteGroupId** | **[]string** | | + **siteGroupIdN** | **[]string** | | **siteId** | **[]int32** | Site (ID) | **siteIdN** | **[]int32** | Site (ID) | **tag** | **[]string** | | @@ -33840,7 +35438,7 @@ import ( ) func main() { - virtualDeviceContextRequest := []openapiclient.VirtualDeviceContextRequest{*openapiclient.NewVirtualDeviceContextRequest("Name_example", *openapiclient.NewDeviceRequest(), openapiclient.PatchedWritableVirtualDeviceContextRequest_status("active"))} // []VirtualDeviceContextRequest | + virtualDeviceContextRequest := []openapiclient.VirtualDeviceContextRequest{*openapiclient.NewVirtualDeviceContextRequest("Name_example", *openapiclient.NewBriefDeviceRequest(), openapiclient.PatchedWritableVirtualDeviceContextRequest_status("active"))} // []VirtualDeviceContextRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -33904,7 +35502,7 @@ import ( ) func main() { - virtualDeviceContextRequest := []openapiclient.VirtualDeviceContextRequest{*openapiclient.NewVirtualDeviceContextRequest("Name_example", *openapiclient.NewDeviceRequest(), openapiclient.PatchedWritableVirtualDeviceContextRequest_status("active"))} // []VirtualDeviceContextRequest | + virtualDeviceContextRequest := []openapiclient.VirtualDeviceContextRequest{*openapiclient.NewVirtualDeviceContextRequest("Name_example", *openapiclient.NewBriefDeviceRequest(), openapiclient.PatchedWritableVirtualDeviceContextRequest_status("active"))} // []VirtualDeviceContextRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -33970,7 +35568,7 @@ import ( ) func main() { - virtualDeviceContextRequest := []openapiclient.VirtualDeviceContextRequest{*openapiclient.NewVirtualDeviceContextRequest("Name_example", *openapiclient.NewDeviceRequest(), openapiclient.PatchedWritableVirtualDeviceContextRequest_status("active"))} // []VirtualDeviceContextRequest | + virtualDeviceContextRequest := []openapiclient.VirtualDeviceContextRequest{*openapiclient.NewVirtualDeviceContextRequest("Name_example", *openapiclient.NewBriefDeviceRequest(), openapiclient.PatchedWritableVirtualDeviceContextRequest_status("active"))} // []VirtualDeviceContextRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -34036,7 +35634,7 @@ import ( ) func main() { - writableVirtualDeviceContextRequest := *openapiclient.NewWritableVirtualDeviceContextRequest("Name_example", *openapiclient.NewDeviceRequest(), openapiclient.PatchedWritableVirtualDeviceContextRequest_status("active")) // WritableVirtualDeviceContextRequest | + writableVirtualDeviceContextRequest := *openapiclient.NewWritableVirtualDeviceContextRequest("Name_example", *openapiclient.NewBriefDeviceRequest(), openapiclient.PatchedWritableVirtualDeviceContextRequest_status("active")) // WritableVirtualDeviceContextRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -34151,7 +35749,7 @@ Name | Type | Description | Notes ## DcimVirtualDeviceContextsList -> PaginatedVirtualDeviceContextList DcimVirtualDeviceContextsList(ctx).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceN(deviceN).DeviceId(deviceId).DeviceIdN(deviceIdN).HasPrimaryIp(hasPrimaryIp).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Identifier(identifier).IdentifierEmpty(identifierEmpty).IdentifierGt(identifierGt).IdentifierGte(identifierGte).IdentifierLt(identifierLt).IdentifierLte(identifierLte).IdentifierN(identifierN).InterfaceId(interfaceId).InterfaceIdN(interfaceIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).PrimaryIp4Id(primaryIp4Id).PrimaryIp4IdN(primaryIp4IdN).PrimaryIp6Id(primaryIp6Id).PrimaryIp6IdN(primaryIp6IdN).Q(q).Status(status).StatusN(statusN).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).UpdatedByRequest(updatedByRequest).Execute() +> PaginatedVirtualDeviceContextList DcimVirtualDeviceContextsList(ctx).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceN(deviceN).DeviceId(deviceId).DeviceIdN(deviceIdN).HasPrimaryIp(hasPrimaryIp).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Identifier(identifier).IdentifierEmpty(identifierEmpty).IdentifierGt(identifierGt).IdentifierGte(identifierGte).IdentifierLt(identifierLt).IdentifierLte(identifierLte).IdentifierN(identifierN).InterfaceId(interfaceId).InterfaceIdN(interfaceIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).PrimaryIp4Id(primaryIp4Id).PrimaryIp4IdN(primaryIp4IdN).PrimaryIp6Id(primaryIp6Id).PrimaryIp6IdN(primaryIp6IdN).Q(q).Status(status).StatusEmpty(statusEmpty).StatusIc(statusIc).StatusIe(statusIe).StatusIew(statusIew).StatusIsw(statusIsw).StatusN(statusN).StatusNic(statusNic).StatusNie(statusNie).StatusNiew(statusNiew).StatusNisw(statusNisw).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).UpdatedByRequest(updatedByRequest).Execute() @@ -34239,22 +35837,31 @@ func main() { primaryIp6IdN := []int32{int32(123)} // []int32 | Primary IPv6 (ID) (optional) q := "q_example" // string | Search (optional) status := []string{"Inner_example"} // []string | (optional) - statusN := []string{"Inner_example"} // []string | (optional) + statusEmpty := true // bool | (optional) + statusIc := []openapiclient.DcimVirtualDeviceContextsListStatusIcParameterInner{openapiclient.dcim_virtual_device_contexts_list_status__ic_parameter_inner("active")} // []DcimVirtualDeviceContextsListStatusIcParameterInner | * `active` - Active * `planned` - Planned * `offline` - Offline (optional) + statusIe := []openapiclient.DcimVirtualDeviceContextsListStatusIcParameterInner{openapiclient.dcim_virtual_device_contexts_list_status__ic_parameter_inner("active")} // []DcimVirtualDeviceContextsListStatusIcParameterInner | * `active` - Active * `planned` - Planned * `offline` - Offline (optional) + statusIew := []openapiclient.DcimVirtualDeviceContextsListStatusIcParameterInner{openapiclient.dcim_virtual_device_contexts_list_status__ic_parameter_inner("active")} // []DcimVirtualDeviceContextsListStatusIcParameterInner | * `active` - Active * `planned` - Planned * `offline` - Offline (optional) + statusIsw := []openapiclient.DcimVirtualDeviceContextsListStatusIcParameterInner{openapiclient.dcim_virtual_device_contexts_list_status__ic_parameter_inner("active")} // []DcimVirtualDeviceContextsListStatusIcParameterInner | * `active` - Active * `planned` - Planned * `offline` - Offline (optional) + statusN := []openapiclient.DcimVirtualDeviceContextsListStatusIcParameterInner{openapiclient.dcim_virtual_device_contexts_list_status__ic_parameter_inner("active")} // []DcimVirtualDeviceContextsListStatusIcParameterInner | * `active` - Active * `planned` - Planned * `offline` - Offline (optional) + statusNic := []openapiclient.DcimVirtualDeviceContextsListStatusIcParameterInner{openapiclient.dcim_virtual_device_contexts_list_status__ic_parameter_inner("active")} // []DcimVirtualDeviceContextsListStatusIcParameterInner | * `active` - Active * `planned` - Planned * `offline` - Offline (optional) + statusNie := []openapiclient.DcimVirtualDeviceContextsListStatusIcParameterInner{openapiclient.dcim_virtual_device_contexts_list_status__ic_parameter_inner("active")} // []DcimVirtualDeviceContextsListStatusIcParameterInner | * `active` - Active * `planned` - Planned * `offline` - Offline (optional) + statusNiew := []openapiclient.DcimVirtualDeviceContextsListStatusIcParameterInner{openapiclient.dcim_virtual_device_contexts_list_status__ic_parameter_inner("active")} // []DcimVirtualDeviceContextsListStatusIcParameterInner | * `active` - Active * `planned` - Planned * `offline` - Offline (optional) + statusNisw := []openapiclient.DcimVirtualDeviceContextsListStatusIcParameterInner{openapiclient.dcim_virtual_device_contexts_list_status__ic_parameter_inner("active")} // []DcimVirtualDeviceContextsListStatusIcParameterInner | * `active` - Active * `planned` - Planned * `offline` - Offline (optional) tag := []string{"Inner_example"} // []string | (optional) tagN := []string{"Inner_example"} // []string | (optional) tenant := []string{"Inner_example"} // []string | Tenant (slug) (optional) tenantN := []string{"Inner_example"} // []string | Tenant (slug) (optional) - tenantGroup := []int32{int32(123)} // []int32 | Tenant Group (slug) (optional) - tenantGroupN := []int32{int32(123)} // []int32 | Tenant Group (slug) (optional) - tenantGroupId := []int32{int32(123)} // []int32 | Tenant Group (ID) (optional) - tenantGroupIdN := []int32{int32(123)} // []int32 | Tenant Group (ID) (optional) + tenantGroup := []string{"Inner_example"} // []string | (optional) + tenantGroupN := []string{"Inner_example"} // []string | (optional) + tenantGroupId := []string{"Inner_example"} // []string | (optional) + tenantGroupIdN := []string{"Inner_example"} // []string | (optional) tenantId := []*int32{int32(123)} // []*int32 | Tenant (ID) (optional) tenantIdN := []*int32{int32(123)} // []*int32 | Tenant (ID) (optional) updatedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.DcimAPI.DcimVirtualDeviceContextsList(context.Background()).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceN(deviceN).DeviceId(deviceId).DeviceIdN(deviceIdN).HasPrimaryIp(hasPrimaryIp).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Identifier(identifier).IdentifierEmpty(identifierEmpty).IdentifierGt(identifierGt).IdentifierGte(identifierGte).IdentifierLt(identifierLt).IdentifierLte(identifierLte).IdentifierN(identifierN).InterfaceId(interfaceId).InterfaceIdN(interfaceIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).PrimaryIp4Id(primaryIp4Id).PrimaryIp4IdN(primaryIp4IdN).PrimaryIp6Id(primaryIp6Id).PrimaryIp6IdN(primaryIp6IdN).Q(q).Status(status).StatusN(statusN).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).UpdatedByRequest(updatedByRequest).Execute() + resp, r, err := apiClient.DcimAPI.DcimVirtualDeviceContextsList(context.Background()).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceN(deviceN).DeviceId(deviceId).DeviceIdN(deviceIdN).HasPrimaryIp(hasPrimaryIp).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Identifier(identifier).IdentifierEmpty(identifierEmpty).IdentifierGt(identifierGt).IdentifierGte(identifierGte).IdentifierLt(identifierLt).IdentifierLte(identifierLte).IdentifierN(identifierN).InterfaceId(interfaceId).InterfaceIdN(interfaceIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).PrimaryIp4Id(primaryIp4Id).PrimaryIp4IdN(primaryIp4IdN).PrimaryIp6Id(primaryIp6Id).PrimaryIp6IdN(primaryIp6IdN).Q(q).Status(status).StatusEmpty(statusEmpty).StatusIc(statusIc).StatusIe(statusIe).StatusIew(statusIew).StatusIsw(statusIsw).StatusN(statusN).StatusNic(statusNic).StatusNie(statusNie).StatusNiew(statusNiew).StatusNisw(statusNisw).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).UpdatedByRequest(updatedByRequest).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimVirtualDeviceContextsList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -34343,15 +35950,24 @@ Name | Type | Description | Notes **primaryIp6IdN** | **[]int32** | Primary IPv6 (ID) | **q** | **string** | Search | **status** | **[]string** | | - **statusN** | **[]string** | | + **statusEmpty** | **bool** | | + **statusIc** | [**[]DcimVirtualDeviceContextsListStatusIcParameterInner**](DcimVirtualDeviceContextsListStatusIcParameterInner.md) | * `active` - Active * `planned` - Planned * `offline` - Offline | + **statusIe** | [**[]DcimVirtualDeviceContextsListStatusIcParameterInner**](DcimVirtualDeviceContextsListStatusIcParameterInner.md) | * `active` - Active * `planned` - Planned * `offline` - Offline | + **statusIew** | [**[]DcimVirtualDeviceContextsListStatusIcParameterInner**](DcimVirtualDeviceContextsListStatusIcParameterInner.md) | * `active` - Active * `planned` - Planned * `offline` - Offline | + **statusIsw** | [**[]DcimVirtualDeviceContextsListStatusIcParameterInner**](DcimVirtualDeviceContextsListStatusIcParameterInner.md) | * `active` - Active * `planned` - Planned * `offline` - Offline | + **statusN** | [**[]DcimVirtualDeviceContextsListStatusIcParameterInner**](DcimVirtualDeviceContextsListStatusIcParameterInner.md) | * `active` - Active * `planned` - Planned * `offline` - Offline | + **statusNic** | [**[]DcimVirtualDeviceContextsListStatusIcParameterInner**](DcimVirtualDeviceContextsListStatusIcParameterInner.md) | * `active` - Active * `planned` - Planned * `offline` - Offline | + **statusNie** | [**[]DcimVirtualDeviceContextsListStatusIcParameterInner**](DcimVirtualDeviceContextsListStatusIcParameterInner.md) | * `active` - Active * `planned` - Planned * `offline` - Offline | + **statusNiew** | [**[]DcimVirtualDeviceContextsListStatusIcParameterInner**](DcimVirtualDeviceContextsListStatusIcParameterInner.md) | * `active` - Active * `planned` - Planned * `offline` - Offline | + **statusNisw** | [**[]DcimVirtualDeviceContextsListStatusIcParameterInner**](DcimVirtualDeviceContextsListStatusIcParameterInner.md) | * `active` - Active * `planned` - Planned * `offline` - Offline | **tag** | **[]string** | | **tagN** | **[]string** | | **tenant** | **[]string** | Tenant (slug) | **tenantN** | **[]string** | Tenant (slug) | - **tenantGroup** | **[]int32** | Tenant Group (slug) | - **tenantGroupN** | **[]int32** | Tenant Group (slug) | - **tenantGroupId** | **[]int32** | Tenant Group (ID) | - **tenantGroupIdN** | **[]int32** | Tenant Group (ID) | + **tenantGroup** | **[]string** | | + **tenantGroupN** | **[]string** | | + **tenantGroupId** | **[]string** | | + **tenantGroupIdN** | **[]string** | | **tenantId** | **[]int32** | Tenant (ID) | **tenantIdN** | **[]int32** | Tenant (ID) | **updatedByRequest** | **string** | | @@ -34538,7 +36154,7 @@ import ( func main() { id := int32(56) // int32 | A unique integer value identifying this virtual device context. - writableVirtualDeviceContextRequest := *openapiclient.NewWritableVirtualDeviceContextRequest("Name_example", *openapiclient.NewDeviceRequest(), openapiclient.PatchedWritableVirtualDeviceContextRequest_status("active")) // WritableVirtualDeviceContextRequest | + writableVirtualDeviceContextRequest := *openapiclient.NewWritableVirtualDeviceContextRequest("Name_example", *openapiclient.NewBriefDeviceRequest(), openapiclient.PatchedWritableVirtualDeviceContextRequest_status("active")) // WritableVirtualDeviceContextRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) diff --git a/docs/DcimCablesListStatusIcParameterInner.md b/docs/DcimCablesListStatusIcParameterInner.md new file mode 100644 index 000000000..28db4b56d --- /dev/null +++ b/docs/DcimCablesListStatusIcParameterInner.md @@ -0,0 +1,15 @@ +# DcimCablesListStatusIcParameterInner + +## Enum + + +* `CONNECTED` (value: `"connected"`) + +* `DECOMMISSIONING` (value: `"decommissioning"`) + +* `PLANNED` (value: `"planned"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DcimCablesListTypeIcParameterInner.md b/docs/DcimCablesListTypeIcParameterInner.md new file mode 100644 index 000000000..736d5a09f --- /dev/null +++ b/docs/DcimCablesListTypeIcParameterInner.md @@ -0,0 +1,59 @@ +# DcimCablesListTypeIcParameterInner + +## Enum + + +* `EMPTY` (value: `""`) + +* `AOC` (value: `"aoc"`) + +* `CAT3` (value: `"cat3"`) + +* `CAT5` (value: `"cat5"`) + +* `CAT5E` (value: `"cat5e"`) + +* `CAT6` (value: `"cat6"`) + +* `CAT6A` (value: `"cat6a"`) + +* `CAT7` (value: `"cat7"`) + +* `CAT7A` (value: `"cat7a"`) + +* `CAT8` (value: `"cat8"`) + +* `COAXIAL` (value: `"coaxial"`) + +* `DAC_ACTIVE` (value: `"dac-active"`) + +* `DAC_PASSIVE` (value: `"dac-passive"`) + +* `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"`) + +* `MRJ21_TRUNK` (value: `"mrj21-trunk"`) + +* `POWER` (value: `"power"`) + +* `SMF` (value: `"smf"`) + +* `SMF_OS1` (value: `"smf-os1"`) + +* `SMF_OS2` (value: `"smf-os2"`) + +* `USB` (value: `"usb"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DcimConsolePortsListDeviceStatusIcParameterInner.md b/docs/DcimConsolePortsListDeviceStatusIcParameterInner.md new file mode 100644 index 000000000..e56c4c0da --- /dev/null +++ b/docs/DcimConsolePortsListDeviceStatusIcParameterInner.md @@ -0,0 +1,23 @@ +# DcimConsolePortsListDeviceStatusIcParameterInner + +## Enum + + +* `ACTIVE` (value: `"active"`) + +* `DECOMMISSIONING` (value: `"decommissioning"`) + +* `FAILED` (value: `"failed"`) + +* `INVENTORY` (value: `"inventory"`) + +* `OFFLINE` (value: `"offline"`) + +* `PLANNED` (value: `"planned"`) + +* `STAGED` (value: `"staged"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DcimConsolePortsListTypeIcParameterInner.md b/docs/DcimConsolePortsListTypeIcParameterInner.md new file mode 100644 index 000000000..adeac450c --- /dev/null +++ b/docs/DcimConsolePortsListTypeIcParameterInner.md @@ -0,0 +1,41 @@ +# DcimConsolePortsListTypeIcParameterInner + +## Enum + + +* `EMPTY` (value: `""`) + +* `DB_25` (value: `"db-25"`) + +* `DE_9` (value: `"de-9"`) + +* `MINI_DIN_8` (value: `"mini-din-8"`) + +* `OTHER` (value: `"other"`) + +* `RJ_11` (value: `"rj-11"`) + +* `RJ_12` (value: `"rj-12"`) + +* `RJ_45` (value: `"rj-45"`) + +* `USB_A` (value: `"usb-a"`) + +* `USB_B` (value: `"usb-b"`) + +* `USB_C` (value: `"usb-c"`) + +* `USB_MICRO_A` (value: `"usb-micro-a"`) + +* `USB_MICRO_AB` (value: `"usb-micro-ab"`) + +* `USB_MICRO_B` (value: `"usb-micro-b"`) + +* `USB_MINI_A` (value: `"usb-mini-a"`) + +* `USB_MINI_B` (value: `"usb-mini-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/DcimFrontPortTemplatesListTypeIcParameterInner.md b/docs/DcimFrontPortTemplatesListTypeIcParameterInner.md new file mode 100644 index 000000000..dabb1ea37 --- /dev/null +++ b/docs/DcimFrontPortTemplatesListTypeIcParameterInner.md @@ -0,0 +1,119 @@ +# DcimFrontPortTemplatesListTypeIcParameterInner + +## Enum + + +* `_110_PUNCH` (value: `"110-punch"`) + +* `_4P2C` (value: `"4p2c"`) + +* `_4P4C` (value: `"4p4c"`) + +* `_6P2C` (value: `"6p2c"`) + +* `_6P4C` (value: `"6p4c"`) + +* `_6P6C` (value: `"6p6c"`) + +* `_8P2C` (value: `"8p2c"`) + +* `_8P4C` (value: `"8p4c"`) + +* `_8P6C` (value: `"8p6c"`) + +* `_8P8C` (value: `"8p8c"`) + +* `BNC` (value: `"bnc"`) + +* `CS` (value: `"cs"`) + +* `F` (value: `"f"`) + +* `FC` (value: `"fc"`) + +* `GG45` (value: `"gg45"`) + +* `LC` (value: `"lc"`) + +* `LC_APC` (value: `"lc-apc"`) + +* `LC_PC` (value: `"lc-pc"`) + +* `LC_UPC` (value: `"lc-upc"`) + +* `LSH` (value: `"lsh"`) + +* `LSH_APC` (value: `"lsh-apc"`) + +* `LSH_PC` (value: `"lsh-pc"`) + +* `LSH_UPC` (value: `"lsh-upc"`) + +* `LX5` (value: `"lx5"`) + +* `LX5_APC` (value: `"lx5-apc"`) + +* `LX5_PC` (value: `"lx5-pc"`) + +* `LX5_UPC` (value: `"lx5-upc"`) + +* `MPO` (value: `"mpo"`) + +* `MRJ21` (value: `"mrj21"`) + +* `MTRJ` (value: `"mtrj"`) + +* `N` (value: `"n"`) + +* `OTHER` (value: `"other"`) + +* `SC` (value: `"sc"`) + +* `SC_APC` (value: `"sc-apc"`) + +* `SC_PC` (value: `"sc-pc"`) + +* `SC_UPC` (value: `"sc-upc"`) + +* `SMA_905` (value: `"sma-905"`) + +* `SMA_906` (value: `"sma-906"`) + +* `SN` (value: `"sn"`) + +* `SPLICE` (value: `"splice"`) + +* `ST` (value: `"st"`) + +* `TERA_1P` (value: `"tera-1p"`) + +* `TERA_2P` (value: `"tera-2p"`) + +* `TERA_4P` (value: `"tera-4p"`) + +* `URM_P2` (value: `"urm-p2"`) + +* `URM_P4` (value: `"urm-p4"`) + +* `URM_P8` (value: `"urm-p8"`) + +* `USB_A` (value: `"usb-a"`) + +* `USB_B` (value: `"usb-b"`) + +* `USB_C` (value: `"usb-c"`) + +* `USB_MICRO_A` (value: `"usb-micro-a"`) + +* `USB_MICRO_AB` (value: `"usb-micro-ab"`) + +* `USB_MICRO_B` (value: `"usb-micro-b"`) + +* `USB_MINI_A` (value: `"usb-mini-a"`) + +* `USB_MINI_B` (value: `"usb-mini-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/DcimInterfaceTemplatesListPoeModeIcParameterInner.md b/docs/DcimInterfaceTemplatesListPoeModeIcParameterInner.md new file mode 100644 index 000000000..a206ccd08 --- /dev/null +++ b/docs/DcimInterfaceTemplatesListPoeModeIcParameterInner.md @@ -0,0 +1,15 @@ +# DcimInterfaceTemplatesListPoeModeIcParameterInner + +## Enum + + +* `EMPTY` (value: `""`) + +* `PD` (value: `"pd"`) + +* `PSE` (value: `"pse"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DcimInterfaceTemplatesListPoeTypeIcParameterInner.md b/docs/DcimInterfaceTemplatesListPoeTypeIcParameterInner.md new file mode 100644 index 000000000..ffeda0c3c --- /dev/null +++ b/docs/DcimInterfaceTemplatesListPoeTypeIcParameterInner.md @@ -0,0 +1,27 @@ +# DcimInterfaceTemplatesListPoeTypeIcParameterInner + +## Enum + + +* `EMPTY` (value: `""`) + +* `PASSIVE_24V_2PAIR` (value: `"passive-24v-2pair"`) + +* `PASSIVE_24V_4PAIR` (value: `"passive-24v-4pair"`) + +* `PASSIVE_48V_2PAIR` (value: `"passive-48v-2pair"`) + +* `PASSIVE_48V_4PAIR` (value: `"passive-48v-4pair"`) + +* `TYPE1_IEEE802_3AF` (value: `"type1-ieee802.3af"`) + +* `TYPE2_IEEE802_3AT` (value: `"type2-ieee802.3at"`) + +* `TYPE3_IEEE802_3BT` (value: `"type3-ieee802.3bt"`) + +* `TYPE4_IEEE802_3BT` (value: `"type4-ieee802.3bt"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DcimInterfaceTemplatesListTypeIcParameterInner.md b/docs/DcimInterfaceTemplatesListTypeIcParameterInner.md new file mode 100644 index 000000000..74fda4dee --- /dev/null +++ b/docs/DcimInterfaceTemplatesListTypeIcParameterInner.md @@ -0,0 +1,267 @@ +# DcimInterfaceTemplatesListTypeIcParameterInner + +## Enum + + +* `_1000BASE_KX` (value: `"1000base-kx"`) + +* `_1000BASE_T` (value: `"1000base-t"`) + +* `_1000BASE_TX` (value: `"1000base-tx"`) + +* `_1000BASE_X_GBIC` (value: `"1000base-x-gbic"`) + +* `_1000BASE_X_SFP` (value: `"1000base-x-sfp"`) + +* `_100BASE_FX` (value: `"100base-fx"`) + +* `_100BASE_LFX` (value: `"100base-lfx"`) + +* `_100BASE_T1` (value: `"100base-t1"`) + +* `_100BASE_TX` (value: `"100base-tx"`) + +* `_100BASE_X_SFP` (value: `"100base-x-sfp"`) + +* `_100GBASE_KP4` (value: `"100gbase-kp4"`) + +* `_100GBASE_KR2` (value: `"100gbase-kr2"`) + +* `_100GBASE_KR4` (value: `"100gbase-kr4"`) + +* `_100GBASE_X_CFP` (value: `"100gbase-x-cfp"`) + +* `_100GBASE_X_CFP2` (value: `"100gbase-x-cfp2"`) + +* `_100GBASE_X_CFP4` (value: `"100gbase-x-cfp4"`) + +* `_100GBASE_X_CPAK` (value: `"100gbase-x-cpak"`) + +* `_100GBASE_X_CXP` (value: `"100gbase-x-cxp"`) + +* `_100GBASE_X_DSFP` (value: `"100gbase-x-dsfp"`) + +* `_100GBASE_X_QSFP28` (value: `"100gbase-x-qsfp28"`) + +* `_100GBASE_X_QSFPDD` (value: `"100gbase-x-qsfpdd"`) + +* `_100GBASE_X_SFPDD` (value: `"100gbase-x-sfpdd"`) + +* `_10G_EPON` (value: `"10g-epon"`) + +* `_10GBASE_CX4` (value: `"10gbase-cx4"`) + +* `_10GBASE_KR` (value: `"10gbase-kr"`) + +* `_10GBASE_KX4` (value: `"10gbase-kx4"`) + +* `_10GBASE_T` (value: `"10gbase-t"`) + +* `_10GBASE_X_SFPP` (value: `"10gbase-x-sfpp"`) + +* `_10GBASE_X_X2` (value: `"10gbase-x-x2"`) + +* `_10GBASE_X_XENPAK` (value: `"10gbase-x-xenpak"`) + +* `_10GBASE_X_XFP` (value: `"10gbase-x-xfp"`) + +* `_128GFC_QSFP28` (value: `"128gfc-qsfp28"`) + +* `_16GFC_SFPP` (value: `"16gfc-sfpp"`) + +* `_1GFC_SFP` (value: `"1gfc-sfp"`) + +* `_2_5GBASE_KX` (value: `"2.5gbase-kx"`) + +* `_2_5GBASE_T` (value: `"2.5gbase-t"`) + +* `_200GBASE_X_CFP2` (value: `"200gbase-x-cfp2"`) + +* `_200GBASE_X_QSFP56` (value: `"200gbase-x-qsfp56"`) + +* `_200GBASE_X_QSFPDD` (value: `"200gbase-x-qsfpdd"`) + +* `_25G_PON` (value: `"25g-pon"`) + +* `_25GBASE_KR` (value: `"25gbase-kr"`) + +* `_25GBASE_X_SFP28` (value: `"25gbase-x-sfp28"`) + +* `_2GFC_SFP` (value: `"2gfc-sfp"`) + +* `_32GFC_SFP28` (value: `"32gfc-sfp28"`) + +* `_32GFC_SFPP` (value: `"32gfc-sfpp"`) + +* `_400GBASE_X_CDFP` (value: `"400gbase-x-cdfp"`) + +* `_400GBASE_X_CFP2` (value: `"400gbase-x-cfp2"`) + +* `_400GBASE_X_CFP8` (value: `"400gbase-x-cfp8"`) + +* `_400GBASE_X_OSFP` (value: `"400gbase-x-osfp"`) + +* `_400GBASE_X_OSFP_RHS` (value: `"400gbase-x-osfp-rhs"`) + +* `_400GBASE_X_QSFP112` (value: `"400gbase-x-qsfp112"`) + +* `_400GBASE_X_QSFPDD` (value: `"400gbase-x-qsfpdd"`) + +* `_40GBASE_KR4` (value: `"40gbase-kr4"`) + +* `_40GBASE_X_QSFPP` (value: `"40gbase-x-qsfpp"`) + +* `_4G` (value: `"4g"`) + +* `_4GFC_SFP` (value: `"4gfc-sfp"`) + +* `_50G_PON` (value: `"50g-pon"`) + +* `_50GBASE_KR` (value: `"50gbase-kr"`) + +* `_50GBASE_X_SFP28` (value: `"50gbase-x-sfp28"`) + +* `_50GBASE_X_SFP56` (value: `"50gbase-x-sfp56"`) + +* `_5G` (value: `"5g"`) + +* `_5GBASE_KR` (value: `"5gbase-kr"`) + +* `_5GBASE_T` (value: `"5gbase-t"`) + +* `_64GFC_QSFPP` (value: `"64gfc-qsfpp"`) + +* `_64GFC_SFPDD` (value: `"64gfc-sfpdd"`) + +* `_64GFC_SFPP` (value: `"64gfc-sfpp"`) + +* `_800GBASE_X_OSFP` (value: `"800gbase-x-osfp"`) + +* `_800GBASE_X_QSFPDD` (value: `"800gbase-x-qsfpdd"`) + +* `_8GFC_SFPP` (value: `"8gfc-sfpp"`) + +* `BPON` (value: `"bpon"`) + +* `BRIDGE` (value: `"bridge"`) + +* `CDMA` (value: `"cdma"`) + +* `CISCO_FLEXSTACK` (value: `"cisco-flexstack"`) + +* `CISCO_FLEXSTACK_PLUS` (value: `"cisco-flexstack-plus"`) + +* `CISCO_STACKWISE` (value: `"cisco-stackwise"`) + +* `CISCO_STACKWISE_160` (value: `"cisco-stackwise-160"`) + +* `CISCO_STACKWISE_1T` (value: `"cisco-stackwise-1t"`) + +* `CISCO_STACKWISE_320` (value: `"cisco-stackwise-320"`) + +* `CISCO_STACKWISE_480` (value: `"cisco-stackwise-480"`) + +* `CISCO_STACKWISE_80` (value: `"cisco-stackwise-80"`) + +* `CISCO_STACKWISE_PLUS` (value: `"cisco-stackwise-plus"`) + +* `DOCSIS` (value: `"docsis"`) + +* `E1` (value: `"e1"`) + +* `E3` (value: `"e3"`) + +* `EPON` (value: `"epon"`) + +* `EXTREME_SUMMITSTACK` (value: `"extreme-summitstack"`) + +* `EXTREME_SUMMITSTACK_128` (value: `"extreme-summitstack-128"`) + +* `EXTREME_SUMMITSTACK_256` (value: `"extreme-summitstack-256"`) + +* `EXTREME_SUMMITSTACK_512` (value: `"extreme-summitstack-512"`) + +* `GPON` (value: `"gpon"`) + +* `GSM` (value: `"gsm"`) + +* `IEEE802_11A` (value: `"ieee802.11a"`) + +* `IEEE802_11AC` (value: `"ieee802.11ac"`) + +* `IEEE802_11AD` (value: `"ieee802.11ad"`) + +* `IEEE802_11AX` (value: `"ieee802.11ax"`) + +* `IEEE802_11AY` (value: `"ieee802.11ay"`) + +* `IEEE802_11BE` (value: `"ieee802.11be"`) + +* `IEEE802_11G` (value: `"ieee802.11g"`) + +* `IEEE802_11N` (value: `"ieee802.11n"`) + +* `IEEE802_15_1` (value: `"ieee802.15.1"`) + +* `IEEE802_15_4` (value: `"ieee802.15.4"`) + +* `INFINIBAND_DDR` (value: `"infiniband-ddr"`) + +* `INFINIBAND_EDR` (value: `"infiniband-edr"`) + +* `INFINIBAND_FDR` (value: `"infiniband-fdr"`) + +* `INFINIBAND_FDR10` (value: `"infiniband-fdr10"`) + +* `INFINIBAND_HDR` (value: `"infiniband-hdr"`) + +* `INFINIBAND_NDR` (value: `"infiniband-ndr"`) + +* `INFINIBAND_QDR` (value: `"infiniband-qdr"`) + +* `INFINIBAND_SDR` (value: `"infiniband-sdr"`) + +* `INFINIBAND_XDR` (value: `"infiniband-xdr"`) + +* `JUNIPER_VCP` (value: `"juniper-vcp"`) + +* `LAG` (value: `"lag"`) + +* `LTE` (value: `"lte"`) + +* `NG_PON2` (value: `"ng-pon2"`) + +* `OTHER` (value: `"other"`) + +* `OTHER_WIRELESS` (value: `"other-wireless"`) + +* `SONET_OC12` (value: `"sonet-oc12"`) + +* `SONET_OC192` (value: `"sonet-oc192"`) + +* `SONET_OC1920` (value: `"sonet-oc1920"`) + +* `SONET_OC3` (value: `"sonet-oc3"`) + +* `SONET_OC3840` (value: `"sonet-oc3840"`) + +* `SONET_OC48` (value: `"sonet-oc48"`) + +* `SONET_OC768` (value: `"sonet-oc768"`) + +* `T1` (value: `"t1"`) + +* `T3` (value: `"t3"`) + +* `VIRTUAL` (value: `"virtual"`) + +* `XDSL` (value: `"xdsl"`) + +* `XG_PON` (value: `"xg-pon"`) + +* `XGS_PON` (value: `"xgs-pon"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DcimInterfacesListDuplexIcParameterInner.md b/docs/DcimInterfacesListDuplexIcParameterInner.md new file mode 100644 index 000000000..111614f8e --- /dev/null +++ b/docs/DcimInterfacesListDuplexIcParameterInner.md @@ -0,0 +1,19 @@ +# DcimInterfacesListDuplexIcParameterInner + +## Enum + + +* `EMPTY` (value: `""`) + +* `NULL` (value: `"null"`) + +* `AUTO` (value: `"auto"`) + +* `FULL` (value: `"full"`) + +* `HALF` (value: `"half"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DcimLocationsListStatusIcParameterInner.md b/docs/DcimLocationsListStatusIcParameterInner.md new file mode 100644 index 000000000..ee2505db1 --- /dev/null +++ b/docs/DcimLocationsListStatusIcParameterInner.md @@ -0,0 +1,19 @@ +# DcimLocationsListStatusIcParameterInner + +## Enum + + +* `ACTIVE` (value: `"active"`) + +* `DECOMMISSIONING` (value: `"decommissioning"`) + +* `PLANNED` (value: `"planned"`) + +* `RETIRED` (value: `"retired"`) + +* `STAGING` (value: `"staging"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DcimModuleTypesListAirflowParameter.md b/docs/DcimModuleTypesListAirflowParameter.md new file mode 100644 index 000000000..25d66316c --- /dev/null +++ b/docs/DcimModuleTypesListAirflowParameter.md @@ -0,0 +1,21 @@ +# DcimModuleTypesListAirflowParameter + +## Enum + + +* `FRONT_TO_REAR` (value: `"front-to-rear"`) + +* `LEFT_TO_RIGHT` (value: `"left-to-right"`) + +* `PASSIVE` (value: `"passive"`) + +* `REAR_TO_FRONT` (value: `"rear-to-front"`) + +* `RIGHT_TO_LEFT` (value: `"right-to-left"`) + +* `SIDE_TO_REAR` (value: `"side-to-rear"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DcimModulesListStatusIcParameterInner.md b/docs/DcimModulesListStatusIcParameterInner.md new file mode 100644 index 000000000..c0e9ac38d --- /dev/null +++ b/docs/DcimModulesListStatusIcParameterInner.md @@ -0,0 +1,21 @@ +# DcimModulesListStatusIcParameterInner + +## Enum + + +* `ACTIVE` (value: `"active"`) + +* `DECOMMISSIONING` (value: `"decommissioning"`) + +* `FAILED` (value: `"failed"`) + +* `OFFLINE` (value: `"offline"`) + +* `PLANNED` (value: `"planned"`) + +* `STAGED` (value: `"staged"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DcimPowerFeedsListStatusIcParameterInner.md b/docs/DcimPowerFeedsListStatusIcParameterInner.md new file mode 100644 index 000000000..85fc48c44 --- /dev/null +++ b/docs/DcimPowerFeedsListStatusIcParameterInner.md @@ -0,0 +1,17 @@ +# DcimPowerFeedsListStatusIcParameterInner + +## Enum + + +* `ACTIVE` (value: `"active"`) + +* `FAILED` (value: `"failed"`) + +* `OFFLINE` (value: `"offline"`) + +* `PLANNED` (value: `"planned"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DcimPowerOutletTemplatesListFeedLegIcParameterInner.md b/docs/DcimPowerOutletTemplatesListFeedLegIcParameterInner.md new file mode 100644 index 000000000..4813ee717 --- /dev/null +++ b/docs/DcimPowerOutletTemplatesListFeedLegIcParameterInner.md @@ -0,0 +1,17 @@ +# DcimPowerOutletTemplatesListFeedLegIcParameterInner + +## Enum + + +* `EMPTY` (value: `""`) + +* `A` (value: `"A"`) + +* `B` (value: `"B"`) + +* `C` (value: `"C"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DcimPowerOutletsListTypeIcParameterInner.md b/docs/DcimPowerOutletsListTypeIcParameterInner.md new file mode 100644 index 000000000..c9e0ccce6 --- /dev/null +++ b/docs/DcimPowerOutletsListTypeIcParameterInner.md @@ -0,0 +1,207 @@ +# DcimPowerOutletsListTypeIcParameterInner + +## Enum + + +* `EMPTY` (value: `""`) + +* `CS6360_C` (value: `"CS6360C"`) + +* `CS6364_C` (value: `"CS6364C"`) + +* `CS8164_C` (value: `"CS8164C"`) + +* `CS8264_C` (value: `"CS8264C"`) + +* `CS8364_C` (value: `"CS8364C"`) + +* `CS8464_C` (value: `"CS8464C"`) + +* `DC_TERMINAL` (value: `"dc-terminal"`) + +* `EATON_C39` (value: `"eaton-c39"`) + +* `HARDWIRED` (value: `"hardwired"`) + +* `HDOT_CX` (value: `"hdot-cx"`) + +* `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_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_60320_C13` (value: `"iec-60320-c13"`) + +* `IEC_60320_C15` (value: `"iec-60320-c15"`) + +* `IEC_60320_C19` (value: `"iec-60320-c19"`) + +* `IEC_60320_C21` (value: `"iec-60320-c21"`) + +* `IEC_60320_C5` (value: `"iec-60320-c5"`) + +* `IEC_60320_C7` (value: `"iec-60320-c7"`) + +* `IEC_60906_1` (value: `"iec-60906-1"`) + +* `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_MULTISTANDARD` (value: `"ita-multistandard"`) + +* `ITA_N` (value: `"ita-n"`) + +* `ITA_O` (value: `"ita-o"`) + +* `MOLEX_MICRO_FIT_1X2` (value: `"molex-micro-fit-1x2"`) + +* `MOLEX_MICRO_FIT_2X2` (value: `"molex-micro-fit-2x2"`) + +* `MOLEX_MICRO_FIT_2X4` (value: `"molex-micro-fit-2x4"`) + +* `NBR_14136_10A` (value: `"nbr-14136-10a"`) + +* `NBR_14136_20A` (value: `"nbr-14136-20a"`) + +* `NEMA_1_15R` (value: `"nema-1-15r"`) + +* `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_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_L1_15R` (value: `"nema-l1-15r"`) + +* `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_20R` (value: `"nema-l22-20r"`) + +* `NEMA_L22_30R` (value: `"nema-l22-30r"`) + +* `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"`) + +* `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"`) + +* `OTHER` (value: `"other"`) + +* `SAF_D_GRID` (value: `"saf-d-grid"`) + +* `UBIQUITI_SMARTPOWER` (value: `"ubiquiti-smartpower"`) + +* `USB_A` (value: `"usb-a"`) + +* `USB_C` (value: `"usb-c"`) + +* `USB_MICRO_B` (value: `"usb-micro-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/DcimPowerPortsListTypeIcParameterInner.md b/docs/DcimPowerPortsListTypeIcParameterInner.md new file mode 100644 index 000000000..778128071 --- /dev/null +++ b/docs/DcimPowerPortsListTypeIcParameterInner.md @@ -0,0 +1,219 @@ +# DcimPowerPortsListTypeIcParameterInner + +## Enum + + +* `EMPTY` (value: `""`) + +* `CS6361C` (value: `"cs6361c"`) + +* `CS6365C` (value: `"cs6365c"`) + +* `CS8165C` (value: `"cs8165c"`) + +* `CS8265C` (value: `"cs8265c"`) + +* `CS8365C` (value: `"cs8365c"`) + +* `CS8465C` (value: `"cs8465c"`) + +* `DC_TERMINAL` (value: `"dc-terminal"`) + +* `HARDWIRED` (value: `"hardwired"`) + +* `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_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_60320_C14` (value: `"iec-60320-c14"`) + +* `IEC_60320_C16` (value: `"iec-60320-c16"`) + +* `IEC_60320_C20` (value: `"iec-60320-c20"`) + +* `IEC_60320_C22` (value: `"iec-60320-c22"`) + +* `IEC_60320_C6` (value: `"iec-60320-c6"`) + +* `IEC_60320_C8` (value: `"iec-60320-c8"`) + +* `IEC_60906_1` (value: `"iec-60906-1"`) + +* `ITA_C` (value: `"ita-c"`) + +* `ITA_E` (value: `"ita-e"`) + +* `ITA_EF` (value: `"ita-ef"`) + +* `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"`) + +* `MOLEX_MICRO_FIT_1X2` (value: `"molex-micro-fit-1x2"`) + +* `MOLEX_MICRO_FIT_2X2` (value: `"molex-micro-fit-2x2"`) + +* `MOLEX_MICRO_FIT_2X4` (value: `"molex-micro-fit-2x4"`) + +* `NBR_14136_10A` (value: `"nbr-14136-10a"`) + +* `NBR_14136_20A` (value: `"nbr-14136-20a"`) + +* `NEMA_1_15P` (value: `"nema-1-15p"`) + +* `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_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_L1_15P` (value: `"nema-l1-15p"`) + +* `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_20P` (value: `"nema-l22-20p"`) + +* `NEMA_L22_30P` (value: `"nema-l22-30p"`) + +* `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"`) + +* `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"`) + +* `OTHER` (value: `"other"`) + +* `SAF_D_GRID` (value: `"saf-d-grid"`) + +* `UBIQUITI_SMARTPOWER` (value: `"ubiquiti-smartpower"`) + +* `USB_3_B` (value: `"usb-3-b"`) + +* `USB_3_MICRO_B` (value: `"usb-3-micro-b"`) + +* `USB_A` (value: `"usb-a"`) + +* `USB_B` (value: `"usb-b"`) + +* `USB_C` (value: `"usb-c"`) + +* `USB_MICRO_A` (value: `"usb-micro-a"`) + +* `USB_MICRO_AB` (value: `"usb-micro-ab"`) + +* `USB_MICRO_B` (value: `"usb-micro-b"`) + +* `USB_MINI_A` (value: `"usb-mini-a"`) + +* `USB_MINI_B` (value: `"usb-mini-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/DcimRackTypesListFormFactorIcParameterInner.md b/docs/DcimRackTypesListFormFactorIcParameterInner.md new file mode 100644 index 000000000..29e50c4d0 --- /dev/null +++ b/docs/DcimRackTypesListFormFactorIcParameterInner.md @@ -0,0 +1,23 @@ +# DcimRackTypesListFormFactorIcParameterInner + +## Enum + + +* `_2_POST_FRAME` (value: `"2-post-frame"`) + +* `_4_POST_CABINET` (value: `"4-post-cabinet"`) + +* `_4_POST_FRAME` (value: `"4-post-frame"`) + +* `WALL_CABINET` (value: `"wall-cabinet"`) + +* `WALL_CABINET_VERTICAL` (value: `"wall-cabinet-vertical"`) + +* `WALL_FRAME` (value: `"wall-frame"`) + +* `WALL_FRAME_VERTICAL` (value: `"wall-frame-vertical"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DcimRackTypesListOuterUnitParameter.md b/docs/DcimRackTypesListOuterUnitParameter.md new file mode 100644 index 000000000..3807d0a4c --- /dev/null +++ b/docs/DcimRackTypesListOuterUnitParameter.md @@ -0,0 +1,13 @@ +# DcimRackTypesListOuterUnitParameter + +## Enum + + +* `IN` (value: `"in"`) + +* `MM` (value: `"mm"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DcimRackTypesListWidthIcParameterInner.md b/docs/DcimRackTypesListWidthIcParameterInner.md new file mode 100644 index 000000000..c9a49cf9d --- /dev/null +++ b/docs/DcimRackTypesListWidthIcParameterInner.md @@ -0,0 +1,17 @@ +# DcimRackTypesListWidthIcParameterInner + +## Enum + + +* `_10` (value: `10`) + +* `_19` (value: `19`) + +* `_21` (value: `21`) + +* `_23` (value: `23`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DcimRacksListAirflowParameter.md b/docs/DcimRacksListAirflowParameter.md new file mode 100644 index 000000000..f063ab875 --- /dev/null +++ b/docs/DcimRacksListAirflowParameter.md @@ -0,0 +1,13 @@ +# DcimRacksListAirflowParameter + +## Enum + + +* `FRONT_TO_REAR` (value: `"front-to-rear"`) + +* `REAR_TO_FRONT` (value: `"rear-to-front"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DcimRacksListFormFactorIcParameterInner.md b/docs/DcimRacksListFormFactorIcParameterInner.md new file mode 100644 index 000000000..706859287 --- /dev/null +++ b/docs/DcimRacksListFormFactorIcParameterInner.md @@ -0,0 +1,25 @@ +# DcimRacksListFormFactorIcParameterInner + +## Enum + + +* `EMPTY` (value: `""`) + +* `_2_POST_FRAME` (value: `"2-post-frame"`) + +* `_4_POST_CABINET` (value: `"4-post-cabinet"`) + +* `_4_POST_FRAME` (value: `"4-post-frame"`) + +* `WALL_CABINET` (value: `"wall-cabinet"`) + +* `WALL_CABINET_VERTICAL` (value: `"wall-cabinet-vertical"`) + +* `WALL_FRAME` (value: `"wall-frame"`) + +* `WALL_FRAME_VERTICAL` (value: `"wall-frame-vertical"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DcimRacksListStatusIcParameterInner.md b/docs/DcimRacksListStatusIcParameterInner.md new file mode 100644 index 000000000..294d2dd48 --- /dev/null +++ b/docs/DcimRacksListStatusIcParameterInner.md @@ -0,0 +1,19 @@ +# DcimRacksListStatusIcParameterInner + +## Enum + + +* `ACTIVE` (value: `"active"`) + +* `AVAILABLE` (value: `"available"`) + +* `DEPRECATED` (value: `"deprecated"`) + +* `PLANNED` (value: `"planned"`) + +* `RESERVED` (value: `"reserved"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DcimVirtualDeviceContextsListStatusIcParameterInner.md b/docs/DcimVirtualDeviceContextsListStatusIcParameterInner.md new file mode 100644 index 000000000..56e26c21b --- /dev/null +++ b/docs/DcimVirtualDeviceContextsListStatusIcParameterInner.md @@ -0,0 +1,15 @@ +# DcimVirtualDeviceContextsListStatusIcParameterInner + +## Enum + + +* `ACTIVE` (value: `"active"`) + +* `OFFLINE` (value: `"offline"`) + +* `PLANNED` (value: `"planned"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/Device.md b/docs/Device.md index ee4593df2..34c0a81b8 100644 --- a/docs/Device.md +++ b/docs/Device.md @@ -6,56 +6,57 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] -**Name** | Pointer to **NullableString** | | [optional] -**DeviceType** | [**DeviceType**](DeviceType.md) | | -**Role** | [**DeviceRole**](DeviceRole.md) | | -**Tenant** | Pointer to [**NullableTenant**](Tenant.md) | | [optional] -**Platform** | Pointer to [**NullablePlatform**](Platform.md) | | [optional] +**Name** | **NullableString** | | +**DeviceType** | Pointer to [**BriefDeviceType**](BriefDeviceType.md) | | [optional] +**Role** | Pointer to [**BriefDeviceRole**](BriefDeviceRole.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenant**](BriefTenant.md) | | [optional] +**Platform** | Pointer to [**NullableBriefPlatform**](BriefPlatform.md) | | [optional] **Serial** | Pointer to **string** | Chassis serial number, assigned by the manufacturer | [optional] **AssetTag** | Pointer to **NullableString** | A unique tag used to identify this device | [optional] -**Site** | [**Site**](Site.md) | | -**Location** | Pointer to [**NullableLocation**](Location.md) | | [optional] -**Rack** | Pointer to [**NullableRack**](Rack.md) | | [optional] +**Site** | Pointer to [**BriefSite**](BriefSite.md) | | [optional] +**Location** | Pointer to [**NullableBriefLocation**](BriefLocation.md) | | [optional] +**Rack** | Pointer to [**NullableBriefRack**](BriefRack.md) | | [optional] **Position** | Pointer to **NullableFloat64** | | [optional] **Face** | Pointer to [**DeviceFace**](DeviceFace.md) | | [optional] **Latitude** | Pointer to **NullableFloat64** | GPS coordinate in decimal format (xx.yyyyyy) | [optional] **Longitude** | Pointer to **NullableFloat64** | GPS coordinate in decimal format (xx.yyyyyy) | [optional] -**ParentDevice** | [**NullableNestedDevice**](NestedDevice.md) | | [readonly] +**ParentDevice** | Pointer to [**NullableNestedDevice**](NestedDevice.md) | | [optional] [readonly] **Status** | Pointer to [**DeviceStatus**](DeviceStatus.md) | | [optional] **Airflow** | Pointer to [**DeviceAirflow**](DeviceAirflow.md) | | [optional] -**PrimaryIp** | [**NullableIPAddress**](IPAddress.md) | | [readonly] -**PrimaryIp4** | Pointer to [**NullableIPAddress**](IPAddress.md) | | [optional] -**PrimaryIp6** | Pointer to [**NullableIPAddress**](IPAddress.md) | | [optional] -**OobIp** | Pointer to [**NullableIPAddress**](IPAddress.md) | | [optional] -**Cluster** | Pointer to [**NullableCluster**](Cluster.md) | | [optional] -**VirtualChassis** | Pointer to [**NullableVirtualChassis**](VirtualChassis.md) | | [optional] +**PrimaryIp** | Pointer to [**NullableBriefIPAddress**](BriefIPAddress.md) | | [optional] [readonly] +**PrimaryIp4** | Pointer to [**NullableBriefIPAddress**](BriefIPAddress.md) | | [optional] +**PrimaryIp6** | Pointer to [**NullableBriefIPAddress**](BriefIPAddress.md) | | [optional] +**OobIp** | Pointer to [**NullableBriefIPAddress**](BriefIPAddress.md) | | [optional] +**Cluster** | Pointer to [**NullableBriefCluster**](BriefCluster.md) | | [optional] +**VirtualChassis** | Pointer to [**NullableBriefVirtualChassis**](BriefVirtualChassis.md) | | [optional] **VcPosition** | Pointer to **NullableInt32** | | [optional] **VcPriority** | Pointer to **NullableInt32** | Virtual chassis master election priority | [optional] -**Description** | Pointer to **string** | | [optional] +**Description** | **string** | | **Comments** | Pointer to **string** | | [optional] -**ConfigTemplate** | Pointer to [**NullableConfigTemplate**](ConfigTemplate.md) | | [optional] +**ConfigTemplate** | Pointer to [**NullableBriefConfigTemplate**](BriefConfigTemplate.md) | | [optional] **LocalContextData** | Pointer to **interface{}** | Local config context data takes precedence over source contexts in the final rendered config context | [optional] **Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] -**Created** | **NullableTime** | | [readonly] -**LastUpdated** | **NullableTime** | | [readonly] -**ConsolePortCount** | **int32** | | [readonly] -**ConsoleServerPortCount** | **int32** | | [readonly] -**PowerPortCount** | **int32** | | [readonly] -**PowerOutletCount** | **int32** | | [readonly] -**InterfaceCount** | **int32** | | [readonly] -**FrontPortCount** | **int32** | | [readonly] -**RearPortCount** | **int32** | | [readonly] -**DeviceBayCount** | **int32** | | [readonly] -**ModuleBayCount** | **int32** | | [readonly] -**InventoryItemCount** | **int32** | | [readonly] +**Created** | Pointer to **NullableTime** | | [optional] [readonly] +**LastUpdated** | Pointer to **NullableTime** | | [optional] [readonly] +**ConsolePortCount** | Pointer to **int32** | | [optional] [readonly] +**ConsoleServerPortCount** | Pointer to **int32** | | [optional] [readonly] +**PowerPortCount** | Pointer to **int32** | | [optional] [readonly] +**PowerOutletCount** | Pointer to **int32** | | [optional] [readonly] +**InterfaceCount** | Pointer to **int32** | | [optional] [readonly] +**FrontPortCount** | Pointer to **int32** | | [optional] [readonly] +**RearPortCount** | Pointer to **int32** | | [optional] [readonly] +**DeviceBayCount** | Pointer to **int32** | | [optional] [readonly] +**ModuleBayCount** | Pointer to **int32** | | [optional] [readonly] +**InventoryItemCount** | Pointer to **int32** | | [optional] [readonly] ## Methods ### NewDevice -`func NewDevice(id int32, url string, display string, deviceType DeviceType, role DeviceRole, site Site, parentDevice NullableNestedDevice, primaryIp NullableIPAddress, created NullableTime, lastUpdated NullableTime, consolePortCount int32, consoleServerPortCount int32, powerPortCount int32, powerOutletCount int32, interfaceCount int32, frontPortCount int32, rearPortCount int32, deviceBayCount int32, moduleBayCount int32, inventoryItemCount int32, ) *Device` +`func NewDevice(id int32, url string, display string, name NullableString, description string, ) *Device` NewDevice instantiates a new Device object This constructor will assign default values to properties that have it defined, @@ -110,6 +111,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *Device) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *Device) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *Device) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *Device) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *Device) GetDisplay() string` @@ -149,11 +175,6 @@ and a boolean to check if the value has been set. SetName sets Name field to given value. -### HasName - -`func (o *Device) HasName() bool` - -HasName returns a boolean if a field has been set. ### SetNameNil @@ -167,60 +188,70 @@ HasName returns a boolean if a field has been set. UnsetName ensures that no value is present for Name, not even an explicit nil ### GetDeviceType -`func (o *Device) GetDeviceType() DeviceType` +`func (o *Device) GetDeviceType() BriefDeviceType` GetDeviceType returns the DeviceType field if non-nil, zero value otherwise. ### GetDeviceTypeOk -`func (o *Device) GetDeviceTypeOk() (*DeviceType, bool)` +`func (o *Device) GetDeviceTypeOk() (*BriefDeviceType, bool)` GetDeviceTypeOk returns a tuple with the DeviceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDeviceType -`func (o *Device) SetDeviceType(v DeviceType)` +`func (o *Device) SetDeviceType(v BriefDeviceType)` SetDeviceType sets DeviceType field to given value. +### HasDeviceType + +`func (o *Device) HasDeviceType() bool` + +HasDeviceType returns a boolean if a field has been set. ### GetRole -`func (o *Device) GetRole() DeviceRole` +`func (o *Device) GetRole() BriefDeviceRole` GetRole returns the Role field if non-nil, zero value otherwise. ### GetRoleOk -`func (o *Device) GetRoleOk() (*DeviceRole, bool)` +`func (o *Device) GetRoleOk() (*BriefDeviceRole, 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 *Device) SetRole(v DeviceRole)` +`func (o *Device) SetRole(v BriefDeviceRole)` SetRole sets Role field to given value. +### HasRole + +`func (o *Device) HasRole() bool` + +HasRole returns a boolean if a field has been set. ### GetTenant -`func (o *Device) GetTenant() Tenant` +`func (o *Device) GetTenant() BriefTenant` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *Device) GetTenantOk() (*Tenant, bool)` +`func (o *Device) GetTenantOk() (*BriefTenant, 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 *Device) SetTenant(v Tenant)` +`func (o *Device) SetTenant(v BriefTenant)` SetTenant sets Tenant field to given value. @@ -242,20 +273,20 @@ HasTenant returns a boolean if a field has been set. UnsetTenant ensures that no value is present for Tenant, not even an explicit nil ### GetPlatform -`func (o *Device) GetPlatform() Platform` +`func (o *Device) GetPlatform() BriefPlatform` GetPlatform returns the Platform field if non-nil, zero value otherwise. ### GetPlatformOk -`func (o *Device) GetPlatformOk() (*Platform, bool)` +`func (o *Device) GetPlatformOk() (*BriefPlatform, bool)` GetPlatformOk returns a tuple with the Platform field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPlatform -`func (o *Device) SetPlatform(v Platform)` +`func (o *Device) SetPlatform(v BriefPlatform)` SetPlatform sets Platform field to given value. @@ -337,40 +368,45 @@ HasAssetTag returns a boolean if a field has been set. UnsetAssetTag ensures that no value is present for AssetTag, not even an explicit nil ### GetSite -`func (o *Device) GetSite() Site` +`func (o *Device) GetSite() BriefSite` GetSite returns the Site field if non-nil, zero value otherwise. ### GetSiteOk -`func (o *Device) GetSiteOk() (*Site, bool)` +`func (o *Device) GetSiteOk() (*BriefSite, bool)` GetSiteOk returns a tuple with the Site field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSite -`func (o *Device) SetSite(v Site)` +`func (o *Device) SetSite(v BriefSite)` SetSite sets Site field to given value. +### HasSite + +`func (o *Device) HasSite() bool` + +HasSite returns a boolean if a field has been set. ### GetLocation -`func (o *Device) GetLocation() Location` +`func (o *Device) GetLocation() BriefLocation` GetLocation returns the Location field if non-nil, zero value otherwise. ### GetLocationOk -`func (o *Device) GetLocationOk() (*Location, bool)` +`func (o *Device) GetLocationOk() (*BriefLocation, 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 *Device) SetLocation(v Location)` +`func (o *Device) SetLocation(v BriefLocation)` SetLocation sets Location field to given value. @@ -392,20 +428,20 @@ HasLocation returns a boolean if a field has been set. UnsetLocation ensures that no value is present for Location, not even an explicit nil ### GetRack -`func (o *Device) GetRack() Rack` +`func (o *Device) GetRack() BriefRack` GetRack returns the Rack field if non-nil, zero value otherwise. ### GetRackOk -`func (o *Device) GetRackOk() (*Rack, bool)` +`func (o *Device) GetRackOk() (*BriefRack, bool)` GetRackOk returns a tuple with the Rack field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRack -`func (o *Device) SetRack(v Rack)` +`func (o *Device) SetRack(v BriefRack)` SetRack sets Rack field to given value. @@ -574,6 +610,11 @@ and a boolean to check if the value has been set. SetParentDevice sets ParentDevice field to given value. +### HasParentDevice + +`func (o *Device) HasParentDevice() bool` + +HasParentDevice returns a boolean if a field has been set. ### SetParentDeviceNil @@ -637,23 +678,28 @@ HasAirflow returns a boolean if a field has been set. ### GetPrimaryIp -`func (o *Device) GetPrimaryIp() IPAddress` +`func (o *Device) GetPrimaryIp() BriefIPAddress` GetPrimaryIp returns the PrimaryIp field if non-nil, zero value otherwise. ### GetPrimaryIpOk -`func (o *Device) GetPrimaryIpOk() (*IPAddress, bool)` +`func (o *Device) GetPrimaryIpOk() (*BriefIPAddress, bool)` GetPrimaryIpOk returns a tuple with the PrimaryIp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPrimaryIp -`func (o *Device) SetPrimaryIp(v IPAddress)` +`func (o *Device) SetPrimaryIp(v BriefIPAddress)` SetPrimaryIp sets PrimaryIp field to given value. +### HasPrimaryIp + +`func (o *Device) HasPrimaryIp() bool` + +HasPrimaryIp returns a boolean if a field has been set. ### SetPrimaryIpNil @@ -667,20 +713,20 @@ SetPrimaryIp sets PrimaryIp field to given value. UnsetPrimaryIp ensures that no value is present for PrimaryIp, not even an explicit nil ### GetPrimaryIp4 -`func (o *Device) GetPrimaryIp4() IPAddress` +`func (o *Device) GetPrimaryIp4() BriefIPAddress` GetPrimaryIp4 returns the PrimaryIp4 field if non-nil, zero value otherwise. ### GetPrimaryIp4Ok -`func (o *Device) GetPrimaryIp4Ok() (*IPAddress, bool)` +`func (o *Device) GetPrimaryIp4Ok() (*BriefIPAddress, 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 *Device) SetPrimaryIp4(v IPAddress)` +`func (o *Device) SetPrimaryIp4(v BriefIPAddress)` SetPrimaryIp4 sets PrimaryIp4 field to given value. @@ -702,20 +748,20 @@ HasPrimaryIp4 returns a boolean if a field has been set. UnsetPrimaryIp4 ensures that no value is present for PrimaryIp4, not even an explicit nil ### GetPrimaryIp6 -`func (o *Device) GetPrimaryIp6() IPAddress` +`func (o *Device) GetPrimaryIp6() BriefIPAddress` GetPrimaryIp6 returns the PrimaryIp6 field if non-nil, zero value otherwise. ### GetPrimaryIp6Ok -`func (o *Device) GetPrimaryIp6Ok() (*IPAddress, bool)` +`func (o *Device) GetPrimaryIp6Ok() (*BriefIPAddress, 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 *Device) SetPrimaryIp6(v IPAddress)` +`func (o *Device) SetPrimaryIp6(v BriefIPAddress)` SetPrimaryIp6 sets PrimaryIp6 field to given value. @@ -737,20 +783,20 @@ HasPrimaryIp6 returns a boolean if a field has been set. UnsetPrimaryIp6 ensures that no value is present for PrimaryIp6, not even an explicit nil ### GetOobIp -`func (o *Device) GetOobIp() IPAddress` +`func (o *Device) GetOobIp() BriefIPAddress` GetOobIp returns the OobIp field if non-nil, zero value otherwise. ### GetOobIpOk -`func (o *Device) GetOobIpOk() (*IPAddress, bool)` +`func (o *Device) GetOobIpOk() (*BriefIPAddress, bool)` GetOobIpOk returns a tuple with the OobIp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetOobIp -`func (o *Device) SetOobIp(v IPAddress)` +`func (o *Device) SetOobIp(v BriefIPAddress)` SetOobIp sets OobIp field to given value. @@ -772,20 +818,20 @@ HasOobIp returns a boolean if a field has been set. UnsetOobIp ensures that no value is present for OobIp, not even an explicit nil ### GetCluster -`func (o *Device) GetCluster() Cluster` +`func (o *Device) GetCluster() BriefCluster` GetCluster returns the Cluster field if non-nil, zero value otherwise. ### GetClusterOk -`func (o *Device) GetClusterOk() (*Cluster, bool)` +`func (o *Device) GetClusterOk() (*BriefCluster, bool)` GetClusterOk returns a tuple with the Cluster field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCluster -`func (o *Device) SetCluster(v Cluster)` +`func (o *Device) SetCluster(v BriefCluster)` SetCluster sets Cluster field to given value. @@ -807,20 +853,20 @@ HasCluster returns a boolean if a field has been set. UnsetCluster ensures that no value is present for Cluster, not even an explicit nil ### GetVirtualChassis -`func (o *Device) GetVirtualChassis() VirtualChassis` +`func (o *Device) GetVirtualChassis() BriefVirtualChassis` GetVirtualChassis returns the VirtualChassis field if non-nil, zero value otherwise. ### GetVirtualChassisOk -`func (o *Device) GetVirtualChassisOk() (*VirtualChassis, bool)` +`func (o *Device) GetVirtualChassisOk() (*BriefVirtualChassis, bool)` GetVirtualChassisOk returns a tuple with the VirtualChassis field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVirtualChassis -`func (o *Device) SetVirtualChassis(v VirtualChassis)` +`func (o *Device) SetVirtualChassis(v BriefVirtualChassis)` SetVirtualChassis sets VirtualChassis field to given value. @@ -929,11 +975,6 @@ and a boolean to check if the value has been set. SetDescription sets Description field to given value. -### HasDescription - -`func (o *Device) HasDescription() bool` - -HasDescription returns a boolean if a field has been set. ### GetComments @@ -962,20 +1003,20 @@ HasComments returns a boolean if a field has been set. ### GetConfigTemplate -`func (o *Device) GetConfigTemplate() ConfigTemplate` +`func (o *Device) GetConfigTemplate() BriefConfigTemplate` GetConfigTemplate returns the ConfigTemplate field if non-nil, zero value otherwise. ### GetConfigTemplateOk -`func (o *Device) GetConfigTemplateOk() (*ConfigTemplate, bool)` +`func (o *Device) GetConfigTemplateOk() (*BriefConfigTemplate, bool)` GetConfigTemplateOk returns a tuple with the ConfigTemplate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetConfigTemplate -`func (o *Device) SetConfigTemplate(v ConfigTemplate)` +`func (o *Device) SetConfigTemplate(v BriefConfigTemplate)` SetConfigTemplate sets ConfigTemplate field to given value. @@ -1099,6 +1140,11 @@ and a boolean to check if the value has been set. SetCreated sets Created field to given value. +### HasCreated + +`func (o *Device) HasCreated() bool` + +HasCreated returns a boolean if a field has been set. ### SetCreatedNil @@ -1129,6 +1175,11 @@ and a boolean to check if the value has been set. SetLastUpdated sets LastUpdated field to given value. +### HasLastUpdated + +`func (o *Device) HasLastUpdated() bool` + +HasLastUpdated returns a boolean if a field has been set. ### SetLastUpdatedNil @@ -1159,6 +1210,11 @@ and a boolean to check if the value has been set. SetConsolePortCount sets ConsolePortCount field to given value. +### HasConsolePortCount + +`func (o *Device) HasConsolePortCount() bool` + +HasConsolePortCount returns a boolean if a field has been set. ### GetConsoleServerPortCount @@ -1179,6 +1235,11 @@ and a boolean to check if the value has been set. SetConsoleServerPortCount sets ConsoleServerPortCount field to given value. +### HasConsoleServerPortCount + +`func (o *Device) HasConsoleServerPortCount() bool` + +HasConsoleServerPortCount returns a boolean if a field has been set. ### GetPowerPortCount @@ -1199,6 +1260,11 @@ and a boolean to check if the value has been set. SetPowerPortCount sets PowerPortCount field to given value. +### HasPowerPortCount + +`func (o *Device) HasPowerPortCount() bool` + +HasPowerPortCount returns a boolean if a field has been set. ### GetPowerOutletCount @@ -1219,6 +1285,11 @@ and a boolean to check if the value has been set. SetPowerOutletCount sets PowerOutletCount field to given value. +### HasPowerOutletCount + +`func (o *Device) HasPowerOutletCount() bool` + +HasPowerOutletCount returns a boolean if a field has been set. ### GetInterfaceCount @@ -1239,6 +1310,11 @@ and a boolean to check if the value has been set. SetInterfaceCount sets InterfaceCount field to given value. +### HasInterfaceCount + +`func (o *Device) HasInterfaceCount() bool` + +HasInterfaceCount returns a boolean if a field has been set. ### GetFrontPortCount @@ -1259,6 +1335,11 @@ and a boolean to check if the value has been set. SetFrontPortCount sets FrontPortCount field to given value. +### HasFrontPortCount + +`func (o *Device) HasFrontPortCount() bool` + +HasFrontPortCount returns a boolean if a field has been set. ### GetRearPortCount @@ -1279,6 +1360,11 @@ and a boolean to check if the value has been set. SetRearPortCount sets RearPortCount field to given value. +### HasRearPortCount + +`func (o *Device) HasRearPortCount() bool` + +HasRearPortCount returns a boolean if a field has been set. ### GetDeviceBayCount @@ -1299,6 +1385,11 @@ and a boolean to check if the value has been set. SetDeviceBayCount sets DeviceBayCount field to given value. +### HasDeviceBayCount + +`func (o *Device) HasDeviceBayCount() bool` + +HasDeviceBayCount returns a boolean if a field has been set. ### GetModuleBayCount @@ -1319,6 +1410,11 @@ and a boolean to check if the value has been set. SetModuleBayCount sets ModuleBayCount field to given value. +### HasModuleBayCount + +`func (o *Device) HasModuleBayCount() bool` + +HasModuleBayCount returns a boolean if a field has been set. ### GetInventoryItemCount @@ -1339,6 +1435,11 @@ and a boolean to check if the value has been set. SetInventoryItemCount sets InventoryItemCount field to given value. +### HasInventoryItemCount + +`func (o *Device) HasInventoryItemCount() bool` + +HasInventoryItemCount 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/DeviceBay.md b/docs/DeviceBay.md index e19772ad5..d740deb39 100644 --- a/docs/DeviceBay.md +++ b/docs/DeviceBay.md @@ -6,12 +6,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] -**Device** | [**Device**](Device.md) | | +**Device** | [**BriefDevice**](BriefDevice.md) | | **Name** | **string** | | **Label** | Pointer to **string** | Physical label | [optional] **Description** | Pointer to **string** | | [optional] -**InstalledDevice** | Pointer to [**NullableDevice**](Device.md) | | [optional] +**InstalledDevice** | Pointer to [**NullableBriefDevice**](BriefDevice.md) | | [optional] **Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] **Created** | **NullableTime** | | [readonly] @@ -21,7 +22,7 @@ Name | Type | Description | Notes ### NewDeviceBay -`func NewDeviceBay(id int32, url string, display string, device Device, name string, created NullableTime, lastUpdated NullableTime, ) *DeviceBay` +`func NewDeviceBay(id int32, url string, display string, device BriefDevice, name string, created NullableTime, lastUpdated NullableTime, ) *DeviceBay` NewDeviceBay instantiates a new DeviceBay object This constructor will assign default values to properties that have it defined, @@ -76,6 +77,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *DeviceBay) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *DeviceBay) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *DeviceBay) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *DeviceBay) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *DeviceBay) GetDisplay() string` @@ -98,20 +124,20 @@ SetDisplay sets Display field to given value. ### GetDevice -`func (o *DeviceBay) GetDevice() Device` +`func (o *DeviceBay) GetDevice() BriefDevice` GetDevice returns the Device field if non-nil, zero value otherwise. ### GetDeviceOk -`func (o *DeviceBay) GetDeviceOk() (*Device, bool)` +`func (o *DeviceBay) GetDeviceOk() (*BriefDevice, 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 *DeviceBay) SetDevice(v Device)` +`func (o *DeviceBay) SetDevice(v BriefDevice)` SetDevice sets Device field to given value. @@ -188,20 +214,20 @@ HasDescription returns a boolean if a field has been set. ### GetInstalledDevice -`func (o *DeviceBay) GetInstalledDevice() Device` +`func (o *DeviceBay) GetInstalledDevice() BriefDevice` GetInstalledDevice returns the InstalledDevice field if non-nil, zero value otherwise. ### GetInstalledDeviceOk -`func (o *DeviceBay) GetInstalledDeviceOk() (*Device, bool)` +`func (o *DeviceBay) GetInstalledDeviceOk() (*BriefDevice, bool)` GetInstalledDeviceOk returns a tuple with the InstalledDevice field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetInstalledDevice -`func (o *DeviceBay) SetInstalledDevice(v Device)` +`func (o *DeviceBay) SetInstalledDevice(v BriefDevice)` SetInstalledDevice sets InstalledDevice field to given value. diff --git a/docs/DeviceBayRequest.md b/docs/DeviceBayRequest.md index 9229313f3..78e056c6d 100644 --- a/docs/DeviceBayRequest.md +++ b/docs/DeviceBayRequest.md @@ -4,11 +4,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Device** | [**DeviceRequest**](DeviceRequest.md) | | +**Device** | [**BriefDeviceRequest**](BriefDeviceRequest.md) | | **Name** | **string** | | **Label** | Pointer to **string** | Physical label | [optional] **Description** | Pointer to **string** | | [optional] -**InstalledDevice** | Pointer to [**NullableDeviceRequest**](DeviceRequest.md) | | [optional] +**InstalledDevice** | Pointer to [**NullableBriefDeviceRequest**](BriefDeviceRequest.md) | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] @@ -16,7 +16,7 @@ Name | Type | Description | Notes ### NewDeviceBayRequest -`func NewDeviceBayRequest(device DeviceRequest, name string, ) *DeviceBayRequest` +`func NewDeviceBayRequest(device BriefDeviceRequest, name string, ) *DeviceBayRequest` NewDeviceBayRequest instantiates a new DeviceBayRequest object This constructor will assign default values to properties that have it defined, @@ -33,20 +33,20 @@ but it doesn't guarantee that properties required by API are set ### GetDevice -`func (o *DeviceBayRequest) GetDevice() DeviceRequest` +`func (o *DeviceBayRequest) GetDevice() BriefDeviceRequest` GetDevice returns the Device field if non-nil, zero value otherwise. ### GetDeviceOk -`func (o *DeviceBayRequest) GetDeviceOk() (*DeviceRequest, bool)` +`func (o *DeviceBayRequest) GetDeviceOk() (*BriefDeviceRequest, 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 *DeviceBayRequest) SetDevice(v DeviceRequest)` +`func (o *DeviceBayRequest) SetDevice(v BriefDeviceRequest)` SetDevice sets Device field to given value. @@ -123,20 +123,20 @@ HasDescription returns a boolean if a field has been set. ### GetInstalledDevice -`func (o *DeviceBayRequest) GetInstalledDevice() DeviceRequest` +`func (o *DeviceBayRequest) GetInstalledDevice() BriefDeviceRequest` GetInstalledDevice returns the InstalledDevice field if non-nil, zero value otherwise. ### GetInstalledDeviceOk -`func (o *DeviceBayRequest) GetInstalledDeviceOk() (*DeviceRequest, bool)` +`func (o *DeviceBayRequest) GetInstalledDeviceOk() (*BriefDeviceRequest, bool)` GetInstalledDeviceOk returns a tuple with the InstalledDevice field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetInstalledDevice -`func (o *DeviceBayRequest) SetInstalledDevice(v DeviceRequest)` +`func (o *DeviceBayRequest) SetInstalledDevice(v BriefDeviceRequest)` SetInstalledDevice sets InstalledDevice field to given value. diff --git a/docs/DeviceBayTemplate.md b/docs/DeviceBayTemplate.md index ffb6fdad4..a938074ce 100644 --- a/docs/DeviceBayTemplate.md +++ b/docs/DeviceBayTemplate.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] **Display** | **string** | | [readonly] -**DeviceType** | [**DeviceType**](DeviceType.md) | | +**DeviceType** | [**BriefDeviceType**](BriefDeviceType.md) | | **Name** | **string** | {module} is accepted as a substitution for the module bay position when attached to a module type. | **Label** | Pointer to **string** | Physical label | [optional] **Description** | Pointer to **string** | | [optional] @@ -18,7 +18,7 @@ Name | Type | Description | Notes ### NewDeviceBayTemplate -`func NewDeviceBayTemplate(id int32, url string, display string, deviceType DeviceType, name string, created NullableTime, lastUpdated NullableTime, ) *DeviceBayTemplate` +`func NewDeviceBayTemplate(id int32, url string, display string, deviceType BriefDeviceType, name string, created NullableTime, lastUpdated NullableTime, ) *DeviceBayTemplate` NewDeviceBayTemplate instantiates a new DeviceBayTemplate object This constructor will assign default values to properties that have it defined, @@ -95,20 +95,20 @@ SetDisplay sets Display field to given value. ### GetDeviceType -`func (o *DeviceBayTemplate) GetDeviceType() DeviceType` +`func (o *DeviceBayTemplate) GetDeviceType() BriefDeviceType` GetDeviceType returns the DeviceType field if non-nil, zero value otherwise. ### GetDeviceTypeOk -`func (o *DeviceBayTemplate) GetDeviceTypeOk() (*DeviceType, bool)` +`func (o *DeviceBayTemplate) GetDeviceTypeOk() (*BriefDeviceType, bool)` GetDeviceTypeOk returns a tuple with the DeviceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDeviceType -`func (o *DeviceBayTemplate) SetDeviceType(v DeviceType)` +`func (o *DeviceBayTemplate) SetDeviceType(v BriefDeviceType)` SetDeviceType sets DeviceType field to given value. diff --git a/docs/DeviceBayTemplateRequest.md b/docs/DeviceBayTemplateRequest.md index 48b82be6a..3dcbe7646 100644 --- a/docs/DeviceBayTemplateRequest.md +++ b/docs/DeviceBayTemplateRequest.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**DeviceType** | [**DeviceTypeRequest**](DeviceTypeRequest.md) | | +**DeviceType** | [**BriefDeviceTypeRequest**](BriefDeviceTypeRequest.md) | | **Name** | **string** | {module} is accepted as a substitution for the module bay position when attached to a module type. | **Label** | Pointer to **string** | Physical label | [optional] **Description** | Pointer to **string** | | [optional] @@ -13,7 +13,7 @@ Name | Type | Description | Notes ### NewDeviceBayTemplateRequest -`func NewDeviceBayTemplateRequest(deviceType DeviceTypeRequest, name string, ) *DeviceBayTemplateRequest` +`func NewDeviceBayTemplateRequest(deviceType BriefDeviceTypeRequest, name string, ) *DeviceBayTemplateRequest` NewDeviceBayTemplateRequest instantiates a new DeviceBayTemplateRequest object This constructor will assign default values to properties that have it defined, @@ -30,20 +30,20 @@ but it doesn't guarantee that properties required by API are set ### GetDeviceType -`func (o *DeviceBayTemplateRequest) GetDeviceType() DeviceTypeRequest` +`func (o *DeviceBayTemplateRequest) GetDeviceType() BriefDeviceTypeRequest` GetDeviceType returns the DeviceType field if non-nil, zero value otherwise. ### GetDeviceTypeOk -`func (o *DeviceBayTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool)` +`func (o *DeviceBayTemplateRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool)` GetDeviceTypeOk returns a tuple with the DeviceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDeviceType -`func (o *DeviceBayTemplateRequest) SetDeviceType(v DeviceTypeRequest)` +`func (o *DeviceBayTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest)` SetDeviceType sets DeviceType field to given value. diff --git a/docs/DeviceRole.md b/docs/DeviceRole.md index 69757a60f..6c7084f9a 100644 --- a/docs/DeviceRole.md +++ b/docs/DeviceRole.md @@ -6,18 +6,26 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Name** | **string** | | **Slug** | **string** | | +**Color** | Pointer to **string** | | [optional] +**VmRole** | Pointer to **bool** | Virtual machines may be assigned to this role | [optional] +**ConfigTemplate** | Pointer to [**NullableBriefConfigTemplate**](BriefConfigTemplate.md) | | [optional] **Description** | Pointer to **string** | | [optional] -**DeviceCount** | **int64** | | [readonly] -**VirtualmachineCount** | **int64** | | [readonly] +**Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] +**Created** | **NullableTime** | | [readonly] +**LastUpdated** | **NullableTime** | | [readonly] +**DeviceCount** | Pointer to **int64** | | [optional] [readonly] +**VirtualmachineCount** | Pointer to **int64** | | [optional] [readonly] ## Methods ### NewDeviceRole -`func NewDeviceRole(id int32, url string, display string, name string, slug string, deviceCount int64, virtualmachineCount int64, ) *DeviceRole` +`func NewDeviceRole(id int32, url string, display string, name string, slug string, created NullableTime, lastUpdated NullableTime, ) *DeviceRole` NewDeviceRole instantiates a new DeviceRole object This constructor will assign default values to properties that have it defined, @@ -72,6 +80,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *DeviceRole) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *DeviceRole) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *DeviceRole) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *DeviceRole) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *DeviceRole) GetDisplay() string` @@ -132,6 +165,91 @@ and a boolean to check if the value has been set. SetSlug sets Slug field to given value. +### GetColor + +`func (o *DeviceRole) GetColor() string` + +GetColor returns the Color field if non-nil, zero value otherwise. + +### GetColorOk + +`func (o *DeviceRole) GetColorOk() (*string, bool)` + +GetColorOk returns a tuple with the Color field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetColor + +`func (o *DeviceRole) SetColor(v string)` + +SetColor sets Color field to given value. + +### HasColor + +`func (o *DeviceRole) HasColor() bool` + +HasColor returns a boolean if a field has been set. + +### GetVmRole + +`func (o *DeviceRole) GetVmRole() bool` + +GetVmRole returns the VmRole field if non-nil, zero value otherwise. + +### GetVmRoleOk + +`func (o *DeviceRole) GetVmRoleOk() (*bool, bool)` + +GetVmRoleOk returns a tuple with the VmRole field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVmRole + +`func (o *DeviceRole) SetVmRole(v bool)` + +SetVmRole sets VmRole field to given value. + +### HasVmRole + +`func (o *DeviceRole) HasVmRole() bool` + +HasVmRole returns a boolean if a field has been set. + +### GetConfigTemplate + +`func (o *DeviceRole) GetConfigTemplate() BriefConfigTemplate` + +GetConfigTemplate returns the ConfigTemplate field if non-nil, zero value otherwise. + +### GetConfigTemplateOk + +`func (o *DeviceRole) GetConfigTemplateOk() (*BriefConfigTemplate, bool)` + +GetConfigTemplateOk returns a tuple with the ConfigTemplate field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetConfigTemplate + +`func (o *DeviceRole) SetConfigTemplate(v BriefConfigTemplate)` + +SetConfigTemplate sets ConfigTemplate field to given value. + +### HasConfigTemplate + +`func (o *DeviceRole) HasConfigTemplate() bool` + +HasConfigTemplate returns a boolean if a field has been set. + +### SetConfigTemplateNil + +`func (o *DeviceRole) SetConfigTemplateNil(b bool)` + + SetConfigTemplateNil sets the value for ConfigTemplate to be an explicit nil + +### UnsetConfigTemplate +`func (o *DeviceRole) UnsetConfigTemplate()` + +UnsetConfigTemplate ensures that no value is present for ConfigTemplate, not even an explicit nil ### GetDescription `func (o *DeviceRole) GetDescription() string` @@ -157,6 +275,116 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetTags + +`func (o *DeviceRole) GetTags() []NestedTag` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *DeviceRole) GetTagsOk() (*[]NestedTag, 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 *DeviceRole) SetTags(v []NestedTag)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *DeviceRole) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *DeviceRole) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *DeviceRole) 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 *DeviceRole) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *DeviceRole) HasCustomFields() bool` + +HasCustomFields returns a boolean if a field has been set. + +### GetCreated + +`func (o *DeviceRole) GetCreated() time.Time` + +GetCreated returns the Created field if non-nil, zero value otherwise. + +### GetCreatedOk + +`func (o *DeviceRole) 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 *DeviceRole) SetCreated(v time.Time)` + +SetCreated sets Created field to given value. + + +### SetCreatedNil + +`func (o *DeviceRole) SetCreatedNil(b bool)` + + SetCreatedNil sets the value for Created to be an explicit nil + +### UnsetCreated +`func (o *DeviceRole) UnsetCreated()` + +UnsetCreated ensures that no value is present for Created, not even an explicit nil +### GetLastUpdated + +`func (o *DeviceRole) GetLastUpdated() time.Time` + +GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise. + +### GetLastUpdatedOk + +`func (o *DeviceRole) 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 *DeviceRole) SetLastUpdated(v time.Time)` + +SetLastUpdated sets LastUpdated field to given value. + + +### SetLastUpdatedNil + +`func (o *DeviceRole) SetLastUpdatedNil(b bool)` + + SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil + +### UnsetLastUpdated +`func (o *DeviceRole) UnsetLastUpdated()` + +UnsetLastUpdated ensures that no value is present for LastUpdated, not even an explicit nil ### GetDeviceCount `func (o *DeviceRole) GetDeviceCount() int64` @@ -176,6 +404,11 @@ and a boolean to check if the value has been set. SetDeviceCount sets DeviceCount field to given value. +### HasDeviceCount + +`func (o *DeviceRole) HasDeviceCount() bool` + +HasDeviceCount returns a boolean if a field has been set. ### GetVirtualmachineCount @@ -196,6 +429,11 @@ and a boolean to check if the value has been set. SetVirtualmachineCount sets VirtualmachineCount field to given value. +### HasVirtualmachineCount + +`func (o *DeviceRole) HasVirtualmachineCount() bool` + +HasVirtualmachineCount 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/DeviceRoleRequest.md b/docs/DeviceRoleRequest.md index 63022acb9..05cd2213c 100644 --- a/docs/DeviceRoleRequest.md +++ b/docs/DeviceRoleRequest.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **Slug** | **string** | | **Color** | Pointer to **string** | | [optional] **VmRole** | Pointer to **bool** | Virtual machines may be assigned to this role | [optional] -**ConfigTemplate** | Pointer to [**NullableConfigTemplateRequest**](ConfigTemplateRequest.md) | | [optional] +**ConfigTemplate** | Pointer to [**NullableBriefConfigTemplateRequest**](BriefConfigTemplateRequest.md) | | [optional] **Description** | Pointer to **string** | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] @@ -124,20 +124,20 @@ HasVmRole returns a boolean if a field has been set. ### GetConfigTemplate -`func (o *DeviceRoleRequest) GetConfigTemplate() ConfigTemplateRequest` +`func (o *DeviceRoleRequest) GetConfigTemplate() BriefConfigTemplateRequest` GetConfigTemplate returns the ConfigTemplate field if non-nil, zero value otherwise. ### GetConfigTemplateOk -`func (o *DeviceRoleRequest) GetConfigTemplateOk() (*ConfigTemplateRequest, bool)` +`func (o *DeviceRoleRequest) GetConfigTemplateOk() (*BriefConfigTemplateRequest, bool)` GetConfigTemplateOk returns a tuple with the ConfigTemplate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetConfigTemplate -`func (o *DeviceRoleRequest) SetConfigTemplate(v ConfigTemplateRequest)` +`func (o *DeviceRoleRequest) SetConfigTemplate(v BriefConfigTemplateRequest)` SetConfigTemplate sets ConfigTemplate field to given value. diff --git a/docs/DeviceType.md b/docs/DeviceType.md index 0fd8ee228..1d8597c3d 100644 --- a/docs/DeviceType.md +++ b/docs/DeviceType.md @@ -6,18 +6,45 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] -**Manufacturer** | [**Manufacturer**](Manufacturer.md) | | +**Manufacturer** | [**BriefManufacturer**](BriefManufacturer.md) | | +**DefaultPlatform** | Pointer to [**NullableBriefPlatform**](BriefPlatform.md) | | [optional] **Model** | **string** | | **Slug** | **string** | | +**PartNumber** | Pointer to **string** | Discrete part number (optional) | [optional] +**UHeight** | Pointer to **float64** | | [optional] [default to 1.0] +**ExcludeFromUtilization** | Pointer to **bool** | Devices of this type are excluded when calculating rack utilization. | [optional] +**IsFullDepth** | Pointer to **bool** | Device consumes both front and rear rack faces. | [optional] +**SubdeviceRole** | Pointer to [**NullableDeviceTypeSubdeviceRole**](DeviceTypeSubdeviceRole.md) | | [optional] +**Airflow** | Pointer to [**NullableDeviceTypeAirflow**](DeviceTypeAirflow.md) | | [optional] +**Weight** | Pointer to **NullableFloat64** | | [optional] +**WeightUnit** | Pointer to [**NullableDeviceTypeWeightUnit**](DeviceTypeWeightUnit.md) | | [optional] +**FrontImage** | Pointer to **NullableString** | | [optional] +**RearImage** | Pointer to **NullableString** | | [optional] **Description** | Pointer to **string** | | [optional] -**DeviceCount** | **int64** | | [readonly] +**Comments** | Pointer to **string** | | [optional] +**Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] +**Created** | **NullableTime** | | [readonly] +**LastUpdated** | **NullableTime** | | [readonly] +**DeviceCount** | Pointer to **int64** | | [optional] [readonly] +**ConsolePortTemplateCount** | **int32** | | [readonly] +**ConsoleServerPortTemplateCount** | **int32** | | [readonly] +**PowerPortTemplateCount** | **int32** | | [readonly] +**PowerOutletTemplateCount** | **int32** | | [readonly] +**InterfaceTemplateCount** | **int32** | | [readonly] +**FrontPortTemplateCount** | **int32** | | [readonly] +**RearPortTemplateCount** | **int32** | | [readonly] +**DeviceBayTemplateCount** | **int32** | | [readonly] +**ModuleBayTemplateCount** | **int32** | | [readonly] +**InventoryItemTemplateCount** | **int32** | | [readonly] ## Methods ### NewDeviceType -`func NewDeviceType(id int32, url string, display string, manufacturer Manufacturer, model string, slug string, deviceCount int64, ) *DeviceType` +`func NewDeviceType(id int32, url string, display string, manufacturer BriefManufacturer, model string, slug string, created NullableTime, lastUpdated NullableTime, consolePortTemplateCount int32, consoleServerPortTemplateCount int32, powerPortTemplateCount int32, powerOutletTemplateCount int32, interfaceTemplateCount int32, frontPortTemplateCount int32, rearPortTemplateCount int32, deviceBayTemplateCount int32, moduleBayTemplateCount int32, inventoryItemTemplateCount int32, ) *DeviceType` NewDeviceType instantiates a new DeviceType object This constructor will assign default values to properties that have it defined, @@ -72,6 +99,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *DeviceType) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *DeviceType) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *DeviceType) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *DeviceType) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *DeviceType) GetDisplay() string` @@ -94,24 +146,59 @@ SetDisplay sets Display field to given value. ### GetManufacturer -`func (o *DeviceType) GetManufacturer() Manufacturer` +`func (o *DeviceType) GetManufacturer() BriefManufacturer` GetManufacturer returns the Manufacturer field if non-nil, zero value otherwise. ### GetManufacturerOk -`func (o *DeviceType) GetManufacturerOk() (*Manufacturer, bool)` +`func (o *DeviceType) GetManufacturerOk() (*BriefManufacturer, bool)` GetManufacturerOk returns a tuple with the Manufacturer field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetManufacturer -`func (o *DeviceType) SetManufacturer(v Manufacturer)` +`func (o *DeviceType) SetManufacturer(v BriefManufacturer)` SetManufacturer sets Manufacturer field to given value. +### GetDefaultPlatform + +`func (o *DeviceType) GetDefaultPlatform() BriefPlatform` + +GetDefaultPlatform returns the DefaultPlatform field if non-nil, zero value otherwise. + +### GetDefaultPlatformOk + +`func (o *DeviceType) GetDefaultPlatformOk() (*BriefPlatform, bool)` + +GetDefaultPlatformOk returns a tuple with the DefaultPlatform field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDefaultPlatform + +`func (o *DeviceType) SetDefaultPlatform(v BriefPlatform)` + +SetDefaultPlatform sets DefaultPlatform field to given value. + +### HasDefaultPlatform + +`func (o *DeviceType) HasDefaultPlatform() bool` + +HasDefaultPlatform returns a boolean if a field has been set. + +### SetDefaultPlatformNil + +`func (o *DeviceType) SetDefaultPlatformNil(b bool)` + + SetDefaultPlatformNil sets the value for DefaultPlatform to be an explicit nil + +### UnsetDefaultPlatform +`func (o *DeviceType) UnsetDefaultPlatform()` + +UnsetDefaultPlatform ensures that no value is present for DefaultPlatform, not even an explicit nil ### GetModel `func (o *DeviceType) GetModel() string` @@ -152,6 +239,316 @@ and a boolean to check if the value has been set. SetSlug sets Slug field to given value. +### GetPartNumber + +`func (o *DeviceType) GetPartNumber() string` + +GetPartNumber returns the PartNumber field if non-nil, zero value otherwise. + +### GetPartNumberOk + +`func (o *DeviceType) GetPartNumberOk() (*string, bool)` + +GetPartNumberOk returns a tuple with the PartNumber field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPartNumber + +`func (o *DeviceType) SetPartNumber(v string)` + +SetPartNumber sets PartNumber field to given value. + +### HasPartNumber + +`func (o *DeviceType) HasPartNumber() bool` + +HasPartNumber returns a boolean if a field has been set. + +### GetUHeight + +`func (o *DeviceType) GetUHeight() float64` + +GetUHeight returns the UHeight field if non-nil, zero value otherwise. + +### GetUHeightOk + +`func (o *DeviceType) GetUHeightOk() (*float64, bool)` + +GetUHeightOk returns a tuple with the UHeight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUHeight + +`func (o *DeviceType) SetUHeight(v float64)` + +SetUHeight sets UHeight field to given value. + +### HasUHeight + +`func (o *DeviceType) HasUHeight() bool` + +HasUHeight returns a boolean if a field has been set. + +### GetExcludeFromUtilization + +`func (o *DeviceType) GetExcludeFromUtilization() bool` + +GetExcludeFromUtilization returns the ExcludeFromUtilization field if non-nil, zero value otherwise. + +### GetExcludeFromUtilizationOk + +`func (o *DeviceType) GetExcludeFromUtilizationOk() (*bool, bool)` + +GetExcludeFromUtilizationOk returns a tuple with the ExcludeFromUtilization field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExcludeFromUtilization + +`func (o *DeviceType) SetExcludeFromUtilization(v bool)` + +SetExcludeFromUtilization sets ExcludeFromUtilization field to given value. + +### HasExcludeFromUtilization + +`func (o *DeviceType) HasExcludeFromUtilization() bool` + +HasExcludeFromUtilization returns a boolean if a field has been set. + +### GetIsFullDepth + +`func (o *DeviceType) GetIsFullDepth() bool` + +GetIsFullDepth returns the IsFullDepth field if non-nil, zero value otherwise. + +### GetIsFullDepthOk + +`func (o *DeviceType) GetIsFullDepthOk() (*bool, bool)` + +GetIsFullDepthOk returns a tuple with the IsFullDepth field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsFullDepth + +`func (o *DeviceType) SetIsFullDepth(v bool)` + +SetIsFullDepth sets IsFullDepth field to given value. + +### HasIsFullDepth + +`func (o *DeviceType) HasIsFullDepth() bool` + +HasIsFullDepth returns a boolean if a field has been set. + +### GetSubdeviceRole + +`func (o *DeviceType) GetSubdeviceRole() DeviceTypeSubdeviceRole` + +GetSubdeviceRole returns the SubdeviceRole field if non-nil, zero value otherwise. + +### GetSubdeviceRoleOk + +`func (o *DeviceType) GetSubdeviceRoleOk() (*DeviceTypeSubdeviceRole, bool)` + +GetSubdeviceRoleOk returns a tuple with the SubdeviceRole field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSubdeviceRole + +`func (o *DeviceType) SetSubdeviceRole(v DeviceTypeSubdeviceRole)` + +SetSubdeviceRole sets SubdeviceRole field to given value. + +### HasSubdeviceRole + +`func (o *DeviceType) HasSubdeviceRole() bool` + +HasSubdeviceRole returns a boolean if a field has been set. + +### SetSubdeviceRoleNil + +`func (o *DeviceType) SetSubdeviceRoleNil(b bool)` + + SetSubdeviceRoleNil sets the value for SubdeviceRole to be an explicit nil + +### UnsetSubdeviceRole +`func (o *DeviceType) UnsetSubdeviceRole()` + +UnsetSubdeviceRole ensures that no value is present for SubdeviceRole, not even an explicit nil +### GetAirflow + +`func (o *DeviceType) GetAirflow() DeviceTypeAirflow` + +GetAirflow returns the Airflow field if non-nil, zero value otherwise. + +### GetAirflowOk + +`func (o *DeviceType) GetAirflowOk() (*DeviceTypeAirflow, bool)` + +GetAirflowOk returns a tuple with the Airflow field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAirflow + +`func (o *DeviceType) SetAirflow(v DeviceTypeAirflow)` + +SetAirflow sets Airflow field to given value. + +### HasAirflow + +`func (o *DeviceType) HasAirflow() bool` + +HasAirflow returns a boolean if a field has been set. + +### SetAirflowNil + +`func (o *DeviceType) SetAirflowNil(b bool)` + + SetAirflowNil sets the value for Airflow to be an explicit nil + +### UnsetAirflow +`func (o *DeviceType) UnsetAirflow()` + +UnsetAirflow ensures that no value is present for Airflow, not even an explicit nil +### GetWeight + +`func (o *DeviceType) GetWeight() float64` + +GetWeight returns the Weight field if non-nil, zero value otherwise. + +### GetWeightOk + +`func (o *DeviceType) GetWeightOk() (*float64, bool)` + +GetWeightOk returns a tuple with the Weight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWeight + +`func (o *DeviceType) SetWeight(v float64)` + +SetWeight sets Weight field to given value. + +### HasWeight + +`func (o *DeviceType) HasWeight() bool` + +HasWeight returns a boolean if a field has been set. + +### SetWeightNil + +`func (o *DeviceType) SetWeightNil(b bool)` + + SetWeightNil sets the value for Weight to be an explicit nil + +### UnsetWeight +`func (o *DeviceType) UnsetWeight()` + +UnsetWeight ensures that no value is present for Weight, not even an explicit nil +### GetWeightUnit + +`func (o *DeviceType) GetWeightUnit() DeviceTypeWeightUnit` + +GetWeightUnit returns the WeightUnit field if non-nil, zero value otherwise. + +### GetWeightUnitOk + +`func (o *DeviceType) GetWeightUnitOk() (*DeviceTypeWeightUnit, bool)` + +GetWeightUnitOk returns a tuple with the WeightUnit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWeightUnit + +`func (o *DeviceType) SetWeightUnit(v DeviceTypeWeightUnit)` + +SetWeightUnit sets WeightUnit field to given value. + +### HasWeightUnit + +`func (o *DeviceType) HasWeightUnit() bool` + +HasWeightUnit returns a boolean if a field has been set. + +### SetWeightUnitNil + +`func (o *DeviceType) SetWeightUnitNil(b bool)` + + SetWeightUnitNil sets the value for WeightUnit to be an explicit nil + +### UnsetWeightUnit +`func (o *DeviceType) UnsetWeightUnit()` + +UnsetWeightUnit ensures that no value is present for WeightUnit, not even an explicit nil +### GetFrontImage + +`func (o *DeviceType) GetFrontImage() string` + +GetFrontImage returns the FrontImage field if non-nil, zero value otherwise. + +### GetFrontImageOk + +`func (o *DeviceType) GetFrontImageOk() (*string, bool)` + +GetFrontImageOk returns a tuple with the FrontImage field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFrontImage + +`func (o *DeviceType) SetFrontImage(v string)` + +SetFrontImage sets FrontImage field to given value. + +### HasFrontImage + +`func (o *DeviceType) HasFrontImage() bool` + +HasFrontImage returns a boolean if a field has been set. + +### SetFrontImageNil + +`func (o *DeviceType) SetFrontImageNil(b bool)` + + SetFrontImageNil sets the value for FrontImage to be an explicit nil + +### UnsetFrontImage +`func (o *DeviceType) UnsetFrontImage()` + +UnsetFrontImage ensures that no value is present for FrontImage, not even an explicit nil +### GetRearImage + +`func (o *DeviceType) GetRearImage() string` + +GetRearImage returns the RearImage field if non-nil, zero value otherwise. + +### GetRearImageOk + +`func (o *DeviceType) GetRearImageOk() (*string, bool)` + +GetRearImageOk returns a tuple with the RearImage field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRearImage + +`func (o *DeviceType) SetRearImage(v string)` + +SetRearImage sets RearImage field to given value. + +### HasRearImage + +`func (o *DeviceType) HasRearImage() bool` + +HasRearImage returns a boolean if a field has been set. + +### SetRearImageNil + +`func (o *DeviceType) SetRearImageNil(b bool)` + + SetRearImageNil sets the value for RearImage to be an explicit nil + +### UnsetRearImage +`func (o *DeviceType) UnsetRearImage()` + +UnsetRearImage ensures that no value is present for RearImage, not even an explicit nil ### GetDescription `func (o *DeviceType) GetDescription() string` @@ -177,6 +574,141 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetComments + +`func (o *DeviceType) GetComments() string` + +GetComments returns the Comments field if non-nil, zero value otherwise. + +### GetCommentsOk + +`func (o *DeviceType) GetCommentsOk() (*string, bool)` + +GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComments + +`func (o *DeviceType) SetComments(v string)` + +SetComments sets Comments field to given value. + +### HasComments + +`func (o *DeviceType) HasComments() bool` + +HasComments returns a boolean if a field has been set. + +### GetTags + +`func (o *DeviceType) GetTags() []NestedTag` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *DeviceType) GetTagsOk() (*[]NestedTag, 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 *DeviceType) SetTags(v []NestedTag)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *DeviceType) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *DeviceType) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *DeviceType) 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 *DeviceType) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *DeviceType) HasCustomFields() bool` + +HasCustomFields returns a boolean if a field has been set. + +### GetCreated + +`func (o *DeviceType) GetCreated() time.Time` + +GetCreated returns the Created field if non-nil, zero value otherwise. + +### GetCreatedOk + +`func (o *DeviceType) 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 *DeviceType) SetCreated(v time.Time)` + +SetCreated sets Created field to given value. + + +### SetCreatedNil + +`func (o *DeviceType) SetCreatedNil(b bool)` + + SetCreatedNil sets the value for Created to be an explicit nil + +### UnsetCreated +`func (o *DeviceType) UnsetCreated()` + +UnsetCreated ensures that no value is present for Created, not even an explicit nil +### GetLastUpdated + +`func (o *DeviceType) GetLastUpdated() time.Time` + +GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise. + +### GetLastUpdatedOk + +`func (o *DeviceType) 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 *DeviceType) SetLastUpdated(v time.Time)` + +SetLastUpdated sets LastUpdated field to given value. + + +### SetLastUpdatedNil + +`func (o *DeviceType) SetLastUpdatedNil(b bool)` + + SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil + +### UnsetLastUpdated +`func (o *DeviceType) UnsetLastUpdated()` + +UnsetLastUpdated ensures that no value is present for LastUpdated, not even an explicit nil ### GetDeviceCount `func (o *DeviceType) GetDeviceCount() int64` @@ -196,6 +728,211 @@ and a boolean to check if the value has been set. SetDeviceCount sets DeviceCount field to given value. +### HasDeviceCount + +`func (o *DeviceType) HasDeviceCount() bool` + +HasDeviceCount returns a boolean if a field has been set. + +### GetConsolePortTemplateCount + +`func (o *DeviceType) GetConsolePortTemplateCount() int32` + +GetConsolePortTemplateCount returns the ConsolePortTemplateCount field if non-nil, zero value otherwise. + +### GetConsolePortTemplateCountOk + +`func (o *DeviceType) GetConsolePortTemplateCountOk() (*int32, bool)` + +GetConsolePortTemplateCountOk returns a tuple with the ConsolePortTemplateCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetConsolePortTemplateCount + +`func (o *DeviceType) SetConsolePortTemplateCount(v int32)` + +SetConsolePortTemplateCount sets ConsolePortTemplateCount field to given value. + + +### GetConsoleServerPortTemplateCount + +`func (o *DeviceType) GetConsoleServerPortTemplateCount() int32` + +GetConsoleServerPortTemplateCount returns the ConsoleServerPortTemplateCount field if non-nil, zero value otherwise. + +### GetConsoleServerPortTemplateCountOk + +`func (o *DeviceType) GetConsoleServerPortTemplateCountOk() (*int32, bool)` + +GetConsoleServerPortTemplateCountOk returns a tuple with the ConsoleServerPortTemplateCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetConsoleServerPortTemplateCount + +`func (o *DeviceType) SetConsoleServerPortTemplateCount(v int32)` + +SetConsoleServerPortTemplateCount sets ConsoleServerPortTemplateCount field to given value. + + +### GetPowerPortTemplateCount + +`func (o *DeviceType) GetPowerPortTemplateCount() int32` + +GetPowerPortTemplateCount returns the PowerPortTemplateCount field if non-nil, zero value otherwise. + +### GetPowerPortTemplateCountOk + +`func (o *DeviceType) GetPowerPortTemplateCountOk() (*int32, bool)` + +GetPowerPortTemplateCountOk returns a tuple with the PowerPortTemplateCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPowerPortTemplateCount + +`func (o *DeviceType) SetPowerPortTemplateCount(v int32)` + +SetPowerPortTemplateCount sets PowerPortTemplateCount field to given value. + + +### GetPowerOutletTemplateCount + +`func (o *DeviceType) GetPowerOutletTemplateCount() int32` + +GetPowerOutletTemplateCount returns the PowerOutletTemplateCount field if non-nil, zero value otherwise. + +### GetPowerOutletTemplateCountOk + +`func (o *DeviceType) GetPowerOutletTemplateCountOk() (*int32, bool)` + +GetPowerOutletTemplateCountOk returns a tuple with the PowerOutletTemplateCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPowerOutletTemplateCount + +`func (o *DeviceType) SetPowerOutletTemplateCount(v int32)` + +SetPowerOutletTemplateCount sets PowerOutletTemplateCount field to given value. + + +### GetInterfaceTemplateCount + +`func (o *DeviceType) GetInterfaceTemplateCount() int32` + +GetInterfaceTemplateCount returns the InterfaceTemplateCount field if non-nil, zero value otherwise. + +### GetInterfaceTemplateCountOk + +`func (o *DeviceType) GetInterfaceTemplateCountOk() (*int32, bool)` + +GetInterfaceTemplateCountOk returns a tuple with the InterfaceTemplateCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetInterfaceTemplateCount + +`func (o *DeviceType) SetInterfaceTemplateCount(v int32)` + +SetInterfaceTemplateCount sets InterfaceTemplateCount field to given value. + + +### GetFrontPortTemplateCount + +`func (o *DeviceType) GetFrontPortTemplateCount() int32` + +GetFrontPortTemplateCount returns the FrontPortTemplateCount field if non-nil, zero value otherwise. + +### GetFrontPortTemplateCountOk + +`func (o *DeviceType) GetFrontPortTemplateCountOk() (*int32, bool)` + +GetFrontPortTemplateCountOk returns a tuple with the FrontPortTemplateCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFrontPortTemplateCount + +`func (o *DeviceType) SetFrontPortTemplateCount(v int32)` + +SetFrontPortTemplateCount sets FrontPortTemplateCount field to given value. + + +### GetRearPortTemplateCount + +`func (o *DeviceType) GetRearPortTemplateCount() int32` + +GetRearPortTemplateCount returns the RearPortTemplateCount field if non-nil, zero value otherwise. + +### GetRearPortTemplateCountOk + +`func (o *DeviceType) GetRearPortTemplateCountOk() (*int32, bool)` + +GetRearPortTemplateCountOk returns a tuple with the RearPortTemplateCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRearPortTemplateCount + +`func (o *DeviceType) SetRearPortTemplateCount(v int32)` + +SetRearPortTemplateCount sets RearPortTemplateCount field to given value. + + +### GetDeviceBayTemplateCount + +`func (o *DeviceType) GetDeviceBayTemplateCount() int32` + +GetDeviceBayTemplateCount returns the DeviceBayTemplateCount field if non-nil, zero value otherwise. + +### GetDeviceBayTemplateCountOk + +`func (o *DeviceType) GetDeviceBayTemplateCountOk() (*int32, bool)` + +GetDeviceBayTemplateCountOk returns a tuple with the DeviceBayTemplateCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDeviceBayTemplateCount + +`func (o *DeviceType) SetDeviceBayTemplateCount(v int32)` + +SetDeviceBayTemplateCount sets DeviceBayTemplateCount field to given value. + + +### GetModuleBayTemplateCount + +`func (o *DeviceType) GetModuleBayTemplateCount() int32` + +GetModuleBayTemplateCount returns the ModuleBayTemplateCount field if non-nil, zero value otherwise. + +### GetModuleBayTemplateCountOk + +`func (o *DeviceType) GetModuleBayTemplateCountOk() (*int32, bool)` + +GetModuleBayTemplateCountOk returns a tuple with the ModuleBayTemplateCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetModuleBayTemplateCount + +`func (o *DeviceType) SetModuleBayTemplateCount(v int32)` + +SetModuleBayTemplateCount sets ModuleBayTemplateCount field to given value. + + +### GetInventoryItemTemplateCount + +`func (o *DeviceType) GetInventoryItemTemplateCount() int32` + +GetInventoryItemTemplateCount returns the InventoryItemTemplateCount field if non-nil, zero value otherwise. + +### GetInventoryItemTemplateCountOk + +`func (o *DeviceType) GetInventoryItemTemplateCountOk() (*int32, bool)` + +GetInventoryItemTemplateCountOk returns a tuple with the InventoryItemTemplateCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetInventoryItemTemplateCount + +`func (o *DeviceType) SetInventoryItemTemplateCount(v int32)` + +SetInventoryItemTemplateCount sets InventoryItemTemplateCount 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/DeviceTypeAirflow.md b/docs/DeviceTypeAirflow.md new file mode 100644 index 000000000..fab620ce5 --- /dev/null +++ b/docs/DeviceTypeAirflow.md @@ -0,0 +1,82 @@ +# DeviceTypeAirflow + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Value** | Pointer to [**DeviceAirflowValue**](DeviceAirflowValue.md) | | [optional] +**Label** | Pointer to [**DeviceAirflowLabel**](DeviceAirflowLabel.md) | | [optional] + +## Methods + +### NewDeviceTypeAirflow + +`func NewDeviceTypeAirflow() *DeviceTypeAirflow` + +NewDeviceTypeAirflow instantiates a new DeviceTypeAirflow object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDeviceTypeAirflowWithDefaults + +`func NewDeviceTypeAirflowWithDefaults() *DeviceTypeAirflow` + +NewDeviceTypeAirflowWithDefaults instantiates a new DeviceTypeAirflow object +This 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 *DeviceTypeAirflow) GetValue() DeviceAirflowValue` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *DeviceTypeAirflow) GetValueOk() (*DeviceAirflowValue, 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 *DeviceTypeAirflow) SetValue(v DeviceAirflowValue)` + +SetValue sets Value field to given value. + +### HasValue + +`func (o *DeviceTypeAirflow) HasValue() bool` + +HasValue returns a boolean if a field has been set. + +### GetLabel + +`func (o *DeviceTypeAirflow) GetLabel() DeviceAirflowLabel` + +GetLabel returns the Label field if non-nil, zero value otherwise. + +### GetLabelOk + +`func (o *DeviceTypeAirflow) GetLabelOk() (*DeviceAirflowLabel, 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 *DeviceTypeAirflow) SetLabel(v DeviceAirflowLabel)` + +SetLabel sets Label field to given value. + +### HasLabel + +`func (o *DeviceTypeAirflow) 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/DeviceTypeRequest.md b/docs/DeviceTypeRequest.md index a5e6c3add..8f7d9822f 100644 --- a/docs/DeviceTypeRequest.md +++ b/docs/DeviceTypeRequest.md @@ -4,16 +4,30 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Manufacturer** | [**ManufacturerRequest**](ManufacturerRequest.md) | | +**Manufacturer** | [**BriefManufacturerRequest**](BriefManufacturerRequest.md) | | +**DefaultPlatform** | Pointer to [**NullableBriefPlatformRequest**](BriefPlatformRequest.md) | | [optional] **Model** | **string** | | **Slug** | **string** | | +**PartNumber** | Pointer to **string** | Discrete part number (optional) | [optional] +**UHeight** | Pointer to **float64** | | [optional] [default to 1.0] +**ExcludeFromUtilization** | Pointer to **bool** | Devices of this type are excluded when calculating rack utilization. | [optional] +**IsFullDepth** | Pointer to **bool** | Device consumes both front and rear rack faces. | [optional] +**SubdeviceRole** | Pointer to [**NullableDeviceTypeRequestSubdeviceRole**](DeviceTypeRequestSubdeviceRole.md) | | [optional] +**Airflow** | Pointer to [**NullableDeviceTypeRequestAirflow**](DeviceTypeRequestAirflow.md) | | [optional] +**Weight** | Pointer to **NullableFloat64** | | [optional] +**WeightUnit** | Pointer to [**NullableDeviceTypeRequestWeightUnit**](DeviceTypeRequestWeightUnit.md) | | [optional] +**FrontImage** | Pointer to ***os.File** | | [optional] +**RearImage** | Pointer to ***os.File** | | [optional] **Description** | Pointer to **string** | | [optional] +**Comments** | Pointer to **string** | | [optional] +**Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] ## Methods ### NewDeviceTypeRequest -`func NewDeviceTypeRequest(manufacturer ManufacturerRequest, model string, slug string, ) *DeviceTypeRequest` +`func NewDeviceTypeRequest(manufacturer BriefManufacturerRequest, model string, slug string, ) *DeviceTypeRequest` NewDeviceTypeRequest instantiates a new DeviceTypeRequest object This constructor will assign default values to properties that have it defined, @@ -30,24 +44,59 @@ but it doesn't guarantee that properties required by API are set ### GetManufacturer -`func (o *DeviceTypeRequest) GetManufacturer() ManufacturerRequest` +`func (o *DeviceTypeRequest) GetManufacturer() BriefManufacturerRequest` GetManufacturer returns the Manufacturer field if non-nil, zero value otherwise. ### GetManufacturerOk -`func (o *DeviceTypeRequest) GetManufacturerOk() (*ManufacturerRequest, bool)` +`func (o *DeviceTypeRequest) GetManufacturerOk() (*BriefManufacturerRequest, bool)` GetManufacturerOk returns a tuple with the Manufacturer field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetManufacturer -`func (o *DeviceTypeRequest) SetManufacturer(v ManufacturerRequest)` +`func (o *DeviceTypeRequest) SetManufacturer(v BriefManufacturerRequest)` SetManufacturer sets Manufacturer field to given value. +### GetDefaultPlatform + +`func (o *DeviceTypeRequest) GetDefaultPlatform() BriefPlatformRequest` + +GetDefaultPlatform returns the DefaultPlatform field if non-nil, zero value otherwise. + +### GetDefaultPlatformOk + +`func (o *DeviceTypeRequest) GetDefaultPlatformOk() (*BriefPlatformRequest, bool)` + +GetDefaultPlatformOk returns a tuple with the DefaultPlatform field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDefaultPlatform + +`func (o *DeviceTypeRequest) SetDefaultPlatform(v BriefPlatformRequest)` + +SetDefaultPlatform sets DefaultPlatform field to given value. + +### HasDefaultPlatform + +`func (o *DeviceTypeRequest) HasDefaultPlatform() bool` + +HasDefaultPlatform returns a boolean if a field has been set. + +### SetDefaultPlatformNil + +`func (o *DeviceTypeRequest) SetDefaultPlatformNil(b bool)` + + SetDefaultPlatformNil sets the value for DefaultPlatform to be an explicit nil + +### UnsetDefaultPlatform +`func (o *DeviceTypeRequest) UnsetDefaultPlatform()` + +UnsetDefaultPlatform ensures that no value is present for DefaultPlatform, not even an explicit nil ### GetModel `func (o *DeviceTypeRequest) GetModel() string` @@ -88,6 +137,296 @@ and a boolean to check if the value has been set. SetSlug sets Slug field to given value. +### GetPartNumber + +`func (o *DeviceTypeRequest) GetPartNumber() string` + +GetPartNumber returns the PartNumber field if non-nil, zero value otherwise. + +### GetPartNumberOk + +`func (o *DeviceTypeRequest) GetPartNumberOk() (*string, bool)` + +GetPartNumberOk returns a tuple with the PartNumber field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPartNumber + +`func (o *DeviceTypeRequest) SetPartNumber(v string)` + +SetPartNumber sets PartNumber field to given value. + +### HasPartNumber + +`func (o *DeviceTypeRequest) HasPartNumber() bool` + +HasPartNumber returns a boolean if a field has been set. + +### GetUHeight + +`func (o *DeviceTypeRequest) GetUHeight() float64` + +GetUHeight returns the UHeight field if non-nil, zero value otherwise. + +### GetUHeightOk + +`func (o *DeviceTypeRequest) GetUHeightOk() (*float64, bool)` + +GetUHeightOk returns a tuple with the UHeight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUHeight + +`func (o *DeviceTypeRequest) SetUHeight(v float64)` + +SetUHeight sets UHeight field to given value. + +### HasUHeight + +`func (o *DeviceTypeRequest) HasUHeight() bool` + +HasUHeight returns a boolean if a field has been set. + +### GetExcludeFromUtilization + +`func (o *DeviceTypeRequest) GetExcludeFromUtilization() bool` + +GetExcludeFromUtilization returns the ExcludeFromUtilization field if non-nil, zero value otherwise. + +### GetExcludeFromUtilizationOk + +`func (o *DeviceTypeRequest) GetExcludeFromUtilizationOk() (*bool, bool)` + +GetExcludeFromUtilizationOk returns a tuple with the ExcludeFromUtilization field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExcludeFromUtilization + +`func (o *DeviceTypeRequest) SetExcludeFromUtilization(v bool)` + +SetExcludeFromUtilization sets ExcludeFromUtilization field to given value. + +### HasExcludeFromUtilization + +`func (o *DeviceTypeRequest) HasExcludeFromUtilization() bool` + +HasExcludeFromUtilization returns a boolean if a field has been set. + +### GetIsFullDepth + +`func (o *DeviceTypeRequest) GetIsFullDepth() bool` + +GetIsFullDepth returns the IsFullDepth field if non-nil, zero value otherwise. + +### GetIsFullDepthOk + +`func (o *DeviceTypeRequest) GetIsFullDepthOk() (*bool, bool)` + +GetIsFullDepthOk returns a tuple with the IsFullDepth field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsFullDepth + +`func (o *DeviceTypeRequest) SetIsFullDepth(v bool)` + +SetIsFullDepth sets IsFullDepth field to given value. + +### HasIsFullDepth + +`func (o *DeviceTypeRequest) HasIsFullDepth() bool` + +HasIsFullDepth returns a boolean if a field has been set. + +### GetSubdeviceRole + +`func (o *DeviceTypeRequest) GetSubdeviceRole() DeviceTypeRequestSubdeviceRole` + +GetSubdeviceRole returns the SubdeviceRole field if non-nil, zero value otherwise. + +### GetSubdeviceRoleOk + +`func (o *DeviceTypeRequest) GetSubdeviceRoleOk() (*DeviceTypeRequestSubdeviceRole, bool)` + +GetSubdeviceRoleOk returns a tuple with the SubdeviceRole field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSubdeviceRole + +`func (o *DeviceTypeRequest) SetSubdeviceRole(v DeviceTypeRequestSubdeviceRole)` + +SetSubdeviceRole sets SubdeviceRole field to given value. + +### HasSubdeviceRole + +`func (o *DeviceTypeRequest) HasSubdeviceRole() bool` + +HasSubdeviceRole returns a boolean if a field has been set. + +### SetSubdeviceRoleNil + +`func (o *DeviceTypeRequest) SetSubdeviceRoleNil(b bool)` + + SetSubdeviceRoleNil sets the value for SubdeviceRole to be an explicit nil + +### UnsetSubdeviceRole +`func (o *DeviceTypeRequest) UnsetSubdeviceRole()` + +UnsetSubdeviceRole ensures that no value is present for SubdeviceRole, not even an explicit nil +### GetAirflow + +`func (o *DeviceTypeRequest) GetAirflow() DeviceTypeRequestAirflow` + +GetAirflow returns the Airflow field if non-nil, zero value otherwise. + +### GetAirflowOk + +`func (o *DeviceTypeRequest) GetAirflowOk() (*DeviceTypeRequestAirflow, bool)` + +GetAirflowOk returns a tuple with the Airflow field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAirflow + +`func (o *DeviceTypeRequest) SetAirflow(v DeviceTypeRequestAirflow)` + +SetAirflow sets Airflow field to given value. + +### HasAirflow + +`func (o *DeviceTypeRequest) HasAirflow() bool` + +HasAirflow returns a boolean if a field has been set. + +### SetAirflowNil + +`func (o *DeviceTypeRequest) SetAirflowNil(b bool)` + + SetAirflowNil sets the value for Airflow to be an explicit nil + +### UnsetAirflow +`func (o *DeviceTypeRequest) UnsetAirflow()` + +UnsetAirflow ensures that no value is present for Airflow, not even an explicit nil +### GetWeight + +`func (o *DeviceTypeRequest) GetWeight() float64` + +GetWeight returns the Weight field if non-nil, zero value otherwise. + +### GetWeightOk + +`func (o *DeviceTypeRequest) GetWeightOk() (*float64, bool)` + +GetWeightOk returns a tuple with the Weight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWeight + +`func (o *DeviceTypeRequest) SetWeight(v float64)` + +SetWeight sets Weight field to given value. + +### HasWeight + +`func (o *DeviceTypeRequest) HasWeight() bool` + +HasWeight returns a boolean if a field has been set. + +### SetWeightNil + +`func (o *DeviceTypeRequest) SetWeightNil(b bool)` + + SetWeightNil sets the value for Weight to be an explicit nil + +### UnsetWeight +`func (o *DeviceTypeRequest) UnsetWeight()` + +UnsetWeight ensures that no value is present for Weight, not even an explicit nil +### GetWeightUnit + +`func (o *DeviceTypeRequest) GetWeightUnit() DeviceTypeRequestWeightUnit` + +GetWeightUnit returns the WeightUnit field if non-nil, zero value otherwise. + +### GetWeightUnitOk + +`func (o *DeviceTypeRequest) GetWeightUnitOk() (*DeviceTypeRequestWeightUnit, bool)` + +GetWeightUnitOk returns a tuple with the WeightUnit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWeightUnit + +`func (o *DeviceTypeRequest) SetWeightUnit(v DeviceTypeRequestWeightUnit)` + +SetWeightUnit sets WeightUnit field to given value. + +### HasWeightUnit + +`func (o *DeviceTypeRequest) HasWeightUnit() bool` + +HasWeightUnit returns a boolean if a field has been set. + +### SetWeightUnitNil + +`func (o *DeviceTypeRequest) SetWeightUnitNil(b bool)` + + SetWeightUnitNil sets the value for WeightUnit to be an explicit nil + +### UnsetWeightUnit +`func (o *DeviceTypeRequest) UnsetWeightUnit()` + +UnsetWeightUnit ensures that no value is present for WeightUnit, not even an explicit nil +### GetFrontImage + +`func (o *DeviceTypeRequest) GetFrontImage() *os.File` + +GetFrontImage returns the FrontImage field if non-nil, zero value otherwise. + +### GetFrontImageOk + +`func (o *DeviceTypeRequest) GetFrontImageOk() (**os.File, bool)` + +GetFrontImageOk returns a tuple with the FrontImage field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFrontImage + +`func (o *DeviceTypeRequest) SetFrontImage(v *os.File)` + +SetFrontImage sets FrontImage field to given value. + +### HasFrontImage + +`func (o *DeviceTypeRequest) HasFrontImage() bool` + +HasFrontImage returns a boolean if a field has been set. + +### GetRearImage + +`func (o *DeviceTypeRequest) GetRearImage() *os.File` + +GetRearImage returns the RearImage field if non-nil, zero value otherwise. + +### GetRearImageOk + +`func (o *DeviceTypeRequest) GetRearImageOk() (**os.File, bool)` + +GetRearImageOk returns a tuple with the RearImage field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRearImage + +`func (o *DeviceTypeRequest) SetRearImage(v *os.File)` + +SetRearImage sets RearImage field to given value. + +### HasRearImage + +`func (o *DeviceTypeRequest) HasRearImage() bool` + +HasRearImage returns a boolean if a field has been set. + ### GetDescription `func (o *DeviceTypeRequest) GetDescription() string` @@ -113,6 +452,81 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetComments + +`func (o *DeviceTypeRequest) GetComments() string` + +GetComments returns the Comments field if non-nil, zero value otherwise. + +### GetCommentsOk + +`func (o *DeviceTypeRequest) GetCommentsOk() (*string, bool)` + +GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComments + +`func (o *DeviceTypeRequest) SetComments(v string)` + +SetComments sets Comments field to given value. + +### HasComments + +`func (o *DeviceTypeRequest) HasComments() bool` + +HasComments returns a boolean if a field has been set. + +### GetTags + +`func (o *DeviceTypeRequest) GetTags() []NestedTagRequest` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *DeviceTypeRequest) GetTagsOk() (*[]NestedTagRequest, 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 *DeviceTypeRequest) SetTags(v []NestedTagRequest)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *DeviceTypeRequest) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *DeviceTypeRequest) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *DeviceTypeRequest) 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 *DeviceTypeRequest) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *DeviceTypeRequest) 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/DeviceTypeRequestAirflow.md b/docs/DeviceTypeRequestAirflow.md new file mode 100644 index 000000000..db29e38f3 --- /dev/null +++ b/docs/DeviceTypeRequestAirflow.md @@ -0,0 +1,25 @@ +# DeviceTypeRequestAirflow + +## Enum + + +* `FRONT_TO_REAR` (value: `"front-to-rear"`) + +* `REAR_TO_FRONT` (value: `"rear-to-front"`) + +* `LEFT_TO_RIGHT` (value: `"left-to-right"`) + +* `RIGHT_TO_LEFT` (value: `"right-to-left"`) + +* `SIDE_TO_REAR` (value: `"side-to-rear"`) + +* `PASSIVE` (value: `"passive"`) + +* `MIXED` (value: `"mixed"`) + +* `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/DeviceTypeRequestSubdeviceRole.md b/docs/DeviceTypeRequestSubdeviceRole.md new file mode 100644 index 000000000..b25ddf765 --- /dev/null +++ b/docs/DeviceTypeRequestSubdeviceRole.md @@ -0,0 +1,15 @@ +# DeviceTypeRequestSubdeviceRole + +## Enum + + +* `PARENT` (value: `"parent"`) + +* `CHILD` (value: `"child"`) + +* `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/DeviceTypeRequestWeightUnit.md b/docs/DeviceTypeRequestWeightUnit.md new file mode 100644 index 000000000..ea9ac170d --- /dev/null +++ b/docs/DeviceTypeRequestWeightUnit.md @@ -0,0 +1,19 @@ +# DeviceTypeRequestWeightUnit + +## Enum + + +* `KG` (value: `"kg"`) + +* `G` (value: `"g"`) + +* `LB` (value: `"lb"`) + +* `OZ` (value: `"oz"`) + +* `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/DeviceTypeSubdeviceRole.md b/docs/DeviceTypeSubdeviceRole.md new file mode 100644 index 000000000..f1209e70a --- /dev/null +++ b/docs/DeviceTypeSubdeviceRole.md @@ -0,0 +1,82 @@ +# DeviceTypeSubdeviceRole + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Value** | Pointer to [**DeviceTypeSubdeviceRoleValue**](DeviceTypeSubdeviceRoleValue.md) | | [optional] +**Label** | Pointer to [**DeviceTypeSubdeviceRoleLabel**](DeviceTypeSubdeviceRoleLabel.md) | | [optional] + +## Methods + +### NewDeviceTypeSubdeviceRole + +`func NewDeviceTypeSubdeviceRole() *DeviceTypeSubdeviceRole` + +NewDeviceTypeSubdeviceRole instantiates a new DeviceTypeSubdeviceRole object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDeviceTypeSubdeviceRoleWithDefaults + +`func NewDeviceTypeSubdeviceRoleWithDefaults() *DeviceTypeSubdeviceRole` + +NewDeviceTypeSubdeviceRoleWithDefaults instantiates a new DeviceTypeSubdeviceRole object +This 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 *DeviceTypeSubdeviceRole) GetValue() DeviceTypeSubdeviceRoleValue` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *DeviceTypeSubdeviceRole) GetValueOk() (*DeviceTypeSubdeviceRoleValue, 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 *DeviceTypeSubdeviceRole) SetValue(v DeviceTypeSubdeviceRoleValue)` + +SetValue sets Value field to given value. + +### HasValue + +`func (o *DeviceTypeSubdeviceRole) HasValue() bool` + +HasValue returns a boolean if a field has been set. + +### GetLabel + +`func (o *DeviceTypeSubdeviceRole) GetLabel() DeviceTypeSubdeviceRoleLabel` + +GetLabel returns the Label field if non-nil, zero value otherwise. + +### GetLabelOk + +`func (o *DeviceTypeSubdeviceRole) GetLabelOk() (*DeviceTypeSubdeviceRoleLabel, 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 *DeviceTypeSubdeviceRole) SetLabel(v DeviceTypeSubdeviceRoleLabel)` + +SetLabel sets Label field to given value. + +### HasLabel + +`func (o *DeviceTypeSubdeviceRole) 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/DeviceTypeSubdeviceRoleLabel.md b/docs/DeviceTypeSubdeviceRoleLabel.md new file mode 100644 index 000000000..0df3e3f7f --- /dev/null +++ b/docs/DeviceTypeSubdeviceRoleLabel.md @@ -0,0 +1,13 @@ +# DeviceTypeSubdeviceRoleLabel + +## Enum + + +* `PARENT` (value: `"Parent"`) + +* `CHILD` (value: `"Child"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DeviceTypeSubdeviceRoleValue.md b/docs/DeviceTypeSubdeviceRoleValue.md new file mode 100644 index 000000000..21912d530 --- /dev/null +++ b/docs/DeviceTypeSubdeviceRoleValue.md @@ -0,0 +1,15 @@ +# DeviceTypeSubdeviceRoleValue + +## Enum + + +* `PARENT` (value: `"parent"`) + +* `CHILD` (value: `"child"`) + +* `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/DeviceTypeWeightUnit.md b/docs/DeviceTypeWeightUnit.md new file mode 100644 index 000000000..a4ff2942b --- /dev/null +++ b/docs/DeviceTypeWeightUnit.md @@ -0,0 +1,82 @@ +# DeviceTypeWeightUnit + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Value** | Pointer to [**DeviceTypeWeightUnitValue**](DeviceTypeWeightUnitValue.md) | | [optional] +**Label** | Pointer to [**DeviceTypeWeightUnitLabel**](DeviceTypeWeightUnitLabel.md) | | [optional] + +## Methods + +### NewDeviceTypeWeightUnit + +`func NewDeviceTypeWeightUnit() *DeviceTypeWeightUnit` + +NewDeviceTypeWeightUnit instantiates a new DeviceTypeWeightUnit object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDeviceTypeWeightUnitWithDefaults + +`func NewDeviceTypeWeightUnitWithDefaults() *DeviceTypeWeightUnit` + +NewDeviceTypeWeightUnitWithDefaults instantiates a new DeviceTypeWeightUnit object +This 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 *DeviceTypeWeightUnit) GetValue() DeviceTypeWeightUnitValue` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *DeviceTypeWeightUnit) GetValueOk() (*DeviceTypeWeightUnitValue, 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 *DeviceTypeWeightUnit) SetValue(v DeviceTypeWeightUnitValue)` + +SetValue sets Value field to given value. + +### HasValue + +`func (o *DeviceTypeWeightUnit) HasValue() bool` + +HasValue returns a boolean if a field has been set. + +### GetLabel + +`func (o *DeviceTypeWeightUnit) GetLabel() DeviceTypeWeightUnitLabel` + +GetLabel returns the Label field if non-nil, zero value otherwise. + +### GetLabelOk + +`func (o *DeviceTypeWeightUnit) GetLabelOk() (*DeviceTypeWeightUnitLabel, 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 *DeviceTypeWeightUnit) SetLabel(v DeviceTypeWeightUnitLabel)` + +SetLabel sets Label field to given value. + +### HasLabel + +`func (o *DeviceTypeWeightUnit) 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/DeviceTypeWeightUnitLabel.md b/docs/DeviceTypeWeightUnitLabel.md new file mode 100644 index 000000000..ccc9d2c7a --- /dev/null +++ b/docs/DeviceTypeWeightUnitLabel.md @@ -0,0 +1,17 @@ +# DeviceTypeWeightUnitLabel + +## Enum + + +* `KILOGRAMS` (value: `"Kilograms"`) + +* `GRAMS` (value: `"Grams"`) + +* `POUNDS` (value: `"Pounds"`) + +* `OUNCES` (value: `"Ounces"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DeviceTypeWeightUnitValue.md b/docs/DeviceTypeWeightUnitValue.md new file mode 100644 index 000000000..4d8026e60 --- /dev/null +++ b/docs/DeviceTypeWeightUnitValue.md @@ -0,0 +1,19 @@ +# DeviceTypeWeightUnitValue + +## Enum + + +* `KG` (value: `"kg"`) + +* `G` (value: `"g"`) + +* `LB` (value: `"lb"`) + +* `OZ` (value: `"oz"`) + +* `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/DeviceWithConfigContext.md b/docs/DeviceWithConfigContext.md index 570136c0d..ccff8144b 100644 --- a/docs/DeviceWithConfigContext.md +++ b/docs/DeviceWithConfigContext.md @@ -6,17 +6,18 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Name** | Pointer to **NullableString** | | [optional] -**DeviceType** | [**DeviceType**](DeviceType.md) | | -**Role** | [**DeviceRole**](DeviceRole.md) | | -**Tenant** | Pointer to [**NullableTenant**](Tenant.md) | | [optional] -**Platform** | Pointer to [**NullablePlatform**](Platform.md) | | [optional] +**DeviceType** | [**BriefDeviceType**](BriefDeviceType.md) | | +**Role** | [**BriefDeviceRole**](BriefDeviceRole.md) | | +**Tenant** | Pointer to [**NullableBriefTenant**](BriefTenant.md) | | [optional] +**Platform** | Pointer to [**NullableBriefPlatform**](BriefPlatform.md) | | [optional] **Serial** | Pointer to **string** | Chassis serial number, assigned by the manufacturer | [optional] **AssetTag** | Pointer to **NullableString** | A unique tag used to identify this device | [optional] -**Site** | [**Site**](Site.md) | | -**Location** | Pointer to [**NullableLocation**](Location.md) | | [optional] -**Rack** | Pointer to [**NullableRack**](Rack.md) | | [optional] +**Site** | [**BriefSite**](BriefSite.md) | | +**Location** | Pointer to [**NullableBriefLocation**](BriefLocation.md) | | [optional] +**Rack** | Pointer to [**NullableBriefRack**](BriefRack.md) | | [optional] **Position** | Pointer to **NullableFloat64** | | [optional] **Face** | Pointer to [**DeviceFace**](DeviceFace.md) | | [optional] **Latitude** | Pointer to **NullableFloat64** | GPS coordinate in decimal format (xx.yyyyyy) | [optional] @@ -24,17 +25,17 @@ Name | Type | Description | Notes **ParentDevice** | [**NullableNestedDevice**](NestedDevice.md) | | [readonly] **Status** | Pointer to [**DeviceStatus**](DeviceStatus.md) | | [optional] **Airflow** | Pointer to [**DeviceAirflow**](DeviceAirflow.md) | | [optional] -**PrimaryIp** | [**NullableIPAddress**](IPAddress.md) | | [readonly] -**PrimaryIp4** | Pointer to [**NullableIPAddress**](IPAddress.md) | | [optional] -**PrimaryIp6** | Pointer to [**NullableIPAddress**](IPAddress.md) | | [optional] -**OobIp** | Pointer to [**NullableIPAddress**](IPAddress.md) | | [optional] -**Cluster** | Pointer to [**NullableCluster**](Cluster.md) | | [optional] -**VirtualChassis** | Pointer to [**NullableVirtualChassis**](VirtualChassis.md) | | [optional] +**PrimaryIp** | [**NullableBriefIPAddress**](BriefIPAddress.md) | | [readonly] +**PrimaryIp4** | Pointer to [**NullableBriefIPAddress**](BriefIPAddress.md) | | [optional] +**PrimaryIp6** | Pointer to [**NullableBriefIPAddress**](BriefIPAddress.md) | | [optional] +**OobIp** | Pointer to [**NullableBriefIPAddress**](BriefIPAddress.md) | | [optional] +**Cluster** | Pointer to [**NullableBriefCluster**](BriefCluster.md) | | [optional] +**VirtualChassis** | Pointer to [**NullableBriefVirtualChassis**](BriefVirtualChassis.md) | | [optional] **VcPosition** | Pointer to **NullableInt32** | | [optional] **VcPriority** | Pointer to **NullableInt32** | Virtual chassis master election priority | [optional] **Description** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] -**ConfigTemplate** | Pointer to [**NullableConfigTemplate**](ConfigTemplate.md) | | [optional] +**ConfigTemplate** | Pointer to [**NullableBriefConfigTemplate**](BriefConfigTemplate.md) | | [optional] **ConfigContext** | **interface{}** | | [readonly] **LocalContextData** | Pointer to **interface{}** | Local config context data takes precedence over source contexts in the final rendered config context | [optional] **Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] @@ -56,7 +57,7 @@ Name | Type | Description | Notes ### NewDeviceWithConfigContext -`func NewDeviceWithConfigContext(id int32, url string, display string, deviceType DeviceType, role DeviceRole, site Site, parentDevice NullableNestedDevice, primaryIp NullableIPAddress, configContext interface{}, created NullableTime, lastUpdated NullableTime, consolePortCount int32, consoleServerPortCount int32, powerPortCount int32, powerOutletCount int32, interfaceCount int32, frontPortCount int32, rearPortCount int32, deviceBayCount int32, moduleBayCount int32, inventoryItemCount int32, ) *DeviceWithConfigContext` +`func NewDeviceWithConfigContext(id int32, url string, display string, deviceType BriefDeviceType, role BriefDeviceRole, site BriefSite, parentDevice NullableNestedDevice, primaryIp NullableBriefIPAddress, configContext interface{}, created NullableTime, lastUpdated NullableTime, consolePortCount int32, consoleServerPortCount int32, powerPortCount int32, powerOutletCount int32, interfaceCount int32, frontPortCount int32, rearPortCount int32, deviceBayCount int32, moduleBayCount int32, inventoryItemCount int32, ) *DeviceWithConfigContext` NewDeviceWithConfigContext instantiates a new DeviceWithConfigContext object This constructor will assign default values to properties that have it defined, @@ -111,6 +112,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *DeviceWithConfigContext) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *DeviceWithConfigContext) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *DeviceWithConfigContext) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *DeviceWithConfigContext) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *DeviceWithConfigContext) GetDisplay() string` @@ -168,60 +194,60 @@ HasName returns a boolean if a field has been set. UnsetName ensures that no value is present for Name, not even an explicit nil ### GetDeviceType -`func (o *DeviceWithConfigContext) GetDeviceType() DeviceType` +`func (o *DeviceWithConfigContext) GetDeviceType() BriefDeviceType` GetDeviceType returns the DeviceType field if non-nil, zero value otherwise. ### GetDeviceTypeOk -`func (o *DeviceWithConfigContext) GetDeviceTypeOk() (*DeviceType, bool)` +`func (o *DeviceWithConfigContext) GetDeviceTypeOk() (*BriefDeviceType, bool)` GetDeviceTypeOk returns a tuple with the DeviceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDeviceType -`func (o *DeviceWithConfigContext) SetDeviceType(v DeviceType)` +`func (o *DeviceWithConfigContext) SetDeviceType(v BriefDeviceType)` SetDeviceType sets DeviceType field to given value. ### GetRole -`func (o *DeviceWithConfigContext) GetRole() DeviceRole` +`func (o *DeviceWithConfigContext) GetRole() BriefDeviceRole` GetRole returns the Role field if non-nil, zero value otherwise. ### GetRoleOk -`func (o *DeviceWithConfigContext) GetRoleOk() (*DeviceRole, bool)` +`func (o *DeviceWithConfigContext) GetRoleOk() (*BriefDeviceRole, 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 *DeviceWithConfigContext) SetRole(v DeviceRole)` +`func (o *DeviceWithConfigContext) SetRole(v BriefDeviceRole)` SetRole sets Role field to given value. ### GetTenant -`func (o *DeviceWithConfigContext) GetTenant() Tenant` +`func (o *DeviceWithConfigContext) GetTenant() BriefTenant` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *DeviceWithConfigContext) GetTenantOk() (*Tenant, bool)` +`func (o *DeviceWithConfigContext) GetTenantOk() (*BriefTenant, 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 *DeviceWithConfigContext) SetTenant(v Tenant)` +`func (o *DeviceWithConfigContext) SetTenant(v BriefTenant)` SetTenant sets Tenant field to given value. @@ -243,20 +269,20 @@ HasTenant returns a boolean if a field has been set. UnsetTenant ensures that no value is present for Tenant, not even an explicit nil ### GetPlatform -`func (o *DeviceWithConfigContext) GetPlatform() Platform` +`func (o *DeviceWithConfigContext) GetPlatform() BriefPlatform` GetPlatform returns the Platform field if non-nil, zero value otherwise. ### GetPlatformOk -`func (o *DeviceWithConfigContext) GetPlatformOk() (*Platform, bool)` +`func (o *DeviceWithConfigContext) GetPlatformOk() (*BriefPlatform, bool)` GetPlatformOk returns a tuple with the Platform field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPlatform -`func (o *DeviceWithConfigContext) SetPlatform(v Platform)` +`func (o *DeviceWithConfigContext) SetPlatform(v BriefPlatform)` SetPlatform sets Platform field to given value. @@ -338,40 +364,40 @@ HasAssetTag returns a boolean if a field has been set. UnsetAssetTag ensures that no value is present for AssetTag, not even an explicit nil ### GetSite -`func (o *DeviceWithConfigContext) GetSite() Site` +`func (o *DeviceWithConfigContext) GetSite() BriefSite` GetSite returns the Site field if non-nil, zero value otherwise. ### GetSiteOk -`func (o *DeviceWithConfigContext) GetSiteOk() (*Site, bool)` +`func (o *DeviceWithConfigContext) GetSiteOk() (*BriefSite, bool)` GetSiteOk returns a tuple with the Site field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSite -`func (o *DeviceWithConfigContext) SetSite(v Site)` +`func (o *DeviceWithConfigContext) SetSite(v BriefSite)` SetSite sets Site field to given value. ### GetLocation -`func (o *DeviceWithConfigContext) GetLocation() Location` +`func (o *DeviceWithConfigContext) GetLocation() BriefLocation` GetLocation returns the Location field if non-nil, zero value otherwise. ### GetLocationOk -`func (o *DeviceWithConfigContext) GetLocationOk() (*Location, bool)` +`func (o *DeviceWithConfigContext) GetLocationOk() (*BriefLocation, 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 *DeviceWithConfigContext) SetLocation(v Location)` +`func (o *DeviceWithConfigContext) SetLocation(v BriefLocation)` SetLocation sets Location field to given value. @@ -393,20 +419,20 @@ HasLocation returns a boolean if a field has been set. UnsetLocation ensures that no value is present for Location, not even an explicit nil ### GetRack -`func (o *DeviceWithConfigContext) GetRack() Rack` +`func (o *DeviceWithConfigContext) GetRack() BriefRack` GetRack returns the Rack field if non-nil, zero value otherwise. ### GetRackOk -`func (o *DeviceWithConfigContext) GetRackOk() (*Rack, bool)` +`func (o *DeviceWithConfigContext) GetRackOk() (*BriefRack, bool)` GetRackOk returns a tuple with the Rack field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRack -`func (o *DeviceWithConfigContext) SetRack(v Rack)` +`func (o *DeviceWithConfigContext) SetRack(v BriefRack)` SetRack sets Rack field to given value. @@ -638,20 +664,20 @@ HasAirflow returns a boolean if a field has been set. ### GetPrimaryIp -`func (o *DeviceWithConfigContext) GetPrimaryIp() IPAddress` +`func (o *DeviceWithConfigContext) GetPrimaryIp() BriefIPAddress` GetPrimaryIp returns the PrimaryIp field if non-nil, zero value otherwise. ### GetPrimaryIpOk -`func (o *DeviceWithConfigContext) GetPrimaryIpOk() (*IPAddress, bool)` +`func (o *DeviceWithConfigContext) GetPrimaryIpOk() (*BriefIPAddress, bool)` GetPrimaryIpOk returns a tuple with the PrimaryIp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPrimaryIp -`func (o *DeviceWithConfigContext) SetPrimaryIp(v IPAddress)` +`func (o *DeviceWithConfigContext) SetPrimaryIp(v BriefIPAddress)` SetPrimaryIp sets PrimaryIp field to given value. @@ -668,20 +694,20 @@ SetPrimaryIp sets PrimaryIp field to given value. UnsetPrimaryIp ensures that no value is present for PrimaryIp, not even an explicit nil ### GetPrimaryIp4 -`func (o *DeviceWithConfigContext) GetPrimaryIp4() IPAddress` +`func (o *DeviceWithConfigContext) GetPrimaryIp4() BriefIPAddress` GetPrimaryIp4 returns the PrimaryIp4 field if non-nil, zero value otherwise. ### GetPrimaryIp4Ok -`func (o *DeviceWithConfigContext) GetPrimaryIp4Ok() (*IPAddress, bool)` +`func (o *DeviceWithConfigContext) GetPrimaryIp4Ok() (*BriefIPAddress, 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 *DeviceWithConfigContext) SetPrimaryIp4(v IPAddress)` +`func (o *DeviceWithConfigContext) SetPrimaryIp4(v BriefIPAddress)` SetPrimaryIp4 sets PrimaryIp4 field to given value. @@ -703,20 +729,20 @@ HasPrimaryIp4 returns a boolean if a field has been set. UnsetPrimaryIp4 ensures that no value is present for PrimaryIp4, not even an explicit nil ### GetPrimaryIp6 -`func (o *DeviceWithConfigContext) GetPrimaryIp6() IPAddress` +`func (o *DeviceWithConfigContext) GetPrimaryIp6() BriefIPAddress` GetPrimaryIp6 returns the PrimaryIp6 field if non-nil, zero value otherwise. ### GetPrimaryIp6Ok -`func (o *DeviceWithConfigContext) GetPrimaryIp6Ok() (*IPAddress, bool)` +`func (o *DeviceWithConfigContext) GetPrimaryIp6Ok() (*BriefIPAddress, 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 *DeviceWithConfigContext) SetPrimaryIp6(v IPAddress)` +`func (o *DeviceWithConfigContext) SetPrimaryIp6(v BriefIPAddress)` SetPrimaryIp6 sets PrimaryIp6 field to given value. @@ -738,20 +764,20 @@ HasPrimaryIp6 returns a boolean if a field has been set. UnsetPrimaryIp6 ensures that no value is present for PrimaryIp6, not even an explicit nil ### GetOobIp -`func (o *DeviceWithConfigContext) GetOobIp() IPAddress` +`func (o *DeviceWithConfigContext) GetOobIp() BriefIPAddress` GetOobIp returns the OobIp field if non-nil, zero value otherwise. ### GetOobIpOk -`func (o *DeviceWithConfigContext) GetOobIpOk() (*IPAddress, bool)` +`func (o *DeviceWithConfigContext) GetOobIpOk() (*BriefIPAddress, bool)` GetOobIpOk returns a tuple with the OobIp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetOobIp -`func (o *DeviceWithConfigContext) SetOobIp(v IPAddress)` +`func (o *DeviceWithConfigContext) SetOobIp(v BriefIPAddress)` SetOobIp sets OobIp field to given value. @@ -773,20 +799,20 @@ HasOobIp returns a boolean if a field has been set. UnsetOobIp ensures that no value is present for OobIp, not even an explicit nil ### GetCluster -`func (o *DeviceWithConfigContext) GetCluster() Cluster` +`func (o *DeviceWithConfigContext) GetCluster() BriefCluster` GetCluster returns the Cluster field if non-nil, zero value otherwise. ### GetClusterOk -`func (o *DeviceWithConfigContext) GetClusterOk() (*Cluster, bool)` +`func (o *DeviceWithConfigContext) GetClusterOk() (*BriefCluster, bool)` GetClusterOk returns a tuple with the Cluster field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCluster -`func (o *DeviceWithConfigContext) SetCluster(v Cluster)` +`func (o *DeviceWithConfigContext) SetCluster(v BriefCluster)` SetCluster sets Cluster field to given value. @@ -808,20 +834,20 @@ HasCluster returns a boolean if a field has been set. UnsetCluster ensures that no value is present for Cluster, not even an explicit nil ### GetVirtualChassis -`func (o *DeviceWithConfigContext) GetVirtualChassis() VirtualChassis` +`func (o *DeviceWithConfigContext) GetVirtualChassis() BriefVirtualChassis` GetVirtualChassis returns the VirtualChassis field if non-nil, zero value otherwise. ### GetVirtualChassisOk -`func (o *DeviceWithConfigContext) GetVirtualChassisOk() (*VirtualChassis, bool)` +`func (o *DeviceWithConfigContext) GetVirtualChassisOk() (*BriefVirtualChassis, bool)` GetVirtualChassisOk returns a tuple with the VirtualChassis field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVirtualChassis -`func (o *DeviceWithConfigContext) SetVirtualChassis(v VirtualChassis)` +`func (o *DeviceWithConfigContext) SetVirtualChassis(v BriefVirtualChassis)` SetVirtualChassis sets VirtualChassis field to given value. @@ -963,20 +989,20 @@ HasComments returns a boolean if a field has been set. ### GetConfigTemplate -`func (o *DeviceWithConfigContext) GetConfigTemplate() ConfigTemplate` +`func (o *DeviceWithConfigContext) GetConfigTemplate() BriefConfigTemplate` GetConfigTemplate returns the ConfigTemplate field if non-nil, zero value otherwise. ### GetConfigTemplateOk -`func (o *DeviceWithConfigContext) GetConfigTemplateOk() (*ConfigTemplate, bool)` +`func (o *DeviceWithConfigContext) GetConfigTemplateOk() (*BriefConfigTemplate, bool)` GetConfigTemplateOk returns a tuple with the ConfigTemplate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetConfigTemplate -`func (o *DeviceWithConfigContext) SetConfigTemplate(v ConfigTemplate)` +`func (o *DeviceWithConfigContext) SetConfigTemplate(v BriefConfigTemplate)` SetConfigTemplate sets ConfigTemplate field to given value. diff --git a/docs/DeviceWithConfigContextRequest.md b/docs/DeviceWithConfigContextRequest.md index 6d521edef..d32891dde 100644 --- a/docs/DeviceWithConfigContextRequest.md +++ b/docs/DeviceWithConfigContextRequest.md @@ -5,31 +5,31 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | Pointer to **NullableString** | | [optional] -**DeviceType** | [**DeviceTypeRequest**](DeviceTypeRequest.md) | | -**Role** | [**DeviceRoleRequest**](DeviceRoleRequest.md) | | -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] -**Platform** | Pointer to [**NullablePlatformRequest**](PlatformRequest.md) | | [optional] +**DeviceType** | [**BriefDeviceTypeRequest**](BriefDeviceTypeRequest.md) | | +**Role** | [**BriefDeviceRoleRequest**](BriefDeviceRoleRequest.md) | | +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] +**Platform** | Pointer to [**NullableBriefPlatformRequest**](BriefPlatformRequest.md) | | [optional] **Serial** | Pointer to **string** | Chassis serial number, assigned by the manufacturer | [optional] **AssetTag** | Pointer to **NullableString** | A unique tag used to identify this device | [optional] -**Site** | [**SiteRequest**](SiteRequest.md) | | -**Location** | Pointer to [**NullableLocationRequest**](LocationRequest.md) | | [optional] -**Rack** | Pointer to [**NullableRackRequest**](RackRequest.md) | | [optional] +**Site** | [**BriefSiteRequest**](BriefSiteRequest.md) | | +**Location** | Pointer to [**NullableBriefLocationRequest**](BriefLocationRequest.md) | | [optional] +**Rack** | Pointer to [**NullableBriefRackRequest**](BriefRackRequest.md) | | [optional] **Position** | Pointer to **NullableFloat64** | | [optional] **Face** | Pointer to [**DeviceFaceValue**](DeviceFaceValue.md) | | [optional] **Latitude** | Pointer to **NullableFloat64** | GPS coordinate in decimal format (xx.yyyyyy) | [optional] **Longitude** | Pointer to **NullableFloat64** | GPS coordinate in decimal format (xx.yyyyyy) | [optional] **Status** | Pointer to [**DeviceStatusValue**](DeviceStatusValue.md) | | [optional] **Airflow** | Pointer to [**DeviceAirflowValue**](DeviceAirflowValue.md) | | [optional] -**PrimaryIp4** | Pointer to [**NullableIPAddressRequest**](IPAddressRequest.md) | | [optional] -**PrimaryIp6** | Pointer to [**NullableIPAddressRequest**](IPAddressRequest.md) | | [optional] -**OobIp** | Pointer to [**NullableIPAddressRequest**](IPAddressRequest.md) | | [optional] -**Cluster** | Pointer to [**NullableClusterRequest**](ClusterRequest.md) | | [optional] -**VirtualChassis** | Pointer to [**NullableVirtualChassisRequest**](VirtualChassisRequest.md) | | [optional] +**PrimaryIp4** | Pointer to [**NullableBriefIPAddressRequest**](BriefIPAddressRequest.md) | | [optional] +**PrimaryIp6** | Pointer to [**NullableBriefIPAddressRequest**](BriefIPAddressRequest.md) | | [optional] +**OobIp** | Pointer to [**NullableBriefIPAddressRequest**](BriefIPAddressRequest.md) | | [optional] +**Cluster** | Pointer to [**NullableBriefClusterRequest**](BriefClusterRequest.md) | | [optional] +**VirtualChassis** | Pointer to [**NullableBriefVirtualChassisRequest**](BriefVirtualChassisRequest.md) | | [optional] **VcPosition** | Pointer to **NullableInt32** | | [optional] **VcPriority** | Pointer to **NullableInt32** | Virtual chassis master election priority | [optional] **Description** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] -**ConfigTemplate** | Pointer to [**NullableConfigTemplateRequest**](ConfigTemplateRequest.md) | | [optional] +**ConfigTemplate** | Pointer to [**NullableBriefConfigTemplateRequest**](BriefConfigTemplateRequest.md) | | [optional] **LocalContextData** | Pointer to **interface{}** | Local config context data takes precedence over source contexts in the final rendered config context | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] @@ -38,7 +38,7 @@ Name | Type | Description | Notes ### NewDeviceWithConfigContextRequest -`func NewDeviceWithConfigContextRequest(deviceType DeviceTypeRequest, role DeviceRoleRequest, site SiteRequest, ) *DeviceWithConfigContextRequest` +`func NewDeviceWithConfigContextRequest(deviceType BriefDeviceTypeRequest, role BriefDeviceRoleRequest, site BriefSiteRequest, ) *DeviceWithConfigContextRequest` NewDeviceWithConfigContextRequest instantiates a new DeviceWithConfigContextRequest object This constructor will assign default values to properties that have it defined, @@ -90,60 +90,60 @@ HasName returns a boolean if a field has been set. UnsetName ensures that no value is present for Name, not even an explicit nil ### GetDeviceType -`func (o *DeviceWithConfigContextRequest) GetDeviceType() DeviceTypeRequest` +`func (o *DeviceWithConfigContextRequest) GetDeviceType() BriefDeviceTypeRequest` GetDeviceType returns the DeviceType field if non-nil, zero value otherwise. ### GetDeviceTypeOk -`func (o *DeviceWithConfigContextRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool)` +`func (o *DeviceWithConfigContextRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool)` GetDeviceTypeOk returns a tuple with the DeviceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDeviceType -`func (o *DeviceWithConfigContextRequest) SetDeviceType(v DeviceTypeRequest)` +`func (o *DeviceWithConfigContextRequest) SetDeviceType(v BriefDeviceTypeRequest)` SetDeviceType sets DeviceType field to given value. ### GetRole -`func (o *DeviceWithConfigContextRequest) GetRole() DeviceRoleRequest` +`func (o *DeviceWithConfigContextRequest) GetRole() BriefDeviceRoleRequest` GetRole returns the Role field if non-nil, zero value otherwise. ### GetRoleOk -`func (o *DeviceWithConfigContextRequest) GetRoleOk() (*DeviceRoleRequest, bool)` +`func (o *DeviceWithConfigContextRequest) GetRoleOk() (*BriefDeviceRoleRequest, 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 *DeviceWithConfigContextRequest) SetRole(v DeviceRoleRequest)` +`func (o *DeviceWithConfigContextRequest) SetRole(v BriefDeviceRoleRequest)` SetRole sets Role field to given value. ### GetTenant -`func (o *DeviceWithConfigContextRequest) GetTenant() TenantRequest` +`func (o *DeviceWithConfigContextRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *DeviceWithConfigContextRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *DeviceWithConfigContextRequest) GetTenantOk() (*BriefTenantRequest, 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 *DeviceWithConfigContextRequest) SetTenant(v TenantRequest)` +`func (o *DeviceWithConfigContextRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. @@ -165,20 +165,20 @@ HasTenant returns a boolean if a field has been set. UnsetTenant ensures that no value is present for Tenant, not even an explicit nil ### GetPlatform -`func (o *DeviceWithConfigContextRequest) GetPlatform() PlatformRequest` +`func (o *DeviceWithConfigContextRequest) GetPlatform() BriefPlatformRequest` GetPlatform returns the Platform field if non-nil, zero value otherwise. ### GetPlatformOk -`func (o *DeviceWithConfigContextRequest) GetPlatformOk() (*PlatformRequest, bool)` +`func (o *DeviceWithConfigContextRequest) GetPlatformOk() (*BriefPlatformRequest, bool)` GetPlatformOk returns a tuple with the Platform field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPlatform -`func (o *DeviceWithConfigContextRequest) SetPlatform(v PlatformRequest)` +`func (o *DeviceWithConfigContextRequest) SetPlatform(v BriefPlatformRequest)` SetPlatform sets Platform field to given value. @@ -260,40 +260,40 @@ HasAssetTag returns a boolean if a field has been set. UnsetAssetTag ensures that no value is present for AssetTag, not even an explicit nil ### GetSite -`func (o *DeviceWithConfigContextRequest) GetSite() SiteRequest` +`func (o *DeviceWithConfigContextRequest) GetSite() BriefSiteRequest` GetSite returns the Site field if non-nil, zero value otherwise. ### GetSiteOk -`func (o *DeviceWithConfigContextRequest) GetSiteOk() (*SiteRequest, bool)` +`func (o *DeviceWithConfigContextRequest) GetSiteOk() (*BriefSiteRequest, bool)` GetSiteOk returns a tuple with the Site field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSite -`func (o *DeviceWithConfigContextRequest) SetSite(v SiteRequest)` +`func (o *DeviceWithConfigContextRequest) SetSite(v BriefSiteRequest)` SetSite sets Site field to given value. ### GetLocation -`func (o *DeviceWithConfigContextRequest) GetLocation() LocationRequest` +`func (o *DeviceWithConfigContextRequest) GetLocation() BriefLocationRequest` GetLocation returns the Location field if non-nil, zero value otherwise. ### GetLocationOk -`func (o *DeviceWithConfigContextRequest) GetLocationOk() (*LocationRequest, bool)` +`func (o *DeviceWithConfigContextRequest) GetLocationOk() (*BriefLocationRequest, 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 *DeviceWithConfigContextRequest) SetLocation(v LocationRequest)` +`func (o *DeviceWithConfigContextRequest) SetLocation(v BriefLocationRequest)` SetLocation sets Location field to given value. @@ -315,20 +315,20 @@ HasLocation returns a boolean if a field has been set. UnsetLocation ensures that no value is present for Location, not even an explicit nil ### GetRack -`func (o *DeviceWithConfigContextRequest) GetRack() RackRequest` +`func (o *DeviceWithConfigContextRequest) GetRack() BriefRackRequest` GetRack returns the Rack field if non-nil, zero value otherwise. ### GetRackOk -`func (o *DeviceWithConfigContextRequest) GetRackOk() (*RackRequest, bool)` +`func (o *DeviceWithConfigContextRequest) GetRackOk() (*BriefRackRequest, bool)` GetRackOk returns a tuple with the Rack field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRack -`func (o *DeviceWithConfigContextRequest) SetRack(v RackRequest)` +`func (o *DeviceWithConfigContextRequest) SetRack(v BriefRackRequest)` SetRack sets Rack field to given value. @@ -530,20 +530,20 @@ HasAirflow returns a boolean if a field has been set. ### GetPrimaryIp4 -`func (o *DeviceWithConfigContextRequest) GetPrimaryIp4() IPAddressRequest` +`func (o *DeviceWithConfigContextRequest) GetPrimaryIp4() BriefIPAddressRequest` GetPrimaryIp4 returns the PrimaryIp4 field if non-nil, zero value otherwise. ### GetPrimaryIp4Ok -`func (o *DeviceWithConfigContextRequest) GetPrimaryIp4Ok() (*IPAddressRequest, bool)` +`func (o *DeviceWithConfigContextRequest) GetPrimaryIp4Ok() (*BriefIPAddressRequest, 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 *DeviceWithConfigContextRequest) SetPrimaryIp4(v IPAddressRequest)` +`func (o *DeviceWithConfigContextRequest) SetPrimaryIp4(v BriefIPAddressRequest)` SetPrimaryIp4 sets PrimaryIp4 field to given value. @@ -565,20 +565,20 @@ HasPrimaryIp4 returns a boolean if a field has been set. UnsetPrimaryIp4 ensures that no value is present for PrimaryIp4, not even an explicit nil ### GetPrimaryIp6 -`func (o *DeviceWithConfigContextRequest) GetPrimaryIp6() IPAddressRequest` +`func (o *DeviceWithConfigContextRequest) GetPrimaryIp6() BriefIPAddressRequest` GetPrimaryIp6 returns the PrimaryIp6 field if non-nil, zero value otherwise. ### GetPrimaryIp6Ok -`func (o *DeviceWithConfigContextRequest) GetPrimaryIp6Ok() (*IPAddressRequest, bool)` +`func (o *DeviceWithConfigContextRequest) GetPrimaryIp6Ok() (*BriefIPAddressRequest, 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 *DeviceWithConfigContextRequest) SetPrimaryIp6(v IPAddressRequest)` +`func (o *DeviceWithConfigContextRequest) SetPrimaryIp6(v BriefIPAddressRequest)` SetPrimaryIp6 sets PrimaryIp6 field to given value. @@ -600,20 +600,20 @@ HasPrimaryIp6 returns a boolean if a field has been set. UnsetPrimaryIp6 ensures that no value is present for PrimaryIp6, not even an explicit nil ### GetOobIp -`func (o *DeviceWithConfigContextRequest) GetOobIp() IPAddressRequest` +`func (o *DeviceWithConfigContextRequest) GetOobIp() BriefIPAddressRequest` GetOobIp returns the OobIp field if non-nil, zero value otherwise. ### GetOobIpOk -`func (o *DeviceWithConfigContextRequest) GetOobIpOk() (*IPAddressRequest, bool)` +`func (o *DeviceWithConfigContextRequest) GetOobIpOk() (*BriefIPAddressRequest, bool)` GetOobIpOk returns a tuple with the OobIp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetOobIp -`func (o *DeviceWithConfigContextRequest) SetOobIp(v IPAddressRequest)` +`func (o *DeviceWithConfigContextRequest) SetOobIp(v BriefIPAddressRequest)` SetOobIp sets OobIp field to given value. @@ -635,20 +635,20 @@ HasOobIp returns a boolean if a field has been set. UnsetOobIp ensures that no value is present for OobIp, not even an explicit nil ### GetCluster -`func (o *DeviceWithConfigContextRequest) GetCluster() ClusterRequest` +`func (o *DeviceWithConfigContextRequest) GetCluster() BriefClusterRequest` GetCluster returns the Cluster field if non-nil, zero value otherwise. ### GetClusterOk -`func (o *DeviceWithConfigContextRequest) GetClusterOk() (*ClusterRequest, bool)` +`func (o *DeviceWithConfigContextRequest) GetClusterOk() (*BriefClusterRequest, bool)` GetClusterOk returns a tuple with the Cluster field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCluster -`func (o *DeviceWithConfigContextRequest) SetCluster(v ClusterRequest)` +`func (o *DeviceWithConfigContextRequest) SetCluster(v BriefClusterRequest)` SetCluster sets Cluster field to given value. @@ -670,20 +670,20 @@ HasCluster returns a boolean if a field has been set. UnsetCluster ensures that no value is present for Cluster, not even an explicit nil ### GetVirtualChassis -`func (o *DeviceWithConfigContextRequest) GetVirtualChassis() VirtualChassisRequest` +`func (o *DeviceWithConfigContextRequest) GetVirtualChassis() BriefVirtualChassisRequest` GetVirtualChassis returns the VirtualChassis field if non-nil, zero value otherwise. ### GetVirtualChassisOk -`func (o *DeviceWithConfigContextRequest) GetVirtualChassisOk() (*VirtualChassisRequest, bool)` +`func (o *DeviceWithConfigContextRequest) GetVirtualChassisOk() (*BriefVirtualChassisRequest, bool)` GetVirtualChassisOk returns a tuple with the VirtualChassis field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVirtualChassis -`func (o *DeviceWithConfigContextRequest) SetVirtualChassis(v VirtualChassisRequest)` +`func (o *DeviceWithConfigContextRequest) SetVirtualChassis(v BriefVirtualChassisRequest)` SetVirtualChassis sets VirtualChassis field to given value. @@ -825,20 +825,20 @@ HasComments returns a boolean if a field has been set. ### GetConfigTemplate -`func (o *DeviceWithConfigContextRequest) GetConfigTemplate() ConfigTemplateRequest` +`func (o *DeviceWithConfigContextRequest) GetConfigTemplate() BriefConfigTemplateRequest` GetConfigTemplate returns the ConfigTemplate field if non-nil, zero value otherwise. ### GetConfigTemplateOk -`func (o *DeviceWithConfigContextRequest) GetConfigTemplateOk() (*ConfigTemplateRequest, bool)` +`func (o *DeviceWithConfigContextRequest) GetConfigTemplateOk() (*BriefConfigTemplateRequest, bool)` GetConfigTemplateOk returns a tuple with the ConfigTemplate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetConfigTemplate -`func (o *DeviceWithConfigContextRequest) SetConfigTemplate(v ConfigTemplateRequest)` +`func (o *DeviceWithConfigContextRequest) SetConfigTemplate(v BriefConfigTemplateRequest)` SetConfigTemplate sets ConfigTemplate field to given value. diff --git a/docs/Encryption.md b/docs/Encryption.md index f08f84591..9b35b28be 100644 --- a/docs/Encryption.md +++ b/docs/Encryption.md @@ -3,6 +3,10 @@ ## Enum +* `EMPTY` (value: `""`) + +* `_3DES_CBC` (value: `"3des-cbc"`) + * `AES_128_CBC` (value: `"aes-128-cbc"`) * `AES_128_GCM` (value: `"aes-128-gcm"`) @@ -15,12 +19,8 @@ * `AES_256_GCM` (value: `"aes-256-gcm"`) -* `_3DES_CBC` (value: `"3des-cbc"`) - * `DES_CBC` (value: `"des-cbc"`) -* `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/Encryption1.md b/docs/Encryption1.md new file mode 100644 index 000000000..7c066768e --- /dev/null +++ b/docs/Encryption1.md @@ -0,0 +1,27 @@ +# Encryption1 + +## Enum + + +* `AES_128_CBC` (value: `"aes-128-cbc"`) + +* `AES_128_GCM` (value: `"aes-128-gcm"`) + +* `AES_192_CBC` (value: `"aes-192-cbc"`) + +* `AES_192_GCM` (value: `"aes-192-gcm"`) + +* `AES_256_CBC` (value: `"aes-256-cbc"`) + +* `AES_256_GCM` (value: `"aes-256-gcm"`) + +* `_3DES_CBC` (value: `"3des-cbc"`) + +* `DES_CBC` (value: `"des-cbc"`) + +* `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/Event.md b/docs/Event.md new file mode 100644 index 000000000..7a5163f0b --- /dev/null +++ b/docs/Event.md @@ -0,0 +1,23 @@ +# Event + +## Enum + + +* `OBJECT_CREATED` (value: `"object_created"`) + +* `OBJECT_UPDATED` (value: `"object_updated"`) + +* `OBJECT_DELETED` (value: `"object_deleted"`) + +* `JOB_STARTED` (value: `"job_started"`) + +* `JOB_COMPLETED` (value: `"job_completed"`) + +* `JOB_FAILED` (value: `"job_failed"`) + +* `JOB_ERRORED` (value: `"job_errored"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EventRule.md b/docs/EventRule.md index fa879bc56..6630dc6d6 100644 --- a/docs/EventRule.md +++ b/docs/EventRule.md @@ -6,15 +6,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **ObjectTypes** | **[]string** | | **Name** | **string** | | -**TypeCreate** | Pointer to **bool** | Triggers when a matching object is created. | [optional] -**TypeUpdate** | Pointer to **bool** | Triggers when a matching object is updated. | [optional] -**TypeDelete** | Pointer to **bool** | Triggers when a matching object is deleted. | [optional] -**TypeJobStart** | Pointer to **bool** | Triggers when a job for a matching object is started. | [optional] -**TypeJobEnd** | Pointer to **bool** | Triggers when a job for a matching object terminates. | [optional] **Enabled** | Pointer to **bool** | | [optional] +**EventTypes** | [**[]EventRuleEventTypesInner**](EventRuleEventTypesInner.md) | The types of event which will trigger this rule. | **Conditions** | Pointer to **interface{}** | A set of conditions which determine whether the event will be generated. | [optional] **ActionType** | [**EventRuleActionType**](EventRuleActionType.md) | | **ActionObjectType** | **string** | | @@ -30,7 +27,7 @@ Name | Type | Description | Notes ### NewEventRule -`func NewEventRule(id int32, url string, display string, objectTypes []string, name string, actionType EventRuleActionType, actionObjectType string, actionObject map[string]interface{}, created NullableTime, lastUpdated NullableTime, ) *EventRule` +`func NewEventRule(id int32, url string, display string, objectTypes []string, name string, eventTypes []EventRuleEventTypesInner, actionType EventRuleActionType, actionObjectType string, actionObject map[string]interface{}, created NullableTime, lastUpdated NullableTime, ) *EventRule` NewEventRule instantiates a new EventRule object This constructor will assign default values to properties that have it defined, @@ -85,6 +82,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *EventRule) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *EventRule) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *EventRule) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *EventRule) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *EventRule) GetDisplay() string` @@ -145,131 +167,6 @@ and a boolean to check if the value has been set. SetName sets Name field to given value. -### GetTypeCreate - -`func (o *EventRule) GetTypeCreate() bool` - -GetTypeCreate returns the TypeCreate field if non-nil, zero value otherwise. - -### GetTypeCreateOk - -`func (o *EventRule) GetTypeCreateOk() (*bool, bool)` - -GetTypeCreateOk returns a tuple with the TypeCreate field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTypeCreate - -`func (o *EventRule) SetTypeCreate(v bool)` - -SetTypeCreate sets TypeCreate field to given value. - -### HasTypeCreate - -`func (o *EventRule) HasTypeCreate() bool` - -HasTypeCreate returns a boolean if a field has been set. - -### GetTypeUpdate - -`func (o *EventRule) GetTypeUpdate() bool` - -GetTypeUpdate returns the TypeUpdate field if non-nil, zero value otherwise. - -### GetTypeUpdateOk - -`func (o *EventRule) GetTypeUpdateOk() (*bool, bool)` - -GetTypeUpdateOk returns a tuple with the TypeUpdate field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTypeUpdate - -`func (o *EventRule) SetTypeUpdate(v bool)` - -SetTypeUpdate sets TypeUpdate field to given value. - -### HasTypeUpdate - -`func (o *EventRule) HasTypeUpdate() bool` - -HasTypeUpdate returns a boolean if a field has been set. - -### GetTypeDelete - -`func (o *EventRule) GetTypeDelete() bool` - -GetTypeDelete returns the TypeDelete field if non-nil, zero value otherwise. - -### GetTypeDeleteOk - -`func (o *EventRule) GetTypeDeleteOk() (*bool, bool)` - -GetTypeDeleteOk returns a tuple with the TypeDelete field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTypeDelete - -`func (o *EventRule) SetTypeDelete(v bool)` - -SetTypeDelete sets TypeDelete field to given value. - -### HasTypeDelete - -`func (o *EventRule) HasTypeDelete() bool` - -HasTypeDelete returns a boolean if a field has been set. - -### GetTypeJobStart - -`func (o *EventRule) GetTypeJobStart() bool` - -GetTypeJobStart returns the TypeJobStart field if non-nil, zero value otherwise. - -### GetTypeJobStartOk - -`func (o *EventRule) GetTypeJobStartOk() (*bool, bool)` - -GetTypeJobStartOk returns a tuple with the TypeJobStart field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTypeJobStart - -`func (o *EventRule) SetTypeJobStart(v bool)` - -SetTypeJobStart sets TypeJobStart field to given value. - -### HasTypeJobStart - -`func (o *EventRule) HasTypeJobStart() bool` - -HasTypeJobStart returns a boolean if a field has been set. - -### GetTypeJobEnd - -`func (o *EventRule) GetTypeJobEnd() bool` - -GetTypeJobEnd returns the TypeJobEnd field if non-nil, zero value otherwise. - -### GetTypeJobEndOk - -`func (o *EventRule) GetTypeJobEndOk() (*bool, bool)` - -GetTypeJobEndOk returns a tuple with the TypeJobEnd field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTypeJobEnd - -`func (o *EventRule) SetTypeJobEnd(v bool)` - -SetTypeJobEnd sets TypeJobEnd field to given value. - -### HasTypeJobEnd - -`func (o *EventRule) HasTypeJobEnd() bool` - -HasTypeJobEnd returns a boolean if a field has been set. - ### GetEnabled `func (o *EventRule) GetEnabled() bool` @@ -295,6 +192,26 @@ SetEnabled sets Enabled field to given value. HasEnabled returns a boolean if a field has been set. +### GetEventTypes + +`func (o *EventRule) GetEventTypes() []EventRuleEventTypesInner` + +GetEventTypes returns the EventTypes field if non-nil, zero value otherwise. + +### GetEventTypesOk + +`func (o *EventRule) GetEventTypesOk() (*[]EventRuleEventTypesInner, bool)` + +GetEventTypesOk returns a tuple with the EventTypes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEventTypes + +`func (o *EventRule) SetEventTypes(v []EventRuleEventTypesInner)` + +SetEventTypes sets EventTypes field to given value. + + ### GetConditions `func (o *EventRule) GetConditions() interface{}` diff --git a/docs/EventRuleActionTypeLabel.md b/docs/EventRuleActionTypeLabel.md index 7c1a6f459..5c6ede174 100644 --- a/docs/EventRuleActionTypeLabel.md +++ b/docs/EventRuleActionTypeLabel.md @@ -7,6 +7,8 @@ * `SCRIPT` (value: `"Script"`) +* `NOTIFICATION` (value: `"Notification"`) + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EventRuleActionTypeValue.md b/docs/EventRuleActionTypeValue.md index 73ad2faee..95b9781eb 100644 --- a/docs/EventRuleActionTypeValue.md +++ b/docs/EventRuleActionTypeValue.md @@ -7,6 +7,8 @@ * `SCRIPT` (value: `"script"`) +* `NOTIFICATION` (value: `"notification"`) + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EventRuleEventTypesInner.md b/docs/EventRuleEventTypesInner.md new file mode 100644 index 000000000..88b16acda --- /dev/null +++ b/docs/EventRuleEventTypesInner.md @@ -0,0 +1,23 @@ +# EventRuleEventTypesInner + +## Enum + + +* `OBJECT_CREATED` (value: `"object_created"`) + +* `OBJECT_UPDATED` (value: `"object_updated"`) + +* `OBJECT_DELETED` (value: `"object_deleted"`) + +* `JOB_STARTED` (value: `"job_started"`) + +* `JOB_COMPLETED` (value: `"job_completed"`) + +* `JOB_FAILED` (value: `"job_failed"`) + +* `JOB_ERRORED` (value: `"job_errored"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EventRuleRequest.md b/docs/EventRuleRequest.md index 68df12155..1d3cd3044 100644 --- a/docs/EventRuleRequest.md +++ b/docs/EventRuleRequest.md @@ -6,12 +6,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **ObjectTypes** | **[]string** | | **Name** | **string** | | -**TypeCreate** | Pointer to **bool** | Triggers when a matching object is created. | [optional] -**TypeUpdate** | Pointer to **bool** | Triggers when a matching object is updated. | [optional] -**TypeDelete** | Pointer to **bool** | Triggers when a matching object is deleted. | [optional] -**TypeJobStart** | Pointer to **bool** | Triggers when a job for a matching object is started. | [optional] -**TypeJobEnd** | Pointer to **bool** | Triggers when a job for a matching object terminates. | [optional] **Enabled** | Pointer to **bool** | | [optional] +**EventTypes** | [**[]EventRuleEventTypesInner**](EventRuleEventTypesInner.md) | The types of event which will trigger this rule. | **Conditions** | Pointer to **interface{}** | A set of conditions which determine whether the event will be generated. | [optional] **ActionType** | [**EventRuleActionTypeValue**](EventRuleActionTypeValue.md) | | **ActionObjectType** | **string** | | @@ -24,7 +20,7 @@ Name | Type | Description | Notes ### NewEventRuleRequest -`func NewEventRuleRequest(objectTypes []string, name string, actionType EventRuleActionTypeValue, actionObjectType string, ) *EventRuleRequest` +`func NewEventRuleRequest(objectTypes []string, name string, eventTypes []EventRuleEventTypesInner, actionType EventRuleActionTypeValue, actionObjectType string, ) *EventRuleRequest` NewEventRuleRequest instantiates a new EventRuleRequest object This constructor will assign default values to properties that have it defined, @@ -79,131 +75,6 @@ and a boolean to check if the value has been set. SetName sets Name field to given value. -### GetTypeCreate - -`func (o *EventRuleRequest) GetTypeCreate() bool` - -GetTypeCreate returns the TypeCreate field if non-nil, zero value otherwise. - -### GetTypeCreateOk - -`func (o *EventRuleRequest) GetTypeCreateOk() (*bool, bool)` - -GetTypeCreateOk returns a tuple with the TypeCreate field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTypeCreate - -`func (o *EventRuleRequest) SetTypeCreate(v bool)` - -SetTypeCreate sets TypeCreate field to given value. - -### HasTypeCreate - -`func (o *EventRuleRequest) HasTypeCreate() bool` - -HasTypeCreate returns a boolean if a field has been set. - -### GetTypeUpdate - -`func (o *EventRuleRequest) GetTypeUpdate() bool` - -GetTypeUpdate returns the TypeUpdate field if non-nil, zero value otherwise. - -### GetTypeUpdateOk - -`func (o *EventRuleRequest) GetTypeUpdateOk() (*bool, bool)` - -GetTypeUpdateOk returns a tuple with the TypeUpdate field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTypeUpdate - -`func (o *EventRuleRequest) SetTypeUpdate(v bool)` - -SetTypeUpdate sets TypeUpdate field to given value. - -### HasTypeUpdate - -`func (o *EventRuleRequest) HasTypeUpdate() bool` - -HasTypeUpdate returns a boolean if a field has been set. - -### GetTypeDelete - -`func (o *EventRuleRequest) GetTypeDelete() bool` - -GetTypeDelete returns the TypeDelete field if non-nil, zero value otherwise. - -### GetTypeDeleteOk - -`func (o *EventRuleRequest) GetTypeDeleteOk() (*bool, bool)` - -GetTypeDeleteOk returns a tuple with the TypeDelete field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTypeDelete - -`func (o *EventRuleRequest) SetTypeDelete(v bool)` - -SetTypeDelete sets TypeDelete field to given value. - -### HasTypeDelete - -`func (o *EventRuleRequest) HasTypeDelete() bool` - -HasTypeDelete returns a boolean if a field has been set. - -### GetTypeJobStart - -`func (o *EventRuleRequest) GetTypeJobStart() bool` - -GetTypeJobStart returns the TypeJobStart field if non-nil, zero value otherwise. - -### GetTypeJobStartOk - -`func (o *EventRuleRequest) GetTypeJobStartOk() (*bool, bool)` - -GetTypeJobStartOk returns a tuple with the TypeJobStart field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTypeJobStart - -`func (o *EventRuleRequest) SetTypeJobStart(v bool)` - -SetTypeJobStart sets TypeJobStart field to given value. - -### HasTypeJobStart - -`func (o *EventRuleRequest) HasTypeJobStart() bool` - -HasTypeJobStart returns a boolean if a field has been set. - -### GetTypeJobEnd - -`func (o *EventRuleRequest) GetTypeJobEnd() bool` - -GetTypeJobEnd returns the TypeJobEnd field if non-nil, zero value otherwise. - -### GetTypeJobEndOk - -`func (o *EventRuleRequest) GetTypeJobEndOk() (*bool, bool)` - -GetTypeJobEndOk returns a tuple with the TypeJobEnd field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTypeJobEnd - -`func (o *EventRuleRequest) SetTypeJobEnd(v bool)` - -SetTypeJobEnd sets TypeJobEnd field to given value. - -### HasTypeJobEnd - -`func (o *EventRuleRequest) HasTypeJobEnd() bool` - -HasTypeJobEnd returns a boolean if a field has been set. - ### GetEnabled `func (o *EventRuleRequest) GetEnabled() bool` @@ -229,6 +100,26 @@ SetEnabled sets Enabled field to given value. HasEnabled returns a boolean if a field has been set. +### GetEventTypes + +`func (o *EventRuleRequest) GetEventTypes() []EventRuleEventTypesInner` + +GetEventTypes returns the EventTypes field if non-nil, zero value otherwise. + +### GetEventTypesOk + +`func (o *EventRuleRequest) GetEventTypesOk() (*[]EventRuleEventTypesInner, bool)` + +GetEventTypesOk returns a tuple with the EventTypes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEventTypes + +`func (o *EventRuleRequest) SetEventTypes(v []EventRuleEventTypesInner)` + +SetEventTypes sets EventTypes field to given value. + + ### GetConditions `func (o *EventRuleRequest) GetConditions() interface{}` diff --git a/docs/ExportTemplate.md b/docs/ExportTemplate.md index 0371ebe2e..2463f098c 100644 --- a/docs/ExportTemplate.md +++ b/docs/ExportTemplate.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **ObjectTypes** | **[]string** | | **Name** | **string** | | @@ -14,9 +15,9 @@ Name | Type | Description | Notes **MimeType** | Pointer to **string** | Defaults to <code>text/plain; charset=utf-8</code> | [optional] **FileExtension** | Pointer to **string** | Extension to append to the rendered filename | [optional] **AsAttachment** | Pointer to **bool** | Download file as attachment | [optional] -**DataSource** | Pointer to [**DataSource**](DataSource.md) | | [optional] +**DataSource** | Pointer to [**BriefDataSource**](BriefDataSource.md) | | [optional] **DataPath** | **string** | Path to remote file (relative to data source root) | [readonly] -**DataFile** | [**DataFile**](DataFile.md) | | [readonly] +**DataFile** | [**BriefDataFile**](BriefDataFile.md) | | [readonly] **DataSynced** | **NullableTime** | | [readonly] **Created** | **NullableTime** | | [readonly] **LastUpdated** | **NullableTime** | | [readonly] @@ -25,7 +26,7 @@ Name | Type | Description | Notes ### NewExportTemplate -`func NewExportTemplate(id int32, url string, display string, objectTypes []string, name string, templateCode string, dataPath string, dataFile DataFile, dataSynced NullableTime, created NullableTime, lastUpdated NullableTime, ) *ExportTemplate` +`func NewExportTemplate(id int32, url string, display string, objectTypes []string, name string, templateCode string, dataPath string, dataFile BriefDataFile, dataSynced NullableTime, created NullableTime, lastUpdated NullableTime, ) *ExportTemplate` NewExportTemplate instantiates a new ExportTemplate object This constructor will assign default values to properties that have it defined, @@ -80,6 +81,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *ExportTemplate) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *ExportTemplate) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *ExportTemplate) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *ExportTemplate) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *ExportTemplate) GetDisplay() string` @@ -262,20 +288,20 @@ HasAsAttachment returns a boolean if a field has been set. ### GetDataSource -`func (o *ExportTemplate) GetDataSource() DataSource` +`func (o *ExportTemplate) GetDataSource() BriefDataSource` GetDataSource returns the DataSource field if non-nil, zero value otherwise. ### GetDataSourceOk -`func (o *ExportTemplate) GetDataSourceOk() (*DataSource, bool)` +`func (o *ExportTemplate) GetDataSourceOk() (*BriefDataSource, bool)` GetDataSourceOk returns a tuple with the DataSource field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDataSource -`func (o *ExportTemplate) SetDataSource(v DataSource)` +`func (o *ExportTemplate) SetDataSource(v BriefDataSource)` SetDataSource sets DataSource field to given value. @@ -307,20 +333,20 @@ SetDataPath sets DataPath field to given value. ### GetDataFile -`func (o *ExportTemplate) GetDataFile() DataFile` +`func (o *ExportTemplate) GetDataFile() BriefDataFile` GetDataFile returns the DataFile field if non-nil, zero value otherwise. ### GetDataFileOk -`func (o *ExportTemplate) GetDataFileOk() (*DataFile, bool)` +`func (o *ExportTemplate) GetDataFileOk() (*BriefDataFile, bool)` GetDataFileOk returns a tuple with the DataFile field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDataFile -`func (o *ExportTemplate) SetDataFile(v DataFile)` +`func (o *ExportTemplate) SetDataFile(v BriefDataFile)` SetDataFile sets DataFile field to given value. diff --git a/docs/ExportTemplateRequest.md b/docs/ExportTemplateRequest.md index 1a7beb1a2..392c93a2c 100644 --- a/docs/ExportTemplateRequest.md +++ b/docs/ExportTemplateRequest.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes **MimeType** | Pointer to **string** | Defaults to <code>text/plain; charset=utf-8</code> | [optional] **FileExtension** | Pointer to **string** | Extension to append to the rendered filename | [optional] **AsAttachment** | Pointer to **bool** | Download file as attachment | [optional] -**DataSource** | Pointer to [**DataSourceRequest**](DataSourceRequest.md) | | [optional] +**DataSource** | Pointer to [**BriefDataSourceRequest**](BriefDataSourceRequest.md) | | [optional] ## Methods @@ -194,20 +194,20 @@ HasAsAttachment returns a boolean if a field has been set. ### GetDataSource -`func (o *ExportTemplateRequest) GetDataSource() DataSourceRequest` +`func (o *ExportTemplateRequest) GetDataSource() BriefDataSourceRequest` GetDataSource returns the DataSource field if non-nil, zero value otherwise. ### GetDataSourceOk -`func (o *ExportTemplateRequest) GetDataSourceOk() (*DataSourceRequest, bool)` +`func (o *ExportTemplateRequest) GetDataSourceOk() (*BriefDataSourceRequest, bool)` GetDataSourceOk returns a tuple with the DataSource field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDataSource -`func (o *ExportTemplateRequest) SetDataSource(v DataSourceRequest)` +`func (o *ExportTemplateRequest) SetDataSource(v BriefDataSourceRequest)` SetDataSource sets DataSource field to given value. diff --git a/docs/ExtrasAPI.md b/docs/ExtrasAPI.md index ed3040e29..123225a21 100644 --- a/docs/ExtrasAPI.md +++ b/docs/ExtrasAPI.md @@ -103,8 +103,24 @@ Method | HTTP request | Description [**ExtrasJournalEntriesPartialUpdate**](ExtrasAPI.md#ExtrasJournalEntriesPartialUpdate) | **Patch** /api/extras/journal-entries/{id}/ | [**ExtrasJournalEntriesRetrieve**](ExtrasAPI.md#ExtrasJournalEntriesRetrieve) | **Get** /api/extras/journal-entries/{id}/ | [**ExtrasJournalEntriesUpdate**](ExtrasAPI.md#ExtrasJournalEntriesUpdate) | **Put** /api/extras/journal-entries/{id}/ | -[**ExtrasObjectChangesList**](ExtrasAPI.md#ExtrasObjectChangesList) | **Get** /api/extras/object-changes/ | -[**ExtrasObjectChangesRetrieve**](ExtrasAPI.md#ExtrasObjectChangesRetrieve) | **Get** /api/extras/object-changes/{id}/ | +[**ExtrasNotificationGroupsBulkDestroy**](ExtrasAPI.md#ExtrasNotificationGroupsBulkDestroy) | **Delete** /api/extras/notification-groups/ | +[**ExtrasNotificationGroupsBulkPartialUpdate**](ExtrasAPI.md#ExtrasNotificationGroupsBulkPartialUpdate) | **Patch** /api/extras/notification-groups/ | +[**ExtrasNotificationGroupsBulkUpdate**](ExtrasAPI.md#ExtrasNotificationGroupsBulkUpdate) | **Put** /api/extras/notification-groups/ | +[**ExtrasNotificationGroupsCreate**](ExtrasAPI.md#ExtrasNotificationGroupsCreate) | **Post** /api/extras/notification-groups/ | +[**ExtrasNotificationGroupsDestroy**](ExtrasAPI.md#ExtrasNotificationGroupsDestroy) | **Delete** /api/extras/notification-groups/{id}/ | +[**ExtrasNotificationGroupsList**](ExtrasAPI.md#ExtrasNotificationGroupsList) | **Get** /api/extras/notification-groups/ | +[**ExtrasNotificationGroupsPartialUpdate**](ExtrasAPI.md#ExtrasNotificationGroupsPartialUpdate) | **Patch** /api/extras/notification-groups/{id}/ | +[**ExtrasNotificationGroupsRetrieve**](ExtrasAPI.md#ExtrasNotificationGroupsRetrieve) | **Get** /api/extras/notification-groups/{id}/ | +[**ExtrasNotificationGroupsUpdate**](ExtrasAPI.md#ExtrasNotificationGroupsUpdate) | **Put** /api/extras/notification-groups/{id}/ | +[**ExtrasNotificationsBulkDestroy**](ExtrasAPI.md#ExtrasNotificationsBulkDestroy) | **Delete** /api/extras/notifications/ | +[**ExtrasNotificationsBulkPartialUpdate**](ExtrasAPI.md#ExtrasNotificationsBulkPartialUpdate) | **Patch** /api/extras/notifications/ | +[**ExtrasNotificationsBulkUpdate**](ExtrasAPI.md#ExtrasNotificationsBulkUpdate) | **Put** /api/extras/notifications/ | +[**ExtrasNotificationsCreate**](ExtrasAPI.md#ExtrasNotificationsCreate) | **Post** /api/extras/notifications/ | +[**ExtrasNotificationsDestroy**](ExtrasAPI.md#ExtrasNotificationsDestroy) | **Delete** /api/extras/notifications/{id}/ | +[**ExtrasNotificationsList**](ExtrasAPI.md#ExtrasNotificationsList) | **Get** /api/extras/notifications/ | +[**ExtrasNotificationsPartialUpdate**](ExtrasAPI.md#ExtrasNotificationsPartialUpdate) | **Patch** /api/extras/notifications/{id}/ | +[**ExtrasNotificationsRetrieve**](ExtrasAPI.md#ExtrasNotificationsRetrieve) | **Get** /api/extras/notifications/{id}/ | +[**ExtrasNotificationsUpdate**](ExtrasAPI.md#ExtrasNotificationsUpdate) | **Put** /api/extras/notifications/{id}/ | [**ExtrasObjectTypesList**](ExtrasAPI.md#ExtrasObjectTypesList) | **Get** /api/extras/object-types/ | [**ExtrasObjectTypesRetrieve**](ExtrasAPI.md#ExtrasObjectTypesRetrieve) | **Get** /api/extras/object-types/{id}/ | [**ExtrasSavedFiltersBulkDestroy**](ExtrasAPI.md#ExtrasSavedFiltersBulkDestroy) | **Delete** /api/extras/saved-filters/ | @@ -122,6 +138,15 @@ Method | HTTP request | Description [**ExtrasScriptsPartialUpdate**](ExtrasAPI.md#ExtrasScriptsPartialUpdate) | **Patch** /api/extras/scripts/{id}/ | [**ExtrasScriptsRetrieve**](ExtrasAPI.md#ExtrasScriptsRetrieve) | **Get** /api/extras/scripts/{id}/ | [**ExtrasScriptsUpdate**](ExtrasAPI.md#ExtrasScriptsUpdate) | **Put** /api/extras/scripts/{id}/ | +[**ExtrasSubscriptionsBulkDestroy**](ExtrasAPI.md#ExtrasSubscriptionsBulkDestroy) | **Delete** /api/extras/subscriptions/ | +[**ExtrasSubscriptionsBulkPartialUpdate**](ExtrasAPI.md#ExtrasSubscriptionsBulkPartialUpdate) | **Patch** /api/extras/subscriptions/ | +[**ExtrasSubscriptionsBulkUpdate**](ExtrasAPI.md#ExtrasSubscriptionsBulkUpdate) | **Put** /api/extras/subscriptions/ | +[**ExtrasSubscriptionsCreate**](ExtrasAPI.md#ExtrasSubscriptionsCreate) | **Post** /api/extras/subscriptions/ | +[**ExtrasSubscriptionsDestroy**](ExtrasAPI.md#ExtrasSubscriptionsDestroy) | **Delete** /api/extras/subscriptions/{id}/ | +[**ExtrasSubscriptionsList**](ExtrasAPI.md#ExtrasSubscriptionsList) | **Get** /api/extras/subscriptions/ | +[**ExtrasSubscriptionsPartialUpdate**](ExtrasAPI.md#ExtrasSubscriptionsPartialUpdate) | **Patch** /api/extras/subscriptions/{id}/ | +[**ExtrasSubscriptionsRetrieve**](ExtrasAPI.md#ExtrasSubscriptionsRetrieve) | **Get** /api/extras/subscriptions/{id}/ | +[**ExtrasSubscriptionsUpdate**](ExtrasAPI.md#ExtrasSubscriptionsUpdate) | **Put** /api/extras/subscriptions/{id}/ | [**ExtrasTagsBulkDestroy**](ExtrasAPI.md#ExtrasTagsBulkDestroy) | **Delete** /api/extras/tags/ | [**ExtrasTagsBulkPartialUpdate**](ExtrasAPI.md#ExtrasTagsBulkPartialUpdate) | **Patch** /api/extras/tags/ | [**ExtrasTagsBulkUpdate**](ExtrasAPI.md#ExtrasTagsBulkUpdate) | **Put** /api/extras/tags/ | @@ -164,7 +189,7 @@ import ( ) func main() { - bookmarkRequest := []openapiclient.BookmarkRequest{*openapiclient.NewBookmarkRequest("ObjectType_example", int64(123), *openapiclient.NewUserRequest("Username_example"))} // []BookmarkRequest | + bookmarkRequest := []openapiclient.BookmarkRequest{*openapiclient.NewBookmarkRequest("ObjectType_example", int64(123), *openapiclient.NewBriefUserRequest("Username_example"))} // []BookmarkRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -228,7 +253,7 @@ import ( ) func main() { - bookmarkRequest := []openapiclient.BookmarkRequest{*openapiclient.NewBookmarkRequest("ObjectType_example", int64(123), *openapiclient.NewUserRequest("Username_example"))} // []BookmarkRequest | + bookmarkRequest := []openapiclient.BookmarkRequest{*openapiclient.NewBookmarkRequest("ObjectType_example", int64(123), *openapiclient.NewBriefUserRequest("Username_example"))} // []BookmarkRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -294,7 +319,7 @@ import ( ) func main() { - bookmarkRequest := []openapiclient.BookmarkRequest{*openapiclient.NewBookmarkRequest("ObjectType_example", int64(123), *openapiclient.NewUserRequest("Username_example"))} // []BookmarkRequest | + bookmarkRequest := []openapiclient.BookmarkRequest{*openapiclient.NewBookmarkRequest("ObjectType_example", int64(123), *openapiclient.NewBriefUserRequest("Username_example"))} // []BookmarkRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -360,7 +385,7 @@ import ( ) func main() { - bookmarkRequest := *openapiclient.NewBookmarkRequest("ObjectType_example", int64(123), *openapiclient.NewUserRequest("Username_example")) // BookmarkRequest | + bookmarkRequest := *openapiclient.NewBookmarkRequest("ObjectType_example", int64(123), *openapiclient.NewBriefUserRequest("Username_example")) // BookmarkRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -764,7 +789,7 @@ import ( func main() { id := int32(56) // int32 | A unique integer value identifying this bookmark. - bookmarkRequest := *openapiclient.NewBookmarkRequest("ObjectType_example", int64(123), *openapiclient.NewUserRequest("Username_example")) // BookmarkRequest | + bookmarkRequest := *openapiclient.NewBookmarkRequest("ObjectType_example", int64(123), *openapiclient.NewBriefUserRequest("Username_example")) // BookmarkRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -1146,7 +1171,7 @@ Name | Type | Description | Notes ## ExtrasConfigContextsList -> PaginatedConfigContextList ExtrasConfigContextsList(ctx).AutoSyncEnabled(autoSyncEnabled).ClusterGroup(clusterGroup).ClusterGroupN(clusterGroupN).ClusterGroupId(clusterGroupId).ClusterGroupIdN(clusterGroupIdN).ClusterId(clusterId).ClusterIdN(clusterIdN).ClusterType(clusterType).ClusterTypeN(clusterTypeN).ClusterTypeId(clusterTypeId).ClusterTypeIdN(clusterTypeIdN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).DataFileId(dataFileId).DataFileIdN(dataFileIdN).DataSourceId(dataSourceId).DataSourceIdN(dataSourceIdN).DataSynced(dataSynced).DataSyncedEmpty(dataSyncedEmpty).DataSyncedGt(dataSyncedGt).DataSyncedGte(dataSyncedGte).DataSyncedLt(dataSyncedLt).DataSyncedLte(dataSyncedLte).DataSyncedN(dataSyncedN).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceRole(deviceRole).DeviceRoleN(deviceRoleN).DeviceRoleId(deviceRoleId).DeviceRoleIdN(deviceRoleIdN).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).IsActive(isActive).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).LocationId(locationId).LocationIdN(locationIdN).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Platform(platform).PlatformN(platformN).PlatformId(platformId).PlatformIdN(platformIdN).Q(q).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Tag(tag).TagN(tagN).TagId(tagId).TagIdN(tagIdN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).UpdatedByRequest(updatedByRequest).Weight(weight).WeightEmpty(weightEmpty).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).Execute() +> PaginatedConfigContextList ExtrasConfigContextsList(ctx).AutoSyncEnabled(autoSyncEnabled).ClusterGroup(clusterGroup).ClusterGroupN(clusterGroupN).ClusterGroupId(clusterGroupId).ClusterGroupIdN(clusterGroupIdN).ClusterId(clusterId).ClusterIdN(clusterIdN).ClusterType(clusterType).ClusterTypeN(clusterTypeN).ClusterTypeId(clusterTypeId).ClusterTypeIdN(clusterTypeIdN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).DataFileId(dataFileId).DataFileIdN(dataFileIdN).DataSourceId(dataSourceId).DataSourceIdN(dataSourceIdN).DataSynced(dataSynced).DataSyncedEmpty(dataSyncedEmpty).DataSyncedGt(dataSyncedGt).DataSyncedGte(dataSyncedGte).DataSyncedLt(dataSyncedLt).DataSyncedLte(dataSyncedLte).DataSyncedN(dataSyncedN).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceRole(deviceRole).DeviceRoleN(deviceRoleN).DeviceRoleId(deviceRoleId).DeviceRoleIdN(deviceRoleIdN).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).IsActive(isActive).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).LocationId(locationId).LocationIdN(locationIdN).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Platform(platform).PlatformN(platformN).PlatformId(platformId).PlatformIdN(platformIdN).Q(q).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Tag(tag).TagN(tagN).TagId(tagId).TagIdN(tagIdN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).UpdatedByRequest(updatedByRequest).Weight(weight).WeightEmpty(weightEmpty).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).Execute() @@ -1256,10 +1281,6 @@ func main() { regionN := []string{"Inner_example"} // []string | Region (slug) (optional) regionId := []int32{int32(123)} // []int32 | Region (optional) regionIdN := []int32{int32(123)} // []int32 | Region (optional) - role := []string{"Inner_example"} // []string | Role (slug) (optional) - roleN := []string{"Inner_example"} // []string | Role (slug) (optional) - roleId := []int32{int32(123)} // []int32 | Role (optional) - roleIdN := []int32{int32(123)} // []int32 | Role (optional) site := []string{"Inner_example"} // []string | Site (slug) (optional) siteN := []string{"Inner_example"} // []string | Site (slug) (optional) siteGroup := []string{"Inner_example"} // []string | Site group (slug) (optional) @@ -1291,7 +1312,7 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ExtrasAPI.ExtrasConfigContextsList(context.Background()).AutoSyncEnabled(autoSyncEnabled).ClusterGroup(clusterGroup).ClusterGroupN(clusterGroupN).ClusterGroupId(clusterGroupId).ClusterGroupIdN(clusterGroupIdN).ClusterId(clusterId).ClusterIdN(clusterIdN).ClusterType(clusterType).ClusterTypeN(clusterTypeN).ClusterTypeId(clusterTypeId).ClusterTypeIdN(clusterTypeIdN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).DataFileId(dataFileId).DataFileIdN(dataFileIdN).DataSourceId(dataSourceId).DataSourceIdN(dataSourceIdN).DataSynced(dataSynced).DataSyncedEmpty(dataSyncedEmpty).DataSyncedGt(dataSyncedGt).DataSyncedGte(dataSyncedGte).DataSyncedLt(dataSyncedLt).DataSyncedLte(dataSyncedLte).DataSyncedN(dataSyncedN).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceRole(deviceRole).DeviceRoleN(deviceRoleN).DeviceRoleId(deviceRoleId).DeviceRoleIdN(deviceRoleIdN).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).IsActive(isActive).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).LocationId(locationId).LocationIdN(locationIdN).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Platform(platform).PlatformN(platformN).PlatformId(platformId).PlatformIdN(platformIdN).Q(q).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Tag(tag).TagN(tagN).TagId(tagId).TagIdN(tagIdN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).UpdatedByRequest(updatedByRequest).Weight(weight).WeightEmpty(weightEmpty).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).Execute() + resp, r, err := apiClient.ExtrasAPI.ExtrasConfigContextsList(context.Background()).AutoSyncEnabled(autoSyncEnabled).ClusterGroup(clusterGroup).ClusterGroupN(clusterGroupN).ClusterGroupId(clusterGroupId).ClusterGroupIdN(clusterGroupIdN).ClusterId(clusterId).ClusterIdN(clusterIdN).ClusterType(clusterType).ClusterTypeN(clusterTypeN).ClusterTypeId(clusterTypeId).ClusterTypeIdN(clusterTypeIdN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).DataFileId(dataFileId).DataFileIdN(dataFileIdN).DataSourceId(dataSourceId).DataSourceIdN(dataSourceIdN).DataSynced(dataSynced).DataSyncedEmpty(dataSyncedEmpty).DataSyncedGt(dataSyncedGt).DataSyncedGte(dataSyncedGte).DataSyncedLt(dataSyncedLt).DataSyncedLte(dataSyncedLte).DataSyncedN(dataSyncedN).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).DeviceRole(deviceRole).DeviceRoleN(deviceRoleN).DeviceRoleId(deviceRoleId).DeviceRoleIdN(deviceRoleIdN).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).IsActive(isActive).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).LocationId(locationId).LocationIdN(locationIdN).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Platform(platform).PlatformN(platformN).PlatformId(platformId).PlatformIdN(platformIdN).Q(q).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Tag(tag).TagN(tagN).TagId(tagId).TagIdN(tagIdN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).UpdatedByRequest(updatedByRequest).Weight(weight).WeightEmpty(weightEmpty).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).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) @@ -1402,10 +1423,6 @@ Name | Type | Description | Notes **regionN** | **[]string** | Region (slug) | **regionId** | **[]int32** | Region | **regionIdN** | **[]int32** | Region | - **role** | **[]string** | Role (slug) | - **roleN** | **[]string** | Role (slug) | - **roleId** | **[]int32** | Role | - **roleIdN** | **[]int32** | Role | **site** | **[]string** | Site (slug) | **siteN** | **[]string** | Site (slug) | **siteGroup** | **[]string** | Site group (slug) | @@ -1760,7 +1777,7 @@ import ( ) func main() { - configTemplateRequest := []openapiclient.ConfigTemplateRequest{*openapiclient.NewConfigTemplateRequest("Name_example")} // []ConfigTemplateRequest | + configTemplateRequest := []openapiclient.ConfigTemplateRequest{*openapiclient.NewConfigTemplateRequest("Name_example", "TemplateCode_example")} // []ConfigTemplateRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -1824,7 +1841,7 @@ import ( ) func main() { - configTemplateRequest := []openapiclient.ConfigTemplateRequest{*openapiclient.NewConfigTemplateRequest("Name_example")} // []ConfigTemplateRequest | + configTemplateRequest := []openapiclient.ConfigTemplateRequest{*openapiclient.NewConfigTemplateRequest("Name_example", "TemplateCode_example")} // []ConfigTemplateRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -1890,7 +1907,7 @@ import ( ) func main() { - configTemplateRequest := []openapiclient.ConfigTemplateRequest{*openapiclient.NewConfigTemplateRequest("Name_example")} // []ConfigTemplateRequest | + configTemplateRequest := []openapiclient.ConfigTemplateRequest{*openapiclient.NewConfigTemplateRequest("Name_example", "TemplateCode_example")} // []ConfigTemplateRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -1956,7 +1973,7 @@ import ( ) func main() { - configTemplateRequest := *openapiclient.NewConfigTemplateRequest("Name_example") // ConfigTemplateRequest | + configTemplateRequest := *openapiclient.NewConfigTemplateRequest("Name_example", "TemplateCode_example") // ConfigTemplateRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -2356,7 +2373,7 @@ import ( func main() { id := int32(56) // int32 | A unique integer value identifying this config template. - configTemplateRequest := *openapiclient.NewConfigTemplateRequest("Name_example") // ConfigTemplateRequest | + configTemplateRequest := *openapiclient.NewConfigTemplateRequest("Name_example", "TemplateCode_example") // ConfigTemplateRequest | format := openapiclient.dcim_devices_render_config_create_format_parameter("json") // DcimDevicesRenderConfigCreateFormatParameter | (optional) configuration := openapiclient.NewConfiguration() @@ -2500,7 +2517,7 @@ import ( func main() { id := int32(56) // int32 | A unique integer value identifying this config template. - configTemplateRequest := *openapiclient.NewConfigTemplateRequest("Name_example") // ConfigTemplateRequest | + configTemplateRequest := *openapiclient.NewConfigTemplateRequest("Name_example", "TemplateCode_example") // ConfigTemplateRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -2572,7 +2589,7 @@ import ( func main() { id := int32(56) // int32 | A unique integer value identifying this config template. - configTemplateRequest := *openapiclient.NewConfigTemplateRequest("Name_example") // ConfigTemplateRequest | + configTemplateRequest := *openapiclient.NewConfigTemplateRequest("Name_example", "TemplateCode_example") // ConfigTemplateRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -3024,7 +3041,7 @@ Name | Type | Description | Notes ## ExtrasCustomFieldChoiceSetsList -> PaginatedCustomFieldChoiceSetList ExtrasCustomFieldChoiceSetsList(ctx).BaseChoices(baseChoices).BaseChoicesN(baseChoicesN).Choice(choice).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).OrderAlphabetically(orderAlphabetically).Ordering(ordering).Q(q).UpdatedByRequest(updatedByRequest).Execute() +> PaginatedCustomFieldChoiceSetList ExtrasCustomFieldChoiceSetsList(ctx).BaseChoices(baseChoices).Choice(choice).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).OrderAlphabetically(orderAlphabetically).Ordering(ordering).Q(q).UpdatedByRequest(updatedByRequest).Execute() @@ -3045,7 +3062,6 @@ import ( func main() { baseChoices := openapiclient.extras_custom_field_choice_sets_list_base_choices_parameter("IATA") // ExtrasCustomFieldChoiceSetsListBaseChoicesParameter | Base set of predefined choices (optional) * `IATA` - IATA (Airport codes) * `ISO_3166` - ISO 3166 (Country codes) * `UN_LOCODE` - UN/LOCODE (Location codes) (optional) - baseChoicesN := openapiclient.extras_custom_field_choice_sets_list_base_choices_parameter("IATA") // ExtrasCustomFieldChoiceSetsListBaseChoicesParameter | Base set of predefined choices (optional) * `IATA` - IATA (Airport codes) * `ISO_3166` - ISO 3166 (Country codes) * `UN_LOCODE` - UN/LOCODE (Location codes) (optional) choice := []string{"Inner_example"} // []string | (optional) created := []time.Time{time.Now()} // []time.Time | (optional) createdEmpty := []time.Time{time.Now()} // []time.Time | (optional) @@ -3101,7 +3117,7 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ExtrasAPI.ExtrasCustomFieldChoiceSetsList(context.Background()).BaseChoices(baseChoices).BaseChoicesN(baseChoicesN).Choice(choice).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).OrderAlphabetically(orderAlphabetically).Ordering(ordering).Q(q).UpdatedByRequest(updatedByRequest).Execute() + resp, r, err := apiClient.ExtrasAPI.ExtrasCustomFieldChoiceSetsList(context.Background()).BaseChoices(baseChoices).Choice(choice).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).OrderAlphabetically(orderAlphabetically).Ordering(ordering).Q(q).UpdatedByRequest(updatedByRequest).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasCustomFieldChoiceSetsList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -3123,7 +3139,6 @@ Other parameters are passed through a pointer to a apiExtrasCustomFieldChoiceSet Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **baseChoices** | [**ExtrasCustomFieldChoiceSetsListBaseChoicesParameter**](ExtrasCustomFieldChoiceSetsListBaseChoicesParameter.md) | Base set of predefined choices (optional) * `IATA` - IATA (Airport codes) * `ISO_3166` - ISO 3166 (Country codes) * `UN_LOCODE` - UN/LOCODE (Location codes) | - **baseChoicesN** | [**ExtrasCustomFieldChoiceSetsListBaseChoicesParameter**](ExtrasCustomFieldChoiceSetsListBaseChoicesParameter.md) | Base set of predefined choices (optional) * `IATA` - IATA (Airport codes) * `ISO_3166` - ISO 3166 (Country codes) * `UN_LOCODE` - UN/LOCODE (Location codes) | **choice** | **[]string** | | **created** | [**[]time.Time**](time.Time.md) | | **createdEmpty** | [**[]time.Time**](time.Time.md) | | @@ -3741,7 +3756,7 @@ Name | Type | Description | Notes ## ExtrasCustomFieldsList -> PaginatedCustomFieldList ExtrasCustomFieldsList(ctx).ChoiceSet(choiceSet).ChoiceSetN(choiceSetN).ChoiceSetId(choiceSetId).ChoiceSetIdN(choiceSetIdN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).FilterLogic(filterLogic).FilterLogicN(filterLogicN).GroupName(groupName).GroupNameEmpty(groupNameEmpty).GroupNameIc(groupNameIc).GroupNameIe(groupNameIe).GroupNameIew(groupNameIew).GroupNameIsw(groupNameIsw).GroupNameN(groupNameN).GroupNameNic(groupNameNic).GroupNameNie(groupNameNie).GroupNameNiew(groupNameNiew).GroupNameNisw(groupNameNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).IsCloneable(isCloneable).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).ObjectType(objectType).ObjectTypeIc(objectTypeIc).ObjectTypeIe(objectTypeIe).ObjectTypeIew(objectTypeIew).ObjectTypeIsw(objectTypeIsw).ObjectTypeN(objectTypeN).ObjectTypeNic(objectTypeNic).ObjectTypeNie(objectTypeNie).ObjectTypeNiew(objectTypeNiew).ObjectTypeNisw(objectTypeNisw).ObjectTypeId(objectTypeId).ObjectTypeIdN(objectTypeIdN).Offset(offset).Ordering(ordering).Q(q).RelatedObjectType(relatedObjectType).RelatedObjectTypeN(relatedObjectTypeN).RelatedObjectTypeId(relatedObjectTypeId).RelatedObjectTypeIdN(relatedObjectTypeIdN).Required(required).SearchWeight(searchWeight).SearchWeightEmpty(searchWeightEmpty).SearchWeightGt(searchWeightGt).SearchWeightGte(searchWeightGte).SearchWeightLt(searchWeightLt).SearchWeightLte(searchWeightLte).SearchWeightN(searchWeightN).Type_(type_).TypeN(typeN).UiEditable(uiEditable).UiEditableN(uiEditableN).UiVisible(uiVisible).UiVisibleN(uiVisibleN).UpdatedByRequest(updatedByRequest).ValidationMaximum(validationMaximum).ValidationMaximumEmpty(validationMaximumEmpty).ValidationMaximumGt(validationMaximumGt).ValidationMaximumGte(validationMaximumGte).ValidationMaximumLt(validationMaximumLt).ValidationMaximumLte(validationMaximumLte).ValidationMaximumN(validationMaximumN).ValidationMinimum(validationMinimum).ValidationMinimumEmpty(validationMinimumEmpty).ValidationMinimumGt(validationMinimumGt).ValidationMinimumGte(validationMinimumGte).ValidationMinimumLt(validationMinimumLt).ValidationMinimumLte(validationMinimumLte).ValidationMinimumN(validationMinimumN).ValidationRegex(validationRegex).ValidationRegexEmpty(validationRegexEmpty).ValidationRegexIc(validationRegexIc).ValidationRegexIe(validationRegexIe).ValidationRegexIew(validationRegexIew).ValidationRegexIsw(validationRegexIsw).ValidationRegexN(validationRegexN).ValidationRegexNic(validationRegexNic).ValidationRegexNie(validationRegexNie).ValidationRegexNiew(validationRegexNiew).ValidationRegexNisw(validationRegexNisw).Weight(weight).WeightEmpty(weightEmpty).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).Execute() +> PaginatedCustomFieldList ExtrasCustomFieldsList(ctx).ChoiceSet(choiceSet).ChoiceSetN(choiceSetN).ChoiceSetId(choiceSetId).ChoiceSetIdN(choiceSetIdN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).FilterLogic(filterLogic).GroupName(groupName).GroupNameEmpty(groupNameEmpty).GroupNameIc(groupNameIc).GroupNameIe(groupNameIe).GroupNameIew(groupNameIew).GroupNameIsw(groupNameIsw).GroupNameN(groupNameN).GroupNameNic(groupNameNic).GroupNameNie(groupNameNie).GroupNameNiew(groupNameNiew).GroupNameNisw(groupNameNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).IsCloneable(isCloneable).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).ObjectType(objectType).ObjectTypeIc(objectTypeIc).ObjectTypeIe(objectTypeIe).ObjectTypeIew(objectTypeIew).ObjectTypeIsw(objectTypeIsw).ObjectTypeN(objectTypeN).ObjectTypeNic(objectTypeNic).ObjectTypeNie(objectTypeNie).ObjectTypeNiew(objectTypeNiew).ObjectTypeNisw(objectTypeNisw).ObjectTypeId(objectTypeId).ObjectTypeIdN(objectTypeIdN).Offset(offset).Ordering(ordering).Q(q).RelatedObjectType(relatedObjectType).RelatedObjectTypeN(relatedObjectTypeN).RelatedObjectTypeId(relatedObjectTypeId).RelatedObjectTypeIdN(relatedObjectTypeIdN).Required(required).SearchWeight(searchWeight).SearchWeightEmpty(searchWeightEmpty).SearchWeightGt(searchWeightGt).SearchWeightGte(searchWeightGte).SearchWeightLt(searchWeightLt).SearchWeightLte(searchWeightLte).SearchWeightN(searchWeightN).Type_(type_).TypeEmpty(typeEmpty).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNisw(typeNisw).UiEditable(uiEditable).UiVisible(uiVisible).Unique(unique).UpdatedByRequest(updatedByRequest).ValidationMaximum(validationMaximum).ValidationMaximumEmpty(validationMaximumEmpty).ValidationMaximumGt(validationMaximumGt).ValidationMaximumGte(validationMaximumGte).ValidationMaximumLt(validationMaximumLt).ValidationMaximumLte(validationMaximumLte).ValidationMaximumN(validationMaximumN).ValidationMinimum(validationMinimum).ValidationMinimumEmpty(validationMinimumEmpty).ValidationMinimumGt(validationMinimumGt).ValidationMinimumGte(validationMinimumGte).ValidationMinimumLt(validationMinimumLt).ValidationMinimumLte(validationMinimumLte).ValidationMinimumN(validationMinimumN).ValidationRegex(validationRegex).ValidationRegexEmpty(validationRegexEmpty).ValidationRegexIc(validationRegexIc).ValidationRegexIe(validationRegexIe).ValidationRegexIew(validationRegexIew).ValidationRegexIsw(validationRegexIsw).ValidationRegexN(validationRegexN).ValidationRegexNic(validationRegexNic).ValidationRegexNie(validationRegexNie).ValidationRegexNiew(validationRegexNiew).ValidationRegexNisw(validationRegexNisw).Weight(weight).WeightEmpty(weightEmpty).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).Execute() @@ -3785,7 +3800,6 @@ func main() { descriptionNiew := []string{"Inner_example"} // []string | (optional) descriptionNisw := []string{"Inner_example"} // []string | (optional) filterLogic := openapiclient.extras_custom_fields_list_filter_logic_parameter("disabled") // ExtrasCustomFieldsListFilterLogicParameter | Loose matches any instance of a given string; exact matches the entire field. * `disabled` - Disabled * `loose` - Loose * `exact` - Exact (optional) - filterLogicN := openapiclient.extras_custom_fields_list_filter_logic_parameter("disabled") // ExtrasCustomFieldsListFilterLogicParameter | Loose matches any instance of a given string; exact matches the entire field. * `disabled` - Disabled * `loose` - Loose * `exact` - Exact (optional) groupName := []string{"Inner_example"} // []string | (optional) groupNameEmpty := true // bool | (optional) groupNameIc := []string{"Inner_example"} // []string | (optional) @@ -3864,11 +3878,19 @@ func main() { searchWeightLte := []int32{int32(123)} // []int32 | (optional) searchWeightN := []int32{int32(123)} // []int32 | (optional) type_ := []string{"Inner_example"} // []string | The type of data this custom field holds (optional) - typeN := []string{"Inner_example"} // []string | The type of data this custom field holds (optional) + typeEmpty := true // bool | (optional) + typeIc := []openapiclient.ExtrasCustomFieldsListTypeIcParameterInner{openapiclient.extras_custom_fields_list_type__ic_parameter_inner("boolean")} // []ExtrasCustomFieldsListTypeIcParameterInner | The type of data this custom field holds * `text` - Text * `longtext` - Text (long) * `integer` - Integer * `decimal` - Decimal * `boolean` - Boolean (true/false) * `date` - Date * `datetime` - Date & time * `url` - URL * `json` - JSON * `select` - Selection * `multiselect` - Multiple selection * `object` - Object * `multiobject` - Multiple objects (optional) + typeIe := []openapiclient.ExtrasCustomFieldsListTypeIcParameterInner{openapiclient.extras_custom_fields_list_type__ic_parameter_inner("boolean")} // []ExtrasCustomFieldsListTypeIcParameterInner | The type of data this custom field holds * `text` - Text * `longtext` - Text (long) * `integer` - Integer * `decimal` - Decimal * `boolean` - Boolean (true/false) * `date` - Date * `datetime` - Date & time * `url` - URL * `json` - JSON * `select` - Selection * `multiselect` - Multiple selection * `object` - Object * `multiobject` - Multiple objects (optional) + typeIew := []openapiclient.ExtrasCustomFieldsListTypeIcParameterInner{openapiclient.extras_custom_fields_list_type__ic_parameter_inner("boolean")} // []ExtrasCustomFieldsListTypeIcParameterInner | The type of data this custom field holds * `text` - Text * `longtext` - Text (long) * `integer` - Integer * `decimal` - Decimal * `boolean` - Boolean (true/false) * `date` - Date * `datetime` - Date & time * `url` - URL * `json` - JSON * `select` - Selection * `multiselect` - Multiple selection * `object` - Object * `multiobject` - Multiple objects (optional) + typeIsw := []openapiclient.ExtrasCustomFieldsListTypeIcParameterInner{openapiclient.extras_custom_fields_list_type__ic_parameter_inner("boolean")} // []ExtrasCustomFieldsListTypeIcParameterInner | The type of data this custom field holds * `text` - Text * `longtext` - Text (long) * `integer` - Integer * `decimal` - Decimal * `boolean` - Boolean (true/false) * `date` - Date * `datetime` - Date & time * `url` - URL * `json` - JSON * `select` - Selection * `multiselect` - Multiple selection * `object` - Object * `multiobject` - Multiple objects (optional) + typeN := []openapiclient.ExtrasCustomFieldsListTypeIcParameterInner{openapiclient.extras_custom_fields_list_type__ic_parameter_inner("boolean")} // []ExtrasCustomFieldsListTypeIcParameterInner | The type of data this custom field holds * `text` - Text * `longtext` - Text (long) * `integer` - Integer * `decimal` - Decimal * `boolean` - Boolean (true/false) * `date` - Date * `datetime` - Date & time * `url` - URL * `json` - JSON * `select` - Selection * `multiselect` - Multiple selection * `object` - Object * `multiobject` - Multiple objects (optional) + typeNic := []openapiclient.ExtrasCustomFieldsListTypeIcParameterInner{openapiclient.extras_custom_fields_list_type__ic_parameter_inner("boolean")} // []ExtrasCustomFieldsListTypeIcParameterInner | The type of data this custom field holds * `text` - Text * `longtext` - Text (long) * `integer` - Integer * `decimal` - Decimal * `boolean` - Boolean (true/false) * `date` - Date * `datetime` - Date & time * `url` - URL * `json` - JSON * `select` - Selection * `multiselect` - Multiple selection * `object` - Object * `multiobject` - Multiple objects (optional) + typeNie := []openapiclient.ExtrasCustomFieldsListTypeIcParameterInner{openapiclient.extras_custom_fields_list_type__ic_parameter_inner("boolean")} // []ExtrasCustomFieldsListTypeIcParameterInner | The type of data this custom field holds * `text` - Text * `longtext` - Text (long) * `integer` - Integer * `decimal` - Decimal * `boolean` - Boolean (true/false) * `date` - Date * `datetime` - Date & time * `url` - URL * `json` - JSON * `select` - Selection * `multiselect` - Multiple selection * `object` - Object * `multiobject` - Multiple objects (optional) + typeNiew := []openapiclient.ExtrasCustomFieldsListTypeIcParameterInner{openapiclient.extras_custom_fields_list_type__ic_parameter_inner("boolean")} // []ExtrasCustomFieldsListTypeIcParameterInner | The type of data this custom field holds * `text` - Text * `longtext` - Text (long) * `integer` - Integer * `decimal` - Decimal * `boolean` - Boolean (true/false) * `date` - Date * `datetime` - Date & time * `url` - URL * `json` - JSON * `select` - Selection * `multiselect` - Multiple selection * `object` - Object * `multiobject` - Multiple objects (optional) + typeNisw := []openapiclient.ExtrasCustomFieldsListTypeIcParameterInner{openapiclient.extras_custom_fields_list_type__ic_parameter_inner("boolean")} // []ExtrasCustomFieldsListTypeIcParameterInner | The type of data this custom field holds * `text` - Text * `longtext` - Text (long) * `integer` - Integer * `decimal` - Decimal * `boolean` - Boolean (true/false) * `date` - Date * `datetime` - Date & time * `url` - URL * `json` - JSON * `select` - Selection * `multiselect` - Multiple selection * `object` - Object * `multiobject` - Multiple objects (optional) uiEditable := openapiclient.extras_custom_fields_list_ui_editable_parameter("hidden") // ExtrasCustomFieldsListUiEditableParameter | Specifies whether the custom field value can be edited in the UI * `yes` - Yes * `no` - No * `hidden` - Hidden (optional) - uiEditableN := openapiclient.extras_custom_fields_list_ui_editable_parameter("hidden") // ExtrasCustomFieldsListUiEditableParameter | Specifies whether the custom field value can be edited in the UI * `yes` - Yes * `no` - No * `hidden` - Hidden (optional) uiVisible := openapiclient.extras_custom_fields_list_ui_visible_parameter("always") // ExtrasCustomFieldsListUiVisibleParameter | Specifies whether the custom field is displayed in the UI * `always` - Always * `if-set` - If set * `hidden` - Hidden (optional) - uiVisibleN := openapiclient.extras_custom_fields_list_ui_visible_parameter("always") // ExtrasCustomFieldsListUiVisibleParameter | Specifies whether the custom field is displayed in the UI * `always` - Always * `if-set` - If set * `hidden` - Hidden (optional) + unique := true // bool | (optional) updatedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) validationMaximum := []int32{int32(123)} // []int32 | (optional) validationMaximumEmpty := true // bool | (optional) @@ -3905,7 +3927,7 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ExtrasAPI.ExtrasCustomFieldsList(context.Background()).ChoiceSet(choiceSet).ChoiceSetN(choiceSetN).ChoiceSetId(choiceSetId).ChoiceSetIdN(choiceSetIdN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).FilterLogic(filterLogic).FilterLogicN(filterLogicN).GroupName(groupName).GroupNameEmpty(groupNameEmpty).GroupNameIc(groupNameIc).GroupNameIe(groupNameIe).GroupNameIew(groupNameIew).GroupNameIsw(groupNameIsw).GroupNameN(groupNameN).GroupNameNic(groupNameNic).GroupNameNie(groupNameNie).GroupNameNiew(groupNameNiew).GroupNameNisw(groupNameNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).IsCloneable(isCloneable).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).ObjectType(objectType).ObjectTypeIc(objectTypeIc).ObjectTypeIe(objectTypeIe).ObjectTypeIew(objectTypeIew).ObjectTypeIsw(objectTypeIsw).ObjectTypeN(objectTypeN).ObjectTypeNic(objectTypeNic).ObjectTypeNie(objectTypeNie).ObjectTypeNiew(objectTypeNiew).ObjectTypeNisw(objectTypeNisw).ObjectTypeId(objectTypeId).ObjectTypeIdN(objectTypeIdN).Offset(offset).Ordering(ordering).Q(q).RelatedObjectType(relatedObjectType).RelatedObjectTypeN(relatedObjectTypeN).RelatedObjectTypeId(relatedObjectTypeId).RelatedObjectTypeIdN(relatedObjectTypeIdN).Required(required).SearchWeight(searchWeight).SearchWeightEmpty(searchWeightEmpty).SearchWeightGt(searchWeightGt).SearchWeightGte(searchWeightGte).SearchWeightLt(searchWeightLt).SearchWeightLte(searchWeightLte).SearchWeightN(searchWeightN).Type_(type_).TypeN(typeN).UiEditable(uiEditable).UiEditableN(uiEditableN).UiVisible(uiVisible).UiVisibleN(uiVisibleN).UpdatedByRequest(updatedByRequest).ValidationMaximum(validationMaximum).ValidationMaximumEmpty(validationMaximumEmpty).ValidationMaximumGt(validationMaximumGt).ValidationMaximumGte(validationMaximumGte).ValidationMaximumLt(validationMaximumLt).ValidationMaximumLte(validationMaximumLte).ValidationMaximumN(validationMaximumN).ValidationMinimum(validationMinimum).ValidationMinimumEmpty(validationMinimumEmpty).ValidationMinimumGt(validationMinimumGt).ValidationMinimumGte(validationMinimumGte).ValidationMinimumLt(validationMinimumLt).ValidationMinimumLte(validationMinimumLte).ValidationMinimumN(validationMinimumN).ValidationRegex(validationRegex).ValidationRegexEmpty(validationRegexEmpty).ValidationRegexIc(validationRegexIc).ValidationRegexIe(validationRegexIe).ValidationRegexIew(validationRegexIew).ValidationRegexIsw(validationRegexIsw).ValidationRegexN(validationRegexN).ValidationRegexNic(validationRegexNic).ValidationRegexNie(validationRegexNie).ValidationRegexNiew(validationRegexNiew).ValidationRegexNisw(validationRegexNisw).Weight(weight).WeightEmpty(weightEmpty).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).Execute() + resp, r, err := apiClient.ExtrasAPI.ExtrasCustomFieldsList(context.Background()).ChoiceSet(choiceSet).ChoiceSetN(choiceSetN).ChoiceSetId(choiceSetId).ChoiceSetIdN(choiceSetIdN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).FilterLogic(filterLogic).GroupName(groupName).GroupNameEmpty(groupNameEmpty).GroupNameIc(groupNameIc).GroupNameIe(groupNameIe).GroupNameIew(groupNameIew).GroupNameIsw(groupNameIsw).GroupNameN(groupNameN).GroupNameNic(groupNameNic).GroupNameNie(groupNameNie).GroupNameNiew(groupNameNiew).GroupNameNisw(groupNameNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).IsCloneable(isCloneable).Label(label).LabelEmpty(labelEmpty).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNisw(labelNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).ObjectType(objectType).ObjectTypeIc(objectTypeIc).ObjectTypeIe(objectTypeIe).ObjectTypeIew(objectTypeIew).ObjectTypeIsw(objectTypeIsw).ObjectTypeN(objectTypeN).ObjectTypeNic(objectTypeNic).ObjectTypeNie(objectTypeNie).ObjectTypeNiew(objectTypeNiew).ObjectTypeNisw(objectTypeNisw).ObjectTypeId(objectTypeId).ObjectTypeIdN(objectTypeIdN).Offset(offset).Ordering(ordering).Q(q).RelatedObjectType(relatedObjectType).RelatedObjectTypeN(relatedObjectTypeN).RelatedObjectTypeId(relatedObjectTypeId).RelatedObjectTypeIdN(relatedObjectTypeIdN).Required(required).SearchWeight(searchWeight).SearchWeightEmpty(searchWeightEmpty).SearchWeightGt(searchWeightGt).SearchWeightGte(searchWeightGte).SearchWeightLt(searchWeightLt).SearchWeightLte(searchWeightLte).SearchWeightN(searchWeightN).Type_(type_).TypeEmpty(typeEmpty).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNisw(typeNisw).UiEditable(uiEditable).UiVisible(uiVisible).Unique(unique).UpdatedByRequest(updatedByRequest).ValidationMaximum(validationMaximum).ValidationMaximumEmpty(validationMaximumEmpty).ValidationMaximumGt(validationMaximumGt).ValidationMaximumGte(validationMaximumGte).ValidationMaximumLt(validationMaximumLt).ValidationMaximumLte(validationMaximumLte).ValidationMaximumN(validationMaximumN).ValidationMinimum(validationMinimum).ValidationMinimumEmpty(validationMinimumEmpty).ValidationMinimumGt(validationMinimumGt).ValidationMinimumGte(validationMinimumGte).ValidationMinimumLt(validationMinimumLt).ValidationMinimumLte(validationMinimumLte).ValidationMinimumN(validationMinimumN).ValidationRegex(validationRegex).ValidationRegexEmpty(validationRegexEmpty).ValidationRegexIc(validationRegexIc).ValidationRegexIe(validationRegexIe).ValidationRegexIew(validationRegexIew).ValidationRegexIsw(validationRegexIsw).ValidationRegexN(validationRegexN).ValidationRegexNic(validationRegexNic).ValidationRegexNie(validationRegexNie).ValidationRegexNiew(validationRegexNiew).ValidationRegexNisw(validationRegexNisw).Weight(weight).WeightEmpty(weightEmpty).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).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) @@ -3950,7 +3972,6 @@ Name | Type | Description | Notes **descriptionNiew** | **[]string** | | **descriptionNisw** | **[]string** | | **filterLogic** | [**ExtrasCustomFieldsListFilterLogicParameter**](ExtrasCustomFieldsListFilterLogicParameter.md) | Loose matches any instance of a given string; exact matches the entire field. * `disabled` - Disabled * `loose` - Loose * `exact` - Exact | - **filterLogicN** | [**ExtrasCustomFieldsListFilterLogicParameter**](ExtrasCustomFieldsListFilterLogicParameter.md) | Loose matches any instance of a given string; exact matches the entire field. * `disabled` - Disabled * `loose` - Loose * `exact` - Exact | **groupName** | **[]string** | | **groupNameEmpty** | **bool** | | **groupNameIc** | **[]string** | | @@ -4029,11 +4050,19 @@ Name | Type | Description | Notes **searchWeightLte** | **[]int32** | | **searchWeightN** | **[]int32** | | **type_** | **[]string** | The type of data this custom field holds | - **typeN** | **[]string** | The type of data this custom field holds | + **typeEmpty** | **bool** | | + **typeIc** | [**[]ExtrasCustomFieldsListTypeIcParameterInner**](ExtrasCustomFieldsListTypeIcParameterInner.md) | The type of data this custom field holds * `text` - Text * `longtext` - Text (long) * `integer` - Integer * `decimal` - Decimal * `boolean` - Boolean (true/false) * `date` - Date * `datetime` - Date & time * `url` - URL * `json` - JSON * `select` - Selection * `multiselect` - Multiple selection * `object` - Object * `multiobject` - Multiple objects | + **typeIe** | [**[]ExtrasCustomFieldsListTypeIcParameterInner**](ExtrasCustomFieldsListTypeIcParameterInner.md) | The type of data this custom field holds * `text` - Text * `longtext` - Text (long) * `integer` - Integer * `decimal` - Decimal * `boolean` - Boolean (true/false) * `date` - Date * `datetime` - Date & time * `url` - URL * `json` - JSON * `select` - Selection * `multiselect` - Multiple selection * `object` - Object * `multiobject` - Multiple objects | + **typeIew** | [**[]ExtrasCustomFieldsListTypeIcParameterInner**](ExtrasCustomFieldsListTypeIcParameterInner.md) | The type of data this custom field holds * `text` - Text * `longtext` - Text (long) * `integer` - Integer * `decimal` - Decimal * `boolean` - Boolean (true/false) * `date` - Date * `datetime` - Date & time * `url` - URL * `json` - JSON * `select` - Selection * `multiselect` - Multiple selection * `object` - Object * `multiobject` - Multiple objects | + **typeIsw** | [**[]ExtrasCustomFieldsListTypeIcParameterInner**](ExtrasCustomFieldsListTypeIcParameterInner.md) | The type of data this custom field holds * `text` - Text * `longtext` - Text (long) * `integer` - Integer * `decimal` - Decimal * `boolean` - Boolean (true/false) * `date` - Date * `datetime` - Date & time * `url` - URL * `json` - JSON * `select` - Selection * `multiselect` - Multiple selection * `object` - Object * `multiobject` - Multiple objects | + **typeN** | [**[]ExtrasCustomFieldsListTypeIcParameterInner**](ExtrasCustomFieldsListTypeIcParameterInner.md) | The type of data this custom field holds * `text` - Text * `longtext` - Text (long) * `integer` - Integer * `decimal` - Decimal * `boolean` - Boolean (true/false) * `date` - Date * `datetime` - Date & time * `url` - URL * `json` - JSON * `select` - Selection * `multiselect` - Multiple selection * `object` - Object * `multiobject` - Multiple objects | + **typeNic** | [**[]ExtrasCustomFieldsListTypeIcParameterInner**](ExtrasCustomFieldsListTypeIcParameterInner.md) | The type of data this custom field holds * `text` - Text * `longtext` - Text (long) * `integer` - Integer * `decimal` - Decimal * `boolean` - Boolean (true/false) * `date` - Date * `datetime` - Date & time * `url` - URL * `json` - JSON * `select` - Selection * `multiselect` - Multiple selection * `object` - Object * `multiobject` - Multiple objects | + **typeNie** | [**[]ExtrasCustomFieldsListTypeIcParameterInner**](ExtrasCustomFieldsListTypeIcParameterInner.md) | The type of data this custom field holds * `text` - Text * `longtext` - Text (long) * `integer` - Integer * `decimal` - Decimal * `boolean` - Boolean (true/false) * `date` - Date * `datetime` - Date & time * `url` - URL * `json` - JSON * `select` - Selection * `multiselect` - Multiple selection * `object` - Object * `multiobject` - Multiple objects | + **typeNiew** | [**[]ExtrasCustomFieldsListTypeIcParameterInner**](ExtrasCustomFieldsListTypeIcParameterInner.md) | The type of data this custom field holds * `text` - Text * `longtext` - Text (long) * `integer` - Integer * `decimal` - Decimal * `boolean` - Boolean (true/false) * `date` - Date * `datetime` - Date & time * `url` - URL * `json` - JSON * `select` - Selection * `multiselect` - Multiple selection * `object` - Object * `multiobject` - Multiple objects | + **typeNisw** | [**[]ExtrasCustomFieldsListTypeIcParameterInner**](ExtrasCustomFieldsListTypeIcParameterInner.md) | The type of data this custom field holds * `text` - Text * `longtext` - Text (long) * `integer` - Integer * `decimal` - Decimal * `boolean` - Boolean (true/false) * `date` - Date * `datetime` - Date & time * `url` - URL * `json` - JSON * `select` - Selection * `multiselect` - Multiple selection * `object` - Object * `multiobject` - Multiple objects | **uiEditable** | [**ExtrasCustomFieldsListUiEditableParameter**](ExtrasCustomFieldsListUiEditableParameter.md) | Specifies whether the custom field value can be edited in the UI * `yes` - Yes * `no` - No * `hidden` - Hidden | - **uiEditableN** | [**ExtrasCustomFieldsListUiEditableParameter**](ExtrasCustomFieldsListUiEditableParameter.md) | Specifies whether the custom field value can be edited in the UI * `yes` - Yes * `no` - No * `hidden` - Hidden | **uiVisible** | [**ExtrasCustomFieldsListUiVisibleParameter**](ExtrasCustomFieldsListUiVisibleParameter.md) | Specifies whether the custom field is displayed in the UI * `always` - Always * `if-set` - If set * `hidden` - Hidden | - **uiVisibleN** | [**ExtrasCustomFieldsListUiVisibleParameter**](ExtrasCustomFieldsListUiVisibleParameter.md) | Specifies whether the custom field is displayed in the UI * `always` - Always * `if-set` - If set * `hidden` - Hidden | + **unique** | **bool** | | **updatedByRequest** | **string** | | **validationMaximum** | **[]int32** | | **validationMaximumEmpty** | **bool** | | @@ -4632,7 +4661,7 @@ Name | Type | Description | Notes ## ExtrasCustomLinksList -> PaginatedCustomLinkList ExtrasCustomLinksList(ctx).ButtonClass(buttonClass).ButtonClassN(buttonClassN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Enabled(enabled).GroupName(groupName).GroupNameEmpty(groupNameEmpty).GroupNameIc(groupNameIc).GroupNameIe(groupNameIe).GroupNameIew(groupNameIew).GroupNameIsw(groupNameIsw).GroupNameN(groupNameN).GroupNameNic(groupNameNic).GroupNameNie(groupNameNie).GroupNameNiew(groupNameNiew).GroupNameNisw(groupNameNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).LinkText(linkText).LinkTextIc(linkTextIc).LinkTextIe(linkTextIe).LinkTextIew(linkTextIew).LinkTextIsw(linkTextIsw).LinkTextN(linkTextN).LinkTextNic(linkTextNic).LinkTextNie(linkTextNie).LinkTextNiew(linkTextNiew).LinkTextNisw(linkTextNisw).LinkUrl(linkUrl).LinkUrlIc(linkUrlIc).LinkUrlIe(linkUrlIe).LinkUrlIew(linkUrlIew).LinkUrlIsw(linkUrlIsw).LinkUrlN(linkUrlN).LinkUrlNic(linkUrlNic).LinkUrlNie(linkUrlNie).LinkUrlNiew(linkUrlNiew).LinkUrlNisw(linkUrlNisw).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).NewWindow(newWindow).ObjectType(objectType).ObjectTypeIc(objectTypeIc).ObjectTypeIe(objectTypeIe).ObjectTypeIew(objectTypeIew).ObjectTypeIsw(objectTypeIsw).ObjectTypeN(objectTypeN).ObjectTypeNic(objectTypeNic).ObjectTypeNie(objectTypeNie).ObjectTypeNiew(objectTypeNiew).ObjectTypeNisw(objectTypeNisw).ObjectTypeId(objectTypeId).ObjectTypeIdN(objectTypeIdN).Offset(offset).Ordering(ordering).Q(q).UpdatedByRequest(updatedByRequest).Weight(weight).WeightEmpty(weightEmpty).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).Execute() +> PaginatedCustomLinkList ExtrasCustomLinksList(ctx).ButtonClass(buttonClass).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Enabled(enabled).GroupName(groupName).GroupNameEmpty(groupNameEmpty).GroupNameIc(groupNameIc).GroupNameIe(groupNameIe).GroupNameIew(groupNameIew).GroupNameIsw(groupNameIsw).GroupNameN(groupNameN).GroupNameNic(groupNameNic).GroupNameNie(groupNameNie).GroupNameNiew(groupNameNiew).GroupNameNisw(groupNameNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).LinkText(linkText).LinkTextIc(linkTextIc).LinkTextIe(linkTextIe).LinkTextIew(linkTextIew).LinkTextIsw(linkTextIsw).LinkTextN(linkTextN).LinkTextNic(linkTextNic).LinkTextNie(linkTextNie).LinkTextNiew(linkTextNiew).LinkTextNisw(linkTextNisw).LinkUrl(linkUrl).LinkUrlIc(linkUrlIc).LinkUrlIe(linkUrlIe).LinkUrlIew(linkUrlIew).LinkUrlIsw(linkUrlIsw).LinkUrlN(linkUrlN).LinkUrlNic(linkUrlNic).LinkUrlNie(linkUrlNie).LinkUrlNiew(linkUrlNiew).LinkUrlNisw(linkUrlNisw).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).NewWindow(newWindow).ObjectType(objectType).ObjectTypeIc(objectTypeIc).ObjectTypeIe(objectTypeIe).ObjectTypeIew(objectTypeIew).ObjectTypeIsw(objectTypeIsw).ObjectTypeN(objectTypeN).ObjectTypeNic(objectTypeNic).ObjectTypeNie(objectTypeNie).ObjectTypeNiew(objectTypeNiew).ObjectTypeNisw(objectTypeNisw).ObjectTypeId(objectTypeId).ObjectTypeIdN(objectTypeIdN).Offset(offset).Ordering(ordering).Q(q).UpdatedByRequest(updatedByRequest).Weight(weight).WeightEmpty(weightEmpty).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).Execute() @@ -4652,8 +4681,7 @@ import ( ) func main() { - buttonClass := openapiclient.extras_custom_links_list_button_class_parameter("black") // ExtrasCustomLinksListButtonClassParameter | The class of the first link in a group will be used for the dropdown button * `outline-dark` - Default * `blue` - Blue * `indigo` - Indigo * `purple` - Purple * `pink` - Pink * `red` - Red * `orange` - Orange * `yellow` - Yellow * `green` - Green * `teal` - Teal * `cyan` - Cyan * `gray` - Gray * `black` - Black * `white` - White * `ghost-dark` - Link (optional) - buttonClassN := openapiclient.extras_custom_links_list_button_class_parameter("black") // ExtrasCustomLinksListButtonClassParameter | The class of the first link in a group will be used for the dropdown button * `outline-dark` - Default * `blue` - Blue * `indigo` - Indigo * `purple` - Purple * `pink` - Pink * `red` - Red * `orange` - Orange * `yellow` - Yellow * `green` - Green * `teal` - Teal * `cyan` - Cyan * `gray` - Gray * `black` - Black * `white` - White * `ghost-dark` - Link (optional) + buttonClass := openapiclient.extras_custom_links_list_button_class_parameter("black") // ExtrasCustomLinksListButtonClassParameter | The class of the first link in a group will be used for the dropdown button * `default` - Default * `blue` - Blue * `indigo` - Indigo * `purple` - Purple * `pink` - Pink * `red` - Red * `orange` - Orange * `yellow` - Yellow * `green` - Green * `teal` - Teal * `cyan` - Cyan * `gray` - Gray * `black` - Black * `white` - White * `ghost-dark` - Link (optional) created := []time.Time{time.Now()} // []time.Time | (optional) createdEmpty := []time.Time{time.Now()} // []time.Time | (optional) createdGt := []time.Time{time.Now()} // []time.Time | (optional) @@ -4748,7 +4776,7 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ExtrasAPI.ExtrasCustomLinksList(context.Background()).ButtonClass(buttonClass).ButtonClassN(buttonClassN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Enabled(enabled).GroupName(groupName).GroupNameEmpty(groupNameEmpty).GroupNameIc(groupNameIc).GroupNameIe(groupNameIe).GroupNameIew(groupNameIew).GroupNameIsw(groupNameIsw).GroupNameN(groupNameN).GroupNameNic(groupNameNic).GroupNameNie(groupNameNie).GroupNameNiew(groupNameNiew).GroupNameNisw(groupNameNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).LinkText(linkText).LinkTextIc(linkTextIc).LinkTextIe(linkTextIe).LinkTextIew(linkTextIew).LinkTextIsw(linkTextIsw).LinkTextN(linkTextN).LinkTextNic(linkTextNic).LinkTextNie(linkTextNie).LinkTextNiew(linkTextNiew).LinkTextNisw(linkTextNisw).LinkUrl(linkUrl).LinkUrlIc(linkUrlIc).LinkUrlIe(linkUrlIe).LinkUrlIew(linkUrlIew).LinkUrlIsw(linkUrlIsw).LinkUrlN(linkUrlN).LinkUrlNic(linkUrlNic).LinkUrlNie(linkUrlNie).LinkUrlNiew(linkUrlNiew).LinkUrlNisw(linkUrlNisw).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).NewWindow(newWindow).ObjectType(objectType).ObjectTypeIc(objectTypeIc).ObjectTypeIe(objectTypeIe).ObjectTypeIew(objectTypeIew).ObjectTypeIsw(objectTypeIsw).ObjectTypeN(objectTypeN).ObjectTypeNic(objectTypeNic).ObjectTypeNie(objectTypeNie).ObjectTypeNiew(objectTypeNiew).ObjectTypeNisw(objectTypeNisw).ObjectTypeId(objectTypeId).ObjectTypeIdN(objectTypeIdN).Offset(offset).Ordering(ordering).Q(q).UpdatedByRequest(updatedByRequest).Weight(weight).WeightEmpty(weightEmpty).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).Execute() + resp, r, err := apiClient.ExtrasAPI.ExtrasCustomLinksList(context.Background()).ButtonClass(buttonClass).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Enabled(enabled).GroupName(groupName).GroupNameEmpty(groupNameEmpty).GroupNameIc(groupNameIc).GroupNameIe(groupNameIe).GroupNameIew(groupNameIew).GroupNameIsw(groupNameIsw).GroupNameN(groupNameN).GroupNameNic(groupNameNic).GroupNameNie(groupNameNie).GroupNameNiew(groupNameNiew).GroupNameNisw(groupNameNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).LinkText(linkText).LinkTextIc(linkTextIc).LinkTextIe(linkTextIe).LinkTextIew(linkTextIew).LinkTextIsw(linkTextIsw).LinkTextN(linkTextN).LinkTextNic(linkTextNic).LinkTextNie(linkTextNie).LinkTextNiew(linkTextNiew).LinkTextNisw(linkTextNisw).LinkUrl(linkUrl).LinkUrlIc(linkUrlIc).LinkUrlIe(linkUrlIe).LinkUrlIew(linkUrlIew).LinkUrlIsw(linkUrlIsw).LinkUrlN(linkUrlN).LinkUrlNic(linkUrlNic).LinkUrlNie(linkUrlNie).LinkUrlNiew(linkUrlNiew).LinkUrlNisw(linkUrlNisw).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).NewWindow(newWindow).ObjectType(objectType).ObjectTypeIc(objectTypeIc).ObjectTypeIe(objectTypeIe).ObjectTypeIew(objectTypeIew).ObjectTypeIsw(objectTypeIsw).ObjectTypeN(objectTypeN).ObjectTypeNic(objectTypeNic).ObjectTypeNie(objectTypeNie).ObjectTypeNiew(objectTypeNiew).ObjectTypeNisw(objectTypeNisw).ObjectTypeId(objectTypeId).ObjectTypeIdN(objectTypeIdN).Offset(offset).Ordering(ordering).Q(q).UpdatedByRequest(updatedByRequest).Weight(weight).WeightEmpty(weightEmpty).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).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) @@ -4769,8 +4797,7 @@ Other parameters are passed through a pointer to a apiExtrasCustomLinksListReque Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **buttonClass** | [**ExtrasCustomLinksListButtonClassParameter**](ExtrasCustomLinksListButtonClassParameter.md) | The class of the first link in a group will be used for the dropdown button * `outline-dark` - Default * `blue` - Blue * `indigo` - Indigo * `purple` - Purple * `pink` - Pink * `red` - Red * `orange` - Orange * `yellow` - Yellow * `green` - Green * `teal` - Teal * `cyan` - Cyan * `gray` - Gray * `black` - Black * `white` - White * `ghost-dark` - Link | - **buttonClassN** | [**ExtrasCustomLinksListButtonClassParameter**](ExtrasCustomLinksListButtonClassParameter.md) | The class of the first link in a group will be used for the dropdown button * `outline-dark` - Default * `blue` - Blue * `indigo` - Indigo * `purple` - Purple * `pink` - Pink * `red` - Red * `orange` - Orange * `yellow` - Yellow * `green` - Green * `teal` - Teal * `cyan` - Cyan * `gray` - Gray * `black` - Black * `white` - White * `ghost-dark` - Link | + **buttonClass** | [**ExtrasCustomLinksListButtonClassParameter**](ExtrasCustomLinksListButtonClassParameter.md) | The class of the first link in a group will be used for the dropdown button * `default` - Default * `blue` - Blue * `indigo` - Indigo * `purple` - Purple * `pink` - Pink * `red` - Red * `orange` - Orange * `yellow` - Yellow * `green` - Green * `teal` - Teal * `cyan` - Cyan * `gray` - Gray * `black` - Black * `white` - White * `ghost-dark` - Link | **created** | [**[]time.Time**](time.Time.md) | | **createdEmpty** | [**[]time.Time**](time.Time.md) | | **createdGt** | [**[]time.Time**](time.Time.md) | | @@ -5368,7 +5395,7 @@ import ( ) func main() { - eventRuleRequest := []openapiclient.EventRuleRequest{*openapiclient.NewEventRuleRequest([]string{"ObjectTypes_example"}, "Name_example", openapiclient.EventRule_action_type_value("webhook"), "ActionObjectType_example")} // []EventRuleRequest | + eventRuleRequest := []openapiclient.EventRuleRequest{*openapiclient.NewEventRuleRequest([]string{"ObjectTypes_example"}, "Name_example", []openapiclient.EventRuleEventTypesInner{openapiclient.EventRule_event_types_inner("object_created")}, openapiclient.EventRule_action_type_value("webhook"), "ActionObjectType_example")} // []EventRuleRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -5432,7 +5459,7 @@ import ( ) func main() { - eventRuleRequest := []openapiclient.EventRuleRequest{*openapiclient.NewEventRuleRequest([]string{"ObjectTypes_example"}, "Name_example", openapiclient.EventRule_action_type_value("webhook"), "ActionObjectType_example")} // []EventRuleRequest | + eventRuleRequest := []openapiclient.EventRuleRequest{*openapiclient.NewEventRuleRequest([]string{"ObjectTypes_example"}, "Name_example", []openapiclient.EventRuleEventTypesInner{openapiclient.EventRule_event_types_inner("object_created")}, openapiclient.EventRule_action_type_value("webhook"), "ActionObjectType_example")} // []EventRuleRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -5498,7 +5525,7 @@ import ( ) func main() { - eventRuleRequest := []openapiclient.EventRuleRequest{*openapiclient.NewEventRuleRequest([]string{"ObjectTypes_example"}, "Name_example", openapiclient.EventRule_action_type_value("webhook"), "ActionObjectType_example")} // []EventRuleRequest | + eventRuleRequest := []openapiclient.EventRuleRequest{*openapiclient.NewEventRuleRequest([]string{"ObjectTypes_example"}, "Name_example", []openapiclient.EventRuleEventTypesInner{openapiclient.EventRule_event_types_inner("object_created")}, openapiclient.EventRule_action_type_value("webhook"), "ActionObjectType_example")} // []EventRuleRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -5564,7 +5591,7 @@ import ( ) func main() { - writableEventRuleRequest := *openapiclient.NewWritableEventRuleRequest([]string{"ObjectTypes_example"}, "Name_example", "ActionObjectType_example") // WritableEventRuleRequest | + writableEventRuleRequest := *openapiclient.NewWritableEventRuleRequest([]string{"ObjectTypes_example"}, "Name_example", []openapiclient.EventRuleEventTypesInner{openapiclient.EventRule_event_types_inner("object_created")}, "ActionObjectType_example") // WritableEventRuleRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -5679,7 +5706,7 @@ Name | Type | Description | Notes ## ExtrasEventRulesList -> PaginatedEventRuleList ExtrasEventRulesList(ctx).ActionObjectId(actionObjectId).ActionObjectIdEmpty(actionObjectIdEmpty).ActionObjectIdGt(actionObjectIdGt).ActionObjectIdGte(actionObjectIdGte).ActionObjectIdLt(actionObjectIdLt).ActionObjectIdLte(actionObjectIdLte).ActionObjectIdN(actionObjectIdN).ActionObjectType(actionObjectType).ActionObjectTypeN(actionObjectTypeN).ActionType(actionType).ActionTypeN(actionTypeN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Enabled(enabled).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).ObjectType(objectType).ObjectTypeIc(objectTypeIc).ObjectTypeIe(objectTypeIe).ObjectTypeIew(objectTypeIew).ObjectTypeIsw(objectTypeIsw).ObjectTypeN(objectTypeN).ObjectTypeNic(objectTypeNic).ObjectTypeNie(objectTypeNie).ObjectTypeNiew(objectTypeNiew).ObjectTypeNisw(objectTypeNisw).ObjectTypeId(objectTypeId).ObjectTypeIdN(objectTypeIdN).Offset(offset).Ordering(ordering).Q(q).Tag(tag).TagN(tagN).TypeCreate(typeCreate).TypeDelete(typeDelete).TypeJobEnd(typeJobEnd).TypeJobStart(typeJobStart).TypeUpdate(typeUpdate).UpdatedByRequest(updatedByRequest).Execute() +> PaginatedEventRuleList ExtrasEventRulesList(ctx).ActionObjectId(actionObjectId).ActionObjectIdEmpty(actionObjectIdEmpty).ActionObjectIdGt(actionObjectIdGt).ActionObjectIdGte(actionObjectIdGte).ActionObjectIdLt(actionObjectIdLt).ActionObjectIdLte(actionObjectIdLte).ActionObjectIdN(actionObjectIdN).ActionObjectType(actionObjectType).ActionObjectTypeN(actionObjectTypeN).ActionType(actionType).ActionTypeEmpty(actionTypeEmpty).ActionTypeIc(actionTypeIc).ActionTypeIe(actionTypeIe).ActionTypeIew(actionTypeIew).ActionTypeIsw(actionTypeIsw).ActionTypeN(actionTypeN).ActionTypeNic(actionTypeNic).ActionTypeNie(actionTypeNie).ActionTypeNiew(actionTypeNiew).ActionTypeNisw(actionTypeNisw).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Enabled(enabled).EventType(eventType).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).ObjectType(objectType).ObjectTypeIc(objectTypeIc).ObjectTypeIe(objectTypeIe).ObjectTypeIew(objectTypeIew).ObjectTypeIsw(objectTypeIsw).ObjectTypeN(objectTypeN).ObjectTypeNic(objectTypeNic).ObjectTypeNie(objectTypeNie).ObjectTypeNiew(objectTypeNiew).ObjectTypeNisw(objectTypeNisw).ObjectTypeId(objectTypeId).ObjectTypeIdN(objectTypeIdN).Offset(offset).Ordering(ordering).Q(q).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).Execute() @@ -5709,7 +5736,16 @@ func main() { actionObjectType := "actionObjectType_example" // string | (optional) actionObjectTypeN := "actionObjectTypeN_example" // string | (optional) actionType := []string{"Inner_example"} // []string | (optional) - actionTypeN := []string{"Inner_example"} // []string | (optional) + actionTypeEmpty := true // bool | (optional) + actionTypeIc := []openapiclient.ExtrasEventRulesListActionTypeIcParameterInner{openapiclient.extras_event_rules_list_action_type__ic_parameter_inner("notification")} // []ExtrasEventRulesListActionTypeIcParameterInner | * `webhook` - Webhook * `script` - Script * `notification` - Notification (optional) + actionTypeIe := []openapiclient.ExtrasEventRulesListActionTypeIcParameterInner{openapiclient.extras_event_rules_list_action_type__ic_parameter_inner("notification")} // []ExtrasEventRulesListActionTypeIcParameterInner | * `webhook` - Webhook * `script` - Script * `notification` - Notification (optional) + actionTypeIew := []openapiclient.ExtrasEventRulesListActionTypeIcParameterInner{openapiclient.extras_event_rules_list_action_type__ic_parameter_inner("notification")} // []ExtrasEventRulesListActionTypeIcParameterInner | * `webhook` - Webhook * `script` - Script * `notification` - Notification (optional) + actionTypeIsw := []openapiclient.ExtrasEventRulesListActionTypeIcParameterInner{openapiclient.extras_event_rules_list_action_type__ic_parameter_inner("notification")} // []ExtrasEventRulesListActionTypeIcParameterInner | * `webhook` - Webhook * `script` - Script * `notification` - Notification (optional) + actionTypeN := []openapiclient.ExtrasEventRulesListActionTypeIcParameterInner{openapiclient.extras_event_rules_list_action_type__ic_parameter_inner("notification")} // []ExtrasEventRulesListActionTypeIcParameterInner | * `webhook` - Webhook * `script` - Script * `notification` - Notification (optional) + actionTypeNic := []openapiclient.ExtrasEventRulesListActionTypeIcParameterInner{openapiclient.extras_event_rules_list_action_type__ic_parameter_inner("notification")} // []ExtrasEventRulesListActionTypeIcParameterInner | * `webhook` - Webhook * `script` - Script * `notification` - Notification (optional) + actionTypeNie := []openapiclient.ExtrasEventRulesListActionTypeIcParameterInner{openapiclient.extras_event_rules_list_action_type__ic_parameter_inner("notification")} // []ExtrasEventRulesListActionTypeIcParameterInner | * `webhook` - Webhook * `script` - Script * `notification` - Notification (optional) + actionTypeNiew := []openapiclient.ExtrasEventRulesListActionTypeIcParameterInner{openapiclient.extras_event_rules_list_action_type__ic_parameter_inner("notification")} // []ExtrasEventRulesListActionTypeIcParameterInner | * `webhook` - Webhook * `script` - Script * `notification` - Notification (optional) + actionTypeNisw := []openapiclient.ExtrasEventRulesListActionTypeIcParameterInner{openapiclient.extras_event_rules_list_action_type__ic_parameter_inner("notification")} // []ExtrasEventRulesListActionTypeIcParameterInner | * `webhook` - Webhook * `script` - Script * `notification` - Notification (optional) created := []time.Time{time.Now()} // []time.Time | (optional) createdEmpty := []time.Time{time.Now()} // []time.Time | (optional) createdGt := []time.Time{time.Now()} // []time.Time | (optional) @@ -5730,6 +5766,7 @@ func main() { descriptionNiew := []string{"Inner_example"} // []string | (optional) descriptionNisw := []string{"Inner_example"} // []string | (optional) enabled := true // bool | (optional) + eventType := []string{"Inner_example"} // []string | (optional) id := []int32{int32(123)} // []int32 | (optional) idEmpty := true // bool | (optional) idGt := []int32{int32(123)} // []int32 | (optional) @@ -5774,16 +5811,11 @@ func main() { q := "q_example" // string | Search (optional) tag := []string{"Inner_example"} // []string | (optional) tagN := []string{"Inner_example"} // []string | (optional) - typeCreate := true // bool | (optional) - typeDelete := true // bool | (optional) - typeJobEnd := true // bool | (optional) - typeJobStart := true // bool | (optional) - typeUpdate := true // bool | (optional) updatedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ExtrasAPI.ExtrasEventRulesList(context.Background()).ActionObjectId(actionObjectId).ActionObjectIdEmpty(actionObjectIdEmpty).ActionObjectIdGt(actionObjectIdGt).ActionObjectIdGte(actionObjectIdGte).ActionObjectIdLt(actionObjectIdLt).ActionObjectIdLte(actionObjectIdLte).ActionObjectIdN(actionObjectIdN).ActionObjectType(actionObjectType).ActionObjectTypeN(actionObjectTypeN).ActionType(actionType).ActionTypeN(actionTypeN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Enabled(enabled).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).ObjectType(objectType).ObjectTypeIc(objectTypeIc).ObjectTypeIe(objectTypeIe).ObjectTypeIew(objectTypeIew).ObjectTypeIsw(objectTypeIsw).ObjectTypeN(objectTypeN).ObjectTypeNic(objectTypeNic).ObjectTypeNie(objectTypeNie).ObjectTypeNiew(objectTypeNiew).ObjectTypeNisw(objectTypeNisw).ObjectTypeId(objectTypeId).ObjectTypeIdN(objectTypeIdN).Offset(offset).Ordering(ordering).Q(q).Tag(tag).TagN(tagN).TypeCreate(typeCreate).TypeDelete(typeDelete).TypeJobEnd(typeJobEnd).TypeJobStart(typeJobStart).TypeUpdate(typeUpdate).UpdatedByRequest(updatedByRequest).Execute() + resp, r, err := apiClient.ExtrasAPI.ExtrasEventRulesList(context.Background()).ActionObjectId(actionObjectId).ActionObjectIdEmpty(actionObjectIdEmpty).ActionObjectIdGt(actionObjectIdGt).ActionObjectIdGte(actionObjectIdGte).ActionObjectIdLt(actionObjectIdLt).ActionObjectIdLte(actionObjectIdLte).ActionObjectIdN(actionObjectIdN).ActionObjectType(actionObjectType).ActionObjectTypeN(actionObjectTypeN).ActionType(actionType).ActionTypeEmpty(actionTypeEmpty).ActionTypeIc(actionTypeIc).ActionTypeIe(actionTypeIe).ActionTypeIew(actionTypeIew).ActionTypeIsw(actionTypeIsw).ActionTypeN(actionTypeN).ActionTypeNic(actionTypeNic).ActionTypeNie(actionTypeNie).ActionTypeNiew(actionTypeNiew).ActionTypeNisw(actionTypeNisw).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Enabled(enabled).EventType(eventType).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).ObjectType(objectType).ObjectTypeIc(objectTypeIc).ObjectTypeIe(objectTypeIe).ObjectTypeIew(objectTypeIew).ObjectTypeIsw(objectTypeIsw).ObjectTypeN(objectTypeN).ObjectTypeNic(objectTypeNic).ObjectTypeNie(objectTypeNie).ObjectTypeNiew(objectTypeNiew).ObjectTypeNisw(objectTypeNisw).ObjectTypeId(objectTypeId).ObjectTypeIdN(objectTypeIdN).Offset(offset).Ordering(ordering).Q(q).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasEventRulesList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -5814,7 +5846,16 @@ Name | Type | Description | Notes **actionObjectType** | **string** | | **actionObjectTypeN** | **string** | | **actionType** | **[]string** | | - **actionTypeN** | **[]string** | | + **actionTypeEmpty** | **bool** | | + **actionTypeIc** | [**[]ExtrasEventRulesListActionTypeIcParameterInner**](ExtrasEventRulesListActionTypeIcParameterInner.md) | * `webhook` - Webhook * `script` - Script * `notification` - Notification | + **actionTypeIe** | [**[]ExtrasEventRulesListActionTypeIcParameterInner**](ExtrasEventRulesListActionTypeIcParameterInner.md) | * `webhook` - Webhook * `script` - Script * `notification` - Notification | + **actionTypeIew** | [**[]ExtrasEventRulesListActionTypeIcParameterInner**](ExtrasEventRulesListActionTypeIcParameterInner.md) | * `webhook` - Webhook * `script` - Script * `notification` - Notification | + **actionTypeIsw** | [**[]ExtrasEventRulesListActionTypeIcParameterInner**](ExtrasEventRulesListActionTypeIcParameterInner.md) | * `webhook` - Webhook * `script` - Script * `notification` - Notification | + **actionTypeN** | [**[]ExtrasEventRulesListActionTypeIcParameterInner**](ExtrasEventRulesListActionTypeIcParameterInner.md) | * `webhook` - Webhook * `script` - Script * `notification` - Notification | + **actionTypeNic** | [**[]ExtrasEventRulesListActionTypeIcParameterInner**](ExtrasEventRulesListActionTypeIcParameterInner.md) | * `webhook` - Webhook * `script` - Script * `notification` - Notification | + **actionTypeNie** | [**[]ExtrasEventRulesListActionTypeIcParameterInner**](ExtrasEventRulesListActionTypeIcParameterInner.md) | * `webhook` - Webhook * `script` - Script * `notification` - Notification | + **actionTypeNiew** | [**[]ExtrasEventRulesListActionTypeIcParameterInner**](ExtrasEventRulesListActionTypeIcParameterInner.md) | * `webhook` - Webhook * `script` - Script * `notification` - Notification | + **actionTypeNisw** | [**[]ExtrasEventRulesListActionTypeIcParameterInner**](ExtrasEventRulesListActionTypeIcParameterInner.md) | * `webhook` - Webhook * `script` - Script * `notification` - Notification | **created** | [**[]time.Time**](time.Time.md) | | **createdEmpty** | [**[]time.Time**](time.Time.md) | | **createdGt** | [**[]time.Time**](time.Time.md) | | @@ -5835,6 +5876,7 @@ Name | Type | Description | Notes **descriptionNiew** | **[]string** | | **descriptionNisw** | **[]string** | | **enabled** | **bool** | | + **eventType** | **[]string** | | **id** | **[]int32** | | **idEmpty** | **bool** | | **idGt** | **[]int32** | | @@ -5879,11 +5921,6 @@ Name | Type | Description | Notes **q** | **string** | Search | **tag** | **[]string** | | **tagN** | **[]string** | | - **typeCreate** | **bool** | | - **typeDelete** | **bool** | | - **typeJobEnd** | **bool** | | - **typeJobStart** | **bool** | | - **typeUpdate** | **bool** | | **updatedByRequest** | **string** | | ### Return type @@ -6068,7 +6105,7 @@ import ( func main() { id := int32(56) // int32 | A unique integer value identifying this event rule. - writableEventRuleRequest := *openapiclient.NewWritableEventRuleRequest([]string{"ObjectTypes_example"}, "Name_example", "ActionObjectType_example") // WritableEventRuleRequest | + writableEventRuleRequest := *openapiclient.NewWritableEventRuleRequest([]string{"ObjectTypes_example"}, "Name_example", []openapiclient.EventRuleEventTypesInner{openapiclient.EventRule_event_types_inner("object_created")}, "ActionObjectType_example") // WritableEventRuleRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -7014,7 +7051,7 @@ import ( ) func main() { - imageAttachmentRequest := []openapiclient.ImageAttachmentRequest{*openapiclient.NewImageAttachmentRequest("ObjectType_example", int64(123), "TODO", int32(123), int32(123))} // []ImageAttachmentRequest | + imageAttachmentRequest := []openapiclient.ImageAttachmentRequest{*openapiclient.NewImageAttachmentRequest("ObjectType_example", int64(123), "TODO")} // []ImageAttachmentRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -7078,7 +7115,7 @@ import ( ) func main() { - imageAttachmentRequest := []openapiclient.ImageAttachmentRequest{*openapiclient.NewImageAttachmentRequest("ObjectType_example", int64(123), "TODO", int32(123), int32(123))} // []ImageAttachmentRequest | + imageAttachmentRequest := []openapiclient.ImageAttachmentRequest{*openapiclient.NewImageAttachmentRequest("ObjectType_example", int64(123), "TODO")} // []ImageAttachmentRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -7144,7 +7181,7 @@ import ( ) func main() { - imageAttachmentRequest := []openapiclient.ImageAttachmentRequest{*openapiclient.NewImageAttachmentRequest("ObjectType_example", int64(123), "TODO", int32(123), int32(123))} // []ImageAttachmentRequest | + imageAttachmentRequest := []openapiclient.ImageAttachmentRequest{*openapiclient.NewImageAttachmentRequest("ObjectType_example", int64(123), "TODO")} // []ImageAttachmentRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -7210,7 +7247,7 @@ import ( ) func main() { - imageAttachmentRequest := *openapiclient.NewImageAttachmentRequest("ObjectType_example", int64(123), "TODO", int32(123), int32(123)) // ImageAttachmentRequest | + imageAttachmentRequest := *openapiclient.NewImageAttachmentRequest("ObjectType_example", int64(123), "TODO") // ImageAttachmentRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -7680,7 +7717,7 @@ import ( func main() { id := int32(56) // int32 | A unique integer value identifying this image attachment. - imageAttachmentRequest := *openapiclient.NewImageAttachmentRequest("ObjectType_example", int64(123), "TODO", int32(123), int32(123)) // ImageAttachmentRequest | + imageAttachmentRequest := *openapiclient.NewImageAttachmentRequest("ObjectType_example", int64(123), "TODO") // ImageAttachmentRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -8062,7 +8099,7 @@ Name | Type | Description | Notes ## ExtrasJournalEntriesList -> PaginatedJournalEntryList ExtrasJournalEntriesList(ctx).AssignedObjectId(assignedObjectId).AssignedObjectIdEmpty(assignedObjectIdEmpty).AssignedObjectIdGt(assignedObjectIdGt).AssignedObjectIdGte(assignedObjectIdGte).AssignedObjectIdLt(assignedObjectIdLt).AssignedObjectIdLte(assignedObjectIdLte).AssignedObjectIdN(assignedObjectIdN).AssignedObjectType(assignedObjectType).AssignedObjectTypeN(assignedObjectTypeN).AssignedObjectTypeId(assignedObjectTypeId).AssignedObjectTypeIdN(assignedObjectTypeIdN).CreatedAfter(createdAfter).CreatedBefore(createdBefore).CreatedBy(createdBy).CreatedByN(createdByN).CreatedById(createdById).CreatedByIdN(createdByIdN).CreatedByRequest(createdByRequest).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Kind(kind).KindN(kindN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Offset(offset).Ordering(ordering).Q(q).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).Execute() +> PaginatedJournalEntryList ExtrasJournalEntriesList(ctx).AssignedObjectId(assignedObjectId).AssignedObjectIdEmpty(assignedObjectIdEmpty).AssignedObjectIdGt(assignedObjectIdGt).AssignedObjectIdGte(assignedObjectIdGte).AssignedObjectIdLt(assignedObjectIdLt).AssignedObjectIdLte(assignedObjectIdLte).AssignedObjectIdN(assignedObjectIdN).AssignedObjectType(assignedObjectType).AssignedObjectTypeN(assignedObjectTypeN).AssignedObjectTypeId(assignedObjectTypeId).AssignedObjectTypeIdN(assignedObjectTypeIdN).CreatedAfter(createdAfter).CreatedBefore(createdBefore).CreatedBy(createdBy).CreatedByN(createdByN).CreatedById(createdById).CreatedByIdN(createdByIdN).CreatedByRequest(createdByRequest).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Kind(kind).KindEmpty(kindEmpty).KindIc(kindIc).KindIe(kindIe).KindIew(kindIew).KindIsw(kindIsw).KindN(kindN).KindNic(kindNic).KindNie(kindNie).KindNiew(kindNiew).KindNisw(kindNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Offset(offset).Ordering(ordering).Q(q).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).Execute() @@ -8108,7 +8145,16 @@ func main() { idLte := []int32{int32(123)} // []int32 | (optional) idN := []int32{int32(123)} // []int32 | (optional) kind := []string{"Inner_example"} // []string | (optional) - kindN := []string{"Inner_example"} // []string | (optional) + kindEmpty := true // bool | (optional) + kindIc := []openapiclient.ExtrasJournalEntriesListKindIcParameterInner{openapiclient.extras_journal_entries_list_kind__ic_parameter_inner("danger")} // []ExtrasJournalEntriesListKindIcParameterInner | * `info` - Info * `success` - Success * `warning` - Warning * `danger` - Danger (optional) + kindIe := []openapiclient.ExtrasJournalEntriesListKindIcParameterInner{openapiclient.extras_journal_entries_list_kind__ic_parameter_inner("danger")} // []ExtrasJournalEntriesListKindIcParameterInner | * `info` - Info * `success` - Success * `warning` - Warning * `danger` - Danger (optional) + kindIew := []openapiclient.ExtrasJournalEntriesListKindIcParameterInner{openapiclient.extras_journal_entries_list_kind__ic_parameter_inner("danger")} // []ExtrasJournalEntriesListKindIcParameterInner | * `info` - Info * `success` - Success * `warning` - Warning * `danger` - Danger (optional) + kindIsw := []openapiclient.ExtrasJournalEntriesListKindIcParameterInner{openapiclient.extras_journal_entries_list_kind__ic_parameter_inner("danger")} // []ExtrasJournalEntriesListKindIcParameterInner | * `info` - Info * `success` - Success * `warning` - Warning * `danger` - Danger (optional) + kindN := []openapiclient.ExtrasJournalEntriesListKindIcParameterInner{openapiclient.extras_journal_entries_list_kind__ic_parameter_inner("danger")} // []ExtrasJournalEntriesListKindIcParameterInner | * `info` - Info * `success` - Success * `warning` - Warning * `danger` - Danger (optional) + kindNic := []openapiclient.ExtrasJournalEntriesListKindIcParameterInner{openapiclient.extras_journal_entries_list_kind__ic_parameter_inner("danger")} // []ExtrasJournalEntriesListKindIcParameterInner | * `info` - Info * `success` - Success * `warning` - Warning * `danger` - Danger (optional) + kindNie := []openapiclient.ExtrasJournalEntriesListKindIcParameterInner{openapiclient.extras_journal_entries_list_kind__ic_parameter_inner("danger")} // []ExtrasJournalEntriesListKindIcParameterInner | * `info` - Info * `success` - Success * `warning` - Warning * `danger` - Danger (optional) + kindNiew := []openapiclient.ExtrasJournalEntriesListKindIcParameterInner{openapiclient.extras_journal_entries_list_kind__ic_parameter_inner("danger")} // []ExtrasJournalEntriesListKindIcParameterInner | * `info` - Info * `success` - Success * `warning` - Warning * `danger` - Danger (optional) + kindNisw := []openapiclient.ExtrasJournalEntriesListKindIcParameterInner{openapiclient.extras_journal_entries_list_kind__ic_parameter_inner("danger")} // []ExtrasJournalEntriesListKindIcParameterInner | * `info` - Info * `success` - Success * `warning` - Warning * `danger` - Danger (optional) lastUpdated := []time.Time{time.Now()} // []time.Time | (optional) lastUpdatedEmpty := []time.Time{time.Now()} // []time.Time | (optional) lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional) @@ -8127,7 +8173,7 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ExtrasAPI.ExtrasJournalEntriesList(context.Background()).AssignedObjectId(assignedObjectId).AssignedObjectIdEmpty(assignedObjectIdEmpty).AssignedObjectIdGt(assignedObjectIdGt).AssignedObjectIdGte(assignedObjectIdGte).AssignedObjectIdLt(assignedObjectIdLt).AssignedObjectIdLte(assignedObjectIdLte).AssignedObjectIdN(assignedObjectIdN).AssignedObjectType(assignedObjectType).AssignedObjectTypeN(assignedObjectTypeN).AssignedObjectTypeId(assignedObjectTypeId).AssignedObjectTypeIdN(assignedObjectTypeIdN).CreatedAfter(createdAfter).CreatedBefore(createdBefore).CreatedBy(createdBy).CreatedByN(createdByN).CreatedById(createdById).CreatedByIdN(createdByIdN).CreatedByRequest(createdByRequest).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Kind(kind).KindN(kindN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Offset(offset).Ordering(ordering).Q(q).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).Execute() + resp, r, err := apiClient.ExtrasAPI.ExtrasJournalEntriesList(context.Background()).AssignedObjectId(assignedObjectId).AssignedObjectIdEmpty(assignedObjectIdEmpty).AssignedObjectIdGt(assignedObjectIdGt).AssignedObjectIdGte(assignedObjectIdGte).AssignedObjectIdLt(assignedObjectIdLt).AssignedObjectIdLte(assignedObjectIdLte).AssignedObjectIdN(assignedObjectIdN).AssignedObjectType(assignedObjectType).AssignedObjectTypeN(assignedObjectTypeN).AssignedObjectTypeId(assignedObjectTypeId).AssignedObjectTypeIdN(assignedObjectTypeIdN).CreatedAfter(createdAfter).CreatedBefore(createdBefore).CreatedBy(createdBy).CreatedByN(createdByN).CreatedById(createdById).CreatedByIdN(createdByIdN).CreatedByRequest(createdByRequest).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Kind(kind).KindEmpty(kindEmpty).KindIc(kindIc).KindIe(kindIe).KindIew(kindIew).KindIsw(kindIsw).KindN(kindN).KindNic(kindNic).KindNie(kindNie).KindNiew(kindNiew).KindNisw(kindNisw).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Offset(offset).Ordering(ordering).Q(q).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasJournalEntriesList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -8174,7 +8220,16 @@ Name | Type | Description | Notes **idLte** | **[]int32** | | **idN** | **[]int32** | | **kind** | **[]string** | | - **kindN** | **[]string** | | + **kindEmpty** | **bool** | | + **kindIc** | [**[]ExtrasJournalEntriesListKindIcParameterInner**](ExtrasJournalEntriesListKindIcParameterInner.md) | * `info` - Info * `success` - Success * `warning` - Warning * `danger` - Danger | + **kindIe** | [**[]ExtrasJournalEntriesListKindIcParameterInner**](ExtrasJournalEntriesListKindIcParameterInner.md) | * `info` - Info * `success` - Success * `warning` - Warning * `danger` - Danger | + **kindIew** | [**[]ExtrasJournalEntriesListKindIcParameterInner**](ExtrasJournalEntriesListKindIcParameterInner.md) | * `info` - Info * `success` - Success * `warning` - Warning * `danger` - Danger | + **kindIsw** | [**[]ExtrasJournalEntriesListKindIcParameterInner**](ExtrasJournalEntriesListKindIcParameterInner.md) | * `info` - Info * `success` - Success * `warning` - Warning * `danger` - Danger | + **kindN** | [**[]ExtrasJournalEntriesListKindIcParameterInner**](ExtrasJournalEntriesListKindIcParameterInner.md) | * `info` - Info * `success` - Success * `warning` - Warning * `danger` - Danger | + **kindNic** | [**[]ExtrasJournalEntriesListKindIcParameterInner**](ExtrasJournalEntriesListKindIcParameterInner.md) | * `info` - Info * `success` - Success * `warning` - Warning * `danger` - Danger | + **kindNie** | [**[]ExtrasJournalEntriesListKindIcParameterInner**](ExtrasJournalEntriesListKindIcParameterInner.md) | * `info` - Info * `success` - Success * `warning` - Warning * `danger` - Danger | + **kindNiew** | [**[]ExtrasJournalEntriesListKindIcParameterInner**](ExtrasJournalEntriesListKindIcParameterInner.md) | * `info` - Info * `success` - Success * `warning` - Warning * `danger` - Danger | + **kindNisw** | [**[]ExtrasJournalEntriesListKindIcParameterInner**](ExtrasJournalEntriesListKindIcParameterInner.md) | * `info` - Info * `success` - Success * `warning` - Warning * `danger` - Danger | **lastUpdated** | [**[]time.Time**](time.Time.md) | | **lastUpdatedEmpty** | [**[]time.Time**](time.Time.md) | | **lastUpdatedGt** | [**[]time.Time**](time.Time.md) | | @@ -8423,9 +8478,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## ExtrasObjectChangesList +## ExtrasNotificationGroupsBulkDestroy -> PaginatedObjectChangeList ExtrasObjectChangesList(ctx).Action(action).ActionN(actionN).ChangedObjectId(changedObjectId).ChangedObjectIdEmpty(changedObjectIdEmpty).ChangedObjectIdGt(changedObjectIdGt).ChangedObjectIdGte(changedObjectIdGte).ChangedObjectIdLt(changedObjectIdLt).ChangedObjectIdLte(changedObjectIdLte).ChangedObjectIdN(changedObjectIdN).ChangedObjectType(changedObjectType).ChangedObjectTypeN(changedObjectTypeN).ChangedObjectTypeId(changedObjectTypeId).ChangedObjectTypeIdN(changedObjectTypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Limit(limit).ObjectRepr(objectRepr).ObjectReprEmpty(objectReprEmpty).ObjectReprIc(objectReprIc).ObjectReprIe(objectReprIe).ObjectReprIew(objectReprIew).ObjectReprIsw(objectReprIsw).ObjectReprN(objectReprN).ObjectReprNic(objectReprNic).ObjectReprNie(objectReprNie).ObjectReprNiew(objectReprNiew).ObjectReprNisw(objectReprNisw).Offset(offset).Ordering(ordering).Q(q).RelatedObjectId(relatedObjectId).RelatedObjectIdEmpty(relatedObjectIdEmpty).RelatedObjectIdGt(relatedObjectIdGt).RelatedObjectIdGte(relatedObjectIdGte).RelatedObjectIdLt(relatedObjectIdLt).RelatedObjectIdLte(relatedObjectIdLte).RelatedObjectIdN(relatedObjectIdN).RelatedObjectType(relatedObjectType).RelatedObjectTypeN(relatedObjectTypeN).RequestId(requestId).TimeAfter(timeAfter).TimeBefore(timeBefore).User(user).UserN(userN).UserId(userId).UserIdN(userIdN).UserName(userName).UserNameEmpty(userNameEmpty).UserNameIc(userNameIc).UserNameIe(userNameIe).UserNameIew(userNameIew).UserNameIsw(userNameIsw).UserNameN(userNameN).UserNameNic(userNameNic).UserNameNie(userNameNie).UserNameNiew(userNameNiew).UserNameNisw(userNameNisw).Execute() +> ExtrasNotificationGroupsBulkDestroy(ctx).NotificationGroupRequest(notificationGroupRequest).Execute() @@ -8440,83 +8495,19 @@ import ( "context" "fmt" "os" - "time" openapiclient "github.com/netbox-community/go-netbox/v4" ) func main() { - action := openapiclient.extras_object_changes_list_action_parameter("create") // ExtrasObjectChangesListActionParameter | * `create` - Created * `update` - Updated * `delete` - Deleted (optional) - actionN := openapiclient.extras_object_changes_list_action_parameter("create") // ExtrasObjectChangesListActionParameter | * `create` - Created * `update` - Updated * `delete` - Deleted (optional) - changedObjectId := []int32{int32(123)} // []int32 | (optional) - changedObjectIdEmpty := true // bool | (optional) - changedObjectIdGt := []int32{int32(123)} // []int32 | (optional) - changedObjectIdGte := []int32{int32(123)} // []int32 | (optional) - changedObjectIdLt := []int32{int32(123)} // []int32 | (optional) - changedObjectIdLte := []int32{int32(123)} // []int32 | (optional) - changedObjectIdN := []int32{int32(123)} // []int32 | (optional) - changedObjectType := "changedObjectType_example" // string | (optional) - changedObjectTypeN := "changedObjectTypeN_example" // string | (optional) - changedObjectTypeId := []int32{int32(123)} // []int32 | (optional) - changedObjectTypeIdN := []int32{int32(123)} // []int32 | (optional) - id := []int32{int32(123)} // []int32 | (optional) - idEmpty := true // bool | (optional) - idGt := []int32{int32(123)} // []int32 | (optional) - idGte := []int32{int32(123)} // []int32 | (optional) - idLt := []int32{int32(123)} // []int32 | (optional) - idLte := []int32{int32(123)} // []int32 | (optional) - idN := []int32{int32(123)} // []int32 | (optional) - limit := int32(56) // int32 | Number of results to return per page. (optional) - objectRepr := []string{"Inner_example"} // []string | (optional) - objectReprEmpty := true // bool | (optional) - objectReprIc := []string{"Inner_example"} // []string | (optional) - objectReprIe := []string{"Inner_example"} // []string | (optional) - objectReprIew := []string{"Inner_example"} // []string | (optional) - objectReprIsw := []string{"Inner_example"} // []string | (optional) - objectReprN := []string{"Inner_example"} // []string | (optional) - objectReprNic := []string{"Inner_example"} // []string | (optional) - objectReprNie := []string{"Inner_example"} // []string | (optional) - objectReprNiew := []string{"Inner_example"} // []string | (optional) - objectReprNisw := []string{"Inner_example"} // []string | (optional) - offset := int32(56) // int32 | The initial index from which to return the results. (optional) - ordering := "ordering_example" // string | Which field to use when ordering the results. (optional) - q := "q_example" // string | Search (optional) - relatedObjectId := []int32{int32(123)} // []int32 | (optional) - relatedObjectIdEmpty := true // bool | (optional) - relatedObjectIdGt := []int32{int32(123)} // []int32 | (optional) - relatedObjectIdGte := []int32{int32(123)} // []int32 | (optional) - relatedObjectIdLt := []int32{int32(123)} // []int32 | (optional) - relatedObjectIdLte := []int32{int32(123)} // []int32 | (optional) - relatedObjectIdN := []int32{int32(123)} // []int32 | (optional) - relatedObjectType := int32(56) // int32 | (optional) - relatedObjectTypeN := int32(56) // int32 | (optional) - requestId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) - timeAfter := time.Now() // time.Time | (optional) - timeBefore := time.Now() // time.Time | (optional) - user := []string{"Inner_example"} // []string | User name (optional) - userN := []string{"Inner_example"} // []string | User name (optional) - userId := []*int32{int32(123)} // []*int32 | User (ID) (optional) - userIdN := []*int32{int32(123)} // []*int32 | User (ID) (optional) - userName := []string{"Inner_example"} // []string | (optional) - userNameEmpty := true // bool | (optional) - userNameIc := []string{"Inner_example"} // []string | (optional) - userNameIe := []string{"Inner_example"} // []string | (optional) - userNameIew := []string{"Inner_example"} // []string | (optional) - userNameIsw := []string{"Inner_example"} // []string | (optional) - userNameN := []string{"Inner_example"} // []string | (optional) - userNameNic := []string{"Inner_example"} // []string | (optional) - userNameNie := []string{"Inner_example"} // []string | (optional) - userNameNiew := []string{"Inner_example"} // []string | (optional) - userNameNisw := []string{"Inner_example"} // []string | (optional) + notificationGroupRequest := []openapiclient.NotificationGroupRequest{*openapiclient.NewNotificationGroupRequest("Name_example")} // []NotificationGroupRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ExtrasAPI.ExtrasObjectChangesList(context.Background()).Action(action).ActionN(actionN).ChangedObjectId(changedObjectId).ChangedObjectIdEmpty(changedObjectIdEmpty).ChangedObjectIdGt(changedObjectIdGt).ChangedObjectIdGte(changedObjectIdGte).ChangedObjectIdLt(changedObjectIdLt).ChangedObjectIdLte(changedObjectIdLte).ChangedObjectIdN(changedObjectIdN).ChangedObjectType(changedObjectType).ChangedObjectTypeN(changedObjectTypeN).ChangedObjectTypeId(changedObjectTypeId).ChangedObjectTypeIdN(changedObjectTypeIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Limit(limit).ObjectRepr(objectRepr).ObjectReprEmpty(objectReprEmpty).ObjectReprIc(objectReprIc).ObjectReprIe(objectReprIe).ObjectReprIew(objectReprIew).ObjectReprIsw(objectReprIsw).ObjectReprN(objectReprN).ObjectReprNic(objectReprNic).ObjectReprNie(objectReprNie).ObjectReprNiew(objectReprNiew).ObjectReprNisw(objectReprNisw).Offset(offset).Ordering(ordering).Q(q).RelatedObjectId(relatedObjectId).RelatedObjectIdEmpty(relatedObjectIdEmpty).RelatedObjectIdGt(relatedObjectIdGt).RelatedObjectIdGte(relatedObjectIdGte).RelatedObjectIdLt(relatedObjectIdLt).RelatedObjectIdLte(relatedObjectIdLte).RelatedObjectIdN(relatedObjectIdN).RelatedObjectType(relatedObjectType).RelatedObjectTypeN(relatedObjectTypeN).RequestId(requestId).TimeAfter(timeAfter).TimeBefore(timeBefore).User(user).UserN(userN).UserId(userId).UserIdN(userIdN).UserName(userName).UserNameEmpty(userNameEmpty).UserNameIc(userNameIc).UserNameIe(userNameIe).UserNameIew(userNameIew).UserNameIsw(userNameIsw).UserNameN(userNameN).UserNameNic(userNameNic).UserNameNie(userNameNie).UserNameNiew(userNameNiew).UserNameNisw(userNameNisw).Execute() + r, err := apiClient.ExtrasAPI.ExtrasNotificationGroupsBulkDestroy(context.Background()).NotificationGroupRequest(notificationGroupRequest).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasObjectChangesList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasNotificationGroupsBulkDestroy``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ExtrasObjectChangesList`: PaginatedObjectChangeList - fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasObjectChangesList`: %v\n", resp) } ``` @@ -8526,77 +8517,16 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiExtrasObjectChangesListRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiExtrasNotificationGroupsBulkDestroyRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **action** | [**ExtrasObjectChangesListActionParameter**](ExtrasObjectChangesListActionParameter.md) | * `create` - Created * `update` - Updated * `delete` - Deleted | - **actionN** | [**ExtrasObjectChangesListActionParameter**](ExtrasObjectChangesListActionParameter.md) | * `create` - Created * `update` - Updated * `delete` - Deleted | - **changedObjectId** | **[]int32** | | - **changedObjectIdEmpty** | **bool** | | - **changedObjectIdGt** | **[]int32** | | - **changedObjectIdGte** | **[]int32** | | - **changedObjectIdLt** | **[]int32** | | - **changedObjectIdLte** | **[]int32** | | - **changedObjectIdN** | **[]int32** | | - **changedObjectType** | **string** | | - **changedObjectTypeN** | **string** | | - **changedObjectTypeId** | **[]int32** | | - **changedObjectTypeIdN** | **[]int32** | | - **id** | **[]int32** | | - **idEmpty** | **bool** | | - **idGt** | **[]int32** | | - **idGte** | **[]int32** | | - **idLt** | **[]int32** | | - **idLte** | **[]int32** | | - **idN** | **[]int32** | | - **limit** | **int32** | Number of results to return per page. | - **objectRepr** | **[]string** | | - **objectReprEmpty** | **bool** | | - **objectReprIc** | **[]string** | | - **objectReprIe** | **[]string** | | - **objectReprIew** | **[]string** | | - **objectReprIsw** | **[]string** | | - **objectReprN** | **[]string** | | - **objectReprNic** | **[]string** | | - **objectReprNie** | **[]string** | | - **objectReprNiew** | **[]string** | | - **objectReprNisw** | **[]string** | | - **offset** | **int32** | The initial index from which to return the results. | - **ordering** | **string** | Which field to use when ordering the results. | - **q** | **string** | Search | - **relatedObjectId** | **[]int32** | | - **relatedObjectIdEmpty** | **bool** | | - **relatedObjectIdGt** | **[]int32** | | - **relatedObjectIdGte** | **[]int32** | | - **relatedObjectIdLt** | **[]int32** | | - **relatedObjectIdLte** | **[]int32** | | - **relatedObjectIdN** | **[]int32** | | - **relatedObjectType** | **int32** | | - **relatedObjectTypeN** | **int32** | | - **requestId** | **string** | | - **timeAfter** | **time.Time** | | - **timeBefore** | **time.Time** | | - **user** | **[]string** | User name | - **userN** | **[]string** | User name | - **userId** | **[]int32** | User (ID) | - **userIdN** | **[]int32** | User (ID) | - **userName** | **[]string** | | - **userNameEmpty** | **bool** | | - **userNameIc** | **[]string** | | - **userNameIe** | **[]string** | | - **userNameIew** | **[]string** | | - **userNameIsw** | **[]string** | | - **userNameN** | **[]string** | | - **userNameNic** | **[]string** | | - **userNameNie** | **[]string** | | - **userNameNiew** | **[]string** | | - **userNameNisw** | **[]string** | | + **notificationGroupRequest** | [**[]NotificationGroupRequest**](NotificationGroupRequest.md) | | ### Return type -[**PaginatedObjectChangeList**](PaginatedObjectChangeList.md) + (empty response body) ### Authorization @@ -8604,17 +8534,17 @@ Name | Type | Description | Notes ### HTTP request headers -- **Content-Type**: Not defined -- **Accept**: application/json +- **Content-Type**: application/json, multipart/form-data +- **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) -## ExtrasObjectChangesRetrieve +## ExtrasNotificationGroupsBulkPartialUpdate -> ObjectChange ExtrasObjectChangesRetrieve(ctx, id).Execute() +> []NotificationGroup ExtrasNotificationGroupsBulkPartialUpdate(ctx).NotificationGroupRequest(notificationGroupRequest).Execute() @@ -8633,40 +8563,36 @@ import ( ) func main() { - id := int32(56) // int32 | A unique integer value identifying this object change. + notificationGroupRequest := []openapiclient.NotificationGroupRequest{*openapiclient.NewNotificationGroupRequest("Name_example")} // []NotificationGroupRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ExtrasAPI.ExtrasObjectChangesRetrieve(context.Background(), id).Execute() + resp, r, err := apiClient.ExtrasAPI.ExtrasNotificationGroupsBulkPartialUpdate(context.Background()).NotificationGroupRequest(notificationGroupRequest).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasObjectChangesRetrieve``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasNotificationGroupsBulkPartialUpdate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ExtrasObjectChangesRetrieve`: ObjectChange - fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasObjectChangesRetrieve`: %v\n", resp) + // response from `ExtrasNotificationGroupsBulkPartialUpdate`: []NotificationGroup + fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasNotificationGroupsBulkPartialUpdate`: %v\n", resp) } ``` ### Path Parameters -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**id** | **int32** | A unique integer value identifying this object change. | ### Other Parameters -Other parameters are passed through a pointer to a apiExtrasObjectChangesRetrieveRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiExtrasNotificationGroupsBulkPartialUpdateRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - + **notificationGroupRequest** | [**[]NotificationGroupRequest**](NotificationGroupRequest.md) | | ### Return type -[**ObjectChange**](ObjectChange.md) +[**[]NotificationGroup**](NotificationGroup.md) ### Authorization @@ -8674,7 +8600,7 @@ Name | Type | Description | Notes ### HTTP request headers -- **Content-Type**: Not defined +- **Content-Type**: application/json, multipart/form-data - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) @@ -8682,9 +8608,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## ExtrasObjectTypesList +## ExtrasNotificationGroupsBulkUpdate -> PaginatedObjectTypeList ExtrasObjectTypesList(ctx).AppLabel(appLabel).Id(id).Limit(limit).Model(model).Offset(offset).Ordering(ordering).Q(q).Execute() +> []NotificationGroup ExtrasNotificationGroupsBulkUpdate(ctx).NotificationGroupRequest(notificationGroupRequest).Execute() @@ -8703,23 +8629,17 @@ import ( ) func main() { - appLabel := "appLabel_example" // string | (optional) - id := int32(56) // int32 | (optional) - limit := int32(56) // int32 | Number of results to return per page. (optional) - model := "model_example" // string | (optional) - offset := int32(56) // int32 | The initial index from which to return the results. (optional) - ordering := "ordering_example" // string | Which field to use when ordering the results. (optional) - q := "q_example" // string | Search (optional) + notificationGroupRequest := []openapiclient.NotificationGroupRequest{*openapiclient.NewNotificationGroupRequest("Name_example")} // []NotificationGroupRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ExtrasAPI.ExtrasObjectTypesList(context.Background()).AppLabel(appLabel).Id(id).Limit(limit).Model(model).Offset(offset).Ordering(ordering).Q(q).Execute() + resp, r, err := apiClient.ExtrasAPI.ExtrasNotificationGroupsBulkUpdate(context.Background()).NotificationGroupRequest(notificationGroupRequest).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasObjectTypesList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasNotificationGroupsBulkUpdate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ExtrasObjectTypesList`: PaginatedObjectTypeList - fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasObjectTypesList`: %v\n", resp) + // response from `ExtrasNotificationGroupsBulkUpdate`: []NotificationGroup + fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasNotificationGroupsBulkUpdate`: %v\n", resp) } ``` @@ -8729,22 +8649,16 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiExtrasObjectTypesListRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiExtrasNotificationGroupsBulkUpdateRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **appLabel** | **string** | | - **id** | **int32** | | - **limit** | **int32** | Number of results to return per page. | - **model** | **string** | | - **offset** | **int32** | The initial index from which to return the results. | - **ordering** | **string** | Which field to use when ordering the results. | - **q** | **string** | Search | + **notificationGroupRequest** | [**[]NotificationGroupRequest**](NotificationGroupRequest.md) | | ### Return type -[**PaginatedObjectTypeList**](PaginatedObjectTypeList.md) +[**[]NotificationGroup**](NotificationGroup.md) ### Authorization @@ -8752,7 +8666,7 @@ Name | Type | Description | Notes ### HTTP request headers -- **Content-Type**: Not defined +- **Content-Type**: application/json, multipart/form-data - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) @@ -8760,9 +8674,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## ExtrasObjectTypesRetrieve +## ExtrasNotificationGroupsCreate -> ObjectType ExtrasObjectTypesRetrieve(ctx, id).Execute() +> NotificationGroup ExtrasNotificationGroupsCreate(ctx).NotificationGroupRequest(notificationGroupRequest).Execute() @@ -8781,40 +8695,36 @@ import ( ) func main() { - id := int32(56) // int32 | A unique integer value identifying this object type. + notificationGroupRequest := *openapiclient.NewNotificationGroupRequest("Name_example") // NotificationGroupRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ExtrasAPI.ExtrasObjectTypesRetrieve(context.Background(), id).Execute() + resp, r, err := apiClient.ExtrasAPI.ExtrasNotificationGroupsCreate(context.Background()).NotificationGroupRequest(notificationGroupRequest).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasObjectTypesRetrieve``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasNotificationGroupsCreate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ExtrasObjectTypesRetrieve`: ObjectType - fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasObjectTypesRetrieve`: %v\n", resp) + // response from `ExtrasNotificationGroupsCreate`: NotificationGroup + fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasNotificationGroupsCreate`: %v\n", resp) } ``` ### Path Parameters -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**id** | **int32** | A unique integer value identifying this object type. | ### Other Parameters -Other parameters are passed through a pointer to a apiExtrasObjectTypesRetrieveRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiExtrasNotificationGroupsCreateRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - + **notificationGroupRequest** | [**NotificationGroupRequest**](NotificationGroupRequest.md) | | ### Return type -[**ObjectType**](ObjectType.md) +[**NotificationGroup**](NotificationGroup.md) ### Authorization @@ -8822,7 +8732,7 @@ Name | Type | Description | Notes ### HTTP request headers -- **Content-Type**: Not defined +- **Content-Type**: application/json, multipart/form-data - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) @@ -8830,9 +8740,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## ExtrasSavedFiltersBulkDestroy +## ExtrasNotificationGroupsDestroy -> ExtrasSavedFiltersBulkDestroy(ctx).SavedFilterRequest(savedFilterRequest).Execute() +> ExtrasNotificationGroupsDestroy(ctx, id).Execute() @@ -8851,13 +8761,13 @@ import ( ) func main() { - savedFilterRequest := []openapiclient.SavedFilterRequest{*openapiclient.NewSavedFilterRequest([]string{"ObjectTypes_example"}, "Name_example", "Slug_example", interface{}(123))} // []SavedFilterRequest | + id := int32(56) // int32 | A unique integer value identifying this notification group. configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.ExtrasAPI.ExtrasSavedFiltersBulkDestroy(context.Background()).SavedFilterRequest(savedFilterRequest).Execute() + r, err := apiClient.ExtrasAPI.ExtrasNotificationGroupsDestroy(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasSavedFiltersBulkDestroy``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasNotificationGroupsDestroy``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -8866,15 +8776,19 @@ func main() { ### Path Parameters +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | A unique integer value identifying this notification group. | ### Other Parameters -Other parameters are passed through a pointer to a apiExtrasSavedFiltersBulkDestroyRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiExtrasNotificationGroupsDestroyRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **savedFilterRequest** | [**[]SavedFilterRequest**](SavedFilterRequest.md) | | + ### Return type @@ -8886,7 +8800,7 @@ Name | Type | Description | Notes ### HTTP request headers -- **Content-Type**: application/json, multipart/form-data +- **Content-Type**: Not defined - **Accept**: Not defined [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) @@ -8894,9 +8808,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## ExtrasSavedFiltersBulkPartialUpdate +## ExtrasNotificationGroupsList -> []SavedFilter ExtrasSavedFiltersBulkPartialUpdate(ctx).SavedFilterRequest(savedFilterRequest).Execute() +> PaginatedNotificationGroupList ExtrasNotificationGroupsList(ctx).Limit(limit).Offset(offset).Ordering(ordering).Execute() @@ -8915,17 +8829,19 @@ import ( ) func main() { - savedFilterRequest := []openapiclient.SavedFilterRequest{*openapiclient.NewSavedFilterRequest([]string{"ObjectTypes_example"}, "Name_example", "Slug_example", interface{}(123))} // []SavedFilterRequest | + 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) + ordering := "ordering_example" // string | Which field to use when ordering the results. (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ExtrasAPI.ExtrasSavedFiltersBulkPartialUpdate(context.Background()).SavedFilterRequest(savedFilterRequest).Execute() + resp, r, err := apiClient.ExtrasAPI.ExtrasNotificationGroupsList(context.Background()).Limit(limit).Offset(offset).Ordering(ordering).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasSavedFiltersBulkPartialUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasNotificationGroupsList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ExtrasSavedFiltersBulkPartialUpdate`: []SavedFilter - fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasSavedFiltersBulkPartialUpdate`: %v\n", resp) + // response from `ExtrasNotificationGroupsList`: PaginatedNotificationGroupList + fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasNotificationGroupsList`: %v\n", resp) } ``` @@ -8935,16 +8851,18 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiExtrasSavedFiltersBulkPartialUpdateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiExtrasNotificationGroupsListRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **savedFilterRequest** | [**[]SavedFilterRequest**](SavedFilterRequest.md) | | + **limit** | **int32** | Number of results to return per page. | + **offset** | **int32** | The initial index from which to return the results. | + **ordering** | **string** | Which field to use when ordering the results. | ### Return type -[**[]SavedFilter**](SavedFilter.md) +[**PaginatedNotificationGroupList**](PaginatedNotificationGroupList.md) ### Authorization @@ -8952,7 +8870,7 @@ Name | Type | Description | Notes ### HTTP request headers -- **Content-Type**: application/json, multipart/form-data +- **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) @@ -8960,9 +8878,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## ExtrasSavedFiltersBulkUpdate +## ExtrasNotificationGroupsPartialUpdate -> []SavedFilter ExtrasSavedFiltersBulkUpdate(ctx).SavedFilterRequest(savedFilterRequest).Execute() +> NotificationGroup ExtrasNotificationGroupsPartialUpdate(ctx, id).PatchedNotificationGroupRequest(patchedNotificationGroupRequest).Execute() @@ -8981,36 +8899,42 @@ import ( ) func main() { - savedFilterRequest := []openapiclient.SavedFilterRequest{*openapiclient.NewSavedFilterRequest([]string{"ObjectTypes_example"}, "Name_example", "Slug_example", interface{}(123))} // []SavedFilterRequest | + id := int32(56) // int32 | A unique integer value identifying this notification group. + patchedNotificationGroupRequest := *openapiclient.NewPatchedNotificationGroupRequest() // PatchedNotificationGroupRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ExtrasAPI.ExtrasSavedFiltersBulkUpdate(context.Background()).SavedFilterRequest(savedFilterRequest).Execute() + resp, r, err := apiClient.ExtrasAPI.ExtrasNotificationGroupsPartialUpdate(context.Background(), id).PatchedNotificationGroupRequest(patchedNotificationGroupRequest).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasSavedFiltersBulkUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasNotificationGroupsPartialUpdate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ExtrasSavedFiltersBulkUpdate`: []SavedFilter - fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasSavedFiltersBulkUpdate`: %v\n", resp) + // response from `ExtrasNotificationGroupsPartialUpdate`: NotificationGroup + fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasNotificationGroupsPartialUpdate`: %v\n", resp) } ``` ### Path Parameters +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | A unique integer value identifying this notification group. | ### Other Parameters -Other parameters are passed through a pointer to a apiExtrasSavedFiltersBulkUpdateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiExtrasNotificationGroupsPartialUpdateRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **savedFilterRequest** | [**[]SavedFilterRequest**](SavedFilterRequest.md) | | + + **patchedNotificationGroupRequest** | [**PatchedNotificationGroupRequest**](PatchedNotificationGroupRequest.md) | | ### Return type -[**[]SavedFilter**](SavedFilter.md) +[**NotificationGroup**](NotificationGroup.md) ### Authorization @@ -9026,9 +8950,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## ExtrasSavedFiltersCreate +## ExtrasNotificationGroupsRetrieve -> SavedFilter ExtrasSavedFiltersCreate(ctx).SavedFilterRequest(savedFilterRequest).Execute() +> NotificationGroup ExtrasNotificationGroupsRetrieve(ctx, id).Execute() @@ -9047,36 +8971,40 @@ import ( ) func main() { - savedFilterRequest := *openapiclient.NewSavedFilterRequest([]string{"ObjectTypes_example"}, "Name_example", "Slug_example", interface{}(123)) // SavedFilterRequest | + id := int32(56) // int32 | A unique integer value identifying this notification group. configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ExtrasAPI.ExtrasSavedFiltersCreate(context.Background()).SavedFilterRequest(savedFilterRequest).Execute() + resp, r, err := apiClient.ExtrasAPI.ExtrasNotificationGroupsRetrieve(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasSavedFiltersCreate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasNotificationGroupsRetrieve``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ExtrasSavedFiltersCreate`: SavedFilter - fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasSavedFiltersCreate`: %v\n", resp) + // response from `ExtrasNotificationGroupsRetrieve`: NotificationGroup + fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasNotificationGroupsRetrieve`: %v\n", resp) } ``` ### Path Parameters +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | A unique integer value identifying this notification group. | ### Other Parameters -Other parameters are passed through a pointer to a apiExtrasSavedFiltersCreateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiExtrasNotificationGroupsRetrieveRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **savedFilterRequest** | [**SavedFilterRequest**](SavedFilterRequest.md) | | + ### Return type -[**SavedFilter**](SavedFilter.md) +[**NotificationGroup**](NotificationGroup.md) ### Authorization @@ -9084,7 +9012,7 @@ Name | Type | Description | Notes ### HTTP request headers -- **Content-Type**: application/json, multipart/form-data +- **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) @@ -9092,9 +9020,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## ExtrasSavedFiltersDestroy +## ExtrasNotificationGroupsUpdate -> ExtrasSavedFiltersDestroy(ctx, id).Execute() +> NotificationGroup ExtrasNotificationGroupsUpdate(ctx, id).NotificationGroupRequest(notificationGroupRequest).Execute() @@ -9113,15 +9041,18 @@ import ( ) func main() { - id := int32(56) // int32 | A unique integer value identifying this saved filter. + id := int32(56) // int32 | A unique integer value identifying this notification group. + notificationGroupRequest := *openapiclient.NewNotificationGroupRequest("Name_example") // NotificationGroupRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.ExtrasAPI.ExtrasSavedFiltersDestroy(context.Background(), id).Execute() + resp, r, err := apiClient.ExtrasAPI.ExtrasNotificationGroupsUpdate(context.Background(), id).NotificationGroupRequest(notificationGroupRequest).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasSavedFiltersDestroy``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasNotificationGroupsUpdate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } + // response from `ExtrasNotificationGroupsUpdate`: NotificationGroup + fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasNotificationGroupsUpdate`: %v\n", resp) } ``` @@ -9131,20 +9062,21 @@ func main() { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**id** | **int32** | A unique integer value identifying this saved filter. | +**id** | **int32** | A unique integer value identifying this notification group. | ### Other Parameters -Other parameters are passed through a pointer to a apiExtrasSavedFiltersDestroyRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiExtrasNotificationGroupsUpdateRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **notificationGroupRequest** | [**NotificationGroupRequest**](NotificationGroupRequest.md) | | ### Return type - (empty response body) +[**NotificationGroup**](NotificationGroup.md) ### Authorization @@ -9152,17 +9084,17 @@ Name | Type | Description | Notes ### HTTP request headers -- **Content-Type**: Not defined -- **Accept**: Not defined +- **Content-Type**: application/json, multipart/form-data +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -## ExtrasSavedFiltersList +## ExtrasNotificationsBulkDestroy -> PaginatedSavedFilterList ExtrasSavedFiltersList(ctx).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Enabled(enabled).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).ObjectType(objectType).ObjectTypeIc(objectTypeIc).ObjectTypeIe(objectTypeIe).ObjectTypeIew(objectTypeIew).ObjectTypeIsw(objectTypeIsw).ObjectTypeN(objectTypeN).ObjectTypeNic(objectTypeNic).ObjectTypeNie(objectTypeNie).ObjectTypeNiew(objectTypeNiew).ObjectTypeNisw(objectTypeNisw).ObjectTypeId(objectTypeId).ObjectTypeIdN(objectTypeIdN).Offset(offset).Ordering(ordering).Q(q).Shared(shared).Slug(slug).SlugEmpty(slugEmpty).SlugIc(slugIc).SlugIe(slugIe).SlugIew(slugIew).SlugIsw(slugIsw).SlugN(slugN).SlugNic(slugNic).SlugNie(slugNie).SlugNiew(slugNiew).SlugNisw(slugNisw).UpdatedByRequest(updatedByRequest).Usable(usable).User(user).UserN(userN).UserId(userId).UserIdN(userIdN).Weight(weight).WeightEmpty(weightEmpty).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).Execute() +> ExtrasNotificationsBulkDestroy(ctx).NotificationRequest(notificationRequest).Execute() @@ -9177,108 +9109,19 @@ import ( "context" "fmt" "os" - "time" openapiclient "github.com/netbox-community/go-netbox/v4" ) func main() { - created := []time.Time{time.Now()} // []time.Time | (optional) - createdEmpty := []time.Time{time.Now()} // []time.Time | (optional) - createdGt := []time.Time{time.Now()} // []time.Time | (optional) - createdGte := []time.Time{time.Now()} // []time.Time | (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) - createdByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) - description := []string{"Inner_example"} // []string | (optional) - descriptionEmpty := true // bool | (optional) - descriptionIc := []string{"Inner_example"} // []string | (optional) - descriptionIe := []string{"Inner_example"} // []string | (optional) - descriptionIew := []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) - descriptionNisw := []string{"Inner_example"} // []string | (optional) - enabled := true // bool | (optional) - id := []int32{int32(123)} // []int32 | (optional) - idEmpty := true // bool | (optional) - idGt := []int32{int32(123)} // []int32 | (optional) - idGte := []int32{int32(123)} // []int32 | (optional) - idLt := []int32{int32(123)} // []int32 | (optional) - idLte := []int32{int32(123)} // []int32 | (optional) - idN := []int32{int32(123)} // []int32 | (optional) - lastUpdated := []time.Time{time.Now()} // []time.Time | (optional) - lastUpdatedEmpty := []time.Time{time.Now()} // []time.Time | (optional) - lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional) - lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (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) - modifiedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) - name := []string{"Inner_example"} // []string | (optional) - nameEmpty := true // bool | (optional) - nameIc := []string{"Inner_example"} // []string | (optional) - nameIe := []string{"Inner_example"} // []string | (optional) - nameIew := []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) - nameNisw := []string{"Inner_example"} // []string | (optional) - objectType := "objectType_example" // string | (optional) - objectTypeIc := "objectTypeIc_example" // string | (optional) - objectTypeIe := "objectTypeIe_example" // string | (optional) - objectTypeIew := "objectTypeIew_example" // string | (optional) - objectTypeIsw := "objectTypeIsw_example" // string | (optional) - objectTypeN := "objectTypeN_example" // string | (optional) - objectTypeNic := "objectTypeNic_example" // string | (optional) - objectTypeNie := "objectTypeNie_example" // string | (optional) - objectTypeNiew := "objectTypeNiew_example" // string | (optional) - objectTypeNisw := "objectTypeNisw_example" // string | (optional) - objectTypeId := []int32{int32(123)} // []int32 | (optional) - objectTypeIdN := []int32{int32(123)} // []int32 | (optional) - offset := int32(56) // int32 | The initial index from which to return the results. (optional) - ordering := "ordering_example" // string | Which field to use when ordering the results. (optional) - q := "q_example" // string | Search (optional) - shared := true // bool | (optional) - slug := []string{"Inner_example"} // []string | (optional) - slugEmpty := true // bool | (optional) - slugIc := []string{"Inner_example"} // []string | (optional) - slugIe := []string{"Inner_example"} // []string | (optional) - slugIew := []string{"Inner_example"} // []string | (optional) - slugIsw := []string{"Inner_example"} // []string | (optional) - slugN := []string{"Inner_example"} // []string | (optional) - slugNic := []string{"Inner_example"} // []string | (optional) - slugNie := []string{"Inner_example"} // []string | (optional) - slugNiew := []string{"Inner_example"} // []string | (optional) - slugNisw := []string{"Inner_example"} // []string | (optional) - updatedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) - usable := true // bool | (optional) - user := []string{"Inner_example"} // []string | User (name) (optional) - userN := []string{"Inner_example"} // []string | User (name) (optional) - userId := []*int32{int32(123)} // []*int32 | User (ID) (optional) - userIdN := []*int32{int32(123)} // []*int32 | User (ID) (optional) - weight := []int32{int32(123)} // []int32 | (optional) - weightEmpty := true // bool | (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) + notificationRequest := []openapiclient.NotificationRequest{*openapiclient.NewNotificationRequest("ObjectType_example", int64(123), *openapiclient.NewBriefUserRequest("Username_example"), openapiclient.Event("object_created"))} // []NotificationRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ExtrasAPI.ExtrasSavedFiltersList(context.Background()).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Enabled(enabled).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).ObjectType(objectType).ObjectTypeIc(objectTypeIc).ObjectTypeIe(objectTypeIe).ObjectTypeIew(objectTypeIew).ObjectTypeIsw(objectTypeIsw).ObjectTypeN(objectTypeN).ObjectTypeNic(objectTypeNic).ObjectTypeNie(objectTypeNie).ObjectTypeNiew(objectTypeNiew).ObjectTypeNisw(objectTypeNisw).ObjectTypeId(objectTypeId).ObjectTypeIdN(objectTypeIdN).Offset(offset).Ordering(ordering).Q(q).Shared(shared).Slug(slug).SlugEmpty(slugEmpty).SlugIc(slugIc).SlugIe(slugIe).SlugIew(slugIew).SlugIsw(slugIsw).SlugN(slugN).SlugNic(slugNic).SlugNie(slugNie).SlugNiew(slugNiew).SlugNisw(slugNisw).UpdatedByRequest(updatedByRequest).Usable(usable).User(user).UserN(userN).UserId(userId).UserIdN(userIdN).Weight(weight).WeightEmpty(weightEmpty).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).Execute() + r, err := apiClient.ExtrasAPI.ExtrasNotificationsBulkDestroy(context.Background()).NotificationRequest(notificationRequest).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasSavedFiltersList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasNotificationsBulkDestroy``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ExtrasSavedFiltersList`: PaginatedSavedFilterList - fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasSavedFiltersList`: %v\n", resp) } ``` @@ -9288,102 +9131,1954 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiExtrasSavedFiltersListRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiExtrasNotificationsBulkDestroyRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **notificationRequest** | [**[]NotificationRequest**](NotificationRequest.md) | | + +### Return type + + (empty response body) + +### Authorization + +[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) + +### HTTP request headers + +- **Content-Type**: application/json, multipart/form-data +- **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) + + +## ExtrasNotificationsBulkPartialUpdate + +> []Notification ExtrasNotificationsBulkPartialUpdate(ctx).NotificationRequest(notificationRequest).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/netbox-community/go-netbox/v4" +) + +func main() { + notificationRequest := []openapiclient.NotificationRequest{*openapiclient.NewNotificationRequest("ObjectType_example", int64(123), *openapiclient.NewBriefUserRequest("Username_example"), openapiclient.Event("object_created"))} // []NotificationRequest | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.ExtrasAPI.ExtrasNotificationsBulkPartialUpdate(context.Background()).NotificationRequest(notificationRequest).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasNotificationsBulkPartialUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ExtrasNotificationsBulkPartialUpdate`: []Notification + fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasNotificationsBulkPartialUpdate`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiExtrasNotificationsBulkPartialUpdateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **notificationRequest** | [**[]NotificationRequest**](NotificationRequest.md) | | + +### Return type + +[**[]Notification**](Notification.md) + +### Authorization + +[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) + +### HTTP request headers + +- **Content-Type**: application/json, multipart/form-data +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ExtrasNotificationsBulkUpdate + +> []Notification ExtrasNotificationsBulkUpdate(ctx).NotificationRequest(notificationRequest).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/netbox-community/go-netbox/v4" +) + +func main() { + notificationRequest := []openapiclient.NotificationRequest{*openapiclient.NewNotificationRequest("ObjectType_example", int64(123), *openapiclient.NewBriefUserRequest("Username_example"), openapiclient.Event("object_created"))} // []NotificationRequest | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.ExtrasAPI.ExtrasNotificationsBulkUpdate(context.Background()).NotificationRequest(notificationRequest).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasNotificationsBulkUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ExtrasNotificationsBulkUpdate`: []Notification + fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasNotificationsBulkUpdate`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiExtrasNotificationsBulkUpdateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **notificationRequest** | [**[]NotificationRequest**](NotificationRequest.md) | | + +### Return type + +[**[]Notification**](Notification.md) + +### Authorization + +[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) + +### HTTP request headers + +- **Content-Type**: application/json, multipart/form-data +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ExtrasNotificationsCreate + +> Notification ExtrasNotificationsCreate(ctx).NotificationRequest(notificationRequest).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/netbox-community/go-netbox/v4" +) + +func main() { + notificationRequest := *openapiclient.NewNotificationRequest("ObjectType_example", int64(123), *openapiclient.NewBriefUserRequest("Username_example"), openapiclient.Event("object_created")) // NotificationRequest | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.ExtrasAPI.ExtrasNotificationsCreate(context.Background()).NotificationRequest(notificationRequest).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasNotificationsCreate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ExtrasNotificationsCreate`: Notification + fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasNotificationsCreate`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiExtrasNotificationsCreateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **notificationRequest** | [**NotificationRequest**](NotificationRequest.md) | | + +### Return type + +[**Notification**](Notification.md) + +### Authorization + +[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) + +### HTTP request headers + +- **Content-Type**: application/json, multipart/form-data +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ExtrasNotificationsDestroy + +> ExtrasNotificationsDestroy(ctx, id).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/netbox-community/go-netbox/v4" +) + +func main() { + id := int32(56) // int32 | A unique integer value identifying this notification. + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.ExtrasAPI.ExtrasNotificationsDestroy(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasNotificationsDestroy``: %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** | **int32** | A unique integer value identifying this notification. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiExtrasNotificationsDestroyRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### 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) + + +## ExtrasNotificationsList + +> PaginatedNotificationList ExtrasNotificationsList(ctx).Limit(limit).Offset(offset).Ordering(ordering).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/netbox-community/go-netbox/v4" +) + +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) + ordering := "ordering_example" // string | Which field to use when ordering the results. (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.ExtrasAPI.ExtrasNotificationsList(context.Background()).Limit(limit).Offset(offset).Ordering(ordering).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasNotificationsList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ExtrasNotificationsList`: PaginatedNotificationList + fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasNotificationsList`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiExtrasNotificationsListRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **limit** | **int32** | Number of results to return per page. | + **offset** | **int32** | The initial index from which to return the results. | + **ordering** | **string** | Which field to use when ordering the results. | + +### Return type + +[**PaginatedNotificationList**](PaginatedNotificationList.md) + +### Authorization + +[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ExtrasNotificationsPartialUpdate + +> Notification ExtrasNotificationsPartialUpdate(ctx, id).PatchedNotificationRequest(patchedNotificationRequest).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/netbox-community/go-netbox/v4" +) + +func main() { + id := int32(56) // int32 | A unique integer value identifying this notification. + patchedNotificationRequest := *openapiclient.NewPatchedNotificationRequest() // PatchedNotificationRequest | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.ExtrasAPI.ExtrasNotificationsPartialUpdate(context.Background(), id).PatchedNotificationRequest(patchedNotificationRequest).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasNotificationsPartialUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ExtrasNotificationsPartialUpdate`: Notification + fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasNotificationsPartialUpdate`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | A unique integer value identifying this notification. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiExtrasNotificationsPartialUpdateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **patchedNotificationRequest** | [**PatchedNotificationRequest**](PatchedNotificationRequest.md) | | + +### Return type + +[**Notification**](Notification.md) + +### Authorization + +[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) + +### HTTP request headers + +- **Content-Type**: application/json, multipart/form-data +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ExtrasNotificationsRetrieve + +> Notification ExtrasNotificationsRetrieve(ctx, id).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/netbox-community/go-netbox/v4" +) + +func main() { + id := int32(56) // int32 | A unique integer value identifying this notification. + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.ExtrasAPI.ExtrasNotificationsRetrieve(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasNotificationsRetrieve``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ExtrasNotificationsRetrieve`: Notification + fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasNotificationsRetrieve`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | A unique integer value identifying this notification. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiExtrasNotificationsRetrieveRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + +[**Notification**](Notification.md) + +### Authorization + +[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ExtrasNotificationsUpdate + +> Notification ExtrasNotificationsUpdate(ctx, id).NotificationRequest(notificationRequest).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/netbox-community/go-netbox/v4" +) + +func main() { + id := int32(56) // int32 | A unique integer value identifying this notification. + notificationRequest := *openapiclient.NewNotificationRequest("ObjectType_example", int64(123), *openapiclient.NewBriefUserRequest("Username_example"), openapiclient.Event("object_created")) // NotificationRequest | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.ExtrasAPI.ExtrasNotificationsUpdate(context.Background(), id).NotificationRequest(notificationRequest).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasNotificationsUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ExtrasNotificationsUpdate`: Notification + fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasNotificationsUpdate`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | A unique integer value identifying this notification. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiExtrasNotificationsUpdateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **notificationRequest** | [**NotificationRequest**](NotificationRequest.md) | | + +### Return type + +[**Notification**](Notification.md) + +### Authorization + +[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) + +### HTTP request headers + +- **Content-Type**: application/json, multipart/form-data +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ExtrasObjectTypesList + +> PaginatedObjectTypeList ExtrasObjectTypesList(ctx).AppLabel(appLabel).Id(id).Limit(limit).Model(model).Offset(offset).Ordering(ordering).Q(q).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/netbox-community/go-netbox/v4" +) + +func main() { + appLabel := "appLabel_example" // string | (optional) + id := int32(56) // int32 | (optional) + limit := int32(56) // int32 | Number of results to return per page. (optional) + model := "model_example" // string | (optional) + offset := int32(56) // int32 | The initial index from which to return the results. (optional) + ordering := "ordering_example" // string | Which field to use when ordering the results. (optional) + q := "q_example" // string | Search (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.ExtrasAPI.ExtrasObjectTypesList(context.Background()).AppLabel(appLabel).Id(id).Limit(limit).Model(model).Offset(offset).Ordering(ordering).Q(q).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasObjectTypesList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ExtrasObjectTypesList`: PaginatedObjectTypeList + fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasObjectTypesList`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiExtrasObjectTypesListRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **appLabel** | **string** | | + **id** | **int32** | | + **limit** | **int32** | Number of results to return per page. | + **model** | **string** | | + **offset** | **int32** | The initial index from which to return the results. | + **ordering** | **string** | Which field to use when ordering the results. | + **q** | **string** | Search | + +### Return type + +[**PaginatedObjectTypeList**](PaginatedObjectTypeList.md) + +### Authorization + +[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ExtrasObjectTypesRetrieve + +> ObjectType ExtrasObjectTypesRetrieve(ctx, id).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/netbox-community/go-netbox/v4" +) + +func main() { + id := int32(56) // int32 | A unique integer value identifying this object type. + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.ExtrasAPI.ExtrasObjectTypesRetrieve(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasObjectTypesRetrieve``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ExtrasObjectTypesRetrieve`: ObjectType + fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasObjectTypesRetrieve`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | A unique integer value identifying this object type. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiExtrasObjectTypesRetrieveRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + +[**ObjectType**](ObjectType.md) + +### Authorization + +[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ExtrasSavedFiltersBulkDestroy + +> ExtrasSavedFiltersBulkDestroy(ctx).SavedFilterRequest(savedFilterRequest).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/netbox-community/go-netbox/v4" +) + +func main() { + savedFilterRequest := []openapiclient.SavedFilterRequest{*openapiclient.NewSavedFilterRequest([]string{"ObjectTypes_example"}, "Name_example", "Slug_example", interface{}(123))} // []SavedFilterRequest | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.ExtrasAPI.ExtrasSavedFiltersBulkDestroy(context.Background()).SavedFilterRequest(savedFilterRequest).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasSavedFiltersBulkDestroy``: %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 apiExtrasSavedFiltersBulkDestroyRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **savedFilterRequest** | [**[]SavedFilterRequest**](SavedFilterRequest.md) | | + +### Return type + + (empty response body) + +### Authorization + +[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) + +### HTTP request headers + +- **Content-Type**: application/json, multipart/form-data +- **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) + + +## ExtrasSavedFiltersBulkPartialUpdate + +> []SavedFilter ExtrasSavedFiltersBulkPartialUpdate(ctx).SavedFilterRequest(savedFilterRequest).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/netbox-community/go-netbox/v4" +) + +func main() { + savedFilterRequest := []openapiclient.SavedFilterRequest{*openapiclient.NewSavedFilterRequest([]string{"ObjectTypes_example"}, "Name_example", "Slug_example", interface{}(123))} // []SavedFilterRequest | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.ExtrasAPI.ExtrasSavedFiltersBulkPartialUpdate(context.Background()).SavedFilterRequest(savedFilterRequest).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasSavedFiltersBulkPartialUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ExtrasSavedFiltersBulkPartialUpdate`: []SavedFilter + fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasSavedFiltersBulkPartialUpdate`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiExtrasSavedFiltersBulkPartialUpdateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **savedFilterRequest** | [**[]SavedFilterRequest**](SavedFilterRequest.md) | | + +### Return type + +[**[]SavedFilter**](SavedFilter.md) + +### Authorization + +[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) + +### HTTP request headers + +- **Content-Type**: application/json, multipart/form-data +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ExtrasSavedFiltersBulkUpdate + +> []SavedFilter ExtrasSavedFiltersBulkUpdate(ctx).SavedFilterRequest(savedFilterRequest).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/netbox-community/go-netbox/v4" +) + +func main() { + savedFilterRequest := []openapiclient.SavedFilterRequest{*openapiclient.NewSavedFilterRequest([]string{"ObjectTypes_example"}, "Name_example", "Slug_example", interface{}(123))} // []SavedFilterRequest | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.ExtrasAPI.ExtrasSavedFiltersBulkUpdate(context.Background()).SavedFilterRequest(savedFilterRequest).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasSavedFiltersBulkUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ExtrasSavedFiltersBulkUpdate`: []SavedFilter + fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasSavedFiltersBulkUpdate`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiExtrasSavedFiltersBulkUpdateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **savedFilterRequest** | [**[]SavedFilterRequest**](SavedFilterRequest.md) | | + +### Return type + +[**[]SavedFilter**](SavedFilter.md) + +### Authorization + +[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) + +### HTTP request headers + +- **Content-Type**: application/json, multipart/form-data +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ExtrasSavedFiltersCreate + +> SavedFilter ExtrasSavedFiltersCreate(ctx).SavedFilterRequest(savedFilterRequest).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/netbox-community/go-netbox/v4" +) + +func main() { + savedFilterRequest := *openapiclient.NewSavedFilterRequest([]string{"ObjectTypes_example"}, "Name_example", "Slug_example", interface{}(123)) // SavedFilterRequest | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.ExtrasAPI.ExtrasSavedFiltersCreate(context.Background()).SavedFilterRequest(savedFilterRequest).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasSavedFiltersCreate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ExtrasSavedFiltersCreate`: SavedFilter + fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasSavedFiltersCreate`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiExtrasSavedFiltersCreateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **savedFilterRequest** | [**SavedFilterRequest**](SavedFilterRequest.md) | | + +### Return type + +[**SavedFilter**](SavedFilter.md) + +### Authorization + +[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) + +### HTTP request headers + +- **Content-Type**: application/json, multipart/form-data +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ExtrasSavedFiltersDestroy + +> ExtrasSavedFiltersDestroy(ctx, id).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/netbox-community/go-netbox/v4" +) + +func main() { + id := int32(56) // int32 | A unique integer value identifying this saved filter. + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.ExtrasAPI.ExtrasSavedFiltersDestroy(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasSavedFiltersDestroy``: %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** | **int32** | A unique integer value identifying this saved filter. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiExtrasSavedFiltersDestroyRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### 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) + + +## ExtrasSavedFiltersList + +> PaginatedSavedFilterList ExtrasSavedFiltersList(ctx).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Enabled(enabled).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).ObjectType(objectType).ObjectTypeIc(objectTypeIc).ObjectTypeIe(objectTypeIe).ObjectTypeIew(objectTypeIew).ObjectTypeIsw(objectTypeIsw).ObjectTypeN(objectTypeN).ObjectTypeNic(objectTypeNic).ObjectTypeNie(objectTypeNie).ObjectTypeNiew(objectTypeNiew).ObjectTypeNisw(objectTypeNisw).ObjectTypeId(objectTypeId).ObjectTypeIdN(objectTypeIdN).Offset(offset).Ordering(ordering).Q(q).Shared(shared).Slug(slug).SlugEmpty(slugEmpty).SlugIc(slugIc).SlugIe(slugIe).SlugIew(slugIew).SlugIsw(slugIsw).SlugN(slugN).SlugNic(slugNic).SlugNie(slugNie).SlugNiew(slugNiew).SlugNisw(slugNisw).UpdatedByRequest(updatedByRequest).Usable(usable).User(user).UserN(userN).UserId(userId).UserIdN(userIdN).Weight(weight).WeightEmpty(weightEmpty).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + "time" + openapiclient "github.com/netbox-community/go-netbox/v4" +) + +func main() { + created := []time.Time{time.Now()} // []time.Time | (optional) + createdEmpty := []time.Time{time.Now()} // []time.Time | (optional) + createdGt := []time.Time{time.Now()} // []time.Time | (optional) + createdGte := []time.Time{time.Now()} // []time.Time | (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) + createdByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) + description := []string{"Inner_example"} // []string | (optional) + descriptionEmpty := true // bool | (optional) + descriptionIc := []string{"Inner_example"} // []string | (optional) + descriptionIe := []string{"Inner_example"} // []string | (optional) + descriptionIew := []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) + descriptionNisw := []string{"Inner_example"} // []string | (optional) + enabled := true // bool | (optional) + id := []int32{int32(123)} // []int32 | (optional) + idEmpty := true // bool | (optional) + idGt := []int32{int32(123)} // []int32 | (optional) + idGte := []int32{int32(123)} // []int32 | (optional) + idLt := []int32{int32(123)} // []int32 | (optional) + idLte := []int32{int32(123)} // []int32 | (optional) + idN := []int32{int32(123)} // []int32 | (optional) + lastUpdated := []time.Time{time.Now()} // []time.Time | (optional) + lastUpdatedEmpty := []time.Time{time.Now()} // []time.Time | (optional) + lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional) + lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (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) + modifiedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) + name := []string{"Inner_example"} // []string | (optional) + nameEmpty := true // bool | (optional) + nameIc := []string{"Inner_example"} // []string | (optional) + nameIe := []string{"Inner_example"} // []string | (optional) + nameIew := []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) + nameNisw := []string{"Inner_example"} // []string | (optional) + objectType := "objectType_example" // string | (optional) + objectTypeIc := "objectTypeIc_example" // string | (optional) + objectTypeIe := "objectTypeIe_example" // string | (optional) + objectTypeIew := "objectTypeIew_example" // string | (optional) + objectTypeIsw := "objectTypeIsw_example" // string | (optional) + objectTypeN := "objectTypeN_example" // string | (optional) + objectTypeNic := "objectTypeNic_example" // string | (optional) + objectTypeNie := "objectTypeNie_example" // string | (optional) + objectTypeNiew := "objectTypeNiew_example" // string | (optional) + objectTypeNisw := "objectTypeNisw_example" // string | (optional) + objectTypeId := []int32{int32(123)} // []int32 | (optional) + objectTypeIdN := []int32{int32(123)} // []int32 | (optional) + offset := int32(56) // int32 | The initial index from which to return the results. (optional) + ordering := "ordering_example" // string | Which field to use when ordering the results. (optional) + q := "q_example" // string | Search (optional) + shared := true // bool | (optional) + slug := []string{"Inner_example"} // []string | (optional) + slugEmpty := true // bool | (optional) + slugIc := []string{"Inner_example"} // []string | (optional) + slugIe := []string{"Inner_example"} // []string | (optional) + slugIew := []string{"Inner_example"} // []string | (optional) + slugIsw := []string{"Inner_example"} // []string | (optional) + slugN := []string{"Inner_example"} // []string | (optional) + slugNic := []string{"Inner_example"} // []string | (optional) + slugNie := []string{"Inner_example"} // []string | (optional) + slugNiew := []string{"Inner_example"} // []string | (optional) + slugNisw := []string{"Inner_example"} // []string | (optional) + updatedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) + usable := true // bool | (optional) + user := []string{"Inner_example"} // []string | User (name) (optional) + userN := []string{"Inner_example"} // []string | User (name) (optional) + userId := []*int32{int32(123)} // []*int32 | User (ID) (optional) + userIdN := []*int32{int32(123)} // []*int32 | User (ID) (optional) + weight := []int32{int32(123)} // []int32 | (optional) + weightEmpty := true // bool | (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) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.ExtrasAPI.ExtrasSavedFiltersList(context.Background()).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Enabled(enabled).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).ObjectType(objectType).ObjectTypeIc(objectTypeIc).ObjectTypeIe(objectTypeIe).ObjectTypeIew(objectTypeIew).ObjectTypeIsw(objectTypeIsw).ObjectTypeN(objectTypeN).ObjectTypeNic(objectTypeNic).ObjectTypeNie(objectTypeNie).ObjectTypeNiew(objectTypeNiew).ObjectTypeNisw(objectTypeNisw).ObjectTypeId(objectTypeId).ObjectTypeIdN(objectTypeIdN).Offset(offset).Ordering(ordering).Q(q).Shared(shared).Slug(slug).SlugEmpty(slugEmpty).SlugIc(slugIc).SlugIe(slugIe).SlugIew(slugIew).SlugIsw(slugIsw).SlugN(slugN).SlugNic(slugNic).SlugNie(slugNie).SlugNiew(slugNiew).SlugNisw(slugNisw).UpdatedByRequest(updatedByRequest).Usable(usable).User(user).UserN(userN).UserId(userId).UserIdN(userIdN).Weight(weight).WeightEmpty(weightEmpty).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasSavedFiltersList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ExtrasSavedFiltersList`: PaginatedSavedFilterList + fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasSavedFiltersList`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiExtrasSavedFiltersListRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **created** | [**[]time.Time**](time.Time.md) | | + **createdEmpty** | [**[]time.Time**](time.Time.md) | | + **createdGt** | [**[]time.Time**](time.Time.md) | | + **createdGte** | [**[]time.Time**](time.Time.md) | | + **createdLt** | [**[]time.Time**](time.Time.md) | | + **createdLte** | [**[]time.Time**](time.Time.md) | | + **createdN** | [**[]time.Time**](time.Time.md) | | + **createdByRequest** | **string** | | + **description** | **[]string** | | + **descriptionEmpty** | **bool** | | + **descriptionIc** | **[]string** | | + **descriptionIe** | **[]string** | | + **descriptionIew** | **[]string** | | + **descriptionIsw** | **[]string** | | + **descriptionN** | **[]string** | | + **descriptionNic** | **[]string** | | + **descriptionNie** | **[]string** | | + **descriptionNiew** | **[]string** | | + **descriptionNisw** | **[]string** | | + **enabled** | **bool** | | + **id** | **[]int32** | | + **idEmpty** | **bool** | | + **idGt** | **[]int32** | | + **idGte** | **[]int32** | | + **idLt** | **[]int32** | | + **idLte** | **[]int32** | | + **idN** | **[]int32** | | + **lastUpdated** | [**[]time.Time**](time.Time.md) | | + **lastUpdatedEmpty** | [**[]time.Time**](time.Time.md) | | + **lastUpdatedGt** | [**[]time.Time**](time.Time.md) | | + **lastUpdatedGte** | [**[]time.Time**](time.Time.md) | | + **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. | + **modifiedByRequest** | **string** | | + **name** | **[]string** | | + **nameEmpty** | **bool** | | + **nameIc** | **[]string** | | + **nameIe** | **[]string** | | + **nameIew** | **[]string** | | + **nameIsw** | **[]string** | | + **nameN** | **[]string** | | + **nameNic** | **[]string** | | + **nameNie** | **[]string** | | + **nameNiew** | **[]string** | | + **nameNisw** | **[]string** | | + **objectType** | **string** | | + **objectTypeIc** | **string** | | + **objectTypeIe** | **string** | | + **objectTypeIew** | **string** | | + **objectTypeIsw** | **string** | | + **objectTypeN** | **string** | | + **objectTypeNic** | **string** | | + **objectTypeNie** | **string** | | + **objectTypeNiew** | **string** | | + **objectTypeNisw** | **string** | | + **objectTypeId** | **[]int32** | | + **objectTypeIdN** | **[]int32** | | + **offset** | **int32** | The initial index from which to return the results. | + **ordering** | **string** | Which field to use when ordering the results. | + **q** | **string** | Search | + **shared** | **bool** | | + **slug** | **[]string** | | + **slugEmpty** | **bool** | | + **slugIc** | **[]string** | | + **slugIe** | **[]string** | | + **slugIew** | **[]string** | | + **slugIsw** | **[]string** | | + **slugN** | **[]string** | | + **slugNic** | **[]string** | | + **slugNie** | **[]string** | | + **slugNiew** | **[]string** | | + **slugNisw** | **[]string** | | + **updatedByRequest** | **string** | | + **usable** | **bool** | | + **user** | **[]string** | User (name) | + **userN** | **[]string** | User (name) | + **userId** | **[]int32** | User (ID) | + **userIdN** | **[]int32** | User (ID) | + **weight** | **[]int32** | | + **weightEmpty** | **bool** | | + **weightGt** | **[]int32** | | + **weightGte** | **[]int32** | | + **weightLt** | **[]int32** | | + **weightLte** | **[]int32** | | + **weightN** | **[]int32** | | + +### Return type + +[**PaginatedSavedFilterList**](PaginatedSavedFilterList.md) + +### Authorization + +[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ExtrasSavedFiltersPartialUpdate + +> SavedFilter ExtrasSavedFiltersPartialUpdate(ctx, id).PatchedSavedFilterRequest(patchedSavedFilterRequest).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/netbox-community/go-netbox/v4" +) + +func main() { + id := int32(56) // int32 | A unique integer value identifying this saved filter. + patchedSavedFilterRequest := *openapiclient.NewPatchedSavedFilterRequest() // PatchedSavedFilterRequest | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.ExtrasAPI.ExtrasSavedFiltersPartialUpdate(context.Background(), id).PatchedSavedFilterRequest(patchedSavedFilterRequest).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasSavedFiltersPartialUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ExtrasSavedFiltersPartialUpdate`: SavedFilter + fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasSavedFiltersPartialUpdate`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | A unique integer value identifying this saved filter. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiExtrasSavedFiltersPartialUpdateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **patchedSavedFilterRequest** | [**PatchedSavedFilterRequest**](PatchedSavedFilterRequest.md) | | + +### Return type + +[**SavedFilter**](SavedFilter.md) + +### Authorization + +[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) + +### HTTP request headers + +- **Content-Type**: application/json, multipart/form-data +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ExtrasSavedFiltersRetrieve + +> SavedFilter ExtrasSavedFiltersRetrieve(ctx, id).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/netbox-community/go-netbox/v4" +) + +func main() { + id := int32(56) // int32 | A unique integer value identifying this saved filter. + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.ExtrasAPI.ExtrasSavedFiltersRetrieve(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasSavedFiltersRetrieve``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ExtrasSavedFiltersRetrieve`: SavedFilter + fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasSavedFiltersRetrieve`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | A unique integer value identifying this saved filter. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiExtrasSavedFiltersRetrieveRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + +[**SavedFilter**](SavedFilter.md) + +### Authorization + +[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ExtrasSavedFiltersUpdate + +> SavedFilter ExtrasSavedFiltersUpdate(ctx, id).SavedFilterRequest(savedFilterRequest).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/netbox-community/go-netbox/v4" +) + +func main() { + id := int32(56) // int32 | A unique integer value identifying this saved filter. + savedFilterRequest := *openapiclient.NewSavedFilterRequest([]string{"ObjectTypes_example"}, "Name_example", "Slug_example", interface{}(123)) // SavedFilterRequest | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.ExtrasAPI.ExtrasSavedFiltersUpdate(context.Background(), id).SavedFilterRequest(savedFilterRequest).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasSavedFiltersUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ExtrasSavedFiltersUpdate`: SavedFilter + fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasSavedFiltersUpdate`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | A unique integer value identifying this saved filter. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiExtrasSavedFiltersUpdateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **savedFilterRequest** | [**SavedFilterRequest**](SavedFilterRequest.md) | | + +### Return type + +[**SavedFilter**](SavedFilter.md) + +### Authorization + +[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) + +### HTTP request headers + +- **Content-Type**: application/json, multipart/form-data +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ExtrasScriptsCreate + +> Script ExtrasScriptsCreate(ctx).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/netbox-community/go-netbox/v4" +) + +func main() { + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.ExtrasAPI.ExtrasScriptsCreate(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasScriptsCreate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ExtrasScriptsCreate`: Script + fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasScriptsCreate`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiExtrasScriptsCreateRequest struct via the builder pattern + + +### Return type + +[**Script**](Script.md) + +### Authorization + +[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ExtrasScriptsDestroy + +> ExtrasScriptsDestroy(ctx, id).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/netbox-community/go-netbox/v4" +) + +func main() { + id := "id_example" // string | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.ExtrasAPI.ExtrasScriptsDestroy(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasScriptsDestroy``: %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** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiExtrasScriptsDestroyRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### 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) + + +## ExtrasScriptsList + +> PaginatedScriptList ExtrasScriptsList(ctx).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).IsExecutable(isExecutable).Limit(limit).ModuleId(moduleId).ModuleIdN(moduleIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/netbox-community/go-netbox/v4" +) + +func main() { + id := []int32{int32(123)} // []int32 | (optional) + idEmpty := true // bool | (optional) + idGt := []int32{int32(123)} // []int32 | (optional) + idGte := []int32{int32(123)} // []int32 | (optional) + idLt := []int32{int32(123)} // []int32 | (optional) + idLte := []int32{int32(123)} // []int32 | (optional) + idN := []int32{int32(123)} // []int32 | (optional) + isExecutable := true // bool | (optional) + limit := int32(56) // int32 | Number of results to return per page. (optional) + moduleId := []int32{int32(123)} // []int32 | Script module (ID) (optional) + moduleIdN := []int32{int32(123)} // []int32 | Script module (ID) (optional) + name := []string{"Inner_example"} // []string | (optional) + nameEmpty := true // bool | (optional) + nameIc := []string{"Inner_example"} // []string | (optional) + nameIe := []string{"Inner_example"} // []string | (optional) + nameIew := []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) + nameNisw := []string{"Inner_example"} // []string | (optional) + offset := int32(56) // int32 | The initial index from which to return the results. (optional) + ordering := "ordering_example" // string | Which field to use when ordering the results. (optional) + q := "q_example" // string | Search (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.ExtrasAPI.ExtrasScriptsList(context.Background()).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).IsExecutable(isExecutable).Limit(limit).ModuleId(moduleId).ModuleIdN(moduleIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasScriptsList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ExtrasScriptsList`: PaginatedScriptList + fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasScriptsList`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiExtrasScriptsListRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **[]int32** | | + **idEmpty** | **bool** | | + **idGt** | **[]int32** | | + **idGte** | **[]int32** | | + **idLt** | **[]int32** | | + **idLte** | **[]int32** | | + **idN** | **[]int32** | | + **isExecutable** | **bool** | | + **limit** | **int32** | Number of results to return per page. | + **moduleId** | **[]int32** | Script module (ID) | + **moduleIdN** | **[]int32** | Script module (ID) | + **name** | **[]string** | | + **nameEmpty** | **bool** | | + **nameIc** | **[]string** | | + **nameIe** | **[]string** | | + **nameIew** | **[]string** | | + **nameIsw** | **[]string** | | + **nameN** | **[]string** | | + **nameNic** | **[]string** | | + **nameNie** | **[]string** | | + **nameNiew** | **[]string** | | + **nameNisw** | **[]string** | | + **offset** | **int32** | The initial index from which to return the results. | + **ordering** | **string** | Which field to use when ordering the results. | + **q** | **string** | Search | + +### Return type + +[**PaginatedScriptList**](PaginatedScriptList.md) + +### Authorization + +[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ExtrasScriptsPartialUpdate + +> Script ExtrasScriptsPartialUpdate(ctx, id).PatchedScriptInputRequest(patchedScriptInputRequest).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/netbox-community/go-netbox/v4" +) + +func main() { + id := "id_example" // string | + patchedScriptInputRequest := *openapiclient.NewPatchedScriptInputRequest() // PatchedScriptInputRequest | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.ExtrasAPI.ExtrasScriptsPartialUpdate(context.Background(), id).PatchedScriptInputRequest(patchedScriptInputRequest).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasScriptsPartialUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ExtrasScriptsPartialUpdate`: Script + fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasScriptsPartialUpdate`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiExtrasScriptsPartialUpdateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **patchedScriptInputRequest** | [**PatchedScriptInputRequest**](PatchedScriptInputRequest.md) | | + +### Return type + +[**Script**](Script.md) + +### Authorization + +[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) + +### HTTP request headers + +- **Content-Type**: application/json, multipart/form-data +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ExtrasScriptsRetrieve + +> Script ExtrasScriptsRetrieve(ctx, id).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/netbox-community/go-netbox/v4" +) + +func main() { + id := "id_example" // string | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.ExtrasAPI.ExtrasScriptsRetrieve(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasScriptsRetrieve``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ExtrasScriptsRetrieve`: Script + fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasScriptsRetrieve`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiExtrasScriptsRetrieveRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + +[**Script**](Script.md) + +### Authorization + +[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ExtrasScriptsUpdate + +> Script ExtrasScriptsUpdate(ctx, id).ScriptInputRequest(scriptInputRequest).Execute() + + + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/netbox-community/go-netbox/v4" +) + +func main() { + id := "id_example" // string | + scriptInputRequest := *openapiclient.NewScriptInputRequest(interface{}(123), false) // ScriptInputRequest | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.ExtrasAPI.ExtrasScriptsUpdate(context.Background(), id).ScriptInputRequest(scriptInputRequest).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasScriptsUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ExtrasScriptsUpdate`: Script + fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasScriptsUpdate`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiExtrasScriptsUpdateRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **created** | [**[]time.Time**](time.Time.md) | | - **createdEmpty** | [**[]time.Time**](time.Time.md) | | - **createdGt** | [**[]time.Time**](time.Time.md) | | - **createdGte** | [**[]time.Time**](time.Time.md) | | - **createdLt** | [**[]time.Time**](time.Time.md) | | - **createdLte** | [**[]time.Time**](time.Time.md) | | - **createdN** | [**[]time.Time**](time.Time.md) | | - **createdByRequest** | **string** | | - **description** | **[]string** | | - **descriptionEmpty** | **bool** | | - **descriptionIc** | **[]string** | | - **descriptionIe** | **[]string** | | - **descriptionIew** | **[]string** | | - **descriptionIsw** | **[]string** | | - **descriptionN** | **[]string** | | - **descriptionNic** | **[]string** | | - **descriptionNie** | **[]string** | | - **descriptionNiew** | **[]string** | | - **descriptionNisw** | **[]string** | | - **enabled** | **bool** | | - **id** | **[]int32** | | - **idEmpty** | **bool** | | - **idGt** | **[]int32** | | - **idGte** | **[]int32** | | - **idLt** | **[]int32** | | - **idLte** | **[]int32** | | - **idN** | **[]int32** | | - **lastUpdated** | [**[]time.Time**](time.Time.md) | | - **lastUpdatedEmpty** | [**[]time.Time**](time.Time.md) | | - **lastUpdatedGt** | [**[]time.Time**](time.Time.md) | | - **lastUpdatedGte** | [**[]time.Time**](time.Time.md) | | - **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. | - **modifiedByRequest** | **string** | | - **name** | **[]string** | | - **nameEmpty** | **bool** | | - **nameIc** | **[]string** | | - **nameIe** | **[]string** | | - **nameIew** | **[]string** | | - **nameIsw** | **[]string** | | - **nameN** | **[]string** | | - **nameNic** | **[]string** | | - **nameNie** | **[]string** | | - **nameNiew** | **[]string** | | - **nameNisw** | **[]string** | | - **objectType** | **string** | | - **objectTypeIc** | **string** | | - **objectTypeIe** | **string** | | - **objectTypeIew** | **string** | | - **objectTypeIsw** | **string** | | - **objectTypeN** | **string** | | - **objectTypeNic** | **string** | | - **objectTypeNie** | **string** | | - **objectTypeNiew** | **string** | | - **objectTypeNisw** | **string** | | - **objectTypeId** | **[]int32** | | - **objectTypeIdN** | **[]int32** | | - **offset** | **int32** | The initial index from which to return the results. | - **ordering** | **string** | Which field to use when ordering the results. | - **q** | **string** | Search | - **shared** | **bool** | | - **slug** | **[]string** | | - **slugEmpty** | **bool** | | - **slugIc** | **[]string** | | - **slugIe** | **[]string** | | - **slugIew** | **[]string** | | - **slugIsw** | **[]string** | | - **slugN** | **[]string** | | - **slugNic** | **[]string** | | - **slugNie** | **[]string** | | - **slugNiew** | **[]string** | | - **slugNisw** | **[]string** | | - **updatedByRequest** | **string** | | - **usable** | **bool** | | - **user** | **[]string** | User (name) | - **userN** | **[]string** | User (name) | - **userId** | **[]int32** | User (ID) | - **userIdN** | **[]int32** | User (ID) | - **weight** | **[]int32** | | - **weightEmpty** | **bool** | | - **weightGt** | **[]int32** | | - **weightGte** | **[]int32** | | - **weightLt** | **[]int32** | | - **weightLte** | **[]int32** | | - **weightN** | **[]int32** | | + + **scriptInputRequest** | [**ScriptInputRequest**](ScriptInputRequest.md) | | ### Return type -[**PaginatedSavedFilterList**](PaginatedSavedFilterList.md) +[**Script**](Script.md) ### Authorization @@ -9391,7 +11086,7 @@ Name | Type | Description | Notes ### HTTP request headers -- **Content-Type**: Not defined +- **Content-Type**: application/json, multipart/form-data - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) @@ -9399,9 +11094,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## ExtrasSavedFiltersPartialUpdate +## ExtrasSubscriptionsBulkDestroy -> SavedFilter ExtrasSavedFiltersPartialUpdate(ctx, id).PatchedSavedFilterRequest(patchedSavedFilterRequest).Execute() +> ExtrasSubscriptionsBulkDestroy(ctx).SubscriptionRequest(subscriptionRequest).Execute() @@ -9420,42 +11115,34 @@ import ( ) func main() { - id := int32(56) // int32 | A unique integer value identifying this saved filter. - patchedSavedFilterRequest := *openapiclient.NewPatchedSavedFilterRequest() // PatchedSavedFilterRequest | (optional) + subscriptionRequest := []openapiclient.SubscriptionRequest{*openapiclient.NewSubscriptionRequest("ObjectType_example", int64(123), *openapiclient.NewBriefUserRequest("Username_example"))} // []SubscriptionRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ExtrasAPI.ExtrasSavedFiltersPartialUpdate(context.Background(), id).PatchedSavedFilterRequest(patchedSavedFilterRequest).Execute() + r, err := apiClient.ExtrasAPI.ExtrasSubscriptionsBulkDestroy(context.Background()).SubscriptionRequest(subscriptionRequest).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasSavedFiltersPartialUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasSubscriptionsBulkDestroy``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ExtrasSavedFiltersPartialUpdate`: SavedFilter - fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasSavedFiltersPartialUpdate`: %v\n", resp) } ``` ### Path Parameters -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**id** | **int32** | A unique integer value identifying this saved filter. | ### Other Parameters -Other parameters are passed through a pointer to a apiExtrasSavedFiltersPartialUpdateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiExtrasSubscriptionsBulkDestroyRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - - **patchedSavedFilterRequest** | [**PatchedSavedFilterRequest**](PatchedSavedFilterRequest.md) | | + **subscriptionRequest** | [**[]SubscriptionRequest**](SubscriptionRequest.md) | | ### Return type -[**SavedFilter**](SavedFilter.md) + (empty response body) ### Authorization @@ -9464,16 +11151,16 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json, multipart/form-data -- **Accept**: application/json +- **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) -## ExtrasSavedFiltersRetrieve +## ExtrasSubscriptionsBulkPartialUpdate -> SavedFilter ExtrasSavedFiltersRetrieve(ctx, id).Execute() +> []Subscription ExtrasSubscriptionsBulkPartialUpdate(ctx).SubscriptionRequest(subscriptionRequest).Execute() @@ -9492,40 +11179,36 @@ import ( ) func main() { - id := int32(56) // int32 | A unique integer value identifying this saved filter. + subscriptionRequest := []openapiclient.SubscriptionRequest{*openapiclient.NewSubscriptionRequest("ObjectType_example", int64(123), *openapiclient.NewBriefUserRequest("Username_example"))} // []SubscriptionRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ExtrasAPI.ExtrasSavedFiltersRetrieve(context.Background(), id).Execute() + resp, r, err := apiClient.ExtrasAPI.ExtrasSubscriptionsBulkPartialUpdate(context.Background()).SubscriptionRequest(subscriptionRequest).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasSavedFiltersRetrieve``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasSubscriptionsBulkPartialUpdate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ExtrasSavedFiltersRetrieve`: SavedFilter - fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasSavedFiltersRetrieve`: %v\n", resp) + // response from `ExtrasSubscriptionsBulkPartialUpdate`: []Subscription + fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasSubscriptionsBulkPartialUpdate`: %v\n", resp) } ``` ### Path Parameters -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**id** | **int32** | A unique integer value identifying this saved filter. | ### Other Parameters -Other parameters are passed through a pointer to a apiExtrasSavedFiltersRetrieveRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiExtrasSubscriptionsBulkPartialUpdateRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - + **subscriptionRequest** | [**[]SubscriptionRequest**](SubscriptionRequest.md) | | ### Return type -[**SavedFilter**](SavedFilter.md) +[**[]Subscription**](Subscription.md) ### Authorization @@ -9533,7 +11216,7 @@ Name | Type | Description | Notes ### HTTP request headers -- **Content-Type**: Not defined +- **Content-Type**: application/json, multipart/form-data - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) @@ -9541,9 +11224,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## ExtrasSavedFiltersUpdate +## ExtrasSubscriptionsBulkUpdate -> SavedFilter ExtrasSavedFiltersUpdate(ctx, id).SavedFilterRequest(savedFilterRequest).Execute() +> []Subscription ExtrasSubscriptionsBulkUpdate(ctx).SubscriptionRequest(subscriptionRequest).Execute() @@ -9562,42 +11245,36 @@ import ( ) func main() { - id := int32(56) // int32 | A unique integer value identifying this saved filter. - savedFilterRequest := *openapiclient.NewSavedFilterRequest([]string{"ObjectTypes_example"}, "Name_example", "Slug_example", interface{}(123)) // SavedFilterRequest | + subscriptionRequest := []openapiclient.SubscriptionRequest{*openapiclient.NewSubscriptionRequest("ObjectType_example", int64(123), *openapiclient.NewBriefUserRequest("Username_example"))} // []SubscriptionRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ExtrasAPI.ExtrasSavedFiltersUpdate(context.Background(), id).SavedFilterRequest(savedFilterRequest).Execute() + resp, r, err := apiClient.ExtrasAPI.ExtrasSubscriptionsBulkUpdate(context.Background()).SubscriptionRequest(subscriptionRequest).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasSavedFiltersUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasSubscriptionsBulkUpdate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ExtrasSavedFiltersUpdate`: SavedFilter - fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasSavedFiltersUpdate`: %v\n", resp) + // response from `ExtrasSubscriptionsBulkUpdate`: []Subscription + fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasSubscriptionsBulkUpdate`: %v\n", resp) } ``` ### Path Parameters -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**id** | **int32** | A unique integer value identifying this saved filter. | ### Other Parameters -Other parameters are passed through a pointer to a apiExtrasSavedFiltersUpdateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiExtrasSubscriptionsBulkUpdateRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - - **savedFilterRequest** | [**SavedFilterRequest**](SavedFilterRequest.md) | | + **subscriptionRequest** | [**[]SubscriptionRequest**](SubscriptionRequest.md) | | ### Return type -[**SavedFilter**](SavedFilter.md) +[**[]Subscription**](Subscription.md) ### Authorization @@ -9613,9 +11290,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## ExtrasScriptsCreate +## ExtrasSubscriptionsCreate -> Script ExtrasScriptsCreate(ctx).Execute() +> Subscription ExtrasSubscriptionsCreate(ctx).SubscriptionRequest(subscriptionRequest).Execute() @@ -9634,31 +11311,36 @@ import ( ) func main() { + subscriptionRequest := *openapiclient.NewSubscriptionRequest("ObjectType_example", int64(123), *openapiclient.NewBriefUserRequest("Username_example")) // SubscriptionRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ExtrasAPI.ExtrasScriptsCreate(context.Background()).Execute() + resp, r, err := apiClient.ExtrasAPI.ExtrasSubscriptionsCreate(context.Background()).SubscriptionRequest(subscriptionRequest).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasScriptsCreate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasSubscriptionsCreate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ExtrasScriptsCreate`: Script - fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasScriptsCreate`: %v\n", resp) + // response from `ExtrasSubscriptionsCreate`: Subscription + fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasSubscriptionsCreate`: %v\n", resp) } ``` ### Path Parameters -This endpoint does not need any parameter. + ### Other Parameters -Other parameters are passed through a pointer to a apiExtrasScriptsCreateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiExtrasSubscriptionsCreateRequest struct via the builder pattern + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **subscriptionRequest** | [**SubscriptionRequest**](SubscriptionRequest.md) | | ### Return type -[**Script**](Script.md) +[**Subscription**](Subscription.md) ### Authorization @@ -9666,7 +11348,7 @@ Other parameters are passed through a pointer to a apiExtrasScriptsCreateRequest ### HTTP request headers -- **Content-Type**: Not defined +- **Content-Type**: application/json, multipart/form-data - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) @@ -9674,9 +11356,9 @@ Other parameters are passed through a pointer to a apiExtrasScriptsCreateRequest [[Back to README]](../README.md) -## ExtrasScriptsDestroy +## ExtrasSubscriptionsDestroy -> ExtrasScriptsDestroy(ctx, id).Execute() +> ExtrasSubscriptionsDestroy(ctx, id).Execute() @@ -9695,13 +11377,13 @@ import ( ) func main() { - id := "id_example" // string | + id := int32(56) // int32 | A unique integer value identifying this subscription. configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.ExtrasAPI.ExtrasScriptsDestroy(context.Background(), id).Execute() + r, err := apiClient.ExtrasAPI.ExtrasSubscriptionsDestroy(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasScriptsDestroy``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasSubscriptionsDestroy``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -9713,11 +11395,11 @@ func main() { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**id** | **string** | | +**id** | **int32** | A unique integer value identifying this subscription. | ### Other Parameters -Other parameters are passed through a pointer to a apiExtrasScriptsDestroyRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiExtrasSubscriptionsDestroyRequest struct via the builder pattern Name | Type | Description | Notes @@ -9742,9 +11424,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## ExtrasScriptsList +## ExtrasSubscriptionsList -> PaginatedScriptList ExtrasScriptsList(ctx).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).IsExecutable(isExecutable).Limit(limit).ModuleId(moduleId).ModuleIdN(moduleIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).Execute() +> PaginatedSubscriptionList ExtrasSubscriptionsList(ctx).Limit(limit).Offset(offset).Ordering(ordering).Execute() @@ -9763,41 +11445,19 @@ import ( ) func main() { - id := []int32{int32(123)} // []int32 | (optional) - idEmpty := true // bool | (optional) - idGt := []int32{int32(123)} // []int32 | (optional) - idGte := []int32{int32(123)} // []int32 | (optional) - idLt := []int32{int32(123)} // []int32 | (optional) - idLte := []int32{int32(123)} // []int32 | (optional) - idN := []int32{int32(123)} // []int32 | (optional) - isExecutable := true // bool | (optional) limit := int32(56) // int32 | Number of results to return per page. (optional) - moduleId := []int32{int32(123)} // []int32 | Script module (ID) (optional) - moduleIdN := []int32{int32(123)} // []int32 | Script module (ID) (optional) - name := []string{"Inner_example"} // []string | (optional) - nameEmpty := true // bool | (optional) - nameIc := []string{"Inner_example"} // []string | (optional) - nameIe := []string{"Inner_example"} // []string | (optional) - nameIew := []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) - nameNisw := []string{"Inner_example"} // []string | (optional) offset := int32(56) // int32 | The initial index from which to return the results. (optional) ordering := "ordering_example" // string | Which field to use when ordering the results. (optional) - q := "q_example" // string | Search (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ExtrasAPI.ExtrasScriptsList(context.Background()).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).IsExecutable(isExecutable).Limit(limit).ModuleId(moduleId).ModuleIdN(moduleIdN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).Execute() + resp, r, err := apiClient.ExtrasAPI.ExtrasSubscriptionsList(context.Background()).Limit(limit).Offset(offset).Ordering(ordering).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasScriptsList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasSubscriptionsList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ExtrasScriptsList`: PaginatedScriptList - fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasScriptsList`: %v\n", resp) + // response from `ExtrasSubscriptionsList`: PaginatedSubscriptionList + fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasSubscriptionsList`: %v\n", resp) } ``` @@ -9807,40 +11467,18 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiExtrasScriptsListRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiExtrasSubscriptionsListRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **id** | **[]int32** | | - **idEmpty** | **bool** | | - **idGt** | **[]int32** | | - **idGte** | **[]int32** | | - **idLt** | **[]int32** | | - **idLte** | **[]int32** | | - **idN** | **[]int32** | | - **isExecutable** | **bool** | | **limit** | **int32** | Number of results to return per page. | - **moduleId** | **[]int32** | Script module (ID) | - **moduleIdN** | **[]int32** | Script module (ID) | - **name** | **[]string** | | - **nameEmpty** | **bool** | | - **nameIc** | **[]string** | | - **nameIe** | **[]string** | | - **nameIew** | **[]string** | | - **nameIsw** | **[]string** | | - **nameN** | **[]string** | | - **nameNic** | **[]string** | | - **nameNie** | **[]string** | | - **nameNiew** | **[]string** | | - **nameNisw** | **[]string** | | **offset** | **int32** | The initial index from which to return the results. | **ordering** | **string** | Which field to use when ordering the results. | - **q** | **string** | Search | ### Return type -[**PaginatedScriptList**](PaginatedScriptList.md) +[**PaginatedSubscriptionList**](PaginatedSubscriptionList.md) ### Authorization @@ -9856,9 +11494,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## ExtrasScriptsPartialUpdate +## ExtrasSubscriptionsPartialUpdate -> Script ExtrasScriptsPartialUpdate(ctx, id).Execute() +> Subscription ExtrasSubscriptionsPartialUpdate(ctx, id).PatchedSubscriptionRequest(patchedSubscriptionRequest).Execute() @@ -9877,17 +11515,18 @@ import ( ) func main() { - id := "id_example" // string | + id := int32(56) // int32 | A unique integer value identifying this subscription. + patchedSubscriptionRequest := *openapiclient.NewPatchedSubscriptionRequest() // PatchedSubscriptionRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ExtrasAPI.ExtrasScriptsPartialUpdate(context.Background(), id).Execute() + resp, r, err := apiClient.ExtrasAPI.ExtrasSubscriptionsPartialUpdate(context.Background(), id).PatchedSubscriptionRequest(patchedSubscriptionRequest).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasScriptsPartialUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasSubscriptionsPartialUpdate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ExtrasScriptsPartialUpdate`: Script - fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasScriptsPartialUpdate`: %v\n", resp) + // response from `ExtrasSubscriptionsPartialUpdate`: Subscription + fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasSubscriptionsPartialUpdate`: %v\n", resp) } ``` @@ -9897,20 +11536,21 @@ func main() { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**id** | **string** | | +**id** | **int32** | A unique integer value identifying this subscription. | ### Other Parameters -Other parameters are passed through a pointer to a apiExtrasScriptsPartialUpdateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiExtrasSubscriptionsPartialUpdateRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **patchedSubscriptionRequest** | [**PatchedSubscriptionRequest**](PatchedSubscriptionRequest.md) | | ### Return type -[**Script**](Script.md) +[**Subscription**](Subscription.md) ### Authorization @@ -9918,7 +11558,7 @@ Name | Type | Description | Notes ### HTTP request headers -- **Content-Type**: Not defined +- **Content-Type**: application/json, multipart/form-data - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) @@ -9926,9 +11566,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## ExtrasScriptsRetrieve +## ExtrasSubscriptionsRetrieve -> Script ExtrasScriptsRetrieve(ctx, id).Execute() +> Subscription ExtrasSubscriptionsRetrieve(ctx, id).Execute() @@ -9947,17 +11587,17 @@ import ( ) func main() { - id := "id_example" // string | + id := int32(56) // int32 | A unique integer value identifying this subscription. configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ExtrasAPI.ExtrasScriptsRetrieve(context.Background(), id).Execute() + resp, r, err := apiClient.ExtrasAPI.ExtrasSubscriptionsRetrieve(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasScriptsRetrieve``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasSubscriptionsRetrieve``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ExtrasScriptsRetrieve`: Script - fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasScriptsRetrieve`: %v\n", resp) + // response from `ExtrasSubscriptionsRetrieve`: Subscription + fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasSubscriptionsRetrieve`: %v\n", resp) } ``` @@ -9967,11 +11607,11 @@ func main() { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**id** | **string** | | +**id** | **int32** | A unique integer value identifying this subscription. | ### Other Parameters -Other parameters are passed through a pointer to a apiExtrasScriptsRetrieveRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiExtrasSubscriptionsRetrieveRequest struct via the builder pattern Name | Type | Description | Notes @@ -9980,7 +11620,7 @@ Name | Type | Description | Notes ### Return type -[**Script**](Script.md) +[**Subscription**](Subscription.md) ### Authorization @@ -9996,9 +11636,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## ExtrasScriptsUpdate +## ExtrasSubscriptionsUpdate -> Script ExtrasScriptsUpdate(ctx, id).Execute() +> Subscription ExtrasSubscriptionsUpdate(ctx, id).SubscriptionRequest(subscriptionRequest).Execute() @@ -10017,17 +11657,18 @@ import ( ) func main() { - id := "id_example" // string | + id := int32(56) // int32 | A unique integer value identifying this subscription. + subscriptionRequest := *openapiclient.NewSubscriptionRequest("ObjectType_example", int64(123), *openapiclient.NewBriefUserRequest("Username_example")) // SubscriptionRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ExtrasAPI.ExtrasScriptsUpdate(context.Background(), id).Execute() + resp, r, err := apiClient.ExtrasAPI.ExtrasSubscriptionsUpdate(context.Background(), id).SubscriptionRequest(subscriptionRequest).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasScriptsUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasSubscriptionsUpdate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ExtrasScriptsUpdate`: Script - fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasScriptsUpdate`: %v\n", resp) + // response from `ExtrasSubscriptionsUpdate`: Subscription + fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasSubscriptionsUpdate`: %v\n", resp) } ``` @@ -10037,20 +11678,21 @@ func main() { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**id** | **string** | | +**id** | **int32** | A unique integer value identifying this subscription. | ### Other Parameters -Other parameters are passed through a pointer to a apiExtrasScriptsUpdateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiExtrasSubscriptionsUpdateRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **subscriptionRequest** | [**SubscriptionRequest**](SubscriptionRequest.md) | | ### Return type -[**Script**](Script.md) +[**Subscription**](Subscription.md) ### Authorization @@ -10058,7 +11700,7 @@ Name | Type | Description | Notes ### HTTP request headers -- **Content-Type**: Not defined +- **Content-Type**: application/json, multipart/form-data - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) @@ -11161,7 +12803,7 @@ Name | Type | Description | Notes ## ExtrasWebhooksList -> PaginatedWebhookList ExtrasWebhooksList(ctx).CaFilePath(caFilePath).CaFilePathEmpty(caFilePathEmpty).CaFilePathIc(caFilePathIc).CaFilePathIe(caFilePathIe).CaFilePathIew(caFilePathIew).CaFilePathIsw(caFilePathIsw).CaFilePathN(caFilePathN).CaFilePathNic(caFilePathNic).CaFilePathNie(caFilePathNie).CaFilePathNiew(caFilePathNiew).CaFilePathNisw(caFilePathNisw).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).HttpContentType(httpContentType).HttpContentTypeEmpty(httpContentTypeEmpty).HttpContentTypeIc(httpContentTypeIc).HttpContentTypeIe(httpContentTypeIe).HttpContentTypeIew(httpContentTypeIew).HttpContentTypeIsw(httpContentTypeIsw).HttpContentTypeN(httpContentTypeN).HttpContentTypeNic(httpContentTypeNic).HttpContentTypeNie(httpContentTypeNie).HttpContentTypeNiew(httpContentTypeNiew).HttpContentTypeNisw(httpContentTypeNisw).HttpMethod(httpMethod).HttpMethodN(httpMethodN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).PayloadUrl(payloadUrl).Q(q).Secret(secret).SecretEmpty(secretEmpty).SecretIc(secretIc).SecretIe(secretIe).SecretIew(secretIew).SecretIsw(secretIsw).SecretN(secretN).SecretNic(secretNic).SecretNie(secretNie).SecretNiew(secretNiew).SecretNisw(secretNisw).SslVerification(sslVerification).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).Execute() +> PaginatedWebhookList ExtrasWebhooksList(ctx).CaFilePath(caFilePath).CaFilePathEmpty(caFilePathEmpty).CaFilePathIc(caFilePathIc).CaFilePathIe(caFilePathIe).CaFilePathIew(caFilePathIew).CaFilePathIsw(caFilePathIsw).CaFilePathN(caFilePathN).CaFilePathNic(caFilePathNic).CaFilePathNie(caFilePathNie).CaFilePathNiew(caFilePathNiew).CaFilePathNisw(caFilePathNisw).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).HttpContentType(httpContentType).HttpContentTypeEmpty(httpContentTypeEmpty).HttpContentTypeIc(httpContentTypeIc).HttpContentTypeIe(httpContentTypeIe).HttpContentTypeIew(httpContentTypeIew).HttpContentTypeIsw(httpContentTypeIsw).HttpContentTypeN(httpContentTypeN).HttpContentTypeNic(httpContentTypeNic).HttpContentTypeNie(httpContentTypeNie).HttpContentTypeNiew(httpContentTypeNiew).HttpContentTypeNisw(httpContentTypeNisw).HttpMethod(httpMethod).HttpMethodEmpty(httpMethodEmpty).HttpMethodIc(httpMethodIc).HttpMethodIe(httpMethodIe).HttpMethodIew(httpMethodIew).HttpMethodIsw(httpMethodIsw).HttpMethodN(httpMethodN).HttpMethodNic(httpMethodNic).HttpMethodNie(httpMethodNie).HttpMethodNiew(httpMethodNiew).HttpMethodNisw(httpMethodNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).PayloadUrl(payloadUrl).Q(q).Secret(secret).SecretEmpty(secretEmpty).SecretIc(secretIc).SecretIe(secretIe).SecretIew(secretIew).SecretIsw(secretIsw).SecretN(secretN).SecretNic(secretNic).SecretNie(secretNie).SecretNiew(secretNiew).SecretNisw(secretNisw).SslVerification(sslVerification).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).Execute() @@ -11223,7 +12865,16 @@ func main() { httpContentTypeNiew := []string{"Inner_example"} // []string | (optional) httpContentTypeNisw := []string{"Inner_example"} // []string | (optional) httpMethod := []string{"Inner_example"} // []string | (optional) - httpMethodN := []string{"Inner_example"} // []string | (optional) + httpMethodEmpty := true // bool | (optional) + httpMethodIc := []openapiclient.ExtrasWebhooksListHttpMethodIcParameterInner{openapiclient.extras_webhooks_list_http_method__ic_parameter_inner("DELETE")} // []ExtrasWebhooksListHttpMethodIcParameterInner | * `GET` - GET * `POST` - POST * `PUT` - PUT * `PATCH` - PATCH * `DELETE` - DELETE (optional) + httpMethodIe := []openapiclient.ExtrasWebhooksListHttpMethodIcParameterInner{openapiclient.extras_webhooks_list_http_method__ic_parameter_inner("DELETE")} // []ExtrasWebhooksListHttpMethodIcParameterInner | * `GET` - GET * `POST` - POST * `PUT` - PUT * `PATCH` - PATCH * `DELETE` - DELETE (optional) + httpMethodIew := []openapiclient.ExtrasWebhooksListHttpMethodIcParameterInner{openapiclient.extras_webhooks_list_http_method__ic_parameter_inner("DELETE")} // []ExtrasWebhooksListHttpMethodIcParameterInner | * `GET` - GET * `POST` - POST * `PUT` - PUT * `PATCH` - PATCH * `DELETE` - DELETE (optional) + httpMethodIsw := []openapiclient.ExtrasWebhooksListHttpMethodIcParameterInner{openapiclient.extras_webhooks_list_http_method__ic_parameter_inner("DELETE")} // []ExtrasWebhooksListHttpMethodIcParameterInner | * `GET` - GET * `POST` - POST * `PUT` - PUT * `PATCH` - PATCH * `DELETE` - DELETE (optional) + httpMethodN := []openapiclient.ExtrasWebhooksListHttpMethodIcParameterInner{openapiclient.extras_webhooks_list_http_method__ic_parameter_inner("DELETE")} // []ExtrasWebhooksListHttpMethodIcParameterInner | * `GET` - GET * `POST` - POST * `PUT` - PUT * `PATCH` - PATCH * `DELETE` - DELETE (optional) + httpMethodNic := []openapiclient.ExtrasWebhooksListHttpMethodIcParameterInner{openapiclient.extras_webhooks_list_http_method__ic_parameter_inner("DELETE")} // []ExtrasWebhooksListHttpMethodIcParameterInner | * `GET` - GET * `POST` - POST * `PUT` - PUT * `PATCH` - PATCH * `DELETE` - DELETE (optional) + httpMethodNie := []openapiclient.ExtrasWebhooksListHttpMethodIcParameterInner{openapiclient.extras_webhooks_list_http_method__ic_parameter_inner("DELETE")} // []ExtrasWebhooksListHttpMethodIcParameterInner | * `GET` - GET * `POST` - POST * `PUT` - PUT * `PATCH` - PATCH * `DELETE` - DELETE (optional) + httpMethodNiew := []openapiclient.ExtrasWebhooksListHttpMethodIcParameterInner{openapiclient.extras_webhooks_list_http_method__ic_parameter_inner("DELETE")} // []ExtrasWebhooksListHttpMethodIcParameterInner | * `GET` - GET * `POST` - POST * `PUT` - PUT * `PATCH` - PATCH * `DELETE` - DELETE (optional) + httpMethodNisw := []openapiclient.ExtrasWebhooksListHttpMethodIcParameterInner{openapiclient.extras_webhooks_list_http_method__ic_parameter_inner("DELETE")} // []ExtrasWebhooksListHttpMethodIcParameterInner | * `GET` - GET * `POST` - POST * `PUT` - PUT * `PATCH` - PATCH * `DELETE` - DELETE (optional) id := []int32{int32(123)} // []int32 | (optional) idEmpty := true // bool | (optional) idGt := []int32{int32(123)} // []int32 | (optional) @@ -11273,7 +12924,7 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ExtrasAPI.ExtrasWebhooksList(context.Background()).CaFilePath(caFilePath).CaFilePathEmpty(caFilePathEmpty).CaFilePathIc(caFilePathIc).CaFilePathIe(caFilePathIe).CaFilePathIew(caFilePathIew).CaFilePathIsw(caFilePathIsw).CaFilePathN(caFilePathN).CaFilePathNic(caFilePathNic).CaFilePathNie(caFilePathNie).CaFilePathNiew(caFilePathNiew).CaFilePathNisw(caFilePathNisw).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).HttpContentType(httpContentType).HttpContentTypeEmpty(httpContentTypeEmpty).HttpContentTypeIc(httpContentTypeIc).HttpContentTypeIe(httpContentTypeIe).HttpContentTypeIew(httpContentTypeIew).HttpContentTypeIsw(httpContentTypeIsw).HttpContentTypeN(httpContentTypeN).HttpContentTypeNic(httpContentTypeNic).HttpContentTypeNie(httpContentTypeNie).HttpContentTypeNiew(httpContentTypeNiew).HttpContentTypeNisw(httpContentTypeNisw).HttpMethod(httpMethod).HttpMethodN(httpMethodN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).PayloadUrl(payloadUrl).Q(q).Secret(secret).SecretEmpty(secretEmpty).SecretIc(secretIc).SecretIe(secretIe).SecretIew(secretIew).SecretIsw(secretIsw).SecretN(secretN).SecretNic(secretNic).SecretNie(secretNie).SecretNiew(secretNiew).SecretNisw(secretNisw).SslVerification(sslVerification).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).Execute() + resp, r, err := apiClient.ExtrasAPI.ExtrasWebhooksList(context.Background()).CaFilePath(caFilePath).CaFilePathEmpty(caFilePathEmpty).CaFilePathIc(caFilePathIc).CaFilePathIe(caFilePathIe).CaFilePathIew(caFilePathIew).CaFilePathIsw(caFilePathIsw).CaFilePathN(caFilePathN).CaFilePathNic(caFilePathNic).CaFilePathNie(caFilePathNie).CaFilePathNiew(caFilePathNiew).CaFilePathNisw(caFilePathNisw).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).HttpContentType(httpContentType).HttpContentTypeEmpty(httpContentTypeEmpty).HttpContentTypeIc(httpContentTypeIc).HttpContentTypeIe(httpContentTypeIe).HttpContentTypeIew(httpContentTypeIew).HttpContentTypeIsw(httpContentTypeIsw).HttpContentTypeN(httpContentTypeN).HttpContentTypeNic(httpContentTypeNic).HttpContentTypeNie(httpContentTypeNie).HttpContentTypeNiew(httpContentTypeNiew).HttpContentTypeNisw(httpContentTypeNisw).HttpMethod(httpMethod).HttpMethodEmpty(httpMethodEmpty).HttpMethodIc(httpMethodIc).HttpMethodIe(httpMethodIe).HttpMethodIew(httpMethodIew).HttpMethodIsw(httpMethodIsw).HttpMethodN(httpMethodN).HttpMethodNic(httpMethodNic).HttpMethodNie(httpMethodNie).HttpMethodNiew(httpMethodNiew).HttpMethodNisw(httpMethodNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).PayloadUrl(payloadUrl).Q(q).Secret(secret).SecretEmpty(secretEmpty).SecretIc(secretIc).SecretIe(secretIe).SecretIew(secretIew).SecretIsw(secretIsw).SecretN(secretN).SecretNic(secretNic).SecretNie(secretNie).SecretNiew(secretNiew).SecretNisw(secretNisw).SslVerification(sslVerification).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).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) @@ -11336,7 +12987,16 @@ Name | Type | Description | Notes **httpContentTypeNiew** | **[]string** | | **httpContentTypeNisw** | **[]string** | | **httpMethod** | **[]string** | | - **httpMethodN** | **[]string** | | + **httpMethodEmpty** | **bool** | | + **httpMethodIc** | [**[]ExtrasWebhooksListHttpMethodIcParameterInner**](ExtrasWebhooksListHttpMethodIcParameterInner.md) | * `GET` - GET * `POST` - POST * `PUT` - PUT * `PATCH` - PATCH * `DELETE` - DELETE | + **httpMethodIe** | [**[]ExtrasWebhooksListHttpMethodIcParameterInner**](ExtrasWebhooksListHttpMethodIcParameterInner.md) | * `GET` - GET * `POST` - POST * `PUT` - PUT * `PATCH` - PATCH * `DELETE` - DELETE | + **httpMethodIew** | [**[]ExtrasWebhooksListHttpMethodIcParameterInner**](ExtrasWebhooksListHttpMethodIcParameterInner.md) | * `GET` - GET * `POST` - POST * `PUT` - PUT * `PATCH` - PATCH * `DELETE` - DELETE | + **httpMethodIsw** | [**[]ExtrasWebhooksListHttpMethodIcParameterInner**](ExtrasWebhooksListHttpMethodIcParameterInner.md) | * `GET` - GET * `POST` - POST * `PUT` - PUT * `PATCH` - PATCH * `DELETE` - DELETE | + **httpMethodN** | [**[]ExtrasWebhooksListHttpMethodIcParameterInner**](ExtrasWebhooksListHttpMethodIcParameterInner.md) | * `GET` - GET * `POST` - POST * `PUT` - PUT * `PATCH` - PATCH * `DELETE` - DELETE | + **httpMethodNic** | [**[]ExtrasWebhooksListHttpMethodIcParameterInner**](ExtrasWebhooksListHttpMethodIcParameterInner.md) | * `GET` - GET * `POST` - POST * `PUT` - PUT * `PATCH` - PATCH * `DELETE` - DELETE | + **httpMethodNie** | [**[]ExtrasWebhooksListHttpMethodIcParameterInner**](ExtrasWebhooksListHttpMethodIcParameterInner.md) | * `GET` - GET * `POST` - POST * `PUT` - PUT * `PATCH` - PATCH * `DELETE` - DELETE | + **httpMethodNiew** | [**[]ExtrasWebhooksListHttpMethodIcParameterInner**](ExtrasWebhooksListHttpMethodIcParameterInner.md) | * `GET` - GET * `POST` - POST * `PUT` - PUT * `PATCH` - PATCH * `DELETE` - DELETE | + **httpMethodNisw** | [**[]ExtrasWebhooksListHttpMethodIcParameterInner**](ExtrasWebhooksListHttpMethodIcParameterInner.md) | * `GET` - GET * `POST` - POST * `PUT` - PUT * `PATCH` - PATCH * `DELETE` - DELETE | **id** | **[]int32** | | **idEmpty** | **bool** | | **idGt** | **[]int32** | | diff --git a/docs/ExtrasCustomFieldsListTypeIcParameterInner.md b/docs/ExtrasCustomFieldsListTypeIcParameterInner.md new file mode 100644 index 000000000..2e0d10c6a --- /dev/null +++ b/docs/ExtrasCustomFieldsListTypeIcParameterInner.md @@ -0,0 +1,35 @@ +# ExtrasCustomFieldsListTypeIcParameterInner + +## Enum + + +* `BOOLEAN` (value: `"boolean"`) + +* `DATE` (value: `"date"`) + +* `DATETIME` (value: `"datetime"`) + +* `DECIMAL` (value: `"decimal"`) + +* `INTEGER` (value: `"integer"`) + +* `JSON` (value: `"json"`) + +* `LONGTEXT` (value: `"longtext"`) + +* `MULTIOBJECT` (value: `"multiobject"`) + +* `MULTISELECT` (value: `"multiselect"`) + +* `OBJECT` (value: `"object"`) + +* `SELECT` (value: `"select"`) + +* `TEXT` (value: `"text"`) + +* `URL` (value: `"url"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ExtrasCustomLinksListButtonClassParameter.md b/docs/ExtrasCustomLinksListButtonClassParameter.md index f0207ccf5..5540c98b8 100644 --- a/docs/ExtrasCustomLinksListButtonClassParameter.md +++ b/docs/ExtrasCustomLinksListButtonClassParameter.md @@ -9,6 +9,8 @@ * `CYAN` (value: `"cyan"`) +* `DEFAULT` (value: `"default"`) + * `GHOST_DARK` (value: `"ghost-dark"`) * `GRAY` (value: `"gray"`) @@ -19,8 +21,6 @@ * `ORANGE` (value: `"orange"`) -* `OUTLINE_DARK` (value: `"outline-dark"`) - * `PINK` (value: `"pink"`) * `PURPLE` (value: `"purple"`) diff --git a/docs/ExtrasEventRulesListActionTypeIcParameterInner.md b/docs/ExtrasEventRulesListActionTypeIcParameterInner.md new file mode 100644 index 000000000..08d8d8235 --- /dev/null +++ b/docs/ExtrasEventRulesListActionTypeIcParameterInner.md @@ -0,0 +1,15 @@ +# ExtrasEventRulesListActionTypeIcParameterInner + +## Enum + + +* `NOTIFICATION` (value: `"notification"`) + +* `SCRIPT` (value: `"script"`) + +* `WEBHOOK` (value: `"webhook"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ExtrasJournalEntriesListKindIcParameterInner.md b/docs/ExtrasJournalEntriesListKindIcParameterInner.md new file mode 100644 index 000000000..71f448cf6 --- /dev/null +++ b/docs/ExtrasJournalEntriesListKindIcParameterInner.md @@ -0,0 +1,17 @@ +# ExtrasJournalEntriesListKindIcParameterInner + +## Enum + + +* `DANGER` (value: `"danger"`) + +* `INFO` (value: `"info"`) + +* `SUCCESS` (value: `"success"`) + +* `WARNING` (value: `"warning"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ExtrasWebhooksListHttpMethodIcParameterInner.md b/docs/ExtrasWebhooksListHttpMethodIcParameterInner.md new file mode 100644 index 000000000..99fb00173 --- /dev/null +++ b/docs/ExtrasWebhooksListHttpMethodIcParameterInner.md @@ -0,0 +1,19 @@ +# ExtrasWebhooksListHttpMethodIcParameterInner + +## Enum + + +* `DELETE` (value: `"DELETE"`) + +* `GET` (value: `"GET"`) + +* `PATCH` (value: `"PATCH"`) + +* `POST` (value: `"POST"`) + +* `PUT` (value: `"PUT"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/FHRPGroup.md b/docs/FHRPGroup.md index 1b55f2fa8..47c87bc95 100644 --- a/docs/FHRPGroup.md +++ b/docs/FHRPGroup.md @@ -5,17 +5,27 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] +**Name** | Pointer to **string** | | [optional] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] -**Protocol** | [**FHRPGroupProtocol**](FHRPGroupProtocol.md) | | +**Protocol** | [**BriefFHRPGroupProtocol**](BriefFHRPGroupProtocol.md) | | **GroupId** | **int32** | | +**AuthType** | Pointer to [**AuthenticationType2**](AuthenticationType2.md) | | [optional] +**AuthKey** | Pointer to **string** | | [optional] **Description** | Pointer to **string** | | [optional] +**Comments** | Pointer to **string** | | [optional] +**Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] +**Created** | **NullableTime** | | [readonly] +**LastUpdated** | **NullableTime** | | [readonly] +**IpAddresses** | [**[]BriefIPAddress**](BriefIPAddress.md) | | [readonly] ## Methods ### NewFHRPGroup -`func NewFHRPGroup(id int32, url string, display string, protocol FHRPGroupProtocol, groupId int32, ) *FHRPGroup` +`func NewFHRPGroup(id int32, url string, display string, protocol BriefFHRPGroupProtocol, groupId int32, created NullableTime, lastUpdated NullableTime, ipAddresses []BriefIPAddress, ) *FHRPGroup` NewFHRPGroup instantiates a new FHRPGroup object This constructor will assign default values to properties that have it defined, @@ -50,6 +60,31 @@ and a boolean to check if the value has been set. SetId sets Id field to given value. +### GetName + +`func (o *FHRPGroup) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *FHRPGroup) 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 *FHRPGroup) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *FHRPGroup) HasName() bool` + +HasName returns a boolean if a field has been set. + ### GetUrl `func (o *FHRPGroup) GetUrl() string` @@ -70,6 +105,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *FHRPGroup) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *FHRPGroup) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *FHRPGroup) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *FHRPGroup) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *FHRPGroup) GetDisplay() string` @@ -92,20 +152,20 @@ SetDisplay sets Display field to given value. ### GetProtocol -`func (o *FHRPGroup) GetProtocol() FHRPGroupProtocol` +`func (o *FHRPGroup) GetProtocol() BriefFHRPGroupProtocol` GetProtocol returns the Protocol field if non-nil, zero value otherwise. ### GetProtocolOk -`func (o *FHRPGroup) GetProtocolOk() (*FHRPGroupProtocol, bool)` +`func (o *FHRPGroup) GetProtocolOk() (*BriefFHRPGroupProtocol, bool)` GetProtocolOk returns a tuple with the Protocol field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetProtocol -`func (o *FHRPGroup) SetProtocol(v FHRPGroupProtocol)` +`func (o *FHRPGroup) SetProtocol(v BriefFHRPGroupProtocol)` SetProtocol sets Protocol field to given value. @@ -130,6 +190,56 @@ and a boolean to check if the value has been set. SetGroupId sets GroupId field to given value. +### GetAuthType + +`func (o *FHRPGroup) GetAuthType() AuthenticationType2` + +GetAuthType returns the AuthType field if non-nil, zero value otherwise. + +### GetAuthTypeOk + +`func (o *FHRPGroup) GetAuthTypeOk() (*AuthenticationType2, bool)` + +GetAuthTypeOk returns a tuple with the AuthType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAuthType + +`func (o *FHRPGroup) SetAuthType(v AuthenticationType2)` + +SetAuthType sets AuthType field to given value. + +### HasAuthType + +`func (o *FHRPGroup) HasAuthType() bool` + +HasAuthType returns a boolean if a field has been set. + +### GetAuthKey + +`func (o *FHRPGroup) GetAuthKey() string` + +GetAuthKey returns the AuthKey field if non-nil, zero value otherwise. + +### GetAuthKeyOk + +`func (o *FHRPGroup) GetAuthKeyOk() (*string, bool)` + +GetAuthKeyOk returns a tuple with the AuthKey field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAuthKey + +`func (o *FHRPGroup) SetAuthKey(v string)` + +SetAuthKey sets AuthKey field to given value. + +### HasAuthKey + +`func (o *FHRPGroup) HasAuthKey() bool` + +HasAuthKey returns a boolean if a field has been set. + ### GetDescription `func (o *FHRPGroup) GetDescription() string` @@ -155,6 +265,161 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetComments + +`func (o *FHRPGroup) GetComments() string` + +GetComments returns the Comments field if non-nil, zero value otherwise. + +### GetCommentsOk + +`func (o *FHRPGroup) GetCommentsOk() (*string, bool)` + +GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComments + +`func (o *FHRPGroup) SetComments(v string)` + +SetComments sets Comments field to given value. + +### HasComments + +`func (o *FHRPGroup) HasComments() bool` + +HasComments returns a boolean if a field has been set. + +### GetTags + +`func (o *FHRPGroup) GetTags() []NestedTag` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *FHRPGroup) GetTagsOk() (*[]NestedTag, 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 *FHRPGroup) SetTags(v []NestedTag)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *FHRPGroup) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *FHRPGroup) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *FHRPGroup) 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 *FHRPGroup) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *FHRPGroup) HasCustomFields() bool` + +HasCustomFields returns a boolean if a field has been set. + +### GetCreated + +`func (o *FHRPGroup) GetCreated() time.Time` + +GetCreated returns the Created field if non-nil, zero value otherwise. + +### GetCreatedOk + +`func (o *FHRPGroup) 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 *FHRPGroup) SetCreated(v time.Time)` + +SetCreated sets Created field to given value. + + +### SetCreatedNil + +`func (o *FHRPGroup) SetCreatedNil(b bool)` + + SetCreatedNil sets the value for Created to be an explicit nil + +### UnsetCreated +`func (o *FHRPGroup) UnsetCreated()` + +UnsetCreated ensures that no value is present for Created, not even an explicit nil +### GetLastUpdated + +`func (o *FHRPGroup) GetLastUpdated() time.Time` + +GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise. + +### GetLastUpdatedOk + +`func (o *FHRPGroup) 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 *FHRPGroup) SetLastUpdated(v time.Time)` + +SetLastUpdated sets LastUpdated field to given value. + + +### SetLastUpdatedNil + +`func (o *FHRPGroup) SetLastUpdatedNil(b bool)` + + SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil + +### UnsetLastUpdated +`func (o *FHRPGroup) UnsetLastUpdated()` + +UnsetLastUpdated ensures that no value is present for LastUpdated, not even an explicit nil +### GetIpAddresses + +`func (o *FHRPGroup) GetIpAddresses() []BriefIPAddress` + +GetIpAddresses returns the IpAddresses field if non-nil, zero value otherwise. + +### GetIpAddressesOk + +`func (o *FHRPGroup) GetIpAddressesOk() (*[]BriefIPAddress, bool)` + +GetIpAddressesOk returns a tuple with the IpAddresses field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIpAddresses + +`func (o *FHRPGroup) SetIpAddresses(v []BriefIPAddress)` + +SetIpAddresses sets IpAddresses 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/FHRPGroupAssignment.md b/docs/FHRPGroupAssignment.md index c6fa9037f..c12dfa473 100644 --- a/docs/FHRPGroupAssignment.md +++ b/docs/FHRPGroupAssignment.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] **Display** | **string** | | [readonly] -**Group** | [**FHRPGroup**](FHRPGroup.md) | | +**Group** | [**BriefFHRPGroup**](BriefFHRPGroup.md) | | **InterfaceType** | **string** | | **InterfaceId** | **int64** | | **Interface** | **interface{}** | | [readonly] @@ -19,7 +19,7 @@ Name | Type | Description | Notes ### NewFHRPGroupAssignment -`func NewFHRPGroupAssignment(id int32, url string, display string, group FHRPGroup, interfaceType string, interfaceId int64, interface_ interface{}, priority int32, created NullableTime, lastUpdated NullableTime, ) *FHRPGroupAssignment` +`func NewFHRPGroupAssignment(id int32, url string, display string, group BriefFHRPGroup, interfaceType string, interfaceId int64, interface_ interface{}, priority int32, created NullableTime, lastUpdated NullableTime, ) *FHRPGroupAssignment` NewFHRPGroupAssignment instantiates a new FHRPGroupAssignment object This constructor will assign default values to properties that have it defined, @@ -96,20 +96,20 @@ SetDisplay sets Display field to given value. ### GetGroup -`func (o *FHRPGroupAssignment) GetGroup() FHRPGroup` +`func (o *FHRPGroupAssignment) GetGroup() BriefFHRPGroup` GetGroup returns the Group field if non-nil, zero value otherwise. ### GetGroupOk -`func (o *FHRPGroupAssignment) GetGroupOk() (*FHRPGroup, bool)` +`func (o *FHRPGroupAssignment) GetGroupOk() (*BriefFHRPGroup, bool)` GetGroupOk returns a tuple with the Group field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetGroup -`func (o *FHRPGroupAssignment) SetGroup(v FHRPGroup)` +`func (o *FHRPGroupAssignment) SetGroup(v BriefFHRPGroup)` SetGroup sets Group field to given value. diff --git a/docs/FHRPGroupAssignmentRequest.md b/docs/FHRPGroupAssignmentRequest.md index b589eac9d..89a52663c 100644 --- a/docs/FHRPGroupAssignmentRequest.md +++ b/docs/FHRPGroupAssignmentRequest.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Group** | [**FHRPGroupRequest**](FHRPGroupRequest.md) | | +**Group** | [**BriefFHRPGroupRequest**](BriefFHRPGroupRequest.md) | | **InterfaceType** | **string** | | **InterfaceId** | **int64** | | **Priority** | **int32** | | @@ -13,7 +13,7 @@ Name | Type | Description | Notes ### NewFHRPGroupAssignmentRequest -`func NewFHRPGroupAssignmentRequest(group FHRPGroupRequest, interfaceType string, interfaceId int64, priority int32, ) *FHRPGroupAssignmentRequest` +`func NewFHRPGroupAssignmentRequest(group BriefFHRPGroupRequest, interfaceType string, interfaceId int64, priority int32, ) *FHRPGroupAssignmentRequest` NewFHRPGroupAssignmentRequest instantiates a new FHRPGroupAssignmentRequest object This constructor will assign default values to properties that have it defined, @@ -30,20 +30,20 @@ but it doesn't guarantee that properties required by API are set ### GetGroup -`func (o *FHRPGroupAssignmentRequest) GetGroup() FHRPGroupRequest` +`func (o *FHRPGroupAssignmentRequest) GetGroup() BriefFHRPGroupRequest` GetGroup returns the Group field if non-nil, zero value otherwise. ### GetGroupOk -`func (o *FHRPGroupAssignmentRequest) GetGroupOk() (*FHRPGroupRequest, bool)` +`func (o *FHRPGroupAssignmentRequest) GetGroupOk() (*BriefFHRPGroupRequest, bool)` GetGroupOk returns a tuple with the Group field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetGroup -`func (o *FHRPGroupAssignmentRequest) SetGroup(v FHRPGroupRequest)` +`func (o *FHRPGroupAssignmentRequest) SetGroup(v BriefFHRPGroupRequest)` SetGroup sets Group field to given value. diff --git a/docs/FHRPGroupRequest.md b/docs/FHRPGroupRequest.md index f7572c47f..71db77021 100644 --- a/docs/FHRPGroupRequest.md +++ b/docs/FHRPGroupRequest.md @@ -4,15 +4,21 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Protocol** | [**FHRPGroupProtocol**](FHRPGroupProtocol.md) | | +**Name** | Pointer to **string** | | [optional] +**Protocol** | [**BriefFHRPGroupProtocol**](BriefFHRPGroupProtocol.md) | | **GroupId** | **int32** | | +**AuthType** | Pointer to [**AuthenticationType2**](AuthenticationType2.md) | | [optional] +**AuthKey** | Pointer to **string** | | [optional] **Description** | Pointer to **string** | | [optional] +**Comments** | Pointer to **string** | | [optional] +**Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] ## Methods ### NewFHRPGroupRequest -`func NewFHRPGroupRequest(protocol FHRPGroupProtocol, groupId int32, ) *FHRPGroupRequest` +`func NewFHRPGroupRequest(protocol BriefFHRPGroupProtocol, groupId int32, ) *FHRPGroupRequest` NewFHRPGroupRequest instantiates a new FHRPGroupRequest object This constructor will assign default values to properties that have it defined, @@ -27,22 +33,47 @@ NewFHRPGroupRequestWithDefaults instantiates a new FHRPGroupRequest object This 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 *FHRPGroupRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *FHRPGroupRequest) 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 *FHRPGroupRequest) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *FHRPGroupRequest) HasName() bool` + +HasName returns a boolean if a field has been set. + ### GetProtocol -`func (o *FHRPGroupRequest) GetProtocol() FHRPGroupProtocol` +`func (o *FHRPGroupRequest) GetProtocol() BriefFHRPGroupProtocol` GetProtocol returns the Protocol field if non-nil, zero value otherwise. ### GetProtocolOk -`func (o *FHRPGroupRequest) GetProtocolOk() (*FHRPGroupProtocol, bool)` +`func (o *FHRPGroupRequest) GetProtocolOk() (*BriefFHRPGroupProtocol, bool)` GetProtocolOk returns a tuple with the Protocol field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetProtocol -`func (o *FHRPGroupRequest) SetProtocol(v FHRPGroupProtocol)` +`func (o *FHRPGroupRequest) SetProtocol(v BriefFHRPGroupProtocol)` SetProtocol sets Protocol field to given value. @@ -67,6 +98,56 @@ and a boolean to check if the value has been set. SetGroupId sets GroupId field to given value. +### GetAuthType + +`func (o *FHRPGroupRequest) GetAuthType() AuthenticationType2` + +GetAuthType returns the AuthType field if non-nil, zero value otherwise. + +### GetAuthTypeOk + +`func (o *FHRPGroupRequest) GetAuthTypeOk() (*AuthenticationType2, bool)` + +GetAuthTypeOk returns a tuple with the AuthType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAuthType + +`func (o *FHRPGroupRequest) SetAuthType(v AuthenticationType2)` + +SetAuthType sets AuthType field to given value. + +### HasAuthType + +`func (o *FHRPGroupRequest) HasAuthType() bool` + +HasAuthType returns a boolean if a field has been set. + +### GetAuthKey + +`func (o *FHRPGroupRequest) GetAuthKey() string` + +GetAuthKey returns the AuthKey field if non-nil, zero value otherwise. + +### GetAuthKeyOk + +`func (o *FHRPGroupRequest) GetAuthKeyOk() (*string, bool)` + +GetAuthKeyOk returns a tuple with the AuthKey field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAuthKey + +`func (o *FHRPGroupRequest) SetAuthKey(v string)` + +SetAuthKey sets AuthKey field to given value. + +### HasAuthKey + +`func (o *FHRPGroupRequest) HasAuthKey() bool` + +HasAuthKey returns a boolean if a field has been set. + ### GetDescription `func (o *FHRPGroupRequest) GetDescription() string` @@ -92,6 +173,81 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetComments + +`func (o *FHRPGroupRequest) GetComments() string` + +GetComments returns the Comments field if non-nil, zero value otherwise. + +### GetCommentsOk + +`func (o *FHRPGroupRequest) GetCommentsOk() (*string, bool)` + +GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComments + +`func (o *FHRPGroupRequest) SetComments(v string)` + +SetComments sets Comments field to given value. + +### HasComments + +`func (o *FHRPGroupRequest) HasComments() bool` + +HasComments returns a boolean if a field has been set. + +### GetTags + +`func (o *FHRPGroupRequest) GetTags() []NestedTagRequest` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *FHRPGroupRequest) GetTagsOk() (*[]NestedTagRequest, 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 *FHRPGroupRequest) SetTags(v []NestedTagRequest)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *FHRPGroupRequest) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *FHRPGroupRequest) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *FHRPGroupRequest) 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 *FHRPGroupRequest) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *FHRPGroupRequest) 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/FrontPort.md b/docs/FrontPort.md index 5cba25bc8..8718337ad 100644 --- a/docs/FrontPort.md +++ b/docs/FrontPort.md @@ -6,9 +6,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] -**Device** | [**Device**](Device.md) | | -**Module** | Pointer to [**NullableModule**](Module.md) | | [optional] +**Device** | [**BriefDevice**](BriefDevice.md) | | +**Module** | Pointer to [**NullableBriefModule**](BriefModule.md) | | [optional] **Name** | **string** | | **Label** | Pointer to **string** | Physical label | [optional] **Type** | [**FrontPortType**](FrontPortType.md) | | @@ -17,10 +18,10 @@ Name | Type | Description | Notes **RearPortPosition** | Pointer to **int32** | Mapped position on corresponding rear port | [optional] [default to 1] **Description** | Pointer to **string** | | [optional] **MarkConnected** | Pointer to **bool** | Treat as if a cable is connected | [optional] -**Cable** | [**NullableCable**](Cable.md) | | [readonly] +**Cable** | [**NullableBriefCable**](BriefCable.md) | | [readonly] **CableEnd** | **string** | | [readonly] **LinkPeers** | **[]interface{}** | | [readonly] -**LinkPeersType** | **string** | Return the type of the peer link terminations, or None. | [readonly] +**LinkPeersType** | **NullableString** | Return the type of the peer link terminations, or None. | [readonly] **Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] **Created** | **NullableTime** | | [readonly] @@ -31,7 +32,7 @@ Name | Type | Description | Notes ### NewFrontPort -`func NewFrontPort(id int32, url string, display string, device Device, name string, type_ FrontPortType, rearPort FrontPortRearPort, cable NullableCable, cableEnd string, linkPeers []interface{}, linkPeersType string, created NullableTime, lastUpdated NullableTime, occupied bool, ) *FrontPort` +`func NewFrontPort(id int32, url string, display string, device BriefDevice, name string, type_ FrontPortType, rearPort FrontPortRearPort, cable NullableBriefCable, cableEnd string, linkPeers []interface{}, linkPeersType NullableString, created NullableTime, lastUpdated NullableTime, occupied bool, ) *FrontPort` NewFrontPort instantiates a new FrontPort object This constructor will assign default values to properties that have it defined, @@ -86,6 +87,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *FrontPort) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *FrontPort) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *FrontPort) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *FrontPort) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *FrontPort) GetDisplay() string` @@ -108,40 +134,40 @@ SetDisplay sets Display field to given value. ### GetDevice -`func (o *FrontPort) GetDevice() Device` +`func (o *FrontPort) GetDevice() BriefDevice` GetDevice returns the Device field if non-nil, zero value otherwise. ### GetDeviceOk -`func (o *FrontPort) GetDeviceOk() (*Device, bool)` +`func (o *FrontPort) GetDeviceOk() (*BriefDevice, 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 *FrontPort) SetDevice(v Device)` +`func (o *FrontPort) SetDevice(v BriefDevice)` SetDevice sets Device field to given value. ### GetModule -`func (o *FrontPort) GetModule() Module` +`func (o *FrontPort) GetModule() BriefModule` GetModule returns the Module field if non-nil, zero value otherwise. ### GetModuleOk -`func (o *FrontPort) GetModuleOk() (*Module, bool)` +`func (o *FrontPort) GetModuleOk() (*BriefModule, bool)` GetModuleOk returns a tuple with the Module field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetModule -`func (o *FrontPort) SetModule(v Module)` +`func (o *FrontPort) SetModule(v BriefModule)` SetModule sets Module field to given value. @@ -348,20 +374,20 @@ HasMarkConnected returns a boolean if a field has been set. ### GetCable -`func (o *FrontPort) GetCable() Cable` +`func (o *FrontPort) GetCable() BriefCable` GetCable returns the Cable field if non-nil, zero value otherwise. ### GetCableOk -`func (o *FrontPort) GetCableOk() (*Cable, bool)` +`func (o *FrontPort) GetCableOk() (*BriefCable, bool)` GetCableOk returns a tuple with the Cable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCable -`func (o *FrontPort) SetCable(v Cable)` +`func (o *FrontPort) SetCable(v BriefCable)` SetCable sets Cable field to given value. @@ -436,6 +462,16 @@ and a boolean to check if the value has been set. SetLinkPeersType sets LinkPeersType field to given value. +### SetLinkPeersTypeNil + +`func (o *FrontPort) SetLinkPeersTypeNil(b bool)` + + SetLinkPeersTypeNil sets the value for LinkPeersType to be an explicit nil + +### UnsetLinkPeersType +`func (o *FrontPort) UnsetLinkPeersType()` + +UnsetLinkPeersType ensures that no value is present for LinkPeersType, not even an explicit nil ### GetTags `func (o *FrontPort) GetTags() []NestedTag` diff --git a/docs/FrontPortRearPort.md b/docs/FrontPortRearPort.md index 59db5e9c0..257054d3b 100644 --- a/docs/FrontPortRearPort.md +++ b/docs/FrontPortRearPort.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Name** | **string** | | **Label** | Pointer to **string** | Physical label | [optional] @@ -70,6 +71,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *FrontPortRearPort) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *FrontPortRearPort) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *FrontPortRearPort) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *FrontPortRearPort) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *FrontPortRearPort) GetDisplay() string` diff --git a/docs/FrontPortRequest.md b/docs/FrontPortRequest.md index 91c8194b7..bd9fb2cd9 100644 --- a/docs/FrontPortRequest.md +++ b/docs/FrontPortRequest.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Device** | [**DeviceRequest**](DeviceRequest.md) | | -**Module** | Pointer to [**NullableModuleRequest**](ModuleRequest.md) | | [optional] +**Device** | [**BriefDeviceRequest**](BriefDeviceRequest.md) | | +**Module** | Pointer to [**NullableBriefModuleRequest**](BriefModuleRequest.md) | | [optional] **Name** | **string** | | **Label** | Pointer to **string** | Physical label | [optional] **Type** | [**FrontPortTypeValue**](FrontPortTypeValue.md) | | @@ -21,7 +21,7 @@ Name | Type | Description | Notes ### NewFrontPortRequest -`func NewFrontPortRequest(device DeviceRequest, name string, type_ FrontPortTypeValue, rearPort FrontPortRearPortRequest, ) *FrontPortRequest` +`func NewFrontPortRequest(device BriefDeviceRequest, name string, type_ FrontPortTypeValue, rearPort FrontPortRearPortRequest, ) *FrontPortRequest` NewFrontPortRequest instantiates a new FrontPortRequest object This constructor will assign default values to properties that have it defined, @@ -38,40 +38,40 @@ but it doesn't guarantee that properties required by API are set ### GetDevice -`func (o *FrontPortRequest) GetDevice() DeviceRequest` +`func (o *FrontPortRequest) GetDevice() BriefDeviceRequest` GetDevice returns the Device field if non-nil, zero value otherwise. ### GetDeviceOk -`func (o *FrontPortRequest) GetDeviceOk() (*DeviceRequest, bool)` +`func (o *FrontPortRequest) GetDeviceOk() (*BriefDeviceRequest, 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 *FrontPortRequest) SetDevice(v DeviceRequest)` +`func (o *FrontPortRequest) SetDevice(v BriefDeviceRequest)` SetDevice sets Device field to given value. ### GetModule -`func (o *FrontPortRequest) GetModule() ModuleRequest` +`func (o *FrontPortRequest) GetModule() BriefModuleRequest` GetModule returns the Module field if non-nil, zero value otherwise. ### GetModuleOk -`func (o *FrontPortRequest) GetModuleOk() (*ModuleRequest, bool)` +`func (o *FrontPortRequest) GetModuleOk() (*BriefModuleRequest, bool)` GetModuleOk returns a tuple with the Module field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetModule -`func (o *FrontPortRequest) SetModule(v ModuleRequest)` +`func (o *FrontPortRequest) SetModule(v BriefModuleRequest)` SetModule sets Module field to given value. diff --git a/docs/FrontPortTemplate.md b/docs/FrontPortTemplate.md index 31aa9d758..ceb079508 100644 --- a/docs/FrontPortTemplate.md +++ b/docs/FrontPortTemplate.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] **Display** | **string** | | [readonly] -**DeviceType** | Pointer to [**NullableDeviceType**](DeviceType.md) | | [optional] -**ModuleType** | Pointer to [**NullableModuleType**](ModuleType.md) | | [optional] +**DeviceType** | Pointer to [**NullableBriefDeviceType**](BriefDeviceType.md) | | [optional] +**ModuleType** | Pointer to [**NullableBriefModuleType**](BriefModuleType.md) | | [optional] **Name** | **string** | {module} is accepted as a substitution for the module bay position when attached to a module type. | **Label** | Pointer to **string** | Physical label | [optional] **Type** | [**FrontPortType**](FrontPortType.md) | | **Color** | Pointer to **string** | | [optional] -**RearPort** | [**RearPortTemplate**](RearPortTemplate.md) | | +**RearPort** | [**BriefRearPortTemplate**](BriefRearPortTemplate.md) | | **RearPortPosition** | Pointer to **int32** | | [optional] [default to 1] **Description** | Pointer to **string** | | [optional] **Created** | **NullableTime** | | [readonly] @@ -23,7 +23,7 @@ Name | Type | Description | Notes ### NewFrontPortTemplate -`func NewFrontPortTemplate(id int32, url string, display string, name string, type_ FrontPortType, rearPort RearPortTemplate, created NullableTime, lastUpdated NullableTime, ) *FrontPortTemplate` +`func NewFrontPortTemplate(id int32, url string, display string, name string, type_ FrontPortType, rearPort BriefRearPortTemplate, created NullableTime, lastUpdated NullableTime, ) *FrontPortTemplate` NewFrontPortTemplate instantiates a new FrontPortTemplate object This constructor will assign default values to properties that have it defined, @@ -100,20 +100,20 @@ SetDisplay sets Display field to given value. ### GetDeviceType -`func (o *FrontPortTemplate) GetDeviceType() DeviceType` +`func (o *FrontPortTemplate) GetDeviceType() BriefDeviceType` GetDeviceType returns the DeviceType field if non-nil, zero value otherwise. ### GetDeviceTypeOk -`func (o *FrontPortTemplate) GetDeviceTypeOk() (*DeviceType, bool)` +`func (o *FrontPortTemplate) GetDeviceTypeOk() (*BriefDeviceType, bool)` GetDeviceTypeOk returns a tuple with the DeviceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDeviceType -`func (o *FrontPortTemplate) SetDeviceType(v DeviceType)` +`func (o *FrontPortTemplate) SetDeviceType(v BriefDeviceType)` SetDeviceType sets DeviceType field to given value. @@ -135,20 +135,20 @@ HasDeviceType returns a boolean if a field has been set. UnsetDeviceType ensures that no value is present for DeviceType, not even an explicit nil ### GetModuleType -`func (o *FrontPortTemplate) GetModuleType() ModuleType` +`func (o *FrontPortTemplate) GetModuleType() BriefModuleType` GetModuleType returns the ModuleType field if non-nil, zero value otherwise. ### GetModuleTypeOk -`func (o *FrontPortTemplate) GetModuleTypeOk() (*ModuleType, bool)` +`func (o *FrontPortTemplate) GetModuleTypeOk() (*BriefModuleType, bool)` GetModuleTypeOk returns a tuple with the ModuleType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetModuleType -`func (o *FrontPortTemplate) SetModuleType(v ModuleType)` +`func (o *FrontPortTemplate) SetModuleType(v BriefModuleType)` SetModuleType sets ModuleType field to given value. @@ -260,20 +260,20 @@ HasColor returns a boolean if a field has been set. ### GetRearPort -`func (o *FrontPortTemplate) GetRearPort() RearPortTemplate` +`func (o *FrontPortTemplate) GetRearPort() BriefRearPortTemplate` GetRearPort returns the RearPort field if non-nil, zero value otherwise. ### GetRearPortOk -`func (o *FrontPortTemplate) GetRearPortOk() (*RearPortTemplate, bool)` +`func (o *FrontPortTemplate) GetRearPortOk() (*BriefRearPortTemplate, bool)` GetRearPortOk returns a tuple with the RearPort field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRearPort -`func (o *FrontPortTemplate) SetRearPort(v RearPortTemplate)` +`func (o *FrontPortTemplate) SetRearPort(v BriefRearPortTemplate)` SetRearPort sets RearPort field to given value. diff --git a/docs/FrontPortTemplateRequest.md b/docs/FrontPortTemplateRequest.md index 08dc1ef79..8e27f7687 100644 --- a/docs/FrontPortTemplateRequest.md +++ b/docs/FrontPortTemplateRequest.md @@ -4,13 +4,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**DeviceType** | Pointer to [**NullableDeviceTypeRequest**](DeviceTypeRequest.md) | | [optional] -**ModuleType** | Pointer to [**NullableModuleTypeRequest**](ModuleTypeRequest.md) | | [optional] +**DeviceType** | Pointer to [**NullableBriefDeviceTypeRequest**](BriefDeviceTypeRequest.md) | | [optional] +**ModuleType** | Pointer to [**NullableBriefModuleTypeRequest**](BriefModuleTypeRequest.md) | | [optional] **Name** | **string** | {module} is accepted as a substitution for the module bay position when attached to a module type. | **Label** | Pointer to **string** | Physical label | [optional] **Type** | [**FrontPortTypeValue**](FrontPortTypeValue.md) | | **Color** | Pointer to **string** | | [optional] -**RearPort** | [**RearPortTemplateRequest**](RearPortTemplateRequest.md) | | +**RearPort** | [**BriefRearPortTemplateRequest**](BriefRearPortTemplateRequest.md) | | **RearPortPosition** | Pointer to **int32** | | [optional] [default to 1] **Description** | Pointer to **string** | | [optional] @@ -18,7 +18,7 @@ Name | Type | Description | Notes ### NewFrontPortTemplateRequest -`func NewFrontPortTemplateRequest(name string, type_ FrontPortTypeValue, rearPort RearPortTemplateRequest, ) *FrontPortTemplateRequest` +`func NewFrontPortTemplateRequest(name string, type_ FrontPortTypeValue, rearPort BriefRearPortTemplateRequest, ) *FrontPortTemplateRequest` NewFrontPortTemplateRequest instantiates a new FrontPortTemplateRequest object This constructor will assign default values to properties that have it defined, @@ -35,20 +35,20 @@ but it doesn't guarantee that properties required by API are set ### GetDeviceType -`func (o *FrontPortTemplateRequest) GetDeviceType() DeviceTypeRequest` +`func (o *FrontPortTemplateRequest) GetDeviceType() BriefDeviceTypeRequest` GetDeviceType returns the DeviceType field if non-nil, zero value otherwise. ### GetDeviceTypeOk -`func (o *FrontPortTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool)` +`func (o *FrontPortTemplateRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool)` GetDeviceTypeOk returns a tuple with the DeviceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDeviceType -`func (o *FrontPortTemplateRequest) SetDeviceType(v DeviceTypeRequest)` +`func (o *FrontPortTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest)` SetDeviceType sets DeviceType field to given value. @@ -70,20 +70,20 @@ HasDeviceType returns a boolean if a field has been set. UnsetDeviceType ensures that no value is present for DeviceType, not even an explicit nil ### GetModuleType -`func (o *FrontPortTemplateRequest) GetModuleType() ModuleTypeRequest` +`func (o *FrontPortTemplateRequest) GetModuleType() BriefModuleTypeRequest` GetModuleType returns the ModuleType field if non-nil, zero value otherwise. ### GetModuleTypeOk -`func (o *FrontPortTemplateRequest) GetModuleTypeOk() (*ModuleTypeRequest, bool)` +`func (o *FrontPortTemplateRequest) GetModuleTypeOk() (*BriefModuleTypeRequest, bool)` GetModuleTypeOk returns a tuple with the ModuleType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetModuleType -`func (o *FrontPortTemplateRequest) SetModuleType(v ModuleTypeRequest)` +`func (o *FrontPortTemplateRequest) SetModuleType(v BriefModuleTypeRequest)` SetModuleType sets ModuleType field to given value. @@ -195,20 +195,20 @@ HasColor returns a boolean if a field has been set. ### GetRearPort -`func (o *FrontPortTemplateRequest) GetRearPort() RearPortTemplateRequest` +`func (o *FrontPortTemplateRequest) GetRearPort() BriefRearPortTemplateRequest` GetRearPort returns the RearPort field if non-nil, zero value otherwise. ### GetRearPortOk -`func (o *FrontPortTemplateRequest) GetRearPortOk() (*RearPortTemplateRequest, bool)` +`func (o *FrontPortTemplateRequest) GetRearPortOk() (*BriefRearPortTemplateRequest, bool)` GetRearPortOk returns a tuple with the RearPort field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRearPort -`func (o *FrontPortTemplateRequest) SetRearPort(v RearPortTemplateRequest)` +`func (o *FrontPortTemplateRequest) SetRearPort(v BriefRearPortTemplateRequest)` SetRearPort sets RearPort field to given value. diff --git a/docs/FrontPortTypeLabel.md b/docs/FrontPortTypeLabel.md index 767d7d0ef..0024e2bae 100644 --- a/docs/FrontPortTypeLabel.md +++ b/docs/FrontPortTypeLabel.md @@ -95,6 +95,22 @@ * `SPLICE` (value: `"Splice"`) +* `USB_TYPE_A` (value: `"USB Type A"`) + +* `USB_TYPE_B` (value: `"USB Type B"`) + +* `USB_TYPE_C` (value: `"USB Type 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"`) diff --git a/docs/FrontPortTypeValue.md b/docs/FrontPortTypeValue.md index c6ac18122..6265dfe24 100644 --- a/docs/FrontPortTypeValue.md +++ b/docs/FrontPortTypeValue.md @@ -95,6 +95,22 @@ * `SPLICE` (value: `"splice"`) +* `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"`) diff --git a/docs/GenericObject.md b/docs/GenericObject.md new file mode 100644 index 000000000..b409766a4 --- /dev/null +++ b/docs/GenericObject.md @@ -0,0 +1,103 @@ +# GenericObject + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ObjectType** | **string** | | +**ObjectId** | **int32** | | +**Object** | **interface{}** | | [readonly] + +## Methods + +### NewGenericObject + +`func NewGenericObject(objectType string, objectId int32, object interface{}, ) *GenericObject` + +NewGenericObject instantiates a new GenericObject object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGenericObjectWithDefaults + +`func NewGenericObjectWithDefaults() *GenericObject` + +NewGenericObjectWithDefaults instantiates a new GenericObject object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetObjectType + +`func (o *GenericObject) GetObjectType() string` + +GetObjectType returns the ObjectType field if non-nil, zero value otherwise. + +### GetObjectTypeOk + +`func (o *GenericObject) 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 *GenericObject) SetObjectType(v string)` + +SetObjectType sets ObjectType field to given value. + + +### GetObjectId + +`func (o *GenericObject) GetObjectId() int32` + +GetObjectId returns the ObjectId field if non-nil, zero value otherwise. + +### GetObjectIdOk + +`func (o *GenericObject) GetObjectIdOk() (*int32, bool)` + +GetObjectIdOk returns a tuple with the ObjectId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetObjectId + +`func (o *GenericObject) SetObjectId(v int32)` + +SetObjectId sets ObjectId field to given value. + + +### GetObject + +`func (o *GenericObject) GetObject() interface{}` + +GetObject returns the Object field if non-nil, zero value otherwise. + +### GetObjectOk + +`func (o *GenericObject) GetObjectOk() (*interface{}, bool)` + +GetObjectOk returns a tuple with the Object field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetObject + +`func (o *GenericObject) SetObject(v interface{})` + +SetObject sets Object field to given value. + + +### SetObjectNil + +`func (o *GenericObject) SetObjectNil(b bool)` + + SetObjectNil sets the value for Object to be an explicit nil + +### UnsetObject +`func (o *GenericObject) UnsetObject()` + +UnsetObject ensures that no value is present for Object, 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/Group.md b/docs/Group.md index c9ac7b587..724a55fa9 100644 --- a/docs/Group.md +++ b/docs/Group.md @@ -6,17 +6,18 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Name** | **string** | | **Description** | Pointer to **string** | | [optional] **Permissions** | Pointer to [**[]ObjectPermission**](ObjectPermission.md) | | [optional] -**UserCount** | **int32** | | [readonly] +**UserCount** | Pointer to **int32** | | [optional] [readonly] ## Methods ### NewGroup -`func NewGroup(id int32, url string, display string, name string, userCount int32, ) *Group` +`func NewGroup(id int32, url string, display string, name string, ) *Group` NewGroup instantiates a new Group object This constructor will assign default values to properties that have it defined, @@ -71,6 +72,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *Group) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *Group) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *Group) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *Group) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *Group) GetDisplay() string` @@ -180,6 +206,11 @@ and a boolean to check if the value has been set. SetUserCount sets UserCount field to given value. +### HasUserCount + +`func (o *Group) HasUserCount() bool` + +HasUserCount 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/IKEPolicy.md b/docs/IKEPolicy.md index 91c8a8e58..46b19ea8e 100644 --- a/docs/IKEPolicy.md +++ b/docs/IKEPolicy.md @@ -6,11 +6,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Name** | **string** | | **Description** | Pointer to **string** | | [optional] **Version** | [**IKEPolicyVersion**](IKEPolicyVersion.md) | | -**Mode** | [**IKEPolicyMode**](IKEPolicyMode.md) | | +**Mode** | Pointer to [**IKEPolicyMode**](IKEPolicyMode.md) | | [optional] **Proposals** | Pointer to [**[]IKEProposal**](IKEProposal.md) | | [optional] **PresharedKey** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] @@ -23,7 +24,7 @@ Name | Type | Description | Notes ### NewIKEPolicy -`func NewIKEPolicy(id int32, url string, display string, name string, version IKEPolicyVersion, mode IKEPolicyMode, created NullableTime, lastUpdated NullableTime, ) *IKEPolicy` +`func NewIKEPolicy(id int32, url string, display string, name string, version IKEPolicyVersion, created NullableTime, lastUpdated NullableTime, ) *IKEPolicy` NewIKEPolicy instantiates a new IKEPolicy object This constructor will assign default values to properties that have it defined, @@ -78,6 +79,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *IKEPolicy) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *IKEPolicy) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *IKEPolicy) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *IKEPolicy) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *IKEPolicy) GetDisplay() string` @@ -182,6 +208,11 @@ and a boolean to check if the value has been set. SetMode sets Mode field to given value. +### HasMode + +`func (o *IKEPolicy) HasMode() bool` + +HasMode returns a boolean if a field has been set. ### GetProposals diff --git a/docs/IKEPolicyRequest.md b/docs/IKEPolicyRequest.md index 9a18d7f6d..919cb92b9 100644 --- a/docs/IKEPolicyRequest.md +++ b/docs/IKEPolicyRequest.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **Name** | **string** | | **Description** | Pointer to **string** | | [optional] **Version** | [**IKEPolicyVersionValue**](IKEPolicyVersionValue.md) | | -**Mode** | [**IKEPolicyModeValue**](IKEPolicyModeValue.md) | | +**Mode** | Pointer to [**IKEPolicyModeValue**](IKEPolicyModeValue.md) | | [optional] **Proposals** | Pointer to **[]int32** | | [optional] **PresharedKey** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] @@ -18,7 +18,7 @@ Name | Type | Description | Notes ### NewIKEPolicyRequest -`func NewIKEPolicyRequest(name string, version IKEPolicyVersionValue, mode IKEPolicyModeValue, ) *IKEPolicyRequest` +`func NewIKEPolicyRequest(name string, version IKEPolicyVersionValue, ) *IKEPolicyRequest` NewIKEPolicyRequest instantiates a new IKEPolicyRequest object This constructor will assign default values to properties that have it defined, @@ -117,6 +117,11 @@ and a boolean to check if the value has been set. SetMode sets Mode field to given value. +### HasMode + +`func (o *IKEPolicyRequest) HasMode() bool` + +HasMode returns a boolean if a field has been set. ### GetProposals diff --git a/docs/IKEProposal.md b/docs/IKEProposal.md index ee499984d..5d9e17d35 100644 --- a/docs/IKEProposal.md +++ b/docs/IKEProposal.md @@ -6,12 +6,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Name** | **string** | | **Description** | Pointer to **string** | | [optional] **AuthenticationMethod** | [**IKEProposalAuthenticationMethod**](IKEProposalAuthenticationMethod.md) | | **EncryptionAlgorithm** | [**IKEProposalEncryptionAlgorithm**](IKEProposalEncryptionAlgorithm.md) | | -**AuthenticationAlgorithm** | [**IKEProposalAuthenticationAlgorithm**](IKEProposalAuthenticationAlgorithm.md) | | +**AuthenticationAlgorithm** | Pointer to [**IKEProposalAuthenticationAlgorithm**](IKEProposalAuthenticationAlgorithm.md) | | [optional] **Group** | [**IKEProposalGroup**](IKEProposalGroup.md) | | **SaLifetime** | Pointer to **NullableInt32** | Security association lifetime (in seconds) | [optional] **Comments** | Pointer to **string** | | [optional] @@ -24,7 +25,7 @@ Name | Type | Description | Notes ### NewIKEProposal -`func NewIKEProposal(id int32, url string, display string, name string, authenticationMethod IKEProposalAuthenticationMethod, encryptionAlgorithm IKEProposalEncryptionAlgorithm, authenticationAlgorithm IKEProposalAuthenticationAlgorithm, group IKEProposalGroup, created NullableTime, lastUpdated NullableTime, ) *IKEProposal` +`func NewIKEProposal(id int32, url string, display string, name string, authenticationMethod IKEProposalAuthenticationMethod, encryptionAlgorithm IKEProposalEncryptionAlgorithm, group IKEProposalGroup, created NullableTime, lastUpdated NullableTime, ) *IKEProposal` NewIKEProposal instantiates a new IKEProposal object This constructor will assign default values to properties that have it defined, @@ -79,6 +80,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *IKEProposal) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *IKEProposal) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *IKEProposal) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *IKEProposal) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *IKEProposal) GetDisplay() string` @@ -203,6 +229,11 @@ and a boolean to check if the value has been set. SetAuthenticationAlgorithm sets AuthenticationAlgorithm field to given value. +### HasAuthenticationAlgorithm + +`func (o *IKEProposal) HasAuthenticationAlgorithm() bool` + +HasAuthenticationAlgorithm returns a boolean if a field has been set. ### GetGroup diff --git a/docs/IKEProposalRequest.md b/docs/IKEProposalRequest.md index d61d24fd8..a96502c8a 100644 --- a/docs/IKEProposalRequest.md +++ b/docs/IKEProposalRequest.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **Description** | Pointer to **string** | | [optional] **AuthenticationMethod** | [**IKEProposalAuthenticationMethodValue**](IKEProposalAuthenticationMethodValue.md) | | **EncryptionAlgorithm** | [**IKEProposalEncryptionAlgorithmValue**](IKEProposalEncryptionAlgorithmValue.md) | | -**AuthenticationAlgorithm** | [**IKEProposalAuthenticationAlgorithmValue**](IKEProposalAuthenticationAlgorithmValue.md) | | +**AuthenticationAlgorithm** | Pointer to [**IKEProposalAuthenticationAlgorithmValue**](IKEProposalAuthenticationAlgorithmValue.md) | | [optional] **Group** | [**IKEProposalGroupValue**](IKEProposalGroupValue.md) | | **SaLifetime** | Pointer to **NullableInt32** | Security association lifetime (in seconds) | [optional] **Comments** | Pointer to **string** | | [optional] @@ -19,7 +19,7 @@ Name | Type | Description | Notes ### NewIKEProposalRequest -`func NewIKEProposalRequest(name string, authenticationMethod IKEProposalAuthenticationMethodValue, encryptionAlgorithm IKEProposalEncryptionAlgorithmValue, authenticationAlgorithm IKEProposalAuthenticationAlgorithmValue, group IKEProposalGroupValue, ) *IKEProposalRequest` +`func NewIKEProposalRequest(name string, authenticationMethod IKEProposalAuthenticationMethodValue, encryptionAlgorithm IKEProposalEncryptionAlgorithmValue, group IKEProposalGroupValue, ) *IKEProposalRequest` NewIKEProposalRequest instantiates a new IKEProposalRequest object This constructor will assign default values to properties that have it defined, @@ -138,6 +138,11 @@ and a boolean to check if the value has been set. SetAuthenticationAlgorithm sets AuthenticationAlgorithm field to given value. +### HasAuthenticationAlgorithm + +`func (o *IKEProposalRequest) HasAuthenticationAlgorithm() bool` + +HasAuthenticationAlgorithm returns a boolean if a field has been set. ### GetGroup diff --git a/docs/IPAddress.md b/docs/IPAddress.md index ed004ef14..f48bf2e1b 100644 --- a/docs/IPAddress.md +++ b/docs/IPAddress.md @@ -6,16 +6,32 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Family** | [**AggregateFamily**](AggregateFamily.md) | | **Address** | **string** | | +**Vrf** | Pointer to [**NullableBriefVRF**](BriefVRF.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenant**](BriefTenant.md) | | [optional] +**Status** | Pointer to [**IPAddressStatus**](IPAddressStatus.md) | | [optional] +**Role** | Pointer to [**IPAddressRole**](IPAddressRole.md) | | [optional] +**AssignedObjectType** | Pointer to **NullableString** | | [optional] +**AssignedObjectId** | Pointer to **NullableInt64** | | [optional] +**AssignedObject** | **interface{}** | | [readonly] +**NatInside** | Pointer to [**NullableNestedIPAddress**](NestedIPAddress.md) | | [optional] +**NatOutside** | [**[]NestedIPAddress**](NestedIPAddress.md) | | [readonly] +**DnsName** | Pointer to **string** | Hostname or FQDN (not case-sensitive) | [optional] **Description** | Pointer to **string** | | [optional] +**Comments** | Pointer to **string** | | [optional] +**Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] +**Created** | **NullableTime** | | [readonly] +**LastUpdated** | **NullableTime** | | [readonly] ## Methods ### NewIPAddress -`func NewIPAddress(id int32, url string, display string, family AggregateFamily, address string, ) *IPAddress` +`func NewIPAddress(id int32, url string, display string, family AggregateFamily, address string, assignedObject interface{}, natOutside []NestedIPAddress, created NullableTime, lastUpdated NullableTime, ) *IPAddress` NewIPAddress instantiates a new IPAddress object This constructor will assign default values to properties that have it defined, @@ -70,6 +86,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *IPAddress) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *IPAddress) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *IPAddress) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *IPAddress) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *IPAddress) GetDisplay() string` @@ -130,6 +171,306 @@ and a boolean to check if the value has been set. SetAddress sets Address field to given value. +### GetVrf + +`func (o *IPAddress) GetVrf() BriefVRF` + +GetVrf returns the Vrf field if non-nil, zero value otherwise. + +### GetVrfOk + +`func (o *IPAddress) GetVrfOk() (*BriefVRF, bool)` + +GetVrfOk returns a tuple with the Vrf field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVrf + +`func (o *IPAddress) SetVrf(v BriefVRF)` + +SetVrf sets Vrf field to given value. + +### HasVrf + +`func (o *IPAddress) HasVrf() bool` + +HasVrf returns a boolean if a field has been set. + +### SetVrfNil + +`func (o *IPAddress) SetVrfNil(b bool)` + + SetVrfNil sets the value for Vrf to be an explicit nil + +### UnsetVrf +`func (o *IPAddress) UnsetVrf()` + +UnsetVrf ensures that no value is present for Vrf, not even an explicit nil +### GetTenant + +`func (o *IPAddress) GetTenant() BriefTenant` + +GetTenant returns the Tenant field if non-nil, zero value otherwise. + +### GetTenantOk + +`func (o *IPAddress) GetTenantOk() (*BriefTenant, 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 *IPAddress) SetTenant(v BriefTenant)` + +SetTenant sets Tenant field to given value. + +### HasTenant + +`func (o *IPAddress) HasTenant() bool` + +HasTenant returns a boolean if a field has been set. + +### SetTenantNil + +`func (o *IPAddress) SetTenantNil(b bool)` + + SetTenantNil sets the value for Tenant to be an explicit nil + +### UnsetTenant +`func (o *IPAddress) UnsetTenant()` + +UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +### GetStatus + +`func (o *IPAddress) GetStatus() IPAddressStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *IPAddress) GetStatusOk() (*IPAddressStatus, 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 *IPAddress) SetStatus(v IPAddressStatus)` + +SetStatus sets Status field to given value. + +### HasStatus + +`func (o *IPAddress) HasStatus() bool` + +HasStatus returns a boolean if a field has been set. + +### GetRole + +`func (o *IPAddress) GetRole() IPAddressRole` + +GetRole returns the Role field if non-nil, zero value otherwise. + +### GetRoleOk + +`func (o *IPAddress) GetRoleOk() (*IPAddressRole, 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 *IPAddress) SetRole(v IPAddressRole)` + +SetRole sets Role field to given value. + +### HasRole + +`func (o *IPAddress) HasRole() bool` + +HasRole returns a boolean if a field has been set. + +### GetAssignedObjectType + +`func (o *IPAddress) GetAssignedObjectType() string` + +GetAssignedObjectType returns the AssignedObjectType field if non-nil, zero value otherwise. + +### GetAssignedObjectTypeOk + +`func (o *IPAddress) GetAssignedObjectTypeOk() (*string, bool)` + +GetAssignedObjectTypeOk returns a tuple with the AssignedObjectType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAssignedObjectType + +`func (o *IPAddress) SetAssignedObjectType(v string)` + +SetAssignedObjectType sets AssignedObjectType field to given value. + +### HasAssignedObjectType + +`func (o *IPAddress) HasAssignedObjectType() bool` + +HasAssignedObjectType returns a boolean if a field has been set. + +### SetAssignedObjectTypeNil + +`func (o *IPAddress) SetAssignedObjectTypeNil(b bool)` + + SetAssignedObjectTypeNil sets the value for AssignedObjectType to be an explicit nil + +### UnsetAssignedObjectType +`func (o *IPAddress) UnsetAssignedObjectType()` + +UnsetAssignedObjectType ensures that no value is present for AssignedObjectType, not even an explicit nil +### GetAssignedObjectId + +`func (o *IPAddress) GetAssignedObjectId() int64` + +GetAssignedObjectId returns the AssignedObjectId field if non-nil, zero value otherwise. + +### GetAssignedObjectIdOk + +`func (o *IPAddress) GetAssignedObjectIdOk() (*int64, bool)` + +GetAssignedObjectIdOk returns a tuple with the AssignedObjectId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAssignedObjectId + +`func (o *IPAddress) SetAssignedObjectId(v int64)` + +SetAssignedObjectId sets AssignedObjectId field to given value. + +### HasAssignedObjectId + +`func (o *IPAddress) HasAssignedObjectId() bool` + +HasAssignedObjectId returns a boolean if a field has been set. + +### SetAssignedObjectIdNil + +`func (o *IPAddress) SetAssignedObjectIdNil(b bool)` + + SetAssignedObjectIdNil sets the value for AssignedObjectId to be an explicit nil + +### UnsetAssignedObjectId +`func (o *IPAddress) UnsetAssignedObjectId()` + +UnsetAssignedObjectId ensures that no value is present for AssignedObjectId, not even an explicit nil +### GetAssignedObject + +`func (o *IPAddress) GetAssignedObject() interface{}` + +GetAssignedObject returns the AssignedObject field if non-nil, zero value otherwise. + +### GetAssignedObjectOk + +`func (o *IPAddress) GetAssignedObjectOk() (*interface{}, bool)` + +GetAssignedObjectOk returns a tuple with the AssignedObject field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAssignedObject + +`func (o *IPAddress) SetAssignedObject(v interface{})` + +SetAssignedObject sets AssignedObject field to given value. + + +### SetAssignedObjectNil + +`func (o *IPAddress) SetAssignedObjectNil(b bool)` + + SetAssignedObjectNil sets the value for AssignedObject to be an explicit nil + +### UnsetAssignedObject +`func (o *IPAddress) UnsetAssignedObject()` + +UnsetAssignedObject ensures that no value is present for AssignedObject, not even an explicit nil +### GetNatInside + +`func (o *IPAddress) GetNatInside() NestedIPAddress` + +GetNatInside returns the NatInside field if non-nil, zero value otherwise. + +### GetNatInsideOk + +`func (o *IPAddress) GetNatInsideOk() (*NestedIPAddress, bool)` + +GetNatInsideOk returns a tuple with the NatInside field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNatInside + +`func (o *IPAddress) SetNatInside(v NestedIPAddress)` + +SetNatInside sets NatInside field to given value. + +### HasNatInside + +`func (o *IPAddress) HasNatInside() bool` + +HasNatInside returns a boolean if a field has been set. + +### SetNatInsideNil + +`func (o *IPAddress) SetNatInsideNil(b bool)` + + SetNatInsideNil sets the value for NatInside to be an explicit nil + +### UnsetNatInside +`func (o *IPAddress) UnsetNatInside()` + +UnsetNatInside ensures that no value is present for NatInside, not even an explicit nil +### GetNatOutside + +`func (o *IPAddress) GetNatOutside() []NestedIPAddress` + +GetNatOutside returns the NatOutside field if non-nil, zero value otherwise. + +### GetNatOutsideOk + +`func (o *IPAddress) GetNatOutsideOk() (*[]NestedIPAddress, bool)` + +GetNatOutsideOk returns a tuple with the NatOutside field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNatOutside + +`func (o *IPAddress) SetNatOutside(v []NestedIPAddress)` + +SetNatOutside sets NatOutside field to given value. + + +### GetDnsName + +`func (o *IPAddress) GetDnsName() string` + +GetDnsName returns the DnsName field if non-nil, zero value otherwise. + +### GetDnsNameOk + +`func (o *IPAddress) GetDnsNameOk() (*string, bool)` + +GetDnsNameOk returns a tuple with the DnsName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDnsName + +`func (o *IPAddress) SetDnsName(v string)` + +SetDnsName sets DnsName field to given value. + +### HasDnsName + +`func (o *IPAddress) HasDnsName() bool` + +HasDnsName returns a boolean if a field has been set. + ### GetDescription `func (o *IPAddress) GetDescription() string` @@ -155,6 +496,141 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetComments + +`func (o *IPAddress) GetComments() string` + +GetComments returns the Comments field if non-nil, zero value otherwise. + +### GetCommentsOk + +`func (o *IPAddress) GetCommentsOk() (*string, bool)` + +GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComments + +`func (o *IPAddress) SetComments(v string)` + +SetComments sets Comments field to given value. + +### HasComments + +`func (o *IPAddress) HasComments() bool` + +HasComments returns a boolean if a field has been set. + +### GetTags + +`func (o *IPAddress) GetTags() []NestedTag` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *IPAddress) GetTagsOk() (*[]NestedTag, 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 *IPAddress) SetTags(v []NestedTag)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *IPAddress) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *IPAddress) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *IPAddress) 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 *IPAddress) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *IPAddress) HasCustomFields() bool` + +HasCustomFields returns a boolean if a field has been set. + +### GetCreated + +`func (o *IPAddress) GetCreated() time.Time` + +GetCreated returns the Created field if non-nil, zero value otherwise. + +### GetCreatedOk + +`func (o *IPAddress) 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 *IPAddress) SetCreated(v time.Time)` + +SetCreated sets Created field to given value. + + +### SetCreatedNil + +`func (o *IPAddress) SetCreatedNil(b bool)` + + SetCreatedNil sets the value for Created to be an explicit nil + +### UnsetCreated +`func (o *IPAddress) UnsetCreated()` + +UnsetCreated ensures that no value is present for Created, not even an explicit nil +### GetLastUpdated + +`func (o *IPAddress) GetLastUpdated() time.Time` + +GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise. + +### GetLastUpdatedOk + +`func (o *IPAddress) 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 *IPAddress) SetLastUpdated(v time.Time)` + +SetLastUpdated sets LastUpdated field to given value. + + +### SetLastUpdatedNil + +`func (o *IPAddress) SetLastUpdatedNil(b bool)` + + SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil + +### UnsetLastUpdated +`func (o *IPAddress) UnsetLastUpdated()` + +UnsetLastUpdated ensures that no value is present for LastUpdated, 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/IPAddressRequest.md b/docs/IPAddressRequest.md index 7944d1cf9..808e934b2 100644 --- a/docs/IPAddressRequest.md +++ b/docs/IPAddressRequest.md @@ -5,7 +5,18 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Address** | **string** | | +**Vrf** | Pointer to [**NullableBriefVRFRequest**](BriefVRFRequest.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] +**Status** | Pointer to [**IPAddressStatusValue**](IPAddressStatusValue.md) | | [optional] +**Role** | Pointer to [**IPAddressRoleValue**](IPAddressRoleValue.md) | | [optional] +**AssignedObjectType** | Pointer to **NullableString** | | [optional] +**AssignedObjectId** | Pointer to **NullableInt64** | | [optional] +**NatInside** | Pointer to [**NullableNestedIPAddressRequest**](NestedIPAddressRequest.md) | | [optional] +**DnsName** | Pointer to **string** | Hostname or FQDN (not case-sensitive) | [optional] **Description** | Pointer to **string** | | [optional] +**Comments** | Pointer to **string** | | [optional] +**Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] ## Methods @@ -46,6 +57,256 @@ and a boolean to check if the value has been set. SetAddress sets Address field to given value. +### GetVrf + +`func (o *IPAddressRequest) GetVrf() BriefVRFRequest` + +GetVrf returns the Vrf field if non-nil, zero value otherwise. + +### GetVrfOk + +`func (o *IPAddressRequest) GetVrfOk() (*BriefVRFRequest, bool)` + +GetVrfOk returns a tuple with the Vrf field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVrf + +`func (o *IPAddressRequest) SetVrf(v BriefVRFRequest)` + +SetVrf sets Vrf field to given value. + +### HasVrf + +`func (o *IPAddressRequest) HasVrf() bool` + +HasVrf returns a boolean if a field has been set. + +### SetVrfNil + +`func (o *IPAddressRequest) SetVrfNil(b bool)` + + SetVrfNil sets the value for Vrf to be an explicit nil + +### UnsetVrf +`func (o *IPAddressRequest) UnsetVrf()` + +UnsetVrf ensures that no value is present for Vrf, not even an explicit nil +### GetTenant + +`func (o *IPAddressRequest) GetTenant() BriefTenantRequest` + +GetTenant returns the Tenant field if non-nil, zero value otherwise. + +### GetTenantOk + +`func (o *IPAddressRequest) GetTenantOk() (*BriefTenantRequest, 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 *IPAddressRequest) SetTenant(v BriefTenantRequest)` + +SetTenant sets Tenant field to given value. + +### HasTenant + +`func (o *IPAddressRequest) HasTenant() bool` + +HasTenant returns a boolean if a field has been set. + +### SetTenantNil + +`func (o *IPAddressRequest) SetTenantNil(b bool)` + + SetTenantNil sets the value for Tenant to be an explicit nil + +### UnsetTenant +`func (o *IPAddressRequest) UnsetTenant()` + +UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +### GetStatus + +`func (o *IPAddressRequest) GetStatus() IPAddressStatusValue` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *IPAddressRequest) GetStatusOk() (*IPAddressStatusValue, 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 *IPAddressRequest) SetStatus(v IPAddressStatusValue)` + +SetStatus sets Status field to given value. + +### HasStatus + +`func (o *IPAddressRequest) HasStatus() bool` + +HasStatus returns a boolean if a field has been set. + +### GetRole + +`func (o *IPAddressRequest) GetRole() IPAddressRoleValue` + +GetRole returns the Role field if non-nil, zero value otherwise. + +### GetRoleOk + +`func (o *IPAddressRequest) GetRoleOk() (*IPAddressRoleValue, 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 *IPAddressRequest) SetRole(v IPAddressRoleValue)` + +SetRole sets Role field to given value. + +### HasRole + +`func (o *IPAddressRequest) HasRole() bool` + +HasRole returns a boolean if a field has been set. + +### GetAssignedObjectType + +`func (o *IPAddressRequest) GetAssignedObjectType() string` + +GetAssignedObjectType returns the AssignedObjectType field if non-nil, zero value otherwise. + +### GetAssignedObjectTypeOk + +`func (o *IPAddressRequest) GetAssignedObjectTypeOk() (*string, bool)` + +GetAssignedObjectTypeOk returns a tuple with the AssignedObjectType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAssignedObjectType + +`func (o *IPAddressRequest) SetAssignedObjectType(v string)` + +SetAssignedObjectType sets AssignedObjectType field to given value. + +### HasAssignedObjectType + +`func (o *IPAddressRequest) HasAssignedObjectType() bool` + +HasAssignedObjectType returns a boolean if a field has been set. + +### SetAssignedObjectTypeNil + +`func (o *IPAddressRequest) SetAssignedObjectTypeNil(b bool)` + + SetAssignedObjectTypeNil sets the value for AssignedObjectType to be an explicit nil + +### UnsetAssignedObjectType +`func (o *IPAddressRequest) UnsetAssignedObjectType()` + +UnsetAssignedObjectType ensures that no value is present for AssignedObjectType, not even an explicit nil +### GetAssignedObjectId + +`func (o *IPAddressRequest) GetAssignedObjectId() int64` + +GetAssignedObjectId returns the AssignedObjectId field if non-nil, zero value otherwise. + +### GetAssignedObjectIdOk + +`func (o *IPAddressRequest) GetAssignedObjectIdOk() (*int64, bool)` + +GetAssignedObjectIdOk returns a tuple with the AssignedObjectId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAssignedObjectId + +`func (o *IPAddressRequest) SetAssignedObjectId(v int64)` + +SetAssignedObjectId sets AssignedObjectId field to given value. + +### HasAssignedObjectId + +`func (o *IPAddressRequest) HasAssignedObjectId() bool` + +HasAssignedObjectId returns a boolean if a field has been set. + +### SetAssignedObjectIdNil + +`func (o *IPAddressRequest) SetAssignedObjectIdNil(b bool)` + + SetAssignedObjectIdNil sets the value for AssignedObjectId to be an explicit nil + +### UnsetAssignedObjectId +`func (o *IPAddressRequest) UnsetAssignedObjectId()` + +UnsetAssignedObjectId ensures that no value is present for AssignedObjectId, not even an explicit nil +### GetNatInside + +`func (o *IPAddressRequest) GetNatInside() NestedIPAddressRequest` + +GetNatInside returns the NatInside field if non-nil, zero value otherwise. + +### GetNatInsideOk + +`func (o *IPAddressRequest) GetNatInsideOk() (*NestedIPAddressRequest, bool)` + +GetNatInsideOk returns a tuple with the NatInside field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNatInside + +`func (o *IPAddressRequest) SetNatInside(v NestedIPAddressRequest)` + +SetNatInside sets NatInside field to given value. + +### HasNatInside + +`func (o *IPAddressRequest) HasNatInside() bool` + +HasNatInside returns a boolean if a field has been set. + +### SetNatInsideNil + +`func (o *IPAddressRequest) SetNatInsideNil(b bool)` + + SetNatInsideNil sets the value for NatInside to be an explicit nil + +### UnsetNatInside +`func (o *IPAddressRequest) UnsetNatInside()` + +UnsetNatInside ensures that no value is present for NatInside, not even an explicit nil +### GetDnsName + +`func (o *IPAddressRequest) GetDnsName() string` + +GetDnsName returns the DnsName field if non-nil, zero value otherwise. + +### GetDnsNameOk + +`func (o *IPAddressRequest) GetDnsNameOk() (*string, bool)` + +GetDnsNameOk returns a tuple with the DnsName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDnsName + +`func (o *IPAddressRequest) SetDnsName(v string)` + +SetDnsName sets DnsName field to given value. + +### HasDnsName + +`func (o *IPAddressRequest) HasDnsName() bool` + +HasDnsName returns a boolean if a field has been set. + ### GetDescription `func (o *IPAddressRequest) GetDescription() string` @@ -71,6 +332,81 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetComments + +`func (o *IPAddressRequest) GetComments() string` + +GetComments returns the Comments field if non-nil, zero value otherwise. + +### GetCommentsOk + +`func (o *IPAddressRequest) GetCommentsOk() (*string, bool)` + +GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComments + +`func (o *IPAddressRequest) SetComments(v string)` + +SetComments sets Comments field to given value. + +### HasComments + +`func (o *IPAddressRequest) HasComments() bool` + +HasComments returns a boolean if a field has been set. + +### GetTags + +`func (o *IPAddressRequest) GetTags() []NestedTagRequest` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *IPAddressRequest) GetTagsOk() (*[]NestedTagRequest, 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 *IPAddressRequest) SetTags(v []NestedTagRequest)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *IPAddressRequest) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *IPAddressRequest) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *IPAddressRequest) 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 *IPAddressRequest) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *IPAddressRequest) 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/IPAddressRole.md b/docs/IPAddressRole.md new file mode 100644 index 000000000..a3556e595 --- /dev/null +++ b/docs/IPAddressRole.md @@ -0,0 +1,82 @@ +# IPAddressRole + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Value** | Pointer to [**IPAddressRoleValue**](IPAddressRoleValue.md) | | [optional] +**Label** | Pointer to [**IPAddressRoleLabel**](IPAddressRoleLabel.md) | | [optional] + +## Methods + +### NewIPAddressRole + +`func NewIPAddressRole() *IPAddressRole` + +NewIPAddressRole instantiates a new IPAddressRole object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewIPAddressRoleWithDefaults + +`func NewIPAddressRoleWithDefaults() *IPAddressRole` + +NewIPAddressRoleWithDefaults instantiates a new IPAddressRole object +This 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 *IPAddressRole) GetValue() IPAddressRoleValue` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *IPAddressRole) GetValueOk() (*IPAddressRoleValue, 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 *IPAddressRole) SetValue(v IPAddressRoleValue)` + +SetValue sets Value field to given value. + +### HasValue + +`func (o *IPAddressRole) HasValue() bool` + +HasValue returns a boolean if a field has been set. + +### GetLabel + +`func (o *IPAddressRole) GetLabel() IPAddressRoleLabel` + +GetLabel returns the Label field if non-nil, zero value otherwise. + +### GetLabelOk + +`func (o *IPAddressRole) GetLabelOk() (*IPAddressRoleLabel, 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 *IPAddressRole) SetLabel(v IPAddressRoleLabel)` + +SetLabel sets Label field to given value. + +### HasLabel + +`func (o *IPAddressRole) 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/IPAddressRoleLabel.md b/docs/IPAddressRoleLabel.md new file mode 100644 index 000000000..57453cb71 --- /dev/null +++ b/docs/IPAddressRoleLabel.md @@ -0,0 +1,25 @@ +# IPAddressRoleLabel + +## Enum + + +* `LOOPBACK` (value: `"Loopback"`) + +* `SECONDARY` (value: `"Secondary"`) + +* `ANYCAST` (value: `"Anycast"`) + +* `VIP` (value: `"VIP"`) + +* `VRRP` (value: `"VRRP"`) + +* `HSRP` (value: `"HSRP"`) + +* `GLBP` (value: `"GLBP"`) + +* `CARP` (value: `"CARP"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/IPAddressRoleValue.md b/docs/IPAddressRoleValue.md new file mode 100644 index 000000000..fe031504f --- /dev/null +++ b/docs/IPAddressRoleValue.md @@ -0,0 +1,27 @@ +# IPAddressRoleValue + +## Enum + + +* `LOOPBACK` (value: `"loopback"`) + +* `SECONDARY` (value: `"secondary"`) + +* `ANYCAST` (value: `"anycast"`) + +* `VIP` (value: `"vip"`) + +* `VRRP` (value: `"vrrp"`) + +* `HSRP` (value: `"hsrp"`) + +* `GLBP` (value: `"glbp"`) + +* `CARP` (value: `"carp"`) + +* `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/IPAddressStatus.md b/docs/IPAddressStatus.md new file mode 100644 index 000000000..961c2b0d1 --- /dev/null +++ b/docs/IPAddressStatus.md @@ -0,0 +1,82 @@ +# IPAddressStatus + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Value** | Pointer to [**IPAddressStatusValue**](IPAddressStatusValue.md) | | [optional] +**Label** | Pointer to [**IPAddressStatusLabel**](IPAddressStatusLabel.md) | | [optional] + +## Methods + +### NewIPAddressStatus + +`func NewIPAddressStatus() *IPAddressStatus` + +NewIPAddressStatus instantiates a new IPAddressStatus object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewIPAddressStatusWithDefaults + +`func NewIPAddressStatusWithDefaults() *IPAddressStatus` + +NewIPAddressStatusWithDefaults instantiates a new IPAddressStatus object +This 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 *IPAddressStatus) GetValue() IPAddressStatusValue` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *IPAddressStatus) GetValueOk() (*IPAddressStatusValue, 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 *IPAddressStatus) SetValue(v IPAddressStatusValue)` + +SetValue sets Value field to given value. + +### HasValue + +`func (o *IPAddressStatus) HasValue() bool` + +HasValue returns a boolean if a field has been set. + +### GetLabel + +`func (o *IPAddressStatus) GetLabel() IPAddressStatusLabel` + +GetLabel returns the Label field if non-nil, zero value otherwise. + +### GetLabelOk + +`func (o *IPAddressStatus) GetLabelOk() (*IPAddressStatusLabel, 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 *IPAddressStatus) SetLabel(v IPAddressStatusLabel)` + +SetLabel sets Label field to given value. + +### HasLabel + +`func (o *IPAddressStatus) 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/IPAddressStatusLabel.md b/docs/IPAddressStatusLabel.md new file mode 100644 index 000000000..85c041572 --- /dev/null +++ b/docs/IPAddressStatusLabel.md @@ -0,0 +1,19 @@ +# IPAddressStatusLabel + +## Enum + + +* `ACTIVE` (value: `"Active"`) + +* `RESERVED` (value: `"Reserved"`) + +* `DEPRECATED` (value: `"Deprecated"`) + +* `DHCP` (value: `"DHCP"`) + +* `SLAAC` (value: `"SLAAC"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/IPAddressStatusValue.md b/docs/IPAddressStatusValue.md new file mode 100644 index 000000000..8794985a8 --- /dev/null +++ b/docs/IPAddressStatusValue.md @@ -0,0 +1,19 @@ +# IPAddressStatusValue + +## Enum + + +* `ACTIVE` (value: `"active"`) + +* `RESERVED` (value: `"reserved"`) + +* `DEPRECATED` (value: `"deprecated"`) + +* `DHCP` (value: `"dhcp"`) + +* `SLAAC` (value: `"slaac"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/IPRange.md b/docs/IPRange.md index 4d6a50ec0..e9d0e1c6d 100644 --- a/docs/IPRange.md +++ b/docs/IPRange.md @@ -6,15 +6,16 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Family** | [**AggregateFamily**](AggregateFamily.md) | | **StartAddress** | **string** | | **EndAddress** | **string** | | **Size** | **int32** | | [readonly] -**Vrf** | Pointer to [**NullableVRF**](VRF.md) | | [optional] -**Tenant** | Pointer to [**NullableTenant**](Tenant.md) | | [optional] +**Vrf** | Pointer to [**NullableBriefVRF**](BriefVRF.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenant**](BriefTenant.md) | | [optional] **Status** | Pointer to [**IPRangeStatus**](IPRangeStatus.md) | | [optional] -**Role** | Pointer to [**NullableRole**](Role.md) | | [optional] +**Role** | Pointer to [**NullableBriefRole**](BriefRole.md) | | [optional] **Description** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] **Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] @@ -82,6 +83,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *IPRange) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *IPRange) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *IPRange) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *IPRange) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *IPRange) GetDisplay() string` @@ -184,20 +210,20 @@ SetSize sets Size field to given value. ### GetVrf -`func (o *IPRange) GetVrf() VRF` +`func (o *IPRange) GetVrf() BriefVRF` GetVrf returns the Vrf field if non-nil, zero value otherwise. ### GetVrfOk -`func (o *IPRange) GetVrfOk() (*VRF, bool)` +`func (o *IPRange) GetVrfOk() (*BriefVRF, bool)` GetVrfOk returns a tuple with the Vrf field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVrf -`func (o *IPRange) SetVrf(v VRF)` +`func (o *IPRange) SetVrf(v BriefVRF)` SetVrf sets Vrf field to given value. @@ -219,20 +245,20 @@ HasVrf returns a boolean if a field has been set. UnsetVrf ensures that no value is present for Vrf, not even an explicit nil ### GetTenant -`func (o *IPRange) GetTenant() Tenant` +`func (o *IPRange) GetTenant() BriefTenant` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *IPRange) GetTenantOk() (*Tenant, bool)` +`func (o *IPRange) GetTenantOk() (*BriefTenant, 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 *IPRange) SetTenant(v Tenant)` +`func (o *IPRange) SetTenant(v BriefTenant)` SetTenant sets Tenant field to given value. @@ -279,20 +305,20 @@ HasStatus returns a boolean if a field has been set. ### GetRole -`func (o *IPRange) GetRole() Role` +`func (o *IPRange) GetRole() BriefRole` GetRole returns the Role field if non-nil, zero value otherwise. ### GetRoleOk -`func (o *IPRange) GetRoleOk() (*Role, bool)` +`func (o *IPRange) GetRoleOk() (*BriefRole, 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 *IPRange) SetRole(v Role)` +`func (o *IPRange) SetRole(v BriefRole)` SetRole sets Role field to given value. diff --git a/docs/IPRangeRequest.md b/docs/IPRangeRequest.md index 35f6cc221..11d861c01 100644 --- a/docs/IPRangeRequest.md +++ b/docs/IPRangeRequest.md @@ -6,10 +6,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **StartAddress** | **string** | | **EndAddress** | **string** | | -**Vrf** | Pointer to [**NullableVRFRequest**](VRFRequest.md) | | [optional] -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] +**Vrf** | Pointer to [**NullableBriefVRFRequest**](BriefVRFRequest.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] **Status** | Pointer to [**IPRangeStatusValue**](IPRangeStatusValue.md) | | [optional] -**Role** | Pointer to [**NullableRoleRequest**](RoleRequest.md) | | [optional] +**Role** | Pointer to [**NullableBriefRoleRequest**](BriefRoleRequest.md) | | [optional] **Description** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] @@ -77,20 +77,20 @@ SetEndAddress sets EndAddress field to given value. ### GetVrf -`func (o *IPRangeRequest) GetVrf() VRFRequest` +`func (o *IPRangeRequest) GetVrf() BriefVRFRequest` GetVrf returns the Vrf field if non-nil, zero value otherwise. ### GetVrfOk -`func (o *IPRangeRequest) GetVrfOk() (*VRFRequest, bool)` +`func (o *IPRangeRequest) GetVrfOk() (*BriefVRFRequest, bool)` GetVrfOk returns a tuple with the Vrf field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVrf -`func (o *IPRangeRequest) SetVrf(v VRFRequest)` +`func (o *IPRangeRequest) SetVrf(v BriefVRFRequest)` SetVrf sets Vrf field to given value. @@ -112,20 +112,20 @@ HasVrf returns a boolean if a field has been set. UnsetVrf ensures that no value is present for Vrf, not even an explicit nil ### GetTenant -`func (o *IPRangeRequest) GetTenant() TenantRequest` +`func (o *IPRangeRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *IPRangeRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *IPRangeRequest) GetTenantOk() (*BriefTenantRequest, 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 *IPRangeRequest) SetTenant(v TenantRequest)` +`func (o *IPRangeRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. @@ -172,20 +172,20 @@ HasStatus returns a boolean if a field has been set. ### GetRole -`func (o *IPRangeRequest) GetRole() RoleRequest` +`func (o *IPRangeRequest) GetRole() BriefRoleRequest` GetRole returns the Role field if non-nil, zero value otherwise. ### GetRoleOk -`func (o *IPRangeRequest) GetRoleOk() (*RoleRequest, bool)` +`func (o *IPRangeRequest) GetRoleOk() (*BriefRoleRequest, 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 *IPRangeRequest) SetRole(v RoleRequest)` +`func (o *IPRangeRequest) SetRole(v BriefRoleRequest)` SetRole sets Role field to given value. diff --git a/docs/IPSecPolicy.md b/docs/IPSecPolicy.md index 7d7e216e5..9c14142ca 100644 --- a/docs/IPSecPolicy.md +++ b/docs/IPSecPolicy.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Name** | **string** | | **Description** | Pointer to **string** | | [optional] @@ -76,6 +77,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *IPSecPolicy) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *IPSecPolicy) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *IPSecPolicy) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *IPSecPolicy) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *IPSecPolicy) GetDisplay() string` diff --git a/docs/IPSecProfile.md b/docs/IPSecProfile.md index 9582c5258..5f882e870 100644 --- a/docs/IPSecProfile.md +++ b/docs/IPSecProfile.md @@ -6,12 +6,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Name** | **string** | | **Description** | Pointer to **string** | | [optional] **Mode** | [**IPSecProfileMode**](IPSecProfileMode.md) | | -**IkePolicy** | [**IKEPolicy**](IKEPolicy.md) | | -**IpsecPolicy** | [**IPSecPolicy**](IPSecPolicy.md) | | +**IkePolicy** | [**BriefIKEPolicy**](BriefIKEPolicy.md) | | +**IpsecPolicy** | [**BriefIPSecPolicy**](BriefIPSecPolicy.md) | | **Comments** | Pointer to **string** | | [optional] **Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] @@ -22,7 +23,7 @@ Name | Type | Description | Notes ### NewIPSecProfile -`func NewIPSecProfile(id int32, url string, display string, name string, mode IPSecProfileMode, ikePolicy IKEPolicy, ipsecPolicy IPSecPolicy, created NullableTime, lastUpdated NullableTime, ) *IPSecProfile` +`func NewIPSecProfile(id int32, url string, display string, name string, mode IPSecProfileMode, ikePolicy BriefIKEPolicy, ipsecPolicy BriefIPSecPolicy, created NullableTime, lastUpdated NullableTime, ) *IPSecProfile` NewIPSecProfile instantiates a new IPSecProfile object This constructor will assign default values to properties that have it defined, @@ -77,6 +78,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *IPSecProfile) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *IPSecProfile) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *IPSecProfile) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *IPSecProfile) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *IPSecProfile) GetDisplay() string` @@ -164,40 +190,40 @@ SetMode sets Mode field to given value. ### GetIkePolicy -`func (o *IPSecProfile) GetIkePolicy() IKEPolicy` +`func (o *IPSecProfile) GetIkePolicy() BriefIKEPolicy` GetIkePolicy returns the IkePolicy field if non-nil, zero value otherwise. ### GetIkePolicyOk -`func (o *IPSecProfile) GetIkePolicyOk() (*IKEPolicy, bool)` +`func (o *IPSecProfile) GetIkePolicyOk() (*BriefIKEPolicy, bool)` GetIkePolicyOk returns a tuple with the IkePolicy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIkePolicy -`func (o *IPSecProfile) SetIkePolicy(v IKEPolicy)` +`func (o *IPSecProfile) SetIkePolicy(v BriefIKEPolicy)` SetIkePolicy sets IkePolicy field to given value. ### GetIpsecPolicy -`func (o *IPSecProfile) GetIpsecPolicy() IPSecPolicy` +`func (o *IPSecProfile) GetIpsecPolicy() BriefIPSecPolicy` GetIpsecPolicy returns the IpsecPolicy field if non-nil, zero value otherwise. ### GetIpsecPolicyOk -`func (o *IPSecProfile) GetIpsecPolicyOk() (*IPSecPolicy, bool)` +`func (o *IPSecProfile) GetIpsecPolicyOk() (*BriefIPSecPolicy, bool)` GetIpsecPolicyOk returns a tuple with the IpsecPolicy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIpsecPolicy -`func (o *IPSecProfile) SetIpsecPolicy(v IPSecPolicy)` +`func (o *IPSecProfile) SetIpsecPolicy(v BriefIPSecPolicy)` SetIpsecPolicy sets IpsecPolicy field to given value. diff --git a/docs/IPSecProfileRequest.md b/docs/IPSecProfileRequest.md index 74f1a9171..35d915482 100644 --- a/docs/IPSecProfileRequest.md +++ b/docs/IPSecProfileRequest.md @@ -7,8 +7,8 @@ Name | Type | Description | Notes **Name** | **string** | | **Description** | Pointer to **string** | | [optional] **Mode** | [**IPSecProfileModeValue**](IPSecProfileModeValue.md) | | -**IkePolicy** | [**IKEPolicyRequest**](IKEPolicyRequest.md) | | -**IpsecPolicy** | [**IPSecPolicyRequest**](IPSecPolicyRequest.md) | | +**IkePolicy** | [**BriefIKEPolicyRequest**](BriefIKEPolicyRequest.md) | | +**IpsecPolicy** | [**BriefIPSecPolicyRequest**](BriefIPSecPolicyRequest.md) | | **Comments** | Pointer to **string** | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] @@ -17,7 +17,7 @@ Name | Type | Description | Notes ### NewIPSecProfileRequest -`func NewIPSecProfileRequest(name string, mode IPSecProfileModeValue, ikePolicy IKEPolicyRequest, ipsecPolicy IPSecPolicyRequest, ) *IPSecProfileRequest` +`func NewIPSecProfileRequest(name string, mode IPSecProfileModeValue, ikePolicy BriefIKEPolicyRequest, ipsecPolicy BriefIPSecPolicyRequest, ) *IPSecProfileRequest` NewIPSecProfileRequest instantiates a new IPSecProfileRequest object This constructor will assign default values to properties that have it defined, @@ -99,40 +99,40 @@ SetMode sets Mode field to given value. ### GetIkePolicy -`func (o *IPSecProfileRequest) GetIkePolicy() IKEPolicyRequest` +`func (o *IPSecProfileRequest) GetIkePolicy() BriefIKEPolicyRequest` GetIkePolicy returns the IkePolicy field if non-nil, zero value otherwise. ### GetIkePolicyOk -`func (o *IPSecProfileRequest) GetIkePolicyOk() (*IKEPolicyRequest, bool)` +`func (o *IPSecProfileRequest) GetIkePolicyOk() (*BriefIKEPolicyRequest, bool)` GetIkePolicyOk returns a tuple with the IkePolicy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIkePolicy -`func (o *IPSecProfileRequest) SetIkePolicy(v IKEPolicyRequest)` +`func (o *IPSecProfileRequest) SetIkePolicy(v BriefIKEPolicyRequest)` SetIkePolicy sets IkePolicy field to given value. ### GetIpsecPolicy -`func (o *IPSecProfileRequest) GetIpsecPolicy() IPSecPolicyRequest` +`func (o *IPSecProfileRequest) GetIpsecPolicy() BriefIPSecPolicyRequest` GetIpsecPolicy returns the IpsecPolicy field if non-nil, zero value otherwise. ### GetIpsecPolicyOk -`func (o *IPSecProfileRequest) GetIpsecPolicyOk() (*IPSecPolicyRequest, bool)` +`func (o *IPSecProfileRequest) GetIpsecPolicyOk() (*BriefIPSecPolicyRequest, bool)` GetIpsecPolicyOk returns a tuple with the IpsecPolicy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIpsecPolicy -`func (o *IPSecProfileRequest) SetIpsecPolicy(v IPSecPolicyRequest)` +`func (o *IPSecProfileRequest) SetIpsecPolicy(v BriefIPSecPolicyRequest)` SetIpsecPolicy sets IpsecPolicy field to given value. diff --git a/docs/IPSecProposal.md b/docs/IPSecProposal.md index 6664ca6a2..f8c65152f 100644 --- a/docs/IPSecProposal.md +++ b/docs/IPSecProposal.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Name** | **string** | | **Description** | Pointer to **string** | | [optional] @@ -78,6 +79,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *IPSecProposal) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *IPSecProposal) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *IPSecProposal) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *IPSecProposal) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *IPSecProposal) GetDisplay() string` diff --git a/docs/ImageAttachment.md b/docs/ImageAttachment.md index 254d230c2..c7288671f 100644 --- a/docs/ImageAttachment.md +++ b/docs/ImageAttachment.md @@ -12,8 +12,8 @@ Name | Type | Description | Notes **Parent** | **interface{}** | | [readonly] **Name** | Pointer to **string** | | [optional] **Image** | **string** | | -**ImageHeight** | **int32** | | -**ImageWidth** | **int32** | | +**ImageHeight** | **int32** | | [readonly] +**ImageWidth** | **int32** | | [readonly] **Created** | **NullableTime** | | [readonly] **LastUpdated** | **NullableTime** | | [readonly] diff --git a/docs/ImageAttachmentRequest.md b/docs/ImageAttachmentRequest.md index 7728d54e5..b79b8f76e 100644 --- a/docs/ImageAttachmentRequest.md +++ b/docs/ImageAttachmentRequest.md @@ -8,14 +8,12 @@ Name | Type | Description | Notes **ObjectId** | **int64** | | **Name** | Pointer to **string** | | [optional] **Image** | ***os.File** | | -**ImageHeight** | **int32** | | -**ImageWidth** | **int32** | | ## Methods ### NewImageAttachmentRequest -`func NewImageAttachmentRequest(objectType string, objectId int64, image *os.File, imageHeight int32, imageWidth int32, ) *ImageAttachmentRequest` +`func NewImageAttachmentRequest(objectType string, objectId int64, image *os.File, ) *ImageAttachmentRequest` NewImageAttachmentRequest instantiates a new ImageAttachmentRequest object This constructor will assign default values to properties that have it defined, @@ -115,46 +113,6 @@ and a boolean to check if the value has been set. SetImage sets Image field to given value. -### GetImageHeight - -`func (o *ImageAttachmentRequest) GetImageHeight() int32` - -GetImageHeight returns the ImageHeight field if non-nil, zero value otherwise. - -### GetImageHeightOk - -`func (o *ImageAttachmentRequest) GetImageHeightOk() (*int32, bool)` - -GetImageHeightOk returns a tuple with the ImageHeight field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetImageHeight - -`func (o *ImageAttachmentRequest) SetImageHeight(v int32)` - -SetImageHeight sets ImageHeight field to given value. - - -### GetImageWidth - -`func (o *ImageAttachmentRequest) GetImageWidth() int32` - -GetImageWidth returns the ImageWidth field if non-nil, zero value otherwise. - -### GetImageWidthOk - -`func (o *ImageAttachmentRequest) GetImageWidthOk() (*int32, bool)` - -GetImageWidthOk returns a tuple with the ImageWidth field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetImageWidth - -`func (o *ImageAttachmentRequest) SetImageWidth(v int32)` - -SetImageWidth sets ImageWidth 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/Interface.md b/docs/Interface.md index 222d4907d..317d12b0a 100644 --- a/docs/Interface.md +++ b/docs/Interface.md @@ -6,10 +6,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] -**Device** | [**Device**](Device.md) | | +**Device** | [**BriefDevice**](BriefDevice.md) | | **Vdcs** | Pointer to [**[]VirtualDeviceContext**](VirtualDeviceContext.md) | | [optional] -**Module** | Pointer to [**NullableModule**](Module.md) | | [optional] +**Module** | Pointer to [**NullableBriefModule**](BriefModule.md) | | [optional] **Name** | **string** | | **Label** | Pointer to **string** | Physical label | [optional] **Type** | [**InterfaceType**](InterfaceType.md) | | @@ -32,19 +33,19 @@ Name | Type | Description | Notes **RfChannelFrequency** | Pointer to **NullableFloat64** | Populated by selected channel (if set) | [optional] **RfChannelWidth** | Pointer to **NullableFloat64** | Populated by selected channel (if set) | [optional] **TxPower** | Pointer to **NullableInt32** | | [optional] -**UntaggedVlan** | Pointer to [**NullableVLAN**](VLAN.md) | | [optional] +**UntaggedVlan** | Pointer to [**NullableBriefVLAN**](BriefVLAN.md) | | [optional] **TaggedVlans** | Pointer to [**[]VLAN**](VLAN.md) | | [optional] **MarkConnected** | Pointer to **bool** | Treat as if a cable is connected | [optional] -**Cable** | [**NullableCable**](Cable.md) | | [readonly] +**Cable** | [**NullableBriefCable**](BriefCable.md) | | [readonly] **CableEnd** | **string** | | [readonly] **WirelessLink** | [**NullableNestedWirelessLink**](NestedWirelessLink.md) | | [readonly] **LinkPeers** | **[]interface{}** | | [readonly] -**LinkPeersType** | **string** | Return the type of the peer link terminations, or None. | [readonly] +**LinkPeersType** | **NullableString** | Return the type of the peer link terminations, or None. | [readonly] **WirelessLans** | Pointer to [**[]WirelessLAN**](WirelessLAN.md) | | [optional] -**Vrf** | Pointer to [**NullableVRF**](VRF.md) | | [optional] -**L2vpnTermination** | [**NullableL2VPNTermination**](L2VPNTermination.md) | | [readonly] +**Vrf** | Pointer to [**NullableBriefVRF**](BriefVRF.md) | | [optional] +**L2vpnTermination** | [**NullableBriefL2VPNTermination**](BriefL2VPNTermination.md) | | [readonly] **ConnectedEndpoints** | **[]interface{}** | | [readonly] -**ConnectedEndpointsType** | **string** | | [readonly] +**ConnectedEndpointsType** | **NullableString** | | [readonly] **ConnectedEndpointsReachable** | **bool** | | [readonly] **Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] @@ -58,7 +59,7 @@ Name | Type | Description | Notes ### NewInterface -`func NewInterface(id int32, url string, display string, device Device, name string, type_ InterfaceType, cable NullableCable, cableEnd string, wirelessLink NullableNestedWirelessLink, linkPeers []interface{}, linkPeersType string, l2vpnTermination NullableL2VPNTermination, connectedEndpoints []interface{}, connectedEndpointsType string, connectedEndpointsReachable bool, created NullableTime, lastUpdated NullableTime, countIpaddresses int32, countFhrpGroups int32, occupied bool, ) *Interface` +`func NewInterface(id int32, url string, display string, device BriefDevice, name string, type_ InterfaceType, cable NullableBriefCable, cableEnd string, wirelessLink NullableNestedWirelessLink, linkPeers []interface{}, linkPeersType NullableString, l2vpnTermination NullableBriefL2VPNTermination, connectedEndpoints []interface{}, connectedEndpointsType NullableString, connectedEndpointsReachable bool, created NullableTime, lastUpdated NullableTime, countIpaddresses int32, countFhrpGroups int32, occupied bool, ) *Interface` NewInterface instantiates a new Interface object This constructor will assign default values to properties that have it defined, @@ -113,6 +114,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *Interface) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *Interface) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *Interface) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *Interface) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *Interface) GetDisplay() string` @@ -135,20 +161,20 @@ SetDisplay sets Display field to given value. ### GetDevice -`func (o *Interface) GetDevice() Device` +`func (o *Interface) GetDevice() BriefDevice` GetDevice returns the Device field if non-nil, zero value otherwise. ### GetDeviceOk -`func (o *Interface) GetDeviceOk() (*Device, bool)` +`func (o *Interface) GetDeviceOk() (*BriefDevice, 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 *Interface) SetDevice(v Device)` +`func (o *Interface) SetDevice(v BriefDevice)` SetDevice sets Device field to given value. @@ -180,20 +206,20 @@ HasVdcs returns a boolean if a field has been set. ### GetModule -`func (o *Interface) GetModule() Module` +`func (o *Interface) GetModule() BriefModule` GetModule returns the Module field if non-nil, zero value otherwise. ### GetModuleOk -`func (o *Interface) GetModuleOk() (*Module, bool)` +`func (o *Interface) GetModuleOk() (*BriefModule, bool)` GetModuleOk returns a tuple with the Module field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetModule -`func (o *Interface) SetModule(v Module)` +`func (o *Interface) SetModule(v BriefModule)` SetModule sets Module field to given value. @@ -865,20 +891,20 @@ HasTxPower returns a boolean if a field has been set. UnsetTxPower ensures that no value is present for TxPower, not even an explicit nil ### GetUntaggedVlan -`func (o *Interface) GetUntaggedVlan() VLAN` +`func (o *Interface) GetUntaggedVlan() BriefVLAN` GetUntaggedVlan returns the UntaggedVlan field if non-nil, zero value otherwise. ### GetUntaggedVlanOk -`func (o *Interface) GetUntaggedVlanOk() (*VLAN, bool)` +`func (o *Interface) GetUntaggedVlanOk() (*BriefVLAN, bool)` GetUntaggedVlanOk returns a tuple with the UntaggedVlan field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUntaggedVlan -`func (o *Interface) SetUntaggedVlan(v VLAN)` +`func (o *Interface) SetUntaggedVlan(v BriefVLAN)` SetUntaggedVlan sets UntaggedVlan field to given value. @@ -950,20 +976,20 @@ HasMarkConnected returns a boolean if a field has been set. ### GetCable -`func (o *Interface) GetCable() Cable` +`func (o *Interface) GetCable() BriefCable` GetCable returns the Cable field if non-nil, zero value otherwise. ### GetCableOk -`func (o *Interface) GetCableOk() (*Cable, bool)` +`func (o *Interface) GetCableOk() (*BriefCable, bool)` GetCableOk returns a tuple with the Cable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCable -`func (o *Interface) SetCable(v Cable)` +`func (o *Interface) SetCable(v BriefCable)` SetCable sets Cable field to given value. @@ -1068,6 +1094,16 @@ and a boolean to check if the value has been set. SetLinkPeersType sets LinkPeersType field to given value. +### SetLinkPeersTypeNil + +`func (o *Interface) SetLinkPeersTypeNil(b bool)` + + SetLinkPeersTypeNil sets the value for LinkPeersType to be an explicit nil + +### UnsetLinkPeersType +`func (o *Interface) UnsetLinkPeersType()` + +UnsetLinkPeersType ensures that no value is present for LinkPeersType, not even an explicit nil ### GetWirelessLans `func (o *Interface) GetWirelessLans() []WirelessLAN` @@ -1095,20 +1131,20 @@ HasWirelessLans returns a boolean if a field has been set. ### GetVrf -`func (o *Interface) GetVrf() VRF` +`func (o *Interface) GetVrf() BriefVRF` GetVrf returns the Vrf field if non-nil, zero value otherwise. ### GetVrfOk -`func (o *Interface) GetVrfOk() (*VRF, bool)` +`func (o *Interface) GetVrfOk() (*BriefVRF, bool)` GetVrfOk returns a tuple with the Vrf field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVrf -`func (o *Interface) SetVrf(v VRF)` +`func (o *Interface) SetVrf(v BriefVRF)` SetVrf sets Vrf field to given value. @@ -1130,20 +1166,20 @@ HasVrf returns a boolean if a field has been set. UnsetVrf ensures that no value is present for Vrf, not even an explicit nil ### GetL2vpnTermination -`func (o *Interface) GetL2vpnTermination() L2VPNTermination` +`func (o *Interface) GetL2vpnTermination() BriefL2VPNTermination` GetL2vpnTermination returns the L2vpnTermination field if non-nil, zero value otherwise. ### GetL2vpnTerminationOk -`func (o *Interface) GetL2vpnTerminationOk() (*L2VPNTermination, bool)` +`func (o *Interface) GetL2vpnTerminationOk() (*BriefL2VPNTermination, bool)` GetL2vpnTerminationOk returns a tuple with the L2vpnTermination field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetL2vpnTermination -`func (o *Interface) SetL2vpnTermination(v L2VPNTermination)` +`func (o *Interface) SetL2vpnTermination(v BriefL2VPNTermination)` SetL2vpnTermination sets L2vpnTermination field to given value. @@ -1178,6 +1214,16 @@ and a boolean to check if the value has been set. SetConnectedEndpoints sets ConnectedEndpoints field to given value. +### SetConnectedEndpointsNil + +`func (o *Interface) SetConnectedEndpointsNil(b bool)` + + SetConnectedEndpointsNil sets the value for ConnectedEndpoints to be an explicit nil + +### UnsetConnectedEndpoints +`func (o *Interface) UnsetConnectedEndpoints()` + +UnsetConnectedEndpoints ensures that no value is present for ConnectedEndpoints, not even an explicit nil ### GetConnectedEndpointsType `func (o *Interface) GetConnectedEndpointsType() string` @@ -1198,6 +1244,16 @@ and a boolean to check if the value has been set. SetConnectedEndpointsType sets ConnectedEndpointsType field to given value. +### SetConnectedEndpointsTypeNil + +`func (o *Interface) SetConnectedEndpointsTypeNil(b bool)` + + SetConnectedEndpointsTypeNil sets the value for ConnectedEndpointsType to be an explicit nil + +### UnsetConnectedEndpointsType +`func (o *Interface) UnsetConnectedEndpointsType()` + +UnsetConnectedEndpointsType ensures that no value is present for ConnectedEndpointsType, not even an explicit nil ### GetConnectedEndpointsReachable `func (o *Interface) GetConnectedEndpointsReachable() bool` diff --git a/docs/InterfaceRequest.md b/docs/InterfaceRequest.md index 9a58216f3..2a12dd4c4 100644 --- a/docs/InterfaceRequest.md +++ b/docs/InterfaceRequest.md @@ -4,9 +4,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Device** | [**DeviceRequest**](DeviceRequest.md) | | +**Device** | [**BriefDeviceRequest**](BriefDeviceRequest.md) | | **Vdcs** | Pointer to **[]int32** | | [optional] -**Module** | Pointer to [**NullableModuleRequest**](ModuleRequest.md) | | [optional] +**Module** | Pointer to [**NullableBriefModuleRequest**](BriefModuleRequest.md) | | [optional] **Name** | **string** | | **Label** | Pointer to **string** | Physical label | [optional] **Type** | [**InterfaceTypeValue**](InterfaceTypeValue.md) | | @@ -29,11 +29,11 @@ Name | Type | Description | Notes **RfChannelFrequency** | Pointer to **NullableFloat64** | Populated by selected channel (if set) | [optional] **RfChannelWidth** | Pointer to **NullableFloat64** | Populated by selected channel (if set) | [optional] **TxPower** | Pointer to **NullableInt32** | | [optional] -**UntaggedVlan** | Pointer to [**NullableVLANRequest**](VLANRequest.md) | | [optional] +**UntaggedVlan** | Pointer to [**NullableBriefVLANRequest**](BriefVLANRequest.md) | | [optional] **TaggedVlans** | Pointer to **[]int32** | | [optional] **MarkConnected** | Pointer to **bool** | Treat as if a cable is connected | [optional] **WirelessLans** | Pointer to **[]int32** | | [optional] -**Vrf** | Pointer to [**NullableVRFRequest**](VRFRequest.md) | | [optional] +**Vrf** | Pointer to [**NullableBriefVRFRequest**](BriefVRFRequest.md) | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] @@ -41,7 +41,7 @@ Name | Type | Description | Notes ### NewInterfaceRequest -`func NewInterfaceRequest(device DeviceRequest, name string, type_ InterfaceTypeValue, ) *InterfaceRequest` +`func NewInterfaceRequest(device BriefDeviceRequest, name string, type_ InterfaceTypeValue, ) *InterfaceRequest` NewInterfaceRequest instantiates a new InterfaceRequest object This constructor will assign default values to properties that have it defined, @@ -58,20 +58,20 @@ but it doesn't guarantee that properties required by API are set ### GetDevice -`func (o *InterfaceRequest) GetDevice() DeviceRequest` +`func (o *InterfaceRequest) GetDevice() BriefDeviceRequest` GetDevice returns the Device field if non-nil, zero value otherwise. ### GetDeviceOk -`func (o *InterfaceRequest) GetDeviceOk() (*DeviceRequest, bool)` +`func (o *InterfaceRequest) GetDeviceOk() (*BriefDeviceRequest, 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 *InterfaceRequest) SetDevice(v DeviceRequest)` +`func (o *InterfaceRequest) SetDevice(v BriefDeviceRequest)` SetDevice sets Device field to given value. @@ -103,20 +103,20 @@ HasVdcs returns a boolean if a field has been set. ### GetModule -`func (o *InterfaceRequest) GetModule() ModuleRequest` +`func (o *InterfaceRequest) GetModule() BriefModuleRequest` GetModule returns the Module field if non-nil, zero value otherwise. ### GetModuleOk -`func (o *InterfaceRequest) GetModuleOk() (*ModuleRequest, bool)` +`func (o *InterfaceRequest) GetModuleOk() (*BriefModuleRequest, bool)` GetModuleOk returns a tuple with the Module field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetModule -`func (o *InterfaceRequest) SetModule(v ModuleRequest)` +`func (o *InterfaceRequest) SetModule(v BriefModuleRequest)` SetModule sets Module field to given value. @@ -788,20 +788,20 @@ HasTxPower returns a boolean if a field has been set. UnsetTxPower ensures that no value is present for TxPower, not even an explicit nil ### GetUntaggedVlan -`func (o *InterfaceRequest) GetUntaggedVlan() VLANRequest` +`func (o *InterfaceRequest) GetUntaggedVlan() BriefVLANRequest` GetUntaggedVlan returns the UntaggedVlan field if non-nil, zero value otherwise. ### GetUntaggedVlanOk -`func (o *InterfaceRequest) GetUntaggedVlanOk() (*VLANRequest, bool)` +`func (o *InterfaceRequest) GetUntaggedVlanOk() (*BriefVLANRequest, bool)` GetUntaggedVlanOk returns a tuple with the UntaggedVlan field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUntaggedVlan -`func (o *InterfaceRequest) SetUntaggedVlan(v VLANRequest)` +`func (o *InterfaceRequest) SetUntaggedVlan(v BriefVLANRequest)` SetUntaggedVlan sets UntaggedVlan field to given value. @@ -898,20 +898,20 @@ HasWirelessLans returns a boolean if a field has been set. ### GetVrf -`func (o *InterfaceRequest) GetVrf() VRFRequest` +`func (o *InterfaceRequest) GetVrf() BriefVRFRequest` GetVrf returns the Vrf field if non-nil, zero value otherwise. ### GetVrfOk -`func (o *InterfaceRequest) GetVrfOk() (*VRFRequest, bool)` +`func (o *InterfaceRequest) GetVrfOk() (*BriefVRFRequest, bool)` GetVrfOk returns a tuple with the Vrf field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVrf -`func (o *InterfaceRequest) SetVrf(v VRFRequest)` +`func (o *InterfaceRequest) SetVrf(v BriefVRFRequest)` SetVrf sets Vrf field to given value. diff --git a/docs/InterfaceTemplate.md b/docs/InterfaceTemplate.md index fe7c519cd..447d3bcb8 100644 --- a/docs/InterfaceTemplate.md +++ b/docs/InterfaceTemplate.md @@ -7,8 +7,8 @@ Name | Type | Description | Notes **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] **Display** | **string** | | [readonly] -**DeviceType** | Pointer to [**NullableDeviceType**](DeviceType.md) | | [optional] -**ModuleType** | Pointer to [**NullableModuleType**](ModuleType.md) | | [optional] +**DeviceType** | Pointer to [**NullableBriefDeviceType**](BriefDeviceType.md) | | [optional] +**ModuleType** | Pointer to [**NullableBriefModuleType**](BriefModuleType.md) | | [optional] **Name** | **string** | {module} is accepted as a substitution for the module bay position when attached to a module type. | **Label** | Pointer to **string** | Physical label | [optional] **Type** | [**InterfaceType**](InterfaceType.md) | | @@ -103,20 +103,20 @@ SetDisplay sets Display field to given value. ### GetDeviceType -`func (o *InterfaceTemplate) GetDeviceType() DeviceType` +`func (o *InterfaceTemplate) GetDeviceType() BriefDeviceType` GetDeviceType returns the DeviceType field if non-nil, zero value otherwise. ### GetDeviceTypeOk -`func (o *InterfaceTemplate) GetDeviceTypeOk() (*DeviceType, bool)` +`func (o *InterfaceTemplate) GetDeviceTypeOk() (*BriefDeviceType, bool)` GetDeviceTypeOk returns a tuple with the DeviceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDeviceType -`func (o *InterfaceTemplate) SetDeviceType(v DeviceType)` +`func (o *InterfaceTemplate) SetDeviceType(v BriefDeviceType)` SetDeviceType sets DeviceType field to given value. @@ -138,20 +138,20 @@ HasDeviceType returns a boolean if a field has been set. UnsetDeviceType ensures that no value is present for DeviceType, not even an explicit nil ### GetModuleType -`func (o *InterfaceTemplate) GetModuleType() ModuleType` +`func (o *InterfaceTemplate) GetModuleType() BriefModuleType` GetModuleType returns the ModuleType field if non-nil, zero value otherwise. ### GetModuleTypeOk -`func (o *InterfaceTemplate) GetModuleTypeOk() (*ModuleType, bool)` +`func (o *InterfaceTemplate) GetModuleTypeOk() (*BriefModuleType, bool)` GetModuleTypeOk returns a tuple with the ModuleType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetModuleType -`func (o *InterfaceTemplate) SetModuleType(v ModuleType)` +`func (o *InterfaceTemplate) SetModuleType(v BriefModuleType)` SetModuleType sets ModuleType field to given value. diff --git a/docs/InterfaceTemplateRequest.md b/docs/InterfaceTemplateRequest.md index e916c8116..5646cf9a6 100644 --- a/docs/InterfaceTemplateRequest.md +++ b/docs/InterfaceTemplateRequest.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**DeviceType** | Pointer to [**NullableDeviceTypeRequest**](DeviceTypeRequest.md) | | [optional] -**ModuleType** | Pointer to [**NullableModuleTypeRequest**](ModuleTypeRequest.md) | | [optional] +**DeviceType** | Pointer to [**NullableBriefDeviceTypeRequest**](BriefDeviceTypeRequest.md) | | [optional] +**ModuleType** | Pointer to [**NullableBriefModuleTypeRequest**](BriefModuleTypeRequest.md) | | [optional] **Name** | **string** | {module} is accepted as a substitution for the module bay position when attached to a module type. | **Label** | Pointer to **string** | Physical label | [optional] **Type** | [**InterfaceTypeValue**](InterfaceTypeValue.md) | | @@ -38,20 +38,20 @@ but it doesn't guarantee that properties required by API are set ### GetDeviceType -`func (o *InterfaceTemplateRequest) GetDeviceType() DeviceTypeRequest` +`func (o *InterfaceTemplateRequest) GetDeviceType() BriefDeviceTypeRequest` GetDeviceType returns the DeviceType field if non-nil, zero value otherwise. ### GetDeviceTypeOk -`func (o *InterfaceTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool)` +`func (o *InterfaceTemplateRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool)` GetDeviceTypeOk returns a tuple with the DeviceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDeviceType -`func (o *InterfaceTemplateRequest) SetDeviceType(v DeviceTypeRequest)` +`func (o *InterfaceTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest)` SetDeviceType sets DeviceType field to given value. @@ -73,20 +73,20 @@ HasDeviceType returns a boolean if a field has been set. UnsetDeviceType ensures that no value is present for DeviceType, not even an explicit nil ### GetModuleType -`func (o *InterfaceTemplateRequest) GetModuleType() ModuleTypeRequest` +`func (o *InterfaceTemplateRequest) GetModuleType() BriefModuleTypeRequest` GetModuleType returns the ModuleType field if non-nil, zero value otherwise. ### GetModuleTypeOk -`func (o *InterfaceTemplateRequest) GetModuleTypeOk() (*ModuleTypeRequest, bool)` +`func (o *InterfaceTemplateRequest) GetModuleTypeOk() (*BriefModuleTypeRequest, bool)` GetModuleTypeOk returns a tuple with the ModuleType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetModuleType -`func (o *InterfaceTemplateRequest) SetModuleType(v ModuleTypeRequest)` +`func (o *InterfaceTemplateRequest) SetModuleType(v BriefModuleTypeRequest)` SetModuleType sets ModuleType field to given value. diff --git a/docs/InterfaceTypeLabel.md b/docs/InterfaceTypeLabel.md index 74891e8c2..5c1c058d7 100644 --- a/docs/InterfaceTypeLabel.md +++ b/docs/InterfaceTypeLabel.md @@ -19,6 +19,8 @@ * `_1000_BASE_T__1_GE` (value: `"1000BASE-T (1GE)"`) +* `_1000_BASE_TX__1_GE` (value: `"1000BASE-TX (1GE)"`) + * `_2_5_GBASE_T__2_5_GE` (value: `"2.5GBASE-T (2.5GE)"`) * `_5_GBASE_T__5_GE` (value: `"5GBASE-T (5GE)"`) @@ -27,6 +29,8 @@ * `_10_GBASE_CX4__10_GE` (value: `"10GBASE-CX4 (10GE)"`) +* `SFP__100_ME` (value: `"SFP (100ME)"`) + * `GBIC__1_GE` (value: `"GBIC (1GE)"`) * `SFP__1_GE` (value: `"SFP (1GE)"`) @@ -125,8 +129,12 @@ * `IEEE_802_11AY` (value: `"IEEE 802.11ay"`) +* `IEEE_802_11BE` (value: `"IEEE 802.11be"`) + * `IEEE_802_15_1__BLUETOOTH` (value: `"IEEE 802.15.1 (Bluetooth)"`) +* `IEEE_802_15_4__LR_WPAN` (value: `"IEEE 802.15.4 (LR-WPAN)"`) + * `OTHER__WIRELESS` (value: `"Other (Wireless)"`) * `GSM` (value: `"GSM"`) diff --git a/docs/InterfaceTypeValue.md b/docs/InterfaceTypeValue.md index 4d0b0417f..63c4c5dd4 100644 --- a/docs/InterfaceTypeValue.md +++ b/docs/InterfaceTypeValue.md @@ -19,6 +19,8 @@ * `_1000BASE_T` (value: `"1000base-t"`) +* `_1000BASE_TX` (value: `"1000base-tx"`) + * `_2_5GBASE_T` (value: `"2.5gbase-t"`) * `_5GBASE_T` (value: `"5gbase-t"`) @@ -27,6 +29,8 @@ * `_10GBASE_CX4` (value: `"10gbase-cx4"`) +* `_100BASE_X_SFP` (value: `"100base-x-sfp"`) + * `_1000BASE_X_GBIC` (value: `"1000base-x-gbic"`) * `_1000BASE_X_SFP` (value: `"1000base-x-sfp"`) @@ -125,8 +129,12 @@ * `IEEE802_11AY` (value: `"ieee802.11ay"`) +* `IEEE802_11BE` (value: `"ieee802.11be"`) + * `IEEE802_15_1` (value: `"ieee802.15.1"`) +* `IEEE802_15_4` (value: `"ieee802.15.4"`) + * `OTHER_WIRELESS` (value: `"other-wireless"`) * `GSM` (value: `"gsm"`) diff --git a/docs/InventoryItem.md b/docs/InventoryItem.md index 899e554b9..05f5183d7 100644 --- a/docs/InventoryItem.md +++ b/docs/InventoryItem.md @@ -6,13 +6,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] -**Device** | [**Device**](Device.md) | | +**Device** | [**BriefDevice**](BriefDevice.md) | | **Parent** | Pointer to **NullableInt32** | | [optional] **Name** | **string** | | **Label** | Pointer to **string** | Physical label | [optional] -**Role** | Pointer to [**NullableInventoryItemRole**](InventoryItemRole.md) | | [optional] -**Manufacturer** | Pointer to [**NullableManufacturer**](Manufacturer.md) | | [optional] +**Role** | Pointer to [**NullableBriefInventoryItemRole**](BriefInventoryItemRole.md) | | [optional] +**Manufacturer** | Pointer to [**NullableBriefManufacturer**](BriefManufacturer.md) | | [optional] **PartId** | Pointer to **string** | Manufacturer-assigned part identifier | [optional] **Serial** | Pointer to **string** | | [optional] **AssetTag** | Pointer to **NullableString** | A unique tag used to identify this item | [optional] @@ -31,7 +32,7 @@ Name | Type | Description | Notes ### NewInventoryItem -`func NewInventoryItem(id int32, url string, display string, device Device, name string, component interface{}, created NullableTime, lastUpdated NullableTime, depth int32, ) *InventoryItem` +`func NewInventoryItem(id int32, url string, display string, device BriefDevice, name string, component interface{}, created NullableTime, lastUpdated NullableTime, depth int32, ) *InventoryItem` NewInventoryItem instantiates a new InventoryItem object This constructor will assign default values to properties that have it defined, @@ -86,6 +87,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *InventoryItem) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *InventoryItem) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *InventoryItem) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *InventoryItem) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *InventoryItem) GetDisplay() string` @@ -108,20 +134,20 @@ SetDisplay sets Display field to given value. ### GetDevice -`func (o *InventoryItem) GetDevice() Device` +`func (o *InventoryItem) GetDevice() BriefDevice` GetDevice returns the Device field if non-nil, zero value otherwise. ### GetDeviceOk -`func (o *InventoryItem) GetDeviceOk() (*Device, bool)` +`func (o *InventoryItem) GetDeviceOk() (*BriefDevice, 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 *InventoryItem) SetDevice(v Device)` +`func (o *InventoryItem) SetDevice(v BriefDevice)` SetDevice sets Device field to given value. @@ -208,20 +234,20 @@ HasLabel returns a boolean if a field has been set. ### GetRole -`func (o *InventoryItem) GetRole() InventoryItemRole` +`func (o *InventoryItem) GetRole() BriefInventoryItemRole` GetRole returns the Role field if non-nil, zero value otherwise. ### GetRoleOk -`func (o *InventoryItem) GetRoleOk() (*InventoryItemRole, bool)` +`func (o *InventoryItem) GetRoleOk() (*BriefInventoryItemRole, 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 *InventoryItem) SetRole(v InventoryItemRole)` +`func (o *InventoryItem) SetRole(v BriefInventoryItemRole)` SetRole sets Role field to given value. @@ -243,20 +269,20 @@ HasRole returns a boolean if a field has been set. UnsetRole ensures that no value is present for Role, not even an explicit nil ### GetManufacturer -`func (o *InventoryItem) GetManufacturer() Manufacturer` +`func (o *InventoryItem) GetManufacturer() BriefManufacturer` GetManufacturer returns the Manufacturer field if non-nil, zero value otherwise. ### GetManufacturerOk -`func (o *InventoryItem) GetManufacturerOk() (*Manufacturer, bool)` +`func (o *InventoryItem) GetManufacturerOk() (*BriefManufacturer, bool)` GetManufacturerOk returns a tuple with the Manufacturer field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetManufacturer -`func (o *InventoryItem) SetManufacturer(v Manufacturer)` +`func (o *InventoryItem) SetManufacturer(v BriefManufacturer)` SetManufacturer sets Manufacturer field to given value. diff --git a/docs/InventoryItemRequest.md b/docs/InventoryItemRequest.md index 580df6b26..8fe8b8c2d 100644 --- a/docs/InventoryItemRequest.md +++ b/docs/InventoryItemRequest.md @@ -4,12 +4,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Device** | [**DeviceRequest**](DeviceRequest.md) | | +**Device** | [**BriefDeviceRequest**](BriefDeviceRequest.md) | | **Parent** | Pointer to **NullableInt32** | | [optional] **Name** | **string** | | **Label** | Pointer to **string** | Physical label | [optional] -**Role** | Pointer to [**NullableInventoryItemRoleRequest**](InventoryItemRoleRequest.md) | | [optional] -**Manufacturer** | Pointer to [**NullableManufacturerRequest**](ManufacturerRequest.md) | | [optional] +**Role** | Pointer to [**NullableBriefInventoryItemRoleRequest**](BriefInventoryItemRoleRequest.md) | | [optional] +**Manufacturer** | Pointer to [**NullableBriefManufacturerRequest**](BriefManufacturerRequest.md) | | [optional] **PartId** | Pointer to **string** | Manufacturer-assigned part identifier | [optional] **Serial** | Pointer to **string** | | [optional] **AssetTag** | Pointer to **NullableString** | A unique tag used to identify this item | [optional] @@ -24,7 +24,7 @@ Name | Type | Description | Notes ### NewInventoryItemRequest -`func NewInventoryItemRequest(device DeviceRequest, name string, ) *InventoryItemRequest` +`func NewInventoryItemRequest(device BriefDeviceRequest, name string, ) *InventoryItemRequest` NewInventoryItemRequest instantiates a new InventoryItemRequest object This constructor will assign default values to properties that have it defined, @@ -41,20 +41,20 @@ but it doesn't guarantee that properties required by API are set ### GetDevice -`func (o *InventoryItemRequest) GetDevice() DeviceRequest` +`func (o *InventoryItemRequest) GetDevice() BriefDeviceRequest` GetDevice returns the Device field if non-nil, zero value otherwise. ### GetDeviceOk -`func (o *InventoryItemRequest) GetDeviceOk() (*DeviceRequest, bool)` +`func (o *InventoryItemRequest) GetDeviceOk() (*BriefDeviceRequest, 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 *InventoryItemRequest) SetDevice(v DeviceRequest)` +`func (o *InventoryItemRequest) SetDevice(v BriefDeviceRequest)` SetDevice sets Device field to given value. @@ -141,20 +141,20 @@ HasLabel returns a boolean if a field has been set. ### GetRole -`func (o *InventoryItemRequest) GetRole() InventoryItemRoleRequest` +`func (o *InventoryItemRequest) GetRole() BriefInventoryItemRoleRequest` GetRole returns the Role field if non-nil, zero value otherwise. ### GetRoleOk -`func (o *InventoryItemRequest) GetRoleOk() (*InventoryItemRoleRequest, bool)` +`func (o *InventoryItemRequest) GetRoleOk() (*BriefInventoryItemRoleRequest, 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 *InventoryItemRequest) SetRole(v InventoryItemRoleRequest)` +`func (o *InventoryItemRequest) SetRole(v BriefInventoryItemRoleRequest)` SetRole sets Role field to given value. @@ -176,20 +176,20 @@ HasRole returns a boolean if a field has been set. UnsetRole ensures that no value is present for Role, not even an explicit nil ### GetManufacturer -`func (o *InventoryItemRequest) GetManufacturer() ManufacturerRequest` +`func (o *InventoryItemRequest) GetManufacturer() BriefManufacturerRequest` GetManufacturer returns the Manufacturer field if non-nil, zero value otherwise. ### GetManufacturerOk -`func (o *InventoryItemRequest) GetManufacturerOk() (*ManufacturerRequest, bool)` +`func (o *InventoryItemRequest) GetManufacturerOk() (*BriefManufacturerRequest, bool)` GetManufacturerOk returns a tuple with the Manufacturer field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetManufacturer -`func (o *InventoryItemRequest) SetManufacturer(v ManufacturerRequest)` +`func (o *InventoryItemRequest) SetManufacturer(v BriefManufacturerRequest)` SetManufacturer sets Manufacturer field to given value. diff --git a/docs/InventoryItemRole.md b/docs/InventoryItemRole.md index ffd538ba1..06fb2012a 100644 --- a/docs/InventoryItemRole.md +++ b/docs/InventoryItemRole.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Name** | **string** | | **Slug** | **string** | | @@ -76,6 +77,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *InventoryItemRole) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *InventoryItemRole) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *InventoryItemRole) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *InventoryItemRole) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *InventoryItemRole) GetDisplay() string` diff --git a/docs/InventoryItemTemplate.md b/docs/InventoryItemTemplate.md index 94833b0ef..eddb4a2b3 100644 --- a/docs/InventoryItemTemplate.md +++ b/docs/InventoryItemTemplate.md @@ -7,12 +7,12 @@ Name | Type | Description | Notes **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] **Display** | **string** | | [readonly] -**DeviceType** | [**DeviceType**](DeviceType.md) | | +**DeviceType** | [**BriefDeviceType**](BriefDeviceType.md) | | **Parent** | Pointer to **NullableInt32** | | [optional] **Name** | **string** | {module} is accepted as a substitution for the module bay position when attached to a module type. | **Label** | Pointer to **string** | Physical label | [optional] -**Role** | Pointer to [**NullableInventoryItemRole**](InventoryItemRole.md) | | [optional] -**Manufacturer** | Pointer to [**NullableManufacturer**](Manufacturer.md) | | [optional] +**Role** | Pointer to [**NullableBriefInventoryItemRole**](BriefInventoryItemRole.md) | | [optional] +**Manufacturer** | Pointer to [**NullableBriefManufacturer**](BriefManufacturer.md) | | [optional] **PartId** | Pointer to **string** | Manufacturer-assigned part identifier | [optional] **Description** | Pointer to **string** | | [optional] **ComponentType** | Pointer to **NullableString** | | [optional] @@ -26,7 +26,7 @@ Name | Type | Description | Notes ### NewInventoryItemTemplate -`func NewInventoryItemTemplate(id int32, url string, display string, deviceType DeviceType, name string, component interface{}, created NullableTime, lastUpdated NullableTime, depth int32, ) *InventoryItemTemplate` +`func NewInventoryItemTemplate(id int32, url string, display string, deviceType BriefDeviceType, name string, component interface{}, created NullableTime, lastUpdated NullableTime, depth int32, ) *InventoryItemTemplate` NewInventoryItemTemplate instantiates a new InventoryItemTemplate object This constructor will assign default values to properties that have it defined, @@ -103,20 +103,20 @@ SetDisplay sets Display field to given value. ### GetDeviceType -`func (o *InventoryItemTemplate) GetDeviceType() DeviceType` +`func (o *InventoryItemTemplate) GetDeviceType() BriefDeviceType` GetDeviceType returns the DeviceType field if non-nil, zero value otherwise. ### GetDeviceTypeOk -`func (o *InventoryItemTemplate) GetDeviceTypeOk() (*DeviceType, bool)` +`func (o *InventoryItemTemplate) GetDeviceTypeOk() (*BriefDeviceType, bool)` GetDeviceTypeOk returns a tuple with the DeviceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDeviceType -`func (o *InventoryItemTemplate) SetDeviceType(v DeviceType)` +`func (o *InventoryItemTemplate) SetDeviceType(v BriefDeviceType)` SetDeviceType sets DeviceType field to given value. @@ -203,20 +203,20 @@ HasLabel returns a boolean if a field has been set. ### GetRole -`func (o *InventoryItemTemplate) GetRole() InventoryItemRole` +`func (o *InventoryItemTemplate) GetRole() BriefInventoryItemRole` GetRole returns the Role field if non-nil, zero value otherwise. ### GetRoleOk -`func (o *InventoryItemTemplate) GetRoleOk() (*InventoryItemRole, bool)` +`func (o *InventoryItemTemplate) GetRoleOk() (*BriefInventoryItemRole, 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 *InventoryItemTemplate) SetRole(v InventoryItemRole)` +`func (o *InventoryItemTemplate) SetRole(v BriefInventoryItemRole)` SetRole sets Role field to given value. @@ -238,20 +238,20 @@ HasRole returns a boolean if a field has been set. UnsetRole ensures that no value is present for Role, not even an explicit nil ### GetManufacturer -`func (o *InventoryItemTemplate) GetManufacturer() Manufacturer` +`func (o *InventoryItemTemplate) GetManufacturer() BriefManufacturer` GetManufacturer returns the Manufacturer field if non-nil, zero value otherwise. ### GetManufacturerOk -`func (o *InventoryItemTemplate) GetManufacturerOk() (*Manufacturer, bool)` +`func (o *InventoryItemTemplate) GetManufacturerOk() (*BriefManufacturer, bool)` GetManufacturerOk returns a tuple with the Manufacturer field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetManufacturer -`func (o *InventoryItemTemplate) SetManufacturer(v Manufacturer)` +`func (o *InventoryItemTemplate) SetManufacturer(v BriefManufacturer)` SetManufacturer sets Manufacturer field to given value. diff --git a/docs/InventoryItemTemplateRequest.md b/docs/InventoryItemTemplateRequest.md index fb68460d1..c73bbf2c3 100644 --- a/docs/InventoryItemTemplateRequest.md +++ b/docs/InventoryItemTemplateRequest.md @@ -4,12 +4,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**DeviceType** | [**DeviceTypeRequest**](DeviceTypeRequest.md) | | +**DeviceType** | [**BriefDeviceTypeRequest**](BriefDeviceTypeRequest.md) | | **Parent** | Pointer to **NullableInt32** | | [optional] **Name** | **string** | {module} is accepted as a substitution for the module bay position when attached to a module type. | **Label** | Pointer to **string** | Physical label | [optional] -**Role** | Pointer to [**NullableInventoryItemRoleRequest**](InventoryItemRoleRequest.md) | | [optional] -**Manufacturer** | Pointer to [**NullableManufacturerRequest**](ManufacturerRequest.md) | | [optional] +**Role** | Pointer to [**NullableBriefInventoryItemRoleRequest**](BriefInventoryItemRoleRequest.md) | | [optional] +**Manufacturer** | Pointer to [**NullableBriefManufacturerRequest**](BriefManufacturerRequest.md) | | [optional] **PartId** | Pointer to **string** | Manufacturer-assigned part identifier | [optional] **Description** | Pointer to **string** | | [optional] **ComponentType** | Pointer to **NullableString** | | [optional] @@ -19,7 +19,7 @@ Name | Type | Description | Notes ### NewInventoryItemTemplateRequest -`func NewInventoryItemTemplateRequest(deviceType DeviceTypeRequest, name string, ) *InventoryItemTemplateRequest` +`func NewInventoryItemTemplateRequest(deviceType BriefDeviceTypeRequest, name string, ) *InventoryItemTemplateRequest` NewInventoryItemTemplateRequest instantiates a new InventoryItemTemplateRequest object This constructor will assign default values to properties that have it defined, @@ -36,20 +36,20 @@ but it doesn't guarantee that properties required by API are set ### GetDeviceType -`func (o *InventoryItemTemplateRequest) GetDeviceType() DeviceTypeRequest` +`func (o *InventoryItemTemplateRequest) GetDeviceType() BriefDeviceTypeRequest` GetDeviceType returns the DeviceType field if non-nil, zero value otherwise. ### GetDeviceTypeOk -`func (o *InventoryItemTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool)` +`func (o *InventoryItemTemplateRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool)` GetDeviceTypeOk returns a tuple with the DeviceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDeviceType -`func (o *InventoryItemTemplateRequest) SetDeviceType(v DeviceTypeRequest)` +`func (o *InventoryItemTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest)` SetDeviceType sets DeviceType field to given value. @@ -136,20 +136,20 @@ HasLabel returns a boolean if a field has been set. ### GetRole -`func (o *InventoryItemTemplateRequest) GetRole() InventoryItemRoleRequest` +`func (o *InventoryItemTemplateRequest) GetRole() BriefInventoryItemRoleRequest` GetRole returns the Role field if non-nil, zero value otherwise. ### GetRoleOk -`func (o *InventoryItemTemplateRequest) GetRoleOk() (*InventoryItemRoleRequest, bool)` +`func (o *InventoryItemTemplateRequest) GetRoleOk() (*BriefInventoryItemRoleRequest, 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 *InventoryItemTemplateRequest) SetRole(v InventoryItemRoleRequest)` +`func (o *InventoryItemTemplateRequest) SetRole(v BriefInventoryItemRoleRequest)` SetRole sets Role field to given value. @@ -171,20 +171,20 @@ HasRole returns a boolean if a field has been set. UnsetRole ensures that no value is present for Role, not even an explicit nil ### GetManufacturer -`func (o *InventoryItemTemplateRequest) GetManufacturer() ManufacturerRequest` +`func (o *InventoryItemTemplateRequest) GetManufacturer() BriefManufacturerRequest` GetManufacturer returns the Manufacturer field if non-nil, zero value otherwise. ### GetManufacturerOk -`func (o *InventoryItemTemplateRequest) GetManufacturerOk() (*ManufacturerRequest, bool)` +`func (o *InventoryItemTemplateRequest) GetManufacturerOk() (*BriefManufacturerRequest, bool)` GetManufacturerOk returns a tuple with the Manufacturer field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetManufacturer -`func (o *InventoryItemTemplateRequest) SetManufacturer(v ManufacturerRequest)` +`func (o *InventoryItemTemplateRequest) SetManufacturer(v BriefManufacturerRequest)` SetManufacturer sets Manufacturer field to given value. diff --git a/docs/IpamAPI.md b/docs/IpamAPI.md index 3113766da..b2aadf76a 100644 --- a/docs/IpamAPI.md +++ b/docs/IpamAPI.md @@ -182,7 +182,7 @@ import ( ) func main() { - aggregateRequest := []openapiclient.AggregateRequest{*openapiclient.NewAggregateRequest("Prefix_example", *openapiclient.NewRIRRequest("Name_example", "Slug_example"))} // []AggregateRequest | + aggregateRequest := []openapiclient.AggregateRequest{*openapiclient.NewAggregateRequest("Prefix_example", *openapiclient.NewBriefRIRRequest("Name_example", "Slug_example"))} // []AggregateRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -246,7 +246,7 @@ import ( ) func main() { - aggregateRequest := []openapiclient.AggregateRequest{*openapiclient.NewAggregateRequest("Prefix_example", *openapiclient.NewRIRRequest("Name_example", "Slug_example"))} // []AggregateRequest | + aggregateRequest := []openapiclient.AggregateRequest{*openapiclient.NewAggregateRequest("Prefix_example", *openapiclient.NewBriefRIRRequest("Name_example", "Slug_example"))} // []AggregateRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -312,7 +312,7 @@ import ( ) func main() { - aggregateRequest := []openapiclient.AggregateRequest{*openapiclient.NewAggregateRequest("Prefix_example", *openapiclient.NewRIRRequest("Name_example", "Slug_example"))} // []AggregateRequest | + aggregateRequest := []openapiclient.AggregateRequest{*openapiclient.NewAggregateRequest("Prefix_example", *openapiclient.NewBriefRIRRequest("Name_example", "Slug_example"))} // []AggregateRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -378,7 +378,7 @@ import ( ) func main() { - writableAggregateRequest := *openapiclient.NewWritableAggregateRequest("Prefix_example", *openapiclient.NewRIRRequest("Name_example", "Slug_example")) // WritableAggregateRequest | + writableAggregateRequest := *openapiclient.NewWritableAggregateRequest("Prefix_example", *openapiclient.NewBriefRIRRequest("Name_example", "Slug_example")) // WritableAggregateRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -568,10 +568,10 @@ func main() { tagN := []string{"Inner_example"} // []string | (optional) tenant := []string{"Inner_example"} // []string | Tenant (slug) (optional) tenantN := []string{"Inner_example"} // []string | Tenant (slug) (optional) - tenantGroup := []int32{int32(123)} // []int32 | Tenant Group (slug) (optional) - tenantGroupN := []int32{int32(123)} // []int32 | Tenant Group (slug) (optional) - tenantGroupId := []int32{int32(123)} // []int32 | Tenant Group (ID) (optional) - tenantGroupIdN := []int32{int32(123)} // []int32 | Tenant Group (ID) (optional) + tenantGroup := []string{"Inner_example"} // []string | (optional) + tenantGroupN := []string{"Inner_example"} // []string | (optional) + tenantGroupId := []string{"Inner_example"} // []string | (optional) + tenantGroupIdN := []string{"Inner_example"} // []string | (optional) tenantId := []*int32{int32(123)} // []*int32 | Tenant (ID) (optional) tenantIdN := []*int32{int32(123)} // []*int32 | Tenant (ID) (optional) updatedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) @@ -654,10 +654,10 @@ Name | Type | Description | Notes **tagN** | **[]string** | | **tenant** | **[]string** | Tenant (slug) | **tenantN** | **[]string** | Tenant (slug) | - **tenantGroup** | **[]int32** | Tenant Group (slug) | - **tenantGroupN** | **[]int32** | Tenant Group (slug) | - **tenantGroupId** | **[]int32** | Tenant Group (ID) | - **tenantGroupIdN** | **[]int32** | Tenant Group (ID) | + **tenantGroup** | **[]string** | | + **tenantGroupN** | **[]string** | | + **tenantGroupId** | **[]string** | | + **tenantGroupIdN** | **[]string** | | **tenantId** | **[]int32** | Tenant (ID) | **tenantIdN** | **[]int32** | Tenant (ID) | **updatedByRequest** | **string** | | @@ -844,7 +844,7 @@ import ( func main() { id := int32(56) // int32 | A unique integer value identifying this aggregate. - writableAggregateRequest := *openapiclient.NewWritableAggregateRequest("Prefix_example", *openapiclient.NewRIRRequest("Name_example", "Slug_example")) // WritableAggregateRequest | + writableAggregateRequest := *openapiclient.NewWritableAggregateRequest("Prefix_example", *openapiclient.NewBriefRIRRequest("Name_example", "Slug_example")) // WritableAggregateRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -1057,7 +1057,7 @@ import ( ) func main() { - aSNRangeRequest := []openapiclient.ASNRangeRequest{*openapiclient.NewASNRangeRequest("Name_example", "Slug_example", *openapiclient.NewRIRRequest("Name_example", "Slug_example"), int64(123), int64(123))} // []ASNRangeRequest | + aSNRangeRequest := []openapiclient.ASNRangeRequest{*openapiclient.NewASNRangeRequest("Name_example", "Slug_example", *openapiclient.NewBriefRIRRequest("Name_example", "Slug_example"), int64(123), int64(123))} // []ASNRangeRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -1121,7 +1121,7 @@ import ( ) func main() { - aSNRangeRequest := []openapiclient.ASNRangeRequest{*openapiclient.NewASNRangeRequest("Name_example", "Slug_example", *openapiclient.NewRIRRequest("Name_example", "Slug_example"), int64(123), int64(123))} // []ASNRangeRequest | + aSNRangeRequest := []openapiclient.ASNRangeRequest{*openapiclient.NewASNRangeRequest("Name_example", "Slug_example", *openapiclient.NewBriefRIRRequest("Name_example", "Slug_example"), int64(123), int64(123))} // []ASNRangeRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -1187,7 +1187,7 @@ import ( ) func main() { - aSNRangeRequest := []openapiclient.ASNRangeRequest{*openapiclient.NewASNRangeRequest("Name_example", "Slug_example", *openapiclient.NewRIRRequest("Name_example", "Slug_example"), int64(123), int64(123))} // []ASNRangeRequest | + aSNRangeRequest := []openapiclient.ASNRangeRequest{*openapiclient.NewASNRangeRequest("Name_example", "Slug_example", *openapiclient.NewBriefRIRRequest("Name_example", "Slug_example"), int64(123), int64(123))} // []ASNRangeRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -1253,7 +1253,7 @@ import ( ) func main() { - aSNRangeRequest := *openapiclient.NewASNRangeRequest("Name_example", "Slug_example", *openapiclient.NewRIRRequest("Name_example", "Slug_example"), int64(123), int64(123)) // ASNRangeRequest | + aSNRangeRequest := *openapiclient.NewASNRangeRequest("Name_example", "Slug_example", *openapiclient.NewBriefRIRRequest("Name_example", "Slug_example"), int64(123), int64(123)) // ASNRangeRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -1470,10 +1470,10 @@ func main() { tagN := []string{"Inner_example"} // []string | (optional) tenant := []string{"Inner_example"} // []string | Tenant (slug) (optional) tenantN := []string{"Inner_example"} // []string | Tenant (slug) (optional) - tenantGroup := []int32{int32(123)} // []int32 | Tenant Group (slug) (optional) - tenantGroupN := []int32{int32(123)} // []int32 | Tenant Group (slug) (optional) - tenantGroupId := []int32{int32(123)} // []int32 | Tenant Group (ID) (optional) - tenantGroupIdN := []int32{int32(123)} // []int32 | Tenant Group (ID) (optional) + tenantGroup := []string{"Inner_example"} // []string | (optional) + tenantGroupN := []string{"Inner_example"} // []string | (optional) + tenantGroupId := []string{"Inner_example"} // []string | (optional) + tenantGroupIdN := []string{"Inner_example"} // []string | (optional) tenantId := []*int32{int32(123)} // []*int32 | Tenant (ID) (optional) tenantIdN := []*int32{int32(123)} // []*int32 | Tenant (ID) (optional) updatedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) @@ -1583,10 +1583,10 @@ Name | Type | Description | Notes **tagN** | **[]string** | | **tenant** | **[]string** | Tenant (slug) | **tenantN** | **[]string** | Tenant (slug) | - **tenantGroup** | **[]int32** | Tenant Group (slug) | - **tenantGroupN** | **[]int32** | Tenant Group (slug) | - **tenantGroupId** | **[]int32** | Tenant Group (ID) | - **tenantGroupIdN** | **[]int32** | Tenant Group (ID) | + **tenantGroup** | **[]string** | | + **tenantGroupN** | **[]string** | | + **tenantGroupId** | **[]string** | | + **tenantGroupIdN** | **[]string** | | **tenantId** | **[]int32** | Tenant (ID) | **tenantIdN** | **[]int32** | Tenant (ID) | **updatedByRequest** | **string** | | @@ -1773,7 +1773,7 @@ import ( func main() { id := int32(56) // int32 | A unique integer value identifying this ASN range. - aSNRangeRequest := *openapiclient.NewASNRangeRequest("Name_example", "Slug_example", *openapiclient.NewRIRRequest("Name_example", "Slug_example"), int64(123), int64(123)) // ASNRangeRequest | + aSNRangeRequest := *openapiclient.NewASNRangeRequest("Name_example", "Slug_example", *openapiclient.NewBriefRIRRequest("Name_example", "Slug_example"), int64(123), int64(123)) // ASNRangeRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -2236,10 +2236,10 @@ func main() { tagN := []string{"Inner_example"} // []string | (optional) tenant := []string{"Inner_example"} // []string | Tenant (slug) (optional) tenantN := []string{"Inner_example"} // []string | Tenant (slug) (optional) - tenantGroup := []int32{int32(123)} // []int32 | Tenant Group (slug) (optional) - tenantGroupN := []int32{int32(123)} // []int32 | Tenant Group (slug) (optional) - tenantGroupId := []int32{int32(123)} // []int32 | Tenant Group (ID) (optional) - tenantGroupIdN := []int32{int32(123)} // []int32 | Tenant Group (ID) (optional) + tenantGroup := []string{"Inner_example"} // []string | (optional) + tenantGroupN := []string{"Inner_example"} // []string | (optional) + tenantGroupId := []string{"Inner_example"} // []string | (optional) + tenantGroupIdN := []string{"Inner_example"} // []string | (optional) tenantId := []*int32{int32(123)} // []*int32 | Tenant (ID) (optional) tenantIdN := []*int32{int32(123)} // []*int32 | Tenant (ID) (optional) updatedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) @@ -2328,10 +2328,10 @@ Name | Type | Description | Notes **tagN** | **[]string** | | **tenant** | **[]string** | Tenant (slug) | **tenantN** | **[]string** | Tenant (slug) | - **tenantGroup** | **[]int32** | Tenant Group (slug) | - **tenantGroupN** | **[]int32** | Tenant Group (slug) | - **tenantGroupId** | **[]int32** | Tenant Group (ID) | - **tenantGroupIdN** | **[]int32** | Tenant Group (ID) | + **tenantGroup** | **[]string** | | + **tenantGroupN** | **[]string** | | + **tenantGroupId** | **[]string** | | + **tenantGroupIdN** | **[]string** | | **tenantId** | **[]int32** | Tenant (ID) | **tenantIdN** | **[]int32** | Tenant (ID) | **updatedByRequest** | **string** | | @@ -2589,7 +2589,7 @@ import ( ) func main() { - fHRPGroupAssignmentRequest := []openapiclient.FHRPGroupAssignmentRequest{*openapiclient.NewFHRPGroupAssignmentRequest(*openapiclient.NewFHRPGroupRequest(openapiclient.FHRPGroup_protocol("vrrp2"), int32(123)), "InterfaceType_example", int64(123), int32(123))} // []FHRPGroupAssignmentRequest | + fHRPGroupAssignmentRequest := []openapiclient.FHRPGroupAssignmentRequest{*openapiclient.NewFHRPGroupAssignmentRequest(*openapiclient.NewBriefFHRPGroupRequest(openapiclient.BriefFHRPGroup_protocol("vrrp2"), int32(123)), "InterfaceType_example", int64(123), int32(123))} // []FHRPGroupAssignmentRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -2653,7 +2653,7 @@ import ( ) func main() { - fHRPGroupAssignmentRequest := []openapiclient.FHRPGroupAssignmentRequest{*openapiclient.NewFHRPGroupAssignmentRequest(*openapiclient.NewFHRPGroupRequest(openapiclient.FHRPGroup_protocol("vrrp2"), int32(123)), "InterfaceType_example", int64(123), int32(123))} // []FHRPGroupAssignmentRequest | + fHRPGroupAssignmentRequest := []openapiclient.FHRPGroupAssignmentRequest{*openapiclient.NewFHRPGroupAssignmentRequest(*openapiclient.NewBriefFHRPGroupRequest(openapiclient.BriefFHRPGroup_protocol("vrrp2"), int32(123)), "InterfaceType_example", int64(123), int32(123))} // []FHRPGroupAssignmentRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -2719,7 +2719,7 @@ import ( ) func main() { - fHRPGroupAssignmentRequest := []openapiclient.FHRPGroupAssignmentRequest{*openapiclient.NewFHRPGroupAssignmentRequest(*openapiclient.NewFHRPGroupRequest(openapiclient.FHRPGroup_protocol("vrrp2"), int32(123)), "InterfaceType_example", int64(123), int32(123))} // []FHRPGroupAssignmentRequest | + fHRPGroupAssignmentRequest := []openapiclient.FHRPGroupAssignmentRequest{*openapiclient.NewFHRPGroupAssignmentRequest(*openapiclient.NewBriefFHRPGroupRequest(openapiclient.BriefFHRPGroup_protocol("vrrp2"), int32(123)), "InterfaceType_example", int64(123), int32(123))} // []FHRPGroupAssignmentRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -2785,7 +2785,7 @@ import ( ) func main() { - fHRPGroupAssignmentRequest := *openapiclient.NewFHRPGroupAssignmentRequest(*openapiclient.NewFHRPGroupRequest(openapiclient.FHRPGroup_protocol("vrrp2"), int32(123)), "InterfaceType_example", int64(123), int32(123)) // FHRPGroupAssignmentRequest | + fHRPGroupAssignmentRequest := *openapiclient.NewFHRPGroupAssignmentRequest(*openapiclient.NewBriefFHRPGroupRequest(openapiclient.BriefFHRPGroup_protocol("vrrp2"), int32(123)), "InterfaceType_example", int64(123), int32(123)) // FHRPGroupAssignmentRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -3225,7 +3225,7 @@ import ( func main() { id := int32(56) // int32 | A unique integer value identifying this FHRP group assignment. - fHRPGroupAssignmentRequest := *openapiclient.NewFHRPGroupAssignmentRequest(*openapiclient.NewFHRPGroupRequest(openapiclient.FHRPGroup_protocol("vrrp2"), int32(123)), "InterfaceType_example", int64(123), int32(123)) // FHRPGroupAssignmentRequest | + fHRPGroupAssignmentRequest := *openapiclient.NewFHRPGroupAssignmentRequest(*openapiclient.NewBriefFHRPGroupRequest(openapiclient.BriefFHRPGroup_protocol("vrrp2"), int32(123)), "InterfaceType_example", int64(123), int32(123)) // FHRPGroupAssignmentRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -3296,7 +3296,7 @@ import ( ) func main() { - fHRPGroupRequest := []openapiclient.FHRPGroupRequest{*openapiclient.NewFHRPGroupRequest(openapiclient.FHRPGroup_protocol("vrrp2"), int32(123))} // []FHRPGroupRequest | + fHRPGroupRequest := []openapiclient.FHRPGroupRequest{*openapiclient.NewFHRPGroupRequest(openapiclient.BriefFHRPGroup_protocol("vrrp2"), int32(123))} // []FHRPGroupRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -3360,7 +3360,7 @@ import ( ) func main() { - fHRPGroupRequest := []openapiclient.FHRPGroupRequest{*openapiclient.NewFHRPGroupRequest(openapiclient.FHRPGroup_protocol("vrrp2"), int32(123))} // []FHRPGroupRequest | + fHRPGroupRequest := []openapiclient.FHRPGroupRequest{*openapiclient.NewFHRPGroupRequest(openapiclient.BriefFHRPGroup_protocol("vrrp2"), int32(123))} // []FHRPGroupRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -3426,7 +3426,7 @@ import ( ) func main() { - fHRPGroupRequest := []openapiclient.FHRPGroupRequest{*openapiclient.NewFHRPGroupRequest(openapiclient.FHRPGroup_protocol("vrrp2"), int32(123))} // []FHRPGroupRequest | + fHRPGroupRequest := []openapiclient.FHRPGroupRequest{*openapiclient.NewFHRPGroupRequest(openapiclient.BriefFHRPGroup_protocol("vrrp2"), int32(123))} // []FHRPGroupRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -3492,7 +3492,7 @@ import ( ) func main() { - fHRPGroupRequest := *openapiclient.NewFHRPGroupRequest(openapiclient.FHRPGroup_protocol("vrrp2"), int32(123)) // FHRPGroupRequest | + fHRPGroupRequest := *openapiclient.NewFHRPGroupRequest(openapiclient.BriefFHRPGroup_protocol("vrrp2"), int32(123)) // FHRPGroupRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -3607,7 +3607,7 @@ Name | Type | Description | Notes ## IpamFhrpGroupsList -> PaginatedFHRPGroupList IpamFhrpGroupsList(ctx).AuthKey(authKey).AuthKeyEmpty(authKeyEmpty).AuthKeyIc(authKeyIc).AuthKeyIe(authKeyIe).AuthKeyIew(authKeyIew).AuthKeyIsw(authKeyIsw).AuthKeyN(authKeyN).AuthKeyNic(authKeyNic).AuthKeyNie(authKeyNie).AuthKeyNiew(authKeyNiew).AuthKeyNisw(authKeyNisw).AuthType(authType).AuthTypeN(authTypeN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).GroupId(groupId).GroupIdEmpty(groupIdEmpty).GroupIdGt(groupIdGt).GroupIdGte(groupIdGte).GroupIdLt(groupIdLt).GroupIdLte(groupIdLte).GroupIdN(groupIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Protocol(protocol).ProtocolN(protocolN).Q(q).RelatedIp(relatedIp).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).Execute() +> PaginatedFHRPGroupList IpamFhrpGroupsList(ctx).AuthKey(authKey).AuthKeyEmpty(authKeyEmpty).AuthKeyIc(authKeyIc).AuthKeyIe(authKeyIe).AuthKeyIew(authKeyIew).AuthKeyIsw(authKeyIsw).AuthKeyN(authKeyN).AuthKeyNic(authKeyNic).AuthKeyNie(authKeyNie).AuthKeyNiew(authKeyNiew).AuthKeyNisw(authKeyNisw).AuthType(authType).AuthTypeEmpty(authTypeEmpty).AuthTypeIc(authTypeIc).AuthTypeIe(authTypeIe).AuthTypeIew(authTypeIew).AuthTypeIsw(authTypeIsw).AuthTypeN(authTypeN).AuthTypeNic(authTypeNic).AuthTypeNie(authTypeNie).AuthTypeNiew(authTypeNiew).AuthTypeNisw(authTypeNisw).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).GroupId(groupId).GroupIdEmpty(groupIdEmpty).GroupIdGt(groupIdGt).GroupIdGte(groupIdGte).GroupIdLt(groupIdLt).GroupIdLte(groupIdLte).GroupIdN(groupIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Protocol(protocol).ProtocolEmpty(protocolEmpty).ProtocolIc(protocolIc).ProtocolIe(protocolIe).ProtocolIew(protocolIew).ProtocolIsw(protocolIsw).ProtocolN(protocolN).ProtocolNic(protocolNic).ProtocolNie(protocolNie).ProtocolNiew(protocolNiew).ProtocolNisw(protocolNisw).Q(q).RelatedIp(relatedIp).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).Execute() @@ -3639,7 +3639,16 @@ func main() { authKeyNiew := []string{"Inner_example"} // []string | (optional) authKeyNisw := []string{"Inner_example"} // []string | (optional) authType := []string{"Inner_example"} // []string | (optional) - authTypeN := []string{"Inner_example"} // []string | (optional) + authTypeEmpty := true // bool | (optional) + authTypeIc := []openapiclient.AuthenticationType{openapiclient.Authentication_type("")} // []AuthenticationType | * `plaintext` - Plaintext * `md5` - MD5 (optional) + authTypeIe := []openapiclient.AuthenticationType{openapiclient.Authentication_type("")} // []AuthenticationType | * `plaintext` - Plaintext * `md5` - MD5 (optional) + authTypeIew := []openapiclient.AuthenticationType{openapiclient.Authentication_type("")} // []AuthenticationType | * `plaintext` - Plaintext * `md5` - MD5 (optional) + authTypeIsw := []openapiclient.AuthenticationType{openapiclient.Authentication_type("")} // []AuthenticationType | * `plaintext` - Plaintext * `md5` - MD5 (optional) + authTypeN := []openapiclient.AuthenticationType{openapiclient.Authentication_type("")} // []AuthenticationType | * `plaintext` - Plaintext * `md5` - MD5 (optional) + authTypeNic := []openapiclient.AuthenticationType{openapiclient.Authentication_type("")} // []AuthenticationType | * `plaintext` - Plaintext * `md5` - MD5 (optional) + authTypeNie := []openapiclient.AuthenticationType{openapiclient.Authentication_type("")} // []AuthenticationType | * `plaintext` - Plaintext * `md5` - MD5 (optional) + authTypeNiew := []openapiclient.AuthenticationType{openapiclient.Authentication_type("")} // []AuthenticationType | * `plaintext` - Plaintext * `md5` - MD5 (optional) + authTypeNisw := []openapiclient.AuthenticationType{openapiclient.Authentication_type("")} // []AuthenticationType | * `plaintext` - Plaintext * `md5` - MD5 (optional) created := []time.Time{time.Now()} // []time.Time | (optional) createdEmpty := []time.Time{time.Now()} // []time.Time | (optional) createdGt := []time.Time{time.Now()} // []time.Time | (optional) @@ -3696,7 +3705,16 @@ func main() { offset := int32(56) // int32 | The initial index from which to return the results. (optional) ordering := "ordering_example" // string | Which field to use when ordering the results. (optional) protocol := []string{"Inner_example"} // []string | (optional) - protocolN := []string{"Inner_example"} // []string | (optional) + protocolEmpty := true // bool | (optional) + protocolIc := []openapiclient.IpamFhrpGroupsListProtocolIcParameterInner{openapiclient.ipam_fhrp_groups_list_protocol__ic_parameter_inner("carp")} // []IpamFhrpGroupsListProtocolIcParameterInner | * `vrrp2` - VRRPv2 * `vrrp3` - VRRPv3 * `carp` - CARP * `clusterxl` - ClusterXL * `hsrp` - HSRP * `glbp` - GLBP * `other` - Other (optional) + protocolIe := []openapiclient.IpamFhrpGroupsListProtocolIcParameterInner{openapiclient.ipam_fhrp_groups_list_protocol__ic_parameter_inner("carp")} // []IpamFhrpGroupsListProtocolIcParameterInner | * `vrrp2` - VRRPv2 * `vrrp3` - VRRPv3 * `carp` - CARP * `clusterxl` - ClusterXL * `hsrp` - HSRP * `glbp` - GLBP * `other` - Other (optional) + protocolIew := []openapiclient.IpamFhrpGroupsListProtocolIcParameterInner{openapiclient.ipam_fhrp_groups_list_protocol__ic_parameter_inner("carp")} // []IpamFhrpGroupsListProtocolIcParameterInner | * `vrrp2` - VRRPv2 * `vrrp3` - VRRPv3 * `carp` - CARP * `clusterxl` - ClusterXL * `hsrp` - HSRP * `glbp` - GLBP * `other` - Other (optional) + protocolIsw := []openapiclient.IpamFhrpGroupsListProtocolIcParameterInner{openapiclient.ipam_fhrp_groups_list_protocol__ic_parameter_inner("carp")} // []IpamFhrpGroupsListProtocolIcParameterInner | * `vrrp2` - VRRPv2 * `vrrp3` - VRRPv3 * `carp` - CARP * `clusterxl` - ClusterXL * `hsrp` - HSRP * `glbp` - GLBP * `other` - Other (optional) + protocolN := []openapiclient.IpamFhrpGroupsListProtocolIcParameterInner{openapiclient.ipam_fhrp_groups_list_protocol__ic_parameter_inner("carp")} // []IpamFhrpGroupsListProtocolIcParameterInner | * `vrrp2` - VRRPv2 * `vrrp3` - VRRPv3 * `carp` - CARP * `clusterxl` - ClusterXL * `hsrp` - HSRP * `glbp` - GLBP * `other` - Other (optional) + protocolNic := []openapiclient.IpamFhrpGroupsListProtocolIcParameterInner{openapiclient.ipam_fhrp_groups_list_protocol__ic_parameter_inner("carp")} // []IpamFhrpGroupsListProtocolIcParameterInner | * `vrrp2` - VRRPv2 * `vrrp3` - VRRPv3 * `carp` - CARP * `clusterxl` - ClusterXL * `hsrp` - HSRP * `glbp` - GLBP * `other` - Other (optional) + protocolNie := []openapiclient.IpamFhrpGroupsListProtocolIcParameterInner{openapiclient.ipam_fhrp_groups_list_protocol__ic_parameter_inner("carp")} // []IpamFhrpGroupsListProtocolIcParameterInner | * `vrrp2` - VRRPv2 * `vrrp3` - VRRPv3 * `carp` - CARP * `clusterxl` - ClusterXL * `hsrp` - HSRP * `glbp` - GLBP * `other` - Other (optional) + protocolNiew := []openapiclient.IpamFhrpGroupsListProtocolIcParameterInner{openapiclient.ipam_fhrp_groups_list_protocol__ic_parameter_inner("carp")} // []IpamFhrpGroupsListProtocolIcParameterInner | * `vrrp2` - VRRPv2 * `vrrp3` - VRRPv3 * `carp` - CARP * `clusterxl` - ClusterXL * `hsrp` - HSRP * `glbp` - GLBP * `other` - Other (optional) + protocolNisw := []openapiclient.IpamFhrpGroupsListProtocolIcParameterInner{openapiclient.ipam_fhrp_groups_list_protocol__ic_parameter_inner("carp")} // []IpamFhrpGroupsListProtocolIcParameterInner | * `vrrp2` - VRRPv2 * `vrrp3` - VRRPv3 * `carp` - CARP * `clusterxl` - ClusterXL * `hsrp` - HSRP * `glbp` - GLBP * `other` - Other (optional) q := "q_example" // string | Search (optional) relatedIp := []string{"Inner_example"} // []string | (optional) tag := []string{"Inner_example"} // []string | (optional) @@ -3705,7 +3723,7 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.IpamAPI.IpamFhrpGroupsList(context.Background()).AuthKey(authKey).AuthKeyEmpty(authKeyEmpty).AuthKeyIc(authKeyIc).AuthKeyIe(authKeyIe).AuthKeyIew(authKeyIew).AuthKeyIsw(authKeyIsw).AuthKeyN(authKeyN).AuthKeyNic(authKeyNic).AuthKeyNie(authKeyNie).AuthKeyNiew(authKeyNiew).AuthKeyNisw(authKeyNisw).AuthType(authType).AuthTypeN(authTypeN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).GroupId(groupId).GroupIdEmpty(groupIdEmpty).GroupIdGt(groupIdGt).GroupIdGte(groupIdGte).GroupIdLt(groupIdLt).GroupIdLte(groupIdLte).GroupIdN(groupIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Protocol(protocol).ProtocolN(protocolN).Q(q).RelatedIp(relatedIp).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).Execute() + resp, r, err := apiClient.IpamAPI.IpamFhrpGroupsList(context.Background()).AuthKey(authKey).AuthKeyEmpty(authKeyEmpty).AuthKeyIc(authKeyIc).AuthKeyIe(authKeyIe).AuthKeyIew(authKeyIew).AuthKeyIsw(authKeyIsw).AuthKeyN(authKeyN).AuthKeyNic(authKeyNic).AuthKeyNie(authKeyNie).AuthKeyNiew(authKeyNiew).AuthKeyNisw(authKeyNisw).AuthType(authType).AuthTypeEmpty(authTypeEmpty).AuthTypeIc(authTypeIc).AuthTypeIe(authTypeIe).AuthTypeIew(authTypeIew).AuthTypeIsw(authTypeIsw).AuthTypeN(authTypeN).AuthTypeNic(authTypeNic).AuthTypeNie(authTypeNie).AuthTypeNiew(authTypeNiew).AuthTypeNisw(authTypeNisw).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).GroupId(groupId).GroupIdEmpty(groupIdEmpty).GroupIdGt(groupIdGt).GroupIdGte(groupIdGte).GroupIdLt(groupIdLt).GroupIdLte(groupIdLte).GroupIdN(groupIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Protocol(protocol).ProtocolEmpty(protocolEmpty).ProtocolIc(protocolIc).ProtocolIe(protocolIe).ProtocolIew(protocolIew).ProtocolIsw(protocolIsw).ProtocolN(protocolN).ProtocolNic(protocolNic).ProtocolNie(protocolNie).ProtocolNiew(protocolNiew).ProtocolNisw(protocolNisw).Q(q).RelatedIp(relatedIp).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamFhrpGroupsList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -3738,7 +3756,16 @@ Name | Type | Description | Notes **authKeyNiew** | **[]string** | | **authKeyNisw** | **[]string** | | **authType** | **[]string** | | - **authTypeN** | **[]string** | | + **authTypeEmpty** | **bool** | | + **authTypeIc** | [**[]AuthenticationType**](AuthenticationType.md) | * `plaintext` - Plaintext * `md5` - MD5 | + **authTypeIe** | [**[]AuthenticationType**](AuthenticationType.md) | * `plaintext` - Plaintext * `md5` - MD5 | + **authTypeIew** | [**[]AuthenticationType**](AuthenticationType.md) | * `plaintext` - Plaintext * `md5` - MD5 | + **authTypeIsw** | [**[]AuthenticationType**](AuthenticationType.md) | * `plaintext` - Plaintext * `md5` - MD5 | + **authTypeN** | [**[]AuthenticationType**](AuthenticationType.md) | * `plaintext` - Plaintext * `md5` - MD5 | + **authTypeNic** | [**[]AuthenticationType**](AuthenticationType.md) | * `plaintext` - Plaintext * `md5` - MD5 | + **authTypeNie** | [**[]AuthenticationType**](AuthenticationType.md) | * `plaintext` - Plaintext * `md5` - MD5 | + **authTypeNiew** | [**[]AuthenticationType**](AuthenticationType.md) | * `plaintext` - Plaintext * `md5` - MD5 | + **authTypeNisw** | [**[]AuthenticationType**](AuthenticationType.md) | * `plaintext` - Plaintext * `md5` - MD5 | **created** | [**[]time.Time**](time.Time.md) | | **createdEmpty** | [**[]time.Time**](time.Time.md) | | **createdGt** | [**[]time.Time**](time.Time.md) | | @@ -3795,7 +3822,16 @@ Name | Type | Description | Notes **offset** | **int32** | The initial index from which to return the results. | **ordering** | **string** | Which field to use when ordering the results. | **protocol** | **[]string** | | - **protocolN** | **[]string** | | + **protocolEmpty** | **bool** | | + **protocolIc** | [**[]IpamFhrpGroupsListProtocolIcParameterInner**](IpamFhrpGroupsListProtocolIcParameterInner.md) | * `vrrp2` - VRRPv2 * `vrrp3` - VRRPv3 * `carp` - CARP * `clusterxl` - ClusterXL * `hsrp` - HSRP * `glbp` - GLBP * `other` - Other | + **protocolIe** | [**[]IpamFhrpGroupsListProtocolIcParameterInner**](IpamFhrpGroupsListProtocolIcParameterInner.md) | * `vrrp2` - VRRPv2 * `vrrp3` - VRRPv3 * `carp` - CARP * `clusterxl` - ClusterXL * `hsrp` - HSRP * `glbp` - GLBP * `other` - Other | + **protocolIew** | [**[]IpamFhrpGroupsListProtocolIcParameterInner**](IpamFhrpGroupsListProtocolIcParameterInner.md) | * `vrrp2` - VRRPv2 * `vrrp3` - VRRPv3 * `carp` - CARP * `clusterxl` - ClusterXL * `hsrp` - HSRP * `glbp` - GLBP * `other` - Other | + **protocolIsw** | [**[]IpamFhrpGroupsListProtocolIcParameterInner**](IpamFhrpGroupsListProtocolIcParameterInner.md) | * `vrrp2` - VRRPv2 * `vrrp3` - VRRPv3 * `carp` - CARP * `clusterxl` - ClusterXL * `hsrp` - HSRP * `glbp` - GLBP * `other` - Other | + **protocolN** | [**[]IpamFhrpGroupsListProtocolIcParameterInner**](IpamFhrpGroupsListProtocolIcParameterInner.md) | * `vrrp2` - VRRPv2 * `vrrp3` - VRRPv3 * `carp` - CARP * `clusterxl` - ClusterXL * `hsrp` - HSRP * `glbp` - GLBP * `other` - Other | + **protocolNic** | [**[]IpamFhrpGroupsListProtocolIcParameterInner**](IpamFhrpGroupsListProtocolIcParameterInner.md) | * `vrrp2` - VRRPv2 * `vrrp3` - VRRPv3 * `carp` - CARP * `clusterxl` - ClusterXL * `hsrp` - HSRP * `glbp` - GLBP * `other` - Other | + **protocolNie** | [**[]IpamFhrpGroupsListProtocolIcParameterInner**](IpamFhrpGroupsListProtocolIcParameterInner.md) | * `vrrp2` - VRRPv2 * `vrrp3` - VRRPv3 * `carp` - CARP * `clusterxl` - ClusterXL * `hsrp` - HSRP * `glbp` - GLBP * `other` - Other | + **protocolNiew** | [**[]IpamFhrpGroupsListProtocolIcParameterInner**](IpamFhrpGroupsListProtocolIcParameterInner.md) | * `vrrp2` - VRRPv2 * `vrrp3` - VRRPv3 * `carp` - CARP * `clusterxl` - ClusterXL * `hsrp` - HSRP * `glbp` - GLBP * `other` - Other | + **protocolNisw** | [**[]IpamFhrpGroupsListProtocolIcParameterInner**](IpamFhrpGroupsListProtocolIcParameterInner.md) | * `vrrp2` - VRRPv2 * `vrrp3` - VRRPv3 * `carp` - CARP * `clusterxl` - ClusterXL * `hsrp` - HSRP * `glbp` - GLBP * `other` - Other | **q** | **string** | Search | **relatedIp** | **[]string** | | **tag** | **[]string** | | @@ -3984,7 +4020,7 @@ import ( func main() { id := int32(56) // int32 | A unique integer value identifying this FHRP group. - fHRPGroupRequest := *openapiclient.NewFHRPGroupRequest(openapiclient.FHRPGroup_protocol("vrrp2"), int32(123)) // FHRPGroupRequest | + fHRPGroupRequest := *openapiclient.NewFHRPGroupRequest(openapiclient.BriefFHRPGroup_protocol("vrrp2"), int32(123)) // FHRPGroupRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -4366,7 +4402,7 @@ Name | Type | Description | Notes ## IpamIpAddressesList -> PaginatedIPAddressList IpamIpAddressesList(ctx).Address(address).Assigned(assigned).AssignedObjectId(assignedObjectId).AssignedObjectIdEmpty(assignedObjectIdEmpty).AssignedObjectIdGt(assignedObjectIdGt).AssignedObjectIdGte(assignedObjectIdGte).AssignedObjectIdLt(assignedObjectIdLt).AssignedObjectIdLte(assignedObjectIdLte).AssignedObjectIdN(assignedObjectIdN).AssignedObjectType(assignedObjectType).AssignedObjectTypeN(assignedObjectTypeN).AssignedToInterface(assignedToInterface).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceId(deviceId).DnsName(dnsName).DnsNameEmpty(dnsNameEmpty).DnsNameIc(dnsNameIc).DnsNameIe(dnsNameIe).DnsNameIew(dnsNameIew).DnsNameIsw(dnsNameIsw).DnsNameN(dnsNameN).DnsNameNic(dnsNameNic).DnsNameNie(dnsNameNie).DnsNameNiew(dnsNameNiew).DnsNameNisw(dnsNameNisw).Family(family).FhrpgroupId(fhrpgroupId).FhrpgroupIdN(fhrpgroupIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Interface_(interface_).InterfaceN(interfaceN).InterfaceId(interfaceId).InterfaceIdN(interfaceIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).MaskLength(maskLength).MaskLengthGte(maskLengthGte).MaskLengthLte(maskLengthLte).ModifiedByRequest(modifiedByRequest).NatInsideId(natInsideId).NatInsideIdN(natInsideIdN).Offset(offset).Ordering(ordering).Parent(parent).PresentInVrf(presentInVrf).PresentInVrfId(presentInVrfId).Q(q).Role(role).RoleN(roleN).ServiceId(serviceId).ServiceIdN(serviceIdN).Status(status).StatusN(statusN).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).UpdatedByRequest(updatedByRequest).VirtualMachine(virtualMachine).VirtualMachineId(virtualMachineId).Vminterface(vminterface).VminterfaceN(vminterfaceN).VminterfaceId(vminterfaceId).VminterfaceIdN(vminterfaceIdN).Vrf(vrf).VrfN(vrfN).VrfId(vrfId).VrfIdN(vrfIdN).Execute() +> PaginatedIPAddressList IpamIpAddressesList(ctx).Address(address).Assigned(assigned).AssignedObjectId(assignedObjectId).AssignedObjectIdEmpty(assignedObjectIdEmpty).AssignedObjectIdGt(assignedObjectIdGt).AssignedObjectIdGte(assignedObjectIdGte).AssignedObjectIdLt(assignedObjectIdLt).AssignedObjectIdLte(assignedObjectIdLte).AssignedObjectIdN(assignedObjectIdN).AssignedObjectType(assignedObjectType).AssignedObjectTypeN(assignedObjectTypeN).AssignedToInterface(assignedToInterface).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceId(deviceId).DnsName(dnsName).DnsNameEmpty(dnsNameEmpty).DnsNameIc(dnsNameIc).DnsNameIe(dnsNameIe).DnsNameIew(dnsNameIew).DnsNameIsw(dnsNameIsw).DnsNameN(dnsNameN).DnsNameNic(dnsNameNic).DnsNameNie(dnsNameNie).DnsNameNiew(dnsNameNiew).DnsNameNisw(dnsNameNisw).Family(family).FhrpgroupId(fhrpgroupId).FhrpgroupIdN(fhrpgroupIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Interface_(interface_).InterfaceN(interfaceN).InterfaceId(interfaceId).InterfaceIdN(interfaceIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).MaskLength(maskLength).MaskLengthGte(maskLengthGte).MaskLengthLte(maskLengthLte).ModifiedByRequest(modifiedByRequest).NatInsideId(natInsideId).NatInsideIdN(natInsideIdN).Offset(offset).Ordering(ordering).Parent(parent).PresentInVrf(presentInVrf).PresentInVrfId(presentInVrfId).Q(q).Role(role).RoleEmpty(roleEmpty).RoleIc(roleIc).RoleIe(roleIe).RoleIew(roleIew).RoleIsw(roleIsw).RoleN(roleN).RoleNic(roleNic).RoleNie(roleNie).RoleNiew(roleNiew).RoleNisw(roleNisw).ServiceId(serviceId).ServiceIdN(serviceIdN).Status(status).StatusEmpty(statusEmpty).StatusIc(statusIc).StatusIe(statusIe).StatusIew(statusIew).StatusIsw(statusIsw).StatusN(statusN).StatusNic(statusNic).StatusNie(statusNie).StatusNiew(statusNiew).StatusNisw(statusNisw).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).UpdatedByRequest(updatedByRequest).VirtualMachine(virtualMachine).VirtualMachineId(virtualMachineId).Vminterface(vminterface).VminterfaceN(vminterfaceN).VminterfaceId(vminterfaceId).VminterfaceIdN(vminterfaceIdN).Vrf(vrf).VrfN(vrfN).VrfId(vrfId).VrfIdN(vrfIdN).Execute() @@ -4465,19 +4501,37 @@ func main() { presentInVrfId := "presentInVrfId_example" // string | (optional) q := "q_example" // string | Search (optional) role := []string{"Inner_example"} // []string | The functional role of this IP (optional) - roleN := []string{"Inner_example"} // []string | The functional role of this IP (optional) + roleEmpty := true // bool | (optional) + roleIc := []openapiclient.IpamIpAddressesListRoleIcParameterInner{openapiclient.ipam_ip_addresses_list_role__ic_parameter_inner("")} // []IpamIpAddressesListRoleIcParameterInner | The functional role of this IP * `loopback` - Loopback * `secondary` - Secondary * `anycast` - Anycast * `vip` - VIP * `vrrp` - VRRP * `hsrp` - HSRP * `glbp` - GLBP * `carp` - CARP (optional) + roleIe := []openapiclient.IpamIpAddressesListRoleIcParameterInner{openapiclient.ipam_ip_addresses_list_role__ic_parameter_inner("")} // []IpamIpAddressesListRoleIcParameterInner | The functional role of this IP * `loopback` - Loopback * `secondary` - Secondary * `anycast` - Anycast * `vip` - VIP * `vrrp` - VRRP * `hsrp` - HSRP * `glbp` - GLBP * `carp` - CARP (optional) + roleIew := []openapiclient.IpamIpAddressesListRoleIcParameterInner{openapiclient.ipam_ip_addresses_list_role__ic_parameter_inner("")} // []IpamIpAddressesListRoleIcParameterInner | The functional role of this IP * `loopback` - Loopback * `secondary` - Secondary * `anycast` - Anycast * `vip` - VIP * `vrrp` - VRRP * `hsrp` - HSRP * `glbp` - GLBP * `carp` - CARP (optional) + roleIsw := []openapiclient.IpamIpAddressesListRoleIcParameterInner{openapiclient.ipam_ip_addresses_list_role__ic_parameter_inner("")} // []IpamIpAddressesListRoleIcParameterInner | The functional role of this IP * `loopback` - Loopback * `secondary` - Secondary * `anycast` - Anycast * `vip` - VIP * `vrrp` - VRRP * `hsrp` - HSRP * `glbp` - GLBP * `carp` - CARP (optional) + roleN := []openapiclient.IpamIpAddressesListRoleIcParameterInner{openapiclient.ipam_ip_addresses_list_role__ic_parameter_inner("")} // []IpamIpAddressesListRoleIcParameterInner | The functional role of this IP * `loopback` - Loopback * `secondary` - Secondary * `anycast` - Anycast * `vip` - VIP * `vrrp` - VRRP * `hsrp` - HSRP * `glbp` - GLBP * `carp` - CARP (optional) + roleNic := []openapiclient.IpamIpAddressesListRoleIcParameterInner{openapiclient.ipam_ip_addresses_list_role__ic_parameter_inner("")} // []IpamIpAddressesListRoleIcParameterInner | The functional role of this IP * `loopback` - Loopback * `secondary` - Secondary * `anycast` - Anycast * `vip` - VIP * `vrrp` - VRRP * `hsrp` - HSRP * `glbp` - GLBP * `carp` - CARP (optional) + roleNie := []openapiclient.IpamIpAddressesListRoleIcParameterInner{openapiclient.ipam_ip_addresses_list_role__ic_parameter_inner("")} // []IpamIpAddressesListRoleIcParameterInner | The functional role of this IP * `loopback` - Loopback * `secondary` - Secondary * `anycast` - Anycast * `vip` - VIP * `vrrp` - VRRP * `hsrp` - HSRP * `glbp` - GLBP * `carp` - CARP (optional) + roleNiew := []openapiclient.IpamIpAddressesListRoleIcParameterInner{openapiclient.ipam_ip_addresses_list_role__ic_parameter_inner("")} // []IpamIpAddressesListRoleIcParameterInner | The functional role of this IP * `loopback` - Loopback * `secondary` - Secondary * `anycast` - Anycast * `vip` - VIP * `vrrp` - VRRP * `hsrp` - HSRP * `glbp` - GLBP * `carp` - CARP (optional) + roleNisw := []openapiclient.IpamIpAddressesListRoleIcParameterInner{openapiclient.ipam_ip_addresses_list_role__ic_parameter_inner("")} // []IpamIpAddressesListRoleIcParameterInner | The functional role of this IP * `loopback` - Loopback * `secondary` - Secondary * `anycast` - Anycast * `vip` - VIP * `vrrp` - VRRP * `hsrp` - HSRP * `glbp` - GLBP * `carp` - CARP (optional) serviceId := []int32{int32(123)} // []int32 | Service (ID) (optional) serviceIdN := []int32{int32(123)} // []int32 | Service (ID) (optional) status := []string{"Inner_example"} // []string | The operational status of this IP (optional) - statusN := []string{"Inner_example"} // []string | The operational status of this IP (optional) + statusEmpty := true // bool | (optional) + statusIc := []openapiclient.IpamIpAddressesListStatusIcParameterInner{openapiclient.ipam_ip_addresses_list_status__ic_parameter_inner("active")} // []IpamIpAddressesListStatusIcParameterInner | The operational status of this IP * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated * `dhcp` - DHCP * `slaac` - SLAAC (optional) + statusIe := []openapiclient.IpamIpAddressesListStatusIcParameterInner{openapiclient.ipam_ip_addresses_list_status__ic_parameter_inner("active")} // []IpamIpAddressesListStatusIcParameterInner | The operational status of this IP * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated * `dhcp` - DHCP * `slaac` - SLAAC (optional) + statusIew := []openapiclient.IpamIpAddressesListStatusIcParameterInner{openapiclient.ipam_ip_addresses_list_status__ic_parameter_inner("active")} // []IpamIpAddressesListStatusIcParameterInner | The operational status of this IP * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated * `dhcp` - DHCP * `slaac` - SLAAC (optional) + statusIsw := []openapiclient.IpamIpAddressesListStatusIcParameterInner{openapiclient.ipam_ip_addresses_list_status__ic_parameter_inner("active")} // []IpamIpAddressesListStatusIcParameterInner | The operational status of this IP * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated * `dhcp` - DHCP * `slaac` - SLAAC (optional) + statusN := []openapiclient.IpamIpAddressesListStatusIcParameterInner{openapiclient.ipam_ip_addresses_list_status__ic_parameter_inner("active")} // []IpamIpAddressesListStatusIcParameterInner | The operational status of this IP * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated * `dhcp` - DHCP * `slaac` - SLAAC (optional) + statusNic := []openapiclient.IpamIpAddressesListStatusIcParameterInner{openapiclient.ipam_ip_addresses_list_status__ic_parameter_inner("active")} // []IpamIpAddressesListStatusIcParameterInner | The operational status of this IP * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated * `dhcp` - DHCP * `slaac` - SLAAC (optional) + statusNie := []openapiclient.IpamIpAddressesListStatusIcParameterInner{openapiclient.ipam_ip_addresses_list_status__ic_parameter_inner("active")} // []IpamIpAddressesListStatusIcParameterInner | The operational status of this IP * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated * `dhcp` - DHCP * `slaac` - SLAAC (optional) + statusNiew := []openapiclient.IpamIpAddressesListStatusIcParameterInner{openapiclient.ipam_ip_addresses_list_status__ic_parameter_inner("active")} // []IpamIpAddressesListStatusIcParameterInner | The operational status of this IP * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated * `dhcp` - DHCP * `slaac` - SLAAC (optional) + statusNisw := []openapiclient.IpamIpAddressesListStatusIcParameterInner{openapiclient.ipam_ip_addresses_list_status__ic_parameter_inner("active")} // []IpamIpAddressesListStatusIcParameterInner | The operational status of this IP * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated * `dhcp` - DHCP * `slaac` - SLAAC (optional) tag := []string{"Inner_example"} // []string | (optional) tagN := []string{"Inner_example"} // []string | (optional) tenant := []string{"Inner_example"} // []string | Tenant (slug) (optional) tenantN := []string{"Inner_example"} // []string | Tenant (slug) (optional) - tenantGroup := []int32{int32(123)} // []int32 | Tenant Group (slug) (optional) - tenantGroupN := []int32{int32(123)} // []int32 | Tenant Group (slug) (optional) - tenantGroupId := []int32{int32(123)} // []int32 | Tenant Group (ID) (optional) - tenantGroupIdN := []int32{int32(123)} // []int32 | Tenant Group (ID) (optional) + tenantGroup := []string{"Inner_example"} // []string | (optional) + tenantGroupN := []string{"Inner_example"} // []string | (optional) + tenantGroupId := []string{"Inner_example"} // []string | (optional) + tenantGroupIdN := []string{"Inner_example"} // []string | (optional) tenantId := []*int32{int32(123)} // []*int32 | Tenant (ID) (optional) tenantIdN := []*int32{int32(123)} // []*int32 | Tenant (ID) (optional) updatedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) @@ -4494,7 +4548,7 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.IpamAPI.IpamIpAddressesList(context.Background()).Address(address).Assigned(assigned).AssignedObjectId(assignedObjectId).AssignedObjectIdEmpty(assignedObjectIdEmpty).AssignedObjectIdGt(assignedObjectIdGt).AssignedObjectIdGte(assignedObjectIdGte).AssignedObjectIdLt(assignedObjectIdLt).AssignedObjectIdLte(assignedObjectIdLte).AssignedObjectIdN(assignedObjectIdN).AssignedObjectType(assignedObjectType).AssignedObjectTypeN(assignedObjectTypeN).AssignedToInterface(assignedToInterface).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceId(deviceId).DnsName(dnsName).DnsNameEmpty(dnsNameEmpty).DnsNameIc(dnsNameIc).DnsNameIe(dnsNameIe).DnsNameIew(dnsNameIew).DnsNameIsw(dnsNameIsw).DnsNameN(dnsNameN).DnsNameNic(dnsNameNic).DnsNameNie(dnsNameNie).DnsNameNiew(dnsNameNiew).DnsNameNisw(dnsNameNisw).Family(family).FhrpgroupId(fhrpgroupId).FhrpgroupIdN(fhrpgroupIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Interface_(interface_).InterfaceN(interfaceN).InterfaceId(interfaceId).InterfaceIdN(interfaceIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).MaskLength(maskLength).MaskLengthGte(maskLengthGte).MaskLengthLte(maskLengthLte).ModifiedByRequest(modifiedByRequest).NatInsideId(natInsideId).NatInsideIdN(natInsideIdN).Offset(offset).Ordering(ordering).Parent(parent).PresentInVrf(presentInVrf).PresentInVrfId(presentInVrfId).Q(q).Role(role).RoleN(roleN).ServiceId(serviceId).ServiceIdN(serviceIdN).Status(status).StatusN(statusN).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).UpdatedByRequest(updatedByRequest).VirtualMachine(virtualMachine).VirtualMachineId(virtualMachineId).Vminterface(vminterface).VminterfaceN(vminterfaceN).VminterfaceId(vminterfaceId).VminterfaceIdN(vminterfaceIdN).Vrf(vrf).VrfN(vrfN).VrfId(vrfId).VrfIdN(vrfIdN).Execute() + resp, r, err := apiClient.IpamAPI.IpamIpAddressesList(context.Background()).Address(address).Assigned(assigned).AssignedObjectId(assignedObjectId).AssignedObjectIdEmpty(assignedObjectIdEmpty).AssignedObjectIdGt(assignedObjectIdGt).AssignedObjectIdGte(assignedObjectIdGte).AssignedObjectIdLt(assignedObjectIdLt).AssignedObjectIdLte(assignedObjectIdLte).AssignedObjectIdN(assignedObjectIdN).AssignedObjectType(assignedObjectType).AssignedObjectTypeN(assignedObjectTypeN).AssignedToInterface(assignedToInterface).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceId(deviceId).DnsName(dnsName).DnsNameEmpty(dnsNameEmpty).DnsNameIc(dnsNameIc).DnsNameIe(dnsNameIe).DnsNameIew(dnsNameIew).DnsNameIsw(dnsNameIsw).DnsNameN(dnsNameN).DnsNameNic(dnsNameNic).DnsNameNie(dnsNameNie).DnsNameNiew(dnsNameNiew).DnsNameNisw(dnsNameNisw).Family(family).FhrpgroupId(fhrpgroupId).FhrpgroupIdN(fhrpgroupIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Interface_(interface_).InterfaceN(interfaceN).InterfaceId(interfaceId).InterfaceIdN(interfaceIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).MaskLength(maskLength).MaskLengthGte(maskLengthGte).MaskLengthLte(maskLengthLte).ModifiedByRequest(modifiedByRequest).NatInsideId(natInsideId).NatInsideIdN(natInsideIdN).Offset(offset).Ordering(ordering).Parent(parent).PresentInVrf(presentInVrf).PresentInVrfId(presentInVrfId).Q(q).Role(role).RoleEmpty(roleEmpty).RoleIc(roleIc).RoleIe(roleIe).RoleIew(roleIew).RoleIsw(roleIsw).RoleN(roleN).RoleNic(roleNic).RoleNie(roleNie).RoleNiew(roleNiew).RoleNisw(roleNisw).ServiceId(serviceId).ServiceIdN(serviceIdN).Status(status).StatusEmpty(statusEmpty).StatusIc(statusIc).StatusIe(statusIe).StatusIew(statusIew).StatusIsw(statusIsw).StatusN(statusN).StatusNic(statusNic).StatusNie(statusNie).StatusNiew(statusNiew).StatusNisw(statusNisw).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).UpdatedByRequest(updatedByRequest).VirtualMachine(virtualMachine).VirtualMachineId(virtualMachineId).Vminterface(vminterface).VminterfaceN(vminterfaceN).VminterfaceId(vminterfaceId).VminterfaceIdN(vminterfaceIdN).Vrf(vrf).VrfN(vrfN).VrfId(vrfId).VrfIdN(vrfIdN).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) @@ -4594,19 +4648,37 @@ Name | Type | Description | Notes **presentInVrfId** | **string** | | **q** | **string** | Search | **role** | **[]string** | The functional role of this IP | - **roleN** | **[]string** | The functional role of this IP | + **roleEmpty** | **bool** | | + **roleIc** | [**[]IpamIpAddressesListRoleIcParameterInner**](IpamIpAddressesListRoleIcParameterInner.md) | The functional role of this IP * `loopback` - Loopback * `secondary` - Secondary * `anycast` - Anycast * `vip` - VIP * `vrrp` - VRRP * `hsrp` - HSRP * `glbp` - GLBP * `carp` - CARP | + **roleIe** | [**[]IpamIpAddressesListRoleIcParameterInner**](IpamIpAddressesListRoleIcParameterInner.md) | The functional role of this IP * `loopback` - Loopback * `secondary` - Secondary * `anycast` - Anycast * `vip` - VIP * `vrrp` - VRRP * `hsrp` - HSRP * `glbp` - GLBP * `carp` - CARP | + **roleIew** | [**[]IpamIpAddressesListRoleIcParameterInner**](IpamIpAddressesListRoleIcParameterInner.md) | The functional role of this IP * `loopback` - Loopback * `secondary` - Secondary * `anycast` - Anycast * `vip` - VIP * `vrrp` - VRRP * `hsrp` - HSRP * `glbp` - GLBP * `carp` - CARP | + **roleIsw** | [**[]IpamIpAddressesListRoleIcParameterInner**](IpamIpAddressesListRoleIcParameterInner.md) | The functional role of this IP * `loopback` - Loopback * `secondary` - Secondary * `anycast` - Anycast * `vip` - VIP * `vrrp` - VRRP * `hsrp` - HSRP * `glbp` - GLBP * `carp` - CARP | + **roleN** | [**[]IpamIpAddressesListRoleIcParameterInner**](IpamIpAddressesListRoleIcParameterInner.md) | The functional role of this IP * `loopback` - Loopback * `secondary` - Secondary * `anycast` - Anycast * `vip` - VIP * `vrrp` - VRRP * `hsrp` - HSRP * `glbp` - GLBP * `carp` - CARP | + **roleNic** | [**[]IpamIpAddressesListRoleIcParameterInner**](IpamIpAddressesListRoleIcParameterInner.md) | The functional role of this IP * `loopback` - Loopback * `secondary` - Secondary * `anycast` - Anycast * `vip` - VIP * `vrrp` - VRRP * `hsrp` - HSRP * `glbp` - GLBP * `carp` - CARP | + **roleNie** | [**[]IpamIpAddressesListRoleIcParameterInner**](IpamIpAddressesListRoleIcParameterInner.md) | The functional role of this IP * `loopback` - Loopback * `secondary` - Secondary * `anycast` - Anycast * `vip` - VIP * `vrrp` - VRRP * `hsrp` - HSRP * `glbp` - GLBP * `carp` - CARP | + **roleNiew** | [**[]IpamIpAddressesListRoleIcParameterInner**](IpamIpAddressesListRoleIcParameterInner.md) | The functional role of this IP * `loopback` - Loopback * `secondary` - Secondary * `anycast` - Anycast * `vip` - VIP * `vrrp` - VRRP * `hsrp` - HSRP * `glbp` - GLBP * `carp` - CARP | + **roleNisw** | [**[]IpamIpAddressesListRoleIcParameterInner**](IpamIpAddressesListRoleIcParameterInner.md) | The functional role of this IP * `loopback` - Loopback * `secondary` - Secondary * `anycast` - Anycast * `vip` - VIP * `vrrp` - VRRP * `hsrp` - HSRP * `glbp` - GLBP * `carp` - CARP | **serviceId** | **[]int32** | Service (ID) | **serviceIdN** | **[]int32** | Service (ID) | **status** | **[]string** | The operational status of this IP | - **statusN** | **[]string** | The operational status of this IP | + **statusEmpty** | **bool** | | + **statusIc** | [**[]IpamIpAddressesListStatusIcParameterInner**](IpamIpAddressesListStatusIcParameterInner.md) | The operational status of this IP * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated * `dhcp` - DHCP * `slaac` - SLAAC | + **statusIe** | [**[]IpamIpAddressesListStatusIcParameterInner**](IpamIpAddressesListStatusIcParameterInner.md) | The operational status of this IP * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated * `dhcp` - DHCP * `slaac` - SLAAC | + **statusIew** | [**[]IpamIpAddressesListStatusIcParameterInner**](IpamIpAddressesListStatusIcParameterInner.md) | The operational status of this IP * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated * `dhcp` - DHCP * `slaac` - SLAAC | + **statusIsw** | [**[]IpamIpAddressesListStatusIcParameterInner**](IpamIpAddressesListStatusIcParameterInner.md) | The operational status of this IP * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated * `dhcp` - DHCP * `slaac` - SLAAC | + **statusN** | [**[]IpamIpAddressesListStatusIcParameterInner**](IpamIpAddressesListStatusIcParameterInner.md) | The operational status of this IP * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated * `dhcp` - DHCP * `slaac` - SLAAC | + **statusNic** | [**[]IpamIpAddressesListStatusIcParameterInner**](IpamIpAddressesListStatusIcParameterInner.md) | The operational status of this IP * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated * `dhcp` - DHCP * `slaac` - SLAAC | + **statusNie** | [**[]IpamIpAddressesListStatusIcParameterInner**](IpamIpAddressesListStatusIcParameterInner.md) | The operational status of this IP * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated * `dhcp` - DHCP * `slaac` - SLAAC | + **statusNiew** | [**[]IpamIpAddressesListStatusIcParameterInner**](IpamIpAddressesListStatusIcParameterInner.md) | The operational status of this IP * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated * `dhcp` - DHCP * `slaac` - SLAAC | + **statusNisw** | [**[]IpamIpAddressesListStatusIcParameterInner**](IpamIpAddressesListStatusIcParameterInner.md) | The operational status of this IP * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated * `dhcp` - DHCP * `slaac` - SLAAC | **tag** | **[]string** | | **tagN** | **[]string** | | **tenant** | **[]string** | Tenant (slug) | **tenantN** | **[]string** | Tenant (slug) | - **tenantGroup** | **[]int32** | Tenant Group (slug) | - **tenantGroupN** | **[]int32** | Tenant Group (slug) | - **tenantGroupId** | **[]int32** | Tenant Group (ID) | - **tenantGroupIdN** | **[]int32** | Tenant Group (ID) | + **tenantGroup** | **[]string** | | + **tenantGroupN** | **[]string** | | + **tenantGroupId** | **[]string** | | + **tenantGroupIdN** | **[]string** | | **tenantId** | **[]int32** | Tenant (ID) | **tenantIdN** | **[]int32** | Tenant (ID) | **updatedByRequest** | **string** | | @@ -5327,7 +5399,7 @@ Name | Type | Description | Notes ## IpamIpRangesList -> PaginatedIPRangeList IpamIpRangesList(ctx).Contains(contains).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).EndAddress(endAddress).Family(family).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).MarkUtilized(markUtilized).ModifiedByRequest(modifiedByRequest).Offset(offset).Ordering(ordering).Parent(parent).Q(q).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).Size(size).SizeEmpty(sizeEmpty).SizeGt(sizeGt).SizeGte(sizeGte).SizeLt(sizeLt).SizeLte(sizeLte).SizeN(sizeN).StartAddress(startAddress).Status(status).StatusN(statusN).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).UpdatedByRequest(updatedByRequest).Vrf(vrf).VrfN(vrfN).VrfId(vrfId).VrfIdN(vrfIdN).Execute() +> PaginatedIPRangeList IpamIpRangesList(ctx).Contains(contains).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).EndAddress(endAddress).Family(family).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).MarkUtilized(markUtilized).ModifiedByRequest(modifiedByRequest).Offset(offset).Ordering(ordering).Parent(parent).Q(q).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).Size(size).SizeEmpty(sizeEmpty).SizeGt(sizeGt).SizeGte(sizeGte).SizeLt(sizeLt).SizeLte(sizeLte).SizeN(sizeN).StartAddress(startAddress).Status(status).StatusEmpty(statusEmpty).StatusIc(statusIc).StatusIe(statusIe).StatusIew(statusIew).StatusIsw(statusIsw).StatusN(statusN).StatusNic(statusNic).StatusNie(statusNie).StatusNiew(statusNiew).StatusNisw(statusNisw).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).UpdatedByRequest(updatedByRequest).Vrf(vrf).VrfN(vrfN).VrfId(vrfId).VrfIdN(vrfIdN).Execute() @@ -5403,15 +5475,24 @@ func main() { sizeN := []int32{int32(123)} // []int32 | (optional) startAddress := []string{"Inner_example"} // []string | (optional) status := []string{"Inner_example"} // []string | Operational status of this range (optional) - statusN := []string{"Inner_example"} // []string | Operational status of this range (optional) + statusEmpty := true // bool | (optional) + statusIc := []openapiclient.IpamIpRangesListStatusIcParameterInner{openapiclient.ipam_ip_ranges_list_status__ic_parameter_inner("active")} // []IpamIpRangesListStatusIcParameterInner | Operational status of this range * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated (optional) + statusIe := []openapiclient.IpamIpRangesListStatusIcParameterInner{openapiclient.ipam_ip_ranges_list_status__ic_parameter_inner("active")} // []IpamIpRangesListStatusIcParameterInner | Operational status of this range * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated (optional) + statusIew := []openapiclient.IpamIpRangesListStatusIcParameterInner{openapiclient.ipam_ip_ranges_list_status__ic_parameter_inner("active")} // []IpamIpRangesListStatusIcParameterInner | Operational status of this range * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated (optional) + statusIsw := []openapiclient.IpamIpRangesListStatusIcParameterInner{openapiclient.ipam_ip_ranges_list_status__ic_parameter_inner("active")} // []IpamIpRangesListStatusIcParameterInner | Operational status of this range * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated (optional) + statusN := []openapiclient.IpamIpRangesListStatusIcParameterInner{openapiclient.ipam_ip_ranges_list_status__ic_parameter_inner("active")} // []IpamIpRangesListStatusIcParameterInner | Operational status of this range * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated (optional) + statusNic := []openapiclient.IpamIpRangesListStatusIcParameterInner{openapiclient.ipam_ip_ranges_list_status__ic_parameter_inner("active")} // []IpamIpRangesListStatusIcParameterInner | Operational status of this range * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated (optional) + statusNie := []openapiclient.IpamIpRangesListStatusIcParameterInner{openapiclient.ipam_ip_ranges_list_status__ic_parameter_inner("active")} // []IpamIpRangesListStatusIcParameterInner | Operational status of this range * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated (optional) + statusNiew := []openapiclient.IpamIpRangesListStatusIcParameterInner{openapiclient.ipam_ip_ranges_list_status__ic_parameter_inner("active")} // []IpamIpRangesListStatusIcParameterInner | Operational status of this range * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated (optional) + statusNisw := []openapiclient.IpamIpRangesListStatusIcParameterInner{openapiclient.ipam_ip_ranges_list_status__ic_parameter_inner("active")} // []IpamIpRangesListStatusIcParameterInner | Operational status of this range * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated (optional) tag := []string{"Inner_example"} // []string | (optional) tagN := []string{"Inner_example"} // []string | (optional) tenant := []string{"Inner_example"} // []string | Tenant (slug) (optional) tenantN := []string{"Inner_example"} // []string | Tenant (slug) (optional) - tenantGroup := []int32{int32(123)} // []int32 | Tenant Group (slug) (optional) - tenantGroupN := []int32{int32(123)} // []int32 | Tenant Group (slug) (optional) - tenantGroupId := []int32{int32(123)} // []int32 | Tenant Group (ID) (optional) - tenantGroupIdN := []int32{int32(123)} // []int32 | Tenant Group (ID) (optional) + tenantGroup := []string{"Inner_example"} // []string | (optional) + tenantGroupN := []string{"Inner_example"} // []string | (optional) + tenantGroupId := []string{"Inner_example"} // []string | (optional) + tenantGroupIdN := []string{"Inner_example"} // []string | (optional) tenantId := []*int32{int32(123)} // []*int32 | Tenant (ID) (optional) tenantIdN := []*int32{int32(123)} // []*int32 | Tenant (ID) (optional) updatedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) @@ -5422,7 +5503,7 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.IpamAPI.IpamIpRangesList(context.Background()).Contains(contains).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).EndAddress(endAddress).Family(family).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).MarkUtilized(markUtilized).ModifiedByRequest(modifiedByRequest).Offset(offset).Ordering(ordering).Parent(parent).Q(q).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).Size(size).SizeEmpty(sizeEmpty).SizeGt(sizeGt).SizeGte(sizeGte).SizeLt(sizeLt).SizeLte(sizeLte).SizeN(sizeN).StartAddress(startAddress).Status(status).StatusN(statusN).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).UpdatedByRequest(updatedByRequest).Vrf(vrf).VrfN(vrfN).VrfId(vrfId).VrfIdN(vrfIdN).Execute() + resp, r, err := apiClient.IpamAPI.IpamIpRangesList(context.Background()).Contains(contains).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).EndAddress(endAddress).Family(family).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).MarkUtilized(markUtilized).ModifiedByRequest(modifiedByRequest).Offset(offset).Ordering(ordering).Parent(parent).Q(q).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).Size(size).SizeEmpty(sizeEmpty).SizeGt(sizeGt).SizeGte(sizeGte).SizeLt(sizeLt).SizeLte(sizeLte).SizeN(sizeN).StartAddress(startAddress).Status(status).StatusEmpty(statusEmpty).StatusIc(statusIc).StatusIe(statusIe).StatusIew(statusIew).StatusIsw(statusIsw).StatusN(statusN).StatusNic(statusNic).StatusNie(statusNie).StatusNiew(statusNiew).StatusNisw(statusNisw).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).UpdatedByRequest(updatedByRequest).Vrf(vrf).VrfN(vrfN).VrfId(vrfId).VrfIdN(vrfIdN).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamIpRangesList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -5499,15 +5580,24 @@ Name | Type | Description | Notes **sizeN** | **[]int32** | | **startAddress** | **[]string** | | **status** | **[]string** | Operational status of this range | - **statusN** | **[]string** | Operational status of this range | + **statusEmpty** | **bool** | | + **statusIc** | [**[]IpamIpRangesListStatusIcParameterInner**](IpamIpRangesListStatusIcParameterInner.md) | Operational status of this range * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated | + **statusIe** | [**[]IpamIpRangesListStatusIcParameterInner**](IpamIpRangesListStatusIcParameterInner.md) | Operational status of this range * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated | + **statusIew** | [**[]IpamIpRangesListStatusIcParameterInner**](IpamIpRangesListStatusIcParameterInner.md) | Operational status of this range * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated | + **statusIsw** | [**[]IpamIpRangesListStatusIcParameterInner**](IpamIpRangesListStatusIcParameterInner.md) | Operational status of this range * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated | + **statusN** | [**[]IpamIpRangesListStatusIcParameterInner**](IpamIpRangesListStatusIcParameterInner.md) | Operational status of this range * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated | + **statusNic** | [**[]IpamIpRangesListStatusIcParameterInner**](IpamIpRangesListStatusIcParameterInner.md) | Operational status of this range * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated | + **statusNie** | [**[]IpamIpRangesListStatusIcParameterInner**](IpamIpRangesListStatusIcParameterInner.md) | Operational status of this range * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated | + **statusNiew** | [**[]IpamIpRangesListStatusIcParameterInner**](IpamIpRangesListStatusIcParameterInner.md) | Operational status of this range * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated | + **statusNisw** | [**[]IpamIpRangesListStatusIcParameterInner**](IpamIpRangesListStatusIcParameterInner.md) | Operational status of this range * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated | **tag** | **[]string** | | **tagN** | **[]string** | | **tenant** | **[]string** | Tenant (slug) | **tenantN** | **[]string** | Tenant (slug) | - **tenantGroup** | **[]int32** | Tenant Group (slug) | - **tenantGroupN** | **[]int32** | Tenant Group (slug) | - **tenantGroupId** | **[]int32** | Tenant Group (ID) | - **tenantGroupIdN** | **[]int32** | Tenant Group (ID) | + **tenantGroup** | **[]string** | | + **tenantGroupN** | **[]string** | | + **tenantGroupId** | **[]string** | | + **tenantGroupIdN** | **[]string** | | **tenantId** | **[]int32** | Tenant (ID) | **tenantIdN** | **[]int32** | Tenant (ID) | **updatedByRequest** | **string** | | @@ -6364,7 +6454,7 @@ Name | Type | Description | Notes ## IpamPrefixesList -> PaginatedPrefixList IpamPrefixesList(ctx).Children(children).ChildrenEmpty(childrenEmpty).ChildrenGt(childrenGt).ChildrenGte(childrenGte).ChildrenLt(childrenLt).ChildrenLte(childrenLte).ChildrenN(childrenN).Contains(contains).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Depth(depth).DepthEmpty(depthEmpty).DepthGt(depthGt).DepthGte(depthGte).DepthLt(depthLt).DepthLte(depthLte).DepthN(depthN).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Family(family).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).IsPool(isPool).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).MarkUtilized(markUtilized).MaskLength(maskLength).MaskLengthGte(maskLengthGte).MaskLengthLte(maskLengthLte).ModifiedByRequest(modifiedByRequest).Offset(offset).Ordering(ordering).Prefix(prefix).PresentInVrf(presentInVrf).PresentInVrfId(presentInVrfId).Q(q).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Status(status).StatusN(statusN).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).UpdatedByRequest(updatedByRequest).VlanId(vlanId).VlanIdN(vlanIdN).VlanVid(vlanVid).VlanVidEmpty(vlanVidEmpty).VlanVidGt(vlanVidGt).VlanVidGte(vlanVidGte).VlanVidLt(vlanVidLt).VlanVidLte(vlanVidLte).VlanVidN(vlanVidN).Vrf(vrf).VrfN(vrfN).VrfId(vrfId).VrfIdN(vrfIdN).Within(within).WithinInclude(withinInclude).Execute() +> PaginatedPrefixList IpamPrefixesList(ctx).Children(children).ChildrenEmpty(childrenEmpty).ChildrenGt(childrenGt).ChildrenGte(childrenGte).ChildrenLt(childrenLt).ChildrenLte(childrenLte).ChildrenN(childrenN).Contains(contains).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Depth(depth).DepthEmpty(depthEmpty).DepthGt(depthGt).DepthGte(depthGte).DepthLt(depthLt).DepthLte(depthLte).DepthN(depthN).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Family(family).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).IsPool(isPool).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).MarkUtilized(markUtilized).MaskLength(maskLength).MaskLengthGte(maskLengthGte).MaskLengthLte(maskLengthLte).ModifiedByRequest(modifiedByRequest).Offset(offset).Ordering(ordering).Prefix(prefix).PresentInVrf(presentInVrf).PresentInVrfId(presentInVrfId).Q(q).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Status(status).StatusEmpty(statusEmpty).StatusIc(statusIc).StatusIe(statusIe).StatusIew(statusIew).StatusIsw(statusIsw).StatusN(statusN).StatusNic(statusNic).StatusNie(statusNie).StatusNiew(statusNiew).StatusNisw(statusNisw).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).UpdatedByRequest(updatedByRequest).VlanId(vlanId).VlanIdN(vlanIdN).VlanVid(vlanVid).VlanVidEmpty(vlanVidEmpty).VlanVidGt(vlanVidGt).VlanVidGte(vlanVidGte).VlanVidLt(vlanVidLt).VlanVidLte(vlanVidLte).VlanVidN(vlanVidN).Vrf(vrf).VrfN(vrfN).VrfId(vrfId).VrfIdN(vrfIdN).Within(within).WithinInclude(withinInclude).Execute() @@ -6446,32 +6536,41 @@ func main() { presentInVrf := "presentInVrf_example" // string | (optional) presentInVrfId := "presentInVrfId_example" // string | (optional) q := "q_example" // string | Search (optional) - region := []int32{int32(123)} // []int32 | Region (slug) (optional) - regionN := []int32{int32(123)} // []int32 | Region (slug) (optional) - regionId := []int32{int32(123)} // []int32 | Region (ID) (optional) - regionIdN := []int32{int32(123)} // []int32 | Region (ID) (optional) + region := []string{"Inner_example"} // []string | (optional) + regionN := []string{"Inner_example"} // []string | (optional) + regionId := []string{"Inner_example"} // []string | (optional) + regionIdN := []string{"Inner_example"} // []string | (optional) role := []string{"Inner_example"} // []string | Role (slug) (optional) roleN := []string{"Inner_example"} // []string | Role (slug) (optional) roleId := []*int32{int32(123)} // []*int32 | Role (ID) (optional) roleIdN := []*int32{int32(123)} // []*int32 | Role (ID) (optional) site := []string{"Inner_example"} // []string | Site (slug) (optional) siteN := []string{"Inner_example"} // []string | Site (slug) (optional) - siteGroup := []int32{int32(123)} // []int32 | Site group (slug) (optional) - siteGroupN := []int32{int32(123)} // []int32 | Site group (slug) (optional) - siteGroupId := []int32{int32(123)} // []int32 | Site group (ID) (optional) - siteGroupIdN := []int32{int32(123)} // []int32 | Site group (ID) (optional) + siteGroup := []string{"Inner_example"} // []string | (optional) + siteGroupN := []string{"Inner_example"} // []string | (optional) + siteGroupId := []string{"Inner_example"} // []string | (optional) + siteGroupIdN := []string{"Inner_example"} // []string | (optional) siteId := []*int32{int32(123)} // []*int32 | Site (ID) (optional) siteIdN := []*int32{int32(123)} // []*int32 | Site (ID) (optional) status := []string{"Inner_example"} // []string | Operational status of this prefix (optional) - statusN := []string{"Inner_example"} // []string | Operational status of this prefix (optional) + statusEmpty := true // bool | (optional) + statusIc := []openapiclient.IpamPrefixesListStatusIcParameterInner{openapiclient.ipam_prefixes_list_status__ic_parameter_inner("active")} // []IpamPrefixesListStatusIcParameterInner | Operational status of this prefix * `container` - Container * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated (optional) + statusIe := []openapiclient.IpamPrefixesListStatusIcParameterInner{openapiclient.ipam_prefixes_list_status__ic_parameter_inner("active")} // []IpamPrefixesListStatusIcParameterInner | Operational status of this prefix * `container` - Container * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated (optional) + statusIew := []openapiclient.IpamPrefixesListStatusIcParameterInner{openapiclient.ipam_prefixes_list_status__ic_parameter_inner("active")} // []IpamPrefixesListStatusIcParameterInner | Operational status of this prefix * `container` - Container * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated (optional) + statusIsw := []openapiclient.IpamPrefixesListStatusIcParameterInner{openapiclient.ipam_prefixes_list_status__ic_parameter_inner("active")} // []IpamPrefixesListStatusIcParameterInner | Operational status of this prefix * `container` - Container * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated (optional) + statusN := []openapiclient.IpamPrefixesListStatusIcParameterInner{openapiclient.ipam_prefixes_list_status__ic_parameter_inner("active")} // []IpamPrefixesListStatusIcParameterInner | Operational status of this prefix * `container` - Container * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated (optional) + statusNic := []openapiclient.IpamPrefixesListStatusIcParameterInner{openapiclient.ipam_prefixes_list_status__ic_parameter_inner("active")} // []IpamPrefixesListStatusIcParameterInner | Operational status of this prefix * `container` - Container * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated (optional) + statusNie := []openapiclient.IpamPrefixesListStatusIcParameterInner{openapiclient.ipam_prefixes_list_status__ic_parameter_inner("active")} // []IpamPrefixesListStatusIcParameterInner | Operational status of this prefix * `container` - Container * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated (optional) + statusNiew := []openapiclient.IpamPrefixesListStatusIcParameterInner{openapiclient.ipam_prefixes_list_status__ic_parameter_inner("active")} // []IpamPrefixesListStatusIcParameterInner | Operational status of this prefix * `container` - Container * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated (optional) + statusNisw := []openapiclient.IpamPrefixesListStatusIcParameterInner{openapiclient.ipam_prefixes_list_status__ic_parameter_inner("active")} // []IpamPrefixesListStatusIcParameterInner | Operational status of this prefix * `container` - Container * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated (optional) tag := []string{"Inner_example"} // []string | (optional) tagN := []string{"Inner_example"} // []string | (optional) tenant := []string{"Inner_example"} // []string | Tenant (slug) (optional) tenantN := []string{"Inner_example"} // []string | Tenant (slug) (optional) - tenantGroup := []int32{int32(123)} // []int32 | Tenant Group (slug) (optional) - tenantGroupN := []int32{int32(123)} // []int32 | Tenant Group (slug) (optional) - tenantGroupId := []int32{int32(123)} // []int32 | Tenant Group (ID) (optional) - tenantGroupIdN := []int32{int32(123)} // []int32 | Tenant Group (ID) (optional) + tenantGroup := []string{"Inner_example"} // []string | (optional) + tenantGroupN := []string{"Inner_example"} // []string | (optional) + tenantGroupId := []string{"Inner_example"} // []string | (optional) + tenantGroupIdN := []string{"Inner_example"} // []string | (optional) tenantId := []*int32{int32(123)} // []*int32 | Tenant (ID) (optional) tenantIdN := []*int32{int32(123)} // []*int32 | Tenant (ID) (optional) updatedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) @@ -6493,7 +6592,7 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.IpamAPI.IpamPrefixesList(context.Background()).Children(children).ChildrenEmpty(childrenEmpty).ChildrenGt(childrenGt).ChildrenGte(childrenGte).ChildrenLt(childrenLt).ChildrenLte(childrenLte).ChildrenN(childrenN).Contains(contains).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Depth(depth).DepthEmpty(depthEmpty).DepthGt(depthGt).DepthGte(depthGte).DepthLt(depthLt).DepthLte(depthLte).DepthN(depthN).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Family(family).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).IsPool(isPool).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).MarkUtilized(markUtilized).MaskLength(maskLength).MaskLengthGte(maskLengthGte).MaskLengthLte(maskLengthLte).ModifiedByRequest(modifiedByRequest).Offset(offset).Ordering(ordering).Prefix(prefix).PresentInVrf(presentInVrf).PresentInVrfId(presentInVrfId).Q(q).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Status(status).StatusN(statusN).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).UpdatedByRequest(updatedByRequest).VlanId(vlanId).VlanIdN(vlanIdN).VlanVid(vlanVid).VlanVidEmpty(vlanVidEmpty).VlanVidGt(vlanVidGt).VlanVidGte(vlanVidGte).VlanVidLt(vlanVidLt).VlanVidLte(vlanVidLte).VlanVidN(vlanVidN).Vrf(vrf).VrfN(vrfN).VrfId(vrfId).VrfIdN(vrfIdN).Within(within).WithinInclude(withinInclude).Execute() + resp, r, err := apiClient.IpamAPI.IpamPrefixesList(context.Background()).Children(children).ChildrenEmpty(childrenEmpty).ChildrenGt(childrenGt).ChildrenGte(childrenGte).ChildrenLt(childrenLt).ChildrenLte(childrenLte).ChildrenN(childrenN).Contains(contains).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Depth(depth).DepthEmpty(depthEmpty).DepthGt(depthGt).DepthGte(depthGte).DepthLt(depthLt).DepthLte(depthLte).DepthN(depthN).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Family(family).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).IsPool(isPool).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).MarkUtilized(markUtilized).MaskLength(maskLength).MaskLengthGte(maskLengthGte).MaskLengthLte(maskLengthLte).ModifiedByRequest(modifiedByRequest).Offset(offset).Ordering(ordering).Prefix(prefix).PresentInVrf(presentInVrf).PresentInVrfId(presentInVrfId).Q(q).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Status(status).StatusEmpty(statusEmpty).StatusIc(statusIc).StatusIe(statusIe).StatusIew(statusIew).StatusIsw(statusIsw).StatusN(statusN).StatusNic(statusNic).StatusNie(statusNie).StatusNiew(statusNiew).StatusNisw(statusNisw).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).UpdatedByRequest(updatedByRequest).VlanId(vlanId).VlanIdN(vlanIdN).VlanVid(vlanVid).VlanVidEmpty(vlanVidEmpty).VlanVidGt(vlanVidGt).VlanVidGte(vlanVidGte).VlanVidLt(vlanVidLt).VlanVidLte(vlanVidLte).VlanVidN(vlanVidN).Vrf(vrf).VrfN(vrfN).VrfId(vrfId).VrfIdN(vrfIdN).Within(within).WithinInclude(withinInclude).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) @@ -6576,32 +6675,41 @@ Name | Type | Description | Notes **presentInVrf** | **string** | | **presentInVrfId** | **string** | | **q** | **string** | Search | - **region** | **[]int32** | Region (slug) | - **regionN** | **[]int32** | Region (slug) | - **regionId** | **[]int32** | Region (ID) | - **regionIdN** | **[]int32** | Region (ID) | + **region** | **[]string** | | + **regionN** | **[]string** | | + **regionId** | **[]string** | | + **regionIdN** | **[]string** | | **role** | **[]string** | Role (slug) | **roleN** | **[]string** | Role (slug) | **roleId** | **[]int32** | Role (ID) | **roleIdN** | **[]int32** | Role (ID) | **site** | **[]string** | Site (slug) | **siteN** | **[]string** | Site (slug) | - **siteGroup** | **[]int32** | Site group (slug) | - **siteGroupN** | **[]int32** | Site group (slug) | - **siteGroupId** | **[]int32** | Site group (ID) | - **siteGroupIdN** | **[]int32** | Site group (ID) | + **siteGroup** | **[]string** | | + **siteGroupN** | **[]string** | | + **siteGroupId** | **[]string** | | + **siteGroupIdN** | **[]string** | | **siteId** | **[]int32** | Site (ID) | **siteIdN** | **[]int32** | Site (ID) | **status** | **[]string** | Operational status of this prefix | - **statusN** | **[]string** | Operational status of this prefix | + **statusEmpty** | **bool** | | + **statusIc** | [**[]IpamPrefixesListStatusIcParameterInner**](IpamPrefixesListStatusIcParameterInner.md) | Operational status of this prefix * `container` - Container * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated | + **statusIe** | [**[]IpamPrefixesListStatusIcParameterInner**](IpamPrefixesListStatusIcParameterInner.md) | Operational status of this prefix * `container` - Container * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated | + **statusIew** | [**[]IpamPrefixesListStatusIcParameterInner**](IpamPrefixesListStatusIcParameterInner.md) | Operational status of this prefix * `container` - Container * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated | + **statusIsw** | [**[]IpamPrefixesListStatusIcParameterInner**](IpamPrefixesListStatusIcParameterInner.md) | Operational status of this prefix * `container` - Container * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated | + **statusN** | [**[]IpamPrefixesListStatusIcParameterInner**](IpamPrefixesListStatusIcParameterInner.md) | Operational status of this prefix * `container` - Container * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated | + **statusNic** | [**[]IpamPrefixesListStatusIcParameterInner**](IpamPrefixesListStatusIcParameterInner.md) | Operational status of this prefix * `container` - Container * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated | + **statusNie** | [**[]IpamPrefixesListStatusIcParameterInner**](IpamPrefixesListStatusIcParameterInner.md) | Operational status of this prefix * `container` - Container * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated | + **statusNiew** | [**[]IpamPrefixesListStatusIcParameterInner**](IpamPrefixesListStatusIcParameterInner.md) | Operational status of this prefix * `container` - Container * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated | + **statusNisw** | [**[]IpamPrefixesListStatusIcParameterInner**](IpamPrefixesListStatusIcParameterInner.md) | Operational status of this prefix * `container` - Container * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated | **tag** | **[]string** | | **tagN** | **[]string** | | **tenant** | **[]string** | Tenant (slug) | **tenantN** | **[]string** | Tenant (slug) | - **tenantGroup** | **[]int32** | Tenant Group (slug) | - **tenantGroupN** | **[]int32** | Tenant Group (slug) | - **tenantGroupId** | **[]int32** | Tenant Group (ID) | - **tenantGroupIdN** | **[]int32** | Tenant Group (ID) | + **tenantGroup** | **[]string** | | + **tenantGroupN** | **[]string** | | + **tenantGroupId** | **[]string** | | + **tenantGroupIdN** | **[]string** | | **tenantId** | **[]int32** | Tenant (ID) | **tenantIdN** | **[]int32** | Tenant (ID) | **updatedByRequest** | **string** | | @@ -8760,10 +8868,10 @@ func main() { tagN := []string{"Inner_example"} // []string | (optional) tenant := []string{"Inner_example"} // []string | Tenant (slug) (optional) tenantN := []string{"Inner_example"} // []string | Tenant (slug) (optional) - tenantGroup := []int32{int32(123)} // []int32 | Tenant Group (slug) (optional) - tenantGroupN := []int32{int32(123)} // []int32 | Tenant Group (slug) (optional) - tenantGroupId := []int32{int32(123)} // []int32 | Tenant Group (ID) (optional) - tenantGroupIdN := []int32{int32(123)} // []int32 | Tenant Group (ID) (optional) + tenantGroup := []string{"Inner_example"} // []string | (optional) + tenantGroupN := []string{"Inner_example"} // []string | (optional) + tenantGroupId := []string{"Inner_example"} // []string | (optional) + tenantGroupIdN := []string{"Inner_example"} // []string | (optional) tenantId := []*int32{int32(123)} // []*int32 | Tenant (ID) (optional) tenantIdN := []*int32{int32(123)} // []*int32 | Tenant (ID) (optional) updatedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) @@ -8860,10 +8968,10 @@ Name | Type | Description | Notes **tagN** | **[]string** | | **tenant** | **[]string** | Tenant (slug) | **tenantN** | **[]string** | Tenant (slug) | - **tenantGroup** | **[]int32** | Tenant Group (slug) | - **tenantGroupN** | **[]int32** | Tenant Group (slug) | - **tenantGroupId** | **[]int32** | Tenant Group (ID) | - **tenantGroupIdN** | **[]int32** | Tenant Group (ID) | + **tenantGroup** | **[]string** | | + **tenantGroupN** | **[]string** | | + **tenantGroupId** | **[]string** | | + **tenantGroupIdN** | **[]string** | | **tenantId** | **[]int32** | Tenant (ID) | **tenantIdN** | **[]int32** | Tenant (ID) | **updatedByRequest** | **string** | | @@ -9432,7 +9540,7 @@ Name | Type | Description | Notes ## IpamServiceTemplatesList -> PaginatedServiceTemplateList IpamServiceTemplatesList(ctx).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Port(port).Protocol(protocol).ProtocolN(protocolN).Q(q).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).Execute() +> PaginatedServiceTemplateList IpamServiceTemplatesList(ctx).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Port(port).Protocol(protocol).Q(q).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).Execute() @@ -9502,7 +9610,6 @@ func main() { ordering := "ordering_example" // string | Which field to use when ordering the results. (optional) port := float32(8.14) // float32 | (optional) protocol := openapiclient.ipam_service_templates_list_protocol_parameter("sctp") // IpamServiceTemplatesListProtocolParameter | * `tcp` - TCP * `udp` - UDP * `sctp` - SCTP (optional) - protocolN := openapiclient.ipam_service_templates_list_protocol_parameter("sctp") // IpamServiceTemplatesListProtocolParameter | * `tcp` - TCP * `udp` - UDP * `sctp` - SCTP (optional) q := "q_example" // string | Search (optional) tag := []string{"Inner_example"} // []string | (optional) tagN := []string{"Inner_example"} // []string | (optional) @@ -9510,7 +9617,7 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.IpamAPI.IpamServiceTemplatesList(context.Background()).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Port(port).Protocol(protocol).ProtocolN(protocolN).Q(q).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).Execute() + resp, r, err := apiClient.IpamAPI.IpamServiceTemplatesList(context.Background()).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Port(port).Protocol(protocol).Q(q).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamServiceTemplatesList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -9581,7 +9688,6 @@ Name | Type | Description | Notes **ordering** | **string** | Which field to use when ordering the results. | **port** | **float32** | | **protocol** | [**IpamServiceTemplatesListProtocolParameter**](IpamServiceTemplatesListProtocolParameter.md) | * `tcp` - TCP * `udp` - UDP * `sctp` - SCTP | - **protocolN** | [**IpamServiceTemplatesListProtocolParameter**](IpamServiceTemplatesListProtocolParameter.md) | * `tcp` - TCP * `udp` - UDP * `sctp` - SCTP | **q** | **string** | Search | **tag** | **[]string** | | **tagN** | **[]string** | | @@ -10151,7 +10257,7 @@ Name | Type | Description | Notes ## IpamServicesList -> PaginatedServiceList IpamServicesList(ctx).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceN(deviceN).DeviceId(deviceId).DeviceIdN(deviceIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).IpAddress(ipAddress).IpAddressN(ipAddressN).IpAddressId(ipAddressId).IpAddressIdN(ipAddressIdN).Ipaddress(ipaddress).IpaddressN(ipaddressN).IpaddressId(ipaddressId).IpaddressIdN(ipaddressIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Port(port).Protocol(protocol).ProtocolN(protocolN).Q(q).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).VirtualMachine(virtualMachine).VirtualMachineN(virtualMachineN).VirtualMachineId(virtualMachineId).VirtualMachineIdN(virtualMachineIdN).Execute() +> PaginatedServiceList IpamServicesList(ctx).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceN(deviceN).DeviceId(deviceId).DeviceIdN(deviceIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).IpAddress(ipAddress).IpAddressN(ipAddressN).IpAddressId(ipAddressId).IpAddressIdN(ipAddressIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Port(port).Protocol(protocol).Q(q).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).VirtualMachine(virtualMachine).VirtualMachineN(virtualMachineN).VirtualMachineId(virtualMachineId).VirtualMachineIdN(virtualMachineIdN).Execute() @@ -10205,10 +10311,6 @@ func main() { ipAddressN := []string{"Inner_example"} // []string | IP address (optional) ipAddressId := []int32{int32(123)} // []int32 | IP address (ID) (optional) ipAddressIdN := []int32{int32(123)} // []int32 | IP address (ID) (optional) - ipaddress := []string{"Inner_example"} // []string | IP address (optional) - ipaddressN := []string{"Inner_example"} // []string | IP address (optional) - ipaddressId := []int32{int32(123)} // []int32 | IP address (ID) (optional) - ipaddressIdN := []int32{int32(123)} // []int32 | IP address (ID) (optional) lastUpdated := []time.Time{time.Now()} // []time.Time | (optional) lastUpdatedEmpty := []time.Time{time.Now()} // []time.Time | (optional) lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional) @@ -10233,7 +10335,6 @@ func main() { ordering := "ordering_example" // string | Which field to use when ordering the results. (optional) port := float32(8.14) // float32 | (optional) protocol := openapiclient.ipam_service_templates_list_protocol_parameter("sctp") // IpamServiceTemplatesListProtocolParameter | * `tcp` - TCP * `udp` - UDP * `sctp` - SCTP (optional) - protocolN := openapiclient.ipam_service_templates_list_protocol_parameter("sctp") // IpamServiceTemplatesListProtocolParameter | * `tcp` - TCP * `udp` - UDP * `sctp` - SCTP (optional) q := "q_example" // string | Search (optional) tag := []string{"Inner_example"} // []string | (optional) tagN := []string{"Inner_example"} // []string | (optional) @@ -10245,7 +10346,7 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.IpamAPI.IpamServicesList(context.Background()).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceN(deviceN).DeviceId(deviceId).DeviceIdN(deviceIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).IpAddress(ipAddress).IpAddressN(ipAddressN).IpAddressId(ipAddressId).IpAddressIdN(ipAddressIdN).Ipaddress(ipaddress).IpaddressN(ipaddressN).IpaddressId(ipaddressId).IpaddressIdN(ipaddressIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Port(port).Protocol(protocol).ProtocolN(protocolN).Q(q).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).VirtualMachine(virtualMachine).VirtualMachineN(virtualMachineN).VirtualMachineId(virtualMachineId).VirtualMachineIdN(virtualMachineIdN).Execute() + resp, r, err := apiClient.IpamAPI.IpamServicesList(context.Background()).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceN(deviceN).DeviceId(deviceId).DeviceIdN(deviceIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).IpAddress(ipAddress).IpAddressN(ipAddressN).IpAddressId(ipAddressId).IpAddressIdN(ipAddressIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Port(port).Protocol(protocol).Q(q).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).VirtualMachine(virtualMachine).VirtualMachineN(virtualMachineN).VirtualMachineId(virtualMachineId).VirtualMachineIdN(virtualMachineIdN).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) @@ -10300,10 +10401,6 @@ Name | Type | Description | Notes **ipAddressN** | **[]string** | IP address | **ipAddressId** | **[]int32** | IP address (ID) | **ipAddressIdN** | **[]int32** | IP address (ID) | - **ipaddress** | **[]string** | IP address | - **ipaddressN** | **[]string** | IP address | - **ipaddressId** | **[]int32** | IP address (ID) | - **ipaddressIdN** | **[]int32** | IP address (ID) | **lastUpdated** | [**[]time.Time**](time.Time.md) | | **lastUpdatedEmpty** | [**[]time.Time**](time.Time.md) | | **lastUpdatedGt** | [**[]time.Time**](time.Time.md) | | @@ -10328,7 +10425,6 @@ Name | Type | Description | Notes **ordering** | **string** | Which field to use when ordering the results. | **port** | **float32** | | **protocol** | [**IpamServiceTemplatesListProtocolParameter**](IpamServiceTemplatesListProtocolParameter.md) | * `tcp` - TCP * `udp` - UDP * `sctp` - SCTP | - **protocolN** | [**IpamServiceTemplatesListProtocolParameter**](IpamServiceTemplatesListProtocolParameter.md) | * `tcp` - TCP * `udp` - UDP * `sctp` - SCTP | **q** | **string** | Search | **tag** | **[]string** | | **tagN** | **[]string** | | @@ -11044,7 +11140,7 @@ Name | Type | Description | Notes ## IpamVlanGroupsList -> PaginatedVLANGroupList IpamVlanGroupsList(ctx).Cluster(cluster).ClusterGroup(clusterGroup).Clustergroup(clustergroup).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).MaxVid(maxVid).MaxVidEmpty(maxVidEmpty).MaxVidGt(maxVidGt).MaxVidGte(maxVidGte).MaxVidLt(maxVidLt).MaxVidLte(maxVidLte).MaxVidN(maxVidN).MinVid(minVid).MinVidEmpty(minVidEmpty).MinVidGt(minVidGt).MinVidGte(minVidGte).MinVidLt(minVidLt).MinVidLte(minVidLte).MinVidN(minVidN).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).Rack(rack).Region(region).ScopeId(scopeId).ScopeIdEmpty(scopeIdEmpty).ScopeIdGt(scopeIdGt).ScopeIdGte(scopeIdGte).ScopeIdLt(scopeIdLt).ScopeIdLte(scopeIdLte).ScopeIdN(scopeIdN).ScopeType(scopeType).ScopeTypeN(scopeTypeN).Site(site).SiteGroup(siteGroup).Sitegroup(sitegroup).Slug(slug).SlugEmpty(slugEmpty).SlugIc(slugIc).SlugIe(slugIe).SlugIew(slugIew).SlugIsw(slugIsw).SlugN(slugN).SlugNic(slugNic).SlugNie(slugNie).SlugNiew(slugNiew).SlugNisw(slugNisw).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).Execute() +> PaginatedVLANGroupList IpamVlanGroupsList(ctx).Cluster(cluster).ClusterGroup(clusterGroup).ContainsVid(containsVid).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).Rack(rack).Region(region).ScopeId(scopeId).ScopeIdEmpty(scopeIdEmpty).ScopeIdGt(scopeIdGt).ScopeIdGte(scopeIdGte).ScopeIdLt(scopeIdLt).ScopeIdLte(scopeIdLte).ScopeIdN(scopeIdN).ScopeType(scopeType).ScopeTypeN(scopeTypeN).Site(site).SiteGroup(siteGroup).Slug(slug).SlugEmpty(slugEmpty).SlugIc(slugIc).SlugIe(slugIe).SlugIew(slugIew).SlugIsw(slugIsw).SlugN(slugN).SlugNic(slugNic).SlugNie(slugNie).SlugNiew(slugNiew).SlugNisw(slugNisw).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).Execute() @@ -11066,7 +11162,7 @@ import ( func main() { cluster := int32(56) // int32 | (optional) clusterGroup := int32(56) // int32 | (optional) - clustergroup := int32(56) // int32 | (optional) + containsVid := float32(8.14) // float32 | (optional) created := []time.Time{time.Now()} // []time.Time | (optional) createdEmpty := []time.Time{time.Now()} // []time.Time | (optional) createdGt := []time.Time{time.Now()} // []time.Time | (optional) @@ -11102,20 +11198,6 @@ func main() { lastUpdatedN := []time.Time{time.Now()} // []time.Time | (optional) limit := int32(56) // int32 | Number of results to return per page. (optional) location := int32(56) // int32 | (optional) - maxVid := []int32{int32(123)} // []int32 | (optional) - maxVidEmpty := true // bool | (optional) - maxVidGt := []int32{int32(123)} // []int32 | (optional) - maxVidGte := []int32{int32(123)} // []int32 | (optional) - maxVidLt := []int32{int32(123)} // []int32 | (optional) - maxVidLte := []int32{int32(123)} // []int32 | (optional) - maxVidN := []int32{int32(123)} // []int32 | (optional) - minVid := []int32{int32(123)} // []int32 | (optional) - minVidEmpty := true // bool | (optional) - minVidGt := []int32{int32(123)} // []int32 | (optional) - minVidGte := []int32{int32(123)} // []int32 | (optional) - minVidLt := []int32{int32(123)} // []int32 | (optional) - minVidLte := []int32{int32(123)} // []int32 | (optional) - minVidN := []int32{int32(123)} // []int32 | (optional) modifiedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) name := []string{"Inner_example"} // []string | (optional) nameEmpty := true // bool | (optional) @@ -11144,7 +11226,6 @@ func main() { scopeTypeN := "scopeTypeN_example" // string | (optional) site := int32(56) // int32 | (optional) siteGroup := int32(56) // int32 | (optional) - sitegroup := int32(56) // int32 | (optional) slug := []string{"Inner_example"} // []string | (optional) slugEmpty := true // bool | (optional) slugIc := []string{"Inner_example"} // []string | (optional) @@ -11162,7 +11243,7 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.IpamAPI.IpamVlanGroupsList(context.Background()).Cluster(cluster).ClusterGroup(clusterGroup).Clustergroup(clustergroup).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).MaxVid(maxVid).MaxVidEmpty(maxVidEmpty).MaxVidGt(maxVidGt).MaxVidGte(maxVidGte).MaxVidLt(maxVidLt).MaxVidLte(maxVidLte).MaxVidN(maxVidN).MinVid(minVid).MinVidEmpty(minVidEmpty).MinVidGt(minVidGt).MinVidGte(minVidGte).MinVidLt(minVidLt).MinVidLte(minVidLte).MinVidN(minVidN).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).Rack(rack).Region(region).ScopeId(scopeId).ScopeIdEmpty(scopeIdEmpty).ScopeIdGt(scopeIdGt).ScopeIdGte(scopeIdGte).ScopeIdLt(scopeIdLt).ScopeIdLte(scopeIdLte).ScopeIdN(scopeIdN).ScopeType(scopeType).ScopeTypeN(scopeTypeN).Site(site).SiteGroup(siteGroup).Sitegroup(sitegroup).Slug(slug).SlugEmpty(slugEmpty).SlugIc(slugIc).SlugIe(slugIe).SlugIew(slugIew).SlugIsw(slugIsw).SlugN(slugN).SlugNic(slugNic).SlugNie(slugNie).SlugNiew(slugNiew).SlugNisw(slugNisw).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).Execute() + resp, r, err := apiClient.IpamAPI.IpamVlanGroupsList(context.Background()).Cluster(cluster).ClusterGroup(clusterGroup).ContainsVid(containsVid).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).Rack(rack).Region(region).ScopeId(scopeId).ScopeIdEmpty(scopeIdEmpty).ScopeIdGt(scopeIdGt).ScopeIdGte(scopeIdGte).ScopeIdLt(scopeIdLt).ScopeIdLte(scopeIdLte).ScopeIdN(scopeIdN).ScopeType(scopeType).ScopeTypeN(scopeTypeN).Site(site).SiteGroup(siteGroup).Slug(slug).SlugEmpty(slugEmpty).SlugIc(slugIc).SlugIe(slugIe).SlugIew(slugIew).SlugIsw(slugIsw).SlugN(slugN).SlugNic(slugNic).SlugNie(slugNie).SlugNiew(slugNiew).SlugNisw(slugNisw).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).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) @@ -11185,7 +11266,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **cluster** | **int32** | | **clusterGroup** | **int32** | | - **clustergroup** | **int32** | | + **containsVid** | **float32** | | **created** | [**[]time.Time**](time.Time.md) | | **createdEmpty** | [**[]time.Time**](time.Time.md) | | **createdGt** | [**[]time.Time**](time.Time.md) | | @@ -11221,20 +11302,6 @@ Name | Type | Description | Notes **lastUpdatedN** | [**[]time.Time**](time.Time.md) | | **limit** | **int32** | Number of results to return per page. | **location** | **int32** | | - **maxVid** | **[]int32** | | - **maxVidEmpty** | **bool** | | - **maxVidGt** | **[]int32** | | - **maxVidGte** | **[]int32** | | - **maxVidLt** | **[]int32** | | - **maxVidLte** | **[]int32** | | - **maxVidN** | **[]int32** | | - **minVid** | **[]int32** | | - **minVidEmpty** | **bool** | | - **minVidGt** | **[]int32** | | - **minVidGte** | **[]int32** | | - **minVidLt** | **[]int32** | | - **minVidLte** | **[]int32** | | - **minVidN** | **[]int32** | | **modifiedByRequest** | **string** | | **name** | **[]string** | | **nameEmpty** | **bool** | | @@ -11263,7 +11330,6 @@ Name | Type | Description | Notes **scopeTypeN** | **string** | | **site** | **int32** | | **siteGroup** | **int32** | | - **sitegroup** | **int32** | | **slug** | **[]string** | | **slugEmpty** | **bool** | | **slugIc** | **[]string** | | @@ -11843,7 +11909,7 @@ Name | Type | Description | Notes ## IpamVlansList -> PaginatedVLANList IpamVlansList(ctx).AvailableAtSite(availableAtSite).AvailableOnDevice(availableOnDevice).AvailableOnVirtualmachine(availableOnVirtualmachine).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Group(group).GroupN(groupN).GroupId(groupId).GroupIdN(groupIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).L2vpn(l2vpn).L2vpnN(l2vpnN).L2vpnId(l2vpnId).L2vpnIdN(l2vpnIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Status(status).StatusN(statusN).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).UpdatedByRequest(updatedByRequest).Vid(vid).VidEmpty(vidEmpty).VidGt(vidGt).VidGte(vidGte).VidLt(vidLt).VidLte(vidLte).VidN(vidN).Execute() +> PaginatedVLANList IpamVlansList(ctx).AvailableAtSite(availableAtSite).AvailableOnDevice(availableOnDevice).AvailableOnVirtualmachine(availableOnVirtualmachine).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Group(group).GroupN(groupN).GroupId(groupId).GroupIdN(groupIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).L2vpn(l2vpn).L2vpnN(l2vpnN).L2vpnId(l2vpnId).L2vpnIdN(l2vpnIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Status(status).StatusEmpty(statusEmpty).StatusIc(statusIc).StatusIe(statusIe).StatusIew(statusIew).StatusIsw(statusIsw).StatusN(statusN).StatusNic(statusNic).StatusNie(statusNie).StatusNiew(statusNiew).StatusNisw(statusNisw).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).UpdatedByRequest(updatedByRequest).Vid(vid).VidEmpty(vidEmpty).VidGt(vidGt).VidGte(vidGte).VidLt(vidLt).VidLte(vidLte).VidN(vidN).Execute() @@ -11923,32 +11989,41 @@ func main() { offset := int32(56) // int32 | The initial index from which to return the results. (optional) ordering := "ordering_example" // string | Which field to use when ordering the results. (optional) q := "q_example" // string | Search (optional) - region := []int32{int32(123)} // []int32 | Region (slug) (optional) - regionN := []int32{int32(123)} // []int32 | Region (slug) (optional) - regionId := []int32{int32(123)} // []int32 | Region (ID) (optional) - regionIdN := []int32{int32(123)} // []int32 | Region (ID) (optional) + region := []string{"Inner_example"} // []string | (optional) + regionN := []string{"Inner_example"} // []string | (optional) + regionId := []string{"Inner_example"} // []string | (optional) + regionIdN := []string{"Inner_example"} // []string | (optional) role := []string{"Inner_example"} // []string | Role (slug) (optional) roleN := []string{"Inner_example"} // []string | Role (slug) (optional) roleId := []*int32{int32(123)} // []*int32 | Role (ID) (optional) roleIdN := []*int32{int32(123)} // []*int32 | Role (ID) (optional) site := []string{"Inner_example"} // []string | Site (slug) (optional) siteN := []string{"Inner_example"} // []string | Site (slug) (optional) - siteGroup := []int32{int32(123)} // []int32 | Site group (slug) (optional) - siteGroupN := []int32{int32(123)} // []int32 | Site group (slug) (optional) - siteGroupId := []int32{int32(123)} // []int32 | Site group (ID) (optional) - siteGroupIdN := []int32{int32(123)} // []int32 | Site group (ID) (optional) + siteGroup := []string{"Inner_example"} // []string | (optional) + siteGroupN := []string{"Inner_example"} // []string | (optional) + siteGroupId := []string{"Inner_example"} // []string | (optional) + siteGroupIdN := []string{"Inner_example"} // []string | (optional) siteId := []*int32{int32(123)} // []*int32 | Site (ID) (optional) siteIdN := []*int32{int32(123)} // []*int32 | Site (ID) (optional) status := []string{"Inner_example"} // []string | Operational status of this VLAN (optional) - statusN := []string{"Inner_example"} // []string | Operational status of this VLAN (optional) + statusEmpty := true // bool | (optional) + statusIc := []openapiclient.IpamIpRangesListStatusIcParameterInner{openapiclient.ipam_ip_ranges_list_status__ic_parameter_inner("active")} // []IpamIpRangesListStatusIcParameterInner | Operational status of this VLAN * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated (optional) + statusIe := []openapiclient.IpamIpRangesListStatusIcParameterInner{openapiclient.ipam_ip_ranges_list_status__ic_parameter_inner("active")} // []IpamIpRangesListStatusIcParameterInner | Operational status of this VLAN * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated (optional) + statusIew := []openapiclient.IpamIpRangesListStatusIcParameterInner{openapiclient.ipam_ip_ranges_list_status__ic_parameter_inner("active")} // []IpamIpRangesListStatusIcParameterInner | Operational status of this VLAN * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated (optional) + statusIsw := []openapiclient.IpamIpRangesListStatusIcParameterInner{openapiclient.ipam_ip_ranges_list_status__ic_parameter_inner("active")} // []IpamIpRangesListStatusIcParameterInner | Operational status of this VLAN * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated (optional) + statusN := []openapiclient.IpamIpRangesListStatusIcParameterInner{openapiclient.ipam_ip_ranges_list_status__ic_parameter_inner("active")} // []IpamIpRangesListStatusIcParameterInner | Operational status of this VLAN * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated (optional) + statusNic := []openapiclient.IpamIpRangesListStatusIcParameterInner{openapiclient.ipam_ip_ranges_list_status__ic_parameter_inner("active")} // []IpamIpRangesListStatusIcParameterInner | Operational status of this VLAN * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated (optional) + statusNie := []openapiclient.IpamIpRangesListStatusIcParameterInner{openapiclient.ipam_ip_ranges_list_status__ic_parameter_inner("active")} // []IpamIpRangesListStatusIcParameterInner | Operational status of this VLAN * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated (optional) + statusNiew := []openapiclient.IpamIpRangesListStatusIcParameterInner{openapiclient.ipam_ip_ranges_list_status__ic_parameter_inner("active")} // []IpamIpRangesListStatusIcParameterInner | Operational status of this VLAN * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated (optional) + statusNisw := []openapiclient.IpamIpRangesListStatusIcParameterInner{openapiclient.ipam_ip_ranges_list_status__ic_parameter_inner("active")} // []IpamIpRangesListStatusIcParameterInner | Operational status of this VLAN * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated (optional) tag := []string{"Inner_example"} // []string | (optional) tagN := []string{"Inner_example"} // []string | (optional) tenant := []string{"Inner_example"} // []string | Tenant (slug) (optional) tenantN := []string{"Inner_example"} // []string | Tenant (slug) (optional) - tenantGroup := []int32{int32(123)} // []int32 | Tenant Group (slug) (optional) - tenantGroupN := []int32{int32(123)} // []int32 | Tenant Group (slug) (optional) - tenantGroupId := []int32{int32(123)} // []int32 | Tenant Group (ID) (optional) - tenantGroupIdN := []int32{int32(123)} // []int32 | Tenant Group (ID) (optional) + tenantGroup := []string{"Inner_example"} // []string | (optional) + tenantGroupN := []string{"Inner_example"} // []string | (optional) + tenantGroupId := []string{"Inner_example"} // []string | (optional) + tenantGroupIdN := []string{"Inner_example"} // []string | (optional) tenantId := []*int32{int32(123)} // []*int32 | Tenant (ID) (optional) tenantIdN := []*int32{int32(123)} // []*int32 | Tenant (ID) (optional) updatedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) @@ -11962,7 +12037,7 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.IpamAPI.IpamVlansList(context.Background()).AvailableAtSite(availableAtSite).AvailableOnDevice(availableOnDevice).AvailableOnVirtualmachine(availableOnVirtualmachine).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Group(group).GroupN(groupN).GroupId(groupId).GroupIdN(groupIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).L2vpn(l2vpn).L2vpnN(l2vpnN).L2vpnId(l2vpnId).L2vpnIdN(l2vpnIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Status(status).StatusN(statusN).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).UpdatedByRequest(updatedByRequest).Vid(vid).VidEmpty(vidEmpty).VidGt(vidGt).VidGte(vidGte).VidLt(vidLt).VidLte(vidLte).VidN(vidN).Execute() + resp, r, err := apiClient.IpamAPI.IpamVlansList(context.Background()).AvailableAtSite(availableAtSite).AvailableOnDevice(availableOnDevice).AvailableOnVirtualmachine(availableOnVirtualmachine).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Group(group).GroupN(groupN).GroupId(groupId).GroupIdN(groupIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).L2vpn(l2vpn).L2vpnN(l2vpnN).L2vpnId(l2vpnId).L2vpnIdN(l2vpnIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Status(status).StatusEmpty(statusEmpty).StatusIc(statusIc).StatusIe(statusIe).StatusIew(statusIew).StatusIsw(statusIsw).StatusN(statusN).StatusNic(statusNic).StatusNie(statusNie).StatusNiew(statusNiew).StatusNisw(statusNisw).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).UpdatedByRequest(updatedByRequest).Vid(vid).VidEmpty(vidEmpty).VidGt(vidGt).VidGte(vidGte).VidLt(vidLt).VidLte(vidLte).VidN(vidN).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) @@ -12043,32 +12118,41 @@ Name | Type | Description | Notes **offset** | **int32** | The initial index from which to return the results. | **ordering** | **string** | Which field to use when ordering the results. | **q** | **string** | Search | - **region** | **[]int32** | Region (slug) | - **regionN** | **[]int32** | Region (slug) | - **regionId** | **[]int32** | Region (ID) | - **regionIdN** | **[]int32** | Region (ID) | + **region** | **[]string** | | + **regionN** | **[]string** | | + **regionId** | **[]string** | | + **regionIdN** | **[]string** | | **role** | **[]string** | Role (slug) | **roleN** | **[]string** | Role (slug) | **roleId** | **[]int32** | Role (ID) | **roleIdN** | **[]int32** | Role (ID) | **site** | **[]string** | Site (slug) | **siteN** | **[]string** | Site (slug) | - **siteGroup** | **[]int32** | Site group (slug) | - **siteGroupN** | **[]int32** | Site group (slug) | - **siteGroupId** | **[]int32** | Site group (ID) | - **siteGroupIdN** | **[]int32** | Site group (ID) | + **siteGroup** | **[]string** | | + **siteGroupN** | **[]string** | | + **siteGroupId** | **[]string** | | + **siteGroupIdN** | **[]string** | | **siteId** | **[]int32** | Site (ID) | **siteIdN** | **[]int32** | Site (ID) | **status** | **[]string** | Operational status of this VLAN | - **statusN** | **[]string** | Operational status of this VLAN | + **statusEmpty** | **bool** | | + **statusIc** | [**[]IpamIpRangesListStatusIcParameterInner**](IpamIpRangesListStatusIcParameterInner.md) | Operational status of this VLAN * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated | + **statusIe** | [**[]IpamIpRangesListStatusIcParameterInner**](IpamIpRangesListStatusIcParameterInner.md) | Operational status of this VLAN * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated | + **statusIew** | [**[]IpamIpRangesListStatusIcParameterInner**](IpamIpRangesListStatusIcParameterInner.md) | Operational status of this VLAN * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated | + **statusIsw** | [**[]IpamIpRangesListStatusIcParameterInner**](IpamIpRangesListStatusIcParameterInner.md) | Operational status of this VLAN * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated | + **statusN** | [**[]IpamIpRangesListStatusIcParameterInner**](IpamIpRangesListStatusIcParameterInner.md) | Operational status of this VLAN * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated | + **statusNic** | [**[]IpamIpRangesListStatusIcParameterInner**](IpamIpRangesListStatusIcParameterInner.md) | Operational status of this VLAN * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated | + **statusNie** | [**[]IpamIpRangesListStatusIcParameterInner**](IpamIpRangesListStatusIcParameterInner.md) | Operational status of this VLAN * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated | + **statusNiew** | [**[]IpamIpRangesListStatusIcParameterInner**](IpamIpRangesListStatusIcParameterInner.md) | Operational status of this VLAN * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated | + **statusNisw** | [**[]IpamIpRangesListStatusIcParameterInner**](IpamIpRangesListStatusIcParameterInner.md) | Operational status of this VLAN * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated | **tag** | **[]string** | | **tagN** | **[]string** | | **tenant** | **[]string** | Tenant (slug) | **tenantN** | **[]string** | Tenant (slug) | - **tenantGroup** | **[]int32** | Tenant Group (slug) | - **tenantGroupN** | **[]int32** | Tenant Group (slug) | - **tenantGroupId** | **[]int32** | Tenant Group (ID) | - **tenantGroupIdN** | **[]int32** | Tenant Group (ID) | + **tenantGroup** | **[]string** | | + **tenantGroupN** | **[]string** | | + **tenantGroupId** | **[]string** | | + **tenantGroupIdN** | **[]string** | | **tenantId** | **[]int32** | Tenant (ID) | **tenantIdN** | **[]int32** | Tenant (ID) | **updatedByRequest** | **string** | | @@ -12737,10 +12821,10 @@ func main() { tagN := []string{"Inner_example"} // []string | (optional) tenant := []string{"Inner_example"} // []string | Tenant (slug) (optional) tenantN := []string{"Inner_example"} // []string | Tenant (slug) (optional) - tenantGroup := []int32{int32(123)} // []int32 | Tenant Group (slug) (optional) - tenantGroupN := []int32{int32(123)} // []int32 | Tenant Group (slug) (optional) - tenantGroupId := []int32{int32(123)} // []int32 | Tenant Group (ID) (optional) - tenantGroupIdN := []int32{int32(123)} // []int32 | Tenant Group (ID) (optional) + tenantGroup := []string{"Inner_example"} // []string | (optional) + tenantGroupN := []string{"Inner_example"} // []string | (optional) + tenantGroupId := []string{"Inner_example"} // []string | (optional) + tenantGroupIdN := []string{"Inner_example"} // []string | (optional) tenantId := []*int32{int32(123)} // []*int32 | Tenant (ID) (optional) tenantIdN := []*int32{int32(123)} // []*int32 | Tenant (ID) (optional) updatedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) @@ -12841,10 +12925,10 @@ Name | Type | Description | Notes **tagN** | **[]string** | | **tenant** | **[]string** | Tenant (slug) | **tenantN** | **[]string** | Tenant (slug) | - **tenantGroup** | **[]int32** | Tenant Group (slug) | - **tenantGroupN** | **[]int32** | Tenant Group (slug) | - **tenantGroupId** | **[]int32** | Tenant Group (ID) | - **tenantGroupIdN** | **[]int32** | Tenant Group (ID) | + **tenantGroup** | **[]string** | | + **tenantGroupN** | **[]string** | | + **tenantGroupId** | **[]string** | | + **tenantGroupIdN** | **[]string** | | **tenantId** | **[]int32** | Tenant (ID) | **tenantIdN** | **[]int32** | Tenant (ID) | **updatedByRequest** | **string** | | diff --git a/docs/IpamFhrpGroupsListProtocolIcParameterInner.md b/docs/IpamFhrpGroupsListProtocolIcParameterInner.md new file mode 100644 index 000000000..e46d97bb7 --- /dev/null +++ b/docs/IpamFhrpGroupsListProtocolIcParameterInner.md @@ -0,0 +1,23 @@ +# IpamFhrpGroupsListProtocolIcParameterInner + +## Enum + + +* `CARP` (value: `"carp"`) + +* `CLUSTERXL` (value: `"clusterxl"`) + +* `GLBP` (value: `"glbp"`) + +* `HSRP` (value: `"hsrp"`) + +* `OTHER` (value: `"other"`) + +* `VRRP2` (value: `"vrrp2"`) + +* `VRRP3` (value: `"vrrp3"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/IpamIpAddressesListRoleIcParameterInner.md b/docs/IpamIpAddressesListRoleIcParameterInner.md new file mode 100644 index 000000000..2340e594b --- /dev/null +++ b/docs/IpamIpAddressesListRoleIcParameterInner.md @@ -0,0 +1,27 @@ +# IpamIpAddressesListRoleIcParameterInner + +## Enum + + +* `EMPTY` (value: `""`) + +* `ANYCAST` (value: `"anycast"`) + +* `CARP` (value: `"carp"`) + +* `GLBP` (value: `"glbp"`) + +* `HSRP` (value: `"hsrp"`) + +* `LOOPBACK` (value: `"loopback"`) + +* `SECONDARY` (value: `"secondary"`) + +* `VIP` (value: `"vip"`) + +* `VRRP` (value: `"vrrp"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/IpamIpAddressesListStatusIcParameterInner.md b/docs/IpamIpAddressesListStatusIcParameterInner.md new file mode 100644 index 000000000..2efeeb68a --- /dev/null +++ b/docs/IpamIpAddressesListStatusIcParameterInner.md @@ -0,0 +1,19 @@ +# IpamIpAddressesListStatusIcParameterInner + +## Enum + + +* `ACTIVE` (value: `"active"`) + +* `DEPRECATED` (value: `"deprecated"`) + +* `DHCP` (value: `"dhcp"`) + +* `RESERVED` (value: `"reserved"`) + +* `SLAAC` (value: `"slaac"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/IpamIpRangesListStatusIcParameterInner.md b/docs/IpamIpRangesListStatusIcParameterInner.md new file mode 100644 index 000000000..cfc19b612 --- /dev/null +++ b/docs/IpamIpRangesListStatusIcParameterInner.md @@ -0,0 +1,15 @@ +# IpamIpRangesListStatusIcParameterInner + +## Enum + + +* `ACTIVE` (value: `"active"`) + +* `DEPRECATED` (value: `"deprecated"`) + +* `RESERVED` (value: `"reserved"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/IpamPrefixesListStatusIcParameterInner.md b/docs/IpamPrefixesListStatusIcParameterInner.md new file mode 100644 index 000000000..3f5bdf7f8 --- /dev/null +++ b/docs/IpamPrefixesListStatusIcParameterInner.md @@ -0,0 +1,17 @@ +# IpamPrefixesListStatusIcParameterInner + +## Enum + + +* `ACTIVE` (value: `"active"`) + +* `CONTAINER` (value: `"container"`) + +* `DEPRECATED` (value: `"deprecated"`) + +* `RESERVED` (value: `"reserved"`) + + +[[Back to Model list]](../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 1366c5915..652544e72 100644 --- a/docs/Job.md +++ b/docs/Job.md @@ -6,17 +6,18 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **ObjectType** | **string** | | [readonly] **ObjectId** | Pointer to **NullableInt64** | | [optional] **Name** | **string** | | -**Status** | [**JobStatus**](JobStatus.md) | | +**Status** | [**BriefJobStatus**](BriefJobStatus.md) | | **Created** | **time.Time** | | [readonly] **Scheduled** | Pointer to **NullableTime** | | [optional] **Interval** | Pointer to **NullableInt32** | Recurrence interval (in minutes) | [optional] **Started** | Pointer to **NullableTime** | | [optional] **Completed** | Pointer to **NullableTime** | | [optional] -**User** | [**User**](User.md) | | [readonly] +**User** | [**BriefUser**](BriefUser.md) | | [readonly] **Data** | Pointer to **interface{}** | | [optional] **Error** | **string** | | [readonly] **JobId** | **string** | | @@ -25,7 +26,7 @@ Name | Type | Description | Notes ### NewJob -`func NewJob(id int32, url string, display string, objectType string, name string, status JobStatus, created time.Time, user User, error_ string, jobId string, ) *Job` +`func NewJob(id int32, url string, display string, objectType string, name string, status BriefJobStatus, created time.Time, user BriefUser, error_ string, jobId string, ) *Job` NewJob instantiates a new Job object This constructor will assign default values to properties that have it defined, @@ -80,6 +81,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *Job) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *Job) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *Job) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *Job) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *Job) GetDisplay() string` @@ -177,20 +203,20 @@ SetName sets Name field to given value. ### GetStatus -`func (o *Job) GetStatus() JobStatus` +`func (o *Job) GetStatus() BriefJobStatus` GetStatus returns the Status field if non-nil, zero value otherwise. ### GetStatusOk -`func (o *Job) GetStatusOk() (*JobStatus, bool)` +`func (o *Job) GetStatusOk() (*BriefJobStatus, 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 *Job) SetStatus(v JobStatus)` +`func (o *Job) SetStatus(v BriefJobStatus)` SetStatus sets Status field to given value. @@ -357,20 +383,20 @@ HasCompleted returns a boolean if a field has been set. UnsetCompleted ensures that no value is present for Completed, not even an explicit nil ### GetUser -`func (o *Job) GetUser() User` +`func (o *Job) GetUser() BriefUser` GetUser returns the User field if non-nil, zero value otherwise. ### GetUserOk -`func (o *Job) GetUserOk() (*User, bool)` +`func (o *Job) GetUserOk() (*BriefUser, bool)` GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUser -`func (o *Job) SetUser(v User)` +`func (o *Job) SetUser(v BriefUser)` SetUser sets User field to given value. diff --git a/docs/JournalEntry.md b/docs/JournalEntry.md index de511cc13..6277d597a 100644 --- a/docs/JournalEntry.md +++ b/docs/JournalEntry.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **AssignedObjectType** | **string** | | **AssignedObjectId** | **int64** | | @@ -77,6 +78,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *JournalEntry) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *JournalEntry) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *JournalEntry) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *JournalEntry) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *JournalEntry) GetDisplay() string` diff --git a/docs/L2VPN.md b/docs/L2VPN.md index 85cc2783e..3bb329675 100644 --- a/docs/L2VPN.md +++ b/docs/L2VPN.md @@ -6,18 +6,27 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Identifier** | Pointer to **NullableInt64** | | [optional] **Name** | **string** | | **Slug** | **string** | | -**Type** | Pointer to [**L2VPNType**](L2VPNType.md) | | [optional] +**Type** | Pointer to [**BriefL2VPNType**](BriefL2VPNType.md) | | [optional] +**ImportTargets** | Pointer to [**[]RouteTarget**](RouteTarget.md) | | [optional] +**ExportTargets** | Pointer to [**[]RouteTarget**](RouteTarget.md) | | [optional] **Description** | Pointer to **string** | | [optional] +**Comments** | Pointer to **string** | | [optional] +**Tenant** | Pointer to [**NullableBriefTenant**](BriefTenant.md) | | [optional] +**Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] +**Created** | **NullableTime** | | [readonly] +**LastUpdated** | **NullableTime** | | [readonly] ## Methods ### NewL2VPN -`func NewL2VPN(id int32, url string, display string, name string, slug string, ) *L2VPN` +`func NewL2VPN(id int32, url string, display string, name string, slug string, created NullableTime, lastUpdated NullableTime, ) *L2VPN` NewL2VPN instantiates a new L2VPN object This constructor will assign default values to properties that have it defined, @@ -72,6 +81,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *L2VPN) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *L2VPN) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *L2VPN) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *L2VPN) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *L2VPN) GetDisplay() string` @@ -169,20 +203,20 @@ SetSlug sets Slug field to given value. ### GetType -`func (o *L2VPN) GetType() L2VPNType` +`func (o *L2VPN) GetType() BriefL2VPNType` GetType returns the Type field if non-nil, zero value otherwise. ### GetTypeOk -`func (o *L2VPN) GetTypeOk() (*L2VPNType, bool)` +`func (o *L2VPN) GetTypeOk() (*BriefL2VPNType, bool)` GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetType -`func (o *L2VPN) SetType(v L2VPNType)` +`func (o *L2VPN) SetType(v BriefL2VPNType)` SetType sets Type field to given value. @@ -192,6 +226,56 @@ SetType sets Type field to given value. HasType returns a boolean if a field has been set. +### GetImportTargets + +`func (o *L2VPN) GetImportTargets() []RouteTarget` + +GetImportTargets returns the ImportTargets field if non-nil, zero value otherwise. + +### GetImportTargetsOk + +`func (o *L2VPN) GetImportTargetsOk() (*[]RouteTarget, bool)` + +GetImportTargetsOk returns a tuple with the ImportTargets field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetImportTargets + +`func (o *L2VPN) SetImportTargets(v []RouteTarget)` + +SetImportTargets sets ImportTargets field to given value. + +### HasImportTargets + +`func (o *L2VPN) HasImportTargets() bool` + +HasImportTargets returns a boolean if a field has been set. + +### GetExportTargets + +`func (o *L2VPN) GetExportTargets() []RouteTarget` + +GetExportTargets returns the ExportTargets field if non-nil, zero value otherwise. + +### GetExportTargetsOk + +`func (o *L2VPN) GetExportTargetsOk() (*[]RouteTarget, bool)` + +GetExportTargetsOk returns a tuple with the ExportTargets field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExportTargets + +`func (o *L2VPN) SetExportTargets(v []RouteTarget)` + +SetExportTargets sets ExportTargets field to given value. + +### HasExportTargets + +`func (o *L2VPN) HasExportTargets() bool` + +HasExportTargets returns a boolean if a field has been set. + ### GetDescription `func (o *L2VPN) GetDescription() string` @@ -217,6 +301,176 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetComments + +`func (o *L2VPN) GetComments() string` + +GetComments returns the Comments field if non-nil, zero value otherwise. + +### GetCommentsOk + +`func (o *L2VPN) GetCommentsOk() (*string, bool)` + +GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComments + +`func (o *L2VPN) SetComments(v string)` + +SetComments sets Comments field to given value. + +### HasComments + +`func (o *L2VPN) HasComments() bool` + +HasComments returns a boolean if a field has been set. + +### GetTenant + +`func (o *L2VPN) GetTenant() BriefTenant` + +GetTenant returns the Tenant field if non-nil, zero value otherwise. + +### GetTenantOk + +`func (o *L2VPN) GetTenantOk() (*BriefTenant, 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 *L2VPN) SetTenant(v BriefTenant)` + +SetTenant sets Tenant field to given value. + +### HasTenant + +`func (o *L2VPN) HasTenant() bool` + +HasTenant returns a boolean if a field has been set. + +### SetTenantNil + +`func (o *L2VPN) SetTenantNil(b bool)` + + SetTenantNil sets the value for Tenant to be an explicit nil + +### UnsetTenant +`func (o *L2VPN) UnsetTenant()` + +UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +### GetTags + +`func (o *L2VPN) GetTags() []NestedTag` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *L2VPN) GetTagsOk() (*[]NestedTag, 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 *L2VPN) SetTags(v []NestedTag)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *L2VPN) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *L2VPN) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *L2VPN) 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 *L2VPN) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *L2VPN) HasCustomFields() bool` + +HasCustomFields returns a boolean if a field has been set. + +### GetCreated + +`func (o *L2VPN) GetCreated() time.Time` + +GetCreated returns the Created field if non-nil, zero value otherwise. + +### GetCreatedOk + +`func (o *L2VPN) 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 *L2VPN) SetCreated(v time.Time)` + +SetCreated sets Created field to given value. + + +### SetCreatedNil + +`func (o *L2VPN) SetCreatedNil(b bool)` + + SetCreatedNil sets the value for Created to be an explicit nil + +### UnsetCreated +`func (o *L2VPN) UnsetCreated()` + +UnsetCreated ensures that no value is present for Created, not even an explicit nil +### GetLastUpdated + +`func (o *L2VPN) GetLastUpdated() time.Time` + +GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise. + +### GetLastUpdatedOk + +`func (o *L2VPN) 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 *L2VPN) SetLastUpdated(v time.Time)` + +SetLastUpdated sets LastUpdated field to given value. + + +### SetLastUpdatedNil + +`func (o *L2VPN) SetLastUpdatedNil(b bool)` + + SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil + +### UnsetLastUpdated +`func (o *L2VPN) UnsetLastUpdated()` + +UnsetLastUpdated ensures that no value is present for LastUpdated, 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/L2VPNRequest.md b/docs/L2VPNRequest.md index 7c5fb24c8..22f327eb1 100644 --- a/docs/L2VPNRequest.md +++ b/docs/L2VPNRequest.md @@ -7,8 +7,14 @@ Name | Type | Description | Notes **Identifier** | Pointer to **NullableInt64** | | [optional] **Name** | **string** | | **Slug** | **string** | | -**Type** | Pointer to [**L2VPNTypeValue**](L2VPNTypeValue.md) | | [optional] +**Type** | Pointer to [**BriefL2VPNTypeValue**](BriefL2VPNTypeValue.md) | | [optional] +**ImportTargets** | Pointer to **[]int32** | | [optional] +**ExportTargets** | Pointer to **[]int32** | | [optional] **Description** | Pointer to **string** | | [optional] +**Comments** | Pointer to **string** | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] +**Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] ## Methods @@ -106,20 +112,20 @@ SetSlug sets Slug field to given value. ### GetType -`func (o *L2VPNRequest) GetType() L2VPNTypeValue` +`func (o *L2VPNRequest) GetType() BriefL2VPNTypeValue` GetType returns the Type field if non-nil, zero value otherwise. ### GetTypeOk -`func (o *L2VPNRequest) GetTypeOk() (*L2VPNTypeValue, bool)` +`func (o *L2VPNRequest) GetTypeOk() (*BriefL2VPNTypeValue, bool)` GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetType -`func (o *L2VPNRequest) SetType(v L2VPNTypeValue)` +`func (o *L2VPNRequest) SetType(v BriefL2VPNTypeValue)` SetType sets Type field to given value. @@ -129,6 +135,56 @@ SetType sets Type field to given value. HasType returns a boolean if a field has been set. +### GetImportTargets + +`func (o *L2VPNRequest) GetImportTargets() []int32` + +GetImportTargets returns the ImportTargets field if non-nil, zero value otherwise. + +### GetImportTargetsOk + +`func (o *L2VPNRequest) GetImportTargetsOk() (*[]int32, bool)` + +GetImportTargetsOk returns a tuple with the ImportTargets field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetImportTargets + +`func (o *L2VPNRequest) SetImportTargets(v []int32)` + +SetImportTargets sets ImportTargets field to given value. + +### HasImportTargets + +`func (o *L2VPNRequest) HasImportTargets() bool` + +HasImportTargets returns a boolean if a field has been set. + +### GetExportTargets + +`func (o *L2VPNRequest) GetExportTargets() []int32` + +GetExportTargets returns the ExportTargets field if non-nil, zero value otherwise. + +### GetExportTargetsOk + +`func (o *L2VPNRequest) GetExportTargetsOk() (*[]int32, bool)` + +GetExportTargetsOk returns a tuple with the ExportTargets field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExportTargets + +`func (o *L2VPNRequest) SetExportTargets(v []int32)` + +SetExportTargets sets ExportTargets field to given value. + +### HasExportTargets + +`func (o *L2VPNRequest) HasExportTargets() bool` + +HasExportTargets returns a boolean if a field has been set. + ### GetDescription `func (o *L2VPNRequest) GetDescription() string` @@ -154,6 +210,116 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetComments + +`func (o *L2VPNRequest) GetComments() string` + +GetComments returns the Comments field if non-nil, zero value otherwise. + +### GetCommentsOk + +`func (o *L2VPNRequest) GetCommentsOk() (*string, bool)` + +GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComments + +`func (o *L2VPNRequest) SetComments(v string)` + +SetComments sets Comments field to given value. + +### HasComments + +`func (o *L2VPNRequest) HasComments() bool` + +HasComments returns a boolean if a field has been set. + +### GetTenant + +`func (o *L2VPNRequest) GetTenant() BriefTenantRequest` + +GetTenant returns the Tenant field if non-nil, zero value otherwise. + +### GetTenantOk + +`func (o *L2VPNRequest) GetTenantOk() (*BriefTenantRequest, 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 *L2VPNRequest) SetTenant(v BriefTenantRequest)` + +SetTenant sets Tenant field to given value. + +### HasTenant + +`func (o *L2VPNRequest) HasTenant() bool` + +HasTenant returns a boolean if a field has been set. + +### SetTenantNil + +`func (o *L2VPNRequest) SetTenantNil(b bool)` + + SetTenantNil sets the value for Tenant to be an explicit nil + +### UnsetTenant +`func (o *L2VPNRequest) UnsetTenant()` + +UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +### GetTags + +`func (o *L2VPNRequest) GetTags() []NestedTagRequest` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *L2VPNRequest) GetTagsOk() (*[]NestedTagRequest, 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 *L2VPNRequest) SetTags(v []NestedTagRequest)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *L2VPNRequest) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *L2VPNRequest) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *L2VPNRequest) 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 *L2VPNRequest) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *L2VPNRequest) 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/L2VPNTermination.md b/docs/L2VPNTermination.md index 4c558a8e6..61e0dadff 100644 --- a/docs/L2VPNTermination.md +++ b/docs/L2VPNTermination.md @@ -6,14 +6,22 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] -**L2vpn** | [**L2VPN**](L2VPN.md) | | +**L2vpn** | [**BriefL2VPN**](BriefL2VPN.md) | | +**AssignedObjectType** | **string** | | +**AssignedObjectId** | **int64** | | +**AssignedObject** | **interface{}** | | [readonly] +**Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] +**Created** | **NullableTime** | | [readonly] +**LastUpdated** | **NullableTime** | | [readonly] ## Methods ### NewL2VPNTermination -`func NewL2VPNTermination(id int32, url string, display string, l2vpn L2VPN, ) *L2VPNTermination` +`func NewL2VPNTermination(id int32, url string, display string, l2vpn BriefL2VPN, assignedObjectType string, assignedObjectId int64, assignedObject interface{}, created NullableTime, lastUpdated NullableTime, ) *L2VPNTermination` NewL2VPNTermination instantiates a new L2VPNTermination object This constructor will assign default values to properties that have it defined, @@ -68,6 +76,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *L2VPNTermination) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *L2VPNTermination) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *L2VPNTermination) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *L2VPNTermination) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *L2VPNTermination) GetDisplay() string` @@ -90,24 +123,204 @@ SetDisplay sets Display field to given value. ### GetL2vpn -`func (o *L2VPNTermination) GetL2vpn() L2VPN` +`func (o *L2VPNTermination) GetL2vpn() BriefL2VPN` GetL2vpn returns the L2vpn field if non-nil, zero value otherwise. ### GetL2vpnOk -`func (o *L2VPNTermination) GetL2vpnOk() (*L2VPN, bool)` +`func (o *L2VPNTermination) GetL2vpnOk() (*BriefL2VPN, bool)` GetL2vpnOk returns a tuple with the L2vpn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetL2vpn -`func (o *L2VPNTermination) SetL2vpn(v L2VPN)` +`func (o *L2VPNTermination) SetL2vpn(v BriefL2VPN)` SetL2vpn sets L2vpn field to given value. +### GetAssignedObjectType + +`func (o *L2VPNTermination) GetAssignedObjectType() string` + +GetAssignedObjectType returns the AssignedObjectType field if non-nil, zero value otherwise. + +### GetAssignedObjectTypeOk + +`func (o *L2VPNTermination) GetAssignedObjectTypeOk() (*string, bool)` + +GetAssignedObjectTypeOk returns a tuple with the AssignedObjectType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAssignedObjectType + +`func (o *L2VPNTermination) SetAssignedObjectType(v string)` + +SetAssignedObjectType sets AssignedObjectType field to given value. + + +### GetAssignedObjectId + +`func (o *L2VPNTermination) GetAssignedObjectId() int64` + +GetAssignedObjectId returns the AssignedObjectId field if non-nil, zero value otherwise. + +### GetAssignedObjectIdOk + +`func (o *L2VPNTermination) GetAssignedObjectIdOk() (*int64, bool)` + +GetAssignedObjectIdOk returns a tuple with the AssignedObjectId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAssignedObjectId + +`func (o *L2VPNTermination) SetAssignedObjectId(v int64)` + +SetAssignedObjectId sets AssignedObjectId field to given value. + + +### GetAssignedObject + +`func (o *L2VPNTermination) GetAssignedObject() interface{}` + +GetAssignedObject returns the AssignedObject field if non-nil, zero value otherwise. + +### GetAssignedObjectOk + +`func (o *L2VPNTermination) GetAssignedObjectOk() (*interface{}, bool)` + +GetAssignedObjectOk returns a tuple with the AssignedObject field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAssignedObject + +`func (o *L2VPNTermination) SetAssignedObject(v interface{})` + +SetAssignedObject sets AssignedObject field to given value. + + +### SetAssignedObjectNil + +`func (o *L2VPNTermination) SetAssignedObjectNil(b bool)` + + SetAssignedObjectNil sets the value for AssignedObject to be an explicit nil + +### UnsetAssignedObject +`func (o *L2VPNTermination) UnsetAssignedObject()` + +UnsetAssignedObject ensures that no value is present for AssignedObject, not even an explicit nil +### GetTags + +`func (o *L2VPNTermination) GetTags() []NestedTag` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *L2VPNTermination) GetTagsOk() (*[]NestedTag, 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 *L2VPNTermination) SetTags(v []NestedTag)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *L2VPNTermination) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *L2VPNTermination) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *L2VPNTermination) 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 *L2VPNTermination) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *L2VPNTermination) HasCustomFields() bool` + +HasCustomFields returns a boolean if a field has been set. + +### GetCreated + +`func (o *L2VPNTermination) GetCreated() time.Time` + +GetCreated returns the Created field if non-nil, zero value otherwise. + +### GetCreatedOk + +`func (o *L2VPNTermination) 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 *L2VPNTermination) SetCreated(v time.Time)` + +SetCreated sets Created field to given value. + + +### SetCreatedNil + +`func (o *L2VPNTermination) SetCreatedNil(b bool)` + + SetCreatedNil sets the value for Created to be an explicit nil + +### UnsetCreated +`func (o *L2VPNTermination) UnsetCreated()` + +UnsetCreated ensures that no value is present for Created, not even an explicit nil +### GetLastUpdated + +`func (o *L2VPNTermination) GetLastUpdated() time.Time` + +GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise. + +### GetLastUpdatedOk + +`func (o *L2VPNTermination) 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 *L2VPNTermination) SetLastUpdated(v time.Time)` + +SetLastUpdated sets LastUpdated field to given value. + + +### SetLastUpdatedNil + +`func (o *L2VPNTermination) SetLastUpdatedNil(b bool)` + + SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil + +### UnsetLastUpdated +`func (o *L2VPNTermination) UnsetLastUpdated()` + +UnsetLastUpdated ensures that no value is present for LastUpdated, 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/L2VPNTerminationRequest.md b/docs/L2VPNTerminationRequest.md index 06ee7633d..2fb1317c5 100644 --- a/docs/L2VPNTerminationRequest.md +++ b/docs/L2VPNTerminationRequest.md @@ -4,13 +4,17 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**L2vpn** | [**L2VPNRequest**](L2VPNRequest.md) | | +**L2vpn** | [**BriefL2VPNRequest**](BriefL2VPNRequest.md) | | +**AssignedObjectType** | **string** | | +**AssignedObjectId** | **int64** | | +**Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] ## Methods ### NewL2VPNTerminationRequest -`func NewL2VPNTerminationRequest(l2vpn L2VPNRequest, ) *L2VPNTerminationRequest` +`func NewL2VPNTerminationRequest(l2vpn BriefL2VPNRequest, assignedObjectType string, assignedObjectId int64, ) *L2VPNTerminationRequest` NewL2VPNTerminationRequest instantiates a new L2VPNTerminationRequest object This constructor will assign default values to properties that have it defined, @@ -27,24 +31,114 @@ but it doesn't guarantee that properties required by API are set ### GetL2vpn -`func (o *L2VPNTerminationRequest) GetL2vpn() L2VPNRequest` +`func (o *L2VPNTerminationRequest) GetL2vpn() BriefL2VPNRequest` GetL2vpn returns the L2vpn field if non-nil, zero value otherwise. ### GetL2vpnOk -`func (o *L2VPNTerminationRequest) GetL2vpnOk() (*L2VPNRequest, bool)` +`func (o *L2VPNTerminationRequest) GetL2vpnOk() (*BriefL2VPNRequest, bool)` GetL2vpnOk returns a tuple with the L2vpn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetL2vpn -`func (o *L2VPNTerminationRequest) SetL2vpn(v L2VPNRequest)` +`func (o *L2VPNTerminationRequest) SetL2vpn(v BriefL2VPNRequest)` SetL2vpn sets L2vpn field to given value. +### GetAssignedObjectType + +`func (o *L2VPNTerminationRequest) GetAssignedObjectType() string` + +GetAssignedObjectType returns the AssignedObjectType field if non-nil, zero value otherwise. + +### GetAssignedObjectTypeOk + +`func (o *L2VPNTerminationRequest) GetAssignedObjectTypeOk() (*string, bool)` + +GetAssignedObjectTypeOk returns a tuple with the AssignedObjectType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAssignedObjectType + +`func (o *L2VPNTerminationRequest) SetAssignedObjectType(v string)` + +SetAssignedObjectType sets AssignedObjectType field to given value. + + +### GetAssignedObjectId + +`func (o *L2VPNTerminationRequest) GetAssignedObjectId() int64` + +GetAssignedObjectId returns the AssignedObjectId field if non-nil, zero value otherwise. + +### GetAssignedObjectIdOk + +`func (o *L2VPNTerminationRequest) GetAssignedObjectIdOk() (*int64, bool)` + +GetAssignedObjectIdOk returns a tuple with the AssignedObjectId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAssignedObjectId + +`func (o *L2VPNTerminationRequest) SetAssignedObjectId(v int64)` + +SetAssignedObjectId sets AssignedObjectId field to given value. + + +### GetTags + +`func (o *L2VPNTerminationRequest) GetTags() []NestedTagRequest` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *L2VPNTerminationRequest) GetTagsOk() (*[]NestedTagRequest, 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 *L2VPNTerminationRequest) SetTags(v []NestedTagRequest)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *L2VPNTerminationRequest) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *L2VPNTerminationRequest) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *L2VPNTerminationRequest) 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 *L2VPNTerminationRequest) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *L2VPNTerminationRequest) 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/Location.md b/docs/Location.md index 4130ec547..33e503921 100644 --- a/docs/Location.md +++ b/docs/Location.md @@ -6,18 +6,29 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Name** | **string** | | **Slug** | **string** | | +**Site** | [**BriefSite**](BriefSite.md) | | +**Parent** | Pointer to [**NullableNestedLocation**](NestedLocation.md) | | [optional] +**Status** | Pointer to [**LocationStatus**](LocationStatus.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenant**](BriefTenant.md) | | [optional] +**Facility** | Pointer to **string** | Local facility ID or description | [optional] **Description** | Pointer to **string** | | [optional] +**Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] +**Created** | **NullableTime** | | [readonly] +**LastUpdated** | **NullableTime** | | [readonly] **RackCount** | **int32** | | [readonly] [default to 0] +**DeviceCount** | Pointer to **int32** | | [optional] [readonly] [default to 0] **Depth** | **int32** | | [readonly] ## Methods ### NewLocation -`func NewLocation(id int32, url string, display string, name string, slug string, rackCount int32, depth int32, ) *Location` +`func NewLocation(id int32, url string, display string, name string, slug string, site BriefSite, created NullableTime, lastUpdated NullableTime, rackCount int32, depth int32, ) *Location` NewLocation instantiates a new Location object This constructor will assign default values to properties that have it defined, @@ -72,6 +83,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *Location) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *Location) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *Location) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *Location) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *Location) GetDisplay() string` @@ -132,6 +168,146 @@ and a boolean to check if the value has been set. SetSlug sets Slug field to given value. +### GetSite + +`func (o *Location) GetSite() BriefSite` + +GetSite returns the Site field if non-nil, zero value otherwise. + +### GetSiteOk + +`func (o *Location) GetSiteOk() (*BriefSite, bool)` + +GetSiteOk returns a tuple with the Site field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSite + +`func (o *Location) SetSite(v BriefSite)` + +SetSite sets Site field to given value. + + +### GetParent + +`func (o *Location) GetParent() NestedLocation` + +GetParent returns the Parent field if non-nil, zero value otherwise. + +### GetParentOk + +`func (o *Location) GetParentOk() (*NestedLocation, bool)` + +GetParentOk returns a tuple with the Parent field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetParent + +`func (o *Location) SetParent(v NestedLocation)` + +SetParent sets Parent field to given value. + +### HasParent + +`func (o *Location) HasParent() bool` + +HasParent returns a boolean if a field has been set. + +### SetParentNil + +`func (o *Location) SetParentNil(b bool)` + + SetParentNil sets the value for Parent to be an explicit nil + +### UnsetParent +`func (o *Location) UnsetParent()` + +UnsetParent ensures that no value is present for Parent, not even an explicit nil +### GetStatus + +`func (o *Location) GetStatus() LocationStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *Location) GetStatusOk() (*LocationStatus, 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 *Location) SetStatus(v LocationStatus)` + +SetStatus sets Status field to given value. + +### HasStatus + +`func (o *Location) HasStatus() bool` + +HasStatus returns a boolean if a field has been set. + +### GetTenant + +`func (o *Location) GetTenant() BriefTenant` + +GetTenant returns the Tenant field if non-nil, zero value otherwise. + +### GetTenantOk + +`func (o *Location) GetTenantOk() (*BriefTenant, 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 *Location) SetTenant(v BriefTenant)` + +SetTenant sets Tenant field to given value. + +### HasTenant + +`func (o *Location) HasTenant() bool` + +HasTenant returns a boolean if a field has been set. + +### SetTenantNil + +`func (o *Location) SetTenantNil(b bool)` + + SetTenantNil sets the value for Tenant to be an explicit nil + +### UnsetTenant +`func (o *Location) UnsetTenant()` + +UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +### GetFacility + +`func (o *Location) GetFacility() string` + +GetFacility returns the Facility field if non-nil, zero value otherwise. + +### GetFacilityOk + +`func (o *Location) GetFacilityOk() (*string, bool)` + +GetFacilityOk returns a tuple with the Facility field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFacility + +`func (o *Location) SetFacility(v string)` + +SetFacility sets Facility field to given value. + +### HasFacility + +`func (o *Location) HasFacility() bool` + +HasFacility returns a boolean if a field has been set. + ### GetDescription `func (o *Location) GetDescription() string` @@ -157,6 +333,116 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetTags + +`func (o *Location) GetTags() []NestedTag` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *Location) GetTagsOk() (*[]NestedTag, 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 *Location) SetTags(v []NestedTag)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *Location) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *Location) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *Location) 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 *Location) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *Location) HasCustomFields() bool` + +HasCustomFields returns a boolean if a field has been set. + +### GetCreated + +`func (o *Location) GetCreated() time.Time` + +GetCreated returns the Created field if non-nil, zero value otherwise. + +### GetCreatedOk + +`func (o *Location) 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 *Location) SetCreated(v time.Time)` + +SetCreated sets Created field to given value. + + +### SetCreatedNil + +`func (o *Location) SetCreatedNil(b bool)` + + SetCreatedNil sets the value for Created to be an explicit nil + +### UnsetCreated +`func (o *Location) UnsetCreated()` + +UnsetCreated ensures that no value is present for Created, not even an explicit nil +### GetLastUpdated + +`func (o *Location) GetLastUpdated() time.Time` + +GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise. + +### GetLastUpdatedOk + +`func (o *Location) 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 *Location) SetLastUpdated(v time.Time)` + +SetLastUpdated sets LastUpdated field to given value. + + +### SetLastUpdatedNil + +`func (o *Location) SetLastUpdatedNil(b bool)` + + SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil + +### UnsetLastUpdated +`func (o *Location) UnsetLastUpdated()` + +UnsetLastUpdated ensures that no value is present for LastUpdated, not even an explicit nil ### GetRackCount `func (o *Location) GetRackCount() int32` @@ -177,6 +463,31 @@ and a boolean to check if the value has been set. SetRackCount sets RackCount field to given value. +### GetDeviceCount + +`func (o *Location) GetDeviceCount() int32` + +GetDeviceCount returns the DeviceCount field if non-nil, zero value otherwise. + +### GetDeviceCountOk + +`func (o *Location) GetDeviceCountOk() (*int32, bool)` + +GetDeviceCountOk returns a tuple with the DeviceCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDeviceCount + +`func (o *Location) SetDeviceCount(v int32)` + +SetDeviceCount sets DeviceCount field to given value. + +### HasDeviceCount + +`func (o *Location) HasDeviceCount() bool` + +HasDeviceCount returns a boolean if a field has been set. + ### GetDepth `func (o *Location) GetDepth() int32` diff --git a/docs/LocationRequest.md b/docs/LocationRequest.md index f23f111fd..0dd6b179c 100644 --- a/docs/LocationRequest.md +++ b/docs/LocationRequest.md @@ -6,13 +6,20 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | **string** | | **Slug** | **string** | | +**Site** | [**BriefSiteRequest**](BriefSiteRequest.md) | | +**Parent** | Pointer to [**NullableNestedLocationRequest**](NestedLocationRequest.md) | | [optional] +**Status** | Pointer to [**LocationStatusValue**](LocationStatusValue.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] +**Facility** | Pointer to **string** | Local facility ID or description | [optional] **Description** | Pointer to **string** | | [optional] +**Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] ## Methods ### NewLocationRequest -`func NewLocationRequest(name string, slug string, ) *LocationRequest` +`func NewLocationRequest(name string, slug string, site BriefSiteRequest, ) *LocationRequest` NewLocationRequest instantiates a new LocationRequest object This constructor will assign default values to properties that have it defined, @@ -67,6 +74,146 @@ and a boolean to check if the value has been set. SetSlug sets Slug field to given value. +### GetSite + +`func (o *LocationRequest) GetSite() BriefSiteRequest` + +GetSite returns the Site field if non-nil, zero value otherwise. + +### GetSiteOk + +`func (o *LocationRequest) GetSiteOk() (*BriefSiteRequest, bool)` + +GetSiteOk returns a tuple with the Site field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSite + +`func (o *LocationRequest) SetSite(v BriefSiteRequest)` + +SetSite sets Site field to given value. + + +### GetParent + +`func (o *LocationRequest) GetParent() NestedLocationRequest` + +GetParent returns the Parent field if non-nil, zero value otherwise. + +### GetParentOk + +`func (o *LocationRequest) GetParentOk() (*NestedLocationRequest, bool)` + +GetParentOk returns a tuple with the Parent field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetParent + +`func (o *LocationRequest) SetParent(v NestedLocationRequest)` + +SetParent sets Parent field to given value. + +### HasParent + +`func (o *LocationRequest) HasParent() bool` + +HasParent returns a boolean if a field has been set. + +### SetParentNil + +`func (o *LocationRequest) SetParentNil(b bool)` + + SetParentNil sets the value for Parent to be an explicit nil + +### UnsetParent +`func (o *LocationRequest) UnsetParent()` + +UnsetParent ensures that no value is present for Parent, not even an explicit nil +### GetStatus + +`func (o *LocationRequest) GetStatus() LocationStatusValue` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *LocationRequest) GetStatusOk() (*LocationStatusValue, 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 *LocationRequest) SetStatus(v LocationStatusValue)` + +SetStatus sets Status field to given value. + +### HasStatus + +`func (o *LocationRequest) HasStatus() bool` + +HasStatus returns a boolean if a field has been set. + +### GetTenant + +`func (o *LocationRequest) GetTenant() BriefTenantRequest` + +GetTenant returns the Tenant field if non-nil, zero value otherwise. + +### GetTenantOk + +`func (o *LocationRequest) GetTenantOk() (*BriefTenantRequest, 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 *LocationRequest) SetTenant(v BriefTenantRequest)` + +SetTenant sets Tenant field to given value. + +### HasTenant + +`func (o *LocationRequest) HasTenant() bool` + +HasTenant returns a boolean if a field has been set. + +### SetTenantNil + +`func (o *LocationRequest) SetTenantNil(b bool)` + + SetTenantNil sets the value for Tenant to be an explicit nil + +### UnsetTenant +`func (o *LocationRequest) UnsetTenant()` + +UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +### GetFacility + +`func (o *LocationRequest) GetFacility() string` + +GetFacility returns the Facility field if non-nil, zero value otherwise. + +### GetFacilityOk + +`func (o *LocationRequest) GetFacilityOk() (*string, bool)` + +GetFacilityOk returns a tuple with the Facility field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFacility + +`func (o *LocationRequest) SetFacility(v string)` + +SetFacility sets Facility field to given value. + +### HasFacility + +`func (o *LocationRequest) HasFacility() bool` + +HasFacility returns a boolean if a field has been set. + ### GetDescription `func (o *LocationRequest) GetDescription() string` @@ -92,6 +239,56 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetTags + +`func (o *LocationRequest) GetTags() []NestedTagRequest` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *LocationRequest) GetTagsOk() (*[]NestedTagRequest, 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 *LocationRequest) SetTags(v []NestedTagRequest)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *LocationRequest) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *LocationRequest) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *LocationRequest) 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 *LocationRequest) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *LocationRequest) 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/LocationStatus.md b/docs/LocationStatus.md new file mode 100644 index 000000000..817680af3 --- /dev/null +++ b/docs/LocationStatus.md @@ -0,0 +1,82 @@ +# LocationStatus + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Value** | Pointer to [**LocationStatusValue**](LocationStatusValue.md) | | [optional] +**Label** | Pointer to [**LocationStatusLabel**](LocationStatusLabel.md) | | [optional] + +## Methods + +### NewLocationStatus + +`func NewLocationStatus() *LocationStatus` + +NewLocationStatus instantiates a new LocationStatus object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewLocationStatusWithDefaults + +`func NewLocationStatusWithDefaults() *LocationStatus` + +NewLocationStatusWithDefaults instantiates a new LocationStatus object +This 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 *LocationStatus) GetValue() LocationStatusValue` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *LocationStatus) GetValueOk() (*LocationStatusValue, 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 *LocationStatus) SetValue(v LocationStatusValue)` + +SetValue sets Value field to given value. + +### HasValue + +`func (o *LocationStatus) HasValue() bool` + +HasValue returns a boolean if a field has been set. + +### GetLabel + +`func (o *LocationStatus) GetLabel() LocationStatusLabel` + +GetLabel returns the Label field if non-nil, zero value otherwise. + +### GetLabelOk + +`func (o *LocationStatus) GetLabelOk() (*LocationStatusLabel, 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 *LocationStatus) SetLabel(v LocationStatusLabel)` + +SetLabel sets Label field to given value. + +### HasLabel + +`func (o *LocationStatus) 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/LocationStatusLabel.md b/docs/LocationStatusLabel.md new file mode 100644 index 000000000..611c91d2b --- /dev/null +++ b/docs/LocationStatusLabel.md @@ -0,0 +1,19 @@ +# LocationStatusLabel + +## Enum + + +* `PLANNED` (value: `"Planned"`) + +* `STAGING` (value: `"Staging"`) + +* `ACTIVE` (value: `"Active"`) + +* `DECOMMISSIONING` (value: `"Decommissioning"`) + +* `RETIRED` (value: `"Retired"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/LocationStatusValue.md b/docs/LocationStatusValue.md new file mode 100644 index 000000000..37cbbe607 --- /dev/null +++ b/docs/LocationStatusValue.md @@ -0,0 +1,19 @@ +# LocationStatusValue + +## Enum + + +* `PLANNED` (value: `"planned"`) + +* `STAGING` (value: `"staging"`) + +* `ACTIVE` (value: `"active"`) + +* `DECOMMISSIONING` (value: `"decommissioning"`) + +* `RETIRED` (value: `"retired"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/Manufacturer.md b/docs/Manufacturer.md index c4c2211ad..2d54f6112 100644 --- a/docs/Manufacturer.md +++ b/docs/Manufacturer.md @@ -6,17 +6,24 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Name** | **string** | | **Slug** | **string** | | **Description** | Pointer to **string** | | [optional] -**DevicetypeCount** | **int64** | | [readonly] +**Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] +**Created** | **NullableTime** | | [readonly] +**LastUpdated** | **NullableTime** | | [readonly] +**DevicetypeCount** | Pointer to **int64** | | [optional] [readonly] +**InventoryitemCount** | **int64** | | [readonly] +**PlatformCount** | **int64** | | [readonly] ## Methods ### NewManufacturer -`func NewManufacturer(id int32, url string, display string, name string, slug string, devicetypeCount int64, ) *Manufacturer` +`func NewManufacturer(id int32, url string, display string, name string, slug string, created NullableTime, lastUpdated NullableTime, inventoryitemCount int64, platformCount int64, ) *Manufacturer` NewManufacturer instantiates a new Manufacturer object This constructor will assign default values to properties that have it defined, @@ -71,6 +78,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *Manufacturer) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *Manufacturer) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *Manufacturer) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *Manufacturer) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *Manufacturer) GetDisplay() string` @@ -156,6 +188,116 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetTags + +`func (o *Manufacturer) GetTags() []NestedTag` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *Manufacturer) GetTagsOk() (*[]NestedTag, 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 *Manufacturer) SetTags(v []NestedTag)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *Manufacturer) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *Manufacturer) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *Manufacturer) 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 *Manufacturer) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *Manufacturer) HasCustomFields() bool` + +HasCustomFields returns a boolean if a field has been set. + +### GetCreated + +`func (o *Manufacturer) GetCreated() time.Time` + +GetCreated returns the Created field if non-nil, zero value otherwise. + +### GetCreatedOk + +`func (o *Manufacturer) 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 *Manufacturer) SetCreated(v time.Time)` + +SetCreated sets Created field to given value. + + +### SetCreatedNil + +`func (o *Manufacturer) SetCreatedNil(b bool)` + + SetCreatedNil sets the value for Created to be an explicit nil + +### UnsetCreated +`func (o *Manufacturer) UnsetCreated()` + +UnsetCreated ensures that no value is present for Created, not even an explicit nil +### GetLastUpdated + +`func (o *Manufacturer) GetLastUpdated() time.Time` + +GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise. + +### GetLastUpdatedOk + +`func (o *Manufacturer) 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 *Manufacturer) SetLastUpdated(v time.Time)` + +SetLastUpdated sets LastUpdated field to given value. + + +### SetLastUpdatedNil + +`func (o *Manufacturer) SetLastUpdatedNil(b bool)` + + SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil + +### UnsetLastUpdated +`func (o *Manufacturer) UnsetLastUpdated()` + +UnsetLastUpdated ensures that no value is present for LastUpdated, not even an explicit nil ### GetDevicetypeCount `func (o *Manufacturer) GetDevicetypeCount() int64` @@ -175,6 +317,51 @@ and a boolean to check if the value has been set. SetDevicetypeCount sets DevicetypeCount field to given value. +### HasDevicetypeCount + +`func (o *Manufacturer) HasDevicetypeCount() bool` + +HasDevicetypeCount returns a boolean if a field has been set. + +### GetInventoryitemCount + +`func (o *Manufacturer) GetInventoryitemCount() int64` + +GetInventoryitemCount returns the InventoryitemCount field if non-nil, zero value otherwise. + +### GetInventoryitemCountOk + +`func (o *Manufacturer) GetInventoryitemCountOk() (*int64, bool)` + +GetInventoryitemCountOk returns a tuple with the InventoryitemCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetInventoryitemCount + +`func (o *Manufacturer) SetInventoryitemCount(v int64)` + +SetInventoryitemCount sets InventoryitemCount field to given value. + + +### GetPlatformCount + +`func (o *Manufacturer) GetPlatformCount() int64` + +GetPlatformCount returns the PlatformCount field if non-nil, zero value otherwise. + +### GetPlatformCountOk + +`func (o *Manufacturer) GetPlatformCountOk() (*int64, bool)` + +GetPlatformCountOk returns a tuple with the PlatformCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPlatformCount + +`func (o *Manufacturer) SetPlatformCount(v int64)` + +SetPlatformCount sets PlatformCount 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/ManufacturerRequest.md b/docs/ManufacturerRequest.md index 669fe2389..6f878526b 100644 --- a/docs/ManufacturerRequest.md +++ b/docs/ManufacturerRequest.md @@ -7,6 +7,8 @@ Name | Type | Description | Notes **Name** | **string** | | **Slug** | **string** | | **Description** | Pointer to **string** | | [optional] +**Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] ## Methods @@ -92,6 +94,56 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetTags + +`func (o *ManufacturerRequest) GetTags() []NestedTagRequest` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *ManufacturerRequest) GetTagsOk() (*[]NestedTagRequest, 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 *ManufacturerRequest) SetTags(v []NestedTagRequest)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *ManufacturerRequest) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *ManufacturerRequest) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *ManufacturerRequest) 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 *ManufacturerRequest) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *ManufacturerRequest) 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/Module.md b/docs/Module.md index a9257180a..4f11b28cc 100644 --- a/docs/Module.md +++ b/docs/Module.md @@ -6,15 +6,26 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] -**Device** | [**Device**](Device.md) | | +**Device** | [**BriefDevice**](BriefDevice.md) | | **ModuleBay** | [**NestedModuleBay**](NestedModuleBay.md) | | +**ModuleType** | [**BriefModuleType**](BriefModuleType.md) | | +**Status** | Pointer to [**ModuleStatus**](ModuleStatus.md) | | [optional] +**Serial** | Pointer to **string** | | [optional] +**AssetTag** | Pointer to **NullableString** | A unique tag used to identify this device | [optional] +**Description** | Pointer to **string** | | [optional] +**Comments** | Pointer to **string** | | [optional] +**Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] +**Created** | **NullableTime** | | [readonly] +**LastUpdated** | **NullableTime** | | [readonly] ## Methods ### NewModule -`func NewModule(id int32, url string, display string, device Device, moduleBay NestedModuleBay, ) *Module` +`func NewModule(id int32, url string, display string, device BriefDevice, moduleBay NestedModuleBay, moduleType BriefModuleType, created NullableTime, lastUpdated NullableTime, ) *Module` NewModule instantiates a new Module object This constructor will assign default values to properties that have it defined, @@ -69,6 +80,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *Module) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *Module) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *Module) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *Module) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *Module) GetDisplay() string` @@ -91,20 +127,20 @@ SetDisplay sets Display field to given value. ### GetDevice -`func (o *Module) GetDevice() Device` +`func (o *Module) GetDevice() BriefDevice` GetDevice returns the Device field if non-nil, zero value otherwise. ### GetDeviceOk -`func (o *Module) GetDeviceOk() (*Device, bool)` +`func (o *Module) GetDeviceOk() (*BriefDevice, 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 *Module) SetDevice(v Device)` +`func (o *Module) SetDevice(v BriefDevice)` SetDevice sets Device field to given value. @@ -129,6 +165,271 @@ and a boolean to check if the value has been set. SetModuleBay sets ModuleBay field to given value. +### GetModuleType + +`func (o *Module) GetModuleType() BriefModuleType` + +GetModuleType returns the ModuleType field if non-nil, zero value otherwise. + +### GetModuleTypeOk + +`func (o *Module) GetModuleTypeOk() (*BriefModuleType, bool)` + +GetModuleTypeOk returns a tuple with the ModuleType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetModuleType + +`func (o *Module) SetModuleType(v BriefModuleType)` + +SetModuleType sets ModuleType field to given value. + + +### GetStatus + +`func (o *Module) GetStatus() ModuleStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *Module) GetStatusOk() (*ModuleStatus, 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 *Module) SetStatus(v ModuleStatus)` + +SetStatus sets Status field to given value. + +### HasStatus + +`func (o *Module) HasStatus() bool` + +HasStatus returns a boolean if a field has been set. + +### GetSerial + +`func (o *Module) GetSerial() string` + +GetSerial returns the Serial field if non-nil, zero value otherwise. + +### GetSerialOk + +`func (o *Module) GetSerialOk() (*string, bool)` + +GetSerialOk returns a tuple with the Serial field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSerial + +`func (o *Module) SetSerial(v string)` + +SetSerial sets Serial field to given value. + +### HasSerial + +`func (o *Module) HasSerial() bool` + +HasSerial returns a boolean if a field has been set. + +### GetAssetTag + +`func (o *Module) GetAssetTag() string` + +GetAssetTag returns the AssetTag field if non-nil, zero value otherwise. + +### GetAssetTagOk + +`func (o *Module) GetAssetTagOk() (*string, bool)` + +GetAssetTagOk returns a tuple with the AssetTag field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAssetTag + +`func (o *Module) SetAssetTag(v string)` + +SetAssetTag sets AssetTag field to given value. + +### HasAssetTag + +`func (o *Module) HasAssetTag() bool` + +HasAssetTag returns a boolean if a field has been set. + +### SetAssetTagNil + +`func (o *Module) SetAssetTagNil(b bool)` + + SetAssetTagNil sets the value for AssetTag to be an explicit nil + +### UnsetAssetTag +`func (o *Module) UnsetAssetTag()` + +UnsetAssetTag ensures that no value is present for AssetTag, not even an explicit nil +### GetDescription + +`func (o *Module) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *Module) 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 *Module) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *Module) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetComments + +`func (o *Module) GetComments() string` + +GetComments returns the Comments field if non-nil, zero value otherwise. + +### GetCommentsOk + +`func (o *Module) GetCommentsOk() (*string, bool)` + +GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComments + +`func (o *Module) SetComments(v string)` + +SetComments sets Comments field to given value. + +### HasComments + +`func (o *Module) HasComments() bool` + +HasComments returns a boolean if a field has been set. + +### GetTags + +`func (o *Module) GetTags() []NestedTag` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *Module) GetTagsOk() (*[]NestedTag, 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 *Module) SetTags(v []NestedTag)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *Module) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *Module) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *Module) 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 *Module) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *Module) HasCustomFields() bool` + +HasCustomFields returns a boolean if a field has been set. + +### GetCreated + +`func (o *Module) GetCreated() time.Time` + +GetCreated returns the Created field if non-nil, zero value otherwise. + +### GetCreatedOk + +`func (o *Module) 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 *Module) SetCreated(v time.Time)` + +SetCreated sets Created field to given value. + + +### SetCreatedNil + +`func (o *Module) SetCreatedNil(b bool)` + + SetCreatedNil sets the value for Created to be an explicit nil + +### UnsetCreated +`func (o *Module) UnsetCreated()` + +UnsetCreated ensures that no value is present for Created, not even an explicit nil +### GetLastUpdated + +`func (o *Module) GetLastUpdated() time.Time` + +GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise. + +### GetLastUpdatedOk + +`func (o *Module) 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 *Module) SetLastUpdated(v time.Time)` + +SetLastUpdated sets LastUpdated field to given value. + + +### SetLastUpdatedNil + +`func (o *Module) SetLastUpdatedNil(b bool)` + + SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil + +### UnsetLastUpdated +`func (o *Module) UnsetLastUpdated()` + +UnsetLastUpdated ensures that no value is present for LastUpdated, 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/ModuleBay.md b/docs/ModuleBay.md index 71f734939..9d8ec6a2b 100644 --- a/docs/ModuleBay.md +++ b/docs/ModuleBay.md @@ -6,10 +6,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] -**Device** | [**Device**](Device.md) | | +**Device** | [**BriefDevice**](BriefDevice.md) | | +**Module** | Pointer to [**NullableBriefModule**](BriefModule.md) | | [optional] **Name** | **string** | | -**InstalledModule** | Pointer to [**NullableModule**](Module.md) | | [optional] +**InstalledModule** | Pointer to [**NullableBriefModule**](BriefModule.md) | | [optional] **Label** | Pointer to **string** | Physical label | [optional] **Position** | Pointer to **string** | Identifier to reference when renaming installed components | [optional] **Description** | Pointer to **string** | | [optional] @@ -22,7 +24,7 @@ Name | Type | Description | Notes ### NewModuleBay -`func NewModuleBay(id int32, url string, display string, device Device, name string, created NullableTime, lastUpdated NullableTime, ) *ModuleBay` +`func NewModuleBay(id int32, url string, display string, device BriefDevice, name string, created NullableTime, lastUpdated NullableTime, ) *ModuleBay` NewModuleBay instantiates a new ModuleBay object This constructor will assign default values to properties that have it defined, @@ -77,6 +79,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *ModuleBay) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *ModuleBay) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *ModuleBay) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *ModuleBay) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *ModuleBay) GetDisplay() string` @@ -99,24 +126,59 @@ SetDisplay sets Display field to given value. ### GetDevice -`func (o *ModuleBay) GetDevice() Device` +`func (o *ModuleBay) GetDevice() BriefDevice` GetDevice returns the Device field if non-nil, zero value otherwise. ### GetDeviceOk -`func (o *ModuleBay) GetDeviceOk() (*Device, bool)` +`func (o *ModuleBay) GetDeviceOk() (*BriefDevice, 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 *ModuleBay) SetDevice(v Device)` +`func (o *ModuleBay) SetDevice(v BriefDevice)` SetDevice sets Device field to given value. +### GetModule + +`func (o *ModuleBay) GetModule() BriefModule` + +GetModule returns the Module field if non-nil, zero value otherwise. + +### GetModuleOk + +`func (o *ModuleBay) GetModuleOk() (*BriefModule, bool)` + +GetModuleOk returns a tuple with the Module field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetModule + +`func (o *ModuleBay) SetModule(v BriefModule)` + +SetModule sets Module field to given value. + +### HasModule + +`func (o *ModuleBay) HasModule() bool` + +HasModule returns a boolean if a field has been set. + +### SetModuleNil + +`func (o *ModuleBay) SetModuleNil(b bool)` + + SetModuleNil sets the value for Module to be an explicit nil + +### UnsetModule +`func (o *ModuleBay) UnsetModule()` + +UnsetModule ensures that no value is present for Module, not even an explicit nil ### GetName `func (o *ModuleBay) GetName() string` @@ -139,20 +201,20 @@ SetName sets Name field to given value. ### GetInstalledModule -`func (o *ModuleBay) GetInstalledModule() Module` +`func (o *ModuleBay) GetInstalledModule() BriefModule` GetInstalledModule returns the InstalledModule field if non-nil, zero value otherwise. ### GetInstalledModuleOk -`func (o *ModuleBay) GetInstalledModuleOk() (*Module, bool)` +`func (o *ModuleBay) GetInstalledModuleOk() (*BriefModule, bool)` GetInstalledModuleOk returns a tuple with the InstalledModule field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetInstalledModule -`func (o *ModuleBay) SetInstalledModule(v Module)` +`func (o *ModuleBay) SetInstalledModule(v BriefModule)` SetInstalledModule sets InstalledModule field to given value. diff --git a/docs/ModuleBayRequest.md b/docs/ModuleBayRequest.md index aa37cbe9d..2062d984b 100644 --- a/docs/ModuleBayRequest.md +++ b/docs/ModuleBayRequest.md @@ -4,9 +4,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Device** | [**DeviceRequest**](DeviceRequest.md) | | +**Device** | [**BriefDeviceRequest**](BriefDeviceRequest.md) | | +**Module** | Pointer to [**NullableBriefModuleRequest**](BriefModuleRequest.md) | | [optional] **Name** | **string** | | -**InstalledModule** | Pointer to [**NullableModuleRequest**](ModuleRequest.md) | | [optional] +**InstalledModule** | Pointer to [**NullableBriefModuleRequest**](BriefModuleRequest.md) | | [optional] **Label** | Pointer to **string** | Physical label | [optional] **Position** | Pointer to **string** | Identifier to reference when renaming installed components | [optional] **Description** | Pointer to **string** | | [optional] @@ -17,7 +18,7 @@ Name | Type | Description | Notes ### NewModuleBayRequest -`func NewModuleBayRequest(device DeviceRequest, name string, ) *ModuleBayRequest` +`func NewModuleBayRequest(device BriefDeviceRequest, name string, ) *ModuleBayRequest` NewModuleBayRequest instantiates a new ModuleBayRequest object This constructor will assign default values to properties that have it defined, @@ -34,24 +35,59 @@ but it doesn't guarantee that properties required by API are set ### GetDevice -`func (o *ModuleBayRequest) GetDevice() DeviceRequest` +`func (o *ModuleBayRequest) GetDevice() BriefDeviceRequest` GetDevice returns the Device field if non-nil, zero value otherwise. ### GetDeviceOk -`func (o *ModuleBayRequest) GetDeviceOk() (*DeviceRequest, bool)` +`func (o *ModuleBayRequest) GetDeviceOk() (*BriefDeviceRequest, 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 *ModuleBayRequest) SetDevice(v DeviceRequest)` +`func (o *ModuleBayRequest) SetDevice(v BriefDeviceRequest)` SetDevice sets Device field to given value. +### GetModule + +`func (o *ModuleBayRequest) GetModule() BriefModuleRequest` + +GetModule returns the Module field if non-nil, zero value otherwise. + +### GetModuleOk + +`func (o *ModuleBayRequest) GetModuleOk() (*BriefModuleRequest, bool)` + +GetModuleOk returns a tuple with the Module field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetModule + +`func (o *ModuleBayRequest) SetModule(v BriefModuleRequest)` + +SetModule sets Module field to given value. + +### HasModule + +`func (o *ModuleBayRequest) HasModule() bool` + +HasModule returns a boolean if a field has been set. + +### SetModuleNil + +`func (o *ModuleBayRequest) SetModuleNil(b bool)` + + SetModuleNil sets the value for Module to be an explicit nil + +### UnsetModule +`func (o *ModuleBayRequest) UnsetModule()` + +UnsetModule ensures that no value is present for Module, not even an explicit nil ### GetName `func (o *ModuleBayRequest) GetName() string` @@ -74,20 +110,20 @@ SetName sets Name field to given value. ### GetInstalledModule -`func (o *ModuleBayRequest) GetInstalledModule() ModuleRequest` +`func (o *ModuleBayRequest) GetInstalledModule() BriefModuleRequest` GetInstalledModule returns the InstalledModule field if non-nil, zero value otherwise. ### GetInstalledModuleOk -`func (o *ModuleBayRequest) GetInstalledModuleOk() (*ModuleRequest, bool)` +`func (o *ModuleBayRequest) GetInstalledModuleOk() (*BriefModuleRequest, bool)` GetInstalledModuleOk returns a tuple with the InstalledModule field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetInstalledModule -`func (o *ModuleBayRequest) SetInstalledModule(v ModuleRequest)` +`func (o *ModuleBayRequest) SetInstalledModule(v BriefModuleRequest)` SetInstalledModule sets InstalledModule field to given value. diff --git a/docs/ModuleBayTemplate.md b/docs/ModuleBayTemplate.md index 237edfcaf..1bac16365 100644 --- a/docs/ModuleBayTemplate.md +++ b/docs/ModuleBayTemplate.md @@ -7,7 +7,8 @@ Name | Type | Description | Notes **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] **Display** | **string** | | [readonly] -**DeviceType** | [**DeviceType**](DeviceType.md) | | +**DeviceType** | Pointer to [**NullableBriefDeviceType**](BriefDeviceType.md) | | [optional] +**ModuleType** | Pointer to [**NullableBriefModuleType**](BriefModuleType.md) | | [optional] **Name** | **string** | {module} is accepted as a substitution for the module bay position when attached to a module type. | **Label** | Pointer to **string** | Physical label | [optional] **Position** | Pointer to **string** | Identifier to reference when renaming installed components | [optional] @@ -19,7 +20,7 @@ Name | Type | Description | Notes ### NewModuleBayTemplate -`func NewModuleBayTemplate(id int32, url string, display string, deviceType DeviceType, name string, created NullableTime, lastUpdated NullableTime, ) *ModuleBayTemplate` +`func NewModuleBayTemplate(id int32, url string, display 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, @@ -96,24 +97,74 @@ SetDisplay sets Display field to given value. ### GetDeviceType -`func (o *ModuleBayTemplate) GetDeviceType() DeviceType` +`func (o *ModuleBayTemplate) GetDeviceType() BriefDeviceType` GetDeviceType returns the DeviceType field if non-nil, zero value otherwise. ### GetDeviceTypeOk -`func (o *ModuleBayTemplate) GetDeviceTypeOk() (*DeviceType, bool)` +`func (o *ModuleBayTemplate) GetDeviceTypeOk() (*BriefDeviceType, bool)` GetDeviceTypeOk returns a tuple with the DeviceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDeviceType -`func (o *ModuleBayTemplate) SetDeviceType(v DeviceType)` +`func (o *ModuleBayTemplate) SetDeviceType(v BriefDeviceType)` SetDeviceType sets DeviceType field to given value. +### HasDeviceType +`func (o *ModuleBayTemplate) HasDeviceType() bool` + +HasDeviceType returns a boolean if a field has been set. + +### SetDeviceTypeNil + +`func (o *ModuleBayTemplate) SetDeviceTypeNil(b bool)` + + SetDeviceTypeNil sets the value for DeviceType to be an explicit nil + +### UnsetDeviceType +`func (o *ModuleBayTemplate) UnsetDeviceType()` + +UnsetDeviceType ensures that no value is present for DeviceType, not even an explicit nil +### GetModuleType + +`func (o *ModuleBayTemplate) GetModuleType() BriefModuleType` + +GetModuleType returns the ModuleType field if non-nil, zero value otherwise. + +### GetModuleTypeOk + +`func (o *ModuleBayTemplate) GetModuleTypeOk() (*BriefModuleType, bool)` + +GetModuleTypeOk returns a tuple with the ModuleType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetModuleType + +`func (o *ModuleBayTemplate) SetModuleType(v BriefModuleType)` + +SetModuleType sets ModuleType field to given value. + +### HasModuleType + +`func (o *ModuleBayTemplate) HasModuleType() bool` + +HasModuleType returns a boolean if a field has been set. + +### SetModuleTypeNil + +`func (o *ModuleBayTemplate) SetModuleTypeNil(b bool)` + + SetModuleTypeNil sets the value for ModuleType to be an explicit nil + +### UnsetModuleType +`func (o *ModuleBayTemplate) UnsetModuleType()` + +UnsetModuleType ensures that no value is present for ModuleType, not even an explicit nil ### GetName `func (o *ModuleBayTemplate) GetName() string` diff --git a/docs/ModuleBayTemplateRequest.md b/docs/ModuleBayTemplateRequest.md index 75345ace9..96ce2a437 100644 --- a/docs/ModuleBayTemplateRequest.md +++ b/docs/ModuleBayTemplateRequest.md @@ -4,7 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**DeviceType** | [**DeviceTypeRequest**](DeviceTypeRequest.md) | | +**DeviceType** | Pointer to [**NullableBriefDeviceTypeRequest**](BriefDeviceTypeRequest.md) | | [optional] +**ModuleType** | Pointer to [**NullableBriefModuleTypeRequest**](BriefModuleTypeRequest.md) | | [optional] **Name** | **string** | {module} is accepted as a substitution for the module bay position when attached to a module type. | **Label** | Pointer to **string** | Physical label | [optional] **Position** | Pointer to **string** | Identifier to reference when renaming installed components | [optional] @@ -14,7 +15,7 @@ Name | Type | Description | Notes ### NewModuleBayTemplateRequest -`func NewModuleBayTemplateRequest(deviceType DeviceTypeRequest, name string, ) *ModuleBayTemplateRequest` +`func NewModuleBayTemplateRequest(name string, ) *ModuleBayTemplateRequest` NewModuleBayTemplateRequest instantiates a new ModuleBayTemplateRequest object This constructor will assign default values to properties that have it defined, @@ -31,24 +32,74 @@ but it doesn't guarantee that properties required by API are set ### GetDeviceType -`func (o *ModuleBayTemplateRequest) GetDeviceType() DeviceTypeRequest` +`func (o *ModuleBayTemplateRequest) GetDeviceType() BriefDeviceTypeRequest` GetDeviceType returns the DeviceType field if non-nil, zero value otherwise. ### GetDeviceTypeOk -`func (o *ModuleBayTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool)` +`func (o *ModuleBayTemplateRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool)` GetDeviceTypeOk returns a tuple with the DeviceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDeviceType -`func (o *ModuleBayTemplateRequest) SetDeviceType(v DeviceTypeRequest)` +`func (o *ModuleBayTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest)` SetDeviceType sets DeviceType field to given value. +### HasDeviceType +`func (o *ModuleBayTemplateRequest) HasDeviceType() bool` + +HasDeviceType returns a boolean if a field has been set. + +### SetDeviceTypeNil + +`func (o *ModuleBayTemplateRequest) SetDeviceTypeNil(b bool)` + + SetDeviceTypeNil sets the value for DeviceType to be an explicit nil + +### UnsetDeviceType +`func (o *ModuleBayTemplateRequest) UnsetDeviceType()` + +UnsetDeviceType ensures that no value is present for DeviceType, not even an explicit nil +### GetModuleType + +`func (o *ModuleBayTemplateRequest) GetModuleType() BriefModuleTypeRequest` + +GetModuleType returns the ModuleType field if non-nil, zero value otherwise. + +### GetModuleTypeOk + +`func (o *ModuleBayTemplateRequest) GetModuleTypeOk() (*BriefModuleTypeRequest, bool)` + +GetModuleTypeOk returns a tuple with the ModuleType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetModuleType + +`func (o *ModuleBayTemplateRequest) SetModuleType(v BriefModuleTypeRequest)` + +SetModuleType sets ModuleType field to given value. + +### HasModuleType + +`func (o *ModuleBayTemplateRequest) HasModuleType() bool` + +HasModuleType returns a boolean if a field has been set. + +### SetModuleTypeNil + +`func (o *ModuleBayTemplateRequest) SetModuleTypeNil(b bool)` + + SetModuleTypeNil sets the value for ModuleType to be an explicit nil + +### UnsetModuleType +`func (o *ModuleBayTemplateRequest) UnsetModuleType()` + +UnsetModuleType ensures that no value is present for ModuleType, not even an explicit nil ### GetName `func (o *ModuleBayTemplateRequest) GetName() string` diff --git a/docs/ModuleRequest.md b/docs/ModuleRequest.md index 648ff41f3..11b1cbda2 100644 --- a/docs/ModuleRequest.md +++ b/docs/ModuleRequest.md @@ -4,14 +4,22 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Device** | [**DeviceRequest**](DeviceRequest.md) | | +**Device** | [**BriefDeviceRequest**](BriefDeviceRequest.md) | | **ModuleBay** | [**NestedModuleBayRequest**](NestedModuleBayRequest.md) | | +**ModuleType** | [**BriefModuleTypeRequest**](BriefModuleTypeRequest.md) | | +**Status** | Pointer to [**ModuleStatusValue**](ModuleStatusValue.md) | | [optional] +**Serial** | Pointer to **string** | | [optional] +**AssetTag** | Pointer to **NullableString** | A unique tag used to identify this device | [optional] +**Description** | Pointer to **string** | | [optional] +**Comments** | Pointer to **string** | | [optional] +**Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] ## Methods ### NewModuleRequest -`func NewModuleRequest(device DeviceRequest, moduleBay NestedModuleBayRequest, ) *ModuleRequest` +`func NewModuleRequest(device BriefDeviceRequest, moduleBay NestedModuleBayRequest, moduleType BriefModuleTypeRequest, ) *ModuleRequest` NewModuleRequest instantiates a new ModuleRequest object This constructor will assign default values to properties that have it defined, @@ -28,20 +36,20 @@ but it doesn't guarantee that properties required by API are set ### GetDevice -`func (o *ModuleRequest) GetDevice() DeviceRequest` +`func (o *ModuleRequest) GetDevice() BriefDeviceRequest` GetDevice returns the Device field if non-nil, zero value otherwise. ### GetDeviceOk -`func (o *ModuleRequest) GetDeviceOk() (*DeviceRequest, bool)` +`func (o *ModuleRequest) GetDeviceOk() (*BriefDeviceRequest, 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 *ModuleRequest) SetDevice(v DeviceRequest)` +`func (o *ModuleRequest) SetDevice(v BriefDeviceRequest)` SetDevice sets Device field to given value. @@ -66,6 +74,211 @@ and a boolean to check if the value has been set. SetModuleBay sets ModuleBay field to given value. +### GetModuleType + +`func (o *ModuleRequest) GetModuleType() BriefModuleTypeRequest` + +GetModuleType returns the ModuleType field if non-nil, zero value otherwise. + +### GetModuleTypeOk + +`func (o *ModuleRequest) GetModuleTypeOk() (*BriefModuleTypeRequest, bool)` + +GetModuleTypeOk returns a tuple with the ModuleType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetModuleType + +`func (o *ModuleRequest) SetModuleType(v BriefModuleTypeRequest)` + +SetModuleType sets ModuleType field to given value. + + +### GetStatus + +`func (o *ModuleRequest) GetStatus() ModuleStatusValue` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *ModuleRequest) GetStatusOk() (*ModuleStatusValue, 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 *ModuleRequest) SetStatus(v ModuleStatusValue)` + +SetStatus sets Status field to given value. + +### HasStatus + +`func (o *ModuleRequest) HasStatus() bool` + +HasStatus returns a boolean if a field has been set. + +### GetSerial + +`func (o *ModuleRequest) GetSerial() string` + +GetSerial returns the Serial field if non-nil, zero value otherwise. + +### GetSerialOk + +`func (o *ModuleRequest) GetSerialOk() (*string, bool)` + +GetSerialOk returns a tuple with the Serial field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSerial + +`func (o *ModuleRequest) SetSerial(v string)` + +SetSerial sets Serial field to given value. + +### HasSerial + +`func (o *ModuleRequest) HasSerial() bool` + +HasSerial returns a boolean if a field has been set. + +### GetAssetTag + +`func (o *ModuleRequest) GetAssetTag() string` + +GetAssetTag returns the AssetTag field if non-nil, zero value otherwise. + +### GetAssetTagOk + +`func (o *ModuleRequest) GetAssetTagOk() (*string, bool)` + +GetAssetTagOk returns a tuple with the AssetTag field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAssetTag + +`func (o *ModuleRequest) SetAssetTag(v string)` + +SetAssetTag sets AssetTag field to given value. + +### HasAssetTag + +`func (o *ModuleRequest) HasAssetTag() bool` + +HasAssetTag returns a boolean if a field has been set. + +### SetAssetTagNil + +`func (o *ModuleRequest) SetAssetTagNil(b bool)` + + SetAssetTagNil sets the value for AssetTag to be an explicit nil + +### UnsetAssetTag +`func (o *ModuleRequest) UnsetAssetTag()` + +UnsetAssetTag ensures that no value is present for AssetTag, not even an explicit nil +### GetDescription + +`func (o *ModuleRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *ModuleRequest) 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 *ModuleRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *ModuleRequest) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetComments + +`func (o *ModuleRequest) GetComments() string` + +GetComments returns the Comments field if non-nil, zero value otherwise. + +### GetCommentsOk + +`func (o *ModuleRequest) GetCommentsOk() (*string, bool)` + +GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComments + +`func (o *ModuleRequest) SetComments(v string)` + +SetComments sets Comments field to given value. + +### HasComments + +`func (o *ModuleRequest) HasComments() bool` + +HasComments returns a boolean if a field has been set. + +### GetTags + +`func (o *ModuleRequest) GetTags() []NestedTagRequest` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *ModuleRequest) GetTagsOk() (*[]NestedTagRequest, 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 *ModuleRequest) SetTags(v []NestedTagRequest)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *ModuleRequest) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *ModuleRequest) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *ModuleRequest) 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 *ModuleRequest) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *ModuleRequest) 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/ModuleStatus.md b/docs/ModuleStatus.md new file mode 100644 index 000000000..5ad5a6ded --- /dev/null +++ b/docs/ModuleStatus.md @@ -0,0 +1,82 @@ +# ModuleStatus + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Value** | Pointer to [**ModuleStatusValue**](ModuleStatusValue.md) | | [optional] +**Label** | Pointer to [**ModuleStatusLabel**](ModuleStatusLabel.md) | | [optional] + +## Methods + +### NewModuleStatus + +`func NewModuleStatus() *ModuleStatus` + +NewModuleStatus instantiates a new ModuleStatus object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewModuleStatusWithDefaults + +`func NewModuleStatusWithDefaults() *ModuleStatus` + +NewModuleStatusWithDefaults instantiates a new ModuleStatus object +This 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 *ModuleStatus) GetValue() ModuleStatusValue` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *ModuleStatus) GetValueOk() (*ModuleStatusValue, 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 *ModuleStatus) SetValue(v ModuleStatusValue)` + +SetValue sets Value field to given value. + +### HasValue + +`func (o *ModuleStatus) HasValue() bool` + +HasValue returns a boolean if a field has been set. + +### GetLabel + +`func (o *ModuleStatus) GetLabel() ModuleStatusLabel` + +GetLabel returns the Label field if non-nil, zero value otherwise. + +### GetLabelOk + +`func (o *ModuleStatus) GetLabelOk() (*ModuleStatusLabel, 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 *ModuleStatus) SetLabel(v ModuleStatusLabel)` + +SetLabel sets Label field to given value. + +### HasLabel + +`func (o *ModuleStatus) 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/ModuleStatusLabel.md b/docs/ModuleStatusLabel.md new file mode 100644 index 000000000..3673c61f2 --- /dev/null +++ b/docs/ModuleStatusLabel.md @@ -0,0 +1,21 @@ +# ModuleStatusLabel + +## Enum + + +* `OFFLINE` (value: `"Offline"`) + +* `ACTIVE` (value: `"Active"`) + +* `PLANNED` (value: `"Planned"`) + +* `STAGED` (value: `"Staged"`) + +* `FAILED` (value: `"Failed"`) + +* `DECOMMISSIONING` (value: `"Decommissioning"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ModuleStatusValue.md b/docs/ModuleStatusValue.md new file mode 100644 index 000000000..6e8631fd7 --- /dev/null +++ b/docs/ModuleStatusValue.md @@ -0,0 +1,21 @@ +# ModuleStatusValue + +## Enum + + +* `OFFLINE` (value: `"offline"`) + +* `ACTIVE` (value: `"active"`) + +* `PLANNED` (value: `"planned"`) + +* `STAGED` (value: `"staged"`) + +* `FAILED` (value: `"failed"`) + +* `DECOMMISSIONING` (value: `"decommissioning"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ModuleType.md b/docs/ModuleType.md index 2c09e327c..7ff5f243f 100644 --- a/docs/ModuleType.md +++ b/docs/ModuleType.md @@ -6,16 +6,26 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] -**Manufacturer** | [**Manufacturer**](Manufacturer.md) | | +**Manufacturer** | [**BriefManufacturer**](BriefManufacturer.md) | | **Model** | **string** | | +**PartNumber** | Pointer to **string** | Discrete part number (optional) | [optional] +**Airflow** | Pointer to [**NullableModuleTypeAirflow**](ModuleTypeAirflow.md) | | [optional] +**Weight** | Pointer to **NullableFloat64** | | [optional] +**WeightUnit** | Pointer to [**NullableDeviceTypeWeightUnit**](DeviceTypeWeightUnit.md) | | [optional] **Description** | Pointer to **string** | | [optional] +**Comments** | Pointer to **string** | | [optional] +**Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] +**Created** | **NullableTime** | | [readonly] +**LastUpdated** | **NullableTime** | | [readonly] ## Methods ### NewModuleType -`func NewModuleType(id int32, url string, display string, manufacturer Manufacturer, model string, ) *ModuleType` +`func NewModuleType(id int32, url string, display string, manufacturer BriefManufacturer, model string, created NullableTime, lastUpdated NullableTime, ) *ModuleType` NewModuleType instantiates a new ModuleType object This constructor will assign default values to properties that have it defined, @@ -70,6 +80,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *ModuleType) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *ModuleType) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *ModuleType) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *ModuleType) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *ModuleType) GetDisplay() string` @@ -92,20 +127,20 @@ SetDisplay sets Display field to given value. ### GetManufacturer -`func (o *ModuleType) GetManufacturer() Manufacturer` +`func (o *ModuleType) GetManufacturer() BriefManufacturer` GetManufacturer returns the Manufacturer field if non-nil, zero value otherwise. ### GetManufacturerOk -`func (o *ModuleType) GetManufacturerOk() (*Manufacturer, bool)` +`func (o *ModuleType) GetManufacturerOk() (*BriefManufacturer, bool)` GetManufacturerOk returns a tuple with the Manufacturer field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetManufacturer -`func (o *ModuleType) SetManufacturer(v Manufacturer)` +`func (o *ModuleType) SetManufacturer(v BriefManufacturer)` SetManufacturer sets Manufacturer field to given value. @@ -130,6 +165,136 @@ and a boolean to check if the value has been set. SetModel sets Model field to given value. +### GetPartNumber + +`func (o *ModuleType) GetPartNumber() string` + +GetPartNumber returns the PartNumber field if non-nil, zero value otherwise. + +### GetPartNumberOk + +`func (o *ModuleType) GetPartNumberOk() (*string, bool)` + +GetPartNumberOk returns a tuple with the PartNumber field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPartNumber + +`func (o *ModuleType) SetPartNumber(v string)` + +SetPartNumber sets PartNumber field to given value. + +### HasPartNumber + +`func (o *ModuleType) HasPartNumber() bool` + +HasPartNumber returns a boolean if a field has been set. + +### GetAirflow + +`func (o *ModuleType) GetAirflow() ModuleTypeAirflow` + +GetAirflow returns the Airflow field if non-nil, zero value otherwise. + +### GetAirflowOk + +`func (o *ModuleType) GetAirflowOk() (*ModuleTypeAirflow, bool)` + +GetAirflowOk returns a tuple with the Airflow field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAirflow + +`func (o *ModuleType) SetAirflow(v ModuleTypeAirflow)` + +SetAirflow sets Airflow field to given value. + +### HasAirflow + +`func (o *ModuleType) HasAirflow() bool` + +HasAirflow returns a boolean if a field has been set. + +### SetAirflowNil + +`func (o *ModuleType) SetAirflowNil(b bool)` + + SetAirflowNil sets the value for Airflow to be an explicit nil + +### UnsetAirflow +`func (o *ModuleType) UnsetAirflow()` + +UnsetAirflow ensures that no value is present for Airflow, not even an explicit nil +### GetWeight + +`func (o *ModuleType) GetWeight() float64` + +GetWeight returns the Weight field if non-nil, zero value otherwise. + +### GetWeightOk + +`func (o *ModuleType) GetWeightOk() (*float64, bool)` + +GetWeightOk returns a tuple with the Weight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWeight + +`func (o *ModuleType) SetWeight(v float64)` + +SetWeight sets Weight field to given value. + +### HasWeight + +`func (o *ModuleType) HasWeight() bool` + +HasWeight returns a boolean if a field has been set. + +### SetWeightNil + +`func (o *ModuleType) SetWeightNil(b bool)` + + SetWeightNil sets the value for Weight to be an explicit nil + +### UnsetWeight +`func (o *ModuleType) UnsetWeight()` + +UnsetWeight ensures that no value is present for Weight, not even an explicit nil +### GetWeightUnit + +`func (o *ModuleType) GetWeightUnit() DeviceTypeWeightUnit` + +GetWeightUnit returns the WeightUnit field if non-nil, zero value otherwise. + +### GetWeightUnitOk + +`func (o *ModuleType) GetWeightUnitOk() (*DeviceTypeWeightUnit, bool)` + +GetWeightUnitOk returns a tuple with the WeightUnit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWeightUnit + +`func (o *ModuleType) SetWeightUnit(v DeviceTypeWeightUnit)` + +SetWeightUnit sets WeightUnit field to given value. + +### HasWeightUnit + +`func (o *ModuleType) HasWeightUnit() bool` + +HasWeightUnit returns a boolean if a field has been set. + +### SetWeightUnitNil + +`func (o *ModuleType) SetWeightUnitNil(b bool)` + + SetWeightUnitNil sets the value for WeightUnit to be an explicit nil + +### UnsetWeightUnit +`func (o *ModuleType) UnsetWeightUnit()` + +UnsetWeightUnit ensures that no value is present for WeightUnit, not even an explicit nil ### GetDescription `func (o *ModuleType) GetDescription() string` @@ -155,6 +320,141 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetComments + +`func (o *ModuleType) GetComments() string` + +GetComments returns the Comments field if non-nil, zero value otherwise. + +### GetCommentsOk + +`func (o *ModuleType) GetCommentsOk() (*string, bool)` + +GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComments + +`func (o *ModuleType) SetComments(v string)` + +SetComments sets Comments field to given value. + +### HasComments + +`func (o *ModuleType) HasComments() bool` + +HasComments returns a boolean if a field has been set. + +### GetTags + +`func (o *ModuleType) GetTags() []NestedTag` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *ModuleType) GetTagsOk() (*[]NestedTag, 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 *ModuleType) SetTags(v []NestedTag)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *ModuleType) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *ModuleType) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *ModuleType) 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 *ModuleType) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *ModuleType) HasCustomFields() bool` + +HasCustomFields returns a boolean if a field has been set. + +### GetCreated + +`func (o *ModuleType) GetCreated() time.Time` + +GetCreated returns the Created field if non-nil, zero value otherwise. + +### GetCreatedOk + +`func (o *ModuleType) 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 *ModuleType) SetCreated(v time.Time)` + +SetCreated sets Created field to given value. + + +### SetCreatedNil + +`func (o *ModuleType) SetCreatedNil(b bool)` + + SetCreatedNil sets the value for Created to be an explicit nil + +### UnsetCreated +`func (o *ModuleType) UnsetCreated()` + +UnsetCreated ensures that no value is present for Created, not even an explicit nil +### GetLastUpdated + +`func (o *ModuleType) GetLastUpdated() time.Time` + +GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise. + +### GetLastUpdatedOk + +`func (o *ModuleType) 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 *ModuleType) SetLastUpdated(v time.Time)` + +SetLastUpdated sets LastUpdated field to given value. + + +### SetLastUpdatedNil + +`func (o *ModuleType) SetLastUpdatedNil(b bool)` + + SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil + +### UnsetLastUpdated +`func (o *ModuleType) UnsetLastUpdated()` + +UnsetLastUpdated ensures that no value is present for LastUpdated, 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/ModuleTypeAirflow.md b/docs/ModuleTypeAirflow.md new file mode 100644 index 000000000..2d957066b --- /dev/null +++ b/docs/ModuleTypeAirflow.md @@ -0,0 +1,82 @@ +# ModuleTypeAirflow + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Value** | Pointer to [**ModuleTypeAirflowValue**](ModuleTypeAirflowValue.md) | | [optional] +**Label** | Pointer to [**ModuleTypeAirflowLabel**](ModuleTypeAirflowLabel.md) | | [optional] + +## Methods + +### NewModuleTypeAirflow + +`func NewModuleTypeAirflow() *ModuleTypeAirflow` + +NewModuleTypeAirflow instantiates a new ModuleTypeAirflow object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewModuleTypeAirflowWithDefaults + +`func NewModuleTypeAirflowWithDefaults() *ModuleTypeAirflow` + +NewModuleTypeAirflowWithDefaults instantiates a new ModuleTypeAirflow object +This 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 *ModuleTypeAirflow) GetValue() ModuleTypeAirflowValue` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *ModuleTypeAirflow) GetValueOk() (*ModuleTypeAirflowValue, 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 *ModuleTypeAirflow) SetValue(v ModuleTypeAirflowValue)` + +SetValue sets Value field to given value. + +### HasValue + +`func (o *ModuleTypeAirflow) HasValue() bool` + +HasValue returns a boolean if a field has been set. + +### GetLabel + +`func (o *ModuleTypeAirflow) GetLabel() ModuleTypeAirflowLabel` + +GetLabel returns the Label field if non-nil, zero value otherwise. + +### GetLabelOk + +`func (o *ModuleTypeAirflow) GetLabelOk() (*ModuleTypeAirflowLabel, 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 *ModuleTypeAirflow) SetLabel(v ModuleTypeAirflowLabel)` + +SetLabel sets Label field to given value. + +### HasLabel + +`func (o *ModuleTypeAirflow) 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/ModuleTypeAirflowLabel.md b/docs/ModuleTypeAirflowLabel.md new file mode 100644 index 000000000..fc30c3c58 --- /dev/null +++ b/docs/ModuleTypeAirflowLabel.md @@ -0,0 +1,21 @@ +# ModuleTypeAirflowLabel + +## Enum + + +* `FRONT_TO_REAR` (value: `"Front to rear"`) + +* `REAR_TO_FRONT` (value: `"Rear to front"`) + +* `LEFT_TO_RIGHT` (value: `"Left to right"`) + +* `RIGHT_TO_LEFT` (value: `"Right to left"`) + +* `SIDE_TO_REAR` (value: `"Side to rear"`) + +* `PASSIVE` (value: `"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/ModuleTypeAirflowValue.md b/docs/ModuleTypeAirflowValue.md new file mode 100644 index 000000000..4656d1197 --- /dev/null +++ b/docs/ModuleTypeAirflowValue.md @@ -0,0 +1,23 @@ +# ModuleTypeAirflowValue + +## Enum + + +* `FRONT_TO_REAR` (value: `"front-to-rear"`) + +* `REAR_TO_FRONT` (value: `"rear-to-front"`) + +* `LEFT_TO_RIGHT` (value: `"left-to-right"`) + +* `RIGHT_TO_LEFT` (value: `"right-to-left"`) + +* `SIDE_TO_REAR` (value: `"side-to-rear"`) + +* `PASSIVE` (value: `"passive"`) + +* `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/ModuleTypeRequest.md b/docs/ModuleTypeRequest.md index 53185cdf3..ad422214b 100644 --- a/docs/ModuleTypeRequest.md +++ b/docs/ModuleTypeRequest.md @@ -4,15 +4,22 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Manufacturer** | [**ManufacturerRequest**](ManufacturerRequest.md) | | +**Manufacturer** | [**BriefManufacturerRequest**](BriefManufacturerRequest.md) | | **Model** | **string** | | +**PartNumber** | Pointer to **string** | Discrete part number (optional) | [optional] +**Airflow** | Pointer to [**NullableModuleTypeRequestAirflow**](ModuleTypeRequestAirflow.md) | | [optional] +**Weight** | Pointer to **NullableFloat64** | | [optional] +**WeightUnit** | Pointer to [**NullableDeviceTypeRequestWeightUnit**](DeviceTypeRequestWeightUnit.md) | | [optional] **Description** | Pointer to **string** | | [optional] +**Comments** | Pointer to **string** | | [optional] +**Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] ## Methods ### NewModuleTypeRequest -`func NewModuleTypeRequest(manufacturer ManufacturerRequest, model string, ) *ModuleTypeRequest` +`func NewModuleTypeRequest(manufacturer BriefManufacturerRequest, model string, ) *ModuleTypeRequest` NewModuleTypeRequest instantiates a new ModuleTypeRequest object This constructor will assign default values to properties that have it defined, @@ -29,20 +36,20 @@ but it doesn't guarantee that properties required by API are set ### GetManufacturer -`func (o *ModuleTypeRequest) GetManufacturer() ManufacturerRequest` +`func (o *ModuleTypeRequest) GetManufacturer() BriefManufacturerRequest` GetManufacturer returns the Manufacturer field if non-nil, zero value otherwise. ### GetManufacturerOk -`func (o *ModuleTypeRequest) GetManufacturerOk() (*ManufacturerRequest, bool)` +`func (o *ModuleTypeRequest) GetManufacturerOk() (*BriefManufacturerRequest, bool)` GetManufacturerOk returns a tuple with the Manufacturer field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetManufacturer -`func (o *ModuleTypeRequest) SetManufacturer(v ManufacturerRequest)` +`func (o *ModuleTypeRequest) SetManufacturer(v BriefManufacturerRequest)` SetManufacturer sets Manufacturer field to given value. @@ -67,6 +74,136 @@ and a boolean to check if the value has been set. SetModel sets Model field to given value. +### GetPartNumber + +`func (o *ModuleTypeRequest) GetPartNumber() string` + +GetPartNumber returns the PartNumber field if non-nil, zero value otherwise. + +### GetPartNumberOk + +`func (o *ModuleTypeRequest) GetPartNumberOk() (*string, bool)` + +GetPartNumberOk returns a tuple with the PartNumber field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPartNumber + +`func (o *ModuleTypeRequest) SetPartNumber(v string)` + +SetPartNumber sets PartNumber field to given value. + +### HasPartNumber + +`func (o *ModuleTypeRequest) HasPartNumber() bool` + +HasPartNumber returns a boolean if a field has been set. + +### GetAirflow + +`func (o *ModuleTypeRequest) GetAirflow() ModuleTypeRequestAirflow` + +GetAirflow returns the Airflow field if non-nil, zero value otherwise. + +### GetAirflowOk + +`func (o *ModuleTypeRequest) GetAirflowOk() (*ModuleTypeRequestAirflow, bool)` + +GetAirflowOk returns a tuple with the Airflow field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAirflow + +`func (o *ModuleTypeRequest) SetAirflow(v ModuleTypeRequestAirflow)` + +SetAirflow sets Airflow field to given value. + +### HasAirflow + +`func (o *ModuleTypeRequest) HasAirflow() bool` + +HasAirflow returns a boolean if a field has been set. + +### SetAirflowNil + +`func (o *ModuleTypeRequest) SetAirflowNil(b bool)` + + SetAirflowNil sets the value for Airflow to be an explicit nil + +### UnsetAirflow +`func (o *ModuleTypeRequest) UnsetAirflow()` + +UnsetAirflow ensures that no value is present for Airflow, not even an explicit nil +### GetWeight + +`func (o *ModuleTypeRequest) GetWeight() float64` + +GetWeight returns the Weight field if non-nil, zero value otherwise. + +### GetWeightOk + +`func (o *ModuleTypeRequest) GetWeightOk() (*float64, bool)` + +GetWeightOk returns a tuple with the Weight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWeight + +`func (o *ModuleTypeRequest) SetWeight(v float64)` + +SetWeight sets Weight field to given value. + +### HasWeight + +`func (o *ModuleTypeRequest) HasWeight() bool` + +HasWeight returns a boolean if a field has been set. + +### SetWeightNil + +`func (o *ModuleTypeRequest) SetWeightNil(b bool)` + + SetWeightNil sets the value for Weight to be an explicit nil + +### UnsetWeight +`func (o *ModuleTypeRequest) UnsetWeight()` + +UnsetWeight ensures that no value is present for Weight, not even an explicit nil +### GetWeightUnit + +`func (o *ModuleTypeRequest) GetWeightUnit() DeviceTypeRequestWeightUnit` + +GetWeightUnit returns the WeightUnit field if non-nil, zero value otherwise. + +### GetWeightUnitOk + +`func (o *ModuleTypeRequest) GetWeightUnitOk() (*DeviceTypeRequestWeightUnit, bool)` + +GetWeightUnitOk returns a tuple with the WeightUnit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWeightUnit + +`func (o *ModuleTypeRequest) SetWeightUnit(v DeviceTypeRequestWeightUnit)` + +SetWeightUnit sets WeightUnit field to given value. + +### HasWeightUnit + +`func (o *ModuleTypeRequest) HasWeightUnit() bool` + +HasWeightUnit returns a boolean if a field has been set. + +### SetWeightUnitNil + +`func (o *ModuleTypeRequest) SetWeightUnitNil(b bool)` + + SetWeightUnitNil sets the value for WeightUnit to be an explicit nil + +### UnsetWeightUnit +`func (o *ModuleTypeRequest) UnsetWeightUnit()` + +UnsetWeightUnit ensures that no value is present for WeightUnit, not even an explicit nil ### GetDescription `func (o *ModuleTypeRequest) GetDescription() string` @@ -92,6 +229,81 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetComments + +`func (o *ModuleTypeRequest) GetComments() string` + +GetComments returns the Comments field if non-nil, zero value otherwise. + +### GetCommentsOk + +`func (o *ModuleTypeRequest) GetCommentsOk() (*string, bool)` + +GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComments + +`func (o *ModuleTypeRequest) SetComments(v string)` + +SetComments sets Comments field to given value. + +### HasComments + +`func (o *ModuleTypeRequest) HasComments() bool` + +HasComments returns a boolean if a field has been set. + +### GetTags + +`func (o *ModuleTypeRequest) GetTags() []NestedTagRequest` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *ModuleTypeRequest) GetTagsOk() (*[]NestedTagRequest, 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 *ModuleTypeRequest) SetTags(v []NestedTagRequest)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *ModuleTypeRequest) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *ModuleTypeRequest) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *ModuleTypeRequest) 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 *ModuleTypeRequest) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *ModuleTypeRequest) 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/ModuleTypeRequestAirflow.md b/docs/ModuleTypeRequestAirflow.md new file mode 100644 index 000000000..25efc1b85 --- /dev/null +++ b/docs/ModuleTypeRequestAirflow.md @@ -0,0 +1,23 @@ +# ModuleTypeRequestAirflow + +## Enum + + +* `FRONT_TO_REAR` (value: `"front-to-rear"`) + +* `REAR_TO_FRONT` (value: `"rear-to-front"`) + +* `LEFT_TO_RIGHT` (value: `"left-to-right"`) + +* `RIGHT_TO_LEFT` (value: `"right-to-left"`) + +* `SIDE_TO_REAR` (value: `"side-to-rear"`) + +* `PASSIVE` (value: `"passive"`) + +* `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/NestedContactGroup.md b/docs/NestedContactGroup.md index 57a1c07f4..aeca08a09 100644 --- a/docs/NestedContactGroup.md +++ b/docs/NestedContactGroup.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Name** | **string** | | **Slug** | **string** | | @@ -70,6 +71,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *NestedContactGroup) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *NestedContactGroup) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *NestedContactGroup) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *NestedContactGroup) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *NestedContactGroup) GetDisplay() string` diff --git a/docs/NestedDevice.md b/docs/NestedDevice.md index ef9a0807e..21ac91b7b 100644 --- a/docs/NestedDevice.md +++ b/docs/NestedDevice.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Name** | Pointer to **NullableString** | | [optional] @@ -68,6 +69,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *NestedDevice) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *NestedDevice) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *NestedDevice) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *NestedDevice) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *NestedDevice) GetDisplay() string` diff --git a/docs/NestedGroup.md b/docs/NestedGroup.md index 2510f7a46..dc35c4ab1 100644 --- a/docs/NestedGroup.md +++ b/docs/NestedGroup.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Name** | **string** | | @@ -68,6 +69,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *NestedGroup) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *NestedGroup) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *NestedGroup) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *NestedGroup) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *NestedGroup) GetDisplay() string` diff --git a/docs/NestedIPAddress.md b/docs/NestedIPAddress.md new file mode 100644 index 000000000..0b45f584c --- /dev/null +++ b/docs/NestedIPAddress.md @@ -0,0 +1,161 @@ +# NestedIPAddress + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] +**Display** | **string** | | [readonly] +**Family** | **int32** | | [readonly] +**Address** | **string** | | + +## Methods + +### NewNestedIPAddress + +`func NewNestedIPAddress(id int32, url string, display string, family int32, address string, ) *NestedIPAddress` + +NewNestedIPAddress instantiates a new NestedIPAddress object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewNestedIPAddressWithDefaults + +`func NewNestedIPAddressWithDefaults() *NestedIPAddress` + +NewNestedIPAddressWithDefaults instantiates a new NestedIPAddress object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *NestedIPAddress) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *NestedIPAddress) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *NestedIPAddress) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *NestedIPAddress) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *NestedIPAddress) 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 *NestedIPAddress) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplayUrl + +`func (o *NestedIPAddress) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *NestedIPAddress) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *NestedIPAddress) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *NestedIPAddress) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + +### GetDisplay + +`func (o *NestedIPAddress) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *NestedIPAddress) 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 *NestedIPAddress) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetFamily + +`func (o *NestedIPAddress) GetFamily() int32` + +GetFamily returns the Family field if non-nil, zero value otherwise. + +### GetFamilyOk + +`func (o *NestedIPAddress) GetFamilyOk() (*int32, bool)` + +GetFamilyOk returns a tuple with the Family field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFamily + +`func (o *NestedIPAddress) SetFamily(v int32)` + +SetFamily sets Family field to given value. + + +### GetAddress + +`func (o *NestedIPAddress) GetAddress() string` + +GetAddress returns the Address field if non-nil, zero value otherwise. + +### GetAddressOk + +`func (o *NestedIPAddress) GetAddressOk() (*string, bool)` + +GetAddressOk returns a tuple with the Address field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddress + +`func (o *NestedIPAddress) SetAddress(v string)` + +SetAddress sets Address 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/NestedIPAddressRequest.md b/docs/NestedIPAddressRequest.md new file mode 100644 index 000000000..731329f5b --- /dev/null +++ b/docs/NestedIPAddressRequest.md @@ -0,0 +1,51 @@ +# NestedIPAddressRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Address** | **string** | | + +## Methods + +### NewNestedIPAddressRequest + +`func NewNestedIPAddressRequest(address string, ) *NestedIPAddressRequest` + +NewNestedIPAddressRequest instantiates a new NestedIPAddressRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewNestedIPAddressRequestWithDefaults + +`func NewNestedIPAddressRequestWithDefaults() *NestedIPAddressRequest` + +NewNestedIPAddressRequestWithDefaults instantiates a new NestedIPAddressRequest object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetAddress + +`func (o *NestedIPAddressRequest) GetAddress() string` + +GetAddress returns the Address field if non-nil, zero value otherwise. + +### GetAddressOk + +`func (o *NestedIPAddressRequest) GetAddressOk() (*string, bool)` + +GetAddressOk returns a tuple with the Address field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddress + +`func (o *NestedIPAddressRequest) SetAddress(v string)` + +SetAddress sets Address 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/NestedInterface.md b/docs/NestedInterface.md index f5bc6feec..76a1684d0 100644 --- a/docs/NestedInterface.md +++ b/docs/NestedInterface.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Device** | [**NestedDevice**](NestedDevice.md) | | [readonly] **Name** | **string** | | @@ -71,6 +72,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *NestedInterface) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *NestedInterface) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *NestedInterface) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *NestedInterface) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *NestedInterface) GetDisplay() string` diff --git a/docs/NestedLocation.md b/docs/NestedLocation.md new file mode 100644 index 000000000..45dd66c70 --- /dev/null +++ b/docs/NestedLocation.md @@ -0,0 +1,182 @@ +# NestedLocation + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] +**Display** | **string** | | [readonly] +**Name** | **string** | | +**Slug** | **string** | | +**Depth** | **int32** | | [readonly] + +## Methods + +### NewNestedLocation + +`func NewNestedLocation(id int32, url string, display string, name string, slug string, depth int32, ) *NestedLocation` + +NewNestedLocation instantiates a new NestedLocation object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewNestedLocationWithDefaults + +`func NewNestedLocationWithDefaults() *NestedLocation` + +NewNestedLocationWithDefaults instantiates a new NestedLocation object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *NestedLocation) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *NestedLocation) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *NestedLocation) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *NestedLocation) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *NestedLocation) 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 *NestedLocation) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplayUrl + +`func (o *NestedLocation) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *NestedLocation) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *NestedLocation) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *NestedLocation) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + +### GetDisplay + +`func (o *NestedLocation) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *NestedLocation) 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 *NestedLocation) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetName + +`func (o *NestedLocation) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *NestedLocation) 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 *NestedLocation) SetName(v string)` + +SetName sets Name field to given value. + + +### GetSlug + +`func (o *NestedLocation) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *NestedLocation) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *NestedLocation) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetDepth + +`func (o *NestedLocation) GetDepth() int32` + +GetDepth returns the Depth field if non-nil, zero value otherwise. + +### GetDepthOk + +`func (o *NestedLocation) GetDepthOk() (*int32, bool)` + +GetDepthOk returns a tuple with the Depth field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDepth + +`func (o *NestedLocation) SetDepth(v int32)` + +SetDepth sets Depth 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/NestedLocationRequest.md b/docs/NestedLocationRequest.md new file mode 100644 index 000000000..d3b0a011e --- /dev/null +++ b/docs/NestedLocationRequest.md @@ -0,0 +1,72 @@ +# NestedLocationRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **string** | | +**Slug** | **string** | | + +## Methods + +### NewNestedLocationRequest + +`func NewNestedLocationRequest(name string, slug string, ) *NestedLocationRequest` + +NewNestedLocationRequest instantiates a new NestedLocationRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewNestedLocationRequestWithDefaults + +`func NewNestedLocationRequestWithDefaults() *NestedLocationRequest` + +NewNestedLocationRequestWithDefaults instantiates a new NestedLocationRequest object +This 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 *NestedLocationRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *NestedLocationRequest) 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 *NestedLocationRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetSlug + +`func (o *NestedLocationRequest) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *NestedLocationRequest) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *NestedLocationRequest) SetSlug(v string)` + +SetSlug sets Slug 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/NestedModuleBay.md b/docs/NestedModuleBay.md index fd92789c2..8eaf9f193 100644 --- a/docs/NestedModuleBay.md +++ b/docs/NestedModuleBay.md @@ -6,8 +6,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] -**InstalledModule** | Pointer to [**NullableModuleBayNestedModule**](ModuleBayNestedModule.md) | | [optional] **Name** | **string** | | ## Methods @@ -69,61 +69,51 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. -### GetDisplay +### GetDisplayUrl -`func (o *NestedModuleBay) GetDisplay() string` +`func (o *NestedModuleBay) GetDisplayUrl() string` -GetDisplay returns the Display field if non-nil, zero value otherwise. +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. -### GetDisplayOk +### GetDisplayUrlOk -`func (o *NestedModuleBay) GetDisplayOk() (*string, bool)` +`func (o *NestedModuleBay) GetDisplayUrlOk() (*string, bool)` -GetDisplayOk returns a tuple with the Display field if it's non-nil, zero value otherwise +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetDisplay - -`func (o *NestedModuleBay) SetDisplay(v string)` - -SetDisplay sets Display field to given value. - +### SetDisplayUrl -### GetInstalledModule +`func (o *NestedModuleBay) SetDisplayUrl(v string)` -`func (o *NestedModuleBay) GetInstalledModule() ModuleBayNestedModule` +SetDisplayUrl sets DisplayUrl field to given value. -GetInstalledModule returns the InstalledModule field if non-nil, zero value otherwise. +### HasDisplayUrl -### GetInstalledModuleOk +`func (o *NestedModuleBay) HasDisplayUrl() bool` -`func (o *NestedModuleBay) GetInstalledModuleOk() (*ModuleBayNestedModule, bool)` +HasDisplayUrl returns a boolean if a field has been set. -GetInstalledModuleOk returns a tuple with the InstalledModule field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetInstalledModule +### GetDisplay -`func (o *NestedModuleBay) SetInstalledModule(v ModuleBayNestedModule)` +`func (o *NestedModuleBay) GetDisplay() string` -SetInstalledModule sets InstalledModule field to given value. +GetDisplay returns the Display field if non-nil, zero value otherwise. -### HasInstalledModule +### GetDisplayOk -`func (o *NestedModuleBay) HasInstalledModule() bool` +`func (o *NestedModuleBay) GetDisplayOk() (*string, bool)` -HasInstalledModule returns a boolean if a field has been set. +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. -### SetInstalledModuleNil +### SetDisplay -`func (o *NestedModuleBay) SetInstalledModuleNil(b bool)` +`func (o *NestedModuleBay) SetDisplay(v string)` - SetInstalledModuleNil sets the value for InstalledModule to be an explicit nil +SetDisplay sets Display field to given value. -### UnsetInstalledModule -`func (o *NestedModuleBay) UnsetInstalledModule()` -UnsetInstalledModule ensures that no value is present for InstalledModule, not even an explicit nil ### GetName `func (o *NestedModuleBay) GetName() string` diff --git a/docs/NestedModuleBayRequest.md b/docs/NestedModuleBayRequest.md index e23d88b56..abf39c21c 100644 --- a/docs/NestedModuleBayRequest.md +++ b/docs/NestedModuleBayRequest.md @@ -4,7 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**InstalledModule** | Pointer to [**NullableModuleBayNestedModuleRequest**](ModuleBayNestedModuleRequest.md) | | [optional] **Name** | **string** | | ## Methods @@ -26,41 +25,6 @@ NewNestedModuleBayRequestWithDefaults instantiates a new NestedModuleBayRequest This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetInstalledModule - -`func (o *NestedModuleBayRequest) GetInstalledModule() ModuleBayNestedModuleRequest` - -GetInstalledModule returns the InstalledModule field if non-nil, zero value otherwise. - -### GetInstalledModuleOk - -`func (o *NestedModuleBayRequest) GetInstalledModuleOk() (*ModuleBayNestedModuleRequest, bool)` - -GetInstalledModuleOk returns a tuple with the InstalledModule field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetInstalledModule - -`func (o *NestedModuleBayRequest) SetInstalledModule(v ModuleBayNestedModuleRequest)` - -SetInstalledModule sets InstalledModule field to given value. - -### HasInstalledModule - -`func (o *NestedModuleBayRequest) HasInstalledModule() bool` - -HasInstalledModule returns a boolean if a field has been set. - -### SetInstalledModuleNil - -`func (o *NestedModuleBayRequest) SetInstalledModuleNil(b bool)` - - SetInstalledModuleNil sets the value for InstalledModule to be an explicit nil - -### UnsetInstalledModule -`func (o *NestedModuleBayRequest) UnsetInstalledModule()` - -UnsetInstalledModule ensures that no value is present for InstalledModule, not even an explicit nil ### GetName `func (o *NestedModuleBayRequest) GetName() string` diff --git a/docs/NestedProviderAccount.md b/docs/NestedProviderAccount.md new file mode 100644 index 000000000..c5a489800 --- /dev/null +++ b/docs/NestedProviderAccount.md @@ -0,0 +1,166 @@ +# NestedProviderAccount + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] +**Display** | **string** | | [readonly] +**Name** | Pointer to **string** | | [optional] +**Account** | **string** | | + +## Methods + +### NewNestedProviderAccount + +`func NewNestedProviderAccount(id int32, url string, display string, account string, ) *NestedProviderAccount` + +NewNestedProviderAccount instantiates a new NestedProviderAccount object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewNestedProviderAccountWithDefaults + +`func NewNestedProviderAccountWithDefaults() *NestedProviderAccount` + +NewNestedProviderAccountWithDefaults instantiates a new NestedProviderAccount object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *NestedProviderAccount) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *NestedProviderAccount) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *NestedProviderAccount) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *NestedProviderAccount) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *NestedProviderAccount) 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 *NestedProviderAccount) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplayUrl + +`func (o *NestedProviderAccount) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *NestedProviderAccount) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *NestedProviderAccount) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *NestedProviderAccount) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + +### GetDisplay + +`func (o *NestedProviderAccount) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *NestedProviderAccount) 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 *NestedProviderAccount) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetName + +`func (o *NestedProviderAccount) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *NestedProviderAccount) 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 *NestedProviderAccount) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *NestedProviderAccount) HasName() bool` + +HasName returns a boolean if a field has been set. + +### GetAccount + +`func (o *NestedProviderAccount) GetAccount() string` + +GetAccount returns the Account field if non-nil, zero value otherwise. + +### GetAccountOk + +`func (o *NestedProviderAccount) GetAccountOk() (*string, bool)` + +GetAccountOk returns a tuple with the Account field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAccount + +`func (o *NestedProviderAccount) SetAccount(v string)` + +SetAccount sets Account 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/NestedRegion.md b/docs/NestedRegion.md index eb6f37ed6..b38b44dda 100644 --- a/docs/NestedRegion.md +++ b/docs/NestedRegion.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Name** | **string** | | **Slug** | **string** | | @@ -70,6 +71,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *NestedRegion) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *NestedRegion) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *NestedRegion) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *NestedRegion) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *NestedRegion) GetDisplay() string` diff --git a/docs/NestedSiteGroup.md b/docs/NestedSiteGroup.md index 0dd67ab6d..5f1e5666f 100644 --- a/docs/NestedSiteGroup.md +++ b/docs/NestedSiteGroup.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Name** | **string** | | **Slug** | **string** | | @@ -70,6 +71,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *NestedSiteGroup) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *NestedSiteGroup) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *NestedSiteGroup) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *NestedSiteGroup) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *NestedSiteGroup) GetDisplay() string` diff --git a/docs/NestedTag.md b/docs/NestedTag.md index f87362fdc..ab6ab10f9 100644 --- a/docs/NestedTag.md +++ b/docs/NestedTag.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Name** | **string** | | **Slug** | **string** | | @@ -70,6 +71,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *NestedTag) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *NestedTag) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *NestedTag) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *NestedTag) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *NestedTag) GetDisplay() string` diff --git a/docs/NestedTenantGroup.md b/docs/NestedTenantGroup.md index 3acbe4a23..89a881a3e 100644 --- a/docs/NestedTenantGroup.md +++ b/docs/NestedTenantGroup.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Name** | **string** | | **Slug** | **string** | | @@ -70,6 +71,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *NestedTenantGroup) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *NestedTenantGroup) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *NestedTenantGroup) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *NestedTenantGroup) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *NestedTenantGroup) GetDisplay() string` diff --git a/docs/NestedUser.md b/docs/NestedUser.md index f4d0be09f..fe03ad724 100644 --- a/docs/NestedUser.md +++ b/docs/NestedUser.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Username** | **string** | Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. | @@ -68,6 +69,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *NestedUser) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *NestedUser) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *NestedUser) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *NestedUser) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *NestedUser) GetDisplay() string` diff --git a/docs/NestedVMInterface.md b/docs/NestedVMInterface.md index bdc94d495..37d3cc677 100644 --- a/docs/NestedVMInterface.md +++ b/docs/NestedVMInterface.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **VirtualMachine** | [**NestedVirtualMachine**](NestedVirtualMachine.md) | | [readonly] **Name** | **string** | | @@ -69,6 +70,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *NestedVMInterface) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *NestedVMInterface) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *NestedVMInterface) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *NestedVMInterface) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *NestedVMInterface) GetDisplay() string` diff --git a/docs/NestedVirtualMachine.md b/docs/NestedVirtualMachine.md index 95a5a65aa..0de9f4e72 100644 --- a/docs/NestedVirtualMachine.md +++ b/docs/NestedVirtualMachine.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Name** | **string** | | @@ -68,6 +69,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *NestedVirtualMachine) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *NestedVirtualMachine) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *NestedVirtualMachine) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *NestedVirtualMachine) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *NestedVirtualMachine) GetDisplay() string` diff --git a/docs/NestedWirelessLANGroup.md b/docs/NestedWirelessLANGroup.md new file mode 100644 index 000000000..490a342a9 --- /dev/null +++ b/docs/NestedWirelessLANGroup.md @@ -0,0 +1,182 @@ +# NestedWirelessLANGroup + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] +**Display** | **string** | | [readonly] +**Name** | **string** | | +**Slug** | **string** | | +**Depth** | **int32** | | [readonly] + +## Methods + +### NewNestedWirelessLANGroup + +`func NewNestedWirelessLANGroup(id int32, url string, display string, name string, slug string, depth int32, ) *NestedWirelessLANGroup` + +NewNestedWirelessLANGroup instantiates a new NestedWirelessLANGroup object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewNestedWirelessLANGroupWithDefaults + +`func NewNestedWirelessLANGroupWithDefaults() *NestedWirelessLANGroup` + +NewNestedWirelessLANGroupWithDefaults instantiates a new NestedWirelessLANGroup object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *NestedWirelessLANGroup) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *NestedWirelessLANGroup) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *NestedWirelessLANGroup) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *NestedWirelessLANGroup) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *NestedWirelessLANGroup) 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 *NestedWirelessLANGroup) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplayUrl + +`func (o *NestedWirelessLANGroup) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *NestedWirelessLANGroup) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *NestedWirelessLANGroup) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *NestedWirelessLANGroup) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + +### GetDisplay + +`func (o *NestedWirelessLANGroup) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *NestedWirelessLANGroup) 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 *NestedWirelessLANGroup) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetName + +`func (o *NestedWirelessLANGroup) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *NestedWirelessLANGroup) 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 *NestedWirelessLANGroup) SetName(v string)` + +SetName sets Name field to given value. + + +### GetSlug + +`func (o *NestedWirelessLANGroup) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *NestedWirelessLANGroup) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *NestedWirelessLANGroup) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetDepth + +`func (o *NestedWirelessLANGroup) GetDepth() int32` + +GetDepth returns the Depth field if non-nil, zero value otherwise. + +### GetDepthOk + +`func (o *NestedWirelessLANGroup) GetDepthOk() (*int32, bool)` + +GetDepthOk returns a tuple with the Depth field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDepth + +`func (o *NestedWirelessLANGroup) SetDepth(v int32)` + +SetDepth sets Depth 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/NestedWirelessLink.md b/docs/NestedWirelessLink.md index 3eeb8edce..477deae53 100644 --- a/docs/NestedWirelessLink.md +++ b/docs/NestedWirelessLink.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Ssid** | Pointer to **string** | | [optional] @@ -68,6 +69,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *NestedWirelessLink) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *NestedWirelessLink) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *NestedWirelessLink) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *NestedWirelessLink) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *NestedWirelessLink) GetDisplay() string` diff --git a/docs/Notification.md b/docs/Notification.md new file mode 100644 index 000000000..d50dad23a --- /dev/null +++ b/docs/Notification.md @@ -0,0 +1,265 @@ +# Notification + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**ObjectType** | **string** | | +**ObjectId** | **int64** | | +**Object** | **interface{}** | | [readonly] +**User** | [**BriefUser**](BriefUser.md) | | +**Created** | **time.Time** | | [readonly] +**Read** | Pointer to **NullableTime** | | [optional] +**EventType** | [**Event**](Event.md) | | + +## Methods + +### NewNotification + +`func NewNotification(id int32, url string, display string, objectType string, objectId int64, object interface{}, user BriefUser, created time.Time, eventType Event, ) *Notification` + +NewNotification instantiates a new Notification object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewNotificationWithDefaults + +`func NewNotificationWithDefaults() *Notification` + +NewNotificationWithDefaults instantiates a new Notification object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *Notification) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *Notification) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *Notification) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *Notification) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *Notification) 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 *Notification) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *Notification) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *Notification) 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 *Notification) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetObjectType + +`func (o *Notification) GetObjectType() string` + +GetObjectType returns the ObjectType field if non-nil, zero value otherwise. + +### GetObjectTypeOk + +`func (o *Notification) 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 *Notification) SetObjectType(v string)` + +SetObjectType sets ObjectType field to given value. + + +### GetObjectId + +`func (o *Notification) GetObjectId() int64` + +GetObjectId returns the ObjectId field if non-nil, zero value otherwise. + +### GetObjectIdOk + +`func (o *Notification) GetObjectIdOk() (*int64, bool)` + +GetObjectIdOk returns a tuple with the ObjectId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetObjectId + +`func (o *Notification) SetObjectId(v int64)` + +SetObjectId sets ObjectId field to given value. + + +### GetObject + +`func (o *Notification) GetObject() interface{}` + +GetObject returns the Object field if non-nil, zero value otherwise. + +### GetObjectOk + +`func (o *Notification) GetObjectOk() (*interface{}, bool)` + +GetObjectOk returns a tuple with the Object field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetObject + +`func (o *Notification) SetObject(v interface{})` + +SetObject sets Object field to given value. + + +### SetObjectNil + +`func (o *Notification) SetObjectNil(b bool)` + + SetObjectNil sets the value for Object to be an explicit nil + +### UnsetObject +`func (o *Notification) UnsetObject()` + +UnsetObject ensures that no value is present for Object, not even an explicit nil +### GetUser + +`func (o *Notification) GetUser() BriefUser` + +GetUser returns the User field if non-nil, zero value otherwise. + +### GetUserOk + +`func (o *Notification) GetUserOk() (*BriefUser, bool)` + +GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUser + +`func (o *Notification) SetUser(v BriefUser)` + +SetUser sets User field to given value. + + +### GetCreated + +`func (o *Notification) GetCreated() time.Time` + +GetCreated returns the Created field if non-nil, zero value otherwise. + +### GetCreatedOk + +`func (o *Notification) 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 *Notification) SetCreated(v time.Time)` + +SetCreated sets Created field to given value. + + +### GetRead + +`func (o *Notification) GetRead() time.Time` + +GetRead returns the Read field if non-nil, zero value otherwise. + +### GetReadOk + +`func (o *Notification) GetReadOk() (*time.Time, bool)` + +GetReadOk returns a tuple with the Read field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRead + +`func (o *Notification) SetRead(v time.Time)` + +SetRead sets Read field to given value. + +### HasRead + +`func (o *Notification) HasRead() bool` + +HasRead returns a boolean if a field has been set. + +### SetReadNil + +`func (o *Notification) SetReadNil(b bool)` + + SetReadNil sets the value for Read to be an explicit nil + +### UnsetRead +`func (o *Notification) UnsetRead()` + +UnsetRead ensures that no value is present for Read, not even an explicit nil +### GetEventType + +`func (o *Notification) GetEventType() Event` + +GetEventType returns the EventType field if non-nil, zero value otherwise. + +### GetEventTypeOk + +`func (o *Notification) GetEventTypeOk() (*Event, bool)` + +GetEventTypeOk returns a tuple with the EventType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEventType + +`func (o *Notification) SetEventType(v Event)` + +SetEventType sets EventType 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/NotificationGroup.md b/docs/NotificationGroup.md new file mode 100644 index 000000000..411bf0dcf --- /dev/null +++ b/docs/NotificationGroup.md @@ -0,0 +1,218 @@ +# NotificationGroup + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] +**Name** | **string** | | +**Description** | Pointer to **string** | | [optional] +**Groups** | Pointer to [**[]Group**](Group.md) | | [optional] +**Users** | Pointer to [**[]User**](User.md) | | [optional] + +## Methods + +### NewNotificationGroup + +`func NewNotificationGroup(id int32, url string, display string, name string, ) *NotificationGroup` + +NewNotificationGroup instantiates a new NotificationGroup object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewNotificationGroupWithDefaults + +`func NewNotificationGroupWithDefaults() *NotificationGroup` + +NewNotificationGroupWithDefaults instantiates a new NotificationGroup object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *NotificationGroup) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *NotificationGroup) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *NotificationGroup) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *NotificationGroup) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *NotificationGroup) 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 *NotificationGroup) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *NotificationGroup) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *NotificationGroup) 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 *NotificationGroup) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetDisplayUrl + +`func (o *NotificationGroup) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *NotificationGroup) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *NotificationGroup) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *NotificationGroup) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + +### GetName + +`func (o *NotificationGroup) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *NotificationGroup) 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 *NotificationGroup) SetName(v string)` + +SetName sets Name field to given value. + + +### GetDescription + +`func (o *NotificationGroup) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *NotificationGroup) 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 *NotificationGroup) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *NotificationGroup) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetGroups + +`func (o *NotificationGroup) GetGroups() []Group` + +GetGroups returns the Groups field if non-nil, zero value otherwise. + +### GetGroupsOk + +`func (o *NotificationGroup) GetGroupsOk() (*[]Group, bool)` + +GetGroupsOk returns a tuple with the Groups field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGroups + +`func (o *NotificationGroup) SetGroups(v []Group)` + +SetGroups sets Groups field to given value. + +### HasGroups + +`func (o *NotificationGroup) HasGroups() bool` + +HasGroups returns a boolean if a field has been set. + +### GetUsers + +`func (o *NotificationGroup) GetUsers() []User` + +GetUsers returns the Users field if non-nil, zero value otherwise. + +### GetUsersOk + +`func (o *NotificationGroup) GetUsersOk() (*[]User, bool)` + +GetUsersOk returns a tuple with the Users field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUsers + +`func (o *NotificationGroup) SetUsers(v []User)` + +SetUsers sets Users field to given value. + +### HasUsers + +`func (o *NotificationGroup) HasUsers() bool` + +HasUsers 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/NotificationGroupRequest.md b/docs/NotificationGroupRequest.md new file mode 100644 index 000000000..0d437c2e1 --- /dev/null +++ b/docs/NotificationGroupRequest.md @@ -0,0 +1,129 @@ +# NotificationGroupRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **string** | | +**Description** | Pointer to **string** | | [optional] +**Groups** | Pointer to **[]int32** | | [optional] +**Users** | Pointer to **[]int32** | | [optional] + +## Methods + +### NewNotificationGroupRequest + +`func NewNotificationGroupRequest(name string, ) *NotificationGroupRequest` + +NewNotificationGroupRequest instantiates a new NotificationGroupRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewNotificationGroupRequestWithDefaults + +`func NewNotificationGroupRequestWithDefaults() *NotificationGroupRequest` + +NewNotificationGroupRequestWithDefaults instantiates a new NotificationGroupRequest object +This 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 *NotificationGroupRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *NotificationGroupRequest) 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 *NotificationGroupRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetDescription + +`func (o *NotificationGroupRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *NotificationGroupRequest) 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 *NotificationGroupRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *NotificationGroupRequest) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetGroups + +`func (o *NotificationGroupRequest) GetGroups() []int32` + +GetGroups returns the Groups field if non-nil, zero value otherwise. + +### GetGroupsOk + +`func (o *NotificationGroupRequest) GetGroupsOk() (*[]int32, bool)` + +GetGroupsOk returns a tuple with the Groups field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGroups + +`func (o *NotificationGroupRequest) SetGroups(v []int32)` + +SetGroups sets Groups field to given value. + +### HasGroups + +`func (o *NotificationGroupRequest) HasGroups() bool` + +HasGroups returns a boolean if a field has been set. + +### GetUsers + +`func (o *NotificationGroupRequest) GetUsers() []int32` + +GetUsers returns the Users field if non-nil, zero value otherwise. + +### GetUsersOk + +`func (o *NotificationGroupRequest) GetUsersOk() (*[]int32, bool)` + +GetUsersOk returns a tuple with the Users field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUsers + +`func (o *NotificationGroupRequest) SetUsers(v []int32)` + +SetUsers sets Users field to given value. + +### HasUsers + +`func (o *NotificationGroupRequest) HasUsers() bool` + +HasUsers 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/NotificationRequest.md b/docs/NotificationRequest.md new file mode 100644 index 000000000..9524f70d1 --- /dev/null +++ b/docs/NotificationRequest.md @@ -0,0 +1,150 @@ +# NotificationRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ObjectType** | **string** | | +**ObjectId** | **int64** | | +**User** | [**BriefUserRequest**](BriefUserRequest.md) | | +**Read** | Pointer to **NullableTime** | | [optional] +**EventType** | [**Event**](Event.md) | | + +## Methods + +### NewNotificationRequest + +`func NewNotificationRequest(objectType string, objectId int64, user BriefUserRequest, eventType Event, ) *NotificationRequest` + +NewNotificationRequest instantiates a new NotificationRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewNotificationRequestWithDefaults + +`func NewNotificationRequestWithDefaults() *NotificationRequest` + +NewNotificationRequestWithDefaults instantiates a new NotificationRequest object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetObjectType + +`func (o *NotificationRequest) GetObjectType() string` + +GetObjectType returns the ObjectType field if non-nil, zero value otherwise. + +### GetObjectTypeOk + +`func (o *NotificationRequest) 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 *NotificationRequest) SetObjectType(v string)` + +SetObjectType sets ObjectType field to given value. + + +### GetObjectId + +`func (o *NotificationRequest) GetObjectId() int64` + +GetObjectId returns the ObjectId field if non-nil, zero value otherwise. + +### GetObjectIdOk + +`func (o *NotificationRequest) GetObjectIdOk() (*int64, bool)` + +GetObjectIdOk returns a tuple with the ObjectId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetObjectId + +`func (o *NotificationRequest) SetObjectId(v int64)` + +SetObjectId sets ObjectId field to given value. + + +### GetUser + +`func (o *NotificationRequest) GetUser() BriefUserRequest` + +GetUser returns the User field if non-nil, zero value otherwise. + +### GetUserOk + +`func (o *NotificationRequest) GetUserOk() (*BriefUserRequest, bool)` + +GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUser + +`func (o *NotificationRequest) SetUser(v BriefUserRequest)` + +SetUser sets User field to given value. + + +### GetRead + +`func (o *NotificationRequest) GetRead() time.Time` + +GetRead returns the Read field if non-nil, zero value otherwise. + +### GetReadOk + +`func (o *NotificationRequest) GetReadOk() (*time.Time, bool)` + +GetReadOk returns a tuple with the Read field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRead + +`func (o *NotificationRequest) SetRead(v time.Time)` + +SetRead sets Read field to given value. + +### HasRead + +`func (o *NotificationRequest) HasRead() bool` + +HasRead returns a boolean if a field has been set. + +### SetReadNil + +`func (o *NotificationRequest) SetReadNil(b bool)` + + SetReadNil sets the value for Read to be an explicit nil + +### UnsetRead +`func (o *NotificationRequest) UnsetRead()` + +UnsetRead ensures that no value is present for Read, not even an explicit nil +### GetEventType + +`func (o *NotificationRequest) GetEventType() Event` + +GetEventType returns the EventType field if non-nil, zero value otherwise. + +### GetEventTypeOk + +`func (o *NotificationRequest) GetEventTypeOk() (*Event, bool)` + +GetEventTypeOk returns a tuple with the EventType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEventType + +`func (o *NotificationRequest) SetEventType(v Event)` + +SetEventType sets EventType 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/ObjectChange.md b/docs/ObjectChange.md index 574ef3fe5..08d4a5326 100644 --- a/docs/ObjectChange.md +++ b/docs/ObjectChange.md @@ -6,9 +6,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Time** | **time.Time** | | [readonly] -**User** | [**User**](User.md) | | [readonly] +**User** | [**BriefUser**](BriefUser.md) | | [readonly] **UserName** | **string** | | [readonly] **RequestId** | **string** | | [readonly] **Action** | [**ObjectChangeAction**](ObjectChangeAction.md) | | @@ -22,7 +23,7 @@ Name | Type | Description | Notes ### NewObjectChange -`func NewObjectChange(id int32, url string, display string, time time.Time, user User, userName string, requestId string, action ObjectChangeAction, changedObjectType string, changedObjectId int64, changedObject interface{}, prechangeData interface{}, postchangeData interface{}, ) *ObjectChange` +`func NewObjectChange(id int32, url string, display string, time time.Time, user BriefUser, userName string, requestId string, action ObjectChangeAction, changedObjectType string, changedObjectId int64, changedObject interface{}, prechangeData interface{}, postchangeData interface{}, ) *ObjectChange` NewObjectChange instantiates a new ObjectChange object This constructor will assign default values to properties that have it defined, @@ -77,6 +78,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *ObjectChange) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *ObjectChange) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *ObjectChange) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *ObjectChange) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *ObjectChange) GetDisplay() string` @@ -119,20 +145,20 @@ SetTime sets Time field to given value. ### GetUser -`func (o *ObjectChange) GetUser() User` +`func (o *ObjectChange) GetUser() BriefUser` GetUser returns the User field if non-nil, zero value otherwise. ### GetUserOk -`func (o *ObjectChange) GetUserOk() (*User, bool)` +`func (o *ObjectChange) GetUserOk() (*BriefUser, bool)` GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUser -`func (o *ObjectChange) SetUser(v User)` +`func (o *ObjectChange) SetUser(v BriefUser)` SetUser sets User field to given value. diff --git a/docs/ObjectPermission.md b/docs/ObjectPermission.md index fec4199e4..6f9a08763 100644 --- a/docs/ObjectPermission.md +++ b/docs/ObjectPermission.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Name** | **string** | | **Description** | Pointer to **string** | | [optional] @@ -75,6 +76,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *ObjectPermission) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *ObjectPermission) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *ObjectPermission) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *ObjectPermission) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *ObjectPermission) GetDisplay() string` diff --git a/docs/PaginatedCircuitGroupAssignmentList.md b/docs/PaginatedCircuitGroupAssignmentList.md new file mode 100644 index 000000000..cc8cc812c --- /dev/null +++ b/docs/PaginatedCircuitGroupAssignmentList.md @@ -0,0 +1,144 @@ +# PaginatedCircuitGroupAssignmentList + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Count** | **int32** | | +**Next** | Pointer to **NullableString** | | [optional] +**Previous** | Pointer to **NullableString** | | [optional] +**Results** | [**[]CircuitGroupAssignment**](CircuitGroupAssignment.md) | | + +## Methods + +### NewPaginatedCircuitGroupAssignmentList + +`func NewPaginatedCircuitGroupAssignmentList(count int32, results []CircuitGroupAssignment, ) *PaginatedCircuitGroupAssignmentList` + +NewPaginatedCircuitGroupAssignmentList instantiates a new PaginatedCircuitGroupAssignmentList object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPaginatedCircuitGroupAssignmentListWithDefaults + +`func NewPaginatedCircuitGroupAssignmentListWithDefaults() *PaginatedCircuitGroupAssignmentList` + +NewPaginatedCircuitGroupAssignmentListWithDefaults instantiates a new PaginatedCircuitGroupAssignmentList object +This 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 *PaginatedCircuitGroupAssignmentList) GetCount() int32` + +GetCount returns the Count field if non-nil, zero value otherwise. + +### GetCountOk + +`func (o *PaginatedCircuitGroupAssignmentList) 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 *PaginatedCircuitGroupAssignmentList) SetCount(v int32)` + +SetCount sets Count field to given value. + + +### GetNext + +`func (o *PaginatedCircuitGroupAssignmentList) GetNext() string` + +GetNext returns the Next field if non-nil, zero value otherwise. + +### GetNextOk + +`func (o *PaginatedCircuitGroupAssignmentList) 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 *PaginatedCircuitGroupAssignmentList) SetNext(v string)` + +SetNext sets Next field to given value. + +### HasNext + +`func (o *PaginatedCircuitGroupAssignmentList) HasNext() bool` + +HasNext returns a boolean if a field has been set. + +### SetNextNil + +`func (o *PaginatedCircuitGroupAssignmentList) SetNextNil(b bool)` + + SetNextNil sets the value for Next to be an explicit nil + +### UnsetNext +`func (o *PaginatedCircuitGroupAssignmentList) UnsetNext()` + +UnsetNext ensures that no value is present for Next, not even an explicit nil +### GetPrevious + +`func (o *PaginatedCircuitGroupAssignmentList) GetPrevious() string` + +GetPrevious returns the Previous field if non-nil, zero value otherwise. + +### GetPreviousOk + +`func (o *PaginatedCircuitGroupAssignmentList) 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 *PaginatedCircuitGroupAssignmentList) SetPrevious(v string)` + +SetPrevious sets Previous field to given value. + +### HasPrevious + +`func (o *PaginatedCircuitGroupAssignmentList) HasPrevious() bool` + +HasPrevious returns a boolean if a field has been set. + +### SetPreviousNil + +`func (o *PaginatedCircuitGroupAssignmentList) SetPreviousNil(b bool)` + + SetPreviousNil sets the value for Previous to be an explicit nil + +### UnsetPrevious +`func (o *PaginatedCircuitGroupAssignmentList) UnsetPrevious()` + +UnsetPrevious ensures that no value is present for Previous, not even an explicit nil +### GetResults + +`func (o *PaginatedCircuitGroupAssignmentList) GetResults() []CircuitGroupAssignment` + +GetResults returns the Results field if non-nil, zero value otherwise. + +### GetResultsOk + +`func (o *PaginatedCircuitGroupAssignmentList) GetResultsOk() (*[]CircuitGroupAssignment, 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 *PaginatedCircuitGroupAssignmentList) SetResults(v []CircuitGroupAssignment)` + +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/PaginatedCircuitGroupList.md b/docs/PaginatedCircuitGroupList.md new file mode 100644 index 000000000..943619ff5 --- /dev/null +++ b/docs/PaginatedCircuitGroupList.md @@ -0,0 +1,144 @@ +# PaginatedCircuitGroupList + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Count** | **int32** | | +**Next** | Pointer to **NullableString** | | [optional] +**Previous** | Pointer to **NullableString** | | [optional] +**Results** | [**[]CircuitGroup**](CircuitGroup.md) | | + +## Methods + +### NewPaginatedCircuitGroupList + +`func NewPaginatedCircuitGroupList(count int32, results []CircuitGroup, ) *PaginatedCircuitGroupList` + +NewPaginatedCircuitGroupList instantiates a new PaginatedCircuitGroupList object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPaginatedCircuitGroupListWithDefaults + +`func NewPaginatedCircuitGroupListWithDefaults() *PaginatedCircuitGroupList` + +NewPaginatedCircuitGroupListWithDefaults instantiates a new PaginatedCircuitGroupList object +This 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 *PaginatedCircuitGroupList) GetCount() int32` + +GetCount returns the Count field if non-nil, zero value otherwise. + +### GetCountOk + +`func (o *PaginatedCircuitGroupList) 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 *PaginatedCircuitGroupList) SetCount(v int32)` + +SetCount sets Count field to given value. + + +### GetNext + +`func (o *PaginatedCircuitGroupList) GetNext() string` + +GetNext returns the Next field if non-nil, zero value otherwise. + +### GetNextOk + +`func (o *PaginatedCircuitGroupList) 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 *PaginatedCircuitGroupList) SetNext(v string)` + +SetNext sets Next field to given value. + +### HasNext + +`func (o *PaginatedCircuitGroupList) HasNext() bool` + +HasNext returns a boolean if a field has been set. + +### SetNextNil + +`func (o *PaginatedCircuitGroupList) SetNextNil(b bool)` + + SetNextNil sets the value for Next to be an explicit nil + +### UnsetNext +`func (o *PaginatedCircuitGroupList) UnsetNext()` + +UnsetNext ensures that no value is present for Next, not even an explicit nil +### GetPrevious + +`func (o *PaginatedCircuitGroupList) GetPrevious() string` + +GetPrevious returns the Previous field if non-nil, zero value otherwise. + +### GetPreviousOk + +`func (o *PaginatedCircuitGroupList) 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 *PaginatedCircuitGroupList) SetPrevious(v string)` + +SetPrevious sets Previous field to given value. + +### HasPrevious + +`func (o *PaginatedCircuitGroupList) HasPrevious() bool` + +HasPrevious returns a boolean if a field has been set. + +### SetPreviousNil + +`func (o *PaginatedCircuitGroupList) SetPreviousNil(b bool)` + + SetPreviousNil sets the value for Previous to be an explicit nil + +### UnsetPrevious +`func (o *PaginatedCircuitGroupList) UnsetPrevious()` + +UnsetPrevious ensures that no value is present for Previous, not even an explicit nil +### GetResults + +`func (o *PaginatedCircuitGroupList) GetResults() []CircuitGroup` + +GetResults returns the Results field if non-nil, zero value otherwise. + +### GetResultsOk + +`func (o *PaginatedCircuitGroupList) GetResultsOk() (*[]CircuitGroup, 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 *PaginatedCircuitGroupList) SetResults(v []CircuitGroup)` + +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/PaginatedNotificationGroupList.md b/docs/PaginatedNotificationGroupList.md new file mode 100644 index 000000000..d18373028 --- /dev/null +++ b/docs/PaginatedNotificationGroupList.md @@ -0,0 +1,144 @@ +# PaginatedNotificationGroupList + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Count** | **int32** | | +**Next** | Pointer to **NullableString** | | [optional] +**Previous** | Pointer to **NullableString** | | [optional] +**Results** | [**[]NotificationGroup**](NotificationGroup.md) | | + +## Methods + +### NewPaginatedNotificationGroupList + +`func NewPaginatedNotificationGroupList(count int32, results []NotificationGroup, ) *PaginatedNotificationGroupList` + +NewPaginatedNotificationGroupList instantiates a new PaginatedNotificationGroupList object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPaginatedNotificationGroupListWithDefaults + +`func NewPaginatedNotificationGroupListWithDefaults() *PaginatedNotificationGroupList` + +NewPaginatedNotificationGroupListWithDefaults instantiates a new PaginatedNotificationGroupList object +This 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 *PaginatedNotificationGroupList) GetCount() int32` + +GetCount returns the Count field if non-nil, zero value otherwise. + +### GetCountOk + +`func (o *PaginatedNotificationGroupList) 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 *PaginatedNotificationGroupList) SetCount(v int32)` + +SetCount sets Count field to given value. + + +### GetNext + +`func (o *PaginatedNotificationGroupList) GetNext() string` + +GetNext returns the Next field if non-nil, zero value otherwise. + +### GetNextOk + +`func (o *PaginatedNotificationGroupList) 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 *PaginatedNotificationGroupList) SetNext(v string)` + +SetNext sets Next field to given value. + +### HasNext + +`func (o *PaginatedNotificationGroupList) HasNext() bool` + +HasNext returns a boolean if a field has been set. + +### SetNextNil + +`func (o *PaginatedNotificationGroupList) SetNextNil(b bool)` + + SetNextNil sets the value for Next to be an explicit nil + +### UnsetNext +`func (o *PaginatedNotificationGroupList) UnsetNext()` + +UnsetNext ensures that no value is present for Next, not even an explicit nil +### GetPrevious + +`func (o *PaginatedNotificationGroupList) GetPrevious() string` + +GetPrevious returns the Previous field if non-nil, zero value otherwise. + +### GetPreviousOk + +`func (o *PaginatedNotificationGroupList) 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 *PaginatedNotificationGroupList) SetPrevious(v string)` + +SetPrevious sets Previous field to given value. + +### HasPrevious + +`func (o *PaginatedNotificationGroupList) HasPrevious() bool` + +HasPrevious returns a boolean if a field has been set. + +### SetPreviousNil + +`func (o *PaginatedNotificationGroupList) SetPreviousNil(b bool)` + + SetPreviousNil sets the value for Previous to be an explicit nil + +### UnsetPrevious +`func (o *PaginatedNotificationGroupList) UnsetPrevious()` + +UnsetPrevious ensures that no value is present for Previous, not even an explicit nil +### GetResults + +`func (o *PaginatedNotificationGroupList) GetResults() []NotificationGroup` + +GetResults returns the Results field if non-nil, zero value otherwise. + +### GetResultsOk + +`func (o *PaginatedNotificationGroupList) GetResultsOk() (*[]NotificationGroup, 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 *PaginatedNotificationGroupList) SetResults(v []NotificationGroup)` + +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/PaginatedNotificationList.md b/docs/PaginatedNotificationList.md new file mode 100644 index 000000000..2baadd832 --- /dev/null +++ b/docs/PaginatedNotificationList.md @@ -0,0 +1,144 @@ +# PaginatedNotificationList + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Count** | **int32** | | +**Next** | Pointer to **NullableString** | | [optional] +**Previous** | Pointer to **NullableString** | | [optional] +**Results** | [**[]Notification**](Notification.md) | | + +## Methods + +### NewPaginatedNotificationList + +`func NewPaginatedNotificationList(count int32, results []Notification, ) *PaginatedNotificationList` + +NewPaginatedNotificationList instantiates a new PaginatedNotificationList object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPaginatedNotificationListWithDefaults + +`func NewPaginatedNotificationListWithDefaults() *PaginatedNotificationList` + +NewPaginatedNotificationListWithDefaults instantiates a new PaginatedNotificationList object +This 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 *PaginatedNotificationList) GetCount() int32` + +GetCount returns the Count field if non-nil, zero value otherwise. + +### GetCountOk + +`func (o *PaginatedNotificationList) 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 *PaginatedNotificationList) SetCount(v int32)` + +SetCount sets Count field to given value. + + +### GetNext + +`func (o *PaginatedNotificationList) GetNext() string` + +GetNext returns the Next field if non-nil, zero value otherwise. + +### GetNextOk + +`func (o *PaginatedNotificationList) 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 *PaginatedNotificationList) SetNext(v string)` + +SetNext sets Next field to given value. + +### HasNext + +`func (o *PaginatedNotificationList) HasNext() bool` + +HasNext returns a boolean if a field has been set. + +### SetNextNil + +`func (o *PaginatedNotificationList) SetNextNil(b bool)` + + SetNextNil sets the value for Next to be an explicit nil + +### UnsetNext +`func (o *PaginatedNotificationList) UnsetNext()` + +UnsetNext ensures that no value is present for Next, not even an explicit nil +### GetPrevious + +`func (o *PaginatedNotificationList) GetPrevious() string` + +GetPrevious returns the Previous field if non-nil, zero value otherwise. + +### GetPreviousOk + +`func (o *PaginatedNotificationList) 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 *PaginatedNotificationList) SetPrevious(v string)` + +SetPrevious sets Previous field to given value. + +### HasPrevious + +`func (o *PaginatedNotificationList) HasPrevious() bool` + +HasPrevious returns a boolean if a field has been set. + +### SetPreviousNil + +`func (o *PaginatedNotificationList) SetPreviousNil(b bool)` + + SetPreviousNil sets the value for Previous to be an explicit nil + +### UnsetPrevious +`func (o *PaginatedNotificationList) UnsetPrevious()` + +UnsetPrevious ensures that no value is present for Previous, not even an explicit nil +### GetResults + +`func (o *PaginatedNotificationList) GetResults() []Notification` + +GetResults returns the Results field if non-nil, zero value otherwise. + +### GetResultsOk + +`func (o *PaginatedNotificationList) GetResultsOk() (*[]Notification, 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 *PaginatedNotificationList) SetResults(v []Notification)` + +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/PaginatedRackTypeList.md b/docs/PaginatedRackTypeList.md new file mode 100644 index 000000000..bb3f5780a --- /dev/null +++ b/docs/PaginatedRackTypeList.md @@ -0,0 +1,144 @@ +# PaginatedRackTypeList + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Count** | **int32** | | +**Next** | Pointer to **NullableString** | | [optional] +**Previous** | Pointer to **NullableString** | | [optional] +**Results** | [**[]RackType**](RackType.md) | | + +## Methods + +### NewPaginatedRackTypeList + +`func NewPaginatedRackTypeList(count int32, results []RackType, ) *PaginatedRackTypeList` + +NewPaginatedRackTypeList instantiates a new PaginatedRackTypeList object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPaginatedRackTypeListWithDefaults + +`func NewPaginatedRackTypeListWithDefaults() *PaginatedRackTypeList` + +NewPaginatedRackTypeListWithDefaults instantiates a new PaginatedRackTypeList object +This 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 *PaginatedRackTypeList) GetCount() int32` + +GetCount returns the Count field if non-nil, zero value otherwise. + +### GetCountOk + +`func (o *PaginatedRackTypeList) 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 *PaginatedRackTypeList) SetCount(v int32)` + +SetCount sets Count field to given value. + + +### GetNext + +`func (o *PaginatedRackTypeList) GetNext() string` + +GetNext returns the Next field if non-nil, zero value otherwise. + +### GetNextOk + +`func (o *PaginatedRackTypeList) 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 *PaginatedRackTypeList) SetNext(v string)` + +SetNext sets Next field to given value. + +### HasNext + +`func (o *PaginatedRackTypeList) HasNext() bool` + +HasNext returns a boolean if a field has been set. + +### SetNextNil + +`func (o *PaginatedRackTypeList) SetNextNil(b bool)` + + SetNextNil sets the value for Next to be an explicit nil + +### UnsetNext +`func (o *PaginatedRackTypeList) UnsetNext()` + +UnsetNext ensures that no value is present for Next, not even an explicit nil +### GetPrevious + +`func (o *PaginatedRackTypeList) GetPrevious() string` + +GetPrevious returns the Previous field if non-nil, zero value otherwise. + +### GetPreviousOk + +`func (o *PaginatedRackTypeList) 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 *PaginatedRackTypeList) SetPrevious(v string)` + +SetPrevious sets Previous field to given value. + +### HasPrevious + +`func (o *PaginatedRackTypeList) HasPrevious() bool` + +HasPrevious returns a boolean if a field has been set. + +### SetPreviousNil + +`func (o *PaginatedRackTypeList) SetPreviousNil(b bool)` + + SetPreviousNil sets the value for Previous to be an explicit nil + +### UnsetPrevious +`func (o *PaginatedRackTypeList) UnsetPrevious()` + +UnsetPrevious ensures that no value is present for Previous, not even an explicit nil +### GetResults + +`func (o *PaginatedRackTypeList) GetResults() []RackType` + +GetResults returns the Results field if non-nil, zero value otherwise. + +### GetResultsOk + +`func (o *PaginatedRackTypeList) GetResultsOk() (*[]RackType, 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 *PaginatedRackTypeList) SetResults(v []RackType)` + +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/PaginatedSubscriptionList.md b/docs/PaginatedSubscriptionList.md new file mode 100644 index 000000000..f8dc4ddaa --- /dev/null +++ b/docs/PaginatedSubscriptionList.md @@ -0,0 +1,144 @@ +# PaginatedSubscriptionList + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Count** | **int32** | | +**Next** | Pointer to **NullableString** | | [optional] +**Previous** | Pointer to **NullableString** | | [optional] +**Results** | [**[]Subscription**](Subscription.md) | | + +## Methods + +### NewPaginatedSubscriptionList + +`func NewPaginatedSubscriptionList(count int32, results []Subscription, ) *PaginatedSubscriptionList` + +NewPaginatedSubscriptionList instantiates a new PaginatedSubscriptionList object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPaginatedSubscriptionListWithDefaults + +`func NewPaginatedSubscriptionListWithDefaults() *PaginatedSubscriptionList` + +NewPaginatedSubscriptionListWithDefaults instantiates a new PaginatedSubscriptionList object +This 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 *PaginatedSubscriptionList) GetCount() int32` + +GetCount returns the Count field if non-nil, zero value otherwise. + +### GetCountOk + +`func (o *PaginatedSubscriptionList) 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 *PaginatedSubscriptionList) SetCount(v int32)` + +SetCount sets Count field to given value. + + +### GetNext + +`func (o *PaginatedSubscriptionList) GetNext() string` + +GetNext returns the Next field if non-nil, zero value otherwise. + +### GetNextOk + +`func (o *PaginatedSubscriptionList) 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 *PaginatedSubscriptionList) SetNext(v string)` + +SetNext sets Next field to given value. + +### HasNext + +`func (o *PaginatedSubscriptionList) HasNext() bool` + +HasNext returns a boolean if a field has been set. + +### SetNextNil + +`func (o *PaginatedSubscriptionList) SetNextNil(b bool)` + + SetNextNil sets the value for Next to be an explicit nil + +### UnsetNext +`func (o *PaginatedSubscriptionList) UnsetNext()` + +UnsetNext ensures that no value is present for Next, not even an explicit nil +### GetPrevious + +`func (o *PaginatedSubscriptionList) GetPrevious() string` + +GetPrevious returns the Previous field if non-nil, zero value otherwise. + +### GetPreviousOk + +`func (o *PaginatedSubscriptionList) 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 *PaginatedSubscriptionList) SetPrevious(v string)` + +SetPrevious sets Previous field to given value. + +### HasPrevious + +`func (o *PaginatedSubscriptionList) HasPrevious() bool` + +HasPrevious returns a boolean if a field has been set. + +### SetPreviousNil + +`func (o *PaginatedSubscriptionList) SetPreviousNil(b bool)` + + SetPreviousNil sets the value for Previous to be an explicit nil + +### UnsetPrevious +`func (o *PaginatedSubscriptionList) UnsetPrevious()` + +UnsetPrevious ensures that no value is present for Previous, not even an explicit nil +### GetResults + +`func (o *PaginatedSubscriptionList) GetResults() []Subscription` + +GetResults returns the Results field if non-nil, zero value otherwise. + +### GetResultsOk + +`func (o *PaginatedSubscriptionList) GetResultsOk() (*[]Subscription, 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 *PaginatedSubscriptionList) SetResults(v []Subscription)` + +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/PatchedASNRangeRequest.md b/docs/PatchedASNRangeRequest.md index a777fc11f..235fbbe6c 100644 --- a/docs/PatchedASNRangeRequest.md +++ b/docs/PatchedASNRangeRequest.md @@ -6,10 +6,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | Pointer to **string** | | [optional] **Slug** | Pointer to **string** | | [optional] -**Rir** | Pointer to [**RIRRequest**](RIRRequest.md) | | [optional] +**Rir** | Pointer to [**BriefRIRRequest**](BriefRIRRequest.md) | | [optional] **Start** | Pointer to **int64** | | [optional] **End** | Pointer to **int64** | | [optional] -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] **Description** | Pointer to **string** | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] @@ -85,20 +85,20 @@ HasSlug returns a boolean if a field has been set. ### GetRir -`func (o *PatchedASNRangeRequest) GetRir() RIRRequest` +`func (o *PatchedASNRangeRequest) GetRir() BriefRIRRequest` GetRir returns the Rir field if non-nil, zero value otherwise. ### GetRirOk -`func (o *PatchedASNRangeRequest) GetRirOk() (*RIRRequest, bool)` +`func (o *PatchedASNRangeRequest) GetRirOk() (*BriefRIRRequest, bool)` GetRirOk returns a tuple with the Rir field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRir -`func (o *PatchedASNRangeRequest) SetRir(v RIRRequest)` +`func (o *PatchedASNRangeRequest) SetRir(v BriefRIRRequest)` SetRir sets Rir field to given value. @@ -160,20 +160,20 @@ HasEnd returns a boolean if a field has been set. ### GetTenant -`func (o *PatchedASNRangeRequest) GetTenant() TenantRequest` +`func (o *PatchedASNRangeRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *PatchedASNRangeRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *PatchedASNRangeRequest) GetTenantOk() (*BriefTenantRequest, 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 *PatchedASNRangeRequest) SetTenant(v TenantRequest)` +`func (o *PatchedASNRangeRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. diff --git a/docs/PatchedASNRequest.md b/docs/PatchedASNRequest.md index 4df3e7c67..498a45866 100644 --- a/docs/PatchedASNRequest.md +++ b/docs/PatchedASNRequest.md @@ -5,8 +5,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Asn** | Pointer to **int64** | 16- or 32-bit autonomous system number | [optional] -**Rir** | Pointer to [**NullableRIRRequest**](RIRRequest.md) | | [optional] -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] +**Rir** | Pointer to [**NullableBriefRIRRequest**](BriefRIRRequest.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] **Description** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] @@ -58,20 +58,20 @@ HasAsn returns a boolean if a field has been set. ### GetRir -`func (o *PatchedASNRequest) GetRir() RIRRequest` +`func (o *PatchedASNRequest) GetRir() BriefRIRRequest` GetRir returns the Rir field if non-nil, zero value otherwise. ### GetRirOk -`func (o *PatchedASNRequest) GetRirOk() (*RIRRequest, bool)` +`func (o *PatchedASNRequest) GetRirOk() (*BriefRIRRequest, bool)` GetRirOk returns a tuple with the Rir field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRir -`func (o *PatchedASNRequest) SetRir(v RIRRequest)` +`func (o *PatchedASNRequest) SetRir(v BriefRIRRequest)` SetRir sets Rir field to given value. @@ -93,20 +93,20 @@ HasRir returns a boolean if a field has been set. UnsetRir ensures that no value is present for Rir, not even an explicit nil ### GetTenant -`func (o *PatchedASNRequest) GetTenant() TenantRequest` +`func (o *PatchedASNRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *PatchedASNRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *PatchedASNRequest) GetTenantOk() (*BriefTenantRequest, 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 *PatchedASNRequest) SetTenant(v TenantRequest)` +`func (o *PatchedASNRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. diff --git a/docs/PatchedBookmarkRequest.md b/docs/PatchedBookmarkRequest.md index 344f1ee74..b82fd2d84 100644 --- a/docs/PatchedBookmarkRequest.md +++ b/docs/PatchedBookmarkRequest.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **ObjectType** | Pointer to **string** | | [optional] **ObjectId** | Pointer to **int64** | | [optional] -**User** | Pointer to [**UserRequest**](UserRequest.md) | | [optional] +**User** | Pointer to [**BriefUserRequest**](BriefUserRequest.md) | | [optional] ## Methods @@ -79,20 +79,20 @@ HasObjectId returns a boolean if a field has been set. ### GetUser -`func (o *PatchedBookmarkRequest) GetUser() UserRequest` +`func (o *PatchedBookmarkRequest) GetUser() BriefUserRequest` GetUser returns the User field if non-nil, zero value otherwise. ### GetUserOk -`func (o *PatchedBookmarkRequest) GetUserOk() (*UserRequest, bool)` +`func (o *PatchedBookmarkRequest) GetUserOk() (*BriefUserRequest, bool)` GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUser -`func (o *PatchedBookmarkRequest) SetUser(v UserRequest)` +`func (o *PatchedBookmarkRequest) SetUser(v BriefUserRequest)` SetUser sets User field to given value. diff --git a/docs/PatchedCircuitGroupRequest.md b/docs/PatchedCircuitGroupRequest.md new file mode 100644 index 000000000..7ffbd2403 --- /dev/null +++ b/docs/PatchedCircuitGroupRequest.md @@ -0,0 +1,196 @@ +# PatchedCircuitGroupRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | Pointer to **string** | | [optional] +**Slug** | Pointer to **string** | | [optional] +**Description** | Pointer to **string** | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] +**Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] + +## Methods + +### NewPatchedCircuitGroupRequest + +`func NewPatchedCircuitGroupRequest() *PatchedCircuitGroupRequest` + +NewPatchedCircuitGroupRequest instantiates a new PatchedCircuitGroupRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPatchedCircuitGroupRequestWithDefaults + +`func NewPatchedCircuitGroupRequestWithDefaults() *PatchedCircuitGroupRequest` + +NewPatchedCircuitGroupRequestWithDefaults instantiates a new PatchedCircuitGroupRequest object +This 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 *PatchedCircuitGroupRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *PatchedCircuitGroupRequest) 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 *PatchedCircuitGroupRequest) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *PatchedCircuitGroupRequest) HasName() bool` + +HasName returns a boolean if a field has been set. + +### GetSlug + +`func (o *PatchedCircuitGroupRequest) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *PatchedCircuitGroupRequest) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *PatchedCircuitGroupRequest) SetSlug(v string)` + +SetSlug sets Slug field to given value. + +### HasSlug + +`func (o *PatchedCircuitGroupRequest) HasSlug() bool` + +HasSlug returns a boolean if a field has been set. + +### GetDescription + +`func (o *PatchedCircuitGroupRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *PatchedCircuitGroupRequest) 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 *PatchedCircuitGroupRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *PatchedCircuitGroupRequest) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetTenant + +`func (o *PatchedCircuitGroupRequest) GetTenant() BriefTenantRequest` + +GetTenant returns the Tenant field if non-nil, zero value otherwise. + +### GetTenantOk + +`func (o *PatchedCircuitGroupRequest) GetTenantOk() (*BriefTenantRequest, 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 *PatchedCircuitGroupRequest) SetTenant(v BriefTenantRequest)` + +SetTenant sets Tenant field to given value. + +### HasTenant + +`func (o *PatchedCircuitGroupRequest) HasTenant() bool` + +HasTenant returns a boolean if a field has been set. + +### SetTenantNil + +`func (o *PatchedCircuitGroupRequest) SetTenantNil(b bool)` + + SetTenantNil sets the value for Tenant to be an explicit nil + +### UnsetTenant +`func (o *PatchedCircuitGroupRequest) UnsetTenant()` + +UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +### GetTags + +`func (o *PatchedCircuitGroupRequest) GetTags() []NestedTagRequest` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *PatchedCircuitGroupRequest) GetTagsOk() (*[]NestedTagRequest, 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 *PatchedCircuitGroupRequest) SetTags(v []NestedTagRequest)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *PatchedCircuitGroupRequest) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *PatchedCircuitGroupRequest) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *PatchedCircuitGroupRequest) 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 *PatchedCircuitGroupRequest) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *PatchedCircuitGroupRequest) 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/PatchedCircuitTerminationRequest.md b/docs/PatchedCircuitTerminationRequest.md index 1785e201e..28bdc580b 100644 --- a/docs/PatchedCircuitTerminationRequest.md +++ b/docs/PatchedCircuitTerminationRequest.md @@ -4,10 +4,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Circuit** | Pointer to [**CircuitRequest**](CircuitRequest.md) | | [optional] +**Circuit** | Pointer to [**BriefCircuitRequest**](BriefCircuitRequest.md) | | [optional] **TermSide** | Pointer to [**Termination1**](Termination1.md) | | [optional] -**Site** | Pointer to [**NullableSiteRequest**](SiteRequest.md) | | [optional] -**ProviderNetwork** | Pointer to [**NullableProviderNetworkRequest**](ProviderNetworkRequest.md) | | [optional] +**Site** | Pointer to [**NullableBriefSiteRequest**](BriefSiteRequest.md) | | [optional] +**ProviderNetwork** | Pointer to [**NullableBriefProviderNetworkRequest**](BriefProviderNetworkRequest.md) | | [optional] **PortSpeed** | Pointer to **NullableInt32** | Physical circuit speed | [optional] **UpstreamSpeed** | Pointer to **NullableInt32** | Upstream speed, if different from port speed | [optional] **XconnectId** | Pointer to **string** | ID of the local cross-connect | [optional] @@ -38,20 +38,20 @@ but it doesn't guarantee that properties required by API are set ### GetCircuit -`func (o *PatchedCircuitTerminationRequest) GetCircuit() CircuitRequest` +`func (o *PatchedCircuitTerminationRequest) GetCircuit() BriefCircuitRequest` GetCircuit returns the Circuit field if non-nil, zero value otherwise. ### GetCircuitOk -`func (o *PatchedCircuitTerminationRequest) GetCircuitOk() (*CircuitRequest, bool)` +`func (o *PatchedCircuitTerminationRequest) GetCircuitOk() (*BriefCircuitRequest, bool)` GetCircuitOk returns a tuple with the Circuit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCircuit -`func (o *PatchedCircuitTerminationRequest) SetCircuit(v CircuitRequest)` +`func (o *PatchedCircuitTerminationRequest) SetCircuit(v BriefCircuitRequest)` SetCircuit sets Circuit field to given value. @@ -88,20 +88,20 @@ HasTermSide returns a boolean if a field has been set. ### GetSite -`func (o *PatchedCircuitTerminationRequest) GetSite() SiteRequest` +`func (o *PatchedCircuitTerminationRequest) GetSite() BriefSiteRequest` GetSite returns the Site field if non-nil, zero value otherwise. ### GetSiteOk -`func (o *PatchedCircuitTerminationRequest) GetSiteOk() (*SiteRequest, bool)` +`func (o *PatchedCircuitTerminationRequest) GetSiteOk() (*BriefSiteRequest, bool)` GetSiteOk returns a tuple with the Site field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSite -`func (o *PatchedCircuitTerminationRequest) SetSite(v SiteRequest)` +`func (o *PatchedCircuitTerminationRequest) SetSite(v BriefSiteRequest)` SetSite sets Site field to given value. @@ -123,20 +123,20 @@ HasSite returns a boolean if a field has been set. UnsetSite ensures that no value is present for Site, not even an explicit nil ### GetProviderNetwork -`func (o *PatchedCircuitTerminationRequest) GetProviderNetwork() ProviderNetworkRequest` +`func (o *PatchedCircuitTerminationRequest) GetProviderNetwork() BriefProviderNetworkRequest` GetProviderNetwork returns the ProviderNetwork field if non-nil, zero value otherwise. ### GetProviderNetworkOk -`func (o *PatchedCircuitTerminationRequest) GetProviderNetworkOk() (*ProviderNetworkRequest, bool)` +`func (o *PatchedCircuitTerminationRequest) GetProviderNetworkOk() (*BriefProviderNetworkRequest, bool)` GetProviderNetworkOk returns a tuple with the ProviderNetwork field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetProviderNetwork -`func (o *PatchedCircuitTerminationRequest) SetProviderNetwork(v ProviderNetworkRequest)` +`func (o *PatchedCircuitTerminationRequest) SetProviderNetwork(v BriefProviderNetworkRequest)` SetProviderNetwork sets ProviderNetwork field to given value. diff --git a/docs/PatchedConfigContextRequest.md b/docs/PatchedConfigContextRequest.md index c4a77f887..5162d6aca 100644 --- a/docs/PatchedConfigContextRequest.md +++ b/docs/PatchedConfigContextRequest.md @@ -21,7 +21,7 @@ Name | Type | Description | Notes **TenantGroups** | Pointer to **[]int32** | | [optional] **Tenants** | Pointer to **[]int32** | | [optional] **Tags** | Pointer to **[]string** | | [optional] -**DataSource** | Pointer to [**DataSourceRequest**](DataSourceRequest.md) | | [optional] +**DataSource** | Pointer to [**BriefDataSourceRequest**](BriefDataSourceRequest.md) | | [optional] **Data** | Pointer to **interface{}** | | [optional] ## Methods @@ -470,20 +470,20 @@ HasTags returns a boolean if a field has been set. ### GetDataSource -`func (o *PatchedConfigContextRequest) GetDataSource() DataSourceRequest` +`func (o *PatchedConfigContextRequest) GetDataSource() BriefDataSourceRequest` GetDataSource returns the DataSource field if non-nil, zero value otherwise. ### GetDataSourceOk -`func (o *PatchedConfigContextRequest) GetDataSourceOk() (*DataSourceRequest, bool)` +`func (o *PatchedConfigContextRequest) GetDataSourceOk() (*BriefDataSourceRequest, bool)` GetDataSourceOk returns a tuple with the DataSource field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDataSource -`func (o *PatchedConfigContextRequest) SetDataSource(v DataSourceRequest)` +`func (o *PatchedConfigContextRequest) SetDataSource(v BriefDataSourceRequest)` SetDataSource sets DataSource field to given value. diff --git a/docs/PatchedConfigTemplateRequest.md b/docs/PatchedConfigTemplateRequest.md index c9b147592..37005f012 100644 --- a/docs/PatchedConfigTemplateRequest.md +++ b/docs/PatchedConfigTemplateRequest.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **Description** | Pointer to **string** | | [optional] **EnvironmentParams** | Pointer to **interface{}** | Any <a href=\"https://jinja.palletsprojects.com/en/3.1.x/api/#jinja2.Environment\">additional parameters</a> to pass when constructing the Jinja2 environment. | [optional] **TemplateCode** | Pointer to **string** | Jinja2 template code. | [optional] -**DataSource** | Pointer to [**DataSourceRequest**](DataSourceRequest.md) | | [optional] +**DataSource** | Pointer to [**BriefDataSourceRequest**](BriefDataSourceRequest.md) | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] ## Methods @@ -142,20 +142,20 @@ HasTemplateCode returns a boolean if a field has been set. ### GetDataSource -`func (o *PatchedConfigTemplateRequest) GetDataSource() DataSourceRequest` +`func (o *PatchedConfigTemplateRequest) GetDataSource() BriefDataSourceRequest` GetDataSource returns the DataSource field if non-nil, zero value otherwise. ### GetDataSourceOk -`func (o *PatchedConfigTemplateRequest) GetDataSourceOk() (*DataSourceRequest, bool)` +`func (o *PatchedConfigTemplateRequest) GetDataSourceOk() (*BriefDataSourceRequest, bool)` GetDataSourceOk returns a tuple with the DataSource field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDataSource -`func (o *PatchedConfigTemplateRequest) SetDataSource(v DataSourceRequest)` +`func (o *PatchedConfigTemplateRequest) SetDataSource(v BriefDataSourceRequest)` SetDataSource sets DataSource field to given value. diff --git a/docs/PatchedContactRequest.md b/docs/PatchedContactRequest.md index d1ad6719e..042bee775 100644 --- a/docs/PatchedContactRequest.md +++ b/docs/PatchedContactRequest.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Group** | Pointer to [**NullableContactGroupRequest**](ContactGroupRequest.md) | | [optional] +**Group** | Pointer to [**NullableBriefContactGroupRequest**](BriefContactGroupRequest.md) | | [optional] **Name** | Pointer to **string** | | [optional] **Title** | Pointer to **string** | | [optional] **Phone** | Pointer to **string** | | [optional] @@ -37,20 +37,20 @@ but it doesn't guarantee that properties required by API are set ### GetGroup -`func (o *PatchedContactRequest) GetGroup() ContactGroupRequest` +`func (o *PatchedContactRequest) GetGroup() BriefContactGroupRequest` GetGroup returns the Group field if non-nil, zero value otherwise. ### GetGroupOk -`func (o *PatchedContactRequest) GetGroupOk() (*ContactGroupRequest, bool)` +`func (o *PatchedContactRequest) GetGroupOk() (*BriefContactGroupRequest, bool)` GetGroupOk returns a tuple with the Group field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetGroup -`func (o *PatchedContactRequest) SetGroup(v ContactGroupRequest)` +`func (o *PatchedContactRequest) SetGroup(v BriefContactGroupRequest)` SetGroup sets Group field to given value. diff --git a/docs/PatchedDeviceBayRequest.md b/docs/PatchedDeviceBayRequest.md index bf25fd2a4..9df288606 100644 --- a/docs/PatchedDeviceBayRequest.md +++ b/docs/PatchedDeviceBayRequest.md @@ -4,11 +4,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Device** | Pointer to [**DeviceRequest**](DeviceRequest.md) | | [optional] +**Device** | Pointer to [**BriefDeviceRequest**](BriefDeviceRequest.md) | | [optional] **Name** | Pointer to **string** | | [optional] **Label** | Pointer to **string** | Physical label | [optional] **Description** | Pointer to **string** | | [optional] -**InstalledDevice** | Pointer to [**NullableDeviceRequest**](DeviceRequest.md) | | [optional] +**InstalledDevice** | Pointer to [**NullableBriefDeviceRequest**](BriefDeviceRequest.md) | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] @@ -33,20 +33,20 @@ but it doesn't guarantee that properties required by API are set ### GetDevice -`func (o *PatchedDeviceBayRequest) GetDevice() DeviceRequest` +`func (o *PatchedDeviceBayRequest) GetDevice() BriefDeviceRequest` GetDevice returns the Device field if non-nil, zero value otherwise. ### GetDeviceOk -`func (o *PatchedDeviceBayRequest) GetDeviceOk() (*DeviceRequest, bool)` +`func (o *PatchedDeviceBayRequest) GetDeviceOk() (*BriefDeviceRequest, 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 *PatchedDeviceBayRequest) SetDevice(v DeviceRequest)` +`func (o *PatchedDeviceBayRequest) SetDevice(v BriefDeviceRequest)` SetDevice sets Device field to given value. @@ -133,20 +133,20 @@ HasDescription returns a boolean if a field has been set. ### GetInstalledDevice -`func (o *PatchedDeviceBayRequest) GetInstalledDevice() DeviceRequest` +`func (o *PatchedDeviceBayRequest) GetInstalledDevice() BriefDeviceRequest` GetInstalledDevice returns the InstalledDevice field if non-nil, zero value otherwise. ### GetInstalledDeviceOk -`func (o *PatchedDeviceBayRequest) GetInstalledDeviceOk() (*DeviceRequest, bool)` +`func (o *PatchedDeviceBayRequest) GetInstalledDeviceOk() (*BriefDeviceRequest, bool)` GetInstalledDeviceOk returns a tuple with the InstalledDevice field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetInstalledDevice -`func (o *PatchedDeviceBayRequest) SetInstalledDevice(v DeviceRequest)` +`func (o *PatchedDeviceBayRequest) SetInstalledDevice(v BriefDeviceRequest)` SetInstalledDevice sets InstalledDevice field to given value. diff --git a/docs/PatchedDeviceBayTemplateRequest.md b/docs/PatchedDeviceBayTemplateRequest.md index 5ba265ed2..dc8920d73 100644 --- a/docs/PatchedDeviceBayTemplateRequest.md +++ b/docs/PatchedDeviceBayTemplateRequest.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**DeviceType** | Pointer to [**DeviceTypeRequest**](DeviceTypeRequest.md) | | [optional] +**DeviceType** | Pointer to [**BriefDeviceTypeRequest**](BriefDeviceTypeRequest.md) | | [optional] **Name** | Pointer to **string** | {module} is accepted as a substitution for the module bay position when attached to a module type. | [optional] **Label** | Pointer to **string** | Physical label | [optional] **Description** | Pointer to **string** | | [optional] @@ -30,20 +30,20 @@ but it doesn't guarantee that properties required by API are set ### GetDeviceType -`func (o *PatchedDeviceBayTemplateRequest) GetDeviceType() DeviceTypeRequest` +`func (o *PatchedDeviceBayTemplateRequest) GetDeviceType() BriefDeviceTypeRequest` GetDeviceType returns the DeviceType field if non-nil, zero value otherwise. ### GetDeviceTypeOk -`func (o *PatchedDeviceBayTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool)` +`func (o *PatchedDeviceBayTemplateRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool)` GetDeviceTypeOk returns a tuple with the DeviceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDeviceType -`func (o *PatchedDeviceBayTemplateRequest) SetDeviceType(v DeviceTypeRequest)` +`func (o *PatchedDeviceBayTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest)` SetDeviceType sets DeviceType field to given value. diff --git a/docs/PatchedDeviceRoleRequest.md b/docs/PatchedDeviceRoleRequest.md index 19824a38b..f66bc8e9f 100644 --- a/docs/PatchedDeviceRoleRequest.md +++ b/docs/PatchedDeviceRoleRequest.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **Slug** | Pointer to **string** | | [optional] **Color** | Pointer to **string** | | [optional] **VmRole** | Pointer to **bool** | Virtual machines may be assigned to this role | [optional] -**ConfigTemplate** | Pointer to [**NullableConfigTemplateRequest**](ConfigTemplateRequest.md) | | [optional] +**ConfigTemplate** | Pointer to [**NullableBriefConfigTemplateRequest**](BriefConfigTemplateRequest.md) | | [optional] **Description** | Pointer to **string** | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] @@ -134,20 +134,20 @@ HasVmRole returns a boolean if a field has been set. ### GetConfigTemplate -`func (o *PatchedDeviceRoleRequest) GetConfigTemplate() ConfigTemplateRequest` +`func (o *PatchedDeviceRoleRequest) GetConfigTemplate() BriefConfigTemplateRequest` GetConfigTemplate returns the ConfigTemplate field if non-nil, zero value otherwise. ### GetConfigTemplateOk -`func (o *PatchedDeviceRoleRequest) GetConfigTemplateOk() (*ConfigTemplateRequest, bool)` +`func (o *PatchedDeviceRoleRequest) GetConfigTemplateOk() (*BriefConfigTemplateRequest, bool)` GetConfigTemplateOk returns a tuple with the ConfigTemplate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetConfigTemplate -`func (o *PatchedDeviceRoleRequest) SetConfigTemplate(v ConfigTemplateRequest)` +`func (o *PatchedDeviceRoleRequest) SetConfigTemplate(v BriefConfigTemplateRequest)` SetConfigTemplate sets ConfigTemplate field to given value. diff --git a/docs/PatchedExportTemplateRequest.md b/docs/PatchedExportTemplateRequest.md index 0a424e1f2..2195f5d07 100644 --- a/docs/PatchedExportTemplateRequest.md +++ b/docs/PatchedExportTemplateRequest.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes **MimeType** | Pointer to **string** | Defaults to <code>text/plain; charset=utf-8</code> | [optional] **FileExtension** | Pointer to **string** | Extension to append to the rendered filename | [optional] **AsAttachment** | Pointer to **bool** | Download file as attachment | [optional] -**DataSource** | Pointer to [**DataSourceRequest**](DataSourceRequest.md) | | [optional] +**DataSource** | Pointer to [**BriefDataSourceRequest**](BriefDataSourceRequest.md) | | [optional] ## Methods @@ -209,20 +209,20 @@ HasAsAttachment returns a boolean if a field has been set. ### GetDataSource -`func (o *PatchedExportTemplateRequest) GetDataSource() DataSourceRequest` +`func (o *PatchedExportTemplateRequest) GetDataSource() BriefDataSourceRequest` GetDataSource returns the DataSource field if non-nil, zero value otherwise. ### GetDataSourceOk -`func (o *PatchedExportTemplateRequest) GetDataSourceOk() (*DataSourceRequest, bool)` +`func (o *PatchedExportTemplateRequest) GetDataSourceOk() (*BriefDataSourceRequest, bool)` GetDataSourceOk returns a tuple with the DataSource field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDataSource -`func (o *PatchedExportTemplateRequest) SetDataSource(v DataSourceRequest)` +`func (o *PatchedExportTemplateRequest) SetDataSource(v BriefDataSourceRequest)` SetDataSource sets DataSource field to given value. diff --git a/docs/PatchedFHRPGroupAssignmentRequest.md b/docs/PatchedFHRPGroupAssignmentRequest.md index 4e987d752..94ee184e3 100644 --- a/docs/PatchedFHRPGroupAssignmentRequest.md +++ b/docs/PatchedFHRPGroupAssignmentRequest.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Group** | Pointer to [**FHRPGroupRequest**](FHRPGroupRequest.md) | | [optional] +**Group** | Pointer to [**BriefFHRPGroupRequest**](BriefFHRPGroupRequest.md) | | [optional] **InterfaceType** | Pointer to **string** | | [optional] **InterfaceId** | Pointer to **int64** | | [optional] **Priority** | Pointer to **int32** | | [optional] @@ -30,20 +30,20 @@ but it doesn't guarantee that properties required by API are set ### GetGroup -`func (o *PatchedFHRPGroupAssignmentRequest) GetGroup() FHRPGroupRequest` +`func (o *PatchedFHRPGroupAssignmentRequest) GetGroup() BriefFHRPGroupRequest` GetGroup returns the Group field if non-nil, zero value otherwise. ### GetGroupOk -`func (o *PatchedFHRPGroupAssignmentRequest) GetGroupOk() (*FHRPGroupRequest, bool)` +`func (o *PatchedFHRPGroupAssignmentRequest) GetGroupOk() (*BriefFHRPGroupRequest, bool)` GetGroupOk returns a tuple with the Group field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetGroup -`func (o *PatchedFHRPGroupAssignmentRequest) SetGroup(v FHRPGroupRequest)` +`func (o *PatchedFHRPGroupAssignmentRequest) SetGroup(v BriefFHRPGroupRequest)` SetGroup sets Group field to given value. diff --git a/docs/PatchedFHRPGroupRequest.md b/docs/PatchedFHRPGroupRequest.md index b1e63b0ca..71406668e 100644 --- a/docs/PatchedFHRPGroupRequest.md +++ b/docs/PatchedFHRPGroupRequest.md @@ -5,9 +5,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | Pointer to **string** | | [optional] -**Protocol** | Pointer to [**FHRPGroupProtocol**](FHRPGroupProtocol.md) | | [optional] +**Protocol** | Pointer to [**BriefFHRPGroupProtocol**](BriefFHRPGroupProtocol.md) | | [optional] **GroupId** | Pointer to **int32** | | [optional] -**AuthType** | Pointer to [**AuthenticationType**](AuthenticationType.md) | | [optional] +**AuthType** | Pointer to [**AuthenticationType2**](AuthenticationType2.md) | | [optional] **AuthKey** | Pointer to **string** | | [optional] **Description** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] @@ -60,20 +60,20 @@ HasName returns a boolean if a field has been set. ### GetProtocol -`func (o *PatchedFHRPGroupRequest) GetProtocol() FHRPGroupProtocol` +`func (o *PatchedFHRPGroupRequest) GetProtocol() BriefFHRPGroupProtocol` GetProtocol returns the Protocol field if non-nil, zero value otherwise. ### GetProtocolOk -`func (o *PatchedFHRPGroupRequest) GetProtocolOk() (*FHRPGroupProtocol, bool)` +`func (o *PatchedFHRPGroupRequest) GetProtocolOk() (*BriefFHRPGroupProtocol, bool)` GetProtocolOk returns a tuple with the Protocol field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetProtocol -`func (o *PatchedFHRPGroupRequest) SetProtocol(v FHRPGroupProtocol)` +`func (o *PatchedFHRPGroupRequest) SetProtocol(v BriefFHRPGroupProtocol)` SetProtocol sets Protocol field to given value. @@ -110,20 +110,20 @@ HasGroupId returns a boolean if a field has been set. ### GetAuthType -`func (o *PatchedFHRPGroupRequest) GetAuthType() AuthenticationType` +`func (o *PatchedFHRPGroupRequest) GetAuthType() AuthenticationType2` GetAuthType returns the AuthType field if non-nil, zero value otherwise. ### GetAuthTypeOk -`func (o *PatchedFHRPGroupRequest) GetAuthTypeOk() (*AuthenticationType, bool)` +`func (o *PatchedFHRPGroupRequest) GetAuthTypeOk() (*AuthenticationType2, bool)` GetAuthTypeOk returns a tuple with the AuthType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetAuthType -`func (o *PatchedFHRPGroupRequest) SetAuthType(v AuthenticationType)` +`func (o *PatchedFHRPGroupRequest) SetAuthType(v AuthenticationType2)` SetAuthType sets AuthType field to given value. diff --git a/docs/PatchedImageAttachmentRequest.md b/docs/PatchedImageAttachmentRequest.md index de2766af0..fd6d6db09 100644 --- a/docs/PatchedImageAttachmentRequest.md +++ b/docs/PatchedImageAttachmentRequest.md @@ -8,8 +8,6 @@ Name | Type | Description | Notes **ObjectId** | Pointer to **int64** | | [optional] **Name** | Pointer to **string** | | [optional] **Image** | Pointer to ***os.File** | | [optional] -**ImageHeight** | Pointer to **int32** | | [optional] -**ImageWidth** | Pointer to **int32** | | [optional] ## Methods @@ -130,56 +128,6 @@ SetImage sets Image field to given value. HasImage returns a boolean if a field has been set. -### GetImageHeight - -`func (o *PatchedImageAttachmentRequest) GetImageHeight() int32` - -GetImageHeight returns the ImageHeight field if non-nil, zero value otherwise. - -### GetImageHeightOk - -`func (o *PatchedImageAttachmentRequest) GetImageHeightOk() (*int32, bool)` - -GetImageHeightOk returns a tuple with the ImageHeight field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetImageHeight - -`func (o *PatchedImageAttachmentRequest) SetImageHeight(v int32)` - -SetImageHeight sets ImageHeight field to given value. - -### HasImageHeight - -`func (o *PatchedImageAttachmentRequest) HasImageHeight() bool` - -HasImageHeight returns a boolean if a field has been set. - -### GetImageWidth - -`func (o *PatchedImageAttachmentRequest) GetImageWidth() int32` - -GetImageWidth returns the ImageWidth field if non-nil, zero value otherwise. - -### GetImageWidthOk - -`func (o *PatchedImageAttachmentRequest) GetImageWidthOk() (*int32, bool)` - -GetImageWidthOk returns a tuple with the ImageWidth field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetImageWidth - -`func (o *PatchedImageAttachmentRequest) SetImageWidth(v int32)` - -SetImageWidth sets ImageWidth field to given value. - -### HasImageWidth - -`func (o *PatchedImageAttachmentRequest) HasImageWidth() bool` - -HasImageWidth 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 29a3617b6..15eb808cc 100644 --- a/docs/PatchedInventoryItemRequest.md +++ b/docs/PatchedInventoryItemRequest.md @@ -4,12 +4,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Device** | Pointer to [**DeviceRequest**](DeviceRequest.md) | | [optional] +**Device** | Pointer to [**BriefDeviceRequest**](BriefDeviceRequest.md) | | [optional] **Parent** | Pointer to **NullableInt32** | | [optional] **Name** | Pointer to **string** | | [optional] **Label** | Pointer to **string** | Physical label | [optional] -**Role** | Pointer to [**NullableInventoryItemRoleRequest**](InventoryItemRoleRequest.md) | | [optional] -**Manufacturer** | Pointer to [**NullableManufacturerRequest**](ManufacturerRequest.md) | | [optional] +**Role** | Pointer to [**NullableBriefInventoryItemRoleRequest**](BriefInventoryItemRoleRequest.md) | | [optional] +**Manufacturer** | Pointer to [**NullableBriefManufacturerRequest**](BriefManufacturerRequest.md) | | [optional] **PartId** | Pointer to **string** | Manufacturer-assigned part identifier | [optional] **Serial** | Pointer to **string** | | [optional] **AssetTag** | Pointer to **NullableString** | A unique tag used to identify this item | [optional] @@ -41,20 +41,20 @@ but it doesn't guarantee that properties required by API are set ### GetDevice -`func (o *PatchedInventoryItemRequest) GetDevice() DeviceRequest` +`func (o *PatchedInventoryItemRequest) GetDevice() BriefDeviceRequest` GetDevice returns the Device field if non-nil, zero value otherwise. ### GetDeviceOk -`func (o *PatchedInventoryItemRequest) GetDeviceOk() (*DeviceRequest, bool)` +`func (o *PatchedInventoryItemRequest) GetDeviceOk() (*BriefDeviceRequest, 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 *PatchedInventoryItemRequest) SetDevice(v DeviceRequest)` +`func (o *PatchedInventoryItemRequest) SetDevice(v BriefDeviceRequest)` SetDevice sets Device field to given value. @@ -151,20 +151,20 @@ HasLabel returns a boolean if a field has been set. ### GetRole -`func (o *PatchedInventoryItemRequest) GetRole() InventoryItemRoleRequest` +`func (o *PatchedInventoryItemRequest) GetRole() BriefInventoryItemRoleRequest` GetRole returns the Role field if non-nil, zero value otherwise. ### GetRoleOk -`func (o *PatchedInventoryItemRequest) GetRoleOk() (*InventoryItemRoleRequest, bool)` +`func (o *PatchedInventoryItemRequest) GetRoleOk() (*BriefInventoryItemRoleRequest, 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 *PatchedInventoryItemRequest) SetRole(v InventoryItemRoleRequest)` +`func (o *PatchedInventoryItemRequest) SetRole(v BriefInventoryItemRoleRequest)` SetRole sets Role field to given value. @@ -186,20 +186,20 @@ HasRole returns a boolean if a field has been set. UnsetRole ensures that no value is present for Role, not even an explicit nil ### GetManufacturer -`func (o *PatchedInventoryItemRequest) GetManufacturer() ManufacturerRequest` +`func (o *PatchedInventoryItemRequest) GetManufacturer() BriefManufacturerRequest` GetManufacturer returns the Manufacturer field if non-nil, zero value otherwise. ### GetManufacturerOk -`func (o *PatchedInventoryItemRequest) GetManufacturerOk() (*ManufacturerRequest, bool)` +`func (o *PatchedInventoryItemRequest) GetManufacturerOk() (*BriefManufacturerRequest, bool)` GetManufacturerOk returns a tuple with the Manufacturer field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetManufacturer -`func (o *PatchedInventoryItemRequest) SetManufacturer(v ManufacturerRequest)` +`func (o *PatchedInventoryItemRequest) SetManufacturer(v BriefManufacturerRequest)` SetManufacturer sets Manufacturer field to given value. diff --git a/docs/PatchedInventoryItemTemplateRequest.md b/docs/PatchedInventoryItemTemplateRequest.md index 8bc9025d4..7be75bce8 100644 --- a/docs/PatchedInventoryItemTemplateRequest.md +++ b/docs/PatchedInventoryItemTemplateRequest.md @@ -4,12 +4,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**DeviceType** | Pointer to [**DeviceTypeRequest**](DeviceTypeRequest.md) | | [optional] +**DeviceType** | Pointer to [**BriefDeviceTypeRequest**](BriefDeviceTypeRequest.md) | | [optional] **Parent** | Pointer to **NullableInt32** | | [optional] **Name** | Pointer to **string** | {module} is accepted as a substitution for the module bay position when attached to a module type. | [optional] **Label** | Pointer to **string** | Physical label | [optional] -**Role** | Pointer to [**NullableInventoryItemRoleRequest**](InventoryItemRoleRequest.md) | | [optional] -**Manufacturer** | Pointer to [**NullableManufacturerRequest**](ManufacturerRequest.md) | | [optional] +**Role** | Pointer to [**NullableBriefInventoryItemRoleRequest**](BriefInventoryItemRoleRequest.md) | | [optional] +**Manufacturer** | Pointer to [**NullableBriefManufacturerRequest**](BriefManufacturerRequest.md) | | [optional] **PartId** | Pointer to **string** | Manufacturer-assigned part identifier | [optional] **Description** | Pointer to **string** | | [optional] **ComponentType** | Pointer to **NullableString** | | [optional] @@ -36,20 +36,20 @@ but it doesn't guarantee that properties required by API are set ### GetDeviceType -`func (o *PatchedInventoryItemTemplateRequest) GetDeviceType() DeviceTypeRequest` +`func (o *PatchedInventoryItemTemplateRequest) GetDeviceType() BriefDeviceTypeRequest` GetDeviceType returns the DeviceType field if non-nil, zero value otherwise. ### GetDeviceTypeOk -`func (o *PatchedInventoryItemTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool)` +`func (o *PatchedInventoryItemTemplateRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool)` GetDeviceTypeOk returns a tuple with the DeviceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDeviceType -`func (o *PatchedInventoryItemTemplateRequest) SetDeviceType(v DeviceTypeRequest)` +`func (o *PatchedInventoryItemTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest)` SetDeviceType sets DeviceType field to given value. @@ -146,20 +146,20 @@ HasLabel returns a boolean if a field has been set. ### GetRole -`func (o *PatchedInventoryItemTemplateRequest) GetRole() InventoryItemRoleRequest` +`func (o *PatchedInventoryItemTemplateRequest) GetRole() BriefInventoryItemRoleRequest` GetRole returns the Role field if non-nil, zero value otherwise. ### GetRoleOk -`func (o *PatchedInventoryItemTemplateRequest) GetRoleOk() (*InventoryItemRoleRequest, bool)` +`func (o *PatchedInventoryItemTemplateRequest) GetRoleOk() (*BriefInventoryItemRoleRequest, 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 *PatchedInventoryItemTemplateRequest) SetRole(v InventoryItemRoleRequest)` +`func (o *PatchedInventoryItemTemplateRequest) SetRole(v BriefInventoryItemRoleRequest)` SetRole sets Role field to given value. @@ -181,20 +181,20 @@ HasRole returns a boolean if a field has been set. UnsetRole ensures that no value is present for Role, not even an explicit nil ### GetManufacturer -`func (o *PatchedInventoryItemTemplateRequest) GetManufacturer() ManufacturerRequest` +`func (o *PatchedInventoryItemTemplateRequest) GetManufacturer() BriefManufacturerRequest` GetManufacturer returns the Manufacturer field if non-nil, zero value otherwise. ### GetManufacturerOk -`func (o *PatchedInventoryItemTemplateRequest) GetManufacturerOk() (*ManufacturerRequest, bool)` +`func (o *PatchedInventoryItemTemplateRequest) GetManufacturerOk() (*BriefManufacturerRequest, bool)` GetManufacturerOk returns a tuple with the Manufacturer field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetManufacturer -`func (o *PatchedInventoryItemTemplateRequest) SetManufacturer(v ManufacturerRequest)` +`func (o *PatchedInventoryItemTemplateRequest) SetManufacturer(v BriefManufacturerRequest)` SetManufacturer sets Manufacturer field to given value. diff --git a/docs/PatchedL2VPNTerminationRequest.md b/docs/PatchedL2VPNTerminationRequest.md index 52faa0e93..4027c8f8f 100644 --- a/docs/PatchedL2VPNTerminationRequest.md +++ b/docs/PatchedL2VPNTerminationRequest.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**L2vpn** | Pointer to [**L2VPNRequest**](L2VPNRequest.md) | | [optional] +**L2vpn** | Pointer to [**BriefL2VPNRequest**](BriefL2VPNRequest.md) | | [optional] **AssignedObjectType** | Pointer to **string** | | [optional] **AssignedObjectId** | Pointer to **int64** | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] @@ -31,20 +31,20 @@ but it doesn't guarantee that properties required by API are set ### GetL2vpn -`func (o *PatchedL2VPNTerminationRequest) GetL2vpn() L2VPNRequest` +`func (o *PatchedL2VPNTerminationRequest) GetL2vpn() BriefL2VPNRequest` GetL2vpn returns the L2vpn field if non-nil, zero value otherwise. ### GetL2vpnOk -`func (o *PatchedL2VPNTerminationRequest) GetL2vpnOk() (*L2VPNRequest, bool)` +`func (o *PatchedL2VPNTerminationRequest) GetL2vpnOk() (*BriefL2VPNRequest, bool)` GetL2vpnOk returns a tuple with the L2vpn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetL2vpn -`func (o *PatchedL2VPNTerminationRequest) SetL2vpn(v L2VPNRequest)` +`func (o *PatchedL2VPNTerminationRequest) SetL2vpn(v BriefL2VPNRequest)` SetL2vpn sets L2vpn field to given value. diff --git a/docs/PatchedModuleBayRequest.md b/docs/PatchedModuleBayRequest.md index 57abae4fc..9a04dd1db 100644 --- a/docs/PatchedModuleBayRequest.md +++ b/docs/PatchedModuleBayRequest.md @@ -4,9 +4,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Device** | Pointer to [**DeviceRequest**](DeviceRequest.md) | | [optional] +**Device** | Pointer to [**BriefDeviceRequest**](BriefDeviceRequest.md) | | [optional] +**Module** | Pointer to [**NullableBriefModuleRequest**](BriefModuleRequest.md) | | [optional] **Name** | Pointer to **string** | | [optional] -**InstalledModule** | Pointer to [**NullableModuleRequest**](ModuleRequest.md) | | [optional] +**InstalledModule** | Pointer to [**NullableBriefModuleRequest**](BriefModuleRequest.md) | | [optional] **Label** | Pointer to **string** | Physical label | [optional] **Position** | Pointer to **string** | Identifier to reference when renaming installed components | [optional] **Description** | Pointer to **string** | | [optional] @@ -34,20 +35,20 @@ but it doesn't guarantee that properties required by API are set ### GetDevice -`func (o *PatchedModuleBayRequest) GetDevice() DeviceRequest` +`func (o *PatchedModuleBayRequest) GetDevice() BriefDeviceRequest` GetDevice returns the Device field if non-nil, zero value otherwise. ### GetDeviceOk -`func (o *PatchedModuleBayRequest) GetDeviceOk() (*DeviceRequest, bool)` +`func (o *PatchedModuleBayRequest) GetDeviceOk() (*BriefDeviceRequest, 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 *PatchedModuleBayRequest) SetDevice(v DeviceRequest)` +`func (o *PatchedModuleBayRequest) SetDevice(v BriefDeviceRequest)` SetDevice sets Device field to given value. @@ -57,6 +58,41 @@ SetDevice sets Device field to given value. HasDevice returns a boolean if a field has been set. +### GetModule + +`func (o *PatchedModuleBayRequest) GetModule() BriefModuleRequest` + +GetModule returns the Module field if non-nil, zero value otherwise. + +### GetModuleOk + +`func (o *PatchedModuleBayRequest) GetModuleOk() (*BriefModuleRequest, bool)` + +GetModuleOk returns a tuple with the Module field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetModule + +`func (o *PatchedModuleBayRequest) SetModule(v BriefModuleRequest)` + +SetModule sets Module field to given value. + +### HasModule + +`func (o *PatchedModuleBayRequest) HasModule() bool` + +HasModule returns a boolean if a field has been set. + +### SetModuleNil + +`func (o *PatchedModuleBayRequest) SetModuleNil(b bool)` + + SetModuleNil sets the value for Module to be an explicit nil + +### UnsetModule +`func (o *PatchedModuleBayRequest) UnsetModule()` + +UnsetModule ensures that no value is present for Module, not even an explicit nil ### GetName `func (o *PatchedModuleBayRequest) GetName() string` @@ -84,20 +120,20 @@ HasName returns a boolean if a field has been set. ### GetInstalledModule -`func (o *PatchedModuleBayRequest) GetInstalledModule() ModuleRequest` +`func (o *PatchedModuleBayRequest) GetInstalledModule() BriefModuleRequest` GetInstalledModule returns the InstalledModule field if non-nil, zero value otherwise. ### GetInstalledModuleOk -`func (o *PatchedModuleBayRequest) GetInstalledModuleOk() (*ModuleRequest, bool)` +`func (o *PatchedModuleBayRequest) GetInstalledModuleOk() (*BriefModuleRequest, bool)` GetInstalledModuleOk returns a tuple with the InstalledModule field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetInstalledModule -`func (o *PatchedModuleBayRequest) SetInstalledModule(v ModuleRequest)` +`func (o *PatchedModuleBayRequest) SetInstalledModule(v BriefModuleRequest)` SetInstalledModule sets InstalledModule field to given value. diff --git a/docs/PatchedModuleBayTemplateRequest.md b/docs/PatchedModuleBayTemplateRequest.md index afa822d29..faa58b18a 100644 --- a/docs/PatchedModuleBayTemplateRequest.md +++ b/docs/PatchedModuleBayTemplateRequest.md @@ -4,7 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**DeviceType** | Pointer to [**DeviceTypeRequest**](DeviceTypeRequest.md) | | [optional] +**DeviceType** | Pointer to [**NullableBriefDeviceTypeRequest**](BriefDeviceTypeRequest.md) | | [optional] +**ModuleType** | Pointer to [**NullableBriefModuleTypeRequest**](BriefModuleTypeRequest.md) | | [optional] **Name** | Pointer to **string** | {module} is accepted as a substitution for the module bay position when attached to a module type. | [optional] **Label** | Pointer to **string** | Physical label | [optional] **Position** | Pointer to **string** | Identifier to reference when renaming installed components | [optional] @@ -31,20 +32,20 @@ but it doesn't guarantee that properties required by API are set ### GetDeviceType -`func (o *PatchedModuleBayTemplateRequest) GetDeviceType() DeviceTypeRequest` +`func (o *PatchedModuleBayTemplateRequest) GetDeviceType() BriefDeviceTypeRequest` GetDeviceType returns the DeviceType field if non-nil, zero value otherwise. ### GetDeviceTypeOk -`func (o *PatchedModuleBayTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool)` +`func (o *PatchedModuleBayTemplateRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool)` GetDeviceTypeOk returns a tuple with the DeviceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDeviceType -`func (o *PatchedModuleBayTemplateRequest) SetDeviceType(v DeviceTypeRequest)` +`func (o *PatchedModuleBayTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest)` SetDeviceType sets DeviceType field to given value. @@ -54,6 +55,51 @@ SetDeviceType sets DeviceType field to given value. HasDeviceType returns a boolean if a field has been set. +### SetDeviceTypeNil + +`func (o *PatchedModuleBayTemplateRequest) SetDeviceTypeNil(b bool)` + + SetDeviceTypeNil sets the value for DeviceType to be an explicit nil + +### UnsetDeviceType +`func (o *PatchedModuleBayTemplateRequest) UnsetDeviceType()` + +UnsetDeviceType ensures that no value is present for DeviceType, not even an explicit nil +### GetModuleType + +`func (o *PatchedModuleBayTemplateRequest) GetModuleType() BriefModuleTypeRequest` + +GetModuleType returns the ModuleType field if non-nil, zero value otherwise. + +### GetModuleTypeOk + +`func (o *PatchedModuleBayTemplateRequest) GetModuleTypeOk() (*BriefModuleTypeRequest, bool)` + +GetModuleTypeOk returns a tuple with the ModuleType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetModuleType + +`func (o *PatchedModuleBayTemplateRequest) SetModuleType(v BriefModuleTypeRequest)` + +SetModuleType sets ModuleType field to given value. + +### HasModuleType + +`func (o *PatchedModuleBayTemplateRequest) HasModuleType() bool` + +HasModuleType returns a boolean if a field has been set. + +### SetModuleTypeNil + +`func (o *PatchedModuleBayTemplateRequest) SetModuleTypeNil(b bool)` + + SetModuleTypeNil sets the value for ModuleType to be an explicit nil + +### UnsetModuleType +`func (o *PatchedModuleBayTemplateRequest) UnsetModuleType()` + +UnsetModuleType ensures that no value is present for ModuleType, not even an explicit nil ### GetName `func (o *PatchedModuleBayTemplateRequest) GetName() string` diff --git a/docs/PatchedNotificationGroupRequest.md b/docs/PatchedNotificationGroupRequest.md new file mode 100644 index 000000000..03c1aaab9 --- /dev/null +++ b/docs/PatchedNotificationGroupRequest.md @@ -0,0 +1,134 @@ +# PatchedNotificationGroupRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | Pointer to **string** | | [optional] +**Description** | Pointer to **string** | | [optional] +**Groups** | Pointer to **[]int32** | | [optional] +**Users** | Pointer to **[]int32** | | [optional] + +## Methods + +### NewPatchedNotificationGroupRequest + +`func NewPatchedNotificationGroupRequest() *PatchedNotificationGroupRequest` + +NewPatchedNotificationGroupRequest instantiates a new PatchedNotificationGroupRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPatchedNotificationGroupRequestWithDefaults + +`func NewPatchedNotificationGroupRequestWithDefaults() *PatchedNotificationGroupRequest` + +NewPatchedNotificationGroupRequestWithDefaults instantiates a new PatchedNotificationGroupRequest object +This 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 *PatchedNotificationGroupRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *PatchedNotificationGroupRequest) 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 *PatchedNotificationGroupRequest) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *PatchedNotificationGroupRequest) HasName() bool` + +HasName returns a boolean if a field has been set. + +### GetDescription + +`func (o *PatchedNotificationGroupRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *PatchedNotificationGroupRequest) 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 *PatchedNotificationGroupRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *PatchedNotificationGroupRequest) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetGroups + +`func (o *PatchedNotificationGroupRequest) GetGroups() []int32` + +GetGroups returns the Groups field if non-nil, zero value otherwise. + +### GetGroupsOk + +`func (o *PatchedNotificationGroupRequest) GetGroupsOk() (*[]int32, bool)` + +GetGroupsOk returns a tuple with the Groups field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGroups + +`func (o *PatchedNotificationGroupRequest) SetGroups(v []int32)` + +SetGroups sets Groups field to given value. + +### HasGroups + +`func (o *PatchedNotificationGroupRequest) HasGroups() bool` + +HasGroups returns a boolean if a field has been set. + +### GetUsers + +`func (o *PatchedNotificationGroupRequest) GetUsers() []int32` + +GetUsers returns the Users field if non-nil, zero value otherwise. + +### GetUsersOk + +`func (o *PatchedNotificationGroupRequest) GetUsersOk() (*[]int32, bool)` + +GetUsersOk returns a tuple with the Users field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUsers + +`func (o *PatchedNotificationGroupRequest) SetUsers(v []int32)` + +SetUsers sets Users field to given value. + +### HasUsers + +`func (o *PatchedNotificationGroupRequest) HasUsers() bool` + +HasUsers 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/PatchedNotificationRequest.md b/docs/PatchedNotificationRequest.md new file mode 100644 index 000000000..7c30c9ee5 --- /dev/null +++ b/docs/PatchedNotificationRequest.md @@ -0,0 +1,170 @@ +# PatchedNotificationRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ObjectType** | Pointer to **string** | | [optional] +**ObjectId** | Pointer to **int64** | | [optional] +**User** | Pointer to [**BriefUserRequest**](BriefUserRequest.md) | | [optional] +**Read** | Pointer to **NullableTime** | | [optional] +**EventType** | Pointer to [**Event**](Event.md) | | [optional] + +## Methods + +### NewPatchedNotificationRequest + +`func NewPatchedNotificationRequest() *PatchedNotificationRequest` + +NewPatchedNotificationRequest instantiates a new PatchedNotificationRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPatchedNotificationRequestWithDefaults + +`func NewPatchedNotificationRequestWithDefaults() *PatchedNotificationRequest` + +NewPatchedNotificationRequestWithDefaults instantiates a new PatchedNotificationRequest object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetObjectType + +`func (o *PatchedNotificationRequest) GetObjectType() string` + +GetObjectType returns the ObjectType field if non-nil, zero value otherwise. + +### GetObjectTypeOk + +`func (o *PatchedNotificationRequest) 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 *PatchedNotificationRequest) SetObjectType(v string)` + +SetObjectType sets ObjectType field to given value. + +### HasObjectType + +`func (o *PatchedNotificationRequest) HasObjectType() bool` + +HasObjectType returns a boolean if a field has been set. + +### GetObjectId + +`func (o *PatchedNotificationRequest) GetObjectId() int64` + +GetObjectId returns the ObjectId field if non-nil, zero value otherwise. + +### GetObjectIdOk + +`func (o *PatchedNotificationRequest) GetObjectIdOk() (*int64, bool)` + +GetObjectIdOk returns a tuple with the ObjectId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetObjectId + +`func (o *PatchedNotificationRequest) SetObjectId(v int64)` + +SetObjectId sets ObjectId field to given value. + +### HasObjectId + +`func (o *PatchedNotificationRequest) HasObjectId() bool` + +HasObjectId returns a boolean if a field has been set. + +### GetUser + +`func (o *PatchedNotificationRequest) GetUser() BriefUserRequest` + +GetUser returns the User field if non-nil, zero value otherwise. + +### GetUserOk + +`func (o *PatchedNotificationRequest) GetUserOk() (*BriefUserRequest, bool)` + +GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUser + +`func (o *PatchedNotificationRequest) SetUser(v BriefUserRequest)` + +SetUser sets User field to given value. + +### HasUser + +`func (o *PatchedNotificationRequest) HasUser() bool` + +HasUser returns a boolean if a field has been set. + +### GetRead + +`func (o *PatchedNotificationRequest) GetRead() time.Time` + +GetRead returns the Read field if non-nil, zero value otherwise. + +### GetReadOk + +`func (o *PatchedNotificationRequest) GetReadOk() (*time.Time, bool)` + +GetReadOk returns a tuple with the Read field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRead + +`func (o *PatchedNotificationRequest) SetRead(v time.Time)` + +SetRead sets Read field to given value. + +### HasRead + +`func (o *PatchedNotificationRequest) HasRead() bool` + +HasRead returns a boolean if a field has been set. + +### SetReadNil + +`func (o *PatchedNotificationRequest) SetReadNil(b bool)` + + SetReadNil sets the value for Read to be an explicit nil + +### UnsetRead +`func (o *PatchedNotificationRequest) UnsetRead()` + +UnsetRead ensures that no value is present for Read, not even an explicit nil +### GetEventType + +`func (o *PatchedNotificationRequest) GetEventType() Event` + +GetEventType returns the EventType field if non-nil, zero value otherwise. + +### GetEventTypeOk + +`func (o *PatchedNotificationRequest) GetEventTypeOk() (*Event, bool)` + +GetEventTypeOk returns a tuple with the EventType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEventType + +`func (o *PatchedNotificationRequest) SetEventType(v Event)` + +SetEventType sets EventType field to given value. + +### HasEventType + +`func (o *PatchedNotificationRequest) HasEventType() bool` + +HasEventType 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/PatchedPlatformRequest.md b/docs/PatchedPlatformRequest.md index 8c681c658..a45b87ba4 100644 --- a/docs/PatchedPlatformRequest.md +++ b/docs/PatchedPlatformRequest.md @@ -6,8 +6,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | Pointer to **string** | | [optional] **Slug** | Pointer to **string** | | [optional] -**Manufacturer** | Pointer to [**NullableManufacturerRequest**](ManufacturerRequest.md) | | [optional] -**ConfigTemplate** | Pointer to [**NullableConfigTemplateRequest**](ConfigTemplateRequest.md) | | [optional] +**Manufacturer** | Pointer to [**NullableBriefManufacturerRequest**](BriefManufacturerRequest.md) | | [optional] +**ConfigTemplate** | Pointer to [**NullableBriefConfigTemplateRequest**](BriefConfigTemplateRequest.md) | | [optional] **Description** | Pointer to **string** | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] @@ -83,20 +83,20 @@ HasSlug returns a boolean if a field has been set. ### GetManufacturer -`func (o *PatchedPlatformRequest) GetManufacturer() ManufacturerRequest` +`func (o *PatchedPlatformRequest) GetManufacturer() BriefManufacturerRequest` GetManufacturer returns the Manufacturer field if non-nil, zero value otherwise. ### GetManufacturerOk -`func (o *PatchedPlatformRequest) GetManufacturerOk() (*ManufacturerRequest, bool)` +`func (o *PatchedPlatformRequest) GetManufacturerOk() (*BriefManufacturerRequest, bool)` GetManufacturerOk returns a tuple with the Manufacturer field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetManufacturer -`func (o *PatchedPlatformRequest) SetManufacturer(v ManufacturerRequest)` +`func (o *PatchedPlatformRequest) SetManufacturer(v BriefManufacturerRequest)` SetManufacturer sets Manufacturer field to given value. @@ -118,20 +118,20 @@ HasManufacturer returns a boolean if a field has been set. UnsetManufacturer ensures that no value is present for Manufacturer, not even an explicit nil ### GetConfigTemplate -`func (o *PatchedPlatformRequest) GetConfigTemplate() ConfigTemplateRequest` +`func (o *PatchedPlatformRequest) GetConfigTemplate() BriefConfigTemplateRequest` GetConfigTemplate returns the ConfigTemplate field if non-nil, zero value otherwise. ### GetConfigTemplateOk -`func (o *PatchedPlatformRequest) GetConfigTemplateOk() (*ConfigTemplateRequest, bool)` +`func (o *PatchedPlatformRequest) GetConfigTemplateOk() (*BriefConfigTemplateRequest, bool)` GetConfigTemplateOk returns a tuple with the ConfigTemplate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetConfigTemplate -`func (o *PatchedPlatformRequest) SetConfigTemplate(v ConfigTemplateRequest)` +`func (o *PatchedPlatformRequest) SetConfigTemplate(v BriefConfigTemplateRequest)` SetConfigTemplate sets ConfigTemplate field to given value. diff --git a/docs/PatchedPowerPanelRequest.md b/docs/PatchedPowerPanelRequest.md index 1f2bda37d..832203743 100644 --- a/docs/PatchedPowerPanelRequest.md +++ b/docs/PatchedPowerPanelRequest.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Site** | Pointer to [**SiteRequest**](SiteRequest.md) | | [optional] -**Location** | Pointer to [**NullableLocationRequest**](LocationRequest.md) | | [optional] +**Site** | Pointer to [**BriefSiteRequest**](BriefSiteRequest.md) | | [optional] +**Location** | Pointer to [**NullableBriefLocationRequest**](BriefLocationRequest.md) | | [optional] **Name** | Pointer to **string** | | [optional] **Description** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] @@ -33,20 +33,20 @@ but it doesn't guarantee that properties required by API are set ### GetSite -`func (o *PatchedPowerPanelRequest) GetSite() SiteRequest` +`func (o *PatchedPowerPanelRequest) GetSite() BriefSiteRequest` GetSite returns the Site field if non-nil, zero value otherwise. ### GetSiteOk -`func (o *PatchedPowerPanelRequest) GetSiteOk() (*SiteRequest, bool)` +`func (o *PatchedPowerPanelRequest) GetSiteOk() (*BriefSiteRequest, bool)` GetSiteOk returns a tuple with the Site field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSite -`func (o *PatchedPowerPanelRequest) SetSite(v SiteRequest)` +`func (o *PatchedPowerPanelRequest) SetSite(v BriefSiteRequest)` SetSite sets Site field to given value. @@ -58,20 +58,20 @@ HasSite returns a boolean if a field has been set. ### GetLocation -`func (o *PatchedPowerPanelRequest) GetLocation() LocationRequest` +`func (o *PatchedPowerPanelRequest) GetLocation() BriefLocationRequest` GetLocation returns the Location field if non-nil, zero value otherwise. ### GetLocationOk -`func (o *PatchedPowerPanelRequest) GetLocationOk() (*LocationRequest, bool)` +`func (o *PatchedPowerPanelRequest) GetLocationOk() (*BriefLocationRequest, 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 LocationRequest)` +`func (o *PatchedPowerPanelRequest) SetLocation(v BriefLocationRequest)` SetLocation sets Location field to given value. diff --git a/docs/PatchedProviderAccountRequest.md b/docs/PatchedProviderAccountRequest.md index e4f8fd72e..8dcbb884e 100644 --- a/docs/PatchedProviderAccountRequest.md +++ b/docs/PatchedProviderAccountRequest.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Provider** | Pointer to [**ProviderRequest**](ProviderRequest.md) | | [optional] +**Provider** | Pointer to [**BriefProviderRequest**](BriefProviderRequest.md) | | [optional] **Name** | Pointer to **string** | | [optional] [default to ""] **Account** | Pointer to **string** | | [optional] **Description** | Pointer to **string** | | [optional] @@ -33,20 +33,20 @@ but it doesn't guarantee that properties required by API are set ### GetProvider -`func (o *PatchedProviderAccountRequest) GetProvider() ProviderRequest` +`func (o *PatchedProviderAccountRequest) GetProvider() BriefProviderRequest` GetProvider returns the Provider field if non-nil, zero value otherwise. ### GetProviderOk -`func (o *PatchedProviderAccountRequest) GetProviderOk() (*ProviderRequest, bool)` +`func (o *PatchedProviderAccountRequest) GetProviderOk() (*BriefProviderRequest, bool)` GetProviderOk returns a tuple with the Provider field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetProvider -`func (o *PatchedProviderAccountRequest) SetProvider(v ProviderRequest)` +`func (o *PatchedProviderAccountRequest) SetProvider(v BriefProviderRequest)` SetProvider sets Provider field to given value. diff --git a/docs/PatchedProviderNetworkRequest.md b/docs/PatchedProviderNetworkRequest.md index 71345eb12..9bc9624e3 100644 --- a/docs/PatchedProviderNetworkRequest.md +++ b/docs/PatchedProviderNetworkRequest.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Provider** | Pointer to [**ProviderRequest**](ProviderRequest.md) | | [optional] +**Provider** | Pointer to [**BriefProviderRequest**](BriefProviderRequest.md) | | [optional] **Name** | Pointer to **string** | | [optional] **ServiceId** | Pointer to **string** | | [optional] **Description** | Pointer to **string** | | [optional] @@ -33,20 +33,20 @@ but it doesn't guarantee that properties required by API are set ### GetProvider -`func (o *PatchedProviderNetworkRequest) GetProvider() ProviderRequest` +`func (o *PatchedProviderNetworkRequest) GetProvider() BriefProviderRequest` GetProvider returns the Provider field if non-nil, zero value otherwise. ### GetProviderOk -`func (o *PatchedProviderNetworkRequest) GetProviderOk() (*ProviderRequest, bool)` +`func (o *PatchedProviderNetworkRequest) GetProviderOk() (*BriefProviderRequest, bool)` GetProviderOk returns a tuple with the Provider field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetProvider -`func (o *PatchedProviderNetworkRequest) SetProvider(v ProviderRequest)` +`func (o *PatchedProviderNetworkRequest) SetProvider(v BriefProviderRequest)` SetProvider sets Provider field to given value. diff --git a/docs/PatchedRackReservationRequest.md b/docs/PatchedRackReservationRequest.md index 5347665db..0b0b9d334 100644 --- a/docs/PatchedRackReservationRequest.md +++ b/docs/PatchedRackReservationRequest.md @@ -4,10 +4,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Rack** | Pointer to [**RackRequest**](RackRequest.md) | | [optional] +**Rack** | Pointer to [**BriefRackRequest**](BriefRackRequest.md) | | [optional] **Units** | Pointer to **[]int32** | | [optional] -**User** | Pointer to [**UserRequest**](UserRequest.md) | | [optional] -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] +**User** | Pointer to [**BriefUserRequest**](BriefUserRequest.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] **Description** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] @@ -34,20 +34,20 @@ but it doesn't guarantee that properties required by API are set ### GetRack -`func (o *PatchedRackReservationRequest) GetRack() RackRequest` +`func (o *PatchedRackReservationRequest) GetRack() BriefRackRequest` GetRack returns the Rack field if non-nil, zero value otherwise. ### GetRackOk -`func (o *PatchedRackReservationRequest) GetRackOk() (*RackRequest, bool)` +`func (o *PatchedRackReservationRequest) GetRackOk() (*BriefRackRequest, bool)` GetRackOk returns a tuple with the Rack field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRack -`func (o *PatchedRackReservationRequest) SetRack(v RackRequest)` +`func (o *PatchedRackReservationRequest) SetRack(v BriefRackRequest)` SetRack sets Rack field to given value. @@ -84,20 +84,20 @@ HasUnits returns a boolean if a field has been set. ### GetUser -`func (o *PatchedRackReservationRequest) GetUser() UserRequest` +`func (o *PatchedRackReservationRequest) GetUser() BriefUserRequest` GetUser returns the User field if non-nil, zero value otherwise. ### GetUserOk -`func (o *PatchedRackReservationRequest) GetUserOk() (*UserRequest, bool)` +`func (o *PatchedRackReservationRequest) GetUserOk() (*BriefUserRequest, bool)` GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUser -`func (o *PatchedRackReservationRequest) SetUser(v UserRequest)` +`func (o *PatchedRackReservationRequest) SetUser(v BriefUserRequest)` SetUser sets User field to given value. @@ -109,20 +109,20 @@ HasUser returns a boolean if a field has been set. ### GetTenant -`func (o *PatchedRackReservationRequest) GetTenant() TenantRequest` +`func (o *PatchedRackReservationRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *PatchedRackReservationRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *PatchedRackReservationRequest) GetTenantOk() (*BriefTenantRequest, 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 *PatchedRackReservationRequest) SetTenant(v TenantRequest)` +`func (o *PatchedRackReservationRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. diff --git a/docs/PatchedRouteTargetRequest.md b/docs/PatchedRouteTargetRequest.md index a08f52e55..95629a647 100644 --- a/docs/PatchedRouteTargetRequest.md +++ b/docs/PatchedRouteTargetRequest.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | Pointer to **string** | Route target value (formatted in accordance with RFC 4360) | [optional] -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] **Description** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] @@ -57,20 +57,20 @@ HasName returns a boolean if a field has been set. ### GetTenant -`func (o *PatchedRouteTargetRequest) GetTenant() TenantRequest` +`func (o *PatchedRouteTargetRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *PatchedRouteTargetRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *PatchedRouteTargetRequest) GetTenantOk() (*BriefTenantRequest, 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 *PatchedRouteTargetRequest) SetTenant(v TenantRequest)` +`func (o *PatchedRouteTargetRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. diff --git a/docs/PatchedScriptInputRequest.md b/docs/PatchedScriptInputRequest.md new file mode 100644 index 000000000..babb8fad7 --- /dev/null +++ b/docs/PatchedScriptInputRequest.md @@ -0,0 +1,164 @@ +# PatchedScriptInputRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Data** | Pointer to **interface{}** | | [optional] +**Commit** | Pointer to **bool** | | [optional] +**ScheduleAt** | Pointer to **NullableTime** | | [optional] +**Interval** | Pointer to **NullableInt32** | | [optional] + +## Methods + +### NewPatchedScriptInputRequest + +`func NewPatchedScriptInputRequest() *PatchedScriptInputRequest` + +NewPatchedScriptInputRequest instantiates a new PatchedScriptInputRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPatchedScriptInputRequestWithDefaults + +`func NewPatchedScriptInputRequestWithDefaults() *PatchedScriptInputRequest` + +NewPatchedScriptInputRequestWithDefaults instantiates a new PatchedScriptInputRequest object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetData + +`func (o *PatchedScriptInputRequest) GetData() interface{}` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *PatchedScriptInputRequest) GetDataOk() (*interface{}, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetData + +`func (o *PatchedScriptInputRequest) SetData(v interface{})` + +SetData sets Data field to given value. + +### HasData + +`func (o *PatchedScriptInputRequest) HasData() bool` + +HasData returns a boolean if a field has been set. + +### SetDataNil + +`func (o *PatchedScriptInputRequest) SetDataNil(b bool)` + + SetDataNil sets the value for Data to be an explicit nil + +### UnsetData +`func (o *PatchedScriptInputRequest) UnsetData()` + +UnsetData ensures that no value is present for Data, not even an explicit nil +### GetCommit + +`func (o *PatchedScriptInputRequest) GetCommit() bool` + +GetCommit returns the Commit field if non-nil, zero value otherwise. + +### GetCommitOk + +`func (o *PatchedScriptInputRequest) GetCommitOk() (*bool, bool)` + +GetCommitOk returns a tuple with the Commit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCommit + +`func (o *PatchedScriptInputRequest) SetCommit(v bool)` + +SetCommit sets Commit field to given value. + +### HasCommit + +`func (o *PatchedScriptInputRequest) HasCommit() bool` + +HasCommit returns a boolean if a field has been set. + +### GetScheduleAt + +`func (o *PatchedScriptInputRequest) GetScheduleAt() time.Time` + +GetScheduleAt returns the ScheduleAt field if non-nil, zero value otherwise. + +### GetScheduleAtOk + +`func (o *PatchedScriptInputRequest) GetScheduleAtOk() (*time.Time, bool)` + +GetScheduleAtOk returns a tuple with the ScheduleAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetScheduleAt + +`func (o *PatchedScriptInputRequest) SetScheduleAt(v time.Time)` + +SetScheduleAt sets ScheduleAt field to given value. + +### HasScheduleAt + +`func (o *PatchedScriptInputRequest) HasScheduleAt() bool` + +HasScheduleAt returns a boolean if a field has been set. + +### SetScheduleAtNil + +`func (o *PatchedScriptInputRequest) SetScheduleAtNil(b bool)` + + SetScheduleAtNil sets the value for ScheduleAt to be an explicit nil + +### UnsetScheduleAt +`func (o *PatchedScriptInputRequest) UnsetScheduleAt()` + +UnsetScheduleAt ensures that no value is present for ScheduleAt, not even an explicit nil +### GetInterval + +`func (o *PatchedScriptInputRequest) GetInterval() int32` + +GetInterval returns the Interval field if non-nil, zero value otherwise. + +### GetIntervalOk + +`func (o *PatchedScriptInputRequest) GetIntervalOk() (*int32, bool)` + +GetIntervalOk returns a tuple with the Interval field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetInterval + +`func (o *PatchedScriptInputRequest) SetInterval(v int32)` + +SetInterval sets Interval field to given value. + +### HasInterval + +`func (o *PatchedScriptInputRequest) HasInterval() bool` + +HasInterval returns a boolean if a field has been set. + +### SetIntervalNil + +`func (o *PatchedScriptInputRequest) SetIntervalNil(b bool)` + + SetIntervalNil sets the value for Interval to be an explicit nil + +### UnsetInterval +`func (o *PatchedScriptInputRequest) UnsetInterval()` + +UnsetInterval ensures that no value is present for Interval, 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/PatchedSubscriptionRequest.md b/docs/PatchedSubscriptionRequest.md new file mode 100644 index 000000000..28601b30f --- /dev/null +++ b/docs/PatchedSubscriptionRequest.md @@ -0,0 +1,108 @@ +# PatchedSubscriptionRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ObjectType** | Pointer to **string** | | [optional] +**ObjectId** | Pointer to **int64** | | [optional] +**User** | Pointer to [**BriefUserRequest**](BriefUserRequest.md) | | [optional] + +## Methods + +### NewPatchedSubscriptionRequest + +`func NewPatchedSubscriptionRequest() *PatchedSubscriptionRequest` + +NewPatchedSubscriptionRequest instantiates a new PatchedSubscriptionRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPatchedSubscriptionRequestWithDefaults + +`func NewPatchedSubscriptionRequestWithDefaults() *PatchedSubscriptionRequest` + +NewPatchedSubscriptionRequestWithDefaults instantiates a new PatchedSubscriptionRequest object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetObjectType + +`func (o *PatchedSubscriptionRequest) GetObjectType() string` + +GetObjectType returns the ObjectType field if non-nil, zero value otherwise. + +### GetObjectTypeOk + +`func (o *PatchedSubscriptionRequest) 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 *PatchedSubscriptionRequest) SetObjectType(v string)` + +SetObjectType sets ObjectType field to given value. + +### HasObjectType + +`func (o *PatchedSubscriptionRequest) HasObjectType() bool` + +HasObjectType returns a boolean if a field has been set. + +### GetObjectId + +`func (o *PatchedSubscriptionRequest) GetObjectId() int64` + +GetObjectId returns the ObjectId field if non-nil, zero value otherwise. + +### GetObjectIdOk + +`func (o *PatchedSubscriptionRequest) GetObjectIdOk() (*int64, bool)` + +GetObjectIdOk returns a tuple with the ObjectId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetObjectId + +`func (o *PatchedSubscriptionRequest) SetObjectId(v int64)` + +SetObjectId sets ObjectId field to given value. + +### HasObjectId + +`func (o *PatchedSubscriptionRequest) HasObjectId() bool` + +HasObjectId returns a boolean if a field has been set. + +### GetUser + +`func (o *PatchedSubscriptionRequest) GetUser() BriefUserRequest` + +GetUser returns the User field if non-nil, zero value otherwise. + +### GetUserOk + +`func (o *PatchedSubscriptionRequest) GetUserOk() (*BriefUserRequest, bool)` + +GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUser + +`func (o *PatchedSubscriptionRequest) SetUser(v BriefUserRequest)` + +SetUser sets User field to given value. + +### HasUser + +`func (o *PatchedSubscriptionRequest) HasUser() bool` + +HasUser 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/PatchedTenantRequest.md b/docs/PatchedTenantRequest.md index 660e88810..a4b3b23b0 100644 --- a/docs/PatchedTenantRequest.md +++ b/docs/PatchedTenantRequest.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | Pointer to **string** | | [optional] **Slug** | Pointer to **string** | | [optional] -**Group** | Pointer to [**NullableTenantGroupRequest**](TenantGroupRequest.md) | | [optional] +**Group** | Pointer to [**NullableBriefTenantGroupRequest**](BriefTenantGroupRequest.md) | | [optional] **Description** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] @@ -83,20 +83,20 @@ HasSlug returns a boolean if a field has been set. ### GetGroup -`func (o *PatchedTenantRequest) GetGroup() TenantGroupRequest` +`func (o *PatchedTenantRequest) GetGroup() BriefTenantGroupRequest` GetGroup returns the Group field if non-nil, zero value otherwise. ### GetGroupOk -`func (o *PatchedTenantRequest) GetGroupOk() (*TenantGroupRequest, bool)` +`func (o *PatchedTenantRequest) GetGroupOk() (*BriefTenantGroupRequest, bool)` GetGroupOk returns a tuple with the Group field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetGroup -`func (o *PatchedTenantRequest) SetGroup(v TenantGroupRequest)` +`func (o *PatchedTenantRequest) SetGroup(v BriefTenantGroupRequest)` SetGroup sets Group field to given value. diff --git a/docs/PatchedTokenRequest.md b/docs/PatchedTokenRequest.md index a62dfd87e..8d27c1785 100644 --- a/docs/PatchedTokenRequest.md +++ b/docs/PatchedTokenRequest.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**User** | Pointer to [**UserRequest**](UserRequest.md) | | [optional] +**User** | Pointer to [**BriefUserRequest**](BriefUserRequest.md) | | [optional] **Expires** | Pointer to **NullableTime** | | [optional] **LastUsed** | Pointer to **NullableTime** | | [optional] **Key** | Pointer to **string** | | [optional] @@ -32,20 +32,20 @@ but it doesn't guarantee that properties required by API are set ### GetUser -`func (o *PatchedTokenRequest) GetUser() UserRequest` +`func (o *PatchedTokenRequest) GetUser() BriefUserRequest` GetUser returns the User field if non-nil, zero value otherwise. ### GetUserOk -`func (o *PatchedTokenRequest) GetUserOk() (*UserRequest, bool)` +`func (o *PatchedTokenRequest) GetUserOk() (*BriefUserRequest, bool)` GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUser -`func (o *PatchedTokenRequest) SetUser(v UserRequest)` +`func (o *PatchedTokenRequest) SetUser(v BriefUserRequest)` SetUser sets User field to given value. diff --git a/docs/PatchedVLANGroupRequest.md b/docs/PatchedVLANGroupRequest.md index 9847c46b3..c9b9b4b28 100644 --- a/docs/PatchedVLANGroupRequest.md +++ b/docs/PatchedVLANGroupRequest.md @@ -8,8 +8,6 @@ Name | Type | Description | Notes **Slug** | Pointer to **string** | | [optional] **ScopeType** | Pointer to **NullableString** | | [optional] **ScopeId** | Pointer to **NullableInt32** | | [optional] -**MinVid** | Pointer to **int32** | Lowest permissible ID of a child VLAN | [optional] -**MaxVid** | Pointer to **int32** | Highest permissible ID of a child VLAN | [optional] **Description** | Pointer to **string** | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] @@ -153,56 +151,6 @@ HasScopeId returns a boolean if a field has been set. `func (o *PatchedVLANGroupRequest) UnsetScopeId()` UnsetScopeId ensures that no value is present for ScopeId, not even an explicit nil -### GetMinVid - -`func (o *PatchedVLANGroupRequest) GetMinVid() int32` - -GetMinVid returns the MinVid field if non-nil, zero value otherwise. - -### GetMinVidOk - -`func (o *PatchedVLANGroupRequest) GetMinVidOk() (*int32, bool)` - -GetMinVidOk returns a tuple with the MinVid field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMinVid - -`func (o *PatchedVLANGroupRequest) SetMinVid(v int32)` - -SetMinVid sets MinVid field to given value. - -### HasMinVid - -`func (o *PatchedVLANGroupRequest) HasMinVid() bool` - -HasMinVid returns a boolean if a field has been set. - -### GetMaxVid - -`func (o *PatchedVLANGroupRequest) GetMaxVid() int32` - -GetMaxVid returns the MaxVid field if non-nil, zero value otherwise. - -### GetMaxVidOk - -`func (o *PatchedVLANGroupRequest) GetMaxVidOk() (*int32, bool)` - -GetMaxVidOk returns a tuple with the MaxVid field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxVid - -`func (o *PatchedVLANGroupRequest) SetMaxVid(v int32)` - -SetMaxVid sets MaxVid field to given value. - -### HasMaxVid - -`func (o *PatchedVLANGroupRequest) HasMaxVid() bool` - -HasMaxVid returns a boolean if a field has been set. - ### GetDescription `func (o *PatchedVLANGroupRequest) GetDescription() string` diff --git a/docs/PatchedVRFRequest.md b/docs/PatchedVRFRequest.md index 5c927e21c..5b3fbced6 100644 --- a/docs/PatchedVRFRequest.md +++ b/docs/PatchedVRFRequest.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | Pointer to **string** | | [optional] **Rd** | Pointer to **NullableString** | Unique route distinguisher (as defined in RFC 4364) | [optional] -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] **EnforceUnique** | Pointer to **bool** | Prevent duplicate prefixes/IP addresses within this VRF | [optional] **Description** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] @@ -96,20 +96,20 @@ HasRd returns a boolean if a field has been set. UnsetRd ensures that no value is present for Rd, not even an explicit nil ### GetTenant -`func (o *PatchedVRFRequest) GetTenant() TenantRequest` +`func (o *PatchedVRFRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *PatchedVRFRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *PatchedVRFRequest) GetTenantOk() (*BriefTenantRequest, 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 *PatchedVRFRequest) SetTenant(v TenantRequest)` +`func (o *PatchedVRFRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. diff --git a/docs/PatchedVirtualDiskRequest.md b/docs/PatchedVirtualDiskRequest.md index f8b0d3d48..1a7dd3c34 100644 --- a/docs/PatchedVirtualDiskRequest.md +++ b/docs/PatchedVirtualDiskRequest.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**VirtualMachine** | Pointer to [**VirtualMachineRequest**](VirtualMachineRequest.md) | | [optional] +**VirtualMachine** | Pointer to [**BriefVirtualMachineRequest**](BriefVirtualMachineRequest.md) | | [optional] **Name** | Pointer to **string** | | [optional] **Description** | Pointer to **string** | | [optional] **Size** | Pointer to **int32** | | [optional] @@ -32,20 +32,20 @@ but it doesn't guarantee that properties required by API are set ### GetVirtualMachine -`func (o *PatchedVirtualDiskRequest) GetVirtualMachine() VirtualMachineRequest` +`func (o *PatchedVirtualDiskRequest) GetVirtualMachine() BriefVirtualMachineRequest` GetVirtualMachine returns the VirtualMachine field if non-nil, zero value otherwise. ### GetVirtualMachineOk -`func (o *PatchedVirtualDiskRequest) GetVirtualMachineOk() (*VirtualMachineRequest, bool)` +`func (o *PatchedVirtualDiskRequest) GetVirtualMachineOk() (*BriefVirtualMachineRequest, bool)` GetVirtualMachineOk returns a tuple with the VirtualMachine field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVirtualMachine -`func (o *PatchedVirtualDiskRequest) SetVirtualMachine(v VirtualMachineRequest)` +`func (o *PatchedVirtualDiskRequest) SetVirtualMachine(v BriefVirtualMachineRequest)` SetVirtualMachine sets VirtualMachine field to given value. diff --git a/docs/PatchedWritableAggregateRequest.md b/docs/PatchedWritableAggregateRequest.md index 41ef04822..3278caefc 100644 --- a/docs/PatchedWritableAggregateRequest.md +++ b/docs/PatchedWritableAggregateRequest.md @@ -5,8 +5,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Prefix** | Pointer to **string** | | [optional] -**Rir** | Pointer to [**RIRRequest**](RIRRequest.md) | | [optional] -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] +**Rir** | Pointer to [**BriefRIRRequest**](BriefRIRRequest.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] **DateAdded** | Pointer to **NullableString** | | [optional] **Description** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] @@ -59,20 +59,20 @@ HasPrefix returns a boolean if a field has been set. ### GetRir -`func (o *PatchedWritableAggregateRequest) GetRir() RIRRequest` +`func (o *PatchedWritableAggregateRequest) GetRir() BriefRIRRequest` GetRir returns the Rir field if non-nil, zero value otherwise. ### GetRirOk -`func (o *PatchedWritableAggregateRequest) GetRirOk() (*RIRRequest, bool)` +`func (o *PatchedWritableAggregateRequest) GetRirOk() (*BriefRIRRequest, bool)` GetRirOk returns a tuple with the Rir field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRir -`func (o *PatchedWritableAggregateRequest) SetRir(v RIRRequest)` +`func (o *PatchedWritableAggregateRequest) SetRir(v BriefRIRRequest)` SetRir sets Rir field to given value. @@ -84,20 +84,20 @@ HasRir returns a boolean if a field has been set. ### GetTenant -`func (o *PatchedWritableAggregateRequest) GetTenant() TenantRequest` +`func (o *PatchedWritableAggregateRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *PatchedWritableAggregateRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *PatchedWritableAggregateRequest) GetTenantOk() (*BriefTenantRequest, 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 *PatchedWritableAggregateRequest) SetTenant(v TenantRequest)` +`func (o *PatchedWritableAggregateRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. diff --git a/docs/PatchedWritableCableRequest.md b/docs/PatchedWritableCableRequest.md index 431b4945f..f01965e68 100644 --- a/docs/PatchedWritableCableRequest.md +++ b/docs/PatchedWritableCableRequest.md @@ -4,15 +4,15 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Type** | Pointer to [**PatchedWritableCableRequestType**](PatchedWritableCableRequestType.md) | | [optional] +**Type** | Pointer to [**CableType**](CableType.md) | | [optional] **ATerminations** | Pointer to [**[]GenericObjectRequest**](GenericObjectRequest.md) | | [optional] **BTerminations** | Pointer to [**[]GenericObjectRequest**](GenericObjectRequest.md) | | [optional] -**Status** | Pointer to [**PatchedWritableCableRequestStatus**](PatchedWritableCableRequestStatus.md) | | [optional] -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] +**Status** | Pointer to [**CableStatusValue**](CableStatusValue.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] **Label** | Pointer to **string** | | [optional] **Color** | Pointer to **string** | | [optional] **Length** | Pointer to **NullableFloat64** | | [optional] -**LengthUnit** | Pointer to [**PatchedWritableCableRequestLengthUnit**](PatchedWritableCableRequestLengthUnit.md) | | [optional] +**LengthUnit** | Pointer to [**CableLengthUnitValue**](CableLengthUnitValue.md) | | [optional] **Description** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] @@ -39,20 +39,20 @@ but it doesn't guarantee that properties required by API are set ### GetType -`func (o *PatchedWritableCableRequest) GetType() PatchedWritableCableRequestType` +`func (o *PatchedWritableCableRequest) GetType() CableType` GetType returns the Type field if non-nil, zero value otherwise. ### GetTypeOk -`func (o *PatchedWritableCableRequest) GetTypeOk() (*PatchedWritableCableRequestType, bool)` +`func (o *PatchedWritableCableRequest) GetTypeOk() (*CableType, bool)` GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetType -`func (o *PatchedWritableCableRequest) SetType(v PatchedWritableCableRequestType)` +`func (o *PatchedWritableCableRequest) SetType(v CableType)` SetType sets Type field to given value. @@ -114,20 +114,20 @@ HasBTerminations returns a boolean if a field has been set. ### GetStatus -`func (o *PatchedWritableCableRequest) GetStatus() PatchedWritableCableRequestStatus` +`func (o *PatchedWritableCableRequest) GetStatus() CableStatusValue` GetStatus returns the Status field if non-nil, zero value otherwise. ### GetStatusOk -`func (o *PatchedWritableCableRequest) GetStatusOk() (*PatchedWritableCableRequestStatus, bool)` +`func (o *PatchedWritableCableRequest) GetStatusOk() (*CableStatusValue, 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 *PatchedWritableCableRequest) SetStatus(v PatchedWritableCableRequestStatus)` +`func (o *PatchedWritableCableRequest) SetStatus(v CableStatusValue)` SetStatus sets Status field to given value. @@ -139,20 +139,20 @@ HasStatus returns a boolean if a field has been set. ### GetTenant -`func (o *PatchedWritableCableRequest) GetTenant() TenantRequest` +`func (o *PatchedWritableCableRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *PatchedWritableCableRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *PatchedWritableCableRequest) GetTenantOk() (*BriefTenantRequest, 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 *PatchedWritableCableRequest) SetTenant(v TenantRequest)` +`func (o *PatchedWritableCableRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. @@ -259,20 +259,20 @@ HasLength returns a boolean if a field has been set. UnsetLength ensures that no value is present for Length, not even an explicit nil ### GetLengthUnit -`func (o *PatchedWritableCableRequest) GetLengthUnit() PatchedWritableCableRequestLengthUnit` +`func (o *PatchedWritableCableRequest) GetLengthUnit() CableLengthUnitValue` GetLengthUnit returns the LengthUnit field if non-nil, zero value otherwise. ### GetLengthUnitOk -`func (o *PatchedWritableCableRequest) GetLengthUnitOk() (*PatchedWritableCableRequestLengthUnit, bool)` +`func (o *PatchedWritableCableRequest) GetLengthUnitOk() (*CableLengthUnitValue, bool)` GetLengthUnitOk returns a tuple with the LengthUnit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLengthUnit -`func (o *PatchedWritableCableRequest) SetLengthUnit(v PatchedWritableCableRequestLengthUnit)` +`func (o *PatchedWritableCableRequest) SetLengthUnit(v CableLengthUnitValue)` SetLengthUnit sets LengthUnit field to given value. diff --git a/docs/PatchedWritableCircuitGroupAssignmentRequest.md b/docs/PatchedWritableCircuitGroupAssignmentRequest.md new file mode 100644 index 000000000..9068273d5 --- /dev/null +++ b/docs/PatchedWritableCircuitGroupAssignmentRequest.md @@ -0,0 +1,134 @@ +# PatchedWritableCircuitGroupAssignmentRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Group** | Pointer to [**BriefCircuitGroupRequest**](BriefCircuitGroupRequest.md) | | [optional] +**Circuit** | Pointer to [**BriefCircuitRequest**](BriefCircuitRequest.md) | | [optional] +**Priority** | Pointer to [**BriefCircuitGroupAssignmentSerializerPriorityValue**](BriefCircuitGroupAssignmentSerializerPriorityValue.md) | | [optional] +**Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] + +## Methods + +### NewPatchedWritableCircuitGroupAssignmentRequest + +`func NewPatchedWritableCircuitGroupAssignmentRequest() *PatchedWritableCircuitGroupAssignmentRequest` + +NewPatchedWritableCircuitGroupAssignmentRequest instantiates a new PatchedWritableCircuitGroupAssignmentRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPatchedWritableCircuitGroupAssignmentRequestWithDefaults + +`func NewPatchedWritableCircuitGroupAssignmentRequestWithDefaults() *PatchedWritableCircuitGroupAssignmentRequest` + +NewPatchedWritableCircuitGroupAssignmentRequestWithDefaults instantiates a new PatchedWritableCircuitGroupAssignmentRequest object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetGroup + +`func (o *PatchedWritableCircuitGroupAssignmentRequest) GetGroup() BriefCircuitGroupRequest` + +GetGroup returns the Group field if non-nil, zero value otherwise. + +### GetGroupOk + +`func (o *PatchedWritableCircuitGroupAssignmentRequest) GetGroupOk() (*BriefCircuitGroupRequest, bool)` + +GetGroupOk returns a tuple with the Group field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGroup + +`func (o *PatchedWritableCircuitGroupAssignmentRequest) SetGroup(v BriefCircuitGroupRequest)` + +SetGroup sets Group field to given value. + +### HasGroup + +`func (o *PatchedWritableCircuitGroupAssignmentRequest) HasGroup() bool` + +HasGroup returns a boolean if a field has been set. + +### GetCircuit + +`func (o *PatchedWritableCircuitGroupAssignmentRequest) GetCircuit() BriefCircuitRequest` + +GetCircuit returns the Circuit field if non-nil, zero value otherwise. + +### GetCircuitOk + +`func (o *PatchedWritableCircuitGroupAssignmentRequest) GetCircuitOk() (*BriefCircuitRequest, bool)` + +GetCircuitOk returns a tuple with the Circuit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCircuit + +`func (o *PatchedWritableCircuitGroupAssignmentRequest) SetCircuit(v BriefCircuitRequest)` + +SetCircuit sets Circuit field to given value. + +### HasCircuit + +`func (o *PatchedWritableCircuitGroupAssignmentRequest) HasCircuit() bool` + +HasCircuit returns a boolean if a field has been set. + +### GetPriority + +`func (o *PatchedWritableCircuitGroupAssignmentRequest) GetPriority() BriefCircuitGroupAssignmentSerializerPriorityValue` + +GetPriority returns the Priority field if non-nil, zero value otherwise. + +### GetPriorityOk + +`func (o *PatchedWritableCircuitGroupAssignmentRequest) GetPriorityOk() (*BriefCircuitGroupAssignmentSerializerPriorityValue, bool)` + +GetPriorityOk returns a tuple with the Priority field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPriority + +`func (o *PatchedWritableCircuitGroupAssignmentRequest) SetPriority(v BriefCircuitGroupAssignmentSerializerPriorityValue)` + +SetPriority sets Priority field to given value. + +### HasPriority + +`func (o *PatchedWritableCircuitGroupAssignmentRequest) HasPriority() bool` + +HasPriority returns a boolean if a field has been set. + +### GetTags + +`func (o *PatchedWritableCircuitGroupAssignmentRequest) GetTags() []NestedTagRequest` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *PatchedWritableCircuitGroupAssignmentRequest) GetTagsOk() (*[]NestedTagRequest, 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 *PatchedWritableCircuitGroupAssignmentRequest) SetTags(v []NestedTagRequest)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *PatchedWritableCircuitGroupAssignmentRequest) 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/PatchedWritableCircuitRequest.md b/docs/PatchedWritableCircuitRequest.md index 90bca5029..7f012b64f 100644 --- a/docs/PatchedWritableCircuitRequest.md +++ b/docs/PatchedWritableCircuitRequest.md @@ -5,11 +5,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Cid** | Pointer to **string** | Unique circuit ID | [optional] -**Provider** | Pointer to [**ProviderRequest**](ProviderRequest.md) | | [optional] -**ProviderAccount** | Pointer to [**NullableProviderAccountRequest**](ProviderAccountRequest.md) | | [optional] -**Type** | Pointer to [**CircuitTypeRequest**](CircuitTypeRequest.md) | | [optional] -**Status** | Pointer to [**PatchedWritableCircuitRequestStatus**](PatchedWritableCircuitRequestStatus.md) | | [optional] -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] +**Provider** | Pointer to [**BriefProviderRequest**](BriefProviderRequest.md) | | [optional] +**ProviderAccount** | Pointer to [**NullableBriefProviderAccountRequest**](BriefProviderAccountRequest.md) | | [optional] +**Type** | Pointer to [**BriefCircuitTypeRequest**](BriefCircuitTypeRequest.md) | | [optional] +**Status** | Pointer to [**CircuitStatusValue**](CircuitStatusValue.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] **InstallDate** | Pointer to **NullableString** | | [optional] **TerminationDate** | Pointer to **NullableString** | | [optional] **CommitRate** | Pointer to **NullableInt32** | Committed rate | [optional] @@ -17,6 +17,7 @@ Name | Type | Description | Notes **Comments** | Pointer to **string** | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] +**Assignments** | Pointer to [**[]BriefCircuitGroupAssignmentSerializerRequest**](BriefCircuitGroupAssignmentSerializerRequest.md) | | [optional] ## Methods @@ -64,20 +65,20 @@ HasCid returns a boolean if a field has been set. ### GetProvider -`func (o *PatchedWritableCircuitRequest) GetProvider() ProviderRequest` +`func (o *PatchedWritableCircuitRequest) GetProvider() BriefProviderRequest` GetProvider returns the Provider field if non-nil, zero value otherwise. ### GetProviderOk -`func (o *PatchedWritableCircuitRequest) GetProviderOk() (*ProviderRequest, bool)` +`func (o *PatchedWritableCircuitRequest) GetProviderOk() (*BriefProviderRequest, bool)` GetProviderOk returns a tuple with the Provider field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetProvider -`func (o *PatchedWritableCircuitRequest) SetProvider(v ProviderRequest)` +`func (o *PatchedWritableCircuitRequest) SetProvider(v BriefProviderRequest)` SetProvider sets Provider field to given value. @@ -89,20 +90,20 @@ HasProvider returns a boolean if a field has been set. ### GetProviderAccount -`func (o *PatchedWritableCircuitRequest) GetProviderAccount() ProviderAccountRequest` +`func (o *PatchedWritableCircuitRequest) GetProviderAccount() BriefProviderAccountRequest` GetProviderAccount returns the ProviderAccount field if non-nil, zero value otherwise. ### GetProviderAccountOk -`func (o *PatchedWritableCircuitRequest) GetProviderAccountOk() (*ProviderAccountRequest, bool)` +`func (o *PatchedWritableCircuitRequest) GetProviderAccountOk() (*BriefProviderAccountRequest, bool)` GetProviderAccountOk returns a tuple with the ProviderAccount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetProviderAccount -`func (o *PatchedWritableCircuitRequest) SetProviderAccount(v ProviderAccountRequest)` +`func (o *PatchedWritableCircuitRequest) SetProviderAccount(v BriefProviderAccountRequest)` SetProviderAccount sets ProviderAccount field to given value. @@ -124,20 +125,20 @@ HasProviderAccount returns a boolean if a field has been set. UnsetProviderAccount ensures that no value is present for ProviderAccount, not even an explicit nil ### GetType -`func (o *PatchedWritableCircuitRequest) GetType() CircuitTypeRequest` +`func (o *PatchedWritableCircuitRequest) GetType() BriefCircuitTypeRequest` GetType returns the Type field if non-nil, zero value otherwise. ### GetTypeOk -`func (o *PatchedWritableCircuitRequest) GetTypeOk() (*CircuitTypeRequest, bool)` +`func (o *PatchedWritableCircuitRequest) GetTypeOk() (*BriefCircuitTypeRequest, bool)` GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetType -`func (o *PatchedWritableCircuitRequest) SetType(v CircuitTypeRequest)` +`func (o *PatchedWritableCircuitRequest) SetType(v BriefCircuitTypeRequest)` SetType sets Type field to given value. @@ -149,20 +150,20 @@ HasType returns a boolean if a field has been set. ### GetStatus -`func (o *PatchedWritableCircuitRequest) GetStatus() PatchedWritableCircuitRequestStatus` +`func (o *PatchedWritableCircuitRequest) GetStatus() CircuitStatusValue` GetStatus returns the Status field if non-nil, zero value otherwise. ### GetStatusOk -`func (o *PatchedWritableCircuitRequest) GetStatusOk() (*PatchedWritableCircuitRequestStatus, bool)` +`func (o *PatchedWritableCircuitRequest) GetStatusOk() (*CircuitStatusValue, 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 *PatchedWritableCircuitRequest) SetStatus(v PatchedWritableCircuitRequestStatus)` +`func (o *PatchedWritableCircuitRequest) SetStatus(v CircuitStatusValue)` SetStatus sets Status field to given value. @@ -174,20 +175,20 @@ HasStatus returns a boolean if a field has been set. ### GetTenant -`func (o *PatchedWritableCircuitRequest) GetTenant() TenantRequest` +`func (o *PatchedWritableCircuitRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *PatchedWritableCircuitRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *PatchedWritableCircuitRequest) GetTenantOk() (*BriefTenantRequest, 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 *PatchedWritableCircuitRequest) SetTenant(v TenantRequest)` +`func (o *PatchedWritableCircuitRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. @@ -412,6 +413,31 @@ SetCustomFields sets CustomFields field to given value. HasCustomFields returns a boolean if a field has been set. +### GetAssignments + +`func (o *PatchedWritableCircuitRequest) GetAssignments() []BriefCircuitGroupAssignmentSerializerRequest` + +GetAssignments returns the Assignments field if non-nil, zero value otherwise. + +### GetAssignmentsOk + +`func (o *PatchedWritableCircuitRequest) GetAssignmentsOk() (*[]BriefCircuitGroupAssignmentSerializerRequest, bool)` + +GetAssignmentsOk returns a tuple with the Assignments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAssignments + +`func (o *PatchedWritableCircuitRequest) SetAssignments(v []BriefCircuitGroupAssignmentSerializerRequest)` + +SetAssignments sets Assignments field to given value. + +### HasAssignments + +`func (o *PatchedWritableCircuitRequest) HasAssignments() bool` + +HasAssignments 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/PatchedWritableClusterRequest.md b/docs/PatchedWritableClusterRequest.md index 18ee4fc62..0e1f19b93 100644 --- a/docs/PatchedWritableClusterRequest.md +++ b/docs/PatchedWritableClusterRequest.md @@ -5,11 +5,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | Pointer to **string** | | [optional] -**Type** | Pointer to [**ClusterTypeRequest**](ClusterTypeRequest.md) | | [optional] -**Group** | Pointer to [**NullableClusterGroupRequest**](ClusterGroupRequest.md) | | [optional] -**Status** | Pointer to [**PatchedWritableClusterRequestStatus**](PatchedWritableClusterRequestStatus.md) | | [optional] -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] -**Site** | Pointer to [**NullableSiteRequest**](SiteRequest.md) | | [optional] +**Type** | Pointer to [**BriefClusterTypeRequest**](BriefClusterTypeRequest.md) | | [optional] +**Group** | Pointer to [**NullableBriefClusterGroupRequest**](BriefClusterGroupRequest.md) | | [optional] +**Status** | Pointer to [**ClusterStatusValue**](ClusterStatusValue.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] +**Site** | Pointer to [**NullableBriefSiteRequest**](BriefSiteRequest.md) | | [optional] **Description** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] @@ -61,20 +61,20 @@ HasName returns a boolean if a field has been set. ### GetType -`func (o *PatchedWritableClusterRequest) GetType() ClusterTypeRequest` +`func (o *PatchedWritableClusterRequest) GetType() BriefClusterTypeRequest` GetType returns the Type field if non-nil, zero value otherwise. ### GetTypeOk -`func (o *PatchedWritableClusterRequest) GetTypeOk() (*ClusterTypeRequest, bool)` +`func (o *PatchedWritableClusterRequest) GetTypeOk() (*BriefClusterTypeRequest, bool)` GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetType -`func (o *PatchedWritableClusterRequest) SetType(v ClusterTypeRequest)` +`func (o *PatchedWritableClusterRequest) SetType(v BriefClusterTypeRequest)` SetType sets Type field to given value. @@ -86,20 +86,20 @@ HasType returns a boolean if a field has been set. ### GetGroup -`func (o *PatchedWritableClusterRequest) GetGroup() ClusterGroupRequest` +`func (o *PatchedWritableClusterRequest) GetGroup() BriefClusterGroupRequest` GetGroup returns the Group field if non-nil, zero value otherwise. ### GetGroupOk -`func (o *PatchedWritableClusterRequest) GetGroupOk() (*ClusterGroupRequest, bool)` +`func (o *PatchedWritableClusterRequest) GetGroupOk() (*BriefClusterGroupRequest, bool)` GetGroupOk returns a tuple with the Group field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetGroup -`func (o *PatchedWritableClusterRequest) SetGroup(v ClusterGroupRequest)` +`func (o *PatchedWritableClusterRequest) SetGroup(v BriefClusterGroupRequest)` SetGroup sets Group field to given value. @@ -121,20 +121,20 @@ HasGroup returns a boolean if a field has been set. UnsetGroup ensures that no value is present for Group, not even an explicit nil ### GetStatus -`func (o *PatchedWritableClusterRequest) GetStatus() PatchedWritableClusterRequestStatus` +`func (o *PatchedWritableClusterRequest) GetStatus() ClusterStatusValue` GetStatus returns the Status field if non-nil, zero value otherwise. ### GetStatusOk -`func (o *PatchedWritableClusterRequest) GetStatusOk() (*PatchedWritableClusterRequestStatus, bool)` +`func (o *PatchedWritableClusterRequest) GetStatusOk() (*ClusterStatusValue, 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 *PatchedWritableClusterRequest) SetStatus(v PatchedWritableClusterRequestStatus)` +`func (o *PatchedWritableClusterRequest) SetStatus(v ClusterStatusValue)` SetStatus sets Status field to given value. @@ -146,20 +146,20 @@ HasStatus returns a boolean if a field has been set. ### GetTenant -`func (o *PatchedWritableClusterRequest) GetTenant() TenantRequest` +`func (o *PatchedWritableClusterRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *PatchedWritableClusterRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *PatchedWritableClusterRequest) GetTenantOk() (*BriefTenantRequest, 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 *PatchedWritableClusterRequest) SetTenant(v TenantRequest)` +`func (o *PatchedWritableClusterRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. @@ -181,20 +181,20 @@ HasTenant returns a boolean if a field has been set. UnsetTenant ensures that no value is present for Tenant, not even an explicit nil ### GetSite -`func (o *PatchedWritableClusterRequest) GetSite() SiteRequest` +`func (o *PatchedWritableClusterRequest) GetSite() BriefSiteRequest` GetSite returns the Site field if non-nil, zero value otherwise. ### GetSiteOk -`func (o *PatchedWritableClusterRequest) GetSiteOk() (*SiteRequest, bool)` +`func (o *PatchedWritableClusterRequest) GetSiteOk() (*BriefSiteRequest, bool)` GetSiteOk returns a tuple with the Site field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSite -`func (o *PatchedWritableClusterRequest) SetSite(v SiteRequest)` +`func (o *PatchedWritableClusterRequest) SetSite(v BriefSiteRequest)` SetSite sets Site field to given value. diff --git a/docs/PatchedWritableConsolePortRequest.md b/docs/PatchedWritableConsolePortRequest.md index 52a08ee90..1b5ea9f2d 100644 --- a/docs/PatchedWritableConsolePortRequest.md +++ b/docs/PatchedWritableConsolePortRequest.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Device** | Pointer to [**DeviceRequest**](DeviceRequest.md) | | [optional] -**Module** | Pointer to [**NullableModuleRequest**](ModuleRequest.md) | | [optional] +**Device** | Pointer to [**BriefDeviceRequest**](BriefDeviceRequest.md) | | [optional] +**Module** | Pointer to [**NullableBriefModuleRequest**](BriefModuleRequest.md) | | [optional] **Name** | Pointer to **string** | | [optional] **Label** | Pointer to **string** | Physical label | [optional] **Type** | Pointer to [**PatchedWritableConsolePortRequestType**](PatchedWritableConsolePortRequestType.md) | | [optional] @@ -36,20 +36,20 @@ but it doesn't guarantee that properties required by API are set ### GetDevice -`func (o *PatchedWritableConsolePortRequest) GetDevice() DeviceRequest` +`func (o *PatchedWritableConsolePortRequest) GetDevice() BriefDeviceRequest` GetDevice returns the Device field if non-nil, zero value otherwise. ### GetDeviceOk -`func (o *PatchedWritableConsolePortRequest) GetDeviceOk() (*DeviceRequest, bool)` +`func (o *PatchedWritableConsolePortRequest) GetDeviceOk() (*BriefDeviceRequest, 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 *PatchedWritableConsolePortRequest) SetDevice(v DeviceRequest)` +`func (o *PatchedWritableConsolePortRequest) SetDevice(v BriefDeviceRequest)` SetDevice sets Device field to given value. @@ -61,20 +61,20 @@ HasDevice returns a boolean if a field has been set. ### GetModule -`func (o *PatchedWritableConsolePortRequest) GetModule() ModuleRequest` +`func (o *PatchedWritableConsolePortRequest) GetModule() BriefModuleRequest` GetModule returns the Module field if non-nil, zero value otherwise. ### GetModuleOk -`func (o *PatchedWritableConsolePortRequest) GetModuleOk() (*ModuleRequest, bool)` +`func (o *PatchedWritableConsolePortRequest) GetModuleOk() (*BriefModuleRequest, bool)` GetModuleOk returns a tuple with the Module field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetModule -`func (o *PatchedWritableConsolePortRequest) SetModule(v ModuleRequest)` +`func (o *PatchedWritableConsolePortRequest) SetModule(v BriefModuleRequest)` SetModule sets Module field to given value. diff --git a/docs/PatchedWritableConsolePortTemplateRequest.md b/docs/PatchedWritableConsolePortTemplateRequest.md index d9dbf04aa..854014935 100644 --- a/docs/PatchedWritableConsolePortTemplateRequest.md +++ b/docs/PatchedWritableConsolePortTemplateRequest.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**DeviceType** | Pointer to [**NullableDeviceTypeRequest**](DeviceTypeRequest.md) | | [optional] -**ModuleType** | Pointer to [**NullableModuleTypeRequest**](ModuleTypeRequest.md) | | [optional] +**DeviceType** | Pointer to [**NullableBriefDeviceTypeRequest**](BriefDeviceTypeRequest.md) | | [optional] +**ModuleType** | Pointer to [**NullableBriefModuleTypeRequest**](BriefModuleTypeRequest.md) | | [optional] **Name** | Pointer to **string** | {module} is accepted as a substitution for the module bay position when attached to a module type. | [optional] **Label** | Pointer to **string** | Physical label | [optional] **Type** | Pointer to [**ConsolePortTypeValue**](ConsolePortTypeValue.md) | | [optional] @@ -32,20 +32,20 @@ but it doesn't guarantee that properties required by API are set ### GetDeviceType -`func (o *PatchedWritableConsolePortTemplateRequest) GetDeviceType() DeviceTypeRequest` +`func (o *PatchedWritableConsolePortTemplateRequest) GetDeviceType() BriefDeviceTypeRequest` GetDeviceType returns the DeviceType field if non-nil, zero value otherwise. ### GetDeviceTypeOk -`func (o *PatchedWritableConsolePortTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool)` +`func (o *PatchedWritableConsolePortTemplateRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool)` GetDeviceTypeOk returns a tuple with the DeviceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDeviceType -`func (o *PatchedWritableConsolePortTemplateRequest) SetDeviceType(v DeviceTypeRequest)` +`func (o *PatchedWritableConsolePortTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest)` SetDeviceType sets DeviceType field to given value. @@ -67,20 +67,20 @@ HasDeviceType returns a boolean if a field has been set. UnsetDeviceType ensures that no value is present for DeviceType, not even an explicit nil ### GetModuleType -`func (o *PatchedWritableConsolePortTemplateRequest) GetModuleType() ModuleTypeRequest` +`func (o *PatchedWritableConsolePortTemplateRequest) GetModuleType() BriefModuleTypeRequest` GetModuleType returns the ModuleType field if non-nil, zero value otherwise. ### GetModuleTypeOk -`func (o *PatchedWritableConsolePortTemplateRequest) GetModuleTypeOk() (*ModuleTypeRequest, bool)` +`func (o *PatchedWritableConsolePortTemplateRequest) GetModuleTypeOk() (*BriefModuleTypeRequest, bool)` GetModuleTypeOk returns a tuple with the ModuleType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetModuleType -`func (o *PatchedWritableConsolePortTemplateRequest) SetModuleType(v ModuleTypeRequest)` +`func (o *PatchedWritableConsolePortTemplateRequest) SetModuleType(v BriefModuleTypeRequest)` SetModuleType sets ModuleType field to given value. diff --git a/docs/PatchedWritableConsoleServerPortRequest.md b/docs/PatchedWritableConsoleServerPortRequest.md index 05b70f9d5..b2b57e24c 100644 --- a/docs/PatchedWritableConsoleServerPortRequest.md +++ b/docs/PatchedWritableConsoleServerPortRequest.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Device** | Pointer to [**DeviceRequest**](DeviceRequest.md) | | [optional] -**Module** | Pointer to [**NullableModuleRequest**](ModuleRequest.md) | | [optional] +**Device** | Pointer to [**BriefDeviceRequest**](BriefDeviceRequest.md) | | [optional] +**Module** | Pointer to [**NullableBriefModuleRequest**](BriefModuleRequest.md) | | [optional] **Name** | Pointer to **string** | | [optional] **Label** | Pointer to **string** | Physical label | [optional] **Type** | Pointer to [**PatchedWritableConsolePortRequestType**](PatchedWritableConsolePortRequestType.md) | | [optional] @@ -36,20 +36,20 @@ but it doesn't guarantee that properties required by API are set ### GetDevice -`func (o *PatchedWritableConsoleServerPortRequest) GetDevice() DeviceRequest` +`func (o *PatchedWritableConsoleServerPortRequest) GetDevice() BriefDeviceRequest` GetDevice returns the Device field if non-nil, zero value otherwise. ### GetDeviceOk -`func (o *PatchedWritableConsoleServerPortRequest) GetDeviceOk() (*DeviceRequest, bool)` +`func (o *PatchedWritableConsoleServerPortRequest) GetDeviceOk() (*BriefDeviceRequest, 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 *PatchedWritableConsoleServerPortRequest) SetDevice(v DeviceRequest)` +`func (o *PatchedWritableConsoleServerPortRequest) SetDevice(v BriefDeviceRequest)` SetDevice sets Device field to given value. @@ -61,20 +61,20 @@ HasDevice returns a boolean if a field has been set. ### GetModule -`func (o *PatchedWritableConsoleServerPortRequest) GetModule() ModuleRequest` +`func (o *PatchedWritableConsoleServerPortRequest) GetModule() BriefModuleRequest` GetModule returns the Module field if non-nil, zero value otherwise. ### GetModuleOk -`func (o *PatchedWritableConsoleServerPortRequest) GetModuleOk() (*ModuleRequest, bool)` +`func (o *PatchedWritableConsoleServerPortRequest) GetModuleOk() (*BriefModuleRequest, bool)` GetModuleOk returns a tuple with the Module field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetModule -`func (o *PatchedWritableConsoleServerPortRequest) SetModule(v ModuleRequest)` +`func (o *PatchedWritableConsoleServerPortRequest) SetModule(v BriefModuleRequest)` SetModule sets Module field to given value. diff --git a/docs/PatchedWritableConsoleServerPortTemplateRequest.md b/docs/PatchedWritableConsoleServerPortTemplateRequest.md index ef7c3aa0e..b8326fbb5 100644 --- a/docs/PatchedWritableConsoleServerPortTemplateRequest.md +++ b/docs/PatchedWritableConsoleServerPortTemplateRequest.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**DeviceType** | Pointer to [**NullableDeviceTypeRequest**](DeviceTypeRequest.md) | | [optional] -**ModuleType** | Pointer to [**NullableModuleTypeRequest**](ModuleTypeRequest.md) | | [optional] +**DeviceType** | Pointer to [**NullableBriefDeviceTypeRequest**](BriefDeviceTypeRequest.md) | | [optional] +**ModuleType** | Pointer to [**NullableBriefModuleTypeRequest**](BriefModuleTypeRequest.md) | | [optional] **Name** | Pointer to **string** | {module} is accepted as a substitution for the module bay position when attached to a module type. | [optional] **Label** | Pointer to **string** | Physical label | [optional] **Type** | Pointer to [**ConsolePortTypeValue**](ConsolePortTypeValue.md) | | [optional] @@ -32,20 +32,20 @@ but it doesn't guarantee that properties required by API are set ### GetDeviceType -`func (o *PatchedWritableConsoleServerPortTemplateRequest) GetDeviceType() DeviceTypeRequest` +`func (o *PatchedWritableConsoleServerPortTemplateRequest) GetDeviceType() BriefDeviceTypeRequest` GetDeviceType returns the DeviceType field if non-nil, zero value otherwise. ### GetDeviceTypeOk -`func (o *PatchedWritableConsoleServerPortTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool)` +`func (o *PatchedWritableConsoleServerPortTemplateRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool)` GetDeviceTypeOk returns a tuple with the DeviceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDeviceType -`func (o *PatchedWritableConsoleServerPortTemplateRequest) SetDeviceType(v DeviceTypeRequest)` +`func (o *PatchedWritableConsoleServerPortTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest)` SetDeviceType sets DeviceType field to given value. @@ -67,20 +67,20 @@ HasDeviceType returns a boolean if a field has been set. UnsetDeviceType ensures that no value is present for DeviceType, not even an explicit nil ### GetModuleType -`func (o *PatchedWritableConsoleServerPortTemplateRequest) GetModuleType() ModuleTypeRequest` +`func (o *PatchedWritableConsoleServerPortTemplateRequest) GetModuleType() BriefModuleTypeRequest` GetModuleType returns the ModuleType field if non-nil, zero value otherwise. ### GetModuleTypeOk -`func (o *PatchedWritableConsoleServerPortTemplateRequest) GetModuleTypeOk() (*ModuleTypeRequest, bool)` +`func (o *PatchedWritableConsoleServerPortTemplateRequest) GetModuleTypeOk() (*BriefModuleTypeRequest, bool)` GetModuleTypeOk returns a tuple with the ModuleType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetModuleType -`func (o *PatchedWritableConsoleServerPortTemplateRequest) SetModuleType(v ModuleTypeRequest)` +`func (o *PatchedWritableConsoleServerPortTemplateRequest) SetModuleType(v BriefModuleTypeRequest)` SetModuleType sets ModuleType field to given value. diff --git a/docs/PatchedWritableContactAssignmentRequest.md b/docs/PatchedWritableContactAssignmentRequest.md index e2b7dc360..791ef1844 100644 --- a/docs/PatchedWritableContactAssignmentRequest.md +++ b/docs/PatchedWritableContactAssignmentRequest.md @@ -6,9 +6,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **ObjectType** | Pointer to **string** | | [optional] **ObjectId** | Pointer to **int64** | | [optional] -**Contact** | Pointer to [**ContactRequest**](ContactRequest.md) | | [optional] -**Role** | Pointer to [**NullableContactRoleRequest**](ContactRoleRequest.md) | | [optional] -**Priority** | Pointer to [**ContactAssignmentPriorityValue**](ContactAssignmentPriorityValue.md) | | [optional] +**Contact** | Pointer to [**BriefContactRequest**](BriefContactRequest.md) | | [optional] +**Role** | Pointer to [**NullableBriefContactRoleRequest**](BriefContactRoleRequest.md) | | [optional] +**Priority** | Pointer to [**BriefCircuitGroupAssignmentSerializerPriorityValue**](BriefCircuitGroupAssignmentSerializerPriorityValue.md) | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] @@ -83,20 +83,20 @@ HasObjectId returns a boolean if a field has been set. ### GetContact -`func (o *PatchedWritableContactAssignmentRequest) GetContact() ContactRequest` +`func (o *PatchedWritableContactAssignmentRequest) GetContact() BriefContactRequest` GetContact returns the Contact field if non-nil, zero value otherwise. ### GetContactOk -`func (o *PatchedWritableContactAssignmentRequest) GetContactOk() (*ContactRequest, bool)` +`func (o *PatchedWritableContactAssignmentRequest) GetContactOk() (*BriefContactRequest, bool)` GetContactOk returns a tuple with the Contact field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetContact -`func (o *PatchedWritableContactAssignmentRequest) SetContact(v ContactRequest)` +`func (o *PatchedWritableContactAssignmentRequest) SetContact(v BriefContactRequest)` SetContact sets Contact field to given value. @@ -108,20 +108,20 @@ HasContact returns a boolean if a field has been set. ### GetRole -`func (o *PatchedWritableContactAssignmentRequest) GetRole() ContactRoleRequest` +`func (o *PatchedWritableContactAssignmentRequest) GetRole() BriefContactRoleRequest` GetRole returns the Role field if non-nil, zero value otherwise. ### GetRoleOk -`func (o *PatchedWritableContactAssignmentRequest) GetRoleOk() (*ContactRoleRequest, bool)` +`func (o *PatchedWritableContactAssignmentRequest) GetRoleOk() (*BriefContactRoleRequest, 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 *PatchedWritableContactAssignmentRequest) SetRole(v ContactRoleRequest)` +`func (o *PatchedWritableContactAssignmentRequest) SetRole(v BriefContactRoleRequest)` SetRole sets Role field to given value. @@ -143,20 +143,20 @@ HasRole returns a boolean if a field has been set. UnsetRole ensures that no value is present for Role, not even an explicit nil ### GetPriority -`func (o *PatchedWritableContactAssignmentRequest) GetPriority() ContactAssignmentPriorityValue` +`func (o *PatchedWritableContactAssignmentRequest) GetPriority() BriefCircuitGroupAssignmentSerializerPriorityValue` GetPriority returns the Priority field if non-nil, zero value otherwise. ### GetPriorityOk -`func (o *PatchedWritableContactAssignmentRequest) GetPriorityOk() (*ContactAssignmentPriorityValue, bool)` +`func (o *PatchedWritableContactAssignmentRequest) GetPriorityOk() (*BriefCircuitGroupAssignmentSerializerPriorityValue, bool)` GetPriorityOk returns a tuple with the Priority field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPriority -`func (o *PatchedWritableContactAssignmentRequest) SetPriority(v ContactAssignmentPriorityValue)` +`func (o *PatchedWritableContactAssignmentRequest) SetPriority(v BriefCircuitGroupAssignmentSerializerPriorityValue)` SetPriority sets Priority field to given value. diff --git a/docs/PatchedWritableCustomFieldRequest.md b/docs/PatchedWritableCustomFieldRequest.md index 21645eb48..036786d58 100644 --- a/docs/PatchedWritableCustomFieldRequest.md +++ b/docs/PatchedWritableCustomFieldRequest.md @@ -11,18 +11,20 @@ Name | Type | Description | Notes **Label** | Pointer to **string** | Name of the field as displayed to users (if not provided, 'the field's name will be used) | [optional] **GroupName** | Pointer to **string** | Custom fields within the same group will be displayed together | [optional] **Description** | Pointer to **string** | | [optional] -**Required** | Pointer to **bool** | If true, this field is required when creating new objects or editing an existing object. | [optional] +**Required** | Pointer to **bool** | This field is required when creating new objects or editing an existing object. | [optional] +**Unique** | Pointer to **bool** | The value of this field must be unique for the assigned object | [optional] **SearchWeight** | Pointer to **int32** | Weighting for search. Lower values are considered more important. Fields with a search weight of zero will be ignored. | [optional] **FilterLogic** | Pointer to [**PatchedWritableCustomFieldRequestFilterLogic**](PatchedWritableCustomFieldRequestFilterLogic.md) | | [optional] **UiVisible** | Pointer to [**PatchedWritableCustomFieldRequestUiVisible**](PatchedWritableCustomFieldRequestUiVisible.md) | | [optional] **UiEditable** | Pointer to [**PatchedWritableCustomFieldRequestUiEditable**](PatchedWritableCustomFieldRequestUiEditable.md) | | [optional] **IsCloneable** | Pointer to **bool** | Replicate this value when cloning objects | [optional] **Default** | Pointer to **interface{}** | Default value for the field (must be a JSON value). Encapsulate strings with double quotes (e.g. \"Foo\"). | [optional] +**RelatedObjectFilter** | Pointer to **interface{}** | Filter the object selection choices using a query_params dict (must be a JSON value).Encapsulate strings with double quotes (e.g. \"Foo\"). | [optional] **Weight** | Pointer to **int32** | Fields with higher weights appear lower in a form. | [optional] **ValidationMinimum** | Pointer to **NullableInt64** | Minimum allowed value (for numeric fields) | [optional] **ValidationMaximum** | Pointer to **NullableInt64** | Maximum allowed value (for numeric fields) | [optional] **ValidationRegex** | Pointer to **string** | Regular expression to enforce on text field values. Use ^ and $ to force matching of entire string. For example, <code>^[A-Z]{3}$</code> will limit values to exactly three uppercase letters. | [optional] -**ChoiceSet** | Pointer to [**NullableCustomFieldChoiceSetRequest**](CustomFieldChoiceSetRequest.md) | | [optional] +**ChoiceSet** | Pointer to [**NullableBriefCustomFieldChoiceSetRequest**](BriefCustomFieldChoiceSetRequest.md) | | [optional] **Comments** | Pointer to **string** | | [optional] ## Methods @@ -254,6 +256,31 @@ SetRequired sets Required field to given value. HasRequired returns a boolean if a field has been set. +### GetUnique + +`func (o *PatchedWritableCustomFieldRequest) GetUnique() bool` + +GetUnique returns the Unique field if non-nil, zero value otherwise. + +### GetUniqueOk + +`func (o *PatchedWritableCustomFieldRequest) GetUniqueOk() (*bool, bool)` + +GetUniqueOk returns a tuple with the Unique field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUnique + +`func (o *PatchedWritableCustomFieldRequest) SetUnique(v bool)` + +SetUnique sets Unique field to given value. + +### HasUnique + +`func (o *PatchedWritableCustomFieldRequest) HasUnique() bool` + +HasUnique returns a boolean if a field has been set. + ### GetSearchWeight `func (o *PatchedWritableCustomFieldRequest) GetSearchWeight() int32` @@ -414,6 +441,41 @@ HasDefault returns a boolean if a field has been set. `func (o *PatchedWritableCustomFieldRequest) UnsetDefault()` UnsetDefault ensures that no value is present for Default, not even an explicit nil +### GetRelatedObjectFilter + +`func (o *PatchedWritableCustomFieldRequest) GetRelatedObjectFilter() interface{}` + +GetRelatedObjectFilter returns the RelatedObjectFilter field if non-nil, zero value otherwise. + +### GetRelatedObjectFilterOk + +`func (o *PatchedWritableCustomFieldRequest) GetRelatedObjectFilterOk() (*interface{}, bool)` + +GetRelatedObjectFilterOk returns a tuple with the RelatedObjectFilter field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRelatedObjectFilter + +`func (o *PatchedWritableCustomFieldRequest) SetRelatedObjectFilter(v interface{})` + +SetRelatedObjectFilter sets RelatedObjectFilter field to given value. + +### HasRelatedObjectFilter + +`func (o *PatchedWritableCustomFieldRequest) HasRelatedObjectFilter() bool` + +HasRelatedObjectFilter returns a boolean if a field has been set. + +### SetRelatedObjectFilterNil + +`func (o *PatchedWritableCustomFieldRequest) SetRelatedObjectFilterNil(b bool)` + + SetRelatedObjectFilterNil sets the value for RelatedObjectFilter to be an explicit nil + +### UnsetRelatedObjectFilter +`func (o *PatchedWritableCustomFieldRequest) UnsetRelatedObjectFilter()` + +UnsetRelatedObjectFilter ensures that no value is present for RelatedObjectFilter, not even an explicit nil ### GetWeight `func (o *PatchedWritableCustomFieldRequest) GetWeight() int32` @@ -536,20 +598,20 @@ HasValidationRegex returns a boolean if a field has been set. ### GetChoiceSet -`func (o *PatchedWritableCustomFieldRequest) GetChoiceSet() CustomFieldChoiceSetRequest` +`func (o *PatchedWritableCustomFieldRequest) GetChoiceSet() BriefCustomFieldChoiceSetRequest` GetChoiceSet returns the ChoiceSet field if non-nil, zero value otherwise. ### GetChoiceSetOk -`func (o *PatchedWritableCustomFieldRequest) GetChoiceSetOk() (*CustomFieldChoiceSetRequest, bool)` +`func (o *PatchedWritableCustomFieldRequest) GetChoiceSetOk() (*BriefCustomFieldChoiceSetRequest, bool)` GetChoiceSetOk returns a tuple with the ChoiceSet field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChoiceSet -`func (o *PatchedWritableCustomFieldRequest) SetChoiceSet(v CustomFieldChoiceSetRequest)` +`func (o *PatchedWritableCustomFieldRequest) SetChoiceSet(v BriefCustomFieldChoiceSetRequest)` SetChoiceSet sets ChoiceSet field to given value. diff --git a/docs/PatchedWritableDataSourceRequest.md b/docs/PatchedWritableDataSourceRequest.md index 89182786d..144dda6f3 100644 --- a/docs/PatchedWritableDataSourceRequest.md +++ b/docs/PatchedWritableDataSourceRequest.md @@ -9,9 +9,9 @@ Name | Type | Description | Notes **SourceUrl** | Pointer to **string** | | [optional] **Enabled** | Pointer to **bool** | | [optional] **Description** | Pointer to **string** | | [optional] -**Comments** | Pointer to **string** | | [optional] **Parameters** | Pointer to **interface{}** | | [optional] **IgnoreRules** | Pointer to **string** | Patterns (one per line) matching files to ignore when syncing | [optional] +**Comments** | Pointer to **string** | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] ## Methods @@ -158,31 +158,6 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. -### GetComments - -`func (o *PatchedWritableDataSourceRequest) GetComments() string` - -GetComments returns the Comments field if non-nil, zero value otherwise. - -### GetCommentsOk - -`func (o *PatchedWritableDataSourceRequest) GetCommentsOk() (*string, bool)` - -GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetComments - -`func (o *PatchedWritableDataSourceRequest) SetComments(v string)` - -SetComments sets Comments field to given value. - -### HasComments - -`func (o *PatchedWritableDataSourceRequest) HasComments() bool` - -HasComments returns a boolean if a field has been set. - ### GetParameters `func (o *PatchedWritableDataSourceRequest) GetParameters() interface{}` @@ -243,6 +218,31 @@ SetIgnoreRules sets IgnoreRules field to given value. HasIgnoreRules returns a boolean if a field has been set. +### GetComments + +`func (o *PatchedWritableDataSourceRequest) GetComments() string` + +GetComments returns the Comments field if non-nil, zero value otherwise. + +### GetCommentsOk + +`func (o *PatchedWritableDataSourceRequest) GetCommentsOk() (*string, bool)` + +GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComments + +`func (o *PatchedWritableDataSourceRequest) SetComments(v string)` + +SetComments sets Comments field to given value. + +### HasComments + +`func (o *PatchedWritableDataSourceRequest) HasComments() bool` + +HasComments returns a boolean if a field has been set. + ### GetCustomFields `func (o *PatchedWritableDataSourceRequest) GetCustomFields() map[string]interface{}` diff --git a/docs/PatchedWritableDeviceTypeRequest.md b/docs/PatchedWritableDeviceTypeRequest.md index 330f80fe3..6175c121a 100644 --- a/docs/PatchedWritableDeviceTypeRequest.md +++ b/docs/PatchedWritableDeviceTypeRequest.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Manufacturer** | Pointer to [**ManufacturerRequest**](ManufacturerRequest.md) | | [optional] -**DefaultPlatform** | Pointer to [**NullablePlatformRequest**](PlatformRequest.md) | | [optional] +**Manufacturer** | Pointer to [**BriefManufacturerRequest**](BriefManufacturerRequest.md) | | [optional] +**DefaultPlatform** | Pointer to [**NullableBriefPlatformRequest**](BriefPlatformRequest.md) | | [optional] **Model** | Pointer to **string** | | [optional] **Slug** | Pointer to **string** | | [optional] **PartNumber** | Pointer to **string** | Discrete part number (optional) | [optional] @@ -15,7 +15,7 @@ Name | Type | Description | Notes **SubdeviceRole** | Pointer to [**ParentChildStatus1**](ParentChildStatus1.md) | | [optional] **Airflow** | Pointer to [**DeviceAirflowValue**](DeviceAirflowValue.md) | | [optional] **Weight** | Pointer to **NullableFloat64** | | [optional] -**WeightUnit** | Pointer to [**PatchedWritableDeviceTypeRequestWeightUnit**](PatchedWritableDeviceTypeRequestWeightUnit.md) | | [optional] +**WeightUnit** | Pointer to [**DeviceTypeWeightUnitValue**](DeviceTypeWeightUnitValue.md) | | [optional] **FrontImage** | Pointer to ***os.File** | | [optional] **RearImage** | Pointer to ***os.File** | | [optional] **Description** | Pointer to **string** | | [optional] @@ -44,20 +44,20 @@ but it doesn't guarantee that properties required by API are set ### GetManufacturer -`func (o *PatchedWritableDeviceTypeRequest) GetManufacturer() ManufacturerRequest` +`func (o *PatchedWritableDeviceTypeRequest) GetManufacturer() BriefManufacturerRequest` GetManufacturer returns the Manufacturer field if non-nil, zero value otherwise. ### GetManufacturerOk -`func (o *PatchedWritableDeviceTypeRequest) GetManufacturerOk() (*ManufacturerRequest, bool)` +`func (o *PatchedWritableDeviceTypeRequest) GetManufacturerOk() (*BriefManufacturerRequest, bool)` GetManufacturerOk returns a tuple with the Manufacturer field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetManufacturer -`func (o *PatchedWritableDeviceTypeRequest) SetManufacturer(v ManufacturerRequest)` +`func (o *PatchedWritableDeviceTypeRequest) SetManufacturer(v BriefManufacturerRequest)` SetManufacturer sets Manufacturer field to given value. @@ -69,20 +69,20 @@ HasManufacturer returns a boolean if a field has been set. ### GetDefaultPlatform -`func (o *PatchedWritableDeviceTypeRequest) GetDefaultPlatform() PlatformRequest` +`func (o *PatchedWritableDeviceTypeRequest) GetDefaultPlatform() BriefPlatformRequest` GetDefaultPlatform returns the DefaultPlatform field if non-nil, zero value otherwise. ### GetDefaultPlatformOk -`func (o *PatchedWritableDeviceTypeRequest) GetDefaultPlatformOk() (*PlatformRequest, bool)` +`func (o *PatchedWritableDeviceTypeRequest) GetDefaultPlatformOk() (*BriefPlatformRequest, bool)` GetDefaultPlatformOk returns a tuple with the DefaultPlatform field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDefaultPlatform -`func (o *PatchedWritableDeviceTypeRequest) SetDefaultPlatform(v PlatformRequest)` +`func (o *PatchedWritableDeviceTypeRequest) SetDefaultPlatform(v BriefPlatformRequest)` SetDefaultPlatform sets DefaultPlatform field to given value. @@ -339,20 +339,20 @@ HasWeight returns a boolean if a field has been set. UnsetWeight ensures that no value is present for Weight, not even an explicit nil ### GetWeightUnit -`func (o *PatchedWritableDeviceTypeRequest) GetWeightUnit() PatchedWritableDeviceTypeRequestWeightUnit` +`func (o *PatchedWritableDeviceTypeRequest) GetWeightUnit() DeviceTypeWeightUnitValue` GetWeightUnit returns the WeightUnit field if non-nil, zero value otherwise. ### GetWeightUnitOk -`func (o *PatchedWritableDeviceTypeRequest) GetWeightUnitOk() (*PatchedWritableDeviceTypeRequestWeightUnit, bool)` +`func (o *PatchedWritableDeviceTypeRequest) GetWeightUnitOk() (*DeviceTypeWeightUnitValue, bool)` GetWeightUnitOk returns a tuple with the WeightUnit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetWeightUnit -`func (o *PatchedWritableDeviceTypeRequest) SetWeightUnit(v PatchedWritableDeviceTypeRequestWeightUnit)` +`func (o *PatchedWritableDeviceTypeRequest) SetWeightUnit(v DeviceTypeWeightUnitValue)` SetWeightUnit sets WeightUnit field to given value. diff --git a/docs/PatchedWritableDeviceWithConfigContextRequest.md b/docs/PatchedWritableDeviceWithConfigContextRequest.md index 2d049b103..e460e8796 100644 --- a/docs/PatchedWritableDeviceWithConfigContextRequest.md +++ b/docs/PatchedWritableDeviceWithConfigContextRequest.md @@ -5,31 +5,31 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | Pointer to **NullableString** | | [optional] -**DeviceType** | Pointer to [**DeviceTypeRequest**](DeviceTypeRequest.md) | | [optional] -**Role** | Pointer to [**DeviceRoleRequest**](DeviceRoleRequest.md) | | [optional] -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] -**Platform** | Pointer to [**NullablePlatformRequest**](PlatformRequest.md) | | [optional] +**DeviceType** | Pointer to [**BriefDeviceTypeRequest**](BriefDeviceTypeRequest.md) | | [optional] +**Role** | Pointer to [**BriefDeviceRoleRequest**](BriefDeviceRoleRequest.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] +**Platform** | Pointer to [**NullableBriefPlatformRequest**](BriefPlatformRequest.md) | | [optional] **Serial** | Pointer to **string** | Chassis serial number, assigned by the manufacturer | [optional] **AssetTag** | Pointer to **NullableString** | A unique tag used to identify this device | [optional] -**Site** | Pointer to [**SiteRequest**](SiteRequest.md) | | [optional] -**Location** | Pointer to [**NullableLocationRequest**](LocationRequest.md) | | [optional] -**Rack** | Pointer to [**NullableRackRequest**](RackRequest.md) | | [optional] +**Site** | Pointer to [**BriefSiteRequest**](BriefSiteRequest.md) | | [optional] +**Location** | Pointer to [**NullableBriefLocationRequest**](BriefLocationRequest.md) | | [optional] +**Rack** | Pointer to [**NullableBriefRackRequest**](BriefRackRequest.md) | | [optional] **Position** | Pointer to **NullableFloat64** | | [optional] **Face** | Pointer to [**RackFace1**](RackFace1.md) | | [optional] **Latitude** | Pointer to **NullableFloat64** | GPS coordinate in decimal format (xx.yyyyyy) | [optional] **Longitude** | Pointer to **NullableFloat64** | GPS coordinate in decimal format (xx.yyyyyy) | [optional] **Status** | Pointer to [**DeviceStatusValue**](DeviceStatusValue.md) | | [optional] **Airflow** | Pointer to [**DeviceAirflowValue**](DeviceAirflowValue.md) | | [optional] -**PrimaryIp4** | Pointer to [**NullableIPAddressRequest**](IPAddressRequest.md) | | [optional] -**PrimaryIp6** | Pointer to [**NullableIPAddressRequest**](IPAddressRequest.md) | | [optional] -**OobIp** | Pointer to [**NullableIPAddressRequest**](IPAddressRequest.md) | | [optional] -**Cluster** | Pointer to [**NullableClusterRequest**](ClusterRequest.md) | | [optional] -**VirtualChassis** | Pointer to [**NullableVirtualChassisRequest**](VirtualChassisRequest.md) | | [optional] +**PrimaryIp4** | Pointer to [**NullableBriefIPAddressRequest**](BriefIPAddressRequest.md) | | [optional] +**PrimaryIp6** | Pointer to [**NullableBriefIPAddressRequest**](BriefIPAddressRequest.md) | | [optional] +**OobIp** | Pointer to [**NullableBriefIPAddressRequest**](BriefIPAddressRequest.md) | | [optional] +**Cluster** | Pointer to [**NullableBriefClusterRequest**](BriefClusterRequest.md) | | [optional] +**VirtualChassis** | Pointer to [**NullableBriefVirtualChassisRequest**](BriefVirtualChassisRequest.md) | | [optional] **VcPosition** | Pointer to **NullableInt32** | | [optional] **VcPriority** | Pointer to **NullableInt32** | Virtual chassis master election priority | [optional] **Description** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] -**ConfigTemplate** | Pointer to [**NullableConfigTemplateRequest**](ConfigTemplateRequest.md) | | [optional] +**ConfigTemplate** | Pointer to [**NullableBriefConfigTemplateRequest**](BriefConfigTemplateRequest.md) | | [optional] **LocalContextData** | Pointer to **interface{}** | Local config context data takes precedence over source contexts in the final rendered config context | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] @@ -90,20 +90,20 @@ HasName returns a boolean if a field has been set. UnsetName ensures that no value is present for Name, not even an explicit nil ### GetDeviceType -`func (o *PatchedWritableDeviceWithConfigContextRequest) GetDeviceType() DeviceTypeRequest` +`func (o *PatchedWritableDeviceWithConfigContextRequest) GetDeviceType() BriefDeviceTypeRequest` GetDeviceType returns the DeviceType field if non-nil, zero value otherwise. ### GetDeviceTypeOk -`func (o *PatchedWritableDeviceWithConfigContextRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool)` +`func (o *PatchedWritableDeviceWithConfigContextRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool)` GetDeviceTypeOk returns a tuple with the DeviceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDeviceType -`func (o *PatchedWritableDeviceWithConfigContextRequest) SetDeviceType(v DeviceTypeRequest)` +`func (o *PatchedWritableDeviceWithConfigContextRequest) SetDeviceType(v BriefDeviceTypeRequest)` SetDeviceType sets DeviceType field to given value. @@ -115,20 +115,20 @@ HasDeviceType returns a boolean if a field has been set. ### GetRole -`func (o *PatchedWritableDeviceWithConfigContextRequest) GetRole() DeviceRoleRequest` +`func (o *PatchedWritableDeviceWithConfigContextRequest) GetRole() BriefDeviceRoleRequest` GetRole returns the Role field if non-nil, zero value otherwise. ### GetRoleOk -`func (o *PatchedWritableDeviceWithConfigContextRequest) GetRoleOk() (*DeviceRoleRequest, bool)` +`func (o *PatchedWritableDeviceWithConfigContextRequest) GetRoleOk() (*BriefDeviceRoleRequest, 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 *PatchedWritableDeviceWithConfigContextRequest) SetRole(v DeviceRoleRequest)` +`func (o *PatchedWritableDeviceWithConfigContextRequest) SetRole(v BriefDeviceRoleRequest)` SetRole sets Role field to given value. @@ -140,20 +140,20 @@ HasRole returns a boolean if a field has been set. ### GetTenant -`func (o *PatchedWritableDeviceWithConfigContextRequest) GetTenant() TenantRequest` +`func (o *PatchedWritableDeviceWithConfigContextRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *PatchedWritableDeviceWithConfigContextRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *PatchedWritableDeviceWithConfigContextRequest) GetTenantOk() (*BriefTenantRequest, 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 *PatchedWritableDeviceWithConfigContextRequest) SetTenant(v TenantRequest)` +`func (o *PatchedWritableDeviceWithConfigContextRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. @@ -175,20 +175,20 @@ HasTenant returns a boolean if a field has been set. UnsetTenant ensures that no value is present for Tenant, not even an explicit nil ### GetPlatform -`func (o *PatchedWritableDeviceWithConfigContextRequest) GetPlatform() PlatformRequest` +`func (o *PatchedWritableDeviceWithConfigContextRequest) GetPlatform() BriefPlatformRequest` GetPlatform returns the Platform field if non-nil, zero value otherwise. ### GetPlatformOk -`func (o *PatchedWritableDeviceWithConfigContextRequest) GetPlatformOk() (*PlatformRequest, bool)` +`func (o *PatchedWritableDeviceWithConfigContextRequest) GetPlatformOk() (*BriefPlatformRequest, bool)` GetPlatformOk returns a tuple with the Platform field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPlatform -`func (o *PatchedWritableDeviceWithConfigContextRequest) SetPlatform(v PlatformRequest)` +`func (o *PatchedWritableDeviceWithConfigContextRequest) SetPlatform(v BriefPlatformRequest)` SetPlatform sets Platform field to given value. @@ -270,20 +270,20 @@ HasAssetTag returns a boolean if a field has been set. UnsetAssetTag ensures that no value is present for AssetTag, not even an explicit nil ### GetSite -`func (o *PatchedWritableDeviceWithConfigContextRequest) GetSite() SiteRequest` +`func (o *PatchedWritableDeviceWithConfigContextRequest) GetSite() BriefSiteRequest` GetSite returns the Site field if non-nil, zero value otherwise. ### GetSiteOk -`func (o *PatchedWritableDeviceWithConfigContextRequest) GetSiteOk() (*SiteRequest, bool)` +`func (o *PatchedWritableDeviceWithConfigContextRequest) GetSiteOk() (*BriefSiteRequest, bool)` GetSiteOk returns a tuple with the Site field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSite -`func (o *PatchedWritableDeviceWithConfigContextRequest) SetSite(v SiteRequest)` +`func (o *PatchedWritableDeviceWithConfigContextRequest) SetSite(v BriefSiteRequest)` SetSite sets Site field to given value. @@ -295,20 +295,20 @@ HasSite returns a boolean if a field has been set. ### GetLocation -`func (o *PatchedWritableDeviceWithConfigContextRequest) GetLocation() LocationRequest` +`func (o *PatchedWritableDeviceWithConfigContextRequest) GetLocation() BriefLocationRequest` GetLocation returns the Location field if non-nil, zero value otherwise. ### GetLocationOk -`func (o *PatchedWritableDeviceWithConfigContextRequest) GetLocationOk() (*LocationRequest, bool)` +`func (o *PatchedWritableDeviceWithConfigContextRequest) GetLocationOk() (*BriefLocationRequest, 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 *PatchedWritableDeviceWithConfigContextRequest) SetLocation(v LocationRequest)` +`func (o *PatchedWritableDeviceWithConfigContextRequest) SetLocation(v BriefLocationRequest)` SetLocation sets Location field to given value. @@ -330,20 +330,20 @@ HasLocation returns a boolean if a field has been set. UnsetLocation ensures that no value is present for Location, not even an explicit nil ### GetRack -`func (o *PatchedWritableDeviceWithConfigContextRequest) GetRack() RackRequest` +`func (o *PatchedWritableDeviceWithConfigContextRequest) GetRack() BriefRackRequest` GetRack returns the Rack field if non-nil, zero value otherwise. ### GetRackOk -`func (o *PatchedWritableDeviceWithConfigContextRequest) GetRackOk() (*RackRequest, bool)` +`func (o *PatchedWritableDeviceWithConfigContextRequest) GetRackOk() (*BriefRackRequest, bool)` GetRackOk returns a tuple with the Rack field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRack -`func (o *PatchedWritableDeviceWithConfigContextRequest) SetRack(v RackRequest)` +`func (o *PatchedWritableDeviceWithConfigContextRequest) SetRack(v BriefRackRequest)` SetRack sets Rack field to given value. @@ -545,20 +545,20 @@ HasAirflow returns a boolean if a field has been set. ### GetPrimaryIp4 -`func (o *PatchedWritableDeviceWithConfigContextRequest) GetPrimaryIp4() IPAddressRequest` +`func (o *PatchedWritableDeviceWithConfigContextRequest) GetPrimaryIp4() BriefIPAddressRequest` GetPrimaryIp4 returns the PrimaryIp4 field if non-nil, zero value otherwise. ### GetPrimaryIp4Ok -`func (o *PatchedWritableDeviceWithConfigContextRequest) GetPrimaryIp4Ok() (*IPAddressRequest, bool)` +`func (o *PatchedWritableDeviceWithConfigContextRequest) GetPrimaryIp4Ok() (*BriefIPAddressRequest, 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 *PatchedWritableDeviceWithConfigContextRequest) SetPrimaryIp4(v IPAddressRequest)` +`func (o *PatchedWritableDeviceWithConfigContextRequest) SetPrimaryIp4(v BriefIPAddressRequest)` SetPrimaryIp4 sets PrimaryIp4 field to given value. @@ -580,20 +580,20 @@ HasPrimaryIp4 returns a boolean if a field has been set. UnsetPrimaryIp4 ensures that no value is present for PrimaryIp4, not even an explicit nil ### GetPrimaryIp6 -`func (o *PatchedWritableDeviceWithConfigContextRequest) GetPrimaryIp6() IPAddressRequest` +`func (o *PatchedWritableDeviceWithConfigContextRequest) GetPrimaryIp6() BriefIPAddressRequest` GetPrimaryIp6 returns the PrimaryIp6 field if non-nil, zero value otherwise. ### GetPrimaryIp6Ok -`func (o *PatchedWritableDeviceWithConfigContextRequest) GetPrimaryIp6Ok() (*IPAddressRequest, bool)` +`func (o *PatchedWritableDeviceWithConfigContextRequest) GetPrimaryIp6Ok() (*BriefIPAddressRequest, 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 *PatchedWritableDeviceWithConfigContextRequest) SetPrimaryIp6(v IPAddressRequest)` +`func (o *PatchedWritableDeviceWithConfigContextRequest) SetPrimaryIp6(v BriefIPAddressRequest)` SetPrimaryIp6 sets PrimaryIp6 field to given value. @@ -615,20 +615,20 @@ HasPrimaryIp6 returns a boolean if a field has been set. UnsetPrimaryIp6 ensures that no value is present for PrimaryIp6, not even an explicit nil ### GetOobIp -`func (o *PatchedWritableDeviceWithConfigContextRequest) GetOobIp() IPAddressRequest` +`func (o *PatchedWritableDeviceWithConfigContextRequest) GetOobIp() BriefIPAddressRequest` GetOobIp returns the OobIp field if non-nil, zero value otherwise. ### GetOobIpOk -`func (o *PatchedWritableDeviceWithConfigContextRequest) GetOobIpOk() (*IPAddressRequest, bool)` +`func (o *PatchedWritableDeviceWithConfigContextRequest) GetOobIpOk() (*BriefIPAddressRequest, bool)` GetOobIpOk returns a tuple with the OobIp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetOobIp -`func (o *PatchedWritableDeviceWithConfigContextRequest) SetOobIp(v IPAddressRequest)` +`func (o *PatchedWritableDeviceWithConfigContextRequest) SetOobIp(v BriefIPAddressRequest)` SetOobIp sets OobIp field to given value. @@ -650,20 +650,20 @@ HasOobIp returns a boolean if a field has been set. UnsetOobIp ensures that no value is present for OobIp, not even an explicit nil ### GetCluster -`func (o *PatchedWritableDeviceWithConfigContextRequest) GetCluster() ClusterRequest` +`func (o *PatchedWritableDeviceWithConfigContextRequest) GetCluster() BriefClusterRequest` GetCluster returns the Cluster field if non-nil, zero value otherwise. ### GetClusterOk -`func (o *PatchedWritableDeviceWithConfigContextRequest) GetClusterOk() (*ClusterRequest, bool)` +`func (o *PatchedWritableDeviceWithConfigContextRequest) GetClusterOk() (*BriefClusterRequest, bool)` GetClusterOk returns a tuple with the Cluster field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCluster -`func (o *PatchedWritableDeviceWithConfigContextRequest) SetCluster(v ClusterRequest)` +`func (o *PatchedWritableDeviceWithConfigContextRequest) SetCluster(v BriefClusterRequest)` SetCluster sets Cluster field to given value. @@ -685,20 +685,20 @@ HasCluster returns a boolean if a field has been set. UnsetCluster ensures that no value is present for Cluster, not even an explicit nil ### GetVirtualChassis -`func (o *PatchedWritableDeviceWithConfigContextRequest) GetVirtualChassis() VirtualChassisRequest` +`func (o *PatchedWritableDeviceWithConfigContextRequest) GetVirtualChassis() BriefVirtualChassisRequest` GetVirtualChassis returns the VirtualChassis field if non-nil, zero value otherwise. ### GetVirtualChassisOk -`func (o *PatchedWritableDeviceWithConfigContextRequest) GetVirtualChassisOk() (*VirtualChassisRequest, bool)` +`func (o *PatchedWritableDeviceWithConfigContextRequest) GetVirtualChassisOk() (*BriefVirtualChassisRequest, bool)` GetVirtualChassisOk returns a tuple with the VirtualChassis field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVirtualChassis -`func (o *PatchedWritableDeviceWithConfigContextRequest) SetVirtualChassis(v VirtualChassisRequest)` +`func (o *PatchedWritableDeviceWithConfigContextRequest) SetVirtualChassis(v BriefVirtualChassisRequest)` SetVirtualChassis sets VirtualChassis field to given value. @@ -840,20 +840,20 @@ HasComments returns a boolean if a field has been set. ### GetConfigTemplate -`func (o *PatchedWritableDeviceWithConfigContextRequest) GetConfigTemplate() ConfigTemplateRequest` +`func (o *PatchedWritableDeviceWithConfigContextRequest) GetConfigTemplate() BriefConfigTemplateRequest` GetConfigTemplate returns the ConfigTemplate field if non-nil, zero value otherwise. ### GetConfigTemplateOk -`func (o *PatchedWritableDeviceWithConfigContextRequest) GetConfigTemplateOk() (*ConfigTemplateRequest, bool)` +`func (o *PatchedWritableDeviceWithConfigContextRequest) GetConfigTemplateOk() (*BriefConfigTemplateRequest, bool)` GetConfigTemplateOk returns a tuple with the ConfigTemplate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetConfigTemplate -`func (o *PatchedWritableDeviceWithConfigContextRequest) SetConfigTemplate(v ConfigTemplateRequest)` +`func (o *PatchedWritableDeviceWithConfigContextRequest) SetConfigTemplate(v BriefConfigTemplateRequest)` SetConfigTemplate sets ConfigTemplate field to given value. diff --git a/docs/PatchedWritableEventRuleRequest.md b/docs/PatchedWritableEventRuleRequest.md index b1539fb42..eced560e5 100644 --- a/docs/PatchedWritableEventRuleRequest.md +++ b/docs/PatchedWritableEventRuleRequest.md @@ -6,12 +6,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **ObjectTypes** | Pointer to **[]string** | | [optional] **Name** | Pointer to **string** | | [optional] -**TypeCreate** | Pointer to **bool** | Triggers when a matching object is created. | [optional] -**TypeUpdate** | Pointer to **bool** | Triggers when a matching object is updated. | [optional] -**TypeDelete** | Pointer to **bool** | Triggers when a matching object is deleted. | [optional] -**TypeJobStart** | Pointer to **bool** | Triggers when a job for a matching object is started. | [optional] -**TypeJobEnd** | Pointer to **bool** | Triggers when a job for a matching object terminates. | [optional] **Enabled** | Pointer to **bool** | | [optional] +**EventTypes** | Pointer to [**[]EventRuleEventTypesInner**](EventRuleEventTypesInner.md) | The types of event which will trigger this rule. | [optional] **Conditions** | Pointer to **interface{}** | A set of conditions which determine whether the event will be generated. | [optional] **ActionType** | Pointer to [**EventRuleActionTypeValue**](EventRuleActionTypeValue.md) | | [optional] **ActionObjectType** | Pointer to **string** | | [optional] @@ -89,155 +85,55 @@ SetName sets Name field to given value. HasName returns a boolean if a field has been set. -### GetTypeCreate - -`func (o *PatchedWritableEventRuleRequest) GetTypeCreate() bool` - -GetTypeCreate returns the TypeCreate field if non-nil, zero value otherwise. - -### GetTypeCreateOk - -`func (o *PatchedWritableEventRuleRequest) GetTypeCreateOk() (*bool, bool)` - -GetTypeCreateOk returns a tuple with the TypeCreate field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTypeCreate - -`func (o *PatchedWritableEventRuleRequest) SetTypeCreate(v bool)` - -SetTypeCreate sets TypeCreate field to given value. - -### HasTypeCreate - -`func (o *PatchedWritableEventRuleRequest) HasTypeCreate() bool` - -HasTypeCreate returns a boolean if a field has been set. - -### GetTypeUpdate - -`func (o *PatchedWritableEventRuleRequest) GetTypeUpdate() bool` - -GetTypeUpdate returns the TypeUpdate field if non-nil, zero value otherwise. - -### GetTypeUpdateOk - -`func (o *PatchedWritableEventRuleRequest) GetTypeUpdateOk() (*bool, bool)` - -GetTypeUpdateOk returns a tuple with the TypeUpdate field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTypeUpdate - -`func (o *PatchedWritableEventRuleRequest) SetTypeUpdate(v bool)` - -SetTypeUpdate sets TypeUpdate field to given value. - -### HasTypeUpdate - -`func (o *PatchedWritableEventRuleRequest) HasTypeUpdate() bool` - -HasTypeUpdate returns a boolean if a field has been set. - -### GetTypeDelete - -`func (o *PatchedWritableEventRuleRequest) GetTypeDelete() bool` - -GetTypeDelete returns the TypeDelete field if non-nil, zero value otherwise. - -### GetTypeDeleteOk - -`func (o *PatchedWritableEventRuleRequest) GetTypeDeleteOk() (*bool, bool)` - -GetTypeDeleteOk returns a tuple with the TypeDelete field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTypeDelete - -`func (o *PatchedWritableEventRuleRequest) SetTypeDelete(v bool)` - -SetTypeDelete sets TypeDelete field to given value. - -### HasTypeDelete - -`func (o *PatchedWritableEventRuleRequest) HasTypeDelete() bool` - -HasTypeDelete returns a boolean if a field has been set. - -### GetTypeJobStart - -`func (o *PatchedWritableEventRuleRequest) GetTypeJobStart() bool` - -GetTypeJobStart returns the TypeJobStart field if non-nil, zero value otherwise. - -### GetTypeJobStartOk - -`func (o *PatchedWritableEventRuleRequest) GetTypeJobStartOk() (*bool, bool)` - -GetTypeJobStartOk returns a tuple with the TypeJobStart field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTypeJobStart - -`func (o *PatchedWritableEventRuleRequest) SetTypeJobStart(v bool)` - -SetTypeJobStart sets TypeJobStart field to given value. - -### HasTypeJobStart - -`func (o *PatchedWritableEventRuleRequest) HasTypeJobStart() bool` - -HasTypeJobStart returns a boolean if a field has been set. - -### GetTypeJobEnd +### GetEnabled -`func (o *PatchedWritableEventRuleRequest) GetTypeJobEnd() bool` +`func (o *PatchedWritableEventRuleRequest) GetEnabled() bool` -GetTypeJobEnd returns the TypeJobEnd field if non-nil, zero value otherwise. +GetEnabled returns the Enabled field if non-nil, zero value otherwise. -### GetTypeJobEndOk +### GetEnabledOk -`func (o *PatchedWritableEventRuleRequest) GetTypeJobEndOk() (*bool, bool)` +`func (o *PatchedWritableEventRuleRequest) GetEnabledOk() (*bool, bool)` -GetTypeJobEndOk returns a tuple with the TypeJobEnd field if it's non-nil, zero value otherwise +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. -### SetTypeJobEnd +### SetEnabled -`func (o *PatchedWritableEventRuleRequest) SetTypeJobEnd(v bool)` +`func (o *PatchedWritableEventRuleRequest) SetEnabled(v bool)` -SetTypeJobEnd sets TypeJobEnd field to given value. +SetEnabled sets Enabled field to given value. -### HasTypeJobEnd +### HasEnabled -`func (o *PatchedWritableEventRuleRequest) HasTypeJobEnd() bool` +`func (o *PatchedWritableEventRuleRequest) HasEnabled() bool` -HasTypeJobEnd returns a boolean if a field has been set. +HasEnabled returns a boolean if a field has been set. -### GetEnabled +### GetEventTypes -`func (o *PatchedWritableEventRuleRequest) GetEnabled() bool` +`func (o *PatchedWritableEventRuleRequest) GetEventTypes() []EventRuleEventTypesInner` -GetEnabled returns the Enabled field if non-nil, zero value otherwise. +GetEventTypes returns the EventTypes field if non-nil, zero value otherwise. -### GetEnabledOk +### GetEventTypesOk -`func (o *PatchedWritableEventRuleRequest) GetEnabledOk() (*bool, bool)` +`func (o *PatchedWritableEventRuleRequest) GetEventTypesOk() (*[]EventRuleEventTypesInner, bool)` -GetEnabledOk returns a tuple with the Enabled field if it's non-nil, zero value otherwise +GetEventTypesOk returns a tuple with the EventTypes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetEnabled +### SetEventTypes -`func (o *PatchedWritableEventRuleRequest) SetEnabled(v bool)` +`func (o *PatchedWritableEventRuleRequest) SetEventTypes(v []EventRuleEventTypesInner)` -SetEnabled sets Enabled field to given value. +SetEventTypes sets EventTypes field to given value. -### HasEnabled +### HasEventTypes -`func (o *PatchedWritableEventRuleRequest) HasEnabled() bool` +`func (o *PatchedWritableEventRuleRequest) HasEventTypes() bool` -HasEnabled returns a boolean if a field has been set. +HasEventTypes returns a boolean if a field has been set. ### GetConditions diff --git a/docs/PatchedWritableFrontPortRequest.md b/docs/PatchedWritableFrontPortRequest.md index 1ad15f568..83f7b749b 100644 --- a/docs/PatchedWritableFrontPortRequest.md +++ b/docs/PatchedWritableFrontPortRequest.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Device** | Pointer to [**DeviceRequest**](DeviceRequest.md) | | [optional] -**Module** | Pointer to [**NullableModuleRequest**](ModuleRequest.md) | | [optional] +**Device** | Pointer to [**BriefDeviceRequest**](BriefDeviceRequest.md) | | [optional] +**Module** | Pointer to [**NullableBriefModuleRequest**](BriefModuleRequest.md) | | [optional] **Name** | Pointer to **string** | | [optional] **Label** | Pointer to **string** | Physical label | [optional] **Type** | Pointer to [**FrontPortTypeValue**](FrontPortTypeValue.md) | | [optional] @@ -38,20 +38,20 @@ but it doesn't guarantee that properties required by API are set ### GetDevice -`func (o *PatchedWritableFrontPortRequest) GetDevice() DeviceRequest` +`func (o *PatchedWritableFrontPortRequest) GetDevice() BriefDeviceRequest` GetDevice returns the Device field if non-nil, zero value otherwise. ### GetDeviceOk -`func (o *PatchedWritableFrontPortRequest) GetDeviceOk() (*DeviceRequest, bool)` +`func (o *PatchedWritableFrontPortRequest) GetDeviceOk() (*BriefDeviceRequest, 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 *PatchedWritableFrontPortRequest) SetDevice(v DeviceRequest)` +`func (o *PatchedWritableFrontPortRequest) SetDevice(v BriefDeviceRequest)` SetDevice sets Device field to given value. @@ -63,20 +63,20 @@ HasDevice returns a boolean if a field has been set. ### GetModule -`func (o *PatchedWritableFrontPortRequest) GetModule() ModuleRequest` +`func (o *PatchedWritableFrontPortRequest) GetModule() BriefModuleRequest` GetModule returns the Module field if non-nil, zero value otherwise. ### GetModuleOk -`func (o *PatchedWritableFrontPortRequest) GetModuleOk() (*ModuleRequest, bool)` +`func (o *PatchedWritableFrontPortRequest) GetModuleOk() (*BriefModuleRequest, bool)` GetModuleOk returns a tuple with the Module field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetModule -`func (o *PatchedWritableFrontPortRequest) SetModule(v ModuleRequest)` +`func (o *PatchedWritableFrontPortRequest) SetModule(v BriefModuleRequest)` SetModule sets Module field to given value. diff --git a/docs/PatchedWritableFrontPortTemplateRequest.md b/docs/PatchedWritableFrontPortTemplateRequest.md index 2b2676581..79b85c905 100644 --- a/docs/PatchedWritableFrontPortTemplateRequest.md +++ b/docs/PatchedWritableFrontPortTemplateRequest.md @@ -4,13 +4,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**DeviceType** | Pointer to [**NullableDeviceTypeRequest**](DeviceTypeRequest.md) | | [optional] -**ModuleType** | Pointer to [**NullableModuleTypeRequest**](ModuleTypeRequest.md) | | [optional] +**DeviceType** | Pointer to [**NullableBriefDeviceTypeRequest**](BriefDeviceTypeRequest.md) | | [optional] +**ModuleType** | Pointer to [**NullableBriefModuleTypeRequest**](BriefModuleTypeRequest.md) | | [optional] **Name** | Pointer to **string** | {module} is accepted as a substitution for the module bay position when attached to a module type. | [optional] **Label** | Pointer to **string** | Physical label | [optional] **Type** | Pointer to [**FrontPortTypeValue**](FrontPortTypeValue.md) | | [optional] **Color** | Pointer to **string** | | [optional] -**RearPort** | Pointer to [**RearPortTemplateRequest**](RearPortTemplateRequest.md) | | [optional] +**RearPort** | Pointer to [**BriefRearPortTemplateRequest**](BriefRearPortTemplateRequest.md) | | [optional] **RearPortPosition** | Pointer to **int32** | | [optional] [default to 1] **Description** | Pointer to **string** | | [optional] @@ -35,20 +35,20 @@ but it doesn't guarantee that properties required by API are set ### GetDeviceType -`func (o *PatchedWritableFrontPortTemplateRequest) GetDeviceType() DeviceTypeRequest` +`func (o *PatchedWritableFrontPortTemplateRequest) GetDeviceType() BriefDeviceTypeRequest` GetDeviceType returns the DeviceType field if non-nil, zero value otherwise. ### GetDeviceTypeOk -`func (o *PatchedWritableFrontPortTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool)` +`func (o *PatchedWritableFrontPortTemplateRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool)` GetDeviceTypeOk returns a tuple with the DeviceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDeviceType -`func (o *PatchedWritableFrontPortTemplateRequest) SetDeviceType(v DeviceTypeRequest)` +`func (o *PatchedWritableFrontPortTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest)` SetDeviceType sets DeviceType field to given value. @@ -70,20 +70,20 @@ HasDeviceType returns a boolean if a field has been set. UnsetDeviceType ensures that no value is present for DeviceType, not even an explicit nil ### GetModuleType -`func (o *PatchedWritableFrontPortTemplateRequest) GetModuleType() ModuleTypeRequest` +`func (o *PatchedWritableFrontPortTemplateRequest) GetModuleType() BriefModuleTypeRequest` GetModuleType returns the ModuleType field if non-nil, zero value otherwise. ### GetModuleTypeOk -`func (o *PatchedWritableFrontPortTemplateRequest) GetModuleTypeOk() (*ModuleTypeRequest, bool)` +`func (o *PatchedWritableFrontPortTemplateRequest) GetModuleTypeOk() (*BriefModuleTypeRequest, bool)` GetModuleTypeOk returns a tuple with the ModuleType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetModuleType -`func (o *PatchedWritableFrontPortTemplateRequest) SetModuleType(v ModuleTypeRequest)` +`func (o *PatchedWritableFrontPortTemplateRequest) SetModuleType(v BriefModuleTypeRequest)` SetModuleType sets ModuleType field to given value. @@ -205,20 +205,20 @@ HasColor returns a boolean if a field has been set. ### GetRearPort -`func (o *PatchedWritableFrontPortTemplateRequest) GetRearPort() RearPortTemplateRequest` +`func (o *PatchedWritableFrontPortTemplateRequest) GetRearPort() BriefRearPortTemplateRequest` GetRearPort returns the RearPort field if non-nil, zero value otherwise. ### GetRearPortOk -`func (o *PatchedWritableFrontPortTemplateRequest) GetRearPortOk() (*RearPortTemplateRequest, bool)` +`func (o *PatchedWritableFrontPortTemplateRequest) GetRearPortOk() (*BriefRearPortTemplateRequest, bool)` GetRearPortOk returns a tuple with the RearPort field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRearPort -`func (o *PatchedWritableFrontPortTemplateRequest) SetRearPort(v RearPortTemplateRequest)` +`func (o *PatchedWritableFrontPortTemplateRequest) SetRearPort(v BriefRearPortTemplateRequest)` SetRearPort sets RearPort field to given value. diff --git a/docs/PatchedWritableIPAddressRequest.md b/docs/PatchedWritableIPAddressRequest.md index 283f8e6e4..49191ed36 100644 --- a/docs/PatchedWritableIPAddressRequest.md +++ b/docs/PatchedWritableIPAddressRequest.md @@ -5,8 +5,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Address** | Pointer to **string** | | [optional] -**Vrf** | Pointer to [**NullableVRFRequest**](VRFRequest.md) | | [optional] -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] +**Vrf** | Pointer to [**NullableBriefVRFRequest**](BriefVRFRequest.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] **Status** | Pointer to [**PatchedWritableIPAddressRequestStatus**](PatchedWritableIPAddressRequestStatus.md) | | [optional] **Role** | Pointer to [**PatchedWritableIPAddressRequestRole**](PatchedWritableIPAddressRequestRole.md) | | [optional] **AssignedObjectType** | Pointer to **NullableString** | | [optional] @@ -64,20 +64,20 @@ HasAddress returns a boolean if a field has been set. ### GetVrf -`func (o *PatchedWritableIPAddressRequest) GetVrf() VRFRequest` +`func (o *PatchedWritableIPAddressRequest) GetVrf() BriefVRFRequest` GetVrf returns the Vrf field if non-nil, zero value otherwise. ### GetVrfOk -`func (o *PatchedWritableIPAddressRequest) GetVrfOk() (*VRFRequest, bool)` +`func (o *PatchedWritableIPAddressRequest) GetVrfOk() (*BriefVRFRequest, bool)` GetVrfOk returns a tuple with the Vrf field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVrf -`func (o *PatchedWritableIPAddressRequest) SetVrf(v VRFRequest)` +`func (o *PatchedWritableIPAddressRequest) SetVrf(v BriefVRFRequest)` SetVrf sets Vrf field to given value. @@ -99,20 +99,20 @@ HasVrf returns a boolean if a field has been set. UnsetVrf ensures that no value is present for Vrf, not even an explicit nil ### GetTenant -`func (o *PatchedWritableIPAddressRequest) GetTenant() TenantRequest` +`func (o *PatchedWritableIPAddressRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *PatchedWritableIPAddressRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *PatchedWritableIPAddressRequest) GetTenantOk() (*BriefTenantRequest, 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 *PatchedWritableIPAddressRequest) SetTenant(v TenantRequest)` +`func (o *PatchedWritableIPAddressRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. diff --git a/docs/PatchedWritableIPRangeRequest.md b/docs/PatchedWritableIPRangeRequest.md index f38f93833..3179cd2c0 100644 --- a/docs/PatchedWritableIPRangeRequest.md +++ b/docs/PatchedWritableIPRangeRequest.md @@ -6,10 +6,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **StartAddress** | Pointer to **string** | | [optional] **EndAddress** | Pointer to **string** | | [optional] -**Vrf** | Pointer to [**NullableVRFRequest**](VRFRequest.md) | | [optional] -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] +**Vrf** | Pointer to [**NullableBriefVRFRequest**](BriefVRFRequest.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] **Status** | Pointer to [**PatchedWritableIPRangeRequestStatus**](PatchedWritableIPRangeRequestStatus.md) | | [optional] -**Role** | Pointer to [**NullableRoleRequest**](RoleRequest.md) | | [optional] +**Role** | Pointer to [**NullableBriefRoleRequest**](BriefRoleRequest.md) | | [optional] **Description** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] @@ -87,20 +87,20 @@ HasEndAddress returns a boolean if a field has been set. ### GetVrf -`func (o *PatchedWritableIPRangeRequest) GetVrf() VRFRequest` +`func (o *PatchedWritableIPRangeRequest) GetVrf() BriefVRFRequest` GetVrf returns the Vrf field if non-nil, zero value otherwise. ### GetVrfOk -`func (o *PatchedWritableIPRangeRequest) GetVrfOk() (*VRFRequest, bool)` +`func (o *PatchedWritableIPRangeRequest) GetVrfOk() (*BriefVRFRequest, bool)` GetVrfOk returns a tuple with the Vrf field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVrf -`func (o *PatchedWritableIPRangeRequest) SetVrf(v VRFRequest)` +`func (o *PatchedWritableIPRangeRequest) SetVrf(v BriefVRFRequest)` SetVrf sets Vrf field to given value. @@ -122,20 +122,20 @@ HasVrf returns a boolean if a field has been set. UnsetVrf ensures that no value is present for Vrf, not even an explicit nil ### GetTenant -`func (o *PatchedWritableIPRangeRequest) GetTenant() TenantRequest` +`func (o *PatchedWritableIPRangeRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *PatchedWritableIPRangeRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *PatchedWritableIPRangeRequest) GetTenantOk() (*BriefTenantRequest, 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 *PatchedWritableIPRangeRequest) SetTenant(v TenantRequest)` +`func (o *PatchedWritableIPRangeRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. @@ -182,20 +182,20 @@ HasStatus returns a boolean if a field has been set. ### GetRole -`func (o *PatchedWritableIPRangeRequest) GetRole() RoleRequest` +`func (o *PatchedWritableIPRangeRequest) GetRole() BriefRoleRequest` GetRole returns the Role field if non-nil, zero value otherwise. ### GetRoleOk -`func (o *PatchedWritableIPRangeRequest) GetRoleOk() (*RoleRequest, bool)` +`func (o *PatchedWritableIPRangeRequest) GetRoleOk() (*BriefRoleRequest, 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 *PatchedWritableIPRangeRequest) SetRole(v RoleRequest)` +`func (o *PatchedWritableIPRangeRequest) SetRole(v BriefRoleRequest)` SetRole sets Role field to given value. diff --git a/docs/PatchedWritableIPSecProfileRequest.md b/docs/PatchedWritableIPSecProfileRequest.md index 8692a34ab..8cb953b36 100644 --- a/docs/PatchedWritableIPSecProfileRequest.md +++ b/docs/PatchedWritableIPSecProfileRequest.md @@ -7,8 +7,8 @@ Name | Type | Description | Notes **Name** | Pointer to **string** | | [optional] **Description** | Pointer to **string** | | [optional] **Mode** | Pointer to [**IPSecProfileModeValue**](IPSecProfileModeValue.md) | | [optional] -**IkePolicy** | Pointer to [**IKEPolicyRequest**](IKEPolicyRequest.md) | | [optional] -**IpsecPolicy** | Pointer to [**IPSecPolicyRequest**](IPSecPolicyRequest.md) | | [optional] +**IkePolicy** | Pointer to [**BriefIKEPolicyRequest**](BriefIKEPolicyRequest.md) | | [optional] +**IpsecPolicy** | Pointer to [**BriefIPSecPolicyRequest**](BriefIPSecPolicyRequest.md) | | [optional] **Comments** | Pointer to **string** | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] @@ -109,20 +109,20 @@ HasMode returns a boolean if a field has been set. ### GetIkePolicy -`func (o *PatchedWritableIPSecProfileRequest) GetIkePolicy() IKEPolicyRequest` +`func (o *PatchedWritableIPSecProfileRequest) GetIkePolicy() BriefIKEPolicyRequest` GetIkePolicy returns the IkePolicy field if non-nil, zero value otherwise. ### GetIkePolicyOk -`func (o *PatchedWritableIPSecProfileRequest) GetIkePolicyOk() (*IKEPolicyRequest, bool)` +`func (o *PatchedWritableIPSecProfileRequest) GetIkePolicyOk() (*BriefIKEPolicyRequest, bool)` GetIkePolicyOk returns a tuple with the IkePolicy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIkePolicy -`func (o *PatchedWritableIPSecProfileRequest) SetIkePolicy(v IKEPolicyRequest)` +`func (o *PatchedWritableIPSecProfileRequest) SetIkePolicy(v BriefIKEPolicyRequest)` SetIkePolicy sets IkePolicy field to given value. @@ -134,20 +134,20 @@ HasIkePolicy returns a boolean if a field has been set. ### GetIpsecPolicy -`func (o *PatchedWritableIPSecProfileRequest) GetIpsecPolicy() IPSecPolicyRequest` +`func (o *PatchedWritableIPSecProfileRequest) GetIpsecPolicy() BriefIPSecPolicyRequest` GetIpsecPolicy returns the IpsecPolicy field if non-nil, zero value otherwise. ### GetIpsecPolicyOk -`func (o *PatchedWritableIPSecProfileRequest) GetIpsecPolicyOk() (*IPSecPolicyRequest, bool)` +`func (o *PatchedWritableIPSecProfileRequest) GetIpsecPolicyOk() (*BriefIPSecPolicyRequest, bool)` GetIpsecPolicyOk returns a tuple with the IpsecPolicy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIpsecPolicy -`func (o *PatchedWritableIPSecProfileRequest) SetIpsecPolicy(v IPSecPolicyRequest)` +`func (o *PatchedWritableIPSecProfileRequest) SetIpsecPolicy(v BriefIPSecPolicyRequest)` SetIpsecPolicy sets IpsecPolicy field to given value. diff --git a/docs/PatchedWritableIPSecProposalRequest.md b/docs/PatchedWritableIPSecProposalRequest.md index cb3aa4ad1..b07ad7c86 100644 --- a/docs/PatchedWritableIPSecProposalRequest.md +++ b/docs/PatchedWritableIPSecProposalRequest.md @@ -6,8 +6,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | Pointer to **string** | | [optional] **Description** | Pointer to **string** | | [optional] -**EncryptionAlgorithm** | Pointer to [**Encryption**](Encryption.md) | | [optional] -**AuthenticationAlgorithm** | Pointer to [**Authentication**](Authentication.md) | | [optional] +**EncryptionAlgorithm** | Pointer to [**Encryption1**](Encryption1.md) | | [optional] +**AuthenticationAlgorithm** | Pointer to [**Authentication1**](Authentication1.md) | | [optional] **SaLifetimeSeconds** | Pointer to **NullableInt32** | Security association lifetime (seconds) | [optional] **SaLifetimeData** | Pointer to **NullableInt32** | Security association lifetime (in kilobytes) | [optional] **Comments** | Pointer to **string** | | [optional] @@ -85,20 +85,20 @@ HasDescription returns a boolean if a field has been set. ### GetEncryptionAlgorithm -`func (o *PatchedWritableIPSecProposalRequest) GetEncryptionAlgorithm() Encryption` +`func (o *PatchedWritableIPSecProposalRequest) GetEncryptionAlgorithm() Encryption1` GetEncryptionAlgorithm returns the EncryptionAlgorithm field if non-nil, zero value otherwise. ### GetEncryptionAlgorithmOk -`func (o *PatchedWritableIPSecProposalRequest) GetEncryptionAlgorithmOk() (*Encryption, bool)` +`func (o *PatchedWritableIPSecProposalRequest) GetEncryptionAlgorithmOk() (*Encryption1, bool)` GetEncryptionAlgorithmOk returns a tuple with the EncryptionAlgorithm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetEncryptionAlgorithm -`func (o *PatchedWritableIPSecProposalRequest) SetEncryptionAlgorithm(v Encryption)` +`func (o *PatchedWritableIPSecProposalRequest) SetEncryptionAlgorithm(v Encryption1)` SetEncryptionAlgorithm sets EncryptionAlgorithm field to given value. @@ -110,20 +110,20 @@ HasEncryptionAlgorithm returns a boolean if a field has been set. ### GetAuthenticationAlgorithm -`func (o *PatchedWritableIPSecProposalRequest) GetAuthenticationAlgorithm() Authentication` +`func (o *PatchedWritableIPSecProposalRequest) GetAuthenticationAlgorithm() Authentication1` GetAuthenticationAlgorithm returns the AuthenticationAlgorithm field if non-nil, zero value otherwise. ### GetAuthenticationAlgorithmOk -`func (o *PatchedWritableIPSecProposalRequest) GetAuthenticationAlgorithmOk() (*Authentication, bool)` +`func (o *PatchedWritableIPSecProposalRequest) GetAuthenticationAlgorithmOk() (*Authentication1, bool)` GetAuthenticationAlgorithmOk returns a tuple with the AuthenticationAlgorithm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetAuthenticationAlgorithm -`func (o *PatchedWritableIPSecProposalRequest) SetAuthenticationAlgorithm(v Authentication)` +`func (o *PatchedWritableIPSecProposalRequest) SetAuthenticationAlgorithm(v Authentication1)` SetAuthenticationAlgorithm sets AuthenticationAlgorithm field to given value. diff --git a/docs/PatchedWritableInterfaceRequest.md b/docs/PatchedWritableInterfaceRequest.md index be3d47b6d..e7553540e 100644 --- a/docs/PatchedWritableInterfaceRequest.md +++ b/docs/PatchedWritableInterfaceRequest.md @@ -4,9 +4,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Device** | Pointer to [**DeviceRequest**](DeviceRequest.md) | | [optional] +**Device** | Pointer to [**BriefDeviceRequest**](BriefDeviceRequest.md) | | [optional] **Vdcs** | Pointer to **[]int32** | | [optional] -**Module** | Pointer to [**NullableModuleRequest**](ModuleRequest.md) | | [optional] +**Module** | Pointer to [**NullableBriefModuleRequest**](BriefModuleRequest.md) | | [optional] **Name** | Pointer to **string** | | [optional] **Label** | Pointer to **string** | Physical label | [optional] **Type** | Pointer to [**InterfaceTypeValue**](InterfaceTypeValue.md) | | [optional] @@ -22,18 +22,18 @@ Name | Type | Description | Notes **MgmtOnly** | Pointer to **bool** | This interface is used only for out-of-band management | [optional] **Description** | Pointer to **string** | | [optional] **Mode** | Pointer to [**PatchedWritableInterfaceRequestMode**](PatchedWritableInterfaceRequestMode.md) | | [optional] -**RfRole** | Pointer to [**WirelessRole**](WirelessRole.md) | | [optional] -**RfChannel** | Pointer to [**WirelessChannel**](WirelessChannel.md) | | [optional] +**RfRole** | Pointer to [**WirelessRole1**](WirelessRole1.md) | | [optional] +**RfChannel** | Pointer to [**WirelessChannel1**](WirelessChannel1.md) | | [optional] **PoeMode** | Pointer to [**InterfacePoeModeValue**](InterfacePoeModeValue.md) | | [optional] **PoeType** | Pointer to [**InterfacePoeTypeValue**](InterfacePoeTypeValue.md) | | [optional] **RfChannelFrequency** | Pointer to **NullableFloat64** | Populated by selected channel (if set) | [optional] **RfChannelWidth** | Pointer to **NullableFloat64** | Populated by selected channel (if set) | [optional] **TxPower** | Pointer to **NullableInt32** | | [optional] -**UntaggedVlan** | Pointer to [**NullableVLANRequest**](VLANRequest.md) | | [optional] +**UntaggedVlan** | Pointer to [**NullableBriefVLANRequest**](BriefVLANRequest.md) | | [optional] **TaggedVlans** | Pointer to **[]int32** | | [optional] **MarkConnected** | Pointer to **bool** | Treat as if a cable is connected | [optional] **WirelessLans** | Pointer to **[]int32** | | [optional] -**Vrf** | Pointer to [**NullableVRFRequest**](VRFRequest.md) | | [optional] +**Vrf** | Pointer to [**NullableBriefVRFRequest**](BriefVRFRequest.md) | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] @@ -58,20 +58,20 @@ but it doesn't guarantee that properties required by API are set ### GetDevice -`func (o *PatchedWritableInterfaceRequest) GetDevice() DeviceRequest` +`func (o *PatchedWritableInterfaceRequest) GetDevice() BriefDeviceRequest` GetDevice returns the Device field if non-nil, zero value otherwise. ### GetDeviceOk -`func (o *PatchedWritableInterfaceRequest) GetDeviceOk() (*DeviceRequest, bool)` +`func (o *PatchedWritableInterfaceRequest) GetDeviceOk() (*BriefDeviceRequest, 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 *PatchedWritableInterfaceRequest) SetDevice(v DeviceRequest)` +`func (o *PatchedWritableInterfaceRequest) SetDevice(v BriefDeviceRequest)` SetDevice sets Device field to given value. @@ -108,20 +108,20 @@ HasVdcs returns a boolean if a field has been set. ### GetModule -`func (o *PatchedWritableInterfaceRequest) GetModule() ModuleRequest` +`func (o *PatchedWritableInterfaceRequest) GetModule() BriefModuleRequest` GetModule returns the Module field if non-nil, zero value otherwise. ### GetModuleOk -`func (o *PatchedWritableInterfaceRequest) GetModuleOk() (*ModuleRequest, bool)` +`func (o *PatchedWritableInterfaceRequest) GetModuleOk() (*BriefModuleRequest, bool)` GetModuleOk returns a tuple with the Module field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetModule -`func (o *PatchedWritableInterfaceRequest) SetModule(v ModuleRequest)` +`func (o *PatchedWritableInterfaceRequest) SetModule(v BriefModuleRequest)` SetModule sets Module field to given value. @@ -598,20 +598,20 @@ HasMode returns a boolean if a field has been set. ### GetRfRole -`func (o *PatchedWritableInterfaceRequest) GetRfRole() WirelessRole` +`func (o *PatchedWritableInterfaceRequest) GetRfRole() WirelessRole1` GetRfRole returns the RfRole field if non-nil, zero value otherwise. ### GetRfRoleOk -`func (o *PatchedWritableInterfaceRequest) GetRfRoleOk() (*WirelessRole, bool)` +`func (o *PatchedWritableInterfaceRequest) GetRfRoleOk() (*WirelessRole1, bool)` GetRfRoleOk returns a tuple with the RfRole field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRfRole -`func (o *PatchedWritableInterfaceRequest) SetRfRole(v WirelessRole)` +`func (o *PatchedWritableInterfaceRequest) SetRfRole(v WirelessRole1)` SetRfRole sets RfRole field to given value. @@ -623,20 +623,20 @@ HasRfRole returns a boolean if a field has been set. ### GetRfChannel -`func (o *PatchedWritableInterfaceRequest) GetRfChannel() WirelessChannel` +`func (o *PatchedWritableInterfaceRequest) GetRfChannel() WirelessChannel1` GetRfChannel returns the RfChannel field if non-nil, zero value otherwise. ### GetRfChannelOk -`func (o *PatchedWritableInterfaceRequest) GetRfChannelOk() (*WirelessChannel, bool)` +`func (o *PatchedWritableInterfaceRequest) GetRfChannelOk() (*WirelessChannel1, bool)` GetRfChannelOk returns a tuple with the RfChannel field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRfChannel -`func (o *PatchedWritableInterfaceRequest) SetRfChannel(v WirelessChannel)` +`func (o *PatchedWritableInterfaceRequest) SetRfChannel(v WirelessChannel1)` SetRfChannel sets RfChannel field to given value. @@ -803,20 +803,20 @@ HasTxPower returns a boolean if a field has been set. UnsetTxPower ensures that no value is present for TxPower, not even an explicit nil ### GetUntaggedVlan -`func (o *PatchedWritableInterfaceRequest) GetUntaggedVlan() VLANRequest` +`func (o *PatchedWritableInterfaceRequest) GetUntaggedVlan() BriefVLANRequest` GetUntaggedVlan returns the UntaggedVlan field if non-nil, zero value otherwise. ### GetUntaggedVlanOk -`func (o *PatchedWritableInterfaceRequest) GetUntaggedVlanOk() (*VLANRequest, bool)` +`func (o *PatchedWritableInterfaceRequest) GetUntaggedVlanOk() (*BriefVLANRequest, bool)` GetUntaggedVlanOk returns a tuple with the UntaggedVlan field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUntaggedVlan -`func (o *PatchedWritableInterfaceRequest) SetUntaggedVlan(v VLANRequest)` +`func (o *PatchedWritableInterfaceRequest) SetUntaggedVlan(v BriefVLANRequest)` SetUntaggedVlan sets UntaggedVlan field to given value. @@ -913,20 +913,20 @@ HasWirelessLans returns a boolean if a field has been set. ### GetVrf -`func (o *PatchedWritableInterfaceRequest) GetVrf() VRFRequest` +`func (o *PatchedWritableInterfaceRequest) GetVrf() BriefVRFRequest` GetVrf returns the Vrf field if non-nil, zero value otherwise. ### GetVrfOk -`func (o *PatchedWritableInterfaceRequest) GetVrfOk() (*VRFRequest, bool)` +`func (o *PatchedWritableInterfaceRequest) GetVrfOk() (*BriefVRFRequest, bool)` GetVrfOk returns a tuple with the Vrf field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVrf -`func (o *PatchedWritableInterfaceRequest) SetVrf(v VRFRequest)` +`func (o *PatchedWritableInterfaceRequest) SetVrf(v BriefVRFRequest)` SetVrf sets Vrf field to given value. diff --git a/docs/PatchedWritableInterfaceTemplateRequest.md b/docs/PatchedWritableInterfaceTemplateRequest.md index dce5b9c25..e83251543 100644 --- a/docs/PatchedWritableInterfaceTemplateRequest.md +++ b/docs/PatchedWritableInterfaceTemplateRequest.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**DeviceType** | Pointer to [**NullableDeviceTypeRequest**](DeviceTypeRequest.md) | | [optional] -**ModuleType** | Pointer to [**NullableModuleTypeRequest**](ModuleTypeRequest.md) | | [optional] +**DeviceType** | Pointer to [**NullableBriefDeviceTypeRequest**](BriefDeviceTypeRequest.md) | | [optional] +**ModuleType** | Pointer to [**NullableBriefModuleTypeRequest**](BriefModuleTypeRequest.md) | | [optional] **Name** | Pointer to **string** | {module} is accepted as a substitution for the module bay position when attached to a module type. | [optional] **Label** | Pointer to **string** | Physical label | [optional] **Type** | Pointer to [**InterfaceTypeValue**](InterfaceTypeValue.md) | | [optional] @@ -15,7 +15,7 @@ Name | Type | Description | Notes **Bridge** | Pointer to **NullableInt32** | | [optional] **PoeMode** | Pointer to [**InterfacePoeModeValue**](InterfacePoeModeValue.md) | | [optional] **PoeType** | Pointer to [**InterfacePoeTypeValue**](InterfacePoeTypeValue.md) | | [optional] -**RfRole** | Pointer to [**WirelessRole**](WirelessRole.md) | | [optional] +**RfRole** | Pointer to [**WirelessRole1**](WirelessRole1.md) | | [optional] ## Methods @@ -38,20 +38,20 @@ but it doesn't guarantee that properties required by API are set ### GetDeviceType -`func (o *PatchedWritableInterfaceTemplateRequest) GetDeviceType() DeviceTypeRequest` +`func (o *PatchedWritableInterfaceTemplateRequest) GetDeviceType() BriefDeviceTypeRequest` GetDeviceType returns the DeviceType field if non-nil, zero value otherwise. ### GetDeviceTypeOk -`func (o *PatchedWritableInterfaceTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool)` +`func (o *PatchedWritableInterfaceTemplateRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool)` GetDeviceTypeOk returns a tuple with the DeviceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDeviceType -`func (o *PatchedWritableInterfaceTemplateRequest) SetDeviceType(v DeviceTypeRequest)` +`func (o *PatchedWritableInterfaceTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest)` SetDeviceType sets DeviceType field to given value. @@ -73,20 +73,20 @@ HasDeviceType returns a boolean if a field has been set. UnsetDeviceType ensures that no value is present for DeviceType, not even an explicit nil ### GetModuleType -`func (o *PatchedWritableInterfaceTemplateRequest) GetModuleType() ModuleTypeRequest` +`func (o *PatchedWritableInterfaceTemplateRequest) GetModuleType() BriefModuleTypeRequest` GetModuleType returns the ModuleType field if non-nil, zero value otherwise. ### GetModuleTypeOk -`func (o *PatchedWritableInterfaceTemplateRequest) GetModuleTypeOk() (*ModuleTypeRequest, bool)` +`func (o *PatchedWritableInterfaceTemplateRequest) GetModuleTypeOk() (*BriefModuleTypeRequest, bool)` GetModuleTypeOk returns a tuple with the ModuleType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetModuleType -`func (o *PatchedWritableInterfaceTemplateRequest) SetModuleType(v ModuleTypeRequest)` +`func (o *PatchedWritableInterfaceTemplateRequest) SetModuleType(v BriefModuleTypeRequest)` SetModuleType sets ModuleType field to given value. @@ -343,20 +343,20 @@ HasPoeType returns a boolean if a field has been set. ### GetRfRole -`func (o *PatchedWritableInterfaceTemplateRequest) GetRfRole() WirelessRole` +`func (o *PatchedWritableInterfaceTemplateRequest) GetRfRole() WirelessRole1` GetRfRole returns the RfRole field if non-nil, zero value otherwise. ### GetRfRoleOk -`func (o *PatchedWritableInterfaceTemplateRequest) GetRfRoleOk() (*WirelessRole, bool)` +`func (o *PatchedWritableInterfaceTemplateRequest) GetRfRoleOk() (*WirelessRole1, bool)` GetRfRoleOk returns a tuple with the RfRole field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRfRole -`func (o *PatchedWritableInterfaceTemplateRequest) SetRfRole(v WirelessRole)` +`func (o *PatchedWritableInterfaceTemplateRequest) SetRfRole(v WirelessRole1)` SetRfRole sets RfRole field to given value. diff --git a/docs/PatchedWritableL2VPNRequest.md b/docs/PatchedWritableL2VPNRequest.md index 27aad448f..f149765a2 100644 --- a/docs/PatchedWritableL2VPNRequest.md +++ b/docs/PatchedWritableL2VPNRequest.md @@ -7,12 +7,12 @@ Name | Type | Description | Notes **Identifier** | Pointer to **NullableInt64** | | [optional] **Name** | Pointer to **string** | | [optional] **Slug** | Pointer to **string** | | [optional] -**Type** | Pointer to [**L2VPNTypeValue**](L2VPNTypeValue.md) | | [optional] +**Type** | Pointer to [**BriefL2VPNTypeValue**](BriefL2VPNTypeValue.md) | | [optional] **ImportTargets** | Pointer to **[]int32** | | [optional] **ExportTargets** | Pointer to **[]int32** | | [optional] **Description** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] @@ -122,20 +122,20 @@ HasSlug returns a boolean if a field has been set. ### GetType -`func (o *PatchedWritableL2VPNRequest) GetType() L2VPNTypeValue` +`func (o *PatchedWritableL2VPNRequest) GetType() BriefL2VPNTypeValue` GetType returns the Type field if non-nil, zero value otherwise. ### GetTypeOk -`func (o *PatchedWritableL2VPNRequest) GetTypeOk() (*L2VPNTypeValue, bool)` +`func (o *PatchedWritableL2VPNRequest) GetTypeOk() (*BriefL2VPNTypeValue, bool)` GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetType -`func (o *PatchedWritableL2VPNRequest) SetType(v L2VPNTypeValue)` +`func (o *PatchedWritableL2VPNRequest) SetType(v BriefL2VPNTypeValue)` SetType sets Type field to given value. @@ -247,20 +247,20 @@ HasComments returns a boolean if a field has been set. ### GetTenant -`func (o *PatchedWritableL2VPNRequest) GetTenant() TenantRequest` +`func (o *PatchedWritableL2VPNRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *PatchedWritableL2VPNRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *PatchedWritableL2VPNRequest) GetTenantOk() (*BriefTenantRequest, 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 *PatchedWritableL2VPNRequest) SetTenant(v TenantRequest)` +`func (o *PatchedWritableL2VPNRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. diff --git a/docs/PatchedWritableLocationRequest.md b/docs/PatchedWritableLocationRequest.md index acc3b3ce7..cb0dab0cb 100644 --- a/docs/PatchedWritableLocationRequest.md +++ b/docs/PatchedWritableLocationRequest.md @@ -6,10 +6,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | Pointer to **string** | | [optional] **Slug** | Pointer to **string** | | [optional] -**Site** | Pointer to [**SiteRequest**](SiteRequest.md) | | [optional] +**Site** | Pointer to [**BriefSiteRequest**](BriefSiteRequest.md) | | [optional] **Parent** | Pointer to **NullableInt32** | | [optional] -**Status** | Pointer to [**PatchedWritableLocationRequestStatus**](PatchedWritableLocationRequestStatus.md) | | [optional] -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] +**Status** | Pointer to [**LocationStatusValue**](LocationStatusValue.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] **Facility** | Pointer to **string** | Local facility ID or description | [optional] **Description** | Pointer to **string** | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] @@ -86,20 +86,20 @@ HasSlug returns a boolean if a field has been set. ### GetSite -`func (o *PatchedWritableLocationRequest) GetSite() SiteRequest` +`func (o *PatchedWritableLocationRequest) GetSite() BriefSiteRequest` GetSite returns the Site field if non-nil, zero value otherwise. ### GetSiteOk -`func (o *PatchedWritableLocationRequest) GetSiteOk() (*SiteRequest, bool)` +`func (o *PatchedWritableLocationRequest) GetSiteOk() (*BriefSiteRequest, bool)` GetSiteOk returns a tuple with the Site field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSite -`func (o *PatchedWritableLocationRequest) SetSite(v SiteRequest)` +`func (o *PatchedWritableLocationRequest) SetSite(v BriefSiteRequest)` SetSite sets Site field to given value. @@ -146,20 +146,20 @@ HasParent returns a boolean if a field has been set. UnsetParent ensures that no value is present for Parent, not even an explicit nil ### GetStatus -`func (o *PatchedWritableLocationRequest) GetStatus() PatchedWritableLocationRequestStatus` +`func (o *PatchedWritableLocationRequest) GetStatus() LocationStatusValue` GetStatus returns the Status field if non-nil, zero value otherwise. ### GetStatusOk -`func (o *PatchedWritableLocationRequest) GetStatusOk() (*PatchedWritableLocationRequestStatus, bool)` +`func (o *PatchedWritableLocationRequest) GetStatusOk() (*LocationStatusValue, 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 *PatchedWritableLocationRequest) SetStatus(v PatchedWritableLocationRequestStatus)` +`func (o *PatchedWritableLocationRequest) SetStatus(v LocationStatusValue)` SetStatus sets Status field to given value. @@ -171,20 +171,20 @@ HasStatus returns a boolean if a field has been set. ### GetTenant -`func (o *PatchedWritableLocationRequest) GetTenant() TenantRequest` +`func (o *PatchedWritableLocationRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *PatchedWritableLocationRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *PatchedWritableLocationRequest) GetTenantOk() (*BriefTenantRequest, 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 *PatchedWritableLocationRequest) SetTenant(v TenantRequest)` +`func (o *PatchedWritableLocationRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. diff --git a/docs/PatchedWritableModuleRequest.md b/docs/PatchedWritableModuleRequest.md index e5788f6e4..044d52a7b 100644 --- a/docs/PatchedWritableModuleRequest.md +++ b/docs/PatchedWritableModuleRequest.md @@ -4,10 +4,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Device** | Pointer to [**DeviceRequest**](DeviceRequest.md) | | [optional] +**Device** | Pointer to [**BriefDeviceRequest**](BriefDeviceRequest.md) | | [optional] **ModuleBay** | Pointer to **int32** | | [optional] -**ModuleType** | Pointer to [**ModuleTypeRequest**](ModuleTypeRequest.md) | | [optional] -**Status** | Pointer to [**PatchedWritableModuleRequestStatus**](PatchedWritableModuleRequestStatus.md) | | [optional] +**ModuleType** | Pointer to [**BriefModuleTypeRequest**](BriefModuleTypeRequest.md) | | [optional] +**Status** | Pointer to [**ModuleStatusValue**](ModuleStatusValue.md) | | [optional] **Serial** | Pointer to **string** | | [optional] **AssetTag** | Pointer to **NullableString** | A unique tag used to identify this device | [optional] **Description** | Pointer to **string** | | [optional] @@ -36,20 +36,20 @@ but it doesn't guarantee that properties required by API are set ### GetDevice -`func (o *PatchedWritableModuleRequest) GetDevice() DeviceRequest` +`func (o *PatchedWritableModuleRequest) GetDevice() BriefDeviceRequest` GetDevice returns the Device field if non-nil, zero value otherwise. ### GetDeviceOk -`func (o *PatchedWritableModuleRequest) GetDeviceOk() (*DeviceRequest, bool)` +`func (o *PatchedWritableModuleRequest) GetDeviceOk() (*BriefDeviceRequest, 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 *PatchedWritableModuleRequest) SetDevice(v DeviceRequest)` +`func (o *PatchedWritableModuleRequest) SetDevice(v BriefDeviceRequest)` SetDevice sets Device field to given value. @@ -86,20 +86,20 @@ HasModuleBay returns a boolean if a field has been set. ### GetModuleType -`func (o *PatchedWritableModuleRequest) GetModuleType() ModuleTypeRequest` +`func (o *PatchedWritableModuleRequest) GetModuleType() BriefModuleTypeRequest` GetModuleType returns the ModuleType field if non-nil, zero value otherwise. ### GetModuleTypeOk -`func (o *PatchedWritableModuleRequest) GetModuleTypeOk() (*ModuleTypeRequest, bool)` +`func (o *PatchedWritableModuleRequest) GetModuleTypeOk() (*BriefModuleTypeRequest, bool)` GetModuleTypeOk returns a tuple with the ModuleType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetModuleType -`func (o *PatchedWritableModuleRequest) SetModuleType(v ModuleTypeRequest)` +`func (o *PatchedWritableModuleRequest) SetModuleType(v BriefModuleTypeRequest)` SetModuleType sets ModuleType field to given value. @@ -111,20 +111,20 @@ HasModuleType returns a boolean if a field has been set. ### GetStatus -`func (o *PatchedWritableModuleRequest) GetStatus() PatchedWritableModuleRequestStatus` +`func (o *PatchedWritableModuleRequest) GetStatus() ModuleStatusValue` GetStatus returns the Status field if non-nil, zero value otherwise. ### GetStatusOk -`func (o *PatchedWritableModuleRequest) GetStatusOk() (*PatchedWritableModuleRequestStatus, bool)` +`func (o *PatchedWritableModuleRequest) GetStatusOk() (*ModuleStatusValue, 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 *PatchedWritableModuleRequest) SetStatus(v PatchedWritableModuleRequestStatus)` +`func (o *PatchedWritableModuleRequest) SetStatus(v ModuleStatusValue)` SetStatus sets Status field to given value. diff --git a/docs/PatchedWritableModuleTypeRequest.md b/docs/PatchedWritableModuleTypeRequest.md index 179b6c682..298b838d0 100644 --- a/docs/PatchedWritableModuleTypeRequest.md +++ b/docs/PatchedWritableModuleTypeRequest.md @@ -4,11 +4,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Manufacturer** | Pointer to [**ManufacturerRequest**](ManufacturerRequest.md) | | [optional] +**Manufacturer** | Pointer to [**BriefManufacturerRequest**](BriefManufacturerRequest.md) | | [optional] **Model** | Pointer to **string** | | [optional] **PartNumber** | Pointer to **string** | Discrete part number (optional) | [optional] +**Airflow** | Pointer to [**ModuleTypeAirflowValue**](ModuleTypeAirflowValue.md) | | [optional] **Weight** | Pointer to **NullableFloat64** | | [optional] -**WeightUnit** | Pointer to [**PatchedWritableDeviceTypeRequestWeightUnit**](PatchedWritableDeviceTypeRequestWeightUnit.md) | | [optional] +**WeightUnit** | Pointer to [**DeviceTypeWeightUnitValue**](DeviceTypeWeightUnitValue.md) | | [optional] **Description** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] @@ -35,20 +36,20 @@ but it doesn't guarantee that properties required by API are set ### GetManufacturer -`func (o *PatchedWritableModuleTypeRequest) GetManufacturer() ManufacturerRequest` +`func (o *PatchedWritableModuleTypeRequest) GetManufacturer() BriefManufacturerRequest` GetManufacturer returns the Manufacturer field if non-nil, zero value otherwise. ### GetManufacturerOk -`func (o *PatchedWritableModuleTypeRequest) GetManufacturerOk() (*ManufacturerRequest, bool)` +`func (o *PatchedWritableModuleTypeRequest) GetManufacturerOk() (*BriefManufacturerRequest, bool)` GetManufacturerOk returns a tuple with the Manufacturer field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetManufacturer -`func (o *PatchedWritableModuleTypeRequest) SetManufacturer(v ManufacturerRequest)` +`func (o *PatchedWritableModuleTypeRequest) SetManufacturer(v BriefManufacturerRequest)` SetManufacturer sets Manufacturer field to given value. @@ -108,6 +109,31 @@ SetPartNumber sets PartNumber field to given value. HasPartNumber returns a boolean if a field has been set. +### GetAirflow + +`func (o *PatchedWritableModuleTypeRequest) GetAirflow() ModuleTypeAirflowValue` + +GetAirflow returns the Airflow field if non-nil, zero value otherwise. + +### GetAirflowOk + +`func (o *PatchedWritableModuleTypeRequest) GetAirflowOk() (*ModuleTypeAirflowValue, bool)` + +GetAirflowOk returns a tuple with the Airflow field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAirflow + +`func (o *PatchedWritableModuleTypeRequest) SetAirflow(v ModuleTypeAirflowValue)` + +SetAirflow sets Airflow field to given value. + +### HasAirflow + +`func (o *PatchedWritableModuleTypeRequest) HasAirflow() bool` + +HasAirflow returns a boolean if a field has been set. + ### GetWeight `func (o *PatchedWritableModuleTypeRequest) GetWeight() float64` @@ -145,20 +171,20 @@ HasWeight returns a boolean if a field has been set. UnsetWeight ensures that no value is present for Weight, not even an explicit nil ### GetWeightUnit -`func (o *PatchedWritableModuleTypeRequest) GetWeightUnit() PatchedWritableDeviceTypeRequestWeightUnit` +`func (o *PatchedWritableModuleTypeRequest) GetWeightUnit() DeviceTypeWeightUnitValue` GetWeightUnit returns the WeightUnit field if non-nil, zero value otherwise. ### GetWeightUnitOk -`func (o *PatchedWritableModuleTypeRequest) GetWeightUnitOk() (*PatchedWritableDeviceTypeRequestWeightUnit, bool)` +`func (o *PatchedWritableModuleTypeRequest) GetWeightUnitOk() (*DeviceTypeWeightUnitValue, bool)` GetWeightUnitOk returns a tuple with the WeightUnit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetWeightUnit -`func (o *PatchedWritableModuleTypeRequest) SetWeightUnit(v PatchedWritableDeviceTypeRequestWeightUnit)` +`func (o *PatchedWritableModuleTypeRequest) SetWeightUnit(v DeviceTypeWeightUnitValue)` SetWeightUnit sets WeightUnit field to given value. diff --git a/docs/PatchedWritablePowerFeedRequest.md b/docs/PatchedWritablePowerFeedRequest.md index cc35f75bc..5a5950774 100644 --- a/docs/PatchedWritablePowerFeedRequest.md +++ b/docs/PatchedWritablePowerFeedRequest.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**PowerPanel** | Pointer to [**PowerPanelRequest**](PowerPanelRequest.md) | | [optional] -**Rack** | Pointer to [**NullableRackRequest**](RackRequest.md) | | [optional] +**PowerPanel** | Pointer to [**BriefPowerPanelRequest**](BriefPowerPanelRequest.md) | | [optional] +**Rack** | Pointer to [**NullableBriefRackRequest**](BriefRackRequest.md) | | [optional] **Name** | Pointer to **string** | | [optional] **Status** | Pointer to [**PatchedWritablePowerFeedRequestStatus**](PatchedWritablePowerFeedRequestStatus.md) | | [optional] **Type** | Pointer to [**PatchedWritablePowerFeedRequestType**](PatchedWritablePowerFeedRequestType.md) | | [optional] @@ -16,7 +16,7 @@ Name | Type | Description | Notes **MaxUtilization** | Pointer to **int32** | Maximum permissible draw (percentage) | [optional] **MarkConnected** | Pointer to **bool** | Treat as if a cable is connected | [optional] **Description** | Pointer to **string** | | [optional] -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] **Comments** | Pointer to **string** | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] @@ -42,20 +42,20 @@ but it doesn't guarantee that properties required by API are set ### GetPowerPanel -`func (o *PatchedWritablePowerFeedRequest) GetPowerPanel() PowerPanelRequest` +`func (o *PatchedWritablePowerFeedRequest) GetPowerPanel() BriefPowerPanelRequest` GetPowerPanel returns the PowerPanel field if non-nil, zero value otherwise. ### GetPowerPanelOk -`func (o *PatchedWritablePowerFeedRequest) GetPowerPanelOk() (*PowerPanelRequest, bool)` +`func (o *PatchedWritablePowerFeedRequest) GetPowerPanelOk() (*BriefPowerPanelRequest, 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 PowerPanelRequest)` +`func (o *PatchedWritablePowerFeedRequest) SetPowerPanel(v BriefPowerPanelRequest)` SetPowerPanel sets PowerPanel field to given value. @@ -67,20 +67,20 @@ HasPowerPanel returns a boolean if a field has been set. ### GetRack -`func (o *PatchedWritablePowerFeedRequest) GetRack() RackRequest` +`func (o *PatchedWritablePowerFeedRequest) GetRack() BriefRackRequest` GetRack returns the Rack field if non-nil, zero value otherwise. ### GetRackOk -`func (o *PatchedWritablePowerFeedRequest) GetRackOk() (*RackRequest, bool)` +`func (o *PatchedWritablePowerFeedRequest) GetRackOk() (*BriefRackRequest, bool)` GetRackOk returns a tuple with the Rack field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRack -`func (o *PatchedWritablePowerFeedRequest) SetRack(v RackRequest)` +`func (o *PatchedWritablePowerFeedRequest) SetRack(v BriefRackRequest)` SetRack sets Rack field to given value. @@ -352,20 +352,20 @@ HasDescription returns a boolean if a field has been set. ### GetTenant -`func (o *PatchedWritablePowerFeedRequest) GetTenant() TenantRequest` +`func (o *PatchedWritablePowerFeedRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *PatchedWritablePowerFeedRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *PatchedWritablePowerFeedRequest) GetTenantOk() (*BriefTenantRequest, 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 *PatchedWritablePowerFeedRequest) SetTenant(v TenantRequest)` +`func (o *PatchedWritablePowerFeedRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. diff --git a/docs/PatchedWritablePowerOutletRequest.md b/docs/PatchedWritablePowerOutletRequest.md index eb1ac8177..e32eb4ef3 100644 --- a/docs/PatchedWritablePowerOutletRequest.md +++ b/docs/PatchedWritablePowerOutletRequest.md @@ -4,12 +4,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Device** | Pointer to [**DeviceRequest**](DeviceRequest.md) | | [optional] -**Module** | Pointer to [**NullableModuleRequest**](ModuleRequest.md) | | [optional] +**Device** | Pointer to [**BriefDeviceRequest**](BriefDeviceRequest.md) | | [optional] +**Module** | Pointer to [**NullableBriefModuleRequest**](BriefModuleRequest.md) | | [optional] **Name** | Pointer to **string** | | [optional] **Label** | Pointer to **string** | Physical label | [optional] **Type** | Pointer to [**PatchedWritablePowerOutletRequestType**](PatchedWritablePowerOutletRequestType.md) | | [optional] -**PowerPort** | Pointer to [**NullablePowerPortRequest**](PowerPortRequest.md) | | [optional] +**PowerPort** | Pointer to [**NullableBriefPowerPortRequest**](BriefPowerPortRequest.md) | | [optional] **FeedLeg** | Pointer to [**PatchedWritablePowerOutletRequestFeedLeg**](PatchedWritablePowerOutletRequestFeedLeg.md) | | [optional] **Description** | Pointer to **string** | | [optional] **MarkConnected** | Pointer to **bool** | Treat as if a cable is connected | [optional] @@ -37,20 +37,20 @@ but it doesn't guarantee that properties required by API are set ### GetDevice -`func (o *PatchedWritablePowerOutletRequest) GetDevice() DeviceRequest` +`func (o *PatchedWritablePowerOutletRequest) GetDevice() BriefDeviceRequest` GetDevice returns the Device field if non-nil, zero value otherwise. ### GetDeviceOk -`func (o *PatchedWritablePowerOutletRequest) GetDeviceOk() (*DeviceRequest, bool)` +`func (o *PatchedWritablePowerOutletRequest) GetDeviceOk() (*BriefDeviceRequest, 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 *PatchedWritablePowerOutletRequest) SetDevice(v DeviceRequest)` +`func (o *PatchedWritablePowerOutletRequest) SetDevice(v BriefDeviceRequest)` SetDevice sets Device field to given value. @@ -62,20 +62,20 @@ HasDevice returns a boolean if a field has been set. ### GetModule -`func (o *PatchedWritablePowerOutletRequest) GetModule() ModuleRequest` +`func (o *PatchedWritablePowerOutletRequest) GetModule() BriefModuleRequest` GetModule returns the Module field if non-nil, zero value otherwise. ### GetModuleOk -`func (o *PatchedWritablePowerOutletRequest) GetModuleOk() (*ModuleRequest, bool)` +`func (o *PatchedWritablePowerOutletRequest) GetModuleOk() (*BriefModuleRequest, bool)` GetModuleOk returns a tuple with the Module field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetModule -`func (o *PatchedWritablePowerOutletRequest) SetModule(v ModuleRequest)` +`func (o *PatchedWritablePowerOutletRequest) SetModule(v BriefModuleRequest)` SetModule sets Module field to given value. @@ -172,20 +172,20 @@ HasType returns a boolean if a field has been set. ### GetPowerPort -`func (o *PatchedWritablePowerOutletRequest) GetPowerPort() PowerPortRequest` +`func (o *PatchedWritablePowerOutletRequest) GetPowerPort() BriefPowerPortRequest` GetPowerPort returns the PowerPort field if non-nil, zero value otherwise. ### GetPowerPortOk -`func (o *PatchedWritablePowerOutletRequest) GetPowerPortOk() (*PowerPortRequest, bool)` +`func (o *PatchedWritablePowerOutletRequest) GetPowerPortOk() (*BriefPowerPortRequest, bool)` GetPowerPortOk returns a tuple with the PowerPort field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPowerPort -`func (o *PatchedWritablePowerOutletRequest) SetPowerPort(v PowerPortRequest)` +`func (o *PatchedWritablePowerOutletRequest) SetPowerPort(v BriefPowerPortRequest)` SetPowerPort sets PowerPort field to given value. diff --git a/docs/PatchedWritablePowerOutletRequestType.md b/docs/PatchedWritablePowerOutletRequestType.md index f76400db6..8c9ce5a0b 100644 --- a/docs/PatchedWritablePowerOutletRequestType.md +++ b/docs/PatchedWritablePowerOutletRequestType.md @@ -125,6 +125,8 @@ * `NEMA_L21_30R` (value: `"nema-l21-30r"`) +* `NEMA_L22_20R` (value: `"nema-l22-20r"`) + * `NEMA_L22_30R` (value: `"nema-l22-30r"`) * `CS6360_C` (value: `"CS6360C"`) @@ -177,6 +179,8 @@ * `DC_TERMINAL` (value: `"dc-terminal"`) +* `EATON_C39` (value: `"eaton-c39"`) + * `HDOT_CX` (value: `"hdot-cx"`) * `SAF_D_GRID` (value: `"saf-d-grid"`) diff --git a/docs/PatchedWritablePowerOutletTemplateRequest.md b/docs/PatchedWritablePowerOutletTemplateRequest.md index 42e796ccf..083418fb7 100644 --- a/docs/PatchedWritablePowerOutletTemplateRequest.md +++ b/docs/PatchedWritablePowerOutletTemplateRequest.md @@ -4,12 +4,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**DeviceType** | Pointer to [**NullableDeviceTypeRequest**](DeviceTypeRequest.md) | | [optional] -**ModuleType** | Pointer to [**NullableModuleTypeRequest**](ModuleTypeRequest.md) | | [optional] +**DeviceType** | Pointer to [**NullableBriefDeviceTypeRequest**](BriefDeviceTypeRequest.md) | | [optional] +**ModuleType** | Pointer to [**NullableBriefModuleTypeRequest**](BriefModuleTypeRequest.md) | | [optional] **Name** | Pointer to **string** | {module} is accepted as a substitution for the module bay position when attached to a module type. | [optional] **Label** | Pointer to **string** | Physical label | [optional] **Type** | Pointer to [**PatchedWritablePowerOutletTemplateRequestType**](PatchedWritablePowerOutletTemplateRequestType.md) | | [optional] -**PowerPort** | Pointer to [**NullablePowerPortTemplateRequest**](PowerPortTemplateRequest.md) | | [optional] +**PowerPort** | Pointer to [**NullableBriefPowerPortTemplateRequest**](BriefPowerPortTemplateRequest.md) | | [optional] **FeedLeg** | Pointer to [**PatchedWritablePowerOutletRequestFeedLeg**](PatchedWritablePowerOutletRequestFeedLeg.md) | | [optional] **Description** | Pointer to **string** | | [optional] @@ -34,20 +34,20 @@ but it doesn't guarantee that properties required by API are set ### GetDeviceType -`func (o *PatchedWritablePowerOutletTemplateRequest) GetDeviceType() DeviceTypeRequest` +`func (o *PatchedWritablePowerOutletTemplateRequest) GetDeviceType() BriefDeviceTypeRequest` GetDeviceType returns the DeviceType field if non-nil, zero value otherwise. ### GetDeviceTypeOk -`func (o *PatchedWritablePowerOutletTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool)` +`func (o *PatchedWritablePowerOutletTemplateRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool)` GetDeviceTypeOk returns a tuple with the DeviceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDeviceType -`func (o *PatchedWritablePowerOutletTemplateRequest) SetDeviceType(v DeviceTypeRequest)` +`func (o *PatchedWritablePowerOutletTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest)` SetDeviceType sets DeviceType field to given value. @@ -69,20 +69,20 @@ HasDeviceType returns a boolean if a field has been set. UnsetDeviceType ensures that no value is present for DeviceType, not even an explicit nil ### GetModuleType -`func (o *PatchedWritablePowerOutletTemplateRequest) GetModuleType() ModuleTypeRequest` +`func (o *PatchedWritablePowerOutletTemplateRequest) GetModuleType() BriefModuleTypeRequest` GetModuleType returns the ModuleType field if non-nil, zero value otherwise. ### GetModuleTypeOk -`func (o *PatchedWritablePowerOutletTemplateRequest) GetModuleTypeOk() (*ModuleTypeRequest, bool)` +`func (o *PatchedWritablePowerOutletTemplateRequest) GetModuleTypeOk() (*BriefModuleTypeRequest, bool)` GetModuleTypeOk returns a tuple with the ModuleType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetModuleType -`func (o *PatchedWritablePowerOutletTemplateRequest) SetModuleType(v ModuleTypeRequest)` +`func (o *PatchedWritablePowerOutletTemplateRequest) SetModuleType(v BriefModuleTypeRequest)` SetModuleType sets ModuleType field to given value. @@ -179,20 +179,20 @@ HasType returns a boolean if a field has been set. ### GetPowerPort -`func (o *PatchedWritablePowerOutletTemplateRequest) GetPowerPort() PowerPortTemplateRequest` +`func (o *PatchedWritablePowerOutletTemplateRequest) GetPowerPort() BriefPowerPortTemplateRequest` GetPowerPort returns the PowerPort field if non-nil, zero value otherwise. ### GetPowerPortOk -`func (o *PatchedWritablePowerOutletTemplateRequest) GetPowerPortOk() (*PowerPortTemplateRequest, bool)` +`func (o *PatchedWritablePowerOutletTemplateRequest) GetPowerPortOk() (*BriefPowerPortTemplateRequest, bool)` GetPowerPortOk returns a tuple with the PowerPort field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPowerPort -`func (o *PatchedWritablePowerOutletTemplateRequest) SetPowerPort(v PowerPortTemplateRequest)` +`func (o *PatchedWritablePowerOutletTemplateRequest) SetPowerPort(v BriefPowerPortTemplateRequest)` SetPowerPort sets PowerPort field to given value. diff --git a/docs/PatchedWritablePowerOutletTemplateRequestType.md b/docs/PatchedWritablePowerOutletTemplateRequestType.md index e1e5a0cbc..1d2197c73 100644 --- a/docs/PatchedWritablePowerOutletTemplateRequestType.md +++ b/docs/PatchedWritablePowerOutletTemplateRequestType.md @@ -125,6 +125,8 @@ * `NEMA_L21_30R` (value: `"nema-l21-30r"`) +* `NEMA_L22_20R` (value: `"nema-l22-20r"`) + * `NEMA_L22_30R` (value: `"nema-l22-30r"`) * `CS6360_C` (value: `"CS6360C"`) @@ -177,6 +179,8 @@ * `DC_TERMINAL` (value: `"dc-terminal"`) +* `EATON_C39` (value: `"eaton-c39"`) + * `HDOT_CX` (value: `"hdot-cx"`) * `SAF_D_GRID` (value: `"saf-d-grid"`) diff --git a/docs/PatchedWritablePowerPortRequest.md b/docs/PatchedWritablePowerPortRequest.md index 197374b54..50ac83cae 100644 --- a/docs/PatchedWritablePowerPortRequest.md +++ b/docs/PatchedWritablePowerPortRequest.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Device** | Pointer to [**DeviceRequest**](DeviceRequest.md) | | [optional] -**Module** | Pointer to [**NullableModuleRequest**](ModuleRequest.md) | | [optional] +**Device** | Pointer to [**BriefDeviceRequest**](BriefDeviceRequest.md) | | [optional] +**Module** | Pointer to [**NullableBriefModuleRequest**](BriefModuleRequest.md) | | [optional] **Name** | Pointer to **string** | | [optional] **Label** | Pointer to **string** | Physical label | [optional] **Type** | Pointer to [**PatchedWritablePowerPortRequestType**](PatchedWritablePowerPortRequestType.md) | | [optional] @@ -37,20 +37,20 @@ but it doesn't guarantee that properties required by API are set ### GetDevice -`func (o *PatchedWritablePowerPortRequest) GetDevice() DeviceRequest` +`func (o *PatchedWritablePowerPortRequest) GetDevice() BriefDeviceRequest` GetDevice returns the Device field if non-nil, zero value otherwise. ### GetDeviceOk -`func (o *PatchedWritablePowerPortRequest) GetDeviceOk() (*DeviceRequest, bool)` +`func (o *PatchedWritablePowerPortRequest) GetDeviceOk() (*BriefDeviceRequest, 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 *PatchedWritablePowerPortRequest) SetDevice(v DeviceRequest)` +`func (o *PatchedWritablePowerPortRequest) SetDevice(v BriefDeviceRequest)` SetDevice sets Device field to given value. @@ -62,20 +62,20 @@ HasDevice returns a boolean if a field has been set. ### GetModule -`func (o *PatchedWritablePowerPortRequest) GetModule() ModuleRequest` +`func (o *PatchedWritablePowerPortRequest) GetModule() BriefModuleRequest` GetModule returns the Module field if non-nil, zero value otherwise. ### GetModuleOk -`func (o *PatchedWritablePowerPortRequest) GetModuleOk() (*ModuleRequest, bool)` +`func (o *PatchedWritablePowerPortRequest) GetModuleOk() (*BriefModuleRequest, bool)` GetModuleOk returns a tuple with the Module field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetModule -`func (o *PatchedWritablePowerPortRequest) SetModule(v ModuleRequest)` +`func (o *PatchedWritablePowerPortRequest) SetModule(v BriefModuleRequest)` SetModule sets Module field to given value. diff --git a/docs/PatchedWritablePowerPortRequestType.md b/docs/PatchedWritablePowerPortRequestType.md index 0b2b85bc4..ec314c471 100644 --- a/docs/PatchedWritablePowerPortRequestType.md +++ b/docs/PatchedWritablePowerPortRequestType.md @@ -125,6 +125,8 @@ * `NEMA_L21_30P` (value: `"nema-l21-30p"`) +* `NEMA_L22_20P` (value: `"nema-l22-20p"`) + * `NEMA_L22_30P` (value: `"nema-l22-30p"`) * `CS6361C` (value: `"cs6361c"`) diff --git a/docs/PatchedWritablePowerPortTemplateRequest.md b/docs/PatchedWritablePowerPortTemplateRequest.md index 1b737c2aa..a6282b699 100644 --- a/docs/PatchedWritablePowerPortTemplateRequest.md +++ b/docs/PatchedWritablePowerPortTemplateRequest.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**DeviceType** | Pointer to [**NullableDeviceTypeRequest**](DeviceTypeRequest.md) | | [optional] -**ModuleType** | Pointer to [**NullableModuleTypeRequest**](ModuleTypeRequest.md) | | [optional] +**DeviceType** | Pointer to [**NullableBriefDeviceTypeRequest**](BriefDeviceTypeRequest.md) | | [optional] +**ModuleType** | Pointer to [**NullableBriefModuleTypeRequest**](BriefModuleTypeRequest.md) | | [optional] **Name** | Pointer to **string** | {module} is accepted as a substitution for the module bay position when attached to a module type. | [optional] **Label** | Pointer to **string** | Physical label | [optional] **Type** | Pointer to [**PatchedWritablePowerPortTemplateRequestType**](PatchedWritablePowerPortTemplateRequestType.md) | | [optional] @@ -34,20 +34,20 @@ but it doesn't guarantee that properties required by API are set ### GetDeviceType -`func (o *PatchedWritablePowerPortTemplateRequest) GetDeviceType() DeviceTypeRequest` +`func (o *PatchedWritablePowerPortTemplateRequest) GetDeviceType() BriefDeviceTypeRequest` GetDeviceType returns the DeviceType field if non-nil, zero value otherwise. ### GetDeviceTypeOk -`func (o *PatchedWritablePowerPortTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool)` +`func (o *PatchedWritablePowerPortTemplateRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool)` GetDeviceTypeOk returns a tuple with the DeviceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDeviceType -`func (o *PatchedWritablePowerPortTemplateRequest) SetDeviceType(v DeviceTypeRequest)` +`func (o *PatchedWritablePowerPortTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest)` SetDeviceType sets DeviceType field to given value. @@ -69,20 +69,20 @@ HasDeviceType returns a boolean if a field has been set. UnsetDeviceType ensures that no value is present for DeviceType, not even an explicit nil ### GetModuleType -`func (o *PatchedWritablePowerPortTemplateRequest) GetModuleType() ModuleTypeRequest` +`func (o *PatchedWritablePowerPortTemplateRequest) GetModuleType() BriefModuleTypeRequest` GetModuleType returns the ModuleType field if non-nil, zero value otherwise. ### GetModuleTypeOk -`func (o *PatchedWritablePowerPortTemplateRequest) GetModuleTypeOk() (*ModuleTypeRequest, bool)` +`func (o *PatchedWritablePowerPortTemplateRequest) GetModuleTypeOk() (*BriefModuleTypeRequest, bool)` GetModuleTypeOk returns a tuple with the ModuleType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetModuleType -`func (o *PatchedWritablePowerPortTemplateRequest) SetModuleType(v ModuleTypeRequest)` +`func (o *PatchedWritablePowerPortTemplateRequest) SetModuleType(v BriefModuleTypeRequest)` SetModuleType sets ModuleType field to given value. diff --git a/docs/PatchedWritablePowerPortTemplateRequestType.md b/docs/PatchedWritablePowerPortTemplateRequestType.md index a6fc8d0bf..296570b72 100644 --- a/docs/PatchedWritablePowerPortTemplateRequestType.md +++ b/docs/PatchedWritablePowerPortTemplateRequestType.md @@ -125,6 +125,8 @@ * `NEMA_L21_30P` (value: `"nema-l21-30p"`) +* `NEMA_L22_20P` (value: `"nema-l22-20p"`) + * `NEMA_L22_30P` (value: `"nema-l22-30p"`) * `CS6361C` (value: `"cs6361c"`) diff --git a/docs/PatchedWritablePrefixRequest.md b/docs/PatchedWritablePrefixRequest.md index 91217763d..11ecea4d7 100644 --- a/docs/PatchedWritablePrefixRequest.md +++ b/docs/PatchedWritablePrefixRequest.md @@ -5,12 +5,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Prefix** | Pointer to **string** | | [optional] -**Site** | Pointer to [**NullableSiteRequest**](SiteRequest.md) | | [optional] -**Vrf** | Pointer to [**NullableVRFRequest**](VRFRequest.md) | | [optional] -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] -**Vlan** | Pointer to [**NullableVLANRequest**](VLANRequest.md) | | [optional] +**Site** | Pointer to [**NullableBriefSiteRequest**](BriefSiteRequest.md) | | [optional] +**Vrf** | Pointer to [**NullableBriefVRFRequest**](BriefVRFRequest.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] +**Vlan** | Pointer to [**NullableBriefVLANRequest**](BriefVLANRequest.md) | | [optional] **Status** | Pointer to [**PatchedWritablePrefixRequestStatus**](PatchedWritablePrefixRequestStatus.md) | | [optional] -**Role** | Pointer to [**NullableRoleRequest**](RoleRequest.md) | | [optional] +**Role** | Pointer to [**NullableBriefRoleRequest**](BriefRoleRequest.md) | | [optional] **IsPool** | Pointer to **bool** | All IP addresses within this prefix are considered usable | [optional] **MarkUtilized** | Pointer to **bool** | Treat as fully utilized | [optional] **Description** | Pointer to **string** | | [optional] @@ -64,20 +64,20 @@ HasPrefix returns a boolean if a field has been set. ### GetSite -`func (o *PatchedWritablePrefixRequest) GetSite() SiteRequest` +`func (o *PatchedWritablePrefixRequest) GetSite() BriefSiteRequest` GetSite returns the Site field if non-nil, zero value otherwise. ### GetSiteOk -`func (o *PatchedWritablePrefixRequest) GetSiteOk() (*SiteRequest, bool)` +`func (o *PatchedWritablePrefixRequest) GetSiteOk() (*BriefSiteRequest, bool)` GetSiteOk returns a tuple with the Site field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSite -`func (o *PatchedWritablePrefixRequest) SetSite(v SiteRequest)` +`func (o *PatchedWritablePrefixRequest) SetSite(v BriefSiteRequest)` SetSite sets Site field to given value. @@ -99,20 +99,20 @@ HasSite returns a boolean if a field has been set. UnsetSite ensures that no value is present for Site, not even an explicit nil ### GetVrf -`func (o *PatchedWritablePrefixRequest) GetVrf() VRFRequest` +`func (o *PatchedWritablePrefixRequest) GetVrf() BriefVRFRequest` GetVrf returns the Vrf field if non-nil, zero value otherwise. ### GetVrfOk -`func (o *PatchedWritablePrefixRequest) GetVrfOk() (*VRFRequest, bool)` +`func (o *PatchedWritablePrefixRequest) GetVrfOk() (*BriefVRFRequest, bool)` GetVrfOk returns a tuple with the Vrf field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVrf -`func (o *PatchedWritablePrefixRequest) SetVrf(v VRFRequest)` +`func (o *PatchedWritablePrefixRequest) SetVrf(v BriefVRFRequest)` SetVrf sets Vrf field to given value. @@ -134,20 +134,20 @@ HasVrf returns a boolean if a field has been set. UnsetVrf ensures that no value is present for Vrf, not even an explicit nil ### GetTenant -`func (o *PatchedWritablePrefixRequest) GetTenant() TenantRequest` +`func (o *PatchedWritablePrefixRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *PatchedWritablePrefixRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *PatchedWritablePrefixRequest) GetTenantOk() (*BriefTenantRequest, 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 *PatchedWritablePrefixRequest) SetTenant(v TenantRequest)` +`func (o *PatchedWritablePrefixRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. @@ -169,20 +169,20 @@ HasTenant returns a boolean if a field has been set. UnsetTenant ensures that no value is present for Tenant, not even an explicit nil ### GetVlan -`func (o *PatchedWritablePrefixRequest) GetVlan() VLANRequest` +`func (o *PatchedWritablePrefixRequest) GetVlan() BriefVLANRequest` GetVlan returns the Vlan field if non-nil, zero value otherwise. ### GetVlanOk -`func (o *PatchedWritablePrefixRequest) GetVlanOk() (*VLANRequest, bool)` +`func (o *PatchedWritablePrefixRequest) GetVlanOk() (*BriefVLANRequest, 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 *PatchedWritablePrefixRequest) SetVlan(v VLANRequest)` +`func (o *PatchedWritablePrefixRequest) SetVlan(v BriefVLANRequest)` SetVlan sets Vlan field to given value. @@ -229,20 +229,20 @@ HasStatus returns a boolean if a field has been set. ### GetRole -`func (o *PatchedWritablePrefixRequest) GetRole() RoleRequest` +`func (o *PatchedWritablePrefixRequest) GetRole() BriefRoleRequest` GetRole returns the Role field if non-nil, zero value otherwise. ### GetRoleOk -`func (o *PatchedWritablePrefixRequest) GetRoleOk() (*RoleRequest, bool)` +`func (o *PatchedWritablePrefixRequest) GetRoleOk() (*BriefRoleRequest, 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 *PatchedWritablePrefixRequest) SetRole(v RoleRequest)` +`func (o *PatchedWritablePrefixRequest) SetRole(v BriefRoleRequest)` SetRole sets Role field to given value. diff --git a/docs/PatchedWritableRackRequest.md b/docs/PatchedWritableRackRequest.md index ee517e47e..3a9f84d13 100644 --- a/docs/PatchedWritableRackRequest.md +++ b/docs/PatchedWritableRackRequest.md @@ -6,25 +6,27 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | Pointer to **string** | | [optional] **FacilityId** | Pointer to **NullableString** | | [optional] -**Site** | Pointer to [**SiteRequest**](SiteRequest.md) | | [optional] -**Location** | Pointer to [**NullableLocationRequest**](LocationRequest.md) | | [optional] -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] +**Site** | Pointer to [**BriefSiteRequest**](BriefSiteRequest.md) | | [optional] +**Location** | Pointer to [**NullableBriefLocationRequest**](BriefLocationRequest.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] **Status** | Pointer to [**PatchedWritableRackRequestStatus**](PatchedWritableRackRequestStatus.md) | | [optional] -**Role** | Pointer to [**NullableRackRoleRequest**](RackRoleRequest.md) | | [optional] +**Role** | Pointer to [**NullableBriefRackRoleRequest**](BriefRackRoleRequest.md) | | [optional] **Serial** | Pointer to **string** | | [optional] **AssetTag** | Pointer to **NullableString** | A unique tag used to identify this rack | [optional] -**Type** | Pointer to [**PatchedWritableRackRequestType**](PatchedWritableRackRequestType.md) | | [optional] +**RackType** | Pointer to [**NullableBriefRackTypeRequest**](BriefRackTypeRequest.md) | | [optional] +**FormFactor** | Pointer to [**PatchedWritableRackRequestFormFactor**](PatchedWritableRackRequestFormFactor.md) | | [optional] **Width** | Pointer to [**PatchedWritableRackRequestWidth**](PatchedWritableRackRequestWidth.md) | | [optional] **UHeight** | Pointer to **int32** | Height in rack units | [optional] **StartingUnit** | Pointer to **int32** | Starting unit for rack | [optional] **Weight** | Pointer to **NullableFloat64** | | [optional] **MaxWeight** | Pointer to **NullableInt32** | Maximum load capacity for the rack | [optional] -**WeightUnit** | Pointer to [**PatchedWritableDeviceTypeRequestWeightUnit**](PatchedWritableDeviceTypeRequestWeightUnit.md) | | [optional] +**WeightUnit** | Pointer to [**DeviceTypeWeightUnitValue**](DeviceTypeWeightUnitValue.md) | | [optional] **DescUnits** | Pointer to **bool** | Units are numbered top-to-bottom | [optional] **OuterWidth** | Pointer to **NullableInt32** | Outer dimension of rack (width) | [optional] **OuterDepth** | Pointer to **NullableInt32** | Outer dimension of rack (depth) | [optional] **OuterUnit** | Pointer to [**PatchedWritableRackRequestOuterUnit**](PatchedWritableRackRequestOuterUnit.md) | | [optional] **MountingDepth** | Pointer to **NullableInt32** | Maximum depth of a mounted device, in millimeters. For four-post racks, this is the distance between the front and rear rails. | [optional] +**Airflow** | Pointer to [**PatchedWritableRackRequestAirflow**](PatchedWritableRackRequestAirflow.md) | | [optional] **Description** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] @@ -111,20 +113,20 @@ HasFacilityId returns a boolean if a field has been set. UnsetFacilityId ensures that no value is present for FacilityId, not even an explicit nil ### GetSite -`func (o *PatchedWritableRackRequest) GetSite() SiteRequest` +`func (o *PatchedWritableRackRequest) GetSite() BriefSiteRequest` GetSite returns the Site field if non-nil, zero value otherwise. ### GetSiteOk -`func (o *PatchedWritableRackRequest) GetSiteOk() (*SiteRequest, bool)` +`func (o *PatchedWritableRackRequest) GetSiteOk() (*BriefSiteRequest, bool)` GetSiteOk returns a tuple with the Site field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSite -`func (o *PatchedWritableRackRequest) SetSite(v SiteRequest)` +`func (o *PatchedWritableRackRequest) SetSite(v BriefSiteRequest)` SetSite sets Site field to given value. @@ -136,20 +138,20 @@ HasSite returns a boolean if a field has been set. ### GetLocation -`func (o *PatchedWritableRackRequest) GetLocation() LocationRequest` +`func (o *PatchedWritableRackRequest) GetLocation() BriefLocationRequest` GetLocation returns the Location field if non-nil, zero value otherwise. ### GetLocationOk -`func (o *PatchedWritableRackRequest) GetLocationOk() (*LocationRequest, bool)` +`func (o *PatchedWritableRackRequest) GetLocationOk() (*BriefLocationRequest, 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 *PatchedWritableRackRequest) SetLocation(v LocationRequest)` +`func (o *PatchedWritableRackRequest) SetLocation(v BriefLocationRequest)` SetLocation sets Location field to given value. @@ -171,20 +173,20 @@ HasLocation returns a boolean if a field has been set. UnsetLocation ensures that no value is present for Location, not even an explicit nil ### GetTenant -`func (o *PatchedWritableRackRequest) GetTenant() TenantRequest` +`func (o *PatchedWritableRackRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *PatchedWritableRackRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *PatchedWritableRackRequest) GetTenantOk() (*BriefTenantRequest, 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 *PatchedWritableRackRequest) SetTenant(v TenantRequest)` +`func (o *PatchedWritableRackRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. @@ -231,20 +233,20 @@ HasStatus returns a boolean if a field has been set. ### GetRole -`func (o *PatchedWritableRackRequest) GetRole() RackRoleRequest` +`func (o *PatchedWritableRackRequest) GetRole() BriefRackRoleRequest` GetRole returns the Role field if non-nil, zero value otherwise. ### GetRoleOk -`func (o *PatchedWritableRackRequest) GetRoleOk() (*RackRoleRequest, bool)` +`func (o *PatchedWritableRackRequest) GetRoleOk() (*BriefRackRoleRequest, 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 *PatchedWritableRackRequest) SetRole(v RackRoleRequest)` +`func (o *PatchedWritableRackRequest) SetRole(v BriefRackRoleRequest)` SetRole sets Role field to given value. @@ -324,30 +326,65 @@ HasAssetTag returns a boolean if a field has been set. `func (o *PatchedWritableRackRequest) UnsetAssetTag()` UnsetAssetTag ensures that no value is present for AssetTag, not even an explicit nil -### GetType +### GetRackType -`func (o *PatchedWritableRackRequest) GetType() PatchedWritableRackRequestType` +`func (o *PatchedWritableRackRequest) GetRackType() BriefRackTypeRequest` -GetType returns the Type field if non-nil, zero value otherwise. +GetRackType returns the RackType field if non-nil, zero value otherwise. -### GetTypeOk +### GetRackTypeOk -`func (o *PatchedWritableRackRequest) GetTypeOk() (*PatchedWritableRackRequestType, bool)` +`func (o *PatchedWritableRackRequest) GetRackTypeOk() (*BriefRackTypeRequest, bool)` -GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +GetRackTypeOk returns a tuple with the RackType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetType +### SetRackType -`func (o *PatchedWritableRackRequest) SetType(v PatchedWritableRackRequestType)` +`func (o *PatchedWritableRackRequest) SetRackType(v BriefRackTypeRequest)` -SetType sets Type field to given value. +SetRackType sets RackType field to given value. -### HasType +### HasRackType -`func (o *PatchedWritableRackRequest) HasType() bool` +`func (o *PatchedWritableRackRequest) HasRackType() bool` -HasType returns a boolean if a field has been set. +HasRackType returns a boolean if a field has been set. + +### SetRackTypeNil + +`func (o *PatchedWritableRackRequest) SetRackTypeNil(b bool)` + + SetRackTypeNil sets the value for RackType to be an explicit nil + +### UnsetRackType +`func (o *PatchedWritableRackRequest) UnsetRackType()` + +UnsetRackType ensures that no value is present for RackType, not even an explicit nil +### GetFormFactor + +`func (o *PatchedWritableRackRequest) GetFormFactor() PatchedWritableRackRequestFormFactor` + +GetFormFactor returns the FormFactor field if non-nil, zero value otherwise. + +### GetFormFactorOk + +`func (o *PatchedWritableRackRequest) GetFormFactorOk() (*PatchedWritableRackRequestFormFactor, bool)` + +GetFormFactorOk returns a tuple with the FormFactor field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFormFactor + +`func (o *PatchedWritableRackRequest) SetFormFactor(v PatchedWritableRackRequestFormFactor)` + +SetFormFactor sets FormFactor field to given value. + +### HasFormFactor + +`func (o *PatchedWritableRackRequest) HasFormFactor() bool` + +HasFormFactor returns a boolean if a field has been set. ### GetWidth @@ -496,20 +533,20 @@ HasMaxWeight returns a boolean if a field has been set. UnsetMaxWeight ensures that no value is present for MaxWeight, not even an explicit nil ### GetWeightUnit -`func (o *PatchedWritableRackRequest) GetWeightUnit() PatchedWritableDeviceTypeRequestWeightUnit` +`func (o *PatchedWritableRackRequest) GetWeightUnit() DeviceTypeWeightUnitValue` GetWeightUnit returns the WeightUnit field if non-nil, zero value otherwise. ### GetWeightUnitOk -`func (o *PatchedWritableRackRequest) GetWeightUnitOk() (*PatchedWritableDeviceTypeRequestWeightUnit, bool)` +`func (o *PatchedWritableRackRequest) GetWeightUnitOk() (*DeviceTypeWeightUnitValue, bool)` GetWeightUnitOk returns a tuple with the WeightUnit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetWeightUnit -`func (o *PatchedWritableRackRequest) SetWeightUnit(v PatchedWritableDeviceTypeRequestWeightUnit)` +`func (o *PatchedWritableRackRequest) SetWeightUnit(v DeviceTypeWeightUnitValue)` SetWeightUnit sets WeightUnit field to given value. @@ -674,6 +711,31 @@ HasMountingDepth returns a boolean if a field has been set. `func (o *PatchedWritableRackRequest) UnsetMountingDepth()` UnsetMountingDepth ensures that no value is present for MountingDepth, not even an explicit nil +### GetAirflow + +`func (o *PatchedWritableRackRequest) GetAirflow() PatchedWritableRackRequestAirflow` + +GetAirflow returns the Airflow field if non-nil, zero value otherwise. + +### GetAirflowOk + +`func (o *PatchedWritableRackRequest) GetAirflowOk() (*PatchedWritableRackRequestAirflow, bool)` + +GetAirflowOk returns a tuple with the Airflow field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAirflow + +`func (o *PatchedWritableRackRequest) SetAirflow(v PatchedWritableRackRequestAirflow)` + +SetAirflow sets Airflow field to given value. + +### HasAirflow + +`func (o *PatchedWritableRackRequest) HasAirflow() bool` + +HasAirflow returns a boolean if a field has been set. + ### GetDescription `func (o *PatchedWritableRackRequest) GetDescription() string` diff --git a/docs/PatchedWritableRackRequestAirflow.md b/docs/PatchedWritableRackRequestAirflow.md new file mode 100644 index 000000000..a4de6542a --- /dev/null +++ b/docs/PatchedWritableRackRequestAirflow.md @@ -0,0 +1,15 @@ +# PatchedWritableRackRequestAirflow + +## Enum + + +* `FRONT_TO_REAR` (value: `"front-to-rear"`) + +* `REAR_TO_FRONT` (value: `"rear-to-front"`) + +* `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/PatchedWritableRackRequestFormFactor.md b/docs/PatchedWritableRackRequestFormFactor.md new file mode 100644 index 000000000..85a3f5399 --- /dev/null +++ b/docs/PatchedWritableRackRequestFormFactor.md @@ -0,0 +1,25 @@ +# PatchedWritableRackRequestFormFactor + +## Enum + + +* `_2_POST_FRAME` (value: `"2-post-frame"`) + +* `_4_POST_FRAME` (value: `"4-post-frame"`) + +* `_4_POST_CABINET` (value: `"4-post-cabinet"`) + +* `WALL_FRAME` (value: `"wall-frame"`) + +* `WALL_FRAME_VERTICAL` (value: `"wall-frame-vertical"`) + +* `WALL_CABINET` (value: `"wall-cabinet"`) + +* `WALL_CABINET_VERTICAL` (value: `"wall-cabinet-vertical"`) + +* `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/PatchedWritableRackTypeRequest.md b/docs/PatchedWritableRackTypeRequest.md new file mode 100644 index 000000000..32ed5e80b --- /dev/null +++ b/docs/PatchedWritableRackTypeRequest.md @@ -0,0 +1,574 @@ +# PatchedWritableRackTypeRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Manufacturer** | Pointer to [**BriefManufacturerRequest**](BriefManufacturerRequest.md) | | [optional] +**Model** | Pointer to **string** | | [optional] +**Slug** | Pointer to **string** | | [optional] +**Description** | Pointer to **string** | | [optional] +**FormFactor** | Pointer to [**PatchedWritableRackTypeRequestFormFactor**](PatchedWritableRackTypeRequestFormFactor.md) | | [optional] +**Width** | Pointer to [**PatchedWritableRackRequestWidth**](PatchedWritableRackRequestWidth.md) | | [optional] +**UHeight** | Pointer to **int32** | Height in rack units | [optional] +**StartingUnit** | Pointer to **int32** | Starting unit for rack | [optional] +**DescUnits** | Pointer to **bool** | Units are numbered top-to-bottom | [optional] +**OuterWidth** | Pointer to **NullableInt32** | Outer dimension of rack (width) | [optional] +**OuterDepth** | Pointer to **NullableInt32** | Outer dimension of rack (depth) | [optional] +**OuterUnit** | Pointer to [**PatchedWritableRackRequestOuterUnit**](PatchedWritableRackRequestOuterUnit.md) | | [optional] +**Weight** | Pointer to **NullableFloat64** | | [optional] +**MaxWeight** | Pointer to **NullableInt32** | Maximum load capacity for the rack | [optional] +**WeightUnit** | Pointer to [**DeviceTypeWeightUnitValue**](DeviceTypeWeightUnitValue.md) | | [optional] +**MountingDepth** | Pointer to **NullableInt32** | Maximum depth of a mounted device, in millimeters. For four-post racks, this is the distance between the front and rear rails. | [optional] +**Comments** | Pointer to **string** | | [optional] +**Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] + +## Methods + +### NewPatchedWritableRackTypeRequest + +`func NewPatchedWritableRackTypeRequest() *PatchedWritableRackTypeRequest` + +NewPatchedWritableRackTypeRequest instantiates a new PatchedWritableRackTypeRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPatchedWritableRackTypeRequestWithDefaults + +`func NewPatchedWritableRackTypeRequestWithDefaults() *PatchedWritableRackTypeRequest` + +NewPatchedWritableRackTypeRequestWithDefaults instantiates a new PatchedWritableRackTypeRequest object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetManufacturer + +`func (o *PatchedWritableRackTypeRequest) GetManufacturer() BriefManufacturerRequest` + +GetManufacturer returns the Manufacturer field if non-nil, zero value otherwise. + +### GetManufacturerOk + +`func (o *PatchedWritableRackTypeRequest) GetManufacturerOk() (*BriefManufacturerRequest, bool)` + +GetManufacturerOk returns a tuple with the Manufacturer field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetManufacturer + +`func (o *PatchedWritableRackTypeRequest) SetManufacturer(v BriefManufacturerRequest)` + +SetManufacturer sets Manufacturer field to given value. + +### HasManufacturer + +`func (o *PatchedWritableRackTypeRequest) HasManufacturer() bool` + +HasManufacturer returns a boolean if a field has been set. + +### GetModel + +`func (o *PatchedWritableRackTypeRequest) GetModel() string` + +GetModel returns the Model field if non-nil, zero value otherwise. + +### GetModelOk + +`func (o *PatchedWritableRackTypeRequest) GetModelOk() (*string, bool)` + +GetModelOk returns a tuple with the Model field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetModel + +`func (o *PatchedWritableRackTypeRequest) SetModel(v string)` + +SetModel sets Model field to given value. + +### HasModel + +`func (o *PatchedWritableRackTypeRequest) HasModel() bool` + +HasModel returns a boolean if a field has been set. + +### GetSlug + +`func (o *PatchedWritableRackTypeRequest) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *PatchedWritableRackTypeRequest) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *PatchedWritableRackTypeRequest) SetSlug(v string)` + +SetSlug sets Slug field to given value. + +### HasSlug + +`func (o *PatchedWritableRackTypeRequest) HasSlug() bool` + +HasSlug returns a boolean if a field has been set. + +### GetDescription + +`func (o *PatchedWritableRackTypeRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *PatchedWritableRackTypeRequest) 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 *PatchedWritableRackTypeRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *PatchedWritableRackTypeRequest) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetFormFactor + +`func (o *PatchedWritableRackTypeRequest) GetFormFactor() PatchedWritableRackTypeRequestFormFactor` + +GetFormFactor returns the FormFactor field if non-nil, zero value otherwise. + +### GetFormFactorOk + +`func (o *PatchedWritableRackTypeRequest) GetFormFactorOk() (*PatchedWritableRackTypeRequestFormFactor, bool)` + +GetFormFactorOk returns a tuple with the FormFactor field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFormFactor + +`func (o *PatchedWritableRackTypeRequest) SetFormFactor(v PatchedWritableRackTypeRequestFormFactor)` + +SetFormFactor sets FormFactor field to given value. + +### HasFormFactor + +`func (o *PatchedWritableRackTypeRequest) HasFormFactor() bool` + +HasFormFactor returns a boolean if a field has been set. + +### GetWidth + +`func (o *PatchedWritableRackTypeRequest) GetWidth() PatchedWritableRackRequestWidth` + +GetWidth returns the Width field if non-nil, zero value otherwise. + +### GetWidthOk + +`func (o *PatchedWritableRackTypeRequest) GetWidthOk() (*PatchedWritableRackRequestWidth, bool)` + +GetWidthOk returns a tuple with the Width field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWidth + +`func (o *PatchedWritableRackTypeRequest) SetWidth(v PatchedWritableRackRequestWidth)` + +SetWidth sets Width field to given value. + +### HasWidth + +`func (o *PatchedWritableRackTypeRequest) HasWidth() bool` + +HasWidth returns a boolean if a field has been set. + +### GetUHeight + +`func (o *PatchedWritableRackTypeRequest) GetUHeight() int32` + +GetUHeight returns the UHeight field if non-nil, zero value otherwise. + +### GetUHeightOk + +`func (o *PatchedWritableRackTypeRequest) GetUHeightOk() (*int32, bool)` + +GetUHeightOk returns a tuple with the UHeight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUHeight + +`func (o *PatchedWritableRackTypeRequest) SetUHeight(v int32)` + +SetUHeight sets UHeight field to given value. + +### HasUHeight + +`func (o *PatchedWritableRackTypeRequest) HasUHeight() bool` + +HasUHeight returns a boolean if a field has been set. + +### GetStartingUnit + +`func (o *PatchedWritableRackTypeRequest) GetStartingUnit() int32` + +GetStartingUnit returns the StartingUnit field if non-nil, zero value otherwise. + +### GetStartingUnitOk + +`func (o *PatchedWritableRackTypeRequest) GetStartingUnitOk() (*int32, bool)` + +GetStartingUnitOk returns a tuple with the StartingUnit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStartingUnit + +`func (o *PatchedWritableRackTypeRequest) SetStartingUnit(v int32)` + +SetStartingUnit sets StartingUnit field to given value. + +### HasStartingUnit + +`func (o *PatchedWritableRackTypeRequest) HasStartingUnit() bool` + +HasStartingUnit returns a boolean if a field has been set. + +### GetDescUnits + +`func (o *PatchedWritableRackTypeRequest) GetDescUnits() bool` + +GetDescUnits returns the DescUnits field if non-nil, zero value otherwise. + +### GetDescUnitsOk + +`func (o *PatchedWritableRackTypeRequest) GetDescUnitsOk() (*bool, bool)` + +GetDescUnitsOk returns a tuple with the DescUnits field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDescUnits + +`func (o *PatchedWritableRackTypeRequest) SetDescUnits(v bool)` + +SetDescUnits sets DescUnits field to given value. + +### HasDescUnits + +`func (o *PatchedWritableRackTypeRequest) HasDescUnits() bool` + +HasDescUnits returns a boolean if a field has been set. + +### GetOuterWidth + +`func (o *PatchedWritableRackTypeRequest) GetOuterWidth() int32` + +GetOuterWidth returns the OuterWidth field if non-nil, zero value otherwise. + +### GetOuterWidthOk + +`func (o *PatchedWritableRackTypeRequest) GetOuterWidthOk() (*int32, bool)` + +GetOuterWidthOk returns a tuple with the OuterWidth field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOuterWidth + +`func (o *PatchedWritableRackTypeRequest) SetOuterWidth(v int32)` + +SetOuterWidth sets OuterWidth field to given value. + +### HasOuterWidth + +`func (o *PatchedWritableRackTypeRequest) HasOuterWidth() bool` + +HasOuterWidth returns a boolean if a field has been set. + +### SetOuterWidthNil + +`func (o *PatchedWritableRackTypeRequest) SetOuterWidthNil(b bool)` + + SetOuterWidthNil sets the value for OuterWidth to be an explicit nil + +### UnsetOuterWidth +`func (o *PatchedWritableRackTypeRequest) UnsetOuterWidth()` + +UnsetOuterWidth ensures that no value is present for OuterWidth, not even an explicit nil +### GetOuterDepth + +`func (o *PatchedWritableRackTypeRequest) GetOuterDepth() int32` + +GetOuterDepth returns the OuterDepth field if non-nil, zero value otherwise. + +### GetOuterDepthOk + +`func (o *PatchedWritableRackTypeRequest) GetOuterDepthOk() (*int32, bool)` + +GetOuterDepthOk returns a tuple with the OuterDepth field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOuterDepth + +`func (o *PatchedWritableRackTypeRequest) SetOuterDepth(v int32)` + +SetOuterDepth sets OuterDepth field to given value. + +### HasOuterDepth + +`func (o *PatchedWritableRackTypeRequest) HasOuterDepth() bool` + +HasOuterDepth returns a boolean if a field has been set. + +### SetOuterDepthNil + +`func (o *PatchedWritableRackTypeRequest) SetOuterDepthNil(b bool)` + + SetOuterDepthNil sets the value for OuterDepth to be an explicit nil + +### UnsetOuterDepth +`func (o *PatchedWritableRackTypeRequest) UnsetOuterDepth()` + +UnsetOuterDepth ensures that no value is present for OuterDepth, not even an explicit nil +### GetOuterUnit + +`func (o *PatchedWritableRackTypeRequest) GetOuterUnit() PatchedWritableRackRequestOuterUnit` + +GetOuterUnit returns the OuterUnit field if non-nil, zero value otherwise. + +### GetOuterUnitOk + +`func (o *PatchedWritableRackTypeRequest) GetOuterUnitOk() (*PatchedWritableRackRequestOuterUnit, bool)` + +GetOuterUnitOk returns a tuple with the OuterUnit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOuterUnit + +`func (o *PatchedWritableRackTypeRequest) SetOuterUnit(v PatchedWritableRackRequestOuterUnit)` + +SetOuterUnit sets OuterUnit field to given value. + +### HasOuterUnit + +`func (o *PatchedWritableRackTypeRequest) HasOuterUnit() bool` + +HasOuterUnit returns a boolean if a field has been set. + +### GetWeight + +`func (o *PatchedWritableRackTypeRequest) GetWeight() float64` + +GetWeight returns the Weight field if non-nil, zero value otherwise. + +### GetWeightOk + +`func (o *PatchedWritableRackTypeRequest) GetWeightOk() (*float64, bool)` + +GetWeightOk returns a tuple with the Weight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWeight + +`func (o *PatchedWritableRackTypeRequest) SetWeight(v float64)` + +SetWeight sets Weight field to given value. + +### HasWeight + +`func (o *PatchedWritableRackTypeRequest) HasWeight() bool` + +HasWeight returns a boolean if a field has been set. + +### SetWeightNil + +`func (o *PatchedWritableRackTypeRequest) SetWeightNil(b bool)` + + SetWeightNil sets the value for Weight to be an explicit nil + +### UnsetWeight +`func (o *PatchedWritableRackTypeRequest) UnsetWeight()` + +UnsetWeight ensures that no value is present for Weight, not even an explicit nil +### GetMaxWeight + +`func (o *PatchedWritableRackTypeRequest) GetMaxWeight() int32` + +GetMaxWeight returns the MaxWeight field if non-nil, zero value otherwise. + +### GetMaxWeightOk + +`func (o *PatchedWritableRackTypeRequest) GetMaxWeightOk() (*int32, bool)` + +GetMaxWeightOk returns a tuple with the MaxWeight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxWeight + +`func (o *PatchedWritableRackTypeRequest) SetMaxWeight(v int32)` + +SetMaxWeight sets MaxWeight field to given value. + +### HasMaxWeight + +`func (o *PatchedWritableRackTypeRequest) HasMaxWeight() bool` + +HasMaxWeight returns a boolean if a field has been set. + +### SetMaxWeightNil + +`func (o *PatchedWritableRackTypeRequest) SetMaxWeightNil(b bool)` + + SetMaxWeightNil sets the value for MaxWeight to be an explicit nil + +### UnsetMaxWeight +`func (o *PatchedWritableRackTypeRequest) UnsetMaxWeight()` + +UnsetMaxWeight ensures that no value is present for MaxWeight, not even an explicit nil +### GetWeightUnit + +`func (o *PatchedWritableRackTypeRequest) GetWeightUnit() DeviceTypeWeightUnitValue` + +GetWeightUnit returns the WeightUnit field if non-nil, zero value otherwise. + +### GetWeightUnitOk + +`func (o *PatchedWritableRackTypeRequest) GetWeightUnitOk() (*DeviceTypeWeightUnitValue, bool)` + +GetWeightUnitOk returns a tuple with the WeightUnit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWeightUnit + +`func (o *PatchedWritableRackTypeRequest) SetWeightUnit(v DeviceTypeWeightUnitValue)` + +SetWeightUnit sets WeightUnit field to given value. + +### HasWeightUnit + +`func (o *PatchedWritableRackTypeRequest) HasWeightUnit() bool` + +HasWeightUnit returns a boolean if a field has been set. + +### GetMountingDepth + +`func (o *PatchedWritableRackTypeRequest) GetMountingDepth() int32` + +GetMountingDepth returns the MountingDepth field if non-nil, zero value otherwise. + +### GetMountingDepthOk + +`func (o *PatchedWritableRackTypeRequest) GetMountingDepthOk() (*int32, bool)` + +GetMountingDepthOk returns a tuple with the MountingDepth field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMountingDepth + +`func (o *PatchedWritableRackTypeRequest) SetMountingDepth(v int32)` + +SetMountingDepth sets MountingDepth field to given value. + +### HasMountingDepth + +`func (o *PatchedWritableRackTypeRequest) HasMountingDepth() bool` + +HasMountingDepth returns a boolean if a field has been set. + +### SetMountingDepthNil + +`func (o *PatchedWritableRackTypeRequest) SetMountingDepthNil(b bool)` + + SetMountingDepthNil sets the value for MountingDepth to be an explicit nil + +### UnsetMountingDepth +`func (o *PatchedWritableRackTypeRequest) UnsetMountingDepth()` + +UnsetMountingDepth ensures that no value is present for MountingDepth, not even an explicit nil +### GetComments + +`func (o *PatchedWritableRackTypeRequest) GetComments() string` + +GetComments returns the Comments field if non-nil, zero value otherwise. + +### GetCommentsOk + +`func (o *PatchedWritableRackTypeRequest) GetCommentsOk() (*string, bool)` + +GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComments + +`func (o *PatchedWritableRackTypeRequest) SetComments(v string)` + +SetComments sets Comments field to given value. + +### HasComments + +`func (o *PatchedWritableRackTypeRequest) HasComments() bool` + +HasComments returns a boolean if a field has been set. + +### GetTags + +`func (o *PatchedWritableRackTypeRequest) GetTags() []NestedTagRequest` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *PatchedWritableRackTypeRequest) GetTagsOk() (*[]NestedTagRequest, 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 *PatchedWritableRackTypeRequest) SetTags(v []NestedTagRequest)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *PatchedWritableRackTypeRequest) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *PatchedWritableRackTypeRequest) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *PatchedWritableRackTypeRequest) 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 *PatchedWritableRackTypeRequest) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *PatchedWritableRackTypeRequest) 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/PatchedWritableRackTypeRequestFormFactor.md b/docs/PatchedWritableRackTypeRequestFormFactor.md new file mode 100644 index 000000000..e1dd497f0 --- /dev/null +++ b/docs/PatchedWritableRackTypeRequestFormFactor.md @@ -0,0 +1,23 @@ +# PatchedWritableRackTypeRequestFormFactor + +## Enum + + +* `_2_POST_FRAME` (value: `"2-post-frame"`) + +* `_4_POST_FRAME` (value: `"4-post-frame"`) + +* `_4_POST_CABINET` (value: `"4-post-cabinet"`) + +* `WALL_FRAME` (value: `"wall-frame"`) + +* `WALL_FRAME_VERTICAL` (value: `"wall-frame-vertical"`) + +* `WALL_CABINET` (value: `"wall-cabinet"`) + +* `WALL_CABINET_VERTICAL` (value: `"wall-cabinet-vertical"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/PatchedWritableRearPortRequest.md b/docs/PatchedWritableRearPortRequest.md index f77fdd2db..c3687e9e3 100644 --- a/docs/PatchedWritableRearPortRequest.md +++ b/docs/PatchedWritableRearPortRequest.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Device** | Pointer to [**DeviceRequest**](DeviceRequest.md) | | [optional] -**Module** | Pointer to [**NullableModuleRequest**](ModuleRequest.md) | | [optional] +**Device** | Pointer to [**BriefDeviceRequest**](BriefDeviceRequest.md) | | [optional] +**Module** | Pointer to [**NullableBriefModuleRequest**](BriefModuleRequest.md) | | [optional] **Name** | Pointer to **string** | | [optional] **Label** | Pointer to **string** | Physical label | [optional] **Type** | Pointer to [**FrontPortTypeValue**](FrontPortTypeValue.md) | | [optional] @@ -37,20 +37,20 @@ but it doesn't guarantee that properties required by API are set ### GetDevice -`func (o *PatchedWritableRearPortRequest) GetDevice() DeviceRequest` +`func (o *PatchedWritableRearPortRequest) GetDevice() BriefDeviceRequest` GetDevice returns the Device field if non-nil, zero value otherwise. ### GetDeviceOk -`func (o *PatchedWritableRearPortRequest) GetDeviceOk() (*DeviceRequest, bool)` +`func (o *PatchedWritableRearPortRequest) GetDeviceOk() (*BriefDeviceRequest, 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 *PatchedWritableRearPortRequest) SetDevice(v DeviceRequest)` +`func (o *PatchedWritableRearPortRequest) SetDevice(v BriefDeviceRequest)` SetDevice sets Device field to given value. @@ -62,20 +62,20 @@ HasDevice returns a boolean if a field has been set. ### GetModule -`func (o *PatchedWritableRearPortRequest) GetModule() ModuleRequest` +`func (o *PatchedWritableRearPortRequest) GetModule() BriefModuleRequest` GetModule returns the Module field if non-nil, zero value otherwise. ### GetModuleOk -`func (o *PatchedWritableRearPortRequest) GetModuleOk() (*ModuleRequest, bool)` +`func (o *PatchedWritableRearPortRequest) GetModuleOk() (*BriefModuleRequest, bool)` GetModuleOk returns a tuple with the Module field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetModule -`func (o *PatchedWritableRearPortRequest) SetModule(v ModuleRequest)` +`func (o *PatchedWritableRearPortRequest) SetModule(v BriefModuleRequest)` SetModule sets Module field to given value. diff --git a/docs/PatchedWritableRearPortTemplateRequest.md b/docs/PatchedWritableRearPortTemplateRequest.md index 200b96c81..2e43d2d10 100644 --- a/docs/PatchedWritableRearPortTemplateRequest.md +++ b/docs/PatchedWritableRearPortTemplateRequest.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**DeviceType** | Pointer to [**NullableDeviceTypeRequest**](DeviceTypeRequest.md) | | [optional] -**ModuleType** | Pointer to [**NullableModuleTypeRequest**](ModuleTypeRequest.md) | | [optional] +**DeviceType** | Pointer to [**NullableBriefDeviceTypeRequest**](BriefDeviceTypeRequest.md) | | [optional] +**ModuleType** | Pointer to [**NullableBriefModuleTypeRequest**](BriefModuleTypeRequest.md) | | [optional] **Name** | Pointer to **string** | {module} is accepted as a substitution for the module bay position when attached to a module type. | [optional] **Label** | Pointer to **string** | Physical label | [optional] **Type** | Pointer to [**FrontPortTypeValue**](FrontPortTypeValue.md) | | [optional] @@ -34,20 +34,20 @@ but it doesn't guarantee that properties required by API are set ### GetDeviceType -`func (o *PatchedWritableRearPortTemplateRequest) GetDeviceType() DeviceTypeRequest` +`func (o *PatchedWritableRearPortTemplateRequest) GetDeviceType() BriefDeviceTypeRequest` GetDeviceType returns the DeviceType field if non-nil, zero value otherwise. ### GetDeviceTypeOk -`func (o *PatchedWritableRearPortTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool)` +`func (o *PatchedWritableRearPortTemplateRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool)` GetDeviceTypeOk returns a tuple with the DeviceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDeviceType -`func (o *PatchedWritableRearPortTemplateRequest) SetDeviceType(v DeviceTypeRequest)` +`func (o *PatchedWritableRearPortTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest)` SetDeviceType sets DeviceType field to given value. @@ -69,20 +69,20 @@ HasDeviceType returns a boolean if a field has been set. UnsetDeviceType ensures that no value is present for DeviceType, not even an explicit nil ### GetModuleType -`func (o *PatchedWritableRearPortTemplateRequest) GetModuleType() ModuleTypeRequest` +`func (o *PatchedWritableRearPortTemplateRequest) GetModuleType() BriefModuleTypeRequest` GetModuleType returns the ModuleType field if non-nil, zero value otherwise. ### GetModuleTypeOk -`func (o *PatchedWritableRearPortTemplateRequest) GetModuleTypeOk() (*ModuleTypeRequest, bool)` +`func (o *PatchedWritableRearPortTemplateRequest) GetModuleTypeOk() (*BriefModuleTypeRequest, bool)` GetModuleTypeOk returns a tuple with the ModuleType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetModuleType -`func (o *PatchedWritableRearPortTemplateRequest) SetModuleType(v ModuleTypeRequest)` +`func (o *PatchedWritableRearPortTemplateRequest) SetModuleType(v BriefModuleTypeRequest)` SetModuleType sets ModuleType field to given value. diff --git a/docs/PatchedWritableServiceRequest.md b/docs/PatchedWritableServiceRequest.md index 1766d4654..7a04b670c 100644 --- a/docs/PatchedWritableServiceRequest.md +++ b/docs/PatchedWritableServiceRequest.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Device** | Pointer to [**NullableDeviceRequest**](DeviceRequest.md) | | [optional] -**VirtualMachine** | Pointer to [**NullableVirtualMachineRequest**](VirtualMachineRequest.md) | | [optional] +**Device** | Pointer to [**NullableBriefDeviceRequest**](BriefDeviceRequest.md) | | [optional] +**VirtualMachine** | Pointer to [**NullableBriefVirtualMachineRequest**](BriefVirtualMachineRequest.md) | | [optional] **Name** | Pointer to **string** | | [optional] **Protocol** | Pointer to [**PatchedWritableServiceRequestProtocol**](PatchedWritableServiceRequestProtocol.md) | | [optional] **Ports** | Pointer to **[]int32** | | [optional] @@ -36,20 +36,20 @@ but it doesn't guarantee that properties required by API are set ### GetDevice -`func (o *PatchedWritableServiceRequest) GetDevice() DeviceRequest` +`func (o *PatchedWritableServiceRequest) GetDevice() BriefDeviceRequest` GetDevice returns the Device field if non-nil, zero value otherwise. ### GetDeviceOk -`func (o *PatchedWritableServiceRequest) GetDeviceOk() (*DeviceRequest, bool)` +`func (o *PatchedWritableServiceRequest) GetDeviceOk() (*BriefDeviceRequest, 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 *PatchedWritableServiceRequest) SetDevice(v DeviceRequest)` +`func (o *PatchedWritableServiceRequest) SetDevice(v BriefDeviceRequest)` SetDevice sets Device field to given value. @@ -71,20 +71,20 @@ HasDevice returns a boolean if a field has been set. UnsetDevice ensures that no value is present for Device, not even an explicit nil ### GetVirtualMachine -`func (o *PatchedWritableServiceRequest) GetVirtualMachine() VirtualMachineRequest` +`func (o *PatchedWritableServiceRequest) GetVirtualMachine() BriefVirtualMachineRequest` GetVirtualMachine returns the VirtualMachine field if non-nil, zero value otherwise. ### GetVirtualMachineOk -`func (o *PatchedWritableServiceRequest) GetVirtualMachineOk() (*VirtualMachineRequest, bool)` +`func (o *PatchedWritableServiceRequest) GetVirtualMachineOk() (*BriefVirtualMachineRequest, bool)` GetVirtualMachineOk returns a tuple with the VirtualMachine field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVirtualMachine -`func (o *PatchedWritableServiceRequest) SetVirtualMachine(v VirtualMachineRequest)` +`func (o *PatchedWritableServiceRequest) SetVirtualMachine(v BriefVirtualMachineRequest)` SetVirtualMachine sets VirtualMachine field to given value. diff --git a/docs/PatchedWritableSiteRequest.md b/docs/PatchedWritableSiteRequest.md index 508c38a89..8c3c896c8 100644 --- a/docs/PatchedWritableSiteRequest.md +++ b/docs/PatchedWritableSiteRequest.md @@ -6,10 +6,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | Pointer to **string** | Full name of the site | [optional] **Slug** | Pointer to **string** | | [optional] -**Status** | Pointer to [**PatchedWritableLocationRequestStatus**](PatchedWritableLocationRequestStatus.md) | | [optional] -**Region** | Pointer to [**NullableRegionRequest**](RegionRequest.md) | | [optional] -**Group** | Pointer to [**NullableSiteGroupRequest**](SiteGroupRequest.md) | | [optional] -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] +**Status** | Pointer to [**LocationStatusValue**](LocationStatusValue.md) | | [optional] +**Region** | Pointer to [**NullableBriefRegionRequest**](BriefRegionRequest.md) | | [optional] +**Group** | Pointer to [**NullableBriefSiteGroupRequest**](BriefSiteGroupRequest.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] **Facility** | Pointer to **string** | Local facility ID or description | [optional] **TimeZone** | Pointer to **NullableString** | | [optional] **Description** | Pointer to **string** | | [optional] @@ -93,20 +93,20 @@ HasSlug returns a boolean if a field has been set. ### GetStatus -`func (o *PatchedWritableSiteRequest) GetStatus() PatchedWritableLocationRequestStatus` +`func (o *PatchedWritableSiteRequest) GetStatus() LocationStatusValue` GetStatus returns the Status field if non-nil, zero value otherwise. ### GetStatusOk -`func (o *PatchedWritableSiteRequest) GetStatusOk() (*PatchedWritableLocationRequestStatus, bool)` +`func (o *PatchedWritableSiteRequest) GetStatusOk() (*LocationStatusValue, 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 *PatchedWritableSiteRequest) SetStatus(v PatchedWritableLocationRequestStatus)` +`func (o *PatchedWritableSiteRequest) SetStatus(v LocationStatusValue)` SetStatus sets Status field to given value. @@ -118,20 +118,20 @@ HasStatus returns a boolean if a field has been set. ### GetRegion -`func (o *PatchedWritableSiteRequest) GetRegion() RegionRequest` +`func (o *PatchedWritableSiteRequest) GetRegion() BriefRegionRequest` GetRegion returns the Region field if non-nil, zero value otherwise. ### GetRegionOk -`func (o *PatchedWritableSiteRequest) GetRegionOk() (*RegionRequest, bool)` +`func (o *PatchedWritableSiteRequest) GetRegionOk() (*BriefRegionRequest, bool)` GetRegionOk returns a tuple with the Region field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRegion -`func (o *PatchedWritableSiteRequest) SetRegion(v RegionRequest)` +`func (o *PatchedWritableSiteRequest) SetRegion(v BriefRegionRequest)` SetRegion sets Region field to given value. @@ -153,20 +153,20 @@ HasRegion returns a boolean if a field has been set. UnsetRegion ensures that no value is present for Region, not even an explicit nil ### GetGroup -`func (o *PatchedWritableSiteRequest) GetGroup() SiteGroupRequest` +`func (o *PatchedWritableSiteRequest) GetGroup() BriefSiteGroupRequest` GetGroup returns the Group field if non-nil, zero value otherwise. ### GetGroupOk -`func (o *PatchedWritableSiteRequest) GetGroupOk() (*SiteGroupRequest, bool)` +`func (o *PatchedWritableSiteRequest) GetGroupOk() (*BriefSiteGroupRequest, bool)` GetGroupOk returns a tuple with the Group field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetGroup -`func (o *PatchedWritableSiteRequest) SetGroup(v SiteGroupRequest)` +`func (o *PatchedWritableSiteRequest) SetGroup(v BriefSiteGroupRequest)` SetGroup sets Group field to given value. @@ -188,20 +188,20 @@ HasGroup returns a boolean if a field has been set. UnsetGroup ensures that no value is present for Group, not even an explicit nil ### GetTenant -`func (o *PatchedWritableSiteRequest) GetTenant() TenantRequest` +`func (o *PatchedWritableSiteRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *PatchedWritableSiteRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *PatchedWritableSiteRequest) GetTenantOk() (*BriefTenantRequest, 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 *PatchedWritableSiteRequest) SetTenant(v TenantRequest)` +`func (o *PatchedWritableSiteRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. diff --git a/docs/PatchedWritableTunnelRequest.md b/docs/PatchedWritableTunnelRequest.md index 5fa722f81..a4407ef86 100644 --- a/docs/PatchedWritableTunnelRequest.md +++ b/docs/PatchedWritableTunnelRequest.md @@ -6,10 +6,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | Pointer to **string** | | [optional] **Status** | Pointer to [**PatchedWritableTunnelRequestStatus**](PatchedWritableTunnelRequestStatus.md) | | [optional] -**Group** | Pointer to [**NullableTunnelGroupRequest**](TunnelGroupRequest.md) | | [optional] +**Group** | Pointer to [**NullableBriefTunnelGroupRequest**](BriefTunnelGroupRequest.md) | | [optional] **Encapsulation** | Pointer to [**PatchedWritableTunnelRequestEncapsulation**](PatchedWritableTunnelRequestEncapsulation.md) | | [optional] -**IpsecProfile** | Pointer to [**NullableIPSecProfileRequest**](IPSecProfileRequest.md) | | [optional] -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] +**IpsecProfile** | Pointer to [**NullableBriefIPSecProfileRequest**](BriefIPSecProfileRequest.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] **TunnelId** | Pointer to **NullableInt64** | | [optional] **Description** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] @@ -87,20 +87,20 @@ HasStatus returns a boolean if a field has been set. ### GetGroup -`func (o *PatchedWritableTunnelRequest) GetGroup() TunnelGroupRequest` +`func (o *PatchedWritableTunnelRequest) GetGroup() BriefTunnelGroupRequest` GetGroup returns the Group field if non-nil, zero value otherwise. ### GetGroupOk -`func (o *PatchedWritableTunnelRequest) GetGroupOk() (*TunnelGroupRequest, bool)` +`func (o *PatchedWritableTunnelRequest) GetGroupOk() (*BriefTunnelGroupRequest, bool)` GetGroupOk returns a tuple with the Group field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetGroup -`func (o *PatchedWritableTunnelRequest) SetGroup(v TunnelGroupRequest)` +`func (o *PatchedWritableTunnelRequest) SetGroup(v BriefTunnelGroupRequest)` SetGroup sets Group field to given value. @@ -147,20 +147,20 @@ HasEncapsulation returns a boolean if a field has been set. ### GetIpsecProfile -`func (o *PatchedWritableTunnelRequest) GetIpsecProfile() IPSecProfileRequest` +`func (o *PatchedWritableTunnelRequest) GetIpsecProfile() BriefIPSecProfileRequest` GetIpsecProfile returns the IpsecProfile field if non-nil, zero value otherwise. ### GetIpsecProfileOk -`func (o *PatchedWritableTunnelRequest) GetIpsecProfileOk() (*IPSecProfileRequest, bool)` +`func (o *PatchedWritableTunnelRequest) GetIpsecProfileOk() (*BriefIPSecProfileRequest, bool)` GetIpsecProfileOk returns a tuple with the IpsecProfile field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIpsecProfile -`func (o *PatchedWritableTunnelRequest) SetIpsecProfile(v IPSecProfileRequest)` +`func (o *PatchedWritableTunnelRequest) SetIpsecProfile(v BriefIPSecProfileRequest)` SetIpsecProfile sets IpsecProfile field to given value. @@ -182,20 +182,20 @@ HasIpsecProfile returns a boolean if a field has been set. UnsetIpsecProfile ensures that no value is present for IpsecProfile, not even an explicit nil ### GetTenant -`func (o *PatchedWritableTunnelRequest) GetTenant() TenantRequest` +`func (o *PatchedWritableTunnelRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *PatchedWritableTunnelRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *PatchedWritableTunnelRequest) GetTenantOk() (*BriefTenantRequest, 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 *PatchedWritableTunnelRequest) SetTenant(v TenantRequest)` +`func (o *PatchedWritableTunnelRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. diff --git a/docs/PatchedWritableTunnelTerminationRequest.md b/docs/PatchedWritableTunnelTerminationRequest.md index 15f17c622..3cbfca83e 100644 --- a/docs/PatchedWritableTunnelTerminationRequest.md +++ b/docs/PatchedWritableTunnelTerminationRequest.md @@ -4,11 +4,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Tunnel** | Pointer to [**TunnelRequest**](TunnelRequest.md) | | [optional] +**Tunnel** | Pointer to [**BriefTunnelRequest**](BriefTunnelRequest.md) | | [optional] **Role** | Pointer to [**PatchedWritableTunnelTerminationRequestRole**](PatchedWritableTunnelTerminationRequestRole.md) | | [optional] **TerminationType** | Pointer to **string** | | [optional] **TerminationId** | Pointer to **NullableInt64** | | [optional] -**OutsideIp** | Pointer to [**NullableIPAddressRequest**](IPAddressRequest.md) | | [optional] +**OutsideIp** | Pointer to [**NullableBriefIPAddressRequest**](BriefIPAddressRequest.md) | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] @@ -33,20 +33,20 @@ but it doesn't guarantee that properties required by API are set ### GetTunnel -`func (o *PatchedWritableTunnelTerminationRequest) GetTunnel() TunnelRequest` +`func (o *PatchedWritableTunnelTerminationRequest) GetTunnel() BriefTunnelRequest` GetTunnel returns the Tunnel field if non-nil, zero value otherwise. ### GetTunnelOk -`func (o *PatchedWritableTunnelTerminationRequest) GetTunnelOk() (*TunnelRequest, bool)` +`func (o *PatchedWritableTunnelTerminationRequest) GetTunnelOk() (*BriefTunnelRequest, bool)` GetTunnelOk returns a tuple with the Tunnel field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTunnel -`func (o *PatchedWritableTunnelTerminationRequest) SetTunnel(v TunnelRequest)` +`func (o *PatchedWritableTunnelTerminationRequest) SetTunnel(v BriefTunnelRequest)` SetTunnel sets Tunnel field to given value. @@ -143,20 +143,20 @@ HasTerminationId returns a boolean if a field has been set. UnsetTerminationId ensures that no value is present for TerminationId, not even an explicit nil ### GetOutsideIp -`func (o *PatchedWritableTunnelTerminationRequest) GetOutsideIp() IPAddressRequest` +`func (o *PatchedWritableTunnelTerminationRequest) GetOutsideIp() BriefIPAddressRequest` GetOutsideIp returns the OutsideIp field if non-nil, zero value otherwise. ### GetOutsideIpOk -`func (o *PatchedWritableTunnelTerminationRequest) GetOutsideIpOk() (*IPAddressRequest, bool)` +`func (o *PatchedWritableTunnelTerminationRequest) GetOutsideIpOk() (*BriefIPAddressRequest, bool)` GetOutsideIpOk returns a tuple with the OutsideIp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetOutsideIp -`func (o *PatchedWritableTunnelTerminationRequest) SetOutsideIp(v IPAddressRequest)` +`func (o *PatchedWritableTunnelTerminationRequest) SetOutsideIp(v BriefIPAddressRequest)` SetOutsideIp sets OutsideIp field to given value. diff --git a/docs/PatchedWritableVLANRequest.md b/docs/PatchedWritableVLANRequest.md index edfc174e7..489fc76da 100644 --- a/docs/PatchedWritableVLANRequest.md +++ b/docs/PatchedWritableVLANRequest.md @@ -4,13 +4,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Site** | Pointer to [**NullableSiteRequest**](SiteRequest.md) | | [optional] -**Group** | Pointer to [**NullableVLANGroupRequest**](VLANGroupRequest.md) | | [optional] +**Site** | Pointer to [**NullableBriefSiteRequest**](BriefSiteRequest.md) | | [optional] +**Group** | Pointer to [**NullableBriefVLANGroupRequest**](BriefVLANGroupRequest.md) | | [optional] **Vid** | Pointer to **int32** | Numeric VLAN ID (1-4094) | [optional] **Name** | Pointer to **string** | | [optional] -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] **Status** | Pointer to [**PatchedWritableVLANRequestStatus**](PatchedWritableVLANRequestStatus.md) | | [optional] -**Role** | Pointer to [**NullableRoleRequest**](RoleRequest.md) | | [optional] +**Role** | Pointer to [**NullableBriefRoleRequest**](BriefRoleRequest.md) | | [optional] **Description** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] @@ -37,20 +37,20 @@ but it doesn't guarantee that properties required by API are set ### GetSite -`func (o *PatchedWritableVLANRequest) GetSite() SiteRequest` +`func (o *PatchedWritableVLANRequest) GetSite() BriefSiteRequest` GetSite returns the Site field if non-nil, zero value otherwise. ### GetSiteOk -`func (o *PatchedWritableVLANRequest) GetSiteOk() (*SiteRequest, bool)` +`func (o *PatchedWritableVLANRequest) GetSiteOk() (*BriefSiteRequest, bool)` GetSiteOk returns a tuple with the Site field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSite -`func (o *PatchedWritableVLANRequest) SetSite(v SiteRequest)` +`func (o *PatchedWritableVLANRequest) SetSite(v BriefSiteRequest)` SetSite sets Site field to given value. @@ -72,20 +72,20 @@ HasSite returns a boolean if a field has been set. UnsetSite ensures that no value is present for Site, not even an explicit nil ### GetGroup -`func (o *PatchedWritableVLANRequest) GetGroup() VLANGroupRequest` +`func (o *PatchedWritableVLANRequest) GetGroup() BriefVLANGroupRequest` GetGroup returns the Group field if non-nil, zero value otherwise. ### GetGroupOk -`func (o *PatchedWritableVLANRequest) GetGroupOk() (*VLANGroupRequest, bool)` +`func (o *PatchedWritableVLANRequest) GetGroupOk() (*BriefVLANGroupRequest, bool)` GetGroupOk returns a tuple with the Group field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetGroup -`func (o *PatchedWritableVLANRequest) SetGroup(v VLANGroupRequest)` +`func (o *PatchedWritableVLANRequest) SetGroup(v BriefVLANGroupRequest)` SetGroup sets Group field to given value. @@ -157,20 +157,20 @@ HasName returns a boolean if a field has been set. ### GetTenant -`func (o *PatchedWritableVLANRequest) GetTenant() TenantRequest` +`func (o *PatchedWritableVLANRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *PatchedWritableVLANRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *PatchedWritableVLANRequest) GetTenantOk() (*BriefTenantRequest, 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 *PatchedWritableVLANRequest) SetTenant(v TenantRequest)` +`func (o *PatchedWritableVLANRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. @@ -217,20 +217,20 @@ HasStatus returns a boolean if a field has been set. ### GetRole -`func (o *PatchedWritableVLANRequest) GetRole() RoleRequest` +`func (o *PatchedWritableVLANRequest) GetRole() BriefRoleRequest` GetRole returns the Role field if non-nil, zero value otherwise. ### GetRoleOk -`func (o *PatchedWritableVLANRequest) GetRoleOk() (*RoleRequest, bool)` +`func (o *PatchedWritableVLANRequest) GetRoleOk() (*BriefRoleRequest, 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 *PatchedWritableVLANRequest) SetRole(v RoleRequest)` +`func (o *PatchedWritableVLANRequest) SetRole(v BriefRoleRequest)` SetRole sets Role field to given value. diff --git a/docs/PatchedWritableVMInterfaceRequest.md b/docs/PatchedWritableVMInterfaceRequest.md index ae6bedaea..219ce7f6b 100644 --- a/docs/PatchedWritableVMInterfaceRequest.md +++ b/docs/PatchedWritableVMInterfaceRequest.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**VirtualMachine** | Pointer to [**VirtualMachineRequest**](VirtualMachineRequest.md) | | [optional] +**VirtualMachine** | Pointer to [**BriefVirtualMachineRequest**](BriefVirtualMachineRequest.md) | | [optional] **Name** | Pointer to **string** | | [optional] **Enabled** | Pointer to **bool** | | [optional] **Parent** | Pointer to **NullableInt32** | | [optional] @@ -13,9 +13,9 @@ Name | Type | Description | Notes **MacAddress** | Pointer to **NullableString** | | [optional] **Description** | Pointer to **string** | | [optional] **Mode** | Pointer to [**PatchedWritableInterfaceRequestMode**](PatchedWritableInterfaceRequestMode.md) | | [optional] -**UntaggedVlan** | Pointer to [**NullableVLANRequest**](VLANRequest.md) | | [optional] +**UntaggedVlan** | Pointer to [**NullableBriefVLANRequest**](BriefVLANRequest.md) | | [optional] **TaggedVlans** | Pointer to **[]int32** | | [optional] -**Vrf** | Pointer to [**NullableVRFRequest**](VRFRequest.md) | | [optional] +**Vrf** | Pointer to [**NullableBriefVRFRequest**](BriefVRFRequest.md) | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] @@ -40,20 +40,20 @@ but it doesn't guarantee that properties required by API are set ### GetVirtualMachine -`func (o *PatchedWritableVMInterfaceRequest) GetVirtualMachine() VirtualMachineRequest` +`func (o *PatchedWritableVMInterfaceRequest) GetVirtualMachine() BriefVirtualMachineRequest` GetVirtualMachine returns the VirtualMachine field if non-nil, zero value otherwise. ### GetVirtualMachineOk -`func (o *PatchedWritableVMInterfaceRequest) GetVirtualMachineOk() (*VirtualMachineRequest, bool)` +`func (o *PatchedWritableVMInterfaceRequest) GetVirtualMachineOk() (*BriefVirtualMachineRequest, bool)` GetVirtualMachineOk returns a tuple with the VirtualMachine field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVirtualMachine -`func (o *PatchedWritableVMInterfaceRequest) SetVirtualMachine(v VirtualMachineRequest)` +`func (o *PatchedWritableVMInterfaceRequest) SetVirtualMachine(v BriefVirtualMachineRequest)` SetVirtualMachine sets VirtualMachine field to given value. @@ -305,20 +305,20 @@ HasMode returns a boolean if a field has been set. ### GetUntaggedVlan -`func (o *PatchedWritableVMInterfaceRequest) GetUntaggedVlan() VLANRequest` +`func (o *PatchedWritableVMInterfaceRequest) GetUntaggedVlan() BriefVLANRequest` GetUntaggedVlan returns the UntaggedVlan field if non-nil, zero value otherwise. ### GetUntaggedVlanOk -`func (o *PatchedWritableVMInterfaceRequest) GetUntaggedVlanOk() (*VLANRequest, bool)` +`func (o *PatchedWritableVMInterfaceRequest) GetUntaggedVlanOk() (*BriefVLANRequest, bool)` GetUntaggedVlanOk returns a tuple with the UntaggedVlan field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUntaggedVlan -`func (o *PatchedWritableVMInterfaceRequest) SetUntaggedVlan(v VLANRequest)` +`func (o *PatchedWritableVMInterfaceRequest) SetUntaggedVlan(v BriefVLANRequest)` SetUntaggedVlan sets UntaggedVlan field to given value. @@ -365,20 +365,20 @@ HasTaggedVlans returns a boolean if a field has been set. ### GetVrf -`func (o *PatchedWritableVMInterfaceRequest) GetVrf() VRFRequest` +`func (o *PatchedWritableVMInterfaceRequest) GetVrf() BriefVRFRequest` GetVrf returns the Vrf field if non-nil, zero value otherwise. ### GetVrfOk -`func (o *PatchedWritableVMInterfaceRequest) GetVrfOk() (*VRFRequest, bool)` +`func (o *PatchedWritableVMInterfaceRequest) GetVrfOk() (*BriefVRFRequest, bool)` GetVrfOk returns a tuple with the Vrf field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVrf -`func (o *PatchedWritableVMInterfaceRequest) SetVrf(v VRFRequest)` +`func (o *PatchedWritableVMInterfaceRequest) SetVrf(v BriefVRFRequest)` SetVrf sets Vrf field to given value. diff --git a/docs/PatchedWritableVirtualDeviceContextRequest.md b/docs/PatchedWritableVirtualDeviceContextRequest.md index 1954bc853..e9b0dc680 100644 --- a/docs/PatchedWritableVirtualDeviceContextRequest.md +++ b/docs/PatchedWritableVirtualDeviceContextRequest.md @@ -5,11 +5,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | Pointer to **string** | | [optional] -**Device** | Pointer to [**DeviceRequest**](DeviceRequest.md) | | [optional] +**Device** | Pointer to [**BriefDeviceRequest**](BriefDeviceRequest.md) | | [optional] **Identifier** | Pointer to **NullableInt32** | | [optional] -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] -**PrimaryIp4** | Pointer to [**NullableIPAddressRequest**](IPAddressRequest.md) | | [optional] -**PrimaryIp6** | Pointer to [**NullableIPAddressRequest**](IPAddressRequest.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] +**PrimaryIp4** | Pointer to [**NullableBriefIPAddressRequest**](BriefIPAddressRequest.md) | | [optional] +**PrimaryIp6** | Pointer to [**NullableBriefIPAddressRequest**](BriefIPAddressRequest.md) | | [optional] **Status** | Pointer to [**PatchedWritableVirtualDeviceContextRequestStatus**](PatchedWritableVirtualDeviceContextRequestStatus.md) | | [optional] **Description** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] @@ -62,20 +62,20 @@ HasName returns a boolean if a field has been set. ### GetDevice -`func (o *PatchedWritableVirtualDeviceContextRequest) GetDevice() DeviceRequest` +`func (o *PatchedWritableVirtualDeviceContextRequest) GetDevice() BriefDeviceRequest` GetDevice returns the Device field if non-nil, zero value otherwise. ### GetDeviceOk -`func (o *PatchedWritableVirtualDeviceContextRequest) GetDeviceOk() (*DeviceRequest, bool)` +`func (o *PatchedWritableVirtualDeviceContextRequest) GetDeviceOk() (*BriefDeviceRequest, 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 *PatchedWritableVirtualDeviceContextRequest) SetDevice(v DeviceRequest)` +`func (o *PatchedWritableVirtualDeviceContextRequest) SetDevice(v BriefDeviceRequest)` SetDevice sets Device field to given value. @@ -122,20 +122,20 @@ HasIdentifier returns a boolean if a field has been set. UnsetIdentifier ensures that no value is present for Identifier, not even an explicit nil ### GetTenant -`func (o *PatchedWritableVirtualDeviceContextRequest) GetTenant() TenantRequest` +`func (o *PatchedWritableVirtualDeviceContextRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *PatchedWritableVirtualDeviceContextRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *PatchedWritableVirtualDeviceContextRequest) GetTenantOk() (*BriefTenantRequest, 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 *PatchedWritableVirtualDeviceContextRequest) SetTenant(v TenantRequest)` +`func (o *PatchedWritableVirtualDeviceContextRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. @@ -157,20 +157,20 @@ HasTenant returns a boolean if a field has been set. UnsetTenant ensures that no value is present for Tenant, not even an explicit nil ### GetPrimaryIp4 -`func (o *PatchedWritableVirtualDeviceContextRequest) GetPrimaryIp4() IPAddressRequest` +`func (o *PatchedWritableVirtualDeviceContextRequest) GetPrimaryIp4() BriefIPAddressRequest` GetPrimaryIp4 returns the PrimaryIp4 field if non-nil, zero value otherwise. ### GetPrimaryIp4Ok -`func (o *PatchedWritableVirtualDeviceContextRequest) GetPrimaryIp4Ok() (*IPAddressRequest, bool)` +`func (o *PatchedWritableVirtualDeviceContextRequest) GetPrimaryIp4Ok() (*BriefIPAddressRequest, 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 *PatchedWritableVirtualDeviceContextRequest) SetPrimaryIp4(v IPAddressRequest)` +`func (o *PatchedWritableVirtualDeviceContextRequest) SetPrimaryIp4(v BriefIPAddressRequest)` SetPrimaryIp4 sets PrimaryIp4 field to given value. @@ -192,20 +192,20 @@ HasPrimaryIp4 returns a boolean if a field has been set. UnsetPrimaryIp4 ensures that no value is present for PrimaryIp4, not even an explicit nil ### GetPrimaryIp6 -`func (o *PatchedWritableVirtualDeviceContextRequest) GetPrimaryIp6() IPAddressRequest` +`func (o *PatchedWritableVirtualDeviceContextRequest) GetPrimaryIp6() BriefIPAddressRequest` GetPrimaryIp6 returns the PrimaryIp6 field if non-nil, zero value otherwise. ### GetPrimaryIp6Ok -`func (o *PatchedWritableVirtualDeviceContextRequest) GetPrimaryIp6Ok() (*IPAddressRequest, bool)` +`func (o *PatchedWritableVirtualDeviceContextRequest) GetPrimaryIp6Ok() (*BriefIPAddressRequest, 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 *PatchedWritableVirtualDeviceContextRequest) SetPrimaryIp6(v IPAddressRequest)` +`func (o *PatchedWritableVirtualDeviceContextRequest) SetPrimaryIp6(v BriefIPAddressRequest)` SetPrimaryIp6 sets PrimaryIp6 field to given value. diff --git a/docs/PatchedWritableVirtualMachineWithConfigContextRequest.md b/docs/PatchedWritableVirtualMachineWithConfigContextRequest.md index 08fc04070..34e864ee1 100644 --- a/docs/PatchedWritableVirtualMachineWithConfigContextRequest.md +++ b/docs/PatchedWritableVirtualMachineWithConfigContextRequest.md @@ -5,21 +5,22 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | Pointer to **string** | | [optional] -**Status** | Pointer to [**PatchedWritableModuleRequestStatus**](PatchedWritableModuleRequestStatus.md) | | [optional] -**Site** | Pointer to [**NullableSiteRequest**](SiteRequest.md) | | [optional] -**Cluster** | Pointer to [**NullableClusterRequest**](ClusterRequest.md) | | [optional] -**Device** | Pointer to [**NullableDeviceRequest**](DeviceRequest.md) | | [optional] -**Role** | Pointer to [**NullableDeviceRoleRequest**](DeviceRoleRequest.md) | | [optional] -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] -**Platform** | Pointer to [**NullablePlatformRequest**](PlatformRequest.md) | | [optional] -**PrimaryIp4** | Pointer to [**NullableIPAddressRequest**](IPAddressRequest.md) | | [optional] -**PrimaryIp6** | Pointer to [**NullableIPAddressRequest**](IPAddressRequest.md) | | [optional] +**Status** | Pointer to [**ModuleStatusValue**](ModuleStatusValue.md) | | [optional] +**Site** | Pointer to [**NullableBriefSiteRequest**](BriefSiteRequest.md) | | [optional] +**Cluster** | Pointer to [**NullableBriefClusterRequest**](BriefClusterRequest.md) | | [optional] +**Device** | Pointer to [**NullableBriefDeviceRequest**](BriefDeviceRequest.md) | | [optional] +**Serial** | Pointer to **string** | | [optional] +**Role** | Pointer to [**NullableBriefDeviceRoleRequest**](BriefDeviceRoleRequest.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] +**Platform** | Pointer to [**NullableBriefPlatformRequest**](BriefPlatformRequest.md) | | [optional] +**PrimaryIp4** | Pointer to [**NullableBriefIPAddressRequest**](BriefIPAddressRequest.md) | | [optional] +**PrimaryIp6** | Pointer to [**NullableBriefIPAddressRequest**](BriefIPAddressRequest.md) | | [optional] **Vcpus** | Pointer to **NullableFloat64** | | [optional] **Memory** | Pointer to **NullableInt32** | | [optional] **Disk** | Pointer to **NullableInt32** | | [optional] **Description** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] -**ConfigTemplate** | Pointer to [**NullableConfigTemplateRequest**](ConfigTemplateRequest.md) | | [optional] +**ConfigTemplate** | Pointer to [**NullableBriefConfigTemplateRequest**](BriefConfigTemplateRequest.md) | | [optional] **LocalContextData** | Pointer to **interface{}** | Local config context data takes precedence over source contexts in the final rendered config context | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] @@ -70,20 +71,20 @@ HasName returns a boolean if a field has been set. ### GetStatus -`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetStatus() PatchedWritableModuleRequestStatus` +`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetStatus() ModuleStatusValue` GetStatus returns the Status field if non-nil, zero value otherwise. ### GetStatusOk -`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetStatusOk() (*PatchedWritableModuleRequestStatus, bool)` +`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetStatusOk() (*ModuleStatusValue, 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 *PatchedWritableVirtualMachineWithConfigContextRequest) SetStatus(v PatchedWritableModuleRequestStatus)` +`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) SetStatus(v ModuleStatusValue)` SetStatus sets Status field to given value. @@ -95,20 +96,20 @@ HasStatus returns a boolean if a field has been set. ### GetSite -`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetSite() SiteRequest` +`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetSite() BriefSiteRequest` GetSite returns the Site field if non-nil, zero value otherwise. ### GetSiteOk -`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetSiteOk() (*SiteRequest, bool)` +`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetSiteOk() (*BriefSiteRequest, bool)` GetSiteOk returns a tuple with the Site field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSite -`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) SetSite(v SiteRequest)` +`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) SetSite(v BriefSiteRequest)` SetSite sets Site field to given value. @@ -130,20 +131,20 @@ HasSite returns a boolean if a field has been set. UnsetSite ensures that no value is present for Site, not even an explicit nil ### GetCluster -`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetCluster() ClusterRequest` +`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetCluster() BriefClusterRequest` GetCluster returns the Cluster field if non-nil, zero value otherwise. ### GetClusterOk -`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetClusterOk() (*ClusterRequest, bool)` +`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetClusterOk() (*BriefClusterRequest, bool)` GetClusterOk returns a tuple with the Cluster field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCluster -`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) SetCluster(v ClusterRequest)` +`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) SetCluster(v BriefClusterRequest)` SetCluster sets Cluster field to given value. @@ -165,20 +166,20 @@ HasCluster returns a boolean if a field has been set. UnsetCluster ensures that no value is present for Cluster, not even an explicit nil ### GetDevice -`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetDevice() DeviceRequest` +`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetDevice() BriefDeviceRequest` GetDevice returns the Device field if non-nil, zero value otherwise. ### GetDeviceOk -`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetDeviceOk() (*DeviceRequest, bool)` +`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetDeviceOk() (*BriefDeviceRequest, 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 *PatchedWritableVirtualMachineWithConfigContextRequest) SetDevice(v DeviceRequest)` +`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) SetDevice(v BriefDeviceRequest)` SetDevice sets Device field to given value. @@ -198,22 +199,47 @@ HasDevice returns a boolean if a field has been set. `func (o *PatchedWritableVirtualMachineWithConfigContextRequest) UnsetDevice()` UnsetDevice ensures that no value is present for Device, not even an explicit nil +### GetSerial + +`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetSerial() string` + +GetSerial returns the Serial field if non-nil, zero value otherwise. + +### GetSerialOk + +`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetSerialOk() (*string, bool)` + +GetSerialOk returns a tuple with the Serial field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSerial + +`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) SetSerial(v string)` + +SetSerial sets Serial field to given value. + +### HasSerial + +`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) HasSerial() bool` + +HasSerial returns a boolean if a field has been set. + ### GetRole -`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetRole() DeviceRoleRequest` +`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetRole() BriefDeviceRoleRequest` GetRole returns the Role field if non-nil, zero value otherwise. ### GetRoleOk -`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetRoleOk() (*DeviceRoleRequest, bool)` +`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetRoleOk() (*BriefDeviceRoleRequest, 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 *PatchedWritableVirtualMachineWithConfigContextRequest) SetRole(v DeviceRoleRequest)` +`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) SetRole(v BriefDeviceRoleRequest)` SetRole sets Role field to given value. @@ -235,20 +261,20 @@ HasRole returns a boolean if a field has been set. UnsetRole ensures that no value is present for Role, not even an explicit nil ### GetTenant -`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetTenant() TenantRequest` +`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetTenantOk() (*BriefTenantRequest, 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 *PatchedWritableVirtualMachineWithConfigContextRequest) SetTenant(v TenantRequest)` +`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. @@ -270,20 +296,20 @@ HasTenant returns a boolean if a field has been set. UnsetTenant ensures that no value is present for Tenant, not even an explicit nil ### GetPlatform -`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetPlatform() PlatformRequest` +`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetPlatform() BriefPlatformRequest` GetPlatform returns the Platform field if non-nil, zero value otherwise. ### GetPlatformOk -`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetPlatformOk() (*PlatformRequest, bool)` +`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetPlatformOk() (*BriefPlatformRequest, bool)` GetPlatformOk returns a tuple with the Platform field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPlatform -`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) SetPlatform(v PlatformRequest)` +`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) SetPlatform(v BriefPlatformRequest)` SetPlatform sets Platform field to given value. @@ -305,20 +331,20 @@ HasPlatform returns a boolean if a field has been set. UnsetPlatform ensures that no value is present for Platform, not even an explicit nil ### GetPrimaryIp4 -`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetPrimaryIp4() IPAddressRequest` +`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetPrimaryIp4() BriefIPAddressRequest` GetPrimaryIp4 returns the PrimaryIp4 field if non-nil, zero value otherwise. ### GetPrimaryIp4Ok -`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetPrimaryIp4Ok() (*IPAddressRequest, bool)` +`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetPrimaryIp4Ok() (*BriefIPAddressRequest, 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 *PatchedWritableVirtualMachineWithConfigContextRequest) SetPrimaryIp4(v IPAddressRequest)` +`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) SetPrimaryIp4(v BriefIPAddressRequest)` SetPrimaryIp4 sets PrimaryIp4 field to given value. @@ -340,20 +366,20 @@ HasPrimaryIp4 returns a boolean if a field has been set. UnsetPrimaryIp4 ensures that no value is present for PrimaryIp4, not even an explicit nil ### GetPrimaryIp6 -`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetPrimaryIp6() IPAddressRequest` +`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetPrimaryIp6() BriefIPAddressRequest` GetPrimaryIp6 returns the PrimaryIp6 field if non-nil, zero value otherwise. ### GetPrimaryIp6Ok -`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetPrimaryIp6Ok() (*IPAddressRequest, bool)` +`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetPrimaryIp6Ok() (*BriefIPAddressRequest, 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 *PatchedWritableVirtualMachineWithConfigContextRequest) SetPrimaryIp6(v IPAddressRequest)` +`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) SetPrimaryIp6(v BriefIPAddressRequest)` SetPrimaryIp6 sets PrimaryIp6 field to given value. @@ -530,20 +556,20 @@ HasComments returns a boolean if a field has been set. ### GetConfigTemplate -`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetConfigTemplate() ConfigTemplateRequest` +`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetConfigTemplate() BriefConfigTemplateRequest` GetConfigTemplate returns the ConfigTemplate field if non-nil, zero value otherwise. ### GetConfigTemplateOk -`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetConfigTemplateOk() (*ConfigTemplateRequest, bool)` +`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetConfigTemplateOk() (*BriefConfigTemplateRequest, bool)` GetConfigTemplateOk returns a tuple with the ConfigTemplate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetConfigTemplate -`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) SetConfigTemplate(v ConfigTemplateRequest)` +`func (o *PatchedWritableVirtualMachineWithConfigContextRequest) SetConfigTemplate(v BriefConfigTemplateRequest)` SetConfigTemplate sets ConfigTemplate field to given value. diff --git a/docs/PatchedWritableWirelessLANRequest.md b/docs/PatchedWritableWirelessLANRequest.md index 6bb30de66..a920d94fc 100644 --- a/docs/PatchedWritableWirelessLANRequest.md +++ b/docs/PatchedWritableWirelessLANRequest.md @@ -6,12 +6,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Ssid** | Pointer to **string** | | [optional] **Description** | Pointer to **string** | | [optional] -**Group** | Pointer to [**NullableWirelessLANGroupRequest**](WirelessLANGroupRequest.md) | | [optional] +**Group** | Pointer to [**NullableBriefWirelessLANGroupRequest**](BriefWirelessLANGroupRequest.md) | | [optional] **Status** | Pointer to [**PatchedWritableWirelessLANRequestStatus**](PatchedWritableWirelessLANRequestStatus.md) | | [optional] -**Vlan** | Pointer to [**NullableVLANRequest**](VLANRequest.md) | | [optional] -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] -**AuthType** | Pointer to [**AuthenticationType1**](AuthenticationType1.md) | | [optional] -**AuthCipher** | Pointer to [**AuthenticationCipher**](AuthenticationCipher.md) | | [optional] +**Vlan** | Pointer to [**NullableBriefVLANRequest**](BriefVLANRequest.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] +**AuthType** | Pointer to [**AuthenticationType3**](AuthenticationType3.md) | | [optional] +**AuthCipher** | Pointer to [**AuthenticationCipher1**](AuthenticationCipher1.md) | | [optional] **AuthPsk** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] @@ -88,20 +88,20 @@ HasDescription returns a boolean if a field has been set. ### GetGroup -`func (o *PatchedWritableWirelessLANRequest) GetGroup() WirelessLANGroupRequest` +`func (o *PatchedWritableWirelessLANRequest) GetGroup() BriefWirelessLANGroupRequest` GetGroup returns the Group field if non-nil, zero value otherwise. ### GetGroupOk -`func (o *PatchedWritableWirelessLANRequest) GetGroupOk() (*WirelessLANGroupRequest, bool)` +`func (o *PatchedWritableWirelessLANRequest) GetGroupOk() (*BriefWirelessLANGroupRequest, bool)` GetGroupOk returns a tuple with the Group field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetGroup -`func (o *PatchedWritableWirelessLANRequest) SetGroup(v WirelessLANGroupRequest)` +`func (o *PatchedWritableWirelessLANRequest) SetGroup(v BriefWirelessLANGroupRequest)` SetGroup sets Group field to given value. @@ -148,20 +148,20 @@ HasStatus returns a boolean if a field has been set. ### GetVlan -`func (o *PatchedWritableWirelessLANRequest) GetVlan() VLANRequest` +`func (o *PatchedWritableWirelessLANRequest) GetVlan() BriefVLANRequest` GetVlan returns the Vlan field if non-nil, zero value otherwise. ### GetVlanOk -`func (o *PatchedWritableWirelessLANRequest) GetVlanOk() (*VLANRequest, bool)` +`func (o *PatchedWritableWirelessLANRequest) GetVlanOk() (*BriefVLANRequest, 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 *PatchedWritableWirelessLANRequest) SetVlan(v VLANRequest)` +`func (o *PatchedWritableWirelessLANRequest) SetVlan(v BriefVLANRequest)` SetVlan sets Vlan field to given value. @@ -183,20 +183,20 @@ HasVlan returns a boolean if a field has been set. UnsetVlan ensures that no value is present for Vlan, not even an explicit nil ### GetTenant -`func (o *PatchedWritableWirelessLANRequest) GetTenant() TenantRequest` +`func (o *PatchedWritableWirelessLANRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *PatchedWritableWirelessLANRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *PatchedWritableWirelessLANRequest) GetTenantOk() (*BriefTenantRequest, 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 *PatchedWritableWirelessLANRequest) SetTenant(v TenantRequest)` +`func (o *PatchedWritableWirelessLANRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. @@ -218,20 +218,20 @@ HasTenant returns a boolean if a field has been set. UnsetTenant ensures that no value is present for Tenant, not even an explicit nil ### GetAuthType -`func (o *PatchedWritableWirelessLANRequest) GetAuthType() AuthenticationType1` +`func (o *PatchedWritableWirelessLANRequest) GetAuthType() AuthenticationType3` GetAuthType returns the AuthType field if non-nil, zero value otherwise. ### GetAuthTypeOk -`func (o *PatchedWritableWirelessLANRequest) GetAuthTypeOk() (*AuthenticationType1, bool)` +`func (o *PatchedWritableWirelessLANRequest) GetAuthTypeOk() (*AuthenticationType3, bool)` GetAuthTypeOk returns a tuple with the AuthType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetAuthType -`func (o *PatchedWritableWirelessLANRequest) SetAuthType(v AuthenticationType1)` +`func (o *PatchedWritableWirelessLANRequest) SetAuthType(v AuthenticationType3)` SetAuthType sets AuthType field to given value. @@ -243,20 +243,20 @@ HasAuthType returns a boolean if a field has been set. ### GetAuthCipher -`func (o *PatchedWritableWirelessLANRequest) GetAuthCipher() AuthenticationCipher` +`func (o *PatchedWritableWirelessLANRequest) GetAuthCipher() AuthenticationCipher1` GetAuthCipher returns the AuthCipher field if non-nil, zero value otherwise. ### GetAuthCipherOk -`func (o *PatchedWritableWirelessLANRequest) GetAuthCipherOk() (*AuthenticationCipher, bool)` +`func (o *PatchedWritableWirelessLANRequest) GetAuthCipherOk() (*AuthenticationCipher1, bool)` GetAuthCipherOk returns a tuple with the AuthCipher field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetAuthCipher -`func (o *PatchedWritableWirelessLANRequest) SetAuthCipher(v AuthenticationCipher)` +`func (o *PatchedWritableWirelessLANRequest) SetAuthCipher(v AuthenticationCipher1)` SetAuthCipher sets AuthCipher field to given value. diff --git a/docs/PatchedWritableWirelessLinkRequest.md b/docs/PatchedWritableWirelessLinkRequest.md index a04db8cf4..c4b7373ae 100644 --- a/docs/PatchedWritableWirelessLinkRequest.md +++ b/docs/PatchedWritableWirelessLinkRequest.md @@ -4,14 +4,16 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**InterfaceA** | Pointer to [**InterfaceRequest**](InterfaceRequest.md) | | [optional] -**InterfaceB** | Pointer to [**InterfaceRequest**](InterfaceRequest.md) | | [optional] +**InterfaceA** | Pointer to [**BriefInterfaceRequest**](BriefInterfaceRequest.md) | | [optional] +**InterfaceB** | Pointer to [**BriefInterfaceRequest**](BriefInterfaceRequest.md) | | [optional] **Ssid** | Pointer to **string** | | [optional] -**Status** | Pointer to [**PatchedWritableCableRequestStatus**](PatchedWritableCableRequestStatus.md) | | [optional] -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] -**AuthType** | Pointer to [**AuthenticationType1**](AuthenticationType1.md) | | [optional] -**AuthCipher** | Pointer to [**AuthenticationCipher**](AuthenticationCipher.md) | | [optional] +**Status** | Pointer to [**CableStatusValue**](CableStatusValue.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] +**AuthType** | Pointer to [**AuthenticationType3**](AuthenticationType3.md) | | [optional] +**AuthCipher** | Pointer to [**AuthenticationCipher1**](AuthenticationCipher1.md) | | [optional] **AuthPsk** | Pointer to **string** | | [optional] +**Distance** | Pointer to **NullableFloat64** | | [optional] +**DistanceUnit** | Pointer to [**PatchedWritableWirelessLinkRequestDistanceUnit**](PatchedWritableWirelessLinkRequestDistanceUnit.md) | | [optional] **Description** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] @@ -38,20 +40,20 @@ but it doesn't guarantee that properties required by API are set ### GetInterfaceA -`func (o *PatchedWritableWirelessLinkRequest) GetInterfaceA() InterfaceRequest` +`func (o *PatchedWritableWirelessLinkRequest) GetInterfaceA() BriefInterfaceRequest` GetInterfaceA returns the InterfaceA field if non-nil, zero value otherwise. ### GetInterfaceAOk -`func (o *PatchedWritableWirelessLinkRequest) GetInterfaceAOk() (*InterfaceRequest, bool)` +`func (o *PatchedWritableWirelessLinkRequest) GetInterfaceAOk() (*BriefInterfaceRequest, bool)` GetInterfaceAOk returns a tuple with the InterfaceA field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetInterfaceA -`func (o *PatchedWritableWirelessLinkRequest) SetInterfaceA(v InterfaceRequest)` +`func (o *PatchedWritableWirelessLinkRequest) SetInterfaceA(v BriefInterfaceRequest)` SetInterfaceA sets InterfaceA field to given value. @@ -63,20 +65,20 @@ HasInterfaceA returns a boolean if a field has been set. ### GetInterfaceB -`func (o *PatchedWritableWirelessLinkRequest) GetInterfaceB() InterfaceRequest` +`func (o *PatchedWritableWirelessLinkRequest) GetInterfaceB() BriefInterfaceRequest` GetInterfaceB returns the InterfaceB field if non-nil, zero value otherwise. ### GetInterfaceBOk -`func (o *PatchedWritableWirelessLinkRequest) GetInterfaceBOk() (*InterfaceRequest, bool)` +`func (o *PatchedWritableWirelessLinkRequest) GetInterfaceBOk() (*BriefInterfaceRequest, bool)` GetInterfaceBOk returns a tuple with the InterfaceB field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetInterfaceB -`func (o *PatchedWritableWirelessLinkRequest) SetInterfaceB(v InterfaceRequest)` +`func (o *PatchedWritableWirelessLinkRequest) SetInterfaceB(v BriefInterfaceRequest)` SetInterfaceB sets InterfaceB field to given value. @@ -113,20 +115,20 @@ HasSsid returns a boolean if a field has been set. ### GetStatus -`func (o *PatchedWritableWirelessLinkRequest) GetStatus() PatchedWritableCableRequestStatus` +`func (o *PatchedWritableWirelessLinkRequest) GetStatus() CableStatusValue` GetStatus returns the Status field if non-nil, zero value otherwise. ### GetStatusOk -`func (o *PatchedWritableWirelessLinkRequest) GetStatusOk() (*PatchedWritableCableRequestStatus, bool)` +`func (o *PatchedWritableWirelessLinkRequest) GetStatusOk() (*CableStatusValue, 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 *PatchedWritableWirelessLinkRequest) SetStatus(v PatchedWritableCableRequestStatus)` +`func (o *PatchedWritableWirelessLinkRequest) SetStatus(v CableStatusValue)` SetStatus sets Status field to given value. @@ -138,20 +140,20 @@ HasStatus returns a boolean if a field has been set. ### GetTenant -`func (o *PatchedWritableWirelessLinkRequest) GetTenant() TenantRequest` +`func (o *PatchedWritableWirelessLinkRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *PatchedWritableWirelessLinkRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *PatchedWritableWirelessLinkRequest) GetTenantOk() (*BriefTenantRequest, 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 *PatchedWritableWirelessLinkRequest) SetTenant(v TenantRequest)` +`func (o *PatchedWritableWirelessLinkRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. @@ -173,20 +175,20 @@ HasTenant returns a boolean if a field has been set. UnsetTenant ensures that no value is present for Tenant, not even an explicit nil ### GetAuthType -`func (o *PatchedWritableWirelessLinkRequest) GetAuthType() AuthenticationType1` +`func (o *PatchedWritableWirelessLinkRequest) GetAuthType() AuthenticationType3` GetAuthType returns the AuthType field if non-nil, zero value otherwise. ### GetAuthTypeOk -`func (o *PatchedWritableWirelessLinkRequest) GetAuthTypeOk() (*AuthenticationType1, bool)` +`func (o *PatchedWritableWirelessLinkRequest) GetAuthTypeOk() (*AuthenticationType3, bool)` GetAuthTypeOk returns a tuple with the AuthType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetAuthType -`func (o *PatchedWritableWirelessLinkRequest) SetAuthType(v AuthenticationType1)` +`func (o *PatchedWritableWirelessLinkRequest) SetAuthType(v AuthenticationType3)` SetAuthType sets AuthType field to given value. @@ -198,20 +200,20 @@ HasAuthType returns a boolean if a field has been set. ### GetAuthCipher -`func (o *PatchedWritableWirelessLinkRequest) GetAuthCipher() AuthenticationCipher` +`func (o *PatchedWritableWirelessLinkRequest) GetAuthCipher() AuthenticationCipher1` GetAuthCipher returns the AuthCipher field if non-nil, zero value otherwise. ### GetAuthCipherOk -`func (o *PatchedWritableWirelessLinkRequest) GetAuthCipherOk() (*AuthenticationCipher, bool)` +`func (o *PatchedWritableWirelessLinkRequest) GetAuthCipherOk() (*AuthenticationCipher1, bool)` GetAuthCipherOk returns a tuple with the AuthCipher field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetAuthCipher -`func (o *PatchedWritableWirelessLinkRequest) SetAuthCipher(v AuthenticationCipher)` +`func (o *PatchedWritableWirelessLinkRequest) SetAuthCipher(v AuthenticationCipher1)` SetAuthCipher sets AuthCipher field to given value. @@ -246,6 +248,66 @@ SetAuthPsk sets AuthPsk field to given value. HasAuthPsk returns a boolean if a field has been set. +### GetDistance + +`func (o *PatchedWritableWirelessLinkRequest) GetDistance() float64` + +GetDistance returns the Distance field if non-nil, zero value otherwise. + +### GetDistanceOk + +`func (o *PatchedWritableWirelessLinkRequest) GetDistanceOk() (*float64, bool)` + +GetDistanceOk returns a tuple with the Distance field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDistance + +`func (o *PatchedWritableWirelessLinkRequest) SetDistance(v float64)` + +SetDistance sets Distance field to given value. + +### HasDistance + +`func (o *PatchedWritableWirelessLinkRequest) HasDistance() bool` + +HasDistance returns a boolean if a field has been set. + +### SetDistanceNil + +`func (o *PatchedWritableWirelessLinkRequest) SetDistanceNil(b bool)` + + SetDistanceNil sets the value for Distance to be an explicit nil + +### UnsetDistance +`func (o *PatchedWritableWirelessLinkRequest) UnsetDistance()` + +UnsetDistance ensures that no value is present for Distance, not even an explicit nil +### GetDistanceUnit + +`func (o *PatchedWritableWirelessLinkRequest) GetDistanceUnit() PatchedWritableWirelessLinkRequestDistanceUnit` + +GetDistanceUnit returns the DistanceUnit field if non-nil, zero value otherwise. + +### GetDistanceUnitOk + +`func (o *PatchedWritableWirelessLinkRequest) GetDistanceUnitOk() (*PatchedWritableWirelessLinkRequestDistanceUnit, bool)` + +GetDistanceUnitOk returns a tuple with the DistanceUnit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDistanceUnit + +`func (o *PatchedWritableWirelessLinkRequest) SetDistanceUnit(v PatchedWritableWirelessLinkRequestDistanceUnit)` + +SetDistanceUnit sets DistanceUnit field to given value. + +### HasDistanceUnit + +`func (o *PatchedWritableWirelessLinkRequest) HasDistanceUnit() bool` + +HasDistanceUnit returns a boolean if a field has been set. + ### GetDescription `func (o *PatchedWritableWirelessLinkRequest) GetDescription() string` diff --git a/docs/PatchedWritableWirelessLinkRequestDistanceUnit.md b/docs/PatchedWritableWirelessLinkRequestDistanceUnit.md new file mode 100644 index 000000000..368d1a9c5 --- /dev/null +++ b/docs/PatchedWritableWirelessLinkRequestDistanceUnit.md @@ -0,0 +1,19 @@ +# PatchedWritableWirelessLinkRequestDistanceUnit + +## Enum + + +* `KM` (value: `"km"`) + +* `M` (value: `"m"`) + +* `MI` (value: `"mi"`) + +* `FT` (value: `"ft"`) + +* `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/Platform.md b/docs/Platform.md index abceb730a..4032dc0f4 100644 --- a/docs/Platform.md +++ b/docs/Platform.md @@ -6,18 +6,25 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Name** | **string** | | **Slug** | **string** | | +**Manufacturer** | Pointer to [**NullableBriefManufacturer**](BriefManufacturer.md) | | [optional] +**ConfigTemplate** | Pointer to [**NullableBriefConfigTemplate**](BriefConfigTemplate.md) | | [optional] **Description** | Pointer to **string** | | [optional] -**DeviceCount** | **int64** | | [readonly] -**VirtualmachineCount** | **int64** | | [readonly] +**Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] +**Created** | **NullableTime** | | [readonly] +**LastUpdated** | **NullableTime** | | [readonly] +**DeviceCount** | Pointer to **int64** | | [optional] [readonly] +**VirtualmachineCount** | Pointer to **int64** | | [optional] [readonly] ## Methods ### NewPlatform -`func NewPlatform(id int32, url string, display string, name string, slug string, deviceCount int64, virtualmachineCount int64, ) *Platform` +`func NewPlatform(id int32, url string, display string, name string, slug string, created NullableTime, lastUpdated NullableTime, ) *Platform` NewPlatform instantiates a new Platform object This constructor will assign default values to properties that have it defined, @@ -72,6 +79,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *Platform) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *Platform) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *Platform) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *Platform) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *Platform) GetDisplay() string` @@ -132,6 +164,76 @@ and a boolean to check if the value has been set. SetSlug sets Slug field to given value. +### GetManufacturer + +`func (o *Platform) GetManufacturer() BriefManufacturer` + +GetManufacturer returns the Manufacturer field if non-nil, zero value otherwise. + +### GetManufacturerOk + +`func (o *Platform) GetManufacturerOk() (*BriefManufacturer, bool)` + +GetManufacturerOk returns a tuple with the Manufacturer field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetManufacturer + +`func (o *Platform) SetManufacturer(v BriefManufacturer)` + +SetManufacturer sets Manufacturer field to given value. + +### HasManufacturer + +`func (o *Platform) HasManufacturer() bool` + +HasManufacturer returns a boolean if a field has been set. + +### SetManufacturerNil + +`func (o *Platform) SetManufacturerNil(b bool)` + + SetManufacturerNil sets the value for Manufacturer to be an explicit nil + +### UnsetManufacturer +`func (o *Platform) UnsetManufacturer()` + +UnsetManufacturer ensures that no value is present for Manufacturer, not even an explicit nil +### GetConfigTemplate + +`func (o *Platform) GetConfigTemplate() BriefConfigTemplate` + +GetConfigTemplate returns the ConfigTemplate field if non-nil, zero value otherwise. + +### GetConfigTemplateOk + +`func (o *Platform) GetConfigTemplateOk() (*BriefConfigTemplate, bool)` + +GetConfigTemplateOk returns a tuple with the ConfigTemplate field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetConfigTemplate + +`func (o *Platform) SetConfigTemplate(v BriefConfigTemplate)` + +SetConfigTemplate sets ConfigTemplate field to given value. + +### HasConfigTemplate + +`func (o *Platform) HasConfigTemplate() bool` + +HasConfigTemplate returns a boolean if a field has been set. + +### SetConfigTemplateNil + +`func (o *Platform) SetConfigTemplateNil(b bool)` + + SetConfigTemplateNil sets the value for ConfigTemplate to be an explicit nil + +### UnsetConfigTemplate +`func (o *Platform) UnsetConfigTemplate()` + +UnsetConfigTemplate ensures that no value is present for ConfigTemplate, not even an explicit nil ### GetDescription `func (o *Platform) GetDescription() string` @@ -157,6 +259,116 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetTags + +`func (o *Platform) GetTags() []NestedTag` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *Platform) GetTagsOk() (*[]NestedTag, 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 *Platform) SetTags(v []NestedTag)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *Platform) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *Platform) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *Platform) 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 *Platform) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *Platform) HasCustomFields() bool` + +HasCustomFields returns a boolean if a field has been set. + +### GetCreated + +`func (o *Platform) GetCreated() time.Time` + +GetCreated returns the Created field if non-nil, zero value otherwise. + +### GetCreatedOk + +`func (o *Platform) 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 *Platform) SetCreated(v time.Time)` + +SetCreated sets Created field to given value. + + +### SetCreatedNil + +`func (o *Platform) SetCreatedNil(b bool)` + + SetCreatedNil sets the value for Created to be an explicit nil + +### UnsetCreated +`func (o *Platform) UnsetCreated()` + +UnsetCreated ensures that no value is present for Created, not even an explicit nil +### GetLastUpdated + +`func (o *Platform) GetLastUpdated() time.Time` + +GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise. + +### GetLastUpdatedOk + +`func (o *Platform) 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 *Platform) SetLastUpdated(v time.Time)` + +SetLastUpdated sets LastUpdated field to given value. + + +### SetLastUpdatedNil + +`func (o *Platform) SetLastUpdatedNil(b bool)` + + SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil + +### UnsetLastUpdated +`func (o *Platform) UnsetLastUpdated()` + +UnsetLastUpdated ensures that no value is present for LastUpdated, not even an explicit nil ### GetDeviceCount `func (o *Platform) GetDeviceCount() int64` @@ -176,6 +388,11 @@ and a boolean to check if the value has been set. SetDeviceCount sets DeviceCount field to given value. +### HasDeviceCount + +`func (o *Platform) HasDeviceCount() bool` + +HasDeviceCount returns a boolean if a field has been set. ### GetVirtualmachineCount @@ -196,6 +413,11 @@ and a boolean to check if the value has been set. SetVirtualmachineCount sets VirtualmachineCount field to given value. +### HasVirtualmachineCount + +`func (o *Platform) HasVirtualmachineCount() bool` + +HasVirtualmachineCount 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/PlatformRequest.md b/docs/PlatformRequest.md index 39c7230e5..160d7324a 100644 --- a/docs/PlatformRequest.md +++ b/docs/PlatformRequest.md @@ -6,7 +6,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | **string** | | **Slug** | **string** | | +**Manufacturer** | Pointer to [**NullableBriefManufacturerRequest**](BriefManufacturerRequest.md) | | [optional] +**ConfigTemplate** | Pointer to [**NullableBriefConfigTemplateRequest**](BriefConfigTemplateRequest.md) | | [optional] **Description** | Pointer to **string** | | [optional] +**Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] ## Methods @@ -67,6 +71,76 @@ and a boolean to check if the value has been set. SetSlug sets Slug field to given value. +### GetManufacturer + +`func (o *PlatformRequest) GetManufacturer() BriefManufacturerRequest` + +GetManufacturer returns the Manufacturer field if non-nil, zero value otherwise. + +### GetManufacturerOk + +`func (o *PlatformRequest) GetManufacturerOk() (*BriefManufacturerRequest, bool)` + +GetManufacturerOk returns a tuple with the Manufacturer field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetManufacturer + +`func (o *PlatformRequest) SetManufacturer(v BriefManufacturerRequest)` + +SetManufacturer sets Manufacturer field to given value. + +### HasManufacturer + +`func (o *PlatformRequest) HasManufacturer() bool` + +HasManufacturer returns a boolean if a field has been set. + +### SetManufacturerNil + +`func (o *PlatformRequest) SetManufacturerNil(b bool)` + + SetManufacturerNil sets the value for Manufacturer to be an explicit nil + +### UnsetManufacturer +`func (o *PlatformRequest) UnsetManufacturer()` + +UnsetManufacturer ensures that no value is present for Manufacturer, not even an explicit nil +### GetConfigTemplate + +`func (o *PlatformRequest) GetConfigTemplate() BriefConfigTemplateRequest` + +GetConfigTemplate returns the ConfigTemplate field if non-nil, zero value otherwise. + +### GetConfigTemplateOk + +`func (o *PlatformRequest) GetConfigTemplateOk() (*BriefConfigTemplateRequest, bool)` + +GetConfigTemplateOk returns a tuple with the ConfigTemplate field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetConfigTemplate + +`func (o *PlatformRequest) SetConfigTemplate(v BriefConfigTemplateRequest)` + +SetConfigTemplate sets ConfigTemplate field to given value. + +### HasConfigTemplate + +`func (o *PlatformRequest) HasConfigTemplate() bool` + +HasConfigTemplate returns a boolean if a field has been set. + +### SetConfigTemplateNil + +`func (o *PlatformRequest) SetConfigTemplateNil(b bool)` + + SetConfigTemplateNil sets the value for ConfigTemplate to be an explicit nil + +### UnsetConfigTemplate +`func (o *PlatformRequest) UnsetConfigTemplate()` + +UnsetConfigTemplate ensures that no value is present for ConfigTemplate, not even an explicit nil ### GetDescription `func (o *PlatformRequest) GetDescription() string` @@ -92,6 +166,56 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetTags + +`func (o *PlatformRequest) GetTags() []NestedTagRequest` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *PlatformRequest) GetTagsOk() (*[]NestedTagRequest, 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 *PlatformRequest) SetTags(v []NestedTagRequest)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *PlatformRequest) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *PlatformRequest) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *PlatformRequest) 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 *PlatformRequest) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *PlatformRequest) 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/PowerFeed.md b/docs/PowerFeed.md index d1fe1f236..d7ac27953 100644 --- a/docs/PowerFeed.md +++ b/docs/PowerFeed.md @@ -6,9 +6,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] -**PowerPanel** | [**PowerPanel**](PowerPanel.md) | | -**Rack** | Pointer to [**NullableRack**](Rack.md) | | [optional] +**PowerPanel** | [**BriefPowerPanel**](BriefPowerPanel.md) | | +**Rack** | Pointer to [**NullableBriefRack**](BriefRack.md) | | [optional] **Name** | **string** | | **Status** | Pointer to [**PowerFeedStatus**](PowerFeedStatus.md) | | [optional] **Type** | Pointer to [**PowerFeedType**](PowerFeedType.md) | | [optional] @@ -18,15 +19,15 @@ Name | Type | Description | Notes **Amperage** | Pointer to **int32** | | [optional] **MaxUtilization** | Pointer to **int32** | Maximum permissible draw (percentage) | [optional] **MarkConnected** | Pointer to **bool** | Treat as if a cable is connected | [optional] -**Cable** | [**NullableCable**](Cable.md) | | [readonly] +**Cable** | [**NullableBriefCable**](BriefCable.md) | | [readonly] **CableEnd** | **string** | | [readonly] **LinkPeers** | **[]interface{}** | | [readonly] -**LinkPeersType** | **string** | Return the type of the peer link terminations, or None. | [readonly] +**LinkPeersType** | **NullableString** | Return the type of the peer link terminations, or None. | [readonly] **ConnectedEndpoints** | **[]interface{}** | | [readonly] -**ConnectedEndpointsType** | **string** | | [readonly] +**ConnectedEndpointsType** | **NullableString** | | [readonly] **ConnectedEndpointsReachable** | **bool** | | [readonly] **Description** | Pointer to **string** | | [optional] -**Tenant** | Pointer to [**NullableTenant**](Tenant.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenant**](BriefTenant.md) | | [optional] **Comments** | Pointer to **string** | | [optional] **Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] @@ -38,7 +39,7 @@ Name | Type | Description | Notes ### NewPowerFeed -`func NewPowerFeed(id int32, url string, display string, powerPanel PowerPanel, name string, cable NullableCable, cableEnd string, linkPeers []interface{}, linkPeersType string, connectedEndpoints []interface{}, connectedEndpointsType string, connectedEndpointsReachable bool, created NullableTime, lastUpdated NullableTime, occupied bool, ) *PowerFeed` +`func NewPowerFeed(id int32, url string, display string, powerPanel BriefPowerPanel, name string, cable NullableBriefCable, cableEnd string, linkPeers []interface{}, linkPeersType NullableString, connectedEndpoints []interface{}, connectedEndpointsType NullableString, connectedEndpointsReachable bool, created NullableTime, lastUpdated NullableTime, occupied bool, ) *PowerFeed` NewPowerFeed instantiates a new PowerFeed object This constructor will assign default values to properties that have it defined, @@ -93,6 +94,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *PowerFeed) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *PowerFeed) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *PowerFeed) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *PowerFeed) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *PowerFeed) GetDisplay() string` @@ -115,40 +141,40 @@ SetDisplay sets Display field to given value. ### GetPowerPanel -`func (o *PowerFeed) GetPowerPanel() PowerPanel` +`func (o *PowerFeed) GetPowerPanel() BriefPowerPanel` GetPowerPanel returns the PowerPanel field if non-nil, zero value otherwise. ### GetPowerPanelOk -`func (o *PowerFeed) GetPowerPanelOk() (*PowerPanel, bool)` +`func (o *PowerFeed) GetPowerPanelOk() (*BriefPowerPanel, 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 PowerPanel)` +`func (o *PowerFeed) SetPowerPanel(v BriefPowerPanel)` SetPowerPanel sets PowerPanel field to given value. ### GetRack -`func (o *PowerFeed) GetRack() Rack` +`func (o *PowerFeed) GetRack() BriefRack` GetRack returns the Rack field if non-nil, zero value otherwise. ### GetRackOk -`func (o *PowerFeed) GetRackOk() (*Rack, bool)` +`func (o *PowerFeed) GetRackOk() (*BriefRack, bool)` GetRackOk returns a tuple with the Rack field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRack -`func (o *PowerFeed) SetRack(v Rack)` +`func (o *PowerFeed) SetRack(v BriefRack)` SetRack sets Rack field to given value. @@ -390,20 +416,20 @@ HasMarkConnected returns a boolean if a field has been set. ### GetCable -`func (o *PowerFeed) GetCable() Cable` +`func (o *PowerFeed) GetCable() BriefCable` GetCable returns the Cable field if non-nil, zero value otherwise. ### GetCableOk -`func (o *PowerFeed) GetCableOk() (*Cable, bool)` +`func (o *PowerFeed) GetCableOk() (*BriefCable, bool)` GetCableOk returns a tuple with the Cable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCable -`func (o *PowerFeed) SetCable(v Cable)` +`func (o *PowerFeed) SetCable(v BriefCable)` SetCable sets Cable field to given value. @@ -478,6 +504,16 @@ and a boolean to check if the value has been set. SetLinkPeersType sets LinkPeersType field to given value. +### SetLinkPeersTypeNil + +`func (o *PowerFeed) SetLinkPeersTypeNil(b bool)` + + SetLinkPeersTypeNil sets the value for LinkPeersType to be an explicit nil + +### UnsetLinkPeersType +`func (o *PowerFeed) UnsetLinkPeersType()` + +UnsetLinkPeersType ensures that no value is present for LinkPeersType, not even an explicit nil ### GetConnectedEndpoints `func (o *PowerFeed) GetConnectedEndpoints() []interface{}` @@ -498,6 +534,16 @@ and a boolean to check if the value has been set. SetConnectedEndpoints sets ConnectedEndpoints field to given value. +### SetConnectedEndpointsNil + +`func (o *PowerFeed) SetConnectedEndpointsNil(b bool)` + + SetConnectedEndpointsNil sets the value for ConnectedEndpoints to be an explicit nil + +### UnsetConnectedEndpoints +`func (o *PowerFeed) UnsetConnectedEndpoints()` + +UnsetConnectedEndpoints ensures that no value is present for ConnectedEndpoints, not even an explicit nil ### GetConnectedEndpointsType `func (o *PowerFeed) GetConnectedEndpointsType() string` @@ -518,6 +564,16 @@ and a boolean to check if the value has been set. SetConnectedEndpointsType sets ConnectedEndpointsType field to given value. +### SetConnectedEndpointsTypeNil + +`func (o *PowerFeed) SetConnectedEndpointsTypeNil(b bool)` + + SetConnectedEndpointsTypeNil sets the value for ConnectedEndpointsType to be an explicit nil + +### UnsetConnectedEndpointsType +`func (o *PowerFeed) UnsetConnectedEndpointsType()` + +UnsetConnectedEndpointsType ensures that no value is present for ConnectedEndpointsType, not even an explicit nil ### GetConnectedEndpointsReachable `func (o *PowerFeed) GetConnectedEndpointsReachable() bool` @@ -565,20 +621,20 @@ HasDescription returns a boolean if a field has been set. ### GetTenant -`func (o *PowerFeed) GetTenant() Tenant` +`func (o *PowerFeed) GetTenant() BriefTenant` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *PowerFeed) GetTenantOk() (*Tenant, bool)` +`func (o *PowerFeed) GetTenantOk() (*BriefTenant, 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 *PowerFeed) SetTenant(v Tenant)` +`func (o *PowerFeed) SetTenant(v BriefTenant)` SetTenant sets Tenant field to given value. diff --git a/docs/PowerFeedRequest.md b/docs/PowerFeedRequest.md index d72dbffb6..a08360ebc 100644 --- a/docs/PowerFeedRequest.md +++ b/docs/PowerFeedRequest.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**PowerPanel** | [**PowerPanelRequest**](PowerPanelRequest.md) | | -**Rack** | Pointer to [**NullableRackRequest**](RackRequest.md) | | [optional] +**PowerPanel** | [**BriefPowerPanelRequest**](BriefPowerPanelRequest.md) | | +**Rack** | Pointer to [**NullableBriefRackRequest**](BriefRackRequest.md) | | [optional] **Name** | **string** | | **Status** | Pointer to [**PatchedWritablePowerFeedRequestStatus**](PatchedWritablePowerFeedRequestStatus.md) | | [optional] **Type** | Pointer to [**PatchedWritablePowerFeedRequestType**](PatchedWritablePowerFeedRequestType.md) | | [optional] @@ -16,7 +16,7 @@ Name | Type | Description | Notes **MaxUtilization** | Pointer to **int32** | Maximum permissible draw (percentage) | [optional] **MarkConnected** | Pointer to **bool** | Treat as if a cable is connected | [optional] **Description** | Pointer to **string** | | [optional] -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] **Comments** | Pointer to **string** | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] @@ -25,7 +25,7 @@ Name | Type | Description | Notes ### NewPowerFeedRequest -`func NewPowerFeedRequest(powerPanel PowerPanelRequest, name string, ) *PowerFeedRequest` +`func NewPowerFeedRequest(powerPanel BriefPowerPanelRequest, name string, ) *PowerFeedRequest` NewPowerFeedRequest instantiates a new PowerFeedRequest object This constructor will assign default values to properties that have it defined, @@ -42,40 +42,40 @@ but it doesn't guarantee that properties required by API are set ### GetPowerPanel -`func (o *PowerFeedRequest) GetPowerPanel() PowerPanelRequest` +`func (o *PowerFeedRequest) GetPowerPanel() BriefPowerPanelRequest` GetPowerPanel returns the PowerPanel field if non-nil, zero value otherwise. ### GetPowerPanelOk -`func (o *PowerFeedRequest) GetPowerPanelOk() (*PowerPanelRequest, bool)` +`func (o *PowerFeedRequest) GetPowerPanelOk() (*BriefPowerPanelRequest, 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 *PowerFeedRequest) SetPowerPanel(v PowerPanelRequest)` +`func (o *PowerFeedRequest) SetPowerPanel(v BriefPowerPanelRequest)` SetPowerPanel sets PowerPanel field to given value. ### GetRack -`func (o *PowerFeedRequest) GetRack() RackRequest` +`func (o *PowerFeedRequest) GetRack() BriefRackRequest` GetRack returns the Rack field if non-nil, zero value otherwise. ### GetRackOk -`func (o *PowerFeedRequest) GetRackOk() (*RackRequest, bool)` +`func (o *PowerFeedRequest) GetRackOk() (*BriefRackRequest, bool)` GetRackOk returns a tuple with the Rack field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRack -`func (o *PowerFeedRequest) SetRack(v RackRequest)` +`func (o *PowerFeedRequest) SetRack(v BriefRackRequest)` SetRack sets Rack field to given value. @@ -342,20 +342,20 @@ HasDescription returns a boolean if a field has been set. ### GetTenant -`func (o *PowerFeedRequest) GetTenant() TenantRequest` +`func (o *PowerFeedRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *PowerFeedRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *PowerFeedRequest) GetTenantOk() (*BriefTenantRequest, 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 *PowerFeedRequest) SetTenant(v TenantRequest)` +`func (o *PowerFeedRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. diff --git a/docs/PowerOutlet.md b/docs/PowerOutlet.md index 488ae2777..c53e3bad0 100644 --- a/docs/PowerOutlet.md +++ b/docs/PowerOutlet.md @@ -6,22 +6,23 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] -**Device** | [**Device**](Device.md) | | -**Module** | Pointer to [**NullableModule**](Module.md) | | [optional] +**Device** | [**BriefDevice**](BriefDevice.md) | | +**Module** | Pointer to [**NullableBriefModule**](BriefModule.md) | | [optional] **Name** | **string** | | **Label** | Pointer to **string** | Physical label | [optional] **Type** | Pointer to [**NullablePowerOutletType**](PowerOutletType.md) | | [optional] -**PowerPort** | Pointer to [**NullablePowerPort**](PowerPort.md) | | [optional] +**PowerPort** | Pointer to [**NullableBriefPowerPort**](BriefPowerPort.md) | | [optional] **FeedLeg** | Pointer to [**NullablePowerOutletFeedLeg**](PowerOutletFeedLeg.md) | | [optional] **Description** | Pointer to **string** | | [optional] **MarkConnected** | Pointer to **bool** | Treat as if a cable is connected | [optional] -**Cable** | [**NullableCable**](Cable.md) | | [readonly] +**Cable** | [**NullableBriefCable**](BriefCable.md) | | [readonly] **CableEnd** | **string** | | [readonly] **LinkPeers** | **[]interface{}** | | [readonly] -**LinkPeersType** | **string** | Return the type of the peer link terminations, or None. | [readonly] +**LinkPeersType** | **NullableString** | Return the type of the peer link terminations, or None. | [readonly] **ConnectedEndpoints** | **[]interface{}** | | [readonly] -**ConnectedEndpointsType** | **string** | | [readonly] +**ConnectedEndpointsType** | **NullableString** | | [readonly] **ConnectedEndpointsReachable** | **bool** | | [readonly] **Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] @@ -33,7 +34,7 @@ Name | Type | Description | Notes ### NewPowerOutlet -`func NewPowerOutlet(id int32, url string, display string, device Device, name string, cable NullableCable, cableEnd string, linkPeers []interface{}, linkPeersType string, connectedEndpoints []interface{}, connectedEndpointsType string, connectedEndpointsReachable bool, created NullableTime, lastUpdated NullableTime, occupied bool, ) *PowerOutlet` +`func NewPowerOutlet(id int32, url string, display string, device BriefDevice, name string, cable NullableBriefCable, cableEnd string, linkPeers []interface{}, linkPeersType NullableString, connectedEndpoints []interface{}, connectedEndpointsType NullableString, connectedEndpointsReachable bool, created NullableTime, lastUpdated NullableTime, occupied bool, ) *PowerOutlet` NewPowerOutlet instantiates a new PowerOutlet object This constructor will assign default values to properties that have it defined, @@ -88,6 +89,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *PowerOutlet) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *PowerOutlet) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *PowerOutlet) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *PowerOutlet) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *PowerOutlet) GetDisplay() string` @@ -110,40 +136,40 @@ SetDisplay sets Display field to given value. ### GetDevice -`func (o *PowerOutlet) GetDevice() Device` +`func (o *PowerOutlet) GetDevice() BriefDevice` GetDevice returns the Device field if non-nil, zero value otherwise. ### GetDeviceOk -`func (o *PowerOutlet) GetDeviceOk() (*Device, bool)` +`func (o *PowerOutlet) GetDeviceOk() (*BriefDevice, 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 *PowerOutlet) SetDevice(v Device)` +`func (o *PowerOutlet) SetDevice(v BriefDevice)` SetDevice sets Device field to given value. ### GetModule -`func (o *PowerOutlet) GetModule() Module` +`func (o *PowerOutlet) GetModule() BriefModule` GetModule returns the Module field if non-nil, zero value otherwise. ### GetModuleOk -`func (o *PowerOutlet) GetModuleOk() (*Module, bool)` +`func (o *PowerOutlet) GetModuleOk() (*BriefModule, bool)` GetModuleOk returns a tuple with the Module field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetModule -`func (o *PowerOutlet) SetModule(v Module)` +`func (o *PowerOutlet) SetModule(v BriefModule)` SetModule sets Module field to given value. @@ -245,20 +271,20 @@ HasType returns a boolean if a field has been set. UnsetType ensures that no value is present for Type, not even an explicit nil ### GetPowerPort -`func (o *PowerOutlet) GetPowerPort() PowerPort` +`func (o *PowerOutlet) GetPowerPort() BriefPowerPort` GetPowerPort returns the PowerPort field if non-nil, zero value otherwise. ### GetPowerPortOk -`func (o *PowerOutlet) GetPowerPortOk() (*PowerPort, bool)` +`func (o *PowerOutlet) GetPowerPortOk() (*BriefPowerPort, bool)` GetPowerPortOk returns a tuple with the PowerPort field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPowerPort -`func (o *PowerOutlet) SetPowerPort(v PowerPort)` +`func (o *PowerOutlet) SetPowerPort(v BriefPowerPort)` SetPowerPort sets PowerPort field to given value. @@ -365,20 +391,20 @@ HasMarkConnected returns a boolean if a field has been set. ### GetCable -`func (o *PowerOutlet) GetCable() Cable` +`func (o *PowerOutlet) GetCable() BriefCable` GetCable returns the Cable field if non-nil, zero value otherwise. ### GetCableOk -`func (o *PowerOutlet) GetCableOk() (*Cable, bool)` +`func (o *PowerOutlet) GetCableOk() (*BriefCable, bool)` GetCableOk returns a tuple with the Cable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCable -`func (o *PowerOutlet) SetCable(v Cable)` +`func (o *PowerOutlet) SetCable(v BriefCable)` SetCable sets Cable field to given value. @@ -453,6 +479,16 @@ and a boolean to check if the value has been set. SetLinkPeersType sets LinkPeersType field to given value. +### SetLinkPeersTypeNil + +`func (o *PowerOutlet) SetLinkPeersTypeNil(b bool)` + + SetLinkPeersTypeNil sets the value for LinkPeersType to be an explicit nil + +### UnsetLinkPeersType +`func (o *PowerOutlet) UnsetLinkPeersType()` + +UnsetLinkPeersType ensures that no value is present for LinkPeersType, not even an explicit nil ### GetConnectedEndpoints `func (o *PowerOutlet) GetConnectedEndpoints() []interface{}` @@ -473,6 +509,16 @@ and a boolean to check if the value has been set. SetConnectedEndpoints sets ConnectedEndpoints field to given value. +### SetConnectedEndpointsNil + +`func (o *PowerOutlet) SetConnectedEndpointsNil(b bool)` + + SetConnectedEndpointsNil sets the value for ConnectedEndpoints to be an explicit nil + +### UnsetConnectedEndpoints +`func (o *PowerOutlet) UnsetConnectedEndpoints()` + +UnsetConnectedEndpoints ensures that no value is present for ConnectedEndpoints, not even an explicit nil ### GetConnectedEndpointsType `func (o *PowerOutlet) GetConnectedEndpointsType() string` @@ -493,6 +539,16 @@ and a boolean to check if the value has been set. SetConnectedEndpointsType sets ConnectedEndpointsType field to given value. +### SetConnectedEndpointsTypeNil + +`func (o *PowerOutlet) SetConnectedEndpointsTypeNil(b bool)` + + SetConnectedEndpointsTypeNil sets the value for ConnectedEndpointsType to be an explicit nil + +### UnsetConnectedEndpointsType +`func (o *PowerOutlet) UnsetConnectedEndpointsType()` + +UnsetConnectedEndpointsType ensures that no value is present for ConnectedEndpointsType, not even an explicit nil ### GetConnectedEndpointsReachable `func (o *PowerOutlet) GetConnectedEndpointsReachable() bool` diff --git a/docs/PowerOutletRequest.md b/docs/PowerOutletRequest.md index 13dda02fd..d972b8040 100644 --- a/docs/PowerOutletRequest.md +++ b/docs/PowerOutletRequest.md @@ -4,12 +4,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Device** | [**DeviceRequest**](DeviceRequest.md) | | -**Module** | Pointer to [**NullableModuleRequest**](ModuleRequest.md) | | [optional] +**Device** | [**BriefDeviceRequest**](BriefDeviceRequest.md) | | +**Module** | Pointer to [**NullableBriefModuleRequest**](BriefModuleRequest.md) | | [optional] **Name** | **string** | | **Label** | Pointer to **string** | Physical label | [optional] **Type** | Pointer to [**NullablePowerOutletRequestType**](PowerOutletRequestType.md) | | [optional] -**PowerPort** | Pointer to [**NullablePowerPortRequest**](PowerPortRequest.md) | | [optional] +**PowerPort** | Pointer to [**NullableBriefPowerPortRequest**](BriefPowerPortRequest.md) | | [optional] **FeedLeg** | Pointer to [**NullablePowerOutletRequestFeedLeg**](PowerOutletRequestFeedLeg.md) | | [optional] **Description** | Pointer to **string** | | [optional] **MarkConnected** | Pointer to **bool** | Treat as if a cable is connected | [optional] @@ -20,7 +20,7 @@ Name | Type | Description | Notes ### NewPowerOutletRequest -`func NewPowerOutletRequest(device DeviceRequest, name string, ) *PowerOutletRequest` +`func NewPowerOutletRequest(device BriefDeviceRequest, name string, ) *PowerOutletRequest` NewPowerOutletRequest instantiates a new PowerOutletRequest object This constructor will assign default values to properties that have it defined, @@ -37,40 +37,40 @@ but it doesn't guarantee that properties required by API are set ### GetDevice -`func (o *PowerOutletRequest) GetDevice() DeviceRequest` +`func (o *PowerOutletRequest) GetDevice() BriefDeviceRequest` GetDevice returns the Device field if non-nil, zero value otherwise. ### GetDeviceOk -`func (o *PowerOutletRequest) GetDeviceOk() (*DeviceRequest, bool)` +`func (o *PowerOutletRequest) GetDeviceOk() (*BriefDeviceRequest, 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 *PowerOutletRequest) SetDevice(v DeviceRequest)` +`func (o *PowerOutletRequest) SetDevice(v BriefDeviceRequest)` SetDevice sets Device field to given value. ### GetModule -`func (o *PowerOutletRequest) GetModule() ModuleRequest` +`func (o *PowerOutletRequest) GetModule() BriefModuleRequest` GetModule returns the Module field if non-nil, zero value otherwise. ### GetModuleOk -`func (o *PowerOutletRequest) GetModuleOk() (*ModuleRequest, bool)` +`func (o *PowerOutletRequest) GetModuleOk() (*BriefModuleRequest, bool)` GetModuleOk returns a tuple with the Module field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetModule -`func (o *PowerOutletRequest) SetModule(v ModuleRequest)` +`func (o *PowerOutletRequest) SetModule(v BriefModuleRequest)` SetModule sets Module field to given value. @@ -172,20 +172,20 @@ HasType returns a boolean if a field has been set. UnsetType ensures that no value is present for Type, not even an explicit nil ### GetPowerPort -`func (o *PowerOutletRequest) GetPowerPort() PowerPortRequest` +`func (o *PowerOutletRequest) GetPowerPort() BriefPowerPortRequest` GetPowerPort returns the PowerPort field if non-nil, zero value otherwise. ### GetPowerPortOk -`func (o *PowerOutletRequest) GetPowerPortOk() (*PowerPortRequest, bool)` +`func (o *PowerOutletRequest) GetPowerPortOk() (*BriefPowerPortRequest, bool)` GetPowerPortOk returns a tuple with the PowerPort field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPowerPort -`func (o *PowerOutletRequest) SetPowerPort(v PowerPortRequest)` +`func (o *PowerOutletRequest) SetPowerPort(v BriefPowerPortRequest)` SetPowerPort sets PowerPort field to given value. diff --git a/docs/PowerOutletRequestType.md b/docs/PowerOutletRequestType.md index c44e44e53..9356a3be8 100644 --- a/docs/PowerOutletRequestType.md +++ b/docs/PowerOutletRequestType.md @@ -125,6 +125,8 @@ * `NEMA_L21_30R` (value: `"nema-l21-30r"`) +* `NEMA_L22_20R` (value: `"nema-l22-20r"`) + * `NEMA_L22_30R` (value: `"nema-l22-30r"`) * `CS6360_C` (value: `"CS6360C"`) @@ -177,6 +179,8 @@ * `DC_TERMINAL` (value: `"dc-terminal"`) +* `EATON_C39` (value: `"eaton-c39"`) + * `HDOT_CX` (value: `"hdot-cx"`) * `SAF_D_GRID` (value: `"saf-d-grid"`) diff --git a/docs/PowerOutletTemplate.md b/docs/PowerOutletTemplate.md index f682defaf..e762a82dc 100644 --- a/docs/PowerOutletTemplate.md +++ b/docs/PowerOutletTemplate.md @@ -7,12 +7,12 @@ Name | Type | Description | Notes **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] **Display** | **string** | | [readonly] -**DeviceType** | Pointer to [**NullableDeviceType**](DeviceType.md) | | [optional] -**ModuleType** | Pointer to [**NullableModuleType**](ModuleType.md) | | [optional] +**DeviceType** | Pointer to [**NullableBriefDeviceType**](BriefDeviceType.md) | | [optional] +**ModuleType** | Pointer to [**NullableBriefModuleType**](BriefModuleType.md) | | [optional] **Name** | **string** | {module} is accepted as a substitution for the module bay position when attached to a module type. | **Label** | Pointer to **string** | Physical label | [optional] **Type** | Pointer to [**NullablePowerOutletType**](PowerOutletType.md) | | [optional] -**PowerPort** | Pointer to [**NullablePowerPortTemplate**](PowerPortTemplate.md) | | [optional] +**PowerPort** | Pointer to [**NullableBriefPowerPortTemplate**](BriefPowerPortTemplate.md) | | [optional] **FeedLeg** | Pointer to [**NullablePowerOutletFeedLeg**](PowerOutletFeedLeg.md) | | [optional] **Description** | Pointer to **string** | | [optional] **Created** | **NullableTime** | | [readonly] @@ -99,20 +99,20 @@ SetDisplay sets Display field to given value. ### GetDeviceType -`func (o *PowerOutletTemplate) GetDeviceType() DeviceType` +`func (o *PowerOutletTemplate) GetDeviceType() BriefDeviceType` GetDeviceType returns the DeviceType field if non-nil, zero value otherwise. ### GetDeviceTypeOk -`func (o *PowerOutletTemplate) GetDeviceTypeOk() (*DeviceType, bool)` +`func (o *PowerOutletTemplate) GetDeviceTypeOk() (*BriefDeviceType, bool)` GetDeviceTypeOk returns a tuple with the DeviceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDeviceType -`func (o *PowerOutletTemplate) SetDeviceType(v DeviceType)` +`func (o *PowerOutletTemplate) SetDeviceType(v BriefDeviceType)` SetDeviceType sets DeviceType field to given value. @@ -134,20 +134,20 @@ HasDeviceType returns a boolean if a field has been set. UnsetDeviceType ensures that no value is present for DeviceType, not even an explicit nil ### GetModuleType -`func (o *PowerOutletTemplate) GetModuleType() ModuleType` +`func (o *PowerOutletTemplate) GetModuleType() BriefModuleType` GetModuleType returns the ModuleType field if non-nil, zero value otherwise. ### GetModuleTypeOk -`func (o *PowerOutletTemplate) GetModuleTypeOk() (*ModuleType, bool)` +`func (o *PowerOutletTemplate) GetModuleTypeOk() (*BriefModuleType, bool)` GetModuleTypeOk returns a tuple with the ModuleType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetModuleType -`func (o *PowerOutletTemplate) SetModuleType(v ModuleType)` +`func (o *PowerOutletTemplate) SetModuleType(v BriefModuleType)` SetModuleType sets ModuleType field to given value. @@ -249,20 +249,20 @@ HasType returns a boolean if a field has been set. UnsetType ensures that no value is present for Type, not even an explicit nil ### GetPowerPort -`func (o *PowerOutletTemplate) GetPowerPort() PowerPortTemplate` +`func (o *PowerOutletTemplate) GetPowerPort() BriefPowerPortTemplate` GetPowerPort returns the PowerPort field if non-nil, zero value otherwise. ### GetPowerPortOk -`func (o *PowerOutletTemplate) GetPowerPortOk() (*PowerPortTemplate, bool)` +`func (o *PowerOutletTemplate) GetPowerPortOk() (*BriefPowerPortTemplate, bool)` GetPowerPortOk returns a tuple with the PowerPort field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPowerPort -`func (o *PowerOutletTemplate) SetPowerPort(v PowerPortTemplate)` +`func (o *PowerOutletTemplate) SetPowerPort(v BriefPowerPortTemplate)` SetPowerPort sets PowerPort field to given value. diff --git a/docs/PowerOutletTemplateRequest.md b/docs/PowerOutletTemplateRequest.md index 36e06e4b6..c4cb92e50 100644 --- a/docs/PowerOutletTemplateRequest.md +++ b/docs/PowerOutletTemplateRequest.md @@ -4,12 +4,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**DeviceType** | Pointer to [**NullableDeviceTypeRequest**](DeviceTypeRequest.md) | | [optional] -**ModuleType** | Pointer to [**NullableModuleTypeRequest**](ModuleTypeRequest.md) | | [optional] +**DeviceType** | Pointer to [**NullableBriefDeviceTypeRequest**](BriefDeviceTypeRequest.md) | | [optional] +**ModuleType** | Pointer to [**NullableBriefModuleTypeRequest**](BriefModuleTypeRequest.md) | | [optional] **Name** | **string** | {module} is accepted as a substitution for the module bay position when attached to a module type. | **Label** | Pointer to **string** | Physical label | [optional] **Type** | Pointer to [**NullablePowerOutletRequestType**](PowerOutletRequestType.md) | | [optional] -**PowerPort** | Pointer to [**NullablePowerPortTemplateRequest**](PowerPortTemplateRequest.md) | | [optional] +**PowerPort** | Pointer to [**NullableBriefPowerPortTemplateRequest**](BriefPowerPortTemplateRequest.md) | | [optional] **FeedLeg** | Pointer to [**NullablePowerOutletRequestFeedLeg**](PowerOutletRequestFeedLeg.md) | | [optional] **Description** | Pointer to **string** | | [optional] @@ -34,20 +34,20 @@ but it doesn't guarantee that properties required by API are set ### GetDeviceType -`func (o *PowerOutletTemplateRequest) GetDeviceType() DeviceTypeRequest` +`func (o *PowerOutletTemplateRequest) GetDeviceType() BriefDeviceTypeRequest` GetDeviceType returns the DeviceType field if non-nil, zero value otherwise. ### GetDeviceTypeOk -`func (o *PowerOutletTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool)` +`func (o *PowerOutletTemplateRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool)` GetDeviceTypeOk returns a tuple with the DeviceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDeviceType -`func (o *PowerOutletTemplateRequest) SetDeviceType(v DeviceTypeRequest)` +`func (o *PowerOutletTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest)` SetDeviceType sets DeviceType field to given value. @@ -69,20 +69,20 @@ HasDeviceType returns a boolean if a field has been set. UnsetDeviceType ensures that no value is present for DeviceType, not even an explicit nil ### GetModuleType -`func (o *PowerOutletTemplateRequest) GetModuleType() ModuleTypeRequest` +`func (o *PowerOutletTemplateRequest) GetModuleType() BriefModuleTypeRequest` GetModuleType returns the ModuleType field if non-nil, zero value otherwise. ### GetModuleTypeOk -`func (o *PowerOutletTemplateRequest) GetModuleTypeOk() (*ModuleTypeRequest, bool)` +`func (o *PowerOutletTemplateRequest) GetModuleTypeOk() (*BriefModuleTypeRequest, bool)` GetModuleTypeOk returns a tuple with the ModuleType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetModuleType -`func (o *PowerOutletTemplateRequest) SetModuleType(v ModuleTypeRequest)` +`func (o *PowerOutletTemplateRequest) SetModuleType(v BriefModuleTypeRequest)` SetModuleType sets ModuleType field to given value. @@ -184,20 +184,20 @@ HasType returns a boolean if a field has been set. UnsetType ensures that no value is present for Type, not even an explicit nil ### GetPowerPort -`func (o *PowerOutletTemplateRequest) GetPowerPort() PowerPortTemplateRequest` +`func (o *PowerOutletTemplateRequest) GetPowerPort() BriefPowerPortTemplateRequest` GetPowerPort returns the PowerPort field if non-nil, zero value otherwise. ### GetPowerPortOk -`func (o *PowerOutletTemplateRequest) GetPowerPortOk() (*PowerPortTemplateRequest, bool)` +`func (o *PowerOutletTemplateRequest) GetPowerPortOk() (*BriefPowerPortTemplateRequest, bool)` GetPowerPortOk returns a tuple with the PowerPort field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPowerPort -`func (o *PowerOutletTemplateRequest) SetPowerPort(v PowerPortTemplateRequest)` +`func (o *PowerOutletTemplateRequest) SetPowerPort(v BriefPowerPortTemplateRequest)` SetPowerPort sets PowerPort field to given value. diff --git a/docs/PowerOutletTypeLabel.md b/docs/PowerOutletTypeLabel.md index 4df800c34..e61254747 100644 --- a/docs/PowerOutletTypeLabel.md +++ b/docs/PowerOutletTypeLabel.md @@ -125,6 +125,8 @@ * `NEMA_L21_30_R` (value: `"NEMA L21-30R"`) +* `NEMA_L22_20_R` (value: `"NEMA L22-20R"`) + * `NEMA_L22_30_R` (value: `"NEMA L22-30R"`) * `CS6360_C` (value: `"CS6360C"`) @@ -177,6 +179,8 @@ * `DC_TERMINAL` (value: `"DC Terminal"`) +* `EATON_C39` (value: `"Eaton C39"`) + * `HDOT_CX` (value: `"HDOT Cx"`) * `SAF_D_GRID` (value: `"Saf-D-Grid"`) diff --git a/docs/PowerPanel.md b/docs/PowerPanel.md index 31346d707..90e7876a7 100644 --- a/docs/PowerPanel.md +++ b/docs/PowerPanel.md @@ -6,16 +6,24 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] +**Site** | [**BriefSite**](BriefSite.md) | | +**Location** | Pointer to [**NullableBriefLocation**](BriefLocation.md) | | [optional] **Name** | **string** | | **Description** | Pointer to **string** | | [optional] +**Comments** | Pointer to **string** | | [optional] +**Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] **PowerfeedCount** | **int64** | | [readonly] +**Created** | **NullableTime** | | [readonly] +**LastUpdated** | **NullableTime** | | [readonly] ## Methods ### NewPowerPanel -`func NewPowerPanel(id int32, url string, display string, name string, powerfeedCount int64, ) *PowerPanel` +`func NewPowerPanel(id int32, url string, display string, site BriefSite, name string, powerfeedCount int64, created NullableTime, lastUpdated NullableTime, ) *PowerPanel` NewPowerPanel instantiates a new PowerPanel object This constructor will assign default values to properties that have it defined, @@ -70,6 +78,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *PowerPanel) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *PowerPanel) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *PowerPanel) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *PowerPanel) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *PowerPanel) GetDisplay() string` @@ -90,6 +123,61 @@ and a boolean to check if the value has been set. SetDisplay sets Display field to given value. +### GetSite + +`func (o *PowerPanel) GetSite() BriefSite` + +GetSite returns the Site field if non-nil, zero value otherwise. + +### GetSiteOk + +`func (o *PowerPanel) GetSiteOk() (*BriefSite, bool)` + +GetSiteOk returns a tuple with the Site field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSite + +`func (o *PowerPanel) SetSite(v BriefSite)` + +SetSite sets Site field to given value. + + +### GetLocation + +`func (o *PowerPanel) GetLocation() BriefLocation` + +GetLocation returns the Location field if non-nil, zero value otherwise. + +### GetLocationOk + +`func (o *PowerPanel) GetLocationOk() (*BriefLocation, 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 *PowerPanel) SetLocation(v BriefLocation)` + +SetLocation sets Location field to given value. + +### HasLocation + +`func (o *PowerPanel) HasLocation() bool` + +HasLocation returns a boolean if a field has been set. + +### SetLocationNil + +`func (o *PowerPanel) SetLocationNil(b bool)` + + SetLocationNil sets the value for Location to be an explicit nil + +### UnsetLocation +`func (o *PowerPanel) UnsetLocation()` + +UnsetLocation ensures that no value is present for Location, not even an explicit nil ### GetName `func (o *PowerPanel) GetName() string` @@ -135,6 +223,81 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetComments + +`func (o *PowerPanel) GetComments() string` + +GetComments returns the Comments field if non-nil, zero value otherwise. + +### GetCommentsOk + +`func (o *PowerPanel) GetCommentsOk() (*string, bool)` + +GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComments + +`func (o *PowerPanel) SetComments(v string)` + +SetComments sets Comments field to given value. + +### HasComments + +`func (o *PowerPanel) HasComments() bool` + +HasComments returns a boolean if a field has been set. + +### GetTags + +`func (o *PowerPanel) GetTags() []NestedTag` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *PowerPanel) GetTagsOk() (*[]NestedTag, 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 *PowerPanel) SetTags(v []NestedTag)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *PowerPanel) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *PowerPanel) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *PowerPanel) 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 *PowerPanel) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *PowerPanel) HasCustomFields() bool` + +HasCustomFields returns a boolean if a field has been set. + ### GetPowerfeedCount `func (o *PowerPanel) GetPowerfeedCount() int64` @@ -155,6 +318,66 @@ and a boolean to check if the value has been set. SetPowerfeedCount sets PowerfeedCount field to given value. +### GetCreated + +`func (o *PowerPanel) GetCreated() time.Time` + +GetCreated returns the Created field if non-nil, zero value otherwise. + +### GetCreatedOk + +`func (o *PowerPanel) 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 *PowerPanel) SetCreated(v time.Time)` + +SetCreated sets Created field to given value. + + +### SetCreatedNil + +`func (o *PowerPanel) SetCreatedNil(b bool)` + + SetCreatedNil sets the value for Created to be an explicit nil + +### UnsetCreated +`func (o *PowerPanel) UnsetCreated()` + +UnsetCreated ensures that no value is present for Created, not even an explicit nil +### GetLastUpdated + +`func (o *PowerPanel) GetLastUpdated() time.Time` + +GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise. + +### GetLastUpdatedOk + +`func (o *PowerPanel) 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 *PowerPanel) SetLastUpdated(v time.Time)` + +SetLastUpdated sets LastUpdated field to given value. + + +### SetLastUpdatedNil + +`func (o *PowerPanel) SetLastUpdatedNil(b bool)` + + SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil + +### UnsetLastUpdated +`func (o *PowerPanel) UnsetLastUpdated()` + +UnsetLastUpdated ensures that no value is present for LastUpdated, 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/PowerPanelRequest.md b/docs/PowerPanelRequest.md index 1993a4681..dbe61e3b7 100644 --- a/docs/PowerPanelRequest.md +++ b/docs/PowerPanelRequest.md @@ -4,14 +4,19 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Site** | [**BriefSiteRequest**](BriefSiteRequest.md) | | +**Location** | Pointer to [**NullableBriefLocationRequest**](BriefLocationRequest.md) | | [optional] **Name** | **string** | | **Description** | Pointer to **string** | | [optional] +**Comments** | Pointer to **string** | | [optional] +**Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] ## Methods ### NewPowerPanelRequest -`func NewPowerPanelRequest(name string, ) *PowerPanelRequest` +`func NewPowerPanelRequest(site BriefSiteRequest, name string, ) *PowerPanelRequest` NewPowerPanelRequest instantiates a new PowerPanelRequest object This constructor will assign default values to properties that have it defined, @@ -26,6 +31,61 @@ 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 +### GetSite + +`func (o *PowerPanelRequest) GetSite() BriefSiteRequest` + +GetSite returns the Site field if non-nil, zero value otherwise. + +### GetSiteOk + +`func (o *PowerPanelRequest) GetSiteOk() (*BriefSiteRequest, bool)` + +GetSiteOk returns a tuple with the Site field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSite + +`func (o *PowerPanelRequest) SetSite(v BriefSiteRequest)` + +SetSite sets Site field to given value. + + +### GetLocation + +`func (o *PowerPanelRequest) GetLocation() BriefLocationRequest` + +GetLocation returns the Location field if non-nil, zero value otherwise. + +### GetLocationOk + +`func (o *PowerPanelRequest) GetLocationOk() (*BriefLocationRequest, 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 BriefLocationRequest)` + +SetLocation sets Location field to given value. + +### HasLocation + +`func (o *PowerPanelRequest) HasLocation() bool` + +HasLocation returns a boolean if a field has been set. + +### SetLocationNil + +`func (o *PowerPanelRequest) SetLocationNil(b bool)` + + SetLocationNil sets the value for Location to be an explicit nil + +### UnsetLocation +`func (o *PowerPanelRequest) UnsetLocation()` + +UnsetLocation ensures that no value is present for Location, not even an explicit nil ### GetName `func (o *PowerPanelRequest) GetName() string` @@ -71,6 +131,81 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetComments + +`func (o *PowerPanelRequest) GetComments() string` + +GetComments returns the Comments field if non-nil, zero value otherwise. + +### GetCommentsOk + +`func (o *PowerPanelRequest) GetCommentsOk() (*string, bool)` + +GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComments + +`func (o *PowerPanelRequest) SetComments(v string)` + +SetComments sets Comments field to given value. + +### HasComments + +`func (o *PowerPanelRequest) HasComments() bool` + +HasComments returns a boolean if a field has been set. + +### GetTags + +`func (o *PowerPanelRequest) GetTags() []NestedTagRequest` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *PowerPanelRequest) GetTagsOk() (*[]NestedTagRequest, 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 []NestedTagRequest)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *PowerPanelRequest) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### 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. + [[Back to Model list]](../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 43c65c7fa..d0f372c69 100644 --- a/docs/PowerPort.md +++ b/docs/PowerPort.md @@ -6,18 +6,35 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] -**Device** | [**Device**](Device.md) | | +**Device** | [**BriefDevice**](BriefDevice.md) | | +**Module** | Pointer to [**NullableBriefModule**](BriefModule.md) | | [optional] **Name** | **string** | | +**Label** | Pointer to **string** | Physical label | [optional] +**Type** | Pointer to [**NullablePowerPortType**](PowerPortType.md) | | [optional] +**MaximumDraw** | Pointer to **NullableInt32** | Maximum power draw (watts) | [optional] +**AllocatedDraw** | Pointer to **NullableInt32** | Allocated power draw (watts) | [optional] **Description** | Pointer to **string** | | [optional] -**Cable** | [**NullableCable**](Cable.md) | | [readonly] +**MarkConnected** | Pointer to **bool** | Treat as if a cable is connected | [optional] +**Cable** | [**NullableBriefCable**](BriefCable.md) | | [readonly] +**CableEnd** | **string** | | [readonly] +**LinkPeers** | **[]interface{}** | | [readonly] +**LinkPeersType** | **NullableString** | Return the type of the peer link terminations, or None. | [readonly] +**ConnectedEndpoints** | **[]interface{}** | | [readonly] +**ConnectedEndpointsType** | **NullableString** | | [readonly] +**ConnectedEndpointsReachable** | **bool** | | [readonly] +**Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] +**Created** | **NullableTime** | | [readonly] +**LastUpdated** | **NullableTime** | | [readonly] **Occupied** | **bool** | | [readonly] ## Methods ### NewPowerPort -`func NewPowerPort(id int32, url string, display string, device Device, name string, cable NullableCable, occupied bool, ) *PowerPort` +`func NewPowerPort(id int32, url string, display string, device BriefDevice, name string, cable NullableBriefCable, cableEnd string, linkPeers []interface{}, linkPeersType NullableString, connectedEndpoints []interface{}, connectedEndpointsType NullableString, connectedEndpointsReachable bool, created NullableTime, lastUpdated NullableTime, occupied bool, ) *PowerPort` NewPowerPort instantiates a new PowerPort object This constructor will assign default values to properties that have it defined, @@ -72,6 +89,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *PowerPort) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *PowerPort) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *PowerPort) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *PowerPort) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *PowerPort) GetDisplay() string` @@ -94,24 +136,59 @@ SetDisplay sets Display field to given value. ### GetDevice -`func (o *PowerPort) GetDevice() Device` +`func (o *PowerPort) GetDevice() BriefDevice` GetDevice returns the Device field if non-nil, zero value otherwise. ### GetDeviceOk -`func (o *PowerPort) GetDeviceOk() (*Device, bool)` +`func (o *PowerPort) GetDeviceOk() (*BriefDevice, 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 *PowerPort) SetDevice(v Device)` +`func (o *PowerPort) SetDevice(v BriefDevice)` SetDevice sets Device field to given value. +### GetModule + +`func (o *PowerPort) GetModule() BriefModule` + +GetModule returns the Module field if non-nil, zero value otherwise. + +### GetModuleOk + +`func (o *PowerPort) GetModuleOk() (*BriefModule, bool)` + +GetModuleOk returns a tuple with the Module field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetModule + +`func (o *PowerPort) SetModule(v BriefModule)` + +SetModule sets Module field to given value. + +### HasModule + +`func (o *PowerPort) HasModule() bool` + +HasModule returns a boolean if a field has been set. + +### SetModuleNil + +`func (o *PowerPort) SetModuleNil(b bool)` + + SetModuleNil sets the value for Module to be an explicit nil + +### UnsetModule +`func (o *PowerPort) UnsetModule()` + +UnsetModule ensures that no value is present for Module, not even an explicit nil ### GetName `func (o *PowerPort) GetName() string` @@ -132,6 +209,136 @@ and a boolean to check if the value has been set. SetName sets Name field to given value. +### GetLabel + +`func (o *PowerPort) GetLabel() string` + +GetLabel returns the Label field if non-nil, zero value otherwise. + +### GetLabelOk + +`func (o *PowerPort) GetLabelOk() (*string, 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 *PowerPort) SetLabel(v string)` + +SetLabel sets Label field to given value. + +### HasLabel + +`func (o *PowerPort) HasLabel() bool` + +HasLabel returns a boolean if a field has been set. + +### GetType + +`func (o *PowerPort) GetType() PowerPortType` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *PowerPort) GetTypeOk() (*PowerPortType, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *PowerPort) SetType(v PowerPortType)` + +SetType sets Type field to given value. + +### HasType + +`func (o *PowerPort) HasType() bool` + +HasType returns a boolean if a field has been set. + +### SetTypeNil + +`func (o *PowerPort) SetTypeNil(b bool)` + + SetTypeNil sets the value for Type to be an explicit nil + +### UnsetType +`func (o *PowerPort) UnsetType()` + +UnsetType ensures that no value is present for Type, not even an explicit nil +### GetMaximumDraw + +`func (o *PowerPort) GetMaximumDraw() int32` + +GetMaximumDraw returns the MaximumDraw field if non-nil, zero value otherwise. + +### GetMaximumDrawOk + +`func (o *PowerPort) GetMaximumDrawOk() (*int32, bool)` + +GetMaximumDrawOk returns a tuple with the MaximumDraw field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaximumDraw + +`func (o *PowerPort) SetMaximumDraw(v int32)` + +SetMaximumDraw sets MaximumDraw field to given value. + +### HasMaximumDraw + +`func (o *PowerPort) HasMaximumDraw() bool` + +HasMaximumDraw returns a boolean if a field has been set. + +### SetMaximumDrawNil + +`func (o *PowerPort) SetMaximumDrawNil(b bool)` + + SetMaximumDrawNil sets the value for MaximumDraw to be an explicit nil + +### UnsetMaximumDraw +`func (o *PowerPort) UnsetMaximumDraw()` + +UnsetMaximumDraw ensures that no value is present for MaximumDraw, not even an explicit nil +### GetAllocatedDraw + +`func (o *PowerPort) GetAllocatedDraw() int32` + +GetAllocatedDraw returns the AllocatedDraw field if non-nil, zero value otherwise. + +### GetAllocatedDrawOk + +`func (o *PowerPort) GetAllocatedDrawOk() (*int32, bool)` + +GetAllocatedDrawOk returns a tuple with the AllocatedDraw field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAllocatedDraw + +`func (o *PowerPort) SetAllocatedDraw(v int32)` + +SetAllocatedDraw sets AllocatedDraw field to given value. + +### HasAllocatedDraw + +`func (o *PowerPort) HasAllocatedDraw() bool` + +HasAllocatedDraw returns a boolean if a field has been set. + +### SetAllocatedDrawNil + +`func (o *PowerPort) SetAllocatedDrawNil(b bool)` + + SetAllocatedDrawNil sets the value for AllocatedDraw to be an explicit nil + +### UnsetAllocatedDraw +`func (o *PowerPort) UnsetAllocatedDraw()` + +UnsetAllocatedDraw ensures that no value is present for AllocatedDraw, not even an explicit nil ### GetDescription `func (o *PowerPort) GetDescription() string` @@ -157,22 +364,47 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetMarkConnected + +`func (o *PowerPort) GetMarkConnected() bool` + +GetMarkConnected returns the MarkConnected field if non-nil, zero value otherwise. + +### GetMarkConnectedOk + +`func (o *PowerPort) GetMarkConnectedOk() (*bool, bool)` + +GetMarkConnectedOk returns a tuple with the MarkConnected field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMarkConnected + +`func (o *PowerPort) SetMarkConnected(v bool)` + +SetMarkConnected sets MarkConnected field to given value. + +### HasMarkConnected + +`func (o *PowerPort) HasMarkConnected() bool` + +HasMarkConnected returns a boolean if a field has been set. + ### GetCable -`func (o *PowerPort) GetCable() Cable` +`func (o *PowerPort) GetCable() BriefCable` GetCable returns the Cable field if non-nil, zero value otherwise. ### GetCableOk -`func (o *PowerPort) GetCableOk() (*Cable, bool)` +`func (o *PowerPort) GetCableOk() (*BriefCable, bool)` GetCableOk returns a tuple with the Cable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCable -`func (o *PowerPort) SetCable(v Cable)` +`func (o *PowerPort) SetCable(v BriefCable)` SetCable sets Cable field to given value. @@ -187,6 +419,266 @@ SetCable sets Cable field to given value. `func (o *PowerPort) UnsetCable()` UnsetCable ensures that no value is present for Cable, not even an explicit nil +### GetCableEnd + +`func (o *PowerPort) GetCableEnd() string` + +GetCableEnd returns the CableEnd field if non-nil, zero value otherwise. + +### GetCableEndOk + +`func (o *PowerPort) GetCableEndOk() (*string, bool)` + +GetCableEndOk returns a tuple with the CableEnd field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCableEnd + +`func (o *PowerPort) SetCableEnd(v string)` + +SetCableEnd sets CableEnd field to given value. + + +### GetLinkPeers + +`func (o *PowerPort) GetLinkPeers() []interface{}` + +GetLinkPeers returns the LinkPeers field if non-nil, zero value otherwise. + +### GetLinkPeersOk + +`func (o *PowerPort) GetLinkPeersOk() (*[]interface{}, bool)` + +GetLinkPeersOk returns a tuple with the LinkPeers field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLinkPeers + +`func (o *PowerPort) SetLinkPeers(v []interface{})` + +SetLinkPeers sets LinkPeers field to given value. + + +### GetLinkPeersType + +`func (o *PowerPort) GetLinkPeersType() string` + +GetLinkPeersType returns the LinkPeersType field if non-nil, zero value otherwise. + +### GetLinkPeersTypeOk + +`func (o *PowerPort) GetLinkPeersTypeOk() (*string, bool)` + +GetLinkPeersTypeOk returns a tuple with the LinkPeersType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLinkPeersType + +`func (o *PowerPort) SetLinkPeersType(v string)` + +SetLinkPeersType sets LinkPeersType field to given value. + + +### SetLinkPeersTypeNil + +`func (o *PowerPort) SetLinkPeersTypeNil(b bool)` + + SetLinkPeersTypeNil sets the value for LinkPeersType to be an explicit nil + +### UnsetLinkPeersType +`func (o *PowerPort) UnsetLinkPeersType()` + +UnsetLinkPeersType ensures that no value is present for LinkPeersType, not even an explicit nil +### GetConnectedEndpoints + +`func (o *PowerPort) GetConnectedEndpoints() []interface{}` + +GetConnectedEndpoints returns the ConnectedEndpoints field if non-nil, zero value otherwise. + +### GetConnectedEndpointsOk + +`func (o *PowerPort) GetConnectedEndpointsOk() (*[]interface{}, bool)` + +GetConnectedEndpointsOk returns a tuple with the ConnectedEndpoints field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetConnectedEndpoints + +`func (o *PowerPort) SetConnectedEndpoints(v []interface{})` + +SetConnectedEndpoints sets ConnectedEndpoints field to given value. + + +### SetConnectedEndpointsNil + +`func (o *PowerPort) SetConnectedEndpointsNil(b bool)` + + SetConnectedEndpointsNil sets the value for ConnectedEndpoints to be an explicit nil + +### UnsetConnectedEndpoints +`func (o *PowerPort) UnsetConnectedEndpoints()` + +UnsetConnectedEndpoints ensures that no value is present for ConnectedEndpoints, not even an explicit nil +### GetConnectedEndpointsType + +`func (o *PowerPort) GetConnectedEndpointsType() string` + +GetConnectedEndpointsType returns the ConnectedEndpointsType field if non-nil, zero value otherwise. + +### GetConnectedEndpointsTypeOk + +`func (o *PowerPort) GetConnectedEndpointsTypeOk() (*string, bool)` + +GetConnectedEndpointsTypeOk returns a tuple with the ConnectedEndpointsType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetConnectedEndpointsType + +`func (o *PowerPort) SetConnectedEndpointsType(v string)` + +SetConnectedEndpointsType sets ConnectedEndpointsType field to given value. + + +### SetConnectedEndpointsTypeNil + +`func (o *PowerPort) SetConnectedEndpointsTypeNil(b bool)` + + SetConnectedEndpointsTypeNil sets the value for ConnectedEndpointsType to be an explicit nil + +### UnsetConnectedEndpointsType +`func (o *PowerPort) UnsetConnectedEndpointsType()` + +UnsetConnectedEndpointsType ensures that no value is present for ConnectedEndpointsType, not even an explicit nil +### GetConnectedEndpointsReachable + +`func (o *PowerPort) GetConnectedEndpointsReachable() bool` + +GetConnectedEndpointsReachable returns the ConnectedEndpointsReachable field if non-nil, zero value otherwise. + +### GetConnectedEndpointsReachableOk + +`func (o *PowerPort) GetConnectedEndpointsReachableOk() (*bool, bool)` + +GetConnectedEndpointsReachableOk returns a tuple with the ConnectedEndpointsReachable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetConnectedEndpointsReachable + +`func (o *PowerPort) SetConnectedEndpointsReachable(v bool)` + +SetConnectedEndpointsReachable sets ConnectedEndpointsReachable field to given value. + + +### GetTags + +`func (o *PowerPort) GetTags() []NestedTag` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *PowerPort) GetTagsOk() (*[]NestedTag, 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 *PowerPort) SetTags(v []NestedTag)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *PowerPort) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *PowerPort) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *PowerPort) 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 *PowerPort) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *PowerPort) HasCustomFields() bool` + +HasCustomFields returns a boolean if a field has been set. + +### GetCreated + +`func (o *PowerPort) GetCreated() time.Time` + +GetCreated returns the Created field if non-nil, zero value otherwise. + +### GetCreatedOk + +`func (o *PowerPort) 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 *PowerPort) SetCreated(v time.Time)` + +SetCreated sets Created field to given value. + + +### SetCreatedNil + +`func (o *PowerPort) SetCreatedNil(b bool)` + + SetCreatedNil sets the value for Created to be an explicit nil + +### UnsetCreated +`func (o *PowerPort) UnsetCreated()` + +UnsetCreated ensures that no value is present for Created, not even an explicit nil +### GetLastUpdated + +`func (o *PowerPort) GetLastUpdated() time.Time` + +GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise. + +### GetLastUpdatedOk + +`func (o *PowerPort) 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 *PowerPort) SetLastUpdated(v time.Time)` + +SetLastUpdated sets LastUpdated field to given value. + + +### SetLastUpdatedNil + +`func (o *PowerPort) SetLastUpdatedNil(b bool)` + + SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil + +### UnsetLastUpdated +`func (o *PowerPort) UnsetLastUpdated()` + +UnsetLastUpdated ensures that no value is present for LastUpdated, not even an explicit nil ### GetOccupied `func (o *PowerPort) GetOccupied() bool` diff --git a/docs/PowerPortRequest.md b/docs/PowerPortRequest.md index 5828bf357..26e241c9a 100644 --- a/docs/PowerPortRequest.md +++ b/docs/PowerPortRequest.md @@ -4,15 +4,23 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Device** | [**DeviceRequest**](DeviceRequest.md) | | +**Device** | [**BriefDeviceRequest**](BriefDeviceRequest.md) | | +**Module** | Pointer to [**NullableBriefModuleRequest**](BriefModuleRequest.md) | | [optional] **Name** | **string** | | +**Label** | Pointer to **string** | Physical label | [optional] +**Type** | Pointer to [**NullablePowerPortRequestType**](PowerPortRequestType.md) | | [optional] +**MaximumDraw** | Pointer to **NullableInt32** | Maximum power draw (watts) | [optional] +**AllocatedDraw** | Pointer to **NullableInt32** | Allocated power draw (watts) | [optional] **Description** | Pointer to **string** | | [optional] +**MarkConnected** | Pointer to **bool** | Treat as if a cable is connected | [optional] +**Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] ## Methods ### NewPowerPortRequest -`func NewPowerPortRequest(device DeviceRequest, name string, ) *PowerPortRequest` +`func NewPowerPortRequest(device BriefDeviceRequest, name string, ) *PowerPortRequest` NewPowerPortRequest instantiates a new PowerPortRequest object This constructor will assign default values to properties that have it defined, @@ -29,24 +37,59 @@ but it doesn't guarantee that properties required by API are set ### GetDevice -`func (o *PowerPortRequest) GetDevice() DeviceRequest` +`func (o *PowerPortRequest) GetDevice() BriefDeviceRequest` GetDevice returns the Device field if non-nil, zero value otherwise. ### GetDeviceOk -`func (o *PowerPortRequest) GetDeviceOk() (*DeviceRequest, bool)` +`func (o *PowerPortRequest) GetDeviceOk() (*BriefDeviceRequest, 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 *PowerPortRequest) SetDevice(v DeviceRequest)` +`func (o *PowerPortRequest) SetDevice(v BriefDeviceRequest)` SetDevice sets Device field to given value. +### GetModule + +`func (o *PowerPortRequest) GetModule() BriefModuleRequest` + +GetModule returns the Module field if non-nil, zero value otherwise. + +### GetModuleOk + +`func (o *PowerPortRequest) GetModuleOk() (*BriefModuleRequest, bool)` + +GetModuleOk returns a tuple with the Module field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetModule + +`func (o *PowerPortRequest) SetModule(v BriefModuleRequest)` + +SetModule sets Module field to given value. + +### HasModule + +`func (o *PowerPortRequest) HasModule() bool` + +HasModule returns a boolean if a field has been set. + +### SetModuleNil + +`func (o *PowerPortRequest) SetModuleNil(b bool)` + + SetModuleNil sets the value for Module to be an explicit nil + +### UnsetModule +`func (o *PowerPortRequest) UnsetModule()` + +UnsetModule ensures that no value is present for Module, not even an explicit nil ### GetName `func (o *PowerPortRequest) GetName() string` @@ -67,6 +110,136 @@ and a boolean to check if the value has been set. SetName sets Name field to given value. +### GetLabel + +`func (o *PowerPortRequest) GetLabel() string` + +GetLabel returns the Label field if non-nil, zero value otherwise. + +### GetLabelOk + +`func (o *PowerPortRequest) GetLabelOk() (*string, 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 *PowerPortRequest) SetLabel(v string)` + +SetLabel sets Label field to given value. + +### HasLabel + +`func (o *PowerPortRequest) HasLabel() bool` + +HasLabel returns a boolean if a field has been set. + +### GetType + +`func (o *PowerPortRequest) GetType() PowerPortRequestType` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *PowerPortRequest) GetTypeOk() (*PowerPortRequestType, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *PowerPortRequest) SetType(v PowerPortRequestType)` + +SetType sets Type field to given value. + +### HasType + +`func (o *PowerPortRequest) HasType() bool` + +HasType returns a boolean if a field has been set. + +### SetTypeNil + +`func (o *PowerPortRequest) SetTypeNil(b bool)` + + SetTypeNil sets the value for Type to be an explicit nil + +### UnsetType +`func (o *PowerPortRequest) UnsetType()` + +UnsetType ensures that no value is present for Type, not even an explicit nil +### GetMaximumDraw + +`func (o *PowerPortRequest) GetMaximumDraw() int32` + +GetMaximumDraw returns the MaximumDraw field if non-nil, zero value otherwise. + +### GetMaximumDrawOk + +`func (o *PowerPortRequest) GetMaximumDrawOk() (*int32, bool)` + +GetMaximumDrawOk returns a tuple with the MaximumDraw field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaximumDraw + +`func (o *PowerPortRequest) SetMaximumDraw(v int32)` + +SetMaximumDraw sets MaximumDraw field to given value. + +### HasMaximumDraw + +`func (o *PowerPortRequest) HasMaximumDraw() bool` + +HasMaximumDraw returns a boolean if a field has been set. + +### SetMaximumDrawNil + +`func (o *PowerPortRequest) SetMaximumDrawNil(b bool)` + + SetMaximumDrawNil sets the value for MaximumDraw to be an explicit nil + +### UnsetMaximumDraw +`func (o *PowerPortRequest) UnsetMaximumDraw()` + +UnsetMaximumDraw ensures that no value is present for MaximumDraw, not even an explicit nil +### GetAllocatedDraw + +`func (o *PowerPortRequest) GetAllocatedDraw() int32` + +GetAllocatedDraw returns the AllocatedDraw field if non-nil, zero value otherwise. + +### GetAllocatedDrawOk + +`func (o *PowerPortRequest) GetAllocatedDrawOk() (*int32, bool)` + +GetAllocatedDrawOk returns a tuple with the AllocatedDraw field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAllocatedDraw + +`func (o *PowerPortRequest) SetAllocatedDraw(v int32)` + +SetAllocatedDraw sets AllocatedDraw field to given value. + +### HasAllocatedDraw + +`func (o *PowerPortRequest) HasAllocatedDraw() bool` + +HasAllocatedDraw returns a boolean if a field has been set. + +### SetAllocatedDrawNil + +`func (o *PowerPortRequest) SetAllocatedDrawNil(b bool)` + + SetAllocatedDrawNil sets the value for AllocatedDraw to be an explicit nil + +### UnsetAllocatedDraw +`func (o *PowerPortRequest) UnsetAllocatedDraw()` + +UnsetAllocatedDraw ensures that no value is present for AllocatedDraw, not even an explicit nil ### GetDescription `func (o *PowerPortRequest) GetDescription() string` @@ -92,6 +265,81 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetMarkConnected + +`func (o *PowerPortRequest) GetMarkConnected() bool` + +GetMarkConnected returns the MarkConnected field if non-nil, zero value otherwise. + +### GetMarkConnectedOk + +`func (o *PowerPortRequest) GetMarkConnectedOk() (*bool, bool)` + +GetMarkConnectedOk returns a tuple with the MarkConnected field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMarkConnected + +`func (o *PowerPortRequest) SetMarkConnected(v bool)` + +SetMarkConnected sets MarkConnected field to given value. + +### HasMarkConnected + +`func (o *PowerPortRequest) HasMarkConnected() bool` + +HasMarkConnected returns a boolean if a field has been set. + +### GetTags + +`func (o *PowerPortRequest) GetTags() []NestedTagRequest` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *PowerPortRequest) GetTagsOk() (*[]NestedTagRequest, 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 *PowerPortRequest) SetTags(v []NestedTagRequest)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *PowerPortRequest) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *PowerPortRequest) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *PowerPortRequest) 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 *PowerPortRequest) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *PowerPortRequest) 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/PowerPortRequestType.md b/docs/PowerPortRequestType.md new file mode 100644 index 000000000..8e1e4ae23 --- /dev/null +++ b/docs/PowerPortRequestType.md @@ -0,0 +1,219 @@ +# PowerPortRequestType + +## Enum + + +* `IEC_60320_C6` (value: `"iec-60320-c6"`) + +* `IEC_60320_C8` (value: `"iec-60320-c8"`) + +* `IEC_60320_C14` (value: `"iec-60320-c14"`) + +* `IEC_60320_C16` (value: `"iec-60320-c16"`) + +* `IEC_60320_C20` (value: `"iec-60320-c20"`) + +* `IEC_60320_C22` (value: `"iec-60320-c22"`) + +* `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_20P` (value: `"nema-l22-20p"`) + +* `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"`) + +* `MOLEX_MICRO_FIT_1X2` (value: `"molex-micro-fit-1x2"`) + +* `MOLEX_MICRO_FIT_2X2` (value: `"molex-micro-fit-2x2"`) + +* `MOLEX_MICRO_FIT_2X4` (value: `"molex-micro-fit-2x4"`) + +* `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/PowerPortTemplate.md b/docs/PowerPortTemplate.md index 0ddb2e324..6f50846c8 100644 --- a/docs/PowerPortTemplate.md +++ b/docs/PowerPortTemplate.md @@ -7,14 +7,22 @@ Name | Type | Description | Notes **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] **Display** | **string** | | [readonly] +**DeviceType** | Pointer to [**NullableBriefDeviceType**](BriefDeviceType.md) | | [optional] +**ModuleType** | Pointer to [**NullableBriefModuleType**](BriefModuleType.md) | | [optional] **Name** | **string** | {module} is accepted as a substitution for the module bay position when attached to a module type. | +**Label** | Pointer to **string** | Physical label | [optional] +**Type** | Pointer to [**NullablePowerPortType**](PowerPortType.md) | | [optional] +**MaximumDraw** | Pointer to **NullableInt32** | Maximum power draw (watts) | [optional] +**AllocatedDraw** | Pointer to **NullableInt32** | Allocated power draw (watts) | [optional] **Description** | Pointer to **string** | | [optional] +**Created** | **NullableTime** | | [readonly] +**LastUpdated** | **NullableTime** | | [readonly] ## Methods ### NewPowerPortTemplate -`func NewPowerPortTemplate(id int32, url string, display string, name string, ) *PowerPortTemplate` +`func NewPowerPortTemplate(id int32, url string, display 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, @@ -89,6 +97,76 @@ and a boolean to check if the value has been set. SetDisplay sets Display field to given value. +### GetDeviceType + +`func (o *PowerPortTemplate) GetDeviceType() BriefDeviceType` + +GetDeviceType returns the DeviceType field if non-nil, zero value otherwise. + +### GetDeviceTypeOk + +`func (o *PowerPortTemplate) GetDeviceTypeOk() (*BriefDeviceType, bool)` + +GetDeviceTypeOk returns a tuple with the DeviceType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDeviceType + +`func (o *PowerPortTemplate) SetDeviceType(v BriefDeviceType)` + +SetDeviceType sets DeviceType field to given value. + +### HasDeviceType + +`func (o *PowerPortTemplate) HasDeviceType() bool` + +HasDeviceType returns a boolean if a field has been set. + +### SetDeviceTypeNil + +`func (o *PowerPortTemplate) SetDeviceTypeNil(b bool)` + + SetDeviceTypeNil sets the value for DeviceType to be an explicit nil + +### UnsetDeviceType +`func (o *PowerPortTemplate) UnsetDeviceType()` + +UnsetDeviceType ensures that no value is present for DeviceType, not even an explicit nil +### GetModuleType + +`func (o *PowerPortTemplate) GetModuleType() BriefModuleType` + +GetModuleType returns the ModuleType field if non-nil, zero value otherwise. + +### GetModuleTypeOk + +`func (o *PowerPortTemplate) GetModuleTypeOk() (*BriefModuleType, bool)` + +GetModuleTypeOk returns a tuple with the ModuleType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetModuleType + +`func (o *PowerPortTemplate) SetModuleType(v BriefModuleType)` + +SetModuleType sets ModuleType field to given value. + +### HasModuleType + +`func (o *PowerPortTemplate) HasModuleType() bool` + +HasModuleType returns a boolean if a field has been set. + +### SetModuleTypeNil + +`func (o *PowerPortTemplate) SetModuleTypeNil(b bool)` + + SetModuleTypeNil sets the value for ModuleType to be an explicit nil + +### UnsetModuleType +`func (o *PowerPortTemplate) UnsetModuleType()` + +UnsetModuleType ensures that no value is present for ModuleType, not even an explicit nil ### GetName `func (o *PowerPortTemplate) GetName() string` @@ -109,6 +187,136 @@ and a boolean to check if the value has been set. SetName sets Name field to given value. +### GetLabel + +`func (o *PowerPortTemplate) GetLabel() string` + +GetLabel returns the Label field if non-nil, zero value otherwise. + +### GetLabelOk + +`func (o *PowerPortTemplate) GetLabelOk() (*string, 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 *PowerPortTemplate) SetLabel(v string)` + +SetLabel sets Label field to given value. + +### HasLabel + +`func (o *PowerPortTemplate) HasLabel() bool` + +HasLabel returns a boolean if a field has been set. + +### GetType + +`func (o *PowerPortTemplate) GetType() PowerPortType` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *PowerPortTemplate) GetTypeOk() (*PowerPortType, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *PowerPortTemplate) SetType(v PowerPortType)` + +SetType sets Type field to given value. + +### HasType + +`func (o *PowerPortTemplate) HasType() bool` + +HasType returns a boolean if a field has been set. + +### SetTypeNil + +`func (o *PowerPortTemplate) SetTypeNil(b bool)` + + SetTypeNil sets the value for Type to be an explicit nil + +### UnsetType +`func (o *PowerPortTemplate) UnsetType()` + +UnsetType ensures that no value is present for Type, not even an explicit nil +### GetMaximumDraw + +`func (o *PowerPortTemplate) GetMaximumDraw() int32` + +GetMaximumDraw returns the MaximumDraw field if non-nil, zero value otherwise. + +### GetMaximumDrawOk + +`func (o *PowerPortTemplate) GetMaximumDrawOk() (*int32, bool)` + +GetMaximumDrawOk returns a tuple with the MaximumDraw field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaximumDraw + +`func (o *PowerPortTemplate) SetMaximumDraw(v int32)` + +SetMaximumDraw sets MaximumDraw field to given value. + +### HasMaximumDraw + +`func (o *PowerPortTemplate) HasMaximumDraw() bool` + +HasMaximumDraw returns a boolean if a field has been set. + +### SetMaximumDrawNil + +`func (o *PowerPortTemplate) SetMaximumDrawNil(b bool)` + + SetMaximumDrawNil sets the value for MaximumDraw to be an explicit nil + +### UnsetMaximumDraw +`func (o *PowerPortTemplate) UnsetMaximumDraw()` + +UnsetMaximumDraw ensures that no value is present for MaximumDraw, not even an explicit nil +### GetAllocatedDraw + +`func (o *PowerPortTemplate) GetAllocatedDraw() int32` + +GetAllocatedDraw returns the AllocatedDraw field if non-nil, zero value otherwise. + +### GetAllocatedDrawOk + +`func (o *PowerPortTemplate) GetAllocatedDrawOk() (*int32, bool)` + +GetAllocatedDrawOk returns a tuple with the AllocatedDraw field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAllocatedDraw + +`func (o *PowerPortTemplate) SetAllocatedDraw(v int32)` + +SetAllocatedDraw sets AllocatedDraw field to given value. + +### HasAllocatedDraw + +`func (o *PowerPortTemplate) HasAllocatedDraw() bool` + +HasAllocatedDraw returns a boolean if a field has been set. + +### SetAllocatedDrawNil + +`func (o *PowerPortTemplate) SetAllocatedDrawNil(b bool)` + + SetAllocatedDrawNil sets the value for AllocatedDraw to be an explicit nil + +### UnsetAllocatedDraw +`func (o *PowerPortTemplate) UnsetAllocatedDraw()` + +UnsetAllocatedDraw ensures that no value is present for AllocatedDraw, not even an explicit nil ### GetDescription `func (o *PowerPortTemplate) GetDescription() string` @@ -134,6 +342,66 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetCreated + +`func (o *PowerPortTemplate) GetCreated() time.Time` + +GetCreated returns the Created field if non-nil, zero value otherwise. + +### GetCreatedOk + +`func (o *PowerPortTemplate) 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 *PowerPortTemplate) SetCreated(v time.Time)` + +SetCreated sets Created field to given value. + + +### SetCreatedNil + +`func (o *PowerPortTemplate) SetCreatedNil(b bool)` + + SetCreatedNil sets the value for Created to be an explicit nil + +### UnsetCreated +`func (o *PowerPortTemplate) UnsetCreated()` + +UnsetCreated ensures that no value is present for Created, not even an explicit nil +### GetLastUpdated + +`func (o *PowerPortTemplate) GetLastUpdated() time.Time` + +GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise. + +### GetLastUpdatedOk + +`func (o *PowerPortTemplate) 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 *PowerPortTemplate) SetLastUpdated(v time.Time)` + +SetLastUpdated sets LastUpdated field to given value. + + +### SetLastUpdatedNil + +`func (o *PowerPortTemplate) SetLastUpdatedNil(b bool)` + + SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil + +### UnsetLastUpdated +`func (o *PowerPortTemplate) UnsetLastUpdated()` + +UnsetLastUpdated ensures that no value is present for LastUpdated, 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/PowerPortTemplateRequest.md b/docs/PowerPortTemplateRequest.md index 7c113cd12..30f81cd0b 100644 --- a/docs/PowerPortTemplateRequest.md +++ b/docs/PowerPortTemplateRequest.md @@ -4,7 +4,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**DeviceType** | Pointer to [**NullableBriefDeviceTypeRequest**](BriefDeviceTypeRequest.md) | | [optional] +**ModuleType** | Pointer to [**NullableBriefModuleTypeRequest**](BriefModuleTypeRequest.md) | | [optional] **Name** | **string** | {module} is accepted as a substitution for the module bay position when attached to a module type. | +**Label** | Pointer to **string** | Physical label | [optional] +**Type** | Pointer to [**NullablePowerPortRequestType**](PowerPortRequestType.md) | | [optional] +**MaximumDraw** | Pointer to **NullableInt32** | Maximum power draw (watts) | [optional] +**AllocatedDraw** | Pointer to **NullableInt32** | Allocated power draw (watts) | [optional] **Description** | Pointer to **string** | | [optional] ## Methods @@ -26,6 +32,76 @@ NewPowerPortTemplateRequestWithDefaults instantiates a new PowerPortTemplateRequ This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set +### GetDeviceType + +`func (o *PowerPortTemplateRequest) GetDeviceType() BriefDeviceTypeRequest` + +GetDeviceType returns the DeviceType field if non-nil, zero value otherwise. + +### GetDeviceTypeOk + +`func (o *PowerPortTemplateRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool)` + +GetDeviceTypeOk returns a tuple with the DeviceType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDeviceType + +`func (o *PowerPortTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest)` + +SetDeviceType sets DeviceType field to given value. + +### HasDeviceType + +`func (o *PowerPortTemplateRequest) HasDeviceType() bool` + +HasDeviceType returns a boolean if a field has been set. + +### SetDeviceTypeNil + +`func (o *PowerPortTemplateRequest) SetDeviceTypeNil(b bool)` + + SetDeviceTypeNil sets the value for DeviceType to be an explicit nil + +### UnsetDeviceType +`func (o *PowerPortTemplateRequest) UnsetDeviceType()` + +UnsetDeviceType ensures that no value is present for DeviceType, not even an explicit nil +### GetModuleType + +`func (o *PowerPortTemplateRequest) GetModuleType() BriefModuleTypeRequest` + +GetModuleType returns the ModuleType field if non-nil, zero value otherwise. + +### GetModuleTypeOk + +`func (o *PowerPortTemplateRequest) GetModuleTypeOk() (*BriefModuleTypeRequest, bool)` + +GetModuleTypeOk returns a tuple with the ModuleType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetModuleType + +`func (o *PowerPortTemplateRequest) SetModuleType(v BriefModuleTypeRequest)` + +SetModuleType sets ModuleType field to given value. + +### HasModuleType + +`func (o *PowerPortTemplateRequest) HasModuleType() bool` + +HasModuleType returns a boolean if a field has been set. + +### SetModuleTypeNil + +`func (o *PowerPortTemplateRequest) SetModuleTypeNil(b bool)` + + SetModuleTypeNil sets the value for ModuleType to be an explicit nil + +### UnsetModuleType +`func (o *PowerPortTemplateRequest) UnsetModuleType()` + +UnsetModuleType ensures that no value is present for ModuleType, not even an explicit nil ### GetName `func (o *PowerPortTemplateRequest) GetName() string` @@ -46,6 +122,136 @@ and a boolean to check if the value has been set. SetName sets Name field to given value. +### GetLabel + +`func (o *PowerPortTemplateRequest) GetLabel() string` + +GetLabel returns the Label field if non-nil, zero value otherwise. + +### GetLabelOk + +`func (o *PowerPortTemplateRequest) GetLabelOk() (*string, 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 *PowerPortTemplateRequest) SetLabel(v string)` + +SetLabel sets Label field to given value. + +### HasLabel + +`func (o *PowerPortTemplateRequest) HasLabel() bool` + +HasLabel returns a boolean if a field has been set. + +### GetType + +`func (o *PowerPortTemplateRequest) GetType() PowerPortRequestType` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *PowerPortTemplateRequest) GetTypeOk() (*PowerPortRequestType, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *PowerPortTemplateRequest) SetType(v PowerPortRequestType)` + +SetType sets Type field to given value. + +### HasType + +`func (o *PowerPortTemplateRequest) HasType() bool` + +HasType returns a boolean if a field has been set. + +### SetTypeNil + +`func (o *PowerPortTemplateRequest) SetTypeNil(b bool)` + + SetTypeNil sets the value for Type to be an explicit nil + +### UnsetType +`func (o *PowerPortTemplateRequest) UnsetType()` + +UnsetType ensures that no value is present for Type, not even an explicit nil +### GetMaximumDraw + +`func (o *PowerPortTemplateRequest) GetMaximumDraw() int32` + +GetMaximumDraw returns the MaximumDraw field if non-nil, zero value otherwise. + +### GetMaximumDrawOk + +`func (o *PowerPortTemplateRequest) GetMaximumDrawOk() (*int32, bool)` + +GetMaximumDrawOk returns a tuple with the MaximumDraw field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaximumDraw + +`func (o *PowerPortTemplateRequest) SetMaximumDraw(v int32)` + +SetMaximumDraw sets MaximumDraw field to given value. + +### HasMaximumDraw + +`func (o *PowerPortTemplateRequest) HasMaximumDraw() bool` + +HasMaximumDraw returns a boolean if a field has been set. + +### SetMaximumDrawNil + +`func (o *PowerPortTemplateRequest) SetMaximumDrawNil(b bool)` + + SetMaximumDrawNil sets the value for MaximumDraw to be an explicit nil + +### UnsetMaximumDraw +`func (o *PowerPortTemplateRequest) UnsetMaximumDraw()` + +UnsetMaximumDraw ensures that no value is present for MaximumDraw, not even an explicit nil +### GetAllocatedDraw + +`func (o *PowerPortTemplateRequest) GetAllocatedDraw() int32` + +GetAllocatedDraw returns the AllocatedDraw field if non-nil, zero value otherwise. + +### GetAllocatedDrawOk + +`func (o *PowerPortTemplateRequest) GetAllocatedDrawOk() (*int32, bool)` + +GetAllocatedDrawOk returns a tuple with the AllocatedDraw field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAllocatedDraw + +`func (o *PowerPortTemplateRequest) SetAllocatedDraw(v int32)` + +SetAllocatedDraw sets AllocatedDraw field to given value. + +### HasAllocatedDraw + +`func (o *PowerPortTemplateRequest) HasAllocatedDraw() bool` + +HasAllocatedDraw returns a boolean if a field has been set. + +### SetAllocatedDrawNil + +`func (o *PowerPortTemplateRequest) SetAllocatedDrawNil(b bool)` + + SetAllocatedDrawNil sets the value for AllocatedDraw to be an explicit nil + +### UnsetAllocatedDraw +`func (o *PowerPortTemplateRequest) UnsetAllocatedDraw()` + +UnsetAllocatedDraw ensures that no value is present for AllocatedDraw, not even an explicit nil ### GetDescription `func (o *PowerPortTemplateRequest) GetDescription() string` diff --git a/docs/PowerPortType.md b/docs/PowerPortType.md new file mode 100644 index 000000000..c982432ff --- /dev/null +++ b/docs/PowerPortType.md @@ -0,0 +1,82 @@ +# PowerPortType + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Value** | Pointer to [**PatchedWritablePowerPortTemplateRequestType**](PatchedWritablePowerPortTemplateRequestType.md) | | [optional] +**Label** | Pointer to [**PowerPortTypeLabel**](PowerPortTypeLabel.md) | | [optional] + +## Methods + +### NewPowerPortType + +`func NewPowerPortType() *PowerPortType` + +NewPowerPortType instantiates a new PowerPortType object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPowerPortTypeWithDefaults + +`func NewPowerPortTypeWithDefaults() *PowerPortType` + +NewPowerPortTypeWithDefaults instantiates a new PowerPortType object +This 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 *PowerPortType) GetValue() PatchedWritablePowerPortTemplateRequestType` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *PowerPortType) GetValueOk() (*PatchedWritablePowerPortTemplateRequestType, 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 *PowerPortType) SetValue(v PatchedWritablePowerPortTemplateRequestType)` + +SetValue sets Value field to given value. + +### HasValue + +`func (o *PowerPortType) HasValue() bool` + +HasValue returns a boolean if a field has been set. + +### GetLabel + +`func (o *PowerPortType) GetLabel() PowerPortTypeLabel` + +GetLabel returns the Label field if non-nil, zero value otherwise. + +### GetLabelOk + +`func (o *PowerPortType) GetLabelOk() (*PowerPortTypeLabel, 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 *PowerPortType) SetLabel(v PowerPortTypeLabel)` + +SetLabel sets Label field to given value. + +### HasLabel + +`func (o *PowerPortType) 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/PowerPortTypeLabel.md b/docs/PowerPortTypeLabel.md new file mode 100644 index 000000000..561079ab0 --- /dev/null +++ b/docs/PowerPortTypeLabel.md @@ -0,0 +1,217 @@ +# PowerPortTypeLabel + +## Enum + + +* `C6` (value: `"C6"`) + +* `C8` (value: `"C8"`) + +* `C14` (value: `"C14"`) + +* `C16` (value: `"C16"`) + +* `C20` (value: `"C20"`) + +* `C22` (value: `"C22"`) + +* `PNE_4_H` (value: `"P+N+E 4H"`) + +* `PNE_6_H` (value: `"P+N+E 6H"`) + +* `PNE_9_H` (value: `"P+N+E 9H"`) + +* `_2_PE_4_H` (value: `"2P+E 4H"`) + +* `_2_PE_6_H` (value: `"2P+E 6H"`) + +* `_2_PE_9_H` (value: `"2P+E 9H"`) + +* `_3_PE_4_H` (value: `"3P+E 4H"`) + +* `_3_PE_6_H` (value: `"3P+E 6H"`) + +* `_3_PE_9_H` (value: `"3P+E 9H"`) + +* `_3_PNE_4_H` (value: `"3P+N+E 4H"`) + +* `_3_PNE_6_H` (value: `"3P+N+E 6H"`) + +* `_3_PNE_9_H` (value: `"3P+N+E 9H"`) + +* `IEC_60906_1` (value: `"IEC 60906-1"`) + +* `_2_PT_10_A__NBR_14136` (value: `"2P+T 10A (NBR 14136)"`) + +* `_2_PT_20_A__NBR_14136` (value: `"2P+T 20A (NBR 14136)"`) + +* `NEMA_1_15_P` (value: `"NEMA 1-15P"`) + +* `NEMA_5_15_P` (value: `"NEMA 5-15P"`) + +* `NEMA_5_20_P` (value: `"NEMA 5-20P"`) + +* `NEMA_5_30_P` (value: `"NEMA 5-30P"`) + +* `NEMA_5_50_P` (value: `"NEMA 5-50P"`) + +* `NEMA_6_15_P` (value: `"NEMA 6-15P"`) + +* `NEMA_6_20_P` (value: `"NEMA 6-20P"`) + +* `NEMA_6_30_P` (value: `"NEMA 6-30P"`) + +* `NEMA_6_50_P` (value: `"NEMA 6-50P"`) + +* `NEMA_10_30_P` (value: `"NEMA 10-30P"`) + +* `NEMA_10_50_P` (value: `"NEMA 10-50P"`) + +* `NEMA_14_20_P` (value: `"NEMA 14-20P"`) + +* `NEMA_14_30_P` (value: `"NEMA 14-30P"`) + +* `NEMA_14_50_P` (value: `"NEMA 14-50P"`) + +* `NEMA_14_60_P` (value: `"NEMA 14-60P"`) + +* `NEMA_15_15_P` (value: `"NEMA 15-15P"`) + +* `NEMA_15_20_P` (value: `"NEMA 15-20P"`) + +* `NEMA_15_30_P` (value: `"NEMA 15-30P"`) + +* `NEMA_15_50_P` (value: `"NEMA 15-50P"`) + +* `NEMA_15_60_P` (value: `"NEMA 15-60P"`) + +* `NEMA_L1_15_P` (value: `"NEMA L1-15P"`) + +* `NEMA_L5_15_P` (value: `"NEMA L5-15P"`) + +* `NEMA_L5_20_P` (value: `"NEMA L5-20P"`) + +* `NEMA_L5_30_P` (value: `"NEMA L5-30P"`) + +* `NEMA_L5_50_P` (value: `"NEMA L5-50P"`) + +* `NEMA_L6_15_P` (value: `"NEMA L6-15P"`) + +* `NEMA_L6_20_P` (value: `"NEMA L6-20P"`) + +* `NEMA_L6_30_P` (value: `"NEMA L6-30P"`) + +* `NEMA_L6_50_P` (value: `"NEMA L6-50P"`) + +* `NEMA_L10_30_P` (value: `"NEMA L10-30P"`) + +* `NEMA_L14_20_P` (value: `"NEMA L14-20P"`) + +* `NEMA_L14_30_P` (value: `"NEMA L14-30P"`) + +* `NEMA_L14_50_P` (value: `"NEMA L14-50P"`) + +* `NEMA_L14_60_P` (value: `"NEMA L14-60P"`) + +* `NEMA_L15_20_P` (value: `"NEMA L15-20P"`) + +* `NEMA_L15_30_P` (value: `"NEMA L15-30P"`) + +* `NEMA_L15_50_P` (value: `"NEMA L15-50P"`) + +* `NEMA_L15_60_P` (value: `"NEMA L15-60P"`) + +* `NEMA_L21_20_P` (value: `"NEMA L21-20P"`) + +* `NEMA_L21_30_P` (value: `"NEMA L21-30P"`) + +* `NEMA_L22_20_P` (value: `"NEMA L22-20P"`) + +* `NEMA_L22_30_P` (value: `"NEMA L22-30P"`) + +* `CS6361_C` (value: `"CS6361C"`) + +* `CS6365_C` (value: `"CS6365C"`) + +* `CS8165_C` (value: `"CS8165C"`) + +* `CS8265_C` (value: `"CS8265C"`) + +* `CS8365_C` (value: `"CS8365C"`) + +* `CS8465_C` (value: `"CS8465C"`) + +* `ITA_TYPE_C__CEE_7_16` (value: `"ITA Type C (CEE 7/16)"`) + +* `ITA_TYPE_E__CEE_7_6` (value: `"ITA Type E (CEE 7/6)"`) + +* `ITA_TYPE_F__CEE_7_4` (value: `"ITA Type F (CEE 7/4)"`) + +* `ITA_TYPE_E_F__CEE_7_7` (value: `"ITA Type E/F (CEE 7/7)"`) + +* `ITA_TYPE_G__BS_1363` (value: `"ITA Type G (BS 1363)"`) + +* `ITA_TYPE_H` (value: `"ITA Type H"`) + +* `ITA_TYPE_I` (value: `"ITA Type I"`) + +* `ITA_TYPE_J` (value: `"ITA Type J"`) + +* `ITA_TYPE_K` (value: `"ITA Type K"`) + +* `ITA_TYPE_L__CEI_23_50` (value: `"ITA Type L (CEI 23-50)"`) + +* `ITA_TYPE_M__BS_546` (value: `"ITA Type M (BS 546)"`) + +* `ITA_TYPE_N` (value: `"ITA Type N"`) + +* `ITA_TYPE_O` (value: `"ITA Type O"`) + +* `USB_TYPE_A` (value: `"USB Type A"`) + +* `USB_TYPE_B` (value: `"USB Type B"`) + +* `USB_TYPE_C` (value: `"USB Type 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_0_TYPE_B` (value: `"USB 3.0 Type B"`) + +* `USB_3_0_MICRO_B` (value: `"USB 3.0 Micro B"`) + +* `MOLEX_MICRO_FIT_1X2` (value: `"Molex Micro-Fit 1x2"`) + +* `MOLEX_MICRO_FIT_2X2` (value: `"Molex Micro-Fit 2x2"`) + +* `MOLEX_MICRO_FIT_2X4` (value: `"Molex Micro-Fit 2x4"`) + +* `DC_TERMINAL` (value: `"DC Terminal"`) + +* `SAF_D_GRID` (value: `"Saf-D-Grid"`) + +* `NEUTRIK_POWER_CON__20_A` (value: `"Neutrik powerCON (20A)"`) + +* `NEUTRIK_POWER_CON__32_A` (value: `"Neutrik powerCON (32A)"`) + +* `NEUTRIK_POWER_CON_TRUE1` (value: `"Neutrik powerCON TRUE1"`) + +* `NEUTRIK_POWER_CON_TRUE1_TOP` (value: `"Neutrik powerCON TRUE1 TOP"`) + +* `UBIQUITI_SMART_POWER` (value: `"Ubiquiti SmartPower"`) + +* `HARDWIRED` (value: `"Hardwired"`) + +* `OTHER` (value: `"Other"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/Prefix.md b/docs/Prefix.md index b1b6821a6..7f65312b0 100644 --- a/docs/Prefix.md +++ b/docs/Prefix.md @@ -6,15 +6,16 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Family** | [**AggregateFamily**](AggregateFamily.md) | | **Prefix** | **string** | | -**Site** | Pointer to [**NullableSite**](Site.md) | | [optional] -**Vrf** | Pointer to [**NullableVRF**](VRF.md) | | [optional] -**Tenant** | Pointer to [**NullableTenant**](Tenant.md) | | [optional] -**Vlan** | Pointer to [**NullableVLAN**](VLAN.md) | | [optional] +**Site** | Pointer to [**NullableBriefSite**](BriefSite.md) | | [optional] +**Vrf** | Pointer to [**NullableBriefVRF**](BriefVRF.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenant**](BriefTenant.md) | | [optional] +**Vlan** | Pointer to [**NullableBriefVLAN**](BriefVLAN.md) | | [optional] **Status** | Pointer to [**PrefixStatus**](PrefixStatus.md) | | [optional] -**Role** | Pointer to [**NullableRole**](Role.md) | | [optional] +**Role** | Pointer to [**NullableBriefRole**](BriefRole.md) | | [optional] **IsPool** | Pointer to **bool** | All IP addresses within this prefix are considered usable | [optional] **MarkUtilized** | Pointer to **bool** | Treat as fully utilized | [optional] **Description** | Pointer to **string** | | [optional] @@ -85,6 +86,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *Prefix) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *Prefix) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *Prefix) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *Prefix) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *Prefix) GetDisplay() string` @@ -147,20 +173,20 @@ SetPrefix sets Prefix field to given value. ### GetSite -`func (o *Prefix) GetSite() Site` +`func (o *Prefix) GetSite() BriefSite` GetSite returns the Site field if non-nil, zero value otherwise. ### GetSiteOk -`func (o *Prefix) GetSiteOk() (*Site, bool)` +`func (o *Prefix) GetSiteOk() (*BriefSite, bool)` GetSiteOk returns a tuple with the Site field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSite -`func (o *Prefix) SetSite(v Site)` +`func (o *Prefix) SetSite(v BriefSite)` SetSite sets Site field to given value. @@ -182,20 +208,20 @@ HasSite returns a boolean if a field has been set. UnsetSite ensures that no value is present for Site, not even an explicit nil ### GetVrf -`func (o *Prefix) GetVrf() VRF` +`func (o *Prefix) GetVrf() BriefVRF` GetVrf returns the Vrf field if non-nil, zero value otherwise. ### GetVrfOk -`func (o *Prefix) GetVrfOk() (*VRF, bool)` +`func (o *Prefix) GetVrfOk() (*BriefVRF, bool)` GetVrfOk returns a tuple with the Vrf field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVrf -`func (o *Prefix) SetVrf(v VRF)` +`func (o *Prefix) SetVrf(v BriefVRF)` SetVrf sets Vrf field to given value. @@ -217,20 +243,20 @@ HasVrf returns a boolean if a field has been set. UnsetVrf ensures that no value is present for Vrf, not even an explicit nil ### GetTenant -`func (o *Prefix) GetTenant() Tenant` +`func (o *Prefix) GetTenant() BriefTenant` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *Prefix) GetTenantOk() (*Tenant, bool)` +`func (o *Prefix) GetTenantOk() (*BriefTenant, 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 *Prefix) SetTenant(v Tenant)` +`func (o *Prefix) SetTenant(v BriefTenant)` SetTenant sets Tenant field to given value. @@ -252,20 +278,20 @@ HasTenant returns a boolean if a field has been set. UnsetTenant ensures that no value is present for Tenant, not even an explicit nil ### GetVlan -`func (o *Prefix) GetVlan() VLAN` +`func (o *Prefix) GetVlan() BriefVLAN` GetVlan returns the Vlan field if non-nil, zero value otherwise. ### GetVlanOk -`func (o *Prefix) GetVlanOk() (*VLAN, bool)` +`func (o *Prefix) GetVlanOk() (*BriefVLAN, 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 *Prefix) SetVlan(v VLAN)` +`func (o *Prefix) SetVlan(v BriefVLAN)` SetVlan sets Vlan field to given value. @@ -312,20 +338,20 @@ HasStatus returns a boolean if a field has been set. ### GetRole -`func (o *Prefix) GetRole() Role` +`func (o *Prefix) GetRole() BriefRole` GetRole returns the Role field if non-nil, zero value otherwise. ### GetRoleOk -`func (o *Prefix) GetRoleOk() (*Role, bool)` +`func (o *Prefix) GetRoleOk() (*BriefRole, 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 *Prefix) SetRole(v Role)` +`func (o *Prefix) SetRole(v BriefRole)` SetRole sets Role field to given value. diff --git a/docs/PrefixRequest.md b/docs/PrefixRequest.md index ae1f2006b..9f8079465 100644 --- a/docs/PrefixRequest.md +++ b/docs/PrefixRequest.md @@ -5,12 +5,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Prefix** | **string** | | -**Site** | Pointer to [**NullableSiteRequest**](SiteRequest.md) | | [optional] -**Vrf** | Pointer to [**NullableVRFRequest**](VRFRequest.md) | | [optional] -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] -**Vlan** | Pointer to [**NullableVLANRequest**](VLANRequest.md) | | [optional] +**Site** | Pointer to [**NullableBriefSiteRequest**](BriefSiteRequest.md) | | [optional] +**Vrf** | Pointer to [**NullableBriefVRFRequest**](BriefVRFRequest.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] +**Vlan** | Pointer to [**NullableBriefVLANRequest**](BriefVLANRequest.md) | | [optional] **Status** | Pointer to [**PrefixStatusValue**](PrefixStatusValue.md) | | [optional] -**Role** | Pointer to [**NullableRoleRequest**](RoleRequest.md) | | [optional] +**Role** | Pointer to [**NullableBriefRoleRequest**](BriefRoleRequest.md) | | [optional] **IsPool** | Pointer to **bool** | All IP addresses within this prefix are considered usable | [optional] **MarkUtilized** | Pointer to **bool** | Treat as fully utilized | [optional] **Description** | Pointer to **string** | | [optional] @@ -59,20 +59,20 @@ SetPrefix sets Prefix field to given value. ### GetSite -`func (o *PrefixRequest) GetSite() SiteRequest` +`func (o *PrefixRequest) GetSite() BriefSiteRequest` GetSite returns the Site field if non-nil, zero value otherwise. ### GetSiteOk -`func (o *PrefixRequest) GetSiteOk() (*SiteRequest, bool)` +`func (o *PrefixRequest) GetSiteOk() (*BriefSiteRequest, bool)` GetSiteOk returns a tuple with the Site field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSite -`func (o *PrefixRequest) SetSite(v SiteRequest)` +`func (o *PrefixRequest) SetSite(v BriefSiteRequest)` SetSite sets Site field to given value. @@ -94,20 +94,20 @@ HasSite returns a boolean if a field has been set. UnsetSite ensures that no value is present for Site, not even an explicit nil ### GetVrf -`func (o *PrefixRequest) GetVrf() VRFRequest` +`func (o *PrefixRequest) GetVrf() BriefVRFRequest` GetVrf returns the Vrf field if non-nil, zero value otherwise. ### GetVrfOk -`func (o *PrefixRequest) GetVrfOk() (*VRFRequest, bool)` +`func (o *PrefixRequest) GetVrfOk() (*BriefVRFRequest, bool)` GetVrfOk returns a tuple with the Vrf field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVrf -`func (o *PrefixRequest) SetVrf(v VRFRequest)` +`func (o *PrefixRequest) SetVrf(v BriefVRFRequest)` SetVrf sets Vrf field to given value. @@ -129,20 +129,20 @@ HasVrf returns a boolean if a field has been set. UnsetVrf ensures that no value is present for Vrf, not even an explicit nil ### GetTenant -`func (o *PrefixRequest) GetTenant() TenantRequest` +`func (o *PrefixRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *PrefixRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *PrefixRequest) GetTenantOk() (*BriefTenantRequest, 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 *PrefixRequest) SetTenant(v TenantRequest)` +`func (o *PrefixRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. @@ -164,20 +164,20 @@ HasTenant returns a boolean if a field has been set. UnsetTenant ensures that no value is present for Tenant, not even an explicit nil ### GetVlan -`func (o *PrefixRequest) GetVlan() VLANRequest` +`func (o *PrefixRequest) GetVlan() BriefVLANRequest` GetVlan returns the Vlan field if non-nil, zero value otherwise. ### GetVlanOk -`func (o *PrefixRequest) GetVlanOk() (*VLANRequest, bool)` +`func (o *PrefixRequest) GetVlanOk() (*BriefVLANRequest, 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 *PrefixRequest) SetVlan(v VLANRequest)` +`func (o *PrefixRequest) SetVlan(v BriefVLANRequest)` SetVlan sets Vlan field to given value. @@ -224,20 +224,20 @@ HasStatus returns a boolean if a field has been set. ### GetRole -`func (o *PrefixRequest) GetRole() RoleRequest` +`func (o *PrefixRequest) GetRole() BriefRoleRequest` GetRole returns the Role field if non-nil, zero value otherwise. ### GetRoleOk -`func (o *PrefixRequest) GetRoleOk() (*RoleRequest, bool)` +`func (o *PrefixRequest) GetRoleOk() (*BriefRoleRequest, 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 *PrefixRequest) SetRole(v RoleRequest)` +`func (o *PrefixRequest) SetRole(v BriefRoleRequest)` SetRole sets Role field to given value. diff --git a/docs/Provider.md b/docs/Provider.md index 16fd7e5df..48103a771 100644 --- a/docs/Provider.md +++ b/docs/Provider.md @@ -6,17 +6,25 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Name** | **string** | Full name of the provider | **Slug** | **string** | | +**Accounts** | Pointer to [**[]NestedProviderAccount**](NestedProviderAccount.md) | | [optional] **Description** | Pointer to **string** | | [optional] +**Comments** | Pointer to **string** | | [optional] +**Asns** | Pointer to [**[]ASN**](ASN.md) | | [optional] +**Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] +**Created** | **NullableTime** | | [readonly] +**LastUpdated** | **NullableTime** | | [readonly] **CircuitCount** | **int64** | | [readonly] ## Methods ### NewProvider -`func NewProvider(id int32, url string, display string, name string, slug string, circuitCount int64, ) *Provider` +`func NewProvider(id int32, url string, display string, name string, slug string, created NullableTime, lastUpdated NullableTime, circuitCount int64, ) *Provider` NewProvider instantiates a new Provider object This constructor will assign default values to properties that have it defined, @@ -71,6 +79,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *Provider) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *Provider) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *Provider) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *Provider) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *Provider) GetDisplay() string` @@ -131,6 +164,31 @@ and a boolean to check if the value has been set. SetSlug sets Slug field to given value. +### GetAccounts + +`func (o *Provider) GetAccounts() []NestedProviderAccount` + +GetAccounts returns the Accounts field if non-nil, zero value otherwise. + +### GetAccountsOk + +`func (o *Provider) GetAccountsOk() (*[]NestedProviderAccount, bool)` + +GetAccountsOk returns a tuple with the Accounts field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAccounts + +`func (o *Provider) SetAccounts(v []NestedProviderAccount)` + +SetAccounts sets Accounts field to given value. + +### HasAccounts + +`func (o *Provider) HasAccounts() bool` + +HasAccounts returns a boolean if a field has been set. + ### GetDescription `func (o *Provider) GetDescription() string` @@ -156,6 +214,166 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetComments + +`func (o *Provider) GetComments() string` + +GetComments returns the Comments field if non-nil, zero value otherwise. + +### GetCommentsOk + +`func (o *Provider) GetCommentsOk() (*string, bool)` + +GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComments + +`func (o *Provider) SetComments(v string)` + +SetComments sets Comments field to given value. + +### HasComments + +`func (o *Provider) HasComments() bool` + +HasComments returns a boolean if a field has been set. + +### GetAsns + +`func (o *Provider) GetAsns() []ASN` + +GetAsns returns the Asns field if non-nil, zero value otherwise. + +### GetAsnsOk + +`func (o *Provider) GetAsnsOk() (*[]ASN, bool)` + +GetAsnsOk returns a tuple with the Asns field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAsns + +`func (o *Provider) SetAsns(v []ASN)` + +SetAsns sets Asns field to given value. + +### HasAsns + +`func (o *Provider) HasAsns() bool` + +HasAsns returns a boolean if a field has been set. + +### GetTags + +`func (o *Provider) GetTags() []NestedTag` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *Provider) GetTagsOk() (*[]NestedTag, 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 *Provider) SetTags(v []NestedTag)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *Provider) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *Provider) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *Provider) 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 *Provider) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *Provider) HasCustomFields() bool` + +HasCustomFields returns a boolean if a field has been set. + +### GetCreated + +`func (o *Provider) GetCreated() time.Time` + +GetCreated returns the Created field if non-nil, zero value otherwise. + +### GetCreatedOk + +`func (o *Provider) 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 *Provider) SetCreated(v time.Time)` + +SetCreated sets Created field to given value. + + +### SetCreatedNil + +`func (o *Provider) SetCreatedNil(b bool)` + + SetCreatedNil sets the value for Created to be an explicit nil + +### UnsetCreated +`func (o *Provider) UnsetCreated()` + +UnsetCreated ensures that no value is present for Created, not even an explicit nil +### GetLastUpdated + +`func (o *Provider) GetLastUpdated() time.Time` + +GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise. + +### GetLastUpdatedOk + +`func (o *Provider) 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 *Provider) SetLastUpdated(v time.Time)` + +SetLastUpdated sets LastUpdated field to given value. + + +### SetLastUpdatedNil + +`func (o *Provider) SetLastUpdatedNil(b bool)` + + SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil + +### UnsetLastUpdated +`func (o *Provider) UnsetLastUpdated()` + +UnsetLastUpdated ensures that no value is present for LastUpdated, not even an explicit nil ### GetCircuitCount `func (o *Provider) GetCircuitCount() int64` diff --git a/docs/ProviderAccount.md b/docs/ProviderAccount.md index aac9f2198..ffde42fc0 100644 --- a/docs/ProviderAccount.md +++ b/docs/ProviderAccount.md @@ -6,8 +6,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] -**Provider** | [**Provider**](Provider.md) | | +**Provider** | [**BriefProvider**](BriefProvider.md) | | **Name** | Pointer to **string** | | [optional] [default to ""] **Account** | **string** | | **Description** | Pointer to **string** | | [optional] @@ -21,7 +22,7 @@ Name | Type | Description | Notes ### NewProviderAccount -`func NewProviderAccount(id int32, url string, display string, provider Provider, account string, created NullableTime, lastUpdated NullableTime, ) *ProviderAccount` +`func NewProviderAccount(id int32, url string, display string, provider BriefProvider, account string, created NullableTime, lastUpdated NullableTime, ) *ProviderAccount` NewProviderAccount instantiates a new ProviderAccount object This constructor will assign default values to properties that have it defined, @@ -76,6 +77,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *ProviderAccount) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *ProviderAccount) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *ProviderAccount) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *ProviderAccount) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *ProviderAccount) GetDisplay() string` @@ -98,20 +124,20 @@ SetDisplay sets Display field to given value. ### GetProvider -`func (o *ProviderAccount) GetProvider() Provider` +`func (o *ProviderAccount) GetProvider() BriefProvider` GetProvider returns the Provider field if non-nil, zero value otherwise. ### GetProviderOk -`func (o *ProviderAccount) GetProviderOk() (*Provider, bool)` +`func (o *ProviderAccount) GetProviderOk() (*BriefProvider, bool)` GetProviderOk returns a tuple with the Provider field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetProvider -`func (o *ProviderAccount) SetProvider(v Provider)` +`func (o *ProviderAccount) SetProvider(v BriefProvider)` SetProvider sets Provider field to given value. diff --git a/docs/ProviderAccountRequest.md b/docs/ProviderAccountRequest.md index 73ff7c78b..bf38cf07e 100644 --- a/docs/ProviderAccountRequest.md +++ b/docs/ProviderAccountRequest.md @@ -4,15 +4,19 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Provider** | [**BriefProviderRequest**](BriefProviderRequest.md) | | **Name** | Pointer to **string** | | [optional] [default to ""] **Account** | **string** | | **Description** | Pointer to **string** | | [optional] +**Comments** | Pointer to **string** | | [optional] +**Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] ## Methods ### NewProviderAccountRequest -`func NewProviderAccountRequest(account string, ) *ProviderAccountRequest` +`func NewProviderAccountRequest(provider BriefProviderRequest, account string, ) *ProviderAccountRequest` NewProviderAccountRequest instantiates a new ProviderAccountRequest object This constructor will assign default values to properties that have it defined, @@ -27,6 +31,26 @@ NewProviderAccountRequestWithDefaults instantiates a new ProviderAccountRequest This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set +### GetProvider + +`func (o *ProviderAccountRequest) GetProvider() BriefProviderRequest` + +GetProvider returns the Provider field if non-nil, zero value otherwise. + +### GetProviderOk + +`func (o *ProviderAccountRequest) GetProviderOk() (*BriefProviderRequest, bool)` + +GetProviderOk returns a tuple with the Provider field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetProvider + +`func (o *ProviderAccountRequest) SetProvider(v BriefProviderRequest)` + +SetProvider sets Provider field to given value. + + ### GetName `func (o *ProviderAccountRequest) GetName() string` @@ -97,6 +121,81 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetComments + +`func (o *ProviderAccountRequest) GetComments() string` + +GetComments returns the Comments field if non-nil, zero value otherwise. + +### GetCommentsOk + +`func (o *ProviderAccountRequest) GetCommentsOk() (*string, bool)` + +GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComments + +`func (o *ProviderAccountRequest) SetComments(v string)` + +SetComments sets Comments field to given value. + +### HasComments + +`func (o *ProviderAccountRequest) HasComments() bool` + +HasComments returns a boolean if a field has been set. + +### GetTags + +`func (o *ProviderAccountRequest) GetTags() []NestedTagRequest` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *ProviderAccountRequest) GetTagsOk() (*[]NestedTagRequest, 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 *ProviderAccountRequest) SetTags(v []NestedTagRequest)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *ProviderAccountRequest) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *ProviderAccountRequest) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *ProviderAccountRequest) 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 *ProviderAccountRequest) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *ProviderAccountRequest) 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/ProviderNetwork.md b/docs/ProviderNetwork.md index de3e09373..abefe58d5 100644 --- a/docs/ProviderNetwork.md +++ b/docs/ProviderNetwork.md @@ -6,15 +6,23 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] +**Provider** | [**BriefProvider**](BriefProvider.md) | | **Name** | **string** | | +**ServiceId** | Pointer to **string** | | [optional] **Description** | Pointer to **string** | | [optional] +**Comments** | Pointer to **string** | | [optional] +**Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] +**Created** | **NullableTime** | | [readonly] +**LastUpdated** | **NullableTime** | | [readonly] ## Methods ### NewProviderNetwork -`func NewProviderNetwork(id int32, url string, display string, name string, ) *ProviderNetwork` +`func NewProviderNetwork(id int32, url string, display string, provider BriefProvider, name string, created NullableTime, lastUpdated NullableTime, ) *ProviderNetwork` NewProviderNetwork instantiates a new ProviderNetwork object This constructor will assign default values to properties that have it defined, @@ -69,6 +77,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *ProviderNetwork) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *ProviderNetwork) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *ProviderNetwork) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *ProviderNetwork) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *ProviderNetwork) GetDisplay() string` @@ -89,6 +122,26 @@ and a boolean to check if the value has been set. SetDisplay sets Display field to given value. +### GetProvider + +`func (o *ProviderNetwork) GetProvider() BriefProvider` + +GetProvider returns the Provider field if non-nil, zero value otherwise. + +### GetProviderOk + +`func (o *ProviderNetwork) GetProviderOk() (*BriefProvider, bool)` + +GetProviderOk returns a tuple with the Provider field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetProvider + +`func (o *ProviderNetwork) SetProvider(v BriefProvider)` + +SetProvider sets Provider field to given value. + + ### GetName `func (o *ProviderNetwork) GetName() string` @@ -109,6 +162,31 @@ and a boolean to check if the value has been set. SetName sets Name field to given value. +### GetServiceId + +`func (o *ProviderNetwork) GetServiceId() string` + +GetServiceId returns the ServiceId field if non-nil, zero value otherwise. + +### GetServiceIdOk + +`func (o *ProviderNetwork) GetServiceIdOk() (*string, bool)` + +GetServiceIdOk returns a tuple with the ServiceId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetServiceId + +`func (o *ProviderNetwork) SetServiceId(v string)` + +SetServiceId sets ServiceId field to given value. + +### HasServiceId + +`func (o *ProviderNetwork) HasServiceId() bool` + +HasServiceId returns a boolean if a field has been set. + ### GetDescription `func (o *ProviderNetwork) GetDescription() string` @@ -134,6 +212,141 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetComments + +`func (o *ProviderNetwork) GetComments() string` + +GetComments returns the Comments field if non-nil, zero value otherwise. + +### GetCommentsOk + +`func (o *ProviderNetwork) GetCommentsOk() (*string, bool)` + +GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComments + +`func (o *ProviderNetwork) SetComments(v string)` + +SetComments sets Comments field to given value. + +### HasComments + +`func (o *ProviderNetwork) HasComments() bool` + +HasComments returns a boolean if a field has been set. + +### GetTags + +`func (o *ProviderNetwork) GetTags() []NestedTag` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *ProviderNetwork) GetTagsOk() (*[]NestedTag, 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 *ProviderNetwork) SetTags(v []NestedTag)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *ProviderNetwork) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *ProviderNetwork) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *ProviderNetwork) 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 *ProviderNetwork) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *ProviderNetwork) HasCustomFields() bool` + +HasCustomFields returns a boolean if a field has been set. + +### GetCreated + +`func (o *ProviderNetwork) GetCreated() time.Time` + +GetCreated returns the Created field if non-nil, zero value otherwise. + +### GetCreatedOk + +`func (o *ProviderNetwork) 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 *ProviderNetwork) SetCreated(v time.Time)` + +SetCreated sets Created field to given value. + + +### SetCreatedNil + +`func (o *ProviderNetwork) SetCreatedNil(b bool)` + + SetCreatedNil sets the value for Created to be an explicit nil + +### UnsetCreated +`func (o *ProviderNetwork) UnsetCreated()` + +UnsetCreated ensures that no value is present for Created, not even an explicit nil +### GetLastUpdated + +`func (o *ProviderNetwork) GetLastUpdated() time.Time` + +GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise. + +### GetLastUpdatedOk + +`func (o *ProviderNetwork) 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 *ProviderNetwork) SetLastUpdated(v time.Time)` + +SetLastUpdated sets LastUpdated field to given value. + + +### SetLastUpdatedNil + +`func (o *ProviderNetwork) SetLastUpdatedNil(b bool)` + + SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil + +### UnsetLastUpdated +`func (o *ProviderNetwork) UnsetLastUpdated()` + +UnsetLastUpdated ensures that no value is present for LastUpdated, 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/ProviderNetworkRequest.md b/docs/ProviderNetworkRequest.md index 21f981aa6..45b2b952a 100644 --- a/docs/ProviderNetworkRequest.md +++ b/docs/ProviderNetworkRequest.md @@ -4,14 +4,19 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Provider** | [**BriefProviderRequest**](BriefProviderRequest.md) | | **Name** | **string** | | +**ServiceId** | Pointer to **string** | | [optional] **Description** | Pointer to **string** | | [optional] +**Comments** | Pointer to **string** | | [optional] +**Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] ## Methods ### NewProviderNetworkRequest -`func NewProviderNetworkRequest(name string, ) *ProviderNetworkRequest` +`func NewProviderNetworkRequest(provider BriefProviderRequest, name string, ) *ProviderNetworkRequest` NewProviderNetworkRequest instantiates a new ProviderNetworkRequest object This constructor will assign default values to properties that have it defined, @@ -26,6 +31,26 @@ 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 +### GetProvider + +`func (o *ProviderNetworkRequest) GetProvider() BriefProviderRequest` + +GetProvider returns the Provider field if non-nil, zero value otherwise. + +### GetProviderOk + +`func (o *ProviderNetworkRequest) GetProviderOk() (*BriefProviderRequest, bool)` + +GetProviderOk returns a tuple with the Provider field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetProvider + +`func (o *ProviderNetworkRequest) SetProvider(v BriefProviderRequest)` + +SetProvider sets Provider field to given value. + + ### GetName `func (o *ProviderNetworkRequest) GetName() string` @@ -46,6 +71,31 @@ and a boolean to check if the value has been set. SetName sets Name field to given value. +### GetServiceId + +`func (o *ProviderNetworkRequest) GetServiceId() string` + +GetServiceId returns the ServiceId field if non-nil, zero value otherwise. + +### GetServiceIdOk + +`func (o *ProviderNetworkRequest) GetServiceIdOk() (*string, bool)` + +GetServiceIdOk returns a tuple with the ServiceId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetServiceId + +`func (o *ProviderNetworkRequest) SetServiceId(v string)` + +SetServiceId sets ServiceId field to given value. + +### HasServiceId + +`func (o *ProviderNetworkRequest) HasServiceId() bool` + +HasServiceId returns a boolean if a field has been set. + ### GetDescription `func (o *ProviderNetworkRequest) GetDescription() string` @@ -71,6 +121,81 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetComments + +`func (o *ProviderNetworkRequest) GetComments() string` + +GetComments returns the Comments field if non-nil, zero value otherwise. + +### GetCommentsOk + +`func (o *ProviderNetworkRequest) GetCommentsOk() (*string, bool)` + +GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComments + +`func (o *ProviderNetworkRequest) SetComments(v string)` + +SetComments sets Comments field to given value. + +### HasComments + +`func (o *ProviderNetworkRequest) HasComments() bool` + +HasComments returns a boolean if a field has been set. + +### GetTags + +`func (o *ProviderNetworkRequest) GetTags() []NestedTagRequest` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *ProviderNetworkRequest) GetTagsOk() (*[]NestedTagRequest, 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 *ProviderNetworkRequest) SetTags(v []NestedTagRequest)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *ProviderNetworkRequest) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *ProviderNetworkRequest) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *ProviderNetworkRequest) 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 *ProviderNetworkRequest) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *ProviderNetworkRequest) 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/ProviderRequest.md b/docs/ProviderRequest.md index a7e51837e..c03de9ce6 100644 --- a/docs/ProviderRequest.md +++ b/docs/ProviderRequest.md @@ -6,7 +6,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | **string** | Full name of the provider | **Slug** | **string** | | +**Accounts** | Pointer to **[]int32** | | [optional] **Description** | Pointer to **string** | | [optional] +**Comments** | Pointer to **string** | | [optional] +**Asns** | Pointer to **[]int32** | | [optional] +**Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] ## Methods @@ -67,6 +72,31 @@ and a boolean to check if the value has been set. SetSlug sets Slug field to given value. +### GetAccounts + +`func (o *ProviderRequest) GetAccounts() []int32` + +GetAccounts returns the Accounts field if non-nil, zero value otherwise. + +### GetAccountsOk + +`func (o *ProviderRequest) GetAccountsOk() (*[]int32, bool)` + +GetAccountsOk returns a tuple with the Accounts field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAccounts + +`func (o *ProviderRequest) SetAccounts(v []int32)` + +SetAccounts sets Accounts field to given value. + +### HasAccounts + +`func (o *ProviderRequest) HasAccounts() bool` + +HasAccounts returns a boolean if a field has been set. + ### GetDescription `func (o *ProviderRequest) GetDescription() string` @@ -92,6 +122,106 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetComments + +`func (o *ProviderRequest) GetComments() string` + +GetComments returns the Comments field if non-nil, zero value otherwise. + +### GetCommentsOk + +`func (o *ProviderRequest) GetCommentsOk() (*string, bool)` + +GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComments + +`func (o *ProviderRequest) SetComments(v string)` + +SetComments sets Comments field to given value. + +### HasComments + +`func (o *ProviderRequest) HasComments() bool` + +HasComments returns a boolean if a field has been set. + +### GetAsns + +`func (o *ProviderRequest) GetAsns() []int32` + +GetAsns returns the Asns field if non-nil, zero value otherwise. + +### GetAsnsOk + +`func (o *ProviderRequest) GetAsnsOk() (*[]int32, bool)` + +GetAsnsOk returns a tuple with the Asns field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAsns + +`func (o *ProviderRequest) SetAsns(v []int32)` + +SetAsns sets Asns field to given value. + +### HasAsns + +`func (o *ProviderRequest) HasAsns() bool` + +HasAsns returns a boolean if a field has been set. + +### GetTags + +`func (o *ProviderRequest) GetTags() []NestedTagRequest` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *ProviderRequest) GetTagsOk() (*[]NestedTagRequest, 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 *ProviderRequest) SetTags(v []NestedTagRequest)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *ProviderRequest) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *ProviderRequest) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *ProviderRequest) 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 *ProviderRequest) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *ProviderRequest) 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/RIR.md b/docs/RIR.md index 2c027c73a..251d2b544 100644 --- a/docs/RIR.md +++ b/docs/RIR.md @@ -6,17 +6,23 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Name** | **string** | | **Slug** | **string** | | +**IsPrivate** | Pointer to **bool** | IP space managed by this RIR is considered private | [optional] **Description** | Pointer to **string** | | [optional] +**Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] +**Created** | **NullableTime** | | [readonly] +**LastUpdated** | **NullableTime** | | [readonly] **AggregateCount** | **int64** | | [readonly] ## Methods ### NewRIR -`func NewRIR(id int32, url string, display string, name string, slug string, aggregateCount int64, ) *RIR` +`func NewRIR(id int32, url string, display string, name string, slug string, created NullableTime, lastUpdated NullableTime, aggregateCount int64, ) *RIR` NewRIR instantiates a new RIR object This constructor will assign default values to properties that have it defined, @@ -71,6 +77,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *RIR) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *RIR) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *RIR) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *RIR) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *RIR) GetDisplay() string` @@ -131,6 +162,31 @@ and a boolean to check if the value has been set. SetSlug sets Slug field to given value. +### GetIsPrivate + +`func (o *RIR) GetIsPrivate() bool` + +GetIsPrivate returns the IsPrivate field if non-nil, zero value otherwise. + +### GetIsPrivateOk + +`func (o *RIR) GetIsPrivateOk() (*bool, bool)` + +GetIsPrivateOk returns a tuple with the IsPrivate field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsPrivate + +`func (o *RIR) SetIsPrivate(v bool)` + +SetIsPrivate sets IsPrivate field to given value. + +### HasIsPrivate + +`func (o *RIR) HasIsPrivate() bool` + +HasIsPrivate returns a boolean if a field has been set. + ### GetDescription `func (o *RIR) GetDescription() string` @@ -156,6 +212,116 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetTags + +`func (o *RIR) GetTags() []NestedTag` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *RIR) GetTagsOk() (*[]NestedTag, 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 *RIR) SetTags(v []NestedTag)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *RIR) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *RIR) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *RIR) 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 *RIR) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *RIR) HasCustomFields() bool` + +HasCustomFields returns a boolean if a field has been set. + +### GetCreated + +`func (o *RIR) GetCreated() time.Time` + +GetCreated returns the Created field if non-nil, zero value otherwise. + +### GetCreatedOk + +`func (o *RIR) 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 *RIR) SetCreated(v time.Time)` + +SetCreated sets Created field to given value. + + +### SetCreatedNil + +`func (o *RIR) SetCreatedNil(b bool)` + + SetCreatedNil sets the value for Created to be an explicit nil + +### UnsetCreated +`func (o *RIR) UnsetCreated()` + +UnsetCreated ensures that no value is present for Created, not even an explicit nil +### GetLastUpdated + +`func (o *RIR) GetLastUpdated() time.Time` + +GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise. + +### GetLastUpdatedOk + +`func (o *RIR) 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 *RIR) SetLastUpdated(v time.Time)` + +SetLastUpdated sets LastUpdated field to given value. + + +### SetLastUpdatedNil + +`func (o *RIR) SetLastUpdatedNil(b bool)` + + SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil + +### UnsetLastUpdated +`func (o *RIR) UnsetLastUpdated()` + +UnsetLastUpdated ensures that no value is present for LastUpdated, not even an explicit nil ### GetAggregateCount `func (o *RIR) GetAggregateCount() int64` diff --git a/docs/RIRRequest.md b/docs/RIRRequest.md index 3a102b34c..761c2570e 100644 --- a/docs/RIRRequest.md +++ b/docs/RIRRequest.md @@ -6,7 +6,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | **string** | | **Slug** | **string** | | +**IsPrivate** | Pointer to **bool** | IP space managed by this RIR is considered private | [optional] **Description** | Pointer to **string** | | [optional] +**Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] ## Methods @@ -67,6 +70,31 @@ and a boolean to check if the value has been set. SetSlug sets Slug field to given value. +### GetIsPrivate + +`func (o *RIRRequest) GetIsPrivate() bool` + +GetIsPrivate returns the IsPrivate field if non-nil, zero value otherwise. + +### GetIsPrivateOk + +`func (o *RIRRequest) GetIsPrivateOk() (*bool, bool)` + +GetIsPrivateOk returns a tuple with the IsPrivate field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsPrivate + +`func (o *RIRRequest) SetIsPrivate(v bool)` + +SetIsPrivate sets IsPrivate field to given value. + +### HasIsPrivate + +`func (o *RIRRequest) HasIsPrivate() bool` + +HasIsPrivate returns a boolean if a field has been set. + ### GetDescription `func (o *RIRRequest) GetDescription() string` @@ -92,6 +120,56 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetTags + +`func (o *RIRRequest) GetTags() []NestedTagRequest` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *RIRRequest) GetTagsOk() (*[]NestedTagRequest, 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 *RIRRequest) SetTags(v []NestedTagRequest)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *RIRRequest) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *RIRRequest) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *RIRRequest) 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 *RIRRequest) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *RIRRequest) 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/Rack.md b/docs/Rack.md index 5628a5efc..e20589b82 100644 --- a/docs/Rack.md +++ b/docs/Rack.md @@ -6,16 +6,45 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Name** | **string** | | +**FacilityId** | Pointer to **NullableString** | | [optional] +**Site** | [**BriefSite**](BriefSite.md) | | +**Location** | Pointer to [**NullableBriefLocation**](BriefLocation.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenant**](BriefTenant.md) | | [optional] +**Status** | Pointer to [**RackStatus**](RackStatus.md) | | [optional] +**Role** | Pointer to [**NullableBriefRackRole**](BriefRackRole.md) | | [optional] +**Serial** | Pointer to **string** | | [optional] +**AssetTag** | Pointer to **NullableString** | A unique tag used to identify this rack | [optional] +**RackType** | Pointer to [**NullableBriefRackType**](BriefRackType.md) | | [optional] +**FormFactor** | Pointer to [**NullableRackFormFactor**](RackFormFactor.md) | | [optional] +**Width** | Pointer to [**RackWidth**](RackWidth.md) | | [optional] +**UHeight** | Pointer to **int32** | Height in rack units | [optional] +**StartingUnit** | Pointer to **int32** | Starting unit for rack | [optional] +**Weight** | Pointer to **NullableFloat64** | | [optional] +**MaxWeight** | Pointer to **NullableInt32** | Maximum load capacity for the rack | [optional] +**WeightUnit** | Pointer to [**NullableDeviceTypeWeightUnit**](DeviceTypeWeightUnit.md) | | [optional] +**DescUnits** | Pointer to **bool** | Units are numbered top-to-bottom | [optional] +**OuterWidth** | Pointer to **NullableInt32** | Outer dimension of rack (width) | [optional] +**OuterDepth** | Pointer to **NullableInt32** | Outer dimension of rack (depth) | [optional] +**OuterUnit** | Pointer to [**NullableRackOuterUnit**](RackOuterUnit.md) | | [optional] +**MountingDepth** | Pointer to **NullableInt32** | Maximum depth of a mounted device, in millimeters. For four-post racks, this is the distance between the front and rear rails. | [optional] +**Airflow** | Pointer to [**RackAirflow**](RackAirflow.md) | | [optional] **Description** | Pointer to **string** | | [optional] -**DeviceCount** | **int64** | | [readonly] +**Comments** | Pointer to **string** | | [optional] +**Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] +**Created** | **NullableTime** | | [readonly] +**LastUpdated** | **NullableTime** | | [readonly] +**DeviceCount** | Pointer to **int64** | | [optional] [readonly] +**PowerfeedCount** | **int64** | | [readonly] ## Methods ### NewRack -`func NewRack(id int32, url string, display string, name string, deviceCount int64, ) *Rack` +`func NewRack(id int32, url string, display string, name string, site BriefSite, created NullableTime, lastUpdated NullableTime, powerfeedCount int64, ) *Rack` NewRack instantiates a new Rack object This constructor will assign default values to properties that have it defined, @@ -70,6 +99,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *Rack) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *Rack) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *Rack) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *Rack) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *Rack) GetDisplay() string` @@ -110,6 +164,691 @@ and a boolean to check if the value has been set. SetName sets Name field to given value. +### GetFacilityId + +`func (o *Rack) GetFacilityId() string` + +GetFacilityId returns the FacilityId field if non-nil, zero value otherwise. + +### GetFacilityIdOk + +`func (o *Rack) GetFacilityIdOk() (*string, bool)` + +GetFacilityIdOk returns a tuple with the FacilityId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFacilityId + +`func (o *Rack) SetFacilityId(v string)` + +SetFacilityId sets FacilityId field to given value. + +### HasFacilityId + +`func (o *Rack) HasFacilityId() bool` + +HasFacilityId returns a boolean if a field has been set. + +### SetFacilityIdNil + +`func (o *Rack) SetFacilityIdNil(b bool)` + + SetFacilityIdNil sets the value for FacilityId to be an explicit nil + +### UnsetFacilityId +`func (o *Rack) UnsetFacilityId()` + +UnsetFacilityId ensures that no value is present for FacilityId, not even an explicit nil +### GetSite + +`func (o *Rack) GetSite() BriefSite` + +GetSite returns the Site field if non-nil, zero value otherwise. + +### GetSiteOk + +`func (o *Rack) GetSiteOk() (*BriefSite, bool)` + +GetSiteOk returns a tuple with the Site field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSite + +`func (o *Rack) SetSite(v BriefSite)` + +SetSite sets Site field to given value. + + +### GetLocation + +`func (o *Rack) GetLocation() BriefLocation` + +GetLocation returns the Location field if non-nil, zero value otherwise. + +### GetLocationOk + +`func (o *Rack) GetLocationOk() (*BriefLocation, 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 *Rack) SetLocation(v BriefLocation)` + +SetLocation sets Location field to given value. + +### HasLocation + +`func (o *Rack) HasLocation() bool` + +HasLocation returns a boolean if a field has been set. + +### SetLocationNil + +`func (o *Rack) SetLocationNil(b bool)` + + SetLocationNil sets the value for Location to be an explicit nil + +### UnsetLocation +`func (o *Rack) UnsetLocation()` + +UnsetLocation ensures that no value is present for Location, not even an explicit nil +### GetTenant + +`func (o *Rack) GetTenant() BriefTenant` + +GetTenant returns the Tenant field if non-nil, zero value otherwise. + +### GetTenantOk + +`func (o *Rack) GetTenantOk() (*BriefTenant, 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 *Rack) SetTenant(v BriefTenant)` + +SetTenant sets Tenant field to given value. + +### HasTenant + +`func (o *Rack) HasTenant() bool` + +HasTenant returns a boolean if a field has been set. + +### SetTenantNil + +`func (o *Rack) SetTenantNil(b bool)` + + SetTenantNil sets the value for Tenant to be an explicit nil + +### UnsetTenant +`func (o *Rack) UnsetTenant()` + +UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +### GetStatus + +`func (o *Rack) GetStatus() RackStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *Rack) GetStatusOk() (*RackStatus, 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 *Rack) SetStatus(v RackStatus)` + +SetStatus sets Status field to given value. + +### HasStatus + +`func (o *Rack) HasStatus() bool` + +HasStatus returns a boolean if a field has been set. + +### GetRole + +`func (o *Rack) GetRole() BriefRackRole` + +GetRole returns the Role field if non-nil, zero value otherwise. + +### GetRoleOk + +`func (o *Rack) GetRoleOk() (*BriefRackRole, 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 *Rack) SetRole(v BriefRackRole)` + +SetRole sets Role field to given value. + +### HasRole + +`func (o *Rack) HasRole() bool` + +HasRole returns a boolean if a field has been set. + +### SetRoleNil + +`func (o *Rack) SetRoleNil(b bool)` + + SetRoleNil sets the value for Role to be an explicit nil + +### UnsetRole +`func (o *Rack) UnsetRole()` + +UnsetRole ensures that no value is present for Role, not even an explicit nil +### GetSerial + +`func (o *Rack) GetSerial() string` + +GetSerial returns the Serial field if non-nil, zero value otherwise. + +### GetSerialOk + +`func (o *Rack) GetSerialOk() (*string, bool)` + +GetSerialOk returns a tuple with the Serial field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSerial + +`func (o *Rack) SetSerial(v string)` + +SetSerial sets Serial field to given value. + +### HasSerial + +`func (o *Rack) HasSerial() bool` + +HasSerial returns a boolean if a field has been set. + +### GetAssetTag + +`func (o *Rack) GetAssetTag() string` + +GetAssetTag returns the AssetTag field if non-nil, zero value otherwise. + +### GetAssetTagOk + +`func (o *Rack) GetAssetTagOk() (*string, bool)` + +GetAssetTagOk returns a tuple with the AssetTag field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAssetTag + +`func (o *Rack) SetAssetTag(v string)` + +SetAssetTag sets AssetTag field to given value. + +### HasAssetTag + +`func (o *Rack) HasAssetTag() bool` + +HasAssetTag returns a boolean if a field has been set. + +### SetAssetTagNil + +`func (o *Rack) SetAssetTagNil(b bool)` + + SetAssetTagNil sets the value for AssetTag to be an explicit nil + +### UnsetAssetTag +`func (o *Rack) UnsetAssetTag()` + +UnsetAssetTag ensures that no value is present for AssetTag, not even an explicit nil +### GetRackType + +`func (o *Rack) GetRackType() BriefRackType` + +GetRackType returns the RackType field if non-nil, zero value otherwise. + +### GetRackTypeOk + +`func (o *Rack) GetRackTypeOk() (*BriefRackType, bool)` + +GetRackTypeOk returns a tuple with the RackType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRackType + +`func (o *Rack) SetRackType(v BriefRackType)` + +SetRackType sets RackType field to given value. + +### HasRackType + +`func (o *Rack) HasRackType() bool` + +HasRackType returns a boolean if a field has been set. + +### SetRackTypeNil + +`func (o *Rack) SetRackTypeNil(b bool)` + + SetRackTypeNil sets the value for RackType to be an explicit nil + +### UnsetRackType +`func (o *Rack) UnsetRackType()` + +UnsetRackType ensures that no value is present for RackType, not even an explicit nil +### GetFormFactor + +`func (o *Rack) GetFormFactor() RackFormFactor` + +GetFormFactor returns the FormFactor field if non-nil, zero value otherwise. + +### GetFormFactorOk + +`func (o *Rack) GetFormFactorOk() (*RackFormFactor, bool)` + +GetFormFactorOk returns a tuple with the FormFactor field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFormFactor + +`func (o *Rack) SetFormFactor(v RackFormFactor)` + +SetFormFactor sets FormFactor field to given value. + +### HasFormFactor + +`func (o *Rack) HasFormFactor() bool` + +HasFormFactor returns a boolean if a field has been set. + +### SetFormFactorNil + +`func (o *Rack) SetFormFactorNil(b bool)` + + SetFormFactorNil sets the value for FormFactor to be an explicit nil + +### UnsetFormFactor +`func (o *Rack) UnsetFormFactor()` + +UnsetFormFactor ensures that no value is present for FormFactor, not even an explicit nil +### GetWidth + +`func (o *Rack) GetWidth() RackWidth` + +GetWidth returns the Width field if non-nil, zero value otherwise. + +### GetWidthOk + +`func (o *Rack) GetWidthOk() (*RackWidth, bool)` + +GetWidthOk returns a tuple with the Width field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWidth + +`func (o *Rack) SetWidth(v RackWidth)` + +SetWidth sets Width field to given value. + +### HasWidth + +`func (o *Rack) HasWidth() bool` + +HasWidth returns a boolean if a field has been set. + +### GetUHeight + +`func (o *Rack) GetUHeight() int32` + +GetUHeight returns the UHeight field if non-nil, zero value otherwise. + +### GetUHeightOk + +`func (o *Rack) GetUHeightOk() (*int32, bool)` + +GetUHeightOk returns a tuple with the UHeight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUHeight + +`func (o *Rack) SetUHeight(v int32)` + +SetUHeight sets UHeight field to given value. + +### HasUHeight + +`func (o *Rack) HasUHeight() bool` + +HasUHeight returns a boolean if a field has been set. + +### GetStartingUnit + +`func (o *Rack) GetStartingUnit() int32` + +GetStartingUnit returns the StartingUnit field if non-nil, zero value otherwise. + +### GetStartingUnitOk + +`func (o *Rack) GetStartingUnitOk() (*int32, bool)` + +GetStartingUnitOk returns a tuple with the StartingUnit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStartingUnit + +`func (o *Rack) SetStartingUnit(v int32)` + +SetStartingUnit sets StartingUnit field to given value. + +### HasStartingUnit + +`func (o *Rack) HasStartingUnit() bool` + +HasStartingUnit returns a boolean if a field has been set. + +### GetWeight + +`func (o *Rack) GetWeight() float64` + +GetWeight returns the Weight field if non-nil, zero value otherwise. + +### GetWeightOk + +`func (o *Rack) GetWeightOk() (*float64, bool)` + +GetWeightOk returns a tuple with the Weight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWeight + +`func (o *Rack) SetWeight(v float64)` + +SetWeight sets Weight field to given value. + +### HasWeight + +`func (o *Rack) HasWeight() bool` + +HasWeight returns a boolean if a field has been set. + +### SetWeightNil + +`func (o *Rack) SetWeightNil(b bool)` + + SetWeightNil sets the value for Weight to be an explicit nil + +### UnsetWeight +`func (o *Rack) UnsetWeight()` + +UnsetWeight ensures that no value is present for Weight, not even an explicit nil +### GetMaxWeight + +`func (o *Rack) GetMaxWeight() int32` + +GetMaxWeight returns the MaxWeight field if non-nil, zero value otherwise. + +### GetMaxWeightOk + +`func (o *Rack) GetMaxWeightOk() (*int32, bool)` + +GetMaxWeightOk returns a tuple with the MaxWeight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxWeight + +`func (o *Rack) SetMaxWeight(v int32)` + +SetMaxWeight sets MaxWeight field to given value. + +### HasMaxWeight + +`func (o *Rack) HasMaxWeight() bool` + +HasMaxWeight returns a boolean if a field has been set. + +### SetMaxWeightNil + +`func (o *Rack) SetMaxWeightNil(b bool)` + + SetMaxWeightNil sets the value for MaxWeight to be an explicit nil + +### UnsetMaxWeight +`func (o *Rack) UnsetMaxWeight()` + +UnsetMaxWeight ensures that no value is present for MaxWeight, not even an explicit nil +### GetWeightUnit + +`func (o *Rack) GetWeightUnit() DeviceTypeWeightUnit` + +GetWeightUnit returns the WeightUnit field if non-nil, zero value otherwise. + +### GetWeightUnitOk + +`func (o *Rack) GetWeightUnitOk() (*DeviceTypeWeightUnit, bool)` + +GetWeightUnitOk returns a tuple with the WeightUnit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWeightUnit + +`func (o *Rack) SetWeightUnit(v DeviceTypeWeightUnit)` + +SetWeightUnit sets WeightUnit field to given value. + +### HasWeightUnit + +`func (o *Rack) HasWeightUnit() bool` + +HasWeightUnit returns a boolean if a field has been set. + +### SetWeightUnitNil + +`func (o *Rack) SetWeightUnitNil(b bool)` + + SetWeightUnitNil sets the value for WeightUnit to be an explicit nil + +### UnsetWeightUnit +`func (o *Rack) UnsetWeightUnit()` + +UnsetWeightUnit ensures that no value is present for WeightUnit, not even an explicit nil +### GetDescUnits + +`func (o *Rack) GetDescUnits() bool` + +GetDescUnits returns the DescUnits field if non-nil, zero value otherwise. + +### GetDescUnitsOk + +`func (o *Rack) GetDescUnitsOk() (*bool, bool)` + +GetDescUnitsOk returns a tuple with the DescUnits field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDescUnits + +`func (o *Rack) SetDescUnits(v bool)` + +SetDescUnits sets DescUnits field to given value. + +### HasDescUnits + +`func (o *Rack) HasDescUnits() bool` + +HasDescUnits returns a boolean if a field has been set. + +### GetOuterWidth + +`func (o *Rack) GetOuterWidth() int32` + +GetOuterWidth returns the OuterWidth field if non-nil, zero value otherwise. + +### GetOuterWidthOk + +`func (o *Rack) GetOuterWidthOk() (*int32, bool)` + +GetOuterWidthOk returns a tuple with the OuterWidth field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOuterWidth + +`func (o *Rack) SetOuterWidth(v int32)` + +SetOuterWidth sets OuterWidth field to given value. + +### HasOuterWidth + +`func (o *Rack) HasOuterWidth() bool` + +HasOuterWidth returns a boolean if a field has been set. + +### SetOuterWidthNil + +`func (o *Rack) SetOuterWidthNil(b bool)` + + SetOuterWidthNil sets the value for OuterWidth to be an explicit nil + +### UnsetOuterWidth +`func (o *Rack) UnsetOuterWidth()` + +UnsetOuterWidth ensures that no value is present for OuterWidth, not even an explicit nil +### GetOuterDepth + +`func (o *Rack) GetOuterDepth() int32` + +GetOuterDepth returns the OuterDepth field if non-nil, zero value otherwise. + +### GetOuterDepthOk + +`func (o *Rack) GetOuterDepthOk() (*int32, bool)` + +GetOuterDepthOk returns a tuple with the OuterDepth field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOuterDepth + +`func (o *Rack) SetOuterDepth(v int32)` + +SetOuterDepth sets OuterDepth field to given value. + +### HasOuterDepth + +`func (o *Rack) HasOuterDepth() bool` + +HasOuterDepth returns a boolean if a field has been set. + +### SetOuterDepthNil + +`func (o *Rack) SetOuterDepthNil(b bool)` + + SetOuterDepthNil sets the value for OuterDepth to be an explicit nil + +### UnsetOuterDepth +`func (o *Rack) UnsetOuterDepth()` + +UnsetOuterDepth ensures that no value is present for OuterDepth, not even an explicit nil +### GetOuterUnit + +`func (o *Rack) GetOuterUnit() RackOuterUnit` + +GetOuterUnit returns the OuterUnit field if non-nil, zero value otherwise. + +### GetOuterUnitOk + +`func (o *Rack) GetOuterUnitOk() (*RackOuterUnit, bool)` + +GetOuterUnitOk returns a tuple with the OuterUnit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOuterUnit + +`func (o *Rack) SetOuterUnit(v RackOuterUnit)` + +SetOuterUnit sets OuterUnit field to given value. + +### HasOuterUnit + +`func (o *Rack) HasOuterUnit() bool` + +HasOuterUnit returns a boolean if a field has been set. + +### SetOuterUnitNil + +`func (o *Rack) SetOuterUnitNil(b bool)` + + SetOuterUnitNil sets the value for OuterUnit to be an explicit nil + +### UnsetOuterUnit +`func (o *Rack) UnsetOuterUnit()` + +UnsetOuterUnit ensures that no value is present for OuterUnit, not even an explicit nil +### GetMountingDepth + +`func (o *Rack) GetMountingDepth() int32` + +GetMountingDepth returns the MountingDepth field if non-nil, zero value otherwise. + +### GetMountingDepthOk + +`func (o *Rack) GetMountingDepthOk() (*int32, bool)` + +GetMountingDepthOk returns a tuple with the MountingDepth field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMountingDepth + +`func (o *Rack) SetMountingDepth(v int32)` + +SetMountingDepth sets MountingDepth field to given value. + +### HasMountingDepth + +`func (o *Rack) HasMountingDepth() bool` + +HasMountingDepth returns a boolean if a field has been set. + +### SetMountingDepthNil + +`func (o *Rack) SetMountingDepthNil(b bool)` + + SetMountingDepthNil sets the value for MountingDepth to be an explicit nil + +### UnsetMountingDepth +`func (o *Rack) UnsetMountingDepth()` + +UnsetMountingDepth ensures that no value is present for MountingDepth, not even an explicit nil +### GetAirflow + +`func (o *Rack) GetAirflow() RackAirflow` + +GetAirflow returns the Airflow field if non-nil, zero value otherwise. + +### GetAirflowOk + +`func (o *Rack) GetAirflowOk() (*RackAirflow, bool)` + +GetAirflowOk returns a tuple with the Airflow field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAirflow + +`func (o *Rack) SetAirflow(v RackAirflow)` + +SetAirflow sets Airflow field to given value. + +### HasAirflow + +`func (o *Rack) HasAirflow() bool` + +HasAirflow returns a boolean if a field has been set. + ### GetDescription `func (o *Rack) GetDescription() string` @@ -135,6 +874,141 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetComments + +`func (o *Rack) GetComments() string` + +GetComments returns the Comments field if non-nil, zero value otherwise. + +### GetCommentsOk + +`func (o *Rack) GetCommentsOk() (*string, bool)` + +GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComments + +`func (o *Rack) SetComments(v string)` + +SetComments sets Comments field to given value. + +### HasComments + +`func (o *Rack) HasComments() bool` + +HasComments returns a boolean if a field has been set. + +### GetTags + +`func (o *Rack) GetTags() []NestedTag` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *Rack) GetTagsOk() (*[]NestedTag, 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 *Rack) SetTags(v []NestedTag)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *Rack) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *Rack) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *Rack) 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 *Rack) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *Rack) HasCustomFields() bool` + +HasCustomFields returns a boolean if a field has been set. + +### GetCreated + +`func (o *Rack) GetCreated() time.Time` + +GetCreated returns the Created field if non-nil, zero value otherwise. + +### GetCreatedOk + +`func (o *Rack) 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 *Rack) SetCreated(v time.Time)` + +SetCreated sets Created field to given value. + + +### SetCreatedNil + +`func (o *Rack) SetCreatedNil(b bool)` + + SetCreatedNil sets the value for Created to be an explicit nil + +### UnsetCreated +`func (o *Rack) UnsetCreated()` + +UnsetCreated ensures that no value is present for Created, not even an explicit nil +### GetLastUpdated + +`func (o *Rack) GetLastUpdated() time.Time` + +GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise. + +### GetLastUpdatedOk + +`func (o *Rack) 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 *Rack) SetLastUpdated(v time.Time)` + +SetLastUpdated sets LastUpdated field to given value. + + +### SetLastUpdatedNil + +`func (o *Rack) SetLastUpdatedNil(b bool)` + + SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil + +### UnsetLastUpdated +`func (o *Rack) UnsetLastUpdated()` + +UnsetLastUpdated ensures that no value is present for LastUpdated, not even an explicit nil ### GetDeviceCount `func (o *Rack) GetDeviceCount() int64` @@ -154,6 +1028,31 @@ and a boolean to check if the value has been set. SetDeviceCount sets DeviceCount field to given value. +### HasDeviceCount + +`func (o *Rack) HasDeviceCount() bool` + +HasDeviceCount returns a boolean if a field has been set. + +### GetPowerfeedCount + +`func (o *Rack) GetPowerfeedCount() int64` + +GetPowerfeedCount returns the PowerfeedCount field if non-nil, zero value otherwise. + +### GetPowerfeedCountOk + +`func (o *Rack) GetPowerfeedCountOk() (*int64, bool)` + +GetPowerfeedCountOk returns a tuple with the PowerfeedCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPowerfeedCount + +`func (o *Rack) SetPowerfeedCount(v int64)` + +SetPowerfeedCount sets PowerfeedCount 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/RackAirflow.md b/docs/RackAirflow.md new file mode 100644 index 000000000..5afcaf33e --- /dev/null +++ b/docs/RackAirflow.md @@ -0,0 +1,82 @@ +# RackAirflow + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Value** | Pointer to [**PatchedWritableRackRequestAirflow**](PatchedWritableRackRequestAirflow.md) | | [optional] +**Label** | Pointer to [**RackAirflowLabel**](RackAirflowLabel.md) | | [optional] + +## Methods + +### NewRackAirflow + +`func NewRackAirflow() *RackAirflow` + +NewRackAirflow instantiates a new RackAirflow object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewRackAirflowWithDefaults + +`func NewRackAirflowWithDefaults() *RackAirflow` + +NewRackAirflowWithDefaults instantiates a new RackAirflow object +This 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 *RackAirflow) GetValue() PatchedWritableRackRequestAirflow` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *RackAirflow) GetValueOk() (*PatchedWritableRackRequestAirflow, 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 *RackAirflow) SetValue(v PatchedWritableRackRequestAirflow)` + +SetValue sets Value field to given value. + +### HasValue + +`func (o *RackAirflow) HasValue() bool` + +HasValue returns a boolean if a field has been set. + +### GetLabel + +`func (o *RackAirflow) GetLabel() RackAirflowLabel` + +GetLabel returns the Label field if non-nil, zero value otherwise. + +### GetLabelOk + +`func (o *RackAirflow) GetLabelOk() (*RackAirflowLabel, 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 *RackAirflow) SetLabel(v RackAirflowLabel)` + +SetLabel sets Label field to given value. + +### HasLabel + +`func (o *RackAirflow) 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/RackAirflowLabel.md b/docs/RackAirflowLabel.md new file mode 100644 index 000000000..e517065ba --- /dev/null +++ b/docs/RackAirflowLabel.md @@ -0,0 +1,13 @@ +# RackAirflowLabel + +## Enum + + +* `FRONT_TO_REAR` (value: `"Front to rear"`) + +* `REAR_TO_FRONT` (value: `"Rear to front"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/RackFormFactor.md b/docs/RackFormFactor.md new file mode 100644 index 000000000..dbb316231 --- /dev/null +++ b/docs/RackFormFactor.md @@ -0,0 +1,82 @@ +# RackFormFactor + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Value** | Pointer to [**PatchedWritableRackRequestFormFactor**](PatchedWritableRackRequestFormFactor.md) | | [optional] +**Label** | Pointer to [**RackFormFactorLabel**](RackFormFactorLabel.md) | | [optional] + +## Methods + +### NewRackFormFactor + +`func NewRackFormFactor() *RackFormFactor` + +NewRackFormFactor instantiates a new RackFormFactor object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewRackFormFactorWithDefaults + +`func NewRackFormFactorWithDefaults() *RackFormFactor` + +NewRackFormFactorWithDefaults instantiates a new RackFormFactor object +This 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 *RackFormFactor) GetValue() PatchedWritableRackRequestFormFactor` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *RackFormFactor) GetValueOk() (*PatchedWritableRackRequestFormFactor, 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 *RackFormFactor) SetValue(v PatchedWritableRackRequestFormFactor)` + +SetValue sets Value field to given value. + +### HasValue + +`func (o *RackFormFactor) HasValue() bool` + +HasValue returns a boolean if a field has been set. + +### GetLabel + +`func (o *RackFormFactor) GetLabel() RackFormFactorLabel` + +GetLabel returns the Label field if non-nil, zero value otherwise. + +### GetLabelOk + +`func (o *RackFormFactor) GetLabelOk() (*RackFormFactorLabel, 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 *RackFormFactor) SetLabel(v RackFormFactorLabel)` + +SetLabel sets Label field to given value. + +### HasLabel + +`func (o *RackFormFactor) 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/RackFormFactorLabel.md b/docs/RackFormFactorLabel.md new file mode 100644 index 000000000..720b1eb8c --- /dev/null +++ b/docs/RackFormFactorLabel.md @@ -0,0 +1,23 @@ +# RackFormFactorLabel + +## Enum + + +* `_2_POST_FRAME` (value: `"2-post frame"`) + +* `_4_POST_FRAME` (value: `"4-post frame"`) + +* `_4_POST_CABINET` (value: `"4-post cabinet"`) + +* `WALL_MOUNTED_FRAME` (value: `"Wall-mounted frame"`) + +* `WALL_MOUNTED_FRAME__VERTICAL` (value: `"Wall-mounted frame (vertical)"`) + +* `WALL_MOUNTED_CABINET` (value: `"Wall-mounted cabinet"`) + +* `WALL_MOUNTED_CABINET__VERTICAL` (value: `"Wall-mounted cabinet (vertical)"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/RackOuterUnit.md b/docs/RackOuterUnit.md new file mode 100644 index 000000000..09a88910f --- /dev/null +++ b/docs/RackOuterUnit.md @@ -0,0 +1,82 @@ +# RackOuterUnit + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Value** | Pointer to [**PatchedWritableRackRequestOuterUnit**](PatchedWritableRackRequestOuterUnit.md) | | [optional] +**Label** | Pointer to [**RackOuterUnitLabel**](RackOuterUnitLabel.md) | | [optional] + +## Methods + +### NewRackOuterUnit + +`func NewRackOuterUnit() *RackOuterUnit` + +NewRackOuterUnit instantiates a new RackOuterUnit object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewRackOuterUnitWithDefaults + +`func NewRackOuterUnitWithDefaults() *RackOuterUnit` + +NewRackOuterUnitWithDefaults instantiates a new RackOuterUnit object +This 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 *RackOuterUnit) GetValue() PatchedWritableRackRequestOuterUnit` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *RackOuterUnit) GetValueOk() (*PatchedWritableRackRequestOuterUnit, 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 *RackOuterUnit) SetValue(v PatchedWritableRackRequestOuterUnit)` + +SetValue sets Value field to given value. + +### HasValue + +`func (o *RackOuterUnit) HasValue() bool` + +HasValue returns a boolean if a field has been set. + +### GetLabel + +`func (o *RackOuterUnit) GetLabel() RackOuterUnitLabel` + +GetLabel returns the Label field if non-nil, zero value otherwise. + +### GetLabelOk + +`func (o *RackOuterUnit) GetLabelOk() (*RackOuterUnitLabel, 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 *RackOuterUnit) SetLabel(v RackOuterUnitLabel)` + +SetLabel sets Label field to given value. + +### HasLabel + +`func (o *RackOuterUnit) 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/RackOuterUnitLabel.md b/docs/RackOuterUnitLabel.md new file mode 100644 index 000000000..760faedf1 --- /dev/null +++ b/docs/RackOuterUnitLabel.md @@ -0,0 +1,13 @@ +# RackOuterUnitLabel + +## Enum + + +* `MILLIMETERS` (value: `"Millimeters"`) + +* `INCHES` (value: `"Inches"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/RackRequest.md b/docs/RackRequest.md index fdc2c2dd5..12ddea190 100644 --- a/docs/RackRequest.md +++ b/docs/RackRequest.md @@ -5,13 +5,38 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | **string** | | +**FacilityId** | Pointer to **NullableString** | | [optional] +**Site** | [**BriefSiteRequest**](BriefSiteRequest.md) | | +**Location** | Pointer to [**NullableBriefLocationRequest**](BriefLocationRequest.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] +**Status** | Pointer to [**PatchedWritableRackRequestStatus**](PatchedWritableRackRequestStatus.md) | | [optional] +**Role** | Pointer to [**NullableBriefRackRoleRequest**](BriefRackRoleRequest.md) | | [optional] +**Serial** | Pointer to **string** | | [optional] +**AssetTag** | Pointer to **NullableString** | A unique tag used to identify this rack | [optional] +**RackType** | Pointer to [**NullableBriefRackTypeRequest**](BriefRackTypeRequest.md) | | [optional] +**FormFactor** | Pointer to [**NullableRackRequestFormFactor**](RackRequestFormFactor.md) | | [optional] +**Width** | Pointer to [**RackWidthValue**](RackWidthValue.md) | | [optional] +**UHeight** | Pointer to **int32** | Height in rack units | [optional] +**StartingUnit** | Pointer to **int32** | Starting unit for rack | [optional] +**Weight** | Pointer to **NullableFloat64** | | [optional] +**MaxWeight** | Pointer to **NullableInt32** | Maximum load capacity for the rack | [optional] +**WeightUnit** | Pointer to [**NullableDeviceTypeRequestWeightUnit**](DeviceTypeRequestWeightUnit.md) | | [optional] +**DescUnits** | Pointer to **bool** | Units are numbered top-to-bottom | [optional] +**OuterWidth** | Pointer to **NullableInt32** | Outer dimension of rack (width) | [optional] +**OuterDepth** | Pointer to **NullableInt32** | Outer dimension of rack (depth) | [optional] +**OuterUnit** | Pointer to [**NullableRackRequestOuterUnit**](RackRequestOuterUnit.md) | | [optional] +**MountingDepth** | Pointer to **NullableInt32** | Maximum depth of a mounted device, in millimeters. For four-post racks, this is the distance between the front and rear rails. | [optional] +**Airflow** | Pointer to [**PatchedWritableRackRequestAirflow**](PatchedWritableRackRequestAirflow.md) | | [optional] **Description** | Pointer to **string** | | [optional] +**Comments** | Pointer to **string** | | [optional] +**Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] ## Methods ### NewRackRequest -`func NewRackRequest(name string, ) *RackRequest` +`func NewRackRequest(name string, site BriefSiteRequest, ) *RackRequest` NewRackRequest instantiates a new RackRequest object This constructor will assign default values to properties that have it defined, @@ -46,6 +71,691 @@ and a boolean to check if the value has been set. SetName sets Name field to given value. +### GetFacilityId + +`func (o *RackRequest) GetFacilityId() string` + +GetFacilityId returns the FacilityId field if non-nil, zero value otherwise. + +### GetFacilityIdOk + +`func (o *RackRequest) GetFacilityIdOk() (*string, bool)` + +GetFacilityIdOk returns a tuple with the FacilityId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFacilityId + +`func (o *RackRequest) SetFacilityId(v string)` + +SetFacilityId sets FacilityId field to given value. + +### HasFacilityId + +`func (o *RackRequest) HasFacilityId() bool` + +HasFacilityId returns a boolean if a field has been set. + +### SetFacilityIdNil + +`func (o *RackRequest) SetFacilityIdNil(b bool)` + + SetFacilityIdNil sets the value for FacilityId to be an explicit nil + +### UnsetFacilityId +`func (o *RackRequest) UnsetFacilityId()` + +UnsetFacilityId ensures that no value is present for FacilityId, not even an explicit nil +### GetSite + +`func (o *RackRequest) GetSite() BriefSiteRequest` + +GetSite returns the Site field if non-nil, zero value otherwise. + +### GetSiteOk + +`func (o *RackRequest) GetSiteOk() (*BriefSiteRequest, bool)` + +GetSiteOk returns a tuple with the Site field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSite + +`func (o *RackRequest) SetSite(v BriefSiteRequest)` + +SetSite sets Site field to given value. + + +### GetLocation + +`func (o *RackRequest) GetLocation() BriefLocationRequest` + +GetLocation returns the Location field if non-nil, zero value otherwise. + +### GetLocationOk + +`func (o *RackRequest) GetLocationOk() (*BriefLocationRequest, 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 *RackRequest) SetLocation(v BriefLocationRequest)` + +SetLocation sets Location field to given value. + +### HasLocation + +`func (o *RackRequest) HasLocation() bool` + +HasLocation returns a boolean if a field has been set. + +### SetLocationNil + +`func (o *RackRequest) SetLocationNil(b bool)` + + SetLocationNil sets the value for Location to be an explicit nil + +### UnsetLocation +`func (o *RackRequest) UnsetLocation()` + +UnsetLocation ensures that no value is present for Location, not even an explicit nil +### GetTenant + +`func (o *RackRequest) GetTenant() BriefTenantRequest` + +GetTenant returns the Tenant field if non-nil, zero value otherwise. + +### GetTenantOk + +`func (o *RackRequest) GetTenantOk() (*BriefTenantRequest, 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 *RackRequest) SetTenant(v BriefTenantRequest)` + +SetTenant sets Tenant field to given value. + +### HasTenant + +`func (o *RackRequest) HasTenant() bool` + +HasTenant returns a boolean if a field has been set. + +### SetTenantNil + +`func (o *RackRequest) SetTenantNil(b bool)` + + SetTenantNil sets the value for Tenant to be an explicit nil + +### UnsetTenant +`func (o *RackRequest) UnsetTenant()` + +UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +### GetStatus + +`func (o *RackRequest) GetStatus() PatchedWritableRackRequestStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *RackRequest) GetStatusOk() (*PatchedWritableRackRequestStatus, 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 *RackRequest) SetStatus(v PatchedWritableRackRequestStatus)` + +SetStatus sets Status field to given value. + +### HasStatus + +`func (o *RackRequest) HasStatus() bool` + +HasStatus returns a boolean if a field has been set. + +### GetRole + +`func (o *RackRequest) GetRole() BriefRackRoleRequest` + +GetRole returns the Role field if non-nil, zero value otherwise. + +### GetRoleOk + +`func (o *RackRequest) GetRoleOk() (*BriefRackRoleRequest, 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 *RackRequest) SetRole(v BriefRackRoleRequest)` + +SetRole sets Role field to given value. + +### HasRole + +`func (o *RackRequest) HasRole() bool` + +HasRole returns a boolean if a field has been set. + +### SetRoleNil + +`func (o *RackRequest) SetRoleNil(b bool)` + + SetRoleNil sets the value for Role to be an explicit nil + +### UnsetRole +`func (o *RackRequest) UnsetRole()` + +UnsetRole ensures that no value is present for Role, not even an explicit nil +### GetSerial + +`func (o *RackRequest) GetSerial() string` + +GetSerial returns the Serial field if non-nil, zero value otherwise. + +### GetSerialOk + +`func (o *RackRequest) GetSerialOk() (*string, bool)` + +GetSerialOk returns a tuple with the Serial field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSerial + +`func (o *RackRequest) SetSerial(v string)` + +SetSerial sets Serial field to given value. + +### HasSerial + +`func (o *RackRequest) HasSerial() bool` + +HasSerial returns a boolean if a field has been set. + +### GetAssetTag + +`func (o *RackRequest) GetAssetTag() string` + +GetAssetTag returns the AssetTag field if non-nil, zero value otherwise. + +### GetAssetTagOk + +`func (o *RackRequest) GetAssetTagOk() (*string, bool)` + +GetAssetTagOk returns a tuple with the AssetTag field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAssetTag + +`func (o *RackRequest) SetAssetTag(v string)` + +SetAssetTag sets AssetTag field to given value. + +### HasAssetTag + +`func (o *RackRequest) HasAssetTag() bool` + +HasAssetTag returns a boolean if a field has been set. + +### SetAssetTagNil + +`func (o *RackRequest) SetAssetTagNil(b bool)` + + SetAssetTagNil sets the value for AssetTag to be an explicit nil + +### UnsetAssetTag +`func (o *RackRequest) UnsetAssetTag()` + +UnsetAssetTag ensures that no value is present for AssetTag, not even an explicit nil +### GetRackType + +`func (o *RackRequest) GetRackType() BriefRackTypeRequest` + +GetRackType returns the RackType field if non-nil, zero value otherwise. + +### GetRackTypeOk + +`func (o *RackRequest) GetRackTypeOk() (*BriefRackTypeRequest, bool)` + +GetRackTypeOk returns a tuple with the RackType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRackType + +`func (o *RackRequest) SetRackType(v BriefRackTypeRequest)` + +SetRackType sets RackType field to given value. + +### HasRackType + +`func (o *RackRequest) HasRackType() bool` + +HasRackType returns a boolean if a field has been set. + +### SetRackTypeNil + +`func (o *RackRequest) SetRackTypeNil(b bool)` + + SetRackTypeNil sets the value for RackType to be an explicit nil + +### UnsetRackType +`func (o *RackRequest) UnsetRackType()` + +UnsetRackType ensures that no value is present for RackType, not even an explicit nil +### GetFormFactor + +`func (o *RackRequest) GetFormFactor() RackRequestFormFactor` + +GetFormFactor returns the FormFactor field if non-nil, zero value otherwise. + +### GetFormFactorOk + +`func (o *RackRequest) GetFormFactorOk() (*RackRequestFormFactor, bool)` + +GetFormFactorOk returns a tuple with the FormFactor field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFormFactor + +`func (o *RackRequest) SetFormFactor(v RackRequestFormFactor)` + +SetFormFactor sets FormFactor field to given value. + +### HasFormFactor + +`func (o *RackRequest) HasFormFactor() bool` + +HasFormFactor returns a boolean if a field has been set. + +### SetFormFactorNil + +`func (o *RackRequest) SetFormFactorNil(b bool)` + + SetFormFactorNil sets the value for FormFactor to be an explicit nil + +### UnsetFormFactor +`func (o *RackRequest) UnsetFormFactor()` + +UnsetFormFactor ensures that no value is present for FormFactor, not even an explicit nil +### GetWidth + +`func (o *RackRequest) GetWidth() RackWidthValue` + +GetWidth returns the Width field if non-nil, zero value otherwise. + +### GetWidthOk + +`func (o *RackRequest) GetWidthOk() (*RackWidthValue, bool)` + +GetWidthOk returns a tuple with the Width field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWidth + +`func (o *RackRequest) SetWidth(v RackWidthValue)` + +SetWidth sets Width field to given value. + +### HasWidth + +`func (o *RackRequest) HasWidth() bool` + +HasWidth returns a boolean if a field has been set. + +### GetUHeight + +`func (o *RackRequest) GetUHeight() int32` + +GetUHeight returns the UHeight field if non-nil, zero value otherwise. + +### GetUHeightOk + +`func (o *RackRequest) GetUHeightOk() (*int32, bool)` + +GetUHeightOk returns a tuple with the UHeight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUHeight + +`func (o *RackRequest) SetUHeight(v int32)` + +SetUHeight sets UHeight field to given value. + +### HasUHeight + +`func (o *RackRequest) HasUHeight() bool` + +HasUHeight returns a boolean if a field has been set. + +### GetStartingUnit + +`func (o *RackRequest) GetStartingUnit() int32` + +GetStartingUnit returns the StartingUnit field if non-nil, zero value otherwise. + +### GetStartingUnitOk + +`func (o *RackRequest) GetStartingUnitOk() (*int32, bool)` + +GetStartingUnitOk returns a tuple with the StartingUnit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStartingUnit + +`func (o *RackRequest) SetStartingUnit(v int32)` + +SetStartingUnit sets StartingUnit field to given value. + +### HasStartingUnit + +`func (o *RackRequest) HasStartingUnit() bool` + +HasStartingUnit returns a boolean if a field has been set. + +### GetWeight + +`func (o *RackRequest) GetWeight() float64` + +GetWeight returns the Weight field if non-nil, zero value otherwise. + +### GetWeightOk + +`func (o *RackRequest) GetWeightOk() (*float64, bool)` + +GetWeightOk returns a tuple with the Weight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWeight + +`func (o *RackRequest) SetWeight(v float64)` + +SetWeight sets Weight field to given value. + +### HasWeight + +`func (o *RackRequest) HasWeight() bool` + +HasWeight returns a boolean if a field has been set. + +### SetWeightNil + +`func (o *RackRequest) SetWeightNil(b bool)` + + SetWeightNil sets the value for Weight to be an explicit nil + +### UnsetWeight +`func (o *RackRequest) UnsetWeight()` + +UnsetWeight ensures that no value is present for Weight, not even an explicit nil +### GetMaxWeight + +`func (o *RackRequest) GetMaxWeight() int32` + +GetMaxWeight returns the MaxWeight field if non-nil, zero value otherwise. + +### GetMaxWeightOk + +`func (o *RackRequest) GetMaxWeightOk() (*int32, bool)` + +GetMaxWeightOk returns a tuple with the MaxWeight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxWeight + +`func (o *RackRequest) SetMaxWeight(v int32)` + +SetMaxWeight sets MaxWeight field to given value. + +### HasMaxWeight + +`func (o *RackRequest) HasMaxWeight() bool` + +HasMaxWeight returns a boolean if a field has been set. + +### SetMaxWeightNil + +`func (o *RackRequest) SetMaxWeightNil(b bool)` + + SetMaxWeightNil sets the value for MaxWeight to be an explicit nil + +### UnsetMaxWeight +`func (o *RackRequest) UnsetMaxWeight()` + +UnsetMaxWeight ensures that no value is present for MaxWeight, not even an explicit nil +### GetWeightUnit + +`func (o *RackRequest) GetWeightUnit() DeviceTypeRequestWeightUnit` + +GetWeightUnit returns the WeightUnit field if non-nil, zero value otherwise. + +### GetWeightUnitOk + +`func (o *RackRequest) GetWeightUnitOk() (*DeviceTypeRequestWeightUnit, bool)` + +GetWeightUnitOk returns a tuple with the WeightUnit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWeightUnit + +`func (o *RackRequest) SetWeightUnit(v DeviceTypeRequestWeightUnit)` + +SetWeightUnit sets WeightUnit field to given value. + +### HasWeightUnit + +`func (o *RackRequest) HasWeightUnit() bool` + +HasWeightUnit returns a boolean if a field has been set. + +### SetWeightUnitNil + +`func (o *RackRequest) SetWeightUnitNil(b bool)` + + SetWeightUnitNil sets the value for WeightUnit to be an explicit nil + +### UnsetWeightUnit +`func (o *RackRequest) UnsetWeightUnit()` + +UnsetWeightUnit ensures that no value is present for WeightUnit, not even an explicit nil +### GetDescUnits + +`func (o *RackRequest) GetDescUnits() bool` + +GetDescUnits returns the DescUnits field if non-nil, zero value otherwise. + +### GetDescUnitsOk + +`func (o *RackRequest) GetDescUnitsOk() (*bool, bool)` + +GetDescUnitsOk returns a tuple with the DescUnits field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDescUnits + +`func (o *RackRequest) SetDescUnits(v bool)` + +SetDescUnits sets DescUnits field to given value. + +### HasDescUnits + +`func (o *RackRequest) HasDescUnits() bool` + +HasDescUnits returns a boolean if a field has been set. + +### GetOuterWidth + +`func (o *RackRequest) GetOuterWidth() int32` + +GetOuterWidth returns the OuterWidth field if non-nil, zero value otherwise. + +### GetOuterWidthOk + +`func (o *RackRequest) GetOuterWidthOk() (*int32, bool)` + +GetOuterWidthOk returns a tuple with the OuterWidth field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOuterWidth + +`func (o *RackRequest) SetOuterWidth(v int32)` + +SetOuterWidth sets OuterWidth field to given value. + +### HasOuterWidth + +`func (o *RackRequest) HasOuterWidth() bool` + +HasOuterWidth returns a boolean if a field has been set. + +### SetOuterWidthNil + +`func (o *RackRequest) SetOuterWidthNil(b bool)` + + SetOuterWidthNil sets the value for OuterWidth to be an explicit nil + +### UnsetOuterWidth +`func (o *RackRequest) UnsetOuterWidth()` + +UnsetOuterWidth ensures that no value is present for OuterWidth, not even an explicit nil +### GetOuterDepth + +`func (o *RackRequest) GetOuterDepth() int32` + +GetOuterDepth returns the OuterDepth field if non-nil, zero value otherwise. + +### GetOuterDepthOk + +`func (o *RackRequest) GetOuterDepthOk() (*int32, bool)` + +GetOuterDepthOk returns a tuple with the OuterDepth field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOuterDepth + +`func (o *RackRequest) SetOuterDepth(v int32)` + +SetOuterDepth sets OuterDepth field to given value. + +### HasOuterDepth + +`func (o *RackRequest) HasOuterDepth() bool` + +HasOuterDepth returns a boolean if a field has been set. + +### SetOuterDepthNil + +`func (o *RackRequest) SetOuterDepthNil(b bool)` + + SetOuterDepthNil sets the value for OuterDepth to be an explicit nil + +### UnsetOuterDepth +`func (o *RackRequest) UnsetOuterDepth()` + +UnsetOuterDepth ensures that no value is present for OuterDepth, not even an explicit nil +### GetOuterUnit + +`func (o *RackRequest) GetOuterUnit() RackRequestOuterUnit` + +GetOuterUnit returns the OuterUnit field if non-nil, zero value otherwise. + +### GetOuterUnitOk + +`func (o *RackRequest) GetOuterUnitOk() (*RackRequestOuterUnit, bool)` + +GetOuterUnitOk returns a tuple with the OuterUnit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOuterUnit + +`func (o *RackRequest) SetOuterUnit(v RackRequestOuterUnit)` + +SetOuterUnit sets OuterUnit field to given value. + +### HasOuterUnit + +`func (o *RackRequest) HasOuterUnit() bool` + +HasOuterUnit returns a boolean if a field has been set. + +### SetOuterUnitNil + +`func (o *RackRequest) SetOuterUnitNil(b bool)` + + SetOuterUnitNil sets the value for OuterUnit to be an explicit nil + +### UnsetOuterUnit +`func (o *RackRequest) UnsetOuterUnit()` + +UnsetOuterUnit ensures that no value is present for OuterUnit, not even an explicit nil +### GetMountingDepth + +`func (o *RackRequest) GetMountingDepth() int32` + +GetMountingDepth returns the MountingDepth field if non-nil, zero value otherwise. + +### GetMountingDepthOk + +`func (o *RackRequest) GetMountingDepthOk() (*int32, bool)` + +GetMountingDepthOk returns a tuple with the MountingDepth field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMountingDepth + +`func (o *RackRequest) SetMountingDepth(v int32)` + +SetMountingDepth sets MountingDepth field to given value. + +### HasMountingDepth + +`func (o *RackRequest) HasMountingDepth() bool` + +HasMountingDepth returns a boolean if a field has been set. + +### SetMountingDepthNil + +`func (o *RackRequest) SetMountingDepthNil(b bool)` + + SetMountingDepthNil sets the value for MountingDepth to be an explicit nil + +### UnsetMountingDepth +`func (o *RackRequest) UnsetMountingDepth()` + +UnsetMountingDepth ensures that no value is present for MountingDepth, not even an explicit nil +### GetAirflow + +`func (o *RackRequest) GetAirflow() PatchedWritableRackRequestAirflow` + +GetAirflow returns the Airflow field if non-nil, zero value otherwise. + +### GetAirflowOk + +`func (o *RackRequest) GetAirflowOk() (*PatchedWritableRackRequestAirflow, bool)` + +GetAirflowOk returns a tuple with the Airflow field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAirflow + +`func (o *RackRequest) SetAirflow(v PatchedWritableRackRequestAirflow)` + +SetAirflow sets Airflow field to given value. + +### HasAirflow + +`func (o *RackRequest) HasAirflow() bool` + +HasAirflow returns a boolean if a field has been set. + ### GetDescription `func (o *RackRequest) GetDescription() string` @@ -71,6 +781,81 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetComments + +`func (o *RackRequest) GetComments() string` + +GetComments returns the Comments field if non-nil, zero value otherwise. + +### GetCommentsOk + +`func (o *RackRequest) GetCommentsOk() (*string, bool)` + +GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComments + +`func (o *RackRequest) SetComments(v string)` + +SetComments sets Comments field to given value. + +### HasComments + +`func (o *RackRequest) HasComments() bool` + +HasComments returns a boolean if a field has been set. + +### GetTags + +`func (o *RackRequest) GetTags() []NestedTagRequest` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *RackRequest) GetTagsOk() (*[]NestedTagRequest, 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 *RackRequest) SetTags(v []NestedTagRequest)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *RackRequest) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *RackRequest) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *RackRequest) 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 *RackRequest) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *RackRequest) 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/RackRequestFormFactor.md b/docs/RackRequestFormFactor.md new file mode 100644 index 000000000..5725ed05a --- /dev/null +++ b/docs/RackRequestFormFactor.md @@ -0,0 +1,25 @@ +# RackRequestFormFactor + +## Enum + + +* `_2_POST_FRAME` (value: `"2-post-frame"`) + +* `_4_POST_FRAME` (value: `"4-post-frame"`) + +* `_4_POST_CABINET` (value: `"4-post-cabinet"`) + +* `WALL_FRAME` (value: `"wall-frame"`) + +* `WALL_FRAME_VERTICAL` (value: `"wall-frame-vertical"`) + +* `WALL_CABINET` (value: `"wall-cabinet"`) + +* `WALL_CABINET_VERTICAL` (value: `"wall-cabinet-vertical"`) + +* `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/RackRequestOuterUnit.md b/docs/RackRequestOuterUnit.md new file mode 100644 index 000000000..8316b288d --- /dev/null +++ b/docs/RackRequestOuterUnit.md @@ -0,0 +1,15 @@ +# RackRequestOuterUnit + +## Enum + + +* `MM` (value: `"mm"`) + +* `IN` (value: `"in"`) + +* `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/RackReservation.md b/docs/RackReservation.md index d8fdbd2ff..dab7b0052 100644 --- a/docs/RackReservation.md +++ b/docs/RackReservation.md @@ -6,13 +6,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] -**Rack** | [**Rack**](Rack.md) | | +**Rack** | [**BriefRack**](BriefRack.md) | | **Units** | **[]int32** | | **Created** | **NullableTime** | | [readonly] **LastUpdated** | **NullableTime** | | [readonly] -**User** | [**User**](User.md) | | -**Tenant** | Pointer to [**NullableTenant**](Tenant.md) | | [optional] +**User** | [**BriefUser**](BriefUser.md) | | +**Tenant** | Pointer to [**NullableBriefTenant**](BriefTenant.md) | | [optional] **Description** | **string** | | **Comments** | Pointer to **string** | | [optional] **Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] @@ -22,7 +23,7 @@ Name | Type | Description | Notes ### NewRackReservation -`func NewRackReservation(id int32, url string, display string, rack Rack, units []int32, created NullableTime, lastUpdated NullableTime, user User, description string, ) *RackReservation` +`func NewRackReservation(id int32, url string, display string, rack BriefRack, units []int32, created NullableTime, lastUpdated NullableTime, user BriefUser, description string, ) *RackReservation` NewRackReservation instantiates a new RackReservation object This constructor will assign default values to properties that have it defined, @@ -77,6 +78,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *RackReservation) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *RackReservation) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *RackReservation) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *RackReservation) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *RackReservation) GetDisplay() string` @@ -99,20 +125,20 @@ SetDisplay sets Display field to given value. ### GetRack -`func (o *RackReservation) GetRack() Rack` +`func (o *RackReservation) GetRack() BriefRack` GetRack returns the Rack field if non-nil, zero value otherwise. ### GetRackOk -`func (o *RackReservation) GetRackOk() (*Rack, bool)` +`func (o *RackReservation) GetRackOk() (*BriefRack, bool)` GetRackOk returns a tuple with the Rack field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRack -`func (o *RackReservation) SetRack(v Rack)` +`func (o *RackReservation) SetRack(v BriefRack)` SetRack sets Rack field to given value. @@ -199,40 +225,40 @@ SetLastUpdated sets LastUpdated field to given value. UnsetLastUpdated ensures that no value is present for LastUpdated, not even an explicit nil ### GetUser -`func (o *RackReservation) GetUser() User` +`func (o *RackReservation) GetUser() BriefUser` GetUser returns the User field if non-nil, zero value otherwise. ### GetUserOk -`func (o *RackReservation) GetUserOk() (*User, bool)` +`func (o *RackReservation) GetUserOk() (*BriefUser, bool)` GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUser -`func (o *RackReservation) SetUser(v User)` +`func (o *RackReservation) SetUser(v BriefUser)` SetUser sets User field to given value. ### GetTenant -`func (o *RackReservation) GetTenant() Tenant` +`func (o *RackReservation) GetTenant() BriefTenant` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *RackReservation) GetTenantOk() (*Tenant, bool)` +`func (o *RackReservation) GetTenantOk() (*BriefTenant, 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 *RackReservation) SetTenant(v Tenant)` +`func (o *RackReservation) SetTenant(v BriefTenant)` SetTenant sets Tenant field to given value. diff --git a/docs/RackReservationRequest.md b/docs/RackReservationRequest.md index e87e36a89..1910e473a 100644 --- a/docs/RackReservationRequest.md +++ b/docs/RackReservationRequest.md @@ -4,10 +4,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Rack** | [**RackRequest**](RackRequest.md) | | +**Rack** | [**BriefRackRequest**](BriefRackRequest.md) | | **Units** | **[]int32** | | -**User** | [**UserRequest**](UserRequest.md) | | -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] +**User** | [**BriefUserRequest**](BriefUserRequest.md) | | +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] **Description** | **string** | | **Comments** | Pointer to **string** | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] @@ -17,7 +17,7 @@ Name | Type | Description | Notes ### NewRackReservationRequest -`func NewRackReservationRequest(rack RackRequest, units []int32, user UserRequest, description string, ) *RackReservationRequest` +`func NewRackReservationRequest(rack BriefRackRequest, units []int32, user BriefUserRequest, description string, ) *RackReservationRequest` NewRackReservationRequest instantiates a new RackReservationRequest object This constructor will assign default values to properties that have it defined, @@ -34,20 +34,20 @@ but it doesn't guarantee that properties required by API are set ### GetRack -`func (o *RackReservationRequest) GetRack() RackRequest` +`func (o *RackReservationRequest) GetRack() BriefRackRequest` GetRack returns the Rack field if non-nil, zero value otherwise. ### GetRackOk -`func (o *RackReservationRequest) GetRackOk() (*RackRequest, bool)` +`func (o *RackReservationRequest) GetRackOk() (*BriefRackRequest, bool)` GetRackOk returns a tuple with the Rack field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRack -`func (o *RackReservationRequest) SetRack(v RackRequest)` +`func (o *RackReservationRequest) SetRack(v BriefRackRequest)` SetRack sets Rack field to given value. @@ -74,40 +74,40 @@ SetUnits sets Units field to given value. ### GetUser -`func (o *RackReservationRequest) GetUser() UserRequest` +`func (o *RackReservationRequest) GetUser() BriefUserRequest` GetUser returns the User field if non-nil, zero value otherwise. ### GetUserOk -`func (o *RackReservationRequest) GetUserOk() (*UserRequest, bool)` +`func (o *RackReservationRequest) GetUserOk() (*BriefUserRequest, bool)` GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUser -`func (o *RackReservationRequest) SetUser(v UserRequest)` +`func (o *RackReservationRequest) SetUser(v BriefUserRequest)` SetUser sets User field to given value. ### GetTenant -`func (o *RackReservationRequest) GetTenant() TenantRequest` +`func (o *RackReservationRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *RackReservationRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *RackReservationRequest) GetTenantOk() (*BriefTenantRequest, 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 *RackReservationRequest) SetTenant(v TenantRequest)` +`func (o *RackReservationRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. diff --git a/docs/RackRole.md b/docs/RackRole.md index a13905573..b04f97b54 100644 --- a/docs/RackRole.md +++ b/docs/RackRole.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Name** | **string** | | **Slug** | **string** | | @@ -76,6 +77,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *RackRole) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *RackRole) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *RackRole) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *RackRole) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *RackRole) GetDisplay() string` diff --git a/docs/RackStatus.md b/docs/RackStatus.md new file mode 100644 index 000000000..414f07dde --- /dev/null +++ b/docs/RackStatus.md @@ -0,0 +1,82 @@ +# RackStatus + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Value** | Pointer to [**PatchedWritableRackRequestStatus**](PatchedWritableRackRequestStatus.md) | | [optional] +**Label** | Pointer to [**RackStatusLabel**](RackStatusLabel.md) | | [optional] + +## Methods + +### NewRackStatus + +`func NewRackStatus() *RackStatus` + +NewRackStatus instantiates a new RackStatus object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewRackStatusWithDefaults + +`func NewRackStatusWithDefaults() *RackStatus` + +NewRackStatusWithDefaults instantiates a new RackStatus object +This 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 *RackStatus) GetValue() PatchedWritableRackRequestStatus` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *RackStatus) GetValueOk() (*PatchedWritableRackRequestStatus, 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 *RackStatus) SetValue(v PatchedWritableRackRequestStatus)` + +SetValue sets Value field to given value. + +### HasValue + +`func (o *RackStatus) HasValue() bool` + +HasValue returns a boolean if a field has been set. + +### GetLabel + +`func (o *RackStatus) GetLabel() RackStatusLabel` + +GetLabel returns the Label field if non-nil, zero value otherwise. + +### GetLabelOk + +`func (o *RackStatus) GetLabelOk() (*RackStatusLabel, 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 *RackStatus) SetLabel(v RackStatusLabel)` + +SetLabel sets Label field to given value. + +### HasLabel + +`func (o *RackStatus) 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/RackStatusLabel.md b/docs/RackStatusLabel.md new file mode 100644 index 000000000..0b700039e --- /dev/null +++ b/docs/RackStatusLabel.md @@ -0,0 +1,19 @@ +# RackStatusLabel + +## Enum + + +* `RESERVED` (value: `"Reserved"`) + +* `AVAILABLE` (value: `"Available"`) + +* `PLANNED` (value: `"Planned"`) + +* `ACTIVE` (value: `"Active"`) + +* `DEPRECATED` (value: `"Deprecated"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/RackType.md b/docs/RackType.md new file mode 100644 index 000000000..dcfe45833 --- /dev/null +++ b/docs/RackType.md @@ -0,0 +1,740 @@ +# RackType + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] +**Display** | **string** | | [readonly] +**Manufacturer** | [**BriefManufacturer**](BriefManufacturer.md) | | +**Model** | **string** | | +**Slug** | **string** | | +**Description** | Pointer to **string** | | [optional] +**FormFactor** | Pointer to [**NullableRackFormFactor**](RackFormFactor.md) | | [optional] +**Width** | Pointer to [**RackWidth**](RackWidth.md) | | [optional] +**UHeight** | Pointer to **int32** | Height in rack units | [optional] +**StartingUnit** | Pointer to **int32** | Starting unit for rack | [optional] +**DescUnits** | Pointer to **bool** | Units are numbered top-to-bottom | [optional] +**OuterWidth** | Pointer to **NullableInt32** | Outer dimension of rack (width) | [optional] +**OuterDepth** | Pointer to **NullableInt32** | Outer dimension of rack (depth) | [optional] +**OuterUnit** | Pointer to [**NullableRackOuterUnit**](RackOuterUnit.md) | | [optional] +**Weight** | Pointer to **NullableFloat64** | | [optional] +**MaxWeight** | Pointer to **NullableInt32** | Maximum load capacity for the rack | [optional] +**WeightUnit** | Pointer to [**NullableDeviceTypeWeightUnit**](DeviceTypeWeightUnit.md) | | [optional] +**MountingDepth** | Pointer to **NullableInt32** | Maximum depth of a mounted device, in millimeters. For four-post racks, this is the distance between the front and rear rails. | [optional] +**Comments** | Pointer to **string** | | [optional] +**Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] +**Created** | **NullableTime** | | [readonly] +**LastUpdated** | **NullableTime** | | [readonly] + +## Methods + +### NewRackType + +`func NewRackType(id int32, url string, display string, manufacturer BriefManufacturer, model string, slug string, created NullableTime, lastUpdated NullableTime, ) *RackType` + +NewRackType instantiates a new RackType object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewRackTypeWithDefaults + +`func NewRackTypeWithDefaults() *RackType` + +NewRackTypeWithDefaults instantiates a new RackType object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *RackType) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *RackType) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *RackType) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *RackType) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *RackType) 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 *RackType) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplayUrl + +`func (o *RackType) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *RackType) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *RackType) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *RackType) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + +### GetDisplay + +`func (o *RackType) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *RackType) 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 *RackType) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetManufacturer + +`func (o *RackType) GetManufacturer() BriefManufacturer` + +GetManufacturer returns the Manufacturer field if non-nil, zero value otherwise. + +### GetManufacturerOk + +`func (o *RackType) GetManufacturerOk() (*BriefManufacturer, bool)` + +GetManufacturerOk returns a tuple with the Manufacturer field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetManufacturer + +`func (o *RackType) SetManufacturer(v BriefManufacturer)` + +SetManufacturer sets Manufacturer field to given value. + + +### GetModel + +`func (o *RackType) GetModel() string` + +GetModel returns the Model field if non-nil, zero value otherwise. + +### GetModelOk + +`func (o *RackType) GetModelOk() (*string, bool)` + +GetModelOk returns a tuple with the Model field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetModel + +`func (o *RackType) SetModel(v string)` + +SetModel sets Model field to given value. + + +### GetSlug + +`func (o *RackType) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *RackType) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *RackType) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetDescription + +`func (o *RackType) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *RackType) 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 *RackType) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *RackType) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetFormFactor + +`func (o *RackType) GetFormFactor() RackFormFactor` + +GetFormFactor returns the FormFactor field if non-nil, zero value otherwise. + +### GetFormFactorOk + +`func (o *RackType) GetFormFactorOk() (*RackFormFactor, bool)` + +GetFormFactorOk returns a tuple with the FormFactor field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFormFactor + +`func (o *RackType) SetFormFactor(v RackFormFactor)` + +SetFormFactor sets FormFactor field to given value. + +### HasFormFactor + +`func (o *RackType) HasFormFactor() bool` + +HasFormFactor returns a boolean if a field has been set. + +### SetFormFactorNil + +`func (o *RackType) SetFormFactorNil(b bool)` + + SetFormFactorNil sets the value for FormFactor to be an explicit nil + +### UnsetFormFactor +`func (o *RackType) UnsetFormFactor()` + +UnsetFormFactor ensures that no value is present for FormFactor, not even an explicit nil +### GetWidth + +`func (o *RackType) GetWidth() RackWidth` + +GetWidth returns the Width field if non-nil, zero value otherwise. + +### GetWidthOk + +`func (o *RackType) GetWidthOk() (*RackWidth, bool)` + +GetWidthOk returns a tuple with the Width field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWidth + +`func (o *RackType) SetWidth(v RackWidth)` + +SetWidth sets Width field to given value. + +### HasWidth + +`func (o *RackType) HasWidth() bool` + +HasWidth returns a boolean if a field has been set. + +### GetUHeight + +`func (o *RackType) GetUHeight() int32` + +GetUHeight returns the UHeight field if non-nil, zero value otherwise. + +### GetUHeightOk + +`func (o *RackType) GetUHeightOk() (*int32, bool)` + +GetUHeightOk returns a tuple with the UHeight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUHeight + +`func (o *RackType) SetUHeight(v int32)` + +SetUHeight sets UHeight field to given value. + +### HasUHeight + +`func (o *RackType) HasUHeight() bool` + +HasUHeight returns a boolean if a field has been set. + +### GetStartingUnit + +`func (o *RackType) GetStartingUnit() int32` + +GetStartingUnit returns the StartingUnit field if non-nil, zero value otherwise. + +### GetStartingUnitOk + +`func (o *RackType) GetStartingUnitOk() (*int32, bool)` + +GetStartingUnitOk returns a tuple with the StartingUnit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStartingUnit + +`func (o *RackType) SetStartingUnit(v int32)` + +SetStartingUnit sets StartingUnit field to given value. + +### HasStartingUnit + +`func (o *RackType) HasStartingUnit() bool` + +HasStartingUnit returns a boolean if a field has been set. + +### GetDescUnits + +`func (o *RackType) GetDescUnits() bool` + +GetDescUnits returns the DescUnits field if non-nil, zero value otherwise. + +### GetDescUnitsOk + +`func (o *RackType) GetDescUnitsOk() (*bool, bool)` + +GetDescUnitsOk returns a tuple with the DescUnits field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDescUnits + +`func (o *RackType) SetDescUnits(v bool)` + +SetDescUnits sets DescUnits field to given value. + +### HasDescUnits + +`func (o *RackType) HasDescUnits() bool` + +HasDescUnits returns a boolean if a field has been set. + +### GetOuterWidth + +`func (o *RackType) GetOuterWidth() int32` + +GetOuterWidth returns the OuterWidth field if non-nil, zero value otherwise. + +### GetOuterWidthOk + +`func (o *RackType) GetOuterWidthOk() (*int32, bool)` + +GetOuterWidthOk returns a tuple with the OuterWidth field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOuterWidth + +`func (o *RackType) SetOuterWidth(v int32)` + +SetOuterWidth sets OuterWidth field to given value. + +### HasOuterWidth + +`func (o *RackType) HasOuterWidth() bool` + +HasOuterWidth returns a boolean if a field has been set. + +### SetOuterWidthNil + +`func (o *RackType) SetOuterWidthNil(b bool)` + + SetOuterWidthNil sets the value for OuterWidth to be an explicit nil + +### UnsetOuterWidth +`func (o *RackType) UnsetOuterWidth()` + +UnsetOuterWidth ensures that no value is present for OuterWidth, not even an explicit nil +### GetOuterDepth + +`func (o *RackType) GetOuterDepth() int32` + +GetOuterDepth returns the OuterDepth field if non-nil, zero value otherwise. + +### GetOuterDepthOk + +`func (o *RackType) GetOuterDepthOk() (*int32, bool)` + +GetOuterDepthOk returns a tuple with the OuterDepth field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOuterDepth + +`func (o *RackType) SetOuterDepth(v int32)` + +SetOuterDepth sets OuterDepth field to given value. + +### HasOuterDepth + +`func (o *RackType) HasOuterDepth() bool` + +HasOuterDepth returns a boolean if a field has been set. + +### SetOuterDepthNil + +`func (o *RackType) SetOuterDepthNil(b bool)` + + SetOuterDepthNil sets the value for OuterDepth to be an explicit nil + +### UnsetOuterDepth +`func (o *RackType) UnsetOuterDepth()` + +UnsetOuterDepth ensures that no value is present for OuterDepth, not even an explicit nil +### GetOuterUnit + +`func (o *RackType) GetOuterUnit() RackOuterUnit` + +GetOuterUnit returns the OuterUnit field if non-nil, zero value otherwise. + +### GetOuterUnitOk + +`func (o *RackType) GetOuterUnitOk() (*RackOuterUnit, bool)` + +GetOuterUnitOk returns a tuple with the OuterUnit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOuterUnit + +`func (o *RackType) SetOuterUnit(v RackOuterUnit)` + +SetOuterUnit sets OuterUnit field to given value. + +### HasOuterUnit + +`func (o *RackType) HasOuterUnit() bool` + +HasOuterUnit returns a boolean if a field has been set. + +### SetOuterUnitNil + +`func (o *RackType) SetOuterUnitNil(b bool)` + + SetOuterUnitNil sets the value for OuterUnit to be an explicit nil + +### UnsetOuterUnit +`func (o *RackType) UnsetOuterUnit()` + +UnsetOuterUnit ensures that no value is present for OuterUnit, not even an explicit nil +### GetWeight + +`func (o *RackType) GetWeight() float64` + +GetWeight returns the Weight field if non-nil, zero value otherwise. + +### GetWeightOk + +`func (o *RackType) GetWeightOk() (*float64, bool)` + +GetWeightOk returns a tuple with the Weight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWeight + +`func (o *RackType) SetWeight(v float64)` + +SetWeight sets Weight field to given value. + +### HasWeight + +`func (o *RackType) HasWeight() bool` + +HasWeight returns a boolean if a field has been set. + +### SetWeightNil + +`func (o *RackType) SetWeightNil(b bool)` + + SetWeightNil sets the value for Weight to be an explicit nil + +### UnsetWeight +`func (o *RackType) UnsetWeight()` + +UnsetWeight ensures that no value is present for Weight, not even an explicit nil +### GetMaxWeight + +`func (o *RackType) GetMaxWeight() int32` + +GetMaxWeight returns the MaxWeight field if non-nil, zero value otherwise. + +### GetMaxWeightOk + +`func (o *RackType) GetMaxWeightOk() (*int32, bool)` + +GetMaxWeightOk returns a tuple with the MaxWeight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxWeight + +`func (o *RackType) SetMaxWeight(v int32)` + +SetMaxWeight sets MaxWeight field to given value. + +### HasMaxWeight + +`func (o *RackType) HasMaxWeight() bool` + +HasMaxWeight returns a boolean if a field has been set. + +### SetMaxWeightNil + +`func (o *RackType) SetMaxWeightNil(b bool)` + + SetMaxWeightNil sets the value for MaxWeight to be an explicit nil + +### UnsetMaxWeight +`func (o *RackType) UnsetMaxWeight()` + +UnsetMaxWeight ensures that no value is present for MaxWeight, not even an explicit nil +### GetWeightUnit + +`func (o *RackType) GetWeightUnit() DeviceTypeWeightUnit` + +GetWeightUnit returns the WeightUnit field if non-nil, zero value otherwise. + +### GetWeightUnitOk + +`func (o *RackType) GetWeightUnitOk() (*DeviceTypeWeightUnit, bool)` + +GetWeightUnitOk returns a tuple with the WeightUnit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWeightUnit + +`func (o *RackType) SetWeightUnit(v DeviceTypeWeightUnit)` + +SetWeightUnit sets WeightUnit field to given value. + +### HasWeightUnit + +`func (o *RackType) HasWeightUnit() bool` + +HasWeightUnit returns a boolean if a field has been set. + +### SetWeightUnitNil + +`func (o *RackType) SetWeightUnitNil(b bool)` + + SetWeightUnitNil sets the value for WeightUnit to be an explicit nil + +### UnsetWeightUnit +`func (o *RackType) UnsetWeightUnit()` + +UnsetWeightUnit ensures that no value is present for WeightUnit, not even an explicit nil +### GetMountingDepth + +`func (o *RackType) GetMountingDepth() int32` + +GetMountingDepth returns the MountingDepth field if non-nil, zero value otherwise. + +### GetMountingDepthOk + +`func (o *RackType) GetMountingDepthOk() (*int32, bool)` + +GetMountingDepthOk returns a tuple with the MountingDepth field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMountingDepth + +`func (o *RackType) SetMountingDepth(v int32)` + +SetMountingDepth sets MountingDepth field to given value. + +### HasMountingDepth + +`func (o *RackType) HasMountingDepth() bool` + +HasMountingDepth returns a boolean if a field has been set. + +### SetMountingDepthNil + +`func (o *RackType) SetMountingDepthNil(b bool)` + + SetMountingDepthNil sets the value for MountingDepth to be an explicit nil + +### UnsetMountingDepth +`func (o *RackType) UnsetMountingDepth()` + +UnsetMountingDepth ensures that no value is present for MountingDepth, not even an explicit nil +### GetComments + +`func (o *RackType) GetComments() string` + +GetComments returns the Comments field if non-nil, zero value otherwise. + +### GetCommentsOk + +`func (o *RackType) GetCommentsOk() (*string, bool)` + +GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComments + +`func (o *RackType) SetComments(v string)` + +SetComments sets Comments field to given value. + +### HasComments + +`func (o *RackType) HasComments() bool` + +HasComments returns a boolean if a field has been set. + +### GetTags + +`func (o *RackType) GetTags() []NestedTag` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *RackType) GetTagsOk() (*[]NestedTag, 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 *RackType) SetTags(v []NestedTag)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *RackType) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *RackType) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *RackType) 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 *RackType) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *RackType) HasCustomFields() bool` + +HasCustomFields returns a boolean if a field has been set. + +### GetCreated + +`func (o *RackType) GetCreated() time.Time` + +GetCreated returns the Created field if non-nil, zero value otherwise. + +### GetCreatedOk + +`func (o *RackType) 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 *RackType) SetCreated(v time.Time)` + +SetCreated sets Created field to given value. + + +### SetCreatedNil + +`func (o *RackType) SetCreatedNil(b bool)` + + SetCreatedNil sets the value for Created to be an explicit nil + +### UnsetCreated +`func (o *RackType) UnsetCreated()` + +UnsetCreated ensures that no value is present for Created, not even an explicit nil +### GetLastUpdated + +`func (o *RackType) GetLastUpdated() time.Time` + +GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise. + +### GetLastUpdatedOk + +`func (o *RackType) 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 *RackType) SetLastUpdated(v time.Time)` + +SetLastUpdated sets LastUpdated field to given value. + + +### SetLastUpdatedNil + +`func (o *RackType) SetLastUpdatedNil(b bool)` + + SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil + +### UnsetLastUpdated +`func (o *RackType) UnsetLastUpdated()` + +UnsetLastUpdated ensures that no value is present for LastUpdated, 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/RackTypeRequest.md b/docs/RackTypeRequest.md new file mode 100644 index 000000000..bbf79de3a --- /dev/null +++ b/docs/RackTypeRequest.md @@ -0,0 +1,589 @@ +# RackTypeRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Manufacturer** | [**BriefManufacturerRequest**](BriefManufacturerRequest.md) | | +**Model** | **string** | | +**Slug** | **string** | | +**Description** | Pointer to **string** | | [optional] +**FormFactor** | Pointer to [**NullableRackRequestFormFactor**](RackRequestFormFactor.md) | | [optional] +**Width** | Pointer to [**RackWidthValue**](RackWidthValue.md) | | [optional] +**UHeight** | Pointer to **int32** | Height in rack units | [optional] +**StartingUnit** | Pointer to **int32** | Starting unit for rack | [optional] +**DescUnits** | Pointer to **bool** | Units are numbered top-to-bottom | [optional] +**OuterWidth** | Pointer to **NullableInt32** | Outer dimension of rack (width) | [optional] +**OuterDepth** | Pointer to **NullableInt32** | Outer dimension of rack (depth) | [optional] +**OuterUnit** | Pointer to [**NullableRackRequestOuterUnit**](RackRequestOuterUnit.md) | | [optional] +**Weight** | Pointer to **NullableFloat64** | | [optional] +**MaxWeight** | Pointer to **NullableInt32** | Maximum load capacity for the rack | [optional] +**WeightUnit** | Pointer to [**NullableDeviceTypeRequestWeightUnit**](DeviceTypeRequestWeightUnit.md) | | [optional] +**MountingDepth** | Pointer to **NullableInt32** | Maximum depth of a mounted device, in millimeters. For four-post racks, this is the distance between the front and rear rails. | [optional] +**Comments** | Pointer to **string** | | [optional] +**Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] + +## Methods + +### NewRackTypeRequest + +`func NewRackTypeRequest(manufacturer BriefManufacturerRequest, model string, slug string, ) *RackTypeRequest` + +NewRackTypeRequest instantiates a new RackTypeRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewRackTypeRequestWithDefaults + +`func NewRackTypeRequestWithDefaults() *RackTypeRequest` + +NewRackTypeRequestWithDefaults instantiates a new RackTypeRequest object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetManufacturer + +`func (o *RackTypeRequest) GetManufacturer() BriefManufacturerRequest` + +GetManufacturer returns the Manufacturer field if non-nil, zero value otherwise. + +### GetManufacturerOk + +`func (o *RackTypeRequest) GetManufacturerOk() (*BriefManufacturerRequest, bool)` + +GetManufacturerOk returns a tuple with the Manufacturer field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetManufacturer + +`func (o *RackTypeRequest) SetManufacturer(v BriefManufacturerRequest)` + +SetManufacturer sets Manufacturer field to given value. + + +### GetModel + +`func (o *RackTypeRequest) GetModel() string` + +GetModel returns the Model field if non-nil, zero value otherwise. + +### GetModelOk + +`func (o *RackTypeRequest) GetModelOk() (*string, bool)` + +GetModelOk returns a tuple with the Model field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetModel + +`func (o *RackTypeRequest) SetModel(v string)` + +SetModel sets Model field to given value. + + +### GetSlug + +`func (o *RackTypeRequest) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *RackTypeRequest) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *RackTypeRequest) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetDescription + +`func (o *RackTypeRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *RackTypeRequest) 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 *RackTypeRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *RackTypeRequest) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetFormFactor + +`func (o *RackTypeRequest) GetFormFactor() RackRequestFormFactor` + +GetFormFactor returns the FormFactor field if non-nil, zero value otherwise. + +### GetFormFactorOk + +`func (o *RackTypeRequest) GetFormFactorOk() (*RackRequestFormFactor, bool)` + +GetFormFactorOk returns a tuple with the FormFactor field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFormFactor + +`func (o *RackTypeRequest) SetFormFactor(v RackRequestFormFactor)` + +SetFormFactor sets FormFactor field to given value. + +### HasFormFactor + +`func (o *RackTypeRequest) HasFormFactor() bool` + +HasFormFactor returns a boolean if a field has been set. + +### SetFormFactorNil + +`func (o *RackTypeRequest) SetFormFactorNil(b bool)` + + SetFormFactorNil sets the value for FormFactor to be an explicit nil + +### UnsetFormFactor +`func (o *RackTypeRequest) UnsetFormFactor()` + +UnsetFormFactor ensures that no value is present for FormFactor, not even an explicit nil +### GetWidth + +`func (o *RackTypeRequest) GetWidth() RackWidthValue` + +GetWidth returns the Width field if non-nil, zero value otherwise. + +### GetWidthOk + +`func (o *RackTypeRequest) GetWidthOk() (*RackWidthValue, bool)` + +GetWidthOk returns a tuple with the Width field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWidth + +`func (o *RackTypeRequest) SetWidth(v RackWidthValue)` + +SetWidth sets Width field to given value. + +### HasWidth + +`func (o *RackTypeRequest) HasWidth() bool` + +HasWidth returns a boolean if a field has been set. + +### GetUHeight + +`func (o *RackTypeRequest) GetUHeight() int32` + +GetUHeight returns the UHeight field if non-nil, zero value otherwise. + +### GetUHeightOk + +`func (o *RackTypeRequest) GetUHeightOk() (*int32, bool)` + +GetUHeightOk returns a tuple with the UHeight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUHeight + +`func (o *RackTypeRequest) SetUHeight(v int32)` + +SetUHeight sets UHeight field to given value. + +### HasUHeight + +`func (o *RackTypeRequest) HasUHeight() bool` + +HasUHeight returns a boolean if a field has been set. + +### GetStartingUnit + +`func (o *RackTypeRequest) GetStartingUnit() int32` + +GetStartingUnit returns the StartingUnit field if non-nil, zero value otherwise. + +### GetStartingUnitOk + +`func (o *RackTypeRequest) GetStartingUnitOk() (*int32, bool)` + +GetStartingUnitOk returns a tuple with the StartingUnit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStartingUnit + +`func (o *RackTypeRequest) SetStartingUnit(v int32)` + +SetStartingUnit sets StartingUnit field to given value. + +### HasStartingUnit + +`func (o *RackTypeRequest) HasStartingUnit() bool` + +HasStartingUnit returns a boolean if a field has been set. + +### GetDescUnits + +`func (o *RackTypeRequest) GetDescUnits() bool` + +GetDescUnits returns the DescUnits field if non-nil, zero value otherwise. + +### GetDescUnitsOk + +`func (o *RackTypeRequest) GetDescUnitsOk() (*bool, bool)` + +GetDescUnitsOk returns a tuple with the DescUnits field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDescUnits + +`func (o *RackTypeRequest) SetDescUnits(v bool)` + +SetDescUnits sets DescUnits field to given value. + +### HasDescUnits + +`func (o *RackTypeRequest) HasDescUnits() bool` + +HasDescUnits returns a boolean if a field has been set. + +### GetOuterWidth + +`func (o *RackTypeRequest) GetOuterWidth() int32` + +GetOuterWidth returns the OuterWidth field if non-nil, zero value otherwise. + +### GetOuterWidthOk + +`func (o *RackTypeRequest) GetOuterWidthOk() (*int32, bool)` + +GetOuterWidthOk returns a tuple with the OuterWidth field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOuterWidth + +`func (o *RackTypeRequest) SetOuterWidth(v int32)` + +SetOuterWidth sets OuterWidth field to given value. + +### HasOuterWidth + +`func (o *RackTypeRequest) HasOuterWidth() bool` + +HasOuterWidth returns a boolean if a field has been set. + +### SetOuterWidthNil + +`func (o *RackTypeRequest) SetOuterWidthNil(b bool)` + + SetOuterWidthNil sets the value for OuterWidth to be an explicit nil + +### UnsetOuterWidth +`func (o *RackTypeRequest) UnsetOuterWidth()` + +UnsetOuterWidth ensures that no value is present for OuterWidth, not even an explicit nil +### GetOuterDepth + +`func (o *RackTypeRequest) GetOuterDepth() int32` + +GetOuterDepth returns the OuterDepth field if non-nil, zero value otherwise. + +### GetOuterDepthOk + +`func (o *RackTypeRequest) GetOuterDepthOk() (*int32, bool)` + +GetOuterDepthOk returns a tuple with the OuterDepth field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOuterDepth + +`func (o *RackTypeRequest) SetOuterDepth(v int32)` + +SetOuterDepth sets OuterDepth field to given value. + +### HasOuterDepth + +`func (o *RackTypeRequest) HasOuterDepth() bool` + +HasOuterDepth returns a boolean if a field has been set. + +### SetOuterDepthNil + +`func (o *RackTypeRequest) SetOuterDepthNil(b bool)` + + SetOuterDepthNil sets the value for OuterDepth to be an explicit nil + +### UnsetOuterDepth +`func (o *RackTypeRequest) UnsetOuterDepth()` + +UnsetOuterDepth ensures that no value is present for OuterDepth, not even an explicit nil +### GetOuterUnit + +`func (o *RackTypeRequest) GetOuterUnit() RackRequestOuterUnit` + +GetOuterUnit returns the OuterUnit field if non-nil, zero value otherwise. + +### GetOuterUnitOk + +`func (o *RackTypeRequest) GetOuterUnitOk() (*RackRequestOuterUnit, bool)` + +GetOuterUnitOk returns a tuple with the OuterUnit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOuterUnit + +`func (o *RackTypeRequest) SetOuterUnit(v RackRequestOuterUnit)` + +SetOuterUnit sets OuterUnit field to given value. + +### HasOuterUnit + +`func (o *RackTypeRequest) HasOuterUnit() bool` + +HasOuterUnit returns a boolean if a field has been set. + +### SetOuterUnitNil + +`func (o *RackTypeRequest) SetOuterUnitNil(b bool)` + + SetOuterUnitNil sets the value for OuterUnit to be an explicit nil + +### UnsetOuterUnit +`func (o *RackTypeRequest) UnsetOuterUnit()` + +UnsetOuterUnit ensures that no value is present for OuterUnit, not even an explicit nil +### GetWeight + +`func (o *RackTypeRequest) GetWeight() float64` + +GetWeight returns the Weight field if non-nil, zero value otherwise. + +### GetWeightOk + +`func (o *RackTypeRequest) GetWeightOk() (*float64, bool)` + +GetWeightOk returns a tuple with the Weight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWeight + +`func (o *RackTypeRequest) SetWeight(v float64)` + +SetWeight sets Weight field to given value. + +### HasWeight + +`func (o *RackTypeRequest) HasWeight() bool` + +HasWeight returns a boolean if a field has been set. + +### SetWeightNil + +`func (o *RackTypeRequest) SetWeightNil(b bool)` + + SetWeightNil sets the value for Weight to be an explicit nil + +### UnsetWeight +`func (o *RackTypeRequest) UnsetWeight()` + +UnsetWeight ensures that no value is present for Weight, not even an explicit nil +### GetMaxWeight + +`func (o *RackTypeRequest) GetMaxWeight() int32` + +GetMaxWeight returns the MaxWeight field if non-nil, zero value otherwise. + +### GetMaxWeightOk + +`func (o *RackTypeRequest) GetMaxWeightOk() (*int32, bool)` + +GetMaxWeightOk returns a tuple with the MaxWeight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxWeight + +`func (o *RackTypeRequest) SetMaxWeight(v int32)` + +SetMaxWeight sets MaxWeight field to given value. + +### HasMaxWeight + +`func (o *RackTypeRequest) HasMaxWeight() bool` + +HasMaxWeight returns a boolean if a field has been set. + +### SetMaxWeightNil + +`func (o *RackTypeRequest) SetMaxWeightNil(b bool)` + + SetMaxWeightNil sets the value for MaxWeight to be an explicit nil + +### UnsetMaxWeight +`func (o *RackTypeRequest) UnsetMaxWeight()` + +UnsetMaxWeight ensures that no value is present for MaxWeight, not even an explicit nil +### GetWeightUnit + +`func (o *RackTypeRequest) GetWeightUnit() DeviceTypeRequestWeightUnit` + +GetWeightUnit returns the WeightUnit field if non-nil, zero value otherwise. + +### GetWeightUnitOk + +`func (o *RackTypeRequest) GetWeightUnitOk() (*DeviceTypeRequestWeightUnit, bool)` + +GetWeightUnitOk returns a tuple with the WeightUnit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWeightUnit + +`func (o *RackTypeRequest) SetWeightUnit(v DeviceTypeRequestWeightUnit)` + +SetWeightUnit sets WeightUnit field to given value. + +### HasWeightUnit + +`func (o *RackTypeRequest) HasWeightUnit() bool` + +HasWeightUnit returns a boolean if a field has been set. + +### SetWeightUnitNil + +`func (o *RackTypeRequest) SetWeightUnitNil(b bool)` + + SetWeightUnitNil sets the value for WeightUnit to be an explicit nil + +### UnsetWeightUnit +`func (o *RackTypeRequest) UnsetWeightUnit()` + +UnsetWeightUnit ensures that no value is present for WeightUnit, not even an explicit nil +### GetMountingDepth + +`func (o *RackTypeRequest) GetMountingDepth() int32` + +GetMountingDepth returns the MountingDepth field if non-nil, zero value otherwise. + +### GetMountingDepthOk + +`func (o *RackTypeRequest) GetMountingDepthOk() (*int32, bool)` + +GetMountingDepthOk returns a tuple with the MountingDepth field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMountingDepth + +`func (o *RackTypeRequest) SetMountingDepth(v int32)` + +SetMountingDepth sets MountingDepth field to given value. + +### HasMountingDepth + +`func (o *RackTypeRequest) HasMountingDepth() bool` + +HasMountingDepth returns a boolean if a field has been set. + +### SetMountingDepthNil + +`func (o *RackTypeRequest) SetMountingDepthNil(b bool)` + + SetMountingDepthNil sets the value for MountingDepth to be an explicit nil + +### UnsetMountingDepth +`func (o *RackTypeRequest) UnsetMountingDepth()` + +UnsetMountingDepth ensures that no value is present for MountingDepth, not even an explicit nil +### GetComments + +`func (o *RackTypeRequest) GetComments() string` + +GetComments returns the Comments field if non-nil, zero value otherwise. + +### GetCommentsOk + +`func (o *RackTypeRequest) GetCommentsOk() (*string, bool)` + +GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComments + +`func (o *RackTypeRequest) SetComments(v string)` + +SetComments sets Comments field to given value. + +### HasComments + +`func (o *RackTypeRequest) HasComments() bool` + +HasComments returns a boolean if a field has been set. + +### GetTags + +`func (o *RackTypeRequest) GetTags() []NestedTagRequest` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *RackTypeRequest) GetTagsOk() (*[]NestedTagRequest, 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 *RackTypeRequest) SetTags(v []NestedTagRequest)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *RackTypeRequest) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *RackTypeRequest) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *RackTypeRequest) 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 *RackTypeRequest) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *RackTypeRequest) 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/RackUnit.md b/docs/RackUnit.md index 507d76f97..170729fb9 100644 --- a/docs/RackUnit.md +++ b/docs/RackUnit.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **Id** | **float64** | | [readonly] **Name** | **string** | | [readonly] **Face** | [**RackUnitFace**](RackUnitFace.md) | | -**Device** | [**Device**](Device.md) | | [readonly] +**Device** | [**BriefDevice**](BriefDevice.md) | | [readonly] **Occupied** | **bool** | | [readonly] **Display** | **string** | | [readonly] @@ -15,7 +15,7 @@ Name | Type | Description | Notes ### NewRackUnit -`func NewRackUnit(id float64, name string, face RackUnitFace, device Device, occupied bool, display string, ) *RackUnit` +`func NewRackUnit(id float64, name string, face RackUnitFace, device BriefDevice, occupied bool, display string, ) *RackUnit` NewRackUnit instantiates a new RackUnit object This constructor will assign default values to properties that have it defined, @@ -92,20 +92,20 @@ SetFace sets Face field to given value. ### GetDevice -`func (o *RackUnit) GetDevice() Device` +`func (o *RackUnit) GetDevice() BriefDevice` GetDevice returns the Device field if non-nil, zero value otherwise. ### GetDeviceOk -`func (o *RackUnit) GetDeviceOk() (*Device, bool)` +`func (o *RackUnit) GetDeviceOk() (*BriefDevice, 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 *RackUnit) SetDevice(v Device)` +`func (o *RackUnit) SetDevice(v BriefDevice)` SetDevice sets Device field to given value. diff --git a/docs/RackWidth.md b/docs/RackWidth.md new file mode 100644 index 000000000..04b03ffe8 --- /dev/null +++ b/docs/RackWidth.md @@ -0,0 +1,82 @@ +# RackWidth + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Value** | Pointer to [**RackWidthValue**](RackWidthValue.md) | | [optional] +**Label** | Pointer to [**RackWidthLabel**](RackWidthLabel.md) | | [optional] + +## Methods + +### NewRackWidth + +`func NewRackWidth() *RackWidth` + +NewRackWidth instantiates a new RackWidth object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewRackWidthWithDefaults + +`func NewRackWidthWithDefaults() *RackWidth` + +NewRackWidthWithDefaults instantiates a new RackWidth object +This 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 *RackWidth) GetValue() RackWidthValue` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *RackWidth) GetValueOk() (*RackWidthValue, 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 *RackWidth) SetValue(v RackWidthValue)` + +SetValue sets Value field to given value. + +### HasValue + +`func (o *RackWidth) HasValue() bool` + +HasValue returns a boolean if a field has been set. + +### GetLabel + +`func (o *RackWidth) GetLabel() RackWidthLabel` + +GetLabel returns the Label field if non-nil, zero value otherwise. + +### GetLabelOk + +`func (o *RackWidth) GetLabelOk() (*RackWidthLabel, 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 *RackWidth) SetLabel(v RackWidthLabel)` + +SetLabel sets Label field to given value. + +### HasLabel + +`func (o *RackWidth) 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/RackWidthLabel.md b/docs/RackWidthLabel.md new file mode 100644 index 000000000..c6fa6cba1 --- /dev/null +++ b/docs/RackWidthLabel.md @@ -0,0 +1,17 @@ +# RackWidthLabel + +## Enum + + +* `_10_INCHES` (value: `"10 inches"`) + +* `_19_INCHES` (value: `"19 inches"`) + +* `_21_INCHES` (value: `"21 inches"`) + +* `_23_INCHES` (value: `"23 inches"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/RackWidthValue.md b/docs/RackWidthValue.md new file mode 100644 index 000000000..c4f90af4d --- /dev/null +++ b/docs/RackWidthValue.md @@ -0,0 +1,17 @@ +# RackWidthValue + +## Enum + + +* `_10` (value: `10`) + +* `_19` (value: `19`) + +* `_21` (value: `21`) + +* `_23` (value: `23`) + + +[[Back to Model list]](../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 18ec1face..ffb400f7a 100644 --- a/docs/RearPort.md +++ b/docs/RearPort.md @@ -6,9 +6,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] -**Device** | [**Device**](Device.md) | | -**Module** | Pointer to [**NullableModule**](Module.md) | | [optional] +**Device** | [**BriefDevice**](BriefDevice.md) | | +**Module** | Pointer to [**NullableBriefModule**](BriefModule.md) | | [optional] **Name** | **string** | | **Label** | Pointer to **string** | Physical label | [optional] **Type** | [**FrontPortType**](FrontPortType.md) | | @@ -16,10 +17,10 @@ Name | Type | Description | Notes **Positions** | Pointer to **int32** | Number of front ports which may be mapped | [optional] **Description** | Pointer to **string** | | [optional] **MarkConnected** | Pointer to **bool** | Treat as if a cable is connected | [optional] -**Cable** | [**NullableCable**](Cable.md) | | [readonly] +**Cable** | [**NullableBriefCable**](BriefCable.md) | | [readonly] **CableEnd** | **string** | | [readonly] **LinkPeers** | **[]interface{}** | | [readonly] -**LinkPeersType** | **string** | Return the type of the peer link terminations, or None. | [readonly] +**LinkPeersType** | **NullableString** | Return the type of the peer link terminations, or None. | [readonly] **Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] **Created** | **NullableTime** | | [readonly] @@ -30,7 +31,7 @@ Name | Type | Description | Notes ### NewRearPort -`func NewRearPort(id int32, url string, display string, device Device, name string, type_ FrontPortType, cable NullableCable, cableEnd string, linkPeers []interface{}, linkPeersType string, created NullableTime, lastUpdated NullableTime, occupied bool, ) *RearPort` +`func NewRearPort(id int32, url string, display string, device BriefDevice, name string, type_ FrontPortType, cable NullableBriefCable, cableEnd string, linkPeers []interface{}, linkPeersType NullableString, created NullableTime, lastUpdated NullableTime, occupied bool, ) *RearPort` NewRearPort instantiates a new RearPort object This constructor will assign default values to properties that have it defined, @@ -85,6 +86,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *RearPort) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *RearPort) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *RearPort) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *RearPort) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *RearPort) GetDisplay() string` @@ -107,40 +133,40 @@ SetDisplay sets Display field to given value. ### GetDevice -`func (o *RearPort) GetDevice() Device` +`func (o *RearPort) GetDevice() BriefDevice` GetDevice returns the Device field if non-nil, zero value otherwise. ### GetDeviceOk -`func (o *RearPort) GetDeviceOk() (*Device, bool)` +`func (o *RearPort) GetDeviceOk() (*BriefDevice, 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 *RearPort) SetDevice(v Device)` +`func (o *RearPort) SetDevice(v BriefDevice)` SetDevice sets Device field to given value. ### GetModule -`func (o *RearPort) GetModule() Module` +`func (o *RearPort) GetModule() BriefModule` GetModule returns the Module field if non-nil, zero value otherwise. ### GetModuleOk -`func (o *RearPort) GetModuleOk() (*Module, bool)` +`func (o *RearPort) GetModuleOk() (*BriefModule, bool)` GetModuleOk returns a tuple with the Module field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetModule -`func (o *RearPort) SetModule(v Module)` +`func (o *RearPort) SetModule(v BriefModule)` SetModule sets Module field to given value. @@ -327,20 +353,20 @@ HasMarkConnected returns a boolean if a field has been set. ### GetCable -`func (o *RearPort) GetCable() Cable` +`func (o *RearPort) GetCable() BriefCable` GetCable returns the Cable field if non-nil, zero value otherwise. ### GetCableOk -`func (o *RearPort) GetCableOk() (*Cable, bool)` +`func (o *RearPort) GetCableOk() (*BriefCable, bool)` GetCableOk returns a tuple with the Cable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCable -`func (o *RearPort) SetCable(v Cable)` +`func (o *RearPort) SetCable(v BriefCable)` SetCable sets Cable field to given value. @@ -415,6 +441,16 @@ and a boolean to check if the value has been set. SetLinkPeersType sets LinkPeersType field to given value. +### SetLinkPeersTypeNil + +`func (o *RearPort) SetLinkPeersTypeNil(b bool)` + + SetLinkPeersTypeNil sets the value for LinkPeersType to be an explicit nil + +### UnsetLinkPeersType +`func (o *RearPort) UnsetLinkPeersType()` + +UnsetLinkPeersType ensures that no value is present for LinkPeersType, not even an explicit nil ### GetTags `func (o *RearPort) GetTags() []NestedTag` diff --git a/docs/RearPortRequest.md b/docs/RearPortRequest.md index 3555c4450..8a6a32755 100644 --- a/docs/RearPortRequest.md +++ b/docs/RearPortRequest.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Device** | [**DeviceRequest**](DeviceRequest.md) | | -**Module** | Pointer to [**NullableModuleRequest**](ModuleRequest.md) | | [optional] +**Device** | [**BriefDeviceRequest**](BriefDeviceRequest.md) | | +**Module** | Pointer to [**NullableBriefModuleRequest**](BriefModuleRequest.md) | | [optional] **Name** | **string** | | **Label** | Pointer to **string** | Physical label | [optional] **Type** | [**FrontPortTypeValue**](FrontPortTypeValue.md) | | @@ -20,7 +20,7 @@ Name | Type | Description | Notes ### NewRearPortRequest -`func NewRearPortRequest(device DeviceRequest, name string, type_ FrontPortTypeValue, ) *RearPortRequest` +`func NewRearPortRequest(device BriefDeviceRequest, name string, type_ FrontPortTypeValue, ) *RearPortRequest` NewRearPortRequest instantiates a new RearPortRequest object This constructor will assign default values to properties that have it defined, @@ -37,40 +37,40 @@ but it doesn't guarantee that properties required by API are set ### GetDevice -`func (o *RearPortRequest) GetDevice() DeviceRequest` +`func (o *RearPortRequest) GetDevice() BriefDeviceRequest` GetDevice returns the Device field if non-nil, zero value otherwise. ### GetDeviceOk -`func (o *RearPortRequest) GetDeviceOk() (*DeviceRequest, bool)` +`func (o *RearPortRequest) GetDeviceOk() (*BriefDeviceRequest, 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 *RearPortRequest) SetDevice(v DeviceRequest)` +`func (o *RearPortRequest) SetDevice(v BriefDeviceRequest)` SetDevice sets Device field to given value. ### GetModule -`func (o *RearPortRequest) GetModule() ModuleRequest` +`func (o *RearPortRequest) GetModule() BriefModuleRequest` GetModule returns the Module field if non-nil, zero value otherwise. ### GetModuleOk -`func (o *RearPortRequest) GetModuleOk() (*ModuleRequest, bool)` +`func (o *RearPortRequest) GetModuleOk() (*BriefModuleRequest, bool)` GetModuleOk returns a tuple with the Module field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetModule -`func (o *RearPortRequest) SetModule(v ModuleRequest)` +`func (o *RearPortRequest) SetModule(v BriefModuleRequest)` SetModule sets Module field to given value. diff --git a/docs/RearPortTemplate.md b/docs/RearPortTemplate.md index 004494da3..a687076f7 100644 --- a/docs/RearPortTemplate.md +++ b/docs/RearPortTemplate.md @@ -7,14 +7,22 @@ Name | Type | Description | Notes **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] **Display** | **string** | | [readonly] +**DeviceType** | Pointer to [**NullableBriefDeviceType**](BriefDeviceType.md) | | [optional] +**ModuleType** | Pointer to [**NullableBriefModuleType**](BriefModuleType.md) | | [optional] **Name** | **string** | {module} is accepted as a substitution for the module bay position when attached to a module type. | +**Label** | Pointer to **string** | Physical label | [optional] +**Type** | [**FrontPortType**](FrontPortType.md) | | +**Color** | Pointer to **string** | | [optional] +**Positions** | Pointer to **int32** | | [optional] **Description** | Pointer to **string** | | [optional] +**Created** | **NullableTime** | | [readonly] +**LastUpdated** | **NullableTime** | | [readonly] ## Methods ### NewRearPortTemplate -`func NewRearPortTemplate(id int32, url string, display string, name string, ) *RearPortTemplate` +`func NewRearPortTemplate(id int32, url string, display string, name string, type_ FrontPortType, created NullableTime, lastUpdated NullableTime, ) *RearPortTemplate` NewRearPortTemplate instantiates a new RearPortTemplate object This constructor will assign default values to properties that have it defined, @@ -89,6 +97,76 @@ and a boolean to check if the value has been set. SetDisplay sets Display field to given value. +### GetDeviceType + +`func (o *RearPortTemplate) GetDeviceType() BriefDeviceType` + +GetDeviceType returns the DeviceType field if non-nil, zero value otherwise. + +### GetDeviceTypeOk + +`func (o *RearPortTemplate) GetDeviceTypeOk() (*BriefDeviceType, bool)` + +GetDeviceTypeOk returns a tuple with the DeviceType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDeviceType + +`func (o *RearPortTemplate) SetDeviceType(v BriefDeviceType)` + +SetDeviceType sets DeviceType field to given value. + +### HasDeviceType + +`func (o *RearPortTemplate) HasDeviceType() bool` + +HasDeviceType returns a boolean if a field has been set. + +### SetDeviceTypeNil + +`func (o *RearPortTemplate) SetDeviceTypeNil(b bool)` + + SetDeviceTypeNil sets the value for DeviceType to be an explicit nil + +### UnsetDeviceType +`func (o *RearPortTemplate) UnsetDeviceType()` + +UnsetDeviceType ensures that no value is present for DeviceType, not even an explicit nil +### GetModuleType + +`func (o *RearPortTemplate) GetModuleType() BriefModuleType` + +GetModuleType returns the ModuleType field if non-nil, zero value otherwise. + +### GetModuleTypeOk + +`func (o *RearPortTemplate) GetModuleTypeOk() (*BriefModuleType, bool)` + +GetModuleTypeOk returns a tuple with the ModuleType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetModuleType + +`func (o *RearPortTemplate) SetModuleType(v BriefModuleType)` + +SetModuleType sets ModuleType field to given value. + +### HasModuleType + +`func (o *RearPortTemplate) HasModuleType() bool` + +HasModuleType returns a boolean if a field has been set. + +### SetModuleTypeNil + +`func (o *RearPortTemplate) SetModuleTypeNil(b bool)` + + SetModuleTypeNil sets the value for ModuleType to be an explicit nil + +### UnsetModuleType +`func (o *RearPortTemplate) UnsetModuleType()` + +UnsetModuleType ensures that no value is present for ModuleType, not even an explicit nil ### GetName `func (o *RearPortTemplate) GetName() string` @@ -109,6 +187,101 @@ and a boolean to check if the value has been set. SetName sets Name field to given value. +### GetLabel + +`func (o *RearPortTemplate) GetLabel() string` + +GetLabel returns the Label field if non-nil, zero value otherwise. + +### GetLabelOk + +`func (o *RearPortTemplate) GetLabelOk() (*string, 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 *RearPortTemplate) SetLabel(v string)` + +SetLabel sets Label field to given value. + +### HasLabel + +`func (o *RearPortTemplate) HasLabel() bool` + +HasLabel returns a boolean if a field has been set. + +### GetType + +`func (o *RearPortTemplate) GetType() FrontPortType` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *RearPortTemplate) GetTypeOk() (*FrontPortType, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *RearPortTemplate) SetType(v FrontPortType)` + +SetType sets Type field to given value. + + +### GetColor + +`func (o *RearPortTemplate) GetColor() string` + +GetColor returns the Color field if non-nil, zero value otherwise. + +### GetColorOk + +`func (o *RearPortTemplate) GetColorOk() (*string, bool)` + +GetColorOk returns a tuple with the Color field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetColor + +`func (o *RearPortTemplate) SetColor(v string)` + +SetColor sets Color field to given value. + +### HasColor + +`func (o *RearPortTemplate) HasColor() bool` + +HasColor returns a boolean if a field has been set. + +### GetPositions + +`func (o *RearPortTemplate) GetPositions() int32` + +GetPositions returns the Positions field if non-nil, zero value otherwise. + +### GetPositionsOk + +`func (o *RearPortTemplate) GetPositionsOk() (*int32, bool)` + +GetPositionsOk returns a tuple with the Positions field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPositions + +`func (o *RearPortTemplate) SetPositions(v int32)` + +SetPositions sets Positions field to given value. + +### HasPositions + +`func (o *RearPortTemplate) HasPositions() bool` + +HasPositions returns a boolean if a field has been set. + ### GetDescription `func (o *RearPortTemplate) GetDescription() string` @@ -134,6 +307,66 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetCreated + +`func (o *RearPortTemplate) GetCreated() time.Time` + +GetCreated returns the Created field if non-nil, zero value otherwise. + +### GetCreatedOk + +`func (o *RearPortTemplate) 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 *RearPortTemplate) SetCreated(v time.Time)` + +SetCreated sets Created field to given value. + + +### SetCreatedNil + +`func (o *RearPortTemplate) SetCreatedNil(b bool)` + + SetCreatedNil sets the value for Created to be an explicit nil + +### UnsetCreated +`func (o *RearPortTemplate) UnsetCreated()` + +UnsetCreated ensures that no value is present for Created, not even an explicit nil +### GetLastUpdated + +`func (o *RearPortTemplate) GetLastUpdated() time.Time` + +GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise. + +### GetLastUpdatedOk + +`func (o *RearPortTemplate) 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 *RearPortTemplate) SetLastUpdated(v time.Time)` + +SetLastUpdated sets LastUpdated field to given value. + + +### SetLastUpdatedNil + +`func (o *RearPortTemplate) SetLastUpdatedNil(b bool)` + + SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil + +### UnsetLastUpdated +`func (o *RearPortTemplate) UnsetLastUpdated()` + +UnsetLastUpdated ensures that no value is present for LastUpdated, 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/RearPortTemplateRequest.md b/docs/RearPortTemplateRequest.md index d139cde91..71bf28cd3 100644 --- a/docs/RearPortTemplateRequest.md +++ b/docs/RearPortTemplateRequest.md @@ -4,14 +4,20 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**DeviceType** | Pointer to [**NullableBriefDeviceTypeRequest**](BriefDeviceTypeRequest.md) | | [optional] +**ModuleType** | Pointer to [**NullableBriefModuleTypeRequest**](BriefModuleTypeRequest.md) | | [optional] **Name** | **string** | {module} is accepted as a substitution for the module bay position when attached to a module type. | +**Label** | Pointer to **string** | Physical label | [optional] +**Type** | [**FrontPortTypeValue**](FrontPortTypeValue.md) | | +**Color** | Pointer to **string** | | [optional] +**Positions** | Pointer to **int32** | | [optional] **Description** | Pointer to **string** | | [optional] ## Methods ### NewRearPortTemplateRequest -`func NewRearPortTemplateRequest(name string, ) *RearPortTemplateRequest` +`func NewRearPortTemplateRequest(name string, type_ FrontPortTypeValue, ) *RearPortTemplateRequest` NewRearPortTemplateRequest instantiates a new RearPortTemplateRequest object This constructor will assign default values to properties that have it defined, @@ -26,6 +32,76 @@ NewRearPortTemplateRequestWithDefaults instantiates a new RearPortTemplateReques This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set +### GetDeviceType + +`func (o *RearPortTemplateRequest) GetDeviceType() BriefDeviceTypeRequest` + +GetDeviceType returns the DeviceType field if non-nil, zero value otherwise. + +### GetDeviceTypeOk + +`func (o *RearPortTemplateRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool)` + +GetDeviceTypeOk returns a tuple with the DeviceType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDeviceType + +`func (o *RearPortTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest)` + +SetDeviceType sets DeviceType field to given value. + +### HasDeviceType + +`func (o *RearPortTemplateRequest) HasDeviceType() bool` + +HasDeviceType returns a boolean if a field has been set. + +### SetDeviceTypeNil + +`func (o *RearPortTemplateRequest) SetDeviceTypeNil(b bool)` + + SetDeviceTypeNil sets the value for DeviceType to be an explicit nil + +### UnsetDeviceType +`func (o *RearPortTemplateRequest) UnsetDeviceType()` + +UnsetDeviceType ensures that no value is present for DeviceType, not even an explicit nil +### GetModuleType + +`func (o *RearPortTemplateRequest) GetModuleType() BriefModuleTypeRequest` + +GetModuleType returns the ModuleType field if non-nil, zero value otherwise. + +### GetModuleTypeOk + +`func (o *RearPortTemplateRequest) GetModuleTypeOk() (*BriefModuleTypeRequest, bool)` + +GetModuleTypeOk returns a tuple with the ModuleType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetModuleType + +`func (o *RearPortTemplateRequest) SetModuleType(v BriefModuleTypeRequest)` + +SetModuleType sets ModuleType field to given value. + +### HasModuleType + +`func (o *RearPortTemplateRequest) HasModuleType() bool` + +HasModuleType returns a boolean if a field has been set. + +### SetModuleTypeNil + +`func (o *RearPortTemplateRequest) SetModuleTypeNil(b bool)` + + SetModuleTypeNil sets the value for ModuleType to be an explicit nil + +### UnsetModuleType +`func (o *RearPortTemplateRequest) UnsetModuleType()` + +UnsetModuleType ensures that no value is present for ModuleType, not even an explicit nil ### GetName `func (o *RearPortTemplateRequest) GetName() string` @@ -46,6 +122,101 @@ and a boolean to check if the value has been set. SetName sets Name field to given value. +### GetLabel + +`func (o *RearPortTemplateRequest) GetLabel() string` + +GetLabel returns the Label field if non-nil, zero value otherwise. + +### GetLabelOk + +`func (o *RearPortTemplateRequest) GetLabelOk() (*string, 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 *RearPortTemplateRequest) SetLabel(v string)` + +SetLabel sets Label field to given value. + +### HasLabel + +`func (o *RearPortTemplateRequest) HasLabel() bool` + +HasLabel returns a boolean if a field has been set. + +### GetType + +`func (o *RearPortTemplateRequest) GetType() FrontPortTypeValue` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *RearPortTemplateRequest) GetTypeOk() (*FrontPortTypeValue, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *RearPortTemplateRequest) SetType(v FrontPortTypeValue)` + +SetType sets Type field to given value. + + +### GetColor + +`func (o *RearPortTemplateRequest) GetColor() string` + +GetColor returns the Color field if non-nil, zero value otherwise. + +### GetColorOk + +`func (o *RearPortTemplateRequest) GetColorOk() (*string, bool)` + +GetColorOk returns a tuple with the Color field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetColor + +`func (o *RearPortTemplateRequest) SetColor(v string)` + +SetColor sets Color field to given value. + +### HasColor + +`func (o *RearPortTemplateRequest) HasColor() bool` + +HasColor returns a boolean if a field has been set. + +### GetPositions + +`func (o *RearPortTemplateRequest) GetPositions() int32` + +GetPositions returns the Positions field if non-nil, zero value otherwise. + +### GetPositionsOk + +`func (o *RearPortTemplateRequest) GetPositionsOk() (*int32, bool)` + +GetPositionsOk returns a tuple with the Positions field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPositions + +`func (o *RearPortTemplateRequest) SetPositions(v int32)` + +SetPositions sets Positions field to given value. + +### HasPositions + +`func (o *RearPortTemplateRequest) HasPositions() bool` + +HasPositions returns a boolean if a field has been set. + ### GetDescription `func (o *RearPortTemplateRequest) GetDescription() string` diff --git a/docs/Region.md b/docs/Region.md index f7c3a1a81..7169e9104 100644 --- a/docs/Region.md +++ b/docs/Region.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Name** | **string** | | **Slug** | **string** | | @@ -77,6 +78,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *Region) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *Region) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *Region) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *Region) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *Region) GetDisplay() string` diff --git a/docs/Role.md b/docs/Role.md index 5054c3ea7..e9c3050f6 100644 --- a/docs/Role.md +++ b/docs/Role.md @@ -6,18 +6,24 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Name** | **string** | | **Slug** | **string** | | +**Weight** | Pointer to **int32** | | [optional] **Description** | Pointer to **string** | | [optional] -**PrefixCount** | **int64** | | [readonly] -**VlanCount** | **int64** | | [readonly] +**Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] +**Created** | **NullableTime** | | [readonly] +**LastUpdated** | **NullableTime** | | [readonly] +**PrefixCount** | Pointer to **int64** | | [optional] [readonly] +**VlanCount** | Pointer to **int64** | | [optional] [readonly] ## Methods ### NewRole -`func NewRole(id int32, url string, display string, name string, slug string, prefixCount int64, vlanCount int64, ) *Role` +`func NewRole(id int32, url string, display string, name string, slug string, created NullableTime, lastUpdated NullableTime, ) *Role` NewRole instantiates a new Role object This constructor will assign default values to properties that have it defined, @@ -72,6 +78,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *Role) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *Role) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *Role) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *Role) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *Role) GetDisplay() string` @@ -132,6 +163,31 @@ and a boolean to check if the value has been set. SetSlug sets Slug field to given value. +### GetWeight + +`func (o *Role) GetWeight() int32` + +GetWeight returns the Weight field if non-nil, zero value otherwise. + +### GetWeightOk + +`func (o *Role) GetWeightOk() (*int32, bool)` + +GetWeightOk returns a tuple with the Weight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWeight + +`func (o *Role) SetWeight(v int32)` + +SetWeight sets Weight field to given value. + +### HasWeight + +`func (o *Role) HasWeight() bool` + +HasWeight returns a boolean if a field has been set. + ### GetDescription `func (o *Role) GetDescription() string` @@ -157,6 +213,116 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetTags + +`func (o *Role) GetTags() []NestedTag` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *Role) GetTagsOk() (*[]NestedTag, 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 *Role) SetTags(v []NestedTag)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *Role) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *Role) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *Role) 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 *Role) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *Role) HasCustomFields() bool` + +HasCustomFields returns a boolean if a field has been set. + +### GetCreated + +`func (o *Role) GetCreated() time.Time` + +GetCreated returns the Created field if non-nil, zero value otherwise. + +### GetCreatedOk + +`func (o *Role) 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 *Role) SetCreated(v time.Time)` + +SetCreated sets Created field to given value. + + +### SetCreatedNil + +`func (o *Role) SetCreatedNil(b bool)` + + SetCreatedNil sets the value for Created to be an explicit nil + +### UnsetCreated +`func (o *Role) UnsetCreated()` + +UnsetCreated ensures that no value is present for Created, not even an explicit nil +### GetLastUpdated + +`func (o *Role) GetLastUpdated() time.Time` + +GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise. + +### GetLastUpdatedOk + +`func (o *Role) 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 *Role) SetLastUpdated(v time.Time)` + +SetLastUpdated sets LastUpdated field to given value. + + +### SetLastUpdatedNil + +`func (o *Role) SetLastUpdatedNil(b bool)` + + SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil + +### UnsetLastUpdated +`func (o *Role) UnsetLastUpdated()` + +UnsetLastUpdated ensures that no value is present for LastUpdated, not even an explicit nil ### GetPrefixCount `func (o *Role) GetPrefixCount() int64` @@ -176,6 +342,11 @@ and a boolean to check if the value has been set. SetPrefixCount sets PrefixCount field to given value. +### HasPrefixCount + +`func (o *Role) HasPrefixCount() bool` + +HasPrefixCount returns a boolean if a field has been set. ### GetVlanCount @@ -196,6 +367,11 @@ and a boolean to check if the value has been set. SetVlanCount sets VlanCount field to given value. +### HasVlanCount + +`func (o *Role) HasVlanCount() bool` + +HasVlanCount 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/RoleRequest.md b/docs/RoleRequest.md index 4ea26627a..8a35bd48f 100644 --- a/docs/RoleRequest.md +++ b/docs/RoleRequest.md @@ -6,7 +6,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | **string** | | **Slug** | **string** | | +**Weight** | Pointer to **int32** | | [optional] **Description** | Pointer to **string** | | [optional] +**Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] ## Methods @@ -67,6 +70,31 @@ and a boolean to check if the value has been set. SetSlug sets Slug field to given value. +### GetWeight + +`func (o *RoleRequest) GetWeight() int32` + +GetWeight returns the Weight field if non-nil, zero value otherwise. + +### GetWeightOk + +`func (o *RoleRequest) GetWeightOk() (*int32, bool)` + +GetWeightOk returns a tuple with the Weight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWeight + +`func (o *RoleRequest) SetWeight(v int32)` + +SetWeight sets Weight field to given value. + +### HasWeight + +`func (o *RoleRequest) HasWeight() bool` + +HasWeight returns a boolean if a field has been set. + ### GetDescription `func (o *RoleRequest) GetDescription() string` @@ -92,6 +120,56 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetTags + +`func (o *RoleRequest) GetTags() []NestedTagRequest` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *RoleRequest) GetTagsOk() (*[]NestedTagRequest, 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 *RoleRequest) SetTags(v []NestedTagRequest)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *RoleRequest) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *RoleRequest) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *RoleRequest) 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 *RoleRequest) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *RoleRequest) 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/RouteTarget.md b/docs/RouteTarget.md index 55b89b478..23c665c37 100644 --- a/docs/RouteTarget.md +++ b/docs/RouteTarget.md @@ -6,9 +6,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Name** | **string** | Route target value (formatted in accordance with RFC 4360) | -**Tenant** | Pointer to [**NullableTenant**](Tenant.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenant**](BriefTenant.md) | | [optional] **Description** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] **Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] @@ -75,6 +76,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *RouteTarget) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *RouteTarget) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *RouteTarget) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *RouteTarget) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *RouteTarget) GetDisplay() string` @@ -117,20 +143,20 @@ SetName sets Name field to given value. ### GetTenant -`func (o *RouteTarget) GetTenant() Tenant` +`func (o *RouteTarget) GetTenant() BriefTenant` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *RouteTarget) GetTenantOk() (*Tenant, bool)` +`func (o *RouteTarget) GetTenantOk() (*BriefTenant, 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 *RouteTarget) SetTenant(v Tenant)` +`func (o *RouteTarget) SetTenant(v BriefTenant)` SetTenant sets Tenant field to given value. diff --git a/docs/RouteTargetRequest.md b/docs/RouteTargetRequest.md index 2627327d1..55aedbd23 100644 --- a/docs/RouteTargetRequest.md +++ b/docs/RouteTargetRequest.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | **string** | Route target value (formatted in accordance with RFC 4360) | -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] **Description** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] @@ -52,20 +52,20 @@ SetName sets Name field to given value. ### GetTenant -`func (o *RouteTargetRequest) GetTenant() TenantRequest` +`func (o *RouteTargetRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *RouteTargetRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *RouteTargetRequest) GetTenantOk() (*BriefTenantRequest, 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 *RouteTargetRequest) SetTenant(v TenantRequest)` +`func (o *RouteTargetRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. diff --git a/docs/SavedFilter.md b/docs/SavedFilter.md index 78ce2dbcb..62d5795ab 100644 --- a/docs/SavedFilter.md +++ b/docs/SavedFilter.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **ObjectTypes** | **[]string** | | **Name** | **string** | | @@ -78,6 +79,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *SavedFilter) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *SavedFilter) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *SavedFilter) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *SavedFilter) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *SavedFilter) GetDisplay() string` diff --git a/docs/SchemaAPI.md b/docs/SchemaAPI.md index 21435ca5d..166791f3f 100644 --- a/docs/SchemaAPI.md +++ b/docs/SchemaAPI.md @@ -30,7 +30,7 @@ import ( func main() { format := openapiclient.schema_retrieve_format_parameter("json") // SchemaRetrieveFormatParameter | (optional) - lang := openapiclient.schema_retrieve_lang_parameter("de") // SchemaRetrieveLangParameter | (optional) + lang := openapiclient.schema_retrieve_lang_parameter("cs") // SchemaRetrieveLangParameter | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) diff --git a/docs/SchemaRetrieveLangParameter.md b/docs/SchemaRetrieveLangParameter.md index aed2056cb..ffba2fac9 100644 --- a/docs/SchemaRetrieveLangParameter.md +++ b/docs/SchemaRetrieveLangParameter.md @@ -3,6 +3,10 @@ ## Enum +* `CS` (value: `"cs"`) + +* `DA` (value: `"da"`) + * `DE` (value: `"de"`) * `EN` (value: `"en"`) @@ -11,8 +15,14 @@ * `FR` (value: `"fr"`) +* `IT` (value: `"it"`) + * `JA` (value: `"ja"`) +* `NL` (value: `"nl"`) + +* `PL` (value: `"pl"`) + * `PT` (value: `"pt"`) * `RU` (value: `"ru"`) diff --git a/docs/Script.md b/docs/Script.md index e8ce7b887..15be2ac2a 100644 --- a/docs/Script.md +++ b/docs/Script.md @@ -6,11 +6,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Module** | **int32** | | [readonly] **Name** | **string** | | [readonly] -**Description** | **string** | | [readonly] +**Description** | **NullableString** | | [readonly] **Vars** | **interface{}** | | [readonly] -**Result** | [**Job**](Job.md) | | [readonly] +**Result** | [**BriefJob**](BriefJob.md) | | [readonly] **Display** | **string** | | [readonly] **IsExecutable** | **bool** | | [readonly] @@ -18,7 +19,7 @@ Name | Type | Description | Notes ### NewScript -`func NewScript(id int32, url string, module int32, name string, description string, vars interface{}, result Job, display string, isExecutable bool, ) *Script` +`func NewScript(id int32, url string, module int32, name string, description NullableString, vars interface{}, result BriefJob, display string, isExecutable bool, ) *Script` NewScript instantiates a new Script object This constructor will assign default values to properties that have it defined, @@ -73,6 +74,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *Script) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *Script) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *Script) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *Script) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetModule `func (o *Script) GetModule() int32` @@ -133,6 +159,16 @@ and a boolean to check if the value has been set. SetDescription sets Description field to given value. +### SetDescriptionNil + +`func (o *Script) SetDescriptionNil(b bool)` + + SetDescriptionNil sets the value for Description to be an explicit nil + +### UnsetDescription +`func (o *Script) UnsetDescription()` + +UnsetDescription ensures that no value is present for Description, not even an explicit nil ### GetVars `func (o *Script) GetVars() interface{}` @@ -165,20 +201,20 @@ SetVars sets Vars field to given value. UnsetVars ensures that no value is present for Vars, not even an explicit nil ### GetResult -`func (o *Script) GetResult() Job` +`func (o *Script) GetResult() BriefJob` GetResult returns the Result field if non-nil, zero value otherwise. ### GetResultOk -`func (o *Script) GetResultOk() (*Job, bool)` +`func (o *Script) GetResultOk() (*BriefJob, bool)` GetResultOk returns a tuple with the Result field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetResult -`func (o *Script) SetResult(v Job)` +`func (o *Script) SetResult(v BriefJob)` SetResult sets Result field to given value. diff --git a/docs/ScriptInputRequest.md b/docs/ScriptInputRequest.md new file mode 100644 index 000000000..ed5d79399 --- /dev/null +++ b/docs/ScriptInputRequest.md @@ -0,0 +1,154 @@ +# ScriptInputRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Data** | **interface{}** | | +**Commit** | **bool** | | +**ScheduleAt** | Pointer to **NullableTime** | | [optional] +**Interval** | Pointer to **NullableInt32** | | [optional] + +## Methods + +### NewScriptInputRequest + +`func NewScriptInputRequest(data interface{}, commit bool, ) *ScriptInputRequest` + +NewScriptInputRequest instantiates a new ScriptInputRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewScriptInputRequestWithDefaults + +`func NewScriptInputRequestWithDefaults() *ScriptInputRequest` + +NewScriptInputRequestWithDefaults instantiates a new ScriptInputRequest object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetData + +`func (o *ScriptInputRequest) GetData() interface{}` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *ScriptInputRequest) GetDataOk() (*interface{}, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetData + +`func (o *ScriptInputRequest) SetData(v interface{})` + +SetData sets Data field to given value. + + +### SetDataNil + +`func (o *ScriptInputRequest) SetDataNil(b bool)` + + SetDataNil sets the value for Data to be an explicit nil + +### UnsetData +`func (o *ScriptInputRequest) UnsetData()` + +UnsetData ensures that no value is present for Data, not even an explicit nil +### GetCommit + +`func (o *ScriptInputRequest) GetCommit() bool` + +GetCommit returns the Commit field if non-nil, zero value otherwise. + +### GetCommitOk + +`func (o *ScriptInputRequest) GetCommitOk() (*bool, bool)` + +GetCommitOk returns a tuple with the Commit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCommit + +`func (o *ScriptInputRequest) SetCommit(v bool)` + +SetCommit sets Commit field to given value. + + +### GetScheduleAt + +`func (o *ScriptInputRequest) GetScheduleAt() time.Time` + +GetScheduleAt returns the ScheduleAt field if non-nil, zero value otherwise. + +### GetScheduleAtOk + +`func (o *ScriptInputRequest) GetScheduleAtOk() (*time.Time, bool)` + +GetScheduleAtOk returns a tuple with the ScheduleAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetScheduleAt + +`func (o *ScriptInputRequest) SetScheduleAt(v time.Time)` + +SetScheduleAt sets ScheduleAt field to given value. + +### HasScheduleAt + +`func (o *ScriptInputRequest) HasScheduleAt() bool` + +HasScheduleAt returns a boolean if a field has been set. + +### SetScheduleAtNil + +`func (o *ScriptInputRequest) SetScheduleAtNil(b bool)` + + SetScheduleAtNil sets the value for ScheduleAt to be an explicit nil + +### UnsetScheduleAt +`func (o *ScriptInputRequest) UnsetScheduleAt()` + +UnsetScheduleAt ensures that no value is present for ScheduleAt, not even an explicit nil +### GetInterval + +`func (o *ScriptInputRequest) GetInterval() int32` + +GetInterval returns the Interval field if non-nil, zero value otherwise. + +### GetIntervalOk + +`func (o *ScriptInputRequest) GetIntervalOk() (*int32, bool)` + +GetIntervalOk returns a tuple with the Interval field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetInterval + +`func (o *ScriptInputRequest) SetInterval(v int32)` + +SetInterval sets Interval field to given value. + +### HasInterval + +`func (o *ScriptInputRequest) HasInterval() bool` + +HasInterval returns a boolean if a field has been set. + +### SetIntervalNil + +`func (o *ScriptInputRequest) SetIntervalNil(b bool)` + + SetIntervalNil sets the value for Interval to be an explicit nil + +### UnsetInterval +`func (o *ScriptInputRequest) UnsetInterval()` + +UnsetInterval ensures that no value is present for Interval, 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/Service.md b/docs/Service.md index 230dccd71..905eca010 100644 --- a/docs/Service.md +++ b/docs/Service.md @@ -6,9 +6,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] -**Device** | Pointer to [**NullableDevice**](Device.md) | | [optional] -**VirtualMachine** | Pointer to [**NullableVirtualMachine**](VirtualMachine.md) | | [optional] +**Device** | Pointer to [**NullableBriefDevice**](BriefDevice.md) | | [optional] +**VirtualMachine** | Pointer to [**NullableBriefVirtualMachine**](BriefVirtualMachine.md) | | [optional] **Name** | **string** | | **Protocol** | Pointer to [**ServiceProtocol**](ServiceProtocol.md) | | [optional] **Ports** | **[]int32** | | @@ -79,6 +80,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *Service) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *Service) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *Service) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *Service) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *Service) GetDisplay() string` @@ -101,20 +127,20 @@ SetDisplay sets Display field to given value. ### GetDevice -`func (o *Service) GetDevice() Device` +`func (o *Service) GetDevice() BriefDevice` GetDevice returns the Device field if non-nil, zero value otherwise. ### GetDeviceOk -`func (o *Service) GetDeviceOk() (*Device, bool)` +`func (o *Service) GetDeviceOk() (*BriefDevice, 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 *Service) SetDevice(v Device)` +`func (o *Service) SetDevice(v BriefDevice)` SetDevice sets Device field to given value. @@ -136,20 +162,20 @@ HasDevice returns a boolean if a field has been set. UnsetDevice ensures that no value is present for Device, not even an explicit nil ### GetVirtualMachine -`func (o *Service) GetVirtualMachine() VirtualMachine` +`func (o *Service) GetVirtualMachine() BriefVirtualMachine` GetVirtualMachine returns the VirtualMachine field if non-nil, zero value otherwise. ### GetVirtualMachineOk -`func (o *Service) GetVirtualMachineOk() (*VirtualMachine, bool)` +`func (o *Service) GetVirtualMachineOk() (*BriefVirtualMachine, bool)` GetVirtualMachineOk returns a tuple with the VirtualMachine field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVirtualMachine -`func (o *Service) SetVirtualMachine(v VirtualMachine)` +`func (o *Service) SetVirtualMachine(v BriefVirtualMachine)` SetVirtualMachine sets VirtualMachine field to given value. diff --git a/docs/ServiceRequest.md b/docs/ServiceRequest.md index bfabf2ad6..832124979 100644 --- a/docs/ServiceRequest.md +++ b/docs/ServiceRequest.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Device** | Pointer to [**NullableDeviceRequest**](DeviceRequest.md) | | [optional] -**VirtualMachine** | Pointer to [**NullableVirtualMachineRequest**](VirtualMachineRequest.md) | | [optional] +**Device** | Pointer to [**NullableBriefDeviceRequest**](BriefDeviceRequest.md) | | [optional] +**VirtualMachine** | Pointer to [**NullableBriefVirtualMachineRequest**](BriefVirtualMachineRequest.md) | | [optional] **Name** | **string** | | **Protocol** | Pointer to [**PatchedWritableServiceRequestProtocol**](PatchedWritableServiceRequestProtocol.md) | | [optional] **Ports** | **[]int32** | | @@ -36,20 +36,20 @@ but it doesn't guarantee that properties required by API are set ### GetDevice -`func (o *ServiceRequest) GetDevice() DeviceRequest` +`func (o *ServiceRequest) GetDevice() BriefDeviceRequest` GetDevice returns the Device field if non-nil, zero value otherwise. ### GetDeviceOk -`func (o *ServiceRequest) GetDeviceOk() (*DeviceRequest, bool)` +`func (o *ServiceRequest) GetDeviceOk() (*BriefDeviceRequest, 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 *ServiceRequest) SetDevice(v DeviceRequest)` +`func (o *ServiceRequest) SetDevice(v BriefDeviceRequest)` SetDevice sets Device field to given value. @@ -71,20 +71,20 @@ HasDevice returns a boolean if a field has been set. UnsetDevice ensures that no value is present for Device, not even an explicit nil ### GetVirtualMachine -`func (o *ServiceRequest) GetVirtualMachine() VirtualMachineRequest` +`func (o *ServiceRequest) GetVirtualMachine() BriefVirtualMachineRequest` GetVirtualMachine returns the VirtualMachine field if non-nil, zero value otherwise. ### GetVirtualMachineOk -`func (o *ServiceRequest) GetVirtualMachineOk() (*VirtualMachineRequest, bool)` +`func (o *ServiceRequest) GetVirtualMachineOk() (*BriefVirtualMachineRequest, bool)` GetVirtualMachineOk returns a tuple with the VirtualMachine field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVirtualMachine -`func (o *ServiceRequest) SetVirtualMachine(v VirtualMachineRequest)` +`func (o *ServiceRequest) SetVirtualMachine(v BriefVirtualMachineRequest)` SetVirtualMachine sets VirtualMachine field to given value. diff --git a/docs/ServiceTemplate.md b/docs/ServiceTemplate.md index a83d4f5cb..f2889056e 100644 --- a/docs/ServiceTemplate.md +++ b/docs/ServiceTemplate.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Name** | **string** | | **Protocol** | Pointer to [**ServiceProtocol**](ServiceProtocol.md) | | [optional] @@ -76,6 +77,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *ServiceTemplate) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *ServiceTemplate) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *ServiceTemplate) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *ServiceTemplate) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *ServiceTemplate) GetDisplay() string` diff --git a/docs/Site.md b/docs/Site.md index 0458e57f6..f24f899c9 100644 --- a/docs/Site.md +++ b/docs/Site.md @@ -6,16 +6,39 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Name** | **string** | Full name of the site | **Slug** | **string** | | +**Status** | Pointer to [**LocationStatus**](LocationStatus.md) | | [optional] +**Region** | Pointer to [**NullableBriefRegion**](BriefRegion.md) | | [optional] +**Group** | Pointer to [**NullableBriefSiteGroup**](BriefSiteGroup.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenant**](BriefTenant.md) | | [optional] +**Facility** | Pointer to **string** | Local facility ID or description | [optional] +**TimeZone** | Pointer to **NullableString** | | [optional] **Description** | Pointer to **string** | | [optional] +**PhysicalAddress** | Pointer to **string** | Physical location of the building | [optional] +**ShippingAddress** | Pointer to **string** | If different from the physical address | [optional] +**Latitude** | Pointer to **NullableFloat64** | GPS coordinate in decimal format (xx.yyyyyy) | [optional] +**Longitude** | Pointer to **NullableFloat64** | GPS coordinate in decimal format (xx.yyyyyy) | [optional] +**Comments** | Pointer to **string** | | [optional] +**Asns** | Pointer to [**[]ASN**](ASN.md) | | [optional] +**Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] +**Created** | **NullableTime** | | [readonly] +**LastUpdated** | **NullableTime** | | [readonly] +**CircuitCount** | **int64** | | [readonly] +**DeviceCount** | Pointer to **int64** | | [optional] [readonly] +**PrefixCount** | Pointer to **int64** | | [optional] [readonly] +**RackCount** | **int64** | | [readonly] +**VirtualmachineCount** | Pointer to **int64** | | [optional] [readonly] +**VlanCount** | Pointer to **int64** | | [optional] [readonly] ## Methods ### NewSite -`func NewSite(id int32, url string, display string, name string, slug string, ) *Site` +`func NewSite(id int32, url string, display string, name string, slug string, created NullableTime, lastUpdated NullableTime, circuitCount int64, rackCount int64, ) *Site` NewSite instantiates a new Site object This constructor will assign default values to properties that have it defined, @@ -70,6 +93,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *Site) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *Site) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *Site) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *Site) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *Site) GetDisplay() string` @@ -130,6 +178,196 @@ and a boolean to check if the value has been set. SetSlug sets Slug field to given value. +### GetStatus + +`func (o *Site) GetStatus() LocationStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *Site) GetStatusOk() (*LocationStatus, 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 *Site) SetStatus(v LocationStatus)` + +SetStatus sets Status field to given value. + +### HasStatus + +`func (o *Site) HasStatus() bool` + +HasStatus returns a boolean if a field has been set. + +### GetRegion + +`func (o *Site) GetRegion() BriefRegion` + +GetRegion returns the Region field if non-nil, zero value otherwise. + +### GetRegionOk + +`func (o *Site) GetRegionOk() (*BriefRegion, bool)` + +GetRegionOk returns a tuple with the Region field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRegion + +`func (o *Site) SetRegion(v BriefRegion)` + +SetRegion sets Region field to given value. + +### HasRegion + +`func (o *Site) HasRegion() bool` + +HasRegion returns a boolean if a field has been set. + +### SetRegionNil + +`func (o *Site) SetRegionNil(b bool)` + + SetRegionNil sets the value for Region to be an explicit nil + +### UnsetRegion +`func (o *Site) UnsetRegion()` + +UnsetRegion ensures that no value is present for Region, not even an explicit nil +### GetGroup + +`func (o *Site) GetGroup() BriefSiteGroup` + +GetGroup returns the Group field if non-nil, zero value otherwise. + +### GetGroupOk + +`func (o *Site) GetGroupOk() (*BriefSiteGroup, bool)` + +GetGroupOk returns a tuple with the Group field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGroup + +`func (o *Site) SetGroup(v BriefSiteGroup)` + +SetGroup sets Group field to given value. + +### HasGroup + +`func (o *Site) HasGroup() bool` + +HasGroup returns a boolean if a field has been set. + +### SetGroupNil + +`func (o *Site) SetGroupNil(b bool)` + + SetGroupNil sets the value for Group to be an explicit nil + +### UnsetGroup +`func (o *Site) UnsetGroup()` + +UnsetGroup ensures that no value is present for Group, not even an explicit nil +### GetTenant + +`func (o *Site) GetTenant() BriefTenant` + +GetTenant returns the Tenant field if non-nil, zero value otherwise. + +### GetTenantOk + +`func (o *Site) GetTenantOk() (*BriefTenant, 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 *Site) SetTenant(v BriefTenant)` + +SetTenant sets Tenant field to given value. + +### HasTenant + +`func (o *Site) HasTenant() bool` + +HasTenant returns a boolean if a field has been set. + +### SetTenantNil + +`func (o *Site) SetTenantNil(b bool)` + + SetTenantNil sets the value for Tenant to be an explicit nil + +### UnsetTenant +`func (o *Site) UnsetTenant()` + +UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +### GetFacility + +`func (o *Site) GetFacility() string` + +GetFacility returns the Facility field if non-nil, zero value otherwise. + +### GetFacilityOk + +`func (o *Site) GetFacilityOk() (*string, bool)` + +GetFacilityOk returns a tuple with the Facility field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFacility + +`func (o *Site) SetFacility(v string)` + +SetFacility sets Facility field to given value. + +### HasFacility + +`func (o *Site) HasFacility() bool` + +HasFacility returns a boolean if a field has been set. + +### GetTimeZone + +`func (o *Site) GetTimeZone() string` + +GetTimeZone returns the TimeZone field if non-nil, zero value otherwise. + +### GetTimeZoneOk + +`func (o *Site) GetTimeZoneOk() (*string, bool)` + +GetTimeZoneOk returns a tuple with the TimeZone field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTimeZone + +`func (o *Site) SetTimeZone(v string)` + +SetTimeZone sets TimeZone field to given value. + +### HasTimeZone + +`func (o *Site) HasTimeZone() bool` + +HasTimeZone returns a boolean if a field has been set. + +### SetTimeZoneNil + +`func (o *Site) SetTimeZoneNil(b bool)` + + SetTimeZoneNil sets the value for TimeZone to be an explicit nil + +### UnsetTimeZone +`func (o *Site) UnsetTimeZone()` + +UnsetTimeZone ensures that no value is present for TimeZone, not even an explicit nil ### GetDescription `func (o *Site) GetDescription() string` @@ -155,6 +393,426 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetPhysicalAddress + +`func (o *Site) GetPhysicalAddress() string` + +GetPhysicalAddress returns the PhysicalAddress field if non-nil, zero value otherwise. + +### GetPhysicalAddressOk + +`func (o *Site) GetPhysicalAddressOk() (*string, bool)` + +GetPhysicalAddressOk returns a tuple with the PhysicalAddress field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPhysicalAddress + +`func (o *Site) SetPhysicalAddress(v string)` + +SetPhysicalAddress sets PhysicalAddress field to given value. + +### HasPhysicalAddress + +`func (o *Site) HasPhysicalAddress() bool` + +HasPhysicalAddress returns a boolean if a field has been set. + +### GetShippingAddress + +`func (o *Site) GetShippingAddress() string` + +GetShippingAddress returns the ShippingAddress field if non-nil, zero value otherwise. + +### GetShippingAddressOk + +`func (o *Site) GetShippingAddressOk() (*string, bool)` + +GetShippingAddressOk returns a tuple with the ShippingAddress field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetShippingAddress + +`func (o *Site) SetShippingAddress(v string)` + +SetShippingAddress sets ShippingAddress field to given value. + +### HasShippingAddress + +`func (o *Site) HasShippingAddress() bool` + +HasShippingAddress returns a boolean if a field has been set. + +### GetLatitude + +`func (o *Site) GetLatitude() float64` + +GetLatitude returns the Latitude field if non-nil, zero value otherwise. + +### GetLatitudeOk + +`func (o *Site) GetLatitudeOk() (*float64, bool)` + +GetLatitudeOk returns a tuple with the Latitude field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLatitude + +`func (o *Site) SetLatitude(v float64)` + +SetLatitude sets Latitude field to given value. + +### HasLatitude + +`func (o *Site) HasLatitude() bool` + +HasLatitude returns a boolean if a field has been set. + +### SetLatitudeNil + +`func (o *Site) SetLatitudeNil(b bool)` + + SetLatitudeNil sets the value for Latitude to be an explicit nil + +### UnsetLatitude +`func (o *Site) UnsetLatitude()` + +UnsetLatitude ensures that no value is present for Latitude, not even an explicit nil +### GetLongitude + +`func (o *Site) GetLongitude() float64` + +GetLongitude returns the Longitude field if non-nil, zero value otherwise. + +### GetLongitudeOk + +`func (o *Site) GetLongitudeOk() (*float64, bool)` + +GetLongitudeOk returns a tuple with the Longitude field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLongitude + +`func (o *Site) SetLongitude(v float64)` + +SetLongitude sets Longitude field to given value. + +### HasLongitude + +`func (o *Site) HasLongitude() bool` + +HasLongitude returns a boolean if a field has been set. + +### SetLongitudeNil + +`func (o *Site) SetLongitudeNil(b bool)` + + SetLongitudeNil sets the value for Longitude to be an explicit nil + +### UnsetLongitude +`func (o *Site) UnsetLongitude()` + +UnsetLongitude ensures that no value is present for Longitude, not even an explicit nil +### GetComments + +`func (o *Site) GetComments() string` + +GetComments returns the Comments field if non-nil, zero value otherwise. + +### GetCommentsOk + +`func (o *Site) GetCommentsOk() (*string, bool)` + +GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComments + +`func (o *Site) SetComments(v string)` + +SetComments sets Comments field to given value. + +### HasComments + +`func (o *Site) HasComments() bool` + +HasComments returns a boolean if a field has been set. + +### GetAsns + +`func (o *Site) GetAsns() []ASN` + +GetAsns returns the Asns field if non-nil, zero value otherwise. + +### GetAsnsOk + +`func (o *Site) GetAsnsOk() (*[]ASN, bool)` + +GetAsnsOk returns a tuple with the Asns field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAsns + +`func (o *Site) SetAsns(v []ASN)` + +SetAsns sets Asns field to given value. + +### HasAsns + +`func (o *Site) HasAsns() bool` + +HasAsns returns a boolean if a field has been set. + +### GetTags + +`func (o *Site) GetTags() []NestedTag` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *Site) GetTagsOk() (*[]NestedTag, 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 *Site) SetTags(v []NestedTag)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *Site) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *Site) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *Site) 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 *Site) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *Site) HasCustomFields() bool` + +HasCustomFields returns a boolean if a field has been set. + +### GetCreated + +`func (o *Site) GetCreated() time.Time` + +GetCreated returns the Created field if non-nil, zero value otherwise. + +### GetCreatedOk + +`func (o *Site) 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 *Site) SetCreated(v time.Time)` + +SetCreated sets Created field to given value. + + +### SetCreatedNil + +`func (o *Site) SetCreatedNil(b bool)` + + SetCreatedNil sets the value for Created to be an explicit nil + +### UnsetCreated +`func (o *Site) UnsetCreated()` + +UnsetCreated ensures that no value is present for Created, not even an explicit nil +### GetLastUpdated + +`func (o *Site) GetLastUpdated() time.Time` + +GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise. + +### GetLastUpdatedOk + +`func (o *Site) 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 *Site) SetLastUpdated(v time.Time)` + +SetLastUpdated sets LastUpdated field to given value. + + +### SetLastUpdatedNil + +`func (o *Site) SetLastUpdatedNil(b bool)` + + SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil + +### UnsetLastUpdated +`func (o *Site) UnsetLastUpdated()` + +UnsetLastUpdated ensures that no value is present for LastUpdated, not even an explicit nil +### GetCircuitCount + +`func (o *Site) GetCircuitCount() int64` + +GetCircuitCount returns the CircuitCount field if non-nil, zero value otherwise. + +### GetCircuitCountOk + +`func (o *Site) GetCircuitCountOk() (*int64, bool)` + +GetCircuitCountOk returns a tuple with the CircuitCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCircuitCount + +`func (o *Site) SetCircuitCount(v int64)` + +SetCircuitCount sets CircuitCount field to given value. + + +### GetDeviceCount + +`func (o *Site) GetDeviceCount() int64` + +GetDeviceCount returns the DeviceCount field if non-nil, zero value otherwise. + +### GetDeviceCountOk + +`func (o *Site) GetDeviceCountOk() (*int64, bool)` + +GetDeviceCountOk returns a tuple with the DeviceCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDeviceCount + +`func (o *Site) SetDeviceCount(v int64)` + +SetDeviceCount sets DeviceCount field to given value. + +### HasDeviceCount + +`func (o *Site) HasDeviceCount() bool` + +HasDeviceCount returns a boolean if a field has been set. + +### GetPrefixCount + +`func (o *Site) GetPrefixCount() int64` + +GetPrefixCount returns the PrefixCount field if non-nil, zero value otherwise. + +### GetPrefixCountOk + +`func (o *Site) GetPrefixCountOk() (*int64, bool)` + +GetPrefixCountOk returns a tuple with the PrefixCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPrefixCount + +`func (o *Site) SetPrefixCount(v int64)` + +SetPrefixCount sets PrefixCount field to given value. + +### HasPrefixCount + +`func (o *Site) HasPrefixCount() bool` + +HasPrefixCount returns a boolean if a field has been set. + +### GetRackCount + +`func (o *Site) GetRackCount() int64` + +GetRackCount returns the RackCount field if non-nil, zero value otherwise. + +### GetRackCountOk + +`func (o *Site) GetRackCountOk() (*int64, bool)` + +GetRackCountOk returns a tuple with the RackCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRackCount + +`func (o *Site) SetRackCount(v int64)` + +SetRackCount sets RackCount field to given value. + + +### GetVirtualmachineCount + +`func (o *Site) GetVirtualmachineCount() int64` + +GetVirtualmachineCount returns the VirtualmachineCount field if non-nil, zero value otherwise. + +### GetVirtualmachineCountOk + +`func (o *Site) GetVirtualmachineCountOk() (*int64, bool)` + +GetVirtualmachineCountOk returns a tuple with the VirtualmachineCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVirtualmachineCount + +`func (o *Site) SetVirtualmachineCount(v int64)` + +SetVirtualmachineCount sets VirtualmachineCount field to given value. + +### HasVirtualmachineCount + +`func (o *Site) HasVirtualmachineCount() bool` + +HasVirtualmachineCount returns a boolean if a field has been set. + +### GetVlanCount + +`func (o *Site) GetVlanCount() int64` + +GetVlanCount returns the VlanCount field if non-nil, zero value otherwise. + +### GetVlanCountOk + +`func (o *Site) GetVlanCountOk() (*int64, bool)` + +GetVlanCountOk returns a tuple with the VlanCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVlanCount + +`func (o *Site) SetVlanCount(v int64)` + +SetVlanCount sets VlanCount field to given value. + +### HasVlanCount + +`func (o *Site) HasVlanCount() bool` + +HasVlanCount 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/SiteGroup.md b/docs/SiteGroup.md index b97426cac..995319796 100644 --- a/docs/SiteGroup.md +++ b/docs/SiteGroup.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Name** | **string** | | **Slug** | **string** | | @@ -77,6 +78,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *SiteGroup) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *SiteGroup) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *SiteGroup) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *SiteGroup) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *SiteGroup) GetDisplay() string` diff --git a/docs/SiteRequest.md b/docs/SiteRequest.md index b12c9721b..a4efb9544 100644 --- a/docs/SiteRequest.md +++ b/docs/SiteRequest.md @@ -6,7 +6,21 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | **string** | Full name of the site | **Slug** | **string** | | +**Status** | Pointer to [**LocationStatusValue**](LocationStatusValue.md) | | [optional] +**Region** | Pointer to [**NullableBriefRegionRequest**](BriefRegionRequest.md) | | [optional] +**Group** | Pointer to [**NullableBriefSiteGroupRequest**](BriefSiteGroupRequest.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] +**Facility** | Pointer to **string** | Local facility ID or description | [optional] +**TimeZone** | Pointer to **NullableString** | | [optional] **Description** | Pointer to **string** | | [optional] +**PhysicalAddress** | Pointer to **string** | Physical location of the building | [optional] +**ShippingAddress** | Pointer to **string** | If different from the physical address | [optional] +**Latitude** | Pointer to **NullableFloat64** | GPS coordinate in decimal format (xx.yyyyyy) | [optional] +**Longitude** | Pointer to **NullableFloat64** | GPS coordinate in decimal format (xx.yyyyyy) | [optional] +**Comments** | Pointer to **string** | | [optional] +**Asns** | Pointer to **[]int32** | | [optional] +**Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] ## Methods @@ -67,6 +81,196 @@ and a boolean to check if the value has been set. SetSlug sets Slug field to given value. +### GetStatus + +`func (o *SiteRequest) GetStatus() LocationStatusValue` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *SiteRequest) GetStatusOk() (*LocationStatusValue, 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 *SiteRequest) SetStatus(v LocationStatusValue)` + +SetStatus sets Status field to given value. + +### HasStatus + +`func (o *SiteRequest) HasStatus() bool` + +HasStatus returns a boolean if a field has been set. + +### GetRegion + +`func (o *SiteRequest) GetRegion() BriefRegionRequest` + +GetRegion returns the Region field if non-nil, zero value otherwise. + +### GetRegionOk + +`func (o *SiteRequest) GetRegionOk() (*BriefRegionRequest, bool)` + +GetRegionOk returns a tuple with the Region field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRegion + +`func (o *SiteRequest) SetRegion(v BriefRegionRequest)` + +SetRegion sets Region field to given value. + +### HasRegion + +`func (o *SiteRequest) HasRegion() bool` + +HasRegion returns a boolean if a field has been set. + +### SetRegionNil + +`func (o *SiteRequest) SetRegionNil(b bool)` + + SetRegionNil sets the value for Region to be an explicit nil + +### UnsetRegion +`func (o *SiteRequest) UnsetRegion()` + +UnsetRegion ensures that no value is present for Region, not even an explicit nil +### GetGroup + +`func (o *SiteRequest) GetGroup() BriefSiteGroupRequest` + +GetGroup returns the Group field if non-nil, zero value otherwise. + +### GetGroupOk + +`func (o *SiteRequest) GetGroupOk() (*BriefSiteGroupRequest, bool)` + +GetGroupOk returns a tuple with the Group field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGroup + +`func (o *SiteRequest) SetGroup(v BriefSiteGroupRequest)` + +SetGroup sets Group field to given value. + +### HasGroup + +`func (o *SiteRequest) HasGroup() bool` + +HasGroup returns a boolean if a field has been set. + +### SetGroupNil + +`func (o *SiteRequest) SetGroupNil(b bool)` + + SetGroupNil sets the value for Group to be an explicit nil + +### UnsetGroup +`func (o *SiteRequest) UnsetGroup()` + +UnsetGroup ensures that no value is present for Group, not even an explicit nil +### GetTenant + +`func (o *SiteRequest) GetTenant() BriefTenantRequest` + +GetTenant returns the Tenant field if non-nil, zero value otherwise. + +### GetTenantOk + +`func (o *SiteRequest) GetTenantOk() (*BriefTenantRequest, 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 *SiteRequest) SetTenant(v BriefTenantRequest)` + +SetTenant sets Tenant field to given value. + +### HasTenant + +`func (o *SiteRequest) HasTenant() bool` + +HasTenant returns a boolean if a field has been set. + +### SetTenantNil + +`func (o *SiteRequest) SetTenantNil(b bool)` + + SetTenantNil sets the value for Tenant to be an explicit nil + +### UnsetTenant +`func (o *SiteRequest) UnsetTenant()` + +UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +### GetFacility + +`func (o *SiteRequest) GetFacility() string` + +GetFacility returns the Facility field if non-nil, zero value otherwise. + +### GetFacilityOk + +`func (o *SiteRequest) GetFacilityOk() (*string, bool)` + +GetFacilityOk returns a tuple with the Facility field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFacility + +`func (o *SiteRequest) SetFacility(v string)` + +SetFacility sets Facility field to given value. + +### HasFacility + +`func (o *SiteRequest) HasFacility() bool` + +HasFacility returns a boolean if a field has been set. + +### GetTimeZone + +`func (o *SiteRequest) GetTimeZone() string` + +GetTimeZone returns the TimeZone field if non-nil, zero value otherwise. + +### GetTimeZoneOk + +`func (o *SiteRequest) GetTimeZoneOk() (*string, bool)` + +GetTimeZoneOk returns a tuple with the TimeZone field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTimeZone + +`func (o *SiteRequest) SetTimeZone(v string)` + +SetTimeZone sets TimeZone field to given value. + +### HasTimeZone + +`func (o *SiteRequest) HasTimeZone() bool` + +HasTimeZone returns a boolean if a field has been set. + +### SetTimeZoneNil + +`func (o *SiteRequest) SetTimeZoneNil(b bool)` + + SetTimeZoneNil sets the value for TimeZone to be an explicit nil + +### UnsetTimeZone +`func (o *SiteRequest) UnsetTimeZone()` + +UnsetTimeZone ensures that no value is present for TimeZone, not even an explicit nil ### GetDescription `func (o *SiteRequest) GetDescription() string` @@ -92,6 +296,226 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetPhysicalAddress + +`func (o *SiteRequest) GetPhysicalAddress() string` + +GetPhysicalAddress returns the PhysicalAddress field if non-nil, zero value otherwise. + +### GetPhysicalAddressOk + +`func (o *SiteRequest) GetPhysicalAddressOk() (*string, bool)` + +GetPhysicalAddressOk returns a tuple with the PhysicalAddress field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPhysicalAddress + +`func (o *SiteRequest) SetPhysicalAddress(v string)` + +SetPhysicalAddress sets PhysicalAddress field to given value. + +### HasPhysicalAddress + +`func (o *SiteRequest) HasPhysicalAddress() bool` + +HasPhysicalAddress returns a boolean if a field has been set. + +### GetShippingAddress + +`func (o *SiteRequest) GetShippingAddress() string` + +GetShippingAddress returns the ShippingAddress field if non-nil, zero value otherwise. + +### GetShippingAddressOk + +`func (o *SiteRequest) GetShippingAddressOk() (*string, bool)` + +GetShippingAddressOk returns a tuple with the ShippingAddress field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetShippingAddress + +`func (o *SiteRequest) SetShippingAddress(v string)` + +SetShippingAddress sets ShippingAddress field to given value. + +### HasShippingAddress + +`func (o *SiteRequest) HasShippingAddress() bool` + +HasShippingAddress returns a boolean if a field has been set. + +### GetLatitude + +`func (o *SiteRequest) GetLatitude() float64` + +GetLatitude returns the Latitude field if non-nil, zero value otherwise. + +### GetLatitudeOk + +`func (o *SiteRequest) GetLatitudeOk() (*float64, bool)` + +GetLatitudeOk returns a tuple with the Latitude field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLatitude + +`func (o *SiteRequest) SetLatitude(v float64)` + +SetLatitude sets Latitude field to given value. + +### HasLatitude + +`func (o *SiteRequest) HasLatitude() bool` + +HasLatitude returns a boolean if a field has been set. + +### SetLatitudeNil + +`func (o *SiteRequest) SetLatitudeNil(b bool)` + + SetLatitudeNil sets the value for Latitude to be an explicit nil + +### UnsetLatitude +`func (o *SiteRequest) UnsetLatitude()` + +UnsetLatitude ensures that no value is present for Latitude, not even an explicit nil +### GetLongitude + +`func (o *SiteRequest) GetLongitude() float64` + +GetLongitude returns the Longitude field if non-nil, zero value otherwise. + +### GetLongitudeOk + +`func (o *SiteRequest) GetLongitudeOk() (*float64, bool)` + +GetLongitudeOk returns a tuple with the Longitude field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLongitude + +`func (o *SiteRequest) SetLongitude(v float64)` + +SetLongitude sets Longitude field to given value. + +### HasLongitude + +`func (o *SiteRequest) HasLongitude() bool` + +HasLongitude returns a boolean if a field has been set. + +### SetLongitudeNil + +`func (o *SiteRequest) SetLongitudeNil(b bool)` + + SetLongitudeNil sets the value for Longitude to be an explicit nil + +### UnsetLongitude +`func (o *SiteRequest) UnsetLongitude()` + +UnsetLongitude ensures that no value is present for Longitude, not even an explicit nil +### GetComments + +`func (o *SiteRequest) GetComments() string` + +GetComments returns the Comments field if non-nil, zero value otherwise. + +### GetCommentsOk + +`func (o *SiteRequest) GetCommentsOk() (*string, bool)` + +GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComments + +`func (o *SiteRequest) SetComments(v string)` + +SetComments sets Comments field to given value. + +### HasComments + +`func (o *SiteRequest) HasComments() bool` + +HasComments returns a boolean if a field has been set. + +### GetAsns + +`func (o *SiteRequest) GetAsns() []int32` + +GetAsns returns the Asns field if non-nil, zero value otherwise. + +### GetAsnsOk + +`func (o *SiteRequest) GetAsnsOk() (*[]int32, bool)` + +GetAsnsOk returns a tuple with the Asns field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAsns + +`func (o *SiteRequest) SetAsns(v []int32)` + +SetAsns sets Asns field to given value. + +### HasAsns + +`func (o *SiteRequest) HasAsns() bool` + +HasAsns returns a boolean if a field has been set. + +### GetTags + +`func (o *SiteRequest) GetTags() []NestedTagRequest` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *SiteRequest) GetTagsOk() (*[]NestedTagRequest, 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 *SiteRequest) SetTags(v []NestedTagRequest)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *SiteRequest) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *SiteRequest) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *SiteRequest) 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 *SiteRequest) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *SiteRequest) 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/Subscription.md b/docs/Subscription.md new file mode 100644 index 000000000..711a6685d --- /dev/null +++ b/docs/Subscription.md @@ -0,0 +1,208 @@ +# Subscription + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int32** | | [readonly] +**Url** | **string** | | [readonly] +**Display** | **string** | | [readonly] +**ObjectType** | **string** | | +**ObjectId** | **int64** | | +**Object** | **interface{}** | | [readonly] +**User** | [**BriefUser**](BriefUser.md) | | +**Created** | **time.Time** | | [readonly] + +## Methods + +### NewSubscription + +`func NewSubscription(id int32, url string, display string, objectType string, objectId int64, object interface{}, user BriefUser, created time.Time, ) *Subscription` + +NewSubscription instantiates a new Subscription object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewSubscriptionWithDefaults + +`func NewSubscriptionWithDefaults() *Subscription` + +NewSubscriptionWithDefaults instantiates a new Subscription object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *Subscription) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *Subscription) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *Subscription) SetId(v int32)` + +SetId sets Id field to given value. + + +### GetUrl + +`func (o *Subscription) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *Subscription) 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 *Subscription) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetDisplay + +`func (o *Subscription) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *Subscription) 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 *Subscription) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetObjectType + +`func (o *Subscription) GetObjectType() string` + +GetObjectType returns the ObjectType field if non-nil, zero value otherwise. + +### GetObjectTypeOk + +`func (o *Subscription) 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 *Subscription) SetObjectType(v string)` + +SetObjectType sets ObjectType field to given value. + + +### GetObjectId + +`func (o *Subscription) GetObjectId() int64` + +GetObjectId returns the ObjectId field if non-nil, zero value otherwise. + +### GetObjectIdOk + +`func (o *Subscription) GetObjectIdOk() (*int64, bool)` + +GetObjectIdOk returns a tuple with the ObjectId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetObjectId + +`func (o *Subscription) SetObjectId(v int64)` + +SetObjectId sets ObjectId field to given value. + + +### GetObject + +`func (o *Subscription) GetObject() interface{}` + +GetObject returns the Object field if non-nil, zero value otherwise. + +### GetObjectOk + +`func (o *Subscription) GetObjectOk() (*interface{}, bool)` + +GetObjectOk returns a tuple with the Object field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetObject + +`func (o *Subscription) SetObject(v interface{})` + +SetObject sets Object field to given value. + + +### SetObjectNil + +`func (o *Subscription) SetObjectNil(b bool)` + + SetObjectNil sets the value for Object to be an explicit nil + +### UnsetObject +`func (o *Subscription) UnsetObject()` + +UnsetObject ensures that no value is present for Object, not even an explicit nil +### GetUser + +`func (o *Subscription) GetUser() BriefUser` + +GetUser returns the User field if non-nil, zero value otherwise. + +### GetUserOk + +`func (o *Subscription) GetUserOk() (*BriefUser, bool)` + +GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUser + +`func (o *Subscription) SetUser(v BriefUser)` + +SetUser sets User field to given value. + + +### GetCreated + +`func (o *Subscription) GetCreated() time.Time` + +GetCreated returns the Created field if non-nil, zero value otherwise. + +### GetCreatedOk + +`func (o *Subscription) 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 *Subscription) SetCreated(v time.Time)` + +SetCreated sets Created 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/SubscriptionRequest.md b/docs/SubscriptionRequest.md new file mode 100644 index 000000000..80d3e89e4 --- /dev/null +++ b/docs/SubscriptionRequest.md @@ -0,0 +1,93 @@ +# SubscriptionRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ObjectType** | **string** | | +**ObjectId** | **int64** | | +**User** | [**BriefUserRequest**](BriefUserRequest.md) | | + +## Methods + +### NewSubscriptionRequest + +`func NewSubscriptionRequest(objectType string, objectId int64, user BriefUserRequest, ) *SubscriptionRequest` + +NewSubscriptionRequest instantiates a new SubscriptionRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewSubscriptionRequestWithDefaults + +`func NewSubscriptionRequestWithDefaults() *SubscriptionRequest` + +NewSubscriptionRequestWithDefaults instantiates a new SubscriptionRequest object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetObjectType + +`func (o *SubscriptionRequest) GetObjectType() string` + +GetObjectType returns the ObjectType field if non-nil, zero value otherwise. + +### GetObjectTypeOk + +`func (o *SubscriptionRequest) 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 *SubscriptionRequest) SetObjectType(v string)` + +SetObjectType sets ObjectType field to given value. + + +### GetObjectId + +`func (o *SubscriptionRequest) GetObjectId() int64` + +GetObjectId returns the ObjectId field if non-nil, zero value otherwise. + +### GetObjectIdOk + +`func (o *SubscriptionRequest) GetObjectIdOk() (*int64, bool)` + +GetObjectIdOk returns a tuple with the ObjectId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetObjectId + +`func (o *SubscriptionRequest) SetObjectId(v int64)` + +SetObjectId sets ObjectId field to given value. + + +### GetUser + +`func (o *SubscriptionRequest) GetUser() BriefUserRequest` + +GetUser returns the User field if non-nil, zero value otherwise. + +### GetUserOk + +`func (o *SubscriptionRequest) GetUserOk() (*BriefUserRequest, bool)` + +GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUser + +`func (o *SubscriptionRequest) SetUser(v BriefUserRequest)` + +SetUser sets User 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/Tag.md b/docs/Tag.md index 603faa5a0..1452f4343 100644 --- a/docs/Tag.md +++ b/docs/Tag.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Name** | **string** | | **Slug** | **string** | | @@ -75,6 +76,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *Tag) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *Tag) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *Tag) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *Tag) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *Tag) GetDisplay() string` diff --git a/docs/TenancyAPI.md b/docs/TenancyAPI.md index 0314e6397..0a292cac6 100644 --- a/docs/TenancyAPI.md +++ b/docs/TenancyAPI.md @@ -82,7 +82,7 @@ import ( ) func main() { - contactAssignmentRequest := []openapiclient.ContactAssignmentRequest{*openapiclient.NewContactAssignmentRequest("ObjectType_example", int64(123), *openapiclient.NewContactRequest("Name_example"))} // []ContactAssignmentRequest | + contactAssignmentRequest := []openapiclient.ContactAssignmentRequest{*openapiclient.NewContactAssignmentRequest("ObjectType_example", int64(123), *openapiclient.NewBriefContactRequest("Name_example"))} // []ContactAssignmentRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -146,7 +146,7 @@ import ( ) func main() { - contactAssignmentRequest := []openapiclient.ContactAssignmentRequest{*openapiclient.NewContactAssignmentRequest("ObjectType_example", int64(123), *openapiclient.NewContactRequest("Name_example"))} // []ContactAssignmentRequest | + contactAssignmentRequest := []openapiclient.ContactAssignmentRequest{*openapiclient.NewContactAssignmentRequest("ObjectType_example", int64(123), *openapiclient.NewBriefContactRequest("Name_example"))} // []ContactAssignmentRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -212,7 +212,7 @@ import ( ) func main() { - contactAssignmentRequest := []openapiclient.ContactAssignmentRequest{*openapiclient.NewContactAssignmentRequest("ObjectType_example", int64(123), *openapiclient.NewContactRequest("Name_example"))} // []ContactAssignmentRequest | + contactAssignmentRequest := []openapiclient.ContactAssignmentRequest{*openapiclient.NewContactAssignmentRequest("ObjectType_example", int64(123), *openapiclient.NewBriefContactRequest("Name_example"))} // []ContactAssignmentRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -278,7 +278,7 @@ import ( ) func main() { - writableContactAssignmentRequest := *openapiclient.NewWritableContactAssignmentRequest("ObjectType_example", int64(123), *openapiclient.NewContactRequest("Name_example")) // WritableContactAssignmentRequest | + writableContactAssignmentRequest := *openapiclient.NewWritableContactAssignmentRequest("ObjectType_example", int64(123), *openapiclient.NewBriefContactRequest("Name_example")) // WritableContactAssignmentRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -393,7 +393,7 @@ Name | Type | Description | Notes ## TenancyContactAssignmentsList -> PaginatedContactAssignmentList TenancyContactAssignmentsList(ctx).ContactId(contactId).ContactIdN(contactIdN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Group(group).GroupN(groupN).GroupId(groupId).GroupIdN(groupIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).ObjectId(objectId).ObjectIdEmpty(objectIdEmpty).ObjectIdGt(objectIdGt).ObjectIdGte(objectIdGte).ObjectIdLt(objectIdLt).ObjectIdLte(objectIdLte).ObjectIdN(objectIdN).ObjectType(objectType).ObjectTypeN(objectTypeN).ObjectTypeId(objectTypeId).ObjectTypeIdN(objectTypeIdN).Offset(offset).Ordering(ordering).Priority(priority).PriorityN(priorityN).Q(q).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).Execute() +> PaginatedContactAssignmentList TenancyContactAssignmentsList(ctx).ContactId(contactId).ContactIdN(contactIdN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Group(group).GroupN(groupN).GroupId(groupId).GroupIdN(groupIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).ObjectId(objectId).ObjectIdEmpty(objectIdEmpty).ObjectIdGt(objectIdGt).ObjectIdGte(objectIdGte).ObjectIdLt(objectIdLt).ObjectIdLte(objectIdLte).ObjectIdN(objectIdN).ObjectType(objectType).ObjectTypeN(objectTypeN).ObjectTypeId(objectTypeId).ObjectTypeIdN(objectTypeIdN).Offset(offset).Ordering(ordering).Priority(priority).Q(q).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).Execute() @@ -423,10 +423,10 @@ func main() { createdLte := []time.Time{time.Now()} // []time.Time | (optional) createdN := []time.Time{time.Now()} // []time.Time | (optional) createdByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) - group := []int32{int32(123)} // []int32 | Contact group (slug) (optional) - groupN := []int32{int32(123)} // []int32 | Contact group (slug) (optional) - groupId := []int32{int32(123)} // []int32 | Contact group (ID) (optional) - groupIdN := []int32{int32(123)} // []int32 | Contact group (ID) (optional) + group := []string{"Inner_example"} // []string | (optional) + groupN := []string{"Inner_example"} // []string | (optional) + groupId := []string{"Inner_example"} // []string | (optional) + groupIdN := []string{"Inner_example"} // []string | (optional) id := []int32{int32(123)} // []int32 | (optional) idEmpty := true // bool | (optional) idGt := []int32{int32(123)} // []int32 | (optional) @@ -456,8 +456,7 @@ func main() { objectTypeIdN := int32(56) // int32 | (optional) offset := int32(56) // int32 | The initial index from which to return the results. (optional) ordering := "ordering_example" // string | Which field to use when ordering the results. (optional) - priority := openapiclient.tenancy_contact_assignments_list_priority_parameter("inactive") // TenancyContactAssignmentsListPriorityParameter | * `primary` - Primary * `secondary` - Secondary * `tertiary` - Tertiary * `inactive` - Inactive (optional) - priorityN := openapiclient.tenancy_contact_assignments_list_priority_parameter("inactive") // TenancyContactAssignmentsListPriorityParameter | * `primary` - Primary * `secondary` - Secondary * `tertiary` - Tertiary * `inactive` - Inactive (optional) + priority := openapiclient.circuits_circuit_group_assignments_list_priority_parameter("inactive") // CircuitsCircuitGroupAssignmentsListPriorityParameter | * `primary` - Primary * `secondary` - Secondary * `tertiary` - Tertiary * `inactive` - Inactive (optional) q := "q_example" // string | Search (optional) role := []string{"Inner_example"} // []string | Contact role (slug) (optional) roleN := []string{"Inner_example"} // []string | Contact role (slug) (optional) @@ -469,7 +468,7 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.TenancyAPI.TenancyContactAssignmentsList(context.Background()).ContactId(contactId).ContactIdN(contactIdN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Group(group).GroupN(groupN).GroupId(groupId).GroupIdN(groupIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).ObjectId(objectId).ObjectIdEmpty(objectIdEmpty).ObjectIdGt(objectIdGt).ObjectIdGte(objectIdGte).ObjectIdLt(objectIdLt).ObjectIdLte(objectIdLte).ObjectIdN(objectIdN).ObjectType(objectType).ObjectTypeN(objectTypeN).ObjectTypeId(objectTypeId).ObjectTypeIdN(objectTypeIdN).Offset(offset).Ordering(ordering).Priority(priority).PriorityN(priorityN).Q(q).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).Execute() + resp, r, err := apiClient.TenancyAPI.TenancyContactAssignmentsList(context.Background()).ContactId(contactId).ContactIdN(contactIdN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Group(group).GroupN(groupN).GroupId(groupId).GroupIdN(groupIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).ObjectId(objectId).ObjectIdEmpty(objectIdEmpty).ObjectIdGt(objectIdGt).ObjectIdGte(objectIdGte).ObjectIdLt(objectIdLt).ObjectIdLte(objectIdLte).ObjectIdN(objectIdN).ObjectType(objectType).ObjectTypeN(objectTypeN).ObjectTypeId(objectTypeId).ObjectTypeIdN(objectTypeIdN).Offset(offset).Ordering(ordering).Priority(priority).Q(q).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `TenancyAPI.TenancyContactAssignmentsList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -500,10 +499,10 @@ Name | Type | Description | Notes **createdLte** | [**[]time.Time**](time.Time.md) | | **createdN** | [**[]time.Time**](time.Time.md) | | **createdByRequest** | **string** | | - **group** | **[]int32** | Contact group (slug) | - **groupN** | **[]int32** | Contact group (slug) | - **groupId** | **[]int32** | Contact group (ID) | - **groupIdN** | **[]int32** | Contact group (ID) | + **group** | **[]string** | | + **groupN** | **[]string** | | + **groupId** | **[]string** | | + **groupIdN** | **[]string** | | **id** | **[]int32** | | **idEmpty** | **bool** | | **idGt** | **[]int32** | | @@ -533,8 +532,7 @@ Name | Type | Description | Notes **objectTypeIdN** | **int32** | | **offset** | **int32** | The initial index from which to return the results. | **ordering** | **string** | Which field to use when ordering the results. | - **priority** | [**TenancyContactAssignmentsListPriorityParameter**](TenancyContactAssignmentsListPriorityParameter.md) | * `primary` - Primary * `secondary` - Secondary * `tertiary` - Tertiary * `inactive` - Inactive | - **priorityN** | [**TenancyContactAssignmentsListPriorityParameter**](TenancyContactAssignmentsListPriorityParameter.md) | * `primary` - Primary * `secondary` - Secondary * `tertiary` - Tertiary * `inactive` - Inactive | + **priority** | [**CircuitsCircuitGroupAssignmentsListPriorityParameter**](CircuitsCircuitGroupAssignmentsListPriorityParameter.md) | * `primary` - Primary * `secondary` - Secondary * `tertiary` - Tertiary * `inactive` - Inactive | **q** | **string** | Search | **role** | **[]string** | Contact role (slug) | **roleN** | **[]string** | Contact role (slug) | @@ -726,7 +724,7 @@ import ( func main() { id := int32(56) // int32 | A unique integer value identifying this contact assignment. - writableContactAssignmentRequest := *openapiclient.NewWritableContactAssignmentRequest("ObjectType_example", int64(123), *openapiclient.NewContactRequest("Name_example")) // WritableContactAssignmentRequest | + writableContactAssignmentRequest := *openapiclient.NewWritableContactAssignmentRequest("ObjectType_example", int64(123), *openapiclient.NewBriefContactRequest("Name_example")) // WritableContactAssignmentRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -1128,10 +1126,10 @@ import ( ) func main() { - ancestor := []int32{int32(123)} // []int32 | Contact group (slug) (optional) - ancestorN := []int32{int32(123)} // []int32 | Contact group (slug) (optional) - ancestorId := []int32{int32(123)} // []int32 | Contact group (ID) (optional) - ancestorIdN := []int32{int32(123)} // []int32 | Contact group (ID) (optional) + ancestor := []string{"Inner_example"} // []string | (optional) + ancestorN := []string{"Inner_example"} // []string | (optional) + ancestorId := []string{"Inner_example"} // []string | (optional) + ancestorIdN := []string{"Inner_example"} // []string | (optional) created := []time.Time{time.Now()} // []time.Time | (optional) createdEmpty := []time.Time{time.Now()} // []time.Time | (optional) createdGt := []time.Time{time.Now()} // []time.Time | (optional) @@ -1223,10 +1221,10 @@ Other parameters are passed through a pointer to a apiTenancyContactGroupsListRe Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **ancestor** | **[]int32** | Contact group (slug) | - **ancestorN** | **[]int32** | Contact group (slug) | - **ancestorId** | **[]int32** | Contact group (ID) | - **ancestorIdN** | **[]int32** | Contact group (ID) | + **ancestor** | **[]string** | | + **ancestorN** | **[]string** | | + **ancestorId** | **[]string** | | + **ancestorIdN** | **[]string** | | **created** | [**[]time.Time**](time.Time.md) | | **createdEmpty** | [**[]time.Time**](time.Time.md) | | **createdGt** | [**[]time.Time**](time.Time.md) | | @@ -2655,10 +2653,10 @@ func main() { emailNie := []string{"Inner_example"} // []string | (optional) emailNiew := []string{"Inner_example"} // []string | (optional) emailNisw := []string{"Inner_example"} // []string | (optional) - group := []int32{int32(123)} // []int32 | Contact group (slug) (optional) - groupN := []int32{int32(123)} // []int32 | Contact group (slug) (optional) - groupId := []int32{int32(123)} // []int32 | Contact group (ID) (optional) - groupIdN := []int32{int32(123)} // []int32 | Contact group (ID) (optional) + group := []string{"Inner_example"} // []string | (optional) + groupN := []string{"Inner_example"} // []string | (optional) + groupId := []string{"Inner_example"} // []string | (optional) + groupIdN := []string{"Inner_example"} // []string | (optional) id := []int32{int32(123)} // []int32 | (optional) idEmpty := true // bool | (optional) idGt := []int32{int32(123)} // []int32 | (optional) @@ -2790,10 +2788,10 @@ Name | Type | Description | Notes **emailNie** | **[]string** | | **emailNiew** | **[]string** | | **emailNisw** | **[]string** | | - **group** | **[]int32** | Contact group (slug) | - **groupN** | **[]int32** | Contact group (slug) | - **groupId** | **[]int32** | Contact group (ID) | - **groupIdN** | **[]int32** | Contact group (ID) | + **group** | **[]string** | | + **groupN** | **[]string** | | + **groupId** | **[]string** | | + **groupIdN** | **[]string** | | **id** | **[]int32** | | **idEmpty** | **bool** | | **idGt** | **[]int32** | | @@ -3445,10 +3443,10 @@ import ( ) func main() { - ancestor := []int32{int32(123)} // []int32 | Tenant group (slug) (optional) - ancestorN := []int32{int32(123)} // []int32 | Tenant group (slug) (optional) - ancestorId := []int32{int32(123)} // []int32 | Tenant group (ID) (optional) - ancestorIdN := []int32{int32(123)} // []int32 | Tenant group (ID) (optional) + ancestor := []string{"Inner_example"} // []string | (optional) + ancestorN := []string{"Inner_example"} // []string | (optional) + ancestorId := []string{"Inner_example"} // []string | (optional) + ancestorIdN := []string{"Inner_example"} // []string | (optional) created := []time.Time{time.Now()} // []time.Time | (optional) createdEmpty := []time.Time{time.Now()} // []time.Time | (optional) createdGt := []time.Time{time.Now()} // []time.Time | (optional) @@ -3540,10 +3538,10 @@ Other parameters are passed through a pointer to a apiTenancyTenantGroupsListReq Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **ancestor** | **[]int32** | Tenant group (slug) | - **ancestorN** | **[]int32** | Tenant group (slug) | - **ancestorId** | **[]int32** | Tenant group (ID) | - **ancestorIdN** | **[]int32** | Tenant group (ID) | + **ancestor** | **[]string** | | + **ancestorN** | **[]string** | | + **ancestorId** | **[]string** | | + **ancestorIdN** | **[]string** | | **created** | [**[]time.Time**](time.Time.md) | | **createdEmpty** | [**[]time.Time**](time.Time.md) | | **createdGt** | [**[]time.Time**](time.Time.md) | | @@ -4198,8 +4196,8 @@ import ( func main() { contact := []int32{int32(123)} // []int32 | Contact (optional) contactN := []int32{int32(123)} // []int32 | Contact (optional) - contactGroup := []int32{int32(123)} // []int32 | Contact group (optional) - contactGroupN := []int32{int32(123)} // []int32 | Contact group (optional) + contactGroup := []string{"Inner_example"} // []string | (optional) + contactGroupN := []string{"Inner_example"} // []string | (optional) contactRole := []int32{int32(123)} // []int32 | Contact Role (optional) contactRoleN := []int32{int32(123)} // []int32 | Contact Role (optional) created := []time.Time{time.Now()} // []time.Time | (optional) @@ -4221,10 +4219,10 @@ func main() { descriptionNie := []string{"Inner_example"} // []string | (optional) descriptionNiew := []string{"Inner_example"} // []string | (optional) descriptionNisw := []string{"Inner_example"} // []string | (optional) - group := []int32{int32(123)} // []int32 | Tenant group (slug) (optional) - groupN := []int32{int32(123)} // []int32 | Tenant group (slug) (optional) - groupId := []int32{int32(123)} // []int32 | Tenant group (ID) (optional) - groupIdN := []int32{int32(123)} // []int32 | Tenant group (ID) (optional) + group := []string{"Inner_example"} // []string | (optional) + groupN := []string{"Inner_example"} // []string | (optional) + groupId := []string{"Inner_example"} // []string | (optional) + groupIdN := []string{"Inner_example"} // []string | (optional) id := []int32{int32(123)} // []int32 | (optional) idEmpty := true // bool | (optional) idGt := []int32{int32(123)} // []int32 | (optional) @@ -4295,8 +4293,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **contact** | **[]int32** | Contact | **contactN** | **[]int32** | Contact | - **contactGroup** | **[]int32** | Contact group | - **contactGroupN** | **[]int32** | Contact group | + **contactGroup** | **[]string** | | + **contactGroupN** | **[]string** | | **contactRole** | **[]int32** | Contact Role | **contactRoleN** | **[]int32** | Contact Role | **created** | [**[]time.Time**](time.Time.md) | | @@ -4318,10 +4316,10 @@ Name | Type | Description | Notes **descriptionNie** | **[]string** | | **descriptionNiew** | **[]string** | | **descriptionNisw** | **[]string** | | - **group** | **[]int32** | Tenant group (slug) | - **groupN** | **[]int32** | Tenant group (slug) | - **groupId** | **[]int32** | Tenant group (ID) | - **groupIdN** | **[]int32** | Tenant group (ID) | + **group** | **[]string** | | + **groupN** | **[]string** | | + **groupId** | **[]string** | | + **groupIdN** | **[]string** | | **id** | **[]int32** | | **idEmpty** | **bool** | | **idGt** | **[]int32** | | diff --git a/docs/Tenant.md b/docs/Tenant.md index 68d998dce..7f7851df9 100644 --- a/docs/Tenant.md +++ b/docs/Tenant.md @@ -6,16 +6,33 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Name** | **string** | | **Slug** | **string** | | +**Group** | Pointer to [**NullableBriefTenantGroup**](BriefTenantGroup.md) | | [optional] **Description** | Pointer to **string** | | [optional] +**Comments** | Pointer to **string** | | [optional] +**Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] +**Created** | **NullableTime** | | [readonly] +**LastUpdated** | **NullableTime** | | [readonly] +**CircuitCount** | **int64** | | [readonly] +**DeviceCount** | Pointer to **int64** | | [optional] [readonly] +**IpaddressCount** | **int64** | | [readonly] +**PrefixCount** | Pointer to **int64** | | [optional] [readonly] +**RackCount** | **int64** | | [readonly] +**SiteCount** | **int64** | | [readonly] +**VirtualmachineCount** | Pointer to **int64** | | [optional] [readonly] +**VlanCount** | Pointer to **int64** | | [optional] [readonly] +**VrfCount** | **int64** | | [readonly] +**ClusterCount** | **int64** | | [readonly] ## Methods ### NewTenant -`func NewTenant(id int32, url string, display string, name string, slug string, ) *Tenant` +`func NewTenant(id int32, url string, display string, name string, slug string, created NullableTime, lastUpdated NullableTime, circuitCount int64, ipaddressCount int64, rackCount int64, siteCount int64, vrfCount int64, clusterCount int64, ) *Tenant` NewTenant instantiates a new Tenant object This constructor will assign default values to properties that have it defined, @@ -70,6 +87,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *Tenant) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *Tenant) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *Tenant) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *Tenant) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *Tenant) GetDisplay() string` @@ -130,6 +172,41 @@ and a boolean to check if the value has been set. SetSlug sets Slug field to given value. +### GetGroup + +`func (o *Tenant) GetGroup() BriefTenantGroup` + +GetGroup returns the Group field if non-nil, zero value otherwise. + +### GetGroupOk + +`func (o *Tenant) GetGroupOk() (*BriefTenantGroup, bool)` + +GetGroupOk returns a tuple with the Group field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGroup + +`func (o *Tenant) SetGroup(v BriefTenantGroup)` + +SetGroup sets Group field to given value. + +### HasGroup + +`func (o *Tenant) HasGroup() bool` + +HasGroup returns a boolean if a field has been set. + +### SetGroupNil + +`func (o *Tenant) SetGroupNil(b bool)` + + SetGroupNil sets the value for Group to be an explicit nil + +### UnsetGroup +`func (o *Tenant) UnsetGroup()` + +UnsetGroup ensures that no value is present for Group, not even an explicit nil ### GetDescription `func (o *Tenant) GetDescription() string` @@ -155,6 +232,361 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetComments + +`func (o *Tenant) GetComments() string` + +GetComments returns the Comments field if non-nil, zero value otherwise. + +### GetCommentsOk + +`func (o *Tenant) GetCommentsOk() (*string, bool)` + +GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComments + +`func (o *Tenant) SetComments(v string)` + +SetComments sets Comments field to given value. + +### HasComments + +`func (o *Tenant) HasComments() bool` + +HasComments returns a boolean if a field has been set. + +### GetTags + +`func (o *Tenant) GetTags() []NestedTag` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *Tenant) GetTagsOk() (*[]NestedTag, 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 *Tenant) SetTags(v []NestedTag)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *Tenant) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *Tenant) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *Tenant) 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 *Tenant) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *Tenant) HasCustomFields() bool` + +HasCustomFields returns a boolean if a field has been set. + +### GetCreated + +`func (o *Tenant) GetCreated() time.Time` + +GetCreated returns the Created field if non-nil, zero value otherwise. + +### GetCreatedOk + +`func (o *Tenant) 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 *Tenant) SetCreated(v time.Time)` + +SetCreated sets Created field to given value. + + +### SetCreatedNil + +`func (o *Tenant) SetCreatedNil(b bool)` + + SetCreatedNil sets the value for Created to be an explicit nil + +### UnsetCreated +`func (o *Tenant) UnsetCreated()` + +UnsetCreated ensures that no value is present for Created, not even an explicit nil +### GetLastUpdated + +`func (o *Tenant) GetLastUpdated() time.Time` + +GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise. + +### GetLastUpdatedOk + +`func (o *Tenant) 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 *Tenant) SetLastUpdated(v time.Time)` + +SetLastUpdated sets LastUpdated field to given value. + + +### SetLastUpdatedNil + +`func (o *Tenant) SetLastUpdatedNil(b bool)` + + SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil + +### UnsetLastUpdated +`func (o *Tenant) UnsetLastUpdated()` + +UnsetLastUpdated ensures that no value is present for LastUpdated, not even an explicit nil +### GetCircuitCount + +`func (o *Tenant) GetCircuitCount() int64` + +GetCircuitCount returns the CircuitCount field if non-nil, zero value otherwise. + +### GetCircuitCountOk + +`func (o *Tenant) GetCircuitCountOk() (*int64, bool)` + +GetCircuitCountOk returns a tuple with the CircuitCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCircuitCount + +`func (o *Tenant) SetCircuitCount(v int64)` + +SetCircuitCount sets CircuitCount field to given value. + + +### GetDeviceCount + +`func (o *Tenant) GetDeviceCount() int64` + +GetDeviceCount returns the DeviceCount field if non-nil, zero value otherwise. + +### GetDeviceCountOk + +`func (o *Tenant) GetDeviceCountOk() (*int64, bool)` + +GetDeviceCountOk returns a tuple with the DeviceCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDeviceCount + +`func (o *Tenant) SetDeviceCount(v int64)` + +SetDeviceCount sets DeviceCount field to given value. + +### HasDeviceCount + +`func (o *Tenant) HasDeviceCount() bool` + +HasDeviceCount returns a boolean if a field has been set. + +### GetIpaddressCount + +`func (o *Tenant) GetIpaddressCount() int64` + +GetIpaddressCount returns the IpaddressCount field if non-nil, zero value otherwise. + +### GetIpaddressCountOk + +`func (o *Tenant) GetIpaddressCountOk() (*int64, bool)` + +GetIpaddressCountOk returns a tuple with the IpaddressCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIpaddressCount + +`func (o *Tenant) SetIpaddressCount(v int64)` + +SetIpaddressCount sets IpaddressCount field to given value. + + +### GetPrefixCount + +`func (o *Tenant) GetPrefixCount() int64` + +GetPrefixCount returns the PrefixCount field if non-nil, zero value otherwise. + +### GetPrefixCountOk + +`func (o *Tenant) GetPrefixCountOk() (*int64, bool)` + +GetPrefixCountOk returns a tuple with the PrefixCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPrefixCount + +`func (o *Tenant) SetPrefixCount(v int64)` + +SetPrefixCount sets PrefixCount field to given value. + +### HasPrefixCount + +`func (o *Tenant) HasPrefixCount() bool` + +HasPrefixCount returns a boolean if a field has been set. + +### GetRackCount + +`func (o *Tenant) GetRackCount() int64` + +GetRackCount returns the RackCount field if non-nil, zero value otherwise. + +### GetRackCountOk + +`func (o *Tenant) GetRackCountOk() (*int64, bool)` + +GetRackCountOk returns a tuple with the RackCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRackCount + +`func (o *Tenant) SetRackCount(v int64)` + +SetRackCount sets RackCount field to given value. + + +### GetSiteCount + +`func (o *Tenant) GetSiteCount() int64` + +GetSiteCount returns the SiteCount field if non-nil, zero value otherwise. + +### GetSiteCountOk + +`func (o *Tenant) GetSiteCountOk() (*int64, bool)` + +GetSiteCountOk returns a tuple with the SiteCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSiteCount + +`func (o *Tenant) SetSiteCount(v int64)` + +SetSiteCount sets SiteCount field to given value. + + +### GetVirtualmachineCount + +`func (o *Tenant) GetVirtualmachineCount() int64` + +GetVirtualmachineCount returns the VirtualmachineCount field if non-nil, zero value otherwise. + +### GetVirtualmachineCountOk + +`func (o *Tenant) GetVirtualmachineCountOk() (*int64, bool)` + +GetVirtualmachineCountOk returns a tuple with the VirtualmachineCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVirtualmachineCount + +`func (o *Tenant) SetVirtualmachineCount(v int64)` + +SetVirtualmachineCount sets VirtualmachineCount field to given value. + +### HasVirtualmachineCount + +`func (o *Tenant) HasVirtualmachineCount() bool` + +HasVirtualmachineCount returns a boolean if a field has been set. + +### GetVlanCount + +`func (o *Tenant) GetVlanCount() int64` + +GetVlanCount returns the VlanCount field if non-nil, zero value otherwise. + +### GetVlanCountOk + +`func (o *Tenant) GetVlanCountOk() (*int64, bool)` + +GetVlanCountOk returns a tuple with the VlanCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVlanCount + +`func (o *Tenant) SetVlanCount(v int64)` + +SetVlanCount sets VlanCount field to given value. + +### HasVlanCount + +`func (o *Tenant) HasVlanCount() bool` + +HasVlanCount returns a boolean if a field has been set. + +### GetVrfCount + +`func (o *Tenant) GetVrfCount() int64` + +GetVrfCount returns the VrfCount field if non-nil, zero value otherwise. + +### GetVrfCountOk + +`func (o *Tenant) GetVrfCountOk() (*int64, bool)` + +GetVrfCountOk returns a tuple with the VrfCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVrfCount + +`func (o *Tenant) SetVrfCount(v int64)` + +SetVrfCount sets VrfCount field to given value. + + +### GetClusterCount + +`func (o *Tenant) GetClusterCount() int64` + +GetClusterCount returns the ClusterCount field if non-nil, zero value otherwise. + +### GetClusterCountOk + +`func (o *Tenant) GetClusterCountOk() (*int64, bool)` + +GetClusterCountOk returns a tuple with the ClusterCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetClusterCount + +`func (o *Tenant) SetClusterCount(v int64)` + +SetClusterCount sets ClusterCount 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/TenantGroup.md b/docs/TenantGroup.md index 22a3d41c5..296b839ab 100644 --- a/docs/TenantGroup.md +++ b/docs/TenantGroup.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Name** | **string** | | **Slug** | **string** | | @@ -77,6 +78,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *TenantGroup) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *TenantGroup) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *TenantGroup) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *TenantGroup) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *TenantGroup) GetDisplay() string` diff --git a/docs/TenantRequest.md b/docs/TenantRequest.md index 7a4881f71..948e6d6e2 100644 --- a/docs/TenantRequest.md +++ b/docs/TenantRequest.md @@ -6,7 +6,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | **string** | | **Slug** | **string** | | +**Group** | Pointer to [**NullableBriefTenantGroupRequest**](BriefTenantGroupRequest.md) | | [optional] **Description** | Pointer to **string** | | [optional] +**Comments** | Pointer to **string** | | [optional] +**Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] ## Methods @@ -67,6 +71,41 @@ and a boolean to check if the value has been set. SetSlug sets Slug field to given value. +### GetGroup + +`func (o *TenantRequest) GetGroup() BriefTenantGroupRequest` + +GetGroup returns the Group field if non-nil, zero value otherwise. + +### GetGroupOk + +`func (o *TenantRequest) GetGroupOk() (*BriefTenantGroupRequest, bool)` + +GetGroupOk returns a tuple with the Group field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGroup + +`func (o *TenantRequest) SetGroup(v BriefTenantGroupRequest)` + +SetGroup sets Group field to given value. + +### HasGroup + +`func (o *TenantRequest) HasGroup() bool` + +HasGroup returns a boolean if a field has been set. + +### SetGroupNil + +`func (o *TenantRequest) SetGroupNil(b bool)` + + SetGroupNil sets the value for Group to be an explicit nil + +### UnsetGroup +`func (o *TenantRequest) UnsetGroup()` + +UnsetGroup ensures that no value is present for Group, not even an explicit nil ### GetDescription `func (o *TenantRequest) GetDescription() string` @@ -92,6 +131,81 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetComments + +`func (o *TenantRequest) GetComments() string` + +GetComments returns the Comments field if non-nil, zero value otherwise. + +### GetCommentsOk + +`func (o *TenantRequest) GetCommentsOk() (*string, bool)` + +GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComments + +`func (o *TenantRequest) SetComments(v string)` + +SetComments sets Comments field to given value. + +### HasComments + +`func (o *TenantRequest) HasComments() bool` + +HasComments returns a boolean if a field has been set. + +### GetTags + +`func (o *TenantRequest) GetTags() []NestedTagRequest` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *TenantRequest) GetTagsOk() (*[]NestedTagRequest, 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 *TenantRequest) SetTags(v []NestedTagRequest)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *TenantRequest) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *TenantRequest) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *TenantRequest) 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 *TenantRequest) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *TenantRequest) 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/Token.md b/docs/Token.md index d39896b1e..dcc114f8c 100644 --- a/docs/Token.md +++ b/docs/Token.md @@ -6,8 +6,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] -**User** | [**User**](User.md) | | +**User** | [**BriefUser**](BriefUser.md) | | **Created** | **time.Time** | | [readonly] **Expires** | Pointer to **NullableTime** | | [optional] **LastUsed** | Pointer to **NullableTime** | | [optional] @@ -19,7 +20,7 @@ Name | Type | Description | Notes ### NewToken -`func NewToken(id int32, url string, display string, user User, created time.Time, ) *Token` +`func NewToken(id int32, url string, display string, user BriefUser, created time.Time, ) *Token` NewToken instantiates a new Token object This constructor will assign default values to properties that have it defined, @@ -74,6 +75,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *Token) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *Token) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *Token) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *Token) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *Token) GetDisplay() string` @@ -96,20 +122,20 @@ SetDisplay sets Display field to given value. ### GetUser -`func (o *Token) GetUser() User` +`func (o *Token) GetUser() BriefUser` GetUser returns the User field if non-nil, zero value otherwise. ### GetUserOk -`func (o *Token) GetUserOk() (*User, bool)` +`func (o *Token) GetUserOk() (*BriefUser, bool)` GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUser -`func (o *Token) SetUser(v User)` +`func (o *Token) SetUser(v BriefUser)` SetUser sets User field to given value. diff --git a/docs/TokenProvision.md b/docs/TokenProvision.md index 8b0aa1be2..bc2a46d9e 100644 --- a/docs/TokenProvision.md +++ b/docs/TokenProvision.md @@ -6,8 +6,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] -**User** | [**User**](User.md) | | [readonly] +**User** | [**BriefUser**](BriefUser.md) | | [readonly] **Created** | **time.Time** | | [readonly] **Expires** | Pointer to **NullableTime** | | [optional] **LastUsed** | **time.Time** | | [readonly] @@ -19,7 +20,7 @@ Name | Type | Description | Notes ### NewTokenProvision -`func NewTokenProvision(id int32, url string, display string, user User, created time.Time, lastUsed time.Time, key string, ) *TokenProvision` +`func NewTokenProvision(id int32, url string, display string, user BriefUser, created time.Time, lastUsed time.Time, key string, ) *TokenProvision` NewTokenProvision instantiates a new TokenProvision object This constructor will assign default values to properties that have it defined, @@ -74,6 +75,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *TokenProvision) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *TokenProvision) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *TokenProvision) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *TokenProvision) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *TokenProvision) GetDisplay() string` @@ -96,20 +122,20 @@ SetDisplay sets Display field to given value. ### GetUser -`func (o *TokenProvision) GetUser() User` +`func (o *TokenProvision) GetUser() BriefUser` GetUser returns the User field if non-nil, zero value otherwise. ### GetUserOk -`func (o *TokenProvision) GetUserOk() (*User, bool)` +`func (o *TokenProvision) GetUserOk() (*BriefUser, bool)` GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUser -`func (o *TokenProvision) SetUser(v User)` +`func (o *TokenProvision) SetUser(v BriefUser)` SetUser sets User field to given value. diff --git a/docs/TokenRequest.md b/docs/TokenRequest.md index 06de41a6d..b34549c9c 100644 --- a/docs/TokenRequest.md +++ b/docs/TokenRequest.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**User** | [**UserRequest**](UserRequest.md) | | +**User** | [**BriefUserRequest**](BriefUserRequest.md) | | **Expires** | Pointer to **NullableTime** | | [optional] **LastUsed** | Pointer to **NullableTime** | | [optional] **Key** | Pointer to **string** | | [optional] @@ -15,7 +15,7 @@ Name | Type | Description | Notes ### NewTokenRequest -`func NewTokenRequest(user UserRequest, ) *TokenRequest` +`func NewTokenRequest(user BriefUserRequest, ) *TokenRequest` NewTokenRequest instantiates a new TokenRequest object This constructor will assign default values to properties that have it defined, @@ -32,20 +32,20 @@ but it doesn't guarantee that properties required by API are set ### GetUser -`func (o *TokenRequest) GetUser() UserRequest` +`func (o *TokenRequest) GetUser() BriefUserRequest` GetUser returns the User field if non-nil, zero value otherwise. ### GetUserOk -`func (o *TokenRequest) GetUserOk() (*UserRequest, bool)` +`func (o *TokenRequest) GetUserOk() (*BriefUserRequest, bool)` GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUser -`func (o *TokenRequest) SetUser(v UserRequest)` +`func (o *TokenRequest) SetUser(v BriefUserRequest)` SetUser sets User field to given value. diff --git a/docs/Tunnel.md b/docs/Tunnel.md index 0ed442472..d8b72d17f 100644 --- a/docs/Tunnel.md +++ b/docs/Tunnel.md @@ -6,15 +6,28 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Name** | **string** | | +**Status** | [**TunnelStatus**](TunnelStatus.md) | | +**Group** | Pointer to [**NullableBriefTunnelGroup**](BriefTunnelGroup.md) | | [optional] +**Encapsulation** | [**TunnelEncapsulation**](TunnelEncapsulation.md) | | +**IpsecProfile** | Pointer to [**NullableBriefIPSecProfile**](BriefIPSecProfile.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenant**](BriefTenant.md) | | [optional] +**TunnelId** | Pointer to **NullableInt64** | | [optional] **Description** | Pointer to **string** | | [optional] +**Comments** | Pointer to **string** | | [optional] +**Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] +**Created** | **NullableTime** | | [readonly] +**LastUpdated** | **NullableTime** | | [readonly] +**TerminationsCount** | **int64** | | [readonly] ## Methods ### NewTunnel -`func NewTunnel(id int32, url string, display string, name string, ) *Tunnel` +`func NewTunnel(id int32, url string, display string, name string, status TunnelStatus, encapsulation TunnelEncapsulation, created NullableTime, lastUpdated NullableTime, terminationsCount int64, ) *Tunnel` NewTunnel instantiates a new Tunnel object This constructor will assign default values to properties that have it defined, @@ -69,6 +82,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *Tunnel) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *Tunnel) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *Tunnel) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *Tunnel) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *Tunnel) GetDisplay() string` @@ -109,6 +147,186 @@ and a boolean to check if the value has been set. SetName sets Name field to given value. +### GetStatus + +`func (o *Tunnel) GetStatus() TunnelStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *Tunnel) GetStatusOk() (*TunnelStatus, 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 *Tunnel) SetStatus(v TunnelStatus)` + +SetStatus sets Status field to given value. + + +### GetGroup + +`func (o *Tunnel) GetGroup() BriefTunnelGroup` + +GetGroup returns the Group field if non-nil, zero value otherwise. + +### GetGroupOk + +`func (o *Tunnel) GetGroupOk() (*BriefTunnelGroup, bool)` + +GetGroupOk returns a tuple with the Group field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGroup + +`func (o *Tunnel) SetGroup(v BriefTunnelGroup)` + +SetGroup sets Group field to given value. + +### HasGroup + +`func (o *Tunnel) HasGroup() bool` + +HasGroup returns a boolean if a field has been set. + +### SetGroupNil + +`func (o *Tunnel) SetGroupNil(b bool)` + + SetGroupNil sets the value for Group to be an explicit nil + +### UnsetGroup +`func (o *Tunnel) UnsetGroup()` + +UnsetGroup ensures that no value is present for Group, not even an explicit nil +### GetEncapsulation + +`func (o *Tunnel) GetEncapsulation() TunnelEncapsulation` + +GetEncapsulation returns the Encapsulation field if non-nil, zero value otherwise. + +### GetEncapsulationOk + +`func (o *Tunnel) GetEncapsulationOk() (*TunnelEncapsulation, bool)` + +GetEncapsulationOk returns a tuple with the Encapsulation field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEncapsulation + +`func (o *Tunnel) SetEncapsulation(v TunnelEncapsulation)` + +SetEncapsulation sets Encapsulation field to given value. + + +### GetIpsecProfile + +`func (o *Tunnel) GetIpsecProfile() BriefIPSecProfile` + +GetIpsecProfile returns the IpsecProfile field if non-nil, zero value otherwise. + +### GetIpsecProfileOk + +`func (o *Tunnel) GetIpsecProfileOk() (*BriefIPSecProfile, bool)` + +GetIpsecProfileOk returns a tuple with the IpsecProfile field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIpsecProfile + +`func (o *Tunnel) SetIpsecProfile(v BriefIPSecProfile)` + +SetIpsecProfile sets IpsecProfile field to given value. + +### HasIpsecProfile + +`func (o *Tunnel) HasIpsecProfile() bool` + +HasIpsecProfile returns a boolean if a field has been set. + +### SetIpsecProfileNil + +`func (o *Tunnel) SetIpsecProfileNil(b bool)` + + SetIpsecProfileNil sets the value for IpsecProfile to be an explicit nil + +### UnsetIpsecProfile +`func (o *Tunnel) UnsetIpsecProfile()` + +UnsetIpsecProfile ensures that no value is present for IpsecProfile, not even an explicit nil +### GetTenant + +`func (o *Tunnel) GetTenant() BriefTenant` + +GetTenant returns the Tenant field if non-nil, zero value otherwise. + +### GetTenantOk + +`func (o *Tunnel) GetTenantOk() (*BriefTenant, 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 *Tunnel) SetTenant(v BriefTenant)` + +SetTenant sets Tenant field to given value. + +### HasTenant + +`func (o *Tunnel) HasTenant() bool` + +HasTenant returns a boolean if a field has been set. + +### SetTenantNil + +`func (o *Tunnel) SetTenantNil(b bool)` + + SetTenantNil sets the value for Tenant to be an explicit nil + +### UnsetTenant +`func (o *Tunnel) UnsetTenant()` + +UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +### GetTunnelId + +`func (o *Tunnel) GetTunnelId() int64` + +GetTunnelId returns the TunnelId field if non-nil, zero value otherwise. + +### GetTunnelIdOk + +`func (o *Tunnel) GetTunnelIdOk() (*int64, bool)` + +GetTunnelIdOk returns a tuple with the TunnelId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTunnelId + +`func (o *Tunnel) SetTunnelId(v int64)` + +SetTunnelId sets TunnelId field to given value. + +### HasTunnelId + +`func (o *Tunnel) HasTunnelId() bool` + +HasTunnelId returns a boolean if a field has been set. + +### SetTunnelIdNil + +`func (o *Tunnel) SetTunnelIdNil(b bool)` + + SetTunnelIdNil sets the value for TunnelId to be an explicit nil + +### UnsetTunnelId +`func (o *Tunnel) UnsetTunnelId()` + +UnsetTunnelId ensures that no value is present for TunnelId, not even an explicit nil ### GetDescription `func (o *Tunnel) GetDescription() string` @@ -134,6 +352,161 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetComments + +`func (o *Tunnel) GetComments() string` + +GetComments returns the Comments field if non-nil, zero value otherwise. + +### GetCommentsOk + +`func (o *Tunnel) GetCommentsOk() (*string, bool)` + +GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComments + +`func (o *Tunnel) SetComments(v string)` + +SetComments sets Comments field to given value. + +### HasComments + +`func (o *Tunnel) HasComments() bool` + +HasComments returns a boolean if a field has been set. + +### GetTags + +`func (o *Tunnel) GetTags() []NestedTag` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *Tunnel) GetTagsOk() (*[]NestedTag, 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 *Tunnel) SetTags(v []NestedTag)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *Tunnel) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *Tunnel) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *Tunnel) 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 *Tunnel) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *Tunnel) HasCustomFields() bool` + +HasCustomFields returns a boolean if a field has been set. + +### GetCreated + +`func (o *Tunnel) GetCreated() time.Time` + +GetCreated returns the Created field if non-nil, zero value otherwise. + +### GetCreatedOk + +`func (o *Tunnel) 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 *Tunnel) SetCreated(v time.Time)` + +SetCreated sets Created field to given value. + + +### SetCreatedNil + +`func (o *Tunnel) SetCreatedNil(b bool)` + + SetCreatedNil sets the value for Created to be an explicit nil + +### UnsetCreated +`func (o *Tunnel) UnsetCreated()` + +UnsetCreated ensures that no value is present for Created, not even an explicit nil +### GetLastUpdated + +`func (o *Tunnel) GetLastUpdated() time.Time` + +GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise. + +### GetLastUpdatedOk + +`func (o *Tunnel) 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 *Tunnel) SetLastUpdated(v time.Time)` + +SetLastUpdated sets LastUpdated field to given value. + + +### SetLastUpdatedNil + +`func (o *Tunnel) SetLastUpdatedNil(b bool)` + + SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil + +### UnsetLastUpdated +`func (o *Tunnel) UnsetLastUpdated()` + +UnsetLastUpdated ensures that no value is present for LastUpdated, not even an explicit nil +### GetTerminationsCount + +`func (o *Tunnel) GetTerminationsCount() int64` + +GetTerminationsCount returns the TerminationsCount field if non-nil, zero value otherwise. + +### GetTerminationsCountOk + +`func (o *Tunnel) GetTerminationsCountOk() (*int64, bool)` + +GetTerminationsCountOk returns a tuple with the TerminationsCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTerminationsCount + +`func (o *Tunnel) SetTerminationsCount(v int64)` + +SetTerminationsCount sets TerminationsCount 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/TunnelEncapsulation.md b/docs/TunnelEncapsulation.md new file mode 100644 index 000000000..fe7e11716 --- /dev/null +++ b/docs/TunnelEncapsulation.md @@ -0,0 +1,82 @@ +# TunnelEncapsulation + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Value** | Pointer to [**PatchedWritableTunnelRequestEncapsulation**](PatchedWritableTunnelRequestEncapsulation.md) | | [optional] +**Label** | Pointer to [**TunnelEncapsulationLabel**](TunnelEncapsulationLabel.md) | | [optional] + +## Methods + +### NewTunnelEncapsulation + +`func NewTunnelEncapsulation() *TunnelEncapsulation` + +NewTunnelEncapsulation instantiates a new TunnelEncapsulation object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewTunnelEncapsulationWithDefaults + +`func NewTunnelEncapsulationWithDefaults() *TunnelEncapsulation` + +NewTunnelEncapsulationWithDefaults instantiates a new TunnelEncapsulation object +This 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 *TunnelEncapsulation) GetValue() PatchedWritableTunnelRequestEncapsulation` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *TunnelEncapsulation) GetValueOk() (*PatchedWritableTunnelRequestEncapsulation, 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 *TunnelEncapsulation) SetValue(v PatchedWritableTunnelRequestEncapsulation)` + +SetValue sets Value field to given value. + +### HasValue + +`func (o *TunnelEncapsulation) HasValue() bool` + +HasValue returns a boolean if a field has been set. + +### GetLabel + +`func (o *TunnelEncapsulation) GetLabel() TunnelEncapsulationLabel` + +GetLabel returns the Label field if non-nil, zero value otherwise. + +### GetLabelOk + +`func (o *TunnelEncapsulation) GetLabelOk() (*TunnelEncapsulationLabel, 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 *TunnelEncapsulation) SetLabel(v TunnelEncapsulationLabel)` + +SetLabel sets Label field to given value. + +### HasLabel + +`func (o *TunnelEncapsulation) 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/TunnelEncapsulationLabel.md b/docs/TunnelEncapsulationLabel.md new file mode 100644 index 000000000..9e46fb7c8 --- /dev/null +++ b/docs/TunnelEncapsulationLabel.md @@ -0,0 +1,17 @@ +# TunnelEncapsulationLabel + +## Enum + + +* `I_PSEC___TRANSPORT` (value: `"IPsec - Transport"`) + +* `I_PSEC___TUNNEL` (value: `"IPsec - Tunnel"`) + +* `IP_IN_IP` (value: `"IP-in-IP"`) + +* `GRE` (value: `"GRE"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/TunnelGroup.md b/docs/TunnelGroup.md index 696dd4040..e90f22c32 100644 --- a/docs/TunnelGroup.md +++ b/docs/TunnelGroup.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Name** | **string** | | **Slug** | **string** | | @@ -75,6 +76,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *TunnelGroup) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *TunnelGroup) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *TunnelGroup) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *TunnelGroup) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *TunnelGroup) GetDisplay() string` diff --git a/docs/TunnelRequest.md b/docs/TunnelRequest.md index 03d4cda24..37d929b18 100644 --- a/docs/TunnelRequest.md +++ b/docs/TunnelRequest.md @@ -5,13 +5,22 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | **string** | | +**Status** | [**PatchedWritableTunnelRequestStatus**](PatchedWritableTunnelRequestStatus.md) | | +**Group** | Pointer to [**NullableBriefTunnelGroupRequest**](BriefTunnelGroupRequest.md) | | [optional] +**Encapsulation** | [**PatchedWritableTunnelRequestEncapsulation**](PatchedWritableTunnelRequestEncapsulation.md) | | +**IpsecProfile** | Pointer to [**NullableBriefIPSecProfileRequest**](BriefIPSecProfileRequest.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] +**TunnelId** | Pointer to **NullableInt64** | | [optional] **Description** | Pointer to **string** | | [optional] +**Comments** | Pointer to **string** | | [optional] +**Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] ## Methods ### NewTunnelRequest -`func NewTunnelRequest(name string, ) *TunnelRequest` +`func NewTunnelRequest(name string, status PatchedWritableTunnelRequestStatus, encapsulation PatchedWritableTunnelRequestEncapsulation, ) *TunnelRequest` NewTunnelRequest instantiates a new TunnelRequest object This constructor will assign default values to properties that have it defined, @@ -46,6 +55,186 @@ and a boolean to check if the value has been set. SetName sets Name field to given value. +### GetStatus + +`func (o *TunnelRequest) GetStatus() PatchedWritableTunnelRequestStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *TunnelRequest) GetStatusOk() (*PatchedWritableTunnelRequestStatus, 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 *TunnelRequest) SetStatus(v PatchedWritableTunnelRequestStatus)` + +SetStatus sets Status field to given value. + + +### GetGroup + +`func (o *TunnelRequest) GetGroup() BriefTunnelGroupRequest` + +GetGroup returns the Group field if non-nil, zero value otherwise. + +### GetGroupOk + +`func (o *TunnelRequest) GetGroupOk() (*BriefTunnelGroupRequest, bool)` + +GetGroupOk returns a tuple with the Group field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGroup + +`func (o *TunnelRequest) SetGroup(v BriefTunnelGroupRequest)` + +SetGroup sets Group field to given value. + +### HasGroup + +`func (o *TunnelRequest) HasGroup() bool` + +HasGroup returns a boolean if a field has been set. + +### SetGroupNil + +`func (o *TunnelRequest) SetGroupNil(b bool)` + + SetGroupNil sets the value for Group to be an explicit nil + +### UnsetGroup +`func (o *TunnelRequest) UnsetGroup()` + +UnsetGroup ensures that no value is present for Group, not even an explicit nil +### GetEncapsulation + +`func (o *TunnelRequest) GetEncapsulation() PatchedWritableTunnelRequestEncapsulation` + +GetEncapsulation returns the Encapsulation field if non-nil, zero value otherwise. + +### GetEncapsulationOk + +`func (o *TunnelRequest) GetEncapsulationOk() (*PatchedWritableTunnelRequestEncapsulation, bool)` + +GetEncapsulationOk returns a tuple with the Encapsulation field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEncapsulation + +`func (o *TunnelRequest) SetEncapsulation(v PatchedWritableTunnelRequestEncapsulation)` + +SetEncapsulation sets Encapsulation field to given value. + + +### GetIpsecProfile + +`func (o *TunnelRequest) GetIpsecProfile() BriefIPSecProfileRequest` + +GetIpsecProfile returns the IpsecProfile field if non-nil, zero value otherwise. + +### GetIpsecProfileOk + +`func (o *TunnelRequest) GetIpsecProfileOk() (*BriefIPSecProfileRequest, bool)` + +GetIpsecProfileOk returns a tuple with the IpsecProfile field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIpsecProfile + +`func (o *TunnelRequest) SetIpsecProfile(v BriefIPSecProfileRequest)` + +SetIpsecProfile sets IpsecProfile field to given value. + +### HasIpsecProfile + +`func (o *TunnelRequest) HasIpsecProfile() bool` + +HasIpsecProfile returns a boolean if a field has been set. + +### SetIpsecProfileNil + +`func (o *TunnelRequest) SetIpsecProfileNil(b bool)` + + SetIpsecProfileNil sets the value for IpsecProfile to be an explicit nil + +### UnsetIpsecProfile +`func (o *TunnelRequest) UnsetIpsecProfile()` + +UnsetIpsecProfile ensures that no value is present for IpsecProfile, not even an explicit nil +### GetTenant + +`func (o *TunnelRequest) GetTenant() BriefTenantRequest` + +GetTenant returns the Tenant field if non-nil, zero value otherwise. + +### GetTenantOk + +`func (o *TunnelRequest) GetTenantOk() (*BriefTenantRequest, 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 *TunnelRequest) SetTenant(v BriefTenantRequest)` + +SetTenant sets Tenant field to given value. + +### HasTenant + +`func (o *TunnelRequest) HasTenant() bool` + +HasTenant returns a boolean if a field has been set. + +### SetTenantNil + +`func (o *TunnelRequest) SetTenantNil(b bool)` + + SetTenantNil sets the value for Tenant to be an explicit nil + +### UnsetTenant +`func (o *TunnelRequest) UnsetTenant()` + +UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +### GetTunnelId + +`func (o *TunnelRequest) GetTunnelId() int64` + +GetTunnelId returns the TunnelId field if non-nil, zero value otherwise. + +### GetTunnelIdOk + +`func (o *TunnelRequest) GetTunnelIdOk() (*int64, bool)` + +GetTunnelIdOk returns a tuple with the TunnelId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTunnelId + +`func (o *TunnelRequest) SetTunnelId(v int64)` + +SetTunnelId sets TunnelId field to given value. + +### HasTunnelId + +`func (o *TunnelRequest) HasTunnelId() bool` + +HasTunnelId returns a boolean if a field has been set. + +### SetTunnelIdNil + +`func (o *TunnelRequest) SetTunnelIdNil(b bool)` + + SetTunnelIdNil sets the value for TunnelId to be an explicit nil + +### UnsetTunnelId +`func (o *TunnelRequest) UnsetTunnelId()` + +UnsetTunnelId ensures that no value is present for TunnelId, not even an explicit nil ### GetDescription `func (o *TunnelRequest) GetDescription() string` @@ -71,6 +260,81 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetComments + +`func (o *TunnelRequest) GetComments() string` + +GetComments returns the Comments field if non-nil, zero value otherwise. + +### GetCommentsOk + +`func (o *TunnelRequest) GetCommentsOk() (*string, bool)` + +GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComments + +`func (o *TunnelRequest) SetComments(v string)` + +SetComments sets Comments field to given value. + +### HasComments + +`func (o *TunnelRequest) HasComments() bool` + +HasComments returns a boolean if a field has been set. + +### GetTags + +`func (o *TunnelRequest) GetTags() []NestedTagRequest` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *TunnelRequest) GetTagsOk() (*[]NestedTagRequest, 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 *TunnelRequest) SetTags(v []NestedTagRequest)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *TunnelRequest) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *TunnelRequest) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *TunnelRequest) 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 *TunnelRequest) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *TunnelRequest) 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/TunnelStatus.md b/docs/TunnelStatus.md new file mode 100644 index 000000000..46022ca86 --- /dev/null +++ b/docs/TunnelStatus.md @@ -0,0 +1,82 @@ +# TunnelStatus + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Value** | Pointer to [**PatchedWritableTunnelRequestStatus**](PatchedWritableTunnelRequestStatus.md) | | [optional] +**Label** | Pointer to [**TunnelStatusLabel**](TunnelStatusLabel.md) | | [optional] + +## Methods + +### NewTunnelStatus + +`func NewTunnelStatus() *TunnelStatus` + +NewTunnelStatus instantiates a new TunnelStatus object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewTunnelStatusWithDefaults + +`func NewTunnelStatusWithDefaults() *TunnelStatus` + +NewTunnelStatusWithDefaults instantiates a new TunnelStatus object +This 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 *TunnelStatus) GetValue() PatchedWritableTunnelRequestStatus` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *TunnelStatus) GetValueOk() (*PatchedWritableTunnelRequestStatus, 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 *TunnelStatus) SetValue(v PatchedWritableTunnelRequestStatus)` + +SetValue sets Value field to given value. + +### HasValue + +`func (o *TunnelStatus) HasValue() bool` + +HasValue returns a boolean if a field has been set. + +### GetLabel + +`func (o *TunnelStatus) GetLabel() TunnelStatusLabel` + +GetLabel returns the Label field if non-nil, zero value otherwise. + +### GetLabelOk + +`func (o *TunnelStatus) GetLabelOk() (*TunnelStatusLabel, 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 *TunnelStatus) SetLabel(v TunnelStatusLabel)` + +SetLabel sets Label field to given value. + +### HasLabel + +`func (o *TunnelStatus) 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/TunnelStatusLabel.md b/docs/TunnelStatusLabel.md new file mode 100644 index 000000000..8bd96d36a --- /dev/null +++ b/docs/TunnelStatusLabel.md @@ -0,0 +1,15 @@ +# TunnelStatusLabel + +## Enum + + +* `PLANNED` (value: `"Planned"`) + +* `ACTIVE` (value: `"Active"`) + +* `DISABLED` (value: `"Disabled"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/TunnelTermination.md b/docs/TunnelTermination.md index 1804e64d5..53b4aa769 100644 --- a/docs/TunnelTermination.md +++ b/docs/TunnelTermination.md @@ -6,13 +6,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] -**Tunnel** | [**Tunnel**](Tunnel.md) | | +**Tunnel** | [**BriefTunnel**](BriefTunnel.md) | | **Role** | [**TunnelTerminationRole**](TunnelTerminationRole.md) | | **TerminationType** | **string** | | **TerminationId** | **NullableInt64** | | **Termination** | **interface{}** | | [readonly] -**OutsideIp** | Pointer to [**NullableIPAddress**](IPAddress.md) | | [optional] +**OutsideIp** | Pointer to [**NullableBriefIPAddress**](BriefIPAddress.md) | | [optional] **Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] **Created** | **NullableTime** | | [readonly] @@ -22,7 +23,7 @@ Name | Type | Description | Notes ### NewTunnelTermination -`func NewTunnelTermination(id int32, url string, display string, tunnel Tunnel, role TunnelTerminationRole, terminationType string, terminationId NullableInt64, termination interface{}, created NullableTime, lastUpdated NullableTime, ) *TunnelTermination` +`func NewTunnelTermination(id int32, url string, display string, tunnel BriefTunnel, role TunnelTerminationRole, terminationType string, terminationId NullableInt64, termination interface{}, created NullableTime, lastUpdated NullableTime, ) *TunnelTermination` NewTunnelTermination instantiates a new TunnelTermination object This constructor will assign default values to properties that have it defined, @@ -77,6 +78,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *TunnelTermination) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *TunnelTermination) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *TunnelTermination) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *TunnelTermination) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *TunnelTermination) GetDisplay() string` @@ -99,20 +125,20 @@ SetDisplay sets Display field to given value. ### GetTunnel -`func (o *TunnelTermination) GetTunnel() Tunnel` +`func (o *TunnelTermination) GetTunnel() BriefTunnel` GetTunnel returns the Tunnel field if non-nil, zero value otherwise. ### GetTunnelOk -`func (o *TunnelTermination) GetTunnelOk() (*Tunnel, bool)` +`func (o *TunnelTermination) GetTunnelOk() (*BriefTunnel, bool)` GetTunnelOk returns a tuple with the Tunnel field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTunnel -`func (o *TunnelTermination) SetTunnel(v Tunnel)` +`func (o *TunnelTermination) SetTunnel(v BriefTunnel)` SetTunnel sets Tunnel field to given value. @@ -219,20 +245,20 @@ SetTermination sets Termination field to given value. UnsetTermination ensures that no value is present for Termination, not even an explicit nil ### GetOutsideIp -`func (o *TunnelTermination) GetOutsideIp() IPAddress` +`func (o *TunnelTermination) GetOutsideIp() BriefIPAddress` GetOutsideIp returns the OutsideIp field if non-nil, zero value otherwise. ### GetOutsideIpOk -`func (o *TunnelTermination) GetOutsideIpOk() (*IPAddress, bool)` +`func (o *TunnelTermination) GetOutsideIpOk() (*BriefIPAddress, bool)` GetOutsideIpOk returns a tuple with the OutsideIp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetOutsideIp -`func (o *TunnelTermination) SetOutsideIp(v IPAddress)` +`func (o *TunnelTermination) SetOutsideIp(v BriefIPAddress)` SetOutsideIp sets OutsideIp field to given value. diff --git a/docs/TunnelTerminationRequest.md b/docs/TunnelTerminationRequest.md index e684cfe20..5466a217e 100644 --- a/docs/TunnelTerminationRequest.md +++ b/docs/TunnelTerminationRequest.md @@ -4,11 +4,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Tunnel** | [**TunnelRequest**](TunnelRequest.md) | | +**Tunnel** | [**BriefTunnelRequest**](BriefTunnelRequest.md) | | **Role** | [**PatchedWritableTunnelTerminationRequestRole**](PatchedWritableTunnelTerminationRequestRole.md) | | **TerminationType** | **string** | | **TerminationId** | **NullableInt64** | | -**OutsideIp** | Pointer to [**NullableIPAddressRequest**](IPAddressRequest.md) | | [optional] +**OutsideIp** | Pointer to [**NullableBriefIPAddressRequest**](BriefIPAddressRequest.md) | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] @@ -16,7 +16,7 @@ Name | Type | Description | Notes ### NewTunnelTerminationRequest -`func NewTunnelTerminationRequest(tunnel TunnelRequest, role PatchedWritableTunnelTerminationRequestRole, terminationType string, terminationId NullableInt64, ) *TunnelTerminationRequest` +`func NewTunnelTerminationRequest(tunnel BriefTunnelRequest, role PatchedWritableTunnelTerminationRequestRole, terminationType string, terminationId NullableInt64, ) *TunnelTerminationRequest` NewTunnelTerminationRequest instantiates a new TunnelTerminationRequest object This constructor will assign default values to properties that have it defined, @@ -33,20 +33,20 @@ but it doesn't guarantee that properties required by API are set ### GetTunnel -`func (o *TunnelTerminationRequest) GetTunnel() TunnelRequest` +`func (o *TunnelTerminationRequest) GetTunnel() BriefTunnelRequest` GetTunnel returns the Tunnel field if non-nil, zero value otherwise. ### GetTunnelOk -`func (o *TunnelTerminationRequest) GetTunnelOk() (*TunnelRequest, bool)` +`func (o *TunnelTerminationRequest) GetTunnelOk() (*BriefTunnelRequest, bool)` GetTunnelOk returns a tuple with the Tunnel field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTunnel -`func (o *TunnelTerminationRequest) SetTunnel(v TunnelRequest)` +`func (o *TunnelTerminationRequest) SetTunnel(v BriefTunnelRequest)` SetTunnel sets Tunnel field to given value. @@ -123,20 +123,20 @@ SetTerminationId sets TerminationId field to given value. UnsetTerminationId ensures that no value is present for TerminationId, not even an explicit nil ### GetOutsideIp -`func (o *TunnelTerminationRequest) GetOutsideIp() IPAddressRequest` +`func (o *TunnelTerminationRequest) GetOutsideIp() BriefIPAddressRequest` GetOutsideIp returns the OutsideIp field if non-nil, zero value otherwise. ### GetOutsideIpOk -`func (o *TunnelTerminationRequest) GetOutsideIpOk() (*IPAddressRequest, bool)` +`func (o *TunnelTerminationRequest) GetOutsideIpOk() (*BriefIPAddressRequest, bool)` GetOutsideIpOk returns a tuple with the OutsideIp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetOutsideIp -`func (o *TunnelTerminationRequest) SetOutsideIp(v IPAddressRequest)` +`func (o *TunnelTerminationRequest) SetOutsideIp(v BriefIPAddressRequest)` SetOutsideIp sets OutsideIp field to given value. diff --git a/docs/User.md b/docs/User.md index 5312320e3..8d3b943cd 100644 --- a/docs/User.md +++ b/docs/User.md @@ -6,8 +6,18 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Username** | **string** | Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. | +**FirstName** | Pointer to **string** | | [optional] +**LastName** | Pointer to **string** | | [optional] +**Email** | Pointer to **string** | | [optional] +**IsStaff** | Pointer to **bool** | Designates whether the user can log into this admin site. | [optional] +**IsActive** | Pointer to **bool** | Designates whether this user should be treated as active. Unselect this instead of deleting accounts. | [optional] +**DateJoined** | Pointer to **time.Time** | | [optional] +**LastLogin** | Pointer to **NullableTime** | | [optional] +**Groups** | Pointer to [**[]Group**](Group.md) | | [optional] +**Permissions** | Pointer to [**[]ObjectPermission**](ObjectPermission.md) | | [optional] ## Methods @@ -68,6 +78,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *User) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *User) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *User) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *User) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *User) GetDisplay() string` @@ -108,6 +143,241 @@ and a boolean to check if the value has been set. SetUsername sets Username field to given value. +### GetFirstName + +`func (o *User) GetFirstName() string` + +GetFirstName returns the FirstName field if non-nil, zero value otherwise. + +### GetFirstNameOk + +`func (o *User) GetFirstNameOk() (*string, bool)` + +GetFirstNameOk returns a tuple with the FirstName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFirstName + +`func (o *User) SetFirstName(v string)` + +SetFirstName sets FirstName field to given value. + +### HasFirstName + +`func (o *User) HasFirstName() bool` + +HasFirstName returns a boolean if a field has been set. + +### GetLastName + +`func (o *User) GetLastName() string` + +GetLastName returns the LastName field if non-nil, zero value otherwise. + +### GetLastNameOk + +`func (o *User) GetLastNameOk() (*string, bool)` + +GetLastNameOk returns a tuple with the LastName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLastName + +`func (o *User) SetLastName(v string)` + +SetLastName sets LastName field to given value. + +### HasLastName + +`func (o *User) HasLastName() bool` + +HasLastName returns a boolean if a field has been set. + +### GetEmail + +`func (o *User) GetEmail() string` + +GetEmail returns the Email field if non-nil, zero value otherwise. + +### GetEmailOk + +`func (o *User) GetEmailOk() (*string, bool)` + +GetEmailOk returns a tuple with the Email field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEmail + +`func (o *User) SetEmail(v string)` + +SetEmail sets Email field to given value. + +### HasEmail + +`func (o *User) HasEmail() bool` + +HasEmail returns a boolean if a field has been set. + +### GetIsStaff + +`func (o *User) GetIsStaff() bool` + +GetIsStaff returns the IsStaff field if non-nil, zero value otherwise. + +### GetIsStaffOk + +`func (o *User) GetIsStaffOk() (*bool, bool)` + +GetIsStaffOk returns a tuple with the IsStaff field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsStaff + +`func (o *User) SetIsStaff(v bool)` + +SetIsStaff sets IsStaff field to given value. + +### HasIsStaff + +`func (o *User) HasIsStaff() bool` + +HasIsStaff returns a boolean if a field has been set. + +### GetIsActive + +`func (o *User) GetIsActive() bool` + +GetIsActive returns the IsActive field if non-nil, zero value otherwise. + +### GetIsActiveOk + +`func (o *User) GetIsActiveOk() (*bool, bool)` + +GetIsActiveOk returns a tuple with the IsActive field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsActive + +`func (o *User) SetIsActive(v bool)` + +SetIsActive sets IsActive field to given value. + +### HasIsActive + +`func (o *User) HasIsActive() bool` + +HasIsActive returns a boolean if a field has been set. + +### GetDateJoined + +`func (o *User) GetDateJoined() time.Time` + +GetDateJoined returns the DateJoined field if non-nil, zero value otherwise. + +### GetDateJoinedOk + +`func (o *User) GetDateJoinedOk() (*time.Time, bool)` + +GetDateJoinedOk returns a tuple with the DateJoined field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDateJoined + +`func (o *User) SetDateJoined(v time.Time)` + +SetDateJoined sets DateJoined field to given value. + +### HasDateJoined + +`func (o *User) HasDateJoined() bool` + +HasDateJoined returns a boolean if a field has been set. + +### GetLastLogin + +`func (o *User) GetLastLogin() time.Time` + +GetLastLogin returns the LastLogin field if non-nil, zero value otherwise. + +### GetLastLoginOk + +`func (o *User) GetLastLoginOk() (*time.Time, bool)` + +GetLastLoginOk returns a tuple with the LastLogin field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLastLogin + +`func (o *User) SetLastLogin(v time.Time)` + +SetLastLogin sets LastLogin field to given value. + +### HasLastLogin + +`func (o *User) HasLastLogin() bool` + +HasLastLogin returns a boolean if a field has been set. + +### SetLastLoginNil + +`func (o *User) SetLastLoginNil(b bool)` + + SetLastLoginNil sets the value for LastLogin to be an explicit nil + +### UnsetLastLogin +`func (o *User) UnsetLastLogin()` + +UnsetLastLogin ensures that no value is present for LastLogin, not even an explicit nil +### GetGroups + +`func (o *User) GetGroups() []Group` + +GetGroups returns the Groups field if non-nil, zero value otherwise. + +### GetGroupsOk + +`func (o *User) GetGroupsOk() (*[]Group, bool)` + +GetGroupsOk returns a tuple with the Groups field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGroups + +`func (o *User) SetGroups(v []Group)` + +SetGroups sets Groups field to given value. + +### HasGroups + +`func (o *User) HasGroups() bool` + +HasGroups returns a boolean if a field has been set. + +### GetPermissions + +`func (o *User) GetPermissions() []ObjectPermission` + +GetPermissions returns the Permissions field if non-nil, zero value otherwise. + +### GetPermissionsOk + +`func (o *User) GetPermissionsOk() (*[]ObjectPermission, bool)` + +GetPermissionsOk returns a tuple with the Permissions field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPermissions + +`func (o *User) SetPermissions(v []ObjectPermission)` + +SetPermissions sets Permissions field to given value. + +### HasPermissions + +`func (o *User) HasPermissions() bool` + +HasPermissions 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/UserRequest.md b/docs/UserRequest.md index 58e87259f..03e64cb5f 100644 --- a/docs/UserRequest.md +++ b/docs/UserRequest.md @@ -5,12 +5,22 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Username** | **string** | Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. | +**Password** | **string** | | +**FirstName** | Pointer to **string** | | [optional] +**LastName** | Pointer to **string** | | [optional] +**Email** | Pointer to **string** | | [optional] +**IsStaff** | Pointer to **bool** | Designates whether the user can log into this admin site. | [optional] +**IsActive** | Pointer to **bool** | Designates whether this user should be treated as active. Unselect this instead of deleting accounts. | [optional] +**DateJoined** | Pointer to **time.Time** | | [optional] +**LastLogin** | Pointer to **NullableTime** | | [optional] +**Groups** | Pointer to **[]int32** | | [optional] +**Permissions** | Pointer to **[]int32** | | [optional] ## Methods ### NewUserRequest -`func NewUserRequest(username string, ) *UserRequest` +`func NewUserRequest(username string, password string, ) *UserRequest` NewUserRequest instantiates a new UserRequest object This constructor will assign default values to properties that have it defined, @@ -45,6 +55,261 @@ and a boolean to check if the value has been set. SetUsername sets Username field to given value. +### GetPassword + +`func (o *UserRequest) GetPassword() string` + +GetPassword returns the Password field if non-nil, zero value otherwise. + +### GetPasswordOk + +`func (o *UserRequest) GetPasswordOk() (*string, bool)` + +GetPasswordOk returns a tuple with the Password field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPassword + +`func (o *UserRequest) SetPassword(v string)` + +SetPassword sets Password field to given value. + + +### GetFirstName + +`func (o *UserRequest) GetFirstName() string` + +GetFirstName returns the FirstName field if non-nil, zero value otherwise. + +### GetFirstNameOk + +`func (o *UserRequest) GetFirstNameOk() (*string, bool)` + +GetFirstNameOk returns a tuple with the FirstName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFirstName + +`func (o *UserRequest) SetFirstName(v string)` + +SetFirstName sets FirstName field to given value. + +### HasFirstName + +`func (o *UserRequest) HasFirstName() bool` + +HasFirstName returns a boolean if a field has been set. + +### GetLastName + +`func (o *UserRequest) GetLastName() string` + +GetLastName returns the LastName field if non-nil, zero value otherwise. + +### GetLastNameOk + +`func (o *UserRequest) GetLastNameOk() (*string, bool)` + +GetLastNameOk returns a tuple with the LastName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLastName + +`func (o *UserRequest) SetLastName(v string)` + +SetLastName sets LastName field to given value. + +### HasLastName + +`func (o *UserRequest) HasLastName() bool` + +HasLastName returns a boolean if a field has been set. + +### GetEmail + +`func (o *UserRequest) GetEmail() string` + +GetEmail returns the Email field if non-nil, zero value otherwise. + +### GetEmailOk + +`func (o *UserRequest) GetEmailOk() (*string, bool)` + +GetEmailOk returns a tuple with the Email field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEmail + +`func (o *UserRequest) SetEmail(v string)` + +SetEmail sets Email field to given value. + +### HasEmail + +`func (o *UserRequest) HasEmail() bool` + +HasEmail returns a boolean if a field has been set. + +### GetIsStaff + +`func (o *UserRequest) GetIsStaff() bool` + +GetIsStaff returns the IsStaff field if non-nil, zero value otherwise. + +### GetIsStaffOk + +`func (o *UserRequest) GetIsStaffOk() (*bool, bool)` + +GetIsStaffOk returns a tuple with the IsStaff field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsStaff + +`func (o *UserRequest) SetIsStaff(v bool)` + +SetIsStaff sets IsStaff field to given value. + +### HasIsStaff + +`func (o *UserRequest) HasIsStaff() bool` + +HasIsStaff returns a boolean if a field has been set. + +### GetIsActive + +`func (o *UserRequest) GetIsActive() bool` + +GetIsActive returns the IsActive field if non-nil, zero value otherwise. + +### GetIsActiveOk + +`func (o *UserRequest) GetIsActiveOk() (*bool, bool)` + +GetIsActiveOk returns a tuple with the IsActive field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsActive + +`func (o *UserRequest) SetIsActive(v bool)` + +SetIsActive sets IsActive field to given value. + +### HasIsActive + +`func (o *UserRequest) HasIsActive() bool` + +HasIsActive returns a boolean if a field has been set. + +### GetDateJoined + +`func (o *UserRequest) GetDateJoined() time.Time` + +GetDateJoined returns the DateJoined field if non-nil, zero value otherwise. + +### GetDateJoinedOk + +`func (o *UserRequest) GetDateJoinedOk() (*time.Time, bool)` + +GetDateJoinedOk returns a tuple with the DateJoined field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDateJoined + +`func (o *UserRequest) SetDateJoined(v time.Time)` + +SetDateJoined sets DateJoined field to given value. + +### HasDateJoined + +`func (o *UserRequest) HasDateJoined() bool` + +HasDateJoined returns a boolean if a field has been set. + +### GetLastLogin + +`func (o *UserRequest) GetLastLogin() time.Time` + +GetLastLogin returns the LastLogin field if non-nil, zero value otherwise. + +### GetLastLoginOk + +`func (o *UserRequest) GetLastLoginOk() (*time.Time, bool)` + +GetLastLoginOk returns a tuple with the LastLogin field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLastLogin + +`func (o *UserRequest) SetLastLogin(v time.Time)` + +SetLastLogin sets LastLogin field to given value. + +### HasLastLogin + +`func (o *UserRequest) HasLastLogin() bool` + +HasLastLogin returns a boolean if a field has been set. + +### SetLastLoginNil + +`func (o *UserRequest) SetLastLoginNil(b bool)` + + SetLastLoginNil sets the value for LastLogin to be an explicit nil + +### UnsetLastLogin +`func (o *UserRequest) UnsetLastLogin()` + +UnsetLastLogin ensures that no value is present for LastLogin, not even an explicit nil +### GetGroups + +`func (o *UserRequest) GetGroups() []int32` + +GetGroups returns the Groups field if non-nil, zero value otherwise. + +### GetGroupsOk + +`func (o *UserRequest) GetGroupsOk() (*[]int32, bool)` + +GetGroupsOk returns a tuple with the Groups field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGroups + +`func (o *UserRequest) SetGroups(v []int32)` + +SetGroups sets Groups field to given value. + +### HasGroups + +`func (o *UserRequest) HasGroups() bool` + +HasGroups returns a boolean if a field has been set. + +### GetPermissions + +`func (o *UserRequest) GetPermissions() []int32` + +GetPermissions returns the Permissions field if non-nil, zero value otherwise. + +### GetPermissionsOk + +`func (o *UserRequest) GetPermissionsOk() (*[]int32, bool)` + +GetPermissionsOk returns a tuple with the Permissions field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPermissions + +`func (o *UserRequest) SetPermissions(v []int32)` + +SetPermissions sets Permissions field to given value. + +### HasPermissions + +`func (o *UserRequest) HasPermissions() bool` + +HasPermissions 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/UsersAPI.md b/docs/UsersAPI.md index 2da4d42da..114471722 100644 --- a/docs/UsersAPI.md +++ b/docs/UsersAPI.md @@ -438,7 +438,7 @@ Name | Type | Description | Notes ## UsersGroupsList -> PaginatedGroupList UsersGroupsList(ctx).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Limit(limit).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).PermissionId(permissionId).PermissionIdN(permissionIdN).Q(q).UserId(userId).UserIdN(userIdN).Execute() +> PaginatedGroupList UsersGroupsList(ctx).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Limit(limit).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).NotificationGroupId(notificationGroupId).NotificationGroupIdN(notificationGroupIdN).Offset(offset).Ordering(ordering).PermissionId(permissionId).PermissionIdN(permissionIdN).Q(q).UserId(userId).UserIdN(userIdN).Execute() @@ -487,6 +487,8 @@ func main() { nameNie := []string{"Inner_example"} // []string | (optional) nameNiew := []string{"Inner_example"} // []string | (optional) nameNisw := []string{"Inner_example"} // []string | (optional) + notificationGroupId := []int32{int32(123)} // []int32 | Notification group (ID) (optional) + notificationGroupIdN := []int32{int32(123)} // []int32 | Notification group (ID) (optional) offset := int32(56) // int32 | The initial index from which to return the results. (optional) ordering := "ordering_example" // string | Which field to use when ordering the results. (optional) permissionId := []int32{int32(123)} // []int32 | Permission (ID) (optional) @@ -497,7 +499,7 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.UsersAPI.UsersGroupsList(context.Background()).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Limit(limit).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).PermissionId(permissionId).PermissionIdN(permissionIdN).Q(q).UserId(userId).UserIdN(userIdN).Execute() + resp, r, err := apiClient.UsersAPI.UsersGroupsList(context.Background()).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Limit(limit).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).NotificationGroupId(notificationGroupId).NotificationGroupIdN(notificationGroupIdN).Offset(offset).Ordering(ordering).PermissionId(permissionId).PermissionIdN(permissionIdN).Q(q).UserId(userId).UserIdN(userIdN).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) @@ -548,6 +550,8 @@ Name | Type | Description | Notes **nameNie** | **[]string** | | **nameNiew** | **[]string** | | **nameNisw** | **[]string** | | + **notificationGroupId** | **[]int32** | Notification group (ID) | + **notificationGroupIdN** | **[]int32** | Notification group (ID) | **offset** | **int32** | The initial index from which to return the results. | **ordering** | **string** | Which field to use when ordering the results. | **permissionId** | **[]int32** | Permission (ID) | @@ -1537,7 +1541,7 @@ import ( ) func main() { - tokenRequest := []openapiclient.TokenRequest{*openapiclient.NewTokenRequest(*openapiclient.NewUserRequest("Username_example"))} // []TokenRequest | + tokenRequest := []openapiclient.TokenRequest{*openapiclient.NewTokenRequest(*openapiclient.NewBriefUserRequest("Username_example"))} // []TokenRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -1601,7 +1605,7 @@ import ( ) func main() { - tokenRequest := []openapiclient.TokenRequest{*openapiclient.NewTokenRequest(*openapiclient.NewUserRequest("Username_example"))} // []TokenRequest | + tokenRequest := []openapiclient.TokenRequest{*openapiclient.NewTokenRequest(*openapiclient.NewBriefUserRequest("Username_example"))} // []TokenRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -1667,7 +1671,7 @@ import ( ) func main() { - tokenRequest := []openapiclient.TokenRequest{*openapiclient.NewTokenRequest(*openapiclient.NewUserRequest("Username_example"))} // []TokenRequest | + tokenRequest := []openapiclient.TokenRequest{*openapiclient.NewTokenRequest(*openapiclient.NewBriefUserRequest("Username_example"))} // []TokenRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -1733,7 +1737,7 @@ import ( ) func main() { - tokenRequest := *openapiclient.NewTokenRequest(*openapiclient.NewUserRequest("Username_example")) // TokenRequest | + tokenRequest := *openapiclient.NewTokenRequest(*openapiclient.NewBriefUserRequest("Username_example")) // TokenRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -2243,7 +2247,7 @@ import ( func main() { id := int32(56) // int32 | A unique integer value identifying this token. - tokenRequest := *openapiclient.NewTokenRequest(*openapiclient.NewUserRequest("Username_example")) // TokenRequest | + tokenRequest := *openapiclient.NewTokenRequest(*openapiclient.NewBriefUserRequest("Username_example")) // TokenRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -2314,7 +2318,7 @@ import ( ) func main() { - userRequest := []openapiclient.UserRequest{*openapiclient.NewUserRequest("Username_example")} // []UserRequest | + userRequest := []openapiclient.UserRequest{*openapiclient.NewUserRequest("Username_example", "Password_example")} // []UserRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -2378,7 +2382,7 @@ import ( ) func main() { - userRequest := []openapiclient.UserRequest{*openapiclient.NewUserRequest("Username_example")} // []UserRequest | + userRequest := []openapiclient.UserRequest{*openapiclient.NewUserRequest("Username_example", "Password_example")} // []UserRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -2444,7 +2448,7 @@ import ( ) func main() { - userRequest := []openapiclient.UserRequest{*openapiclient.NewUserRequest("Username_example")} // []UserRequest | + userRequest := []openapiclient.UserRequest{*openapiclient.NewUserRequest("Username_example", "Password_example")} // []UserRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -2510,7 +2514,7 @@ import ( ) func main() { - userRequest := *openapiclient.NewUserRequest("Username_example") // UserRequest | + userRequest := *openapiclient.NewUserRequest("Username_example", "Password_example") // UserRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -2625,7 +2629,7 @@ Name | Type | Description | Notes ## UsersUsersList -> PaginatedUserList UsersUsersList(ctx).DateJoined(dateJoined).DateJoinedEmpty(dateJoinedEmpty).DateJoinedGt(dateJoinedGt).DateJoinedGte(dateJoinedGte).DateJoinedLt(dateJoinedLt).DateJoinedLte(dateJoinedLte).DateJoinedN(dateJoinedN).Email(email).EmailEmpty(emailEmpty).EmailIc(emailIc).EmailIe(emailIe).EmailIew(emailIew).EmailIsw(emailIsw).EmailN(emailN).EmailNic(emailNic).EmailNie(emailNie).EmailNiew(emailNiew).EmailNisw(emailNisw).FirstName(firstName).FirstNameEmpty(firstNameEmpty).FirstNameIc(firstNameIc).FirstNameIe(firstNameIe).FirstNameIew(firstNameIew).FirstNameIsw(firstNameIsw).FirstNameN(firstNameN).FirstNameNic(firstNameNic).FirstNameNie(firstNameNie).FirstNameNiew(firstNameNiew).FirstNameNisw(firstNameNisw).Group(group).GroupN(groupN).GroupId(groupId).GroupIdN(groupIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).IsActive(isActive).IsStaff(isStaff).IsSuperuser(isSuperuser).LastLogin(lastLogin).LastLoginEmpty(lastLoginEmpty).LastLoginGt(lastLoginGt).LastLoginGte(lastLoginGte).LastLoginLt(lastLoginLt).LastLoginLte(lastLoginLte).LastLoginN(lastLoginN).LastName(lastName).LastNameEmpty(lastNameEmpty).LastNameIc(lastNameIc).LastNameIe(lastNameIe).LastNameIew(lastNameIew).LastNameIsw(lastNameIsw).LastNameN(lastNameN).LastNameNic(lastNameNic).LastNameNie(lastNameNie).LastNameNiew(lastNameNiew).LastNameNisw(lastNameNisw).Limit(limit).Offset(offset).Ordering(ordering).PermissionId(permissionId).PermissionIdN(permissionIdN).Q(q).Username(username).UsernameEmpty(usernameEmpty).UsernameIc(usernameIc).UsernameIe(usernameIe).UsernameIew(usernameIew).UsernameIsw(usernameIsw).UsernameN(usernameN).UsernameNic(usernameNic).UsernameNie(usernameNie).UsernameNiew(usernameNiew).UsernameNisw(usernameNisw).Execute() +> PaginatedUserList UsersUsersList(ctx).DateJoined(dateJoined).DateJoinedEmpty(dateJoinedEmpty).DateJoinedGt(dateJoinedGt).DateJoinedGte(dateJoinedGte).DateJoinedLt(dateJoinedLt).DateJoinedLte(dateJoinedLte).DateJoinedN(dateJoinedN).Email(email).EmailEmpty(emailEmpty).EmailIc(emailIc).EmailIe(emailIe).EmailIew(emailIew).EmailIsw(emailIsw).EmailN(emailN).EmailNic(emailNic).EmailNie(emailNie).EmailNiew(emailNiew).EmailNisw(emailNisw).FirstName(firstName).FirstNameEmpty(firstNameEmpty).FirstNameIc(firstNameIc).FirstNameIe(firstNameIe).FirstNameIew(firstNameIew).FirstNameIsw(firstNameIsw).FirstNameN(firstNameN).FirstNameNic(firstNameNic).FirstNameNie(firstNameNie).FirstNameNiew(firstNameNiew).FirstNameNisw(firstNameNisw).Group(group).GroupN(groupN).GroupId(groupId).GroupIdN(groupIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).IsActive(isActive).IsStaff(isStaff).IsSuperuser(isSuperuser).LastLogin(lastLogin).LastLoginEmpty(lastLoginEmpty).LastLoginGt(lastLoginGt).LastLoginGte(lastLoginGte).LastLoginLt(lastLoginLt).LastLoginLte(lastLoginLte).LastLoginN(lastLoginN).LastName(lastName).LastNameEmpty(lastNameEmpty).LastNameIc(lastNameIc).LastNameIe(lastNameIe).LastNameIew(lastNameIew).LastNameIsw(lastNameIsw).LastNameN(lastNameN).LastNameNic(lastNameNic).LastNameNie(lastNameNie).LastNameNiew(lastNameNiew).LastNameNisw(lastNameNisw).Limit(limit).NotificationGroupId(notificationGroupId).NotificationGroupIdN(notificationGroupIdN).Offset(offset).Ordering(ordering).PermissionId(permissionId).PermissionIdN(permissionIdN).Q(q).Username(username).UsernameEmpty(usernameEmpty).UsernameIc(usernameIc).UsernameIe(usernameIe).UsernameIew(usernameIew).UsernameIsw(usernameIsw).UsernameN(usernameN).UsernameNic(usernameNic).UsernameNie(usernameNie).UsernameNiew(usernameNiew).UsernameNisw(usernameNisw).Execute() @@ -2707,6 +2711,8 @@ func main() { lastNameNiew := []string{"Inner_example"} // []string | (optional) lastNameNisw := []string{"Inner_example"} // []string | (optional) limit := int32(56) // int32 | Number of results to return per page. (optional) + notificationGroupId := []int32{int32(123)} // []int32 | Notification group (ID) (optional) + notificationGroupIdN := []int32{int32(123)} // []int32 | Notification group (ID) (optional) offset := int32(56) // int32 | The initial index from which to return the results. (optional) ordering := "ordering_example" // string | Which field to use when ordering the results. (optional) permissionId := []int32{int32(123)} // []int32 | Permission (ID) (optional) @@ -2726,7 +2732,7 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.UsersAPI.UsersUsersList(context.Background()).DateJoined(dateJoined).DateJoinedEmpty(dateJoinedEmpty).DateJoinedGt(dateJoinedGt).DateJoinedGte(dateJoinedGte).DateJoinedLt(dateJoinedLt).DateJoinedLte(dateJoinedLte).DateJoinedN(dateJoinedN).Email(email).EmailEmpty(emailEmpty).EmailIc(emailIc).EmailIe(emailIe).EmailIew(emailIew).EmailIsw(emailIsw).EmailN(emailN).EmailNic(emailNic).EmailNie(emailNie).EmailNiew(emailNiew).EmailNisw(emailNisw).FirstName(firstName).FirstNameEmpty(firstNameEmpty).FirstNameIc(firstNameIc).FirstNameIe(firstNameIe).FirstNameIew(firstNameIew).FirstNameIsw(firstNameIsw).FirstNameN(firstNameN).FirstNameNic(firstNameNic).FirstNameNie(firstNameNie).FirstNameNiew(firstNameNiew).FirstNameNisw(firstNameNisw).Group(group).GroupN(groupN).GroupId(groupId).GroupIdN(groupIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).IsActive(isActive).IsStaff(isStaff).IsSuperuser(isSuperuser).LastLogin(lastLogin).LastLoginEmpty(lastLoginEmpty).LastLoginGt(lastLoginGt).LastLoginGte(lastLoginGte).LastLoginLt(lastLoginLt).LastLoginLte(lastLoginLte).LastLoginN(lastLoginN).LastName(lastName).LastNameEmpty(lastNameEmpty).LastNameIc(lastNameIc).LastNameIe(lastNameIe).LastNameIew(lastNameIew).LastNameIsw(lastNameIsw).LastNameN(lastNameN).LastNameNic(lastNameNic).LastNameNie(lastNameNie).LastNameNiew(lastNameNiew).LastNameNisw(lastNameNisw).Limit(limit).Offset(offset).Ordering(ordering).PermissionId(permissionId).PermissionIdN(permissionIdN).Q(q).Username(username).UsernameEmpty(usernameEmpty).UsernameIc(usernameIc).UsernameIe(usernameIe).UsernameIew(usernameIew).UsernameIsw(usernameIsw).UsernameN(usernameN).UsernameNic(usernameNic).UsernameNie(usernameNie).UsernameNiew(usernameNiew).UsernameNisw(usernameNisw).Execute() + resp, r, err := apiClient.UsersAPI.UsersUsersList(context.Background()).DateJoined(dateJoined).DateJoinedEmpty(dateJoinedEmpty).DateJoinedGt(dateJoinedGt).DateJoinedGte(dateJoinedGte).DateJoinedLt(dateJoinedLt).DateJoinedLte(dateJoinedLte).DateJoinedN(dateJoinedN).Email(email).EmailEmpty(emailEmpty).EmailIc(emailIc).EmailIe(emailIe).EmailIew(emailIew).EmailIsw(emailIsw).EmailN(emailN).EmailNic(emailNic).EmailNie(emailNie).EmailNiew(emailNiew).EmailNisw(emailNisw).FirstName(firstName).FirstNameEmpty(firstNameEmpty).FirstNameIc(firstNameIc).FirstNameIe(firstNameIe).FirstNameIew(firstNameIew).FirstNameIsw(firstNameIsw).FirstNameN(firstNameN).FirstNameNic(firstNameNic).FirstNameNie(firstNameNie).FirstNameNiew(firstNameNiew).FirstNameNisw(firstNameNisw).Group(group).GroupN(groupN).GroupId(groupId).GroupIdN(groupIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).IsActive(isActive).IsStaff(isStaff).IsSuperuser(isSuperuser).LastLogin(lastLogin).LastLoginEmpty(lastLoginEmpty).LastLoginGt(lastLoginGt).LastLoginGte(lastLoginGte).LastLoginLt(lastLoginLt).LastLoginLte(lastLoginLte).LastLoginN(lastLoginN).LastName(lastName).LastNameEmpty(lastNameEmpty).LastNameIc(lastNameIc).LastNameIe(lastNameIe).LastNameIew(lastNameIew).LastNameIsw(lastNameIsw).LastNameN(lastNameN).LastNameNic(lastNameNic).LastNameNie(lastNameNie).LastNameNiew(lastNameNiew).LastNameNisw(lastNameNisw).Limit(limit).NotificationGroupId(notificationGroupId).NotificationGroupIdN(notificationGroupIdN).Offset(offset).Ordering(ordering).PermissionId(permissionId).PermissionIdN(permissionIdN).Q(q).Username(username).UsernameEmpty(usernameEmpty).UsernameIc(usernameIc).UsernameIe(usernameIe).UsernameIew(usernameIew).UsernameIsw(usernameIsw).UsernameN(usernameN).UsernameNic(usernameNic).UsernameNie(usernameNie).UsernameNiew(usernameNiew).UsernameNisw(usernameNisw).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) @@ -2809,6 +2815,8 @@ Name | Type | Description | Notes **lastNameNiew** | **[]string** | | **lastNameNisw** | **[]string** | | **limit** | **int32** | Number of results to return per page. | + **notificationGroupId** | **[]int32** | Notification group (ID) | + **notificationGroupIdN** | **[]int32** | Notification group (ID) | **offset** | **int32** | The initial index from which to return the results. | **ordering** | **string** | Which field to use when ordering the results. | **permissionId** | **[]int32** | Permission (ID) | @@ -3008,7 +3016,7 @@ import ( func main() { id := int32(56) // int32 | A unique integer value identifying this user. - userRequest := *openapiclient.NewUserRequest("Username_example") // UserRequest | + userRequest := *openapiclient.NewUserRequest("Username_example", "Password_example") // UserRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) diff --git a/docs/VLAN.md b/docs/VLAN.md index 81cee5529..6e376df0e 100644 --- a/docs/VLAN.md +++ b/docs/VLAN.md @@ -6,16 +6,29 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] +**Site** | Pointer to [**NullableBriefSite**](BriefSite.md) | | [optional] +**Group** | Pointer to [**NullableBriefVLANGroup**](BriefVLANGroup.md) | | [optional] **Vid** | **int32** | Numeric VLAN ID (1-4094) | **Name** | **string** | | +**Tenant** | Pointer to [**NullableBriefTenant**](BriefTenant.md) | | [optional] +**Status** | Pointer to [**IPRangeStatus**](IPRangeStatus.md) | | [optional] +**Role** | Pointer to [**NullableBriefRole**](BriefRole.md) | | [optional] **Description** | Pointer to **string** | | [optional] +**Comments** | Pointer to **string** | | [optional] +**L2vpnTermination** | [**NullableBriefL2VPNTermination**](BriefL2VPNTermination.md) | | [readonly] +**Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] +**Created** | **NullableTime** | | [readonly] +**LastUpdated** | **NullableTime** | | [readonly] +**PrefixCount** | Pointer to **int64** | | [optional] [readonly] ## Methods ### NewVLAN -`func NewVLAN(id int32, url string, display string, vid int32, name string, ) *VLAN` +`func NewVLAN(id int32, url string, display string, vid int32, name string, l2vpnTermination NullableBriefL2VPNTermination, created NullableTime, lastUpdated NullableTime, ) *VLAN` NewVLAN instantiates a new VLAN object This constructor will assign default values to properties that have it defined, @@ -70,6 +83,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *VLAN) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *VLAN) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *VLAN) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *VLAN) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *VLAN) GetDisplay() string` @@ -90,6 +128,76 @@ and a boolean to check if the value has been set. SetDisplay sets Display field to given value. +### GetSite + +`func (o *VLAN) GetSite() BriefSite` + +GetSite returns the Site field if non-nil, zero value otherwise. + +### GetSiteOk + +`func (o *VLAN) GetSiteOk() (*BriefSite, bool)` + +GetSiteOk returns a tuple with the Site field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSite + +`func (o *VLAN) SetSite(v BriefSite)` + +SetSite sets Site field to given value. + +### HasSite + +`func (o *VLAN) HasSite() bool` + +HasSite returns a boolean if a field has been set. + +### SetSiteNil + +`func (o *VLAN) SetSiteNil(b bool)` + + SetSiteNil sets the value for Site to be an explicit nil + +### UnsetSite +`func (o *VLAN) UnsetSite()` + +UnsetSite ensures that no value is present for Site, not even an explicit nil +### GetGroup + +`func (o *VLAN) GetGroup() BriefVLANGroup` + +GetGroup returns the Group field if non-nil, zero value otherwise. + +### GetGroupOk + +`func (o *VLAN) GetGroupOk() (*BriefVLANGroup, bool)` + +GetGroupOk returns a tuple with the Group field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGroup + +`func (o *VLAN) SetGroup(v BriefVLANGroup)` + +SetGroup sets Group field to given value. + +### HasGroup + +`func (o *VLAN) HasGroup() bool` + +HasGroup returns a boolean if a field has been set. + +### SetGroupNil + +`func (o *VLAN) SetGroupNil(b bool)` + + SetGroupNil sets the value for Group to be an explicit nil + +### UnsetGroup +`func (o *VLAN) UnsetGroup()` + +UnsetGroup ensures that no value is present for Group, not even an explicit nil ### GetVid `func (o *VLAN) GetVid() int32` @@ -130,6 +238,101 @@ and a boolean to check if the value has been set. SetName sets Name field to given value. +### GetTenant + +`func (o *VLAN) GetTenant() BriefTenant` + +GetTenant returns the Tenant field if non-nil, zero value otherwise. + +### GetTenantOk + +`func (o *VLAN) GetTenantOk() (*BriefTenant, 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 *VLAN) SetTenant(v BriefTenant)` + +SetTenant sets Tenant field to given value. + +### HasTenant + +`func (o *VLAN) HasTenant() bool` + +HasTenant returns a boolean if a field has been set. + +### SetTenantNil + +`func (o *VLAN) SetTenantNil(b bool)` + + SetTenantNil sets the value for Tenant to be an explicit nil + +### UnsetTenant +`func (o *VLAN) UnsetTenant()` + +UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +### GetStatus + +`func (o *VLAN) GetStatus() IPRangeStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *VLAN) GetStatusOk() (*IPRangeStatus, 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 *VLAN) SetStatus(v IPRangeStatus)` + +SetStatus sets Status field to given value. + +### HasStatus + +`func (o *VLAN) HasStatus() bool` + +HasStatus returns a boolean if a field has been set. + +### GetRole + +`func (o *VLAN) GetRole() BriefRole` + +GetRole returns the Role field if non-nil, zero value otherwise. + +### GetRoleOk + +`func (o *VLAN) GetRoleOk() (*BriefRole, 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 *VLAN) SetRole(v BriefRole)` + +SetRole sets Role field to given value. + +### HasRole + +`func (o *VLAN) HasRole() bool` + +HasRole returns a boolean if a field has been set. + +### SetRoleNil + +`func (o *VLAN) SetRoleNil(b bool)` + + SetRoleNil sets the value for Role to be an explicit nil + +### UnsetRole +`func (o *VLAN) UnsetRole()` + +UnsetRole ensures that no value is present for Role, not even an explicit nil ### GetDescription `func (o *VLAN) GetDescription() string` @@ -155,6 +358,196 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetComments + +`func (o *VLAN) GetComments() string` + +GetComments returns the Comments field if non-nil, zero value otherwise. + +### GetCommentsOk + +`func (o *VLAN) GetCommentsOk() (*string, bool)` + +GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComments + +`func (o *VLAN) SetComments(v string)` + +SetComments sets Comments field to given value. + +### HasComments + +`func (o *VLAN) HasComments() bool` + +HasComments returns a boolean if a field has been set. + +### GetL2vpnTermination + +`func (o *VLAN) GetL2vpnTermination() BriefL2VPNTermination` + +GetL2vpnTermination returns the L2vpnTermination field if non-nil, zero value otherwise. + +### GetL2vpnTerminationOk + +`func (o *VLAN) GetL2vpnTerminationOk() (*BriefL2VPNTermination, bool)` + +GetL2vpnTerminationOk returns a tuple with the L2vpnTermination field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetL2vpnTermination + +`func (o *VLAN) SetL2vpnTermination(v BriefL2VPNTermination)` + +SetL2vpnTermination sets L2vpnTermination field to given value. + + +### SetL2vpnTerminationNil + +`func (o *VLAN) SetL2vpnTerminationNil(b bool)` + + SetL2vpnTerminationNil sets the value for L2vpnTermination to be an explicit nil + +### UnsetL2vpnTermination +`func (o *VLAN) UnsetL2vpnTermination()` + +UnsetL2vpnTermination ensures that no value is present for L2vpnTermination, not even an explicit nil +### GetTags + +`func (o *VLAN) GetTags() []NestedTag` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *VLAN) GetTagsOk() (*[]NestedTag, 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 *VLAN) SetTags(v []NestedTag)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *VLAN) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *VLAN) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *VLAN) 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 *VLAN) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *VLAN) HasCustomFields() bool` + +HasCustomFields returns a boolean if a field has been set. + +### GetCreated + +`func (o *VLAN) GetCreated() time.Time` + +GetCreated returns the Created field if non-nil, zero value otherwise. + +### GetCreatedOk + +`func (o *VLAN) 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 *VLAN) SetCreated(v time.Time)` + +SetCreated sets Created field to given value. + + +### SetCreatedNil + +`func (o *VLAN) SetCreatedNil(b bool)` + + SetCreatedNil sets the value for Created to be an explicit nil + +### UnsetCreated +`func (o *VLAN) UnsetCreated()` + +UnsetCreated ensures that no value is present for Created, not even an explicit nil +### GetLastUpdated + +`func (o *VLAN) GetLastUpdated() time.Time` + +GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise. + +### GetLastUpdatedOk + +`func (o *VLAN) 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 *VLAN) SetLastUpdated(v time.Time)` + +SetLastUpdated sets LastUpdated field to given value. + + +### SetLastUpdatedNil + +`func (o *VLAN) SetLastUpdatedNil(b bool)` + + SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil + +### UnsetLastUpdated +`func (o *VLAN) UnsetLastUpdated()` + +UnsetLastUpdated ensures that no value is present for LastUpdated, not even an explicit nil +### GetPrefixCount + +`func (o *VLAN) GetPrefixCount() int64` + +GetPrefixCount returns the PrefixCount field if non-nil, zero value otherwise. + +### GetPrefixCountOk + +`func (o *VLAN) GetPrefixCountOk() (*int64, bool)` + +GetPrefixCountOk returns a tuple with the PrefixCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPrefixCount + +`func (o *VLAN) SetPrefixCount(v int64)` + +SetPrefixCount sets PrefixCount field to given value. + +### HasPrefixCount + +`func (o *VLAN) HasPrefixCount() bool` + +HasPrefixCount 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 6df7b1d13..4e96cde9e 100644 --- a/docs/VLANGroup.md +++ b/docs/VLANGroup.md @@ -6,27 +6,26 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Name** | **string** | | **Slug** | **string** | | **ScopeType** | Pointer to **NullableString** | | [optional] **ScopeId** | Pointer to **NullableInt32** | | [optional] **Scope** | **interface{}** | | [readonly] -**MinVid** | Pointer to **int32** | Lowest permissible ID of a child VLAN | [optional] -**MaxVid** | Pointer to **int32** | Highest permissible ID of a child VLAN | [optional] **Description** | Pointer to **string** | | [optional] **Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] **Created** | **NullableTime** | | [readonly] **LastUpdated** | **NullableTime** | | [readonly] -**VlanCount** | **int64** | | [readonly] +**VlanCount** | Pointer to **int64** | | [optional] [readonly] **Utilization** | **string** | | [readonly] ## Methods ### NewVLANGroup -`func NewVLANGroup(id int32, url string, display string, name string, slug string, scope interface{}, created NullableTime, lastUpdated NullableTime, vlanCount int64, utilization string, ) *VLANGroup` +`func NewVLANGroup(id int32, url string, display string, name string, slug string, scope interface{}, created NullableTime, lastUpdated NullableTime, utilization string, ) *VLANGroup` NewVLANGroup instantiates a new VLANGroup object This constructor will assign default values to properties that have it defined, @@ -81,6 +80,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *VLANGroup) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *VLANGroup) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *VLANGroup) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *VLANGroup) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *VLANGroup) GetDisplay() string` @@ -241,56 +265,6 @@ SetScope sets Scope field to given value. `func (o *VLANGroup) UnsetScope()` UnsetScope ensures that no value is present for Scope, not even an explicit nil -### GetMinVid - -`func (o *VLANGroup) GetMinVid() int32` - -GetMinVid returns the MinVid field if non-nil, zero value otherwise. - -### GetMinVidOk - -`func (o *VLANGroup) GetMinVidOk() (*int32, bool)` - -GetMinVidOk returns a tuple with the MinVid field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMinVid - -`func (o *VLANGroup) SetMinVid(v int32)` - -SetMinVid sets MinVid field to given value. - -### HasMinVid - -`func (o *VLANGroup) HasMinVid() bool` - -HasMinVid returns a boolean if a field has been set. - -### GetMaxVid - -`func (o *VLANGroup) GetMaxVid() int32` - -GetMaxVid returns the MaxVid field if non-nil, zero value otherwise. - -### GetMaxVidOk - -`func (o *VLANGroup) GetMaxVidOk() (*int32, bool)` - -GetMaxVidOk returns a tuple with the MaxVid field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxVid - -`func (o *VLANGroup) SetMaxVid(v int32)` - -SetMaxVid sets MaxVid field to given value. - -### HasMaxVid - -`func (o *VLANGroup) HasMaxVid() bool` - -HasMaxVid returns a boolean if a field has been set. - ### GetDescription `func (o *VLANGroup) GetDescription() string` @@ -445,6 +419,11 @@ and a boolean to check if the value has been set. SetVlanCount sets VlanCount field to given value. +### HasVlanCount + +`func (o *VLANGroup) HasVlanCount() bool` + +HasVlanCount returns a boolean if a field has been set. ### GetUtilization diff --git a/docs/VLANGroupRequest.md b/docs/VLANGroupRequest.md index efd4ab4ff..768c049b0 100644 --- a/docs/VLANGroupRequest.md +++ b/docs/VLANGroupRequest.md @@ -8,8 +8,6 @@ Name | Type | Description | Notes **Slug** | **string** | | **ScopeType** | Pointer to **NullableString** | | [optional] **ScopeId** | Pointer to **NullableInt32** | | [optional] -**MinVid** | Pointer to **int32** | Lowest permissible ID of a child VLAN | [optional] -**MaxVid** | Pointer to **int32** | Highest permissible ID of a child VLAN | [optional] **Description** | Pointer to **string** | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] @@ -143,56 +141,6 @@ HasScopeId returns a boolean if a field has been set. `func (o *VLANGroupRequest) UnsetScopeId()` UnsetScopeId ensures that no value is present for ScopeId, not even an explicit nil -### GetMinVid - -`func (o *VLANGroupRequest) GetMinVid() int32` - -GetMinVid returns the MinVid field if non-nil, zero value otherwise. - -### GetMinVidOk - -`func (o *VLANGroupRequest) GetMinVidOk() (*int32, bool)` - -GetMinVidOk returns a tuple with the MinVid field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMinVid - -`func (o *VLANGroupRequest) SetMinVid(v int32)` - -SetMinVid sets MinVid field to given value. - -### HasMinVid - -`func (o *VLANGroupRequest) HasMinVid() bool` - -HasMinVid returns a boolean if a field has been set. - -### GetMaxVid - -`func (o *VLANGroupRequest) GetMaxVid() int32` - -GetMaxVid returns the MaxVid field if non-nil, zero value otherwise. - -### GetMaxVidOk - -`func (o *VLANGroupRequest) GetMaxVidOk() (*int32, bool)` - -GetMaxVidOk returns a tuple with the MaxVid field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxVid - -`func (o *VLANGroupRequest) SetMaxVid(v int32)` - -SetMaxVid sets MaxVid field to given value. - -### HasMaxVid - -`func (o *VLANGroupRequest) HasMaxVid() bool` - -HasMaxVid returns a boolean if a field has been set. - ### GetDescription `func (o *VLANGroupRequest) GetDescription() string` diff --git a/docs/VLANRequest.md b/docs/VLANRequest.md index 8ee516347..0b7ddd1b8 100644 --- a/docs/VLANRequest.md +++ b/docs/VLANRequest.md @@ -4,9 +4,17 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Site** | Pointer to [**NullableBriefSiteRequest**](BriefSiteRequest.md) | | [optional] +**Group** | Pointer to [**NullableBriefVLANGroupRequest**](BriefVLANGroupRequest.md) | | [optional] **Vid** | **int32** | Numeric VLAN ID (1-4094) | **Name** | **string** | | +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] +**Status** | Pointer to [**IPRangeStatusValue**](IPRangeStatusValue.md) | | [optional] +**Role** | Pointer to [**NullableBriefRoleRequest**](BriefRoleRequest.md) | | [optional] **Description** | Pointer to **string** | | [optional] +**Comments** | Pointer to **string** | | [optional] +**Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] ## Methods @@ -27,6 +35,76 @@ 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 +### GetSite + +`func (o *VLANRequest) GetSite() BriefSiteRequest` + +GetSite returns the Site field if non-nil, zero value otherwise. + +### GetSiteOk + +`func (o *VLANRequest) GetSiteOk() (*BriefSiteRequest, bool)` + +GetSiteOk returns a tuple with the Site field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSite + +`func (o *VLANRequest) SetSite(v BriefSiteRequest)` + +SetSite sets Site field to given value. + +### HasSite + +`func (o *VLANRequest) HasSite() bool` + +HasSite returns a boolean if a field has been set. + +### SetSiteNil + +`func (o *VLANRequest) SetSiteNil(b bool)` + + SetSiteNil sets the value for Site to be an explicit nil + +### UnsetSite +`func (o *VLANRequest) UnsetSite()` + +UnsetSite ensures that no value is present for Site, not even an explicit nil +### GetGroup + +`func (o *VLANRequest) GetGroup() BriefVLANGroupRequest` + +GetGroup returns the Group field if non-nil, zero value otherwise. + +### GetGroupOk + +`func (o *VLANRequest) GetGroupOk() (*BriefVLANGroupRequest, bool)` + +GetGroupOk returns a tuple with the Group field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGroup + +`func (o *VLANRequest) SetGroup(v BriefVLANGroupRequest)` + +SetGroup sets Group field to given value. + +### HasGroup + +`func (o *VLANRequest) HasGroup() bool` + +HasGroup returns a boolean if a field has been set. + +### SetGroupNil + +`func (o *VLANRequest) SetGroupNil(b bool)` + + SetGroupNil sets the value for Group to be an explicit nil + +### UnsetGroup +`func (o *VLANRequest) UnsetGroup()` + +UnsetGroup ensures that no value is present for Group, not even an explicit nil ### GetVid `func (o *VLANRequest) GetVid() int32` @@ -67,6 +145,101 @@ and a boolean to check if the value has been set. SetName sets Name field to given value. +### GetTenant + +`func (o *VLANRequest) GetTenant() BriefTenantRequest` + +GetTenant returns the Tenant field if non-nil, zero value otherwise. + +### GetTenantOk + +`func (o *VLANRequest) GetTenantOk() (*BriefTenantRequest, 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 *VLANRequest) SetTenant(v BriefTenantRequest)` + +SetTenant sets Tenant field to given value. + +### HasTenant + +`func (o *VLANRequest) HasTenant() bool` + +HasTenant returns a boolean if a field has been set. + +### SetTenantNil + +`func (o *VLANRequest) SetTenantNil(b bool)` + + SetTenantNil sets the value for Tenant to be an explicit nil + +### UnsetTenant +`func (o *VLANRequest) UnsetTenant()` + +UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +### GetStatus + +`func (o *VLANRequest) GetStatus() IPRangeStatusValue` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *VLANRequest) GetStatusOk() (*IPRangeStatusValue, 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 *VLANRequest) SetStatus(v IPRangeStatusValue)` + +SetStatus sets Status field to given value. + +### HasStatus + +`func (o *VLANRequest) HasStatus() bool` + +HasStatus returns a boolean if a field has been set. + +### GetRole + +`func (o *VLANRequest) GetRole() BriefRoleRequest` + +GetRole returns the Role field if non-nil, zero value otherwise. + +### GetRoleOk + +`func (o *VLANRequest) GetRoleOk() (*BriefRoleRequest, 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 *VLANRequest) SetRole(v BriefRoleRequest)` + +SetRole sets Role field to given value. + +### HasRole + +`func (o *VLANRequest) HasRole() bool` + +HasRole returns a boolean if a field has been set. + +### SetRoleNil + +`func (o *VLANRequest) SetRoleNil(b bool)` + + SetRoleNil sets the value for Role to be an explicit nil + +### UnsetRole +`func (o *VLANRequest) UnsetRole()` + +UnsetRole ensures that no value is present for Role, not even an explicit nil ### GetDescription `func (o *VLANRequest) GetDescription() string` @@ -92,6 +265,81 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetComments + +`func (o *VLANRequest) GetComments() string` + +GetComments returns the Comments field if non-nil, zero value otherwise. + +### GetCommentsOk + +`func (o *VLANRequest) GetCommentsOk() (*string, bool)` + +GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComments + +`func (o *VLANRequest) SetComments(v string)` + +SetComments sets Comments field to given value. + +### HasComments + +`func (o *VLANRequest) HasComments() bool` + +HasComments returns a boolean if a field has been set. + +### GetTags + +`func (o *VLANRequest) GetTags() []NestedTagRequest` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *VLANRequest) GetTagsOk() (*[]NestedTagRequest, 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 *VLANRequest) SetTags(v []NestedTagRequest)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *VLANRequest) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *VLANRequest) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *VLANRequest) 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 *VLANRequest) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *VLANRequest) 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/VMInterface.md b/docs/VMInterface.md index ba4d5ef2c..eb9687199 100644 --- a/docs/VMInterface.md +++ b/docs/VMInterface.md @@ -6,8 +6,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] -**VirtualMachine** | [**VirtualMachine**](VirtualMachine.md) | | +**VirtualMachine** | [**BriefVirtualMachine**](BriefVirtualMachine.md) | | **Name** | **string** | | **Enabled** | Pointer to **bool** | | [optional] **Parent** | Pointer to [**NullableNestedVMInterface**](NestedVMInterface.md) | | [optional] @@ -16,10 +17,10 @@ Name | Type | Description | Notes **MacAddress** | Pointer to **NullableString** | | [optional] **Description** | Pointer to **string** | | [optional] **Mode** | Pointer to [**InterfaceMode**](InterfaceMode.md) | | [optional] -**UntaggedVlan** | Pointer to [**NullableVLAN**](VLAN.md) | | [optional] +**UntaggedVlan** | Pointer to [**NullableBriefVLAN**](BriefVLAN.md) | | [optional] **TaggedVlans** | Pointer to [**[]VLAN**](VLAN.md) | | [optional] -**Vrf** | Pointer to [**NullableVRF**](VRF.md) | | [optional] -**L2vpnTermination** | [**NullableL2VPNTermination**](L2VPNTermination.md) | | [readonly] +**Vrf** | Pointer to [**NullableBriefVRF**](BriefVRF.md) | | [optional] +**L2vpnTermination** | [**NullableBriefL2VPNTermination**](BriefL2VPNTermination.md) | | [readonly] **Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] **Created** | **NullableTime** | | [readonly] @@ -31,7 +32,7 @@ Name | Type | Description | Notes ### NewVMInterface -`func NewVMInterface(id int32, url string, display string, virtualMachine VirtualMachine, name string, l2vpnTermination NullableL2VPNTermination, created NullableTime, lastUpdated NullableTime, countIpaddresses int32, countFhrpGroups int32, ) *VMInterface` +`func NewVMInterface(id int32, url string, display string, virtualMachine BriefVirtualMachine, name string, l2vpnTermination NullableBriefL2VPNTermination, created NullableTime, lastUpdated NullableTime, countIpaddresses int32, countFhrpGroups int32, ) *VMInterface` NewVMInterface instantiates a new VMInterface object This constructor will assign default values to properties that have it defined, @@ -86,6 +87,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *VMInterface) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *VMInterface) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *VMInterface) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *VMInterface) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *VMInterface) GetDisplay() string` @@ -108,20 +134,20 @@ SetDisplay sets Display field to given value. ### GetVirtualMachine -`func (o *VMInterface) GetVirtualMachine() VirtualMachine` +`func (o *VMInterface) GetVirtualMachine() BriefVirtualMachine` GetVirtualMachine returns the VirtualMachine field if non-nil, zero value otherwise. ### GetVirtualMachineOk -`func (o *VMInterface) GetVirtualMachineOk() (*VirtualMachine, bool)` +`func (o *VMInterface) GetVirtualMachineOk() (*BriefVirtualMachine, bool)` GetVirtualMachineOk returns a tuple with the VirtualMachine field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVirtualMachine -`func (o *VMInterface) SetVirtualMachine(v VirtualMachine)` +`func (o *VMInterface) SetVirtualMachine(v BriefVirtualMachine)` SetVirtualMachine sets VirtualMachine field to given value. @@ -363,20 +389,20 @@ HasMode returns a boolean if a field has been set. ### GetUntaggedVlan -`func (o *VMInterface) GetUntaggedVlan() VLAN` +`func (o *VMInterface) GetUntaggedVlan() BriefVLAN` GetUntaggedVlan returns the UntaggedVlan field if non-nil, zero value otherwise. ### GetUntaggedVlanOk -`func (o *VMInterface) GetUntaggedVlanOk() (*VLAN, bool)` +`func (o *VMInterface) GetUntaggedVlanOk() (*BriefVLAN, bool)` GetUntaggedVlanOk returns a tuple with the UntaggedVlan field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUntaggedVlan -`func (o *VMInterface) SetUntaggedVlan(v VLAN)` +`func (o *VMInterface) SetUntaggedVlan(v BriefVLAN)` SetUntaggedVlan sets UntaggedVlan field to given value. @@ -423,20 +449,20 @@ HasTaggedVlans returns a boolean if a field has been set. ### GetVrf -`func (o *VMInterface) GetVrf() VRF` +`func (o *VMInterface) GetVrf() BriefVRF` GetVrf returns the Vrf field if non-nil, zero value otherwise. ### GetVrfOk -`func (o *VMInterface) GetVrfOk() (*VRF, bool)` +`func (o *VMInterface) GetVrfOk() (*BriefVRF, bool)` GetVrfOk returns a tuple with the Vrf field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVrf -`func (o *VMInterface) SetVrf(v VRF)` +`func (o *VMInterface) SetVrf(v BriefVRF)` SetVrf sets Vrf field to given value. @@ -458,20 +484,20 @@ HasVrf returns a boolean if a field has been set. UnsetVrf ensures that no value is present for Vrf, not even an explicit nil ### GetL2vpnTermination -`func (o *VMInterface) GetL2vpnTermination() L2VPNTermination` +`func (o *VMInterface) GetL2vpnTermination() BriefL2VPNTermination` GetL2vpnTermination returns the L2vpnTermination field if non-nil, zero value otherwise. ### GetL2vpnTerminationOk -`func (o *VMInterface) GetL2vpnTerminationOk() (*L2VPNTermination, bool)` +`func (o *VMInterface) GetL2vpnTerminationOk() (*BriefL2VPNTermination, bool)` GetL2vpnTerminationOk returns a tuple with the L2vpnTermination field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetL2vpnTermination -`func (o *VMInterface) SetL2vpnTermination(v L2VPNTermination)` +`func (o *VMInterface) SetL2vpnTermination(v BriefL2VPNTermination)` SetL2vpnTermination sets L2vpnTermination field to given value. diff --git a/docs/VMInterfaceRequest.md b/docs/VMInterfaceRequest.md index f82ea7526..9285ac301 100644 --- a/docs/VMInterfaceRequest.md +++ b/docs/VMInterfaceRequest.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**VirtualMachine** | [**VirtualMachineRequest**](VirtualMachineRequest.md) | | +**VirtualMachine** | [**BriefVirtualMachineRequest**](BriefVirtualMachineRequest.md) | | **Name** | **string** | | **Enabled** | Pointer to **bool** | | [optional] **Parent** | Pointer to [**NullableNestedVMInterfaceRequest**](NestedVMInterfaceRequest.md) | | [optional] @@ -13,9 +13,9 @@ Name | Type | Description | Notes **MacAddress** | Pointer to **NullableString** | | [optional] **Description** | Pointer to **string** | | [optional] **Mode** | Pointer to [**InterfaceModeValue**](InterfaceModeValue.md) | | [optional] -**UntaggedVlan** | Pointer to [**NullableVLANRequest**](VLANRequest.md) | | [optional] +**UntaggedVlan** | Pointer to [**NullableBriefVLANRequest**](BriefVLANRequest.md) | | [optional] **TaggedVlans** | Pointer to **[]int32** | | [optional] -**Vrf** | Pointer to [**NullableVRFRequest**](VRFRequest.md) | | [optional] +**Vrf** | Pointer to [**NullableBriefVRFRequest**](BriefVRFRequest.md) | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] @@ -23,7 +23,7 @@ Name | Type | Description | Notes ### NewVMInterfaceRequest -`func NewVMInterfaceRequest(virtualMachine VirtualMachineRequest, name string, ) *VMInterfaceRequest` +`func NewVMInterfaceRequest(virtualMachine BriefVirtualMachineRequest, name string, ) *VMInterfaceRequest` NewVMInterfaceRequest instantiates a new VMInterfaceRequest object This constructor will assign default values to properties that have it defined, @@ -40,20 +40,20 @@ but it doesn't guarantee that properties required by API are set ### GetVirtualMachine -`func (o *VMInterfaceRequest) GetVirtualMachine() VirtualMachineRequest` +`func (o *VMInterfaceRequest) GetVirtualMachine() BriefVirtualMachineRequest` GetVirtualMachine returns the VirtualMachine field if non-nil, zero value otherwise. ### GetVirtualMachineOk -`func (o *VMInterfaceRequest) GetVirtualMachineOk() (*VirtualMachineRequest, bool)` +`func (o *VMInterfaceRequest) GetVirtualMachineOk() (*BriefVirtualMachineRequest, bool)` GetVirtualMachineOk returns a tuple with the VirtualMachine field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVirtualMachine -`func (o *VMInterfaceRequest) SetVirtualMachine(v VirtualMachineRequest)` +`func (o *VMInterfaceRequest) SetVirtualMachine(v BriefVirtualMachineRequest)` SetVirtualMachine sets VirtualMachine field to given value. @@ -295,20 +295,20 @@ HasMode returns a boolean if a field has been set. ### GetUntaggedVlan -`func (o *VMInterfaceRequest) GetUntaggedVlan() VLANRequest` +`func (o *VMInterfaceRequest) GetUntaggedVlan() BriefVLANRequest` GetUntaggedVlan returns the UntaggedVlan field if non-nil, zero value otherwise. ### GetUntaggedVlanOk -`func (o *VMInterfaceRequest) GetUntaggedVlanOk() (*VLANRequest, bool)` +`func (o *VMInterfaceRequest) GetUntaggedVlanOk() (*BriefVLANRequest, bool)` GetUntaggedVlanOk returns a tuple with the UntaggedVlan field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUntaggedVlan -`func (o *VMInterfaceRequest) SetUntaggedVlan(v VLANRequest)` +`func (o *VMInterfaceRequest) SetUntaggedVlan(v BriefVLANRequest)` SetUntaggedVlan sets UntaggedVlan field to given value. @@ -355,20 +355,20 @@ HasTaggedVlans returns a boolean if a field has been set. ### GetVrf -`func (o *VMInterfaceRequest) GetVrf() VRFRequest` +`func (o *VMInterfaceRequest) GetVrf() BriefVRFRequest` GetVrf returns the Vrf field if non-nil, zero value otherwise. ### GetVrfOk -`func (o *VMInterfaceRequest) GetVrfOk() (*VRFRequest, bool)` +`func (o *VMInterfaceRequest) GetVrfOk() (*BriefVRFRequest, bool)` GetVrfOk returns a tuple with the Vrf field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVrf -`func (o *VMInterfaceRequest) SetVrf(v VRFRequest)` +`func (o *VMInterfaceRequest) SetVrf(v BriefVRFRequest)` SetVrf sets Vrf field to given value. diff --git a/docs/VRF.md b/docs/VRF.md index e30a5c20e..00f5f5ca9 100644 --- a/docs/VRF.md +++ b/docs/VRF.md @@ -6,17 +6,28 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Name** | **string** | | **Rd** | Pointer to **NullableString** | Unique route distinguisher (as defined in RFC 4364) | [optional] +**Tenant** | Pointer to [**NullableBriefTenant**](BriefTenant.md) | | [optional] +**EnforceUnique** | Pointer to **bool** | Prevent duplicate prefixes/IP addresses within this VRF | [optional] **Description** | Pointer to **string** | | [optional] -**PrefixCount** | **int64** | | [readonly] +**Comments** | Pointer to **string** | | [optional] +**ImportTargets** | Pointer to [**[]RouteTarget**](RouteTarget.md) | | [optional] +**ExportTargets** | Pointer to [**[]RouteTarget**](RouteTarget.md) | | [optional] +**Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] +**Created** | **NullableTime** | | [readonly] +**LastUpdated** | **NullableTime** | | [readonly] +**IpaddressCount** | **int64** | | [readonly] +**PrefixCount** | Pointer to **int64** | | [optional] [readonly] ## Methods ### NewVRF -`func NewVRF(id int32, url string, display string, name string, prefixCount int64, ) *VRF` +`func NewVRF(id int32, url string, display string, name string, created NullableTime, lastUpdated NullableTime, ipaddressCount int64, ) *VRF` NewVRF instantiates a new VRF object This constructor will assign default values to properties that have it defined, @@ -71,6 +82,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *VRF) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *VRF) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *VRF) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *VRF) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *VRF) GetDisplay() string` @@ -146,6 +182,66 @@ HasRd returns a boolean if a field has been set. `func (o *VRF) UnsetRd()` UnsetRd ensures that no value is present for Rd, not even an explicit nil +### GetTenant + +`func (o *VRF) GetTenant() BriefTenant` + +GetTenant returns the Tenant field if non-nil, zero value otherwise. + +### GetTenantOk + +`func (o *VRF) GetTenantOk() (*BriefTenant, 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 *VRF) SetTenant(v BriefTenant)` + +SetTenant sets Tenant field to given value. + +### HasTenant + +`func (o *VRF) HasTenant() bool` + +HasTenant returns a boolean if a field has been set. + +### SetTenantNil + +`func (o *VRF) SetTenantNil(b bool)` + + SetTenantNil sets the value for Tenant to be an explicit nil + +### UnsetTenant +`func (o *VRF) UnsetTenant()` + +UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +### GetEnforceUnique + +`func (o *VRF) GetEnforceUnique() bool` + +GetEnforceUnique returns the EnforceUnique field if non-nil, zero value otherwise. + +### GetEnforceUniqueOk + +`func (o *VRF) GetEnforceUniqueOk() (*bool, bool)` + +GetEnforceUniqueOk returns a tuple with the EnforceUnique field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEnforceUnique + +`func (o *VRF) SetEnforceUnique(v bool)` + +SetEnforceUnique sets EnforceUnique field to given value. + +### HasEnforceUnique + +`func (o *VRF) HasEnforceUnique() bool` + +HasEnforceUnique returns a boolean if a field has been set. + ### GetDescription `func (o *VRF) GetDescription() string` @@ -171,6 +267,211 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetComments + +`func (o *VRF) GetComments() string` + +GetComments returns the Comments field if non-nil, zero value otherwise. + +### GetCommentsOk + +`func (o *VRF) GetCommentsOk() (*string, bool)` + +GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComments + +`func (o *VRF) SetComments(v string)` + +SetComments sets Comments field to given value. + +### HasComments + +`func (o *VRF) HasComments() bool` + +HasComments returns a boolean if a field has been set. + +### GetImportTargets + +`func (o *VRF) GetImportTargets() []RouteTarget` + +GetImportTargets returns the ImportTargets field if non-nil, zero value otherwise. + +### GetImportTargetsOk + +`func (o *VRF) GetImportTargetsOk() (*[]RouteTarget, bool)` + +GetImportTargetsOk returns a tuple with the ImportTargets field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetImportTargets + +`func (o *VRF) SetImportTargets(v []RouteTarget)` + +SetImportTargets sets ImportTargets field to given value. + +### HasImportTargets + +`func (o *VRF) HasImportTargets() bool` + +HasImportTargets returns a boolean if a field has been set. + +### GetExportTargets + +`func (o *VRF) GetExportTargets() []RouteTarget` + +GetExportTargets returns the ExportTargets field if non-nil, zero value otherwise. + +### GetExportTargetsOk + +`func (o *VRF) GetExportTargetsOk() (*[]RouteTarget, bool)` + +GetExportTargetsOk returns a tuple with the ExportTargets field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExportTargets + +`func (o *VRF) SetExportTargets(v []RouteTarget)` + +SetExportTargets sets ExportTargets field to given value. + +### HasExportTargets + +`func (o *VRF) HasExportTargets() bool` + +HasExportTargets returns a boolean if a field has been set. + +### GetTags + +`func (o *VRF) GetTags() []NestedTag` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *VRF) GetTagsOk() (*[]NestedTag, 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 *VRF) SetTags(v []NestedTag)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *VRF) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *VRF) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *VRF) 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 *VRF) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *VRF) HasCustomFields() bool` + +HasCustomFields returns a boolean if a field has been set. + +### GetCreated + +`func (o *VRF) GetCreated() time.Time` + +GetCreated returns the Created field if non-nil, zero value otherwise. + +### GetCreatedOk + +`func (o *VRF) 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 *VRF) SetCreated(v time.Time)` + +SetCreated sets Created field to given value. + + +### SetCreatedNil + +`func (o *VRF) SetCreatedNil(b bool)` + + SetCreatedNil sets the value for Created to be an explicit nil + +### UnsetCreated +`func (o *VRF) UnsetCreated()` + +UnsetCreated ensures that no value is present for Created, not even an explicit nil +### GetLastUpdated + +`func (o *VRF) GetLastUpdated() time.Time` + +GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise. + +### GetLastUpdatedOk + +`func (o *VRF) 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 *VRF) SetLastUpdated(v time.Time)` + +SetLastUpdated sets LastUpdated field to given value. + + +### SetLastUpdatedNil + +`func (o *VRF) SetLastUpdatedNil(b bool)` + + SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil + +### UnsetLastUpdated +`func (o *VRF) UnsetLastUpdated()` + +UnsetLastUpdated ensures that no value is present for LastUpdated, not even an explicit nil +### GetIpaddressCount + +`func (o *VRF) GetIpaddressCount() int64` + +GetIpaddressCount returns the IpaddressCount field if non-nil, zero value otherwise. + +### GetIpaddressCountOk + +`func (o *VRF) GetIpaddressCountOk() (*int64, bool)` + +GetIpaddressCountOk returns a tuple with the IpaddressCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIpaddressCount + +`func (o *VRF) SetIpaddressCount(v int64)` + +SetIpaddressCount sets IpaddressCount field to given value. + + ### GetPrefixCount `func (o *VRF) GetPrefixCount() int64` @@ -190,6 +491,11 @@ and a boolean to check if the value has been set. SetPrefixCount sets PrefixCount field to given value. +### HasPrefixCount + +`func (o *VRF) HasPrefixCount() bool` + +HasPrefixCount 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/VRFRequest.md b/docs/VRFRequest.md index 6637879c6..292a8949e 100644 --- a/docs/VRFRequest.md +++ b/docs/VRFRequest.md @@ -6,7 +6,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | **string** | | **Rd** | Pointer to **NullableString** | Unique route distinguisher (as defined in RFC 4364) | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] +**EnforceUnique** | Pointer to **bool** | Prevent duplicate prefixes/IP addresses within this VRF | [optional] **Description** | Pointer to **string** | | [optional] +**Comments** | Pointer to **string** | | [optional] +**ImportTargets** | Pointer to **[]int32** | | [optional] +**ExportTargets** | Pointer to **[]int32** | | [optional] +**Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] ## Methods @@ -82,6 +89,66 @@ HasRd returns a boolean if a field has been set. `func (o *VRFRequest) UnsetRd()` UnsetRd ensures that no value is present for Rd, not even an explicit nil +### GetTenant + +`func (o *VRFRequest) GetTenant() BriefTenantRequest` + +GetTenant returns the Tenant field if non-nil, zero value otherwise. + +### GetTenantOk + +`func (o *VRFRequest) GetTenantOk() (*BriefTenantRequest, 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 *VRFRequest) SetTenant(v BriefTenantRequest)` + +SetTenant sets Tenant field to given value. + +### HasTenant + +`func (o *VRFRequest) HasTenant() bool` + +HasTenant returns a boolean if a field has been set. + +### SetTenantNil + +`func (o *VRFRequest) SetTenantNil(b bool)` + + SetTenantNil sets the value for Tenant to be an explicit nil + +### UnsetTenant +`func (o *VRFRequest) UnsetTenant()` + +UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +### GetEnforceUnique + +`func (o *VRFRequest) GetEnforceUnique() bool` + +GetEnforceUnique returns the EnforceUnique field if non-nil, zero value otherwise. + +### GetEnforceUniqueOk + +`func (o *VRFRequest) GetEnforceUniqueOk() (*bool, bool)` + +GetEnforceUniqueOk returns a tuple with the EnforceUnique field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEnforceUnique + +`func (o *VRFRequest) SetEnforceUnique(v bool)` + +SetEnforceUnique sets EnforceUnique field to given value. + +### HasEnforceUnique + +`func (o *VRFRequest) HasEnforceUnique() bool` + +HasEnforceUnique returns a boolean if a field has been set. + ### GetDescription `func (o *VRFRequest) GetDescription() string` @@ -107,6 +174,131 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetComments + +`func (o *VRFRequest) GetComments() string` + +GetComments returns the Comments field if non-nil, zero value otherwise. + +### GetCommentsOk + +`func (o *VRFRequest) GetCommentsOk() (*string, bool)` + +GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComments + +`func (o *VRFRequest) SetComments(v string)` + +SetComments sets Comments field to given value. + +### HasComments + +`func (o *VRFRequest) HasComments() bool` + +HasComments returns a boolean if a field has been set. + +### GetImportTargets + +`func (o *VRFRequest) GetImportTargets() []int32` + +GetImportTargets returns the ImportTargets field if non-nil, zero value otherwise. + +### GetImportTargetsOk + +`func (o *VRFRequest) GetImportTargetsOk() (*[]int32, bool)` + +GetImportTargetsOk returns a tuple with the ImportTargets field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetImportTargets + +`func (o *VRFRequest) SetImportTargets(v []int32)` + +SetImportTargets sets ImportTargets field to given value. + +### HasImportTargets + +`func (o *VRFRequest) HasImportTargets() bool` + +HasImportTargets returns a boolean if a field has been set. + +### GetExportTargets + +`func (o *VRFRequest) GetExportTargets() []int32` + +GetExportTargets returns the ExportTargets field if non-nil, zero value otherwise. + +### GetExportTargetsOk + +`func (o *VRFRequest) GetExportTargetsOk() (*[]int32, bool)` + +GetExportTargetsOk returns a tuple with the ExportTargets field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExportTargets + +`func (o *VRFRequest) SetExportTargets(v []int32)` + +SetExportTargets sets ExportTargets field to given value. + +### HasExportTargets + +`func (o *VRFRequest) HasExportTargets() bool` + +HasExportTargets returns a boolean if a field has been set. + +### GetTags + +`func (o *VRFRequest) GetTags() []NestedTagRequest` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *VRFRequest) GetTagsOk() (*[]NestedTagRequest, 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 *VRFRequest) SetTags(v []NestedTagRequest)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *VRFRequest) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *VRFRequest) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *VRFRequest) 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 *VRFRequest) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *VRFRequest) 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/VirtualChassis.md b/docs/VirtualChassis.md index 325cd6a07..b49ff5871 100644 --- a/docs/VirtualChassis.md +++ b/docs/VirtualChassis.md @@ -6,17 +6,25 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Name** | **string** | | +**Domain** | Pointer to **string** | | [optional] **Master** | Pointer to [**NullableNestedDevice**](NestedDevice.md) | | [optional] **Description** | Pointer to **string** | | [optional] +**Comments** | Pointer to **string** | | [optional] +**Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] +**Created** | **NullableTime** | | [readonly] +**LastUpdated** | **NullableTime** | | [readonly] **MemberCount** | **int32** | | [readonly] +**Members** | [**[]NestedDevice**](NestedDevice.md) | | [readonly] ## Methods ### NewVirtualChassis -`func NewVirtualChassis(id int32, url string, display string, name string, memberCount int32, ) *VirtualChassis` +`func NewVirtualChassis(id int32, url string, display string, name string, created NullableTime, lastUpdated NullableTime, memberCount int32, members []NestedDevice, ) *VirtualChassis` NewVirtualChassis instantiates a new VirtualChassis object This constructor will assign default values to properties that have it defined, @@ -71,6 +79,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *VirtualChassis) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *VirtualChassis) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *VirtualChassis) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *VirtualChassis) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *VirtualChassis) GetDisplay() string` @@ -111,6 +144,31 @@ and a boolean to check if the value has been set. SetName sets Name field to given value. +### GetDomain + +`func (o *VirtualChassis) GetDomain() string` + +GetDomain returns the Domain field if non-nil, zero value otherwise. + +### GetDomainOk + +`func (o *VirtualChassis) GetDomainOk() (*string, bool)` + +GetDomainOk returns a tuple with the Domain field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDomain + +`func (o *VirtualChassis) SetDomain(v string)` + +SetDomain sets Domain field to given value. + +### HasDomain + +`func (o *VirtualChassis) HasDomain() bool` + +HasDomain returns a boolean if a field has been set. + ### GetMaster `func (o *VirtualChassis) GetMaster() NestedDevice` @@ -171,6 +229,141 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetComments + +`func (o *VirtualChassis) GetComments() string` + +GetComments returns the Comments field if non-nil, zero value otherwise. + +### GetCommentsOk + +`func (o *VirtualChassis) GetCommentsOk() (*string, bool)` + +GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComments + +`func (o *VirtualChassis) SetComments(v string)` + +SetComments sets Comments field to given value. + +### HasComments + +`func (o *VirtualChassis) HasComments() bool` + +HasComments returns a boolean if a field has been set. + +### GetTags + +`func (o *VirtualChassis) GetTags() []NestedTag` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *VirtualChassis) GetTagsOk() (*[]NestedTag, 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 *VirtualChassis) SetTags(v []NestedTag)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *VirtualChassis) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *VirtualChassis) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *VirtualChassis) 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 *VirtualChassis) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *VirtualChassis) HasCustomFields() bool` + +HasCustomFields returns a boolean if a field has been set. + +### GetCreated + +`func (o *VirtualChassis) GetCreated() time.Time` + +GetCreated returns the Created field if non-nil, zero value otherwise. + +### GetCreatedOk + +`func (o *VirtualChassis) 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 *VirtualChassis) SetCreated(v time.Time)` + +SetCreated sets Created field to given value. + + +### SetCreatedNil + +`func (o *VirtualChassis) SetCreatedNil(b bool)` + + SetCreatedNil sets the value for Created to be an explicit nil + +### UnsetCreated +`func (o *VirtualChassis) UnsetCreated()` + +UnsetCreated ensures that no value is present for Created, not even an explicit nil +### GetLastUpdated + +`func (o *VirtualChassis) GetLastUpdated() time.Time` + +GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise. + +### GetLastUpdatedOk + +`func (o *VirtualChassis) 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 *VirtualChassis) SetLastUpdated(v time.Time)` + +SetLastUpdated sets LastUpdated field to given value. + + +### SetLastUpdatedNil + +`func (o *VirtualChassis) SetLastUpdatedNil(b bool)` + + SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil + +### UnsetLastUpdated +`func (o *VirtualChassis) UnsetLastUpdated()` + +UnsetLastUpdated ensures that no value is present for LastUpdated, not even an explicit nil ### GetMemberCount `func (o *VirtualChassis) GetMemberCount() int32` @@ -191,6 +384,26 @@ and a boolean to check if the value has been set. SetMemberCount sets MemberCount field to given value. +### GetMembers + +`func (o *VirtualChassis) GetMembers() []NestedDevice` + +GetMembers returns the Members field if non-nil, zero value otherwise. + +### GetMembersOk + +`func (o *VirtualChassis) GetMembersOk() (*[]NestedDevice, bool)` + +GetMembersOk returns a tuple with the Members field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMembers + +`func (o *VirtualChassis) SetMembers(v []NestedDevice)` + +SetMembers sets Members 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/VirtualChassisRequest.md b/docs/VirtualChassisRequest.md index 76fe6fb80..c8f966eb5 100644 --- a/docs/VirtualChassisRequest.md +++ b/docs/VirtualChassisRequest.md @@ -5,8 +5,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | **string** | | +**Domain** | Pointer to **string** | | [optional] **Master** | Pointer to [**NullableNestedDeviceRequest**](NestedDeviceRequest.md) | | [optional] **Description** | Pointer to **string** | | [optional] +**Comments** | Pointer to **string** | | [optional] +**Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] ## Methods @@ -47,6 +51,31 @@ and a boolean to check if the value has been set. SetName sets Name field to given value. +### GetDomain + +`func (o *VirtualChassisRequest) GetDomain() string` + +GetDomain returns the Domain field if non-nil, zero value otherwise. + +### GetDomainOk + +`func (o *VirtualChassisRequest) GetDomainOk() (*string, bool)` + +GetDomainOk returns a tuple with the Domain field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDomain + +`func (o *VirtualChassisRequest) SetDomain(v string)` + +SetDomain sets Domain field to given value. + +### HasDomain + +`func (o *VirtualChassisRequest) HasDomain() bool` + +HasDomain returns a boolean if a field has been set. + ### GetMaster `func (o *VirtualChassisRequest) GetMaster() NestedDeviceRequest` @@ -107,6 +136,81 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetComments + +`func (o *VirtualChassisRequest) GetComments() string` + +GetComments returns the Comments field if non-nil, zero value otherwise. + +### GetCommentsOk + +`func (o *VirtualChassisRequest) GetCommentsOk() (*string, bool)` + +GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComments + +`func (o *VirtualChassisRequest) SetComments(v string)` + +SetComments sets Comments field to given value. + +### HasComments + +`func (o *VirtualChassisRequest) HasComments() bool` + +HasComments returns a boolean if a field has been set. + +### GetTags + +`func (o *VirtualChassisRequest) GetTags() []NestedTagRequest` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *VirtualChassisRequest) GetTagsOk() (*[]NestedTagRequest, 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 *VirtualChassisRequest) SetTags(v []NestedTagRequest)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *VirtualChassisRequest) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *VirtualChassisRequest) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *VirtualChassisRequest) 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 *VirtualChassisRequest) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *VirtualChassisRequest) 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/VirtualDeviceContext.md b/docs/VirtualDeviceContext.md index 6bdea62eb..399a0ebfb 100644 --- a/docs/VirtualDeviceContext.md +++ b/docs/VirtualDeviceContext.md @@ -6,14 +6,15 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Name** | **string** | | -**Device** | [**Device**](Device.md) | | +**Device** | [**BriefDevice**](BriefDevice.md) | | **Identifier** | Pointer to **NullableInt32** | | [optional] -**Tenant** | Pointer to [**NullableTenant**](Tenant.md) | | [optional] -**PrimaryIp** | [**NullableIPAddress**](IPAddress.md) | | [readonly] -**PrimaryIp4** | Pointer to [**NullableIPAddress**](IPAddress.md) | | [optional] -**PrimaryIp6** | Pointer to [**NullableIPAddress**](IPAddress.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenant**](BriefTenant.md) | | [optional] +**PrimaryIp** | [**NullableBriefIPAddress**](BriefIPAddress.md) | | [readonly] +**PrimaryIp4** | Pointer to [**NullableBriefIPAddress**](BriefIPAddress.md) | | [optional] +**PrimaryIp6** | Pointer to [**NullableBriefIPAddress**](BriefIPAddress.md) | | [optional] **Status** | [**VirtualDeviceContextStatus**](VirtualDeviceContextStatus.md) | | **Description** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] @@ -27,7 +28,7 @@ Name | Type | Description | Notes ### NewVirtualDeviceContext -`func NewVirtualDeviceContext(id int32, url string, display string, name string, device Device, primaryIp NullableIPAddress, status VirtualDeviceContextStatus, created NullableTime, lastUpdated NullableTime, interfaceCount int64, ) *VirtualDeviceContext` +`func NewVirtualDeviceContext(id int32, url string, display string, name string, device BriefDevice, primaryIp NullableBriefIPAddress, status VirtualDeviceContextStatus, created NullableTime, lastUpdated NullableTime, interfaceCount int64, ) *VirtualDeviceContext` NewVirtualDeviceContext instantiates a new VirtualDeviceContext object This constructor will assign default values to properties that have it defined, @@ -82,6 +83,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *VirtualDeviceContext) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *VirtualDeviceContext) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *VirtualDeviceContext) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *VirtualDeviceContext) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *VirtualDeviceContext) GetDisplay() string` @@ -124,20 +150,20 @@ SetName sets Name field to given value. ### GetDevice -`func (o *VirtualDeviceContext) GetDevice() Device` +`func (o *VirtualDeviceContext) GetDevice() BriefDevice` GetDevice returns the Device field if non-nil, zero value otherwise. ### GetDeviceOk -`func (o *VirtualDeviceContext) GetDeviceOk() (*Device, bool)` +`func (o *VirtualDeviceContext) GetDeviceOk() (*BriefDevice, 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 Device)` +`func (o *VirtualDeviceContext) SetDevice(v BriefDevice)` SetDevice sets Device field to given value. @@ -179,20 +205,20 @@ HasIdentifier returns a boolean if a field has been set. UnsetIdentifier ensures that no value is present for Identifier, not even an explicit nil ### GetTenant -`func (o *VirtualDeviceContext) GetTenant() Tenant` +`func (o *VirtualDeviceContext) GetTenant() BriefTenant` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *VirtualDeviceContext) GetTenantOk() (*Tenant, bool)` +`func (o *VirtualDeviceContext) GetTenantOk() (*BriefTenant, 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 Tenant)` +`func (o *VirtualDeviceContext) SetTenant(v BriefTenant)` SetTenant sets Tenant field to given value. @@ -214,20 +240,20 @@ HasTenant returns a boolean if a field has been set. UnsetTenant ensures that no value is present for Tenant, not even an explicit nil ### GetPrimaryIp -`func (o *VirtualDeviceContext) GetPrimaryIp() IPAddress` +`func (o *VirtualDeviceContext) GetPrimaryIp() BriefIPAddress` GetPrimaryIp returns the PrimaryIp field if non-nil, zero value otherwise. ### GetPrimaryIpOk -`func (o *VirtualDeviceContext) GetPrimaryIpOk() (*IPAddress, bool)` +`func (o *VirtualDeviceContext) GetPrimaryIpOk() (*BriefIPAddress, bool)` GetPrimaryIpOk returns a tuple with the PrimaryIp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPrimaryIp -`func (o *VirtualDeviceContext) SetPrimaryIp(v IPAddress)` +`func (o *VirtualDeviceContext) SetPrimaryIp(v BriefIPAddress)` SetPrimaryIp sets PrimaryIp field to given value. @@ -244,20 +270,20 @@ SetPrimaryIp sets PrimaryIp field to given value. UnsetPrimaryIp ensures that no value is present for PrimaryIp, not even an explicit nil ### GetPrimaryIp4 -`func (o *VirtualDeviceContext) GetPrimaryIp4() IPAddress` +`func (o *VirtualDeviceContext) GetPrimaryIp4() BriefIPAddress` GetPrimaryIp4 returns the PrimaryIp4 field if non-nil, zero value otherwise. ### GetPrimaryIp4Ok -`func (o *VirtualDeviceContext) GetPrimaryIp4Ok() (*IPAddress, bool)` +`func (o *VirtualDeviceContext) GetPrimaryIp4Ok() (*BriefIPAddress, 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 IPAddress)` +`func (o *VirtualDeviceContext) SetPrimaryIp4(v BriefIPAddress)` SetPrimaryIp4 sets PrimaryIp4 field to given value. @@ -279,20 +305,20 @@ HasPrimaryIp4 returns a boolean if a field has been set. UnsetPrimaryIp4 ensures that no value is present for PrimaryIp4, not even an explicit nil ### GetPrimaryIp6 -`func (o *VirtualDeviceContext) GetPrimaryIp6() IPAddress` +`func (o *VirtualDeviceContext) GetPrimaryIp6() BriefIPAddress` GetPrimaryIp6 returns the PrimaryIp6 field if non-nil, zero value otherwise. ### GetPrimaryIp6Ok -`func (o *VirtualDeviceContext) GetPrimaryIp6Ok() (*IPAddress, bool)` +`func (o *VirtualDeviceContext) GetPrimaryIp6Ok() (*BriefIPAddress, 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 IPAddress)` +`func (o *VirtualDeviceContext) SetPrimaryIp6(v BriefIPAddress)` SetPrimaryIp6 sets PrimaryIp6 field to given value. diff --git a/docs/VirtualDeviceContextRequest.md b/docs/VirtualDeviceContextRequest.md index f3436b2b5..2604eb36a 100644 --- a/docs/VirtualDeviceContextRequest.md +++ b/docs/VirtualDeviceContextRequest.md @@ -5,11 +5,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | **string** | | -**Device** | [**DeviceRequest**](DeviceRequest.md) | | +**Device** | [**BriefDeviceRequest**](BriefDeviceRequest.md) | | **Identifier** | Pointer to **NullableInt32** | | [optional] -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] -**PrimaryIp4** | Pointer to [**NullableIPAddressRequest**](IPAddressRequest.md) | | [optional] -**PrimaryIp6** | Pointer to [**NullableIPAddressRequest**](IPAddressRequest.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] +**PrimaryIp4** | Pointer to [**NullableBriefIPAddressRequest**](BriefIPAddressRequest.md) | | [optional] +**PrimaryIp6** | Pointer to [**NullableBriefIPAddressRequest**](BriefIPAddressRequest.md) | | [optional] **Status** | [**PatchedWritableVirtualDeviceContextRequestStatus**](PatchedWritableVirtualDeviceContextRequestStatus.md) | | **Description** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] @@ -20,7 +20,7 @@ Name | Type | Description | Notes ### NewVirtualDeviceContextRequest -`func NewVirtualDeviceContextRequest(name string, device DeviceRequest, status PatchedWritableVirtualDeviceContextRequestStatus, ) *VirtualDeviceContextRequest` +`func NewVirtualDeviceContextRequest(name string, device BriefDeviceRequest, status PatchedWritableVirtualDeviceContextRequestStatus, ) *VirtualDeviceContextRequest` NewVirtualDeviceContextRequest instantiates a new VirtualDeviceContextRequest object This constructor will assign default values to properties that have it defined, @@ -57,20 +57,20 @@ SetName sets Name field to given value. ### GetDevice -`func (o *VirtualDeviceContextRequest) GetDevice() DeviceRequest` +`func (o *VirtualDeviceContextRequest) GetDevice() BriefDeviceRequest` GetDevice returns the Device field if non-nil, zero value otherwise. ### GetDeviceOk -`func (o *VirtualDeviceContextRequest) GetDeviceOk() (*DeviceRequest, bool)` +`func (o *VirtualDeviceContextRequest) GetDeviceOk() (*BriefDeviceRequest, 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 DeviceRequest)` +`func (o *VirtualDeviceContextRequest) SetDevice(v BriefDeviceRequest)` SetDevice sets Device field to given value. @@ -112,20 +112,20 @@ HasIdentifier returns a boolean if a field has been set. UnsetIdentifier ensures that no value is present for Identifier, not even an explicit nil ### GetTenant -`func (o *VirtualDeviceContextRequest) GetTenant() TenantRequest` +`func (o *VirtualDeviceContextRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *VirtualDeviceContextRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *VirtualDeviceContextRequest) GetTenantOk() (*BriefTenantRequest, 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 TenantRequest)` +`func (o *VirtualDeviceContextRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. @@ -147,20 +147,20 @@ HasTenant returns a boolean if a field has been set. UnsetTenant ensures that no value is present for Tenant, not even an explicit nil ### GetPrimaryIp4 -`func (o *VirtualDeviceContextRequest) GetPrimaryIp4() IPAddressRequest` +`func (o *VirtualDeviceContextRequest) GetPrimaryIp4() BriefIPAddressRequest` GetPrimaryIp4 returns the PrimaryIp4 field if non-nil, zero value otherwise. ### GetPrimaryIp4Ok -`func (o *VirtualDeviceContextRequest) GetPrimaryIp4Ok() (*IPAddressRequest, bool)` +`func (o *VirtualDeviceContextRequest) GetPrimaryIp4Ok() (*BriefIPAddressRequest, 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 IPAddressRequest)` +`func (o *VirtualDeviceContextRequest) SetPrimaryIp4(v BriefIPAddressRequest)` SetPrimaryIp4 sets PrimaryIp4 field to given value. @@ -182,20 +182,20 @@ HasPrimaryIp4 returns a boolean if a field has been set. UnsetPrimaryIp4 ensures that no value is present for PrimaryIp4, not even an explicit nil ### GetPrimaryIp6 -`func (o *VirtualDeviceContextRequest) GetPrimaryIp6() IPAddressRequest` +`func (o *VirtualDeviceContextRequest) GetPrimaryIp6() BriefIPAddressRequest` GetPrimaryIp6 returns the PrimaryIp6 field if non-nil, zero value otherwise. ### GetPrimaryIp6Ok -`func (o *VirtualDeviceContextRequest) GetPrimaryIp6Ok() (*IPAddressRequest, bool)` +`func (o *VirtualDeviceContextRequest) GetPrimaryIp6Ok() (*BriefIPAddressRequest, 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 IPAddressRequest)` +`func (o *VirtualDeviceContextRequest) SetPrimaryIp6(v BriefIPAddressRequest)` SetPrimaryIp6 sets PrimaryIp6 field to given value. diff --git a/docs/VirtualDisk.md b/docs/VirtualDisk.md index 2bc24b4e8..268fc16dc 100644 --- a/docs/VirtualDisk.md +++ b/docs/VirtualDisk.md @@ -6,8 +6,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] -**VirtualMachine** | [**VirtualMachine**](VirtualMachine.md) | | +**VirtualMachine** | [**BriefVirtualMachine**](BriefVirtualMachine.md) | | **Name** | **string** | | **Description** | Pointer to **string** | | [optional] **Size** | **int32** | | @@ -20,7 +21,7 @@ Name | Type | Description | Notes ### NewVirtualDisk -`func NewVirtualDisk(id int32, url string, display string, virtualMachine VirtualMachine, name string, size int32, created NullableTime, lastUpdated NullableTime, ) *VirtualDisk` +`func NewVirtualDisk(id int32, url string, display string, virtualMachine BriefVirtualMachine, name string, size int32, created NullableTime, lastUpdated NullableTime, ) *VirtualDisk` NewVirtualDisk instantiates a new VirtualDisk object This constructor will assign default values to properties that have it defined, @@ -75,6 +76,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *VirtualDisk) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *VirtualDisk) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *VirtualDisk) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *VirtualDisk) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *VirtualDisk) GetDisplay() string` @@ -97,20 +123,20 @@ SetDisplay sets Display field to given value. ### GetVirtualMachine -`func (o *VirtualDisk) GetVirtualMachine() VirtualMachine` +`func (o *VirtualDisk) GetVirtualMachine() BriefVirtualMachine` GetVirtualMachine returns the VirtualMachine field if non-nil, zero value otherwise. ### GetVirtualMachineOk -`func (o *VirtualDisk) GetVirtualMachineOk() (*VirtualMachine, bool)` +`func (o *VirtualDisk) GetVirtualMachineOk() (*BriefVirtualMachine, bool)` GetVirtualMachineOk returns a tuple with the VirtualMachine field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVirtualMachine -`func (o *VirtualDisk) SetVirtualMachine(v VirtualMachine)` +`func (o *VirtualDisk) SetVirtualMachine(v BriefVirtualMachine)` SetVirtualMachine sets VirtualMachine field to given value. diff --git a/docs/VirtualDiskRequest.md b/docs/VirtualDiskRequest.md index 3ec5d8bf7..737588e43 100644 --- a/docs/VirtualDiskRequest.md +++ b/docs/VirtualDiskRequest.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**VirtualMachine** | [**VirtualMachineRequest**](VirtualMachineRequest.md) | | +**VirtualMachine** | [**BriefVirtualMachineRequest**](BriefVirtualMachineRequest.md) | | **Name** | **string** | | **Description** | Pointer to **string** | | [optional] **Size** | **int32** | | @@ -15,7 +15,7 @@ Name | Type | Description | Notes ### NewVirtualDiskRequest -`func NewVirtualDiskRequest(virtualMachine VirtualMachineRequest, name string, size int32, ) *VirtualDiskRequest` +`func NewVirtualDiskRequest(virtualMachine BriefVirtualMachineRequest, name string, size int32, ) *VirtualDiskRequest` NewVirtualDiskRequest instantiates a new VirtualDiskRequest object This constructor will assign default values to properties that have it defined, @@ -32,20 +32,20 @@ but it doesn't guarantee that properties required by API are set ### GetVirtualMachine -`func (o *VirtualDiskRequest) GetVirtualMachine() VirtualMachineRequest` +`func (o *VirtualDiskRequest) GetVirtualMachine() BriefVirtualMachineRequest` GetVirtualMachine returns the VirtualMachine field if non-nil, zero value otherwise. ### GetVirtualMachineOk -`func (o *VirtualDiskRequest) GetVirtualMachineOk() (*VirtualMachineRequest, bool)` +`func (o *VirtualDiskRequest) GetVirtualMachineOk() (*BriefVirtualMachineRequest, bool)` GetVirtualMachineOk returns a tuple with the VirtualMachine field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVirtualMachine -`func (o *VirtualDiskRequest) SetVirtualMachine(v VirtualMachineRequest)` +`func (o *VirtualDiskRequest) SetVirtualMachine(v BriefVirtualMachineRequest)` SetVirtualMachine sets VirtualMachine field to given value. diff --git a/docs/VirtualMachineWithConfigContext.md b/docs/VirtualMachineWithConfigContext.md index bb09969ee..85ece0dc2 100644 --- a/docs/VirtualMachineWithConfigContext.md +++ b/docs/VirtualMachineWithConfigContext.md @@ -6,24 +6,26 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Name** | **string** | | -**Status** | Pointer to [**VirtualMachineWithConfigContextStatus**](VirtualMachineWithConfigContextStatus.md) | | [optional] -**Site** | Pointer to [**NullableSite**](Site.md) | | [optional] -**Cluster** | Pointer to [**NullableCluster**](Cluster.md) | | [optional] -**Device** | Pointer to [**NullableDevice**](Device.md) | | [optional] -**Role** | Pointer to [**NullableDeviceRole**](DeviceRole.md) | | [optional] -**Tenant** | Pointer to [**NullableTenant**](Tenant.md) | | [optional] -**Platform** | Pointer to [**NullablePlatform**](Platform.md) | | [optional] -**PrimaryIp** | [**NullableIPAddress**](IPAddress.md) | | [readonly] -**PrimaryIp4** | Pointer to [**NullableIPAddress**](IPAddress.md) | | [optional] -**PrimaryIp6** | Pointer to [**NullableIPAddress**](IPAddress.md) | | [optional] +**Status** | Pointer to [**ModuleStatus**](ModuleStatus.md) | | [optional] +**Site** | Pointer to [**NullableBriefSite**](BriefSite.md) | | [optional] +**Cluster** | Pointer to [**NullableBriefCluster**](BriefCluster.md) | | [optional] +**Device** | Pointer to [**NullableBriefDevice**](BriefDevice.md) | | [optional] +**Serial** | Pointer to **string** | | [optional] +**Role** | Pointer to [**NullableBriefDeviceRole**](BriefDeviceRole.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenant**](BriefTenant.md) | | [optional] +**Platform** | Pointer to [**NullableBriefPlatform**](BriefPlatform.md) | | [optional] +**PrimaryIp** | [**NullableBriefIPAddress**](BriefIPAddress.md) | | [readonly] +**PrimaryIp4** | Pointer to [**NullableBriefIPAddress**](BriefIPAddress.md) | | [optional] +**PrimaryIp6** | Pointer to [**NullableBriefIPAddress**](BriefIPAddress.md) | | [optional] **Vcpus** | Pointer to **NullableFloat64** | | [optional] **Memory** | Pointer to **NullableInt32** | | [optional] **Disk** | Pointer to **NullableInt32** | | [optional] **Description** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] -**ConfigTemplate** | Pointer to [**NullableConfigTemplate**](ConfigTemplate.md) | | [optional] +**ConfigTemplate** | Pointer to [**NullableBriefConfigTemplate**](BriefConfigTemplate.md) | | [optional] **LocalContextData** | Pointer to **interface{}** | Local config context data takes precedence over source contexts in the final rendered config context | [optional] **Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] @@ -37,7 +39,7 @@ Name | Type | Description | Notes ### NewVirtualMachineWithConfigContext -`func NewVirtualMachineWithConfigContext(id int32, url string, display string, name string, primaryIp NullableIPAddress, configContext interface{}, created NullableTime, lastUpdated NullableTime, interfaceCount int32, virtualDiskCount int32, ) *VirtualMachineWithConfigContext` +`func NewVirtualMachineWithConfigContext(id int32, url string, display string, name string, primaryIp NullableBriefIPAddress, configContext interface{}, created NullableTime, lastUpdated NullableTime, interfaceCount int32, virtualDiskCount int32, ) *VirtualMachineWithConfigContext` NewVirtualMachineWithConfigContext instantiates a new VirtualMachineWithConfigContext object This constructor will assign default values to properties that have it defined, @@ -92,6 +94,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *VirtualMachineWithConfigContext) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *VirtualMachineWithConfigContext) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *VirtualMachineWithConfigContext) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *VirtualMachineWithConfigContext) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *VirtualMachineWithConfigContext) GetDisplay() string` @@ -134,20 +161,20 @@ SetName sets Name field to given value. ### GetStatus -`func (o *VirtualMachineWithConfigContext) GetStatus() VirtualMachineWithConfigContextStatus` +`func (o *VirtualMachineWithConfigContext) GetStatus() ModuleStatus` GetStatus returns the Status field if non-nil, zero value otherwise. ### GetStatusOk -`func (o *VirtualMachineWithConfigContext) GetStatusOk() (*VirtualMachineWithConfigContextStatus, bool)` +`func (o *VirtualMachineWithConfigContext) GetStatusOk() (*ModuleStatus, 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 *VirtualMachineWithConfigContext) SetStatus(v VirtualMachineWithConfigContextStatus)` +`func (o *VirtualMachineWithConfigContext) SetStatus(v ModuleStatus)` SetStatus sets Status field to given value. @@ -159,20 +186,20 @@ HasStatus returns a boolean if a field has been set. ### GetSite -`func (o *VirtualMachineWithConfigContext) GetSite() Site` +`func (o *VirtualMachineWithConfigContext) GetSite() BriefSite` GetSite returns the Site field if non-nil, zero value otherwise. ### GetSiteOk -`func (o *VirtualMachineWithConfigContext) GetSiteOk() (*Site, bool)` +`func (o *VirtualMachineWithConfigContext) GetSiteOk() (*BriefSite, bool)` GetSiteOk returns a tuple with the Site field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSite -`func (o *VirtualMachineWithConfigContext) SetSite(v Site)` +`func (o *VirtualMachineWithConfigContext) SetSite(v BriefSite)` SetSite sets Site field to given value. @@ -194,20 +221,20 @@ HasSite returns a boolean if a field has been set. UnsetSite ensures that no value is present for Site, not even an explicit nil ### GetCluster -`func (o *VirtualMachineWithConfigContext) GetCluster() Cluster` +`func (o *VirtualMachineWithConfigContext) GetCluster() BriefCluster` GetCluster returns the Cluster field if non-nil, zero value otherwise. ### GetClusterOk -`func (o *VirtualMachineWithConfigContext) GetClusterOk() (*Cluster, bool)` +`func (o *VirtualMachineWithConfigContext) GetClusterOk() (*BriefCluster, bool)` GetClusterOk returns a tuple with the Cluster field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCluster -`func (o *VirtualMachineWithConfigContext) SetCluster(v Cluster)` +`func (o *VirtualMachineWithConfigContext) SetCluster(v BriefCluster)` SetCluster sets Cluster field to given value. @@ -229,20 +256,20 @@ HasCluster returns a boolean if a field has been set. UnsetCluster ensures that no value is present for Cluster, not even an explicit nil ### GetDevice -`func (o *VirtualMachineWithConfigContext) GetDevice() Device` +`func (o *VirtualMachineWithConfigContext) GetDevice() BriefDevice` GetDevice returns the Device field if non-nil, zero value otherwise. ### GetDeviceOk -`func (o *VirtualMachineWithConfigContext) GetDeviceOk() (*Device, bool)` +`func (o *VirtualMachineWithConfigContext) GetDeviceOk() (*BriefDevice, 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 *VirtualMachineWithConfigContext) SetDevice(v Device)` +`func (o *VirtualMachineWithConfigContext) SetDevice(v BriefDevice)` SetDevice sets Device field to given value. @@ -262,22 +289,47 @@ HasDevice returns a boolean if a field has been set. `func (o *VirtualMachineWithConfigContext) UnsetDevice()` UnsetDevice ensures that no value is present for Device, not even an explicit nil +### GetSerial + +`func (o *VirtualMachineWithConfigContext) GetSerial() string` + +GetSerial returns the Serial field if non-nil, zero value otherwise. + +### GetSerialOk + +`func (o *VirtualMachineWithConfigContext) GetSerialOk() (*string, bool)` + +GetSerialOk returns a tuple with the Serial field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSerial + +`func (o *VirtualMachineWithConfigContext) SetSerial(v string)` + +SetSerial sets Serial field to given value. + +### HasSerial + +`func (o *VirtualMachineWithConfigContext) HasSerial() bool` + +HasSerial returns a boolean if a field has been set. + ### GetRole -`func (o *VirtualMachineWithConfigContext) GetRole() DeviceRole` +`func (o *VirtualMachineWithConfigContext) GetRole() BriefDeviceRole` GetRole returns the Role field if non-nil, zero value otherwise. ### GetRoleOk -`func (o *VirtualMachineWithConfigContext) GetRoleOk() (*DeviceRole, bool)` +`func (o *VirtualMachineWithConfigContext) GetRoleOk() (*BriefDeviceRole, 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 *VirtualMachineWithConfigContext) SetRole(v DeviceRole)` +`func (o *VirtualMachineWithConfigContext) SetRole(v BriefDeviceRole)` SetRole sets Role field to given value. @@ -299,20 +351,20 @@ HasRole returns a boolean if a field has been set. UnsetRole ensures that no value is present for Role, not even an explicit nil ### GetTenant -`func (o *VirtualMachineWithConfigContext) GetTenant() Tenant` +`func (o *VirtualMachineWithConfigContext) GetTenant() BriefTenant` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *VirtualMachineWithConfigContext) GetTenantOk() (*Tenant, bool)` +`func (o *VirtualMachineWithConfigContext) GetTenantOk() (*BriefTenant, 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 *VirtualMachineWithConfigContext) SetTenant(v Tenant)` +`func (o *VirtualMachineWithConfigContext) SetTenant(v BriefTenant)` SetTenant sets Tenant field to given value. @@ -334,20 +386,20 @@ HasTenant returns a boolean if a field has been set. UnsetTenant ensures that no value is present for Tenant, not even an explicit nil ### GetPlatform -`func (o *VirtualMachineWithConfigContext) GetPlatform() Platform` +`func (o *VirtualMachineWithConfigContext) GetPlatform() BriefPlatform` GetPlatform returns the Platform field if non-nil, zero value otherwise. ### GetPlatformOk -`func (o *VirtualMachineWithConfigContext) GetPlatformOk() (*Platform, bool)` +`func (o *VirtualMachineWithConfigContext) GetPlatformOk() (*BriefPlatform, bool)` GetPlatformOk returns a tuple with the Platform field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPlatform -`func (o *VirtualMachineWithConfigContext) SetPlatform(v Platform)` +`func (o *VirtualMachineWithConfigContext) SetPlatform(v BriefPlatform)` SetPlatform sets Platform field to given value. @@ -369,20 +421,20 @@ HasPlatform returns a boolean if a field has been set. UnsetPlatform ensures that no value is present for Platform, not even an explicit nil ### GetPrimaryIp -`func (o *VirtualMachineWithConfigContext) GetPrimaryIp() IPAddress` +`func (o *VirtualMachineWithConfigContext) GetPrimaryIp() BriefIPAddress` GetPrimaryIp returns the PrimaryIp field if non-nil, zero value otherwise. ### GetPrimaryIpOk -`func (o *VirtualMachineWithConfigContext) GetPrimaryIpOk() (*IPAddress, bool)` +`func (o *VirtualMachineWithConfigContext) GetPrimaryIpOk() (*BriefIPAddress, bool)` GetPrimaryIpOk returns a tuple with the PrimaryIp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPrimaryIp -`func (o *VirtualMachineWithConfigContext) SetPrimaryIp(v IPAddress)` +`func (o *VirtualMachineWithConfigContext) SetPrimaryIp(v BriefIPAddress)` SetPrimaryIp sets PrimaryIp field to given value. @@ -399,20 +451,20 @@ SetPrimaryIp sets PrimaryIp field to given value. UnsetPrimaryIp ensures that no value is present for PrimaryIp, not even an explicit nil ### GetPrimaryIp4 -`func (o *VirtualMachineWithConfigContext) GetPrimaryIp4() IPAddress` +`func (o *VirtualMachineWithConfigContext) GetPrimaryIp4() BriefIPAddress` GetPrimaryIp4 returns the PrimaryIp4 field if non-nil, zero value otherwise. ### GetPrimaryIp4Ok -`func (o *VirtualMachineWithConfigContext) GetPrimaryIp4Ok() (*IPAddress, bool)` +`func (o *VirtualMachineWithConfigContext) GetPrimaryIp4Ok() (*BriefIPAddress, 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 *VirtualMachineWithConfigContext) SetPrimaryIp4(v IPAddress)` +`func (o *VirtualMachineWithConfigContext) SetPrimaryIp4(v BriefIPAddress)` SetPrimaryIp4 sets PrimaryIp4 field to given value. @@ -434,20 +486,20 @@ HasPrimaryIp4 returns a boolean if a field has been set. UnsetPrimaryIp4 ensures that no value is present for PrimaryIp4, not even an explicit nil ### GetPrimaryIp6 -`func (o *VirtualMachineWithConfigContext) GetPrimaryIp6() IPAddress` +`func (o *VirtualMachineWithConfigContext) GetPrimaryIp6() BriefIPAddress` GetPrimaryIp6 returns the PrimaryIp6 field if non-nil, zero value otherwise. ### GetPrimaryIp6Ok -`func (o *VirtualMachineWithConfigContext) GetPrimaryIp6Ok() (*IPAddress, bool)` +`func (o *VirtualMachineWithConfigContext) GetPrimaryIp6Ok() (*BriefIPAddress, 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 *VirtualMachineWithConfigContext) SetPrimaryIp6(v IPAddress)` +`func (o *VirtualMachineWithConfigContext) SetPrimaryIp6(v BriefIPAddress)` SetPrimaryIp6 sets PrimaryIp6 field to given value. @@ -624,20 +676,20 @@ HasComments returns a boolean if a field has been set. ### GetConfigTemplate -`func (o *VirtualMachineWithConfigContext) GetConfigTemplate() ConfigTemplate` +`func (o *VirtualMachineWithConfigContext) GetConfigTemplate() BriefConfigTemplate` GetConfigTemplate returns the ConfigTemplate field if non-nil, zero value otherwise. ### GetConfigTemplateOk -`func (o *VirtualMachineWithConfigContext) GetConfigTemplateOk() (*ConfigTemplate, bool)` +`func (o *VirtualMachineWithConfigContext) GetConfigTemplateOk() (*BriefConfigTemplate, bool)` GetConfigTemplateOk returns a tuple with the ConfigTemplate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetConfigTemplate -`func (o *VirtualMachineWithConfigContext) SetConfigTemplate(v ConfigTemplate)` +`func (o *VirtualMachineWithConfigContext) SetConfigTemplate(v BriefConfigTemplate)` SetConfigTemplate sets ConfigTemplate field to given value. diff --git a/docs/VirtualMachineWithConfigContextRequest.md b/docs/VirtualMachineWithConfigContextRequest.md index 44050ed13..7bc48c424 100644 --- a/docs/VirtualMachineWithConfigContextRequest.md +++ b/docs/VirtualMachineWithConfigContextRequest.md @@ -5,21 +5,22 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | **string** | | -**Status** | Pointer to [**PatchedWritableModuleRequestStatus**](PatchedWritableModuleRequestStatus.md) | | [optional] -**Site** | Pointer to [**NullableSiteRequest**](SiteRequest.md) | | [optional] -**Cluster** | Pointer to [**NullableClusterRequest**](ClusterRequest.md) | | [optional] -**Device** | Pointer to [**NullableDeviceRequest**](DeviceRequest.md) | | [optional] -**Role** | Pointer to [**NullableDeviceRoleRequest**](DeviceRoleRequest.md) | | [optional] -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] -**Platform** | Pointer to [**NullablePlatformRequest**](PlatformRequest.md) | | [optional] -**PrimaryIp4** | Pointer to [**NullableIPAddressRequest**](IPAddressRequest.md) | | [optional] -**PrimaryIp6** | Pointer to [**NullableIPAddressRequest**](IPAddressRequest.md) | | [optional] +**Status** | Pointer to [**ModuleStatusValue**](ModuleStatusValue.md) | | [optional] +**Site** | Pointer to [**NullableBriefSiteRequest**](BriefSiteRequest.md) | | [optional] +**Cluster** | Pointer to [**NullableBriefClusterRequest**](BriefClusterRequest.md) | | [optional] +**Device** | Pointer to [**NullableBriefDeviceRequest**](BriefDeviceRequest.md) | | [optional] +**Serial** | Pointer to **string** | | [optional] +**Role** | Pointer to [**NullableBriefDeviceRoleRequest**](BriefDeviceRoleRequest.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] +**Platform** | Pointer to [**NullableBriefPlatformRequest**](BriefPlatformRequest.md) | | [optional] +**PrimaryIp4** | Pointer to [**NullableBriefIPAddressRequest**](BriefIPAddressRequest.md) | | [optional] +**PrimaryIp6** | Pointer to [**NullableBriefIPAddressRequest**](BriefIPAddressRequest.md) | | [optional] **Vcpus** | Pointer to **NullableFloat64** | | [optional] **Memory** | Pointer to **NullableInt32** | | [optional] **Disk** | Pointer to **NullableInt32** | | [optional] **Description** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] -**ConfigTemplate** | Pointer to [**NullableConfigTemplateRequest**](ConfigTemplateRequest.md) | | [optional] +**ConfigTemplate** | Pointer to [**NullableBriefConfigTemplateRequest**](BriefConfigTemplateRequest.md) | | [optional] **LocalContextData** | Pointer to **interface{}** | Local config context data takes precedence over source contexts in the final rendered config context | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] @@ -65,20 +66,20 @@ SetName sets Name field to given value. ### GetStatus -`func (o *VirtualMachineWithConfigContextRequest) GetStatus() PatchedWritableModuleRequestStatus` +`func (o *VirtualMachineWithConfigContextRequest) GetStatus() ModuleStatusValue` GetStatus returns the Status field if non-nil, zero value otherwise. ### GetStatusOk -`func (o *VirtualMachineWithConfigContextRequest) GetStatusOk() (*PatchedWritableModuleRequestStatus, bool)` +`func (o *VirtualMachineWithConfigContextRequest) GetStatusOk() (*ModuleStatusValue, 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 *VirtualMachineWithConfigContextRequest) SetStatus(v PatchedWritableModuleRequestStatus)` +`func (o *VirtualMachineWithConfigContextRequest) SetStatus(v ModuleStatusValue)` SetStatus sets Status field to given value. @@ -90,20 +91,20 @@ HasStatus returns a boolean if a field has been set. ### GetSite -`func (o *VirtualMachineWithConfigContextRequest) GetSite() SiteRequest` +`func (o *VirtualMachineWithConfigContextRequest) GetSite() BriefSiteRequest` GetSite returns the Site field if non-nil, zero value otherwise. ### GetSiteOk -`func (o *VirtualMachineWithConfigContextRequest) GetSiteOk() (*SiteRequest, bool)` +`func (o *VirtualMachineWithConfigContextRequest) GetSiteOk() (*BriefSiteRequest, bool)` GetSiteOk returns a tuple with the Site field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSite -`func (o *VirtualMachineWithConfigContextRequest) SetSite(v SiteRequest)` +`func (o *VirtualMachineWithConfigContextRequest) SetSite(v BriefSiteRequest)` SetSite sets Site field to given value. @@ -125,20 +126,20 @@ HasSite returns a boolean if a field has been set. UnsetSite ensures that no value is present for Site, not even an explicit nil ### GetCluster -`func (o *VirtualMachineWithConfigContextRequest) GetCluster() ClusterRequest` +`func (o *VirtualMachineWithConfigContextRequest) GetCluster() BriefClusterRequest` GetCluster returns the Cluster field if non-nil, zero value otherwise. ### GetClusterOk -`func (o *VirtualMachineWithConfigContextRequest) GetClusterOk() (*ClusterRequest, bool)` +`func (o *VirtualMachineWithConfigContextRequest) GetClusterOk() (*BriefClusterRequest, bool)` GetClusterOk returns a tuple with the Cluster field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCluster -`func (o *VirtualMachineWithConfigContextRequest) SetCluster(v ClusterRequest)` +`func (o *VirtualMachineWithConfigContextRequest) SetCluster(v BriefClusterRequest)` SetCluster sets Cluster field to given value. @@ -160,20 +161,20 @@ HasCluster returns a boolean if a field has been set. UnsetCluster ensures that no value is present for Cluster, not even an explicit nil ### GetDevice -`func (o *VirtualMachineWithConfigContextRequest) GetDevice() DeviceRequest` +`func (o *VirtualMachineWithConfigContextRequest) GetDevice() BriefDeviceRequest` GetDevice returns the Device field if non-nil, zero value otherwise. ### GetDeviceOk -`func (o *VirtualMachineWithConfigContextRequest) GetDeviceOk() (*DeviceRequest, bool)` +`func (o *VirtualMachineWithConfigContextRequest) GetDeviceOk() (*BriefDeviceRequest, 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 *VirtualMachineWithConfigContextRequest) SetDevice(v DeviceRequest)` +`func (o *VirtualMachineWithConfigContextRequest) SetDevice(v BriefDeviceRequest)` SetDevice sets Device field to given value. @@ -193,22 +194,47 @@ HasDevice returns a boolean if a field has been set. `func (o *VirtualMachineWithConfigContextRequest) UnsetDevice()` UnsetDevice ensures that no value is present for Device, not even an explicit nil +### GetSerial + +`func (o *VirtualMachineWithConfigContextRequest) GetSerial() string` + +GetSerial returns the Serial field if non-nil, zero value otherwise. + +### GetSerialOk + +`func (o *VirtualMachineWithConfigContextRequest) GetSerialOk() (*string, bool)` + +GetSerialOk returns a tuple with the Serial field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSerial + +`func (o *VirtualMachineWithConfigContextRequest) SetSerial(v string)` + +SetSerial sets Serial field to given value. + +### HasSerial + +`func (o *VirtualMachineWithConfigContextRequest) HasSerial() bool` + +HasSerial returns a boolean if a field has been set. + ### GetRole -`func (o *VirtualMachineWithConfigContextRequest) GetRole() DeviceRoleRequest` +`func (o *VirtualMachineWithConfigContextRequest) GetRole() BriefDeviceRoleRequest` GetRole returns the Role field if non-nil, zero value otherwise. ### GetRoleOk -`func (o *VirtualMachineWithConfigContextRequest) GetRoleOk() (*DeviceRoleRequest, bool)` +`func (o *VirtualMachineWithConfigContextRequest) GetRoleOk() (*BriefDeviceRoleRequest, 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 *VirtualMachineWithConfigContextRequest) SetRole(v DeviceRoleRequest)` +`func (o *VirtualMachineWithConfigContextRequest) SetRole(v BriefDeviceRoleRequest)` SetRole sets Role field to given value. @@ -230,20 +256,20 @@ HasRole returns a boolean if a field has been set. UnsetRole ensures that no value is present for Role, not even an explicit nil ### GetTenant -`func (o *VirtualMachineWithConfigContextRequest) GetTenant() TenantRequest` +`func (o *VirtualMachineWithConfigContextRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *VirtualMachineWithConfigContextRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *VirtualMachineWithConfigContextRequest) GetTenantOk() (*BriefTenantRequest, 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 *VirtualMachineWithConfigContextRequest) SetTenant(v TenantRequest)` +`func (o *VirtualMachineWithConfigContextRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. @@ -265,20 +291,20 @@ HasTenant returns a boolean if a field has been set. UnsetTenant ensures that no value is present for Tenant, not even an explicit nil ### GetPlatform -`func (o *VirtualMachineWithConfigContextRequest) GetPlatform() PlatformRequest` +`func (o *VirtualMachineWithConfigContextRequest) GetPlatform() BriefPlatformRequest` GetPlatform returns the Platform field if non-nil, zero value otherwise. ### GetPlatformOk -`func (o *VirtualMachineWithConfigContextRequest) GetPlatformOk() (*PlatformRequest, bool)` +`func (o *VirtualMachineWithConfigContextRequest) GetPlatformOk() (*BriefPlatformRequest, bool)` GetPlatformOk returns a tuple with the Platform field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPlatform -`func (o *VirtualMachineWithConfigContextRequest) SetPlatform(v PlatformRequest)` +`func (o *VirtualMachineWithConfigContextRequest) SetPlatform(v BriefPlatformRequest)` SetPlatform sets Platform field to given value. @@ -300,20 +326,20 @@ HasPlatform returns a boolean if a field has been set. UnsetPlatform ensures that no value is present for Platform, not even an explicit nil ### GetPrimaryIp4 -`func (o *VirtualMachineWithConfigContextRequest) GetPrimaryIp4() IPAddressRequest` +`func (o *VirtualMachineWithConfigContextRequest) GetPrimaryIp4() BriefIPAddressRequest` GetPrimaryIp4 returns the PrimaryIp4 field if non-nil, zero value otherwise. ### GetPrimaryIp4Ok -`func (o *VirtualMachineWithConfigContextRequest) GetPrimaryIp4Ok() (*IPAddressRequest, bool)` +`func (o *VirtualMachineWithConfigContextRequest) GetPrimaryIp4Ok() (*BriefIPAddressRequest, 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 *VirtualMachineWithConfigContextRequest) SetPrimaryIp4(v IPAddressRequest)` +`func (o *VirtualMachineWithConfigContextRequest) SetPrimaryIp4(v BriefIPAddressRequest)` SetPrimaryIp4 sets PrimaryIp4 field to given value. @@ -335,20 +361,20 @@ HasPrimaryIp4 returns a boolean if a field has been set. UnsetPrimaryIp4 ensures that no value is present for PrimaryIp4, not even an explicit nil ### GetPrimaryIp6 -`func (o *VirtualMachineWithConfigContextRequest) GetPrimaryIp6() IPAddressRequest` +`func (o *VirtualMachineWithConfigContextRequest) GetPrimaryIp6() BriefIPAddressRequest` GetPrimaryIp6 returns the PrimaryIp6 field if non-nil, zero value otherwise. ### GetPrimaryIp6Ok -`func (o *VirtualMachineWithConfigContextRequest) GetPrimaryIp6Ok() (*IPAddressRequest, bool)` +`func (o *VirtualMachineWithConfigContextRequest) GetPrimaryIp6Ok() (*BriefIPAddressRequest, 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 *VirtualMachineWithConfigContextRequest) SetPrimaryIp6(v IPAddressRequest)` +`func (o *VirtualMachineWithConfigContextRequest) SetPrimaryIp6(v BriefIPAddressRequest)` SetPrimaryIp6 sets PrimaryIp6 field to given value. @@ -525,20 +551,20 @@ HasComments returns a boolean if a field has been set. ### GetConfigTemplate -`func (o *VirtualMachineWithConfigContextRequest) GetConfigTemplate() ConfigTemplateRequest` +`func (o *VirtualMachineWithConfigContextRequest) GetConfigTemplate() BriefConfigTemplateRequest` GetConfigTemplate returns the ConfigTemplate field if non-nil, zero value otherwise. ### GetConfigTemplateOk -`func (o *VirtualMachineWithConfigContextRequest) GetConfigTemplateOk() (*ConfigTemplateRequest, bool)` +`func (o *VirtualMachineWithConfigContextRequest) GetConfigTemplateOk() (*BriefConfigTemplateRequest, bool)` GetConfigTemplateOk returns a tuple with the ConfigTemplate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetConfigTemplate -`func (o *VirtualMachineWithConfigContextRequest) SetConfigTemplate(v ConfigTemplateRequest)` +`func (o *VirtualMachineWithConfigContextRequest) SetConfigTemplate(v BriefConfigTemplateRequest)` SetConfigTemplate sets ConfigTemplate field to given value. diff --git a/docs/VirtualizationAPI.md b/docs/VirtualizationAPI.md index b93f4f266..cac0e2206 100644 --- a/docs/VirtualizationAPI.md +++ b/docs/VirtualizationAPI.md @@ -416,8 +416,8 @@ import ( func main() { contact := []int32{int32(123)} // []int32 | Contact (optional) contactN := []int32{int32(123)} // []int32 | Contact (optional) - contactGroup := []int32{int32(123)} // []int32 | Contact group (optional) - contactGroupN := []int32{int32(123)} // []int32 | Contact group (optional) + contactGroup := []string{"Inner_example"} // []string | (optional) + contactGroupN := []string{"Inner_example"} // []string | (optional) contactRole := []int32{int32(123)} // []int32 | Contact Role (optional) contactRoleN := []int32{int32(123)} // []int32 | Contact Role (optional) created := []time.Time{time.Now()} // []time.Time | (optional) @@ -509,8 +509,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **contact** | **[]int32** | Contact | **contactN** | **[]int32** | Contact | - **contactGroup** | **[]int32** | Contact group | - **contactGroupN** | **[]int32** | Contact group | + **contactGroup** | **[]string** | | + **contactGroupN** | **[]string** | | **contactRole** | **[]int32** | Contact Role | **contactRoleN** | **[]int32** | Contact Role | **created** | [**[]time.Time**](time.Time.md) | | @@ -1565,7 +1565,7 @@ import ( ) func main() { - clusterRequest := []openapiclient.ClusterRequest{*openapiclient.NewClusterRequest("Name_example")} // []ClusterRequest | + clusterRequest := []openapiclient.ClusterRequest{*openapiclient.NewClusterRequest("Name_example", *openapiclient.NewBriefClusterTypeRequest("Name_example", "Slug_example"))} // []ClusterRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -1629,7 +1629,7 @@ import ( ) func main() { - clusterRequest := []openapiclient.ClusterRequest{*openapiclient.NewClusterRequest("Name_example")} // []ClusterRequest | + clusterRequest := []openapiclient.ClusterRequest{*openapiclient.NewClusterRequest("Name_example", *openapiclient.NewBriefClusterTypeRequest("Name_example", "Slug_example"))} // []ClusterRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -1695,7 +1695,7 @@ import ( ) func main() { - clusterRequest := []openapiclient.ClusterRequest{*openapiclient.NewClusterRequest("Name_example")} // []ClusterRequest | + clusterRequest := []openapiclient.ClusterRequest{*openapiclient.NewClusterRequest("Name_example", *openapiclient.NewBriefClusterTypeRequest("Name_example", "Slug_example"))} // []ClusterRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -1761,7 +1761,7 @@ import ( ) func main() { - writableClusterRequest := *openapiclient.NewWritableClusterRequest("Name_example", *openapiclient.NewClusterTypeRequest("Name_example", "Slug_example")) // WritableClusterRequest | + writableClusterRequest := *openapiclient.NewWritableClusterRequest("Name_example", *openapiclient.NewBriefClusterTypeRequest("Name_example", "Slug_example")) // WritableClusterRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -1876,7 +1876,7 @@ Name | Type | Description | Notes ## VirtualizationClustersList -> PaginatedClusterList VirtualizationClustersList(ctx).Contact(contact).ContactN(contactN).ContactGroup(contactGroup).ContactGroupN(contactGroupN).ContactRole(contactRole).ContactRoleN(contactRoleN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Group(group).GroupN(groupN).GroupId(groupId).GroupIdN(groupIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Status(status).StatusN(statusN).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).Type_(type_).TypeN(typeN).TypeId(typeId).TypeIdN(typeIdN).UpdatedByRequest(updatedByRequest).Execute() +> PaginatedClusterList VirtualizationClustersList(ctx).Contact(contact).ContactN(contactN).ContactGroup(contactGroup).ContactGroupN(contactGroupN).ContactRole(contactRole).ContactRoleN(contactRoleN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Group(group).GroupN(groupN).GroupId(groupId).GroupIdN(groupIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Status(status).StatusEmpty(statusEmpty).StatusIc(statusIc).StatusIe(statusIe).StatusIew(statusIew).StatusIsw(statusIsw).StatusN(statusN).StatusNic(statusNic).StatusNie(statusNie).StatusNiew(statusNiew).StatusNisw(statusNisw).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).Type_(type_).TypeN(typeN).TypeId(typeId).TypeIdN(typeIdN).UpdatedByRequest(updatedByRequest).Execute() @@ -1898,8 +1898,8 @@ import ( func main() { contact := []int32{int32(123)} // []int32 | Contact (optional) contactN := []int32{int32(123)} // []int32 | Contact (optional) - contactGroup := []int32{int32(123)} // []int32 | Contact group (optional) - contactGroupN := []int32{int32(123)} // []int32 | Contact group (optional) + contactGroup := []string{"Inner_example"} // []string | (optional) + contactGroupN := []string{"Inner_example"} // []string | (optional) contactRole := []int32{int32(123)} // []int32 | Contact Role (optional) contactRoleN := []int32{int32(123)} // []int32 | Contact Role (optional) created := []time.Time{time.Now()} // []time.Time | (optional) @@ -1955,28 +1955,37 @@ func main() { offset := int32(56) // int32 | The initial index from which to return the results. (optional) ordering := "ordering_example" // string | Which field to use when ordering the results. (optional) q := "q_example" // string | Search (optional) - region := []int32{int32(123)} // []int32 | Region (slug) (optional) - regionN := []int32{int32(123)} // []int32 | Region (slug) (optional) - regionId := []int32{int32(123)} // []int32 | Region (ID) (optional) - regionIdN := []int32{int32(123)} // []int32 | Region (ID) (optional) + region := []string{"Inner_example"} // []string | (optional) + regionN := []string{"Inner_example"} // []string | (optional) + regionId := []string{"Inner_example"} // []string | (optional) + regionIdN := []string{"Inner_example"} // []string | (optional) site := []string{"Inner_example"} // []string | Site (slug) (optional) siteN := []string{"Inner_example"} // []string | Site (slug) (optional) - siteGroup := []int32{int32(123)} // []int32 | Site group (slug) (optional) - siteGroupN := []int32{int32(123)} // []int32 | Site group (slug) (optional) - siteGroupId := []int32{int32(123)} // []int32 | Site group (ID) (optional) - siteGroupIdN := []int32{int32(123)} // []int32 | Site group (ID) (optional) + siteGroup := []string{"Inner_example"} // []string | (optional) + siteGroupN := []string{"Inner_example"} // []string | (optional) + siteGroupId := []string{"Inner_example"} // []string | (optional) + siteGroupIdN := []string{"Inner_example"} // []string | (optional) siteId := []*int32{int32(123)} // []*int32 | Site (ID) (optional) siteIdN := []*int32{int32(123)} // []*int32 | Site (ID) (optional) status := []string{"Inner_example"} // []string | (optional) - statusN := []string{"Inner_example"} // []string | (optional) + statusEmpty := true // bool | (optional) + statusIc := []openapiclient.VirtualizationClustersListStatusIcParameterInner{openapiclient.virtualization_clusters_list_status__ic_parameter_inner("active")} // []VirtualizationClustersListStatusIcParameterInner | * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `offline` - Offline (optional) + statusIe := []openapiclient.VirtualizationClustersListStatusIcParameterInner{openapiclient.virtualization_clusters_list_status__ic_parameter_inner("active")} // []VirtualizationClustersListStatusIcParameterInner | * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `offline` - Offline (optional) + statusIew := []openapiclient.VirtualizationClustersListStatusIcParameterInner{openapiclient.virtualization_clusters_list_status__ic_parameter_inner("active")} // []VirtualizationClustersListStatusIcParameterInner | * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `offline` - Offline (optional) + statusIsw := []openapiclient.VirtualizationClustersListStatusIcParameterInner{openapiclient.virtualization_clusters_list_status__ic_parameter_inner("active")} // []VirtualizationClustersListStatusIcParameterInner | * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `offline` - Offline (optional) + statusN := []openapiclient.VirtualizationClustersListStatusIcParameterInner{openapiclient.virtualization_clusters_list_status__ic_parameter_inner("active")} // []VirtualizationClustersListStatusIcParameterInner | * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `offline` - Offline (optional) + statusNic := []openapiclient.VirtualizationClustersListStatusIcParameterInner{openapiclient.virtualization_clusters_list_status__ic_parameter_inner("active")} // []VirtualizationClustersListStatusIcParameterInner | * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `offline` - Offline (optional) + statusNie := []openapiclient.VirtualizationClustersListStatusIcParameterInner{openapiclient.virtualization_clusters_list_status__ic_parameter_inner("active")} // []VirtualizationClustersListStatusIcParameterInner | * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `offline` - Offline (optional) + statusNiew := []openapiclient.VirtualizationClustersListStatusIcParameterInner{openapiclient.virtualization_clusters_list_status__ic_parameter_inner("active")} // []VirtualizationClustersListStatusIcParameterInner | * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `offline` - Offline (optional) + statusNisw := []openapiclient.VirtualizationClustersListStatusIcParameterInner{openapiclient.virtualization_clusters_list_status__ic_parameter_inner("active")} // []VirtualizationClustersListStatusIcParameterInner | * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `offline` - Offline (optional) tag := []string{"Inner_example"} // []string | (optional) tagN := []string{"Inner_example"} // []string | (optional) tenant := []string{"Inner_example"} // []string | Tenant (slug) (optional) tenantN := []string{"Inner_example"} // []string | Tenant (slug) (optional) - tenantGroup := []int32{int32(123)} // []int32 | Tenant Group (slug) (optional) - tenantGroupN := []int32{int32(123)} // []int32 | Tenant Group (slug) (optional) - tenantGroupId := []int32{int32(123)} // []int32 | Tenant Group (ID) (optional) - tenantGroupIdN := []int32{int32(123)} // []int32 | Tenant Group (ID) (optional) + tenantGroup := []string{"Inner_example"} // []string | (optional) + tenantGroupN := []string{"Inner_example"} // []string | (optional) + tenantGroupId := []string{"Inner_example"} // []string | (optional) + tenantGroupIdN := []string{"Inner_example"} // []string | (optional) tenantId := []*int32{int32(123)} // []*int32 | Tenant (ID) (optional) tenantIdN := []*int32{int32(123)} // []*int32 | Tenant (ID) (optional) type_ := []string{"Inner_example"} // []string | Cluster type (slug) (optional) @@ -1987,7 +1996,7 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.VirtualizationAPI.VirtualizationClustersList(context.Background()).Contact(contact).ContactN(contactN).ContactGroup(contactGroup).ContactGroupN(contactGroupN).ContactRole(contactRole).ContactRoleN(contactRoleN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Group(group).GroupN(groupN).GroupId(groupId).GroupIdN(groupIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Status(status).StatusN(statusN).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).Type_(type_).TypeN(typeN).TypeId(typeId).TypeIdN(typeIdN).UpdatedByRequest(updatedByRequest).Execute() + resp, r, err := apiClient.VirtualizationAPI.VirtualizationClustersList(context.Background()).Contact(contact).ContactN(contactN).ContactGroup(contactGroup).ContactGroupN(contactGroupN).ContactRole(contactRole).ContactRoleN(contactRoleN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Group(group).GroupN(groupN).GroupId(groupId).GroupIdN(groupIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Status(status).StatusEmpty(statusEmpty).StatusIc(statusIc).StatusIe(statusIe).StatusIew(statusIew).StatusIsw(statusIsw).StatusN(statusN).StatusNic(statusNic).StatusNie(statusNie).StatusNiew(statusNiew).StatusNisw(statusNisw).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).Type_(type_).TypeN(typeN).TypeId(typeId).TypeIdN(typeIdN).UpdatedByRequest(updatedByRequest).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) @@ -2010,8 +2019,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **contact** | **[]int32** | Contact | **contactN** | **[]int32** | Contact | - **contactGroup** | **[]int32** | Contact group | - **contactGroupN** | **[]int32** | Contact group | + **contactGroup** | **[]string** | | + **contactGroupN** | **[]string** | | **contactRole** | **[]int32** | Contact Role | **contactRoleN** | **[]int32** | Contact Role | **created** | [**[]time.Time**](time.Time.md) | | @@ -2067,28 +2076,37 @@ Name | Type | Description | Notes **offset** | **int32** | The initial index from which to return the results. | **ordering** | **string** | Which field to use when ordering the results. | **q** | **string** | Search | - **region** | **[]int32** | Region (slug) | - **regionN** | **[]int32** | Region (slug) | - **regionId** | **[]int32** | Region (ID) | - **regionIdN** | **[]int32** | Region (ID) | + **region** | **[]string** | | + **regionN** | **[]string** | | + **regionId** | **[]string** | | + **regionIdN** | **[]string** | | **site** | **[]string** | Site (slug) | **siteN** | **[]string** | Site (slug) | - **siteGroup** | **[]int32** | Site group (slug) | - **siteGroupN** | **[]int32** | Site group (slug) | - **siteGroupId** | **[]int32** | Site group (ID) | - **siteGroupIdN** | **[]int32** | Site group (ID) | + **siteGroup** | **[]string** | | + **siteGroupN** | **[]string** | | + **siteGroupId** | **[]string** | | + **siteGroupIdN** | **[]string** | | **siteId** | **[]int32** | Site (ID) | **siteIdN** | **[]int32** | Site (ID) | **status** | **[]string** | | - **statusN** | **[]string** | | + **statusEmpty** | **bool** | | + **statusIc** | [**[]VirtualizationClustersListStatusIcParameterInner**](VirtualizationClustersListStatusIcParameterInner.md) | * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `offline` - Offline | + **statusIe** | [**[]VirtualizationClustersListStatusIcParameterInner**](VirtualizationClustersListStatusIcParameterInner.md) | * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `offline` - Offline | + **statusIew** | [**[]VirtualizationClustersListStatusIcParameterInner**](VirtualizationClustersListStatusIcParameterInner.md) | * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `offline` - Offline | + **statusIsw** | [**[]VirtualizationClustersListStatusIcParameterInner**](VirtualizationClustersListStatusIcParameterInner.md) | * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `offline` - Offline | + **statusN** | [**[]VirtualizationClustersListStatusIcParameterInner**](VirtualizationClustersListStatusIcParameterInner.md) | * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `offline` - Offline | + **statusNic** | [**[]VirtualizationClustersListStatusIcParameterInner**](VirtualizationClustersListStatusIcParameterInner.md) | * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `offline` - Offline | + **statusNie** | [**[]VirtualizationClustersListStatusIcParameterInner**](VirtualizationClustersListStatusIcParameterInner.md) | * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `offline` - Offline | + **statusNiew** | [**[]VirtualizationClustersListStatusIcParameterInner**](VirtualizationClustersListStatusIcParameterInner.md) | * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `offline` - Offline | + **statusNisw** | [**[]VirtualizationClustersListStatusIcParameterInner**](VirtualizationClustersListStatusIcParameterInner.md) | * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `offline` - Offline | **tag** | **[]string** | | **tagN** | **[]string** | | **tenant** | **[]string** | Tenant (slug) | **tenantN** | **[]string** | Tenant (slug) | - **tenantGroup** | **[]int32** | Tenant Group (slug) | - **tenantGroupN** | **[]int32** | Tenant Group (slug) | - **tenantGroupId** | **[]int32** | Tenant Group (ID) | - **tenantGroupIdN** | **[]int32** | Tenant Group (ID) | + **tenantGroup** | **[]string** | | + **tenantGroupN** | **[]string** | | + **tenantGroupId** | **[]string** | | + **tenantGroupIdN** | **[]string** | | **tenantId** | **[]int32** | Tenant (ID) | **tenantIdN** | **[]int32** | Tenant (ID) | **type_** | **[]string** | Cluster type (slug) | @@ -2279,7 +2297,7 @@ import ( func main() { id := int32(56) // int32 | A unique integer value identifying this cluster. - writableClusterRequest := *openapiclient.NewWritableClusterRequest("Name_example", *openapiclient.NewClusterTypeRequest("Name_example", "Slug_example")) // WritableClusterRequest | + writableClusterRequest := *openapiclient.NewWritableClusterRequest("Name_example", *openapiclient.NewBriefClusterTypeRequest("Name_example", "Slug_example")) // WritableClusterRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -2350,7 +2368,7 @@ import ( ) func main() { - vMInterfaceRequest := []openapiclient.VMInterfaceRequest{*openapiclient.NewVMInterfaceRequest(*openapiclient.NewVirtualMachineRequest("Name_example"), "Name_example")} // []VMInterfaceRequest | + vMInterfaceRequest := []openapiclient.VMInterfaceRequest{*openapiclient.NewVMInterfaceRequest(*openapiclient.NewBriefVirtualMachineRequest("Name_example"), "Name_example")} // []VMInterfaceRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -2414,7 +2432,7 @@ import ( ) func main() { - vMInterfaceRequest := []openapiclient.VMInterfaceRequest{*openapiclient.NewVMInterfaceRequest(*openapiclient.NewVirtualMachineRequest("Name_example"), "Name_example")} // []VMInterfaceRequest | + vMInterfaceRequest := []openapiclient.VMInterfaceRequest{*openapiclient.NewVMInterfaceRequest(*openapiclient.NewBriefVirtualMachineRequest("Name_example"), "Name_example")} // []VMInterfaceRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -2480,7 +2498,7 @@ import ( ) func main() { - vMInterfaceRequest := []openapiclient.VMInterfaceRequest{*openapiclient.NewVMInterfaceRequest(*openapiclient.NewVirtualMachineRequest("Name_example"), "Name_example")} // []VMInterfaceRequest | + vMInterfaceRequest := []openapiclient.VMInterfaceRequest{*openapiclient.NewVMInterfaceRequest(*openapiclient.NewBriefVirtualMachineRequest("Name_example"), "Name_example")} // []VMInterfaceRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -2546,7 +2564,7 @@ import ( ) func main() { - writableVMInterfaceRequest := *openapiclient.NewWritableVMInterfaceRequest(*openapiclient.NewVirtualMachineRequest("Name_example"), "Name_example") // WritableVMInterfaceRequest | + writableVMInterfaceRequest := *openapiclient.NewWritableVMInterfaceRequest(*openapiclient.NewBriefVirtualMachineRequest("Name_example"), "Name_example") // WritableVMInterfaceRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -2661,7 +2679,7 @@ Name | Type | Description | Notes ## VirtualizationInterfacesList -> PaginatedVMInterfaceList VirtualizationInterfacesList(ctx).BridgeId(bridgeId).BridgeIdN(bridgeIdN).Cluster(cluster).ClusterN(clusterN).ClusterId(clusterId).ClusterIdN(clusterIdN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Enabled(enabled).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).L2vpn(l2vpn).L2vpnN(l2vpnN).L2vpnId(l2vpnId).L2vpnIdN(l2vpnIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).MacAddress(macAddress).MacAddressIc(macAddressIc).MacAddressIe(macAddressIe).MacAddressIew(macAddressIew).MacAddressIsw(macAddressIsw).MacAddressN(macAddressN).MacAddressNic(macAddressNic).MacAddressNie(macAddressNie).MacAddressNiew(macAddressNiew).MacAddressNisw(macAddressNisw).Mode(mode).ModeN(modeN).ModifiedByRequest(modifiedByRequest).Mtu(mtu).MtuEmpty(mtuEmpty).MtuGt(mtuGt).MtuGte(mtuGte).MtuLt(mtuLt).MtuLte(mtuLte).MtuN(mtuN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).ParentId(parentId).ParentIdN(parentIdN).Q(q).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).VirtualMachine(virtualMachine).VirtualMachineN(virtualMachineN).VirtualMachineId(virtualMachineId).VirtualMachineIdN(virtualMachineIdN).Vlan(vlan).VlanId(vlanId).Vrf(vrf).VrfN(vrfN).VrfId(vrfId).VrfIdN(vrfIdN).Execute() +> PaginatedVMInterfaceList VirtualizationInterfacesList(ctx).BridgeId(bridgeId).BridgeIdN(bridgeIdN).Cluster(cluster).ClusterN(clusterN).ClusterId(clusterId).ClusterIdN(clusterIdN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Enabled(enabled).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).L2vpn(l2vpn).L2vpnN(l2vpnN).L2vpnId(l2vpnId).L2vpnIdN(l2vpnIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).MacAddress(macAddress).MacAddressIc(macAddressIc).MacAddressIe(macAddressIe).MacAddressIew(macAddressIew).MacAddressIsw(macAddressIsw).MacAddressN(macAddressN).MacAddressNic(macAddressNic).MacAddressNie(macAddressNie).MacAddressNiew(macAddressNiew).MacAddressNisw(macAddressNisw).Mode(mode).ModifiedByRequest(modifiedByRequest).Mtu(mtu).MtuEmpty(mtuEmpty).MtuGt(mtuGt).MtuGte(mtuGte).MtuLt(mtuLt).MtuLte(mtuLte).MtuN(mtuN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).ParentId(parentId).ParentIdN(parentIdN).Q(q).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).VirtualMachine(virtualMachine).VirtualMachineN(virtualMachineN).VirtualMachineId(virtualMachineId).VirtualMachineIdN(virtualMachineIdN).Vlan(vlan).VlanId(vlanId).Vrf(vrf).VrfN(vrfN).VrfId(vrfId).VrfIdN(vrfIdN).Execute() @@ -2737,7 +2755,6 @@ func main() { macAddressNiew := []string{"Inner_example"} // []string | (optional) macAddressNisw := []string{"Inner_example"} // []string | (optional) mode := openapiclient.dcim_interfaces_list_mode_parameter("access") // DcimInterfacesListModeParameter | IEEE 802.1Q tagging strategy * `access` - Access * `tagged` - Tagged * `tagged-all` - Tagged (All) (optional) - modeN := openapiclient.dcim_interfaces_list_mode_parameter("access") // DcimInterfacesListModeParameter | IEEE 802.1Q tagging strategy * `access` - Access * `tagged` - Tagged * `tagged-all` - Tagged (All) (optional) modifiedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) mtu := []int32{int32(123)} // []int32 | (optional) mtuEmpty := true // bool | (optional) @@ -2778,7 +2795,7 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.VirtualizationAPI.VirtualizationInterfacesList(context.Background()).BridgeId(bridgeId).BridgeIdN(bridgeIdN).Cluster(cluster).ClusterN(clusterN).ClusterId(clusterId).ClusterIdN(clusterIdN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Enabled(enabled).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).L2vpn(l2vpn).L2vpnN(l2vpnN).L2vpnId(l2vpnId).L2vpnIdN(l2vpnIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).MacAddress(macAddress).MacAddressIc(macAddressIc).MacAddressIe(macAddressIe).MacAddressIew(macAddressIew).MacAddressIsw(macAddressIsw).MacAddressN(macAddressN).MacAddressNic(macAddressNic).MacAddressNie(macAddressNie).MacAddressNiew(macAddressNiew).MacAddressNisw(macAddressNisw).Mode(mode).ModeN(modeN).ModifiedByRequest(modifiedByRequest).Mtu(mtu).MtuEmpty(mtuEmpty).MtuGt(mtuGt).MtuGte(mtuGte).MtuLt(mtuLt).MtuLte(mtuLte).MtuN(mtuN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).ParentId(parentId).ParentIdN(parentIdN).Q(q).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).VirtualMachine(virtualMachine).VirtualMachineN(virtualMachineN).VirtualMachineId(virtualMachineId).VirtualMachineIdN(virtualMachineIdN).Vlan(vlan).VlanId(vlanId).Vrf(vrf).VrfN(vrfN).VrfId(vrfId).VrfIdN(vrfIdN).Execute() + resp, r, err := apiClient.VirtualizationAPI.VirtualizationInterfacesList(context.Background()).BridgeId(bridgeId).BridgeIdN(bridgeIdN).Cluster(cluster).ClusterN(clusterN).ClusterId(clusterId).ClusterIdN(clusterIdN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Enabled(enabled).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).L2vpn(l2vpn).L2vpnN(l2vpnN).L2vpnId(l2vpnId).L2vpnIdN(l2vpnIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).MacAddress(macAddress).MacAddressIc(macAddressIc).MacAddressIe(macAddressIe).MacAddressIew(macAddressIew).MacAddressIsw(macAddressIsw).MacAddressN(macAddressN).MacAddressNic(macAddressNic).MacAddressNie(macAddressNie).MacAddressNiew(macAddressNiew).MacAddressNisw(macAddressNisw).Mode(mode).ModifiedByRequest(modifiedByRequest).Mtu(mtu).MtuEmpty(mtuEmpty).MtuGt(mtuGt).MtuGte(mtuGte).MtuLt(mtuLt).MtuLte(mtuLte).MtuN(mtuN).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).ParentId(parentId).ParentIdN(parentIdN).Q(q).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).VirtualMachine(virtualMachine).VirtualMachineN(virtualMachineN).VirtualMachineId(virtualMachineId).VirtualMachineIdN(virtualMachineIdN).Vlan(vlan).VlanId(vlanId).Vrf(vrf).VrfN(vrfN).VrfId(vrfId).VrfIdN(vrfIdN).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) @@ -2855,7 +2872,6 @@ Name | Type | Description | Notes **macAddressNiew** | **[]string** | | **macAddressNisw** | **[]string** | | **mode** | [**DcimInterfacesListModeParameter**](DcimInterfacesListModeParameter.md) | IEEE 802.1Q tagging strategy * `access` - Access * `tagged` - Tagged * `tagged-all` - Tagged (All) | - **modeN** | [**DcimInterfacesListModeParameter**](DcimInterfacesListModeParameter.md) | IEEE 802.1Q tagging strategy * `access` - Access * `tagged` - Tagged * `tagged-all` - Tagged (All) | **modifiedByRequest** | **string** | | **mtu** | **[]int32** | | **mtuEmpty** | **bool** | | @@ -3076,7 +3092,7 @@ import ( func main() { id := int32(56) // int32 | A unique integer value identifying this interface. - writableVMInterfaceRequest := *openapiclient.NewWritableVMInterfaceRequest(*openapiclient.NewVirtualMachineRequest("Name_example"), "Name_example") // WritableVMInterfaceRequest | + writableVMInterfaceRequest := *openapiclient.NewWritableVMInterfaceRequest(*openapiclient.NewBriefVirtualMachineRequest("Name_example"), "Name_example") // WritableVMInterfaceRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -3147,7 +3163,7 @@ import ( ) func main() { - virtualDiskRequest := []openapiclient.VirtualDiskRequest{*openapiclient.NewVirtualDiskRequest(*openapiclient.NewVirtualMachineRequest("Name_example"), "Name_example", int32(123))} // []VirtualDiskRequest | + virtualDiskRequest := []openapiclient.VirtualDiskRequest{*openapiclient.NewVirtualDiskRequest(*openapiclient.NewBriefVirtualMachineRequest("Name_example"), "Name_example", int32(123))} // []VirtualDiskRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -3211,7 +3227,7 @@ import ( ) func main() { - virtualDiskRequest := []openapiclient.VirtualDiskRequest{*openapiclient.NewVirtualDiskRequest(*openapiclient.NewVirtualMachineRequest("Name_example"), "Name_example", int32(123))} // []VirtualDiskRequest | + virtualDiskRequest := []openapiclient.VirtualDiskRequest{*openapiclient.NewVirtualDiskRequest(*openapiclient.NewBriefVirtualMachineRequest("Name_example"), "Name_example", int32(123))} // []VirtualDiskRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -3277,7 +3293,7 @@ import ( ) func main() { - virtualDiskRequest := []openapiclient.VirtualDiskRequest{*openapiclient.NewVirtualDiskRequest(*openapiclient.NewVirtualMachineRequest("Name_example"), "Name_example", int32(123))} // []VirtualDiskRequest | + virtualDiskRequest := []openapiclient.VirtualDiskRequest{*openapiclient.NewVirtualDiskRequest(*openapiclient.NewBriefVirtualMachineRequest("Name_example"), "Name_example", int32(123))} // []VirtualDiskRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -3343,7 +3359,7 @@ import ( ) func main() { - virtualDiskRequest := *openapiclient.NewVirtualDiskRequest(*openapiclient.NewVirtualMachineRequest("Name_example"), "Name_example", int32(123)) // VirtualDiskRequest | + virtualDiskRequest := *openapiclient.NewVirtualDiskRequest(*openapiclient.NewBriefVirtualMachineRequest("Name_example"), "Name_example", int32(123)) // VirtualDiskRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -3811,7 +3827,7 @@ import ( func main() { id := int32(56) // int32 | A unique integer value identifying this virtual disk. - virtualDiskRequest := *openapiclient.NewVirtualDiskRequest(*openapiclient.NewVirtualMachineRequest("Name_example"), "Name_example", int32(123)) // VirtualDiskRequest | + virtualDiskRequest := *openapiclient.NewVirtualDiskRequest(*openapiclient.NewBriefVirtualMachineRequest("Name_example"), "Name_example", int32(123)) // VirtualDiskRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -4193,7 +4209,7 @@ Name | Type | Description | Notes ## VirtualizationVirtualMachinesList -> PaginatedVirtualMachineWithConfigContextList VirtualizationVirtualMachinesList(ctx).Cluster(cluster).ClusterN(clusterN).ClusterGroup(clusterGroup).ClusterGroupN(clusterGroupN).ClusterGroupId(clusterGroupId).ClusterGroupIdN(clusterGroupIdN).ClusterId(clusterId).ClusterIdN(clusterIdN).ClusterType(clusterType).ClusterTypeN(clusterTypeN).ClusterTypeId(clusterTypeId).ClusterTypeIdN(clusterTypeIdN).ConfigTemplateId(configTemplateId).ConfigTemplateIdN(configTemplateIdN).Contact(contact).ContactN(contactN).ContactGroup(contactGroup).ContactGroupN(contactGroupN).ContactRole(contactRole).ContactRoleN(contactRoleN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceN(deviceN).DeviceId(deviceId).DeviceIdN(deviceIdN).Disk(disk).DiskEmpty(diskEmpty).DiskGt(diskGt).DiskGte(diskGte).DiskLt(diskLt).DiskLte(diskLte).DiskN(diskN).HasPrimaryIp(hasPrimaryIp).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).InterfaceCount(interfaceCount).InterfaceCountEmpty(interfaceCountEmpty).InterfaceCountGt(interfaceCountGt).InterfaceCountGte(interfaceCountGte).InterfaceCountLt(interfaceCountLt).InterfaceCountLte(interfaceCountLte).InterfaceCountN(interfaceCountN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).LocalContextData(localContextData).MacAddress(macAddress).MacAddressIc(macAddressIc).MacAddressIe(macAddressIe).MacAddressIew(macAddressIew).MacAddressIsw(macAddressIsw).MacAddressN(macAddressN).MacAddressNic(macAddressNic).MacAddressNie(macAddressNie).MacAddressNiew(macAddressNiew).MacAddressNisw(macAddressNisw).Memory(memory).MemoryEmpty(memoryEmpty).MemoryGt(memoryGt).MemoryGte(memoryGte).MemoryLt(memoryLt).MemoryLte(memoryLte).MemoryN(memoryN).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Platform(platform).PlatformN(platformN).PlatformId(platformId).PlatformIdN(platformIdN).PrimaryIp4Id(primaryIp4Id).PrimaryIp4IdN(primaryIp4IdN).PrimaryIp6Id(primaryIp6Id).PrimaryIp6IdN(primaryIp6IdN).Q(q).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Status(status).StatusN(statusN).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).UpdatedByRequest(updatedByRequest).Vcpus(vcpus).VcpusEmpty(vcpusEmpty).VcpusGt(vcpusGt).VcpusGte(vcpusGte).VcpusLt(vcpusLt).VcpusLte(vcpusLte).VcpusN(vcpusN).VirtualDiskCount(virtualDiskCount).VirtualDiskCountEmpty(virtualDiskCountEmpty).VirtualDiskCountGt(virtualDiskCountGt).VirtualDiskCountGte(virtualDiskCountGte).VirtualDiskCountLt(virtualDiskCountLt).VirtualDiskCountLte(virtualDiskCountLte).VirtualDiskCountN(virtualDiskCountN).Execute() +> PaginatedVirtualMachineWithConfigContextList VirtualizationVirtualMachinesList(ctx).Cluster(cluster).ClusterN(clusterN).ClusterGroup(clusterGroup).ClusterGroupN(clusterGroupN).ClusterGroupId(clusterGroupId).ClusterGroupIdN(clusterGroupIdN).ClusterId(clusterId).ClusterIdN(clusterIdN).ClusterType(clusterType).ClusterTypeN(clusterTypeN).ClusterTypeId(clusterTypeId).ClusterTypeIdN(clusterTypeIdN).ConfigTemplateId(configTemplateId).ConfigTemplateIdN(configTemplateIdN).Contact(contact).ContactN(contactN).ContactGroup(contactGroup).ContactGroupN(contactGroupN).ContactRole(contactRole).ContactRoleN(contactRoleN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceN(deviceN).DeviceId(deviceId).DeviceIdN(deviceIdN).Disk(disk).DiskEmpty(diskEmpty).DiskGt(diskGt).DiskGte(diskGte).DiskLt(diskLt).DiskLte(diskLte).DiskN(diskN).HasPrimaryIp(hasPrimaryIp).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).InterfaceCount(interfaceCount).InterfaceCountEmpty(interfaceCountEmpty).InterfaceCountGt(interfaceCountGt).InterfaceCountGte(interfaceCountGte).InterfaceCountLt(interfaceCountLt).InterfaceCountLte(interfaceCountLte).InterfaceCountN(interfaceCountN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).LocalContextData(localContextData).MacAddress(macAddress).MacAddressIc(macAddressIc).MacAddressIe(macAddressIe).MacAddressIew(macAddressIew).MacAddressIsw(macAddressIsw).MacAddressN(macAddressN).MacAddressNic(macAddressNic).MacAddressNie(macAddressNie).MacAddressNiew(macAddressNiew).MacAddressNisw(macAddressNisw).Memory(memory).MemoryEmpty(memoryEmpty).MemoryGt(memoryGt).MemoryGte(memoryGte).MemoryLt(memoryLt).MemoryLte(memoryLte).MemoryN(memoryN).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Platform(platform).PlatformN(platformN).PlatformId(platformId).PlatformIdN(platformIdN).PrimaryIp4Id(primaryIp4Id).PrimaryIp4IdN(primaryIp4IdN).PrimaryIp6Id(primaryIp6Id).PrimaryIp6IdN(primaryIp6IdN).Q(q).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).Serial(serial).SerialEmpty(serialEmpty).SerialIc(serialIc).SerialIe(serialIe).SerialIew(serialIew).SerialIsw(serialIsw).SerialN(serialN).SerialNic(serialNic).SerialNie(serialNie).SerialNiew(serialNiew).SerialNisw(serialNisw).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Status(status).StatusEmpty(statusEmpty).StatusIc(statusIc).StatusIe(statusIe).StatusIew(statusIew).StatusIsw(statusIsw).StatusN(statusN).StatusNic(statusNic).StatusNie(statusNie).StatusNiew(statusNiew).StatusNisw(statusNisw).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).UpdatedByRequest(updatedByRequest).Vcpus(vcpus).VcpusEmpty(vcpusEmpty).VcpusGt(vcpusGt).VcpusGte(vcpusGte).VcpusLt(vcpusLt).VcpusLte(vcpusLte).VcpusN(vcpusN).VirtualDiskCount(virtualDiskCount).VirtualDiskCountEmpty(virtualDiskCountEmpty).VirtualDiskCountGt(virtualDiskCountGt).VirtualDiskCountGte(virtualDiskCountGte).VirtualDiskCountLt(virtualDiskCountLt).VirtualDiskCountLte(virtualDiskCountLte).VirtualDiskCountN(virtualDiskCountN).Execute() @@ -4229,8 +4245,8 @@ func main() { configTemplateIdN := []*int32{int32(123)} // []*int32 | Config template (ID) (optional) contact := []int32{int32(123)} // []int32 | Contact (optional) contactN := []int32{int32(123)} // []int32 | Contact (optional) - contactGroup := []int32{int32(123)} // []int32 | Contact group (optional) - contactGroupN := []int32{int32(123)} // []int32 | Contact group (optional) + contactGroup := []string{"Inner_example"} // []string | (optional) + contactGroupN := []string{"Inner_example"} // []string | (optional) contactRole := []int32{int32(123)} // []int32 | Contact Role (optional) contactRoleN := []int32{int32(123)} // []int32 | Contact Role (optional) created := []time.Time{time.Now()} // []time.Time | (optional) @@ -4327,32 +4343,52 @@ func main() { primaryIp6Id := []int32{int32(123)} // []int32 | Primary IPv6 (ID) (optional) primaryIp6IdN := []int32{int32(123)} // []int32 | Primary IPv6 (ID) (optional) q := "q_example" // string | Search (optional) - region := []int32{int32(123)} // []int32 | Region (slug) (optional) - regionN := []int32{int32(123)} // []int32 | Region (slug) (optional) - regionId := []int32{int32(123)} // []int32 | Region (ID) (optional) - regionIdN := []int32{int32(123)} // []int32 | Region (ID) (optional) + region := []string{"Inner_example"} // []string | (optional) + regionN := []string{"Inner_example"} // []string | (optional) + regionId := []string{"Inner_example"} // []string | (optional) + regionIdN := []string{"Inner_example"} // []string | (optional) role := []string{"Inner_example"} // []string | Role (slug) (optional) roleN := []string{"Inner_example"} // []string | Role (slug) (optional) roleId := []*int32{int32(123)} // []*int32 | Role (ID) (optional) roleIdN := []*int32{int32(123)} // []*int32 | Role (ID) (optional) + serial := []string{"Inner_example"} // []string | (optional) + serialEmpty := true // bool | (optional) + serialIc := []string{"Inner_example"} // []string | (optional) + serialIe := []string{"Inner_example"} // []string | (optional) + serialIew := []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) + serialNisw := []string{"Inner_example"} // []string | (optional) site := []string{"Inner_example"} // []string | Site (slug) (optional) siteN := []string{"Inner_example"} // []string | Site (slug) (optional) - siteGroup := []int32{int32(123)} // []int32 | Site group (slug) (optional) - siteGroupN := []int32{int32(123)} // []int32 | Site group (slug) (optional) - siteGroupId := []int32{int32(123)} // []int32 | Site group (ID) (optional) - siteGroupIdN := []int32{int32(123)} // []int32 | Site group (ID) (optional) + siteGroup := []string{"Inner_example"} // []string | (optional) + siteGroupN := []string{"Inner_example"} // []string | (optional) + siteGroupId := []string{"Inner_example"} // []string | (optional) + siteGroupIdN := []string{"Inner_example"} // []string | (optional) siteId := []*int32{int32(123)} // []*int32 | Site (ID) (optional) siteIdN := []*int32{int32(123)} // []*int32 | Site (ID) (optional) status := []string{"Inner_example"} // []string | (optional) - statusN := []string{"Inner_example"} // []string | (optional) + statusEmpty := true // bool | (optional) + statusIc := []openapiclient.DcimModulesListStatusIcParameterInner{openapiclient.dcim_modules_list_status__ic_parameter_inner("active")} // []DcimModulesListStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning (optional) + statusIe := []openapiclient.DcimModulesListStatusIcParameterInner{openapiclient.dcim_modules_list_status__ic_parameter_inner("active")} // []DcimModulesListStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning (optional) + statusIew := []openapiclient.DcimModulesListStatusIcParameterInner{openapiclient.dcim_modules_list_status__ic_parameter_inner("active")} // []DcimModulesListStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning (optional) + statusIsw := []openapiclient.DcimModulesListStatusIcParameterInner{openapiclient.dcim_modules_list_status__ic_parameter_inner("active")} // []DcimModulesListStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning (optional) + statusN := []openapiclient.DcimModulesListStatusIcParameterInner{openapiclient.dcim_modules_list_status__ic_parameter_inner("active")} // []DcimModulesListStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning (optional) + statusNic := []openapiclient.DcimModulesListStatusIcParameterInner{openapiclient.dcim_modules_list_status__ic_parameter_inner("active")} // []DcimModulesListStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning (optional) + statusNie := []openapiclient.DcimModulesListStatusIcParameterInner{openapiclient.dcim_modules_list_status__ic_parameter_inner("active")} // []DcimModulesListStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning (optional) + statusNiew := []openapiclient.DcimModulesListStatusIcParameterInner{openapiclient.dcim_modules_list_status__ic_parameter_inner("active")} // []DcimModulesListStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning (optional) + statusNisw := []openapiclient.DcimModulesListStatusIcParameterInner{openapiclient.dcim_modules_list_status__ic_parameter_inner("active")} // []DcimModulesListStatusIcParameterInner | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning (optional) tag := []string{"Inner_example"} // []string | (optional) tagN := []string{"Inner_example"} // []string | (optional) tenant := []string{"Inner_example"} // []string | Tenant (slug) (optional) tenantN := []string{"Inner_example"} // []string | Tenant (slug) (optional) - tenantGroup := []int32{int32(123)} // []int32 | Tenant Group (slug) (optional) - tenantGroupN := []int32{int32(123)} // []int32 | Tenant Group (slug) (optional) - tenantGroupId := []int32{int32(123)} // []int32 | Tenant Group (ID) (optional) - tenantGroupIdN := []int32{int32(123)} // []int32 | Tenant Group (ID) (optional) + tenantGroup := []string{"Inner_example"} // []string | (optional) + tenantGroupN := []string{"Inner_example"} // []string | (optional) + tenantGroupId := []string{"Inner_example"} // []string | (optional) + tenantGroupIdN := []string{"Inner_example"} // []string | (optional) tenantId := []*int32{int32(123)} // []*int32 | Tenant (ID) (optional) tenantIdN := []*int32{int32(123)} // []*int32 | Tenant (ID) (optional) updatedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) @@ -4373,7 +4409,7 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.VirtualizationAPI.VirtualizationVirtualMachinesList(context.Background()).Cluster(cluster).ClusterN(clusterN).ClusterGroup(clusterGroup).ClusterGroupN(clusterGroupN).ClusterGroupId(clusterGroupId).ClusterGroupIdN(clusterGroupIdN).ClusterId(clusterId).ClusterIdN(clusterIdN).ClusterType(clusterType).ClusterTypeN(clusterTypeN).ClusterTypeId(clusterTypeId).ClusterTypeIdN(clusterTypeIdN).ConfigTemplateId(configTemplateId).ConfigTemplateIdN(configTemplateIdN).Contact(contact).ContactN(contactN).ContactGroup(contactGroup).ContactGroupN(contactGroupN).ContactRole(contactRole).ContactRoleN(contactRoleN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceN(deviceN).DeviceId(deviceId).DeviceIdN(deviceIdN).Disk(disk).DiskEmpty(diskEmpty).DiskGt(diskGt).DiskGte(diskGte).DiskLt(diskLt).DiskLte(diskLte).DiskN(diskN).HasPrimaryIp(hasPrimaryIp).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).InterfaceCount(interfaceCount).InterfaceCountEmpty(interfaceCountEmpty).InterfaceCountGt(interfaceCountGt).InterfaceCountGte(interfaceCountGte).InterfaceCountLt(interfaceCountLt).InterfaceCountLte(interfaceCountLte).InterfaceCountN(interfaceCountN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).LocalContextData(localContextData).MacAddress(macAddress).MacAddressIc(macAddressIc).MacAddressIe(macAddressIe).MacAddressIew(macAddressIew).MacAddressIsw(macAddressIsw).MacAddressN(macAddressN).MacAddressNic(macAddressNic).MacAddressNie(macAddressNie).MacAddressNiew(macAddressNiew).MacAddressNisw(macAddressNisw).Memory(memory).MemoryEmpty(memoryEmpty).MemoryGt(memoryGt).MemoryGte(memoryGte).MemoryLt(memoryLt).MemoryLte(memoryLte).MemoryN(memoryN).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Platform(platform).PlatformN(platformN).PlatformId(platformId).PlatformIdN(platformIdN).PrimaryIp4Id(primaryIp4Id).PrimaryIp4IdN(primaryIp4IdN).PrimaryIp6Id(primaryIp6Id).PrimaryIp6IdN(primaryIp6IdN).Q(q).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Status(status).StatusN(statusN).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).UpdatedByRequest(updatedByRequest).Vcpus(vcpus).VcpusEmpty(vcpusEmpty).VcpusGt(vcpusGt).VcpusGte(vcpusGte).VcpusLt(vcpusLt).VcpusLte(vcpusLte).VcpusN(vcpusN).VirtualDiskCount(virtualDiskCount).VirtualDiskCountEmpty(virtualDiskCountEmpty).VirtualDiskCountGt(virtualDiskCountGt).VirtualDiskCountGte(virtualDiskCountGte).VirtualDiskCountLt(virtualDiskCountLt).VirtualDiskCountLte(virtualDiskCountLte).VirtualDiskCountN(virtualDiskCountN).Execute() + resp, r, err := apiClient.VirtualizationAPI.VirtualizationVirtualMachinesList(context.Background()).Cluster(cluster).ClusterN(clusterN).ClusterGroup(clusterGroup).ClusterGroupN(clusterGroupN).ClusterGroupId(clusterGroupId).ClusterGroupIdN(clusterGroupIdN).ClusterId(clusterId).ClusterIdN(clusterIdN).ClusterType(clusterType).ClusterTypeN(clusterTypeN).ClusterTypeId(clusterTypeId).ClusterTypeIdN(clusterTypeIdN).ConfigTemplateId(configTemplateId).ConfigTemplateIdN(configTemplateIdN).Contact(contact).ContactN(contactN).ContactGroup(contactGroup).ContactGroupN(contactGroupN).ContactRole(contactRole).ContactRoleN(contactRoleN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Device(device).DeviceN(deviceN).DeviceId(deviceId).DeviceIdN(deviceIdN).Disk(disk).DiskEmpty(diskEmpty).DiskGt(diskGt).DiskGte(diskGte).DiskLt(diskLt).DiskLte(diskLte).DiskN(diskN).HasPrimaryIp(hasPrimaryIp).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).InterfaceCount(interfaceCount).InterfaceCountEmpty(interfaceCountEmpty).InterfaceCountGt(interfaceCountGt).InterfaceCountGte(interfaceCountGte).InterfaceCountLt(interfaceCountLt).InterfaceCountLte(interfaceCountLte).InterfaceCountN(interfaceCountN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).LocalContextData(localContextData).MacAddress(macAddress).MacAddressIc(macAddressIc).MacAddressIe(macAddressIe).MacAddressIew(macAddressIew).MacAddressIsw(macAddressIsw).MacAddressN(macAddressN).MacAddressNic(macAddressNic).MacAddressNie(macAddressNie).MacAddressNiew(macAddressNiew).MacAddressNisw(macAddressNisw).Memory(memory).MemoryEmpty(memoryEmpty).MemoryGt(memoryGt).MemoryGte(memoryGte).MemoryLt(memoryLt).MemoryLte(memoryLte).MemoryN(memoryN).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Platform(platform).PlatformN(platformN).PlatformId(platformId).PlatformIdN(platformIdN).PrimaryIp4Id(primaryIp4Id).PrimaryIp4IdN(primaryIp4IdN).PrimaryIp6Id(primaryIp6Id).PrimaryIp6IdN(primaryIp6IdN).Q(q).Region(region).RegionN(regionN).RegionId(regionId).RegionIdN(regionIdN).Role(role).RoleN(roleN).RoleId(roleId).RoleIdN(roleIdN).Serial(serial).SerialEmpty(serialEmpty).SerialIc(serialIc).SerialIe(serialIe).SerialIew(serialIew).SerialIsw(serialIsw).SerialN(serialN).SerialNic(serialNic).SerialNie(serialNie).SerialNiew(serialNiew).SerialNisw(serialNisw).Site(site).SiteN(siteN).SiteGroup(siteGroup).SiteGroupN(siteGroupN).SiteGroupId(siteGroupId).SiteGroupIdN(siteGroupIdN).SiteId(siteId).SiteIdN(siteIdN).Status(status).StatusEmpty(statusEmpty).StatusIc(statusIc).StatusIe(statusIe).StatusIew(statusIew).StatusIsw(statusIsw).StatusN(statusN).StatusNic(statusNic).StatusNie(statusNie).StatusNiew(statusNiew).StatusNisw(statusNisw).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).UpdatedByRequest(updatedByRequest).Vcpus(vcpus).VcpusEmpty(vcpusEmpty).VcpusGt(vcpusGt).VcpusGte(vcpusGte).VcpusLt(vcpusLt).VcpusLte(vcpusLte).VcpusN(vcpusN).VirtualDiskCount(virtualDiskCount).VirtualDiskCountEmpty(virtualDiskCountEmpty).VirtualDiskCountGt(virtualDiskCountGt).VirtualDiskCountGte(virtualDiskCountGte).VirtualDiskCountLt(virtualDiskCountLt).VirtualDiskCountLte(virtualDiskCountLte).VirtualDiskCountN(virtualDiskCountN).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) @@ -4410,8 +4446,8 @@ Name | Type | Description | Notes **configTemplateIdN** | **[]int32** | Config template (ID) | **contact** | **[]int32** | Contact | **contactN** | **[]int32** | Contact | - **contactGroup** | **[]int32** | Contact group | - **contactGroupN** | **[]int32** | Contact group | + **contactGroup** | **[]string** | | + **contactGroupN** | **[]string** | | **contactRole** | **[]int32** | Contact Role | **contactRoleN** | **[]int32** | Contact Role | **created** | [**[]time.Time**](time.Time.md) | | @@ -4508,32 +4544,52 @@ Name | Type | Description | Notes **primaryIp6Id** | **[]int32** | Primary IPv6 (ID) | **primaryIp6IdN** | **[]int32** | Primary IPv6 (ID) | **q** | **string** | Search | - **region** | **[]int32** | Region (slug) | - **regionN** | **[]int32** | Region (slug) | - **regionId** | **[]int32** | Region (ID) | - **regionIdN** | **[]int32** | Region (ID) | + **region** | **[]string** | | + **regionN** | **[]string** | | + **regionId** | **[]string** | | + **regionIdN** | **[]string** | | **role** | **[]string** | Role (slug) | **roleN** | **[]string** | Role (slug) | **roleId** | **[]int32** | Role (ID) | **roleIdN** | **[]int32** | Role (ID) | + **serial** | **[]string** | | + **serialEmpty** | **bool** | | + **serialIc** | **[]string** | | + **serialIe** | **[]string** | | + **serialIew** | **[]string** | | + **serialIsw** | **[]string** | | + **serialN** | **[]string** | | + **serialNic** | **[]string** | | + **serialNie** | **[]string** | | + **serialNiew** | **[]string** | | + **serialNisw** | **[]string** | | **site** | **[]string** | Site (slug) | **siteN** | **[]string** | Site (slug) | - **siteGroup** | **[]int32** | Site group (slug) | - **siteGroupN** | **[]int32** | Site group (slug) | - **siteGroupId** | **[]int32** | Site group (ID) | - **siteGroupIdN** | **[]int32** | Site group (ID) | + **siteGroup** | **[]string** | | + **siteGroupN** | **[]string** | | + **siteGroupId** | **[]string** | | + **siteGroupIdN** | **[]string** | | **siteId** | **[]int32** | Site (ID) | **siteIdN** | **[]int32** | Site (ID) | **status** | **[]string** | | - **statusN** | **[]string** | | + **statusEmpty** | **bool** | | + **statusIc** | [**[]DcimModulesListStatusIcParameterInner**](DcimModulesListStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning | + **statusIe** | [**[]DcimModulesListStatusIcParameterInner**](DcimModulesListStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning | + **statusIew** | [**[]DcimModulesListStatusIcParameterInner**](DcimModulesListStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning | + **statusIsw** | [**[]DcimModulesListStatusIcParameterInner**](DcimModulesListStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning | + **statusN** | [**[]DcimModulesListStatusIcParameterInner**](DcimModulesListStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning | + **statusNic** | [**[]DcimModulesListStatusIcParameterInner**](DcimModulesListStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning | + **statusNie** | [**[]DcimModulesListStatusIcParameterInner**](DcimModulesListStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning | + **statusNiew** | [**[]DcimModulesListStatusIcParameterInner**](DcimModulesListStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning | + **statusNisw** | [**[]DcimModulesListStatusIcParameterInner**](DcimModulesListStatusIcParameterInner.md) | * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning | **tag** | **[]string** | | **tagN** | **[]string** | | **tenant** | **[]string** | Tenant (slug) | **tenantN** | **[]string** | Tenant (slug) | - **tenantGroup** | **[]int32** | Tenant Group (slug) | - **tenantGroupN** | **[]int32** | Tenant Group (slug) | - **tenantGroupId** | **[]int32** | Tenant Group (ID) | - **tenantGroupIdN** | **[]int32** | Tenant Group (ID) | + **tenantGroup** | **[]string** | | + **tenantGroupN** | **[]string** | | + **tenantGroupId** | **[]string** | | + **tenantGroupIdN** | **[]string** | | **tenantId** | **[]int32** | Tenant (ID) | **tenantIdN** | **[]int32** | Tenant (ID) | **updatedByRequest** | **string** | | diff --git a/docs/VirtualizationClustersListStatusIcParameterInner.md b/docs/VirtualizationClustersListStatusIcParameterInner.md new file mode 100644 index 000000000..97f28ad23 --- /dev/null +++ b/docs/VirtualizationClustersListStatusIcParameterInner.md @@ -0,0 +1,19 @@ +# VirtualizationClustersListStatusIcParameterInner + +## Enum + + +* `ACTIVE` (value: `"active"`) + +* `DECOMMISSIONING` (value: `"decommissioning"`) + +* `OFFLINE` (value: `"offline"`) + +* `PLANNED` (value: `"planned"`) + +* `STAGING` (value: `"staging"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/VpnAPI.md b/docs/VpnAPI.md index 4a260a9e0..dc730b36f 100644 --- a/docs/VpnAPI.md +++ b/docs/VpnAPI.md @@ -118,7 +118,7 @@ import ( ) func main() { - iKEPolicyRequest := []openapiclient.IKEPolicyRequest{*openapiclient.NewIKEPolicyRequest("Name_example", openapiclient.IKEPolicy_version_value(1), openapiclient.IKEPolicy_mode_value("aggressive"))} // []IKEPolicyRequest | + iKEPolicyRequest := []openapiclient.IKEPolicyRequest{*openapiclient.NewIKEPolicyRequest("Name_example", openapiclient.IKEPolicy_version_value(1))} // []IKEPolicyRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -182,7 +182,7 @@ import ( ) func main() { - iKEPolicyRequest := []openapiclient.IKEPolicyRequest{*openapiclient.NewIKEPolicyRequest("Name_example", openapiclient.IKEPolicy_version_value(1), openapiclient.IKEPolicy_mode_value("aggressive"))} // []IKEPolicyRequest | + iKEPolicyRequest := []openapiclient.IKEPolicyRequest{*openapiclient.NewIKEPolicyRequest("Name_example", openapiclient.IKEPolicy_version_value(1))} // []IKEPolicyRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -248,7 +248,7 @@ import ( ) func main() { - iKEPolicyRequest := []openapiclient.IKEPolicyRequest{*openapiclient.NewIKEPolicyRequest("Name_example", openapiclient.IKEPolicy_version_value(1), openapiclient.IKEPolicy_mode_value("aggressive"))} // []IKEPolicyRequest | + iKEPolicyRequest := []openapiclient.IKEPolicyRequest{*openapiclient.NewIKEPolicyRequest("Name_example", openapiclient.IKEPolicy_version_value(1))} // []IKEPolicyRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -429,7 +429,7 @@ Name | Type | Description | Notes ## VpnIkePoliciesList -> PaginatedIKEPolicyList VpnIkePoliciesList(ctx).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).IkeProposal(ikeProposal).IkeProposalN(ikeProposalN).IkeProposalId(ikeProposalId).IkeProposalIdN(ikeProposalIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Mode(mode).ModeN(modeN).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).PresharedKey(presharedKey).PresharedKeyIc(presharedKeyIc).PresharedKeyIe(presharedKeyIe).PresharedKeyIew(presharedKeyIew).PresharedKeyIsw(presharedKeyIsw).PresharedKeyN(presharedKeyN).PresharedKeyNic(presharedKeyNic).PresharedKeyNie(presharedKeyNie).PresharedKeyNiew(presharedKeyNiew).PresharedKeyNisw(presharedKeyNisw).Proposal(proposal).ProposalN(proposalN).ProposalId(proposalId).ProposalIdN(proposalIdN).Q(q).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).Version(version).VersionN(versionN).Execute() +> PaginatedIKEPolicyList VpnIkePoliciesList(ctx).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).IkeProposal(ikeProposal).IkeProposalN(ikeProposalN).IkeProposalId(ikeProposalId).IkeProposalIdN(ikeProposalIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Mode(mode).ModeEmpty(modeEmpty).ModeIc(modeIc).ModeIe(modeIe).ModeIew(modeIew).ModeIsw(modeIsw).ModeN(modeN).ModeNic(modeNic).ModeNie(modeNie).ModeNiew(modeNiew).ModeNisw(modeNisw).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).PresharedKey(presharedKey).PresharedKeyIc(presharedKeyIc).PresharedKeyIe(presharedKeyIe).PresharedKeyIew(presharedKeyIew).PresharedKeyIsw(presharedKeyIsw).PresharedKeyN(presharedKeyN).PresharedKeyNic(presharedKeyNic).PresharedKeyNie(presharedKeyNie).PresharedKeyNiew(presharedKeyNiew).PresharedKeyNisw(presharedKeyNisw).Q(q).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).Version(version).VersionIc(versionIc).VersionIe(versionIe).VersionIew(versionIew).VersionIsw(versionIsw).VersionN(versionN).VersionNic(versionNic).VersionNie(versionNie).VersionNiew(versionNiew).VersionNisw(versionNisw).Execute() @@ -488,7 +488,16 @@ func main() { 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) - modeN := []string{"Inner_example"} // []string | (optional) + modeEmpty := true // bool | (optional) + modeIc := []openapiclient.VpnIkePoliciesListModeIcParameterInner{openapiclient.vpn_ike_policies_list_mode__ic_parameter_inner("")} // []VpnIkePoliciesListModeIcParameterInner | * `aggressive` - Aggressive * `main` - Main (optional) + modeIe := []openapiclient.VpnIkePoliciesListModeIcParameterInner{openapiclient.vpn_ike_policies_list_mode__ic_parameter_inner("")} // []VpnIkePoliciesListModeIcParameterInner | * `aggressive` - Aggressive * `main` - Main (optional) + modeIew := []openapiclient.VpnIkePoliciesListModeIcParameterInner{openapiclient.vpn_ike_policies_list_mode__ic_parameter_inner("")} // []VpnIkePoliciesListModeIcParameterInner | * `aggressive` - Aggressive * `main` - Main (optional) + modeIsw := []openapiclient.VpnIkePoliciesListModeIcParameterInner{openapiclient.vpn_ike_policies_list_mode__ic_parameter_inner("")} // []VpnIkePoliciesListModeIcParameterInner | * `aggressive` - Aggressive * `main` - Main (optional) + modeN := []openapiclient.VpnIkePoliciesListModeIcParameterInner{openapiclient.vpn_ike_policies_list_mode__ic_parameter_inner("")} // []VpnIkePoliciesListModeIcParameterInner | * `aggressive` - Aggressive * `main` - Main (optional) + modeNic := []openapiclient.VpnIkePoliciesListModeIcParameterInner{openapiclient.vpn_ike_policies_list_mode__ic_parameter_inner("")} // []VpnIkePoliciesListModeIcParameterInner | * `aggressive` - Aggressive * `main` - Main (optional) + modeNie := []openapiclient.VpnIkePoliciesListModeIcParameterInner{openapiclient.vpn_ike_policies_list_mode__ic_parameter_inner("")} // []VpnIkePoliciesListModeIcParameterInner | * `aggressive` - Aggressive * `main` - Main (optional) + modeNiew := []openapiclient.VpnIkePoliciesListModeIcParameterInner{openapiclient.vpn_ike_policies_list_mode__ic_parameter_inner("")} // []VpnIkePoliciesListModeIcParameterInner | * `aggressive` - Aggressive * `main` - Main (optional) + modeNisw := []openapiclient.VpnIkePoliciesListModeIcParameterInner{openapiclient.vpn_ike_policies_list_mode__ic_parameter_inner("")} // []VpnIkePoliciesListModeIcParameterInner | * `aggressive` - Aggressive * `main` - Main (optional) modifiedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) name := []string{"Inner_example"} // []string | (optional) nameEmpty := true // bool | (optional) @@ -513,20 +522,24 @@ func main() { presharedKeyNie := "presharedKeyNie_example" // string | (optional) presharedKeyNiew := "presharedKeyNiew_example" // string | (optional) presharedKeyNisw := "presharedKeyNisw_example" // string | (optional) - proposal := []string{"Inner_example"} // []string | (optional) - proposalN := []string{"Inner_example"} // []string | (optional) - proposalId := []int32{int32(123)} // []int32 | (optional) - proposalIdN := []int32{int32(123)} // []int32 | (optional) q := "q_example" // string | Search (optional) tag := []string{"Inner_example"} // []string | (optional) tagN := []string{"Inner_example"} // []string | (optional) updatedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) version := []int32{int32(123)} // []int32 | (optional) - versionN := []int32{int32(123)} // []int32 | (optional) + versionIc := []openapiclient.VpnIkePoliciesListVersionIcParameterInner{openapiclient.vpn_ike_policies_list_version__ic_parameter_inner(1)} // []VpnIkePoliciesListVersionIcParameterInner | * `1` - IKEv1 * `2` - IKEv2 (optional) + versionIe := []openapiclient.VpnIkePoliciesListVersionIcParameterInner{openapiclient.vpn_ike_policies_list_version__ic_parameter_inner(1)} // []VpnIkePoliciesListVersionIcParameterInner | * `1` - IKEv1 * `2` - IKEv2 (optional) + versionIew := []openapiclient.VpnIkePoliciesListVersionIcParameterInner{openapiclient.vpn_ike_policies_list_version__ic_parameter_inner(1)} // []VpnIkePoliciesListVersionIcParameterInner | * `1` - IKEv1 * `2` - IKEv2 (optional) + versionIsw := []openapiclient.VpnIkePoliciesListVersionIcParameterInner{openapiclient.vpn_ike_policies_list_version__ic_parameter_inner(1)} // []VpnIkePoliciesListVersionIcParameterInner | * `1` - IKEv1 * `2` - IKEv2 (optional) + versionN := []openapiclient.VpnIkePoliciesListVersionIcParameterInner{openapiclient.vpn_ike_policies_list_version__ic_parameter_inner(1)} // []VpnIkePoliciesListVersionIcParameterInner | * `1` - IKEv1 * `2` - IKEv2 (optional) + versionNic := []openapiclient.VpnIkePoliciesListVersionIcParameterInner{openapiclient.vpn_ike_policies_list_version__ic_parameter_inner(1)} // []VpnIkePoliciesListVersionIcParameterInner | * `1` - IKEv1 * `2` - IKEv2 (optional) + versionNie := []openapiclient.VpnIkePoliciesListVersionIcParameterInner{openapiclient.vpn_ike_policies_list_version__ic_parameter_inner(1)} // []VpnIkePoliciesListVersionIcParameterInner | * `1` - IKEv1 * `2` - IKEv2 (optional) + versionNiew := []openapiclient.VpnIkePoliciesListVersionIcParameterInner{openapiclient.vpn_ike_policies_list_version__ic_parameter_inner(1)} // []VpnIkePoliciesListVersionIcParameterInner | * `1` - IKEv1 * `2` - IKEv2 (optional) + versionNisw := []openapiclient.VpnIkePoliciesListVersionIcParameterInner{openapiclient.vpn_ike_policies_list_version__ic_parameter_inner(1)} // []VpnIkePoliciesListVersionIcParameterInner | * `1` - IKEv1 * `2` - IKEv2 (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.VpnAPI.VpnIkePoliciesList(context.Background()).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).IkeProposal(ikeProposal).IkeProposalN(ikeProposalN).IkeProposalId(ikeProposalId).IkeProposalIdN(ikeProposalIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Mode(mode).ModeN(modeN).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).PresharedKey(presharedKey).PresharedKeyIc(presharedKeyIc).PresharedKeyIe(presharedKeyIe).PresharedKeyIew(presharedKeyIew).PresharedKeyIsw(presharedKeyIsw).PresharedKeyN(presharedKeyN).PresharedKeyNic(presharedKeyNic).PresharedKeyNie(presharedKeyNie).PresharedKeyNiew(presharedKeyNiew).PresharedKeyNisw(presharedKeyNisw).Proposal(proposal).ProposalN(proposalN).ProposalId(proposalId).ProposalIdN(proposalIdN).Q(q).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).Version(version).VersionN(versionN).Execute() + resp, r, err := apiClient.VpnAPI.VpnIkePoliciesList(context.Background()).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).IkeProposal(ikeProposal).IkeProposalN(ikeProposalN).IkeProposalId(ikeProposalId).IkeProposalIdN(ikeProposalIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Mode(mode).ModeEmpty(modeEmpty).ModeIc(modeIc).ModeIe(modeIe).ModeIew(modeIew).ModeIsw(modeIsw).ModeN(modeN).ModeNic(modeNic).ModeNie(modeNie).ModeNiew(modeNiew).ModeNisw(modeNisw).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).PresharedKey(presharedKey).PresharedKeyIc(presharedKeyIc).PresharedKeyIe(presharedKeyIe).PresharedKeyIew(presharedKeyIew).PresharedKeyIsw(presharedKeyIsw).PresharedKeyN(presharedKeyN).PresharedKeyNic(presharedKeyNic).PresharedKeyNie(presharedKeyNie).PresharedKeyNiew(presharedKeyNiew).PresharedKeyNisw(presharedKeyNisw).Q(q).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).Version(version).VersionIc(versionIc).VersionIe(versionIe).VersionIew(versionIew).VersionIsw(versionIsw).VersionN(versionN).VersionNic(versionNic).VersionNie(versionNie).VersionNiew(versionNiew).VersionNisw(versionNisw).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `VpnAPI.VpnIkePoliciesList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -586,7 +599,16 @@ Name | Type | Description | Notes **lastUpdatedN** | [**[]time.Time**](time.Time.md) | | **limit** | **int32** | Number of results to return per page. | **mode** | **[]string** | | - **modeN** | **[]string** | | + **modeEmpty** | **bool** | | + **modeIc** | [**[]VpnIkePoliciesListModeIcParameterInner**](VpnIkePoliciesListModeIcParameterInner.md) | * `aggressive` - Aggressive * `main` - Main | + **modeIe** | [**[]VpnIkePoliciesListModeIcParameterInner**](VpnIkePoliciesListModeIcParameterInner.md) | * `aggressive` - Aggressive * `main` - Main | + **modeIew** | [**[]VpnIkePoliciesListModeIcParameterInner**](VpnIkePoliciesListModeIcParameterInner.md) | * `aggressive` - Aggressive * `main` - Main | + **modeIsw** | [**[]VpnIkePoliciesListModeIcParameterInner**](VpnIkePoliciesListModeIcParameterInner.md) | * `aggressive` - Aggressive * `main` - Main | + **modeN** | [**[]VpnIkePoliciesListModeIcParameterInner**](VpnIkePoliciesListModeIcParameterInner.md) | * `aggressive` - Aggressive * `main` - Main | + **modeNic** | [**[]VpnIkePoliciesListModeIcParameterInner**](VpnIkePoliciesListModeIcParameterInner.md) | * `aggressive` - Aggressive * `main` - Main | + **modeNie** | [**[]VpnIkePoliciesListModeIcParameterInner**](VpnIkePoliciesListModeIcParameterInner.md) | * `aggressive` - Aggressive * `main` - Main | + **modeNiew** | [**[]VpnIkePoliciesListModeIcParameterInner**](VpnIkePoliciesListModeIcParameterInner.md) | * `aggressive` - Aggressive * `main` - Main | + **modeNisw** | [**[]VpnIkePoliciesListModeIcParameterInner**](VpnIkePoliciesListModeIcParameterInner.md) | * `aggressive` - Aggressive * `main` - Main | **modifiedByRequest** | **string** | | **name** | **[]string** | | **nameEmpty** | **bool** | | @@ -611,16 +633,20 @@ Name | Type | Description | Notes **presharedKeyNie** | **string** | | **presharedKeyNiew** | **string** | | **presharedKeyNisw** | **string** | | - **proposal** | **[]string** | | - **proposalN** | **[]string** | | - **proposalId** | **[]int32** | | - **proposalIdN** | **[]int32** | | **q** | **string** | Search | **tag** | **[]string** | | **tagN** | **[]string** | | **updatedByRequest** | **string** | | **version** | **[]int32** | | - **versionN** | **[]int32** | | + **versionIc** | [**[]VpnIkePoliciesListVersionIcParameterInner**](VpnIkePoliciesListVersionIcParameterInner.md) | * `1` - IKEv1 * `2` - IKEv2 | + **versionIe** | [**[]VpnIkePoliciesListVersionIcParameterInner**](VpnIkePoliciesListVersionIcParameterInner.md) | * `1` - IKEv1 * `2` - IKEv2 | + **versionIew** | [**[]VpnIkePoliciesListVersionIcParameterInner**](VpnIkePoliciesListVersionIcParameterInner.md) | * `1` - IKEv1 * `2` - IKEv2 | + **versionIsw** | [**[]VpnIkePoliciesListVersionIcParameterInner**](VpnIkePoliciesListVersionIcParameterInner.md) | * `1` - IKEv1 * `2` - IKEv2 | + **versionN** | [**[]VpnIkePoliciesListVersionIcParameterInner**](VpnIkePoliciesListVersionIcParameterInner.md) | * `1` - IKEv1 * `2` - IKEv2 | + **versionNic** | [**[]VpnIkePoliciesListVersionIcParameterInner**](VpnIkePoliciesListVersionIcParameterInner.md) | * `1` - IKEv1 * `2` - IKEv2 | + **versionNie** | [**[]VpnIkePoliciesListVersionIcParameterInner**](VpnIkePoliciesListVersionIcParameterInner.md) | * `1` - IKEv1 * `2` - IKEv2 | + **versionNiew** | [**[]VpnIkePoliciesListVersionIcParameterInner**](VpnIkePoliciesListVersionIcParameterInner.md) | * `1` - IKEv1 * `2` - IKEv2 | + **versionNisw** | [**[]VpnIkePoliciesListVersionIcParameterInner**](VpnIkePoliciesListVersionIcParameterInner.md) | * `1` - IKEv1 * `2` - IKEv2 | ### Return type @@ -875,7 +901,7 @@ import ( ) func main() { - iKEProposalRequest := []openapiclient.IKEProposalRequest{*openapiclient.NewIKEProposalRequest("Name_example", openapiclient.IKEProposal_authentication_method_value("preshared-keys"), openapiclient.IKEProposal_encryption_algorithm_value("aes-128-cbc"), openapiclient.IKEProposal_authentication_algorithm_value("hmac-sha1"), openapiclient.IKEProposal_group_value(1))} // []IKEProposalRequest | + iKEProposalRequest := []openapiclient.IKEProposalRequest{*openapiclient.NewIKEProposalRequest("Name_example", openapiclient.IKEProposal_authentication_method_value("preshared-keys"), openapiclient.IKEProposal_encryption_algorithm_value("aes-128-cbc"), openapiclient.IKEProposal_group_value(1))} // []IKEProposalRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -939,7 +965,7 @@ import ( ) func main() { - iKEProposalRequest := []openapiclient.IKEProposalRequest{*openapiclient.NewIKEProposalRequest("Name_example", openapiclient.IKEProposal_authentication_method_value("preshared-keys"), openapiclient.IKEProposal_encryption_algorithm_value("aes-128-cbc"), openapiclient.IKEProposal_authentication_algorithm_value("hmac-sha1"), openapiclient.IKEProposal_group_value(1))} // []IKEProposalRequest | + iKEProposalRequest := []openapiclient.IKEProposalRequest{*openapiclient.NewIKEProposalRequest("Name_example", openapiclient.IKEProposal_authentication_method_value("preshared-keys"), openapiclient.IKEProposal_encryption_algorithm_value("aes-128-cbc"), openapiclient.IKEProposal_group_value(1))} // []IKEProposalRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -1005,7 +1031,7 @@ import ( ) func main() { - iKEProposalRequest := []openapiclient.IKEProposalRequest{*openapiclient.NewIKEProposalRequest("Name_example", openapiclient.IKEProposal_authentication_method_value("preshared-keys"), openapiclient.IKEProposal_encryption_algorithm_value("aes-128-cbc"), openapiclient.IKEProposal_authentication_algorithm_value("hmac-sha1"), openapiclient.IKEProposal_group_value(1))} // []IKEProposalRequest | + iKEProposalRequest := []openapiclient.IKEProposalRequest{*openapiclient.NewIKEProposalRequest("Name_example", openapiclient.IKEProposal_authentication_method_value("preshared-keys"), openapiclient.IKEProposal_encryption_algorithm_value("aes-128-cbc"), openapiclient.IKEProposal_group_value(1))} // []IKEProposalRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -1186,7 +1212,7 @@ Name | Type | Description | Notes ## VpnIkeProposalsList -> PaginatedIKEProposalList VpnIkeProposalsList(ctx).AuthenticationAlgorithm(authenticationAlgorithm).AuthenticationAlgorithmN(authenticationAlgorithmN).AuthenticationMethod(authenticationMethod).AuthenticationMethodN(authenticationMethodN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).EncryptionAlgorithm(encryptionAlgorithm).EncryptionAlgorithmN(encryptionAlgorithmN).Group(group).GroupN(groupN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).IkePolicy(ikePolicy).IkePolicyN(ikePolicyN).IkePolicyId(ikePolicyId).IkePolicyIdN(ikePolicyIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).SaLifetime(saLifetime).SaLifetimeEmpty(saLifetimeEmpty).SaLifetimeGt(saLifetimeGt).SaLifetimeGte(saLifetimeGte).SaLifetimeLt(saLifetimeLt).SaLifetimeLte(saLifetimeLte).SaLifetimeN(saLifetimeN).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).Execute() +> PaginatedIKEProposalList VpnIkeProposalsList(ctx).AuthenticationAlgorithm(authenticationAlgorithm).AuthenticationAlgorithmEmpty(authenticationAlgorithmEmpty).AuthenticationAlgorithmIc(authenticationAlgorithmIc).AuthenticationAlgorithmIe(authenticationAlgorithmIe).AuthenticationAlgorithmIew(authenticationAlgorithmIew).AuthenticationAlgorithmIsw(authenticationAlgorithmIsw).AuthenticationAlgorithmN(authenticationAlgorithmN).AuthenticationAlgorithmNic(authenticationAlgorithmNic).AuthenticationAlgorithmNie(authenticationAlgorithmNie).AuthenticationAlgorithmNiew(authenticationAlgorithmNiew).AuthenticationAlgorithmNisw(authenticationAlgorithmNisw).AuthenticationMethod(authenticationMethod).AuthenticationMethodEmpty(authenticationMethodEmpty).AuthenticationMethodIc(authenticationMethodIc).AuthenticationMethodIe(authenticationMethodIe).AuthenticationMethodIew(authenticationMethodIew).AuthenticationMethodIsw(authenticationMethodIsw).AuthenticationMethodN(authenticationMethodN).AuthenticationMethodNic(authenticationMethodNic).AuthenticationMethodNie(authenticationMethodNie).AuthenticationMethodNiew(authenticationMethodNiew).AuthenticationMethodNisw(authenticationMethodNisw).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).EncryptionAlgorithm(encryptionAlgorithm).EncryptionAlgorithmEmpty(encryptionAlgorithmEmpty).EncryptionAlgorithmIc(encryptionAlgorithmIc).EncryptionAlgorithmIe(encryptionAlgorithmIe).EncryptionAlgorithmIew(encryptionAlgorithmIew).EncryptionAlgorithmIsw(encryptionAlgorithmIsw).EncryptionAlgorithmN(encryptionAlgorithmN).EncryptionAlgorithmNic(encryptionAlgorithmNic).EncryptionAlgorithmNie(encryptionAlgorithmNie).EncryptionAlgorithmNiew(encryptionAlgorithmNiew).EncryptionAlgorithmNisw(encryptionAlgorithmNisw).Group(group).GroupIc(groupIc).GroupIe(groupIe).GroupIew(groupIew).GroupIsw(groupIsw).GroupN(groupN).GroupNic(groupNic).GroupNie(groupNie).GroupNiew(groupNiew).GroupNisw(groupNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).IkePolicy(ikePolicy).IkePolicyN(ikePolicyN).IkePolicyId(ikePolicyId).IkePolicyIdN(ikePolicyIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).SaLifetime(saLifetime).SaLifetimeEmpty(saLifetimeEmpty).SaLifetimeGt(saLifetimeGt).SaLifetimeGte(saLifetimeGte).SaLifetimeLt(saLifetimeLt).SaLifetimeLte(saLifetimeLte).SaLifetimeN(saLifetimeN).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).Execute() @@ -1207,9 +1233,27 @@ import ( func main() { authenticationAlgorithm := []string{"Inner_example"} // []string | (optional) - authenticationAlgorithmN := []string{"Inner_example"} // []string | (optional) + authenticationAlgorithmEmpty := true // bool | (optional) + authenticationAlgorithmIc := []openapiclient.VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner{openapiclient.vpn_ike_proposals_list_authentication_algorithm__ic_parameter_inner("")} // []VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner | * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC (optional) + authenticationAlgorithmIe := []openapiclient.VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner{openapiclient.vpn_ike_proposals_list_authentication_algorithm__ic_parameter_inner("")} // []VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner | * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC (optional) + authenticationAlgorithmIew := []openapiclient.VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner{openapiclient.vpn_ike_proposals_list_authentication_algorithm__ic_parameter_inner("")} // []VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner | * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC (optional) + authenticationAlgorithmIsw := []openapiclient.VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner{openapiclient.vpn_ike_proposals_list_authentication_algorithm__ic_parameter_inner("")} // []VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner | * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC (optional) + authenticationAlgorithmN := []openapiclient.VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner{openapiclient.vpn_ike_proposals_list_authentication_algorithm__ic_parameter_inner("")} // []VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner | * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC (optional) + authenticationAlgorithmNic := []openapiclient.VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner{openapiclient.vpn_ike_proposals_list_authentication_algorithm__ic_parameter_inner("")} // []VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner | * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC (optional) + authenticationAlgorithmNie := []openapiclient.VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner{openapiclient.vpn_ike_proposals_list_authentication_algorithm__ic_parameter_inner("")} // []VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner | * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC (optional) + authenticationAlgorithmNiew := []openapiclient.VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner{openapiclient.vpn_ike_proposals_list_authentication_algorithm__ic_parameter_inner("")} // []VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner | * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC (optional) + authenticationAlgorithmNisw := []openapiclient.VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner{openapiclient.vpn_ike_proposals_list_authentication_algorithm__ic_parameter_inner("")} // []VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner | * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC (optional) authenticationMethod := []string{"Inner_example"} // []string | (optional) - authenticationMethodN := []string{"Inner_example"} // []string | (optional) + authenticationMethodEmpty := true // bool | (optional) + authenticationMethodIc := []openapiclient.VpnIkeProposalsListAuthenticationMethodIcParameterInner{openapiclient.vpn_ike_proposals_list_authentication_method__ic_parameter_inner("certificates")} // []VpnIkeProposalsListAuthenticationMethodIcParameterInner | * `preshared-keys` - Pre-shared keys * `certificates` - Certificates * `rsa-signatures` - RSA signatures * `dsa-signatures` - DSA signatures (optional) + authenticationMethodIe := []openapiclient.VpnIkeProposalsListAuthenticationMethodIcParameterInner{openapiclient.vpn_ike_proposals_list_authentication_method__ic_parameter_inner("certificates")} // []VpnIkeProposalsListAuthenticationMethodIcParameterInner | * `preshared-keys` - Pre-shared keys * `certificates` - Certificates * `rsa-signatures` - RSA signatures * `dsa-signatures` - DSA signatures (optional) + authenticationMethodIew := []openapiclient.VpnIkeProposalsListAuthenticationMethodIcParameterInner{openapiclient.vpn_ike_proposals_list_authentication_method__ic_parameter_inner("certificates")} // []VpnIkeProposalsListAuthenticationMethodIcParameterInner | * `preshared-keys` - Pre-shared keys * `certificates` - Certificates * `rsa-signatures` - RSA signatures * `dsa-signatures` - DSA signatures (optional) + authenticationMethodIsw := []openapiclient.VpnIkeProposalsListAuthenticationMethodIcParameterInner{openapiclient.vpn_ike_proposals_list_authentication_method__ic_parameter_inner("certificates")} // []VpnIkeProposalsListAuthenticationMethodIcParameterInner | * `preshared-keys` - Pre-shared keys * `certificates` - Certificates * `rsa-signatures` - RSA signatures * `dsa-signatures` - DSA signatures (optional) + authenticationMethodN := []openapiclient.VpnIkeProposalsListAuthenticationMethodIcParameterInner{openapiclient.vpn_ike_proposals_list_authentication_method__ic_parameter_inner("certificates")} // []VpnIkeProposalsListAuthenticationMethodIcParameterInner | * `preshared-keys` - Pre-shared keys * `certificates` - Certificates * `rsa-signatures` - RSA signatures * `dsa-signatures` - DSA signatures (optional) + authenticationMethodNic := []openapiclient.VpnIkeProposalsListAuthenticationMethodIcParameterInner{openapiclient.vpn_ike_proposals_list_authentication_method__ic_parameter_inner("certificates")} // []VpnIkeProposalsListAuthenticationMethodIcParameterInner | * `preshared-keys` - Pre-shared keys * `certificates` - Certificates * `rsa-signatures` - RSA signatures * `dsa-signatures` - DSA signatures (optional) + authenticationMethodNie := []openapiclient.VpnIkeProposalsListAuthenticationMethodIcParameterInner{openapiclient.vpn_ike_proposals_list_authentication_method__ic_parameter_inner("certificates")} // []VpnIkeProposalsListAuthenticationMethodIcParameterInner | * `preshared-keys` - Pre-shared keys * `certificates` - Certificates * `rsa-signatures` - RSA signatures * `dsa-signatures` - DSA signatures (optional) + authenticationMethodNiew := []openapiclient.VpnIkeProposalsListAuthenticationMethodIcParameterInner{openapiclient.vpn_ike_proposals_list_authentication_method__ic_parameter_inner("certificates")} // []VpnIkeProposalsListAuthenticationMethodIcParameterInner | * `preshared-keys` - Pre-shared keys * `certificates` - Certificates * `rsa-signatures` - RSA signatures * `dsa-signatures` - DSA signatures (optional) + authenticationMethodNisw := []openapiclient.VpnIkeProposalsListAuthenticationMethodIcParameterInner{openapiclient.vpn_ike_proposals_list_authentication_method__ic_parameter_inner("certificates")} // []VpnIkeProposalsListAuthenticationMethodIcParameterInner | * `preshared-keys` - Pre-shared keys * `certificates` - Certificates * `rsa-signatures` - RSA signatures * `dsa-signatures` - DSA signatures (optional) created := []time.Time{time.Now()} // []time.Time | (optional) createdEmpty := []time.Time{time.Now()} // []time.Time | (optional) createdGt := []time.Time{time.Now()} // []time.Time | (optional) @@ -1230,9 +1274,26 @@ func main() { descriptionNiew := []string{"Inner_example"} // []string | (optional) descriptionNisw := []string{"Inner_example"} // []string | (optional) encryptionAlgorithm := []string{"Inner_example"} // []string | (optional) - encryptionAlgorithmN := []string{"Inner_example"} // []string | (optional) + encryptionAlgorithmEmpty := true // bool | (optional) + encryptionAlgorithmIc := []openapiclient.VpnIkeProposalsListEncryptionAlgorithmIcParameterInner{openapiclient.vpn_ike_proposals_list_encryption_algorithm__ic_parameter_inner("3des-cbc")} // []VpnIkeProposalsListEncryptionAlgorithmIcParameterInner | * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES (optional) + encryptionAlgorithmIe := []openapiclient.VpnIkeProposalsListEncryptionAlgorithmIcParameterInner{openapiclient.vpn_ike_proposals_list_encryption_algorithm__ic_parameter_inner("3des-cbc")} // []VpnIkeProposalsListEncryptionAlgorithmIcParameterInner | * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES (optional) + encryptionAlgorithmIew := []openapiclient.VpnIkeProposalsListEncryptionAlgorithmIcParameterInner{openapiclient.vpn_ike_proposals_list_encryption_algorithm__ic_parameter_inner("3des-cbc")} // []VpnIkeProposalsListEncryptionAlgorithmIcParameterInner | * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES (optional) + encryptionAlgorithmIsw := []openapiclient.VpnIkeProposalsListEncryptionAlgorithmIcParameterInner{openapiclient.vpn_ike_proposals_list_encryption_algorithm__ic_parameter_inner("3des-cbc")} // []VpnIkeProposalsListEncryptionAlgorithmIcParameterInner | * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES (optional) + encryptionAlgorithmN := []openapiclient.VpnIkeProposalsListEncryptionAlgorithmIcParameterInner{openapiclient.vpn_ike_proposals_list_encryption_algorithm__ic_parameter_inner("3des-cbc")} // []VpnIkeProposalsListEncryptionAlgorithmIcParameterInner | * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES (optional) + encryptionAlgorithmNic := []openapiclient.VpnIkeProposalsListEncryptionAlgorithmIcParameterInner{openapiclient.vpn_ike_proposals_list_encryption_algorithm__ic_parameter_inner("3des-cbc")} // []VpnIkeProposalsListEncryptionAlgorithmIcParameterInner | * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES (optional) + encryptionAlgorithmNie := []openapiclient.VpnIkeProposalsListEncryptionAlgorithmIcParameterInner{openapiclient.vpn_ike_proposals_list_encryption_algorithm__ic_parameter_inner("3des-cbc")} // []VpnIkeProposalsListEncryptionAlgorithmIcParameterInner | * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES (optional) + encryptionAlgorithmNiew := []openapiclient.VpnIkeProposalsListEncryptionAlgorithmIcParameterInner{openapiclient.vpn_ike_proposals_list_encryption_algorithm__ic_parameter_inner("3des-cbc")} // []VpnIkeProposalsListEncryptionAlgorithmIcParameterInner | * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES (optional) + encryptionAlgorithmNisw := []openapiclient.VpnIkeProposalsListEncryptionAlgorithmIcParameterInner{openapiclient.vpn_ike_proposals_list_encryption_algorithm__ic_parameter_inner("3des-cbc")} // []VpnIkeProposalsListEncryptionAlgorithmIcParameterInner | * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES (optional) group := []int32{int32(123)} // []int32 | Diffie-Hellman group ID (optional) - groupN := []int32{int32(123)} // []int32 | Diffie-Hellman group ID (optional) + groupIc := []openapiclient.VpnIkeProposalsListGroupIcParameterInner{openapiclient.vpn_ike_proposals_list_group__ic_parameter_inner(1)} // []VpnIkeProposalsListGroupIcParameterInner | Diffie-Hellman group ID * `1` - Group 1 * `2` - Group 2 * `5` - Group 5 * `14` - Group 14 * `15` - Group 15 * `16` - Group 16 * `17` - Group 17 * `18` - Group 18 * `19` - Group 19 * `20` - Group 20 * `21` - Group 21 * `22` - Group 22 * `23` - Group 23 * `24` - Group 24 * `25` - Group 25 * `26` - Group 26 * `27` - Group 27 * `28` - Group 28 * `29` - Group 29 * `30` - Group 30 * `31` - Group 31 * `32` - Group 32 * `33` - Group 33 * `34` - Group 34 (optional) + groupIe := []openapiclient.VpnIkeProposalsListGroupIcParameterInner{openapiclient.vpn_ike_proposals_list_group__ic_parameter_inner(1)} // []VpnIkeProposalsListGroupIcParameterInner | Diffie-Hellman group ID * `1` - Group 1 * `2` - Group 2 * `5` - Group 5 * `14` - Group 14 * `15` - Group 15 * `16` - Group 16 * `17` - Group 17 * `18` - Group 18 * `19` - Group 19 * `20` - Group 20 * `21` - Group 21 * `22` - Group 22 * `23` - Group 23 * `24` - Group 24 * `25` - Group 25 * `26` - Group 26 * `27` - Group 27 * `28` - Group 28 * `29` - Group 29 * `30` - Group 30 * `31` - Group 31 * `32` - Group 32 * `33` - Group 33 * `34` - Group 34 (optional) + groupIew := []openapiclient.VpnIkeProposalsListGroupIcParameterInner{openapiclient.vpn_ike_proposals_list_group__ic_parameter_inner(1)} // []VpnIkeProposalsListGroupIcParameterInner | Diffie-Hellman group ID * `1` - Group 1 * `2` - Group 2 * `5` - Group 5 * `14` - Group 14 * `15` - Group 15 * `16` - Group 16 * `17` - Group 17 * `18` - Group 18 * `19` - Group 19 * `20` - Group 20 * `21` - Group 21 * `22` - Group 22 * `23` - Group 23 * `24` - Group 24 * `25` - Group 25 * `26` - Group 26 * `27` - Group 27 * `28` - Group 28 * `29` - Group 29 * `30` - Group 30 * `31` - Group 31 * `32` - Group 32 * `33` - Group 33 * `34` - Group 34 (optional) + groupIsw := []openapiclient.VpnIkeProposalsListGroupIcParameterInner{openapiclient.vpn_ike_proposals_list_group__ic_parameter_inner(1)} // []VpnIkeProposalsListGroupIcParameterInner | Diffie-Hellman group ID * `1` - Group 1 * `2` - Group 2 * `5` - Group 5 * `14` - Group 14 * `15` - Group 15 * `16` - Group 16 * `17` - Group 17 * `18` - Group 18 * `19` - Group 19 * `20` - Group 20 * `21` - Group 21 * `22` - Group 22 * `23` - Group 23 * `24` - Group 24 * `25` - Group 25 * `26` - Group 26 * `27` - Group 27 * `28` - Group 28 * `29` - Group 29 * `30` - Group 30 * `31` - Group 31 * `32` - Group 32 * `33` - Group 33 * `34` - Group 34 (optional) + groupN := []openapiclient.VpnIkeProposalsListGroupIcParameterInner{openapiclient.vpn_ike_proposals_list_group__ic_parameter_inner(1)} // []VpnIkeProposalsListGroupIcParameterInner | Diffie-Hellman group ID * `1` - Group 1 * `2` - Group 2 * `5` - Group 5 * `14` - Group 14 * `15` - Group 15 * `16` - Group 16 * `17` - Group 17 * `18` - Group 18 * `19` - Group 19 * `20` - Group 20 * `21` - Group 21 * `22` - Group 22 * `23` - Group 23 * `24` - Group 24 * `25` - Group 25 * `26` - Group 26 * `27` - Group 27 * `28` - Group 28 * `29` - Group 29 * `30` - Group 30 * `31` - Group 31 * `32` - Group 32 * `33` - Group 33 * `34` - Group 34 (optional) + groupNic := []openapiclient.VpnIkeProposalsListGroupIcParameterInner{openapiclient.vpn_ike_proposals_list_group__ic_parameter_inner(1)} // []VpnIkeProposalsListGroupIcParameterInner | Diffie-Hellman group ID * `1` - Group 1 * `2` - Group 2 * `5` - Group 5 * `14` - Group 14 * `15` - Group 15 * `16` - Group 16 * `17` - Group 17 * `18` - Group 18 * `19` - Group 19 * `20` - Group 20 * `21` - Group 21 * `22` - Group 22 * `23` - Group 23 * `24` - Group 24 * `25` - Group 25 * `26` - Group 26 * `27` - Group 27 * `28` - Group 28 * `29` - Group 29 * `30` - Group 30 * `31` - Group 31 * `32` - Group 32 * `33` - Group 33 * `34` - Group 34 (optional) + groupNie := []openapiclient.VpnIkeProposalsListGroupIcParameterInner{openapiclient.vpn_ike_proposals_list_group__ic_parameter_inner(1)} // []VpnIkeProposalsListGroupIcParameterInner | Diffie-Hellman group ID * `1` - Group 1 * `2` - Group 2 * `5` - Group 5 * `14` - Group 14 * `15` - Group 15 * `16` - Group 16 * `17` - Group 17 * `18` - Group 18 * `19` - Group 19 * `20` - Group 20 * `21` - Group 21 * `22` - Group 22 * `23` - Group 23 * `24` - Group 24 * `25` - Group 25 * `26` - Group 26 * `27` - Group 27 * `28` - Group 28 * `29` - Group 29 * `30` - Group 30 * `31` - Group 31 * `32` - Group 32 * `33` - Group 33 * `34` - Group 34 (optional) + groupNiew := []openapiclient.VpnIkeProposalsListGroupIcParameterInner{openapiclient.vpn_ike_proposals_list_group__ic_parameter_inner(1)} // []VpnIkeProposalsListGroupIcParameterInner | Diffie-Hellman group ID * `1` - Group 1 * `2` - Group 2 * `5` - Group 5 * `14` - Group 14 * `15` - Group 15 * `16` - Group 16 * `17` - Group 17 * `18` - Group 18 * `19` - Group 19 * `20` - Group 20 * `21` - Group 21 * `22` - Group 22 * `23` - Group 23 * `24` - Group 24 * `25` - Group 25 * `26` - Group 26 * `27` - Group 27 * `28` - Group 28 * `29` - Group 29 * `30` - Group 30 * `31` - Group 31 * `32` - Group 32 * `33` - Group 33 * `34` - Group 34 (optional) + groupNisw := []openapiclient.VpnIkeProposalsListGroupIcParameterInner{openapiclient.vpn_ike_proposals_list_group__ic_parameter_inner(1)} // []VpnIkeProposalsListGroupIcParameterInner | Diffie-Hellman group ID * `1` - Group 1 * `2` - Group 2 * `5` - Group 5 * `14` - Group 14 * `15` - Group 15 * `16` - Group 16 * `17` - Group 17 * `18` - Group 18 * `19` - Group 19 * `20` - Group 20 * `21` - Group 21 * `22` - Group 22 * `23` - Group 23 * `24` - Group 24 * `25` - Group 25 * `26` - Group 26 * `27` - Group 27 * `28` - Group 28 * `29` - Group 29 * `30` - Group 30 * `31` - Group 31 * `32` - Group 32 * `33` - Group 33 * `34` - Group 34 (optional) id := []int32{int32(123)} // []int32 | (optional) idEmpty := true // bool | (optional) idGt := []int32{int32(123)} // []int32 | (optional) @@ -1280,7 +1341,7 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.VpnAPI.VpnIkeProposalsList(context.Background()).AuthenticationAlgorithm(authenticationAlgorithm).AuthenticationAlgorithmN(authenticationAlgorithmN).AuthenticationMethod(authenticationMethod).AuthenticationMethodN(authenticationMethodN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).EncryptionAlgorithm(encryptionAlgorithm).EncryptionAlgorithmN(encryptionAlgorithmN).Group(group).GroupN(groupN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).IkePolicy(ikePolicy).IkePolicyN(ikePolicyN).IkePolicyId(ikePolicyId).IkePolicyIdN(ikePolicyIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).SaLifetime(saLifetime).SaLifetimeEmpty(saLifetimeEmpty).SaLifetimeGt(saLifetimeGt).SaLifetimeGte(saLifetimeGte).SaLifetimeLt(saLifetimeLt).SaLifetimeLte(saLifetimeLte).SaLifetimeN(saLifetimeN).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).Execute() + resp, r, err := apiClient.VpnAPI.VpnIkeProposalsList(context.Background()).AuthenticationAlgorithm(authenticationAlgorithm).AuthenticationAlgorithmEmpty(authenticationAlgorithmEmpty).AuthenticationAlgorithmIc(authenticationAlgorithmIc).AuthenticationAlgorithmIe(authenticationAlgorithmIe).AuthenticationAlgorithmIew(authenticationAlgorithmIew).AuthenticationAlgorithmIsw(authenticationAlgorithmIsw).AuthenticationAlgorithmN(authenticationAlgorithmN).AuthenticationAlgorithmNic(authenticationAlgorithmNic).AuthenticationAlgorithmNie(authenticationAlgorithmNie).AuthenticationAlgorithmNiew(authenticationAlgorithmNiew).AuthenticationAlgorithmNisw(authenticationAlgorithmNisw).AuthenticationMethod(authenticationMethod).AuthenticationMethodEmpty(authenticationMethodEmpty).AuthenticationMethodIc(authenticationMethodIc).AuthenticationMethodIe(authenticationMethodIe).AuthenticationMethodIew(authenticationMethodIew).AuthenticationMethodIsw(authenticationMethodIsw).AuthenticationMethodN(authenticationMethodN).AuthenticationMethodNic(authenticationMethodNic).AuthenticationMethodNie(authenticationMethodNie).AuthenticationMethodNiew(authenticationMethodNiew).AuthenticationMethodNisw(authenticationMethodNisw).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).EncryptionAlgorithm(encryptionAlgorithm).EncryptionAlgorithmEmpty(encryptionAlgorithmEmpty).EncryptionAlgorithmIc(encryptionAlgorithmIc).EncryptionAlgorithmIe(encryptionAlgorithmIe).EncryptionAlgorithmIew(encryptionAlgorithmIew).EncryptionAlgorithmIsw(encryptionAlgorithmIsw).EncryptionAlgorithmN(encryptionAlgorithmN).EncryptionAlgorithmNic(encryptionAlgorithmNic).EncryptionAlgorithmNie(encryptionAlgorithmNie).EncryptionAlgorithmNiew(encryptionAlgorithmNiew).EncryptionAlgorithmNisw(encryptionAlgorithmNisw).Group(group).GroupIc(groupIc).GroupIe(groupIe).GroupIew(groupIew).GroupIsw(groupIsw).GroupN(groupN).GroupNic(groupNic).GroupNie(groupNie).GroupNiew(groupNiew).GroupNisw(groupNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).IkePolicy(ikePolicy).IkePolicyN(ikePolicyN).IkePolicyId(ikePolicyId).IkePolicyIdN(ikePolicyIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).SaLifetime(saLifetime).SaLifetimeEmpty(saLifetimeEmpty).SaLifetimeGt(saLifetimeGt).SaLifetimeGte(saLifetimeGte).SaLifetimeLt(saLifetimeLt).SaLifetimeLte(saLifetimeLte).SaLifetimeN(saLifetimeN).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `VpnAPI.VpnIkeProposalsList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -1302,9 +1363,27 @@ Other parameters are passed through a pointer to a apiVpnIkeProposalsListRequest Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authenticationAlgorithm** | **[]string** | | - **authenticationAlgorithmN** | **[]string** | | + **authenticationAlgorithmEmpty** | **bool** | | + **authenticationAlgorithmIc** | [**[]VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner**](VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner.md) | * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC | + **authenticationAlgorithmIe** | [**[]VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner**](VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner.md) | * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC | + **authenticationAlgorithmIew** | [**[]VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner**](VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner.md) | * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC | + **authenticationAlgorithmIsw** | [**[]VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner**](VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner.md) | * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC | + **authenticationAlgorithmN** | [**[]VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner**](VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner.md) | * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC | + **authenticationAlgorithmNic** | [**[]VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner**](VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner.md) | * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC | + **authenticationAlgorithmNie** | [**[]VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner**](VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner.md) | * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC | + **authenticationAlgorithmNiew** | [**[]VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner**](VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner.md) | * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC | + **authenticationAlgorithmNisw** | [**[]VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner**](VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner.md) | * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC | **authenticationMethod** | **[]string** | | - **authenticationMethodN** | **[]string** | | + **authenticationMethodEmpty** | **bool** | | + **authenticationMethodIc** | [**[]VpnIkeProposalsListAuthenticationMethodIcParameterInner**](VpnIkeProposalsListAuthenticationMethodIcParameterInner.md) | * `preshared-keys` - Pre-shared keys * `certificates` - Certificates * `rsa-signatures` - RSA signatures * `dsa-signatures` - DSA signatures | + **authenticationMethodIe** | [**[]VpnIkeProposalsListAuthenticationMethodIcParameterInner**](VpnIkeProposalsListAuthenticationMethodIcParameterInner.md) | * `preshared-keys` - Pre-shared keys * `certificates` - Certificates * `rsa-signatures` - RSA signatures * `dsa-signatures` - DSA signatures | + **authenticationMethodIew** | [**[]VpnIkeProposalsListAuthenticationMethodIcParameterInner**](VpnIkeProposalsListAuthenticationMethodIcParameterInner.md) | * `preshared-keys` - Pre-shared keys * `certificates` - Certificates * `rsa-signatures` - RSA signatures * `dsa-signatures` - DSA signatures | + **authenticationMethodIsw** | [**[]VpnIkeProposalsListAuthenticationMethodIcParameterInner**](VpnIkeProposalsListAuthenticationMethodIcParameterInner.md) | * `preshared-keys` - Pre-shared keys * `certificates` - Certificates * `rsa-signatures` - RSA signatures * `dsa-signatures` - DSA signatures | + **authenticationMethodN** | [**[]VpnIkeProposalsListAuthenticationMethodIcParameterInner**](VpnIkeProposalsListAuthenticationMethodIcParameterInner.md) | * `preshared-keys` - Pre-shared keys * `certificates` - Certificates * `rsa-signatures` - RSA signatures * `dsa-signatures` - DSA signatures | + **authenticationMethodNic** | [**[]VpnIkeProposalsListAuthenticationMethodIcParameterInner**](VpnIkeProposalsListAuthenticationMethodIcParameterInner.md) | * `preshared-keys` - Pre-shared keys * `certificates` - Certificates * `rsa-signatures` - RSA signatures * `dsa-signatures` - DSA signatures | + **authenticationMethodNie** | [**[]VpnIkeProposalsListAuthenticationMethodIcParameterInner**](VpnIkeProposalsListAuthenticationMethodIcParameterInner.md) | * `preshared-keys` - Pre-shared keys * `certificates` - Certificates * `rsa-signatures` - RSA signatures * `dsa-signatures` - DSA signatures | + **authenticationMethodNiew** | [**[]VpnIkeProposalsListAuthenticationMethodIcParameterInner**](VpnIkeProposalsListAuthenticationMethodIcParameterInner.md) | * `preshared-keys` - Pre-shared keys * `certificates` - Certificates * `rsa-signatures` - RSA signatures * `dsa-signatures` - DSA signatures | + **authenticationMethodNisw** | [**[]VpnIkeProposalsListAuthenticationMethodIcParameterInner**](VpnIkeProposalsListAuthenticationMethodIcParameterInner.md) | * `preshared-keys` - Pre-shared keys * `certificates` - Certificates * `rsa-signatures` - RSA signatures * `dsa-signatures` - DSA signatures | **created** | [**[]time.Time**](time.Time.md) | | **createdEmpty** | [**[]time.Time**](time.Time.md) | | **createdGt** | [**[]time.Time**](time.Time.md) | | @@ -1325,9 +1404,26 @@ Name | Type | Description | Notes **descriptionNiew** | **[]string** | | **descriptionNisw** | **[]string** | | **encryptionAlgorithm** | **[]string** | | - **encryptionAlgorithmN** | **[]string** | | + **encryptionAlgorithmEmpty** | **bool** | | + **encryptionAlgorithmIc** | [**[]VpnIkeProposalsListEncryptionAlgorithmIcParameterInner**](VpnIkeProposalsListEncryptionAlgorithmIcParameterInner.md) | * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES | + **encryptionAlgorithmIe** | [**[]VpnIkeProposalsListEncryptionAlgorithmIcParameterInner**](VpnIkeProposalsListEncryptionAlgorithmIcParameterInner.md) | * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES | + **encryptionAlgorithmIew** | [**[]VpnIkeProposalsListEncryptionAlgorithmIcParameterInner**](VpnIkeProposalsListEncryptionAlgorithmIcParameterInner.md) | * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES | + **encryptionAlgorithmIsw** | [**[]VpnIkeProposalsListEncryptionAlgorithmIcParameterInner**](VpnIkeProposalsListEncryptionAlgorithmIcParameterInner.md) | * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES | + **encryptionAlgorithmN** | [**[]VpnIkeProposalsListEncryptionAlgorithmIcParameterInner**](VpnIkeProposalsListEncryptionAlgorithmIcParameterInner.md) | * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES | + **encryptionAlgorithmNic** | [**[]VpnIkeProposalsListEncryptionAlgorithmIcParameterInner**](VpnIkeProposalsListEncryptionAlgorithmIcParameterInner.md) | * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES | + **encryptionAlgorithmNie** | [**[]VpnIkeProposalsListEncryptionAlgorithmIcParameterInner**](VpnIkeProposalsListEncryptionAlgorithmIcParameterInner.md) | * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES | + **encryptionAlgorithmNiew** | [**[]VpnIkeProposalsListEncryptionAlgorithmIcParameterInner**](VpnIkeProposalsListEncryptionAlgorithmIcParameterInner.md) | * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES | + **encryptionAlgorithmNisw** | [**[]VpnIkeProposalsListEncryptionAlgorithmIcParameterInner**](VpnIkeProposalsListEncryptionAlgorithmIcParameterInner.md) | * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES | **group** | **[]int32** | Diffie-Hellman group ID | - **groupN** | **[]int32** | Diffie-Hellman group ID | + **groupIc** | [**[]VpnIkeProposalsListGroupIcParameterInner**](VpnIkeProposalsListGroupIcParameterInner.md) | Diffie-Hellman group ID * `1` - Group 1 * `2` - Group 2 * `5` - Group 5 * `14` - Group 14 * `15` - Group 15 * `16` - Group 16 * `17` - Group 17 * `18` - Group 18 * `19` - Group 19 * `20` - Group 20 * `21` - Group 21 * `22` - Group 22 * `23` - Group 23 * `24` - Group 24 * `25` - Group 25 * `26` - Group 26 * `27` - Group 27 * `28` - Group 28 * `29` - Group 29 * `30` - Group 30 * `31` - Group 31 * `32` - Group 32 * `33` - Group 33 * `34` - Group 34 | + **groupIe** | [**[]VpnIkeProposalsListGroupIcParameterInner**](VpnIkeProposalsListGroupIcParameterInner.md) | Diffie-Hellman group ID * `1` - Group 1 * `2` - Group 2 * `5` - Group 5 * `14` - Group 14 * `15` - Group 15 * `16` - Group 16 * `17` - Group 17 * `18` - Group 18 * `19` - Group 19 * `20` - Group 20 * `21` - Group 21 * `22` - Group 22 * `23` - Group 23 * `24` - Group 24 * `25` - Group 25 * `26` - Group 26 * `27` - Group 27 * `28` - Group 28 * `29` - Group 29 * `30` - Group 30 * `31` - Group 31 * `32` - Group 32 * `33` - Group 33 * `34` - Group 34 | + **groupIew** | [**[]VpnIkeProposalsListGroupIcParameterInner**](VpnIkeProposalsListGroupIcParameterInner.md) | Diffie-Hellman group ID * `1` - Group 1 * `2` - Group 2 * `5` - Group 5 * `14` - Group 14 * `15` - Group 15 * `16` - Group 16 * `17` - Group 17 * `18` - Group 18 * `19` - Group 19 * `20` - Group 20 * `21` - Group 21 * `22` - Group 22 * `23` - Group 23 * `24` - Group 24 * `25` - Group 25 * `26` - Group 26 * `27` - Group 27 * `28` - Group 28 * `29` - Group 29 * `30` - Group 30 * `31` - Group 31 * `32` - Group 32 * `33` - Group 33 * `34` - Group 34 | + **groupIsw** | [**[]VpnIkeProposalsListGroupIcParameterInner**](VpnIkeProposalsListGroupIcParameterInner.md) | Diffie-Hellman group ID * `1` - Group 1 * `2` - Group 2 * `5` - Group 5 * `14` - Group 14 * `15` - Group 15 * `16` - Group 16 * `17` - Group 17 * `18` - Group 18 * `19` - Group 19 * `20` - Group 20 * `21` - Group 21 * `22` - Group 22 * `23` - Group 23 * `24` - Group 24 * `25` - Group 25 * `26` - Group 26 * `27` - Group 27 * `28` - Group 28 * `29` - Group 29 * `30` - Group 30 * `31` - Group 31 * `32` - Group 32 * `33` - Group 33 * `34` - Group 34 | + **groupN** | [**[]VpnIkeProposalsListGroupIcParameterInner**](VpnIkeProposalsListGroupIcParameterInner.md) | Diffie-Hellman group ID * `1` - Group 1 * `2` - Group 2 * `5` - Group 5 * `14` - Group 14 * `15` - Group 15 * `16` - Group 16 * `17` - Group 17 * `18` - Group 18 * `19` - Group 19 * `20` - Group 20 * `21` - Group 21 * `22` - Group 22 * `23` - Group 23 * `24` - Group 24 * `25` - Group 25 * `26` - Group 26 * `27` - Group 27 * `28` - Group 28 * `29` - Group 29 * `30` - Group 30 * `31` - Group 31 * `32` - Group 32 * `33` - Group 33 * `34` - Group 34 | + **groupNic** | [**[]VpnIkeProposalsListGroupIcParameterInner**](VpnIkeProposalsListGroupIcParameterInner.md) | Diffie-Hellman group ID * `1` - Group 1 * `2` - Group 2 * `5` - Group 5 * `14` - Group 14 * `15` - Group 15 * `16` - Group 16 * `17` - Group 17 * `18` - Group 18 * `19` - Group 19 * `20` - Group 20 * `21` - Group 21 * `22` - Group 22 * `23` - Group 23 * `24` - Group 24 * `25` - Group 25 * `26` - Group 26 * `27` - Group 27 * `28` - Group 28 * `29` - Group 29 * `30` - Group 30 * `31` - Group 31 * `32` - Group 32 * `33` - Group 33 * `34` - Group 34 | + **groupNie** | [**[]VpnIkeProposalsListGroupIcParameterInner**](VpnIkeProposalsListGroupIcParameterInner.md) | Diffie-Hellman group ID * `1` - Group 1 * `2` - Group 2 * `5` - Group 5 * `14` - Group 14 * `15` - Group 15 * `16` - Group 16 * `17` - Group 17 * `18` - Group 18 * `19` - Group 19 * `20` - Group 20 * `21` - Group 21 * `22` - Group 22 * `23` - Group 23 * `24` - Group 24 * `25` - Group 25 * `26` - Group 26 * `27` - Group 27 * `28` - Group 28 * `29` - Group 29 * `30` - Group 30 * `31` - Group 31 * `32` - Group 32 * `33` - Group 33 * `34` - Group 34 | + **groupNiew** | [**[]VpnIkeProposalsListGroupIcParameterInner**](VpnIkeProposalsListGroupIcParameterInner.md) | Diffie-Hellman group ID * `1` - Group 1 * `2` - Group 2 * `5` - Group 5 * `14` - Group 14 * `15` - Group 15 * `16` - Group 16 * `17` - Group 17 * `18` - Group 18 * `19` - Group 19 * `20` - Group 20 * `21` - Group 21 * `22` - Group 22 * `23` - Group 23 * `24` - Group 24 * `25` - Group 25 * `26` - Group 26 * `27` - Group 27 * `28` - Group 28 * `29` - Group 29 * `30` - Group 30 * `31` - Group 31 * `32` - Group 32 * `33` - Group 33 * `34` - Group 34 | + **groupNisw** | [**[]VpnIkeProposalsListGroupIcParameterInner**](VpnIkeProposalsListGroupIcParameterInner.md) | Diffie-Hellman group ID * `1` - Group 1 * `2` - Group 2 * `5` - Group 5 * `14` - Group 14 * `15` - Group 15 * `16` - Group 16 * `17` - Group 17 * `18` - Group 18 * `19` - Group 19 * `20` - Group 20 * `21` - Group 21 * `22` - Group 22 * `23` - Group 23 * `24` - Group 24 * `25` - Group 25 * `26` - Group 26 * `27` - Group 27 * `28` - Group 28 * `29` - Group 29 * `30` - Group 30 * `31` - Group 31 * `32` - Group 32 * `33` - Group 33 * `34` - Group 34 | **id** | **[]int32** | | **idEmpty** | **bool** | | **idGt** | **[]int32** | | @@ -1937,7 +2033,7 @@ Name | Type | Description | Notes ## VpnIpsecPoliciesList -> PaginatedIPSecPolicyList VpnIpsecPoliciesList(ctx).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).IpsecProposal(ipsecProposal).IpsecProposalN(ipsecProposalN).IpsecProposalId(ipsecProposalId).IpsecProposalIdN(ipsecProposalIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).PfsGroup(pfsGroup).PfsGroupN(pfsGroupN).Proposal(proposal).ProposalN(proposalN).ProposalId(proposalId).ProposalIdN(proposalIdN).Q(q).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).Execute() +> PaginatedIPSecPolicyList VpnIpsecPoliciesList(ctx).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).IpsecProposal(ipsecProposal).IpsecProposalN(ipsecProposalN).IpsecProposalId(ipsecProposalId).IpsecProposalIdN(ipsecProposalIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).PfsGroup(pfsGroup).PfsGroupIc(pfsGroupIc).PfsGroupIe(pfsGroupIe).PfsGroupIew(pfsGroupIew).PfsGroupIsw(pfsGroupIsw).PfsGroupN(pfsGroupN).PfsGroupNic(pfsGroupNic).PfsGroupNie(pfsGroupNie).PfsGroupNiew(pfsGroupNiew).PfsGroupNisw(pfsGroupNisw).Q(q).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).Execute() @@ -2010,11 +2106,15 @@ func main() { offset := int32(56) // int32 | The initial index from which to return the results. (optional) ordering := "ordering_example" // string | Which field to use when ordering the results. (optional) pfsGroup := []*int32{int32(123)} // []*int32 | Diffie-Hellman group for Perfect Forward Secrecy (optional) - pfsGroupN := []*int32{int32(123)} // []*int32 | Diffie-Hellman group for Perfect Forward Secrecy (optional) - proposal := []string{"Inner_example"} // []string | (optional) - proposalN := []string{"Inner_example"} // []string | (optional) - proposalId := []int32{int32(123)} // []int32 | (optional) - proposalIdN := []int32{int32(123)} // []int32 | (optional) + pfsGroupIc := []openapiclient.VpnIpsecPoliciesListPfsGroupIcParameterInner{openapiclient.vpn_ipsec_policies_list_pfs_group__ic_parameter_inner(1)} // []VpnIpsecPoliciesListPfsGroupIcParameterInner | Diffie-Hellman group for Perfect Forward Secrecy * `1` - Group 1 * `2` - Group 2 * `5` - Group 5 * `14` - Group 14 * `15` - Group 15 * `16` - Group 16 * `17` - Group 17 * `18` - Group 18 * `19` - Group 19 * `20` - Group 20 * `21` - Group 21 * `22` - Group 22 * `23` - Group 23 * `24` - Group 24 * `25` - Group 25 * `26` - Group 26 * `27` - Group 27 * `28` - Group 28 * `29` - Group 29 * `30` - Group 30 * `31` - Group 31 * `32` - Group 32 * `33` - Group 33 * `34` - Group 34 (optional) + pfsGroupIe := []openapiclient.VpnIpsecPoliciesListPfsGroupIcParameterInner{openapiclient.vpn_ipsec_policies_list_pfs_group__ic_parameter_inner(1)} // []VpnIpsecPoliciesListPfsGroupIcParameterInner | Diffie-Hellman group for Perfect Forward Secrecy * `1` - Group 1 * `2` - Group 2 * `5` - Group 5 * `14` - Group 14 * `15` - Group 15 * `16` - Group 16 * `17` - Group 17 * `18` - Group 18 * `19` - Group 19 * `20` - Group 20 * `21` - Group 21 * `22` - Group 22 * `23` - Group 23 * `24` - Group 24 * `25` - Group 25 * `26` - Group 26 * `27` - Group 27 * `28` - Group 28 * `29` - Group 29 * `30` - Group 30 * `31` - Group 31 * `32` - Group 32 * `33` - Group 33 * `34` - Group 34 (optional) + pfsGroupIew := []openapiclient.VpnIpsecPoliciesListPfsGroupIcParameterInner{openapiclient.vpn_ipsec_policies_list_pfs_group__ic_parameter_inner(1)} // []VpnIpsecPoliciesListPfsGroupIcParameterInner | Diffie-Hellman group for Perfect Forward Secrecy * `1` - Group 1 * `2` - Group 2 * `5` - Group 5 * `14` - Group 14 * `15` - Group 15 * `16` - Group 16 * `17` - Group 17 * `18` - Group 18 * `19` - Group 19 * `20` - Group 20 * `21` - Group 21 * `22` - Group 22 * `23` - Group 23 * `24` - Group 24 * `25` - Group 25 * `26` - Group 26 * `27` - Group 27 * `28` - Group 28 * `29` - Group 29 * `30` - Group 30 * `31` - Group 31 * `32` - Group 32 * `33` - Group 33 * `34` - Group 34 (optional) + pfsGroupIsw := []openapiclient.VpnIpsecPoliciesListPfsGroupIcParameterInner{openapiclient.vpn_ipsec_policies_list_pfs_group__ic_parameter_inner(1)} // []VpnIpsecPoliciesListPfsGroupIcParameterInner | Diffie-Hellman group for Perfect Forward Secrecy * `1` - Group 1 * `2` - Group 2 * `5` - Group 5 * `14` - Group 14 * `15` - Group 15 * `16` - Group 16 * `17` - Group 17 * `18` - Group 18 * `19` - Group 19 * `20` - Group 20 * `21` - Group 21 * `22` - Group 22 * `23` - Group 23 * `24` - Group 24 * `25` - Group 25 * `26` - Group 26 * `27` - Group 27 * `28` - Group 28 * `29` - Group 29 * `30` - Group 30 * `31` - Group 31 * `32` - Group 32 * `33` - Group 33 * `34` - Group 34 (optional) + pfsGroupN := []openapiclient.VpnIpsecPoliciesListPfsGroupIcParameterInner{openapiclient.vpn_ipsec_policies_list_pfs_group__ic_parameter_inner(1)} // []VpnIpsecPoliciesListPfsGroupIcParameterInner | Diffie-Hellman group for Perfect Forward Secrecy * `1` - Group 1 * `2` - Group 2 * `5` - Group 5 * `14` - Group 14 * `15` - Group 15 * `16` - Group 16 * `17` - Group 17 * `18` - Group 18 * `19` - Group 19 * `20` - Group 20 * `21` - Group 21 * `22` - Group 22 * `23` - Group 23 * `24` - Group 24 * `25` - Group 25 * `26` - Group 26 * `27` - Group 27 * `28` - Group 28 * `29` - Group 29 * `30` - Group 30 * `31` - Group 31 * `32` - Group 32 * `33` - Group 33 * `34` - Group 34 (optional) + pfsGroupNic := []openapiclient.VpnIpsecPoliciesListPfsGroupIcParameterInner{openapiclient.vpn_ipsec_policies_list_pfs_group__ic_parameter_inner(1)} // []VpnIpsecPoliciesListPfsGroupIcParameterInner | Diffie-Hellman group for Perfect Forward Secrecy * `1` - Group 1 * `2` - Group 2 * `5` - Group 5 * `14` - Group 14 * `15` - Group 15 * `16` - Group 16 * `17` - Group 17 * `18` - Group 18 * `19` - Group 19 * `20` - Group 20 * `21` - Group 21 * `22` - Group 22 * `23` - Group 23 * `24` - Group 24 * `25` - Group 25 * `26` - Group 26 * `27` - Group 27 * `28` - Group 28 * `29` - Group 29 * `30` - Group 30 * `31` - Group 31 * `32` - Group 32 * `33` - Group 33 * `34` - Group 34 (optional) + pfsGroupNie := []openapiclient.VpnIpsecPoliciesListPfsGroupIcParameterInner{openapiclient.vpn_ipsec_policies_list_pfs_group__ic_parameter_inner(1)} // []VpnIpsecPoliciesListPfsGroupIcParameterInner | Diffie-Hellman group for Perfect Forward Secrecy * `1` - Group 1 * `2` - Group 2 * `5` - Group 5 * `14` - Group 14 * `15` - Group 15 * `16` - Group 16 * `17` - Group 17 * `18` - Group 18 * `19` - Group 19 * `20` - Group 20 * `21` - Group 21 * `22` - Group 22 * `23` - Group 23 * `24` - Group 24 * `25` - Group 25 * `26` - Group 26 * `27` - Group 27 * `28` - Group 28 * `29` - Group 29 * `30` - Group 30 * `31` - Group 31 * `32` - Group 32 * `33` - Group 33 * `34` - Group 34 (optional) + pfsGroupNiew := []openapiclient.VpnIpsecPoliciesListPfsGroupIcParameterInner{openapiclient.vpn_ipsec_policies_list_pfs_group__ic_parameter_inner(1)} // []VpnIpsecPoliciesListPfsGroupIcParameterInner | Diffie-Hellman group for Perfect Forward Secrecy * `1` - Group 1 * `2` - Group 2 * `5` - Group 5 * `14` - Group 14 * `15` - Group 15 * `16` - Group 16 * `17` - Group 17 * `18` - Group 18 * `19` - Group 19 * `20` - Group 20 * `21` - Group 21 * `22` - Group 22 * `23` - Group 23 * `24` - Group 24 * `25` - Group 25 * `26` - Group 26 * `27` - Group 27 * `28` - Group 28 * `29` - Group 29 * `30` - Group 30 * `31` - Group 31 * `32` - Group 32 * `33` - Group 33 * `34` - Group 34 (optional) + pfsGroupNisw := []openapiclient.VpnIpsecPoliciesListPfsGroupIcParameterInner{openapiclient.vpn_ipsec_policies_list_pfs_group__ic_parameter_inner(1)} // []VpnIpsecPoliciesListPfsGroupIcParameterInner | Diffie-Hellman group for Perfect Forward Secrecy * `1` - Group 1 * `2` - Group 2 * `5` - Group 5 * `14` - Group 14 * `15` - Group 15 * `16` - Group 16 * `17` - Group 17 * `18` - Group 18 * `19` - Group 19 * `20` - Group 20 * `21` - Group 21 * `22` - Group 22 * `23` - Group 23 * `24` - Group 24 * `25` - Group 25 * `26` - Group 26 * `27` - Group 27 * `28` - Group 28 * `29` - Group 29 * `30` - Group 30 * `31` - Group 31 * `32` - Group 32 * `33` - Group 33 * `34` - Group 34 (optional) q := "q_example" // string | Search (optional) tag := []string{"Inner_example"} // []string | (optional) tagN := []string{"Inner_example"} // []string | (optional) @@ -2022,7 +2122,7 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.VpnAPI.VpnIpsecPoliciesList(context.Background()).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).IpsecProposal(ipsecProposal).IpsecProposalN(ipsecProposalN).IpsecProposalId(ipsecProposalId).IpsecProposalIdN(ipsecProposalIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).PfsGroup(pfsGroup).PfsGroupN(pfsGroupN).Proposal(proposal).ProposalN(proposalN).ProposalId(proposalId).ProposalIdN(proposalIdN).Q(q).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).Execute() + resp, r, err := apiClient.VpnAPI.VpnIpsecPoliciesList(context.Background()).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).IpsecProposal(ipsecProposal).IpsecProposalN(ipsecProposalN).IpsecProposalId(ipsecProposalId).IpsecProposalIdN(ipsecProposalIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).PfsGroup(pfsGroup).PfsGroupIc(pfsGroupIc).PfsGroupIe(pfsGroupIe).PfsGroupIew(pfsGroupIew).PfsGroupIsw(pfsGroupIsw).PfsGroupN(pfsGroupN).PfsGroupNic(pfsGroupNic).PfsGroupNie(pfsGroupNie).PfsGroupNiew(pfsGroupNiew).PfsGroupNisw(pfsGroupNisw).Q(q).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `VpnAPI.VpnIpsecPoliciesList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -2096,11 +2196,15 @@ Name | Type | Description | Notes **offset** | **int32** | The initial index from which to return the results. | **ordering** | **string** | Which field to use when ordering the results. | **pfsGroup** | **[]int32** | Diffie-Hellman group for Perfect Forward Secrecy | - **pfsGroupN** | **[]int32** | Diffie-Hellman group for Perfect Forward Secrecy | - **proposal** | **[]string** | | - **proposalN** | **[]string** | | - **proposalId** | **[]int32** | | - **proposalIdN** | **[]int32** | | + **pfsGroupIc** | [**[]VpnIpsecPoliciesListPfsGroupIcParameterInner**](VpnIpsecPoliciesListPfsGroupIcParameterInner.md) | Diffie-Hellman group for Perfect Forward Secrecy * `1` - Group 1 * `2` - Group 2 * `5` - Group 5 * `14` - Group 14 * `15` - Group 15 * `16` - Group 16 * `17` - Group 17 * `18` - Group 18 * `19` - Group 19 * `20` - Group 20 * `21` - Group 21 * `22` - Group 22 * `23` - Group 23 * `24` - Group 24 * `25` - Group 25 * `26` - Group 26 * `27` - Group 27 * `28` - Group 28 * `29` - Group 29 * `30` - Group 30 * `31` - Group 31 * `32` - Group 32 * `33` - Group 33 * `34` - Group 34 | + **pfsGroupIe** | [**[]VpnIpsecPoliciesListPfsGroupIcParameterInner**](VpnIpsecPoliciesListPfsGroupIcParameterInner.md) | Diffie-Hellman group for Perfect Forward Secrecy * `1` - Group 1 * `2` - Group 2 * `5` - Group 5 * `14` - Group 14 * `15` - Group 15 * `16` - Group 16 * `17` - Group 17 * `18` - Group 18 * `19` - Group 19 * `20` - Group 20 * `21` - Group 21 * `22` - Group 22 * `23` - Group 23 * `24` - Group 24 * `25` - Group 25 * `26` - Group 26 * `27` - Group 27 * `28` - Group 28 * `29` - Group 29 * `30` - Group 30 * `31` - Group 31 * `32` - Group 32 * `33` - Group 33 * `34` - Group 34 | + **pfsGroupIew** | [**[]VpnIpsecPoliciesListPfsGroupIcParameterInner**](VpnIpsecPoliciesListPfsGroupIcParameterInner.md) | Diffie-Hellman group for Perfect Forward Secrecy * `1` - Group 1 * `2` - Group 2 * `5` - Group 5 * `14` - Group 14 * `15` - Group 15 * `16` - Group 16 * `17` - Group 17 * `18` - Group 18 * `19` - Group 19 * `20` - Group 20 * `21` - Group 21 * `22` - Group 22 * `23` - Group 23 * `24` - Group 24 * `25` - Group 25 * `26` - Group 26 * `27` - Group 27 * `28` - Group 28 * `29` - Group 29 * `30` - Group 30 * `31` - Group 31 * `32` - Group 32 * `33` - Group 33 * `34` - Group 34 | + **pfsGroupIsw** | [**[]VpnIpsecPoliciesListPfsGroupIcParameterInner**](VpnIpsecPoliciesListPfsGroupIcParameterInner.md) | Diffie-Hellman group for Perfect Forward Secrecy * `1` - Group 1 * `2` - Group 2 * `5` - Group 5 * `14` - Group 14 * `15` - Group 15 * `16` - Group 16 * `17` - Group 17 * `18` - Group 18 * `19` - Group 19 * `20` - Group 20 * `21` - Group 21 * `22` - Group 22 * `23` - Group 23 * `24` - Group 24 * `25` - Group 25 * `26` - Group 26 * `27` - Group 27 * `28` - Group 28 * `29` - Group 29 * `30` - Group 30 * `31` - Group 31 * `32` - Group 32 * `33` - Group 33 * `34` - Group 34 | + **pfsGroupN** | [**[]VpnIpsecPoliciesListPfsGroupIcParameterInner**](VpnIpsecPoliciesListPfsGroupIcParameterInner.md) | Diffie-Hellman group for Perfect Forward Secrecy * `1` - Group 1 * `2` - Group 2 * `5` - Group 5 * `14` - Group 14 * `15` - Group 15 * `16` - Group 16 * `17` - Group 17 * `18` - Group 18 * `19` - Group 19 * `20` - Group 20 * `21` - Group 21 * `22` - Group 22 * `23` - Group 23 * `24` - Group 24 * `25` - Group 25 * `26` - Group 26 * `27` - Group 27 * `28` - Group 28 * `29` - Group 29 * `30` - Group 30 * `31` - Group 31 * `32` - Group 32 * `33` - Group 33 * `34` - Group 34 | + **pfsGroupNic** | [**[]VpnIpsecPoliciesListPfsGroupIcParameterInner**](VpnIpsecPoliciesListPfsGroupIcParameterInner.md) | Diffie-Hellman group for Perfect Forward Secrecy * `1` - Group 1 * `2` - Group 2 * `5` - Group 5 * `14` - Group 14 * `15` - Group 15 * `16` - Group 16 * `17` - Group 17 * `18` - Group 18 * `19` - Group 19 * `20` - Group 20 * `21` - Group 21 * `22` - Group 22 * `23` - Group 23 * `24` - Group 24 * `25` - Group 25 * `26` - Group 26 * `27` - Group 27 * `28` - Group 28 * `29` - Group 29 * `30` - Group 30 * `31` - Group 31 * `32` - Group 32 * `33` - Group 33 * `34` - Group 34 | + **pfsGroupNie** | [**[]VpnIpsecPoliciesListPfsGroupIcParameterInner**](VpnIpsecPoliciesListPfsGroupIcParameterInner.md) | Diffie-Hellman group for Perfect Forward Secrecy * `1` - Group 1 * `2` - Group 2 * `5` - Group 5 * `14` - Group 14 * `15` - Group 15 * `16` - Group 16 * `17` - Group 17 * `18` - Group 18 * `19` - Group 19 * `20` - Group 20 * `21` - Group 21 * `22` - Group 22 * `23` - Group 23 * `24` - Group 24 * `25` - Group 25 * `26` - Group 26 * `27` - Group 27 * `28` - Group 28 * `29` - Group 29 * `30` - Group 30 * `31` - Group 31 * `32` - Group 32 * `33` - Group 33 * `34` - Group 34 | + **pfsGroupNiew** | [**[]VpnIpsecPoliciesListPfsGroupIcParameterInner**](VpnIpsecPoliciesListPfsGroupIcParameterInner.md) | Diffie-Hellman group for Perfect Forward Secrecy * `1` - Group 1 * `2` - Group 2 * `5` - Group 5 * `14` - Group 14 * `15` - Group 15 * `16` - Group 16 * `17` - Group 17 * `18` - Group 18 * `19` - Group 19 * `20` - Group 20 * `21` - Group 21 * `22` - Group 22 * `23` - Group 23 * `24` - Group 24 * `25` - Group 25 * `26` - Group 26 * `27` - Group 27 * `28` - Group 28 * `29` - Group 29 * `30` - Group 30 * `31` - Group 31 * `32` - Group 32 * `33` - Group 33 * `34` - Group 34 | + **pfsGroupNisw** | [**[]VpnIpsecPoliciesListPfsGroupIcParameterInner**](VpnIpsecPoliciesListPfsGroupIcParameterInner.md) | Diffie-Hellman group for Perfect Forward Secrecy * `1` - Group 1 * `2` - Group 2 * `5` - Group 5 * `14` - Group 14 * `15` - Group 15 * `16` - Group 16 * `17` - Group 17 * `18` - Group 18 * `19` - Group 19 * `20` - Group 20 * `21` - Group 21 * `22` - Group 22 * `23` - Group 23 * `24` - Group 24 * `25` - Group 25 * `26` - Group 26 * `27` - Group 27 * `28` - Group 28 * `29` - Group 29 * `30` - Group 30 * `31` - Group 31 * `32` - Group 32 * `33` - Group 33 * `34` - Group 34 | **q** | **string** | Search | **tag** | **[]string** | | **tagN** | **[]string** | | @@ -2359,7 +2463,7 @@ import ( ) func main() { - iPSecProfileRequest := []openapiclient.IPSecProfileRequest{*openapiclient.NewIPSecProfileRequest("Name_example", openapiclient.IPSecProfile_mode_value("esp"), *openapiclient.NewIKEPolicyRequest("Name_example", openapiclient.IKEPolicy_version_value(1), openapiclient.IKEPolicy_mode_value("aggressive")), *openapiclient.NewIPSecPolicyRequest("Name_example"))} // []IPSecProfileRequest | + iPSecProfileRequest := []openapiclient.IPSecProfileRequest{*openapiclient.NewIPSecProfileRequest("Name_example", openapiclient.IPSecProfile_mode_value("esp"), *openapiclient.NewBriefIKEPolicyRequest("Name_example"), *openapiclient.NewBriefIPSecPolicyRequest("Name_example"))} // []IPSecProfileRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -2423,7 +2527,7 @@ import ( ) func main() { - iPSecProfileRequest := []openapiclient.IPSecProfileRequest{*openapiclient.NewIPSecProfileRequest("Name_example", openapiclient.IPSecProfile_mode_value("esp"), *openapiclient.NewIKEPolicyRequest("Name_example", openapiclient.IKEPolicy_version_value(1), openapiclient.IKEPolicy_mode_value("aggressive")), *openapiclient.NewIPSecPolicyRequest("Name_example"))} // []IPSecProfileRequest | + iPSecProfileRequest := []openapiclient.IPSecProfileRequest{*openapiclient.NewIPSecProfileRequest("Name_example", openapiclient.IPSecProfile_mode_value("esp"), *openapiclient.NewBriefIKEPolicyRequest("Name_example"), *openapiclient.NewBriefIPSecPolicyRequest("Name_example"))} // []IPSecProfileRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -2489,7 +2593,7 @@ import ( ) func main() { - iPSecProfileRequest := []openapiclient.IPSecProfileRequest{*openapiclient.NewIPSecProfileRequest("Name_example", openapiclient.IPSecProfile_mode_value("esp"), *openapiclient.NewIKEPolicyRequest("Name_example", openapiclient.IKEPolicy_version_value(1), openapiclient.IKEPolicy_mode_value("aggressive")), *openapiclient.NewIPSecPolicyRequest("Name_example"))} // []IPSecProfileRequest | + iPSecProfileRequest := []openapiclient.IPSecProfileRequest{*openapiclient.NewIPSecProfileRequest("Name_example", openapiclient.IPSecProfile_mode_value("esp"), *openapiclient.NewBriefIKEPolicyRequest("Name_example"), *openapiclient.NewBriefIPSecPolicyRequest("Name_example"))} // []IPSecProfileRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -2555,7 +2659,7 @@ import ( ) func main() { - writableIPSecProfileRequest := *openapiclient.NewWritableIPSecProfileRequest("Name_example", openapiclient.IPSecProfile_mode_value("esp"), *openapiclient.NewIKEPolicyRequest("Name_example", openapiclient.IKEPolicy_version_value(1), openapiclient.IKEPolicy_mode_value("aggressive")), *openapiclient.NewIPSecPolicyRequest("Name_example")) // WritableIPSecProfileRequest | + writableIPSecProfileRequest := *openapiclient.NewWritableIPSecProfileRequest("Name_example", openapiclient.IPSecProfile_mode_value("esp"), *openapiclient.NewBriefIKEPolicyRequest("Name_example"), *openapiclient.NewBriefIPSecPolicyRequest("Name_example")) // WritableIPSecProfileRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -2670,7 +2774,7 @@ Name | Type | Description | Notes ## VpnIpsecProfilesList -> PaginatedIPSecProfileList VpnIpsecProfilesList(ctx).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).IkePolicy(ikePolicy).IkePolicyN(ikePolicyN).IkePolicyId(ikePolicyId).IkePolicyIdN(ikePolicyIdN).IpsecPolicy(ipsecPolicy).IpsecPolicyN(ipsecPolicyN).IpsecPolicyId(ipsecPolicyId).IpsecPolicyIdN(ipsecPolicyIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Mode(mode).ModeN(modeN).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).Execute() +> PaginatedIPSecProfileList VpnIpsecProfilesList(ctx).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).IkePolicy(ikePolicy).IkePolicyN(ikePolicyN).IkePolicyId(ikePolicyId).IkePolicyIdN(ikePolicyIdN).IpsecPolicy(ipsecPolicy).IpsecPolicyN(ipsecPolicyN).IpsecPolicyId(ipsecPolicyId).IpsecPolicyIdN(ipsecPolicyIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Mode(mode).ModeEmpty(modeEmpty).ModeIc(modeIc).ModeIe(modeIe).ModeIew(modeIew).ModeIsw(modeIsw).ModeN(modeN).ModeNic(modeNic).ModeNie(modeNie).ModeNiew(modeNiew).ModeNisw(modeNisw).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).Execute() @@ -2733,7 +2837,16 @@ func main() { 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) - modeN := []string{"Inner_example"} // []string | (optional) + modeEmpty := true // bool | (optional) + modeIc := []openapiclient.VpnIpsecProfilesListModeIcParameterInner{openapiclient.vpn_ipsec_profiles_list_mode__ic_parameter_inner("ah")} // []VpnIpsecProfilesListModeIcParameterInner | * `esp` - ESP * `ah` - AH (optional) + modeIe := []openapiclient.VpnIpsecProfilesListModeIcParameterInner{openapiclient.vpn_ipsec_profiles_list_mode__ic_parameter_inner("ah")} // []VpnIpsecProfilesListModeIcParameterInner | * `esp` - ESP * `ah` - AH (optional) + modeIew := []openapiclient.VpnIpsecProfilesListModeIcParameterInner{openapiclient.vpn_ipsec_profiles_list_mode__ic_parameter_inner("ah")} // []VpnIpsecProfilesListModeIcParameterInner | * `esp` - ESP * `ah` - AH (optional) + modeIsw := []openapiclient.VpnIpsecProfilesListModeIcParameterInner{openapiclient.vpn_ipsec_profiles_list_mode__ic_parameter_inner("ah")} // []VpnIpsecProfilesListModeIcParameterInner | * `esp` - ESP * `ah` - AH (optional) + modeN := []openapiclient.VpnIpsecProfilesListModeIcParameterInner{openapiclient.vpn_ipsec_profiles_list_mode__ic_parameter_inner("ah")} // []VpnIpsecProfilesListModeIcParameterInner | * `esp` - ESP * `ah` - AH (optional) + modeNic := []openapiclient.VpnIpsecProfilesListModeIcParameterInner{openapiclient.vpn_ipsec_profiles_list_mode__ic_parameter_inner("ah")} // []VpnIpsecProfilesListModeIcParameterInner | * `esp` - ESP * `ah` - AH (optional) + modeNie := []openapiclient.VpnIpsecProfilesListModeIcParameterInner{openapiclient.vpn_ipsec_profiles_list_mode__ic_parameter_inner("ah")} // []VpnIpsecProfilesListModeIcParameterInner | * `esp` - ESP * `ah` - AH (optional) + modeNiew := []openapiclient.VpnIpsecProfilesListModeIcParameterInner{openapiclient.vpn_ipsec_profiles_list_mode__ic_parameter_inner("ah")} // []VpnIpsecProfilesListModeIcParameterInner | * `esp` - ESP * `ah` - AH (optional) + modeNisw := []openapiclient.VpnIpsecProfilesListModeIcParameterInner{openapiclient.vpn_ipsec_profiles_list_mode__ic_parameter_inner("ah")} // []VpnIpsecProfilesListModeIcParameterInner | * `esp` - ESP * `ah` - AH (optional) modifiedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) name := []string{"Inner_example"} // []string | (optional) nameEmpty := true // bool | (optional) @@ -2755,7 +2868,7 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.VpnAPI.VpnIpsecProfilesList(context.Background()).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).IkePolicy(ikePolicy).IkePolicyN(ikePolicyN).IkePolicyId(ikePolicyId).IkePolicyIdN(ikePolicyIdN).IpsecPolicy(ipsecPolicy).IpsecPolicyN(ipsecPolicyN).IpsecPolicyId(ipsecPolicyId).IpsecPolicyIdN(ipsecPolicyIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Mode(mode).ModeN(modeN).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).Execute() + resp, r, err := apiClient.VpnAPI.VpnIpsecProfilesList(context.Background()).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).IkePolicy(ikePolicy).IkePolicyN(ikePolicyN).IkePolicyId(ikePolicyId).IkePolicyIdN(ikePolicyIdN).IpsecPolicy(ipsecPolicy).IpsecPolicyN(ipsecPolicyN).IpsecPolicyId(ipsecPolicyId).IpsecPolicyIdN(ipsecPolicyIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Mode(mode).ModeEmpty(modeEmpty).ModeIc(modeIc).ModeIe(modeIe).ModeIew(modeIew).ModeIsw(modeIsw).ModeN(modeN).ModeNic(modeNic).ModeNie(modeNie).ModeNiew(modeNiew).ModeNisw(modeNisw).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `VpnAPI.VpnIpsecProfilesList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -2819,7 +2932,16 @@ Name | Type | Description | Notes **lastUpdatedN** | [**[]time.Time**](time.Time.md) | | **limit** | **int32** | Number of results to return per page. | **mode** | **[]string** | | - **modeN** | **[]string** | | + **modeEmpty** | **bool** | | + **modeIc** | [**[]VpnIpsecProfilesListModeIcParameterInner**](VpnIpsecProfilesListModeIcParameterInner.md) | * `esp` - ESP * `ah` - AH | + **modeIe** | [**[]VpnIpsecProfilesListModeIcParameterInner**](VpnIpsecProfilesListModeIcParameterInner.md) | * `esp` - ESP * `ah` - AH | + **modeIew** | [**[]VpnIpsecProfilesListModeIcParameterInner**](VpnIpsecProfilesListModeIcParameterInner.md) | * `esp` - ESP * `ah` - AH | + **modeIsw** | [**[]VpnIpsecProfilesListModeIcParameterInner**](VpnIpsecProfilesListModeIcParameterInner.md) | * `esp` - ESP * `ah` - AH | + **modeN** | [**[]VpnIpsecProfilesListModeIcParameterInner**](VpnIpsecProfilesListModeIcParameterInner.md) | * `esp` - ESP * `ah` - AH | + **modeNic** | [**[]VpnIpsecProfilesListModeIcParameterInner**](VpnIpsecProfilesListModeIcParameterInner.md) | * `esp` - ESP * `ah` - AH | + **modeNie** | [**[]VpnIpsecProfilesListModeIcParameterInner**](VpnIpsecProfilesListModeIcParameterInner.md) | * `esp` - ESP * `ah` - AH | + **modeNiew** | [**[]VpnIpsecProfilesListModeIcParameterInner**](VpnIpsecProfilesListModeIcParameterInner.md) | * `esp` - ESP * `ah` - AH | + **modeNisw** | [**[]VpnIpsecProfilesListModeIcParameterInner**](VpnIpsecProfilesListModeIcParameterInner.md) | * `esp` - ESP * `ah` - AH | **modifiedByRequest** | **string** | | **name** | **[]string** | | **nameEmpty** | **bool** | | @@ -3021,7 +3143,7 @@ import ( func main() { id := int32(56) // int32 | A unique integer value identifying this IPSec profile. - writableIPSecProfileRequest := *openapiclient.NewWritableIPSecProfileRequest("Name_example", openapiclient.IPSecProfile_mode_value("esp"), *openapiclient.NewIKEPolicyRequest("Name_example", openapiclient.IKEPolicy_version_value(1), openapiclient.IKEPolicy_mode_value("aggressive")), *openapiclient.NewIPSecPolicyRequest("Name_example")) // WritableIPSecProfileRequest | + writableIPSecProfileRequest := *openapiclient.NewWritableIPSecProfileRequest("Name_example", openapiclient.IPSecProfile_mode_value("esp"), *openapiclient.NewBriefIKEPolicyRequest("Name_example"), *openapiclient.NewBriefIPSecPolicyRequest("Name_example")) // WritableIPSecProfileRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -3403,7 +3525,7 @@ Name | Type | Description | Notes ## VpnIpsecProposalsList -> PaginatedIPSecProposalList VpnIpsecProposalsList(ctx).AuthenticationAlgorithm(authenticationAlgorithm).AuthenticationAlgorithmN(authenticationAlgorithmN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).EncryptionAlgorithm(encryptionAlgorithm).EncryptionAlgorithmN(encryptionAlgorithmN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).IpsecPolicy(ipsecPolicy).IpsecPolicyN(ipsecPolicyN).IpsecPolicyId(ipsecPolicyId).IpsecPolicyIdN(ipsecPolicyIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).SaLifetimeData(saLifetimeData).SaLifetimeDataEmpty(saLifetimeDataEmpty).SaLifetimeDataGt(saLifetimeDataGt).SaLifetimeDataGte(saLifetimeDataGte).SaLifetimeDataLt(saLifetimeDataLt).SaLifetimeDataLte(saLifetimeDataLte).SaLifetimeDataN(saLifetimeDataN).SaLifetimeSeconds(saLifetimeSeconds).SaLifetimeSecondsEmpty(saLifetimeSecondsEmpty).SaLifetimeSecondsGt(saLifetimeSecondsGt).SaLifetimeSecondsGte(saLifetimeSecondsGte).SaLifetimeSecondsLt(saLifetimeSecondsLt).SaLifetimeSecondsLte(saLifetimeSecondsLte).SaLifetimeSecondsN(saLifetimeSecondsN).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).Execute() +> PaginatedIPSecProposalList VpnIpsecProposalsList(ctx).AuthenticationAlgorithm(authenticationAlgorithm).AuthenticationAlgorithmEmpty(authenticationAlgorithmEmpty).AuthenticationAlgorithmIc(authenticationAlgorithmIc).AuthenticationAlgorithmIe(authenticationAlgorithmIe).AuthenticationAlgorithmIew(authenticationAlgorithmIew).AuthenticationAlgorithmIsw(authenticationAlgorithmIsw).AuthenticationAlgorithmN(authenticationAlgorithmN).AuthenticationAlgorithmNic(authenticationAlgorithmNic).AuthenticationAlgorithmNie(authenticationAlgorithmNie).AuthenticationAlgorithmNiew(authenticationAlgorithmNiew).AuthenticationAlgorithmNisw(authenticationAlgorithmNisw).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).EncryptionAlgorithm(encryptionAlgorithm).EncryptionAlgorithmEmpty(encryptionAlgorithmEmpty).EncryptionAlgorithmIc(encryptionAlgorithmIc).EncryptionAlgorithmIe(encryptionAlgorithmIe).EncryptionAlgorithmIew(encryptionAlgorithmIew).EncryptionAlgorithmIsw(encryptionAlgorithmIsw).EncryptionAlgorithmN(encryptionAlgorithmN).EncryptionAlgorithmNic(encryptionAlgorithmNic).EncryptionAlgorithmNie(encryptionAlgorithmNie).EncryptionAlgorithmNiew(encryptionAlgorithmNiew).EncryptionAlgorithmNisw(encryptionAlgorithmNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).IpsecPolicy(ipsecPolicy).IpsecPolicyN(ipsecPolicyN).IpsecPolicyId(ipsecPolicyId).IpsecPolicyIdN(ipsecPolicyIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).SaLifetimeData(saLifetimeData).SaLifetimeDataEmpty(saLifetimeDataEmpty).SaLifetimeDataGt(saLifetimeDataGt).SaLifetimeDataGte(saLifetimeDataGte).SaLifetimeDataLt(saLifetimeDataLt).SaLifetimeDataLte(saLifetimeDataLte).SaLifetimeDataN(saLifetimeDataN).SaLifetimeSeconds(saLifetimeSeconds).SaLifetimeSecondsEmpty(saLifetimeSecondsEmpty).SaLifetimeSecondsGt(saLifetimeSecondsGt).SaLifetimeSecondsGte(saLifetimeSecondsGte).SaLifetimeSecondsLt(saLifetimeSecondsLt).SaLifetimeSecondsLte(saLifetimeSecondsLte).SaLifetimeSecondsN(saLifetimeSecondsN).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).Execute() @@ -3424,7 +3546,16 @@ import ( func main() { authenticationAlgorithm := []string{"Inner_example"} // []string | (optional) - authenticationAlgorithmN := []string{"Inner_example"} // []string | (optional) + authenticationAlgorithmEmpty := true // bool | (optional) + authenticationAlgorithmIc := []openapiclient.Authentication{openapiclient.Authentication("")} // []Authentication | * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC (optional) + authenticationAlgorithmIe := []openapiclient.Authentication{openapiclient.Authentication("")} // []Authentication | * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC (optional) + authenticationAlgorithmIew := []openapiclient.Authentication{openapiclient.Authentication("")} // []Authentication | * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC (optional) + authenticationAlgorithmIsw := []openapiclient.Authentication{openapiclient.Authentication("")} // []Authentication | * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC (optional) + authenticationAlgorithmN := []openapiclient.Authentication{openapiclient.Authentication("")} // []Authentication | * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC (optional) + authenticationAlgorithmNic := []openapiclient.Authentication{openapiclient.Authentication("")} // []Authentication | * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC (optional) + authenticationAlgorithmNie := []openapiclient.Authentication{openapiclient.Authentication("")} // []Authentication | * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC (optional) + authenticationAlgorithmNiew := []openapiclient.Authentication{openapiclient.Authentication("")} // []Authentication | * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC (optional) + authenticationAlgorithmNisw := []openapiclient.Authentication{openapiclient.Authentication("")} // []Authentication | * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC (optional) created := []time.Time{time.Now()} // []time.Time | (optional) createdEmpty := []time.Time{time.Now()} // []time.Time | (optional) createdGt := []time.Time{time.Now()} // []time.Time | (optional) @@ -3445,7 +3576,16 @@ func main() { descriptionNiew := []string{"Inner_example"} // []string | (optional) descriptionNisw := []string{"Inner_example"} // []string | (optional) encryptionAlgorithm := []string{"Inner_example"} // []string | (optional) - encryptionAlgorithmN := []string{"Inner_example"} // []string | (optional) + encryptionAlgorithmEmpty := true // bool | (optional) + encryptionAlgorithmIc := []openapiclient.Encryption{openapiclient.Encryption("")} // []Encryption | * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES (optional) + encryptionAlgorithmIe := []openapiclient.Encryption{openapiclient.Encryption("")} // []Encryption | * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES (optional) + encryptionAlgorithmIew := []openapiclient.Encryption{openapiclient.Encryption("")} // []Encryption | * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES (optional) + encryptionAlgorithmIsw := []openapiclient.Encryption{openapiclient.Encryption("")} // []Encryption | * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES (optional) + encryptionAlgorithmN := []openapiclient.Encryption{openapiclient.Encryption("")} // []Encryption | * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES (optional) + encryptionAlgorithmNic := []openapiclient.Encryption{openapiclient.Encryption("")} // []Encryption | * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES (optional) + encryptionAlgorithmNie := []openapiclient.Encryption{openapiclient.Encryption("")} // []Encryption | * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES (optional) + encryptionAlgorithmNiew := []openapiclient.Encryption{openapiclient.Encryption("")} // []Encryption | * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES (optional) + encryptionAlgorithmNisw := []openapiclient.Encryption{openapiclient.Encryption("")} // []Encryption | * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES (optional) id := []int32{int32(123)} // []int32 | (optional) idEmpty := true // bool | (optional) idGt := []int32{int32(123)} // []int32 | (optional) @@ -3500,7 +3640,7 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.VpnAPI.VpnIpsecProposalsList(context.Background()).AuthenticationAlgorithm(authenticationAlgorithm).AuthenticationAlgorithmN(authenticationAlgorithmN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).EncryptionAlgorithm(encryptionAlgorithm).EncryptionAlgorithmN(encryptionAlgorithmN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).IpsecPolicy(ipsecPolicy).IpsecPolicyN(ipsecPolicyN).IpsecPolicyId(ipsecPolicyId).IpsecPolicyIdN(ipsecPolicyIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).SaLifetimeData(saLifetimeData).SaLifetimeDataEmpty(saLifetimeDataEmpty).SaLifetimeDataGt(saLifetimeDataGt).SaLifetimeDataGte(saLifetimeDataGte).SaLifetimeDataLt(saLifetimeDataLt).SaLifetimeDataLte(saLifetimeDataLte).SaLifetimeDataN(saLifetimeDataN).SaLifetimeSeconds(saLifetimeSeconds).SaLifetimeSecondsEmpty(saLifetimeSecondsEmpty).SaLifetimeSecondsGt(saLifetimeSecondsGt).SaLifetimeSecondsGte(saLifetimeSecondsGte).SaLifetimeSecondsLt(saLifetimeSecondsLt).SaLifetimeSecondsLte(saLifetimeSecondsLte).SaLifetimeSecondsN(saLifetimeSecondsN).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).Execute() + resp, r, err := apiClient.VpnAPI.VpnIpsecProposalsList(context.Background()).AuthenticationAlgorithm(authenticationAlgorithm).AuthenticationAlgorithmEmpty(authenticationAlgorithmEmpty).AuthenticationAlgorithmIc(authenticationAlgorithmIc).AuthenticationAlgorithmIe(authenticationAlgorithmIe).AuthenticationAlgorithmIew(authenticationAlgorithmIew).AuthenticationAlgorithmIsw(authenticationAlgorithmIsw).AuthenticationAlgorithmN(authenticationAlgorithmN).AuthenticationAlgorithmNic(authenticationAlgorithmNic).AuthenticationAlgorithmNie(authenticationAlgorithmNie).AuthenticationAlgorithmNiew(authenticationAlgorithmNiew).AuthenticationAlgorithmNisw(authenticationAlgorithmNisw).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).EncryptionAlgorithm(encryptionAlgorithm).EncryptionAlgorithmEmpty(encryptionAlgorithmEmpty).EncryptionAlgorithmIc(encryptionAlgorithmIc).EncryptionAlgorithmIe(encryptionAlgorithmIe).EncryptionAlgorithmIew(encryptionAlgorithmIew).EncryptionAlgorithmIsw(encryptionAlgorithmIsw).EncryptionAlgorithmN(encryptionAlgorithmN).EncryptionAlgorithmNic(encryptionAlgorithmNic).EncryptionAlgorithmNie(encryptionAlgorithmNie).EncryptionAlgorithmNiew(encryptionAlgorithmNiew).EncryptionAlgorithmNisw(encryptionAlgorithmNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).IpsecPolicy(ipsecPolicy).IpsecPolicyN(ipsecPolicyN).IpsecPolicyId(ipsecPolicyId).IpsecPolicyIdN(ipsecPolicyIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).SaLifetimeData(saLifetimeData).SaLifetimeDataEmpty(saLifetimeDataEmpty).SaLifetimeDataGt(saLifetimeDataGt).SaLifetimeDataGte(saLifetimeDataGte).SaLifetimeDataLt(saLifetimeDataLt).SaLifetimeDataLte(saLifetimeDataLte).SaLifetimeDataN(saLifetimeDataN).SaLifetimeSeconds(saLifetimeSeconds).SaLifetimeSecondsEmpty(saLifetimeSecondsEmpty).SaLifetimeSecondsGt(saLifetimeSecondsGt).SaLifetimeSecondsGte(saLifetimeSecondsGte).SaLifetimeSecondsLt(saLifetimeSecondsLt).SaLifetimeSecondsLte(saLifetimeSecondsLte).SaLifetimeSecondsN(saLifetimeSecondsN).Tag(tag).TagN(tagN).UpdatedByRequest(updatedByRequest).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `VpnAPI.VpnIpsecProposalsList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -3522,7 +3662,16 @@ Other parameters are passed through a pointer to a apiVpnIpsecProposalsListReque Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authenticationAlgorithm** | **[]string** | | - **authenticationAlgorithmN** | **[]string** | | + **authenticationAlgorithmEmpty** | **bool** | | + **authenticationAlgorithmIc** | [**[]Authentication**](Authentication.md) | * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC | + **authenticationAlgorithmIe** | [**[]Authentication**](Authentication.md) | * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC | + **authenticationAlgorithmIew** | [**[]Authentication**](Authentication.md) | * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC | + **authenticationAlgorithmIsw** | [**[]Authentication**](Authentication.md) | * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC | + **authenticationAlgorithmN** | [**[]Authentication**](Authentication.md) | * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC | + **authenticationAlgorithmNic** | [**[]Authentication**](Authentication.md) | * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC | + **authenticationAlgorithmNie** | [**[]Authentication**](Authentication.md) | * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC | + **authenticationAlgorithmNiew** | [**[]Authentication**](Authentication.md) | * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC | + **authenticationAlgorithmNisw** | [**[]Authentication**](Authentication.md) | * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC | **created** | [**[]time.Time**](time.Time.md) | | **createdEmpty** | [**[]time.Time**](time.Time.md) | | **createdGt** | [**[]time.Time**](time.Time.md) | | @@ -3543,7 +3692,16 @@ Name | Type | Description | Notes **descriptionNiew** | **[]string** | | **descriptionNisw** | **[]string** | | **encryptionAlgorithm** | **[]string** | | - **encryptionAlgorithmN** | **[]string** | | + **encryptionAlgorithmEmpty** | **bool** | | + **encryptionAlgorithmIc** | [**[]Encryption**](Encryption.md) | * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES | + **encryptionAlgorithmIe** | [**[]Encryption**](Encryption.md) | * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES | + **encryptionAlgorithmIew** | [**[]Encryption**](Encryption.md) | * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES | + **encryptionAlgorithmIsw** | [**[]Encryption**](Encryption.md) | * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES | + **encryptionAlgorithmN** | [**[]Encryption**](Encryption.md) | * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES | + **encryptionAlgorithmNic** | [**[]Encryption**](Encryption.md) | * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES | + **encryptionAlgorithmNie** | [**[]Encryption**](Encryption.md) | * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES | + **encryptionAlgorithmNiew** | [**[]Encryption**](Encryption.md) | * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES | + **encryptionAlgorithmNisw** | [**[]Encryption**](Encryption.md) | * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES | **id** | **[]int32** | | **idEmpty** | **bool** | | **idGt** | **[]int32** | | @@ -3849,7 +4007,7 @@ import ( ) func main() { - l2VPNTerminationRequest := []openapiclient.L2VPNTerminationRequest{*openapiclient.NewL2VPNTerminationRequest(*openapiclient.NewL2VPNRequest("Name_example", "Slug_example"))} // []L2VPNTerminationRequest | + l2VPNTerminationRequest := []openapiclient.L2VPNTerminationRequest{*openapiclient.NewL2VPNTerminationRequest(*openapiclient.NewBriefL2VPNRequest("Name_example", "Slug_example"), "AssignedObjectType_example", int64(123))} // []L2VPNTerminationRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -3913,7 +4071,7 @@ import ( ) func main() { - l2VPNTerminationRequest := []openapiclient.L2VPNTerminationRequest{*openapiclient.NewL2VPNTerminationRequest(*openapiclient.NewL2VPNRequest("Name_example", "Slug_example"))} // []L2VPNTerminationRequest | + l2VPNTerminationRequest := []openapiclient.L2VPNTerminationRequest{*openapiclient.NewL2VPNTerminationRequest(*openapiclient.NewBriefL2VPNRequest("Name_example", "Slug_example"), "AssignedObjectType_example", int64(123))} // []L2VPNTerminationRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -3979,7 +4137,7 @@ import ( ) func main() { - l2VPNTerminationRequest := []openapiclient.L2VPNTerminationRequest{*openapiclient.NewL2VPNTerminationRequest(*openapiclient.NewL2VPNRequest("Name_example", "Slug_example"))} // []L2VPNTerminationRequest | + l2VPNTerminationRequest := []openapiclient.L2VPNTerminationRequest{*openapiclient.NewL2VPNTerminationRequest(*openapiclient.NewBriefL2VPNRequest("Name_example", "Slug_example"), "AssignedObjectType_example", int64(123))} // []L2VPNTerminationRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -4045,7 +4203,7 @@ import ( ) func main() { - l2VPNTerminationRequest := *openapiclient.NewL2VPNTerminationRequest(*openapiclient.NewL2VPNRequest("Name_example", "Slug_example")) // L2VPNTerminationRequest | + l2VPNTerminationRequest := *openapiclient.NewL2VPNTerminationRequest(*openapiclient.NewBriefL2VPNRequest("Name_example", "Slug_example"), "AssignedObjectType_example", int64(123)) // L2VPNTerminationRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -4535,7 +4693,7 @@ import ( func main() { id := int32(56) // int32 | A unique integer value identifying this L2VPN termination. - l2VPNTerminationRequest := *openapiclient.NewL2VPNTerminationRequest(*openapiclient.NewL2VPNRequest("Name_example", "Slug_example")) // L2VPNTerminationRequest | + l2VPNTerminationRequest := *openapiclient.NewL2VPNTerminationRequest(*openapiclient.NewBriefL2VPNRequest("Name_example", "Slug_example"), "AssignedObjectType_example", int64(123)) // L2VPNTerminationRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -4802,7 +4960,7 @@ import ( ) func main() { - writableL2VPNRequest := *openapiclient.NewWritableL2VPNRequest("Name_example", "Slug_example", openapiclient.L2VPN_type_value("vpws")) // WritableL2VPNRequest | + writableL2VPNRequest := *openapiclient.NewWritableL2VPNRequest("Name_example", "Slug_example", openapiclient.BriefL2VPN_type_value("vpws")) // WritableL2VPNRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -4917,7 +5075,7 @@ Name | Type | Description | Notes ## VpnL2vpnsList -> PaginatedL2VPNList VpnL2vpnsList(ctx).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).ExportTarget(exportTarget).ExportTargetN(exportTargetN).ExportTargetId(exportTargetId).ExportTargetIdN(exportTargetIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Identifier(identifier).IdentifierEmpty(identifierEmpty).IdentifierGt(identifierGt).IdentifierGte(identifierGte).IdentifierLt(identifierLt).IdentifierLte(identifierLte).IdentifierN(identifierN).ImportTarget(importTarget).ImportTargetN(importTargetN).ImportTargetId(importTargetId).ImportTargetIdN(importTargetIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).Slug(slug).SlugEmpty(slugEmpty).SlugIc(slugIc).SlugIe(slugIe).SlugIew(slugIew).SlugIsw(slugIsw).SlugN(slugN).SlugNic(slugNic).SlugNie(slugNie).SlugNiew(slugNiew).SlugNisw(slugNisw).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).Type_(type_).TypeN(typeN).UpdatedByRequest(updatedByRequest).Execute() +> PaginatedL2VPNList VpnL2vpnsList(ctx).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).ExportTarget(exportTarget).ExportTargetN(exportTargetN).ExportTargetId(exportTargetId).ExportTargetIdN(exportTargetIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Identifier(identifier).IdentifierEmpty(identifierEmpty).IdentifierGt(identifierGt).IdentifierGte(identifierGte).IdentifierLt(identifierLt).IdentifierLte(identifierLte).IdentifierN(identifierN).ImportTarget(importTarget).ImportTargetN(importTargetN).ImportTargetId(importTargetId).ImportTargetIdN(importTargetIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).Slug(slug).SlugEmpty(slugEmpty).SlugIc(slugIc).SlugIe(slugIe).SlugIew(slugIew).SlugIsw(slugIsw).SlugN(slugN).SlugNic(slugNic).SlugNie(slugNie).SlugNiew(slugNiew).SlugNisw(slugNisw).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).Type_(type_).TypeEmpty(typeEmpty).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNisw(typeNisw).UpdatedByRequest(updatedByRequest).Execute() @@ -5016,19 +5174,28 @@ func main() { tagN := []string{"Inner_example"} // []string | (optional) tenant := []string{"Inner_example"} // []string | Tenant (slug) (optional) tenantN := []string{"Inner_example"} // []string | Tenant (slug) (optional) - tenantGroup := []int32{int32(123)} // []int32 | Tenant Group (slug) (optional) - tenantGroupN := []int32{int32(123)} // []int32 | Tenant Group (slug) (optional) - tenantGroupId := []int32{int32(123)} // []int32 | Tenant Group (ID) (optional) - tenantGroupIdN := []int32{int32(123)} // []int32 | Tenant Group (ID) (optional) + tenantGroup := []string{"Inner_example"} // []string | (optional) + tenantGroupN := []string{"Inner_example"} // []string | (optional) + tenantGroupId := []string{"Inner_example"} // []string | (optional) + tenantGroupIdN := []string{"Inner_example"} // []string | (optional) tenantId := []*int32{int32(123)} // []*int32 | Tenant (ID) (optional) tenantIdN := []*int32{int32(123)} // []*int32 | Tenant (ID) (optional) type_ := []string{"Inner_example"} // []string | (optional) - typeN := []string{"Inner_example"} // []string | (optional) + typeEmpty := true // bool | (optional) + typeIc := []openapiclient.VpnL2vpnsListTypeIcParameterInner{openapiclient.vpn_l2vpns_list_type__ic_parameter_inner("ep-lan")} // []VpnL2vpnsListTypeIcParameterInner | * `vpws` - VPWS * `vpls` - VPLS * `vxlan` - VXLAN * `vxlan-evpn` - VXLAN-EVPN * `mpls-evpn` - MPLS EVPN * `pbb-evpn` - PBB EVPN * `epl` - EPL * `evpl` - EVPL * `ep-lan` - Ethernet Private LAN * `evp-lan` - Ethernet Virtual Private LAN * `ep-tree` - Ethernet Private Tree * `evp-tree` - Ethernet Virtual Private Tree (optional) + typeIe := []openapiclient.VpnL2vpnsListTypeIcParameterInner{openapiclient.vpn_l2vpns_list_type__ic_parameter_inner("ep-lan")} // []VpnL2vpnsListTypeIcParameterInner | * `vpws` - VPWS * `vpls` - VPLS * `vxlan` - VXLAN * `vxlan-evpn` - VXLAN-EVPN * `mpls-evpn` - MPLS EVPN * `pbb-evpn` - PBB EVPN * `epl` - EPL * `evpl` - EVPL * `ep-lan` - Ethernet Private LAN * `evp-lan` - Ethernet Virtual Private LAN * `ep-tree` - Ethernet Private Tree * `evp-tree` - Ethernet Virtual Private Tree (optional) + typeIew := []openapiclient.VpnL2vpnsListTypeIcParameterInner{openapiclient.vpn_l2vpns_list_type__ic_parameter_inner("ep-lan")} // []VpnL2vpnsListTypeIcParameterInner | * `vpws` - VPWS * `vpls` - VPLS * `vxlan` - VXLAN * `vxlan-evpn` - VXLAN-EVPN * `mpls-evpn` - MPLS EVPN * `pbb-evpn` - PBB EVPN * `epl` - EPL * `evpl` - EVPL * `ep-lan` - Ethernet Private LAN * `evp-lan` - Ethernet Virtual Private LAN * `ep-tree` - Ethernet Private Tree * `evp-tree` - Ethernet Virtual Private Tree (optional) + typeIsw := []openapiclient.VpnL2vpnsListTypeIcParameterInner{openapiclient.vpn_l2vpns_list_type__ic_parameter_inner("ep-lan")} // []VpnL2vpnsListTypeIcParameterInner | * `vpws` - VPWS * `vpls` - VPLS * `vxlan` - VXLAN * `vxlan-evpn` - VXLAN-EVPN * `mpls-evpn` - MPLS EVPN * `pbb-evpn` - PBB EVPN * `epl` - EPL * `evpl` - EVPL * `ep-lan` - Ethernet Private LAN * `evp-lan` - Ethernet Virtual Private LAN * `ep-tree` - Ethernet Private Tree * `evp-tree` - Ethernet Virtual Private Tree (optional) + typeN := []openapiclient.VpnL2vpnsListTypeIcParameterInner{openapiclient.vpn_l2vpns_list_type__ic_parameter_inner("ep-lan")} // []VpnL2vpnsListTypeIcParameterInner | * `vpws` - VPWS * `vpls` - VPLS * `vxlan` - VXLAN * `vxlan-evpn` - VXLAN-EVPN * `mpls-evpn` - MPLS EVPN * `pbb-evpn` - PBB EVPN * `epl` - EPL * `evpl` - EVPL * `ep-lan` - Ethernet Private LAN * `evp-lan` - Ethernet Virtual Private LAN * `ep-tree` - Ethernet Private Tree * `evp-tree` - Ethernet Virtual Private Tree (optional) + typeNic := []openapiclient.VpnL2vpnsListTypeIcParameterInner{openapiclient.vpn_l2vpns_list_type__ic_parameter_inner("ep-lan")} // []VpnL2vpnsListTypeIcParameterInner | * `vpws` - VPWS * `vpls` - VPLS * `vxlan` - VXLAN * `vxlan-evpn` - VXLAN-EVPN * `mpls-evpn` - MPLS EVPN * `pbb-evpn` - PBB EVPN * `epl` - EPL * `evpl` - EVPL * `ep-lan` - Ethernet Private LAN * `evp-lan` - Ethernet Virtual Private LAN * `ep-tree` - Ethernet Private Tree * `evp-tree` - Ethernet Virtual Private Tree (optional) + typeNie := []openapiclient.VpnL2vpnsListTypeIcParameterInner{openapiclient.vpn_l2vpns_list_type__ic_parameter_inner("ep-lan")} // []VpnL2vpnsListTypeIcParameterInner | * `vpws` - VPWS * `vpls` - VPLS * `vxlan` - VXLAN * `vxlan-evpn` - VXLAN-EVPN * `mpls-evpn` - MPLS EVPN * `pbb-evpn` - PBB EVPN * `epl` - EPL * `evpl` - EVPL * `ep-lan` - Ethernet Private LAN * `evp-lan` - Ethernet Virtual Private LAN * `ep-tree` - Ethernet Private Tree * `evp-tree` - Ethernet Virtual Private Tree (optional) + typeNiew := []openapiclient.VpnL2vpnsListTypeIcParameterInner{openapiclient.vpn_l2vpns_list_type__ic_parameter_inner("ep-lan")} // []VpnL2vpnsListTypeIcParameterInner | * `vpws` - VPWS * `vpls` - VPLS * `vxlan` - VXLAN * `vxlan-evpn` - VXLAN-EVPN * `mpls-evpn` - MPLS EVPN * `pbb-evpn` - PBB EVPN * `epl` - EPL * `evpl` - EVPL * `ep-lan` - Ethernet Private LAN * `evp-lan` - Ethernet Virtual Private LAN * `ep-tree` - Ethernet Private Tree * `evp-tree` - Ethernet Virtual Private Tree (optional) + typeNisw := []openapiclient.VpnL2vpnsListTypeIcParameterInner{openapiclient.vpn_l2vpns_list_type__ic_parameter_inner("ep-lan")} // []VpnL2vpnsListTypeIcParameterInner | * `vpws` - VPWS * `vpls` - VPLS * `vxlan` - VXLAN * `vxlan-evpn` - VXLAN-EVPN * `mpls-evpn` - MPLS EVPN * `pbb-evpn` - PBB EVPN * `epl` - EPL * `evpl` - EVPL * `ep-lan` - Ethernet Private LAN * `evp-lan` - Ethernet Virtual Private LAN * `ep-tree` - Ethernet Private Tree * `evp-tree` - Ethernet Virtual Private Tree (optional) updatedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.VpnAPI.VpnL2vpnsList(context.Background()).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).ExportTarget(exportTarget).ExportTargetN(exportTargetN).ExportTargetId(exportTargetId).ExportTargetIdN(exportTargetIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Identifier(identifier).IdentifierEmpty(identifierEmpty).IdentifierGt(identifierGt).IdentifierGte(identifierGte).IdentifierLt(identifierLt).IdentifierLte(identifierLte).IdentifierN(identifierN).ImportTarget(importTarget).ImportTargetN(importTargetN).ImportTargetId(importTargetId).ImportTargetIdN(importTargetIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).Slug(slug).SlugEmpty(slugEmpty).SlugIc(slugIc).SlugIe(slugIe).SlugIew(slugIew).SlugIsw(slugIsw).SlugN(slugN).SlugNic(slugNic).SlugNie(slugNie).SlugNiew(slugNiew).SlugNisw(slugNisw).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).Type_(type_).TypeN(typeN).UpdatedByRequest(updatedByRequest).Execute() + resp, r, err := apiClient.VpnAPI.VpnL2vpnsList(context.Background()).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).ExportTarget(exportTarget).ExportTargetN(exportTargetN).ExportTargetId(exportTargetId).ExportTargetIdN(exportTargetIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Identifier(identifier).IdentifierEmpty(identifierEmpty).IdentifierGt(identifierGt).IdentifierGte(identifierGte).IdentifierLt(identifierLt).IdentifierLte(identifierLte).IdentifierN(identifierN).ImportTarget(importTarget).ImportTargetN(importTargetN).ImportTargetId(importTargetId).ImportTargetIdN(importTargetIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).Slug(slug).SlugEmpty(slugEmpty).SlugIc(slugIc).SlugIe(slugIe).SlugIew(slugIew).SlugIsw(slugIsw).SlugN(slugN).SlugNic(slugNic).SlugNie(slugNie).SlugNiew(slugNiew).SlugNisw(slugNisw).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).Type_(type_).TypeEmpty(typeEmpty).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNisw(typeNisw).UpdatedByRequest(updatedByRequest).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `VpnAPI.VpnL2vpnsList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -5128,14 +5295,23 @@ Name | Type | Description | Notes **tagN** | **[]string** | | **tenant** | **[]string** | Tenant (slug) | **tenantN** | **[]string** | Tenant (slug) | - **tenantGroup** | **[]int32** | Tenant Group (slug) | - **tenantGroupN** | **[]int32** | Tenant Group (slug) | - **tenantGroupId** | **[]int32** | Tenant Group (ID) | - **tenantGroupIdN** | **[]int32** | Tenant Group (ID) | + **tenantGroup** | **[]string** | | + **tenantGroupN** | **[]string** | | + **tenantGroupId** | **[]string** | | + **tenantGroupIdN** | **[]string** | | **tenantId** | **[]int32** | Tenant (ID) | **tenantIdN** | **[]int32** | Tenant (ID) | **type_** | **[]string** | | - **typeN** | **[]string** | | + **typeEmpty** | **bool** | | + **typeIc** | [**[]VpnL2vpnsListTypeIcParameterInner**](VpnL2vpnsListTypeIcParameterInner.md) | * `vpws` - VPWS * `vpls` - VPLS * `vxlan` - VXLAN * `vxlan-evpn` - VXLAN-EVPN * `mpls-evpn` - MPLS EVPN * `pbb-evpn` - PBB EVPN * `epl` - EPL * `evpl` - EVPL * `ep-lan` - Ethernet Private LAN * `evp-lan` - Ethernet Virtual Private LAN * `ep-tree` - Ethernet Private Tree * `evp-tree` - Ethernet Virtual Private Tree | + **typeIe** | [**[]VpnL2vpnsListTypeIcParameterInner**](VpnL2vpnsListTypeIcParameterInner.md) | * `vpws` - VPWS * `vpls` - VPLS * `vxlan` - VXLAN * `vxlan-evpn` - VXLAN-EVPN * `mpls-evpn` - MPLS EVPN * `pbb-evpn` - PBB EVPN * `epl` - EPL * `evpl` - EVPL * `ep-lan` - Ethernet Private LAN * `evp-lan` - Ethernet Virtual Private LAN * `ep-tree` - Ethernet Private Tree * `evp-tree` - Ethernet Virtual Private Tree | + **typeIew** | [**[]VpnL2vpnsListTypeIcParameterInner**](VpnL2vpnsListTypeIcParameterInner.md) | * `vpws` - VPWS * `vpls` - VPLS * `vxlan` - VXLAN * `vxlan-evpn` - VXLAN-EVPN * `mpls-evpn` - MPLS EVPN * `pbb-evpn` - PBB EVPN * `epl` - EPL * `evpl` - EVPL * `ep-lan` - Ethernet Private LAN * `evp-lan` - Ethernet Virtual Private LAN * `ep-tree` - Ethernet Private Tree * `evp-tree` - Ethernet Virtual Private Tree | + **typeIsw** | [**[]VpnL2vpnsListTypeIcParameterInner**](VpnL2vpnsListTypeIcParameterInner.md) | * `vpws` - VPWS * `vpls` - VPLS * `vxlan` - VXLAN * `vxlan-evpn` - VXLAN-EVPN * `mpls-evpn` - MPLS EVPN * `pbb-evpn` - PBB EVPN * `epl` - EPL * `evpl` - EVPL * `ep-lan` - Ethernet Private LAN * `evp-lan` - Ethernet Virtual Private LAN * `ep-tree` - Ethernet Private Tree * `evp-tree` - Ethernet Virtual Private Tree | + **typeN** | [**[]VpnL2vpnsListTypeIcParameterInner**](VpnL2vpnsListTypeIcParameterInner.md) | * `vpws` - VPWS * `vpls` - VPLS * `vxlan` - VXLAN * `vxlan-evpn` - VXLAN-EVPN * `mpls-evpn` - MPLS EVPN * `pbb-evpn` - PBB EVPN * `epl` - EPL * `evpl` - EVPL * `ep-lan` - Ethernet Private LAN * `evp-lan` - Ethernet Virtual Private LAN * `ep-tree` - Ethernet Private Tree * `evp-tree` - Ethernet Virtual Private Tree | + **typeNic** | [**[]VpnL2vpnsListTypeIcParameterInner**](VpnL2vpnsListTypeIcParameterInner.md) | * `vpws` - VPWS * `vpls` - VPLS * `vxlan` - VXLAN * `vxlan-evpn` - VXLAN-EVPN * `mpls-evpn` - MPLS EVPN * `pbb-evpn` - PBB EVPN * `epl` - EPL * `evpl` - EVPL * `ep-lan` - Ethernet Private LAN * `evp-lan` - Ethernet Virtual Private LAN * `ep-tree` - Ethernet Private Tree * `evp-tree` - Ethernet Virtual Private Tree | + **typeNie** | [**[]VpnL2vpnsListTypeIcParameterInner**](VpnL2vpnsListTypeIcParameterInner.md) | * `vpws` - VPWS * `vpls` - VPLS * `vxlan` - VXLAN * `vxlan-evpn` - VXLAN-EVPN * `mpls-evpn` - MPLS EVPN * `pbb-evpn` - PBB EVPN * `epl` - EPL * `evpl` - EVPL * `ep-lan` - Ethernet Private LAN * `evp-lan` - Ethernet Virtual Private LAN * `ep-tree` - Ethernet Private Tree * `evp-tree` - Ethernet Virtual Private Tree | + **typeNiew** | [**[]VpnL2vpnsListTypeIcParameterInner**](VpnL2vpnsListTypeIcParameterInner.md) | * `vpws` - VPWS * `vpls` - VPLS * `vxlan` - VXLAN * `vxlan-evpn` - VXLAN-EVPN * `mpls-evpn` - MPLS EVPN * `pbb-evpn` - PBB EVPN * `epl` - EPL * `evpl` - EVPL * `ep-lan` - Ethernet Private LAN * `evp-lan` - Ethernet Virtual Private LAN * `ep-tree` - Ethernet Private Tree * `evp-tree` - Ethernet Virtual Private Tree | + **typeNisw** | [**[]VpnL2vpnsListTypeIcParameterInner**](VpnL2vpnsListTypeIcParameterInner.md) | * `vpws` - VPWS * `vpls` - VPLS * `vxlan` - VXLAN * `vxlan-evpn` - VXLAN-EVPN * `mpls-evpn` - MPLS EVPN * `pbb-evpn` - PBB EVPN * `epl` - EPL * `evpl` - EVPL * `ep-lan` - Ethernet Private LAN * `evp-lan` - Ethernet Virtual Private LAN * `ep-tree` - Ethernet Private Tree * `evp-tree` - Ethernet Virtual Private Tree | **updatedByRequest** | **string** | | ### Return type @@ -5320,7 +5496,7 @@ import ( func main() { id := int32(56) // int32 | A unique integer value identifying this L2VPN. - writableL2VPNRequest := *openapiclient.NewWritableL2VPNRequest("Name_example", "Slug_example", openapiclient.L2VPN_type_value("vpws")) // WritableL2VPNRequest | + writableL2VPNRequest := *openapiclient.NewWritableL2VPNRequest("Name_example", "Slug_example", openapiclient.BriefL2VPN_type_value("vpws")) // WritableL2VPNRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -6126,7 +6302,7 @@ import ( ) func main() { - tunnelTerminationRequest := []openapiclient.TunnelTerminationRequest{*openapiclient.NewTunnelTerminationRequest(*openapiclient.NewTunnelRequest("Name_example"), openapiclient.PatchedWritableTunnelTerminationRequest_role("peer"), "TerminationType_example", NullableInt64(123))} // []TunnelTerminationRequest | + tunnelTerminationRequest := []openapiclient.TunnelTerminationRequest{*openapiclient.NewTunnelTerminationRequest(*openapiclient.NewBriefTunnelRequest("Name_example"), openapiclient.PatchedWritableTunnelTerminationRequest_role("peer"), "TerminationType_example", NullableInt64(123))} // []TunnelTerminationRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -6190,7 +6366,7 @@ import ( ) func main() { - tunnelTerminationRequest := []openapiclient.TunnelTerminationRequest{*openapiclient.NewTunnelTerminationRequest(*openapiclient.NewTunnelRequest("Name_example"), openapiclient.PatchedWritableTunnelTerminationRequest_role("peer"), "TerminationType_example", NullableInt64(123))} // []TunnelTerminationRequest | + tunnelTerminationRequest := []openapiclient.TunnelTerminationRequest{*openapiclient.NewTunnelTerminationRequest(*openapiclient.NewBriefTunnelRequest("Name_example"), openapiclient.PatchedWritableTunnelTerminationRequest_role("peer"), "TerminationType_example", NullableInt64(123))} // []TunnelTerminationRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -6256,7 +6432,7 @@ import ( ) func main() { - tunnelTerminationRequest := []openapiclient.TunnelTerminationRequest{*openapiclient.NewTunnelTerminationRequest(*openapiclient.NewTunnelRequest("Name_example"), openapiclient.PatchedWritableTunnelTerminationRequest_role("peer"), "TerminationType_example", NullableInt64(123))} // []TunnelTerminationRequest | + tunnelTerminationRequest := []openapiclient.TunnelTerminationRequest{*openapiclient.NewTunnelTerminationRequest(*openapiclient.NewBriefTunnelRequest("Name_example"), openapiclient.PatchedWritableTunnelTerminationRequest_role("peer"), "TerminationType_example", NullableInt64(123))} // []TunnelTerminationRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -6322,7 +6498,7 @@ import ( ) func main() { - writableTunnelTerminationRequest := *openapiclient.NewWritableTunnelTerminationRequest(*openapiclient.NewTunnelRequest("Name_example"), "TerminationType_example", NullableInt64(123)) // WritableTunnelTerminationRequest | + writableTunnelTerminationRequest := *openapiclient.NewWritableTunnelTerminationRequest(*openapiclient.NewBriefTunnelRequest("Name_example"), "TerminationType_example", NullableInt64(123)) // WritableTunnelTerminationRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -6437,7 +6613,7 @@ Name | Type | Description | Notes ## VpnTunnelTerminationsList -> PaginatedTunnelTerminationList VpnTunnelTerminationsList(ctx).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Interface_(interface_).InterfaceN(interfaceN).InterfaceId(interfaceId).InterfaceIdN(interfaceIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Offset(offset).Ordering(ordering).OutsideIpId(outsideIpId).OutsideIpIdN(outsideIpIdN).Q(q).Role(role).RoleN(roleN).Tag(tag).TagN(tagN).TerminationId(terminationId).TerminationIdEmpty(terminationIdEmpty).TerminationIdGt(terminationIdGt).TerminationIdGte(terminationIdGte).TerminationIdLt(terminationIdLt).TerminationIdLte(terminationIdLte).TerminationIdN(terminationIdN).TerminationType(terminationType).TerminationTypeN(terminationTypeN).Tunnel(tunnel).TunnelN(tunnelN).TunnelId(tunnelId).TunnelIdN(tunnelIdN).UpdatedByRequest(updatedByRequest).Vminterface(vminterface).VminterfaceN(vminterfaceN).VminterfaceId(vminterfaceId).VminterfaceIdN(vminterfaceIdN).Execute() +> PaginatedTunnelTerminationList VpnTunnelTerminationsList(ctx).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Interface_(interface_).InterfaceN(interfaceN).InterfaceId(interfaceId).InterfaceIdN(interfaceIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Offset(offset).Ordering(ordering).OutsideIpId(outsideIpId).OutsideIpIdN(outsideIpIdN).Q(q).Role(role).RoleEmpty(roleEmpty).RoleIc(roleIc).RoleIe(roleIe).RoleIew(roleIew).RoleIsw(roleIsw).RoleN(roleN).RoleNic(roleNic).RoleNie(roleNie).RoleNiew(roleNiew).RoleNisw(roleNisw).Tag(tag).TagN(tagN).TerminationId(terminationId).TerminationIdEmpty(terminationIdEmpty).TerminationIdGt(terminationIdGt).TerminationIdGte(terminationIdGte).TerminationIdLt(terminationIdLt).TerminationIdLte(terminationIdLte).TerminationIdN(terminationIdN).TerminationType(terminationType).TerminationTypeN(terminationTypeN).Tunnel(tunnel).TunnelN(tunnelN).TunnelId(tunnelId).TunnelIdN(tunnelIdN).UpdatedByRequest(updatedByRequest).Vminterface(vminterface).VminterfaceN(vminterfaceN).VminterfaceId(vminterfaceId).VminterfaceIdN(vminterfaceIdN).Execute() @@ -6491,7 +6667,16 @@ func main() { outsideIpIdN := []int32{int32(123)} // []int32 | Outside IP (ID) (optional) q := "q_example" // string | Search (optional) role := []string{"Inner_example"} // []string | (optional) - roleN := []string{"Inner_example"} // []string | (optional) + roleEmpty := true // bool | (optional) + roleIc := []openapiclient.VpnTunnelTerminationsListRoleIcParameterInner{openapiclient.vpn_tunnel_terminations_list_role__ic_parameter_inner("hub")} // []VpnTunnelTerminationsListRoleIcParameterInner | * `peer` - Peer * `hub` - Hub * `spoke` - Spoke (optional) + roleIe := []openapiclient.VpnTunnelTerminationsListRoleIcParameterInner{openapiclient.vpn_tunnel_terminations_list_role__ic_parameter_inner("hub")} // []VpnTunnelTerminationsListRoleIcParameterInner | * `peer` - Peer * `hub` - Hub * `spoke` - Spoke (optional) + roleIew := []openapiclient.VpnTunnelTerminationsListRoleIcParameterInner{openapiclient.vpn_tunnel_terminations_list_role__ic_parameter_inner("hub")} // []VpnTunnelTerminationsListRoleIcParameterInner | * `peer` - Peer * `hub` - Hub * `spoke` - Spoke (optional) + roleIsw := []openapiclient.VpnTunnelTerminationsListRoleIcParameterInner{openapiclient.vpn_tunnel_terminations_list_role__ic_parameter_inner("hub")} // []VpnTunnelTerminationsListRoleIcParameterInner | * `peer` - Peer * `hub` - Hub * `spoke` - Spoke (optional) + roleN := []openapiclient.VpnTunnelTerminationsListRoleIcParameterInner{openapiclient.vpn_tunnel_terminations_list_role__ic_parameter_inner("hub")} // []VpnTunnelTerminationsListRoleIcParameterInner | * `peer` - Peer * `hub` - Hub * `spoke` - Spoke (optional) + roleNic := []openapiclient.VpnTunnelTerminationsListRoleIcParameterInner{openapiclient.vpn_tunnel_terminations_list_role__ic_parameter_inner("hub")} // []VpnTunnelTerminationsListRoleIcParameterInner | * `peer` - Peer * `hub` - Hub * `spoke` - Spoke (optional) + roleNie := []openapiclient.VpnTunnelTerminationsListRoleIcParameterInner{openapiclient.vpn_tunnel_terminations_list_role__ic_parameter_inner("hub")} // []VpnTunnelTerminationsListRoleIcParameterInner | * `peer` - Peer * `hub` - Hub * `spoke` - Spoke (optional) + roleNiew := []openapiclient.VpnTunnelTerminationsListRoleIcParameterInner{openapiclient.vpn_tunnel_terminations_list_role__ic_parameter_inner("hub")} // []VpnTunnelTerminationsListRoleIcParameterInner | * `peer` - Peer * `hub` - Hub * `spoke` - Spoke (optional) + roleNisw := []openapiclient.VpnTunnelTerminationsListRoleIcParameterInner{openapiclient.vpn_tunnel_terminations_list_role__ic_parameter_inner("hub")} // []VpnTunnelTerminationsListRoleIcParameterInner | * `peer` - Peer * `hub` - Hub * `spoke` - Spoke (optional) tag := []string{"Inner_example"} // []string | (optional) tagN := []string{"Inner_example"} // []string | (optional) terminationId := []int32{int32(123)} // []int32 | (optional) @@ -6515,7 +6700,7 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.VpnAPI.VpnTunnelTerminationsList(context.Background()).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Interface_(interface_).InterfaceN(interfaceN).InterfaceId(interfaceId).InterfaceIdN(interfaceIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Offset(offset).Ordering(ordering).OutsideIpId(outsideIpId).OutsideIpIdN(outsideIpIdN).Q(q).Role(role).RoleN(roleN).Tag(tag).TagN(tagN).TerminationId(terminationId).TerminationIdEmpty(terminationIdEmpty).TerminationIdGt(terminationIdGt).TerminationIdGte(terminationIdGte).TerminationIdLt(terminationIdLt).TerminationIdLte(terminationIdLte).TerminationIdN(terminationIdN).TerminationType(terminationType).TerminationTypeN(terminationTypeN).Tunnel(tunnel).TunnelN(tunnelN).TunnelId(tunnelId).TunnelIdN(tunnelIdN).UpdatedByRequest(updatedByRequest).Vminterface(vminterface).VminterfaceN(vminterfaceN).VminterfaceId(vminterfaceId).VminterfaceIdN(vminterfaceIdN).Execute() + resp, r, err := apiClient.VpnAPI.VpnTunnelTerminationsList(context.Background()).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Interface_(interface_).InterfaceN(interfaceN).InterfaceId(interfaceId).InterfaceIdN(interfaceIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Offset(offset).Ordering(ordering).OutsideIpId(outsideIpId).OutsideIpIdN(outsideIpIdN).Q(q).Role(role).RoleEmpty(roleEmpty).RoleIc(roleIc).RoleIe(roleIe).RoleIew(roleIew).RoleIsw(roleIsw).RoleN(roleN).RoleNic(roleNic).RoleNie(roleNie).RoleNiew(roleNiew).RoleNisw(roleNisw).Tag(tag).TagN(tagN).TerminationId(terminationId).TerminationIdEmpty(terminationIdEmpty).TerminationIdGt(terminationIdGt).TerminationIdGte(terminationIdGte).TerminationIdLt(terminationIdLt).TerminationIdLte(terminationIdLte).TerminationIdN(terminationIdN).TerminationType(terminationType).TerminationTypeN(terminationTypeN).Tunnel(tunnel).TunnelN(tunnelN).TunnelId(tunnelId).TunnelIdN(tunnelIdN).UpdatedByRequest(updatedByRequest).Vminterface(vminterface).VminterfaceN(vminterfaceN).VminterfaceId(vminterfaceId).VminterfaceIdN(vminterfaceIdN).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `VpnAPI.VpnTunnelTerminationsList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -6570,7 +6755,16 @@ Name | Type | Description | Notes **outsideIpIdN** | **[]int32** | Outside IP (ID) | **q** | **string** | Search | **role** | **[]string** | | - **roleN** | **[]string** | | + **roleEmpty** | **bool** | | + **roleIc** | [**[]VpnTunnelTerminationsListRoleIcParameterInner**](VpnTunnelTerminationsListRoleIcParameterInner.md) | * `peer` - Peer * `hub` - Hub * `spoke` - Spoke | + **roleIe** | [**[]VpnTunnelTerminationsListRoleIcParameterInner**](VpnTunnelTerminationsListRoleIcParameterInner.md) | * `peer` - Peer * `hub` - Hub * `spoke` - Spoke | + **roleIew** | [**[]VpnTunnelTerminationsListRoleIcParameterInner**](VpnTunnelTerminationsListRoleIcParameterInner.md) | * `peer` - Peer * `hub` - Hub * `spoke` - Spoke | + **roleIsw** | [**[]VpnTunnelTerminationsListRoleIcParameterInner**](VpnTunnelTerminationsListRoleIcParameterInner.md) | * `peer` - Peer * `hub` - Hub * `spoke` - Spoke | + **roleN** | [**[]VpnTunnelTerminationsListRoleIcParameterInner**](VpnTunnelTerminationsListRoleIcParameterInner.md) | * `peer` - Peer * `hub` - Hub * `spoke` - Spoke | + **roleNic** | [**[]VpnTunnelTerminationsListRoleIcParameterInner**](VpnTunnelTerminationsListRoleIcParameterInner.md) | * `peer` - Peer * `hub` - Hub * `spoke` - Spoke | + **roleNie** | [**[]VpnTunnelTerminationsListRoleIcParameterInner**](VpnTunnelTerminationsListRoleIcParameterInner.md) | * `peer` - Peer * `hub` - Hub * `spoke` - Spoke | + **roleNiew** | [**[]VpnTunnelTerminationsListRoleIcParameterInner**](VpnTunnelTerminationsListRoleIcParameterInner.md) | * `peer` - Peer * `hub` - Hub * `spoke` - Spoke | + **roleNisw** | [**[]VpnTunnelTerminationsListRoleIcParameterInner**](VpnTunnelTerminationsListRoleIcParameterInner.md) | * `peer` - Peer * `hub` - Hub * `spoke` - Spoke | **tag** | **[]string** | | **tagN** | **[]string** | | **terminationId** | **[]int32** | | @@ -6774,7 +6968,7 @@ import ( func main() { id := int32(56) // int32 | A unique integer value identifying this tunnel termination. - writableTunnelTerminationRequest := *openapiclient.NewWritableTunnelTerminationRequest(*openapiclient.NewTunnelRequest("Name_example"), "TerminationType_example", NullableInt64(123)) // WritableTunnelTerminationRequest | + writableTunnelTerminationRequest := *openapiclient.NewWritableTunnelTerminationRequest(*openapiclient.NewBriefTunnelRequest("Name_example"), "TerminationType_example", NullableInt64(123)) // WritableTunnelTerminationRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -6845,7 +7039,7 @@ import ( ) func main() { - tunnelRequest := []openapiclient.TunnelRequest{*openapiclient.NewTunnelRequest("Name_example")} // []TunnelRequest | + tunnelRequest := []openapiclient.TunnelRequest{*openapiclient.NewTunnelRequest("Name_example", openapiclient.PatchedWritableTunnelRequest_status("planned"), openapiclient.PatchedWritableTunnelRequest_encapsulation("ipsec-transport"))} // []TunnelRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -6909,7 +7103,7 @@ import ( ) func main() { - tunnelRequest := []openapiclient.TunnelRequest{*openapiclient.NewTunnelRequest("Name_example")} // []TunnelRequest | + tunnelRequest := []openapiclient.TunnelRequest{*openapiclient.NewTunnelRequest("Name_example", openapiclient.PatchedWritableTunnelRequest_status("planned"), openapiclient.PatchedWritableTunnelRequest_encapsulation("ipsec-transport"))} // []TunnelRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -6975,7 +7169,7 @@ import ( ) func main() { - tunnelRequest := []openapiclient.TunnelRequest{*openapiclient.NewTunnelRequest("Name_example")} // []TunnelRequest | + tunnelRequest := []openapiclient.TunnelRequest{*openapiclient.NewTunnelRequest("Name_example", openapiclient.PatchedWritableTunnelRequest_status("planned"), openapiclient.PatchedWritableTunnelRequest_encapsulation("ipsec-transport"))} // []TunnelRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -7156,7 +7350,7 @@ Name | Type | Description | Notes ## VpnTunnelsList -> PaginatedTunnelList VpnTunnelsList(ctx).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Encapsulation(encapsulation).EncapsulationN(encapsulationN).Group(group).GroupN(groupN).GroupId(groupId).GroupIdN(groupIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).IpsecProfile(ipsecProfile).IpsecProfileN(ipsecProfileN).IpsecProfileId(ipsecProfileId).IpsecProfileIdN(ipsecProfileIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).Status(status).StatusN(statusN).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).TunnelId(tunnelId).TunnelIdEmpty(tunnelIdEmpty).TunnelIdGt(tunnelIdGt).TunnelIdGte(tunnelIdGte).TunnelIdLt(tunnelIdLt).TunnelIdLte(tunnelIdLte).TunnelIdN(tunnelIdN).UpdatedByRequest(updatedByRequest).Execute() +> PaginatedTunnelList VpnTunnelsList(ctx).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Encapsulation(encapsulation).EncapsulationEmpty(encapsulationEmpty).EncapsulationIc(encapsulationIc).EncapsulationIe(encapsulationIe).EncapsulationIew(encapsulationIew).EncapsulationIsw(encapsulationIsw).EncapsulationN(encapsulationN).EncapsulationNic(encapsulationNic).EncapsulationNie(encapsulationNie).EncapsulationNiew(encapsulationNiew).EncapsulationNisw(encapsulationNisw).Group(group).GroupN(groupN).GroupId(groupId).GroupIdN(groupIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).IpsecProfile(ipsecProfile).IpsecProfileN(ipsecProfileN).IpsecProfileId(ipsecProfileId).IpsecProfileIdN(ipsecProfileIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).Status(status).StatusEmpty(statusEmpty).StatusIc(statusIc).StatusIe(statusIe).StatusIew(statusIew).StatusIsw(statusIsw).StatusN(statusN).StatusNic(statusNic).StatusNie(statusNie).StatusNiew(statusNiew).StatusNisw(statusNisw).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).TunnelId(tunnelId).TunnelIdEmpty(tunnelIdEmpty).TunnelIdGt(tunnelIdGt).TunnelIdGte(tunnelIdGte).TunnelIdLt(tunnelIdLt).TunnelIdLte(tunnelIdLte).TunnelIdN(tunnelIdN).UpdatedByRequest(updatedByRequest).Execute() @@ -7196,7 +7390,16 @@ func main() { descriptionNiew := []string{"Inner_example"} // []string | (optional) descriptionNisw := []string{"Inner_example"} // []string | (optional) encapsulation := []string{"Inner_example"} // []string | (optional) - encapsulationN := []string{"Inner_example"} // []string | (optional) + encapsulationEmpty := true // bool | (optional) + encapsulationIc := []openapiclient.VpnTunnelsListEncapsulationIcParameterInner{openapiclient.vpn_tunnels_list_encapsulation__ic_parameter_inner("gre")} // []VpnTunnelsListEncapsulationIcParameterInner | * `ipsec-transport` - IPsec - Transport * `ipsec-tunnel` - IPsec - Tunnel * `ip-ip` - IP-in-IP * `gre` - GRE (optional) + encapsulationIe := []openapiclient.VpnTunnelsListEncapsulationIcParameterInner{openapiclient.vpn_tunnels_list_encapsulation__ic_parameter_inner("gre")} // []VpnTunnelsListEncapsulationIcParameterInner | * `ipsec-transport` - IPsec - Transport * `ipsec-tunnel` - IPsec - Tunnel * `ip-ip` - IP-in-IP * `gre` - GRE (optional) + encapsulationIew := []openapiclient.VpnTunnelsListEncapsulationIcParameterInner{openapiclient.vpn_tunnels_list_encapsulation__ic_parameter_inner("gre")} // []VpnTunnelsListEncapsulationIcParameterInner | * `ipsec-transport` - IPsec - Transport * `ipsec-tunnel` - IPsec - Tunnel * `ip-ip` - IP-in-IP * `gre` - GRE (optional) + encapsulationIsw := []openapiclient.VpnTunnelsListEncapsulationIcParameterInner{openapiclient.vpn_tunnels_list_encapsulation__ic_parameter_inner("gre")} // []VpnTunnelsListEncapsulationIcParameterInner | * `ipsec-transport` - IPsec - Transport * `ipsec-tunnel` - IPsec - Tunnel * `ip-ip` - IP-in-IP * `gre` - GRE (optional) + encapsulationN := []openapiclient.VpnTunnelsListEncapsulationIcParameterInner{openapiclient.vpn_tunnels_list_encapsulation__ic_parameter_inner("gre")} // []VpnTunnelsListEncapsulationIcParameterInner | * `ipsec-transport` - IPsec - Transport * `ipsec-tunnel` - IPsec - Tunnel * `ip-ip` - IP-in-IP * `gre` - GRE (optional) + encapsulationNic := []openapiclient.VpnTunnelsListEncapsulationIcParameterInner{openapiclient.vpn_tunnels_list_encapsulation__ic_parameter_inner("gre")} // []VpnTunnelsListEncapsulationIcParameterInner | * `ipsec-transport` - IPsec - Transport * `ipsec-tunnel` - IPsec - Tunnel * `ip-ip` - IP-in-IP * `gre` - GRE (optional) + encapsulationNie := []openapiclient.VpnTunnelsListEncapsulationIcParameterInner{openapiclient.vpn_tunnels_list_encapsulation__ic_parameter_inner("gre")} // []VpnTunnelsListEncapsulationIcParameterInner | * `ipsec-transport` - IPsec - Transport * `ipsec-tunnel` - IPsec - Tunnel * `ip-ip` - IP-in-IP * `gre` - GRE (optional) + encapsulationNiew := []openapiclient.VpnTunnelsListEncapsulationIcParameterInner{openapiclient.vpn_tunnels_list_encapsulation__ic_parameter_inner("gre")} // []VpnTunnelsListEncapsulationIcParameterInner | * `ipsec-transport` - IPsec - Transport * `ipsec-tunnel` - IPsec - Tunnel * `ip-ip` - IP-in-IP * `gre` - GRE (optional) + encapsulationNisw := []openapiclient.VpnTunnelsListEncapsulationIcParameterInner{openapiclient.vpn_tunnels_list_encapsulation__ic_parameter_inner("gre")} // []VpnTunnelsListEncapsulationIcParameterInner | * `ipsec-transport` - IPsec - Transport * `ipsec-tunnel` - IPsec - Tunnel * `ip-ip` - IP-in-IP * `gre` - GRE (optional) group := []string{"Inner_example"} // []string | Tunnel group (slug) (optional) groupN := []string{"Inner_example"} // []string | Tunnel group (slug) (optional) groupId := []*int32{int32(123)} // []*int32 | Tunnel group (ID) (optional) @@ -7236,15 +7439,24 @@ func main() { ordering := "ordering_example" // string | Which field to use when ordering the results. (optional) q := "q_example" // string | Search (optional) status := []string{"Inner_example"} // []string | (optional) - statusN := []string{"Inner_example"} // []string | (optional) + statusEmpty := true // bool | (optional) + statusIc := []openapiclient.VpnTunnelsListStatusIcParameterInner{openapiclient.vpn_tunnels_list_status__ic_parameter_inner("active")} // []VpnTunnelsListStatusIcParameterInner | * `planned` - Planned * `active` - Active * `disabled` - Disabled (optional) + statusIe := []openapiclient.VpnTunnelsListStatusIcParameterInner{openapiclient.vpn_tunnels_list_status__ic_parameter_inner("active")} // []VpnTunnelsListStatusIcParameterInner | * `planned` - Planned * `active` - Active * `disabled` - Disabled (optional) + statusIew := []openapiclient.VpnTunnelsListStatusIcParameterInner{openapiclient.vpn_tunnels_list_status__ic_parameter_inner("active")} // []VpnTunnelsListStatusIcParameterInner | * `planned` - Planned * `active` - Active * `disabled` - Disabled (optional) + statusIsw := []openapiclient.VpnTunnelsListStatusIcParameterInner{openapiclient.vpn_tunnels_list_status__ic_parameter_inner("active")} // []VpnTunnelsListStatusIcParameterInner | * `planned` - Planned * `active` - Active * `disabled` - Disabled (optional) + statusN := []openapiclient.VpnTunnelsListStatusIcParameterInner{openapiclient.vpn_tunnels_list_status__ic_parameter_inner("active")} // []VpnTunnelsListStatusIcParameterInner | * `planned` - Planned * `active` - Active * `disabled` - Disabled (optional) + statusNic := []openapiclient.VpnTunnelsListStatusIcParameterInner{openapiclient.vpn_tunnels_list_status__ic_parameter_inner("active")} // []VpnTunnelsListStatusIcParameterInner | * `planned` - Planned * `active` - Active * `disabled` - Disabled (optional) + statusNie := []openapiclient.VpnTunnelsListStatusIcParameterInner{openapiclient.vpn_tunnels_list_status__ic_parameter_inner("active")} // []VpnTunnelsListStatusIcParameterInner | * `planned` - Planned * `active` - Active * `disabled` - Disabled (optional) + statusNiew := []openapiclient.VpnTunnelsListStatusIcParameterInner{openapiclient.vpn_tunnels_list_status__ic_parameter_inner("active")} // []VpnTunnelsListStatusIcParameterInner | * `planned` - Planned * `active` - Active * `disabled` - Disabled (optional) + statusNisw := []openapiclient.VpnTunnelsListStatusIcParameterInner{openapiclient.vpn_tunnels_list_status__ic_parameter_inner("active")} // []VpnTunnelsListStatusIcParameterInner | * `planned` - Planned * `active` - Active * `disabled` - Disabled (optional) tag := []string{"Inner_example"} // []string | (optional) tagN := []string{"Inner_example"} // []string | (optional) tenant := []string{"Inner_example"} // []string | Tenant (slug) (optional) tenantN := []string{"Inner_example"} // []string | Tenant (slug) (optional) - tenantGroup := []int32{int32(123)} // []int32 | Tenant Group (slug) (optional) - tenantGroupN := []int32{int32(123)} // []int32 | Tenant Group (slug) (optional) - tenantGroupId := []int32{int32(123)} // []int32 | Tenant Group (ID) (optional) - tenantGroupIdN := []int32{int32(123)} // []int32 | Tenant Group (ID) (optional) + tenantGroup := []string{"Inner_example"} // []string | (optional) + tenantGroupN := []string{"Inner_example"} // []string | (optional) + tenantGroupId := []string{"Inner_example"} // []string | (optional) + tenantGroupIdN := []string{"Inner_example"} // []string | (optional) tenantId := []*int32{int32(123)} // []*int32 | Tenant (ID) (optional) tenantIdN := []*int32{int32(123)} // []*int32 | Tenant (ID) (optional) tunnelId := []int32{int32(123)} // []int32 | (optional) @@ -7258,7 +7470,7 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.VpnAPI.VpnTunnelsList(context.Background()).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Encapsulation(encapsulation).EncapsulationN(encapsulationN).Group(group).GroupN(groupN).GroupId(groupId).GroupIdN(groupIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).IpsecProfile(ipsecProfile).IpsecProfileN(ipsecProfileN).IpsecProfileId(ipsecProfileId).IpsecProfileIdN(ipsecProfileIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).Status(status).StatusN(statusN).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).TunnelId(tunnelId).TunnelIdEmpty(tunnelIdEmpty).TunnelIdGt(tunnelIdGt).TunnelIdGte(tunnelIdGte).TunnelIdLt(tunnelIdLt).TunnelIdLte(tunnelIdLte).TunnelIdN(tunnelIdN).UpdatedByRequest(updatedByRequest).Execute() + resp, r, err := apiClient.VpnAPI.VpnTunnelsList(context.Background()).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Encapsulation(encapsulation).EncapsulationEmpty(encapsulationEmpty).EncapsulationIc(encapsulationIc).EncapsulationIe(encapsulationIe).EncapsulationIew(encapsulationIew).EncapsulationIsw(encapsulationIsw).EncapsulationN(encapsulationN).EncapsulationNic(encapsulationNic).EncapsulationNie(encapsulationNie).EncapsulationNiew(encapsulationNiew).EncapsulationNisw(encapsulationNisw).Group(group).GroupN(groupN).GroupId(groupId).GroupIdN(groupIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).IpsecProfile(ipsecProfile).IpsecProfileN(ipsecProfileN).IpsecProfileId(ipsecProfileId).IpsecProfileIdN(ipsecProfileIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Name(name).NameEmpty(nameEmpty).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNisw(nameNisw).Offset(offset).Ordering(ordering).Q(q).Status(status).StatusEmpty(statusEmpty).StatusIc(statusIc).StatusIe(statusIe).StatusIew(statusIew).StatusIsw(statusIsw).StatusN(statusN).StatusNic(statusNic).StatusNie(statusNie).StatusNiew(statusNiew).StatusNisw(statusNisw).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).TunnelId(tunnelId).TunnelIdEmpty(tunnelIdEmpty).TunnelIdGt(tunnelIdGt).TunnelIdGte(tunnelIdGte).TunnelIdLt(tunnelIdLt).TunnelIdLte(tunnelIdLte).TunnelIdN(tunnelIdN).UpdatedByRequest(updatedByRequest).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `VpnAPI.VpnTunnelsList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -7299,7 +7511,16 @@ Name | Type | Description | Notes **descriptionNiew** | **[]string** | | **descriptionNisw** | **[]string** | | **encapsulation** | **[]string** | | - **encapsulationN** | **[]string** | | + **encapsulationEmpty** | **bool** | | + **encapsulationIc** | [**[]VpnTunnelsListEncapsulationIcParameterInner**](VpnTunnelsListEncapsulationIcParameterInner.md) | * `ipsec-transport` - IPsec - Transport * `ipsec-tunnel` - IPsec - Tunnel * `ip-ip` - IP-in-IP * `gre` - GRE | + **encapsulationIe** | [**[]VpnTunnelsListEncapsulationIcParameterInner**](VpnTunnelsListEncapsulationIcParameterInner.md) | * `ipsec-transport` - IPsec - Transport * `ipsec-tunnel` - IPsec - Tunnel * `ip-ip` - IP-in-IP * `gre` - GRE | + **encapsulationIew** | [**[]VpnTunnelsListEncapsulationIcParameterInner**](VpnTunnelsListEncapsulationIcParameterInner.md) | * `ipsec-transport` - IPsec - Transport * `ipsec-tunnel` - IPsec - Tunnel * `ip-ip` - IP-in-IP * `gre` - GRE | + **encapsulationIsw** | [**[]VpnTunnelsListEncapsulationIcParameterInner**](VpnTunnelsListEncapsulationIcParameterInner.md) | * `ipsec-transport` - IPsec - Transport * `ipsec-tunnel` - IPsec - Tunnel * `ip-ip` - IP-in-IP * `gre` - GRE | + **encapsulationN** | [**[]VpnTunnelsListEncapsulationIcParameterInner**](VpnTunnelsListEncapsulationIcParameterInner.md) | * `ipsec-transport` - IPsec - Transport * `ipsec-tunnel` - IPsec - Tunnel * `ip-ip` - IP-in-IP * `gre` - GRE | + **encapsulationNic** | [**[]VpnTunnelsListEncapsulationIcParameterInner**](VpnTunnelsListEncapsulationIcParameterInner.md) | * `ipsec-transport` - IPsec - Transport * `ipsec-tunnel` - IPsec - Tunnel * `ip-ip` - IP-in-IP * `gre` - GRE | + **encapsulationNie** | [**[]VpnTunnelsListEncapsulationIcParameterInner**](VpnTunnelsListEncapsulationIcParameterInner.md) | * `ipsec-transport` - IPsec - Transport * `ipsec-tunnel` - IPsec - Tunnel * `ip-ip` - IP-in-IP * `gre` - GRE | + **encapsulationNiew** | [**[]VpnTunnelsListEncapsulationIcParameterInner**](VpnTunnelsListEncapsulationIcParameterInner.md) | * `ipsec-transport` - IPsec - Transport * `ipsec-tunnel` - IPsec - Tunnel * `ip-ip` - IP-in-IP * `gre` - GRE | + **encapsulationNisw** | [**[]VpnTunnelsListEncapsulationIcParameterInner**](VpnTunnelsListEncapsulationIcParameterInner.md) | * `ipsec-transport` - IPsec - Transport * `ipsec-tunnel` - IPsec - Tunnel * `ip-ip` - IP-in-IP * `gre` - GRE | **group** | **[]string** | Tunnel group (slug) | **groupN** | **[]string** | Tunnel group (slug) | **groupId** | **[]int32** | Tunnel group (ID) | @@ -7339,15 +7560,24 @@ Name | Type | Description | Notes **ordering** | **string** | Which field to use when ordering the results. | **q** | **string** | Search | **status** | **[]string** | | - **statusN** | **[]string** | | + **statusEmpty** | **bool** | | + **statusIc** | [**[]VpnTunnelsListStatusIcParameterInner**](VpnTunnelsListStatusIcParameterInner.md) | * `planned` - Planned * `active` - Active * `disabled` - Disabled | + **statusIe** | [**[]VpnTunnelsListStatusIcParameterInner**](VpnTunnelsListStatusIcParameterInner.md) | * `planned` - Planned * `active` - Active * `disabled` - Disabled | + **statusIew** | [**[]VpnTunnelsListStatusIcParameterInner**](VpnTunnelsListStatusIcParameterInner.md) | * `planned` - Planned * `active` - Active * `disabled` - Disabled | + **statusIsw** | [**[]VpnTunnelsListStatusIcParameterInner**](VpnTunnelsListStatusIcParameterInner.md) | * `planned` - Planned * `active` - Active * `disabled` - Disabled | + **statusN** | [**[]VpnTunnelsListStatusIcParameterInner**](VpnTunnelsListStatusIcParameterInner.md) | * `planned` - Planned * `active` - Active * `disabled` - Disabled | + **statusNic** | [**[]VpnTunnelsListStatusIcParameterInner**](VpnTunnelsListStatusIcParameterInner.md) | * `planned` - Planned * `active` - Active * `disabled` - Disabled | + **statusNie** | [**[]VpnTunnelsListStatusIcParameterInner**](VpnTunnelsListStatusIcParameterInner.md) | * `planned` - Planned * `active` - Active * `disabled` - Disabled | + **statusNiew** | [**[]VpnTunnelsListStatusIcParameterInner**](VpnTunnelsListStatusIcParameterInner.md) | * `planned` - Planned * `active` - Active * `disabled` - Disabled | + **statusNisw** | [**[]VpnTunnelsListStatusIcParameterInner**](VpnTunnelsListStatusIcParameterInner.md) | * `planned` - Planned * `active` - Active * `disabled` - Disabled | **tag** | **[]string** | | **tagN** | **[]string** | | **tenant** | **[]string** | Tenant (slug) | **tenantN** | **[]string** | Tenant (slug) | - **tenantGroup** | **[]int32** | Tenant Group (slug) | - **tenantGroupN** | **[]int32** | Tenant Group (slug) | - **tenantGroupId** | **[]int32** | Tenant Group (ID) | - **tenantGroupIdN** | **[]int32** | Tenant Group (ID) | + **tenantGroup** | **[]string** | | + **tenantGroupN** | **[]string** | | + **tenantGroupId** | **[]string** | | + **tenantGroupIdN** | **[]string** | | **tenantId** | **[]int32** | Tenant (ID) | **tenantIdN** | **[]int32** | Tenant (ID) | **tunnelId** | **[]int32** | | diff --git a/docs/VpnIkePoliciesListModeIcParameterInner.md b/docs/VpnIkePoliciesListModeIcParameterInner.md new file mode 100644 index 000000000..635f9499c --- /dev/null +++ b/docs/VpnIkePoliciesListModeIcParameterInner.md @@ -0,0 +1,15 @@ +# VpnIkePoliciesListModeIcParameterInner + +## Enum + + +* `EMPTY` (value: `""`) + +* `AGGRESSIVE` (value: `"aggressive"`) + +* `MAIN` (value: `"main"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/VpnIkePoliciesListVersionIcParameterInner.md b/docs/VpnIkePoliciesListVersionIcParameterInner.md new file mode 100644 index 000000000..8b6c05c55 --- /dev/null +++ b/docs/VpnIkePoliciesListVersionIcParameterInner.md @@ -0,0 +1,13 @@ +# VpnIkePoliciesListVersionIcParameterInner + +## Enum + + +* `_1` (value: `1`) + +* `_2` (value: `2`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner.md b/docs/VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner.md new file mode 100644 index 000000000..c970a7767 --- /dev/null +++ b/docs/VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner.md @@ -0,0 +1,21 @@ +# VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner + +## Enum + + +* `EMPTY` (value: `""`) + +* `HMAC_MD5` (value: `"hmac-md5"`) + +* `HMAC_SHA1` (value: `"hmac-sha1"`) + +* `HMAC_SHA256` (value: `"hmac-sha256"`) + +* `HMAC_SHA384` (value: `"hmac-sha384"`) + +* `HMAC_SHA512` (value: `"hmac-sha512"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/VpnIkeProposalsListAuthenticationMethodIcParameterInner.md b/docs/VpnIkeProposalsListAuthenticationMethodIcParameterInner.md new file mode 100644 index 000000000..cb263678c --- /dev/null +++ b/docs/VpnIkeProposalsListAuthenticationMethodIcParameterInner.md @@ -0,0 +1,17 @@ +# VpnIkeProposalsListAuthenticationMethodIcParameterInner + +## Enum + + +* `CERTIFICATES` (value: `"certificates"`) + +* `DSA_SIGNATURES` (value: `"dsa-signatures"`) + +* `PRESHARED_KEYS` (value: `"preshared-keys"`) + +* `RSA_SIGNATURES` (value: `"rsa-signatures"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/VpnIkeProposalsListEncryptionAlgorithmIcParameterInner.md b/docs/VpnIkeProposalsListEncryptionAlgorithmIcParameterInner.md new file mode 100644 index 000000000..2b81715a0 --- /dev/null +++ b/docs/VpnIkeProposalsListEncryptionAlgorithmIcParameterInner.md @@ -0,0 +1,25 @@ +# VpnIkeProposalsListEncryptionAlgorithmIcParameterInner + +## Enum + + +* `_3DES_CBC` (value: `"3des-cbc"`) + +* `AES_128_CBC` (value: `"aes-128-cbc"`) + +* `AES_128_GCM` (value: `"aes-128-gcm"`) + +* `AES_192_CBC` (value: `"aes-192-cbc"`) + +* `AES_192_GCM` (value: `"aes-192-gcm"`) + +* `AES_256_CBC` (value: `"aes-256-cbc"`) + +* `AES_256_GCM` (value: `"aes-256-gcm"`) + +* `DES_CBC` (value: `"des-cbc"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/VpnIkeProposalsListGroupIcParameterInner.md b/docs/VpnIkeProposalsListGroupIcParameterInner.md new file mode 100644 index 000000000..17aa6090c --- /dev/null +++ b/docs/VpnIkeProposalsListGroupIcParameterInner.md @@ -0,0 +1,57 @@ +# VpnIkeProposalsListGroupIcParameterInner + +## Enum + + +* `_1` (value: `1`) + +* `_14` (value: `14`) + +* `_15` (value: `15`) + +* `_16` (value: `16`) + +* `_17` (value: `17`) + +* `_18` (value: `18`) + +* `_19` (value: `19`) + +* `_2` (value: `2`) + +* `_20` (value: `20`) + +* `_21` (value: `21`) + +* `_22` (value: `22`) + +* `_23` (value: `23`) + +* `_24` (value: `24`) + +* `_25` (value: `25`) + +* `_26` (value: `26`) + +* `_27` (value: `27`) + +* `_28` (value: `28`) + +* `_29` (value: `29`) + +* `_30` (value: `30`) + +* `_31` (value: `31`) + +* `_32` (value: `32`) + +* `_33` (value: `33`) + +* `_34` (value: `34`) + +* `_5` (value: `5`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/VpnIpsecPoliciesListPfsGroupIcParameterInner.md b/docs/VpnIpsecPoliciesListPfsGroupIcParameterInner.md new file mode 100644 index 000000000..ff4c88eb1 --- /dev/null +++ b/docs/VpnIpsecPoliciesListPfsGroupIcParameterInner.md @@ -0,0 +1,59 @@ +# VpnIpsecPoliciesListPfsGroupIcParameterInner + +## Enum + + +* `_1` (value: `1`) + +* `_14` (value: `14`) + +* `_15` (value: `15`) + +* `_16` (value: `16`) + +* `_17` (value: `17`) + +* `_18` (value: `18`) + +* `_19` (value: `19`) + +* `_2` (value: `2`) + +* `_20` (value: `20`) + +* `_21` (value: `21`) + +* `_22` (value: `22`) + +* `_23` (value: `23`) + +* `_24` (value: `24`) + +* `_25` (value: `25`) + +* `_26` (value: `26`) + +* `_27` (value: `27`) + +* `_28` (value: `28`) + +* `_29` (value: `29`) + +* `_30` (value: `30`) + +* `_31` (value: `31`) + +* `_32` (value: `32`) + +* `_33` (value: `33`) + +* `_34` (value: `34`) + +* `_5` (value: `5`) + +* `_null` (value: `null`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/VpnIpsecProfilesListModeIcParameterInner.md b/docs/VpnIpsecProfilesListModeIcParameterInner.md new file mode 100644 index 000000000..731f713e9 --- /dev/null +++ b/docs/VpnIpsecProfilesListModeIcParameterInner.md @@ -0,0 +1,13 @@ +# VpnIpsecProfilesListModeIcParameterInner + +## Enum + + +* `AH` (value: `"ah"`) + +* `ESP` (value: `"esp"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/VpnL2vpnsListTypeIcParameterInner.md b/docs/VpnL2vpnsListTypeIcParameterInner.md new file mode 100644 index 000000000..aaec1f0da --- /dev/null +++ b/docs/VpnL2vpnsListTypeIcParameterInner.md @@ -0,0 +1,33 @@ +# VpnL2vpnsListTypeIcParameterInner + +## Enum + + +* `EP_LAN` (value: `"ep-lan"`) + +* `EP_TREE` (value: `"ep-tree"`) + +* `EPL` (value: `"epl"`) + +* `EVP_LAN` (value: `"evp-lan"`) + +* `EVP_TREE` (value: `"evp-tree"`) + +* `EVPL` (value: `"evpl"`) + +* `MPLS_EVPN` (value: `"mpls-evpn"`) + +* `PBB_EVPN` (value: `"pbb-evpn"`) + +* `VPLS` (value: `"vpls"`) + +* `VPWS` (value: `"vpws"`) + +* `VXLAN` (value: `"vxlan"`) + +* `VXLAN_EVPN` (value: `"vxlan-evpn"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/VpnTunnelTerminationsListRoleIcParameterInner.md b/docs/VpnTunnelTerminationsListRoleIcParameterInner.md new file mode 100644 index 000000000..8c788feb1 --- /dev/null +++ b/docs/VpnTunnelTerminationsListRoleIcParameterInner.md @@ -0,0 +1,15 @@ +# VpnTunnelTerminationsListRoleIcParameterInner + +## Enum + + +* `HUB` (value: `"hub"`) + +* `PEER` (value: `"peer"`) + +* `SPOKE` (value: `"spoke"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/VpnTunnelsListEncapsulationIcParameterInner.md b/docs/VpnTunnelsListEncapsulationIcParameterInner.md new file mode 100644 index 000000000..2b1d22f93 --- /dev/null +++ b/docs/VpnTunnelsListEncapsulationIcParameterInner.md @@ -0,0 +1,17 @@ +# VpnTunnelsListEncapsulationIcParameterInner + +## Enum + + +* `GRE` (value: `"gre"`) + +* `IP_IP` (value: `"ip-ip"`) + +* `IPSEC_TRANSPORT` (value: `"ipsec-transport"`) + +* `IPSEC_TUNNEL` (value: `"ipsec-tunnel"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/VpnTunnelsListStatusIcParameterInner.md b/docs/VpnTunnelsListStatusIcParameterInner.md new file mode 100644 index 000000000..4f004d956 --- /dev/null +++ b/docs/VpnTunnelsListStatusIcParameterInner.md @@ -0,0 +1,15 @@ +# VpnTunnelsListStatusIcParameterInner + +## Enum + + +* `ACTIVE` (value: `"active"`) + +* `DISABLED` (value: `"disabled"`) + +* `PLANNED` (value: `"planned"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/Webhook.md b/docs/Webhook.md index 146995485..3d32e0c65 100644 --- a/docs/Webhook.md +++ b/docs/Webhook.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Name** | **string** | | **Description** | Pointer to **string** | | [optional] @@ -81,6 +82,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *Webhook) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *Webhook) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *Webhook) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *Webhook) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *Webhook) GetDisplay() string` diff --git a/docs/WirelessAPI.md b/docs/WirelessAPI.md index e35e3430e..8362721a9 100644 --- a/docs/WirelessAPI.md +++ b/docs/WirelessAPI.md @@ -386,10 +386,10 @@ import ( ) func main() { - ancestor := []int32{int32(123)} // []int32 | (optional) - ancestorN := []int32{int32(123)} // []int32 | (optional) - ancestorId := []int32{int32(123)} // []int32 | (optional) - ancestorIdN := []int32{int32(123)} // []int32 | (optional) + ancestor := []string{"Inner_example"} // []string | (optional) + ancestorN := []string{"Inner_example"} // []string | (optional) + ancestorId := []string{"Inner_example"} // []string | (optional) + ancestorIdN := []string{"Inner_example"} // []string | (optional) created := []time.Time{time.Now()} // []time.Time | (optional) createdEmpty := []time.Time{time.Now()} // []time.Time | (optional) createdGt := []time.Time{time.Now()} // []time.Time | (optional) @@ -481,10 +481,10 @@ Other parameters are passed through a pointer to a apiWirelessWirelessLanGroupsL Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **ancestor** | **[]int32** | | - **ancestorN** | **[]int32** | | - **ancestorId** | **[]int32** | | - **ancestorIdN** | **[]int32** | | + **ancestor** | **[]string** | | + **ancestorN** | **[]string** | | + **ancestorId** | **[]string** | | + **ancestorIdN** | **[]string** | | **created** | [**[]time.Time**](time.Time.md) | | **createdEmpty** | [**[]time.Time**](time.Time.md) | | **createdGt** | [**[]time.Time**](time.Time.md) | | @@ -1117,7 +1117,7 @@ Name | Type | Description | Notes ## WirelessWirelessLansList -> PaginatedWirelessLANList WirelessWirelessLansList(ctx).AuthCipher(authCipher).AuthCipherN(authCipherN).AuthPsk(authPsk).AuthPskEmpty(authPskEmpty).AuthPskIc(authPskIc).AuthPskIe(authPskIe).AuthPskIew(authPskIew).AuthPskIsw(authPskIsw).AuthPskN(authPskN).AuthPskNic(authPskNic).AuthPskNie(authPskNie).AuthPskNiew(authPskNiew).AuthPskNisw(authPskNisw).AuthType(authType).AuthTypeN(authTypeN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Group(group).GroupN(groupN).GroupId(groupId).GroupIdN(groupIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).InterfaceId(interfaceId).InterfaceIdN(interfaceIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Offset(offset).Ordering(ordering).Q(q).Ssid(ssid).SsidEmpty(ssidEmpty).SsidIc(ssidIc).SsidIe(ssidIe).SsidIew(ssidIew).SsidIsw(ssidIsw).SsidN(ssidN).SsidNic(ssidNic).SsidNie(ssidNie).SsidNiew(ssidNiew).SsidNisw(ssidNisw).Status(status).StatusN(statusN).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).UpdatedByRequest(updatedByRequest).VlanId(vlanId).VlanIdN(vlanIdN).Execute() +> PaginatedWirelessLANList WirelessWirelessLansList(ctx).AuthCipher(authCipher).AuthCipherEmpty(authCipherEmpty).AuthCipherIc(authCipherIc).AuthCipherIe(authCipherIe).AuthCipherIew(authCipherIew).AuthCipherIsw(authCipherIsw).AuthCipherN(authCipherN).AuthCipherNic(authCipherNic).AuthCipherNie(authCipherNie).AuthCipherNiew(authCipherNiew).AuthCipherNisw(authCipherNisw).AuthPsk(authPsk).AuthPskEmpty(authPskEmpty).AuthPskIc(authPskIc).AuthPskIe(authPskIe).AuthPskIew(authPskIew).AuthPskIsw(authPskIsw).AuthPskN(authPskN).AuthPskNic(authPskNic).AuthPskNie(authPskNie).AuthPskNiew(authPskNiew).AuthPskNisw(authPskNisw).AuthType(authType).AuthTypeEmpty(authTypeEmpty).AuthTypeIc(authTypeIc).AuthTypeIe(authTypeIe).AuthTypeIew(authTypeIew).AuthTypeIsw(authTypeIsw).AuthTypeN(authTypeN).AuthTypeNic(authTypeNic).AuthTypeNie(authTypeNie).AuthTypeNiew(authTypeNiew).AuthTypeNisw(authTypeNisw).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Group(group).GroupN(groupN).GroupId(groupId).GroupIdN(groupIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).InterfaceId(interfaceId).InterfaceIdN(interfaceIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Offset(offset).Ordering(ordering).Q(q).Ssid(ssid).SsidEmpty(ssidEmpty).SsidIc(ssidIc).SsidIe(ssidIe).SsidIew(ssidIew).SsidIsw(ssidIsw).SsidN(ssidN).SsidNic(ssidNic).SsidNie(ssidNie).SsidNiew(ssidNiew).SsidNisw(ssidNisw).Status(status).StatusEmpty(statusEmpty).StatusIc(statusIc).StatusIe(statusIe).StatusIew(statusIew).StatusIsw(statusIsw).StatusN(statusN).StatusNic(statusNic).StatusNie(statusNie).StatusNiew(statusNiew).StatusNisw(statusNisw).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).UpdatedByRequest(updatedByRequest).VlanId(vlanId).VlanIdN(vlanIdN).Execute() @@ -1138,7 +1138,16 @@ import ( func main() { authCipher := []string{"Inner_example"} // []string | (optional) - authCipherN := []string{"Inner_example"} // []string | (optional) + authCipherEmpty := true // bool | (optional) + authCipherIc := []openapiclient.AuthenticationCipher{openapiclient.Authentication_cipher("")} // []AuthenticationCipher | * `auto` - Auto * `tkip` - TKIP * `aes` - AES (optional) + authCipherIe := []openapiclient.AuthenticationCipher{openapiclient.Authentication_cipher("")} // []AuthenticationCipher | * `auto` - Auto * `tkip` - TKIP * `aes` - AES (optional) + authCipherIew := []openapiclient.AuthenticationCipher{openapiclient.Authentication_cipher("")} // []AuthenticationCipher | * `auto` - Auto * `tkip` - TKIP * `aes` - AES (optional) + authCipherIsw := []openapiclient.AuthenticationCipher{openapiclient.Authentication_cipher("")} // []AuthenticationCipher | * `auto` - Auto * `tkip` - TKIP * `aes` - AES (optional) + authCipherN := []openapiclient.AuthenticationCipher{openapiclient.Authentication_cipher("")} // []AuthenticationCipher | * `auto` - Auto * `tkip` - TKIP * `aes` - AES (optional) + authCipherNic := []openapiclient.AuthenticationCipher{openapiclient.Authentication_cipher("")} // []AuthenticationCipher | * `auto` - Auto * `tkip` - TKIP * `aes` - AES (optional) + authCipherNie := []openapiclient.AuthenticationCipher{openapiclient.Authentication_cipher("")} // []AuthenticationCipher | * `auto` - Auto * `tkip` - TKIP * `aes` - AES (optional) + authCipherNiew := []openapiclient.AuthenticationCipher{openapiclient.Authentication_cipher("")} // []AuthenticationCipher | * `auto` - Auto * `tkip` - TKIP * `aes` - AES (optional) + authCipherNisw := []openapiclient.AuthenticationCipher{openapiclient.Authentication_cipher("")} // []AuthenticationCipher | * `auto` - Auto * `tkip` - TKIP * `aes` - AES (optional) authPsk := []string{"Inner_example"} // []string | (optional) authPskEmpty := true // bool | (optional) authPskIc := []string{"Inner_example"} // []string | (optional) @@ -1151,7 +1160,16 @@ func main() { authPskNiew := []string{"Inner_example"} // []string | (optional) authPskNisw := []string{"Inner_example"} // []string | (optional) authType := []string{"Inner_example"} // []string | (optional) - authTypeN := []string{"Inner_example"} // []string | (optional) + authTypeEmpty := true // bool | (optional) + authTypeIc := []openapiclient.AuthenticationType1{openapiclient.Authentication_type_1("")} // []AuthenticationType1 | * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise (optional) + authTypeIe := []openapiclient.AuthenticationType1{openapiclient.Authentication_type_1("")} // []AuthenticationType1 | * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise (optional) + authTypeIew := []openapiclient.AuthenticationType1{openapiclient.Authentication_type_1("")} // []AuthenticationType1 | * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise (optional) + authTypeIsw := []openapiclient.AuthenticationType1{openapiclient.Authentication_type_1("")} // []AuthenticationType1 | * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise (optional) + authTypeN := []openapiclient.AuthenticationType1{openapiclient.Authentication_type_1("")} // []AuthenticationType1 | * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise (optional) + authTypeNic := []openapiclient.AuthenticationType1{openapiclient.Authentication_type_1("")} // []AuthenticationType1 | * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise (optional) + authTypeNie := []openapiclient.AuthenticationType1{openapiclient.Authentication_type_1("")} // []AuthenticationType1 | * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise (optional) + authTypeNiew := []openapiclient.AuthenticationType1{openapiclient.Authentication_type_1("")} // []AuthenticationType1 | * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise (optional) + authTypeNisw := []openapiclient.AuthenticationType1{openapiclient.Authentication_type_1("")} // []AuthenticationType1 | * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise (optional) created := []time.Time{time.Now()} // []time.Time | (optional) createdEmpty := []time.Time{time.Now()} // []time.Time | (optional) createdGt := []time.Time{time.Now()} // []time.Time | (optional) @@ -1171,10 +1189,10 @@ func main() { descriptionNie := []string{"Inner_example"} // []string | (optional) descriptionNiew := []string{"Inner_example"} // []string | (optional) descriptionNisw := []string{"Inner_example"} // []string | (optional) - group := []int32{int32(123)} // []int32 | (optional) - groupN := []int32{int32(123)} // []int32 | (optional) - groupId := []int32{int32(123)} // []int32 | (optional) - groupIdN := []int32{int32(123)} // []int32 | (optional) + group := []string{"Inner_example"} // []string | (optional) + groupN := []string{"Inner_example"} // []string | (optional) + groupId := []string{"Inner_example"} // []string | (optional) + groupIdN := []string{"Inner_example"} // []string | (optional) id := []int32{int32(123)} // []int32 | (optional) idEmpty := true // bool | (optional) idGt := []int32{int32(123)} // []int32 | (optional) @@ -1208,15 +1226,24 @@ func main() { ssidNiew := []string{"Inner_example"} // []string | (optional) ssidNisw := []string{"Inner_example"} // []string | (optional) status := []string{"Inner_example"} // []string | (optional) - statusN := []string{"Inner_example"} // []string | (optional) + statusEmpty := true // bool | (optional) + statusIc := []openapiclient.WirelessWirelessLansListStatusIcParameterInner{openapiclient.wireless_wireless_lans_list_status__ic_parameter_inner("active")} // []WirelessWirelessLansListStatusIcParameterInner | * `active` - Active * `reserved` - Reserved * `disabled` - Disabled * `deprecated` - Deprecated (optional) + statusIe := []openapiclient.WirelessWirelessLansListStatusIcParameterInner{openapiclient.wireless_wireless_lans_list_status__ic_parameter_inner("active")} // []WirelessWirelessLansListStatusIcParameterInner | * `active` - Active * `reserved` - Reserved * `disabled` - Disabled * `deprecated` - Deprecated (optional) + statusIew := []openapiclient.WirelessWirelessLansListStatusIcParameterInner{openapiclient.wireless_wireless_lans_list_status__ic_parameter_inner("active")} // []WirelessWirelessLansListStatusIcParameterInner | * `active` - Active * `reserved` - Reserved * `disabled` - Disabled * `deprecated` - Deprecated (optional) + statusIsw := []openapiclient.WirelessWirelessLansListStatusIcParameterInner{openapiclient.wireless_wireless_lans_list_status__ic_parameter_inner("active")} // []WirelessWirelessLansListStatusIcParameterInner | * `active` - Active * `reserved` - Reserved * `disabled` - Disabled * `deprecated` - Deprecated (optional) + statusN := []openapiclient.WirelessWirelessLansListStatusIcParameterInner{openapiclient.wireless_wireless_lans_list_status__ic_parameter_inner("active")} // []WirelessWirelessLansListStatusIcParameterInner | * `active` - Active * `reserved` - Reserved * `disabled` - Disabled * `deprecated` - Deprecated (optional) + statusNic := []openapiclient.WirelessWirelessLansListStatusIcParameterInner{openapiclient.wireless_wireless_lans_list_status__ic_parameter_inner("active")} // []WirelessWirelessLansListStatusIcParameterInner | * `active` - Active * `reserved` - Reserved * `disabled` - Disabled * `deprecated` - Deprecated (optional) + statusNie := []openapiclient.WirelessWirelessLansListStatusIcParameterInner{openapiclient.wireless_wireless_lans_list_status__ic_parameter_inner("active")} // []WirelessWirelessLansListStatusIcParameterInner | * `active` - Active * `reserved` - Reserved * `disabled` - Disabled * `deprecated` - Deprecated (optional) + statusNiew := []openapiclient.WirelessWirelessLansListStatusIcParameterInner{openapiclient.wireless_wireless_lans_list_status__ic_parameter_inner("active")} // []WirelessWirelessLansListStatusIcParameterInner | * `active` - Active * `reserved` - Reserved * `disabled` - Disabled * `deprecated` - Deprecated (optional) + statusNisw := []openapiclient.WirelessWirelessLansListStatusIcParameterInner{openapiclient.wireless_wireless_lans_list_status__ic_parameter_inner("active")} // []WirelessWirelessLansListStatusIcParameterInner | * `active` - Active * `reserved` - Reserved * `disabled` - Disabled * `deprecated` - Deprecated (optional) tag := []string{"Inner_example"} // []string | (optional) tagN := []string{"Inner_example"} // []string | (optional) tenant := []string{"Inner_example"} // []string | Tenant (slug) (optional) tenantN := []string{"Inner_example"} // []string | Tenant (slug) (optional) - tenantGroup := []int32{int32(123)} // []int32 | Tenant Group (slug) (optional) - tenantGroupN := []int32{int32(123)} // []int32 | Tenant Group (slug) (optional) - tenantGroupId := []int32{int32(123)} // []int32 | Tenant Group (ID) (optional) - tenantGroupIdN := []int32{int32(123)} // []int32 | Tenant Group (ID) (optional) + tenantGroup := []string{"Inner_example"} // []string | (optional) + tenantGroupN := []string{"Inner_example"} // []string | (optional) + tenantGroupId := []string{"Inner_example"} // []string | (optional) + tenantGroupIdN := []string{"Inner_example"} // []string | (optional) tenantId := []*int32{int32(123)} // []*int32 | Tenant (ID) (optional) tenantIdN := []*int32{int32(123)} // []*int32 | Tenant (ID) (optional) updatedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) @@ -1225,7 +1252,7 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.WirelessAPI.WirelessWirelessLansList(context.Background()).AuthCipher(authCipher).AuthCipherN(authCipherN).AuthPsk(authPsk).AuthPskEmpty(authPskEmpty).AuthPskIc(authPskIc).AuthPskIe(authPskIe).AuthPskIew(authPskIew).AuthPskIsw(authPskIsw).AuthPskN(authPskN).AuthPskNic(authPskNic).AuthPskNie(authPskNie).AuthPskNiew(authPskNiew).AuthPskNisw(authPskNisw).AuthType(authType).AuthTypeN(authTypeN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Group(group).GroupN(groupN).GroupId(groupId).GroupIdN(groupIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).InterfaceId(interfaceId).InterfaceIdN(interfaceIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Offset(offset).Ordering(ordering).Q(q).Ssid(ssid).SsidEmpty(ssidEmpty).SsidIc(ssidIc).SsidIe(ssidIe).SsidIew(ssidIew).SsidIsw(ssidIsw).SsidN(ssidN).SsidNic(ssidNic).SsidNie(ssidNie).SsidNiew(ssidNiew).SsidNisw(ssidNisw).Status(status).StatusN(statusN).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).UpdatedByRequest(updatedByRequest).VlanId(vlanId).VlanIdN(vlanIdN).Execute() + resp, r, err := apiClient.WirelessAPI.WirelessWirelessLansList(context.Background()).AuthCipher(authCipher).AuthCipherEmpty(authCipherEmpty).AuthCipherIc(authCipherIc).AuthCipherIe(authCipherIe).AuthCipherIew(authCipherIew).AuthCipherIsw(authCipherIsw).AuthCipherN(authCipherN).AuthCipherNic(authCipherNic).AuthCipherNie(authCipherNie).AuthCipherNiew(authCipherNiew).AuthCipherNisw(authCipherNisw).AuthPsk(authPsk).AuthPskEmpty(authPskEmpty).AuthPskIc(authPskIc).AuthPskIe(authPskIe).AuthPskIew(authPskIew).AuthPskIsw(authPskIsw).AuthPskN(authPskN).AuthPskNic(authPskNic).AuthPskNie(authPskNie).AuthPskNiew(authPskNiew).AuthPskNisw(authPskNisw).AuthType(authType).AuthTypeEmpty(authTypeEmpty).AuthTypeIc(authTypeIc).AuthTypeIe(authTypeIe).AuthTypeIew(authTypeIew).AuthTypeIsw(authTypeIsw).AuthTypeN(authTypeN).AuthTypeNic(authTypeNic).AuthTypeNie(authTypeNie).AuthTypeNiew(authTypeNiew).AuthTypeNisw(authTypeNisw).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Group(group).GroupN(groupN).GroupId(groupId).GroupIdN(groupIdN).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).InterfaceId(interfaceId).InterfaceIdN(interfaceIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Offset(offset).Ordering(ordering).Q(q).Ssid(ssid).SsidEmpty(ssidEmpty).SsidIc(ssidIc).SsidIe(ssidIe).SsidIew(ssidIew).SsidIsw(ssidIsw).SsidN(ssidN).SsidNic(ssidNic).SsidNie(ssidNie).SsidNiew(ssidNiew).SsidNisw(ssidNisw).Status(status).StatusEmpty(statusEmpty).StatusIc(statusIc).StatusIe(statusIe).StatusIew(statusIew).StatusIsw(statusIsw).StatusN(statusN).StatusNic(statusNic).StatusNie(statusNie).StatusNiew(statusNiew).StatusNisw(statusNisw).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).UpdatedByRequest(updatedByRequest).VlanId(vlanId).VlanIdN(vlanIdN).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `WirelessAPI.WirelessWirelessLansList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -1247,7 +1274,16 @@ Other parameters are passed through a pointer to a apiWirelessWirelessLansListRe Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authCipher** | **[]string** | | - **authCipherN** | **[]string** | | + **authCipherEmpty** | **bool** | | + **authCipherIc** | [**[]AuthenticationCipher**](AuthenticationCipher.md) | * `auto` - Auto * `tkip` - TKIP * `aes` - AES | + **authCipherIe** | [**[]AuthenticationCipher**](AuthenticationCipher.md) | * `auto` - Auto * `tkip` - TKIP * `aes` - AES | + **authCipherIew** | [**[]AuthenticationCipher**](AuthenticationCipher.md) | * `auto` - Auto * `tkip` - TKIP * `aes` - AES | + **authCipherIsw** | [**[]AuthenticationCipher**](AuthenticationCipher.md) | * `auto` - Auto * `tkip` - TKIP * `aes` - AES | + **authCipherN** | [**[]AuthenticationCipher**](AuthenticationCipher.md) | * `auto` - Auto * `tkip` - TKIP * `aes` - AES | + **authCipherNic** | [**[]AuthenticationCipher**](AuthenticationCipher.md) | * `auto` - Auto * `tkip` - TKIP * `aes` - AES | + **authCipherNie** | [**[]AuthenticationCipher**](AuthenticationCipher.md) | * `auto` - Auto * `tkip` - TKIP * `aes` - AES | + **authCipherNiew** | [**[]AuthenticationCipher**](AuthenticationCipher.md) | * `auto` - Auto * `tkip` - TKIP * `aes` - AES | + **authCipherNisw** | [**[]AuthenticationCipher**](AuthenticationCipher.md) | * `auto` - Auto * `tkip` - TKIP * `aes` - AES | **authPsk** | **[]string** | | **authPskEmpty** | **bool** | | **authPskIc** | **[]string** | | @@ -1260,7 +1296,16 @@ Name | Type | Description | Notes **authPskNiew** | **[]string** | | **authPskNisw** | **[]string** | | **authType** | **[]string** | | - **authTypeN** | **[]string** | | + **authTypeEmpty** | **bool** | | + **authTypeIc** | [**[]AuthenticationType1**](AuthenticationType1.md) | * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise | + **authTypeIe** | [**[]AuthenticationType1**](AuthenticationType1.md) | * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise | + **authTypeIew** | [**[]AuthenticationType1**](AuthenticationType1.md) | * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise | + **authTypeIsw** | [**[]AuthenticationType1**](AuthenticationType1.md) | * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise | + **authTypeN** | [**[]AuthenticationType1**](AuthenticationType1.md) | * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise | + **authTypeNic** | [**[]AuthenticationType1**](AuthenticationType1.md) | * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise | + **authTypeNie** | [**[]AuthenticationType1**](AuthenticationType1.md) | * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise | + **authTypeNiew** | [**[]AuthenticationType1**](AuthenticationType1.md) | * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise | + **authTypeNisw** | [**[]AuthenticationType1**](AuthenticationType1.md) | * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise | **created** | [**[]time.Time**](time.Time.md) | | **createdEmpty** | [**[]time.Time**](time.Time.md) | | **createdGt** | [**[]time.Time**](time.Time.md) | | @@ -1280,10 +1325,10 @@ Name | Type | Description | Notes **descriptionNie** | **[]string** | | **descriptionNiew** | **[]string** | | **descriptionNisw** | **[]string** | | - **group** | **[]int32** | | - **groupN** | **[]int32** | | - **groupId** | **[]int32** | | - **groupIdN** | **[]int32** | | + **group** | **[]string** | | + **groupN** | **[]string** | | + **groupId** | **[]string** | | + **groupIdN** | **[]string** | | **id** | **[]int32** | | **idEmpty** | **bool** | | **idGt** | **[]int32** | | @@ -1317,15 +1362,24 @@ Name | Type | Description | Notes **ssidNiew** | **[]string** | | **ssidNisw** | **[]string** | | **status** | **[]string** | | - **statusN** | **[]string** | | + **statusEmpty** | **bool** | | + **statusIc** | [**[]WirelessWirelessLansListStatusIcParameterInner**](WirelessWirelessLansListStatusIcParameterInner.md) | * `active` - Active * `reserved` - Reserved * `disabled` - Disabled * `deprecated` - Deprecated | + **statusIe** | [**[]WirelessWirelessLansListStatusIcParameterInner**](WirelessWirelessLansListStatusIcParameterInner.md) | * `active` - Active * `reserved` - Reserved * `disabled` - Disabled * `deprecated` - Deprecated | + **statusIew** | [**[]WirelessWirelessLansListStatusIcParameterInner**](WirelessWirelessLansListStatusIcParameterInner.md) | * `active` - Active * `reserved` - Reserved * `disabled` - Disabled * `deprecated` - Deprecated | + **statusIsw** | [**[]WirelessWirelessLansListStatusIcParameterInner**](WirelessWirelessLansListStatusIcParameterInner.md) | * `active` - Active * `reserved` - Reserved * `disabled` - Disabled * `deprecated` - Deprecated | + **statusN** | [**[]WirelessWirelessLansListStatusIcParameterInner**](WirelessWirelessLansListStatusIcParameterInner.md) | * `active` - Active * `reserved` - Reserved * `disabled` - Disabled * `deprecated` - Deprecated | + **statusNic** | [**[]WirelessWirelessLansListStatusIcParameterInner**](WirelessWirelessLansListStatusIcParameterInner.md) | * `active` - Active * `reserved` - Reserved * `disabled` - Disabled * `deprecated` - Deprecated | + **statusNie** | [**[]WirelessWirelessLansListStatusIcParameterInner**](WirelessWirelessLansListStatusIcParameterInner.md) | * `active` - Active * `reserved` - Reserved * `disabled` - Disabled * `deprecated` - Deprecated | + **statusNiew** | [**[]WirelessWirelessLansListStatusIcParameterInner**](WirelessWirelessLansListStatusIcParameterInner.md) | * `active` - Active * `reserved` - Reserved * `disabled` - Disabled * `deprecated` - Deprecated | + **statusNisw** | [**[]WirelessWirelessLansListStatusIcParameterInner**](WirelessWirelessLansListStatusIcParameterInner.md) | * `active` - Active * `reserved` - Reserved * `disabled` - Disabled * `deprecated` - Deprecated | **tag** | **[]string** | | **tagN** | **[]string** | | **tenant** | **[]string** | Tenant (slug) | **tenantN** | **[]string** | Tenant (slug) | - **tenantGroup** | **[]int32** | Tenant Group (slug) | - **tenantGroupN** | **[]int32** | Tenant Group (slug) | - **tenantGroupId** | **[]int32** | Tenant Group (ID) | - **tenantGroupIdN** | **[]int32** | Tenant Group (ID) | + **tenantGroup** | **[]string** | | + **tenantGroupN** | **[]string** | | + **tenantGroupId** | **[]string** | | + **tenantGroupIdN** | **[]string** | | **tenantId** | **[]int32** | Tenant (ID) | **tenantIdN** | **[]int32** | Tenant (ID) | **updatedByRequest** | **string** | | @@ -1585,7 +1639,7 @@ import ( ) func main() { - wirelessLinkRequest := []openapiclient.WirelessLinkRequest{*openapiclient.NewWirelessLinkRequest(*openapiclient.NewInterfaceRequest(*openapiclient.NewDeviceRequest(), "Name_example", openapiclient.Interface_type_value("virtual")), *openapiclient.NewInterfaceRequest(*openapiclient.NewDeviceRequest(), "Name_example", openapiclient.Interface_type_value("virtual")))} // []WirelessLinkRequest | + wirelessLinkRequest := []openapiclient.WirelessLinkRequest{*openapiclient.NewWirelessLinkRequest(*openapiclient.NewBriefInterfaceRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example"), *openapiclient.NewBriefInterfaceRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example"))} // []WirelessLinkRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -1649,7 +1703,7 @@ import ( ) func main() { - wirelessLinkRequest := []openapiclient.WirelessLinkRequest{*openapiclient.NewWirelessLinkRequest(*openapiclient.NewInterfaceRequest(*openapiclient.NewDeviceRequest(), "Name_example", openapiclient.Interface_type_value("virtual")), *openapiclient.NewInterfaceRequest(*openapiclient.NewDeviceRequest(), "Name_example", openapiclient.Interface_type_value("virtual")))} // []WirelessLinkRequest | + wirelessLinkRequest := []openapiclient.WirelessLinkRequest{*openapiclient.NewWirelessLinkRequest(*openapiclient.NewBriefInterfaceRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example"), *openapiclient.NewBriefInterfaceRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example"))} // []WirelessLinkRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -1715,7 +1769,7 @@ import ( ) func main() { - wirelessLinkRequest := []openapiclient.WirelessLinkRequest{*openapiclient.NewWirelessLinkRequest(*openapiclient.NewInterfaceRequest(*openapiclient.NewDeviceRequest(), "Name_example", openapiclient.Interface_type_value("virtual")), *openapiclient.NewInterfaceRequest(*openapiclient.NewDeviceRequest(), "Name_example", openapiclient.Interface_type_value("virtual")))} // []WirelessLinkRequest | + wirelessLinkRequest := []openapiclient.WirelessLinkRequest{*openapiclient.NewWirelessLinkRequest(*openapiclient.NewBriefInterfaceRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example"), *openapiclient.NewBriefInterfaceRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example"))} // []WirelessLinkRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -1781,7 +1835,7 @@ import ( ) func main() { - writableWirelessLinkRequest := *openapiclient.NewWritableWirelessLinkRequest(*openapiclient.NewInterfaceRequest(*openapiclient.NewDeviceRequest(), "Name_example", openapiclient.Interface_type_value("virtual")), *openapiclient.NewInterfaceRequest(*openapiclient.NewDeviceRequest(), "Name_example", openapiclient.Interface_type_value("virtual"))) // WritableWirelessLinkRequest | + writableWirelessLinkRequest := *openapiclient.NewWritableWirelessLinkRequest(*openapiclient.NewBriefInterfaceRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example"), *openapiclient.NewBriefInterfaceRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example")) // WritableWirelessLinkRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -1896,7 +1950,7 @@ Name | Type | Description | Notes ## WirelessWirelessLinksList -> PaginatedWirelessLinkList WirelessWirelessLinksList(ctx).AuthCipher(authCipher).AuthCipherN(authCipherN).AuthPsk(authPsk).AuthPskEmpty(authPskEmpty).AuthPskIc(authPskIc).AuthPskIe(authPskIe).AuthPskIew(authPskIew).AuthPskIsw(authPskIsw).AuthPskN(authPskN).AuthPskNic(authPskNic).AuthPskNie(authPskNie).AuthPskNiew(authPskNiew).AuthPskNisw(authPskNisw).AuthType(authType).AuthTypeN(authTypeN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).InterfaceAId(interfaceAId).InterfaceAIdN(interfaceAIdN).InterfaceBId(interfaceBId).InterfaceBIdN(interfaceBIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Offset(offset).Ordering(ordering).Q(q).Ssid(ssid).SsidEmpty(ssidEmpty).SsidIc(ssidIc).SsidIe(ssidIe).SsidIew(ssidIew).SsidIsw(ssidIsw).SsidN(ssidN).SsidNic(ssidNic).SsidNie(ssidNie).SsidNiew(ssidNiew).SsidNisw(ssidNisw).Status(status).StatusN(statusN).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).UpdatedByRequest(updatedByRequest).Execute() +> PaginatedWirelessLinkList WirelessWirelessLinksList(ctx).AuthCipher(authCipher).AuthCipherEmpty(authCipherEmpty).AuthCipherIc(authCipherIc).AuthCipherIe(authCipherIe).AuthCipherIew(authCipherIew).AuthCipherIsw(authCipherIsw).AuthCipherN(authCipherN).AuthCipherNic(authCipherNic).AuthCipherNie(authCipherNie).AuthCipherNiew(authCipherNiew).AuthCipherNisw(authCipherNisw).AuthPsk(authPsk).AuthPskEmpty(authPskEmpty).AuthPskIc(authPskIc).AuthPskIe(authPskIe).AuthPskIew(authPskIew).AuthPskIsw(authPskIsw).AuthPskN(authPskN).AuthPskNic(authPskNic).AuthPskNie(authPskNie).AuthPskNiew(authPskNiew).AuthPskNisw(authPskNisw).AuthType(authType).AuthTypeEmpty(authTypeEmpty).AuthTypeIc(authTypeIc).AuthTypeIe(authTypeIe).AuthTypeIew(authTypeIew).AuthTypeIsw(authTypeIsw).AuthTypeN(authTypeN).AuthTypeNic(authTypeNic).AuthTypeNie(authTypeNie).AuthTypeNiew(authTypeNiew).AuthTypeNisw(authTypeNisw).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Distance(distance).DistanceEmpty(distanceEmpty).DistanceGt(distanceGt).DistanceGte(distanceGte).DistanceLt(distanceLt).DistanceLte(distanceLte).DistanceN(distanceN).DistanceUnit(distanceUnit).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).InterfaceAId(interfaceAId).InterfaceAIdN(interfaceAIdN).InterfaceBId(interfaceBId).InterfaceBIdN(interfaceBIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Offset(offset).Ordering(ordering).Q(q).Ssid(ssid).SsidEmpty(ssidEmpty).SsidIc(ssidIc).SsidIe(ssidIe).SsidIew(ssidIew).SsidIsw(ssidIsw).SsidN(ssidN).SsidNic(ssidNic).SsidNie(ssidNie).SsidNiew(ssidNiew).SsidNisw(ssidNisw).Status(status).StatusEmpty(statusEmpty).StatusIc(statusIc).StatusIe(statusIe).StatusIew(statusIew).StatusIsw(statusIsw).StatusN(statusN).StatusNic(statusNic).StatusNie(statusNie).StatusNiew(statusNiew).StatusNisw(statusNisw).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).UpdatedByRequest(updatedByRequest).Execute() @@ -1917,7 +1971,16 @@ import ( func main() { authCipher := []string{"Inner_example"} // []string | (optional) - authCipherN := []string{"Inner_example"} // []string | (optional) + authCipherEmpty := true // bool | (optional) + authCipherIc := []openapiclient.AuthenticationCipher{openapiclient.Authentication_cipher("")} // []AuthenticationCipher | * `auto` - Auto * `tkip` - TKIP * `aes` - AES (optional) + authCipherIe := []openapiclient.AuthenticationCipher{openapiclient.Authentication_cipher("")} // []AuthenticationCipher | * `auto` - Auto * `tkip` - TKIP * `aes` - AES (optional) + authCipherIew := []openapiclient.AuthenticationCipher{openapiclient.Authentication_cipher("")} // []AuthenticationCipher | * `auto` - Auto * `tkip` - TKIP * `aes` - AES (optional) + authCipherIsw := []openapiclient.AuthenticationCipher{openapiclient.Authentication_cipher("")} // []AuthenticationCipher | * `auto` - Auto * `tkip` - TKIP * `aes` - AES (optional) + authCipherN := []openapiclient.AuthenticationCipher{openapiclient.Authentication_cipher("")} // []AuthenticationCipher | * `auto` - Auto * `tkip` - TKIP * `aes` - AES (optional) + authCipherNic := []openapiclient.AuthenticationCipher{openapiclient.Authentication_cipher("")} // []AuthenticationCipher | * `auto` - Auto * `tkip` - TKIP * `aes` - AES (optional) + authCipherNie := []openapiclient.AuthenticationCipher{openapiclient.Authentication_cipher("")} // []AuthenticationCipher | * `auto` - Auto * `tkip` - TKIP * `aes` - AES (optional) + authCipherNiew := []openapiclient.AuthenticationCipher{openapiclient.Authentication_cipher("")} // []AuthenticationCipher | * `auto` - Auto * `tkip` - TKIP * `aes` - AES (optional) + authCipherNisw := []openapiclient.AuthenticationCipher{openapiclient.Authentication_cipher("")} // []AuthenticationCipher | * `auto` - Auto * `tkip` - TKIP * `aes` - AES (optional) authPsk := []string{"Inner_example"} // []string | (optional) authPskEmpty := true // bool | (optional) authPskIc := []string{"Inner_example"} // []string | (optional) @@ -1930,7 +1993,16 @@ func main() { authPskNiew := []string{"Inner_example"} // []string | (optional) authPskNisw := []string{"Inner_example"} // []string | (optional) authType := []string{"Inner_example"} // []string | (optional) - authTypeN := []string{"Inner_example"} // []string | (optional) + authTypeEmpty := true // bool | (optional) + authTypeIc := []openapiclient.AuthenticationType1{openapiclient.Authentication_type_1("")} // []AuthenticationType1 | * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise (optional) + authTypeIe := []openapiclient.AuthenticationType1{openapiclient.Authentication_type_1("")} // []AuthenticationType1 | * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise (optional) + authTypeIew := []openapiclient.AuthenticationType1{openapiclient.Authentication_type_1("")} // []AuthenticationType1 | * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise (optional) + authTypeIsw := []openapiclient.AuthenticationType1{openapiclient.Authentication_type_1("")} // []AuthenticationType1 | * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise (optional) + authTypeN := []openapiclient.AuthenticationType1{openapiclient.Authentication_type_1("")} // []AuthenticationType1 | * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise (optional) + authTypeNic := []openapiclient.AuthenticationType1{openapiclient.Authentication_type_1("")} // []AuthenticationType1 | * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise (optional) + authTypeNie := []openapiclient.AuthenticationType1{openapiclient.Authentication_type_1("")} // []AuthenticationType1 | * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise (optional) + authTypeNiew := []openapiclient.AuthenticationType1{openapiclient.Authentication_type_1("")} // []AuthenticationType1 | * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise (optional) + authTypeNisw := []openapiclient.AuthenticationType1{openapiclient.Authentication_type_1("")} // []AuthenticationType1 | * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise (optional) created := []time.Time{time.Now()} // []time.Time | (optional) createdEmpty := []time.Time{time.Now()} // []time.Time | (optional) createdGt := []time.Time{time.Now()} // []time.Time | (optional) @@ -1950,6 +2022,14 @@ func main() { descriptionNie := []string{"Inner_example"} // []string | (optional) descriptionNiew := []string{"Inner_example"} // []string | (optional) descriptionNisw := []string{"Inner_example"} // []string | (optional) + distance := []float64{float64(123)} // []float64 | (optional) + distanceEmpty := true // bool | (optional) + distanceGt := []float64{float64(123)} // []float64 | (optional) + distanceGte := []float64{float64(123)} // []float64 | (optional) + distanceLt := []float64{float64(123)} // []float64 | (optional) + distanceLte := []float64{float64(123)} // []float64 | (optional) + distanceN := []float64{float64(123)} // []float64 | (optional) + distanceUnit := openapiclient.wireless_wireless_links_list_distance_unit_parameter("ft") // WirelessWirelessLinksListDistanceUnitParameter | * `km` - Kilometers * `m` - Meters * `mi` - Miles * `ft` - Feet (optional) id := []int32{int32(123)} // []int32 | (optional) idEmpty := true // bool | (optional) idGt := []int32{int32(123)} // []int32 | (optional) @@ -1985,22 +2065,31 @@ func main() { ssidNiew := []string{"Inner_example"} // []string | (optional) ssidNisw := []string{"Inner_example"} // []string | (optional) status := []string{"Inner_example"} // []string | (optional) - statusN := []string{"Inner_example"} // []string | (optional) + statusEmpty := true // bool | (optional) + statusIc := []openapiclient.DcimCablesListStatusIcParameterInner{openapiclient.dcim_cables_list_status__ic_parameter_inner("connected")} // []DcimCablesListStatusIcParameterInner | * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning (optional) + statusIe := []openapiclient.DcimCablesListStatusIcParameterInner{openapiclient.dcim_cables_list_status__ic_parameter_inner("connected")} // []DcimCablesListStatusIcParameterInner | * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning (optional) + statusIew := []openapiclient.DcimCablesListStatusIcParameterInner{openapiclient.dcim_cables_list_status__ic_parameter_inner("connected")} // []DcimCablesListStatusIcParameterInner | * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning (optional) + statusIsw := []openapiclient.DcimCablesListStatusIcParameterInner{openapiclient.dcim_cables_list_status__ic_parameter_inner("connected")} // []DcimCablesListStatusIcParameterInner | * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning (optional) + statusN := []openapiclient.DcimCablesListStatusIcParameterInner{openapiclient.dcim_cables_list_status__ic_parameter_inner("connected")} // []DcimCablesListStatusIcParameterInner | * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning (optional) + statusNic := []openapiclient.DcimCablesListStatusIcParameterInner{openapiclient.dcim_cables_list_status__ic_parameter_inner("connected")} // []DcimCablesListStatusIcParameterInner | * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning (optional) + statusNie := []openapiclient.DcimCablesListStatusIcParameterInner{openapiclient.dcim_cables_list_status__ic_parameter_inner("connected")} // []DcimCablesListStatusIcParameterInner | * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning (optional) + statusNiew := []openapiclient.DcimCablesListStatusIcParameterInner{openapiclient.dcim_cables_list_status__ic_parameter_inner("connected")} // []DcimCablesListStatusIcParameterInner | * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning (optional) + statusNisw := []openapiclient.DcimCablesListStatusIcParameterInner{openapiclient.dcim_cables_list_status__ic_parameter_inner("connected")} // []DcimCablesListStatusIcParameterInner | * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning (optional) tag := []string{"Inner_example"} // []string | (optional) tagN := []string{"Inner_example"} // []string | (optional) tenant := []string{"Inner_example"} // []string | Tenant (slug) (optional) tenantN := []string{"Inner_example"} // []string | Tenant (slug) (optional) - tenantGroup := []int32{int32(123)} // []int32 | Tenant Group (slug) (optional) - tenantGroupN := []int32{int32(123)} // []int32 | Tenant Group (slug) (optional) - tenantGroupId := []int32{int32(123)} // []int32 | Tenant Group (ID) (optional) - tenantGroupIdN := []int32{int32(123)} // []int32 | Tenant Group (ID) (optional) + tenantGroup := []string{"Inner_example"} // []string | (optional) + tenantGroupN := []string{"Inner_example"} // []string | (optional) + tenantGroupId := []string{"Inner_example"} // []string | (optional) + tenantGroupIdN := []string{"Inner_example"} // []string | (optional) tenantId := []*int32{int32(123)} // []*int32 | Tenant (ID) (optional) tenantIdN := []*int32{int32(123)} // []*int32 | Tenant (ID) (optional) updatedByRequest := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.WirelessAPI.WirelessWirelessLinksList(context.Background()).AuthCipher(authCipher).AuthCipherN(authCipherN).AuthPsk(authPsk).AuthPskEmpty(authPskEmpty).AuthPskIc(authPskIc).AuthPskIe(authPskIe).AuthPskIew(authPskIew).AuthPskIsw(authPskIsw).AuthPskN(authPskN).AuthPskNic(authPskNic).AuthPskNie(authPskNie).AuthPskNiew(authPskNiew).AuthPskNisw(authPskNisw).AuthType(authType).AuthTypeN(authTypeN).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).InterfaceAId(interfaceAId).InterfaceAIdN(interfaceAIdN).InterfaceBId(interfaceBId).InterfaceBIdN(interfaceBIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Offset(offset).Ordering(ordering).Q(q).Ssid(ssid).SsidEmpty(ssidEmpty).SsidIc(ssidIc).SsidIe(ssidIe).SsidIew(ssidIew).SsidIsw(ssidIsw).SsidN(ssidN).SsidNic(ssidNic).SsidNie(ssidNie).SsidNiew(ssidNiew).SsidNisw(ssidNisw).Status(status).StatusN(statusN).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).UpdatedByRequest(updatedByRequest).Execute() + resp, r, err := apiClient.WirelessAPI.WirelessWirelessLinksList(context.Background()).AuthCipher(authCipher).AuthCipherEmpty(authCipherEmpty).AuthCipherIc(authCipherIc).AuthCipherIe(authCipherIe).AuthCipherIew(authCipherIew).AuthCipherIsw(authCipherIsw).AuthCipherN(authCipherN).AuthCipherNic(authCipherNic).AuthCipherNie(authCipherNie).AuthCipherNiew(authCipherNiew).AuthCipherNisw(authCipherNisw).AuthPsk(authPsk).AuthPskEmpty(authPskEmpty).AuthPskIc(authPskIc).AuthPskIe(authPskIe).AuthPskIew(authPskIew).AuthPskIsw(authPskIsw).AuthPskN(authPskN).AuthPskNic(authPskNic).AuthPskNie(authPskNie).AuthPskNiew(authPskNiew).AuthPskNisw(authPskNisw).AuthType(authType).AuthTypeEmpty(authTypeEmpty).AuthTypeIc(authTypeIc).AuthTypeIe(authTypeIe).AuthTypeIew(authTypeIew).AuthTypeIsw(authTypeIsw).AuthTypeN(authTypeN).AuthTypeNic(authTypeNic).AuthTypeNie(authTypeNie).AuthTypeNiew(authTypeNiew).AuthTypeNisw(authTypeNisw).Created(created).CreatedEmpty(createdEmpty).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).CreatedByRequest(createdByRequest).Description(description).DescriptionEmpty(descriptionEmpty).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNisw(descriptionNisw).Distance(distance).DistanceEmpty(distanceEmpty).DistanceGt(distanceGt).DistanceGte(distanceGte).DistanceLt(distanceLt).DistanceLte(distanceLte).DistanceN(distanceN).DistanceUnit(distanceUnit).Id(id).IdEmpty(idEmpty).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).InterfaceAId(interfaceAId).InterfaceAIdN(interfaceAIdN).InterfaceBId(interfaceBId).InterfaceBIdN(interfaceBIdN).LastUpdated(lastUpdated).LastUpdatedEmpty(lastUpdatedEmpty).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModifiedByRequest(modifiedByRequest).Offset(offset).Ordering(ordering).Q(q).Ssid(ssid).SsidEmpty(ssidEmpty).SsidIc(ssidIc).SsidIe(ssidIe).SsidIew(ssidIew).SsidIsw(ssidIsw).SsidN(ssidN).SsidNic(ssidNic).SsidNie(ssidNie).SsidNiew(ssidNiew).SsidNisw(ssidNisw).Status(status).StatusEmpty(statusEmpty).StatusIc(statusIc).StatusIe(statusIe).StatusIew(statusIew).StatusIsw(statusIsw).StatusN(statusN).StatusNic(statusNic).StatusNie(statusNie).StatusNiew(statusNiew).StatusNisw(statusNisw).Tag(tag).TagN(tagN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).UpdatedByRequest(updatedByRequest).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `WirelessAPI.WirelessWirelessLinksList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -2022,7 +2111,16 @@ Other parameters are passed through a pointer to a apiWirelessWirelessLinksListR Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authCipher** | **[]string** | | - **authCipherN** | **[]string** | | + **authCipherEmpty** | **bool** | | + **authCipherIc** | [**[]AuthenticationCipher**](AuthenticationCipher.md) | * `auto` - Auto * `tkip` - TKIP * `aes` - AES | + **authCipherIe** | [**[]AuthenticationCipher**](AuthenticationCipher.md) | * `auto` - Auto * `tkip` - TKIP * `aes` - AES | + **authCipherIew** | [**[]AuthenticationCipher**](AuthenticationCipher.md) | * `auto` - Auto * `tkip` - TKIP * `aes` - AES | + **authCipherIsw** | [**[]AuthenticationCipher**](AuthenticationCipher.md) | * `auto` - Auto * `tkip` - TKIP * `aes` - AES | + **authCipherN** | [**[]AuthenticationCipher**](AuthenticationCipher.md) | * `auto` - Auto * `tkip` - TKIP * `aes` - AES | + **authCipherNic** | [**[]AuthenticationCipher**](AuthenticationCipher.md) | * `auto` - Auto * `tkip` - TKIP * `aes` - AES | + **authCipherNie** | [**[]AuthenticationCipher**](AuthenticationCipher.md) | * `auto` - Auto * `tkip` - TKIP * `aes` - AES | + **authCipherNiew** | [**[]AuthenticationCipher**](AuthenticationCipher.md) | * `auto` - Auto * `tkip` - TKIP * `aes` - AES | + **authCipherNisw** | [**[]AuthenticationCipher**](AuthenticationCipher.md) | * `auto` - Auto * `tkip` - TKIP * `aes` - AES | **authPsk** | **[]string** | | **authPskEmpty** | **bool** | | **authPskIc** | **[]string** | | @@ -2035,7 +2133,16 @@ Name | Type | Description | Notes **authPskNiew** | **[]string** | | **authPskNisw** | **[]string** | | **authType** | **[]string** | | - **authTypeN** | **[]string** | | + **authTypeEmpty** | **bool** | | + **authTypeIc** | [**[]AuthenticationType1**](AuthenticationType1.md) | * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise | + **authTypeIe** | [**[]AuthenticationType1**](AuthenticationType1.md) | * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise | + **authTypeIew** | [**[]AuthenticationType1**](AuthenticationType1.md) | * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise | + **authTypeIsw** | [**[]AuthenticationType1**](AuthenticationType1.md) | * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise | + **authTypeN** | [**[]AuthenticationType1**](AuthenticationType1.md) | * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise | + **authTypeNic** | [**[]AuthenticationType1**](AuthenticationType1.md) | * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise | + **authTypeNie** | [**[]AuthenticationType1**](AuthenticationType1.md) | * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise | + **authTypeNiew** | [**[]AuthenticationType1**](AuthenticationType1.md) | * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise | + **authTypeNisw** | [**[]AuthenticationType1**](AuthenticationType1.md) | * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise | **created** | [**[]time.Time**](time.Time.md) | | **createdEmpty** | [**[]time.Time**](time.Time.md) | | **createdGt** | [**[]time.Time**](time.Time.md) | | @@ -2055,6 +2162,14 @@ Name | Type | Description | Notes **descriptionNie** | **[]string** | | **descriptionNiew** | **[]string** | | **descriptionNisw** | **[]string** | | + **distance** | **[]float64** | | + **distanceEmpty** | **bool** | | + **distanceGt** | **[]float64** | | + **distanceGte** | **[]float64** | | + **distanceLt** | **[]float64** | | + **distanceLte** | **[]float64** | | + **distanceN** | **[]float64** | | + **distanceUnit** | [**WirelessWirelessLinksListDistanceUnitParameter**](WirelessWirelessLinksListDistanceUnitParameter.md) | * `km` - Kilometers * `m` - Meters * `mi` - Miles * `ft` - Feet | **id** | **[]int32** | | **idEmpty** | **bool** | | **idGt** | **[]int32** | | @@ -2090,15 +2205,24 @@ Name | Type | Description | Notes **ssidNiew** | **[]string** | | **ssidNisw** | **[]string** | | **status** | **[]string** | | - **statusN** | **[]string** | | + **statusEmpty** | **bool** | | + **statusIc** | [**[]DcimCablesListStatusIcParameterInner**](DcimCablesListStatusIcParameterInner.md) | * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning | + **statusIe** | [**[]DcimCablesListStatusIcParameterInner**](DcimCablesListStatusIcParameterInner.md) | * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning | + **statusIew** | [**[]DcimCablesListStatusIcParameterInner**](DcimCablesListStatusIcParameterInner.md) | * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning | + **statusIsw** | [**[]DcimCablesListStatusIcParameterInner**](DcimCablesListStatusIcParameterInner.md) | * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning | + **statusN** | [**[]DcimCablesListStatusIcParameterInner**](DcimCablesListStatusIcParameterInner.md) | * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning | + **statusNic** | [**[]DcimCablesListStatusIcParameterInner**](DcimCablesListStatusIcParameterInner.md) | * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning | + **statusNie** | [**[]DcimCablesListStatusIcParameterInner**](DcimCablesListStatusIcParameterInner.md) | * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning | + **statusNiew** | [**[]DcimCablesListStatusIcParameterInner**](DcimCablesListStatusIcParameterInner.md) | * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning | + **statusNisw** | [**[]DcimCablesListStatusIcParameterInner**](DcimCablesListStatusIcParameterInner.md) | * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning | **tag** | **[]string** | | **tagN** | **[]string** | | **tenant** | **[]string** | Tenant (slug) | **tenantN** | **[]string** | Tenant (slug) | - **tenantGroup** | **[]int32** | Tenant Group (slug) | - **tenantGroupN** | **[]int32** | Tenant Group (slug) | - **tenantGroupId** | **[]int32** | Tenant Group (ID) | - **tenantGroupIdN** | **[]int32** | Tenant Group (ID) | + **tenantGroup** | **[]string** | | + **tenantGroupN** | **[]string** | | + **tenantGroupId** | **[]string** | | + **tenantGroupIdN** | **[]string** | | **tenantId** | **[]int32** | Tenant (ID) | **tenantIdN** | **[]int32** | Tenant (ID) | **updatedByRequest** | **string** | | @@ -2285,7 +2409,7 @@ import ( func main() { id := int32(56) // int32 | A unique integer value identifying this wireless link. - writableWirelessLinkRequest := *openapiclient.NewWritableWirelessLinkRequest(*openapiclient.NewInterfaceRequest(*openapiclient.NewDeviceRequest(), "Name_example", openapiclient.Interface_type_value("virtual")), *openapiclient.NewInterfaceRequest(*openapiclient.NewDeviceRequest(), "Name_example", openapiclient.Interface_type_value("virtual"))) // WritableWirelessLinkRequest | + writableWirelessLinkRequest := *openapiclient.NewWritableWirelessLinkRequest(*openapiclient.NewBriefInterfaceRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example"), *openapiclient.NewBriefInterfaceRequest(*openapiclient.NewBriefDeviceRequest(), "Name_example")) // WritableWirelessLinkRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) diff --git a/docs/WirelessChannel.md b/docs/WirelessChannel.md index 1b80adfcb..4673a1363 100644 --- a/docs/WirelessChannel.md +++ b/docs/WirelessChannel.md @@ -3,23 +3,9 @@ ## Enum -* `_2_4G_1_2412_22` (value: `"2.4g-1-2412-22"`) - -* `_2_4G_2_2417_22` (value: `"2.4g-2-2417-22"`) - -* `_2_4G_3_2422_22` (value: `"2.4g-3-2422-22"`) - -* `_2_4G_4_2427_22` (value: `"2.4g-4-2427-22"`) - -* `_2_4G_5_2432_22` (value: `"2.4g-5-2432-22"`) - -* `_2_4G_6_2437_22` (value: `"2.4g-6-2437-22"`) - -* `_2_4G_7_2442_22` (value: `"2.4g-7-2442-22"`) - -* `_2_4G_8_2447_22` (value: `"2.4g-8-2447-22"`) +* `EMPTY` (value: `""`) -* `_2_4G_9_2452_22` (value: `"2.4g-9-2452-22"`) +* `_2_4G_1_2412_22` (value: `"2.4g-1-2412-22"`) * `_2_4G_10_2457_22` (value: `"2.4g-10-2457-22"`) @@ -29,39 +15,21 @@ * `_2_4G_13_2472_22` (value: `"2.4g-13-2472-22"`) -* `_5G_32_5160_20` (value: `"5g-32-5160-20"`) - -* `_5G_34_5170_40` (value: `"5g-34-5170-40"`) - -* `_5G_36_5180_20` (value: `"5g-36-5180-20"`) - -* `_5G_38_5190_40` (value: `"5g-38-5190-40"`) - -* `_5G_40_5200_20` (value: `"5g-40-5200-20"`) - -* `_5G_42_5210_80` (value: `"5g-42-5210-80"`) - -* `_5G_44_5220_20` (value: `"5g-44-5220-20"`) - -* `_5G_46_5230_40` (value: `"5g-46-5230-40"`) - -* `_5G_48_5240_20` (value: `"5g-48-5240-20"`) - -* `_5G_50_5250_160` (value: `"5g-50-5250-160"`) +* `_2_4G_2_2417_22` (value: `"2.4g-2-2417-22"`) -* `_5G_52_5260_20` (value: `"5g-52-5260-20"`) +* `_2_4G_3_2422_22` (value: `"2.4g-3-2422-22"`) -* `_5G_54_5270_40` (value: `"5g-54-5270-40"`) +* `_2_4G_4_2427_22` (value: `"2.4g-4-2427-22"`) -* `_5G_56_5280_20` (value: `"5g-56-5280-20"`) +* `_2_4G_5_2432_22` (value: `"2.4g-5-2432-22"`) -* `_5G_58_5290_80` (value: `"5g-58-5290-80"`) +* `_2_4G_6_2437_22` (value: `"2.4g-6-2437-22"`) -* `_5G_60_5300_20` (value: `"5g-60-5300-20"`) +* `_2_4G_7_2442_22` (value: `"2.4g-7-2442-22"`) -* `_5G_62_5310_40` (value: `"5g-62-5310-40"`) +* `_2_4G_8_2447_22` (value: `"2.4g-8-2447-22"`) -* `_5G_64_5320_20` (value: `"5g-64-5320-20"`) +* `_2_4G_9_2452_22` (value: `"2.4g-9-2452-22"`) * `_5G_100_5500_20` (value: `"5g-100-5500-20"`) @@ -137,103 +105,77 @@ * `_5G_177_5885_20` (value: `"5g-177-5885-20"`) -* `_6G_1_5955_20` (value: `"6g-1-5955-20"`) - -* `_6G_3_5965_40` (value: `"6g-3-5965-40"`) - -* `_6G_5_5975_20` (value: `"6g-5-5975-20"`) - -* `_6G_7_5985_80` (value: `"6g-7-5985-80"`) - -* `_6G_9_5995_20` (value: `"6g-9-5995-20"`) - -* `_6G_11_6005_40` (value: `"6g-11-6005-40"`) - -* `_6G_13_6015_20` (value: `"6g-13-6015-20"`) - -* `_6G_15_6025_160` (value: `"6g-15-6025-160"`) - -* `_6G_17_6035_20` (value: `"6g-17-6035-20"`) - -* `_6G_19_6045_40` (value: `"6g-19-6045-40"`) - -* `_6G_21_6055_20` (value: `"6g-21-6055-20"`) - -* `_6G_23_6065_80` (value: `"6g-23-6065-80"`) - -* `_6G_25_6075_20` (value: `"6g-25-6075-20"`) - -* `_6G_27_6085_40` (value: `"6g-27-6085-40"`) +* `_5G_32_5160_20` (value: `"5g-32-5160-20"`) -* `_6G_29_6095_20` (value: `"6g-29-6095-20"`) +* `_5G_34_5170_40` (value: `"5g-34-5170-40"`) -* `_6G_31_6105_320` (value: `"6g-31-6105-320"`) +* `_5G_36_5180_20` (value: `"5g-36-5180-20"`) -* `_6G_33_6115_20` (value: `"6g-33-6115-20"`) +* `_5G_38_5190_40` (value: `"5g-38-5190-40"`) -* `_6G_35_6125_40` (value: `"6g-35-6125-40"`) +* `_5G_40_5200_20` (value: `"5g-40-5200-20"`) -* `_6G_37_6135_20` (value: `"6g-37-6135-20"`) +* `_5G_42_5210_80` (value: `"5g-42-5210-80"`) -* `_6G_39_6145_80` (value: `"6g-39-6145-80"`) +* `_5G_44_5220_20` (value: `"5g-44-5220-20"`) -* `_6G_41_6155_20` (value: `"6g-41-6155-20"`) +* `_5G_46_5230_40` (value: `"5g-46-5230-40"`) -* `_6G_43_6165_40` (value: `"6g-43-6165-40"`) +* `_5G_48_5240_20` (value: `"5g-48-5240-20"`) -* `_6G_45_6175_20` (value: `"6g-45-6175-20"`) +* `_5G_50_5250_160` (value: `"5g-50-5250-160"`) -* `_6G_47_6185_160` (value: `"6g-47-6185-160"`) +* `_5G_52_5260_20` (value: `"5g-52-5260-20"`) -* `_6G_49_6195_20` (value: `"6g-49-6195-20"`) +* `_5G_54_5270_40` (value: `"5g-54-5270-40"`) -* `_6G_51_6205_40` (value: `"6g-51-6205-40"`) +* `_5G_56_5280_20` (value: `"5g-56-5280-20"`) -* `_6G_53_6215_20` (value: `"6g-53-6215-20"`) +* `_5G_58_5290_80` (value: `"5g-58-5290-80"`) -* `_6G_55_6225_80` (value: `"6g-55-6225-80"`) +* `_5G_60_5300_20` (value: `"5g-60-5300-20"`) -* `_6G_57_6235_20` (value: `"6g-57-6235-20"`) +* `_5G_62_5310_40` (value: `"5g-62-5310-40"`) -* `_6G_59_6245_40` (value: `"6g-59-6245-40"`) +* `_5G_64_5320_20` (value: `"5g-64-5320-20"`) -* `_6G_61_6255_20` (value: `"6g-61-6255-20"`) +* `_60G_1_58320_2160` (value: `"60g-1-58320-2160"`) -* `_6G_65_6275_20` (value: `"6g-65-6275-20"`) +* `_60G_10_61560_4320` (value: `"60g-10-61560-4320"`) -* `_6G_67_6285_40` (value: `"6g-67-6285-40"`) +* `_60G_11_63720_4320` (value: `"60g-11-63720-4320"`) -* `_6G_69_6295_20` (value: `"6g-69-6295-20"`) +* `_60G_12_65880_4320` (value: `"60g-12-65880-4320"`) -* `_6G_71_6305_80` (value: `"6g-71-6305-80"`) +* `_60G_13_68040_4320` (value: `"60g-13-68040-4320"`) -* `_6G_73_6315_20` (value: `"6g-73-6315-20"`) +* `_60G_17_60480_6480` (value: `"60g-17-60480-6480"`) -* `_6G_75_6325_40` (value: `"6g-75-6325-40"`) +* `_60G_18_62640_6480` (value: `"60g-18-62640-6480"`) -* `_6G_77_6335_20` (value: `"6g-77-6335-20"`) +* `_60G_19_64800_6480` (value: `"60g-19-64800-6480"`) -* `_6G_79_6345_160` (value: `"6g-79-6345-160"`) +* `_60G_2_60480_2160` (value: `"60g-2-60480-2160"`) -* `_6G_81_6355_20` (value: `"6g-81-6355-20"`) +* `_60G_20_66960_6480` (value: `"60g-20-66960-6480"`) -* `_6G_83_6365_40` (value: `"6g-83-6365-40"`) +* `_60G_25_61560_6480` (value: `"60g-25-61560-6480"`) -* `_6G_85_6375_20` (value: `"6g-85-6375-20"`) +* `_60G_26_63720_6480` (value: `"60g-26-63720-6480"`) -* `_6G_87_6385_80` (value: `"6g-87-6385-80"`) +* `_60G_27_65880_6480` (value: `"60g-27-65880-6480"`) -* `_6G_89_6395_20` (value: `"6g-89-6395-20"`) +* `_60G_3_62640_2160` (value: `"60g-3-62640-2160"`) -* `_6G_91_6405_40` (value: `"6g-91-6405-40"`) +* `_60G_4_64800_2160` (value: `"60g-4-64800-2160"`) -* `_6G_93_6415_20` (value: `"6g-93-6415-20"`) +* `_60G_5_66960_2160` (value: `"60g-5-66960-2160"`) -* `_6G_95_6425_320` (value: `"6g-95-6425-320"`) +* `_60G_6_69120_2160` (value: `"60g-6-69120-2160"`) -* `_6G_97_6435_20` (value: `"6g-97-6435-20"`) +* `_60G_9_59400_4320` (value: `"60g-9-59400-4320"`) -* `_6G_99_6445_40` (value: `"6g-99-6445-40"`) +* `_6G_1_5955_20` (value: `"6g-1-5955-20"`) * `_6G_101_6455_20` (value: `"6g-101-6455-20"`) @@ -245,6 +187,8 @@ * `_6G_109_6495_20` (value: `"6g-109-6495-20"`) +* `_6G_11_6005_40` (value: `"6g-11-6005-40"`) + * `_6G_111_6505_160` (value: `"6g-111-6505-160"`) * `_6G_113_6515_20` (value: `"6g-113-6515-20"`) @@ -263,6 +207,8 @@ * `_6G_129_6595_20` (value: `"6g-129-6595-20"`) +* `_6G_13_6015_20` (value: `"6g-13-6015-20"`) + * `_6G_131_6605_40` (value: `"6g-131-6605-40"`) * `_6G_133_6615_20` (value: `"6g-133-6615-20"`) @@ -283,6 +229,8 @@ * `_6G_149_6695_20` (value: `"6g-149-6695-20"`) +* `_6G_15_6025_160` (value: `"6g-15-6025-160"`) + * `_6G_151_6705_80` (value: `"6g-151-6705-80"`) * `_6G_153_6715_20` (value: `"6g-153-6715-20"`) @@ -303,6 +251,8 @@ * `_6G_169_6795_20` (value: `"6g-169-6795-20"`) +* `_6G_17_6035_20` (value: `"6g-17-6035-20"`) + * `_6G_171_6805_40` (value: `"6g-171-6805-40"`) * `_6G_173_6815_20` (value: `"6g-173-6815-20"`) @@ -323,6 +273,8 @@ * `_6G_189_6895_20` (value: `"6g-189-6895-20"`) +* `_6G_19_6045_40` (value: `"6g-19-6045-40"`) + * `_6G_193_6915_20` (value: `"6g-193-6915-20"`) * `_6G_195_6925_40` (value: `"6g-195-6925-40"`) @@ -341,6 +293,8 @@ * `_6G_209_6995_20` (value: `"6g-209-6995-20"`) +* `_6G_21_6055_20` (value: `"6g-21-6055-20"`) + * `_6G_211_7005_40` (value: `"6g-211-7005-40"`) * `_6G_213_7015_20` (value: `"6g-213-7015-20"`) @@ -359,45 +313,91 @@ * `_6G_229_7095_20` (value: `"6g-229-7095-20"`) +* `_6G_23_6065_80` (value: `"6g-23-6065-80"`) + * `_6G_233_7115_20` (value: `"6g-233-7115-20"`) -* `_60G_1_58320_2160` (value: `"60g-1-58320-2160"`) +* `_6G_25_6075_20` (value: `"6g-25-6075-20"`) -* `_60G_2_60480_2160` (value: `"60g-2-60480-2160"`) +* `_6G_27_6085_40` (value: `"6g-27-6085-40"`) -* `_60G_3_62640_2160` (value: `"60g-3-62640-2160"`) +* `_6G_29_6095_20` (value: `"6g-29-6095-20"`) -* `_60G_4_64800_2160` (value: `"60g-4-64800-2160"`) +* `_6G_3_5965_40` (value: `"6g-3-5965-40"`) -* `_60G_5_66960_2160` (value: `"60g-5-66960-2160"`) +* `_6G_31_6105_320` (value: `"6g-31-6105-320"`) -* `_60G_6_69120_2160` (value: `"60g-6-69120-2160"`) +* `_6G_33_6115_20` (value: `"6g-33-6115-20"`) -* `_60G_9_59400_4320` (value: `"60g-9-59400-4320"`) +* `_6G_35_6125_40` (value: `"6g-35-6125-40"`) -* `_60G_10_61560_4320` (value: `"60g-10-61560-4320"`) +* `_6G_37_6135_20` (value: `"6g-37-6135-20"`) -* `_60G_11_63720_4320` (value: `"60g-11-63720-4320"`) +* `_6G_39_6145_80` (value: `"6g-39-6145-80"`) -* `_60G_12_65880_4320` (value: `"60g-12-65880-4320"`) +* `_6G_41_6155_20` (value: `"6g-41-6155-20"`) -* `_60G_13_68040_4320` (value: `"60g-13-68040-4320"`) +* `_6G_43_6165_40` (value: `"6g-43-6165-40"`) -* `_60G_17_60480_6480` (value: `"60g-17-60480-6480"`) +* `_6G_45_6175_20` (value: `"6g-45-6175-20"`) -* `_60G_18_62640_6480` (value: `"60g-18-62640-6480"`) +* `_6G_47_6185_160` (value: `"6g-47-6185-160"`) -* `_60G_19_64800_6480` (value: `"60g-19-64800-6480"`) +* `_6G_49_6195_20` (value: `"6g-49-6195-20"`) -* `_60G_20_66960_6480` (value: `"60g-20-66960-6480"`) +* `_6G_5_5975_20` (value: `"6g-5-5975-20"`) -* `_60G_25_61560_6480` (value: `"60g-25-61560-6480"`) +* `_6G_51_6205_40` (value: `"6g-51-6205-40"`) -* `_60G_26_63720_6480` (value: `"60g-26-63720-6480"`) +* `_6G_53_6215_20` (value: `"6g-53-6215-20"`) -* `_60G_27_65880_6480` (value: `"60g-27-65880-6480"`) +* `_6G_55_6225_80` (value: `"6g-55-6225-80"`) -* `EMPTY` (value: `""`) +* `_6G_57_6235_20` (value: `"6g-57-6235-20"`) + +* `_6G_59_6245_40` (value: `"6g-59-6245-40"`) + +* `_6G_61_6255_20` (value: `"6g-61-6255-20"`) + +* `_6G_65_6275_20` (value: `"6g-65-6275-20"`) + +* `_6G_67_6285_40` (value: `"6g-67-6285-40"`) + +* `_6G_69_6295_20` (value: `"6g-69-6295-20"`) + +* `_6G_7_5985_80` (value: `"6g-7-5985-80"`) + +* `_6G_71_6305_80` (value: `"6g-71-6305-80"`) + +* `_6G_73_6315_20` (value: `"6g-73-6315-20"`) + +* `_6G_75_6325_40` (value: `"6g-75-6325-40"`) + +* `_6G_77_6335_20` (value: `"6g-77-6335-20"`) + +* `_6G_79_6345_160` (value: `"6g-79-6345-160"`) + +* `_6G_81_6355_20` (value: `"6g-81-6355-20"`) + +* `_6G_83_6365_40` (value: `"6g-83-6365-40"`) + +* `_6G_85_6375_20` (value: `"6g-85-6375-20"`) + +* `_6G_87_6385_80` (value: `"6g-87-6385-80"`) + +* `_6G_89_6395_20` (value: `"6g-89-6395-20"`) + +* `_6G_9_5995_20` (value: `"6g-9-5995-20"`) + +* `_6G_91_6405_40` (value: `"6g-91-6405-40"`) + +* `_6G_93_6415_20` (value: `"6g-93-6415-20"`) + +* `_6G_95_6425_320` (value: `"6g-95-6425-320"`) + +* `_6G_97_6435_20` (value: `"6g-97-6435-20"`) + +* `_6G_99_6445_40` (value: `"6g-99-6445-40"`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WirelessChannel1.md b/docs/WirelessChannel1.md new file mode 100644 index 000000000..aa593f32e --- /dev/null +++ b/docs/WirelessChannel1.md @@ -0,0 +1,405 @@ +# WirelessChannel1 + +## Enum + + +* `_2_4G_1_2412_22` (value: `"2.4g-1-2412-22"`) + +* `_2_4G_2_2417_22` (value: `"2.4g-2-2417-22"`) + +* `_2_4G_3_2422_22` (value: `"2.4g-3-2422-22"`) + +* `_2_4G_4_2427_22` (value: `"2.4g-4-2427-22"`) + +* `_2_4G_5_2432_22` (value: `"2.4g-5-2432-22"`) + +* `_2_4G_6_2437_22` (value: `"2.4g-6-2437-22"`) + +* `_2_4G_7_2442_22` (value: `"2.4g-7-2442-22"`) + +* `_2_4G_8_2447_22` (value: `"2.4g-8-2447-22"`) + +* `_2_4G_9_2452_22` (value: `"2.4g-9-2452-22"`) + +* `_2_4G_10_2457_22` (value: `"2.4g-10-2457-22"`) + +* `_2_4G_11_2462_22` (value: `"2.4g-11-2462-22"`) + +* `_2_4G_12_2467_22` (value: `"2.4g-12-2467-22"`) + +* `_2_4G_13_2472_22` (value: `"2.4g-13-2472-22"`) + +* `_5G_32_5160_20` (value: `"5g-32-5160-20"`) + +* `_5G_34_5170_40` (value: `"5g-34-5170-40"`) + +* `_5G_36_5180_20` (value: `"5g-36-5180-20"`) + +* `_5G_38_5190_40` (value: `"5g-38-5190-40"`) + +* `_5G_40_5200_20` (value: `"5g-40-5200-20"`) + +* `_5G_42_5210_80` (value: `"5g-42-5210-80"`) + +* `_5G_44_5220_20` (value: `"5g-44-5220-20"`) + +* `_5G_46_5230_40` (value: `"5g-46-5230-40"`) + +* `_5G_48_5240_20` (value: `"5g-48-5240-20"`) + +* `_5G_50_5250_160` (value: `"5g-50-5250-160"`) + +* `_5G_52_5260_20` (value: `"5g-52-5260-20"`) + +* `_5G_54_5270_40` (value: `"5g-54-5270-40"`) + +* `_5G_56_5280_20` (value: `"5g-56-5280-20"`) + +* `_5G_58_5290_80` (value: `"5g-58-5290-80"`) + +* `_5G_60_5300_20` (value: `"5g-60-5300-20"`) + +* `_5G_62_5310_40` (value: `"5g-62-5310-40"`) + +* `_5G_64_5320_20` (value: `"5g-64-5320-20"`) + +* `_5G_100_5500_20` (value: `"5g-100-5500-20"`) + +* `_5G_102_5510_40` (value: `"5g-102-5510-40"`) + +* `_5G_104_5520_20` (value: `"5g-104-5520-20"`) + +* `_5G_106_5530_80` (value: `"5g-106-5530-80"`) + +* `_5G_108_5540_20` (value: `"5g-108-5540-20"`) + +* `_5G_110_5550_40` (value: `"5g-110-5550-40"`) + +* `_5G_112_5560_20` (value: `"5g-112-5560-20"`) + +* `_5G_114_5570_160` (value: `"5g-114-5570-160"`) + +* `_5G_116_5580_20` (value: `"5g-116-5580-20"`) + +* `_5G_118_5590_40` (value: `"5g-118-5590-40"`) + +* `_5G_120_5600_20` (value: `"5g-120-5600-20"`) + +* `_5G_122_5610_80` (value: `"5g-122-5610-80"`) + +* `_5G_124_5620_20` (value: `"5g-124-5620-20"`) + +* `_5G_126_5630_40` (value: `"5g-126-5630-40"`) + +* `_5G_128_5640_20` (value: `"5g-128-5640-20"`) + +* `_5G_132_5660_20` (value: `"5g-132-5660-20"`) + +* `_5G_134_5670_40` (value: `"5g-134-5670-40"`) + +* `_5G_136_5680_20` (value: `"5g-136-5680-20"`) + +* `_5G_138_5690_80` (value: `"5g-138-5690-80"`) + +* `_5G_140_5700_20` (value: `"5g-140-5700-20"`) + +* `_5G_142_5710_40` (value: `"5g-142-5710-40"`) + +* `_5G_144_5720_20` (value: `"5g-144-5720-20"`) + +* `_5G_149_5745_20` (value: `"5g-149-5745-20"`) + +* `_5G_151_5755_40` (value: `"5g-151-5755-40"`) + +* `_5G_153_5765_20` (value: `"5g-153-5765-20"`) + +* `_5G_155_5775_80` (value: `"5g-155-5775-80"`) + +* `_5G_157_5785_20` (value: `"5g-157-5785-20"`) + +* `_5G_159_5795_40` (value: `"5g-159-5795-40"`) + +* `_5G_161_5805_20` (value: `"5g-161-5805-20"`) + +* `_5G_163_5815_160` (value: `"5g-163-5815-160"`) + +* `_5G_165_5825_20` (value: `"5g-165-5825-20"`) + +* `_5G_167_5835_40` (value: `"5g-167-5835-40"`) + +* `_5G_169_5845_20` (value: `"5g-169-5845-20"`) + +* `_5G_171_5855_80` (value: `"5g-171-5855-80"`) + +* `_5G_173_5865_20` (value: `"5g-173-5865-20"`) + +* `_5G_175_5875_40` (value: `"5g-175-5875-40"`) + +* `_5G_177_5885_20` (value: `"5g-177-5885-20"`) + +* `_6G_1_5955_20` (value: `"6g-1-5955-20"`) + +* `_6G_3_5965_40` (value: `"6g-3-5965-40"`) + +* `_6G_5_5975_20` (value: `"6g-5-5975-20"`) + +* `_6G_7_5985_80` (value: `"6g-7-5985-80"`) + +* `_6G_9_5995_20` (value: `"6g-9-5995-20"`) + +* `_6G_11_6005_40` (value: `"6g-11-6005-40"`) + +* `_6G_13_6015_20` (value: `"6g-13-6015-20"`) + +* `_6G_15_6025_160` (value: `"6g-15-6025-160"`) + +* `_6G_17_6035_20` (value: `"6g-17-6035-20"`) + +* `_6G_19_6045_40` (value: `"6g-19-6045-40"`) + +* `_6G_21_6055_20` (value: `"6g-21-6055-20"`) + +* `_6G_23_6065_80` (value: `"6g-23-6065-80"`) + +* `_6G_25_6075_20` (value: `"6g-25-6075-20"`) + +* `_6G_27_6085_40` (value: `"6g-27-6085-40"`) + +* `_6G_29_6095_20` (value: `"6g-29-6095-20"`) + +* `_6G_31_6105_320` (value: `"6g-31-6105-320"`) + +* `_6G_33_6115_20` (value: `"6g-33-6115-20"`) + +* `_6G_35_6125_40` (value: `"6g-35-6125-40"`) + +* `_6G_37_6135_20` (value: `"6g-37-6135-20"`) + +* `_6G_39_6145_80` (value: `"6g-39-6145-80"`) + +* `_6G_41_6155_20` (value: `"6g-41-6155-20"`) + +* `_6G_43_6165_40` (value: `"6g-43-6165-40"`) + +* `_6G_45_6175_20` (value: `"6g-45-6175-20"`) + +* `_6G_47_6185_160` (value: `"6g-47-6185-160"`) + +* `_6G_49_6195_20` (value: `"6g-49-6195-20"`) + +* `_6G_51_6205_40` (value: `"6g-51-6205-40"`) + +* `_6G_53_6215_20` (value: `"6g-53-6215-20"`) + +* `_6G_55_6225_80` (value: `"6g-55-6225-80"`) + +* `_6G_57_6235_20` (value: `"6g-57-6235-20"`) + +* `_6G_59_6245_40` (value: `"6g-59-6245-40"`) + +* `_6G_61_6255_20` (value: `"6g-61-6255-20"`) + +* `_6G_65_6275_20` (value: `"6g-65-6275-20"`) + +* `_6G_67_6285_40` (value: `"6g-67-6285-40"`) + +* `_6G_69_6295_20` (value: `"6g-69-6295-20"`) + +* `_6G_71_6305_80` (value: `"6g-71-6305-80"`) + +* `_6G_73_6315_20` (value: `"6g-73-6315-20"`) + +* `_6G_75_6325_40` (value: `"6g-75-6325-40"`) + +* `_6G_77_6335_20` (value: `"6g-77-6335-20"`) + +* `_6G_79_6345_160` (value: `"6g-79-6345-160"`) + +* `_6G_81_6355_20` (value: `"6g-81-6355-20"`) + +* `_6G_83_6365_40` (value: `"6g-83-6365-40"`) + +* `_6G_85_6375_20` (value: `"6g-85-6375-20"`) + +* `_6G_87_6385_80` (value: `"6g-87-6385-80"`) + +* `_6G_89_6395_20` (value: `"6g-89-6395-20"`) + +* `_6G_91_6405_40` (value: `"6g-91-6405-40"`) + +* `_6G_93_6415_20` (value: `"6g-93-6415-20"`) + +* `_6G_95_6425_320` (value: `"6g-95-6425-320"`) + +* `_6G_97_6435_20` (value: `"6g-97-6435-20"`) + +* `_6G_99_6445_40` (value: `"6g-99-6445-40"`) + +* `_6G_101_6455_20` (value: `"6g-101-6455-20"`) + +* `_6G_103_6465_80` (value: `"6g-103-6465-80"`) + +* `_6G_105_6475_20` (value: `"6g-105-6475-20"`) + +* `_6G_107_6485_40` (value: `"6g-107-6485-40"`) + +* `_6G_109_6495_20` (value: `"6g-109-6495-20"`) + +* `_6G_111_6505_160` (value: `"6g-111-6505-160"`) + +* `_6G_113_6515_20` (value: `"6g-113-6515-20"`) + +* `_6G_115_6525_40` (value: `"6g-115-6525-40"`) + +* `_6G_117_6535_20` (value: `"6g-117-6535-20"`) + +* `_6G_119_6545_80` (value: `"6g-119-6545-80"`) + +* `_6G_121_6555_20` (value: `"6g-121-6555-20"`) + +* `_6G_123_6565_40` (value: `"6g-123-6565-40"`) + +* `_6G_125_6575_20` (value: `"6g-125-6575-20"`) + +* `_6G_129_6595_20` (value: `"6g-129-6595-20"`) + +* `_6G_131_6605_40` (value: `"6g-131-6605-40"`) + +* `_6G_133_6615_20` (value: `"6g-133-6615-20"`) + +* `_6G_135_6625_80` (value: `"6g-135-6625-80"`) + +* `_6G_137_6635_20` (value: `"6g-137-6635-20"`) + +* `_6G_139_6645_40` (value: `"6g-139-6645-40"`) + +* `_6G_141_6655_20` (value: `"6g-141-6655-20"`) + +* `_6G_143_6665_160` (value: `"6g-143-6665-160"`) + +* `_6G_145_6675_20` (value: `"6g-145-6675-20"`) + +* `_6G_147_6685_40` (value: `"6g-147-6685-40"`) + +* `_6G_149_6695_20` (value: `"6g-149-6695-20"`) + +* `_6G_151_6705_80` (value: `"6g-151-6705-80"`) + +* `_6G_153_6715_20` (value: `"6g-153-6715-20"`) + +* `_6G_155_6725_40` (value: `"6g-155-6725-40"`) + +* `_6G_157_6735_20` (value: `"6g-157-6735-20"`) + +* `_6G_159_6745_320` (value: `"6g-159-6745-320"`) + +* `_6G_161_6755_20` (value: `"6g-161-6755-20"`) + +* `_6G_163_6765_40` (value: `"6g-163-6765-40"`) + +* `_6G_165_6775_20` (value: `"6g-165-6775-20"`) + +* `_6G_167_6785_80` (value: `"6g-167-6785-80"`) + +* `_6G_169_6795_20` (value: `"6g-169-6795-20"`) + +* `_6G_171_6805_40` (value: `"6g-171-6805-40"`) + +* `_6G_173_6815_20` (value: `"6g-173-6815-20"`) + +* `_6G_175_6825_160` (value: `"6g-175-6825-160"`) + +* `_6G_177_6835_20` (value: `"6g-177-6835-20"`) + +* `_6G_179_6845_40` (value: `"6g-179-6845-40"`) + +* `_6G_181_6855_20` (value: `"6g-181-6855-20"`) + +* `_6G_183_6865_80` (value: `"6g-183-6865-80"`) + +* `_6G_185_6875_20` (value: `"6g-185-6875-20"`) + +* `_6G_187_6885_40` (value: `"6g-187-6885-40"`) + +* `_6G_189_6895_20` (value: `"6g-189-6895-20"`) + +* `_6G_193_6915_20` (value: `"6g-193-6915-20"`) + +* `_6G_195_6925_40` (value: `"6g-195-6925-40"`) + +* `_6G_197_6935_20` (value: `"6g-197-6935-20"`) + +* `_6G_199_6945_80` (value: `"6g-199-6945-80"`) + +* `_6G_201_6955_20` (value: `"6g-201-6955-20"`) + +* `_6G_203_6965_40` (value: `"6g-203-6965-40"`) + +* `_6G_205_6975_20` (value: `"6g-205-6975-20"`) + +* `_6G_207_6985_160` (value: `"6g-207-6985-160"`) + +* `_6G_209_6995_20` (value: `"6g-209-6995-20"`) + +* `_6G_211_7005_40` (value: `"6g-211-7005-40"`) + +* `_6G_213_7015_20` (value: `"6g-213-7015-20"`) + +* `_6G_215_7025_80` (value: `"6g-215-7025-80"`) + +* `_6G_217_7035_20` (value: `"6g-217-7035-20"`) + +* `_6G_219_7045_40` (value: `"6g-219-7045-40"`) + +* `_6G_221_7055_20` (value: `"6g-221-7055-20"`) + +* `_6G_225_7075_20` (value: `"6g-225-7075-20"`) + +* `_6G_227_7085_40` (value: `"6g-227-7085-40"`) + +* `_6G_229_7095_20` (value: `"6g-229-7095-20"`) + +* `_6G_233_7115_20` (value: `"6g-233-7115-20"`) + +* `_60G_1_58320_2160` (value: `"60g-1-58320-2160"`) + +* `_60G_2_60480_2160` (value: `"60g-2-60480-2160"`) + +* `_60G_3_62640_2160` (value: `"60g-3-62640-2160"`) + +* `_60G_4_64800_2160` (value: `"60g-4-64800-2160"`) + +* `_60G_5_66960_2160` (value: `"60g-5-66960-2160"`) + +* `_60G_6_69120_2160` (value: `"60g-6-69120-2160"`) + +* `_60G_9_59400_4320` (value: `"60g-9-59400-4320"`) + +* `_60G_10_61560_4320` (value: `"60g-10-61560-4320"`) + +* `_60G_11_63720_4320` (value: `"60g-11-63720-4320"`) + +* `_60G_12_65880_4320` (value: `"60g-12-65880-4320"`) + +* `_60G_13_68040_4320` (value: `"60g-13-68040-4320"`) + +* `_60G_17_60480_6480` (value: `"60g-17-60480-6480"`) + +* `_60G_18_62640_6480` (value: `"60g-18-62640-6480"`) + +* `_60G_19_64800_6480` (value: `"60g-19-64800-6480"`) + +* `_60G_20_66960_6480` (value: `"60g-20-66960-6480"`) + +* `_60G_25_61560_6480` (value: `"60g-25-61560-6480"`) + +* `_60G_26_63720_6480` (value: `"60g-26-63720-6480"`) + +* `_60G_27_65880_6480` (value: `"60g-27-65880-6480"`) + +* `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/WirelessLAN.md b/docs/WirelessLAN.md index 8bc856e77..3dbf04d53 100644 --- a/docs/WirelessLAN.md +++ b/docs/WirelessLAN.md @@ -6,13 +6,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Ssid** | **string** | | **Description** | Pointer to **string** | | [optional] -**Group** | Pointer to [**NullableWirelessLANGroup**](WirelessLANGroup.md) | | [optional] +**Group** | Pointer to [**NullableBriefWirelessLANGroup**](BriefWirelessLANGroup.md) | | [optional] **Status** | Pointer to [**WirelessLANStatus**](WirelessLANStatus.md) | | [optional] -**Vlan** | Pointer to [**NullableVLAN**](VLAN.md) | | [optional] -**Tenant** | Pointer to [**NullableTenant**](Tenant.md) | | [optional] +**Vlan** | Pointer to [**NullableBriefVLAN**](BriefVLAN.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenant**](BriefTenant.md) | | [optional] **AuthType** | Pointer to [**WirelessLANAuthType**](WirelessLANAuthType.md) | | [optional] **AuthCipher** | Pointer to [**WirelessLANAuthCipher**](WirelessLANAuthCipher.md) | | [optional] **AuthPsk** | Pointer to **string** | | [optional] @@ -81,6 +82,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *WirelessLAN) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *WirelessLAN) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *WirelessLAN) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *WirelessLAN) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *WirelessLAN) GetDisplay() string` @@ -148,20 +174,20 @@ HasDescription returns a boolean if a field has been set. ### GetGroup -`func (o *WirelessLAN) GetGroup() WirelessLANGroup` +`func (o *WirelessLAN) GetGroup() BriefWirelessLANGroup` GetGroup returns the Group field if non-nil, zero value otherwise. ### GetGroupOk -`func (o *WirelessLAN) GetGroupOk() (*WirelessLANGroup, bool)` +`func (o *WirelessLAN) GetGroupOk() (*BriefWirelessLANGroup, bool)` GetGroupOk returns a tuple with the Group field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetGroup -`func (o *WirelessLAN) SetGroup(v WirelessLANGroup)` +`func (o *WirelessLAN) SetGroup(v BriefWirelessLANGroup)` SetGroup sets Group field to given value. @@ -208,20 +234,20 @@ HasStatus returns a boolean if a field has been set. ### GetVlan -`func (o *WirelessLAN) GetVlan() VLAN` +`func (o *WirelessLAN) GetVlan() BriefVLAN` GetVlan returns the Vlan field if non-nil, zero value otherwise. ### GetVlanOk -`func (o *WirelessLAN) GetVlanOk() (*VLAN, bool)` +`func (o *WirelessLAN) GetVlanOk() (*BriefVLAN, 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 *WirelessLAN) SetVlan(v VLAN)` +`func (o *WirelessLAN) SetVlan(v BriefVLAN)` SetVlan sets Vlan field to given value. @@ -243,20 +269,20 @@ HasVlan returns a boolean if a field has been set. UnsetVlan ensures that no value is present for Vlan, not even an explicit nil ### GetTenant -`func (o *WirelessLAN) GetTenant() Tenant` +`func (o *WirelessLAN) GetTenant() BriefTenant` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *WirelessLAN) GetTenantOk() (*Tenant, bool)` +`func (o *WirelessLAN) GetTenantOk() (*BriefTenant, 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 *WirelessLAN) SetTenant(v Tenant)` +`func (o *WirelessLAN) SetTenant(v BriefTenant)` SetTenant sets Tenant field to given value. diff --git a/docs/WirelessLANGroup.md b/docs/WirelessLANGroup.md index aae3009eb..7eca9e781 100644 --- a/docs/WirelessLANGroup.md +++ b/docs/WirelessLANGroup.md @@ -6,10 +6,16 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] **Name** | **string** | | **Slug** | **string** | | +**Parent** | Pointer to [**NullableNestedWirelessLANGroup**](NestedWirelessLANGroup.md) | | [optional] **Description** | Pointer to **string** | | [optional] +**Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] +**Created** | **NullableTime** | | [readonly] +**LastUpdated** | **NullableTime** | | [readonly] **WirelesslanCount** | **int32** | | [readonly] [default to 0] **Depth** | **int32** | | [readonly] @@ -17,7 +23,7 @@ Name | Type | Description | Notes ### NewWirelessLANGroup -`func NewWirelessLANGroup(id int32, url string, display string, name string, slug string, wirelesslanCount int32, depth int32, ) *WirelessLANGroup` +`func NewWirelessLANGroup(id int32, url string, display string, name string, slug string, created NullableTime, lastUpdated NullableTime, wirelesslanCount int32, depth int32, ) *WirelessLANGroup` NewWirelessLANGroup instantiates a new WirelessLANGroup object This constructor will assign default values to properties that have it defined, @@ -72,6 +78,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *WirelessLANGroup) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *WirelessLANGroup) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *WirelessLANGroup) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *WirelessLANGroup) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *WirelessLANGroup) GetDisplay() string` @@ -132,6 +163,41 @@ and a boolean to check if the value has been set. SetSlug sets Slug field to given value. +### GetParent + +`func (o *WirelessLANGroup) GetParent() NestedWirelessLANGroup` + +GetParent returns the Parent field if non-nil, zero value otherwise. + +### GetParentOk + +`func (o *WirelessLANGroup) GetParentOk() (*NestedWirelessLANGroup, bool)` + +GetParentOk returns a tuple with the Parent field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetParent + +`func (o *WirelessLANGroup) SetParent(v NestedWirelessLANGroup)` + +SetParent sets Parent field to given value. + +### HasParent + +`func (o *WirelessLANGroup) HasParent() bool` + +HasParent returns a boolean if a field has been set. + +### SetParentNil + +`func (o *WirelessLANGroup) SetParentNil(b bool)` + + SetParentNil sets the value for Parent to be an explicit nil + +### UnsetParent +`func (o *WirelessLANGroup) UnsetParent()` + +UnsetParent ensures that no value is present for Parent, not even an explicit nil ### GetDescription `func (o *WirelessLANGroup) GetDescription() string` @@ -157,6 +223,116 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. +### GetTags + +`func (o *WirelessLANGroup) GetTags() []NestedTag` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *WirelessLANGroup) GetTagsOk() (*[]NestedTag, 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 *WirelessLANGroup) SetTags(v []NestedTag)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *WirelessLANGroup) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *WirelessLANGroup) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *WirelessLANGroup) 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 *WirelessLANGroup) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *WirelessLANGroup) HasCustomFields() bool` + +HasCustomFields returns a boolean if a field has been set. + +### GetCreated + +`func (o *WirelessLANGroup) GetCreated() time.Time` + +GetCreated returns the Created field if non-nil, zero value otherwise. + +### GetCreatedOk + +`func (o *WirelessLANGroup) 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 *WirelessLANGroup) SetCreated(v time.Time)` + +SetCreated sets Created field to given value. + + +### SetCreatedNil + +`func (o *WirelessLANGroup) SetCreatedNil(b bool)` + + SetCreatedNil sets the value for Created to be an explicit nil + +### UnsetCreated +`func (o *WirelessLANGroup) UnsetCreated()` + +UnsetCreated ensures that no value is present for Created, not even an explicit nil +### GetLastUpdated + +`func (o *WirelessLANGroup) GetLastUpdated() time.Time` + +GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise. + +### GetLastUpdatedOk + +`func (o *WirelessLANGroup) 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 *WirelessLANGroup) SetLastUpdated(v time.Time)` + +SetLastUpdated sets LastUpdated field to given value. + + +### SetLastUpdatedNil + +`func (o *WirelessLANGroup) SetLastUpdatedNil(b bool)` + + SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil + +### UnsetLastUpdated +`func (o *WirelessLANGroup) UnsetLastUpdated()` + +UnsetLastUpdated ensures that no value is present for LastUpdated, not even an explicit nil ### GetWirelesslanCount `func (o *WirelessLANGroup) GetWirelesslanCount() int32` diff --git a/docs/WirelessLANRequest.md b/docs/WirelessLANRequest.md index 84671d664..b4617be51 100644 --- a/docs/WirelessLANRequest.md +++ b/docs/WirelessLANRequest.md @@ -6,10 +6,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Ssid** | **string** | | **Description** | Pointer to **string** | | [optional] -**Group** | Pointer to [**NullableWirelessLANGroupRequest**](WirelessLANGroupRequest.md) | | [optional] +**Group** | Pointer to [**NullableBriefWirelessLANGroupRequest**](BriefWirelessLANGroupRequest.md) | | [optional] **Status** | Pointer to [**WirelessLANStatusValue**](WirelessLANStatusValue.md) | | [optional] -**Vlan** | Pointer to [**NullableVLANRequest**](VLANRequest.md) | | [optional] -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] +**Vlan** | Pointer to [**NullableBriefVLANRequest**](BriefVLANRequest.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] **AuthType** | Pointer to [**WirelessLANAuthTypeValue**](WirelessLANAuthTypeValue.md) | | [optional] **AuthCipher** | Pointer to [**WirelessLANAuthCipherValue**](WirelessLANAuthCipherValue.md) | | [optional] **AuthPsk** | Pointer to **string** | | [optional] @@ -83,20 +83,20 @@ HasDescription returns a boolean if a field has been set. ### GetGroup -`func (o *WirelessLANRequest) GetGroup() WirelessLANGroupRequest` +`func (o *WirelessLANRequest) GetGroup() BriefWirelessLANGroupRequest` GetGroup returns the Group field if non-nil, zero value otherwise. ### GetGroupOk -`func (o *WirelessLANRequest) GetGroupOk() (*WirelessLANGroupRequest, bool)` +`func (o *WirelessLANRequest) GetGroupOk() (*BriefWirelessLANGroupRequest, bool)` GetGroupOk returns a tuple with the Group field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetGroup -`func (o *WirelessLANRequest) SetGroup(v WirelessLANGroupRequest)` +`func (o *WirelessLANRequest) SetGroup(v BriefWirelessLANGroupRequest)` SetGroup sets Group field to given value. @@ -143,20 +143,20 @@ HasStatus returns a boolean if a field has been set. ### GetVlan -`func (o *WirelessLANRequest) GetVlan() VLANRequest` +`func (o *WirelessLANRequest) GetVlan() BriefVLANRequest` GetVlan returns the Vlan field if non-nil, zero value otherwise. ### GetVlanOk -`func (o *WirelessLANRequest) GetVlanOk() (*VLANRequest, bool)` +`func (o *WirelessLANRequest) GetVlanOk() (*BriefVLANRequest, 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 *WirelessLANRequest) SetVlan(v VLANRequest)` +`func (o *WirelessLANRequest) SetVlan(v BriefVLANRequest)` SetVlan sets Vlan field to given value. @@ -178,20 +178,20 @@ HasVlan returns a boolean if a field has been set. UnsetVlan ensures that no value is present for Vlan, not even an explicit nil ### GetTenant -`func (o *WirelessLANRequest) GetTenant() TenantRequest` +`func (o *WirelessLANRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *WirelessLANRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *WirelessLANRequest) GetTenantOk() (*BriefTenantRequest, 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 *WirelessLANRequest) SetTenant(v TenantRequest)` +`func (o *WirelessLANRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. diff --git a/docs/WirelessLink.md b/docs/WirelessLink.md index 9f446e21f..78ec6db8e 100644 --- a/docs/WirelessLink.md +++ b/docs/WirelessLink.md @@ -6,15 +6,18 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int32** | | [readonly] **Url** | **string** | | [readonly] +**DisplayUrl** | Pointer to **string** | | [optional] [readonly] **Display** | **string** | | [readonly] -**InterfaceA** | [**Interface**](Interface.md) | | -**InterfaceB** | [**Interface**](Interface.md) | | +**InterfaceA** | [**BriefInterface**](BriefInterface.md) | | +**InterfaceB** | [**BriefInterface**](BriefInterface.md) | | **Ssid** | Pointer to **string** | | [optional] -**Status** | Pointer to [**WirelessLinkStatus**](WirelessLinkStatus.md) | | [optional] -**Tenant** | Pointer to [**NullableTenant**](Tenant.md) | | [optional] +**Status** | Pointer to [**CableStatus**](CableStatus.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenant**](BriefTenant.md) | | [optional] **AuthType** | Pointer to [**WirelessLANAuthType**](WirelessLANAuthType.md) | | [optional] **AuthCipher** | Pointer to [**WirelessLANAuthCipher**](WirelessLANAuthCipher.md) | | [optional] **AuthPsk** | Pointer to **string** | | [optional] +**Distance** | Pointer to **NullableFloat64** | | [optional] +**DistanceUnit** | Pointer to [**NullableWirelessLinkDistanceUnit**](WirelessLinkDistanceUnit.md) | | [optional] **Description** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] **Tags** | Pointer to [**[]NestedTag**](NestedTag.md) | | [optional] @@ -26,7 +29,7 @@ Name | Type | Description | Notes ### NewWirelessLink -`func NewWirelessLink(id int32, url string, display string, interfaceA Interface, interfaceB Interface, created NullableTime, lastUpdated NullableTime, ) *WirelessLink` +`func NewWirelessLink(id int32, url string, display string, interfaceA BriefInterface, interfaceB BriefInterface, created NullableTime, lastUpdated NullableTime, ) *WirelessLink` NewWirelessLink instantiates a new WirelessLink object This constructor will assign default values to properties that have it defined, @@ -81,6 +84,31 @@ and a boolean to check if the value has been set. SetUrl sets Url field to given value. +### GetDisplayUrl + +`func (o *WirelessLink) GetDisplayUrl() string` + +GetDisplayUrl returns the DisplayUrl field if non-nil, zero value otherwise. + +### GetDisplayUrlOk + +`func (o *WirelessLink) GetDisplayUrlOk() (*string, bool)` + +GetDisplayUrlOk returns a tuple with the DisplayUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayUrl + +`func (o *WirelessLink) SetDisplayUrl(v string)` + +SetDisplayUrl sets DisplayUrl field to given value. + +### HasDisplayUrl + +`func (o *WirelessLink) HasDisplayUrl() bool` + +HasDisplayUrl returns a boolean if a field has been set. + ### GetDisplay `func (o *WirelessLink) GetDisplay() string` @@ -103,40 +131,40 @@ SetDisplay sets Display field to given value. ### GetInterfaceA -`func (o *WirelessLink) GetInterfaceA() Interface` +`func (o *WirelessLink) GetInterfaceA() BriefInterface` GetInterfaceA returns the InterfaceA field if non-nil, zero value otherwise. ### GetInterfaceAOk -`func (o *WirelessLink) GetInterfaceAOk() (*Interface, bool)` +`func (o *WirelessLink) GetInterfaceAOk() (*BriefInterface, bool)` GetInterfaceAOk returns a tuple with the InterfaceA field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetInterfaceA -`func (o *WirelessLink) SetInterfaceA(v Interface)` +`func (o *WirelessLink) SetInterfaceA(v BriefInterface)` SetInterfaceA sets InterfaceA field to given value. ### GetInterfaceB -`func (o *WirelessLink) GetInterfaceB() Interface` +`func (o *WirelessLink) GetInterfaceB() BriefInterface` GetInterfaceB returns the InterfaceB field if non-nil, zero value otherwise. ### GetInterfaceBOk -`func (o *WirelessLink) GetInterfaceBOk() (*Interface, bool)` +`func (o *WirelessLink) GetInterfaceBOk() (*BriefInterface, bool)` GetInterfaceBOk returns a tuple with the InterfaceB field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetInterfaceB -`func (o *WirelessLink) SetInterfaceB(v Interface)` +`func (o *WirelessLink) SetInterfaceB(v BriefInterface)` SetInterfaceB sets InterfaceB field to given value. @@ -168,20 +196,20 @@ HasSsid returns a boolean if a field has been set. ### GetStatus -`func (o *WirelessLink) GetStatus() WirelessLinkStatus` +`func (o *WirelessLink) GetStatus() CableStatus` GetStatus returns the Status field if non-nil, zero value otherwise. ### GetStatusOk -`func (o *WirelessLink) GetStatusOk() (*WirelessLinkStatus, bool)` +`func (o *WirelessLink) GetStatusOk() (*CableStatus, 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 *WirelessLink) SetStatus(v WirelessLinkStatus)` +`func (o *WirelessLink) SetStatus(v CableStatus)` SetStatus sets Status field to given value. @@ -193,20 +221,20 @@ HasStatus returns a boolean if a field has been set. ### GetTenant -`func (o *WirelessLink) GetTenant() Tenant` +`func (o *WirelessLink) GetTenant() BriefTenant` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *WirelessLink) GetTenantOk() (*Tenant, bool)` +`func (o *WirelessLink) GetTenantOk() (*BriefTenant, 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 *WirelessLink) SetTenant(v Tenant)` +`func (o *WirelessLink) SetTenant(v BriefTenant)` SetTenant sets Tenant field to given value. @@ -301,6 +329,76 @@ SetAuthPsk sets AuthPsk field to given value. HasAuthPsk returns a boolean if a field has been set. +### GetDistance + +`func (o *WirelessLink) GetDistance() float64` + +GetDistance returns the Distance field if non-nil, zero value otherwise. + +### GetDistanceOk + +`func (o *WirelessLink) GetDistanceOk() (*float64, bool)` + +GetDistanceOk returns a tuple with the Distance field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDistance + +`func (o *WirelessLink) SetDistance(v float64)` + +SetDistance sets Distance field to given value. + +### HasDistance + +`func (o *WirelessLink) HasDistance() bool` + +HasDistance returns a boolean if a field has been set. + +### SetDistanceNil + +`func (o *WirelessLink) SetDistanceNil(b bool)` + + SetDistanceNil sets the value for Distance to be an explicit nil + +### UnsetDistance +`func (o *WirelessLink) UnsetDistance()` + +UnsetDistance ensures that no value is present for Distance, not even an explicit nil +### GetDistanceUnit + +`func (o *WirelessLink) GetDistanceUnit() WirelessLinkDistanceUnit` + +GetDistanceUnit returns the DistanceUnit field if non-nil, zero value otherwise. + +### GetDistanceUnitOk + +`func (o *WirelessLink) GetDistanceUnitOk() (*WirelessLinkDistanceUnit, bool)` + +GetDistanceUnitOk returns a tuple with the DistanceUnit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDistanceUnit + +`func (o *WirelessLink) SetDistanceUnit(v WirelessLinkDistanceUnit)` + +SetDistanceUnit sets DistanceUnit field to given value. + +### HasDistanceUnit + +`func (o *WirelessLink) HasDistanceUnit() bool` + +HasDistanceUnit returns a boolean if a field has been set. + +### SetDistanceUnitNil + +`func (o *WirelessLink) SetDistanceUnitNil(b bool)` + + SetDistanceUnitNil sets the value for DistanceUnit to be an explicit nil + +### UnsetDistanceUnit +`func (o *WirelessLink) UnsetDistanceUnit()` + +UnsetDistanceUnit ensures that no value is present for DistanceUnit, not even an explicit nil ### GetDescription `func (o *WirelessLink) GetDescription() string` diff --git a/docs/WirelessLinkDistanceUnit.md b/docs/WirelessLinkDistanceUnit.md new file mode 100644 index 000000000..43edda555 --- /dev/null +++ b/docs/WirelessLinkDistanceUnit.md @@ -0,0 +1,82 @@ +# WirelessLinkDistanceUnit + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Value** | Pointer to [**PatchedWritableWirelessLinkRequestDistanceUnit**](PatchedWritableWirelessLinkRequestDistanceUnit.md) | | [optional] +**Label** | Pointer to [**WirelessLinkDistanceUnitLabel**](WirelessLinkDistanceUnitLabel.md) | | [optional] + +## Methods + +### NewWirelessLinkDistanceUnit + +`func NewWirelessLinkDistanceUnit() *WirelessLinkDistanceUnit` + +NewWirelessLinkDistanceUnit instantiates a new WirelessLinkDistanceUnit object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewWirelessLinkDistanceUnitWithDefaults + +`func NewWirelessLinkDistanceUnitWithDefaults() *WirelessLinkDistanceUnit` + +NewWirelessLinkDistanceUnitWithDefaults instantiates a new WirelessLinkDistanceUnit object +This 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 *WirelessLinkDistanceUnit) GetValue() PatchedWritableWirelessLinkRequestDistanceUnit` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *WirelessLinkDistanceUnit) GetValueOk() (*PatchedWritableWirelessLinkRequestDistanceUnit, 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 *WirelessLinkDistanceUnit) SetValue(v PatchedWritableWirelessLinkRequestDistanceUnit)` + +SetValue sets Value field to given value. + +### HasValue + +`func (o *WirelessLinkDistanceUnit) HasValue() bool` + +HasValue returns a boolean if a field has been set. + +### GetLabel + +`func (o *WirelessLinkDistanceUnit) GetLabel() WirelessLinkDistanceUnitLabel` + +GetLabel returns the Label field if non-nil, zero value otherwise. + +### GetLabelOk + +`func (o *WirelessLinkDistanceUnit) GetLabelOk() (*WirelessLinkDistanceUnitLabel, 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 *WirelessLinkDistanceUnit) SetLabel(v WirelessLinkDistanceUnitLabel)` + +SetLabel sets Label field to given value. + +### HasLabel + +`func (o *WirelessLinkDistanceUnit) 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/WirelessLinkDistanceUnitLabel.md b/docs/WirelessLinkDistanceUnitLabel.md new file mode 100644 index 000000000..d9598f52d --- /dev/null +++ b/docs/WirelessLinkDistanceUnitLabel.md @@ -0,0 +1,17 @@ +# WirelessLinkDistanceUnitLabel + +## Enum + + +* `KILOMETERS` (value: `"Kilometers"`) + +* `METERS` (value: `"Meters"`) + +* `MILES` (value: `"Miles"`) + +* `FEET` (value: `"Feet"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/WirelessLinkRequest.md b/docs/WirelessLinkRequest.md index cbb26cae5..4cc414500 100644 --- a/docs/WirelessLinkRequest.md +++ b/docs/WirelessLinkRequest.md @@ -4,14 +4,16 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**InterfaceA** | [**InterfaceRequest**](InterfaceRequest.md) | | -**InterfaceB** | [**InterfaceRequest**](InterfaceRequest.md) | | +**InterfaceA** | [**BriefInterfaceRequest**](BriefInterfaceRequest.md) | | +**InterfaceB** | [**BriefInterfaceRequest**](BriefInterfaceRequest.md) | | **Ssid** | Pointer to **string** | | [optional] -**Status** | Pointer to [**PatchedWritableCableRequestStatus**](PatchedWritableCableRequestStatus.md) | | [optional] -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] +**Status** | Pointer to [**CableStatusValue**](CableStatusValue.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] **AuthType** | Pointer to [**WirelessLANAuthTypeValue**](WirelessLANAuthTypeValue.md) | | [optional] **AuthCipher** | Pointer to [**WirelessLANAuthCipherValue**](WirelessLANAuthCipherValue.md) | | [optional] **AuthPsk** | Pointer to **string** | | [optional] +**Distance** | Pointer to **NullableFloat64** | | [optional] +**DistanceUnit** | Pointer to [**NullableWirelessLinkRequestDistanceUnit**](WirelessLinkRequestDistanceUnit.md) | | [optional] **Description** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] @@ -21,7 +23,7 @@ Name | Type | Description | Notes ### NewWirelessLinkRequest -`func NewWirelessLinkRequest(interfaceA InterfaceRequest, interfaceB InterfaceRequest, ) *WirelessLinkRequest` +`func NewWirelessLinkRequest(interfaceA BriefInterfaceRequest, interfaceB BriefInterfaceRequest, ) *WirelessLinkRequest` NewWirelessLinkRequest instantiates a new WirelessLinkRequest object This constructor will assign default values to properties that have it defined, @@ -38,40 +40,40 @@ but it doesn't guarantee that properties required by API are set ### GetInterfaceA -`func (o *WirelessLinkRequest) GetInterfaceA() InterfaceRequest` +`func (o *WirelessLinkRequest) GetInterfaceA() BriefInterfaceRequest` GetInterfaceA returns the InterfaceA field if non-nil, zero value otherwise. ### GetInterfaceAOk -`func (o *WirelessLinkRequest) GetInterfaceAOk() (*InterfaceRequest, bool)` +`func (o *WirelessLinkRequest) GetInterfaceAOk() (*BriefInterfaceRequest, bool)` GetInterfaceAOk returns a tuple with the InterfaceA field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetInterfaceA -`func (o *WirelessLinkRequest) SetInterfaceA(v InterfaceRequest)` +`func (o *WirelessLinkRequest) SetInterfaceA(v BriefInterfaceRequest)` SetInterfaceA sets InterfaceA field to given value. ### GetInterfaceB -`func (o *WirelessLinkRequest) GetInterfaceB() InterfaceRequest` +`func (o *WirelessLinkRequest) GetInterfaceB() BriefInterfaceRequest` GetInterfaceB returns the InterfaceB field if non-nil, zero value otherwise. ### GetInterfaceBOk -`func (o *WirelessLinkRequest) GetInterfaceBOk() (*InterfaceRequest, bool)` +`func (o *WirelessLinkRequest) GetInterfaceBOk() (*BriefInterfaceRequest, bool)` GetInterfaceBOk returns a tuple with the InterfaceB field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetInterfaceB -`func (o *WirelessLinkRequest) SetInterfaceB(v InterfaceRequest)` +`func (o *WirelessLinkRequest) SetInterfaceB(v BriefInterfaceRequest)` SetInterfaceB sets InterfaceB field to given value. @@ -103,20 +105,20 @@ HasSsid returns a boolean if a field has been set. ### GetStatus -`func (o *WirelessLinkRequest) GetStatus() PatchedWritableCableRequestStatus` +`func (o *WirelessLinkRequest) GetStatus() CableStatusValue` GetStatus returns the Status field if non-nil, zero value otherwise. ### GetStatusOk -`func (o *WirelessLinkRequest) GetStatusOk() (*PatchedWritableCableRequestStatus, bool)` +`func (o *WirelessLinkRequest) GetStatusOk() (*CableStatusValue, 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 *WirelessLinkRequest) SetStatus(v PatchedWritableCableRequestStatus)` +`func (o *WirelessLinkRequest) SetStatus(v CableStatusValue)` SetStatus sets Status field to given value. @@ -128,20 +130,20 @@ HasStatus returns a boolean if a field has been set. ### GetTenant -`func (o *WirelessLinkRequest) GetTenant() TenantRequest` +`func (o *WirelessLinkRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *WirelessLinkRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *WirelessLinkRequest) GetTenantOk() (*BriefTenantRequest, 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 *WirelessLinkRequest) SetTenant(v TenantRequest)` +`func (o *WirelessLinkRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. @@ -236,6 +238,76 @@ SetAuthPsk sets AuthPsk field to given value. HasAuthPsk returns a boolean if a field has been set. +### GetDistance + +`func (o *WirelessLinkRequest) GetDistance() float64` + +GetDistance returns the Distance field if non-nil, zero value otherwise. + +### GetDistanceOk + +`func (o *WirelessLinkRequest) GetDistanceOk() (*float64, bool)` + +GetDistanceOk returns a tuple with the Distance field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDistance + +`func (o *WirelessLinkRequest) SetDistance(v float64)` + +SetDistance sets Distance field to given value. + +### HasDistance + +`func (o *WirelessLinkRequest) HasDistance() bool` + +HasDistance returns a boolean if a field has been set. + +### SetDistanceNil + +`func (o *WirelessLinkRequest) SetDistanceNil(b bool)` + + SetDistanceNil sets the value for Distance to be an explicit nil + +### UnsetDistance +`func (o *WirelessLinkRequest) UnsetDistance()` + +UnsetDistance ensures that no value is present for Distance, not even an explicit nil +### GetDistanceUnit + +`func (o *WirelessLinkRequest) GetDistanceUnit() WirelessLinkRequestDistanceUnit` + +GetDistanceUnit returns the DistanceUnit field if non-nil, zero value otherwise. + +### GetDistanceUnitOk + +`func (o *WirelessLinkRequest) GetDistanceUnitOk() (*WirelessLinkRequestDistanceUnit, bool)` + +GetDistanceUnitOk returns a tuple with the DistanceUnit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDistanceUnit + +`func (o *WirelessLinkRequest) SetDistanceUnit(v WirelessLinkRequestDistanceUnit)` + +SetDistanceUnit sets DistanceUnit field to given value. + +### HasDistanceUnit + +`func (o *WirelessLinkRequest) HasDistanceUnit() bool` + +HasDistanceUnit returns a boolean if a field has been set. + +### SetDistanceUnitNil + +`func (o *WirelessLinkRequest) SetDistanceUnitNil(b bool)` + + SetDistanceUnitNil sets the value for DistanceUnit to be an explicit nil + +### UnsetDistanceUnit +`func (o *WirelessLinkRequest) UnsetDistanceUnit()` + +UnsetDistanceUnit ensures that no value is present for DistanceUnit, not even an explicit nil ### GetDescription `func (o *WirelessLinkRequest) GetDescription() string` diff --git a/docs/WirelessLinkRequestDistanceUnit.md b/docs/WirelessLinkRequestDistanceUnit.md new file mode 100644 index 000000000..5625206b7 --- /dev/null +++ b/docs/WirelessLinkRequestDistanceUnit.md @@ -0,0 +1,19 @@ +# WirelessLinkRequestDistanceUnit + +## Enum + + +* `KM` (value: `"km"`) + +* `M` (value: `"m"`) + +* `MI` (value: `"mi"`) + +* `FT` (value: `"ft"`) + +* `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/WirelessRole.md b/docs/WirelessRole.md index 19ed006f8..4c1d26d94 100644 --- a/docs/WirelessRole.md +++ b/docs/WirelessRole.md @@ -3,12 +3,12 @@ ## Enum +* `EMPTY` (value: `""`) + * `AP` (value: `"ap"`) * `STATION` (value: `"station"`) -* `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/WirelessRole1.md b/docs/WirelessRole1.md new file mode 100644 index 000000000..c5b8e4513 --- /dev/null +++ b/docs/WirelessRole1.md @@ -0,0 +1,15 @@ +# WirelessRole1 + +## Enum + + +* `AP` (value: `"ap"`) + +* `STATION` (value: `"station"`) + +* `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/WirelessWirelessLansListStatusIcParameterInner.md b/docs/WirelessWirelessLansListStatusIcParameterInner.md new file mode 100644 index 000000000..0fd09ea63 --- /dev/null +++ b/docs/WirelessWirelessLansListStatusIcParameterInner.md @@ -0,0 +1,17 @@ +# WirelessWirelessLansListStatusIcParameterInner + +## Enum + + +* `ACTIVE` (value: `"active"`) + +* `DEPRECATED` (value: `"deprecated"`) + +* `DISABLED` (value: `"disabled"`) + +* `RESERVED` (value: `"reserved"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/WirelessWirelessLinksListDistanceUnitParameter.md b/docs/WirelessWirelessLinksListDistanceUnitParameter.md new file mode 100644 index 000000000..568a370d2 --- /dev/null +++ b/docs/WirelessWirelessLinksListDistanceUnitParameter.md @@ -0,0 +1,17 @@ +# WirelessWirelessLinksListDistanceUnitParameter + +## Enum + + +* `FT` (value: `"ft"`) + +* `KM` (value: `"km"`) + +* `M` (value: `"m"`) + +* `MI` (value: `"mi"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/WritableAggregateRequest.md b/docs/WritableAggregateRequest.md index 169807729..cbcd91bcd 100644 --- a/docs/WritableAggregateRequest.md +++ b/docs/WritableAggregateRequest.md @@ -5,8 +5,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Prefix** | **string** | | -**Rir** | [**RIRRequest**](RIRRequest.md) | | -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] +**Rir** | [**BriefRIRRequest**](BriefRIRRequest.md) | | +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] **DateAdded** | Pointer to **NullableString** | | [optional] **Description** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] @@ -17,7 +17,7 @@ Name | Type | Description | Notes ### NewWritableAggregateRequest -`func NewWritableAggregateRequest(prefix string, rir RIRRequest, ) *WritableAggregateRequest` +`func NewWritableAggregateRequest(prefix string, rir BriefRIRRequest, ) *WritableAggregateRequest` NewWritableAggregateRequest instantiates a new WritableAggregateRequest object This constructor will assign default values to properties that have it defined, @@ -54,40 +54,40 @@ SetPrefix sets Prefix field to given value. ### GetRir -`func (o *WritableAggregateRequest) GetRir() RIRRequest` +`func (o *WritableAggregateRequest) GetRir() BriefRIRRequest` GetRir returns the Rir field if non-nil, zero value otherwise. ### GetRirOk -`func (o *WritableAggregateRequest) GetRirOk() (*RIRRequest, bool)` +`func (o *WritableAggregateRequest) GetRirOk() (*BriefRIRRequest, bool)` GetRirOk returns a tuple with the Rir field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRir -`func (o *WritableAggregateRequest) SetRir(v RIRRequest)` +`func (o *WritableAggregateRequest) SetRir(v BriefRIRRequest)` SetRir sets Rir field to given value. ### GetTenant -`func (o *WritableAggregateRequest) GetTenant() TenantRequest` +`func (o *WritableAggregateRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *WritableAggregateRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *WritableAggregateRequest) GetTenantOk() (*BriefTenantRequest, 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 *WritableAggregateRequest) SetTenant(v TenantRequest)` +`func (o *WritableAggregateRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. diff --git a/docs/WritableCableRequest.md b/docs/WritableCableRequest.md index aef093b34..cb8fa67e5 100644 --- a/docs/WritableCableRequest.md +++ b/docs/WritableCableRequest.md @@ -4,15 +4,15 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Type** | Pointer to [**PatchedWritableCableRequestType**](PatchedWritableCableRequestType.md) | | [optional] +**Type** | Pointer to [**CableType**](CableType.md) | | [optional] **ATerminations** | Pointer to [**[]GenericObjectRequest**](GenericObjectRequest.md) | | [optional] **BTerminations** | Pointer to [**[]GenericObjectRequest**](GenericObjectRequest.md) | | [optional] -**Status** | Pointer to [**PatchedWritableCableRequestStatus**](PatchedWritableCableRequestStatus.md) | | [optional] -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] +**Status** | Pointer to [**CableStatusValue**](CableStatusValue.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] **Label** | Pointer to **string** | | [optional] **Color** | Pointer to **string** | | [optional] **Length** | Pointer to **NullableFloat64** | | [optional] -**LengthUnit** | Pointer to [**PatchedWritableCableRequestLengthUnit**](PatchedWritableCableRequestLengthUnit.md) | | [optional] +**LengthUnit** | Pointer to [**CableLengthUnitValue**](CableLengthUnitValue.md) | | [optional] **Description** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] @@ -39,20 +39,20 @@ but it doesn't guarantee that properties required by API are set ### GetType -`func (o *WritableCableRequest) GetType() PatchedWritableCableRequestType` +`func (o *WritableCableRequest) GetType() CableType` GetType returns the Type field if non-nil, zero value otherwise. ### GetTypeOk -`func (o *WritableCableRequest) GetTypeOk() (*PatchedWritableCableRequestType, bool)` +`func (o *WritableCableRequest) GetTypeOk() (*CableType, bool)` GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetType -`func (o *WritableCableRequest) SetType(v PatchedWritableCableRequestType)` +`func (o *WritableCableRequest) SetType(v CableType)` SetType sets Type field to given value. @@ -114,20 +114,20 @@ HasBTerminations returns a boolean if a field has been set. ### GetStatus -`func (o *WritableCableRequest) GetStatus() PatchedWritableCableRequestStatus` +`func (o *WritableCableRequest) GetStatus() CableStatusValue` GetStatus returns the Status field if non-nil, zero value otherwise. ### GetStatusOk -`func (o *WritableCableRequest) GetStatusOk() (*PatchedWritableCableRequestStatus, bool)` +`func (o *WritableCableRequest) GetStatusOk() (*CableStatusValue, 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 *WritableCableRequest) SetStatus(v PatchedWritableCableRequestStatus)` +`func (o *WritableCableRequest) SetStatus(v CableStatusValue)` SetStatus sets Status field to given value. @@ -139,20 +139,20 @@ HasStatus returns a boolean if a field has been set. ### GetTenant -`func (o *WritableCableRequest) GetTenant() TenantRequest` +`func (o *WritableCableRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *WritableCableRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *WritableCableRequest) GetTenantOk() (*BriefTenantRequest, 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 *WritableCableRequest) SetTenant(v TenantRequest)` +`func (o *WritableCableRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. @@ -259,20 +259,20 @@ HasLength returns a boolean if a field has been set. UnsetLength ensures that no value is present for Length, not even an explicit nil ### GetLengthUnit -`func (o *WritableCableRequest) GetLengthUnit() PatchedWritableCableRequestLengthUnit` +`func (o *WritableCableRequest) GetLengthUnit() CableLengthUnitValue` GetLengthUnit returns the LengthUnit field if non-nil, zero value otherwise. ### GetLengthUnitOk -`func (o *WritableCableRequest) GetLengthUnitOk() (*PatchedWritableCableRequestLengthUnit, bool)` +`func (o *WritableCableRequest) GetLengthUnitOk() (*CableLengthUnitValue, bool)` GetLengthUnitOk returns a tuple with the LengthUnit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLengthUnit -`func (o *WritableCableRequest) SetLengthUnit(v PatchedWritableCableRequestLengthUnit)` +`func (o *WritableCableRequest) SetLengthUnit(v CableLengthUnitValue)` SetLengthUnit sets LengthUnit field to given value. diff --git a/docs/WritableCircuitGroupAssignmentRequest.md b/docs/WritableCircuitGroupAssignmentRequest.md new file mode 100644 index 000000000..bd44ef108 --- /dev/null +++ b/docs/WritableCircuitGroupAssignmentRequest.md @@ -0,0 +1,124 @@ +# WritableCircuitGroupAssignmentRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Group** | [**BriefCircuitGroupRequest**](BriefCircuitGroupRequest.md) | | +**Circuit** | [**BriefCircuitRequest**](BriefCircuitRequest.md) | | +**Priority** | Pointer to [**BriefCircuitGroupAssignmentSerializerPriorityValue**](BriefCircuitGroupAssignmentSerializerPriorityValue.md) | | [optional] +**Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] + +## Methods + +### NewWritableCircuitGroupAssignmentRequest + +`func NewWritableCircuitGroupAssignmentRequest(group BriefCircuitGroupRequest, circuit BriefCircuitRequest, ) *WritableCircuitGroupAssignmentRequest` + +NewWritableCircuitGroupAssignmentRequest instantiates a new WritableCircuitGroupAssignmentRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewWritableCircuitGroupAssignmentRequestWithDefaults + +`func NewWritableCircuitGroupAssignmentRequestWithDefaults() *WritableCircuitGroupAssignmentRequest` + +NewWritableCircuitGroupAssignmentRequestWithDefaults instantiates a new WritableCircuitGroupAssignmentRequest object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetGroup + +`func (o *WritableCircuitGroupAssignmentRequest) GetGroup() BriefCircuitGroupRequest` + +GetGroup returns the Group field if non-nil, zero value otherwise. + +### GetGroupOk + +`func (o *WritableCircuitGroupAssignmentRequest) GetGroupOk() (*BriefCircuitGroupRequest, bool)` + +GetGroupOk returns a tuple with the Group field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGroup + +`func (o *WritableCircuitGroupAssignmentRequest) SetGroup(v BriefCircuitGroupRequest)` + +SetGroup sets Group field to given value. + + +### GetCircuit + +`func (o *WritableCircuitGroupAssignmentRequest) GetCircuit() BriefCircuitRequest` + +GetCircuit returns the Circuit field if non-nil, zero value otherwise. + +### GetCircuitOk + +`func (o *WritableCircuitGroupAssignmentRequest) GetCircuitOk() (*BriefCircuitRequest, bool)` + +GetCircuitOk returns a tuple with the Circuit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCircuit + +`func (o *WritableCircuitGroupAssignmentRequest) SetCircuit(v BriefCircuitRequest)` + +SetCircuit sets Circuit field to given value. + + +### GetPriority + +`func (o *WritableCircuitGroupAssignmentRequest) GetPriority() BriefCircuitGroupAssignmentSerializerPriorityValue` + +GetPriority returns the Priority field if non-nil, zero value otherwise. + +### GetPriorityOk + +`func (o *WritableCircuitGroupAssignmentRequest) GetPriorityOk() (*BriefCircuitGroupAssignmentSerializerPriorityValue, bool)` + +GetPriorityOk returns a tuple with the Priority field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPriority + +`func (o *WritableCircuitGroupAssignmentRequest) SetPriority(v BriefCircuitGroupAssignmentSerializerPriorityValue)` + +SetPriority sets Priority field to given value. + +### HasPriority + +`func (o *WritableCircuitGroupAssignmentRequest) HasPriority() bool` + +HasPriority returns a boolean if a field has been set. + +### GetTags + +`func (o *WritableCircuitGroupAssignmentRequest) GetTags() []NestedTagRequest` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *WritableCircuitGroupAssignmentRequest) GetTagsOk() (*[]NestedTagRequest, 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 *WritableCircuitGroupAssignmentRequest) SetTags(v []NestedTagRequest)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *WritableCircuitGroupAssignmentRequest) 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/WritableCircuitRequest.md b/docs/WritableCircuitRequest.md index 02a8ad3f7..8382f981d 100644 --- a/docs/WritableCircuitRequest.md +++ b/docs/WritableCircuitRequest.md @@ -5,11 +5,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Cid** | **string** | Unique circuit ID | -**Provider** | [**ProviderRequest**](ProviderRequest.md) | | -**ProviderAccount** | Pointer to [**NullableProviderAccountRequest**](ProviderAccountRequest.md) | | [optional] -**Type** | [**CircuitTypeRequest**](CircuitTypeRequest.md) | | -**Status** | Pointer to [**PatchedWritableCircuitRequestStatus**](PatchedWritableCircuitRequestStatus.md) | | [optional] -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] +**Provider** | [**BriefProviderRequest**](BriefProviderRequest.md) | | +**ProviderAccount** | Pointer to [**NullableBriefProviderAccountRequest**](BriefProviderAccountRequest.md) | | [optional] +**Type** | [**BriefCircuitTypeRequest**](BriefCircuitTypeRequest.md) | | +**Status** | Pointer to [**CircuitStatusValue**](CircuitStatusValue.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] **InstallDate** | Pointer to **NullableString** | | [optional] **TerminationDate** | Pointer to **NullableString** | | [optional] **CommitRate** | Pointer to **NullableInt32** | Committed rate | [optional] @@ -17,12 +17,13 @@ Name | Type | Description | Notes **Comments** | Pointer to **string** | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] +**Assignments** | Pointer to [**[]BriefCircuitGroupAssignmentSerializerRequest**](BriefCircuitGroupAssignmentSerializerRequest.md) | | [optional] ## Methods ### NewWritableCircuitRequest -`func NewWritableCircuitRequest(cid string, provider ProviderRequest, type_ CircuitTypeRequest, ) *WritableCircuitRequest` +`func NewWritableCircuitRequest(cid string, provider BriefProviderRequest, type_ BriefCircuitTypeRequest, ) *WritableCircuitRequest` NewWritableCircuitRequest instantiates a new WritableCircuitRequest object This constructor will assign default values to properties that have it defined, @@ -59,40 +60,40 @@ SetCid sets Cid field to given value. ### GetProvider -`func (o *WritableCircuitRequest) GetProvider() ProviderRequest` +`func (o *WritableCircuitRequest) GetProvider() BriefProviderRequest` GetProvider returns the Provider field if non-nil, zero value otherwise. ### GetProviderOk -`func (o *WritableCircuitRequest) GetProviderOk() (*ProviderRequest, bool)` +`func (o *WritableCircuitRequest) GetProviderOk() (*BriefProviderRequest, bool)` GetProviderOk returns a tuple with the Provider field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetProvider -`func (o *WritableCircuitRequest) SetProvider(v ProviderRequest)` +`func (o *WritableCircuitRequest) SetProvider(v BriefProviderRequest)` SetProvider sets Provider field to given value. ### GetProviderAccount -`func (o *WritableCircuitRequest) GetProviderAccount() ProviderAccountRequest` +`func (o *WritableCircuitRequest) GetProviderAccount() BriefProviderAccountRequest` GetProviderAccount returns the ProviderAccount field if non-nil, zero value otherwise. ### GetProviderAccountOk -`func (o *WritableCircuitRequest) GetProviderAccountOk() (*ProviderAccountRequest, bool)` +`func (o *WritableCircuitRequest) GetProviderAccountOk() (*BriefProviderAccountRequest, bool)` GetProviderAccountOk returns a tuple with the ProviderAccount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetProviderAccount -`func (o *WritableCircuitRequest) SetProviderAccount(v ProviderAccountRequest)` +`func (o *WritableCircuitRequest) SetProviderAccount(v BriefProviderAccountRequest)` SetProviderAccount sets ProviderAccount field to given value. @@ -114,40 +115,40 @@ HasProviderAccount returns a boolean if a field has been set. UnsetProviderAccount ensures that no value is present for ProviderAccount, not even an explicit nil ### GetType -`func (o *WritableCircuitRequest) GetType() CircuitTypeRequest` +`func (o *WritableCircuitRequest) GetType() BriefCircuitTypeRequest` GetType returns the Type field if non-nil, zero value otherwise. ### GetTypeOk -`func (o *WritableCircuitRequest) GetTypeOk() (*CircuitTypeRequest, bool)` +`func (o *WritableCircuitRequest) GetTypeOk() (*BriefCircuitTypeRequest, bool)` GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetType -`func (o *WritableCircuitRequest) SetType(v CircuitTypeRequest)` +`func (o *WritableCircuitRequest) SetType(v BriefCircuitTypeRequest)` SetType sets Type field to given value. ### GetStatus -`func (o *WritableCircuitRequest) GetStatus() PatchedWritableCircuitRequestStatus` +`func (o *WritableCircuitRequest) GetStatus() CircuitStatusValue` GetStatus returns the Status field if non-nil, zero value otherwise. ### GetStatusOk -`func (o *WritableCircuitRequest) GetStatusOk() (*PatchedWritableCircuitRequestStatus, bool)` +`func (o *WritableCircuitRequest) GetStatusOk() (*CircuitStatusValue, 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 *WritableCircuitRequest) SetStatus(v PatchedWritableCircuitRequestStatus)` +`func (o *WritableCircuitRequest) SetStatus(v CircuitStatusValue)` SetStatus sets Status field to given value. @@ -159,20 +160,20 @@ HasStatus returns a boolean if a field has been set. ### GetTenant -`func (o *WritableCircuitRequest) GetTenant() TenantRequest` +`func (o *WritableCircuitRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *WritableCircuitRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *WritableCircuitRequest) GetTenantOk() (*BriefTenantRequest, 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 *WritableCircuitRequest) SetTenant(v TenantRequest)` +`func (o *WritableCircuitRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. @@ -397,6 +398,31 @@ SetCustomFields sets CustomFields field to given value. HasCustomFields returns a boolean if a field has been set. +### GetAssignments + +`func (o *WritableCircuitRequest) GetAssignments() []BriefCircuitGroupAssignmentSerializerRequest` + +GetAssignments returns the Assignments field if non-nil, zero value otherwise. + +### GetAssignmentsOk + +`func (o *WritableCircuitRequest) GetAssignmentsOk() (*[]BriefCircuitGroupAssignmentSerializerRequest, bool)` + +GetAssignmentsOk returns a tuple with the Assignments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAssignments + +`func (o *WritableCircuitRequest) SetAssignments(v []BriefCircuitGroupAssignmentSerializerRequest)` + +SetAssignments sets Assignments field to given value. + +### HasAssignments + +`func (o *WritableCircuitRequest) HasAssignments() bool` + +HasAssignments 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/WritableClusterRequest.md b/docs/WritableClusterRequest.md index 430b5cf50..d25e42949 100644 --- a/docs/WritableClusterRequest.md +++ b/docs/WritableClusterRequest.md @@ -5,11 +5,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | **string** | | -**Type** | [**ClusterTypeRequest**](ClusterTypeRequest.md) | | -**Group** | Pointer to [**NullableClusterGroupRequest**](ClusterGroupRequest.md) | | [optional] -**Status** | Pointer to [**PatchedWritableClusterRequestStatus**](PatchedWritableClusterRequestStatus.md) | | [optional] -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] -**Site** | Pointer to [**NullableSiteRequest**](SiteRequest.md) | | [optional] +**Type** | [**BriefClusterTypeRequest**](BriefClusterTypeRequest.md) | | +**Group** | Pointer to [**NullableBriefClusterGroupRequest**](BriefClusterGroupRequest.md) | | [optional] +**Status** | Pointer to [**ClusterStatusValue**](ClusterStatusValue.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] +**Site** | Pointer to [**NullableBriefSiteRequest**](BriefSiteRequest.md) | | [optional] **Description** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] @@ -19,7 +19,7 @@ Name | Type | Description | Notes ### NewWritableClusterRequest -`func NewWritableClusterRequest(name string, type_ ClusterTypeRequest, ) *WritableClusterRequest` +`func NewWritableClusterRequest(name string, type_ BriefClusterTypeRequest, ) *WritableClusterRequest` NewWritableClusterRequest instantiates a new WritableClusterRequest object This constructor will assign default values to properties that have it defined, @@ -56,40 +56,40 @@ SetName sets Name field to given value. ### GetType -`func (o *WritableClusterRequest) GetType() ClusterTypeRequest` +`func (o *WritableClusterRequest) GetType() BriefClusterTypeRequest` GetType returns the Type field if non-nil, zero value otherwise. ### GetTypeOk -`func (o *WritableClusterRequest) GetTypeOk() (*ClusterTypeRequest, bool)` +`func (o *WritableClusterRequest) GetTypeOk() (*BriefClusterTypeRequest, bool)` GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetType -`func (o *WritableClusterRequest) SetType(v ClusterTypeRequest)` +`func (o *WritableClusterRequest) SetType(v BriefClusterTypeRequest)` SetType sets Type field to given value. ### GetGroup -`func (o *WritableClusterRequest) GetGroup() ClusterGroupRequest` +`func (o *WritableClusterRequest) GetGroup() BriefClusterGroupRequest` GetGroup returns the Group field if non-nil, zero value otherwise. ### GetGroupOk -`func (o *WritableClusterRequest) GetGroupOk() (*ClusterGroupRequest, bool)` +`func (o *WritableClusterRequest) GetGroupOk() (*BriefClusterGroupRequest, bool)` GetGroupOk returns a tuple with the Group field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetGroup -`func (o *WritableClusterRequest) SetGroup(v ClusterGroupRequest)` +`func (o *WritableClusterRequest) SetGroup(v BriefClusterGroupRequest)` SetGroup sets Group field to given value. @@ -111,20 +111,20 @@ HasGroup returns a boolean if a field has been set. UnsetGroup ensures that no value is present for Group, not even an explicit nil ### GetStatus -`func (o *WritableClusterRequest) GetStatus() PatchedWritableClusterRequestStatus` +`func (o *WritableClusterRequest) GetStatus() ClusterStatusValue` GetStatus returns the Status field if non-nil, zero value otherwise. ### GetStatusOk -`func (o *WritableClusterRequest) GetStatusOk() (*PatchedWritableClusterRequestStatus, bool)` +`func (o *WritableClusterRequest) GetStatusOk() (*ClusterStatusValue, 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 *WritableClusterRequest) SetStatus(v PatchedWritableClusterRequestStatus)` +`func (o *WritableClusterRequest) SetStatus(v ClusterStatusValue)` SetStatus sets Status field to given value. @@ -136,20 +136,20 @@ HasStatus returns a boolean if a field has been set. ### GetTenant -`func (o *WritableClusterRequest) GetTenant() TenantRequest` +`func (o *WritableClusterRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *WritableClusterRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *WritableClusterRequest) GetTenantOk() (*BriefTenantRequest, 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 *WritableClusterRequest) SetTenant(v TenantRequest)` +`func (o *WritableClusterRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. @@ -171,20 +171,20 @@ HasTenant returns a boolean if a field has been set. UnsetTenant ensures that no value is present for Tenant, not even an explicit nil ### GetSite -`func (o *WritableClusterRequest) GetSite() SiteRequest` +`func (o *WritableClusterRequest) GetSite() BriefSiteRequest` GetSite returns the Site field if non-nil, zero value otherwise. ### GetSiteOk -`func (o *WritableClusterRequest) GetSiteOk() (*SiteRequest, bool)` +`func (o *WritableClusterRequest) GetSiteOk() (*BriefSiteRequest, bool)` GetSiteOk returns a tuple with the Site field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSite -`func (o *WritableClusterRequest) SetSite(v SiteRequest)` +`func (o *WritableClusterRequest) SetSite(v BriefSiteRequest)` SetSite sets Site field to given value. diff --git a/docs/WritableConsolePortRequest.md b/docs/WritableConsolePortRequest.md index 0ba0c6885..9b0b4a502 100644 --- a/docs/WritableConsolePortRequest.md +++ b/docs/WritableConsolePortRequest.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Device** | [**DeviceRequest**](DeviceRequest.md) | | -**Module** | Pointer to [**NullableModuleRequest**](ModuleRequest.md) | | [optional] +**Device** | [**BriefDeviceRequest**](BriefDeviceRequest.md) | | +**Module** | Pointer to [**NullableBriefModuleRequest**](BriefModuleRequest.md) | | [optional] **Name** | **string** | | **Label** | Pointer to **string** | Physical label | [optional] **Type** | Pointer to [**PatchedWritableConsolePortRequestType**](PatchedWritableConsolePortRequestType.md) | | [optional] @@ -19,7 +19,7 @@ Name | Type | Description | Notes ### NewWritableConsolePortRequest -`func NewWritableConsolePortRequest(device DeviceRequest, name string, ) *WritableConsolePortRequest` +`func NewWritableConsolePortRequest(device BriefDeviceRequest, name string, ) *WritableConsolePortRequest` NewWritableConsolePortRequest instantiates a new WritableConsolePortRequest object This constructor will assign default values to properties that have it defined, @@ -36,40 +36,40 @@ but it doesn't guarantee that properties required by API are set ### GetDevice -`func (o *WritableConsolePortRequest) GetDevice() DeviceRequest` +`func (o *WritableConsolePortRequest) GetDevice() BriefDeviceRequest` GetDevice returns the Device field if non-nil, zero value otherwise. ### GetDeviceOk -`func (o *WritableConsolePortRequest) GetDeviceOk() (*DeviceRequest, bool)` +`func (o *WritableConsolePortRequest) GetDeviceOk() (*BriefDeviceRequest, 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 *WritableConsolePortRequest) SetDevice(v DeviceRequest)` +`func (o *WritableConsolePortRequest) SetDevice(v BriefDeviceRequest)` SetDevice sets Device field to given value. ### GetModule -`func (o *WritableConsolePortRequest) GetModule() ModuleRequest` +`func (o *WritableConsolePortRequest) GetModule() BriefModuleRequest` GetModule returns the Module field if non-nil, zero value otherwise. ### GetModuleOk -`func (o *WritableConsolePortRequest) GetModuleOk() (*ModuleRequest, bool)` +`func (o *WritableConsolePortRequest) GetModuleOk() (*BriefModuleRequest, bool)` GetModuleOk returns a tuple with the Module field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetModule -`func (o *WritableConsolePortRequest) SetModule(v ModuleRequest)` +`func (o *WritableConsolePortRequest) SetModule(v BriefModuleRequest)` SetModule sets Module field to given value. diff --git a/docs/WritableConsolePortTemplateRequest.md b/docs/WritableConsolePortTemplateRequest.md index 3799557e8..b675fc60b 100644 --- a/docs/WritableConsolePortTemplateRequest.md +++ b/docs/WritableConsolePortTemplateRequest.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**DeviceType** | Pointer to [**NullableDeviceTypeRequest**](DeviceTypeRequest.md) | | [optional] -**ModuleType** | Pointer to [**NullableModuleTypeRequest**](ModuleTypeRequest.md) | | [optional] +**DeviceType** | Pointer to [**NullableBriefDeviceTypeRequest**](BriefDeviceTypeRequest.md) | | [optional] +**ModuleType** | Pointer to [**NullableBriefModuleTypeRequest**](BriefModuleTypeRequest.md) | | [optional] **Name** | **string** | {module} is accepted as a substitution for the module bay position when attached to a module type. | **Label** | Pointer to **string** | Physical label | [optional] **Type** | Pointer to [**ConsolePortTypeValue**](ConsolePortTypeValue.md) | | [optional] @@ -32,20 +32,20 @@ but it doesn't guarantee that properties required by API are set ### GetDeviceType -`func (o *WritableConsolePortTemplateRequest) GetDeviceType() DeviceTypeRequest` +`func (o *WritableConsolePortTemplateRequest) GetDeviceType() BriefDeviceTypeRequest` GetDeviceType returns the DeviceType field if non-nil, zero value otherwise. ### GetDeviceTypeOk -`func (o *WritableConsolePortTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool)` +`func (o *WritableConsolePortTemplateRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool)` GetDeviceTypeOk returns a tuple with the DeviceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDeviceType -`func (o *WritableConsolePortTemplateRequest) SetDeviceType(v DeviceTypeRequest)` +`func (o *WritableConsolePortTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest)` SetDeviceType sets DeviceType field to given value. @@ -67,20 +67,20 @@ HasDeviceType returns a boolean if a field has been set. UnsetDeviceType ensures that no value is present for DeviceType, not even an explicit nil ### GetModuleType -`func (o *WritableConsolePortTemplateRequest) GetModuleType() ModuleTypeRequest` +`func (o *WritableConsolePortTemplateRequest) GetModuleType() BriefModuleTypeRequest` GetModuleType returns the ModuleType field if non-nil, zero value otherwise. ### GetModuleTypeOk -`func (o *WritableConsolePortTemplateRequest) GetModuleTypeOk() (*ModuleTypeRequest, bool)` +`func (o *WritableConsolePortTemplateRequest) GetModuleTypeOk() (*BriefModuleTypeRequest, bool)` GetModuleTypeOk returns a tuple with the ModuleType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetModuleType -`func (o *WritableConsolePortTemplateRequest) SetModuleType(v ModuleTypeRequest)` +`func (o *WritableConsolePortTemplateRequest) SetModuleType(v BriefModuleTypeRequest)` SetModuleType sets ModuleType field to given value. diff --git a/docs/WritableConsoleServerPortRequest.md b/docs/WritableConsoleServerPortRequest.md index 6af4a78aa..82d557c25 100644 --- a/docs/WritableConsoleServerPortRequest.md +++ b/docs/WritableConsoleServerPortRequest.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Device** | [**DeviceRequest**](DeviceRequest.md) | | -**Module** | Pointer to [**NullableModuleRequest**](ModuleRequest.md) | | [optional] +**Device** | [**BriefDeviceRequest**](BriefDeviceRequest.md) | | +**Module** | Pointer to [**NullableBriefModuleRequest**](BriefModuleRequest.md) | | [optional] **Name** | **string** | | **Label** | Pointer to **string** | Physical label | [optional] **Type** | Pointer to [**PatchedWritableConsolePortRequestType**](PatchedWritableConsolePortRequestType.md) | | [optional] @@ -19,7 +19,7 @@ Name | Type | Description | Notes ### NewWritableConsoleServerPortRequest -`func NewWritableConsoleServerPortRequest(device DeviceRequest, name string, ) *WritableConsoleServerPortRequest` +`func NewWritableConsoleServerPortRequest(device BriefDeviceRequest, name string, ) *WritableConsoleServerPortRequest` NewWritableConsoleServerPortRequest instantiates a new WritableConsoleServerPortRequest object This constructor will assign default values to properties that have it defined, @@ -36,40 +36,40 @@ but it doesn't guarantee that properties required by API are set ### GetDevice -`func (o *WritableConsoleServerPortRequest) GetDevice() DeviceRequest` +`func (o *WritableConsoleServerPortRequest) GetDevice() BriefDeviceRequest` GetDevice returns the Device field if non-nil, zero value otherwise. ### GetDeviceOk -`func (o *WritableConsoleServerPortRequest) GetDeviceOk() (*DeviceRequest, bool)` +`func (o *WritableConsoleServerPortRequest) GetDeviceOk() (*BriefDeviceRequest, 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 *WritableConsoleServerPortRequest) SetDevice(v DeviceRequest)` +`func (o *WritableConsoleServerPortRequest) SetDevice(v BriefDeviceRequest)` SetDevice sets Device field to given value. ### GetModule -`func (o *WritableConsoleServerPortRequest) GetModule() ModuleRequest` +`func (o *WritableConsoleServerPortRequest) GetModule() BriefModuleRequest` GetModule returns the Module field if non-nil, zero value otherwise. ### GetModuleOk -`func (o *WritableConsoleServerPortRequest) GetModuleOk() (*ModuleRequest, bool)` +`func (o *WritableConsoleServerPortRequest) GetModuleOk() (*BriefModuleRequest, bool)` GetModuleOk returns a tuple with the Module field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetModule -`func (o *WritableConsoleServerPortRequest) SetModule(v ModuleRequest)` +`func (o *WritableConsoleServerPortRequest) SetModule(v BriefModuleRequest)` SetModule sets Module field to given value. diff --git a/docs/WritableConsoleServerPortTemplateRequest.md b/docs/WritableConsoleServerPortTemplateRequest.md index e35a4b9ec..122f48c6a 100644 --- a/docs/WritableConsoleServerPortTemplateRequest.md +++ b/docs/WritableConsoleServerPortTemplateRequest.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**DeviceType** | Pointer to [**NullableDeviceTypeRequest**](DeviceTypeRequest.md) | | [optional] -**ModuleType** | Pointer to [**NullableModuleTypeRequest**](ModuleTypeRequest.md) | | [optional] +**DeviceType** | Pointer to [**NullableBriefDeviceTypeRequest**](BriefDeviceTypeRequest.md) | | [optional] +**ModuleType** | Pointer to [**NullableBriefModuleTypeRequest**](BriefModuleTypeRequest.md) | | [optional] **Name** | **string** | {module} is accepted as a substitution for the module bay position when attached to a module type. | **Label** | Pointer to **string** | Physical label | [optional] **Type** | Pointer to [**ConsolePortTypeValue**](ConsolePortTypeValue.md) | | [optional] @@ -32,20 +32,20 @@ but it doesn't guarantee that properties required by API are set ### GetDeviceType -`func (o *WritableConsoleServerPortTemplateRequest) GetDeviceType() DeviceTypeRequest` +`func (o *WritableConsoleServerPortTemplateRequest) GetDeviceType() BriefDeviceTypeRequest` GetDeviceType returns the DeviceType field if non-nil, zero value otherwise. ### GetDeviceTypeOk -`func (o *WritableConsoleServerPortTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool)` +`func (o *WritableConsoleServerPortTemplateRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool)` GetDeviceTypeOk returns a tuple with the DeviceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDeviceType -`func (o *WritableConsoleServerPortTemplateRequest) SetDeviceType(v DeviceTypeRequest)` +`func (o *WritableConsoleServerPortTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest)` SetDeviceType sets DeviceType field to given value. @@ -67,20 +67,20 @@ HasDeviceType returns a boolean if a field has been set. UnsetDeviceType ensures that no value is present for DeviceType, not even an explicit nil ### GetModuleType -`func (o *WritableConsoleServerPortTemplateRequest) GetModuleType() ModuleTypeRequest` +`func (o *WritableConsoleServerPortTemplateRequest) GetModuleType() BriefModuleTypeRequest` GetModuleType returns the ModuleType field if non-nil, zero value otherwise. ### GetModuleTypeOk -`func (o *WritableConsoleServerPortTemplateRequest) GetModuleTypeOk() (*ModuleTypeRequest, bool)` +`func (o *WritableConsoleServerPortTemplateRequest) GetModuleTypeOk() (*BriefModuleTypeRequest, bool)` GetModuleTypeOk returns a tuple with the ModuleType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetModuleType -`func (o *WritableConsoleServerPortTemplateRequest) SetModuleType(v ModuleTypeRequest)` +`func (o *WritableConsoleServerPortTemplateRequest) SetModuleType(v BriefModuleTypeRequest)` SetModuleType sets ModuleType field to given value. diff --git a/docs/WritableContactAssignmentRequest.md b/docs/WritableContactAssignmentRequest.md index 678cd6e27..dc94d6b6f 100644 --- a/docs/WritableContactAssignmentRequest.md +++ b/docs/WritableContactAssignmentRequest.md @@ -6,9 +6,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **ObjectType** | **string** | | **ObjectId** | **int64** | | -**Contact** | [**ContactRequest**](ContactRequest.md) | | -**Role** | Pointer to [**NullableContactRoleRequest**](ContactRoleRequest.md) | | [optional] -**Priority** | Pointer to [**ContactAssignmentPriorityValue**](ContactAssignmentPriorityValue.md) | | [optional] +**Contact** | [**BriefContactRequest**](BriefContactRequest.md) | | +**Role** | Pointer to [**NullableBriefContactRoleRequest**](BriefContactRoleRequest.md) | | [optional] +**Priority** | Pointer to [**BriefCircuitGroupAssignmentSerializerPriorityValue**](BriefCircuitGroupAssignmentSerializerPriorityValue.md) | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] @@ -16,7 +16,7 @@ Name | Type | Description | Notes ### NewWritableContactAssignmentRequest -`func NewWritableContactAssignmentRequest(objectType string, objectId int64, contact ContactRequest, ) *WritableContactAssignmentRequest` +`func NewWritableContactAssignmentRequest(objectType string, objectId int64, contact BriefContactRequest, ) *WritableContactAssignmentRequest` NewWritableContactAssignmentRequest instantiates a new WritableContactAssignmentRequest object This constructor will assign default values to properties that have it defined, @@ -73,40 +73,40 @@ SetObjectId sets ObjectId field to given value. ### GetContact -`func (o *WritableContactAssignmentRequest) GetContact() ContactRequest` +`func (o *WritableContactAssignmentRequest) GetContact() BriefContactRequest` GetContact returns the Contact field if non-nil, zero value otherwise. ### GetContactOk -`func (o *WritableContactAssignmentRequest) GetContactOk() (*ContactRequest, bool)` +`func (o *WritableContactAssignmentRequest) GetContactOk() (*BriefContactRequest, bool)` GetContactOk returns a tuple with the Contact field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetContact -`func (o *WritableContactAssignmentRequest) SetContact(v ContactRequest)` +`func (o *WritableContactAssignmentRequest) SetContact(v BriefContactRequest)` SetContact sets Contact field to given value. ### GetRole -`func (o *WritableContactAssignmentRequest) GetRole() ContactRoleRequest` +`func (o *WritableContactAssignmentRequest) GetRole() BriefContactRoleRequest` GetRole returns the Role field if non-nil, zero value otherwise. ### GetRoleOk -`func (o *WritableContactAssignmentRequest) GetRoleOk() (*ContactRoleRequest, bool)` +`func (o *WritableContactAssignmentRequest) GetRoleOk() (*BriefContactRoleRequest, 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 *WritableContactAssignmentRequest) SetRole(v ContactRoleRequest)` +`func (o *WritableContactAssignmentRequest) SetRole(v BriefContactRoleRequest)` SetRole sets Role field to given value. @@ -128,20 +128,20 @@ HasRole returns a boolean if a field has been set. UnsetRole ensures that no value is present for Role, not even an explicit nil ### GetPriority -`func (o *WritableContactAssignmentRequest) GetPriority() ContactAssignmentPriorityValue` +`func (o *WritableContactAssignmentRequest) GetPriority() BriefCircuitGroupAssignmentSerializerPriorityValue` GetPriority returns the Priority field if non-nil, zero value otherwise. ### GetPriorityOk -`func (o *WritableContactAssignmentRequest) GetPriorityOk() (*ContactAssignmentPriorityValue, bool)` +`func (o *WritableContactAssignmentRequest) GetPriorityOk() (*BriefCircuitGroupAssignmentSerializerPriorityValue, bool)` GetPriorityOk returns a tuple with the Priority field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPriority -`func (o *WritableContactAssignmentRequest) SetPriority(v ContactAssignmentPriorityValue)` +`func (o *WritableContactAssignmentRequest) SetPriority(v BriefCircuitGroupAssignmentSerializerPriorityValue)` SetPriority sets Priority field to given value. diff --git a/docs/WritableCustomFieldRequest.md b/docs/WritableCustomFieldRequest.md index f82e51b73..2e40f4558 100644 --- a/docs/WritableCustomFieldRequest.md +++ b/docs/WritableCustomFieldRequest.md @@ -11,18 +11,20 @@ Name | Type | Description | Notes **Label** | Pointer to **string** | Name of the field as displayed to users (if not provided, 'the field's name will be used) | [optional] **GroupName** | Pointer to **string** | Custom fields within the same group will be displayed together | [optional] **Description** | Pointer to **string** | | [optional] -**Required** | Pointer to **bool** | If true, this field is required when creating new objects or editing an existing object. | [optional] +**Required** | Pointer to **bool** | This field is required when creating new objects or editing an existing object. | [optional] +**Unique** | Pointer to **bool** | The value of this field must be unique for the assigned object | [optional] **SearchWeight** | Pointer to **int32** | Weighting for search. Lower values are considered more important. Fields with a search weight of zero will be ignored. | [optional] **FilterLogic** | Pointer to [**PatchedWritableCustomFieldRequestFilterLogic**](PatchedWritableCustomFieldRequestFilterLogic.md) | | [optional] **UiVisible** | Pointer to [**PatchedWritableCustomFieldRequestUiVisible**](PatchedWritableCustomFieldRequestUiVisible.md) | | [optional] **UiEditable** | Pointer to [**PatchedWritableCustomFieldRequestUiEditable**](PatchedWritableCustomFieldRequestUiEditable.md) | | [optional] **IsCloneable** | Pointer to **bool** | Replicate this value when cloning objects | [optional] **Default** | Pointer to **interface{}** | Default value for the field (must be a JSON value). Encapsulate strings with double quotes (e.g. \"Foo\"). | [optional] +**RelatedObjectFilter** | Pointer to **interface{}** | Filter the object selection choices using a query_params dict (must be a JSON value).Encapsulate strings with double quotes (e.g. \"Foo\"). | [optional] **Weight** | Pointer to **int32** | Fields with higher weights appear lower in a form. | [optional] **ValidationMinimum** | Pointer to **NullableInt64** | Minimum allowed value (for numeric fields) | [optional] **ValidationMaximum** | Pointer to **NullableInt64** | Maximum allowed value (for numeric fields) | [optional] **ValidationRegex** | Pointer to **string** | Regular expression to enforce on text field values. Use ^ and $ to force matching of entire string. For example, <code>^[A-Z]{3}$</code> will limit values to exactly three uppercase letters. | [optional] -**ChoiceSet** | Pointer to [**NullableCustomFieldChoiceSetRequest**](CustomFieldChoiceSetRequest.md) | | [optional] +**ChoiceSet** | Pointer to [**NullableBriefCustomFieldChoiceSetRequest**](BriefCustomFieldChoiceSetRequest.md) | | [optional] **Comments** | Pointer to **string** | | [optional] ## Methods @@ -244,6 +246,31 @@ SetRequired sets Required field to given value. HasRequired returns a boolean if a field has been set. +### GetUnique + +`func (o *WritableCustomFieldRequest) GetUnique() bool` + +GetUnique returns the Unique field if non-nil, zero value otherwise. + +### GetUniqueOk + +`func (o *WritableCustomFieldRequest) GetUniqueOk() (*bool, bool)` + +GetUniqueOk returns a tuple with the Unique field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUnique + +`func (o *WritableCustomFieldRequest) SetUnique(v bool)` + +SetUnique sets Unique field to given value. + +### HasUnique + +`func (o *WritableCustomFieldRequest) HasUnique() bool` + +HasUnique returns a boolean if a field has been set. + ### GetSearchWeight `func (o *WritableCustomFieldRequest) GetSearchWeight() int32` @@ -404,6 +431,41 @@ HasDefault returns a boolean if a field has been set. `func (o *WritableCustomFieldRequest) UnsetDefault()` UnsetDefault ensures that no value is present for Default, not even an explicit nil +### GetRelatedObjectFilter + +`func (o *WritableCustomFieldRequest) GetRelatedObjectFilter() interface{}` + +GetRelatedObjectFilter returns the RelatedObjectFilter field if non-nil, zero value otherwise. + +### GetRelatedObjectFilterOk + +`func (o *WritableCustomFieldRequest) GetRelatedObjectFilterOk() (*interface{}, bool)` + +GetRelatedObjectFilterOk returns a tuple with the RelatedObjectFilter field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRelatedObjectFilter + +`func (o *WritableCustomFieldRequest) SetRelatedObjectFilter(v interface{})` + +SetRelatedObjectFilter sets RelatedObjectFilter field to given value. + +### HasRelatedObjectFilter + +`func (o *WritableCustomFieldRequest) HasRelatedObjectFilter() bool` + +HasRelatedObjectFilter returns a boolean if a field has been set. + +### SetRelatedObjectFilterNil + +`func (o *WritableCustomFieldRequest) SetRelatedObjectFilterNil(b bool)` + + SetRelatedObjectFilterNil sets the value for RelatedObjectFilter to be an explicit nil + +### UnsetRelatedObjectFilter +`func (o *WritableCustomFieldRequest) UnsetRelatedObjectFilter()` + +UnsetRelatedObjectFilter ensures that no value is present for RelatedObjectFilter, not even an explicit nil ### GetWeight `func (o *WritableCustomFieldRequest) GetWeight() int32` @@ -526,20 +588,20 @@ HasValidationRegex returns a boolean if a field has been set. ### GetChoiceSet -`func (o *WritableCustomFieldRequest) GetChoiceSet() CustomFieldChoiceSetRequest` +`func (o *WritableCustomFieldRequest) GetChoiceSet() BriefCustomFieldChoiceSetRequest` GetChoiceSet returns the ChoiceSet field if non-nil, zero value otherwise. ### GetChoiceSetOk -`func (o *WritableCustomFieldRequest) GetChoiceSetOk() (*CustomFieldChoiceSetRequest, bool)` +`func (o *WritableCustomFieldRequest) GetChoiceSetOk() (*BriefCustomFieldChoiceSetRequest, bool)` GetChoiceSetOk returns a tuple with the ChoiceSet field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChoiceSet -`func (o *WritableCustomFieldRequest) SetChoiceSet(v CustomFieldChoiceSetRequest)` +`func (o *WritableCustomFieldRequest) SetChoiceSet(v BriefCustomFieldChoiceSetRequest)` SetChoiceSet sets ChoiceSet field to given value. diff --git a/docs/WritableDataSourceRequest.md b/docs/WritableDataSourceRequest.md index 02b680911..aa37a1cc4 100644 --- a/docs/WritableDataSourceRequest.md +++ b/docs/WritableDataSourceRequest.md @@ -9,9 +9,9 @@ Name | Type | Description | Notes **SourceUrl** | **string** | | **Enabled** | Pointer to **bool** | | [optional] **Description** | Pointer to **string** | | [optional] -**Comments** | Pointer to **string** | | [optional] **Parameters** | Pointer to **interface{}** | | [optional] **IgnoreRules** | Pointer to **string** | Patterns (one per line) matching files to ignore when syncing | [optional] +**Comments** | Pointer to **string** | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] ## Methods @@ -143,31 +143,6 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. -### GetComments - -`func (o *WritableDataSourceRequest) GetComments() string` - -GetComments returns the Comments field if non-nil, zero value otherwise. - -### GetCommentsOk - -`func (o *WritableDataSourceRequest) GetCommentsOk() (*string, bool)` - -GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetComments - -`func (o *WritableDataSourceRequest) SetComments(v string)` - -SetComments sets Comments field to given value. - -### HasComments - -`func (o *WritableDataSourceRequest) HasComments() bool` - -HasComments returns a boolean if a field has been set. - ### GetParameters `func (o *WritableDataSourceRequest) GetParameters() interface{}` @@ -228,6 +203,31 @@ SetIgnoreRules sets IgnoreRules field to given value. HasIgnoreRules returns a boolean if a field has been set. +### GetComments + +`func (o *WritableDataSourceRequest) GetComments() string` + +GetComments returns the Comments field if non-nil, zero value otherwise. + +### GetCommentsOk + +`func (o *WritableDataSourceRequest) GetCommentsOk() (*string, bool)` + +GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComments + +`func (o *WritableDataSourceRequest) SetComments(v string)` + +SetComments sets Comments field to given value. + +### HasComments + +`func (o *WritableDataSourceRequest) HasComments() bool` + +HasComments returns a boolean if a field has been set. + ### GetCustomFields `func (o *WritableDataSourceRequest) GetCustomFields() map[string]interface{}` diff --git a/docs/WritableDeviceTypeRequest.md b/docs/WritableDeviceTypeRequest.md index 14fb74555..53aefbe6c 100644 --- a/docs/WritableDeviceTypeRequest.md +++ b/docs/WritableDeviceTypeRequest.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Manufacturer** | [**ManufacturerRequest**](ManufacturerRequest.md) | | -**DefaultPlatform** | Pointer to [**NullablePlatformRequest**](PlatformRequest.md) | | [optional] +**Manufacturer** | [**BriefManufacturerRequest**](BriefManufacturerRequest.md) | | +**DefaultPlatform** | Pointer to [**NullableBriefPlatformRequest**](BriefPlatformRequest.md) | | [optional] **Model** | **string** | | **Slug** | **string** | | **PartNumber** | Pointer to **string** | Discrete part number (optional) | [optional] @@ -15,7 +15,7 @@ Name | Type | Description | Notes **SubdeviceRole** | Pointer to [**ParentChildStatus1**](ParentChildStatus1.md) | | [optional] **Airflow** | Pointer to [**DeviceAirflowValue**](DeviceAirflowValue.md) | | [optional] **Weight** | Pointer to **NullableFloat64** | | [optional] -**WeightUnit** | Pointer to [**PatchedWritableDeviceTypeRequestWeightUnit**](PatchedWritableDeviceTypeRequestWeightUnit.md) | | [optional] +**WeightUnit** | Pointer to [**DeviceTypeWeightUnitValue**](DeviceTypeWeightUnitValue.md) | | [optional] **FrontImage** | Pointer to ***os.File** | | [optional] **RearImage** | Pointer to ***os.File** | | [optional] **Description** | Pointer to **string** | | [optional] @@ -27,7 +27,7 @@ Name | Type | Description | Notes ### NewWritableDeviceTypeRequest -`func NewWritableDeviceTypeRequest(manufacturer ManufacturerRequest, model string, slug string, ) *WritableDeviceTypeRequest` +`func NewWritableDeviceTypeRequest(manufacturer BriefManufacturerRequest, model string, slug string, ) *WritableDeviceTypeRequest` NewWritableDeviceTypeRequest instantiates a new WritableDeviceTypeRequest object This constructor will assign default values to properties that have it defined, @@ -44,40 +44,40 @@ but it doesn't guarantee that properties required by API are set ### GetManufacturer -`func (o *WritableDeviceTypeRequest) GetManufacturer() ManufacturerRequest` +`func (o *WritableDeviceTypeRequest) GetManufacturer() BriefManufacturerRequest` GetManufacturer returns the Manufacturer field if non-nil, zero value otherwise. ### GetManufacturerOk -`func (o *WritableDeviceTypeRequest) GetManufacturerOk() (*ManufacturerRequest, bool)` +`func (o *WritableDeviceTypeRequest) GetManufacturerOk() (*BriefManufacturerRequest, bool)` GetManufacturerOk returns a tuple with the Manufacturer field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetManufacturer -`func (o *WritableDeviceTypeRequest) SetManufacturer(v ManufacturerRequest)` +`func (o *WritableDeviceTypeRequest) SetManufacturer(v BriefManufacturerRequest)` SetManufacturer sets Manufacturer field to given value. ### GetDefaultPlatform -`func (o *WritableDeviceTypeRequest) GetDefaultPlatform() PlatformRequest` +`func (o *WritableDeviceTypeRequest) GetDefaultPlatform() BriefPlatformRequest` GetDefaultPlatform returns the DefaultPlatform field if non-nil, zero value otherwise. ### GetDefaultPlatformOk -`func (o *WritableDeviceTypeRequest) GetDefaultPlatformOk() (*PlatformRequest, bool)` +`func (o *WritableDeviceTypeRequest) GetDefaultPlatformOk() (*BriefPlatformRequest, bool)` GetDefaultPlatformOk returns a tuple with the DefaultPlatform field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDefaultPlatform -`func (o *WritableDeviceTypeRequest) SetDefaultPlatform(v PlatformRequest)` +`func (o *WritableDeviceTypeRequest) SetDefaultPlatform(v BriefPlatformRequest)` SetDefaultPlatform sets DefaultPlatform field to given value. @@ -324,20 +324,20 @@ HasWeight returns a boolean if a field has been set. UnsetWeight ensures that no value is present for Weight, not even an explicit nil ### GetWeightUnit -`func (o *WritableDeviceTypeRequest) GetWeightUnit() PatchedWritableDeviceTypeRequestWeightUnit` +`func (o *WritableDeviceTypeRequest) GetWeightUnit() DeviceTypeWeightUnitValue` GetWeightUnit returns the WeightUnit field if non-nil, zero value otherwise. ### GetWeightUnitOk -`func (o *WritableDeviceTypeRequest) GetWeightUnitOk() (*PatchedWritableDeviceTypeRequestWeightUnit, bool)` +`func (o *WritableDeviceTypeRequest) GetWeightUnitOk() (*DeviceTypeWeightUnitValue, bool)` GetWeightUnitOk returns a tuple with the WeightUnit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetWeightUnit -`func (o *WritableDeviceTypeRequest) SetWeightUnit(v PatchedWritableDeviceTypeRequestWeightUnit)` +`func (o *WritableDeviceTypeRequest) SetWeightUnit(v DeviceTypeWeightUnitValue)` SetWeightUnit sets WeightUnit field to given value. diff --git a/docs/WritableDeviceWithConfigContextRequest.md b/docs/WritableDeviceWithConfigContextRequest.md index 0935ed356..694be056b 100644 --- a/docs/WritableDeviceWithConfigContextRequest.md +++ b/docs/WritableDeviceWithConfigContextRequest.md @@ -5,31 +5,31 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | Pointer to **NullableString** | | [optional] -**DeviceType** | [**DeviceTypeRequest**](DeviceTypeRequest.md) | | -**Role** | [**DeviceRoleRequest**](DeviceRoleRequest.md) | | -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] -**Platform** | Pointer to [**NullablePlatformRequest**](PlatformRequest.md) | | [optional] +**DeviceType** | [**BriefDeviceTypeRequest**](BriefDeviceTypeRequest.md) | | +**Role** | [**BriefDeviceRoleRequest**](BriefDeviceRoleRequest.md) | | +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] +**Platform** | Pointer to [**NullableBriefPlatformRequest**](BriefPlatformRequest.md) | | [optional] **Serial** | Pointer to **string** | Chassis serial number, assigned by the manufacturer | [optional] **AssetTag** | Pointer to **NullableString** | A unique tag used to identify this device | [optional] -**Site** | [**SiteRequest**](SiteRequest.md) | | -**Location** | Pointer to [**NullableLocationRequest**](LocationRequest.md) | | [optional] -**Rack** | Pointer to [**NullableRackRequest**](RackRequest.md) | | [optional] +**Site** | [**BriefSiteRequest**](BriefSiteRequest.md) | | +**Location** | Pointer to [**NullableBriefLocationRequest**](BriefLocationRequest.md) | | [optional] +**Rack** | Pointer to [**NullableBriefRackRequest**](BriefRackRequest.md) | | [optional] **Position** | Pointer to **NullableFloat64** | | [optional] **Face** | [**RackFace1**](RackFace1.md) | | **Latitude** | Pointer to **NullableFloat64** | GPS coordinate in decimal format (xx.yyyyyy) | [optional] **Longitude** | Pointer to **NullableFloat64** | GPS coordinate in decimal format (xx.yyyyyy) | [optional] **Status** | Pointer to [**DeviceStatusValue**](DeviceStatusValue.md) | | [optional] **Airflow** | Pointer to [**DeviceAirflowValue**](DeviceAirflowValue.md) | | [optional] -**PrimaryIp4** | Pointer to [**NullableIPAddressRequest**](IPAddressRequest.md) | | [optional] -**PrimaryIp6** | Pointer to [**NullableIPAddressRequest**](IPAddressRequest.md) | | [optional] -**OobIp** | Pointer to [**NullableIPAddressRequest**](IPAddressRequest.md) | | [optional] -**Cluster** | Pointer to [**NullableClusterRequest**](ClusterRequest.md) | | [optional] -**VirtualChassis** | Pointer to [**NullableVirtualChassisRequest**](VirtualChassisRequest.md) | | [optional] +**PrimaryIp4** | Pointer to [**NullableBriefIPAddressRequest**](BriefIPAddressRequest.md) | | [optional] +**PrimaryIp6** | Pointer to [**NullableBriefIPAddressRequest**](BriefIPAddressRequest.md) | | [optional] +**OobIp** | Pointer to [**NullableBriefIPAddressRequest**](BriefIPAddressRequest.md) | | [optional] +**Cluster** | Pointer to [**NullableBriefClusterRequest**](BriefClusterRequest.md) | | [optional] +**VirtualChassis** | Pointer to [**NullableBriefVirtualChassisRequest**](BriefVirtualChassisRequest.md) | | [optional] **VcPosition** | Pointer to **NullableInt32** | | [optional] **VcPriority** | Pointer to **NullableInt32** | Virtual chassis master election priority | [optional] **Description** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] -**ConfigTemplate** | Pointer to [**NullableConfigTemplateRequest**](ConfigTemplateRequest.md) | | [optional] +**ConfigTemplate** | Pointer to [**NullableBriefConfigTemplateRequest**](BriefConfigTemplateRequest.md) | | [optional] **LocalContextData** | Pointer to **interface{}** | Local config context data takes precedence over source contexts in the final rendered config context | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] @@ -38,7 +38,7 @@ Name | Type | Description | Notes ### NewWritableDeviceWithConfigContextRequest -`func NewWritableDeviceWithConfigContextRequest(deviceType DeviceTypeRequest, role DeviceRoleRequest, site SiteRequest, face RackFace1, ) *WritableDeviceWithConfigContextRequest` +`func NewWritableDeviceWithConfigContextRequest(deviceType BriefDeviceTypeRequest, role BriefDeviceRoleRequest, site BriefSiteRequest, face RackFace1, ) *WritableDeviceWithConfigContextRequest` NewWritableDeviceWithConfigContextRequest instantiates a new WritableDeviceWithConfigContextRequest object This constructor will assign default values to properties that have it defined, @@ -90,60 +90,60 @@ HasName returns a boolean if a field has been set. UnsetName ensures that no value is present for Name, not even an explicit nil ### GetDeviceType -`func (o *WritableDeviceWithConfigContextRequest) GetDeviceType() DeviceTypeRequest` +`func (o *WritableDeviceWithConfigContextRequest) GetDeviceType() BriefDeviceTypeRequest` GetDeviceType returns the DeviceType field if non-nil, zero value otherwise. ### GetDeviceTypeOk -`func (o *WritableDeviceWithConfigContextRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool)` +`func (o *WritableDeviceWithConfigContextRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool)` GetDeviceTypeOk returns a tuple with the DeviceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDeviceType -`func (o *WritableDeviceWithConfigContextRequest) SetDeviceType(v DeviceTypeRequest)` +`func (o *WritableDeviceWithConfigContextRequest) SetDeviceType(v BriefDeviceTypeRequest)` SetDeviceType sets DeviceType field to given value. ### GetRole -`func (o *WritableDeviceWithConfigContextRequest) GetRole() DeviceRoleRequest` +`func (o *WritableDeviceWithConfigContextRequest) GetRole() BriefDeviceRoleRequest` GetRole returns the Role field if non-nil, zero value otherwise. ### GetRoleOk -`func (o *WritableDeviceWithConfigContextRequest) GetRoleOk() (*DeviceRoleRequest, bool)` +`func (o *WritableDeviceWithConfigContextRequest) GetRoleOk() (*BriefDeviceRoleRequest, 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 *WritableDeviceWithConfigContextRequest) SetRole(v DeviceRoleRequest)` +`func (o *WritableDeviceWithConfigContextRequest) SetRole(v BriefDeviceRoleRequest)` SetRole sets Role field to given value. ### GetTenant -`func (o *WritableDeviceWithConfigContextRequest) GetTenant() TenantRequest` +`func (o *WritableDeviceWithConfigContextRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *WritableDeviceWithConfigContextRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *WritableDeviceWithConfigContextRequest) GetTenantOk() (*BriefTenantRequest, 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 *WritableDeviceWithConfigContextRequest) SetTenant(v TenantRequest)` +`func (o *WritableDeviceWithConfigContextRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. @@ -165,20 +165,20 @@ HasTenant returns a boolean if a field has been set. UnsetTenant ensures that no value is present for Tenant, not even an explicit nil ### GetPlatform -`func (o *WritableDeviceWithConfigContextRequest) GetPlatform() PlatformRequest` +`func (o *WritableDeviceWithConfigContextRequest) GetPlatform() BriefPlatformRequest` GetPlatform returns the Platform field if non-nil, zero value otherwise. ### GetPlatformOk -`func (o *WritableDeviceWithConfigContextRequest) GetPlatformOk() (*PlatformRequest, bool)` +`func (o *WritableDeviceWithConfigContextRequest) GetPlatformOk() (*BriefPlatformRequest, bool)` GetPlatformOk returns a tuple with the Platform field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPlatform -`func (o *WritableDeviceWithConfigContextRequest) SetPlatform(v PlatformRequest)` +`func (o *WritableDeviceWithConfigContextRequest) SetPlatform(v BriefPlatformRequest)` SetPlatform sets Platform field to given value. @@ -260,40 +260,40 @@ HasAssetTag returns a boolean if a field has been set. UnsetAssetTag ensures that no value is present for AssetTag, not even an explicit nil ### GetSite -`func (o *WritableDeviceWithConfigContextRequest) GetSite() SiteRequest` +`func (o *WritableDeviceWithConfigContextRequest) GetSite() BriefSiteRequest` GetSite returns the Site field if non-nil, zero value otherwise. ### GetSiteOk -`func (o *WritableDeviceWithConfigContextRequest) GetSiteOk() (*SiteRequest, bool)` +`func (o *WritableDeviceWithConfigContextRequest) GetSiteOk() (*BriefSiteRequest, bool)` GetSiteOk returns a tuple with the Site field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSite -`func (o *WritableDeviceWithConfigContextRequest) SetSite(v SiteRequest)` +`func (o *WritableDeviceWithConfigContextRequest) SetSite(v BriefSiteRequest)` SetSite sets Site field to given value. ### GetLocation -`func (o *WritableDeviceWithConfigContextRequest) GetLocation() LocationRequest` +`func (o *WritableDeviceWithConfigContextRequest) GetLocation() BriefLocationRequest` GetLocation returns the Location field if non-nil, zero value otherwise. ### GetLocationOk -`func (o *WritableDeviceWithConfigContextRequest) GetLocationOk() (*LocationRequest, bool)` +`func (o *WritableDeviceWithConfigContextRequest) GetLocationOk() (*BriefLocationRequest, 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 *WritableDeviceWithConfigContextRequest) SetLocation(v LocationRequest)` +`func (o *WritableDeviceWithConfigContextRequest) SetLocation(v BriefLocationRequest)` SetLocation sets Location field to given value. @@ -315,20 +315,20 @@ HasLocation returns a boolean if a field has been set. UnsetLocation ensures that no value is present for Location, not even an explicit nil ### GetRack -`func (o *WritableDeviceWithConfigContextRequest) GetRack() RackRequest` +`func (o *WritableDeviceWithConfigContextRequest) GetRack() BriefRackRequest` GetRack returns the Rack field if non-nil, zero value otherwise. ### GetRackOk -`func (o *WritableDeviceWithConfigContextRequest) GetRackOk() (*RackRequest, bool)` +`func (o *WritableDeviceWithConfigContextRequest) GetRackOk() (*BriefRackRequest, bool)` GetRackOk returns a tuple with the Rack field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRack -`func (o *WritableDeviceWithConfigContextRequest) SetRack(v RackRequest)` +`func (o *WritableDeviceWithConfigContextRequest) SetRack(v BriefRackRequest)` SetRack sets Rack field to given value. @@ -525,20 +525,20 @@ HasAirflow returns a boolean if a field has been set. ### GetPrimaryIp4 -`func (o *WritableDeviceWithConfigContextRequest) GetPrimaryIp4() IPAddressRequest` +`func (o *WritableDeviceWithConfigContextRequest) GetPrimaryIp4() BriefIPAddressRequest` GetPrimaryIp4 returns the PrimaryIp4 field if non-nil, zero value otherwise. ### GetPrimaryIp4Ok -`func (o *WritableDeviceWithConfigContextRequest) GetPrimaryIp4Ok() (*IPAddressRequest, bool)` +`func (o *WritableDeviceWithConfigContextRequest) GetPrimaryIp4Ok() (*BriefIPAddressRequest, 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 *WritableDeviceWithConfigContextRequest) SetPrimaryIp4(v IPAddressRequest)` +`func (o *WritableDeviceWithConfigContextRequest) SetPrimaryIp4(v BriefIPAddressRequest)` SetPrimaryIp4 sets PrimaryIp4 field to given value. @@ -560,20 +560,20 @@ HasPrimaryIp4 returns a boolean if a field has been set. UnsetPrimaryIp4 ensures that no value is present for PrimaryIp4, not even an explicit nil ### GetPrimaryIp6 -`func (o *WritableDeviceWithConfigContextRequest) GetPrimaryIp6() IPAddressRequest` +`func (o *WritableDeviceWithConfigContextRequest) GetPrimaryIp6() BriefIPAddressRequest` GetPrimaryIp6 returns the PrimaryIp6 field if non-nil, zero value otherwise. ### GetPrimaryIp6Ok -`func (o *WritableDeviceWithConfigContextRequest) GetPrimaryIp6Ok() (*IPAddressRequest, bool)` +`func (o *WritableDeviceWithConfigContextRequest) GetPrimaryIp6Ok() (*BriefIPAddressRequest, 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 *WritableDeviceWithConfigContextRequest) SetPrimaryIp6(v IPAddressRequest)` +`func (o *WritableDeviceWithConfigContextRequest) SetPrimaryIp6(v BriefIPAddressRequest)` SetPrimaryIp6 sets PrimaryIp6 field to given value. @@ -595,20 +595,20 @@ HasPrimaryIp6 returns a boolean if a field has been set. UnsetPrimaryIp6 ensures that no value is present for PrimaryIp6, not even an explicit nil ### GetOobIp -`func (o *WritableDeviceWithConfigContextRequest) GetOobIp() IPAddressRequest` +`func (o *WritableDeviceWithConfigContextRequest) GetOobIp() BriefIPAddressRequest` GetOobIp returns the OobIp field if non-nil, zero value otherwise. ### GetOobIpOk -`func (o *WritableDeviceWithConfigContextRequest) GetOobIpOk() (*IPAddressRequest, bool)` +`func (o *WritableDeviceWithConfigContextRequest) GetOobIpOk() (*BriefIPAddressRequest, bool)` GetOobIpOk returns a tuple with the OobIp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetOobIp -`func (o *WritableDeviceWithConfigContextRequest) SetOobIp(v IPAddressRequest)` +`func (o *WritableDeviceWithConfigContextRequest) SetOobIp(v BriefIPAddressRequest)` SetOobIp sets OobIp field to given value. @@ -630,20 +630,20 @@ HasOobIp returns a boolean if a field has been set. UnsetOobIp ensures that no value is present for OobIp, not even an explicit nil ### GetCluster -`func (o *WritableDeviceWithConfigContextRequest) GetCluster() ClusterRequest` +`func (o *WritableDeviceWithConfigContextRequest) GetCluster() BriefClusterRequest` GetCluster returns the Cluster field if non-nil, zero value otherwise. ### GetClusterOk -`func (o *WritableDeviceWithConfigContextRequest) GetClusterOk() (*ClusterRequest, bool)` +`func (o *WritableDeviceWithConfigContextRequest) GetClusterOk() (*BriefClusterRequest, bool)` GetClusterOk returns a tuple with the Cluster field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCluster -`func (o *WritableDeviceWithConfigContextRequest) SetCluster(v ClusterRequest)` +`func (o *WritableDeviceWithConfigContextRequest) SetCluster(v BriefClusterRequest)` SetCluster sets Cluster field to given value. @@ -665,20 +665,20 @@ HasCluster returns a boolean if a field has been set. UnsetCluster ensures that no value is present for Cluster, not even an explicit nil ### GetVirtualChassis -`func (o *WritableDeviceWithConfigContextRequest) GetVirtualChassis() VirtualChassisRequest` +`func (o *WritableDeviceWithConfigContextRequest) GetVirtualChassis() BriefVirtualChassisRequest` GetVirtualChassis returns the VirtualChassis field if non-nil, zero value otherwise. ### GetVirtualChassisOk -`func (o *WritableDeviceWithConfigContextRequest) GetVirtualChassisOk() (*VirtualChassisRequest, bool)` +`func (o *WritableDeviceWithConfigContextRequest) GetVirtualChassisOk() (*BriefVirtualChassisRequest, bool)` GetVirtualChassisOk returns a tuple with the VirtualChassis field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVirtualChassis -`func (o *WritableDeviceWithConfigContextRequest) SetVirtualChassis(v VirtualChassisRequest)` +`func (o *WritableDeviceWithConfigContextRequest) SetVirtualChassis(v BriefVirtualChassisRequest)` SetVirtualChassis sets VirtualChassis field to given value. @@ -820,20 +820,20 @@ HasComments returns a boolean if a field has been set. ### GetConfigTemplate -`func (o *WritableDeviceWithConfigContextRequest) GetConfigTemplate() ConfigTemplateRequest` +`func (o *WritableDeviceWithConfigContextRequest) GetConfigTemplate() BriefConfigTemplateRequest` GetConfigTemplate returns the ConfigTemplate field if non-nil, zero value otherwise. ### GetConfigTemplateOk -`func (o *WritableDeviceWithConfigContextRequest) GetConfigTemplateOk() (*ConfigTemplateRequest, bool)` +`func (o *WritableDeviceWithConfigContextRequest) GetConfigTemplateOk() (*BriefConfigTemplateRequest, bool)` GetConfigTemplateOk returns a tuple with the ConfigTemplate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetConfigTemplate -`func (o *WritableDeviceWithConfigContextRequest) SetConfigTemplate(v ConfigTemplateRequest)` +`func (o *WritableDeviceWithConfigContextRequest) SetConfigTemplate(v BriefConfigTemplateRequest)` SetConfigTemplate sets ConfigTemplate field to given value. diff --git a/docs/WritableEventRuleRequest.md b/docs/WritableEventRuleRequest.md index d091d02bf..bcd1ad37f 100644 --- a/docs/WritableEventRuleRequest.md +++ b/docs/WritableEventRuleRequest.md @@ -6,12 +6,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **ObjectTypes** | **[]string** | | **Name** | **string** | | -**TypeCreate** | Pointer to **bool** | Triggers when a matching object is created. | [optional] -**TypeUpdate** | Pointer to **bool** | Triggers when a matching object is updated. | [optional] -**TypeDelete** | Pointer to **bool** | Triggers when a matching object is deleted. | [optional] -**TypeJobStart** | Pointer to **bool** | Triggers when a job for a matching object is started. | [optional] -**TypeJobEnd** | Pointer to **bool** | Triggers when a job for a matching object terminates. | [optional] **Enabled** | Pointer to **bool** | | [optional] +**EventTypes** | [**[]EventRuleEventTypesInner**](EventRuleEventTypesInner.md) | The types of event which will trigger this rule. | **Conditions** | Pointer to **interface{}** | A set of conditions which determine whether the event will be generated. | [optional] **ActionType** | Pointer to [**EventRuleActionTypeValue**](EventRuleActionTypeValue.md) | | [optional] **ActionObjectType** | **string** | | @@ -24,7 +20,7 @@ Name | Type | Description | Notes ### NewWritableEventRuleRequest -`func NewWritableEventRuleRequest(objectTypes []string, name string, actionObjectType string, ) *WritableEventRuleRequest` +`func NewWritableEventRuleRequest(objectTypes []string, name string, eventTypes []EventRuleEventTypesInner, actionObjectType string, ) *WritableEventRuleRequest` NewWritableEventRuleRequest instantiates a new WritableEventRuleRequest object This constructor will assign default values to properties that have it defined, @@ -79,131 +75,6 @@ and a boolean to check if the value has been set. SetName sets Name field to given value. -### GetTypeCreate - -`func (o *WritableEventRuleRequest) GetTypeCreate() bool` - -GetTypeCreate returns the TypeCreate field if non-nil, zero value otherwise. - -### GetTypeCreateOk - -`func (o *WritableEventRuleRequest) GetTypeCreateOk() (*bool, bool)` - -GetTypeCreateOk returns a tuple with the TypeCreate field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTypeCreate - -`func (o *WritableEventRuleRequest) SetTypeCreate(v bool)` - -SetTypeCreate sets TypeCreate field to given value. - -### HasTypeCreate - -`func (o *WritableEventRuleRequest) HasTypeCreate() bool` - -HasTypeCreate returns a boolean if a field has been set. - -### GetTypeUpdate - -`func (o *WritableEventRuleRequest) GetTypeUpdate() bool` - -GetTypeUpdate returns the TypeUpdate field if non-nil, zero value otherwise. - -### GetTypeUpdateOk - -`func (o *WritableEventRuleRequest) GetTypeUpdateOk() (*bool, bool)` - -GetTypeUpdateOk returns a tuple with the TypeUpdate field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTypeUpdate - -`func (o *WritableEventRuleRequest) SetTypeUpdate(v bool)` - -SetTypeUpdate sets TypeUpdate field to given value. - -### HasTypeUpdate - -`func (o *WritableEventRuleRequest) HasTypeUpdate() bool` - -HasTypeUpdate returns a boolean if a field has been set. - -### GetTypeDelete - -`func (o *WritableEventRuleRequest) GetTypeDelete() bool` - -GetTypeDelete returns the TypeDelete field if non-nil, zero value otherwise. - -### GetTypeDeleteOk - -`func (o *WritableEventRuleRequest) GetTypeDeleteOk() (*bool, bool)` - -GetTypeDeleteOk returns a tuple with the TypeDelete field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTypeDelete - -`func (o *WritableEventRuleRequest) SetTypeDelete(v bool)` - -SetTypeDelete sets TypeDelete field to given value. - -### HasTypeDelete - -`func (o *WritableEventRuleRequest) HasTypeDelete() bool` - -HasTypeDelete returns a boolean if a field has been set. - -### GetTypeJobStart - -`func (o *WritableEventRuleRequest) GetTypeJobStart() bool` - -GetTypeJobStart returns the TypeJobStart field if non-nil, zero value otherwise. - -### GetTypeJobStartOk - -`func (o *WritableEventRuleRequest) GetTypeJobStartOk() (*bool, bool)` - -GetTypeJobStartOk returns a tuple with the TypeJobStart field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTypeJobStart - -`func (o *WritableEventRuleRequest) SetTypeJobStart(v bool)` - -SetTypeJobStart sets TypeJobStart field to given value. - -### HasTypeJobStart - -`func (o *WritableEventRuleRequest) HasTypeJobStart() bool` - -HasTypeJobStart returns a boolean if a field has been set. - -### GetTypeJobEnd - -`func (o *WritableEventRuleRequest) GetTypeJobEnd() bool` - -GetTypeJobEnd returns the TypeJobEnd field if non-nil, zero value otherwise. - -### GetTypeJobEndOk - -`func (o *WritableEventRuleRequest) GetTypeJobEndOk() (*bool, bool)` - -GetTypeJobEndOk returns a tuple with the TypeJobEnd field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTypeJobEnd - -`func (o *WritableEventRuleRequest) SetTypeJobEnd(v bool)` - -SetTypeJobEnd sets TypeJobEnd field to given value. - -### HasTypeJobEnd - -`func (o *WritableEventRuleRequest) HasTypeJobEnd() bool` - -HasTypeJobEnd returns a boolean if a field has been set. - ### GetEnabled `func (o *WritableEventRuleRequest) GetEnabled() bool` @@ -229,6 +100,26 @@ SetEnabled sets Enabled field to given value. HasEnabled returns a boolean if a field has been set. +### GetEventTypes + +`func (o *WritableEventRuleRequest) GetEventTypes() []EventRuleEventTypesInner` + +GetEventTypes returns the EventTypes field if non-nil, zero value otherwise. + +### GetEventTypesOk + +`func (o *WritableEventRuleRequest) GetEventTypesOk() (*[]EventRuleEventTypesInner, bool)` + +GetEventTypesOk returns a tuple with the EventTypes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEventTypes + +`func (o *WritableEventRuleRequest) SetEventTypes(v []EventRuleEventTypesInner)` + +SetEventTypes sets EventTypes field to given value. + + ### GetConditions `func (o *WritableEventRuleRequest) GetConditions() interface{}` diff --git a/docs/WritableFrontPortRequest.md b/docs/WritableFrontPortRequest.md index 42fc87826..303853918 100644 --- a/docs/WritableFrontPortRequest.md +++ b/docs/WritableFrontPortRequest.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Device** | [**DeviceRequest**](DeviceRequest.md) | | -**Module** | Pointer to [**NullableModuleRequest**](ModuleRequest.md) | | [optional] +**Device** | [**BriefDeviceRequest**](BriefDeviceRequest.md) | | +**Module** | Pointer to [**NullableBriefModuleRequest**](BriefModuleRequest.md) | | [optional] **Name** | **string** | | **Label** | Pointer to **string** | Physical label | [optional] **Type** | [**FrontPortTypeValue**](FrontPortTypeValue.md) | | @@ -21,7 +21,7 @@ Name | Type | Description | Notes ### NewWritableFrontPortRequest -`func NewWritableFrontPortRequest(device DeviceRequest, name string, type_ FrontPortTypeValue, rearPort int32, ) *WritableFrontPortRequest` +`func NewWritableFrontPortRequest(device BriefDeviceRequest, name string, type_ FrontPortTypeValue, rearPort int32, ) *WritableFrontPortRequest` NewWritableFrontPortRequest instantiates a new WritableFrontPortRequest object This constructor will assign default values to properties that have it defined, @@ -38,40 +38,40 @@ but it doesn't guarantee that properties required by API are set ### GetDevice -`func (o *WritableFrontPortRequest) GetDevice() DeviceRequest` +`func (o *WritableFrontPortRequest) GetDevice() BriefDeviceRequest` GetDevice returns the Device field if non-nil, zero value otherwise. ### GetDeviceOk -`func (o *WritableFrontPortRequest) GetDeviceOk() (*DeviceRequest, bool)` +`func (o *WritableFrontPortRequest) GetDeviceOk() (*BriefDeviceRequest, 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 *WritableFrontPortRequest) SetDevice(v DeviceRequest)` +`func (o *WritableFrontPortRequest) SetDevice(v BriefDeviceRequest)` SetDevice sets Device field to given value. ### GetModule -`func (o *WritableFrontPortRequest) GetModule() ModuleRequest` +`func (o *WritableFrontPortRequest) GetModule() BriefModuleRequest` GetModule returns the Module field if non-nil, zero value otherwise. ### GetModuleOk -`func (o *WritableFrontPortRequest) GetModuleOk() (*ModuleRequest, bool)` +`func (o *WritableFrontPortRequest) GetModuleOk() (*BriefModuleRequest, bool)` GetModuleOk returns a tuple with the Module field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetModule -`func (o *WritableFrontPortRequest) SetModule(v ModuleRequest)` +`func (o *WritableFrontPortRequest) SetModule(v BriefModuleRequest)` SetModule sets Module field to given value. diff --git a/docs/WritableFrontPortTemplateRequest.md b/docs/WritableFrontPortTemplateRequest.md index 8806917ff..3aa02af78 100644 --- a/docs/WritableFrontPortTemplateRequest.md +++ b/docs/WritableFrontPortTemplateRequest.md @@ -4,13 +4,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**DeviceType** | Pointer to [**NullableDeviceTypeRequest**](DeviceTypeRequest.md) | | [optional] -**ModuleType** | Pointer to [**NullableModuleTypeRequest**](ModuleTypeRequest.md) | | [optional] +**DeviceType** | Pointer to [**NullableBriefDeviceTypeRequest**](BriefDeviceTypeRequest.md) | | [optional] +**ModuleType** | Pointer to [**NullableBriefModuleTypeRequest**](BriefModuleTypeRequest.md) | | [optional] **Name** | **string** | {module} is accepted as a substitution for the module bay position when attached to a module type. | **Label** | Pointer to **string** | Physical label | [optional] **Type** | [**FrontPortTypeValue**](FrontPortTypeValue.md) | | **Color** | Pointer to **string** | | [optional] -**RearPort** | [**RearPortTemplateRequest**](RearPortTemplateRequest.md) | | +**RearPort** | [**BriefRearPortTemplateRequest**](BriefRearPortTemplateRequest.md) | | **RearPortPosition** | Pointer to **int32** | | [optional] [default to 1] **Description** | Pointer to **string** | | [optional] @@ -18,7 +18,7 @@ Name | Type | Description | Notes ### NewWritableFrontPortTemplateRequest -`func NewWritableFrontPortTemplateRequest(name string, type_ FrontPortTypeValue, rearPort RearPortTemplateRequest, ) *WritableFrontPortTemplateRequest` +`func NewWritableFrontPortTemplateRequest(name string, type_ FrontPortTypeValue, rearPort BriefRearPortTemplateRequest, ) *WritableFrontPortTemplateRequest` NewWritableFrontPortTemplateRequest instantiates a new WritableFrontPortTemplateRequest object This constructor will assign default values to properties that have it defined, @@ -35,20 +35,20 @@ but it doesn't guarantee that properties required by API are set ### GetDeviceType -`func (o *WritableFrontPortTemplateRequest) GetDeviceType() DeviceTypeRequest` +`func (o *WritableFrontPortTemplateRequest) GetDeviceType() BriefDeviceTypeRequest` GetDeviceType returns the DeviceType field if non-nil, zero value otherwise. ### GetDeviceTypeOk -`func (o *WritableFrontPortTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool)` +`func (o *WritableFrontPortTemplateRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool)` GetDeviceTypeOk returns a tuple with the DeviceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDeviceType -`func (o *WritableFrontPortTemplateRequest) SetDeviceType(v DeviceTypeRequest)` +`func (o *WritableFrontPortTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest)` SetDeviceType sets DeviceType field to given value. @@ -70,20 +70,20 @@ HasDeviceType returns a boolean if a field has been set. UnsetDeviceType ensures that no value is present for DeviceType, not even an explicit nil ### GetModuleType -`func (o *WritableFrontPortTemplateRequest) GetModuleType() ModuleTypeRequest` +`func (o *WritableFrontPortTemplateRequest) GetModuleType() BriefModuleTypeRequest` GetModuleType returns the ModuleType field if non-nil, zero value otherwise. ### GetModuleTypeOk -`func (o *WritableFrontPortTemplateRequest) GetModuleTypeOk() (*ModuleTypeRequest, bool)` +`func (o *WritableFrontPortTemplateRequest) GetModuleTypeOk() (*BriefModuleTypeRequest, bool)` GetModuleTypeOk returns a tuple with the ModuleType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetModuleType -`func (o *WritableFrontPortTemplateRequest) SetModuleType(v ModuleTypeRequest)` +`func (o *WritableFrontPortTemplateRequest) SetModuleType(v BriefModuleTypeRequest)` SetModuleType sets ModuleType field to given value. @@ -195,20 +195,20 @@ HasColor returns a boolean if a field has been set. ### GetRearPort -`func (o *WritableFrontPortTemplateRequest) GetRearPort() RearPortTemplateRequest` +`func (o *WritableFrontPortTemplateRequest) GetRearPort() BriefRearPortTemplateRequest` GetRearPort returns the RearPort field if non-nil, zero value otherwise. ### GetRearPortOk -`func (o *WritableFrontPortTemplateRequest) GetRearPortOk() (*RearPortTemplateRequest, bool)` +`func (o *WritableFrontPortTemplateRequest) GetRearPortOk() (*BriefRearPortTemplateRequest, bool)` GetRearPortOk returns a tuple with the RearPort field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRearPort -`func (o *WritableFrontPortTemplateRequest) SetRearPort(v RearPortTemplateRequest)` +`func (o *WritableFrontPortTemplateRequest) SetRearPort(v BriefRearPortTemplateRequest)` SetRearPort sets RearPort field to given value. diff --git a/docs/WritableIPAddressRequest.md b/docs/WritableIPAddressRequest.md index 6eaaca69a..ca192ccab 100644 --- a/docs/WritableIPAddressRequest.md +++ b/docs/WritableIPAddressRequest.md @@ -5,8 +5,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Address** | **string** | | -**Vrf** | Pointer to [**NullableVRFRequest**](VRFRequest.md) | | [optional] -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] +**Vrf** | Pointer to [**NullableBriefVRFRequest**](BriefVRFRequest.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] **Status** | Pointer to [**PatchedWritableIPAddressRequestStatus**](PatchedWritableIPAddressRequestStatus.md) | | [optional] **Role** | Pointer to [**PatchedWritableIPAddressRequestRole**](PatchedWritableIPAddressRequestRole.md) | | [optional] **AssignedObjectType** | Pointer to **NullableString** | | [optional] @@ -59,20 +59,20 @@ SetAddress sets Address field to given value. ### GetVrf -`func (o *WritableIPAddressRequest) GetVrf() VRFRequest` +`func (o *WritableIPAddressRequest) GetVrf() BriefVRFRequest` GetVrf returns the Vrf field if non-nil, zero value otherwise. ### GetVrfOk -`func (o *WritableIPAddressRequest) GetVrfOk() (*VRFRequest, bool)` +`func (o *WritableIPAddressRequest) GetVrfOk() (*BriefVRFRequest, bool)` GetVrfOk returns a tuple with the Vrf field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVrf -`func (o *WritableIPAddressRequest) SetVrf(v VRFRequest)` +`func (o *WritableIPAddressRequest) SetVrf(v BriefVRFRequest)` SetVrf sets Vrf field to given value. @@ -94,20 +94,20 @@ HasVrf returns a boolean if a field has been set. UnsetVrf ensures that no value is present for Vrf, not even an explicit nil ### GetTenant -`func (o *WritableIPAddressRequest) GetTenant() TenantRequest` +`func (o *WritableIPAddressRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *WritableIPAddressRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *WritableIPAddressRequest) GetTenantOk() (*BriefTenantRequest, 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 *WritableIPAddressRequest) SetTenant(v TenantRequest)` +`func (o *WritableIPAddressRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. diff --git a/docs/WritableIPRangeRequest.md b/docs/WritableIPRangeRequest.md index 5edb8406d..186e2cb36 100644 --- a/docs/WritableIPRangeRequest.md +++ b/docs/WritableIPRangeRequest.md @@ -6,10 +6,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **StartAddress** | **string** | | **EndAddress** | **string** | | -**Vrf** | Pointer to [**NullableVRFRequest**](VRFRequest.md) | | [optional] -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] +**Vrf** | Pointer to [**NullableBriefVRFRequest**](BriefVRFRequest.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] **Status** | Pointer to [**PatchedWritableIPRangeRequestStatus**](PatchedWritableIPRangeRequestStatus.md) | | [optional] -**Role** | Pointer to [**NullableRoleRequest**](RoleRequest.md) | | [optional] +**Role** | Pointer to [**NullableBriefRoleRequest**](BriefRoleRequest.md) | | [optional] **Description** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] @@ -77,20 +77,20 @@ SetEndAddress sets EndAddress field to given value. ### GetVrf -`func (o *WritableIPRangeRequest) GetVrf() VRFRequest` +`func (o *WritableIPRangeRequest) GetVrf() BriefVRFRequest` GetVrf returns the Vrf field if non-nil, zero value otherwise. ### GetVrfOk -`func (o *WritableIPRangeRequest) GetVrfOk() (*VRFRequest, bool)` +`func (o *WritableIPRangeRequest) GetVrfOk() (*BriefVRFRequest, bool)` GetVrfOk returns a tuple with the Vrf field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVrf -`func (o *WritableIPRangeRequest) SetVrf(v VRFRequest)` +`func (o *WritableIPRangeRequest) SetVrf(v BriefVRFRequest)` SetVrf sets Vrf field to given value. @@ -112,20 +112,20 @@ HasVrf returns a boolean if a field has been set. UnsetVrf ensures that no value is present for Vrf, not even an explicit nil ### GetTenant -`func (o *WritableIPRangeRequest) GetTenant() TenantRequest` +`func (o *WritableIPRangeRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *WritableIPRangeRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *WritableIPRangeRequest) GetTenantOk() (*BriefTenantRequest, 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 *WritableIPRangeRequest) SetTenant(v TenantRequest)` +`func (o *WritableIPRangeRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. @@ -172,20 +172,20 @@ HasStatus returns a boolean if a field has been set. ### GetRole -`func (o *WritableIPRangeRequest) GetRole() RoleRequest` +`func (o *WritableIPRangeRequest) GetRole() BriefRoleRequest` GetRole returns the Role field if non-nil, zero value otherwise. ### GetRoleOk -`func (o *WritableIPRangeRequest) GetRoleOk() (*RoleRequest, bool)` +`func (o *WritableIPRangeRequest) GetRoleOk() (*BriefRoleRequest, 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 *WritableIPRangeRequest) SetRole(v RoleRequest)` +`func (o *WritableIPRangeRequest) SetRole(v BriefRoleRequest)` SetRole sets Role field to given value. diff --git a/docs/WritableIPSecProfileRequest.md b/docs/WritableIPSecProfileRequest.md index f4d30c4c1..11cd4baa0 100644 --- a/docs/WritableIPSecProfileRequest.md +++ b/docs/WritableIPSecProfileRequest.md @@ -7,8 +7,8 @@ Name | Type | Description | Notes **Name** | **string** | | **Description** | Pointer to **string** | | [optional] **Mode** | [**IPSecProfileModeValue**](IPSecProfileModeValue.md) | | -**IkePolicy** | [**IKEPolicyRequest**](IKEPolicyRequest.md) | | -**IpsecPolicy** | [**IPSecPolicyRequest**](IPSecPolicyRequest.md) | | +**IkePolicy** | [**BriefIKEPolicyRequest**](BriefIKEPolicyRequest.md) | | +**IpsecPolicy** | [**BriefIPSecPolicyRequest**](BriefIPSecPolicyRequest.md) | | **Comments** | Pointer to **string** | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] @@ -17,7 +17,7 @@ Name | Type | Description | Notes ### NewWritableIPSecProfileRequest -`func NewWritableIPSecProfileRequest(name string, mode IPSecProfileModeValue, ikePolicy IKEPolicyRequest, ipsecPolicy IPSecPolicyRequest, ) *WritableIPSecProfileRequest` +`func NewWritableIPSecProfileRequest(name string, mode IPSecProfileModeValue, ikePolicy BriefIKEPolicyRequest, ipsecPolicy BriefIPSecPolicyRequest, ) *WritableIPSecProfileRequest` NewWritableIPSecProfileRequest instantiates a new WritableIPSecProfileRequest object This constructor will assign default values to properties that have it defined, @@ -99,40 +99,40 @@ SetMode sets Mode field to given value. ### GetIkePolicy -`func (o *WritableIPSecProfileRequest) GetIkePolicy() IKEPolicyRequest` +`func (o *WritableIPSecProfileRequest) GetIkePolicy() BriefIKEPolicyRequest` GetIkePolicy returns the IkePolicy field if non-nil, zero value otherwise. ### GetIkePolicyOk -`func (o *WritableIPSecProfileRequest) GetIkePolicyOk() (*IKEPolicyRequest, bool)` +`func (o *WritableIPSecProfileRequest) GetIkePolicyOk() (*BriefIKEPolicyRequest, bool)` GetIkePolicyOk returns a tuple with the IkePolicy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIkePolicy -`func (o *WritableIPSecProfileRequest) SetIkePolicy(v IKEPolicyRequest)` +`func (o *WritableIPSecProfileRequest) SetIkePolicy(v BriefIKEPolicyRequest)` SetIkePolicy sets IkePolicy field to given value. ### GetIpsecPolicy -`func (o *WritableIPSecProfileRequest) GetIpsecPolicy() IPSecPolicyRequest` +`func (o *WritableIPSecProfileRequest) GetIpsecPolicy() BriefIPSecPolicyRequest` GetIpsecPolicy returns the IpsecPolicy field if non-nil, zero value otherwise. ### GetIpsecPolicyOk -`func (o *WritableIPSecProfileRequest) GetIpsecPolicyOk() (*IPSecPolicyRequest, bool)` +`func (o *WritableIPSecProfileRequest) GetIpsecPolicyOk() (*BriefIPSecPolicyRequest, bool)` GetIpsecPolicyOk returns a tuple with the IpsecPolicy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIpsecPolicy -`func (o *WritableIPSecProfileRequest) SetIpsecPolicy(v IPSecPolicyRequest)` +`func (o *WritableIPSecProfileRequest) SetIpsecPolicy(v BriefIPSecPolicyRequest)` SetIpsecPolicy sets IpsecPolicy field to given value. diff --git a/docs/WritableIPSecProposalRequest.md b/docs/WritableIPSecProposalRequest.md index fc980c784..a0e65d098 100644 --- a/docs/WritableIPSecProposalRequest.md +++ b/docs/WritableIPSecProposalRequest.md @@ -6,8 +6,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | **string** | | **Description** | Pointer to **string** | | [optional] -**EncryptionAlgorithm** | Pointer to [**Encryption**](Encryption.md) | | [optional] -**AuthenticationAlgorithm** | Pointer to [**Authentication**](Authentication.md) | | [optional] +**EncryptionAlgorithm** | Pointer to [**Encryption1**](Encryption1.md) | | [optional] +**AuthenticationAlgorithm** | Pointer to [**Authentication1**](Authentication1.md) | | [optional] **SaLifetimeSeconds** | Pointer to **NullableInt32** | Security association lifetime (seconds) | [optional] **SaLifetimeData** | Pointer to **NullableInt32** | Security association lifetime (in kilobytes) | [optional] **Comments** | Pointer to **string** | | [optional] @@ -80,20 +80,20 @@ HasDescription returns a boolean if a field has been set. ### GetEncryptionAlgorithm -`func (o *WritableIPSecProposalRequest) GetEncryptionAlgorithm() Encryption` +`func (o *WritableIPSecProposalRequest) GetEncryptionAlgorithm() Encryption1` GetEncryptionAlgorithm returns the EncryptionAlgorithm field if non-nil, zero value otherwise. ### GetEncryptionAlgorithmOk -`func (o *WritableIPSecProposalRequest) GetEncryptionAlgorithmOk() (*Encryption, bool)` +`func (o *WritableIPSecProposalRequest) GetEncryptionAlgorithmOk() (*Encryption1, bool)` GetEncryptionAlgorithmOk returns a tuple with the EncryptionAlgorithm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetEncryptionAlgorithm -`func (o *WritableIPSecProposalRequest) SetEncryptionAlgorithm(v Encryption)` +`func (o *WritableIPSecProposalRequest) SetEncryptionAlgorithm(v Encryption1)` SetEncryptionAlgorithm sets EncryptionAlgorithm field to given value. @@ -105,20 +105,20 @@ HasEncryptionAlgorithm returns a boolean if a field has been set. ### GetAuthenticationAlgorithm -`func (o *WritableIPSecProposalRequest) GetAuthenticationAlgorithm() Authentication` +`func (o *WritableIPSecProposalRequest) GetAuthenticationAlgorithm() Authentication1` GetAuthenticationAlgorithm returns the AuthenticationAlgorithm field if non-nil, zero value otherwise. ### GetAuthenticationAlgorithmOk -`func (o *WritableIPSecProposalRequest) GetAuthenticationAlgorithmOk() (*Authentication, bool)` +`func (o *WritableIPSecProposalRequest) GetAuthenticationAlgorithmOk() (*Authentication1, bool)` GetAuthenticationAlgorithmOk returns a tuple with the AuthenticationAlgorithm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetAuthenticationAlgorithm -`func (o *WritableIPSecProposalRequest) SetAuthenticationAlgorithm(v Authentication)` +`func (o *WritableIPSecProposalRequest) SetAuthenticationAlgorithm(v Authentication1)` SetAuthenticationAlgorithm sets AuthenticationAlgorithm field to given value. diff --git a/docs/WritableInterfaceRequest.md b/docs/WritableInterfaceRequest.md index d0870300e..778c2b0c1 100644 --- a/docs/WritableInterfaceRequest.md +++ b/docs/WritableInterfaceRequest.md @@ -4,9 +4,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Device** | [**DeviceRequest**](DeviceRequest.md) | | +**Device** | [**BriefDeviceRequest**](BriefDeviceRequest.md) | | **Vdcs** | Pointer to **[]int32** | | [optional] -**Module** | Pointer to [**NullableModuleRequest**](ModuleRequest.md) | | [optional] +**Module** | Pointer to [**NullableBriefModuleRequest**](BriefModuleRequest.md) | | [optional] **Name** | **string** | | **Label** | Pointer to **string** | Physical label | [optional] **Type** | [**InterfaceTypeValue**](InterfaceTypeValue.md) | | @@ -22,18 +22,18 @@ Name | Type | Description | Notes **MgmtOnly** | Pointer to **bool** | This interface is used only for out-of-band management | [optional] **Description** | Pointer to **string** | | [optional] **Mode** | Pointer to [**PatchedWritableInterfaceRequestMode**](PatchedWritableInterfaceRequestMode.md) | | [optional] -**RfRole** | Pointer to [**WirelessRole**](WirelessRole.md) | | [optional] -**RfChannel** | Pointer to [**WirelessChannel**](WirelessChannel.md) | | [optional] +**RfRole** | Pointer to [**WirelessRole1**](WirelessRole1.md) | | [optional] +**RfChannel** | Pointer to [**WirelessChannel1**](WirelessChannel1.md) | | [optional] **PoeMode** | Pointer to [**InterfacePoeModeValue**](InterfacePoeModeValue.md) | | [optional] **PoeType** | Pointer to [**InterfacePoeTypeValue**](InterfacePoeTypeValue.md) | | [optional] **RfChannelFrequency** | Pointer to **NullableFloat64** | Populated by selected channel (if set) | [optional] **RfChannelWidth** | Pointer to **NullableFloat64** | Populated by selected channel (if set) | [optional] **TxPower** | Pointer to **NullableInt32** | | [optional] -**UntaggedVlan** | Pointer to [**NullableVLANRequest**](VLANRequest.md) | | [optional] +**UntaggedVlan** | Pointer to [**NullableBriefVLANRequest**](BriefVLANRequest.md) | | [optional] **TaggedVlans** | Pointer to **[]int32** | | [optional] **MarkConnected** | Pointer to **bool** | Treat as if a cable is connected | [optional] **WirelessLans** | Pointer to **[]int32** | | [optional] -**Vrf** | Pointer to [**NullableVRFRequest**](VRFRequest.md) | | [optional] +**Vrf** | Pointer to [**NullableBriefVRFRequest**](BriefVRFRequest.md) | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] @@ -41,7 +41,7 @@ Name | Type | Description | Notes ### NewWritableInterfaceRequest -`func NewWritableInterfaceRequest(device DeviceRequest, name string, type_ InterfaceTypeValue, ) *WritableInterfaceRequest` +`func NewWritableInterfaceRequest(device BriefDeviceRequest, name string, type_ InterfaceTypeValue, ) *WritableInterfaceRequest` NewWritableInterfaceRequest instantiates a new WritableInterfaceRequest object This constructor will assign default values to properties that have it defined, @@ -58,20 +58,20 @@ but it doesn't guarantee that properties required by API are set ### GetDevice -`func (o *WritableInterfaceRequest) GetDevice() DeviceRequest` +`func (o *WritableInterfaceRequest) GetDevice() BriefDeviceRequest` GetDevice returns the Device field if non-nil, zero value otherwise. ### GetDeviceOk -`func (o *WritableInterfaceRequest) GetDeviceOk() (*DeviceRequest, bool)` +`func (o *WritableInterfaceRequest) GetDeviceOk() (*BriefDeviceRequest, 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 *WritableInterfaceRequest) SetDevice(v DeviceRequest)` +`func (o *WritableInterfaceRequest) SetDevice(v BriefDeviceRequest)` SetDevice sets Device field to given value. @@ -103,20 +103,20 @@ HasVdcs returns a boolean if a field has been set. ### GetModule -`func (o *WritableInterfaceRequest) GetModule() ModuleRequest` +`func (o *WritableInterfaceRequest) GetModule() BriefModuleRequest` GetModule returns the Module field if non-nil, zero value otherwise. ### GetModuleOk -`func (o *WritableInterfaceRequest) GetModuleOk() (*ModuleRequest, bool)` +`func (o *WritableInterfaceRequest) GetModuleOk() (*BriefModuleRequest, bool)` GetModuleOk returns a tuple with the Module field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetModule -`func (o *WritableInterfaceRequest) SetModule(v ModuleRequest)` +`func (o *WritableInterfaceRequest) SetModule(v BriefModuleRequest)` SetModule sets Module field to given value. @@ -583,20 +583,20 @@ HasMode returns a boolean if a field has been set. ### GetRfRole -`func (o *WritableInterfaceRequest) GetRfRole() WirelessRole` +`func (o *WritableInterfaceRequest) GetRfRole() WirelessRole1` GetRfRole returns the RfRole field if non-nil, zero value otherwise. ### GetRfRoleOk -`func (o *WritableInterfaceRequest) GetRfRoleOk() (*WirelessRole, bool)` +`func (o *WritableInterfaceRequest) GetRfRoleOk() (*WirelessRole1, bool)` GetRfRoleOk returns a tuple with the RfRole field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRfRole -`func (o *WritableInterfaceRequest) SetRfRole(v WirelessRole)` +`func (o *WritableInterfaceRequest) SetRfRole(v WirelessRole1)` SetRfRole sets RfRole field to given value. @@ -608,20 +608,20 @@ HasRfRole returns a boolean if a field has been set. ### GetRfChannel -`func (o *WritableInterfaceRequest) GetRfChannel() WirelessChannel` +`func (o *WritableInterfaceRequest) GetRfChannel() WirelessChannel1` GetRfChannel returns the RfChannel field if non-nil, zero value otherwise. ### GetRfChannelOk -`func (o *WritableInterfaceRequest) GetRfChannelOk() (*WirelessChannel, bool)` +`func (o *WritableInterfaceRequest) GetRfChannelOk() (*WirelessChannel1, bool)` GetRfChannelOk returns a tuple with the RfChannel field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRfChannel -`func (o *WritableInterfaceRequest) SetRfChannel(v WirelessChannel)` +`func (o *WritableInterfaceRequest) SetRfChannel(v WirelessChannel1)` SetRfChannel sets RfChannel field to given value. @@ -788,20 +788,20 @@ HasTxPower returns a boolean if a field has been set. UnsetTxPower ensures that no value is present for TxPower, not even an explicit nil ### GetUntaggedVlan -`func (o *WritableInterfaceRequest) GetUntaggedVlan() VLANRequest` +`func (o *WritableInterfaceRequest) GetUntaggedVlan() BriefVLANRequest` GetUntaggedVlan returns the UntaggedVlan field if non-nil, zero value otherwise. ### GetUntaggedVlanOk -`func (o *WritableInterfaceRequest) GetUntaggedVlanOk() (*VLANRequest, bool)` +`func (o *WritableInterfaceRequest) GetUntaggedVlanOk() (*BriefVLANRequest, bool)` GetUntaggedVlanOk returns a tuple with the UntaggedVlan field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUntaggedVlan -`func (o *WritableInterfaceRequest) SetUntaggedVlan(v VLANRequest)` +`func (o *WritableInterfaceRequest) SetUntaggedVlan(v BriefVLANRequest)` SetUntaggedVlan sets UntaggedVlan field to given value. @@ -898,20 +898,20 @@ HasWirelessLans returns a boolean if a field has been set. ### GetVrf -`func (o *WritableInterfaceRequest) GetVrf() VRFRequest` +`func (o *WritableInterfaceRequest) GetVrf() BriefVRFRequest` GetVrf returns the Vrf field if non-nil, zero value otherwise. ### GetVrfOk -`func (o *WritableInterfaceRequest) GetVrfOk() (*VRFRequest, bool)` +`func (o *WritableInterfaceRequest) GetVrfOk() (*BriefVRFRequest, bool)` GetVrfOk returns a tuple with the Vrf field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVrf -`func (o *WritableInterfaceRequest) SetVrf(v VRFRequest)` +`func (o *WritableInterfaceRequest) SetVrf(v BriefVRFRequest)` SetVrf sets Vrf field to given value. diff --git a/docs/WritableInterfaceTemplateRequest.md b/docs/WritableInterfaceTemplateRequest.md index e5f0f4deb..c0794cc1c 100644 --- a/docs/WritableInterfaceTemplateRequest.md +++ b/docs/WritableInterfaceTemplateRequest.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**DeviceType** | Pointer to [**NullableDeviceTypeRequest**](DeviceTypeRequest.md) | | [optional] -**ModuleType** | Pointer to [**NullableModuleTypeRequest**](ModuleTypeRequest.md) | | [optional] +**DeviceType** | Pointer to [**NullableBriefDeviceTypeRequest**](BriefDeviceTypeRequest.md) | | [optional] +**ModuleType** | Pointer to [**NullableBriefModuleTypeRequest**](BriefModuleTypeRequest.md) | | [optional] **Name** | **string** | {module} is accepted as a substitution for the module bay position when attached to a module type. | **Label** | Pointer to **string** | Physical label | [optional] **Type** | [**InterfaceTypeValue**](InterfaceTypeValue.md) | | @@ -15,7 +15,7 @@ Name | Type | Description | Notes **Bridge** | Pointer to **NullableInt32** | | [optional] **PoeMode** | Pointer to [**InterfacePoeModeValue**](InterfacePoeModeValue.md) | | [optional] **PoeType** | Pointer to [**InterfacePoeTypeValue**](InterfacePoeTypeValue.md) | | [optional] -**RfRole** | Pointer to [**WirelessRole**](WirelessRole.md) | | [optional] +**RfRole** | Pointer to [**WirelessRole1**](WirelessRole1.md) | | [optional] ## Methods @@ -38,20 +38,20 @@ but it doesn't guarantee that properties required by API are set ### GetDeviceType -`func (o *WritableInterfaceTemplateRequest) GetDeviceType() DeviceTypeRequest` +`func (o *WritableInterfaceTemplateRequest) GetDeviceType() BriefDeviceTypeRequest` GetDeviceType returns the DeviceType field if non-nil, zero value otherwise. ### GetDeviceTypeOk -`func (o *WritableInterfaceTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool)` +`func (o *WritableInterfaceTemplateRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool)` GetDeviceTypeOk returns a tuple with the DeviceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDeviceType -`func (o *WritableInterfaceTemplateRequest) SetDeviceType(v DeviceTypeRequest)` +`func (o *WritableInterfaceTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest)` SetDeviceType sets DeviceType field to given value. @@ -73,20 +73,20 @@ HasDeviceType returns a boolean if a field has been set. UnsetDeviceType ensures that no value is present for DeviceType, not even an explicit nil ### GetModuleType -`func (o *WritableInterfaceTemplateRequest) GetModuleType() ModuleTypeRequest` +`func (o *WritableInterfaceTemplateRequest) GetModuleType() BriefModuleTypeRequest` GetModuleType returns the ModuleType field if non-nil, zero value otherwise. ### GetModuleTypeOk -`func (o *WritableInterfaceTemplateRequest) GetModuleTypeOk() (*ModuleTypeRequest, bool)` +`func (o *WritableInterfaceTemplateRequest) GetModuleTypeOk() (*BriefModuleTypeRequest, bool)` GetModuleTypeOk returns a tuple with the ModuleType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetModuleType -`func (o *WritableInterfaceTemplateRequest) SetModuleType(v ModuleTypeRequest)` +`func (o *WritableInterfaceTemplateRequest) SetModuleType(v BriefModuleTypeRequest)` SetModuleType sets ModuleType field to given value. @@ -333,20 +333,20 @@ HasPoeType returns a boolean if a field has been set. ### GetRfRole -`func (o *WritableInterfaceTemplateRequest) GetRfRole() WirelessRole` +`func (o *WritableInterfaceTemplateRequest) GetRfRole() WirelessRole1` GetRfRole returns the RfRole field if non-nil, zero value otherwise. ### GetRfRoleOk -`func (o *WritableInterfaceTemplateRequest) GetRfRoleOk() (*WirelessRole, bool)` +`func (o *WritableInterfaceTemplateRequest) GetRfRoleOk() (*WirelessRole1, bool)` GetRfRoleOk returns a tuple with the RfRole field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRfRole -`func (o *WritableInterfaceTemplateRequest) SetRfRole(v WirelessRole)` +`func (o *WritableInterfaceTemplateRequest) SetRfRole(v WirelessRole1)` SetRfRole sets RfRole field to given value. diff --git a/docs/WritableL2VPNRequest.md b/docs/WritableL2VPNRequest.md index d8d0852be..df3aa2b33 100644 --- a/docs/WritableL2VPNRequest.md +++ b/docs/WritableL2VPNRequest.md @@ -7,12 +7,12 @@ Name | Type | Description | Notes **Identifier** | Pointer to **NullableInt64** | | [optional] **Name** | **string** | | **Slug** | **string** | | -**Type** | [**L2VPNTypeValue**](L2VPNTypeValue.md) | | +**Type** | [**BriefL2VPNTypeValue**](BriefL2VPNTypeValue.md) | | **ImportTargets** | Pointer to **[]int32** | | [optional] **ExportTargets** | Pointer to **[]int32** | | [optional] **Description** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] @@ -20,7 +20,7 @@ Name | Type | Description | Notes ### NewWritableL2VPNRequest -`func NewWritableL2VPNRequest(name string, slug string, type_ L2VPNTypeValue, ) *WritableL2VPNRequest` +`func NewWritableL2VPNRequest(name string, slug string, type_ BriefL2VPNTypeValue, ) *WritableL2VPNRequest` NewWritableL2VPNRequest instantiates a new WritableL2VPNRequest object This constructor will assign default values to properties that have it defined, @@ -112,20 +112,20 @@ SetSlug sets Slug field to given value. ### GetType -`func (o *WritableL2VPNRequest) GetType() L2VPNTypeValue` +`func (o *WritableL2VPNRequest) GetType() BriefL2VPNTypeValue` GetType returns the Type field if non-nil, zero value otherwise. ### GetTypeOk -`func (o *WritableL2VPNRequest) GetTypeOk() (*L2VPNTypeValue, bool)` +`func (o *WritableL2VPNRequest) GetTypeOk() (*BriefL2VPNTypeValue, bool)` GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetType -`func (o *WritableL2VPNRequest) SetType(v L2VPNTypeValue)` +`func (o *WritableL2VPNRequest) SetType(v BriefL2VPNTypeValue)` SetType sets Type field to given value. @@ -232,20 +232,20 @@ HasComments returns a boolean if a field has been set. ### GetTenant -`func (o *WritableL2VPNRequest) GetTenant() TenantRequest` +`func (o *WritableL2VPNRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *WritableL2VPNRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *WritableL2VPNRequest) GetTenantOk() (*BriefTenantRequest, 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 *WritableL2VPNRequest) SetTenant(v TenantRequest)` +`func (o *WritableL2VPNRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. diff --git a/docs/WritableLocationRequest.md b/docs/WritableLocationRequest.md index dd699d818..1e4c81e9b 100644 --- a/docs/WritableLocationRequest.md +++ b/docs/WritableLocationRequest.md @@ -6,10 +6,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | **string** | | **Slug** | **string** | | -**Site** | [**SiteRequest**](SiteRequest.md) | | +**Site** | [**BriefSiteRequest**](BriefSiteRequest.md) | | **Parent** | **NullableInt32** | | -**Status** | Pointer to [**PatchedWritableLocationRequestStatus**](PatchedWritableLocationRequestStatus.md) | | [optional] -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] +**Status** | Pointer to [**LocationStatusValue**](LocationStatusValue.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] **Facility** | Pointer to **string** | Local facility ID or description | [optional] **Description** | Pointer to **string** | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] @@ -19,7 +19,7 @@ Name | Type | Description | Notes ### NewWritableLocationRequest -`func NewWritableLocationRequest(name string, slug string, site SiteRequest, parent NullableInt32, ) *WritableLocationRequest` +`func NewWritableLocationRequest(name string, slug string, site BriefSiteRequest, parent NullableInt32, ) *WritableLocationRequest` NewWritableLocationRequest instantiates a new WritableLocationRequest object This constructor will assign default values to properties that have it defined, @@ -76,20 +76,20 @@ SetSlug sets Slug field to given value. ### GetSite -`func (o *WritableLocationRequest) GetSite() SiteRequest` +`func (o *WritableLocationRequest) GetSite() BriefSiteRequest` GetSite returns the Site field if non-nil, zero value otherwise. ### GetSiteOk -`func (o *WritableLocationRequest) GetSiteOk() (*SiteRequest, bool)` +`func (o *WritableLocationRequest) GetSiteOk() (*BriefSiteRequest, bool)` GetSiteOk returns a tuple with the Site field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSite -`func (o *WritableLocationRequest) SetSite(v SiteRequest)` +`func (o *WritableLocationRequest) SetSite(v BriefSiteRequest)` SetSite sets Site field to given value. @@ -126,20 +126,20 @@ SetParent sets Parent field to given value. UnsetParent ensures that no value is present for Parent, not even an explicit nil ### GetStatus -`func (o *WritableLocationRequest) GetStatus() PatchedWritableLocationRequestStatus` +`func (o *WritableLocationRequest) GetStatus() LocationStatusValue` GetStatus returns the Status field if non-nil, zero value otherwise. ### GetStatusOk -`func (o *WritableLocationRequest) GetStatusOk() (*PatchedWritableLocationRequestStatus, bool)` +`func (o *WritableLocationRequest) GetStatusOk() (*LocationStatusValue, 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 *WritableLocationRequest) SetStatus(v PatchedWritableLocationRequestStatus)` +`func (o *WritableLocationRequest) SetStatus(v LocationStatusValue)` SetStatus sets Status field to given value. @@ -151,20 +151,20 @@ HasStatus returns a boolean if a field has been set. ### GetTenant -`func (o *WritableLocationRequest) GetTenant() TenantRequest` +`func (o *WritableLocationRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *WritableLocationRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *WritableLocationRequest) GetTenantOk() (*BriefTenantRequest, 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 *WritableLocationRequest) SetTenant(v TenantRequest)` +`func (o *WritableLocationRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. diff --git a/docs/WritableModuleRequest.md b/docs/WritableModuleRequest.md index 95f95384c..a815e5e6b 100644 --- a/docs/WritableModuleRequest.md +++ b/docs/WritableModuleRequest.md @@ -4,10 +4,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Device** | [**DeviceRequest**](DeviceRequest.md) | | +**Device** | [**BriefDeviceRequest**](BriefDeviceRequest.md) | | **ModuleBay** | **int32** | | -**ModuleType** | [**ModuleTypeRequest**](ModuleTypeRequest.md) | | -**Status** | Pointer to [**PatchedWritableModuleRequestStatus**](PatchedWritableModuleRequestStatus.md) | | [optional] +**ModuleType** | [**BriefModuleTypeRequest**](BriefModuleTypeRequest.md) | | +**Status** | Pointer to [**ModuleStatusValue**](ModuleStatusValue.md) | | [optional] **Serial** | Pointer to **string** | | [optional] **AssetTag** | Pointer to **NullableString** | A unique tag used to identify this device | [optional] **Description** | Pointer to **string** | | [optional] @@ -19,7 +19,7 @@ Name | Type | Description | Notes ### NewWritableModuleRequest -`func NewWritableModuleRequest(device DeviceRequest, moduleBay int32, moduleType ModuleTypeRequest, ) *WritableModuleRequest` +`func NewWritableModuleRequest(device BriefDeviceRequest, moduleBay int32, moduleType BriefModuleTypeRequest, ) *WritableModuleRequest` NewWritableModuleRequest instantiates a new WritableModuleRequest object This constructor will assign default values to properties that have it defined, @@ -36,20 +36,20 @@ but it doesn't guarantee that properties required by API are set ### GetDevice -`func (o *WritableModuleRequest) GetDevice() DeviceRequest` +`func (o *WritableModuleRequest) GetDevice() BriefDeviceRequest` GetDevice returns the Device field if non-nil, zero value otherwise. ### GetDeviceOk -`func (o *WritableModuleRequest) GetDeviceOk() (*DeviceRequest, bool)` +`func (o *WritableModuleRequest) GetDeviceOk() (*BriefDeviceRequest, 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 *WritableModuleRequest) SetDevice(v DeviceRequest)` +`func (o *WritableModuleRequest) SetDevice(v BriefDeviceRequest)` SetDevice sets Device field to given value. @@ -76,40 +76,40 @@ SetModuleBay sets ModuleBay field to given value. ### GetModuleType -`func (o *WritableModuleRequest) GetModuleType() ModuleTypeRequest` +`func (o *WritableModuleRequest) GetModuleType() BriefModuleTypeRequest` GetModuleType returns the ModuleType field if non-nil, zero value otherwise. ### GetModuleTypeOk -`func (o *WritableModuleRequest) GetModuleTypeOk() (*ModuleTypeRequest, bool)` +`func (o *WritableModuleRequest) GetModuleTypeOk() (*BriefModuleTypeRequest, bool)` GetModuleTypeOk returns a tuple with the ModuleType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetModuleType -`func (o *WritableModuleRequest) SetModuleType(v ModuleTypeRequest)` +`func (o *WritableModuleRequest) SetModuleType(v BriefModuleTypeRequest)` SetModuleType sets ModuleType field to given value. ### GetStatus -`func (o *WritableModuleRequest) GetStatus() PatchedWritableModuleRequestStatus` +`func (o *WritableModuleRequest) GetStatus() ModuleStatusValue` GetStatus returns the Status field if non-nil, zero value otherwise. ### GetStatusOk -`func (o *WritableModuleRequest) GetStatusOk() (*PatchedWritableModuleRequestStatus, bool)` +`func (o *WritableModuleRequest) GetStatusOk() (*ModuleStatusValue, 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 *WritableModuleRequest) SetStatus(v PatchedWritableModuleRequestStatus)` +`func (o *WritableModuleRequest) SetStatus(v ModuleStatusValue)` SetStatus sets Status field to given value. diff --git a/docs/WritableModuleTypeRequest.md b/docs/WritableModuleTypeRequest.md index ada1a71f7..013d928c9 100644 --- a/docs/WritableModuleTypeRequest.md +++ b/docs/WritableModuleTypeRequest.md @@ -4,11 +4,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Manufacturer** | [**ManufacturerRequest**](ManufacturerRequest.md) | | +**Manufacturer** | [**BriefManufacturerRequest**](BriefManufacturerRequest.md) | | **Model** | **string** | | **PartNumber** | Pointer to **string** | Discrete part number (optional) | [optional] +**Airflow** | Pointer to [**ModuleTypeAirflowValue**](ModuleTypeAirflowValue.md) | | [optional] **Weight** | Pointer to **NullableFloat64** | | [optional] -**WeightUnit** | Pointer to [**PatchedWritableDeviceTypeRequestWeightUnit**](PatchedWritableDeviceTypeRequestWeightUnit.md) | | [optional] +**WeightUnit** | Pointer to [**DeviceTypeWeightUnitValue**](DeviceTypeWeightUnitValue.md) | | [optional] **Description** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] @@ -18,7 +19,7 @@ Name | Type | Description | Notes ### NewWritableModuleTypeRequest -`func NewWritableModuleTypeRequest(manufacturer ManufacturerRequest, model string, ) *WritableModuleTypeRequest` +`func NewWritableModuleTypeRequest(manufacturer BriefManufacturerRequest, model string, ) *WritableModuleTypeRequest` NewWritableModuleTypeRequest instantiates a new WritableModuleTypeRequest object This constructor will assign default values to properties that have it defined, @@ -35,20 +36,20 @@ but it doesn't guarantee that properties required by API are set ### GetManufacturer -`func (o *WritableModuleTypeRequest) GetManufacturer() ManufacturerRequest` +`func (o *WritableModuleTypeRequest) GetManufacturer() BriefManufacturerRequest` GetManufacturer returns the Manufacturer field if non-nil, zero value otherwise. ### GetManufacturerOk -`func (o *WritableModuleTypeRequest) GetManufacturerOk() (*ManufacturerRequest, bool)` +`func (o *WritableModuleTypeRequest) GetManufacturerOk() (*BriefManufacturerRequest, bool)` GetManufacturerOk returns a tuple with the Manufacturer field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetManufacturer -`func (o *WritableModuleTypeRequest) SetManufacturer(v ManufacturerRequest)` +`func (o *WritableModuleTypeRequest) SetManufacturer(v BriefManufacturerRequest)` SetManufacturer sets Manufacturer field to given value. @@ -98,6 +99,31 @@ SetPartNumber sets PartNumber field to given value. HasPartNumber returns a boolean if a field has been set. +### GetAirflow + +`func (o *WritableModuleTypeRequest) GetAirflow() ModuleTypeAirflowValue` + +GetAirflow returns the Airflow field if non-nil, zero value otherwise. + +### GetAirflowOk + +`func (o *WritableModuleTypeRequest) GetAirflowOk() (*ModuleTypeAirflowValue, bool)` + +GetAirflowOk returns a tuple with the Airflow field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAirflow + +`func (o *WritableModuleTypeRequest) SetAirflow(v ModuleTypeAirflowValue)` + +SetAirflow sets Airflow field to given value. + +### HasAirflow + +`func (o *WritableModuleTypeRequest) HasAirflow() bool` + +HasAirflow returns a boolean if a field has been set. + ### GetWeight `func (o *WritableModuleTypeRequest) GetWeight() float64` @@ -135,20 +161,20 @@ HasWeight returns a boolean if a field has been set. UnsetWeight ensures that no value is present for Weight, not even an explicit nil ### GetWeightUnit -`func (o *WritableModuleTypeRequest) GetWeightUnit() PatchedWritableDeviceTypeRequestWeightUnit` +`func (o *WritableModuleTypeRequest) GetWeightUnit() DeviceTypeWeightUnitValue` GetWeightUnit returns the WeightUnit field if non-nil, zero value otherwise. ### GetWeightUnitOk -`func (o *WritableModuleTypeRequest) GetWeightUnitOk() (*PatchedWritableDeviceTypeRequestWeightUnit, bool)` +`func (o *WritableModuleTypeRequest) GetWeightUnitOk() (*DeviceTypeWeightUnitValue, bool)` GetWeightUnitOk returns a tuple with the WeightUnit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetWeightUnit -`func (o *WritableModuleTypeRequest) SetWeightUnit(v PatchedWritableDeviceTypeRequestWeightUnit)` +`func (o *WritableModuleTypeRequest) SetWeightUnit(v DeviceTypeWeightUnitValue)` SetWeightUnit sets WeightUnit field to given value. diff --git a/docs/WritablePowerFeedRequest.md b/docs/WritablePowerFeedRequest.md index f8ee53481..c7ee1dfc9 100644 --- a/docs/WritablePowerFeedRequest.md +++ b/docs/WritablePowerFeedRequest.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**PowerPanel** | [**PowerPanelRequest**](PowerPanelRequest.md) | | -**Rack** | Pointer to [**NullableRackRequest**](RackRequest.md) | | [optional] +**PowerPanel** | [**BriefPowerPanelRequest**](BriefPowerPanelRequest.md) | | +**Rack** | Pointer to [**NullableBriefRackRequest**](BriefRackRequest.md) | | [optional] **Name** | **string** | | **Status** | Pointer to [**PatchedWritablePowerFeedRequestStatus**](PatchedWritablePowerFeedRequestStatus.md) | | [optional] **Type** | Pointer to [**PatchedWritablePowerFeedRequestType**](PatchedWritablePowerFeedRequestType.md) | | [optional] @@ -16,7 +16,7 @@ Name | Type | Description | Notes **MaxUtilization** | Pointer to **int32** | Maximum permissible draw (percentage) | [optional] **MarkConnected** | Pointer to **bool** | Treat as if a cable is connected | [optional] **Description** | Pointer to **string** | | [optional] -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] **Comments** | Pointer to **string** | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] @@ -25,7 +25,7 @@ Name | Type | Description | Notes ### NewWritablePowerFeedRequest -`func NewWritablePowerFeedRequest(powerPanel PowerPanelRequest, name string, ) *WritablePowerFeedRequest` +`func NewWritablePowerFeedRequest(powerPanel BriefPowerPanelRequest, name string, ) *WritablePowerFeedRequest` NewWritablePowerFeedRequest instantiates a new WritablePowerFeedRequest object This constructor will assign default values to properties that have it defined, @@ -42,40 +42,40 @@ but it doesn't guarantee that properties required by API are set ### GetPowerPanel -`func (o *WritablePowerFeedRequest) GetPowerPanel() PowerPanelRequest` +`func (o *WritablePowerFeedRequest) GetPowerPanel() BriefPowerPanelRequest` GetPowerPanel returns the PowerPanel field if non-nil, zero value otherwise. ### GetPowerPanelOk -`func (o *WritablePowerFeedRequest) GetPowerPanelOk() (*PowerPanelRequest, bool)` +`func (o *WritablePowerFeedRequest) GetPowerPanelOk() (*BriefPowerPanelRequest, 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 PowerPanelRequest)` +`func (o *WritablePowerFeedRequest) SetPowerPanel(v BriefPowerPanelRequest)` SetPowerPanel sets PowerPanel field to given value. ### GetRack -`func (o *WritablePowerFeedRequest) GetRack() RackRequest` +`func (o *WritablePowerFeedRequest) GetRack() BriefRackRequest` GetRack returns the Rack field if non-nil, zero value otherwise. ### GetRackOk -`func (o *WritablePowerFeedRequest) GetRackOk() (*RackRequest, bool)` +`func (o *WritablePowerFeedRequest) GetRackOk() (*BriefRackRequest, bool)` GetRackOk returns a tuple with the Rack field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRack -`func (o *WritablePowerFeedRequest) SetRack(v RackRequest)` +`func (o *WritablePowerFeedRequest) SetRack(v BriefRackRequest)` SetRack sets Rack field to given value. @@ -342,20 +342,20 @@ HasDescription returns a boolean if a field has been set. ### GetTenant -`func (o *WritablePowerFeedRequest) GetTenant() TenantRequest` +`func (o *WritablePowerFeedRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *WritablePowerFeedRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *WritablePowerFeedRequest) GetTenantOk() (*BriefTenantRequest, 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 *WritablePowerFeedRequest) SetTenant(v TenantRequest)` +`func (o *WritablePowerFeedRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. diff --git a/docs/WritablePowerOutletRequest.md b/docs/WritablePowerOutletRequest.md index 978dfe761..dcba99ba5 100644 --- a/docs/WritablePowerOutletRequest.md +++ b/docs/WritablePowerOutletRequest.md @@ -4,12 +4,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Device** | [**DeviceRequest**](DeviceRequest.md) | | -**Module** | Pointer to [**NullableModuleRequest**](ModuleRequest.md) | | [optional] +**Device** | [**BriefDeviceRequest**](BriefDeviceRequest.md) | | +**Module** | Pointer to [**NullableBriefModuleRequest**](BriefModuleRequest.md) | | [optional] **Name** | **string** | | **Label** | Pointer to **string** | Physical label | [optional] **Type** | Pointer to [**PatchedWritablePowerOutletRequestType**](PatchedWritablePowerOutletRequestType.md) | | [optional] -**PowerPort** | Pointer to [**NullablePowerPortRequest**](PowerPortRequest.md) | | [optional] +**PowerPort** | Pointer to [**NullableBriefPowerPortRequest**](BriefPowerPortRequest.md) | | [optional] **FeedLeg** | Pointer to [**PatchedWritablePowerOutletRequestFeedLeg**](PatchedWritablePowerOutletRequestFeedLeg.md) | | [optional] **Description** | Pointer to **string** | | [optional] **MarkConnected** | Pointer to **bool** | Treat as if a cable is connected | [optional] @@ -20,7 +20,7 @@ Name | Type | Description | Notes ### NewWritablePowerOutletRequest -`func NewWritablePowerOutletRequest(device DeviceRequest, name string, ) *WritablePowerOutletRequest` +`func NewWritablePowerOutletRequest(device BriefDeviceRequest, name string, ) *WritablePowerOutletRequest` NewWritablePowerOutletRequest instantiates a new WritablePowerOutletRequest object This constructor will assign default values to properties that have it defined, @@ -37,40 +37,40 @@ but it doesn't guarantee that properties required by API are set ### GetDevice -`func (o *WritablePowerOutletRequest) GetDevice() DeviceRequest` +`func (o *WritablePowerOutletRequest) GetDevice() BriefDeviceRequest` GetDevice returns the Device field if non-nil, zero value otherwise. ### GetDeviceOk -`func (o *WritablePowerOutletRequest) GetDeviceOk() (*DeviceRequest, bool)` +`func (o *WritablePowerOutletRequest) GetDeviceOk() (*BriefDeviceRequest, 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 *WritablePowerOutletRequest) SetDevice(v DeviceRequest)` +`func (o *WritablePowerOutletRequest) SetDevice(v BriefDeviceRequest)` SetDevice sets Device field to given value. ### GetModule -`func (o *WritablePowerOutletRequest) GetModule() ModuleRequest` +`func (o *WritablePowerOutletRequest) GetModule() BriefModuleRequest` GetModule returns the Module field if non-nil, zero value otherwise. ### GetModuleOk -`func (o *WritablePowerOutletRequest) GetModuleOk() (*ModuleRequest, bool)` +`func (o *WritablePowerOutletRequest) GetModuleOk() (*BriefModuleRequest, bool)` GetModuleOk returns a tuple with the Module field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetModule -`func (o *WritablePowerOutletRequest) SetModule(v ModuleRequest)` +`func (o *WritablePowerOutletRequest) SetModule(v BriefModuleRequest)` SetModule sets Module field to given value. @@ -162,20 +162,20 @@ HasType returns a boolean if a field has been set. ### GetPowerPort -`func (o *WritablePowerOutletRequest) GetPowerPort() PowerPortRequest` +`func (o *WritablePowerOutletRequest) GetPowerPort() BriefPowerPortRequest` GetPowerPort returns the PowerPort field if non-nil, zero value otherwise. ### GetPowerPortOk -`func (o *WritablePowerOutletRequest) GetPowerPortOk() (*PowerPortRequest, bool)` +`func (o *WritablePowerOutletRequest) GetPowerPortOk() (*BriefPowerPortRequest, bool)` GetPowerPortOk returns a tuple with the PowerPort field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPowerPort -`func (o *WritablePowerOutletRequest) SetPowerPort(v PowerPortRequest)` +`func (o *WritablePowerOutletRequest) SetPowerPort(v BriefPowerPortRequest)` SetPowerPort sets PowerPort field to given value. diff --git a/docs/WritablePowerOutletTemplateRequest.md b/docs/WritablePowerOutletTemplateRequest.md index 196e5721a..eae1aa815 100644 --- a/docs/WritablePowerOutletTemplateRequest.md +++ b/docs/WritablePowerOutletTemplateRequest.md @@ -4,12 +4,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**DeviceType** | Pointer to [**NullableDeviceTypeRequest**](DeviceTypeRequest.md) | | [optional] -**ModuleType** | Pointer to [**NullableModuleTypeRequest**](ModuleTypeRequest.md) | | [optional] +**DeviceType** | Pointer to [**NullableBriefDeviceTypeRequest**](BriefDeviceTypeRequest.md) | | [optional] +**ModuleType** | Pointer to [**NullableBriefModuleTypeRequest**](BriefModuleTypeRequest.md) | | [optional] **Name** | **string** | {module} is accepted as a substitution for the module bay position when attached to a module type. | **Label** | Pointer to **string** | Physical label | [optional] **Type** | Pointer to [**PatchedWritablePowerOutletTemplateRequestType**](PatchedWritablePowerOutletTemplateRequestType.md) | | [optional] -**PowerPort** | Pointer to [**NullablePowerPortTemplateRequest**](PowerPortTemplateRequest.md) | | [optional] +**PowerPort** | Pointer to [**NullableBriefPowerPortTemplateRequest**](BriefPowerPortTemplateRequest.md) | | [optional] **FeedLeg** | Pointer to [**PatchedWritablePowerOutletRequestFeedLeg**](PatchedWritablePowerOutletRequestFeedLeg.md) | | [optional] **Description** | Pointer to **string** | | [optional] @@ -34,20 +34,20 @@ but it doesn't guarantee that properties required by API are set ### GetDeviceType -`func (o *WritablePowerOutletTemplateRequest) GetDeviceType() DeviceTypeRequest` +`func (o *WritablePowerOutletTemplateRequest) GetDeviceType() BriefDeviceTypeRequest` GetDeviceType returns the DeviceType field if non-nil, zero value otherwise. ### GetDeviceTypeOk -`func (o *WritablePowerOutletTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool)` +`func (o *WritablePowerOutletTemplateRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool)` GetDeviceTypeOk returns a tuple with the DeviceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDeviceType -`func (o *WritablePowerOutletTemplateRequest) SetDeviceType(v DeviceTypeRequest)` +`func (o *WritablePowerOutletTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest)` SetDeviceType sets DeviceType field to given value. @@ -69,20 +69,20 @@ HasDeviceType returns a boolean if a field has been set. UnsetDeviceType ensures that no value is present for DeviceType, not even an explicit nil ### GetModuleType -`func (o *WritablePowerOutletTemplateRequest) GetModuleType() ModuleTypeRequest` +`func (o *WritablePowerOutletTemplateRequest) GetModuleType() BriefModuleTypeRequest` GetModuleType returns the ModuleType field if non-nil, zero value otherwise. ### GetModuleTypeOk -`func (o *WritablePowerOutletTemplateRequest) GetModuleTypeOk() (*ModuleTypeRequest, bool)` +`func (o *WritablePowerOutletTemplateRequest) GetModuleTypeOk() (*BriefModuleTypeRequest, bool)` GetModuleTypeOk returns a tuple with the ModuleType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetModuleType -`func (o *WritablePowerOutletTemplateRequest) SetModuleType(v ModuleTypeRequest)` +`func (o *WritablePowerOutletTemplateRequest) SetModuleType(v BriefModuleTypeRequest)` SetModuleType sets ModuleType field to given value. @@ -174,20 +174,20 @@ HasType returns a boolean if a field has been set. ### GetPowerPort -`func (o *WritablePowerOutletTemplateRequest) GetPowerPort() PowerPortTemplateRequest` +`func (o *WritablePowerOutletTemplateRequest) GetPowerPort() BriefPowerPortTemplateRequest` GetPowerPort returns the PowerPort field if non-nil, zero value otherwise. ### GetPowerPortOk -`func (o *WritablePowerOutletTemplateRequest) GetPowerPortOk() (*PowerPortTemplateRequest, bool)` +`func (o *WritablePowerOutletTemplateRequest) GetPowerPortOk() (*BriefPowerPortTemplateRequest, bool)` GetPowerPortOk returns a tuple with the PowerPort field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPowerPort -`func (o *WritablePowerOutletTemplateRequest) SetPowerPort(v PowerPortTemplateRequest)` +`func (o *WritablePowerOutletTemplateRequest) SetPowerPort(v BriefPowerPortTemplateRequest)` SetPowerPort sets PowerPort field to given value. diff --git a/docs/WritablePowerPortRequest.md b/docs/WritablePowerPortRequest.md index 55d032308..914481d74 100644 --- a/docs/WritablePowerPortRequest.md +++ b/docs/WritablePowerPortRequest.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Device** | [**DeviceRequest**](DeviceRequest.md) | | -**Module** | Pointer to [**NullableModuleRequest**](ModuleRequest.md) | | [optional] +**Device** | [**BriefDeviceRequest**](BriefDeviceRequest.md) | | +**Module** | Pointer to [**NullableBriefModuleRequest**](BriefModuleRequest.md) | | [optional] **Name** | **string** | | **Label** | Pointer to **string** | Physical label | [optional] **Type** | Pointer to [**PatchedWritablePowerPortRequestType**](PatchedWritablePowerPortRequestType.md) | | [optional] @@ -20,7 +20,7 @@ Name | Type | Description | Notes ### NewWritablePowerPortRequest -`func NewWritablePowerPortRequest(device DeviceRequest, name string, ) *WritablePowerPortRequest` +`func NewWritablePowerPortRequest(device BriefDeviceRequest, name string, ) *WritablePowerPortRequest` NewWritablePowerPortRequest instantiates a new WritablePowerPortRequest object This constructor will assign default values to properties that have it defined, @@ -37,40 +37,40 @@ but it doesn't guarantee that properties required by API are set ### GetDevice -`func (o *WritablePowerPortRequest) GetDevice() DeviceRequest` +`func (o *WritablePowerPortRequest) GetDevice() BriefDeviceRequest` GetDevice returns the Device field if non-nil, zero value otherwise. ### GetDeviceOk -`func (o *WritablePowerPortRequest) GetDeviceOk() (*DeviceRequest, bool)` +`func (o *WritablePowerPortRequest) GetDeviceOk() (*BriefDeviceRequest, 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 *WritablePowerPortRequest) SetDevice(v DeviceRequest)` +`func (o *WritablePowerPortRequest) SetDevice(v BriefDeviceRequest)` SetDevice sets Device field to given value. ### GetModule -`func (o *WritablePowerPortRequest) GetModule() ModuleRequest` +`func (o *WritablePowerPortRequest) GetModule() BriefModuleRequest` GetModule returns the Module field if non-nil, zero value otherwise. ### GetModuleOk -`func (o *WritablePowerPortRequest) GetModuleOk() (*ModuleRequest, bool)` +`func (o *WritablePowerPortRequest) GetModuleOk() (*BriefModuleRequest, bool)` GetModuleOk returns a tuple with the Module field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetModule -`func (o *WritablePowerPortRequest) SetModule(v ModuleRequest)` +`func (o *WritablePowerPortRequest) SetModule(v BriefModuleRequest)` SetModule sets Module field to given value. diff --git a/docs/WritablePowerPortTemplateRequest.md b/docs/WritablePowerPortTemplateRequest.md index 75edd9950..54d00f9c0 100644 --- a/docs/WritablePowerPortTemplateRequest.md +++ b/docs/WritablePowerPortTemplateRequest.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**DeviceType** | Pointer to [**NullableDeviceTypeRequest**](DeviceTypeRequest.md) | | [optional] -**ModuleType** | Pointer to [**NullableModuleTypeRequest**](ModuleTypeRequest.md) | | [optional] +**DeviceType** | Pointer to [**NullableBriefDeviceTypeRequest**](BriefDeviceTypeRequest.md) | | [optional] +**ModuleType** | Pointer to [**NullableBriefModuleTypeRequest**](BriefModuleTypeRequest.md) | | [optional] **Name** | **string** | {module} is accepted as a substitution for the module bay position when attached to a module type. | **Label** | Pointer to **string** | Physical label | [optional] **Type** | Pointer to [**PatchedWritablePowerPortTemplateRequestType**](PatchedWritablePowerPortTemplateRequestType.md) | | [optional] @@ -34,20 +34,20 @@ but it doesn't guarantee that properties required by API are set ### GetDeviceType -`func (o *WritablePowerPortTemplateRequest) GetDeviceType() DeviceTypeRequest` +`func (o *WritablePowerPortTemplateRequest) GetDeviceType() BriefDeviceTypeRequest` GetDeviceType returns the DeviceType field if non-nil, zero value otherwise. ### GetDeviceTypeOk -`func (o *WritablePowerPortTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool)` +`func (o *WritablePowerPortTemplateRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool)` GetDeviceTypeOk returns a tuple with the DeviceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDeviceType -`func (o *WritablePowerPortTemplateRequest) SetDeviceType(v DeviceTypeRequest)` +`func (o *WritablePowerPortTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest)` SetDeviceType sets DeviceType field to given value. @@ -69,20 +69,20 @@ HasDeviceType returns a boolean if a field has been set. UnsetDeviceType ensures that no value is present for DeviceType, not even an explicit nil ### GetModuleType -`func (o *WritablePowerPortTemplateRequest) GetModuleType() ModuleTypeRequest` +`func (o *WritablePowerPortTemplateRequest) GetModuleType() BriefModuleTypeRequest` GetModuleType returns the ModuleType field if non-nil, zero value otherwise. ### GetModuleTypeOk -`func (o *WritablePowerPortTemplateRequest) GetModuleTypeOk() (*ModuleTypeRequest, bool)` +`func (o *WritablePowerPortTemplateRequest) GetModuleTypeOk() (*BriefModuleTypeRequest, bool)` GetModuleTypeOk returns a tuple with the ModuleType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetModuleType -`func (o *WritablePowerPortTemplateRequest) SetModuleType(v ModuleTypeRequest)` +`func (o *WritablePowerPortTemplateRequest) SetModuleType(v BriefModuleTypeRequest)` SetModuleType sets ModuleType field to given value. diff --git a/docs/WritablePrefixRequest.md b/docs/WritablePrefixRequest.md index 87080ca95..9ff1ed781 100644 --- a/docs/WritablePrefixRequest.md +++ b/docs/WritablePrefixRequest.md @@ -5,12 +5,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Prefix** | **string** | | -**Site** | Pointer to [**NullableSiteRequest**](SiteRequest.md) | | [optional] -**Vrf** | Pointer to [**NullableVRFRequest**](VRFRequest.md) | | [optional] -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] -**Vlan** | Pointer to [**NullableVLANRequest**](VLANRequest.md) | | [optional] +**Site** | Pointer to [**NullableBriefSiteRequest**](BriefSiteRequest.md) | | [optional] +**Vrf** | Pointer to [**NullableBriefVRFRequest**](BriefVRFRequest.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] +**Vlan** | Pointer to [**NullableBriefVLANRequest**](BriefVLANRequest.md) | | [optional] **Status** | Pointer to [**PatchedWritablePrefixRequestStatus**](PatchedWritablePrefixRequestStatus.md) | | [optional] -**Role** | Pointer to [**NullableRoleRequest**](RoleRequest.md) | | [optional] +**Role** | Pointer to [**NullableBriefRoleRequest**](BriefRoleRequest.md) | | [optional] **IsPool** | Pointer to **bool** | All IP addresses within this prefix are considered usable | [optional] **MarkUtilized** | Pointer to **bool** | Treat as fully utilized | [optional] **Description** | Pointer to **string** | | [optional] @@ -59,20 +59,20 @@ SetPrefix sets Prefix field to given value. ### GetSite -`func (o *WritablePrefixRequest) GetSite() SiteRequest` +`func (o *WritablePrefixRequest) GetSite() BriefSiteRequest` GetSite returns the Site field if non-nil, zero value otherwise. ### GetSiteOk -`func (o *WritablePrefixRequest) GetSiteOk() (*SiteRequest, bool)` +`func (o *WritablePrefixRequest) GetSiteOk() (*BriefSiteRequest, bool)` GetSiteOk returns a tuple with the Site field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSite -`func (o *WritablePrefixRequest) SetSite(v SiteRequest)` +`func (o *WritablePrefixRequest) SetSite(v BriefSiteRequest)` SetSite sets Site field to given value. @@ -94,20 +94,20 @@ HasSite returns a boolean if a field has been set. UnsetSite ensures that no value is present for Site, not even an explicit nil ### GetVrf -`func (o *WritablePrefixRequest) GetVrf() VRFRequest` +`func (o *WritablePrefixRequest) GetVrf() BriefVRFRequest` GetVrf returns the Vrf field if non-nil, zero value otherwise. ### GetVrfOk -`func (o *WritablePrefixRequest) GetVrfOk() (*VRFRequest, bool)` +`func (o *WritablePrefixRequest) GetVrfOk() (*BriefVRFRequest, bool)` GetVrfOk returns a tuple with the Vrf field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVrf -`func (o *WritablePrefixRequest) SetVrf(v VRFRequest)` +`func (o *WritablePrefixRequest) SetVrf(v BriefVRFRequest)` SetVrf sets Vrf field to given value. @@ -129,20 +129,20 @@ HasVrf returns a boolean if a field has been set. UnsetVrf ensures that no value is present for Vrf, not even an explicit nil ### GetTenant -`func (o *WritablePrefixRequest) GetTenant() TenantRequest` +`func (o *WritablePrefixRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *WritablePrefixRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *WritablePrefixRequest) GetTenantOk() (*BriefTenantRequest, 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 *WritablePrefixRequest) SetTenant(v TenantRequest)` +`func (o *WritablePrefixRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. @@ -164,20 +164,20 @@ HasTenant returns a boolean if a field has been set. UnsetTenant ensures that no value is present for Tenant, not even an explicit nil ### GetVlan -`func (o *WritablePrefixRequest) GetVlan() VLANRequest` +`func (o *WritablePrefixRequest) GetVlan() BriefVLANRequest` GetVlan returns the Vlan field if non-nil, zero value otherwise. ### GetVlanOk -`func (o *WritablePrefixRequest) GetVlanOk() (*VLANRequest, bool)` +`func (o *WritablePrefixRequest) GetVlanOk() (*BriefVLANRequest, 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 *WritablePrefixRequest) SetVlan(v VLANRequest)` +`func (o *WritablePrefixRequest) SetVlan(v BriefVLANRequest)` SetVlan sets Vlan field to given value. @@ -224,20 +224,20 @@ HasStatus returns a boolean if a field has been set. ### GetRole -`func (o *WritablePrefixRequest) GetRole() RoleRequest` +`func (o *WritablePrefixRequest) GetRole() BriefRoleRequest` GetRole returns the Role field if non-nil, zero value otherwise. ### GetRoleOk -`func (o *WritablePrefixRequest) GetRoleOk() (*RoleRequest, bool)` +`func (o *WritablePrefixRequest) GetRoleOk() (*BriefRoleRequest, 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 *WritablePrefixRequest) SetRole(v RoleRequest)` +`func (o *WritablePrefixRequest) SetRole(v BriefRoleRequest)` SetRole sets Role field to given value. diff --git a/docs/WritableRackRequest.md b/docs/WritableRackRequest.md index a9a7cf6f5..864bdfd6a 100644 --- a/docs/WritableRackRequest.md +++ b/docs/WritableRackRequest.md @@ -6,25 +6,27 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | **string** | | **FacilityId** | Pointer to **NullableString** | | [optional] -**Site** | [**SiteRequest**](SiteRequest.md) | | -**Location** | Pointer to [**NullableLocationRequest**](LocationRequest.md) | | [optional] -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] +**Site** | [**BriefSiteRequest**](BriefSiteRequest.md) | | +**Location** | Pointer to [**NullableBriefLocationRequest**](BriefLocationRequest.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] **Status** | Pointer to [**PatchedWritableRackRequestStatus**](PatchedWritableRackRequestStatus.md) | | [optional] -**Role** | Pointer to [**NullableRackRoleRequest**](RackRoleRequest.md) | | [optional] +**Role** | Pointer to [**NullableBriefRackRoleRequest**](BriefRackRoleRequest.md) | | [optional] **Serial** | Pointer to **string** | | [optional] **AssetTag** | Pointer to **NullableString** | A unique tag used to identify this rack | [optional] -**Type** | Pointer to [**PatchedWritableRackRequestType**](PatchedWritableRackRequestType.md) | | [optional] +**RackType** | Pointer to [**NullableBriefRackTypeRequest**](BriefRackTypeRequest.md) | | [optional] +**FormFactor** | Pointer to [**PatchedWritableRackRequestFormFactor**](PatchedWritableRackRequestFormFactor.md) | | [optional] **Width** | Pointer to [**PatchedWritableRackRequestWidth**](PatchedWritableRackRequestWidth.md) | | [optional] **UHeight** | Pointer to **int32** | Height in rack units | [optional] **StartingUnit** | Pointer to **int32** | Starting unit for rack | [optional] **Weight** | Pointer to **NullableFloat64** | | [optional] **MaxWeight** | Pointer to **NullableInt32** | Maximum load capacity for the rack | [optional] -**WeightUnit** | Pointer to [**PatchedWritableDeviceTypeRequestWeightUnit**](PatchedWritableDeviceTypeRequestWeightUnit.md) | | [optional] +**WeightUnit** | Pointer to [**DeviceTypeWeightUnitValue**](DeviceTypeWeightUnitValue.md) | | [optional] **DescUnits** | Pointer to **bool** | Units are numbered top-to-bottom | [optional] **OuterWidth** | Pointer to **NullableInt32** | Outer dimension of rack (width) | [optional] **OuterDepth** | Pointer to **NullableInt32** | Outer dimension of rack (depth) | [optional] **OuterUnit** | Pointer to [**PatchedWritableRackRequestOuterUnit**](PatchedWritableRackRequestOuterUnit.md) | | [optional] **MountingDepth** | Pointer to **NullableInt32** | Maximum depth of a mounted device, in millimeters. For four-post racks, this is the distance between the front and rear rails. | [optional] +**Airflow** | Pointer to [**PatchedWritableRackRequestAirflow**](PatchedWritableRackRequestAirflow.md) | | [optional] **Description** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] @@ -34,7 +36,7 @@ Name | Type | Description | Notes ### NewWritableRackRequest -`func NewWritableRackRequest(name string, site SiteRequest, ) *WritableRackRequest` +`func NewWritableRackRequest(name string, site BriefSiteRequest, ) *WritableRackRequest` NewWritableRackRequest instantiates a new WritableRackRequest object This constructor will assign default values to properties that have it defined, @@ -106,40 +108,40 @@ HasFacilityId returns a boolean if a field has been set. UnsetFacilityId ensures that no value is present for FacilityId, not even an explicit nil ### GetSite -`func (o *WritableRackRequest) GetSite() SiteRequest` +`func (o *WritableRackRequest) GetSite() BriefSiteRequest` GetSite returns the Site field if non-nil, zero value otherwise. ### GetSiteOk -`func (o *WritableRackRequest) GetSiteOk() (*SiteRequest, bool)` +`func (o *WritableRackRequest) GetSiteOk() (*BriefSiteRequest, bool)` GetSiteOk returns a tuple with the Site field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSite -`func (o *WritableRackRequest) SetSite(v SiteRequest)` +`func (o *WritableRackRequest) SetSite(v BriefSiteRequest)` SetSite sets Site field to given value. ### GetLocation -`func (o *WritableRackRequest) GetLocation() LocationRequest` +`func (o *WritableRackRequest) GetLocation() BriefLocationRequest` GetLocation returns the Location field if non-nil, zero value otherwise. ### GetLocationOk -`func (o *WritableRackRequest) GetLocationOk() (*LocationRequest, bool)` +`func (o *WritableRackRequest) GetLocationOk() (*BriefLocationRequest, 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 *WritableRackRequest) SetLocation(v LocationRequest)` +`func (o *WritableRackRequest) SetLocation(v BriefLocationRequest)` SetLocation sets Location field to given value. @@ -161,20 +163,20 @@ HasLocation returns a boolean if a field has been set. UnsetLocation ensures that no value is present for Location, not even an explicit nil ### GetTenant -`func (o *WritableRackRequest) GetTenant() TenantRequest` +`func (o *WritableRackRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *WritableRackRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *WritableRackRequest) GetTenantOk() (*BriefTenantRequest, 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 *WritableRackRequest) SetTenant(v TenantRequest)` +`func (o *WritableRackRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. @@ -221,20 +223,20 @@ HasStatus returns a boolean if a field has been set. ### GetRole -`func (o *WritableRackRequest) GetRole() RackRoleRequest` +`func (o *WritableRackRequest) GetRole() BriefRackRoleRequest` GetRole returns the Role field if non-nil, zero value otherwise. ### GetRoleOk -`func (o *WritableRackRequest) GetRoleOk() (*RackRoleRequest, bool)` +`func (o *WritableRackRequest) GetRoleOk() (*BriefRackRoleRequest, 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 *WritableRackRequest) SetRole(v RackRoleRequest)` +`func (o *WritableRackRequest) SetRole(v BriefRackRoleRequest)` SetRole sets Role field to given value. @@ -314,30 +316,65 @@ HasAssetTag returns a boolean if a field has been set. `func (o *WritableRackRequest) UnsetAssetTag()` UnsetAssetTag ensures that no value is present for AssetTag, not even an explicit nil -### GetType +### GetRackType -`func (o *WritableRackRequest) GetType() PatchedWritableRackRequestType` +`func (o *WritableRackRequest) GetRackType() BriefRackTypeRequest` -GetType returns the Type field if non-nil, zero value otherwise. +GetRackType returns the RackType field if non-nil, zero value otherwise. -### GetTypeOk +### GetRackTypeOk -`func (o *WritableRackRequest) GetTypeOk() (*PatchedWritableRackRequestType, bool)` +`func (o *WritableRackRequest) GetRackTypeOk() (*BriefRackTypeRequest, bool)` -GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +GetRackTypeOk returns a tuple with the RackType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetType +### SetRackType -`func (o *WritableRackRequest) SetType(v PatchedWritableRackRequestType)` +`func (o *WritableRackRequest) SetRackType(v BriefRackTypeRequest)` -SetType sets Type field to given value. +SetRackType sets RackType field to given value. -### HasType +### HasRackType -`func (o *WritableRackRequest) HasType() bool` +`func (o *WritableRackRequest) HasRackType() bool` -HasType returns a boolean if a field has been set. +HasRackType returns a boolean if a field has been set. + +### SetRackTypeNil + +`func (o *WritableRackRequest) SetRackTypeNil(b bool)` + + SetRackTypeNil sets the value for RackType to be an explicit nil + +### UnsetRackType +`func (o *WritableRackRequest) UnsetRackType()` + +UnsetRackType ensures that no value is present for RackType, not even an explicit nil +### GetFormFactor + +`func (o *WritableRackRequest) GetFormFactor() PatchedWritableRackRequestFormFactor` + +GetFormFactor returns the FormFactor field if non-nil, zero value otherwise. + +### GetFormFactorOk + +`func (o *WritableRackRequest) GetFormFactorOk() (*PatchedWritableRackRequestFormFactor, bool)` + +GetFormFactorOk returns a tuple with the FormFactor field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFormFactor + +`func (o *WritableRackRequest) SetFormFactor(v PatchedWritableRackRequestFormFactor)` + +SetFormFactor sets FormFactor field to given value. + +### HasFormFactor + +`func (o *WritableRackRequest) HasFormFactor() bool` + +HasFormFactor returns a boolean if a field has been set. ### GetWidth @@ -486,20 +523,20 @@ HasMaxWeight returns a boolean if a field has been set. UnsetMaxWeight ensures that no value is present for MaxWeight, not even an explicit nil ### GetWeightUnit -`func (o *WritableRackRequest) GetWeightUnit() PatchedWritableDeviceTypeRequestWeightUnit` +`func (o *WritableRackRequest) GetWeightUnit() DeviceTypeWeightUnitValue` GetWeightUnit returns the WeightUnit field if non-nil, zero value otherwise. ### GetWeightUnitOk -`func (o *WritableRackRequest) GetWeightUnitOk() (*PatchedWritableDeviceTypeRequestWeightUnit, bool)` +`func (o *WritableRackRequest) GetWeightUnitOk() (*DeviceTypeWeightUnitValue, bool)` GetWeightUnitOk returns a tuple with the WeightUnit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetWeightUnit -`func (o *WritableRackRequest) SetWeightUnit(v PatchedWritableDeviceTypeRequestWeightUnit)` +`func (o *WritableRackRequest) SetWeightUnit(v DeviceTypeWeightUnitValue)` SetWeightUnit sets WeightUnit field to given value. @@ -664,6 +701,31 @@ HasMountingDepth returns a boolean if a field has been set. `func (o *WritableRackRequest) UnsetMountingDepth()` UnsetMountingDepth ensures that no value is present for MountingDepth, not even an explicit nil +### GetAirflow + +`func (o *WritableRackRequest) GetAirflow() PatchedWritableRackRequestAirflow` + +GetAirflow returns the Airflow field if non-nil, zero value otherwise. + +### GetAirflowOk + +`func (o *WritableRackRequest) GetAirflowOk() (*PatchedWritableRackRequestAirflow, bool)` + +GetAirflowOk returns a tuple with the Airflow field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAirflow + +`func (o *WritableRackRequest) SetAirflow(v PatchedWritableRackRequestAirflow)` + +SetAirflow sets Airflow field to given value. + +### HasAirflow + +`func (o *WritableRackRequest) HasAirflow() bool` + +HasAirflow returns a boolean if a field has been set. + ### GetDescription `func (o *WritableRackRequest) GetDescription() string` diff --git a/docs/WritableRackTypeRequest.md b/docs/WritableRackTypeRequest.md new file mode 100644 index 000000000..3f393bfae --- /dev/null +++ b/docs/WritableRackTypeRequest.md @@ -0,0 +1,554 @@ +# WritableRackTypeRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Manufacturer** | [**BriefManufacturerRequest**](BriefManufacturerRequest.md) | | +**Model** | **string** | | +**Slug** | **string** | | +**Description** | Pointer to **string** | | [optional] +**FormFactor** | [**PatchedWritableRackTypeRequestFormFactor**](PatchedWritableRackTypeRequestFormFactor.md) | | +**Width** | Pointer to [**PatchedWritableRackRequestWidth**](PatchedWritableRackRequestWidth.md) | | [optional] +**UHeight** | Pointer to **int32** | Height in rack units | [optional] +**StartingUnit** | Pointer to **int32** | Starting unit for rack | [optional] +**DescUnits** | Pointer to **bool** | Units are numbered top-to-bottom | [optional] +**OuterWidth** | Pointer to **NullableInt32** | Outer dimension of rack (width) | [optional] +**OuterDepth** | Pointer to **NullableInt32** | Outer dimension of rack (depth) | [optional] +**OuterUnit** | Pointer to [**PatchedWritableRackRequestOuterUnit**](PatchedWritableRackRequestOuterUnit.md) | | [optional] +**Weight** | Pointer to **NullableFloat64** | | [optional] +**MaxWeight** | Pointer to **NullableInt32** | Maximum load capacity for the rack | [optional] +**WeightUnit** | Pointer to [**DeviceTypeWeightUnitValue**](DeviceTypeWeightUnitValue.md) | | [optional] +**MountingDepth** | Pointer to **NullableInt32** | Maximum depth of a mounted device, in millimeters. For four-post racks, this is the distance between the front and rear rails. | [optional] +**Comments** | Pointer to **string** | | [optional] +**Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] +**CustomFields** | Pointer to **map[string]interface{}** | | [optional] + +## Methods + +### NewWritableRackTypeRequest + +`func NewWritableRackTypeRequest(manufacturer BriefManufacturerRequest, model string, slug string, formFactor PatchedWritableRackTypeRequestFormFactor, ) *WritableRackTypeRequest` + +NewWritableRackTypeRequest instantiates a new WritableRackTypeRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewWritableRackTypeRequestWithDefaults + +`func NewWritableRackTypeRequestWithDefaults() *WritableRackTypeRequest` + +NewWritableRackTypeRequestWithDefaults instantiates a new WritableRackTypeRequest object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetManufacturer + +`func (o *WritableRackTypeRequest) GetManufacturer() BriefManufacturerRequest` + +GetManufacturer returns the Manufacturer field if non-nil, zero value otherwise. + +### GetManufacturerOk + +`func (o *WritableRackTypeRequest) GetManufacturerOk() (*BriefManufacturerRequest, bool)` + +GetManufacturerOk returns a tuple with the Manufacturer field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetManufacturer + +`func (o *WritableRackTypeRequest) SetManufacturer(v BriefManufacturerRequest)` + +SetManufacturer sets Manufacturer field to given value. + + +### GetModel + +`func (o *WritableRackTypeRequest) GetModel() string` + +GetModel returns the Model field if non-nil, zero value otherwise. + +### GetModelOk + +`func (o *WritableRackTypeRequest) GetModelOk() (*string, bool)` + +GetModelOk returns a tuple with the Model field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetModel + +`func (o *WritableRackTypeRequest) SetModel(v string)` + +SetModel sets Model field to given value. + + +### GetSlug + +`func (o *WritableRackTypeRequest) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *WritableRackTypeRequest) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *WritableRackTypeRequest) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + +### GetDescription + +`func (o *WritableRackTypeRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *WritableRackTypeRequest) 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 *WritableRackTypeRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *WritableRackTypeRequest) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetFormFactor + +`func (o *WritableRackTypeRequest) GetFormFactor() PatchedWritableRackTypeRequestFormFactor` + +GetFormFactor returns the FormFactor field if non-nil, zero value otherwise. + +### GetFormFactorOk + +`func (o *WritableRackTypeRequest) GetFormFactorOk() (*PatchedWritableRackTypeRequestFormFactor, bool)` + +GetFormFactorOk returns a tuple with the FormFactor field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFormFactor + +`func (o *WritableRackTypeRequest) SetFormFactor(v PatchedWritableRackTypeRequestFormFactor)` + +SetFormFactor sets FormFactor field to given value. + + +### GetWidth + +`func (o *WritableRackTypeRequest) GetWidth() PatchedWritableRackRequestWidth` + +GetWidth returns the Width field if non-nil, zero value otherwise. + +### GetWidthOk + +`func (o *WritableRackTypeRequest) GetWidthOk() (*PatchedWritableRackRequestWidth, bool)` + +GetWidthOk returns a tuple with the Width field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWidth + +`func (o *WritableRackTypeRequest) SetWidth(v PatchedWritableRackRequestWidth)` + +SetWidth sets Width field to given value. + +### HasWidth + +`func (o *WritableRackTypeRequest) HasWidth() bool` + +HasWidth returns a boolean if a field has been set. + +### GetUHeight + +`func (o *WritableRackTypeRequest) GetUHeight() int32` + +GetUHeight returns the UHeight field if non-nil, zero value otherwise. + +### GetUHeightOk + +`func (o *WritableRackTypeRequest) GetUHeightOk() (*int32, bool)` + +GetUHeightOk returns a tuple with the UHeight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUHeight + +`func (o *WritableRackTypeRequest) SetUHeight(v int32)` + +SetUHeight sets UHeight field to given value. + +### HasUHeight + +`func (o *WritableRackTypeRequest) HasUHeight() bool` + +HasUHeight returns a boolean if a field has been set. + +### GetStartingUnit + +`func (o *WritableRackTypeRequest) GetStartingUnit() int32` + +GetStartingUnit returns the StartingUnit field if non-nil, zero value otherwise. + +### GetStartingUnitOk + +`func (o *WritableRackTypeRequest) GetStartingUnitOk() (*int32, bool)` + +GetStartingUnitOk returns a tuple with the StartingUnit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStartingUnit + +`func (o *WritableRackTypeRequest) SetStartingUnit(v int32)` + +SetStartingUnit sets StartingUnit field to given value. + +### HasStartingUnit + +`func (o *WritableRackTypeRequest) HasStartingUnit() bool` + +HasStartingUnit returns a boolean if a field has been set. + +### GetDescUnits + +`func (o *WritableRackTypeRequest) GetDescUnits() bool` + +GetDescUnits returns the DescUnits field if non-nil, zero value otherwise. + +### GetDescUnitsOk + +`func (o *WritableRackTypeRequest) GetDescUnitsOk() (*bool, bool)` + +GetDescUnitsOk returns a tuple with the DescUnits field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDescUnits + +`func (o *WritableRackTypeRequest) SetDescUnits(v bool)` + +SetDescUnits sets DescUnits field to given value. + +### HasDescUnits + +`func (o *WritableRackTypeRequest) HasDescUnits() bool` + +HasDescUnits returns a boolean if a field has been set. + +### GetOuterWidth + +`func (o *WritableRackTypeRequest) GetOuterWidth() int32` + +GetOuterWidth returns the OuterWidth field if non-nil, zero value otherwise. + +### GetOuterWidthOk + +`func (o *WritableRackTypeRequest) GetOuterWidthOk() (*int32, bool)` + +GetOuterWidthOk returns a tuple with the OuterWidth field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOuterWidth + +`func (o *WritableRackTypeRequest) SetOuterWidth(v int32)` + +SetOuterWidth sets OuterWidth field to given value. + +### HasOuterWidth + +`func (o *WritableRackTypeRequest) HasOuterWidth() bool` + +HasOuterWidth returns a boolean if a field has been set. + +### SetOuterWidthNil + +`func (o *WritableRackTypeRequest) SetOuterWidthNil(b bool)` + + SetOuterWidthNil sets the value for OuterWidth to be an explicit nil + +### UnsetOuterWidth +`func (o *WritableRackTypeRequest) UnsetOuterWidth()` + +UnsetOuterWidth ensures that no value is present for OuterWidth, not even an explicit nil +### GetOuterDepth + +`func (o *WritableRackTypeRequest) GetOuterDepth() int32` + +GetOuterDepth returns the OuterDepth field if non-nil, zero value otherwise. + +### GetOuterDepthOk + +`func (o *WritableRackTypeRequest) GetOuterDepthOk() (*int32, bool)` + +GetOuterDepthOk returns a tuple with the OuterDepth field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOuterDepth + +`func (o *WritableRackTypeRequest) SetOuterDepth(v int32)` + +SetOuterDepth sets OuterDepth field to given value. + +### HasOuterDepth + +`func (o *WritableRackTypeRequest) HasOuterDepth() bool` + +HasOuterDepth returns a boolean if a field has been set. + +### SetOuterDepthNil + +`func (o *WritableRackTypeRequest) SetOuterDepthNil(b bool)` + + SetOuterDepthNil sets the value for OuterDepth to be an explicit nil + +### UnsetOuterDepth +`func (o *WritableRackTypeRequest) UnsetOuterDepth()` + +UnsetOuterDepth ensures that no value is present for OuterDepth, not even an explicit nil +### GetOuterUnit + +`func (o *WritableRackTypeRequest) GetOuterUnit() PatchedWritableRackRequestOuterUnit` + +GetOuterUnit returns the OuterUnit field if non-nil, zero value otherwise. + +### GetOuterUnitOk + +`func (o *WritableRackTypeRequest) GetOuterUnitOk() (*PatchedWritableRackRequestOuterUnit, bool)` + +GetOuterUnitOk returns a tuple with the OuterUnit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOuterUnit + +`func (o *WritableRackTypeRequest) SetOuterUnit(v PatchedWritableRackRequestOuterUnit)` + +SetOuterUnit sets OuterUnit field to given value. + +### HasOuterUnit + +`func (o *WritableRackTypeRequest) HasOuterUnit() bool` + +HasOuterUnit returns a boolean if a field has been set. + +### GetWeight + +`func (o *WritableRackTypeRequest) GetWeight() float64` + +GetWeight returns the Weight field if non-nil, zero value otherwise. + +### GetWeightOk + +`func (o *WritableRackTypeRequest) GetWeightOk() (*float64, bool)` + +GetWeightOk returns a tuple with the Weight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWeight + +`func (o *WritableRackTypeRequest) SetWeight(v float64)` + +SetWeight sets Weight field to given value. + +### HasWeight + +`func (o *WritableRackTypeRequest) HasWeight() bool` + +HasWeight returns a boolean if a field has been set. + +### SetWeightNil + +`func (o *WritableRackTypeRequest) SetWeightNil(b bool)` + + SetWeightNil sets the value for Weight to be an explicit nil + +### UnsetWeight +`func (o *WritableRackTypeRequest) UnsetWeight()` + +UnsetWeight ensures that no value is present for Weight, not even an explicit nil +### GetMaxWeight + +`func (o *WritableRackTypeRequest) GetMaxWeight() int32` + +GetMaxWeight returns the MaxWeight field if non-nil, zero value otherwise. + +### GetMaxWeightOk + +`func (o *WritableRackTypeRequest) GetMaxWeightOk() (*int32, bool)` + +GetMaxWeightOk returns a tuple with the MaxWeight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxWeight + +`func (o *WritableRackTypeRequest) SetMaxWeight(v int32)` + +SetMaxWeight sets MaxWeight field to given value. + +### HasMaxWeight + +`func (o *WritableRackTypeRequest) HasMaxWeight() bool` + +HasMaxWeight returns a boolean if a field has been set. + +### SetMaxWeightNil + +`func (o *WritableRackTypeRequest) SetMaxWeightNil(b bool)` + + SetMaxWeightNil sets the value for MaxWeight to be an explicit nil + +### UnsetMaxWeight +`func (o *WritableRackTypeRequest) UnsetMaxWeight()` + +UnsetMaxWeight ensures that no value is present for MaxWeight, not even an explicit nil +### GetWeightUnit + +`func (o *WritableRackTypeRequest) GetWeightUnit() DeviceTypeWeightUnitValue` + +GetWeightUnit returns the WeightUnit field if non-nil, zero value otherwise. + +### GetWeightUnitOk + +`func (o *WritableRackTypeRequest) GetWeightUnitOk() (*DeviceTypeWeightUnitValue, bool)` + +GetWeightUnitOk returns a tuple with the WeightUnit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWeightUnit + +`func (o *WritableRackTypeRequest) SetWeightUnit(v DeviceTypeWeightUnitValue)` + +SetWeightUnit sets WeightUnit field to given value. + +### HasWeightUnit + +`func (o *WritableRackTypeRequest) HasWeightUnit() bool` + +HasWeightUnit returns a boolean if a field has been set. + +### GetMountingDepth + +`func (o *WritableRackTypeRequest) GetMountingDepth() int32` + +GetMountingDepth returns the MountingDepth field if non-nil, zero value otherwise. + +### GetMountingDepthOk + +`func (o *WritableRackTypeRequest) GetMountingDepthOk() (*int32, bool)` + +GetMountingDepthOk returns a tuple with the MountingDepth field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMountingDepth + +`func (o *WritableRackTypeRequest) SetMountingDepth(v int32)` + +SetMountingDepth sets MountingDepth field to given value. + +### HasMountingDepth + +`func (o *WritableRackTypeRequest) HasMountingDepth() bool` + +HasMountingDepth returns a boolean if a field has been set. + +### SetMountingDepthNil + +`func (o *WritableRackTypeRequest) SetMountingDepthNil(b bool)` + + SetMountingDepthNil sets the value for MountingDepth to be an explicit nil + +### UnsetMountingDepth +`func (o *WritableRackTypeRequest) UnsetMountingDepth()` + +UnsetMountingDepth ensures that no value is present for MountingDepth, not even an explicit nil +### GetComments + +`func (o *WritableRackTypeRequest) GetComments() string` + +GetComments returns the Comments field if non-nil, zero value otherwise. + +### GetCommentsOk + +`func (o *WritableRackTypeRequest) GetCommentsOk() (*string, bool)` + +GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComments + +`func (o *WritableRackTypeRequest) SetComments(v string)` + +SetComments sets Comments field to given value. + +### HasComments + +`func (o *WritableRackTypeRequest) HasComments() bool` + +HasComments returns a boolean if a field has been set. + +### GetTags + +`func (o *WritableRackTypeRequest) GetTags() []NestedTagRequest` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *WritableRackTypeRequest) GetTagsOk() (*[]NestedTagRequest, 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 *WritableRackTypeRequest) SetTags(v []NestedTagRequest)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *WritableRackTypeRequest) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetCustomFields + +`func (o *WritableRackTypeRequest) GetCustomFields() map[string]interface{}` + +GetCustomFields returns the CustomFields field if non-nil, zero value otherwise. + +### GetCustomFieldsOk + +`func (o *WritableRackTypeRequest) 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 *WritableRackTypeRequest) SetCustomFields(v map[string]interface{})` + +SetCustomFields sets CustomFields field to given value. + +### HasCustomFields + +`func (o *WritableRackTypeRequest) 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/WritableRearPortRequest.md b/docs/WritableRearPortRequest.md index 5e366e7c5..10050601f 100644 --- a/docs/WritableRearPortRequest.md +++ b/docs/WritableRearPortRequest.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Device** | [**DeviceRequest**](DeviceRequest.md) | | -**Module** | Pointer to [**NullableModuleRequest**](ModuleRequest.md) | | [optional] +**Device** | [**BriefDeviceRequest**](BriefDeviceRequest.md) | | +**Module** | Pointer to [**NullableBriefModuleRequest**](BriefModuleRequest.md) | | [optional] **Name** | **string** | | **Label** | Pointer to **string** | Physical label | [optional] **Type** | [**FrontPortTypeValue**](FrontPortTypeValue.md) | | @@ -20,7 +20,7 @@ Name | Type | Description | Notes ### NewWritableRearPortRequest -`func NewWritableRearPortRequest(device DeviceRequest, name string, type_ FrontPortTypeValue, ) *WritableRearPortRequest` +`func NewWritableRearPortRequest(device BriefDeviceRequest, name string, type_ FrontPortTypeValue, ) *WritableRearPortRequest` NewWritableRearPortRequest instantiates a new WritableRearPortRequest object This constructor will assign default values to properties that have it defined, @@ -37,40 +37,40 @@ but it doesn't guarantee that properties required by API are set ### GetDevice -`func (o *WritableRearPortRequest) GetDevice() DeviceRequest` +`func (o *WritableRearPortRequest) GetDevice() BriefDeviceRequest` GetDevice returns the Device field if non-nil, zero value otherwise. ### GetDeviceOk -`func (o *WritableRearPortRequest) GetDeviceOk() (*DeviceRequest, bool)` +`func (o *WritableRearPortRequest) GetDeviceOk() (*BriefDeviceRequest, 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 *WritableRearPortRequest) SetDevice(v DeviceRequest)` +`func (o *WritableRearPortRequest) SetDevice(v BriefDeviceRequest)` SetDevice sets Device field to given value. ### GetModule -`func (o *WritableRearPortRequest) GetModule() ModuleRequest` +`func (o *WritableRearPortRequest) GetModule() BriefModuleRequest` GetModule returns the Module field if non-nil, zero value otherwise. ### GetModuleOk -`func (o *WritableRearPortRequest) GetModuleOk() (*ModuleRequest, bool)` +`func (o *WritableRearPortRequest) GetModuleOk() (*BriefModuleRequest, bool)` GetModuleOk returns a tuple with the Module field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetModule -`func (o *WritableRearPortRequest) SetModule(v ModuleRequest)` +`func (o *WritableRearPortRequest) SetModule(v BriefModuleRequest)` SetModule sets Module field to given value. diff --git a/docs/WritableRearPortTemplateRequest.md b/docs/WritableRearPortTemplateRequest.md index 075a046aa..4e3c43248 100644 --- a/docs/WritableRearPortTemplateRequest.md +++ b/docs/WritableRearPortTemplateRequest.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**DeviceType** | Pointer to [**NullableDeviceTypeRequest**](DeviceTypeRequest.md) | | [optional] -**ModuleType** | Pointer to [**NullableModuleTypeRequest**](ModuleTypeRequest.md) | | [optional] +**DeviceType** | Pointer to [**NullableBriefDeviceTypeRequest**](BriefDeviceTypeRequest.md) | | [optional] +**ModuleType** | Pointer to [**NullableBriefModuleTypeRequest**](BriefModuleTypeRequest.md) | | [optional] **Name** | **string** | {module} is accepted as a substitution for the module bay position when attached to a module type. | **Label** | Pointer to **string** | Physical label | [optional] **Type** | [**FrontPortTypeValue**](FrontPortTypeValue.md) | | @@ -34,20 +34,20 @@ but it doesn't guarantee that properties required by API are set ### GetDeviceType -`func (o *WritableRearPortTemplateRequest) GetDeviceType() DeviceTypeRequest` +`func (o *WritableRearPortTemplateRequest) GetDeviceType() BriefDeviceTypeRequest` GetDeviceType returns the DeviceType field if non-nil, zero value otherwise. ### GetDeviceTypeOk -`func (o *WritableRearPortTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool)` +`func (o *WritableRearPortTemplateRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool)` GetDeviceTypeOk returns a tuple with the DeviceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDeviceType -`func (o *WritableRearPortTemplateRequest) SetDeviceType(v DeviceTypeRequest)` +`func (o *WritableRearPortTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest)` SetDeviceType sets DeviceType field to given value. @@ -69,20 +69,20 @@ HasDeviceType returns a boolean if a field has been set. UnsetDeviceType ensures that no value is present for DeviceType, not even an explicit nil ### GetModuleType -`func (o *WritableRearPortTemplateRequest) GetModuleType() ModuleTypeRequest` +`func (o *WritableRearPortTemplateRequest) GetModuleType() BriefModuleTypeRequest` GetModuleType returns the ModuleType field if non-nil, zero value otherwise. ### GetModuleTypeOk -`func (o *WritableRearPortTemplateRequest) GetModuleTypeOk() (*ModuleTypeRequest, bool)` +`func (o *WritableRearPortTemplateRequest) GetModuleTypeOk() (*BriefModuleTypeRequest, bool)` GetModuleTypeOk returns a tuple with the ModuleType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetModuleType -`func (o *WritableRearPortTemplateRequest) SetModuleType(v ModuleTypeRequest)` +`func (o *WritableRearPortTemplateRequest) SetModuleType(v BriefModuleTypeRequest)` SetModuleType sets ModuleType field to given value. diff --git a/docs/WritableServiceRequest.md b/docs/WritableServiceRequest.md index f4617ee50..2a2d4015e 100644 --- a/docs/WritableServiceRequest.md +++ b/docs/WritableServiceRequest.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Device** | Pointer to [**NullableDeviceRequest**](DeviceRequest.md) | | [optional] -**VirtualMachine** | Pointer to [**NullableVirtualMachineRequest**](VirtualMachineRequest.md) | | [optional] +**Device** | Pointer to [**NullableBriefDeviceRequest**](BriefDeviceRequest.md) | | [optional] +**VirtualMachine** | Pointer to [**NullableBriefVirtualMachineRequest**](BriefVirtualMachineRequest.md) | | [optional] **Name** | **string** | | **Protocol** | [**PatchedWritableServiceRequestProtocol**](PatchedWritableServiceRequestProtocol.md) | | **Ports** | **[]int32** | | @@ -36,20 +36,20 @@ but it doesn't guarantee that properties required by API are set ### GetDevice -`func (o *WritableServiceRequest) GetDevice() DeviceRequest` +`func (o *WritableServiceRequest) GetDevice() BriefDeviceRequest` GetDevice returns the Device field if non-nil, zero value otherwise. ### GetDeviceOk -`func (o *WritableServiceRequest) GetDeviceOk() (*DeviceRequest, bool)` +`func (o *WritableServiceRequest) GetDeviceOk() (*BriefDeviceRequest, 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 *WritableServiceRequest) SetDevice(v DeviceRequest)` +`func (o *WritableServiceRequest) SetDevice(v BriefDeviceRequest)` SetDevice sets Device field to given value. @@ -71,20 +71,20 @@ HasDevice returns a boolean if a field has been set. UnsetDevice ensures that no value is present for Device, not even an explicit nil ### GetVirtualMachine -`func (o *WritableServiceRequest) GetVirtualMachine() VirtualMachineRequest` +`func (o *WritableServiceRequest) GetVirtualMachine() BriefVirtualMachineRequest` GetVirtualMachine returns the VirtualMachine field if non-nil, zero value otherwise. ### GetVirtualMachineOk -`func (o *WritableServiceRequest) GetVirtualMachineOk() (*VirtualMachineRequest, bool)` +`func (o *WritableServiceRequest) GetVirtualMachineOk() (*BriefVirtualMachineRequest, bool)` GetVirtualMachineOk returns a tuple with the VirtualMachine field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVirtualMachine -`func (o *WritableServiceRequest) SetVirtualMachine(v VirtualMachineRequest)` +`func (o *WritableServiceRequest) SetVirtualMachine(v BriefVirtualMachineRequest)` SetVirtualMachine sets VirtualMachine field to given value. diff --git a/docs/WritableSiteRequest.md b/docs/WritableSiteRequest.md index d5fe57fa6..fbb616a48 100644 --- a/docs/WritableSiteRequest.md +++ b/docs/WritableSiteRequest.md @@ -6,10 +6,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | **string** | Full name of the site | **Slug** | **string** | | -**Status** | Pointer to [**PatchedWritableLocationRequestStatus**](PatchedWritableLocationRequestStatus.md) | | [optional] -**Region** | Pointer to [**NullableRegionRequest**](RegionRequest.md) | | [optional] -**Group** | Pointer to [**NullableSiteGroupRequest**](SiteGroupRequest.md) | | [optional] -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] +**Status** | Pointer to [**LocationStatusValue**](LocationStatusValue.md) | | [optional] +**Region** | Pointer to [**NullableBriefRegionRequest**](BriefRegionRequest.md) | | [optional] +**Group** | Pointer to [**NullableBriefSiteGroupRequest**](BriefSiteGroupRequest.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] **Facility** | Pointer to **string** | Local facility ID or description | [optional] **TimeZone** | Pointer to **NullableString** | | [optional] **Description** | Pointer to **string** | | [optional] @@ -83,20 +83,20 @@ SetSlug sets Slug field to given value. ### GetStatus -`func (o *WritableSiteRequest) GetStatus() PatchedWritableLocationRequestStatus` +`func (o *WritableSiteRequest) GetStatus() LocationStatusValue` GetStatus returns the Status field if non-nil, zero value otherwise. ### GetStatusOk -`func (o *WritableSiteRequest) GetStatusOk() (*PatchedWritableLocationRequestStatus, bool)` +`func (o *WritableSiteRequest) GetStatusOk() (*LocationStatusValue, 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 *WritableSiteRequest) SetStatus(v PatchedWritableLocationRequestStatus)` +`func (o *WritableSiteRequest) SetStatus(v LocationStatusValue)` SetStatus sets Status field to given value. @@ -108,20 +108,20 @@ HasStatus returns a boolean if a field has been set. ### GetRegion -`func (o *WritableSiteRequest) GetRegion() RegionRequest` +`func (o *WritableSiteRequest) GetRegion() BriefRegionRequest` GetRegion returns the Region field if non-nil, zero value otherwise. ### GetRegionOk -`func (o *WritableSiteRequest) GetRegionOk() (*RegionRequest, bool)` +`func (o *WritableSiteRequest) GetRegionOk() (*BriefRegionRequest, bool)` GetRegionOk returns a tuple with the Region field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRegion -`func (o *WritableSiteRequest) SetRegion(v RegionRequest)` +`func (o *WritableSiteRequest) SetRegion(v BriefRegionRequest)` SetRegion sets Region field to given value. @@ -143,20 +143,20 @@ HasRegion returns a boolean if a field has been set. UnsetRegion ensures that no value is present for Region, not even an explicit nil ### GetGroup -`func (o *WritableSiteRequest) GetGroup() SiteGroupRequest` +`func (o *WritableSiteRequest) GetGroup() BriefSiteGroupRequest` GetGroup returns the Group field if non-nil, zero value otherwise. ### GetGroupOk -`func (o *WritableSiteRequest) GetGroupOk() (*SiteGroupRequest, bool)` +`func (o *WritableSiteRequest) GetGroupOk() (*BriefSiteGroupRequest, bool)` GetGroupOk returns a tuple with the Group field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetGroup -`func (o *WritableSiteRequest) SetGroup(v SiteGroupRequest)` +`func (o *WritableSiteRequest) SetGroup(v BriefSiteGroupRequest)` SetGroup sets Group field to given value. @@ -178,20 +178,20 @@ HasGroup returns a boolean if a field has been set. UnsetGroup ensures that no value is present for Group, not even an explicit nil ### GetTenant -`func (o *WritableSiteRequest) GetTenant() TenantRequest` +`func (o *WritableSiteRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *WritableSiteRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *WritableSiteRequest) GetTenantOk() (*BriefTenantRequest, 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 *WritableSiteRequest) SetTenant(v TenantRequest)` +`func (o *WritableSiteRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. diff --git a/docs/WritableTunnelRequest.md b/docs/WritableTunnelRequest.md index 074647508..68b5e21ad 100644 --- a/docs/WritableTunnelRequest.md +++ b/docs/WritableTunnelRequest.md @@ -6,10 +6,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | **string** | | **Status** | Pointer to [**PatchedWritableTunnelRequestStatus**](PatchedWritableTunnelRequestStatus.md) | | [optional] -**Group** | Pointer to [**NullableTunnelGroupRequest**](TunnelGroupRequest.md) | | [optional] +**Group** | Pointer to [**NullableBriefTunnelGroupRequest**](BriefTunnelGroupRequest.md) | | [optional] **Encapsulation** | [**PatchedWritableTunnelRequestEncapsulation**](PatchedWritableTunnelRequestEncapsulation.md) | | -**IpsecProfile** | Pointer to [**NullableIPSecProfileRequest**](IPSecProfileRequest.md) | | [optional] -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] +**IpsecProfile** | Pointer to [**NullableBriefIPSecProfileRequest**](BriefIPSecProfileRequest.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] **TunnelId** | Pointer to **NullableInt64** | | [optional] **Description** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] @@ -82,20 +82,20 @@ HasStatus returns a boolean if a field has been set. ### GetGroup -`func (o *WritableTunnelRequest) GetGroup() TunnelGroupRequest` +`func (o *WritableTunnelRequest) GetGroup() BriefTunnelGroupRequest` GetGroup returns the Group field if non-nil, zero value otherwise. ### GetGroupOk -`func (o *WritableTunnelRequest) GetGroupOk() (*TunnelGroupRequest, bool)` +`func (o *WritableTunnelRequest) GetGroupOk() (*BriefTunnelGroupRequest, bool)` GetGroupOk returns a tuple with the Group field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetGroup -`func (o *WritableTunnelRequest) SetGroup(v TunnelGroupRequest)` +`func (o *WritableTunnelRequest) SetGroup(v BriefTunnelGroupRequest)` SetGroup sets Group field to given value. @@ -137,20 +137,20 @@ SetEncapsulation sets Encapsulation field to given value. ### GetIpsecProfile -`func (o *WritableTunnelRequest) GetIpsecProfile() IPSecProfileRequest` +`func (o *WritableTunnelRequest) GetIpsecProfile() BriefIPSecProfileRequest` GetIpsecProfile returns the IpsecProfile field if non-nil, zero value otherwise. ### GetIpsecProfileOk -`func (o *WritableTunnelRequest) GetIpsecProfileOk() (*IPSecProfileRequest, bool)` +`func (o *WritableTunnelRequest) GetIpsecProfileOk() (*BriefIPSecProfileRequest, bool)` GetIpsecProfileOk returns a tuple with the IpsecProfile field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIpsecProfile -`func (o *WritableTunnelRequest) SetIpsecProfile(v IPSecProfileRequest)` +`func (o *WritableTunnelRequest) SetIpsecProfile(v BriefIPSecProfileRequest)` SetIpsecProfile sets IpsecProfile field to given value. @@ -172,20 +172,20 @@ HasIpsecProfile returns a boolean if a field has been set. UnsetIpsecProfile ensures that no value is present for IpsecProfile, not even an explicit nil ### GetTenant -`func (o *WritableTunnelRequest) GetTenant() TenantRequest` +`func (o *WritableTunnelRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *WritableTunnelRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *WritableTunnelRequest) GetTenantOk() (*BriefTenantRequest, 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 *WritableTunnelRequest) SetTenant(v TenantRequest)` +`func (o *WritableTunnelRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. diff --git a/docs/WritableTunnelTerminationRequest.md b/docs/WritableTunnelTerminationRequest.md index 99cb6a025..fc0483773 100644 --- a/docs/WritableTunnelTerminationRequest.md +++ b/docs/WritableTunnelTerminationRequest.md @@ -4,11 +4,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Tunnel** | [**TunnelRequest**](TunnelRequest.md) | | +**Tunnel** | [**BriefTunnelRequest**](BriefTunnelRequest.md) | | **Role** | Pointer to [**PatchedWritableTunnelTerminationRequestRole**](PatchedWritableTunnelTerminationRequestRole.md) | | [optional] **TerminationType** | **string** | | **TerminationId** | **NullableInt64** | | -**OutsideIp** | Pointer to [**NullableIPAddressRequest**](IPAddressRequest.md) | | [optional] +**OutsideIp** | Pointer to [**NullableBriefIPAddressRequest**](BriefIPAddressRequest.md) | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] @@ -16,7 +16,7 @@ Name | Type | Description | Notes ### NewWritableTunnelTerminationRequest -`func NewWritableTunnelTerminationRequest(tunnel TunnelRequest, terminationType string, terminationId NullableInt64, ) *WritableTunnelTerminationRequest` +`func NewWritableTunnelTerminationRequest(tunnel BriefTunnelRequest, terminationType string, terminationId NullableInt64, ) *WritableTunnelTerminationRequest` NewWritableTunnelTerminationRequest instantiates a new WritableTunnelTerminationRequest object This constructor will assign default values to properties that have it defined, @@ -33,20 +33,20 @@ but it doesn't guarantee that properties required by API are set ### GetTunnel -`func (o *WritableTunnelTerminationRequest) GetTunnel() TunnelRequest` +`func (o *WritableTunnelTerminationRequest) GetTunnel() BriefTunnelRequest` GetTunnel returns the Tunnel field if non-nil, zero value otherwise. ### GetTunnelOk -`func (o *WritableTunnelTerminationRequest) GetTunnelOk() (*TunnelRequest, bool)` +`func (o *WritableTunnelTerminationRequest) GetTunnelOk() (*BriefTunnelRequest, bool)` GetTunnelOk returns a tuple with the Tunnel field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTunnel -`func (o *WritableTunnelTerminationRequest) SetTunnel(v TunnelRequest)` +`func (o *WritableTunnelTerminationRequest) SetTunnel(v BriefTunnelRequest)` SetTunnel sets Tunnel field to given value. @@ -128,20 +128,20 @@ SetTerminationId sets TerminationId field to given value. UnsetTerminationId ensures that no value is present for TerminationId, not even an explicit nil ### GetOutsideIp -`func (o *WritableTunnelTerminationRequest) GetOutsideIp() IPAddressRequest` +`func (o *WritableTunnelTerminationRequest) GetOutsideIp() BriefIPAddressRequest` GetOutsideIp returns the OutsideIp field if non-nil, zero value otherwise. ### GetOutsideIpOk -`func (o *WritableTunnelTerminationRequest) GetOutsideIpOk() (*IPAddressRequest, bool)` +`func (o *WritableTunnelTerminationRequest) GetOutsideIpOk() (*BriefIPAddressRequest, bool)` GetOutsideIpOk returns a tuple with the OutsideIp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetOutsideIp -`func (o *WritableTunnelTerminationRequest) SetOutsideIp(v IPAddressRequest)` +`func (o *WritableTunnelTerminationRequest) SetOutsideIp(v BriefIPAddressRequest)` SetOutsideIp sets OutsideIp field to given value. diff --git a/docs/WritableVLANRequest.md b/docs/WritableVLANRequest.md index e9b762013..cfe381a06 100644 --- a/docs/WritableVLANRequest.md +++ b/docs/WritableVLANRequest.md @@ -4,13 +4,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Site** | Pointer to [**NullableSiteRequest**](SiteRequest.md) | | [optional] -**Group** | Pointer to [**NullableVLANGroupRequest**](VLANGroupRequest.md) | | [optional] +**Site** | Pointer to [**NullableBriefSiteRequest**](BriefSiteRequest.md) | | [optional] +**Group** | Pointer to [**NullableBriefVLANGroupRequest**](BriefVLANGroupRequest.md) | | [optional] **Vid** | **int32** | Numeric VLAN ID (1-4094) | **Name** | **string** | | -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] **Status** | Pointer to [**PatchedWritableVLANRequestStatus**](PatchedWritableVLANRequestStatus.md) | | [optional] -**Role** | Pointer to [**NullableRoleRequest**](RoleRequest.md) | | [optional] +**Role** | Pointer to [**NullableBriefRoleRequest**](BriefRoleRequest.md) | | [optional] **Description** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] @@ -37,20 +37,20 @@ but it doesn't guarantee that properties required by API are set ### GetSite -`func (o *WritableVLANRequest) GetSite() SiteRequest` +`func (o *WritableVLANRequest) GetSite() BriefSiteRequest` GetSite returns the Site field if non-nil, zero value otherwise. ### GetSiteOk -`func (o *WritableVLANRequest) GetSiteOk() (*SiteRequest, bool)` +`func (o *WritableVLANRequest) GetSiteOk() (*BriefSiteRequest, bool)` GetSiteOk returns a tuple with the Site field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSite -`func (o *WritableVLANRequest) SetSite(v SiteRequest)` +`func (o *WritableVLANRequest) SetSite(v BriefSiteRequest)` SetSite sets Site field to given value. @@ -72,20 +72,20 @@ HasSite returns a boolean if a field has been set. UnsetSite ensures that no value is present for Site, not even an explicit nil ### GetGroup -`func (o *WritableVLANRequest) GetGroup() VLANGroupRequest` +`func (o *WritableVLANRequest) GetGroup() BriefVLANGroupRequest` GetGroup returns the Group field if non-nil, zero value otherwise. ### GetGroupOk -`func (o *WritableVLANRequest) GetGroupOk() (*VLANGroupRequest, bool)` +`func (o *WritableVLANRequest) GetGroupOk() (*BriefVLANGroupRequest, bool)` GetGroupOk returns a tuple with the Group field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetGroup -`func (o *WritableVLANRequest) SetGroup(v VLANGroupRequest)` +`func (o *WritableVLANRequest) SetGroup(v BriefVLANGroupRequest)` SetGroup sets Group field to given value. @@ -147,20 +147,20 @@ SetName sets Name field to given value. ### GetTenant -`func (o *WritableVLANRequest) GetTenant() TenantRequest` +`func (o *WritableVLANRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *WritableVLANRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *WritableVLANRequest) GetTenantOk() (*BriefTenantRequest, 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 *WritableVLANRequest) SetTenant(v TenantRequest)` +`func (o *WritableVLANRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. @@ -207,20 +207,20 @@ HasStatus returns a boolean if a field has been set. ### GetRole -`func (o *WritableVLANRequest) GetRole() RoleRequest` +`func (o *WritableVLANRequest) GetRole() BriefRoleRequest` GetRole returns the Role field if non-nil, zero value otherwise. ### GetRoleOk -`func (o *WritableVLANRequest) GetRoleOk() (*RoleRequest, bool)` +`func (o *WritableVLANRequest) GetRoleOk() (*BriefRoleRequest, 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 *WritableVLANRequest) SetRole(v RoleRequest)` +`func (o *WritableVLANRequest) SetRole(v BriefRoleRequest)` SetRole sets Role field to given value. diff --git a/docs/WritableVMInterfaceRequest.md b/docs/WritableVMInterfaceRequest.md index 9177b40ec..a617cbe51 100644 --- a/docs/WritableVMInterfaceRequest.md +++ b/docs/WritableVMInterfaceRequest.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**VirtualMachine** | [**VirtualMachineRequest**](VirtualMachineRequest.md) | | +**VirtualMachine** | [**BriefVirtualMachineRequest**](BriefVirtualMachineRequest.md) | | **Name** | **string** | | **Enabled** | Pointer to **bool** | | [optional] **Parent** | Pointer to **NullableInt32** | | [optional] @@ -13,9 +13,9 @@ Name | Type | Description | Notes **MacAddress** | Pointer to **NullableString** | | [optional] **Description** | Pointer to **string** | | [optional] **Mode** | Pointer to [**PatchedWritableInterfaceRequestMode**](PatchedWritableInterfaceRequestMode.md) | | [optional] -**UntaggedVlan** | Pointer to [**NullableVLANRequest**](VLANRequest.md) | | [optional] +**UntaggedVlan** | Pointer to [**NullableBriefVLANRequest**](BriefVLANRequest.md) | | [optional] **TaggedVlans** | Pointer to **[]int32** | | [optional] -**Vrf** | Pointer to [**NullableVRFRequest**](VRFRequest.md) | | [optional] +**Vrf** | Pointer to [**NullableBriefVRFRequest**](BriefVRFRequest.md) | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] @@ -23,7 +23,7 @@ Name | Type | Description | Notes ### NewWritableVMInterfaceRequest -`func NewWritableVMInterfaceRequest(virtualMachine VirtualMachineRequest, name string, ) *WritableVMInterfaceRequest` +`func NewWritableVMInterfaceRequest(virtualMachine BriefVirtualMachineRequest, name string, ) *WritableVMInterfaceRequest` NewWritableVMInterfaceRequest instantiates a new WritableVMInterfaceRequest object This constructor will assign default values to properties that have it defined, @@ -40,20 +40,20 @@ but it doesn't guarantee that properties required by API are set ### GetVirtualMachine -`func (o *WritableVMInterfaceRequest) GetVirtualMachine() VirtualMachineRequest` +`func (o *WritableVMInterfaceRequest) GetVirtualMachine() BriefVirtualMachineRequest` GetVirtualMachine returns the VirtualMachine field if non-nil, zero value otherwise. ### GetVirtualMachineOk -`func (o *WritableVMInterfaceRequest) GetVirtualMachineOk() (*VirtualMachineRequest, bool)` +`func (o *WritableVMInterfaceRequest) GetVirtualMachineOk() (*BriefVirtualMachineRequest, bool)` GetVirtualMachineOk returns a tuple with the VirtualMachine field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVirtualMachine -`func (o *WritableVMInterfaceRequest) SetVirtualMachine(v VirtualMachineRequest)` +`func (o *WritableVMInterfaceRequest) SetVirtualMachine(v BriefVirtualMachineRequest)` SetVirtualMachine sets VirtualMachine field to given value. @@ -295,20 +295,20 @@ HasMode returns a boolean if a field has been set. ### GetUntaggedVlan -`func (o *WritableVMInterfaceRequest) GetUntaggedVlan() VLANRequest` +`func (o *WritableVMInterfaceRequest) GetUntaggedVlan() BriefVLANRequest` GetUntaggedVlan returns the UntaggedVlan field if non-nil, zero value otherwise. ### GetUntaggedVlanOk -`func (o *WritableVMInterfaceRequest) GetUntaggedVlanOk() (*VLANRequest, bool)` +`func (o *WritableVMInterfaceRequest) GetUntaggedVlanOk() (*BriefVLANRequest, bool)` GetUntaggedVlanOk returns a tuple with the UntaggedVlan field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUntaggedVlan -`func (o *WritableVMInterfaceRequest) SetUntaggedVlan(v VLANRequest)` +`func (o *WritableVMInterfaceRequest) SetUntaggedVlan(v BriefVLANRequest)` SetUntaggedVlan sets UntaggedVlan field to given value. @@ -355,20 +355,20 @@ HasTaggedVlans returns a boolean if a field has been set. ### GetVrf -`func (o *WritableVMInterfaceRequest) GetVrf() VRFRequest` +`func (o *WritableVMInterfaceRequest) GetVrf() BriefVRFRequest` GetVrf returns the Vrf field if non-nil, zero value otherwise. ### GetVrfOk -`func (o *WritableVMInterfaceRequest) GetVrfOk() (*VRFRequest, bool)` +`func (o *WritableVMInterfaceRequest) GetVrfOk() (*BriefVRFRequest, bool)` GetVrfOk returns a tuple with the Vrf field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVrf -`func (o *WritableVMInterfaceRequest) SetVrf(v VRFRequest)` +`func (o *WritableVMInterfaceRequest) SetVrf(v BriefVRFRequest)` SetVrf sets Vrf field to given value. diff --git a/docs/WritableVirtualDeviceContextRequest.md b/docs/WritableVirtualDeviceContextRequest.md index 30df18d9a..a945ebeae 100644 --- a/docs/WritableVirtualDeviceContextRequest.md +++ b/docs/WritableVirtualDeviceContextRequest.md @@ -5,11 +5,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | **string** | | -**Device** | [**DeviceRequest**](DeviceRequest.md) | | +**Device** | [**BriefDeviceRequest**](BriefDeviceRequest.md) | | **Identifier** | Pointer to **NullableInt32** | | [optional] -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] -**PrimaryIp4** | Pointer to [**NullableIPAddressRequest**](IPAddressRequest.md) | | [optional] -**PrimaryIp6** | Pointer to [**NullableIPAddressRequest**](IPAddressRequest.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] +**PrimaryIp4** | Pointer to [**NullableBriefIPAddressRequest**](BriefIPAddressRequest.md) | | [optional] +**PrimaryIp6** | Pointer to [**NullableBriefIPAddressRequest**](BriefIPAddressRequest.md) | | [optional] **Status** | [**PatchedWritableVirtualDeviceContextRequestStatus**](PatchedWritableVirtualDeviceContextRequestStatus.md) | | **Description** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] @@ -20,7 +20,7 @@ Name | Type | Description | Notes ### NewWritableVirtualDeviceContextRequest -`func NewWritableVirtualDeviceContextRequest(name string, device DeviceRequest, status PatchedWritableVirtualDeviceContextRequestStatus, ) *WritableVirtualDeviceContextRequest` +`func NewWritableVirtualDeviceContextRequest(name string, device BriefDeviceRequest, status PatchedWritableVirtualDeviceContextRequestStatus, ) *WritableVirtualDeviceContextRequest` NewWritableVirtualDeviceContextRequest instantiates a new WritableVirtualDeviceContextRequest object This constructor will assign default values to properties that have it defined, @@ -57,20 +57,20 @@ SetName sets Name field to given value. ### GetDevice -`func (o *WritableVirtualDeviceContextRequest) GetDevice() DeviceRequest` +`func (o *WritableVirtualDeviceContextRequest) GetDevice() BriefDeviceRequest` GetDevice returns the Device field if non-nil, zero value otherwise. ### GetDeviceOk -`func (o *WritableVirtualDeviceContextRequest) GetDeviceOk() (*DeviceRequest, bool)` +`func (o *WritableVirtualDeviceContextRequest) GetDeviceOk() (*BriefDeviceRequest, 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 *WritableVirtualDeviceContextRequest) SetDevice(v DeviceRequest)` +`func (o *WritableVirtualDeviceContextRequest) SetDevice(v BriefDeviceRequest)` SetDevice sets Device field to given value. @@ -112,20 +112,20 @@ HasIdentifier returns a boolean if a field has been set. UnsetIdentifier ensures that no value is present for Identifier, not even an explicit nil ### GetTenant -`func (o *WritableVirtualDeviceContextRequest) GetTenant() TenantRequest` +`func (o *WritableVirtualDeviceContextRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *WritableVirtualDeviceContextRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *WritableVirtualDeviceContextRequest) GetTenantOk() (*BriefTenantRequest, 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 *WritableVirtualDeviceContextRequest) SetTenant(v TenantRequest)` +`func (o *WritableVirtualDeviceContextRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. @@ -147,20 +147,20 @@ HasTenant returns a boolean if a field has been set. UnsetTenant ensures that no value is present for Tenant, not even an explicit nil ### GetPrimaryIp4 -`func (o *WritableVirtualDeviceContextRequest) GetPrimaryIp4() IPAddressRequest` +`func (o *WritableVirtualDeviceContextRequest) GetPrimaryIp4() BriefIPAddressRequest` GetPrimaryIp4 returns the PrimaryIp4 field if non-nil, zero value otherwise. ### GetPrimaryIp4Ok -`func (o *WritableVirtualDeviceContextRequest) GetPrimaryIp4Ok() (*IPAddressRequest, bool)` +`func (o *WritableVirtualDeviceContextRequest) GetPrimaryIp4Ok() (*BriefIPAddressRequest, 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 *WritableVirtualDeviceContextRequest) SetPrimaryIp4(v IPAddressRequest)` +`func (o *WritableVirtualDeviceContextRequest) SetPrimaryIp4(v BriefIPAddressRequest)` SetPrimaryIp4 sets PrimaryIp4 field to given value. @@ -182,20 +182,20 @@ HasPrimaryIp4 returns a boolean if a field has been set. UnsetPrimaryIp4 ensures that no value is present for PrimaryIp4, not even an explicit nil ### GetPrimaryIp6 -`func (o *WritableVirtualDeviceContextRequest) GetPrimaryIp6() IPAddressRequest` +`func (o *WritableVirtualDeviceContextRequest) GetPrimaryIp6() BriefIPAddressRequest` GetPrimaryIp6 returns the PrimaryIp6 field if non-nil, zero value otherwise. ### GetPrimaryIp6Ok -`func (o *WritableVirtualDeviceContextRequest) GetPrimaryIp6Ok() (*IPAddressRequest, bool)` +`func (o *WritableVirtualDeviceContextRequest) GetPrimaryIp6Ok() (*BriefIPAddressRequest, 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 *WritableVirtualDeviceContextRequest) SetPrimaryIp6(v IPAddressRequest)` +`func (o *WritableVirtualDeviceContextRequest) SetPrimaryIp6(v BriefIPAddressRequest)` SetPrimaryIp6 sets PrimaryIp6 field to given value. diff --git a/docs/WritableVirtualMachineWithConfigContextRequest.md b/docs/WritableVirtualMachineWithConfigContextRequest.md index c0ebf4e16..c69283c3c 100644 --- a/docs/WritableVirtualMachineWithConfigContextRequest.md +++ b/docs/WritableVirtualMachineWithConfigContextRequest.md @@ -5,21 +5,22 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | **string** | | -**Status** | Pointer to [**PatchedWritableModuleRequestStatus**](PatchedWritableModuleRequestStatus.md) | | [optional] -**Site** | Pointer to [**NullableSiteRequest**](SiteRequest.md) | | [optional] -**Cluster** | Pointer to [**NullableClusterRequest**](ClusterRequest.md) | | [optional] -**Device** | Pointer to [**NullableDeviceRequest**](DeviceRequest.md) | | [optional] -**Role** | Pointer to [**NullableDeviceRoleRequest**](DeviceRoleRequest.md) | | [optional] -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] -**Platform** | Pointer to [**NullablePlatformRequest**](PlatformRequest.md) | | [optional] -**PrimaryIp4** | Pointer to [**NullableIPAddressRequest**](IPAddressRequest.md) | | [optional] -**PrimaryIp6** | Pointer to [**NullableIPAddressRequest**](IPAddressRequest.md) | | [optional] +**Status** | Pointer to [**ModuleStatusValue**](ModuleStatusValue.md) | | [optional] +**Site** | Pointer to [**NullableBriefSiteRequest**](BriefSiteRequest.md) | | [optional] +**Cluster** | Pointer to [**NullableBriefClusterRequest**](BriefClusterRequest.md) | | [optional] +**Device** | Pointer to [**NullableBriefDeviceRequest**](BriefDeviceRequest.md) | | [optional] +**Serial** | Pointer to **string** | | [optional] +**Role** | Pointer to [**NullableBriefDeviceRoleRequest**](BriefDeviceRoleRequest.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] +**Platform** | Pointer to [**NullableBriefPlatformRequest**](BriefPlatformRequest.md) | | [optional] +**PrimaryIp4** | Pointer to [**NullableBriefIPAddressRequest**](BriefIPAddressRequest.md) | | [optional] +**PrimaryIp6** | Pointer to [**NullableBriefIPAddressRequest**](BriefIPAddressRequest.md) | | [optional] **Vcpus** | Pointer to **NullableFloat64** | | [optional] **Memory** | Pointer to **NullableInt32** | | [optional] **Disk** | Pointer to **NullableInt32** | | [optional] **Description** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] -**ConfigTemplate** | Pointer to [**NullableConfigTemplateRequest**](ConfigTemplateRequest.md) | | [optional] +**ConfigTemplate** | Pointer to [**NullableBriefConfigTemplateRequest**](BriefConfigTemplateRequest.md) | | [optional] **LocalContextData** | Pointer to **interface{}** | Local config context data takes precedence over source contexts in the final rendered config context | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] **CustomFields** | Pointer to **map[string]interface{}** | | [optional] @@ -65,20 +66,20 @@ SetName sets Name field to given value. ### GetStatus -`func (o *WritableVirtualMachineWithConfigContextRequest) GetStatus() PatchedWritableModuleRequestStatus` +`func (o *WritableVirtualMachineWithConfigContextRequest) GetStatus() ModuleStatusValue` GetStatus returns the Status field if non-nil, zero value otherwise. ### GetStatusOk -`func (o *WritableVirtualMachineWithConfigContextRequest) GetStatusOk() (*PatchedWritableModuleRequestStatus, bool)` +`func (o *WritableVirtualMachineWithConfigContextRequest) GetStatusOk() (*ModuleStatusValue, 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 *WritableVirtualMachineWithConfigContextRequest) SetStatus(v PatchedWritableModuleRequestStatus)` +`func (o *WritableVirtualMachineWithConfigContextRequest) SetStatus(v ModuleStatusValue)` SetStatus sets Status field to given value. @@ -90,20 +91,20 @@ HasStatus returns a boolean if a field has been set. ### GetSite -`func (o *WritableVirtualMachineWithConfigContextRequest) GetSite() SiteRequest` +`func (o *WritableVirtualMachineWithConfigContextRequest) GetSite() BriefSiteRequest` GetSite returns the Site field if non-nil, zero value otherwise. ### GetSiteOk -`func (o *WritableVirtualMachineWithConfigContextRequest) GetSiteOk() (*SiteRequest, bool)` +`func (o *WritableVirtualMachineWithConfigContextRequest) GetSiteOk() (*BriefSiteRequest, bool)` GetSiteOk returns a tuple with the Site field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSite -`func (o *WritableVirtualMachineWithConfigContextRequest) SetSite(v SiteRequest)` +`func (o *WritableVirtualMachineWithConfigContextRequest) SetSite(v BriefSiteRequest)` SetSite sets Site field to given value. @@ -125,20 +126,20 @@ HasSite returns a boolean if a field has been set. UnsetSite ensures that no value is present for Site, not even an explicit nil ### GetCluster -`func (o *WritableVirtualMachineWithConfigContextRequest) GetCluster() ClusterRequest` +`func (o *WritableVirtualMachineWithConfigContextRequest) GetCluster() BriefClusterRequest` GetCluster returns the Cluster field if non-nil, zero value otherwise. ### GetClusterOk -`func (o *WritableVirtualMachineWithConfigContextRequest) GetClusterOk() (*ClusterRequest, bool)` +`func (o *WritableVirtualMachineWithConfigContextRequest) GetClusterOk() (*BriefClusterRequest, bool)` GetClusterOk returns a tuple with the Cluster field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCluster -`func (o *WritableVirtualMachineWithConfigContextRequest) SetCluster(v ClusterRequest)` +`func (o *WritableVirtualMachineWithConfigContextRequest) SetCluster(v BriefClusterRequest)` SetCluster sets Cluster field to given value. @@ -160,20 +161,20 @@ HasCluster returns a boolean if a field has been set. UnsetCluster ensures that no value is present for Cluster, not even an explicit nil ### GetDevice -`func (o *WritableVirtualMachineWithConfigContextRequest) GetDevice() DeviceRequest` +`func (o *WritableVirtualMachineWithConfigContextRequest) GetDevice() BriefDeviceRequest` GetDevice returns the Device field if non-nil, zero value otherwise. ### GetDeviceOk -`func (o *WritableVirtualMachineWithConfigContextRequest) GetDeviceOk() (*DeviceRequest, bool)` +`func (o *WritableVirtualMachineWithConfigContextRequest) GetDeviceOk() (*BriefDeviceRequest, 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 *WritableVirtualMachineWithConfigContextRequest) SetDevice(v DeviceRequest)` +`func (o *WritableVirtualMachineWithConfigContextRequest) SetDevice(v BriefDeviceRequest)` SetDevice sets Device field to given value. @@ -193,22 +194,47 @@ HasDevice returns a boolean if a field has been set. `func (o *WritableVirtualMachineWithConfigContextRequest) UnsetDevice()` UnsetDevice ensures that no value is present for Device, not even an explicit nil +### GetSerial + +`func (o *WritableVirtualMachineWithConfigContextRequest) GetSerial() string` + +GetSerial returns the Serial field if non-nil, zero value otherwise. + +### GetSerialOk + +`func (o *WritableVirtualMachineWithConfigContextRequest) GetSerialOk() (*string, bool)` + +GetSerialOk returns a tuple with the Serial field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSerial + +`func (o *WritableVirtualMachineWithConfigContextRequest) SetSerial(v string)` + +SetSerial sets Serial field to given value. + +### HasSerial + +`func (o *WritableVirtualMachineWithConfigContextRequest) HasSerial() bool` + +HasSerial returns a boolean if a field has been set. + ### GetRole -`func (o *WritableVirtualMachineWithConfigContextRequest) GetRole() DeviceRoleRequest` +`func (o *WritableVirtualMachineWithConfigContextRequest) GetRole() BriefDeviceRoleRequest` GetRole returns the Role field if non-nil, zero value otherwise. ### GetRoleOk -`func (o *WritableVirtualMachineWithConfigContextRequest) GetRoleOk() (*DeviceRoleRequest, bool)` +`func (o *WritableVirtualMachineWithConfigContextRequest) GetRoleOk() (*BriefDeviceRoleRequest, 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 *WritableVirtualMachineWithConfigContextRequest) SetRole(v DeviceRoleRequest)` +`func (o *WritableVirtualMachineWithConfigContextRequest) SetRole(v BriefDeviceRoleRequest)` SetRole sets Role field to given value. @@ -230,20 +256,20 @@ HasRole returns a boolean if a field has been set. UnsetRole ensures that no value is present for Role, not even an explicit nil ### GetTenant -`func (o *WritableVirtualMachineWithConfigContextRequest) GetTenant() TenantRequest` +`func (o *WritableVirtualMachineWithConfigContextRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *WritableVirtualMachineWithConfigContextRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *WritableVirtualMachineWithConfigContextRequest) GetTenantOk() (*BriefTenantRequest, 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 *WritableVirtualMachineWithConfigContextRequest) SetTenant(v TenantRequest)` +`func (o *WritableVirtualMachineWithConfigContextRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. @@ -265,20 +291,20 @@ HasTenant returns a boolean if a field has been set. UnsetTenant ensures that no value is present for Tenant, not even an explicit nil ### GetPlatform -`func (o *WritableVirtualMachineWithConfigContextRequest) GetPlatform() PlatformRequest` +`func (o *WritableVirtualMachineWithConfigContextRequest) GetPlatform() BriefPlatformRequest` GetPlatform returns the Platform field if non-nil, zero value otherwise. ### GetPlatformOk -`func (o *WritableVirtualMachineWithConfigContextRequest) GetPlatformOk() (*PlatformRequest, bool)` +`func (o *WritableVirtualMachineWithConfigContextRequest) GetPlatformOk() (*BriefPlatformRequest, bool)` GetPlatformOk returns a tuple with the Platform field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPlatform -`func (o *WritableVirtualMachineWithConfigContextRequest) SetPlatform(v PlatformRequest)` +`func (o *WritableVirtualMachineWithConfigContextRequest) SetPlatform(v BriefPlatformRequest)` SetPlatform sets Platform field to given value. @@ -300,20 +326,20 @@ HasPlatform returns a boolean if a field has been set. UnsetPlatform ensures that no value is present for Platform, not even an explicit nil ### GetPrimaryIp4 -`func (o *WritableVirtualMachineWithConfigContextRequest) GetPrimaryIp4() IPAddressRequest` +`func (o *WritableVirtualMachineWithConfigContextRequest) GetPrimaryIp4() BriefIPAddressRequest` GetPrimaryIp4 returns the PrimaryIp4 field if non-nil, zero value otherwise. ### GetPrimaryIp4Ok -`func (o *WritableVirtualMachineWithConfigContextRequest) GetPrimaryIp4Ok() (*IPAddressRequest, bool)` +`func (o *WritableVirtualMachineWithConfigContextRequest) GetPrimaryIp4Ok() (*BriefIPAddressRequest, 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 *WritableVirtualMachineWithConfigContextRequest) SetPrimaryIp4(v IPAddressRequest)` +`func (o *WritableVirtualMachineWithConfigContextRequest) SetPrimaryIp4(v BriefIPAddressRequest)` SetPrimaryIp4 sets PrimaryIp4 field to given value. @@ -335,20 +361,20 @@ HasPrimaryIp4 returns a boolean if a field has been set. UnsetPrimaryIp4 ensures that no value is present for PrimaryIp4, not even an explicit nil ### GetPrimaryIp6 -`func (o *WritableVirtualMachineWithConfigContextRequest) GetPrimaryIp6() IPAddressRequest` +`func (o *WritableVirtualMachineWithConfigContextRequest) GetPrimaryIp6() BriefIPAddressRequest` GetPrimaryIp6 returns the PrimaryIp6 field if non-nil, zero value otherwise. ### GetPrimaryIp6Ok -`func (o *WritableVirtualMachineWithConfigContextRequest) GetPrimaryIp6Ok() (*IPAddressRequest, bool)` +`func (o *WritableVirtualMachineWithConfigContextRequest) GetPrimaryIp6Ok() (*BriefIPAddressRequest, 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 *WritableVirtualMachineWithConfigContextRequest) SetPrimaryIp6(v IPAddressRequest)` +`func (o *WritableVirtualMachineWithConfigContextRequest) SetPrimaryIp6(v BriefIPAddressRequest)` SetPrimaryIp6 sets PrimaryIp6 field to given value. @@ -525,20 +551,20 @@ HasComments returns a boolean if a field has been set. ### GetConfigTemplate -`func (o *WritableVirtualMachineWithConfigContextRequest) GetConfigTemplate() ConfigTemplateRequest` +`func (o *WritableVirtualMachineWithConfigContextRequest) GetConfigTemplate() BriefConfigTemplateRequest` GetConfigTemplate returns the ConfigTemplate field if non-nil, zero value otherwise. ### GetConfigTemplateOk -`func (o *WritableVirtualMachineWithConfigContextRequest) GetConfigTemplateOk() (*ConfigTemplateRequest, bool)` +`func (o *WritableVirtualMachineWithConfigContextRequest) GetConfigTemplateOk() (*BriefConfigTemplateRequest, bool)` GetConfigTemplateOk returns a tuple with the ConfigTemplate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetConfigTemplate -`func (o *WritableVirtualMachineWithConfigContextRequest) SetConfigTemplate(v ConfigTemplateRequest)` +`func (o *WritableVirtualMachineWithConfigContextRequest) SetConfigTemplate(v BriefConfigTemplateRequest)` SetConfigTemplate sets ConfigTemplate field to given value. diff --git a/docs/WritableWirelessLANRequest.md b/docs/WritableWirelessLANRequest.md index 2a85bd219..d78e11b41 100644 --- a/docs/WritableWirelessLANRequest.md +++ b/docs/WritableWirelessLANRequest.md @@ -6,12 +6,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Ssid** | **string** | | **Description** | Pointer to **string** | | [optional] -**Group** | Pointer to [**NullableWirelessLANGroupRequest**](WirelessLANGroupRequest.md) | | [optional] +**Group** | Pointer to [**NullableBriefWirelessLANGroupRequest**](BriefWirelessLANGroupRequest.md) | | [optional] **Status** | Pointer to [**PatchedWritableWirelessLANRequestStatus**](PatchedWritableWirelessLANRequestStatus.md) | | [optional] -**Vlan** | Pointer to [**NullableVLANRequest**](VLANRequest.md) | | [optional] -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] -**AuthType** | Pointer to [**AuthenticationType1**](AuthenticationType1.md) | | [optional] -**AuthCipher** | Pointer to [**AuthenticationCipher**](AuthenticationCipher.md) | | [optional] +**Vlan** | Pointer to [**NullableBriefVLANRequest**](BriefVLANRequest.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] +**AuthType** | Pointer to [**AuthenticationType3**](AuthenticationType3.md) | | [optional] +**AuthCipher** | Pointer to [**AuthenticationCipher1**](AuthenticationCipher1.md) | | [optional] **AuthPsk** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] @@ -83,20 +83,20 @@ HasDescription returns a boolean if a field has been set. ### GetGroup -`func (o *WritableWirelessLANRequest) GetGroup() WirelessLANGroupRequest` +`func (o *WritableWirelessLANRequest) GetGroup() BriefWirelessLANGroupRequest` GetGroup returns the Group field if non-nil, zero value otherwise. ### GetGroupOk -`func (o *WritableWirelessLANRequest) GetGroupOk() (*WirelessLANGroupRequest, bool)` +`func (o *WritableWirelessLANRequest) GetGroupOk() (*BriefWirelessLANGroupRequest, bool)` GetGroupOk returns a tuple with the Group field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetGroup -`func (o *WritableWirelessLANRequest) SetGroup(v WirelessLANGroupRequest)` +`func (o *WritableWirelessLANRequest) SetGroup(v BriefWirelessLANGroupRequest)` SetGroup sets Group field to given value. @@ -143,20 +143,20 @@ HasStatus returns a boolean if a field has been set. ### GetVlan -`func (o *WritableWirelessLANRequest) GetVlan() VLANRequest` +`func (o *WritableWirelessLANRequest) GetVlan() BriefVLANRequest` GetVlan returns the Vlan field if non-nil, zero value otherwise. ### GetVlanOk -`func (o *WritableWirelessLANRequest) GetVlanOk() (*VLANRequest, bool)` +`func (o *WritableWirelessLANRequest) GetVlanOk() (*BriefVLANRequest, 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 *WritableWirelessLANRequest) SetVlan(v VLANRequest)` +`func (o *WritableWirelessLANRequest) SetVlan(v BriefVLANRequest)` SetVlan sets Vlan field to given value. @@ -178,20 +178,20 @@ HasVlan returns a boolean if a field has been set. UnsetVlan ensures that no value is present for Vlan, not even an explicit nil ### GetTenant -`func (o *WritableWirelessLANRequest) GetTenant() TenantRequest` +`func (o *WritableWirelessLANRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *WritableWirelessLANRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *WritableWirelessLANRequest) GetTenantOk() (*BriefTenantRequest, 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 *WritableWirelessLANRequest) SetTenant(v TenantRequest)` +`func (o *WritableWirelessLANRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. @@ -213,20 +213,20 @@ HasTenant returns a boolean if a field has been set. UnsetTenant ensures that no value is present for Tenant, not even an explicit nil ### GetAuthType -`func (o *WritableWirelessLANRequest) GetAuthType() AuthenticationType1` +`func (o *WritableWirelessLANRequest) GetAuthType() AuthenticationType3` GetAuthType returns the AuthType field if non-nil, zero value otherwise. ### GetAuthTypeOk -`func (o *WritableWirelessLANRequest) GetAuthTypeOk() (*AuthenticationType1, bool)` +`func (o *WritableWirelessLANRequest) GetAuthTypeOk() (*AuthenticationType3, bool)` GetAuthTypeOk returns a tuple with the AuthType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetAuthType -`func (o *WritableWirelessLANRequest) SetAuthType(v AuthenticationType1)` +`func (o *WritableWirelessLANRequest) SetAuthType(v AuthenticationType3)` SetAuthType sets AuthType field to given value. @@ -238,20 +238,20 @@ HasAuthType returns a boolean if a field has been set. ### GetAuthCipher -`func (o *WritableWirelessLANRequest) GetAuthCipher() AuthenticationCipher` +`func (o *WritableWirelessLANRequest) GetAuthCipher() AuthenticationCipher1` GetAuthCipher returns the AuthCipher field if non-nil, zero value otherwise. ### GetAuthCipherOk -`func (o *WritableWirelessLANRequest) GetAuthCipherOk() (*AuthenticationCipher, bool)` +`func (o *WritableWirelessLANRequest) GetAuthCipherOk() (*AuthenticationCipher1, bool)` GetAuthCipherOk returns a tuple with the AuthCipher field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetAuthCipher -`func (o *WritableWirelessLANRequest) SetAuthCipher(v AuthenticationCipher)` +`func (o *WritableWirelessLANRequest) SetAuthCipher(v AuthenticationCipher1)` SetAuthCipher sets AuthCipher field to given value. diff --git a/docs/WritableWirelessLinkRequest.md b/docs/WritableWirelessLinkRequest.md index 43c031946..07476afca 100644 --- a/docs/WritableWirelessLinkRequest.md +++ b/docs/WritableWirelessLinkRequest.md @@ -4,14 +4,16 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**InterfaceA** | [**InterfaceRequest**](InterfaceRequest.md) | | -**InterfaceB** | [**InterfaceRequest**](InterfaceRequest.md) | | +**InterfaceA** | [**BriefInterfaceRequest**](BriefInterfaceRequest.md) | | +**InterfaceB** | [**BriefInterfaceRequest**](BriefInterfaceRequest.md) | | **Ssid** | Pointer to **string** | | [optional] -**Status** | Pointer to [**PatchedWritableCableRequestStatus**](PatchedWritableCableRequestStatus.md) | | [optional] -**Tenant** | Pointer to [**NullableTenantRequest**](TenantRequest.md) | | [optional] -**AuthType** | Pointer to [**AuthenticationType1**](AuthenticationType1.md) | | [optional] -**AuthCipher** | Pointer to [**AuthenticationCipher**](AuthenticationCipher.md) | | [optional] +**Status** | Pointer to [**CableStatusValue**](CableStatusValue.md) | | [optional] +**Tenant** | Pointer to [**NullableBriefTenantRequest**](BriefTenantRequest.md) | | [optional] +**AuthType** | Pointer to [**AuthenticationType3**](AuthenticationType3.md) | | [optional] +**AuthCipher** | Pointer to [**AuthenticationCipher1**](AuthenticationCipher1.md) | | [optional] **AuthPsk** | Pointer to **string** | | [optional] +**Distance** | Pointer to **NullableFloat64** | | [optional] +**DistanceUnit** | Pointer to [**PatchedWritableWirelessLinkRequestDistanceUnit**](PatchedWritableWirelessLinkRequestDistanceUnit.md) | | [optional] **Description** | Pointer to **string** | | [optional] **Comments** | Pointer to **string** | | [optional] **Tags** | Pointer to [**[]NestedTagRequest**](NestedTagRequest.md) | | [optional] @@ -21,7 +23,7 @@ Name | Type | Description | Notes ### NewWritableWirelessLinkRequest -`func NewWritableWirelessLinkRequest(interfaceA InterfaceRequest, interfaceB InterfaceRequest, ) *WritableWirelessLinkRequest` +`func NewWritableWirelessLinkRequest(interfaceA BriefInterfaceRequest, interfaceB BriefInterfaceRequest, ) *WritableWirelessLinkRequest` NewWritableWirelessLinkRequest instantiates a new WritableWirelessLinkRequest object This constructor will assign default values to properties that have it defined, @@ -38,40 +40,40 @@ but it doesn't guarantee that properties required by API are set ### GetInterfaceA -`func (o *WritableWirelessLinkRequest) GetInterfaceA() InterfaceRequest` +`func (o *WritableWirelessLinkRequest) GetInterfaceA() BriefInterfaceRequest` GetInterfaceA returns the InterfaceA field if non-nil, zero value otherwise. ### GetInterfaceAOk -`func (o *WritableWirelessLinkRequest) GetInterfaceAOk() (*InterfaceRequest, bool)` +`func (o *WritableWirelessLinkRequest) GetInterfaceAOk() (*BriefInterfaceRequest, bool)` GetInterfaceAOk returns a tuple with the InterfaceA field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetInterfaceA -`func (o *WritableWirelessLinkRequest) SetInterfaceA(v InterfaceRequest)` +`func (o *WritableWirelessLinkRequest) SetInterfaceA(v BriefInterfaceRequest)` SetInterfaceA sets InterfaceA field to given value. ### GetInterfaceB -`func (o *WritableWirelessLinkRequest) GetInterfaceB() InterfaceRequest` +`func (o *WritableWirelessLinkRequest) GetInterfaceB() BriefInterfaceRequest` GetInterfaceB returns the InterfaceB field if non-nil, zero value otherwise. ### GetInterfaceBOk -`func (o *WritableWirelessLinkRequest) GetInterfaceBOk() (*InterfaceRequest, bool)` +`func (o *WritableWirelessLinkRequest) GetInterfaceBOk() (*BriefInterfaceRequest, bool)` GetInterfaceBOk returns a tuple with the InterfaceB field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetInterfaceB -`func (o *WritableWirelessLinkRequest) SetInterfaceB(v InterfaceRequest)` +`func (o *WritableWirelessLinkRequest) SetInterfaceB(v BriefInterfaceRequest)` SetInterfaceB sets InterfaceB field to given value. @@ -103,20 +105,20 @@ HasSsid returns a boolean if a field has been set. ### GetStatus -`func (o *WritableWirelessLinkRequest) GetStatus() PatchedWritableCableRequestStatus` +`func (o *WritableWirelessLinkRequest) GetStatus() CableStatusValue` GetStatus returns the Status field if non-nil, zero value otherwise. ### GetStatusOk -`func (o *WritableWirelessLinkRequest) GetStatusOk() (*PatchedWritableCableRequestStatus, bool)` +`func (o *WritableWirelessLinkRequest) GetStatusOk() (*CableStatusValue, 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 *WritableWirelessLinkRequest) SetStatus(v PatchedWritableCableRequestStatus)` +`func (o *WritableWirelessLinkRequest) SetStatus(v CableStatusValue)` SetStatus sets Status field to given value. @@ -128,20 +130,20 @@ HasStatus returns a boolean if a field has been set. ### GetTenant -`func (o *WritableWirelessLinkRequest) GetTenant() TenantRequest` +`func (o *WritableWirelessLinkRequest) GetTenant() BriefTenantRequest` GetTenant returns the Tenant field if non-nil, zero value otherwise. ### GetTenantOk -`func (o *WritableWirelessLinkRequest) GetTenantOk() (*TenantRequest, bool)` +`func (o *WritableWirelessLinkRequest) GetTenantOk() (*BriefTenantRequest, 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 *WritableWirelessLinkRequest) SetTenant(v TenantRequest)` +`func (o *WritableWirelessLinkRequest) SetTenant(v BriefTenantRequest)` SetTenant sets Tenant field to given value. @@ -163,20 +165,20 @@ HasTenant returns a boolean if a field has been set. UnsetTenant ensures that no value is present for Tenant, not even an explicit nil ### GetAuthType -`func (o *WritableWirelessLinkRequest) GetAuthType() AuthenticationType1` +`func (o *WritableWirelessLinkRequest) GetAuthType() AuthenticationType3` GetAuthType returns the AuthType field if non-nil, zero value otherwise. ### GetAuthTypeOk -`func (o *WritableWirelessLinkRequest) GetAuthTypeOk() (*AuthenticationType1, bool)` +`func (o *WritableWirelessLinkRequest) GetAuthTypeOk() (*AuthenticationType3, bool)` GetAuthTypeOk returns a tuple with the AuthType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetAuthType -`func (o *WritableWirelessLinkRequest) SetAuthType(v AuthenticationType1)` +`func (o *WritableWirelessLinkRequest) SetAuthType(v AuthenticationType3)` SetAuthType sets AuthType field to given value. @@ -188,20 +190,20 @@ HasAuthType returns a boolean if a field has been set. ### GetAuthCipher -`func (o *WritableWirelessLinkRequest) GetAuthCipher() AuthenticationCipher` +`func (o *WritableWirelessLinkRequest) GetAuthCipher() AuthenticationCipher1` GetAuthCipher returns the AuthCipher field if non-nil, zero value otherwise. ### GetAuthCipherOk -`func (o *WritableWirelessLinkRequest) GetAuthCipherOk() (*AuthenticationCipher, bool)` +`func (o *WritableWirelessLinkRequest) GetAuthCipherOk() (*AuthenticationCipher1, bool)` GetAuthCipherOk returns a tuple with the AuthCipher field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetAuthCipher -`func (o *WritableWirelessLinkRequest) SetAuthCipher(v AuthenticationCipher)` +`func (o *WritableWirelessLinkRequest) SetAuthCipher(v AuthenticationCipher1)` SetAuthCipher sets AuthCipher field to given value. @@ -236,6 +238,66 @@ SetAuthPsk sets AuthPsk field to given value. HasAuthPsk returns a boolean if a field has been set. +### GetDistance + +`func (o *WritableWirelessLinkRequest) GetDistance() float64` + +GetDistance returns the Distance field if non-nil, zero value otherwise. + +### GetDistanceOk + +`func (o *WritableWirelessLinkRequest) GetDistanceOk() (*float64, bool)` + +GetDistanceOk returns a tuple with the Distance field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDistance + +`func (o *WritableWirelessLinkRequest) SetDistance(v float64)` + +SetDistance sets Distance field to given value. + +### HasDistance + +`func (o *WritableWirelessLinkRequest) HasDistance() bool` + +HasDistance returns a boolean if a field has been set. + +### SetDistanceNil + +`func (o *WritableWirelessLinkRequest) SetDistanceNil(b bool)` + + SetDistanceNil sets the value for Distance to be an explicit nil + +### UnsetDistance +`func (o *WritableWirelessLinkRequest) UnsetDistance()` + +UnsetDistance ensures that no value is present for Distance, not even an explicit nil +### GetDistanceUnit + +`func (o *WritableWirelessLinkRequest) GetDistanceUnit() PatchedWritableWirelessLinkRequestDistanceUnit` + +GetDistanceUnit returns the DistanceUnit field if non-nil, zero value otherwise. + +### GetDistanceUnitOk + +`func (o *WritableWirelessLinkRequest) GetDistanceUnitOk() (*PatchedWritableWirelessLinkRequestDistanceUnit, bool)` + +GetDistanceUnitOk returns a tuple with the DistanceUnit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDistanceUnit + +`func (o *WritableWirelessLinkRequest) SetDistanceUnit(v PatchedWritableWirelessLinkRequestDistanceUnit)` + +SetDistanceUnit sets DistanceUnit field to given value. + +### HasDistanceUnit + +`func (o *WritableWirelessLinkRequest) HasDistanceUnit() bool` + +HasDistanceUnit returns a boolean if a field has been set. + ### GetDescription `func (o *WritableWirelessLinkRequest) GetDescription() string` diff --git a/go.mod b/go.mod index 84ac401e8..f3fe87f3f 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/netbox-community/go-netbox/v4 +module github.com/asama-ai/go-netbox/v4 go 1.18 diff --git a/model_aggregate.go b/model_aggregate.go index be5226a6e..84dd73b06 100644 --- a/model_aggregate.go +++ b/model_aggregate.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -23,11 +23,12 @@ var _ MappedNullable = &Aggregate{} type Aggregate struct { Id int32 `json:"id"` Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` Display string `json:"display"` Family AggregateFamily `json:"family"` Prefix string `json:"prefix"` - Rir RIR `json:"rir"` - Tenant NullableTenant `json:"tenant,omitempty"` + Rir BriefRIR `json:"rir"` + Tenant NullableBriefTenant `json:"tenant,omitempty"` DateAdded NullableString `json:"date_added,omitempty"` Description *string `json:"description,omitempty"` Comments *string `json:"comments,omitempty"` @@ -44,7 +45,7 @@ type _Aggregate Aggregate // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewAggregate(id int32, url string, display string, family AggregateFamily, prefix string, rir RIR, created NullableTime, lastUpdated NullableTime) *Aggregate { +func NewAggregate(id int32, url string, display string, family AggregateFamily, prefix string, rir BriefRIR, created NullableTime, lastUpdated NullableTime) *Aggregate { this := Aggregate{} this.Id = id this.Url = url @@ -113,6 +114,38 @@ func (o *Aggregate) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *Aggregate) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Aggregate) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *Aggregate) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *Aggregate) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *Aggregate) GetDisplay() string { if o == nil { @@ -186,9 +219,9 @@ func (o *Aggregate) SetPrefix(v string) { } // GetRir returns the Rir field value -func (o *Aggregate) GetRir() RIR { +func (o *Aggregate) GetRir() BriefRIR { if o == nil { - var ret RIR + var ret BriefRIR return ret } @@ -197,7 +230,7 @@ func (o *Aggregate) GetRir() RIR { // GetRirOk returns a tuple with the Rir field value // and a boolean to check if the value has been set. -func (o *Aggregate) GetRirOk() (*RIR, bool) { +func (o *Aggregate) GetRirOk() (*BriefRIR, bool) { if o == nil { return nil, false } @@ -205,14 +238,14 @@ func (o *Aggregate) GetRirOk() (*RIR, bool) { } // SetRir sets field value -func (o *Aggregate) SetRir(v RIR) { +func (o *Aggregate) SetRir(v BriefRIR) { o.Rir = v } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *Aggregate) GetTenant() Tenant { +func (o *Aggregate) GetTenant() BriefTenant { if o == nil || IsNil(o.Tenant.Get()) { - var ret Tenant + var ret BriefTenant return ret } return *o.Tenant.Get() @@ -221,7 +254,7 @@ func (o *Aggregate) GetTenant() Tenant { // 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 *Aggregate) GetTenantOk() (*Tenant, bool) { +func (o *Aggregate) GetTenantOk() (*BriefTenant, bool) { if o == nil { return nil, false } @@ -237,8 +270,8 @@ func (o *Aggregate) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenant and assigns it to the Tenant field. -func (o *Aggregate) SetTenant(v Tenant) { +// SetTenant gets a reference to the given NullableBriefTenant and assigns it to the Tenant field. +func (o *Aggregate) SetTenant(v BriefTenant) { o.Tenant.Set(&v) } @@ -487,6 +520,9 @@ func (o Aggregate) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["family"] = o.Family toSerialize["prefix"] = o.Prefix @@ -563,6 +599,7 @@ func (o *Aggregate) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "family") delete(additionalProperties, "prefix") diff --git a/model_aggregate_family.go b/model_aggregate_family.go index c022e4c41..e5b049fdf 100644 --- a/model_aggregate_family.go +++ b/model_aggregate_family.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_aggregate_family_label.go b/model_aggregate_family_label.go index 6702e6180..045cdb657 100644 --- a/model_aggregate_family_label.go +++ b/model_aggregate_family_label.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_aggregate_family_value.go b/model_aggregate_family_value.go index 63ca9026f..29455902a 100644 --- a/model_aggregate_family_value.go +++ b/model_aggregate_family_value.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_aggregate_request.go b/model_aggregate_request.go index 886f759d6..6f40eacd2 100644 --- a/model_aggregate_request.go +++ b/model_aggregate_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,14 +20,14 @@ var _ MappedNullable = &AggregateRequest{} // AggregateRequest Adds support for custom fields and tags. type AggregateRequest struct { - Prefix string `json:"prefix"` - Rir RIRRequest `json:"rir"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` - DateAdded NullableString `json:"date_added,omitempty"` - Description *string `json:"description,omitempty"` - Comments *string `json:"comments,omitempty"` - Tags []NestedTagRequest `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Prefix string `json:"prefix"` + Rir BriefRIRRequest `json:"rir"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` + DateAdded NullableString `json:"date_added,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -37,7 +37,7 @@ type _AggregateRequest AggregateRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewAggregateRequest(prefix string, rir RIRRequest) *AggregateRequest { +func NewAggregateRequest(prefix string, rir BriefRIRRequest) *AggregateRequest { this := AggregateRequest{} this.Prefix = prefix this.Rir = rir @@ -77,9 +77,9 @@ func (o *AggregateRequest) SetPrefix(v string) { } // GetRir returns the Rir field value -func (o *AggregateRequest) GetRir() RIRRequest { +func (o *AggregateRequest) GetRir() BriefRIRRequest { if o == nil { - var ret RIRRequest + var ret BriefRIRRequest return ret } @@ -88,7 +88,7 @@ func (o *AggregateRequest) GetRir() RIRRequest { // GetRirOk returns a tuple with the Rir field value // and a boolean to check if the value has been set. -func (o *AggregateRequest) GetRirOk() (*RIRRequest, bool) { +func (o *AggregateRequest) GetRirOk() (*BriefRIRRequest, bool) { if o == nil { return nil, false } @@ -96,14 +96,14 @@ func (o *AggregateRequest) GetRirOk() (*RIRRequest, bool) { } // SetRir sets field value -func (o *AggregateRequest) SetRir(v RIRRequest) { +func (o *AggregateRequest) SetRir(v BriefRIRRequest) { o.Rir = v } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *AggregateRequest) GetTenant() TenantRequest { +func (o *AggregateRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -112,7 +112,7 @@ func (o *AggregateRequest) GetTenant() TenantRequest { // 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 *AggregateRequest) GetTenantOk() (*TenantRequest, bool) { +func (o *AggregateRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -128,8 +128,8 @@ func (o *AggregateRequest) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *AggregateRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *AggregateRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } diff --git a/model_asn.go b/model_asn.go index 971d63862..39b23ec49 100644 --- a/model_asn.go +++ b/model_asn.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,13 +21,14 @@ var _ MappedNullable = &ASN{} // ASN Adds support for custom fields and tags. type ASN struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` // 16- or 32-bit autonomous system number Asn int64 `json:"asn"` - Rir NullableRIR `json:"rir,omitempty"` - Tenant NullableTenant `json:"tenant,omitempty"` + Rir NullableBriefRIR `json:"rir,omitempty"` + Tenant NullableBriefTenant `json:"tenant,omitempty"` Description *string `json:"description,omitempty"` Comments *string `json:"comments,omitempty"` Tags []NestedTag `json:"tags,omitempty"` @@ -114,6 +115,38 @@ func (o *ASN) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *ASN) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ASN) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *ASN) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *ASN) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *ASN) GetDisplay() string { if o == nil { @@ -163,9 +196,9 @@ func (o *ASN) SetAsn(v int64) { } // GetRir returns the Rir field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *ASN) GetRir() RIR { +func (o *ASN) GetRir() BriefRIR { if o == nil || IsNil(o.Rir.Get()) { - var ret RIR + var ret BriefRIR return ret } return *o.Rir.Get() @@ -174,7 +207,7 @@ func (o *ASN) GetRir() RIR { // GetRirOk returns a tuple with the Rir 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 *ASN) GetRirOk() (*RIR, bool) { +func (o *ASN) GetRirOk() (*BriefRIR, bool) { if o == nil { return nil, false } @@ -190,8 +223,8 @@ func (o *ASN) HasRir() bool { return false } -// SetRir gets a reference to the given NullableRIR and assigns it to the Rir field. -func (o *ASN) SetRir(v RIR) { +// SetRir gets a reference to the given NullableBriefRIR and assigns it to the Rir field. +func (o *ASN) SetRir(v BriefRIR) { o.Rir.Set(&v) } @@ -206,9 +239,9 @@ func (o *ASN) UnsetRir() { } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *ASN) GetTenant() Tenant { +func (o *ASN) GetTenant() BriefTenant { if o == nil || IsNil(o.Tenant.Get()) { - var ret Tenant + var ret BriefTenant return ret } return *o.Tenant.Get() @@ -217,7 +250,7 @@ func (o *ASN) GetTenant() Tenant { // 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 *ASN) GetTenantOk() (*Tenant, bool) { +func (o *ASN) GetTenantOk() (*BriefTenant, bool) { if o == nil { return nil, false } @@ -233,8 +266,8 @@ func (o *ASN) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenant and assigns it to the Tenant field. -func (o *ASN) SetTenant(v Tenant) { +// SetTenant gets a reference to the given NullableBriefTenant and assigns it to the Tenant field. +func (o *ASN) SetTenant(v BriefTenant) { o.Tenant.Set(&v) } @@ -488,6 +521,9 @@ func (o ASN) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["asn"] = o.Asn if o.Rir.IsSet() { @@ -564,6 +600,7 @@ func (o *ASN) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "asn") delete(additionalProperties, "rir") diff --git a/model_asn_range.go b/model_asn_range.go index 037e760ce..3c1f0d20e 100644 --- a/model_asn_range.go +++ b/model_asn_range.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -23,13 +23,14 @@ var _ MappedNullable = &ASNRange{} type ASNRange struct { Id int32 `json:"id"` Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` Display string `json:"display"` Name string `json:"name"` Slug string `json:"slug"` - Rir RIR `json:"rir"` + Rir BriefRIR `json:"rir"` Start int64 `json:"start"` End int64 `json:"end"` - Tenant NullableTenant `json:"tenant,omitempty"` + Tenant NullableBriefTenant `json:"tenant,omitempty"` Description *string `json:"description,omitempty"` Tags []NestedTag `json:"tags,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` @@ -45,7 +46,7 @@ type _ASNRange ASNRange // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewASNRange(id int32, url string, display string, name string, slug string, rir RIR, start int64, end int64, created NullableTime, lastUpdated NullableTime, asnCount int32) *ASNRange { +func NewASNRange(id int32, url string, display string, name string, slug string, rir BriefRIR, start int64, end int64, created NullableTime, lastUpdated NullableTime, asnCount int32) *ASNRange { this := ASNRange{} this.Id = id this.Url = url @@ -117,6 +118,38 @@ func (o *ASNRange) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *ASNRange) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ASNRange) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *ASNRange) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *ASNRange) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *ASNRange) GetDisplay() string { if o == nil { @@ -190,9 +223,9 @@ func (o *ASNRange) SetSlug(v string) { } // GetRir returns the Rir field value -func (o *ASNRange) GetRir() RIR { +func (o *ASNRange) GetRir() BriefRIR { if o == nil { - var ret RIR + var ret BriefRIR return ret } @@ -201,7 +234,7 @@ func (o *ASNRange) GetRir() RIR { // GetRirOk returns a tuple with the Rir field value // and a boolean to check if the value has been set. -func (o *ASNRange) GetRirOk() (*RIR, bool) { +func (o *ASNRange) GetRirOk() (*BriefRIR, bool) { if o == nil { return nil, false } @@ -209,7 +242,7 @@ func (o *ASNRange) GetRirOk() (*RIR, bool) { } // SetRir sets field value -func (o *ASNRange) SetRir(v RIR) { +func (o *ASNRange) SetRir(v BriefRIR) { o.Rir = v } @@ -262,9 +295,9 @@ func (o *ASNRange) SetEnd(v int64) { } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *ASNRange) GetTenant() Tenant { +func (o *ASNRange) GetTenant() BriefTenant { if o == nil || IsNil(o.Tenant.Get()) { - var ret Tenant + var ret BriefTenant return ret } return *o.Tenant.Get() @@ -273,7 +306,7 @@ func (o *ASNRange) GetTenant() Tenant { // 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 *ASNRange) GetTenantOk() (*Tenant, bool) { +func (o *ASNRange) GetTenantOk() (*BriefTenant, bool) { if o == nil { return nil, false } @@ -289,8 +322,8 @@ func (o *ASNRange) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenant and assigns it to the Tenant field. -func (o *ASNRange) SetTenant(v Tenant) { +// SetTenant gets a reference to the given NullableBriefTenant and assigns it to the Tenant field. +func (o *ASNRange) SetTenant(v BriefTenant) { o.Tenant.Set(&v) } @@ -488,6 +521,9 @@ func (o ASNRange) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["name"] = o.Name toSerialize["slug"] = o.Slug @@ -564,6 +600,7 @@ func (o *ASNRange) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") delete(additionalProperties, "slug") diff --git a/model_asn_range_request.go b/model_asn_range_request.go index 83a9d61da..21123cf59 100644 --- a/model_asn_range_request.go +++ b/model_asn_range_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,15 +20,15 @@ var _ MappedNullable = &ASNRangeRequest{} // ASNRangeRequest Adds support for custom fields and tags. type ASNRangeRequest struct { - Name string `json:"name"` - Slug string `json:"slug"` - Rir RIRRequest `json:"rir"` - Start int64 `json:"start"` - End int64 `json:"end"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` - Description *string `json:"description,omitempty"` - Tags []NestedTagRequest `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Rir BriefRIRRequest `json:"rir"` + Start int64 `json:"start"` + End int64 `json:"end"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` + Description *string `json:"description,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -38,7 +38,7 @@ type _ASNRangeRequest ASNRangeRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewASNRangeRequest(name string, slug string, rir RIRRequest, start int64, end int64) *ASNRangeRequest { +func NewASNRangeRequest(name string, slug string, rir BriefRIRRequest, start int64, end int64) *ASNRangeRequest { this := ASNRangeRequest{} this.Name = name this.Slug = slug @@ -105,9 +105,9 @@ func (o *ASNRangeRequest) SetSlug(v string) { } // GetRir returns the Rir field value -func (o *ASNRangeRequest) GetRir() RIRRequest { +func (o *ASNRangeRequest) GetRir() BriefRIRRequest { if o == nil { - var ret RIRRequest + var ret BriefRIRRequest return ret } @@ -116,7 +116,7 @@ func (o *ASNRangeRequest) GetRir() RIRRequest { // GetRirOk returns a tuple with the Rir field value // and a boolean to check if the value has been set. -func (o *ASNRangeRequest) GetRirOk() (*RIRRequest, bool) { +func (o *ASNRangeRequest) GetRirOk() (*BriefRIRRequest, bool) { if o == nil { return nil, false } @@ -124,7 +124,7 @@ func (o *ASNRangeRequest) GetRirOk() (*RIRRequest, bool) { } // SetRir sets field value -func (o *ASNRangeRequest) SetRir(v RIRRequest) { +func (o *ASNRangeRequest) SetRir(v BriefRIRRequest) { o.Rir = v } @@ -177,9 +177,9 @@ func (o *ASNRangeRequest) SetEnd(v int64) { } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *ASNRangeRequest) GetTenant() TenantRequest { +func (o *ASNRangeRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -188,7 +188,7 @@ func (o *ASNRangeRequest) GetTenant() TenantRequest { // 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 *ASNRangeRequest) GetTenantOk() (*TenantRequest, bool) { +func (o *ASNRangeRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -204,8 +204,8 @@ func (o *ASNRangeRequest) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *ASNRangeRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *ASNRangeRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } diff --git a/model_asn_request.go b/model_asn_request.go index 2d8e8162f..4ea9e336d 100644 --- a/model_asn_request.go +++ b/model_asn_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,13 +21,13 @@ var _ MappedNullable = &ASNRequest{} // ASNRequest Adds support for custom fields and tags. type ASNRequest struct { // 16- or 32-bit autonomous system number - Asn int64 `json:"asn"` - Rir NullableRIRRequest `json:"rir,omitempty"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` - Description *string `json:"description,omitempty"` - Comments *string `json:"comments,omitempty"` - Tags []NestedTagRequest `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Asn int64 `json:"asn"` + Rir NullableBriefRIRRequest `json:"rir,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -76,9 +76,9 @@ func (o *ASNRequest) SetAsn(v int64) { } // GetRir returns the Rir field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *ASNRequest) GetRir() RIRRequest { +func (o *ASNRequest) GetRir() BriefRIRRequest { if o == nil || IsNil(o.Rir.Get()) { - var ret RIRRequest + var ret BriefRIRRequest return ret } return *o.Rir.Get() @@ -87,7 +87,7 @@ func (o *ASNRequest) GetRir() RIRRequest { // GetRirOk returns a tuple with the Rir 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 *ASNRequest) GetRirOk() (*RIRRequest, bool) { +func (o *ASNRequest) GetRirOk() (*BriefRIRRequest, bool) { if o == nil { return nil, false } @@ -103,8 +103,8 @@ func (o *ASNRequest) HasRir() bool { return false } -// SetRir gets a reference to the given NullableRIRRequest and assigns it to the Rir field. -func (o *ASNRequest) SetRir(v RIRRequest) { +// SetRir gets a reference to the given NullableBriefRIRRequest and assigns it to the Rir field. +func (o *ASNRequest) SetRir(v BriefRIRRequest) { o.Rir.Set(&v) } @@ -119,9 +119,9 @@ func (o *ASNRequest) UnsetRir() { } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *ASNRequest) GetTenant() TenantRequest { +func (o *ASNRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -130,7 +130,7 @@ func (o *ASNRequest) GetTenant() TenantRequest { // 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 *ASNRequest) GetTenantOk() (*TenantRequest, bool) { +func (o *ASNRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -146,8 +146,8 @@ func (o *ASNRequest) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *ASNRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *ASNRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } diff --git a/model_authentication.go b/model_authentication.go index 9642d196e..d5ef27085 100644 --- a/model_authentication.go +++ b/model_authentication.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,27 +15,27 @@ import ( "fmt" ) -// Authentication * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC +// Authentication the model 'Authentication' type Authentication string // List of Authentication const ( + AUTHENTICATION_EMPTY Authentication = "" + AUTHENTICATION_HMAC_MD5 Authentication = "hmac-md5" AUTHENTICATION_HMAC_SHA1 Authentication = "hmac-sha1" AUTHENTICATION_HMAC_SHA256 Authentication = "hmac-sha256" AUTHENTICATION_HMAC_SHA384 Authentication = "hmac-sha384" AUTHENTICATION_HMAC_SHA512 Authentication = "hmac-sha512" - AUTHENTICATION_HMAC_MD5 Authentication = "hmac-md5" - AUTHENTICATION_EMPTY Authentication = "" ) // All allowed values of Authentication enum var AllowedAuthenticationEnumValues = []Authentication{ + "", + "hmac-md5", "hmac-sha1", "hmac-sha256", "hmac-sha384", "hmac-sha512", - "hmac-md5", - "", } func (v *Authentication) UnmarshalJSON(src []byte) error { diff --git a/model_authentication_1.go b/model_authentication_1.go new file mode 100644 index 000000000..32e048cdd --- /dev/null +++ b/model_authentication_1.go @@ -0,0 +1,119 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// Authentication1 * `hmac-sha1` - SHA-1 HMAC * `hmac-sha256` - SHA-256 HMAC * `hmac-sha384` - SHA-384 HMAC * `hmac-sha512` - SHA-512 HMAC * `hmac-md5` - MD5 HMAC +type Authentication1 string + +// List of Authentication_1 +const ( + AUTHENTICATION1_HMAC_SHA1 Authentication1 = "hmac-sha1" + AUTHENTICATION1_HMAC_SHA256 Authentication1 = "hmac-sha256" + AUTHENTICATION1_HMAC_SHA384 Authentication1 = "hmac-sha384" + AUTHENTICATION1_HMAC_SHA512 Authentication1 = "hmac-sha512" + AUTHENTICATION1_HMAC_MD5 Authentication1 = "hmac-md5" + AUTHENTICATION1_EMPTY Authentication1 = "" +) + +// All allowed values of Authentication1 enum +var AllowedAuthentication1EnumValues = []Authentication1{ + "hmac-sha1", + "hmac-sha256", + "hmac-sha384", + "hmac-sha512", + "hmac-md5", + "", +} + +func (v *Authentication1) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := Authentication1(value) + for _, existing := range AllowedAuthentication1EnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid Authentication1", value) +} + +// NewAuthentication1FromValue returns a pointer to a valid Authentication1 +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewAuthentication1FromValue(v string) (*Authentication1, error) { + ev := Authentication1(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for Authentication1: valid values are %v", v, AllowedAuthentication1EnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v Authentication1) IsValid() bool { + for _, existing := range AllowedAuthentication1EnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to Authentication_1 value +func (v Authentication1) Ptr() *Authentication1 { + return &v +} + +type NullableAuthentication1 struct { + value *Authentication1 + isSet bool +} + +func (v NullableAuthentication1) Get() *Authentication1 { + return v.value +} + +func (v *NullableAuthentication1) Set(val *Authentication1) { + v.value = val + v.isSet = true +} + +func (v NullableAuthentication1) IsSet() bool { + return v.isSet +} + +func (v *NullableAuthentication1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAuthentication1(val *Authentication1) *NullableAuthentication1 { + return &NullableAuthentication1{value: val, isSet: true} +} + +func (v NullableAuthentication1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAuthentication1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_authentication_cipher.go b/model_authentication_cipher.go index 1c9752516..f6c7d9bfd 100644 --- a/model_authentication_cipher.go +++ b/model_authentication_cipher.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,23 +15,23 @@ import ( "fmt" ) -// AuthenticationCipher * `auto` - Auto * `tkip` - TKIP * `aes` - AES +// AuthenticationCipher the model 'AuthenticationCipher' type AuthenticationCipher string // List of Authentication_cipher const ( + AUTHENTICATIONCIPHER_EMPTY AuthenticationCipher = "" + AUTHENTICATIONCIPHER_AES AuthenticationCipher = "aes" AUTHENTICATIONCIPHER_AUTO AuthenticationCipher = "auto" AUTHENTICATIONCIPHER_TKIP AuthenticationCipher = "tkip" - AUTHENTICATIONCIPHER_AES AuthenticationCipher = "aes" - AUTHENTICATIONCIPHER_EMPTY AuthenticationCipher = "" ) // All allowed values of AuthenticationCipher enum var AllowedAuthenticationCipherEnumValues = []AuthenticationCipher{ + "", + "aes", "auto", "tkip", - "aes", - "", } func (v *AuthenticationCipher) UnmarshalJSON(src []byte) error { diff --git a/model_authentication_cipher_1.go b/model_authentication_cipher_1.go new file mode 100644 index 000000000..a64d55935 --- /dev/null +++ b/model_authentication_cipher_1.go @@ -0,0 +1,115 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// AuthenticationCipher1 * `auto` - Auto * `tkip` - TKIP * `aes` - AES +type AuthenticationCipher1 string + +// List of Authentication_cipher_1 +const ( + AUTHENTICATIONCIPHER1_AUTO AuthenticationCipher1 = "auto" + AUTHENTICATIONCIPHER1_TKIP AuthenticationCipher1 = "tkip" + AUTHENTICATIONCIPHER1_AES AuthenticationCipher1 = "aes" + AUTHENTICATIONCIPHER1_EMPTY AuthenticationCipher1 = "" +) + +// All allowed values of AuthenticationCipher1 enum +var AllowedAuthenticationCipher1EnumValues = []AuthenticationCipher1{ + "auto", + "tkip", + "aes", + "", +} + +func (v *AuthenticationCipher1) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := AuthenticationCipher1(value) + for _, existing := range AllowedAuthenticationCipher1EnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid AuthenticationCipher1", value) +} + +// NewAuthenticationCipher1FromValue returns a pointer to a valid AuthenticationCipher1 +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewAuthenticationCipher1FromValue(v string) (*AuthenticationCipher1, error) { + ev := AuthenticationCipher1(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for AuthenticationCipher1: valid values are %v", v, AllowedAuthenticationCipher1EnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v AuthenticationCipher1) IsValid() bool { + for _, existing := range AllowedAuthenticationCipher1EnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to Authentication_cipher_1 value +func (v AuthenticationCipher1) Ptr() *AuthenticationCipher1 { + return &v +} + +type NullableAuthenticationCipher1 struct { + value *AuthenticationCipher1 + isSet bool +} + +func (v NullableAuthenticationCipher1) Get() *AuthenticationCipher1 { + return v.value +} + +func (v *NullableAuthenticationCipher1) Set(val *AuthenticationCipher1) { + v.value = val + v.isSet = true +} + +func (v NullableAuthenticationCipher1) IsSet() bool { + return v.isSet +} + +func (v *NullableAuthenticationCipher1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAuthenticationCipher1(val *AuthenticationCipher1) *NullableAuthenticationCipher1 { + return &NullableAuthenticationCipher1{value: val, isSet: true} +} + +func (v NullableAuthenticationCipher1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAuthenticationCipher1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_authentication_type.go b/model_authentication_type.go index 87147a487..b0421db91 100644 --- a/model_authentication_type.go +++ b/model_authentication_type.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,21 +15,21 @@ import ( "fmt" ) -// AuthenticationType * `plaintext` - Plaintext * `md5` - MD5 +// AuthenticationType the model 'AuthenticationType' type AuthenticationType string // List of Authentication_type const ( - AUTHENTICATIONTYPE_PLAINTEXT AuthenticationType = "plaintext" - AUTHENTICATIONTYPE_MD5 AuthenticationType = "md5" AUTHENTICATIONTYPE_EMPTY AuthenticationType = "" + AUTHENTICATIONTYPE_MD5 AuthenticationType = "md5" + AUTHENTICATIONTYPE_PLAINTEXT AuthenticationType = "plaintext" ) // All allowed values of AuthenticationType enum var AllowedAuthenticationTypeEnumValues = []AuthenticationType{ - "plaintext", - "md5", "", + "md5", + "plaintext", } func (v *AuthenticationType) UnmarshalJSON(src []byte) error { diff --git a/model_authentication_type_1.go b/model_authentication_type_1.go index 7c661a0a6..d883749e4 100644 --- a/model_authentication_type_1.go +++ b/model_authentication_type_1.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,25 +15,25 @@ import ( "fmt" ) -// AuthenticationType1 * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise +// AuthenticationType1 the model 'AuthenticationType1' type AuthenticationType1 string // List of Authentication_type_1 const ( + AUTHENTICATIONTYPE1_EMPTY AuthenticationType1 = "" AUTHENTICATIONTYPE1_OPEN AuthenticationType1 = "open" AUTHENTICATIONTYPE1_WEP AuthenticationType1 = "wep" - AUTHENTICATIONTYPE1_WPA_PERSONAL AuthenticationType1 = "wpa-personal" AUTHENTICATIONTYPE1_WPA_ENTERPRISE AuthenticationType1 = "wpa-enterprise" - AUTHENTICATIONTYPE1_EMPTY AuthenticationType1 = "" + AUTHENTICATIONTYPE1_WPA_PERSONAL AuthenticationType1 = "wpa-personal" ) // All allowed values of AuthenticationType1 enum var AllowedAuthenticationType1EnumValues = []AuthenticationType1{ + "", "open", "wep", - "wpa-personal", "wpa-enterprise", - "", + "wpa-personal", } func (v *AuthenticationType1) UnmarshalJSON(src []byte) error { diff --git a/model_authentication_type_2.go b/model_authentication_type_2.go new file mode 100644 index 000000000..e341644b1 --- /dev/null +++ b/model_authentication_type_2.go @@ -0,0 +1,113 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// AuthenticationType2 * `plaintext` - Plaintext * `md5` - MD5 +type AuthenticationType2 string + +// List of Authentication_type_2 +const ( + AUTHENTICATIONTYPE2_PLAINTEXT AuthenticationType2 = "plaintext" + AUTHENTICATIONTYPE2_MD5 AuthenticationType2 = "md5" + AUTHENTICATIONTYPE2_EMPTY AuthenticationType2 = "" +) + +// All allowed values of AuthenticationType2 enum +var AllowedAuthenticationType2EnumValues = []AuthenticationType2{ + "plaintext", + "md5", + "", +} + +func (v *AuthenticationType2) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := AuthenticationType2(value) + for _, existing := range AllowedAuthenticationType2EnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid AuthenticationType2", value) +} + +// NewAuthenticationType2FromValue returns a pointer to a valid AuthenticationType2 +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewAuthenticationType2FromValue(v string) (*AuthenticationType2, error) { + ev := AuthenticationType2(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for AuthenticationType2: valid values are %v", v, AllowedAuthenticationType2EnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v AuthenticationType2) IsValid() bool { + for _, existing := range AllowedAuthenticationType2EnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to Authentication_type_2 value +func (v AuthenticationType2) Ptr() *AuthenticationType2 { + return &v +} + +type NullableAuthenticationType2 struct { + value *AuthenticationType2 + isSet bool +} + +func (v NullableAuthenticationType2) Get() *AuthenticationType2 { + return v.value +} + +func (v *NullableAuthenticationType2) Set(val *AuthenticationType2) { + v.value = val + v.isSet = true +} + +func (v NullableAuthenticationType2) IsSet() bool { + return v.isSet +} + +func (v *NullableAuthenticationType2) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAuthenticationType2(val *AuthenticationType2) *NullableAuthenticationType2 { + return &NullableAuthenticationType2{value: val, isSet: true} +} + +func (v NullableAuthenticationType2) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAuthenticationType2) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_authentication_type_3.go b/model_authentication_type_3.go new file mode 100644 index 000000000..db65480ea --- /dev/null +++ b/model_authentication_type_3.go @@ -0,0 +1,117 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// AuthenticationType3 * `open` - Open * `wep` - WEP * `wpa-personal` - WPA Personal (PSK) * `wpa-enterprise` - WPA Enterprise +type AuthenticationType3 string + +// List of Authentication_type_3 +const ( + AUTHENTICATIONTYPE3_OPEN AuthenticationType3 = "open" + AUTHENTICATIONTYPE3_WEP AuthenticationType3 = "wep" + AUTHENTICATIONTYPE3_WPA_PERSONAL AuthenticationType3 = "wpa-personal" + AUTHENTICATIONTYPE3_WPA_ENTERPRISE AuthenticationType3 = "wpa-enterprise" + AUTHENTICATIONTYPE3_EMPTY AuthenticationType3 = "" +) + +// All allowed values of AuthenticationType3 enum +var AllowedAuthenticationType3EnumValues = []AuthenticationType3{ + "open", + "wep", + "wpa-personal", + "wpa-enterprise", + "", +} + +func (v *AuthenticationType3) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := AuthenticationType3(value) + for _, existing := range AllowedAuthenticationType3EnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid AuthenticationType3", value) +} + +// NewAuthenticationType3FromValue returns a pointer to a valid AuthenticationType3 +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewAuthenticationType3FromValue(v string) (*AuthenticationType3, error) { + ev := AuthenticationType3(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for AuthenticationType3: valid values are %v", v, AllowedAuthenticationType3EnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v AuthenticationType3) IsValid() bool { + for _, existing := range AllowedAuthenticationType3EnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to Authentication_type_3 value +func (v AuthenticationType3) Ptr() *AuthenticationType3 { + return &v +} + +type NullableAuthenticationType3 struct { + value *AuthenticationType3 + isSet bool +} + +func (v NullableAuthenticationType3) Get() *AuthenticationType3 { + return v.value +} + +func (v *NullableAuthenticationType3) Set(val *AuthenticationType3) { + v.value = val + v.isSet = true +} + +func (v NullableAuthenticationType3) IsSet() bool { + return v.isSet +} + +func (v *NullableAuthenticationType3) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAuthenticationType3(val *AuthenticationType3) *NullableAuthenticationType3 { + return &NullableAuthenticationType3{value: val, isSet: true} +} + +func (v NullableAuthenticationType3) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAuthenticationType3) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_available_asn.go b/model_available_asn.go index e398bbbb2..08ce3ca77 100644 --- a/model_available_asn.go +++ b/model_available_asn.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_available_ip.go b/model_available_ip.go index b06e6140c..b868c1b2e 100644 --- a/model_available_ip.go +++ b/model_available_ip.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,10 +20,10 @@ var _ MappedNullable = &AvailableIP{} // AvailableIP Representation of an IP address which does not exist in the database. type AvailableIP struct { - Family int32 `json:"family"` - Address string `json:"address"` - Vrf NullableVRF `json:"vrf"` - Description *string `json:"description,omitempty"` + Family int32 `json:"family"` + Address string `json:"address"` + Vrf NullableBriefVRF `json:"vrf"` + Description *string `json:"description,omitempty"` AdditionalProperties map[string]interface{} } @@ -33,7 +33,7 @@ type _AvailableIP AvailableIP // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewAvailableIP(family int32, address string, vrf NullableVRF) *AvailableIP { +func NewAvailableIP(family int32, address string, vrf NullableBriefVRF) *AvailableIP { this := AvailableIP{} this.Family = family this.Address = address @@ -98,10 +98,10 @@ func (o *AvailableIP) SetAddress(v string) { } // GetVrf returns the Vrf field value -// If the value is explicit nil, the zero value for VRF will be returned -func (o *AvailableIP) GetVrf() VRF { +// If the value is explicit nil, the zero value for BriefVRF will be returned +func (o *AvailableIP) GetVrf() BriefVRF { if o == nil || o.Vrf.Get() == nil { - var ret VRF + var ret BriefVRF return ret } @@ -111,7 +111,7 @@ func (o *AvailableIP) GetVrf() VRF { // GetVrfOk returns a tuple with the Vrf 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 *AvailableIP) GetVrfOk() (*VRF, bool) { +func (o *AvailableIP) GetVrfOk() (*BriefVRF, bool) { if o == nil { return nil, false } @@ -119,7 +119,7 @@ func (o *AvailableIP) GetVrfOk() (*VRF, bool) { } // SetVrf sets field value -func (o *AvailableIP) SetVrf(v VRF) { +func (o *AvailableIP) SetVrf(v BriefVRF) { o.Vrf.Set(&v) } diff --git a/model_available_prefix.go b/model_available_prefix.go index 6efa0386c..b2b76daa3 100644 --- a/model_available_prefix.go +++ b/model_available_prefix.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,9 +20,9 @@ var _ MappedNullable = &AvailablePrefix{} // AvailablePrefix Representation of a prefix which does not exist in the database. type AvailablePrefix struct { - Family int32 `json:"family"` - Prefix string `json:"prefix"` - Vrf NullableVRF `json:"vrf"` + Family int32 `json:"family"` + Prefix string `json:"prefix"` + Vrf NullableBriefVRF `json:"vrf"` AdditionalProperties map[string]interface{} } @@ -32,7 +32,7 @@ type _AvailablePrefix AvailablePrefix // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewAvailablePrefix(family int32, prefix string, vrf NullableVRF) *AvailablePrefix { +func NewAvailablePrefix(family int32, prefix string, vrf NullableBriefVRF) *AvailablePrefix { this := AvailablePrefix{} this.Family = family this.Prefix = prefix @@ -97,10 +97,10 @@ func (o *AvailablePrefix) SetPrefix(v string) { } // GetVrf returns the Vrf field value -// If the value is explicit nil, the zero value for VRF will be returned -func (o *AvailablePrefix) GetVrf() VRF { +// If the value is explicit nil, the zero value for BriefVRF will be returned +func (o *AvailablePrefix) GetVrf() BriefVRF { if o == nil || o.Vrf.Get() == nil { - var ret VRF + var ret BriefVRF return ret } @@ -110,7 +110,7 @@ func (o *AvailablePrefix) GetVrf() VRF { // GetVrfOk returns a tuple with the Vrf 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 *AvailablePrefix) GetVrfOk() (*VRF, bool) { +func (o *AvailablePrefix) GetVrfOk() (*BriefVRF, bool) { if o == nil { return nil, false } @@ -118,7 +118,7 @@ func (o *AvailablePrefix) GetVrfOk() (*VRF, bool) { } // SetVrf sets field value -func (o *AvailablePrefix) SetVrf(v VRF) { +func (o *AvailablePrefix) SetVrf(v BriefVRF) { o.Vrf.Set(&v) } diff --git a/model_available_vlan.go b/model_available_vlan.go index 8228b8d05..c7aeb2098 100644 --- a/model_available_vlan.go +++ b/model_available_vlan.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,8 +20,8 @@ var _ MappedNullable = &AvailableVLAN{} // AvailableVLAN Representation of a VLAN which does not exist in the database. type AvailableVLAN struct { - Vid int32 `json:"vid"` - Group NullableVLANGroup `json:"group"` + Vid int32 `json:"vid"` + Group NullableBriefVLANGroup `json:"group"` AdditionalProperties map[string]interface{} } @@ -31,7 +31,7 @@ type _AvailableVLAN AvailableVLAN // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewAvailableVLAN(vid int32, group NullableVLANGroup) *AvailableVLAN { +func NewAvailableVLAN(vid int32, group NullableBriefVLANGroup) *AvailableVLAN { this := AvailableVLAN{} this.Vid = vid this.Group = group @@ -71,10 +71,10 @@ func (o *AvailableVLAN) SetVid(v int32) { } // GetGroup returns the Group field value -// If the value is explicit nil, the zero value for VLANGroup will be returned -func (o *AvailableVLAN) GetGroup() VLANGroup { +// If the value is explicit nil, the zero value for BriefVLANGroup will be returned +func (o *AvailableVLAN) GetGroup() BriefVLANGroup { if o == nil || o.Group.Get() == nil { - var ret VLANGroup + var ret BriefVLANGroup return ret } @@ -84,7 +84,7 @@ func (o *AvailableVLAN) GetGroup() VLANGroup { // GetGroupOk returns a tuple with the Group 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 *AvailableVLAN) GetGroupOk() (*VLANGroup, bool) { +func (o *AvailableVLAN) GetGroupOk() (*BriefVLANGroup, bool) { if o == nil { return nil, false } @@ -92,7 +92,7 @@ func (o *AvailableVLAN) GetGroupOk() (*VLANGroup, bool) { } // SetGroup sets field value -func (o *AvailableVLAN) SetGroup(v VLANGroup) { +func (o *AvailableVLAN) SetGroup(v BriefVLANGroup) { o.Group.Set(&v) } diff --git a/model_bookmark.go b/model_bookmark.go index 6552b0da1..82931a227 100644 --- a/model_bookmark.go +++ b/model_bookmark.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -27,7 +27,7 @@ type Bookmark struct { ObjectType string `json:"object_type"` ObjectId int64 `json:"object_id"` Object interface{} `json:"object"` - User User `json:"user"` + User BriefUser `json:"user"` Created time.Time `json:"created"` AdditionalProperties map[string]interface{} } @@ -38,7 +38,7 @@ type _Bookmark Bookmark // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewBookmark(id int32, url string, display string, objectType string, objectId int64, object interface{}, user User, created time.Time) *Bookmark { +func NewBookmark(id int32, url string, display string, objectType string, objectId int64, object interface{}, user BriefUser, created time.Time) *Bookmark { this := Bookmark{} this.Id = id this.Url = url @@ -206,9 +206,9 @@ func (o *Bookmark) SetObject(v interface{}) { } // GetUser returns the User field value -func (o *Bookmark) GetUser() User { +func (o *Bookmark) GetUser() BriefUser { if o == nil { - var ret User + var ret BriefUser return ret } @@ -217,7 +217,7 @@ func (o *Bookmark) GetUser() User { // GetUserOk returns a tuple with the User field value // and a boolean to check if the value has been set. -func (o *Bookmark) GetUserOk() (*User, bool) { +func (o *Bookmark) GetUserOk() (*BriefUser, bool) { if o == nil { return nil, false } @@ -225,7 +225,7 @@ func (o *Bookmark) GetUserOk() (*User, bool) { } // SetUser sets field value -func (o *Bookmark) SetUser(v User) { +func (o *Bookmark) SetUser(v BriefUser) { o.User = v } diff --git a/model_bookmark_request.go b/model_bookmark_request.go index 22932dcd2..967ddb071 100644 --- a/model_bookmark_request.go +++ b/model_bookmark_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,9 +20,9 @@ var _ MappedNullable = &BookmarkRequest{} // BookmarkRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 BookmarkRequest struct { - ObjectType string `json:"object_type"` - ObjectId int64 `json:"object_id"` - User UserRequest `json:"user"` + ObjectType string `json:"object_type"` + ObjectId int64 `json:"object_id"` + User BriefUserRequest `json:"user"` AdditionalProperties map[string]interface{} } @@ -32,7 +32,7 @@ type _BookmarkRequest BookmarkRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewBookmarkRequest(objectType string, objectId int64, user UserRequest) *BookmarkRequest { +func NewBookmarkRequest(objectType string, objectId int64, user BriefUserRequest) *BookmarkRequest { this := BookmarkRequest{} this.ObjectType = objectType this.ObjectId = objectId @@ -97,9 +97,9 @@ func (o *BookmarkRequest) SetObjectId(v int64) { } // GetUser returns the User field value -func (o *BookmarkRequest) GetUser() UserRequest { +func (o *BookmarkRequest) GetUser() BriefUserRequest { if o == nil { - var ret UserRequest + var ret BriefUserRequest return ret } @@ -108,7 +108,7 @@ func (o *BookmarkRequest) GetUser() UserRequest { // GetUserOk returns a tuple with the User field value // and a boolean to check if the value has been set. -func (o *BookmarkRequest) GetUserOk() (*UserRequest, bool) { +func (o *BookmarkRequest) GetUserOk() (*BriefUserRequest, bool) { if o == nil { return nil, false } @@ -116,7 +116,7 @@ func (o *BookmarkRequest) GetUserOk() (*UserRequest, bool) { } // SetUser sets field value -func (o *BookmarkRequest) SetUser(v UserRequest) { +func (o *BookmarkRequest) SetUser(v BriefUserRequest) { o.User = v } diff --git a/model_brief_cable.go b/model_brief_cable.go new file mode 100644 index 000000000..733ec4a6d --- /dev/null +++ b/model_brief_cable.go @@ -0,0 +1,298 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefCable type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefCable{} + +// BriefCable Adds support for custom fields and tags. +type BriefCable struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + Label *string `json:"label,omitempty"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefCable BriefCable + +// NewBriefCable instantiates a new BriefCable object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefCable(id int32, url string, display string) *BriefCable { + this := BriefCable{} + this.Id = id + this.Url = url + this.Display = display + return &this +} + +// NewBriefCableWithDefaults instantiates a new BriefCable object +// This 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 NewBriefCableWithDefaults() *BriefCable { + this := BriefCable{} + return &this +} + +// GetId returns the Id field value +func (o *BriefCable) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefCable) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefCable) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefCable) 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 *BriefCable) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefCable) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefCable) 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 *BriefCable) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefCable) SetDisplay(v string) { + o.Display = v +} + +// GetLabel returns the Label field value if set, zero value otherwise. +func (o *BriefCable) GetLabel() string { + if o == nil || IsNil(o.Label) { + var ret string + 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 *BriefCable) GetLabelOk() (*string, 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 *BriefCable) HasLabel() bool { + if o != nil && !IsNil(o.Label) { + return true + } + + return false +} + +// SetLabel gets a reference to the given string and assigns it to the Label field. +func (o *BriefCable) SetLabel(v string) { + o.Label = &v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefCable) 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 *BriefCable) 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 *BriefCable) 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 *BriefCable) SetDescription(v string) { + o.Description = &v +} + +func (o BriefCable) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefCable) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + if !IsNil(o.Label) { + toSerialize["label"] = o.Label + } + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefCable) 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", + "url", + "display", + } + + 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) + } + } + + varBriefCable := _BriefCable{} + + err = json.Unmarshal(data, &varBriefCable) + + if err != nil { + return err + } + + *o = BriefCable(varBriefCable) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "label") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefCable struct { + value *BriefCable + isSet bool +} + +func (v NullableBriefCable) Get() *BriefCable { + return v.value +} + +func (v *NullableBriefCable) Set(val *BriefCable) { + v.value = val + v.isSet = true +} + +func (v NullableBriefCable) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefCable) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefCable(val *BriefCable) *NullableBriefCable { + return &NullableBriefCable{value: val, isSet: true} +} + +func (v NullableBriefCable) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefCable) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_cable_request.go b/model_brief_cable_request.go new file mode 100644 index 000000000..afe0a29d2 --- /dev/null +++ b/model_brief_cable_request.go @@ -0,0 +1,190 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" +) + +// checks if the BriefCableRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefCableRequest{} + +// BriefCableRequest Adds support for custom fields and tags. +type BriefCableRequest struct { + Label *string `json:"label,omitempty"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefCableRequest BriefCableRequest + +// NewBriefCableRequest instantiates a new BriefCableRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefCableRequest() *BriefCableRequest { + this := BriefCableRequest{} + return &this +} + +// NewBriefCableRequestWithDefaults instantiates a new BriefCableRequest object +// This 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 NewBriefCableRequestWithDefaults() *BriefCableRequest { + this := BriefCableRequest{} + return &this +} + +// GetLabel returns the Label field value if set, zero value otherwise. +func (o *BriefCableRequest) GetLabel() string { + if o == nil || IsNil(o.Label) { + var ret string + 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 *BriefCableRequest) GetLabelOk() (*string, 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 *BriefCableRequest) HasLabel() bool { + if o != nil && !IsNil(o.Label) { + return true + } + + return false +} + +// SetLabel gets a reference to the given string and assigns it to the Label field. +func (o *BriefCableRequest) SetLabel(v string) { + o.Label = &v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefCableRequest) 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 *BriefCableRequest) 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 *BriefCableRequest) 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 *BriefCableRequest) SetDescription(v string) { + o.Description = &v +} + +func (o BriefCableRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefCableRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Label) { + toSerialize["label"] = o.Label + } + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefCableRequest) UnmarshalJSON(data []byte) (err error) { + varBriefCableRequest := _BriefCableRequest{} + + err = json.Unmarshal(data, &varBriefCableRequest) + + if err != nil { + return err + } + + *o = BriefCableRequest(varBriefCableRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "label") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefCableRequest struct { + value *BriefCableRequest + isSet bool +} + +func (v NullableBriefCableRequest) Get() *BriefCableRequest { + return v.value +} + +func (v *NullableBriefCableRequest) Set(val *BriefCableRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefCableRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefCableRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefCableRequest(val *BriefCableRequest) *NullableBriefCableRequest { + return &NullableBriefCableRequest{value: val, isSet: true} +} + +func (v NullableBriefCableRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefCableRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_circuit.go b/model_brief_circuit.go new file mode 100644 index 000000000..e279b82e7 --- /dev/null +++ b/model_brief_circuit.go @@ -0,0 +1,320 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefCircuit type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefCircuit{} + +// BriefCircuit Adds support for custom fields and tags. +type BriefCircuit struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + // Unique circuit ID + Cid string `json:"cid"` + Provider BriefProvider `json:"provider"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefCircuit BriefCircuit + +// NewBriefCircuit instantiates a new BriefCircuit object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefCircuit(id int32, url string, display string, cid string, provider BriefProvider) *BriefCircuit { + this := BriefCircuit{} + this.Id = id + this.Url = url + this.Display = display + this.Cid = cid + this.Provider = provider + return &this +} + +// NewBriefCircuitWithDefaults instantiates a new BriefCircuit object +// This 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 NewBriefCircuitWithDefaults() *BriefCircuit { + this := BriefCircuit{} + return &this +} + +// GetId returns the Id field value +func (o *BriefCircuit) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefCircuit) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefCircuit) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefCircuit) 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 *BriefCircuit) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefCircuit) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefCircuit) 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 *BriefCircuit) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefCircuit) SetDisplay(v string) { + o.Display = v +} + +// GetCid returns the Cid field value +func (o *BriefCircuit) GetCid() string { + if o == nil { + var ret string + return ret + } + + return o.Cid +} + +// GetCidOk returns a tuple with the Cid field value +// and a boolean to check if the value has been set. +func (o *BriefCircuit) GetCidOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Cid, true +} + +// SetCid sets field value +func (o *BriefCircuit) SetCid(v string) { + o.Cid = v +} + +// GetProvider returns the Provider field value +func (o *BriefCircuit) GetProvider() BriefProvider { + if o == nil { + var ret BriefProvider + return ret + } + + return o.Provider +} + +// GetProviderOk returns a tuple with the Provider field value +// and a boolean to check if the value has been set. +func (o *BriefCircuit) GetProviderOk() (*BriefProvider, bool) { + if o == nil { + return nil, false + } + return &o.Provider, true +} + +// SetProvider sets field value +func (o *BriefCircuit) SetProvider(v BriefProvider) { + o.Provider = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefCircuit) 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 *BriefCircuit) 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 *BriefCircuit) 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 *BriefCircuit) SetDescription(v string) { + o.Description = &v +} + +func (o BriefCircuit) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefCircuit) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["cid"] = o.Cid + toSerialize["provider"] = o.Provider + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefCircuit) 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", + "url", + "display", + "cid", + "provider", + } + + 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) + } + } + + varBriefCircuit := _BriefCircuit{} + + err = json.Unmarshal(data, &varBriefCircuit) + + if err != nil { + return err + } + + *o = BriefCircuit(varBriefCircuit) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "cid") + delete(additionalProperties, "provider") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefCircuit struct { + value *BriefCircuit + isSet bool +} + +func (v NullableBriefCircuit) Get() *BriefCircuit { + return v.value +} + +func (v *NullableBriefCircuit) Set(val *BriefCircuit) { + v.value = val + v.isSet = true +} + +func (v NullableBriefCircuit) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefCircuit) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefCircuit(val *BriefCircuit) *NullableBriefCircuit { + return &NullableBriefCircuit{value: val, isSet: true} +} + +func (v NullableBriefCircuit) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefCircuit) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_circuit_group.go b/model_brief_circuit_group.go new file mode 100644 index 000000000..daa83d42a --- /dev/null +++ b/model_brief_circuit_group.go @@ -0,0 +1,253 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefCircuitGroup type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefCircuitGroup{} + +// BriefCircuitGroup Adds support for custom fields and tags. +type BriefCircuitGroup struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + Name string `json:"name"` + AdditionalProperties map[string]interface{} +} + +type _BriefCircuitGroup BriefCircuitGroup + +// NewBriefCircuitGroup instantiates a new BriefCircuitGroup object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefCircuitGroup(id int32, url string, display string, name string) *BriefCircuitGroup { + this := BriefCircuitGroup{} + this.Id = id + this.Url = url + this.Display = display + this.Name = name + return &this +} + +// NewBriefCircuitGroupWithDefaults instantiates a new BriefCircuitGroup object +// This 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 NewBriefCircuitGroupWithDefaults() *BriefCircuitGroup { + this := BriefCircuitGroup{} + return &this +} + +// GetId returns the Id field value +func (o *BriefCircuitGroup) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefCircuitGroup) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefCircuitGroup) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefCircuitGroup) 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 *BriefCircuitGroup) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefCircuitGroup) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefCircuitGroup) 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 *BriefCircuitGroup) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefCircuitGroup) SetDisplay(v string) { + o.Display = v +} + +// GetName returns the Name field value +func (o *BriefCircuitGroup) 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 *BriefCircuitGroup) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefCircuitGroup) SetName(v string) { + o.Name = v +} + +func (o BriefCircuitGroup) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefCircuitGroup) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["name"] = o.Name + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefCircuitGroup) 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", + "url", + "display", + "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) + } + } + + varBriefCircuitGroup := _BriefCircuitGroup{} + + err = json.Unmarshal(data, &varBriefCircuitGroup) + + if err != nil { + return err + } + + *o = BriefCircuitGroup(varBriefCircuitGroup) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "name") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefCircuitGroup struct { + value *BriefCircuitGroup + isSet bool +} + +func (v NullableBriefCircuitGroup) Get() *BriefCircuitGroup { + return v.value +} + +func (v *NullableBriefCircuitGroup) Set(val *BriefCircuitGroup) { + v.value = val + v.isSet = true +} + +func (v NullableBriefCircuitGroup) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefCircuitGroup) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefCircuitGroup(val *BriefCircuitGroup) *NullableBriefCircuitGroup { + return &NullableBriefCircuitGroup{value: val, isSet: true} +} + +func (v NullableBriefCircuitGroup) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefCircuitGroup) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_circuit_group_assignment_serializer_.go b/model_brief_circuit_group_assignment_serializer_.go new file mode 100644 index 000000000..47dcad9d5 --- /dev/null +++ b/model_brief_circuit_group_assignment_serializer_.go @@ -0,0 +1,290 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefCircuitGroupAssignmentSerializer type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefCircuitGroupAssignmentSerializer{} + +// BriefCircuitGroupAssignmentSerializer Base serializer for group assignments under CircuitSerializer. +type BriefCircuitGroupAssignmentSerializer struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + Group BriefCircuitGroup `json:"group"` + Priority *BriefCircuitGroupAssignmentSerializerPriority `json:"priority,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefCircuitGroupAssignmentSerializer BriefCircuitGroupAssignmentSerializer + +// NewBriefCircuitGroupAssignmentSerializer instantiates a new BriefCircuitGroupAssignmentSerializer object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefCircuitGroupAssignmentSerializer(id int32, url string, display string, group BriefCircuitGroup) *BriefCircuitGroupAssignmentSerializer { + this := BriefCircuitGroupAssignmentSerializer{} + this.Id = id + this.Url = url + this.Display = display + this.Group = group + return &this +} + +// NewBriefCircuitGroupAssignmentSerializerWithDefaults instantiates a new BriefCircuitGroupAssignmentSerializer object +// This 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 NewBriefCircuitGroupAssignmentSerializerWithDefaults() *BriefCircuitGroupAssignmentSerializer { + this := BriefCircuitGroupAssignmentSerializer{} + return &this +} + +// GetId returns the Id field value +func (o *BriefCircuitGroupAssignmentSerializer) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefCircuitGroupAssignmentSerializer) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefCircuitGroupAssignmentSerializer) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefCircuitGroupAssignmentSerializer) 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 *BriefCircuitGroupAssignmentSerializer) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefCircuitGroupAssignmentSerializer) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefCircuitGroupAssignmentSerializer) 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 *BriefCircuitGroupAssignmentSerializer) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefCircuitGroupAssignmentSerializer) SetDisplay(v string) { + o.Display = v +} + +// GetGroup returns the Group field value +func (o *BriefCircuitGroupAssignmentSerializer) GetGroup() BriefCircuitGroup { + if o == nil { + var ret BriefCircuitGroup + return ret + } + + return o.Group +} + +// GetGroupOk returns a tuple with the Group field value +// and a boolean to check if the value has been set. +func (o *BriefCircuitGroupAssignmentSerializer) GetGroupOk() (*BriefCircuitGroup, bool) { + if o == nil { + return nil, false + } + return &o.Group, true +} + +// SetGroup sets field value +func (o *BriefCircuitGroupAssignmentSerializer) SetGroup(v BriefCircuitGroup) { + o.Group = v +} + +// GetPriority returns the Priority field value if set, zero value otherwise. +func (o *BriefCircuitGroupAssignmentSerializer) GetPriority() BriefCircuitGroupAssignmentSerializerPriority { + if o == nil || IsNil(o.Priority) { + var ret BriefCircuitGroupAssignmentSerializerPriority + return ret + } + return *o.Priority +} + +// GetPriorityOk returns a tuple with the Priority field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BriefCircuitGroupAssignmentSerializer) GetPriorityOk() (*BriefCircuitGroupAssignmentSerializerPriority, bool) { + if o == nil || IsNil(o.Priority) { + return nil, false + } + return o.Priority, true +} + +// HasPriority returns a boolean if a field has been set. +func (o *BriefCircuitGroupAssignmentSerializer) HasPriority() bool { + if o != nil && !IsNil(o.Priority) { + return true + } + + return false +} + +// SetPriority gets a reference to the given BriefCircuitGroupAssignmentSerializerPriority and assigns it to the Priority field. +func (o *BriefCircuitGroupAssignmentSerializer) SetPriority(v BriefCircuitGroupAssignmentSerializerPriority) { + o.Priority = &v +} + +func (o BriefCircuitGroupAssignmentSerializer) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefCircuitGroupAssignmentSerializer) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["group"] = o.Group + if !IsNil(o.Priority) { + toSerialize["priority"] = o.Priority + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefCircuitGroupAssignmentSerializer) 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", + "url", + "display", + "group", + } + + 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) + } + } + + varBriefCircuitGroupAssignmentSerializer := _BriefCircuitGroupAssignmentSerializer{} + + err = json.Unmarshal(data, &varBriefCircuitGroupAssignmentSerializer) + + if err != nil { + return err + } + + *o = BriefCircuitGroupAssignmentSerializer(varBriefCircuitGroupAssignmentSerializer) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "group") + delete(additionalProperties, "priority") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefCircuitGroupAssignmentSerializer struct { + value *BriefCircuitGroupAssignmentSerializer + isSet bool +} + +func (v NullableBriefCircuitGroupAssignmentSerializer) Get() *BriefCircuitGroupAssignmentSerializer { + return v.value +} + +func (v *NullableBriefCircuitGroupAssignmentSerializer) Set(val *BriefCircuitGroupAssignmentSerializer) { + v.value = val + v.isSet = true +} + +func (v NullableBriefCircuitGroupAssignmentSerializer) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefCircuitGroupAssignmentSerializer) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefCircuitGroupAssignmentSerializer(val *BriefCircuitGroupAssignmentSerializer) *NullableBriefCircuitGroupAssignmentSerializer { + return &NullableBriefCircuitGroupAssignmentSerializer{value: val, isSet: true} +} + +func (v NullableBriefCircuitGroupAssignmentSerializer) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefCircuitGroupAssignmentSerializer) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_circuit_group_assignment_serializer__priority.go b/model_brief_circuit_group_assignment_serializer__priority.go new file mode 100644 index 000000000..70e79a289 --- /dev/null +++ b/model_brief_circuit_group_assignment_serializer__priority.go @@ -0,0 +1,190 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" +) + +// checks if the BriefCircuitGroupAssignmentSerializerPriority type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefCircuitGroupAssignmentSerializerPriority{} + +// BriefCircuitGroupAssignmentSerializerPriority struct for BriefCircuitGroupAssignmentSerializerPriority +type BriefCircuitGroupAssignmentSerializerPriority struct { + Value *BriefCircuitGroupAssignmentSerializerPriorityValue `json:"value,omitempty"` + Label *BriefCircuitGroupAssignmentSerializerPriorityLabel `json:"label,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefCircuitGroupAssignmentSerializerPriority BriefCircuitGroupAssignmentSerializerPriority + +// NewBriefCircuitGroupAssignmentSerializerPriority instantiates a new BriefCircuitGroupAssignmentSerializerPriority object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefCircuitGroupAssignmentSerializerPriority() *BriefCircuitGroupAssignmentSerializerPriority { + this := BriefCircuitGroupAssignmentSerializerPriority{} + return &this +} + +// NewBriefCircuitGroupAssignmentSerializerPriorityWithDefaults instantiates a new BriefCircuitGroupAssignmentSerializerPriority object +// This 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 NewBriefCircuitGroupAssignmentSerializerPriorityWithDefaults() *BriefCircuitGroupAssignmentSerializerPriority { + this := BriefCircuitGroupAssignmentSerializerPriority{} + return &this +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *BriefCircuitGroupAssignmentSerializerPriority) GetValue() BriefCircuitGroupAssignmentSerializerPriorityValue { + if o == nil || IsNil(o.Value) { + var ret BriefCircuitGroupAssignmentSerializerPriorityValue + 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 *BriefCircuitGroupAssignmentSerializerPriority) GetValueOk() (*BriefCircuitGroupAssignmentSerializerPriorityValue, 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 *BriefCircuitGroupAssignmentSerializerPriority) HasValue() bool { + if o != nil && !IsNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given BriefCircuitGroupAssignmentSerializerPriorityValue and assigns it to the Value field. +func (o *BriefCircuitGroupAssignmentSerializerPriority) SetValue(v BriefCircuitGroupAssignmentSerializerPriorityValue) { + o.Value = &v +} + +// GetLabel returns the Label field value if set, zero value otherwise. +func (o *BriefCircuitGroupAssignmentSerializerPriority) GetLabel() BriefCircuitGroupAssignmentSerializerPriorityLabel { + if o == nil || IsNil(o.Label) { + var ret BriefCircuitGroupAssignmentSerializerPriorityLabel + 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 *BriefCircuitGroupAssignmentSerializerPriority) GetLabelOk() (*BriefCircuitGroupAssignmentSerializerPriorityLabel, 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 *BriefCircuitGroupAssignmentSerializerPriority) HasLabel() bool { + if o != nil && !IsNil(o.Label) { + return true + } + + return false +} + +// SetLabel gets a reference to the given BriefCircuitGroupAssignmentSerializerPriorityLabel and assigns it to the Label field. +func (o *BriefCircuitGroupAssignmentSerializerPriority) SetLabel(v BriefCircuitGroupAssignmentSerializerPriorityLabel) { + o.Label = &v +} + +func (o BriefCircuitGroupAssignmentSerializerPriority) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefCircuitGroupAssignmentSerializerPriority) 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 *BriefCircuitGroupAssignmentSerializerPriority) UnmarshalJSON(data []byte) (err error) { + varBriefCircuitGroupAssignmentSerializerPriority := _BriefCircuitGroupAssignmentSerializerPriority{} + + err = json.Unmarshal(data, &varBriefCircuitGroupAssignmentSerializerPriority) + + if err != nil { + return err + } + + *o = BriefCircuitGroupAssignmentSerializerPriority(varBriefCircuitGroupAssignmentSerializerPriority) + + 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 NullableBriefCircuitGroupAssignmentSerializerPriority struct { + value *BriefCircuitGroupAssignmentSerializerPriority + isSet bool +} + +func (v NullableBriefCircuitGroupAssignmentSerializerPriority) Get() *BriefCircuitGroupAssignmentSerializerPriority { + return v.value +} + +func (v *NullableBriefCircuitGroupAssignmentSerializerPriority) Set(val *BriefCircuitGroupAssignmentSerializerPriority) { + v.value = val + v.isSet = true +} + +func (v NullableBriefCircuitGroupAssignmentSerializerPriority) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefCircuitGroupAssignmentSerializerPriority) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefCircuitGroupAssignmentSerializerPriority(val *BriefCircuitGroupAssignmentSerializerPriority) *NullableBriefCircuitGroupAssignmentSerializerPriority { + return &NullableBriefCircuitGroupAssignmentSerializerPriority{value: val, isSet: true} +} + +func (v NullableBriefCircuitGroupAssignmentSerializerPriority) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefCircuitGroupAssignmentSerializerPriority) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_circuit_group_assignment_serializer__priority_label.go b/model_brief_circuit_group_assignment_serializer__priority_label.go new file mode 100644 index 000000000..1de6c8676 --- /dev/null +++ b/model_brief_circuit_group_assignment_serializer__priority_label.go @@ -0,0 +1,114 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// BriefCircuitGroupAssignmentSerializerPriorityLabel the model 'BriefCircuitGroupAssignmentSerializerPriorityLabel' +type BriefCircuitGroupAssignmentSerializerPriorityLabel string + +// List of BriefCircuitGroupAssignmentSerializer__priority_label +const ( + BRIEFCIRCUITGROUPASSIGNMENTSERIALIZERPRIORITYLABEL_PRIMARY BriefCircuitGroupAssignmentSerializerPriorityLabel = "Primary" + BRIEFCIRCUITGROUPASSIGNMENTSERIALIZERPRIORITYLABEL_SECONDARY BriefCircuitGroupAssignmentSerializerPriorityLabel = "Secondary" + BRIEFCIRCUITGROUPASSIGNMENTSERIALIZERPRIORITYLABEL_TERTIARY BriefCircuitGroupAssignmentSerializerPriorityLabel = "Tertiary" + BRIEFCIRCUITGROUPASSIGNMENTSERIALIZERPRIORITYLABEL_INACTIVE BriefCircuitGroupAssignmentSerializerPriorityLabel = "Inactive" +) + +// All allowed values of BriefCircuitGroupAssignmentSerializerPriorityLabel enum +var AllowedBriefCircuitGroupAssignmentSerializerPriorityLabelEnumValues = []BriefCircuitGroupAssignmentSerializerPriorityLabel{ + "Primary", + "Secondary", + "Tertiary", + "Inactive", +} + +func (v *BriefCircuitGroupAssignmentSerializerPriorityLabel) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := BriefCircuitGroupAssignmentSerializerPriorityLabel(value) + for _, existing := range AllowedBriefCircuitGroupAssignmentSerializerPriorityLabelEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid BriefCircuitGroupAssignmentSerializerPriorityLabel", value) +} + +// NewBriefCircuitGroupAssignmentSerializerPriorityLabelFromValue returns a pointer to a valid BriefCircuitGroupAssignmentSerializerPriorityLabel +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewBriefCircuitGroupAssignmentSerializerPriorityLabelFromValue(v string) (*BriefCircuitGroupAssignmentSerializerPriorityLabel, error) { + ev := BriefCircuitGroupAssignmentSerializerPriorityLabel(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for BriefCircuitGroupAssignmentSerializerPriorityLabel: valid values are %v", v, AllowedBriefCircuitGroupAssignmentSerializerPriorityLabelEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v BriefCircuitGroupAssignmentSerializerPriorityLabel) IsValid() bool { + for _, existing := range AllowedBriefCircuitGroupAssignmentSerializerPriorityLabelEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to BriefCircuitGroupAssignmentSerializer__priority_label value +func (v BriefCircuitGroupAssignmentSerializerPriorityLabel) Ptr() *BriefCircuitGroupAssignmentSerializerPriorityLabel { + return &v +} + +type NullableBriefCircuitGroupAssignmentSerializerPriorityLabel struct { + value *BriefCircuitGroupAssignmentSerializerPriorityLabel + isSet bool +} + +func (v NullableBriefCircuitGroupAssignmentSerializerPriorityLabel) Get() *BriefCircuitGroupAssignmentSerializerPriorityLabel { + return v.value +} + +func (v *NullableBriefCircuitGroupAssignmentSerializerPriorityLabel) Set(val *BriefCircuitGroupAssignmentSerializerPriorityLabel) { + v.value = val + v.isSet = true +} + +func (v NullableBriefCircuitGroupAssignmentSerializerPriorityLabel) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefCircuitGroupAssignmentSerializerPriorityLabel) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefCircuitGroupAssignmentSerializerPriorityLabel(val *BriefCircuitGroupAssignmentSerializerPriorityLabel) *NullableBriefCircuitGroupAssignmentSerializerPriorityLabel { + return &NullableBriefCircuitGroupAssignmentSerializerPriorityLabel{value: val, isSet: true} +} + +func (v NullableBriefCircuitGroupAssignmentSerializerPriorityLabel) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefCircuitGroupAssignmentSerializerPriorityLabel) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_circuit_group_assignment_serializer__priority_value.go b/model_brief_circuit_group_assignment_serializer__priority_value.go new file mode 100644 index 000000000..d86884ed2 --- /dev/null +++ b/model_brief_circuit_group_assignment_serializer__priority_value.go @@ -0,0 +1,116 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// BriefCircuitGroupAssignmentSerializerPriorityValue * `primary` - Primary * `secondary` - Secondary * `tertiary` - Tertiary * `inactive` - Inactive +type BriefCircuitGroupAssignmentSerializerPriorityValue string + +// List of BriefCircuitGroupAssignmentSerializer__priority_value +const ( + BRIEFCIRCUITGROUPASSIGNMENTSERIALIZERPRIORITYVALUE_PRIMARY BriefCircuitGroupAssignmentSerializerPriorityValue = "primary" + BRIEFCIRCUITGROUPASSIGNMENTSERIALIZERPRIORITYVALUE_SECONDARY BriefCircuitGroupAssignmentSerializerPriorityValue = "secondary" + BRIEFCIRCUITGROUPASSIGNMENTSERIALIZERPRIORITYVALUE_TERTIARY BriefCircuitGroupAssignmentSerializerPriorityValue = "tertiary" + BRIEFCIRCUITGROUPASSIGNMENTSERIALIZERPRIORITYVALUE_INACTIVE BriefCircuitGroupAssignmentSerializerPriorityValue = "inactive" + BRIEFCIRCUITGROUPASSIGNMENTSERIALIZERPRIORITYVALUE_EMPTY BriefCircuitGroupAssignmentSerializerPriorityValue = "" +) + +// All allowed values of BriefCircuitGroupAssignmentSerializerPriorityValue enum +var AllowedBriefCircuitGroupAssignmentSerializerPriorityValueEnumValues = []BriefCircuitGroupAssignmentSerializerPriorityValue{ + "primary", + "secondary", + "tertiary", + "inactive", + "", +} + +func (v *BriefCircuitGroupAssignmentSerializerPriorityValue) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := BriefCircuitGroupAssignmentSerializerPriorityValue(value) + for _, existing := range AllowedBriefCircuitGroupAssignmentSerializerPriorityValueEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid BriefCircuitGroupAssignmentSerializerPriorityValue", value) +} + +// NewBriefCircuitGroupAssignmentSerializerPriorityValueFromValue returns a pointer to a valid BriefCircuitGroupAssignmentSerializerPriorityValue +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewBriefCircuitGroupAssignmentSerializerPriorityValueFromValue(v string) (*BriefCircuitGroupAssignmentSerializerPriorityValue, error) { + ev := BriefCircuitGroupAssignmentSerializerPriorityValue(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for BriefCircuitGroupAssignmentSerializerPriorityValue: valid values are %v", v, AllowedBriefCircuitGroupAssignmentSerializerPriorityValueEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v BriefCircuitGroupAssignmentSerializerPriorityValue) IsValid() bool { + for _, existing := range AllowedBriefCircuitGroupAssignmentSerializerPriorityValueEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to BriefCircuitGroupAssignmentSerializer__priority_value value +func (v BriefCircuitGroupAssignmentSerializerPriorityValue) Ptr() *BriefCircuitGroupAssignmentSerializerPriorityValue { + return &v +} + +type NullableBriefCircuitGroupAssignmentSerializerPriorityValue struct { + value *BriefCircuitGroupAssignmentSerializerPriorityValue + isSet bool +} + +func (v NullableBriefCircuitGroupAssignmentSerializerPriorityValue) Get() *BriefCircuitGroupAssignmentSerializerPriorityValue { + return v.value +} + +func (v *NullableBriefCircuitGroupAssignmentSerializerPriorityValue) Set(val *BriefCircuitGroupAssignmentSerializerPriorityValue) { + v.value = val + v.isSet = true +} + +func (v NullableBriefCircuitGroupAssignmentSerializerPriorityValue) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefCircuitGroupAssignmentSerializerPriorityValue) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefCircuitGroupAssignmentSerializerPriorityValue(val *BriefCircuitGroupAssignmentSerializerPriorityValue) *NullableBriefCircuitGroupAssignmentSerializerPriorityValue { + return &NullableBriefCircuitGroupAssignmentSerializerPriorityValue{value: val, isSet: true} +} + +func (v NullableBriefCircuitGroupAssignmentSerializerPriorityValue) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefCircuitGroupAssignmentSerializerPriorityValue) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_circuit_group_assignment_serializer_request.go b/model_brief_circuit_group_assignment_serializer_request.go new file mode 100644 index 000000000..0f7e3234f --- /dev/null +++ b/model_brief_circuit_group_assignment_serializer_request.go @@ -0,0 +1,203 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefCircuitGroupAssignmentSerializerRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefCircuitGroupAssignmentSerializerRequest{} + +// BriefCircuitGroupAssignmentSerializerRequest Base serializer for group assignments under CircuitSerializer. +type BriefCircuitGroupAssignmentSerializerRequest struct { + Group BriefCircuitGroupRequest `json:"group"` + Priority *BriefCircuitGroupAssignmentSerializerPriorityValue `json:"priority,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefCircuitGroupAssignmentSerializerRequest BriefCircuitGroupAssignmentSerializerRequest + +// NewBriefCircuitGroupAssignmentSerializerRequest instantiates a new BriefCircuitGroupAssignmentSerializerRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefCircuitGroupAssignmentSerializerRequest(group BriefCircuitGroupRequest) *BriefCircuitGroupAssignmentSerializerRequest { + this := BriefCircuitGroupAssignmentSerializerRequest{} + this.Group = group + return &this +} + +// NewBriefCircuitGroupAssignmentSerializerRequestWithDefaults instantiates a new BriefCircuitGroupAssignmentSerializerRequest object +// This 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 NewBriefCircuitGroupAssignmentSerializerRequestWithDefaults() *BriefCircuitGroupAssignmentSerializerRequest { + this := BriefCircuitGroupAssignmentSerializerRequest{} + return &this +} + +// GetGroup returns the Group field value +func (o *BriefCircuitGroupAssignmentSerializerRequest) GetGroup() BriefCircuitGroupRequest { + if o == nil { + var ret BriefCircuitGroupRequest + return ret + } + + return o.Group +} + +// GetGroupOk returns a tuple with the Group field value +// and a boolean to check if the value has been set. +func (o *BriefCircuitGroupAssignmentSerializerRequest) GetGroupOk() (*BriefCircuitGroupRequest, bool) { + if o == nil { + return nil, false + } + return &o.Group, true +} + +// SetGroup sets field value +func (o *BriefCircuitGroupAssignmentSerializerRequest) SetGroup(v BriefCircuitGroupRequest) { + o.Group = v +} + +// GetPriority returns the Priority field value if set, zero value otherwise. +func (o *BriefCircuitGroupAssignmentSerializerRequest) GetPriority() BriefCircuitGroupAssignmentSerializerPriorityValue { + if o == nil || IsNil(o.Priority) { + var ret BriefCircuitGroupAssignmentSerializerPriorityValue + return ret + } + return *o.Priority +} + +// GetPriorityOk returns a tuple with the Priority field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BriefCircuitGroupAssignmentSerializerRequest) GetPriorityOk() (*BriefCircuitGroupAssignmentSerializerPriorityValue, bool) { + if o == nil || IsNil(o.Priority) { + return nil, false + } + return o.Priority, true +} + +// HasPriority returns a boolean if a field has been set. +func (o *BriefCircuitGroupAssignmentSerializerRequest) HasPriority() bool { + if o != nil && !IsNil(o.Priority) { + return true + } + + return false +} + +// SetPriority gets a reference to the given BriefCircuitGroupAssignmentSerializerPriorityValue and assigns it to the Priority field. +func (o *BriefCircuitGroupAssignmentSerializerRequest) SetPriority(v BriefCircuitGroupAssignmentSerializerPriorityValue) { + o.Priority = &v +} + +func (o BriefCircuitGroupAssignmentSerializerRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefCircuitGroupAssignmentSerializerRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["group"] = o.Group + if !IsNil(o.Priority) { + toSerialize["priority"] = o.Priority + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefCircuitGroupAssignmentSerializerRequest) 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{ + "group", + } + + 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) + } + } + + varBriefCircuitGroupAssignmentSerializerRequest := _BriefCircuitGroupAssignmentSerializerRequest{} + + err = json.Unmarshal(data, &varBriefCircuitGroupAssignmentSerializerRequest) + + if err != nil { + return err + } + + *o = BriefCircuitGroupAssignmentSerializerRequest(varBriefCircuitGroupAssignmentSerializerRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "group") + delete(additionalProperties, "priority") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefCircuitGroupAssignmentSerializerRequest struct { + value *BriefCircuitGroupAssignmentSerializerRequest + isSet bool +} + +func (v NullableBriefCircuitGroupAssignmentSerializerRequest) Get() *BriefCircuitGroupAssignmentSerializerRequest { + return v.value +} + +func (v *NullableBriefCircuitGroupAssignmentSerializerRequest) Set(val *BriefCircuitGroupAssignmentSerializerRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefCircuitGroupAssignmentSerializerRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefCircuitGroupAssignmentSerializerRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefCircuitGroupAssignmentSerializerRequest(val *BriefCircuitGroupAssignmentSerializerRequest) *NullableBriefCircuitGroupAssignmentSerializerRequest { + return &NullableBriefCircuitGroupAssignmentSerializerRequest{value: val, isSet: true} +} + +func (v NullableBriefCircuitGroupAssignmentSerializerRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefCircuitGroupAssignmentSerializerRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_circuit_group_request.go b/model_brief_circuit_group_request.go new file mode 100644 index 000000000..1e9fec8b2 --- /dev/null +++ b/model_brief_circuit_group_request.go @@ -0,0 +1,166 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefCircuitGroupRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefCircuitGroupRequest{} + +// BriefCircuitGroupRequest Adds support for custom fields and tags. +type BriefCircuitGroupRequest struct { + Name string `json:"name"` + AdditionalProperties map[string]interface{} +} + +type _BriefCircuitGroupRequest BriefCircuitGroupRequest + +// NewBriefCircuitGroupRequest instantiates a new BriefCircuitGroupRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefCircuitGroupRequest(name string) *BriefCircuitGroupRequest { + this := BriefCircuitGroupRequest{} + this.Name = name + return &this +} + +// NewBriefCircuitGroupRequestWithDefaults instantiates a new BriefCircuitGroupRequest object +// This 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 NewBriefCircuitGroupRequestWithDefaults() *BriefCircuitGroupRequest { + this := BriefCircuitGroupRequest{} + return &this +} + +// GetName returns the Name field value +func (o *BriefCircuitGroupRequest) 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 *BriefCircuitGroupRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefCircuitGroupRequest) SetName(v string) { + o.Name = v +} + +func (o BriefCircuitGroupRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefCircuitGroupRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["name"] = o.Name + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefCircuitGroupRequest) 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) + } + } + + varBriefCircuitGroupRequest := _BriefCircuitGroupRequest{} + + err = json.Unmarshal(data, &varBriefCircuitGroupRequest) + + if err != nil { + return err + } + + *o = BriefCircuitGroupRequest(varBriefCircuitGroupRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "name") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefCircuitGroupRequest struct { + value *BriefCircuitGroupRequest + isSet bool +} + +func (v NullableBriefCircuitGroupRequest) Get() *BriefCircuitGroupRequest { + return v.value +} + +func (v *NullableBriefCircuitGroupRequest) Set(val *BriefCircuitGroupRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefCircuitGroupRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefCircuitGroupRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefCircuitGroupRequest(val *BriefCircuitGroupRequest) *NullableBriefCircuitGroupRequest { + return &NullableBriefCircuitGroupRequest{value: val, isSet: true} +} + +func (v NullableBriefCircuitGroupRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefCircuitGroupRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_circuit_request.go b/model_brief_circuit_request.go new file mode 100644 index 000000000..41791dcb1 --- /dev/null +++ b/model_brief_circuit_request.go @@ -0,0 +1,233 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefCircuitRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefCircuitRequest{} + +// BriefCircuitRequest Adds support for custom fields and tags. +type BriefCircuitRequest struct { + // Unique circuit ID + Cid string `json:"cid"` + Provider BriefProviderRequest `json:"provider"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefCircuitRequest BriefCircuitRequest + +// NewBriefCircuitRequest instantiates a new BriefCircuitRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefCircuitRequest(cid string, provider BriefProviderRequest) *BriefCircuitRequest { + this := BriefCircuitRequest{} + this.Cid = cid + this.Provider = provider + return &this +} + +// NewBriefCircuitRequestWithDefaults instantiates a new BriefCircuitRequest object +// This 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 NewBriefCircuitRequestWithDefaults() *BriefCircuitRequest { + this := BriefCircuitRequest{} + return &this +} + +// GetCid returns the Cid field value +func (o *BriefCircuitRequest) GetCid() string { + if o == nil { + var ret string + return ret + } + + return o.Cid +} + +// GetCidOk returns a tuple with the Cid field value +// and a boolean to check if the value has been set. +func (o *BriefCircuitRequest) GetCidOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Cid, true +} + +// SetCid sets field value +func (o *BriefCircuitRequest) SetCid(v string) { + o.Cid = v +} + +// GetProvider returns the Provider field value +func (o *BriefCircuitRequest) GetProvider() BriefProviderRequest { + if o == nil { + var ret BriefProviderRequest + return ret + } + + return o.Provider +} + +// GetProviderOk returns a tuple with the Provider field value +// and a boolean to check if the value has been set. +func (o *BriefCircuitRequest) GetProviderOk() (*BriefProviderRequest, bool) { + if o == nil { + return nil, false + } + return &o.Provider, true +} + +// SetProvider sets field value +func (o *BriefCircuitRequest) SetProvider(v BriefProviderRequest) { + o.Provider = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefCircuitRequest) 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 *BriefCircuitRequest) 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 *BriefCircuitRequest) 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 *BriefCircuitRequest) SetDescription(v string) { + o.Description = &v +} + +func (o BriefCircuitRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefCircuitRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["cid"] = o.Cid + toSerialize["provider"] = o.Provider + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefCircuitRequest) 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{ + "cid", + "provider", + } + + 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) + } + } + + varBriefCircuitRequest := _BriefCircuitRequest{} + + err = json.Unmarshal(data, &varBriefCircuitRequest) + + if err != nil { + return err + } + + *o = BriefCircuitRequest(varBriefCircuitRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "cid") + delete(additionalProperties, "provider") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefCircuitRequest struct { + value *BriefCircuitRequest + isSet bool +} + +func (v NullableBriefCircuitRequest) Get() *BriefCircuitRequest { + return v.value +} + +func (v *NullableBriefCircuitRequest) Set(val *BriefCircuitRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefCircuitRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefCircuitRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefCircuitRequest(val *BriefCircuitRequest) *NullableBriefCircuitRequest { + return &NullableBriefCircuitRequest{value: val, isSet: true} +} + +func (v NullableBriefCircuitRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefCircuitRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_circuit_type.go b/model_brief_circuit_type.go new file mode 100644 index 000000000..9b8258499 --- /dev/null +++ b/model_brief_circuit_type.go @@ -0,0 +1,348 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefCircuitType type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefCircuitType{} + +// BriefCircuitType Adds support for custom fields and tags. +type BriefCircuitType struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + Name string `json:"name"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + CircuitCount int64 `json:"circuit_count"` + AdditionalProperties map[string]interface{} +} + +type _BriefCircuitType BriefCircuitType + +// NewBriefCircuitType instantiates a new BriefCircuitType object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefCircuitType(id int32, url string, display string, name string, slug string, circuitCount int64) *BriefCircuitType { + this := BriefCircuitType{} + this.Id = id + this.Url = url + this.Display = display + this.Name = name + this.Slug = slug + this.CircuitCount = circuitCount + return &this +} + +// NewBriefCircuitTypeWithDefaults instantiates a new BriefCircuitType object +// This 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 NewBriefCircuitTypeWithDefaults() *BriefCircuitType { + this := BriefCircuitType{} + return &this +} + +// GetId returns the Id field value +func (o *BriefCircuitType) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefCircuitType) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefCircuitType) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefCircuitType) 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 *BriefCircuitType) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefCircuitType) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefCircuitType) 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 *BriefCircuitType) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefCircuitType) SetDisplay(v string) { + o.Display = v +} + +// GetName returns the Name field value +func (o *BriefCircuitType) 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 *BriefCircuitType) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefCircuitType) SetName(v string) { + o.Name = v +} + +// GetSlug returns the Slug field value +func (o *BriefCircuitType) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *BriefCircuitType) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *BriefCircuitType) SetSlug(v string) { + o.Slug = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefCircuitType) 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 *BriefCircuitType) 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 *BriefCircuitType) 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 *BriefCircuitType) SetDescription(v string) { + o.Description = &v +} + +// GetCircuitCount returns the CircuitCount field value +func (o *BriefCircuitType) GetCircuitCount() int64 { + if o == nil { + var ret int64 + return ret + } + + return o.CircuitCount +} + +// GetCircuitCountOk returns a tuple with the CircuitCount field value +// and a boolean to check if the value has been set. +func (o *BriefCircuitType) GetCircuitCountOk() (*int64, bool) { + if o == nil { + return nil, false + } + return &o.CircuitCount, true +} + +// SetCircuitCount sets field value +func (o *BriefCircuitType) SetCircuitCount(v int64) { + o.CircuitCount = v +} + +func (o BriefCircuitType) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefCircuitType) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["name"] = o.Name + toSerialize["slug"] = o.Slug + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + toSerialize["circuit_count"] = o.CircuitCount + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefCircuitType) 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", + "url", + "display", + "name", + "slug", + "circuit_count", + } + + 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) + } + } + + varBriefCircuitType := _BriefCircuitType{} + + err = json.Unmarshal(data, &varBriefCircuitType) + + if err != nil { + return err + } + + *o = BriefCircuitType(varBriefCircuitType) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "name") + delete(additionalProperties, "slug") + delete(additionalProperties, "description") + delete(additionalProperties, "circuit_count") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefCircuitType struct { + value *BriefCircuitType + isSet bool +} + +func (v NullableBriefCircuitType) Get() *BriefCircuitType { + return v.value +} + +func (v *NullableBriefCircuitType) Set(val *BriefCircuitType) { + v.value = val + v.isSet = true +} + +func (v NullableBriefCircuitType) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefCircuitType) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefCircuitType(val *BriefCircuitType) *NullableBriefCircuitType { + return &NullableBriefCircuitType{value: val, isSet: true} +} + +func (v NullableBriefCircuitType) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefCircuitType) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_circuit_type_request.go b/model_brief_circuit_type_request.go new file mode 100644 index 000000000..dd535fe44 --- /dev/null +++ b/model_brief_circuit_type_request.go @@ -0,0 +1,232 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefCircuitTypeRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefCircuitTypeRequest{} + +// BriefCircuitTypeRequest Adds support for custom fields and tags. +type BriefCircuitTypeRequest struct { + Name string `json:"name"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefCircuitTypeRequest BriefCircuitTypeRequest + +// NewBriefCircuitTypeRequest instantiates a new BriefCircuitTypeRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefCircuitTypeRequest(name string, slug string) *BriefCircuitTypeRequest { + this := BriefCircuitTypeRequest{} + this.Name = name + this.Slug = slug + return &this +} + +// NewBriefCircuitTypeRequestWithDefaults instantiates a new BriefCircuitTypeRequest object +// This 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 NewBriefCircuitTypeRequestWithDefaults() *BriefCircuitTypeRequest { + this := BriefCircuitTypeRequest{} + return &this +} + +// GetName returns the Name field value +func (o *BriefCircuitTypeRequest) 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 *BriefCircuitTypeRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefCircuitTypeRequest) SetName(v string) { + o.Name = v +} + +// GetSlug returns the Slug field value +func (o *BriefCircuitTypeRequest) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *BriefCircuitTypeRequest) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *BriefCircuitTypeRequest) SetSlug(v string) { + o.Slug = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefCircuitTypeRequest) 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 *BriefCircuitTypeRequest) 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 *BriefCircuitTypeRequest) 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 *BriefCircuitTypeRequest) SetDescription(v string) { + o.Description = &v +} + +func (o BriefCircuitTypeRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefCircuitTypeRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["name"] = o.Name + toSerialize["slug"] = o.Slug + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefCircuitTypeRequest) 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", + "slug", + } + + 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) + } + } + + varBriefCircuitTypeRequest := _BriefCircuitTypeRequest{} + + err = json.Unmarshal(data, &varBriefCircuitTypeRequest) + + if err != nil { + return err + } + + *o = BriefCircuitTypeRequest(varBriefCircuitTypeRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "name") + delete(additionalProperties, "slug") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefCircuitTypeRequest struct { + value *BriefCircuitTypeRequest + isSet bool +} + +func (v NullableBriefCircuitTypeRequest) Get() *BriefCircuitTypeRequest { + return v.value +} + +func (v *NullableBriefCircuitTypeRequest) Set(val *BriefCircuitTypeRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefCircuitTypeRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefCircuitTypeRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefCircuitTypeRequest(val *BriefCircuitTypeRequest) *NullableBriefCircuitTypeRequest { + return &NullableBriefCircuitTypeRequest{value: val, isSet: true} +} + +func (v NullableBriefCircuitTypeRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefCircuitTypeRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_cluster.go b/model_brief_cluster.go new file mode 100644 index 000000000..6624a1539 --- /dev/null +++ b/model_brief_cluster.go @@ -0,0 +1,327 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefCluster type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefCluster{} + +// BriefCluster Adds support for custom fields and tags. +type BriefCluster struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + Name string `json:"name"` + Description *string `json:"description,omitempty"` + VirtualmachineCount *int64 `json:"virtualmachine_count,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefCluster BriefCluster + +// NewBriefCluster instantiates a new BriefCluster object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefCluster(id int32, url string, display string, name string) *BriefCluster { + this := BriefCluster{} + this.Id = id + this.Url = url + this.Display = display + this.Name = name + return &this +} + +// NewBriefClusterWithDefaults instantiates a new BriefCluster object +// This 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 NewBriefClusterWithDefaults() *BriefCluster { + this := BriefCluster{} + return &this +} + +// GetId returns the Id field value +func (o *BriefCluster) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefCluster) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefCluster) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefCluster) 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 *BriefCluster) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefCluster) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefCluster) 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 *BriefCluster) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefCluster) SetDisplay(v string) { + o.Display = v +} + +// GetName returns the Name field value +func (o *BriefCluster) 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 *BriefCluster) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefCluster) SetName(v string) { + o.Name = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefCluster) 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 *BriefCluster) 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 *BriefCluster) 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 *BriefCluster) SetDescription(v string) { + o.Description = &v +} + +// GetVirtualmachineCount returns the VirtualmachineCount field value if set, zero value otherwise. +func (o *BriefCluster) GetVirtualmachineCount() int64 { + if o == nil || IsNil(o.VirtualmachineCount) { + var ret int64 + return ret + } + return *o.VirtualmachineCount +} + +// GetVirtualmachineCountOk returns a tuple with the VirtualmachineCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BriefCluster) GetVirtualmachineCountOk() (*int64, bool) { + if o == nil || IsNil(o.VirtualmachineCount) { + return nil, false + } + return o.VirtualmachineCount, true +} + +// HasVirtualmachineCount returns a boolean if a field has been set. +func (o *BriefCluster) HasVirtualmachineCount() bool { + if o != nil && !IsNil(o.VirtualmachineCount) { + return true + } + + return false +} + +// SetVirtualmachineCount gets a reference to the given int64 and assigns it to the VirtualmachineCount field. +func (o *BriefCluster) SetVirtualmachineCount(v int64) { + o.VirtualmachineCount = &v +} + +func (o BriefCluster) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefCluster) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["name"] = o.Name + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + if !IsNil(o.VirtualmachineCount) { + toSerialize["virtualmachine_count"] = o.VirtualmachineCount + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefCluster) 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", + "url", + "display", + "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) + } + } + + varBriefCluster := _BriefCluster{} + + err = json.Unmarshal(data, &varBriefCluster) + + if err != nil { + return err + } + + *o = BriefCluster(varBriefCluster) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "name") + delete(additionalProperties, "description") + delete(additionalProperties, "virtualmachine_count") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefCluster struct { + value *BriefCluster + isSet bool +} + +func (v NullableBriefCluster) Get() *BriefCluster { + return v.value +} + +func (v *NullableBriefCluster) Set(val *BriefCluster) { + v.value = val + v.isSet = true +} + +func (v NullableBriefCluster) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefCluster) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefCluster(val *BriefCluster) *NullableBriefCluster { + return &NullableBriefCluster{value: val, isSet: true} +} + +func (v NullableBriefCluster) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefCluster) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_cluster_group.go b/model_brief_cluster_group.go new file mode 100644 index 000000000..21b714cd4 --- /dev/null +++ b/model_brief_cluster_group.go @@ -0,0 +1,348 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefClusterGroup type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefClusterGroup{} + +// BriefClusterGroup Adds support for custom fields and tags. +type BriefClusterGroup struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + Name string `json:"name"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + ClusterCount int64 `json:"cluster_count"` + AdditionalProperties map[string]interface{} +} + +type _BriefClusterGroup BriefClusterGroup + +// NewBriefClusterGroup instantiates a new BriefClusterGroup object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefClusterGroup(id int32, url string, display string, name string, slug string, clusterCount int64) *BriefClusterGroup { + this := BriefClusterGroup{} + this.Id = id + this.Url = url + this.Display = display + this.Name = name + this.Slug = slug + this.ClusterCount = clusterCount + return &this +} + +// NewBriefClusterGroupWithDefaults instantiates a new BriefClusterGroup object +// This 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 NewBriefClusterGroupWithDefaults() *BriefClusterGroup { + this := BriefClusterGroup{} + return &this +} + +// GetId returns the Id field value +func (o *BriefClusterGroup) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefClusterGroup) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefClusterGroup) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefClusterGroup) 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 *BriefClusterGroup) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefClusterGroup) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefClusterGroup) 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 *BriefClusterGroup) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefClusterGroup) SetDisplay(v string) { + o.Display = v +} + +// GetName returns the Name field value +func (o *BriefClusterGroup) 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 *BriefClusterGroup) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefClusterGroup) SetName(v string) { + o.Name = v +} + +// GetSlug returns the Slug field value +func (o *BriefClusterGroup) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *BriefClusterGroup) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *BriefClusterGroup) SetSlug(v string) { + o.Slug = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefClusterGroup) 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 *BriefClusterGroup) 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 *BriefClusterGroup) 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 *BriefClusterGroup) SetDescription(v string) { + o.Description = &v +} + +// GetClusterCount returns the ClusterCount field value +func (o *BriefClusterGroup) GetClusterCount() int64 { + if o == nil { + var ret int64 + return ret + } + + return o.ClusterCount +} + +// GetClusterCountOk returns a tuple with the ClusterCount field value +// and a boolean to check if the value has been set. +func (o *BriefClusterGroup) GetClusterCountOk() (*int64, bool) { + if o == nil { + return nil, false + } + return &o.ClusterCount, true +} + +// SetClusterCount sets field value +func (o *BriefClusterGroup) SetClusterCount(v int64) { + o.ClusterCount = v +} + +func (o BriefClusterGroup) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefClusterGroup) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["name"] = o.Name + toSerialize["slug"] = o.Slug + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + toSerialize["cluster_count"] = o.ClusterCount + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefClusterGroup) 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", + "url", + "display", + "name", + "slug", + "cluster_count", + } + + 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) + } + } + + varBriefClusterGroup := _BriefClusterGroup{} + + err = json.Unmarshal(data, &varBriefClusterGroup) + + if err != nil { + return err + } + + *o = BriefClusterGroup(varBriefClusterGroup) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "name") + delete(additionalProperties, "slug") + delete(additionalProperties, "description") + delete(additionalProperties, "cluster_count") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefClusterGroup struct { + value *BriefClusterGroup + isSet bool +} + +func (v NullableBriefClusterGroup) Get() *BriefClusterGroup { + return v.value +} + +func (v *NullableBriefClusterGroup) Set(val *BriefClusterGroup) { + v.value = val + v.isSet = true +} + +func (v NullableBriefClusterGroup) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefClusterGroup) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefClusterGroup(val *BriefClusterGroup) *NullableBriefClusterGroup { + return &NullableBriefClusterGroup{value: val, isSet: true} +} + +func (v NullableBriefClusterGroup) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefClusterGroup) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_cluster_group_request.go b/model_brief_cluster_group_request.go new file mode 100644 index 000000000..1a4e83071 --- /dev/null +++ b/model_brief_cluster_group_request.go @@ -0,0 +1,232 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefClusterGroupRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefClusterGroupRequest{} + +// BriefClusterGroupRequest Adds support for custom fields and tags. +type BriefClusterGroupRequest struct { + Name string `json:"name"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefClusterGroupRequest BriefClusterGroupRequest + +// NewBriefClusterGroupRequest instantiates a new BriefClusterGroupRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefClusterGroupRequest(name string, slug string) *BriefClusterGroupRequest { + this := BriefClusterGroupRequest{} + this.Name = name + this.Slug = slug + return &this +} + +// NewBriefClusterGroupRequestWithDefaults instantiates a new BriefClusterGroupRequest object +// This 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 NewBriefClusterGroupRequestWithDefaults() *BriefClusterGroupRequest { + this := BriefClusterGroupRequest{} + return &this +} + +// GetName returns the Name field value +func (o *BriefClusterGroupRequest) 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 *BriefClusterGroupRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefClusterGroupRequest) SetName(v string) { + o.Name = v +} + +// GetSlug returns the Slug field value +func (o *BriefClusterGroupRequest) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *BriefClusterGroupRequest) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *BriefClusterGroupRequest) SetSlug(v string) { + o.Slug = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefClusterGroupRequest) 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 *BriefClusterGroupRequest) 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 *BriefClusterGroupRequest) 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 *BriefClusterGroupRequest) SetDescription(v string) { + o.Description = &v +} + +func (o BriefClusterGroupRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefClusterGroupRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["name"] = o.Name + toSerialize["slug"] = o.Slug + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefClusterGroupRequest) 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", + "slug", + } + + 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) + } + } + + varBriefClusterGroupRequest := _BriefClusterGroupRequest{} + + err = json.Unmarshal(data, &varBriefClusterGroupRequest) + + if err != nil { + return err + } + + *o = BriefClusterGroupRequest(varBriefClusterGroupRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "name") + delete(additionalProperties, "slug") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefClusterGroupRequest struct { + value *BriefClusterGroupRequest + isSet bool +} + +func (v NullableBriefClusterGroupRequest) Get() *BriefClusterGroupRequest { + return v.value +} + +func (v *NullableBriefClusterGroupRequest) Set(val *BriefClusterGroupRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefClusterGroupRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefClusterGroupRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefClusterGroupRequest(val *BriefClusterGroupRequest) *NullableBriefClusterGroupRequest { + return &NullableBriefClusterGroupRequest{value: val, isSet: true} +} + +func (v NullableBriefClusterGroupRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefClusterGroupRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_cluster_request.go b/model_brief_cluster_request.go new file mode 100644 index 000000000..8d95f09a3 --- /dev/null +++ b/model_brief_cluster_request.go @@ -0,0 +1,203 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefClusterRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefClusterRequest{} + +// BriefClusterRequest Adds support for custom fields and tags. +type BriefClusterRequest struct { + Name string `json:"name"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefClusterRequest BriefClusterRequest + +// NewBriefClusterRequest instantiates a new BriefClusterRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefClusterRequest(name string) *BriefClusterRequest { + this := BriefClusterRequest{} + this.Name = name + return &this +} + +// NewBriefClusterRequestWithDefaults instantiates a new BriefClusterRequest object +// This 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 NewBriefClusterRequestWithDefaults() *BriefClusterRequest { + this := BriefClusterRequest{} + return &this +} + +// GetName returns the Name field value +func (o *BriefClusterRequest) 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 *BriefClusterRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefClusterRequest) SetName(v string) { + o.Name = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefClusterRequest) 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 *BriefClusterRequest) 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 *BriefClusterRequest) 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 *BriefClusterRequest) SetDescription(v string) { + o.Description = &v +} + +func (o BriefClusterRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefClusterRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["name"] = o.Name + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefClusterRequest) 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) + } + } + + varBriefClusterRequest := _BriefClusterRequest{} + + err = json.Unmarshal(data, &varBriefClusterRequest) + + if err != nil { + return err + } + + *o = BriefClusterRequest(varBriefClusterRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "name") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefClusterRequest struct { + value *BriefClusterRequest + isSet bool +} + +func (v NullableBriefClusterRequest) Get() *BriefClusterRequest { + return v.value +} + +func (v *NullableBriefClusterRequest) Set(val *BriefClusterRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefClusterRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefClusterRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefClusterRequest(val *BriefClusterRequest) *NullableBriefClusterRequest { + return &NullableBriefClusterRequest{value: val, isSet: true} +} + +func (v NullableBriefClusterRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefClusterRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_cluster_type.go b/model_brief_cluster_type.go new file mode 100644 index 000000000..9c8915c48 --- /dev/null +++ b/model_brief_cluster_type.go @@ -0,0 +1,348 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefClusterType type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefClusterType{} + +// BriefClusterType Adds support for custom fields and tags. +type BriefClusterType struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + Name string `json:"name"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + ClusterCount int64 `json:"cluster_count"` + AdditionalProperties map[string]interface{} +} + +type _BriefClusterType BriefClusterType + +// NewBriefClusterType instantiates a new BriefClusterType object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefClusterType(id int32, url string, display string, name string, slug string, clusterCount int64) *BriefClusterType { + this := BriefClusterType{} + this.Id = id + this.Url = url + this.Display = display + this.Name = name + this.Slug = slug + this.ClusterCount = clusterCount + return &this +} + +// NewBriefClusterTypeWithDefaults instantiates a new BriefClusterType object +// This 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 NewBriefClusterTypeWithDefaults() *BriefClusterType { + this := BriefClusterType{} + return &this +} + +// GetId returns the Id field value +func (o *BriefClusterType) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefClusterType) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefClusterType) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefClusterType) 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 *BriefClusterType) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefClusterType) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefClusterType) 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 *BriefClusterType) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefClusterType) SetDisplay(v string) { + o.Display = v +} + +// GetName returns the Name field value +func (o *BriefClusterType) 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 *BriefClusterType) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefClusterType) SetName(v string) { + o.Name = v +} + +// GetSlug returns the Slug field value +func (o *BriefClusterType) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *BriefClusterType) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *BriefClusterType) SetSlug(v string) { + o.Slug = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefClusterType) 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 *BriefClusterType) 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 *BriefClusterType) 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 *BriefClusterType) SetDescription(v string) { + o.Description = &v +} + +// GetClusterCount returns the ClusterCount field value +func (o *BriefClusterType) GetClusterCount() int64 { + if o == nil { + var ret int64 + return ret + } + + return o.ClusterCount +} + +// GetClusterCountOk returns a tuple with the ClusterCount field value +// and a boolean to check if the value has been set. +func (o *BriefClusterType) GetClusterCountOk() (*int64, bool) { + if o == nil { + return nil, false + } + return &o.ClusterCount, true +} + +// SetClusterCount sets field value +func (o *BriefClusterType) SetClusterCount(v int64) { + o.ClusterCount = v +} + +func (o BriefClusterType) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefClusterType) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["name"] = o.Name + toSerialize["slug"] = o.Slug + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + toSerialize["cluster_count"] = o.ClusterCount + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefClusterType) 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", + "url", + "display", + "name", + "slug", + "cluster_count", + } + + 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) + } + } + + varBriefClusterType := _BriefClusterType{} + + err = json.Unmarshal(data, &varBriefClusterType) + + if err != nil { + return err + } + + *o = BriefClusterType(varBriefClusterType) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "name") + delete(additionalProperties, "slug") + delete(additionalProperties, "description") + delete(additionalProperties, "cluster_count") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefClusterType struct { + value *BriefClusterType + isSet bool +} + +func (v NullableBriefClusterType) Get() *BriefClusterType { + return v.value +} + +func (v *NullableBriefClusterType) Set(val *BriefClusterType) { + v.value = val + v.isSet = true +} + +func (v NullableBriefClusterType) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefClusterType) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefClusterType(val *BriefClusterType) *NullableBriefClusterType { + return &NullableBriefClusterType{value: val, isSet: true} +} + +func (v NullableBriefClusterType) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefClusterType) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_cluster_type_request.go b/model_brief_cluster_type_request.go new file mode 100644 index 000000000..76cf5f716 --- /dev/null +++ b/model_brief_cluster_type_request.go @@ -0,0 +1,232 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefClusterTypeRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefClusterTypeRequest{} + +// BriefClusterTypeRequest Adds support for custom fields and tags. +type BriefClusterTypeRequest struct { + Name string `json:"name"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefClusterTypeRequest BriefClusterTypeRequest + +// NewBriefClusterTypeRequest instantiates a new BriefClusterTypeRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefClusterTypeRequest(name string, slug string) *BriefClusterTypeRequest { + this := BriefClusterTypeRequest{} + this.Name = name + this.Slug = slug + return &this +} + +// NewBriefClusterTypeRequestWithDefaults instantiates a new BriefClusterTypeRequest object +// This 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 NewBriefClusterTypeRequestWithDefaults() *BriefClusterTypeRequest { + this := BriefClusterTypeRequest{} + return &this +} + +// GetName returns the Name field value +func (o *BriefClusterTypeRequest) 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 *BriefClusterTypeRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefClusterTypeRequest) SetName(v string) { + o.Name = v +} + +// GetSlug returns the Slug field value +func (o *BriefClusterTypeRequest) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *BriefClusterTypeRequest) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *BriefClusterTypeRequest) SetSlug(v string) { + o.Slug = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefClusterTypeRequest) 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 *BriefClusterTypeRequest) 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 *BriefClusterTypeRequest) 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 *BriefClusterTypeRequest) SetDescription(v string) { + o.Description = &v +} + +func (o BriefClusterTypeRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefClusterTypeRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["name"] = o.Name + toSerialize["slug"] = o.Slug + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefClusterTypeRequest) 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", + "slug", + } + + 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) + } + } + + varBriefClusterTypeRequest := _BriefClusterTypeRequest{} + + err = json.Unmarshal(data, &varBriefClusterTypeRequest) + + if err != nil { + return err + } + + *o = BriefClusterTypeRequest(varBriefClusterTypeRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "name") + delete(additionalProperties, "slug") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefClusterTypeRequest struct { + value *BriefClusterTypeRequest + isSet bool +} + +func (v NullableBriefClusterTypeRequest) Get() *BriefClusterTypeRequest { + return v.value +} + +func (v *NullableBriefClusterTypeRequest) Set(val *BriefClusterTypeRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefClusterTypeRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefClusterTypeRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefClusterTypeRequest(val *BriefClusterTypeRequest) *NullableBriefClusterTypeRequest { + return &NullableBriefClusterTypeRequest{value: val, isSet: true} +} + +func (v NullableBriefClusterTypeRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefClusterTypeRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_config_template.go b/model_brief_config_template.go new file mode 100644 index 000000000..a1fa3a454 --- /dev/null +++ b/model_brief_config_template.go @@ -0,0 +1,290 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefConfigTemplate type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefConfigTemplate{} + +// BriefConfigTemplate Introduces support for Tag assignment. Adds `tags` serialization, and handles tag assignment on create() and update(). +type BriefConfigTemplate struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + Name string `json:"name"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefConfigTemplate BriefConfigTemplate + +// NewBriefConfigTemplate instantiates a new BriefConfigTemplate object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefConfigTemplate(id int32, url string, display string, name string) *BriefConfigTemplate { + this := BriefConfigTemplate{} + this.Id = id + this.Url = url + this.Display = display + this.Name = name + return &this +} + +// NewBriefConfigTemplateWithDefaults instantiates a new BriefConfigTemplate object +// This 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 NewBriefConfigTemplateWithDefaults() *BriefConfigTemplate { + this := BriefConfigTemplate{} + return &this +} + +// GetId returns the Id field value +func (o *BriefConfigTemplate) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefConfigTemplate) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefConfigTemplate) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefConfigTemplate) 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 *BriefConfigTemplate) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefConfigTemplate) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefConfigTemplate) 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 *BriefConfigTemplate) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefConfigTemplate) SetDisplay(v string) { + o.Display = v +} + +// GetName returns the Name field value +func (o *BriefConfigTemplate) 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 *BriefConfigTemplate) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefConfigTemplate) SetName(v string) { + o.Name = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefConfigTemplate) 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 *BriefConfigTemplate) 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 *BriefConfigTemplate) 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 *BriefConfigTemplate) SetDescription(v string) { + o.Description = &v +} + +func (o BriefConfigTemplate) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefConfigTemplate) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["name"] = o.Name + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefConfigTemplate) 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", + "url", + "display", + "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) + } + } + + varBriefConfigTemplate := _BriefConfigTemplate{} + + err = json.Unmarshal(data, &varBriefConfigTemplate) + + if err != nil { + return err + } + + *o = BriefConfigTemplate(varBriefConfigTemplate) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "name") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefConfigTemplate struct { + value *BriefConfigTemplate + isSet bool +} + +func (v NullableBriefConfigTemplate) Get() *BriefConfigTemplate { + return v.value +} + +func (v *NullableBriefConfigTemplate) Set(val *BriefConfigTemplate) { + v.value = val + v.isSet = true +} + +func (v NullableBriefConfigTemplate) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefConfigTemplate) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefConfigTemplate(val *BriefConfigTemplate) *NullableBriefConfigTemplate { + return &NullableBriefConfigTemplate{value: val, isSet: true} +} + +func (v NullableBriefConfigTemplate) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefConfigTemplate) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_config_template_request.go b/model_brief_config_template_request.go new file mode 100644 index 000000000..6341f52c3 --- /dev/null +++ b/model_brief_config_template_request.go @@ -0,0 +1,203 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefConfigTemplateRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefConfigTemplateRequest{} + +// BriefConfigTemplateRequest Introduces support for Tag assignment. Adds `tags` serialization, and handles tag assignment on create() and update(). +type BriefConfigTemplateRequest struct { + Name string `json:"name"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefConfigTemplateRequest BriefConfigTemplateRequest + +// NewBriefConfigTemplateRequest instantiates a new BriefConfigTemplateRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefConfigTemplateRequest(name string) *BriefConfigTemplateRequest { + this := BriefConfigTemplateRequest{} + this.Name = name + return &this +} + +// NewBriefConfigTemplateRequestWithDefaults instantiates a new BriefConfigTemplateRequest object +// This 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 NewBriefConfigTemplateRequestWithDefaults() *BriefConfigTemplateRequest { + this := BriefConfigTemplateRequest{} + return &this +} + +// GetName returns the Name field value +func (o *BriefConfigTemplateRequest) 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 *BriefConfigTemplateRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefConfigTemplateRequest) SetName(v string) { + o.Name = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefConfigTemplateRequest) 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 *BriefConfigTemplateRequest) 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 *BriefConfigTemplateRequest) 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 *BriefConfigTemplateRequest) SetDescription(v string) { + o.Description = &v +} + +func (o BriefConfigTemplateRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefConfigTemplateRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["name"] = o.Name + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefConfigTemplateRequest) 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) + } + } + + varBriefConfigTemplateRequest := _BriefConfigTemplateRequest{} + + err = json.Unmarshal(data, &varBriefConfigTemplateRequest) + + if err != nil { + return err + } + + *o = BriefConfigTemplateRequest(varBriefConfigTemplateRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "name") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefConfigTemplateRequest struct { + value *BriefConfigTemplateRequest + isSet bool +} + +func (v NullableBriefConfigTemplateRequest) Get() *BriefConfigTemplateRequest { + return v.value +} + +func (v *NullableBriefConfigTemplateRequest) Set(val *BriefConfigTemplateRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefConfigTemplateRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefConfigTemplateRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefConfigTemplateRequest(val *BriefConfigTemplateRequest) *NullableBriefConfigTemplateRequest { + return &NullableBriefConfigTemplateRequest{value: val, isSet: true} +} + +func (v NullableBriefConfigTemplateRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefConfigTemplateRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_contact.go b/model_brief_contact.go new file mode 100644 index 000000000..bfd57048b --- /dev/null +++ b/model_brief_contact.go @@ -0,0 +1,290 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefContact type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefContact{} + +// BriefContact Adds support for custom fields and tags. +type BriefContact struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + Name string `json:"name"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefContact BriefContact + +// NewBriefContact instantiates a new BriefContact object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefContact(id int32, url string, display string, name string) *BriefContact { + this := BriefContact{} + this.Id = id + this.Url = url + this.Display = display + this.Name = name + return &this +} + +// NewBriefContactWithDefaults instantiates a new BriefContact object +// This 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 NewBriefContactWithDefaults() *BriefContact { + this := BriefContact{} + return &this +} + +// GetId returns the Id field value +func (o *BriefContact) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefContact) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefContact) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefContact) 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 *BriefContact) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefContact) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefContact) 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 *BriefContact) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefContact) SetDisplay(v string) { + o.Display = v +} + +// GetName returns the Name field value +func (o *BriefContact) 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 *BriefContact) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefContact) SetName(v string) { + o.Name = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefContact) 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 *BriefContact) 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 *BriefContact) 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 *BriefContact) SetDescription(v string) { + o.Description = &v +} + +func (o BriefContact) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefContact) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["name"] = o.Name + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefContact) 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", + "url", + "display", + "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) + } + } + + varBriefContact := _BriefContact{} + + err = json.Unmarshal(data, &varBriefContact) + + if err != nil { + return err + } + + *o = BriefContact(varBriefContact) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "name") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefContact struct { + value *BriefContact + isSet bool +} + +func (v NullableBriefContact) Get() *BriefContact { + return v.value +} + +func (v *NullableBriefContact) Set(val *BriefContact) { + v.value = val + v.isSet = true +} + +func (v NullableBriefContact) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefContact) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefContact(val *BriefContact) *NullableBriefContact { + return &NullableBriefContact{value: val, isSet: true} +} + +func (v NullableBriefContact) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefContact) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_contact_group.go b/model_brief_contact_group.go new file mode 100644 index 000000000..55ae42ecb --- /dev/null +++ b/model_brief_contact_group.go @@ -0,0 +1,377 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefContactGroup type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefContactGroup{} + +// BriefContactGroup Extends PrimaryModelSerializer to include MPTT support. +type BriefContactGroup struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + Name string `json:"name"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + ContactCount int32 `json:"contact_count"` + Depth int32 `json:"_depth"` + AdditionalProperties map[string]interface{} +} + +type _BriefContactGroup BriefContactGroup + +// NewBriefContactGroup instantiates a new BriefContactGroup object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefContactGroup(id int32, url string, display string, name string, slug string, contactCount int32, depth int32) *BriefContactGroup { + this := BriefContactGroup{} + this.Id = id + this.Url = url + this.Display = display + this.Name = name + this.Slug = slug + this.ContactCount = contactCount + this.Depth = depth + return &this +} + +// NewBriefContactGroupWithDefaults instantiates a new BriefContactGroup object +// This 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 NewBriefContactGroupWithDefaults() *BriefContactGroup { + this := BriefContactGroup{} + return &this +} + +// GetId returns the Id field value +func (o *BriefContactGroup) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefContactGroup) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefContactGroup) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefContactGroup) 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 *BriefContactGroup) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefContactGroup) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefContactGroup) 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 *BriefContactGroup) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefContactGroup) SetDisplay(v string) { + o.Display = v +} + +// GetName returns the Name field value +func (o *BriefContactGroup) 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 *BriefContactGroup) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefContactGroup) SetName(v string) { + o.Name = v +} + +// GetSlug returns the Slug field value +func (o *BriefContactGroup) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *BriefContactGroup) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *BriefContactGroup) SetSlug(v string) { + o.Slug = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefContactGroup) 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 *BriefContactGroup) 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 *BriefContactGroup) 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 *BriefContactGroup) SetDescription(v string) { + o.Description = &v +} + +// GetContactCount returns the ContactCount field value +func (o *BriefContactGroup) GetContactCount() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.ContactCount +} + +// GetContactCountOk returns a tuple with the ContactCount field value +// and a boolean to check if the value has been set. +func (o *BriefContactGroup) GetContactCountOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.ContactCount, true +} + +// SetContactCount sets field value +func (o *BriefContactGroup) SetContactCount(v int32) { + o.ContactCount = v +} + +// GetDepth returns the Depth field value +func (o *BriefContactGroup) GetDepth() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Depth +} + +// GetDepthOk returns a tuple with the Depth field value +// and a boolean to check if the value has been set. +func (o *BriefContactGroup) GetDepthOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Depth, true +} + +// SetDepth sets field value +func (o *BriefContactGroup) SetDepth(v int32) { + o.Depth = v +} + +func (o BriefContactGroup) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefContactGroup) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["name"] = o.Name + toSerialize["slug"] = o.Slug + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + toSerialize["contact_count"] = o.ContactCount + toSerialize["_depth"] = o.Depth + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefContactGroup) 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", + "url", + "display", + "name", + "slug", + "contact_count", + "_depth", + } + + 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) + } + } + + varBriefContactGroup := _BriefContactGroup{} + + err = json.Unmarshal(data, &varBriefContactGroup) + + if err != nil { + return err + } + + *o = BriefContactGroup(varBriefContactGroup) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "name") + delete(additionalProperties, "slug") + delete(additionalProperties, "description") + delete(additionalProperties, "contact_count") + delete(additionalProperties, "_depth") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefContactGroup struct { + value *BriefContactGroup + isSet bool +} + +func (v NullableBriefContactGroup) Get() *BriefContactGroup { + return v.value +} + +func (v *NullableBriefContactGroup) Set(val *BriefContactGroup) { + v.value = val + v.isSet = true +} + +func (v NullableBriefContactGroup) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefContactGroup) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefContactGroup(val *BriefContactGroup) *NullableBriefContactGroup { + return &NullableBriefContactGroup{value: val, isSet: true} +} + +func (v NullableBriefContactGroup) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefContactGroup) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_contact_group_request.go b/model_brief_contact_group_request.go new file mode 100644 index 000000000..6aaa4f864 --- /dev/null +++ b/model_brief_contact_group_request.go @@ -0,0 +1,232 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefContactGroupRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefContactGroupRequest{} + +// BriefContactGroupRequest Extends PrimaryModelSerializer to include MPTT support. +type BriefContactGroupRequest struct { + Name string `json:"name"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefContactGroupRequest BriefContactGroupRequest + +// NewBriefContactGroupRequest instantiates a new BriefContactGroupRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefContactGroupRequest(name string, slug string) *BriefContactGroupRequest { + this := BriefContactGroupRequest{} + this.Name = name + this.Slug = slug + return &this +} + +// NewBriefContactGroupRequestWithDefaults instantiates a new BriefContactGroupRequest object +// This 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 NewBriefContactGroupRequestWithDefaults() *BriefContactGroupRequest { + this := BriefContactGroupRequest{} + return &this +} + +// GetName returns the Name field value +func (o *BriefContactGroupRequest) 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 *BriefContactGroupRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefContactGroupRequest) SetName(v string) { + o.Name = v +} + +// GetSlug returns the Slug field value +func (o *BriefContactGroupRequest) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *BriefContactGroupRequest) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *BriefContactGroupRequest) SetSlug(v string) { + o.Slug = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefContactGroupRequest) 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 *BriefContactGroupRequest) 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 *BriefContactGroupRequest) 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 *BriefContactGroupRequest) SetDescription(v string) { + o.Description = &v +} + +func (o BriefContactGroupRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefContactGroupRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["name"] = o.Name + toSerialize["slug"] = o.Slug + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefContactGroupRequest) 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", + "slug", + } + + 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) + } + } + + varBriefContactGroupRequest := _BriefContactGroupRequest{} + + err = json.Unmarshal(data, &varBriefContactGroupRequest) + + if err != nil { + return err + } + + *o = BriefContactGroupRequest(varBriefContactGroupRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "name") + delete(additionalProperties, "slug") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefContactGroupRequest struct { + value *BriefContactGroupRequest + isSet bool +} + +func (v NullableBriefContactGroupRequest) Get() *BriefContactGroupRequest { + return v.value +} + +func (v *NullableBriefContactGroupRequest) Set(val *BriefContactGroupRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefContactGroupRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefContactGroupRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefContactGroupRequest(val *BriefContactGroupRequest) *NullableBriefContactGroupRequest { + return &NullableBriefContactGroupRequest{value: val, isSet: true} +} + +func (v NullableBriefContactGroupRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefContactGroupRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_contact_request.go b/model_brief_contact_request.go new file mode 100644 index 000000000..ce0fba71f --- /dev/null +++ b/model_brief_contact_request.go @@ -0,0 +1,203 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefContactRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefContactRequest{} + +// BriefContactRequest Adds support for custom fields and tags. +type BriefContactRequest struct { + Name string `json:"name"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefContactRequest BriefContactRequest + +// NewBriefContactRequest instantiates a new BriefContactRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefContactRequest(name string) *BriefContactRequest { + this := BriefContactRequest{} + this.Name = name + return &this +} + +// NewBriefContactRequestWithDefaults instantiates a new BriefContactRequest object +// This 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 NewBriefContactRequestWithDefaults() *BriefContactRequest { + this := BriefContactRequest{} + return &this +} + +// GetName returns the Name field value +func (o *BriefContactRequest) 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 *BriefContactRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefContactRequest) SetName(v string) { + o.Name = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefContactRequest) 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 *BriefContactRequest) 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 *BriefContactRequest) 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 *BriefContactRequest) SetDescription(v string) { + o.Description = &v +} + +func (o BriefContactRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefContactRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["name"] = o.Name + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefContactRequest) 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) + } + } + + varBriefContactRequest := _BriefContactRequest{} + + err = json.Unmarshal(data, &varBriefContactRequest) + + if err != nil { + return err + } + + *o = BriefContactRequest(varBriefContactRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "name") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefContactRequest struct { + value *BriefContactRequest + isSet bool +} + +func (v NullableBriefContactRequest) Get() *BriefContactRequest { + return v.value +} + +func (v *NullableBriefContactRequest) Set(val *BriefContactRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefContactRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefContactRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefContactRequest(val *BriefContactRequest) *NullableBriefContactRequest { + return &NullableBriefContactRequest{value: val, isSet: true} +} + +func (v NullableBriefContactRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefContactRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_contact_role.go b/model_brief_contact_role.go new file mode 100644 index 000000000..5faab7ecd --- /dev/null +++ b/model_brief_contact_role.go @@ -0,0 +1,319 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefContactRole type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefContactRole{} + +// BriefContactRole Adds support for custom fields and tags. +type BriefContactRole struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + Name string `json:"name"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefContactRole BriefContactRole + +// NewBriefContactRole instantiates a new BriefContactRole object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefContactRole(id int32, url string, display string, name string, slug string) *BriefContactRole { + this := BriefContactRole{} + this.Id = id + this.Url = url + this.Display = display + this.Name = name + this.Slug = slug + return &this +} + +// NewBriefContactRoleWithDefaults instantiates a new BriefContactRole object +// This 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 NewBriefContactRoleWithDefaults() *BriefContactRole { + this := BriefContactRole{} + return &this +} + +// GetId returns the Id field value +func (o *BriefContactRole) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefContactRole) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefContactRole) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefContactRole) 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 *BriefContactRole) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefContactRole) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefContactRole) 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 *BriefContactRole) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefContactRole) SetDisplay(v string) { + o.Display = v +} + +// GetName returns the Name field value +func (o *BriefContactRole) 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 *BriefContactRole) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefContactRole) SetName(v string) { + o.Name = v +} + +// GetSlug returns the Slug field value +func (o *BriefContactRole) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *BriefContactRole) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *BriefContactRole) SetSlug(v string) { + o.Slug = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefContactRole) 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 *BriefContactRole) 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 *BriefContactRole) 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 *BriefContactRole) SetDescription(v string) { + o.Description = &v +} + +func (o BriefContactRole) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefContactRole) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["name"] = o.Name + toSerialize["slug"] = o.Slug + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefContactRole) 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", + "url", + "display", + "name", + "slug", + } + + 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) + } + } + + varBriefContactRole := _BriefContactRole{} + + err = json.Unmarshal(data, &varBriefContactRole) + + if err != nil { + return err + } + + *o = BriefContactRole(varBriefContactRole) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "name") + delete(additionalProperties, "slug") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefContactRole struct { + value *BriefContactRole + isSet bool +} + +func (v NullableBriefContactRole) Get() *BriefContactRole { + return v.value +} + +func (v *NullableBriefContactRole) Set(val *BriefContactRole) { + v.value = val + v.isSet = true +} + +func (v NullableBriefContactRole) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefContactRole) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefContactRole(val *BriefContactRole) *NullableBriefContactRole { + return &NullableBriefContactRole{value: val, isSet: true} +} + +func (v NullableBriefContactRole) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefContactRole) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_contact_role_request.go b/model_brief_contact_role_request.go new file mode 100644 index 000000000..08a78454d --- /dev/null +++ b/model_brief_contact_role_request.go @@ -0,0 +1,232 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefContactRoleRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefContactRoleRequest{} + +// BriefContactRoleRequest Adds support for custom fields and tags. +type BriefContactRoleRequest struct { + Name string `json:"name"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefContactRoleRequest BriefContactRoleRequest + +// NewBriefContactRoleRequest instantiates a new BriefContactRoleRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefContactRoleRequest(name string, slug string) *BriefContactRoleRequest { + this := BriefContactRoleRequest{} + this.Name = name + this.Slug = slug + return &this +} + +// NewBriefContactRoleRequestWithDefaults instantiates a new BriefContactRoleRequest object +// This 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 NewBriefContactRoleRequestWithDefaults() *BriefContactRoleRequest { + this := BriefContactRoleRequest{} + return &this +} + +// GetName returns the Name field value +func (o *BriefContactRoleRequest) 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 *BriefContactRoleRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefContactRoleRequest) SetName(v string) { + o.Name = v +} + +// GetSlug returns the Slug field value +func (o *BriefContactRoleRequest) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *BriefContactRoleRequest) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *BriefContactRoleRequest) SetSlug(v string) { + o.Slug = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefContactRoleRequest) 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 *BriefContactRoleRequest) 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 *BriefContactRoleRequest) 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 *BriefContactRoleRequest) SetDescription(v string) { + o.Description = &v +} + +func (o BriefContactRoleRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefContactRoleRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["name"] = o.Name + toSerialize["slug"] = o.Slug + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefContactRoleRequest) 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", + "slug", + } + + 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) + } + } + + varBriefContactRoleRequest := _BriefContactRoleRequest{} + + err = json.Unmarshal(data, &varBriefContactRoleRequest) + + if err != nil { + return err + } + + *o = BriefContactRoleRequest(varBriefContactRoleRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "name") + delete(additionalProperties, "slug") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefContactRoleRequest struct { + value *BriefContactRoleRequest + isSet bool +} + +func (v NullableBriefContactRoleRequest) Get() *BriefContactRoleRequest { + return v.value +} + +func (v *NullableBriefContactRoleRequest) Set(val *BriefContactRoleRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefContactRoleRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefContactRoleRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefContactRoleRequest(val *BriefContactRoleRequest) *NullableBriefContactRoleRequest { + return &NullableBriefContactRoleRequest{value: val, isSet: true} +} + +func (v NullableBriefContactRoleRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefContactRoleRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_custom_field_choice_set.go b/model_brief_custom_field_choice_set.go new file mode 100644 index 000000000..9233dc85d --- /dev/null +++ b/model_brief_custom_field_choice_set.go @@ -0,0 +1,319 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefCustomFieldChoiceSet type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefCustomFieldChoiceSet{} + +// BriefCustomFieldChoiceSet Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 BriefCustomFieldChoiceSet struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + Name string `json:"name"` + Description *string `json:"description,omitempty"` + ChoicesCount string `json:"choices_count"` + AdditionalProperties map[string]interface{} +} + +type _BriefCustomFieldChoiceSet BriefCustomFieldChoiceSet + +// NewBriefCustomFieldChoiceSet instantiates a new BriefCustomFieldChoiceSet object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefCustomFieldChoiceSet(id int32, url string, display string, name string, choicesCount string) *BriefCustomFieldChoiceSet { + this := BriefCustomFieldChoiceSet{} + this.Id = id + this.Url = url + this.Display = display + this.Name = name + this.ChoicesCount = choicesCount + return &this +} + +// NewBriefCustomFieldChoiceSetWithDefaults instantiates a new BriefCustomFieldChoiceSet object +// This 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 NewBriefCustomFieldChoiceSetWithDefaults() *BriefCustomFieldChoiceSet { + this := BriefCustomFieldChoiceSet{} + return &this +} + +// GetId returns the Id field value +func (o *BriefCustomFieldChoiceSet) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefCustomFieldChoiceSet) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefCustomFieldChoiceSet) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefCustomFieldChoiceSet) 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 *BriefCustomFieldChoiceSet) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefCustomFieldChoiceSet) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefCustomFieldChoiceSet) 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 *BriefCustomFieldChoiceSet) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefCustomFieldChoiceSet) SetDisplay(v string) { + o.Display = v +} + +// GetName returns the Name field value +func (o *BriefCustomFieldChoiceSet) 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 *BriefCustomFieldChoiceSet) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefCustomFieldChoiceSet) SetName(v string) { + o.Name = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefCustomFieldChoiceSet) 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 *BriefCustomFieldChoiceSet) 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 *BriefCustomFieldChoiceSet) 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 *BriefCustomFieldChoiceSet) SetDescription(v string) { + o.Description = &v +} + +// GetChoicesCount returns the ChoicesCount field value +func (o *BriefCustomFieldChoiceSet) GetChoicesCount() string { + if o == nil { + var ret string + return ret + } + + return o.ChoicesCount +} + +// GetChoicesCountOk returns a tuple with the ChoicesCount field value +// and a boolean to check if the value has been set. +func (o *BriefCustomFieldChoiceSet) GetChoicesCountOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ChoicesCount, true +} + +// SetChoicesCount sets field value +func (o *BriefCustomFieldChoiceSet) SetChoicesCount(v string) { + o.ChoicesCount = v +} + +func (o BriefCustomFieldChoiceSet) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefCustomFieldChoiceSet) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["name"] = o.Name + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + toSerialize["choices_count"] = o.ChoicesCount + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefCustomFieldChoiceSet) 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", + "url", + "display", + "name", + "choices_count", + } + + 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) + } + } + + varBriefCustomFieldChoiceSet := _BriefCustomFieldChoiceSet{} + + err = json.Unmarshal(data, &varBriefCustomFieldChoiceSet) + + if err != nil { + return err + } + + *o = BriefCustomFieldChoiceSet(varBriefCustomFieldChoiceSet) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "name") + delete(additionalProperties, "description") + delete(additionalProperties, "choices_count") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefCustomFieldChoiceSet struct { + value *BriefCustomFieldChoiceSet + isSet bool +} + +func (v NullableBriefCustomFieldChoiceSet) Get() *BriefCustomFieldChoiceSet { + return v.value +} + +func (v *NullableBriefCustomFieldChoiceSet) Set(val *BriefCustomFieldChoiceSet) { + v.value = val + v.isSet = true +} + +func (v NullableBriefCustomFieldChoiceSet) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefCustomFieldChoiceSet) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefCustomFieldChoiceSet(val *BriefCustomFieldChoiceSet) *NullableBriefCustomFieldChoiceSet { + return &NullableBriefCustomFieldChoiceSet{value: val, isSet: true} +} + +func (v NullableBriefCustomFieldChoiceSet) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefCustomFieldChoiceSet) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_custom_field_choice_set_request.go b/model_brief_custom_field_choice_set_request.go new file mode 100644 index 000000000..36d5e763b --- /dev/null +++ b/model_brief_custom_field_choice_set_request.go @@ -0,0 +1,203 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefCustomFieldChoiceSetRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefCustomFieldChoiceSetRequest{} + +// BriefCustomFieldChoiceSetRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 BriefCustomFieldChoiceSetRequest struct { + Name string `json:"name"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefCustomFieldChoiceSetRequest BriefCustomFieldChoiceSetRequest + +// NewBriefCustomFieldChoiceSetRequest instantiates a new BriefCustomFieldChoiceSetRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefCustomFieldChoiceSetRequest(name string) *BriefCustomFieldChoiceSetRequest { + this := BriefCustomFieldChoiceSetRequest{} + this.Name = name + return &this +} + +// NewBriefCustomFieldChoiceSetRequestWithDefaults instantiates a new BriefCustomFieldChoiceSetRequest object +// This 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 NewBriefCustomFieldChoiceSetRequestWithDefaults() *BriefCustomFieldChoiceSetRequest { + this := BriefCustomFieldChoiceSetRequest{} + return &this +} + +// GetName returns the Name field value +func (o *BriefCustomFieldChoiceSetRequest) 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 *BriefCustomFieldChoiceSetRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefCustomFieldChoiceSetRequest) SetName(v string) { + o.Name = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefCustomFieldChoiceSetRequest) 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 *BriefCustomFieldChoiceSetRequest) 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 *BriefCustomFieldChoiceSetRequest) 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 *BriefCustomFieldChoiceSetRequest) SetDescription(v string) { + o.Description = &v +} + +func (o BriefCustomFieldChoiceSetRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefCustomFieldChoiceSetRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["name"] = o.Name + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefCustomFieldChoiceSetRequest) 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) + } + } + + varBriefCustomFieldChoiceSetRequest := _BriefCustomFieldChoiceSetRequest{} + + err = json.Unmarshal(data, &varBriefCustomFieldChoiceSetRequest) + + if err != nil { + return err + } + + *o = BriefCustomFieldChoiceSetRequest(varBriefCustomFieldChoiceSetRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "name") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefCustomFieldChoiceSetRequest struct { + value *BriefCustomFieldChoiceSetRequest + isSet bool +} + +func (v NullableBriefCustomFieldChoiceSetRequest) Get() *BriefCustomFieldChoiceSetRequest { + return v.value +} + +func (v *NullableBriefCustomFieldChoiceSetRequest) Set(val *BriefCustomFieldChoiceSetRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefCustomFieldChoiceSetRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefCustomFieldChoiceSetRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefCustomFieldChoiceSetRequest(val *BriefCustomFieldChoiceSetRequest) *NullableBriefCustomFieldChoiceSetRequest { + return &NullableBriefCustomFieldChoiceSetRequest{value: val, isSet: true} +} + +func (v NullableBriefCustomFieldChoiceSetRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefCustomFieldChoiceSetRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_data_file.go b/model_brief_data_file.go new file mode 100644 index 000000000..39a949829 --- /dev/null +++ b/model_brief_data_file.go @@ -0,0 +1,254 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefDataFile type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefDataFile{} + +// BriefDataFile Adds support for custom fields and tags. +type BriefDataFile struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + // File path relative to the data source's root + Path string `json:"path"` + AdditionalProperties map[string]interface{} +} + +type _BriefDataFile BriefDataFile + +// NewBriefDataFile instantiates a new BriefDataFile object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefDataFile(id int32, url string, display string, path string) *BriefDataFile { + this := BriefDataFile{} + this.Id = id + this.Url = url + this.Display = display + this.Path = path + return &this +} + +// NewBriefDataFileWithDefaults instantiates a new BriefDataFile object +// This 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 NewBriefDataFileWithDefaults() *BriefDataFile { + this := BriefDataFile{} + return &this +} + +// GetId returns the Id field value +func (o *BriefDataFile) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefDataFile) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefDataFile) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefDataFile) 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 *BriefDataFile) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefDataFile) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefDataFile) 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 *BriefDataFile) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefDataFile) SetDisplay(v string) { + o.Display = v +} + +// GetPath returns the Path field value +func (o *BriefDataFile) GetPath() string { + if o == nil { + var ret string + return ret + } + + return o.Path +} + +// GetPathOk returns a tuple with the Path field value +// and a boolean to check if the value has been set. +func (o *BriefDataFile) GetPathOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Path, true +} + +// SetPath sets field value +func (o *BriefDataFile) SetPath(v string) { + o.Path = v +} + +func (o BriefDataFile) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefDataFile) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["path"] = o.Path + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefDataFile) 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", + "url", + "display", + "path", + } + + 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) + } + } + + varBriefDataFile := _BriefDataFile{} + + err = json.Unmarshal(data, &varBriefDataFile) + + if err != nil { + return err + } + + *o = BriefDataFile(varBriefDataFile) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "path") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefDataFile struct { + value *BriefDataFile + isSet bool +} + +func (v NullableBriefDataFile) Get() *BriefDataFile { + return v.value +} + +func (v *NullableBriefDataFile) Set(val *BriefDataFile) { + v.value = val + v.isSet = true +} + +func (v NullableBriefDataFile) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefDataFile) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefDataFile(val *BriefDataFile) *NullableBriefDataFile { + return &NullableBriefDataFile{value: val, isSet: true} +} + +func (v NullableBriefDataFile) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefDataFile) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_data_source.go b/model_brief_data_source.go new file mode 100644 index 000000000..58a4684e8 --- /dev/null +++ b/model_brief_data_source.go @@ -0,0 +1,290 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefDataSource type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefDataSource{} + +// BriefDataSource Adds support for custom fields and tags. +type BriefDataSource struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + Name string `json:"name"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefDataSource BriefDataSource + +// NewBriefDataSource instantiates a new BriefDataSource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefDataSource(id int32, url string, display string, name string) *BriefDataSource { + this := BriefDataSource{} + this.Id = id + this.Url = url + this.Display = display + this.Name = name + return &this +} + +// NewBriefDataSourceWithDefaults instantiates a new BriefDataSource object +// This 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 NewBriefDataSourceWithDefaults() *BriefDataSource { + this := BriefDataSource{} + return &this +} + +// GetId returns the Id field value +func (o *BriefDataSource) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefDataSource) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefDataSource) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefDataSource) 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 *BriefDataSource) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefDataSource) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefDataSource) 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 *BriefDataSource) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefDataSource) SetDisplay(v string) { + o.Display = v +} + +// GetName returns the Name field value +func (o *BriefDataSource) 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 *BriefDataSource) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefDataSource) SetName(v string) { + o.Name = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefDataSource) 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 *BriefDataSource) 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 *BriefDataSource) 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 *BriefDataSource) SetDescription(v string) { + o.Description = &v +} + +func (o BriefDataSource) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefDataSource) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["name"] = o.Name + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefDataSource) 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", + "url", + "display", + "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) + } + } + + varBriefDataSource := _BriefDataSource{} + + err = json.Unmarshal(data, &varBriefDataSource) + + if err != nil { + return err + } + + *o = BriefDataSource(varBriefDataSource) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "name") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefDataSource struct { + value *BriefDataSource + isSet bool +} + +func (v NullableBriefDataSource) Get() *BriefDataSource { + return v.value +} + +func (v *NullableBriefDataSource) Set(val *BriefDataSource) { + v.value = val + v.isSet = true +} + +func (v NullableBriefDataSource) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefDataSource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefDataSource(val *BriefDataSource) *NullableBriefDataSource { + return &NullableBriefDataSource{value: val, isSet: true} +} + +func (v NullableBriefDataSource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefDataSource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_data_source_request.go b/model_brief_data_source_request.go new file mode 100644 index 000000000..b718c0e64 --- /dev/null +++ b/model_brief_data_source_request.go @@ -0,0 +1,203 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefDataSourceRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefDataSourceRequest{} + +// BriefDataSourceRequest Adds support for custom fields and tags. +type BriefDataSourceRequest struct { + Name string `json:"name"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefDataSourceRequest BriefDataSourceRequest + +// NewBriefDataSourceRequest instantiates a new BriefDataSourceRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefDataSourceRequest(name string) *BriefDataSourceRequest { + this := BriefDataSourceRequest{} + this.Name = name + return &this +} + +// NewBriefDataSourceRequestWithDefaults instantiates a new BriefDataSourceRequest object +// This 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 NewBriefDataSourceRequestWithDefaults() *BriefDataSourceRequest { + this := BriefDataSourceRequest{} + return &this +} + +// GetName returns the Name field value +func (o *BriefDataSourceRequest) 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 *BriefDataSourceRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefDataSourceRequest) SetName(v string) { + o.Name = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefDataSourceRequest) 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 *BriefDataSourceRequest) 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 *BriefDataSourceRequest) 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 *BriefDataSourceRequest) SetDescription(v string) { + o.Description = &v +} + +func (o BriefDataSourceRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefDataSourceRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["name"] = o.Name + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefDataSourceRequest) 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) + } + } + + varBriefDataSourceRequest := _BriefDataSourceRequest{} + + err = json.Unmarshal(data, &varBriefDataSourceRequest) + + if err != nil { + return err + } + + *o = BriefDataSourceRequest(varBriefDataSourceRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "name") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefDataSourceRequest struct { + value *BriefDataSourceRequest + isSet bool +} + +func (v NullableBriefDataSourceRequest) Get() *BriefDataSourceRequest { + return v.value +} + +func (v *NullableBriefDataSourceRequest) Set(val *BriefDataSourceRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefDataSourceRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefDataSourceRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefDataSourceRequest(val *BriefDataSourceRequest) *NullableBriefDataSourceRequest { + return &NullableBriefDataSourceRequest{value: val, isSet: true} +} + +func (v NullableBriefDataSourceRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefDataSourceRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_device.go b/model_brief_device.go new file mode 100644 index 000000000..bbf84867a --- /dev/null +++ b/model_brief_device.go @@ -0,0 +1,309 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefDevice type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefDevice{} + +// BriefDevice Adds support for custom fields and tags. +type BriefDevice struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + Name NullableString `json:"name,omitempty"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefDevice BriefDevice + +// NewBriefDevice instantiates a new BriefDevice object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefDevice(id int32, url string, display string) *BriefDevice { + this := BriefDevice{} + this.Id = id + this.Url = url + this.Display = display + return &this +} + +// NewBriefDeviceWithDefaults instantiates a new BriefDevice object +// This 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 NewBriefDeviceWithDefaults() *BriefDevice { + this := BriefDevice{} + return &this +} + +// GetId returns the Id field value +func (o *BriefDevice) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefDevice) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefDevice) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefDevice) 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 *BriefDevice) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefDevice) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefDevice) 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 *BriefDevice) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefDevice) SetDisplay(v string) { + o.Display = v +} + +// GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *BriefDevice) GetName() string { + if o == nil || IsNil(o.Name.Get()) { + var ret string + return ret + } + return *o.Name.Get() +} + +// GetNameOk returns a tuple with the Name 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 *BriefDevice) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Name.Get(), o.Name.IsSet() +} + +// HasName returns a boolean if a field has been set. +func (o *BriefDevice) HasName() bool { + if o != nil && o.Name.IsSet() { + return true + } + + return false +} + +// SetName gets a reference to the given NullableString and assigns it to the Name field. +func (o *BriefDevice) SetName(v string) { + o.Name.Set(&v) +} + +// SetNameNil sets the value for Name to be an explicit nil +func (o *BriefDevice) SetNameNil() { + o.Name.Set(nil) +} + +// UnsetName ensures that no value is present for Name, not even an explicit nil +func (o *BriefDevice) UnsetName() { + o.Name.Unset() +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefDevice) 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 *BriefDevice) 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 *BriefDevice) 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 *BriefDevice) SetDescription(v string) { + o.Description = &v +} + +func (o BriefDevice) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefDevice) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + if o.Name.IsSet() { + toSerialize["name"] = o.Name.Get() + } + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefDevice) 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", + "url", + "display", + } + + 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) + } + } + + varBriefDevice := _BriefDevice{} + + err = json.Unmarshal(data, &varBriefDevice) + + if err != nil { + return err + } + + *o = BriefDevice(varBriefDevice) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "name") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefDevice struct { + value *BriefDevice + isSet bool +} + +func (v NullableBriefDevice) Get() *BriefDevice { + return v.value +} + +func (v *NullableBriefDevice) Set(val *BriefDevice) { + v.value = val + v.isSet = true +} + +func (v NullableBriefDevice) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefDevice) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefDevice(val *BriefDevice) *NullableBriefDevice { + return &NullableBriefDevice{value: val, isSet: true} +} + +func (v NullableBriefDevice) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefDevice) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_device_request.go b/model_brief_device_request.go new file mode 100644 index 000000000..cf5d036b0 --- /dev/null +++ b/model_brief_device_request.go @@ -0,0 +1,201 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" +) + +// checks if the BriefDeviceRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefDeviceRequest{} + +// BriefDeviceRequest Adds support for custom fields and tags. +type BriefDeviceRequest struct { + Name NullableString `json:"name,omitempty"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefDeviceRequest BriefDeviceRequest + +// NewBriefDeviceRequest instantiates a new BriefDeviceRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefDeviceRequest() *BriefDeviceRequest { + this := BriefDeviceRequest{} + return &this +} + +// NewBriefDeviceRequestWithDefaults instantiates a new BriefDeviceRequest object +// This 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 NewBriefDeviceRequestWithDefaults() *BriefDeviceRequest { + this := BriefDeviceRequest{} + return &this +} + +// GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *BriefDeviceRequest) GetName() string { + if o == nil || IsNil(o.Name.Get()) { + var ret string + return ret + } + return *o.Name.Get() +} + +// GetNameOk returns a tuple with the Name 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 *BriefDeviceRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Name.Get(), o.Name.IsSet() +} + +// HasName returns a boolean if a field has been set. +func (o *BriefDeviceRequest) HasName() bool { + if o != nil && o.Name.IsSet() { + return true + } + + return false +} + +// SetName gets a reference to the given NullableString and assigns it to the Name field. +func (o *BriefDeviceRequest) SetName(v string) { + o.Name.Set(&v) +} + +// SetNameNil sets the value for Name to be an explicit nil +func (o *BriefDeviceRequest) SetNameNil() { + o.Name.Set(nil) +} + +// UnsetName ensures that no value is present for Name, not even an explicit nil +func (o *BriefDeviceRequest) UnsetName() { + o.Name.Unset() +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefDeviceRequest) 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 *BriefDeviceRequest) 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 *BriefDeviceRequest) 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 *BriefDeviceRequest) SetDescription(v string) { + o.Description = &v +} + +func (o BriefDeviceRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefDeviceRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.Name.IsSet() { + toSerialize["name"] = o.Name.Get() + } + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefDeviceRequest) UnmarshalJSON(data []byte) (err error) { + varBriefDeviceRequest := _BriefDeviceRequest{} + + err = json.Unmarshal(data, &varBriefDeviceRequest) + + if err != nil { + return err + } + + *o = BriefDeviceRequest(varBriefDeviceRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "name") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefDeviceRequest struct { + value *BriefDeviceRequest + isSet bool +} + +func (v NullableBriefDeviceRequest) Get() *BriefDeviceRequest { + return v.value +} + +func (v *NullableBriefDeviceRequest) Set(val *BriefDeviceRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefDeviceRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefDeviceRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefDeviceRequest(val *BriefDeviceRequest) *NullableBriefDeviceRequest { + return &NullableBriefDeviceRequest{value: val, isSet: true} +} + +func (v NullableBriefDeviceRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefDeviceRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_device_role.go b/model_brief_device_role.go new file mode 100644 index 000000000..9a001aba5 --- /dev/null +++ b/model_brief_device_role.go @@ -0,0 +1,393 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefDeviceRole type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefDeviceRole{} + +// BriefDeviceRole Adds support for custom fields and tags. +type BriefDeviceRole struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + Name string `json:"name"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + DeviceCount *int64 `json:"device_count,omitempty"` + VirtualmachineCount *int64 `json:"virtualmachine_count,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefDeviceRole BriefDeviceRole + +// NewBriefDeviceRole instantiates a new BriefDeviceRole object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefDeviceRole(id int32, url string, display string, name string, slug string) *BriefDeviceRole { + this := BriefDeviceRole{} + this.Id = id + this.Url = url + this.Display = display + this.Name = name + this.Slug = slug + return &this +} + +// NewBriefDeviceRoleWithDefaults instantiates a new BriefDeviceRole object +// This 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 NewBriefDeviceRoleWithDefaults() *BriefDeviceRole { + this := BriefDeviceRole{} + return &this +} + +// GetId returns the Id field value +func (o *BriefDeviceRole) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefDeviceRole) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefDeviceRole) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefDeviceRole) 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 *BriefDeviceRole) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefDeviceRole) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefDeviceRole) 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 *BriefDeviceRole) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefDeviceRole) SetDisplay(v string) { + o.Display = v +} + +// GetName returns the Name field value +func (o *BriefDeviceRole) 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 *BriefDeviceRole) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefDeviceRole) SetName(v string) { + o.Name = v +} + +// GetSlug returns the Slug field value +func (o *BriefDeviceRole) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *BriefDeviceRole) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *BriefDeviceRole) SetSlug(v string) { + o.Slug = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefDeviceRole) 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 *BriefDeviceRole) 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 *BriefDeviceRole) 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 *BriefDeviceRole) SetDescription(v string) { + o.Description = &v +} + +// GetDeviceCount returns the DeviceCount field value if set, zero value otherwise. +func (o *BriefDeviceRole) GetDeviceCount() int64 { + if o == nil || IsNil(o.DeviceCount) { + var ret int64 + return ret + } + return *o.DeviceCount +} + +// GetDeviceCountOk returns a tuple with the DeviceCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BriefDeviceRole) GetDeviceCountOk() (*int64, bool) { + if o == nil || IsNil(o.DeviceCount) { + return nil, false + } + return o.DeviceCount, true +} + +// HasDeviceCount returns a boolean if a field has been set. +func (o *BriefDeviceRole) HasDeviceCount() bool { + if o != nil && !IsNil(o.DeviceCount) { + return true + } + + return false +} + +// SetDeviceCount gets a reference to the given int64 and assigns it to the DeviceCount field. +func (o *BriefDeviceRole) SetDeviceCount(v int64) { + o.DeviceCount = &v +} + +// GetVirtualmachineCount returns the VirtualmachineCount field value if set, zero value otherwise. +func (o *BriefDeviceRole) GetVirtualmachineCount() int64 { + if o == nil || IsNil(o.VirtualmachineCount) { + var ret int64 + return ret + } + return *o.VirtualmachineCount +} + +// GetVirtualmachineCountOk returns a tuple with the VirtualmachineCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BriefDeviceRole) GetVirtualmachineCountOk() (*int64, bool) { + if o == nil || IsNil(o.VirtualmachineCount) { + return nil, false + } + return o.VirtualmachineCount, true +} + +// HasVirtualmachineCount returns a boolean if a field has been set. +func (o *BriefDeviceRole) HasVirtualmachineCount() bool { + if o != nil && !IsNil(o.VirtualmachineCount) { + return true + } + + return false +} + +// SetVirtualmachineCount gets a reference to the given int64 and assigns it to the VirtualmachineCount field. +func (o *BriefDeviceRole) SetVirtualmachineCount(v int64) { + o.VirtualmachineCount = &v +} + +func (o BriefDeviceRole) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefDeviceRole) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["name"] = o.Name + toSerialize["slug"] = o.Slug + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + if !IsNil(o.DeviceCount) { + toSerialize["device_count"] = o.DeviceCount + } + if !IsNil(o.VirtualmachineCount) { + toSerialize["virtualmachine_count"] = o.VirtualmachineCount + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefDeviceRole) 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", + "url", + "display", + "name", + "slug", + } + + 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) + } + } + + varBriefDeviceRole := _BriefDeviceRole{} + + err = json.Unmarshal(data, &varBriefDeviceRole) + + if err != nil { + return err + } + + *o = BriefDeviceRole(varBriefDeviceRole) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "name") + delete(additionalProperties, "slug") + delete(additionalProperties, "description") + delete(additionalProperties, "device_count") + delete(additionalProperties, "virtualmachine_count") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefDeviceRole struct { + value *BriefDeviceRole + isSet bool +} + +func (v NullableBriefDeviceRole) Get() *BriefDeviceRole { + return v.value +} + +func (v *NullableBriefDeviceRole) Set(val *BriefDeviceRole) { + v.value = val + v.isSet = true +} + +func (v NullableBriefDeviceRole) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefDeviceRole) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefDeviceRole(val *BriefDeviceRole) *NullableBriefDeviceRole { + return &NullableBriefDeviceRole{value: val, isSet: true} +} + +func (v NullableBriefDeviceRole) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefDeviceRole) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_device_role_request.go b/model_brief_device_role_request.go new file mode 100644 index 000000000..7b4a7dbbc --- /dev/null +++ b/model_brief_device_role_request.go @@ -0,0 +1,232 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefDeviceRoleRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefDeviceRoleRequest{} + +// BriefDeviceRoleRequest Adds support for custom fields and tags. +type BriefDeviceRoleRequest struct { + Name string `json:"name"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefDeviceRoleRequest BriefDeviceRoleRequest + +// NewBriefDeviceRoleRequest instantiates a new BriefDeviceRoleRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefDeviceRoleRequest(name string, slug string) *BriefDeviceRoleRequest { + this := BriefDeviceRoleRequest{} + this.Name = name + this.Slug = slug + return &this +} + +// NewBriefDeviceRoleRequestWithDefaults instantiates a new BriefDeviceRoleRequest object +// This 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 NewBriefDeviceRoleRequestWithDefaults() *BriefDeviceRoleRequest { + this := BriefDeviceRoleRequest{} + return &this +} + +// GetName returns the Name field value +func (o *BriefDeviceRoleRequest) 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 *BriefDeviceRoleRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefDeviceRoleRequest) SetName(v string) { + o.Name = v +} + +// GetSlug returns the Slug field value +func (o *BriefDeviceRoleRequest) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *BriefDeviceRoleRequest) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *BriefDeviceRoleRequest) SetSlug(v string) { + o.Slug = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefDeviceRoleRequest) 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 *BriefDeviceRoleRequest) 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 *BriefDeviceRoleRequest) 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 *BriefDeviceRoleRequest) SetDescription(v string) { + o.Description = &v +} + +func (o BriefDeviceRoleRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefDeviceRoleRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["name"] = o.Name + toSerialize["slug"] = o.Slug + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefDeviceRoleRequest) 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", + "slug", + } + + 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) + } + } + + varBriefDeviceRoleRequest := _BriefDeviceRoleRequest{} + + err = json.Unmarshal(data, &varBriefDeviceRoleRequest) + + if err != nil { + return err + } + + *o = BriefDeviceRoleRequest(varBriefDeviceRoleRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "name") + delete(additionalProperties, "slug") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefDeviceRoleRequest struct { + value *BriefDeviceRoleRequest + isSet bool +} + +func (v NullableBriefDeviceRoleRequest) Get() *BriefDeviceRoleRequest { + return v.value +} + +func (v *NullableBriefDeviceRoleRequest) Set(val *BriefDeviceRoleRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefDeviceRoleRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefDeviceRoleRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefDeviceRoleRequest(val *BriefDeviceRoleRequest) *NullableBriefDeviceRoleRequest { + return &NullableBriefDeviceRoleRequest{value: val, isSet: true} +} + +func (v NullableBriefDeviceRoleRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefDeviceRoleRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_device_type.go b/model_brief_device_type.go new file mode 100644 index 000000000..e9f29d197 --- /dev/null +++ b/model_brief_device_type.go @@ -0,0 +1,385 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefDeviceType type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefDeviceType{} + +// BriefDeviceType Adds support for custom fields and tags. +type BriefDeviceType struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + Manufacturer BriefManufacturer `json:"manufacturer"` + Model string `json:"model"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + DeviceCount *int64 `json:"device_count,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefDeviceType BriefDeviceType + +// NewBriefDeviceType instantiates a new BriefDeviceType object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefDeviceType(id int32, url string, display string, manufacturer BriefManufacturer, model string, slug string) *BriefDeviceType { + this := BriefDeviceType{} + this.Id = id + this.Url = url + this.Display = display + this.Manufacturer = manufacturer + this.Model = model + this.Slug = slug + return &this +} + +// NewBriefDeviceTypeWithDefaults instantiates a new BriefDeviceType object +// This 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 NewBriefDeviceTypeWithDefaults() *BriefDeviceType { + this := BriefDeviceType{} + return &this +} + +// GetId returns the Id field value +func (o *BriefDeviceType) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefDeviceType) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefDeviceType) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefDeviceType) 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 *BriefDeviceType) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefDeviceType) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefDeviceType) 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 *BriefDeviceType) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefDeviceType) SetDisplay(v string) { + o.Display = v +} + +// GetManufacturer returns the Manufacturer field value +func (o *BriefDeviceType) GetManufacturer() BriefManufacturer { + if o == nil { + var ret BriefManufacturer + return ret + } + + return o.Manufacturer +} + +// GetManufacturerOk returns a tuple with the Manufacturer field value +// and a boolean to check if the value has been set. +func (o *BriefDeviceType) GetManufacturerOk() (*BriefManufacturer, bool) { + if o == nil { + return nil, false + } + return &o.Manufacturer, true +} + +// SetManufacturer sets field value +func (o *BriefDeviceType) SetManufacturer(v BriefManufacturer) { + o.Manufacturer = v +} + +// GetModel returns the Model field value +func (o *BriefDeviceType) GetModel() string { + if o == nil { + var ret string + return ret + } + + return o.Model +} + +// GetModelOk returns a tuple with the Model field value +// and a boolean to check if the value has been set. +func (o *BriefDeviceType) GetModelOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Model, true +} + +// SetModel sets field value +func (o *BriefDeviceType) SetModel(v string) { + o.Model = v +} + +// GetSlug returns the Slug field value +func (o *BriefDeviceType) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *BriefDeviceType) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *BriefDeviceType) SetSlug(v string) { + o.Slug = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefDeviceType) 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 *BriefDeviceType) 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 *BriefDeviceType) 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 *BriefDeviceType) SetDescription(v string) { + o.Description = &v +} + +// GetDeviceCount returns the DeviceCount field value if set, zero value otherwise. +func (o *BriefDeviceType) GetDeviceCount() int64 { + if o == nil || IsNil(o.DeviceCount) { + var ret int64 + return ret + } + return *o.DeviceCount +} + +// GetDeviceCountOk returns a tuple with the DeviceCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BriefDeviceType) GetDeviceCountOk() (*int64, bool) { + if o == nil || IsNil(o.DeviceCount) { + return nil, false + } + return o.DeviceCount, true +} + +// HasDeviceCount returns a boolean if a field has been set. +func (o *BriefDeviceType) HasDeviceCount() bool { + if o != nil && !IsNil(o.DeviceCount) { + return true + } + + return false +} + +// SetDeviceCount gets a reference to the given int64 and assigns it to the DeviceCount field. +func (o *BriefDeviceType) SetDeviceCount(v int64) { + o.DeviceCount = &v +} + +func (o BriefDeviceType) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefDeviceType) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["manufacturer"] = o.Manufacturer + toSerialize["model"] = o.Model + toSerialize["slug"] = o.Slug + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + if !IsNil(o.DeviceCount) { + toSerialize["device_count"] = o.DeviceCount + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefDeviceType) 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", + "url", + "display", + "manufacturer", + "model", + "slug", + } + + 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) + } + } + + varBriefDeviceType := _BriefDeviceType{} + + err = json.Unmarshal(data, &varBriefDeviceType) + + if err != nil { + return err + } + + *o = BriefDeviceType(varBriefDeviceType) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "manufacturer") + delete(additionalProperties, "model") + delete(additionalProperties, "slug") + delete(additionalProperties, "description") + delete(additionalProperties, "device_count") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefDeviceType struct { + value *BriefDeviceType + isSet bool +} + +func (v NullableBriefDeviceType) Get() *BriefDeviceType { + return v.value +} + +func (v *NullableBriefDeviceType) Set(val *BriefDeviceType) { + v.value = val + v.isSet = true +} + +func (v NullableBriefDeviceType) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefDeviceType) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefDeviceType(val *BriefDeviceType) *NullableBriefDeviceType { + return &NullableBriefDeviceType{value: val, isSet: true} +} + +func (v NullableBriefDeviceType) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefDeviceType) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_device_type_request.go b/model_brief_device_type_request.go new file mode 100644 index 000000000..b61298d06 --- /dev/null +++ b/model_brief_device_type_request.go @@ -0,0 +1,261 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefDeviceTypeRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefDeviceTypeRequest{} + +// BriefDeviceTypeRequest Adds support for custom fields and tags. +type BriefDeviceTypeRequest struct { + Manufacturer BriefManufacturerRequest `json:"manufacturer"` + Model string `json:"model"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefDeviceTypeRequest BriefDeviceTypeRequest + +// NewBriefDeviceTypeRequest instantiates a new BriefDeviceTypeRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefDeviceTypeRequest(manufacturer BriefManufacturerRequest, model string, slug string) *BriefDeviceTypeRequest { + this := BriefDeviceTypeRequest{} + this.Manufacturer = manufacturer + this.Model = model + this.Slug = slug + return &this +} + +// NewBriefDeviceTypeRequestWithDefaults instantiates a new BriefDeviceTypeRequest object +// This 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 NewBriefDeviceTypeRequestWithDefaults() *BriefDeviceTypeRequest { + this := BriefDeviceTypeRequest{} + return &this +} + +// GetManufacturer returns the Manufacturer field value +func (o *BriefDeviceTypeRequest) GetManufacturer() BriefManufacturerRequest { + if o == nil { + var ret BriefManufacturerRequest + return ret + } + + return o.Manufacturer +} + +// GetManufacturerOk returns a tuple with the Manufacturer field value +// and a boolean to check if the value has been set. +func (o *BriefDeviceTypeRequest) GetManufacturerOk() (*BriefManufacturerRequest, bool) { + if o == nil { + return nil, false + } + return &o.Manufacturer, true +} + +// SetManufacturer sets field value +func (o *BriefDeviceTypeRequest) SetManufacturer(v BriefManufacturerRequest) { + o.Manufacturer = v +} + +// GetModel returns the Model field value +func (o *BriefDeviceTypeRequest) GetModel() string { + if o == nil { + var ret string + return ret + } + + return o.Model +} + +// GetModelOk returns a tuple with the Model field value +// and a boolean to check if the value has been set. +func (o *BriefDeviceTypeRequest) GetModelOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Model, true +} + +// SetModel sets field value +func (o *BriefDeviceTypeRequest) SetModel(v string) { + o.Model = v +} + +// GetSlug returns the Slug field value +func (o *BriefDeviceTypeRequest) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *BriefDeviceTypeRequest) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *BriefDeviceTypeRequest) SetSlug(v string) { + o.Slug = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefDeviceTypeRequest) 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 *BriefDeviceTypeRequest) 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 *BriefDeviceTypeRequest) 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 *BriefDeviceTypeRequest) SetDescription(v string) { + o.Description = &v +} + +func (o BriefDeviceTypeRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefDeviceTypeRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["manufacturer"] = o.Manufacturer + toSerialize["model"] = o.Model + toSerialize["slug"] = o.Slug + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefDeviceTypeRequest) 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{ + "manufacturer", + "model", + "slug", + } + + 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) + } + } + + varBriefDeviceTypeRequest := _BriefDeviceTypeRequest{} + + err = json.Unmarshal(data, &varBriefDeviceTypeRequest) + + if err != nil { + return err + } + + *o = BriefDeviceTypeRequest(varBriefDeviceTypeRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "manufacturer") + delete(additionalProperties, "model") + delete(additionalProperties, "slug") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefDeviceTypeRequest struct { + value *BriefDeviceTypeRequest + isSet bool +} + +func (v NullableBriefDeviceTypeRequest) Get() *BriefDeviceTypeRequest { + return v.value +} + +func (v *NullableBriefDeviceTypeRequest) Set(val *BriefDeviceTypeRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefDeviceTypeRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefDeviceTypeRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefDeviceTypeRequest(val *BriefDeviceTypeRequest) *NullableBriefDeviceTypeRequest { + return &NullableBriefDeviceTypeRequest{value: val, isSet: true} +} + +func (v NullableBriefDeviceTypeRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefDeviceTypeRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_fhrp_group.go b/model_brief_fhrp_group.go new file mode 100644 index 000000000..ffe2c040f --- /dev/null +++ b/model_brief_fhrp_group.go @@ -0,0 +1,319 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefFHRPGroup type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefFHRPGroup{} + +// BriefFHRPGroup Adds support for custom fields and tags. +type BriefFHRPGroup struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + Protocol BriefFHRPGroupProtocol `json:"protocol"` + GroupId int32 `json:"group_id"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefFHRPGroup BriefFHRPGroup + +// NewBriefFHRPGroup instantiates a new BriefFHRPGroup object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefFHRPGroup(id int32, url string, display string, protocol BriefFHRPGroupProtocol, groupId int32) *BriefFHRPGroup { + this := BriefFHRPGroup{} + this.Id = id + this.Url = url + this.Display = display + this.Protocol = protocol + this.GroupId = groupId + return &this +} + +// NewBriefFHRPGroupWithDefaults instantiates a new BriefFHRPGroup object +// This 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 NewBriefFHRPGroupWithDefaults() *BriefFHRPGroup { + this := BriefFHRPGroup{} + return &this +} + +// GetId returns the Id field value +func (o *BriefFHRPGroup) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefFHRPGroup) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefFHRPGroup) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefFHRPGroup) 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 *BriefFHRPGroup) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefFHRPGroup) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefFHRPGroup) 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 *BriefFHRPGroup) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefFHRPGroup) SetDisplay(v string) { + o.Display = v +} + +// GetProtocol returns the Protocol field value +func (o *BriefFHRPGroup) GetProtocol() BriefFHRPGroupProtocol { + if o == nil { + var ret BriefFHRPGroupProtocol + return ret + } + + return o.Protocol +} + +// GetProtocolOk returns a tuple with the Protocol field value +// and a boolean to check if the value has been set. +func (o *BriefFHRPGroup) GetProtocolOk() (*BriefFHRPGroupProtocol, bool) { + if o == nil { + return nil, false + } + return &o.Protocol, true +} + +// SetProtocol sets field value +func (o *BriefFHRPGroup) SetProtocol(v BriefFHRPGroupProtocol) { + o.Protocol = v +} + +// GetGroupId returns the GroupId field value +func (o *BriefFHRPGroup) GetGroupId() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.GroupId +} + +// GetGroupIdOk returns a tuple with the GroupId field value +// and a boolean to check if the value has been set. +func (o *BriefFHRPGroup) GetGroupIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.GroupId, true +} + +// SetGroupId sets field value +func (o *BriefFHRPGroup) SetGroupId(v int32) { + o.GroupId = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefFHRPGroup) 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 *BriefFHRPGroup) 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 *BriefFHRPGroup) 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 *BriefFHRPGroup) SetDescription(v string) { + o.Description = &v +} + +func (o BriefFHRPGroup) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefFHRPGroup) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["protocol"] = o.Protocol + toSerialize["group_id"] = o.GroupId + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefFHRPGroup) 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", + "url", + "display", + "protocol", + "group_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) + } + } + + varBriefFHRPGroup := _BriefFHRPGroup{} + + err = json.Unmarshal(data, &varBriefFHRPGroup) + + if err != nil { + return err + } + + *o = BriefFHRPGroup(varBriefFHRPGroup) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "protocol") + delete(additionalProperties, "group_id") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefFHRPGroup struct { + value *BriefFHRPGroup + isSet bool +} + +func (v NullableBriefFHRPGroup) Get() *BriefFHRPGroup { + return v.value +} + +func (v *NullableBriefFHRPGroup) Set(val *BriefFHRPGroup) { + v.value = val + v.isSet = true +} + +func (v NullableBriefFHRPGroup) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefFHRPGroup) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefFHRPGroup(val *BriefFHRPGroup) *NullableBriefFHRPGroup { + return &NullableBriefFHRPGroup{value: val, isSet: true} +} + +func (v NullableBriefFHRPGroup) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefFHRPGroup) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_fhrp_group_protocol.go b/model_brief_fhrp_group_protocol.go new file mode 100644 index 000000000..dc8852f8e --- /dev/null +++ b/model_brief_fhrp_group_protocol.go @@ -0,0 +1,120 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// BriefFHRPGroupProtocol * `vrrp2` - VRRPv2 * `vrrp3` - VRRPv3 * `carp` - CARP * `clusterxl` - ClusterXL * `hsrp` - HSRP * `glbp` - GLBP * `other` - Other +type BriefFHRPGroupProtocol string + +// List of BriefFHRPGroup_protocol +const ( + BRIEFFHRPGROUPPROTOCOL_VRRP2 BriefFHRPGroupProtocol = "vrrp2" + BRIEFFHRPGROUPPROTOCOL_VRRP3 BriefFHRPGroupProtocol = "vrrp3" + BRIEFFHRPGROUPPROTOCOL_CARP BriefFHRPGroupProtocol = "carp" + BRIEFFHRPGROUPPROTOCOL_CLUSTERXL BriefFHRPGroupProtocol = "clusterxl" + BRIEFFHRPGROUPPROTOCOL_HSRP BriefFHRPGroupProtocol = "hsrp" + BRIEFFHRPGROUPPROTOCOL_GLBP BriefFHRPGroupProtocol = "glbp" + BRIEFFHRPGROUPPROTOCOL_OTHER BriefFHRPGroupProtocol = "other" +) + +// All allowed values of BriefFHRPGroupProtocol enum +var AllowedBriefFHRPGroupProtocolEnumValues = []BriefFHRPGroupProtocol{ + "vrrp2", + "vrrp3", + "carp", + "clusterxl", + "hsrp", + "glbp", + "other", +} + +func (v *BriefFHRPGroupProtocol) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := BriefFHRPGroupProtocol(value) + for _, existing := range AllowedBriefFHRPGroupProtocolEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid BriefFHRPGroupProtocol", value) +} + +// NewBriefFHRPGroupProtocolFromValue returns a pointer to a valid BriefFHRPGroupProtocol +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewBriefFHRPGroupProtocolFromValue(v string) (*BriefFHRPGroupProtocol, error) { + ev := BriefFHRPGroupProtocol(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for BriefFHRPGroupProtocol: valid values are %v", v, AllowedBriefFHRPGroupProtocolEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v BriefFHRPGroupProtocol) IsValid() bool { + for _, existing := range AllowedBriefFHRPGroupProtocolEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to BriefFHRPGroup_protocol value +func (v BriefFHRPGroupProtocol) Ptr() *BriefFHRPGroupProtocol { + return &v +} + +type NullableBriefFHRPGroupProtocol struct { + value *BriefFHRPGroupProtocol + isSet bool +} + +func (v NullableBriefFHRPGroupProtocol) Get() *BriefFHRPGroupProtocol { + return v.value +} + +func (v *NullableBriefFHRPGroupProtocol) Set(val *BriefFHRPGroupProtocol) { + v.value = val + v.isSet = true +} + +func (v NullableBriefFHRPGroupProtocol) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefFHRPGroupProtocol) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefFHRPGroupProtocol(val *BriefFHRPGroupProtocol) *NullableBriefFHRPGroupProtocol { + return &NullableBriefFHRPGroupProtocol{value: val, isSet: true} +} + +func (v NullableBriefFHRPGroupProtocol) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefFHRPGroupProtocol) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_fhrp_group_request.go b/model_brief_fhrp_group_request.go new file mode 100644 index 000000000..660e68eef --- /dev/null +++ b/model_brief_fhrp_group_request.go @@ -0,0 +1,232 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefFHRPGroupRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefFHRPGroupRequest{} + +// BriefFHRPGroupRequest Adds support for custom fields and tags. +type BriefFHRPGroupRequest struct { + Protocol BriefFHRPGroupProtocol `json:"protocol"` + GroupId int32 `json:"group_id"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefFHRPGroupRequest BriefFHRPGroupRequest + +// NewBriefFHRPGroupRequest instantiates a new BriefFHRPGroupRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefFHRPGroupRequest(protocol BriefFHRPGroupProtocol, groupId int32) *BriefFHRPGroupRequest { + this := BriefFHRPGroupRequest{} + this.Protocol = protocol + this.GroupId = groupId + return &this +} + +// NewBriefFHRPGroupRequestWithDefaults instantiates a new BriefFHRPGroupRequest object +// This 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 NewBriefFHRPGroupRequestWithDefaults() *BriefFHRPGroupRequest { + this := BriefFHRPGroupRequest{} + return &this +} + +// GetProtocol returns the Protocol field value +func (o *BriefFHRPGroupRequest) GetProtocol() BriefFHRPGroupProtocol { + if o == nil { + var ret BriefFHRPGroupProtocol + return ret + } + + return o.Protocol +} + +// GetProtocolOk returns a tuple with the Protocol field value +// and a boolean to check if the value has been set. +func (o *BriefFHRPGroupRequest) GetProtocolOk() (*BriefFHRPGroupProtocol, bool) { + if o == nil { + return nil, false + } + return &o.Protocol, true +} + +// SetProtocol sets field value +func (o *BriefFHRPGroupRequest) SetProtocol(v BriefFHRPGroupProtocol) { + o.Protocol = v +} + +// GetGroupId returns the GroupId field value +func (o *BriefFHRPGroupRequest) GetGroupId() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.GroupId +} + +// GetGroupIdOk returns a tuple with the GroupId field value +// and a boolean to check if the value has been set. +func (o *BriefFHRPGroupRequest) GetGroupIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.GroupId, true +} + +// SetGroupId sets field value +func (o *BriefFHRPGroupRequest) SetGroupId(v int32) { + o.GroupId = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefFHRPGroupRequest) 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 *BriefFHRPGroupRequest) 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 *BriefFHRPGroupRequest) 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 *BriefFHRPGroupRequest) SetDescription(v string) { + o.Description = &v +} + +func (o BriefFHRPGroupRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefFHRPGroupRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["protocol"] = o.Protocol + toSerialize["group_id"] = o.GroupId + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefFHRPGroupRequest) 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{ + "protocol", + "group_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) + } + } + + varBriefFHRPGroupRequest := _BriefFHRPGroupRequest{} + + err = json.Unmarshal(data, &varBriefFHRPGroupRequest) + + if err != nil { + return err + } + + *o = BriefFHRPGroupRequest(varBriefFHRPGroupRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "protocol") + delete(additionalProperties, "group_id") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefFHRPGroupRequest struct { + value *BriefFHRPGroupRequest + isSet bool +} + +func (v NullableBriefFHRPGroupRequest) Get() *BriefFHRPGroupRequest { + return v.value +} + +func (v *NullableBriefFHRPGroupRequest) Set(val *BriefFHRPGroupRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefFHRPGroupRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefFHRPGroupRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefFHRPGroupRequest(val *BriefFHRPGroupRequest) *NullableBriefFHRPGroupRequest { + return &NullableBriefFHRPGroupRequest{value: val, isSet: true} +} + +func (v NullableBriefFHRPGroupRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefFHRPGroupRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_ike_policy.go b/model_brief_ike_policy.go new file mode 100644 index 000000000..700da98dd --- /dev/null +++ b/model_brief_ike_policy.go @@ -0,0 +1,290 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefIKEPolicy type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefIKEPolicy{} + +// BriefIKEPolicy Adds support for custom fields and tags. +type BriefIKEPolicy struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + Name string `json:"name"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefIKEPolicy BriefIKEPolicy + +// NewBriefIKEPolicy instantiates a new BriefIKEPolicy object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefIKEPolicy(id int32, url string, display string, name string) *BriefIKEPolicy { + this := BriefIKEPolicy{} + this.Id = id + this.Url = url + this.Display = display + this.Name = name + return &this +} + +// NewBriefIKEPolicyWithDefaults instantiates a new BriefIKEPolicy object +// This 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 NewBriefIKEPolicyWithDefaults() *BriefIKEPolicy { + this := BriefIKEPolicy{} + return &this +} + +// GetId returns the Id field value +func (o *BriefIKEPolicy) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefIKEPolicy) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefIKEPolicy) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefIKEPolicy) 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 *BriefIKEPolicy) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefIKEPolicy) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefIKEPolicy) 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 *BriefIKEPolicy) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefIKEPolicy) SetDisplay(v string) { + o.Display = v +} + +// GetName returns the Name field value +func (o *BriefIKEPolicy) 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 *BriefIKEPolicy) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefIKEPolicy) SetName(v string) { + o.Name = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefIKEPolicy) 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 *BriefIKEPolicy) 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 *BriefIKEPolicy) 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 *BriefIKEPolicy) SetDescription(v string) { + o.Description = &v +} + +func (o BriefIKEPolicy) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefIKEPolicy) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["name"] = o.Name + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefIKEPolicy) 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", + "url", + "display", + "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) + } + } + + varBriefIKEPolicy := _BriefIKEPolicy{} + + err = json.Unmarshal(data, &varBriefIKEPolicy) + + if err != nil { + return err + } + + *o = BriefIKEPolicy(varBriefIKEPolicy) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "name") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefIKEPolicy struct { + value *BriefIKEPolicy + isSet bool +} + +func (v NullableBriefIKEPolicy) Get() *BriefIKEPolicy { + return v.value +} + +func (v *NullableBriefIKEPolicy) Set(val *BriefIKEPolicy) { + v.value = val + v.isSet = true +} + +func (v NullableBriefIKEPolicy) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefIKEPolicy) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefIKEPolicy(val *BriefIKEPolicy) *NullableBriefIKEPolicy { + return &NullableBriefIKEPolicy{value: val, isSet: true} +} + +func (v NullableBriefIKEPolicy) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefIKEPolicy) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_ike_policy_request.go b/model_brief_ike_policy_request.go new file mode 100644 index 000000000..dfccd4338 --- /dev/null +++ b/model_brief_ike_policy_request.go @@ -0,0 +1,203 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefIKEPolicyRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefIKEPolicyRequest{} + +// BriefIKEPolicyRequest Adds support for custom fields and tags. +type BriefIKEPolicyRequest struct { + Name string `json:"name"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefIKEPolicyRequest BriefIKEPolicyRequest + +// NewBriefIKEPolicyRequest instantiates a new BriefIKEPolicyRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefIKEPolicyRequest(name string) *BriefIKEPolicyRequest { + this := BriefIKEPolicyRequest{} + this.Name = name + return &this +} + +// NewBriefIKEPolicyRequestWithDefaults instantiates a new BriefIKEPolicyRequest object +// This 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 NewBriefIKEPolicyRequestWithDefaults() *BriefIKEPolicyRequest { + this := BriefIKEPolicyRequest{} + return &this +} + +// GetName returns the Name field value +func (o *BriefIKEPolicyRequest) 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 *BriefIKEPolicyRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefIKEPolicyRequest) SetName(v string) { + o.Name = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefIKEPolicyRequest) 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 *BriefIKEPolicyRequest) 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 *BriefIKEPolicyRequest) 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 *BriefIKEPolicyRequest) SetDescription(v string) { + o.Description = &v +} + +func (o BriefIKEPolicyRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefIKEPolicyRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["name"] = o.Name + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefIKEPolicyRequest) 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) + } + } + + varBriefIKEPolicyRequest := _BriefIKEPolicyRequest{} + + err = json.Unmarshal(data, &varBriefIKEPolicyRequest) + + if err != nil { + return err + } + + *o = BriefIKEPolicyRequest(varBriefIKEPolicyRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "name") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefIKEPolicyRequest struct { + value *BriefIKEPolicyRequest + isSet bool +} + +func (v NullableBriefIKEPolicyRequest) Get() *BriefIKEPolicyRequest { + return v.value +} + +func (v *NullableBriefIKEPolicyRequest) Set(val *BriefIKEPolicyRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefIKEPolicyRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefIKEPolicyRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefIKEPolicyRequest(val *BriefIKEPolicyRequest) *NullableBriefIKEPolicyRequest { + return &NullableBriefIKEPolicyRequest{value: val, isSet: true} +} + +func (v NullableBriefIKEPolicyRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefIKEPolicyRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_interface.go b/model_brief_interface.go new file mode 100644 index 000000000..a0fe7c4f3 --- /dev/null +++ b/model_brief_interface.go @@ -0,0 +1,379 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefInterface type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefInterface{} + +// BriefInterface Adds support for custom fields and tags. +type BriefInterface struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + Device BriefDevice `json:"device"` + Name string `json:"name"` + Description *string `json:"description,omitempty"` + Cable NullableBriefCable `json:"cable"` + Occupied bool `json:"_occupied"` + AdditionalProperties map[string]interface{} +} + +type _BriefInterface BriefInterface + +// NewBriefInterface instantiates a new BriefInterface object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefInterface(id int32, url string, display string, device BriefDevice, name string, cable NullableBriefCable, occupied bool) *BriefInterface { + this := BriefInterface{} + this.Id = id + this.Url = url + this.Display = display + this.Device = device + this.Name = name + this.Cable = cable + this.Occupied = occupied + return &this +} + +// NewBriefInterfaceWithDefaults instantiates a new BriefInterface object +// This 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 NewBriefInterfaceWithDefaults() *BriefInterface { + this := BriefInterface{} + return &this +} + +// GetId returns the Id field value +func (o *BriefInterface) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefInterface) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefInterface) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefInterface) 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 *BriefInterface) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefInterface) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefInterface) 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 *BriefInterface) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefInterface) SetDisplay(v string) { + o.Display = v +} + +// GetDevice returns the Device field value +func (o *BriefInterface) GetDevice() BriefDevice { + if o == nil { + var ret BriefDevice + 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 *BriefInterface) GetDeviceOk() (*BriefDevice, bool) { + if o == nil { + return nil, false + } + return &o.Device, true +} + +// SetDevice sets field value +func (o *BriefInterface) SetDevice(v BriefDevice) { + o.Device = v +} + +// GetName returns the Name field value +func (o *BriefInterface) 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 *BriefInterface) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefInterface) SetName(v string) { + o.Name = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefInterface) 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 *BriefInterface) 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 *BriefInterface) 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 *BriefInterface) SetDescription(v string) { + o.Description = &v +} + +// GetCable returns the Cable field value +// If the value is explicit nil, the zero value for BriefCable will be returned +func (o *BriefInterface) GetCable() BriefCable { + if o == nil || o.Cable.Get() == nil { + var ret BriefCable + return ret + } + + return *o.Cable.Get() +} + +// GetCableOk returns a tuple with the Cable 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 *BriefInterface) GetCableOk() (*BriefCable, bool) { + if o == nil { + return nil, false + } + return o.Cable.Get(), o.Cable.IsSet() +} + +// SetCable sets field value +func (o *BriefInterface) SetCable(v BriefCable) { + o.Cable.Set(&v) +} + +// GetOccupied returns the Occupied field value +func (o *BriefInterface) GetOccupied() bool { + if o == nil { + var ret bool + return ret + } + + return o.Occupied +} + +// GetOccupiedOk returns a tuple with the Occupied field value +// and a boolean to check if the value has been set. +func (o *BriefInterface) GetOccupiedOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.Occupied, true +} + +// SetOccupied sets field value +func (o *BriefInterface) SetOccupied(v bool) { + o.Occupied = v +} + +func (o BriefInterface) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefInterface) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["device"] = o.Device + toSerialize["name"] = o.Name + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + toSerialize["cable"] = o.Cable.Get() + toSerialize["_occupied"] = o.Occupied + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefInterface) 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", + "url", + "display", + "device", + "name", + "cable", + "_occupied", + } + + 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) + } + } + + varBriefInterface := _BriefInterface{} + + err = json.Unmarshal(data, &varBriefInterface) + + if err != nil { + return err + } + + *o = BriefInterface(varBriefInterface) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "device") + delete(additionalProperties, "name") + delete(additionalProperties, "description") + delete(additionalProperties, "cable") + delete(additionalProperties, "_occupied") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefInterface struct { + value *BriefInterface + isSet bool +} + +func (v NullableBriefInterface) Get() *BriefInterface { + return v.value +} + +func (v *NullableBriefInterface) Set(val *BriefInterface) { + v.value = val + v.isSet = true +} + +func (v NullableBriefInterface) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefInterface) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefInterface(val *BriefInterface) *NullableBriefInterface { + return &NullableBriefInterface{value: val, isSet: true} +} + +func (v NullableBriefInterface) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefInterface) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_interface_request.go b/model_brief_interface_request.go new file mode 100644 index 000000000..c30dd69c6 --- /dev/null +++ b/model_brief_interface_request.go @@ -0,0 +1,232 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefInterfaceRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefInterfaceRequest{} + +// BriefInterfaceRequest Adds support for custom fields and tags. +type BriefInterfaceRequest struct { + Device BriefDeviceRequest `json:"device"` + Name string `json:"name"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefInterfaceRequest BriefInterfaceRequest + +// NewBriefInterfaceRequest instantiates a new BriefInterfaceRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefInterfaceRequest(device BriefDeviceRequest, name string) *BriefInterfaceRequest { + this := BriefInterfaceRequest{} + this.Device = device + this.Name = name + return &this +} + +// NewBriefInterfaceRequestWithDefaults instantiates a new BriefInterfaceRequest object +// This 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 NewBriefInterfaceRequestWithDefaults() *BriefInterfaceRequest { + this := BriefInterfaceRequest{} + return &this +} + +// GetDevice returns the Device field value +func (o *BriefInterfaceRequest) GetDevice() BriefDeviceRequest { + if o == nil { + var ret BriefDeviceRequest + 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 *BriefInterfaceRequest) GetDeviceOk() (*BriefDeviceRequest, bool) { + if o == nil { + return nil, false + } + return &o.Device, true +} + +// SetDevice sets field value +func (o *BriefInterfaceRequest) SetDevice(v BriefDeviceRequest) { + o.Device = v +} + +// GetName returns the Name field value +func (o *BriefInterfaceRequest) 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 *BriefInterfaceRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefInterfaceRequest) SetName(v string) { + o.Name = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefInterfaceRequest) 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 *BriefInterfaceRequest) 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 *BriefInterfaceRequest) 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 *BriefInterfaceRequest) SetDescription(v string) { + o.Description = &v +} + +func (o BriefInterfaceRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefInterfaceRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["device"] = o.Device + toSerialize["name"] = o.Name + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefInterfaceRequest) 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{ + "device", + "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) + } + } + + varBriefInterfaceRequest := _BriefInterfaceRequest{} + + err = json.Unmarshal(data, &varBriefInterfaceRequest) + + if err != nil { + return err + } + + *o = BriefInterfaceRequest(varBriefInterfaceRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "device") + delete(additionalProperties, "name") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefInterfaceRequest struct { + value *BriefInterfaceRequest + isSet bool +} + +func (v NullableBriefInterfaceRequest) Get() *BriefInterfaceRequest { + return v.value +} + +func (v *NullableBriefInterfaceRequest) Set(val *BriefInterfaceRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefInterfaceRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefInterfaceRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefInterfaceRequest(val *BriefInterfaceRequest) *NullableBriefInterfaceRequest { + return &NullableBriefInterfaceRequest{value: val, isSet: true} +} + +func (v NullableBriefInterfaceRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefInterfaceRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_inventory_item_role.go b/model_brief_inventory_item_role.go new file mode 100644 index 000000000..58a6ff503 --- /dev/null +++ b/model_brief_inventory_item_role.go @@ -0,0 +1,348 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefInventoryItemRole type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefInventoryItemRole{} + +// BriefInventoryItemRole Adds support for custom fields and tags. +type BriefInventoryItemRole struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + Name string `json:"name"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + InventoryitemCount int64 `json:"inventoryitem_count"` + AdditionalProperties map[string]interface{} +} + +type _BriefInventoryItemRole BriefInventoryItemRole + +// NewBriefInventoryItemRole instantiates a new BriefInventoryItemRole object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefInventoryItemRole(id int32, url string, display string, name string, slug string, inventoryitemCount int64) *BriefInventoryItemRole { + this := BriefInventoryItemRole{} + this.Id = id + this.Url = url + this.Display = display + this.Name = name + this.Slug = slug + this.InventoryitemCount = inventoryitemCount + return &this +} + +// NewBriefInventoryItemRoleWithDefaults instantiates a new BriefInventoryItemRole object +// This 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 NewBriefInventoryItemRoleWithDefaults() *BriefInventoryItemRole { + this := BriefInventoryItemRole{} + return &this +} + +// GetId returns the Id field value +func (o *BriefInventoryItemRole) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefInventoryItemRole) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefInventoryItemRole) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefInventoryItemRole) 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 *BriefInventoryItemRole) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefInventoryItemRole) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefInventoryItemRole) 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 *BriefInventoryItemRole) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefInventoryItemRole) SetDisplay(v string) { + o.Display = v +} + +// GetName returns the Name field value +func (o *BriefInventoryItemRole) 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 *BriefInventoryItemRole) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefInventoryItemRole) SetName(v string) { + o.Name = v +} + +// GetSlug returns the Slug field value +func (o *BriefInventoryItemRole) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *BriefInventoryItemRole) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *BriefInventoryItemRole) SetSlug(v string) { + o.Slug = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefInventoryItemRole) 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 *BriefInventoryItemRole) 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 *BriefInventoryItemRole) 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 *BriefInventoryItemRole) SetDescription(v string) { + o.Description = &v +} + +// GetInventoryitemCount returns the InventoryitemCount field value +func (o *BriefInventoryItemRole) GetInventoryitemCount() int64 { + if o == nil { + var ret int64 + return ret + } + + return o.InventoryitemCount +} + +// GetInventoryitemCountOk returns a tuple with the InventoryitemCount field value +// and a boolean to check if the value has been set. +func (o *BriefInventoryItemRole) GetInventoryitemCountOk() (*int64, bool) { + if o == nil { + return nil, false + } + return &o.InventoryitemCount, true +} + +// SetInventoryitemCount sets field value +func (o *BriefInventoryItemRole) SetInventoryitemCount(v int64) { + o.InventoryitemCount = v +} + +func (o BriefInventoryItemRole) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefInventoryItemRole) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["name"] = o.Name + toSerialize["slug"] = o.Slug + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + toSerialize["inventoryitem_count"] = o.InventoryitemCount + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefInventoryItemRole) 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", + "url", + "display", + "name", + "slug", + "inventoryitem_count", + } + + 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) + } + } + + varBriefInventoryItemRole := _BriefInventoryItemRole{} + + err = json.Unmarshal(data, &varBriefInventoryItemRole) + + if err != nil { + return err + } + + *o = BriefInventoryItemRole(varBriefInventoryItemRole) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "name") + delete(additionalProperties, "slug") + delete(additionalProperties, "description") + delete(additionalProperties, "inventoryitem_count") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefInventoryItemRole struct { + value *BriefInventoryItemRole + isSet bool +} + +func (v NullableBriefInventoryItemRole) Get() *BriefInventoryItemRole { + return v.value +} + +func (v *NullableBriefInventoryItemRole) Set(val *BriefInventoryItemRole) { + v.value = val + v.isSet = true +} + +func (v NullableBriefInventoryItemRole) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefInventoryItemRole) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefInventoryItemRole(val *BriefInventoryItemRole) *NullableBriefInventoryItemRole { + return &NullableBriefInventoryItemRole{value: val, isSet: true} +} + +func (v NullableBriefInventoryItemRole) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefInventoryItemRole) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_inventory_item_role_request.go b/model_brief_inventory_item_role_request.go new file mode 100644 index 000000000..60574e330 --- /dev/null +++ b/model_brief_inventory_item_role_request.go @@ -0,0 +1,232 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefInventoryItemRoleRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefInventoryItemRoleRequest{} + +// BriefInventoryItemRoleRequest Adds support for custom fields and tags. +type BriefInventoryItemRoleRequest struct { + Name string `json:"name"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefInventoryItemRoleRequest BriefInventoryItemRoleRequest + +// NewBriefInventoryItemRoleRequest instantiates a new BriefInventoryItemRoleRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefInventoryItemRoleRequest(name string, slug string) *BriefInventoryItemRoleRequest { + this := BriefInventoryItemRoleRequest{} + this.Name = name + this.Slug = slug + return &this +} + +// NewBriefInventoryItemRoleRequestWithDefaults instantiates a new BriefInventoryItemRoleRequest object +// This 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 NewBriefInventoryItemRoleRequestWithDefaults() *BriefInventoryItemRoleRequest { + this := BriefInventoryItemRoleRequest{} + return &this +} + +// GetName returns the Name field value +func (o *BriefInventoryItemRoleRequest) 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 *BriefInventoryItemRoleRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefInventoryItemRoleRequest) SetName(v string) { + o.Name = v +} + +// GetSlug returns the Slug field value +func (o *BriefInventoryItemRoleRequest) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *BriefInventoryItemRoleRequest) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *BriefInventoryItemRoleRequest) SetSlug(v string) { + o.Slug = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefInventoryItemRoleRequest) 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 *BriefInventoryItemRoleRequest) 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 *BriefInventoryItemRoleRequest) 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 *BriefInventoryItemRoleRequest) SetDescription(v string) { + o.Description = &v +} + +func (o BriefInventoryItemRoleRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefInventoryItemRoleRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["name"] = o.Name + toSerialize["slug"] = o.Slug + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefInventoryItemRoleRequest) 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", + "slug", + } + + 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) + } + } + + varBriefInventoryItemRoleRequest := _BriefInventoryItemRoleRequest{} + + err = json.Unmarshal(data, &varBriefInventoryItemRoleRequest) + + if err != nil { + return err + } + + *o = BriefInventoryItemRoleRequest(varBriefInventoryItemRoleRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "name") + delete(additionalProperties, "slug") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefInventoryItemRoleRequest struct { + value *BriefInventoryItemRoleRequest + isSet bool +} + +func (v NullableBriefInventoryItemRoleRequest) Get() *BriefInventoryItemRoleRequest { + return v.value +} + +func (v *NullableBriefInventoryItemRoleRequest) Set(val *BriefInventoryItemRoleRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefInventoryItemRoleRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefInventoryItemRoleRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefInventoryItemRoleRequest(val *BriefInventoryItemRoleRequest) *NullableBriefInventoryItemRoleRequest { + return &NullableBriefInventoryItemRoleRequest{value: val, isSet: true} +} + +func (v NullableBriefInventoryItemRoleRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefInventoryItemRoleRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_ip_address.go b/model_brief_ip_address.go new file mode 100644 index 000000000..321ee5a87 --- /dev/null +++ b/model_brief_ip_address.go @@ -0,0 +1,319 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefIPAddress type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefIPAddress{} + +// BriefIPAddress Adds support for custom fields and tags. +type BriefIPAddress struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + Family AggregateFamily `json:"family"` + Address string `json:"address"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefIPAddress BriefIPAddress + +// NewBriefIPAddress instantiates a new BriefIPAddress object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefIPAddress(id int32, url string, display string, family AggregateFamily, address string) *BriefIPAddress { + this := BriefIPAddress{} + this.Id = id + this.Url = url + this.Display = display + this.Family = family + this.Address = address + return &this +} + +// NewBriefIPAddressWithDefaults instantiates a new BriefIPAddress object +// This 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 NewBriefIPAddressWithDefaults() *BriefIPAddress { + this := BriefIPAddress{} + return &this +} + +// GetId returns the Id field value +func (o *BriefIPAddress) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefIPAddress) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefIPAddress) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefIPAddress) 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 *BriefIPAddress) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefIPAddress) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefIPAddress) 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 *BriefIPAddress) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefIPAddress) SetDisplay(v string) { + o.Display = v +} + +// GetFamily returns the Family field value +func (o *BriefIPAddress) GetFamily() AggregateFamily { + if o == nil { + var ret AggregateFamily + return ret + } + + return o.Family +} + +// GetFamilyOk returns a tuple with the Family field value +// and a boolean to check if the value has been set. +func (o *BriefIPAddress) GetFamilyOk() (*AggregateFamily, bool) { + if o == nil { + return nil, false + } + return &o.Family, true +} + +// SetFamily sets field value +func (o *BriefIPAddress) SetFamily(v AggregateFamily) { + o.Family = v +} + +// GetAddress returns the Address field value +func (o *BriefIPAddress) GetAddress() string { + if o == nil { + var ret string + return ret + } + + return o.Address +} + +// GetAddressOk returns a tuple with the Address field value +// and a boolean to check if the value has been set. +func (o *BriefIPAddress) GetAddressOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Address, true +} + +// SetAddress sets field value +func (o *BriefIPAddress) SetAddress(v string) { + o.Address = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefIPAddress) 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 *BriefIPAddress) 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 *BriefIPAddress) 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 *BriefIPAddress) SetDescription(v string) { + o.Description = &v +} + +func (o BriefIPAddress) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefIPAddress) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["family"] = o.Family + toSerialize["address"] = o.Address + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefIPAddress) 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", + "url", + "display", + "family", + "address", + } + + 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) + } + } + + varBriefIPAddress := _BriefIPAddress{} + + err = json.Unmarshal(data, &varBriefIPAddress) + + if err != nil { + return err + } + + *o = BriefIPAddress(varBriefIPAddress) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "family") + delete(additionalProperties, "address") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefIPAddress struct { + value *BriefIPAddress + isSet bool +} + +func (v NullableBriefIPAddress) Get() *BriefIPAddress { + return v.value +} + +func (v *NullableBriefIPAddress) Set(val *BriefIPAddress) { + v.value = val + v.isSet = true +} + +func (v NullableBriefIPAddress) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefIPAddress) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefIPAddress(val *BriefIPAddress) *NullableBriefIPAddress { + return &NullableBriefIPAddress{value: val, isSet: true} +} + +func (v NullableBriefIPAddress) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefIPAddress) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_ip_address_request.go b/model_brief_ip_address_request.go new file mode 100644 index 000000000..4c4f4eb45 --- /dev/null +++ b/model_brief_ip_address_request.go @@ -0,0 +1,203 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefIPAddressRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefIPAddressRequest{} + +// BriefIPAddressRequest Adds support for custom fields and tags. +type BriefIPAddressRequest struct { + Address string `json:"address"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefIPAddressRequest BriefIPAddressRequest + +// NewBriefIPAddressRequest instantiates a new BriefIPAddressRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefIPAddressRequest(address string) *BriefIPAddressRequest { + this := BriefIPAddressRequest{} + this.Address = address + return &this +} + +// NewBriefIPAddressRequestWithDefaults instantiates a new BriefIPAddressRequest object +// This 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 NewBriefIPAddressRequestWithDefaults() *BriefIPAddressRequest { + this := BriefIPAddressRequest{} + return &this +} + +// GetAddress returns the Address field value +func (o *BriefIPAddressRequest) GetAddress() string { + if o == nil { + var ret string + return ret + } + + return o.Address +} + +// GetAddressOk returns a tuple with the Address field value +// and a boolean to check if the value has been set. +func (o *BriefIPAddressRequest) GetAddressOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Address, true +} + +// SetAddress sets field value +func (o *BriefIPAddressRequest) SetAddress(v string) { + o.Address = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefIPAddressRequest) 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 *BriefIPAddressRequest) 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 *BriefIPAddressRequest) 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 *BriefIPAddressRequest) SetDescription(v string) { + o.Description = &v +} + +func (o BriefIPAddressRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefIPAddressRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["address"] = o.Address + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefIPAddressRequest) 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{ + "address", + } + + 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) + } + } + + varBriefIPAddressRequest := _BriefIPAddressRequest{} + + err = json.Unmarshal(data, &varBriefIPAddressRequest) + + if err != nil { + return err + } + + *o = BriefIPAddressRequest(varBriefIPAddressRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "address") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefIPAddressRequest struct { + value *BriefIPAddressRequest + isSet bool +} + +func (v NullableBriefIPAddressRequest) Get() *BriefIPAddressRequest { + return v.value +} + +func (v *NullableBriefIPAddressRequest) Set(val *BriefIPAddressRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefIPAddressRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefIPAddressRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefIPAddressRequest(val *BriefIPAddressRequest) *NullableBriefIPAddressRequest { + return &NullableBriefIPAddressRequest{value: val, isSet: true} +} + +func (v NullableBriefIPAddressRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefIPAddressRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_ip_sec_policy.go b/model_brief_ip_sec_policy.go new file mode 100644 index 000000000..8b2d9ffd5 --- /dev/null +++ b/model_brief_ip_sec_policy.go @@ -0,0 +1,290 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefIPSecPolicy type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefIPSecPolicy{} + +// BriefIPSecPolicy Adds support for custom fields and tags. +type BriefIPSecPolicy struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + Name string `json:"name"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefIPSecPolicy BriefIPSecPolicy + +// NewBriefIPSecPolicy instantiates a new BriefIPSecPolicy object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefIPSecPolicy(id int32, url string, display string, name string) *BriefIPSecPolicy { + this := BriefIPSecPolicy{} + this.Id = id + this.Url = url + this.Display = display + this.Name = name + return &this +} + +// NewBriefIPSecPolicyWithDefaults instantiates a new BriefIPSecPolicy object +// This 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 NewBriefIPSecPolicyWithDefaults() *BriefIPSecPolicy { + this := BriefIPSecPolicy{} + return &this +} + +// GetId returns the Id field value +func (o *BriefIPSecPolicy) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefIPSecPolicy) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefIPSecPolicy) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefIPSecPolicy) 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 *BriefIPSecPolicy) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefIPSecPolicy) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefIPSecPolicy) 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 *BriefIPSecPolicy) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefIPSecPolicy) SetDisplay(v string) { + o.Display = v +} + +// GetName returns the Name field value +func (o *BriefIPSecPolicy) 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 *BriefIPSecPolicy) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefIPSecPolicy) SetName(v string) { + o.Name = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefIPSecPolicy) 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 *BriefIPSecPolicy) 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 *BriefIPSecPolicy) 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 *BriefIPSecPolicy) SetDescription(v string) { + o.Description = &v +} + +func (o BriefIPSecPolicy) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefIPSecPolicy) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["name"] = o.Name + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefIPSecPolicy) 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", + "url", + "display", + "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) + } + } + + varBriefIPSecPolicy := _BriefIPSecPolicy{} + + err = json.Unmarshal(data, &varBriefIPSecPolicy) + + if err != nil { + return err + } + + *o = BriefIPSecPolicy(varBriefIPSecPolicy) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "name") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefIPSecPolicy struct { + value *BriefIPSecPolicy + isSet bool +} + +func (v NullableBriefIPSecPolicy) Get() *BriefIPSecPolicy { + return v.value +} + +func (v *NullableBriefIPSecPolicy) Set(val *BriefIPSecPolicy) { + v.value = val + v.isSet = true +} + +func (v NullableBriefIPSecPolicy) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefIPSecPolicy) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefIPSecPolicy(val *BriefIPSecPolicy) *NullableBriefIPSecPolicy { + return &NullableBriefIPSecPolicy{value: val, isSet: true} +} + +func (v NullableBriefIPSecPolicy) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefIPSecPolicy) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_ip_sec_policy_request.go b/model_brief_ip_sec_policy_request.go new file mode 100644 index 000000000..f3751177f --- /dev/null +++ b/model_brief_ip_sec_policy_request.go @@ -0,0 +1,203 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefIPSecPolicyRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefIPSecPolicyRequest{} + +// BriefIPSecPolicyRequest Adds support for custom fields and tags. +type BriefIPSecPolicyRequest struct { + Name string `json:"name"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefIPSecPolicyRequest BriefIPSecPolicyRequest + +// NewBriefIPSecPolicyRequest instantiates a new BriefIPSecPolicyRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefIPSecPolicyRequest(name string) *BriefIPSecPolicyRequest { + this := BriefIPSecPolicyRequest{} + this.Name = name + return &this +} + +// NewBriefIPSecPolicyRequestWithDefaults instantiates a new BriefIPSecPolicyRequest object +// This 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 NewBriefIPSecPolicyRequestWithDefaults() *BriefIPSecPolicyRequest { + this := BriefIPSecPolicyRequest{} + return &this +} + +// GetName returns the Name field value +func (o *BriefIPSecPolicyRequest) 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 *BriefIPSecPolicyRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefIPSecPolicyRequest) SetName(v string) { + o.Name = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefIPSecPolicyRequest) 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 *BriefIPSecPolicyRequest) 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 *BriefIPSecPolicyRequest) 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 *BriefIPSecPolicyRequest) SetDescription(v string) { + o.Description = &v +} + +func (o BriefIPSecPolicyRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefIPSecPolicyRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["name"] = o.Name + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefIPSecPolicyRequest) 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) + } + } + + varBriefIPSecPolicyRequest := _BriefIPSecPolicyRequest{} + + err = json.Unmarshal(data, &varBriefIPSecPolicyRequest) + + if err != nil { + return err + } + + *o = BriefIPSecPolicyRequest(varBriefIPSecPolicyRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "name") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefIPSecPolicyRequest struct { + value *BriefIPSecPolicyRequest + isSet bool +} + +func (v NullableBriefIPSecPolicyRequest) Get() *BriefIPSecPolicyRequest { + return v.value +} + +func (v *NullableBriefIPSecPolicyRequest) Set(val *BriefIPSecPolicyRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefIPSecPolicyRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefIPSecPolicyRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefIPSecPolicyRequest(val *BriefIPSecPolicyRequest) *NullableBriefIPSecPolicyRequest { + return &NullableBriefIPSecPolicyRequest{value: val, isSet: true} +} + +func (v NullableBriefIPSecPolicyRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefIPSecPolicyRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_ip_sec_profile.go b/model_brief_ip_sec_profile.go new file mode 100644 index 000000000..09dc36428 --- /dev/null +++ b/model_brief_ip_sec_profile.go @@ -0,0 +1,290 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefIPSecProfile type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefIPSecProfile{} + +// BriefIPSecProfile Adds support for custom fields and tags. +type BriefIPSecProfile struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + Name string `json:"name"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefIPSecProfile BriefIPSecProfile + +// NewBriefIPSecProfile instantiates a new BriefIPSecProfile object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefIPSecProfile(id int32, url string, display string, name string) *BriefIPSecProfile { + this := BriefIPSecProfile{} + this.Id = id + this.Url = url + this.Display = display + this.Name = name + return &this +} + +// NewBriefIPSecProfileWithDefaults instantiates a new BriefIPSecProfile object +// This 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 NewBriefIPSecProfileWithDefaults() *BriefIPSecProfile { + this := BriefIPSecProfile{} + return &this +} + +// GetId returns the Id field value +func (o *BriefIPSecProfile) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefIPSecProfile) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefIPSecProfile) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefIPSecProfile) 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 *BriefIPSecProfile) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefIPSecProfile) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefIPSecProfile) 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 *BriefIPSecProfile) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefIPSecProfile) SetDisplay(v string) { + o.Display = v +} + +// GetName returns the Name field value +func (o *BriefIPSecProfile) 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 *BriefIPSecProfile) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefIPSecProfile) SetName(v string) { + o.Name = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefIPSecProfile) 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 *BriefIPSecProfile) 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 *BriefIPSecProfile) 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 *BriefIPSecProfile) SetDescription(v string) { + o.Description = &v +} + +func (o BriefIPSecProfile) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefIPSecProfile) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["name"] = o.Name + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefIPSecProfile) 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", + "url", + "display", + "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) + } + } + + varBriefIPSecProfile := _BriefIPSecProfile{} + + err = json.Unmarshal(data, &varBriefIPSecProfile) + + if err != nil { + return err + } + + *o = BriefIPSecProfile(varBriefIPSecProfile) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "name") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefIPSecProfile struct { + value *BriefIPSecProfile + isSet bool +} + +func (v NullableBriefIPSecProfile) Get() *BriefIPSecProfile { + return v.value +} + +func (v *NullableBriefIPSecProfile) Set(val *BriefIPSecProfile) { + v.value = val + v.isSet = true +} + +func (v NullableBriefIPSecProfile) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefIPSecProfile) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefIPSecProfile(val *BriefIPSecProfile) *NullableBriefIPSecProfile { + return &NullableBriefIPSecProfile{value: val, isSet: true} +} + +func (v NullableBriefIPSecProfile) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefIPSecProfile) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_ip_sec_profile_request.go b/model_brief_ip_sec_profile_request.go new file mode 100644 index 000000000..afbeed4d7 --- /dev/null +++ b/model_brief_ip_sec_profile_request.go @@ -0,0 +1,203 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefIPSecProfileRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefIPSecProfileRequest{} + +// BriefIPSecProfileRequest Adds support for custom fields and tags. +type BriefIPSecProfileRequest struct { + Name string `json:"name"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefIPSecProfileRequest BriefIPSecProfileRequest + +// NewBriefIPSecProfileRequest instantiates a new BriefIPSecProfileRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefIPSecProfileRequest(name string) *BriefIPSecProfileRequest { + this := BriefIPSecProfileRequest{} + this.Name = name + return &this +} + +// NewBriefIPSecProfileRequestWithDefaults instantiates a new BriefIPSecProfileRequest object +// This 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 NewBriefIPSecProfileRequestWithDefaults() *BriefIPSecProfileRequest { + this := BriefIPSecProfileRequest{} + return &this +} + +// GetName returns the Name field value +func (o *BriefIPSecProfileRequest) 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 *BriefIPSecProfileRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefIPSecProfileRequest) SetName(v string) { + o.Name = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefIPSecProfileRequest) 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 *BriefIPSecProfileRequest) 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 *BriefIPSecProfileRequest) 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 *BriefIPSecProfileRequest) SetDescription(v string) { + o.Description = &v +} + +func (o BriefIPSecProfileRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefIPSecProfileRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["name"] = o.Name + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefIPSecProfileRequest) 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) + } + } + + varBriefIPSecProfileRequest := _BriefIPSecProfileRequest{} + + err = json.Unmarshal(data, &varBriefIPSecProfileRequest) + + if err != nil { + return err + } + + *o = BriefIPSecProfileRequest(varBriefIPSecProfileRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "name") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefIPSecProfileRequest struct { + value *BriefIPSecProfileRequest + isSet bool +} + +func (v NullableBriefIPSecProfileRequest) Get() *BriefIPSecProfileRequest { + return v.value +} + +func (v *NullableBriefIPSecProfileRequest) Set(val *BriefIPSecProfileRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefIPSecProfileRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefIPSecProfileRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefIPSecProfileRequest(val *BriefIPSecProfileRequest) *NullableBriefIPSecProfileRequest { + return &NullableBriefIPSecProfileRequest{value: val, isSet: true} +} + +func (v NullableBriefIPSecProfileRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefIPSecProfileRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_job.go b/model_brief_job.go new file mode 100644 index 000000000..38ac1f23d --- /dev/null +++ b/model_brief_job.go @@ -0,0 +1,302 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" + "time" +) + +// checks if the BriefJob type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefJob{} + +// BriefJob struct for BriefJob +type BriefJob struct { + Url string `json:"url"` + Status BriefJobStatus `json:"status"` + Created time.Time `json:"created"` + Completed NullableTime `json:"completed,omitempty"` + User BriefUser `json:"user"` + AdditionalProperties map[string]interface{} +} + +type _BriefJob BriefJob + +// NewBriefJob instantiates a new BriefJob object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefJob(url string, status BriefJobStatus, created time.Time, user BriefUser) *BriefJob { + this := BriefJob{} + this.Url = url + this.Status = status + this.Created = created + this.User = user + return &this +} + +// NewBriefJobWithDefaults instantiates a new BriefJob object +// This 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 NewBriefJobWithDefaults() *BriefJob { + this := BriefJob{} + return &this +} + +// GetUrl returns the Url field value +func (o *BriefJob) 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 *BriefJob) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefJob) SetUrl(v string) { + o.Url = v +} + +// GetStatus returns the Status field value +func (o *BriefJob) GetStatus() BriefJobStatus { + if o == nil { + var ret BriefJobStatus + 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 *BriefJob) GetStatusOk() (*BriefJobStatus, bool) { + if o == nil { + return nil, false + } + return &o.Status, true +} + +// SetStatus sets field value +func (o *BriefJob) SetStatus(v BriefJobStatus) { + o.Status = v +} + +// GetCreated returns the Created field value +func (o *BriefJob) GetCreated() time.Time { + if o == nil { + var ret time.Time + return ret + } + + return o.Created +} + +// GetCreatedOk returns a tuple with the Created field value +// and a boolean to check if the value has been set. +func (o *BriefJob) GetCreatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return &o.Created, true +} + +// SetCreated sets field value +func (o *BriefJob) SetCreated(v time.Time) { + o.Created = v +} + +// GetCompleted returns the Completed field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *BriefJob) GetCompleted() time.Time { + if o == nil || IsNil(o.Completed.Get()) { + var ret time.Time + return ret + } + return *o.Completed.Get() +} + +// GetCompletedOk returns a tuple with the Completed 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 *BriefJob) GetCompletedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.Completed.Get(), o.Completed.IsSet() +} + +// HasCompleted returns a boolean if a field has been set. +func (o *BriefJob) HasCompleted() bool { + if o != nil && o.Completed.IsSet() { + return true + } + + return false +} + +// SetCompleted gets a reference to the given NullableTime and assigns it to the Completed field. +func (o *BriefJob) SetCompleted(v time.Time) { + o.Completed.Set(&v) +} + +// SetCompletedNil sets the value for Completed to be an explicit nil +func (o *BriefJob) SetCompletedNil() { + o.Completed.Set(nil) +} + +// UnsetCompleted ensures that no value is present for Completed, not even an explicit nil +func (o *BriefJob) UnsetCompleted() { + o.Completed.Unset() +} + +// GetUser returns the User field value +func (o *BriefJob) GetUser() BriefUser { + if o == nil { + var ret BriefUser + return ret + } + + return o.User +} + +// GetUserOk returns a tuple with the User field value +// and a boolean to check if the value has been set. +func (o *BriefJob) GetUserOk() (*BriefUser, bool) { + if o == nil { + return nil, false + } + return &o.User, true +} + +// SetUser sets field value +func (o *BriefJob) SetUser(v BriefUser) { + o.User = v +} + +func (o BriefJob) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefJob) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["url"] = o.Url + toSerialize["status"] = o.Status + toSerialize["created"] = o.Created + if o.Completed.IsSet() { + toSerialize["completed"] = o.Completed.Get() + } + toSerialize["user"] = o.User + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefJob) 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{ + "url", + "status", + "created", + "user", + } + + 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) + } + } + + varBriefJob := _BriefJob{} + + err = json.Unmarshal(data, &varBriefJob) + + if err != nil { + return err + } + + *o = BriefJob(varBriefJob) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "url") + delete(additionalProperties, "status") + delete(additionalProperties, "created") + delete(additionalProperties, "completed") + delete(additionalProperties, "user") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefJob struct { + value *BriefJob + isSet bool +} + +func (v NullableBriefJob) Get() *BriefJob { + return v.value +} + +func (v *NullableBriefJob) Set(val *BriefJob) { + v.value = val + v.isSet = true +} + +func (v NullableBriefJob) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefJob) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefJob(val *BriefJob) *NullableBriefJob { + return &NullableBriefJob{value: val, isSet: true} +} + +func (v NullableBriefJob) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefJob) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_job_request.go b/model_brief_job_request.go new file mode 100644 index 000000000..dd72fed5e --- /dev/null +++ b/model_brief_job_request.go @@ -0,0 +1,165 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "time" +) + +// checks if the BriefJobRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefJobRequest{} + +// BriefJobRequest struct for BriefJobRequest +type BriefJobRequest struct { + Completed NullableTime `json:"completed,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefJobRequest BriefJobRequest + +// NewBriefJobRequest instantiates a new BriefJobRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefJobRequest() *BriefJobRequest { + this := BriefJobRequest{} + return &this +} + +// NewBriefJobRequestWithDefaults instantiates a new BriefJobRequest object +// This 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 NewBriefJobRequestWithDefaults() *BriefJobRequest { + this := BriefJobRequest{} + return &this +} + +// GetCompleted returns the Completed field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *BriefJobRequest) GetCompleted() time.Time { + if o == nil || IsNil(o.Completed.Get()) { + var ret time.Time + return ret + } + return *o.Completed.Get() +} + +// GetCompletedOk returns a tuple with the Completed 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 *BriefJobRequest) GetCompletedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.Completed.Get(), o.Completed.IsSet() +} + +// HasCompleted returns a boolean if a field has been set. +func (o *BriefJobRequest) HasCompleted() bool { + if o != nil && o.Completed.IsSet() { + return true + } + + return false +} + +// SetCompleted gets a reference to the given NullableTime and assigns it to the Completed field. +func (o *BriefJobRequest) SetCompleted(v time.Time) { + o.Completed.Set(&v) +} + +// SetCompletedNil sets the value for Completed to be an explicit nil +func (o *BriefJobRequest) SetCompletedNil() { + o.Completed.Set(nil) +} + +// UnsetCompleted ensures that no value is present for Completed, not even an explicit nil +func (o *BriefJobRequest) UnsetCompleted() { + o.Completed.Unset() +} + +func (o BriefJobRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefJobRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.Completed.IsSet() { + toSerialize["completed"] = o.Completed.Get() + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefJobRequest) UnmarshalJSON(data []byte) (err error) { + varBriefJobRequest := _BriefJobRequest{} + + err = json.Unmarshal(data, &varBriefJobRequest) + + if err != nil { + return err + } + + *o = BriefJobRequest(varBriefJobRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "completed") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefJobRequest struct { + value *BriefJobRequest + isSet bool +} + +func (v NullableBriefJobRequest) Get() *BriefJobRequest { + return v.value +} + +func (v *NullableBriefJobRequest) Set(val *BriefJobRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefJobRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefJobRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefJobRequest(val *BriefJobRequest) *NullableBriefJobRequest { + return &NullableBriefJobRequest{value: val, isSet: true} +} + +func (v NullableBriefJobRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefJobRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_job_status.go b/model_brief_job_status.go new file mode 100644 index 000000000..4ee2d2da2 --- /dev/null +++ b/model_brief_job_status.go @@ -0,0 +1,190 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" +) + +// checks if the BriefJobStatus type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefJobStatus{} + +// BriefJobStatus struct for BriefJobStatus +type BriefJobStatus struct { + Value *BriefJobStatusValue `json:"value,omitempty"` + Label *BriefJobStatusLabel `json:"label,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefJobStatus BriefJobStatus + +// NewBriefJobStatus instantiates a new BriefJobStatus object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefJobStatus() *BriefJobStatus { + this := BriefJobStatus{} + return &this +} + +// NewBriefJobStatusWithDefaults instantiates a new BriefJobStatus object +// This 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 NewBriefJobStatusWithDefaults() *BriefJobStatus { + this := BriefJobStatus{} + return &this +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *BriefJobStatus) GetValue() BriefJobStatusValue { + if o == nil || IsNil(o.Value) { + var ret BriefJobStatusValue + 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 *BriefJobStatus) GetValueOk() (*BriefJobStatusValue, 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 *BriefJobStatus) HasValue() bool { + if o != nil && !IsNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given BriefJobStatusValue and assigns it to the Value field. +func (o *BriefJobStatus) SetValue(v BriefJobStatusValue) { + o.Value = &v +} + +// GetLabel returns the Label field value if set, zero value otherwise. +func (o *BriefJobStatus) GetLabel() BriefJobStatusLabel { + if o == nil || IsNil(o.Label) { + var ret BriefJobStatusLabel + 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 *BriefJobStatus) GetLabelOk() (*BriefJobStatusLabel, 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 *BriefJobStatus) HasLabel() bool { + if o != nil && !IsNil(o.Label) { + return true + } + + return false +} + +// SetLabel gets a reference to the given BriefJobStatusLabel and assigns it to the Label field. +func (o *BriefJobStatus) SetLabel(v BriefJobStatusLabel) { + o.Label = &v +} + +func (o BriefJobStatus) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefJobStatus) 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 *BriefJobStatus) UnmarshalJSON(data []byte) (err error) { + varBriefJobStatus := _BriefJobStatus{} + + err = json.Unmarshal(data, &varBriefJobStatus) + + if err != nil { + return err + } + + *o = BriefJobStatus(varBriefJobStatus) + + 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 NullableBriefJobStatus struct { + value *BriefJobStatus + isSet bool +} + +func (v NullableBriefJobStatus) Get() *BriefJobStatus { + return v.value +} + +func (v *NullableBriefJobStatus) Set(val *BriefJobStatus) { + v.value = val + v.isSet = true +} + +func (v NullableBriefJobStatus) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefJobStatus) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefJobStatus(val *BriefJobStatus) *NullableBriefJobStatus { + return &NullableBriefJobStatus{value: val, isSet: true} +} + +func (v NullableBriefJobStatus) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefJobStatus) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_job_status_label.go b/model_brief_job_status_label.go new file mode 100644 index 000000000..8736dc696 --- /dev/null +++ b/model_brief_job_status_label.go @@ -0,0 +1,118 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// BriefJobStatusLabel the model 'BriefJobStatusLabel' +type BriefJobStatusLabel string + +// List of BriefJob_status_label +const ( + BRIEFJOBSTATUSLABEL_PENDING BriefJobStatusLabel = "Pending" + BRIEFJOBSTATUSLABEL_SCHEDULED BriefJobStatusLabel = "Scheduled" + BRIEFJOBSTATUSLABEL_RUNNING BriefJobStatusLabel = "Running" + BRIEFJOBSTATUSLABEL_COMPLETED BriefJobStatusLabel = "Completed" + BRIEFJOBSTATUSLABEL_ERRORED BriefJobStatusLabel = "Errored" + BRIEFJOBSTATUSLABEL_FAILED BriefJobStatusLabel = "Failed" +) + +// All allowed values of BriefJobStatusLabel enum +var AllowedBriefJobStatusLabelEnumValues = []BriefJobStatusLabel{ + "Pending", + "Scheduled", + "Running", + "Completed", + "Errored", + "Failed", +} + +func (v *BriefJobStatusLabel) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := BriefJobStatusLabel(value) + for _, existing := range AllowedBriefJobStatusLabelEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid BriefJobStatusLabel", value) +} + +// NewBriefJobStatusLabelFromValue returns a pointer to a valid BriefJobStatusLabel +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewBriefJobStatusLabelFromValue(v string) (*BriefJobStatusLabel, error) { + ev := BriefJobStatusLabel(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for BriefJobStatusLabel: valid values are %v", v, AllowedBriefJobStatusLabelEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v BriefJobStatusLabel) IsValid() bool { + for _, existing := range AllowedBriefJobStatusLabelEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to BriefJob_status_label value +func (v BriefJobStatusLabel) Ptr() *BriefJobStatusLabel { + return &v +} + +type NullableBriefJobStatusLabel struct { + value *BriefJobStatusLabel + isSet bool +} + +func (v NullableBriefJobStatusLabel) Get() *BriefJobStatusLabel { + return v.value +} + +func (v *NullableBriefJobStatusLabel) Set(val *BriefJobStatusLabel) { + v.value = val + v.isSet = true +} + +func (v NullableBriefJobStatusLabel) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefJobStatusLabel) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefJobStatusLabel(val *BriefJobStatusLabel) *NullableBriefJobStatusLabel { + return &NullableBriefJobStatusLabel{value: val, isSet: true} +} + +func (v NullableBriefJobStatusLabel) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefJobStatusLabel) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_job_status_value.go b/model_brief_job_status_value.go new file mode 100644 index 000000000..09eaf82ec --- /dev/null +++ b/model_brief_job_status_value.go @@ -0,0 +1,118 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// BriefJobStatusValue * `pending` - Pending * `scheduled` - Scheduled * `running` - Running * `completed` - Completed * `errored` - Errored * `failed` - Failed +type BriefJobStatusValue string + +// List of BriefJob_status_value +const ( + BRIEFJOBSTATUSVALUE_PENDING BriefJobStatusValue = "pending" + BRIEFJOBSTATUSVALUE_SCHEDULED BriefJobStatusValue = "scheduled" + BRIEFJOBSTATUSVALUE_RUNNING BriefJobStatusValue = "running" + BRIEFJOBSTATUSVALUE_COMPLETED BriefJobStatusValue = "completed" + BRIEFJOBSTATUSVALUE_ERRORED BriefJobStatusValue = "errored" + BRIEFJOBSTATUSVALUE_FAILED BriefJobStatusValue = "failed" +) + +// All allowed values of BriefJobStatusValue enum +var AllowedBriefJobStatusValueEnumValues = []BriefJobStatusValue{ + "pending", + "scheduled", + "running", + "completed", + "errored", + "failed", +} + +func (v *BriefJobStatusValue) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := BriefJobStatusValue(value) + for _, existing := range AllowedBriefJobStatusValueEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid BriefJobStatusValue", value) +} + +// NewBriefJobStatusValueFromValue returns a pointer to a valid BriefJobStatusValue +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewBriefJobStatusValueFromValue(v string) (*BriefJobStatusValue, error) { + ev := BriefJobStatusValue(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for BriefJobStatusValue: valid values are %v", v, AllowedBriefJobStatusValueEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v BriefJobStatusValue) IsValid() bool { + for _, existing := range AllowedBriefJobStatusValueEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to BriefJob_status_value value +func (v BriefJobStatusValue) Ptr() *BriefJobStatusValue { + return &v +} + +type NullableBriefJobStatusValue struct { + value *BriefJobStatusValue + isSet bool +} + +func (v NullableBriefJobStatusValue) Get() *BriefJobStatusValue { + return v.value +} + +func (v *NullableBriefJobStatusValue) Set(val *BriefJobStatusValue) { + v.value = val + v.isSet = true +} + +func (v NullableBriefJobStatusValue) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefJobStatusValue) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefJobStatusValue(val *BriefJobStatusValue) *NullableBriefJobStatusValue { + return &NullableBriefJobStatusValue{value: val, isSet: true} +} + +func (v NullableBriefJobStatusValue) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefJobStatusValue) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_l2_vpn.go b/model_brief_l2_vpn.go new file mode 100644 index 000000000..94175b7f2 --- /dev/null +++ b/model_brief_l2_vpn.go @@ -0,0 +1,404 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefL2VPN type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefL2VPN{} + +// BriefL2VPN Adds support for custom fields and tags. +type BriefL2VPN struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + Identifier NullableInt64 `json:"identifier,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Type *BriefL2VPNType `json:"type,omitempty"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefL2VPN BriefL2VPN + +// NewBriefL2VPN instantiates a new BriefL2VPN object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefL2VPN(id int32, url string, display string, name string, slug string) *BriefL2VPN { + this := BriefL2VPN{} + this.Id = id + this.Url = url + this.Display = display + this.Name = name + this.Slug = slug + return &this +} + +// NewBriefL2VPNWithDefaults instantiates a new BriefL2VPN object +// This 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 NewBriefL2VPNWithDefaults() *BriefL2VPN { + this := BriefL2VPN{} + return &this +} + +// GetId returns the Id field value +func (o *BriefL2VPN) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefL2VPN) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefL2VPN) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefL2VPN) 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 *BriefL2VPN) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefL2VPN) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefL2VPN) 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 *BriefL2VPN) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefL2VPN) SetDisplay(v string) { + o.Display = v +} + +// GetIdentifier returns the Identifier field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *BriefL2VPN) GetIdentifier() int64 { + if o == nil || IsNil(o.Identifier.Get()) { + var ret int64 + 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 *BriefL2VPN) GetIdentifierOk() (*int64, 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 *BriefL2VPN) HasIdentifier() bool { + if o != nil && o.Identifier.IsSet() { + return true + } + + return false +} + +// SetIdentifier gets a reference to the given NullableInt64 and assigns it to the Identifier field. +func (o *BriefL2VPN) SetIdentifier(v int64) { + o.Identifier.Set(&v) +} + +// SetIdentifierNil sets the value for Identifier to be an explicit nil +func (o *BriefL2VPN) SetIdentifierNil() { + o.Identifier.Set(nil) +} + +// UnsetIdentifier ensures that no value is present for Identifier, not even an explicit nil +func (o *BriefL2VPN) UnsetIdentifier() { + o.Identifier.Unset() +} + +// GetName returns the Name field value +func (o *BriefL2VPN) 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 *BriefL2VPN) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefL2VPN) SetName(v string) { + o.Name = v +} + +// GetSlug returns the Slug field value +func (o *BriefL2VPN) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *BriefL2VPN) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *BriefL2VPN) SetSlug(v string) { + o.Slug = v +} + +// GetType returns the Type field value if set, zero value otherwise. +func (o *BriefL2VPN) GetType() BriefL2VPNType { + if o == nil || IsNil(o.Type) { + var ret BriefL2VPNType + return ret + } + return *o.Type +} + +// GetTypeOk returns a tuple with the Type field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BriefL2VPN) GetTypeOk() (*BriefL2VPNType, bool) { + if o == nil || IsNil(o.Type) { + return nil, false + } + return o.Type, true +} + +// HasType returns a boolean if a field has been set. +func (o *BriefL2VPN) HasType() bool { + if o != nil && !IsNil(o.Type) { + return true + } + + return false +} + +// SetType gets a reference to the given BriefL2VPNType and assigns it to the Type field. +func (o *BriefL2VPN) SetType(v BriefL2VPNType) { + o.Type = &v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefL2VPN) 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 *BriefL2VPN) 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 *BriefL2VPN) 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 *BriefL2VPN) SetDescription(v string) { + o.Description = &v +} + +func (o BriefL2VPN) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefL2VPN) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + if o.Identifier.IsSet() { + toSerialize["identifier"] = o.Identifier.Get() + } + toSerialize["name"] = o.Name + toSerialize["slug"] = o.Slug + if !IsNil(o.Type) { + toSerialize["type"] = o.Type + } + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefL2VPN) 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", + "url", + "display", + "name", + "slug", + } + + 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) + } + } + + varBriefL2VPN := _BriefL2VPN{} + + err = json.Unmarshal(data, &varBriefL2VPN) + + if err != nil { + return err + } + + *o = BriefL2VPN(varBriefL2VPN) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "identifier") + delete(additionalProperties, "name") + delete(additionalProperties, "slug") + delete(additionalProperties, "type") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefL2VPN struct { + value *BriefL2VPN + isSet bool +} + +func (v NullableBriefL2VPN) Get() *BriefL2VPN { + return v.value +} + +func (v *NullableBriefL2VPN) Set(val *BriefL2VPN) { + v.value = val + v.isSet = true +} + +func (v NullableBriefL2VPN) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefL2VPN) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefL2VPN(val *BriefL2VPN) *NullableBriefL2VPN { + return &NullableBriefL2VPN{value: val, isSet: true} +} + +func (v NullableBriefL2VPN) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefL2VPN) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_l2_vpn_request.go b/model_brief_l2_vpn_request.go new file mode 100644 index 000000000..626b8169f --- /dev/null +++ b/model_brief_l2_vpn_request.go @@ -0,0 +1,317 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefL2VPNRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefL2VPNRequest{} + +// BriefL2VPNRequest Adds support for custom fields and tags. +type BriefL2VPNRequest struct { + Identifier NullableInt64 `json:"identifier,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Type *BriefL2VPNTypeValue `json:"type,omitempty"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefL2VPNRequest BriefL2VPNRequest + +// NewBriefL2VPNRequest instantiates a new BriefL2VPNRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefL2VPNRequest(name string, slug string) *BriefL2VPNRequest { + this := BriefL2VPNRequest{} + this.Name = name + this.Slug = slug + return &this +} + +// NewBriefL2VPNRequestWithDefaults instantiates a new BriefL2VPNRequest object +// This 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 NewBriefL2VPNRequestWithDefaults() *BriefL2VPNRequest { + this := BriefL2VPNRequest{} + return &this +} + +// GetIdentifier returns the Identifier field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *BriefL2VPNRequest) GetIdentifier() int64 { + if o == nil || IsNil(o.Identifier.Get()) { + var ret int64 + 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 *BriefL2VPNRequest) GetIdentifierOk() (*int64, 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 *BriefL2VPNRequest) HasIdentifier() bool { + if o != nil && o.Identifier.IsSet() { + return true + } + + return false +} + +// SetIdentifier gets a reference to the given NullableInt64 and assigns it to the Identifier field. +func (o *BriefL2VPNRequest) SetIdentifier(v int64) { + o.Identifier.Set(&v) +} + +// SetIdentifierNil sets the value for Identifier to be an explicit nil +func (o *BriefL2VPNRequest) SetIdentifierNil() { + o.Identifier.Set(nil) +} + +// UnsetIdentifier ensures that no value is present for Identifier, not even an explicit nil +func (o *BriefL2VPNRequest) UnsetIdentifier() { + o.Identifier.Unset() +} + +// GetName returns the Name field value +func (o *BriefL2VPNRequest) 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 *BriefL2VPNRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefL2VPNRequest) SetName(v string) { + o.Name = v +} + +// GetSlug returns the Slug field value +func (o *BriefL2VPNRequest) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *BriefL2VPNRequest) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *BriefL2VPNRequest) SetSlug(v string) { + o.Slug = v +} + +// GetType returns the Type field value if set, zero value otherwise. +func (o *BriefL2VPNRequest) GetType() BriefL2VPNTypeValue { + if o == nil || IsNil(o.Type) { + var ret BriefL2VPNTypeValue + return ret + } + return *o.Type +} + +// GetTypeOk returns a tuple with the Type field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BriefL2VPNRequest) GetTypeOk() (*BriefL2VPNTypeValue, bool) { + if o == nil || IsNil(o.Type) { + return nil, false + } + return o.Type, true +} + +// HasType returns a boolean if a field has been set. +func (o *BriefL2VPNRequest) HasType() bool { + if o != nil && !IsNil(o.Type) { + return true + } + + return false +} + +// SetType gets a reference to the given BriefL2VPNTypeValue and assigns it to the Type field. +func (o *BriefL2VPNRequest) SetType(v BriefL2VPNTypeValue) { + o.Type = &v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefL2VPNRequest) 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 *BriefL2VPNRequest) 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 *BriefL2VPNRequest) 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 *BriefL2VPNRequest) SetDescription(v string) { + o.Description = &v +} + +func (o BriefL2VPNRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefL2VPNRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.Identifier.IsSet() { + toSerialize["identifier"] = o.Identifier.Get() + } + toSerialize["name"] = o.Name + toSerialize["slug"] = o.Slug + if !IsNil(o.Type) { + toSerialize["type"] = o.Type + } + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefL2VPNRequest) 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", + "slug", + } + + 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) + } + } + + varBriefL2VPNRequest := _BriefL2VPNRequest{} + + err = json.Unmarshal(data, &varBriefL2VPNRequest) + + if err != nil { + return err + } + + *o = BriefL2VPNRequest(varBriefL2VPNRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "identifier") + delete(additionalProperties, "name") + delete(additionalProperties, "slug") + delete(additionalProperties, "type") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefL2VPNRequest struct { + value *BriefL2VPNRequest + isSet bool +} + +func (v NullableBriefL2VPNRequest) Get() *BriefL2VPNRequest { + return v.value +} + +func (v *NullableBriefL2VPNRequest) Set(val *BriefL2VPNRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefL2VPNRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefL2VPNRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefL2VPNRequest(val *BriefL2VPNRequest) *NullableBriefL2VPNRequest { + return &NullableBriefL2VPNRequest{value: val, isSet: true} +} + +func (v NullableBriefL2VPNRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefL2VPNRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_l2_vpn_termination.go b/model_brief_l2_vpn_termination.go new file mode 100644 index 000000000..7364abebb --- /dev/null +++ b/model_brief_l2_vpn_termination.go @@ -0,0 +1,253 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefL2VPNTermination type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefL2VPNTermination{} + +// BriefL2VPNTermination Adds support for custom fields and tags. +type BriefL2VPNTermination struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + L2vpn BriefL2VPN `json:"l2vpn"` + AdditionalProperties map[string]interface{} +} + +type _BriefL2VPNTermination BriefL2VPNTermination + +// NewBriefL2VPNTermination instantiates a new BriefL2VPNTermination object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefL2VPNTermination(id int32, url string, display string, l2vpn BriefL2VPN) *BriefL2VPNTermination { + this := BriefL2VPNTermination{} + this.Id = id + this.Url = url + this.Display = display + this.L2vpn = l2vpn + return &this +} + +// NewBriefL2VPNTerminationWithDefaults instantiates a new BriefL2VPNTermination object +// This 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 NewBriefL2VPNTerminationWithDefaults() *BriefL2VPNTermination { + this := BriefL2VPNTermination{} + return &this +} + +// GetId returns the Id field value +func (o *BriefL2VPNTermination) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefL2VPNTermination) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefL2VPNTermination) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefL2VPNTermination) 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 *BriefL2VPNTermination) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefL2VPNTermination) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefL2VPNTermination) 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 *BriefL2VPNTermination) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefL2VPNTermination) SetDisplay(v string) { + o.Display = v +} + +// GetL2vpn returns the L2vpn field value +func (o *BriefL2VPNTermination) GetL2vpn() BriefL2VPN { + if o == nil { + var ret BriefL2VPN + return ret + } + + return o.L2vpn +} + +// GetL2vpnOk returns a tuple with the L2vpn field value +// and a boolean to check if the value has been set. +func (o *BriefL2VPNTermination) GetL2vpnOk() (*BriefL2VPN, bool) { + if o == nil { + return nil, false + } + return &o.L2vpn, true +} + +// SetL2vpn sets field value +func (o *BriefL2VPNTermination) SetL2vpn(v BriefL2VPN) { + o.L2vpn = v +} + +func (o BriefL2VPNTermination) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefL2VPNTermination) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["l2vpn"] = o.L2vpn + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefL2VPNTermination) 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", + "url", + "display", + "l2vpn", + } + + 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) + } + } + + varBriefL2VPNTermination := _BriefL2VPNTermination{} + + err = json.Unmarshal(data, &varBriefL2VPNTermination) + + if err != nil { + return err + } + + *o = BriefL2VPNTermination(varBriefL2VPNTermination) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "l2vpn") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefL2VPNTermination struct { + value *BriefL2VPNTermination + isSet bool +} + +func (v NullableBriefL2VPNTermination) Get() *BriefL2VPNTermination { + return v.value +} + +func (v *NullableBriefL2VPNTermination) Set(val *BriefL2VPNTermination) { + v.value = val + v.isSet = true +} + +func (v NullableBriefL2VPNTermination) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefL2VPNTermination) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefL2VPNTermination(val *BriefL2VPNTermination) *NullableBriefL2VPNTermination { + return &NullableBriefL2VPNTermination{value: val, isSet: true} +} + +func (v NullableBriefL2VPNTermination) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefL2VPNTermination) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_l2_vpn_termination_request.go b/model_brief_l2_vpn_termination_request.go new file mode 100644 index 000000000..09a9bb3e9 --- /dev/null +++ b/model_brief_l2_vpn_termination_request.go @@ -0,0 +1,166 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefL2VPNTerminationRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefL2VPNTerminationRequest{} + +// BriefL2VPNTerminationRequest Adds support for custom fields and tags. +type BriefL2VPNTerminationRequest struct { + L2vpn BriefL2VPNRequest `json:"l2vpn"` + AdditionalProperties map[string]interface{} +} + +type _BriefL2VPNTerminationRequest BriefL2VPNTerminationRequest + +// NewBriefL2VPNTerminationRequest instantiates a new BriefL2VPNTerminationRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefL2VPNTerminationRequest(l2vpn BriefL2VPNRequest) *BriefL2VPNTerminationRequest { + this := BriefL2VPNTerminationRequest{} + this.L2vpn = l2vpn + return &this +} + +// NewBriefL2VPNTerminationRequestWithDefaults instantiates a new BriefL2VPNTerminationRequest object +// This 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 NewBriefL2VPNTerminationRequestWithDefaults() *BriefL2VPNTerminationRequest { + this := BriefL2VPNTerminationRequest{} + return &this +} + +// GetL2vpn returns the L2vpn field value +func (o *BriefL2VPNTerminationRequest) GetL2vpn() BriefL2VPNRequest { + if o == nil { + var ret BriefL2VPNRequest + return ret + } + + return o.L2vpn +} + +// GetL2vpnOk returns a tuple with the L2vpn field value +// and a boolean to check if the value has been set. +func (o *BriefL2VPNTerminationRequest) GetL2vpnOk() (*BriefL2VPNRequest, bool) { + if o == nil { + return nil, false + } + return &o.L2vpn, true +} + +// SetL2vpn sets field value +func (o *BriefL2VPNTerminationRequest) SetL2vpn(v BriefL2VPNRequest) { + o.L2vpn = v +} + +func (o BriefL2VPNTerminationRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefL2VPNTerminationRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["l2vpn"] = o.L2vpn + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefL2VPNTerminationRequest) 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{ + "l2vpn", + } + + 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) + } + } + + varBriefL2VPNTerminationRequest := _BriefL2VPNTerminationRequest{} + + err = json.Unmarshal(data, &varBriefL2VPNTerminationRequest) + + if err != nil { + return err + } + + *o = BriefL2VPNTerminationRequest(varBriefL2VPNTerminationRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "l2vpn") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefL2VPNTerminationRequest struct { + value *BriefL2VPNTerminationRequest + isSet bool +} + +func (v NullableBriefL2VPNTerminationRequest) Get() *BriefL2VPNTerminationRequest { + return v.value +} + +func (v *NullableBriefL2VPNTerminationRequest) Set(val *BriefL2VPNTerminationRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefL2VPNTerminationRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefL2VPNTerminationRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefL2VPNTerminationRequest(val *BriefL2VPNTerminationRequest) *NullableBriefL2VPNTerminationRequest { + return &NullableBriefL2VPNTerminationRequest{value: val, isSet: true} +} + +func (v NullableBriefL2VPNTerminationRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefL2VPNTerminationRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_l2_vpn_type.go b/model_brief_l2_vpn_type.go new file mode 100644 index 000000000..abfebeb3d --- /dev/null +++ b/model_brief_l2_vpn_type.go @@ -0,0 +1,190 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" +) + +// checks if the BriefL2VPNType type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefL2VPNType{} + +// BriefL2VPNType struct for BriefL2VPNType +type BriefL2VPNType struct { + Value *BriefL2VPNTypeValue `json:"value,omitempty"` + Label *BriefL2VPNTypeLabel `json:"label,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefL2VPNType BriefL2VPNType + +// NewBriefL2VPNType instantiates a new BriefL2VPNType object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefL2VPNType() *BriefL2VPNType { + this := BriefL2VPNType{} + return &this +} + +// NewBriefL2VPNTypeWithDefaults instantiates a new BriefL2VPNType object +// This 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 NewBriefL2VPNTypeWithDefaults() *BriefL2VPNType { + this := BriefL2VPNType{} + return &this +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *BriefL2VPNType) GetValue() BriefL2VPNTypeValue { + if o == nil || IsNil(o.Value) { + var ret BriefL2VPNTypeValue + 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 *BriefL2VPNType) GetValueOk() (*BriefL2VPNTypeValue, 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 *BriefL2VPNType) HasValue() bool { + if o != nil && !IsNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given BriefL2VPNTypeValue and assigns it to the Value field. +func (o *BriefL2VPNType) SetValue(v BriefL2VPNTypeValue) { + o.Value = &v +} + +// GetLabel returns the Label field value if set, zero value otherwise. +func (o *BriefL2VPNType) GetLabel() BriefL2VPNTypeLabel { + if o == nil || IsNil(o.Label) { + var ret BriefL2VPNTypeLabel + 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 *BriefL2VPNType) GetLabelOk() (*BriefL2VPNTypeLabel, 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 *BriefL2VPNType) HasLabel() bool { + if o != nil && !IsNil(o.Label) { + return true + } + + return false +} + +// SetLabel gets a reference to the given BriefL2VPNTypeLabel and assigns it to the Label field. +func (o *BriefL2VPNType) SetLabel(v BriefL2VPNTypeLabel) { + o.Label = &v +} + +func (o BriefL2VPNType) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefL2VPNType) 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 *BriefL2VPNType) UnmarshalJSON(data []byte) (err error) { + varBriefL2VPNType := _BriefL2VPNType{} + + err = json.Unmarshal(data, &varBriefL2VPNType) + + if err != nil { + return err + } + + *o = BriefL2VPNType(varBriefL2VPNType) + + 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 NullableBriefL2VPNType struct { + value *BriefL2VPNType + isSet bool +} + +func (v NullableBriefL2VPNType) Get() *BriefL2VPNType { + return v.value +} + +func (v *NullableBriefL2VPNType) Set(val *BriefL2VPNType) { + v.value = val + v.isSet = true +} + +func (v NullableBriefL2VPNType) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefL2VPNType) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefL2VPNType(val *BriefL2VPNType) *NullableBriefL2VPNType { + return &NullableBriefL2VPNType{value: val, isSet: true} +} + +func (v NullableBriefL2VPNType) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefL2VPNType) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_l2_vpn_type_label.go b/model_brief_l2_vpn_type_label.go new file mode 100644 index 000000000..b1b794a32 --- /dev/null +++ b/model_brief_l2_vpn_type_label.go @@ -0,0 +1,130 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// BriefL2VPNTypeLabel the model 'BriefL2VPNTypeLabel' +type BriefL2VPNTypeLabel string + +// List of BriefL2VPN_type_label +const ( + BRIEFL2VPNTYPELABEL_VPWS BriefL2VPNTypeLabel = "VPWS" + BRIEFL2VPNTYPELABEL_VPLS BriefL2VPNTypeLabel = "VPLS" + BRIEFL2VPNTYPELABEL_VXLAN BriefL2VPNTypeLabel = "VXLAN" + BRIEFL2VPNTYPELABEL_VXLAN_EVPN BriefL2VPNTypeLabel = "VXLAN-EVPN" + BRIEFL2VPNTYPELABEL_MPLS_EVPN BriefL2VPNTypeLabel = "MPLS EVPN" + BRIEFL2VPNTYPELABEL_PBB_EVPN BriefL2VPNTypeLabel = "PBB EVPN" + BRIEFL2VPNTYPELABEL_EPL BriefL2VPNTypeLabel = "EPL" + BRIEFL2VPNTYPELABEL_EVPL BriefL2VPNTypeLabel = "EVPL" + BRIEFL2VPNTYPELABEL_ETHERNET_PRIVATE_LAN BriefL2VPNTypeLabel = "Ethernet Private LAN" + BRIEFL2VPNTYPELABEL_ETHERNET_VIRTUAL_PRIVATE_LAN BriefL2VPNTypeLabel = "Ethernet Virtual Private LAN" + BRIEFL2VPNTYPELABEL_ETHERNET_PRIVATE_TREE BriefL2VPNTypeLabel = "Ethernet Private Tree" + BRIEFL2VPNTYPELABEL_ETHERNET_VIRTUAL_PRIVATE_TREE BriefL2VPNTypeLabel = "Ethernet Virtual Private Tree" +) + +// All allowed values of BriefL2VPNTypeLabel enum +var AllowedBriefL2VPNTypeLabelEnumValues = []BriefL2VPNTypeLabel{ + "VPWS", + "VPLS", + "VXLAN", + "VXLAN-EVPN", + "MPLS EVPN", + "PBB EVPN", + "EPL", + "EVPL", + "Ethernet Private LAN", + "Ethernet Virtual Private LAN", + "Ethernet Private Tree", + "Ethernet Virtual Private Tree", +} + +func (v *BriefL2VPNTypeLabel) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := BriefL2VPNTypeLabel(value) + for _, existing := range AllowedBriefL2VPNTypeLabelEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid BriefL2VPNTypeLabel", value) +} + +// NewBriefL2VPNTypeLabelFromValue returns a pointer to a valid BriefL2VPNTypeLabel +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewBriefL2VPNTypeLabelFromValue(v string) (*BriefL2VPNTypeLabel, error) { + ev := BriefL2VPNTypeLabel(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for BriefL2VPNTypeLabel: valid values are %v", v, AllowedBriefL2VPNTypeLabelEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v BriefL2VPNTypeLabel) IsValid() bool { + for _, existing := range AllowedBriefL2VPNTypeLabelEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to BriefL2VPN_type_label value +func (v BriefL2VPNTypeLabel) Ptr() *BriefL2VPNTypeLabel { + return &v +} + +type NullableBriefL2VPNTypeLabel struct { + value *BriefL2VPNTypeLabel + isSet bool +} + +func (v NullableBriefL2VPNTypeLabel) Get() *BriefL2VPNTypeLabel { + return v.value +} + +func (v *NullableBriefL2VPNTypeLabel) Set(val *BriefL2VPNTypeLabel) { + v.value = val + v.isSet = true +} + +func (v NullableBriefL2VPNTypeLabel) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefL2VPNTypeLabel) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefL2VPNTypeLabel(val *BriefL2VPNTypeLabel) *NullableBriefL2VPNTypeLabel { + return &NullableBriefL2VPNTypeLabel{value: val, isSet: true} +} + +func (v NullableBriefL2VPNTypeLabel) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefL2VPNTypeLabel) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_l2_vpn_type_value.go b/model_brief_l2_vpn_type_value.go new file mode 100644 index 000000000..f4a2c410d --- /dev/null +++ b/model_brief_l2_vpn_type_value.go @@ -0,0 +1,130 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// BriefL2VPNTypeValue * `vpws` - VPWS * `vpls` - VPLS * `vxlan` - VXLAN * `vxlan-evpn` - VXLAN-EVPN * `mpls-evpn` - MPLS EVPN * `pbb-evpn` - PBB EVPN * `epl` - EPL * `evpl` - EVPL * `ep-lan` - Ethernet Private LAN * `evp-lan` - Ethernet Virtual Private LAN * `ep-tree` - Ethernet Private Tree * `evp-tree` - Ethernet Virtual Private Tree +type BriefL2VPNTypeValue string + +// List of BriefL2VPN_type_value +const ( + BRIEFL2VPNTYPEVALUE_VPWS BriefL2VPNTypeValue = "vpws" + BRIEFL2VPNTYPEVALUE_VPLS BriefL2VPNTypeValue = "vpls" + BRIEFL2VPNTYPEVALUE_VXLAN BriefL2VPNTypeValue = "vxlan" + BRIEFL2VPNTYPEVALUE_VXLAN_EVPN BriefL2VPNTypeValue = "vxlan-evpn" + BRIEFL2VPNTYPEVALUE_MPLS_EVPN BriefL2VPNTypeValue = "mpls-evpn" + BRIEFL2VPNTYPEVALUE_PBB_EVPN BriefL2VPNTypeValue = "pbb-evpn" + BRIEFL2VPNTYPEVALUE_EPL BriefL2VPNTypeValue = "epl" + BRIEFL2VPNTYPEVALUE_EVPL BriefL2VPNTypeValue = "evpl" + BRIEFL2VPNTYPEVALUE_EP_LAN BriefL2VPNTypeValue = "ep-lan" + BRIEFL2VPNTYPEVALUE_EVP_LAN BriefL2VPNTypeValue = "evp-lan" + BRIEFL2VPNTYPEVALUE_EP_TREE BriefL2VPNTypeValue = "ep-tree" + BRIEFL2VPNTYPEVALUE_EVP_TREE BriefL2VPNTypeValue = "evp-tree" +) + +// All allowed values of BriefL2VPNTypeValue enum +var AllowedBriefL2VPNTypeValueEnumValues = []BriefL2VPNTypeValue{ + "vpws", + "vpls", + "vxlan", + "vxlan-evpn", + "mpls-evpn", + "pbb-evpn", + "epl", + "evpl", + "ep-lan", + "evp-lan", + "ep-tree", + "evp-tree", +} + +func (v *BriefL2VPNTypeValue) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := BriefL2VPNTypeValue(value) + for _, existing := range AllowedBriefL2VPNTypeValueEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid BriefL2VPNTypeValue", value) +} + +// NewBriefL2VPNTypeValueFromValue returns a pointer to a valid BriefL2VPNTypeValue +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewBriefL2VPNTypeValueFromValue(v string) (*BriefL2VPNTypeValue, error) { + ev := BriefL2VPNTypeValue(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for BriefL2VPNTypeValue: valid values are %v", v, AllowedBriefL2VPNTypeValueEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v BriefL2VPNTypeValue) IsValid() bool { + for _, existing := range AllowedBriefL2VPNTypeValueEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to BriefL2VPN_type_value value +func (v BriefL2VPNTypeValue) Ptr() *BriefL2VPNTypeValue { + return &v +} + +type NullableBriefL2VPNTypeValue struct { + value *BriefL2VPNTypeValue + isSet bool +} + +func (v NullableBriefL2VPNTypeValue) Get() *BriefL2VPNTypeValue { + return v.value +} + +func (v *NullableBriefL2VPNTypeValue) Set(val *BriefL2VPNTypeValue) { + v.value = val + v.isSet = true +} + +func (v NullableBriefL2VPNTypeValue) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefL2VPNTypeValue) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefL2VPNTypeValue(val *BriefL2VPNTypeValue) *NullableBriefL2VPNTypeValue { + return &NullableBriefL2VPNTypeValue{value: val, isSet: true} +} + +func (v NullableBriefL2VPNTypeValue) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefL2VPNTypeValue) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_location.go b/model_brief_location.go new file mode 100644 index 000000000..1ab17c7fb --- /dev/null +++ b/model_brief_location.go @@ -0,0 +1,377 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefLocation type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefLocation{} + +// BriefLocation Extends PrimaryModelSerializer to include MPTT support. +type BriefLocation struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + Name string `json:"name"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + RackCount int32 `json:"rack_count"` + Depth int32 `json:"_depth"` + AdditionalProperties map[string]interface{} +} + +type _BriefLocation BriefLocation + +// NewBriefLocation instantiates a new BriefLocation object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefLocation(id int32, url string, display string, name string, slug string, rackCount int32, depth int32) *BriefLocation { + this := BriefLocation{} + this.Id = id + this.Url = url + this.Display = display + this.Name = name + this.Slug = slug + this.RackCount = rackCount + this.Depth = depth + return &this +} + +// NewBriefLocationWithDefaults instantiates a new BriefLocation object +// This 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 NewBriefLocationWithDefaults() *BriefLocation { + this := BriefLocation{} + return &this +} + +// GetId returns the Id field value +func (o *BriefLocation) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefLocation) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefLocation) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefLocation) 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 *BriefLocation) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefLocation) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefLocation) 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 *BriefLocation) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefLocation) SetDisplay(v string) { + o.Display = v +} + +// GetName returns the Name field value +func (o *BriefLocation) 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 *BriefLocation) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefLocation) SetName(v string) { + o.Name = v +} + +// GetSlug returns the Slug field value +func (o *BriefLocation) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *BriefLocation) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *BriefLocation) SetSlug(v string) { + o.Slug = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefLocation) 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 *BriefLocation) 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 *BriefLocation) 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 *BriefLocation) SetDescription(v string) { + o.Description = &v +} + +// GetRackCount returns the RackCount field value +func (o *BriefLocation) GetRackCount() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.RackCount +} + +// GetRackCountOk returns a tuple with the RackCount field value +// and a boolean to check if the value has been set. +func (o *BriefLocation) GetRackCountOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.RackCount, true +} + +// SetRackCount sets field value +func (o *BriefLocation) SetRackCount(v int32) { + o.RackCount = v +} + +// GetDepth returns the Depth field value +func (o *BriefLocation) GetDepth() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Depth +} + +// GetDepthOk returns a tuple with the Depth field value +// and a boolean to check if the value has been set. +func (o *BriefLocation) GetDepthOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Depth, true +} + +// SetDepth sets field value +func (o *BriefLocation) SetDepth(v int32) { + o.Depth = v +} + +func (o BriefLocation) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefLocation) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["name"] = o.Name + toSerialize["slug"] = o.Slug + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + toSerialize["rack_count"] = o.RackCount + toSerialize["_depth"] = o.Depth + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefLocation) 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", + "url", + "display", + "name", + "slug", + "rack_count", + "_depth", + } + + 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) + } + } + + varBriefLocation := _BriefLocation{} + + err = json.Unmarshal(data, &varBriefLocation) + + if err != nil { + return err + } + + *o = BriefLocation(varBriefLocation) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "name") + delete(additionalProperties, "slug") + delete(additionalProperties, "description") + delete(additionalProperties, "rack_count") + delete(additionalProperties, "_depth") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefLocation struct { + value *BriefLocation + isSet bool +} + +func (v NullableBriefLocation) Get() *BriefLocation { + return v.value +} + +func (v *NullableBriefLocation) Set(val *BriefLocation) { + v.value = val + v.isSet = true +} + +func (v NullableBriefLocation) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefLocation) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefLocation(val *BriefLocation) *NullableBriefLocation { + return &NullableBriefLocation{value: val, isSet: true} +} + +func (v NullableBriefLocation) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefLocation) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_location_request.go b/model_brief_location_request.go new file mode 100644 index 000000000..af1180b5f --- /dev/null +++ b/model_brief_location_request.go @@ -0,0 +1,232 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefLocationRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefLocationRequest{} + +// BriefLocationRequest Extends PrimaryModelSerializer to include MPTT support. +type BriefLocationRequest struct { + Name string `json:"name"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefLocationRequest BriefLocationRequest + +// NewBriefLocationRequest instantiates a new BriefLocationRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefLocationRequest(name string, slug string) *BriefLocationRequest { + this := BriefLocationRequest{} + this.Name = name + this.Slug = slug + return &this +} + +// NewBriefLocationRequestWithDefaults instantiates a new BriefLocationRequest object +// This 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 NewBriefLocationRequestWithDefaults() *BriefLocationRequest { + this := BriefLocationRequest{} + return &this +} + +// GetName returns the Name field value +func (o *BriefLocationRequest) 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 *BriefLocationRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefLocationRequest) SetName(v string) { + o.Name = v +} + +// GetSlug returns the Slug field value +func (o *BriefLocationRequest) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *BriefLocationRequest) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *BriefLocationRequest) SetSlug(v string) { + o.Slug = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefLocationRequest) 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 *BriefLocationRequest) 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 *BriefLocationRequest) 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 *BriefLocationRequest) SetDescription(v string) { + o.Description = &v +} + +func (o BriefLocationRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefLocationRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["name"] = o.Name + toSerialize["slug"] = o.Slug + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefLocationRequest) 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", + "slug", + } + + 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) + } + } + + varBriefLocationRequest := _BriefLocationRequest{} + + err = json.Unmarshal(data, &varBriefLocationRequest) + + if err != nil { + return err + } + + *o = BriefLocationRequest(varBriefLocationRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "name") + delete(additionalProperties, "slug") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefLocationRequest struct { + value *BriefLocationRequest + isSet bool +} + +func (v NullableBriefLocationRequest) Get() *BriefLocationRequest { + return v.value +} + +func (v *NullableBriefLocationRequest) Set(val *BriefLocationRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefLocationRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefLocationRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefLocationRequest(val *BriefLocationRequest) *NullableBriefLocationRequest { + return &NullableBriefLocationRequest{value: val, isSet: true} +} + +func (v NullableBriefLocationRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefLocationRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_manufacturer.go b/model_brief_manufacturer.go new file mode 100644 index 000000000..b17aee7a6 --- /dev/null +++ b/model_brief_manufacturer.go @@ -0,0 +1,356 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefManufacturer type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefManufacturer{} + +// BriefManufacturer Adds support for custom fields and tags. +type BriefManufacturer struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + Name string `json:"name"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + DevicetypeCount *int64 `json:"devicetype_count,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefManufacturer BriefManufacturer + +// NewBriefManufacturer instantiates a new BriefManufacturer object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefManufacturer(id int32, url string, display string, name string, slug string) *BriefManufacturer { + this := BriefManufacturer{} + this.Id = id + this.Url = url + this.Display = display + this.Name = name + this.Slug = slug + return &this +} + +// NewBriefManufacturerWithDefaults instantiates a new BriefManufacturer object +// This 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 NewBriefManufacturerWithDefaults() *BriefManufacturer { + this := BriefManufacturer{} + return &this +} + +// GetId returns the Id field value +func (o *BriefManufacturer) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefManufacturer) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefManufacturer) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefManufacturer) 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 *BriefManufacturer) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefManufacturer) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefManufacturer) 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 *BriefManufacturer) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefManufacturer) SetDisplay(v string) { + o.Display = v +} + +// GetName returns the Name field value +func (o *BriefManufacturer) 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 *BriefManufacturer) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefManufacturer) SetName(v string) { + o.Name = v +} + +// GetSlug returns the Slug field value +func (o *BriefManufacturer) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *BriefManufacturer) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *BriefManufacturer) SetSlug(v string) { + o.Slug = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefManufacturer) 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 *BriefManufacturer) 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 *BriefManufacturer) 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 *BriefManufacturer) SetDescription(v string) { + o.Description = &v +} + +// GetDevicetypeCount returns the DevicetypeCount field value if set, zero value otherwise. +func (o *BriefManufacturer) GetDevicetypeCount() int64 { + if o == nil || IsNil(o.DevicetypeCount) { + var ret int64 + return ret + } + return *o.DevicetypeCount +} + +// GetDevicetypeCountOk returns a tuple with the DevicetypeCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BriefManufacturer) GetDevicetypeCountOk() (*int64, bool) { + if o == nil || IsNil(o.DevicetypeCount) { + return nil, false + } + return o.DevicetypeCount, true +} + +// HasDevicetypeCount returns a boolean if a field has been set. +func (o *BriefManufacturer) HasDevicetypeCount() bool { + if o != nil && !IsNil(o.DevicetypeCount) { + return true + } + + return false +} + +// SetDevicetypeCount gets a reference to the given int64 and assigns it to the DevicetypeCount field. +func (o *BriefManufacturer) SetDevicetypeCount(v int64) { + o.DevicetypeCount = &v +} + +func (o BriefManufacturer) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefManufacturer) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["name"] = o.Name + toSerialize["slug"] = o.Slug + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + if !IsNil(o.DevicetypeCount) { + toSerialize["devicetype_count"] = o.DevicetypeCount + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefManufacturer) 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", + "url", + "display", + "name", + "slug", + } + + 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) + } + } + + varBriefManufacturer := _BriefManufacturer{} + + err = json.Unmarshal(data, &varBriefManufacturer) + + if err != nil { + return err + } + + *o = BriefManufacturer(varBriefManufacturer) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "name") + delete(additionalProperties, "slug") + delete(additionalProperties, "description") + delete(additionalProperties, "devicetype_count") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefManufacturer struct { + value *BriefManufacturer + isSet bool +} + +func (v NullableBriefManufacturer) Get() *BriefManufacturer { + return v.value +} + +func (v *NullableBriefManufacturer) Set(val *BriefManufacturer) { + v.value = val + v.isSet = true +} + +func (v NullableBriefManufacturer) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefManufacturer) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefManufacturer(val *BriefManufacturer) *NullableBriefManufacturer { + return &NullableBriefManufacturer{value: val, isSet: true} +} + +func (v NullableBriefManufacturer) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefManufacturer) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_manufacturer_request.go b/model_brief_manufacturer_request.go new file mode 100644 index 000000000..43c86a568 --- /dev/null +++ b/model_brief_manufacturer_request.go @@ -0,0 +1,232 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefManufacturerRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefManufacturerRequest{} + +// BriefManufacturerRequest Adds support for custom fields and tags. +type BriefManufacturerRequest struct { + Name string `json:"name"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefManufacturerRequest BriefManufacturerRequest + +// NewBriefManufacturerRequest instantiates a new BriefManufacturerRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefManufacturerRequest(name string, slug string) *BriefManufacturerRequest { + this := BriefManufacturerRequest{} + this.Name = name + this.Slug = slug + return &this +} + +// NewBriefManufacturerRequestWithDefaults instantiates a new BriefManufacturerRequest object +// This 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 NewBriefManufacturerRequestWithDefaults() *BriefManufacturerRequest { + this := BriefManufacturerRequest{} + return &this +} + +// GetName returns the Name field value +func (o *BriefManufacturerRequest) 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 *BriefManufacturerRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefManufacturerRequest) SetName(v string) { + o.Name = v +} + +// GetSlug returns the Slug field value +func (o *BriefManufacturerRequest) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *BriefManufacturerRequest) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *BriefManufacturerRequest) SetSlug(v string) { + o.Slug = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefManufacturerRequest) 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 *BriefManufacturerRequest) 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 *BriefManufacturerRequest) 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 *BriefManufacturerRequest) SetDescription(v string) { + o.Description = &v +} + +func (o BriefManufacturerRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefManufacturerRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["name"] = o.Name + toSerialize["slug"] = o.Slug + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefManufacturerRequest) 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", + "slug", + } + + 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) + } + } + + varBriefManufacturerRequest := _BriefManufacturerRequest{} + + err = json.Unmarshal(data, &varBriefManufacturerRequest) + + if err != nil { + return err + } + + *o = BriefManufacturerRequest(varBriefManufacturerRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "name") + delete(additionalProperties, "slug") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefManufacturerRequest struct { + value *BriefManufacturerRequest + isSet bool +} + +func (v NullableBriefManufacturerRequest) Get() *BriefManufacturerRequest { + return v.value +} + +func (v *NullableBriefManufacturerRequest) Set(val *BriefManufacturerRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefManufacturerRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefManufacturerRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefManufacturerRequest(val *BriefManufacturerRequest) *NullableBriefManufacturerRequest { + return &NullableBriefManufacturerRequest{value: val, isSet: true} +} + +func (v NullableBriefManufacturerRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefManufacturerRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_module.go b/model_brief_module.go new file mode 100644 index 000000000..866dd2b4e --- /dev/null +++ b/model_brief_module.go @@ -0,0 +1,282 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefModule type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefModule{} + +// BriefModule Adds support for custom fields and tags. +type BriefModule struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + Device BriefDevice `json:"device"` + ModuleBay NestedModuleBay `json:"module_bay"` + AdditionalProperties map[string]interface{} +} + +type _BriefModule BriefModule + +// NewBriefModule instantiates a new BriefModule object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefModule(id int32, url string, display string, device BriefDevice, moduleBay NestedModuleBay) *BriefModule { + this := BriefModule{} + this.Id = id + this.Url = url + this.Display = display + this.Device = device + this.ModuleBay = moduleBay + return &this +} + +// NewBriefModuleWithDefaults instantiates a new BriefModule object +// This 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 NewBriefModuleWithDefaults() *BriefModule { + this := BriefModule{} + return &this +} + +// GetId returns the Id field value +func (o *BriefModule) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefModule) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefModule) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefModule) 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 *BriefModule) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefModule) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefModule) 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 *BriefModule) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefModule) SetDisplay(v string) { + o.Display = v +} + +// GetDevice returns the Device field value +func (o *BriefModule) GetDevice() BriefDevice { + if o == nil { + var ret BriefDevice + 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 *BriefModule) GetDeviceOk() (*BriefDevice, bool) { + if o == nil { + return nil, false + } + return &o.Device, true +} + +// SetDevice sets field value +func (o *BriefModule) SetDevice(v BriefDevice) { + o.Device = v +} + +// GetModuleBay returns the ModuleBay field value +func (o *BriefModule) GetModuleBay() NestedModuleBay { + if o == nil { + var ret NestedModuleBay + return ret + } + + return o.ModuleBay +} + +// GetModuleBayOk returns a tuple with the ModuleBay field value +// and a boolean to check if the value has been set. +func (o *BriefModule) GetModuleBayOk() (*NestedModuleBay, bool) { + if o == nil { + return nil, false + } + return &o.ModuleBay, true +} + +// SetModuleBay sets field value +func (o *BriefModule) SetModuleBay(v NestedModuleBay) { + o.ModuleBay = v +} + +func (o BriefModule) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefModule) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["device"] = o.Device + toSerialize["module_bay"] = o.ModuleBay + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefModule) 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", + "url", + "display", + "device", + "module_bay", + } + + 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) + } + } + + varBriefModule := _BriefModule{} + + err = json.Unmarshal(data, &varBriefModule) + + if err != nil { + return err + } + + *o = BriefModule(varBriefModule) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "device") + delete(additionalProperties, "module_bay") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefModule struct { + value *BriefModule + isSet bool +} + +func (v NullableBriefModule) Get() *BriefModule { + return v.value +} + +func (v *NullableBriefModule) Set(val *BriefModule) { + v.value = val + v.isSet = true +} + +func (v NullableBriefModule) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefModule) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefModule(val *BriefModule) *NullableBriefModule { + return &NullableBriefModule{value: val, isSet: true} +} + +func (v NullableBriefModule) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefModule) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_module_request.go b/model_brief_module_request.go new file mode 100644 index 000000000..db80868b2 --- /dev/null +++ b/model_brief_module_request.go @@ -0,0 +1,195 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefModuleRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefModuleRequest{} + +// BriefModuleRequest Adds support for custom fields and tags. +type BriefModuleRequest struct { + Device BriefDeviceRequest `json:"device"` + ModuleBay NestedModuleBayRequest `json:"module_bay"` + AdditionalProperties map[string]interface{} +} + +type _BriefModuleRequest BriefModuleRequest + +// NewBriefModuleRequest instantiates a new BriefModuleRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefModuleRequest(device BriefDeviceRequest, moduleBay NestedModuleBayRequest) *BriefModuleRequest { + this := BriefModuleRequest{} + this.Device = device + this.ModuleBay = moduleBay + return &this +} + +// NewBriefModuleRequestWithDefaults instantiates a new BriefModuleRequest object +// This 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 NewBriefModuleRequestWithDefaults() *BriefModuleRequest { + this := BriefModuleRequest{} + return &this +} + +// GetDevice returns the Device field value +func (o *BriefModuleRequest) GetDevice() BriefDeviceRequest { + if o == nil { + var ret BriefDeviceRequest + 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 *BriefModuleRequest) GetDeviceOk() (*BriefDeviceRequest, bool) { + if o == nil { + return nil, false + } + return &o.Device, true +} + +// SetDevice sets field value +func (o *BriefModuleRequest) SetDevice(v BriefDeviceRequest) { + o.Device = v +} + +// GetModuleBay returns the ModuleBay field value +func (o *BriefModuleRequest) GetModuleBay() NestedModuleBayRequest { + if o == nil { + var ret NestedModuleBayRequest + return ret + } + + return o.ModuleBay +} + +// GetModuleBayOk returns a tuple with the ModuleBay field value +// and a boolean to check if the value has been set. +func (o *BriefModuleRequest) GetModuleBayOk() (*NestedModuleBayRequest, bool) { + if o == nil { + return nil, false + } + return &o.ModuleBay, true +} + +// SetModuleBay sets field value +func (o *BriefModuleRequest) SetModuleBay(v NestedModuleBayRequest) { + o.ModuleBay = v +} + +func (o BriefModuleRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefModuleRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["device"] = o.Device + toSerialize["module_bay"] = o.ModuleBay + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefModuleRequest) 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{ + "device", + "module_bay", + } + + 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) + } + } + + varBriefModuleRequest := _BriefModuleRequest{} + + err = json.Unmarshal(data, &varBriefModuleRequest) + + if err != nil { + return err + } + + *o = BriefModuleRequest(varBriefModuleRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "device") + delete(additionalProperties, "module_bay") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefModuleRequest struct { + value *BriefModuleRequest + isSet bool +} + +func (v NullableBriefModuleRequest) Get() *BriefModuleRequest { + return v.value +} + +func (v *NullableBriefModuleRequest) Set(val *BriefModuleRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefModuleRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefModuleRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefModuleRequest(val *BriefModuleRequest) *NullableBriefModuleRequest { + return &NullableBriefModuleRequest{value: val, isSet: true} +} + +func (v NullableBriefModuleRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefModuleRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_module_type.go b/model_brief_module_type.go new file mode 100644 index 000000000..b5e855550 --- /dev/null +++ b/model_brief_module_type.go @@ -0,0 +1,319 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefModuleType type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefModuleType{} + +// BriefModuleType Adds support for custom fields and tags. +type BriefModuleType struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + Manufacturer BriefManufacturer `json:"manufacturer"` + Model string `json:"model"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefModuleType BriefModuleType + +// NewBriefModuleType instantiates a new BriefModuleType object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefModuleType(id int32, url string, display string, manufacturer BriefManufacturer, model string) *BriefModuleType { + this := BriefModuleType{} + this.Id = id + this.Url = url + this.Display = display + this.Manufacturer = manufacturer + this.Model = model + return &this +} + +// NewBriefModuleTypeWithDefaults instantiates a new BriefModuleType object +// This 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 NewBriefModuleTypeWithDefaults() *BriefModuleType { + this := BriefModuleType{} + return &this +} + +// GetId returns the Id field value +func (o *BriefModuleType) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefModuleType) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefModuleType) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefModuleType) 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 *BriefModuleType) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefModuleType) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefModuleType) 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 *BriefModuleType) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefModuleType) SetDisplay(v string) { + o.Display = v +} + +// GetManufacturer returns the Manufacturer field value +func (o *BriefModuleType) GetManufacturer() BriefManufacturer { + if o == nil { + var ret BriefManufacturer + return ret + } + + return o.Manufacturer +} + +// GetManufacturerOk returns a tuple with the Manufacturer field value +// and a boolean to check if the value has been set. +func (o *BriefModuleType) GetManufacturerOk() (*BriefManufacturer, bool) { + if o == nil { + return nil, false + } + return &o.Manufacturer, true +} + +// SetManufacturer sets field value +func (o *BriefModuleType) SetManufacturer(v BriefManufacturer) { + o.Manufacturer = v +} + +// GetModel returns the Model field value +func (o *BriefModuleType) GetModel() string { + if o == nil { + var ret string + return ret + } + + return o.Model +} + +// GetModelOk returns a tuple with the Model field value +// and a boolean to check if the value has been set. +func (o *BriefModuleType) GetModelOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Model, true +} + +// SetModel sets field value +func (o *BriefModuleType) SetModel(v string) { + o.Model = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefModuleType) 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 *BriefModuleType) 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 *BriefModuleType) 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 *BriefModuleType) SetDescription(v string) { + o.Description = &v +} + +func (o BriefModuleType) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefModuleType) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["manufacturer"] = o.Manufacturer + toSerialize["model"] = o.Model + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefModuleType) 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", + "url", + "display", + "manufacturer", + "model", + } + + 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) + } + } + + varBriefModuleType := _BriefModuleType{} + + err = json.Unmarshal(data, &varBriefModuleType) + + if err != nil { + return err + } + + *o = BriefModuleType(varBriefModuleType) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "manufacturer") + delete(additionalProperties, "model") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefModuleType struct { + value *BriefModuleType + isSet bool +} + +func (v NullableBriefModuleType) Get() *BriefModuleType { + return v.value +} + +func (v *NullableBriefModuleType) Set(val *BriefModuleType) { + v.value = val + v.isSet = true +} + +func (v NullableBriefModuleType) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefModuleType) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefModuleType(val *BriefModuleType) *NullableBriefModuleType { + return &NullableBriefModuleType{value: val, isSet: true} +} + +func (v NullableBriefModuleType) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefModuleType) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_module_type_request.go b/model_brief_module_type_request.go new file mode 100644 index 000000000..97ddaa8d9 --- /dev/null +++ b/model_brief_module_type_request.go @@ -0,0 +1,232 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefModuleTypeRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefModuleTypeRequest{} + +// BriefModuleTypeRequest Adds support for custom fields and tags. +type BriefModuleTypeRequest struct { + Manufacturer BriefManufacturerRequest `json:"manufacturer"` + Model string `json:"model"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefModuleTypeRequest BriefModuleTypeRequest + +// NewBriefModuleTypeRequest instantiates a new BriefModuleTypeRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefModuleTypeRequest(manufacturer BriefManufacturerRequest, model string) *BriefModuleTypeRequest { + this := BriefModuleTypeRequest{} + this.Manufacturer = manufacturer + this.Model = model + return &this +} + +// NewBriefModuleTypeRequestWithDefaults instantiates a new BriefModuleTypeRequest object +// This 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 NewBriefModuleTypeRequestWithDefaults() *BriefModuleTypeRequest { + this := BriefModuleTypeRequest{} + return &this +} + +// GetManufacturer returns the Manufacturer field value +func (o *BriefModuleTypeRequest) GetManufacturer() BriefManufacturerRequest { + if o == nil { + var ret BriefManufacturerRequest + return ret + } + + return o.Manufacturer +} + +// GetManufacturerOk returns a tuple with the Manufacturer field value +// and a boolean to check if the value has been set. +func (o *BriefModuleTypeRequest) GetManufacturerOk() (*BriefManufacturerRequest, bool) { + if o == nil { + return nil, false + } + return &o.Manufacturer, true +} + +// SetManufacturer sets field value +func (o *BriefModuleTypeRequest) SetManufacturer(v BriefManufacturerRequest) { + o.Manufacturer = v +} + +// GetModel returns the Model field value +func (o *BriefModuleTypeRequest) GetModel() string { + if o == nil { + var ret string + return ret + } + + return o.Model +} + +// GetModelOk returns a tuple with the Model field value +// and a boolean to check if the value has been set. +func (o *BriefModuleTypeRequest) GetModelOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Model, true +} + +// SetModel sets field value +func (o *BriefModuleTypeRequest) SetModel(v string) { + o.Model = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefModuleTypeRequest) 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 *BriefModuleTypeRequest) 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 *BriefModuleTypeRequest) 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 *BriefModuleTypeRequest) SetDescription(v string) { + o.Description = &v +} + +func (o BriefModuleTypeRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefModuleTypeRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["manufacturer"] = o.Manufacturer + toSerialize["model"] = o.Model + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefModuleTypeRequest) 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{ + "manufacturer", + "model", + } + + 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) + } + } + + varBriefModuleTypeRequest := _BriefModuleTypeRequest{} + + err = json.Unmarshal(data, &varBriefModuleTypeRequest) + + if err != nil { + return err + } + + *o = BriefModuleTypeRequest(varBriefModuleTypeRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "manufacturer") + delete(additionalProperties, "model") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefModuleTypeRequest struct { + value *BriefModuleTypeRequest + isSet bool +} + +func (v NullableBriefModuleTypeRequest) Get() *BriefModuleTypeRequest { + return v.value +} + +func (v *NullableBriefModuleTypeRequest) Set(val *BriefModuleTypeRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefModuleTypeRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefModuleTypeRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefModuleTypeRequest(val *BriefModuleTypeRequest) *NullableBriefModuleTypeRequest { + return &NullableBriefModuleTypeRequest{value: val, isSet: true} +} + +func (v NullableBriefModuleTypeRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefModuleTypeRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_platform.go b/model_brief_platform.go new file mode 100644 index 000000000..13ba10fd2 --- /dev/null +++ b/model_brief_platform.go @@ -0,0 +1,393 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefPlatform type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefPlatform{} + +// BriefPlatform Adds support for custom fields and tags. +type BriefPlatform struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + Name string `json:"name"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + DeviceCount *int64 `json:"device_count,omitempty"` + VirtualmachineCount *int64 `json:"virtualmachine_count,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefPlatform BriefPlatform + +// NewBriefPlatform instantiates a new BriefPlatform object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefPlatform(id int32, url string, display string, name string, slug string) *BriefPlatform { + this := BriefPlatform{} + this.Id = id + this.Url = url + this.Display = display + this.Name = name + this.Slug = slug + return &this +} + +// NewBriefPlatformWithDefaults instantiates a new BriefPlatform object +// This 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 NewBriefPlatformWithDefaults() *BriefPlatform { + this := BriefPlatform{} + return &this +} + +// GetId returns the Id field value +func (o *BriefPlatform) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefPlatform) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefPlatform) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefPlatform) 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 *BriefPlatform) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefPlatform) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefPlatform) 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 *BriefPlatform) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefPlatform) SetDisplay(v string) { + o.Display = v +} + +// GetName returns the Name field value +func (o *BriefPlatform) 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 *BriefPlatform) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefPlatform) SetName(v string) { + o.Name = v +} + +// GetSlug returns the Slug field value +func (o *BriefPlatform) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *BriefPlatform) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *BriefPlatform) SetSlug(v string) { + o.Slug = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefPlatform) 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 *BriefPlatform) 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 *BriefPlatform) 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 *BriefPlatform) SetDescription(v string) { + o.Description = &v +} + +// GetDeviceCount returns the DeviceCount field value if set, zero value otherwise. +func (o *BriefPlatform) GetDeviceCount() int64 { + if o == nil || IsNil(o.DeviceCount) { + var ret int64 + return ret + } + return *o.DeviceCount +} + +// GetDeviceCountOk returns a tuple with the DeviceCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BriefPlatform) GetDeviceCountOk() (*int64, bool) { + if o == nil || IsNil(o.DeviceCount) { + return nil, false + } + return o.DeviceCount, true +} + +// HasDeviceCount returns a boolean if a field has been set. +func (o *BriefPlatform) HasDeviceCount() bool { + if o != nil && !IsNil(o.DeviceCount) { + return true + } + + return false +} + +// SetDeviceCount gets a reference to the given int64 and assigns it to the DeviceCount field. +func (o *BriefPlatform) SetDeviceCount(v int64) { + o.DeviceCount = &v +} + +// GetVirtualmachineCount returns the VirtualmachineCount field value if set, zero value otherwise. +func (o *BriefPlatform) GetVirtualmachineCount() int64 { + if o == nil || IsNil(o.VirtualmachineCount) { + var ret int64 + return ret + } + return *o.VirtualmachineCount +} + +// GetVirtualmachineCountOk returns a tuple with the VirtualmachineCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BriefPlatform) GetVirtualmachineCountOk() (*int64, bool) { + if o == nil || IsNil(o.VirtualmachineCount) { + return nil, false + } + return o.VirtualmachineCount, true +} + +// HasVirtualmachineCount returns a boolean if a field has been set. +func (o *BriefPlatform) HasVirtualmachineCount() bool { + if o != nil && !IsNil(o.VirtualmachineCount) { + return true + } + + return false +} + +// SetVirtualmachineCount gets a reference to the given int64 and assigns it to the VirtualmachineCount field. +func (o *BriefPlatform) SetVirtualmachineCount(v int64) { + o.VirtualmachineCount = &v +} + +func (o BriefPlatform) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefPlatform) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["name"] = o.Name + toSerialize["slug"] = o.Slug + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + if !IsNil(o.DeviceCount) { + toSerialize["device_count"] = o.DeviceCount + } + if !IsNil(o.VirtualmachineCount) { + toSerialize["virtualmachine_count"] = o.VirtualmachineCount + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefPlatform) 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", + "url", + "display", + "name", + "slug", + } + + 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) + } + } + + varBriefPlatform := _BriefPlatform{} + + err = json.Unmarshal(data, &varBriefPlatform) + + if err != nil { + return err + } + + *o = BriefPlatform(varBriefPlatform) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "name") + delete(additionalProperties, "slug") + delete(additionalProperties, "description") + delete(additionalProperties, "device_count") + delete(additionalProperties, "virtualmachine_count") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefPlatform struct { + value *BriefPlatform + isSet bool +} + +func (v NullableBriefPlatform) Get() *BriefPlatform { + return v.value +} + +func (v *NullableBriefPlatform) Set(val *BriefPlatform) { + v.value = val + v.isSet = true +} + +func (v NullableBriefPlatform) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefPlatform) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefPlatform(val *BriefPlatform) *NullableBriefPlatform { + return &NullableBriefPlatform{value: val, isSet: true} +} + +func (v NullableBriefPlatform) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefPlatform) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_platform_request.go b/model_brief_platform_request.go new file mode 100644 index 000000000..3f6f28b7b --- /dev/null +++ b/model_brief_platform_request.go @@ -0,0 +1,232 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefPlatformRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefPlatformRequest{} + +// BriefPlatformRequest Adds support for custom fields and tags. +type BriefPlatformRequest struct { + Name string `json:"name"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefPlatformRequest BriefPlatformRequest + +// NewBriefPlatformRequest instantiates a new BriefPlatformRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefPlatformRequest(name string, slug string) *BriefPlatformRequest { + this := BriefPlatformRequest{} + this.Name = name + this.Slug = slug + return &this +} + +// NewBriefPlatformRequestWithDefaults instantiates a new BriefPlatformRequest object +// This 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 NewBriefPlatformRequestWithDefaults() *BriefPlatformRequest { + this := BriefPlatformRequest{} + return &this +} + +// GetName returns the Name field value +func (o *BriefPlatformRequest) 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 *BriefPlatformRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefPlatformRequest) SetName(v string) { + o.Name = v +} + +// GetSlug returns the Slug field value +func (o *BriefPlatformRequest) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *BriefPlatformRequest) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *BriefPlatformRequest) SetSlug(v string) { + o.Slug = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefPlatformRequest) 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 *BriefPlatformRequest) 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 *BriefPlatformRequest) 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 *BriefPlatformRequest) SetDescription(v string) { + o.Description = &v +} + +func (o BriefPlatformRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefPlatformRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["name"] = o.Name + toSerialize["slug"] = o.Slug + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefPlatformRequest) 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", + "slug", + } + + 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) + } + } + + varBriefPlatformRequest := _BriefPlatformRequest{} + + err = json.Unmarshal(data, &varBriefPlatformRequest) + + if err != nil { + return err + } + + *o = BriefPlatformRequest(varBriefPlatformRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "name") + delete(additionalProperties, "slug") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefPlatformRequest struct { + value *BriefPlatformRequest + isSet bool +} + +func (v NullableBriefPlatformRequest) Get() *BriefPlatformRequest { + return v.value +} + +func (v *NullableBriefPlatformRequest) Set(val *BriefPlatformRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefPlatformRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefPlatformRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefPlatformRequest(val *BriefPlatformRequest) *NullableBriefPlatformRequest { + return &NullableBriefPlatformRequest{value: val, isSet: true} +} + +func (v NullableBriefPlatformRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefPlatformRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_power_panel.go b/model_brief_power_panel.go new file mode 100644 index 000000000..d4c481c83 --- /dev/null +++ b/model_brief_power_panel.go @@ -0,0 +1,319 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefPowerPanel type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefPowerPanel{} + +// BriefPowerPanel Adds support for custom fields and tags. +type BriefPowerPanel struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + Name string `json:"name"` + Description *string `json:"description,omitempty"` + PowerfeedCount int64 `json:"powerfeed_count"` + AdditionalProperties map[string]interface{} +} + +type _BriefPowerPanel BriefPowerPanel + +// NewBriefPowerPanel instantiates a new BriefPowerPanel object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefPowerPanel(id int32, url string, display string, name string, powerfeedCount int64) *BriefPowerPanel { + this := BriefPowerPanel{} + this.Id = id + this.Url = url + this.Display = display + this.Name = name + this.PowerfeedCount = powerfeedCount + return &this +} + +// NewBriefPowerPanelWithDefaults instantiates a new BriefPowerPanel object +// This 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 NewBriefPowerPanelWithDefaults() *BriefPowerPanel { + this := BriefPowerPanel{} + return &this +} + +// GetId returns the Id field value +func (o *BriefPowerPanel) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefPowerPanel) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefPowerPanel) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefPowerPanel) 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 *BriefPowerPanel) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefPowerPanel) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefPowerPanel) 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 *BriefPowerPanel) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefPowerPanel) SetDisplay(v string) { + o.Display = v +} + +// GetName returns the Name field value +func (o *BriefPowerPanel) 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 *BriefPowerPanel) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefPowerPanel) SetName(v string) { + o.Name = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefPowerPanel) 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 *BriefPowerPanel) 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 *BriefPowerPanel) 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 *BriefPowerPanel) SetDescription(v string) { + o.Description = &v +} + +// GetPowerfeedCount returns the PowerfeedCount field value +func (o *BriefPowerPanel) GetPowerfeedCount() int64 { + if o == nil { + var ret int64 + return ret + } + + return o.PowerfeedCount +} + +// GetPowerfeedCountOk returns a tuple with the PowerfeedCount field value +// and a boolean to check if the value has been set. +func (o *BriefPowerPanel) GetPowerfeedCountOk() (*int64, bool) { + if o == nil { + return nil, false + } + return &o.PowerfeedCount, true +} + +// SetPowerfeedCount sets field value +func (o *BriefPowerPanel) SetPowerfeedCount(v int64) { + o.PowerfeedCount = v +} + +func (o BriefPowerPanel) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefPowerPanel) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["name"] = o.Name + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + toSerialize["powerfeed_count"] = o.PowerfeedCount + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefPowerPanel) 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", + "url", + "display", + "name", + "powerfeed_count", + } + + 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) + } + } + + varBriefPowerPanel := _BriefPowerPanel{} + + err = json.Unmarshal(data, &varBriefPowerPanel) + + if err != nil { + return err + } + + *o = BriefPowerPanel(varBriefPowerPanel) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "name") + delete(additionalProperties, "description") + delete(additionalProperties, "powerfeed_count") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefPowerPanel struct { + value *BriefPowerPanel + isSet bool +} + +func (v NullableBriefPowerPanel) Get() *BriefPowerPanel { + return v.value +} + +func (v *NullableBriefPowerPanel) Set(val *BriefPowerPanel) { + v.value = val + v.isSet = true +} + +func (v NullableBriefPowerPanel) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefPowerPanel) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefPowerPanel(val *BriefPowerPanel) *NullableBriefPowerPanel { + return &NullableBriefPowerPanel{value: val, isSet: true} +} + +func (v NullableBriefPowerPanel) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefPowerPanel) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_power_panel_request.go b/model_brief_power_panel_request.go new file mode 100644 index 000000000..eb53205f0 --- /dev/null +++ b/model_brief_power_panel_request.go @@ -0,0 +1,203 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefPowerPanelRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefPowerPanelRequest{} + +// BriefPowerPanelRequest Adds support for custom fields and tags. +type BriefPowerPanelRequest struct { + Name string `json:"name"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefPowerPanelRequest BriefPowerPanelRequest + +// NewBriefPowerPanelRequest instantiates a new BriefPowerPanelRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefPowerPanelRequest(name string) *BriefPowerPanelRequest { + this := BriefPowerPanelRequest{} + this.Name = name + return &this +} + +// NewBriefPowerPanelRequestWithDefaults instantiates a new BriefPowerPanelRequest object +// This 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 NewBriefPowerPanelRequestWithDefaults() *BriefPowerPanelRequest { + this := BriefPowerPanelRequest{} + return &this +} + +// GetName returns the Name field value +func (o *BriefPowerPanelRequest) 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 *BriefPowerPanelRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefPowerPanelRequest) SetName(v string) { + o.Name = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefPowerPanelRequest) 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 *BriefPowerPanelRequest) 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 *BriefPowerPanelRequest) 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 *BriefPowerPanelRequest) SetDescription(v string) { + o.Description = &v +} + +func (o BriefPowerPanelRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefPowerPanelRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["name"] = o.Name + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefPowerPanelRequest) 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) + } + } + + varBriefPowerPanelRequest := _BriefPowerPanelRequest{} + + err = json.Unmarshal(data, &varBriefPowerPanelRequest) + + if err != nil { + return err + } + + *o = BriefPowerPanelRequest(varBriefPowerPanelRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "name") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefPowerPanelRequest struct { + value *BriefPowerPanelRequest + isSet bool +} + +func (v NullableBriefPowerPanelRequest) Get() *BriefPowerPanelRequest { + return v.value +} + +func (v *NullableBriefPowerPanelRequest) Set(val *BriefPowerPanelRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefPowerPanelRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefPowerPanelRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefPowerPanelRequest(val *BriefPowerPanelRequest) *NullableBriefPowerPanelRequest { + return &NullableBriefPowerPanelRequest{value: val, isSet: true} +} + +func (v NullableBriefPowerPanelRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefPowerPanelRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_power_port.go b/model_brief_power_port.go new file mode 100644 index 000000000..956e353bc --- /dev/null +++ b/model_brief_power_port.go @@ -0,0 +1,379 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefPowerPort type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefPowerPort{} + +// BriefPowerPort Adds support for custom fields and tags. +type BriefPowerPort struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + Device BriefDevice `json:"device"` + Name string `json:"name"` + Description *string `json:"description,omitempty"` + Cable NullableBriefCable `json:"cable"` + Occupied bool `json:"_occupied"` + AdditionalProperties map[string]interface{} +} + +type _BriefPowerPort BriefPowerPort + +// NewBriefPowerPort instantiates a new BriefPowerPort object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefPowerPort(id int32, url string, display string, device BriefDevice, name string, cable NullableBriefCable, occupied bool) *BriefPowerPort { + this := BriefPowerPort{} + this.Id = id + this.Url = url + this.Display = display + this.Device = device + this.Name = name + this.Cable = cable + this.Occupied = occupied + return &this +} + +// NewBriefPowerPortWithDefaults instantiates a new BriefPowerPort object +// This 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 NewBriefPowerPortWithDefaults() *BriefPowerPort { + this := BriefPowerPort{} + return &this +} + +// GetId returns the Id field value +func (o *BriefPowerPort) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefPowerPort) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefPowerPort) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefPowerPort) 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 *BriefPowerPort) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefPowerPort) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefPowerPort) 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 *BriefPowerPort) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefPowerPort) SetDisplay(v string) { + o.Display = v +} + +// GetDevice returns the Device field value +func (o *BriefPowerPort) GetDevice() BriefDevice { + if o == nil { + var ret BriefDevice + 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 *BriefPowerPort) GetDeviceOk() (*BriefDevice, bool) { + if o == nil { + return nil, false + } + return &o.Device, true +} + +// SetDevice sets field value +func (o *BriefPowerPort) SetDevice(v BriefDevice) { + o.Device = v +} + +// GetName returns the Name field value +func (o *BriefPowerPort) 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 *BriefPowerPort) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefPowerPort) SetName(v string) { + o.Name = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefPowerPort) 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 *BriefPowerPort) 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 *BriefPowerPort) 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 *BriefPowerPort) SetDescription(v string) { + o.Description = &v +} + +// GetCable returns the Cable field value +// If the value is explicit nil, the zero value for BriefCable will be returned +func (o *BriefPowerPort) GetCable() BriefCable { + if o == nil || o.Cable.Get() == nil { + var ret BriefCable + return ret + } + + return *o.Cable.Get() +} + +// GetCableOk returns a tuple with the Cable 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 *BriefPowerPort) GetCableOk() (*BriefCable, bool) { + if o == nil { + return nil, false + } + return o.Cable.Get(), o.Cable.IsSet() +} + +// SetCable sets field value +func (o *BriefPowerPort) SetCable(v BriefCable) { + o.Cable.Set(&v) +} + +// GetOccupied returns the Occupied field value +func (o *BriefPowerPort) GetOccupied() bool { + if o == nil { + var ret bool + return ret + } + + return o.Occupied +} + +// GetOccupiedOk returns a tuple with the Occupied field value +// and a boolean to check if the value has been set. +func (o *BriefPowerPort) GetOccupiedOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.Occupied, true +} + +// SetOccupied sets field value +func (o *BriefPowerPort) SetOccupied(v bool) { + o.Occupied = v +} + +func (o BriefPowerPort) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefPowerPort) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["device"] = o.Device + toSerialize["name"] = o.Name + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + toSerialize["cable"] = o.Cable.Get() + toSerialize["_occupied"] = o.Occupied + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefPowerPort) 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", + "url", + "display", + "device", + "name", + "cable", + "_occupied", + } + + 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) + } + } + + varBriefPowerPort := _BriefPowerPort{} + + err = json.Unmarshal(data, &varBriefPowerPort) + + if err != nil { + return err + } + + *o = BriefPowerPort(varBriefPowerPort) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "device") + delete(additionalProperties, "name") + delete(additionalProperties, "description") + delete(additionalProperties, "cable") + delete(additionalProperties, "_occupied") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefPowerPort struct { + value *BriefPowerPort + isSet bool +} + +func (v NullableBriefPowerPort) Get() *BriefPowerPort { + return v.value +} + +func (v *NullableBriefPowerPort) Set(val *BriefPowerPort) { + v.value = val + v.isSet = true +} + +func (v NullableBriefPowerPort) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefPowerPort) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefPowerPort(val *BriefPowerPort) *NullableBriefPowerPort { + return &NullableBriefPowerPort{value: val, isSet: true} +} + +func (v NullableBriefPowerPort) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefPowerPort) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_power_port_request.go b/model_brief_power_port_request.go new file mode 100644 index 000000000..9067d7b24 --- /dev/null +++ b/model_brief_power_port_request.go @@ -0,0 +1,232 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefPowerPortRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefPowerPortRequest{} + +// BriefPowerPortRequest Adds support for custom fields and tags. +type BriefPowerPortRequest struct { + Device BriefDeviceRequest `json:"device"` + Name string `json:"name"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefPowerPortRequest BriefPowerPortRequest + +// NewBriefPowerPortRequest instantiates a new BriefPowerPortRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefPowerPortRequest(device BriefDeviceRequest, name string) *BriefPowerPortRequest { + this := BriefPowerPortRequest{} + this.Device = device + this.Name = name + return &this +} + +// NewBriefPowerPortRequestWithDefaults instantiates a new BriefPowerPortRequest object +// This 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 NewBriefPowerPortRequestWithDefaults() *BriefPowerPortRequest { + this := BriefPowerPortRequest{} + return &this +} + +// GetDevice returns the Device field value +func (o *BriefPowerPortRequest) GetDevice() BriefDeviceRequest { + if o == nil { + var ret BriefDeviceRequest + 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 *BriefPowerPortRequest) GetDeviceOk() (*BriefDeviceRequest, bool) { + if o == nil { + return nil, false + } + return &o.Device, true +} + +// SetDevice sets field value +func (o *BriefPowerPortRequest) SetDevice(v BriefDeviceRequest) { + o.Device = v +} + +// GetName returns the Name field value +func (o *BriefPowerPortRequest) 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 *BriefPowerPortRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefPowerPortRequest) SetName(v string) { + o.Name = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefPowerPortRequest) 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 *BriefPowerPortRequest) 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 *BriefPowerPortRequest) 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 *BriefPowerPortRequest) SetDescription(v string) { + o.Description = &v +} + +func (o BriefPowerPortRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefPowerPortRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["device"] = o.Device + toSerialize["name"] = o.Name + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefPowerPortRequest) 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{ + "device", + "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) + } + } + + varBriefPowerPortRequest := _BriefPowerPortRequest{} + + err = json.Unmarshal(data, &varBriefPowerPortRequest) + + if err != nil { + return err + } + + *o = BriefPowerPortRequest(varBriefPowerPortRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "device") + delete(additionalProperties, "name") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefPowerPortRequest struct { + value *BriefPowerPortRequest + isSet bool +} + +func (v NullableBriefPowerPortRequest) Get() *BriefPowerPortRequest { + return v.value +} + +func (v *NullableBriefPowerPortRequest) Set(val *BriefPowerPortRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefPowerPortRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefPowerPortRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefPowerPortRequest(val *BriefPowerPortRequest) *NullableBriefPowerPortRequest { + return &NullableBriefPowerPortRequest{value: val, isSet: true} +} + +func (v NullableBriefPowerPortRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefPowerPortRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_power_port_template.go b/model_brief_power_port_template.go new file mode 100644 index 000000000..1f25c2814 --- /dev/null +++ b/model_brief_power_port_template.go @@ -0,0 +1,291 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefPowerPortTemplate type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefPowerPortTemplate{} + +// BriefPowerPortTemplate Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 BriefPowerPortTemplate struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + // {module} is accepted as a substitution for the module bay position when attached to a module type. + Name string `json:"name"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefPowerPortTemplate BriefPowerPortTemplate + +// NewBriefPowerPortTemplate instantiates a new BriefPowerPortTemplate object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefPowerPortTemplate(id int32, url string, display string, name string) *BriefPowerPortTemplate { + this := BriefPowerPortTemplate{} + this.Id = id + this.Url = url + this.Display = display + this.Name = name + return &this +} + +// NewBriefPowerPortTemplateWithDefaults instantiates a new BriefPowerPortTemplate object +// This 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 NewBriefPowerPortTemplateWithDefaults() *BriefPowerPortTemplate { + this := BriefPowerPortTemplate{} + return &this +} + +// GetId returns the Id field value +func (o *BriefPowerPortTemplate) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefPowerPortTemplate) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefPowerPortTemplate) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefPowerPortTemplate) 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 *BriefPowerPortTemplate) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefPowerPortTemplate) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefPowerPortTemplate) 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 *BriefPowerPortTemplate) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefPowerPortTemplate) SetDisplay(v string) { + o.Display = v +} + +// GetName returns the Name field value +func (o *BriefPowerPortTemplate) 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 *BriefPowerPortTemplate) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefPowerPortTemplate) SetName(v string) { + o.Name = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefPowerPortTemplate) 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 *BriefPowerPortTemplate) 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 *BriefPowerPortTemplate) 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 *BriefPowerPortTemplate) SetDescription(v string) { + o.Description = &v +} + +func (o BriefPowerPortTemplate) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefPowerPortTemplate) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["name"] = o.Name + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefPowerPortTemplate) 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", + "url", + "display", + "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) + } + } + + varBriefPowerPortTemplate := _BriefPowerPortTemplate{} + + err = json.Unmarshal(data, &varBriefPowerPortTemplate) + + if err != nil { + return err + } + + *o = BriefPowerPortTemplate(varBriefPowerPortTemplate) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "name") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefPowerPortTemplate struct { + value *BriefPowerPortTemplate + isSet bool +} + +func (v NullableBriefPowerPortTemplate) Get() *BriefPowerPortTemplate { + return v.value +} + +func (v *NullableBriefPowerPortTemplate) Set(val *BriefPowerPortTemplate) { + v.value = val + v.isSet = true +} + +func (v NullableBriefPowerPortTemplate) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefPowerPortTemplate) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefPowerPortTemplate(val *BriefPowerPortTemplate) *NullableBriefPowerPortTemplate { + return &NullableBriefPowerPortTemplate{value: val, isSet: true} +} + +func (v NullableBriefPowerPortTemplate) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefPowerPortTemplate) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_power_port_template_request.go b/model_brief_power_port_template_request.go new file mode 100644 index 000000000..e214fdefc --- /dev/null +++ b/model_brief_power_port_template_request.go @@ -0,0 +1,204 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefPowerPortTemplateRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefPowerPortTemplateRequest{} + +// BriefPowerPortTemplateRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 BriefPowerPortTemplateRequest struct { + // {module} is accepted as a substitution for the module bay position when attached to a module type. + Name string `json:"name"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefPowerPortTemplateRequest BriefPowerPortTemplateRequest + +// NewBriefPowerPortTemplateRequest instantiates a new BriefPowerPortTemplateRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefPowerPortTemplateRequest(name string) *BriefPowerPortTemplateRequest { + this := BriefPowerPortTemplateRequest{} + this.Name = name + return &this +} + +// NewBriefPowerPortTemplateRequestWithDefaults instantiates a new BriefPowerPortTemplateRequest object +// This 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 NewBriefPowerPortTemplateRequestWithDefaults() *BriefPowerPortTemplateRequest { + this := BriefPowerPortTemplateRequest{} + return &this +} + +// GetName returns the Name field value +func (o *BriefPowerPortTemplateRequest) 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 *BriefPowerPortTemplateRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefPowerPortTemplateRequest) SetName(v string) { + o.Name = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefPowerPortTemplateRequest) 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 *BriefPowerPortTemplateRequest) 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 *BriefPowerPortTemplateRequest) 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 *BriefPowerPortTemplateRequest) SetDescription(v string) { + o.Description = &v +} + +func (o BriefPowerPortTemplateRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefPowerPortTemplateRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["name"] = o.Name + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefPowerPortTemplateRequest) 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) + } + } + + varBriefPowerPortTemplateRequest := _BriefPowerPortTemplateRequest{} + + err = json.Unmarshal(data, &varBriefPowerPortTemplateRequest) + + if err != nil { + return err + } + + *o = BriefPowerPortTemplateRequest(varBriefPowerPortTemplateRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "name") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefPowerPortTemplateRequest struct { + value *BriefPowerPortTemplateRequest + isSet bool +} + +func (v NullableBriefPowerPortTemplateRequest) Get() *BriefPowerPortTemplateRequest { + return v.value +} + +func (v *NullableBriefPowerPortTemplateRequest) Set(val *BriefPowerPortTemplateRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefPowerPortTemplateRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefPowerPortTemplateRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefPowerPortTemplateRequest(val *BriefPowerPortTemplateRequest) *NullableBriefPowerPortTemplateRequest { + return &NullableBriefPowerPortTemplateRequest{value: val, isSet: true} +} + +func (v NullableBriefPowerPortTemplateRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefPowerPortTemplateRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_provider.go b/model_brief_provider.go new file mode 100644 index 000000000..c5b096582 --- /dev/null +++ b/model_brief_provider.go @@ -0,0 +1,349 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefProvider type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefProvider{} + +// BriefProvider Adds support for custom fields and tags. +type BriefProvider struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + // Full name of the provider + Name string `json:"name"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + CircuitCount int64 `json:"circuit_count"` + AdditionalProperties map[string]interface{} +} + +type _BriefProvider BriefProvider + +// NewBriefProvider instantiates a new BriefProvider object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefProvider(id int32, url string, display string, name string, slug string, circuitCount int64) *BriefProvider { + this := BriefProvider{} + this.Id = id + this.Url = url + this.Display = display + this.Name = name + this.Slug = slug + this.CircuitCount = circuitCount + return &this +} + +// NewBriefProviderWithDefaults instantiates a new BriefProvider object +// This 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 NewBriefProviderWithDefaults() *BriefProvider { + this := BriefProvider{} + return &this +} + +// GetId returns the Id field value +func (o *BriefProvider) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefProvider) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefProvider) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefProvider) 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 *BriefProvider) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefProvider) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefProvider) 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 *BriefProvider) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefProvider) SetDisplay(v string) { + o.Display = v +} + +// GetName returns the Name field value +func (o *BriefProvider) 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 *BriefProvider) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefProvider) SetName(v string) { + o.Name = v +} + +// GetSlug returns the Slug field value +func (o *BriefProvider) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *BriefProvider) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *BriefProvider) SetSlug(v string) { + o.Slug = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefProvider) 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 *BriefProvider) 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 *BriefProvider) 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 *BriefProvider) SetDescription(v string) { + o.Description = &v +} + +// GetCircuitCount returns the CircuitCount field value +func (o *BriefProvider) GetCircuitCount() int64 { + if o == nil { + var ret int64 + return ret + } + + return o.CircuitCount +} + +// GetCircuitCountOk returns a tuple with the CircuitCount field value +// and a boolean to check if the value has been set. +func (o *BriefProvider) GetCircuitCountOk() (*int64, bool) { + if o == nil { + return nil, false + } + return &o.CircuitCount, true +} + +// SetCircuitCount sets field value +func (o *BriefProvider) SetCircuitCount(v int64) { + o.CircuitCount = v +} + +func (o BriefProvider) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefProvider) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["name"] = o.Name + toSerialize["slug"] = o.Slug + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + toSerialize["circuit_count"] = o.CircuitCount + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefProvider) 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", + "url", + "display", + "name", + "slug", + "circuit_count", + } + + 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) + } + } + + varBriefProvider := _BriefProvider{} + + err = json.Unmarshal(data, &varBriefProvider) + + if err != nil { + return err + } + + *o = BriefProvider(varBriefProvider) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "name") + delete(additionalProperties, "slug") + delete(additionalProperties, "description") + delete(additionalProperties, "circuit_count") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefProvider struct { + value *BriefProvider + isSet bool +} + +func (v NullableBriefProvider) Get() *BriefProvider { + return v.value +} + +func (v *NullableBriefProvider) Set(val *BriefProvider) { + v.value = val + v.isSet = true +} + +func (v NullableBriefProvider) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefProvider) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefProvider(val *BriefProvider) *NullableBriefProvider { + return &NullableBriefProvider{value: val, isSet: true} +} + +func (v NullableBriefProvider) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefProvider) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_provider_account.go b/model_brief_provider_account.go new file mode 100644 index 000000000..81a9d0616 --- /dev/null +++ b/model_brief_provider_account.go @@ -0,0 +1,331 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefProviderAccount type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefProviderAccount{} + +// BriefProviderAccount Adds support for custom fields and tags. +type BriefProviderAccount struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + Name *string `json:"name,omitempty"` + Account string `json:"account"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefProviderAccount BriefProviderAccount + +// NewBriefProviderAccount instantiates a new BriefProviderAccount object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefProviderAccount(id int32, url string, display string, account string) *BriefProviderAccount { + this := BriefProviderAccount{} + this.Id = id + this.Url = url + this.Display = display + var name string = "" + this.Name = &name + this.Account = account + return &this +} + +// NewBriefProviderAccountWithDefaults instantiates a new BriefProviderAccount object +// This 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 NewBriefProviderAccountWithDefaults() *BriefProviderAccount { + this := BriefProviderAccount{} + var name string = "" + this.Name = &name + return &this +} + +// GetId returns the Id field value +func (o *BriefProviderAccount) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefProviderAccount) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefProviderAccount) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefProviderAccount) 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 *BriefProviderAccount) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefProviderAccount) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefProviderAccount) 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 *BriefProviderAccount) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefProviderAccount) SetDisplay(v string) { + o.Display = v +} + +// GetName returns the Name field value if set, zero value otherwise. +func (o *BriefProviderAccount) 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 *BriefProviderAccount) 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 *BriefProviderAccount) 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 *BriefProviderAccount) SetName(v string) { + o.Name = &v +} + +// GetAccount returns the Account field value +func (o *BriefProviderAccount) GetAccount() string { + if o == nil { + var ret string + return ret + } + + return o.Account +} + +// GetAccountOk returns a tuple with the Account field value +// and a boolean to check if the value has been set. +func (o *BriefProviderAccount) GetAccountOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Account, true +} + +// SetAccount sets field value +func (o *BriefProviderAccount) SetAccount(v string) { + o.Account = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefProviderAccount) 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 *BriefProviderAccount) 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 *BriefProviderAccount) 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 *BriefProviderAccount) SetDescription(v string) { + o.Description = &v +} + +func (o BriefProviderAccount) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefProviderAccount) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + if !IsNil(o.Name) { + toSerialize["name"] = o.Name + } + toSerialize["account"] = o.Account + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefProviderAccount) 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", + "url", + "display", + "account", + } + + 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) + } + } + + varBriefProviderAccount := _BriefProviderAccount{} + + err = json.Unmarshal(data, &varBriefProviderAccount) + + if err != nil { + return err + } + + *o = BriefProviderAccount(varBriefProviderAccount) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "name") + delete(additionalProperties, "account") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefProviderAccount struct { + value *BriefProviderAccount + isSet bool +} + +func (v NullableBriefProviderAccount) Get() *BriefProviderAccount { + return v.value +} + +func (v *NullableBriefProviderAccount) Set(val *BriefProviderAccount) { + v.value = val + v.isSet = true +} + +func (v NullableBriefProviderAccount) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefProviderAccount) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefProviderAccount(val *BriefProviderAccount) *NullableBriefProviderAccount { + return &NullableBriefProviderAccount{value: val, isSet: true} +} + +func (v NullableBriefProviderAccount) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefProviderAccount) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_provider_account_request.go b/model_brief_provider_account_request.go new file mode 100644 index 000000000..d5d6bc5e2 --- /dev/null +++ b/model_brief_provider_account_request.go @@ -0,0 +1,244 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefProviderAccountRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefProviderAccountRequest{} + +// BriefProviderAccountRequest Adds support for custom fields and tags. +type BriefProviderAccountRequest struct { + Name *string `json:"name,omitempty"` + Account string `json:"account"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefProviderAccountRequest BriefProviderAccountRequest + +// NewBriefProviderAccountRequest instantiates a new BriefProviderAccountRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefProviderAccountRequest(account string) *BriefProviderAccountRequest { + this := BriefProviderAccountRequest{} + var name string = "" + this.Name = &name + this.Account = account + return &this +} + +// NewBriefProviderAccountRequestWithDefaults instantiates a new BriefProviderAccountRequest object +// This 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 NewBriefProviderAccountRequestWithDefaults() *BriefProviderAccountRequest { + this := BriefProviderAccountRequest{} + var name string = "" + this.Name = &name + return &this +} + +// GetName returns the Name field value if set, zero value otherwise. +func (o *BriefProviderAccountRequest) 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 *BriefProviderAccountRequest) 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 *BriefProviderAccountRequest) 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 *BriefProviderAccountRequest) SetName(v string) { + o.Name = &v +} + +// GetAccount returns the Account field value +func (o *BriefProviderAccountRequest) GetAccount() string { + if o == nil { + var ret string + return ret + } + + return o.Account +} + +// GetAccountOk returns a tuple with the Account field value +// and a boolean to check if the value has been set. +func (o *BriefProviderAccountRequest) GetAccountOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Account, true +} + +// SetAccount sets field value +func (o *BriefProviderAccountRequest) SetAccount(v string) { + o.Account = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefProviderAccountRequest) 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 *BriefProviderAccountRequest) 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 *BriefProviderAccountRequest) 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 *BriefProviderAccountRequest) SetDescription(v string) { + o.Description = &v +} + +func (o BriefProviderAccountRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefProviderAccountRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Name) { + toSerialize["name"] = o.Name + } + toSerialize["account"] = o.Account + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefProviderAccountRequest) 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{ + "account", + } + + 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) + } + } + + varBriefProviderAccountRequest := _BriefProviderAccountRequest{} + + err = json.Unmarshal(data, &varBriefProviderAccountRequest) + + if err != nil { + return err + } + + *o = BriefProviderAccountRequest(varBriefProviderAccountRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "name") + delete(additionalProperties, "account") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefProviderAccountRequest struct { + value *BriefProviderAccountRequest + isSet bool +} + +func (v NullableBriefProviderAccountRequest) Get() *BriefProviderAccountRequest { + return v.value +} + +func (v *NullableBriefProviderAccountRequest) Set(val *BriefProviderAccountRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefProviderAccountRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefProviderAccountRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefProviderAccountRequest(val *BriefProviderAccountRequest) *NullableBriefProviderAccountRequest { + return &NullableBriefProviderAccountRequest{value: val, isSet: true} +} + +func (v NullableBriefProviderAccountRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefProviderAccountRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_provider_network.go b/model_brief_provider_network.go new file mode 100644 index 000000000..f3db3d3d5 --- /dev/null +++ b/model_brief_provider_network.go @@ -0,0 +1,290 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefProviderNetwork type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefProviderNetwork{} + +// BriefProviderNetwork Adds support for custom fields and tags. +type BriefProviderNetwork struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + Name string `json:"name"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefProviderNetwork BriefProviderNetwork + +// NewBriefProviderNetwork instantiates a new BriefProviderNetwork object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefProviderNetwork(id int32, url string, display string, name string) *BriefProviderNetwork { + this := BriefProviderNetwork{} + this.Id = id + this.Url = url + this.Display = display + this.Name = name + return &this +} + +// NewBriefProviderNetworkWithDefaults instantiates a new BriefProviderNetwork object +// This 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 NewBriefProviderNetworkWithDefaults() *BriefProviderNetwork { + this := BriefProviderNetwork{} + return &this +} + +// GetId returns the Id field value +func (o *BriefProviderNetwork) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefProviderNetwork) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefProviderNetwork) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefProviderNetwork) 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 *BriefProviderNetwork) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefProviderNetwork) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefProviderNetwork) 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 *BriefProviderNetwork) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefProviderNetwork) SetDisplay(v string) { + o.Display = v +} + +// GetName returns the Name field value +func (o *BriefProviderNetwork) 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 *BriefProviderNetwork) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefProviderNetwork) SetName(v string) { + o.Name = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefProviderNetwork) 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 *BriefProviderNetwork) 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 *BriefProviderNetwork) 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 *BriefProviderNetwork) SetDescription(v string) { + o.Description = &v +} + +func (o BriefProviderNetwork) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefProviderNetwork) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["name"] = o.Name + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefProviderNetwork) 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", + "url", + "display", + "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) + } + } + + varBriefProviderNetwork := _BriefProviderNetwork{} + + err = json.Unmarshal(data, &varBriefProviderNetwork) + + if err != nil { + return err + } + + *o = BriefProviderNetwork(varBriefProviderNetwork) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "name") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefProviderNetwork struct { + value *BriefProviderNetwork + isSet bool +} + +func (v NullableBriefProviderNetwork) Get() *BriefProviderNetwork { + return v.value +} + +func (v *NullableBriefProviderNetwork) Set(val *BriefProviderNetwork) { + v.value = val + v.isSet = true +} + +func (v NullableBriefProviderNetwork) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefProviderNetwork) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefProviderNetwork(val *BriefProviderNetwork) *NullableBriefProviderNetwork { + return &NullableBriefProviderNetwork{value: val, isSet: true} +} + +func (v NullableBriefProviderNetwork) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefProviderNetwork) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_provider_network_request.go b/model_brief_provider_network_request.go new file mode 100644 index 000000000..1778b60cf --- /dev/null +++ b/model_brief_provider_network_request.go @@ -0,0 +1,203 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefProviderNetworkRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefProviderNetworkRequest{} + +// BriefProviderNetworkRequest Adds support for custom fields and tags. +type BriefProviderNetworkRequest struct { + Name string `json:"name"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefProviderNetworkRequest BriefProviderNetworkRequest + +// NewBriefProviderNetworkRequest instantiates a new BriefProviderNetworkRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefProviderNetworkRequest(name string) *BriefProviderNetworkRequest { + this := BriefProviderNetworkRequest{} + this.Name = name + return &this +} + +// NewBriefProviderNetworkRequestWithDefaults instantiates a new BriefProviderNetworkRequest object +// This 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 NewBriefProviderNetworkRequestWithDefaults() *BriefProviderNetworkRequest { + this := BriefProviderNetworkRequest{} + return &this +} + +// GetName returns the Name field value +func (o *BriefProviderNetworkRequest) 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 *BriefProviderNetworkRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefProviderNetworkRequest) SetName(v string) { + o.Name = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefProviderNetworkRequest) 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 *BriefProviderNetworkRequest) 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 *BriefProviderNetworkRequest) 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 *BriefProviderNetworkRequest) SetDescription(v string) { + o.Description = &v +} + +func (o BriefProviderNetworkRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefProviderNetworkRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["name"] = o.Name + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefProviderNetworkRequest) 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) + } + } + + varBriefProviderNetworkRequest := _BriefProviderNetworkRequest{} + + err = json.Unmarshal(data, &varBriefProviderNetworkRequest) + + if err != nil { + return err + } + + *o = BriefProviderNetworkRequest(varBriefProviderNetworkRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "name") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefProviderNetworkRequest struct { + value *BriefProviderNetworkRequest + isSet bool +} + +func (v NullableBriefProviderNetworkRequest) Get() *BriefProviderNetworkRequest { + return v.value +} + +func (v *NullableBriefProviderNetworkRequest) Set(val *BriefProviderNetworkRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefProviderNetworkRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefProviderNetworkRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefProviderNetworkRequest(val *BriefProviderNetworkRequest) *NullableBriefProviderNetworkRequest { + return &NullableBriefProviderNetworkRequest{value: val, isSet: true} +} + +func (v NullableBriefProviderNetworkRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefProviderNetworkRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_provider_request.go b/model_brief_provider_request.go new file mode 100644 index 000000000..ad9ddc04f --- /dev/null +++ b/model_brief_provider_request.go @@ -0,0 +1,233 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefProviderRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefProviderRequest{} + +// BriefProviderRequest Adds support for custom fields and tags. +type BriefProviderRequest struct { + // Full name of the provider + Name string `json:"name"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefProviderRequest BriefProviderRequest + +// NewBriefProviderRequest instantiates a new BriefProviderRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefProviderRequest(name string, slug string) *BriefProviderRequest { + this := BriefProviderRequest{} + this.Name = name + this.Slug = slug + return &this +} + +// NewBriefProviderRequestWithDefaults instantiates a new BriefProviderRequest object +// This 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 NewBriefProviderRequestWithDefaults() *BriefProviderRequest { + this := BriefProviderRequest{} + return &this +} + +// GetName returns the Name field value +func (o *BriefProviderRequest) 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 *BriefProviderRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefProviderRequest) SetName(v string) { + o.Name = v +} + +// GetSlug returns the Slug field value +func (o *BriefProviderRequest) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *BriefProviderRequest) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *BriefProviderRequest) SetSlug(v string) { + o.Slug = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefProviderRequest) 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 *BriefProviderRequest) 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 *BriefProviderRequest) 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 *BriefProviderRequest) SetDescription(v string) { + o.Description = &v +} + +func (o BriefProviderRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefProviderRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["name"] = o.Name + toSerialize["slug"] = o.Slug + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefProviderRequest) 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", + "slug", + } + + 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) + } + } + + varBriefProviderRequest := _BriefProviderRequest{} + + err = json.Unmarshal(data, &varBriefProviderRequest) + + if err != nil { + return err + } + + *o = BriefProviderRequest(varBriefProviderRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "name") + delete(additionalProperties, "slug") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefProviderRequest struct { + value *BriefProviderRequest + isSet bool +} + +func (v NullableBriefProviderRequest) Get() *BriefProviderRequest { + return v.value +} + +func (v *NullableBriefProviderRequest) Set(val *BriefProviderRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefProviderRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefProviderRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefProviderRequest(val *BriefProviderRequest) *NullableBriefProviderRequest { + return &NullableBriefProviderRequest{value: val, isSet: true} +} + +func (v NullableBriefProviderRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefProviderRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_rack.go b/model_brief_rack.go new file mode 100644 index 000000000..fa21a4c05 --- /dev/null +++ b/model_brief_rack.go @@ -0,0 +1,327 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefRack type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefRack{} + +// BriefRack Adds support for custom fields and tags. +type BriefRack struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + Name string `json:"name"` + Description *string `json:"description,omitempty"` + DeviceCount *int64 `json:"device_count,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefRack BriefRack + +// NewBriefRack instantiates a new BriefRack object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefRack(id int32, url string, display string, name string) *BriefRack { + this := BriefRack{} + this.Id = id + this.Url = url + this.Display = display + this.Name = name + return &this +} + +// NewBriefRackWithDefaults instantiates a new BriefRack object +// This 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 NewBriefRackWithDefaults() *BriefRack { + this := BriefRack{} + return &this +} + +// GetId returns the Id field value +func (o *BriefRack) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefRack) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefRack) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefRack) 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 *BriefRack) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefRack) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefRack) 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 *BriefRack) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefRack) SetDisplay(v string) { + o.Display = v +} + +// GetName returns the Name field value +func (o *BriefRack) 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 *BriefRack) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefRack) SetName(v string) { + o.Name = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefRack) 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 *BriefRack) 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 *BriefRack) 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 *BriefRack) SetDescription(v string) { + o.Description = &v +} + +// GetDeviceCount returns the DeviceCount field value if set, zero value otherwise. +func (o *BriefRack) GetDeviceCount() int64 { + if o == nil || IsNil(o.DeviceCount) { + var ret int64 + return ret + } + return *o.DeviceCount +} + +// GetDeviceCountOk returns a tuple with the DeviceCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BriefRack) GetDeviceCountOk() (*int64, bool) { + if o == nil || IsNil(o.DeviceCount) { + return nil, false + } + return o.DeviceCount, true +} + +// HasDeviceCount returns a boolean if a field has been set. +func (o *BriefRack) HasDeviceCount() bool { + if o != nil && !IsNil(o.DeviceCount) { + return true + } + + return false +} + +// SetDeviceCount gets a reference to the given int64 and assigns it to the DeviceCount field. +func (o *BriefRack) SetDeviceCount(v int64) { + o.DeviceCount = &v +} + +func (o BriefRack) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefRack) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["name"] = o.Name + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + if !IsNil(o.DeviceCount) { + toSerialize["device_count"] = o.DeviceCount + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefRack) 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", + "url", + "display", + "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) + } + } + + varBriefRack := _BriefRack{} + + err = json.Unmarshal(data, &varBriefRack) + + if err != nil { + return err + } + + *o = BriefRack(varBriefRack) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "name") + delete(additionalProperties, "description") + delete(additionalProperties, "device_count") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefRack struct { + value *BriefRack + isSet bool +} + +func (v NullableBriefRack) Get() *BriefRack { + return v.value +} + +func (v *NullableBriefRack) Set(val *BriefRack) { + v.value = val + v.isSet = true +} + +func (v NullableBriefRack) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefRack) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefRack(val *BriefRack) *NullableBriefRack { + return &NullableBriefRack{value: val, isSet: true} +} + +func (v NullableBriefRack) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefRack) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_rack_request.go b/model_brief_rack_request.go new file mode 100644 index 000000000..95e67545a --- /dev/null +++ b/model_brief_rack_request.go @@ -0,0 +1,203 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefRackRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefRackRequest{} + +// BriefRackRequest Adds support for custom fields and tags. +type BriefRackRequest struct { + Name string `json:"name"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefRackRequest BriefRackRequest + +// NewBriefRackRequest instantiates a new BriefRackRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefRackRequest(name string) *BriefRackRequest { + this := BriefRackRequest{} + this.Name = name + return &this +} + +// NewBriefRackRequestWithDefaults instantiates a new BriefRackRequest object +// This 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 NewBriefRackRequestWithDefaults() *BriefRackRequest { + this := BriefRackRequest{} + return &this +} + +// GetName returns the Name field value +func (o *BriefRackRequest) 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 *BriefRackRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefRackRequest) SetName(v string) { + o.Name = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefRackRequest) 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 *BriefRackRequest) 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 *BriefRackRequest) 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 *BriefRackRequest) SetDescription(v string) { + o.Description = &v +} + +func (o BriefRackRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefRackRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["name"] = o.Name + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefRackRequest) 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) + } + } + + varBriefRackRequest := _BriefRackRequest{} + + err = json.Unmarshal(data, &varBriefRackRequest) + + if err != nil { + return err + } + + *o = BriefRackRequest(varBriefRackRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "name") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefRackRequest struct { + value *BriefRackRequest + isSet bool +} + +func (v NullableBriefRackRequest) Get() *BriefRackRequest { + return v.value +} + +func (v *NullableBriefRackRequest) Set(val *BriefRackRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefRackRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefRackRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefRackRequest(val *BriefRackRequest) *NullableBriefRackRequest { + return &NullableBriefRackRequest{value: val, isSet: true} +} + +func (v NullableBriefRackRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefRackRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_rack_role.go b/model_brief_rack_role.go new file mode 100644 index 000000000..fd5ed1fc0 --- /dev/null +++ b/model_brief_rack_role.go @@ -0,0 +1,348 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefRackRole type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefRackRole{} + +// BriefRackRole Adds support for custom fields and tags. +type BriefRackRole struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + Name string `json:"name"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + RackCount int64 `json:"rack_count"` + AdditionalProperties map[string]interface{} +} + +type _BriefRackRole BriefRackRole + +// NewBriefRackRole instantiates a new BriefRackRole object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefRackRole(id int32, url string, display string, name string, slug string, rackCount int64) *BriefRackRole { + this := BriefRackRole{} + this.Id = id + this.Url = url + this.Display = display + this.Name = name + this.Slug = slug + this.RackCount = rackCount + return &this +} + +// NewBriefRackRoleWithDefaults instantiates a new BriefRackRole object +// This 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 NewBriefRackRoleWithDefaults() *BriefRackRole { + this := BriefRackRole{} + return &this +} + +// GetId returns the Id field value +func (o *BriefRackRole) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefRackRole) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefRackRole) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefRackRole) 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 *BriefRackRole) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefRackRole) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefRackRole) 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 *BriefRackRole) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefRackRole) SetDisplay(v string) { + o.Display = v +} + +// GetName returns the Name field value +func (o *BriefRackRole) 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 *BriefRackRole) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefRackRole) SetName(v string) { + o.Name = v +} + +// GetSlug returns the Slug field value +func (o *BriefRackRole) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *BriefRackRole) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *BriefRackRole) SetSlug(v string) { + o.Slug = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefRackRole) 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 *BriefRackRole) 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 *BriefRackRole) 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 *BriefRackRole) SetDescription(v string) { + o.Description = &v +} + +// GetRackCount returns the RackCount field value +func (o *BriefRackRole) GetRackCount() int64 { + if o == nil { + var ret int64 + return ret + } + + return o.RackCount +} + +// GetRackCountOk returns a tuple with the RackCount field value +// and a boolean to check if the value has been set. +func (o *BriefRackRole) GetRackCountOk() (*int64, bool) { + if o == nil { + return nil, false + } + return &o.RackCount, true +} + +// SetRackCount sets field value +func (o *BriefRackRole) SetRackCount(v int64) { + o.RackCount = v +} + +func (o BriefRackRole) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefRackRole) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["name"] = o.Name + toSerialize["slug"] = o.Slug + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + toSerialize["rack_count"] = o.RackCount + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefRackRole) 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", + "url", + "display", + "name", + "slug", + "rack_count", + } + + 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) + } + } + + varBriefRackRole := _BriefRackRole{} + + err = json.Unmarshal(data, &varBriefRackRole) + + if err != nil { + return err + } + + *o = BriefRackRole(varBriefRackRole) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "name") + delete(additionalProperties, "slug") + delete(additionalProperties, "description") + delete(additionalProperties, "rack_count") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefRackRole struct { + value *BriefRackRole + isSet bool +} + +func (v NullableBriefRackRole) Get() *BriefRackRole { + return v.value +} + +func (v *NullableBriefRackRole) Set(val *BriefRackRole) { + v.value = val + v.isSet = true +} + +func (v NullableBriefRackRole) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefRackRole) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefRackRole(val *BriefRackRole) *NullableBriefRackRole { + return &NullableBriefRackRole{value: val, isSet: true} +} + +func (v NullableBriefRackRole) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefRackRole) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_rack_role_request.go b/model_brief_rack_role_request.go new file mode 100644 index 000000000..c00094195 --- /dev/null +++ b/model_brief_rack_role_request.go @@ -0,0 +1,232 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefRackRoleRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefRackRoleRequest{} + +// BriefRackRoleRequest Adds support for custom fields and tags. +type BriefRackRoleRequest struct { + Name string `json:"name"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefRackRoleRequest BriefRackRoleRequest + +// NewBriefRackRoleRequest instantiates a new BriefRackRoleRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefRackRoleRequest(name string, slug string) *BriefRackRoleRequest { + this := BriefRackRoleRequest{} + this.Name = name + this.Slug = slug + return &this +} + +// NewBriefRackRoleRequestWithDefaults instantiates a new BriefRackRoleRequest object +// This 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 NewBriefRackRoleRequestWithDefaults() *BriefRackRoleRequest { + this := BriefRackRoleRequest{} + return &this +} + +// GetName returns the Name field value +func (o *BriefRackRoleRequest) 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 *BriefRackRoleRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefRackRoleRequest) SetName(v string) { + o.Name = v +} + +// GetSlug returns the Slug field value +func (o *BriefRackRoleRequest) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *BriefRackRoleRequest) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *BriefRackRoleRequest) SetSlug(v string) { + o.Slug = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefRackRoleRequest) 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 *BriefRackRoleRequest) 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 *BriefRackRoleRequest) 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 *BriefRackRoleRequest) SetDescription(v string) { + o.Description = &v +} + +func (o BriefRackRoleRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefRackRoleRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["name"] = o.Name + toSerialize["slug"] = o.Slug + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefRackRoleRequest) 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", + "slug", + } + + 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) + } + } + + varBriefRackRoleRequest := _BriefRackRoleRequest{} + + err = json.Unmarshal(data, &varBriefRackRoleRequest) + + if err != nil { + return err + } + + *o = BriefRackRoleRequest(varBriefRackRoleRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "name") + delete(additionalProperties, "slug") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefRackRoleRequest struct { + value *BriefRackRoleRequest + isSet bool +} + +func (v NullableBriefRackRoleRequest) Get() *BriefRackRoleRequest { + return v.value +} + +func (v *NullableBriefRackRoleRequest) Set(val *BriefRackRoleRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefRackRoleRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefRackRoleRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefRackRoleRequest(val *BriefRackRoleRequest) *NullableBriefRackRoleRequest { + return &NullableBriefRackRoleRequest{value: val, isSet: true} +} + +func (v NullableBriefRackRoleRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefRackRoleRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_rack_type.go b/model_brief_rack_type.go new file mode 100644 index 000000000..21bdce583 --- /dev/null +++ b/model_brief_rack_type.go @@ -0,0 +1,348 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefRackType type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefRackType{} + +// BriefRackType Adds support for custom fields and tags. +type BriefRackType struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + Manufacturer BriefManufacturer `json:"manufacturer"` + Model string `json:"model"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefRackType BriefRackType + +// NewBriefRackType instantiates a new BriefRackType object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefRackType(id int32, url string, display string, manufacturer BriefManufacturer, model string, slug string) *BriefRackType { + this := BriefRackType{} + this.Id = id + this.Url = url + this.Display = display + this.Manufacturer = manufacturer + this.Model = model + this.Slug = slug + return &this +} + +// NewBriefRackTypeWithDefaults instantiates a new BriefRackType object +// This 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 NewBriefRackTypeWithDefaults() *BriefRackType { + this := BriefRackType{} + return &this +} + +// GetId returns the Id field value +func (o *BriefRackType) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefRackType) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefRackType) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefRackType) 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 *BriefRackType) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefRackType) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefRackType) 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 *BriefRackType) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefRackType) SetDisplay(v string) { + o.Display = v +} + +// GetManufacturer returns the Manufacturer field value +func (o *BriefRackType) GetManufacturer() BriefManufacturer { + if o == nil { + var ret BriefManufacturer + return ret + } + + return o.Manufacturer +} + +// GetManufacturerOk returns a tuple with the Manufacturer field value +// and a boolean to check if the value has been set. +func (o *BriefRackType) GetManufacturerOk() (*BriefManufacturer, bool) { + if o == nil { + return nil, false + } + return &o.Manufacturer, true +} + +// SetManufacturer sets field value +func (o *BriefRackType) SetManufacturer(v BriefManufacturer) { + o.Manufacturer = v +} + +// GetModel returns the Model field value +func (o *BriefRackType) GetModel() string { + if o == nil { + var ret string + return ret + } + + return o.Model +} + +// GetModelOk returns a tuple with the Model field value +// and a boolean to check if the value has been set. +func (o *BriefRackType) GetModelOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Model, true +} + +// SetModel sets field value +func (o *BriefRackType) SetModel(v string) { + o.Model = v +} + +// GetSlug returns the Slug field value +func (o *BriefRackType) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *BriefRackType) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *BriefRackType) SetSlug(v string) { + o.Slug = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefRackType) 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 *BriefRackType) 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 *BriefRackType) 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 *BriefRackType) SetDescription(v string) { + o.Description = &v +} + +func (o BriefRackType) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefRackType) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["manufacturer"] = o.Manufacturer + toSerialize["model"] = o.Model + toSerialize["slug"] = o.Slug + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefRackType) 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", + "url", + "display", + "manufacturer", + "model", + "slug", + } + + 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) + } + } + + varBriefRackType := _BriefRackType{} + + err = json.Unmarshal(data, &varBriefRackType) + + if err != nil { + return err + } + + *o = BriefRackType(varBriefRackType) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "manufacturer") + delete(additionalProperties, "model") + delete(additionalProperties, "slug") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefRackType struct { + value *BriefRackType + isSet bool +} + +func (v NullableBriefRackType) Get() *BriefRackType { + return v.value +} + +func (v *NullableBriefRackType) Set(val *BriefRackType) { + v.value = val + v.isSet = true +} + +func (v NullableBriefRackType) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefRackType) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefRackType(val *BriefRackType) *NullableBriefRackType { + return &NullableBriefRackType{value: val, isSet: true} +} + +func (v NullableBriefRackType) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefRackType) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_rack_type_request.go b/model_brief_rack_type_request.go new file mode 100644 index 000000000..244254546 --- /dev/null +++ b/model_brief_rack_type_request.go @@ -0,0 +1,261 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefRackTypeRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefRackTypeRequest{} + +// BriefRackTypeRequest Adds support for custom fields and tags. +type BriefRackTypeRequest struct { + Manufacturer BriefManufacturerRequest `json:"manufacturer"` + Model string `json:"model"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefRackTypeRequest BriefRackTypeRequest + +// NewBriefRackTypeRequest instantiates a new BriefRackTypeRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefRackTypeRequest(manufacturer BriefManufacturerRequest, model string, slug string) *BriefRackTypeRequest { + this := BriefRackTypeRequest{} + this.Manufacturer = manufacturer + this.Model = model + this.Slug = slug + return &this +} + +// NewBriefRackTypeRequestWithDefaults instantiates a new BriefRackTypeRequest object +// This 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 NewBriefRackTypeRequestWithDefaults() *BriefRackTypeRequest { + this := BriefRackTypeRequest{} + return &this +} + +// GetManufacturer returns the Manufacturer field value +func (o *BriefRackTypeRequest) GetManufacturer() BriefManufacturerRequest { + if o == nil { + var ret BriefManufacturerRequest + return ret + } + + return o.Manufacturer +} + +// GetManufacturerOk returns a tuple with the Manufacturer field value +// and a boolean to check if the value has been set. +func (o *BriefRackTypeRequest) GetManufacturerOk() (*BriefManufacturerRequest, bool) { + if o == nil { + return nil, false + } + return &o.Manufacturer, true +} + +// SetManufacturer sets field value +func (o *BriefRackTypeRequest) SetManufacturer(v BriefManufacturerRequest) { + o.Manufacturer = v +} + +// GetModel returns the Model field value +func (o *BriefRackTypeRequest) GetModel() string { + if o == nil { + var ret string + return ret + } + + return o.Model +} + +// GetModelOk returns a tuple with the Model field value +// and a boolean to check if the value has been set. +func (o *BriefRackTypeRequest) GetModelOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Model, true +} + +// SetModel sets field value +func (o *BriefRackTypeRequest) SetModel(v string) { + o.Model = v +} + +// GetSlug returns the Slug field value +func (o *BriefRackTypeRequest) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *BriefRackTypeRequest) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *BriefRackTypeRequest) SetSlug(v string) { + o.Slug = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefRackTypeRequest) 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 *BriefRackTypeRequest) 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 *BriefRackTypeRequest) 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 *BriefRackTypeRequest) SetDescription(v string) { + o.Description = &v +} + +func (o BriefRackTypeRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefRackTypeRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["manufacturer"] = o.Manufacturer + toSerialize["model"] = o.Model + toSerialize["slug"] = o.Slug + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefRackTypeRequest) 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{ + "manufacturer", + "model", + "slug", + } + + 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) + } + } + + varBriefRackTypeRequest := _BriefRackTypeRequest{} + + err = json.Unmarshal(data, &varBriefRackTypeRequest) + + if err != nil { + return err + } + + *o = BriefRackTypeRequest(varBriefRackTypeRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "manufacturer") + delete(additionalProperties, "model") + delete(additionalProperties, "slug") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefRackTypeRequest struct { + value *BriefRackTypeRequest + isSet bool +} + +func (v NullableBriefRackTypeRequest) Get() *BriefRackTypeRequest { + return v.value +} + +func (v *NullableBriefRackTypeRequest) Set(val *BriefRackTypeRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefRackTypeRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefRackTypeRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefRackTypeRequest(val *BriefRackTypeRequest) *NullableBriefRackTypeRequest { + return &NullableBriefRackTypeRequest{value: val, isSet: true} +} + +func (v NullableBriefRackTypeRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefRackTypeRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_rear_port_template.go b/model_brief_rear_port_template.go new file mode 100644 index 000000000..8f6f0ba3e --- /dev/null +++ b/model_brief_rear_port_template.go @@ -0,0 +1,291 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefRearPortTemplate type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefRearPortTemplate{} + +// BriefRearPortTemplate Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 BriefRearPortTemplate struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + // {module} is accepted as a substitution for the module bay position when attached to a module type. + Name string `json:"name"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefRearPortTemplate BriefRearPortTemplate + +// NewBriefRearPortTemplate instantiates a new BriefRearPortTemplate object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefRearPortTemplate(id int32, url string, display string, name string) *BriefRearPortTemplate { + this := BriefRearPortTemplate{} + this.Id = id + this.Url = url + this.Display = display + this.Name = name + return &this +} + +// NewBriefRearPortTemplateWithDefaults instantiates a new BriefRearPortTemplate object +// This 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 NewBriefRearPortTemplateWithDefaults() *BriefRearPortTemplate { + this := BriefRearPortTemplate{} + return &this +} + +// GetId returns the Id field value +func (o *BriefRearPortTemplate) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefRearPortTemplate) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefRearPortTemplate) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefRearPortTemplate) 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 *BriefRearPortTemplate) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefRearPortTemplate) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefRearPortTemplate) 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 *BriefRearPortTemplate) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefRearPortTemplate) SetDisplay(v string) { + o.Display = v +} + +// GetName returns the Name field value +func (o *BriefRearPortTemplate) 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 *BriefRearPortTemplate) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefRearPortTemplate) SetName(v string) { + o.Name = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefRearPortTemplate) 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 *BriefRearPortTemplate) 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 *BriefRearPortTemplate) 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 *BriefRearPortTemplate) SetDescription(v string) { + o.Description = &v +} + +func (o BriefRearPortTemplate) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefRearPortTemplate) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["name"] = o.Name + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefRearPortTemplate) 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", + "url", + "display", + "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) + } + } + + varBriefRearPortTemplate := _BriefRearPortTemplate{} + + err = json.Unmarshal(data, &varBriefRearPortTemplate) + + if err != nil { + return err + } + + *o = BriefRearPortTemplate(varBriefRearPortTemplate) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "name") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefRearPortTemplate struct { + value *BriefRearPortTemplate + isSet bool +} + +func (v NullableBriefRearPortTemplate) Get() *BriefRearPortTemplate { + return v.value +} + +func (v *NullableBriefRearPortTemplate) Set(val *BriefRearPortTemplate) { + v.value = val + v.isSet = true +} + +func (v NullableBriefRearPortTemplate) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefRearPortTemplate) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefRearPortTemplate(val *BriefRearPortTemplate) *NullableBriefRearPortTemplate { + return &NullableBriefRearPortTemplate{value: val, isSet: true} +} + +func (v NullableBriefRearPortTemplate) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefRearPortTemplate) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_rear_port_template_request.go b/model_brief_rear_port_template_request.go new file mode 100644 index 000000000..5dcc5f3b2 --- /dev/null +++ b/model_brief_rear_port_template_request.go @@ -0,0 +1,204 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefRearPortTemplateRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefRearPortTemplateRequest{} + +// BriefRearPortTemplateRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 BriefRearPortTemplateRequest struct { + // {module} is accepted as a substitution for the module bay position when attached to a module type. + Name string `json:"name"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefRearPortTemplateRequest BriefRearPortTemplateRequest + +// NewBriefRearPortTemplateRequest instantiates a new BriefRearPortTemplateRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefRearPortTemplateRequest(name string) *BriefRearPortTemplateRequest { + this := BriefRearPortTemplateRequest{} + this.Name = name + return &this +} + +// NewBriefRearPortTemplateRequestWithDefaults instantiates a new BriefRearPortTemplateRequest object +// This 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 NewBriefRearPortTemplateRequestWithDefaults() *BriefRearPortTemplateRequest { + this := BriefRearPortTemplateRequest{} + return &this +} + +// GetName returns the Name field value +func (o *BriefRearPortTemplateRequest) 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 *BriefRearPortTemplateRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefRearPortTemplateRequest) SetName(v string) { + o.Name = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefRearPortTemplateRequest) 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 *BriefRearPortTemplateRequest) 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 *BriefRearPortTemplateRequest) 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 *BriefRearPortTemplateRequest) SetDescription(v string) { + o.Description = &v +} + +func (o BriefRearPortTemplateRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefRearPortTemplateRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["name"] = o.Name + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefRearPortTemplateRequest) 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) + } + } + + varBriefRearPortTemplateRequest := _BriefRearPortTemplateRequest{} + + err = json.Unmarshal(data, &varBriefRearPortTemplateRequest) + + if err != nil { + return err + } + + *o = BriefRearPortTemplateRequest(varBriefRearPortTemplateRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "name") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefRearPortTemplateRequest struct { + value *BriefRearPortTemplateRequest + isSet bool +} + +func (v NullableBriefRearPortTemplateRequest) Get() *BriefRearPortTemplateRequest { + return v.value +} + +func (v *NullableBriefRearPortTemplateRequest) Set(val *BriefRearPortTemplateRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefRearPortTemplateRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefRearPortTemplateRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefRearPortTemplateRequest(val *BriefRearPortTemplateRequest) *NullableBriefRearPortTemplateRequest { + return &NullableBriefRearPortTemplateRequest{value: val, isSet: true} +} + +func (v NullableBriefRearPortTemplateRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefRearPortTemplateRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_region.go b/model_brief_region.go new file mode 100644 index 000000000..add6b1d16 --- /dev/null +++ b/model_brief_region.go @@ -0,0 +1,377 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefRegion type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefRegion{} + +// BriefRegion Extends PrimaryModelSerializer to include MPTT support. +type BriefRegion struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + Name string `json:"name"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + SiteCount int32 `json:"site_count"` + Depth int32 `json:"_depth"` + AdditionalProperties map[string]interface{} +} + +type _BriefRegion BriefRegion + +// NewBriefRegion instantiates a new BriefRegion object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefRegion(id int32, url string, display string, name string, slug string, siteCount int32, depth int32) *BriefRegion { + this := BriefRegion{} + this.Id = id + this.Url = url + this.Display = display + this.Name = name + this.Slug = slug + this.SiteCount = siteCount + this.Depth = depth + return &this +} + +// NewBriefRegionWithDefaults instantiates a new BriefRegion object +// This 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 NewBriefRegionWithDefaults() *BriefRegion { + this := BriefRegion{} + return &this +} + +// GetId returns the Id field value +func (o *BriefRegion) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefRegion) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefRegion) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefRegion) 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 *BriefRegion) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefRegion) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefRegion) 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 *BriefRegion) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefRegion) SetDisplay(v string) { + o.Display = v +} + +// GetName returns the Name field value +func (o *BriefRegion) 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 *BriefRegion) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefRegion) SetName(v string) { + o.Name = v +} + +// GetSlug returns the Slug field value +func (o *BriefRegion) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *BriefRegion) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *BriefRegion) SetSlug(v string) { + o.Slug = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefRegion) 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 *BriefRegion) 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 *BriefRegion) 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 *BriefRegion) SetDescription(v string) { + o.Description = &v +} + +// GetSiteCount returns the SiteCount field value +func (o *BriefRegion) GetSiteCount() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.SiteCount +} + +// GetSiteCountOk returns a tuple with the SiteCount field value +// and a boolean to check if the value has been set. +func (o *BriefRegion) GetSiteCountOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.SiteCount, true +} + +// SetSiteCount sets field value +func (o *BriefRegion) SetSiteCount(v int32) { + o.SiteCount = v +} + +// GetDepth returns the Depth field value +func (o *BriefRegion) GetDepth() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Depth +} + +// GetDepthOk returns a tuple with the Depth field value +// and a boolean to check if the value has been set. +func (o *BriefRegion) GetDepthOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Depth, true +} + +// SetDepth sets field value +func (o *BriefRegion) SetDepth(v int32) { + o.Depth = v +} + +func (o BriefRegion) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefRegion) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["name"] = o.Name + toSerialize["slug"] = o.Slug + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + toSerialize["site_count"] = o.SiteCount + toSerialize["_depth"] = o.Depth + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefRegion) 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", + "url", + "display", + "name", + "slug", + "site_count", + "_depth", + } + + 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) + } + } + + varBriefRegion := _BriefRegion{} + + err = json.Unmarshal(data, &varBriefRegion) + + if err != nil { + return err + } + + *o = BriefRegion(varBriefRegion) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "name") + delete(additionalProperties, "slug") + delete(additionalProperties, "description") + delete(additionalProperties, "site_count") + delete(additionalProperties, "_depth") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefRegion struct { + value *BriefRegion + isSet bool +} + +func (v NullableBriefRegion) Get() *BriefRegion { + return v.value +} + +func (v *NullableBriefRegion) Set(val *BriefRegion) { + v.value = val + v.isSet = true +} + +func (v NullableBriefRegion) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefRegion) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefRegion(val *BriefRegion) *NullableBriefRegion { + return &NullableBriefRegion{value: val, isSet: true} +} + +func (v NullableBriefRegion) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefRegion) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_region_request.go b/model_brief_region_request.go new file mode 100644 index 000000000..b732db5fc --- /dev/null +++ b/model_brief_region_request.go @@ -0,0 +1,232 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefRegionRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefRegionRequest{} + +// BriefRegionRequest Extends PrimaryModelSerializer to include MPTT support. +type BriefRegionRequest struct { + Name string `json:"name"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefRegionRequest BriefRegionRequest + +// NewBriefRegionRequest instantiates a new BriefRegionRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefRegionRequest(name string, slug string) *BriefRegionRequest { + this := BriefRegionRequest{} + this.Name = name + this.Slug = slug + return &this +} + +// NewBriefRegionRequestWithDefaults instantiates a new BriefRegionRequest object +// This 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 NewBriefRegionRequestWithDefaults() *BriefRegionRequest { + this := BriefRegionRequest{} + return &this +} + +// GetName returns the Name field value +func (o *BriefRegionRequest) 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 *BriefRegionRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefRegionRequest) SetName(v string) { + o.Name = v +} + +// GetSlug returns the Slug field value +func (o *BriefRegionRequest) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *BriefRegionRequest) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *BriefRegionRequest) SetSlug(v string) { + o.Slug = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefRegionRequest) 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 *BriefRegionRequest) 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 *BriefRegionRequest) 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 *BriefRegionRequest) SetDescription(v string) { + o.Description = &v +} + +func (o BriefRegionRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefRegionRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["name"] = o.Name + toSerialize["slug"] = o.Slug + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefRegionRequest) 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", + "slug", + } + + 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) + } + } + + varBriefRegionRequest := _BriefRegionRequest{} + + err = json.Unmarshal(data, &varBriefRegionRequest) + + if err != nil { + return err + } + + *o = BriefRegionRequest(varBriefRegionRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "name") + delete(additionalProperties, "slug") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefRegionRequest struct { + value *BriefRegionRequest + isSet bool +} + +func (v NullableBriefRegionRequest) Get() *BriefRegionRequest { + return v.value +} + +func (v *NullableBriefRegionRequest) Set(val *BriefRegionRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefRegionRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefRegionRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefRegionRequest(val *BriefRegionRequest) *NullableBriefRegionRequest { + return &NullableBriefRegionRequest{value: val, isSet: true} +} + +func (v NullableBriefRegionRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefRegionRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_rir.go b/model_brief_rir.go new file mode 100644 index 000000000..eee926c39 --- /dev/null +++ b/model_brief_rir.go @@ -0,0 +1,348 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefRIR type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefRIR{} + +// BriefRIR Adds support for custom fields and tags. +type BriefRIR struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + Name string `json:"name"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + AggregateCount int64 `json:"aggregate_count"` + AdditionalProperties map[string]interface{} +} + +type _BriefRIR BriefRIR + +// NewBriefRIR instantiates a new BriefRIR object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefRIR(id int32, url string, display string, name string, slug string, aggregateCount int64) *BriefRIR { + this := BriefRIR{} + this.Id = id + this.Url = url + this.Display = display + this.Name = name + this.Slug = slug + this.AggregateCount = aggregateCount + return &this +} + +// NewBriefRIRWithDefaults instantiates a new BriefRIR object +// This 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 NewBriefRIRWithDefaults() *BriefRIR { + this := BriefRIR{} + return &this +} + +// GetId returns the Id field value +func (o *BriefRIR) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefRIR) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefRIR) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefRIR) 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 *BriefRIR) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefRIR) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefRIR) 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 *BriefRIR) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefRIR) SetDisplay(v string) { + o.Display = v +} + +// GetName returns the Name field value +func (o *BriefRIR) 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 *BriefRIR) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefRIR) SetName(v string) { + o.Name = v +} + +// GetSlug returns the Slug field value +func (o *BriefRIR) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *BriefRIR) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *BriefRIR) SetSlug(v string) { + o.Slug = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefRIR) 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 *BriefRIR) 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 *BriefRIR) 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 *BriefRIR) SetDescription(v string) { + o.Description = &v +} + +// GetAggregateCount returns the AggregateCount field value +func (o *BriefRIR) GetAggregateCount() int64 { + if o == nil { + var ret int64 + return ret + } + + return o.AggregateCount +} + +// GetAggregateCountOk returns a tuple with the AggregateCount field value +// and a boolean to check if the value has been set. +func (o *BriefRIR) GetAggregateCountOk() (*int64, bool) { + if o == nil { + return nil, false + } + return &o.AggregateCount, true +} + +// SetAggregateCount sets field value +func (o *BriefRIR) SetAggregateCount(v int64) { + o.AggregateCount = v +} + +func (o BriefRIR) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefRIR) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["name"] = o.Name + toSerialize["slug"] = o.Slug + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + toSerialize["aggregate_count"] = o.AggregateCount + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefRIR) 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", + "url", + "display", + "name", + "slug", + "aggregate_count", + } + + 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) + } + } + + varBriefRIR := _BriefRIR{} + + err = json.Unmarshal(data, &varBriefRIR) + + if err != nil { + return err + } + + *o = BriefRIR(varBriefRIR) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "name") + delete(additionalProperties, "slug") + delete(additionalProperties, "description") + delete(additionalProperties, "aggregate_count") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefRIR struct { + value *BriefRIR + isSet bool +} + +func (v NullableBriefRIR) Get() *BriefRIR { + return v.value +} + +func (v *NullableBriefRIR) Set(val *BriefRIR) { + v.value = val + v.isSet = true +} + +func (v NullableBriefRIR) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefRIR) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefRIR(val *BriefRIR) *NullableBriefRIR { + return &NullableBriefRIR{value: val, isSet: true} +} + +func (v NullableBriefRIR) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefRIR) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_rir_request.go b/model_brief_rir_request.go new file mode 100644 index 000000000..edc3ae151 --- /dev/null +++ b/model_brief_rir_request.go @@ -0,0 +1,232 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefRIRRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefRIRRequest{} + +// BriefRIRRequest Adds support for custom fields and tags. +type BriefRIRRequest struct { + Name string `json:"name"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefRIRRequest BriefRIRRequest + +// NewBriefRIRRequest instantiates a new BriefRIRRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefRIRRequest(name string, slug string) *BriefRIRRequest { + this := BriefRIRRequest{} + this.Name = name + this.Slug = slug + return &this +} + +// NewBriefRIRRequestWithDefaults instantiates a new BriefRIRRequest object +// This 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 NewBriefRIRRequestWithDefaults() *BriefRIRRequest { + this := BriefRIRRequest{} + return &this +} + +// GetName returns the Name field value +func (o *BriefRIRRequest) 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 *BriefRIRRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefRIRRequest) SetName(v string) { + o.Name = v +} + +// GetSlug returns the Slug field value +func (o *BriefRIRRequest) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *BriefRIRRequest) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *BriefRIRRequest) SetSlug(v string) { + o.Slug = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefRIRRequest) 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 *BriefRIRRequest) 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 *BriefRIRRequest) 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 *BriefRIRRequest) SetDescription(v string) { + o.Description = &v +} + +func (o BriefRIRRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefRIRRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["name"] = o.Name + toSerialize["slug"] = o.Slug + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefRIRRequest) 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", + "slug", + } + + 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) + } + } + + varBriefRIRRequest := _BriefRIRRequest{} + + err = json.Unmarshal(data, &varBriefRIRRequest) + + if err != nil { + return err + } + + *o = BriefRIRRequest(varBriefRIRRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "name") + delete(additionalProperties, "slug") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefRIRRequest struct { + value *BriefRIRRequest + isSet bool +} + +func (v NullableBriefRIRRequest) Get() *BriefRIRRequest { + return v.value +} + +func (v *NullableBriefRIRRequest) Set(val *BriefRIRRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefRIRRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefRIRRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefRIRRequest(val *BriefRIRRequest) *NullableBriefRIRRequest { + return &NullableBriefRIRRequest{value: val, isSet: true} +} + +func (v NullableBriefRIRRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefRIRRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_role.go b/model_brief_role.go new file mode 100644 index 000000000..07fc53f60 --- /dev/null +++ b/model_brief_role.go @@ -0,0 +1,393 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefRole type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefRole{} + +// BriefRole Adds support for custom fields and tags. +type BriefRole struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + Name string `json:"name"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + PrefixCount *int64 `json:"prefix_count,omitempty"` + VlanCount *int64 `json:"vlan_count,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefRole BriefRole + +// NewBriefRole instantiates a new BriefRole object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefRole(id int32, url string, display string, name string, slug string) *BriefRole { + this := BriefRole{} + this.Id = id + this.Url = url + this.Display = display + this.Name = name + this.Slug = slug + return &this +} + +// NewBriefRoleWithDefaults instantiates a new BriefRole object +// This 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 NewBriefRoleWithDefaults() *BriefRole { + this := BriefRole{} + return &this +} + +// GetId returns the Id field value +func (o *BriefRole) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefRole) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefRole) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefRole) 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 *BriefRole) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefRole) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefRole) 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 *BriefRole) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefRole) SetDisplay(v string) { + o.Display = v +} + +// GetName returns the Name field value +func (o *BriefRole) 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 *BriefRole) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefRole) SetName(v string) { + o.Name = v +} + +// GetSlug returns the Slug field value +func (o *BriefRole) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *BriefRole) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *BriefRole) SetSlug(v string) { + o.Slug = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefRole) 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 *BriefRole) 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 *BriefRole) 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 *BriefRole) SetDescription(v string) { + o.Description = &v +} + +// GetPrefixCount returns the PrefixCount field value if set, zero value otherwise. +func (o *BriefRole) GetPrefixCount() int64 { + if o == nil || IsNil(o.PrefixCount) { + var ret int64 + return ret + } + return *o.PrefixCount +} + +// GetPrefixCountOk returns a tuple with the PrefixCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BriefRole) GetPrefixCountOk() (*int64, bool) { + if o == nil || IsNil(o.PrefixCount) { + return nil, false + } + return o.PrefixCount, true +} + +// HasPrefixCount returns a boolean if a field has been set. +func (o *BriefRole) HasPrefixCount() bool { + if o != nil && !IsNil(o.PrefixCount) { + return true + } + + return false +} + +// SetPrefixCount gets a reference to the given int64 and assigns it to the PrefixCount field. +func (o *BriefRole) SetPrefixCount(v int64) { + o.PrefixCount = &v +} + +// GetVlanCount returns the VlanCount field value if set, zero value otherwise. +func (o *BriefRole) GetVlanCount() int64 { + if o == nil || IsNil(o.VlanCount) { + var ret int64 + return ret + } + return *o.VlanCount +} + +// GetVlanCountOk returns a tuple with the VlanCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BriefRole) GetVlanCountOk() (*int64, bool) { + if o == nil || IsNil(o.VlanCount) { + return nil, false + } + return o.VlanCount, true +} + +// HasVlanCount returns a boolean if a field has been set. +func (o *BriefRole) HasVlanCount() bool { + if o != nil && !IsNil(o.VlanCount) { + return true + } + + return false +} + +// SetVlanCount gets a reference to the given int64 and assigns it to the VlanCount field. +func (o *BriefRole) SetVlanCount(v int64) { + o.VlanCount = &v +} + +func (o BriefRole) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefRole) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["name"] = o.Name + toSerialize["slug"] = o.Slug + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + if !IsNil(o.PrefixCount) { + toSerialize["prefix_count"] = o.PrefixCount + } + if !IsNil(o.VlanCount) { + toSerialize["vlan_count"] = o.VlanCount + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefRole) 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", + "url", + "display", + "name", + "slug", + } + + 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) + } + } + + varBriefRole := _BriefRole{} + + err = json.Unmarshal(data, &varBriefRole) + + if err != nil { + return err + } + + *o = BriefRole(varBriefRole) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "name") + delete(additionalProperties, "slug") + delete(additionalProperties, "description") + delete(additionalProperties, "prefix_count") + delete(additionalProperties, "vlan_count") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefRole struct { + value *BriefRole + isSet bool +} + +func (v NullableBriefRole) Get() *BriefRole { + return v.value +} + +func (v *NullableBriefRole) Set(val *BriefRole) { + v.value = val + v.isSet = true +} + +func (v NullableBriefRole) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefRole) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefRole(val *BriefRole) *NullableBriefRole { + return &NullableBriefRole{value: val, isSet: true} +} + +func (v NullableBriefRole) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefRole) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_role_request.go b/model_brief_role_request.go new file mode 100644 index 000000000..fcd95c738 --- /dev/null +++ b/model_brief_role_request.go @@ -0,0 +1,232 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefRoleRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefRoleRequest{} + +// BriefRoleRequest Adds support for custom fields and tags. +type BriefRoleRequest struct { + Name string `json:"name"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefRoleRequest BriefRoleRequest + +// NewBriefRoleRequest instantiates a new BriefRoleRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefRoleRequest(name string, slug string) *BriefRoleRequest { + this := BriefRoleRequest{} + this.Name = name + this.Slug = slug + return &this +} + +// NewBriefRoleRequestWithDefaults instantiates a new BriefRoleRequest object +// This 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 NewBriefRoleRequestWithDefaults() *BriefRoleRequest { + this := BriefRoleRequest{} + return &this +} + +// GetName returns the Name field value +func (o *BriefRoleRequest) 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 *BriefRoleRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefRoleRequest) SetName(v string) { + o.Name = v +} + +// GetSlug returns the Slug field value +func (o *BriefRoleRequest) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *BriefRoleRequest) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *BriefRoleRequest) SetSlug(v string) { + o.Slug = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefRoleRequest) 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 *BriefRoleRequest) 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 *BriefRoleRequest) 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 *BriefRoleRequest) SetDescription(v string) { + o.Description = &v +} + +func (o BriefRoleRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefRoleRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["name"] = o.Name + toSerialize["slug"] = o.Slug + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefRoleRequest) 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", + "slug", + } + + 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) + } + } + + varBriefRoleRequest := _BriefRoleRequest{} + + err = json.Unmarshal(data, &varBriefRoleRequest) + + if err != nil { + return err + } + + *o = BriefRoleRequest(varBriefRoleRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "name") + delete(additionalProperties, "slug") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefRoleRequest struct { + value *BriefRoleRequest + isSet bool +} + +func (v NullableBriefRoleRequest) Get() *BriefRoleRequest { + return v.value +} + +func (v *NullableBriefRoleRequest) Set(val *BriefRoleRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefRoleRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefRoleRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefRoleRequest(val *BriefRoleRequest) *NullableBriefRoleRequest { + return &NullableBriefRoleRequest{value: val, isSet: true} +} + +func (v NullableBriefRoleRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefRoleRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_site.go b/model_brief_site.go new file mode 100644 index 000000000..4a610769f --- /dev/null +++ b/model_brief_site.go @@ -0,0 +1,320 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefSite type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefSite{} + +// BriefSite Adds support for custom fields and tags. +type BriefSite struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + // Full name of the site + Name string `json:"name"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefSite BriefSite + +// NewBriefSite instantiates a new BriefSite object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefSite(id int32, url string, display string, name string, slug string) *BriefSite { + this := BriefSite{} + this.Id = id + this.Url = url + this.Display = display + this.Name = name + this.Slug = slug + return &this +} + +// NewBriefSiteWithDefaults instantiates a new BriefSite object +// This 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 NewBriefSiteWithDefaults() *BriefSite { + this := BriefSite{} + return &this +} + +// GetId returns the Id field value +func (o *BriefSite) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefSite) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefSite) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefSite) 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 *BriefSite) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefSite) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefSite) 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 *BriefSite) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefSite) SetDisplay(v string) { + o.Display = v +} + +// GetName returns the Name field value +func (o *BriefSite) 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 *BriefSite) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefSite) SetName(v string) { + o.Name = v +} + +// GetSlug returns the Slug field value +func (o *BriefSite) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *BriefSite) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *BriefSite) SetSlug(v string) { + o.Slug = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefSite) 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 *BriefSite) 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 *BriefSite) 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 *BriefSite) SetDescription(v string) { + o.Description = &v +} + +func (o BriefSite) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefSite) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["name"] = o.Name + toSerialize["slug"] = o.Slug + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefSite) 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", + "url", + "display", + "name", + "slug", + } + + 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) + } + } + + varBriefSite := _BriefSite{} + + err = json.Unmarshal(data, &varBriefSite) + + if err != nil { + return err + } + + *o = BriefSite(varBriefSite) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "name") + delete(additionalProperties, "slug") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefSite struct { + value *BriefSite + isSet bool +} + +func (v NullableBriefSite) Get() *BriefSite { + return v.value +} + +func (v *NullableBriefSite) Set(val *BriefSite) { + v.value = val + v.isSet = true +} + +func (v NullableBriefSite) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefSite) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefSite(val *BriefSite) *NullableBriefSite { + return &NullableBriefSite{value: val, isSet: true} +} + +func (v NullableBriefSite) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefSite) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_site_group.go b/model_brief_site_group.go new file mode 100644 index 000000000..011f7c91a --- /dev/null +++ b/model_brief_site_group.go @@ -0,0 +1,377 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefSiteGroup type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefSiteGroup{} + +// BriefSiteGroup Extends PrimaryModelSerializer to include MPTT support. +type BriefSiteGroup struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + Name string `json:"name"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + SiteCount int32 `json:"site_count"` + Depth int32 `json:"_depth"` + AdditionalProperties map[string]interface{} +} + +type _BriefSiteGroup BriefSiteGroup + +// NewBriefSiteGroup instantiates a new BriefSiteGroup object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefSiteGroup(id int32, url string, display string, name string, slug string, siteCount int32, depth int32) *BriefSiteGroup { + this := BriefSiteGroup{} + this.Id = id + this.Url = url + this.Display = display + this.Name = name + this.Slug = slug + this.SiteCount = siteCount + this.Depth = depth + return &this +} + +// NewBriefSiteGroupWithDefaults instantiates a new BriefSiteGroup object +// This 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 NewBriefSiteGroupWithDefaults() *BriefSiteGroup { + this := BriefSiteGroup{} + return &this +} + +// GetId returns the Id field value +func (o *BriefSiteGroup) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefSiteGroup) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefSiteGroup) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefSiteGroup) 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 *BriefSiteGroup) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefSiteGroup) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefSiteGroup) 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 *BriefSiteGroup) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefSiteGroup) SetDisplay(v string) { + o.Display = v +} + +// GetName returns the Name field value +func (o *BriefSiteGroup) 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 *BriefSiteGroup) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefSiteGroup) SetName(v string) { + o.Name = v +} + +// GetSlug returns the Slug field value +func (o *BriefSiteGroup) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *BriefSiteGroup) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *BriefSiteGroup) SetSlug(v string) { + o.Slug = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefSiteGroup) 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 *BriefSiteGroup) 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 *BriefSiteGroup) 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 *BriefSiteGroup) SetDescription(v string) { + o.Description = &v +} + +// GetSiteCount returns the SiteCount field value +func (o *BriefSiteGroup) GetSiteCount() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.SiteCount +} + +// GetSiteCountOk returns a tuple with the SiteCount field value +// and a boolean to check if the value has been set. +func (o *BriefSiteGroup) GetSiteCountOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.SiteCount, true +} + +// SetSiteCount sets field value +func (o *BriefSiteGroup) SetSiteCount(v int32) { + o.SiteCount = v +} + +// GetDepth returns the Depth field value +func (o *BriefSiteGroup) GetDepth() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Depth +} + +// GetDepthOk returns a tuple with the Depth field value +// and a boolean to check if the value has been set. +func (o *BriefSiteGroup) GetDepthOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Depth, true +} + +// SetDepth sets field value +func (o *BriefSiteGroup) SetDepth(v int32) { + o.Depth = v +} + +func (o BriefSiteGroup) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefSiteGroup) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["name"] = o.Name + toSerialize["slug"] = o.Slug + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + toSerialize["site_count"] = o.SiteCount + toSerialize["_depth"] = o.Depth + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefSiteGroup) 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", + "url", + "display", + "name", + "slug", + "site_count", + "_depth", + } + + 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) + } + } + + varBriefSiteGroup := _BriefSiteGroup{} + + err = json.Unmarshal(data, &varBriefSiteGroup) + + if err != nil { + return err + } + + *o = BriefSiteGroup(varBriefSiteGroup) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "name") + delete(additionalProperties, "slug") + delete(additionalProperties, "description") + delete(additionalProperties, "site_count") + delete(additionalProperties, "_depth") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefSiteGroup struct { + value *BriefSiteGroup + isSet bool +} + +func (v NullableBriefSiteGroup) Get() *BriefSiteGroup { + return v.value +} + +func (v *NullableBriefSiteGroup) Set(val *BriefSiteGroup) { + v.value = val + v.isSet = true +} + +func (v NullableBriefSiteGroup) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefSiteGroup) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefSiteGroup(val *BriefSiteGroup) *NullableBriefSiteGroup { + return &NullableBriefSiteGroup{value: val, isSet: true} +} + +func (v NullableBriefSiteGroup) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefSiteGroup) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_site_group_request.go b/model_brief_site_group_request.go new file mode 100644 index 000000000..a0b98c9c7 --- /dev/null +++ b/model_brief_site_group_request.go @@ -0,0 +1,232 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefSiteGroupRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefSiteGroupRequest{} + +// BriefSiteGroupRequest Extends PrimaryModelSerializer to include MPTT support. +type BriefSiteGroupRequest struct { + Name string `json:"name"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefSiteGroupRequest BriefSiteGroupRequest + +// NewBriefSiteGroupRequest instantiates a new BriefSiteGroupRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefSiteGroupRequest(name string, slug string) *BriefSiteGroupRequest { + this := BriefSiteGroupRequest{} + this.Name = name + this.Slug = slug + return &this +} + +// NewBriefSiteGroupRequestWithDefaults instantiates a new BriefSiteGroupRequest object +// This 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 NewBriefSiteGroupRequestWithDefaults() *BriefSiteGroupRequest { + this := BriefSiteGroupRequest{} + return &this +} + +// GetName returns the Name field value +func (o *BriefSiteGroupRequest) 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 *BriefSiteGroupRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefSiteGroupRequest) SetName(v string) { + o.Name = v +} + +// GetSlug returns the Slug field value +func (o *BriefSiteGroupRequest) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *BriefSiteGroupRequest) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *BriefSiteGroupRequest) SetSlug(v string) { + o.Slug = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefSiteGroupRequest) 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 *BriefSiteGroupRequest) 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 *BriefSiteGroupRequest) 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 *BriefSiteGroupRequest) SetDescription(v string) { + o.Description = &v +} + +func (o BriefSiteGroupRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefSiteGroupRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["name"] = o.Name + toSerialize["slug"] = o.Slug + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefSiteGroupRequest) 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", + "slug", + } + + 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) + } + } + + varBriefSiteGroupRequest := _BriefSiteGroupRequest{} + + err = json.Unmarshal(data, &varBriefSiteGroupRequest) + + if err != nil { + return err + } + + *o = BriefSiteGroupRequest(varBriefSiteGroupRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "name") + delete(additionalProperties, "slug") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefSiteGroupRequest struct { + value *BriefSiteGroupRequest + isSet bool +} + +func (v NullableBriefSiteGroupRequest) Get() *BriefSiteGroupRequest { + return v.value +} + +func (v *NullableBriefSiteGroupRequest) Set(val *BriefSiteGroupRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefSiteGroupRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefSiteGroupRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefSiteGroupRequest(val *BriefSiteGroupRequest) *NullableBriefSiteGroupRequest { + return &NullableBriefSiteGroupRequest{value: val, isSet: true} +} + +func (v NullableBriefSiteGroupRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefSiteGroupRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_site_request.go b/model_brief_site_request.go new file mode 100644 index 000000000..cf35a0716 --- /dev/null +++ b/model_brief_site_request.go @@ -0,0 +1,233 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefSiteRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefSiteRequest{} + +// BriefSiteRequest Adds support for custom fields and tags. +type BriefSiteRequest struct { + // Full name of the site + Name string `json:"name"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefSiteRequest BriefSiteRequest + +// NewBriefSiteRequest instantiates a new BriefSiteRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefSiteRequest(name string, slug string) *BriefSiteRequest { + this := BriefSiteRequest{} + this.Name = name + this.Slug = slug + return &this +} + +// NewBriefSiteRequestWithDefaults instantiates a new BriefSiteRequest object +// This 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 NewBriefSiteRequestWithDefaults() *BriefSiteRequest { + this := BriefSiteRequest{} + return &this +} + +// GetName returns the Name field value +func (o *BriefSiteRequest) 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 *BriefSiteRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefSiteRequest) SetName(v string) { + o.Name = v +} + +// GetSlug returns the Slug field value +func (o *BriefSiteRequest) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *BriefSiteRequest) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *BriefSiteRequest) SetSlug(v string) { + o.Slug = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefSiteRequest) 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 *BriefSiteRequest) 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 *BriefSiteRequest) 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 *BriefSiteRequest) SetDescription(v string) { + o.Description = &v +} + +func (o BriefSiteRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefSiteRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["name"] = o.Name + toSerialize["slug"] = o.Slug + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefSiteRequest) 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", + "slug", + } + + 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) + } + } + + varBriefSiteRequest := _BriefSiteRequest{} + + err = json.Unmarshal(data, &varBriefSiteRequest) + + if err != nil { + return err + } + + *o = BriefSiteRequest(varBriefSiteRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "name") + delete(additionalProperties, "slug") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefSiteRequest struct { + value *BriefSiteRequest + isSet bool +} + +func (v NullableBriefSiteRequest) Get() *BriefSiteRequest { + return v.value +} + +func (v *NullableBriefSiteRequest) Set(val *BriefSiteRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefSiteRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefSiteRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefSiteRequest(val *BriefSiteRequest) *NullableBriefSiteRequest { + return &NullableBriefSiteRequest{value: val, isSet: true} +} + +func (v NullableBriefSiteRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefSiteRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_tenant.go b/model_brief_tenant.go new file mode 100644 index 000000000..9535ac608 --- /dev/null +++ b/model_brief_tenant.go @@ -0,0 +1,319 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefTenant type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefTenant{} + +// BriefTenant Adds support for custom fields and tags. +type BriefTenant struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + Name string `json:"name"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefTenant BriefTenant + +// NewBriefTenant instantiates a new BriefTenant object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefTenant(id int32, url string, display string, name string, slug string) *BriefTenant { + this := BriefTenant{} + this.Id = id + this.Url = url + this.Display = display + this.Name = name + this.Slug = slug + return &this +} + +// NewBriefTenantWithDefaults instantiates a new BriefTenant object +// This 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 NewBriefTenantWithDefaults() *BriefTenant { + this := BriefTenant{} + return &this +} + +// GetId returns the Id field value +func (o *BriefTenant) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefTenant) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefTenant) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefTenant) 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 *BriefTenant) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefTenant) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefTenant) 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 *BriefTenant) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefTenant) SetDisplay(v string) { + o.Display = v +} + +// GetName returns the Name field value +func (o *BriefTenant) 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 *BriefTenant) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefTenant) SetName(v string) { + o.Name = v +} + +// GetSlug returns the Slug field value +func (o *BriefTenant) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *BriefTenant) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *BriefTenant) SetSlug(v string) { + o.Slug = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefTenant) 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 *BriefTenant) 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 *BriefTenant) 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 *BriefTenant) SetDescription(v string) { + o.Description = &v +} + +func (o BriefTenant) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefTenant) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["name"] = o.Name + toSerialize["slug"] = o.Slug + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefTenant) 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", + "url", + "display", + "name", + "slug", + } + + 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) + } + } + + varBriefTenant := _BriefTenant{} + + err = json.Unmarshal(data, &varBriefTenant) + + if err != nil { + return err + } + + *o = BriefTenant(varBriefTenant) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "name") + delete(additionalProperties, "slug") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefTenant struct { + value *BriefTenant + isSet bool +} + +func (v NullableBriefTenant) Get() *BriefTenant { + return v.value +} + +func (v *NullableBriefTenant) Set(val *BriefTenant) { + v.value = val + v.isSet = true +} + +func (v NullableBriefTenant) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefTenant) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefTenant(val *BriefTenant) *NullableBriefTenant { + return &NullableBriefTenant{value: val, isSet: true} +} + +func (v NullableBriefTenant) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefTenant) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_tenant_group.go b/model_brief_tenant_group.go new file mode 100644 index 000000000..042e86220 --- /dev/null +++ b/model_brief_tenant_group.go @@ -0,0 +1,377 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefTenantGroup type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefTenantGroup{} + +// BriefTenantGroup Extends PrimaryModelSerializer to include MPTT support. +type BriefTenantGroup struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + Name string `json:"name"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + TenantCount int32 `json:"tenant_count"` + Depth int32 `json:"_depth"` + AdditionalProperties map[string]interface{} +} + +type _BriefTenantGroup BriefTenantGroup + +// NewBriefTenantGroup instantiates a new BriefTenantGroup object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefTenantGroup(id int32, url string, display string, name string, slug string, tenantCount int32, depth int32) *BriefTenantGroup { + this := BriefTenantGroup{} + this.Id = id + this.Url = url + this.Display = display + this.Name = name + this.Slug = slug + this.TenantCount = tenantCount + this.Depth = depth + return &this +} + +// NewBriefTenantGroupWithDefaults instantiates a new BriefTenantGroup object +// This 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 NewBriefTenantGroupWithDefaults() *BriefTenantGroup { + this := BriefTenantGroup{} + return &this +} + +// GetId returns the Id field value +func (o *BriefTenantGroup) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefTenantGroup) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefTenantGroup) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefTenantGroup) 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 *BriefTenantGroup) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefTenantGroup) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefTenantGroup) 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 *BriefTenantGroup) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefTenantGroup) SetDisplay(v string) { + o.Display = v +} + +// GetName returns the Name field value +func (o *BriefTenantGroup) 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 *BriefTenantGroup) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefTenantGroup) SetName(v string) { + o.Name = v +} + +// GetSlug returns the Slug field value +func (o *BriefTenantGroup) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *BriefTenantGroup) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *BriefTenantGroup) SetSlug(v string) { + o.Slug = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefTenantGroup) 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 *BriefTenantGroup) 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 *BriefTenantGroup) 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 *BriefTenantGroup) SetDescription(v string) { + o.Description = &v +} + +// GetTenantCount returns the TenantCount field value +func (o *BriefTenantGroup) GetTenantCount() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.TenantCount +} + +// GetTenantCountOk returns a tuple with the TenantCount field value +// and a boolean to check if the value has been set. +func (o *BriefTenantGroup) GetTenantCountOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.TenantCount, true +} + +// SetTenantCount sets field value +func (o *BriefTenantGroup) SetTenantCount(v int32) { + o.TenantCount = v +} + +// GetDepth returns the Depth field value +func (o *BriefTenantGroup) GetDepth() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Depth +} + +// GetDepthOk returns a tuple with the Depth field value +// and a boolean to check if the value has been set. +func (o *BriefTenantGroup) GetDepthOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Depth, true +} + +// SetDepth sets field value +func (o *BriefTenantGroup) SetDepth(v int32) { + o.Depth = v +} + +func (o BriefTenantGroup) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefTenantGroup) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["name"] = o.Name + toSerialize["slug"] = o.Slug + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + toSerialize["tenant_count"] = o.TenantCount + toSerialize["_depth"] = o.Depth + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefTenantGroup) 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", + "url", + "display", + "name", + "slug", + "tenant_count", + "_depth", + } + + 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) + } + } + + varBriefTenantGroup := _BriefTenantGroup{} + + err = json.Unmarshal(data, &varBriefTenantGroup) + + if err != nil { + return err + } + + *o = BriefTenantGroup(varBriefTenantGroup) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "name") + delete(additionalProperties, "slug") + delete(additionalProperties, "description") + delete(additionalProperties, "tenant_count") + delete(additionalProperties, "_depth") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefTenantGroup struct { + value *BriefTenantGroup + isSet bool +} + +func (v NullableBriefTenantGroup) Get() *BriefTenantGroup { + return v.value +} + +func (v *NullableBriefTenantGroup) Set(val *BriefTenantGroup) { + v.value = val + v.isSet = true +} + +func (v NullableBriefTenantGroup) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefTenantGroup) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefTenantGroup(val *BriefTenantGroup) *NullableBriefTenantGroup { + return &NullableBriefTenantGroup{value: val, isSet: true} +} + +func (v NullableBriefTenantGroup) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefTenantGroup) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_tenant_group_request.go b/model_brief_tenant_group_request.go new file mode 100644 index 000000000..aa8cd27ef --- /dev/null +++ b/model_brief_tenant_group_request.go @@ -0,0 +1,232 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefTenantGroupRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefTenantGroupRequest{} + +// BriefTenantGroupRequest Extends PrimaryModelSerializer to include MPTT support. +type BriefTenantGroupRequest struct { + Name string `json:"name"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefTenantGroupRequest BriefTenantGroupRequest + +// NewBriefTenantGroupRequest instantiates a new BriefTenantGroupRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefTenantGroupRequest(name string, slug string) *BriefTenantGroupRequest { + this := BriefTenantGroupRequest{} + this.Name = name + this.Slug = slug + return &this +} + +// NewBriefTenantGroupRequestWithDefaults instantiates a new BriefTenantGroupRequest object +// This 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 NewBriefTenantGroupRequestWithDefaults() *BriefTenantGroupRequest { + this := BriefTenantGroupRequest{} + return &this +} + +// GetName returns the Name field value +func (o *BriefTenantGroupRequest) 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 *BriefTenantGroupRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefTenantGroupRequest) SetName(v string) { + o.Name = v +} + +// GetSlug returns the Slug field value +func (o *BriefTenantGroupRequest) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *BriefTenantGroupRequest) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *BriefTenantGroupRequest) SetSlug(v string) { + o.Slug = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefTenantGroupRequest) 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 *BriefTenantGroupRequest) 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 *BriefTenantGroupRequest) 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 *BriefTenantGroupRequest) SetDescription(v string) { + o.Description = &v +} + +func (o BriefTenantGroupRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefTenantGroupRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["name"] = o.Name + toSerialize["slug"] = o.Slug + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefTenantGroupRequest) 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", + "slug", + } + + 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) + } + } + + varBriefTenantGroupRequest := _BriefTenantGroupRequest{} + + err = json.Unmarshal(data, &varBriefTenantGroupRequest) + + if err != nil { + return err + } + + *o = BriefTenantGroupRequest(varBriefTenantGroupRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "name") + delete(additionalProperties, "slug") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefTenantGroupRequest struct { + value *BriefTenantGroupRequest + isSet bool +} + +func (v NullableBriefTenantGroupRequest) Get() *BriefTenantGroupRequest { + return v.value +} + +func (v *NullableBriefTenantGroupRequest) Set(val *BriefTenantGroupRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefTenantGroupRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefTenantGroupRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefTenantGroupRequest(val *BriefTenantGroupRequest) *NullableBriefTenantGroupRequest { + return &NullableBriefTenantGroupRequest{value: val, isSet: true} +} + +func (v NullableBriefTenantGroupRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefTenantGroupRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_tenant_request.go b/model_brief_tenant_request.go new file mode 100644 index 000000000..483a6082d --- /dev/null +++ b/model_brief_tenant_request.go @@ -0,0 +1,232 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefTenantRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefTenantRequest{} + +// BriefTenantRequest Adds support for custom fields and tags. +type BriefTenantRequest struct { + Name string `json:"name"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefTenantRequest BriefTenantRequest + +// NewBriefTenantRequest instantiates a new BriefTenantRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefTenantRequest(name string, slug string) *BriefTenantRequest { + this := BriefTenantRequest{} + this.Name = name + this.Slug = slug + return &this +} + +// NewBriefTenantRequestWithDefaults instantiates a new BriefTenantRequest object +// This 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 NewBriefTenantRequestWithDefaults() *BriefTenantRequest { + this := BriefTenantRequest{} + return &this +} + +// GetName returns the Name field value +func (o *BriefTenantRequest) 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 *BriefTenantRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefTenantRequest) SetName(v string) { + o.Name = v +} + +// GetSlug returns the Slug field value +func (o *BriefTenantRequest) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *BriefTenantRequest) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *BriefTenantRequest) SetSlug(v string) { + o.Slug = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefTenantRequest) 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 *BriefTenantRequest) 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 *BriefTenantRequest) 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 *BriefTenantRequest) SetDescription(v string) { + o.Description = &v +} + +func (o BriefTenantRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefTenantRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["name"] = o.Name + toSerialize["slug"] = o.Slug + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefTenantRequest) 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", + "slug", + } + + 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) + } + } + + varBriefTenantRequest := _BriefTenantRequest{} + + err = json.Unmarshal(data, &varBriefTenantRequest) + + if err != nil { + return err + } + + *o = BriefTenantRequest(varBriefTenantRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "name") + delete(additionalProperties, "slug") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefTenantRequest struct { + value *BriefTenantRequest + isSet bool +} + +func (v NullableBriefTenantRequest) Get() *BriefTenantRequest { + return v.value +} + +func (v *NullableBriefTenantRequest) Set(val *BriefTenantRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefTenantRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefTenantRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefTenantRequest(val *BriefTenantRequest) *NullableBriefTenantRequest { + return &NullableBriefTenantRequest{value: val, isSet: true} +} + +func (v NullableBriefTenantRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefTenantRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_tunnel.go b/model_brief_tunnel.go new file mode 100644 index 000000000..dd4b5e001 --- /dev/null +++ b/model_brief_tunnel.go @@ -0,0 +1,290 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefTunnel type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefTunnel{} + +// BriefTunnel Adds support for custom fields and tags. +type BriefTunnel struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + Name string `json:"name"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefTunnel BriefTunnel + +// NewBriefTunnel instantiates a new BriefTunnel object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefTunnel(id int32, url string, display string, name string) *BriefTunnel { + this := BriefTunnel{} + this.Id = id + this.Url = url + this.Display = display + this.Name = name + return &this +} + +// NewBriefTunnelWithDefaults instantiates a new BriefTunnel object +// This 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 NewBriefTunnelWithDefaults() *BriefTunnel { + this := BriefTunnel{} + return &this +} + +// GetId returns the Id field value +func (o *BriefTunnel) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefTunnel) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefTunnel) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefTunnel) 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 *BriefTunnel) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefTunnel) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefTunnel) 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 *BriefTunnel) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefTunnel) SetDisplay(v string) { + o.Display = v +} + +// GetName returns the Name field value +func (o *BriefTunnel) 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 *BriefTunnel) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefTunnel) SetName(v string) { + o.Name = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefTunnel) 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 *BriefTunnel) 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 *BriefTunnel) 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 *BriefTunnel) SetDescription(v string) { + o.Description = &v +} + +func (o BriefTunnel) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefTunnel) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["name"] = o.Name + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefTunnel) 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", + "url", + "display", + "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) + } + } + + varBriefTunnel := _BriefTunnel{} + + err = json.Unmarshal(data, &varBriefTunnel) + + if err != nil { + return err + } + + *o = BriefTunnel(varBriefTunnel) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "name") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefTunnel struct { + value *BriefTunnel + isSet bool +} + +func (v NullableBriefTunnel) Get() *BriefTunnel { + return v.value +} + +func (v *NullableBriefTunnel) Set(val *BriefTunnel) { + v.value = val + v.isSet = true +} + +func (v NullableBriefTunnel) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefTunnel) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefTunnel(val *BriefTunnel) *NullableBriefTunnel { + return &NullableBriefTunnel{value: val, isSet: true} +} + +func (v NullableBriefTunnel) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefTunnel) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_tunnel_group.go b/model_brief_tunnel_group.go new file mode 100644 index 000000000..ae2f38162 --- /dev/null +++ b/model_brief_tunnel_group.go @@ -0,0 +1,348 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefTunnelGroup type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefTunnelGroup{} + +// BriefTunnelGroup Adds support for custom fields and tags. +type BriefTunnelGroup struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + Name string `json:"name"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + TunnelCount int64 `json:"tunnel_count"` + AdditionalProperties map[string]interface{} +} + +type _BriefTunnelGroup BriefTunnelGroup + +// NewBriefTunnelGroup instantiates a new BriefTunnelGroup object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefTunnelGroup(id int32, url string, display string, name string, slug string, tunnelCount int64) *BriefTunnelGroup { + this := BriefTunnelGroup{} + this.Id = id + this.Url = url + this.Display = display + this.Name = name + this.Slug = slug + this.TunnelCount = tunnelCount + return &this +} + +// NewBriefTunnelGroupWithDefaults instantiates a new BriefTunnelGroup object +// This 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 NewBriefTunnelGroupWithDefaults() *BriefTunnelGroup { + this := BriefTunnelGroup{} + return &this +} + +// GetId returns the Id field value +func (o *BriefTunnelGroup) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefTunnelGroup) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefTunnelGroup) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefTunnelGroup) 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 *BriefTunnelGroup) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefTunnelGroup) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefTunnelGroup) 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 *BriefTunnelGroup) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefTunnelGroup) SetDisplay(v string) { + o.Display = v +} + +// GetName returns the Name field value +func (o *BriefTunnelGroup) 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 *BriefTunnelGroup) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefTunnelGroup) SetName(v string) { + o.Name = v +} + +// GetSlug returns the Slug field value +func (o *BriefTunnelGroup) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *BriefTunnelGroup) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *BriefTunnelGroup) SetSlug(v string) { + o.Slug = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefTunnelGroup) 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 *BriefTunnelGroup) 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 *BriefTunnelGroup) 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 *BriefTunnelGroup) SetDescription(v string) { + o.Description = &v +} + +// GetTunnelCount returns the TunnelCount field value +func (o *BriefTunnelGroup) GetTunnelCount() int64 { + if o == nil { + var ret int64 + return ret + } + + return o.TunnelCount +} + +// GetTunnelCountOk returns a tuple with the TunnelCount field value +// and a boolean to check if the value has been set. +func (o *BriefTunnelGroup) GetTunnelCountOk() (*int64, bool) { + if o == nil { + return nil, false + } + return &o.TunnelCount, true +} + +// SetTunnelCount sets field value +func (o *BriefTunnelGroup) SetTunnelCount(v int64) { + o.TunnelCount = v +} + +func (o BriefTunnelGroup) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefTunnelGroup) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["name"] = o.Name + toSerialize["slug"] = o.Slug + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + toSerialize["tunnel_count"] = o.TunnelCount + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefTunnelGroup) 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", + "url", + "display", + "name", + "slug", + "tunnel_count", + } + + 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) + } + } + + varBriefTunnelGroup := _BriefTunnelGroup{} + + err = json.Unmarshal(data, &varBriefTunnelGroup) + + if err != nil { + return err + } + + *o = BriefTunnelGroup(varBriefTunnelGroup) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "name") + delete(additionalProperties, "slug") + delete(additionalProperties, "description") + delete(additionalProperties, "tunnel_count") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefTunnelGroup struct { + value *BriefTunnelGroup + isSet bool +} + +func (v NullableBriefTunnelGroup) Get() *BriefTunnelGroup { + return v.value +} + +func (v *NullableBriefTunnelGroup) Set(val *BriefTunnelGroup) { + v.value = val + v.isSet = true +} + +func (v NullableBriefTunnelGroup) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefTunnelGroup) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefTunnelGroup(val *BriefTunnelGroup) *NullableBriefTunnelGroup { + return &NullableBriefTunnelGroup{value: val, isSet: true} +} + +func (v NullableBriefTunnelGroup) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefTunnelGroup) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_tunnel_group_request.go b/model_brief_tunnel_group_request.go new file mode 100644 index 000000000..39baa2974 --- /dev/null +++ b/model_brief_tunnel_group_request.go @@ -0,0 +1,232 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefTunnelGroupRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefTunnelGroupRequest{} + +// BriefTunnelGroupRequest Adds support for custom fields and tags. +type BriefTunnelGroupRequest struct { + Name string `json:"name"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefTunnelGroupRequest BriefTunnelGroupRequest + +// NewBriefTunnelGroupRequest instantiates a new BriefTunnelGroupRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefTunnelGroupRequest(name string, slug string) *BriefTunnelGroupRequest { + this := BriefTunnelGroupRequest{} + this.Name = name + this.Slug = slug + return &this +} + +// NewBriefTunnelGroupRequestWithDefaults instantiates a new BriefTunnelGroupRequest object +// This 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 NewBriefTunnelGroupRequestWithDefaults() *BriefTunnelGroupRequest { + this := BriefTunnelGroupRequest{} + return &this +} + +// GetName returns the Name field value +func (o *BriefTunnelGroupRequest) 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 *BriefTunnelGroupRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefTunnelGroupRequest) SetName(v string) { + o.Name = v +} + +// GetSlug returns the Slug field value +func (o *BriefTunnelGroupRequest) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *BriefTunnelGroupRequest) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *BriefTunnelGroupRequest) SetSlug(v string) { + o.Slug = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefTunnelGroupRequest) 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 *BriefTunnelGroupRequest) 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 *BriefTunnelGroupRequest) 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 *BriefTunnelGroupRequest) SetDescription(v string) { + o.Description = &v +} + +func (o BriefTunnelGroupRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefTunnelGroupRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["name"] = o.Name + toSerialize["slug"] = o.Slug + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefTunnelGroupRequest) 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", + "slug", + } + + 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) + } + } + + varBriefTunnelGroupRequest := _BriefTunnelGroupRequest{} + + err = json.Unmarshal(data, &varBriefTunnelGroupRequest) + + if err != nil { + return err + } + + *o = BriefTunnelGroupRequest(varBriefTunnelGroupRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "name") + delete(additionalProperties, "slug") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefTunnelGroupRequest struct { + value *BriefTunnelGroupRequest + isSet bool +} + +func (v NullableBriefTunnelGroupRequest) Get() *BriefTunnelGroupRequest { + return v.value +} + +func (v *NullableBriefTunnelGroupRequest) Set(val *BriefTunnelGroupRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefTunnelGroupRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefTunnelGroupRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefTunnelGroupRequest(val *BriefTunnelGroupRequest) *NullableBriefTunnelGroupRequest { + return &NullableBriefTunnelGroupRequest{value: val, isSet: true} +} + +func (v NullableBriefTunnelGroupRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefTunnelGroupRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_tunnel_request.go b/model_brief_tunnel_request.go new file mode 100644 index 000000000..89ad6985a --- /dev/null +++ b/model_brief_tunnel_request.go @@ -0,0 +1,203 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefTunnelRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefTunnelRequest{} + +// BriefTunnelRequest Adds support for custom fields and tags. +type BriefTunnelRequest struct { + Name string `json:"name"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefTunnelRequest BriefTunnelRequest + +// NewBriefTunnelRequest instantiates a new BriefTunnelRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefTunnelRequest(name string) *BriefTunnelRequest { + this := BriefTunnelRequest{} + this.Name = name + return &this +} + +// NewBriefTunnelRequestWithDefaults instantiates a new BriefTunnelRequest object +// This 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 NewBriefTunnelRequestWithDefaults() *BriefTunnelRequest { + this := BriefTunnelRequest{} + return &this +} + +// GetName returns the Name field value +func (o *BriefTunnelRequest) 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 *BriefTunnelRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefTunnelRequest) SetName(v string) { + o.Name = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefTunnelRequest) 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 *BriefTunnelRequest) 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 *BriefTunnelRequest) 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 *BriefTunnelRequest) SetDescription(v string) { + o.Description = &v +} + +func (o BriefTunnelRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefTunnelRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["name"] = o.Name + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefTunnelRequest) 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) + } + } + + varBriefTunnelRequest := _BriefTunnelRequest{} + + err = json.Unmarshal(data, &varBriefTunnelRequest) + + if err != nil { + return err + } + + *o = BriefTunnelRequest(varBriefTunnelRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "name") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefTunnelRequest struct { + value *BriefTunnelRequest + isSet bool +} + +func (v NullableBriefTunnelRequest) Get() *BriefTunnelRequest { + return v.value +} + +func (v *NullableBriefTunnelRequest) Set(val *BriefTunnelRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefTunnelRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefTunnelRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefTunnelRequest(val *BriefTunnelRequest) *NullableBriefTunnelRequest { + return &NullableBriefTunnelRequest{value: val, isSet: true} +} + +func (v NullableBriefTunnelRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefTunnelRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_user.go b/model_brief_user.go new file mode 100644 index 000000000..4d4edbdc0 --- /dev/null +++ b/model_brief_user.go @@ -0,0 +1,254 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefUser type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefUser{} + +// BriefUser Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 BriefUser struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + // Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. + Username string `json:"username"` + AdditionalProperties map[string]interface{} +} + +type _BriefUser BriefUser + +// NewBriefUser instantiates a new BriefUser object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefUser(id int32, url string, display string, username string) *BriefUser { + this := BriefUser{} + this.Id = id + this.Url = url + this.Display = display + this.Username = username + return &this +} + +// NewBriefUserWithDefaults instantiates a new BriefUser object +// This 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 NewBriefUserWithDefaults() *BriefUser { + this := BriefUser{} + return &this +} + +// GetId returns the Id field value +func (o *BriefUser) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefUser) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefUser) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefUser) 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 *BriefUser) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefUser) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefUser) 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 *BriefUser) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefUser) SetDisplay(v string) { + o.Display = v +} + +// GetUsername returns the Username field value +func (o *BriefUser) GetUsername() string { + if o == nil { + var ret string + return ret + } + + return o.Username +} + +// GetUsernameOk returns a tuple with the Username field value +// and a boolean to check if the value has been set. +func (o *BriefUser) GetUsernameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Username, true +} + +// SetUsername sets field value +func (o *BriefUser) SetUsername(v string) { + o.Username = v +} + +func (o BriefUser) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefUser) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["username"] = o.Username + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefUser) 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", + "url", + "display", + "username", + } + + 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) + } + } + + varBriefUser := _BriefUser{} + + err = json.Unmarshal(data, &varBriefUser) + + if err != nil { + return err + } + + *o = BriefUser(varBriefUser) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "username") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefUser struct { + value *BriefUser + isSet bool +} + +func (v NullableBriefUser) Get() *BriefUser { + return v.value +} + +func (v *NullableBriefUser) Set(val *BriefUser) { + v.value = val + v.isSet = true +} + +func (v NullableBriefUser) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefUser) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefUser(val *BriefUser) *NullableBriefUser { + return &NullableBriefUser{value: val, isSet: true} +} + +func (v NullableBriefUser) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefUser) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_user_request.go b/model_brief_user_request.go new file mode 100644 index 000000000..60c7dd1fb --- /dev/null +++ b/model_brief_user_request.go @@ -0,0 +1,167 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefUserRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefUserRequest{} + +// BriefUserRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 BriefUserRequest struct { + // Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. + Username string `json:"username"` + AdditionalProperties map[string]interface{} +} + +type _BriefUserRequest BriefUserRequest + +// NewBriefUserRequest instantiates a new BriefUserRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefUserRequest(username string) *BriefUserRequest { + this := BriefUserRequest{} + this.Username = username + return &this +} + +// NewBriefUserRequestWithDefaults instantiates a new BriefUserRequest object +// This 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 NewBriefUserRequestWithDefaults() *BriefUserRequest { + this := BriefUserRequest{} + return &this +} + +// GetUsername returns the Username field value +func (o *BriefUserRequest) GetUsername() string { + if o == nil { + var ret string + return ret + } + + return o.Username +} + +// GetUsernameOk returns a tuple with the Username field value +// and a boolean to check if the value has been set. +func (o *BriefUserRequest) GetUsernameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Username, true +} + +// SetUsername sets field value +func (o *BriefUserRequest) SetUsername(v string) { + o.Username = v +} + +func (o BriefUserRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefUserRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["username"] = o.Username + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefUserRequest) 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{ + "username", + } + + 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) + } + } + + varBriefUserRequest := _BriefUserRequest{} + + err = json.Unmarshal(data, &varBriefUserRequest) + + if err != nil { + return err + } + + *o = BriefUserRequest(varBriefUserRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "username") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefUserRequest struct { + value *BriefUserRequest + isSet bool +} + +func (v NullableBriefUserRequest) Get() *BriefUserRequest { + return v.value +} + +func (v *NullableBriefUserRequest) Set(val *BriefUserRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefUserRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefUserRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefUserRequest(val *BriefUserRequest) *NullableBriefUserRequest { + return &NullableBriefUserRequest{value: val, isSet: true} +} + +func (v NullableBriefUserRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefUserRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_virtual_chassis.go b/model_brief_virtual_chassis.go new file mode 100644 index 000000000..c0b5c410f --- /dev/null +++ b/model_brief_virtual_chassis.go @@ -0,0 +1,367 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefVirtualChassis type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefVirtualChassis{} + +// BriefVirtualChassis Adds support for custom fields and tags. +type BriefVirtualChassis struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + Name string `json:"name"` + Master NullableNestedDevice `json:"master,omitempty"` + Description *string `json:"description,omitempty"` + MemberCount int32 `json:"member_count"` + AdditionalProperties map[string]interface{} +} + +type _BriefVirtualChassis BriefVirtualChassis + +// NewBriefVirtualChassis instantiates a new BriefVirtualChassis object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefVirtualChassis(id int32, url string, display string, name string, memberCount int32) *BriefVirtualChassis { + this := BriefVirtualChassis{} + this.Id = id + this.Url = url + this.Display = display + this.Name = name + this.MemberCount = memberCount + return &this +} + +// NewBriefVirtualChassisWithDefaults instantiates a new BriefVirtualChassis object +// This 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 NewBriefVirtualChassisWithDefaults() *BriefVirtualChassis { + this := BriefVirtualChassis{} + return &this +} + +// GetId returns the Id field value +func (o *BriefVirtualChassis) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefVirtualChassis) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefVirtualChassis) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefVirtualChassis) 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 *BriefVirtualChassis) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefVirtualChassis) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefVirtualChassis) 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 *BriefVirtualChassis) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefVirtualChassis) SetDisplay(v string) { + o.Display = v +} + +// GetName returns the Name field value +func (o *BriefVirtualChassis) 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 *BriefVirtualChassis) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefVirtualChassis) SetName(v string) { + o.Name = v +} + +// GetMaster returns the Master field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *BriefVirtualChassis) GetMaster() NestedDevice { + if o == nil || IsNil(o.Master.Get()) { + var ret NestedDevice + return ret + } + return *o.Master.Get() +} + +// GetMasterOk returns a tuple with the Master 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 *BriefVirtualChassis) GetMasterOk() (*NestedDevice, bool) { + if o == nil { + return nil, false + } + return o.Master.Get(), o.Master.IsSet() +} + +// HasMaster returns a boolean if a field has been set. +func (o *BriefVirtualChassis) HasMaster() bool { + if o != nil && o.Master.IsSet() { + return true + } + + return false +} + +// SetMaster gets a reference to the given NullableNestedDevice and assigns it to the Master field. +func (o *BriefVirtualChassis) SetMaster(v NestedDevice) { + o.Master.Set(&v) +} + +// SetMasterNil sets the value for Master to be an explicit nil +func (o *BriefVirtualChassis) SetMasterNil() { + o.Master.Set(nil) +} + +// UnsetMaster ensures that no value is present for Master, not even an explicit nil +func (o *BriefVirtualChassis) UnsetMaster() { + o.Master.Unset() +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefVirtualChassis) 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 *BriefVirtualChassis) 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 *BriefVirtualChassis) 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 *BriefVirtualChassis) SetDescription(v string) { + o.Description = &v +} + +// GetMemberCount returns the MemberCount field value +func (o *BriefVirtualChassis) GetMemberCount() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.MemberCount +} + +// GetMemberCountOk returns a tuple with the MemberCount field value +// and a boolean to check if the value has been set. +func (o *BriefVirtualChassis) GetMemberCountOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.MemberCount, true +} + +// SetMemberCount sets field value +func (o *BriefVirtualChassis) SetMemberCount(v int32) { + o.MemberCount = v +} + +func (o BriefVirtualChassis) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefVirtualChassis) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["name"] = o.Name + if o.Master.IsSet() { + toSerialize["master"] = o.Master.Get() + } + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + toSerialize["member_count"] = o.MemberCount + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefVirtualChassis) 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", + "url", + "display", + "name", + "member_count", + } + + 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) + } + } + + varBriefVirtualChassis := _BriefVirtualChassis{} + + err = json.Unmarshal(data, &varBriefVirtualChassis) + + if err != nil { + return err + } + + *o = BriefVirtualChassis(varBriefVirtualChassis) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "name") + delete(additionalProperties, "master") + delete(additionalProperties, "description") + delete(additionalProperties, "member_count") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefVirtualChassis struct { + value *BriefVirtualChassis + isSet bool +} + +func (v NullableBriefVirtualChassis) Get() *BriefVirtualChassis { + return v.value +} + +func (v *NullableBriefVirtualChassis) Set(val *BriefVirtualChassis) { + v.value = val + v.isSet = true +} + +func (v NullableBriefVirtualChassis) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefVirtualChassis) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefVirtualChassis(val *BriefVirtualChassis) *NullableBriefVirtualChassis { + return &NullableBriefVirtualChassis{value: val, isSet: true} +} + +func (v NullableBriefVirtualChassis) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefVirtualChassis) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_virtual_chassis_request.go b/model_brief_virtual_chassis_request.go new file mode 100644 index 000000000..a0b34dd9a --- /dev/null +++ b/model_brief_virtual_chassis_request.go @@ -0,0 +1,251 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefVirtualChassisRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefVirtualChassisRequest{} + +// BriefVirtualChassisRequest Adds support for custom fields and tags. +type BriefVirtualChassisRequest struct { + Name string `json:"name"` + Master NullableNestedDeviceRequest `json:"master,omitempty"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefVirtualChassisRequest BriefVirtualChassisRequest + +// NewBriefVirtualChassisRequest instantiates a new BriefVirtualChassisRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefVirtualChassisRequest(name string) *BriefVirtualChassisRequest { + this := BriefVirtualChassisRequest{} + this.Name = name + return &this +} + +// NewBriefVirtualChassisRequestWithDefaults instantiates a new BriefVirtualChassisRequest object +// This 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 NewBriefVirtualChassisRequestWithDefaults() *BriefVirtualChassisRequest { + this := BriefVirtualChassisRequest{} + return &this +} + +// GetName returns the Name field value +func (o *BriefVirtualChassisRequest) 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 *BriefVirtualChassisRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefVirtualChassisRequest) SetName(v string) { + o.Name = v +} + +// GetMaster returns the Master field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *BriefVirtualChassisRequest) GetMaster() NestedDeviceRequest { + if o == nil || IsNil(o.Master.Get()) { + var ret NestedDeviceRequest + return ret + } + return *o.Master.Get() +} + +// GetMasterOk returns a tuple with the Master 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 *BriefVirtualChassisRequest) GetMasterOk() (*NestedDeviceRequest, bool) { + if o == nil { + return nil, false + } + return o.Master.Get(), o.Master.IsSet() +} + +// HasMaster returns a boolean if a field has been set. +func (o *BriefVirtualChassisRequest) HasMaster() bool { + if o != nil && o.Master.IsSet() { + return true + } + + return false +} + +// SetMaster gets a reference to the given NullableNestedDeviceRequest and assigns it to the Master field. +func (o *BriefVirtualChassisRequest) SetMaster(v NestedDeviceRequest) { + o.Master.Set(&v) +} + +// SetMasterNil sets the value for Master to be an explicit nil +func (o *BriefVirtualChassisRequest) SetMasterNil() { + o.Master.Set(nil) +} + +// UnsetMaster ensures that no value is present for Master, not even an explicit nil +func (o *BriefVirtualChassisRequest) UnsetMaster() { + o.Master.Unset() +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefVirtualChassisRequest) 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 *BriefVirtualChassisRequest) 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 *BriefVirtualChassisRequest) 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 *BriefVirtualChassisRequest) SetDescription(v string) { + o.Description = &v +} + +func (o BriefVirtualChassisRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefVirtualChassisRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["name"] = o.Name + if o.Master.IsSet() { + toSerialize["master"] = o.Master.Get() + } + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefVirtualChassisRequest) 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) + } + } + + varBriefVirtualChassisRequest := _BriefVirtualChassisRequest{} + + err = json.Unmarshal(data, &varBriefVirtualChassisRequest) + + if err != nil { + return err + } + + *o = BriefVirtualChassisRequest(varBriefVirtualChassisRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "name") + delete(additionalProperties, "master") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefVirtualChassisRequest struct { + value *BriefVirtualChassisRequest + isSet bool +} + +func (v NullableBriefVirtualChassisRequest) Get() *BriefVirtualChassisRequest { + return v.value +} + +func (v *NullableBriefVirtualChassisRequest) Set(val *BriefVirtualChassisRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefVirtualChassisRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefVirtualChassisRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefVirtualChassisRequest(val *BriefVirtualChassisRequest) *NullableBriefVirtualChassisRequest { + return &NullableBriefVirtualChassisRequest{value: val, isSet: true} +} + +func (v NullableBriefVirtualChassisRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefVirtualChassisRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_virtual_machine.go b/model_brief_virtual_machine.go new file mode 100644 index 000000000..1076ecfcf --- /dev/null +++ b/model_brief_virtual_machine.go @@ -0,0 +1,290 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefVirtualMachine type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefVirtualMachine{} + +// BriefVirtualMachine Adds support for custom fields and tags. +type BriefVirtualMachine struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + Name string `json:"name"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefVirtualMachine BriefVirtualMachine + +// NewBriefVirtualMachine instantiates a new BriefVirtualMachine object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefVirtualMachine(id int32, url string, display string, name string) *BriefVirtualMachine { + this := BriefVirtualMachine{} + this.Id = id + this.Url = url + this.Display = display + this.Name = name + return &this +} + +// NewBriefVirtualMachineWithDefaults instantiates a new BriefVirtualMachine object +// This 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 NewBriefVirtualMachineWithDefaults() *BriefVirtualMachine { + this := BriefVirtualMachine{} + return &this +} + +// GetId returns the Id field value +func (o *BriefVirtualMachine) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefVirtualMachine) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefVirtualMachine) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefVirtualMachine) 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 *BriefVirtualMachine) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefVirtualMachine) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefVirtualMachine) 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 *BriefVirtualMachine) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefVirtualMachine) SetDisplay(v string) { + o.Display = v +} + +// GetName returns the Name field value +func (o *BriefVirtualMachine) 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 *BriefVirtualMachine) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefVirtualMachine) SetName(v string) { + o.Name = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefVirtualMachine) 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 *BriefVirtualMachine) 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 *BriefVirtualMachine) 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 *BriefVirtualMachine) SetDescription(v string) { + o.Description = &v +} + +func (o BriefVirtualMachine) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefVirtualMachine) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["name"] = o.Name + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefVirtualMachine) 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", + "url", + "display", + "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) + } + } + + varBriefVirtualMachine := _BriefVirtualMachine{} + + err = json.Unmarshal(data, &varBriefVirtualMachine) + + if err != nil { + return err + } + + *o = BriefVirtualMachine(varBriefVirtualMachine) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "name") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefVirtualMachine struct { + value *BriefVirtualMachine + isSet bool +} + +func (v NullableBriefVirtualMachine) Get() *BriefVirtualMachine { + return v.value +} + +func (v *NullableBriefVirtualMachine) Set(val *BriefVirtualMachine) { + v.value = val + v.isSet = true +} + +func (v NullableBriefVirtualMachine) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefVirtualMachine) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefVirtualMachine(val *BriefVirtualMachine) *NullableBriefVirtualMachine { + return &NullableBriefVirtualMachine{value: val, isSet: true} +} + +func (v NullableBriefVirtualMachine) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefVirtualMachine) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_virtual_machine_request.go b/model_brief_virtual_machine_request.go new file mode 100644 index 000000000..1dfcefd03 --- /dev/null +++ b/model_brief_virtual_machine_request.go @@ -0,0 +1,203 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefVirtualMachineRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefVirtualMachineRequest{} + +// BriefVirtualMachineRequest Adds support for custom fields and tags. +type BriefVirtualMachineRequest struct { + Name string `json:"name"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefVirtualMachineRequest BriefVirtualMachineRequest + +// NewBriefVirtualMachineRequest instantiates a new BriefVirtualMachineRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefVirtualMachineRequest(name string) *BriefVirtualMachineRequest { + this := BriefVirtualMachineRequest{} + this.Name = name + return &this +} + +// NewBriefVirtualMachineRequestWithDefaults instantiates a new BriefVirtualMachineRequest object +// This 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 NewBriefVirtualMachineRequestWithDefaults() *BriefVirtualMachineRequest { + this := BriefVirtualMachineRequest{} + return &this +} + +// GetName returns the Name field value +func (o *BriefVirtualMachineRequest) 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 *BriefVirtualMachineRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefVirtualMachineRequest) SetName(v string) { + o.Name = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefVirtualMachineRequest) 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 *BriefVirtualMachineRequest) 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 *BriefVirtualMachineRequest) 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 *BriefVirtualMachineRequest) SetDescription(v string) { + o.Description = &v +} + +func (o BriefVirtualMachineRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefVirtualMachineRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["name"] = o.Name + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefVirtualMachineRequest) 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) + } + } + + varBriefVirtualMachineRequest := _BriefVirtualMachineRequest{} + + err = json.Unmarshal(data, &varBriefVirtualMachineRequest) + + if err != nil { + return err + } + + *o = BriefVirtualMachineRequest(varBriefVirtualMachineRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "name") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefVirtualMachineRequest struct { + value *BriefVirtualMachineRequest + isSet bool +} + +func (v NullableBriefVirtualMachineRequest) Get() *BriefVirtualMachineRequest { + return v.value +} + +func (v *NullableBriefVirtualMachineRequest) Set(val *BriefVirtualMachineRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefVirtualMachineRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefVirtualMachineRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefVirtualMachineRequest(val *BriefVirtualMachineRequest) *NullableBriefVirtualMachineRequest { + return &NullableBriefVirtualMachineRequest{value: val, isSet: true} +} + +func (v NullableBriefVirtualMachineRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefVirtualMachineRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_vlan.go b/model_brief_vlan.go new file mode 100644 index 000000000..5ccd6f90d --- /dev/null +++ b/model_brief_vlan.go @@ -0,0 +1,320 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefVLAN type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefVLAN{} + +// BriefVLAN Adds support for custom fields and tags. +type BriefVLAN struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + // Numeric VLAN ID (1-4094) + Vid int32 `json:"vid"` + Name string `json:"name"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefVLAN BriefVLAN + +// NewBriefVLAN instantiates a new BriefVLAN object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefVLAN(id int32, url string, display string, vid int32, name string) *BriefVLAN { + this := BriefVLAN{} + this.Id = id + this.Url = url + this.Display = display + this.Vid = vid + this.Name = name + return &this +} + +// NewBriefVLANWithDefaults instantiates a new BriefVLAN object +// This 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 NewBriefVLANWithDefaults() *BriefVLAN { + this := BriefVLAN{} + return &this +} + +// GetId returns the Id field value +func (o *BriefVLAN) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefVLAN) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefVLAN) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefVLAN) 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 *BriefVLAN) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefVLAN) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefVLAN) 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 *BriefVLAN) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefVLAN) SetDisplay(v string) { + o.Display = v +} + +// GetVid returns the Vid field value +func (o *BriefVLAN) GetVid() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Vid +} + +// GetVidOk returns a tuple with the Vid field value +// and a boolean to check if the value has been set. +func (o *BriefVLAN) GetVidOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Vid, true +} + +// SetVid sets field value +func (o *BriefVLAN) SetVid(v int32) { + o.Vid = v +} + +// GetName returns the Name field value +func (o *BriefVLAN) 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 *BriefVLAN) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefVLAN) SetName(v string) { + o.Name = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefVLAN) 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 *BriefVLAN) 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 *BriefVLAN) 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 *BriefVLAN) SetDescription(v string) { + o.Description = &v +} + +func (o BriefVLAN) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefVLAN) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["vid"] = o.Vid + toSerialize["name"] = o.Name + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefVLAN) 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", + "url", + "display", + "vid", + "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) + } + } + + varBriefVLAN := _BriefVLAN{} + + err = json.Unmarshal(data, &varBriefVLAN) + + if err != nil { + return err + } + + *o = BriefVLAN(varBriefVLAN) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "vid") + delete(additionalProperties, "name") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefVLAN struct { + value *BriefVLAN + isSet bool +} + +func (v NullableBriefVLAN) Get() *BriefVLAN { + return v.value +} + +func (v *NullableBriefVLAN) Set(val *BriefVLAN) { + v.value = val + v.isSet = true +} + +func (v NullableBriefVLAN) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefVLAN) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefVLAN(val *BriefVLAN) *NullableBriefVLAN { + return &NullableBriefVLAN{value: val, isSet: true} +} + +func (v NullableBriefVLAN) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefVLAN) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_vlan_group.go b/model_brief_vlan_group.go new file mode 100644 index 000000000..e04520fc3 --- /dev/null +++ b/model_brief_vlan_group.go @@ -0,0 +1,356 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefVLANGroup type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefVLANGroup{} + +// BriefVLANGroup Adds support for custom fields and tags. +type BriefVLANGroup struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + Name string `json:"name"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + VlanCount *int64 `json:"vlan_count,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefVLANGroup BriefVLANGroup + +// NewBriefVLANGroup instantiates a new BriefVLANGroup object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefVLANGroup(id int32, url string, display string, name string, slug string) *BriefVLANGroup { + this := BriefVLANGroup{} + this.Id = id + this.Url = url + this.Display = display + this.Name = name + this.Slug = slug + return &this +} + +// NewBriefVLANGroupWithDefaults instantiates a new BriefVLANGroup object +// This 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 NewBriefVLANGroupWithDefaults() *BriefVLANGroup { + this := BriefVLANGroup{} + return &this +} + +// GetId returns the Id field value +func (o *BriefVLANGroup) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefVLANGroup) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefVLANGroup) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefVLANGroup) 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 *BriefVLANGroup) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefVLANGroup) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefVLANGroup) 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 *BriefVLANGroup) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefVLANGroup) SetDisplay(v string) { + o.Display = v +} + +// GetName returns the Name field value +func (o *BriefVLANGroup) 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 *BriefVLANGroup) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefVLANGroup) SetName(v string) { + o.Name = v +} + +// GetSlug returns the Slug field value +func (o *BriefVLANGroup) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *BriefVLANGroup) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *BriefVLANGroup) SetSlug(v string) { + o.Slug = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefVLANGroup) 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 *BriefVLANGroup) 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 *BriefVLANGroup) 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 *BriefVLANGroup) SetDescription(v string) { + o.Description = &v +} + +// GetVlanCount returns the VlanCount field value if set, zero value otherwise. +func (o *BriefVLANGroup) GetVlanCount() int64 { + if o == nil || IsNil(o.VlanCount) { + var ret int64 + return ret + } + return *o.VlanCount +} + +// GetVlanCountOk returns a tuple with the VlanCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BriefVLANGroup) GetVlanCountOk() (*int64, bool) { + if o == nil || IsNil(o.VlanCount) { + return nil, false + } + return o.VlanCount, true +} + +// HasVlanCount returns a boolean if a field has been set. +func (o *BriefVLANGroup) HasVlanCount() bool { + if o != nil && !IsNil(o.VlanCount) { + return true + } + + return false +} + +// SetVlanCount gets a reference to the given int64 and assigns it to the VlanCount field. +func (o *BriefVLANGroup) SetVlanCount(v int64) { + o.VlanCount = &v +} + +func (o BriefVLANGroup) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefVLANGroup) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["name"] = o.Name + toSerialize["slug"] = o.Slug + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + if !IsNil(o.VlanCount) { + toSerialize["vlan_count"] = o.VlanCount + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefVLANGroup) 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", + "url", + "display", + "name", + "slug", + } + + 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) + } + } + + varBriefVLANGroup := _BriefVLANGroup{} + + err = json.Unmarshal(data, &varBriefVLANGroup) + + if err != nil { + return err + } + + *o = BriefVLANGroup(varBriefVLANGroup) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "name") + delete(additionalProperties, "slug") + delete(additionalProperties, "description") + delete(additionalProperties, "vlan_count") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefVLANGroup struct { + value *BriefVLANGroup + isSet bool +} + +func (v NullableBriefVLANGroup) Get() *BriefVLANGroup { + return v.value +} + +func (v *NullableBriefVLANGroup) Set(val *BriefVLANGroup) { + v.value = val + v.isSet = true +} + +func (v NullableBriefVLANGroup) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefVLANGroup) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefVLANGroup(val *BriefVLANGroup) *NullableBriefVLANGroup { + return &NullableBriefVLANGroup{value: val, isSet: true} +} + +func (v NullableBriefVLANGroup) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefVLANGroup) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_vlan_group_request.go b/model_brief_vlan_group_request.go new file mode 100644 index 000000000..3b2801844 --- /dev/null +++ b/model_brief_vlan_group_request.go @@ -0,0 +1,232 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefVLANGroupRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefVLANGroupRequest{} + +// BriefVLANGroupRequest Adds support for custom fields and tags. +type BriefVLANGroupRequest struct { + Name string `json:"name"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefVLANGroupRequest BriefVLANGroupRequest + +// NewBriefVLANGroupRequest instantiates a new BriefVLANGroupRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefVLANGroupRequest(name string, slug string) *BriefVLANGroupRequest { + this := BriefVLANGroupRequest{} + this.Name = name + this.Slug = slug + return &this +} + +// NewBriefVLANGroupRequestWithDefaults instantiates a new BriefVLANGroupRequest object +// This 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 NewBriefVLANGroupRequestWithDefaults() *BriefVLANGroupRequest { + this := BriefVLANGroupRequest{} + return &this +} + +// GetName returns the Name field value +func (o *BriefVLANGroupRequest) 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 *BriefVLANGroupRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefVLANGroupRequest) SetName(v string) { + o.Name = v +} + +// GetSlug returns the Slug field value +func (o *BriefVLANGroupRequest) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *BriefVLANGroupRequest) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *BriefVLANGroupRequest) SetSlug(v string) { + o.Slug = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefVLANGroupRequest) 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 *BriefVLANGroupRequest) 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 *BriefVLANGroupRequest) 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 *BriefVLANGroupRequest) SetDescription(v string) { + o.Description = &v +} + +func (o BriefVLANGroupRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefVLANGroupRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["name"] = o.Name + toSerialize["slug"] = o.Slug + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefVLANGroupRequest) 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", + "slug", + } + + 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) + } + } + + varBriefVLANGroupRequest := _BriefVLANGroupRequest{} + + err = json.Unmarshal(data, &varBriefVLANGroupRequest) + + if err != nil { + return err + } + + *o = BriefVLANGroupRequest(varBriefVLANGroupRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "name") + delete(additionalProperties, "slug") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefVLANGroupRequest struct { + value *BriefVLANGroupRequest + isSet bool +} + +func (v NullableBriefVLANGroupRequest) Get() *BriefVLANGroupRequest { + return v.value +} + +func (v *NullableBriefVLANGroupRequest) Set(val *BriefVLANGroupRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefVLANGroupRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefVLANGroupRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefVLANGroupRequest(val *BriefVLANGroupRequest) *NullableBriefVLANGroupRequest { + return &NullableBriefVLANGroupRequest{value: val, isSet: true} +} + +func (v NullableBriefVLANGroupRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefVLANGroupRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_vlan_request.go b/model_brief_vlan_request.go new file mode 100644 index 000000000..ec5559a13 --- /dev/null +++ b/model_brief_vlan_request.go @@ -0,0 +1,233 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefVLANRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefVLANRequest{} + +// BriefVLANRequest Adds support for custom fields and tags. +type BriefVLANRequest struct { + // Numeric VLAN ID (1-4094) + Vid int32 `json:"vid"` + Name string `json:"name"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefVLANRequest BriefVLANRequest + +// NewBriefVLANRequest instantiates a new BriefVLANRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefVLANRequest(vid int32, name string) *BriefVLANRequest { + this := BriefVLANRequest{} + this.Vid = vid + this.Name = name + return &this +} + +// NewBriefVLANRequestWithDefaults instantiates a new BriefVLANRequest object +// This 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 NewBriefVLANRequestWithDefaults() *BriefVLANRequest { + this := BriefVLANRequest{} + return &this +} + +// GetVid returns the Vid field value +func (o *BriefVLANRequest) GetVid() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Vid +} + +// GetVidOk returns a tuple with the Vid field value +// and a boolean to check if the value has been set. +func (o *BriefVLANRequest) GetVidOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Vid, true +} + +// SetVid sets field value +func (o *BriefVLANRequest) SetVid(v int32) { + o.Vid = v +} + +// GetName returns the Name field value +func (o *BriefVLANRequest) 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 *BriefVLANRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefVLANRequest) SetName(v string) { + o.Name = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefVLANRequest) 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 *BriefVLANRequest) 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 *BriefVLANRequest) 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 *BriefVLANRequest) SetDescription(v string) { + o.Description = &v +} + +func (o BriefVLANRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefVLANRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["vid"] = o.Vid + toSerialize["name"] = o.Name + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefVLANRequest) 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{ + "vid", + "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) + } + } + + varBriefVLANRequest := _BriefVLANRequest{} + + err = json.Unmarshal(data, &varBriefVLANRequest) + + if err != nil { + return err + } + + *o = BriefVLANRequest(varBriefVLANRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "vid") + delete(additionalProperties, "name") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefVLANRequest struct { + value *BriefVLANRequest + isSet bool +} + +func (v NullableBriefVLANRequest) Get() *BriefVLANRequest { + return v.value +} + +func (v *NullableBriefVLANRequest) Set(val *BriefVLANRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefVLANRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefVLANRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefVLANRequest(val *BriefVLANRequest) *NullableBriefVLANRequest { + return &NullableBriefVLANRequest{value: val, isSet: true} +} + +func (v NullableBriefVLANRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefVLANRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_vrf.go b/model_brief_vrf.go new file mode 100644 index 000000000..0fb8684c3 --- /dev/null +++ b/model_brief_vrf.go @@ -0,0 +1,376 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefVRF type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefVRF{} + +// BriefVRF Adds support for custom fields and tags. +type BriefVRF struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + Name string `json:"name"` + // Unique route distinguisher (as defined in RFC 4364) + Rd NullableString `json:"rd,omitempty"` + Description *string `json:"description,omitempty"` + PrefixCount *int64 `json:"prefix_count,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefVRF BriefVRF + +// NewBriefVRF instantiates a new BriefVRF object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefVRF(id int32, url string, display string, name string) *BriefVRF { + this := BriefVRF{} + this.Id = id + this.Url = url + this.Display = display + this.Name = name + return &this +} + +// NewBriefVRFWithDefaults instantiates a new BriefVRF object +// This 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 NewBriefVRFWithDefaults() *BriefVRF { + this := BriefVRF{} + return &this +} + +// GetId returns the Id field value +func (o *BriefVRF) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefVRF) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefVRF) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefVRF) 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 *BriefVRF) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefVRF) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefVRF) 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 *BriefVRF) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefVRF) SetDisplay(v string) { + o.Display = v +} + +// GetName returns the Name field value +func (o *BriefVRF) 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 *BriefVRF) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefVRF) SetName(v string) { + o.Name = v +} + +// GetRd returns the Rd field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *BriefVRF) GetRd() string { + 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 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 *BriefVRF) GetRdOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Rd.Get(), o.Rd.IsSet() +} + +// HasRd returns a boolean if a field has been set. +func (o *BriefVRF) 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 *BriefVRF) SetRd(v string) { + o.Rd.Set(&v) +} + +// SetRdNil sets the value for Rd to be an explicit nil +func (o *BriefVRF) SetRdNil() { + o.Rd.Set(nil) +} + +// UnsetRd ensures that no value is present for Rd, not even an explicit nil +func (o *BriefVRF) UnsetRd() { + o.Rd.Unset() +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefVRF) 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 *BriefVRF) 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 *BriefVRF) 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 *BriefVRF) SetDescription(v string) { + o.Description = &v +} + +// GetPrefixCount returns the PrefixCount field value if set, zero value otherwise. +func (o *BriefVRF) GetPrefixCount() int64 { + if o == nil || IsNil(o.PrefixCount) { + var ret int64 + return ret + } + return *o.PrefixCount +} + +// GetPrefixCountOk returns a tuple with the PrefixCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BriefVRF) GetPrefixCountOk() (*int64, bool) { + if o == nil || IsNil(o.PrefixCount) { + return nil, false + } + return o.PrefixCount, true +} + +// HasPrefixCount returns a boolean if a field has been set. +func (o *BriefVRF) HasPrefixCount() bool { + if o != nil && !IsNil(o.PrefixCount) { + return true + } + + return false +} + +// SetPrefixCount gets a reference to the given int64 and assigns it to the PrefixCount field. +func (o *BriefVRF) SetPrefixCount(v int64) { + o.PrefixCount = &v +} + +func (o BriefVRF) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefVRF) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["name"] = o.Name + if o.Rd.IsSet() { + toSerialize["rd"] = o.Rd.Get() + } + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + if !IsNil(o.PrefixCount) { + toSerialize["prefix_count"] = o.PrefixCount + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefVRF) 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", + "url", + "display", + "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) + } + } + + varBriefVRF := _BriefVRF{} + + err = json.Unmarshal(data, &varBriefVRF) + + if err != nil { + return err + } + + *o = BriefVRF(varBriefVRF) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "name") + delete(additionalProperties, "rd") + delete(additionalProperties, "description") + delete(additionalProperties, "prefix_count") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefVRF struct { + value *BriefVRF + isSet bool +} + +func (v NullableBriefVRF) Get() *BriefVRF { + return v.value +} + +func (v *NullableBriefVRF) Set(val *BriefVRF) { + v.value = val + v.isSet = true +} + +func (v NullableBriefVRF) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefVRF) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefVRF(val *BriefVRF) *NullableBriefVRF { + return &NullableBriefVRF{value: val, isSet: true} +} + +func (v NullableBriefVRF) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefVRF) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_vrf_request.go b/model_brief_vrf_request.go new file mode 100644 index 000000000..e6a1e3222 --- /dev/null +++ b/model_brief_vrf_request.go @@ -0,0 +1,252 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefVRFRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefVRFRequest{} + +// BriefVRFRequest Adds support for custom fields and tags. +type BriefVRFRequest struct { + Name string `json:"name"` + // Unique route distinguisher (as defined in RFC 4364) + Rd NullableString `json:"rd,omitempty"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefVRFRequest BriefVRFRequest + +// NewBriefVRFRequest instantiates a new BriefVRFRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefVRFRequest(name string) *BriefVRFRequest { + this := BriefVRFRequest{} + this.Name = name + return &this +} + +// NewBriefVRFRequestWithDefaults instantiates a new BriefVRFRequest object +// This 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 NewBriefVRFRequestWithDefaults() *BriefVRFRequest { + this := BriefVRFRequest{} + return &this +} + +// GetName returns the Name field value +func (o *BriefVRFRequest) 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 *BriefVRFRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefVRFRequest) SetName(v string) { + o.Name = v +} + +// GetRd returns the Rd field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *BriefVRFRequest) GetRd() string { + 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 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 *BriefVRFRequest) GetRdOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Rd.Get(), o.Rd.IsSet() +} + +// HasRd returns a boolean if a field has been set. +func (o *BriefVRFRequest) 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 *BriefVRFRequest) SetRd(v string) { + o.Rd.Set(&v) +} + +// SetRdNil sets the value for Rd to be an explicit nil +func (o *BriefVRFRequest) SetRdNil() { + o.Rd.Set(nil) +} + +// UnsetRd ensures that no value is present for Rd, not even an explicit nil +func (o *BriefVRFRequest) UnsetRd() { + o.Rd.Unset() +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefVRFRequest) 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 *BriefVRFRequest) 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 *BriefVRFRequest) 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 *BriefVRFRequest) SetDescription(v string) { + o.Description = &v +} + +func (o BriefVRFRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefVRFRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["name"] = o.Name + if o.Rd.IsSet() { + toSerialize["rd"] = o.Rd.Get() + } + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefVRFRequest) 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) + } + } + + varBriefVRFRequest := _BriefVRFRequest{} + + err = json.Unmarshal(data, &varBriefVRFRequest) + + if err != nil { + return err + } + + *o = BriefVRFRequest(varBriefVRFRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "name") + delete(additionalProperties, "rd") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefVRFRequest struct { + value *BriefVRFRequest + isSet bool +} + +func (v NullableBriefVRFRequest) Get() *BriefVRFRequest { + return v.value +} + +func (v *NullableBriefVRFRequest) Set(val *BriefVRFRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefVRFRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefVRFRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefVRFRequest(val *BriefVRFRequest) *NullableBriefVRFRequest { + return &NullableBriefVRFRequest{value: val, isSet: true} +} + +func (v NullableBriefVRFRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefVRFRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_wireless_lan_group.go b/model_brief_wireless_lan_group.go new file mode 100644 index 000000000..ef7f4e4fa --- /dev/null +++ b/model_brief_wireless_lan_group.go @@ -0,0 +1,377 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefWirelessLANGroup type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefWirelessLANGroup{} + +// BriefWirelessLANGroup Extends PrimaryModelSerializer to include MPTT support. +type BriefWirelessLANGroup struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + Name string `json:"name"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + WirelesslanCount int32 `json:"wirelesslan_count"` + Depth int32 `json:"_depth"` + AdditionalProperties map[string]interface{} +} + +type _BriefWirelessLANGroup BriefWirelessLANGroup + +// NewBriefWirelessLANGroup instantiates a new BriefWirelessLANGroup object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefWirelessLANGroup(id int32, url string, display string, name string, slug string, wirelesslanCount int32, depth int32) *BriefWirelessLANGroup { + this := BriefWirelessLANGroup{} + this.Id = id + this.Url = url + this.Display = display + this.Name = name + this.Slug = slug + this.WirelesslanCount = wirelesslanCount + this.Depth = depth + return &this +} + +// NewBriefWirelessLANGroupWithDefaults instantiates a new BriefWirelessLANGroup object +// This 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 NewBriefWirelessLANGroupWithDefaults() *BriefWirelessLANGroup { + this := BriefWirelessLANGroup{} + return &this +} + +// GetId returns the Id field value +func (o *BriefWirelessLANGroup) GetId() int32 { + if o == nil { + var ret int32 + 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 *BriefWirelessLANGroup) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *BriefWirelessLANGroup) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *BriefWirelessLANGroup) 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 *BriefWirelessLANGroup) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *BriefWirelessLANGroup) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *BriefWirelessLANGroup) 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 *BriefWirelessLANGroup) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *BriefWirelessLANGroup) SetDisplay(v string) { + o.Display = v +} + +// GetName returns the Name field value +func (o *BriefWirelessLANGroup) 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 *BriefWirelessLANGroup) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefWirelessLANGroup) SetName(v string) { + o.Name = v +} + +// GetSlug returns the Slug field value +func (o *BriefWirelessLANGroup) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *BriefWirelessLANGroup) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *BriefWirelessLANGroup) SetSlug(v string) { + o.Slug = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefWirelessLANGroup) 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 *BriefWirelessLANGroup) 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 *BriefWirelessLANGroup) 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 *BriefWirelessLANGroup) SetDescription(v string) { + o.Description = &v +} + +// GetWirelesslanCount returns the WirelesslanCount field value +func (o *BriefWirelessLANGroup) GetWirelesslanCount() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.WirelesslanCount +} + +// GetWirelesslanCountOk returns a tuple with the WirelesslanCount field value +// and a boolean to check if the value has been set. +func (o *BriefWirelessLANGroup) GetWirelesslanCountOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.WirelesslanCount, true +} + +// SetWirelesslanCount sets field value +func (o *BriefWirelessLANGroup) SetWirelesslanCount(v int32) { + o.WirelesslanCount = v +} + +// GetDepth returns the Depth field value +func (o *BriefWirelessLANGroup) GetDepth() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Depth +} + +// GetDepthOk returns a tuple with the Depth field value +// and a boolean to check if the value has been set. +func (o *BriefWirelessLANGroup) GetDepthOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Depth, true +} + +// SetDepth sets field value +func (o *BriefWirelessLANGroup) SetDepth(v int32) { + o.Depth = v +} + +func (o BriefWirelessLANGroup) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefWirelessLANGroup) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["name"] = o.Name + toSerialize["slug"] = o.Slug + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + toSerialize["wirelesslan_count"] = o.WirelesslanCount + toSerialize["_depth"] = o.Depth + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefWirelessLANGroup) 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", + "url", + "display", + "name", + "slug", + "wirelesslan_count", + "_depth", + } + + 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) + } + } + + varBriefWirelessLANGroup := _BriefWirelessLANGroup{} + + err = json.Unmarshal(data, &varBriefWirelessLANGroup) + + if err != nil { + return err + } + + *o = BriefWirelessLANGroup(varBriefWirelessLANGroup) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "name") + delete(additionalProperties, "slug") + delete(additionalProperties, "description") + delete(additionalProperties, "wirelesslan_count") + delete(additionalProperties, "_depth") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefWirelessLANGroup struct { + value *BriefWirelessLANGroup + isSet bool +} + +func (v NullableBriefWirelessLANGroup) Get() *BriefWirelessLANGroup { + return v.value +} + +func (v *NullableBriefWirelessLANGroup) Set(val *BriefWirelessLANGroup) { + v.value = val + v.isSet = true +} + +func (v NullableBriefWirelessLANGroup) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefWirelessLANGroup) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefWirelessLANGroup(val *BriefWirelessLANGroup) *NullableBriefWirelessLANGroup { + return &NullableBriefWirelessLANGroup{value: val, isSet: true} +} + +func (v NullableBriefWirelessLANGroup) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefWirelessLANGroup) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_brief_wireless_lan_group_request.go b/model_brief_wireless_lan_group_request.go new file mode 100644 index 000000000..f20d3e3a1 --- /dev/null +++ b/model_brief_wireless_lan_group_request.go @@ -0,0 +1,232 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the BriefWirelessLANGroupRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BriefWirelessLANGroupRequest{} + +// BriefWirelessLANGroupRequest Extends PrimaryModelSerializer to include MPTT support. +type BriefWirelessLANGroupRequest struct { + Name string `json:"name"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BriefWirelessLANGroupRequest BriefWirelessLANGroupRequest + +// NewBriefWirelessLANGroupRequest instantiates a new BriefWirelessLANGroupRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBriefWirelessLANGroupRequest(name string, slug string) *BriefWirelessLANGroupRequest { + this := BriefWirelessLANGroupRequest{} + this.Name = name + this.Slug = slug + return &this +} + +// NewBriefWirelessLANGroupRequestWithDefaults instantiates a new BriefWirelessLANGroupRequest object +// This 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 NewBriefWirelessLANGroupRequestWithDefaults() *BriefWirelessLANGroupRequest { + this := BriefWirelessLANGroupRequest{} + return &this +} + +// GetName returns the Name field value +func (o *BriefWirelessLANGroupRequest) 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 *BriefWirelessLANGroupRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *BriefWirelessLANGroupRequest) SetName(v string) { + o.Name = v +} + +// GetSlug returns the Slug field value +func (o *BriefWirelessLANGroupRequest) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *BriefWirelessLANGroupRequest) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *BriefWirelessLANGroupRequest) SetSlug(v string) { + o.Slug = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *BriefWirelessLANGroupRequest) 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 *BriefWirelessLANGroupRequest) 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 *BriefWirelessLANGroupRequest) 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 *BriefWirelessLANGroupRequest) SetDescription(v string) { + o.Description = &v +} + +func (o BriefWirelessLANGroupRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BriefWirelessLANGroupRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["name"] = o.Name + toSerialize["slug"] = o.Slug + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BriefWirelessLANGroupRequest) 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", + "slug", + } + + 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) + } + } + + varBriefWirelessLANGroupRequest := _BriefWirelessLANGroupRequest{} + + err = json.Unmarshal(data, &varBriefWirelessLANGroupRequest) + + if err != nil { + return err + } + + *o = BriefWirelessLANGroupRequest(varBriefWirelessLANGroupRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "name") + delete(additionalProperties, "slug") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBriefWirelessLANGroupRequest struct { + value *BriefWirelessLANGroupRequest + isSet bool +} + +func (v NullableBriefWirelessLANGroupRequest) Get() *BriefWirelessLANGroupRequest { + return v.value +} + +func (v *NullableBriefWirelessLANGroupRequest) Set(val *BriefWirelessLANGroupRequest) { + v.value = val + v.isSet = true +} + +func (v NullableBriefWirelessLANGroupRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableBriefWirelessLANGroupRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBriefWirelessLANGroupRequest(val *BriefWirelessLANGroupRequest) *NullableBriefWirelessLANGroupRequest { + return &NullableBriefWirelessLANGroupRequest{value: val, isSet: true} +} + +func (v NullableBriefWirelessLANGroupRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBriefWirelessLANGroupRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_cable.go b/model_cable.go index b9a89b5f0..06371d7d9 100644 --- a/model_cable.go +++ b/model_cable.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -13,6 +13,7 @@ package netbox import ( "encoding/json" "fmt" + "time" ) // checks if the Cable type satisfies the MappedNullable interface at compile time @@ -20,11 +21,25 @@ var _ MappedNullable = &Cable{} // Cable Adds support for custom fields and tags. type Cable struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - Label *string `json:"label,omitempty"` - Description *string `json:"description,omitempty"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Type *CableType `json:"type,omitempty"` + ATerminations []GenericObject `json:"a_terminations,omitempty"` + BTerminations []GenericObject `json:"b_terminations,omitempty"` + Status *CableStatus `json:"status,omitempty"` + Tenant NullableBriefTenant `json:"tenant,omitempty"` + Label *string `json:"label,omitempty"` + Color *string `json:"color,omitempty"` + Length NullableFloat64 `json:"length,omitempty"` + LengthUnit NullableCableLengthUnit `json:"length_unit,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTag `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Created NullableTime `json:"created"` + LastUpdated NullableTime `json:"last_updated"` AdditionalProperties map[string]interface{} } @@ -34,11 +49,13 @@ 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 int32, url string, display string) *Cable { +func NewCable(id int32, url string, display string, created NullableTime, lastUpdated NullableTime) *Cable { this := Cable{} this.Id = id this.Url = url this.Display = display + this.Created = created + this.LastUpdated = lastUpdated return &this } @@ -98,6 +115,38 @@ func (o *Cable) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *Cable) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Cable) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *Cable) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *Cable) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *Cable) GetDisplay() string { if o == nil { @@ -122,6 +171,177 @@ func (o *Cable) SetDisplay(v string) { o.Display = v } +// GetType returns the Type field value if set, zero value otherwise. +func (o *Cable) GetType() CableType { + if o == nil || IsNil(o.Type) { + var ret CableType + return ret + } + return *o.Type +} + +// GetTypeOk returns a tuple with the Type field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Cable) GetTypeOk() (*CableType, bool) { + if o == nil || IsNil(o.Type) { + return nil, false + } + return o.Type, true +} + +// HasType returns a boolean if a field has been set. +func (o *Cable) HasType() bool { + if o != nil && !IsNil(o.Type) { + return true + } + + return false +} + +// SetType gets a reference to the given CableType and assigns it to the Type field. +func (o *Cable) SetType(v CableType) { + o.Type = &v +} + +// GetATerminations returns the ATerminations field value if set, zero value otherwise. +func (o *Cable) GetATerminations() []GenericObject { + if o == nil || IsNil(o.ATerminations) { + var ret []GenericObject + return ret + } + return o.ATerminations +} + +// GetATerminationsOk returns a tuple with the ATerminations field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Cable) GetATerminationsOk() ([]GenericObject, bool) { + if o == nil || IsNil(o.ATerminations) { + return nil, false + } + return o.ATerminations, true +} + +// HasATerminations returns a boolean if a field has been set. +func (o *Cable) HasATerminations() bool { + if o != nil && !IsNil(o.ATerminations) { + return true + } + + return false +} + +// SetATerminations gets a reference to the given []GenericObject and assigns it to the ATerminations field. +func (o *Cable) SetATerminations(v []GenericObject) { + o.ATerminations = v +} + +// GetBTerminations returns the BTerminations field value if set, zero value otherwise. +func (o *Cable) GetBTerminations() []GenericObject { + if o == nil || IsNil(o.BTerminations) { + var ret []GenericObject + return ret + } + return o.BTerminations +} + +// GetBTerminationsOk returns a tuple with the BTerminations field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Cable) GetBTerminationsOk() ([]GenericObject, bool) { + if o == nil || IsNil(o.BTerminations) { + return nil, false + } + return o.BTerminations, true +} + +// HasBTerminations returns a boolean if a field has been set. +func (o *Cable) HasBTerminations() bool { + if o != nil && !IsNil(o.BTerminations) { + return true + } + + return false +} + +// SetBTerminations gets a reference to the given []GenericObject and assigns it to the BTerminations field. +func (o *Cable) SetBTerminations(v []GenericObject) { + o.BTerminations = v +} + +// GetStatus returns the Status field value if set, zero value otherwise. +func (o *Cable) GetStatus() CableStatus { + if o == nil || IsNil(o.Status) { + var ret CableStatus + 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 *Cable) GetStatusOk() (*CableStatus, 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 *Cable) HasStatus() bool { + if o != nil && !IsNil(o.Status) { + return true + } + + return false +} + +// SetStatus gets a reference to the given CableStatus and assigns it to the Status field. +func (o *Cable) SetStatus(v CableStatus) { + o.Status = &v +} + +// GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Cable) GetTenant() BriefTenant { + if o == nil || IsNil(o.Tenant.Get()) { + var ret BriefTenant + 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 *Cable) GetTenantOk() (*BriefTenant, 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 *Cable) HasTenant() bool { + if o != nil && o.Tenant.IsSet() { + return true + } + + return false +} + +// SetTenant gets a reference to the given NullableBriefTenant and assigns it to the Tenant field. +func (o *Cable) SetTenant(v BriefTenant) { + o.Tenant.Set(&v) +} + +// SetTenantNil sets the value for Tenant to be an explicit nil +func (o *Cable) SetTenantNil() { + o.Tenant.Set(nil) +} + +// UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +func (o *Cable) UnsetTenant() { + o.Tenant.Unset() +} + // GetLabel returns the Label field value if set, zero value otherwise. func (o *Cable) GetLabel() string { if o == nil || IsNil(o.Label) { @@ -154,6 +374,124 @@ func (o *Cable) SetLabel(v string) { o.Label = &v } +// GetColor returns the Color field value if set, zero value otherwise. +func (o *Cable) GetColor() string { + if o == nil || IsNil(o.Color) { + var ret string + return ret + } + return *o.Color +} + +// GetColorOk returns a tuple with the Color field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Cable) GetColorOk() (*string, bool) { + if o == nil || IsNil(o.Color) { + return nil, false + } + return o.Color, true +} + +// HasColor returns a boolean if a field has been set. +func (o *Cable) HasColor() bool { + if o != nil && !IsNil(o.Color) { + return true + } + + return false +} + +// SetColor gets a reference to the given string and assigns it to the Color field. +func (o *Cable) SetColor(v string) { + o.Color = &v +} + +// GetLength returns the Length field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Cable) GetLength() float64 { + if o == nil || IsNil(o.Length.Get()) { + var ret float64 + return ret + } + return *o.Length.Get() +} + +// GetLengthOk returns a tuple with the Length 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 *Cable) GetLengthOk() (*float64, bool) { + if o == nil { + return nil, false + } + return o.Length.Get(), o.Length.IsSet() +} + +// HasLength returns a boolean if a field has been set. +func (o *Cable) HasLength() bool { + if o != nil && o.Length.IsSet() { + return true + } + + return false +} + +// SetLength gets a reference to the given NullableFloat64 and assigns it to the Length field. +func (o *Cable) SetLength(v float64) { + o.Length.Set(&v) +} + +// SetLengthNil sets the value for Length to be an explicit nil +func (o *Cable) SetLengthNil() { + o.Length.Set(nil) +} + +// UnsetLength ensures that no value is present for Length, not even an explicit nil +func (o *Cable) UnsetLength() { + o.Length.Unset() +} + +// GetLengthUnit returns the LengthUnit field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Cable) GetLengthUnit() CableLengthUnit { + if o == nil || IsNil(o.LengthUnit.Get()) { + var ret CableLengthUnit + return ret + } + return *o.LengthUnit.Get() +} + +// GetLengthUnitOk returns a tuple with the LengthUnit 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 *Cable) GetLengthUnitOk() (*CableLengthUnit, bool) { + if o == nil { + return nil, false + } + return o.LengthUnit.Get(), o.LengthUnit.IsSet() +} + +// HasLengthUnit returns a boolean if a field has been set. +func (o *Cable) HasLengthUnit() bool { + if o != nil && o.LengthUnit.IsSet() { + return true + } + + return false +} + +// SetLengthUnit gets a reference to the given NullableCableLengthUnit and assigns it to the LengthUnit field. +func (o *Cable) SetLengthUnit(v CableLengthUnit) { + o.LengthUnit.Set(&v) +} + +// SetLengthUnitNil sets the value for LengthUnit to be an explicit nil +func (o *Cable) SetLengthUnitNil() { + o.LengthUnit.Set(nil) +} + +// UnsetLengthUnit ensures that no value is present for LengthUnit, not even an explicit nil +func (o *Cable) UnsetLengthUnit() { + o.LengthUnit.Unset() +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *Cable) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -186,6 +524,154 @@ func (o *Cable) SetDescription(v string) { o.Description = &v } +// GetComments returns the Comments field value if set, zero value otherwise. +func (o *Cable) GetComments() string { + if o == nil || IsNil(o.Comments) { + var ret string + return ret + } + return *o.Comments +} + +// GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Cable) GetCommentsOk() (*string, bool) { + if o == nil || IsNil(o.Comments) { + return nil, false + } + return o.Comments, true +} + +// HasComments returns a boolean if a field has been set. +func (o *Cable) HasComments() bool { + if o != nil && !IsNil(o.Comments) { + return true + } + + return false +} + +// SetComments gets a reference to the given string and assigns it to the Comments field. +func (o *Cable) SetComments(v string) { + o.Comments = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *Cable) GetTags() []NestedTag { + if o == nil || IsNil(o.Tags) { + var ret []NestedTag + 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 *Cable) GetTagsOk() ([]NestedTag, 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 *Cable) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTag and assigns it to the Tags field. +func (o *Cable) SetTags(v []NestedTag) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *Cable) 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 *Cable) 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 *Cable) 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 *Cable) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetCreated returns the Created field value +// If the value is explicit nil, the zero value for time.Time will be returned +func (o *Cable) 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 *Cable) GetCreatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.Created.Get(), o.Created.IsSet() +} + +// SetCreated sets field value +func (o *Cable) 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 *Cable) 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 *Cable) GetLastUpdatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LastUpdated.Get(), o.LastUpdated.IsSet() +} + +// SetLastUpdated sets field value +func (o *Cable) SetLastUpdated(v time.Time) { + o.LastUpdated.Set(&v) +} + func (o Cable) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -198,13 +684,51 @@ func (o Cable) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display + if !IsNil(o.Type) { + toSerialize["type"] = o.Type + } + if !IsNil(o.ATerminations) { + toSerialize["a_terminations"] = o.ATerminations + } + if !IsNil(o.BTerminations) { + toSerialize["b_terminations"] = o.BTerminations + } + if !IsNil(o.Status) { + toSerialize["status"] = o.Status + } + if o.Tenant.IsSet() { + toSerialize["tenant"] = o.Tenant.Get() + } if !IsNil(o.Label) { toSerialize["label"] = o.Label } + if !IsNil(o.Color) { + toSerialize["color"] = o.Color + } + if o.Length.IsSet() { + toSerialize["length"] = o.Length.Get() + } + if o.LengthUnit.IsSet() { + toSerialize["length_unit"] = o.LengthUnit.Get() + } if !IsNil(o.Description) { toSerialize["description"] = o.Description } + if !IsNil(o.Comments) { + toSerialize["comments"] = o.Comments + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + toSerialize["created"] = o.Created.Get() + toSerialize["last_updated"] = o.LastUpdated.Get() for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -221,6 +745,8 @@ func (o *Cable) UnmarshalJSON(data []byte) (err error) { "id", "url", "display", + "created", + "last_updated", } allProperties := make(map[string]interface{}) @@ -252,9 +778,23 @@ func (o *Cable) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") + delete(additionalProperties, "type") + delete(additionalProperties, "a_terminations") + delete(additionalProperties, "b_terminations") + delete(additionalProperties, "status") + delete(additionalProperties, "tenant") delete(additionalProperties, "label") + delete(additionalProperties, "color") + delete(additionalProperties, "length") + delete(additionalProperties, "length_unit") delete(additionalProperties, "description") + delete(additionalProperties, "comments") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "created") + delete(additionalProperties, "last_updated") o.AdditionalProperties = additionalProperties } diff --git a/model_cable_length_unit.go b/model_cable_length_unit.go new file mode 100644 index 000000000..8970e919f --- /dev/null +++ b/model_cable_length_unit.go @@ -0,0 +1,190 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" +) + +// checks if the CableLengthUnit type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &CableLengthUnit{} + +// CableLengthUnit struct for CableLengthUnit +type CableLengthUnit struct { + Value *CableLengthUnitValue `json:"value,omitempty"` + Label *CableLengthUnitLabel `json:"label,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _CableLengthUnit CableLengthUnit + +// NewCableLengthUnit instantiates a new CableLengthUnit object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewCableLengthUnit() *CableLengthUnit { + this := CableLengthUnit{} + return &this +} + +// NewCableLengthUnitWithDefaults instantiates a new CableLengthUnit object +// This 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 NewCableLengthUnitWithDefaults() *CableLengthUnit { + this := CableLengthUnit{} + return &this +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *CableLengthUnit) GetValue() CableLengthUnitValue { + if o == nil || IsNil(o.Value) { + var ret CableLengthUnitValue + 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 *CableLengthUnit) GetValueOk() (*CableLengthUnitValue, 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 *CableLengthUnit) HasValue() bool { + if o != nil && !IsNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given CableLengthUnitValue and assigns it to the Value field. +func (o *CableLengthUnit) SetValue(v CableLengthUnitValue) { + o.Value = &v +} + +// GetLabel returns the Label field value if set, zero value otherwise. +func (o *CableLengthUnit) GetLabel() CableLengthUnitLabel { + if o == nil || IsNil(o.Label) { + var ret CableLengthUnitLabel + 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 *CableLengthUnit) GetLabelOk() (*CableLengthUnitLabel, 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 *CableLengthUnit) HasLabel() bool { + if o != nil && !IsNil(o.Label) { + return true + } + + return false +} + +// SetLabel gets a reference to the given CableLengthUnitLabel and assigns it to the Label field. +func (o *CableLengthUnit) SetLabel(v CableLengthUnitLabel) { + o.Label = &v +} + +func (o CableLengthUnit) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o CableLengthUnit) 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 *CableLengthUnit) UnmarshalJSON(data []byte) (err error) { + varCableLengthUnit := _CableLengthUnit{} + + err = json.Unmarshal(data, &varCableLengthUnit) + + if err != nil { + return err + } + + *o = CableLengthUnit(varCableLengthUnit) + + 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 NullableCableLengthUnit struct { + value *CableLengthUnit + isSet bool +} + +func (v NullableCableLengthUnit) Get() *CableLengthUnit { + return v.value +} + +func (v *NullableCableLengthUnit) Set(val *CableLengthUnit) { + v.value = val + v.isSet = true +} + +func (v NullableCableLengthUnit) IsSet() bool { + return v.isSet +} + +func (v *NullableCableLengthUnit) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCableLengthUnit(val *CableLengthUnit) *NullableCableLengthUnit { + return &NullableCableLengthUnit{value: val, isSet: true} +} + +func (v NullableCableLengthUnit) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCableLengthUnit) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_cable_length_unit_label.go b/model_cable_length_unit_label.go new file mode 100644 index 000000000..1ffa11ec0 --- /dev/null +++ b/model_cable_length_unit_label.go @@ -0,0 +1,118 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// CableLengthUnitLabel the model 'CableLengthUnitLabel' +type CableLengthUnitLabel string + +// List of Cable_length_unit_label +const ( + CABLELENGTHUNITLABEL_KILOMETERS CableLengthUnitLabel = "Kilometers" + CABLELENGTHUNITLABEL_METERS CableLengthUnitLabel = "Meters" + CABLELENGTHUNITLABEL_CENTIMETERS CableLengthUnitLabel = "Centimeters" + CABLELENGTHUNITLABEL_MILES CableLengthUnitLabel = "Miles" + CABLELENGTHUNITLABEL_FEET CableLengthUnitLabel = "Feet" + CABLELENGTHUNITLABEL_INCHES CableLengthUnitLabel = "Inches" +) + +// All allowed values of CableLengthUnitLabel enum +var AllowedCableLengthUnitLabelEnumValues = []CableLengthUnitLabel{ + "Kilometers", + "Meters", + "Centimeters", + "Miles", + "Feet", + "Inches", +} + +func (v *CableLengthUnitLabel) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := CableLengthUnitLabel(value) + for _, existing := range AllowedCableLengthUnitLabelEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid CableLengthUnitLabel", value) +} + +// NewCableLengthUnitLabelFromValue returns a pointer to a valid CableLengthUnitLabel +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewCableLengthUnitLabelFromValue(v string) (*CableLengthUnitLabel, error) { + ev := CableLengthUnitLabel(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for CableLengthUnitLabel: valid values are %v", v, AllowedCableLengthUnitLabelEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v CableLengthUnitLabel) IsValid() bool { + for _, existing := range AllowedCableLengthUnitLabelEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to Cable_length_unit_label value +func (v CableLengthUnitLabel) Ptr() *CableLengthUnitLabel { + return &v +} + +type NullableCableLengthUnitLabel struct { + value *CableLengthUnitLabel + isSet bool +} + +func (v NullableCableLengthUnitLabel) Get() *CableLengthUnitLabel { + return v.value +} + +func (v *NullableCableLengthUnitLabel) Set(val *CableLengthUnitLabel) { + v.value = val + v.isSet = true +} + +func (v NullableCableLengthUnitLabel) IsSet() bool { + return v.isSet +} + +func (v *NullableCableLengthUnitLabel) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCableLengthUnitLabel(val *CableLengthUnitLabel) *NullableCableLengthUnitLabel { + return &NullableCableLengthUnitLabel{value: val, isSet: true} +} + +func (v NullableCableLengthUnitLabel) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCableLengthUnitLabel) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_cable_length_unit_value.go b/model_cable_length_unit_value.go new file mode 100644 index 000000000..515915824 --- /dev/null +++ b/model_cable_length_unit_value.go @@ -0,0 +1,120 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// CableLengthUnitValue * `km` - Kilometers * `m` - Meters * `cm` - Centimeters * `mi` - Miles * `ft` - Feet * `in` - Inches +type CableLengthUnitValue string + +// List of Cable_length_unit_value +const ( + CABLELENGTHUNITVALUE_KM CableLengthUnitValue = "km" + CABLELENGTHUNITVALUE_M CableLengthUnitValue = "m" + CABLELENGTHUNITVALUE_CM CableLengthUnitValue = "cm" + CABLELENGTHUNITVALUE_MI CableLengthUnitValue = "mi" + CABLELENGTHUNITVALUE_FT CableLengthUnitValue = "ft" + CABLELENGTHUNITVALUE_IN CableLengthUnitValue = "in" + CABLELENGTHUNITVALUE_EMPTY CableLengthUnitValue = "" +) + +// All allowed values of CableLengthUnitValue enum +var AllowedCableLengthUnitValueEnumValues = []CableLengthUnitValue{ + "km", + "m", + "cm", + "mi", + "ft", + "in", + "", +} + +func (v *CableLengthUnitValue) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := CableLengthUnitValue(value) + for _, existing := range AllowedCableLengthUnitValueEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid CableLengthUnitValue", value) +} + +// NewCableLengthUnitValueFromValue returns a pointer to a valid CableLengthUnitValue +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewCableLengthUnitValueFromValue(v string) (*CableLengthUnitValue, error) { + ev := CableLengthUnitValue(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for CableLengthUnitValue: valid values are %v", v, AllowedCableLengthUnitValueEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v CableLengthUnitValue) IsValid() bool { + for _, existing := range AllowedCableLengthUnitValueEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to Cable_length_unit_value value +func (v CableLengthUnitValue) Ptr() *CableLengthUnitValue { + return &v +} + +type NullableCableLengthUnitValue struct { + value *CableLengthUnitValue + isSet bool +} + +func (v NullableCableLengthUnitValue) Get() *CableLengthUnitValue { + return v.value +} + +func (v *NullableCableLengthUnitValue) Set(val *CableLengthUnitValue) { + v.value = val + v.isSet = true +} + +func (v NullableCableLengthUnitValue) IsSet() bool { + return v.isSet +} + +func (v *NullableCableLengthUnitValue) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCableLengthUnitValue(val *CableLengthUnitValue) *NullableCableLengthUnitValue { + return &NullableCableLengthUnitValue{value: val, isSet: true} +} + +func (v NullableCableLengthUnitValue) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCableLengthUnitValue) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_cable_request.go b/model_cable_request.go index 0b4bad8c8..88ec4393e 100644 --- a/model_cable_request.go +++ b/model_cable_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,8 +19,19 @@ var _ MappedNullable = &CableRequest{} // CableRequest Adds support for custom fields and tags. type CableRequest struct { - Label *string `json:"label,omitempty"` - Description *string `json:"description,omitempty"` + Type *CableType `json:"type,omitempty"` + ATerminations []GenericObjectRequest `json:"a_terminations,omitempty"` + BTerminations []GenericObjectRequest `json:"b_terminations,omitempty"` + Status *CableStatusValue `json:"status,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` + Label *string `json:"label,omitempty"` + Color *string `json:"color,omitempty"` + Length NullableFloat64 `json:"length,omitempty"` + LengthUnit NullableCableRequestLengthUnit `json:"length_unit,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -43,6 +54,177 @@ func NewCableRequestWithDefaults() *CableRequest { return &this } +// GetType returns the Type field value if set, zero value otherwise. +func (o *CableRequest) GetType() CableType { + if o == nil || IsNil(o.Type) { + var ret CableType + return ret + } + return *o.Type +} + +// GetTypeOk returns a tuple with the Type field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CableRequest) GetTypeOk() (*CableType, bool) { + if o == nil || IsNil(o.Type) { + return nil, false + } + return o.Type, true +} + +// HasType returns a boolean if a field has been set. +func (o *CableRequest) HasType() bool { + if o != nil && !IsNil(o.Type) { + return true + } + + return false +} + +// SetType gets a reference to the given CableType and assigns it to the Type field. +func (o *CableRequest) SetType(v CableType) { + o.Type = &v +} + +// GetATerminations returns the ATerminations field value if set, zero value otherwise. +func (o *CableRequest) GetATerminations() []GenericObjectRequest { + if o == nil || IsNil(o.ATerminations) { + var ret []GenericObjectRequest + return ret + } + return o.ATerminations +} + +// GetATerminationsOk returns a tuple with the ATerminations field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CableRequest) GetATerminationsOk() ([]GenericObjectRequest, bool) { + if o == nil || IsNil(o.ATerminations) { + return nil, false + } + return o.ATerminations, true +} + +// HasATerminations returns a boolean if a field has been set. +func (o *CableRequest) HasATerminations() bool { + if o != nil && !IsNil(o.ATerminations) { + return true + } + + return false +} + +// SetATerminations gets a reference to the given []GenericObjectRequest and assigns it to the ATerminations field. +func (o *CableRequest) SetATerminations(v []GenericObjectRequest) { + o.ATerminations = v +} + +// GetBTerminations returns the BTerminations field value if set, zero value otherwise. +func (o *CableRequest) GetBTerminations() []GenericObjectRequest { + if o == nil || IsNil(o.BTerminations) { + var ret []GenericObjectRequest + return ret + } + return o.BTerminations +} + +// GetBTerminationsOk returns a tuple with the BTerminations field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CableRequest) GetBTerminationsOk() ([]GenericObjectRequest, bool) { + if o == nil || IsNil(o.BTerminations) { + return nil, false + } + return o.BTerminations, true +} + +// HasBTerminations returns a boolean if a field has been set. +func (o *CableRequest) HasBTerminations() bool { + if o != nil && !IsNil(o.BTerminations) { + return true + } + + return false +} + +// SetBTerminations gets a reference to the given []GenericObjectRequest and assigns it to the BTerminations field. +func (o *CableRequest) SetBTerminations(v []GenericObjectRequest) { + o.BTerminations = v +} + +// GetStatus returns the Status field value if set, zero value otherwise. +func (o *CableRequest) GetStatus() CableStatusValue { + if o == nil || IsNil(o.Status) { + var ret CableStatusValue + 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 *CableRequest) GetStatusOk() (*CableStatusValue, 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 *CableRequest) HasStatus() bool { + if o != nil && !IsNil(o.Status) { + return true + } + + return false +} + +// SetStatus gets a reference to the given CableStatusValue and assigns it to the Status field. +func (o *CableRequest) SetStatus(v CableStatusValue) { + o.Status = &v +} + +// GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CableRequest) GetTenant() BriefTenantRequest { + if o == nil || IsNil(o.Tenant.Get()) { + var ret BriefTenantRequest + 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 *CableRequest) GetTenantOk() (*BriefTenantRequest, 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 *CableRequest) HasTenant() bool { + if o != nil && o.Tenant.IsSet() { + return true + } + + return false +} + +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *CableRequest) SetTenant(v BriefTenantRequest) { + o.Tenant.Set(&v) +} + +// SetTenantNil sets the value for Tenant to be an explicit nil +func (o *CableRequest) SetTenantNil() { + o.Tenant.Set(nil) +} + +// UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +func (o *CableRequest) UnsetTenant() { + o.Tenant.Unset() +} + // GetLabel returns the Label field value if set, zero value otherwise. func (o *CableRequest) GetLabel() string { if o == nil || IsNil(o.Label) { @@ -75,6 +257,124 @@ func (o *CableRequest) SetLabel(v string) { o.Label = &v } +// GetColor returns the Color field value if set, zero value otherwise. +func (o *CableRequest) GetColor() string { + if o == nil || IsNil(o.Color) { + var ret string + return ret + } + return *o.Color +} + +// GetColorOk returns a tuple with the Color field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CableRequest) GetColorOk() (*string, bool) { + if o == nil || IsNil(o.Color) { + return nil, false + } + return o.Color, true +} + +// HasColor returns a boolean if a field has been set. +func (o *CableRequest) HasColor() bool { + if o != nil && !IsNil(o.Color) { + return true + } + + return false +} + +// SetColor gets a reference to the given string and assigns it to the Color field. +func (o *CableRequest) SetColor(v string) { + o.Color = &v +} + +// GetLength returns the Length field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CableRequest) GetLength() float64 { + if o == nil || IsNil(o.Length.Get()) { + var ret float64 + return ret + } + return *o.Length.Get() +} + +// GetLengthOk returns a tuple with the Length 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 *CableRequest) GetLengthOk() (*float64, bool) { + if o == nil { + return nil, false + } + return o.Length.Get(), o.Length.IsSet() +} + +// HasLength returns a boolean if a field has been set. +func (o *CableRequest) HasLength() bool { + if o != nil && o.Length.IsSet() { + return true + } + + return false +} + +// SetLength gets a reference to the given NullableFloat64 and assigns it to the Length field. +func (o *CableRequest) SetLength(v float64) { + o.Length.Set(&v) +} + +// SetLengthNil sets the value for Length to be an explicit nil +func (o *CableRequest) SetLengthNil() { + o.Length.Set(nil) +} + +// UnsetLength ensures that no value is present for Length, not even an explicit nil +func (o *CableRequest) UnsetLength() { + o.Length.Unset() +} + +// GetLengthUnit returns the LengthUnit field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CableRequest) GetLengthUnit() CableRequestLengthUnit { + if o == nil || IsNil(o.LengthUnit.Get()) { + var ret CableRequestLengthUnit + return ret + } + return *o.LengthUnit.Get() +} + +// GetLengthUnitOk returns a tuple with the LengthUnit 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 *CableRequest) GetLengthUnitOk() (*CableRequestLengthUnit, bool) { + if o == nil { + return nil, false + } + return o.LengthUnit.Get(), o.LengthUnit.IsSet() +} + +// HasLengthUnit returns a boolean if a field has been set. +func (o *CableRequest) HasLengthUnit() bool { + if o != nil && o.LengthUnit.IsSet() { + return true + } + + return false +} + +// SetLengthUnit gets a reference to the given NullableCableRequestLengthUnit and assigns it to the LengthUnit field. +func (o *CableRequest) SetLengthUnit(v CableRequestLengthUnit) { + o.LengthUnit.Set(&v) +} + +// SetLengthUnitNil sets the value for LengthUnit to be an explicit nil +func (o *CableRequest) SetLengthUnitNil() { + o.LengthUnit.Set(nil) +} + +// UnsetLengthUnit ensures that no value is present for LengthUnit, not even an explicit nil +func (o *CableRequest) UnsetLengthUnit() { + o.LengthUnit.Unset() +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *CableRequest) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -107,6 +407,102 @@ func (o *CableRequest) SetDescription(v string) { o.Description = &v } +// GetComments returns the Comments field value if set, zero value otherwise. +func (o *CableRequest) GetComments() string { + if o == nil || IsNil(o.Comments) { + var ret string + return ret + } + return *o.Comments +} + +// GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CableRequest) GetCommentsOk() (*string, bool) { + if o == nil || IsNil(o.Comments) { + return nil, false + } + return o.Comments, true +} + +// HasComments returns a boolean if a field has been set. +func (o *CableRequest) HasComments() bool { + if o != nil && !IsNil(o.Comments) { + return true + } + + return false +} + +// SetComments gets a reference to the given string and assigns it to the Comments field. +func (o *CableRequest) SetComments(v string) { + o.Comments = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *CableRequest) GetTags() []NestedTagRequest { + if o == nil || IsNil(o.Tags) { + var ret []NestedTagRequest + 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 *CableRequest) GetTagsOk() ([]NestedTagRequest, 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 *CableRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTagRequest and assigns it to the Tags field. +func (o *CableRequest) SetTags(v []NestedTagRequest) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *CableRequest) 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 *CableRequest) 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 *CableRequest) 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 *CableRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + func (o CableRequest) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -117,12 +513,45 @@ func (o CableRequest) MarshalJSON() ([]byte, error) { func (o CableRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Type) { + toSerialize["type"] = o.Type + } + if !IsNil(o.ATerminations) { + toSerialize["a_terminations"] = o.ATerminations + } + if !IsNil(o.BTerminations) { + toSerialize["b_terminations"] = o.BTerminations + } + if !IsNil(o.Status) { + toSerialize["status"] = o.Status + } + if o.Tenant.IsSet() { + toSerialize["tenant"] = o.Tenant.Get() + } if !IsNil(o.Label) { toSerialize["label"] = o.Label } + if !IsNil(o.Color) { + toSerialize["color"] = o.Color + } + if o.Length.IsSet() { + toSerialize["length"] = o.Length.Get() + } + if o.LengthUnit.IsSet() { + toSerialize["length_unit"] = o.LengthUnit.Get() + } if !IsNil(o.Description) { toSerialize["description"] = o.Description } + if !IsNil(o.Comments) { + toSerialize["comments"] = o.Comments + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -145,8 +574,19 @@ func (o *CableRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "type") + delete(additionalProperties, "a_terminations") + delete(additionalProperties, "b_terminations") + delete(additionalProperties, "status") + delete(additionalProperties, "tenant") delete(additionalProperties, "label") + delete(additionalProperties, "color") + delete(additionalProperties, "length") + delete(additionalProperties, "length_unit") delete(additionalProperties, "description") + delete(additionalProperties, "comments") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") o.AdditionalProperties = additionalProperties } diff --git a/model_cable_request_length_unit.go b/model_cable_request_length_unit.go new file mode 100644 index 000000000..09485731d --- /dev/null +++ b/model_cable_request_length_unit.go @@ -0,0 +1,120 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// CableRequestLengthUnit * `km` - Kilometers * `m` - Meters * `cm` - Centimeters * `mi` - Miles * `ft` - Feet * `in` - Inches +type CableRequestLengthUnit string + +// List of CableRequest_length_unit +const ( + CABLEREQUESTLENGTHUNIT_KM CableRequestLengthUnit = "km" + CABLEREQUESTLENGTHUNIT_M CableRequestLengthUnit = "m" + CABLEREQUESTLENGTHUNIT_CM CableRequestLengthUnit = "cm" + CABLEREQUESTLENGTHUNIT_MI CableRequestLengthUnit = "mi" + CABLEREQUESTLENGTHUNIT_FT CableRequestLengthUnit = "ft" + CABLEREQUESTLENGTHUNIT_IN CableRequestLengthUnit = "in" + CABLEREQUESTLENGTHUNIT_EMPTY CableRequestLengthUnit = "" +) + +// All allowed values of CableRequestLengthUnit enum +var AllowedCableRequestLengthUnitEnumValues = []CableRequestLengthUnit{ + "km", + "m", + "cm", + "mi", + "ft", + "in", + "", +} + +func (v *CableRequestLengthUnit) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := CableRequestLengthUnit(value) + for _, existing := range AllowedCableRequestLengthUnitEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid CableRequestLengthUnit", value) +} + +// NewCableRequestLengthUnitFromValue returns a pointer to a valid CableRequestLengthUnit +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewCableRequestLengthUnitFromValue(v string) (*CableRequestLengthUnit, error) { + ev := CableRequestLengthUnit(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for CableRequestLengthUnit: valid values are %v", v, AllowedCableRequestLengthUnitEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v CableRequestLengthUnit) IsValid() bool { + for _, existing := range AllowedCableRequestLengthUnitEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to CableRequest_length_unit value +func (v CableRequestLengthUnit) Ptr() *CableRequestLengthUnit { + return &v +} + +type NullableCableRequestLengthUnit struct { + value *CableRequestLengthUnit + isSet bool +} + +func (v NullableCableRequestLengthUnit) Get() *CableRequestLengthUnit { + return v.value +} + +func (v *NullableCableRequestLengthUnit) Set(val *CableRequestLengthUnit) { + v.value = val + v.isSet = true +} + +func (v NullableCableRequestLengthUnit) IsSet() bool { + return v.isSet +} + +func (v *NullableCableRequestLengthUnit) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCableRequestLengthUnit(val *CableRequestLengthUnit) *NullableCableRequestLengthUnit { + return &NullableCableRequestLengthUnit{value: val, isSet: true} +} + +func (v NullableCableRequestLengthUnit) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCableRequestLengthUnit) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_cable_status.go b/model_cable_status.go new file mode 100644 index 000000000..24fcab46f --- /dev/null +++ b/model_cable_status.go @@ -0,0 +1,190 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" +) + +// checks if the CableStatus type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &CableStatus{} + +// CableStatus struct for CableStatus +type CableStatus struct { + Value *CableStatusValue `json:"value,omitempty"` + Label *CableStatusLabel `json:"label,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _CableStatus CableStatus + +// NewCableStatus instantiates a new CableStatus object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewCableStatus() *CableStatus { + this := CableStatus{} + return &this +} + +// NewCableStatusWithDefaults instantiates a new CableStatus object +// This 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 NewCableStatusWithDefaults() *CableStatus { + this := CableStatus{} + return &this +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *CableStatus) GetValue() CableStatusValue { + if o == nil || IsNil(o.Value) { + var ret CableStatusValue + 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 *CableStatus) GetValueOk() (*CableStatusValue, 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 *CableStatus) HasValue() bool { + if o != nil && !IsNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given CableStatusValue and assigns it to the Value field. +func (o *CableStatus) SetValue(v CableStatusValue) { + o.Value = &v +} + +// GetLabel returns the Label field value if set, zero value otherwise. +func (o *CableStatus) GetLabel() CableStatusLabel { + if o == nil || IsNil(o.Label) { + var ret CableStatusLabel + 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 *CableStatus) GetLabelOk() (*CableStatusLabel, 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 *CableStatus) HasLabel() bool { + if o != nil && !IsNil(o.Label) { + return true + } + + return false +} + +// SetLabel gets a reference to the given CableStatusLabel and assigns it to the Label field. +func (o *CableStatus) SetLabel(v CableStatusLabel) { + o.Label = &v +} + +func (o CableStatus) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o CableStatus) 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 *CableStatus) UnmarshalJSON(data []byte) (err error) { + varCableStatus := _CableStatus{} + + err = json.Unmarshal(data, &varCableStatus) + + if err != nil { + return err + } + + *o = CableStatus(varCableStatus) + + 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 NullableCableStatus struct { + value *CableStatus + isSet bool +} + +func (v NullableCableStatus) Get() *CableStatus { + return v.value +} + +func (v *NullableCableStatus) Set(val *CableStatus) { + v.value = val + v.isSet = true +} + +func (v NullableCableStatus) IsSet() bool { + return v.isSet +} + +func (v *NullableCableStatus) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCableStatus(val *CableStatus) *NullableCableStatus { + return &NullableCableStatus{value: val, isSet: true} +} + +func (v NullableCableStatus) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCableStatus) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_cable_status_label.go b/model_cable_status_label.go new file mode 100644 index 000000000..e89cca284 --- /dev/null +++ b/model_cable_status_label.go @@ -0,0 +1,112 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// CableStatusLabel the model 'CableStatusLabel' +type CableStatusLabel string + +// List of Cable_status_label +const ( + CABLESTATUSLABEL_CONNECTED CableStatusLabel = "Connected" + CABLESTATUSLABEL_PLANNED CableStatusLabel = "Planned" + CABLESTATUSLABEL_DECOMMISSIONING CableStatusLabel = "Decommissioning" +) + +// All allowed values of CableStatusLabel enum +var AllowedCableStatusLabelEnumValues = []CableStatusLabel{ + "Connected", + "Planned", + "Decommissioning", +} + +func (v *CableStatusLabel) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := CableStatusLabel(value) + for _, existing := range AllowedCableStatusLabelEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid CableStatusLabel", value) +} + +// NewCableStatusLabelFromValue returns a pointer to a valid CableStatusLabel +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewCableStatusLabelFromValue(v string) (*CableStatusLabel, error) { + ev := CableStatusLabel(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for CableStatusLabel: valid values are %v", v, AllowedCableStatusLabelEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v CableStatusLabel) IsValid() bool { + for _, existing := range AllowedCableStatusLabelEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to Cable_status_label value +func (v CableStatusLabel) Ptr() *CableStatusLabel { + return &v +} + +type NullableCableStatusLabel struct { + value *CableStatusLabel + isSet bool +} + +func (v NullableCableStatusLabel) Get() *CableStatusLabel { + return v.value +} + +func (v *NullableCableStatusLabel) Set(val *CableStatusLabel) { + v.value = val + v.isSet = true +} + +func (v NullableCableStatusLabel) IsSet() bool { + return v.isSet +} + +func (v *NullableCableStatusLabel) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCableStatusLabel(val *CableStatusLabel) *NullableCableStatusLabel { + return &NullableCableStatusLabel{value: val, isSet: true} +} + +func (v NullableCableStatusLabel) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCableStatusLabel) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_cable_status_value.go b/model_cable_status_value.go new file mode 100644 index 000000000..0b3dd24fb --- /dev/null +++ b/model_cable_status_value.go @@ -0,0 +1,112 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// CableStatusValue * `connected` - Connected * `planned` - Planned * `decommissioning` - Decommissioning +type CableStatusValue string + +// List of Cable_status_value +const ( + CABLESTATUSVALUE_CONNECTED CableStatusValue = "connected" + CABLESTATUSVALUE_PLANNED CableStatusValue = "planned" + CABLESTATUSVALUE_DECOMMISSIONING CableStatusValue = "decommissioning" +) + +// All allowed values of CableStatusValue enum +var AllowedCableStatusValueEnumValues = []CableStatusValue{ + "connected", + "planned", + "decommissioning", +} + +func (v *CableStatusValue) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := CableStatusValue(value) + for _, existing := range AllowedCableStatusValueEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid CableStatusValue", value) +} + +// NewCableStatusValueFromValue returns a pointer to a valid CableStatusValue +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewCableStatusValueFromValue(v string) (*CableStatusValue, error) { + ev := CableStatusValue(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for CableStatusValue: valid values are %v", v, AllowedCableStatusValueEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v CableStatusValue) IsValid() bool { + for _, existing := range AllowedCableStatusValueEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to Cable_status_value value +func (v CableStatusValue) Ptr() *CableStatusValue { + return &v +} + +type NullableCableStatusValue struct { + value *CableStatusValue + isSet bool +} + +func (v NullableCableStatusValue) Get() *CableStatusValue { + return v.value +} + +func (v *NullableCableStatusValue) Set(val *CableStatusValue) { + v.value = val + v.isSet = true +} + +func (v NullableCableStatusValue) IsSet() bool { + return v.isSet +} + +func (v *NullableCableStatusValue) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCableStatusValue(val *CableStatusValue) *NullableCableStatusValue { + return &NullableCableStatusValue{value: val, isSet: true} +} + +func (v NullableCableStatusValue) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCableStatusValue) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_cable_termination.go b/model_cable_termination.go index 3e2427ac6..bc8ee59bc 100644 --- a/model_cable_termination.go +++ b/model_cable_termination.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_cable_termination_request.go b/model_cable_termination_request.go index fb17abb8a..6f1e11bcb 100644 --- a/model_cable_termination_request.go +++ b/model_cable_termination_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_cable_type.go b/model_cable_type.go new file mode 100644 index 000000000..dbe7d919e --- /dev/null +++ b/model_cable_type.go @@ -0,0 +1,156 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// CableType * `cat3` - CAT3 * `cat5` - CAT5 * `cat5e` - CAT5e * `cat6` - CAT6 * `cat6a` - CAT6a * `cat7` - CAT7 * `cat7a` - CAT7a * `cat8` - CAT8 * `dac-active` - Direct Attach Copper (Active) * `dac-passive` - Direct Attach Copper (Passive) * `mrj21-trunk` - MRJ21 Trunk * `coaxial` - Coaxial * `mmf` - Multimode Fiber * `mmf-om1` - Multimode Fiber (OM1) * `mmf-om2` - Multimode Fiber (OM2) * `mmf-om3` - Multimode Fiber (OM3) * `mmf-om4` - Multimode Fiber (OM4) * `mmf-om5` - Multimode Fiber (OM5) * `smf` - Singlemode Fiber * `smf-os1` - Singlemode Fiber (OS1) * `smf-os2` - Singlemode Fiber (OS2) * `aoc` - Active Optical Cabling (AOC) * `usb` - USB * `power` - Power +type CableType string + +// List of Cable_type +const ( + CABLETYPE_CAT3 CableType = "cat3" + CABLETYPE_CAT5 CableType = "cat5" + CABLETYPE_CAT5E CableType = "cat5e" + CABLETYPE_CAT6 CableType = "cat6" + CABLETYPE_CAT6A CableType = "cat6a" + CABLETYPE_CAT7 CableType = "cat7" + CABLETYPE_CAT7A CableType = "cat7a" + CABLETYPE_CAT8 CableType = "cat8" + CABLETYPE_DAC_ACTIVE CableType = "dac-active" + CABLETYPE_DAC_PASSIVE CableType = "dac-passive" + CABLETYPE_MRJ21_TRUNK CableType = "mrj21-trunk" + CABLETYPE_COAXIAL CableType = "coaxial" + CABLETYPE_MMF CableType = "mmf" + CABLETYPE_MMF_OM1 CableType = "mmf-om1" + CABLETYPE_MMF_OM2 CableType = "mmf-om2" + CABLETYPE_MMF_OM3 CableType = "mmf-om3" + CABLETYPE_MMF_OM4 CableType = "mmf-om4" + CABLETYPE_MMF_OM5 CableType = "mmf-om5" + CABLETYPE_SMF CableType = "smf" + CABLETYPE_SMF_OS1 CableType = "smf-os1" + CABLETYPE_SMF_OS2 CableType = "smf-os2" + CABLETYPE_AOC CableType = "aoc" + CABLETYPE_USB CableType = "usb" + CABLETYPE_POWER CableType = "power" + CABLETYPE_EMPTY CableType = "" +) + +// All allowed values of CableType enum +var AllowedCableTypeEnumValues = []CableType{ + "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", + "usb", + "power", + "", +} + +func (v *CableType) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := CableType(value) + for _, existing := range AllowedCableTypeEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid CableType", value) +} + +// NewCableTypeFromValue returns a pointer to a valid CableType +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewCableTypeFromValue(v string) (*CableType, error) { + ev := CableType(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for CableType: valid values are %v", v, AllowedCableTypeEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v CableType) IsValid() bool { + for _, existing := range AllowedCableTypeEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to Cable_type value +func (v CableType) Ptr() *CableType { + return &v +} + +type NullableCableType struct { + value *CableType + isSet bool +} + +func (v NullableCableType) Get() *CableType { + return v.value +} + +func (v *NullableCableType) Set(val *CableType) { + v.value = val + v.isSet = true +} + +func (v NullableCableType) IsSet() bool { + return v.isSet +} + +func (v *NullableCableType) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCableType(val *CableType) *NullableCableType { + return &NullableCableType{value: val, isSet: true} +} + +func (v NullableCableType) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCableType) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_circuit.go b/model_circuit.go index bd64655eb..2a2b0e1c2 100644 --- a/model_circuit.go +++ b/model_circuit.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -13,6 +13,7 @@ package netbox import ( "encoding/json" "fmt" + "time" ) // checks if the Circuit type satisfies the MappedNullable interface at compile time @@ -20,12 +21,30 @@ var _ MappedNullable = &Circuit{} // Circuit Adds support for custom fields and tags. type Circuit struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` // Unique circuit ID - Cid string `json:"cid"` - Description *string `json:"description,omitempty"` + Cid string `json:"cid"` + Provider BriefProvider `json:"provider"` + ProviderAccount NullableBriefProviderAccount `json:"provider_account,omitempty"` + Type BriefCircuitType `json:"type"` + Status *CircuitStatus `json:"status,omitempty"` + Tenant NullableBriefTenant `json:"tenant,omitempty"` + InstallDate NullableString `json:"install_date,omitempty"` + TerminationDate NullableString `json:"termination_date,omitempty"` + // Committed rate + CommitRate NullableInt32 `json:"commit_rate,omitempty"` + Description *string `json:"description,omitempty"` + TerminationA NullableCircuitCircuitTermination `json:"termination_a"` + TerminationZ NullableCircuitCircuitTermination `json:"termination_z"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTag `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Created NullableTime `json:"created"` + LastUpdated NullableTime `json:"last_updated"` + Assignments []BriefCircuitGroupAssignmentSerializer `json:"assignments,omitempty"` AdditionalProperties map[string]interface{} } @@ -35,12 +54,18 @@ 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 int32, url string, display string, cid string) *Circuit { +func NewCircuit(id int32, url string, display string, cid string, provider BriefProvider, type_ BriefCircuitType, terminationA NullableCircuitCircuitTermination, terminationZ NullableCircuitCircuitTermination, created NullableTime, lastUpdated NullableTime) *Circuit { this := Circuit{} this.Id = id this.Url = url this.Display = display this.Cid = cid + this.Provider = provider + this.Type = type_ + this.TerminationA = terminationA + this.TerminationZ = terminationZ + this.Created = created + this.LastUpdated = lastUpdated return &this } @@ -100,6 +125,38 @@ func (o *Circuit) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *Circuit) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Circuit) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *Circuit) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *Circuit) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *Circuit) GetDisplay() string { if o == nil { @@ -148,6 +205,301 @@ func (o *Circuit) SetCid(v string) { o.Cid = v } +// GetProvider returns the Provider field value +func (o *Circuit) GetProvider() BriefProvider { + if o == nil { + var ret BriefProvider + return ret + } + + return o.Provider +} + +// GetProviderOk returns a tuple with the Provider field value +// and a boolean to check if the value has been set. +func (o *Circuit) GetProviderOk() (*BriefProvider, bool) { + if o == nil { + return nil, false + } + return &o.Provider, true +} + +// SetProvider sets field value +func (o *Circuit) SetProvider(v BriefProvider) { + o.Provider = v +} + +// GetProviderAccount returns the ProviderAccount field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Circuit) GetProviderAccount() BriefProviderAccount { + if o == nil || IsNil(o.ProviderAccount.Get()) { + var ret BriefProviderAccount + return ret + } + return *o.ProviderAccount.Get() +} + +// GetProviderAccountOk returns a tuple with the ProviderAccount 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 *Circuit) GetProviderAccountOk() (*BriefProviderAccount, bool) { + if o == nil { + return nil, false + } + return o.ProviderAccount.Get(), o.ProviderAccount.IsSet() +} + +// HasProviderAccount returns a boolean if a field has been set. +func (o *Circuit) HasProviderAccount() bool { + if o != nil && o.ProviderAccount.IsSet() { + return true + } + + return false +} + +// SetProviderAccount gets a reference to the given NullableBriefProviderAccount and assigns it to the ProviderAccount field. +func (o *Circuit) SetProviderAccount(v BriefProviderAccount) { + o.ProviderAccount.Set(&v) +} + +// SetProviderAccountNil sets the value for ProviderAccount to be an explicit nil +func (o *Circuit) SetProviderAccountNil() { + o.ProviderAccount.Set(nil) +} + +// UnsetProviderAccount ensures that no value is present for ProviderAccount, not even an explicit nil +func (o *Circuit) UnsetProviderAccount() { + o.ProviderAccount.Unset() +} + +// GetType returns the Type field value +func (o *Circuit) GetType() BriefCircuitType { + if o == nil { + var ret BriefCircuitType + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +func (o *Circuit) GetTypeOk() (*BriefCircuitType, bool) { + if o == nil { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *Circuit) SetType(v BriefCircuitType) { + o.Type = v +} + +// GetStatus returns the Status field value if set, zero value otherwise. +func (o *Circuit) GetStatus() CircuitStatus { + if o == nil || IsNil(o.Status) { + var ret CircuitStatus + 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 *Circuit) GetStatusOk() (*CircuitStatus, 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 *Circuit) HasStatus() bool { + if o != nil && !IsNil(o.Status) { + return true + } + + return false +} + +// SetStatus gets a reference to the given CircuitStatus and assigns it to the Status field. +func (o *Circuit) SetStatus(v CircuitStatus) { + o.Status = &v +} + +// GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Circuit) GetTenant() BriefTenant { + if o == nil || IsNil(o.Tenant.Get()) { + var ret BriefTenant + 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 *Circuit) GetTenantOk() (*BriefTenant, 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 *Circuit) HasTenant() bool { + if o != nil && o.Tenant.IsSet() { + return true + } + + return false +} + +// SetTenant gets a reference to the given NullableBriefTenant and assigns it to the Tenant field. +func (o *Circuit) SetTenant(v BriefTenant) { + o.Tenant.Set(&v) +} + +// SetTenantNil sets the value for Tenant to be an explicit nil +func (o *Circuit) SetTenantNil() { + o.Tenant.Set(nil) +} + +// UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +func (o *Circuit) UnsetTenant() { + o.Tenant.Unset() +} + +// GetInstallDate returns the InstallDate field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Circuit) GetInstallDate() string { + if o == nil || IsNil(o.InstallDate.Get()) { + var ret string + return ret + } + return *o.InstallDate.Get() +} + +// GetInstallDateOk returns a tuple with the InstallDate 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 *Circuit) GetInstallDateOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.InstallDate.Get(), o.InstallDate.IsSet() +} + +// HasInstallDate returns a boolean if a field has been set. +func (o *Circuit) HasInstallDate() bool { + if o != nil && o.InstallDate.IsSet() { + return true + } + + return false +} + +// SetInstallDate gets a reference to the given NullableString and assigns it to the InstallDate field. +func (o *Circuit) SetInstallDate(v string) { + o.InstallDate.Set(&v) +} + +// SetInstallDateNil sets the value for InstallDate to be an explicit nil +func (o *Circuit) SetInstallDateNil() { + o.InstallDate.Set(nil) +} + +// UnsetInstallDate ensures that no value is present for InstallDate, not even an explicit nil +func (o *Circuit) UnsetInstallDate() { + o.InstallDate.Unset() +} + +// GetTerminationDate returns the TerminationDate field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Circuit) GetTerminationDate() string { + if o == nil || IsNil(o.TerminationDate.Get()) { + var ret string + return ret + } + return *o.TerminationDate.Get() +} + +// GetTerminationDateOk returns a tuple with the TerminationDate 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 *Circuit) GetTerminationDateOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.TerminationDate.Get(), o.TerminationDate.IsSet() +} + +// HasTerminationDate returns a boolean if a field has been set. +func (o *Circuit) HasTerminationDate() bool { + if o != nil && o.TerminationDate.IsSet() { + return true + } + + return false +} + +// SetTerminationDate gets a reference to the given NullableString and assigns it to the TerminationDate field. +func (o *Circuit) SetTerminationDate(v string) { + o.TerminationDate.Set(&v) +} + +// SetTerminationDateNil sets the value for TerminationDate to be an explicit nil +func (o *Circuit) SetTerminationDateNil() { + o.TerminationDate.Set(nil) +} + +// UnsetTerminationDate ensures that no value is present for TerminationDate, not even an explicit nil +func (o *Circuit) UnsetTerminationDate() { + o.TerminationDate.Unset() +} + +// GetCommitRate returns the CommitRate field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Circuit) GetCommitRate() int32 { + if o == nil || IsNil(o.CommitRate.Get()) { + var ret int32 + return ret + } + return *o.CommitRate.Get() +} + +// GetCommitRateOk returns a tuple with the CommitRate 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 *Circuit) GetCommitRateOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.CommitRate.Get(), o.CommitRate.IsSet() +} + +// HasCommitRate returns a boolean if a field has been set. +func (o *Circuit) HasCommitRate() bool { + if o != nil && o.CommitRate.IsSet() { + return true + } + + return false +} + +// SetCommitRate gets a reference to the given NullableInt32 and assigns it to the CommitRate field. +func (o *Circuit) SetCommitRate(v int32) { + o.CommitRate.Set(&v) +} + +// SetCommitRateNil sets the value for CommitRate to be an explicit nil +func (o *Circuit) SetCommitRateNil() { + o.CommitRate.Set(nil) +} + +// UnsetCommitRate ensures that no value is present for CommitRate, not even an explicit nil +func (o *Circuit) UnsetCommitRate() { + o.CommitRate.Unset() +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *Circuit) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -180,6 +532,238 @@ func (o *Circuit) SetDescription(v string) { o.Description = &v } +// GetTerminationA returns the TerminationA field value +// If the value is explicit nil, the zero value for CircuitCircuitTermination will be returned +func (o *Circuit) GetTerminationA() CircuitCircuitTermination { + if o == nil || o.TerminationA.Get() == nil { + var ret CircuitCircuitTermination + return ret + } + + return *o.TerminationA.Get() +} + +// GetTerminationAOk returns a tuple with the TerminationA 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 *Circuit) GetTerminationAOk() (*CircuitCircuitTermination, bool) { + if o == nil { + return nil, false + } + return o.TerminationA.Get(), o.TerminationA.IsSet() +} + +// SetTerminationA sets field value +func (o *Circuit) SetTerminationA(v CircuitCircuitTermination) { + o.TerminationA.Set(&v) +} + +// GetTerminationZ returns the TerminationZ field value +// If the value is explicit nil, the zero value for CircuitCircuitTermination will be returned +func (o *Circuit) GetTerminationZ() CircuitCircuitTermination { + if o == nil || o.TerminationZ.Get() == nil { + var ret CircuitCircuitTermination + return ret + } + + return *o.TerminationZ.Get() +} + +// GetTerminationZOk returns a tuple with the TerminationZ 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 *Circuit) GetTerminationZOk() (*CircuitCircuitTermination, bool) { + if o == nil { + return nil, false + } + return o.TerminationZ.Get(), o.TerminationZ.IsSet() +} + +// SetTerminationZ sets field value +func (o *Circuit) SetTerminationZ(v CircuitCircuitTermination) { + o.TerminationZ.Set(&v) +} + +// GetComments returns the Comments field value if set, zero value otherwise. +func (o *Circuit) GetComments() string { + if o == nil || IsNil(o.Comments) { + var ret string + return ret + } + return *o.Comments +} + +// GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Circuit) GetCommentsOk() (*string, bool) { + if o == nil || IsNil(o.Comments) { + return nil, false + } + return o.Comments, true +} + +// HasComments returns a boolean if a field has been set. +func (o *Circuit) HasComments() bool { + if o != nil && !IsNil(o.Comments) { + return true + } + + return false +} + +// SetComments gets a reference to the given string and assigns it to the Comments field. +func (o *Circuit) SetComments(v string) { + o.Comments = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *Circuit) GetTags() []NestedTag { + if o == nil || IsNil(o.Tags) { + var ret []NestedTag + 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 *Circuit) GetTagsOk() ([]NestedTag, 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 *Circuit) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTag and assigns it to the Tags field. +func (o *Circuit) SetTags(v []NestedTag) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *Circuit) 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 *Circuit) 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 *Circuit) 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 *Circuit) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetCreated returns the Created field value +// If the value is explicit nil, the zero value for time.Time will be returned +func (o *Circuit) 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 *Circuit) GetCreatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.Created.Get(), o.Created.IsSet() +} + +// SetCreated sets field value +func (o *Circuit) 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 *Circuit) 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 *Circuit) GetLastUpdatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LastUpdated.Get(), o.LastUpdated.IsSet() +} + +// SetLastUpdated sets field value +func (o *Circuit) SetLastUpdated(v time.Time) { + o.LastUpdated.Set(&v) +} + +// GetAssignments returns the Assignments field value if set, zero value otherwise. +func (o *Circuit) GetAssignments() []BriefCircuitGroupAssignmentSerializer { + if o == nil || IsNil(o.Assignments) { + var ret []BriefCircuitGroupAssignmentSerializer + return ret + } + return o.Assignments +} + +// GetAssignmentsOk returns a tuple with the Assignments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Circuit) GetAssignmentsOk() ([]BriefCircuitGroupAssignmentSerializer, bool) { + if o == nil || IsNil(o.Assignments) { + return nil, false + } + return o.Assignments, true +} + +// HasAssignments returns a boolean if a field has been set. +func (o *Circuit) HasAssignments() bool { + if o != nil && !IsNil(o.Assignments) { + return true + } + + return false +} + +// SetAssignments gets a reference to the given []BriefCircuitGroupAssignmentSerializer and assigns it to the Assignments field. +func (o *Circuit) SetAssignments(v []BriefCircuitGroupAssignmentSerializer) { + o.Assignments = v +} + func (o Circuit) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -192,11 +776,50 @@ func (o Circuit) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["cid"] = o.Cid + toSerialize["provider"] = o.Provider + if o.ProviderAccount.IsSet() { + toSerialize["provider_account"] = o.ProviderAccount.Get() + } + toSerialize["type"] = o.Type + if !IsNil(o.Status) { + toSerialize["status"] = o.Status + } + if o.Tenant.IsSet() { + toSerialize["tenant"] = o.Tenant.Get() + } + if o.InstallDate.IsSet() { + toSerialize["install_date"] = o.InstallDate.Get() + } + if o.TerminationDate.IsSet() { + toSerialize["termination_date"] = o.TerminationDate.Get() + } + if o.CommitRate.IsSet() { + toSerialize["commit_rate"] = o.CommitRate.Get() + } if !IsNil(o.Description) { toSerialize["description"] = o.Description } + toSerialize["termination_a"] = o.TerminationA.Get() + toSerialize["termination_z"] = o.TerminationZ.Get() + if !IsNil(o.Comments) { + toSerialize["comments"] = o.Comments + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + toSerialize["created"] = o.Created.Get() + toSerialize["last_updated"] = o.LastUpdated.Get() + if !IsNil(o.Assignments) { + toSerialize["assignments"] = o.Assignments + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -214,6 +837,12 @@ func (o *Circuit) UnmarshalJSON(data []byte) (err error) { "url", "display", "cid", + "provider", + "type", + "termination_a", + "termination_z", + "created", + "last_updated", } allProperties := make(map[string]interface{}) @@ -245,9 +874,26 @@ func (o *Circuit) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "cid") + delete(additionalProperties, "provider") + delete(additionalProperties, "provider_account") + delete(additionalProperties, "type") + delete(additionalProperties, "status") + delete(additionalProperties, "tenant") + delete(additionalProperties, "install_date") + delete(additionalProperties, "termination_date") + delete(additionalProperties, "commit_rate") delete(additionalProperties, "description") + delete(additionalProperties, "termination_a") + delete(additionalProperties, "termination_z") + delete(additionalProperties, "comments") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "created") + delete(additionalProperties, "last_updated") + delete(additionalProperties, "assignments") o.AdditionalProperties = additionalProperties } diff --git a/model_circuit_circuit_termination.go b/model_circuit_circuit_termination.go new file mode 100644 index 000000000..6f17518b7 --- /dev/null +++ b/model_circuit_circuit_termination.go @@ -0,0 +1,496 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the CircuitCircuitTermination type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &CircuitCircuitTermination{} + +// CircuitCircuitTermination Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a dictionary of attributes which can be used to uniquely identify the related object. This class should be subclassed to return a full representation of the related object on read. +type CircuitCircuitTermination struct { + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Site NullableBriefSite `json:"site"` + ProviderNetwork NullableBriefProviderNetwork `json:"provider_network"` + // Physical circuit speed + PortSpeed NullableInt32 `json:"port_speed,omitempty"` + // Upstream speed, if different from port speed + UpstreamSpeed NullableInt32 `json:"upstream_speed,omitempty"` + // ID of the local cross-connect + XconnectId *string `json:"xconnect_id,omitempty"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _CircuitCircuitTermination CircuitCircuitTermination + +// NewCircuitCircuitTermination instantiates a new CircuitCircuitTermination object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewCircuitCircuitTermination(id int32, url string, display string, site NullableBriefSite, providerNetwork NullableBriefProviderNetwork) *CircuitCircuitTermination { + this := CircuitCircuitTermination{} + this.Id = id + this.Url = url + this.Display = display + this.Site = site + this.ProviderNetwork = providerNetwork + return &this +} + +// NewCircuitCircuitTerminationWithDefaults instantiates a new CircuitCircuitTermination object +// This 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 NewCircuitCircuitTerminationWithDefaults() *CircuitCircuitTermination { + this := CircuitCircuitTermination{} + return &this +} + +// GetId returns the Id field value +func (o *CircuitCircuitTermination) GetId() int32 { + if o == nil { + var ret int32 + 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 *CircuitCircuitTermination) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *CircuitCircuitTermination) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *CircuitCircuitTermination) 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 *CircuitCircuitTermination) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *CircuitCircuitTermination) SetUrl(v string) { + o.Url = v +} + +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *CircuitCircuitTermination) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CircuitCircuitTermination) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *CircuitCircuitTermination) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *CircuitCircuitTermination) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + +// GetDisplay returns the Display field value +func (o *CircuitCircuitTermination) 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 *CircuitCircuitTermination) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *CircuitCircuitTermination) SetDisplay(v string) { + o.Display = v +} + +// GetSite returns the Site field value +// If the value is explicit nil, the zero value for BriefSite will be returned +func (o *CircuitCircuitTermination) GetSite() BriefSite { + if o == nil || o.Site.Get() == nil { + var ret BriefSite + return ret + } + + return *o.Site.Get() +} + +// GetSiteOk returns a tuple with the Site 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 *CircuitCircuitTermination) GetSiteOk() (*BriefSite, bool) { + if o == nil { + return nil, false + } + return o.Site.Get(), o.Site.IsSet() +} + +// SetSite sets field value +func (o *CircuitCircuitTermination) SetSite(v BriefSite) { + o.Site.Set(&v) +} + +// GetProviderNetwork returns the ProviderNetwork field value +// If the value is explicit nil, the zero value for BriefProviderNetwork will be returned +func (o *CircuitCircuitTermination) GetProviderNetwork() BriefProviderNetwork { + if o == nil || o.ProviderNetwork.Get() == nil { + var ret BriefProviderNetwork + return ret + } + + return *o.ProviderNetwork.Get() +} + +// GetProviderNetworkOk returns a tuple with the ProviderNetwork 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 *CircuitCircuitTermination) GetProviderNetworkOk() (*BriefProviderNetwork, bool) { + if o == nil { + return nil, false + } + return o.ProviderNetwork.Get(), o.ProviderNetwork.IsSet() +} + +// SetProviderNetwork sets field value +func (o *CircuitCircuitTermination) SetProviderNetwork(v BriefProviderNetwork) { + o.ProviderNetwork.Set(&v) +} + +// GetPortSpeed returns the PortSpeed field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CircuitCircuitTermination) GetPortSpeed() int32 { + if o == nil || IsNil(o.PortSpeed.Get()) { + var ret int32 + return ret + } + return *o.PortSpeed.Get() +} + +// GetPortSpeedOk returns a tuple with the PortSpeed 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 *CircuitCircuitTermination) GetPortSpeedOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.PortSpeed.Get(), o.PortSpeed.IsSet() +} + +// HasPortSpeed returns a boolean if a field has been set. +func (o *CircuitCircuitTermination) HasPortSpeed() bool { + if o != nil && o.PortSpeed.IsSet() { + return true + } + + return false +} + +// SetPortSpeed gets a reference to the given NullableInt32 and assigns it to the PortSpeed field. +func (o *CircuitCircuitTermination) SetPortSpeed(v int32) { + o.PortSpeed.Set(&v) +} + +// SetPortSpeedNil sets the value for PortSpeed to be an explicit nil +func (o *CircuitCircuitTermination) SetPortSpeedNil() { + o.PortSpeed.Set(nil) +} + +// UnsetPortSpeed ensures that no value is present for PortSpeed, not even an explicit nil +func (o *CircuitCircuitTermination) UnsetPortSpeed() { + o.PortSpeed.Unset() +} + +// GetUpstreamSpeed returns the UpstreamSpeed field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CircuitCircuitTermination) GetUpstreamSpeed() int32 { + if o == nil || IsNil(o.UpstreamSpeed.Get()) { + var ret int32 + return ret + } + return *o.UpstreamSpeed.Get() +} + +// GetUpstreamSpeedOk returns a tuple with the UpstreamSpeed 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 *CircuitCircuitTermination) GetUpstreamSpeedOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.UpstreamSpeed.Get(), o.UpstreamSpeed.IsSet() +} + +// HasUpstreamSpeed returns a boolean if a field has been set. +func (o *CircuitCircuitTermination) HasUpstreamSpeed() bool { + if o != nil && o.UpstreamSpeed.IsSet() { + return true + } + + return false +} + +// SetUpstreamSpeed gets a reference to the given NullableInt32 and assigns it to the UpstreamSpeed field. +func (o *CircuitCircuitTermination) SetUpstreamSpeed(v int32) { + o.UpstreamSpeed.Set(&v) +} + +// SetUpstreamSpeedNil sets the value for UpstreamSpeed to be an explicit nil +func (o *CircuitCircuitTermination) SetUpstreamSpeedNil() { + o.UpstreamSpeed.Set(nil) +} + +// UnsetUpstreamSpeed ensures that no value is present for UpstreamSpeed, not even an explicit nil +func (o *CircuitCircuitTermination) UnsetUpstreamSpeed() { + o.UpstreamSpeed.Unset() +} + +// GetXconnectId returns the XconnectId field value if set, zero value otherwise. +func (o *CircuitCircuitTermination) GetXconnectId() string { + if o == nil || IsNil(o.XconnectId) { + var ret string + return ret + } + return *o.XconnectId +} + +// GetXconnectIdOk returns a tuple with the XconnectId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CircuitCircuitTermination) GetXconnectIdOk() (*string, bool) { + if o == nil || IsNil(o.XconnectId) { + return nil, false + } + return o.XconnectId, true +} + +// HasXconnectId returns a boolean if a field has been set. +func (o *CircuitCircuitTermination) HasXconnectId() bool { + if o != nil && !IsNil(o.XconnectId) { + return true + } + + return false +} + +// SetXconnectId gets a reference to the given string and assigns it to the XconnectId field. +func (o *CircuitCircuitTermination) SetXconnectId(v string) { + o.XconnectId = &v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *CircuitCircuitTermination) 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 *CircuitCircuitTermination) 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 *CircuitCircuitTermination) 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 *CircuitCircuitTermination) SetDescription(v string) { + o.Description = &v +} + +func (o CircuitCircuitTermination) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o CircuitCircuitTermination) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } + toSerialize["display"] = o.Display + toSerialize["site"] = o.Site.Get() + toSerialize["provider_network"] = o.ProviderNetwork.Get() + if o.PortSpeed.IsSet() { + toSerialize["port_speed"] = o.PortSpeed.Get() + } + if o.UpstreamSpeed.IsSet() { + toSerialize["upstream_speed"] = o.UpstreamSpeed.Get() + } + if !IsNil(o.XconnectId) { + toSerialize["xconnect_id"] = o.XconnectId + } + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *CircuitCircuitTermination) 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", + "url", + "display", + "site", + "provider_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) + } + } + + varCircuitCircuitTermination := _CircuitCircuitTermination{} + + err = json.Unmarshal(data, &varCircuitCircuitTermination) + + if err != nil { + return err + } + + *o = CircuitCircuitTermination(varCircuitCircuitTermination) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display_url") + delete(additionalProperties, "display") + delete(additionalProperties, "site") + delete(additionalProperties, "provider_network") + delete(additionalProperties, "port_speed") + delete(additionalProperties, "upstream_speed") + delete(additionalProperties, "xconnect_id") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableCircuitCircuitTermination struct { + value *CircuitCircuitTermination + isSet bool +} + +func (v NullableCircuitCircuitTermination) Get() *CircuitCircuitTermination { + return v.value +} + +func (v *NullableCircuitCircuitTermination) Set(val *CircuitCircuitTermination) { + v.value = val + v.isSet = true +} + +func (v NullableCircuitCircuitTermination) IsSet() bool { + return v.isSet +} + +func (v *NullableCircuitCircuitTermination) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCircuitCircuitTermination(val *CircuitCircuitTermination) *NullableCircuitCircuitTermination { + return &NullableCircuitCircuitTermination{value: val, isSet: true} +} + +func (v NullableCircuitCircuitTermination) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCircuitCircuitTermination) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_circuit_circuit_termination_request.go b/model_circuit_circuit_termination_request.go new file mode 100644 index 000000000..0abf343ad --- /dev/null +++ b/model_circuit_circuit_termination_request.go @@ -0,0 +1,372 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the CircuitCircuitTerminationRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &CircuitCircuitTerminationRequest{} + +// CircuitCircuitTerminationRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a dictionary of attributes which can be used to uniquely identify the related object. This class should be subclassed to return a full representation of the related object on read. +type CircuitCircuitTerminationRequest struct { + Site NullableBriefSiteRequest `json:"site"` + ProviderNetwork NullableBriefProviderNetworkRequest `json:"provider_network"` + // Physical circuit speed + PortSpeed NullableInt32 `json:"port_speed,omitempty"` + // Upstream speed, if different from port speed + UpstreamSpeed NullableInt32 `json:"upstream_speed,omitempty"` + // ID of the local cross-connect + XconnectId *string `json:"xconnect_id,omitempty"` + Description *string `json:"description,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _CircuitCircuitTerminationRequest CircuitCircuitTerminationRequest + +// NewCircuitCircuitTerminationRequest instantiates a new CircuitCircuitTerminationRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewCircuitCircuitTerminationRequest(site NullableBriefSiteRequest, providerNetwork NullableBriefProviderNetworkRequest) *CircuitCircuitTerminationRequest { + this := CircuitCircuitTerminationRequest{} + this.Site = site + this.ProviderNetwork = providerNetwork + return &this +} + +// NewCircuitCircuitTerminationRequestWithDefaults instantiates a new CircuitCircuitTerminationRequest object +// This 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 NewCircuitCircuitTerminationRequestWithDefaults() *CircuitCircuitTerminationRequest { + this := CircuitCircuitTerminationRequest{} + return &this +} + +// GetSite returns the Site field value +// If the value is explicit nil, the zero value for BriefSiteRequest will be returned +func (o *CircuitCircuitTerminationRequest) GetSite() BriefSiteRequest { + if o == nil || o.Site.Get() == nil { + var ret BriefSiteRequest + return ret + } + + return *o.Site.Get() +} + +// GetSiteOk returns a tuple with the Site 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 *CircuitCircuitTerminationRequest) GetSiteOk() (*BriefSiteRequest, bool) { + if o == nil { + return nil, false + } + return o.Site.Get(), o.Site.IsSet() +} + +// SetSite sets field value +func (o *CircuitCircuitTerminationRequest) SetSite(v BriefSiteRequest) { + o.Site.Set(&v) +} + +// GetProviderNetwork returns the ProviderNetwork field value +// If the value is explicit nil, the zero value for BriefProviderNetworkRequest will be returned +func (o *CircuitCircuitTerminationRequest) GetProviderNetwork() BriefProviderNetworkRequest { + if o == nil || o.ProviderNetwork.Get() == nil { + var ret BriefProviderNetworkRequest + return ret + } + + return *o.ProviderNetwork.Get() +} + +// GetProviderNetworkOk returns a tuple with the ProviderNetwork 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 *CircuitCircuitTerminationRequest) GetProviderNetworkOk() (*BriefProviderNetworkRequest, bool) { + if o == nil { + return nil, false + } + return o.ProviderNetwork.Get(), o.ProviderNetwork.IsSet() +} + +// SetProviderNetwork sets field value +func (o *CircuitCircuitTerminationRequest) SetProviderNetwork(v BriefProviderNetworkRequest) { + o.ProviderNetwork.Set(&v) +} + +// GetPortSpeed returns the PortSpeed field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CircuitCircuitTerminationRequest) GetPortSpeed() int32 { + if o == nil || IsNil(o.PortSpeed.Get()) { + var ret int32 + return ret + } + return *o.PortSpeed.Get() +} + +// GetPortSpeedOk returns a tuple with the PortSpeed 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 *CircuitCircuitTerminationRequest) GetPortSpeedOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.PortSpeed.Get(), o.PortSpeed.IsSet() +} + +// HasPortSpeed returns a boolean if a field has been set. +func (o *CircuitCircuitTerminationRequest) HasPortSpeed() bool { + if o != nil && o.PortSpeed.IsSet() { + return true + } + + return false +} + +// SetPortSpeed gets a reference to the given NullableInt32 and assigns it to the PortSpeed field. +func (o *CircuitCircuitTerminationRequest) SetPortSpeed(v int32) { + o.PortSpeed.Set(&v) +} + +// SetPortSpeedNil sets the value for PortSpeed to be an explicit nil +func (o *CircuitCircuitTerminationRequest) SetPortSpeedNil() { + o.PortSpeed.Set(nil) +} + +// UnsetPortSpeed ensures that no value is present for PortSpeed, not even an explicit nil +func (o *CircuitCircuitTerminationRequest) UnsetPortSpeed() { + o.PortSpeed.Unset() +} + +// GetUpstreamSpeed returns the UpstreamSpeed field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CircuitCircuitTerminationRequest) GetUpstreamSpeed() int32 { + if o == nil || IsNil(o.UpstreamSpeed.Get()) { + var ret int32 + return ret + } + return *o.UpstreamSpeed.Get() +} + +// GetUpstreamSpeedOk returns a tuple with the UpstreamSpeed 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 *CircuitCircuitTerminationRequest) GetUpstreamSpeedOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.UpstreamSpeed.Get(), o.UpstreamSpeed.IsSet() +} + +// HasUpstreamSpeed returns a boolean if a field has been set. +func (o *CircuitCircuitTerminationRequest) HasUpstreamSpeed() bool { + if o != nil && o.UpstreamSpeed.IsSet() { + return true + } + + return false +} + +// SetUpstreamSpeed gets a reference to the given NullableInt32 and assigns it to the UpstreamSpeed field. +func (o *CircuitCircuitTerminationRequest) SetUpstreamSpeed(v int32) { + o.UpstreamSpeed.Set(&v) +} + +// SetUpstreamSpeedNil sets the value for UpstreamSpeed to be an explicit nil +func (o *CircuitCircuitTerminationRequest) SetUpstreamSpeedNil() { + o.UpstreamSpeed.Set(nil) +} + +// UnsetUpstreamSpeed ensures that no value is present for UpstreamSpeed, not even an explicit nil +func (o *CircuitCircuitTerminationRequest) UnsetUpstreamSpeed() { + o.UpstreamSpeed.Unset() +} + +// GetXconnectId returns the XconnectId field value if set, zero value otherwise. +func (o *CircuitCircuitTerminationRequest) GetXconnectId() string { + if o == nil || IsNil(o.XconnectId) { + var ret string + return ret + } + return *o.XconnectId +} + +// GetXconnectIdOk returns a tuple with the XconnectId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CircuitCircuitTerminationRequest) GetXconnectIdOk() (*string, bool) { + if o == nil || IsNil(o.XconnectId) { + return nil, false + } + return o.XconnectId, true +} + +// HasXconnectId returns a boolean if a field has been set. +func (o *CircuitCircuitTerminationRequest) HasXconnectId() bool { + if o != nil && !IsNil(o.XconnectId) { + return true + } + + return false +} + +// SetXconnectId gets a reference to the given string and assigns it to the XconnectId field. +func (o *CircuitCircuitTerminationRequest) SetXconnectId(v string) { + o.XconnectId = &v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *CircuitCircuitTerminationRequest) 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 *CircuitCircuitTerminationRequest) 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 *CircuitCircuitTerminationRequest) 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 *CircuitCircuitTerminationRequest) SetDescription(v string) { + o.Description = &v +} + +func (o CircuitCircuitTerminationRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o CircuitCircuitTerminationRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["site"] = o.Site.Get() + toSerialize["provider_network"] = o.ProviderNetwork.Get() + if o.PortSpeed.IsSet() { + toSerialize["port_speed"] = o.PortSpeed.Get() + } + if o.UpstreamSpeed.IsSet() { + toSerialize["upstream_speed"] = o.UpstreamSpeed.Get() + } + if !IsNil(o.XconnectId) { + toSerialize["xconnect_id"] = o.XconnectId + } + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *CircuitCircuitTerminationRequest) 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{ + "site", + "provider_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) + } + } + + varCircuitCircuitTerminationRequest := _CircuitCircuitTerminationRequest{} + + err = json.Unmarshal(data, &varCircuitCircuitTerminationRequest) + + if err != nil { + return err + } + + *o = CircuitCircuitTerminationRequest(varCircuitCircuitTerminationRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "site") + delete(additionalProperties, "provider_network") + delete(additionalProperties, "port_speed") + delete(additionalProperties, "upstream_speed") + delete(additionalProperties, "xconnect_id") + delete(additionalProperties, "description") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableCircuitCircuitTerminationRequest struct { + value *CircuitCircuitTerminationRequest + isSet bool +} + +func (v NullableCircuitCircuitTerminationRequest) Get() *CircuitCircuitTerminationRequest { + return v.value +} + +func (v *NullableCircuitCircuitTerminationRequest) Set(val *CircuitCircuitTerminationRequest) { + v.value = val + v.isSet = true +} + +func (v NullableCircuitCircuitTerminationRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableCircuitCircuitTerminationRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCircuitCircuitTerminationRequest(val *CircuitCircuitTerminationRequest) *NullableCircuitCircuitTerminationRequest { + return &NullableCircuitCircuitTerminationRequest{value: val, isSet: true} +} + +func (v NullableCircuitCircuitTerminationRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCircuitCircuitTerminationRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_circuit_group.go b/model_circuit_group.go new file mode 100644 index 000000000..f51f666bf --- /dev/null +++ b/model_circuit_group.go @@ -0,0 +1,570 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" + "time" +) + +// checks if the CircuitGroup type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &CircuitGroup{} + +// CircuitGroup Adds support for custom fields and tags. +type CircuitGroup struct { + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Name string `json:"name"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + Tenant NullableBriefTenant `json:"tenant,omitempty"` + Tags []NestedTag `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Created NullableTime `json:"created"` + LastUpdated NullableTime `json:"last_updated"` + CircuitCount int64 `json:"circuit_count"` + AdditionalProperties map[string]interface{} +} + +type _CircuitGroup CircuitGroup + +// NewCircuitGroup instantiates a new CircuitGroup object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewCircuitGroup(id int32, url string, display string, name string, slug string, created NullableTime, lastUpdated NullableTime, circuitCount int64) *CircuitGroup { + this := CircuitGroup{} + this.Id = id + this.Url = url + this.Display = display + this.Name = name + this.Slug = slug + this.Created = created + this.LastUpdated = lastUpdated + this.CircuitCount = circuitCount + return &this +} + +// NewCircuitGroupWithDefaults instantiates a new CircuitGroup object +// This 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 NewCircuitGroupWithDefaults() *CircuitGroup { + this := CircuitGroup{} + return &this +} + +// GetId returns the Id field value +func (o *CircuitGroup) GetId() int32 { + if o == nil { + var ret int32 + 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 *CircuitGroup) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *CircuitGroup) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *CircuitGroup) 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 *CircuitGroup) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *CircuitGroup) SetUrl(v string) { + o.Url = v +} + +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *CircuitGroup) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CircuitGroup) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *CircuitGroup) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *CircuitGroup) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + +// GetDisplay returns the Display field value +func (o *CircuitGroup) 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 *CircuitGroup) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *CircuitGroup) SetDisplay(v string) { + o.Display = v +} + +// GetName returns the Name field value +func (o *CircuitGroup) 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 *CircuitGroup) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *CircuitGroup) SetName(v string) { + o.Name = v +} + +// GetSlug returns the Slug field value +func (o *CircuitGroup) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *CircuitGroup) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *CircuitGroup) SetSlug(v string) { + o.Slug = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *CircuitGroup) 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 *CircuitGroup) 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 *CircuitGroup) 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 *CircuitGroup) SetDescription(v string) { + o.Description = &v +} + +// GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CircuitGroup) GetTenant() BriefTenant { + if o == nil || IsNil(o.Tenant.Get()) { + var ret BriefTenant + 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 *CircuitGroup) GetTenantOk() (*BriefTenant, 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 *CircuitGroup) HasTenant() bool { + if o != nil && o.Tenant.IsSet() { + return true + } + + return false +} + +// SetTenant gets a reference to the given NullableBriefTenant and assigns it to the Tenant field. +func (o *CircuitGroup) SetTenant(v BriefTenant) { + o.Tenant.Set(&v) +} + +// SetTenantNil sets the value for Tenant to be an explicit nil +func (o *CircuitGroup) SetTenantNil() { + o.Tenant.Set(nil) +} + +// UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +func (o *CircuitGroup) UnsetTenant() { + o.Tenant.Unset() +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *CircuitGroup) GetTags() []NestedTag { + if o == nil || IsNil(o.Tags) { + var ret []NestedTag + 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 *CircuitGroup) GetTagsOk() ([]NestedTag, 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 *CircuitGroup) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTag and assigns it to the Tags field. +func (o *CircuitGroup) SetTags(v []NestedTag) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *CircuitGroup) 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 *CircuitGroup) 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 *CircuitGroup) 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 *CircuitGroup) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetCreated returns the Created field value +// If the value is explicit nil, the zero value for time.Time will be returned +func (o *CircuitGroup) 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 *CircuitGroup) GetCreatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.Created.Get(), o.Created.IsSet() +} + +// SetCreated sets field value +func (o *CircuitGroup) 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 *CircuitGroup) 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 *CircuitGroup) GetLastUpdatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LastUpdated.Get(), o.LastUpdated.IsSet() +} + +// SetLastUpdated sets field value +func (o *CircuitGroup) SetLastUpdated(v time.Time) { + o.LastUpdated.Set(&v) +} + +// GetCircuitCount returns the CircuitCount field value +func (o *CircuitGroup) GetCircuitCount() int64 { + if o == nil { + var ret int64 + return ret + } + + return o.CircuitCount +} + +// GetCircuitCountOk returns a tuple with the CircuitCount field value +// and a boolean to check if the value has been set. +func (o *CircuitGroup) GetCircuitCountOk() (*int64, bool) { + if o == nil { + return nil, false + } + return &o.CircuitCount, true +} + +// SetCircuitCount sets field value +func (o *CircuitGroup) SetCircuitCount(v int64) { + o.CircuitCount = v +} + +func (o CircuitGroup) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o CircuitGroup) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } + toSerialize["display"] = o.Display + toSerialize["name"] = o.Name + toSerialize["slug"] = o.Slug + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + 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 + } + toSerialize["created"] = o.Created.Get() + toSerialize["last_updated"] = o.LastUpdated.Get() + toSerialize["circuit_count"] = o.CircuitCount + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *CircuitGroup) 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", + "url", + "display", + "name", + "slug", + "created", + "last_updated", + "circuit_count", + } + + 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) + } + } + + varCircuitGroup := _CircuitGroup{} + + err = json.Unmarshal(data, &varCircuitGroup) + + if err != nil { + return err + } + + *o = CircuitGroup(varCircuitGroup) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display_url") + delete(additionalProperties, "display") + delete(additionalProperties, "name") + delete(additionalProperties, "slug") + delete(additionalProperties, "description") + delete(additionalProperties, "tenant") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "created") + delete(additionalProperties, "last_updated") + delete(additionalProperties, "circuit_count") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableCircuitGroup struct { + value *CircuitGroup + isSet bool +} + +func (v NullableCircuitGroup) Get() *CircuitGroup { + return v.value +} + +func (v *NullableCircuitGroup) Set(val *CircuitGroup) { + v.value = val + v.isSet = true +} + +func (v NullableCircuitGroup) IsSet() bool { + return v.isSet +} + +func (v *NullableCircuitGroup) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCircuitGroup(val *CircuitGroup) *NullableCircuitGroup { + return &NullableCircuitGroup{value: val, isSet: true} +} + +func (v NullableCircuitGroup) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCircuitGroup) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_circuit_group_assignment.go b/model_circuit_group_assignment.go new file mode 100644 index 000000000..50b8b55e3 --- /dev/null +++ b/model_circuit_group_assignment.go @@ -0,0 +1,456 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" + "time" +) + +// checks if the CircuitGroupAssignment type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &CircuitGroupAssignment{} + +// CircuitGroupAssignment Base serializer for group assignments under CircuitSerializer. +type CircuitGroupAssignment struct { + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Group BriefCircuitGroup `json:"group"` + Circuit BriefCircuit `json:"circuit"` + Priority *BriefCircuitGroupAssignmentSerializerPriority `json:"priority,omitempty"` + Tags []NestedTag `json:"tags,omitempty"` + Created NullableTime `json:"created"` + LastUpdated NullableTime `json:"last_updated"` + AdditionalProperties map[string]interface{} +} + +type _CircuitGroupAssignment CircuitGroupAssignment + +// NewCircuitGroupAssignment instantiates a new CircuitGroupAssignment object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewCircuitGroupAssignment(id int32, url string, display string, group BriefCircuitGroup, circuit BriefCircuit, created NullableTime, lastUpdated NullableTime) *CircuitGroupAssignment { + this := CircuitGroupAssignment{} + this.Id = id + this.Url = url + this.Display = display + this.Group = group + this.Circuit = circuit + this.Created = created + this.LastUpdated = lastUpdated + return &this +} + +// NewCircuitGroupAssignmentWithDefaults instantiates a new CircuitGroupAssignment object +// This 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 NewCircuitGroupAssignmentWithDefaults() *CircuitGroupAssignment { + this := CircuitGroupAssignment{} + return &this +} + +// GetId returns the Id field value +func (o *CircuitGroupAssignment) GetId() int32 { + if o == nil { + var ret int32 + 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 *CircuitGroupAssignment) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *CircuitGroupAssignment) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *CircuitGroupAssignment) 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 *CircuitGroupAssignment) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *CircuitGroupAssignment) SetUrl(v string) { + o.Url = v +} + +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *CircuitGroupAssignment) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CircuitGroupAssignment) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *CircuitGroupAssignment) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *CircuitGroupAssignment) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + +// GetDisplay returns the Display field value +func (o *CircuitGroupAssignment) 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 *CircuitGroupAssignment) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *CircuitGroupAssignment) SetDisplay(v string) { + o.Display = v +} + +// GetGroup returns the Group field value +func (o *CircuitGroupAssignment) GetGroup() BriefCircuitGroup { + if o == nil { + var ret BriefCircuitGroup + return ret + } + + return o.Group +} + +// GetGroupOk returns a tuple with the Group field value +// and a boolean to check if the value has been set. +func (o *CircuitGroupAssignment) GetGroupOk() (*BriefCircuitGroup, bool) { + if o == nil { + return nil, false + } + return &o.Group, true +} + +// SetGroup sets field value +func (o *CircuitGroupAssignment) SetGroup(v BriefCircuitGroup) { + o.Group = v +} + +// GetCircuit returns the Circuit field value +func (o *CircuitGroupAssignment) GetCircuit() BriefCircuit { + if o == nil { + var ret BriefCircuit + return ret + } + + return o.Circuit +} + +// GetCircuitOk returns a tuple with the Circuit field value +// and a boolean to check if the value has been set. +func (o *CircuitGroupAssignment) GetCircuitOk() (*BriefCircuit, bool) { + if o == nil { + return nil, false + } + return &o.Circuit, true +} + +// SetCircuit sets field value +func (o *CircuitGroupAssignment) SetCircuit(v BriefCircuit) { + o.Circuit = v +} + +// GetPriority returns the Priority field value if set, zero value otherwise. +func (o *CircuitGroupAssignment) GetPriority() BriefCircuitGroupAssignmentSerializerPriority { + if o == nil || IsNil(o.Priority) { + var ret BriefCircuitGroupAssignmentSerializerPriority + return ret + } + return *o.Priority +} + +// GetPriorityOk returns a tuple with the Priority field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CircuitGroupAssignment) GetPriorityOk() (*BriefCircuitGroupAssignmentSerializerPriority, bool) { + if o == nil || IsNil(o.Priority) { + return nil, false + } + return o.Priority, true +} + +// HasPriority returns a boolean if a field has been set. +func (o *CircuitGroupAssignment) HasPriority() bool { + if o != nil && !IsNil(o.Priority) { + return true + } + + return false +} + +// SetPriority gets a reference to the given BriefCircuitGroupAssignmentSerializerPriority and assigns it to the Priority field. +func (o *CircuitGroupAssignment) SetPriority(v BriefCircuitGroupAssignmentSerializerPriority) { + o.Priority = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *CircuitGroupAssignment) GetTags() []NestedTag { + if o == nil || IsNil(o.Tags) { + var ret []NestedTag + 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 *CircuitGroupAssignment) GetTagsOk() ([]NestedTag, 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 *CircuitGroupAssignment) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTag and assigns it to the Tags field. +func (o *CircuitGroupAssignment) SetTags(v []NestedTag) { + o.Tags = v +} + +// GetCreated returns the Created field value +// If the value is explicit nil, the zero value for time.Time will be returned +func (o *CircuitGroupAssignment) 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 *CircuitGroupAssignment) GetCreatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.Created.Get(), o.Created.IsSet() +} + +// SetCreated sets field value +func (o *CircuitGroupAssignment) 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 *CircuitGroupAssignment) 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 *CircuitGroupAssignment) GetLastUpdatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LastUpdated.Get(), o.LastUpdated.IsSet() +} + +// SetLastUpdated sets field value +func (o *CircuitGroupAssignment) SetLastUpdated(v time.Time) { + o.LastUpdated.Set(&v) +} + +func (o CircuitGroupAssignment) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o CircuitGroupAssignment) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } + toSerialize["display"] = o.Display + toSerialize["group"] = o.Group + toSerialize["circuit"] = o.Circuit + if !IsNil(o.Priority) { + toSerialize["priority"] = o.Priority + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + toSerialize["created"] = o.Created.Get() + toSerialize["last_updated"] = o.LastUpdated.Get() + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *CircuitGroupAssignment) 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", + "url", + "display", + "group", + "circuit", + "created", + "last_updated", + } + + 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) + } + } + + varCircuitGroupAssignment := _CircuitGroupAssignment{} + + err = json.Unmarshal(data, &varCircuitGroupAssignment) + + if err != nil { + return err + } + + *o = CircuitGroupAssignment(varCircuitGroupAssignment) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display_url") + delete(additionalProperties, "display") + delete(additionalProperties, "group") + delete(additionalProperties, "circuit") + delete(additionalProperties, "priority") + delete(additionalProperties, "tags") + delete(additionalProperties, "created") + delete(additionalProperties, "last_updated") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableCircuitGroupAssignment struct { + value *CircuitGroupAssignment + isSet bool +} + +func (v NullableCircuitGroupAssignment) Get() *CircuitGroupAssignment { + return v.value +} + +func (v *NullableCircuitGroupAssignment) Set(val *CircuitGroupAssignment) { + v.value = val + v.isSet = true +} + +func (v NullableCircuitGroupAssignment) IsSet() bool { + return v.isSet +} + +func (v *NullableCircuitGroupAssignment) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCircuitGroupAssignment(val *CircuitGroupAssignment) *NullableCircuitGroupAssignment { + return &NullableCircuitGroupAssignment{value: val, isSet: true} +} + +func (v NullableCircuitGroupAssignment) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCircuitGroupAssignment) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_circuit_group_assignment_request.go b/model_circuit_group_assignment_request.go new file mode 100644 index 000000000..dfe518322 --- /dev/null +++ b/model_circuit_group_assignment_request.go @@ -0,0 +1,269 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the CircuitGroupAssignmentRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &CircuitGroupAssignmentRequest{} + +// CircuitGroupAssignmentRequest Base serializer for group assignments under CircuitSerializer. +type CircuitGroupAssignmentRequest struct { + Group BriefCircuitGroupRequest `json:"group"` + Circuit BriefCircuitRequest `json:"circuit"` + Priority *BriefCircuitGroupAssignmentSerializerPriorityValue `json:"priority,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _CircuitGroupAssignmentRequest CircuitGroupAssignmentRequest + +// NewCircuitGroupAssignmentRequest instantiates a new CircuitGroupAssignmentRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewCircuitGroupAssignmentRequest(group BriefCircuitGroupRequest, circuit BriefCircuitRequest) *CircuitGroupAssignmentRequest { + this := CircuitGroupAssignmentRequest{} + this.Group = group + this.Circuit = circuit + return &this +} + +// NewCircuitGroupAssignmentRequestWithDefaults instantiates a new CircuitGroupAssignmentRequest object +// This 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 NewCircuitGroupAssignmentRequestWithDefaults() *CircuitGroupAssignmentRequest { + this := CircuitGroupAssignmentRequest{} + return &this +} + +// GetGroup returns the Group field value +func (o *CircuitGroupAssignmentRequest) GetGroup() BriefCircuitGroupRequest { + if o == nil { + var ret BriefCircuitGroupRequest + return ret + } + + return o.Group +} + +// GetGroupOk returns a tuple with the Group field value +// and a boolean to check if the value has been set. +func (o *CircuitGroupAssignmentRequest) GetGroupOk() (*BriefCircuitGroupRequest, bool) { + if o == nil { + return nil, false + } + return &o.Group, true +} + +// SetGroup sets field value +func (o *CircuitGroupAssignmentRequest) SetGroup(v BriefCircuitGroupRequest) { + o.Group = v +} + +// GetCircuit returns the Circuit field value +func (o *CircuitGroupAssignmentRequest) GetCircuit() BriefCircuitRequest { + if o == nil { + var ret BriefCircuitRequest + return ret + } + + return o.Circuit +} + +// GetCircuitOk returns a tuple with the Circuit field value +// and a boolean to check if the value has been set. +func (o *CircuitGroupAssignmentRequest) GetCircuitOk() (*BriefCircuitRequest, bool) { + if o == nil { + return nil, false + } + return &o.Circuit, true +} + +// SetCircuit sets field value +func (o *CircuitGroupAssignmentRequest) SetCircuit(v BriefCircuitRequest) { + o.Circuit = v +} + +// GetPriority returns the Priority field value if set, zero value otherwise. +func (o *CircuitGroupAssignmentRequest) GetPriority() BriefCircuitGroupAssignmentSerializerPriorityValue { + if o == nil || IsNil(o.Priority) { + var ret BriefCircuitGroupAssignmentSerializerPriorityValue + return ret + } + return *o.Priority +} + +// GetPriorityOk returns a tuple with the Priority field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CircuitGroupAssignmentRequest) GetPriorityOk() (*BriefCircuitGroupAssignmentSerializerPriorityValue, bool) { + if o == nil || IsNil(o.Priority) { + return nil, false + } + return o.Priority, true +} + +// HasPriority returns a boolean if a field has been set. +func (o *CircuitGroupAssignmentRequest) HasPriority() bool { + if o != nil && !IsNil(o.Priority) { + return true + } + + return false +} + +// SetPriority gets a reference to the given BriefCircuitGroupAssignmentSerializerPriorityValue and assigns it to the Priority field. +func (o *CircuitGroupAssignmentRequest) SetPriority(v BriefCircuitGroupAssignmentSerializerPriorityValue) { + o.Priority = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *CircuitGroupAssignmentRequest) GetTags() []NestedTagRequest { + if o == nil || IsNil(o.Tags) { + var ret []NestedTagRequest + 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 *CircuitGroupAssignmentRequest) GetTagsOk() ([]NestedTagRequest, 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 *CircuitGroupAssignmentRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTagRequest and assigns it to the Tags field. +func (o *CircuitGroupAssignmentRequest) SetTags(v []NestedTagRequest) { + o.Tags = v +} + +func (o CircuitGroupAssignmentRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o CircuitGroupAssignmentRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["group"] = o.Group + toSerialize["circuit"] = o.Circuit + if !IsNil(o.Priority) { + toSerialize["priority"] = o.Priority + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *CircuitGroupAssignmentRequest) 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{ + "group", + "circuit", + } + + 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) + } + } + + varCircuitGroupAssignmentRequest := _CircuitGroupAssignmentRequest{} + + err = json.Unmarshal(data, &varCircuitGroupAssignmentRequest) + + if err != nil { + return err + } + + *o = CircuitGroupAssignmentRequest(varCircuitGroupAssignmentRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "group") + delete(additionalProperties, "circuit") + delete(additionalProperties, "priority") + delete(additionalProperties, "tags") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableCircuitGroupAssignmentRequest struct { + value *CircuitGroupAssignmentRequest + isSet bool +} + +func (v NullableCircuitGroupAssignmentRequest) Get() *CircuitGroupAssignmentRequest { + return v.value +} + +func (v *NullableCircuitGroupAssignmentRequest) Set(val *CircuitGroupAssignmentRequest) { + v.value = val + v.isSet = true +} + +func (v NullableCircuitGroupAssignmentRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableCircuitGroupAssignmentRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCircuitGroupAssignmentRequest(val *CircuitGroupAssignmentRequest) *NullableCircuitGroupAssignmentRequest { + return &NullableCircuitGroupAssignmentRequest{value: val, isSet: true} +} + +func (v NullableCircuitGroupAssignmentRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCircuitGroupAssignmentRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_circuit_group_request.go b/model_circuit_group_request.go new file mode 100644 index 000000000..943e5ea7d --- /dev/null +++ b/model_circuit_group_request.go @@ -0,0 +1,354 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the CircuitGroupRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &CircuitGroupRequest{} + +// CircuitGroupRequest Adds support for custom fields and tags. +type CircuitGroupRequest struct { + Name string `json:"name"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _CircuitGroupRequest CircuitGroupRequest + +// NewCircuitGroupRequest instantiates a new CircuitGroupRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewCircuitGroupRequest(name string, slug string) *CircuitGroupRequest { + this := CircuitGroupRequest{} + this.Name = name + this.Slug = slug + return &this +} + +// NewCircuitGroupRequestWithDefaults instantiates a new CircuitGroupRequest object +// This 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 NewCircuitGroupRequestWithDefaults() *CircuitGroupRequest { + this := CircuitGroupRequest{} + return &this +} + +// GetName returns the Name field value +func (o *CircuitGroupRequest) 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 *CircuitGroupRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *CircuitGroupRequest) SetName(v string) { + o.Name = v +} + +// GetSlug returns the Slug field value +func (o *CircuitGroupRequest) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *CircuitGroupRequest) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *CircuitGroupRequest) SetSlug(v string) { + o.Slug = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *CircuitGroupRequest) 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 *CircuitGroupRequest) 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 *CircuitGroupRequest) 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 *CircuitGroupRequest) SetDescription(v string) { + o.Description = &v +} + +// GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CircuitGroupRequest) GetTenant() BriefTenantRequest { + if o == nil || IsNil(o.Tenant.Get()) { + var ret BriefTenantRequest + 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 *CircuitGroupRequest) GetTenantOk() (*BriefTenantRequest, 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 *CircuitGroupRequest) HasTenant() bool { + if o != nil && o.Tenant.IsSet() { + return true + } + + return false +} + +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *CircuitGroupRequest) SetTenant(v BriefTenantRequest) { + o.Tenant.Set(&v) +} + +// SetTenantNil sets the value for Tenant to be an explicit nil +func (o *CircuitGroupRequest) SetTenantNil() { + o.Tenant.Set(nil) +} + +// UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +func (o *CircuitGroupRequest) UnsetTenant() { + o.Tenant.Unset() +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *CircuitGroupRequest) GetTags() []NestedTagRequest { + if o == nil || IsNil(o.Tags) { + var ret []NestedTagRequest + 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 *CircuitGroupRequest) GetTagsOk() ([]NestedTagRequest, 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 *CircuitGroupRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTagRequest and assigns it to the Tags field. +func (o *CircuitGroupRequest) SetTags(v []NestedTagRequest) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *CircuitGroupRequest) 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 *CircuitGroupRequest) 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 *CircuitGroupRequest) 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 *CircuitGroupRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +func (o CircuitGroupRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o CircuitGroupRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["name"] = o.Name + toSerialize["slug"] = o.Slug + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + 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 + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *CircuitGroupRequest) 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", + "slug", + } + + 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) + } + } + + varCircuitGroupRequest := _CircuitGroupRequest{} + + err = json.Unmarshal(data, &varCircuitGroupRequest) + + if err != nil { + return err + } + + *o = CircuitGroupRequest(varCircuitGroupRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "name") + delete(additionalProperties, "slug") + delete(additionalProperties, "description") + delete(additionalProperties, "tenant") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableCircuitGroupRequest struct { + value *CircuitGroupRequest + isSet bool +} + +func (v NullableCircuitGroupRequest) Get() *CircuitGroupRequest { + return v.value +} + +func (v *NullableCircuitGroupRequest) Set(val *CircuitGroupRequest) { + v.value = val + v.isSet = true +} + +func (v NullableCircuitGroupRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableCircuitGroupRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCircuitGroupRequest(val *CircuitGroupRequest) *NullableCircuitGroupRequest { + return &NullableCircuitGroupRequest{value: val, isSet: true} +} + +func (v NullableCircuitGroupRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCircuitGroupRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_circuit_request.go b/model_circuit_request.go index f5d44906d..c67f28ec1 100644 --- a/model_circuit_request.go +++ b/model_circuit_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,8 +21,21 @@ var _ MappedNullable = &CircuitRequest{} // CircuitRequest Adds support for custom fields and tags. type CircuitRequest struct { // Unique circuit ID - Cid string `json:"cid"` - Description *string `json:"description,omitempty"` + Cid string `json:"cid"` + Provider BriefProviderRequest `json:"provider"` + ProviderAccount NullableBriefProviderAccountRequest `json:"provider_account,omitempty"` + Type BriefCircuitTypeRequest `json:"type"` + Status *CircuitStatusValue `json:"status,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` + InstallDate NullableString `json:"install_date,omitempty"` + TerminationDate NullableString `json:"termination_date,omitempty"` + // Committed rate + CommitRate NullableInt32 `json:"commit_rate,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Assignments []BriefCircuitGroupAssignmentSerializerRequest `json:"assignments,omitempty"` AdditionalProperties map[string]interface{} } @@ -32,9 +45,11 @@ type _CircuitRequest CircuitRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewCircuitRequest(cid string) *CircuitRequest { +func NewCircuitRequest(cid string, provider BriefProviderRequest, type_ BriefCircuitTypeRequest) *CircuitRequest { this := CircuitRequest{} this.Cid = cid + this.Provider = provider + this.Type = type_ return &this } @@ -70,6 +85,301 @@ func (o *CircuitRequest) SetCid(v string) { o.Cid = v } +// GetProvider returns the Provider field value +func (o *CircuitRequest) GetProvider() BriefProviderRequest { + if o == nil { + var ret BriefProviderRequest + return ret + } + + return o.Provider +} + +// GetProviderOk returns a tuple with the Provider field value +// and a boolean to check if the value has been set. +func (o *CircuitRequest) GetProviderOk() (*BriefProviderRequest, bool) { + if o == nil { + return nil, false + } + return &o.Provider, true +} + +// SetProvider sets field value +func (o *CircuitRequest) SetProvider(v BriefProviderRequest) { + o.Provider = v +} + +// GetProviderAccount returns the ProviderAccount field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CircuitRequest) GetProviderAccount() BriefProviderAccountRequest { + if o == nil || IsNil(o.ProviderAccount.Get()) { + var ret BriefProviderAccountRequest + return ret + } + return *o.ProviderAccount.Get() +} + +// GetProviderAccountOk returns a tuple with the ProviderAccount 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 *CircuitRequest) GetProviderAccountOk() (*BriefProviderAccountRequest, bool) { + if o == nil { + return nil, false + } + return o.ProviderAccount.Get(), o.ProviderAccount.IsSet() +} + +// HasProviderAccount returns a boolean if a field has been set. +func (o *CircuitRequest) HasProviderAccount() bool { + if o != nil && o.ProviderAccount.IsSet() { + return true + } + + return false +} + +// SetProviderAccount gets a reference to the given NullableBriefProviderAccountRequest and assigns it to the ProviderAccount field. +func (o *CircuitRequest) SetProviderAccount(v BriefProviderAccountRequest) { + o.ProviderAccount.Set(&v) +} + +// SetProviderAccountNil sets the value for ProviderAccount to be an explicit nil +func (o *CircuitRequest) SetProviderAccountNil() { + o.ProviderAccount.Set(nil) +} + +// UnsetProviderAccount ensures that no value is present for ProviderAccount, not even an explicit nil +func (o *CircuitRequest) UnsetProviderAccount() { + o.ProviderAccount.Unset() +} + +// GetType returns the Type field value +func (o *CircuitRequest) GetType() BriefCircuitTypeRequest { + if o == nil { + var ret BriefCircuitTypeRequest + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +func (o *CircuitRequest) GetTypeOk() (*BriefCircuitTypeRequest, bool) { + if o == nil { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *CircuitRequest) SetType(v BriefCircuitTypeRequest) { + o.Type = v +} + +// GetStatus returns the Status field value if set, zero value otherwise. +func (o *CircuitRequest) GetStatus() CircuitStatusValue { + if o == nil || IsNil(o.Status) { + var ret CircuitStatusValue + 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 *CircuitRequest) GetStatusOk() (*CircuitStatusValue, 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 *CircuitRequest) HasStatus() bool { + if o != nil && !IsNil(o.Status) { + return true + } + + return false +} + +// SetStatus gets a reference to the given CircuitStatusValue and assigns it to the Status field. +func (o *CircuitRequest) SetStatus(v CircuitStatusValue) { + o.Status = &v +} + +// GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CircuitRequest) GetTenant() BriefTenantRequest { + if o == nil || IsNil(o.Tenant.Get()) { + var ret BriefTenantRequest + 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 *CircuitRequest) GetTenantOk() (*BriefTenantRequest, 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 *CircuitRequest) HasTenant() bool { + if o != nil && o.Tenant.IsSet() { + return true + } + + return false +} + +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *CircuitRequest) SetTenant(v BriefTenantRequest) { + o.Tenant.Set(&v) +} + +// SetTenantNil sets the value for Tenant to be an explicit nil +func (o *CircuitRequest) SetTenantNil() { + o.Tenant.Set(nil) +} + +// UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +func (o *CircuitRequest) UnsetTenant() { + o.Tenant.Unset() +} + +// GetInstallDate returns the InstallDate field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CircuitRequest) GetInstallDate() string { + if o == nil || IsNil(o.InstallDate.Get()) { + var ret string + return ret + } + return *o.InstallDate.Get() +} + +// GetInstallDateOk returns a tuple with the InstallDate 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 *CircuitRequest) GetInstallDateOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.InstallDate.Get(), o.InstallDate.IsSet() +} + +// HasInstallDate returns a boolean if a field has been set. +func (o *CircuitRequest) HasInstallDate() bool { + if o != nil && o.InstallDate.IsSet() { + return true + } + + return false +} + +// SetInstallDate gets a reference to the given NullableString and assigns it to the InstallDate field. +func (o *CircuitRequest) SetInstallDate(v string) { + o.InstallDate.Set(&v) +} + +// SetInstallDateNil sets the value for InstallDate to be an explicit nil +func (o *CircuitRequest) SetInstallDateNil() { + o.InstallDate.Set(nil) +} + +// UnsetInstallDate ensures that no value is present for InstallDate, not even an explicit nil +func (o *CircuitRequest) UnsetInstallDate() { + o.InstallDate.Unset() +} + +// GetTerminationDate returns the TerminationDate field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CircuitRequest) GetTerminationDate() string { + if o == nil || IsNil(o.TerminationDate.Get()) { + var ret string + return ret + } + return *o.TerminationDate.Get() +} + +// GetTerminationDateOk returns a tuple with the TerminationDate 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 *CircuitRequest) GetTerminationDateOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.TerminationDate.Get(), o.TerminationDate.IsSet() +} + +// HasTerminationDate returns a boolean if a field has been set. +func (o *CircuitRequest) HasTerminationDate() bool { + if o != nil && o.TerminationDate.IsSet() { + return true + } + + return false +} + +// SetTerminationDate gets a reference to the given NullableString and assigns it to the TerminationDate field. +func (o *CircuitRequest) SetTerminationDate(v string) { + o.TerminationDate.Set(&v) +} + +// SetTerminationDateNil sets the value for TerminationDate to be an explicit nil +func (o *CircuitRequest) SetTerminationDateNil() { + o.TerminationDate.Set(nil) +} + +// UnsetTerminationDate ensures that no value is present for TerminationDate, not even an explicit nil +func (o *CircuitRequest) UnsetTerminationDate() { + o.TerminationDate.Unset() +} + +// GetCommitRate returns the CommitRate field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CircuitRequest) GetCommitRate() int32 { + if o == nil || IsNil(o.CommitRate.Get()) { + var ret int32 + return ret + } + return *o.CommitRate.Get() +} + +// GetCommitRateOk returns a tuple with the CommitRate 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 *CircuitRequest) GetCommitRateOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.CommitRate.Get(), o.CommitRate.IsSet() +} + +// HasCommitRate returns a boolean if a field has been set. +func (o *CircuitRequest) HasCommitRate() bool { + if o != nil && o.CommitRate.IsSet() { + return true + } + + return false +} + +// SetCommitRate gets a reference to the given NullableInt32 and assigns it to the CommitRate field. +func (o *CircuitRequest) SetCommitRate(v int32) { + o.CommitRate.Set(&v) +} + +// SetCommitRateNil sets the value for CommitRate to be an explicit nil +func (o *CircuitRequest) SetCommitRateNil() { + o.CommitRate.Set(nil) +} + +// UnsetCommitRate ensures that no value is present for CommitRate, not even an explicit nil +func (o *CircuitRequest) UnsetCommitRate() { + o.CommitRate.Unset() +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *CircuitRequest) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -102,6 +412,134 @@ func (o *CircuitRequest) SetDescription(v string) { o.Description = &v } +// GetComments returns the Comments field value if set, zero value otherwise. +func (o *CircuitRequest) GetComments() string { + if o == nil || IsNil(o.Comments) { + var ret string + return ret + } + return *o.Comments +} + +// GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CircuitRequest) GetCommentsOk() (*string, bool) { + if o == nil || IsNil(o.Comments) { + return nil, false + } + return o.Comments, true +} + +// HasComments returns a boolean if a field has been set. +func (o *CircuitRequest) HasComments() bool { + if o != nil && !IsNil(o.Comments) { + return true + } + + return false +} + +// SetComments gets a reference to the given string and assigns it to the Comments field. +func (o *CircuitRequest) SetComments(v string) { + o.Comments = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *CircuitRequest) GetTags() []NestedTagRequest { + if o == nil || IsNil(o.Tags) { + var ret []NestedTagRequest + 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 *CircuitRequest) GetTagsOk() ([]NestedTagRequest, 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 *CircuitRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTagRequest and assigns it to the Tags field. +func (o *CircuitRequest) SetTags(v []NestedTagRequest) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *CircuitRequest) 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 *CircuitRequest) 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 *CircuitRequest) 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 *CircuitRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetAssignments returns the Assignments field value if set, zero value otherwise. +func (o *CircuitRequest) GetAssignments() []BriefCircuitGroupAssignmentSerializerRequest { + if o == nil || IsNil(o.Assignments) { + var ret []BriefCircuitGroupAssignmentSerializerRequest + return ret + } + return o.Assignments +} + +// GetAssignmentsOk returns a tuple with the Assignments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CircuitRequest) GetAssignmentsOk() ([]BriefCircuitGroupAssignmentSerializerRequest, bool) { + if o == nil || IsNil(o.Assignments) { + return nil, false + } + return o.Assignments, true +} + +// HasAssignments returns a boolean if a field has been set. +func (o *CircuitRequest) HasAssignments() bool { + if o != nil && !IsNil(o.Assignments) { + return true + } + + return false +} + +// SetAssignments gets a reference to the given []BriefCircuitGroupAssignmentSerializerRequest and assigns it to the Assignments field. +func (o *CircuitRequest) SetAssignments(v []BriefCircuitGroupAssignmentSerializerRequest) { + o.Assignments = v +} + func (o CircuitRequest) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -113,9 +551,41 @@ func (o CircuitRequest) MarshalJSON() ([]byte, error) { func (o CircuitRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["cid"] = o.Cid + toSerialize["provider"] = o.Provider + if o.ProviderAccount.IsSet() { + toSerialize["provider_account"] = o.ProviderAccount.Get() + } + toSerialize["type"] = o.Type + if !IsNil(o.Status) { + toSerialize["status"] = o.Status + } + if o.Tenant.IsSet() { + toSerialize["tenant"] = o.Tenant.Get() + } + if o.InstallDate.IsSet() { + toSerialize["install_date"] = o.InstallDate.Get() + } + if o.TerminationDate.IsSet() { + toSerialize["termination_date"] = o.TerminationDate.Get() + } + if o.CommitRate.IsSet() { + toSerialize["commit_rate"] = o.CommitRate.Get() + } if !IsNil(o.Description) { toSerialize["description"] = o.Description } + if !IsNil(o.Comments) { + toSerialize["comments"] = o.Comments + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + if !IsNil(o.Assignments) { + toSerialize["assignments"] = o.Assignments + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -130,6 +600,8 @@ func (o *CircuitRequest) UnmarshalJSON(data []byte) (err error) { // that every required field exists as a key in the generic map. requiredProperties := []string{ "cid", + "provider", + "type", } allProperties := make(map[string]interface{}) @@ -160,7 +632,19 @@ func (o *CircuitRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "cid") + delete(additionalProperties, "provider") + delete(additionalProperties, "provider_account") + delete(additionalProperties, "type") + delete(additionalProperties, "status") + delete(additionalProperties, "tenant") + delete(additionalProperties, "install_date") + delete(additionalProperties, "termination_date") + delete(additionalProperties, "commit_rate") delete(additionalProperties, "description") + delete(additionalProperties, "comments") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "assignments") o.AdditionalProperties = additionalProperties } diff --git a/model_circuit_status.go b/model_circuit_status.go new file mode 100644 index 000000000..5549a89a4 --- /dev/null +++ b/model_circuit_status.go @@ -0,0 +1,190 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" +) + +// checks if the CircuitStatus type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &CircuitStatus{} + +// CircuitStatus struct for CircuitStatus +type CircuitStatus struct { + Value *CircuitStatusValue `json:"value,omitempty"` + Label *CircuitStatusLabel `json:"label,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _CircuitStatus CircuitStatus + +// NewCircuitStatus instantiates a new CircuitStatus object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewCircuitStatus() *CircuitStatus { + this := CircuitStatus{} + return &this +} + +// NewCircuitStatusWithDefaults instantiates a new CircuitStatus object +// This 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 NewCircuitStatusWithDefaults() *CircuitStatus { + this := CircuitStatus{} + return &this +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *CircuitStatus) GetValue() CircuitStatusValue { + if o == nil || IsNil(o.Value) { + var ret CircuitStatusValue + 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 *CircuitStatus) GetValueOk() (*CircuitStatusValue, 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 *CircuitStatus) HasValue() bool { + if o != nil && !IsNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given CircuitStatusValue and assigns it to the Value field. +func (o *CircuitStatus) SetValue(v CircuitStatusValue) { + o.Value = &v +} + +// GetLabel returns the Label field value if set, zero value otherwise. +func (o *CircuitStatus) GetLabel() CircuitStatusLabel { + if o == nil || IsNil(o.Label) { + var ret CircuitStatusLabel + 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 *CircuitStatus) GetLabelOk() (*CircuitStatusLabel, 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 *CircuitStatus) HasLabel() bool { + if o != nil && !IsNil(o.Label) { + return true + } + + return false +} + +// SetLabel gets a reference to the given CircuitStatusLabel and assigns it to the Label field. +func (o *CircuitStatus) SetLabel(v CircuitStatusLabel) { + o.Label = &v +} + +func (o CircuitStatus) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o CircuitStatus) 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 *CircuitStatus) UnmarshalJSON(data []byte) (err error) { + varCircuitStatus := _CircuitStatus{} + + err = json.Unmarshal(data, &varCircuitStatus) + + if err != nil { + return err + } + + *o = CircuitStatus(varCircuitStatus) + + 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 NullableCircuitStatus struct { + value *CircuitStatus + isSet bool +} + +func (v NullableCircuitStatus) Get() *CircuitStatus { + return v.value +} + +func (v *NullableCircuitStatus) Set(val *CircuitStatus) { + v.value = val + v.isSet = true +} + +func (v NullableCircuitStatus) IsSet() bool { + return v.isSet +} + +func (v *NullableCircuitStatus) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCircuitStatus(val *CircuitStatus) *NullableCircuitStatus { + return &NullableCircuitStatus{value: val, isSet: true} +} + +func (v NullableCircuitStatus) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCircuitStatus) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_circuit_status_label.go b/model_circuit_status_label.go new file mode 100644 index 000000000..d8360379e --- /dev/null +++ b/model_circuit_status_label.go @@ -0,0 +1,118 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// CircuitStatusLabel the model 'CircuitStatusLabel' +type CircuitStatusLabel string + +// List of Circuit_status_label +const ( + CIRCUITSTATUSLABEL_PLANNED CircuitStatusLabel = "Planned" + CIRCUITSTATUSLABEL_PROVISIONING CircuitStatusLabel = "Provisioning" + CIRCUITSTATUSLABEL_ACTIVE CircuitStatusLabel = "Active" + CIRCUITSTATUSLABEL_OFFLINE CircuitStatusLabel = "Offline" + CIRCUITSTATUSLABEL_DEPROVISIONING CircuitStatusLabel = "Deprovisioning" + CIRCUITSTATUSLABEL_DECOMMISSIONED CircuitStatusLabel = "Decommissioned" +) + +// All allowed values of CircuitStatusLabel enum +var AllowedCircuitStatusLabelEnumValues = []CircuitStatusLabel{ + "Planned", + "Provisioning", + "Active", + "Offline", + "Deprovisioning", + "Decommissioned", +} + +func (v *CircuitStatusLabel) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := CircuitStatusLabel(value) + for _, existing := range AllowedCircuitStatusLabelEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid CircuitStatusLabel", value) +} + +// NewCircuitStatusLabelFromValue returns a pointer to a valid CircuitStatusLabel +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewCircuitStatusLabelFromValue(v string) (*CircuitStatusLabel, error) { + ev := CircuitStatusLabel(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for CircuitStatusLabel: valid values are %v", v, AllowedCircuitStatusLabelEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v CircuitStatusLabel) IsValid() bool { + for _, existing := range AllowedCircuitStatusLabelEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to Circuit_status_label value +func (v CircuitStatusLabel) Ptr() *CircuitStatusLabel { + return &v +} + +type NullableCircuitStatusLabel struct { + value *CircuitStatusLabel + isSet bool +} + +func (v NullableCircuitStatusLabel) Get() *CircuitStatusLabel { + return v.value +} + +func (v *NullableCircuitStatusLabel) Set(val *CircuitStatusLabel) { + v.value = val + v.isSet = true +} + +func (v NullableCircuitStatusLabel) IsSet() bool { + return v.isSet +} + +func (v *NullableCircuitStatusLabel) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCircuitStatusLabel(val *CircuitStatusLabel) *NullableCircuitStatusLabel { + return &NullableCircuitStatusLabel{value: val, isSet: true} +} + +func (v NullableCircuitStatusLabel) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCircuitStatusLabel) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_circuit_status_value.go b/model_circuit_status_value.go new file mode 100644 index 000000000..74613bb67 --- /dev/null +++ b/model_circuit_status_value.go @@ -0,0 +1,118 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// CircuitStatusValue * `planned` - Planned * `provisioning` - Provisioning * `active` - Active * `offline` - Offline * `deprovisioning` - Deprovisioning * `decommissioned` - Decommissioned +type CircuitStatusValue string + +// List of Circuit_status_value +const ( + CIRCUITSTATUSVALUE_PLANNED CircuitStatusValue = "planned" + CIRCUITSTATUSVALUE_PROVISIONING CircuitStatusValue = "provisioning" + CIRCUITSTATUSVALUE_ACTIVE CircuitStatusValue = "active" + CIRCUITSTATUSVALUE_OFFLINE CircuitStatusValue = "offline" + CIRCUITSTATUSVALUE_DEPROVISIONING CircuitStatusValue = "deprovisioning" + CIRCUITSTATUSVALUE_DECOMMISSIONED CircuitStatusValue = "decommissioned" +) + +// All allowed values of CircuitStatusValue enum +var AllowedCircuitStatusValueEnumValues = []CircuitStatusValue{ + "planned", + "provisioning", + "active", + "offline", + "deprovisioning", + "decommissioned", +} + +func (v *CircuitStatusValue) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := CircuitStatusValue(value) + for _, existing := range AllowedCircuitStatusValueEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid CircuitStatusValue", value) +} + +// NewCircuitStatusValueFromValue returns a pointer to a valid CircuitStatusValue +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewCircuitStatusValueFromValue(v string) (*CircuitStatusValue, error) { + ev := CircuitStatusValue(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for CircuitStatusValue: valid values are %v", v, AllowedCircuitStatusValueEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v CircuitStatusValue) IsValid() bool { + for _, existing := range AllowedCircuitStatusValueEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to Circuit_status_value value +func (v CircuitStatusValue) Ptr() *CircuitStatusValue { + return &v +} + +type NullableCircuitStatusValue struct { + value *CircuitStatusValue + isSet bool +} + +func (v NullableCircuitStatusValue) Get() *CircuitStatusValue { + return v.value +} + +func (v *NullableCircuitStatusValue) Set(val *CircuitStatusValue) { + v.value = val + v.isSet = true +} + +func (v NullableCircuitStatusValue) IsSet() bool { + return v.isSet +} + +func (v *NullableCircuitStatusValue) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCircuitStatusValue(val *CircuitStatusValue) *NullableCircuitStatusValue { + return &NullableCircuitStatusValue{value: val, isSet: true} +} + +func (v NullableCircuitStatusValue) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCircuitStatusValue) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_circuit_termination.go b/model_circuit_termination.go index e9304fcbe..c5a82f66c 100644 --- a/model_circuit_termination.go +++ b/model_circuit_termination.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,13 +21,14 @@ var _ MappedNullable = &CircuitTermination{} // CircuitTermination Adds support for custom fields and tags. type CircuitTermination struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - Circuit Circuit `json:"circuit"` - TermSide Termination1 `json:"term_side"` - Site NullableSite `json:"site,omitempty"` - ProviderNetwork NullableProviderNetwork `json:"provider_network,omitempty"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Circuit BriefCircuit `json:"circuit"` + TermSide Termination1 `json:"term_side"` + Site NullableBriefSite `json:"site,omitempty"` + ProviderNetwork NullableBriefProviderNetwork `json:"provider_network,omitempty"` // Physical circuit speed PortSpeed NullableInt32 `json:"port_speed,omitempty"` // Upstream speed, if different from port speed @@ -38,12 +39,12 @@ type CircuitTermination struct { PpInfo *string `json:"pp_info,omitempty"` Description *string `json:"description,omitempty"` // Treat as if a cable is connected - MarkConnected *bool `json:"mark_connected,omitempty"` - Cable NullableCable `json:"cable"` - CableEnd string `json:"cable_end"` - LinkPeers []interface{} `json:"link_peers"` + MarkConnected *bool `json:"mark_connected,omitempty"` + Cable NullableBriefCable `json:"cable"` + CableEnd string `json:"cable_end"` + LinkPeers []interface{} `json:"link_peers"` // Return the type of the peer link terminations, or None. - LinkPeersType string `json:"link_peers_type"` + LinkPeersType NullableString `json:"link_peers_type"` Tags []NestedTag `json:"tags,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Created NullableTime `json:"created"` @@ -58,7 +59,7 @@ 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 int32, url string, display string, circuit Circuit, termSide Termination1, cable NullableCable, cableEnd string, linkPeers []interface{}, linkPeersType string, created NullableTime, lastUpdated NullableTime, occupied bool) *CircuitTermination { +func NewCircuitTermination(id int32, url string, display string, circuit BriefCircuit, termSide Termination1, cable NullableBriefCable, cableEnd string, linkPeers []interface{}, linkPeersType NullableString, created NullableTime, lastUpdated NullableTime, occupied bool) *CircuitTermination { this := CircuitTermination{} this.Id = id this.Url = url @@ -131,6 +132,38 @@ func (o *CircuitTermination) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *CircuitTermination) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CircuitTermination) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *CircuitTermination) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *CircuitTermination) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *CircuitTermination) GetDisplay() string { if o == nil { @@ -156,9 +189,9 @@ func (o *CircuitTermination) SetDisplay(v string) { } // GetCircuit returns the Circuit field value -func (o *CircuitTermination) GetCircuit() Circuit { +func (o *CircuitTermination) GetCircuit() BriefCircuit { if o == nil { - var ret Circuit + var ret BriefCircuit return ret } @@ -167,7 +200,7 @@ func (o *CircuitTermination) GetCircuit() Circuit { // GetCircuitOk returns a tuple with the Circuit field value // and a boolean to check if the value has been set. -func (o *CircuitTermination) GetCircuitOk() (*Circuit, bool) { +func (o *CircuitTermination) GetCircuitOk() (*BriefCircuit, bool) { if o == nil { return nil, false } @@ -175,7 +208,7 @@ func (o *CircuitTermination) GetCircuitOk() (*Circuit, bool) { } // SetCircuit sets field value -func (o *CircuitTermination) SetCircuit(v Circuit) { +func (o *CircuitTermination) SetCircuit(v BriefCircuit) { o.Circuit = v } @@ -204,9 +237,9 @@ func (o *CircuitTermination) SetTermSide(v Termination1) { } // GetSite returns the Site field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *CircuitTermination) GetSite() Site { +func (o *CircuitTermination) GetSite() BriefSite { if o == nil || IsNil(o.Site.Get()) { - var ret Site + var ret BriefSite return ret } return *o.Site.Get() @@ -215,7 +248,7 @@ func (o *CircuitTermination) GetSite() Site { // GetSiteOk returns a tuple with the Site 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 *CircuitTermination) GetSiteOk() (*Site, bool) { +func (o *CircuitTermination) GetSiteOk() (*BriefSite, bool) { if o == nil { return nil, false } @@ -231,8 +264,8 @@ func (o *CircuitTermination) HasSite() bool { return false } -// SetSite gets a reference to the given NullableSite and assigns it to the Site field. -func (o *CircuitTermination) SetSite(v Site) { +// SetSite gets a reference to the given NullableBriefSite and assigns it to the Site field. +func (o *CircuitTermination) SetSite(v BriefSite) { o.Site.Set(&v) } @@ -247,9 +280,9 @@ func (o *CircuitTermination) UnsetSite() { } // GetProviderNetwork returns the ProviderNetwork field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *CircuitTermination) GetProviderNetwork() ProviderNetwork { +func (o *CircuitTermination) GetProviderNetwork() BriefProviderNetwork { if o == nil || IsNil(o.ProviderNetwork.Get()) { - var ret ProviderNetwork + var ret BriefProviderNetwork return ret } return *o.ProviderNetwork.Get() @@ -258,7 +291,7 @@ func (o *CircuitTermination) GetProviderNetwork() ProviderNetwork { // GetProviderNetworkOk returns a tuple with the ProviderNetwork 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 *CircuitTermination) GetProviderNetworkOk() (*ProviderNetwork, bool) { +func (o *CircuitTermination) GetProviderNetworkOk() (*BriefProviderNetwork, bool) { if o == nil { return nil, false } @@ -274,8 +307,8 @@ func (o *CircuitTermination) HasProviderNetwork() bool { return false } -// SetProviderNetwork gets a reference to the given NullableProviderNetwork and assigns it to the ProviderNetwork field. -func (o *CircuitTermination) SetProviderNetwork(v ProviderNetwork) { +// SetProviderNetwork gets a reference to the given NullableBriefProviderNetwork and assigns it to the ProviderNetwork field. +func (o *CircuitTermination) SetProviderNetwork(v BriefProviderNetwork) { o.ProviderNetwork.Set(&v) } @@ -504,10 +537,10 @@ func (o *CircuitTermination) SetMarkConnected(v bool) { } // GetCable returns the Cable field value -// If the value is explicit nil, the zero value for Cable will be returned -func (o *CircuitTermination) GetCable() Cable { +// If the value is explicit nil, the zero value for BriefCable will be returned +func (o *CircuitTermination) GetCable() BriefCable { if o == nil || o.Cable.Get() == nil { - var ret Cable + var ret BriefCable return ret } @@ -517,7 +550,7 @@ func (o *CircuitTermination) GetCable() Cable { // GetCableOk returns a tuple with the Cable 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 *CircuitTermination) GetCableOk() (*Cable, bool) { +func (o *CircuitTermination) GetCableOk() (*BriefCable, bool) { if o == nil { return nil, false } @@ -525,7 +558,7 @@ func (o *CircuitTermination) GetCableOk() (*Cable, bool) { } // SetCable sets field value -func (o *CircuitTermination) SetCable(v Cable) { +func (o *CircuitTermination) SetCable(v BriefCable) { o.Cable.Set(&v) } @@ -578,27 +611,29 @@ func (o *CircuitTermination) SetLinkPeers(v []interface{}) { } // GetLinkPeersType returns the LinkPeersType field value +// If the value is explicit nil, the zero value for string will be returned func (o *CircuitTermination) GetLinkPeersType() string { - if o == nil { + if o == nil || o.LinkPeersType.Get() == nil { var ret string return ret } - return o.LinkPeersType + return *o.LinkPeersType.Get() } // GetLinkPeersTypeOk returns a tuple with the LinkPeersType 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 *CircuitTermination) GetLinkPeersTypeOk() (*string, bool) { if o == nil { return nil, false } - return &o.LinkPeersType, true + return o.LinkPeersType.Get(), o.LinkPeersType.IsSet() } // SetLinkPeersType sets field value func (o *CircuitTermination) SetLinkPeersType(v string) { - o.LinkPeersType = v + o.LinkPeersType.Set(&v) } // GetTags returns the Tags field value if set, zero value otherwise. @@ -753,6 +788,9 @@ func (o CircuitTermination) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["circuit"] = o.Circuit toSerialize["term_side"] = o.TermSide @@ -783,7 +821,7 @@ func (o CircuitTermination) ToMap() (map[string]interface{}, error) { toSerialize["cable"] = o.Cable.Get() toSerialize["cable_end"] = o.CableEnd toSerialize["link_peers"] = o.LinkPeers - toSerialize["link_peers_type"] = o.LinkPeersType + toSerialize["link_peers_type"] = o.LinkPeersType.Get() if !IsNil(o.Tags) { toSerialize["tags"] = o.Tags } @@ -849,6 +887,7 @@ func (o *CircuitTermination) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "circuit") delete(additionalProperties, "term_side") diff --git a/model_circuit_termination_request.go b/model_circuit_termination_request.go index d8a1b14e4..a5399c95a 100644 --- a/model_circuit_termination_request.go +++ b/model_circuit_termination_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,10 +20,10 @@ var _ MappedNullable = &CircuitTerminationRequest{} // CircuitTerminationRequest Adds support for custom fields and tags. type CircuitTerminationRequest struct { - Circuit CircuitRequest `json:"circuit"` - TermSide Termination1 `json:"term_side"` - Site NullableSiteRequest `json:"site,omitempty"` - ProviderNetwork NullableProviderNetworkRequest `json:"provider_network,omitempty"` + Circuit BriefCircuitRequest `json:"circuit"` + TermSide Termination1 `json:"term_side"` + Site NullableBriefSiteRequest `json:"site,omitempty"` + ProviderNetwork NullableBriefProviderNetworkRequest `json:"provider_network,omitempty"` // Physical circuit speed PortSpeed NullableInt32 `json:"port_speed,omitempty"` // Upstream speed, if different from port speed @@ -46,7 +46,7 @@ type _CircuitTerminationRequest CircuitTerminationRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewCircuitTerminationRequest(circuit CircuitRequest, termSide Termination1) *CircuitTerminationRequest { +func NewCircuitTerminationRequest(circuit BriefCircuitRequest, termSide Termination1) *CircuitTerminationRequest { this := CircuitTerminationRequest{} this.Circuit = circuit this.TermSide = termSide @@ -62,9 +62,9 @@ func NewCircuitTerminationRequestWithDefaults() *CircuitTerminationRequest { } // GetCircuit returns the Circuit field value -func (o *CircuitTerminationRequest) GetCircuit() CircuitRequest { +func (o *CircuitTerminationRequest) GetCircuit() BriefCircuitRequest { if o == nil { - var ret CircuitRequest + var ret BriefCircuitRequest return ret } @@ -73,7 +73,7 @@ func (o *CircuitTerminationRequest) GetCircuit() CircuitRequest { // GetCircuitOk returns a tuple with the Circuit field value // and a boolean to check if the value has been set. -func (o *CircuitTerminationRequest) GetCircuitOk() (*CircuitRequest, bool) { +func (o *CircuitTerminationRequest) GetCircuitOk() (*BriefCircuitRequest, bool) { if o == nil { return nil, false } @@ -81,7 +81,7 @@ func (o *CircuitTerminationRequest) GetCircuitOk() (*CircuitRequest, bool) { } // SetCircuit sets field value -func (o *CircuitTerminationRequest) SetCircuit(v CircuitRequest) { +func (o *CircuitTerminationRequest) SetCircuit(v BriefCircuitRequest) { o.Circuit = v } @@ -110,9 +110,9 @@ func (o *CircuitTerminationRequest) SetTermSide(v Termination1) { } // GetSite returns the Site field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *CircuitTerminationRequest) GetSite() SiteRequest { +func (o *CircuitTerminationRequest) GetSite() BriefSiteRequest { if o == nil || IsNil(o.Site.Get()) { - var ret SiteRequest + var ret BriefSiteRequest return ret } return *o.Site.Get() @@ -121,7 +121,7 @@ func (o *CircuitTerminationRequest) GetSite() SiteRequest { // GetSiteOk returns a tuple with the Site 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 *CircuitTerminationRequest) GetSiteOk() (*SiteRequest, bool) { +func (o *CircuitTerminationRequest) GetSiteOk() (*BriefSiteRequest, bool) { if o == nil { return nil, false } @@ -137,8 +137,8 @@ func (o *CircuitTerminationRequest) HasSite() bool { return false } -// SetSite gets a reference to the given NullableSiteRequest and assigns it to the Site field. -func (o *CircuitTerminationRequest) SetSite(v SiteRequest) { +// SetSite gets a reference to the given NullableBriefSiteRequest and assigns it to the Site field. +func (o *CircuitTerminationRequest) SetSite(v BriefSiteRequest) { o.Site.Set(&v) } @@ -153,9 +153,9 @@ func (o *CircuitTerminationRequest) UnsetSite() { } // GetProviderNetwork returns the ProviderNetwork field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *CircuitTerminationRequest) GetProviderNetwork() ProviderNetworkRequest { +func (o *CircuitTerminationRequest) GetProviderNetwork() BriefProviderNetworkRequest { if o == nil || IsNil(o.ProviderNetwork.Get()) { - var ret ProviderNetworkRequest + var ret BriefProviderNetworkRequest return ret } return *o.ProviderNetwork.Get() @@ -164,7 +164,7 @@ func (o *CircuitTerminationRequest) GetProviderNetwork() ProviderNetworkRequest // GetProviderNetworkOk returns a tuple with the ProviderNetwork 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 *CircuitTerminationRequest) GetProviderNetworkOk() (*ProviderNetworkRequest, bool) { +func (o *CircuitTerminationRequest) GetProviderNetworkOk() (*BriefProviderNetworkRequest, bool) { if o == nil { return nil, false } @@ -180,8 +180,8 @@ func (o *CircuitTerminationRequest) HasProviderNetwork() bool { return false } -// SetProviderNetwork gets a reference to the given NullableProviderNetworkRequest and assigns it to the ProviderNetwork field. -func (o *CircuitTerminationRequest) SetProviderNetwork(v ProviderNetworkRequest) { +// SetProviderNetwork gets a reference to the given NullableBriefProviderNetworkRequest and assigns it to the ProviderNetwork field. +func (o *CircuitTerminationRequest) SetProviderNetwork(v BriefProviderNetworkRequest) { o.ProviderNetwork.Set(&v) } diff --git a/model_circuit_type.go b/model_circuit_type.go index 56afd1a84..50b8dff12 100644 --- a/model_circuit_type.go +++ b/model_circuit_type.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -23,6 +23,7 @@ var _ MappedNullable = &CircuitType{} type CircuitType struct { Id int32 `json:"id"` Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` Display string `json:"display"` Name string `json:"name"` Slug string `json:"slug"` @@ -111,6 +112,38 @@ func (o *CircuitType) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *CircuitType) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CircuitType) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *CircuitType) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *CircuitType) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *CircuitType) GetDisplay() string { if o == nil { @@ -399,6 +432,9 @@ func (o CircuitType) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["name"] = o.Name toSerialize["slug"] = o.Slug @@ -469,6 +505,7 @@ func (o *CircuitType) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") delete(additionalProperties, "slug") diff --git a/model_circuit_type_request.go b/model_circuit_type_request.go index 48eba514f..c193ed037 100644 --- a/model_circuit_type_request.go +++ b/model_circuit_type_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_circuits_circuit_group_assignments_list_priority_parameter.go b/model_circuits_circuit_group_assignments_list_priority_parameter.go new file mode 100644 index 000000000..2dd119047 --- /dev/null +++ b/model_circuits_circuit_group_assignments_list_priority_parameter.go @@ -0,0 +1,114 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// CircuitsCircuitGroupAssignmentsListPriorityParameter the model 'CircuitsCircuitGroupAssignmentsListPriorityParameter' +type CircuitsCircuitGroupAssignmentsListPriorityParameter string + +// List of circuits_circuit_group_assignments_list_priority_parameter +const ( + CIRCUITSCIRCUITGROUPASSIGNMENTSLISTPRIORITYPARAMETER_INACTIVE CircuitsCircuitGroupAssignmentsListPriorityParameter = "inactive" + CIRCUITSCIRCUITGROUPASSIGNMENTSLISTPRIORITYPARAMETER_PRIMARY CircuitsCircuitGroupAssignmentsListPriorityParameter = "primary" + CIRCUITSCIRCUITGROUPASSIGNMENTSLISTPRIORITYPARAMETER_SECONDARY CircuitsCircuitGroupAssignmentsListPriorityParameter = "secondary" + CIRCUITSCIRCUITGROUPASSIGNMENTSLISTPRIORITYPARAMETER_TERTIARY CircuitsCircuitGroupAssignmentsListPriorityParameter = "tertiary" +) + +// All allowed values of CircuitsCircuitGroupAssignmentsListPriorityParameter enum +var AllowedCircuitsCircuitGroupAssignmentsListPriorityParameterEnumValues = []CircuitsCircuitGroupAssignmentsListPriorityParameter{ + "inactive", + "primary", + "secondary", + "tertiary", +} + +func (v *CircuitsCircuitGroupAssignmentsListPriorityParameter) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := CircuitsCircuitGroupAssignmentsListPriorityParameter(value) + for _, existing := range AllowedCircuitsCircuitGroupAssignmentsListPriorityParameterEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid CircuitsCircuitGroupAssignmentsListPriorityParameter", value) +} + +// NewCircuitsCircuitGroupAssignmentsListPriorityParameterFromValue returns a pointer to a valid CircuitsCircuitGroupAssignmentsListPriorityParameter +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewCircuitsCircuitGroupAssignmentsListPriorityParameterFromValue(v string) (*CircuitsCircuitGroupAssignmentsListPriorityParameter, error) { + ev := CircuitsCircuitGroupAssignmentsListPriorityParameter(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for CircuitsCircuitGroupAssignmentsListPriorityParameter: valid values are %v", v, AllowedCircuitsCircuitGroupAssignmentsListPriorityParameterEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v CircuitsCircuitGroupAssignmentsListPriorityParameter) IsValid() bool { + for _, existing := range AllowedCircuitsCircuitGroupAssignmentsListPriorityParameterEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to circuits_circuit_group_assignments_list_priority_parameter value +func (v CircuitsCircuitGroupAssignmentsListPriorityParameter) Ptr() *CircuitsCircuitGroupAssignmentsListPriorityParameter { + return &v +} + +type NullableCircuitsCircuitGroupAssignmentsListPriorityParameter struct { + value *CircuitsCircuitGroupAssignmentsListPriorityParameter + isSet bool +} + +func (v NullableCircuitsCircuitGroupAssignmentsListPriorityParameter) Get() *CircuitsCircuitGroupAssignmentsListPriorityParameter { + return v.value +} + +func (v *NullableCircuitsCircuitGroupAssignmentsListPriorityParameter) Set(val *CircuitsCircuitGroupAssignmentsListPriorityParameter) { + v.value = val + v.isSet = true +} + +func (v NullableCircuitsCircuitGroupAssignmentsListPriorityParameter) IsSet() bool { + return v.isSet +} + +func (v *NullableCircuitsCircuitGroupAssignmentsListPriorityParameter) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCircuitsCircuitGroupAssignmentsListPriorityParameter(val *CircuitsCircuitGroupAssignmentsListPriorityParameter) *NullableCircuitsCircuitGroupAssignmentsListPriorityParameter { + return &NullableCircuitsCircuitGroupAssignmentsListPriorityParameter{value: val, isSet: true} +} + +func (v NullableCircuitsCircuitGroupAssignmentsListPriorityParameter) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCircuitsCircuitGroupAssignmentsListPriorityParameter) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_circuits_circuit_terminations_list_cable_end_parameter.go b/model_circuits_circuit_terminations_list_cable_end_parameter.go index b4ea69c2c..97a8fb181 100644 --- a/model_circuits_circuit_terminations_list_cable_end_parameter.go +++ b/model_circuits_circuit_terminations_list_cable_end_parameter.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_circuits_circuits_list_status__ic_parameter_inner.go b/model_circuits_circuits_list_status__ic_parameter_inner.go new file mode 100644 index 000000000..cf59c8d1c --- /dev/null +++ b/model_circuits_circuits_list_status__ic_parameter_inner.go @@ -0,0 +1,119 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// CircuitsCircuitsListStatusIcParameterInner the model 'CircuitsCircuitsListStatusIcParameterInner' +type CircuitsCircuitsListStatusIcParameterInner string + +// List of circuits_circuits_list_status__ic_parameter_inner +const ( + CIRCUITSCIRCUITSLISTSTATUSICPARAMETERINNER_ACTIVE CircuitsCircuitsListStatusIcParameterInner = "active" + CIRCUITSCIRCUITSLISTSTATUSICPARAMETERINNER_DECOMMISSIONED CircuitsCircuitsListStatusIcParameterInner = "decommissioned" + CIRCUITSCIRCUITSLISTSTATUSICPARAMETERINNER_DEPROVISIONING CircuitsCircuitsListStatusIcParameterInner = "deprovisioning" + CIRCUITSCIRCUITSLISTSTATUSICPARAMETERINNER_OFFLINE CircuitsCircuitsListStatusIcParameterInner = "offline" + CIRCUITSCIRCUITSLISTSTATUSICPARAMETERINNER_PLANNED CircuitsCircuitsListStatusIcParameterInner = "planned" + CIRCUITSCIRCUITSLISTSTATUSICPARAMETERINNER_PROVISIONING CircuitsCircuitsListStatusIcParameterInner = "provisioning" +) + +// All allowed values of CircuitsCircuitsListStatusIcParameterInner enum +var AllowedCircuitsCircuitsListStatusIcParameterInnerEnumValues = []CircuitsCircuitsListStatusIcParameterInner{ + "active", + "decommissioned", + "deprovisioning", + "offline", + "planned", + "provisioning", +} + +func (v *CircuitsCircuitsListStatusIcParameterInner) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := CircuitsCircuitsListStatusIcParameterInner(value) + for _, existing := range AllowedCircuitsCircuitsListStatusIcParameterInnerEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid CircuitsCircuitsListStatusIcParameterInner", value) +} + +// NewCircuitsCircuitsListStatusIcParameterInnerFromValue returns a pointer to a valid CircuitsCircuitsListStatusIcParameterInner +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewCircuitsCircuitsListStatusIcParameterInnerFromValue(v string) (*CircuitsCircuitsListStatusIcParameterInner, error) { + ev := CircuitsCircuitsListStatusIcParameterInner(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for CircuitsCircuitsListStatusIcParameterInner: valid values are %v", v, AllowedCircuitsCircuitsListStatusIcParameterInnerEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v CircuitsCircuitsListStatusIcParameterInner) IsValid() bool { + for _, existing := range AllowedCircuitsCircuitsListStatusIcParameterInnerEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to circuits_circuits_list_status__ic_parameter_inner value +func (v CircuitsCircuitsListStatusIcParameterInner) Ptr() *CircuitsCircuitsListStatusIcParameterInner { + return &v +} + +type NullableCircuitsCircuitsListStatusIcParameterInner struct { + value *CircuitsCircuitsListStatusIcParameterInner + isSet bool +} + +func (v NullableCircuitsCircuitsListStatusIcParameterInner) Get() *CircuitsCircuitsListStatusIcParameterInner { + return v.value +} + +func (v *NullableCircuitsCircuitsListStatusIcParameterInner) Set(val *CircuitsCircuitsListStatusIcParameterInner) { + v.value = val + v.isSet = true +} + +func (v NullableCircuitsCircuitsListStatusIcParameterInner) IsSet() bool { + return v.isSet +} + +func (v *NullableCircuitsCircuitsListStatusIcParameterInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCircuitsCircuitsListStatusIcParameterInner(val *CircuitsCircuitsListStatusIcParameterInner) *NullableCircuitsCircuitsListStatusIcParameterInner { + return &NullableCircuitsCircuitsListStatusIcParameterInner{value: val, isSet: true} +} + +func (v NullableCircuitsCircuitsListStatusIcParameterInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCircuitsCircuitsListStatusIcParameterInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_cluster.go b/model_cluster.go index ac931d63f..d1a820519 100644 --- a/model_cluster.go +++ b/model_cluster.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -13,6 +13,7 @@ package netbox import ( "encoding/json" "fmt" + "time" ) // checks if the Cluster type satisfies the MappedNullable interface at compile time @@ -20,12 +21,24 @@ var _ MappedNullable = &Cluster{} // Cluster Adds support for custom fields and tags. type Cluster struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - Name string `json:"name"` - Description *string `json:"description,omitempty"` - VirtualmachineCount int64 `json:"virtualmachine_count"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Name string `json:"name"` + Type BriefClusterType `json:"type"` + Group NullableBriefClusterGroup `json:"group,omitempty"` + Status *ClusterStatus `json:"status,omitempty"` + Tenant NullableBriefTenant `json:"tenant,omitempty"` + Site NullableBriefSite `json:"site,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTag `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Created NullableTime `json:"created"` + LastUpdated NullableTime `json:"last_updated"` + DeviceCount *int64 `json:"device_count,omitempty"` + VirtualmachineCount *int64 `json:"virtualmachine_count,omitempty"` AdditionalProperties map[string]interface{} } @@ -35,13 +48,15 @@ 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 int32, url string, display string, name string, virtualmachineCount int64) *Cluster { +func NewCluster(id int32, url string, display string, name string, type_ BriefClusterType, created NullableTime, lastUpdated NullableTime) *Cluster { this := Cluster{} this.Id = id this.Url = url this.Display = display this.Name = name - this.VirtualmachineCount = virtualmachineCount + this.Type = type_ + this.Created = created + this.LastUpdated = lastUpdated return &this } @@ -101,6 +116,38 @@ func (o *Cluster) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *Cluster) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Cluster) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *Cluster) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *Cluster) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *Cluster) GetDisplay() string { if o == nil { @@ -149,6 +196,191 @@ func (o *Cluster) SetName(v string) { o.Name = v } +// GetType returns the Type field value +func (o *Cluster) GetType() BriefClusterType { + if o == nil { + var ret BriefClusterType + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +func (o *Cluster) GetTypeOk() (*BriefClusterType, bool) { + if o == nil { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *Cluster) SetType(v BriefClusterType) { + o.Type = v +} + +// GetGroup returns the Group field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Cluster) GetGroup() BriefClusterGroup { + if o == nil || IsNil(o.Group.Get()) { + var ret BriefClusterGroup + return ret + } + return *o.Group.Get() +} + +// GetGroupOk returns a tuple with the Group 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 *Cluster) GetGroupOk() (*BriefClusterGroup, bool) { + if o == nil { + return nil, false + } + return o.Group.Get(), o.Group.IsSet() +} + +// HasGroup returns a boolean if a field has been set. +func (o *Cluster) HasGroup() bool { + if o != nil && o.Group.IsSet() { + return true + } + + return false +} + +// SetGroup gets a reference to the given NullableBriefClusterGroup and assigns it to the Group field. +func (o *Cluster) SetGroup(v BriefClusterGroup) { + o.Group.Set(&v) +} + +// SetGroupNil sets the value for Group to be an explicit nil +func (o *Cluster) SetGroupNil() { + o.Group.Set(nil) +} + +// UnsetGroup ensures that no value is present for Group, not even an explicit nil +func (o *Cluster) UnsetGroup() { + o.Group.Unset() +} + +// GetStatus returns the Status field value if set, zero value otherwise. +func (o *Cluster) GetStatus() ClusterStatus { + if o == nil || IsNil(o.Status) { + var ret ClusterStatus + 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 *Cluster) GetStatusOk() (*ClusterStatus, 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 *Cluster) HasStatus() bool { + if o != nil && !IsNil(o.Status) { + return true + } + + return false +} + +// SetStatus gets a reference to the given ClusterStatus and assigns it to the Status field. +func (o *Cluster) SetStatus(v ClusterStatus) { + o.Status = &v +} + +// GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Cluster) GetTenant() BriefTenant { + if o == nil || IsNil(o.Tenant.Get()) { + var ret BriefTenant + 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 *Cluster) GetTenantOk() (*BriefTenant, 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 *Cluster) HasTenant() bool { + if o != nil && o.Tenant.IsSet() { + return true + } + + return false +} + +// SetTenant gets a reference to the given NullableBriefTenant and assigns it to the Tenant field. +func (o *Cluster) SetTenant(v BriefTenant) { + o.Tenant.Set(&v) +} + +// SetTenantNil sets the value for Tenant to be an explicit nil +func (o *Cluster) SetTenantNil() { + o.Tenant.Set(nil) +} + +// UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +func (o *Cluster) UnsetTenant() { + o.Tenant.Unset() +} + +// GetSite returns the Site field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Cluster) GetSite() BriefSite { + if o == nil || IsNil(o.Site.Get()) { + var ret BriefSite + return ret + } + return *o.Site.Get() +} + +// GetSiteOk returns a tuple with the Site 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 *Cluster) GetSiteOk() (*BriefSite, bool) { + if o == nil { + return nil, false + } + return o.Site.Get(), o.Site.IsSet() +} + +// HasSite returns a boolean if a field has been set. +func (o *Cluster) HasSite() bool { + if o != nil && o.Site.IsSet() { + return true + } + + return false +} + +// SetSite gets a reference to the given NullableBriefSite and assigns it to the Site field. +func (o *Cluster) SetSite(v BriefSite) { + o.Site.Set(&v) +} + +// SetSiteNil sets the value for Site to be an explicit nil +func (o *Cluster) SetSiteNil() { + o.Site.Set(nil) +} + +// UnsetSite ensures that no value is present for Site, not even an explicit nil +func (o *Cluster) UnsetSite() { + o.Site.Unset() +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *Cluster) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -181,28 +413,216 @@ func (o *Cluster) SetDescription(v string) { o.Description = &v } -// GetVirtualmachineCount returns the VirtualmachineCount field value -func (o *Cluster) GetVirtualmachineCount() int64 { +// GetComments returns the Comments field value if set, zero value otherwise. +func (o *Cluster) GetComments() string { + if o == nil || IsNil(o.Comments) { + var ret string + return ret + } + return *o.Comments +} + +// GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Cluster) GetCommentsOk() (*string, bool) { + if o == nil || IsNil(o.Comments) { + return nil, false + } + return o.Comments, true +} + +// HasComments returns a boolean if a field has been set. +func (o *Cluster) HasComments() bool { + if o != nil && !IsNil(o.Comments) { + return true + } + + return false +} + +// SetComments gets a reference to the given string and assigns it to the Comments field. +func (o *Cluster) SetComments(v string) { + o.Comments = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *Cluster) GetTags() []NestedTag { + if o == nil || IsNil(o.Tags) { + var ret []NestedTag + 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 *Cluster) GetTagsOk() ([]NestedTag, 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 *Cluster) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTag and assigns it to the Tags field. +func (o *Cluster) SetTags(v []NestedTag) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *Cluster) 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 *Cluster) 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 *Cluster) 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 *Cluster) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetCreated returns the Created field value +// If the value is explicit nil, the zero value for time.Time will be returned +func (o *Cluster) 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 *Cluster) GetCreatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.Created.Get(), o.Created.IsSet() +} + +// SetCreated sets field value +func (o *Cluster) 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 *Cluster) 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 *Cluster) GetLastUpdatedOk() (*time.Time, bool) { if o == nil { + return nil, false + } + return o.LastUpdated.Get(), o.LastUpdated.IsSet() +} + +// SetLastUpdated sets field value +func (o *Cluster) SetLastUpdated(v time.Time) { + o.LastUpdated.Set(&v) +} + +// GetDeviceCount returns the DeviceCount field value if set, zero value otherwise. +func (o *Cluster) GetDeviceCount() int64 { + if o == nil || IsNil(o.DeviceCount) { var ret int64 return ret } + return *o.DeviceCount +} + +// GetDeviceCountOk returns a tuple with the DeviceCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Cluster) GetDeviceCountOk() (*int64, bool) { + if o == nil || IsNil(o.DeviceCount) { + return nil, false + } + return o.DeviceCount, true +} + +// HasDeviceCount returns a boolean if a field has been set. +func (o *Cluster) HasDeviceCount() bool { + if o != nil && !IsNil(o.DeviceCount) { + return true + } + + return false +} + +// SetDeviceCount gets a reference to the given int64 and assigns it to the DeviceCount field. +func (o *Cluster) SetDeviceCount(v int64) { + o.DeviceCount = &v +} - return o.VirtualmachineCount +// GetVirtualmachineCount returns the VirtualmachineCount field value if set, zero value otherwise. +func (o *Cluster) GetVirtualmachineCount() int64 { + if o == nil || IsNil(o.VirtualmachineCount) { + var ret int64 + return ret + } + return *o.VirtualmachineCount } -// GetVirtualmachineCountOk returns a tuple with the VirtualmachineCount field value +// GetVirtualmachineCountOk returns a tuple with the VirtualmachineCount field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *Cluster) GetVirtualmachineCountOk() (*int64, bool) { - if o == nil { + if o == nil || IsNil(o.VirtualmachineCount) { return nil, false } - return &o.VirtualmachineCount, true + return o.VirtualmachineCount, true +} + +// HasVirtualmachineCount returns a boolean if a field has been set. +func (o *Cluster) HasVirtualmachineCount() bool { + if o != nil && !IsNil(o.VirtualmachineCount) { + return true + } + + return false } -// SetVirtualmachineCount sets field value +// SetVirtualmachineCount gets a reference to the given int64 and assigns it to the VirtualmachineCount field. func (o *Cluster) SetVirtualmachineCount(v int64) { - o.VirtualmachineCount = v + o.VirtualmachineCount = &v } func (o Cluster) MarshalJSON() ([]byte, error) { @@ -217,12 +637,44 @@ func (o Cluster) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["name"] = o.Name + toSerialize["type"] = o.Type + if o.Group.IsSet() { + toSerialize["group"] = o.Group.Get() + } + if !IsNil(o.Status) { + toSerialize["status"] = o.Status + } + if o.Tenant.IsSet() { + toSerialize["tenant"] = o.Tenant.Get() + } + if o.Site.IsSet() { + toSerialize["site"] = o.Site.Get() + } if !IsNil(o.Description) { toSerialize["description"] = o.Description } - toSerialize["virtualmachine_count"] = o.VirtualmachineCount + if !IsNil(o.Comments) { + toSerialize["comments"] = o.Comments + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + toSerialize["created"] = o.Created.Get() + toSerialize["last_updated"] = o.LastUpdated.Get() + if !IsNil(o.DeviceCount) { + toSerialize["device_count"] = o.DeviceCount + } + if !IsNil(o.VirtualmachineCount) { + toSerialize["virtualmachine_count"] = o.VirtualmachineCount + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -240,7 +692,9 @@ func (o *Cluster) UnmarshalJSON(data []byte) (err error) { "url", "display", "name", - "virtualmachine_count", + "type", + "created", + "last_updated", } allProperties := make(map[string]interface{}) @@ -272,9 +726,21 @@ func (o *Cluster) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") + delete(additionalProperties, "type") + delete(additionalProperties, "group") + delete(additionalProperties, "status") + delete(additionalProperties, "tenant") + delete(additionalProperties, "site") delete(additionalProperties, "description") + delete(additionalProperties, "comments") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "created") + delete(additionalProperties, "last_updated") + delete(additionalProperties, "device_count") delete(additionalProperties, "virtualmachine_count") o.AdditionalProperties = additionalProperties } diff --git a/model_cluster_group.go b/model_cluster_group.go index 9544ec850..6b544470a 100644 --- a/model_cluster_group.go +++ b/model_cluster_group.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -23,6 +23,7 @@ var _ MappedNullable = &ClusterGroup{} type ClusterGroup struct { Id int32 `json:"id"` Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` Display string `json:"display"` Name string `json:"name"` Slug string `json:"slug"` @@ -110,6 +111,38 @@ func (o *ClusterGroup) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *ClusterGroup) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ClusterGroup) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *ClusterGroup) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *ClusterGroup) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *ClusterGroup) GetDisplay() string { if o == nil { @@ -366,6 +399,9 @@ func (o ClusterGroup) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["name"] = o.Name toSerialize["slug"] = o.Slug @@ -433,6 +469,7 @@ func (o *ClusterGroup) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") delete(additionalProperties, "slug") diff --git a/model_cluster_group_request.go b/model_cluster_group_request.go index 1f9566748..3634344ba 100644 --- a/model_cluster_group_request.go +++ b/model_cluster_group_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_cluster_request.go b/model_cluster_request.go index a89789ff3..d54e61322 100644 --- a/model_cluster_request.go +++ b/model_cluster_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,8 +20,16 @@ var _ MappedNullable = &ClusterRequest{} // ClusterRequest Adds support for custom fields and tags. type ClusterRequest struct { - Name string `json:"name"` - Description *string `json:"description,omitempty"` + Name string `json:"name"` + Type BriefClusterTypeRequest `json:"type"` + Group NullableBriefClusterGroupRequest `json:"group,omitempty"` + Status *ClusterStatusValue `json:"status,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` + Site NullableBriefSiteRequest `json:"site,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -31,9 +39,10 @@ type _ClusterRequest ClusterRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewClusterRequest(name string) *ClusterRequest { +func NewClusterRequest(name string, type_ BriefClusterTypeRequest) *ClusterRequest { this := ClusterRequest{} this.Name = name + this.Type = type_ return &this } @@ -69,6 +78,191 @@ func (o *ClusterRequest) SetName(v string) { o.Name = v } +// GetType returns the Type field value +func (o *ClusterRequest) GetType() BriefClusterTypeRequest { + if o == nil { + var ret BriefClusterTypeRequest + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +func (o *ClusterRequest) GetTypeOk() (*BriefClusterTypeRequest, bool) { + if o == nil { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *ClusterRequest) SetType(v BriefClusterTypeRequest) { + o.Type = v +} + +// GetGroup returns the Group field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ClusterRequest) GetGroup() BriefClusterGroupRequest { + if o == nil || IsNil(o.Group.Get()) { + var ret BriefClusterGroupRequest + return ret + } + return *o.Group.Get() +} + +// GetGroupOk returns a tuple with the Group 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 *ClusterRequest) GetGroupOk() (*BriefClusterGroupRequest, bool) { + if o == nil { + return nil, false + } + return o.Group.Get(), o.Group.IsSet() +} + +// HasGroup returns a boolean if a field has been set. +func (o *ClusterRequest) HasGroup() bool { + if o != nil && o.Group.IsSet() { + return true + } + + return false +} + +// SetGroup gets a reference to the given NullableBriefClusterGroupRequest and assigns it to the Group field. +func (o *ClusterRequest) SetGroup(v BriefClusterGroupRequest) { + o.Group.Set(&v) +} + +// SetGroupNil sets the value for Group to be an explicit nil +func (o *ClusterRequest) SetGroupNil() { + o.Group.Set(nil) +} + +// UnsetGroup ensures that no value is present for Group, not even an explicit nil +func (o *ClusterRequest) UnsetGroup() { + o.Group.Unset() +} + +// GetStatus returns the Status field value if set, zero value otherwise. +func (o *ClusterRequest) GetStatus() ClusterStatusValue { + if o == nil || IsNil(o.Status) { + var ret ClusterStatusValue + 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 *ClusterRequest) GetStatusOk() (*ClusterStatusValue, 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 *ClusterRequest) HasStatus() bool { + if o != nil && !IsNil(o.Status) { + return true + } + + return false +} + +// SetStatus gets a reference to the given ClusterStatusValue and assigns it to the Status field. +func (o *ClusterRequest) SetStatus(v ClusterStatusValue) { + o.Status = &v +} + +// GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ClusterRequest) GetTenant() BriefTenantRequest { + if o == nil || IsNil(o.Tenant.Get()) { + var ret BriefTenantRequest + 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 *ClusterRequest) GetTenantOk() (*BriefTenantRequest, 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 *ClusterRequest) HasTenant() bool { + if o != nil && o.Tenant.IsSet() { + return true + } + + return false +} + +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *ClusterRequest) SetTenant(v BriefTenantRequest) { + o.Tenant.Set(&v) +} + +// SetTenantNil sets the value for Tenant to be an explicit nil +func (o *ClusterRequest) SetTenantNil() { + o.Tenant.Set(nil) +} + +// UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +func (o *ClusterRequest) UnsetTenant() { + o.Tenant.Unset() +} + +// GetSite returns the Site field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ClusterRequest) GetSite() BriefSiteRequest { + if o == nil || IsNil(o.Site.Get()) { + var ret BriefSiteRequest + return ret + } + return *o.Site.Get() +} + +// GetSiteOk returns a tuple with the Site 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 *ClusterRequest) GetSiteOk() (*BriefSiteRequest, bool) { + if o == nil { + return nil, false + } + return o.Site.Get(), o.Site.IsSet() +} + +// HasSite returns a boolean if a field has been set. +func (o *ClusterRequest) HasSite() bool { + if o != nil && o.Site.IsSet() { + return true + } + + return false +} + +// SetSite gets a reference to the given NullableBriefSiteRequest and assigns it to the Site field. +func (o *ClusterRequest) SetSite(v BriefSiteRequest) { + o.Site.Set(&v) +} + +// SetSiteNil sets the value for Site to be an explicit nil +func (o *ClusterRequest) SetSiteNil() { + o.Site.Set(nil) +} + +// UnsetSite ensures that no value is present for Site, not even an explicit nil +func (o *ClusterRequest) UnsetSite() { + o.Site.Unset() +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *ClusterRequest) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -101,6 +295,102 @@ func (o *ClusterRequest) SetDescription(v string) { o.Description = &v } +// GetComments returns the Comments field value if set, zero value otherwise. +func (o *ClusterRequest) GetComments() string { + if o == nil || IsNil(o.Comments) { + var ret string + return ret + } + return *o.Comments +} + +// GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ClusterRequest) GetCommentsOk() (*string, bool) { + if o == nil || IsNil(o.Comments) { + return nil, false + } + return o.Comments, true +} + +// HasComments returns a boolean if a field has been set. +func (o *ClusterRequest) HasComments() bool { + if o != nil && !IsNil(o.Comments) { + return true + } + + return false +} + +// SetComments gets a reference to the given string and assigns it to the Comments field. +func (o *ClusterRequest) SetComments(v string) { + o.Comments = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *ClusterRequest) GetTags() []NestedTagRequest { + if o == nil || IsNil(o.Tags) { + var ret []NestedTagRequest + 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 *ClusterRequest) GetTagsOk() ([]NestedTagRequest, 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 *ClusterRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTagRequest and assigns it to the Tags field. +func (o *ClusterRequest) SetTags(v []NestedTagRequest) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *ClusterRequest) 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 *ClusterRequest) 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 *ClusterRequest) 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 *ClusterRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + func (o ClusterRequest) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -112,9 +402,31 @@ func (o ClusterRequest) MarshalJSON() ([]byte, error) { func (o ClusterRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["name"] = o.Name + toSerialize["type"] = o.Type + if o.Group.IsSet() { + toSerialize["group"] = o.Group.Get() + } + if !IsNil(o.Status) { + toSerialize["status"] = o.Status + } + if o.Tenant.IsSet() { + toSerialize["tenant"] = o.Tenant.Get() + } + if o.Site.IsSet() { + toSerialize["site"] = o.Site.Get() + } if !IsNil(o.Description) { toSerialize["description"] = o.Description } + if !IsNil(o.Comments) { + toSerialize["comments"] = o.Comments + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -129,6 +441,7 @@ func (o *ClusterRequest) UnmarshalJSON(data []byte) (err error) { // that every required field exists as a key in the generic map. requiredProperties := []string{ "name", + "type", } allProperties := make(map[string]interface{}) @@ -159,7 +472,15 @@ func (o *ClusterRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "name") + delete(additionalProperties, "type") + delete(additionalProperties, "group") + delete(additionalProperties, "status") + delete(additionalProperties, "tenant") + delete(additionalProperties, "site") delete(additionalProperties, "description") + delete(additionalProperties, "comments") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") o.AdditionalProperties = additionalProperties } diff --git a/model_cluster_status.go b/model_cluster_status.go new file mode 100644 index 000000000..a349936b4 --- /dev/null +++ b/model_cluster_status.go @@ -0,0 +1,190 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" +) + +// checks if the ClusterStatus type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &ClusterStatus{} + +// ClusterStatus struct for ClusterStatus +type ClusterStatus struct { + Value *ClusterStatusValue `json:"value,omitempty"` + Label *ClusterStatusLabel `json:"label,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _ClusterStatus ClusterStatus + +// NewClusterStatus instantiates a new ClusterStatus object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewClusterStatus() *ClusterStatus { + this := ClusterStatus{} + return &this +} + +// NewClusterStatusWithDefaults instantiates a new ClusterStatus object +// This 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 NewClusterStatusWithDefaults() *ClusterStatus { + this := ClusterStatus{} + return &this +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *ClusterStatus) GetValue() ClusterStatusValue { + if o == nil || IsNil(o.Value) { + var ret ClusterStatusValue + 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 *ClusterStatus) GetValueOk() (*ClusterStatusValue, 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 *ClusterStatus) HasValue() bool { + if o != nil && !IsNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given ClusterStatusValue and assigns it to the Value field. +func (o *ClusterStatus) SetValue(v ClusterStatusValue) { + o.Value = &v +} + +// GetLabel returns the Label field value if set, zero value otherwise. +func (o *ClusterStatus) GetLabel() ClusterStatusLabel { + if o == nil || IsNil(o.Label) { + var ret ClusterStatusLabel + 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 *ClusterStatus) GetLabelOk() (*ClusterStatusLabel, 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 *ClusterStatus) HasLabel() bool { + if o != nil && !IsNil(o.Label) { + return true + } + + return false +} + +// SetLabel gets a reference to the given ClusterStatusLabel and assigns it to the Label field. +func (o *ClusterStatus) SetLabel(v ClusterStatusLabel) { + o.Label = &v +} + +func (o ClusterStatus) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o ClusterStatus) 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 *ClusterStatus) UnmarshalJSON(data []byte) (err error) { + varClusterStatus := _ClusterStatus{} + + err = json.Unmarshal(data, &varClusterStatus) + + if err != nil { + return err + } + + *o = ClusterStatus(varClusterStatus) + + 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 NullableClusterStatus struct { + value *ClusterStatus + isSet bool +} + +func (v NullableClusterStatus) Get() *ClusterStatus { + return v.value +} + +func (v *NullableClusterStatus) Set(val *ClusterStatus) { + v.value = val + v.isSet = true +} + +func (v NullableClusterStatus) IsSet() bool { + return v.isSet +} + +func (v *NullableClusterStatus) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableClusterStatus(val *ClusterStatus) *NullableClusterStatus { + return &NullableClusterStatus{value: val, isSet: true} +} + +func (v NullableClusterStatus) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableClusterStatus) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_cluster_status_label.go b/model_cluster_status_label.go new file mode 100644 index 000000000..97bf05c30 --- /dev/null +++ b/model_cluster_status_label.go @@ -0,0 +1,116 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// ClusterStatusLabel the model 'ClusterStatusLabel' +type ClusterStatusLabel string + +// List of Cluster_status_label +const ( + CLUSTERSTATUSLABEL_PLANNED ClusterStatusLabel = "Planned" + CLUSTERSTATUSLABEL_STAGING ClusterStatusLabel = "Staging" + CLUSTERSTATUSLABEL_ACTIVE ClusterStatusLabel = "Active" + CLUSTERSTATUSLABEL_DECOMMISSIONING ClusterStatusLabel = "Decommissioning" + CLUSTERSTATUSLABEL_OFFLINE ClusterStatusLabel = "Offline" +) + +// All allowed values of ClusterStatusLabel enum +var AllowedClusterStatusLabelEnumValues = []ClusterStatusLabel{ + "Planned", + "Staging", + "Active", + "Decommissioning", + "Offline", +} + +func (v *ClusterStatusLabel) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := ClusterStatusLabel(value) + for _, existing := range AllowedClusterStatusLabelEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid ClusterStatusLabel", value) +} + +// NewClusterStatusLabelFromValue returns a pointer to a valid ClusterStatusLabel +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewClusterStatusLabelFromValue(v string) (*ClusterStatusLabel, error) { + ev := ClusterStatusLabel(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for ClusterStatusLabel: valid values are %v", v, AllowedClusterStatusLabelEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v ClusterStatusLabel) IsValid() bool { + for _, existing := range AllowedClusterStatusLabelEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to Cluster_status_label value +func (v ClusterStatusLabel) Ptr() *ClusterStatusLabel { + return &v +} + +type NullableClusterStatusLabel struct { + value *ClusterStatusLabel + isSet bool +} + +func (v NullableClusterStatusLabel) Get() *ClusterStatusLabel { + return v.value +} + +func (v *NullableClusterStatusLabel) Set(val *ClusterStatusLabel) { + v.value = val + v.isSet = true +} + +func (v NullableClusterStatusLabel) IsSet() bool { + return v.isSet +} + +func (v *NullableClusterStatusLabel) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableClusterStatusLabel(val *ClusterStatusLabel) *NullableClusterStatusLabel { + return &NullableClusterStatusLabel{value: val, isSet: true} +} + +func (v NullableClusterStatusLabel) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableClusterStatusLabel) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_cluster_status_value.go b/model_cluster_status_value.go new file mode 100644 index 000000000..d71d81d5b --- /dev/null +++ b/model_cluster_status_value.go @@ -0,0 +1,116 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// ClusterStatusValue * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `offline` - Offline +type ClusterStatusValue string + +// List of Cluster_status_value +const ( + CLUSTERSTATUSVALUE_PLANNED ClusterStatusValue = "planned" + CLUSTERSTATUSVALUE_STAGING ClusterStatusValue = "staging" + CLUSTERSTATUSVALUE_ACTIVE ClusterStatusValue = "active" + CLUSTERSTATUSVALUE_DECOMMISSIONING ClusterStatusValue = "decommissioning" + CLUSTERSTATUSVALUE_OFFLINE ClusterStatusValue = "offline" +) + +// All allowed values of ClusterStatusValue enum +var AllowedClusterStatusValueEnumValues = []ClusterStatusValue{ + "planned", + "staging", + "active", + "decommissioning", + "offline", +} + +func (v *ClusterStatusValue) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := ClusterStatusValue(value) + for _, existing := range AllowedClusterStatusValueEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid ClusterStatusValue", value) +} + +// NewClusterStatusValueFromValue returns a pointer to a valid ClusterStatusValue +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewClusterStatusValueFromValue(v string) (*ClusterStatusValue, error) { + ev := ClusterStatusValue(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for ClusterStatusValue: valid values are %v", v, AllowedClusterStatusValueEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v ClusterStatusValue) IsValid() bool { + for _, existing := range AllowedClusterStatusValueEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to Cluster_status_value value +func (v ClusterStatusValue) Ptr() *ClusterStatusValue { + return &v +} + +type NullableClusterStatusValue struct { + value *ClusterStatusValue + isSet bool +} + +func (v NullableClusterStatusValue) Get() *ClusterStatusValue { + return v.value +} + +func (v *NullableClusterStatusValue) Set(val *ClusterStatusValue) { + v.value = val + v.isSet = true +} + +func (v NullableClusterStatusValue) IsSet() bool { + return v.isSet +} + +func (v *NullableClusterStatusValue) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableClusterStatusValue(val *ClusterStatusValue) *NullableClusterStatusValue { + return &NullableClusterStatusValue{value: val, isSet: true} +} + +func (v NullableClusterStatusValue) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableClusterStatusValue) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_cluster_type.go b/model_cluster_type.go index df806d509..eb4dbe841 100644 --- a/model_cluster_type.go +++ b/model_cluster_type.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -23,6 +23,7 @@ var _ MappedNullable = &ClusterType{} type ClusterType struct { Id int32 `json:"id"` Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` Display string `json:"display"` Name string `json:"name"` Slug string `json:"slug"` @@ -110,6 +111,38 @@ func (o *ClusterType) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *ClusterType) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ClusterType) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *ClusterType) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *ClusterType) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *ClusterType) GetDisplay() string { if o == nil { @@ -366,6 +399,9 @@ func (o ClusterType) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["name"] = o.Name toSerialize["slug"] = o.Slug @@ -433,6 +469,7 @@ func (o *ClusterType) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") delete(additionalProperties, "slug") diff --git a/model_cluster_type_request.go b/model_cluster_type_request.go index a72f53e3b..b17acd57b 100644 --- a/model_cluster_type_request.go +++ b/model_cluster_type_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_config_context.go b/model_config_context.go index 8cfdce327..f54ec84cb 100644 --- a/model_config_context.go +++ b/model_config_context.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,34 +21,35 @@ 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 int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - Name string `json:"name"` - Weight *int32 `json:"weight,omitempty"` - Description *string `json:"description,omitempty"` - IsActive *bool `json:"is_active,omitempty"` - Regions []Region `json:"regions,omitempty"` - SiteGroups []SiteGroup `json:"site_groups,omitempty"` - Sites []Site `json:"sites,omitempty"` - Locations []Location `json:"locations,omitempty"` - DeviceTypes []DeviceType `json:"device_types,omitempty"` - Roles []DeviceRole `json:"roles,omitempty"` - Platforms []Platform `json:"platforms,omitempty"` - ClusterTypes []ClusterType `json:"cluster_types,omitempty"` - ClusterGroups []ClusterGroup `json:"cluster_groups,omitempty"` - Clusters []Cluster `json:"clusters,omitempty"` - TenantGroups []TenantGroup `json:"tenant_groups,omitempty"` - Tenants []Tenant `json:"tenants,omitempty"` - Tags []string `json:"tags,omitempty"` - DataSource *DataSource `json:"data_source,omitempty"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Name string `json:"name"` + Weight *int32 `json:"weight,omitempty"` + Description *string `json:"description,omitempty"` + IsActive *bool `json:"is_active,omitempty"` + Regions []Region `json:"regions,omitempty"` + SiteGroups []SiteGroup `json:"site_groups,omitempty"` + Sites []Site `json:"sites,omitempty"` + Locations []Location `json:"locations,omitempty"` + DeviceTypes []DeviceType `json:"device_types,omitempty"` + Roles []DeviceRole `json:"roles,omitempty"` + Platforms []Platform `json:"platforms,omitempty"` + ClusterTypes []ClusterType `json:"cluster_types,omitempty"` + ClusterGroups []ClusterGroup `json:"cluster_groups,omitempty"` + Clusters []Cluster `json:"clusters,omitempty"` + TenantGroups []TenantGroup `json:"tenant_groups,omitempty"` + Tenants []Tenant `json:"tenants,omitempty"` + Tags []string `json:"tags,omitempty"` + DataSource *BriefDataSource `json:"data_source,omitempty"` // Path to remote file (relative to data source root) - DataPath string `json:"data_path"` - DataFile DataFile `json:"data_file"` - DataSynced NullableTime `json:"data_synced"` - Data interface{} `json:"data"` - Created NullableTime `json:"created"` - LastUpdated NullableTime `json:"last_updated"` + DataPath string `json:"data_path"` + DataFile BriefDataFile `json:"data_file"` + DataSynced NullableTime `json:"data_synced"` + Data interface{} `json:"data"` + Created NullableTime `json:"created"` + LastUpdated NullableTime `json:"last_updated"` AdditionalProperties map[string]interface{} } @@ -58,7 +59,7 @@ 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 int32, url string, display string, name string, dataPath string, dataFile DataFile, dataSynced NullableTime, data interface{}, created NullableTime, lastUpdated NullableTime) *ConfigContext { +func NewConfigContext(id int32, url string, display string, name string, dataPath string, dataFile BriefDataFile, dataSynced NullableTime, data interface{}, created NullableTime, lastUpdated NullableTime) *ConfigContext { this := ConfigContext{} this.Id = id this.Url = url @@ -129,6 +130,38 @@ func (o *ConfigContext) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *ConfigContext) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConfigContext) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *ConfigContext) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *ConfigContext) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *ConfigContext) GetDisplay() string { if o == nil { @@ -690,9 +723,9 @@ func (o *ConfigContext) SetTags(v []string) { } // GetDataSource returns the DataSource field value if set, zero value otherwise. -func (o *ConfigContext) GetDataSource() DataSource { +func (o *ConfigContext) GetDataSource() BriefDataSource { if o == nil || IsNil(o.DataSource) { - var ret DataSource + var ret BriefDataSource return ret } return *o.DataSource @@ -700,7 +733,7 @@ func (o *ConfigContext) GetDataSource() DataSource { // GetDataSourceOk returns a tuple with the DataSource field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConfigContext) GetDataSourceOk() (*DataSource, bool) { +func (o *ConfigContext) GetDataSourceOk() (*BriefDataSource, bool) { if o == nil || IsNil(o.DataSource) { return nil, false } @@ -716,8 +749,8 @@ func (o *ConfigContext) HasDataSource() bool { return false } -// SetDataSource gets a reference to the given DataSource and assigns it to the DataSource field. -func (o *ConfigContext) SetDataSource(v DataSource) { +// SetDataSource gets a reference to the given BriefDataSource and assigns it to the DataSource field. +func (o *ConfigContext) SetDataSource(v BriefDataSource) { o.DataSource = &v } @@ -746,9 +779,9 @@ func (o *ConfigContext) SetDataPath(v string) { } // GetDataFile returns the DataFile field value -func (o *ConfigContext) GetDataFile() DataFile { +func (o *ConfigContext) GetDataFile() BriefDataFile { if o == nil { - var ret DataFile + var ret BriefDataFile return ret } @@ -757,7 +790,7 @@ func (o *ConfigContext) GetDataFile() DataFile { // GetDataFileOk returns a tuple with the DataFile field value // and a boolean to check if the value has been set. -func (o *ConfigContext) GetDataFileOk() (*DataFile, bool) { +func (o *ConfigContext) GetDataFileOk() (*BriefDataFile, bool) { if o == nil { return nil, false } @@ -765,7 +798,7 @@ func (o *ConfigContext) GetDataFileOk() (*DataFile, bool) { } // SetDataFile sets field value -func (o *ConfigContext) SetDataFile(v DataFile) { +func (o *ConfigContext) SetDataFile(v BriefDataFile) { o.DataFile = v } @@ -885,6 +918,9 @@ func (o ConfigContext) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["name"] = o.Name if !IsNil(o.Weight) { @@ -1000,6 +1036,7 @@ func (o *ConfigContext) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") delete(additionalProperties, "weight") diff --git a/model_config_context_request.go b/model_config_context_request.go index 86b8fad88..638f925a7 100644 --- a/model_config_context_request.go +++ b/model_config_context_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,25 +20,25 @@ 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 { - Name string `json:"name"` - Weight *int32 `json:"weight,omitempty"` - Description *string `json:"description,omitempty"` - IsActive *bool `json:"is_active,omitempty"` - Regions []int32 `json:"regions,omitempty"` - SiteGroups []int32 `json:"site_groups,omitempty"` - Sites []int32 `json:"sites,omitempty"` - Locations []int32 `json:"locations,omitempty"` - DeviceTypes []int32 `json:"device_types,omitempty"` - Roles []int32 `json:"roles,omitempty"` - Platforms []int32 `json:"platforms,omitempty"` - ClusterTypes []int32 `json:"cluster_types,omitempty"` - ClusterGroups []int32 `json:"cluster_groups,omitempty"` - Clusters []int32 `json:"clusters,omitempty"` - TenantGroups []int32 `json:"tenant_groups,omitempty"` - Tenants []int32 `json:"tenants,omitempty"` - Tags []string `json:"tags,omitempty"` - DataSource *DataSourceRequest `json:"data_source,omitempty"` - Data interface{} `json:"data"` + Name string `json:"name"` + Weight *int32 `json:"weight,omitempty"` + Description *string `json:"description,omitempty"` + IsActive *bool `json:"is_active,omitempty"` + Regions []int32 `json:"regions,omitempty"` + SiteGroups []int32 `json:"site_groups,omitempty"` + Sites []int32 `json:"sites,omitempty"` + Locations []int32 `json:"locations,omitempty"` + DeviceTypes []int32 `json:"device_types,omitempty"` + Roles []int32 `json:"roles,omitempty"` + Platforms []int32 `json:"platforms,omitempty"` + ClusterTypes []int32 `json:"cluster_types,omitempty"` + ClusterGroups []int32 `json:"cluster_groups,omitempty"` + Clusters []int32 `json:"clusters,omitempty"` + TenantGroups []int32 `json:"tenant_groups,omitempty"` + Tenants []int32 `json:"tenants,omitempty"` + Tags []string `json:"tags,omitempty"` + DataSource *BriefDataSourceRequest `json:"data_source,omitempty"` + Data interface{} `json:"data"` AdditionalProperties map[string]interface{} } @@ -600,9 +600,9 @@ func (o *ConfigContextRequest) SetTags(v []string) { } // GetDataSource returns the DataSource field value if set, zero value otherwise. -func (o *ConfigContextRequest) GetDataSource() DataSourceRequest { +func (o *ConfigContextRequest) GetDataSource() BriefDataSourceRequest { if o == nil || IsNil(o.DataSource) { - var ret DataSourceRequest + var ret BriefDataSourceRequest return ret } return *o.DataSource @@ -610,7 +610,7 @@ func (o *ConfigContextRequest) GetDataSource() DataSourceRequest { // GetDataSourceOk returns a tuple with the DataSource field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConfigContextRequest) GetDataSourceOk() (*DataSourceRequest, bool) { +func (o *ConfigContextRequest) GetDataSourceOk() (*BriefDataSourceRequest, bool) { if o == nil || IsNil(o.DataSource) { return nil, false } @@ -626,8 +626,8 @@ func (o *ConfigContextRequest) HasDataSource() bool { return false } -// SetDataSource gets a reference to the given DataSourceRequest and assigns it to the DataSource field. -func (o *ConfigContextRequest) SetDataSource(v DataSourceRequest) { +// SetDataSource gets a reference to the given BriefDataSourceRequest and assigns it to the DataSource field. +func (o *ConfigContextRequest) SetDataSource(v BriefDataSourceRequest) { o.DataSource = &v } diff --git a/model_config_template.go b/model_config_template.go index 3995c0dbd..2e0dcf5c8 100644 --- a/model_config_template.go +++ b/model_config_template.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -13,6 +13,7 @@ package netbox import ( "encoding/json" "fmt" + "time" ) // checks if the ConfigTemplate type satisfies the MappedNullable interface at compile time @@ -20,11 +21,24 @@ var _ MappedNullable = &ConfigTemplate{} // ConfigTemplate Introduces support for Tag assignment. Adds `tags` serialization, and handles tag assignment on create() and update(). type ConfigTemplate struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - Name string `json:"name"` - Description *string `json:"description,omitempty"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Name string `json:"name"` + Description *string `json:"description,omitempty"` + // Any additional parameters to pass when constructing the Jinja2 environment. + EnvironmentParams interface{} `json:"environment_params,omitempty"` + // Jinja2 template code. + TemplateCode string `json:"template_code"` + DataSource *BriefDataSource `json:"data_source,omitempty"` + // Path to remote file (relative to data source root) + DataPath string `json:"data_path"` + DataFile *BriefDataFile `json:"data_file,omitempty"` + DataSynced NullableTime `json:"data_synced"` + Tags []NestedTag `json:"tags,omitempty"` + Created NullableTime `json:"created"` + LastUpdated NullableTime `json:"last_updated"` AdditionalProperties map[string]interface{} } @@ -34,12 +48,17 @@ type _ConfigTemplate ConfigTemplate // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewConfigTemplate(id int32, url string, display string, name string) *ConfigTemplate { +func NewConfigTemplate(id int32, url string, display string, name string, templateCode string, dataPath string, dataSynced NullableTime, created NullableTime, lastUpdated NullableTime) *ConfigTemplate { this := ConfigTemplate{} this.Id = id this.Url = url this.Display = display this.Name = name + this.TemplateCode = templateCode + this.DataPath = dataPath + this.DataSynced = dataSynced + this.Created = created + this.LastUpdated = lastUpdated return &this } @@ -99,6 +118,38 @@ func (o *ConfigTemplate) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *ConfigTemplate) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConfigTemplate) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *ConfigTemplate) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *ConfigTemplate) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *ConfigTemplate) GetDisplay() string { if o == nil { @@ -179,6 +230,261 @@ func (o *ConfigTemplate) SetDescription(v string) { o.Description = &v } +// GetEnvironmentParams returns the EnvironmentParams field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ConfigTemplate) GetEnvironmentParams() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.EnvironmentParams +} + +// GetEnvironmentParamsOk returns a tuple with the EnvironmentParams 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 *ConfigTemplate) GetEnvironmentParamsOk() (*interface{}, bool) { + if o == nil || IsNil(o.EnvironmentParams) { + return nil, false + } + return &o.EnvironmentParams, true +} + +// HasEnvironmentParams returns a boolean if a field has been set. +func (o *ConfigTemplate) HasEnvironmentParams() bool { + if o != nil && !IsNil(o.EnvironmentParams) { + return true + } + + return false +} + +// SetEnvironmentParams gets a reference to the given interface{} and assigns it to the EnvironmentParams field. +func (o *ConfigTemplate) SetEnvironmentParams(v interface{}) { + o.EnvironmentParams = v +} + +// GetTemplateCode returns the TemplateCode field value +func (o *ConfigTemplate) 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 *ConfigTemplate) GetTemplateCodeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TemplateCode, true +} + +// SetTemplateCode sets field value +func (o *ConfigTemplate) SetTemplateCode(v string) { + o.TemplateCode = v +} + +// GetDataSource returns the DataSource field value if set, zero value otherwise. +func (o *ConfigTemplate) GetDataSource() BriefDataSource { + if o == nil || IsNil(o.DataSource) { + var ret BriefDataSource + return ret + } + return *o.DataSource +} + +// GetDataSourceOk returns a tuple with the DataSource field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConfigTemplate) GetDataSourceOk() (*BriefDataSource, bool) { + if o == nil || IsNil(o.DataSource) { + return nil, false + } + return o.DataSource, true +} + +// HasDataSource returns a boolean if a field has been set. +func (o *ConfigTemplate) HasDataSource() bool { + if o != nil && !IsNil(o.DataSource) { + return true + } + + return false +} + +// SetDataSource gets a reference to the given BriefDataSource and assigns it to the DataSource field. +func (o *ConfigTemplate) SetDataSource(v BriefDataSource) { + o.DataSource = &v +} + +// GetDataPath returns the DataPath field value +func (o *ConfigTemplate) GetDataPath() string { + if o == nil { + var ret string + return ret + } + + return o.DataPath +} + +// GetDataPathOk returns a tuple with the DataPath field value +// and a boolean to check if the value has been set. +func (o *ConfigTemplate) GetDataPathOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.DataPath, true +} + +// SetDataPath sets field value +func (o *ConfigTemplate) SetDataPath(v string) { + o.DataPath = v +} + +// GetDataFile returns the DataFile field value if set, zero value otherwise. +func (o *ConfigTemplate) GetDataFile() BriefDataFile { + if o == nil || IsNil(o.DataFile) { + var ret BriefDataFile + return ret + } + return *o.DataFile +} + +// GetDataFileOk returns a tuple with the DataFile field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConfigTemplate) GetDataFileOk() (*BriefDataFile, bool) { + if o == nil || IsNil(o.DataFile) { + return nil, false + } + return o.DataFile, true +} + +// HasDataFile returns a boolean if a field has been set. +func (o *ConfigTemplate) HasDataFile() bool { + if o != nil && !IsNil(o.DataFile) { + return true + } + + return false +} + +// SetDataFile gets a reference to the given BriefDataFile and assigns it to the DataFile field. +func (o *ConfigTemplate) SetDataFile(v BriefDataFile) { + o.DataFile = &v +} + +// GetDataSynced returns the DataSynced field value +// If the value is explicit nil, the zero value for time.Time will be returned +func (o *ConfigTemplate) GetDataSynced() time.Time { + if o == nil || o.DataSynced.Get() == nil { + var ret time.Time + return ret + } + + return *o.DataSynced.Get() +} + +// GetDataSyncedOk returns a tuple with the DataSynced 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 *ConfigTemplate) GetDataSyncedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.DataSynced.Get(), o.DataSynced.IsSet() +} + +// SetDataSynced sets field value +func (o *ConfigTemplate) SetDataSynced(v time.Time) { + o.DataSynced.Set(&v) +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *ConfigTemplate) GetTags() []NestedTag { + if o == nil || IsNil(o.Tags) { + var ret []NestedTag + 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 *ConfigTemplate) GetTagsOk() ([]NestedTag, 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 *ConfigTemplate) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTag and assigns it to the Tags field. +func (o *ConfigTemplate) SetTags(v []NestedTag) { + o.Tags = v +} + +// GetCreated returns the Created field value +// If the value is explicit nil, the zero value for time.Time will be returned +func (o *ConfigTemplate) 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 *ConfigTemplate) GetCreatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.Created.Get(), o.Created.IsSet() +} + +// SetCreated sets field value +func (o *ConfigTemplate) 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 *ConfigTemplate) 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 *ConfigTemplate) GetLastUpdatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LastUpdated.Get(), o.LastUpdated.IsSet() +} + +// SetLastUpdated sets field value +func (o *ConfigTemplate) SetLastUpdated(v time.Time) { + o.LastUpdated.Set(&v) +} + func (o ConfigTemplate) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -191,11 +497,31 @@ func (o ConfigTemplate) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["name"] = o.Name if !IsNil(o.Description) { toSerialize["description"] = o.Description } + if o.EnvironmentParams != nil { + toSerialize["environment_params"] = o.EnvironmentParams + } + toSerialize["template_code"] = o.TemplateCode + if !IsNil(o.DataSource) { + toSerialize["data_source"] = o.DataSource + } + toSerialize["data_path"] = o.DataPath + if !IsNil(o.DataFile) { + toSerialize["data_file"] = o.DataFile + } + toSerialize["data_synced"] = o.DataSynced.Get() + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + toSerialize["created"] = o.Created.Get() + toSerialize["last_updated"] = o.LastUpdated.Get() for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -213,6 +539,11 @@ func (o *ConfigTemplate) UnmarshalJSON(data []byte) (err error) { "url", "display", "name", + "template_code", + "data_path", + "data_synced", + "created", + "last_updated", } allProperties := make(map[string]interface{}) @@ -244,9 +575,19 @@ func (o *ConfigTemplate) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") delete(additionalProperties, "description") + delete(additionalProperties, "environment_params") + delete(additionalProperties, "template_code") + delete(additionalProperties, "data_source") + delete(additionalProperties, "data_path") + delete(additionalProperties, "data_file") + delete(additionalProperties, "data_synced") + delete(additionalProperties, "tags") + delete(additionalProperties, "created") + delete(additionalProperties, "last_updated") o.AdditionalProperties = additionalProperties } diff --git a/model_config_template_request.go b/model_config_template_request.go index 916c0e491..4a811b918 100644 --- a/model_config_template_request.go +++ b/model_config_template_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,8 +20,14 @@ var _ MappedNullable = &ConfigTemplateRequest{} // ConfigTemplateRequest Introduces support for Tag assignment. Adds `tags` serialization, and handles tag assignment on create() and update(). type ConfigTemplateRequest struct { - Name string `json:"name"` - Description *string `json:"description,omitempty"` + Name string `json:"name"` + Description *string `json:"description,omitempty"` + // Any additional parameters to pass when constructing the Jinja2 environment. + EnvironmentParams interface{} `json:"environment_params,omitempty"` + // Jinja2 template code. + TemplateCode string `json:"template_code"` + DataSource *BriefDataSourceRequest `json:"data_source,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` AdditionalProperties map[string]interface{} } @@ -31,9 +37,10 @@ type _ConfigTemplateRequest ConfigTemplateRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewConfigTemplateRequest(name string) *ConfigTemplateRequest { +func NewConfigTemplateRequest(name string, templateCode string) *ConfigTemplateRequest { this := ConfigTemplateRequest{} this.Name = name + this.TemplateCode = templateCode return &this } @@ -101,6 +108,127 @@ func (o *ConfigTemplateRequest) SetDescription(v string) { o.Description = &v } +// GetEnvironmentParams returns the EnvironmentParams field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ConfigTemplateRequest) GetEnvironmentParams() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.EnvironmentParams +} + +// GetEnvironmentParamsOk returns a tuple with the EnvironmentParams 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 *ConfigTemplateRequest) GetEnvironmentParamsOk() (*interface{}, bool) { + if o == nil || IsNil(o.EnvironmentParams) { + return nil, false + } + return &o.EnvironmentParams, true +} + +// HasEnvironmentParams returns a boolean if a field has been set. +func (o *ConfigTemplateRequest) HasEnvironmentParams() bool { + if o != nil && !IsNil(o.EnvironmentParams) { + return true + } + + return false +} + +// SetEnvironmentParams gets a reference to the given interface{} and assigns it to the EnvironmentParams field. +func (o *ConfigTemplateRequest) SetEnvironmentParams(v interface{}) { + o.EnvironmentParams = v +} + +// GetTemplateCode returns the TemplateCode field value +func (o *ConfigTemplateRequest) 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 *ConfigTemplateRequest) GetTemplateCodeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TemplateCode, true +} + +// SetTemplateCode sets field value +func (o *ConfigTemplateRequest) SetTemplateCode(v string) { + o.TemplateCode = v +} + +// GetDataSource returns the DataSource field value if set, zero value otherwise. +func (o *ConfigTemplateRequest) GetDataSource() BriefDataSourceRequest { + if o == nil || IsNil(o.DataSource) { + var ret BriefDataSourceRequest + return ret + } + return *o.DataSource +} + +// GetDataSourceOk returns a tuple with the DataSource field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConfigTemplateRequest) GetDataSourceOk() (*BriefDataSourceRequest, bool) { + if o == nil || IsNil(o.DataSource) { + return nil, false + } + return o.DataSource, true +} + +// HasDataSource returns a boolean if a field has been set. +func (o *ConfigTemplateRequest) HasDataSource() bool { + if o != nil && !IsNil(o.DataSource) { + return true + } + + return false +} + +// SetDataSource gets a reference to the given BriefDataSourceRequest and assigns it to the DataSource field. +func (o *ConfigTemplateRequest) SetDataSource(v BriefDataSourceRequest) { + o.DataSource = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *ConfigTemplateRequest) GetTags() []NestedTagRequest { + if o == nil || IsNil(o.Tags) { + var ret []NestedTagRequest + 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 *ConfigTemplateRequest) GetTagsOk() ([]NestedTagRequest, 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 *ConfigTemplateRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTagRequest and assigns it to the Tags field. +func (o *ConfigTemplateRequest) SetTags(v []NestedTagRequest) { + o.Tags = v +} + func (o ConfigTemplateRequest) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -115,6 +243,16 @@ func (o ConfigTemplateRequest) ToMap() (map[string]interface{}, error) { if !IsNil(o.Description) { toSerialize["description"] = o.Description } + if o.EnvironmentParams != nil { + toSerialize["environment_params"] = o.EnvironmentParams + } + toSerialize["template_code"] = o.TemplateCode + if !IsNil(o.DataSource) { + toSerialize["data_source"] = o.DataSource + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -129,6 +267,7 @@ func (o *ConfigTemplateRequest) UnmarshalJSON(data []byte) (err error) { // that every required field exists as a key in the generic map. requiredProperties := []string{ "name", + "template_code", } allProperties := make(map[string]interface{}) @@ -160,6 +299,10 @@ func (o *ConfigTemplateRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "name") delete(additionalProperties, "description") + delete(additionalProperties, "environment_params") + delete(additionalProperties, "template_code") + delete(additionalProperties, "data_source") + delete(additionalProperties, "tags") o.AdditionalProperties = additionalProperties } diff --git a/model_console_port.go b/model_console_port.go index c931788c3..62a1ef229 100644 --- a/model_console_port.go +++ b/model_console_port.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,26 +21,27 @@ var _ MappedNullable = &ConsolePort{} // ConsolePort Adds support for custom fields and tags. type ConsolePort struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - Device Device `json:"device"` - Module NullableModule `json:"module,omitempty"` - Name string `json:"name"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Device BriefDevice `json:"device"` + Module NullableBriefModule `json:"module,omitempty"` + Name string `json:"name"` // Physical label Label *string `json:"label,omitempty"` Type *ConsolePortType `json:"type,omitempty"` Speed NullableConsolePortSpeed `json:"speed,omitempty"` Description *string `json:"description,omitempty"` // Treat as if a cable is connected - MarkConnected *bool `json:"mark_connected,omitempty"` - Cable NullableCable `json:"cable"` - CableEnd string `json:"cable_end"` - LinkPeers []interface{} `json:"link_peers"` + MarkConnected *bool `json:"mark_connected,omitempty"` + Cable NullableBriefCable `json:"cable"` + CableEnd string `json:"cable_end"` + LinkPeers []interface{} `json:"link_peers"` // Return the type of the peer link terminations, or None. - LinkPeersType string `json:"link_peers_type"` + LinkPeersType NullableString `json:"link_peers_type"` ConnectedEndpoints []interface{} `json:"connected_endpoints"` - ConnectedEndpointsType string `json:"connected_endpoints_type"` + ConnectedEndpointsType NullableString `json:"connected_endpoints_type"` ConnectedEndpointsReachable bool `json:"connected_endpoints_reachable"` Tags []NestedTag `json:"tags,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` @@ -56,7 +57,7 @@ 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 int32, url string, display string, device Device, name string, cable NullableCable, cableEnd string, linkPeers []interface{}, linkPeersType string, connectedEndpoints []interface{}, connectedEndpointsType string, connectedEndpointsReachable bool, created NullableTime, lastUpdated NullableTime, occupied bool) *ConsolePort { +func NewConsolePort(id int32, url string, display string, device BriefDevice, name string, cable NullableBriefCable, cableEnd string, linkPeers []interface{}, linkPeersType NullableString, connectedEndpoints []interface{}, connectedEndpointsType NullableString, connectedEndpointsReachable bool, created NullableTime, lastUpdated NullableTime, occupied bool) *ConsolePort { this := ConsolePort{} this.Id = id this.Url = url @@ -132,6 +133,38 @@ func (o *ConsolePort) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *ConsolePort) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConsolePort) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *ConsolePort) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *ConsolePort) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *ConsolePort) GetDisplay() string { if o == nil { @@ -157,9 +190,9 @@ func (o *ConsolePort) SetDisplay(v string) { } // GetDevice returns the Device field value -func (o *ConsolePort) GetDevice() Device { +func (o *ConsolePort) GetDevice() BriefDevice { if o == nil { - var ret Device + var ret BriefDevice return ret } @@ -168,7 +201,7 @@ func (o *ConsolePort) GetDevice() Device { // GetDeviceOk returns a tuple with the Device field value // and a boolean to check if the value has been set. -func (o *ConsolePort) GetDeviceOk() (*Device, bool) { +func (o *ConsolePort) GetDeviceOk() (*BriefDevice, bool) { if o == nil { return nil, false } @@ -176,14 +209,14 @@ func (o *ConsolePort) GetDeviceOk() (*Device, bool) { } // SetDevice sets field value -func (o *ConsolePort) SetDevice(v Device) { +func (o *ConsolePort) SetDevice(v BriefDevice) { o.Device = v } // GetModule returns the Module field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *ConsolePort) GetModule() Module { +func (o *ConsolePort) GetModule() BriefModule { if o == nil || IsNil(o.Module.Get()) { - var ret Module + var ret BriefModule return ret } return *o.Module.Get() @@ -192,7 +225,7 @@ func (o *ConsolePort) GetModule() Module { // GetModuleOk returns a tuple with the Module 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 *ConsolePort) GetModuleOk() (*Module, bool) { +func (o *ConsolePort) GetModuleOk() (*BriefModule, bool) { if o == nil { return nil, false } @@ -208,8 +241,8 @@ func (o *ConsolePort) HasModule() bool { return false } -// SetModule gets a reference to the given NullableModule and assigns it to the Module field. -func (o *ConsolePort) SetModule(v Module) { +// SetModule gets a reference to the given NullableBriefModule and assigns it to the Module field. +func (o *ConsolePort) SetModule(v BriefModule) { o.Module.Set(&v) } @@ -419,10 +452,10 @@ func (o *ConsolePort) SetMarkConnected(v bool) { } // GetCable returns the Cable field value -// If the value is explicit nil, the zero value for Cable will be returned -func (o *ConsolePort) GetCable() Cable { +// If the value is explicit nil, the zero value for BriefCable will be returned +func (o *ConsolePort) GetCable() BriefCable { if o == nil || o.Cable.Get() == nil { - var ret Cable + var ret BriefCable return ret } @@ -432,7 +465,7 @@ func (o *ConsolePort) GetCable() Cable { // GetCableOk returns a tuple with the Cable 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 *ConsolePort) GetCableOk() (*Cable, bool) { +func (o *ConsolePort) GetCableOk() (*BriefCable, bool) { if o == nil { return nil, false } @@ -440,7 +473,7 @@ func (o *ConsolePort) GetCableOk() (*Cable, bool) { } // SetCable sets field value -func (o *ConsolePort) SetCable(v Cable) { +func (o *ConsolePort) SetCable(v BriefCable) { o.Cable.Set(&v) } @@ -493,30 +526,33 @@ func (o *ConsolePort) SetLinkPeers(v []interface{}) { } // GetLinkPeersType returns the LinkPeersType field value +// If the value is explicit nil, the zero value for string will be returned func (o *ConsolePort) GetLinkPeersType() string { - if o == nil { + if o == nil || o.LinkPeersType.Get() == nil { var ret string return ret } - return o.LinkPeersType + return *o.LinkPeersType.Get() } // GetLinkPeersTypeOk returns a tuple with the LinkPeersType 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 *ConsolePort) GetLinkPeersTypeOk() (*string, bool) { if o == nil { return nil, false } - return &o.LinkPeersType, true + return o.LinkPeersType.Get(), o.LinkPeersType.IsSet() } // SetLinkPeersType sets field value func (o *ConsolePort) SetLinkPeersType(v string) { - o.LinkPeersType = v + o.LinkPeersType.Set(&v) } // GetConnectedEndpoints returns the ConnectedEndpoints field value +// If the value is explicit nil, the zero value for []interface{} will be returned func (o *ConsolePort) GetConnectedEndpoints() []interface{} { if o == nil { var ret []interface{} @@ -528,8 +564,9 @@ func (o *ConsolePort) GetConnectedEndpoints() []interface{} { // GetConnectedEndpointsOk returns a tuple with the ConnectedEndpoints 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 *ConsolePort) GetConnectedEndpointsOk() ([]interface{}, bool) { - if o == nil { + if o == nil || IsNil(o.ConnectedEndpoints) { return nil, false } return o.ConnectedEndpoints, true @@ -541,27 +578,29 @@ func (o *ConsolePort) SetConnectedEndpoints(v []interface{}) { } // GetConnectedEndpointsType returns the ConnectedEndpointsType field value +// If the value is explicit nil, the zero value for string will be returned func (o *ConsolePort) GetConnectedEndpointsType() string { - if o == nil { + if o == nil || o.ConnectedEndpointsType.Get() == nil { var ret string return ret } - return o.ConnectedEndpointsType + return *o.ConnectedEndpointsType.Get() } // GetConnectedEndpointsTypeOk returns a tuple with the ConnectedEndpointsType 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 *ConsolePort) GetConnectedEndpointsTypeOk() (*string, bool) { if o == nil { return nil, false } - return &o.ConnectedEndpointsType, true + return o.ConnectedEndpointsType.Get(), o.ConnectedEndpointsType.IsSet() } // SetConnectedEndpointsType sets field value func (o *ConsolePort) SetConnectedEndpointsType(v string) { - o.ConnectedEndpointsType = v + o.ConnectedEndpointsType.Set(&v) } // GetConnectedEndpointsReachable returns the ConnectedEndpointsReachable field value @@ -740,6 +779,9 @@ func (o ConsolePort) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["device"] = o.Device if o.Module.IsSet() { @@ -764,9 +806,11 @@ func (o ConsolePort) ToMap() (map[string]interface{}, error) { toSerialize["cable"] = o.Cable.Get() toSerialize["cable_end"] = o.CableEnd toSerialize["link_peers"] = o.LinkPeers - toSerialize["link_peers_type"] = o.LinkPeersType - toSerialize["connected_endpoints"] = o.ConnectedEndpoints - toSerialize["connected_endpoints_type"] = o.ConnectedEndpointsType + toSerialize["link_peers_type"] = o.LinkPeersType.Get() + if o.ConnectedEndpoints != nil { + toSerialize["connected_endpoints"] = o.ConnectedEndpoints + } + toSerialize["connected_endpoints_type"] = o.ConnectedEndpointsType.Get() toSerialize["connected_endpoints_reachable"] = o.ConnectedEndpointsReachable if !IsNil(o.Tags) { toSerialize["tags"] = o.Tags @@ -836,6 +880,7 @@ func (o *ConsolePort) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "device") delete(additionalProperties, "module") diff --git a/model_console_port_request.go b/model_console_port_request.go index 02bc1a10a..166f7fcd6 100644 --- a/model_console_port_request.go +++ b/model_console_port_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,9 +20,9 @@ var _ MappedNullable = &ConsolePortRequest{} // ConsolePortRequest Adds support for custom fields and tags. type ConsolePortRequest struct { - Device DeviceRequest `json:"device"` - Module NullableModuleRequest `json:"module,omitempty"` - Name string `json:"name"` + Device BriefDeviceRequest `json:"device"` + Module NullableBriefModuleRequest `json:"module,omitempty"` + Name string `json:"name"` // Physical label Label *string `json:"label,omitempty"` Type *ConsolePortTypeValue `json:"type,omitempty"` @@ -41,7 +41,7 @@ type _ConsolePortRequest ConsolePortRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewConsolePortRequest(device DeviceRequest, name string) *ConsolePortRequest { +func NewConsolePortRequest(device BriefDeviceRequest, name string) *ConsolePortRequest { this := ConsolePortRequest{} this.Device = device this.Name = name @@ -57,9 +57,9 @@ func NewConsolePortRequestWithDefaults() *ConsolePortRequest { } // GetDevice returns the Device field value -func (o *ConsolePortRequest) GetDevice() DeviceRequest { +func (o *ConsolePortRequest) GetDevice() BriefDeviceRequest { if o == nil { - var ret DeviceRequest + var ret BriefDeviceRequest return ret } @@ -68,7 +68,7 @@ func (o *ConsolePortRequest) GetDevice() DeviceRequest { // GetDeviceOk returns a tuple with the Device field value // and a boolean to check if the value has been set. -func (o *ConsolePortRequest) GetDeviceOk() (*DeviceRequest, bool) { +func (o *ConsolePortRequest) GetDeviceOk() (*BriefDeviceRequest, bool) { if o == nil { return nil, false } @@ -76,14 +76,14 @@ func (o *ConsolePortRequest) GetDeviceOk() (*DeviceRequest, bool) { } // SetDevice sets field value -func (o *ConsolePortRequest) SetDevice(v DeviceRequest) { +func (o *ConsolePortRequest) SetDevice(v BriefDeviceRequest) { o.Device = v } // GetModule returns the Module field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *ConsolePortRequest) GetModule() ModuleRequest { +func (o *ConsolePortRequest) GetModule() BriefModuleRequest { if o == nil || IsNil(o.Module.Get()) { - var ret ModuleRequest + var ret BriefModuleRequest return ret } return *o.Module.Get() @@ -92,7 +92,7 @@ func (o *ConsolePortRequest) GetModule() ModuleRequest { // GetModuleOk returns a tuple with the Module 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 *ConsolePortRequest) GetModuleOk() (*ModuleRequest, bool) { +func (o *ConsolePortRequest) GetModuleOk() (*BriefModuleRequest, bool) { if o == nil { return nil, false } @@ -108,8 +108,8 @@ func (o *ConsolePortRequest) HasModule() bool { return false } -// SetModule gets a reference to the given NullableModuleRequest and assigns it to the Module field. -func (o *ConsolePortRequest) SetModule(v ModuleRequest) { +// SetModule gets a reference to the given NullableBriefModuleRequest and assigns it to the Module field. +func (o *ConsolePortRequest) SetModule(v BriefModuleRequest) { o.Module.Set(&v) } diff --git a/model_console_port_request_speed.go b/model_console_port_request_speed.go index c00a14247..ffeacd483 100644 --- a/model_console_port_request_speed.go +++ b/model_console_port_request_speed.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_console_port_speed.go b/model_console_port_speed.go index e28484684..088d3f866 100644 --- a/model_console_port_speed.go +++ b/model_console_port_speed.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_console_port_speed_label.go b/model_console_port_speed_label.go index 4a4aaa975..bc91b6758 100644 --- a/model_console_port_speed_label.go +++ b/model_console_port_speed_label.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_console_port_speed_value.go b/model_console_port_speed_value.go index 814b669e0..4bf37140d 100644 --- a/model_console_port_speed_value.go +++ b/model_console_port_speed_value.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_console_port_template.go b/model_console_port_template.go index 804ed4efc..2c419ac1b 100644 --- a/model_console_port_template.go +++ b/model_console_port_template.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,11 +21,11 @@ var _ MappedNullable = &ConsolePortTemplate{} // ConsolePortTemplate Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 ConsolePortTemplate struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - DeviceType NullableDeviceType `json:"device_type,omitempty"` - ModuleType NullableModuleType `json:"module_type,omitempty"` + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + DeviceType NullableBriefDeviceType `json:"device_type,omitempty"` + ModuleType NullableBriefModuleType `json:"module_type,omitempty"` // {module} is accepted as a substitution for the module bay position when attached to a module type. Name string `json:"name"` // Physical label @@ -135,9 +135,9 @@ func (o *ConsolePortTemplate) SetDisplay(v string) { } // GetDeviceType returns the DeviceType field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *ConsolePortTemplate) GetDeviceType() DeviceType { +func (o *ConsolePortTemplate) GetDeviceType() BriefDeviceType { if o == nil || IsNil(o.DeviceType.Get()) { - var ret DeviceType + var ret BriefDeviceType return ret } return *o.DeviceType.Get() @@ -146,7 +146,7 @@ func (o *ConsolePortTemplate) GetDeviceType() DeviceType { // GetDeviceTypeOk returns a tuple with the DeviceType 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 *ConsolePortTemplate) GetDeviceTypeOk() (*DeviceType, bool) { +func (o *ConsolePortTemplate) GetDeviceTypeOk() (*BriefDeviceType, bool) { if o == nil { return nil, false } @@ -162,8 +162,8 @@ func (o *ConsolePortTemplate) HasDeviceType() bool { return false } -// SetDeviceType gets a reference to the given NullableDeviceType and assigns it to the DeviceType field. -func (o *ConsolePortTemplate) SetDeviceType(v DeviceType) { +// SetDeviceType gets a reference to the given NullableBriefDeviceType and assigns it to the DeviceType field. +func (o *ConsolePortTemplate) SetDeviceType(v BriefDeviceType) { o.DeviceType.Set(&v) } @@ -178,9 +178,9 @@ func (o *ConsolePortTemplate) UnsetDeviceType() { } // GetModuleType returns the ModuleType field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *ConsolePortTemplate) GetModuleType() ModuleType { +func (o *ConsolePortTemplate) GetModuleType() BriefModuleType { if o == nil || IsNil(o.ModuleType.Get()) { - var ret ModuleType + var ret BriefModuleType return ret } return *o.ModuleType.Get() @@ -189,7 +189,7 @@ func (o *ConsolePortTemplate) GetModuleType() ModuleType { // GetModuleTypeOk returns a tuple with the ModuleType 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 *ConsolePortTemplate) GetModuleTypeOk() (*ModuleType, bool) { +func (o *ConsolePortTemplate) GetModuleTypeOk() (*BriefModuleType, bool) { if o == nil { return nil, false } @@ -205,8 +205,8 @@ func (o *ConsolePortTemplate) HasModuleType() bool { return false } -// SetModuleType gets a reference to the given NullableModuleType and assigns it to the ModuleType field. -func (o *ConsolePortTemplate) SetModuleType(v ModuleType) { +// SetModuleType gets a reference to the given NullableBriefModuleType and assigns it to the ModuleType field. +func (o *ConsolePortTemplate) SetModuleType(v BriefModuleType) { o.ModuleType.Set(&v) } diff --git a/model_console_port_template_request.go b/model_console_port_template_request.go index e3f1100b7..49760c470 100644 --- a/model_console_port_template_request.go +++ b/model_console_port_template_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,8 +20,8 @@ var _ MappedNullable = &ConsolePortTemplateRequest{} // ConsolePortTemplateRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 ConsolePortTemplateRequest struct { - DeviceType NullableDeviceTypeRequest `json:"device_type,omitempty"` - ModuleType NullableModuleTypeRequest `json:"module_type,omitempty"` + DeviceType NullableBriefDeviceTypeRequest `json:"device_type,omitempty"` + ModuleType NullableBriefModuleTypeRequest `json:"module_type,omitempty"` // {module} is accepted as a substitution for the module bay position when attached to a module type. Name string `json:"name"` // Physical label @@ -52,9 +52,9 @@ func NewConsolePortTemplateRequestWithDefaults() *ConsolePortTemplateRequest { } // GetDeviceType returns the DeviceType field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *ConsolePortTemplateRequest) GetDeviceType() DeviceTypeRequest { +func (o *ConsolePortTemplateRequest) GetDeviceType() BriefDeviceTypeRequest { if o == nil || IsNil(o.DeviceType.Get()) { - var ret DeviceTypeRequest + var ret BriefDeviceTypeRequest return ret } return *o.DeviceType.Get() @@ -63,7 +63,7 @@ func (o *ConsolePortTemplateRequest) GetDeviceType() DeviceTypeRequest { // GetDeviceTypeOk returns a tuple with the DeviceType 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 *ConsolePortTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool) { +func (o *ConsolePortTemplateRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool) { if o == nil { return nil, false } @@ -79,8 +79,8 @@ func (o *ConsolePortTemplateRequest) HasDeviceType() bool { return false } -// SetDeviceType gets a reference to the given NullableDeviceTypeRequest and assigns it to the DeviceType field. -func (o *ConsolePortTemplateRequest) SetDeviceType(v DeviceTypeRequest) { +// SetDeviceType gets a reference to the given NullableBriefDeviceTypeRequest and assigns it to the DeviceType field. +func (o *ConsolePortTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest) { o.DeviceType.Set(&v) } @@ -95,9 +95,9 @@ func (o *ConsolePortTemplateRequest) UnsetDeviceType() { } // GetModuleType returns the ModuleType field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *ConsolePortTemplateRequest) GetModuleType() ModuleTypeRequest { +func (o *ConsolePortTemplateRequest) GetModuleType() BriefModuleTypeRequest { if o == nil || IsNil(o.ModuleType.Get()) { - var ret ModuleTypeRequest + var ret BriefModuleTypeRequest return ret } return *o.ModuleType.Get() @@ -106,7 +106,7 @@ func (o *ConsolePortTemplateRequest) GetModuleType() ModuleTypeRequest { // GetModuleTypeOk returns a tuple with the ModuleType 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 *ConsolePortTemplateRequest) GetModuleTypeOk() (*ModuleTypeRequest, bool) { +func (o *ConsolePortTemplateRequest) GetModuleTypeOk() (*BriefModuleTypeRequest, bool) { if o == nil { return nil, false } @@ -122,8 +122,8 @@ func (o *ConsolePortTemplateRequest) HasModuleType() bool { return false } -// SetModuleType gets a reference to the given NullableModuleTypeRequest and assigns it to the ModuleType field. -func (o *ConsolePortTemplateRequest) SetModuleType(v ModuleTypeRequest) { +// SetModuleType gets a reference to the given NullableBriefModuleTypeRequest and assigns it to the ModuleType field. +func (o *ConsolePortTemplateRequest) SetModuleType(v BriefModuleTypeRequest) { o.ModuleType.Set(&v) } diff --git a/model_console_port_type.go b/model_console_port_type.go index 9e92401fc..5e95b3b8f 100644 --- a/model_console_port_type.go +++ b/model_console_port_type.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 9e6a3ab15..880d577ba 100644 --- a/model_console_port_type_label.go +++ b/model_console_port_type_label.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 f9f68676d..34714669d 100644 --- a/model_console_port_type_value.go +++ b/model_console_port_type_value.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 958e45db0..7993e65dc 100644 --- a/model_console_server_port.go +++ b/model_console_server_port.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,26 +21,27 @@ var _ MappedNullable = &ConsoleServerPort{} // ConsoleServerPort Adds support for custom fields and tags. type ConsoleServerPort struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - Device Device `json:"device"` - Module NullableModule `json:"module,omitempty"` - Name string `json:"name"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Device BriefDevice `json:"device"` + Module NullableBriefModule `json:"module,omitempty"` + Name string `json:"name"` // Physical label Label *string `json:"label,omitempty"` Type *ConsolePortType `json:"type,omitempty"` Speed NullableConsolePortSpeed `json:"speed,omitempty"` Description *string `json:"description,omitempty"` // Treat as if a cable is connected - MarkConnected *bool `json:"mark_connected,omitempty"` - Cable NullableCable `json:"cable"` - CableEnd string `json:"cable_end"` - LinkPeers []interface{} `json:"link_peers"` + MarkConnected *bool `json:"mark_connected,omitempty"` + Cable NullableBriefCable `json:"cable"` + CableEnd string `json:"cable_end"` + LinkPeers []interface{} `json:"link_peers"` // Return the type of the peer link terminations, or None. - LinkPeersType string `json:"link_peers_type"` + LinkPeersType NullableString `json:"link_peers_type"` ConnectedEndpoints []interface{} `json:"connected_endpoints"` - ConnectedEndpointsType string `json:"connected_endpoints_type"` + ConnectedEndpointsType NullableString `json:"connected_endpoints_type"` ConnectedEndpointsReachable bool `json:"connected_endpoints_reachable"` Tags []NestedTag `json:"tags,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` @@ -56,7 +57,7 @@ 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 int32, url string, display string, device Device, name string, cable NullableCable, cableEnd string, linkPeers []interface{}, linkPeersType string, connectedEndpoints []interface{}, connectedEndpointsType string, connectedEndpointsReachable bool, created NullableTime, lastUpdated NullableTime, occupied bool) *ConsoleServerPort { +func NewConsoleServerPort(id int32, url string, display string, device BriefDevice, name string, cable NullableBriefCable, cableEnd string, linkPeers []interface{}, linkPeersType NullableString, connectedEndpoints []interface{}, connectedEndpointsType NullableString, connectedEndpointsReachable bool, created NullableTime, lastUpdated NullableTime, occupied bool) *ConsoleServerPort { this := ConsoleServerPort{} this.Id = id this.Url = url @@ -132,6 +133,38 @@ func (o *ConsoleServerPort) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *ConsoleServerPort) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConsoleServerPort) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *ConsoleServerPort) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *ConsoleServerPort) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *ConsoleServerPort) GetDisplay() string { if o == nil { @@ -157,9 +190,9 @@ func (o *ConsoleServerPort) SetDisplay(v string) { } // GetDevice returns the Device field value -func (o *ConsoleServerPort) GetDevice() Device { +func (o *ConsoleServerPort) GetDevice() BriefDevice { if o == nil { - var ret Device + var ret BriefDevice return ret } @@ -168,7 +201,7 @@ func (o *ConsoleServerPort) GetDevice() Device { // GetDeviceOk returns a tuple with the Device field value // and a boolean to check if the value has been set. -func (o *ConsoleServerPort) GetDeviceOk() (*Device, bool) { +func (o *ConsoleServerPort) GetDeviceOk() (*BriefDevice, bool) { if o == nil { return nil, false } @@ -176,14 +209,14 @@ func (o *ConsoleServerPort) GetDeviceOk() (*Device, bool) { } // SetDevice sets field value -func (o *ConsoleServerPort) SetDevice(v Device) { +func (o *ConsoleServerPort) SetDevice(v BriefDevice) { o.Device = v } // GetModule returns the Module field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *ConsoleServerPort) GetModule() Module { +func (o *ConsoleServerPort) GetModule() BriefModule { if o == nil || IsNil(o.Module.Get()) { - var ret Module + var ret BriefModule return ret } return *o.Module.Get() @@ -192,7 +225,7 @@ func (o *ConsoleServerPort) GetModule() Module { // GetModuleOk returns a tuple with the Module 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 *ConsoleServerPort) GetModuleOk() (*Module, bool) { +func (o *ConsoleServerPort) GetModuleOk() (*BriefModule, bool) { if o == nil { return nil, false } @@ -208,8 +241,8 @@ func (o *ConsoleServerPort) HasModule() bool { return false } -// SetModule gets a reference to the given NullableModule and assigns it to the Module field. -func (o *ConsoleServerPort) SetModule(v Module) { +// SetModule gets a reference to the given NullableBriefModule and assigns it to the Module field. +func (o *ConsoleServerPort) SetModule(v BriefModule) { o.Module.Set(&v) } @@ -419,10 +452,10 @@ func (o *ConsoleServerPort) SetMarkConnected(v bool) { } // GetCable returns the Cable field value -// If the value is explicit nil, the zero value for Cable will be returned -func (o *ConsoleServerPort) GetCable() Cable { +// If the value is explicit nil, the zero value for BriefCable will be returned +func (o *ConsoleServerPort) GetCable() BriefCable { if o == nil || o.Cable.Get() == nil { - var ret Cable + var ret BriefCable return ret } @@ -432,7 +465,7 @@ func (o *ConsoleServerPort) GetCable() Cable { // GetCableOk returns a tuple with the Cable 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 *ConsoleServerPort) GetCableOk() (*Cable, bool) { +func (o *ConsoleServerPort) GetCableOk() (*BriefCable, bool) { if o == nil { return nil, false } @@ -440,7 +473,7 @@ func (o *ConsoleServerPort) GetCableOk() (*Cable, bool) { } // SetCable sets field value -func (o *ConsoleServerPort) SetCable(v Cable) { +func (o *ConsoleServerPort) SetCable(v BriefCable) { o.Cable.Set(&v) } @@ -493,30 +526,33 @@ func (o *ConsoleServerPort) SetLinkPeers(v []interface{}) { } // GetLinkPeersType returns the LinkPeersType field value +// If the value is explicit nil, the zero value for string will be returned func (o *ConsoleServerPort) GetLinkPeersType() string { - if o == nil { + if o == nil || o.LinkPeersType.Get() == nil { var ret string return ret } - return o.LinkPeersType + return *o.LinkPeersType.Get() } // GetLinkPeersTypeOk returns a tuple with the LinkPeersType 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 *ConsoleServerPort) GetLinkPeersTypeOk() (*string, bool) { if o == nil { return nil, false } - return &o.LinkPeersType, true + return o.LinkPeersType.Get(), o.LinkPeersType.IsSet() } // SetLinkPeersType sets field value func (o *ConsoleServerPort) SetLinkPeersType(v string) { - o.LinkPeersType = v + o.LinkPeersType.Set(&v) } // GetConnectedEndpoints returns the ConnectedEndpoints field value +// If the value is explicit nil, the zero value for []interface{} will be returned func (o *ConsoleServerPort) GetConnectedEndpoints() []interface{} { if o == nil { var ret []interface{} @@ -528,8 +564,9 @@ func (o *ConsoleServerPort) GetConnectedEndpoints() []interface{} { // GetConnectedEndpointsOk returns a tuple with the ConnectedEndpoints 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 *ConsoleServerPort) GetConnectedEndpointsOk() ([]interface{}, bool) { - if o == nil { + if o == nil || IsNil(o.ConnectedEndpoints) { return nil, false } return o.ConnectedEndpoints, true @@ -541,27 +578,29 @@ func (o *ConsoleServerPort) SetConnectedEndpoints(v []interface{}) { } // GetConnectedEndpointsType returns the ConnectedEndpointsType field value +// If the value is explicit nil, the zero value for string will be returned func (o *ConsoleServerPort) GetConnectedEndpointsType() string { - if o == nil { + if o == nil || o.ConnectedEndpointsType.Get() == nil { var ret string return ret } - return o.ConnectedEndpointsType + return *o.ConnectedEndpointsType.Get() } // GetConnectedEndpointsTypeOk returns a tuple with the ConnectedEndpointsType 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 *ConsoleServerPort) GetConnectedEndpointsTypeOk() (*string, bool) { if o == nil { return nil, false } - return &o.ConnectedEndpointsType, true + return o.ConnectedEndpointsType.Get(), o.ConnectedEndpointsType.IsSet() } // SetConnectedEndpointsType sets field value func (o *ConsoleServerPort) SetConnectedEndpointsType(v string) { - o.ConnectedEndpointsType = v + o.ConnectedEndpointsType.Set(&v) } // GetConnectedEndpointsReachable returns the ConnectedEndpointsReachable field value @@ -740,6 +779,9 @@ func (o ConsoleServerPort) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["device"] = o.Device if o.Module.IsSet() { @@ -764,9 +806,11 @@ func (o ConsoleServerPort) ToMap() (map[string]interface{}, error) { toSerialize["cable"] = o.Cable.Get() toSerialize["cable_end"] = o.CableEnd toSerialize["link_peers"] = o.LinkPeers - toSerialize["link_peers_type"] = o.LinkPeersType - toSerialize["connected_endpoints"] = o.ConnectedEndpoints - toSerialize["connected_endpoints_type"] = o.ConnectedEndpointsType + toSerialize["link_peers_type"] = o.LinkPeersType.Get() + if o.ConnectedEndpoints != nil { + toSerialize["connected_endpoints"] = o.ConnectedEndpoints + } + toSerialize["connected_endpoints_type"] = o.ConnectedEndpointsType.Get() toSerialize["connected_endpoints_reachable"] = o.ConnectedEndpointsReachable if !IsNil(o.Tags) { toSerialize["tags"] = o.Tags @@ -836,6 +880,7 @@ func (o *ConsoleServerPort) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "device") delete(additionalProperties, "module") diff --git a/model_console_server_port_request.go b/model_console_server_port_request.go index a51f7782a..45fc5829d 100644 --- a/model_console_server_port_request.go +++ b/model_console_server_port_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,9 +20,9 @@ var _ MappedNullable = &ConsoleServerPortRequest{} // ConsoleServerPortRequest Adds support for custom fields and tags. type ConsoleServerPortRequest struct { - Device DeviceRequest `json:"device"` - Module NullableModuleRequest `json:"module,omitempty"` - Name string `json:"name"` + Device BriefDeviceRequest `json:"device"` + Module NullableBriefModuleRequest `json:"module,omitempty"` + Name string `json:"name"` // Physical label Label *string `json:"label,omitempty"` Type *ConsolePortTypeValue `json:"type,omitempty"` @@ -41,7 +41,7 @@ type _ConsoleServerPortRequest ConsoleServerPortRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewConsoleServerPortRequest(device DeviceRequest, name string) *ConsoleServerPortRequest { +func NewConsoleServerPortRequest(device BriefDeviceRequest, name string) *ConsoleServerPortRequest { this := ConsoleServerPortRequest{} this.Device = device this.Name = name @@ -57,9 +57,9 @@ func NewConsoleServerPortRequestWithDefaults() *ConsoleServerPortRequest { } // GetDevice returns the Device field value -func (o *ConsoleServerPortRequest) GetDevice() DeviceRequest { +func (o *ConsoleServerPortRequest) GetDevice() BriefDeviceRequest { if o == nil { - var ret DeviceRequest + var ret BriefDeviceRequest return ret } @@ -68,7 +68,7 @@ func (o *ConsoleServerPortRequest) GetDevice() DeviceRequest { // GetDeviceOk returns a tuple with the Device field value // and a boolean to check if the value has been set. -func (o *ConsoleServerPortRequest) GetDeviceOk() (*DeviceRequest, bool) { +func (o *ConsoleServerPortRequest) GetDeviceOk() (*BriefDeviceRequest, bool) { if o == nil { return nil, false } @@ -76,14 +76,14 @@ func (o *ConsoleServerPortRequest) GetDeviceOk() (*DeviceRequest, bool) { } // SetDevice sets field value -func (o *ConsoleServerPortRequest) SetDevice(v DeviceRequest) { +func (o *ConsoleServerPortRequest) SetDevice(v BriefDeviceRequest) { o.Device = v } // GetModule returns the Module field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *ConsoleServerPortRequest) GetModule() ModuleRequest { +func (o *ConsoleServerPortRequest) GetModule() BriefModuleRequest { if o == nil || IsNil(o.Module.Get()) { - var ret ModuleRequest + var ret BriefModuleRequest return ret } return *o.Module.Get() @@ -92,7 +92,7 @@ func (o *ConsoleServerPortRequest) GetModule() ModuleRequest { // GetModuleOk returns a tuple with the Module 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 *ConsoleServerPortRequest) GetModuleOk() (*ModuleRequest, bool) { +func (o *ConsoleServerPortRequest) GetModuleOk() (*BriefModuleRequest, bool) { if o == nil { return nil, false } @@ -108,8 +108,8 @@ func (o *ConsoleServerPortRequest) HasModule() bool { return false } -// SetModule gets a reference to the given NullableModuleRequest and assigns it to the Module field. -func (o *ConsoleServerPortRequest) SetModule(v ModuleRequest) { +// SetModule gets a reference to the given NullableBriefModuleRequest and assigns it to the Module field. +func (o *ConsoleServerPortRequest) SetModule(v BriefModuleRequest) { o.Module.Set(&v) } diff --git a/model_console_server_port_template.go b/model_console_server_port_template.go index 1ab6eee1c..41273893d 100644 --- a/model_console_server_port_template.go +++ b/model_console_server_port_template.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,11 +21,11 @@ var _ MappedNullable = &ConsoleServerPortTemplate{} // ConsoleServerPortTemplate Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 ConsoleServerPortTemplate struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - DeviceType NullableDeviceType `json:"device_type,omitempty"` - ModuleType NullableModuleType `json:"module_type,omitempty"` + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + DeviceType NullableBriefDeviceType `json:"device_type,omitempty"` + ModuleType NullableBriefModuleType `json:"module_type,omitempty"` // {module} is accepted as a substitution for the module bay position when attached to a module type. Name string `json:"name"` // Physical label @@ -135,9 +135,9 @@ func (o *ConsoleServerPortTemplate) SetDisplay(v string) { } // GetDeviceType returns the DeviceType field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *ConsoleServerPortTemplate) GetDeviceType() DeviceType { +func (o *ConsoleServerPortTemplate) GetDeviceType() BriefDeviceType { if o == nil || IsNil(o.DeviceType.Get()) { - var ret DeviceType + var ret BriefDeviceType return ret } return *o.DeviceType.Get() @@ -146,7 +146,7 @@ func (o *ConsoleServerPortTemplate) GetDeviceType() DeviceType { // GetDeviceTypeOk returns a tuple with the DeviceType 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 *ConsoleServerPortTemplate) GetDeviceTypeOk() (*DeviceType, bool) { +func (o *ConsoleServerPortTemplate) GetDeviceTypeOk() (*BriefDeviceType, bool) { if o == nil { return nil, false } @@ -162,8 +162,8 @@ func (o *ConsoleServerPortTemplate) HasDeviceType() bool { return false } -// SetDeviceType gets a reference to the given NullableDeviceType and assigns it to the DeviceType field. -func (o *ConsoleServerPortTemplate) SetDeviceType(v DeviceType) { +// SetDeviceType gets a reference to the given NullableBriefDeviceType and assigns it to the DeviceType field. +func (o *ConsoleServerPortTemplate) SetDeviceType(v BriefDeviceType) { o.DeviceType.Set(&v) } @@ -178,9 +178,9 @@ func (o *ConsoleServerPortTemplate) UnsetDeviceType() { } // GetModuleType returns the ModuleType field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *ConsoleServerPortTemplate) GetModuleType() ModuleType { +func (o *ConsoleServerPortTemplate) GetModuleType() BriefModuleType { if o == nil || IsNil(o.ModuleType.Get()) { - var ret ModuleType + var ret BriefModuleType return ret } return *o.ModuleType.Get() @@ -189,7 +189,7 @@ func (o *ConsoleServerPortTemplate) GetModuleType() ModuleType { // GetModuleTypeOk returns a tuple with the ModuleType 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 *ConsoleServerPortTemplate) GetModuleTypeOk() (*ModuleType, bool) { +func (o *ConsoleServerPortTemplate) GetModuleTypeOk() (*BriefModuleType, bool) { if o == nil { return nil, false } @@ -205,8 +205,8 @@ func (o *ConsoleServerPortTemplate) HasModuleType() bool { return false } -// SetModuleType gets a reference to the given NullableModuleType and assigns it to the ModuleType field. -func (o *ConsoleServerPortTemplate) SetModuleType(v ModuleType) { +// SetModuleType gets a reference to the given NullableBriefModuleType and assigns it to the ModuleType field. +func (o *ConsoleServerPortTemplate) SetModuleType(v BriefModuleType) { o.ModuleType.Set(&v) } diff --git a/model_console_server_port_template_request.go b/model_console_server_port_template_request.go index bcbbf7a82..6685ec03c 100644 --- a/model_console_server_port_template_request.go +++ b/model_console_server_port_template_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,8 +20,8 @@ var _ MappedNullable = &ConsoleServerPortTemplateRequest{} // ConsoleServerPortTemplateRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 ConsoleServerPortTemplateRequest struct { - DeviceType NullableDeviceTypeRequest `json:"device_type,omitempty"` - ModuleType NullableModuleTypeRequest `json:"module_type,omitempty"` + DeviceType NullableBriefDeviceTypeRequest `json:"device_type,omitempty"` + ModuleType NullableBriefModuleTypeRequest `json:"module_type,omitempty"` // {module} is accepted as a substitution for the module bay position when attached to a module type. Name string `json:"name"` // Physical label @@ -52,9 +52,9 @@ func NewConsoleServerPortTemplateRequestWithDefaults() *ConsoleServerPortTemplat } // GetDeviceType returns the DeviceType field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *ConsoleServerPortTemplateRequest) GetDeviceType() DeviceTypeRequest { +func (o *ConsoleServerPortTemplateRequest) GetDeviceType() BriefDeviceTypeRequest { if o == nil || IsNil(o.DeviceType.Get()) { - var ret DeviceTypeRequest + var ret BriefDeviceTypeRequest return ret } return *o.DeviceType.Get() @@ -63,7 +63,7 @@ func (o *ConsoleServerPortTemplateRequest) GetDeviceType() DeviceTypeRequest { // GetDeviceTypeOk returns a tuple with the DeviceType 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 *ConsoleServerPortTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool) { +func (o *ConsoleServerPortTemplateRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool) { if o == nil { return nil, false } @@ -79,8 +79,8 @@ func (o *ConsoleServerPortTemplateRequest) HasDeviceType() bool { return false } -// SetDeviceType gets a reference to the given NullableDeviceTypeRequest and assigns it to the DeviceType field. -func (o *ConsoleServerPortTemplateRequest) SetDeviceType(v DeviceTypeRequest) { +// SetDeviceType gets a reference to the given NullableBriefDeviceTypeRequest and assigns it to the DeviceType field. +func (o *ConsoleServerPortTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest) { o.DeviceType.Set(&v) } @@ -95,9 +95,9 @@ func (o *ConsoleServerPortTemplateRequest) UnsetDeviceType() { } // GetModuleType returns the ModuleType field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *ConsoleServerPortTemplateRequest) GetModuleType() ModuleTypeRequest { +func (o *ConsoleServerPortTemplateRequest) GetModuleType() BriefModuleTypeRequest { if o == nil || IsNil(o.ModuleType.Get()) { - var ret ModuleTypeRequest + var ret BriefModuleTypeRequest return ret } return *o.ModuleType.Get() @@ -106,7 +106,7 @@ func (o *ConsoleServerPortTemplateRequest) GetModuleType() ModuleTypeRequest { // GetModuleTypeOk returns a tuple with the ModuleType 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 *ConsoleServerPortTemplateRequest) GetModuleTypeOk() (*ModuleTypeRequest, bool) { +func (o *ConsoleServerPortTemplateRequest) GetModuleTypeOk() (*BriefModuleTypeRequest, bool) { if o == nil { return nil, false } @@ -122,8 +122,8 @@ func (o *ConsoleServerPortTemplateRequest) HasModuleType() bool { return false } -// SetModuleType gets a reference to the given NullableModuleTypeRequest and assigns it to the ModuleType field. -func (o *ConsoleServerPortTemplateRequest) SetModuleType(v ModuleTypeRequest) { +// SetModuleType gets a reference to the given NullableBriefModuleTypeRequest and assigns it to the ModuleType field. +func (o *ConsoleServerPortTemplateRequest) SetModuleType(v BriefModuleTypeRequest) { o.ModuleType.Set(&v) } diff --git a/model_contact.go b/model_contact.go index 74e7412d7..009a542b4 100644 --- a/model_contact.go +++ b/model_contact.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -13,6 +13,7 @@ package netbox import ( "encoding/json" "fmt" + "time" ) // checks if the Contact type satisfies the MappedNullable interface at compile time @@ -20,11 +21,23 @@ var _ MappedNullable = &Contact{} // Contact Adds support for custom fields and tags. type Contact struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - Name string `json:"name"` - Description *string `json:"description,omitempty"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Group NullableBriefContactGroup `json:"group,omitempty"` + Name string `json:"name"` + Title *string `json:"title,omitempty"` + Phone *string `json:"phone,omitempty"` + Email *string `json:"email,omitempty"` + Address *string `json:"address,omitempty"` + Link *string `json:"link,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTag `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Created NullableTime `json:"created"` + LastUpdated NullableTime `json:"last_updated"` AdditionalProperties map[string]interface{} } @@ -34,12 +47,14 @@ 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 int32, url string, display string, name string) *Contact { +func NewContact(id int32, url string, display string, name string, created NullableTime, lastUpdated NullableTime) *Contact { this := Contact{} this.Id = id this.Url = url this.Display = display this.Name = name + this.Created = created + this.LastUpdated = lastUpdated return &this } @@ -99,6 +114,38 @@ func (o *Contact) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *Contact) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Contact) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *Contact) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *Contact) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *Contact) GetDisplay() string { if o == nil { @@ -123,6 +170,49 @@ func (o *Contact) SetDisplay(v string) { o.Display = v } +// GetGroup returns the Group field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Contact) GetGroup() BriefContactGroup { + if o == nil || IsNil(o.Group.Get()) { + var ret BriefContactGroup + return ret + } + return *o.Group.Get() +} + +// GetGroupOk returns a tuple with the Group 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 *Contact) GetGroupOk() (*BriefContactGroup, bool) { + if o == nil { + return nil, false + } + return o.Group.Get(), o.Group.IsSet() +} + +// HasGroup returns a boolean if a field has been set. +func (o *Contact) HasGroup() bool { + if o != nil && o.Group.IsSet() { + return true + } + + return false +} + +// SetGroup gets a reference to the given NullableBriefContactGroup and assigns it to the Group field. +func (o *Contact) SetGroup(v BriefContactGroup) { + o.Group.Set(&v) +} + +// SetGroupNil sets the value for Group to be an explicit nil +func (o *Contact) SetGroupNil() { + o.Group.Set(nil) +} + +// UnsetGroup ensures that no value is present for Group, not even an explicit nil +func (o *Contact) UnsetGroup() { + o.Group.Unset() +} + // GetName returns the Name field value func (o *Contact) GetName() string { if o == nil { @@ -147,6 +237,166 @@ func (o *Contact) SetName(v string) { o.Name = v } +// GetTitle returns the Title field value if set, zero value otherwise. +func (o *Contact) GetTitle() string { + if o == nil || IsNil(o.Title) { + var ret string + return ret + } + return *o.Title +} + +// GetTitleOk returns a tuple with the Title field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Contact) GetTitleOk() (*string, bool) { + if o == nil || IsNil(o.Title) { + return nil, false + } + return o.Title, true +} + +// HasTitle returns a boolean if a field has been set. +func (o *Contact) HasTitle() bool { + if o != nil && !IsNil(o.Title) { + return true + } + + return false +} + +// SetTitle gets a reference to the given string and assigns it to the Title field. +func (o *Contact) SetTitle(v string) { + o.Title = &v +} + +// GetPhone returns the Phone field value if set, zero value otherwise. +func (o *Contact) GetPhone() string { + if o == nil || IsNil(o.Phone) { + var ret string + return ret + } + return *o.Phone +} + +// GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Contact) GetPhoneOk() (*string, bool) { + if o == nil || IsNil(o.Phone) { + return nil, false + } + return o.Phone, true +} + +// HasPhone returns a boolean if a field has been set. +func (o *Contact) HasPhone() bool { + if o != nil && !IsNil(o.Phone) { + return true + } + + return false +} + +// SetPhone gets a reference to the given string and assigns it to the Phone field. +func (o *Contact) SetPhone(v string) { + o.Phone = &v +} + +// GetEmail returns the Email field value if set, zero value otherwise. +func (o *Contact) GetEmail() string { + if o == nil || IsNil(o.Email) { + var ret string + return ret + } + return *o.Email +} + +// GetEmailOk returns a tuple with the Email field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Contact) GetEmailOk() (*string, bool) { + if o == nil || IsNil(o.Email) { + return nil, false + } + return o.Email, true +} + +// HasEmail returns a boolean if a field has been set. +func (o *Contact) HasEmail() bool { + if o != nil && !IsNil(o.Email) { + return true + } + + return false +} + +// SetEmail gets a reference to the given string and assigns it to the Email field. +func (o *Contact) SetEmail(v string) { + o.Email = &v +} + +// GetAddress returns the Address field value if set, zero value otherwise. +func (o *Contact) GetAddress() string { + if o == nil || IsNil(o.Address) { + var ret string + return ret + } + return *o.Address +} + +// GetAddressOk returns a tuple with the Address field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Contact) GetAddressOk() (*string, bool) { + if o == nil || IsNil(o.Address) { + return nil, false + } + return o.Address, true +} + +// HasAddress returns a boolean if a field has been set. +func (o *Contact) HasAddress() bool { + if o != nil && !IsNil(o.Address) { + return true + } + + return false +} + +// SetAddress gets a reference to the given string and assigns it to the Address field. +func (o *Contact) SetAddress(v string) { + o.Address = &v +} + +// GetLink returns the Link field value if set, zero value otherwise. +func (o *Contact) GetLink() string { + if o == nil || IsNil(o.Link) { + var ret string + return ret + } + return *o.Link +} + +// GetLinkOk returns a tuple with the Link field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Contact) GetLinkOk() (*string, bool) { + if o == nil || IsNil(o.Link) { + return nil, false + } + return o.Link, true +} + +// HasLink returns a boolean if a field has been set. +func (o *Contact) HasLink() bool { + if o != nil && !IsNil(o.Link) { + return true + } + + return false +} + +// SetLink gets a reference to the given string and assigns it to the Link field. +func (o *Contact) SetLink(v string) { + o.Link = &v +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *Contact) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -179,6 +429,154 @@ func (o *Contact) SetDescription(v string) { o.Description = &v } +// GetComments returns the Comments field value if set, zero value otherwise. +func (o *Contact) GetComments() string { + if o == nil || IsNil(o.Comments) { + var ret string + return ret + } + return *o.Comments +} + +// GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Contact) GetCommentsOk() (*string, bool) { + if o == nil || IsNil(o.Comments) { + return nil, false + } + return o.Comments, true +} + +// HasComments returns a boolean if a field has been set. +func (o *Contact) HasComments() bool { + if o != nil && !IsNil(o.Comments) { + return true + } + + return false +} + +// SetComments gets a reference to the given string and assigns it to the Comments field. +func (o *Contact) SetComments(v string) { + o.Comments = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *Contact) GetTags() []NestedTag { + if o == nil || IsNil(o.Tags) { + var ret []NestedTag + 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() ([]NestedTag, 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 []NestedTag and assigns it to the Tags field. +func (o *Contact) SetTags(v []NestedTag) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *Contact) 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 *Contact) 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 *Contact) 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 *Contact) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetCreated returns the Created field value +// If the value is explicit nil, the zero value for time.Time will be returned +func (o *Contact) 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 *Contact) GetCreatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.Created.Get(), o.Created.IsSet() +} + +// SetCreated sets field value +func (o *Contact) 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 *Contact) 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 *Contact) GetLastUpdatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LastUpdated.Get(), o.LastUpdated.IsSet() +} + +// SetLastUpdated sets field value +func (o *Contact) SetLastUpdated(v time.Time) { + o.LastUpdated.Set(&v) +} + func (o Contact) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -191,11 +589,43 @@ func (o Contact) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display + if o.Group.IsSet() { + toSerialize["group"] = o.Group.Get() + } toSerialize["name"] = o.Name + if !IsNil(o.Title) { + toSerialize["title"] = o.Title + } + if !IsNil(o.Phone) { + toSerialize["phone"] = o.Phone + } + if !IsNil(o.Email) { + toSerialize["email"] = o.Email + } + if !IsNil(o.Address) { + toSerialize["address"] = o.Address + } + if !IsNil(o.Link) { + toSerialize["link"] = o.Link + } if !IsNil(o.Description) { toSerialize["description"] = o.Description } + if !IsNil(o.Comments) { + toSerialize["comments"] = o.Comments + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + toSerialize["created"] = o.Created.Get() + toSerialize["last_updated"] = o.LastUpdated.Get() for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -213,6 +643,8 @@ func (o *Contact) UnmarshalJSON(data []byte) (err error) { "url", "display", "name", + "created", + "last_updated", } allProperties := make(map[string]interface{}) @@ -244,9 +676,21 @@ func (o *Contact) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") + delete(additionalProperties, "group") delete(additionalProperties, "name") + delete(additionalProperties, "title") + delete(additionalProperties, "phone") + delete(additionalProperties, "email") + delete(additionalProperties, "address") + delete(additionalProperties, "link") delete(additionalProperties, "description") + delete(additionalProperties, "comments") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "created") + delete(additionalProperties, "last_updated") o.AdditionalProperties = additionalProperties } diff --git a/model_contact_assignment.go b/model_contact_assignment.go index a62312639..b66a6fa9b 100644 --- a/model_contact_assignment.go +++ b/model_contact_assignment.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,19 +21,19 @@ var _ MappedNullable = &ContactAssignment{} // ContactAssignment Adds support for custom fields and tags. type ContactAssignment struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - ObjectType string `json:"object_type"` - ObjectId int64 `json:"object_id"` - Object map[string]interface{} `json:"object"` - Contact Contact `json:"contact"` - Role NullableContactRole `json:"role,omitempty"` - Priority *ContactAssignmentPriority `json:"priority,omitempty"` - Tags []NestedTag `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` - Created NullableTime `json:"created"` - LastUpdated NullableTime `json:"last_updated"` + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + ObjectType string `json:"object_type"` + ObjectId int64 `json:"object_id"` + Object map[string]interface{} `json:"object"` + Contact BriefContact `json:"contact"` + Role NullableBriefContactRole `json:"role,omitempty"` + Priority *BriefCircuitGroupAssignmentSerializerPriority `json:"priority,omitempty"` + Tags []NestedTag `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Created NullableTime `json:"created"` + LastUpdated NullableTime `json:"last_updated"` AdditionalProperties map[string]interface{} } @@ -43,7 +43,7 @@ type _ContactAssignment ContactAssignment // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewContactAssignment(id int32, url string, display string, objectType string, objectId int64, object map[string]interface{}, contact Contact, created NullableTime, lastUpdated NullableTime) *ContactAssignment { +func NewContactAssignment(id int32, url string, display string, objectType string, objectId int64, object map[string]interface{}, contact BriefContact, created NullableTime, lastUpdated NullableTime) *ContactAssignment { this := ContactAssignment{} this.Id = id this.Url = url @@ -210,9 +210,9 @@ func (o *ContactAssignment) SetObject(v map[string]interface{}) { } // GetContact returns the Contact field value -func (o *ContactAssignment) GetContact() Contact { +func (o *ContactAssignment) GetContact() BriefContact { if o == nil { - var ret Contact + var ret BriefContact return ret } @@ -221,7 +221,7 @@ func (o *ContactAssignment) GetContact() Contact { // GetContactOk returns a tuple with the Contact field value // and a boolean to check if the value has been set. -func (o *ContactAssignment) GetContactOk() (*Contact, bool) { +func (o *ContactAssignment) GetContactOk() (*BriefContact, bool) { if o == nil { return nil, false } @@ -229,14 +229,14 @@ func (o *ContactAssignment) GetContactOk() (*Contact, bool) { } // SetContact sets field value -func (o *ContactAssignment) SetContact(v Contact) { +func (o *ContactAssignment) SetContact(v BriefContact) { o.Contact = v } // GetRole returns the Role field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *ContactAssignment) GetRole() ContactRole { +func (o *ContactAssignment) GetRole() BriefContactRole { if o == nil || IsNil(o.Role.Get()) { - var ret ContactRole + var ret BriefContactRole return ret } return *o.Role.Get() @@ -245,7 +245,7 @@ func (o *ContactAssignment) GetRole() ContactRole { // 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 *ContactAssignment) GetRoleOk() (*ContactRole, bool) { +func (o *ContactAssignment) GetRoleOk() (*BriefContactRole, bool) { if o == nil { return nil, false } @@ -261,8 +261,8 @@ func (o *ContactAssignment) HasRole() bool { return false } -// SetRole gets a reference to the given NullableContactRole and assigns it to the Role field. -func (o *ContactAssignment) SetRole(v ContactRole) { +// SetRole gets a reference to the given NullableBriefContactRole and assigns it to the Role field. +func (o *ContactAssignment) SetRole(v BriefContactRole) { o.Role.Set(&v) } @@ -277,9 +277,9 @@ func (o *ContactAssignment) UnsetRole() { } // GetPriority returns the Priority field value if set, zero value otherwise. -func (o *ContactAssignment) GetPriority() ContactAssignmentPriority { +func (o *ContactAssignment) GetPriority() BriefCircuitGroupAssignmentSerializerPriority { if o == nil || IsNil(o.Priority) { - var ret ContactAssignmentPriority + var ret BriefCircuitGroupAssignmentSerializerPriority return ret } return *o.Priority @@ -287,7 +287,7 @@ func (o *ContactAssignment) GetPriority() ContactAssignmentPriority { // GetPriorityOk returns a tuple with the Priority field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ContactAssignment) GetPriorityOk() (*ContactAssignmentPriority, bool) { +func (o *ContactAssignment) GetPriorityOk() (*BriefCircuitGroupAssignmentSerializerPriority, bool) { if o == nil || IsNil(o.Priority) { return nil, false } @@ -303,8 +303,8 @@ func (o *ContactAssignment) HasPriority() bool { return false } -// SetPriority gets a reference to the given ContactAssignmentPriority and assigns it to the Priority field. -func (o *ContactAssignment) SetPriority(v ContactAssignmentPriority) { +// SetPriority gets a reference to the given BriefCircuitGroupAssignmentSerializerPriority and assigns it to the Priority field. +func (o *ContactAssignment) SetPriority(v BriefCircuitGroupAssignmentSerializerPriority) { o.Priority = &v } diff --git a/model_contact_assignment_request.go b/model_contact_assignment_request.go index 8fb3e6e65..edceccf42 100644 --- a/model_contact_assignment_request.go +++ b/model_contact_assignment_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,13 +20,13 @@ var _ MappedNullable = &ContactAssignmentRequest{} // ContactAssignmentRequest Adds support for custom fields and tags. type ContactAssignmentRequest struct { - ObjectType string `json:"object_type"` - ObjectId int64 `json:"object_id"` - Contact ContactRequest `json:"contact"` - Role NullableContactRoleRequest `json:"role,omitempty"` - Priority *ContactAssignmentPriorityValue `json:"priority,omitempty"` - Tags []NestedTagRequest `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + ObjectType string `json:"object_type"` + ObjectId int64 `json:"object_id"` + Contact BriefContactRequest `json:"contact"` + Role NullableBriefContactRoleRequest `json:"role,omitempty"` + Priority *BriefCircuitGroupAssignmentSerializerPriorityValue `json:"priority,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -36,7 +36,7 @@ type _ContactAssignmentRequest ContactAssignmentRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewContactAssignmentRequest(objectType string, objectId int64, contact ContactRequest) *ContactAssignmentRequest { +func NewContactAssignmentRequest(objectType string, objectId int64, contact BriefContactRequest) *ContactAssignmentRequest { this := ContactAssignmentRequest{} this.ObjectType = objectType this.ObjectId = objectId @@ -101,9 +101,9 @@ func (o *ContactAssignmentRequest) SetObjectId(v int64) { } // GetContact returns the Contact field value -func (o *ContactAssignmentRequest) GetContact() ContactRequest { +func (o *ContactAssignmentRequest) GetContact() BriefContactRequest { if o == nil { - var ret ContactRequest + var ret BriefContactRequest return ret } @@ -112,7 +112,7 @@ func (o *ContactAssignmentRequest) GetContact() ContactRequest { // GetContactOk returns a tuple with the Contact field value // and a boolean to check if the value has been set. -func (o *ContactAssignmentRequest) GetContactOk() (*ContactRequest, bool) { +func (o *ContactAssignmentRequest) GetContactOk() (*BriefContactRequest, bool) { if o == nil { return nil, false } @@ -120,14 +120,14 @@ func (o *ContactAssignmentRequest) GetContactOk() (*ContactRequest, bool) { } // SetContact sets field value -func (o *ContactAssignmentRequest) SetContact(v ContactRequest) { +func (o *ContactAssignmentRequest) SetContact(v BriefContactRequest) { o.Contact = v } // GetRole returns the Role field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *ContactAssignmentRequest) GetRole() ContactRoleRequest { +func (o *ContactAssignmentRequest) GetRole() BriefContactRoleRequest { if o == nil || IsNil(o.Role.Get()) { - var ret ContactRoleRequest + var ret BriefContactRoleRequest return ret } return *o.Role.Get() @@ -136,7 +136,7 @@ func (o *ContactAssignmentRequest) GetRole() ContactRoleRequest { // 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 *ContactAssignmentRequest) GetRoleOk() (*ContactRoleRequest, bool) { +func (o *ContactAssignmentRequest) GetRoleOk() (*BriefContactRoleRequest, bool) { if o == nil { return nil, false } @@ -152,8 +152,8 @@ func (o *ContactAssignmentRequest) HasRole() bool { return false } -// SetRole gets a reference to the given NullableContactRoleRequest and assigns it to the Role field. -func (o *ContactAssignmentRequest) SetRole(v ContactRoleRequest) { +// SetRole gets a reference to the given NullableBriefContactRoleRequest and assigns it to the Role field. +func (o *ContactAssignmentRequest) SetRole(v BriefContactRoleRequest) { o.Role.Set(&v) } @@ -168,9 +168,9 @@ func (o *ContactAssignmentRequest) UnsetRole() { } // GetPriority returns the Priority field value if set, zero value otherwise. -func (o *ContactAssignmentRequest) GetPriority() ContactAssignmentPriorityValue { +func (o *ContactAssignmentRequest) GetPriority() BriefCircuitGroupAssignmentSerializerPriorityValue { if o == nil || IsNil(o.Priority) { - var ret ContactAssignmentPriorityValue + var ret BriefCircuitGroupAssignmentSerializerPriorityValue return ret } return *o.Priority @@ -178,7 +178,7 @@ func (o *ContactAssignmentRequest) GetPriority() ContactAssignmentPriorityValue // GetPriorityOk returns a tuple with the Priority field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ContactAssignmentRequest) GetPriorityOk() (*ContactAssignmentPriorityValue, bool) { +func (o *ContactAssignmentRequest) GetPriorityOk() (*BriefCircuitGroupAssignmentSerializerPriorityValue, bool) { if o == nil || IsNil(o.Priority) { return nil, false } @@ -194,8 +194,8 @@ func (o *ContactAssignmentRequest) HasPriority() bool { return false } -// SetPriority gets a reference to the given ContactAssignmentPriorityValue and assigns it to the Priority field. -func (o *ContactAssignmentRequest) SetPriority(v ContactAssignmentPriorityValue) { +// SetPriority gets a reference to the given BriefCircuitGroupAssignmentSerializerPriorityValue and assigns it to the Priority field. +func (o *ContactAssignmentRequest) SetPriority(v BriefCircuitGroupAssignmentSerializerPriorityValue) { o.Priority = &v } diff --git a/model_contact_group.go b/model_contact_group.go index 12c15cf45..87c5f4791 100644 --- a/model_contact_group.go +++ b/model_contact_group.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -23,6 +23,7 @@ var _ MappedNullable = &ContactGroup{} type ContactGroup struct { Id int32 `json:"id"` Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` Display string `json:"display"` Name string `json:"name"` Slug string `json:"slug"` @@ -113,6 +114,38 @@ func (o *ContactGroup) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *ContactGroup) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ContactGroup) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *ContactGroup) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *ContactGroup) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *ContactGroup) GetDisplay() string { if o == nil { @@ -436,6 +469,9 @@ func (o ContactGroup) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["name"] = o.Name toSerialize["slug"] = o.Slug @@ -508,6 +544,7 @@ func (o *ContactGroup) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") delete(additionalProperties, "slug") diff --git a/model_contact_group_request.go b/model_contact_group_request.go index 9aea2147b..075253e96 100644 --- a/model_contact_group_request.go +++ b/model_contact_group_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_contact_request.go b/model_contact_request.go index bb1e2df50..cadc6d275 100644 --- a/model_contact_request.go +++ b/model_contact_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,8 +20,17 @@ var _ MappedNullable = &ContactRequest{} // ContactRequest Adds support for custom fields and tags. type ContactRequest struct { - Name string `json:"name"` - Description *string `json:"description,omitempty"` + Group NullableBriefContactGroupRequest `json:"group,omitempty"` + Name string `json:"name"` + Title *string `json:"title,omitempty"` + Phone *string `json:"phone,omitempty"` + Email *string `json:"email,omitempty"` + Address *string `json:"address,omitempty"` + Link *string `json:"link,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -45,6 +54,49 @@ func NewContactRequestWithDefaults() *ContactRequest { return &this } +// GetGroup returns the Group field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ContactRequest) GetGroup() BriefContactGroupRequest { + if o == nil || IsNil(o.Group.Get()) { + var ret BriefContactGroupRequest + return ret + } + return *o.Group.Get() +} + +// GetGroupOk returns a tuple with the Group 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 *ContactRequest) GetGroupOk() (*BriefContactGroupRequest, bool) { + if o == nil { + return nil, false + } + return o.Group.Get(), o.Group.IsSet() +} + +// HasGroup returns a boolean if a field has been set. +func (o *ContactRequest) HasGroup() bool { + if o != nil && o.Group.IsSet() { + return true + } + + return false +} + +// SetGroup gets a reference to the given NullableBriefContactGroupRequest and assigns it to the Group field. +func (o *ContactRequest) SetGroup(v BriefContactGroupRequest) { + o.Group.Set(&v) +} + +// SetGroupNil sets the value for Group to be an explicit nil +func (o *ContactRequest) SetGroupNil() { + o.Group.Set(nil) +} + +// UnsetGroup ensures that no value is present for Group, not even an explicit nil +func (o *ContactRequest) UnsetGroup() { + o.Group.Unset() +} + // GetName returns the Name field value func (o *ContactRequest) GetName() string { if o == nil { @@ -69,6 +121,166 @@ func (o *ContactRequest) SetName(v string) { o.Name = v } +// GetTitle returns the Title field value if set, zero value otherwise. +func (o *ContactRequest) GetTitle() string { + if o == nil || IsNil(o.Title) { + var ret string + return ret + } + return *o.Title +} + +// GetTitleOk returns a tuple with the Title field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ContactRequest) GetTitleOk() (*string, bool) { + if o == nil || IsNil(o.Title) { + return nil, false + } + return o.Title, true +} + +// HasTitle returns a boolean if a field has been set. +func (o *ContactRequest) HasTitle() bool { + if o != nil && !IsNil(o.Title) { + return true + } + + return false +} + +// SetTitle gets a reference to the given string and assigns it to the Title field. +func (o *ContactRequest) SetTitle(v string) { + o.Title = &v +} + +// GetPhone returns the Phone field value if set, zero value otherwise. +func (o *ContactRequest) GetPhone() string { + if o == nil || IsNil(o.Phone) { + var ret string + return ret + } + return *o.Phone +} + +// GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ContactRequest) GetPhoneOk() (*string, bool) { + if o == nil || IsNil(o.Phone) { + return nil, false + } + return o.Phone, true +} + +// HasPhone returns a boolean if a field has been set. +func (o *ContactRequest) HasPhone() bool { + if o != nil && !IsNil(o.Phone) { + return true + } + + return false +} + +// SetPhone gets a reference to the given string and assigns it to the Phone field. +func (o *ContactRequest) SetPhone(v string) { + o.Phone = &v +} + +// GetEmail returns the Email field value if set, zero value otherwise. +func (o *ContactRequest) GetEmail() string { + if o == nil || IsNil(o.Email) { + var ret string + return ret + } + return *o.Email +} + +// GetEmailOk returns a tuple with the Email field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ContactRequest) GetEmailOk() (*string, bool) { + if o == nil || IsNil(o.Email) { + return nil, false + } + return o.Email, true +} + +// HasEmail returns a boolean if a field has been set. +func (o *ContactRequest) HasEmail() bool { + if o != nil && !IsNil(o.Email) { + return true + } + + return false +} + +// SetEmail gets a reference to the given string and assigns it to the Email field. +func (o *ContactRequest) SetEmail(v string) { + o.Email = &v +} + +// GetAddress returns the Address field value if set, zero value otherwise. +func (o *ContactRequest) GetAddress() string { + if o == nil || IsNil(o.Address) { + var ret string + return ret + } + return *o.Address +} + +// GetAddressOk returns a tuple with the Address field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ContactRequest) GetAddressOk() (*string, bool) { + if o == nil || IsNil(o.Address) { + return nil, false + } + return o.Address, true +} + +// HasAddress returns a boolean if a field has been set. +func (o *ContactRequest) HasAddress() bool { + if o != nil && !IsNil(o.Address) { + return true + } + + return false +} + +// SetAddress gets a reference to the given string and assigns it to the Address field. +func (o *ContactRequest) SetAddress(v string) { + o.Address = &v +} + +// GetLink returns the Link field value if set, zero value otherwise. +func (o *ContactRequest) GetLink() string { + if o == nil || IsNil(o.Link) { + var ret string + return ret + } + return *o.Link +} + +// GetLinkOk returns a tuple with the Link field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ContactRequest) GetLinkOk() (*string, bool) { + if o == nil || IsNil(o.Link) { + return nil, false + } + return o.Link, true +} + +// HasLink returns a boolean if a field has been set. +func (o *ContactRequest) HasLink() bool { + if o != nil && !IsNil(o.Link) { + return true + } + + return false +} + +// SetLink gets a reference to the given string and assigns it to the Link field. +func (o *ContactRequest) SetLink(v string) { + o.Link = &v +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *ContactRequest) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -101,6 +313,102 @@ func (o *ContactRequest) SetDescription(v string) { o.Description = &v } +// GetComments returns the Comments field value if set, zero value otherwise. +func (o *ContactRequest) GetComments() string { + if o == nil || IsNil(o.Comments) { + var ret string + return ret + } + return *o.Comments +} + +// GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ContactRequest) GetCommentsOk() (*string, bool) { + if o == nil || IsNil(o.Comments) { + return nil, false + } + return o.Comments, true +} + +// HasComments returns a boolean if a field has been set. +func (o *ContactRequest) HasComments() bool { + if o != nil && !IsNil(o.Comments) { + return true + } + + return false +} + +// SetComments gets a reference to the given string and assigns it to the Comments field. +func (o *ContactRequest) SetComments(v string) { + o.Comments = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *ContactRequest) GetTags() []NestedTagRequest { + if o == nil || IsNil(o.Tags) { + var ret []NestedTagRequest + 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() ([]NestedTagRequest, 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 []NestedTagRequest and assigns it to the Tags field. +func (o *ContactRequest) SetTags(v []NestedTagRequest) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *ContactRequest) 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 *ContactRequest) 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 *ContactRequest) 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 *ContactRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + func (o ContactRequest) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -111,10 +419,37 @@ func (o ContactRequest) MarshalJSON() ([]byte, error) { func (o ContactRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if o.Group.IsSet() { + toSerialize["group"] = o.Group.Get() + } toSerialize["name"] = o.Name + if !IsNil(o.Title) { + toSerialize["title"] = o.Title + } + if !IsNil(o.Phone) { + toSerialize["phone"] = o.Phone + } + if !IsNil(o.Email) { + toSerialize["email"] = o.Email + } + if !IsNil(o.Address) { + toSerialize["address"] = o.Address + } + if !IsNil(o.Link) { + toSerialize["link"] = o.Link + } if !IsNil(o.Description) { toSerialize["description"] = o.Description } + if !IsNil(o.Comments) { + toSerialize["comments"] = o.Comments + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -158,8 +493,17 @@ func (o *ContactRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "group") delete(additionalProperties, "name") + delete(additionalProperties, "title") + delete(additionalProperties, "phone") + delete(additionalProperties, "email") + delete(additionalProperties, "address") + delete(additionalProperties, "link") delete(additionalProperties, "description") + delete(additionalProperties, "comments") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") o.AdditionalProperties = additionalProperties } diff --git a/model_contact_role.go b/model_contact_role.go index bb4b6f62b..879ae8cc9 100644 --- a/model_contact_role.go +++ b/model_contact_role.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -13,6 +13,7 @@ package netbox import ( "encoding/json" "fmt" + "time" ) // checks if the ContactRole type satisfies the MappedNullable interface at compile time @@ -20,12 +21,17 @@ var _ MappedNullable = &ContactRole{} // ContactRole Adds support for custom fields and tags. type ContactRole struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - Name string `json:"name"` - Slug string `json:"slug"` - Description *string `json:"description,omitempty"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Name string `json:"name"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + Tags []NestedTag `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Created NullableTime `json:"created"` + LastUpdated NullableTime `json:"last_updated"` AdditionalProperties map[string]interface{} } @@ -35,13 +41,15 @@ type _ContactRole ContactRole // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewContactRole(id int32, url string, display string, name string, slug string) *ContactRole { +func NewContactRole(id int32, url string, display string, name string, slug string, created NullableTime, lastUpdated NullableTime) *ContactRole { this := ContactRole{} this.Id = id this.Url = url this.Display = display this.Name = name this.Slug = slug + this.Created = created + this.LastUpdated = lastUpdated return &this } @@ -101,6 +109,38 @@ func (o *ContactRole) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *ContactRole) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ContactRole) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *ContactRole) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *ContactRole) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *ContactRole) GetDisplay() string { if o == nil { @@ -205,6 +245,122 @@ func (o *ContactRole) SetDescription(v string) { o.Description = &v } +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *ContactRole) GetTags() []NestedTag { + if o == nil || IsNil(o.Tags) { + var ret []NestedTag + 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 *ContactRole) GetTagsOk() ([]NestedTag, 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 *ContactRole) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTag and assigns it to the Tags field. +func (o *ContactRole) SetTags(v []NestedTag) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *ContactRole) 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 *ContactRole) 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 *ContactRole) 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 *ContactRole) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetCreated returns the Created field value +// If the value is explicit nil, the zero value for time.Time will be returned +func (o *ContactRole) 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 *ContactRole) GetCreatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.Created.Get(), o.Created.IsSet() +} + +// SetCreated sets field value +func (o *ContactRole) 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 *ContactRole) 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 *ContactRole) GetLastUpdatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LastUpdated.Get(), o.LastUpdated.IsSet() +} + +// SetLastUpdated sets field value +func (o *ContactRole) SetLastUpdated(v time.Time) { + o.LastUpdated.Set(&v) +} + func (o ContactRole) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -217,12 +373,23 @@ func (o ContactRole) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["name"] = o.Name toSerialize["slug"] = o.Slug 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 + } + toSerialize["created"] = o.Created.Get() + toSerialize["last_updated"] = o.LastUpdated.Get() for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -241,6 +408,8 @@ func (o *ContactRole) UnmarshalJSON(data []byte) (err error) { "display", "name", "slug", + "created", + "last_updated", } allProperties := make(map[string]interface{}) @@ -272,10 +441,15 @@ func (o *ContactRole) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") delete(additionalProperties, "slug") delete(additionalProperties, "description") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "created") + delete(additionalProperties, "last_updated") o.AdditionalProperties = additionalProperties } diff --git a/model_contact_role_request.go b/model_contact_role_request.go index c60293780..d094699bc 100644 --- a/model_contact_role_request.go +++ b/model_contact_role_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,9 +20,11 @@ var _ MappedNullable = &ContactRoleRequest{} // ContactRoleRequest Adds support for custom fields and tags. type ContactRoleRequest struct { - Name string `json:"name"` - Slug string `json:"slug"` - Description *string `json:"description,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -127,6 +129,70 @@ func (o *ContactRoleRequest) SetDescription(v string) { o.Description = &v } +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *ContactRoleRequest) GetTags() []NestedTagRequest { + if o == nil || IsNil(o.Tags) { + var ret []NestedTagRequest + 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 *ContactRoleRequest) GetTagsOk() ([]NestedTagRequest, 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 *ContactRoleRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTagRequest and assigns it to the Tags field. +func (o *ContactRoleRequest) SetTags(v []NestedTagRequest) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *ContactRoleRequest) 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 *ContactRoleRequest) 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 *ContactRoleRequest) 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 *ContactRoleRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + func (o ContactRoleRequest) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -142,6 +208,12 @@ func (o ContactRoleRequest) ToMap() (map[string]interface{}, error) { 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 + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -189,6 +261,8 @@ func (o *ContactRoleRequest) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "name") delete(additionalProperties, "slug") delete(additionalProperties, "description") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") o.AdditionalProperties = additionalProperties } diff --git a/model_core_jobs_list_status__ic_parameter_inner.go b/model_core_jobs_list_status__ic_parameter_inner.go new file mode 100644 index 000000000..c1652ce98 --- /dev/null +++ b/model_core_jobs_list_status__ic_parameter_inner.go @@ -0,0 +1,119 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// CoreJobsListStatusIcParameterInner the model 'CoreJobsListStatusIcParameterInner' +type CoreJobsListStatusIcParameterInner string + +// List of core_jobs_list_status__ic_parameter_inner +const ( + COREJOBSLISTSTATUSICPARAMETERINNER_COMPLETED CoreJobsListStatusIcParameterInner = "completed" + COREJOBSLISTSTATUSICPARAMETERINNER_ERRORED CoreJobsListStatusIcParameterInner = "errored" + COREJOBSLISTSTATUSICPARAMETERINNER_FAILED CoreJobsListStatusIcParameterInner = "failed" + COREJOBSLISTSTATUSICPARAMETERINNER_PENDING CoreJobsListStatusIcParameterInner = "pending" + COREJOBSLISTSTATUSICPARAMETERINNER_RUNNING CoreJobsListStatusIcParameterInner = "running" + COREJOBSLISTSTATUSICPARAMETERINNER_SCHEDULED CoreJobsListStatusIcParameterInner = "scheduled" +) + +// All allowed values of CoreJobsListStatusIcParameterInner enum +var AllowedCoreJobsListStatusIcParameterInnerEnumValues = []CoreJobsListStatusIcParameterInner{ + "completed", + "errored", + "failed", + "pending", + "running", + "scheduled", +} + +func (v *CoreJobsListStatusIcParameterInner) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := CoreJobsListStatusIcParameterInner(value) + for _, existing := range AllowedCoreJobsListStatusIcParameterInnerEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid CoreJobsListStatusIcParameterInner", value) +} + +// NewCoreJobsListStatusIcParameterInnerFromValue returns a pointer to a valid CoreJobsListStatusIcParameterInner +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewCoreJobsListStatusIcParameterInnerFromValue(v string) (*CoreJobsListStatusIcParameterInner, error) { + ev := CoreJobsListStatusIcParameterInner(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for CoreJobsListStatusIcParameterInner: valid values are %v", v, AllowedCoreJobsListStatusIcParameterInnerEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v CoreJobsListStatusIcParameterInner) IsValid() bool { + for _, existing := range AllowedCoreJobsListStatusIcParameterInnerEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to core_jobs_list_status__ic_parameter_inner value +func (v CoreJobsListStatusIcParameterInner) Ptr() *CoreJobsListStatusIcParameterInner { + return &v +} + +type NullableCoreJobsListStatusIcParameterInner struct { + value *CoreJobsListStatusIcParameterInner + isSet bool +} + +func (v NullableCoreJobsListStatusIcParameterInner) Get() *CoreJobsListStatusIcParameterInner { + return v.value +} + +func (v *NullableCoreJobsListStatusIcParameterInner) Set(val *CoreJobsListStatusIcParameterInner) { + v.value = val + v.isSet = true +} + +func (v NullableCoreJobsListStatusIcParameterInner) IsSet() bool { + return v.isSet +} + +func (v *NullableCoreJobsListStatusIcParameterInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCoreJobsListStatusIcParameterInner(val *CoreJobsListStatusIcParameterInner) *NullableCoreJobsListStatusIcParameterInner { + return &NullableCoreJobsListStatusIcParameterInner{value: val, isSet: true} +} + +func (v NullableCoreJobsListStatusIcParameterInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCoreJobsListStatusIcParameterInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_core_object_changes_list_action_parameter.go b/model_core_object_changes_list_action_parameter.go new file mode 100644 index 000000000..813caf4c1 --- /dev/null +++ b/model_core_object_changes_list_action_parameter.go @@ -0,0 +1,112 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// CoreObjectChangesListActionParameter the model 'CoreObjectChangesListActionParameter' +type CoreObjectChangesListActionParameter string + +// List of core_object_changes_list_action_parameter +const ( + COREOBJECTCHANGESLISTACTIONPARAMETER_CREATE CoreObjectChangesListActionParameter = "create" + COREOBJECTCHANGESLISTACTIONPARAMETER_DELETE CoreObjectChangesListActionParameter = "delete" + COREOBJECTCHANGESLISTACTIONPARAMETER_UPDATE CoreObjectChangesListActionParameter = "update" +) + +// All allowed values of CoreObjectChangesListActionParameter enum +var AllowedCoreObjectChangesListActionParameterEnumValues = []CoreObjectChangesListActionParameter{ + "create", + "delete", + "update", +} + +func (v *CoreObjectChangesListActionParameter) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := CoreObjectChangesListActionParameter(value) + for _, existing := range AllowedCoreObjectChangesListActionParameterEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid CoreObjectChangesListActionParameter", value) +} + +// NewCoreObjectChangesListActionParameterFromValue returns a pointer to a valid CoreObjectChangesListActionParameter +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewCoreObjectChangesListActionParameterFromValue(v string) (*CoreObjectChangesListActionParameter, error) { + ev := CoreObjectChangesListActionParameter(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for CoreObjectChangesListActionParameter: valid values are %v", v, AllowedCoreObjectChangesListActionParameterEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v CoreObjectChangesListActionParameter) IsValid() bool { + for _, existing := range AllowedCoreObjectChangesListActionParameterEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to core_object_changes_list_action_parameter value +func (v CoreObjectChangesListActionParameter) Ptr() *CoreObjectChangesListActionParameter { + return &v +} + +type NullableCoreObjectChangesListActionParameter struct { + value *CoreObjectChangesListActionParameter + isSet bool +} + +func (v NullableCoreObjectChangesListActionParameter) Get() *CoreObjectChangesListActionParameter { + return v.value +} + +func (v *NullableCoreObjectChangesListActionParameter) Set(val *CoreObjectChangesListActionParameter) { + v.value = val + v.isSet = true +} + +func (v NullableCoreObjectChangesListActionParameter) IsSet() bool { + return v.isSet +} + +func (v *NullableCoreObjectChangesListActionParameter) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCoreObjectChangesListActionParameter(val *CoreObjectChangesListActionParameter) *NullableCoreObjectChangesListActionParameter { + return &NullableCoreObjectChangesListActionParameter{value: val, isSet: true} +} + +func (v NullableCoreObjectChangesListActionParameter) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCoreObjectChangesListActionParameter) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_custom_field.go b/model_custom_field.go index aea0cf477..76af4976b 100644 --- a/model_custom_field.go +++ b/model_custom_field.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -23,6 +23,7 @@ var _ MappedNullable = &CustomField{} type CustomField struct { Id int32 `json:"id"` Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` Display string `json:"display"` ObjectTypes []string `json:"object_types"` Type CustomFieldType `json:"type"` @@ -35,8 +36,10 @@ type CustomField struct { // Custom fields within the same group will be displayed together GroupName *string `json:"group_name,omitempty"` Description *string `json:"description,omitempty"` - // If true, this field is required when creating new objects or editing an existing object. + // This field is required when creating new objects or editing an existing object. Required *bool `json:"required,omitempty"` + // The value of this field must be unique for the assigned object + Unique *bool `json:"unique,omitempty"` // Weighting for search. Lower values are considered more important. Fields with a search weight of zero will be ignored. SearchWeight *int32 `json:"search_weight,omitempty"` FilterLogic *CustomFieldFilterLogic `json:"filter_logic,omitempty"` @@ -46,6 +49,8 @@ type CustomField struct { IsCloneable *bool `json:"is_cloneable,omitempty"` // Default value for the field (must be a JSON value). Encapsulate strings with double quotes (e.g. \"Foo\"). Default interface{} `json:"default,omitempty"` + // Filter the object selection choices using a query_params dict (must be a JSON value).Encapsulate strings with double quotes (e.g. \"Foo\"). + RelatedObjectFilter interface{} `json:"related_object_filter,omitempty"` // Fields with higher weights appear lower in a form. Weight *int32 `json:"weight,omitempty"` // Minimum allowed value (for numeric fields) @@ -53,11 +58,11 @@ type CustomField struct { // Maximum allowed value (for numeric fields) ValidationMaximum NullableInt64 `json:"validation_maximum,omitempty"` // Regular expression to enforce on text field values. Use ^ and $ to force matching of entire string. For example, ^[A-Z]{3}$ will limit values to exactly three uppercase letters. - ValidationRegex *string `json:"validation_regex,omitempty"` - ChoiceSet NullableCustomFieldChoiceSet `json:"choice_set,omitempty"` - Comments *string `json:"comments,omitempty"` - Created NullableTime `json:"created"` - LastUpdated NullableTime `json:"last_updated"` + ValidationRegex *string `json:"validation_regex,omitempty"` + ChoiceSet NullableBriefCustomFieldChoiceSet `json:"choice_set,omitempty"` + Comments *string `json:"comments,omitempty"` + Created NullableTime `json:"created"` + LastUpdated NullableTime `json:"last_updated"` AdditionalProperties map[string]interface{} } @@ -137,6 +142,38 @@ func (o *CustomField) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *CustomField) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CustomField) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *CustomField) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *CustomField) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *CustomField) GetDisplay() string { if o == nil { @@ -428,6 +465,38 @@ func (o *CustomField) SetRequired(v bool) { o.Required = &v } +// GetUnique returns the Unique field value if set, zero value otherwise. +func (o *CustomField) GetUnique() bool { + if o == nil || IsNil(o.Unique) { + var ret bool + return ret + } + return *o.Unique +} + +// GetUniqueOk returns a tuple with the Unique field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CustomField) GetUniqueOk() (*bool, bool) { + if o == nil || IsNil(o.Unique) { + return nil, false + } + return o.Unique, true +} + +// HasUnique returns a boolean if a field has been set. +func (o *CustomField) HasUnique() bool { + if o != nil && !IsNil(o.Unique) { + return true + } + + return false +} + +// SetUnique gets a reference to the given bool and assigns it to the Unique field. +func (o *CustomField) SetUnique(v bool) { + o.Unique = &v +} + // GetSearchWeight returns the SearchWeight field value if set, zero value otherwise. func (o *CustomField) GetSearchWeight() int32 { if o == nil || IsNil(o.SearchWeight) { @@ -621,6 +690,39 @@ func (o *CustomField) SetDefault(v interface{}) { o.Default = v } +// GetRelatedObjectFilter returns the RelatedObjectFilter field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CustomField) GetRelatedObjectFilter() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.RelatedObjectFilter +} + +// GetRelatedObjectFilterOk returns a tuple with the RelatedObjectFilter 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 *CustomField) GetRelatedObjectFilterOk() (*interface{}, bool) { + if o == nil || IsNil(o.RelatedObjectFilter) { + return nil, false + } + return &o.RelatedObjectFilter, true +} + +// HasRelatedObjectFilter returns a boolean if a field has been set. +func (o *CustomField) HasRelatedObjectFilter() bool { + if o != nil && !IsNil(o.RelatedObjectFilter) { + return true + } + + return false +} + +// SetRelatedObjectFilter gets a reference to the given interface{} and assigns it to the RelatedObjectFilter field. +func (o *CustomField) SetRelatedObjectFilter(v interface{}) { + o.RelatedObjectFilter = v +} + // GetWeight returns the Weight field value if set, zero value otherwise. func (o *CustomField) GetWeight() int32 { if o == nil || IsNil(o.Weight) { @@ -772,9 +874,9 @@ func (o *CustomField) SetValidationRegex(v string) { } // GetChoiceSet returns the ChoiceSet field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *CustomField) GetChoiceSet() CustomFieldChoiceSet { +func (o *CustomField) GetChoiceSet() BriefCustomFieldChoiceSet { if o == nil || IsNil(o.ChoiceSet.Get()) { - var ret CustomFieldChoiceSet + var ret BriefCustomFieldChoiceSet return ret } return *o.ChoiceSet.Get() @@ -783,7 +885,7 @@ func (o *CustomField) GetChoiceSet() CustomFieldChoiceSet { // GetChoiceSetOk returns a tuple with the ChoiceSet 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 *CustomField) GetChoiceSetOk() (*CustomFieldChoiceSet, bool) { +func (o *CustomField) GetChoiceSetOk() (*BriefCustomFieldChoiceSet, bool) { if o == nil { return nil, false } @@ -799,8 +901,8 @@ func (o *CustomField) HasChoiceSet() bool { return false } -// SetChoiceSet gets a reference to the given NullableCustomFieldChoiceSet and assigns it to the ChoiceSet field. -func (o *CustomField) SetChoiceSet(v CustomFieldChoiceSet) { +// SetChoiceSet gets a reference to the given NullableBriefCustomFieldChoiceSet and assigns it to the ChoiceSet field. +func (o *CustomField) SetChoiceSet(v BriefCustomFieldChoiceSet) { o.ChoiceSet.Set(&v) } @@ -910,6 +1012,9 @@ func (o CustomField) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["object_types"] = o.ObjectTypes toSerialize["type"] = o.Type @@ -930,6 +1035,9 @@ func (o CustomField) ToMap() (map[string]interface{}, error) { if !IsNil(o.Required) { toSerialize["required"] = o.Required } + if !IsNil(o.Unique) { + toSerialize["unique"] = o.Unique + } if !IsNil(o.SearchWeight) { toSerialize["search_weight"] = o.SearchWeight } @@ -948,6 +1056,9 @@ func (o CustomField) ToMap() (map[string]interface{}, error) { if o.Default != nil { toSerialize["default"] = o.Default } + if o.RelatedObjectFilter != nil { + toSerialize["related_object_filter"] = o.RelatedObjectFilter + } if !IsNil(o.Weight) { toSerialize["weight"] = o.Weight } @@ -1021,6 +1132,7 @@ func (o *CustomField) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "object_types") delete(additionalProperties, "type") @@ -1031,12 +1143,14 @@ func (o *CustomField) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "group_name") delete(additionalProperties, "description") delete(additionalProperties, "required") + delete(additionalProperties, "unique") delete(additionalProperties, "search_weight") delete(additionalProperties, "filter_logic") delete(additionalProperties, "ui_visible") delete(additionalProperties, "ui_editable") delete(additionalProperties, "is_cloneable") delete(additionalProperties, "default") + delete(additionalProperties, "related_object_filter") delete(additionalProperties, "weight") delete(additionalProperties, "validation_minimum") delete(additionalProperties, "validation_maximum") diff --git a/model_custom_field_choice_set.go b/model_custom_field_choice_set.go index 7926b715a..950ab8960 100644 --- a/model_custom_field_choice_set.go +++ b/model_custom_field_choice_set.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -23,6 +23,7 @@ var _ MappedNullable = &CustomFieldChoiceSet{} type CustomFieldChoiceSet struct { Id int32 `json:"id"` Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` Display string `json:"display"` Name string `json:"name"` Description *string `json:"description,omitempty"` @@ -111,6 +112,38 @@ func (o *CustomFieldChoiceSet) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *CustomFieldChoiceSet) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CustomFieldChoiceSet) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *CustomFieldChoiceSet) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *CustomFieldChoiceSet) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *CustomFieldChoiceSet) GetDisplay() string { if o == nil { @@ -367,6 +400,9 @@ func (o CustomFieldChoiceSet) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["name"] = o.Name if !IsNil(o.Description) { @@ -434,6 +470,7 @@ func (o *CustomFieldChoiceSet) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") delete(additionalProperties, "description") diff --git a/model_custom_field_choice_set_base_choices.go b/model_custom_field_choice_set_base_choices.go index 387404fe0..680b899d9 100644 --- a/model_custom_field_choice_set_base_choices.go +++ b/model_custom_field_choice_set_base_choices.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_custom_field_choice_set_base_choices_label.go b/model_custom_field_choice_set_base_choices_label.go index bea7b22b5..4d73776fd 100644 --- a/model_custom_field_choice_set_base_choices_label.go +++ b/model_custom_field_choice_set_base_choices_label.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_custom_field_choice_set_base_choices_value.go b/model_custom_field_choice_set_base_choices_value.go index 2e891195a..d7f711318 100644 --- a/model_custom_field_choice_set_base_choices_value.go +++ b/model_custom_field_choice_set_base_choices_value.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_custom_field_choice_set_request.go b/model_custom_field_choice_set_request.go index 9b0c67818..1b21745ba 100644 --- a/model_custom_field_choice_set_request.go +++ b/model_custom_field_choice_set_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_custom_field_filter_logic.go b/model_custom_field_filter_logic.go index ec27bbfe0..f82703534 100644 --- a/model_custom_field_filter_logic.go +++ b/model_custom_field_filter_logic.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 55b62d6da..382c56672 100644 --- a/model_custom_field_filter_logic_label.go +++ b/model_custom_field_filter_logic_label.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 b99381d64..23e70185f 100644 --- a/model_custom_field_filter_logic_value.go +++ b/model_custom_field_filter_logic_value.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_custom_field_request.go b/model_custom_field_request.go index e62680adb..428a14738 100644 --- a/model_custom_field_request.go +++ b/model_custom_field_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -30,8 +30,10 @@ type CustomFieldRequest struct { // Custom fields within the same group will be displayed together GroupName *string `json:"group_name,omitempty"` Description *string `json:"description,omitempty"` - // If true, this field is required when creating new objects or editing an existing object. + // This field is required when creating new objects or editing an existing object. Required *bool `json:"required,omitempty"` + // The value of this field must be unique for the assigned object + Unique *bool `json:"unique,omitempty"` // Weighting for search. Lower values are considered more important. Fields with a search weight of zero will be ignored. SearchWeight *int32 `json:"search_weight,omitempty"` FilterLogic *CustomFieldFilterLogicValue `json:"filter_logic,omitempty"` @@ -41,6 +43,8 @@ type CustomFieldRequest struct { IsCloneable *bool `json:"is_cloneable,omitempty"` // Default value for the field (must be a JSON value). Encapsulate strings with double quotes (e.g. \"Foo\"). Default interface{} `json:"default,omitempty"` + // Filter the object selection choices using a query_params dict (must be a JSON value).Encapsulate strings with double quotes (e.g. \"Foo\"). + RelatedObjectFilter interface{} `json:"related_object_filter,omitempty"` // Fields with higher weights appear lower in a form. Weight *int32 `json:"weight,omitempty"` // Minimum allowed value (for numeric fields) @@ -48,9 +52,9 @@ type CustomFieldRequest struct { // Maximum allowed value (for numeric fields) ValidationMaximum NullableInt64 `json:"validation_maximum,omitempty"` // Regular expression to enforce on text field values. Use ^ and $ to force matching of entire string. For example, ^[A-Z]{3}$ will limit values to exactly three uppercase letters. - ValidationRegex *string `json:"validation_regex,omitempty"` - ChoiceSet NullableCustomFieldChoiceSetRequest `json:"choice_set,omitempty"` - Comments *string `json:"comments,omitempty"` + ValidationRegex *string `json:"validation_regex,omitempty"` + ChoiceSet NullableBriefCustomFieldChoiceSetRequest `json:"choice_set,omitempty"` + Comments *string `json:"comments,omitempty"` AdditionalProperties map[string]interface{} } @@ -319,6 +323,38 @@ func (o *CustomFieldRequest) SetRequired(v bool) { o.Required = &v } +// GetUnique returns the Unique field value if set, zero value otherwise. +func (o *CustomFieldRequest) GetUnique() bool { + if o == nil || IsNil(o.Unique) { + var ret bool + return ret + } + return *o.Unique +} + +// GetUniqueOk returns a tuple with the Unique field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CustomFieldRequest) GetUniqueOk() (*bool, bool) { + if o == nil || IsNil(o.Unique) { + return nil, false + } + return o.Unique, true +} + +// HasUnique returns a boolean if a field has been set. +func (o *CustomFieldRequest) HasUnique() bool { + if o != nil && !IsNil(o.Unique) { + return true + } + + return false +} + +// SetUnique gets a reference to the given bool and assigns it to the Unique field. +func (o *CustomFieldRequest) SetUnique(v bool) { + o.Unique = &v +} + // GetSearchWeight returns the SearchWeight field value if set, zero value otherwise. func (o *CustomFieldRequest) GetSearchWeight() int32 { if o == nil || IsNil(o.SearchWeight) { @@ -512,6 +548,39 @@ func (o *CustomFieldRequest) SetDefault(v interface{}) { o.Default = v } +// GetRelatedObjectFilter returns the RelatedObjectFilter field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CustomFieldRequest) GetRelatedObjectFilter() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.RelatedObjectFilter +} + +// GetRelatedObjectFilterOk returns a tuple with the RelatedObjectFilter 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 *CustomFieldRequest) GetRelatedObjectFilterOk() (*interface{}, bool) { + if o == nil || IsNil(o.RelatedObjectFilter) { + return nil, false + } + return &o.RelatedObjectFilter, true +} + +// HasRelatedObjectFilter returns a boolean if a field has been set. +func (o *CustomFieldRequest) HasRelatedObjectFilter() bool { + if o != nil && !IsNil(o.RelatedObjectFilter) { + return true + } + + return false +} + +// SetRelatedObjectFilter gets a reference to the given interface{} and assigns it to the RelatedObjectFilter field. +func (o *CustomFieldRequest) SetRelatedObjectFilter(v interface{}) { + o.RelatedObjectFilter = v +} + // GetWeight returns the Weight field value if set, zero value otherwise. func (o *CustomFieldRequest) GetWeight() int32 { if o == nil || IsNil(o.Weight) { @@ -663,9 +732,9 @@ func (o *CustomFieldRequest) SetValidationRegex(v string) { } // GetChoiceSet returns the ChoiceSet field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *CustomFieldRequest) GetChoiceSet() CustomFieldChoiceSetRequest { +func (o *CustomFieldRequest) GetChoiceSet() BriefCustomFieldChoiceSetRequest { if o == nil || IsNil(o.ChoiceSet.Get()) { - var ret CustomFieldChoiceSetRequest + var ret BriefCustomFieldChoiceSetRequest return ret } return *o.ChoiceSet.Get() @@ -674,7 +743,7 @@ func (o *CustomFieldRequest) GetChoiceSet() CustomFieldChoiceSetRequest { // GetChoiceSetOk returns a tuple with the ChoiceSet 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 *CustomFieldRequest) GetChoiceSetOk() (*CustomFieldChoiceSetRequest, bool) { +func (o *CustomFieldRequest) GetChoiceSetOk() (*BriefCustomFieldChoiceSetRequest, bool) { if o == nil { return nil, false } @@ -690,8 +759,8 @@ func (o *CustomFieldRequest) HasChoiceSet() bool { return false } -// SetChoiceSet gets a reference to the given NullableCustomFieldChoiceSetRequest and assigns it to the ChoiceSet field. -func (o *CustomFieldRequest) SetChoiceSet(v CustomFieldChoiceSetRequest) { +// SetChoiceSet gets a reference to the given NullableBriefCustomFieldChoiceSetRequest and assigns it to the ChoiceSet field. +func (o *CustomFieldRequest) SetChoiceSet(v BriefCustomFieldChoiceSetRequest) { o.ChoiceSet.Set(&v) } @@ -765,6 +834,9 @@ func (o CustomFieldRequest) ToMap() (map[string]interface{}, error) { if !IsNil(o.Required) { toSerialize["required"] = o.Required } + if !IsNil(o.Unique) { + toSerialize["unique"] = o.Unique + } if !IsNil(o.SearchWeight) { toSerialize["search_weight"] = o.SearchWeight } @@ -783,6 +855,9 @@ func (o CustomFieldRequest) ToMap() (map[string]interface{}, error) { if o.Default != nil { toSerialize["default"] = o.Default } + if o.RelatedObjectFilter != nil { + toSerialize["related_object_filter"] = o.RelatedObjectFilter + } if !IsNil(o.Weight) { toSerialize["weight"] = o.Weight } @@ -854,12 +929,14 @@ func (o *CustomFieldRequest) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "group_name") delete(additionalProperties, "description") delete(additionalProperties, "required") + delete(additionalProperties, "unique") delete(additionalProperties, "search_weight") delete(additionalProperties, "filter_logic") delete(additionalProperties, "ui_visible") delete(additionalProperties, "ui_editable") delete(additionalProperties, "is_cloneable") delete(additionalProperties, "default") + delete(additionalProperties, "related_object_filter") delete(additionalProperties, "weight") delete(additionalProperties, "validation_minimum") delete(additionalProperties, "validation_maximum") diff --git a/model_custom_field_type.go b/model_custom_field_type.go index a3be15abf..ac7550a94 100644 --- a/model_custom_field_type.go +++ b/model_custom_field_type.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 4e8cbc627..77d367962 100644 --- a/model_custom_field_type_label.go +++ b/model_custom_field_type_label.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 097829be5..6924e7763 100644 --- a/model_custom_field_type_value.go +++ b/model_custom_field_type_value.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_custom_field_ui_editable.go b/model_custom_field_ui_editable.go index 8d3e41d9a..ce6457887 100644 --- a/model_custom_field_ui_editable.go +++ b/model_custom_field_ui_editable.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_custom_field_ui_editable_label.go b/model_custom_field_ui_editable_label.go index 6c09b4063..783f10881 100644 --- a/model_custom_field_ui_editable_label.go +++ b/model_custom_field_ui_editable_label.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_custom_field_ui_editable_value.go b/model_custom_field_ui_editable_value.go index b758a5455..5e439f9ae 100644 --- a/model_custom_field_ui_editable_value.go +++ b/model_custom_field_ui_editable_value.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_custom_field_ui_visible.go b/model_custom_field_ui_visible.go index d643bce9c..3e775239d 100644 --- a/model_custom_field_ui_visible.go +++ b/model_custom_field_ui_visible.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_custom_field_ui_visible_label.go b/model_custom_field_ui_visible_label.go index b66ef1e2b..08476d59c 100644 --- a/model_custom_field_ui_visible_label.go +++ b/model_custom_field_ui_visible_label.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_custom_field_ui_visible_value.go b/model_custom_field_ui_visible_value.go index d9f11b99b..cbe15e19a 100644 --- a/model_custom_field_ui_visible_value.go +++ b/model_custom_field_ui_visible_value.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 1de90af8a..2a0e20b27 100644 --- a/model_custom_link.go +++ b/model_custom_link.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -23,6 +23,7 @@ var _ MappedNullable = &CustomLink{} type CustomLink struct { Id int32 `json:"id"` Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` Display string `json:"display"` ObjectTypes []string `json:"object_types"` Name string `json:"name"` @@ -118,6 +119,38 @@ func (o *CustomLink) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *CustomLink) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CustomLink) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *CustomLink) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *CustomLink) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *CustomLink) GetDisplay() string { if o == nil { @@ -462,6 +495,9 @@ func (o CustomLink) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["object_types"] = o.ObjectTypes toSerialize["name"] = o.Name @@ -537,6 +573,7 @@ func (o *CustomLink) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "object_types") delete(additionalProperties, "name") diff --git a/model_custom_link_button_class.go b/model_custom_link_button_class.go index 50fd2a8f1..b9cef71b1 100644 --- a/model_custom_link_button_class.go +++ b/model_custom_link_button_class.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,31 +15,31 @@ import ( "fmt" ) -// CustomLinkButtonClass The class of the first link in a group will be used for the dropdown button * `outline-dark` - Default * `blue` - Blue * `indigo` - Indigo * `purple` - Purple * `pink` - Pink * `red` - Red * `orange` - Orange * `yellow` - Yellow * `green` - Green * `teal` - Teal * `cyan` - Cyan * `gray` - Gray * `black` - Black * `white` - White * `ghost-dark` - Link +// CustomLinkButtonClass The class of the first link in a group will be used for the dropdown button * `default` - Default * `blue` - Blue * `indigo` - Indigo * `purple` - Purple * `pink` - Pink * `red` - Red * `orange` - Orange * `yellow` - Yellow * `green` - Green * `teal` - Teal * `cyan` - Cyan * `gray` - Gray * `black` - Black * `white` - White * `ghost-dark` - Link type CustomLinkButtonClass string // List of CustomLink_button_class const ( - CUSTOMLINKBUTTONCLASS_OUTLINE_DARK CustomLinkButtonClass = "outline-dark" - CUSTOMLINKBUTTONCLASS_BLUE CustomLinkButtonClass = "blue" - CUSTOMLINKBUTTONCLASS_INDIGO CustomLinkButtonClass = "indigo" - CUSTOMLINKBUTTONCLASS_PURPLE CustomLinkButtonClass = "purple" - CUSTOMLINKBUTTONCLASS_PINK CustomLinkButtonClass = "pink" - CUSTOMLINKBUTTONCLASS_RED CustomLinkButtonClass = "red" - CUSTOMLINKBUTTONCLASS_ORANGE CustomLinkButtonClass = "orange" - CUSTOMLINKBUTTONCLASS_YELLOW CustomLinkButtonClass = "yellow" - CUSTOMLINKBUTTONCLASS_GREEN CustomLinkButtonClass = "green" - CUSTOMLINKBUTTONCLASS_TEAL CustomLinkButtonClass = "teal" - CUSTOMLINKBUTTONCLASS_CYAN CustomLinkButtonClass = "cyan" - CUSTOMLINKBUTTONCLASS_GRAY CustomLinkButtonClass = "gray" - CUSTOMLINKBUTTONCLASS_BLACK CustomLinkButtonClass = "black" - CUSTOMLINKBUTTONCLASS_WHITE CustomLinkButtonClass = "white" - CUSTOMLINKBUTTONCLASS_GHOST_DARK CustomLinkButtonClass = "ghost-dark" + CUSTOMLINKBUTTONCLASS_DEFAULT CustomLinkButtonClass = "default" + CUSTOMLINKBUTTONCLASS_BLUE CustomLinkButtonClass = "blue" + CUSTOMLINKBUTTONCLASS_INDIGO CustomLinkButtonClass = "indigo" + CUSTOMLINKBUTTONCLASS_PURPLE CustomLinkButtonClass = "purple" + CUSTOMLINKBUTTONCLASS_PINK CustomLinkButtonClass = "pink" + CUSTOMLINKBUTTONCLASS_RED CustomLinkButtonClass = "red" + CUSTOMLINKBUTTONCLASS_ORANGE CustomLinkButtonClass = "orange" + CUSTOMLINKBUTTONCLASS_YELLOW CustomLinkButtonClass = "yellow" + CUSTOMLINKBUTTONCLASS_GREEN CustomLinkButtonClass = "green" + CUSTOMLINKBUTTONCLASS_TEAL CustomLinkButtonClass = "teal" + CUSTOMLINKBUTTONCLASS_CYAN CustomLinkButtonClass = "cyan" + CUSTOMLINKBUTTONCLASS_GRAY CustomLinkButtonClass = "gray" + CUSTOMLINKBUTTONCLASS_BLACK CustomLinkButtonClass = "black" + CUSTOMLINKBUTTONCLASS_WHITE CustomLinkButtonClass = "white" + CUSTOMLINKBUTTONCLASS_GHOST_DARK CustomLinkButtonClass = "ghost-dark" ) // All allowed values of CustomLinkButtonClass enum var AllowedCustomLinkButtonClassEnumValues = []CustomLinkButtonClass{ - "outline-dark", + "default", "blue", "indigo", "purple", diff --git a/model_custom_link_request.go b/model_custom_link_request.go index 6de4bbfdb..b6b2d0e28 100644 --- a/model_custom_link_request.go +++ b/model_custom_link_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_dashboard.go b/model_dashboard.go index 5f90d03d6..1f07b002e 100644 --- a/model_dashboard.go +++ b/model_dashboard.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_dashboard_request.go b/model_dashboard_request.go index 800dcc04e..5f2aa3383 100644 --- a/model_dashboard_request.go +++ b/model_dashboard_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_data_file.go b/model_data_file.go index 53adc911d..cb5742690 100644 --- a/model_data_file.go +++ b/model_data_file.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,10 +21,11 @@ var _ MappedNullable = &DataFile{} // DataFile Adds support for custom fields and tags. type DataFile struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - Source DataSource `json:"source"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Source BriefDataSource `json:"source"` // File path relative to the data source's root Path string `json:"path"` LastUpdated time.Time `json:"last_updated"` @@ -40,7 +41,7 @@ type _DataFile DataFile // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewDataFile(id int32, url string, display string, source DataSource, path string, lastUpdated time.Time, size int32, hash string) *DataFile { +func NewDataFile(id int32, url string, display string, source BriefDataSource, path string, lastUpdated time.Time, size int32, hash string) *DataFile { this := DataFile{} this.Id = id this.Url = url @@ -109,6 +110,38 @@ func (o *DataFile) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *DataFile) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DataFile) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *DataFile) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *DataFile) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *DataFile) GetDisplay() string { if o == nil { @@ -134,9 +167,9 @@ func (o *DataFile) SetDisplay(v string) { } // GetSource returns the Source field value -func (o *DataFile) GetSource() DataSource { +func (o *DataFile) GetSource() BriefDataSource { if o == nil { - var ret DataSource + var ret BriefDataSource return ret } @@ -145,7 +178,7 @@ func (o *DataFile) GetSource() DataSource { // GetSourceOk returns a tuple with the Source field value // and a boolean to check if the value has been set. -func (o *DataFile) GetSourceOk() (*DataSource, bool) { +func (o *DataFile) GetSourceOk() (*BriefDataSource, bool) { if o == nil { return nil, false } @@ -153,7 +186,7 @@ func (o *DataFile) GetSourceOk() (*DataSource, bool) { } // SetSource sets field value -func (o *DataFile) SetSource(v DataSource) { +func (o *DataFile) SetSource(v BriefDataSource) { o.Source = v } @@ -265,6 +298,9 @@ func (o DataFile) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["source"] = o.Source toSerialize["path"] = o.Path @@ -323,6 +359,7 @@ func (o *DataFile) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "source") delete(additionalProperties, "path") diff --git a/model_data_source.go b/model_data_source.go index 2757ef5b2..680af996d 100644 --- a/model_data_source.go +++ b/model_data_source.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -13,6 +13,7 @@ package netbox import ( "encoding/json" "fmt" + "time" ) // checks if the DataSource type satisfies the MappedNullable interface at compile time @@ -20,11 +21,25 @@ var _ MappedNullable = &DataSource{} // DataSource Adds support for custom fields and tags. type DataSource struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - Name string `json:"name"` - Description *string `json:"description,omitempty"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Name string `json:"name"` + Type DataSourceType `json:"type"` + SourceUrl string `json:"source_url"` + Enabled *bool `json:"enabled,omitempty"` + Status DataSourceStatus `json:"status"` + Description *string `json:"description,omitempty"` + Parameters interface{} `json:"parameters,omitempty"` + // Patterns (one per line) matching files to ignore when syncing + IgnoreRules *string `json:"ignore_rules,omitempty"` + Comments *string `json:"comments,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Created NullableTime `json:"created"` + LastUpdated NullableTime `json:"last_updated"` + LastSynced NullableTime `json:"last_synced"` + FileCount int64 `json:"file_count"` AdditionalProperties map[string]interface{} } @@ -34,12 +49,19 @@ type _DataSource DataSource // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewDataSource(id int32, url string, display string, name string) *DataSource { +func NewDataSource(id int32, url string, display string, name string, type_ DataSourceType, sourceUrl string, status DataSourceStatus, created NullableTime, lastUpdated NullableTime, lastSynced NullableTime, fileCount int64) *DataSource { this := DataSource{} this.Id = id this.Url = url this.Display = display this.Name = name + this.Type = type_ + this.SourceUrl = sourceUrl + this.Status = status + this.Created = created + this.LastUpdated = lastUpdated + this.LastSynced = lastSynced + this.FileCount = fileCount return &this } @@ -99,6 +121,38 @@ func (o *DataSource) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *DataSource) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DataSource) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *DataSource) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *DataSource) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *DataSource) GetDisplay() string { if o == nil { @@ -147,6 +201,110 @@ func (o *DataSource) SetName(v string) { o.Name = v } +// GetType returns the Type field value +func (o *DataSource) GetType() DataSourceType { + if o == nil { + var ret DataSourceType + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +func (o *DataSource) GetTypeOk() (*DataSourceType, bool) { + if o == nil { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *DataSource) SetType(v DataSourceType) { + o.Type = v +} + +// GetSourceUrl returns the SourceUrl field value +func (o *DataSource) GetSourceUrl() string { + if o == nil { + var ret string + return ret + } + + return o.SourceUrl +} + +// GetSourceUrlOk returns a tuple with the SourceUrl field value +// and a boolean to check if the value has been set. +func (o *DataSource) GetSourceUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.SourceUrl, true +} + +// SetSourceUrl sets field value +func (o *DataSource) SetSourceUrl(v string) { + o.SourceUrl = v +} + +// GetEnabled returns the Enabled field value if set, zero value otherwise. +func (o *DataSource) 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 *DataSource) 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 *DataSource) 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 *DataSource) SetEnabled(v bool) { + o.Enabled = &v +} + +// GetStatus returns the Status field value +func (o *DataSource) GetStatus() DataSourceStatus { + if o == nil { + var ret DataSourceStatus + 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 *DataSource) GetStatusOk() (*DataSourceStatus, bool) { + if o == nil { + return nil, false + } + return &o.Status, true +} + +// SetStatus sets field value +func (o *DataSource) SetStatus(v DataSourceStatus) { + o.Status = v +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *DataSource) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -179,6 +337,237 @@ func (o *DataSource) SetDescription(v string) { o.Description = &v } +// GetParameters returns the Parameters field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DataSource) GetParameters() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Parameters +} + +// GetParametersOk returns a tuple with the Parameters 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 *DataSource) GetParametersOk() (*interface{}, bool) { + if o == nil || IsNil(o.Parameters) { + return nil, false + } + return &o.Parameters, true +} + +// HasParameters returns a boolean if a field has been set. +func (o *DataSource) HasParameters() bool { + if o != nil && !IsNil(o.Parameters) { + return true + } + + return false +} + +// SetParameters gets a reference to the given interface{} and assigns it to the Parameters field. +func (o *DataSource) SetParameters(v interface{}) { + o.Parameters = v +} + +// GetIgnoreRules returns the IgnoreRules field value if set, zero value otherwise. +func (o *DataSource) GetIgnoreRules() string { + if o == nil || IsNil(o.IgnoreRules) { + var ret string + return ret + } + return *o.IgnoreRules +} + +// GetIgnoreRulesOk returns a tuple with the IgnoreRules field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DataSource) GetIgnoreRulesOk() (*string, bool) { + if o == nil || IsNil(o.IgnoreRules) { + return nil, false + } + return o.IgnoreRules, true +} + +// HasIgnoreRules returns a boolean if a field has been set. +func (o *DataSource) HasIgnoreRules() bool { + if o != nil && !IsNil(o.IgnoreRules) { + return true + } + + return false +} + +// SetIgnoreRules gets a reference to the given string and assigns it to the IgnoreRules field. +func (o *DataSource) SetIgnoreRules(v string) { + o.IgnoreRules = &v +} + +// GetComments returns the Comments field value if set, zero value otherwise. +func (o *DataSource) GetComments() string { + if o == nil || IsNil(o.Comments) { + var ret string + return ret + } + return *o.Comments +} + +// GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DataSource) GetCommentsOk() (*string, bool) { + if o == nil || IsNil(o.Comments) { + return nil, false + } + return o.Comments, true +} + +// HasComments returns a boolean if a field has been set. +func (o *DataSource) HasComments() bool { + if o != nil && !IsNil(o.Comments) { + return true + } + + return false +} + +// SetComments gets a reference to the given string and assigns it to the Comments field. +func (o *DataSource) SetComments(v string) { + o.Comments = &v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *DataSource) 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 *DataSource) 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 *DataSource) 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 *DataSource) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetCreated returns the Created field value +// If the value is explicit nil, the zero value for time.Time will be returned +func (o *DataSource) 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 *DataSource) GetCreatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.Created.Get(), o.Created.IsSet() +} + +// SetCreated sets field value +func (o *DataSource) 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 *DataSource) 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 *DataSource) GetLastUpdatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LastUpdated.Get(), o.LastUpdated.IsSet() +} + +// SetLastUpdated sets field value +func (o *DataSource) SetLastUpdated(v time.Time) { + o.LastUpdated.Set(&v) +} + +// GetLastSynced returns the LastSynced field value +// If the value is explicit nil, the zero value for time.Time will be returned +func (o *DataSource) GetLastSynced() time.Time { + if o == nil || o.LastSynced.Get() == nil { + var ret time.Time + return ret + } + + return *o.LastSynced.Get() +} + +// GetLastSyncedOk returns a tuple with the LastSynced 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 *DataSource) GetLastSyncedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LastSynced.Get(), o.LastSynced.IsSet() +} + +// SetLastSynced sets field value +func (o *DataSource) SetLastSynced(v time.Time) { + o.LastSynced.Set(&v) +} + +// GetFileCount returns the FileCount field value +func (o *DataSource) GetFileCount() int64 { + if o == nil { + var ret int64 + return ret + } + + return o.FileCount +} + +// GetFileCountOk returns a tuple with the FileCount field value +// and a boolean to check if the value has been set. +func (o *DataSource) GetFileCountOk() (*int64, bool) { + if o == nil { + return nil, false + } + return &o.FileCount, true +} + +// SetFileCount sets field value +func (o *DataSource) SetFileCount(v int64) { + o.FileCount = v +} + func (o DataSource) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -191,11 +580,36 @@ func (o DataSource) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["name"] = o.Name + toSerialize["type"] = o.Type + toSerialize["source_url"] = o.SourceUrl + if !IsNil(o.Enabled) { + toSerialize["enabled"] = o.Enabled + } + toSerialize["status"] = o.Status if !IsNil(o.Description) { toSerialize["description"] = o.Description } + if o.Parameters != nil { + toSerialize["parameters"] = o.Parameters + } + if !IsNil(o.IgnoreRules) { + toSerialize["ignore_rules"] = o.IgnoreRules + } + if !IsNil(o.Comments) { + toSerialize["comments"] = o.Comments + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + toSerialize["created"] = o.Created.Get() + toSerialize["last_updated"] = o.LastUpdated.Get() + toSerialize["last_synced"] = o.LastSynced.Get() + toSerialize["file_count"] = o.FileCount for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -213,6 +627,13 @@ func (o *DataSource) UnmarshalJSON(data []byte) (err error) { "url", "display", "name", + "type", + "source_url", + "status", + "created", + "last_updated", + "last_synced", + "file_count", } allProperties := make(map[string]interface{}) @@ -244,9 +665,22 @@ func (o *DataSource) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") + delete(additionalProperties, "type") + delete(additionalProperties, "source_url") + delete(additionalProperties, "enabled") + delete(additionalProperties, "status") delete(additionalProperties, "description") + delete(additionalProperties, "parameters") + delete(additionalProperties, "ignore_rules") + delete(additionalProperties, "comments") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "created") + delete(additionalProperties, "last_updated") + delete(additionalProperties, "last_synced") + delete(additionalProperties, "file_count") o.AdditionalProperties = additionalProperties } diff --git a/model_data_source_request.go b/model_data_source_request.go index 356c146f7..697b99526 100644 --- a/model_data_source_request.go +++ b/model_data_source_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,15 +20,15 @@ var _ MappedNullable = &DataSourceRequest{} // DataSourceRequest Adds support for custom fields and tags. type DataSourceRequest struct { - Name string `json:"name"` - Type DataSourceRequestType `json:"type"` - SourceUrl string `json:"source_url"` - Enabled *bool `json:"enabled,omitempty"` - Description *string `json:"description,omitempty"` - Comments *string `json:"comments,omitempty"` - Parameters interface{} `json:"parameters,omitempty"` + Name string `json:"name"` + Type DataSourceTypeValue `json:"type"` + SourceUrl string `json:"source_url"` + Enabled *bool `json:"enabled,omitempty"` + Description *string `json:"description,omitempty"` + Parameters interface{} `json:"parameters,omitempty"` // Patterns (one per line) matching files to ignore when syncing IgnoreRules *string `json:"ignore_rules,omitempty"` + Comments *string `json:"comments,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -39,7 +39,7 @@ type _DataSourceRequest DataSourceRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewDataSourceRequest(name string, type_ DataSourceRequestType, sourceUrl string) *DataSourceRequest { +func NewDataSourceRequest(name string, type_ DataSourceTypeValue, sourceUrl string) *DataSourceRequest { this := DataSourceRequest{} this.Name = name this.Type = type_ @@ -80,9 +80,9 @@ func (o *DataSourceRequest) SetName(v string) { } // GetType returns the Type field value -func (o *DataSourceRequest) GetType() DataSourceRequestType { +func (o *DataSourceRequest) GetType() DataSourceTypeValue { if o == nil { - var ret DataSourceRequestType + var ret DataSourceTypeValue return ret } @@ -91,7 +91,7 @@ func (o *DataSourceRequest) GetType() DataSourceRequestType { // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. -func (o *DataSourceRequest) GetTypeOk() (*DataSourceRequestType, bool) { +func (o *DataSourceRequest) GetTypeOk() (*DataSourceTypeValue, bool) { if o == nil { return nil, false } @@ -99,7 +99,7 @@ func (o *DataSourceRequest) GetTypeOk() (*DataSourceRequestType, bool) { } // SetType sets field value -func (o *DataSourceRequest) SetType(v DataSourceRequestType) { +func (o *DataSourceRequest) SetType(v DataSourceTypeValue) { o.Type = v } @@ -191,38 +191,6 @@ func (o *DataSourceRequest) SetDescription(v string) { o.Description = &v } -// GetComments returns the Comments field value if set, zero value otherwise. -func (o *DataSourceRequest) GetComments() string { - if o == nil || IsNil(o.Comments) { - var ret string - return ret - } - return *o.Comments -} - -// GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DataSourceRequest) GetCommentsOk() (*string, bool) { - if o == nil || IsNil(o.Comments) { - return nil, false - } - return o.Comments, true -} - -// HasComments returns a boolean if a field has been set. -func (o *DataSourceRequest) HasComments() bool { - if o != nil && !IsNil(o.Comments) { - return true - } - - return false -} - -// SetComments gets a reference to the given string and assigns it to the Comments field. -func (o *DataSourceRequest) SetComments(v string) { - o.Comments = &v -} - // GetParameters returns the Parameters field value if set, zero value otherwise (both if not set or set to explicit null). func (o *DataSourceRequest) GetParameters() interface{} { if o == nil { @@ -288,6 +256,38 @@ func (o *DataSourceRequest) SetIgnoreRules(v string) { o.IgnoreRules = &v } +// GetComments returns the Comments field value if set, zero value otherwise. +func (o *DataSourceRequest) GetComments() string { + if o == nil || IsNil(o.Comments) { + var ret string + return ret + } + return *o.Comments +} + +// GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DataSourceRequest) GetCommentsOk() (*string, bool) { + if o == nil || IsNil(o.Comments) { + return nil, false + } + return o.Comments, true +} + +// HasComments returns a boolean if a field has been set. +func (o *DataSourceRequest) HasComments() bool { + if o != nil && !IsNil(o.Comments) { + return true + } + + return false +} + +// SetComments gets a reference to the given string and assigns it to the Comments field. +func (o *DataSourceRequest) SetComments(v string) { + o.Comments = &v +} + // GetCustomFields returns the CustomFields field value if set, zero value otherwise. func (o *DataSourceRequest) GetCustomFields() map[string]interface{} { if o == nil || IsNil(o.CustomFields) { @@ -339,15 +339,15 @@ func (o DataSourceRequest) ToMap() (map[string]interface{}, error) { if !IsNil(o.Description) { toSerialize["description"] = o.Description } - if !IsNil(o.Comments) { - toSerialize["comments"] = o.Comments - } if o.Parameters != nil { toSerialize["parameters"] = o.Parameters } if !IsNil(o.IgnoreRules) { toSerialize["ignore_rules"] = o.IgnoreRules } + if !IsNil(o.Comments) { + toSerialize["comments"] = o.Comments + } if !IsNil(o.CustomFields) { toSerialize["custom_fields"] = o.CustomFields } @@ -401,9 +401,9 @@ func (o *DataSourceRequest) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "source_url") delete(additionalProperties, "enabled") delete(additionalProperties, "description") - delete(additionalProperties, "comments") delete(additionalProperties, "parameters") delete(additionalProperties, "ignore_rules") + delete(additionalProperties, "comments") delete(additionalProperties, "custom_fields") o.AdditionalProperties = additionalProperties } diff --git a/model_data_source_status.go b/model_data_source_status.go new file mode 100644 index 000000000..a889baa78 --- /dev/null +++ b/model_data_source_status.go @@ -0,0 +1,190 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" +) + +// checks if the DataSourceStatus type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &DataSourceStatus{} + +// DataSourceStatus struct for DataSourceStatus +type DataSourceStatus struct { + Value *DataSourceStatusValue `json:"value,omitempty"` + Label *DataSourceStatusLabel `json:"label,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _DataSourceStatus DataSourceStatus + +// NewDataSourceStatus instantiates a new DataSourceStatus object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDataSourceStatus() *DataSourceStatus { + this := DataSourceStatus{} + return &this +} + +// NewDataSourceStatusWithDefaults instantiates a new DataSourceStatus object +// This 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 NewDataSourceStatusWithDefaults() *DataSourceStatus { + this := DataSourceStatus{} + return &this +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *DataSourceStatus) GetValue() DataSourceStatusValue { + if o == nil || IsNil(o.Value) { + var ret DataSourceStatusValue + 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 *DataSourceStatus) GetValueOk() (*DataSourceStatusValue, 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 *DataSourceStatus) HasValue() bool { + if o != nil && !IsNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given DataSourceStatusValue and assigns it to the Value field. +func (o *DataSourceStatus) SetValue(v DataSourceStatusValue) { + o.Value = &v +} + +// GetLabel returns the Label field value if set, zero value otherwise. +func (o *DataSourceStatus) GetLabel() DataSourceStatusLabel { + if o == nil || IsNil(o.Label) { + var ret DataSourceStatusLabel + 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 *DataSourceStatus) GetLabelOk() (*DataSourceStatusLabel, 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 *DataSourceStatus) HasLabel() bool { + if o != nil && !IsNil(o.Label) { + return true + } + + return false +} + +// SetLabel gets a reference to the given DataSourceStatusLabel and assigns it to the Label field. +func (o *DataSourceStatus) SetLabel(v DataSourceStatusLabel) { + o.Label = &v +} + +func (o DataSourceStatus) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o DataSourceStatus) 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 *DataSourceStatus) UnmarshalJSON(data []byte) (err error) { + varDataSourceStatus := _DataSourceStatus{} + + err = json.Unmarshal(data, &varDataSourceStatus) + + if err != nil { + return err + } + + *o = DataSourceStatus(varDataSourceStatus) + + 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 NullableDataSourceStatus struct { + value *DataSourceStatus + isSet bool +} + +func (v NullableDataSourceStatus) Get() *DataSourceStatus { + return v.value +} + +func (v *NullableDataSourceStatus) Set(val *DataSourceStatus) { + v.value = val + v.isSet = true +} + +func (v NullableDataSourceStatus) IsSet() bool { + return v.isSet +} + +func (v *NullableDataSourceStatus) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDataSourceStatus(val *DataSourceStatus) *NullableDataSourceStatus { + return &NullableDataSourceStatus{value: val, isSet: true} +} + +func (v NullableDataSourceStatus) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDataSourceStatus) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_data_source_status_label.go b/model_data_source_status_label.go new file mode 100644 index 000000000..337d67f44 --- /dev/null +++ b/model_data_source_status_label.go @@ -0,0 +1,116 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// DataSourceStatusLabel the model 'DataSourceStatusLabel' +type DataSourceStatusLabel string + +// List of DataSource_status_label +const ( + DATASOURCESTATUSLABEL_NEW DataSourceStatusLabel = "New" + DATASOURCESTATUSLABEL_QUEUED DataSourceStatusLabel = "Queued" + DATASOURCESTATUSLABEL_SYNCING DataSourceStatusLabel = "Syncing" + DATASOURCESTATUSLABEL_COMPLETED DataSourceStatusLabel = "Completed" + DATASOURCESTATUSLABEL_FAILED DataSourceStatusLabel = "Failed" +) + +// All allowed values of DataSourceStatusLabel enum +var AllowedDataSourceStatusLabelEnumValues = []DataSourceStatusLabel{ + "New", + "Queued", + "Syncing", + "Completed", + "Failed", +} + +func (v *DataSourceStatusLabel) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := DataSourceStatusLabel(value) + for _, existing := range AllowedDataSourceStatusLabelEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid DataSourceStatusLabel", value) +} + +// NewDataSourceStatusLabelFromValue returns a pointer to a valid DataSourceStatusLabel +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewDataSourceStatusLabelFromValue(v string) (*DataSourceStatusLabel, error) { + ev := DataSourceStatusLabel(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for DataSourceStatusLabel: valid values are %v", v, AllowedDataSourceStatusLabelEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v DataSourceStatusLabel) IsValid() bool { + for _, existing := range AllowedDataSourceStatusLabelEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to DataSource_status_label value +func (v DataSourceStatusLabel) Ptr() *DataSourceStatusLabel { + return &v +} + +type NullableDataSourceStatusLabel struct { + value *DataSourceStatusLabel + isSet bool +} + +func (v NullableDataSourceStatusLabel) Get() *DataSourceStatusLabel { + return v.value +} + +func (v *NullableDataSourceStatusLabel) Set(val *DataSourceStatusLabel) { + v.value = val + v.isSet = true +} + +func (v NullableDataSourceStatusLabel) IsSet() bool { + return v.isSet +} + +func (v *NullableDataSourceStatusLabel) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDataSourceStatusLabel(val *DataSourceStatusLabel) *NullableDataSourceStatusLabel { + return &NullableDataSourceStatusLabel{value: val, isSet: true} +} + +func (v NullableDataSourceStatusLabel) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDataSourceStatusLabel) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_data_source_status_value.go b/model_data_source_status_value.go new file mode 100644 index 000000000..9641d1433 --- /dev/null +++ b/model_data_source_status_value.go @@ -0,0 +1,116 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// DataSourceStatusValue * `new` - New * `queued` - Queued * `syncing` - Syncing * `completed` - Completed * `failed` - Failed +type DataSourceStatusValue string + +// List of DataSource_status_value +const ( + DATASOURCESTATUSVALUE_NEW DataSourceStatusValue = "new" + DATASOURCESTATUSVALUE_QUEUED DataSourceStatusValue = "queued" + DATASOURCESTATUSVALUE_SYNCING DataSourceStatusValue = "syncing" + DATASOURCESTATUSVALUE_COMPLETED DataSourceStatusValue = "completed" + DATASOURCESTATUSVALUE_FAILED DataSourceStatusValue = "failed" +) + +// All allowed values of DataSourceStatusValue enum +var AllowedDataSourceStatusValueEnumValues = []DataSourceStatusValue{ + "new", + "queued", + "syncing", + "completed", + "failed", +} + +func (v *DataSourceStatusValue) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := DataSourceStatusValue(value) + for _, existing := range AllowedDataSourceStatusValueEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid DataSourceStatusValue", value) +} + +// NewDataSourceStatusValueFromValue returns a pointer to a valid DataSourceStatusValue +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewDataSourceStatusValueFromValue(v string) (*DataSourceStatusValue, error) { + ev := DataSourceStatusValue(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for DataSourceStatusValue: valid values are %v", v, AllowedDataSourceStatusValueEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v DataSourceStatusValue) IsValid() bool { + for _, existing := range AllowedDataSourceStatusValueEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to DataSource_status_value value +func (v DataSourceStatusValue) Ptr() *DataSourceStatusValue { + return &v +} + +type NullableDataSourceStatusValue struct { + value *DataSourceStatusValue + isSet bool +} + +func (v NullableDataSourceStatusValue) Get() *DataSourceStatusValue { + return v.value +} + +func (v *NullableDataSourceStatusValue) Set(val *DataSourceStatusValue) { + v.value = val + v.isSet = true +} + +func (v NullableDataSourceStatusValue) IsSet() bool { + return v.isSet +} + +func (v *NullableDataSourceStatusValue) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDataSourceStatusValue(val *DataSourceStatusValue) *NullableDataSourceStatusValue { + return &NullableDataSourceStatusValue{value: val, isSet: true} +} + +func (v NullableDataSourceStatusValue) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDataSourceStatusValue) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_data_source_type.go b/model_data_source_type.go new file mode 100644 index 000000000..2f9071115 --- /dev/null +++ b/model_data_source_type.go @@ -0,0 +1,190 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" +) + +// checks if the DataSourceType type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &DataSourceType{} + +// DataSourceType struct for DataSourceType +type DataSourceType struct { + Value *DataSourceTypeValue `json:"value,omitempty"` + Label *DataSourceTypeLabel `json:"label,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _DataSourceType DataSourceType + +// NewDataSourceType instantiates a new DataSourceType object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDataSourceType() *DataSourceType { + this := DataSourceType{} + return &this +} + +// NewDataSourceTypeWithDefaults instantiates a new DataSourceType object +// This 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 NewDataSourceTypeWithDefaults() *DataSourceType { + this := DataSourceType{} + return &this +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *DataSourceType) GetValue() DataSourceTypeValue { + if o == nil || IsNil(o.Value) { + var ret DataSourceTypeValue + 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 *DataSourceType) GetValueOk() (*DataSourceTypeValue, 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 *DataSourceType) HasValue() bool { + if o != nil && !IsNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given DataSourceTypeValue and assigns it to the Value field. +func (o *DataSourceType) SetValue(v DataSourceTypeValue) { + o.Value = &v +} + +// GetLabel returns the Label field value if set, zero value otherwise. +func (o *DataSourceType) GetLabel() DataSourceTypeLabel { + if o == nil || IsNil(o.Label) { + var ret DataSourceTypeLabel + 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 *DataSourceType) GetLabelOk() (*DataSourceTypeLabel, 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 *DataSourceType) HasLabel() bool { + if o != nil && !IsNil(o.Label) { + return true + } + + return false +} + +// SetLabel gets a reference to the given DataSourceTypeLabel and assigns it to the Label field. +func (o *DataSourceType) SetLabel(v DataSourceTypeLabel) { + o.Label = &v +} + +func (o DataSourceType) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o DataSourceType) 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 *DataSourceType) UnmarshalJSON(data []byte) (err error) { + varDataSourceType := _DataSourceType{} + + err = json.Unmarshal(data, &varDataSourceType) + + if err != nil { + return err + } + + *o = DataSourceType(varDataSourceType) + + 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 NullableDataSourceType struct { + value *DataSourceType + isSet bool +} + +func (v NullableDataSourceType) Get() *DataSourceType { + return v.value +} + +func (v *NullableDataSourceType) Set(val *DataSourceType) { + v.value = val + v.isSet = true +} + +func (v NullableDataSourceType) IsSet() bool { + return v.isSet +} + +func (v *NullableDataSourceType) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDataSourceType(val *DataSourceType) *NullableDataSourceType { + return &NullableDataSourceType{value: val, isSet: true} +} + +func (v NullableDataSourceType) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDataSourceType) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_data_source_type_label.go b/model_data_source_type_label.go new file mode 100644 index 000000000..77eab1c69 --- /dev/null +++ b/model_data_source_type_label.go @@ -0,0 +1,114 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// DataSourceTypeLabel the model 'DataSourceTypeLabel' +type DataSourceTypeLabel string + +// List of DataSource_type_label +const ( + DATASOURCETYPELABEL________ DataSourceTypeLabel = "---------" + DATASOURCETYPELABEL_LOCAL DataSourceTypeLabel = "Local" + DATASOURCETYPELABEL_GIT DataSourceTypeLabel = "Git" + DATASOURCETYPELABEL_AMAZON_S3 DataSourceTypeLabel = "Amazon S3" +) + +// All allowed values of DataSourceTypeLabel enum +var AllowedDataSourceTypeLabelEnumValues = []DataSourceTypeLabel{ + "---------", + "Local", + "Git", + "Amazon S3", +} + +func (v *DataSourceTypeLabel) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := DataSourceTypeLabel(value) + for _, existing := range AllowedDataSourceTypeLabelEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid DataSourceTypeLabel", value) +} + +// NewDataSourceTypeLabelFromValue returns a pointer to a valid DataSourceTypeLabel +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewDataSourceTypeLabelFromValue(v string) (*DataSourceTypeLabel, error) { + ev := DataSourceTypeLabel(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for DataSourceTypeLabel: valid values are %v", v, AllowedDataSourceTypeLabelEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v DataSourceTypeLabel) IsValid() bool { + for _, existing := range AllowedDataSourceTypeLabelEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to DataSource_type_label value +func (v DataSourceTypeLabel) Ptr() *DataSourceTypeLabel { + return &v +} + +type NullableDataSourceTypeLabel struct { + value *DataSourceTypeLabel + isSet bool +} + +func (v NullableDataSourceTypeLabel) Get() *DataSourceTypeLabel { + return v.value +} + +func (v *NullableDataSourceTypeLabel) Set(val *DataSourceTypeLabel) { + v.value = val + v.isSet = true +} + +func (v NullableDataSourceTypeLabel) IsSet() bool { + return v.isSet +} + +func (v *NullableDataSourceTypeLabel) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDataSourceTypeLabel(val *DataSourceTypeLabel) *NullableDataSourceTypeLabel { + return &NullableDataSourceTypeLabel{value: val, isSet: true} +} + +func (v NullableDataSourceTypeLabel) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDataSourceTypeLabel) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_data_source_type_value.go b/model_data_source_type_value.go new file mode 100644 index 000000000..6403f679a --- /dev/null +++ b/model_data_source_type_value.go @@ -0,0 +1,112 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// DataSourceTypeValue * `None` - --------- * `local` - Local * `git` - Git * `amazon-s3` - Amazon S3 +type DataSourceTypeValue string + +// List of DataSource_type_value +const ( + DATASOURCETYPEVALUE_LOCAL DataSourceTypeValue = "local" + DATASOURCETYPEVALUE_GIT DataSourceTypeValue = "git" + DATASOURCETYPEVALUE_AMAZON_S3 DataSourceTypeValue = "amazon-s3" +) + +// All allowed values of DataSourceTypeValue enum +var AllowedDataSourceTypeValueEnumValues = []DataSourceTypeValue{ + "local", + "git", + "amazon-s3", +} + +func (v *DataSourceTypeValue) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := DataSourceTypeValue(value) + for _, existing := range AllowedDataSourceTypeValueEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid DataSourceTypeValue", value) +} + +// NewDataSourceTypeValueFromValue returns a pointer to a valid DataSourceTypeValue +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewDataSourceTypeValueFromValue(v string) (*DataSourceTypeValue, error) { + ev := DataSourceTypeValue(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for DataSourceTypeValue: valid values are %v", v, AllowedDataSourceTypeValueEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v DataSourceTypeValue) IsValid() bool { + for _, existing := range AllowedDataSourceTypeValueEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to DataSource_type_value value +func (v DataSourceTypeValue) Ptr() *DataSourceTypeValue { + return &v +} + +type NullableDataSourceTypeValue struct { + value *DataSourceTypeValue + isSet bool +} + +func (v NullableDataSourceTypeValue) Get() *DataSourceTypeValue { + return v.value +} + +func (v *NullableDataSourceTypeValue) Set(val *DataSourceTypeValue) { + v.value = val + v.isSet = true +} + +func (v NullableDataSourceTypeValue) IsSet() bool { + return v.isSet +} + +func (v *NullableDataSourceTypeValue) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDataSourceTypeValue(val *DataSourceTypeValue) *NullableDataSourceTypeValue { + return &NullableDataSourceTypeValue{value: val, isSet: true} +} + +func (v NullableDataSourceTypeValue) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDataSourceTypeValue) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_dcim_cables_list_length_unit_parameter.go b/model_dcim_cables_list_length_unit_parameter.go index f19ebe5fe..5e1152530 100644 --- a/model_dcim_cables_list_length_unit_parameter.go +++ b/model_dcim_cables_list_length_unit_parameter.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_dcim_cables_list_status__ic_parameter_inner.go b/model_dcim_cables_list_status__ic_parameter_inner.go new file mode 100644 index 000000000..4acac6705 --- /dev/null +++ b/model_dcim_cables_list_status__ic_parameter_inner.go @@ -0,0 +1,113 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// DcimCablesListStatusIcParameterInner the model 'DcimCablesListStatusIcParameterInner' +type DcimCablesListStatusIcParameterInner string + +// List of dcim_cables_list_status__ic_parameter_inner +const ( + DCIMCABLESLISTSTATUSICPARAMETERINNER_CONNECTED DcimCablesListStatusIcParameterInner = "connected" + DCIMCABLESLISTSTATUSICPARAMETERINNER_DECOMMISSIONING DcimCablesListStatusIcParameterInner = "decommissioning" + DCIMCABLESLISTSTATUSICPARAMETERINNER_PLANNED DcimCablesListStatusIcParameterInner = "planned" +) + +// All allowed values of DcimCablesListStatusIcParameterInner enum +var AllowedDcimCablesListStatusIcParameterInnerEnumValues = []DcimCablesListStatusIcParameterInner{ + "connected", + "decommissioning", + "planned", +} + +func (v *DcimCablesListStatusIcParameterInner) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := DcimCablesListStatusIcParameterInner(value) + for _, existing := range AllowedDcimCablesListStatusIcParameterInnerEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid DcimCablesListStatusIcParameterInner", value) +} + +// NewDcimCablesListStatusIcParameterInnerFromValue returns a pointer to a valid DcimCablesListStatusIcParameterInner +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewDcimCablesListStatusIcParameterInnerFromValue(v string) (*DcimCablesListStatusIcParameterInner, error) { + ev := DcimCablesListStatusIcParameterInner(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for DcimCablesListStatusIcParameterInner: valid values are %v", v, AllowedDcimCablesListStatusIcParameterInnerEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v DcimCablesListStatusIcParameterInner) IsValid() bool { + for _, existing := range AllowedDcimCablesListStatusIcParameterInnerEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to dcim_cables_list_status__ic_parameter_inner value +func (v DcimCablesListStatusIcParameterInner) Ptr() *DcimCablesListStatusIcParameterInner { + return &v +} + +type NullableDcimCablesListStatusIcParameterInner struct { + value *DcimCablesListStatusIcParameterInner + isSet bool +} + +func (v NullableDcimCablesListStatusIcParameterInner) Get() *DcimCablesListStatusIcParameterInner { + return v.value +} + +func (v *NullableDcimCablesListStatusIcParameterInner) Set(val *DcimCablesListStatusIcParameterInner) { + v.value = val + v.isSet = true +} + +func (v NullableDcimCablesListStatusIcParameterInner) IsSet() bool { + return v.isSet +} + +func (v *NullableDcimCablesListStatusIcParameterInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDcimCablesListStatusIcParameterInner(val *DcimCablesListStatusIcParameterInner) *NullableDcimCablesListStatusIcParameterInner { + return &NullableDcimCablesListStatusIcParameterInner{value: val, isSet: true} +} + +func (v NullableDcimCablesListStatusIcParameterInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDcimCablesListStatusIcParameterInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_dcim_cables_list_type__ic_parameter_inner.go b/model_dcim_cables_list_type__ic_parameter_inner.go new file mode 100644 index 000000000..51cfcc2e2 --- /dev/null +++ b/model_dcim_cables_list_type__ic_parameter_inner.go @@ -0,0 +1,157 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// DcimCablesListTypeIcParameterInner the model 'DcimCablesListTypeIcParameterInner' +type DcimCablesListTypeIcParameterInner string + +// List of dcim_cables_list_type__ic_parameter_inner +const ( + DCIMCABLESLISTTYPEICPARAMETERINNER_EMPTY DcimCablesListTypeIcParameterInner = "" + DCIMCABLESLISTTYPEICPARAMETERINNER_AOC DcimCablesListTypeIcParameterInner = "aoc" + DCIMCABLESLISTTYPEICPARAMETERINNER_CAT3 DcimCablesListTypeIcParameterInner = "cat3" + DCIMCABLESLISTTYPEICPARAMETERINNER_CAT5 DcimCablesListTypeIcParameterInner = "cat5" + DCIMCABLESLISTTYPEICPARAMETERINNER_CAT5E DcimCablesListTypeIcParameterInner = "cat5e" + DCIMCABLESLISTTYPEICPARAMETERINNER_CAT6 DcimCablesListTypeIcParameterInner = "cat6" + DCIMCABLESLISTTYPEICPARAMETERINNER_CAT6A DcimCablesListTypeIcParameterInner = "cat6a" + DCIMCABLESLISTTYPEICPARAMETERINNER_CAT7 DcimCablesListTypeIcParameterInner = "cat7" + DCIMCABLESLISTTYPEICPARAMETERINNER_CAT7A DcimCablesListTypeIcParameterInner = "cat7a" + DCIMCABLESLISTTYPEICPARAMETERINNER_CAT8 DcimCablesListTypeIcParameterInner = "cat8" + DCIMCABLESLISTTYPEICPARAMETERINNER_COAXIAL DcimCablesListTypeIcParameterInner = "coaxial" + DCIMCABLESLISTTYPEICPARAMETERINNER_DAC_ACTIVE DcimCablesListTypeIcParameterInner = "dac-active" + DCIMCABLESLISTTYPEICPARAMETERINNER_DAC_PASSIVE DcimCablesListTypeIcParameterInner = "dac-passive" + DCIMCABLESLISTTYPEICPARAMETERINNER_MMF DcimCablesListTypeIcParameterInner = "mmf" + DCIMCABLESLISTTYPEICPARAMETERINNER_MMF_OM1 DcimCablesListTypeIcParameterInner = "mmf-om1" + DCIMCABLESLISTTYPEICPARAMETERINNER_MMF_OM2 DcimCablesListTypeIcParameterInner = "mmf-om2" + DCIMCABLESLISTTYPEICPARAMETERINNER_MMF_OM3 DcimCablesListTypeIcParameterInner = "mmf-om3" + DCIMCABLESLISTTYPEICPARAMETERINNER_MMF_OM4 DcimCablesListTypeIcParameterInner = "mmf-om4" + DCIMCABLESLISTTYPEICPARAMETERINNER_MMF_OM5 DcimCablesListTypeIcParameterInner = "mmf-om5" + DCIMCABLESLISTTYPEICPARAMETERINNER_MRJ21_TRUNK DcimCablesListTypeIcParameterInner = "mrj21-trunk" + DCIMCABLESLISTTYPEICPARAMETERINNER_POWER DcimCablesListTypeIcParameterInner = "power" + DCIMCABLESLISTTYPEICPARAMETERINNER_SMF DcimCablesListTypeIcParameterInner = "smf" + DCIMCABLESLISTTYPEICPARAMETERINNER_SMF_OS1 DcimCablesListTypeIcParameterInner = "smf-os1" + DCIMCABLESLISTTYPEICPARAMETERINNER_SMF_OS2 DcimCablesListTypeIcParameterInner = "smf-os2" + DCIMCABLESLISTTYPEICPARAMETERINNER_USB DcimCablesListTypeIcParameterInner = "usb" +) + +// All allowed values of DcimCablesListTypeIcParameterInner enum +var AllowedDcimCablesListTypeIcParameterInnerEnumValues = []DcimCablesListTypeIcParameterInner{ + "", + "aoc", + "cat3", + "cat5", + "cat5e", + "cat6", + "cat6a", + "cat7", + "cat7a", + "cat8", + "coaxial", + "dac-active", + "dac-passive", + "mmf", + "mmf-om1", + "mmf-om2", + "mmf-om3", + "mmf-om4", + "mmf-om5", + "mrj21-trunk", + "power", + "smf", + "smf-os1", + "smf-os2", + "usb", +} + +func (v *DcimCablesListTypeIcParameterInner) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := DcimCablesListTypeIcParameterInner(value) + for _, existing := range AllowedDcimCablesListTypeIcParameterInnerEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid DcimCablesListTypeIcParameterInner", value) +} + +// NewDcimCablesListTypeIcParameterInnerFromValue returns a pointer to a valid DcimCablesListTypeIcParameterInner +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewDcimCablesListTypeIcParameterInnerFromValue(v string) (*DcimCablesListTypeIcParameterInner, error) { + ev := DcimCablesListTypeIcParameterInner(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for DcimCablesListTypeIcParameterInner: valid values are %v", v, AllowedDcimCablesListTypeIcParameterInnerEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v DcimCablesListTypeIcParameterInner) IsValid() bool { + for _, existing := range AllowedDcimCablesListTypeIcParameterInnerEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to dcim_cables_list_type__ic_parameter_inner value +func (v DcimCablesListTypeIcParameterInner) Ptr() *DcimCablesListTypeIcParameterInner { + return &v +} + +type NullableDcimCablesListTypeIcParameterInner struct { + value *DcimCablesListTypeIcParameterInner + isSet bool +} + +func (v NullableDcimCablesListTypeIcParameterInner) Get() *DcimCablesListTypeIcParameterInner { + return v.value +} + +func (v *NullableDcimCablesListTypeIcParameterInner) Set(val *DcimCablesListTypeIcParameterInner) { + v.value = val + v.isSet = true +} + +func (v NullableDcimCablesListTypeIcParameterInner) IsSet() bool { + return v.isSet +} + +func (v *NullableDcimCablesListTypeIcParameterInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDcimCablesListTypeIcParameterInner(val *DcimCablesListTypeIcParameterInner) *NullableDcimCablesListTypeIcParameterInner { + return &NullableDcimCablesListTypeIcParameterInner{value: val, isSet: true} +} + +func (v NullableDcimCablesListTypeIcParameterInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDcimCablesListTypeIcParameterInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_dcim_console_port_templates_list_type_parameter.go b/model_dcim_console_port_templates_list_type_parameter.go index 7554c6357..8da84239a 100644 --- a/model_dcim_console_port_templates_list_type_parameter.go +++ b/model_dcim_console_port_templates_list_type_parameter.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_dcim_console_ports_list_device_status__ic_parameter_inner.go b/model_dcim_console_ports_list_device_status__ic_parameter_inner.go new file mode 100644 index 000000000..6187d5fc5 --- /dev/null +++ b/model_dcim_console_ports_list_device_status__ic_parameter_inner.go @@ -0,0 +1,121 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// DcimConsolePortsListDeviceStatusIcParameterInner the model 'DcimConsolePortsListDeviceStatusIcParameterInner' +type DcimConsolePortsListDeviceStatusIcParameterInner string + +// List of dcim_console_ports_list_device_status__ic_parameter_inner +const ( + DCIMCONSOLEPORTSLISTDEVICESTATUSICPARAMETERINNER_ACTIVE DcimConsolePortsListDeviceStatusIcParameterInner = "active" + DCIMCONSOLEPORTSLISTDEVICESTATUSICPARAMETERINNER_DECOMMISSIONING DcimConsolePortsListDeviceStatusIcParameterInner = "decommissioning" + DCIMCONSOLEPORTSLISTDEVICESTATUSICPARAMETERINNER_FAILED DcimConsolePortsListDeviceStatusIcParameterInner = "failed" + DCIMCONSOLEPORTSLISTDEVICESTATUSICPARAMETERINNER_INVENTORY DcimConsolePortsListDeviceStatusIcParameterInner = "inventory" + DCIMCONSOLEPORTSLISTDEVICESTATUSICPARAMETERINNER_OFFLINE DcimConsolePortsListDeviceStatusIcParameterInner = "offline" + DCIMCONSOLEPORTSLISTDEVICESTATUSICPARAMETERINNER_PLANNED DcimConsolePortsListDeviceStatusIcParameterInner = "planned" + DCIMCONSOLEPORTSLISTDEVICESTATUSICPARAMETERINNER_STAGED DcimConsolePortsListDeviceStatusIcParameterInner = "staged" +) + +// All allowed values of DcimConsolePortsListDeviceStatusIcParameterInner enum +var AllowedDcimConsolePortsListDeviceStatusIcParameterInnerEnumValues = []DcimConsolePortsListDeviceStatusIcParameterInner{ + "active", + "decommissioning", + "failed", + "inventory", + "offline", + "planned", + "staged", +} + +func (v *DcimConsolePortsListDeviceStatusIcParameterInner) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := DcimConsolePortsListDeviceStatusIcParameterInner(value) + for _, existing := range AllowedDcimConsolePortsListDeviceStatusIcParameterInnerEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid DcimConsolePortsListDeviceStatusIcParameterInner", value) +} + +// NewDcimConsolePortsListDeviceStatusIcParameterInnerFromValue returns a pointer to a valid DcimConsolePortsListDeviceStatusIcParameterInner +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewDcimConsolePortsListDeviceStatusIcParameterInnerFromValue(v string) (*DcimConsolePortsListDeviceStatusIcParameterInner, error) { + ev := DcimConsolePortsListDeviceStatusIcParameterInner(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for DcimConsolePortsListDeviceStatusIcParameterInner: valid values are %v", v, AllowedDcimConsolePortsListDeviceStatusIcParameterInnerEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v DcimConsolePortsListDeviceStatusIcParameterInner) IsValid() bool { + for _, existing := range AllowedDcimConsolePortsListDeviceStatusIcParameterInnerEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to dcim_console_ports_list_device_status__ic_parameter_inner value +func (v DcimConsolePortsListDeviceStatusIcParameterInner) Ptr() *DcimConsolePortsListDeviceStatusIcParameterInner { + return &v +} + +type NullableDcimConsolePortsListDeviceStatusIcParameterInner struct { + value *DcimConsolePortsListDeviceStatusIcParameterInner + isSet bool +} + +func (v NullableDcimConsolePortsListDeviceStatusIcParameterInner) Get() *DcimConsolePortsListDeviceStatusIcParameterInner { + return v.value +} + +func (v *NullableDcimConsolePortsListDeviceStatusIcParameterInner) Set(val *DcimConsolePortsListDeviceStatusIcParameterInner) { + v.value = val + v.isSet = true +} + +func (v NullableDcimConsolePortsListDeviceStatusIcParameterInner) IsSet() bool { + return v.isSet +} + +func (v *NullableDcimConsolePortsListDeviceStatusIcParameterInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDcimConsolePortsListDeviceStatusIcParameterInner(val *DcimConsolePortsListDeviceStatusIcParameterInner) *NullableDcimConsolePortsListDeviceStatusIcParameterInner { + return &NullableDcimConsolePortsListDeviceStatusIcParameterInner{value: val, isSet: true} +} + +func (v NullableDcimConsolePortsListDeviceStatusIcParameterInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDcimConsolePortsListDeviceStatusIcParameterInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_dcim_console_ports_list_speed_parameter.go b/model_dcim_console_ports_list_speed_parameter.go index 1f1008b17..42545504e 100644 --- a/model_dcim_console_ports_list_speed_parameter.go +++ b/model_dcim_console_ports_list_speed_parameter.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_dcim_console_ports_list_type__ic_parameter_inner.go b/model_dcim_console_ports_list_type__ic_parameter_inner.go new file mode 100644 index 000000000..d36f28637 --- /dev/null +++ b/model_dcim_console_ports_list_type__ic_parameter_inner.go @@ -0,0 +1,139 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// DcimConsolePortsListTypeIcParameterInner the model 'DcimConsolePortsListTypeIcParameterInner' +type DcimConsolePortsListTypeIcParameterInner string + +// List of dcim_console_ports_list_type__ic_parameter_inner +const ( + DCIMCONSOLEPORTSLISTTYPEICPARAMETERINNER_EMPTY DcimConsolePortsListTypeIcParameterInner = "" + DCIMCONSOLEPORTSLISTTYPEICPARAMETERINNER_DB_25 DcimConsolePortsListTypeIcParameterInner = "db-25" + DCIMCONSOLEPORTSLISTTYPEICPARAMETERINNER_DE_9 DcimConsolePortsListTypeIcParameterInner = "de-9" + DCIMCONSOLEPORTSLISTTYPEICPARAMETERINNER_MINI_DIN_8 DcimConsolePortsListTypeIcParameterInner = "mini-din-8" + DCIMCONSOLEPORTSLISTTYPEICPARAMETERINNER_OTHER DcimConsolePortsListTypeIcParameterInner = "other" + DCIMCONSOLEPORTSLISTTYPEICPARAMETERINNER_RJ_11 DcimConsolePortsListTypeIcParameterInner = "rj-11" + DCIMCONSOLEPORTSLISTTYPEICPARAMETERINNER_RJ_12 DcimConsolePortsListTypeIcParameterInner = "rj-12" + DCIMCONSOLEPORTSLISTTYPEICPARAMETERINNER_RJ_45 DcimConsolePortsListTypeIcParameterInner = "rj-45" + DCIMCONSOLEPORTSLISTTYPEICPARAMETERINNER_USB_A DcimConsolePortsListTypeIcParameterInner = "usb-a" + DCIMCONSOLEPORTSLISTTYPEICPARAMETERINNER_USB_B DcimConsolePortsListTypeIcParameterInner = "usb-b" + DCIMCONSOLEPORTSLISTTYPEICPARAMETERINNER_USB_C DcimConsolePortsListTypeIcParameterInner = "usb-c" + DCIMCONSOLEPORTSLISTTYPEICPARAMETERINNER_USB_MICRO_A DcimConsolePortsListTypeIcParameterInner = "usb-micro-a" + DCIMCONSOLEPORTSLISTTYPEICPARAMETERINNER_USB_MICRO_AB DcimConsolePortsListTypeIcParameterInner = "usb-micro-ab" + DCIMCONSOLEPORTSLISTTYPEICPARAMETERINNER_USB_MICRO_B DcimConsolePortsListTypeIcParameterInner = "usb-micro-b" + DCIMCONSOLEPORTSLISTTYPEICPARAMETERINNER_USB_MINI_A DcimConsolePortsListTypeIcParameterInner = "usb-mini-a" + DCIMCONSOLEPORTSLISTTYPEICPARAMETERINNER_USB_MINI_B DcimConsolePortsListTypeIcParameterInner = "usb-mini-b" +) + +// All allowed values of DcimConsolePortsListTypeIcParameterInner enum +var AllowedDcimConsolePortsListTypeIcParameterInnerEnumValues = []DcimConsolePortsListTypeIcParameterInner{ + "", + "db-25", + "de-9", + "mini-din-8", + "other", + "rj-11", + "rj-12", + "rj-45", + "usb-a", + "usb-b", + "usb-c", + "usb-micro-a", + "usb-micro-ab", + "usb-micro-b", + "usb-mini-a", + "usb-mini-b", +} + +func (v *DcimConsolePortsListTypeIcParameterInner) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := DcimConsolePortsListTypeIcParameterInner(value) + for _, existing := range AllowedDcimConsolePortsListTypeIcParameterInnerEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid DcimConsolePortsListTypeIcParameterInner", value) +} + +// NewDcimConsolePortsListTypeIcParameterInnerFromValue returns a pointer to a valid DcimConsolePortsListTypeIcParameterInner +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewDcimConsolePortsListTypeIcParameterInnerFromValue(v string) (*DcimConsolePortsListTypeIcParameterInner, error) { + ev := DcimConsolePortsListTypeIcParameterInner(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for DcimConsolePortsListTypeIcParameterInner: valid values are %v", v, AllowedDcimConsolePortsListTypeIcParameterInnerEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v DcimConsolePortsListTypeIcParameterInner) IsValid() bool { + for _, existing := range AllowedDcimConsolePortsListTypeIcParameterInnerEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to dcim_console_ports_list_type__ic_parameter_inner value +func (v DcimConsolePortsListTypeIcParameterInner) Ptr() *DcimConsolePortsListTypeIcParameterInner { + return &v +} + +type NullableDcimConsolePortsListTypeIcParameterInner struct { + value *DcimConsolePortsListTypeIcParameterInner + isSet bool +} + +func (v NullableDcimConsolePortsListTypeIcParameterInner) Get() *DcimConsolePortsListTypeIcParameterInner { + return v.value +} + +func (v *NullableDcimConsolePortsListTypeIcParameterInner) Set(val *DcimConsolePortsListTypeIcParameterInner) { + v.value = val + v.isSet = true +} + +func (v NullableDcimConsolePortsListTypeIcParameterInner) IsSet() bool { + return v.isSet +} + +func (v *NullableDcimConsolePortsListTypeIcParameterInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDcimConsolePortsListTypeIcParameterInner(val *DcimConsolePortsListTypeIcParameterInner) *NullableDcimConsolePortsListTypeIcParameterInner { + return &NullableDcimConsolePortsListTypeIcParameterInner{value: val, isSet: true} +} + +func (v NullableDcimConsolePortsListTypeIcParameterInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDcimConsolePortsListTypeIcParameterInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_dcim_device_types_list_airflow_parameter.go b/model_dcim_device_types_list_airflow_parameter.go index 0d667f224..d22c5a2de 100644 --- a/model_dcim_device_types_list_airflow_parameter.go +++ b/model_dcim_device_types_list_airflow_parameter.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_dcim_device_types_list_weight_unit_parameter.go b/model_dcim_device_types_list_weight_unit_parameter.go index acfb6c6fe..d97292984 100644 --- a/model_dcim_device_types_list_weight_unit_parameter.go +++ b/model_dcim_device_types_list_weight_unit_parameter.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_dcim_devices_render_config_create_format_parameter.go b/model_dcim_devices_render_config_create_format_parameter.go index 62cac6541..82a30c7f5 100644 --- a/model_dcim_devices_render_config_create_format_parameter.go +++ b/model_dcim_devices_render_config_create_format_parameter.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_dcim_front_port_templates_list_type__ic_parameter_inner.go b/model_dcim_front_port_templates_list_type__ic_parameter_inner.go new file mode 100644 index 000000000..344c83017 --- /dev/null +++ b/model_dcim_front_port_templates_list_type__ic_parameter_inner.go @@ -0,0 +1,217 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// DcimFrontPortTemplatesListTypeIcParameterInner the model 'DcimFrontPortTemplatesListTypeIcParameterInner' +type DcimFrontPortTemplatesListTypeIcParameterInner string + +// List of dcim_front_port_templates_list_type__ic_parameter_inner +const ( + DCIMFRONTPORTTEMPLATESLISTTYPEICPARAMETERINNER__110_PUNCH DcimFrontPortTemplatesListTypeIcParameterInner = "110-punch" + DCIMFRONTPORTTEMPLATESLISTTYPEICPARAMETERINNER__4P2C DcimFrontPortTemplatesListTypeIcParameterInner = "4p2c" + DCIMFRONTPORTTEMPLATESLISTTYPEICPARAMETERINNER__4P4C DcimFrontPortTemplatesListTypeIcParameterInner = "4p4c" + DCIMFRONTPORTTEMPLATESLISTTYPEICPARAMETERINNER__6P2C DcimFrontPortTemplatesListTypeIcParameterInner = "6p2c" + DCIMFRONTPORTTEMPLATESLISTTYPEICPARAMETERINNER__6P4C DcimFrontPortTemplatesListTypeIcParameterInner = "6p4c" + DCIMFRONTPORTTEMPLATESLISTTYPEICPARAMETERINNER__6P6C DcimFrontPortTemplatesListTypeIcParameterInner = "6p6c" + DCIMFRONTPORTTEMPLATESLISTTYPEICPARAMETERINNER__8P2C DcimFrontPortTemplatesListTypeIcParameterInner = "8p2c" + DCIMFRONTPORTTEMPLATESLISTTYPEICPARAMETERINNER__8P4C DcimFrontPortTemplatesListTypeIcParameterInner = "8p4c" + DCIMFRONTPORTTEMPLATESLISTTYPEICPARAMETERINNER__8P6C DcimFrontPortTemplatesListTypeIcParameterInner = "8p6c" + DCIMFRONTPORTTEMPLATESLISTTYPEICPARAMETERINNER__8P8C DcimFrontPortTemplatesListTypeIcParameterInner = "8p8c" + DCIMFRONTPORTTEMPLATESLISTTYPEICPARAMETERINNER_BNC DcimFrontPortTemplatesListTypeIcParameterInner = "bnc" + DCIMFRONTPORTTEMPLATESLISTTYPEICPARAMETERINNER_CS DcimFrontPortTemplatesListTypeIcParameterInner = "cs" + DCIMFRONTPORTTEMPLATESLISTTYPEICPARAMETERINNER_F DcimFrontPortTemplatesListTypeIcParameterInner = "f" + DCIMFRONTPORTTEMPLATESLISTTYPEICPARAMETERINNER_FC DcimFrontPortTemplatesListTypeIcParameterInner = "fc" + DCIMFRONTPORTTEMPLATESLISTTYPEICPARAMETERINNER_GG45 DcimFrontPortTemplatesListTypeIcParameterInner = "gg45" + DCIMFRONTPORTTEMPLATESLISTTYPEICPARAMETERINNER_LC DcimFrontPortTemplatesListTypeIcParameterInner = "lc" + DCIMFRONTPORTTEMPLATESLISTTYPEICPARAMETERINNER_LC_APC DcimFrontPortTemplatesListTypeIcParameterInner = "lc-apc" + DCIMFRONTPORTTEMPLATESLISTTYPEICPARAMETERINNER_LC_PC DcimFrontPortTemplatesListTypeIcParameterInner = "lc-pc" + DCIMFRONTPORTTEMPLATESLISTTYPEICPARAMETERINNER_LC_UPC DcimFrontPortTemplatesListTypeIcParameterInner = "lc-upc" + DCIMFRONTPORTTEMPLATESLISTTYPEICPARAMETERINNER_LSH DcimFrontPortTemplatesListTypeIcParameterInner = "lsh" + DCIMFRONTPORTTEMPLATESLISTTYPEICPARAMETERINNER_LSH_APC DcimFrontPortTemplatesListTypeIcParameterInner = "lsh-apc" + DCIMFRONTPORTTEMPLATESLISTTYPEICPARAMETERINNER_LSH_PC DcimFrontPortTemplatesListTypeIcParameterInner = "lsh-pc" + DCIMFRONTPORTTEMPLATESLISTTYPEICPARAMETERINNER_LSH_UPC DcimFrontPortTemplatesListTypeIcParameterInner = "lsh-upc" + DCIMFRONTPORTTEMPLATESLISTTYPEICPARAMETERINNER_LX5 DcimFrontPortTemplatesListTypeIcParameterInner = "lx5" + DCIMFRONTPORTTEMPLATESLISTTYPEICPARAMETERINNER_LX5_APC DcimFrontPortTemplatesListTypeIcParameterInner = "lx5-apc" + DCIMFRONTPORTTEMPLATESLISTTYPEICPARAMETERINNER_LX5_PC DcimFrontPortTemplatesListTypeIcParameterInner = "lx5-pc" + DCIMFRONTPORTTEMPLATESLISTTYPEICPARAMETERINNER_LX5_UPC DcimFrontPortTemplatesListTypeIcParameterInner = "lx5-upc" + DCIMFRONTPORTTEMPLATESLISTTYPEICPARAMETERINNER_MPO DcimFrontPortTemplatesListTypeIcParameterInner = "mpo" + DCIMFRONTPORTTEMPLATESLISTTYPEICPARAMETERINNER_MRJ21 DcimFrontPortTemplatesListTypeIcParameterInner = "mrj21" + DCIMFRONTPORTTEMPLATESLISTTYPEICPARAMETERINNER_MTRJ DcimFrontPortTemplatesListTypeIcParameterInner = "mtrj" + DCIMFRONTPORTTEMPLATESLISTTYPEICPARAMETERINNER_N DcimFrontPortTemplatesListTypeIcParameterInner = "n" + DCIMFRONTPORTTEMPLATESLISTTYPEICPARAMETERINNER_OTHER DcimFrontPortTemplatesListTypeIcParameterInner = "other" + DCIMFRONTPORTTEMPLATESLISTTYPEICPARAMETERINNER_SC DcimFrontPortTemplatesListTypeIcParameterInner = "sc" + DCIMFRONTPORTTEMPLATESLISTTYPEICPARAMETERINNER_SC_APC DcimFrontPortTemplatesListTypeIcParameterInner = "sc-apc" + DCIMFRONTPORTTEMPLATESLISTTYPEICPARAMETERINNER_SC_PC DcimFrontPortTemplatesListTypeIcParameterInner = "sc-pc" + DCIMFRONTPORTTEMPLATESLISTTYPEICPARAMETERINNER_SC_UPC DcimFrontPortTemplatesListTypeIcParameterInner = "sc-upc" + DCIMFRONTPORTTEMPLATESLISTTYPEICPARAMETERINNER_SMA_905 DcimFrontPortTemplatesListTypeIcParameterInner = "sma-905" + DCIMFRONTPORTTEMPLATESLISTTYPEICPARAMETERINNER_SMA_906 DcimFrontPortTemplatesListTypeIcParameterInner = "sma-906" + DCIMFRONTPORTTEMPLATESLISTTYPEICPARAMETERINNER_SN DcimFrontPortTemplatesListTypeIcParameterInner = "sn" + DCIMFRONTPORTTEMPLATESLISTTYPEICPARAMETERINNER_SPLICE DcimFrontPortTemplatesListTypeIcParameterInner = "splice" + DCIMFRONTPORTTEMPLATESLISTTYPEICPARAMETERINNER_ST DcimFrontPortTemplatesListTypeIcParameterInner = "st" + DCIMFRONTPORTTEMPLATESLISTTYPEICPARAMETERINNER_TERA_1P DcimFrontPortTemplatesListTypeIcParameterInner = "tera-1p" + DCIMFRONTPORTTEMPLATESLISTTYPEICPARAMETERINNER_TERA_2P DcimFrontPortTemplatesListTypeIcParameterInner = "tera-2p" + DCIMFRONTPORTTEMPLATESLISTTYPEICPARAMETERINNER_TERA_4P DcimFrontPortTemplatesListTypeIcParameterInner = "tera-4p" + DCIMFRONTPORTTEMPLATESLISTTYPEICPARAMETERINNER_URM_P2 DcimFrontPortTemplatesListTypeIcParameterInner = "urm-p2" + DCIMFRONTPORTTEMPLATESLISTTYPEICPARAMETERINNER_URM_P4 DcimFrontPortTemplatesListTypeIcParameterInner = "urm-p4" + DCIMFRONTPORTTEMPLATESLISTTYPEICPARAMETERINNER_URM_P8 DcimFrontPortTemplatesListTypeIcParameterInner = "urm-p8" + DCIMFRONTPORTTEMPLATESLISTTYPEICPARAMETERINNER_USB_A DcimFrontPortTemplatesListTypeIcParameterInner = "usb-a" + DCIMFRONTPORTTEMPLATESLISTTYPEICPARAMETERINNER_USB_B DcimFrontPortTemplatesListTypeIcParameterInner = "usb-b" + DCIMFRONTPORTTEMPLATESLISTTYPEICPARAMETERINNER_USB_C DcimFrontPortTemplatesListTypeIcParameterInner = "usb-c" + DCIMFRONTPORTTEMPLATESLISTTYPEICPARAMETERINNER_USB_MICRO_A DcimFrontPortTemplatesListTypeIcParameterInner = "usb-micro-a" + DCIMFRONTPORTTEMPLATESLISTTYPEICPARAMETERINNER_USB_MICRO_AB DcimFrontPortTemplatesListTypeIcParameterInner = "usb-micro-ab" + DCIMFRONTPORTTEMPLATESLISTTYPEICPARAMETERINNER_USB_MICRO_B DcimFrontPortTemplatesListTypeIcParameterInner = "usb-micro-b" + DCIMFRONTPORTTEMPLATESLISTTYPEICPARAMETERINNER_USB_MINI_A DcimFrontPortTemplatesListTypeIcParameterInner = "usb-mini-a" + DCIMFRONTPORTTEMPLATESLISTTYPEICPARAMETERINNER_USB_MINI_B DcimFrontPortTemplatesListTypeIcParameterInner = "usb-mini-b" +) + +// All allowed values of DcimFrontPortTemplatesListTypeIcParameterInner enum +var AllowedDcimFrontPortTemplatesListTypeIcParameterInnerEnumValues = []DcimFrontPortTemplatesListTypeIcParameterInner{ + "110-punch", + "4p2c", + "4p4c", + "6p2c", + "6p4c", + "6p6c", + "8p2c", + "8p4c", + "8p6c", + "8p8c", + "bnc", + "cs", + "f", + "fc", + "gg45", + "lc", + "lc-apc", + "lc-pc", + "lc-upc", + "lsh", + "lsh-apc", + "lsh-pc", + "lsh-upc", + "lx5", + "lx5-apc", + "lx5-pc", + "lx5-upc", + "mpo", + "mrj21", + "mtrj", + "n", + "other", + "sc", + "sc-apc", + "sc-pc", + "sc-upc", + "sma-905", + "sma-906", + "sn", + "splice", + "st", + "tera-1p", + "tera-2p", + "tera-4p", + "urm-p2", + "urm-p4", + "urm-p8", + "usb-a", + "usb-b", + "usb-c", + "usb-micro-a", + "usb-micro-ab", + "usb-micro-b", + "usb-mini-a", + "usb-mini-b", +} + +func (v *DcimFrontPortTemplatesListTypeIcParameterInner) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := DcimFrontPortTemplatesListTypeIcParameterInner(value) + for _, existing := range AllowedDcimFrontPortTemplatesListTypeIcParameterInnerEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid DcimFrontPortTemplatesListTypeIcParameterInner", value) +} + +// NewDcimFrontPortTemplatesListTypeIcParameterInnerFromValue returns a pointer to a valid DcimFrontPortTemplatesListTypeIcParameterInner +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewDcimFrontPortTemplatesListTypeIcParameterInnerFromValue(v string) (*DcimFrontPortTemplatesListTypeIcParameterInner, error) { + ev := DcimFrontPortTemplatesListTypeIcParameterInner(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for DcimFrontPortTemplatesListTypeIcParameterInner: valid values are %v", v, AllowedDcimFrontPortTemplatesListTypeIcParameterInnerEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v DcimFrontPortTemplatesListTypeIcParameterInner) IsValid() bool { + for _, existing := range AllowedDcimFrontPortTemplatesListTypeIcParameterInnerEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to dcim_front_port_templates_list_type__ic_parameter_inner value +func (v DcimFrontPortTemplatesListTypeIcParameterInner) Ptr() *DcimFrontPortTemplatesListTypeIcParameterInner { + return &v +} + +type NullableDcimFrontPortTemplatesListTypeIcParameterInner struct { + value *DcimFrontPortTemplatesListTypeIcParameterInner + isSet bool +} + +func (v NullableDcimFrontPortTemplatesListTypeIcParameterInner) Get() *DcimFrontPortTemplatesListTypeIcParameterInner { + return v.value +} + +func (v *NullableDcimFrontPortTemplatesListTypeIcParameterInner) Set(val *DcimFrontPortTemplatesListTypeIcParameterInner) { + v.value = val + v.isSet = true +} + +func (v NullableDcimFrontPortTemplatesListTypeIcParameterInner) IsSet() bool { + return v.isSet +} + +func (v *NullableDcimFrontPortTemplatesListTypeIcParameterInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDcimFrontPortTemplatesListTypeIcParameterInner(val *DcimFrontPortTemplatesListTypeIcParameterInner) *NullableDcimFrontPortTemplatesListTypeIcParameterInner { + return &NullableDcimFrontPortTemplatesListTypeIcParameterInner{value: val, isSet: true} +} + +func (v NullableDcimFrontPortTemplatesListTypeIcParameterInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDcimFrontPortTemplatesListTypeIcParameterInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_dcim_interface_templates_list_poe_mode__ic_parameter_inner.go b/model_dcim_interface_templates_list_poe_mode__ic_parameter_inner.go new file mode 100644 index 000000000..3ae8d3214 --- /dev/null +++ b/model_dcim_interface_templates_list_poe_mode__ic_parameter_inner.go @@ -0,0 +1,113 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// DcimInterfaceTemplatesListPoeModeIcParameterInner the model 'DcimInterfaceTemplatesListPoeModeIcParameterInner' +type DcimInterfaceTemplatesListPoeModeIcParameterInner string + +// List of dcim_interface_templates_list_poe_mode__ic_parameter_inner +const ( + DCIMINTERFACETEMPLATESLISTPOEMODEICPARAMETERINNER_EMPTY DcimInterfaceTemplatesListPoeModeIcParameterInner = "" + DCIMINTERFACETEMPLATESLISTPOEMODEICPARAMETERINNER_PD DcimInterfaceTemplatesListPoeModeIcParameterInner = "pd" + DCIMINTERFACETEMPLATESLISTPOEMODEICPARAMETERINNER_PSE DcimInterfaceTemplatesListPoeModeIcParameterInner = "pse" +) + +// All allowed values of DcimInterfaceTemplatesListPoeModeIcParameterInner enum +var AllowedDcimInterfaceTemplatesListPoeModeIcParameterInnerEnumValues = []DcimInterfaceTemplatesListPoeModeIcParameterInner{ + "", + "pd", + "pse", +} + +func (v *DcimInterfaceTemplatesListPoeModeIcParameterInner) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := DcimInterfaceTemplatesListPoeModeIcParameterInner(value) + for _, existing := range AllowedDcimInterfaceTemplatesListPoeModeIcParameterInnerEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid DcimInterfaceTemplatesListPoeModeIcParameterInner", value) +} + +// NewDcimInterfaceTemplatesListPoeModeIcParameterInnerFromValue returns a pointer to a valid DcimInterfaceTemplatesListPoeModeIcParameterInner +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewDcimInterfaceTemplatesListPoeModeIcParameterInnerFromValue(v string) (*DcimInterfaceTemplatesListPoeModeIcParameterInner, error) { + ev := DcimInterfaceTemplatesListPoeModeIcParameterInner(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for DcimInterfaceTemplatesListPoeModeIcParameterInner: valid values are %v", v, AllowedDcimInterfaceTemplatesListPoeModeIcParameterInnerEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v DcimInterfaceTemplatesListPoeModeIcParameterInner) IsValid() bool { + for _, existing := range AllowedDcimInterfaceTemplatesListPoeModeIcParameterInnerEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to dcim_interface_templates_list_poe_mode__ic_parameter_inner value +func (v DcimInterfaceTemplatesListPoeModeIcParameterInner) Ptr() *DcimInterfaceTemplatesListPoeModeIcParameterInner { + return &v +} + +type NullableDcimInterfaceTemplatesListPoeModeIcParameterInner struct { + value *DcimInterfaceTemplatesListPoeModeIcParameterInner + isSet bool +} + +func (v NullableDcimInterfaceTemplatesListPoeModeIcParameterInner) Get() *DcimInterfaceTemplatesListPoeModeIcParameterInner { + return v.value +} + +func (v *NullableDcimInterfaceTemplatesListPoeModeIcParameterInner) Set(val *DcimInterfaceTemplatesListPoeModeIcParameterInner) { + v.value = val + v.isSet = true +} + +func (v NullableDcimInterfaceTemplatesListPoeModeIcParameterInner) IsSet() bool { + return v.isSet +} + +func (v *NullableDcimInterfaceTemplatesListPoeModeIcParameterInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDcimInterfaceTemplatesListPoeModeIcParameterInner(val *DcimInterfaceTemplatesListPoeModeIcParameterInner) *NullableDcimInterfaceTemplatesListPoeModeIcParameterInner { + return &NullableDcimInterfaceTemplatesListPoeModeIcParameterInner{value: val, isSet: true} +} + +func (v NullableDcimInterfaceTemplatesListPoeModeIcParameterInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDcimInterfaceTemplatesListPoeModeIcParameterInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_dcim_interface_templates_list_poe_type__ic_parameter_inner.go b/model_dcim_interface_templates_list_poe_type__ic_parameter_inner.go new file mode 100644 index 000000000..62e274cf6 --- /dev/null +++ b/model_dcim_interface_templates_list_poe_type__ic_parameter_inner.go @@ -0,0 +1,125 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// DcimInterfaceTemplatesListPoeTypeIcParameterInner the model 'DcimInterfaceTemplatesListPoeTypeIcParameterInner' +type DcimInterfaceTemplatesListPoeTypeIcParameterInner string + +// List of dcim_interface_templates_list_poe_type__ic_parameter_inner +const ( + DCIMINTERFACETEMPLATESLISTPOETYPEICPARAMETERINNER_EMPTY DcimInterfaceTemplatesListPoeTypeIcParameterInner = "" + DCIMINTERFACETEMPLATESLISTPOETYPEICPARAMETERINNER_PASSIVE_24V_2PAIR DcimInterfaceTemplatesListPoeTypeIcParameterInner = "passive-24v-2pair" + DCIMINTERFACETEMPLATESLISTPOETYPEICPARAMETERINNER_PASSIVE_24V_4PAIR DcimInterfaceTemplatesListPoeTypeIcParameterInner = "passive-24v-4pair" + DCIMINTERFACETEMPLATESLISTPOETYPEICPARAMETERINNER_PASSIVE_48V_2PAIR DcimInterfaceTemplatesListPoeTypeIcParameterInner = "passive-48v-2pair" + DCIMINTERFACETEMPLATESLISTPOETYPEICPARAMETERINNER_PASSIVE_48V_4PAIR DcimInterfaceTemplatesListPoeTypeIcParameterInner = "passive-48v-4pair" + DCIMINTERFACETEMPLATESLISTPOETYPEICPARAMETERINNER_TYPE1_IEEE802_3AF DcimInterfaceTemplatesListPoeTypeIcParameterInner = "type1-ieee802.3af" + DCIMINTERFACETEMPLATESLISTPOETYPEICPARAMETERINNER_TYPE2_IEEE802_3AT DcimInterfaceTemplatesListPoeTypeIcParameterInner = "type2-ieee802.3at" + DCIMINTERFACETEMPLATESLISTPOETYPEICPARAMETERINNER_TYPE3_IEEE802_3BT DcimInterfaceTemplatesListPoeTypeIcParameterInner = "type3-ieee802.3bt" + DCIMINTERFACETEMPLATESLISTPOETYPEICPARAMETERINNER_TYPE4_IEEE802_3BT DcimInterfaceTemplatesListPoeTypeIcParameterInner = "type4-ieee802.3bt" +) + +// All allowed values of DcimInterfaceTemplatesListPoeTypeIcParameterInner enum +var AllowedDcimInterfaceTemplatesListPoeTypeIcParameterInnerEnumValues = []DcimInterfaceTemplatesListPoeTypeIcParameterInner{ + "", + "passive-24v-2pair", + "passive-24v-4pair", + "passive-48v-2pair", + "passive-48v-4pair", + "type1-ieee802.3af", + "type2-ieee802.3at", + "type3-ieee802.3bt", + "type4-ieee802.3bt", +} + +func (v *DcimInterfaceTemplatesListPoeTypeIcParameterInner) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := DcimInterfaceTemplatesListPoeTypeIcParameterInner(value) + for _, existing := range AllowedDcimInterfaceTemplatesListPoeTypeIcParameterInnerEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid DcimInterfaceTemplatesListPoeTypeIcParameterInner", value) +} + +// NewDcimInterfaceTemplatesListPoeTypeIcParameterInnerFromValue returns a pointer to a valid DcimInterfaceTemplatesListPoeTypeIcParameterInner +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewDcimInterfaceTemplatesListPoeTypeIcParameterInnerFromValue(v string) (*DcimInterfaceTemplatesListPoeTypeIcParameterInner, error) { + ev := DcimInterfaceTemplatesListPoeTypeIcParameterInner(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for DcimInterfaceTemplatesListPoeTypeIcParameterInner: valid values are %v", v, AllowedDcimInterfaceTemplatesListPoeTypeIcParameterInnerEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v DcimInterfaceTemplatesListPoeTypeIcParameterInner) IsValid() bool { + for _, existing := range AllowedDcimInterfaceTemplatesListPoeTypeIcParameterInnerEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to dcim_interface_templates_list_poe_type__ic_parameter_inner value +func (v DcimInterfaceTemplatesListPoeTypeIcParameterInner) Ptr() *DcimInterfaceTemplatesListPoeTypeIcParameterInner { + return &v +} + +type NullableDcimInterfaceTemplatesListPoeTypeIcParameterInner struct { + value *DcimInterfaceTemplatesListPoeTypeIcParameterInner + isSet bool +} + +func (v NullableDcimInterfaceTemplatesListPoeTypeIcParameterInner) Get() *DcimInterfaceTemplatesListPoeTypeIcParameterInner { + return v.value +} + +func (v *NullableDcimInterfaceTemplatesListPoeTypeIcParameterInner) Set(val *DcimInterfaceTemplatesListPoeTypeIcParameterInner) { + v.value = val + v.isSet = true +} + +func (v NullableDcimInterfaceTemplatesListPoeTypeIcParameterInner) IsSet() bool { + return v.isSet +} + +func (v *NullableDcimInterfaceTemplatesListPoeTypeIcParameterInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDcimInterfaceTemplatesListPoeTypeIcParameterInner(val *DcimInterfaceTemplatesListPoeTypeIcParameterInner) *NullableDcimInterfaceTemplatesListPoeTypeIcParameterInner { + return &NullableDcimInterfaceTemplatesListPoeTypeIcParameterInner{value: val, isSet: true} +} + +func (v NullableDcimInterfaceTemplatesListPoeTypeIcParameterInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDcimInterfaceTemplatesListPoeTypeIcParameterInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_dcim_interface_templates_list_type__ic_parameter_inner.go b/model_dcim_interface_templates_list_type__ic_parameter_inner.go new file mode 100644 index 000000000..a51afb8c7 --- /dev/null +++ b/model_dcim_interface_templates_list_type__ic_parameter_inner.go @@ -0,0 +1,365 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// DcimInterfaceTemplatesListTypeIcParameterInner the model 'DcimInterfaceTemplatesListTypeIcParameterInner' +type DcimInterfaceTemplatesListTypeIcParameterInner string + +// List of dcim_interface_templates_list_type__ic_parameter_inner +const ( + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__1000BASE_KX DcimInterfaceTemplatesListTypeIcParameterInner = "1000base-kx" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__1000BASE_T DcimInterfaceTemplatesListTypeIcParameterInner = "1000base-t" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__1000BASE_TX DcimInterfaceTemplatesListTypeIcParameterInner = "1000base-tx" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__1000BASE_X_GBIC DcimInterfaceTemplatesListTypeIcParameterInner = "1000base-x-gbic" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__1000BASE_X_SFP DcimInterfaceTemplatesListTypeIcParameterInner = "1000base-x-sfp" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__100BASE_FX DcimInterfaceTemplatesListTypeIcParameterInner = "100base-fx" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__100BASE_LFX DcimInterfaceTemplatesListTypeIcParameterInner = "100base-lfx" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__100BASE_T1 DcimInterfaceTemplatesListTypeIcParameterInner = "100base-t1" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__100BASE_TX DcimInterfaceTemplatesListTypeIcParameterInner = "100base-tx" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__100BASE_X_SFP DcimInterfaceTemplatesListTypeIcParameterInner = "100base-x-sfp" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__100GBASE_KP4 DcimInterfaceTemplatesListTypeIcParameterInner = "100gbase-kp4" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__100GBASE_KR2 DcimInterfaceTemplatesListTypeIcParameterInner = "100gbase-kr2" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__100GBASE_KR4 DcimInterfaceTemplatesListTypeIcParameterInner = "100gbase-kr4" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__100GBASE_X_CFP DcimInterfaceTemplatesListTypeIcParameterInner = "100gbase-x-cfp" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__100GBASE_X_CFP2 DcimInterfaceTemplatesListTypeIcParameterInner = "100gbase-x-cfp2" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__100GBASE_X_CFP4 DcimInterfaceTemplatesListTypeIcParameterInner = "100gbase-x-cfp4" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__100GBASE_X_CPAK DcimInterfaceTemplatesListTypeIcParameterInner = "100gbase-x-cpak" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__100GBASE_X_CXP DcimInterfaceTemplatesListTypeIcParameterInner = "100gbase-x-cxp" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__100GBASE_X_DSFP DcimInterfaceTemplatesListTypeIcParameterInner = "100gbase-x-dsfp" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__100GBASE_X_QSFP28 DcimInterfaceTemplatesListTypeIcParameterInner = "100gbase-x-qsfp28" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__100GBASE_X_QSFPDD DcimInterfaceTemplatesListTypeIcParameterInner = "100gbase-x-qsfpdd" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__100GBASE_X_SFPDD DcimInterfaceTemplatesListTypeIcParameterInner = "100gbase-x-sfpdd" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__10G_EPON DcimInterfaceTemplatesListTypeIcParameterInner = "10g-epon" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__10GBASE_CX4 DcimInterfaceTemplatesListTypeIcParameterInner = "10gbase-cx4" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__10GBASE_KR DcimInterfaceTemplatesListTypeIcParameterInner = "10gbase-kr" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__10GBASE_KX4 DcimInterfaceTemplatesListTypeIcParameterInner = "10gbase-kx4" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__10GBASE_T DcimInterfaceTemplatesListTypeIcParameterInner = "10gbase-t" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__10GBASE_X_SFPP DcimInterfaceTemplatesListTypeIcParameterInner = "10gbase-x-sfpp" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__10GBASE_X_X2 DcimInterfaceTemplatesListTypeIcParameterInner = "10gbase-x-x2" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__10GBASE_X_XENPAK DcimInterfaceTemplatesListTypeIcParameterInner = "10gbase-x-xenpak" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__10GBASE_X_XFP DcimInterfaceTemplatesListTypeIcParameterInner = "10gbase-x-xfp" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__128GFC_QSFP28 DcimInterfaceTemplatesListTypeIcParameterInner = "128gfc-qsfp28" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__16GFC_SFPP DcimInterfaceTemplatesListTypeIcParameterInner = "16gfc-sfpp" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__1GFC_SFP DcimInterfaceTemplatesListTypeIcParameterInner = "1gfc-sfp" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__2_5GBASE_KX DcimInterfaceTemplatesListTypeIcParameterInner = "2.5gbase-kx" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__2_5GBASE_T DcimInterfaceTemplatesListTypeIcParameterInner = "2.5gbase-t" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__200GBASE_X_CFP2 DcimInterfaceTemplatesListTypeIcParameterInner = "200gbase-x-cfp2" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__200GBASE_X_QSFP56 DcimInterfaceTemplatesListTypeIcParameterInner = "200gbase-x-qsfp56" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__200GBASE_X_QSFPDD DcimInterfaceTemplatesListTypeIcParameterInner = "200gbase-x-qsfpdd" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__25G_PON DcimInterfaceTemplatesListTypeIcParameterInner = "25g-pon" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__25GBASE_KR DcimInterfaceTemplatesListTypeIcParameterInner = "25gbase-kr" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__25GBASE_X_SFP28 DcimInterfaceTemplatesListTypeIcParameterInner = "25gbase-x-sfp28" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__2GFC_SFP DcimInterfaceTemplatesListTypeIcParameterInner = "2gfc-sfp" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__32GFC_SFP28 DcimInterfaceTemplatesListTypeIcParameterInner = "32gfc-sfp28" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__32GFC_SFPP DcimInterfaceTemplatesListTypeIcParameterInner = "32gfc-sfpp" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__400GBASE_X_CDFP DcimInterfaceTemplatesListTypeIcParameterInner = "400gbase-x-cdfp" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__400GBASE_X_CFP2 DcimInterfaceTemplatesListTypeIcParameterInner = "400gbase-x-cfp2" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__400GBASE_X_CFP8 DcimInterfaceTemplatesListTypeIcParameterInner = "400gbase-x-cfp8" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__400GBASE_X_OSFP DcimInterfaceTemplatesListTypeIcParameterInner = "400gbase-x-osfp" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__400GBASE_X_OSFP_RHS DcimInterfaceTemplatesListTypeIcParameterInner = "400gbase-x-osfp-rhs" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__400GBASE_X_QSFP112 DcimInterfaceTemplatesListTypeIcParameterInner = "400gbase-x-qsfp112" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__400GBASE_X_QSFPDD DcimInterfaceTemplatesListTypeIcParameterInner = "400gbase-x-qsfpdd" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__40GBASE_KR4 DcimInterfaceTemplatesListTypeIcParameterInner = "40gbase-kr4" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__40GBASE_X_QSFPP DcimInterfaceTemplatesListTypeIcParameterInner = "40gbase-x-qsfpp" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__4G DcimInterfaceTemplatesListTypeIcParameterInner = "4g" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__4GFC_SFP DcimInterfaceTemplatesListTypeIcParameterInner = "4gfc-sfp" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__50G_PON DcimInterfaceTemplatesListTypeIcParameterInner = "50g-pon" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__50GBASE_KR DcimInterfaceTemplatesListTypeIcParameterInner = "50gbase-kr" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__50GBASE_X_SFP28 DcimInterfaceTemplatesListTypeIcParameterInner = "50gbase-x-sfp28" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__50GBASE_X_SFP56 DcimInterfaceTemplatesListTypeIcParameterInner = "50gbase-x-sfp56" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__5G DcimInterfaceTemplatesListTypeIcParameterInner = "5g" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__5GBASE_KR DcimInterfaceTemplatesListTypeIcParameterInner = "5gbase-kr" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__5GBASE_T DcimInterfaceTemplatesListTypeIcParameterInner = "5gbase-t" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__64GFC_QSFPP DcimInterfaceTemplatesListTypeIcParameterInner = "64gfc-qsfpp" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__64GFC_SFPDD DcimInterfaceTemplatesListTypeIcParameterInner = "64gfc-sfpdd" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__64GFC_SFPP DcimInterfaceTemplatesListTypeIcParameterInner = "64gfc-sfpp" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__800GBASE_X_OSFP DcimInterfaceTemplatesListTypeIcParameterInner = "800gbase-x-osfp" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__800GBASE_X_QSFPDD DcimInterfaceTemplatesListTypeIcParameterInner = "800gbase-x-qsfpdd" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER__8GFC_SFPP DcimInterfaceTemplatesListTypeIcParameterInner = "8gfc-sfpp" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_BPON DcimInterfaceTemplatesListTypeIcParameterInner = "bpon" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_BRIDGE DcimInterfaceTemplatesListTypeIcParameterInner = "bridge" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_CDMA DcimInterfaceTemplatesListTypeIcParameterInner = "cdma" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_CISCO_FLEXSTACK DcimInterfaceTemplatesListTypeIcParameterInner = "cisco-flexstack" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_CISCO_FLEXSTACK_PLUS DcimInterfaceTemplatesListTypeIcParameterInner = "cisco-flexstack-plus" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_CISCO_STACKWISE DcimInterfaceTemplatesListTypeIcParameterInner = "cisco-stackwise" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_CISCO_STACKWISE_160 DcimInterfaceTemplatesListTypeIcParameterInner = "cisco-stackwise-160" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_CISCO_STACKWISE_1T DcimInterfaceTemplatesListTypeIcParameterInner = "cisco-stackwise-1t" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_CISCO_STACKWISE_320 DcimInterfaceTemplatesListTypeIcParameterInner = "cisco-stackwise-320" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_CISCO_STACKWISE_480 DcimInterfaceTemplatesListTypeIcParameterInner = "cisco-stackwise-480" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_CISCO_STACKWISE_80 DcimInterfaceTemplatesListTypeIcParameterInner = "cisco-stackwise-80" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_CISCO_STACKWISE_PLUS DcimInterfaceTemplatesListTypeIcParameterInner = "cisco-stackwise-plus" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_DOCSIS DcimInterfaceTemplatesListTypeIcParameterInner = "docsis" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_E1 DcimInterfaceTemplatesListTypeIcParameterInner = "e1" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_E3 DcimInterfaceTemplatesListTypeIcParameterInner = "e3" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_EPON DcimInterfaceTemplatesListTypeIcParameterInner = "epon" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_EXTREME_SUMMITSTACK DcimInterfaceTemplatesListTypeIcParameterInner = "extreme-summitstack" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_EXTREME_SUMMITSTACK_128 DcimInterfaceTemplatesListTypeIcParameterInner = "extreme-summitstack-128" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_EXTREME_SUMMITSTACK_256 DcimInterfaceTemplatesListTypeIcParameterInner = "extreme-summitstack-256" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_EXTREME_SUMMITSTACK_512 DcimInterfaceTemplatesListTypeIcParameterInner = "extreme-summitstack-512" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_GPON DcimInterfaceTemplatesListTypeIcParameterInner = "gpon" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_GSM DcimInterfaceTemplatesListTypeIcParameterInner = "gsm" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_IEEE802_11A DcimInterfaceTemplatesListTypeIcParameterInner = "ieee802.11a" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_IEEE802_11AC DcimInterfaceTemplatesListTypeIcParameterInner = "ieee802.11ac" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_IEEE802_11AD DcimInterfaceTemplatesListTypeIcParameterInner = "ieee802.11ad" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_IEEE802_11AX DcimInterfaceTemplatesListTypeIcParameterInner = "ieee802.11ax" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_IEEE802_11AY DcimInterfaceTemplatesListTypeIcParameterInner = "ieee802.11ay" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_IEEE802_11BE DcimInterfaceTemplatesListTypeIcParameterInner = "ieee802.11be" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_IEEE802_11G DcimInterfaceTemplatesListTypeIcParameterInner = "ieee802.11g" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_IEEE802_11N DcimInterfaceTemplatesListTypeIcParameterInner = "ieee802.11n" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_IEEE802_15_1 DcimInterfaceTemplatesListTypeIcParameterInner = "ieee802.15.1" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_IEEE802_15_4 DcimInterfaceTemplatesListTypeIcParameterInner = "ieee802.15.4" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_INFINIBAND_DDR DcimInterfaceTemplatesListTypeIcParameterInner = "infiniband-ddr" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_INFINIBAND_EDR DcimInterfaceTemplatesListTypeIcParameterInner = "infiniband-edr" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_INFINIBAND_FDR DcimInterfaceTemplatesListTypeIcParameterInner = "infiniband-fdr" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_INFINIBAND_FDR10 DcimInterfaceTemplatesListTypeIcParameterInner = "infiniband-fdr10" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_INFINIBAND_HDR DcimInterfaceTemplatesListTypeIcParameterInner = "infiniband-hdr" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_INFINIBAND_NDR DcimInterfaceTemplatesListTypeIcParameterInner = "infiniband-ndr" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_INFINIBAND_QDR DcimInterfaceTemplatesListTypeIcParameterInner = "infiniband-qdr" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_INFINIBAND_SDR DcimInterfaceTemplatesListTypeIcParameterInner = "infiniband-sdr" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_INFINIBAND_XDR DcimInterfaceTemplatesListTypeIcParameterInner = "infiniband-xdr" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_JUNIPER_VCP DcimInterfaceTemplatesListTypeIcParameterInner = "juniper-vcp" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_LAG DcimInterfaceTemplatesListTypeIcParameterInner = "lag" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_LTE DcimInterfaceTemplatesListTypeIcParameterInner = "lte" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_NG_PON2 DcimInterfaceTemplatesListTypeIcParameterInner = "ng-pon2" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_OTHER DcimInterfaceTemplatesListTypeIcParameterInner = "other" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_OTHER_WIRELESS DcimInterfaceTemplatesListTypeIcParameterInner = "other-wireless" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_SONET_OC12 DcimInterfaceTemplatesListTypeIcParameterInner = "sonet-oc12" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_SONET_OC192 DcimInterfaceTemplatesListTypeIcParameterInner = "sonet-oc192" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_SONET_OC1920 DcimInterfaceTemplatesListTypeIcParameterInner = "sonet-oc1920" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_SONET_OC3 DcimInterfaceTemplatesListTypeIcParameterInner = "sonet-oc3" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_SONET_OC3840 DcimInterfaceTemplatesListTypeIcParameterInner = "sonet-oc3840" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_SONET_OC48 DcimInterfaceTemplatesListTypeIcParameterInner = "sonet-oc48" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_SONET_OC768 DcimInterfaceTemplatesListTypeIcParameterInner = "sonet-oc768" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_T1 DcimInterfaceTemplatesListTypeIcParameterInner = "t1" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_T3 DcimInterfaceTemplatesListTypeIcParameterInner = "t3" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_VIRTUAL DcimInterfaceTemplatesListTypeIcParameterInner = "virtual" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_XDSL DcimInterfaceTemplatesListTypeIcParameterInner = "xdsl" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_XG_PON DcimInterfaceTemplatesListTypeIcParameterInner = "xg-pon" + DCIMINTERFACETEMPLATESLISTTYPEICPARAMETERINNER_XGS_PON DcimInterfaceTemplatesListTypeIcParameterInner = "xgs-pon" +) + +// All allowed values of DcimInterfaceTemplatesListTypeIcParameterInner enum +var AllowedDcimInterfaceTemplatesListTypeIcParameterInnerEnumValues = []DcimInterfaceTemplatesListTypeIcParameterInner{ + "1000base-kx", + "1000base-t", + "1000base-tx", + "1000base-x-gbic", + "1000base-x-sfp", + "100base-fx", + "100base-lfx", + "100base-t1", + "100base-tx", + "100base-x-sfp", + "100gbase-kp4", + "100gbase-kr2", + "100gbase-kr4", + "100gbase-x-cfp", + "100gbase-x-cfp2", + "100gbase-x-cfp4", + "100gbase-x-cpak", + "100gbase-x-cxp", + "100gbase-x-dsfp", + "100gbase-x-qsfp28", + "100gbase-x-qsfpdd", + "100gbase-x-sfpdd", + "10g-epon", + "10gbase-cx4", + "10gbase-kr", + "10gbase-kx4", + "10gbase-t", + "10gbase-x-sfpp", + "10gbase-x-x2", + "10gbase-x-xenpak", + "10gbase-x-xfp", + "128gfc-qsfp28", + "16gfc-sfpp", + "1gfc-sfp", + "2.5gbase-kx", + "2.5gbase-t", + "200gbase-x-cfp2", + "200gbase-x-qsfp56", + "200gbase-x-qsfpdd", + "25g-pon", + "25gbase-kr", + "25gbase-x-sfp28", + "2gfc-sfp", + "32gfc-sfp28", + "32gfc-sfpp", + "400gbase-x-cdfp", + "400gbase-x-cfp2", + "400gbase-x-cfp8", + "400gbase-x-osfp", + "400gbase-x-osfp-rhs", + "400gbase-x-qsfp112", + "400gbase-x-qsfpdd", + "40gbase-kr4", + "40gbase-x-qsfpp", + "4g", + "4gfc-sfp", + "50g-pon", + "50gbase-kr", + "50gbase-x-sfp28", + "50gbase-x-sfp56", + "5g", + "5gbase-kr", + "5gbase-t", + "64gfc-qsfpp", + "64gfc-sfpdd", + "64gfc-sfpp", + "800gbase-x-osfp", + "800gbase-x-qsfpdd", + "8gfc-sfpp", + "bpon", + "bridge", + "cdma", + "cisco-flexstack", + "cisco-flexstack-plus", + "cisco-stackwise", + "cisco-stackwise-160", + "cisco-stackwise-1t", + "cisco-stackwise-320", + "cisco-stackwise-480", + "cisco-stackwise-80", + "cisco-stackwise-plus", + "docsis", + "e1", + "e3", + "epon", + "extreme-summitstack", + "extreme-summitstack-128", + "extreme-summitstack-256", + "extreme-summitstack-512", + "gpon", + "gsm", + "ieee802.11a", + "ieee802.11ac", + "ieee802.11ad", + "ieee802.11ax", + "ieee802.11ay", + "ieee802.11be", + "ieee802.11g", + "ieee802.11n", + "ieee802.15.1", + "ieee802.15.4", + "infiniband-ddr", + "infiniband-edr", + "infiniband-fdr", + "infiniband-fdr10", + "infiniband-hdr", + "infiniband-ndr", + "infiniband-qdr", + "infiniband-sdr", + "infiniband-xdr", + "juniper-vcp", + "lag", + "lte", + "ng-pon2", + "other", + "other-wireless", + "sonet-oc12", + "sonet-oc192", + "sonet-oc1920", + "sonet-oc3", + "sonet-oc3840", + "sonet-oc48", + "sonet-oc768", + "t1", + "t3", + "virtual", + "xdsl", + "xg-pon", + "xgs-pon", +} + +func (v *DcimInterfaceTemplatesListTypeIcParameterInner) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := DcimInterfaceTemplatesListTypeIcParameterInner(value) + for _, existing := range AllowedDcimInterfaceTemplatesListTypeIcParameterInnerEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid DcimInterfaceTemplatesListTypeIcParameterInner", value) +} + +// NewDcimInterfaceTemplatesListTypeIcParameterInnerFromValue returns a pointer to a valid DcimInterfaceTemplatesListTypeIcParameterInner +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewDcimInterfaceTemplatesListTypeIcParameterInnerFromValue(v string) (*DcimInterfaceTemplatesListTypeIcParameterInner, error) { + ev := DcimInterfaceTemplatesListTypeIcParameterInner(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for DcimInterfaceTemplatesListTypeIcParameterInner: valid values are %v", v, AllowedDcimInterfaceTemplatesListTypeIcParameterInnerEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v DcimInterfaceTemplatesListTypeIcParameterInner) IsValid() bool { + for _, existing := range AllowedDcimInterfaceTemplatesListTypeIcParameterInnerEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to dcim_interface_templates_list_type__ic_parameter_inner value +func (v DcimInterfaceTemplatesListTypeIcParameterInner) Ptr() *DcimInterfaceTemplatesListTypeIcParameterInner { + return &v +} + +type NullableDcimInterfaceTemplatesListTypeIcParameterInner struct { + value *DcimInterfaceTemplatesListTypeIcParameterInner + isSet bool +} + +func (v NullableDcimInterfaceTemplatesListTypeIcParameterInner) Get() *DcimInterfaceTemplatesListTypeIcParameterInner { + return v.value +} + +func (v *NullableDcimInterfaceTemplatesListTypeIcParameterInner) Set(val *DcimInterfaceTemplatesListTypeIcParameterInner) { + v.value = val + v.isSet = true +} + +func (v NullableDcimInterfaceTemplatesListTypeIcParameterInner) IsSet() bool { + return v.isSet +} + +func (v *NullableDcimInterfaceTemplatesListTypeIcParameterInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDcimInterfaceTemplatesListTypeIcParameterInner(val *DcimInterfaceTemplatesListTypeIcParameterInner) *NullableDcimInterfaceTemplatesListTypeIcParameterInner { + return &NullableDcimInterfaceTemplatesListTypeIcParameterInner{value: val, isSet: true} +} + +func (v NullableDcimInterfaceTemplatesListTypeIcParameterInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDcimInterfaceTemplatesListTypeIcParameterInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_dcim_interfaces_list_duplex__ic_parameter_inner.go b/model_dcim_interfaces_list_duplex__ic_parameter_inner.go new file mode 100644 index 000000000..cddc47004 --- /dev/null +++ b/model_dcim_interfaces_list_duplex__ic_parameter_inner.go @@ -0,0 +1,117 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// DcimInterfacesListDuplexIcParameterInner the model 'DcimInterfacesListDuplexIcParameterInner' +type DcimInterfacesListDuplexIcParameterInner string + +// List of dcim_interfaces_list_duplex__ic_parameter_inner +const ( + DCIMINTERFACESLISTDUPLEXICPARAMETERINNER_EMPTY DcimInterfacesListDuplexIcParameterInner = "" + DCIMINTERFACESLISTDUPLEXICPARAMETERINNER_NULL DcimInterfacesListDuplexIcParameterInner = "null" + DCIMINTERFACESLISTDUPLEXICPARAMETERINNER_AUTO DcimInterfacesListDuplexIcParameterInner = "auto" + DCIMINTERFACESLISTDUPLEXICPARAMETERINNER_FULL DcimInterfacesListDuplexIcParameterInner = "full" + DCIMINTERFACESLISTDUPLEXICPARAMETERINNER_HALF DcimInterfacesListDuplexIcParameterInner = "half" +) + +// All allowed values of DcimInterfacesListDuplexIcParameterInner enum +var AllowedDcimInterfacesListDuplexIcParameterInnerEnumValues = []DcimInterfacesListDuplexIcParameterInner{ + "", + "null", + "auto", + "full", + "half", +} + +func (v *DcimInterfacesListDuplexIcParameterInner) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := DcimInterfacesListDuplexIcParameterInner(value) + for _, existing := range AllowedDcimInterfacesListDuplexIcParameterInnerEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid DcimInterfacesListDuplexIcParameterInner", value) +} + +// NewDcimInterfacesListDuplexIcParameterInnerFromValue returns a pointer to a valid DcimInterfacesListDuplexIcParameterInner +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewDcimInterfacesListDuplexIcParameterInnerFromValue(v string) (*DcimInterfacesListDuplexIcParameterInner, error) { + ev := DcimInterfacesListDuplexIcParameterInner(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for DcimInterfacesListDuplexIcParameterInner: valid values are %v", v, AllowedDcimInterfacesListDuplexIcParameterInnerEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v DcimInterfacesListDuplexIcParameterInner) IsValid() bool { + for _, existing := range AllowedDcimInterfacesListDuplexIcParameterInnerEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to dcim_interfaces_list_duplex__ic_parameter_inner value +func (v DcimInterfacesListDuplexIcParameterInner) Ptr() *DcimInterfacesListDuplexIcParameterInner { + return &v +} + +type NullableDcimInterfacesListDuplexIcParameterInner struct { + value *DcimInterfacesListDuplexIcParameterInner + isSet bool +} + +func (v NullableDcimInterfacesListDuplexIcParameterInner) Get() *DcimInterfacesListDuplexIcParameterInner { + return v.value +} + +func (v *NullableDcimInterfacesListDuplexIcParameterInner) Set(val *DcimInterfacesListDuplexIcParameterInner) { + v.value = val + v.isSet = true +} + +func (v NullableDcimInterfacesListDuplexIcParameterInner) IsSet() bool { + return v.isSet +} + +func (v *NullableDcimInterfacesListDuplexIcParameterInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDcimInterfacesListDuplexIcParameterInner(val *DcimInterfacesListDuplexIcParameterInner) *NullableDcimInterfacesListDuplexIcParameterInner { + return &NullableDcimInterfacesListDuplexIcParameterInner{value: val, isSet: true} +} + +func (v NullableDcimInterfacesListDuplexIcParameterInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDcimInterfacesListDuplexIcParameterInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_dcim_interfaces_list_mode_parameter.go b/model_dcim_interfaces_list_mode_parameter.go index 64b1b66da..254642879 100644 --- a/model_dcim_interfaces_list_mode_parameter.go +++ b/model_dcim_interfaces_list_mode_parameter.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_dcim_locations_list_status__ic_parameter_inner.go b/model_dcim_locations_list_status__ic_parameter_inner.go new file mode 100644 index 000000000..7780e5889 --- /dev/null +++ b/model_dcim_locations_list_status__ic_parameter_inner.go @@ -0,0 +1,117 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// DcimLocationsListStatusIcParameterInner the model 'DcimLocationsListStatusIcParameterInner' +type DcimLocationsListStatusIcParameterInner string + +// List of dcim_locations_list_status__ic_parameter_inner +const ( + DCIMLOCATIONSLISTSTATUSICPARAMETERINNER_ACTIVE DcimLocationsListStatusIcParameterInner = "active" + DCIMLOCATIONSLISTSTATUSICPARAMETERINNER_DECOMMISSIONING DcimLocationsListStatusIcParameterInner = "decommissioning" + DCIMLOCATIONSLISTSTATUSICPARAMETERINNER_PLANNED DcimLocationsListStatusIcParameterInner = "planned" + DCIMLOCATIONSLISTSTATUSICPARAMETERINNER_RETIRED DcimLocationsListStatusIcParameterInner = "retired" + DCIMLOCATIONSLISTSTATUSICPARAMETERINNER_STAGING DcimLocationsListStatusIcParameterInner = "staging" +) + +// All allowed values of DcimLocationsListStatusIcParameterInner enum +var AllowedDcimLocationsListStatusIcParameterInnerEnumValues = []DcimLocationsListStatusIcParameterInner{ + "active", + "decommissioning", + "planned", + "retired", + "staging", +} + +func (v *DcimLocationsListStatusIcParameterInner) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := DcimLocationsListStatusIcParameterInner(value) + for _, existing := range AllowedDcimLocationsListStatusIcParameterInnerEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid DcimLocationsListStatusIcParameterInner", value) +} + +// NewDcimLocationsListStatusIcParameterInnerFromValue returns a pointer to a valid DcimLocationsListStatusIcParameterInner +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewDcimLocationsListStatusIcParameterInnerFromValue(v string) (*DcimLocationsListStatusIcParameterInner, error) { + ev := DcimLocationsListStatusIcParameterInner(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for DcimLocationsListStatusIcParameterInner: valid values are %v", v, AllowedDcimLocationsListStatusIcParameterInnerEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v DcimLocationsListStatusIcParameterInner) IsValid() bool { + for _, existing := range AllowedDcimLocationsListStatusIcParameterInnerEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to dcim_locations_list_status__ic_parameter_inner value +func (v DcimLocationsListStatusIcParameterInner) Ptr() *DcimLocationsListStatusIcParameterInner { + return &v +} + +type NullableDcimLocationsListStatusIcParameterInner struct { + value *DcimLocationsListStatusIcParameterInner + isSet bool +} + +func (v NullableDcimLocationsListStatusIcParameterInner) Get() *DcimLocationsListStatusIcParameterInner { + return v.value +} + +func (v *NullableDcimLocationsListStatusIcParameterInner) Set(val *DcimLocationsListStatusIcParameterInner) { + v.value = val + v.isSet = true +} + +func (v NullableDcimLocationsListStatusIcParameterInner) IsSet() bool { + return v.isSet +} + +func (v *NullableDcimLocationsListStatusIcParameterInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDcimLocationsListStatusIcParameterInner(val *DcimLocationsListStatusIcParameterInner) *NullableDcimLocationsListStatusIcParameterInner { + return &NullableDcimLocationsListStatusIcParameterInner{value: val, isSet: true} +} + +func (v NullableDcimLocationsListStatusIcParameterInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDcimLocationsListStatusIcParameterInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_dcim_module_types_list_airflow_parameter.go b/model_dcim_module_types_list_airflow_parameter.go new file mode 100644 index 000000000..0614202e9 --- /dev/null +++ b/model_dcim_module_types_list_airflow_parameter.go @@ -0,0 +1,118 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// DcimModuleTypesListAirflowParameter the model 'DcimModuleTypesListAirflowParameter' +type DcimModuleTypesListAirflowParameter string + +// List of dcim_module_types_list_airflow_parameter +const ( + DCIMMODULETYPESLISTAIRFLOWPARAMETER_FRONT_TO_REAR DcimModuleTypesListAirflowParameter = "front-to-rear" + DCIMMODULETYPESLISTAIRFLOWPARAMETER_LEFT_TO_RIGHT DcimModuleTypesListAirflowParameter = "left-to-right" + DCIMMODULETYPESLISTAIRFLOWPARAMETER_PASSIVE DcimModuleTypesListAirflowParameter = "passive" + DCIMMODULETYPESLISTAIRFLOWPARAMETER_REAR_TO_FRONT DcimModuleTypesListAirflowParameter = "rear-to-front" + DCIMMODULETYPESLISTAIRFLOWPARAMETER_RIGHT_TO_LEFT DcimModuleTypesListAirflowParameter = "right-to-left" + DCIMMODULETYPESLISTAIRFLOWPARAMETER_SIDE_TO_REAR DcimModuleTypesListAirflowParameter = "side-to-rear" +) + +// All allowed values of DcimModuleTypesListAirflowParameter enum +var AllowedDcimModuleTypesListAirflowParameterEnumValues = []DcimModuleTypesListAirflowParameter{ + "front-to-rear", + "left-to-right", + "passive", + "rear-to-front", + "right-to-left", + "side-to-rear", +} + +func (v *DcimModuleTypesListAirflowParameter) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := DcimModuleTypesListAirflowParameter(value) + for _, existing := range AllowedDcimModuleTypesListAirflowParameterEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid DcimModuleTypesListAirflowParameter", value) +} + +// NewDcimModuleTypesListAirflowParameterFromValue returns a pointer to a valid DcimModuleTypesListAirflowParameter +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewDcimModuleTypesListAirflowParameterFromValue(v string) (*DcimModuleTypesListAirflowParameter, error) { + ev := DcimModuleTypesListAirflowParameter(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for DcimModuleTypesListAirflowParameter: valid values are %v", v, AllowedDcimModuleTypesListAirflowParameterEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v DcimModuleTypesListAirflowParameter) IsValid() bool { + for _, existing := range AllowedDcimModuleTypesListAirflowParameterEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to dcim_module_types_list_airflow_parameter value +func (v DcimModuleTypesListAirflowParameter) Ptr() *DcimModuleTypesListAirflowParameter { + return &v +} + +type NullableDcimModuleTypesListAirflowParameter struct { + value *DcimModuleTypesListAirflowParameter + isSet bool +} + +func (v NullableDcimModuleTypesListAirflowParameter) Get() *DcimModuleTypesListAirflowParameter { + return v.value +} + +func (v *NullableDcimModuleTypesListAirflowParameter) Set(val *DcimModuleTypesListAirflowParameter) { + v.value = val + v.isSet = true +} + +func (v NullableDcimModuleTypesListAirflowParameter) IsSet() bool { + return v.isSet +} + +func (v *NullableDcimModuleTypesListAirflowParameter) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDcimModuleTypesListAirflowParameter(val *DcimModuleTypesListAirflowParameter) *NullableDcimModuleTypesListAirflowParameter { + return &NullableDcimModuleTypesListAirflowParameter{value: val, isSet: true} +} + +func (v NullableDcimModuleTypesListAirflowParameter) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDcimModuleTypesListAirflowParameter) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_dcim_modules_list_status__ic_parameter_inner.go b/model_dcim_modules_list_status__ic_parameter_inner.go new file mode 100644 index 000000000..9853b6ddc --- /dev/null +++ b/model_dcim_modules_list_status__ic_parameter_inner.go @@ -0,0 +1,119 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// DcimModulesListStatusIcParameterInner the model 'DcimModulesListStatusIcParameterInner' +type DcimModulesListStatusIcParameterInner string + +// List of dcim_modules_list_status__ic_parameter_inner +const ( + DCIMMODULESLISTSTATUSICPARAMETERINNER_ACTIVE DcimModulesListStatusIcParameterInner = "active" + DCIMMODULESLISTSTATUSICPARAMETERINNER_DECOMMISSIONING DcimModulesListStatusIcParameterInner = "decommissioning" + DCIMMODULESLISTSTATUSICPARAMETERINNER_FAILED DcimModulesListStatusIcParameterInner = "failed" + DCIMMODULESLISTSTATUSICPARAMETERINNER_OFFLINE DcimModulesListStatusIcParameterInner = "offline" + DCIMMODULESLISTSTATUSICPARAMETERINNER_PLANNED DcimModulesListStatusIcParameterInner = "planned" + DCIMMODULESLISTSTATUSICPARAMETERINNER_STAGED DcimModulesListStatusIcParameterInner = "staged" +) + +// All allowed values of DcimModulesListStatusIcParameterInner enum +var AllowedDcimModulesListStatusIcParameterInnerEnumValues = []DcimModulesListStatusIcParameterInner{ + "active", + "decommissioning", + "failed", + "offline", + "planned", + "staged", +} + +func (v *DcimModulesListStatusIcParameterInner) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := DcimModulesListStatusIcParameterInner(value) + for _, existing := range AllowedDcimModulesListStatusIcParameterInnerEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid DcimModulesListStatusIcParameterInner", value) +} + +// NewDcimModulesListStatusIcParameterInnerFromValue returns a pointer to a valid DcimModulesListStatusIcParameterInner +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewDcimModulesListStatusIcParameterInnerFromValue(v string) (*DcimModulesListStatusIcParameterInner, error) { + ev := DcimModulesListStatusIcParameterInner(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for DcimModulesListStatusIcParameterInner: valid values are %v", v, AllowedDcimModulesListStatusIcParameterInnerEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v DcimModulesListStatusIcParameterInner) IsValid() bool { + for _, existing := range AllowedDcimModulesListStatusIcParameterInnerEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to dcim_modules_list_status__ic_parameter_inner value +func (v DcimModulesListStatusIcParameterInner) Ptr() *DcimModulesListStatusIcParameterInner { + return &v +} + +type NullableDcimModulesListStatusIcParameterInner struct { + value *DcimModulesListStatusIcParameterInner + isSet bool +} + +func (v NullableDcimModulesListStatusIcParameterInner) Get() *DcimModulesListStatusIcParameterInner { + return v.value +} + +func (v *NullableDcimModulesListStatusIcParameterInner) Set(val *DcimModulesListStatusIcParameterInner) { + v.value = val + v.isSet = true +} + +func (v NullableDcimModulesListStatusIcParameterInner) IsSet() bool { + return v.isSet +} + +func (v *NullableDcimModulesListStatusIcParameterInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDcimModulesListStatusIcParameterInner(val *DcimModulesListStatusIcParameterInner) *NullableDcimModulesListStatusIcParameterInner { + return &NullableDcimModulesListStatusIcParameterInner{value: val, isSet: true} +} + +func (v NullableDcimModulesListStatusIcParameterInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDcimModulesListStatusIcParameterInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_dcim_power_feeds_list_phase_parameter.go b/model_dcim_power_feeds_list_phase_parameter.go index 887c4c185..e4b4cda1c 100644 --- a/model_dcim_power_feeds_list_phase_parameter.go +++ b/model_dcim_power_feeds_list_phase_parameter.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_dcim_power_feeds_list_status__ic_parameter_inner.go b/model_dcim_power_feeds_list_status__ic_parameter_inner.go new file mode 100644 index 000000000..0abd0c7ad --- /dev/null +++ b/model_dcim_power_feeds_list_status__ic_parameter_inner.go @@ -0,0 +1,115 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// DcimPowerFeedsListStatusIcParameterInner the model 'DcimPowerFeedsListStatusIcParameterInner' +type DcimPowerFeedsListStatusIcParameterInner string + +// List of dcim_power_feeds_list_status__ic_parameter_inner +const ( + DCIMPOWERFEEDSLISTSTATUSICPARAMETERINNER_ACTIVE DcimPowerFeedsListStatusIcParameterInner = "active" + DCIMPOWERFEEDSLISTSTATUSICPARAMETERINNER_FAILED DcimPowerFeedsListStatusIcParameterInner = "failed" + DCIMPOWERFEEDSLISTSTATUSICPARAMETERINNER_OFFLINE DcimPowerFeedsListStatusIcParameterInner = "offline" + DCIMPOWERFEEDSLISTSTATUSICPARAMETERINNER_PLANNED DcimPowerFeedsListStatusIcParameterInner = "planned" +) + +// All allowed values of DcimPowerFeedsListStatusIcParameterInner enum +var AllowedDcimPowerFeedsListStatusIcParameterInnerEnumValues = []DcimPowerFeedsListStatusIcParameterInner{ + "active", + "failed", + "offline", + "planned", +} + +func (v *DcimPowerFeedsListStatusIcParameterInner) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := DcimPowerFeedsListStatusIcParameterInner(value) + for _, existing := range AllowedDcimPowerFeedsListStatusIcParameterInnerEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid DcimPowerFeedsListStatusIcParameterInner", value) +} + +// NewDcimPowerFeedsListStatusIcParameterInnerFromValue returns a pointer to a valid DcimPowerFeedsListStatusIcParameterInner +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewDcimPowerFeedsListStatusIcParameterInnerFromValue(v string) (*DcimPowerFeedsListStatusIcParameterInner, error) { + ev := DcimPowerFeedsListStatusIcParameterInner(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for DcimPowerFeedsListStatusIcParameterInner: valid values are %v", v, AllowedDcimPowerFeedsListStatusIcParameterInnerEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v DcimPowerFeedsListStatusIcParameterInner) IsValid() bool { + for _, existing := range AllowedDcimPowerFeedsListStatusIcParameterInnerEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to dcim_power_feeds_list_status__ic_parameter_inner value +func (v DcimPowerFeedsListStatusIcParameterInner) Ptr() *DcimPowerFeedsListStatusIcParameterInner { + return &v +} + +type NullableDcimPowerFeedsListStatusIcParameterInner struct { + value *DcimPowerFeedsListStatusIcParameterInner + isSet bool +} + +func (v NullableDcimPowerFeedsListStatusIcParameterInner) Get() *DcimPowerFeedsListStatusIcParameterInner { + return v.value +} + +func (v *NullableDcimPowerFeedsListStatusIcParameterInner) Set(val *DcimPowerFeedsListStatusIcParameterInner) { + v.value = val + v.isSet = true +} + +func (v NullableDcimPowerFeedsListStatusIcParameterInner) IsSet() bool { + return v.isSet +} + +func (v *NullableDcimPowerFeedsListStatusIcParameterInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDcimPowerFeedsListStatusIcParameterInner(val *DcimPowerFeedsListStatusIcParameterInner) *NullableDcimPowerFeedsListStatusIcParameterInner { + return &NullableDcimPowerFeedsListStatusIcParameterInner{value: val, isSet: true} +} + +func (v NullableDcimPowerFeedsListStatusIcParameterInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDcimPowerFeedsListStatusIcParameterInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_dcim_power_feeds_list_supply_parameter.go b/model_dcim_power_feeds_list_supply_parameter.go index a9d411a9a..5994d4de6 100644 --- a/model_dcim_power_feeds_list_supply_parameter.go +++ b/model_dcim_power_feeds_list_supply_parameter.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_dcim_power_feeds_list_type_parameter.go b/model_dcim_power_feeds_list_type_parameter.go index 133f1c231..fed0ed7e4 100644 --- a/model_dcim_power_feeds_list_type_parameter.go +++ b/model_dcim_power_feeds_list_type_parameter.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_dcim_power_outlet_templates_list_feed_leg__ic_parameter_inner.go b/model_dcim_power_outlet_templates_list_feed_leg__ic_parameter_inner.go new file mode 100644 index 000000000..d60580026 --- /dev/null +++ b/model_dcim_power_outlet_templates_list_feed_leg__ic_parameter_inner.go @@ -0,0 +1,115 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// DcimPowerOutletTemplatesListFeedLegIcParameterInner the model 'DcimPowerOutletTemplatesListFeedLegIcParameterInner' +type DcimPowerOutletTemplatesListFeedLegIcParameterInner string + +// List of dcim_power_outlet_templates_list_feed_leg__ic_parameter_inner +const ( + DCIMPOWEROUTLETTEMPLATESLISTFEEDLEGICPARAMETERINNER_EMPTY DcimPowerOutletTemplatesListFeedLegIcParameterInner = "" + DCIMPOWEROUTLETTEMPLATESLISTFEEDLEGICPARAMETERINNER_A DcimPowerOutletTemplatesListFeedLegIcParameterInner = "A" + DCIMPOWEROUTLETTEMPLATESLISTFEEDLEGICPARAMETERINNER_B DcimPowerOutletTemplatesListFeedLegIcParameterInner = "B" + DCIMPOWEROUTLETTEMPLATESLISTFEEDLEGICPARAMETERINNER_C DcimPowerOutletTemplatesListFeedLegIcParameterInner = "C" +) + +// All allowed values of DcimPowerOutletTemplatesListFeedLegIcParameterInner enum +var AllowedDcimPowerOutletTemplatesListFeedLegIcParameterInnerEnumValues = []DcimPowerOutletTemplatesListFeedLegIcParameterInner{ + "", + "A", + "B", + "C", +} + +func (v *DcimPowerOutletTemplatesListFeedLegIcParameterInner) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := DcimPowerOutletTemplatesListFeedLegIcParameterInner(value) + for _, existing := range AllowedDcimPowerOutletTemplatesListFeedLegIcParameterInnerEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid DcimPowerOutletTemplatesListFeedLegIcParameterInner", value) +} + +// NewDcimPowerOutletTemplatesListFeedLegIcParameterInnerFromValue returns a pointer to a valid DcimPowerOutletTemplatesListFeedLegIcParameterInner +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewDcimPowerOutletTemplatesListFeedLegIcParameterInnerFromValue(v string) (*DcimPowerOutletTemplatesListFeedLegIcParameterInner, error) { + ev := DcimPowerOutletTemplatesListFeedLegIcParameterInner(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for DcimPowerOutletTemplatesListFeedLegIcParameterInner: valid values are %v", v, AllowedDcimPowerOutletTemplatesListFeedLegIcParameterInnerEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v DcimPowerOutletTemplatesListFeedLegIcParameterInner) IsValid() bool { + for _, existing := range AllowedDcimPowerOutletTemplatesListFeedLegIcParameterInnerEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to dcim_power_outlet_templates_list_feed_leg__ic_parameter_inner value +func (v DcimPowerOutletTemplatesListFeedLegIcParameterInner) Ptr() *DcimPowerOutletTemplatesListFeedLegIcParameterInner { + return &v +} + +type NullableDcimPowerOutletTemplatesListFeedLegIcParameterInner struct { + value *DcimPowerOutletTemplatesListFeedLegIcParameterInner + isSet bool +} + +func (v NullableDcimPowerOutletTemplatesListFeedLegIcParameterInner) Get() *DcimPowerOutletTemplatesListFeedLegIcParameterInner { + return v.value +} + +func (v *NullableDcimPowerOutletTemplatesListFeedLegIcParameterInner) Set(val *DcimPowerOutletTemplatesListFeedLegIcParameterInner) { + v.value = val + v.isSet = true +} + +func (v NullableDcimPowerOutletTemplatesListFeedLegIcParameterInner) IsSet() bool { + return v.isSet +} + +func (v *NullableDcimPowerOutletTemplatesListFeedLegIcParameterInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDcimPowerOutletTemplatesListFeedLegIcParameterInner(val *DcimPowerOutletTemplatesListFeedLegIcParameterInner) *NullableDcimPowerOutletTemplatesListFeedLegIcParameterInner { + return &NullableDcimPowerOutletTemplatesListFeedLegIcParameterInner{value: val, isSet: true} +} + +func (v NullableDcimPowerOutletTemplatesListFeedLegIcParameterInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDcimPowerOutletTemplatesListFeedLegIcParameterInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_dcim_power_outlet_templates_list_type_parameter.go b/model_dcim_power_outlet_templates_list_type_parameter.go index dc7840bb1..dacef0aa5 100644 --- a/model_dcim_power_outlet_templates_list_type_parameter.go +++ b/model_dcim_power_outlet_templates_list_type_parameter.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_dcim_power_outlets_list_type__ic_parameter_inner.go b/model_dcim_power_outlets_list_type__ic_parameter_inner.go new file mode 100644 index 000000000..b7ecf47b1 --- /dev/null +++ b/model_dcim_power_outlets_list_type__ic_parameter_inner.go @@ -0,0 +1,305 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// DcimPowerOutletsListTypeIcParameterInner the model 'DcimPowerOutletsListTypeIcParameterInner' +type DcimPowerOutletsListTypeIcParameterInner string + +// List of dcim_power_outlets_list_type__ic_parameter_inner +const ( + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_EMPTY DcimPowerOutletsListTypeIcParameterInner = "" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_CS6360_C DcimPowerOutletsListTypeIcParameterInner = "CS6360C" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_CS6364_C DcimPowerOutletsListTypeIcParameterInner = "CS6364C" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_CS8164_C DcimPowerOutletsListTypeIcParameterInner = "CS8164C" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_CS8264_C DcimPowerOutletsListTypeIcParameterInner = "CS8264C" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_CS8364_C DcimPowerOutletsListTypeIcParameterInner = "CS8364C" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_CS8464_C DcimPowerOutletsListTypeIcParameterInner = "CS8464C" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_DC_TERMINAL DcimPowerOutletsListTypeIcParameterInner = "dc-terminal" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_EATON_C39 DcimPowerOutletsListTypeIcParameterInner = "eaton-c39" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_HARDWIRED DcimPowerOutletsListTypeIcParameterInner = "hardwired" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_HDOT_CX DcimPowerOutletsListTypeIcParameterInner = "hdot-cx" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_IEC_60309_2P_E_4H DcimPowerOutletsListTypeIcParameterInner = "iec-60309-2p-e-4h" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_IEC_60309_2P_E_6H DcimPowerOutletsListTypeIcParameterInner = "iec-60309-2p-e-6h" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_IEC_60309_2P_E_9H DcimPowerOutletsListTypeIcParameterInner = "iec-60309-2p-e-9h" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_IEC_60309_3P_E_4H DcimPowerOutletsListTypeIcParameterInner = "iec-60309-3p-e-4h" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_IEC_60309_3P_E_6H DcimPowerOutletsListTypeIcParameterInner = "iec-60309-3p-e-6h" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_IEC_60309_3P_E_9H DcimPowerOutletsListTypeIcParameterInner = "iec-60309-3p-e-9h" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_IEC_60309_3P_N_E_4H DcimPowerOutletsListTypeIcParameterInner = "iec-60309-3p-n-e-4h" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_IEC_60309_3P_N_E_6H DcimPowerOutletsListTypeIcParameterInner = "iec-60309-3p-n-e-6h" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_IEC_60309_3P_N_E_9H DcimPowerOutletsListTypeIcParameterInner = "iec-60309-3p-n-e-9h" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_IEC_60309_P_N_E_4H DcimPowerOutletsListTypeIcParameterInner = "iec-60309-p-n-e-4h" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_IEC_60309_P_N_E_6H DcimPowerOutletsListTypeIcParameterInner = "iec-60309-p-n-e-6h" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_IEC_60309_P_N_E_9H DcimPowerOutletsListTypeIcParameterInner = "iec-60309-p-n-e-9h" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_IEC_60320_C13 DcimPowerOutletsListTypeIcParameterInner = "iec-60320-c13" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_IEC_60320_C15 DcimPowerOutletsListTypeIcParameterInner = "iec-60320-c15" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_IEC_60320_C19 DcimPowerOutletsListTypeIcParameterInner = "iec-60320-c19" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_IEC_60320_C21 DcimPowerOutletsListTypeIcParameterInner = "iec-60320-c21" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_IEC_60320_C5 DcimPowerOutletsListTypeIcParameterInner = "iec-60320-c5" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_IEC_60320_C7 DcimPowerOutletsListTypeIcParameterInner = "iec-60320-c7" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_IEC_60906_1 DcimPowerOutletsListTypeIcParameterInner = "iec-60906-1" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_ITA_E DcimPowerOutletsListTypeIcParameterInner = "ita-e" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_ITA_F DcimPowerOutletsListTypeIcParameterInner = "ita-f" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_ITA_G DcimPowerOutletsListTypeIcParameterInner = "ita-g" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_ITA_H DcimPowerOutletsListTypeIcParameterInner = "ita-h" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_ITA_I DcimPowerOutletsListTypeIcParameterInner = "ita-i" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_ITA_J DcimPowerOutletsListTypeIcParameterInner = "ita-j" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_ITA_K DcimPowerOutletsListTypeIcParameterInner = "ita-k" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_ITA_L DcimPowerOutletsListTypeIcParameterInner = "ita-l" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_ITA_M DcimPowerOutletsListTypeIcParameterInner = "ita-m" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_ITA_MULTISTANDARD DcimPowerOutletsListTypeIcParameterInner = "ita-multistandard" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_ITA_N DcimPowerOutletsListTypeIcParameterInner = "ita-n" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_ITA_O DcimPowerOutletsListTypeIcParameterInner = "ita-o" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_MOLEX_MICRO_FIT_1X2 DcimPowerOutletsListTypeIcParameterInner = "molex-micro-fit-1x2" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_MOLEX_MICRO_FIT_2X2 DcimPowerOutletsListTypeIcParameterInner = "molex-micro-fit-2x2" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_MOLEX_MICRO_FIT_2X4 DcimPowerOutletsListTypeIcParameterInner = "molex-micro-fit-2x4" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_NBR_14136_10A DcimPowerOutletsListTypeIcParameterInner = "nbr-14136-10a" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_NBR_14136_20A DcimPowerOutletsListTypeIcParameterInner = "nbr-14136-20a" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_NEMA_1_15R DcimPowerOutletsListTypeIcParameterInner = "nema-1-15r" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_NEMA_10_30R DcimPowerOutletsListTypeIcParameterInner = "nema-10-30r" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_NEMA_10_50R DcimPowerOutletsListTypeIcParameterInner = "nema-10-50r" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_NEMA_14_20R DcimPowerOutletsListTypeIcParameterInner = "nema-14-20r" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_NEMA_14_30R DcimPowerOutletsListTypeIcParameterInner = "nema-14-30r" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_NEMA_14_50R DcimPowerOutletsListTypeIcParameterInner = "nema-14-50r" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_NEMA_14_60R DcimPowerOutletsListTypeIcParameterInner = "nema-14-60r" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_NEMA_15_15R DcimPowerOutletsListTypeIcParameterInner = "nema-15-15r" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_NEMA_15_20R DcimPowerOutletsListTypeIcParameterInner = "nema-15-20r" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_NEMA_15_30R DcimPowerOutletsListTypeIcParameterInner = "nema-15-30r" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_NEMA_15_50R DcimPowerOutletsListTypeIcParameterInner = "nema-15-50r" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_NEMA_15_60R DcimPowerOutletsListTypeIcParameterInner = "nema-15-60r" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_NEMA_5_15R DcimPowerOutletsListTypeIcParameterInner = "nema-5-15r" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_NEMA_5_20R DcimPowerOutletsListTypeIcParameterInner = "nema-5-20r" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_NEMA_5_30R DcimPowerOutletsListTypeIcParameterInner = "nema-5-30r" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_NEMA_5_50R DcimPowerOutletsListTypeIcParameterInner = "nema-5-50r" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_NEMA_6_15R DcimPowerOutletsListTypeIcParameterInner = "nema-6-15r" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_NEMA_6_20R DcimPowerOutletsListTypeIcParameterInner = "nema-6-20r" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_NEMA_6_30R DcimPowerOutletsListTypeIcParameterInner = "nema-6-30r" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_NEMA_6_50R DcimPowerOutletsListTypeIcParameterInner = "nema-6-50r" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_NEMA_L1_15R DcimPowerOutletsListTypeIcParameterInner = "nema-l1-15r" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_NEMA_L10_30R DcimPowerOutletsListTypeIcParameterInner = "nema-l10-30r" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_NEMA_L14_20R DcimPowerOutletsListTypeIcParameterInner = "nema-l14-20r" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_NEMA_L14_30R DcimPowerOutletsListTypeIcParameterInner = "nema-l14-30r" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_NEMA_L14_50R DcimPowerOutletsListTypeIcParameterInner = "nema-l14-50r" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_NEMA_L14_60R DcimPowerOutletsListTypeIcParameterInner = "nema-l14-60r" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_NEMA_L15_20R DcimPowerOutletsListTypeIcParameterInner = "nema-l15-20r" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_NEMA_L15_30R DcimPowerOutletsListTypeIcParameterInner = "nema-l15-30r" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_NEMA_L15_50R DcimPowerOutletsListTypeIcParameterInner = "nema-l15-50r" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_NEMA_L15_60R DcimPowerOutletsListTypeIcParameterInner = "nema-l15-60r" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_NEMA_L21_20R DcimPowerOutletsListTypeIcParameterInner = "nema-l21-20r" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_NEMA_L21_30R DcimPowerOutletsListTypeIcParameterInner = "nema-l21-30r" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_NEMA_L22_20R DcimPowerOutletsListTypeIcParameterInner = "nema-l22-20r" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_NEMA_L22_30R DcimPowerOutletsListTypeIcParameterInner = "nema-l22-30r" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_NEMA_L5_15R DcimPowerOutletsListTypeIcParameterInner = "nema-l5-15r" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_NEMA_L5_20R DcimPowerOutletsListTypeIcParameterInner = "nema-l5-20r" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_NEMA_L5_30R DcimPowerOutletsListTypeIcParameterInner = "nema-l5-30r" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_NEMA_L5_50R DcimPowerOutletsListTypeIcParameterInner = "nema-l5-50r" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_NEMA_L6_15R DcimPowerOutletsListTypeIcParameterInner = "nema-l6-15r" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_NEMA_L6_20R DcimPowerOutletsListTypeIcParameterInner = "nema-l6-20r" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_NEMA_L6_30R DcimPowerOutletsListTypeIcParameterInner = "nema-l6-30r" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_NEMA_L6_50R DcimPowerOutletsListTypeIcParameterInner = "nema-l6-50r" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_NEUTRIK_POWERCON_20A DcimPowerOutletsListTypeIcParameterInner = "neutrik-powercon-20a" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_NEUTRIK_POWERCON_32A DcimPowerOutletsListTypeIcParameterInner = "neutrik-powercon-32a" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_NEUTRIK_POWERCON_TRUE1 DcimPowerOutletsListTypeIcParameterInner = "neutrik-powercon-true1" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_NEUTRIK_POWERCON_TRUE1_TOP DcimPowerOutletsListTypeIcParameterInner = "neutrik-powercon-true1-top" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_OTHER DcimPowerOutletsListTypeIcParameterInner = "other" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_SAF_D_GRID DcimPowerOutletsListTypeIcParameterInner = "saf-d-grid" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_UBIQUITI_SMARTPOWER DcimPowerOutletsListTypeIcParameterInner = "ubiquiti-smartpower" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_USB_A DcimPowerOutletsListTypeIcParameterInner = "usb-a" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_USB_C DcimPowerOutletsListTypeIcParameterInner = "usb-c" + DCIMPOWEROUTLETSLISTTYPEICPARAMETERINNER_USB_MICRO_B DcimPowerOutletsListTypeIcParameterInner = "usb-micro-b" +) + +// All allowed values of DcimPowerOutletsListTypeIcParameterInner enum +var AllowedDcimPowerOutletsListTypeIcParameterInnerEnumValues = []DcimPowerOutletsListTypeIcParameterInner{ + "", + "CS6360C", + "CS6364C", + "CS8164C", + "CS8264C", + "CS8364C", + "CS8464C", + "dc-terminal", + "eaton-c39", + "hardwired", + "hdot-cx", + "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-60309-p-n-e-4h", + "iec-60309-p-n-e-6h", + "iec-60309-p-n-e-9h", + "iec-60320-c13", + "iec-60320-c15", + "iec-60320-c19", + "iec-60320-c21", + "iec-60320-c5", + "iec-60320-c7", + "iec-60906-1", + "ita-e", + "ita-f", + "ita-g", + "ita-h", + "ita-i", + "ita-j", + "ita-k", + "ita-l", + "ita-m", + "ita-multistandard", + "ita-n", + "ita-o", + "molex-micro-fit-1x2", + "molex-micro-fit-2x2", + "molex-micro-fit-2x4", + "nbr-14136-10a", + "nbr-14136-20a", + "nema-1-15r", + "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-5-15r", + "nema-5-20r", + "nema-5-30r", + "nema-5-50r", + "nema-6-15r", + "nema-6-20r", + "nema-6-30r", + "nema-6-50r", + "nema-l1-15r", + "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-20r", + "nema-l22-30r", + "nema-l5-15r", + "nema-l5-20r", + "nema-l5-30r", + "nema-l5-50r", + "nema-l6-15r", + "nema-l6-20r", + "nema-l6-30r", + "nema-l6-50r", + "neutrik-powercon-20a", + "neutrik-powercon-32a", + "neutrik-powercon-true1", + "neutrik-powercon-true1-top", + "other", + "saf-d-grid", + "ubiquiti-smartpower", + "usb-a", + "usb-c", + "usb-micro-b", +} + +func (v *DcimPowerOutletsListTypeIcParameterInner) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := DcimPowerOutletsListTypeIcParameterInner(value) + for _, existing := range AllowedDcimPowerOutletsListTypeIcParameterInnerEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid DcimPowerOutletsListTypeIcParameterInner", value) +} + +// NewDcimPowerOutletsListTypeIcParameterInnerFromValue returns a pointer to a valid DcimPowerOutletsListTypeIcParameterInner +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewDcimPowerOutletsListTypeIcParameterInnerFromValue(v string) (*DcimPowerOutletsListTypeIcParameterInner, error) { + ev := DcimPowerOutletsListTypeIcParameterInner(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for DcimPowerOutletsListTypeIcParameterInner: valid values are %v", v, AllowedDcimPowerOutletsListTypeIcParameterInnerEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v DcimPowerOutletsListTypeIcParameterInner) IsValid() bool { + for _, existing := range AllowedDcimPowerOutletsListTypeIcParameterInnerEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to dcim_power_outlets_list_type__ic_parameter_inner value +func (v DcimPowerOutletsListTypeIcParameterInner) Ptr() *DcimPowerOutletsListTypeIcParameterInner { + return &v +} + +type NullableDcimPowerOutletsListTypeIcParameterInner struct { + value *DcimPowerOutletsListTypeIcParameterInner + isSet bool +} + +func (v NullableDcimPowerOutletsListTypeIcParameterInner) Get() *DcimPowerOutletsListTypeIcParameterInner { + return v.value +} + +func (v *NullableDcimPowerOutletsListTypeIcParameterInner) Set(val *DcimPowerOutletsListTypeIcParameterInner) { + v.value = val + v.isSet = true +} + +func (v NullableDcimPowerOutletsListTypeIcParameterInner) IsSet() bool { + return v.isSet +} + +func (v *NullableDcimPowerOutletsListTypeIcParameterInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDcimPowerOutletsListTypeIcParameterInner(val *DcimPowerOutletsListTypeIcParameterInner) *NullableDcimPowerOutletsListTypeIcParameterInner { + return &NullableDcimPowerOutletsListTypeIcParameterInner{value: val, isSet: true} +} + +func (v NullableDcimPowerOutletsListTypeIcParameterInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDcimPowerOutletsListTypeIcParameterInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_dcim_power_port_templates_list_type_parameter.go b/model_dcim_power_port_templates_list_type_parameter.go index dcc5cfc55..825b19a90 100644 --- a/model_dcim_power_port_templates_list_type_parameter.go +++ b/model_dcim_power_port_templates_list_type_parameter.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_dcim_power_ports_list_type__ic_parameter_inner.go b/model_dcim_power_ports_list_type__ic_parameter_inner.go new file mode 100644 index 000000000..1fc3035cd --- /dev/null +++ b/model_dcim_power_ports_list_type__ic_parameter_inner.go @@ -0,0 +1,317 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// DcimPowerPortsListTypeIcParameterInner the model 'DcimPowerPortsListTypeIcParameterInner' +type DcimPowerPortsListTypeIcParameterInner string + +// List of dcim_power_ports_list_type__ic_parameter_inner +const ( + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_EMPTY DcimPowerPortsListTypeIcParameterInner = "" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_CS6361C DcimPowerPortsListTypeIcParameterInner = "cs6361c" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_CS6365C DcimPowerPortsListTypeIcParameterInner = "cs6365c" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_CS8165C DcimPowerPortsListTypeIcParameterInner = "cs8165c" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_CS8265C DcimPowerPortsListTypeIcParameterInner = "cs8265c" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_CS8365C DcimPowerPortsListTypeIcParameterInner = "cs8365c" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_CS8465C DcimPowerPortsListTypeIcParameterInner = "cs8465c" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_DC_TERMINAL DcimPowerPortsListTypeIcParameterInner = "dc-terminal" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_HARDWIRED DcimPowerPortsListTypeIcParameterInner = "hardwired" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_IEC_60309_2P_E_4H DcimPowerPortsListTypeIcParameterInner = "iec-60309-2p-e-4h" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_IEC_60309_2P_E_6H DcimPowerPortsListTypeIcParameterInner = "iec-60309-2p-e-6h" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_IEC_60309_2P_E_9H DcimPowerPortsListTypeIcParameterInner = "iec-60309-2p-e-9h" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_IEC_60309_3P_E_4H DcimPowerPortsListTypeIcParameterInner = "iec-60309-3p-e-4h" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_IEC_60309_3P_E_6H DcimPowerPortsListTypeIcParameterInner = "iec-60309-3p-e-6h" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_IEC_60309_3P_E_9H DcimPowerPortsListTypeIcParameterInner = "iec-60309-3p-e-9h" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_IEC_60309_3P_N_E_4H DcimPowerPortsListTypeIcParameterInner = "iec-60309-3p-n-e-4h" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_IEC_60309_3P_N_E_6H DcimPowerPortsListTypeIcParameterInner = "iec-60309-3p-n-e-6h" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_IEC_60309_3P_N_E_9H DcimPowerPortsListTypeIcParameterInner = "iec-60309-3p-n-e-9h" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_IEC_60309_P_N_E_4H DcimPowerPortsListTypeIcParameterInner = "iec-60309-p-n-e-4h" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_IEC_60309_P_N_E_6H DcimPowerPortsListTypeIcParameterInner = "iec-60309-p-n-e-6h" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_IEC_60309_P_N_E_9H DcimPowerPortsListTypeIcParameterInner = "iec-60309-p-n-e-9h" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_IEC_60320_C14 DcimPowerPortsListTypeIcParameterInner = "iec-60320-c14" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_IEC_60320_C16 DcimPowerPortsListTypeIcParameterInner = "iec-60320-c16" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_IEC_60320_C20 DcimPowerPortsListTypeIcParameterInner = "iec-60320-c20" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_IEC_60320_C22 DcimPowerPortsListTypeIcParameterInner = "iec-60320-c22" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_IEC_60320_C6 DcimPowerPortsListTypeIcParameterInner = "iec-60320-c6" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_IEC_60320_C8 DcimPowerPortsListTypeIcParameterInner = "iec-60320-c8" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_IEC_60906_1 DcimPowerPortsListTypeIcParameterInner = "iec-60906-1" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_ITA_C DcimPowerPortsListTypeIcParameterInner = "ita-c" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_ITA_E DcimPowerPortsListTypeIcParameterInner = "ita-e" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_ITA_EF DcimPowerPortsListTypeIcParameterInner = "ita-ef" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_ITA_F DcimPowerPortsListTypeIcParameterInner = "ita-f" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_ITA_G DcimPowerPortsListTypeIcParameterInner = "ita-g" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_ITA_H DcimPowerPortsListTypeIcParameterInner = "ita-h" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_ITA_I DcimPowerPortsListTypeIcParameterInner = "ita-i" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_ITA_J DcimPowerPortsListTypeIcParameterInner = "ita-j" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_ITA_K DcimPowerPortsListTypeIcParameterInner = "ita-k" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_ITA_L DcimPowerPortsListTypeIcParameterInner = "ita-l" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_ITA_M DcimPowerPortsListTypeIcParameterInner = "ita-m" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_ITA_N DcimPowerPortsListTypeIcParameterInner = "ita-n" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_ITA_O DcimPowerPortsListTypeIcParameterInner = "ita-o" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_MOLEX_MICRO_FIT_1X2 DcimPowerPortsListTypeIcParameterInner = "molex-micro-fit-1x2" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_MOLEX_MICRO_FIT_2X2 DcimPowerPortsListTypeIcParameterInner = "molex-micro-fit-2x2" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_MOLEX_MICRO_FIT_2X4 DcimPowerPortsListTypeIcParameterInner = "molex-micro-fit-2x4" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_NBR_14136_10A DcimPowerPortsListTypeIcParameterInner = "nbr-14136-10a" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_NBR_14136_20A DcimPowerPortsListTypeIcParameterInner = "nbr-14136-20a" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_NEMA_1_15P DcimPowerPortsListTypeIcParameterInner = "nema-1-15p" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_NEMA_10_30P DcimPowerPortsListTypeIcParameterInner = "nema-10-30p" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_NEMA_10_50P DcimPowerPortsListTypeIcParameterInner = "nema-10-50p" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_NEMA_14_20P DcimPowerPortsListTypeIcParameterInner = "nema-14-20p" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_NEMA_14_30P DcimPowerPortsListTypeIcParameterInner = "nema-14-30p" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_NEMA_14_50P DcimPowerPortsListTypeIcParameterInner = "nema-14-50p" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_NEMA_14_60P DcimPowerPortsListTypeIcParameterInner = "nema-14-60p" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_NEMA_15_15P DcimPowerPortsListTypeIcParameterInner = "nema-15-15p" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_NEMA_15_20P DcimPowerPortsListTypeIcParameterInner = "nema-15-20p" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_NEMA_15_30P DcimPowerPortsListTypeIcParameterInner = "nema-15-30p" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_NEMA_15_50P DcimPowerPortsListTypeIcParameterInner = "nema-15-50p" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_NEMA_15_60P DcimPowerPortsListTypeIcParameterInner = "nema-15-60p" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_NEMA_5_15P DcimPowerPortsListTypeIcParameterInner = "nema-5-15p" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_NEMA_5_20P DcimPowerPortsListTypeIcParameterInner = "nema-5-20p" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_NEMA_5_30P DcimPowerPortsListTypeIcParameterInner = "nema-5-30p" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_NEMA_5_50P DcimPowerPortsListTypeIcParameterInner = "nema-5-50p" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_NEMA_6_15P DcimPowerPortsListTypeIcParameterInner = "nema-6-15p" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_NEMA_6_20P DcimPowerPortsListTypeIcParameterInner = "nema-6-20p" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_NEMA_6_30P DcimPowerPortsListTypeIcParameterInner = "nema-6-30p" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_NEMA_6_50P DcimPowerPortsListTypeIcParameterInner = "nema-6-50p" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_NEMA_L1_15P DcimPowerPortsListTypeIcParameterInner = "nema-l1-15p" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_NEMA_L10_30P DcimPowerPortsListTypeIcParameterInner = "nema-l10-30p" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_NEMA_L14_20P DcimPowerPortsListTypeIcParameterInner = "nema-l14-20p" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_NEMA_L14_30P DcimPowerPortsListTypeIcParameterInner = "nema-l14-30p" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_NEMA_L14_50P DcimPowerPortsListTypeIcParameterInner = "nema-l14-50p" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_NEMA_L14_60P DcimPowerPortsListTypeIcParameterInner = "nema-l14-60p" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_NEMA_L15_20P DcimPowerPortsListTypeIcParameterInner = "nema-l15-20p" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_NEMA_L15_30P DcimPowerPortsListTypeIcParameterInner = "nema-l15-30p" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_NEMA_L15_50P DcimPowerPortsListTypeIcParameterInner = "nema-l15-50p" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_NEMA_L15_60P DcimPowerPortsListTypeIcParameterInner = "nema-l15-60p" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_NEMA_L21_20P DcimPowerPortsListTypeIcParameterInner = "nema-l21-20p" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_NEMA_L21_30P DcimPowerPortsListTypeIcParameterInner = "nema-l21-30p" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_NEMA_L22_20P DcimPowerPortsListTypeIcParameterInner = "nema-l22-20p" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_NEMA_L22_30P DcimPowerPortsListTypeIcParameterInner = "nema-l22-30p" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_NEMA_L5_15P DcimPowerPortsListTypeIcParameterInner = "nema-l5-15p" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_NEMA_L5_20P DcimPowerPortsListTypeIcParameterInner = "nema-l5-20p" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_NEMA_L5_30P DcimPowerPortsListTypeIcParameterInner = "nema-l5-30p" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_NEMA_L5_50P DcimPowerPortsListTypeIcParameterInner = "nema-l5-50p" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_NEMA_L6_15P DcimPowerPortsListTypeIcParameterInner = "nema-l6-15p" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_NEMA_L6_20P DcimPowerPortsListTypeIcParameterInner = "nema-l6-20p" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_NEMA_L6_30P DcimPowerPortsListTypeIcParameterInner = "nema-l6-30p" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_NEMA_L6_50P DcimPowerPortsListTypeIcParameterInner = "nema-l6-50p" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_NEUTRIK_POWERCON_20 DcimPowerPortsListTypeIcParameterInner = "neutrik-powercon-20" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_NEUTRIK_POWERCON_32 DcimPowerPortsListTypeIcParameterInner = "neutrik-powercon-32" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_NEUTRIK_POWERCON_TRUE1 DcimPowerPortsListTypeIcParameterInner = "neutrik-powercon-true1" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_NEUTRIK_POWERCON_TRUE1_TOP DcimPowerPortsListTypeIcParameterInner = "neutrik-powercon-true1-top" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_OTHER DcimPowerPortsListTypeIcParameterInner = "other" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_SAF_D_GRID DcimPowerPortsListTypeIcParameterInner = "saf-d-grid" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_UBIQUITI_SMARTPOWER DcimPowerPortsListTypeIcParameterInner = "ubiquiti-smartpower" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_USB_3_B DcimPowerPortsListTypeIcParameterInner = "usb-3-b" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_USB_3_MICRO_B DcimPowerPortsListTypeIcParameterInner = "usb-3-micro-b" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_USB_A DcimPowerPortsListTypeIcParameterInner = "usb-a" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_USB_B DcimPowerPortsListTypeIcParameterInner = "usb-b" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_USB_C DcimPowerPortsListTypeIcParameterInner = "usb-c" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_USB_MICRO_A DcimPowerPortsListTypeIcParameterInner = "usb-micro-a" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_USB_MICRO_AB DcimPowerPortsListTypeIcParameterInner = "usb-micro-ab" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_USB_MICRO_B DcimPowerPortsListTypeIcParameterInner = "usb-micro-b" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_USB_MINI_A DcimPowerPortsListTypeIcParameterInner = "usb-mini-a" + DCIMPOWERPORTSLISTTYPEICPARAMETERINNER_USB_MINI_B DcimPowerPortsListTypeIcParameterInner = "usb-mini-b" +) + +// All allowed values of DcimPowerPortsListTypeIcParameterInner enum +var AllowedDcimPowerPortsListTypeIcParameterInnerEnumValues = []DcimPowerPortsListTypeIcParameterInner{ + "", + "cs6361c", + "cs6365c", + "cs8165c", + "cs8265c", + "cs8365c", + "cs8465c", + "dc-terminal", + "hardwired", + "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-60309-p-n-e-4h", + "iec-60309-p-n-e-6h", + "iec-60309-p-n-e-9h", + "iec-60320-c14", + "iec-60320-c16", + "iec-60320-c20", + "iec-60320-c22", + "iec-60320-c6", + "iec-60320-c8", + "iec-60906-1", + "ita-c", + "ita-e", + "ita-ef", + "ita-f", + "ita-g", + "ita-h", + "ita-i", + "ita-j", + "ita-k", + "ita-l", + "ita-m", + "ita-n", + "ita-o", + "molex-micro-fit-1x2", + "molex-micro-fit-2x2", + "molex-micro-fit-2x4", + "nbr-14136-10a", + "nbr-14136-20a", + "nema-1-15p", + "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-5-15p", + "nema-5-20p", + "nema-5-30p", + "nema-5-50p", + "nema-6-15p", + "nema-6-20p", + "nema-6-30p", + "nema-6-50p", + "nema-l1-15p", + "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-20p", + "nema-l22-30p", + "nema-l5-15p", + "nema-l5-20p", + "nema-l5-30p", + "nema-l5-50p", + "nema-l6-15p", + "nema-l6-20p", + "nema-l6-30p", + "nema-l6-50p", + "neutrik-powercon-20", + "neutrik-powercon-32", + "neutrik-powercon-true1", + "neutrik-powercon-true1-top", + "other", + "saf-d-grid", + "ubiquiti-smartpower", + "usb-3-b", + "usb-3-micro-b", + "usb-a", + "usb-b", + "usb-c", + "usb-micro-a", + "usb-micro-ab", + "usb-micro-b", + "usb-mini-a", + "usb-mini-b", +} + +func (v *DcimPowerPortsListTypeIcParameterInner) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := DcimPowerPortsListTypeIcParameterInner(value) + for _, existing := range AllowedDcimPowerPortsListTypeIcParameterInnerEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid DcimPowerPortsListTypeIcParameterInner", value) +} + +// NewDcimPowerPortsListTypeIcParameterInnerFromValue returns a pointer to a valid DcimPowerPortsListTypeIcParameterInner +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewDcimPowerPortsListTypeIcParameterInnerFromValue(v string) (*DcimPowerPortsListTypeIcParameterInner, error) { + ev := DcimPowerPortsListTypeIcParameterInner(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for DcimPowerPortsListTypeIcParameterInner: valid values are %v", v, AllowedDcimPowerPortsListTypeIcParameterInnerEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v DcimPowerPortsListTypeIcParameterInner) IsValid() bool { + for _, existing := range AllowedDcimPowerPortsListTypeIcParameterInnerEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to dcim_power_ports_list_type__ic_parameter_inner value +func (v DcimPowerPortsListTypeIcParameterInner) Ptr() *DcimPowerPortsListTypeIcParameterInner { + return &v +} + +type NullableDcimPowerPortsListTypeIcParameterInner struct { + value *DcimPowerPortsListTypeIcParameterInner + isSet bool +} + +func (v NullableDcimPowerPortsListTypeIcParameterInner) Get() *DcimPowerPortsListTypeIcParameterInner { + return v.value +} + +func (v *NullableDcimPowerPortsListTypeIcParameterInner) Set(val *DcimPowerPortsListTypeIcParameterInner) { + v.value = val + v.isSet = true +} + +func (v NullableDcimPowerPortsListTypeIcParameterInner) IsSet() bool { + return v.isSet +} + +func (v *NullableDcimPowerPortsListTypeIcParameterInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDcimPowerPortsListTypeIcParameterInner(val *DcimPowerPortsListTypeIcParameterInner) *NullableDcimPowerPortsListTypeIcParameterInner { + return &NullableDcimPowerPortsListTypeIcParameterInner{value: val, isSet: true} +} + +func (v NullableDcimPowerPortsListTypeIcParameterInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDcimPowerPortsListTypeIcParameterInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_dcim_rack_types_list_form_factor__ic_parameter_inner.go b/model_dcim_rack_types_list_form_factor__ic_parameter_inner.go new file mode 100644 index 000000000..59ffea3a3 --- /dev/null +++ b/model_dcim_rack_types_list_form_factor__ic_parameter_inner.go @@ -0,0 +1,121 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// DcimRackTypesListFormFactorIcParameterInner the model 'DcimRackTypesListFormFactorIcParameterInner' +type DcimRackTypesListFormFactorIcParameterInner string + +// List of dcim_rack_types_list_form_factor__ic_parameter_inner +const ( + DCIMRACKTYPESLISTFORMFACTORICPARAMETERINNER__2_POST_FRAME DcimRackTypesListFormFactorIcParameterInner = "2-post-frame" + DCIMRACKTYPESLISTFORMFACTORICPARAMETERINNER__4_POST_CABINET DcimRackTypesListFormFactorIcParameterInner = "4-post-cabinet" + DCIMRACKTYPESLISTFORMFACTORICPARAMETERINNER__4_POST_FRAME DcimRackTypesListFormFactorIcParameterInner = "4-post-frame" + DCIMRACKTYPESLISTFORMFACTORICPARAMETERINNER_WALL_CABINET DcimRackTypesListFormFactorIcParameterInner = "wall-cabinet" + DCIMRACKTYPESLISTFORMFACTORICPARAMETERINNER_WALL_CABINET_VERTICAL DcimRackTypesListFormFactorIcParameterInner = "wall-cabinet-vertical" + DCIMRACKTYPESLISTFORMFACTORICPARAMETERINNER_WALL_FRAME DcimRackTypesListFormFactorIcParameterInner = "wall-frame" + DCIMRACKTYPESLISTFORMFACTORICPARAMETERINNER_WALL_FRAME_VERTICAL DcimRackTypesListFormFactorIcParameterInner = "wall-frame-vertical" +) + +// All allowed values of DcimRackTypesListFormFactorIcParameterInner enum +var AllowedDcimRackTypesListFormFactorIcParameterInnerEnumValues = []DcimRackTypesListFormFactorIcParameterInner{ + "2-post-frame", + "4-post-cabinet", + "4-post-frame", + "wall-cabinet", + "wall-cabinet-vertical", + "wall-frame", + "wall-frame-vertical", +} + +func (v *DcimRackTypesListFormFactorIcParameterInner) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := DcimRackTypesListFormFactorIcParameterInner(value) + for _, existing := range AllowedDcimRackTypesListFormFactorIcParameterInnerEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid DcimRackTypesListFormFactorIcParameterInner", value) +} + +// NewDcimRackTypesListFormFactorIcParameterInnerFromValue returns a pointer to a valid DcimRackTypesListFormFactorIcParameterInner +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewDcimRackTypesListFormFactorIcParameterInnerFromValue(v string) (*DcimRackTypesListFormFactorIcParameterInner, error) { + ev := DcimRackTypesListFormFactorIcParameterInner(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for DcimRackTypesListFormFactorIcParameterInner: valid values are %v", v, AllowedDcimRackTypesListFormFactorIcParameterInnerEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v DcimRackTypesListFormFactorIcParameterInner) IsValid() bool { + for _, existing := range AllowedDcimRackTypesListFormFactorIcParameterInnerEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to dcim_rack_types_list_form_factor__ic_parameter_inner value +func (v DcimRackTypesListFormFactorIcParameterInner) Ptr() *DcimRackTypesListFormFactorIcParameterInner { + return &v +} + +type NullableDcimRackTypesListFormFactorIcParameterInner struct { + value *DcimRackTypesListFormFactorIcParameterInner + isSet bool +} + +func (v NullableDcimRackTypesListFormFactorIcParameterInner) Get() *DcimRackTypesListFormFactorIcParameterInner { + return v.value +} + +func (v *NullableDcimRackTypesListFormFactorIcParameterInner) Set(val *DcimRackTypesListFormFactorIcParameterInner) { + v.value = val + v.isSet = true +} + +func (v NullableDcimRackTypesListFormFactorIcParameterInner) IsSet() bool { + return v.isSet +} + +func (v *NullableDcimRackTypesListFormFactorIcParameterInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDcimRackTypesListFormFactorIcParameterInner(val *DcimRackTypesListFormFactorIcParameterInner) *NullableDcimRackTypesListFormFactorIcParameterInner { + return &NullableDcimRackTypesListFormFactorIcParameterInner{value: val, isSet: true} +} + +func (v NullableDcimRackTypesListFormFactorIcParameterInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDcimRackTypesListFormFactorIcParameterInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_dcim_rack_types_list_outer_unit_parameter.go b/model_dcim_rack_types_list_outer_unit_parameter.go new file mode 100644 index 000000000..d4cf6951c --- /dev/null +++ b/model_dcim_rack_types_list_outer_unit_parameter.go @@ -0,0 +1,110 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// DcimRackTypesListOuterUnitParameter the model 'DcimRackTypesListOuterUnitParameter' +type DcimRackTypesListOuterUnitParameter string + +// List of dcim_rack_types_list_outer_unit_parameter +const ( + DCIMRACKTYPESLISTOUTERUNITPARAMETER_IN DcimRackTypesListOuterUnitParameter = "in" + DCIMRACKTYPESLISTOUTERUNITPARAMETER_MM DcimRackTypesListOuterUnitParameter = "mm" +) + +// All allowed values of DcimRackTypesListOuterUnitParameter enum +var AllowedDcimRackTypesListOuterUnitParameterEnumValues = []DcimRackTypesListOuterUnitParameter{ + "in", + "mm", +} + +func (v *DcimRackTypesListOuterUnitParameter) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := DcimRackTypesListOuterUnitParameter(value) + for _, existing := range AllowedDcimRackTypesListOuterUnitParameterEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid DcimRackTypesListOuterUnitParameter", value) +} + +// NewDcimRackTypesListOuterUnitParameterFromValue returns a pointer to a valid DcimRackTypesListOuterUnitParameter +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewDcimRackTypesListOuterUnitParameterFromValue(v string) (*DcimRackTypesListOuterUnitParameter, error) { + ev := DcimRackTypesListOuterUnitParameter(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for DcimRackTypesListOuterUnitParameter: valid values are %v", v, AllowedDcimRackTypesListOuterUnitParameterEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v DcimRackTypesListOuterUnitParameter) IsValid() bool { + for _, existing := range AllowedDcimRackTypesListOuterUnitParameterEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to dcim_rack_types_list_outer_unit_parameter value +func (v DcimRackTypesListOuterUnitParameter) Ptr() *DcimRackTypesListOuterUnitParameter { + return &v +} + +type NullableDcimRackTypesListOuterUnitParameter struct { + value *DcimRackTypesListOuterUnitParameter + isSet bool +} + +func (v NullableDcimRackTypesListOuterUnitParameter) Get() *DcimRackTypesListOuterUnitParameter { + return v.value +} + +func (v *NullableDcimRackTypesListOuterUnitParameter) Set(val *DcimRackTypesListOuterUnitParameter) { + v.value = val + v.isSet = true +} + +func (v NullableDcimRackTypesListOuterUnitParameter) IsSet() bool { + return v.isSet +} + +func (v *NullableDcimRackTypesListOuterUnitParameter) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDcimRackTypesListOuterUnitParameter(val *DcimRackTypesListOuterUnitParameter) *NullableDcimRackTypesListOuterUnitParameter { + return &NullableDcimRackTypesListOuterUnitParameter{value: val, isSet: true} +} + +func (v NullableDcimRackTypesListOuterUnitParameter) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDcimRackTypesListOuterUnitParameter) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_dcim_rack_types_list_width__ic_parameter_inner.go b/model_dcim_rack_types_list_width__ic_parameter_inner.go new file mode 100644 index 000000000..931d93b2c --- /dev/null +++ b/model_dcim_rack_types_list_width__ic_parameter_inner.go @@ -0,0 +1,115 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// DcimRackTypesListWidthIcParameterInner the model 'DcimRackTypesListWidthIcParameterInner' +type DcimRackTypesListWidthIcParameterInner int32 + +// List of dcim_rack_types_list_width__ic_parameter_inner +const ( + DCIMRACKTYPESLISTWIDTHICPARAMETERINNER__10 DcimRackTypesListWidthIcParameterInner = 10 + DCIMRACKTYPESLISTWIDTHICPARAMETERINNER__19 DcimRackTypesListWidthIcParameterInner = 19 + DCIMRACKTYPESLISTWIDTHICPARAMETERINNER__21 DcimRackTypesListWidthIcParameterInner = 21 + DCIMRACKTYPESLISTWIDTHICPARAMETERINNER__23 DcimRackTypesListWidthIcParameterInner = 23 +) + +// All allowed values of DcimRackTypesListWidthIcParameterInner enum +var AllowedDcimRackTypesListWidthIcParameterInnerEnumValues = []DcimRackTypesListWidthIcParameterInner{ + 10, + 19, + 21, + 23, +} + +func (v *DcimRackTypesListWidthIcParameterInner) UnmarshalJSON(src []byte) error { + var value int32 + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := DcimRackTypesListWidthIcParameterInner(value) + for _, existing := range AllowedDcimRackTypesListWidthIcParameterInnerEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid DcimRackTypesListWidthIcParameterInner", value) +} + +// NewDcimRackTypesListWidthIcParameterInnerFromValue returns a pointer to a valid DcimRackTypesListWidthIcParameterInner +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewDcimRackTypesListWidthIcParameterInnerFromValue(v int32) (*DcimRackTypesListWidthIcParameterInner, error) { + ev := DcimRackTypesListWidthIcParameterInner(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for DcimRackTypesListWidthIcParameterInner: valid values are %v", v, AllowedDcimRackTypesListWidthIcParameterInnerEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v DcimRackTypesListWidthIcParameterInner) IsValid() bool { + for _, existing := range AllowedDcimRackTypesListWidthIcParameterInnerEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to dcim_rack_types_list_width__ic_parameter_inner value +func (v DcimRackTypesListWidthIcParameterInner) Ptr() *DcimRackTypesListWidthIcParameterInner { + return &v +} + +type NullableDcimRackTypesListWidthIcParameterInner struct { + value *DcimRackTypesListWidthIcParameterInner + isSet bool +} + +func (v NullableDcimRackTypesListWidthIcParameterInner) Get() *DcimRackTypesListWidthIcParameterInner { + return v.value +} + +func (v *NullableDcimRackTypesListWidthIcParameterInner) Set(val *DcimRackTypesListWidthIcParameterInner) { + v.value = val + v.isSet = true +} + +func (v NullableDcimRackTypesListWidthIcParameterInner) IsSet() bool { + return v.isSet +} + +func (v *NullableDcimRackTypesListWidthIcParameterInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDcimRackTypesListWidthIcParameterInner(val *DcimRackTypesListWidthIcParameterInner) *NullableDcimRackTypesListWidthIcParameterInner { + return &NullableDcimRackTypesListWidthIcParameterInner{value: val, isSet: true} +} + +func (v NullableDcimRackTypesListWidthIcParameterInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDcimRackTypesListWidthIcParameterInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_dcim_racks_elevation_retrieve_face_parameter.go b/model_dcim_racks_elevation_retrieve_face_parameter.go index 564e2c159..a98f3cc71 100644 --- a/model_dcim_racks_elevation_retrieve_face_parameter.go +++ b/model_dcim_racks_elevation_retrieve_face_parameter.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_dcim_racks_elevation_retrieve_render_parameter.go b/model_dcim_racks_elevation_retrieve_render_parameter.go index 2506cd2cc..9ddd908c0 100644 --- a/model_dcim_racks_elevation_retrieve_render_parameter.go +++ b/model_dcim_racks_elevation_retrieve_render_parameter.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_dcim_racks_list_airflow_parameter.go b/model_dcim_racks_list_airflow_parameter.go new file mode 100644 index 000000000..b22d42b2a --- /dev/null +++ b/model_dcim_racks_list_airflow_parameter.go @@ -0,0 +1,110 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// DcimRacksListAirflowParameter the model 'DcimRacksListAirflowParameter' +type DcimRacksListAirflowParameter string + +// List of dcim_racks_list_airflow_parameter +const ( + DCIMRACKSLISTAIRFLOWPARAMETER_FRONT_TO_REAR DcimRacksListAirflowParameter = "front-to-rear" + DCIMRACKSLISTAIRFLOWPARAMETER_REAR_TO_FRONT DcimRacksListAirflowParameter = "rear-to-front" +) + +// All allowed values of DcimRacksListAirflowParameter enum +var AllowedDcimRacksListAirflowParameterEnumValues = []DcimRacksListAirflowParameter{ + "front-to-rear", + "rear-to-front", +} + +func (v *DcimRacksListAirflowParameter) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := DcimRacksListAirflowParameter(value) + for _, existing := range AllowedDcimRacksListAirflowParameterEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid DcimRacksListAirflowParameter", value) +} + +// NewDcimRacksListAirflowParameterFromValue returns a pointer to a valid DcimRacksListAirflowParameter +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewDcimRacksListAirflowParameterFromValue(v string) (*DcimRacksListAirflowParameter, error) { + ev := DcimRacksListAirflowParameter(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for DcimRacksListAirflowParameter: valid values are %v", v, AllowedDcimRacksListAirflowParameterEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v DcimRacksListAirflowParameter) IsValid() bool { + for _, existing := range AllowedDcimRacksListAirflowParameterEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to dcim_racks_list_airflow_parameter value +func (v DcimRacksListAirflowParameter) Ptr() *DcimRacksListAirflowParameter { + return &v +} + +type NullableDcimRacksListAirflowParameter struct { + value *DcimRacksListAirflowParameter + isSet bool +} + +func (v NullableDcimRacksListAirflowParameter) Get() *DcimRacksListAirflowParameter { + return v.value +} + +func (v *NullableDcimRacksListAirflowParameter) Set(val *DcimRacksListAirflowParameter) { + v.value = val + v.isSet = true +} + +func (v NullableDcimRacksListAirflowParameter) IsSet() bool { + return v.isSet +} + +func (v *NullableDcimRacksListAirflowParameter) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDcimRacksListAirflowParameter(val *DcimRacksListAirflowParameter) *NullableDcimRacksListAirflowParameter { + return &NullableDcimRacksListAirflowParameter{value: val, isSet: true} +} + +func (v NullableDcimRacksListAirflowParameter) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDcimRacksListAirflowParameter) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_dcim_racks_list_form_factor__ic_parameter_inner.go b/model_dcim_racks_list_form_factor__ic_parameter_inner.go new file mode 100644 index 000000000..36a6bc142 --- /dev/null +++ b/model_dcim_racks_list_form_factor__ic_parameter_inner.go @@ -0,0 +1,123 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// DcimRacksListFormFactorIcParameterInner the model 'DcimRacksListFormFactorIcParameterInner' +type DcimRacksListFormFactorIcParameterInner string + +// List of dcim_racks_list_form_factor__ic_parameter_inner +const ( + DCIMRACKSLISTFORMFACTORICPARAMETERINNER_EMPTY DcimRacksListFormFactorIcParameterInner = "" + DCIMRACKSLISTFORMFACTORICPARAMETERINNER__2_POST_FRAME DcimRacksListFormFactorIcParameterInner = "2-post-frame" + DCIMRACKSLISTFORMFACTORICPARAMETERINNER__4_POST_CABINET DcimRacksListFormFactorIcParameterInner = "4-post-cabinet" + DCIMRACKSLISTFORMFACTORICPARAMETERINNER__4_POST_FRAME DcimRacksListFormFactorIcParameterInner = "4-post-frame" + DCIMRACKSLISTFORMFACTORICPARAMETERINNER_WALL_CABINET DcimRacksListFormFactorIcParameterInner = "wall-cabinet" + DCIMRACKSLISTFORMFACTORICPARAMETERINNER_WALL_CABINET_VERTICAL DcimRacksListFormFactorIcParameterInner = "wall-cabinet-vertical" + DCIMRACKSLISTFORMFACTORICPARAMETERINNER_WALL_FRAME DcimRacksListFormFactorIcParameterInner = "wall-frame" + DCIMRACKSLISTFORMFACTORICPARAMETERINNER_WALL_FRAME_VERTICAL DcimRacksListFormFactorIcParameterInner = "wall-frame-vertical" +) + +// All allowed values of DcimRacksListFormFactorIcParameterInner enum +var AllowedDcimRacksListFormFactorIcParameterInnerEnumValues = []DcimRacksListFormFactorIcParameterInner{ + "", + "2-post-frame", + "4-post-cabinet", + "4-post-frame", + "wall-cabinet", + "wall-cabinet-vertical", + "wall-frame", + "wall-frame-vertical", +} + +func (v *DcimRacksListFormFactorIcParameterInner) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := DcimRacksListFormFactorIcParameterInner(value) + for _, existing := range AllowedDcimRacksListFormFactorIcParameterInnerEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid DcimRacksListFormFactorIcParameterInner", value) +} + +// NewDcimRacksListFormFactorIcParameterInnerFromValue returns a pointer to a valid DcimRacksListFormFactorIcParameterInner +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewDcimRacksListFormFactorIcParameterInnerFromValue(v string) (*DcimRacksListFormFactorIcParameterInner, error) { + ev := DcimRacksListFormFactorIcParameterInner(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for DcimRacksListFormFactorIcParameterInner: valid values are %v", v, AllowedDcimRacksListFormFactorIcParameterInnerEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v DcimRacksListFormFactorIcParameterInner) IsValid() bool { + for _, existing := range AllowedDcimRacksListFormFactorIcParameterInnerEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to dcim_racks_list_form_factor__ic_parameter_inner value +func (v DcimRacksListFormFactorIcParameterInner) Ptr() *DcimRacksListFormFactorIcParameterInner { + return &v +} + +type NullableDcimRacksListFormFactorIcParameterInner struct { + value *DcimRacksListFormFactorIcParameterInner + isSet bool +} + +func (v NullableDcimRacksListFormFactorIcParameterInner) Get() *DcimRacksListFormFactorIcParameterInner { + return v.value +} + +func (v *NullableDcimRacksListFormFactorIcParameterInner) Set(val *DcimRacksListFormFactorIcParameterInner) { + v.value = val + v.isSet = true +} + +func (v NullableDcimRacksListFormFactorIcParameterInner) IsSet() bool { + return v.isSet +} + +func (v *NullableDcimRacksListFormFactorIcParameterInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDcimRacksListFormFactorIcParameterInner(val *DcimRacksListFormFactorIcParameterInner) *NullableDcimRacksListFormFactorIcParameterInner { + return &NullableDcimRacksListFormFactorIcParameterInner{value: val, isSet: true} +} + +func (v NullableDcimRacksListFormFactorIcParameterInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDcimRacksListFormFactorIcParameterInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_dcim_racks_list_status__ic_parameter_inner.go b/model_dcim_racks_list_status__ic_parameter_inner.go new file mode 100644 index 000000000..c44051e92 --- /dev/null +++ b/model_dcim_racks_list_status__ic_parameter_inner.go @@ -0,0 +1,117 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// DcimRacksListStatusIcParameterInner the model 'DcimRacksListStatusIcParameterInner' +type DcimRacksListStatusIcParameterInner string + +// List of dcim_racks_list_status__ic_parameter_inner +const ( + DCIMRACKSLISTSTATUSICPARAMETERINNER_ACTIVE DcimRacksListStatusIcParameterInner = "active" + DCIMRACKSLISTSTATUSICPARAMETERINNER_AVAILABLE DcimRacksListStatusIcParameterInner = "available" + DCIMRACKSLISTSTATUSICPARAMETERINNER_DEPRECATED DcimRacksListStatusIcParameterInner = "deprecated" + DCIMRACKSLISTSTATUSICPARAMETERINNER_PLANNED DcimRacksListStatusIcParameterInner = "planned" + DCIMRACKSLISTSTATUSICPARAMETERINNER_RESERVED DcimRacksListStatusIcParameterInner = "reserved" +) + +// All allowed values of DcimRacksListStatusIcParameterInner enum +var AllowedDcimRacksListStatusIcParameterInnerEnumValues = []DcimRacksListStatusIcParameterInner{ + "active", + "available", + "deprecated", + "planned", + "reserved", +} + +func (v *DcimRacksListStatusIcParameterInner) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := DcimRacksListStatusIcParameterInner(value) + for _, existing := range AllowedDcimRacksListStatusIcParameterInnerEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid DcimRacksListStatusIcParameterInner", value) +} + +// NewDcimRacksListStatusIcParameterInnerFromValue returns a pointer to a valid DcimRacksListStatusIcParameterInner +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewDcimRacksListStatusIcParameterInnerFromValue(v string) (*DcimRacksListStatusIcParameterInner, error) { + ev := DcimRacksListStatusIcParameterInner(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for DcimRacksListStatusIcParameterInner: valid values are %v", v, AllowedDcimRacksListStatusIcParameterInnerEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v DcimRacksListStatusIcParameterInner) IsValid() bool { + for _, existing := range AllowedDcimRacksListStatusIcParameterInnerEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to dcim_racks_list_status__ic_parameter_inner value +func (v DcimRacksListStatusIcParameterInner) Ptr() *DcimRacksListStatusIcParameterInner { + return &v +} + +type NullableDcimRacksListStatusIcParameterInner struct { + value *DcimRacksListStatusIcParameterInner + isSet bool +} + +func (v NullableDcimRacksListStatusIcParameterInner) Get() *DcimRacksListStatusIcParameterInner { + return v.value +} + +func (v *NullableDcimRacksListStatusIcParameterInner) Set(val *DcimRacksListStatusIcParameterInner) { + v.value = val + v.isSet = true +} + +func (v NullableDcimRacksListStatusIcParameterInner) IsSet() bool { + return v.isSet +} + +func (v *NullableDcimRacksListStatusIcParameterInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDcimRacksListStatusIcParameterInner(val *DcimRacksListStatusIcParameterInner) *NullableDcimRacksListStatusIcParameterInner { + return &NullableDcimRacksListStatusIcParameterInner{value: val, isSet: true} +} + +func (v NullableDcimRacksListStatusIcParameterInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDcimRacksListStatusIcParameterInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_dcim_virtual_device_contexts_list_status__ic_parameter_inner.go b/model_dcim_virtual_device_contexts_list_status__ic_parameter_inner.go new file mode 100644 index 000000000..9ab2a396a --- /dev/null +++ b/model_dcim_virtual_device_contexts_list_status__ic_parameter_inner.go @@ -0,0 +1,113 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// DcimVirtualDeviceContextsListStatusIcParameterInner the model 'DcimVirtualDeviceContextsListStatusIcParameterInner' +type DcimVirtualDeviceContextsListStatusIcParameterInner string + +// List of dcim_virtual_device_contexts_list_status__ic_parameter_inner +const ( + DCIMVIRTUALDEVICECONTEXTSLISTSTATUSICPARAMETERINNER_ACTIVE DcimVirtualDeviceContextsListStatusIcParameterInner = "active" + DCIMVIRTUALDEVICECONTEXTSLISTSTATUSICPARAMETERINNER_OFFLINE DcimVirtualDeviceContextsListStatusIcParameterInner = "offline" + DCIMVIRTUALDEVICECONTEXTSLISTSTATUSICPARAMETERINNER_PLANNED DcimVirtualDeviceContextsListStatusIcParameterInner = "planned" +) + +// All allowed values of DcimVirtualDeviceContextsListStatusIcParameterInner enum +var AllowedDcimVirtualDeviceContextsListStatusIcParameterInnerEnumValues = []DcimVirtualDeviceContextsListStatusIcParameterInner{ + "active", + "offline", + "planned", +} + +func (v *DcimVirtualDeviceContextsListStatusIcParameterInner) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := DcimVirtualDeviceContextsListStatusIcParameterInner(value) + for _, existing := range AllowedDcimVirtualDeviceContextsListStatusIcParameterInnerEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid DcimVirtualDeviceContextsListStatusIcParameterInner", value) +} + +// NewDcimVirtualDeviceContextsListStatusIcParameterInnerFromValue returns a pointer to a valid DcimVirtualDeviceContextsListStatusIcParameterInner +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewDcimVirtualDeviceContextsListStatusIcParameterInnerFromValue(v string) (*DcimVirtualDeviceContextsListStatusIcParameterInner, error) { + ev := DcimVirtualDeviceContextsListStatusIcParameterInner(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for DcimVirtualDeviceContextsListStatusIcParameterInner: valid values are %v", v, AllowedDcimVirtualDeviceContextsListStatusIcParameterInnerEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v DcimVirtualDeviceContextsListStatusIcParameterInner) IsValid() bool { + for _, existing := range AllowedDcimVirtualDeviceContextsListStatusIcParameterInnerEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to dcim_virtual_device_contexts_list_status__ic_parameter_inner value +func (v DcimVirtualDeviceContextsListStatusIcParameterInner) Ptr() *DcimVirtualDeviceContextsListStatusIcParameterInner { + return &v +} + +type NullableDcimVirtualDeviceContextsListStatusIcParameterInner struct { + value *DcimVirtualDeviceContextsListStatusIcParameterInner + isSet bool +} + +func (v NullableDcimVirtualDeviceContextsListStatusIcParameterInner) Get() *DcimVirtualDeviceContextsListStatusIcParameterInner { + return v.value +} + +func (v *NullableDcimVirtualDeviceContextsListStatusIcParameterInner) Set(val *DcimVirtualDeviceContextsListStatusIcParameterInner) { + v.value = val + v.isSet = true +} + +func (v NullableDcimVirtualDeviceContextsListStatusIcParameterInner) IsSet() bool { + return v.isSet +} + +func (v *NullableDcimVirtualDeviceContextsListStatusIcParameterInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDcimVirtualDeviceContextsListStatusIcParameterInner(val *DcimVirtualDeviceContextsListStatusIcParameterInner) *NullableDcimVirtualDeviceContextsListStatusIcParameterInner { + return &NullableDcimVirtualDeviceContextsListStatusIcParameterInner{value: val, isSet: true} +} + +func (v NullableDcimVirtualDeviceContextsListStatusIcParameterInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDcimVirtualDeviceContextsListStatusIcParameterInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_device.go b/model_device.go index 7585fb9dd..858856e92 100644 --- a/model_device.go +++ b/model_device.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,58 +21,59 @@ var _ MappedNullable = &Device{} // Device Adds support for custom fields and tags. type Device struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - Name NullableString `json:"name,omitempty"` - DeviceType DeviceType `json:"device_type"` - Role DeviceRole `json:"role"` - Tenant NullableTenant `json:"tenant,omitempty"` - Platform NullablePlatform `json:"platform,omitempty"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Name NullableString `json:"name"` + DeviceType *BriefDeviceType `json:"device_type,omitempty"` + Role *BriefDeviceRole `json:"role,omitempty"` + Tenant NullableBriefTenant `json:"tenant,omitempty"` + Platform NullableBriefPlatform `json:"platform,omitempty"` // Chassis serial number, assigned by the manufacturer Serial *string `json:"serial,omitempty"` // A unique tag used to identify this device - AssetTag NullableString `json:"asset_tag,omitempty"` - Site Site `json:"site"` - Location NullableLocation `json:"location,omitempty"` - Rack NullableRack `json:"rack,omitempty"` - Position NullableFloat64 `json:"position,omitempty"` - Face *DeviceFace `json:"face,omitempty"` + AssetTag NullableString `json:"asset_tag,omitempty"` + Site *BriefSite `json:"site,omitempty"` + Location NullableBriefLocation `json:"location,omitempty"` + Rack NullableBriefRack `json:"rack,omitempty"` + Position NullableFloat64 `json:"position,omitempty"` + Face *DeviceFace `json:"face,omitempty"` // GPS coordinate in decimal format (xx.yyyyyy) Latitude NullableFloat64 `json:"latitude,omitempty"` // GPS coordinate in decimal format (xx.yyyyyy) - Longitude NullableFloat64 `json:"longitude,omitempty"` - ParentDevice NullableNestedDevice `json:"parent_device"` - Status *DeviceStatus `json:"status,omitempty"` - Airflow *DeviceAirflow `json:"airflow,omitempty"` - PrimaryIp NullableIPAddress `json:"primary_ip"` - PrimaryIp4 NullableIPAddress `json:"primary_ip4,omitempty"` - PrimaryIp6 NullableIPAddress `json:"primary_ip6,omitempty"` - OobIp NullableIPAddress `json:"oob_ip,omitempty"` - Cluster NullableCluster `json:"cluster,omitempty"` - VirtualChassis NullableVirtualChassis `json:"virtual_chassis,omitempty"` - VcPosition NullableInt32 `json:"vc_position,omitempty"` + Longitude NullableFloat64 `json:"longitude,omitempty"` + ParentDevice NullableNestedDevice `json:"parent_device,omitempty"` + Status *DeviceStatus `json:"status,omitempty"` + Airflow *DeviceAirflow `json:"airflow,omitempty"` + PrimaryIp NullableBriefIPAddress `json:"primary_ip,omitempty"` + PrimaryIp4 NullableBriefIPAddress `json:"primary_ip4,omitempty"` + PrimaryIp6 NullableBriefIPAddress `json:"primary_ip6,omitempty"` + OobIp NullableBriefIPAddress `json:"oob_ip,omitempty"` + Cluster NullableBriefCluster `json:"cluster,omitempty"` + VirtualChassis NullableBriefVirtualChassis `json:"virtual_chassis,omitempty"` + VcPosition NullableInt32 `json:"vc_position,omitempty"` // Virtual chassis master election priority - VcPriority NullableInt32 `json:"vc_priority,omitempty"` - Description *string `json:"description,omitempty"` - Comments *string `json:"comments,omitempty"` - ConfigTemplate NullableConfigTemplate `json:"config_template,omitempty"` + VcPriority NullableInt32 `json:"vc_priority,omitempty"` + Description string `json:"description"` + Comments *string `json:"comments,omitempty"` + ConfigTemplate NullableBriefConfigTemplate `json:"config_template,omitempty"` // Local config context data takes precedence over source contexts in the final rendered config context LocalContextData interface{} `json:"local_context_data,omitempty"` Tags []NestedTag `json:"tags,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` - Created NullableTime `json:"created"` - LastUpdated NullableTime `json:"last_updated"` - ConsolePortCount int32 `json:"console_port_count"` - ConsoleServerPortCount int32 `json:"console_server_port_count"` - PowerPortCount int32 `json:"power_port_count"` - PowerOutletCount int32 `json:"power_outlet_count"` - InterfaceCount int32 `json:"interface_count"` - FrontPortCount int32 `json:"front_port_count"` - RearPortCount int32 `json:"rear_port_count"` - DeviceBayCount int32 `json:"device_bay_count"` - ModuleBayCount int32 `json:"module_bay_count"` - InventoryItemCount int32 `json:"inventory_item_count"` + Created NullableTime `json:"created,omitempty"` + LastUpdated NullableTime `json:"last_updated,omitempty"` + ConsolePortCount *int32 `json:"console_port_count,omitempty"` + ConsoleServerPortCount *int32 `json:"console_server_port_count,omitempty"` + PowerPortCount *int32 `json:"power_port_count,omitempty"` + PowerOutletCount *int32 `json:"power_outlet_count,omitempty"` + InterfaceCount *int32 `json:"interface_count,omitempty"` + FrontPortCount *int32 `json:"front_port_count,omitempty"` + RearPortCount *int32 `json:"rear_port_count,omitempty"` + DeviceBayCount *int32 `json:"device_bay_count,omitempty"` + ModuleBayCount *int32 `json:"module_bay_count,omitempty"` + InventoryItemCount *int32 `json:"inventory_item_count,omitempty"` AdditionalProperties map[string]interface{} } @@ -82,28 +83,13 @@ 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 int32, url string, display string, deviceType DeviceType, role DeviceRole, site Site, parentDevice NullableNestedDevice, primaryIp NullableIPAddress, created NullableTime, lastUpdated NullableTime, consolePortCount int32, consoleServerPortCount int32, powerPortCount int32, powerOutletCount int32, interfaceCount int32, frontPortCount int32, rearPortCount int32, deviceBayCount int32, moduleBayCount int32, inventoryItemCount int32) *Device { +func NewDevice(id int32, url string, display string, name NullableString, description string) *Device { this := Device{} this.Id = id this.Url = url this.Display = display - this.DeviceType = deviceType - this.Role = role - this.Site = site - this.ParentDevice = parentDevice - this.PrimaryIp = primaryIp - this.Created = created - this.LastUpdated = lastUpdated - this.ConsolePortCount = consolePortCount - this.ConsoleServerPortCount = consoleServerPortCount - this.PowerPortCount = powerPortCount - this.PowerOutletCount = powerOutletCount - this.InterfaceCount = interfaceCount - this.FrontPortCount = frontPortCount - this.RearPortCount = rearPortCount - this.DeviceBayCount = deviceBayCount - this.ModuleBayCount = moduleBayCount - this.InventoryItemCount = inventoryItemCount + this.Name = name + this.Description = description return &this } @@ -163,6 +149,38 @@ func (o *Device) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *Device) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Device) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *Device) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *Device) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *Device) GetDisplay() string { if o == nil { @@ -187,16 +205,18 @@ func (o *Device) SetDisplay(v string) { o.Display = v } -// GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null). +// GetName returns the Name field value +// If the value is explicit nil, the zero value for string will be returned func (o *Device) GetName() string { - if o == nil || IsNil(o.Name.Get()) { + if o == nil || o.Name.Get() == nil { var ret string return ret } + return *o.Name.Get() } -// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// GetNameOk returns a tuple with the Name 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 *Device) GetNameOk() (*string, bool) { @@ -206,82 +226,79 @@ func (o *Device) GetNameOk() (*string, bool) { return o.Name.Get(), o.Name.IsSet() } -// HasName returns a boolean if a field has been set. -func (o *Device) HasName() bool { - if o != nil && o.Name.IsSet() { - return true - } - - return false -} - -// SetName gets a reference to the given NullableString and assigns it to the Name field. +// SetName sets field value func (o *Device) SetName(v string) { o.Name.Set(&v) } -// SetNameNil sets the value for Name to be an explicit nil -func (o *Device) SetNameNil() { - o.Name.Set(nil) -} - -// UnsetName ensures that no value is present for Name, not even an explicit nil -func (o *Device) UnsetName() { - o.Name.Unset() -} - -// GetDeviceType returns the DeviceType field value -func (o *Device) GetDeviceType() DeviceType { - if o == nil { - var ret DeviceType +// GetDeviceType returns the DeviceType field value if set, zero value otherwise. +func (o *Device) GetDeviceType() BriefDeviceType { + if o == nil || IsNil(o.DeviceType) { + var ret BriefDeviceType return ret } - - return o.DeviceType + return *o.DeviceType } -// GetDeviceTypeOk returns a tuple with the DeviceType field value +// GetDeviceTypeOk returns a tuple with the DeviceType field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Device) GetDeviceTypeOk() (*DeviceType, bool) { - if o == nil { +func (o *Device) GetDeviceTypeOk() (*BriefDeviceType, bool) { + if o == nil || IsNil(o.DeviceType) { return nil, false } - return &o.DeviceType, true + return o.DeviceType, true +} + +// HasDeviceType returns a boolean if a field has been set. +func (o *Device) HasDeviceType() bool { + if o != nil && !IsNil(o.DeviceType) { + return true + } + + return false } -// SetDeviceType sets field value -func (o *Device) SetDeviceType(v DeviceType) { - o.DeviceType = v +// SetDeviceType gets a reference to the given BriefDeviceType and assigns it to the DeviceType field. +func (o *Device) SetDeviceType(v BriefDeviceType) { + o.DeviceType = &v } -// GetRole returns the Role field value -func (o *Device) GetRole() DeviceRole { - if o == nil { - var ret DeviceRole +// GetRole returns the Role field value if set, zero value otherwise. +func (o *Device) GetRole() BriefDeviceRole { + if o == nil || IsNil(o.Role) { + var ret BriefDeviceRole return ret } - - return o.Role + return *o.Role } -// GetRoleOk returns a tuple with the Role field value +// GetRoleOk returns a tuple with the Role field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Device) GetRoleOk() (*DeviceRole, bool) { - if o == nil { +func (o *Device) GetRoleOk() (*BriefDeviceRole, bool) { + if o == nil || IsNil(o.Role) { return nil, false } - return &o.Role, true + return o.Role, true } -// SetRole sets field value -func (o *Device) SetRole(v DeviceRole) { - o.Role = v +// HasRole returns a boolean if a field has been set. +func (o *Device) HasRole() bool { + if o != nil && !IsNil(o.Role) { + return true + } + + return false +} + +// SetRole gets a reference to the given BriefDeviceRole and assigns it to the Role field. +func (o *Device) SetRole(v BriefDeviceRole) { + o.Role = &v } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *Device) GetTenant() Tenant { +func (o *Device) GetTenant() BriefTenant { if o == nil || IsNil(o.Tenant.Get()) { - var ret Tenant + var ret BriefTenant return ret } return *o.Tenant.Get() @@ -290,7 +307,7 @@ func (o *Device) GetTenant() Tenant { // 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 *Device) GetTenantOk() (*Tenant, bool) { +func (o *Device) GetTenantOk() (*BriefTenant, bool) { if o == nil { return nil, false } @@ -306,8 +323,8 @@ func (o *Device) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenant and assigns it to the Tenant field. -func (o *Device) SetTenant(v Tenant) { +// SetTenant gets a reference to the given NullableBriefTenant and assigns it to the Tenant field. +func (o *Device) SetTenant(v BriefTenant) { o.Tenant.Set(&v) } @@ -322,9 +339,9 @@ func (o *Device) UnsetTenant() { } // GetPlatform returns the Platform field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *Device) GetPlatform() Platform { +func (o *Device) GetPlatform() BriefPlatform { if o == nil || IsNil(o.Platform.Get()) { - var ret Platform + var ret BriefPlatform return ret } return *o.Platform.Get() @@ -333,7 +350,7 @@ func (o *Device) GetPlatform() Platform { // GetPlatformOk returns a tuple with the Platform 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 *Device) GetPlatformOk() (*Platform, bool) { +func (o *Device) GetPlatformOk() (*BriefPlatform, bool) { if o == nil { return nil, false } @@ -349,8 +366,8 @@ func (o *Device) HasPlatform() bool { return false } -// SetPlatform gets a reference to the given NullablePlatform and assigns it to the Platform field. -func (o *Device) SetPlatform(v Platform) { +// SetPlatform gets a reference to the given NullableBriefPlatform and assigns it to the Platform field. +func (o *Device) SetPlatform(v BriefPlatform) { o.Platform.Set(&v) } @@ -439,34 +456,42 @@ func (o *Device) UnsetAssetTag() { o.AssetTag.Unset() } -// GetSite returns the Site field value -func (o *Device) GetSite() Site { - if o == nil { - var ret Site +// GetSite returns the Site field value if set, zero value otherwise. +func (o *Device) GetSite() BriefSite { + if o == nil || IsNil(o.Site) { + var ret BriefSite return ret } - - return o.Site + return *o.Site } -// GetSiteOk returns a tuple with the Site field value +// GetSiteOk returns a tuple with the Site field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Device) GetSiteOk() (*Site, bool) { - if o == nil { +func (o *Device) GetSiteOk() (*BriefSite, bool) { + if o == nil || IsNil(o.Site) { return nil, false } - return &o.Site, true + return o.Site, true } -// SetSite sets field value -func (o *Device) SetSite(v Site) { - o.Site = v +// HasSite returns a boolean if a field has been set. +func (o *Device) HasSite() bool { + if o != nil && !IsNil(o.Site) { + return true + } + + return false +} + +// SetSite gets a reference to the given BriefSite and assigns it to the Site field. +func (o *Device) SetSite(v BriefSite) { + o.Site = &v } // GetLocation returns the Location field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *Device) GetLocation() Location { +func (o *Device) GetLocation() BriefLocation { if o == nil || IsNil(o.Location.Get()) { - var ret Location + var ret BriefLocation return ret } return *o.Location.Get() @@ -475,7 +500,7 @@ func (o *Device) GetLocation() 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. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *Device) GetLocationOk() (*Location, bool) { +func (o *Device) GetLocationOk() (*BriefLocation, bool) { if o == nil { return nil, false } @@ -491,8 +516,8 @@ func (o *Device) HasLocation() bool { return false } -// SetLocation gets a reference to the given NullableLocation and assigns it to the Location field. -func (o *Device) SetLocation(v Location) { +// SetLocation gets a reference to the given NullableBriefLocation and assigns it to the Location field. +func (o *Device) SetLocation(v BriefLocation) { o.Location.Set(&v) } @@ -507,9 +532,9 @@ func (o *Device) UnsetLocation() { } // GetRack returns the Rack field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *Device) GetRack() Rack { +func (o *Device) GetRack() BriefRack { if o == nil || IsNil(o.Rack.Get()) { - var ret Rack + var ret BriefRack return ret } return *o.Rack.Get() @@ -518,7 +543,7 @@ func (o *Device) GetRack() Rack { // GetRackOk returns a tuple with the Rack 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 *Device) GetRackOk() (*Rack, bool) { +func (o *Device) GetRackOk() (*BriefRack, bool) { if o == nil { return nil, false } @@ -534,8 +559,8 @@ func (o *Device) HasRack() bool { return false } -// SetRack gets a reference to the given NullableRack and assigns it to the Rack field. -func (o *Device) SetRack(v Rack) { +// SetRack gets a reference to the given NullableBriefRack and assigns it to the Rack field. +func (o *Device) SetRack(v BriefRack) { o.Rack.Set(&v) } @@ -710,18 +735,16 @@ func (o *Device) UnsetLongitude() { o.Longitude.Unset() } -// GetParentDevice returns the ParentDevice field value -// If the value is explicit nil, the zero value for NestedDevice will be returned +// GetParentDevice returns the ParentDevice field value if set, zero value otherwise (both if not set or set to explicit null). func (o *Device) GetParentDevice() NestedDevice { - if o == nil || o.ParentDevice.Get() == nil { + if o == nil || IsNil(o.ParentDevice.Get()) { var ret NestedDevice return ret } - return *o.ParentDevice.Get() } -// GetParentDeviceOk returns a tuple with the ParentDevice field value +// GetParentDeviceOk returns a tuple with the ParentDevice 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 *Device) GetParentDeviceOk() (*NestedDevice, bool) { @@ -731,11 +754,30 @@ func (o *Device) GetParentDeviceOk() (*NestedDevice, bool) { return o.ParentDevice.Get(), o.ParentDevice.IsSet() } -// SetParentDevice sets field value +// HasParentDevice returns a boolean if a field has been set. +func (o *Device) HasParentDevice() bool { + if o != nil && o.ParentDevice.IsSet() { + return true + } + + return false +} + +// SetParentDevice gets a reference to the given NullableNestedDevice and assigns it to the ParentDevice field. func (o *Device) SetParentDevice(v NestedDevice) { o.ParentDevice.Set(&v) } +// SetParentDeviceNil sets the value for ParentDevice to be an explicit nil +func (o *Device) SetParentDeviceNil() { + o.ParentDevice.Set(nil) +} + +// UnsetParentDevice ensures that no value is present for ParentDevice, not even an explicit nil +func (o *Device) UnsetParentDevice() { + o.ParentDevice.Unset() +} + // GetStatus returns the Status field value if set, zero value otherwise. func (o *Device) GetStatus() DeviceStatus { if o == nil || IsNil(o.Status) { @@ -800,36 +842,53 @@ func (o *Device) SetAirflow(v DeviceAirflow) { o.Airflow = &v } -// GetPrimaryIp returns the PrimaryIp field value -// If the value is explicit nil, the zero value for IPAddress will be returned -func (o *Device) GetPrimaryIp() IPAddress { - if o == nil || o.PrimaryIp.Get() == nil { - var ret IPAddress +// GetPrimaryIp returns the PrimaryIp field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Device) GetPrimaryIp() BriefIPAddress { + if o == nil || IsNil(o.PrimaryIp.Get()) { + var ret BriefIPAddress return ret } - return *o.PrimaryIp.Get() } -// GetPrimaryIpOk returns a tuple with the PrimaryIp field value +// GetPrimaryIpOk returns a tuple with the PrimaryIp 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 *Device) GetPrimaryIpOk() (*IPAddress, bool) { +func (o *Device) GetPrimaryIpOk() (*BriefIPAddress, bool) { if o == nil { return nil, false } return o.PrimaryIp.Get(), o.PrimaryIp.IsSet() } -// SetPrimaryIp sets field value -func (o *Device) SetPrimaryIp(v IPAddress) { +// HasPrimaryIp returns a boolean if a field has been set. +func (o *Device) HasPrimaryIp() bool { + if o != nil && o.PrimaryIp.IsSet() { + return true + } + + return false +} + +// SetPrimaryIp gets a reference to the given NullableBriefIPAddress and assigns it to the PrimaryIp field. +func (o *Device) SetPrimaryIp(v BriefIPAddress) { o.PrimaryIp.Set(&v) } +// SetPrimaryIpNil sets the value for PrimaryIp to be an explicit nil +func (o *Device) SetPrimaryIpNil() { + o.PrimaryIp.Set(nil) +} + +// UnsetPrimaryIp ensures that no value is present for PrimaryIp, not even an explicit nil +func (o *Device) UnsetPrimaryIp() { + o.PrimaryIp.Unset() +} + // GetPrimaryIp4 returns the PrimaryIp4 field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *Device) GetPrimaryIp4() IPAddress { +func (o *Device) GetPrimaryIp4() BriefIPAddress { if o == nil || IsNil(o.PrimaryIp4.Get()) { - var ret IPAddress + var ret BriefIPAddress return ret } return *o.PrimaryIp4.Get() @@ -838,7 +897,7 @@ func (o *Device) GetPrimaryIp4() IPAddress { // 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 *Device) GetPrimaryIp4Ok() (*IPAddress, bool) { +func (o *Device) GetPrimaryIp4Ok() (*BriefIPAddress, bool) { if o == nil { return nil, false } @@ -854,8 +913,8 @@ func (o *Device) HasPrimaryIp4() bool { return false } -// SetPrimaryIp4 gets a reference to the given NullableIPAddress and assigns it to the PrimaryIp4 field. -func (o *Device) SetPrimaryIp4(v IPAddress) { +// SetPrimaryIp4 gets a reference to the given NullableBriefIPAddress and assigns it to the PrimaryIp4 field. +func (o *Device) SetPrimaryIp4(v BriefIPAddress) { o.PrimaryIp4.Set(&v) } @@ -870,9 +929,9 @@ func (o *Device) UnsetPrimaryIp4() { } // GetPrimaryIp6 returns the PrimaryIp6 field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *Device) GetPrimaryIp6() IPAddress { +func (o *Device) GetPrimaryIp6() BriefIPAddress { if o == nil || IsNil(o.PrimaryIp6.Get()) { - var ret IPAddress + var ret BriefIPAddress return ret } return *o.PrimaryIp6.Get() @@ -881,7 +940,7 @@ func (o *Device) GetPrimaryIp6() IPAddress { // 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 *Device) GetPrimaryIp6Ok() (*IPAddress, bool) { +func (o *Device) GetPrimaryIp6Ok() (*BriefIPAddress, bool) { if o == nil { return nil, false } @@ -897,8 +956,8 @@ func (o *Device) HasPrimaryIp6() bool { return false } -// SetPrimaryIp6 gets a reference to the given NullableIPAddress and assigns it to the PrimaryIp6 field. -func (o *Device) SetPrimaryIp6(v IPAddress) { +// SetPrimaryIp6 gets a reference to the given NullableBriefIPAddress and assigns it to the PrimaryIp6 field. +func (o *Device) SetPrimaryIp6(v BriefIPAddress) { o.PrimaryIp6.Set(&v) } @@ -913,9 +972,9 @@ func (o *Device) UnsetPrimaryIp6() { } // GetOobIp returns the OobIp field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *Device) GetOobIp() IPAddress { +func (o *Device) GetOobIp() BriefIPAddress { if o == nil || IsNil(o.OobIp.Get()) { - var ret IPAddress + var ret BriefIPAddress return ret } return *o.OobIp.Get() @@ -924,7 +983,7 @@ func (o *Device) GetOobIp() IPAddress { // GetOobIpOk returns a tuple with the OobIp 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 *Device) GetOobIpOk() (*IPAddress, bool) { +func (o *Device) GetOobIpOk() (*BriefIPAddress, bool) { if o == nil { return nil, false } @@ -940,8 +999,8 @@ func (o *Device) HasOobIp() bool { return false } -// SetOobIp gets a reference to the given NullableIPAddress and assigns it to the OobIp field. -func (o *Device) SetOobIp(v IPAddress) { +// SetOobIp gets a reference to the given NullableBriefIPAddress and assigns it to the OobIp field. +func (o *Device) SetOobIp(v BriefIPAddress) { o.OobIp.Set(&v) } @@ -956,9 +1015,9 @@ func (o *Device) UnsetOobIp() { } // GetCluster returns the Cluster field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *Device) GetCluster() Cluster { +func (o *Device) GetCluster() BriefCluster { if o == nil || IsNil(o.Cluster.Get()) { - var ret Cluster + var ret BriefCluster return ret } return *o.Cluster.Get() @@ -967,7 +1026,7 @@ func (o *Device) GetCluster() Cluster { // GetClusterOk returns a tuple with the Cluster 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 *Device) GetClusterOk() (*Cluster, bool) { +func (o *Device) GetClusterOk() (*BriefCluster, bool) { if o == nil { return nil, false } @@ -983,8 +1042,8 @@ func (o *Device) HasCluster() bool { return false } -// SetCluster gets a reference to the given NullableCluster and assigns it to the Cluster field. -func (o *Device) SetCluster(v Cluster) { +// SetCluster gets a reference to the given NullableBriefCluster and assigns it to the Cluster field. +func (o *Device) SetCluster(v BriefCluster) { o.Cluster.Set(&v) } @@ -999,9 +1058,9 @@ func (o *Device) UnsetCluster() { } // GetVirtualChassis returns the VirtualChassis field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *Device) GetVirtualChassis() VirtualChassis { +func (o *Device) GetVirtualChassis() BriefVirtualChassis { if o == nil || IsNil(o.VirtualChassis.Get()) { - var ret VirtualChassis + var ret BriefVirtualChassis return ret } return *o.VirtualChassis.Get() @@ -1010,7 +1069,7 @@ func (o *Device) GetVirtualChassis() VirtualChassis { // GetVirtualChassisOk returns a tuple with the VirtualChassis 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 *Device) GetVirtualChassisOk() (*VirtualChassis, bool) { +func (o *Device) GetVirtualChassisOk() (*BriefVirtualChassis, bool) { if o == nil { return nil, false } @@ -1026,8 +1085,8 @@ func (o *Device) HasVirtualChassis() bool { return false } -// SetVirtualChassis gets a reference to the given NullableVirtualChassis and assigns it to the VirtualChassis field. -func (o *Device) SetVirtualChassis(v VirtualChassis) { +// SetVirtualChassis gets a reference to the given NullableBriefVirtualChassis and assigns it to the VirtualChassis field. +func (o *Device) SetVirtualChassis(v BriefVirtualChassis) { o.VirtualChassis.Set(&v) } @@ -1127,36 +1186,28 @@ func (o *Device) UnsetVcPriority() { o.VcPriority.Unset() } -// GetDescription returns the Description field value if set, zero value otherwise. +// GetDescription returns the Description field value func (o *Device) GetDescription() string { - if o == nil || IsNil(o.Description) { + if o == nil { var ret string return ret } - return *o.Description + + return o.Description } -// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// GetDescriptionOk returns a tuple with the Description field value // and a boolean to check if the value has been set. func (o *Device) GetDescriptionOk() (*string, bool) { - if o == nil || IsNil(o.Description) { + if o == nil { return nil, false } - return o.Description, true -} - -// HasDescription returns a boolean if a field has been set. -func (o *Device) HasDescription() bool { - if o != nil && !IsNil(o.Description) { - return true - } - - return false + return &o.Description, true } -// SetDescription gets a reference to the given string and assigns it to the Description field. +// SetDescription sets field value func (o *Device) SetDescription(v string) { - o.Description = &v + o.Description = v } // GetComments returns the Comments field value if set, zero value otherwise. @@ -1192,9 +1243,9 @@ func (o *Device) SetComments(v string) { } // GetConfigTemplate returns the ConfigTemplate field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *Device) GetConfigTemplate() ConfigTemplate { +func (o *Device) GetConfigTemplate() BriefConfigTemplate { if o == nil || IsNil(o.ConfigTemplate.Get()) { - var ret ConfigTemplate + var ret BriefConfigTemplate return ret } return *o.ConfigTemplate.Get() @@ -1203,7 +1254,7 @@ func (o *Device) GetConfigTemplate() ConfigTemplate { // GetConfigTemplateOk returns a tuple with the ConfigTemplate 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 *Device) GetConfigTemplateOk() (*ConfigTemplate, bool) { +func (o *Device) GetConfigTemplateOk() (*BriefConfigTemplate, bool) { if o == nil { return nil, false } @@ -1219,8 +1270,8 @@ func (o *Device) HasConfigTemplate() bool { return false } -// SetConfigTemplate gets a reference to the given NullableConfigTemplate and assigns it to the ConfigTemplate field. -func (o *Device) SetConfigTemplate(v ConfigTemplate) { +// SetConfigTemplate gets a reference to the given NullableBriefConfigTemplate and assigns it to the ConfigTemplate field. +func (o *Device) SetConfigTemplate(v BriefConfigTemplate) { o.ConfigTemplate.Set(&v) } @@ -1331,18 +1382,16 @@ func (o *Device) SetCustomFields(v map[string]interface{}) { o.CustomFields = v } -// GetCreated returns the Created field value -// If the value is explicit nil, the zero value for time.Time will be returned +// GetCreated returns the Created field value if set, zero value otherwise (both if not set or set to explicit null). func (o *Device) GetCreated() time.Time { - if o == nil || o.Created.Get() == nil { + if o == nil || IsNil(o.Created.Get()) { var ret time.Time return ret } - return *o.Created.Get() } -// GetCreatedOk returns a tuple with the Created field value +// GetCreatedOk returns a tuple with the Created 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 *Device) GetCreatedOk() (*time.Time, bool) { @@ -1352,23 +1401,40 @@ func (o *Device) GetCreatedOk() (*time.Time, bool) { return o.Created.Get(), o.Created.IsSet() } -// SetCreated sets field value +// HasCreated returns a boolean if a field has been set. +func (o *Device) HasCreated() bool { + if o != nil && o.Created.IsSet() { + return true + } + + return false +} + +// SetCreated gets a reference to the given NullableTime and assigns it to the Created field. func (o *Device) 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 +// SetCreatedNil sets the value for Created to be an explicit nil +func (o *Device) SetCreatedNil() { + o.Created.Set(nil) +} + +// UnsetCreated ensures that no value is present for Created, not even an explicit nil +func (o *Device) UnsetCreated() { + o.Created.Unset() +} + +// GetLastUpdated returns the LastUpdated field value if set, zero value otherwise (both if not set or set to explicit null). func (o *Device) GetLastUpdated() time.Time { - if o == nil || o.LastUpdated.Get() == nil { + if o == nil || IsNil(o.LastUpdated.Get()) { var ret time.Time return ret } - return *o.LastUpdated.Get() } -// GetLastUpdatedOk returns a tuple with the LastUpdated field value +// GetLastUpdatedOk returns a tuple with the LastUpdated 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 *Device) GetLastUpdatedOk() (*time.Time, bool) { @@ -1378,249 +1444,348 @@ func (o *Device) GetLastUpdatedOk() (*time.Time, bool) { return o.LastUpdated.Get(), o.LastUpdated.IsSet() } -// SetLastUpdated sets field value +// HasLastUpdated returns a boolean if a field has been set. +func (o *Device) HasLastUpdated() bool { + if o != nil && o.LastUpdated.IsSet() { + return true + } + + return false +} + +// SetLastUpdated gets a reference to the given NullableTime and assigns it to the LastUpdated field. func (o *Device) SetLastUpdated(v time.Time) { o.LastUpdated.Set(&v) } -// GetConsolePortCount returns the ConsolePortCount field value +// SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil +func (o *Device) SetLastUpdatedNil() { + o.LastUpdated.Set(nil) +} + +// UnsetLastUpdated ensures that no value is present for LastUpdated, not even an explicit nil +func (o *Device) UnsetLastUpdated() { + o.LastUpdated.Unset() +} + +// GetConsolePortCount returns the ConsolePortCount field value if set, zero value otherwise. func (o *Device) GetConsolePortCount() int32 { - if o == nil { + if o == nil || IsNil(o.ConsolePortCount) { var ret int32 return ret } - - return o.ConsolePortCount + return *o.ConsolePortCount } -// GetConsolePortCountOk returns a tuple with the ConsolePortCount field value +// GetConsolePortCountOk returns a tuple with the ConsolePortCount field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *Device) GetConsolePortCountOk() (*int32, bool) { - if o == nil { + if o == nil || IsNil(o.ConsolePortCount) { return nil, false } - return &o.ConsolePortCount, true + return o.ConsolePortCount, true +} + +// HasConsolePortCount returns a boolean if a field has been set. +func (o *Device) HasConsolePortCount() bool { + if o != nil && !IsNil(o.ConsolePortCount) { + return true + } + + return false } -// SetConsolePortCount sets field value +// SetConsolePortCount gets a reference to the given int32 and assigns it to the ConsolePortCount field. func (o *Device) SetConsolePortCount(v int32) { - o.ConsolePortCount = v + o.ConsolePortCount = &v } -// GetConsoleServerPortCount returns the ConsoleServerPortCount field value +// GetConsoleServerPortCount returns the ConsoleServerPortCount field value if set, zero value otherwise. func (o *Device) GetConsoleServerPortCount() int32 { - if o == nil { + if o == nil || IsNil(o.ConsoleServerPortCount) { var ret int32 return ret } - - return o.ConsoleServerPortCount + return *o.ConsoleServerPortCount } -// GetConsoleServerPortCountOk returns a tuple with the ConsoleServerPortCount field value +// GetConsoleServerPortCountOk returns a tuple with the ConsoleServerPortCount field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *Device) GetConsoleServerPortCountOk() (*int32, bool) { - if o == nil { + if o == nil || IsNil(o.ConsoleServerPortCount) { return nil, false } - return &o.ConsoleServerPortCount, true + return o.ConsoleServerPortCount, true } -// SetConsoleServerPortCount sets field value +// HasConsoleServerPortCount returns a boolean if a field has been set. +func (o *Device) HasConsoleServerPortCount() bool { + if o != nil && !IsNil(o.ConsoleServerPortCount) { + return true + } + + return false +} + +// SetConsoleServerPortCount gets a reference to the given int32 and assigns it to the ConsoleServerPortCount field. func (o *Device) SetConsoleServerPortCount(v int32) { - o.ConsoleServerPortCount = v + o.ConsoleServerPortCount = &v } -// GetPowerPortCount returns the PowerPortCount field value +// GetPowerPortCount returns the PowerPortCount field value if set, zero value otherwise. func (o *Device) GetPowerPortCount() int32 { - if o == nil { + if o == nil || IsNil(o.PowerPortCount) { var ret int32 return ret } - - return o.PowerPortCount + return *o.PowerPortCount } -// GetPowerPortCountOk returns a tuple with the PowerPortCount field value +// GetPowerPortCountOk returns a tuple with the PowerPortCount field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *Device) GetPowerPortCountOk() (*int32, bool) { - if o == nil { + if o == nil || IsNil(o.PowerPortCount) { return nil, false } - return &o.PowerPortCount, true + return o.PowerPortCount, true +} + +// HasPowerPortCount returns a boolean if a field has been set. +func (o *Device) HasPowerPortCount() bool { + if o != nil && !IsNil(o.PowerPortCount) { + return true + } + + return false } -// SetPowerPortCount sets field value +// SetPowerPortCount gets a reference to the given int32 and assigns it to the PowerPortCount field. func (o *Device) SetPowerPortCount(v int32) { - o.PowerPortCount = v + o.PowerPortCount = &v } -// GetPowerOutletCount returns the PowerOutletCount field value +// GetPowerOutletCount returns the PowerOutletCount field value if set, zero value otherwise. func (o *Device) GetPowerOutletCount() int32 { - if o == nil { + if o == nil || IsNil(o.PowerOutletCount) { var ret int32 return ret } - - return o.PowerOutletCount + return *o.PowerOutletCount } -// GetPowerOutletCountOk returns a tuple with the PowerOutletCount field value +// GetPowerOutletCountOk returns a tuple with the PowerOutletCount field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *Device) GetPowerOutletCountOk() (*int32, bool) { - if o == nil { + if o == nil || IsNil(o.PowerOutletCount) { return nil, false } - return &o.PowerOutletCount, true + return o.PowerOutletCount, true +} + +// HasPowerOutletCount returns a boolean if a field has been set. +func (o *Device) HasPowerOutletCount() bool { + if o != nil && !IsNil(o.PowerOutletCount) { + return true + } + + return false } -// SetPowerOutletCount sets field value +// SetPowerOutletCount gets a reference to the given int32 and assigns it to the PowerOutletCount field. func (o *Device) SetPowerOutletCount(v int32) { - o.PowerOutletCount = v + o.PowerOutletCount = &v } -// GetInterfaceCount returns the InterfaceCount field value +// GetInterfaceCount returns the InterfaceCount field value if set, zero value otherwise. func (o *Device) GetInterfaceCount() int32 { - if o == nil { + if o == nil || IsNil(o.InterfaceCount) { var ret int32 return ret } - - return o.InterfaceCount + return *o.InterfaceCount } -// GetInterfaceCountOk returns a tuple with the InterfaceCount field value +// GetInterfaceCountOk returns a tuple with the InterfaceCount field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *Device) GetInterfaceCountOk() (*int32, bool) { - if o == nil { + if o == nil || IsNil(o.InterfaceCount) { return nil, false } - return &o.InterfaceCount, true + return o.InterfaceCount, true } -// SetInterfaceCount sets field value +// HasInterfaceCount returns a boolean if a field has been set. +func (o *Device) HasInterfaceCount() bool { + if o != nil && !IsNil(o.InterfaceCount) { + return true + } + + return false +} + +// SetInterfaceCount gets a reference to the given int32 and assigns it to the InterfaceCount field. func (o *Device) SetInterfaceCount(v int32) { - o.InterfaceCount = v + o.InterfaceCount = &v } -// GetFrontPortCount returns the FrontPortCount field value +// GetFrontPortCount returns the FrontPortCount field value if set, zero value otherwise. func (o *Device) GetFrontPortCount() int32 { - if o == nil { + if o == nil || IsNil(o.FrontPortCount) { var ret int32 return ret } - - return o.FrontPortCount + return *o.FrontPortCount } -// GetFrontPortCountOk returns a tuple with the FrontPortCount field value +// GetFrontPortCountOk returns a tuple with the FrontPortCount field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *Device) GetFrontPortCountOk() (*int32, bool) { - if o == nil { + if o == nil || IsNil(o.FrontPortCount) { return nil, false } - return &o.FrontPortCount, true + return o.FrontPortCount, true +} + +// HasFrontPortCount returns a boolean if a field has been set. +func (o *Device) HasFrontPortCount() bool { + if o != nil && !IsNil(o.FrontPortCount) { + return true + } + + return false } -// SetFrontPortCount sets field value +// SetFrontPortCount gets a reference to the given int32 and assigns it to the FrontPortCount field. func (o *Device) SetFrontPortCount(v int32) { - o.FrontPortCount = v + o.FrontPortCount = &v } -// GetRearPortCount returns the RearPortCount field value +// GetRearPortCount returns the RearPortCount field value if set, zero value otherwise. func (o *Device) GetRearPortCount() int32 { - if o == nil { + if o == nil || IsNil(o.RearPortCount) { var ret int32 return ret } - - return o.RearPortCount + return *o.RearPortCount } -// GetRearPortCountOk returns a tuple with the RearPortCount field value +// GetRearPortCountOk returns a tuple with the RearPortCount field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *Device) GetRearPortCountOk() (*int32, bool) { - if o == nil { + if o == nil || IsNil(o.RearPortCount) { return nil, false } - return &o.RearPortCount, true + return o.RearPortCount, true +} + +// HasRearPortCount returns a boolean if a field has been set. +func (o *Device) HasRearPortCount() bool { + if o != nil && !IsNil(o.RearPortCount) { + return true + } + + return false } -// SetRearPortCount sets field value +// SetRearPortCount gets a reference to the given int32 and assigns it to the RearPortCount field. func (o *Device) SetRearPortCount(v int32) { - o.RearPortCount = v + o.RearPortCount = &v } -// GetDeviceBayCount returns the DeviceBayCount field value +// GetDeviceBayCount returns the DeviceBayCount field value if set, zero value otherwise. func (o *Device) GetDeviceBayCount() int32 { - if o == nil { + if o == nil || IsNil(o.DeviceBayCount) { var ret int32 return ret } - - return o.DeviceBayCount + return *o.DeviceBayCount } -// GetDeviceBayCountOk returns a tuple with the DeviceBayCount field value +// GetDeviceBayCountOk returns a tuple with the DeviceBayCount field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *Device) GetDeviceBayCountOk() (*int32, bool) { - if o == nil { + if o == nil || IsNil(o.DeviceBayCount) { return nil, false } - return &o.DeviceBayCount, true + return o.DeviceBayCount, true } -// SetDeviceBayCount sets field value +// HasDeviceBayCount returns a boolean if a field has been set. +func (o *Device) HasDeviceBayCount() bool { + if o != nil && !IsNil(o.DeviceBayCount) { + return true + } + + return false +} + +// SetDeviceBayCount gets a reference to the given int32 and assigns it to the DeviceBayCount field. func (o *Device) SetDeviceBayCount(v int32) { - o.DeviceBayCount = v + o.DeviceBayCount = &v } -// GetModuleBayCount returns the ModuleBayCount field value +// GetModuleBayCount returns the ModuleBayCount field value if set, zero value otherwise. func (o *Device) GetModuleBayCount() int32 { - if o == nil { + if o == nil || IsNil(o.ModuleBayCount) { var ret int32 return ret } - - return o.ModuleBayCount + return *o.ModuleBayCount } -// GetModuleBayCountOk returns a tuple with the ModuleBayCount field value +// 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 *Device) GetModuleBayCountOk() (*int32, bool) { - if o == nil { + if o == nil || IsNil(o.ModuleBayCount) { return nil, false } - return &o.ModuleBayCount, true + return o.ModuleBayCount, true +} + +// HasModuleBayCount returns a boolean if a field has been set. +func (o *Device) HasModuleBayCount() bool { + if o != nil && !IsNil(o.ModuleBayCount) { + return true + } + + return false } -// SetModuleBayCount sets field value +// SetModuleBayCount gets a reference to the given int32 and assigns it to the ModuleBayCount field. func (o *Device) SetModuleBayCount(v int32) { - o.ModuleBayCount = v + o.ModuleBayCount = &v } -// GetInventoryItemCount returns the InventoryItemCount field value +// GetInventoryItemCount returns the InventoryItemCount field value if set, zero value otherwise. func (o *Device) GetInventoryItemCount() int32 { - if o == nil { + if o == nil || IsNil(o.InventoryItemCount) { var ret int32 return ret } - - return o.InventoryItemCount + return *o.InventoryItemCount } -// GetInventoryItemCountOk returns a tuple with the InventoryItemCount field value +// GetInventoryItemCountOk returns a tuple with the InventoryItemCount field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *Device) GetInventoryItemCountOk() (*int32, bool) { - if o == nil { + if o == nil || IsNil(o.InventoryItemCount) { return nil, false } - return &o.InventoryItemCount, true + return o.InventoryItemCount, true +} + +// HasInventoryItemCount returns a boolean if a field has been set. +func (o *Device) HasInventoryItemCount() bool { + if o != nil && !IsNil(o.InventoryItemCount) { + return true + } + + return false } -// SetInventoryItemCount sets field value +// SetInventoryItemCount gets a reference to the given int32 and assigns it to the InventoryItemCount field. func (o *Device) SetInventoryItemCount(v int32) { - o.InventoryItemCount = v + o.InventoryItemCount = &v } func (o Device) MarshalJSON() ([]byte, error) { @@ -1635,12 +1800,17 @@ func (o Device) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display - if o.Name.IsSet() { - toSerialize["name"] = o.Name.Get() + toSerialize["name"] = o.Name.Get() + if !IsNil(o.DeviceType) { + toSerialize["device_type"] = o.DeviceType + } + if !IsNil(o.Role) { + toSerialize["role"] = o.Role } - toSerialize["device_type"] = o.DeviceType - toSerialize["role"] = o.Role if o.Tenant.IsSet() { toSerialize["tenant"] = o.Tenant.Get() } @@ -1653,7 +1823,9 @@ func (o Device) ToMap() (map[string]interface{}, error) { if o.AssetTag.IsSet() { toSerialize["asset_tag"] = o.AssetTag.Get() } - toSerialize["site"] = o.Site + if !IsNil(o.Site) { + toSerialize["site"] = o.Site + } if o.Location.IsSet() { toSerialize["location"] = o.Location.Get() } @@ -1672,14 +1844,18 @@ func (o Device) ToMap() (map[string]interface{}, error) { if o.Longitude.IsSet() { toSerialize["longitude"] = o.Longitude.Get() } - toSerialize["parent_device"] = o.ParentDevice.Get() + if o.ParentDevice.IsSet() { + toSerialize["parent_device"] = o.ParentDevice.Get() + } if !IsNil(o.Status) { toSerialize["status"] = o.Status } if !IsNil(o.Airflow) { toSerialize["airflow"] = o.Airflow } - toSerialize["primary_ip"] = o.PrimaryIp.Get() + if o.PrimaryIp.IsSet() { + toSerialize["primary_ip"] = o.PrimaryIp.Get() + } if o.PrimaryIp4.IsSet() { toSerialize["primary_ip4"] = o.PrimaryIp4.Get() } @@ -1701,9 +1877,7 @@ func (o Device) ToMap() (map[string]interface{}, error) { if o.VcPriority.IsSet() { toSerialize["vc_priority"] = o.VcPriority.Get() } - if !IsNil(o.Description) { - toSerialize["description"] = o.Description - } + toSerialize["description"] = o.Description if !IsNil(o.Comments) { toSerialize["comments"] = o.Comments } @@ -1719,18 +1893,42 @@ func (o Device) ToMap() (map[string]interface{}, error) { if !IsNil(o.CustomFields) { toSerialize["custom_fields"] = o.CustomFields } - toSerialize["created"] = o.Created.Get() - toSerialize["last_updated"] = o.LastUpdated.Get() - toSerialize["console_port_count"] = o.ConsolePortCount - toSerialize["console_server_port_count"] = o.ConsoleServerPortCount - toSerialize["power_port_count"] = o.PowerPortCount - toSerialize["power_outlet_count"] = o.PowerOutletCount - toSerialize["interface_count"] = o.InterfaceCount - toSerialize["front_port_count"] = o.FrontPortCount - toSerialize["rear_port_count"] = o.RearPortCount - toSerialize["device_bay_count"] = o.DeviceBayCount - toSerialize["module_bay_count"] = o.ModuleBayCount - toSerialize["inventory_item_count"] = o.InventoryItemCount + if o.Created.IsSet() { + toSerialize["created"] = o.Created.Get() + } + if o.LastUpdated.IsSet() { + toSerialize["last_updated"] = o.LastUpdated.Get() + } + if !IsNil(o.ConsolePortCount) { + toSerialize["console_port_count"] = o.ConsolePortCount + } + if !IsNil(o.ConsoleServerPortCount) { + toSerialize["console_server_port_count"] = o.ConsoleServerPortCount + } + if !IsNil(o.PowerPortCount) { + toSerialize["power_port_count"] = o.PowerPortCount + } + if !IsNil(o.PowerOutletCount) { + toSerialize["power_outlet_count"] = o.PowerOutletCount + } + if !IsNil(o.InterfaceCount) { + toSerialize["interface_count"] = o.InterfaceCount + } + if !IsNil(o.FrontPortCount) { + toSerialize["front_port_count"] = o.FrontPortCount + } + if !IsNil(o.RearPortCount) { + toSerialize["rear_port_count"] = o.RearPortCount + } + if !IsNil(o.DeviceBayCount) { + toSerialize["device_bay_count"] = o.DeviceBayCount + } + if !IsNil(o.ModuleBayCount) { + toSerialize["module_bay_count"] = o.ModuleBayCount + } + if !IsNil(o.InventoryItemCount) { + toSerialize["inventory_item_count"] = o.InventoryItemCount + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -1747,23 +1945,8 @@ func (o *Device) UnmarshalJSON(data []byte) (err error) { "id", "url", "display", - "device_type", - "role", - "site", - "parent_device", - "primary_ip", - "created", - "last_updated", - "console_port_count", - "console_server_port_count", - "power_port_count", - "power_outlet_count", - "interface_count", - "front_port_count", - "rear_port_count", - "device_bay_count", - "module_bay_count", - "inventory_item_count", + "name", + "description", } allProperties := make(map[string]interface{}) @@ -1795,6 +1978,7 @@ func (o *Device) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") delete(additionalProperties, "device_type") diff --git a/model_device_airflow.go b/model_device_airflow.go index b3812caae..3288a544b 100644 --- a/model_device_airflow.go +++ b/model_device_airflow.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_device_airflow_label.go b/model_device_airflow_label.go index 9d2429b94..b8442fd52 100644 --- a/model_device_airflow_label.go +++ b/model_device_airflow_label.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_device_airflow_value.go b/model_device_airflow_value.go index 9ff9281c9..78a17d587 100644 --- a/model_device_airflow_value.go +++ b/model_device_airflow_value.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_device_bay.go b/model_device_bay.go index ab35b6a54..ae9277ad8 100644 --- a/model_device_bay.go +++ b/model_device_bay.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,15 +21,16 @@ var _ MappedNullable = &DeviceBay{} // DeviceBay Adds support for custom fields and tags. type DeviceBay struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - Device Device `json:"device"` - Name string `json:"name"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Device BriefDevice `json:"device"` + Name string `json:"name"` // Physical label Label *string `json:"label,omitempty"` Description *string `json:"description,omitempty"` - InstalledDevice NullableDevice `json:"installed_device,omitempty"` + InstalledDevice NullableBriefDevice `json:"installed_device,omitempty"` Tags []NestedTag `json:"tags,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Created NullableTime `json:"created"` @@ -43,7 +44,7 @@ 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 int32, url string, display string, device Device, name string, created NullableTime, lastUpdated NullableTime) *DeviceBay { +func NewDeviceBay(id int32, url string, display string, device BriefDevice, name string, created NullableTime, lastUpdated NullableTime) *DeviceBay { this := DeviceBay{} this.Id = id this.Url = url @@ -111,6 +112,38 @@ func (o *DeviceBay) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *DeviceBay) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeviceBay) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *DeviceBay) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *DeviceBay) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *DeviceBay) GetDisplay() string { if o == nil { @@ -136,9 +169,9 @@ func (o *DeviceBay) SetDisplay(v string) { } // GetDevice returns the Device field value -func (o *DeviceBay) GetDevice() Device { +func (o *DeviceBay) GetDevice() BriefDevice { if o == nil { - var ret Device + var ret BriefDevice return ret } @@ -147,7 +180,7 @@ func (o *DeviceBay) GetDevice() Device { // GetDeviceOk returns a tuple with the Device field value // and a boolean to check if the value has been set. -func (o *DeviceBay) GetDeviceOk() (*Device, bool) { +func (o *DeviceBay) GetDeviceOk() (*BriefDevice, bool) { if o == nil { return nil, false } @@ -155,7 +188,7 @@ func (o *DeviceBay) GetDeviceOk() (*Device, bool) { } // SetDevice sets field value -func (o *DeviceBay) SetDevice(v Device) { +func (o *DeviceBay) SetDevice(v BriefDevice) { o.Device = v } @@ -248,9 +281,9 @@ func (o *DeviceBay) SetDescription(v string) { } // GetInstalledDevice returns the InstalledDevice field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *DeviceBay) GetInstalledDevice() Device { +func (o *DeviceBay) GetInstalledDevice() BriefDevice { if o == nil || IsNil(o.InstalledDevice.Get()) { - var ret Device + var ret BriefDevice return ret } return *o.InstalledDevice.Get() @@ -259,7 +292,7 @@ func (o *DeviceBay) GetInstalledDevice() Device { // GetInstalledDeviceOk returns a tuple with the InstalledDevice 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 *DeviceBay) GetInstalledDeviceOk() (*Device, bool) { +func (o *DeviceBay) GetInstalledDeviceOk() (*BriefDevice, bool) { if o == nil { return nil, false } @@ -275,8 +308,8 @@ func (o *DeviceBay) HasInstalledDevice() bool { return false } -// SetInstalledDevice gets a reference to the given NullableDevice and assigns it to the InstalledDevice field. -func (o *DeviceBay) SetInstalledDevice(v Device) { +// SetInstalledDevice gets a reference to the given NullableBriefDevice and assigns it to the InstalledDevice field. +func (o *DeviceBay) SetInstalledDevice(v BriefDevice) { o.InstalledDevice.Set(&v) } @@ -418,6 +451,9 @@ func (o DeviceBay) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["device"] = o.Device toSerialize["name"] = o.Name @@ -489,6 +525,7 @@ func (o *DeviceBay) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "device") delete(additionalProperties, "name") diff --git a/model_device_bay_request.go b/model_device_bay_request.go index 514b0172e..89ee9d7f2 100644 --- a/model_device_bay_request.go +++ b/model_device_bay_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,14 +20,14 @@ var _ MappedNullable = &DeviceBayRequest{} // DeviceBayRequest Adds support for custom fields and tags. type DeviceBayRequest struct { - Device DeviceRequest `json:"device"` - Name string `json:"name"` + Device BriefDeviceRequest `json:"device"` + Name string `json:"name"` // Physical label - Label *string `json:"label,omitempty"` - Description *string `json:"description,omitempty"` - InstalledDevice NullableDeviceRequest `json:"installed_device,omitempty"` - Tags []NestedTagRequest `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Label *string `json:"label,omitempty"` + Description *string `json:"description,omitempty"` + InstalledDevice NullableBriefDeviceRequest `json:"installed_device,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -37,7 +37,7 @@ type _DeviceBayRequest DeviceBayRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewDeviceBayRequest(device DeviceRequest, name string) *DeviceBayRequest { +func NewDeviceBayRequest(device BriefDeviceRequest, name string) *DeviceBayRequest { this := DeviceBayRequest{} this.Device = device this.Name = name @@ -53,9 +53,9 @@ func NewDeviceBayRequestWithDefaults() *DeviceBayRequest { } // GetDevice returns the Device field value -func (o *DeviceBayRequest) GetDevice() DeviceRequest { +func (o *DeviceBayRequest) GetDevice() BriefDeviceRequest { if o == nil { - var ret DeviceRequest + var ret BriefDeviceRequest return ret } @@ -64,7 +64,7 @@ func (o *DeviceBayRequest) GetDevice() DeviceRequest { // GetDeviceOk returns a tuple with the Device field value // and a boolean to check if the value has been set. -func (o *DeviceBayRequest) GetDeviceOk() (*DeviceRequest, bool) { +func (o *DeviceBayRequest) GetDeviceOk() (*BriefDeviceRequest, bool) { if o == nil { return nil, false } @@ -72,7 +72,7 @@ func (o *DeviceBayRequest) GetDeviceOk() (*DeviceRequest, bool) { } // SetDevice sets field value -func (o *DeviceBayRequest) SetDevice(v DeviceRequest) { +func (o *DeviceBayRequest) SetDevice(v BriefDeviceRequest) { o.Device = v } @@ -165,9 +165,9 @@ func (o *DeviceBayRequest) SetDescription(v string) { } // GetInstalledDevice returns the InstalledDevice field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *DeviceBayRequest) GetInstalledDevice() DeviceRequest { +func (o *DeviceBayRequest) GetInstalledDevice() BriefDeviceRequest { if o == nil || IsNil(o.InstalledDevice.Get()) { - var ret DeviceRequest + var ret BriefDeviceRequest return ret } return *o.InstalledDevice.Get() @@ -176,7 +176,7 @@ func (o *DeviceBayRequest) GetInstalledDevice() DeviceRequest { // GetInstalledDeviceOk returns a tuple with the InstalledDevice 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 *DeviceBayRequest) GetInstalledDeviceOk() (*DeviceRequest, bool) { +func (o *DeviceBayRequest) GetInstalledDeviceOk() (*BriefDeviceRequest, bool) { if o == nil { return nil, false } @@ -192,8 +192,8 @@ func (o *DeviceBayRequest) HasInstalledDevice() bool { return false } -// SetInstalledDevice gets a reference to the given NullableDeviceRequest and assigns it to the InstalledDevice field. -func (o *DeviceBayRequest) SetInstalledDevice(v DeviceRequest) { +// SetInstalledDevice gets a reference to the given NullableBriefDeviceRequest and assigns it to the InstalledDevice field. +func (o *DeviceBayRequest) SetInstalledDevice(v BriefDeviceRequest) { o.InstalledDevice.Set(&v) } diff --git a/model_device_bay_template.go b/model_device_bay_template.go index 6ea0c9a93..d1c1b8227 100644 --- a/model_device_bay_template.go +++ b/model_device_bay_template.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,10 +21,10 @@ var _ MappedNullable = &DeviceBayTemplate{} // DeviceBayTemplate Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 DeviceBayTemplate struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - DeviceType DeviceType `json:"device_type"` + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + DeviceType BriefDeviceType `json:"device_type"` // {module} is accepted as a substitution for the module bay position when attached to a module type. Name string `json:"name"` // Physical label @@ -41,7 +41,7 @@ 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 int32, url string, display string, deviceType DeviceType, name string, created NullableTime, lastUpdated NullableTime) *DeviceBayTemplate { +func NewDeviceBayTemplate(id int32, url string, display string, deviceType BriefDeviceType, name string, created NullableTime, lastUpdated NullableTime) *DeviceBayTemplate { this := DeviceBayTemplate{} this.Id = id this.Url = url @@ -134,9 +134,9 @@ func (o *DeviceBayTemplate) SetDisplay(v string) { } // GetDeviceType returns the DeviceType field value -func (o *DeviceBayTemplate) GetDeviceType() DeviceType { +func (o *DeviceBayTemplate) GetDeviceType() BriefDeviceType { if o == nil { - var ret DeviceType + var ret BriefDeviceType return ret } @@ -145,7 +145,7 @@ func (o *DeviceBayTemplate) GetDeviceType() DeviceType { // GetDeviceTypeOk returns a tuple with the DeviceType field value // and a boolean to check if the value has been set. -func (o *DeviceBayTemplate) GetDeviceTypeOk() (*DeviceType, bool) { +func (o *DeviceBayTemplate) GetDeviceTypeOk() (*BriefDeviceType, bool) { if o == nil { return nil, false } @@ -153,7 +153,7 @@ func (o *DeviceBayTemplate) GetDeviceTypeOk() (*DeviceType, bool) { } // SetDeviceType sets field value -func (o *DeviceBayTemplate) SetDeviceType(v DeviceType) { +func (o *DeviceBayTemplate) SetDeviceType(v BriefDeviceType) { o.DeviceType = v } diff --git a/model_device_bay_template_request.go b/model_device_bay_template_request.go index b75a4eaa3..acb187250 100644 --- a/model_device_bay_template_request.go +++ b/model_device_bay_template_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,7 +20,7 @@ var _ MappedNullable = &DeviceBayTemplateRequest{} // DeviceBayTemplateRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 DeviceBayTemplateRequest struct { - DeviceType DeviceTypeRequest `json:"device_type"` + DeviceType BriefDeviceTypeRequest `json:"device_type"` // {module} is accepted as a substitution for the module bay position when attached to a module type. Name string `json:"name"` // Physical label @@ -35,7 +35,7 @@ type _DeviceBayTemplateRequest DeviceBayTemplateRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewDeviceBayTemplateRequest(deviceType DeviceTypeRequest, name string) *DeviceBayTemplateRequest { +func NewDeviceBayTemplateRequest(deviceType BriefDeviceTypeRequest, name string) *DeviceBayTemplateRequest { this := DeviceBayTemplateRequest{} this.DeviceType = deviceType this.Name = name @@ -51,9 +51,9 @@ func NewDeviceBayTemplateRequestWithDefaults() *DeviceBayTemplateRequest { } // GetDeviceType returns the DeviceType field value -func (o *DeviceBayTemplateRequest) GetDeviceType() DeviceTypeRequest { +func (o *DeviceBayTemplateRequest) GetDeviceType() BriefDeviceTypeRequest { if o == nil { - var ret DeviceTypeRequest + var ret BriefDeviceTypeRequest return ret } @@ -62,7 +62,7 @@ func (o *DeviceBayTemplateRequest) GetDeviceType() DeviceTypeRequest { // GetDeviceTypeOk returns a tuple with the DeviceType field value // and a boolean to check if the value has been set. -func (o *DeviceBayTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool) { +func (o *DeviceBayTemplateRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool) { if o == nil { return nil, false } @@ -70,7 +70,7 @@ func (o *DeviceBayTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool) } // SetDeviceType sets field value -func (o *DeviceBayTemplateRequest) SetDeviceType(v DeviceTypeRequest) { +func (o *DeviceBayTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest) { o.DeviceType = v } diff --git a/model_device_face.go b/model_device_face.go index 380afa689..f38eedb6f 100644 --- a/model_device_face.go +++ b/model_device_face.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 b74e4452a..8fa5d14c0 100644 --- a/model_device_face_label.go +++ b/model_device_face_label.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 c693fb0de..c4d8c3eb3 100644 --- a/model_device_face_value.go +++ b/model_device_face_value.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_device_role.go b/model_device_role.go index 1c2cf2a0c..2ab652d39 100644 --- a/model_device_role.go +++ b/model_device_role.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -13,6 +13,7 @@ package netbox import ( "encoding/json" "fmt" + "time" ) // checks if the DeviceRole type satisfies the MappedNullable interface at compile time @@ -20,14 +21,23 @@ var _ MappedNullable = &DeviceRole{} // DeviceRole Adds support for custom fields and tags. type DeviceRole struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - Name string `json:"name"` - Slug string `json:"slug"` - Description *string `json:"description,omitempty"` - DeviceCount int64 `json:"device_count"` - VirtualmachineCount int64 `json:"virtualmachine_count"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Name string `json:"name"` + Slug string `json:"slug"` + Color *string `json:"color,omitempty"` + // Virtual machines may be assigned to this role + VmRole *bool `json:"vm_role,omitempty"` + ConfigTemplate NullableBriefConfigTemplate `json:"config_template,omitempty"` + Description *string `json:"description,omitempty"` + Tags []NestedTag `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Created NullableTime `json:"created"` + LastUpdated NullableTime `json:"last_updated"` + DeviceCount *int64 `json:"device_count,omitempty"` + VirtualmachineCount *int64 `json:"virtualmachine_count,omitempty"` AdditionalProperties map[string]interface{} } @@ -37,15 +47,15 @@ type _DeviceRole DeviceRole // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewDeviceRole(id int32, url string, display string, name string, slug string, deviceCount int64, virtualmachineCount int64) *DeviceRole { +func NewDeviceRole(id int32, url string, display string, name string, slug string, created NullableTime, lastUpdated NullableTime) *DeviceRole { this := DeviceRole{} this.Id = id this.Url = url this.Display = display this.Name = name this.Slug = slug - this.DeviceCount = deviceCount - this.VirtualmachineCount = virtualmachineCount + this.Created = created + this.LastUpdated = lastUpdated return &this } @@ -105,6 +115,38 @@ func (o *DeviceRole) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *DeviceRole) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeviceRole) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *DeviceRole) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *DeviceRole) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *DeviceRole) GetDisplay() string { if o == nil { @@ -177,6 +219,113 @@ func (o *DeviceRole) SetSlug(v string) { o.Slug = v } +// GetColor returns the Color field value if set, zero value otherwise. +func (o *DeviceRole) GetColor() string { + if o == nil || IsNil(o.Color) { + var ret string + return ret + } + return *o.Color +} + +// GetColorOk returns a tuple with the Color field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeviceRole) GetColorOk() (*string, bool) { + if o == nil || IsNil(o.Color) { + return nil, false + } + return o.Color, true +} + +// HasColor returns a boolean if a field has been set. +func (o *DeviceRole) HasColor() bool { + if o != nil && !IsNil(o.Color) { + return true + } + + return false +} + +// SetColor gets a reference to the given string and assigns it to the Color field. +func (o *DeviceRole) SetColor(v string) { + o.Color = &v +} + +// GetVmRole returns the VmRole field value if set, zero value otherwise. +func (o *DeviceRole) GetVmRole() bool { + if o == nil || IsNil(o.VmRole) { + var ret bool + return ret + } + return *o.VmRole +} + +// GetVmRoleOk returns a tuple with the VmRole field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeviceRole) GetVmRoleOk() (*bool, bool) { + if o == nil || IsNil(o.VmRole) { + return nil, false + } + return o.VmRole, true +} + +// HasVmRole returns a boolean if a field has been set. +func (o *DeviceRole) HasVmRole() bool { + if o != nil && !IsNil(o.VmRole) { + return true + } + + return false +} + +// SetVmRole gets a reference to the given bool and assigns it to the VmRole field. +func (o *DeviceRole) SetVmRole(v bool) { + o.VmRole = &v +} + +// GetConfigTemplate returns the ConfigTemplate field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DeviceRole) GetConfigTemplate() BriefConfigTemplate { + if o == nil || IsNil(o.ConfigTemplate.Get()) { + var ret BriefConfigTemplate + return ret + } + return *o.ConfigTemplate.Get() +} + +// GetConfigTemplateOk returns a tuple with the ConfigTemplate 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 *DeviceRole) GetConfigTemplateOk() (*BriefConfigTemplate, bool) { + if o == nil { + return nil, false + } + return o.ConfigTemplate.Get(), o.ConfigTemplate.IsSet() +} + +// HasConfigTemplate returns a boolean if a field has been set. +func (o *DeviceRole) HasConfigTemplate() bool { + if o != nil && o.ConfigTemplate.IsSet() { + return true + } + + return false +} + +// SetConfigTemplate gets a reference to the given NullableBriefConfigTemplate and assigns it to the ConfigTemplate field. +func (o *DeviceRole) SetConfigTemplate(v BriefConfigTemplate) { + o.ConfigTemplate.Set(&v) +} + +// SetConfigTemplateNil sets the value for ConfigTemplate to be an explicit nil +func (o *DeviceRole) SetConfigTemplateNil() { + o.ConfigTemplate.Set(nil) +} + +// UnsetConfigTemplate ensures that no value is present for ConfigTemplate, not even an explicit nil +func (o *DeviceRole) UnsetConfigTemplate() { + o.ConfigTemplate.Unset() +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *DeviceRole) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -209,52 +358,184 @@ func (o *DeviceRole) SetDescription(v string) { o.Description = &v } -// GetDeviceCount returns the DeviceCount field value -func (o *DeviceRole) GetDeviceCount() int64 { +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *DeviceRole) GetTags() []NestedTag { + if o == nil || IsNil(o.Tags) { + var ret []NestedTag + 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 *DeviceRole) GetTagsOk() ([]NestedTag, 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 *DeviceRole) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTag and assigns it to the Tags field. +func (o *DeviceRole) SetTags(v []NestedTag) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *DeviceRole) 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 *DeviceRole) 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 *DeviceRole) 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 *DeviceRole) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetCreated returns the Created field value +// If the value is explicit nil, the zero value for time.Time will be returned +func (o *DeviceRole) 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 *DeviceRole) GetCreatedOk() (*time.Time, bool) { if o == nil { - var ret int64 + return nil, false + } + return o.Created.Get(), o.Created.IsSet() +} + +// SetCreated sets field value +func (o *DeviceRole) 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 *DeviceRole) GetLastUpdated() time.Time { + if o == nil || o.LastUpdated.Get() == nil { + var ret time.Time return ret } - return o.DeviceCount + return *o.LastUpdated.Get() } -// GetDeviceCountOk returns a tuple with the DeviceCount field value +// GetLastUpdatedOk returns a tuple with the LastUpdated field value // and a boolean to check if the value has been set. -func (o *DeviceRole) GetDeviceCountOk() (*int64, bool) { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DeviceRole) GetLastUpdatedOk() (*time.Time, bool) { if o == nil { return nil, false } - return &o.DeviceCount, true + return o.LastUpdated.Get(), o.LastUpdated.IsSet() +} + +// SetLastUpdated sets field value +func (o *DeviceRole) SetLastUpdated(v time.Time) { + o.LastUpdated.Set(&v) +} + +// GetDeviceCount returns the DeviceCount field value if set, zero value otherwise. +func (o *DeviceRole) GetDeviceCount() int64 { + if o == nil || IsNil(o.DeviceCount) { + var ret int64 + return ret + } + return *o.DeviceCount +} + +// GetDeviceCountOk returns a tuple with the DeviceCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeviceRole) GetDeviceCountOk() (*int64, bool) { + if o == nil || IsNil(o.DeviceCount) { + return nil, false + } + return o.DeviceCount, true +} + +// HasDeviceCount returns a boolean if a field has been set. +func (o *DeviceRole) HasDeviceCount() bool { + if o != nil && !IsNil(o.DeviceCount) { + return true + } + + return false } -// SetDeviceCount sets field value +// SetDeviceCount gets a reference to the given int64 and assigns it to the DeviceCount field. func (o *DeviceRole) SetDeviceCount(v int64) { - o.DeviceCount = v + o.DeviceCount = &v } -// GetVirtualmachineCount returns the VirtualmachineCount field value +// GetVirtualmachineCount returns the VirtualmachineCount field value if set, zero value otherwise. func (o *DeviceRole) GetVirtualmachineCount() int64 { - if o == nil { + if o == nil || IsNil(o.VirtualmachineCount) { var ret int64 return ret } - - return o.VirtualmachineCount + return *o.VirtualmachineCount } -// GetVirtualmachineCountOk returns a tuple with the VirtualmachineCount field value +// GetVirtualmachineCountOk returns a tuple with the VirtualmachineCount field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *DeviceRole) GetVirtualmachineCountOk() (*int64, bool) { - if o == nil { + if o == nil || IsNil(o.VirtualmachineCount) { return nil, false } - return &o.VirtualmachineCount, true + return o.VirtualmachineCount, true +} + +// HasVirtualmachineCount returns a boolean if a field has been set. +func (o *DeviceRole) HasVirtualmachineCount() bool { + if o != nil && !IsNil(o.VirtualmachineCount) { + return true + } + + return false } -// SetVirtualmachineCount sets field value +// SetVirtualmachineCount gets a reference to the given int64 and assigns it to the VirtualmachineCount field. func (o *DeviceRole) SetVirtualmachineCount(v int64) { - o.VirtualmachineCount = v + o.VirtualmachineCount = &v } func (o DeviceRole) MarshalJSON() ([]byte, error) { @@ -269,14 +550,38 @@ func (o DeviceRole) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["name"] = o.Name toSerialize["slug"] = o.Slug + if !IsNil(o.Color) { + toSerialize["color"] = o.Color + } + if !IsNil(o.VmRole) { + toSerialize["vm_role"] = o.VmRole + } + if o.ConfigTemplate.IsSet() { + toSerialize["config_template"] = o.ConfigTemplate.Get() + } if !IsNil(o.Description) { toSerialize["description"] = o.Description } - toSerialize["device_count"] = o.DeviceCount - toSerialize["virtualmachine_count"] = o.VirtualmachineCount + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + toSerialize["created"] = o.Created.Get() + toSerialize["last_updated"] = o.LastUpdated.Get() + if !IsNil(o.DeviceCount) { + toSerialize["device_count"] = o.DeviceCount + } + if !IsNil(o.VirtualmachineCount) { + toSerialize["virtualmachine_count"] = o.VirtualmachineCount + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -295,8 +600,8 @@ func (o *DeviceRole) UnmarshalJSON(data []byte) (err error) { "display", "name", "slug", - "device_count", - "virtualmachine_count", + "created", + "last_updated", } allProperties := make(map[string]interface{}) @@ -328,10 +633,18 @@ func (o *DeviceRole) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") delete(additionalProperties, "slug") + delete(additionalProperties, "color") + delete(additionalProperties, "vm_role") + delete(additionalProperties, "config_template") delete(additionalProperties, "description") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "created") + delete(additionalProperties, "last_updated") delete(additionalProperties, "device_count") delete(additionalProperties, "virtualmachine_count") o.AdditionalProperties = additionalProperties diff --git a/model_device_role_request.go b/model_device_role_request.go index 111b389d1..02fb01e18 100644 --- a/model_device_role_request.go +++ b/model_device_role_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -24,11 +24,11 @@ type DeviceRoleRequest struct { Slug string `json:"slug"` Color *string `json:"color,omitempty"` // Virtual machines may be assigned to this role - VmRole *bool `json:"vm_role,omitempty"` - ConfigTemplate NullableConfigTemplateRequest `json:"config_template,omitempty"` - Description *string `json:"description,omitempty"` - Tags []NestedTagRequest `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + VmRole *bool `json:"vm_role,omitempty"` + ConfigTemplate NullableBriefConfigTemplateRequest `json:"config_template,omitempty"` + Description *string `json:"description,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -166,9 +166,9 @@ func (o *DeviceRoleRequest) SetVmRole(v bool) { } // GetConfigTemplate returns the ConfigTemplate field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *DeviceRoleRequest) GetConfigTemplate() ConfigTemplateRequest { +func (o *DeviceRoleRequest) GetConfigTemplate() BriefConfigTemplateRequest { if o == nil || IsNil(o.ConfigTemplate.Get()) { - var ret ConfigTemplateRequest + var ret BriefConfigTemplateRequest return ret } return *o.ConfigTemplate.Get() @@ -177,7 +177,7 @@ func (o *DeviceRoleRequest) GetConfigTemplate() ConfigTemplateRequest { // GetConfigTemplateOk returns a tuple with the ConfigTemplate 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 *DeviceRoleRequest) GetConfigTemplateOk() (*ConfigTemplateRequest, bool) { +func (o *DeviceRoleRequest) GetConfigTemplateOk() (*BriefConfigTemplateRequest, bool) { if o == nil { return nil, false } @@ -193,8 +193,8 @@ func (o *DeviceRoleRequest) HasConfigTemplate() bool { return false } -// SetConfigTemplate gets a reference to the given NullableConfigTemplateRequest and assigns it to the ConfigTemplate field. -func (o *DeviceRoleRequest) SetConfigTemplate(v ConfigTemplateRequest) { +// SetConfigTemplate gets a reference to the given NullableBriefConfigTemplateRequest and assigns it to the ConfigTemplate field. +func (o *DeviceRoleRequest) SetConfigTemplate(v BriefConfigTemplateRequest) { o.ConfigTemplate.Set(&v) } diff --git a/model_device_status.go b/model_device_status.go index 04e480442..c2757aac6 100644 --- a/model_device_status.go +++ b/model_device_status.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_device_status_label.go b/model_device_status_label.go index 4490be89a..422278963 100644 --- a/model_device_status_label.go +++ b/model_device_status_label.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_device_status_value.go b/model_device_status_value.go index 032b9b5b6..7974a5cd9 100644 --- a/model_device_status_value.go +++ b/model_device_status_value.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 6b71ca2b4..1f4944516 100644 --- a/model_device_type.go +++ b/model_device_type.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -13,6 +13,7 @@ package netbox import ( "encoding/json" "fmt" + "time" ) // checks if the DeviceType type satisfies the MappedNullable interface at compile time @@ -20,15 +21,45 @@ var _ MappedNullable = &DeviceType{} // DeviceType Adds support for custom fields and tags. type DeviceType struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - Manufacturer Manufacturer `json:"manufacturer"` - Model string `json:"model"` - Slug string `json:"slug"` - Description *string `json:"description,omitempty"` - DeviceCount int64 `json:"device_count"` - AdditionalProperties map[string]interface{} + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Manufacturer BriefManufacturer `json:"manufacturer"` + DefaultPlatform NullableBriefPlatform `json:"default_platform,omitempty"` + Model string `json:"model"` + Slug string `json:"slug"` + // Discrete part number (optional) + PartNumber *string `json:"part_number,omitempty"` + UHeight *float64 `json:"u_height,omitempty"` + // Devices of this type are excluded when calculating rack utilization. + ExcludeFromUtilization *bool `json:"exclude_from_utilization,omitempty"` + // Device consumes both front and rear rack faces. + IsFullDepth *bool `json:"is_full_depth,omitempty"` + SubdeviceRole NullableDeviceTypeSubdeviceRole `json:"subdevice_role,omitempty"` + Airflow NullableDeviceTypeAirflow `json:"airflow,omitempty"` + Weight NullableFloat64 `json:"weight,omitempty"` + WeightUnit NullableDeviceTypeWeightUnit `json:"weight_unit,omitempty"` + FrontImage NullableString `json:"front_image,omitempty"` + RearImage NullableString `json:"rear_image,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTag `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Created NullableTime `json:"created"` + LastUpdated NullableTime `json:"last_updated"` + DeviceCount *int64 `json:"device_count,omitempty"` + ConsolePortTemplateCount int32 `json:"console_port_template_count"` + ConsoleServerPortTemplateCount int32 `json:"console_server_port_template_count"` + PowerPortTemplateCount int32 `json:"power_port_template_count"` + PowerOutletTemplateCount int32 `json:"power_outlet_template_count"` + InterfaceTemplateCount int32 `json:"interface_template_count"` + FrontPortTemplateCount int32 `json:"front_port_template_count"` + RearPortTemplateCount int32 `json:"rear_port_template_count"` + DeviceBayTemplateCount int32 `json:"device_bay_template_count"` + ModuleBayTemplateCount int32 `json:"module_bay_template_count"` + InventoryItemTemplateCount int32 `json:"inventory_item_template_count"` + AdditionalProperties map[string]interface{} } type _DeviceType DeviceType @@ -37,7 +68,7 @@ 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 int32, url string, display string, manufacturer Manufacturer, model string, slug string, deviceCount int64) *DeviceType { +func NewDeviceType(id int32, url string, display string, manufacturer BriefManufacturer, model string, slug string, created NullableTime, lastUpdated NullableTime, consolePortTemplateCount int32, consoleServerPortTemplateCount int32, powerPortTemplateCount int32, powerOutletTemplateCount int32, interfaceTemplateCount int32, frontPortTemplateCount int32, rearPortTemplateCount int32, deviceBayTemplateCount int32, moduleBayTemplateCount int32, inventoryItemTemplateCount int32) *DeviceType { this := DeviceType{} this.Id = id this.Url = url @@ -45,7 +76,20 @@ func NewDeviceType(id int32, url string, display string, manufacturer Manufactur this.Manufacturer = manufacturer this.Model = model this.Slug = slug - this.DeviceCount = deviceCount + var uHeight float64 = 1.0 + this.UHeight = &uHeight + this.Created = created + this.LastUpdated = lastUpdated + this.ConsolePortTemplateCount = consolePortTemplateCount + this.ConsoleServerPortTemplateCount = consoleServerPortTemplateCount + this.PowerPortTemplateCount = powerPortTemplateCount + this.PowerOutletTemplateCount = powerOutletTemplateCount + this.InterfaceTemplateCount = interfaceTemplateCount + this.FrontPortTemplateCount = frontPortTemplateCount + this.RearPortTemplateCount = rearPortTemplateCount + this.DeviceBayTemplateCount = deviceBayTemplateCount + this.ModuleBayTemplateCount = moduleBayTemplateCount + this.InventoryItemTemplateCount = inventoryItemTemplateCount return &this } @@ -54,6 +98,8 @@ func NewDeviceType(id int32, url string, display string, manufacturer Manufactur // but it doesn't guarantee that properties required by API are set func NewDeviceTypeWithDefaults() *DeviceType { this := DeviceType{} + var uHeight float64 = 1.0 + this.UHeight = &uHeight return &this } @@ -105,6 +151,38 @@ func (o *DeviceType) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *DeviceType) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeviceType) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *DeviceType) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *DeviceType) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *DeviceType) GetDisplay() string { if o == nil { @@ -130,9 +208,9 @@ func (o *DeviceType) SetDisplay(v string) { } // GetManufacturer returns the Manufacturer field value -func (o *DeviceType) GetManufacturer() Manufacturer { +func (o *DeviceType) GetManufacturer() BriefManufacturer { if o == nil { - var ret Manufacturer + var ret BriefManufacturer return ret } @@ -141,7 +219,7 @@ func (o *DeviceType) GetManufacturer() Manufacturer { // GetManufacturerOk returns a tuple with the Manufacturer field value // and a boolean to check if the value has been set. -func (o *DeviceType) GetManufacturerOk() (*Manufacturer, bool) { +func (o *DeviceType) GetManufacturerOk() (*BriefManufacturer, bool) { if o == nil { return nil, false } @@ -149,10 +227,53 @@ func (o *DeviceType) GetManufacturerOk() (*Manufacturer, bool) { } // SetManufacturer sets field value -func (o *DeviceType) SetManufacturer(v Manufacturer) { +func (o *DeviceType) SetManufacturer(v BriefManufacturer) { o.Manufacturer = v } +// GetDefaultPlatform returns the DefaultPlatform field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DeviceType) GetDefaultPlatform() BriefPlatform { + if o == nil || IsNil(o.DefaultPlatform.Get()) { + var ret BriefPlatform + return ret + } + return *o.DefaultPlatform.Get() +} + +// GetDefaultPlatformOk returns a tuple with the DefaultPlatform 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 *DeviceType) GetDefaultPlatformOk() (*BriefPlatform, bool) { + if o == nil { + return nil, false + } + return o.DefaultPlatform.Get(), o.DefaultPlatform.IsSet() +} + +// HasDefaultPlatform returns a boolean if a field has been set. +func (o *DeviceType) HasDefaultPlatform() bool { + if o != nil && o.DefaultPlatform.IsSet() { + return true + } + + return false +} + +// SetDefaultPlatform gets a reference to the given NullableBriefPlatform and assigns it to the DefaultPlatform field. +func (o *DeviceType) SetDefaultPlatform(v BriefPlatform) { + o.DefaultPlatform.Set(&v) +} + +// SetDefaultPlatformNil sets the value for DefaultPlatform to be an explicit nil +func (o *DeviceType) SetDefaultPlatformNil() { + o.DefaultPlatform.Set(nil) +} + +// UnsetDefaultPlatform ensures that no value is present for DefaultPlatform, not even an explicit nil +func (o *DeviceType) UnsetDefaultPlatform() { + o.DefaultPlatform.Unset() +} + // GetModel returns the Model field value func (o *DeviceType) GetModel() string { if o == nil { @@ -201,6 +322,392 @@ func (o *DeviceType) SetSlug(v string) { o.Slug = v } +// GetPartNumber returns the PartNumber field value if set, zero value otherwise. +func (o *DeviceType) GetPartNumber() string { + if o == nil || IsNil(o.PartNumber) { + var ret string + return ret + } + return *o.PartNumber +} + +// GetPartNumberOk returns a tuple with the PartNumber field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeviceType) GetPartNumberOk() (*string, bool) { + if o == nil || IsNil(o.PartNumber) { + return nil, false + } + return o.PartNumber, true +} + +// HasPartNumber returns a boolean if a field has been set. +func (o *DeviceType) HasPartNumber() bool { + if o != nil && !IsNil(o.PartNumber) { + return true + } + + return false +} + +// SetPartNumber gets a reference to the given string and assigns it to the PartNumber field. +func (o *DeviceType) SetPartNumber(v string) { + o.PartNumber = &v +} + +// GetUHeight returns the UHeight field value if set, zero value otherwise. +func (o *DeviceType) GetUHeight() float64 { + if o == nil || IsNil(o.UHeight) { + var ret float64 + return ret + } + return *o.UHeight +} + +// GetUHeightOk returns a tuple with the UHeight field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeviceType) GetUHeightOk() (*float64, bool) { + if o == nil || IsNil(o.UHeight) { + return nil, false + } + return o.UHeight, true +} + +// HasUHeight returns a boolean if a field has been set. +func (o *DeviceType) HasUHeight() bool { + if o != nil && !IsNil(o.UHeight) { + return true + } + + return false +} + +// SetUHeight gets a reference to the given float64 and assigns it to the UHeight field. +func (o *DeviceType) SetUHeight(v float64) { + o.UHeight = &v +} + +// GetExcludeFromUtilization returns the ExcludeFromUtilization field value if set, zero value otherwise. +func (o *DeviceType) GetExcludeFromUtilization() bool { + if o == nil || IsNil(o.ExcludeFromUtilization) { + var ret bool + return ret + } + return *o.ExcludeFromUtilization +} + +// GetExcludeFromUtilizationOk returns a tuple with the ExcludeFromUtilization field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeviceType) GetExcludeFromUtilizationOk() (*bool, bool) { + if o == nil || IsNil(o.ExcludeFromUtilization) { + return nil, false + } + return o.ExcludeFromUtilization, true +} + +// HasExcludeFromUtilization returns a boolean if a field has been set. +func (o *DeviceType) HasExcludeFromUtilization() bool { + if o != nil && !IsNil(o.ExcludeFromUtilization) { + return true + } + + return false +} + +// SetExcludeFromUtilization gets a reference to the given bool and assigns it to the ExcludeFromUtilization field. +func (o *DeviceType) SetExcludeFromUtilization(v bool) { + o.ExcludeFromUtilization = &v +} + +// GetIsFullDepth returns the IsFullDepth field value if set, zero value otherwise. +func (o *DeviceType) GetIsFullDepth() bool { + if o == nil || IsNil(o.IsFullDepth) { + var ret bool + return ret + } + return *o.IsFullDepth +} + +// GetIsFullDepthOk returns a tuple with the IsFullDepth field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeviceType) GetIsFullDepthOk() (*bool, bool) { + if o == nil || IsNil(o.IsFullDepth) { + return nil, false + } + return o.IsFullDepth, true +} + +// HasIsFullDepth returns a boolean if a field has been set. +func (o *DeviceType) HasIsFullDepth() bool { + if o != nil && !IsNil(o.IsFullDepth) { + return true + } + + return false +} + +// SetIsFullDepth gets a reference to the given bool and assigns it to the IsFullDepth field. +func (o *DeviceType) SetIsFullDepth(v bool) { + o.IsFullDepth = &v +} + +// GetSubdeviceRole returns the SubdeviceRole field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DeviceType) GetSubdeviceRole() DeviceTypeSubdeviceRole { + if o == nil || IsNil(o.SubdeviceRole.Get()) { + var ret DeviceTypeSubdeviceRole + return ret + } + return *o.SubdeviceRole.Get() +} + +// GetSubdeviceRoleOk returns a tuple with the SubdeviceRole 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 *DeviceType) GetSubdeviceRoleOk() (*DeviceTypeSubdeviceRole, bool) { + if o == nil { + return nil, false + } + return o.SubdeviceRole.Get(), o.SubdeviceRole.IsSet() +} + +// HasSubdeviceRole returns a boolean if a field has been set. +func (o *DeviceType) HasSubdeviceRole() bool { + if o != nil && o.SubdeviceRole.IsSet() { + return true + } + + return false +} + +// SetSubdeviceRole gets a reference to the given NullableDeviceTypeSubdeviceRole and assigns it to the SubdeviceRole field. +func (o *DeviceType) SetSubdeviceRole(v DeviceTypeSubdeviceRole) { + o.SubdeviceRole.Set(&v) +} + +// SetSubdeviceRoleNil sets the value for SubdeviceRole to be an explicit nil +func (o *DeviceType) SetSubdeviceRoleNil() { + o.SubdeviceRole.Set(nil) +} + +// UnsetSubdeviceRole ensures that no value is present for SubdeviceRole, not even an explicit nil +func (o *DeviceType) UnsetSubdeviceRole() { + o.SubdeviceRole.Unset() +} + +// GetAirflow returns the Airflow field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DeviceType) GetAirflow() DeviceTypeAirflow { + if o == nil || IsNil(o.Airflow.Get()) { + var ret DeviceTypeAirflow + return ret + } + return *o.Airflow.Get() +} + +// GetAirflowOk returns a tuple with the Airflow 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 *DeviceType) GetAirflowOk() (*DeviceTypeAirflow, bool) { + if o == nil { + return nil, false + } + return o.Airflow.Get(), o.Airflow.IsSet() +} + +// HasAirflow returns a boolean if a field has been set. +func (o *DeviceType) HasAirflow() bool { + if o != nil && o.Airflow.IsSet() { + return true + } + + return false +} + +// SetAirflow gets a reference to the given NullableDeviceTypeAirflow and assigns it to the Airflow field. +func (o *DeviceType) SetAirflow(v DeviceTypeAirflow) { + o.Airflow.Set(&v) +} + +// SetAirflowNil sets the value for Airflow to be an explicit nil +func (o *DeviceType) SetAirflowNil() { + o.Airflow.Set(nil) +} + +// UnsetAirflow ensures that no value is present for Airflow, not even an explicit nil +func (o *DeviceType) UnsetAirflow() { + o.Airflow.Unset() +} + +// GetWeight returns the Weight field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DeviceType) GetWeight() float64 { + if o == nil || IsNil(o.Weight.Get()) { + var ret float64 + return ret + } + return *o.Weight.Get() +} + +// GetWeightOk returns a tuple with the Weight 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 *DeviceType) GetWeightOk() (*float64, bool) { + if o == nil { + return nil, false + } + return o.Weight.Get(), o.Weight.IsSet() +} + +// HasWeight returns a boolean if a field has been set. +func (o *DeviceType) HasWeight() bool { + if o != nil && o.Weight.IsSet() { + return true + } + + return false +} + +// SetWeight gets a reference to the given NullableFloat64 and assigns it to the Weight field. +func (o *DeviceType) SetWeight(v float64) { + o.Weight.Set(&v) +} + +// SetWeightNil sets the value for Weight to be an explicit nil +func (o *DeviceType) SetWeightNil() { + o.Weight.Set(nil) +} + +// UnsetWeight ensures that no value is present for Weight, not even an explicit nil +func (o *DeviceType) UnsetWeight() { + o.Weight.Unset() +} + +// GetWeightUnit returns the WeightUnit field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DeviceType) GetWeightUnit() DeviceTypeWeightUnit { + if o == nil || IsNil(o.WeightUnit.Get()) { + var ret DeviceTypeWeightUnit + return ret + } + return *o.WeightUnit.Get() +} + +// GetWeightUnitOk returns a tuple with the WeightUnit 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 *DeviceType) GetWeightUnitOk() (*DeviceTypeWeightUnit, bool) { + if o == nil { + return nil, false + } + return o.WeightUnit.Get(), o.WeightUnit.IsSet() +} + +// HasWeightUnit returns a boolean if a field has been set. +func (o *DeviceType) HasWeightUnit() bool { + if o != nil && o.WeightUnit.IsSet() { + return true + } + + return false +} + +// SetWeightUnit gets a reference to the given NullableDeviceTypeWeightUnit and assigns it to the WeightUnit field. +func (o *DeviceType) SetWeightUnit(v DeviceTypeWeightUnit) { + o.WeightUnit.Set(&v) +} + +// SetWeightUnitNil sets the value for WeightUnit to be an explicit nil +func (o *DeviceType) SetWeightUnitNil() { + o.WeightUnit.Set(nil) +} + +// UnsetWeightUnit ensures that no value is present for WeightUnit, not even an explicit nil +func (o *DeviceType) UnsetWeightUnit() { + o.WeightUnit.Unset() +} + +// GetFrontImage returns the FrontImage field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DeviceType) GetFrontImage() string { + if o == nil || IsNil(o.FrontImage.Get()) { + var ret string + return ret + } + return *o.FrontImage.Get() +} + +// GetFrontImageOk returns a tuple with the FrontImage 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 *DeviceType) GetFrontImageOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.FrontImage.Get(), o.FrontImage.IsSet() +} + +// HasFrontImage returns a boolean if a field has been set. +func (o *DeviceType) HasFrontImage() bool { + if o != nil && o.FrontImage.IsSet() { + return true + } + + return false +} + +// SetFrontImage gets a reference to the given NullableString and assigns it to the FrontImage field. +func (o *DeviceType) SetFrontImage(v string) { + o.FrontImage.Set(&v) +} + +// SetFrontImageNil sets the value for FrontImage to be an explicit nil +func (o *DeviceType) SetFrontImageNil() { + o.FrontImage.Set(nil) +} + +// UnsetFrontImage ensures that no value is present for FrontImage, not even an explicit nil +func (o *DeviceType) UnsetFrontImage() { + o.FrontImage.Unset() +} + +// GetRearImage returns the RearImage field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DeviceType) GetRearImage() string { + if o == nil || IsNil(o.RearImage.Get()) { + var ret string + return ret + } + return *o.RearImage.Get() +} + +// GetRearImageOk returns a tuple with the RearImage 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 *DeviceType) GetRearImageOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.RearImage.Get(), o.RearImage.IsSet() +} + +// HasRearImage returns a boolean if a field has been set. +func (o *DeviceType) HasRearImage() bool { + if o != nil && o.RearImage.IsSet() { + return true + } + + return false +} + +// SetRearImage gets a reference to the given NullableString and assigns it to the RearImage field. +func (o *DeviceType) SetRearImage(v string) { + o.RearImage.Set(&v) +} + +// SetRearImageNil sets the value for RearImage to be an explicit nil +func (o *DeviceType) SetRearImageNil() { + o.RearImage.Set(nil) +} + +// UnsetRearImage ensures that no value is present for RearImage, not even an explicit nil +func (o *DeviceType) UnsetRearImage() { + o.RearImage.Unset() +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *DeviceType) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -233,28 +740,424 @@ func (o *DeviceType) SetDescription(v string) { o.Description = &v } -// GetDeviceCount returns the DeviceCount field value -func (o *DeviceType) GetDeviceCount() int64 { +// GetComments returns the Comments field value if set, zero value otherwise. +func (o *DeviceType) GetComments() string { + if o == nil || IsNil(o.Comments) { + var ret string + return ret + } + return *o.Comments +} + +// GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeviceType) GetCommentsOk() (*string, bool) { + if o == nil || IsNil(o.Comments) { + return nil, false + } + return o.Comments, true +} + +// HasComments returns a boolean if a field has been set. +func (o *DeviceType) HasComments() bool { + if o != nil && !IsNil(o.Comments) { + return true + } + + return false +} + +// SetComments gets a reference to the given string and assigns it to the Comments field. +func (o *DeviceType) SetComments(v string) { + o.Comments = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *DeviceType) GetTags() []NestedTag { + if o == nil || IsNil(o.Tags) { + var ret []NestedTag + 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 *DeviceType) GetTagsOk() ([]NestedTag, 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 *DeviceType) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTag and assigns it to the Tags field. +func (o *DeviceType) SetTags(v []NestedTag) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *DeviceType) 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 *DeviceType) 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 *DeviceType) 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 *DeviceType) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetCreated returns the Created field value +// If the value is explicit nil, the zero value for time.Time will be returned +func (o *DeviceType) 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 *DeviceType) GetCreatedOk() (*time.Time, bool) { if o == nil { - var ret int64 + return nil, false + } + return o.Created.Get(), o.Created.IsSet() +} + +// SetCreated sets field value +func (o *DeviceType) 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 *DeviceType) GetLastUpdated() time.Time { + if o == nil || o.LastUpdated.Get() == nil { + var ret time.Time return ret } - return o.DeviceCount + return *o.LastUpdated.Get() } -// GetDeviceCountOk returns a tuple with the DeviceCount field value +// GetLastUpdatedOk returns a tuple with the LastUpdated field value // and a boolean to check if the value has been set. -func (o *DeviceType) GetDeviceCountOk() (*int64, bool) { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DeviceType) GetLastUpdatedOk() (*time.Time, bool) { if o == nil { return nil, false } - return &o.DeviceCount, true + return o.LastUpdated.Get(), o.LastUpdated.IsSet() +} + +// SetLastUpdated sets field value +func (o *DeviceType) SetLastUpdated(v time.Time) { + o.LastUpdated.Set(&v) +} + +// GetDeviceCount returns the DeviceCount field value if set, zero value otherwise. +func (o *DeviceType) GetDeviceCount() int64 { + if o == nil || IsNil(o.DeviceCount) { + var ret int64 + return ret + } + return *o.DeviceCount +} + +// GetDeviceCountOk returns a tuple with the DeviceCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeviceType) GetDeviceCountOk() (*int64, bool) { + if o == nil || IsNil(o.DeviceCount) { + return nil, false + } + return o.DeviceCount, true } -// SetDeviceCount sets field value +// HasDeviceCount returns a boolean if a field has been set. +func (o *DeviceType) HasDeviceCount() bool { + if o != nil && !IsNil(o.DeviceCount) { + return true + } + + return false +} + +// SetDeviceCount gets a reference to the given int64 and assigns it to the DeviceCount field. func (o *DeviceType) SetDeviceCount(v int64) { - o.DeviceCount = v + o.DeviceCount = &v +} + +// GetConsolePortTemplateCount returns the ConsolePortTemplateCount field value +func (o *DeviceType) GetConsolePortTemplateCount() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.ConsolePortTemplateCount +} + +// GetConsolePortTemplateCountOk returns a tuple with the ConsolePortTemplateCount field value +// and a boolean to check if the value has been set. +func (o *DeviceType) GetConsolePortTemplateCountOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.ConsolePortTemplateCount, true +} + +// SetConsolePortTemplateCount sets field value +func (o *DeviceType) SetConsolePortTemplateCount(v int32) { + o.ConsolePortTemplateCount = v +} + +// GetConsoleServerPortTemplateCount returns the ConsoleServerPortTemplateCount field value +func (o *DeviceType) GetConsoleServerPortTemplateCount() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.ConsoleServerPortTemplateCount +} + +// GetConsoleServerPortTemplateCountOk returns a tuple with the ConsoleServerPortTemplateCount field value +// and a boolean to check if the value has been set. +func (o *DeviceType) GetConsoleServerPortTemplateCountOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.ConsoleServerPortTemplateCount, true +} + +// SetConsoleServerPortTemplateCount sets field value +func (o *DeviceType) SetConsoleServerPortTemplateCount(v int32) { + o.ConsoleServerPortTemplateCount = v +} + +// GetPowerPortTemplateCount returns the PowerPortTemplateCount field value +func (o *DeviceType) GetPowerPortTemplateCount() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.PowerPortTemplateCount +} + +// GetPowerPortTemplateCountOk returns a tuple with the PowerPortTemplateCount field value +// and a boolean to check if the value has been set. +func (o *DeviceType) GetPowerPortTemplateCountOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.PowerPortTemplateCount, true +} + +// SetPowerPortTemplateCount sets field value +func (o *DeviceType) SetPowerPortTemplateCount(v int32) { + o.PowerPortTemplateCount = v +} + +// GetPowerOutletTemplateCount returns the PowerOutletTemplateCount field value +func (o *DeviceType) GetPowerOutletTemplateCount() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.PowerOutletTemplateCount +} + +// GetPowerOutletTemplateCountOk returns a tuple with the PowerOutletTemplateCount field value +// and a boolean to check if the value has been set. +func (o *DeviceType) GetPowerOutletTemplateCountOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.PowerOutletTemplateCount, true +} + +// SetPowerOutletTemplateCount sets field value +func (o *DeviceType) SetPowerOutletTemplateCount(v int32) { + o.PowerOutletTemplateCount = v +} + +// GetInterfaceTemplateCount returns the InterfaceTemplateCount field value +func (o *DeviceType) GetInterfaceTemplateCount() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.InterfaceTemplateCount +} + +// GetInterfaceTemplateCountOk returns a tuple with the InterfaceTemplateCount field value +// and a boolean to check if the value has been set. +func (o *DeviceType) GetInterfaceTemplateCountOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.InterfaceTemplateCount, true +} + +// SetInterfaceTemplateCount sets field value +func (o *DeviceType) SetInterfaceTemplateCount(v int32) { + o.InterfaceTemplateCount = v +} + +// GetFrontPortTemplateCount returns the FrontPortTemplateCount field value +func (o *DeviceType) GetFrontPortTemplateCount() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.FrontPortTemplateCount +} + +// GetFrontPortTemplateCountOk returns a tuple with the FrontPortTemplateCount field value +// and a boolean to check if the value has been set. +func (o *DeviceType) GetFrontPortTemplateCountOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.FrontPortTemplateCount, true +} + +// SetFrontPortTemplateCount sets field value +func (o *DeviceType) SetFrontPortTemplateCount(v int32) { + o.FrontPortTemplateCount = v +} + +// GetRearPortTemplateCount returns the RearPortTemplateCount field value +func (o *DeviceType) GetRearPortTemplateCount() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.RearPortTemplateCount +} + +// GetRearPortTemplateCountOk returns a tuple with the RearPortTemplateCount field value +// and a boolean to check if the value has been set. +func (o *DeviceType) GetRearPortTemplateCountOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.RearPortTemplateCount, true +} + +// SetRearPortTemplateCount sets field value +func (o *DeviceType) SetRearPortTemplateCount(v int32) { + o.RearPortTemplateCount = v +} + +// GetDeviceBayTemplateCount returns the DeviceBayTemplateCount field value +func (o *DeviceType) GetDeviceBayTemplateCount() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.DeviceBayTemplateCount +} + +// GetDeviceBayTemplateCountOk returns a tuple with the DeviceBayTemplateCount field value +// and a boolean to check if the value has been set. +func (o *DeviceType) GetDeviceBayTemplateCountOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.DeviceBayTemplateCount, true +} + +// SetDeviceBayTemplateCount sets field value +func (o *DeviceType) SetDeviceBayTemplateCount(v int32) { + o.DeviceBayTemplateCount = v +} + +// GetModuleBayTemplateCount returns the ModuleBayTemplateCount field value +func (o *DeviceType) GetModuleBayTemplateCount() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.ModuleBayTemplateCount +} + +// GetModuleBayTemplateCountOk returns a tuple with the ModuleBayTemplateCount field value +// and a boolean to check if the value has been set. +func (o *DeviceType) GetModuleBayTemplateCountOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.ModuleBayTemplateCount, true +} + +// SetModuleBayTemplateCount sets field value +func (o *DeviceType) SetModuleBayTemplateCount(v int32) { + o.ModuleBayTemplateCount = v +} + +// GetInventoryItemTemplateCount returns the InventoryItemTemplateCount field value +func (o *DeviceType) GetInventoryItemTemplateCount() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.InventoryItemTemplateCount +} + +// GetInventoryItemTemplateCountOk returns a tuple with the InventoryItemTemplateCount field value +// and a boolean to check if the value has been set. +func (o *DeviceType) GetInventoryItemTemplateCountOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.InventoryItemTemplateCount, true +} + +// SetInventoryItemTemplateCount sets field value +func (o *DeviceType) SetInventoryItemTemplateCount(v int32) { + o.InventoryItemTemplateCount = v } func (o DeviceType) MarshalJSON() ([]byte, error) { @@ -269,14 +1172,73 @@ func (o DeviceType) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["manufacturer"] = o.Manufacturer + if o.DefaultPlatform.IsSet() { + toSerialize["default_platform"] = o.DefaultPlatform.Get() + } toSerialize["model"] = o.Model toSerialize["slug"] = o.Slug + if !IsNil(o.PartNumber) { + toSerialize["part_number"] = o.PartNumber + } + if !IsNil(o.UHeight) { + toSerialize["u_height"] = o.UHeight + } + if !IsNil(o.ExcludeFromUtilization) { + toSerialize["exclude_from_utilization"] = o.ExcludeFromUtilization + } + if !IsNil(o.IsFullDepth) { + toSerialize["is_full_depth"] = o.IsFullDepth + } + if o.SubdeviceRole.IsSet() { + toSerialize["subdevice_role"] = o.SubdeviceRole.Get() + } + if o.Airflow.IsSet() { + toSerialize["airflow"] = o.Airflow.Get() + } + if o.Weight.IsSet() { + toSerialize["weight"] = o.Weight.Get() + } + if o.WeightUnit.IsSet() { + toSerialize["weight_unit"] = o.WeightUnit.Get() + } + if o.FrontImage.IsSet() { + toSerialize["front_image"] = o.FrontImage.Get() + } + if o.RearImage.IsSet() { + toSerialize["rear_image"] = o.RearImage.Get() + } if !IsNil(o.Description) { toSerialize["description"] = o.Description } - toSerialize["device_count"] = o.DeviceCount + if !IsNil(o.Comments) { + toSerialize["comments"] = o.Comments + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + toSerialize["created"] = o.Created.Get() + toSerialize["last_updated"] = o.LastUpdated.Get() + if !IsNil(o.DeviceCount) { + toSerialize["device_count"] = o.DeviceCount + } + toSerialize["console_port_template_count"] = o.ConsolePortTemplateCount + toSerialize["console_server_port_template_count"] = o.ConsoleServerPortTemplateCount + toSerialize["power_port_template_count"] = o.PowerPortTemplateCount + toSerialize["power_outlet_template_count"] = o.PowerOutletTemplateCount + toSerialize["interface_template_count"] = o.InterfaceTemplateCount + toSerialize["front_port_template_count"] = o.FrontPortTemplateCount + toSerialize["rear_port_template_count"] = o.RearPortTemplateCount + toSerialize["device_bay_template_count"] = o.DeviceBayTemplateCount + toSerialize["module_bay_template_count"] = o.ModuleBayTemplateCount + toSerialize["inventory_item_template_count"] = o.InventoryItemTemplateCount for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -296,7 +1258,18 @@ func (o *DeviceType) UnmarshalJSON(data []byte) (err error) { "manufacturer", "model", "slug", - "device_count", + "created", + "last_updated", + "console_port_template_count", + "console_server_port_template_count", + "power_port_template_count", + "power_outlet_template_count", + "interface_template_count", + "front_port_template_count", + "rear_port_template_count", + "device_bay_template_count", + "module_bay_template_count", + "inventory_item_template_count", } allProperties := make(map[string]interface{}) @@ -328,12 +1301,39 @@ func (o *DeviceType) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "manufacturer") + delete(additionalProperties, "default_platform") delete(additionalProperties, "model") delete(additionalProperties, "slug") + delete(additionalProperties, "part_number") + delete(additionalProperties, "u_height") + delete(additionalProperties, "exclude_from_utilization") + delete(additionalProperties, "is_full_depth") + delete(additionalProperties, "subdevice_role") + delete(additionalProperties, "airflow") + delete(additionalProperties, "weight") + delete(additionalProperties, "weight_unit") + delete(additionalProperties, "front_image") + delete(additionalProperties, "rear_image") delete(additionalProperties, "description") + delete(additionalProperties, "comments") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "created") + delete(additionalProperties, "last_updated") delete(additionalProperties, "device_count") + delete(additionalProperties, "console_port_template_count") + delete(additionalProperties, "console_server_port_template_count") + delete(additionalProperties, "power_port_template_count") + delete(additionalProperties, "power_outlet_template_count") + delete(additionalProperties, "interface_template_count") + delete(additionalProperties, "front_port_template_count") + delete(additionalProperties, "rear_port_template_count") + delete(additionalProperties, "device_bay_template_count") + delete(additionalProperties, "module_bay_template_count") + delete(additionalProperties, "inventory_item_template_count") o.AdditionalProperties = additionalProperties } diff --git a/model_device_type_airflow.go b/model_device_type_airflow.go new file mode 100644 index 000000000..6319a06cc --- /dev/null +++ b/model_device_type_airflow.go @@ -0,0 +1,190 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" +) + +// checks if the DeviceTypeAirflow type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &DeviceTypeAirflow{} + +// DeviceTypeAirflow struct for DeviceTypeAirflow +type DeviceTypeAirflow struct { + Value *DeviceAirflowValue `json:"value,omitempty"` + Label *DeviceAirflowLabel `json:"label,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _DeviceTypeAirflow DeviceTypeAirflow + +// NewDeviceTypeAirflow instantiates a new DeviceTypeAirflow object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDeviceTypeAirflow() *DeviceTypeAirflow { + this := DeviceTypeAirflow{} + return &this +} + +// NewDeviceTypeAirflowWithDefaults instantiates a new DeviceTypeAirflow object +// This 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 NewDeviceTypeAirflowWithDefaults() *DeviceTypeAirflow { + this := DeviceTypeAirflow{} + return &this +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *DeviceTypeAirflow) GetValue() DeviceAirflowValue { + if o == nil || IsNil(o.Value) { + var ret DeviceAirflowValue + 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 *DeviceTypeAirflow) GetValueOk() (*DeviceAirflowValue, 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 *DeviceTypeAirflow) HasValue() bool { + if o != nil && !IsNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given DeviceAirflowValue and assigns it to the Value field. +func (o *DeviceTypeAirflow) SetValue(v DeviceAirflowValue) { + o.Value = &v +} + +// GetLabel returns the Label field value if set, zero value otherwise. +func (o *DeviceTypeAirflow) GetLabel() DeviceAirflowLabel { + if o == nil || IsNil(o.Label) { + var ret DeviceAirflowLabel + 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 *DeviceTypeAirflow) GetLabelOk() (*DeviceAirflowLabel, 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 *DeviceTypeAirflow) HasLabel() bool { + if o != nil && !IsNil(o.Label) { + return true + } + + return false +} + +// SetLabel gets a reference to the given DeviceAirflowLabel and assigns it to the Label field. +func (o *DeviceTypeAirflow) SetLabel(v DeviceAirflowLabel) { + o.Label = &v +} + +func (o DeviceTypeAirflow) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o DeviceTypeAirflow) 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 *DeviceTypeAirflow) UnmarshalJSON(data []byte) (err error) { + varDeviceTypeAirflow := _DeviceTypeAirflow{} + + err = json.Unmarshal(data, &varDeviceTypeAirflow) + + if err != nil { + return err + } + + *o = DeviceTypeAirflow(varDeviceTypeAirflow) + + 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 NullableDeviceTypeAirflow struct { + value *DeviceTypeAirflow + isSet bool +} + +func (v NullableDeviceTypeAirflow) Get() *DeviceTypeAirflow { + return v.value +} + +func (v *NullableDeviceTypeAirflow) Set(val *DeviceTypeAirflow) { + v.value = val + v.isSet = true +} + +func (v NullableDeviceTypeAirflow) IsSet() bool { + return v.isSet +} + +func (v *NullableDeviceTypeAirflow) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeviceTypeAirflow(val *DeviceTypeAirflow) *NullableDeviceTypeAirflow { + return &NullableDeviceTypeAirflow{value: val, isSet: true} +} + +func (v NullableDeviceTypeAirflow) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeviceTypeAirflow) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_device_type_request.go b/model_device_type_request.go index f72377aaa..1f346ae36 100644 --- a/model_device_type_request.go +++ b/model_device_type_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -13,6 +13,7 @@ package netbox import ( "encoding/json" "fmt" + "os" ) // checks if the DeviceTypeRequest type satisfies the MappedNullable interface at compile time @@ -20,10 +21,27 @@ var _ MappedNullable = &DeviceTypeRequest{} // DeviceTypeRequest Adds support for custom fields and tags. type DeviceTypeRequest struct { - Manufacturer ManufacturerRequest `json:"manufacturer"` - Model string `json:"model"` - Slug string `json:"slug"` - Description *string `json:"description,omitempty"` + Manufacturer BriefManufacturerRequest `json:"manufacturer"` + DefaultPlatform NullableBriefPlatformRequest `json:"default_platform,omitempty"` + Model string `json:"model"` + Slug string `json:"slug"` + // Discrete part number (optional) + PartNumber *string `json:"part_number,omitempty"` + UHeight *float64 `json:"u_height,omitempty"` + // Devices of this type are excluded when calculating rack utilization. + ExcludeFromUtilization *bool `json:"exclude_from_utilization,omitempty"` + // Device consumes both front and rear rack faces. + IsFullDepth *bool `json:"is_full_depth,omitempty"` + SubdeviceRole NullableDeviceTypeRequestSubdeviceRole `json:"subdevice_role,omitempty"` + Airflow NullableDeviceTypeRequestAirflow `json:"airflow,omitempty"` + Weight NullableFloat64 `json:"weight,omitempty"` + WeightUnit NullableDeviceTypeRequestWeightUnit `json:"weight_unit,omitempty"` + FrontImage **os.File `json:"front_image,omitempty"` + RearImage **os.File `json:"rear_image,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -33,11 +51,13 @@ type _DeviceTypeRequest DeviceTypeRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewDeviceTypeRequest(manufacturer ManufacturerRequest, model string, slug string) *DeviceTypeRequest { +func NewDeviceTypeRequest(manufacturer BriefManufacturerRequest, model string, slug string) *DeviceTypeRequest { this := DeviceTypeRequest{} this.Manufacturer = manufacturer this.Model = model this.Slug = slug + var uHeight float64 = 1.0 + this.UHeight = &uHeight return &this } @@ -46,13 +66,15 @@ func NewDeviceTypeRequest(manufacturer ManufacturerRequest, model string, slug s // but it doesn't guarantee that properties required by API are set func NewDeviceTypeRequestWithDefaults() *DeviceTypeRequest { this := DeviceTypeRequest{} + var uHeight float64 = 1.0 + this.UHeight = &uHeight return &this } // GetManufacturer returns the Manufacturer field value -func (o *DeviceTypeRequest) GetManufacturer() ManufacturerRequest { +func (o *DeviceTypeRequest) GetManufacturer() BriefManufacturerRequest { if o == nil { - var ret ManufacturerRequest + var ret BriefManufacturerRequest return ret } @@ -61,7 +83,7 @@ func (o *DeviceTypeRequest) GetManufacturer() ManufacturerRequest { // GetManufacturerOk returns a tuple with the Manufacturer field value // and a boolean to check if the value has been set. -func (o *DeviceTypeRequest) GetManufacturerOk() (*ManufacturerRequest, bool) { +func (o *DeviceTypeRequest) GetManufacturerOk() (*BriefManufacturerRequest, bool) { if o == nil { return nil, false } @@ -69,10 +91,53 @@ func (o *DeviceTypeRequest) GetManufacturerOk() (*ManufacturerRequest, bool) { } // SetManufacturer sets field value -func (o *DeviceTypeRequest) SetManufacturer(v ManufacturerRequest) { +func (o *DeviceTypeRequest) SetManufacturer(v BriefManufacturerRequest) { o.Manufacturer = v } +// GetDefaultPlatform returns the DefaultPlatform field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DeviceTypeRequest) GetDefaultPlatform() BriefPlatformRequest { + if o == nil || IsNil(o.DefaultPlatform.Get()) { + var ret BriefPlatformRequest + return ret + } + return *o.DefaultPlatform.Get() +} + +// GetDefaultPlatformOk returns a tuple with the DefaultPlatform 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 *DeviceTypeRequest) GetDefaultPlatformOk() (*BriefPlatformRequest, bool) { + if o == nil { + return nil, false + } + return o.DefaultPlatform.Get(), o.DefaultPlatform.IsSet() +} + +// HasDefaultPlatform returns a boolean if a field has been set. +func (o *DeviceTypeRequest) HasDefaultPlatform() bool { + if o != nil && o.DefaultPlatform.IsSet() { + return true + } + + return false +} + +// SetDefaultPlatform gets a reference to the given NullableBriefPlatformRequest and assigns it to the DefaultPlatform field. +func (o *DeviceTypeRequest) SetDefaultPlatform(v BriefPlatformRequest) { + o.DefaultPlatform.Set(&v) +} + +// SetDefaultPlatformNil sets the value for DefaultPlatform to be an explicit nil +func (o *DeviceTypeRequest) SetDefaultPlatformNil() { + o.DefaultPlatform.Set(nil) +} + +// UnsetDefaultPlatform ensures that no value is present for DefaultPlatform, not even an explicit nil +func (o *DeviceTypeRequest) UnsetDefaultPlatform() { + o.DefaultPlatform.Unset() +} + // GetModel returns the Model field value func (o *DeviceTypeRequest) GetModel() string { if o == nil { @@ -121,6 +186,370 @@ func (o *DeviceTypeRequest) SetSlug(v string) { o.Slug = v } +// GetPartNumber returns the PartNumber field value if set, zero value otherwise. +func (o *DeviceTypeRequest) GetPartNumber() string { + if o == nil || IsNil(o.PartNumber) { + var ret string + return ret + } + return *o.PartNumber +} + +// GetPartNumberOk returns a tuple with the PartNumber field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeviceTypeRequest) GetPartNumberOk() (*string, bool) { + if o == nil || IsNil(o.PartNumber) { + return nil, false + } + return o.PartNumber, true +} + +// HasPartNumber returns a boolean if a field has been set. +func (o *DeviceTypeRequest) HasPartNumber() bool { + if o != nil && !IsNil(o.PartNumber) { + return true + } + + return false +} + +// SetPartNumber gets a reference to the given string and assigns it to the PartNumber field. +func (o *DeviceTypeRequest) SetPartNumber(v string) { + o.PartNumber = &v +} + +// GetUHeight returns the UHeight field value if set, zero value otherwise. +func (o *DeviceTypeRequest) GetUHeight() float64 { + if o == nil || IsNil(o.UHeight) { + var ret float64 + return ret + } + return *o.UHeight +} + +// GetUHeightOk returns a tuple with the UHeight field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeviceTypeRequest) GetUHeightOk() (*float64, bool) { + if o == nil || IsNil(o.UHeight) { + return nil, false + } + return o.UHeight, true +} + +// HasUHeight returns a boolean if a field has been set. +func (o *DeviceTypeRequest) HasUHeight() bool { + if o != nil && !IsNil(o.UHeight) { + return true + } + + return false +} + +// SetUHeight gets a reference to the given float64 and assigns it to the UHeight field. +func (o *DeviceTypeRequest) SetUHeight(v float64) { + o.UHeight = &v +} + +// GetExcludeFromUtilization returns the ExcludeFromUtilization field value if set, zero value otherwise. +func (o *DeviceTypeRequest) GetExcludeFromUtilization() bool { + if o == nil || IsNil(o.ExcludeFromUtilization) { + var ret bool + return ret + } + return *o.ExcludeFromUtilization +} + +// GetExcludeFromUtilizationOk returns a tuple with the ExcludeFromUtilization field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeviceTypeRequest) GetExcludeFromUtilizationOk() (*bool, bool) { + if o == nil || IsNil(o.ExcludeFromUtilization) { + return nil, false + } + return o.ExcludeFromUtilization, true +} + +// HasExcludeFromUtilization returns a boolean if a field has been set. +func (o *DeviceTypeRequest) HasExcludeFromUtilization() bool { + if o != nil && !IsNil(o.ExcludeFromUtilization) { + return true + } + + return false +} + +// SetExcludeFromUtilization gets a reference to the given bool and assigns it to the ExcludeFromUtilization field. +func (o *DeviceTypeRequest) SetExcludeFromUtilization(v bool) { + o.ExcludeFromUtilization = &v +} + +// GetIsFullDepth returns the IsFullDepth field value if set, zero value otherwise. +func (o *DeviceTypeRequest) GetIsFullDepth() bool { + if o == nil || IsNil(o.IsFullDepth) { + var ret bool + return ret + } + return *o.IsFullDepth +} + +// GetIsFullDepthOk returns a tuple with the IsFullDepth field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeviceTypeRequest) GetIsFullDepthOk() (*bool, bool) { + if o == nil || IsNil(o.IsFullDepth) { + return nil, false + } + return o.IsFullDepth, true +} + +// HasIsFullDepth returns a boolean if a field has been set. +func (o *DeviceTypeRequest) HasIsFullDepth() bool { + if o != nil && !IsNil(o.IsFullDepth) { + return true + } + + return false +} + +// SetIsFullDepth gets a reference to the given bool and assigns it to the IsFullDepth field. +func (o *DeviceTypeRequest) SetIsFullDepth(v bool) { + o.IsFullDepth = &v +} + +// GetSubdeviceRole returns the SubdeviceRole field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DeviceTypeRequest) GetSubdeviceRole() DeviceTypeRequestSubdeviceRole { + if o == nil || IsNil(o.SubdeviceRole.Get()) { + var ret DeviceTypeRequestSubdeviceRole + return ret + } + return *o.SubdeviceRole.Get() +} + +// GetSubdeviceRoleOk returns a tuple with the SubdeviceRole 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 *DeviceTypeRequest) GetSubdeviceRoleOk() (*DeviceTypeRequestSubdeviceRole, bool) { + if o == nil { + return nil, false + } + return o.SubdeviceRole.Get(), o.SubdeviceRole.IsSet() +} + +// HasSubdeviceRole returns a boolean if a field has been set. +func (o *DeviceTypeRequest) HasSubdeviceRole() bool { + if o != nil && o.SubdeviceRole.IsSet() { + return true + } + + return false +} + +// SetSubdeviceRole gets a reference to the given NullableDeviceTypeRequestSubdeviceRole and assigns it to the SubdeviceRole field. +func (o *DeviceTypeRequest) SetSubdeviceRole(v DeviceTypeRequestSubdeviceRole) { + o.SubdeviceRole.Set(&v) +} + +// SetSubdeviceRoleNil sets the value for SubdeviceRole to be an explicit nil +func (o *DeviceTypeRequest) SetSubdeviceRoleNil() { + o.SubdeviceRole.Set(nil) +} + +// UnsetSubdeviceRole ensures that no value is present for SubdeviceRole, not even an explicit nil +func (o *DeviceTypeRequest) UnsetSubdeviceRole() { + o.SubdeviceRole.Unset() +} + +// GetAirflow returns the Airflow field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DeviceTypeRequest) GetAirflow() DeviceTypeRequestAirflow { + if o == nil || IsNil(o.Airflow.Get()) { + var ret DeviceTypeRequestAirflow + return ret + } + return *o.Airflow.Get() +} + +// GetAirflowOk returns a tuple with the Airflow 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 *DeviceTypeRequest) GetAirflowOk() (*DeviceTypeRequestAirflow, bool) { + if o == nil { + return nil, false + } + return o.Airflow.Get(), o.Airflow.IsSet() +} + +// HasAirflow returns a boolean if a field has been set. +func (o *DeviceTypeRequest) HasAirflow() bool { + if o != nil && o.Airflow.IsSet() { + return true + } + + return false +} + +// SetAirflow gets a reference to the given NullableDeviceTypeRequestAirflow and assigns it to the Airflow field. +func (o *DeviceTypeRequest) SetAirflow(v DeviceTypeRequestAirflow) { + o.Airflow.Set(&v) +} + +// SetAirflowNil sets the value for Airflow to be an explicit nil +func (o *DeviceTypeRequest) SetAirflowNil() { + o.Airflow.Set(nil) +} + +// UnsetAirflow ensures that no value is present for Airflow, not even an explicit nil +func (o *DeviceTypeRequest) UnsetAirflow() { + o.Airflow.Unset() +} + +// GetWeight returns the Weight field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DeviceTypeRequest) GetWeight() float64 { + if o == nil || IsNil(o.Weight.Get()) { + var ret float64 + return ret + } + return *o.Weight.Get() +} + +// GetWeightOk returns a tuple with the Weight 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 *DeviceTypeRequest) GetWeightOk() (*float64, bool) { + if o == nil { + return nil, false + } + return o.Weight.Get(), o.Weight.IsSet() +} + +// HasWeight returns a boolean if a field has been set. +func (o *DeviceTypeRequest) HasWeight() bool { + if o != nil && o.Weight.IsSet() { + return true + } + + return false +} + +// SetWeight gets a reference to the given NullableFloat64 and assigns it to the Weight field. +func (o *DeviceTypeRequest) SetWeight(v float64) { + o.Weight.Set(&v) +} + +// SetWeightNil sets the value for Weight to be an explicit nil +func (o *DeviceTypeRequest) SetWeightNil() { + o.Weight.Set(nil) +} + +// UnsetWeight ensures that no value is present for Weight, not even an explicit nil +func (o *DeviceTypeRequest) UnsetWeight() { + o.Weight.Unset() +} + +// GetWeightUnit returns the WeightUnit field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DeviceTypeRequest) GetWeightUnit() DeviceTypeRequestWeightUnit { + if o == nil || IsNil(o.WeightUnit.Get()) { + var ret DeviceTypeRequestWeightUnit + return ret + } + return *o.WeightUnit.Get() +} + +// GetWeightUnitOk returns a tuple with the WeightUnit 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 *DeviceTypeRequest) GetWeightUnitOk() (*DeviceTypeRequestWeightUnit, bool) { + if o == nil { + return nil, false + } + return o.WeightUnit.Get(), o.WeightUnit.IsSet() +} + +// HasWeightUnit returns a boolean if a field has been set. +func (o *DeviceTypeRequest) HasWeightUnit() bool { + if o != nil && o.WeightUnit.IsSet() { + return true + } + + return false +} + +// SetWeightUnit gets a reference to the given NullableDeviceTypeRequestWeightUnit and assigns it to the WeightUnit field. +func (o *DeviceTypeRequest) SetWeightUnit(v DeviceTypeRequestWeightUnit) { + o.WeightUnit.Set(&v) +} + +// SetWeightUnitNil sets the value for WeightUnit to be an explicit nil +func (o *DeviceTypeRequest) SetWeightUnitNil() { + o.WeightUnit.Set(nil) +} + +// UnsetWeightUnit ensures that no value is present for WeightUnit, not even an explicit nil +func (o *DeviceTypeRequest) UnsetWeightUnit() { + o.WeightUnit.Unset() +} + +// GetFrontImage returns the FrontImage field value if set, zero value otherwise. +func (o *DeviceTypeRequest) GetFrontImage() *os.File { + if o == nil || IsNil(o.FrontImage) { + var ret *os.File + return ret + } + return *o.FrontImage +} + +// GetFrontImageOk returns a tuple with the FrontImage field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeviceTypeRequest) GetFrontImageOk() (**os.File, bool) { + if o == nil || IsNil(o.FrontImage) { + return nil, false + } + return o.FrontImage, true +} + +// HasFrontImage returns a boolean if a field has been set. +func (o *DeviceTypeRequest) HasFrontImage() bool { + if o != nil && !IsNil(o.FrontImage) { + return true + } + + return false +} + +// SetFrontImage gets a reference to the given *os.File and assigns it to the FrontImage field. +func (o *DeviceTypeRequest) SetFrontImage(v *os.File) { + o.FrontImage = &v +} + +// GetRearImage returns the RearImage field value if set, zero value otherwise. +func (o *DeviceTypeRequest) GetRearImage() *os.File { + if o == nil || IsNil(o.RearImage) { + var ret *os.File + return ret + } + return *o.RearImage +} + +// GetRearImageOk returns a tuple with the RearImage field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeviceTypeRequest) GetRearImageOk() (**os.File, bool) { + if o == nil || IsNil(o.RearImage) { + return nil, false + } + return o.RearImage, true +} + +// HasRearImage returns a boolean if a field has been set. +func (o *DeviceTypeRequest) HasRearImage() bool { + if o != nil && !IsNil(o.RearImage) { + return true + } + + return false +} + +// SetRearImage gets a reference to the given *os.File and assigns it to the RearImage field. +func (o *DeviceTypeRequest) SetRearImage(v *os.File) { + o.RearImage = &v +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *DeviceTypeRequest) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -153,6 +582,102 @@ func (o *DeviceTypeRequest) SetDescription(v string) { o.Description = &v } +// GetComments returns the Comments field value if set, zero value otherwise. +func (o *DeviceTypeRequest) GetComments() string { + if o == nil || IsNil(o.Comments) { + var ret string + return ret + } + return *o.Comments +} + +// GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeviceTypeRequest) GetCommentsOk() (*string, bool) { + if o == nil || IsNil(o.Comments) { + return nil, false + } + return o.Comments, true +} + +// HasComments returns a boolean if a field has been set. +func (o *DeviceTypeRequest) HasComments() bool { + if o != nil && !IsNil(o.Comments) { + return true + } + + return false +} + +// SetComments gets a reference to the given string and assigns it to the Comments field. +func (o *DeviceTypeRequest) SetComments(v string) { + o.Comments = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *DeviceTypeRequest) GetTags() []NestedTagRequest { + if o == nil || IsNil(o.Tags) { + var ret []NestedTagRequest + 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 *DeviceTypeRequest) GetTagsOk() ([]NestedTagRequest, 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 *DeviceTypeRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTagRequest and assigns it to the Tags field. +func (o *DeviceTypeRequest) SetTags(v []NestedTagRequest) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *DeviceTypeRequest) 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 *DeviceTypeRequest) 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 *DeviceTypeRequest) 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 *DeviceTypeRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + func (o DeviceTypeRequest) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -164,11 +689,53 @@ func (o DeviceTypeRequest) MarshalJSON() ([]byte, error) { func (o DeviceTypeRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["manufacturer"] = o.Manufacturer + if o.DefaultPlatform.IsSet() { + toSerialize["default_platform"] = o.DefaultPlatform.Get() + } toSerialize["model"] = o.Model toSerialize["slug"] = o.Slug + if !IsNil(o.PartNumber) { + toSerialize["part_number"] = o.PartNumber + } + if !IsNil(o.UHeight) { + toSerialize["u_height"] = o.UHeight + } + if !IsNil(o.ExcludeFromUtilization) { + toSerialize["exclude_from_utilization"] = o.ExcludeFromUtilization + } + if !IsNil(o.IsFullDepth) { + toSerialize["is_full_depth"] = o.IsFullDepth + } + if o.SubdeviceRole.IsSet() { + toSerialize["subdevice_role"] = o.SubdeviceRole.Get() + } + if o.Airflow.IsSet() { + toSerialize["airflow"] = o.Airflow.Get() + } + if o.Weight.IsSet() { + toSerialize["weight"] = o.Weight.Get() + } + if o.WeightUnit.IsSet() { + toSerialize["weight_unit"] = o.WeightUnit.Get() + } + if !IsNil(o.FrontImage) { + toSerialize["front_image"] = o.FrontImage + } + if !IsNil(o.RearImage) { + toSerialize["rear_image"] = o.RearImage + } if !IsNil(o.Description) { toSerialize["description"] = o.Description } + if !IsNil(o.Comments) { + toSerialize["comments"] = o.Comments + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -215,9 +782,23 @@ func (o *DeviceTypeRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "manufacturer") + delete(additionalProperties, "default_platform") delete(additionalProperties, "model") delete(additionalProperties, "slug") + delete(additionalProperties, "part_number") + delete(additionalProperties, "u_height") + delete(additionalProperties, "exclude_from_utilization") + delete(additionalProperties, "is_full_depth") + delete(additionalProperties, "subdevice_role") + delete(additionalProperties, "airflow") + delete(additionalProperties, "weight") + delete(additionalProperties, "weight_unit") + delete(additionalProperties, "front_image") + delete(additionalProperties, "rear_image") delete(additionalProperties, "description") + delete(additionalProperties, "comments") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") o.AdditionalProperties = additionalProperties } diff --git a/model_device_type_request_airflow.go b/model_device_type_request_airflow.go new file mode 100644 index 000000000..e13b5ef39 --- /dev/null +++ b/model_device_type_request_airflow.go @@ -0,0 +1,122 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// DeviceTypeRequestAirflow * `front-to-rear` - Front to rear * `rear-to-front` - Rear to front * `left-to-right` - Left to right * `right-to-left` - Right to left * `side-to-rear` - Side to rear * `passive` - Passive * `mixed` - Mixed +type DeviceTypeRequestAirflow string + +// List of DeviceTypeRequest_airflow +const ( + DEVICETYPEREQUESTAIRFLOW_FRONT_TO_REAR DeviceTypeRequestAirflow = "front-to-rear" + DEVICETYPEREQUESTAIRFLOW_REAR_TO_FRONT DeviceTypeRequestAirflow = "rear-to-front" + DEVICETYPEREQUESTAIRFLOW_LEFT_TO_RIGHT DeviceTypeRequestAirflow = "left-to-right" + DEVICETYPEREQUESTAIRFLOW_RIGHT_TO_LEFT DeviceTypeRequestAirflow = "right-to-left" + DEVICETYPEREQUESTAIRFLOW_SIDE_TO_REAR DeviceTypeRequestAirflow = "side-to-rear" + DEVICETYPEREQUESTAIRFLOW_PASSIVE DeviceTypeRequestAirflow = "passive" + DEVICETYPEREQUESTAIRFLOW_MIXED DeviceTypeRequestAirflow = "mixed" + DEVICETYPEREQUESTAIRFLOW_EMPTY DeviceTypeRequestAirflow = "" +) + +// All allowed values of DeviceTypeRequestAirflow enum +var AllowedDeviceTypeRequestAirflowEnumValues = []DeviceTypeRequestAirflow{ + "front-to-rear", + "rear-to-front", + "left-to-right", + "right-to-left", + "side-to-rear", + "passive", + "mixed", + "", +} + +func (v *DeviceTypeRequestAirflow) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := DeviceTypeRequestAirflow(value) + for _, existing := range AllowedDeviceTypeRequestAirflowEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid DeviceTypeRequestAirflow", value) +} + +// NewDeviceTypeRequestAirflowFromValue returns a pointer to a valid DeviceTypeRequestAirflow +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewDeviceTypeRequestAirflowFromValue(v string) (*DeviceTypeRequestAirflow, error) { + ev := DeviceTypeRequestAirflow(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for DeviceTypeRequestAirflow: valid values are %v", v, AllowedDeviceTypeRequestAirflowEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v DeviceTypeRequestAirflow) IsValid() bool { + for _, existing := range AllowedDeviceTypeRequestAirflowEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to DeviceTypeRequest_airflow value +func (v DeviceTypeRequestAirflow) Ptr() *DeviceTypeRequestAirflow { + return &v +} + +type NullableDeviceTypeRequestAirflow struct { + value *DeviceTypeRequestAirflow + isSet bool +} + +func (v NullableDeviceTypeRequestAirflow) Get() *DeviceTypeRequestAirflow { + return v.value +} + +func (v *NullableDeviceTypeRequestAirflow) Set(val *DeviceTypeRequestAirflow) { + v.value = val + v.isSet = true +} + +func (v NullableDeviceTypeRequestAirflow) IsSet() bool { + return v.isSet +} + +func (v *NullableDeviceTypeRequestAirflow) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeviceTypeRequestAirflow(val *DeviceTypeRequestAirflow) *NullableDeviceTypeRequestAirflow { + return &NullableDeviceTypeRequestAirflow{value: val, isSet: true} +} + +func (v NullableDeviceTypeRequestAirflow) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeviceTypeRequestAirflow) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_device_type_request_subdevice_role.go b/model_device_type_request_subdevice_role.go new file mode 100644 index 000000000..8902b8b2e --- /dev/null +++ b/model_device_type_request_subdevice_role.go @@ -0,0 +1,112 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// DeviceTypeRequestSubdeviceRole * `parent` - Parent * `child` - Child +type DeviceTypeRequestSubdeviceRole string + +// List of DeviceTypeRequest_subdevice_role +const ( + DEVICETYPEREQUESTSUBDEVICEROLE_PARENT DeviceTypeRequestSubdeviceRole = "parent" + DEVICETYPEREQUESTSUBDEVICEROLE_CHILD DeviceTypeRequestSubdeviceRole = "child" + DEVICETYPEREQUESTSUBDEVICEROLE_EMPTY DeviceTypeRequestSubdeviceRole = "" +) + +// All allowed values of DeviceTypeRequestSubdeviceRole enum +var AllowedDeviceTypeRequestSubdeviceRoleEnumValues = []DeviceTypeRequestSubdeviceRole{ + "parent", + "child", + "", +} + +func (v *DeviceTypeRequestSubdeviceRole) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := DeviceTypeRequestSubdeviceRole(value) + for _, existing := range AllowedDeviceTypeRequestSubdeviceRoleEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid DeviceTypeRequestSubdeviceRole", value) +} + +// NewDeviceTypeRequestSubdeviceRoleFromValue returns a pointer to a valid DeviceTypeRequestSubdeviceRole +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewDeviceTypeRequestSubdeviceRoleFromValue(v string) (*DeviceTypeRequestSubdeviceRole, error) { + ev := DeviceTypeRequestSubdeviceRole(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for DeviceTypeRequestSubdeviceRole: valid values are %v", v, AllowedDeviceTypeRequestSubdeviceRoleEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v DeviceTypeRequestSubdeviceRole) IsValid() bool { + for _, existing := range AllowedDeviceTypeRequestSubdeviceRoleEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to DeviceTypeRequest_subdevice_role value +func (v DeviceTypeRequestSubdeviceRole) Ptr() *DeviceTypeRequestSubdeviceRole { + return &v +} + +type NullableDeviceTypeRequestSubdeviceRole struct { + value *DeviceTypeRequestSubdeviceRole + isSet bool +} + +func (v NullableDeviceTypeRequestSubdeviceRole) Get() *DeviceTypeRequestSubdeviceRole { + return v.value +} + +func (v *NullableDeviceTypeRequestSubdeviceRole) Set(val *DeviceTypeRequestSubdeviceRole) { + v.value = val + v.isSet = true +} + +func (v NullableDeviceTypeRequestSubdeviceRole) IsSet() bool { + return v.isSet +} + +func (v *NullableDeviceTypeRequestSubdeviceRole) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeviceTypeRequestSubdeviceRole(val *DeviceTypeRequestSubdeviceRole) *NullableDeviceTypeRequestSubdeviceRole { + return &NullableDeviceTypeRequestSubdeviceRole{value: val, isSet: true} +} + +func (v NullableDeviceTypeRequestSubdeviceRole) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeviceTypeRequestSubdeviceRole) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_device_type_request_weight_unit.go b/model_device_type_request_weight_unit.go new file mode 100644 index 000000000..ae2a76626 --- /dev/null +++ b/model_device_type_request_weight_unit.go @@ -0,0 +1,116 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// DeviceTypeRequestWeightUnit * `kg` - Kilograms * `g` - Grams * `lb` - Pounds * `oz` - Ounces +type DeviceTypeRequestWeightUnit string + +// List of DeviceTypeRequest_weight_unit +const ( + DEVICETYPEREQUESTWEIGHTUNIT_KG DeviceTypeRequestWeightUnit = "kg" + DEVICETYPEREQUESTWEIGHTUNIT_G DeviceTypeRequestWeightUnit = "g" + DEVICETYPEREQUESTWEIGHTUNIT_LB DeviceTypeRequestWeightUnit = "lb" + DEVICETYPEREQUESTWEIGHTUNIT_OZ DeviceTypeRequestWeightUnit = "oz" + DEVICETYPEREQUESTWEIGHTUNIT_EMPTY DeviceTypeRequestWeightUnit = "" +) + +// All allowed values of DeviceTypeRequestWeightUnit enum +var AllowedDeviceTypeRequestWeightUnitEnumValues = []DeviceTypeRequestWeightUnit{ + "kg", + "g", + "lb", + "oz", + "", +} + +func (v *DeviceTypeRequestWeightUnit) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := DeviceTypeRequestWeightUnit(value) + for _, existing := range AllowedDeviceTypeRequestWeightUnitEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid DeviceTypeRequestWeightUnit", value) +} + +// NewDeviceTypeRequestWeightUnitFromValue returns a pointer to a valid DeviceTypeRequestWeightUnit +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewDeviceTypeRequestWeightUnitFromValue(v string) (*DeviceTypeRequestWeightUnit, error) { + ev := DeviceTypeRequestWeightUnit(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for DeviceTypeRequestWeightUnit: valid values are %v", v, AllowedDeviceTypeRequestWeightUnitEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v DeviceTypeRequestWeightUnit) IsValid() bool { + for _, existing := range AllowedDeviceTypeRequestWeightUnitEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to DeviceTypeRequest_weight_unit value +func (v DeviceTypeRequestWeightUnit) Ptr() *DeviceTypeRequestWeightUnit { + return &v +} + +type NullableDeviceTypeRequestWeightUnit struct { + value *DeviceTypeRequestWeightUnit + isSet bool +} + +func (v NullableDeviceTypeRequestWeightUnit) Get() *DeviceTypeRequestWeightUnit { + return v.value +} + +func (v *NullableDeviceTypeRequestWeightUnit) Set(val *DeviceTypeRequestWeightUnit) { + v.value = val + v.isSet = true +} + +func (v NullableDeviceTypeRequestWeightUnit) IsSet() bool { + return v.isSet +} + +func (v *NullableDeviceTypeRequestWeightUnit) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeviceTypeRequestWeightUnit(val *DeviceTypeRequestWeightUnit) *NullableDeviceTypeRequestWeightUnit { + return &NullableDeviceTypeRequestWeightUnit{value: val, isSet: true} +} + +func (v NullableDeviceTypeRequestWeightUnit) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeviceTypeRequestWeightUnit) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_device_type_subdevice_role.go b/model_device_type_subdevice_role.go new file mode 100644 index 000000000..a85d78a52 --- /dev/null +++ b/model_device_type_subdevice_role.go @@ -0,0 +1,190 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" +) + +// checks if the DeviceTypeSubdeviceRole type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &DeviceTypeSubdeviceRole{} + +// DeviceTypeSubdeviceRole struct for DeviceTypeSubdeviceRole +type DeviceTypeSubdeviceRole struct { + Value *DeviceTypeSubdeviceRoleValue `json:"value,omitempty"` + Label *DeviceTypeSubdeviceRoleLabel `json:"label,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _DeviceTypeSubdeviceRole DeviceTypeSubdeviceRole + +// NewDeviceTypeSubdeviceRole instantiates a new DeviceTypeSubdeviceRole object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDeviceTypeSubdeviceRole() *DeviceTypeSubdeviceRole { + this := DeviceTypeSubdeviceRole{} + return &this +} + +// NewDeviceTypeSubdeviceRoleWithDefaults instantiates a new DeviceTypeSubdeviceRole object +// This 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 NewDeviceTypeSubdeviceRoleWithDefaults() *DeviceTypeSubdeviceRole { + this := DeviceTypeSubdeviceRole{} + return &this +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *DeviceTypeSubdeviceRole) GetValue() DeviceTypeSubdeviceRoleValue { + if o == nil || IsNil(o.Value) { + var ret DeviceTypeSubdeviceRoleValue + 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 *DeviceTypeSubdeviceRole) GetValueOk() (*DeviceTypeSubdeviceRoleValue, 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 *DeviceTypeSubdeviceRole) HasValue() bool { + if o != nil && !IsNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given DeviceTypeSubdeviceRoleValue and assigns it to the Value field. +func (o *DeviceTypeSubdeviceRole) SetValue(v DeviceTypeSubdeviceRoleValue) { + o.Value = &v +} + +// GetLabel returns the Label field value if set, zero value otherwise. +func (o *DeviceTypeSubdeviceRole) GetLabel() DeviceTypeSubdeviceRoleLabel { + if o == nil || IsNil(o.Label) { + var ret DeviceTypeSubdeviceRoleLabel + 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 *DeviceTypeSubdeviceRole) GetLabelOk() (*DeviceTypeSubdeviceRoleLabel, 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 *DeviceTypeSubdeviceRole) HasLabel() bool { + if o != nil && !IsNil(o.Label) { + return true + } + + return false +} + +// SetLabel gets a reference to the given DeviceTypeSubdeviceRoleLabel and assigns it to the Label field. +func (o *DeviceTypeSubdeviceRole) SetLabel(v DeviceTypeSubdeviceRoleLabel) { + o.Label = &v +} + +func (o DeviceTypeSubdeviceRole) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o DeviceTypeSubdeviceRole) 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 *DeviceTypeSubdeviceRole) UnmarshalJSON(data []byte) (err error) { + varDeviceTypeSubdeviceRole := _DeviceTypeSubdeviceRole{} + + err = json.Unmarshal(data, &varDeviceTypeSubdeviceRole) + + if err != nil { + return err + } + + *o = DeviceTypeSubdeviceRole(varDeviceTypeSubdeviceRole) + + 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 NullableDeviceTypeSubdeviceRole struct { + value *DeviceTypeSubdeviceRole + isSet bool +} + +func (v NullableDeviceTypeSubdeviceRole) Get() *DeviceTypeSubdeviceRole { + return v.value +} + +func (v *NullableDeviceTypeSubdeviceRole) Set(val *DeviceTypeSubdeviceRole) { + v.value = val + v.isSet = true +} + +func (v NullableDeviceTypeSubdeviceRole) IsSet() bool { + return v.isSet +} + +func (v *NullableDeviceTypeSubdeviceRole) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeviceTypeSubdeviceRole(val *DeviceTypeSubdeviceRole) *NullableDeviceTypeSubdeviceRole { + return &NullableDeviceTypeSubdeviceRole{value: val, isSet: true} +} + +func (v NullableDeviceTypeSubdeviceRole) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeviceTypeSubdeviceRole) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_device_type_subdevice_role_label.go b/model_device_type_subdevice_role_label.go new file mode 100644 index 000000000..5f6ab1c43 --- /dev/null +++ b/model_device_type_subdevice_role_label.go @@ -0,0 +1,110 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// DeviceTypeSubdeviceRoleLabel the model 'DeviceTypeSubdeviceRoleLabel' +type DeviceTypeSubdeviceRoleLabel string + +// List of DeviceType_subdevice_role_label +const ( + DEVICETYPESUBDEVICEROLELABEL_PARENT DeviceTypeSubdeviceRoleLabel = "Parent" + DEVICETYPESUBDEVICEROLELABEL_CHILD DeviceTypeSubdeviceRoleLabel = "Child" +) + +// All allowed values of DeviceTypeSubdeviceRoleLabel enum +var AllowedDeviceTypeSubdeviceRoleLabelEnumValues = []DeviceTypeSubdeviceRoleLabel{ + "Parent", + "Child", +} + +func (v *DeviceTypeSubdeviceRoleLabel) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := DeviceTypeSubdeviceRoleLabel(value) + for _, existing := range AllowedDeviceTypeSubdeviceRoleLabelEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid DeviceTypeSubdeviceRoleLabel", value) +} + +// NewDeviceTypeSubdeviceRoleLabelFromValue returns a pointer to a valid DeviceTypeSubdeviceRoleLabel +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewDeviceTypeSubdeviceRoleLabelFromValue(v string) (*DeviceTypeSubdeviceRoleLabel, error) { + ev := DeviceTypeSubdeviceRoleLabel(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for DeviceTypeSubdeviceRoleLabel: valid values are %v", v, AllowedDeviceTypeSubdeviceRoleLabelEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v DeviceTypeSubdeviceRoleLabel) IsValid() bool { + for _, existing := range AllowedDeviceTypeSubdeviceRoleLabelEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to DeviceType_subdevice_role_label value +func (v DeviceTypeSubdeviceRoleLabel) Ptr() *DeviceTypeSubdeviceRoleLabel { + return &v +} + +type NullableDeviceTypeSubdeviceRoleLabel struct { + value *DeviceTypeSubdeviceRoleLabel + isSet bool +} + +func (v NullableDeviceTypeSubdeviceRoleLabel) Get() *DeviceTypeSubdeviceRoleLabel { + return v.value +} + +func (v *NullableDeviceTypeSubdeviceRoleLabel) Set(val *DeviceTypeSubdeviceRoleLabel) { + v.value = val + v.isSet = true +} + +func (v NullableDeviceTypeSubdeviceRoleLabel) IsSet() bool { + return v.isSet +} + +func (v *NullableDeviceTypeSubdeviceRoleLabel) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeviceTypeSubdeviceRoleLabel(val *DeviceTypeSubdeviceRoleLabel) *NullableDeviceTypeSubdeviceRoleLabel { + return &NullableDeviceTypeSubdeviceRoleLabel{value: val, isSet: true} +} + +func (v NullableDeviceTypeSubdeviceRoleLabel) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeviceTypeSubdeviceRoleLabel) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_device_type_subdevice_role_value.go b/model_device_type_subdevice_role_value.go new file mode 100644 index 000000000..6f977259f --- /dev/null +++ b/model_device_type_subdevice_role_value.go @@ -0,0 +1,112 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// DeviceTypeSubdeviceRoleValue * `parent` - Parent * `child` - Child +type DeviceTypeSubdeviceRoleValue string + +// List of DeviceType_subdevice_role_value +const ( + DEVICETYPESUBDEVICEROLEVALUE_PARENT DeviceTypeSubdeviceRoleValue = "parent" + DEVICETYPESUBDEVICEROLEVALUE_CHILD DeviceTypeSubdeviceRoleValue = "child" + DEVICETYPESUBDEVICEROLEVALUE_EMPTY DeviceTypeSubdeviceRoleValue = "" +) + +// All allowed values of DeviceTypeSubdeviceRoleValue enum +var AllowedDeviceTypeSubdeviceRoleValueEnumValues = []DeviceTypeSubdeviceRoleValue{ + "parent", + "child", + "", +} + +func (v *DeviceTypeSubdeviceRoleValue) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := DeviceTypeSubdeviceRoleValue(value) + for _, existing := range AllowedDeviceTypeSubdeviceRoleValueEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid DeviceTypeSubdeviceRoleValue", value) +} + +// NewDeviceTypeSubdeviceRoleValueFromValue returns a pointer to a valid DeviceTypeSubdeviceRoleValue +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewDeviceTypeSubdeviceRoleValueFromValue(v string) (*DeviceTypeSubdeviceRoleValue, error) { + ev := DeviceTypeSubdeviceRoleValue(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for DeviceTypeSubdeviceRoleValue: valid values are %v", v, AllowedDeviceTypeSubdeviceRoleValueEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v DeviceTypeSubdeviceRoleValue) IsValid() bool { + for _, existing := range AllowedDeviceTypeSubdeviceRoleValueEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to DeviceType_subdevice_role_value value +func (v DeviceTypeSubdeviceRoleValue) Ptr() *DeviceTypeSubdeviceRoleValue { + return &v +} + +type NullableDeviceTypeSubdeviceRoleValue struct { + value *DeviceTypeSubdeviceRoleValue + isSet bool +} + +func (v NullableDeviceTypeSubdeviceRoleValue) Get() *DeviceTypeSubdeviceRoleValue { + return v.value +} + +func (v *NullableDeviceTypeSubdeviceRoleValue) Set(val *DeviceTypeSubdeviceRoleValue) { + v.value = val + v.isSet = true +} + +func (v NullableDeviceTypeSubdeviceRoleValue) IsSet() bool { + return v.isSet +} + +func (v *NullableDeviceTypeSubdeviceRoleValue) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeviceTypeSubdeviceRoleValue(val *DeviceTypeSubdeviceRoleValue) *NullableDeviceTypeSubdeviceRoleValue { + return &NullableDeviceTypeSubdeviceRoleValue{value: val, isSet: true} +} + +func (v NullableDeviceTypeSubdeviceRoleValue) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeviceTypeSubdeviceRoleValue) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_device_type_weight_unit.go b/model_device_type_weight_unit.go new file mode 100644 index 000000000..ef38ce9aa --- /dev/null +++ b/model_device_type_weight_unit.go @@ -0,0 +1,190 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" +) + +// checks if the DeviceTypeWeightUnit type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &DeviceTypeWeightUnit{} + +// DeviceTypeWeightUnit struct for DeviceTypeWeightUnit +type DeviceTypeWeightUnit struct { + Value *DeviceTypeWeightUnitValue `json:"value,omitempty"` + Label *DeviceTypeWeightUnitLabel `json:"label,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _DeviceTypeWeightUnit DeviceTypeWeightUnit + +// NewDeviceTypeWeightUnit instantiates a new DeviceTypeWeightUnit object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDeviceTypeWeightUnit() *DeviceTypeWeightUnit { + this := DeviceTypeWeightUnit{} + return &this +} + +// NewDeviceTypeWeightUnitWithDefaults instantiates a new DeviceTypeWeightUnit object +// This 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 NewDeviceTypeWeightUnitWithDefaults() *DeviceTypeWeightUnit { + this := DeviceTypeWeightUnit{} + return &this +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *DeviceTypeWeightUnit) GetValue() DeviceTypeWeightUnitValue { + if o == nil || IsNil(o.Value) { + var ret DeviceTypeWeightUnitValue + 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 *DeviceTypeWeightUnit) GetValueOk() (*DeviceTypeWeightUnitValue, 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 *DeviceTypeWeightUnit) HasValue() bool { + if o != nil && !IsNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given DeviceTypeWeightUnitValue and assigns it to the Value field. +func (o *DeviceTypeWeightUnit) SetValue(v DeviceTypeWeightUnitValue) { + o.Value = &v +} + +// GetLabel returns the Label field value if set, zero value otherwise. +func (o *DeviceTypeWeightUnit) GetLabel() DeviceTypeWeightUnitLabel { + if o == nil || IsNil(o.Label) { + var ret DeviceTypeWeightUnitLabel + 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 *DeviceTypeWeightUnit) GetLabelOk() (*DeviceTypeWeightUnitLabel, 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 *DeviceTypeWeightUnit) HasLabel() bool { + if o != nil && !IsNil(o.Label) { + return true + } + + return false +} + +// SetLabel gets a reference to the given DeviceTypeWeightUnitLabel and assigns it to the Label field. +func (o *DeviceTypeWeightUnit) SetLabel(v DeviceTypeWeightUnitLabel) { + o.Label = &v +} + +func (o DeviceTypeWeightUnit) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o DeviceTypeWeightUnit) 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 *DeviceTypeWeightUnit) UnmarshalJSON(data []byte) (err error) { + varDeviceTypeWeightUnit := _DeviceTypeWeightUnit{} + + err = json.Unmarshal(data, &varDeviceTypeWeightUnit) + + if err != nil { + return err + } + + *o = DeviceTypeWeightUnit(varDeviceTypeWeightUnit) + + 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 NullableDeviceTypeWeightUnit struct { + value *DeviceTypeWeightUnit + isSet bool +} + +func (v NullableDeviceTypeWeightUnit) Get() *DeviceTypeWeightUnit { + return v.value +} + +func (v *NullableDeviceTypeWeightUnit) Set(val *DeviceTypeWeightUnit) { + v.value = val + v.isSet = true +} + +func (v NullableDeviceTypeWeightUnit) IsSet() bool { + return v.isSet +} + +func (v *NullableDeviceTypeWeightUnit) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeviceTypeWeightUnit(val *DeviceTypeWeightUnit) *NullableDeviceTypeWeightUnit { + return &NullableDeviceTypeWeightUnit{value: val, isSet: true} +} + +func (v NullableDeviceTypeWeightUnit) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeviceTypeWeightUnit) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_device_type_weight_unit_label.go b/model_device_type_weight_unit_label.go new file mode 100644 index 000000000..0344e8a6f --- /dev/null +++ b/model_device_type_weight_unit_label.go @@ -0,0 +1,114 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// DeviceTypeWeightUnitLabel the model 'DeviceTypeWeightUnitLabel' +type DeviceTypeWeightUnitLabel string + +// List of DeviceType_weight_unit_label +const ( + DEVICETYPEWEIGHTUNITLABEL_KILOGRAMS DeviceTypeWeightUnitLabel = "Kilograms" + DEVICETYPEWEIGHTUNITLABEL_GRAMS DeviceTypeWeightUnitLabel = "Grams" + DEVICETYPEWEIGHTUNITLABEL_POUNDS DeviceTypeWeightUnitLabel = "Pounds" + DEVICETYPEWEIGHTUNITLABEL_OUNCES DeviceTypeWeightUnitLabel = "Ounces" +) + +// All allowed values of DeviceTypeWeightUnitLabel enum +var AllowedDeviceTypeWeightUnitLabelEnumValues = []DeviceTypeWeightUnitLabel{ + "Kilograms", + "Grams", + "Pounds", + "Ounces", +} + +func (v *DeviceTypeWeightUnitLabel) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := DeviceTypeWeightUnitLabel(value) + for _, existing := range AllowedDeviceTypeWeightUnitLabelEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid DeviceTypeWeightUnitLabel", value) +} + +// NewDeviceTypeWeightUnitLabelFromValue returns a pointer to a valid DeviceTypeWeightUnitLabel +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewDeviceTypeWeightUnitLabelFromValue(v string) (*DeviceTypeWeightUnitLabel, error) { + ev := DeviceTypeWeightUnitLabel(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for DeviceTypeWeightUnitLabel: valid values are %v", v, AllowedDeviceTypeWeightUnitLabelEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v DeviceTypeWeightUnitLabel) IsValid() bool { + for _, existing := range AllowedDeviceTypeWeightUnitLabelEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to DeviceType_weight_unit_label value +func (v DeviceTypeWeightUnitLabel) Ptr() *DeviceTypeWeightUnitLabel { + return &v +} + +type NullableDeviceTypeWeightUnitLabel struct { + value *DeviceTypeWeightUnitLabel + isSet bool +} + +func (v NullableDeviceTypeWeightUnitLabel) Get() *DeviceTypeWeightUnitLabel { + return v.value +} + +func (v *NullableDeviceTypeWeightUnitLabel) Set(val *DeviceTypeWeightUnitLabel) { + v.value = val + v.isSet = true +} + +func (v NullableDeviceTypeWeightUnitLabel) IsSet() bool { + return v.isSet +} + +func (v *NullableDeviceTypeWeightUnitLabel) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeviceTypeWeightUnitLabel(val *DeviceTypeWeightUnitLabel) *NullableDeviceTypeWeightUnitLabel { + return &NullableDeviceTypeWeightUnitLabel{value: val, isSet: true} +} + +func (v NullableDeviceTypeWeightUnitLabel) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeviceTypeWeightUnitLabel) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_device_type_weight_unit_value.go b/model_device_type_weight_unit_value.go new file mode 100644 index 000000000..0afdd0c8e --- /dev/null +++ b/model_device_type_weight_unit_value.go @@ -0,0 +1,116 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// DeviceTypeWeightUnitValue * `kg` - Kilograms * `g` - Grams * `lb` - Pounds * `oz` - Ounces +type DeviceTypeWeightUnitValue string + +// List of DeviceType_weight_unit_value +const ( + DEVICETYPEWEIGHTUNITVALUE_KG DeviceTypeWeightUnitValue = "kg" + DEVICETYPEWEIGHTUNITVALUE_G DeviceTypeWeightUnitValue = "g" + DEVICETYPEWEIGHTUNITVALUE_LB DeviceTypeWeightUnitValue = "lb" + DEVICETYPEWEIGHTUNITVALUE_OZ DeviceTypeWeightUnitValue = "oz" + DEVICETYPEWEIGHTUNITVALUE_EMPTY DeviceTypeWeightUnitValue = "" +) + +// All allowed values of DeviceTypeWeightUnitValue enum +var AllowedDeviceTypeWeightUnitValueEnumValues = []DeviceTypeWeightUnitValue{ + "kg", + "g", + "lb", + "oz", + "", +} + +func (v *DeviceTypeWeightUnitValue) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := DeviceTypeWeightUnitValue(value) + for _, existing := range AllowedDeviceTypeWeightUnitValueEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid DeviceTypeWeightUnitValue", value) +} + +// NewDeviceTypeWeightUnitValueFromValue returns a pointer to a valid DeviceTypeWeightUnitValue +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewDeviceTypeWeightUnitValueFromValue(v string) (*DeviceTypeWeightUnitValue, error) { + ev := DeviceTypeWeightUnitValue(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for DeviceTypeWeightUnitValue: valid values are %v", v, AllowedDeviceTypeWeightUnitValueEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v DeviceTypeWeightUnitValue) IsValid() bool { + for _, existing := range AllowedDeviceTypeWeightUnitValueEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to DeviceType_weight_unit_value value +func (v DeviceTypeWeightUnitValue) Ptr() *DeviceTypeWeightUnitValue { + return &v +} + +type NullableDeviceTypeWeightUnitValue struct { + value *DeviceTypeWeightUnitValue + isSet bool +} + +func (v NullableDeviceTypeWeightUnitValue) Get() *DeviceTypeWeightUnitValue { + return v.value +} + +func (v *NullableDeviceTypeWeightUnitValue) Set(val *DeviceTypeWeightUnitValue) { + v.value = val + v.isSet = true +} + +func (v NullableDeviceTypeWeightUnitValue) IsSet() bool { + return v.isSet +} + +func (v *NullableDeviceTypeWeightUnitValue) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeviceTypeWeightUnitValue(val *DeviceTypeWeightUnitValue) *NullableDeviceTypeWeightUnitValue { + return &NullableDeviceTypeWeightUnitValue{value: val, isSet: true} +} + +func (v NullableDeviceTypeWeightUnitValue) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeviceTypeWeightUnitValue) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_device_with_config_context.go b/model_device_with_config_context.go index f4dfc538e..dbc075797 100644 --- a/model_device_with_config_context.go +++ b/model_device_with_config_context.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,43 +21,44 @@ var _ MappedNullable = &DeviceWithConfigContext{} // DeviceWithConfigContext Adds support for custom fields and tags. type DeviceWithConfigContext struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - Name NullableString `json:"name,omitempty"` - DeviceType DeviceType `json:"device_type"` - Role DeviceRole `json:"role"` - Tenant NullableTenant `json:"tenant,omitempty"` - Platform NullablePlatform `json:"platform,omitempty"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Name NullableString `json:"name,omitempty"` + DeviceType BriefDeviceType `json:"device_type"` + Role BriefDeviceRole `json:"role"` + Tenant NullableBriefTenant `json:"tenant,omitempty"` + Platform NullableBriefPlatform `json:"platform,omitempty"` // Chassis serial number, assigned by the manufacturer Serial *string `json:"serial,omitempty"` // A unique tag used to identify this device - AssetTag NullableString `json:"asset_tag,omitempty"` - Site Site `json:"site"` - Location NullableLocation `json:"location,omitempty"` - Rack NullableRack `json:"rack,omitempty"` - Position NullableFloat64 `json:"position,omitempty"` - Face *DeviceFace `json:"face,omitempty"` + AssetTag NullableString `json:"asset_tag,omitempty"` + Site BriefSite `json:"site"` + Location NullableBriefLocation `json:"location,omitempty"` + Rack NullableBriefRack `json:"rack,omitempty"` + Position NullableFloat64 `json:"position,omitempty"` + Face *DeviceFace `json:"face,omitempty"` // GPS coordinate in decimal format (xx.yyyyyy) Latitude NullableFloat64 `json:"latitude,omitempty"` // GPS coordinate in decimal format (xx.yyyyyy) - Longitude NullableFloat64 `json:"longitude,omitempty"` - ParentDevice NullableNestedDevice `json:"parent_device"` - Status *DeviceStatus `json:"status,omitempty"` - Airflow *DeviceAirflow `json:"airflow,omitempty"` - PrimaryIp NullableIPAddress `json:"primary_ip"` - PrimaryIp4 NullableIPAddress `json:"primary_ip4,omitempty"` - PrimaryIp6 NullableIPAddress `json:"primary_ip6,omitempty"` - OobIp NullableIPAddress `json:"oob_ip,omitempty"` - Cluster NullableCluster `json:"cluster,omitempty"` - VirtualChassis NullableVirtualChassis `json:"virtual_chassis,omitempty"` - VcPosition NullableInt32 `json:"vc_position,omitempty"` + Longitude NullableFloat64 `json:"longitude,omitempty"` + ParentDevice NullableNestedDevice `json:"parent_device"` + Status *DeviceStatus `json:"status,omitempty"` + Airflow *DeviceAirflow `json:"airflow,omitempty"` + PrimaryIp NullableBriefIPAddress `json:"primary_ip"` + PrimaryIp4 NullableBriefIPAddress `json:"primary_ip4,omitempty"` + PrimaryIp6 NullableBriefIPAddress `json:"primary_ip6,omitempty"` + OobIp NullableBriefIPAddress `json:"oob_ip,omitempty"` + Cluster NullableBriefCluster `json:"cluster,omitempty"` + VirtualChassis NullableBriefVirtualChassis `json:"virtual_chassis,omitempty"` + VcPosition NullableInt32 `json:"vc_position,omitempty"` // Virtual chassis master election priority - VcPriority NullableInt32 `json:"vc_priority,omitempty"` - Description *string `json:"description,omitempty"` - Comments *string `json:"comments,omitempty"` - ConfigTemplate NullableConfigTemplate `json:"config_template,omitempty"` - ConfigContext interface{} `json:"config_context"` + VcPriority NullableInt32 `json:"vc_priority,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + ConfigTemplate NullableBriefConfigTemplate `json:"config_template,omitempty"` + ConfigContext interface{} `json:"config_context"` // Local config context data takes precedence over source contexts in the final rendered config context LocalContextData interface{} `json:"local_context_data,omitempty"` Tags []NestedTag `json:"tags,omitempty"` @@ -83,7 +84,7 @@ type _DeviceWithConfigContext DeviceWithConfigContext // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewDeviceWithConfigContext(id int32, url string, display string, deviceType DeviceType, role DeviceRole, site Site, parentDevice NullableNestedDevice, primaryIp NullableIPAddress, configContext interface{}, created NullableTime, lastUpdated NullableTime, consolePortCount int32, consoleServerPortCount int32, powerPortCount int32, powerOutletCount int32, interfaceCount int32, frontPortCount int32, rearPortCount int32, deviceBayCount int32, moduleBayCount int32, inventoryItemCount int32) *DeviceWithConfigContext { +func NewDeviceWithConfigContext(id int32, url string, display string, deviceType BriefDeviceType, role BriefDeviceRole, site BriefSite, parentDevice NullableNestedDevice, primaryIp NullableBriefIPAddress, configContext interface{}, created NullableTime, lastUpdated NullableTime, consolePortCount int32, consoleServerPortCount int32, powerPortCount int32, powerOutletCount int32, interfaceCount int32, frontPortCount int32, rearPortCount int32, deviceBayCount int32, moduleBayCount int32, inventoryItemCount int32) *DeviceWithConfigContext { this := DeviceWithConfigContext{} this.Id = id this.Url = url @@ -165,6 +166,38 @@ func (o *DeviceWithConfigContext) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *DeviceWithConfigContext) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DeviceWithConfigContext) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *DeviceWithConfigContext) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *DeviceWithConfigContext) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *DeviceWithConfigContext) GetDisplay() string { if o == nil { @@ -233,9 +266,9 @@ func (o *DeviceWithConfigContext) UnsetName() { } // GetDeviceType returns the DeviceType field value -func (o *DeviceWithConfigContext) GetDeviceType() DeviceType { +func (o *DeviceWithConfigContext) GetDeviceType() BriefDeviceType { if o == nil { - var ret DeviceType + var ret BriefDeviceType return ret } @@ -244,7 +277,7 @@ func (o *DeviceWithConfigContext) GetDeviceType() DeviceType { // GetDeviceTypeOk returns a tuple with the DeviceType field value // and a boolean to check if the value has been set. -func (o *DeviceWithConfigContext) GetDeviceTypeOk() (*DeviceType, bool) { +func (o *DeviceWithConfigContext) GetDeviceTypeOk() (*BriefDeviceType, bool) { if o == nil { return nil, false } @@ -252,14 +285,14 @@ func (o *DeviceWithConfigContext) GetDeviceTypeOk() (*DeviceType, bool) { } // SetDeviceType sets field value -func (o *DeviceWithConfigContext) SetDeviceType(v DeviceType) { +func (o *DeviceWithConfigContext) SetDeviceType(v BriefDeviceType) { o.DeviceType = v } // GetRole returns the Role field value -func (o *DeviceWithConfigContext) GetRole() DeviceRole { +func (o *DeviceWithConfigContext) GetRole() BriefDeviceRole { if o == nil { - var ret DeviceRole + var ret BriefDeviceRole return ret } @@ -268,7 +301,7 @@ func (o *DeviceWithConfigContext) GetRole() DeviceRole { // GetRoleOk returns a tuple with the Role field value // and a boolean to check if the value has been set. -func (o *DeviceWithConfigContext) GetRoleOk() (*DeviceRole, bool) { +func (o *DeviceWithConfigContext) GetRoleOk() (*BriefDeviceRole, bool) { if o == nil { return nil, false } @@ -276,14 +309,14 @@ func (o *DeviceWithConfigContext) GetRoleOk() (*DeviceRole, bool) { } // SetRole sets field value -func (o *DeviceWithConfigContext) SetRole(v DeviceRole) { +func (o *DeviceWithConfigContext) SetRole(v BriefDeviceRole) { o.Role = v } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *DeviceWithConfigContext) GetTenant() Tenant { +func (o *DeviceWithConfigContext) GetTenant() BriefTenant { if o == nil || IsNil(o.Tenant.Get()) { - var ret Tenant + var ret BriefTenant return ret } return *o.Tenant.Get() @@ -292,7 +325,7 @@ func (o *DeviceWithConfigContext) GetTenant() Tenant { // 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 *DeviceWithConfigContext) GetTenantOk() (*Tenant, bool) { +func (o *DeviceWithConfigContext) GetTenantOk() (*BriefTenant, bool) { if o == nil { return nil, false } @@ -308,8 +341,8 @@ func (o *DeviceWithConfigContext) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenant and assigns it to the Tenant field. -func (o *DeviceWithConfigContext) SetTenant(v Tenant) { +// SetTenant gets a reference to the given NullableBriefTenant and assigns it to the Tenant field. +func (o *DeviceWithConfigContext) SetTenant(v BriefTenant) { o.Tenant.Set(&v) } @@ -324,9 +357,9 @@ func (o *DeviceWithConfigContext) UnsetTenant() { } // GetPlatform returns the Platform field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *DeviceWithConfigContext) GetPlatform() Platform { +func (o *DeviceWithConfigContext) GetPlatform() BriefPlatform { if o == nil || IsNil(o.Platform.Get()) { - var ret Platform + var ret BriefPlatform return ret } return *o.Platform.Get() @@ -335,7 +368,7 @@ func (o *DeviceWithConfigContext) GetPlatform() Platform { // GetPlatformOk returns a tuple with the Platform 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 *DeviceWithConfigContext) GetPlatformOk() (*Platform, bool) { +func (o *DeviceWithConfigContext) GetPlatformOk() (*BriefPlatform, bool) { if o == nil { return nil, false } @@ -351,8 +384,8 @@ func (o *DeviceWithConfigContext) HasPlatform() bool { return false } -// SetPlatform gets a reference to the given NullablePlatform and assigns it to the Platform field. -func (o *DeviceWithConfigContext) SetPlatform(v Platform) { +// SetPlatform gets a reference to the given NullableBriefPlatform and assigns it to the Platform field. +func (o *DeviceWithConfigContext) SetPlatform(v BriefPlatform) { o.Platform.Set(&v) } @@ -442,9 +475,9 @@ func (o *DeviceWithConfigContext) UnsetAssetTag() { } // GetSite returns the Site field value -func (o *DeviceWithConfigContext) GetSite() Site { +func (o *DeviceWithConfigContext) GetSite() BriefSite { if o == nil { - var ret Site + var ret BriefSite return ret } @@ -453,7 +486,7 @@ func (o *DeviceWithConfigContext) GetSite() Site { // GetSiteOk returns a tuple with the Site field value // and a boolean to check if the value has been set. -func (o *DeviceWithConfigContext) GetSiteOk() (*Site, bool) { +func (o *DeviceWithConfigContext) GetSiteOk() (*BriefSite, bool) { if o == nil { return nil, false } @@ -461,14 +494,14 @@ func (o *DeviceWithConfigContext) GetSiteOk() (*Site, bool) { } // SetSite sets field value -func (o *DeviceWithConfigContext) SetSite(v Site) { +func (o *DeviceWithConfigContext) SetSite(v BriefSite) { o.Site = v } // GetLocation returns the Location field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *DeviceWithConfigContext) GetLocation() Location { +func (o *DeviceWithConfigContext) GetLocation() BriefLocation { if o == nil || IsNil(o.Location.Get()) { - var ret Location + var ret BriefLocation return ret } return *o.Location.Get() @@ -477,7 +510,7 @@ func (o *DeviceWithConfigContext) GetLocation() 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. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *DeviceWithConfigContext) GetLocationOk() (*Location, bool) { +func (o *DeviceWithConfigContext) GetLocationOk() (*BriefLocation, bool) { if o == nil { return nil, false } @@ -493,8 +526,8 @@ func (o *DeviceWithConfigContext) HasLocation() bool { return false } -// SetLocation gets a reference to the given NullableLocation and assigns it to the Location field. -func (o *DeviceWithConfigContext) SetLocation(v Location) { +// SetLocation gets a reference to the given NullableBriefLocation and assigns it to the Location field. +func (o *DeviceWithConfigContext) SetLocation(v BriefLocation) { o.Location.Set(&v) } @@ -509,9 +542,9 @@ func (o *DeviceWithConfigContext) UnsetLocation() { } // GetRack returns the Rack field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *DeviceWithConfigContext) GetRack() Rack { +func (o *DeviceWithConfigContext) GetRack() BriefRack { if o == nil || IsNil(o.Rack.Get()) { - var ret Rack + var ret BriefRack return ret } return *o.Rack.Get() @@ -520,7 +553,7 @@ func (o *DeviceWithConfigContext) GetRack() Rack { // GetRackOk returns a tuple with the Rack 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 *DeviceWithConfigContext) GetRackOk() (*Rack, bool) { +func (o *DeviceWithConfigContext) GetRackOk() (*BriefRack, bool) { if o == nil { return nil, false } @@ -536,8 +569,8 @@ func (o *DeviceWithConfigContext) HasRack() bool { return false } -// SetRack gets a reference to the given NullableRack and assigns it to the Rack field. -func (o *DeviceWithConfigContext) SetRack(v Rack) { +// SetRack gets a reference to the given NullableBriefRack and assigns it to the Rack field. +func (o *DeviceWithConfigContext) SetRack(v BriefRack) { o.Rack.Set(&v) } @@ -803,10 +836,10 @@ func (o *DeviceWithConfigContext) SetAirflow(v DeviceAirflow) { } // GetPrimaryIp returns the PrimaryIp field value -// If the value is explicit nil, the zero value for IPAddress will be returned -func (o *DeviceWithConfigContext) GetPrimaryIp() IPAddress { +// If the value is explicit nil, the zero value for BriefIPAddress will be returned +func (o *DeviceWithConfigContext) GetPrimaryIp() BriefIPAddress { if o == nil || o.PrimaryIp.Get() == nil { - var ret IPAddress + var ret BriefIPAddress return ret } @@ -816,7 +849,7 @@ func (o *DeviceWithConfigContext) GetPrimaryIp() IPAddress { // GetPrimaryIpOk returns a tuple with the PrimaryIp 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 *DeviceWithConfigContext) GetPrimaryIpOk() (*IPAddress, bool) { +func (o *DeviceWithConfigContext) GetPrimaryIpOk() (*BriefIPAddress, bool) { if o == nil { return nil, false } @@ -824,14 +857,14 @@ func (o *DeviceWithConfigContext) GetPrimaryIpOk() (*IPAddress, bool) { } // SetPrimaryIp sets field value -func (o *DeviceWithConfigContext) SetPrimaryIp(v IPAddress) { +func (o *DeviceWithConfigContext) SetPrimaryIp(v BriefIPAddress) { o.PrimaryIp.Set(&v) } // GetPrimaryIp4 returns the PrimaryIp4 field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *DeviceWithConfigContext) GetPrimaryIp4() IPAddress { +func (o *DeviceWithConfigContext) GetPrimaryIp4() BriefIPAddress { if o == nil || IsNil(o.PrimaryIp4.Get()) { - var ret IPAddress + var ret BriefIPAddress return ret } return *o.PrimaryIp4.Get() @@ -840,7 +873,7 @@ func (o *DeviceWithConfigContext) GetPrimaryIp4() IPAddress { // 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 *DeviceWithConfigContext) GetPrimaryIp4Ok() (*IPAddress, bool) { +func (o *DeviceWithConfigContext) GetPrimaryIp4Ok() (*BriefIPAddress, bool) { if o == nil { return nil, false } @@ -856,8 +889,8 @@ func (o *DeviceWithConfigContext) HasPrimaryIp4() bool { return false } -// SetPrimaryIp4 gets a reference to the given NullableIPAddress and assigns it to the PrimaryIp4 field. -func (o *DeviceWithConfigContext) SetPrimaryIp4(v IPAddress) { +// SetPrimaryIp4 gets a reference to the given NullableBriefIPAddress and assigns it to the PrimaryIp4 field. +func (o *DeviceWithConfigContext) SetPrimaryIp4(v BriefIPAddress) { o.PrimaryIp4.Set(&v) } @@ -872,9 +905,9 @@ func (o *DeviceWithConfigContext) UnsetPrimaryIp4() { } // GetPrimaryIp6 returns the PrimaryIp6 field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *DeviceWithConfigContext) GetPrimaryIp6() IPAddress { +func (o *DeviceWithConfigContext) GetPrimaryIp6() BriefIPAddress { if o == nil || IsNil(o.PrimaryIp6.Get()) { - var ret IPAddress + var ret BriefIPAddress return ret } return *o.PrimaryIp6.Get() @@ -883,7 +916,7 @@ func (o *DeviceWithConfigContext) GetPrimaryIp6() IPAddress { // 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 *DeviceWithConfigContext) GetPrimaryIp6Ok() (*IPAddress, bool) { +func (o *DeviceWithConfigContext) GetPrimaryIp6Ok() (*BriefIPAddress, bool) { if o == nil { return nil, false } @@ -899,8 +932,8 @@ func (o *DeviceWithConfigContext) HasPrimaryIp6() bool { return false } -// SetPrimaryIp6 gets a reference to the given NullableIPAddress and assigns it to the PrimaryIp6 field. -func (o *DeviceWithConfigContext) SetPrimaryIp6(v IPAddress) { +// SetPrimaryIp6 gets a reference to the given NullableBriefIPAddress and assigns it to the PrimaryIp6 field. +func (o *DeviceWithConfigContext) SetPrimaryIp6(v BriefIPAddress) { o.PrimaryIp6.Set(&v) } @@ -915,9 +948,9 @@ func (o *DeviceWithConfigContext) UnsetPrimaryIp6() { } // GetOobIp returns the OobIp field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *DeviceWithConfigContext) GetOobIp() IPAddress { +func (o *DeviceWithConfigContext) GetOobIp() BriefIPAddress { if o == nil || IsNil(o.OobIp.Get()) { - var ret IPAddress + var ret BriefIPAddress return ret } return *o.OobIp.Get() @@ -926,7 +959,7 @@ func (o *DeviceWithConfigContext) GetOobIp() IPAddress { // GetOobIpOk returns a tuple with the OobIp 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 *DeviceWithConfigContext) GetOobIpOk() (*IPAddress, bool) { +func (o *DeviceWithConfigContext) GetOobIpOk() (*BriefIPAddress, bool) { if o == nil { return nil, false } @@ -942,8 +975,8 @@ func (o *DeviceWithConfigContext) HasOobIp() bool { return false } -// SetOobIp gets a reference to the given NullableIPAddress and assigns it to the OobIp field. -func (o *DeviceWithConfigContext) SetOobIp(v IPAddress) { +// SetOobIp gets a reference to the given NullableBriefIPAddress and assigns it to the OobIp field. +func (o *DeviceWithConfigContext) SetOobIp(v BriefIPAddress) { o.OobIp.Set(&v) } @@ -958,9 +991,9 @@ func (o *DeviceWithConfigContext) UnsetOobIp() { } // GetCluster returns the Cluster field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *DeviceWithConfigContext) GetCluster() Cluster { +func (o *DeviceWithConfigContext) GetCluster() BriefCluster { if o == nil || IsNil(o.Cluster.Get()) { - var ret Cluster + var ret BriefCluster return ret } return *o.Cluster.Get() @@ -969,7 +1002,7 @@ func (o *DeviceWithConfigContext) GetCluster() Cluster { // GetClusterOk returns a tuple with the Cluster 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 *DeviceWithConfigContext) GetClusterOk() (*Cluster, bool) { +func (o *DeviceWithConfigContext) GetClusterOk() (*BriefCluster, bool) { if o == nil { return nil, false } @@ -985,8 +1018,8 @@ func (o *DeviceWithConfigContext) HasCluster() bool { return false } -// SetCluster gets a reference to the given NullableCluster and assigns it to the Cluster field. -func (o *DeviceWithConfigContext) SetCluster(v Cluster) { +// SetCluster gets a reference to the given NullableBriefCluster and assigns it to the Cluster field. +func (o *DeviceWithConfigContext) SetCluster(v BriefCluster) { o.Cluster.Set(&v) } @@ -1001,9 +1034,9 @@ func (o *DeviceWithConfigContext) UnsetCluster() { } // GetVirtualChassis returns the VirtualChassis field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *DeviceWithConfigContext) GetVirtualChassis() VirtualChassis { +func (o *DeviceWithConfigContext) GetVirtualChassis() BriefVirtualChassis { if o == nil || IsNil(o.VirtualChassis.Get()) { - var ret VirtualChassis + var ret BriefVirtualChassis return ret } return *o.VirtualChassis.Get() @@ -1012,7 +1045,7 @@ func (o *DeviceWithConfigContext) GetVirtualChassis() VirtualChassis { // GetVirtualChassisOk returns a tuple with the VirtualChassis 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 *DeviceWithConfigContext) GetVirtualChassisOk() (*VirtualChassis, bool) { +func (o *DeviceWithConfigContext) GetVirtualChassisOk() (*BriefVirtualChassis, bool) { if o == nil { return nil, false } @@ -1028,8 +1061,8 @@ func (o *DeviceWithConfigContext) HasVirtualChassis() bool { return false } -// SetVirtualChassis gets a reference to the given NullableVirtualChassis and assigns it to the VirtualChassis field. -func (o *DeviceWithConfigContext) SetVirtualChassis(v VirtualChassis) { +// SetVirtualChassis gets a reference to the given NullableBriefVirtualChassis and assigns it to the VirtualChassis field. +func (o *DeviceWithConfigContext) SetVirtualChassis(v BriefVirtualChassis) { o.VirtualChassis.Set(&v) } @@ -1194,9 +1227,9 @@ func (o *DeviceWithConfigContext) SetComments(v string) { } // GetConfigTemplate returns the ConfigTemplate field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *DeviceWithConfigContext) GetConfigTemplate() ConfigTemplate { +func (o *DeviceWithConfigContext) GetConfigTemplate() BriefConfigTemplate { if o == nil || IsNil(o.ConfigTemplate.Get()) { - var ret ConfigTemplate + var ret BriefConfigTemplate return ret } return *o.ConfigTemplate.Get() @@ -1205,7 +1238,7 @@ func (o *DeviceWithConfigContext) GetConfigTemplate() ConfigTemplate { // GetConfigTemplateOk returns a tuple with the ConfigTemplate 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 *DeviceWithConfigContext) GetConfigTemplateOk() (*ConfigTemplate, bool) { +func (o *DeviceWithConfigContext) GetConfigTemplateOk() (*BriefConfigTemplate, bool) { if o == nil { return nil, false } @@ -1221,8 +1254,8 @@ func (o *DeviceWithConfigContext) HasConfigTemplate() bool { return false } -// SetConfigTemplate gets a reference to the given NullableConfigTemplate and assigns it to the ConfigTemplate field. -func (o *DeviceWithConfigContext) SetConfigTemplate(v ConfigTemplate) { +// SetConfigTemplate gets a reference to the given NullableBriefConfigTemplate and assigns it to the ConfigTemplate field. +func (o *DeviceWithConfigContext) SetConfigTemplate(v BriefConfigTemplate) { o.ConfigTemplate.Set(&v) } @@ -1663,6 +1696,9 @@ func (o DeviceWithConfigContext) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display if o.Name.IsSet() { toSerialize["name"] = o.Name.Get() @@ -1827,6 +1863,7 @@ func (o *DeviceWithConfigContext) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") delete(additionalProperties, "device_type") diff --git a/model_device_with_config_context_request.go b/model_device_with_config_context_request.go index b259fc842..242b52a7b 100644 --- a/model_device_with_config_context_request.go +++ b/model_device_with_config_context_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,37 +20,37 @@ var _ MappedNullable = &DeviceWithConfigContextRequest{} // DeviceWithConfigContextRequest Adds support for custom fields and tags. type DeviceWithConfigContextRequest struct { - Name NullableString `json:"name,omitempty"` - DeviceType DeviceTypeRequest `json:"device_type"` - Role DeviceRoleRequest `json:"role"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` - Platform NullablePlatformRequest `json:"platform,omitempty"` + Name NullableString `json:"name,omitempty"` + DeviceType BriefDeviceTypeRequest `json:"device_type"` + Role BriefDeviceRoleRequest `json:"role"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` + Platform NullableBriefPlatformRequest `json:"platform,omitempty"` // Chassis serial number, assigned by the manufacturer Serial *string `json:"serial,omitempty"` // A unique tag used to identify this device - AssetTag NullableString `json:"asset_tag,omitempty"` - Site SiteRequest `json:"site"` - Location NullableLocationRequest `json:"location,omitempty"` - Rack NullableRackRequest `json:"rack,omitempty"` - Position NullableFloat64 `json:"position,omitempty"` - Face *DeviceFaceValue `json:"face,omitempty"` + AssetTag NullableString `json:"asset_tag,omitempty"` + Site BriefSiteRequest `json:"site"` + Location NullableBriefLocationRequest `json:"location,omitempty"` + Rack NullableBriefRackRequest `json:"rack,omitempty"` + Position NullableFloat64 `json:"position,omitempty"` + Face *DeviceFaceValue `json:"face,omitempty"` // GPS coordinate in decimal format (xx.yyyyyy) Latitude NullableFloat64 `json:"latitude,omitempty"` // GPS coordinate in decimal format (xx.yyyyyy) - Longitude NullableFloat64 `json:"longitude,omitempty"` - Status *DeviceStatusValue `json:"status,omitempty"` - Airflow *DeviceAirflowValue `json:"airflow,omitempty"` - PrimaryIp4 NullableIPAddressRequest `json:"primary_ip4,omitempty"` - PrimaryIp6 NullableIPAddressRequest `json:"primary_ip6,omitempty"` - OobIp NullableIPAddressRequest `json:"oob_ip,omitempty"` - Cluster NullableClusterRequest `json:"cluster,omitempty"` - VirtualChassis NullableVirtualChassisRequest `json:"virtual_chassis,omitempty"` - VcPosition NullableInt32 `json:"vc_position,omitempty"` + Longitude NullableFloat64 `json:"longitude,omitempty"` + Status *DeviceStatusValue `json:"status,omitempty"` + Airflow *DeviceAirflowValue `json:"airflow,omitempty"` + PrimaryIp4 NullableBriefIPAddressRequest `json:"primary_ip4,omitempty"` + PrimaryIp6 NullableBriefIPAddressRequest `json:"primary_ip6,omitempty"` + OobIp NullableBriefIPAddressRequest `json:"oob_ip,omitempty"` + Cluster NullableBriefClusterRequest `json:"cluster,omitempty"` + VirtualChassis NullableBriefVirtualChassisRequest `json:"virtual_chassis,omitempty"` + VcPosition NullableInt32 `json:"vc_position,omitempty"` // Virtual chassis master election priority - VcPriority NullableInt32 `json:"vc_priority,omitempty"` - Description *string `json:"description,omitempty"` - Comments *string `json:"comments,omitempty"` - ConfigTemplate NullableConfigTemplateRequest `json:"config_template,omitempty"` + VcPriority NullableInt32 `json:"vc_priority,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + ConfigTemplate NullableBriefConfigTemplateRequest `json:"config_template,omitempty"` // Local config context data takes precedence over source contexts in the final rendered config context LocalContextData interface{} `json:"local_context_data,omitempty"` Tags []NestedTagRequest `json:"tags,omitempty"` @@ -64,7 +64,7 @@ type _DeviceWithConfigContextRequest DeviceWithConfigContextRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewDeviceWithConfigContextRequest(deviceType DeviceTypeRequest, role DeviceRoleRequest, site SiteRequest) *DeviceWithConfigContextRequest { +func NewDeviceWithConfigContextRequest(deviceType BriefDeviceTypeRequest, role BriefDeviceRoleRequest, site BriefSiteRequest) *DeviceWithConfigContextRequest { this := DeviceWithConfigContextRequest{} this.DeviceType = deviceType this.Role = role @@ -124,9 +124,9 @@ func (o *DeviceWithConfigContextRequest) UnsetName() { } // GetDeviceType returns the DeviceType field value -func (o *DeviceWithConfigContextRequest) GetDeviceType() DeviceTypeRequest { +func (o *DeviceWithConfigContextRequest) GetDeviceType() BriefDeviceTypeRequest { if o == nil { - var ret DeviceTypeRequest + var ret BriefDeviceTypeRequest return ret } @@ -135,7 +135,7 @@ func (o *DeviceWithConfigContextRequest) GetDeviceType() DeviceTypeRequest { // GetDeviceTypeOk returns a tuple with the DeviceType field value // and a boolean to check if the value has been set. -func (o *DeviceWithConfigContextRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool) { +func (o *DeviceWithConfigContextRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool) { if o == nil { return nil, false } @@ -143,14 +143,14 @@ func (o *DeviceWithConfigContextRequest) GetDeviceTypeOk() (*DeviceTypeRequest, } // SetDeviceType sets field value -func (o *DeviceWithConfigContextRequest) SetDeviceType(v DeviceTypeRequest) { +func (o *DeviceWithConfigContextRequest) SetDeviceType(v BriefDeviceTypeRequest) { o.DeviceType = v } // GetRole returns the Role field value -func (o *DeviceWithConfigContextRequest) GetRole() DeviceRoleRequest { +func (o *DeviceWithConfigContextRequest) GetRole() BriefDeviceRoleRequest { if o == nil { - var ret DeviceRoleRequest + var ret BriefDeviceRoleRequest return ret } @@ -159,7 +159,7 @@ func (o *DeviceWithConfigContextRequest) GetRole() DeviceRoleRequest { // GetRoleOk returns a tuple with the Role field value // and a boolean to check if the value has been set. -func (o *DeviceWithConfigContextRequest) GetRoleOk() (*DeviceRoleRequest, bool) { +func (o *DeviceWithConfigContextRequest) GetRoleOk() (*BriefDeviceRoleRequest, bool) { if o == nil { return nil, false } @@ -167,14 +167,14 @@ func (o *DeviceWithConfigContextRequest) GetRoleOk() (*DeviceRoleRequest, bool) } // SetRole sets field value -func (o *DeviceWithConfigContextRequest) SetRole(v DeviceRoleRequest) { +func (o *DeviceWithConfigContextRequest) SetRole(v BriefDeviceRoleRequest) { o.Role = v } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *DeviceWithConfigContextRequest) GetTenant() TenantRequest { +func (o *DeviceWithConfigContextRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -183,7 +183,7 @@ func (o *DeviceWithConfigContextRequest) GetTenant() TenantRequest { // 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 *DeviceWithConfigContextRequest) GetTenantOk() (*TenantRequest, bool) { +func (o *DeviceWithConfigContextRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -199,8 +199,8 @@ func (o *DeviceWithConfigContextRequest) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *DeviceWithConfigContextRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *DeviceWithConfigContextRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } @@ -215,9 +215,9 @@ func (o *DeviceWithConfigContextRequest) UnsetTenant() { } // GetPlatform returns the Platform field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *DeviceWithConfigContextRequest) GetPlatform() PlatformRequest { +func (o *DeviceWithConfigContextRequest) GetPlatform() BriefPlatformRequest { if o == nil || IsNil(o.Platform.Get()) { - var ret PlatformRequest + var ret BriefPlatformRequest return ret } return *o.Platform.Get() @@ -226,7 +226,7 @@ func (o *DeviceWithConfigContextRequest) GetPlatform() PlatformRequest { // GetPlatformOk returns a tuple with the Platform 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 *DeviceWithConfigContextRequest) GetPlatformOk() (*PlatformRequest, bool) { +func (o *DeviceWithConfigContextRequest) GetPlatformOk() (*BriefPlatformRequest, bool) { if o == nil { return nil, false } @@ -242,8 +242,8 @@ func (o *DeviceWithConfigContextRequest) HasPlatform() bool { return false } -// SetPlatform gets a reference to the given NullablePlatformRequest and assigns it to the Platform field. -func (o *DeviceWithConfigContextRequest) SetPlatform(v PlatformRequest) { +// SetPlatform gets a reference to the given NullableBriefPlatformRequest and assigns it to the Platform field. +func (o *DeviceWithConfigContextRequest) SetPlatform(v BriefPlatformRequest) { o.Platform.Set(&v) } @@ -333,9 +333,9 @@ func (o *DeviceWithConfigContextRequest) UnsetAssetTag() { } // GetSite returns the Site field value -func (o *DeviceWithConfigContextRequest) GetSite() SiteRequest { +func (o *DeviceWithConfigContextRequest) GetSite() BriefSiteRequest { if o == nil { - var ret SiteRequest + var ret BriefSiteRequest return ret } @@ -344,7 +344,7 @@ func (o *DeviceWithConfigContextRequest) GetSite() SiteRequest { // GetSiteOk returns a tuple with the Site field value // and a boolean to check if the value has been set. -func (o *DeviceWithConfigContextRequest) GetSiteOk() (*SiteRequest, bool) { +func (o *DeviceWithConfigContextRequest) GetSiteOk() (*BriefSiteRequest, bool) { if o == nil { return nil, false } @@ -352,14 +352,14 @@ func (o *DeviceWithConfigContextRequest) GetSiteOk() (*SiteRequest, bool) { } // SetSite sets field value -func (o *DeviceWithConfigContextRequest) SetSite(v SiteRequest) { +func (o *DeviceWithConfigContextRequest) SetSite(v BriefSiteRequest) { o.Site = v } // GetLocation returns the Location field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *DeviceWithConfigContextRequest) GetLocation() LocationRequest { +func (o *DeviceWithConfigContextRequest) GetLocation() BriefLocationRequest { if o == nil || IsNil(o.Location.Get()) { - var ret LocationRequest + var ret BriefLocationRequest return ret } return *o.Location.Get() @@ -368,7 +368,7 @@ func (o *DeviceWithConfigContextRequest) GetLocation() LocationRequest { // GetLocationOk returns a tuple with the Location 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 *DeviceWithConfigContextRequest) GetLocationOk() (*LocationRequest, bool) { +func (o *DeviceWithConfigContextRequest) GetLocationOk() (*BriefLocationRequest, bool) { if o == nil { return nil, false } @@ -384,8 +384,8 @@ func (o *DeviceWithConfigContextRequest) HasLocation() bool { return false } -// SetLocation gets a reference to the given NullableLocationRequest and assigns it to the Location field. -func (o *DeviceWithConfigContextRequest) SetLocation(v LocationRequest) { +// SetLocation gets a reference to the given NullableBriefLocationRequest and assigns it to the Location field. +func (o *DeviceWithConfigContextRequest) SetLocation(v BriefLocationRequest) { o.Location.Set(&v) } @@ -400,9 +400,9 @@ func (o *DeviceWithConfigContextRequest) UnsetLocation() { } // GetRack returns the Rack field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *DeviceWithConfigContextRequest) GetRack() RackRequest { +func (o *DeviceWithConfigContextRequest) GetRack() BriefRackRequest { if o == nil || IsNil(o.Rack.Get()) { - var ret RackRequest + var ret BriefRackRequest return ret } return *o.Rack.Get() @@ -411,7 +411,7 @@ func (o *DeviceWithConfigContextRequest) GetRack() RackRequest { // GetRackOk returns a tuple with the Rack 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 *DeviceWithConfigContextRequest) GetRackOk() (*RackRequest, bool) { +func (o *DeviceWithConfigContextRequest) GetRackOk() (*BriefRackRequest, bool) { if o == nil { return nil, false } @@ -427,8 +427,8 @@ func (o *DeviceWithConfigContextRequest) HasRack() bool { return false } -// SetRack gets a reference to the given NullableRackRequest and assigns it to the Rack field. -func (o *DeviceWithConfigContextRequest) SetRack(v RackRequest) { +// SetRack gets a reference to the given NullableBriefRackRequest and assigns it to the Rack field. +func (o *DeviceWithConfigContextRequest) SetRack(v BriefRackRequest) { o.Rack.Set(&v) } @@ -668,9 +668,9 @@ func (o *DeviceWithConfigContextRequest) SetAirflow(v DeviceAirflowValue) { } // GetPrimaryIp4 returns the PrimaryIp4 field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *DeviceWithConfigContextRequest) GetPrimaryIp4() IPAddressRequest { +func (o *DeviceWithConfigContextRequest) GetPrimaryIp4() BriefIPAddressRequest { if o == nil || IsNil(o.PrimaryIp4.Get()) { - var ret IPAddressRequest + var ret BriefIPAddressRequest return ret } return *o.PrimaryIp4.Get() @@ -679,7 +679,7 @@ func (o *DeviceWithConfigContextRequest) GetPrimaryIp4() IPAddressRequest { // 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 *DeviceWithConfigContextRequest) GetPrimaryIp4Ok() (*IPAddressRequest, bool) { +func (o *DeviceWithConfigContextRequest) GetPrimaryIp4Ok() (*BriefIPAddressRequest, bool) { if o == nil { return nil, false } @@ -695,8 +695,8 @@ func (o *DeviceWithConfigContextRequest) HasPrimaryIp4() bool { return false } -// SetPrimaryIp4 gets a reference to the given NullableIPAddressRequest and assigns it to the PrimaryIp4 field. -func (o *DeviceWithConfigContextRequest) SetPrimaryIp4(v IPAddressRequest) { +// SetPrimaryIp4 gets a reference to the given NullableBriefIPAddressRequest and assigns it to the PrimaryIp4 field. +func (o *DeviceWithConfigContextRequest) SetPrimaryIp4(v BriefIPAddressRequest) { o.PrimaryIp4.Set(&v) } @@ -711,9 +711,9 @@ func (o *DeviceWithConfigContextRequest) UnsetPrimaryIp4() { } // GetPrimaryIp6 returns the PrimaryIp6 field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *DeviceWithConfigContextRequest) GetPrimaryIp6() IPAddressRequest { +func (o *DeviceWithConfigContextRequest) GetPrimaryIp6() BriefIPAddressRequest { if o == nil || IsNil(o.PrimaryIp6.Get()) { - var ret IPAddressRequest + var ret BriefIPAddressRequest return ret } return *o.PrimaryIp6.Get() @@ -722,7 +722,7 @@ func (o *DeviceWithConfigContextRequest) GetPrimaryIp6() IPAddressRequest { // 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 *DeviceWithConfigContextRequest) GetPrimaryIp6Ok() (*IPAddressRequest, bool) { +func (o *DeviceWithConfigContextRequest) GetPrimaryIp6Ok() (*BriefIPAddressRequest, bool) { if o == nil { return nil, false } @@ -738,8 +738,8 @@ func (o *DeviceWithConfigContextRequest) HasPrimaryIp6() bool { return false } -// SetPrimaryIp6 gets a reference to the given NullableIPAddressRequest and assigns it to the PrimaryIp6 field. -func (o *DeviceWithConfigContextRequest) SetPrimaryIp6(v IPAddressRequest) { +// SetPrimaryIp6 gets a reference to the given NullableBriefIPAddressRequest and assigns it to the PrimaryIp6 field. +func (o *DeviceWithConfigContextRequest) SetPrimaryIp6(v BriefIPAddressRequest) { o.PrimaryIp6.Set(&v) } @@ -754,9 +754,9 @@ func (o *DeviceWithConfigContextRequest) UnsetPrimaryIp6() { } // GetOobIp returns the OobIp field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *DeviceWithConfigContextRequest) GetOobIp() IPAddressRequest { +func (o *DeviceWithConfigContextRequest) GetOobIp() BriefIPAddressRequest { if o == nil || IsNil(o.OobIp.Get()) { - var ret IPAddressRequest + var ret BriefIPAddressRequest return ret } return *o.OobIp.Get() @@ -765,7 +765,7 @@ func (o *DeviceWithConfigContextRequest) GetOobIp() IPAddressRequest { // GetOobIpOk returns a tuple with the OobIp 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 *DeviceWithConfigContextRequest) GetOobIpOk() (*IPAddressRequest, bool) { +func (o *DeviceWithConfigContextRequest) GetOobIpOk() (*BriefIPAddressRequest, bool) { if o == nil { return nil, false } @@ -781,8 +781,8 @@ func (o *DeviceWithConfigContextRequest) HasOobIp() bool { return false } -// SetOobIp gets a reference to the given NullableIPAddressRequest and assigns it to the OobIp field. -func (o *DeviceWithConfigContextRequest) SetOobIp(v IPAddressRequest) { +// SetOobIp gets a reference to the given NullableBriefIPAddressRequest and assigns it to the OobIp field. +func (o *DeviceWithConfigContextRequest) SetOobIp(v BriefIPAddressRequest) { o.OobIp.Set(&v) } @@ -797,9 +797,9 @@ func (o *DeviceWithConfigContextRequest) UnsetOobIp() { } // GetCluster returns the Cluster field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *DeviceWithConfigContextRequest) GetCluster() ClusterRequest { +func (o *DeviceWithConfigContextRequest) GetCluster() BriefClusterRequest { if o == nil || IsNil(o.Cluster.Get()) { - var ret ClusterRequest + var ret BriefClusterRequest return ret } return *o.Cluster.Get() @@ -808,7 +808,7 @@ func (o *DeviceWithConfigContextRequest) GetCluster() ClusterRequest { // GetClusterOk returns a tuple with the Cluster 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 *DeviceWithConfigContextRequest) GetClusterOk() (*ClusterRequest, bool) { +func (o *DeviceWithConfigContextRequest) GetClusterOk() (*BriefClusterRequest, bool) { if o == nil { return nil, false } @@ -824,8 +824,8 @@ func (o *DeviceWithConfigContextRequest) HasCluster() bool { return false } -// SetCluster gets a reference to the given NullableClusterRequest and assigns it to the Cluster field. -func (o *DeviceWithConfigContextRequest) SetCluster(v ClusterRequest) { +// SetCluster gets a reference to the given NullableBriefClusterRequest and assigns it to the Cluster field. +func (o *DeviceWithConfigContextRequest) SetCluster(v BriefClusterRequest) { o.Cluster.Set(&v) } @@ -840,9 +840,9 @@ func (o *DeviceWithConfigContextRequest) UnsetCluster() { } // GetVirtualChassis returns the VirtualChassis field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *DeviceWithConfigContextRequest) GetVirtualChassis() VirtualChassisRequest { +func (o *DeviceWithConfigContextRequest) GetVirtualChassis() BriefVirtualChassisRequest { if o == nil || IsNil(o.VirtualChassis.Get()) { - var ret VirtualChassisRequest + var ret BriefVirtualChassisRequest return ret } return *o.VirtualChassis.Get() @@ -851,7 +851,7 @@ func (o *DeviceWithConfigContextRequest) GetVirtualChassis() VirtualChassisReque // GetVirtualChassisOk returns a tuple with the VirtualChassis 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 *DeviceWithConfigContextRequest) GetVirtualChassisOk() (*VirtualChassisRequest, bool) { +func (o *DeviceWithConfigContextRequest) GetVirtualChassisOk() (*BriefVirtualChassisRequest, bool) { if o == nil { return nil, false } @@ -867,8 +867,8 @@ func (o *DeviceWithConfigContextRequest) HasVirtualChassis() bool { return false } -// SetVirtualChassis gets a reference to the given NullableVirtualChassisRequest and assigns it to the VirtualChassis field. -func (o *DeviceWithConfigContextRequest) SetVirtualChassis(v VirtualChassisRequest) { +// SetVirtualChassis gets a reference to the given NullableBriefVirtualChassisRequest and assigns it to the VirtualChassis field. +func (o *DeviceWithConfigContextRequest) SetVirtualChassis(v BriefVirtualChassisRequest) { o.VirtualChassis.Set(&v) } @@ -1033,9 +1033,9 @@ func (o *DeviceWithConfigContextRequest) SetComments(v string) { } // GetConfigTemplate returns the ConfigTemplate field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *DeviceWithConfigContextRequest) GetConfigTemplate() ConfigTemplateRequest { +func (o *DeviceWithConfigContextRequest) GetConfigTemplate() BriefConfigTemplateRequest { if o == nil || IsNil(o.ConfigTemplate.Get()) { - var ret ConfigTemplateRequest + var ret BriefConfigTemplateRequest return ret } return *o.ConfigTemplate.Get() @@ -1044,7 +1044,7 @@ func (o *DeviceWithConfigContextRequest) GetConfigTemplate() ConfigTemplateReque // GetConfigTemplateOk returns a tuple with the ConfigTemplate 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 *DeviceWithConfigContextRequest) GetConfigTemplateOk() (*ConfigTemplateRequest, bool) { +func (o *DeviceWithConfigContextRequest) GetConfigTemplateOk() (*BriefConfigTemplateRequest, bool) { if o == nil { return nil, false } @@ -1060,8 +1060,8 @@ func (o *DeviceWithConfigContextRequest) HasConfigTemplate() bool { return false } -// SetConfigTemplate gets a reference to the given NullableConfigTemplateRequest and assigns it to the ConfigTemplate field. -func (o *DeviceWithConfigContextRequest) SetConfigTemplate(v ConfigTemplateRequest) { +// SetConfigTemplate gets a reference to the given NullableBriefConfigTemplateRequest and assigns it to the ConfigTemplate field. +func (o *DeviceWithConfigContextRequest) SetConfigTemplate(v BriefConfigTemplateRequest) { o.ConfigTemplate.Set(&v) } diff --git a/model_encryption.go b/model_encryption.go index 718a00acd..dd4249036 100644 --- a/model_encryption.go +++ b/model_encryption.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,33 +15,33 @@ import ( "fmt" ) -// Encryption * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES +// Encryption the model 'Encryption' type Encryption string // List of Encryption const ( + ENCRYPTION_EMPTY Encryption = "" + ENCRYPTION__3DES_CBC Encryption = "3des-cbc" ENCRYPTION_AES_128_CBC Encryption = "aes-128-cbc" ENCRYPTION_AES_128_GCM Encryption = "aes-128-gcm" ENCRYPTION_AES_192_CBC Encryption = "aes-192-cbc" ENCRYPTION_AES_192_GCM Encryption = "aes-192-gcm" ENCRYPTION_AES_256_CBC Encryption = "aes-256-cbc" ENCRYPTION_AES_256_GCM Encryption = "aes-256-gcm" - ENCRYPTION__3DES_CBC Encryption = "3des-cbc" ENCRYPTION_DES_CBC Encryption = "des-cbc" - ENCRYPTION_EMPTY Encryption = "" ) // All allowed values of Encryption enum var AllowedEncryptionEnumValues = []Encryption{ + "", + "3des-cbc", "aes-128-cbc", "aes-128-gcm", "aes-192-cbc", "aes-192-gcm", "aes-256-cbc", "aes-256-gcm", - "3des-cbc", "des-cbc", - "", } func (v *Encryption) UnmarshalJSON(src []byte) error { diff --git a/model_encryption_1.go b/model_encryption_1.go new file mode 100644 index 000000000..412e161bf --- /dev/null +++ b/model_encryption_1.go @@ -0,0 +1,125 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// Encryption1 * `aes-128-cbc` - 128-bit AES (CBC) * `aes-128-gcm` - 128-bit AES (GCM) * `aes-192-cbc` - 192-bit AES (CBC) * `aes-192-gcm` - 192-bit AES (GCM) * `aes-256-cbc` - 256-bit AES (CBC) * `aes-256-gcm` - 256-bit AES (GCM) * `3des-cbc` - 3DES * `des-cbc` - DES +type Encryption1 string + +// List of Encryption_1 +const ( + ENCRYPTION1_AES_128_CBC Encryption1 = "aes-128-cbc" + ENCRYPTION1_AES_128_GCM Encryption1 = "aes-128-gcm" + ENCRYPTION1_AES_192_CBC Encryption1 = "aes-192-cbc" + ENCRYPTION1_AES_192_GCM Encryption1 = "aes-192-gcm" + ENCRYPTION1_AES_256_CBC Encryption1 = "aes-256-cbc" + ENCRYPTION1_AES_256_GCM Encryption1 = "aes-256-gcm" + ENCRYPTION1__3DES_CBC Encryption1 = "3des-cbc" + ENCRYPTION1_DES_CBC Encryption1 = "des-cbc" + ENCRYPTION1_EMPTY Encryption1 = "" +) + +// All allowed values of Encryption1 enum +var AllowedEncryption1EnumValues = []Encryption1{ + "aes-128-cbc", + "aes-128-gcm", + "aes-192-cbc", + "aes-192-gcm", + "aes-256-cbc", + "aes-256-gcm", + "3des-cbc", + "des-cbc", + "", +} + +func (v *Encryption1) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := Encryption1(value) + for _, existing := range AllowedEncryption1EnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid Encryption1", value) +} + +// NewEncryption1FromValue returns a pointer to a valid Encryption1 +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewEncryption1FromValue(v string) (*Encryption1, error) { + ev := Encryption1(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for Encryption1: valid values are %v", v, AllowedEncryption1EnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v Encryption1) IsValid() bool { + for _, existing := range AllowedEncryption1EnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to Encryption_1 value +func (v Encryption1) Ptr() *Encryption1 { + return &v +} + +type NullableEncryption1 struct { + value *Encryption1 + isSet bool +} + +func (v NullableEncryption1) Get() *Encryption1 { + return v.value +} + +func (v *NullableEncryption1) Set(val *Encryption1) { + v.value = val + v.isSet = true +} + +func (v NullableEncryption1) IsSet() bool { + return v.isSet +} + +func (v *NullableEncryption1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableEncryption1(val *Encryption1) *NullableEncryption1 { + return &NullableEncryption1{value: val, isSet: true} +} + +func (v NullableEncryption1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableEncryption1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_end.go b/model_end.go index e5ba360cb..cd649d001 100644 --- a/model_end.go +++ b/model_end.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_end_1.go b/model_end_1.go index b71fc25b1..423eb8d93 100644 --- a/model_end_1.go +++ b/model_end_1.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_event.go b/model_event.go new file mode 100644 index 000000000..1c0a0b2b7 --- /dev/null +++ b/model_event.go @@ -0,0 +1,120 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// Event * `object_created` - Object created * `object_updated` - Object updated * `object_deleted` - Object deleted * `job_started` - Job started * `job_completed` - Job completed * `job_failed` - Job failed * `job_errored` - Job errored +type Event string + +// List of Event +const ( + EVENT_OBJECT_CREATED Event = "object_created" + EVENT_OBJECT_UPDATED Event = "object_updated" + EVENT_OBJECT_DELETED Event = "object_deleted" + EVENT_JOB_STARTED Event = "job_started" + EVENT_JOB_COMPLETED Event = "job_completed" + EVENT_JOB_FAILED Event = "job_failed" + EVENT_JOB_ERRORED Event = "job_errored" +) + +// All allowed values of Event enum +var AllowedEventEnumValues = []Event{ + "object_created", + "object_updated", + "object_deleted", + "job_started", + "job_completed", + "job_failed", + "job_errored", +} + +func (v *Event) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := Event(value) + for _, existing := range AllowedEventEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid Event", value) +} + +// NewEventFromValue returns a pointer to a valid Event +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewEventFromValue(v string) (*Event, error) { + ev := Event(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for Event: valid values are %v", v, AllowedEventEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v Event) IsValid() bool { + for _, existing := range AllowedEventEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to Event value +func (v Event) Ptr() *Event { + return &v +} + +type NullableEvent struct { + value *Event + isSet bool +} + +func (v NullableEvent) Get() *Event { + return v.value +} + +func (v *NullableEvent) Set(val *Event) { + v.value = val + v.isSet = true +} + +func (v NullableEvent) IsSet() bool { + return v.isSet +} + +func (v *NullableEvent) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableEvent(val *Event) *NullableEvent { + return &NullableEvent{value: val, isSet: true} +} + +func (v NullableEvent) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableEvent) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_event_rule.go b/model_event_rule.go index b3f5d4e41..2dba63560 100644 --- a/model_event_rule.go +++ b/model_event_rule.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -23,20 +23,13 @@ var _ MappedNullable = &EventRule{} type EventRule struct { Id int32 `json:"id"` Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` Display string `json:"display"` ObjectTypes []string `json:"object_types"` Name string `json:"name"` - // Triggers when a matching object is created. - TypeCreate *bool `json:"type_create,omitempty"` - // Triggers when a matching object is updated. - TypeUpdate *bool `json:"type_update,omitempty"` - // Triggers when a matching object is deleted. - TypeDelete *bool `json:"type_delete,omitempty"` - // Triggers when a job for a matching object is started. - TypeJobStart *bool `json:"type_job_start,omitempty"` - // Triggers when a job for a matching object terminates. - TypeJobEnd *bool `json:"type_job_end,omitempty"` - Enabled *bool `json:"enabled,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + // The types of event which will trigger this rule. + EventTypes []EventRuleEventTypesInner `json:"event_types"` // A set of conditions which determine whether the event will be generated. Conditions interface{} `json:"conditions,omitempty"` ActionType EventRuleActionType `json:"action_type"` @@ -57,13 +50,14 @@ type _EventRule EventRule // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewEventRule(id int32, url string, display string, objectTypes []string, name string, actionType EventRuleActionType, actionObjectType string, actionObject map[string]interface{}, created NullableTime, lastUpdated NullableTime) *EventRule { +func NewEventRule(id int32, url string, display string, objectTypes []string, name string, eventTypes []EventRuleEventTypesInner, actionType EventRuleActionType, actionObjectType string, actionObject map[string]interface{}, created NullableTime, lastUpdated NullableTime) *EventRule { this := EventRule{} this.Id = id this.Url = url this.Display = display this.ObjectTypes = objectTypes this.Name = name + this.EventTypes = eventTypes this.ActionType = actionType this.ActionObjectType = actionObjectType this.ActionObject = actionObject @@ -128,6 +122,38 @@ func (o *EventRule) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *EventRule) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *EventRule) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *EventRule) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *EventRule) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *EventRule) GetDisplay() string { if o == nil { @@ -200,166 +226,6 @@ func (o *EventRule) SetName(v string) { o.Name = v } -// GetTypeCreate returns the TypeCreate field value if set, zero value otherwise. -func (o *EventRule) GetTypeCreate() bool { - if o == nil || IsNil(o.TypeCreate) { - var ret bool - return ret - } - return *o.TypeCreate -} - -// GetTypeCreateOk returns a tuple with the TypeCreate field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *EventRule) GetTypeCreateOk() (*bool, bool) { - if o == nil || IsNil(o.TypeCreate) { - return nil, false - } - return o.TypeCreate, true -} - -// HasTypeCreate returns a boolean if a field has been set. -func (o *EventRule) HasTypeCreate() bool { - if o != nil && !IsNil(o.TypeCreate) { - return true - } - - return false -} - -// SetTypeCreate gets a reference to the given bool and assigns it to the TypeCreate field. -func (o *EventRule) SetTypeCreate(v bool) { - o.TypeCreate = &v -} - -// GetTypeUpdate returns the TypeUpdate field value if set, zero value otherwise. -func (o *EventRule) GetTypeUpdate() bool { - if o == nil || IsNil(o.TypeUpdate) { - var ret bool - return ret - } - return *o.TypeUpdate -} - -// GetTypeUpdateOk returns a tuple with the TypeUpdate field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *EventRule) GetTypeUpdateOk() (*bool, bool) { - if o == nil || IsNil(o.TypeUpdate) { - return nil, false - } - return o.TypeUpdate, true -} - -// HasTypeUpdate returns a boolean if a field has been set. -func (o *EventRule) HasTypeUpdate() bool { - if o != nil && !IsNil(o.TypeUpdate) { - return true - } - - return false -} - -// SetTypeUpdate gets a reference to the given bool and assigns it to the TypeUpdate field. -func (o *EventRule) SetTypeUpdate(v bool) { - o.TypeUpdate = &v -} - -// GetTypeDelete returns the TypeDelete field value if set, zero value otherwise. -func (o *EventRule) GetTypeDelete() bool { - if o == nil || IsNil(o.TypeDelete) { - var ret bool - return ret - } - return *o.TypeDelete -} - -// GetTypeDeleteOk returns a tuple with the TypeDelete field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *EventRule) GetTypeDeleteOk() (*bool, bool) { - if o == nil || IsNil(o.TypeDelete) { - return nil, false - } - return o.TypeDelete, true -} - -// HasTypeDelete returns a boolean if a field has been set. -func (o *EventRule) HasTypeDelete() bool { - if o != nil && !IsNil(o.TypeDelete) { - return true - } - - return false -} - -// SetTypeDelete gets a reference to the given bool and assigns it to the TypeDelete field. -func (o *EventRule) SetTypeDelete(v bool) { - o.TypeDelete = &v -} - -// GetTypeJobStart returns the TypeJobStart field value if set, zero value otherwise. -func (o *EventRule) GetTypeJobStart() bool { - if o == nil || IsNil(o.TypeJobStart) { - var ret bool - return ret - } - return *o.TypeJobStart -} - -// GetTypeJobStartOk returns a tuple with the TypeJobStart field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *EventRule) GetTypeJobStartOk() (*bool, bool) { - if o == nil || IsNil(o.TypeJobStart) { - return nil, false - } - return o.TypeJobStart, true -} - -// HasTypeJobStart returns a boolean if a field has been set. -func (o *EventRule) HasTypeJobStart() bool { - if o != nil && !IsNil(o.TypeJobStart) { - return true - } - - return false -} - -// SetTypeJobStart gets a reference to the given bool and assigns it to the TypeJobStart field. -func (o *EventRule) SetTypeJobStart(v bool) { - o.TypeJobStart = &v -} - -// GetTypeJobEnd returns the TypeJobEnd field value if set, zero value otherwise. -func (o *EventRule) GetTypeJobEnd() bool { - if o == nil || IsNil(o.TypeJobEnd) { - var ret bool - return ret - } - return *o.TypeJobEnd -} - -// GetTypeJobEndOk returns a tuple with the TypeJobEnd field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *EventRule) GetTypeJobEndOk() (*bool, bool) { - if o == nil || IsNil(o.TypeJobEnd) { - return nil, false - } - return o.TypeJobEnd, true -} - -// HasTypeJobEnd returns a boolean if a field has been set. -func (o *EventRule) HasTypeJobEnd() bool { - if o != nil && !IsNil(o.TypeJobEnd) { - return true - } - - return false -} - -// SetTypeJobEnd gets a reference to the given bool and assigns it to the TypeJobEnd field. -func (o *EventRule) SetTypeJobEnd(v bool) { - o.TypeJobEnd = &v -} - // GetEnabled returns the Enabled field value if set, zero value otherwise. func (o *EventRule) GetEnabled() bool { if o == nil || IsNil(o.Enabled) { @@ -392,6 +258,30 @@ func (o *EventRule) SetEnabled(v bool) { o.Enabled = &v } +// GetEventTypes returns the EventTypes field value +func (o *EventRule) GetEventTypes() []EventRuleEventTypesInner { + if o == nil { + var ret []EventRuleEventTypesInner + return ret + } + + return o.EventTypes +} + +// GetEventTypesOk returns a tuple with the EventTypes field value +// and a boolean to check if the value has been set. +func (o *EventRule) GetEventTypesOk() ([]EventRuleEventTypesInner, bool) { + if o == nil { + return nil, false + } + return o.EventTypes, true +} + +// SetEventTypes sets field value +func (o *EventRule) SetEventTypes(v []EventRuleEventTypesInner) { + o.EventTypes = v +} + // GetConditions returns the Conditions field value if set, zero value otherwise (both if not set or set to explicit null). func (o *EventRule) GetConditions() interface{} { if o == nil { @@ -700,27 +590,16 @@ func (o EventRule) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["object_types"] = o.ObjectTypes toSerialize["name"] = o.Name - if !IsNil(o.TypeCreate) { - toSerialize["type_create"] = o.TypeCreate - } - if !IsNil(o.TypeUpdate) { - toSerialize["type_update"] = o.TypeUpdate - } - if !IsNil(o.TypeDelete) { - toSerialize["type_delete"] = o.TypeDelete - } - if !IsNil(o.TypeJobStart) { - toSerialize["type_job_start"] = o.TypeJobStart - } - if !IsNil(o.TypeJobEnd) { - toSerialize["type_job_end"] = o.TypeJobEnd - } if !IsNil(o.Enabled) { toSerialize["enabled"] = o.Enabled } + toSerialize["event_types"] = o.EventTypes if o.Conditions != nil { toSerialize["conditions"] = o.Conditions } @@ -759,6 +638,7 @@ func (o *EventRule) UnmarshalJSON(data []byte) (err error) { "display", "object_types", "name", + "event_types", "action_type", "action_object_type", "action_object", @@ -795,15 +675,12 @@ func (o *EventRule) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "object_types") delete(additionalProperties, "name") - delete(additionalProperties, "type_create") - delete(additionalProperties, "type_update") - delete(additionalProperties, "type_delete") - delete(additionalProperties, "type_job_start") - delete(additionalProperties, "type_job_end") delete(additionalProperties, "enabled") + delete(additionalProperties, "event_types") delete(additionalProperties, "conditions") delete(additionalProperties, "action_type") delete(additionalProperties, "action_object_type") diff --git a/model_event_rule_action_type.go b/model_event_rule_action_type.go index 1c8cb0534..f9d69032c 100644 --- a/model_event_rule_action_type.go +++ b/model_event_rule_action_type.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_event_rule_action_type_label.go b/model_event_rule_action_type_label.go index d58423d47..992c4740e 100644 --- a/model_event_rule_action_type_label.go +++ b/model_event_rule_action_type_label.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,14 +20,16 @@ type EventRuleActionTypeLabel string // List of EventRule_action_type_label const ( - EVENTRULEACTIONTYPELABEL_WEBHOOK EventRuleActionTypeLabel = "Webhook" - EVENTRULEACTIONTYPELABEL_SCRIPT EventRuleActionTypeLabel = "Script" + EVENTRULEACTIONTYPELABEL_WEBHOOK EventRuleActionTypeLabel = "Webhook" + EVENTRULEACTIONTYPELABEL_SCRIPT EventRuleActionTypeLabel = "Script" + EVENTRULEACTIONTYPELABEL_NOTIFICATION EventRuleActionTypeLabel = "Notification" ) // All allowed values of EventRuleActionTypeLabel enum var AllowedEventRuleActionTypeLabelEnumValues = []EventRuleActionTypeLabel{ "Webhook", "Script", + "Notification", } func (v *EventRuleActionTypeLabel) UnmarshalJSON(src []byte) error { diff --git a/model_event_rule_action_type_value.go b/model_event_rule_action_type_value.go index 9c309b8d2..3abc24088 100644 --- a/model_event_rule_action_type_value.go +++ b/model_event_rule_action_type_value.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,19 +15,21 @@ import ( "fmt" ) -// EventRuleActionTypeValue * `webhook` - Webhook * `script` - Script +// EventRuleActionTypeValue * `webhook` - Webhook * `script` - Script * `notification` - Notification type EventRuleActionTypeValue string // List of EventRule_action_type_value const ( - EVENTRULEACTIONTYPEVALUE_WEBHOOK EventRuleActionTypeValue = "webhook" - EVENTRULEACTIONTYPEVALUE_SCRIPT EventRuleActionTypeValue = "script" + EVENTRULEACTIONTYPEVALUE_WEBHOOK EventRuleActionTypeValue = "webhook" + EVENTRULEACTIONTYPEVALUE_SCRIPT EventRuleActionTypeValue = "script" + EVENTRULEACTIONTYPEVALUE_NOTIFICATION EventRuleActionTypeValue = "notification" ) // All allowed values of EventRuleActionTypeValue enum var AllowedEventRuleActionTypeValueEnumValues = []EventRuleActionTypeValue{ "webhook", "script", + "notification", } func (v *EventRuleActionTypeValue) UnmarshalJSON(src []byte) error { diff --git a/model_event_rule_event_types_inner.go b/model_event_rule_event_types_inner.go new file mode 100644 index 000000000..cb5b3b57c --- /dev/null +++ b/model_event_rule_event_types_inner.go @@ -0,0 +1,120 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// EventRuleEventTypesInner * `object_created` - Object created * `object_updated` - Object updated * `object_deleted` - Object deleted * `job_started` - Job started * `job_completed` - Job completed * `job_failed` - Job failed * `job_errored` - Job errored +type EventRuleEventTypesInner string + +// List of EventRule_event_types_inner +const ( + EVENTRULEEVENTTYPESINNER_OBJECT_CREATED EventRuleEventTypesInner = "object_created" + EVENTRULEEVENTTYPESINNER_OBJECT_UPDATED EventRuleEventTypesInner = "object_updated" + EVENTRULEEVENTTYPESINNER_OBJECT_DELETED EventRuleEventTypesInner = "object_deleted" + EVENTRULEEVENTTYPESINNER_JOB_STARTED EventRuleEventTypesInner = "job_started" + EVENTRULEEVENTTYPESINNER_JOB_COMPLETED EventRuleEventTypesInner = "job_completed" + EVENTRULEEVENTTYPESINNER_JOB_FAILED EventRuleEventTypesInner = "job_failed" + EVENTRULEEVENTTYPESINNER_JOB_ERRORED EventRuleEventTypesInner = "job_errored" +) + +// All allowed values of EventRuleEventTypesInner enum +var AllowedEventRuleEventTypesInnerEnumValues = []EventRuleEventTypesInner{ + "object_created", + "object_updated", + "object_deleted", + "job_started", + "job_completed", + "job_failed", + "job_errored", +} + +func (v *EventRuleEventTypesInner) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := EventRuleEventTypesInner(value) + for _, existing := range AllowedEventRuleEventTypesInnerEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid EventRuleEventTypesInner", value) +} + +// NewEventRuleEventTypesInnerFromValue returns a pointer to a valid EventRuleEventTypesInner +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewEventRuleEventTypesInnerFromValue(v string) (*EventRuleEventTypesInner, error) { + ev := EventRuleEventTypesInner(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for EventRuleEventTypesInner: valid values are %v", v, AllowedEventRuleEventTypesInnerEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v EventRuleEventTypesInner) IsValid() bool { + for _, existing := range AllowedEventRuleEventTypesInnerEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to EventRule_event_types_inner value +func (v EventRuleEventTypesInner) Ptr() *EventRuleEventTypesInner { + return &v +} + +type NullableEventRuleEventTypesInner struct { + value *EventRuleEventTypesInner + isSet bool +} + +func (v NullableEventRuleEventTypesInner) Get() *EventRuleEventTypesInner { + return v.value +} + +func (v *NullableEventRuleEventTypesInner) Set(val *EventRuleEventTypesInner) { + v.value = val + v.isSet = true +} + +func (v NullableEventRuleEventTypesInner) IsSet() bool { + return v.isSet +} + +func (v *NullableEventRuleEventTypesInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableEventRuleEventTypesInner(val *EventRuleEventTypesInner) *NullableEventRuleEventTypesInner { + return &NullableEventRuleEventTypesInner{value: val, isSet: true} +} + +func (v NullableEventRuleEventTypesInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableEventRuleEventTypesInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_event_rule_request.go b/model_event_rule_request.go index e9a76def0..ee72a95d6 100644 --- a/model_event_rule_request.go +++ b/model_event_rule_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -22,17 +22,9 @@ var _ MappedNullable = &EventRuleRequest{} type EventRuleRequest struct { ObjectTypes []string `json:"object_types"` Name string `json:"name"` - // Triggers when a matching object is created. - TypeCreate *bool `json:"type_create,omitempty"` - // Triggers when a matching object is updated. - TypeUpdate *bool `json:"type_update,omitempty"` - // Triggers when a matching object is deleted. - TypeDelete *bool `json:"type_delete,omitempty"` - // Triggers when a job for a matching object is started. - TypeJobStart *bool `json:"type_job_start,omitempty"` - // Triggers when a job for a matching object terminates. - TypeJobEnd *bool `json:"type_job_end,omitempty"` - Enabled *bool `json:"enabled,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + // The types of event which will trigger this rule. + EventTypes []EventRuleEventTypesInner `json:"event_types"` // A set of conditions which determine whether the event will be generated. Conditions interface{} `json:"conditions,omitempty"` ActionType EventRuleActionTypeValue `json:"action_type"` @@ -50,10 +42,11 @@ type _EventRuleRequest EventRuleRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewEventRuleRequest(objectTypes []string, name string, actionType EventRuleActionTypeValue, actionObjectType string) *EventRuleRequest { +func NewEventRuleRequest(objectTypes []string, name string, eventTypes []EventRuleEventTypesInner, actionType EventRuleActionTypeValue, actionObjectType string) *EventRuleRequest { this := EventRuleRequest{} this.ObjectTypes = objectTypes this.Name = name + this.EventTypes = eventTypes this.ActionType = actionType this.ActionObjectType = actionObjectType return &this @@ -115,166 +108,6 @@ func (o *EventRuleRequest) SetName(v string) { o.Name = v } -// GetTypeCreate returns the TypeCreate field value if set, zero value otherwise. -func (o *EventRuleRequest) GetTypeCreate() bool { - if o == nil || IsNil(o.TypeCreate) { - var ret bool - return ret - } - return *o.TypeCreate -} - -// GetTypeCreateOk returns a tuple with the TypeCreate field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *EventRuleRequest) GetTypeCreateOk() (*bool, bool) { - if o == nil || IsNil(o.TypeCreate) { - return nil, false - } - return o.TypeCreate, true -} - -// HasTypeCreate returns a boolean if a field has been set. -func (o *EventRuleRequest) HasTypeCreate() bool { - if o != nil && !IsNil(o.TypeCreate) { - return true - } - - return false -} - -// SetTypeCreate gets a reference to the given bool and assigns it to the TypeCreate field. -func (o *EventRuleRequest) SetTypeCreate(v bool) { - o.TypeCreate = &v -} - -// GetTypeUpdate returns the TypeUpdate field value if set, zero value otherwise. -func (o *EventRuleRequest) GetTypeUpdate() bool { - if o == nil || IsNil(o.TypeUpdate) { - var ret bool - return ret - } - return *o.TypeUpdate -} - -// GetTypeUpdateOk returns a tuple with the TypeUpdate field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *EventRuleRequest) GetTypeUpdateOk() (*bool, bool) { - if o == nil || IsNil(o.TypeUpdate) { - return nil, false - } - return o.TypeUpdate, true -} - -// HasTypeUpdate returns a boolean if a field has been set. -func (o *EventRuleRequest) HasTypeUpdate() bool { - if o != nil && !IsNil(o.TypeUpdate) { - return true - } - - return false -} - -// SetTypeUpdate gets a reference to the given bool and assigns it to the TypeUpdate field. -func (o *EventRuleRequest) SetTypeUpdate(v bool) { - o.TypeUpdate = &v -} - -// GetTypeDelete returns the TypeDelete field value if set, zero value otherwise. -func (o *EventRuleRequest) GetTypeDelete() bool { - if o == nil || IsNil(o.TypeDelete) { - var ret bool - return ret - } - return *o.TypeDelete -} - -// GetTypeDeleteOk returns a tuple with the TypeDelete field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *EventRuleRequest) GetTypeDeleteOk() (*bool, bool) { - if o == nil || IsNil(o.TypeDelete) { - return nil, false - } - return o.TypeDelete, true -} - -// HasTypeDelete returns a boolean if a field has been set. -func (o *EventRuleRequest) HasTypeDelete() bool { - if o != nil && !IsNil(o.TypeDelete) { - return true - } - - return false -} - -// SetTypeDelete gets a reference to the given bool and assigns it to the TypeDelete field. -func (o *EventRuleRequest) SetTypeDelete(v bool) { - o.TypeDelete = &v -} - -// GetTypeJobStart returns the TypeJobStart field value if set, zero value otherwise. -func (o *EventRuleRequest) GetTypeJobStart() bool { - if o == nil || IsNil(o.TypeJobStart) { - var ret bool - return ret - } - return *o.TypeJobStart -} - -// GetTypeJobStartOk returns a tuple with the TypeJobStart field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *EventRuleRequest) GetTypeJobStartOk() (*bool, bool) { - if o == nil || IsNil(o.TypeJobStart) { - return nil, false - } - return o.TypeJobStart, true -} - -// HasTypeJobStart returns a boolean if a field has been set. -func (o *EventRuleRequest) HasTypeJobStart() bool { - if o != nil && !IsNil(o.TypeJobStart) { - return true - } - - return false -} - -// SetTypeJobStart gets a reference to the given bool and assigns it to the TypeJobStart field. -func (o *EventRuleRequest) SetTypeJobStart(v bool) { - o.TypeJobStart = &v -} - -// GetTypeJobEnd returns the TypeJobEnd field value if set, zero value otherwise. -func (o *EventRuleRequest) GetTypeJobEnd() bool { - if o == nil || IsNil(o.TypeJobEnd) { - var ret bool - return ret - } - return *o.TypeJobEnd -} - -// GetTypeJobEndOk returns a tuple with the TypeJobEnd field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *EventRuleRequest) GetTypeJobEndOk() (*bool, bool) { - if o == nil || IsNil(o.TypeJobEnd) { - return nil, false - } - return o.TypeJobEnd, true -} - -// HasTypeJobEnd returns a boolean if a field has been set. -func (o *EventRuleRequest) HasTypeJobEnd() bool { - if o != nil && !IsNil(o.TypeJobEnd) { - return true - } - - return false -} - -// SetTypeJobEnd gets a reference to the given bool and assigns it to the TypeJobEnd field. -func (o *EventRuleRequest) SetTypeJobEnd(v bool) { - o.TypeJobEnd = &v -} - // GetEnabled returns the Enabled field value if set, zero value otherwise. func (o *EventRuleRequest) GetEnabled() bool { if o == nil || IsNil(o.Enabled) { @@ -307,6 +140,30 @@ func (o *EventRuleRequest) SetEnabled(v bool) { o.Enabled = &v } +// GetEventTypes returns the EventTypes field value +func (o *EventRuleRequest) GetEventTypes() []EventRuleEventTypesInner { + if o == nil { + var ret []EventRuleEventTypesInner + return ret + } + + return o.EventTypes +} + +// GetEventTypesOk returns a tuple with the EventTypes field value +// and a boolean to check if the value has been set. +func (o *EventRuleRequest) GetEventTypesOk() ([]EventRuleEventTypesInner, bool) { + if o == nil { + return nil, false + } + return o.EventTypes, true +} + +// SetEventTypes sets field value +func (o *EventRuleRequest) SetEventTypes(v []EventRuleEventTypesInner) { + o.EventTypes = v +} + // GetConditions returns the Conditions field value if set, zero value otherwise (both if not set or set to explicit null). func (o *EventRuleRequest) GetConditions() interface{} { if o == nil { @@ -539,24 +396,10 @@ func (o EventRuleRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["object_types"] = o.ObjectTypes toSerialize["name"] = o.Name - if !IsNil(o.TypeCreate) { - toSerialize["type_create"] = o.TypeCreate - } - if !IsNil(o.TypeUpdate) { - toSerialize["type_update"] = o.TypeUpdate - } - if !IsNil(o.TypeDelete) { - toSerialize["type_delete"] = o.TypeDelete - } - if !IsNil(o.TypeJobStart) { - toSerialize["type_job_start"] = o.TypeJobStart - } - if !IsNil(o.TypeJobEnd) { - toSerialize["type_job_end"] = o.TypeJobEnd - } if !IsNil(o.Enabled) { toSerialize["enabled"] = o.Enabled } + toSerialize["event_types"] = o.EventTypes if o.Conditions != nil { toSerialize["conditions"] = o.Conditions } @@ -589,6 +432,7 @@ func (o *EventRuleRequest) UnmarshalJSON(data []byte) (err error) { requiredProperties := []string{ "object_types", "name", + "event_types", "action_type", "action_object_type", } @@ -622,12 +466,8 @@ func (o *EventRuleRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "object_types") delete(additionalProperties, "name") - delete(additionalProperties, "type_create") - delete(additionalProperties, "type_update") - delete(additionalProperties, "type_delete") - delete(additionalProperties, "type_job_start") - delete(additionalProperties, "type_job_end") delete(additionalProperties, "enabled") + delete(additionalProperties, "event_types") delete(additionalProperties, "conditions") delete(additionalProperties, "action_type") delete(additionalProperties, "action_object_type") diff --git a/model_export_template.go b/model_export_template.go index e034604cd..7bee30fc6 100644 --- a/model_export_template.go +++ b/model_export_template.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -23,6 +23,7 @@ var _ MappedNullable = &ExportTemplate{} type ExportTemplate struct { Id int32 `json:"id"` Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` Display string `json:"display"` ObjectTypes []string `json:"object_types"` Name string `json:"name"` @@ -34,14 +35,14 @@ type ExportTemplate struct { // Extension to append to the rendered filename FileExtension *string `json:"file_extension,omitempty"` // Download file as attachment - AsAttachment *bool `json:"as_attachment,omitempty"` - DataSource *DataSource `json:"data_source,omitempty"` + AsAttachment *bool `json:"as_attachment,omitempty"` + DataSource *BriefDataSource `json:"data_source,omitempty"` // Path to remote file (relative to data source root) - DataPath string `json:"data_path"` - DataFile DataFile `json:"data_file"` - DataSynced NullableTime `json:"data_synced"` - Created NullableTime `json:"created"` - LastUpdated NullableTime `json:"last_updated"` + DataPath string `json:"data_path"` + DataFile BriefDataFile `json:"data_file"` + DataSynced NullableTime `json:"data_synced"` + Created NullableTime `json:"created"` + LastUpdated NullableTime `json:"last_updated"` AdditionalProperties map[string]interface{} } @@ -51,7 +52,7 @@ 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 int32, url string, display string, objectTypes []string, name string, templateCode string, dataPath string, dataFile DataFile, dataSynced NullableTime, created NullableTime, lastUpdated NullableTime) *ExportTemplate { +func NewExportTemplate(id int32, url string, display string, objectTypes []string, name string, templateCode string, dataPath string, dataFile BriefDataFile, dataSynced NullableTime, created NullableTime, lastUpdated NullableTime) *ExportTemplate { this := ExportTemplate{} this.Id = id this.Url = url @@ -123,6 +124,38 @@ func (o *ExportTemplate) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *ExportTemplate) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ExportTemplate) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *ExportTemplate) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *ExportTemplate) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *ExportTemplate) GetDisplay() string { if o == nil { @@ -348,9 +381,9 @@ func (o *ExportTemplate) SetAsAttachment(v bool) { } // GetDataSource returns the DataSource field value if set, zero value otherwise. -func (o *ExportTemplate) GetDataSource() DataSource { +func (o *ExportTemplate) GetDataSource() BriefDataSource { if o == nil || IsNil(o.DataSource) { - var ret DataSource + var ret BriefDataSource return ret } return *o.DataSource @@ -358,7 +391,7 @@ func (o *ExportTemplate) GetDataSource() DataSource { // GetDataSourceOk returns a tuple with the DataSource field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ExportTemplate) GetDataSourceOk() (*DataSource, bool) { +func (o *ExportTemplate) GetDataSourceOk() (*BriefDataSource, bool) { if o == nil || IsNil(o.DataSource) { return nil, false } @@ -374,8 +407,8 @@ func (o *ExportTemplate) HasDataSource() bool { return false } -// SetDataSource gets a reference to the given DataSource and assigns it to the DataSource field. -func (o *ExportTemplate) SetDataSource(v DataSource) { +// SetDataSource gets a reference to the given BriefDataSource and assigns it to the DataSource field. +func (o *ExportTemplate) SetDataSource(v BriefDataSource) { o.DataSource = &v } @@ -404,9 +437,9 @@ func (o *ExportTemplate) SetDataPath(v string) { } // GetDataFile returns the DataFile field value -func (o *ExportTemplate) GetDataFile() DataFile { +func (o *ExportTemplate) GetDataFile() BriefDataFile { if o == nil { - var ret DataFile + var ret BriefDataFile return ret } @@ -415,7 +448,7 @@ func (o *ExportTemplate) GetDataFile() DataFile { // GetDataFileOk returns a tuple with the DataFile field value // and a boolean to check if the value has been set. -func (o *ExportTemplate) GetDataFileOk() (*DataFile, bool) { +func (o *ExportTemplate) GetDataFileOk() (*BriefDataFile, bool) { if o == nil { return nil, false } @@ -423,7 +456,7 @@ func (o *ExportTemplate) GetDataFileOk() (*DataFile, bool) { } // SetDataFile sets field value -func (o *ExportTemplate) SetDataFile(v DataFile) { +func (o *ExportTemplate) SetDataFile(v BriefDataFile) { o.DataFile = v } @@ -517,6 +550,9 @@ func (o ExportTemplate) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["object_types"] = o.ObjectTypes toSerialize["name"] = o.Name @@ -596,6 +632,7 @@ func (o *ExportTemplate) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "object_types") delete(additionalProperties, "name") diff --git a/model_export_template_request.go b/model_export_template_request.go index 16e3ea6a5..5c4bcbccc 100644 --- a/model_export_template_request.go +++ b/model_export_template_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -30,8 +30,8 @@ type ExportTemplateRequest struct { // Extension to append to the rendered filename FileExtension *string `json:"file_extension,omitempty"` // Download file as attachment - AsAttachment *bool `json:"as_attachment,omitempty"` - DataSource *DataSourceRequest `json:"data_source,omitempty"` + AsAttachment *bool `json:"as_attachment,omitempty"` + DataSource *BriefDataSourceRequest `json:"data_source,omitempty"` AdditionalProperties map[string]interface{} } @@ -258,9 +258,9 @@ func (o *ExportTemplateRequest) SetAsAttachment(v bool) { } // GetDataSource returns the DataSource field value if set, zero value otherwise. -func (o *ExportTemplateRequest) GetDataSource() DataSourceRequest { +func (o *ExportTemplateRequest) GetDataSource() BriefDataSourceRequest { if o == nil || IsNil(o.DataSource) { - var ret DataSourceRequest + var ret BriefDataSourceRequest return ret } return *o.DataSource @@ -268,7 +268,7 @@ func (o *ExportTemplateRequest) GetDataSource() DataSourceRequest { // GetDataSourceOk returns a tuple with the DataSource field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ExportTemplateRequest) GetDataSourceOk() (*DataSourceRequest, bool) { +func (o *ExportTemplateRequest) GetDataSourceOk() (*BriefDataSourceRequest, bool) { if o == nil || IsNil(o.DataSource) { return nil, false } @@ -284,8 +284,8 @@ func (o *ExportTemplateRequest) HasDataSource() bool { return false } -// SetDataSource gets a reference to the given DataSourceRequest and assigns it to the DataSource field. -func (o *ExportTemplateRequest) SetDataSource(v DataSourceRequest) { +// SetDataSource gets a reference to the given BriefDataSourceRequest and assigns it to the DataSource field. +func (o *ExportTemplateRequest) SetDataSource(v BriefDataSourceRequest) { o.DataSource = &v } diff --git a/model_extras_custom_field_choice_sets_list_base_choices_parameter.go b/model_extras_custom_field_choice_sets_list_base_choices_parameter.go index 549d77f70..69c82cc92 100644 --- a/model_extras_custom_field_choice_sets_list_base_choices_parameter.go +++ b/model_extras_custom_field_choice_sets_list_base_choices_parameter.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_extras_custom_fields_list_filter_logic_parameter.go b/model_extras_custom_fields_list_filter_logic_parameter.go index e06b57950..5c543c63c 100644 --- a/model_extras_custom_fields_list_filter_logic_parameter.go +++ b/model_extras_custom_fields_list_filter_logic_parameter.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_extras_custom_fields_list_type__ic_parameter_inner.go b/model_extras_custom_fields_list_type__ic_parameter_inner.go new file mode 100644 index 000000000..6fffb59bf --- /dev/null +++ b/model_extras_custom_fields_list_type__ic_parameter_inner.go @@ -0,0 +1,133 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// ExtrasCustomFieldsListTypeIcParameterInner the model 'ExtrasCustomFieldsListTypeIcParameterInner' +type ExtrasCustomFieldsListTypeIcParameterInner string + +// List of extras_custom_fields_list_type__ic_parameter_inner +const ( + EXTRASCUSTOMFIELDSLISTTYPEICPARAMETERINNER_BOOLEAN ExtrasCustomFieldsListTypeIcParameterInner = "boolean" + EXTRASCUSTOMFIELDSLISTTYPEICPARAMETERINNER_DATE ExtrasCustomFieldsListTypeIcParameterInner = "date" + EXTRASCUSTOMFIELDSLISTTYPEICPARAMETERINNER_DATETIME ExtrasCustomFieldsListTypeIcParameterInner = "datetime" + EXTRASCUSTOMFIELDSLISTTYPEICPARAMETERINNER_DECIMAL ExtrasCustomFieldsListTypeIcParameterInner = "decimal" + EXTRASCUSTOMFIELDSLISTTYPEICPARAMETERINNER_INTEGER ExtrasCustomFieldsListTypeIcParameterInner = "integer" + EXTRASCUSTOMFIELDSLISTTYPEICPARAMETERINNER_JSON ExtrasCustomFieldsListTypeIcParameterInner = "json" + EXTRASCUSTOMFIELDSLISTTYPEICPARAMETERINNER_LONGTEXT ExtrasCustomFieldsListTypeIcParameterInner = "longtext" + EXTRASCUSTOMFIELDSLISTTYPEICPARAMETERINNER_MULTIOBJECT ExtrasCustomFieldsListTypeIcParameterInner = "multiobject" + EXTRASCUSTOMFIELDSLISTTYPEICPARAMETERINNER_MULTISELECT ExtrasCustomFieldsListTypeIcParameterInner = "multiselect" + EXTRASCUSTOMFIELDSLISTTYPEICPARAMETERINNER_OBJECT ExtrasCustomFieldsListTypeIcParameterInner = "object" + EXTRASCUSTOMFIELDSLISTTYPEICPARAMETERINNER_SELECT ExtrasCustomFieldsListTypeIcParameterInner = "select" + EXTRASCUSTOMFIELDSLISTTYPEICPARAMETERINNER_TEXT ExtrasCustomFieldsListTypeIcParameterInner = "text" + EXTRASCUSTOMFIELDSLISTTYPEICPARAMETERINNER_URL ExtrasCustomFieldsListTypeIcParameterInner = "url" +) + +// All allowed values of ExtrasCustomFieldsListTypeIcParameterInner enum +var AllowedExtrasCustomFieldsListTypeIcParameterInnerEnumValues = []ExtrasCustomFieldsListTypeIcParameterInner{ + "boolean", + "date", + "datetime", + "decimal", + "integer", + "json", + "longtext", + "multiobject", + "multiselect", + "object", + "select", + "text", + "url", +} + +func (v *ExtrasCustomFieldsListTypeIcParameterInner) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := ExtrasCustomFieldsListTypeIcParameterInner(value) + for _, existing := range AllowedExtrasCustomFieldsListTypeIcParameterInnerEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid ExtrasCustomFieldsListTypeIcParameterInner", value) +} + +// NewExtrasCustomFieldsListTypeIcParameterInnerFromValue returns a pointer to a valid ExtrasCustomFieldsListTypeIcParameterInner +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewExtrasCustomFieldsListTypeIcParameterInnerFromValue(v string) (*ExtrasCustomFieldsListTypeIcParameterInner, error) { + ev := ExtrasCustomFieldsListTypeIcParameterInner(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for ExtrasCustomFieldsListTypeIcParameterInner: valid values are %v", v, AllowedExtrasCustomFieldsListTypeIcParameterInnerEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v ExtrasCustomFieldsListTypeIcParameterInner) IsValid() bool { + for _, existing := range AllowedExtrasCustomFieldsListTypeIcParameterInnerEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to extras_custom_fields_list_type__ic_parameter_inner value +func (v ExtrasCustomFieldsListTypeIcParameterInner) Ptr() *ExtrasCustomFieldsListTypeIcParameterInner { + return &v +} + +type NullableExtrasCustomFieldsListTypeIcParameterInner struct { + value *ExtrasCustomFieldsListTypeIcParameterInner + isSet bool +} + +func (v NullableExtrasCustomFieldsListTypeIcParameterInner) Get() *ExtrasCustomFieldsListTypeIcParameterInner { + return v.value +} + +func (v *NullableExtrasCustomFieldsListTypeIcParameterInner) Set(val *ExtrasCustomFieldsListTypeIcParameterInner) { + v.value = val + v.isSet = true +} + +func (v NullableExtrasCustomFieldsListTypeIcParameterInner) IsSet() bool { + return v.isSet +} + +func (v *NullableExtrasCustomFieldsListTypeIcParameterInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableExtrasCustomFieldsListTypeIcParameterInner(val *ExtrasCustomFieldsListTypeIcParameterInner) *NullableExtrasCustomFieldsListTypeIcParameterInner { + return &NullableExtrasCustomFieldsListTypeIcParameterInner{value: val, isSet: true} +} + +func (v NullableExtrasCustomFieldsListTypeIcParameterInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableExtrasCustomFieldsListTypeIcParameterInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_extras_custom_fields_list_ui_editable_parameter.go b/model_extras_custom_fields_list_ui_editable_parameter.go index 507235fe9..2d5a8133d 100644 --- a/model_extras_custom_fields_list_ui_editable_parameter.go +++ b/model_extras_custom_fields_list_ui_editable_parameter.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_extras_custom_fields_list_ui_visible_parameter.go b/model_extras_custom_fields_list_ui_visible_parameter.go index 47e4aaa2b..f53cf7287 100644 --- a/model_extras_custom_fields_list_ui_visible_parameter.go +++ b/model_extras_custom_fields_list_ui_visible_parameter.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_extras_custom_links_list_button_class_parameter.go b/model_extras_custom_links_list_button_class_parameter.go index db3b288e9..9e5fa1486 100644 --- a/model_extras_custom_links_list_button_class_parameter.go +++ b/model_extras_custom_links_list_button_class_parameter.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,21 +20,21 @@ type ExtrasCustomLinksListButtonClassParameter string // List of extras_custom_links_list_button_class_parameter const ( - EXTRASCUSTOMLINKSLISTBUTTONCLASSPARAMETER_BLACK ExtrasCustomLinksListButtonClassParameter = "black" - EXTRASCUSTOMLINKSLISTBUTTONCLASSPARAMETER_BLUE ExtrasCustomLinksListButtonClassParameter = "blue" - EXTRASCUSTOMLINKSLISTBUTTONCLASSPARAMETER_CYAN ExtrasCustomLinksListButtonClassParameter = "cyan" - EXTRASCUSTOMLINKSLISTBUTTONCLASSPARAMETER_GHOST_DARK ExtrasCustomLinksListButtonClassParameter = "ghost-dark" - EXTRASCUSTOMLINKSLISTBUTTONCLASSPARAMETER_GRAY ExtrasCustomLinksListButtonClassParameter = "gray" - EXTRASCUSTOMLINKSLISTBUTTONCLASSPARAMETER_GREEN ExtrasCustomLinksListButtonClassParameter = "green" - EXTRASCUSTOMLINKSLISTBUTTONCLASSPARAMETER_INDIGO ExtrasCustomLinksListButtonClassParameter = "indigo" - EXTRASCUSTOMLINKSLISTBUTTONCLASSPARAMETER_ORANGE ExtrasCustomLinksListButtonClassParameter = "orange" - EXTRASCUSTOMLINKSLISTBUTTONCLASSPARAMETER_OUTLINE_DARK ExtrasCustomLinksListButtonClassParameter = "outline-dark" - EXTRASCUSTOMLINKSLISTBUTTONCLASSPARAMETER_PINK ExtrasCustomLinksListButtonClassParameter = "pink" - EXTRASCUSTOMLINKSLISTBUTTONCLASSPARAMETER_PURPLE ExtrasCustomLinksListButtonClassParameter = "purple" - EXTRASCUSTOMLINKSLISTBUTTONCLASSPARAMETER_RED ExtrasCustomLinksListButtonClassParameter = "red" - EXTRASCUSTOMLINKSLISTBUTTONCLASSPARAMETER_TEAL ExtrasCustomLinksListButtonClassParameter = "teal" - EXTRASCUSTOMLINKSLISTBUTTONCLASSPARAMETER_WHITE ExtrasCustomLinksListButtonClassParameter = "white" - EXTRASCUSTOMLINKSLISTBUTTONCLASSPARAMETER_YELLOW ExtrasCustomLinksListButtonClassParameter = "yellow" + EXTRASCUSTOMLINKSLISTBUTTONCLASSPARAMETER_BLACK ExtrasCustomLinksListButtonClassParameter = "black" + EXTRASCUSTOMLINKSLISTBUTTONCLASSPARAMETER_BLUE ExtrasCustomLinksListButtonClassParameter = "blue" + EXTRASCUSTOMLINKSLISTBUTTONCLASSPARAMETER_CYAN ExtrasCustomLinksListButtonClassParameter = "cyan" + EXTRASCUSTOMLINKSLISTBUTTONCLASSPARAMETER_DEFAULT ExtrasCustomLinksListButtonClassParameter = "default" + EXTRASCUSTOMLINKSLISTBUTTONCLASSPARAMETER_GHOST_DARK ExtrasCustomLinksListButtonClassParameter = "ghost-dark" + EXTRASCUSTOMLINKSLISTBUTTONCLASSPARAMETER_GRAY ExtrasCustomLinksListButtonClassParameter = "gray" + EXTRASCUSTOMLINKSLISTBUTTONCLASSPARAMETER_GREEN ExtrasCustomLinksListButtonClassParameter = "green" + EXTRASCUSTOMLINKSLISTBUTTONCLASSPARAMETER_INDIGO ExtrasCustomLinksListButtonClassParameter = "indigo" + EXTRASCUSTOMLINKSLISTBUTTONCLASSPARAMETER_ORANGE ExtrasCustomLinksListButtonClassParameter = "orange" + EXTRASCUSTOMLINKSLISTBUTTONCLASSPARAMETER_PINK ExtrasCustomLinksListButtonClassParameter = "pink" + EXTRASCUSTOMLINKSLISTBUTTONCLASSPARAMETER_PURPLE ExtrasCustomLinksListButtonClassParameter = "purple" + EXTRASCUSTOMLINKSLISTBUTTONCLASSPARAMETER_RED ExtrasCustomLinksListButtonClassParameter = "red" + EXTRASCUSTOMLINKSLISTBUTTONCLASSPARAMETER_TEAL ExtrasCustomLinksListButtonClassParameter = "teal" + EXTRASCUSTOMLINKSLISTBUTTONCLASSPARAMETER_WHITE ExtrasCustomLinksListButtonClassParameter = "white" + EXTRASCUSTOMLINKSLISTBUTTONCLASSPARAMETER_YELLOW ExtrasCustomLinksListButtonClassParameter = "yellow" ) // All allowed values of ExtrasCustomLinksListButtonClassParameter enum @@ -42,12 +42,12 @@ var AllowedExtrasCustomLinksListButtonClassParameterEnumValues = []ExtrasCustomL "black", "blue", "cyan", + "default", "ghost-dark", "gray", "green", "indigo", "orange", - "outline-dark", "pink", "purple", "red", diff --git a/model_extras_event_rules_list_action_type__ic_parameter_inner.go b/model_extras_event_rules_list_action_type__ic_parameter_inner.go new file mode 100644 index 000000000..bf6c20cd7 --- /dev/null +++ b/model_extras_event_rules_list_action_type__ic_parameter_inner.go @@ -0,0 +1,113 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// ExtrasEventRulesListActionTypeIcParameterInner the model 'ExtrasEventRulesListActionTypeIcParameterInner' +type ExtrasEventRulesListActionTypeIcParameterInner string + +// List of extras_event_rules_list_action_type__ic_parameter_inner +const ( + EXTRASEVENTRULESLISTACTIONTYPEICPARAMETERINNER_NOTIFICATION ExtrasEventRulesListActionTypeIcParameterInner = "notification" + EXTRASEVENTRULESLISTACTIONTYPEICPARAMETERINNER_SCRIPT ExtrasEventRulesListActionTypeIcParameterInner = "script" + EXTRASEVENTRULESLISTACTIONTYPEICPARAMETERINNER_WEBHOOK ExtrasEventRulesListActionTypeIcParameterInner = "webhook" +) + +// All allowed values of ExtrasEventRulesListActionTypeIcParameterInner enum +var AllowedExtrasEventRulesListActionTypeIcParameterInnerEnumValues = []ExtrasEventRulesListActionTypeIcParameterInner{ + "notification", + "script", + "webhook", +} + +func (v *ExtrasEventRulesListActionTypeIcParameterInner) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := ExtrasEventRulesListActionTypeIcParameterInner(value) + for _, existing := range AllowedExtrasEventRulesListActionTypeIcParameterInnerEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid ExtrasEventRulesListActionTypeIcParameterInner", value) +} + +// NewExtrasEventRulesListActionTypeIcParameterInnerFromValue returns a pointer to a valid ExtrasEventRulesListActionTypeIcParameterInner +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewExtrasEventRulesListActionTypeIcParameterInnerFromValue(v string) (*ExtrasEventRulesListActionTypeIcParameterInner, error) { + ev := ExtrasEventRulesListActionTypeIcParameterInner(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for ExtrasEventRulesListActionTypeIcParameterInner: valid values are %v", v, AllowedExtrasEventRulesListActionTypeIcParameterInnerEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v ExtrasEventRulesListActionTypeIcParameterInner) IsValid() bool { + for _, existing := range AllowedExtrasEventRulesListActionTypeIcParameterInnerEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to extras_event_rules_list_action_type__ic_parameter_inner value +func (v ExtrasEventRulesListActionTypeIcParameterInner) Ptr() *ExtrasEventRulesListActionTypeIcParameterInner { + return &v +} + +type NullableExtrasEventRulesListActionTypeIcParameterInner struct { + value *ExtrasEventRulesListActionTypeIcParameterInner + isSet bool +} + +func (v NullableExtrasEventRulesListActionTypeIcParameterInner) Get() *ExtrasEventRulesListActionTypeIcParameterInner { + return v.value +} + +func (v *NullableExtrasEventRulesListActionTypeIcParameterInner) Set(val *ExtrasEventRulesListActionTypeIcParameterInner) { + v.value = val + v.isSet = true +} + +func (v NullableExtrasEventRulesListActionTypeIcParameterInner) IsSet() bool { + return v.isSet +} + +func (v *NullableExtrasEventRulesListActionTypeIcParameterInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableExtrasEventRulesListActionTypeIcParameterInner(val *ExtrasEventRulesListActionTypeIcParameterInner) *NullableExtrasEventRulesListActionTypeIcParameterInner { + return &NullableExtrasEventRulesListActionTypeIcParameterInner{value: val, isSet: true} +} + +func (v NullableExtrasEventRulesListActionTypeIcParameterInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableExtrasEventRulesListActionTypeIcParameterInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_extras_journal_entries_list_kind__ic_parameter_inner.go b/model_extras_journal_entries_list_kind__ic_parameter_inner.go new file mode 100644 index 000000000..2b1720f54 --- /dev/null +++ b/model_extras_journal_entries_list_kind__ic_parameter_inner.go @@ -0,0 +1,115 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// ExtrasJournalEntriesListKindIcParameterInner the model 'ExtrasJournalEntriesListKindIcParameterInner' +type ExtrasJournalEntriesListKindIcParameterInner string + +// List of extras_journal_entries_list_kind__ic_parameter_inner +const ( + EXTRASJOURNALENTRIESLISTKINDICPARAMETERINNER_DANGER ExtrasJournalEntriesListKindIcParameterInner = "danger" + EXTRASJOURNALENTRIESLISTKINDICPARAMETERINNER_INFO ExtrasJournalEntriesListKindIcParameterInner = "info" + EXTRASJOURNALENTRIESLISTKINDICPARAMETERINNER_SUCCESS ExtrasJournalEntriesListKindIcParameterInner = "success" + EXTRASJOURNALENTRIESLISTKINDICPARAMETERINNER_WARNING ExtrasJournalEntriesListKindIcParameterInner = "warning" +) + +// All allowed values of ExtrasJournalEntriesListKindIcParameterInner enum +var AllowedExtrasJournalEntriesListKindIcParameterInnerEnumValues = []ExtrasJournalEntriesListKindIcParameterInner{ + "danger", + "info", + "success", + "warning", +} + +func (v *ExtrasJournalEntriesListKindIcParameterInner) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := ExtrasJournalEntriesListKindIcParameterInner(value) + for _, existing := range AllowedExtrasJournalEntriesListKindIcParameterInnerEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid ExtrasJournalEntriesListKindIcParameterInner", value) +} + +// NewExtrasJournalEntriesListKindIcParameterInnerFromValue returns a pointer to a valid ExtrasJournalEntriesListKindIcParameterInner +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewExtrasJournalEntriesListKindIcParameterInnerFromValue(v string) (*ExtrasJournalEntriesListKindIcParameterInner, error) { + ev := ExtrasJournalEntriesListKindIcParameterInner(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for ExtrasJournalEntriesListKindIcParameterInner: valid values are %v", v, AllowedExtrasJournalEntriesListKindIcParameterInnerEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v ExtrasJournalEntriesListKindIcParameterInner) IsValid() bool { + for _, existing := range AllowedExtrasJournalEntriesListKindIcParameterInnerEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to extras_journal_entries_list_kind__ic_parameter_inner value +func (v ExtrasJournalEntriesListKindIcParameterInner) Ptr() *ExtrasJournalEntriesListKindIcParameterInner { + return &v +} + +type NullableExtrasJournalEntriesListKindIcParameterInner struct { + value *ExtrasJournalEntriesListKindIcParameterInner + isSet bool +} + +func (v NullableExtrasJournalEntriesListKindIcParameterInner) Get() *ExtrasJournalEntriesListKindIcParameterInner { + return v.value +} + +func (v *NullableExtrasJournalEntriesListKindIcParameterInner) Set(val *ExtrasJournalEntriesListKindIcParameterInner) { + v.value = val + v.isSet = true +} + +func (v NullableExtrasJournalEntriesListKindIcParameterInner) IsSet() bool { + return v.isSet +} + +func (v *NullableExtrasJournalEntriesListKindIcParameterInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableExtrasJournalEntriesListKindIcParameterInner(val *ExtrasJournalEntriesListKindIcParameterInner) *NullableExtrasJournalEntriesListKindIcParameterInner { + return &NullableExtrasJournalEntriesListKindIcParameterInner{value: val, isSet: true} +} + +func (v NullableExtrasJournalEntriesListKindIcParameterInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableExtrasJournalEntriesListKindIcParameterInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_extras_webhooks_list_http_method__ic_parameter_inner.go b/model_extras_webhooks_list_http_method__ic_parameter_inner.go new file mode 100644 index 000000000..d9c2f6dc7 --- /dev/null +++ b/model_extras_webhooks_list_http_method__ic_parameter_inner.go @@ -0,0 +1,117 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// ExtrasWebhooksListHttpMethodIcParameterInner the model 'ExtrasWebhooksListHttpMethodIcParameterInner' +type ExtrasWebhooksListHttpMethodIcParameterInner string + +// List of extras_webhooks_list_http_method__ic_parameter_inner +const ( + EXTRASWEBHOOKSLISTHTTPMETHODICPARAMETERINNER_DELETE ExtrasWebhooksListHttpMethodIcParameterInner = "DELETE" + EXTRASWEBHOOKSLISTHTTPMETHODICPARAMETERINNER_GET ExtrasWebhooksListHttpMethodIcParameterInner = "GET" + EXTRASWEBHOOKSLISTHTTPMETHODICPARAMETERINNER_PATCH ExtrasWebhooksListHttpMethodIcParameterInner = "PATCH" + EXTRASWEBHOOKSLISTHTTPMETHODICPARAMETERINNER_POST ExtrasWebhooksListHttpMethodIcParameterInner = "POST" + EXTRASWEBHOOKSLISTHTTPMETHODICPARAMETERINNER_PUT ExtrasWebhooksListHttpMethodIcParameterInner = "PUT" +) + +// All allowed values of ExtrasWebhooksListHttpMethodIcParameterInner enum +var AllowedExtrasWebhooksListHttpMethodIcParameterInnerEnumValues = []ExtrasWebhooksListHttpMethodIcParameterInner{ + "DELETE", + "GET", + "PATCH", + "POST", + "PUT", +} + +func (v *ExtrasWebhooksListHttpMethodIcParameterInner) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := ExtrasWebhooksListHttpMethodIcParameterInner(value) + for _, existing := range AllowedExtrasWebhooksListHttpMethodIcParameterInnerEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid ExtrasWebhooksListHttpMethodIcParameterInner", value) +} + +// NewExtrasWebhooksListHttpMethodIcParameterInnerFromValue returns a pointer to a valid ExtrasWebhooksListHttpMethodIcParameterInner +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewExtrasWebhooksListHttpMethodIcParameterInnerFromValue(v string) (*ExtrasWebhooksListHttpMethodIcParameterInner, error) { + ev := ExtrasWebhooksListHttpMethodIcParameterInner(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for ExtrasWebhooksListHttpMethodIcParameterInner: valid values are %v", v, AllowedExtrasWebhooksListHttpMethodIcParameterInnerEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v ExtrasWebhooksListHttpMethodIcParameterInner) IsValid() bool { + for _, existing := range AllowedExtrasWebhooksListHttpMethodIcParameterInnerEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to extras_webhooks_list_http_method__ic_parameter_inner value +func (v ExtrasWebhooksListHttpMethodIcParameterInner) Ptr() *ExtrasWebhooksListHttpMethodIcParameterInner { + return &v +} + +type NullableExtrasWebhooksListHttpMethodIcParameterInner struct { + value *ExtrasWebhooksListHttpMethodIcParameterInner + isSet bool +} + +func (v NullableExtrasWebhooksListHttpMethodIcParameterInner) Get() *ExtrasWebhooksListHttpMethodIcParameterInner { + return v.value +} + +func (v *NullableExtrasWebhooksListHttpMethodIcParameterInner) Set(val *ExtrasWebhooksListHttpMethodIcParameterInner) { + v.value = val + v.isSet = true +} + +func (v NullableExtrasWebhooksListHttpMethodIcParameterInner) IsSet() bool { + return v.isSet +} + +func (v *NullableExtrasWebhooksListHttpMethodIcParameterInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableExtrasWebhooksListHttpMethodIcParameterInner(val *ExtrasWebhooksListHttpMethodIcParameterInner) *NullableExtrasWebhooksListHttpMethodIcParameterInner { + return &NullableExtrasWebhooksListHttpMethodIcParameterInner{value: val, isSet: true} +} + +func (v NullableExtrasWebhooksListHttpMethodIcParameterInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableExtrasWebhooksListHttpMethodIcParameterInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_fhrp_group.go b/model_fhrp_group.go index edddea0c1..19db82ca0 100644 --- a/model_fhrp_group.go +++ b/model_fhrp_group.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -13,6 +13,7 @@ package netbox import ( "encoding/json" "fmt" + "time" ) // checks if the FHRPGroup type satisfies the MappedNullable interface at compile time @@ -20,12 +21,22 @@ var _ MappedNullable = &FHRPGroup{} // FHRPGroup Adds support for custom fields and tags. type FHRPGroup struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - Protocol FHRPGroupProtocol `json:"protocol"` - GroupId int32 `json:"group_id"` - Description *string `json:"description,omitempty"` + Id int32 `json:"id"` + Name *string `json:"name,omitempty"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Protocol BriefFHRPGroupProtocol `json:"protocol"` + GroupId int32 `json:"group_id"` + AuthType *AuthenticationType2 `json:"auth_type,omitempty"` + AuthKey *string `json:"auth_key,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTag `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Created NullableTime `json:"created"` + LastUpdated NullableTime `json:"last_updated"` + IpAddresses []BriefIPAddress `json:"ip_addresses"` AdditionalProperties map[string]interface{} } @@ -35,13 +46,16 @@ type _FHRPGroup FHRPGroup // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewFHRPGroup(id int32, url string, display string, protocol FHRPGroupProtocol, groupId int32) *FHRPGroup { +func NewFHRPGroup(id int32, url string, display string, protocol BriefFHRPGroupProtocol, groupId int32, created NullableTime, lastUpdated NullableTime, ipAddresses []BriefIPAddress) *FHRPGroup { this := FHRPGroup{} this.Id = id this.Url = url this.Display = display this.Protocol = protocol this.GroupId = groupId + this.Created = created + this.LastUpdated = lastUpdated + this.IpAddresses = ipAddresses return &this } @@ -77,6 +91,38 @@ func (o *FHRPGroup) SetId(v int32) { o.Id = v } +// GetName returns the Name field value if set, zero value otherwise. +func (o *FHRPGroup) 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 *FHRPGroup) 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 *FHRPGroup) 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 *FHRPGroup) SetName(v string) { + o.Name = &v +} + // GetUrl returns the Url field value func (o *FHRPGroup) GetUrl() string { if o == nil { @@ -101,6 +147,38 @@ func (o *FHRPGroup) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *FHRPGroup) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *FHRPGroup) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *FHRPGroup) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *FHRPGroup) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *FHRPGroup) GetDisplay() string { if o == nil { @@ -126,9 +204,9 @@ func (o *FHRPGroup) SetDisplay(v string) { } // GetProtocol returns the Protocol field value -func (o *FHRPGroup) GetProtocol() FHRPGroupProtocol { +func (o *FHRPGroup) GetProtocol() BriefFHRPGroupProtocol { if o == nil { - var ret FHRPGroupProtocol + var ret BriefFHRPGroupProtocol return ret } @@ -137,7 +215,7 @@ func (o *FHRPGroup) GetProtocol() FHRPGroupProtocol { // GetProtocolOk returns a tuple with the Protocol field value // and a boolean to check if the value has been set. -func (o *FHRPGroup) GetProtocolOk() (*FHRPGroupProtocol, bool) { +func (o *FHRPGroup) GetProtocolOk() (*BriefFHRPGroupProtocol, bool) { if o == nil { return nil, false } @@ -145,7 +223,7 @@ func (o *FHRPGroup) GetProtocolOk() (*FHRPGroupProtocol, bool) { } // SetProtocol sets field value -func (o *FHRPGroup) SetProtocol(v FHRPGroupProtocol) { +func (o *FHRPGroup) SetProtocol(v BriefFHRPGroupProtocol) { o.Protocol = v } @@ -173,6 +251,70 @@ func (o *FHRPGroup) SetGroupId(v int32) { o.GroupId = v } +// GetAuthType returns the AuthType field value if set, zero value otherwise. +func (o *FHRPGroup) GetAuthType() AuthenticationType2 { + if o == nil || IsNil(o.AuthType) { + var ret AuthenticationType2 + return ret + } + return *o.AuthType +} + +// GetAuthTypeOk returns a tuple with the AuthType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *FHRPGroup) GetAuthTypeOk() (*AuthenticationType2, bool) { + if o == nil || IsNil(o.AuthType) { + return nil, false + } + return o.AuthType, true +} + +// HasAuthType returns a boolean if a field has been set. +func (o *FHRPGroup) HasAuthType() bool { + if o != nil && !IsNil(o.AuthType) { + return true + } + + return false +} + +// SetAuthType gets a reference to the given AuthenticationType2 and assigns it to the AuthType field. +func (o *FHRPGroup) SetAuthType(v AuthenticationType2) { + o.AuthType = &v +} + +// GetAuthKey returns the AuthKey field value if set, zero value otherwise. +func (o *FHRPGroup) GetAuthKey() string { + if o == nil || IsNil(o.AuthKey) { + var ret string + return ret + } + return *o.AuthKey +} + +// GetAuthKeyOk returns a tuple with the AuthKey field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *FHRPGroup) GetAuthKeyOk() (*string, bool) { + if o == nil || IsNil(o.AuthKey) { + return nil, false + } + return o.AuthKey, true +} + +// HasAuthKey returns a boolean if a field has been set. +func (o *FHRPGroup) HasAuthKey() bool { + if o != nil && !IsNil(o.AuthKey) { + return true + } + + return false +} + +// SetAuthKey gets a reference to the given string and assigns it to the AuthKey field. +func (o *FHRPGroup) SetAuthKey(v string) { + o.AuthKey = &v +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *FHRPGroup) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -205,6 +347,178 @@ func (o *FHRPGroup) SetDescription(v string) { o.Description = &v } +// GetComments returns the Comments field value if set, zero value otherwise. +func (o *FHRPGroup) GetComments() string { + if o == nil || IsNil(o.Comments) { + var ret string + return ret + } + return *o.Comments +} + +// GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *FHRPGroup) GetCommentsOk() (*string, bool) { + if o == nil || IsNil(o.Comments) { + return nil, false + } + return o.Comments, true +} + +// HasComments returns a boolean if a field has been set. +func (o *FHRPGroup) HasComments() bool { + if o != nil && !IsNil(o.Comments) { + return true + } + + return false +} + +// SetComments gets a reference to the given string and assigns it to the Comments field. +func (o *FHRPGroup) SetComments(v string) { + o.Comments = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *FHRPGroup) GetTags() []NestedTag { + if o == nil || IsNil(o.Tags) { + var ret []NestedTag + 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 *FHRPGroup) GetTagsOk() ([]NestedTag, 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 *FHRPGroup) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTag and assigns it to the Tags field. +func (o *FHRPGroup) SetTags(v []NestedTag) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *FHRPGroup) 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 *FHRPGroup) 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 *FHRPGroup) 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 *FHRPGroup) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetCreated returns the Created field value +// If the value is explicit nil, the zero value for time.Time will be returned +func (o *FHRPGroup) 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 *FHRPGroup) GetCreatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.Created.Get(), o.Created.IsSet() +} + +// SetCreated sets field value +func (o *FHRPGroup) 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 *FHRPGroup) 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 *FHRPGroup) GetLastUpdatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LastUpdated.Get(), o.LastUpdated.IsSet() +} + +// SetLastUpdated sets field value +func (o *FHRPGroup) SetLastUpdated(v time.Time) { + o.LastUpdated.Set(&v) +} + +// GetIpAddresses returns the IpAddresses field value +func (o *FHRPGroup) GetIpAddresses() []BriefIPAddress { + if o == nil { + var ret []BriefIPAddress + return ret + } + + return o.IpAddresses +} + +// GetIpAddressesOk returns a tuple with the IpAddresses field value +// and a boolean to check if the value has been set. +func (o *FHRPGroup) GetIpAddressesOk() ([]BriefIPAddress, bool) { + if o == nil { + return nil, false + } + return o.IpAddresses, true +} + +// SetIpAddresses sets field value +func (o *FHRPGroup) SetIpAddresses(v []BriefIPAddress) { + o.IpAddresses = v +} + func (o FHRPGroup) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -216,13 +530,37 @@ func (o FHRPGroup) MarshalJSON() ([]byte, error) { func (o FHRPGroup) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id + if !IsNil(o.Name) { + toSerialize["name"] = o.Name + } toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["protocol"] = o.Protocol toSerialize["group_id"] = o.GroupId + if !IsNil(o.AuthType) { + toSerialize["auth_type"] = o.AuthType + } + if !IsNil(o.AuthKey) { + toSerialize["auth_key"] = o.AuthKey + } if !IsNil(o.Description) { toSerialize["description"] = o.Description } + if !IsNil(o.Comments) { + toSerialize["comments"] = o.Comments + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + toSerialize["created"] = o.Created.Get() + toSerialize["last_updated"] = o.LastUpdated.Get() + toSerialize["ip_addresses"] = o.IpAddresses for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -241,6 +579,9 @@ func (o *FHRPGroup) UnmarshalJSON(data []byte) (err error) { "display", "protocol", "group_id", + "created", + "last_updated", + "ip_addresses", } allProperties := make(map[string]interface{}) @@ -271,11 +612,21 @@ func (o *FHRPGroup) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") + delete(additionalProperties, "name") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "protocol") delete(additionalProperties, "group_id") + delete(additionalProperties, "auth_type") + delete(additionalProperties, "auth_key") delete(additionalProperties, "description") + delete(additionalProperties, "comments") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "created") + delete(additionalProperties, "last_updated") + delete(additionalProperties, "ip_addresses") o.AdditionalProperties = additionalProperties } diff --git a/model_fhrp_group_assignment.go b/model_fhrp_group_assignment.go index d81aefa15..a39300c8c 100644 --- a/model_fhrp_group_assignment.go +++ b/model_fhrp_group_assignment.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,16 +21,16 @@ var _ MappedNullable = &FHRPGroupAssignment{} // FHRPGroupAssignment Adds support for custom fields and tags. type FHRPGroupAssignment struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - Group FHRPGroup `json:"group"` - InterfaceType string `json:"interface_type"` - InterfaceId int64 `json:"interface_id"` - Interface interface{} `json:"interface"` - Priority int32 `json:"priority"` - Created NullableTime `json:"created"` - LastUpdated NullableTime `json:"last_updated"` + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + Group BriefFHRPGroup `json:"group"` + InterfaceType string `json:"interface_type"` + InterfaceId int64 `json:"interface_id"` + Interface interface{} `json:"interface"` + Priority int32 `json:"priority"` + Created NullableTime `json:"created"` + LastUpdated NullableTime `json:"last_updated"` AdditionalProperties map[string]interface{} } @@ -40,7 +40,7 @@ type _FHRPGroupAssignment FHRPGroupAssignment // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewFHRPGroupAssignment(id int32, url string, display string, group FHRPGroup, interfaceType string, interfaceId int64, interface_ interface{}, priority int32, created NullableTime, lastUpdated NullableTime) *FHRPGroupAssignment { +func NewFHRPGroupAssignment(id int32, url string, display string, group BriefFHRPGroup, interfaceType string, interfaceId int64, interface_ interface{}, priority int32, created NullableTime, lastUpdated NullableTime) *FHRPGroupAssignment { this := FHRPGroupAssignment{} this.Id = id this.Url = url @@ -136,9 +136,9 @@ func (o *FHRPGroupAssignment) SetDisplay(v string) { } // GetGroup returns the Group field value -func (o *FHRPGroupAssignment) GetGroup() FHRPGroup { +func (o *FHRPGroupAssignment) GetGroup() BriefFHRPGroup { if o == nil { - var ret FHRPGroup + var ret BriefFHRPGroup return ret } @@ -147,7 +147,7 @@ func (o *FHRPGroupAssignment) GetGroup() FHRPGroup { // GetGroupOk returns a tuple with the Group field value // and a boolean to check if the value has been set. -func (o *FHRPGroupAssignment) GetGroupOk() (*FHRPGroup, bool) { +func (o *FHRPGroupAssignment) GetGroupOk() (*BriefFHRPGroup, bool) { if o == nil { return nil, false } @@ -155,7 +155,7 @@ func (o *FHRPGroupAssignment) GetGroupOk() (*FHRPGroup, bool) { } // SetGroup sets field value -func (o *FHRPGroupAssignment) SetGroup(v FHRPGroup) { +func (o *FHRPGroupAssignment) SetGroup(v BriefFHRPGroup) { o.Group = v } diff --git a/model_fhrp_group_assignment_request.go b/model_fhrp_group_assignment_request.go index fda4826a1..2425b4147 100644 --- a/model_fhrp_group_assignment_request.go +++ b/model_fhrp_group_assignment_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,10 +20,10 @@ var _ MappedNullable = &FHRPGroupAssignmentRequest{} // FHRPGroupAssignmentRequest Adds support for custom fields and tags. type FHRPGroupAssignmentRequest struct { - Group FHRPGroupRequest `json:"group"` - InterfaceType string `json:"interface_type"` - InterfaceId int64 `json:"interface_id"` - Priority int32 `json:"priority"` + Group BriefFHRPGroupRequest `json:"group"` + InterfaceType string `json:"interface_type"` + InterfaceId int64 `json:"interface_id"` + Priority int32 `json:"priority"` AdditionalProperties map[string]interface{} } @@ -33,7 +33,7 @@ type _FHRPGroupAssignmentRequest FHRPGroupAssignmentRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewFHRPGroupAssignmentRequest(group FHRPGroupRequest, interfaceType string, interfaceId int64, priority int32) *FHRPGroupAssignmentRequest { +func NewFHRPGroupAssignmentRequest(group BriefFHRPGroupRequest, interfaceType string, interfaceId int64, priority int32) *FHRPGroupAssignmentRequest { this := FHRPGroupAssignmentRequest{} this.Group = group this.InterfaceType = interfaceType @@ -51,9 +51,9 @@ func NewFHRPGroupAssignmentRequestWithDefaults() *FHRPGroupAssignmentRequest { } // GetGroup returns the Group field value -func (o *FHRPGroupAssignmentRequest) GetGroup() FHRPGroupRequest { +func (o *FHRPGroupAssignmentRequest) GetGroup() BriefFHRPGroupRequest { if o == nil { - var ret FHRPGroupRequest + var ret BriefFHRPGroupRequest return ret } @@ -62,7 +62,7 @@ func (o *FHRPGroupAssignmentRequest) GetGroup() FHRPGroupRequest { // GetGroupOk returns a tuple with the Group field value // and a boolean to check if the value has been set. -func (o *FHRPGroupAssignmentRequest) GetGroupOk() (*FHRPGroupRequest, bool) { +func (o *FHRPGroupAssignmentRequest) GetGroupOk() (*BriefFHRPGroupRequest, bool) { if o == nil { return nil, false } @@ -70,7 +70,7 @@ func (o *FHRPGroupAssignmentRequest) GetGroupOk() (*FHRPGroupRequest, bool) { } // SetGroup sets field value -func (o *FHRPGroupAssignmentRequest) SetGroup(v FHRPGroupRequest) { +func (o *FHRPGroupAssignmentRequest) SetGroup(v BriefFHRPGroupRequest) { o.Group = v } diff --git a/model_fhrp_group_request.go b/model_fhrp_group_request.go index a3fbe2568..ff193a595 100644 --- a/model_fhrp_group_request.go +++ b/model_fhrp_group_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,9 +20,15 @@ var _ MappedNullable = &FHRPGroupRequest{} // FHRPGroupRequest Adds support for custom fields and tags. type FHRPGroupRequest struct { - Protocol FHRPGroupProtocol `json:"protocol"` - GroupId int32 `json:"group_id"` - Description *string `json:"description,omitempty"` + Name *string `json:"name,omitempty"` + Protocol BriefFHRPGroupProtocol `json:"protocol"` + GroupId int32 `json:"group_id"` + AuthType *AuthenticationType2 `json:"auth_type,omitempty"` + AuthKey *string `json:"auth_key,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -32,7 +38,7 @@ type _FHRPGroupRequest FHRPGroupRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewFHRPGroupRequest(protocol FHRPGroupProtocol, groupId int32) *FHRPGroupRequest { +func NewFHRPGroupRequest(protocol BriefFHRPGroupProtocol, groupId int32) *FHRPGroupRequest { this := FHRPGroupRequest{} this.Protocol = protocol this.GroupId = groupId @@ -47,10 +53,42 @@ func NewFHRPGroupRequestWithDefaults() *FHRPGroupRequest { return &this } +// GetName returns the Name field value if set, zero value otherwise. +func (o *FHRPGroupRequest) 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 *FHRPGroupRequest) 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 *FHRPGroupRequest) 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 *FHRPGroupRequest) SetName(v string) { + o.Name = &v +} + // GetProtocol returns the Protocol field value -func (o *FHRPGroupRequest) GetProtocol() FHRPGroupProtocol { +func (o *FHRPGroupRequest) GetProtocol() BriefFHRPGroupProtocol { if o == nil { - var ret FHRPGroupProtocol + var ret BriefFHRPGroupProtocol return ret } @@ -59,7 +97,7 @@ func (o *FHRPGroupRequest) GetProtocol() FHRPGroupProtocol { // GetProtocolOk returns a tuple with the Protocol field value // and a boolean to check if the value has been set. -func (o *FHRPGroupRequest) GetProtocolOk() (*FHRPGroupProtocol, bool) { +func (o *FHRPGroupRequest) GetProtocolOk() (*BriefFHRPGroupProtocol, bool) { if o == nil { return nil, false } @@ -67,7 +105,7 @@ func (o *FHRPGroupRequest) GetProtocolOk() (*FHRPGroupProtocol, bool) { } // SetProtocol sets field value -func (o *FHRPGroupRequest) SetProtocol(v FHRPGroupProtocol) { +func (o *FHRPGroupRequest) SetProtocol(v BriefFHRPGroupProtocol) { o.Protocol = v } @@ -95,6 +133,70 @@ func (o *FHRPGroupRequest) SetGroupId(v int32) { o.GroupId = v } +// GetAuthType returns the AuthType field value if set, zero value otherwise. +func (o *FHRPGroupRequest) GetAuthType() AuthenticationType2 { + if o == nil || IsNil(o.AuthType) { + var ret AuthenticationType2 + return ret + } + return *o.AuthType +} + +// GetAuthTypeOk returns a tuple with the AuthType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *FHRPGroupRequest) GetAuthTypeOk() (*AuthenticationType2, bool) { + if o == nil || IsNil(o.AuthType) { + return nil, false + } + return o.AuthType, true +} + +// HasAuthType returns a boolean if a field has been set. +func (o *FHRPGroupRequest) HasAuthType() bool { + if o != nil && !IsNil(o.AuthType) { + return true + } + + return false +} + +// SetAuthType gets a reference to the given AuthenticationType2 and assigns it to the AuthType field. +func (o *FHRPGroupRequest) SetAuthType(v AuthenticationType2) { + o.AuthType = &v +} + +// GetAuthKey returns the AuthKey field value if set, zero value otherwise. +func (o *FHRPGroupRequest) GetAuthKey() string { + if o == nil || IsNil(o.AuthKey) { + var ret string + return ret + } + return *o.AuthKey +} + +// GetAuthKeyOk returns a tuple with the AuthKey field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *FHRPGroupRequest) GetAuthKeyOk() (*string, bool) { + if o == nil || IsNil(o.AuthKey) { + return nil, false + } + return o.AuthKey, true +} + +// HasAuthKey returns a boolean if a field has been set. +func (o *FHRPGroupRequest) HasAuthKey() bool { + if o != nil && !IsNil(o.AuthKey) { + return true + } + + return false +} + +// SetAuthKey gets a reference to the given string and assigns it to the AuthKey field. +func (o *FHRPGroupRequest) SetAuthKey(v string) { + o.AuthKey = &v +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *FHRPGroupRequest) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -127,6 +229,102 @@ func (o *FHRPGroupRequest) SetDescription(v string) { o.Description = &v } +// GetComments returns the Comments field value if set, zero value otherwise. +func (o *FHRPGroupRequest) GetComments() string { + if o == nil || IsNil(o.Comments) { + var ret string + return ret + } + return *o.Comments +} + +// GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *FHRPGroupRequest) GetCommentsOk() (*string, bool) { + if o == nil || IsNil(o.Comments) { + return nil, false + } + return o.Comments, true +} + +// HasComments returns a boolean if a field has been set. +func (o *FHRPGroupRequest) HasComments() bool { + if o != nil && !IsNil(o.Comments) { + return true + } + + return false +} + +// SetComments gets a reference to the given string and assigns it to the Comments field. +func (o *FHRPGroupRequest) SetComments(v string) { + o.Comments = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *FHRPGroupRequest) GetTags() []NestedTagRequest { + if o == nil || IsNil(o.Tags) { + var ret []NestedTagRequest + 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 *FHRPGroupRequest) GetTagsOk() ([]NestedTagRequest, 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 *FHRPGroupRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTagRequest and assigns it to the Tags field. +func (o *FHRPGroupRequest) SetTags(v []NestedTagRequest) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *FHRPGroupRequest) 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 *FHRPGroupRequest) 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 *FHRPGroupRequest) 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 *FHRPGroupRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + func (o FHRPGroupRequest) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -137,11 +335,29 @@ func (o FHRPGroupRequest) MarshalJSON() ([]byte, error) { func (o FHRPGroupRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Name) { + toSerialize["name"] = o.Name + } toSerialize["protocol"] = o.Protocol toSerialize["group_id"] = o.GroupId + if !IsNil(o.AuthType) { + toSerialize["auth_type"] = o.AuthType + } + if !IsNil(o.AuthKey) { + toSerialize["auth_key"] = o.AuthKey + } if !IsNil(o.Description) { toSerialize["description"] = o.Description } + if !IsNil(o.Comments) { + toSerialize["comments"] = o.Comments + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -186,9 +402,15 @@ func (o *FHRPGroupRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "name") delete(additionalProperties, "protocol") delete(additionalProperties, "group_id") + delete(additionalProperties, "auth_type") + delete(additionalProperties, "auth_key") delete(additionalProperties, "description") + delete(additionalProperties, "comments") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") o.AdditionalProperties = additionalProperties } diff --git a/model_front_port.go b/model_front_port.go index 14255269d..31813a002 100644 --- a/model_front_port.go +++ b/model_front_port.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,12 +21,13 @@ var _ MappedNullable = &FrontPort{} // FrontPort Adds support for custom fields and tags. type FrontPort struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - Device Device `json:"device"` - Module NullableModule `json:"module,omitempty"` - Name string `json:"name"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Device BriefDevice `json:"device"` + Module NullableBriefModule `json:"module,omitempty"` + Name string `json:"name"` // Physical label Label *string `json:"label,omitempty"` Type FrontPortType `json:"type"` @@ -36,12 +37,12 @@ type FrontPort struct { RearPortPosition *int32 `json:"rear_port_position,omitempty"` Description *string `json:"description,omitempty"` // Treat as if a cable is connected - MarkConnected *bool `json:"mark_connected,omitempty"` - Cable NullableCable `json:"cable"` - CableEnd string `json:"cable_end"` - LinkPeers []interface{} `json:"link_peers"` + MarkConnected *bool `json:"mark_connected,omitempty"` + Cable NullableBriefCable `json:"cable"` + CableEnd string `json:"cable_end"` + LinkPeers []interface{} `json:"link_peers"` // Return the type of the peer link terminations, or None. - LinkPeersType string `json:"link_peers_type"` + LinkPeersType NullableString `json:"link_peers_type"` Tags []NestedTag `json:"tags,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Created NullableTime `json:"created"` @@ -56,7 +57,7 @@ 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 int32, url string, display string, device Device, name string, type_ FrontPortType, rearPort FrontPortRearPort, cable NullableCable, cableEnd string, linkPeers []interface{}, linkPeersType string, created NullableTime, lastUpdated NullableTime, occupied bool) *FrontPort { +func NewFrontPort(id int32, url string, display string, device BriefDevice, name string, type_ FrontPortType, rearPort FrontPortRearPort, cable NullableBriefCable, cableEnd string, linkPeers []interface{}, linkPeersType NullableString, created NullableTime, lastUpdated NullableTime, occupied bool) *FrontPort { this := FrontPort{} this.Id = id this.Url = url @@ -135,6 +136,38 @@ func (o *FrontPort) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *FrontPort) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *FrontPort) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *FrontPort) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *FrontPort) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *FrontPort) GetDisplay() string { if o == nil { @@ -160,9 +193,9 @@ func (o *FrontPort) SetDisplay(v string) { } // GetDevice returns the Device field value -func (o *FrontPort) GetDevice() Device { +func (o *FrontPort) GetDevice() BriefDevice { if o == nil { - var ret Device + var ret BriefDevice return ret } @@ -171,7 +204,7 @@ func (o *FrontPort) GetDevice() Device { // GetDeviceOk returns a tuple with the Device field value // and a boolean to check if the value has been set. -func (o *FrontPort) GetDeviceOk() (*Device, bool) { +func (o *FrontPort) GetDeviceOk() (*BriefDevice, bool) { if o == nil { return nil, false } @@ -179,14 +212,14 @@ func (o *FrontPort) GetDeviceOk() (*Device, bool) { } // SetDevice sets field value -func (o *FrontPort) SetDevice(v Device) { +func (o *FrontPort) SetDevice(v BriefDevice) { o.Device = v } // GetModule returns the Module field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *FrontPort) GetModule() Module { +func (o *FrontPort) GetModule() BriefModule { if o == nil || IsNil(o.Module.Get()) { - var ret Module + var ret BriefModule return ret } return *o.Module.Get() @@ -195,7 +228,7 @@ func (o *FrontPort) GetModule() Module { // GetModuleOk returns a tuple with the Module 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 *FrontPort) GetModuleOk() (*Module, bool) { +func (o *FrontPort) GetModuleOk() (*BriefModule, bool) { if o == nil { return nil, false } @@ -211,8 +244,8 @@ func (o *FrontPort) HasModule() bool { return false } -// SetModule gets a reference to the given NullableModule and assigns it to the Module field. -func (o *FrontPort) SetModule(v Module) { +// SetModule gets a reference to the given NullableBriefModule and assigns it to the Module field. +func (o *FrontPort) SetModule(v BriefModule) { o.Module.Set(&v) } @@ -459,10 +492,10 @@ func (o *FrontPort) SetMarkConnected(v bool) { } // GetCable returns the Cable field value -// If the value is explicit nil, the zero value for Cable will be returned -func (o *FrontPort) GetCable() Cable { +// If the value is explicit nil, the zero value for BriefCable will be returned +func (o *FrontPort) GetCable() BriefCable { if o == nil || o.Cable.Get() == nil { - var ret Cable + var ret BriefCable return ret } @@ -472,7 +505,7 @@ func (o *FrontPort) GetCable() Cable { // GetCableOk returns a tuple with the Cable 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 *FrontPort) GetCableOk() (*Cable, bool) { +func (o *FrontPort) GetCableOk() (*BriefCable, bool) { if o == nil { return nil, false } @@ -480,7 +513,7 @@ func (o *FrontPort) GetCableOk() (*Cable, bool) { } // SetCable sets field value -func (o *FrontPort) SetCable(v Cable) { +func (o *FrontPort) SetCable(v BriefCable) { o.Cable.Set(&v) } @@ -533,27 +566,29 @@ func (o *FrontPort) SetLinkPeers(v []interface{}) { } // GetLinkPeersType returns the LinkPeersType field value +// If the value is explicit nil, the zero value for string will be returned func (o *FrontPort) GetLinkPeersType() string { - if o == nil { + if o == nil || o.LinkPeersType.Get() == nil { var ret string return ret } - return o.LinkPeersType + return *o.LinkPeersType.Get() } // GetLinkPeersTypeOk returns a tuple with the LinkPeersType 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 *FrontPort) GetLinkPeersTypeOk() (*string, bool) { if o == nil { return nil, false } - return &o.LinkPeersType, true + return o.LinkPeersType.Get(), o.LinkPeersType.IsSet() } // SetLinkPeersType sets field value func (o *FrontPort) SetLinkPeersType(v string) { - o.LinkPeersType = v + o.LinkPeersType.Set(&v) } // GetTags returns the Tags field value if set, zero value otherwise. @@ -708,6 +743,9 @@ func (o FrontPort) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["device"] = o.Device if o.Module.IsSet() { @@ -734,7 +772,7 @@ func (o FrontPort) ToMap() (map[string]interface{}, error) { toSerialize["cable"] = o.Cable.Get() toSerialize["cable_end"] = o.CableEnd toSerialize["link_peers"] = o.LinkPeers - toSerialize["link_peers_type"] = o.LinkPeersType + toSerialize["link_peers_type"] = o.LinkPeersType.Get() if !IsNil(o.Tags) { toSerialize["tags"] = o.Tags } @@ -802,6 +840,7 @@ func (o *FrontPort) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "device") delete(additionalProperties, "module") diff --git a/model_front_port_rear_port.go b/model_front_port_rear_port.go index bfddbbc62..aaf618fef 100644 --- a/model_front_port_rear_port.go +++ b/model_front_port_rear_port.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,10 +20,11 @@ var _ MappedNullable = &FrontPortRearPort{} // FrontPortRearPort NestedRearPortSerializer but with parent device omitted (since front and rear ports must belong to same device) type FrontPortRearPort struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - Name string `json:"name"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Name string `json:"name"` // Physical label Label *string `json:"label,omitempty"` Description *string `json:"description,omitempty"` @@ -101,6 +102,38 @@ func (o *FrontPortRearPort) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *FrontPortRearPort) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *FrontPortRearPort) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *FrontPortRearPort) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *FrontPortRearPort) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *FrontPortRearPort) GetDisplay() string { if o == nil { @@ -225,6 +258,9 @@ func (o FrontPortRearPort) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["name"] = o.Name if !IsNil(o.Label) { @@ -281,6 +317,7 @@ func (o *FrontPortRearPort) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") delete(additionalProperties, "label") diff --git a/model_front_port_rear_port_request.go b/model_front_port_rear_port_request.go index efa9119db..81e6f5556 100644 --- a/model_front_port_rear_port_request.go +++ b/model_front_port_rear_port_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_front_port_request.go b/model_front_port_request.go index b3cc287bb..20573b6b1 100644 --- a/model_front_port_request.go +++ b/model_front_port_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,9 +20,9 @@ var _ MappedNullable = &FrontPortRequest{} // FrontPortRequest Adds support for custom fields and tags. type FrontPortRequest struct { - Device DeviceRequest `json:"device"` - Module NullableModuleRequest `json:"module,omitempty"` - Name string `json:"name"` + Device BriefDeviceRequest `json:"device"` + Module NullableBriefModuleRequest `json:"module,omitempty"` + Name string `json:"name"` // Physical label Label *string `json:"label,omitempty"` Type FrontPortTypeValue `json:"type"` @@ -44,7 +44,7 @@ type _FrontPortRequest FrontPortRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewFrontPortRequest(device DeviceRequest, name string, type_ FrontPortTypeValue, rearPort FrontPortRearPortRequest) *FrontPortRequest { +func NewFrontPortRequest(device BriefDeviceRequest, name string, type_ FrontPortTypeValue, rearPort FrontPortRearPortRequest) *FrontPortRequest { this := FrontPortRequest{} this.Device = device this.Name = name @@ -66,9 +66,9 @@ func NewFrontPortRequestWithDefaults() *FrontPortRequest { } // GetDevice returns the Device field value -func (o *FrontPortRequest) GetDevice() DeviceRequest { +func (o *FrontPortRequest) GetDevice() BriefDeviceRequest { if o == nil { - var ret DeviceRequest + var ret BriefDeviceRequest return ret } @@ -77,7 +77,7 @@ func (o *FrontPortRequest) GetDevice() DeviceRequest { // GetDeviceOk returns a tuple with the Device field value // and a boolean to check if the value has been set. -func (o *FrontPortRequest) GetDeviceOk() (*DeviceRequest, bool) { +func (o *FrontPortRequest) GetDeviceOk() (*BriefDeviceRequest, bool) { if o == nil { return nil, false } @@ -85,14 +85,14 @@ func (o *FrontPortRequest) GetDeviceOk() (*DeviceRequest, bool) { } // SetDevice sets field value -func (o *FrontPortRequest) SetDevice(v DeviceRequest) { +func (o *FrontPortRequest) SetDevice(v BriefDeviceRequest) { o.Device = v } // GetModule returns the Module field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *FrontPortRequest) GetModule() ModuleRequest { +func (o *FrontPortRequest) GetModule() BriefModuleRequest { if o == nil || IsNil(o.Module.Get()) { - var ret ModuleRequest + var ret BriefModuleRequest return ret } return *o.Module.Get() @@ -101,7 +101,7 @@ func (o *FrontPortRequest) GetModule() ModuleRequest { // GetModuleOk returns a tuple with the Module 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 *FrontPortRequest) GetModuleOk() (*ModuleRequest, bool) { +func (o *FrontPortRequest) GetModuleOk() (*BriefModuleRequest, bool) { if o == nil { return nil, false } @@ -117,8 +117,8 @@ func (o *FrontPortRequest) HasModule() bool { return false } -// SetModule gets a reference to the given NullableModuleRequest and assigns it to the Module field. -func (o *FrontPortRequest) SetModule(v ModuleRequest) { +// SetModule gets a reference to the given NullableBriefModuleRequest and assigns it to the Module field. +func (o *FrontPortRequest) SetModule(v BriefModuleRequest) { o.Module.Set(&v) } diff --git a/model_front_port_template.go b/model_front_port_template.go index 66ed54500..884e9159e 100644 --- a/model_front_port_template.go +++ b/model_front_port_template.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,22 +21,22 @@ var _ MappedNullable = &FrontPortTemplate{} // FrontPortTemplate Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 FrontPortTemplate struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - DeviceType NullableDeviceType `json:"device_type,omitempty"` - ModuleType NullableModuleType `json:"module_type,omitempty"` + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + DeviceType NullableBriefDeviceType `json:"device_type,omitempty"` + ModuleType NullableBriefModuleType `json:"module_type,omitempty"` // {module} is accepted as a substitution for the module bay position when attached to a module type. Name string `json:"name"` // Physical label - Label *string `json:"label,omitempty"` - Type FrontPortType `json:"type"` - Color *string `json:"color,omitempty"` - RearPort RearPortTemplate `json:"rear_port"` - RearPortPosition *int32 `json:"rear_port_position,omitempty"` - Description *string `json:"description,omitempty"` - Created NullableTime `json:"created"` - LastUpdated NullableTime `json:"last_updated"` + Label *string `json:"label,omitempty"` + Type FrontPortType `json:"type"` + Color *string `json:"color,omitempty"` + RearPort BriefRearPortTemplate `json:"rear_port"` + RearPortPosition *int32 `json:"rear_port_position,omitempty"` + Description *string `json:"description,omitempty"` + Created NullableTime `json:"created"` + LastUpdated NullableTime `json:"last_updated"` AdditionalProperties map[string]interface{} } @@ -46,7 +46,7 @@ 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 int32, url string, display string, name string, type_ FrontPortType, rearPort RearPortTemplate, created NullableTime, lastUpdated NullableTime) *FrontPortTemplate { +func NewFrontPortTemplate(id int32, url string, display string, name string, type_ FrontPortType, rearPort BriefRearPortTemplate, created NullableTime, lastUpdated NullableTime) *FrontPortTemplate { this := FrontPortTemplate{} this.Id = id this.Url = url @@ -144,9 +144,9 @@ func (o *FrontPortTemplate) SetDisplay(v string) { } // GetDeviceType returns the DeviceType field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *FrontPortTemplate) GetDeviceType() DeviceType { +func (o *FrontPortTemplate) GetDeviceType() BriefDeviceType { if o == nil || IsNil(o.DeviceType.Get()) { - var ret DeviceType + var ret BriefDeviceType return ret } return *o.DeviceType.Get() @@ -155,7 +155,7 @@ func (o *FrontPortTemplate) GetDeviceType() DeviceType { // GetDeviceTypeOk returns a tuple with the DeviceType 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 *FrontPortTemplate) GetDeviceTypeOk() (*DeviceType, bool) { +func (o *FrontPortTemplate) GetDeviceTypeOk() (*BriefDeviceType, bool) { if o == nil { return nil, false } @@ -171,8 +171,8 @@ func (o *FrontPortTemplate) HasDeviceType() bool { return false } -// SetDeviceType gets a reference to the given NullableDeviceType and assigns it to the DeviceType field. -func (o *FrontPortTemplate) SetDeviceType(v DeviceType) { +// SetDeviceType gets a reference to the given NullableBriefDeviceType and assigns it to the DeviceType field. +func (o *FrontPortTemplate) SetDeviceType(v BriefDeviceType) { o.DeviceType.Set(&v) } @@ -187,9 +187,9 @@ func (o *FrontPortTemplate) UnsetDeviceType() { } // GetModuleType returns the ModuleType field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *FrontPortTemplate) GetModuleType() ModuleType { +func (o *FrontPortTemplate) GetModuleType() BriefModuleType { if o == nil || IsNil(o.ModuleType.Get()) { - var ret ModuleType + var ret BriefModuleType return ret } return *o.ModuleType.Get() @@ -198,7 +198,7 @@ func (o *FrontPortTemplate) GetModuleType() ModuleType { // GetModuleTypeOk returns a tuple with the ModuleType 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 *FrontPortTemplate) GetModuleTypeOk() (*ModuleType, bool) { +func (o *FrontPortTemplate) GetModuleTypeOk() (*BriefModuleType, bool) { if o == nil { return nil, false } @@ -214,8 +214,8 @@ func (o *FrontPortTemplate) HasModuleType() bool { return false } -// SetModuleType gets a reference to the given NullableModuleType and assigns it to the ModuleType field. -func (o *FrontPortTemplate) SetModuleType(v ModuleType) { +// SetModuleType gets a reference to the given NullableBriefModuleType and assigns it to the ModuleType field. +func (o *FrontPortTemplate) SetModuleType(v BriefModuleType) { o.ModuleType.Set(&v) } @@ -342,9 +342,9 @@ func (o *FrontPortTemplate) SetColor(v string) { } // GetRearPort returns the RearPort field value -func (o *FrontPortTemplate) GetRearPort() RearPortTemplate { +func (o *FrontPortTemplate) GetRearPort() BriefRearPortTemplate { if o == nil { - var ret RearPortTemplate + var ret BriefRearPortTemplate return ret } @@ -353,7 +353,7 @@ func (o *FrontPortTemplate) GetRearPort() RearPortTemplate { // GetRearPortOk returns a tuple with the RearPort field value // and a boolean to check if the value has been set. -func (o *FrontPortTemplate) GetRearPortOk() (*RearPortTemplate, bool) { +func (o *FrontPortTemplate) GetRearPortOk() (*BriefRearPortTemplate, bool) { if o == nil { return nil, false } @@ -361,7 +361,7 @@ func (o *FrontPortTemplate) GetRearPortOk() (*RearPortTemplate, bool) { } // SetRearPort sets field value -func (o *FrontPortTemplate) SetRearPort(v RearPortTemplate) { +func (o *FrontPortTemplate) SetRearPort(v BriefRearPortTemplate) { o.RearPort = v } diff --git a/model_front_port_template_request.go b/model_front_port_template_request.go index 995c21f99..a1aca5e90 100644 --- a/model_front_port_template_request.go +++ b/model_front_port_template_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,17 +20,17 @@ var _ MappedNullable = &FrontPortTemplateRequest{} // FrontPortTemplateRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 FrontPortTemplateRequest struct { - DeviceType NullableDeviceTypeRequest `json:"device_type,omitempty"` - ModuleType NullableModuleTypeRequest `json:"module_type,omitempty"` + DeviceType NullableBriefDeviceTypeRequest `json:"device_type,omitempty"` + ModuleType NullableBriefModuleTypeRequest `json:"module_type,omitempty"` // {module} is accepted as a substitution for the module bay position when attached to a module type. Name string `json:"name"` // Physical label - Label *string `json:"label,omitempty"` - Type FrontPortTypeValue `json:"type"` - Color *string `json:"color,omitempty"` - RearPort RearPortTemplateRequest `json:"rear_port"` - RearPortPosition *int32 `json:"rear_port_position,omitempty"` - Description *string `json:"description,omitempty"` + Label *string `json:"label,omitempty"` + Type FrontPortTypeValue `json:"type"` + Color *string `json:"color,omitempty"` + RearPort BriefRearPortTemplateRequest `json:"rear_port"` + RearPortPosition *int32 `json:"rear_port_position,omitempty"` + Description *string `json:"description,omitempty"` AdditionalProperties map[string]interface{} } @@ -40,7 +40,7 @@ type _FrontPortTemplateRequest FrontPortTemplateRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewFrontPortTemplateRequest(name string, type_ FrontPortTypeValue, rearPort RearPortTemplateRequest) *FrontPortTemplateRequest { +func NewFrontPortTemplateRequest(name string, type_ FrontPortTypeValue, rearPort BriefRearPortTemplateRequest) *FrontPortTemplateRequest { this := FrontPortTemplateRequest{} this.Name = name this.Type = type_ @@ -61,9 +61,9 @@ func NewFrontPortTemplateRequestWithDefaults() *FrontPortTemplateRequest { } // GetDeviceType returns the DeviceType field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *FrontPortTemplateRequest) GetDeviceType() DeviceTypeRequest { +func (o *FrontPortTemplateRequest) GetDeviceType() BriefDeviceTypeRequest { if o == nil || IsNil(o.DeviceType.Get()) { - var ret DeviceTypeRequest + var ret BriefDeviceTypeRequest return ret } return *o.DeviceType.Get() @@ -72,7 +72,7 @@ func (o *FrontPortTemplateRequest) GetDeviceType() DeviceTypeRequest { // GetDeviceTypeOk returns a tuple with the DeviceType 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 *FrontPortTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool) { +func (o *FrontPortTemplateRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool) { if o == nil { return nil, false } @@ -88,8 +88,8 @@ func (o *FrontPortTemplateRequest) HasDeviceType() bool { return false } -// SetDeviceType gets a reference to the given NullableDeviceTypeRequest and assigns it to the DeviceType field. -func (o *FrontPortTemplateRequest) SetDeviceType(v DeviceTypeRequest) { +// SetDeviceType gets a reference to the given NullableBriefDeviceTypeRequest and assigns it to the DeviceType field. +func (o *FrontPortTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest) { o.DeviceType.Set(&v) } @@ -104,9 +104,9 @@ func (o *FrontPortTemplateRequest) UnsetDeviceType() { } // GetModuleType returns the ModuleType field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *FrontPortTemplateRequest) GetModuleType() ModuleTypeRequest { +func (o *FrontPortTemplateRequest) GetModuleType() BriefModuleTypeRequest { if o == nil || IsNil(o.ModuleType.Get()) { - var ret ModuleTypeRequest + var ret BriefModuleTypeRequest return ret } return *o.ModuleType.Get() @@ -115,7 +115,7 @@ func (o *FrontPortTemplateRequest) GetModuleType() ModuleTypeRequest { // GetModuleTypeOk returns a tuple with the ModuleType 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 *FrontPortTemplateRequest) GetModuleTypeOk() (*ModuleTypeRequest, bool) { +func (o *FrontPortTemplateRequest) GetModuleTypeOk() (*BriefModuleTypeRequest, bool) { if o == nil { return nil, false } @@ -131,8 +131,8 @@ func (o *FrontPortTemplateRequest) HasModuleType() bool { return false } -// SetModuleType gets a reference to the given NullableModuleTypeRequest and assigns it to the ModuleType field. -func (o *FrontPortTemplateRequest) SetModuleType(v ModuleTypeRequest) { +// SetModuleType gets a reference to the given NullableBriefModuleTypeRequest and assigns it to the ModuleType field. +func (o *FrontPortTemplateRequest) SetModuleType(v BriefModuleTypeRequest) { o.ModuleType.Set(&v) } @@ -259,9 +259,9 @@ func (o *FrontPortTemplateRequest) SetColor(v string) { } // GetRearPort returns the RearPort field value -func (o *FrontPortTemplateRequest) GetRearPort() RearPortTemplateRequest { +func (o *FrontPortTemplateRequest) GetRearPort() BriefRearPortTemplateRequest { if o == nil { - var ret RearPortTemplateRequest + var ret BriefRearPortTemplateRequest return ret } @@ -270,7 +270,7 @@ func (o *FrontPortTemplateRequest) GetRearPort() RearPortTemplateRequest { // GetRearPortOk returns a tuple with the RearPort field value // and a boolean to check if the value has been set. -func (o *FrontPortTemplateRequest) GetRearPortOk() (*RearPortTemplateRequest, bool) { +func (o *FrontPortTemplateRequest) GetRearPortOk() (*BriefRearPortTemplateRequest, bool) { if o == nil { return nil, false } @@ -278,7 +278,7 @@ func (o *FrontPortTemplateRequest) GetRearPortOk() (*RearPortTemplateRequest, bo } // SetRearPort sets field value -func (o *FrontPortTemplateRequest) SetRearPort(v RearPortTemplateRequest) { +func (o *FrontPortTemplateRequest) SetRearPort(v BriefRearPortTemplateRequest) { o.RearPort = v } diff --git a/model_front_port_type.go b/model_front_port_type.go index 17d119046..0425a7568 100644 --- a/model_front_port_type.go +++ b/model_front_port_type.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 88117ae3a..a40c0fdfa 100644 --- a/model_front_port_type_label.go +++ b/model_front_port_type_label.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,53 +20,61 @@ type FrontPortTypeLabel string // List of FrontPort_type_label const ( - FRONTPORTTYPELABEL__8_P8_C FrontPortTypeLabel = "8P8C" - FRONTPORTTYPELABEL__8_P6_C FrontPortTypeLabel = "8P6C" - FRONTPORTTYPELABEL__8_P4_C FrontPortTypeLabel = "8P4C" - FRONTPORTTYPELABEL__8_P2_C FrontPortTypeLabel = "8P2C" - FRONTPORTTYPELABEL__6_P6_C FrontPortTypeLabel = "6P6C" - FRONTPORTTYPELABEL__6_P4_C FrontPortTypeLabel = "6P4C" - FRONTPORTTYPELABEL__6_P2_C FrontPortTypeLabel = "6P2C" - FRONTPORTTYPELABEL__4_P4_C FrontPortTypeLabel = "4P4C" - FRONTPORTTYPELABEL__4_P2_C FrontPortTypeLabel = "4P2C" - FRONTPORTTYPELABEL_GG45 FrontPortTypeLabel = "GG45" - FRONTPORTTYPELABEL_TERA_4_P FrontPortTypeLabel = "TERA 4P" - FRONTPORTTYPELABEL_TERA_2_P FrontPortTypeLabel = "TERA 2P" - FRONTPORTTYPELABEL_TERA_1_P FrontPortTypeLabel = "TERA 1P" - FRONTPORTTYPELABEL__110_PUNCH FrontPortTypeLabel = "110 Punch" - FRONTPORTTYPELABEL_BNC FrontPortTypeLabel = "BNC" - FRONTPORTTYPELABEL_F_CONNECTOR FrontPortTypeLabel = "F Connector" - FRONTPORTTYPELABEL_N_CONNECTOR FrontPortTypeLabel = "N Connector" - FRONTPORTTYPELABEL_MRJ21 FrontPortTypeLabel = "MRJ21" - FRONTPORTTYPELABEL_FC FrontPortTypeLabel = "FC" - FRONTPORTTYPELABEL_LC FrontPortTypeLabel = "LC" - FRONTPORTTYPELABEL_LC_PC FrontPortTypeLabel = "LC/PC" - FRONTPORTTYPELABEL_LC_UPC FrontPortTypeLabel = "LC/UPC" - FRONTPORTTYPELABEL_LC_APC FrontPortTypeLabel = "LC/APC" - FRONTPORTTYPELABEL_LSH FrontPortTypeLabel = "LSH" - FRONTPORTTYPELABEL_LSH_PC FrontPortTypeLabel = "LSH/PC" - FRONTPORTTYPELABEL_LSH_UPC FrontPortTypeLabel = "LSH/UPC" - FRONTPORTTYPELABEL_LSH_APC FrontPortTypeLabel = "LSH/APC" - FRONTPORTTYPELABEL_LX_5 FrontPortTypeLabel = "LX.5" - FRONTPORTTYPELABEL_LX_5_PC FrontPortTypeLabel = "LX.5/PC" - FRONTPORTTYPELABEL_LX_5_UPC FrontPortTypeLabel = "LX.5/UPC" - FRONTPORTTYPELABEL_LX_5_APC FrontPortTypeLabel = "LX.5/APC" - FRONTPORTTYPELABEL_MPO FrontPortTypeLabel = "MPO" - FRONTPORTTYPELABEL_MTRJ FrontPortTypeLabel = "MTRJ" - FRONTPORTTYPELABEL_SC FrontPortTypeLabel = "SC" - FRONTPORTTYPELABEL_SC_PC FrontPortTypeLabel = "SC/PC" - FRONTPORTTYPELABEL_SC_UPC FrontPortTypeLabel = "SC/UPC" - FRONTPORTTYPELABEL_SC_APC FrontPortTypeLabel = "SC/APC" - FRONTPORTTYPELABEL_ST FrontPortTypeLabel = "ST" - FRONTPORTTYPELABEL_CS FrontPortTypeLabel = "CS" - FRONTPORTTYPELABEL_SN FrontPortTypeLabel = "SN" - FRONTPORTTYPELABEL_SMA_905 FrontPortTypeLabel = "SMA 905" - FRONTPORTTYPELABEL_SMA_906 FrontPortTypeLabel = "SMA 906" - FRONTPORTTYPELABEL_URM_P2 FrontPortTypeLabel = "URM-P2" - FRONTPORTTYPELABEL_URM_P4 FrontPortTypeLabel = "URM-P4" - FRONTPORTTYPELABEL_URM_P8 FrontPortTypeLabel = "URM-P8" - FRONTPORTTYPELABEL_SPLICE FrontPortTypeLabel = "Splice" - FRONTPORTTYPELABEL_OTHER FrontPortTypeLabel = "Other" + FRONTPORTTYPELABEL__8_P8_C FrontPortTypeLabel = "8P8C" + FRONTPORTTYPELABEL__8_P6_C FrontPortTypeLabel = "8P6C" + FRONTPORTTYPELABEL__8_P4_C FrontPortTypeLabel = "8P4C" + FRONTPORTTYPELABEL__8_P2_C FrontPortTypeLabel = "8P2C" + FRONTPORTTYPELABEL__6_P6_C FrontPortTypeLabel = "6P6C" + FRONTPORTTYPELABEL__6_P4_C FrontPortTypeLabel = "6P4C" + FRONTPORTTYPELABEL__6_P2_C FrontPortTypeLabel = "6P2C" + FRONTPORTTYPELABEL__4_P4_C FrontPortTypeLabel = "4P4C" + FRONTPORTTYPELABEL__4_P2_C FrontPortTypeLabel = "4P2C" + FRONTPORTTYPELABEL_GG45 FrontPortTypeLabel = "GG45" + FRONTPORTTYPELABEL_TERA_4_P FrontPortTypeLabel = "TERA 4P" + FRONTPORTTYPELABEL_TERA_2_P FrontPortTypeLabel = "TERA 2P" + FRONTPORTTYPELABEL_TERA_1_P FrontPortTypeLabel = "TERA 1P" + FRONTPORTTYPELABEL__110_PUNCH FrontPortTypeLabel = "110 Punch" + FRONTPORTTYPELABEL_BNC FrontPortTypeLabel = "BNC" + FRONTPORTTYPELABEL_F_CONNECTOR FrontPortTypeLabel = "F Connector" + FRONTPORTTYPELABEL_N_CONNECTOR FrontPortTypeLabel = "N Connector" + FRONTPORTTYPELABEL_MRJ21 FrontPortTypeLabel = "MRJ21" + FRONTPORTTYPELABEL_FC FrontPortTypeLabel = "FC" + FRONTPORTTYPELABEL_LC FrontPortTypeLabel = "LC" + FRONTPORTTYPELABEL_LC_PC FrontPortTypeLabel = "LC/PC" + FRONTPORTTYPELABEL_LC_UPC FrontPortTypeLabel = "LC/UPC" + FRONTPORTTYPELABEL_LC_APC FrontPortTypeLabel = "LC/APC" + FRONTPORTTYPELABEL_LSH FrontPortTypeLabel = "LSH" + FRONTPORTTYPELABEL_LSH_PC FrontPortTypeLabel = "LSH/PC" + FRONTPORTTYPELABEL_LSH_UPC FrontPortTypeLabel = "LSH/UPC" + FRONTPORTTYPELABEL_LSH_APC FrontPortTypeLabel = "LSH/APC" + FRONTPORTTYPELABEL_LX_5 FrontPortTypeLabel = "LX.5" + FRONTPORTTYPELABEL_LX_5_PC FrontPortTypeLabel = "LX.5/PC" + FRONTPORTTYPELABEL_LX_5_UPC FrontPortTypeLabel = "LX.5/UPC" + FRONTPORTTYPELABEL_LX_5_APC FrontPortTypeLabel = "LX.5/APC" + FRONTPORTTYPELABEL_MPO FrontPortTypeLabel = "MPO" + FRONTPORTTYPELABEL_MTRJ FrontPortTypeLabel = "MTRJ" + FRONTPORTTYPELABEL_SC FrontPortTypeLabel = "SC" + FRONTPORTTYPELABEL_SC_PC FrontPortTypeLabel = "SC/PC" + FRONTPORTTYPELABEL_SC_UPC FrontPortTypeLabel = "SC/UPC" + FRONTPORTTYPELABEL_SC_APC FrontPortTypeLabel = "SC/APC" + FRONTPORTTYPELABEL_ST FrontPortTypeLabel = "ST" + FRONTPORTTYPELABEL_CS FrontPortTypeLabel = "CS" + FRONTPORTTYPELABEL_SN FrontPortTypeLabel = "SN" + FRONTPORTTYPELABEL_SMA_905 FrontPortTypeLabel = "SMA 905" + FRONTPORTTYPELABEL_SMA_906 FrontPortTypeLabel = "SMA 906" + FRONTPORTTYPELABEL_URM_P2 FrontPortTypeLabel = "URM-P2" + FRONTPORTTYPELABEL_URM_P4 FrontPortTypeLabel = "URM-P4" + FRONTPORTTYPELABEL_URM_P8 FrontPortTypeLabel = "URM-P8" + FRONTPORTTYPELABEL_SPLICE FrontPortTypeLabel = "Splice" + FRONTPORTTYPELABEL_USB_TYPE_A FrontPortTypeLabel = "USB Type A" + FRONTPORTTYPELABEL_USB_TYPE_B FrontPortTypeLabel = "USB Type B" + FRONTPORTTYPELABEL_USB_TYPE_C FrontPortTypeLabel = "USB Type C" + FRONTPORTTYPELABEL_USB_MINI_A FrontPortTypeLabel = "USB Mini A" + FRONTPORTTYPELABEL_USB_MINI_B FrontPortTypeLabel = "USB Mini B" + FRONTPORTTYPELABEL_USB_MICRO_A FrontPortTypeLabel = "USB Micro A" + FRONTPORTTYPELABEL_USB_MICRO_B FrontPortTypeLabel = "USB Micro B" + FRONTPORTTYPELABEL_USB_MICRO_AB FrontPortTypeLabel = "USB Micro AB" + FRONTPORTTYPELABEL_OTHER FrontPortTypeLabel = "Other" ) // All allowed values of FrontPortTypeLabel enum @@ -117,6 +125,14 @@ var AllowedFrontPortTypeLabelEnumValues = []FrontPortTypeLabel{ "URM-P4", "URM-P8", "Splice", + "USB Type A", + "USB Type B", + "USB Type C", + "USB Mini A", + "USB Mini B", + "USB Micro A", + "USB Micro B", + "USB Micro AB", "Other", } diff --git a/model_front_port_type_value.go b/model_front_port_type_value.go index 55f3bf9e5..00eae8054 100644 --- a/model_front_port_type_value.go +++ b/model_front_port_type_value.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,58 +15,66 @@ import ( "fmt" ) -// FrontPortTypeValue * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `other` - Other +// FrontPortTypeValue * `8p8c` - 8P8C * `8p6c` - 8P6C * `8p4c` - 8P4C * `8p2c` - 8P2C * `6p6c` - 6P6C * `6p4c` - 6P4C * `6p2c` - 6P2C * `4p4c` - 4P4C * `4p2c` - 4P2C * `gg45` - GG45 * `tera-4p` - TERA 4P * `tera-2p` - TERA 2P * `tera-1p` - TERA 1P * `110-punch` - 110 Punch * `bnc` - BNC * `f` - F Connector * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC * `lc-apc` - LC/APC * `lsh` - LSH * `lsh-pc` - LSH/PC * `lsh-upc` - LSH/UPC * `lsh-apc` - LSH/APC * `lx5` - LX.5 * `lx5-pc` - LX.5/PC * `lx5-upc` - LX.5/UPC * `lx5-apc` - LX.5/APC * `mpo` - MPO * `mtrj` - MTRJ * `sc` - SC * `sc-pc` - SC/PC * `sc-upc` - SC/UPC * `sc-apc` - SC/APC * `st` - ST * `cs` - CS * `sn` - SN * `sma-905` - SMA 905 * `sma-906` - SMA 906 * `urm-p2` - URM-P2 * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `other` - Other type FrontPortTypeValue string // List of FrontPort_type_value const ( - FRONTPORTTYPEVALUE__8P8C FrontPortTypeValue = "8p8c" - FRONTPORTTYPEVALUE__8P6C FrontPortTypeValue = "8p6c" - FRONTPORTTYPEVALUE__8P4C FrontPortTypeValue = "8p4c" - FRONTPORTTYPEVALUE__8P2C FrontPortTypeValue = "8p2c" - FRONTPORTTYPEVALUE__6P6C FrontPortTypeValue = "6p6c" - FRONTPORTTYPEVALUE__6P4C FrontPortTypeValue = "6p4c" - FRONTPORTTYPEVALUE__6P2C FrontPortTypeValue = "6p2c" - FRONTPORTTYPEVALUE__4P4C FrontPortTypeValue = "4p4c" - FRONTPORTTYPEVALUE__4P2C FrontPortTypeValue = "4p2c" - FRONTPORTTYPEVALUE_GG45 FrontPortTypeValue = "gg45" - FRONTPORTTYPEVALUE_TERA_4P FrontPortTypeValue = "tera-4p" - FRONTPORTTYPEVALUE_TERA_2P FrontPortTypeValue = "tera-2p" - FRONTPORTTYPEVALUE_TERA_1P FrontPortTypeValue = "tera-1p" - FRONTPORTTYPEVALUE__110_PUNCH FrontPortTypeValue = "110-punch" - FRONTPORTTYPEVALUE_BNC FrontPortTypeValue = "bnc" - FRONTPORTTYPEVALUE_F FrontPortTypeValue = "f" - FRONTPORTTYPEVALUE_N FrontPortTypeValue = "n" - FRONTPORTTYPEVALUE_MRJ21 FrontPortTypeValue = "mrj21" - FRONTPORTTYPEVALUE_FC FrontPortTypeValue = "fc" - FRONTPORTTYPEVALUE_LC FrontPortTypeValue = "lc" - FRONTPORTTYPEVALUE_LC_PC FrontPortTypeValue = "lc-pc" - FRONTPORTTYPEVALUE_LC_UPC FrontPortTypeValue = "lc-upc" - FRONTPORTTYPEVALUE_LC_APC FrontPortTypeValue = "lc-apc" - FRONTPORTTYPEVALUE_LSH FrontPortTypeValue = "lsh" - FRONTPORTTYPEVALUE_LSH_PC FrontPortTypeValue = "lsh-pc" - FRONTPORTTYPEVALUE_LSH_UPC FrontPortTypeValue = "lsh-upc" - FRONTPORTTYPEVALUE_LSH_APC FrontPortTypeValue = "lsh-apc" - FRONTPORTTYPEVALUE_LX5 FrontPortTypeValue = "lx5" - FRONTPORTTYPEVALUE_LX5_PC FrontPortTypeValue = "lx5-pc" - FRONTPORTTYPEVALUE_LX5_UPC FrontPortTypeValue = "lx5-upc" - FRONTPORTTYPEVALUE_LX5_APC FrontPortTypeValue = "lx5-apc" - FRONTPORTTYPEVALUE_MPO FrontPortTypeValue = "mpo" - FRONTPORTTYPEVALUE_MTRJ FrontPortTypeValue = "mtrj" - FRONTPORTTYPEVALUE_SC FrontPortTypeValue = "sc" - FRONTPORTTYPEVALUE_SC_PC FrontPortTypeValue = "sc-pc" - FRONTPORTTYPEVALUE_SC_UPC FrontPortTypeValue = "sc-upc" - FRONTPORTTYPEVALUE_SC_APC FrontPortTypeValue = "sc-apc" - FRONTPORTTYPEVALUE_ST FrontPortTypeValue = "st" - FRONTPORTTYPEVALUE_CS FrontPortTypeValue = "cs" - FRONTPORTTYPEVALUE_SN FrontPortTypeValue = "sn" - FRONTPORTTYPEVALUE_SMA_905 FrontPortTypeValue = "sma-905" - FRONTPORTTYPEVALUE_SMA_906 FrontPortTypeValue = "sma-906" - FRONTPORTTYPEVALUE_URM_P2 FrontPortTypeValue = "urm-p2" - FRONTPORTTYPEVALUE_URM_P4 FrontPortTypeValue = "urm-p4" - FRONTPORTTYPEVALUE_URM_P8 FrontPortTypeValue = "urm-p8" - FRONTPORTTYPEVALUE_SPLICE FrontPortTypeValue = "splice" - FRONTPORTTYPEVALUE_OTHER FrontPortTypeValue = "other" + FRONTPORTTYPEVALUE__8P8C FrontPortTypeValue = "8p8c" + FRONTPORTTYPEVALUE__8P6C FrontPortTypeValue = "8p6c" + FRONTPORTTYPEVALUE__8P4C FrontPortTypeValue = "8p4c" + FRONTPORTTYPEVALUE__8P2C FrontPortTypeValue = "8p2c" + FRONTPORTTYPEVALUE__6P6C FrontPortTypeValue = "6p6c" + FRONTPORTTYPEVALUE__6P4C FrontPortTypeValue = "6p4c" + FRONTPORTTYPEVALUE__6P2C FrontPortTypeValue = "6p2c" + FRONTPORTTYPEVALUE__4P4C FrontPortTypeValue = "4p4c" + FRONTPORTTYPEVALUE__4P2C FrontPortTypeValue = "4p2c" + FRONTPORTTYPEVALUE_GG45 FrontPortTypeValue = "gg45" + FRONTPORTTYPEVALUE_TERA_4P FrontPortTypeValue = "tera-4p" + FRONTPORTTYPEVALUE_TERA_2P FrontPortTypeValue = "tera-2p" + FRONTPORTTYPEVALUE_TERA_1P FrontPortTypeValue = "tera-1p" + FRONTPORTTYPEVALUE__110_PUNCH FrontPortTypeValue = "110-punch" + FRONTPORTTYPEVALUE_BNC FrontPortTypeValue = "bnc" + FRONTPORTTYPEVALUE_F FrontPortTypeValue = "f" + FRONTPORTTYPEVALUE_N FrontPortTypeValue = "n" + FRONTPORTTYPEVALUE_MRJ21 FrontPortTypeValue = "mrj21" + FRONTPORTTYPEVALUE_FC FrontPortTypeValue = "fc" + FRONTPORTTYPEVALUE_LC FrontPortTypeValue = "lc" + FRONTPORTTYPEVALUE_LC_PC FrontPortTypeValue = "lc-pc" + FRONTPORTTYPEVALUE_LC_UPC FrontPortTypeValue = "lc-upc" + FRONTPORTTYPEVALUE_LC_APC FrontPortTypeValue = "lc-apc" + FRONTPORTTYPEVALUE_LSH FrontPortTypeValue = "lsh" + FRONTPORTTYPEVALUE_LSH_PC FrontPortTypeValue = "lsh-pc" + FRONTPORTTYPEVALUE_LSH_UPC FrontPortTypeValue = "lsh-upc" + FRONTPORTTYPEVALUE_LSH_APC FrontPortTypeValue = "lsh-apc" + FRONTPORTTYPEVALUE_LX5 FrontPortTypeValue = "lx5" + FRONTPORTTYPEVALUE_LX5_PC FrontPortTypeValue = "lx5-pc" + FRONTPORTTYPEVALUE_LX5_UPC FrontPortTypeValue = "lx5-upc" + FRONTPORTTYPEVALUE_LX5_APC FrontPortTypeValue = "lx5-apc" + FRONTPORTTYPEVALUE_MPO FrontPortTypeValue = "mpo" + FRONTPORTTYPEVALUE_MTRJ FrontPortTypeValue = "mtrj" + FRONTPORTTYPEVALUE_SC FrontPortTypeValue = "sc" + FRONTPORTTYPEVALUE_SC_PC FrontPortTypeValue = "sc-pc" + FRONTPORTTYPEVALUE_SC_UPC FrontPortTypeValue = "sc-upc" + FRONTPORTTYPEVALUE_SC_APC FrontPortTypeValue = "sc-apc" + FRONTPORTTYPEVALUE_ST FrontPortTypeValue = "st" + FRONTPORTTYPEVALUE_CS FrontPortTypeValue = "cs" + FRONTPORTTYPEVALUE_SN FrontPortTypeValue = "sn" + FRONTPORTTYPEVALUE_SMA_905 FrontPortTypeValue = "sma-905" + FRONTPORTTYPEVALUE_SMA_906 FrontPortTypeValue = "sma-906" + FRONTPORTTYPEVALUE_URM_P2 FrontPortTypeValue = "urm-p2" + FRONTPORTTYPEVALUE_URM_P4 FrontPortTypeValue = "urm-p4" + FRONTPORTTYPEVALUE_URM_P8 FrontPortTypeValue = "urm-p8" + FRONTPORTTYPEVALUE_SPLICE FrontPortTypeValue = "splice" + FRONTPORTTYPEVALUE_USB_A FrontPortTypeValue = "usb-a" + FRONTPORTTYPEVALUE_USB_B FrontPortTypeValue = "usb-b" + FRONTPORTTYPEVALUE_USB_C FrontPortTypeValue = "usb-c" + FRONTPORTTYPEVALUE_USB_MINI_A FrontPortTypeValue = "usb-mini-a" + FRONTPORTTYPEVALUE_USB_MINI_B FrontPortTypeValue = "usb-mini-b" + FRONTPORTTYPEVALUE_USB_MICRO_A FrontPortTypeValue = "usb-micro-a" + FRONTPORTTYPEVALUE_USB_MICRO_B FrontPortTypeValue = "usb-micro-b" + FRONTPORTTYPEVALUE_USB_MICRO_AB FrontPortTypeValue = "usb-micro-ab" + FRONTPORTTYPEVALUE_OTHER FrontPortTypeValue = "other" ) // All allowed values of FrontPortTypeValue enum @@ -117,6 +125,14 @@ var AllowedFrontPortTypeValueEnumValues = []FrontPortTypeValue{ "urm-p4", "urm-p8", "splice", + "usb-a", + "usb-b", + "usb-c", + "usb-mini-a", + "usb-mini-b", + "usb-micro-a", + "usb-micro-b", + "usb-micro-ab", "other", } diff --git a/model_generic_object.go b/model_generic_object.go new file mode 100644 index 000000000..c453a8e23 --- /dev/null +++ b/model_generic_object.go @@ -0,0 +1,228 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the GenericObject type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GenericObject{} + +// GenericObject Minimal representation of some generic object identified by ContentType and PK. +type GenericObject struct { + ObjectType string `json:"object_type"` + ObjectId int32 `json:"object_id"` + Object interface{} `json:"object"` + AdditionalProperties map[string]interface{} +} + +type _GenericObject GenericObject + +// NewGenericObject instantiates a new GenericObject object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGenericObject(objectType string, objectId int32, object interface{}) *GenericObject { + this := GenericObject{} + this.ObjectType = objectType + this.ObjectId = objectId + this.Object = object + return &this +} + +// NewGenericObjectWithDefaults instantiates a new GenericObject object +// This 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 NewGenericObjectWithDefaults() *GenericObject { + this := GenericObject{} + return &this +} + +// GetObjectType returns the ObjectType field value +func (o *GenericObject) 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 *GenericObject) GetObjectTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ObjectType, true +} + +// SetObjectType sets field value +func (o *GenericObject) SetObjectType(v string) { + o.ObjectType = v +} + +// GetObjectId returns the ObjectId field value +func (o *GenericObject) GetObjectId() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.ObjectId +} + +// GetObjectIdOk returns a tuple with the ObjectId field value +// and a boolean to check if the value has been set. +func (o *GenericObject) GetObjectIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.ObjectId, true +} + +// SetObjectId sets field value +func (o *GenericObject) SetObjectId(v int32) { + o.ObjectId = v +} + +// GetObject returns the Object field value +// If the value is explicit nil, the zero value for interface{} will be returned +func (o *GenericObject) GetObject() interface{} { + if o == nil { + var ret interface{} + return ret + } + + return o.Object +} + +// GetObjectOk returns a tuple with the Object 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 *GenericObject) GetObjectOk() (*interface{}, bool) { + if o == nil || IsNil(o.Object) { + return nil, false + } + return &o.Object, true +} + +// SetObject sets field value +func (o *GenericObject) SetObject(v interface{}) { + o.Object = v +} + +func (o GenericObject) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GenericObject) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["object_type"] = o.ObjectType + toSerialize["object_id"] = o.ObjectId + if o.Object != nil { + toSerialize["object"] = o.Object + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *GenericObject) 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", + "object_id", + "object", + } + + 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) + } + } + + varGenericObject := _GenericObject{} + + err = json.Unmarshal(data, &varGenericObject) + + if err != nil { + return err + } + + *o = GenericObject(varGenericObject) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "object_type") + delete(additionalProperties, "object_id") + delete(additionalProperties, "object") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableGenericObject struct { + value *GenericObject + isSet bool +} + +func (v NullableGenericObject) Get() *GenericObject { + return v.value +} + +func (v *NullableGenericObject) Set(val *GenericObject) { + v.value = val + v.isSet = true +} + +func (v NullableGenericObject) IsSet() bool { + return v.isSet +} + +func (v *NullableGenericObject) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGenericObject(val *GenericObject) *NullableGenericObject { + return &NullableGenericObject{value: val, isSet: true} +} + +func (v NullableGenericObject) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGenericObject) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_generic_object_request.go b/model_generic_object_request.go index af5fa0e13..d038941e3 100644 --- a/model_generic_object_request.go +++ b/model_generic_object_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_group.go b/model_group.go index cc0cb78e9..5ec7c39fa 100644 --- a/model_group.go +++ b/model_group.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -22,11 +22,12 @@ var _ MappedNullable = &Group{} type Group struct { Id int32 `json:"id"` Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` Display string `json:"display"` Name string `json:"name"` Description *string `json:"description,omitempty"` Permissions []ObjectPermission `json:"permissions,omitempty"` - UserCount int32 `json:"user_count"` + UserCount *int32 `json:"user_count,omitempty"` AdditionalProperties map[string]interface{} } @@ -36,13 +37,12 @@ type _Group Group // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewGroup(id int32, url string, display string, name string, userCount int32) *Group { +func NewGroup(id int32, url string, display string, name string) *Group { this := Group{} this.Id = id this.Url = url this.Display = display this.Name = name - this.UserCount = userCount return &this } @@ -102,6 +102,38 @@ func (o *Group) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *Group) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Group) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *Group) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *Group) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *Group) GetDisplay() string { if o == nil { @@ -214,28 +246,36 @@ func (o *Group) SetPermissions(v []ObjectPermission) { o.Permissions = v } -// GetUserCount returns the UserCount field value +// GetUserCount returns the UserCount field value if set, zero value otherwise. func (o *Group) GetUserCount() int32 { - if o == nil { + if o == nil || IsNil(o.UserCount) { var ret int32 return ret } - - return o.UserCount + return *o.UserCount } -// GetUserCountOk returns a tuple with the UserCount field value +// GetUserCountOk returns a tuple with the UserCount field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *Group) GetUserCountOk() (*int32, bool) { - if o == nil { + if o == nil || IsNil(o.UserCount) { return nil, false } - return &o.UserCount, true + return o.UserCount, true +} + +// HasUserCount returns a boolean if a field has been set. +func (o *Group) HasUserCount() bool { + if o != nil && !IsNil(o.UserCount) { + return true + } + + return false } -// SetUserCount sets field value +// SetUserCount gets a reference to the given int32 and assigns it to the UserCount field. func (o *Group) SetUserCount(v int32) { - o.UserCount = v + o.UserCount = &v } func (o Group) MarshalJSON() ([]byte, error) { @@ -250,6 +290,9 @@ func (o Group) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["name"] = o.Name if !IsNil(o.Description) { @@ -258,7 +301,9 @@ func (o Group) ToMap() (map[string]interface{}, error) { if !IsNil(o.Permissions) { toSerialize["permissions"] = o.Permissions } - toSerialize["user_count"] = o.UserCount + if !IsNil(o.UserCount) { + toSerialize["user_count"] = o.UserCount + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -276,7 +321,6 @@ func (o *Group) UnmarshalJSON(data []byte) (err error) { "url", "display", "name", - "user_count", } allProperties := make(map[string]interface{}) @@ -308,6 +352,7 @@ func (o *Group) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") delete(additionalProperties, "description") diff --git a/model_group_request.go b/model_group_request.go index a3b3fc4d9..c4b44e9c5 100644 --- a/model_group_request.go +++ b/model_group_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_ike_policy.go b/model_ike_policy.go index 60a132594..3b43cb382 100644 --- a/model_ike_policy.go +++ b/model_ike_policy.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -23,11 +23,12 @@ var _ MappedNullable = &IKEPolicy{} type IKEPolicy struct { Id int32 `json:"id"` Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` Display string `json:"display"` Name string `json:"name"` Description *string `json:"description,omitempty"` Version IKEPolicyVersion `json:"version"` - Mode IKEPolicyMode `json:"mode"` + Mode *IKEPolicyMode `json:"mode,omitempty"` Proposals []IKEProposal `json:"proposals,omitempty"` PresharedKey *string `json:"preshared_key,omitempty"` Comments *string `json:"comments,omitempty"` @@ -44,14 +45,13 @@ type _IKEPolicy IKEPolicy // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewIKEPolicy(id int32, url string, display string, name string, version IKEPolicyVersion, mode IKEPolicyMode, created NullableTime, lastUpdated NullableTime) *IKEPolicy { +func NewIKEPolicy(id int32, url string, display string, name string, version IKEPolicyVersion, created NullableTime, lastUpdated NullableTime) *IKEPolicy { this := IKEPolicy{} this.Id = id this.Url = url this.Display = display this.Name = name this.Version = version - this.Mode = mode this.Created = created this.LastUpdated = lastUpdated return &this @@ -113,6 +113,38 @@ func (o *IKEPolicy) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *IKEPolicy) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *IKEPolicy) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *IKEPolicy) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *IKEPolicy) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *IKEPolicy) GetDisplay() string { if o == nil { @@ -217,28 +249,36 @@ func (o *IKEPolicy) SetVersion(v IKEPolicyVersion) { o.Version = v } -// GetMode returns the Mode field value +// GetMode returns the Mode field value if set, zero value otherwise. func (o *IKEPolicy) GetMode() IKEPolicyMode { - if o == nil { + if o == nil || IsNil(o.Mode) { var ret IKEPolicyMode return ret } - - return o.Mode + return *o.Mode } -// GetModeOk returns a tuple with the Mode field value +// 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 *IKEPolicy) GetModeOk() (*IKEPolicyMode, bool) { - if o == nil { + if o == nil || IsNil(o.Mode) { return nil, false } - return &o.Mode, true + return o.Mode, true +} + +// HasMode returns a boolean if a field has been set. +func (o *IKEPolicy) HasMode() bool { + if o != nil && !IsNil(o.Mode) { + return true + } + + return false } -// SetMode sets field value +// SetMode gets a reference to the given IKEPolicyMode and assigns it to the Mode field. func (o *IKEPolicy) SetMode(v IKEPolicyMode) { - o.Mode = v + o.Mode = &v } // GetProposals returns the Proposals field value if set, zero value otherwise. @@ -465,13 +505,18 @@ func (o IKEPolicy) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["name"] = o.Name if !IsNil(o.Description) { toSerialize["description"] = o.Description } toSerialize["version"] = o.Version - toSerialize["mode"] = o.Mode + if !IsNil(o.Mode) { + toSerialize["mode"] = o.Mode + } if !IsNil(o.Proposals) { toSerialize["proposals"] = o.Proposals } @@ -507,7 +552,6 @@ func (o *IKEPolicy) UnmarshalJSON(data []byte) (err error) { "display", "name", "version", - "mode", "created", "last_updated", } @@ -541,6 +585,7 @@ func (o *IKEPolicy) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") delete(additionalProperties, "description") diff --git a/model_ike_policy_mode.go b/model_ike_policy_mode.go index 561cdd0ee..4f8da8e58 100644 --- a/model_ike_policy_mode.go +++ b/model_ike_policy_mode.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_ike_policy_mode_label.go b/model_ike_policy_mode_label.go index 6f710f6ac..cddbe0156 100644 --- a/model_ike_policy_mode_label.go +++ b/model_ike_policy_mode_label.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_ike_policy_mode_value.go b/model_ike_policy_mode_value.go index f7209d932..abfeb90cf 100644 --- a/model_ike_policy_mode_value.go +++ b/model_ike_policy_mode_value.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_ike_policy_request.go b/model_ike_policy_request.go index b10b248b6..8c69c3681 100644 --- a/model_ike_policy_request.go +++ b/model_ike_policy_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -23,7 +23,7 @@ type IKEPolicyRequest struct { Name string `json:"name"` Description *string `json:"description,omitempty"` Version IKEPolicyVersionValue `json:"version"` - Mode IKEPolicyModeValue `json:"mode"` + Mode *IKEPolicyModeValue `json:"mode,omitempty"` Proposals []int32 `json:"proposals,omitempty"` PresharedKey *string `json:"preshared_key,omitempty"` Comments *string `json:"comments,omitempty"` @@ -38,11 +38,10 @@ type _IKEPolicyRequest IKEPolicyRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewIKEPolicyRequest(name string, version IKEPolicyVersionValue, mode IKEPolicyModeValue) *IKEPolicyRequest { +func NewIKEPolicyRequest(name string, version IKEPolicyVersionValue) *IKEPolicyRequest { this := IKEPolicyRequest{} this.Name = name this.Version = version - this.Mode = mode return &this } @@ -134,28 +133,36 @@ func (o *IKEPolicyRequest) SetVersion(v IKEPolicyVersionValue) { o.Version = v } -// GetMode returns the Mode field value +// GetMode returns the Mode field value if set, zero value otherwise. func (o *IKEPolicyRequest) GetMode() IKEPolicyModeValue { - if o == nil { + if o == nil || IsNil(o.Mode) { var ret IKEPolicyModeValue return ret } - - return o.Mode + return *o.Mode } -// GetModeOk returns a tuple with the Mode field value +// 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 *IKEPolicyRequest) GetModeOk() (*IKEPolicyModeValue, bool) { - if o == nil { + if o == nil || IsNil(o.Mode) { return nil, false } - return &o.Mode, true + return o.Mode, true +} + +// HasMode returns a boolean if a field has been set. +func (o *IKEPolicyRequest) HasMode() bool { + if o != nil && !IsNil(o.Mode) { + return true + } + + return false } -// SetMode sets field value +// SetMode gets a reference to the given IKEPolicyModeValue and assigns it to the Mode field. func (o *IKEPolicyRequest) SetMode(v IKEPolicyModeValue) { - o.Mode = v + o.Mode = &v } // GetProposals returns the Proposals field value if set, zero value otherwise. @@ -333,7 +340,9 @@ func (o IKEPolicyRequest) ToMap() (map[string]interface{}, error) { toSerialize["description"] = o.Description } toSerialize["version"] = o.Version - toSerialize["mode"] = o.Mode + if !IsNil(o.Mode) { + toSerialize["mode"] = o.Mode + } if !IsNil(o.Proposals) { toSerialize["proposals"] = o.Proposals } @@ -364,7 +373,6 @@ func (o *IKEPolicyRequest) UnmarshalJSON(data []byte) (err error) { requiredProperties := []string{ "name", "version", - "mode", } allProperties := make(map[string]interface{}) diff --git a/model_ike_policy_version.go b/model_ike_policy_version.go index afa22c6de..8d1d6c988 100644 --- a/model_ike_policy_version.go +++ b/model_ike_policy_version.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_ike_policy_version_label.go b/model_ike_policy_version_label.go index 8b11ad9d6..cceb1ff95 100644 --- a/model_ike_policy_version_label.go +++ b/model_ike_policy_version_label.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_ike_policy_version_value.go b/model_ike_policy_version_value.go index 7abf472f2..9c5caa00a 100644 --- a/model_ike_policy_version_value.go +++ b/model_ike_policy_version_value.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_ike_proposal.go b/model_ike_proposal.go index cd4eed1ca..ec18e15a5 100644 --- a/model_ike_proposal.go +++ b/model_ike_proposal.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,15 +21,16 @@ var _ MappedNullable = &IKEProposal{} // IKEProposal Adds support for custom fields and tags. type IKEProposal struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - Name string `json:"name"` - Description *string `json:"description,omitempty"` - AuthenticationMethod IKEProposalAuthenticationMethod `json:"authentication_method"` - EncryptionAlgorithm IKEProposalEncryptionAlgorithm `json:"encryption_algorithm"` - AuthenticationAlgorithm IKEProposalAuthenticationAlgorithm `json:"authentication_algorithm"` - Group IKEProposalGroup `json:"group"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Name string `json:"name"` + Description *string `json:"description,omitempty"` + AuthenticationMethod IKEProposalAuthenticationMethod `json:"authentication_method"` + EncryptionAlgorithm IKEProposalEncryptionAlgorithm `json:"encryption_algorithm"` + AuthenticationAlgorithm *IKEProposalAuthenticationAlgorithm `json:"authentication_algorithm,omitempty"` + Group IKEProposalGroup `json:"group"` // Security association lifetime (in seconds) SaLifetime NullableInt32 `json:"sa_lifetime,omitempty"` Comments *string `json:"comments,omitempty"` @@ -46,7 +47,7 @@ type _IKEProposal IKEProposal // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewIKEProposal(id int32, url string, display string, name string, authenticationMethod IKEProposalAuthenticationMethod, encryptionAlgorithm IKEProposalEncryptionAlgorithm, authenticationAlgorithm IKEProposalAuthenticationAlgorithm, group IKEProposalGroup, created NullableTime, lastUpdated NullableTime) *IKEProposal { +func NewIKEProposal(id int32, url string, display string, name string, authenticationMethod IKEProposalAuthenticationMethod, encryptionAlgorithm IKEProposalEncryptionAlgorithm, group IKEProposalGroup, created NullableTime, lastUpdated NullableTime) *IKEProposal { this := IKEProposal{} this.Id = id this.Url = url @@ -54,7 +55,6 @@ func NewIKEProposal(id int32, url string, display string, name string, authentic this.Name = name this.AuthenticationMethod = authenticationMethod this.EncryptionAlgorithm = encryptionAlgorithm - this.AuthenticationAlgorithm = authenticationAlgorithm this.Group = group this.Created = created this.LastUpdated = lastUpdated @@ -117,6 +117,38 @@ func (o *IKEProposal) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *IKEProposal) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *IKEProposal) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *IKEProposal) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *IKEProposal) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *IKEProposal) GetDisplay() string { if o == nil { @@ -245,28 +277,36 @@ func (o *IKEProposal) SetEncryptionAlgorithm(v IKEProposalEncryptionAlgorithm) { o.EncryptionAlgorithm = v } -// GetAuthenticationAlgorithm returns the AuthenticationAlgorithm field value +// GetAuthenticationAlgorithm returns the AuthenticationAlgorithm field value if set, zero value otherwise. func (o *IKEProposal) GetAuthenticationAlgorithm() IKEProposalAuthenticationAlgorithm { - if o == nil { + if o == nil || IsNil(o.AuthenticationAlgorithm) { var ret IKEProposalAuthenticationAlgorithm return ret } - - return o.AuthenticationAlgorithm + return *o.AuthenticationAlgorithm } -// GetAuthenticationAlgorithmOk returns a tuple with the AuthenticationAlgorithm field value +// GetAuthenticationAlgorithmOk returns a tuple with the AuthenticationAlgorithm field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *IKEProposal) GetAuthenticationAlgorithmOk() (*IKEProposalAuthenticationAlgorithm, bool) { - if o == nil { + if o == nil || IsNil(o.AuthenticationAlgorithm) { return nil, false } - return &o.AuthenticationAlgorithm, true + return o.AuthenticationAlgorithm, true +} + +// HasAuthenticationAlgorithm returns a boolean if a field has been set. +func (o *IKEProposal) HasAuthenticationAlgorithm() bool { + if o != nil && !IsNil(o.AuthenticationAlgorithm) { + return true + } + + return false } -// SetAuthenticationAlgorithm sets field value +// SetAuthenticationAlgorithm gets a reference to the given IKEProposalAuthenticationAlgorithm and assigns it to the AuthenticationAlgorithm field. func (o *IKEProposal) SetAuthenticationAlgorithm(v IKEProposalAuthenticationAlgorithm) { - o.AuthenticationAlgorithm = v + o.AuthenticationAlgorithm = &v } // GetGroup returns the Group field value @@ -496,6 +536,9 @@ func (o IKEProposal) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["name"] = o.Name if !IsNil(o.Description) { @@ -503,7 +546,9 @@ func (o IKEProposal) ToMap() (map[string]interface{}, error) { } toSerialize["authentication_method"] = o.AuthenticationMethod toSerialize["encryption_algorithm"] = o.EncryptionAlgorithm - toSerialize["authentication_algorithm"] = o.AuthenticationAlgorithm + if !IsNil(o.AuthenticationAlgorithm) { + toSerialize["authentication_algorithm"] = o.AuthenticationAlgorithm + } toSerialize["group"] = o.Group if o.SaLifetime.IsSet() { toSerialize["sa_lifetime"] = o.SaLifetime.Get() @@ -538,7 +583,6 @@ func (o *IKEProposal) UnmarshalJSON(data []byte) (err error) { "name", "authentication_method", "encryption_algorithm", - "authentication_algorithm", "group", "created", "last_updated", @@ -573,6 +617,7 @@ func (o *IKEProposal) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") delete(additionalProperties, "description") diff --git a/model_ike_proposal_authentication_algorithm.go b/model_ike_proposal_authentication_algorithm.go index beeab8334..54863bb04 100644 --- a/model_ike_proposal_authentication_algorithm.go +++ b/model_ike_proposal_authentication_algorithm.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_ike_proposal_authentication_algorithm_label.go b/model_ike_proposal_authentication_algorithm_label.go index ed37a3e8d..4f9425f24 100644 --- a/model_ike_proposal_authentication_algorithm_label.go +++ b/model_ike_proposal_authentication_algorithm_label.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_ike_proposal_authentication_algorithm_value.go b/model_ike_proposal_authentication_algorithm_value.go index ac2ff5a01..7ed318831 100644 --- a/model_ike_proposal_authentication_algorithm_value.go +++ b/model_ike_proposal_authentication_algorithm_value.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_ike_proposal_authentication_method.go b/model_ike_proposal_authentication_method.go index ce563d6e2..d53dd7fd6 100644 --- a/model_ike_proposal_authentication_method.go +++ b/model_ike_proposal_authentication_method.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_ike_proposal_authentication_method_label.go b/model_ike_proposal_authentication_method_label.go index 35519ca6b..3fda4ef55 100644 --- a/model_ike_proposal_authentication_method_label.go +++ b/model_ike_proposal_authentication_method_label.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_ike_proposal_authentication_method_value.go b/model_ike_proposal_authentication_method_value.go index c1e5b8266..36e53f566 100644 --- a/model_ike_proposal_authentication_method_value.go +++ b/model_ike_proposal_authentication_method_value.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_ike_proposal_encryption_algorithm.go b/model_ike_proposal_encryption_algorithm.go index 208e10199..c7112abf6 100644 --- a/model_ike_proposal_encryption_algorithm.go +++ b/model_ike_proposal_encryption_algorithm.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_ike_proposal_encryption_algorithm_label.go b/model_ike_proposal_encryption_algorithm_label.go index 4485f50f2..44386d246 100644 --- a/model_ike_proposal_encryption_algorithm_label.go +++ b/model_ike_proposal_encryption_algorithm_label.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_ike_proposal_encryption_algorithm_value.go b/model_ike_proposal_encryption_algorithm_value.go index f152c2e12..d33486166 100644 --- a/model_ike_proposal_encryption_algorithm_value.go +++ b/model_ike_proposal_encryption_algorithm_value.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_ike_proposal_group.go b/model_ike_proposal_group.go index b4e572948..4d4d6fa35 100644 --- a/model_ike_proposal_group.go +++ b/model_ike_proposal_group.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_ike_proposal_group_label.go b/model_ike_proposal_group_label.go index acb825e47..552d8a504 100644 --- a/model_ike_proposal_group_label.go +++ b/model_ike_proposal_group_label.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_ike_proposal_group_value.go b/model_ike_proposal_group_value.go index 482fc4b74..bcc572a10 100644 --- a/model_ike_proposal_group_value.go +++ b/model_ike_proposal_group_value.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_ike_proposal_request.go b/model_ike_proposal_request.go index 532a3552d..1bac57d9b 100644 --- a/model_ike_proposal_request.go +++ b/model_ike_proposal_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,12 +20,12 @@ var _ MappedNullable = &IKEProposalRequest{} // IKEProposalRequest Adds support for custom fields and tags. type IKEProposalRequest struct { - Name string `json:"name"` - Description *string `json:"description,omitempty"` - AuthenticationMethod IKEProposalAuthenticationMethodValue `json:"authentication_method"` - EncryptionAlgorithm IKEProposalEncryptionAlgorithmValue `json:"encryption_algorithm"` - AuthenticationAlgorithm IKEProposalAuthenticationAlgorithmValue `json:"authentication_algorithm"` - Group IKEProposalGroupValue `json:"group"` + Name string `json:"name"` + Description *string `json:"description,omitempty"` + AuthenticationMethod IKEProposalAuthenticationMethodValue `json:"authentication_method"` + EncryptionAlgorithm IKEProposalEncryptionAlgorithmValue `json:"encryption_algorithm"` + AuthenticationAlgorithm *IKEProposalAuthenticationAlgorithmValue `json:"authentication_algorithm,omitempty"` + Group IKEProposalGroupValue `json:"group"` // Security association lifetime (in seconds) SaLifetime NullableInt32 `json:"sa_lifetime,omitempty"` Comments *string `json:"comments,omitempty"` @@ -40,12 +40,11 @@ type _IKEProposalRequest IKEProposalRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewIKEProposalRequest(name string, authenticationMethod IKEProposalAuthenticationMethodValue, encryptionAlgorithm IKEProposalEncryptionAlgorithmValue, authenticationAlgorithm IKEProposalAuthenticationAlgorithmValue, group IKEProposalGroupValue) *IKEProposalRequest { +func NewIKEProposalRequest(name string, authenticationMethod IKEProposalAuthenticationMethodValue, encryptionAlgorithm IKEProposalEncryptionAlgorithmValue, group IKEProposalGroupValue) *IKEProposalRequest { this := IKEProposalRequest{} this.Name = name this.AuthenticationMethod = authenticationMethod this.EncryptionAlgorithm = encryptionAlgorithm - this.AuthenticationAlgorithm = authenticationAlgorithm this.Group = group return &this } @@ -162,28 +161,36 @@ func (o *IKEProposalRequest) SetEncryptionAlgorithm(v IKEProposalEncryptionAlgor o.EncryptionAlgorithm = v } -// GetAuthenticationAlgorithm returns the AuthenticationAlgorithm field value +// GetAuthenticationAlgorithm returns the AuthenticationAlgorithm field value if set, zero value otherwise. func (o *IKEProposalRequest) GetAuthenticationAlgorithm() IKEProposalAuthenticationAlgorithmValue { - if o == nil { + if o == nil || IsNil(o.AuthenticationAlgorithm) { var ret IKEProposalAuthenticationAlgorithmValue return ret } - - return o.AuthenticationAlgorithm + return *o.AuthenticationAlgorithm } -// GetAuthenticationAlgorithmOk returns a tuple with the AuthenticationAlgorithm field value +// GetAuthenticationAlgorithmOk returns a tuple with the AuthenticationAlgorithm field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *IKEProposalRequest) GetAuthenticationAlgorithmOk() (*IKEProposalAuthenticationAlgorithmValue, bool) { - if o == nil { + if o == nil || IsNil(o.AuthenticationAlgorithm) { return nil, false } - return &o.AuthenticationAlgorithm, true + return o.AuthenticationAlgorithm, true +} + +// HasAuthenticationAlgorithm returns a boolean if a field has been set. +func (o *IKEProposalRequest) HasAuthenticationAlgorithm() bool { + if o != nil && !IsNil(o.AuthenticationAlgorithm) { + return true + } + + return false } -// SetAuthenticationAlgorithm sets field value +// SetAuthenticationAlgorithm gets a reference to the given IKEProposalAuthenticationAlgorithmValue and assigns it to the AuthenticationAlgorithm field. func (o *IKEProposalRequest) SetAuthenticationAlgorithm(v IKEProposalAuthenticationAlgorithmValue) { - o.AuthenticationAlgorithm = v + o.AuthenticationAlgorithm = &v } // GetGroup returns the Group field value @@ -365,7 +372,9 @@ func (o IKEProposalRequest) ToMap() (map[string]interface{}, error) { } toSerialize["authentication_method"] = o.AuthenticationMethod toSerialize["encryption_algorithm"] = o.EncryptionAlgorithm - toSerialize["authentication_algorithm"] = o.AuthenticationAlgorithm + if !IsNil(o.AuthenticationAlgorithm) { + toSerialize["authentication_algorithm"] = o.AuthenticationAlgorithm + } toSerialize["group"] = o.Group if o.SaLifetime.IsSet() { toSerialize["sa_lifetime"] = o.SaLifetime.Get() @@ -395,7 +404,6 @@ func (o *IKEProposalRequest) UnmarshalJSON(data []byte) (err error) { "name", "authentication_method", "encryption_algorithm", - "authentication_algorithm", "group", } diff --git a/model_image_attachment.go b/model_image_attachment.go index 3eef1f2cd..8f4037b8d 100644 --- a/model_image_attachment.go +++ b/model_image_attachment.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_image_attachment_request.go b/model_image_attachment_request.go index 26ce0cc75..139eed7ab 100644 --- a/model_image_attachment_request.go +++ b/model_image_attachment_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -25,8 +25,6 @@ type ImageAttachmentRequest struct { ObjectId int64 `json:"object_id"` Name *string `json:"name,omitempty"` Image *os.File `json:"image"` - ImageHeight int32 `json:"image_height"` - ImageWidth int32 `json:"image_width"` AdditionalProperties map[string]interface{} } @@ -36,13 +34,11 @@ type _ImageAttachmentRequest ImageAttachmentRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewImageAttachmentRequest(objectType string, objectId int64, image *os.File, imageHeight int32, imageWidth int32) *ImageAttachmentRequest { +func NewImageAttachmentRequest(objectType string, objectId int64, image *os.File) *ImageAttachmentRequest { this := ImageAttachmentRequest{} this.ObjectType = objectType this.ObjectId = objectId this.Image = image - this.ImageHeight = imageHeight - this.ImageWidth = imageWidth return &this } @@ -158,54 +154,6 @@ func (o *ImageAttachmentRequest) SetImage(v *os.File) { o.Image = v } -// GetImageHeight returns the ImageHeight field value -func (o *ImageAttachmentRequest) GetImageHeight() int32 { - if o == nil { - var ret int32 - return ret - } - - return o.ImageHeight -} - -// GetImageHeightOk returns a tuple with the ImageHeight field value -// and a boolean to check if the value has been set. -func (o *ImageAttachmentRequest) GetImageHeightOk() (*int32, bool) { - if o == nil { - return nil, false - } - return &o.ImageHeight, true -} - -// SetImageHeight sets field value -func (o *ImageAttachmentRequest) SetImageHeight(v int32) { - o.ImageHeight = v -} - -// GetImageWidth returns the ImageWidth field value -func (o *ImageAttachmentRequest) GetImageWidth() int32 { - if o == nil { - var ret int32 - return ret - } - - return o.ImageWidth -} - -// GetImageWidthOk returns a tuple with the ImageWidth field value -// and a boolean to check if the value has been set. -func (o *ImageAttachmentRequest) GetImageWidthOk() (*int32, bool) { - if o == nil { - return nil, false - } - return &o.ImageWidth, true -} - -// SetImageWidth sets field value -func (o *ImageAttachmentRequest) SetImageWidth(v int32) { - o.ImageWidth = v -} - func (o ImageAttachmentRequest) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -222,8 +170,6 @@ func (o ImageAttachmentRequest) ToMap() (map[string]interface{}, error) { toSerialize["name"] = o.Name } toSerialize["image"] = o.Image - toSerialize["image_height"] = o.ImageHeight - toSerialize["image_width"] = o.ImageWidth for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -240,8 +186,6 @@ func (o *ImageAttachmentRequest) UnmarshalJSON(data []byte) (err error) { "object_type", "object_id", "image", - "image_height", - "image_width", } allProperties := make(map[string]interface{}) @@ -275,8 +219,6 @@ func (o *ImageAttachmentRequest) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "object_id") delete(additionalProperties, "name") delete(additionalProperties, "image") - delete(additionalProperties, "image_height") - delete(additionalProperties, "image_width") o.AdditionalProperties = additionalProperties } diff --git a/model_interface.go b/model_interface.go index 8990492b1..79882c297 100644 --- a/model_interface.go +++ b/model_interface.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,13 +21,14 @@ var _ MappedNullable = &Interface{} // Interface Adds support for custom fields and tags. type Interface struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - Device Device `json:"device"` - Vdcs []VirtualDeviceContext `json:"vdcs,omitempty"` - Module NullableModule `json:"module,omitempty"` - Name string `json:"name"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Device BriefDevice `json:"device"` + Vdcs []VirtualDeviceContext `json:"vdcs,omitempty"` + Module NullableBriefModule `json:"module,omitempty"` + Name string `json:"name"` // Physical label Label *string `json:"label,omitempty"` Type InterfaceType `json:"type"` @@ -51,31 +52,31 @@ type Interface struct { // Populated by selected channel (if set) RfChannelFrequency NullableFloat64 `json:"rf_channel_frequency,omitempty"` // Populated by selected channel (if set) - RfChannelWidth NullableFloat64 `json:"rf_channel_width,omitempty"` - TxPower NullableInt32 `json:"tx_power,omitempty"` - UntaggedVlan NullableVLAN `json:"untagged_vlan,omitempty"` - TaggedVlans []VLAN `json:"tagged_vlans,omitempty"` + RfChannelWidth NullableFloat64 `json:"rf_channel_width,omitempty"` + TxPower NullableInt32 `json:"tx_power,omitempty"` + UntaggedVlan NullableBriefVLAN `json:"untagged_vlan,omitempty"` + TaggedVlans []VLAN `json:"tagged_vlans,omitempty"` // Treat as if a cable is connected MarkConnected *bool `json:"mark_connected,omitempty"` - Cable NullableCable `json:"cable"` + Cable NullableBriefCable `json:"cable"` CableEnd string `json:"cable_end"` WirelessLink NullableNestedWirelessLink `json:"wireless_link"` LinkPeers []interface{} `json:"link_peers"` // Return the type of the peer link terminations, or None. - LinkPeersType string `json:"link_peers_type"` - WirelessLans []WirelessLAN `json:"wireless_lans,omitempty"` - Vrf NullableVRF `json:"vrf,omitempty"` - L2vpnTermination NullableL2VPNTermination `json:"l2vpn_termination"` - ConnectedEndpoints []interface{} `json:"connected_endpoints"` - ConnectedEndpointsType string `json:"connected_endpoints_type"` - ConnectedEndpointsReachable bool `json:"connected_endpoints_reachable"` - Tags []NestedTag `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` - Created NullableTime `json:"created"` - LastUpdated NullableTime `json:"last_updated"` - CountIpaddresses int32 `json:"count_ipaddresses"` - CountFhrpGroups int32 `json:"count_fhrp_groups"` - Occupied bool `json:"_occupied"` + LinkPeersType NullableString `json:"link_peers_type"` + WirelessLans []WirelessLAN `json:"wireless_lans,omitempty"` + Vrf NullableBriefVRF `json:"vrf,omitempty"` + L2vpnTermination NullableBriefL2VPNTermination `json:"l2vpn_termination"` + ConnectedEndpoints []interface{} `json:"connected_endpoints"` + ConnectedEndpointsType NullableString `json:"connected_endpoints_type"` + ConnectedEndpointsReachable bool `json:"connected_endpoints_reachable"` + Tags []NestedTag `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Created NullableTime `json:"created"` + LastUpdated NullableTime `json:"last_updated"` + CountIpaddresses int32 `json:"count_ipaddresses"` + CountFhrpGroups int32 `json:"count_fhrp_groups"` + Occupied bool `json:"_occupied"` AdditionalProperties map[string]interface{} } @@ -85,7 +86,7 @@ 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 int32, url string, display string, device Device, name string, type_ InterfaceType, cable NullableCable, cableEnd string, wirelessLink NullableNestedWirelessLink, linkPeers []interface{}, linkPeersType string, l2vpnTermination NullableL2VPNTermination, connectedEndpoints []interface{}, connectedEndpointsType string, connectedEndpointsReachable bool, created NullableTime, lastUpdated NullableTime, countIpaddresses int32, countFhrpGroups int32, occupied bool) *Interface { +func NewInterface(id int32, url string, display string, device BriefDevice, name string, type_ InterfaceType, cable NullableBriefCable, cableEnd string, wirelessLink NullableNestedWirelessLink, linkPeers []interface{}, linkPeersType NullableString, l2vpnTermination NullableBriefL2VPNTermination, connectedEndpoints []interface{}, connectedEndpointsType NullableString, connectedEndpointsReachable bool, created NullableTime, lastUpdated NullableTime, countIpaddresses int32, countFhrpGroups int32, occupied bool) *Interface { this := Interface{} this.Id = id this.Url = url @@ -166,6 +167,38 @@ func (o *Interface) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *Interface) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Interface) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *Interface) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *Interface) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *Interface) GetDisplay() string { if o == nil { @@ -191,9 +224,9 @@ func (o *Interface) SetDisplay(v string) { } // GetDevice returns the Device field value -func (o *Interface) GetDevice() Device { +func (o *Interface) GetDevice() BriefDevice { if o == nil { - var ret Device + var ret BriefDevice return ret } @@ -202,7 +235,7 @@ func (o *Interface) GetDevice() Device { // GetDeviceOk returns a tuple with the Device field value // and a boolean to check if the value has been set. -func (o *Interface) GetDeviceOk() (*Device, bool) { +func (o *Interface) GetDeviceOk() (*BriefDevice, bool) { if o == nil { return nil, false } @@ -210,7 +243,7 @@ func (o *Interface) GetDeviceOk() (*Device, bool) { } // SetDevice sets field value -func (o *Interface) SetDevice(v Device) { +func (o *Interface) SetDevice(v BriefDevice) { o.Device = v } @@ -247,9 +280,9 @@ func (o *Interface) SetVdcs(v []VirtualDeviceContext) { } // GetModule returns the Module field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *Interface) GetModule() Module { +func (o *Interface) GetModule() BriefModule { if o == nil || IsNil(o.Module.Get()) { - var ret Module + var ret BriefModule return ret } return *o.Module.Get() @@ -258,7 +291,7 @@ func (o *Interface) GetModule() Module { // GetModuleOk returns a tuple with the Module 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 *Interface) GetModuleOk() (*Module, bool) { +func (o *Interface) GetModuleOk() (*BriefModule, bool) { if o == nil { return nil, false } @@ -274,8 +307,8 @@ func (o *Interface) HasModule() bool { return false } -// SetModule gets a reference to the given NullableModule and assigns it to the Module field. -func (o *Interface) SetModule(v Module) { +// SetModule gets a reference to the given NullableBriefModule and assigns it to the Module field. +func (o *Interface) SetModule(v BriefModule) { o.Module.Set(&v) } @@ -1099,9 +1132,9 @@ func (o *Interface) UnsetTxPower() { } // GetUntaggedVlan returns the UntaggedVlan field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *Interface) GetUntaggedVlan() VLAN { +func (o *Interface) GetUntaggedVlan() BriefVLAN { if o == nil || IsNil(o.UntaggedVlan.Get()) { - var ret VLAN + var ret BriefVLAN return ret } return *o.UntaggedVlan.Get() @@ -1110,7 +1143,7 @@ func (o *Interface) GetUntaggedVlan() VLAN { // GetUntaggedVlanOk returns a tuple with the UntaggedVlan 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 *Interface) GetUntaggedVlanOk() (*VLAN, bool) { +func (o *Interface) GetUntaggedVlanOk() (*BriefVLAN, bool) { if o == nil { return nil, false } @@ -1126,8 +1159,8 @@ func (o *Interface) HasUntaggedVlan() bool { return false } -// SetUntaggedVlan gets a reference to the given NullableVLAN and assigns it to the UntaggedVlan field. -func (o *Interface) SetUntaggedVlan(v VLAN) { +// SetUntaggedVlan gets a reference to the given NullableBriefVLAN and assigns it to the UntaggedVlan field. +func (o *Interface) SetUntaggedVlan(v BriefVLAN) { o.UntaggedVlan.Set(&v) } @@ -1206,10 +1239,10 @@ func (o *Interface) SetMarkConnected(v bool) { } // GetCable returns the Cable field value -// If the value is explicit nil, the zero value for Cable will be returned -func (o *Interface) GetCable() Cable { +// If the value is explicit nil, the zero value for BriefCable will be returned +func (o *Interface) GetCable() BriefCable { if o == nil || o.Cable.Get() == nil { - var ret Cable + var ret BriefCable return ret } @@ -1219,7 +1252,7 @@ func (o *Interface) GetCable() Cable { // GetCableOk returns a tuple with the Cable 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 *Interface) GetCableOk() (*Cable, bool) { +func (o *Interface) GetCableOk() (*BriefCable, bool) { if o == nil { return nil, false } @@ -1227,7 +1260,7 @@ func (o *Interface) GetCableOk() (*Cable, bool) { } // SetCable sets field value -func (o *Interface) SetCable(v Cable) { +func (o *Interface) SetCable(v BriefCable) { o.Cable.Set(&v) } @@ -1306,27 +1339,29 @@ func (o *Interface) SetLinkPeers(v []interface{}) { } // GetLinkPeersType returns the LinkPeersType field value +// If the value is explicit nil, the zero value for string will be returned func (o *Interface) GetLinkPeersType() string { - if o == nil { + if o == nil || o.LinkPeersType.Get() == nil { var ret string return ret } - return o.LinkPeersType + return *o.LinkPeersType.Get() } // GetLinkPeersTypeOk returns a tuple with the LinkPeersType 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 *Interface) GetLinkPeersTypeOk() (*string, bool) { if o == nil { return nil, false } - return &o.LinkPeersType, true + return o.LinkPeersType.Get(), o.LinkPeersType.IsSet() } // SetLinkPeersType sets field value func (o *Interface) SetLinkPeersType(v string) { - o.LinkPeersType = v + o.LinkPeersType.Set(&v) } // GetWirelessLans returns the WirelessLans field value if set, zero value otherwise. @@ -1362,9 +1397,9 @@ func (o *Interface) SetWirelessLans(v []WirelessLAN) { } // GetVrf returns the Vrf field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *Interface) GetVrf() VRF { +func (o *Interface) GetVrf() BriefVRF { if o == nil || IsNil(o.Vrf.Get()) { - var ret VRF + var ret BriefVRF return ret } return *o.Vrf.Get() @@ -1373,7 +1408,7 @@ func (o *Interface) GetVrf() VRF { // GetVrfOk returns a tuple with the Vrf 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 *Interface) GetVrfOk() (*VRF, bool) { +func (o *Interface) GetVrfOk() (*BriefVRF, bool) { if o == nil { return nil, false } @@ -1389,8 +1424,8 @@ func (o *Interface) HasVrf() bool { return false } -// SetVrf gets a reference to the given NullableVRF and assigns it to the Vrf field. -func (o *Interface) SetVrf(v VRF) { +// SetVrf gets a reference to the given NullableBriefVRF and assigns it to the Vrf field. +func (o *Interface) SetVrf(v BriefVRF) { o.Vrf.Set(&v) } @@ -1405,10 +1440,10 @@ func (o *Interface) UnsetVrf() { } // GetL2vpnTermination returns the L2vpnTermination field value -// If the value is explicit nil, the zero value for L2VPNTermination will be returned -func (o *Interface) GetL2vpnTermination() L2VPNTermination { +// If the value is explicit nil, the zero value for BriefL2VPNTermination will be returned +func (o *Interface) GetL2vpnTermination() BriefL2VPNTermination { if o == nil || o.L2vpnTermination.Get() == nil { - var ret L2VPNTermination + var ret BriefL2VPNTermination return ret } @@ -1418,7 +1453,7 @@ func (o *Interface) GetL2vpnTermination() L2VPNTermination { // GetL2vpnTerminationOk returns a tuple with the L2vpnTermination 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 *Interface) GetL2vpnTerminationOk() (*L2VPNTermination, bool) { +func (o *Interface) GetL2vpnTerminationOk() (*BriefL2VPNTermination, bool) { if o == nil { return nil, false } @@ -1426,11 +1461,12 @@ func (o *Interface) GetL2vpnTerminationOk() (*L2VPNTermination, bool) { } // SetL2vpnTermination sets field value -func (o *Interface) SetL2vpnTermination(v L2VPNTermination) { +func (o *Interface) SetL2vpnTermination(v BriefL2VPNTermination) { o.L2vpnTermination.Set(&v) } // GetConnectedEndpoints returns the ConnectedEndpoints field value +// If the value is explicit nil, the zero value for []interface{} will be returned func (o *Interface) GetConnectedEndpoints() []interface{} { if o == nil { var ret []interface{} @@ -1442,8 +1478,9 @@ func (o *Interface) GetConnectedEndpoints() []interface{} { // GetConnectedEndpointsOk returns a tuple with the ConnectedEndpoints 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 *Interface) GetConnectedEndpointsOk() ([]interface{}, bool) { - if o == nil { + if o == nil || IsNil(o.ConnectedEndpoints) { return nil, false } return o.ConnectedEndpoints, true @@ -1455,27 +1492,29 @@ func (o *Interface) SetConnectedEndpoints(v []interface{}) { } // GetConnectedEndpointsType returns the ConnectedEndpointsType field value +// If the value is explicit nil, the zero value for string will be returned func (o *Interface) GetConnectedEndpointsType() string { - if o == nil { + if o == nil || o.ConnectedEndpointsType.Get() == nil { var ret string return ret } - return o.ConnectedEndpointsType + return *o.ConnectedEndpointsType.Get() } // GetConnectedEndpointsTypeOk returns a tuple with the ConnectedEndpointsType 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 *Interface) GetConnectedEndpointsTypeOk() (*string, bool) { if o == nil { return nil, false } - return &o.ConnectedEndpointsType, true + return o.ConnectedEndpointsType.Get(), o.ConnectedEndpointsType.IsSet() } // SetConnectedEndpointsType sets field value func (o *Interface) SetConnectedEndpointsType(v string) { - o.ConnectedEndpointsType = v + o.ConnectedEndpointsType.Set(&v) } // GetConnectedEndpointsReachable returns the ConnectedEndpointsReachable field value @@ -1702,6 +1741,9 @@ func (o Interface) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["device"] = o.Device if !IsNil(o.Vdcs) { @@ -1785,7 +1827,7 @@ func (o Interface) ToMap() (map[string]interface{}, error) { toSerialize["cable_end"] = o.CableEnd toSerialize["wireless_link"] = o.WirelessLink.Get() toSerialize["link_peers"] = o.LinkPeers - toSerialize["link_peers_type"] = o.LinkPeersType + toSerialize["link_peers_type"] = o.LinkPeersType.Get() if !IsNil(o.WirelessLans) { toSerialize["wireless_lans"] = o.WirelessLans } @@ -1793,8 +1835,10 @@ func (o Interface) ToMap() (map[string]interface{}, error) { toSerialize["vrf"] = o.Vrf.Get() } toSerialize["l2vpn_termination"] = o.L2vpnTermination.Get() - toSerialize["connected_endpoints"] = o.ConnectedEndpoints - toSerialize["connected_endpoints_type"] = o.ConnectedEndpointsType + if o.ConnectedEndpoints != nil { + toSerialize["connected_endpoints"] = o.ConnectedEndpoints + } + toSerialize["connected_endpoints_type"] = o.ConnectedEndpointsType.Get() toSerialize["connected_endpoints_reachable"] = o.ConnectedEndpointsReachable if !IsNil(o.Tags) { toSerialize["tags"] = o.Tags @@ -1871,6 +1915,7 @@ func (o *Interface) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "device") delete(additionalProperties, "vdcs") diff --git a/model_interface_duplex.go b/model_interface_duplex.go index aa73ec088..46213c1b7 100644 --- a/model_interface_duplex.go +++ b/model_interface_duplex.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_interface_duplex_label.go b/model_interface_duplex_label.go index eaab1a072..f6e785318 100644 --- a/model_interface_duplex_label.go +++ b/model_interface_duplex_label.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_interface_duplex_value.go b/model_interface_duplex_value.go index 93e3ce120..7028f1689 100644 --- a/model_interface_duplex_value.go +++ b/model_interface_duplex_value.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_interface_mode.go b/model_interface_mode.go index 9441de5dd..03bf867ca 100644 --- a/model_interface_mode.go +++ b/model_interface_mode.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_interface_mode_label.go b/model_interface_mode_label.go index cde6b2ae1..c02e706d0 100644 --- a/model_interface_mode_label.go +++ b/model_interface_mode_label.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 f057fe019..18e3b15bf 100644 --- a/model_interface_mode_value.go +++ b/model_interface_mode_value.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_interface_poe_mode.go b/model_interface_poe_mode.go index 8f365d75e..e43062b73 100644 --- a/model_interface_poe_mode.go +++ b/model_interface_poe_mode.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_interface_poe_mode_label.go b/model_interface_poe_mode_label.go index 7736be9cc..8959e88fb 100644 --- a/model_interface_poe_mode_label.go +++ b/model_interface_poe_mode_label.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_interface_poe_mode_value.go b/model_interface_poe_mode_value.go index 4e044ad15..0ce4f7ddc 100644 --- a/model_interface_poe_mode_value.go +++ b/model_interface_poe_mode_value.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_interface_poe_type.go b/model_interface_poe_type.go index ef7c2e113..4b2fc4d4b 100644 --- a/model_interface_poe_type.go +++ b/model_interface_poe_type.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_interface_poe_type_label.go b/model_interface_poe_type_label.go index 21265631b..5c1d1290f 100644 --- a/model_interface_poe_type_label.go +++ b/model_interface_poe_type_label.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_interface_poe_type_value.go b/model_interface_poe_type_value.go index d1f9f85a3..c90d1ac45 100644 --- a/model_interface_poe_type_value.go +++ b/model_interface_poe_type_value.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_interface_request.go b/model_interface_request.go index b066995e9..ec7f7c294 100644 --- a/model_interface_request.go +++ b/model_interface_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,10 +20,10 @@ var _ MappedNullable = &InterfaceRequest{} // InterfaceRequest Adds support for custom fields and tags. type InterfaceRequest struct { - Device DeviceRequest `json:"device"` - Vdcs []int32 `json:"vdcs,omitempty"` - Module NullableModuleRequest `json:"module,omitempty"` - Name string `json:"name"` + Device BriefDeviceRequest `json:"device"` + Vdcs []int32 `json:"vdcs,omitempty"` + Module NullableBriefModuleRequest `json:"module,omitempty"` + Name string `json:"name"` // Physical label Label *string `json:"label,omitempty"` Type InterfaceTypeValue `json:"type"` @@ -47,16 +47,16 @@ type InterfaceRequest struct { // Populated by selected channel (if set) RfChannelFrequency NullableFloat64 `json:"rf_channel_frequency,omitempty"` // Populated by selected channel (if set) - RfChannelWidth NullableFloat64 `json:"rf_channel_width,omitempty"` - TxPower NullableInt32 `json:"tx_power,omitempty"` - UntaggedVlan NullableVLANRequest `json:"untagged_vlan,omitempty"` - TaggedVlans []int32 `json:"tagged_vlans,omitempty"` + RfChannelWidth NullableFloat64 `json:"rf_channel_width,omitempty"` + TxPower NullableInt32 `json:"tx_power,omitempty"` + UntaggedVlan NullableBriefVLANRequest `json:"untagged_vlan,omitempty"` + TaggedVlans []int32 `json:"tagged_vlans,omitempty"` // Treat as if a cable is connected - MarkConnected *bool `json:"mark_connected,omitempty"` - WirelessLans []int32 `json:"wireless_lans,omitempty"` - Vrf NullableVRFRequest `json:"vrf,omitempty"` - Tags []NestedTagRequest `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + MarkConnected *bool `json:"mark_connected,omitempty"` + WirelessLans []int32 `json:"wireless_lans,omitempty"` + Vrf NullableBriefVRFRequest `json:"vrf,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -66,7 +66,7 @@ type _InterfaceRequest InterfaceRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInterfaceRequest(device DeviceRequest, name string, type_ InterfaceTypeValue) *InterfaceRequest { +func NewInterfaceRequest(device BriefDeviceRequest, name string, type_ InterfaceTypeValue) *InterfaceRequest { this := InterfaceRequest{} this.Device = device this.Name = name @@ -83,9 +83,9 @@ func NewInterfaceRequestWithDefaults() *InterfaceRequest { } // GetDevice returns the Device field value -func (o *InterfaceRequest) GetDevice() DeviceRequest { +func (o *InterfaceRequest) GetDevice() BriefDeviceRequest { if o == nil { - var ret DeviceRequest + var ret BriefDeviceRequest return ret } @@ -94,7 +94,7 @@ func (o *InterfaceRequest) GetDevice() DeviceRequest { // GetDeviceOk returns a tuple with the Device field value // and a boolean to check if the value has been set. -func (o *InterfaceRequest) GetDeviceOk() (*DeviceRequest, bool) { +func (o *InterfaceRequest) GetDeviceOk() (*BriefDeviceRequest, bool) { if o == nil { return nil, false } @@ -102,7 +102,7 @@ func (o *InterfaceRequest) GetDeviceOk() (*DeviceRequest, bool) { } // SetDevice sets field value -func (o *InterfaceRequest) SetDevice(v DeviceRequest) { +func (o *InterfaceRequest) SetDevice(v BriefDeviceRequest) { o.Device = v } @@ -139,9 +139,9 @@ func (o *InterfaceRequest) SetVdcs(v []int32) { } // GetModule returns the Module field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *InterfaceRequest) GetModule() ModuleRequest { +func (o *InterfaceRequest) GetModule() BriefModuleRequest { if o == nil || IsNil(o.Module.Get()) { - var ret ModuleRequest + var ret BriefModuleRequest return ret } return *o.Module.Get() @@ -150,7 +150,7 @@ func (o *InterfaceRequest) GetModule() ModuleRequest { // GetModuleOk returns a tuple with the Module 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 *InterfaceRequest) GetModuleOk() (*ModuleRequest, bool) { +func (o *InterfaceRequest) GetModuleOk() (*BriefModuleRequest, bool) { if o == nil { return nil, false } @@ -166,8 +166,8 @@ func (o *InterfaceRequest) HasModule() bool { return false } -// SetModule gets a reference to the given NullableModuleRequest and assigns it to the Module field. -func (o *InterfaceRequest) SetModule(v ModuleRequest) { +// SetModule gets a reference to the given NullableBriefModuleRequest and assigns it to the Module field. +func (o *InterfaceRequest) SetModule(v BriefModuleRequest) { o.Module.Set(&v) } @@ -991,9 +991,9 @@ func (o *InterfaceRequest) UnsetTxPower() { } // GetUntaggedVlan returns the UntaggedVlan field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *InterfaceRequest) GetUntaggedVlan() VLANRequest { +func (o *InterfaceRequest) GetUntaggedVlan() BriefVLANRequest { if o == nil || IsNil(o.UntaggedVlan.Get()) { - var ret VLANRequest + var ret BriefVLANRequest return ret } return *o.UntaggedVlan.Get() @@ -1002,7 +1002,7 @@ func (o *InterfaceRequest) GetUntaggedVlan() VLANRequest { // GetUntaggedVlanOk returns a tuple with the UntaggedVlan 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 *InterfaceRequest) GetUntaggedVlanOk() (*VLANRequest, bool) { +func (o *InterfaceRequest) GetUntaggedVlanOk() (*BriefVLANRequest, bool) { if o == nil { return nil, false } @@ -1018,8 +1018,8 @@ func (o *InterfaceRequest) HasUntaggedVlan() bool { return false } -// SetUntaggedVlan gets a reference to the given NullableVLANRequest and assigns it to the UntaggedVlan field. -func (o *InterfaceRequest) SetUntaggedVlan(v VLANRequest) { +// SetUntaggedVlan gets a reference to the given NullableBriefVLANRequest and assigns it to the UntaggedVlan field. +func (o *InterfaceRequest) SetUntaggedVlan(v BriefVLANRequest) { o.UntaggedVlan.Set(&v) } @@ -1130,9 +1130,9 @@ func (o *InterfaceRequest) SetWirelessLans(v []int32) { } // GetVrf returns the Vrf field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *InterfaceRequest) GetVrf() VRFRequest { +func (o *InterfaceRequest) GetVrf() BriefVRFRequest { if o == nil || IsNil(o.Vrf.Get()) { - var ret VRFRequest + var ret BriefVRFRequest return ret } return *o.Vrf.Get() @@ -1141,7 +1141,7 @@ func (o *InterfaceRequest) GetVrf() VRFRequest { // GetVrfOk returns a tuple with the Vrf 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 *InterfaceRequest) GetVrfOk() (*VRFRequest, bool) { +func (o *InterfaceRequest) GetVrfOk() (*BriefVRFRequest, bool) { if o == nil { return nil, false } @@ -1157,8 +1157,8 @@ func (o *InterfaceRequest) HasVrf() bool { return false } -// SetVrf gets a reference to the given NullableVRFRequest and assigns it to the Vrf field. -func (o *InterfaceRequest) SetVrf(v VRFRequest) { +// SetVrf gets a reference to the given NullableBriefVRFRequest and assigns it to the Vrf field. +func (o *InterfaceRequest) SetVrf(v BriefVRFRequest) { o.Vrf.Set(&v) } diff --git a/model_interface_request_duplex.go b/model_interface_request_duplex.go index 2cfab20fa..90ead5621 100644 --- a/model_interface_request_duplex.go +++ b/model_interface_request_duplex.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_interface_rf_channel.go b/model_interface_rf_channel.go index 6cdd517fa..e41cf6b3e 100644 --- a/model_interface_rf_channel.go +++ b/model_interface_rf_channel.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_interface_rf_channel_label.go b/model_interface_rf_channel_label.go index c6ca5df46..71e8759e5 100644 --- a/model_interface_rf_channel_label.go +++ b/model_interface_rf_channel_label.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_interface_rf_channel_value.go b/model_interface_rf_channel_value.go index 5a426d213..b09ec6111 100644 --- a/model_interface_rf_channel_value.go +++ b/model_interface_rf_channel_value.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_interface_rf_role.go b/model_interface_rf_role.go index a7f8f1cd9..318f5e285 100644 --- a/model_interface_rf_role.go +++ b/model_interface_rf_role.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_interface_rf_role_label.go b/model_interface_rf_role_label.go index 201cb2af4..d7c55d970 100644 --- a/model_interface_rf_role_label.go +++ b/model_interface_rf_role_label.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_interface_rf_role_value.go b/model_interface_rf_role_value.go index 364371e9c..8f1620c7f 100644 --- a/model_interface_rf_role_value.go +++ b/model_interface_rf_role_value.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 37184eb6b..f3f5e3831 100644 --- a/model_interface_template.go +++ b/model_interface_template.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,11 +21,11 @@ var _ MappedNullable = &InterfaceTemplate{} // InterfaceTemplate Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 InterfaceTemplate struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - DeviceType NullableDeviceType `json:"device_type,omitempty"` - ModuleType NullableModuleType `json:"module_type,omitempty"` + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + DeviceType NullableBriefDeviceType `json:"device_type,omitempty"` + ModuleType NullableBriefModuleType `json:"module_type,omitempty"` // {module} is accepted as a substitution for the module bay position when attached to a module type. Name string `json:"name"` // Physical label @@ -142,9 +142,9 @@ func (o *InterfaceTemplate) SetDisplay(v string) { } // GetDeviceType returns the DeviceType field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *InterfaceTemplate) GetDeviceType() DeviceType { +func (o *InterfaceTemplate) GetDeviceType() BriefDeviceType { if o == nil || IsNil(o.DeviceType.Get()) { - var ret DeviceType + var ret BriefDeviceType return ret } return *o.DeviceType.Get() @@ -153,7 +153,7 @@ func (o *InterfaceTemplate) GetDeviceType() DeviceType { // GetDeviceTypeOk returns a tuple with the DeviceType 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 *InterfaceTemplate) GetDeviceTypeOk() (*DeviceType, bool) { +func (o *InterfaceTemplate) GetDeviceTypeOk() (*BriefDeviceType, bool) { if o == nil { return nil, false } @@ -169,8 +169,8 @@ func (o *InterfaceTemplate) HasDeviceType() bool { return false } -// SetDeviceType gets a reference to the given NullableDeviceType and assigns it to the DeviceType field. -func (o *InterfaceTemplate) SetDeviceType(v DeviceType) { +// SetDeviceType gets a reference to the given NullableBriefDeviceType and assigns it to the DeviceType field. +func (o *InterfaceTemplate) SetDeviceType(v BriefDeviceType) { o.DeviceType.Set(&v) } @@ -185,9 +185,9 @@ func (o *InterfaceTemplate) UnsetDeviceType() { } // GetModuleType returns the ModuleType field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *InterfaceTemplate) GetModuleType() ModuleType { +func (o *InterfaceTemplate) GetModuleType() BriefModuleType { if o == nil || IsNil(o.ModuleType.Get()) { - var ret ModuleType + var ret BriefModuleType return ret } return *o.ModuleType.Get() @@ -196,7 +196,7 @@ func (o *InterfaceTemplate) GetModuleType() ModuleType { // GetModuleTypeOk returns a tuple with the ModuleType 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 *InterfaceTemplate) GetModuleTypeOk() (*ModuleType, bool) { +func (o *InterfaceTemplate) GetModuleTypeOk() (*BriefModuleType, bool) { if o == nil { return nil, false } @@ -212,8 +212,8 @@ func (o *InterfaceTemplate) HasModuleType() bool { return false } -// SetModuleType gets a reference to the given NullableModuleType and assigns it to the ModuleType field. -func (o *InterfaceTemplate) SetModuleType(v ModuleType) { +// SetModuleType gets a reference to the given NullableBriefModuleType and assigns it to the ModuleType field. +func (o *InterfaceTemplate) SetModuleType(v BriefModuleType) { o.ModuleType.Set(&v) } diff --git a/model_interface_template_poe_mode.go b/model_interface_template_poe_mode.go index 7811b7e10..5b25f7073 100644 --- a/model_interface_template_poe_mode.go +++ b/model_interface_template_poe_mode.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_interface_template_poe_type.go b/model_interface_template_poe_type.go index 2c1cb4d01..dfa2860eb 100644 --- a/model_interface_template_poe_type.go +++ b/model_interface_template_poe_type.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_interface_template_request.go b/model_interface_template_request.go index bea10caaf..24146767b 100644 --- a/model_interface_template_request.go +++ b/model_interface_template_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,8 +20,8 @@ var _ MappedNullable = &InterfaceTemplateRequest{} // InterfaceTemplateRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 InterfaceTemplateRequest struct { - DeviceType NullableDeviceTypeRequest `json:"device_type,omitempty"` - ModuleType NullableModuleTypeRequest `json:"module_type,omitempty"` + DeviceType NullableBriefDeviceTypeRequest `json:"device_type,omitempty"` + ModuleType NullableBriefModuleTypeRequest `json:"module_type,omitempty"` // {module} is accepted as a substitution for the module bay position when attached to a module type. Name string `json:"name"` // Physical label @@ -59,9 +59,9 @@ func NewInterfaceTemplateRequestWithDefaults() *InterfaceTemplateRequest { } // GetDeviceType returns the DeviceType field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *InterfaceTemplateRequest) GetDeviceType() DeviceTypeRequest { +func (o *InterfaceTemplateRequest) GetDeviceType() BriefDeviceTypeRequest { if o == nil || IsNil(o.DeviceType.Get()) { - var ret DeviceTypeRequest + var ret BriefDeviceTypeRequest return ret } return *o.DeviceType.Get() @@ -70,7 +70,7 @@ func (o *InterfaceTemplateRequest) GetDeviceType() DeviceTypeRequest { // GetDeviceTypeOk returns a tuple with the DeviceType 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 *InterfaceTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool) { +func (o *InterfaceTemplateRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool) { if o == nil { return nil, false } @@ -86,8 +86,8 @@ func (o *InterfaceTemplateRequest) HasDeviceType() bool { return false } -// SetDeviceType gets a reference to the given NullableDeviceTypeRequest and assigns it to the DeviceType field. -func (o *InterfaceTemplateRequest) SetDeviceType(v DeviceTypeRequest) { +// SetDeviceType gets a reference to the given NullableBriefDeviceTypeRequest and assigns it to the DeviceType field. +func (o *InterfaceTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest) { o.DeviceType.Set(&v) } @@ -102,9 +102,9 @@ func (o *InterfaceTemplateRequest) UnsetDeviceType() { } // GetModuleType returns the ModuleType field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *InterfaceTemplateRequest) GetModuleType() ModuleTypeRequest { +func (o *InterfaceTemplateRequest) GetModuleType() BriefModuleTypeRequest { if o == nil || IsNil(o.ModuleType.Get()) { - var ret ModuleTypeRequest + var ret BriefModuleTypeRequest return ret } return *o.ModuleType.Get() @@ -113,7 +113,7 @@ func (o *InterfaceTemplateRequest) GetModuleType() ModuleTypeRequest { // GetModuleTypeOk returns a tuple with the ModuleType 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 *InterfaceTemplateRequest) GetModuleTypeOk() (*ModuleTypeRequest, bool) { +func (o *InterfaceTemplateRequest) GetModuleTypeOk() (*BriefModuleTypeRequest, bool) { if o == nil { return nil, false } @@ -129,8 +129,8 @@ func (o *InterfaceTemplateRequest) HasModuleType() bool { return false } -// SetModuleType gets a reference to the given NullableModuleTypeRequest and assigns it to the ModuleType field. -func (o *InterfaceTemplateRequest) SetModuleType(v ModuleTypeRequest) { +// SetModuleType gets a reference to the given NullableBriefModuleTypeRequest and assigns it to the ModuleType field. +func (o *InterfaceTemplateRequest) SetModuleType(v BriefModuleTypeRequest) { o.ModuleType.Set(&v) } diff --git a/model_interface_template_request_poe_mode.go b/model_interface_template_request_poe_mode.go index f2b93a781..d1e5abada 100644 --- a/model_interface_template_request_poe_mode.go +++ b/model_interface_template_request_poe_mode.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_interface_template_request_poe_type.go b/model_interface_template_request_poe_type.go index 1f35567e1..2e0d41f73 100644 --- a/model_interface_template_request_poe_type.go +++ b/model_interface_template_request_poe_type.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_interface_template_request_rf_role.go b/model_interface_template_request_rf_role.go index db39e8514..fb62c6197 100644 --- a/model_interface_template_request_rf_role.go +++ b/model_interface_template_request_rf_role.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_interface_template_rf_role.go b/model_interface_template_rf_role.go index 3eaf185c1..6bbd79104 100644 --- a/model_interface_template_rf_role.go +++ b/model_interface_template_rf_role.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_interface_type.go b/model_interface_type.go index d5a16d3e2..479df97ab 100644 --- a/model_interface_type.go +++ b/model_interface_type.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_interface_type_label.go b/model_interface_type_label.go index 99dedfa78..93d6eb690 100644 --- a/model_interface_type_label.go +++ b/model_interface_type_label.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -28,10 +28,12 @@ const ( INTERFACETYPELABEL__100_BASE_TX__10_100_ME InterfaceTypeLabel = "100BASE-TX (10/100ME)" INTERFACETYPELABEL__100_BASE_T1__10_100_ME_SINGLE_PAIR InterfaceTypeLabel = "100BASE-T1 (10/100ME Single Pair)" INTERFACETYPELABEL__1000_BASE_T__1_GE InterfaceTypeLabel = "1000BASE-T (1GE)" + INTERFACETYPELABEL__1000_BASE_TX__1_GE InterfaceTypeLabel = "1000BASE-TX (1GE)" INTERFACETYPELABEL__2_5_GBASE_T__2_5_GE InterfaceTypeLabel = "2.5GBASE-T (2.5GE)" INTERFACETYPELABEL__5_GBASE_T__5_GE InterfaceTypeLabel = "5GBASE-T (5GE)" INTERFACETYPELABEL__10_GBASE_T__10_GE InterfaceTypeLabel = "10GBASE-T (10GE)" INTERFACETYPELABEL__10_GBASE_CX4__10_GE InterfaceTypeLabel = "10GBASE-CX4 (10GE)" + INTERFACETYPELABEL_SFP__100_ME InterfaceTypeLabel = "SFP (100ME)" INTERFACETYPELABEL_GBIC__1_GE InterfaceTypeLabel = "GBIC (1GE)" INTERFACETYPELABEL_SFP__1_GE InterfaceTypeLabel = "SFP (1GE)" INTERFACETYPELABEL_SFP__10_GE InterfaceTypeLabel = "SFP+ (10GE)" @@ -81,7 +83,9 @@ const ( INTERFACETYPELABEL_IEEE_802_11AD InterfaceTypeLabel = "IEEE 802.11ad" INTERFACETYPELABEL_IEEE_802_11AX InterfaceTypeLabel = "IEEE 802.11ax" INTERFACETYPELABEL_IEEE_802_11AY InterfaceTypeLabel = "IEEE 802.11ay" + INTERFACETYPELABEL_IEEE_802_11BE InterfaceTypeLabel = "IEEE 802.11be" INTERFACETYPELABEL_IEEE_802_15_1__BLUETOOTH InterfaceTypeLabel = "IEEE 802.15.1 (Bluetooth)" + INTERFACETYPELABEL_IEEE_802_15_4__LR_WPAN InterfaceTypeLabel = "IEEE 802.15.4 (LR-WPAN)" INTERFACETYPELABEL_OTHER__WIRELESS InterfaceTypeLabel = "Other (Wireless)" INTERFACETYPELABEL_GSM InterfaceTypeLabel = "GSM" INTERFACETYPELABEL_CDMA InterfaceTypeLabel = "CDMA" @@ -157,10 +161,12 @@ var AllowedInterfaceTypeLabelEnumValues = []InterfaceTypeLabel{ "100BASE-TX (10/100ME)", "100BASE-T1 (10/100ME Single Pair)", "1000BASE-T (1GE)", + "1000BASE-TX (1GE)", "2.5GBASE-T (2.5GE)", "5GBASE-T (5GE)", "10GBASE-T (10GE)", "10GBASE-CX4 (10GE)", + "SFP (100ME)", "GBIC (1GE)", "SFP (1GE)", "SFP+ (10GE)", @@ -210,7 +216,9 @@ var AllowedInterfaceTypeLabelEnumValues = []InterfaceTypeLabel{ "IEEE 802.11ad", "IEEE 802.11ax", "IEEE 802.11ay", + "IEEE 802.11be", "IEEE 802.15.1 (Bluetooth)", + "IEEE 802.15.4 (LR-WPAN)", "Other (Wireless)", "GSM", "CDMA", diff --git a/model_interface_type_value.go b/model_interface_type_value.go index 324edde78..f0b3d03af 100644 --- a/model_interface_type_value.go +++ b/model_interface_type_value.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,7 +15,7 @@ import ( "fmt" ) -// InterfaceTypeValue * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other +// InterfaceTypeValue * `virtual` - Virtual * `bridge` - Bridge * `lag` - Link Aggregation Group (LAG) * `100base-fx` - 100BASE-FX (10/100ME FIBER) * `100base-lfx` - 100BASE-LFX (10/100ME FIBER) * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) * `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) * `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) * `10gbase-x-xfp` - XFP (10GE) * `10gbase-x-xenpak` - XENPAK (10GE) * `10gbase-x-x2` - X2 (10GE) * `25gbase-x-sfp28` - SFP28 (25GE) * `50gbase-x-sfp56` - SFP56 (50GE) * `40gbase-x-qsfpp` - QSFP+ (40GE) * `50gbase-x-sfp28` - QSFP28 (50GE) * `100gbase-x-cfp` - CFP (100GE) * `100gbase-x-cfp2` - CFP2 (100GE) * `200gbase-x-cfp2` - CFP2 (200GE) * `400gbase-x-cfp2` - CFP2 (400GE) * `100gbase-x-cfp4` - CFP4 (100GE) * `100gbase-x-cxp` - CXP (100GE) * `100gbase-x-cpak` - Cisco CPAK (100GE) * `100gbase-x-dsfp` - DSFP (100GE) * `100gbase-x-sfpdd` - SFP-DD (100GE) * `100gbase-x-qsfp28` - QSFP28 (100GE) * `100gbase-x-qsfpdd` - QSFP-DD (100GE) * `200gbase-x-qsfp56` - QSFP56 (200GE) * `200gbase-x-qsfpdd` - QSFP-DD (200GE) * `400gbase-x-qsfp112` - QSFP112 (400GE) * `400gbase-x-qsfpdd` - QSFP-DD (400GE) * `400gbase-x-osfp` - OSFP (400GE) * `400gbase-x-osfp-rhs` - OSFP-RHS (400GE) * `400gbase-x-cdfp` - CDFP (400GE) * `400gbase-x-cfp8` - CPF8 (400GE) * `800gbase-x-qsfpdd` - QSFP-DD (800GE) * `800gbase-x-osfp` - OSFP (800GE) * `1000base-kx` - 1000BASE-KX (1GE) * `2.5gbase-kx` - 2.5GBASE-KX (2.5GE) * `5gbase-kr` - 5GBASE-KR (5GE) * `10gbase-kr` - 10GBASE-KR (10GE) * `10gbase-kx4` - 10GBASE-KX4 (10GE) * `25gbase-kr` - 25GBASE-KR (25GE) * `40gbase-kr4` - 40GBASE-KR4 (40GE) * `50gbase-kr` - 50GBASE-KR (50GE) * `100gbase-kp4` - 100GBASE-KP4 (100GE) * `100gbase-kr2` - 100GBASE-KR2 (100GE) * `100gbase-kr4` - 100GBASE-KR4 (100GE) * `ieee802.11a` - IEEE 802.11a * `ieee802.11g` - IEEE 802.11b/g * `ieee802.11n` - IEEE 802.11n * `ieee802.11ac` - IEEE 802.11ac * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay * `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) * `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA * `lte` - LTE * `4g` - 4G * `5g` - 5G * `sonet-oc3` - OC-3/STM-1 * `sonet-oc12` - OC-12/STM-4 * `sonet-oc48` - OC-48/STM-16 * `sonet-oc192` - OC-192/STM-64 * `sonet-oc768` - OC-768/STM-256 * `sonet-oc1920` - OC-1920/STM-640 * `sonet-oc3840` - OC-3840/STM-1234 * `1gfc-sfp` - SFP (1GFC) * `2gfc-sfp` - SFP (2GFC) * `4gfc-sfp` - SFP (4GFC) * `8gfc-sfpp` - SFP+ (8GFC) * `16gfc-sfpp` - SFP+ (16GFC) * `32gfc-sfp28` - SFP28 (32GFC) * `32gfc-sfpp` - SFP+ (32GFC) * `64gfc-qsfpp` - QSFP+ (64GFC) * `64gfc-sfpdd` - SFP-DD (64GFC) * `64gfc-sfpp` - SFP+ (64GFC) * `128gfc-qsfp28` - QSFP28 (128GFC) * `infiniband-sdr` - SDR (2 Gbps) * `infiniband-ddr` - DDR (4 Gbps) * `infiniband-qdr` - QDR (8 Gbps) * `infiniband-fdr10` - FDR10 (10 Gbps) * `infiniband-fdr` - FDR (13.5 Gbps) * `infiniband-edr` - EDR (25 Gbps) * `infiniband-hdr` - HDR (50 Gbps) * `infiniband-ndr` - NDR (100 Gbps) * `infiniband-xdr` - XDR (250 Gbps) * `t1` - T1 (1.544 Mbps) * `e1` - E1 (2.048 Mbps) * `t3` - T3 (45 Mbps) * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) * `gpon` - GPON (2.5 Gbps / 1.25 Gbps) * `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps) * `xgs-pon` - XGS-PON (10 Gbps) * `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps) * `25g-pon` - 25G-PON (25 Gbps) * `50g-pon` - 50G-PON (50 Gbps) * `cisco-stackwise` - Cisco StackWise * `cisco-stackwise-plus` - Cisco StackWise Plus * `cisco-flexstack` - Cisco FlexStack * `cisco-flexstack-plus` - Cisco FlexStack Plus * `cisco-stackwise-80` - Cisco StackWise-80 * `cisco-stackwise-160` - Cisco StackWise-160 * `cisco-stackwise-320` - Cisco StackWise-320 * `cisco-stackwise-480` - Cisco StackWise-480 * `cisco-stackwise-1t` - Cisco StackWise-1T * `juniper-vcp` - Juniper VCP * `extreme-summitstack` - Extreme SummitStack * `extreme-summitstack-128` - Extreme SummitStack-128 * `extreme-summitstack-256` - Extreme SummitStack-256 * `extreme-summitstack-512` - Extreme SummitStack-512 * `other` - Other type InterfaceTypeValue string // List of Interface_type_value @@ -28,10 +28,12 @@ const ( INTERFACETYPEVALUE__100BASE_TX InterfaceTypeValue = "100base-tx" INTERFACETYPEVALUE__100BASE_T1 InterfaceTypeValue = "100base-t1" INTERFACETYPEVALUE__1000BASE_T InterfaceTypeValue = "1000base-t" + INTERFACETYPEVALUE__1000BASE_TX InterfaceTypeValue = "1000base-tx" INTERFACETYPEVALUE__2_5GBASE_T InterfaceTypeValue = "2.5gbase-t" INTERFACETYPEVALUE__5GBASE_T InterfaceTypeValue = "5gbase-t" INTERFACETYPEVALUE__10GBASE_T InterfaceTypeValue = "10gbase-t" INTERFACETYPEVALUE__10GBASE_CX4 InterfaceTypeValue = "10gbase-cx4" + INTERFACETYPEVALUE__100BASE_X_SFP InterfaceTypeValue = "100base-x-sfp" INTERFACETYPEVALUE__1000BASE_X_GBIC InterfaceTypeValue = "1000base-x-gbic" INTERFACETYPEVALUE__1000BASE_X_SFP InterfaceTypeValue = "1000base-x-sfp" INTERFACETYPEVALUE__10GBASE_X_SFPP InterfaceTypeValue = "10gbase-x-sfpp" @@ -81,7 +83,9 @@ const ( INTERFACETYPEVALUE_IEEE802_11AD InterfaceTypeValue = "ieee802.11ad" INTERFACETYPEVALUE_IEEE802_11AX InterfaceTypeValue = "ieee802.11ax" INTERFACETYPEVALUE_IEEE802_11AY InterfaceTypeValue = "ieee802.11ay" + INTERFACETYPEVALUE_IEEE802_11BE InterfaceTypeValue = "ieee802.11be" INTERFACETYPEVALUE_IEEE802_15_1 InterfaceTypeValue = "ieee802.15.1" + INTERFACETYPEVALUE_IEEE802_15_4 InterfaceTypeValue = "ieee802.15.4" INTERFACETYPEVALUE_OTHER_WIRELESS InterfaceTypeValue = "other-wireless" INTERFACETYPEVALUE_GSM InterfaceTypeValue = "gsm" INTERFACETYPEVALUE_CDMA InterfaceTypeValue = "cdma" @@ -157,10 +161,12 @@ var AllowedInterfaceTypeValueEnumValues = []InterfaceTypeValue{ "100base-tx", "100base-t1", "1000base-t", + "1000base-tx", "2.5gbase-t", "5gbase-t", "10gbase-t", "10gbase-cx4", + "100base-x-sfp", "1000base-x-gbic", "1000base-x-sfp", "10gbase-x-sfpp", @@ -210,7 +216,9 @@ var AllowedInterfaceTypeValueEnumValues = []InterfaceTypeValue{ "ieee802.11ad", "ieee802.11ax", "ieee802.11ay", + "ieee802.11be", "ieee802.15.1", + "ieee802.15.4", "other-wireless", "gsm", "cdma", diff --git a/model_inventory_item.go b/model_inventory_item.go index 288a4619c..28cc6395f 100644 --- a/model_inventory_item.go +++ b/model_inventory_item.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,16 +21,17 @@ var _ MappedNullable = &InventoryItem{} // InventoryItem Adds support for custom fields and tags. type InventoryItem struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - Device Device `json:"device"` - Parent NullableInt32 `json:"parent,omitempty"` - Name string `json:"name"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Device BriefDevice `json:"device"` + Parent NullableInt32 `json:"parent,omitempty"` + Name string `json:"name"` // Physical label - Label *string `json:"label,omitempty"` - Role NullableInventoryItemRole `json:"role,omitempty"` - Manufacturer NullableManufacturer `json:"manufacturer,omitempty"` + Label *string `json:"label,omitempty"` + Role NullableBriefInventoryItemRole `json:"role,omitempty"` + Manufacturer NullableBriefManufacturer `json:"manufacturer,omitempty"` // Manufacturer-assigned part identifier PartId *string `json:"part_id,omitempty"` Serial *string `json:"serial,omitempty"` @@ -56,7 +57,7 @@ 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 int32, url string, display string, device Device, name string, component interface{}, created NullableTime, lastUpdated NullableTime, depth int32) *InventoryItem { +func NewInventoryItem(id int32, url string, display string, device BriefDevice, name string, component interface{}, created NullableTime, lastUpdated NullableTime, depth int32) *InventoryItem { this := InventoryItem{} this.Id = id this.Url = url @@ -126,6 +127,38 @@ func (o *InventoryItem) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *InventoryItem) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InventoryItem) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *InventoryItem) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *InventoryItem) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *InventoryItem) GetDisplay() string { if o == nil { @@ -151,9 +184,9 @@ func (o *InventoryItem) SetDisplay(v string) { } // GetDevice returns the Device field value -func (o *InventoryItem) GetDevice() Device { +func (o *InventoryItem) GetDevice() BriefDevice { if o == nil { - var ret Device + var ret BriefDevice return ret } @@ -162,7 +195,7 @@ func (o *InventoryItem) GetDevice() Device { // GetDeviceOk returns a tuple with the Device field value // and a boolean to check if the value has been set. -func (o *InventoryItem) GetDeviceOk() (*Device, bool) { +func (o *InventoryItem) GetDeviceOk() (*BriefDevice, bool) { if o == nil { return nil, false } @@ -170,7 +203,7 @@ func (o *InventoryItem) GetDeviceOk() (*Device, bool) { } // SetDevice sets field value -func (o *InventoryItem) SetDevice(v Device) { +func (o *InventoryItem) SetDevice(v BriefDevice) { o.Device = v } @@ -274,9 +307,9 @@ func (o *InventoryItem) SetLabel(v string) { } // GetRole returns the Role field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *InventoryItem) GetRole() InventoryItemRole { +func (o *InventoryItem) GetRole() BriefInventoryItemRole { if o == nil || IsNil(o.Role.Get()) { - var ret InventoryItemRole + var ret BriefInventoryItemRole return ret } return *o.Role.Get() @@ -285,7 +318,7 @@ func (o *InventoryItem) GetRole() InventoryItemRole { // 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 *InventoryItem) GetRoleOk() (*InventoryItemRole, bool) { +func (o *InventoryItem) GetRoleOk() (*BriefInventoryItemRole, bool) { if o == nil { return nil, false } @@ -301,8 +334,8 @@ func (o *InventoryItem) HasRole() bool { return false } -// SetRole gets a reference to the given NullableInventoryItemRole and assigns it to the Role field. -func (o *InventoryItem) SetRole(v InventoryItemRole) { +// SetRole gets a reference to the given NullableBriefInventoryItemRole and assigns it to the Role field. +func (o *InventoryItem) SetRole(v BriefInventoryItemRole) { o.Role.Set(&v) } @@ -317,9 +350,9 @@ func (o *InventoryItem) UnsetRole() { } // GetManufacturer returns the Manufacturer field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *InventoryItem) GetManufacturer() Manufacturer { +func (o *InventoryItem) GetManufacturer() BriefManufacturer { if o == nil || IsNil(o.Manufacturer.Get()) { - var ret Manufacturer + var ret BriefManufacturer return ret } return *o.Manufacturer.Get() @@ -328,7 +361,7 @@ func (o *InventoryItem) GetManufacturer() Manufacturer { // GetManufacturerOk returns a tuple with the Manufacturer 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 *InventoryItem) GetManufacturerOk() (*Manufacturer, bool) { +func (o *InventoryItem) GetManufacturerOk() (*BriefManufacturer, bool) { if o == nil { return nil, false } @@ -344,8 +377,8 @@ func (o *InventoryItem) HasManufacturer() bool { return false } -// SetManufacturer gets a reference to the given NullableManufacturer and assigns it to the Manufacturer field. -func (o *InventoryItem) SetManufacturer(v Manufacturer) { +// SetManufacturer gets a reference to the given NullableBriefManufacturer and assigns it to the Manufacturer field. +func (o *InventoryItem) SetManufacturer(v BriefManufacturer) { o.Manufacturer.Set(&v) } @@ -794,6 +827,9 @@ func (o InventoryItem) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["device"] = o.Device if o.Parent.IsSet() { @@ -895,6 +931,7 @@ func (o *InventoryItem) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "device") delete(additionalProperties, "parent") diff --git a/model_inventory_item_request.go b/model_inventory_item_request.go index c93a233fc..dc79acaed 100644 --- a/model_inventory_item_request.go +++ b/model_inventory_item_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,13 +20,13 @@ var _ MappedNullable = &InventoryItemRequest{} // InventoryItemRequest Adds support for custom fields and tags. type InventoryItemRequest struct { - Device DeviceRequest `json:"device"` - Parent NullableInt32 `json:"parent,omitempty"` - Name string `json:"name"` + Device BriefDeviceRequest `json:"device"` + Parent NullableInt32 `json:"parent,omitempty"` + Name string `json:"name"` // Physical label - Label *string `json:"label,omitempty"` - Role NullableInventoryItemRoleRequest `json:"role,omitempty"` - Manufacturer NullableManufacturerRequest `json:"manufacturer,omitempty"` + Label *string `json:"label,omitempty"` + Role NullableBriefInventoryItemRoleRequest `json:"role,omitempty"` + Manufacturer NullableBriefManufacturerRequest `json:"manufacturer,omitempty"` // Manufacturer-assigned part identifier PartId *string `json:"part_id,omitempty"` Serial *string `json:"serial,omitempty"` @@ -48,7 +48,7 @@ type _InventoryItemRequest InventoryItemRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInventoryItemRequest(device DeviceRequest, name string) *InventoryItemRequest { +func NewInventoryItemRequest(device BriefDeviceRequest, name string) *InventoryItemRequest { this := InventoryItemRequest{} this.Device = device this.Name = name @@ -64,9 +64,9 @@ func NewInventoryItemRequestWithDefaults() *InventoryItemRequest { } // GetDevice returns the Device field value -func (o *InventoryItemRequest) GetDevice() DeviceRequest { +func (o *InventoryItemRequest) GetDevice() BriefDeviceRequest { if o == nil { - var ret DeviceRequest + var ret BriefDeviceRequest return ret } @@ -75,7 +75,7 @@ func (o *InventoryItemRequest) GetDevice() DeviceRequest { // GetDeviceOk returns a tuple with the Device field value // and a boolean to check if the value has been set. -func (o *InventoryItemRequest) GetDeviceOk() (*DeviceRequest, bool) { +func (o *InventoryItemRequest) GetDeviceOk() (*BriefDeviceRequest, bool) { if o == nil { return nil, false } @@ -83,7 +83,7 @@ func (o *InventoryItemRequest) GetDeviceOk() (*DeviceRequest, bool) { } // SetDevice sets field value -func (o *InventoryItemRequest) SetDevice(v DeviceRequest) { +func (o *InventoryItemRequest) SetDevice(v BriefDeviceRequest) { o.Device = v } @@ -187,9 +187,9 @@ func (o *InventoryItemRequest) SetLabel(v string) { } // GetRole returns the Role field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *InventoryItemRequest) GetRole() InventoryItemRoleRequest { +func (o *InventoryItemRequest) GetRole() BriefInventoryItemRoleRequest { if o == nil || IsNil(o.Role.Get()) { - var ret InventoryItemRoleRequest + var ret BriefInventoryItemRoleRequest return ret } return *o.Role.Get() @@ -198,7 +198,7 @@ func (o *InventoryItemRequest) GetRole() InventoryItemRoleRequest { // 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 *InventoryItemRequest) GetRoleOk() (*InventoryItemRoleRequest, bool) { +func (o *InventoryItemRequest) GetRoleOk() (*BriefInventoryItemRoleRequest, bool) { if o == nil { return nil, false } @@ -214,8 +214,8 @@ func (o *InventoryItemRequest) HasRole() bool { return false } -// SetRole gets a reference to the given NullableInventoryItemRoleRequest and assigns it to the Role field. -func (o *InventoryItemRequest) SetRole(v InventoryItemRoleRequest) { +// SetRole gets a reference to the given NullableBriefInventoryItemRoleRequest and assigns it to the Role field. +func (o *InventoryItemRequest) SetRole(v BriefInventoryItemRoleRequest) { o.Role.Set(&v) } @@ -230,9 +230,9 @@ func (o *InventoryItemRequest) UnsetRole() { } // GetManufacturer returns the Manufacturer field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *InventoryItemRequest) GetManufacturer() ManufacturerRequest { +func (o *InventoryItemRequest) GetManufacturer() BriefManufacturerRequest { if o == nil || IsNil(o.Manufacturer.Get()) { - var ret ManufacturerRequest + var ret BriefManufacturerRequest return ret } return *o.Manufacturer.Get() @@ -241,7 +241,7 @@ func (o *InventoryItemRequest) GetManufacturer() ManufacturerRequest { // GetManufacturerOk returns a tuple with the Manufacturer 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 *InventoryItemRequest) GetManufacturerOk() (*ManufacturerRequest, bool) { +func (o *InventoryItemRequest) GetManufacturerOk() (*BriefManufacturerRequest, bool) { if o == nil { return nil, false } @@ -257,8 +257,8 @@ func (o *InventoryItemRequest) HasManufacturer() bool { return false } -// SetManufacturer gets a reference to the given NullableManufacturerRequest and assigns it to the Manufacturer field. -func (o *InventoryItemRequest) SetManufacturer(v ManufacturerRequest) { +// SetManufacturer gets a reference to the given NullableBriefManufacturerRequest and assigns it to the Manufacturer field. +func (o *InventoryItemRequest) SetManufacturer(v BriefManufacturerRequest) { o.Manufacturer.Set(&v) } diff --git a/model_inventory_item_role.go b/model_inventory_item_role.go index ee6f28990..14f098a2c 100644 --- a/model_inventory_item_role.go +++ b/model_inventory_item_role.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -23,6 +23,7 @@ var _ MappedNullable = &InventoryItemRole{} type InventoryItemRole struct { Id int32 `json:"id"` Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` Display string `json:"display"` Name string `json:"name"` Slug string `json:"slug"` @@ -111,6 +112,38 @@ func (o *InventoryItemRole) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *InventoryItemRole) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InventoryItemRole) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *InventoryItemRole) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *InventoryItemRole) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *InventoryItemRole) GetDisplay() string { if o == nil { @@ -399,6 +432,9 @@ func (o InventoryItemRole) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["name"] = o.Name toSerialize["slug"] = o.Slug @@ -469,6 +505,7 @@ func (o *InventoryItemRole) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") delete(additionalProperties, "slug") diff --git a/model_inventory_item_role_request.go b/model_inventory_item_role_request.go index c00674ef5..d8881b7b8 100644 --- a/model_inventory_item_role_request.go +++ b/model_inventory_item_role_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_inventory_item_template.go b/model_inventory_item_template.go index 2e4179281..99f04d16a 100644 --- a/model_inventory_item_template.go +++ b/model_inventory_item_template.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,17 +21,17 @@ var _ MappedNullable = &InventoryItemTemplate{} // InventoryItemTemplate Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 InventoryItemTemplate struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - DeviceType DeviceType `json:"device_type"` - Parent NullableInt32 `json:"parent,omitempty"` + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + DeviceType BriefDeviceType `json:"device_type"` + Parent NullableInt32 `json:"parent,omitempty"` // {module} is accepted as a substitution for the module bay position when attached to a module type. Name string `json:"name"` // Physical label - Label *string `json:"label,omitempty"` - Role NullableInventoryItemRole `json:"role,omitempty"` - Manufacturer NullableManufacturer `json:"manufacturer,omitempty"` + Label *string `json:"label,omitempty"` + Role NullableBriefInventoryItemRole `json:"role,omitempty"` + Manufacturer NullableBriefManufacturer `json:"manufacturer,omitempty"` // Manufacturer-assigned part identifier PartId *string `json:"part_id,omitempty"` Description *string `json:"description,omitempty"` @@ -50,7 +50,7 @@ type _InventoryItemTemplate InventoryItemTemplate // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInventoryItemTemplate(id int32, url string, display string, deviceType DeviceType, name string, component interface{}, created NullableTime, lastUpdated NullableTime, depth int32) *InventoryItemTemplate { +func NewInventoryItemTemplate(id int32, url string, display string, deviceType BriefDeviceType, name string, component interface{}, created NullableTime, lastUpdated NullableTime, depth int32) *InventoryItemTemplate { this := InventoryItemTemplate{} this.Id = id this.Url = url @@ -145,9 +145,9 @@ func (o *InventoryItemTemplate) SetDisplay(v string) { } // GetDeviceType returns the DeviceType field value -func (o *InventoryItemTemplate) GetDeviceType() DeviceType { +func (o *InventoryItemTemplate) GetDeviceType() BriefDeviceType { if o == nil { - var ret DeviceType + var ret BriefDeviceType return ret } @@ -156,7 +156,7 @@ func (o *InventoryItemTemplate) GetDeviceType() DeviceType { // GetDeviceTypeOk returns a tuple with the DeviceType field value // and a boolean to check if the value has been set. -func (o *InventoryItemTemplate) GetDeviceTypeOk() (*DeviceType, bool) { +func (o *InventoryItemTemplate) GetDeviceTypeOk() (*BriefDeviceType, bool) { if o == nil { return nil, false } @@ -164,7 +164,7 @@ func (o *InventoryItemTemplate) GetDeviceTypeOk() (*DeviceType, bool) { } // SetDeviceType sets field value -func (o *InventoryItemTemplate) SetDeviceType(v DeviceType) { +func (o *InventoryItemTemplate) SetDeviceType(v BriefDeviceType) { o.DeviceType = v } @@ -268,9 +268,9 @@ func (o *InventoryItemTemplate) SetLabel(v string) { } // GetRole returns the Role field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *InventoryItemTemplate) GetRole() InventoryItemRole { +func (o *InventoryItemTemplate) GetRole() BriefInventoryItemRole { if o == nil || IsNil(o.Role.Get()) { - var ret InventoryItemRole + var ret BriefInventoryItemRole return ret } return *o.Role.Get() @@ -279,7 +279,7 @@ func (o *InventoryItemTemplate) GetRole() InventoryItemRole { // 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 *InventoryItemTemplate) GetRoleOk() (*InventoryItemRole, bool) { +func (o *InventoryItemTemplate) GetRoleOk() (*BriefInventoryItemRole, bool) { if o == nil { return nil, false } @@ -295,8 +295,8 @@ func (o *InventoryItemTemplate) HasRole() bool { return false } -// SetRole gets a reference to the given NullableInventoryItemRole and assigns it to the Role field. -func (o *InventoryItemTemplate) SetRole(v InventoryItemRole) { +// SetRole gets a reference to the given NullableBriefInventoryItemRole and assigns it to the Role field. +func (o *InventoryItemTemplate) SetRole(v BriefInventoryItemRole) { o.Role.Set(&v) } @@ -311,9 +311,9 @@ func (o *InventoryItemTemplate) UnsetRole() { } // GetManufacturer returns the Manufacturer field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *InventoryItemTemplate) GetManufacturer() Manufacturer { +func (o *InventoryItemTemplate) GetManufacturer() BriefManufacturer { if o == nil || IsNil(o.Manufacturer.Get()) { - var ret Manufacturer + var ret BriefManufacturer return ret } return *o.Manufacturer.Get() @@ -322,7 +322,7 @@ func (o *InventoryItemTemplate) GetManufacturer() Manufacturer { // GetManufacturerOk returns a tuple with the Manufacturer 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 *InventoryItemTemplate) GetManufacturerOk() (*Manufacturer, bool) { +func (o *InventoryItemTemplate) GetManufacturerOk() (*BriefManufacturer, bool) { if o == nil { return nil, false } @@ -338,8 +338,8 @@ func (o *InventoryItemTemplate) HasManufacturer() bool { return false } -// SetManufacturer gets a reference to the given NullableManufacturer and assigns it to the Manufacturer field. -func (o *InventoryItemTemplate) SetManufacturer(v Manufacturer) { +// SetManufacturer gets a reference to the given NullableBriefManufacturer and assigns it to the Manufacturer field. +func (o *InventoryItemTemplate) SetManufacturer(v BriefManufacturer) { o.Manufacturer.Set(&v) } diff --git a/model_inventory_item_template_request.go b/model_inventory_item_template_request.go index c7d639e2d..0b1a2c004 100644 --- a/model_inventory_item_template_request.go +++ b/model_inventory_item_template_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,14 +20,14 @@ var _ MappedNullable = &InventoryItemTemplateRequest{} // InventoryItemTemplateRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 InventoryItemTemplateRequest struct { - DeviceType DeviceTypeRequest `json:"device_type"` - Parent NullableInt32 `json:"parent,omitempty"` + DeviceType BriefDeviceTypeRequest `json:"device_type"` + Parent NullableInt32 `json:"parent,omitempty"` // {module} is accepted as a substitution for the module bay position when attached to a module type. Name string `json:"name"` // Physical label - Label *string `json:"label,omitempty"` - Role NullableInventoryItemRoleRequest `json:"role,omitempty"` - Manufacturer NullableManufacturerRequest `json:"manufacturer,omitempty"` + Label *string `json:"label,omitempty"` + Role NullableBriefInventoryItemRoleRequest `json:"role,omitempty"` + Manufacturer NullableBriefManufacturerRequest `json:"manufacturer,omitempty"` // Manufacturer-assigned part identifier PartId *string `json:"part_id,omitempty"` Description *string `json:"description,omitempty"` @@ -42,7 +42,7 @@ type _InventoryItemTemplateRequest InventoryItemTemplateRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInventoryItemTemplateRequest(deviceType DeviceTypeRequest, name string) *InventoryItemTemplateRequest { +func NewInventoryItemTemplateRequest(deviceType BriefDeviceTypeRequest, name string) *InventoryItemTemplateRequest { this := InventoryItemTemplateRequest{} this.DeviceType = deviceType this.Name = name @@ -58,9 +58,9 @@ func NewInventoryItemTemplateRequestWithDefaults() *InventoryItemTemplateRequest } // GetDeviceType returns the DeviceType field value -func (o *InventoryItemTemplateRequest) GetDeviceType() DeviceTypeRequest { +func (o *InventoryItemTemplateRequest) GetDeviceType() BriefDeviceTypeRequest { if o == nil { - var ret DeviceTypeRequest + var ret BriefDeviceTypeRequest return ret } @@ -69,7 +69,7 @@ func (o *InventoryItemTemplateRequest) GetDeviceType() DeviceTypeRequest { // GetDeviceTypeOk returns a tuple with the DeviceType field value // and a boolean to check if the value has been set. -func (o *InventoryItemTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool) { +func (o *InventoryItemTemplateRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool) { if o == nil { return nil, false } @@ -77,7 +77,7 @@ func (o *InventoryItemTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bo } // SetDeviceType sets field value -func (o *InventoryItemTemplateRequest) SetDeviceType(v DeviceTypeRequest) { +func (o *InventoryItemTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest) { o.DeviceType = v } @@ -181,9 +181,9 @@ func (o *InventoryItemTemplateRequest) SetLabel(v string) { } // GetRole returns the Role field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *InventoryItemTemplateRequest) GetRole() InventoryItemRoleRequest { +func (o *InventoryItemTemplateRequest) GetRole() BriefInventoryItemRoleRequest { if o == nil || IsNil(o.Role.Get()) { - var ret InventoryItemRoleRequest + var ret BriefInventoryItemRoleRequest return ret } return *o.Role.Get() @@ -192,7 +192,7 @@ func (o *InventoryItemTemplateRequest) GetRole() InventoryItemRoleRequest { // 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 *InventoryItemTemplateRequest) GetRoleOk() (*InventoryItemRoleRequest, bool) { +func (o *InventoryItemTemplateRequest) GetRoleOk() (*BriefInventoryItemRoleRequest, bool) { if o == nil { return nil, false } @@ -208,8 +208,8 @@ func (o *InventoryItemTemplateRequest) HasRole() bool { return false } -// SetRole gets a reference to the given NullableInventoryItemRoleRequest and assigns it to the Role field. -func (o *InventoryItemTemplateRequest) SetRole(v InventoryItemRoleRequest) { +// SetRole gets a reference to the given NullableBriefInventoryItemRoleRequest and assigns it to the Role field. +func (o *InventoryItemTemplateRequest) SetRole(v BriefInventoryItemRoleRequest) { o.Role.Set(&v) } @@ -224,9 +224,9 @@ func (o *InventoryItemTemplateRequest) UnsetRole() { } // GetManufacturer returns the Manufacturer field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *InventoryItemTemplateRequest) GetManufacturer() ManufacturerRequest { +func (o *InventoryItemTemplateRequest) GetManufacturer() BriefManufacturerRequest { if o == nil || IsNil(o.Manufacturer.Get()) { - var ret ManufacturerRequest + var ret BriefManufacturerRequest return ret } return *o.Manufacturer.Get() @@ -235,7 +235,7 @@ func (o *InventoryItemTemplateRequest) GetManufacturer() ManufacturerRequest { // GetManufacturerOk returns a tuple with the Manufacturer 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 *InventoryItemTemplateRequest) GetManufacturerOk() (*ManufacturerRequest, bool) { +func (o *InventoryItemTemplateRequest) GetManufacturerOk() (*BriefManufacturerRequest, bool) { if o == nil { return nil, false } @@ -251,8 +251,8 @@ func (o *InventoryItemTemplateRequest) HasManufacturer() bool { return false } -// SetManufacturer gets a reference to the given NullableManufacturerRequest and assigns it to the Manufacturer field. -func (o *InventoryItemTemplateRequest) SetManufacturer(v ManufacturerRequest) { +// SetManufacturer gets a reference to the given NullableBriefManufacturerRequest and assigns it to the Manufacturer field. +func (o *InventoryItemTemplateRequest) SetManufacturer(v BriefManufacturerRequest) { o.Manufacturer.Set(&v) } diff --git a/model_ip_address.go b/model_ip_address.go index 5fdb687b4..9f7788539 100644 --- a/model_ip_address.go +++ b/model_ip_address.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -13,6 +13,7 @@ package netbox import ( "encoding/json" "fmt" + "time" ) // checks if the IPAddress type satisfies the MappedNullable interface at compile time @@ -20,12 +21,29 @@ var _ MappedNullable = &IPAddress{} // IPAddress Adds support for custom fields and tags. type IPAddress struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - Family AggregateFamily `json:"family"` - Address string `json:"address"` - Description *string `json:"description,omitempty"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Family AggregateFamily `json:"family"` + Address string `json:"address"` + Vrf NullableBriefVRF `json:"vrf,omitempty"` + Tenant NullableBriefTenant `json:"tenant,omitempty"` + Status *IPAddressStatus `json:"status,omitempty"` + Role *IPAddressRole `json:"role,omitempty"` + AssignedObjectType NullableString `json:"assigned_object_type,omitempty"` + AssignedObjectId NullableInt64 `json:"assigned_object_id,omitempty"` + AssignedObject interface{} `json:"assigned_object"` + NatInside NullableNestedIPAddress `json:"nat_inside,omitempty"` + NatOutside []NestedIPAddress `json:"nat_outside"` + // Hostname or FQDN (not case-sensitive) + DnsName *string `json:"dns_name,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTag `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Created NullableTime `json:"created"` + LastUpdated NullableTime `json:"last_updated"` AdditionalProperties map[string]interface{} } @@ -35,13 +53,17 @@ 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 int32, url string, display string, family AggregateFamily, address string) *IPAddress { +func NewIPAddress(id int32, url string, display string, family AggregateFamily, address string, assignedObject interface{}, natOutside []NestedIPAddress, created NullableTime, lastUpdated NullableTime) *IPAddress { this := IPAddress{} this.Id = id this.Url = url this.Display = display this.Family = family this.Address = address + this.AssignedObject = assignedObject + this.NatOutside = natOutside + this.Created = created + this.LastUpdated = lastUpdated return &this } @@ -101,6 +123,38 @@ func (o *IPAddress) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *IPAddress) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *IPAddress) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *IPAddress) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *IPAddress) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *IPAddress) GetDisplay() string { if o == nil { @@ -173,6 +227,367 @@ func (o *IPAddress) SetAddress(v string) { o.Address = v } +// GetVrf returns the Vrf field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *IPAddress) GetVrf() BriefVRF { + if o == nil || IsNil(o.Vrf.Get()) { + var ret BriefVRF + return ret + } + return *o.Vrf.Get() +} + +// GetVrfOk returns a tuple with the Vrf 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 *IPAddress) GetVrfOk() (*BriefVRF, bool) { + if o == nil { + return nil, false + } + return o.Vrf.Get(), o.Vrf.IsSet() +} + +// HasVrf returns a boolean if a field has been set. +func (o *IPAddress) HasVrf() bool { + if o != nil && o.Vrf.IsSet() { + return true + } + + return false +} + +// SetVrf gets a reference to the given NullableBriefVRF and assigns it to the Vrf field. +func (o *IPAddress) SetVrf(v BriefVRF) { + o.Vrf.Set(&v) +} + +// SetVrfNil sets the value for Vrf to be an explicit nil +func (o *IPAddress) SetVrfNil() { + o.Vrf.Set(nil) +} + +// UnsetVrf ensures that no value is present for Vrf, not even an explicit nil +func (o *IPAddress) UnsetVrf() { + o.Vrf.Unset() +} + +// GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *IPAddress) GetTenant() BriefTenant { + if o == nil || IsNil(o.Tenant.Get()) { + var ret BriefTenant + 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 *IPAddress) GetTenantOk() (*BriefTenant, 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 *IPAddress) HasTenant() bool { + if o != nil && o.Tenant.IsSet() { + return true + } + + return false +} + +// SetTenant gets a reference to the given NullableBriefTenant and assigns it to the Tenant field. +func (o *IPAddress) SetTenant(v BriefTenant) { + o.Tenant.Set(&v) +} + +// SetTenantNil sets the value for Tenant to be an explicit nil +func (o *IPAddress) SetTenantNil() { + o.Tenant.Set(nil) +} + +// UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +func (o *IPAddress) UnsetTenant() { + o.Tenant.Unset() +} + +// GetStatus returns the Status field value if set, zero value otherwise. +func (o *IPAddress) GetStatus() IPAddressStatus { + if o == nil || IsNil(o.Status) { + var ret IPAddressStatus + 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 *IPAddress) GetStatusOk() (*IPAddressStatus, 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 *IPAddress) HasStatus() bool { + if o != nil && !IsNil(o.Status) { + return true + } + + return false +} + +// SetStatus gets a reference to the given IPAddressStatus and assigns it to the Status field. +func (o *IPAddress) SetStatus(v IPAddressStatus) { + o.Status = &v +} + +// GetRole returns the Role field value if set, zero value otherwise. +func (o *IPAddress) GetRole() IPAddressRole { + if o == nil || IsNil(o.Role) { + var ret IPAddressRole + return ret + } + return *o.Role +} + +// GetRoleOk returns a tuple with the Role field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *IPAddress) GetRoleOk() (*IPAddressRole, bool) { + if o == nil || IsNil(o.Role) { + return nil, false + } + return o.Role, true +} + +// HasRole returns a boolean if a field has been set. +func (o *IPAddress) HasRole() bool { + if o != nil && !IsNil(o.Role) { + return true + } + + return false +} + +// SetRole gets a reference to the given IPAddressRole and assigns it to the Role field. +func (o *IPAddress) SetRole(v IPAddressRole) { + o.Role = &v +} + +// GetAssignedObjectType returns the AssignedObjectType field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *IPAddress) GetAssignedObjectType() string { + if o == nil || IsNil(o.AssignedObjectType.Get()) { + var ret string + return ret + } + return *o.AssignedObjectType.Get() +} + +// GetAssignedObjectTypeOk returns a tuple with the AssignedObjectType 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 *IPAddress) GetAssignedObjectTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.AssignedObjectType.Get(), o.AssignedObjectType.IsSet() +} + +// HasAssignedObjectType returns a boolean if a field has been set. +func (o *IPAddress) HasAssignedObjectType() bool { + if o != nil && o.AssignedObjectType.IsSet() { + return true + } + + return false +} + +// SetAssignedObjectType gets a reference to the given NullableString and assigns it to the AssignedObjectType field. +func (o *IPAddress) SetAssignedObjectType(v string) { + o.AssignedObjectType.Set(&v) +} + +// SetAssignedObjectTypeNil sets the value for AssignedObjectType to be an explicit nil +func (o *IPAddress) SetAssignedObjectTypeNil() { + o.AssignedObjectType.Set(nil) +} + +// UnsetAssignedObjectType ensures that no value is present for AssignedObjectType, not even an explicit nil +func (o *IPAddress) UnsetAssignedObjectType() { + o.AssignedObjectType.Unset() +} + +// GetAssignedObjectId returns the AssignedObjectId field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *IPAddress) GetAssignedObjectId() int64 { + if o == nil || IsNil(o.AssignedObjectId.Get()) { + var ret int64 + return ret + } + return *o.AssignedObjectId.Get() +} + +// GetAssignedObjectIdOk returns a tuple with the AssignedObjectId 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 *IPAddress) GetAssignedObjectIdOk() (*int64, bool) { + if o == nil { + return nil, false + } + return o.AssignedObjectId.Get(), o.AssignedObjectId.IsSet() +} + +// HasAssignedObjectId returns a boolean if a field has been set. +func (o *IPAddress) HasAssignedObjectId() bool { + if o != nil && o.AssignedObjectId.IsSet() { + return true + } + + return false +} + +// SetAssignedObjectId gets a reference to the given NullableInt64 and assigns it to the AssignedObjectId field. +func (o *IPAddress) SetAssignedObjectId(v int64) { + o.AssignedObjectId.Set(&v) +} + +// SetAssignedObjectIdNil sets the value for AssignedObjectId to be an explicit nil +func (o *IPAddress) SetAssignedObjectIdNil() { + o.AssignedObjectId.Set(nil) +} + +// UnsetAssignedObjectId ensures that no value is present for AssignedObjectId, not even an explicit nil +func (o *IPAddress) UnsetAssignedObjectId() { + o.AssignedObjectId.Unset() +} + +// GetAssignedObject returns the AssignedObject field value +// If the value is explicit nil, the zero value for interface{} will be returned +func (o *IPAddress) GetAssignedObject() interface{} { + if o == nil { + var ret interface{} + return ret + } + + return o.AssignedObject +} + +// GetAssignedObjectOk returns a tuple with the AssignedObject 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 *IPAddress) GetAssignedObjectOk() (*interface{}, bool) { + if o == nil || IsNil(o.AssignedObject) { + return nil, false + } + return &o.AssignedObject, true +} + +// SetAssignedObject sets field value +func (o *IPAddress) SetAssignedObject(v interface{}) { + o.AssignedObject = v +} + +// GetNatInside returns the NatInside field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *IPAddress) GetNatInside() NestedIPAddress { + if o == nil || IsNil(o.NatInside.Get()) { + var ret NestedIPAddress + return ret + } + return *o.NatInside.Get() +} + +// GetNatInsideOk returns a tuple with the NatInside 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 *IPAddress) GetNatInsideOk() (*NestedIPAddress, bool) { + if o == nil { + return nil, false + } + return o.NatInside.Get(), o.NatInside.IsSet() +} + +// HasNatInside returns a boolean if a field has been set. +func (o *IPAddress) HasNatInside() bool { + if o != nil && o.NatInside.IsSet() { + return true + } + + return false +} + +// SetNatInside gets a reference to the given NullableNestedIPAddress and assigns it to the NatInside field. +func (o *IPAddress) SetNatInside(v NestedIPAddress) { + o.NatInside.Set(&v) +} + +// SetNatInsideNil sets the value for NatInside to be an explicit nil +func (o *IPAddress) SetNatInsideNil() { + o.NatInside.Set(nil) +} + +// UnsetNatInside ensures that no value is present for NatInside, not even an explicit nil +func (o *IPAddress) UnsetNatInside() { + o.NatInside.Unset() +} + +// GetNatOutside returns the NatOutside field value +func (o *IPAddress) GetNatOutside() []NestedIPAddress { + if o == nil { + var ret []NestedIPAddress + return ret + } + + return o.NatOutside +} + +// GetNatOutsideOk returns a tuple with the NatOutside field value +// and a boolean to check if the value has been set. +func (o *IPAddress) GetNatOutsideOk() ([]NestedIPAddress, bool) { + if o == nil { + return nil, false + } + return o.NatOutside, true +} + +// SetNatOutside sets field value +func (o *IPAddress) SetNatOutside(v []NestedIPAddress) { + o.NatOutside = v +} + +// GetDnsName returns the DnsName field value if set, zero value otherwise. +func (o *IPAddress) GetDnsName() string { + if o == nil || IsNil(o.DnsName) { + var ret string + return ret + } + return *o.DnsName +} + +// GetDnsNameOk returns a tuple with the DnsName field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *IPAddress) GetDnsNameOk() (*string, bool) { + if o == nil || IsNil(o.DnsName) { + return nil, false + } + return o.DnsName, true +} + +// HasDnsName returns a boolean if a field has been set. +func (o *IPAddress) HasDnsName() bool { + if o != nil && !IsNil(o.DnsName) { + return true + } + + return false +} + +// SetDnsName gets a reference to the given string and assigns it to the DnsName field. +func (o *IPAddress) SetDnsName(v string) { + o.DnsName = &v +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *IPAddress) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -205,6 +620,154 @@ func (o *IPAddress) SetDescription(v string) { o.Description = &v } +// GetComments returns the Comments field value if set, zero value otherwise. +func (o *IPAddress) GetComments() string { + if o == nil || IsNil(o.Comments) { + var ret string + return ret + } + return *o.Comments +} + +// GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *IPAddress) GetCommentsOk() (*string, bool) { + if o == nil || IsNil(o.Comments) { + return nil, false + } + return o.Comments, true +} + +// HasComments returns a boolean if a field has been set. +func (o *IPAddress) HasComments() bool { + if o != nil && !IsNil(o.Comments) { + return true + } + + return false +} + +// SetComments gets a reference to the given string and assigns it to the Comments field. +func (o *IPAddress) SetComments(v string) { + o.Comments = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *IPAddress) GetTags() []NestedTag { + if o == nil || IsNil(o.Tags) { + var ret []NestedTag + 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 *IPAddress) GetTagsOk() ([]NestedTag, 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 *IPAddress) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTag and assigns it to the Tags field. +func (o *IPAddress) SetTags(v []NestedTag) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *IPAddress) 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 *IPAddress) 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 *IPAddress) 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 *IPAddress) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetCreated returns the Created field value +// If the value is explicit nil, the zero value for time.Time will be returned +func (o *IPAddress) 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 *IPAddress) GetCreatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.Created.Get(), o.Created.IsSet() +} + +// SetCreated sets field value +func (o *IPAddress) 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 *IPAddress) 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 *IPAddress) GetLastUpdatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LastUpdated.Get(), o.LastUpdated.IsSet() +} + +// SetLastUpdated sets field value +func (o *IPAddress) SetLastUpdated(v time.Time) { + o.LastUpdated.Set(&v) +} + func (o IPAddress) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -217,12 +780,54 @@ func (o IPAddress) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["family"] = o.Family toSerialize["address"] = o.Address + if o.Vrf.IsSet() { + toSerialize["vrf"] = o.Vrf.Get() + } + if o.Tenant.IsSet() { + toSerialize["tenant"] = o.Tenant.Get() + } + if !IsNil(o.Status) { + toSerialize["status"] = o.Status + } + if !IsNil(o.Role) { + toSerialize["role"] = o.Role + } + if o.AssignedObjectType.IsSet() { + toSerialize["assigned_object_type"] = o.AssignedObjectType.Get() + } + if o.AssignedObjectId.IsSet() { + toSerialize["assigned_object_id"] = o.AssignedObjectId.Get() + } + if o.AssignedObject != nil { + toSerialize["assigned_object"] = o.AssignedObject + } + if o.NatInside.IsSet() { + toSerialize["nat_inside"] = o.NatInside.Get() + } + toSerialize["nat_outside"] = o.NatOutside + if !IsNil(o.DnsName) { + toSerialize["dns_name"] = o.DnsName + } if !IsNil(o.Description) { toSerialize["description"] = o.Description } + if !IsNil(o.Comments) { + toSerialize["comments"] = o.Comments + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + toSerialize["created"] = o.Created.Get() + toSerialize["last_updated"] = o.LastUpdated.Get() for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -241,6 +846,10 @@ func (o *IPAddress) UnmarshalJSON(data []byte) (err error) { "display", "family", "address", + "assigned_object", + "nat_outside", + "created", + "last_updated", } allProperties := make(map[string]interface{}) @@ -272,10 +881,26 @@ func (o *IPAddress) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "family") delete(additionalProperties, "address") + delete(additionalProperties, "vrf") + delete(additionalProperties, "tenant") + delete(additionalProperties, "status") + delete(additionalProperties, "role") + delete(additionalProperties, "assigned_object_type") + delete(additionalProperties, "assigned_object_id") + delete(additionalProperties, "assigned_object") + delete(additionalProperties, "nat_inside") + delete(additionalProperties, "nat_outside") + delete(additionalProperties, "dns_name") delete(additionalProperties, "description") + delete(additionalProperties, "comments") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "created") + delete(additionalProperties, "last_updated") o.AdditionalProperties = additionalProperties } diff --git a/model_ip_address_request.go b/model_ip_address_request.go index 6c3232de2..8a804bcf3 100644 --- a/model_ip_address_request.go +++ b/model_ip_address_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,8 +20,20 @@ var _ MappedNullable = &IPAddressRequest{} // IPAddressRequest Adds support for custom fields and tags. type IPAddressRequest struct { - Address string `json:"address"` - Description *string `json:"description,omitempty"` + Address string `json:"address"` + Vrf NullableBriefVRFRequest `json:"vrf,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` + Status *IPAddressStatusValue `json:"status,omitempty"` + Role *IPAddressRoleValue `json:"role,omitempty"` + AssignedObjectType NullableString `json:"assigned_object_type,omitempty"` + AssignedObjectId NullableInt64 `json:"assigned_object_id,omitempty"` + NatInside NullableNestedIPAddressRequest `json:"nat_inside,omitempty"` + // Hostname or FQDN (not case-sensitive) + DnsName *string `json:"dns_name,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -69,6 +81,317 @@ func (o *IPAddressRequest) SetAddress(v string) { o.Address = v } +// GetVrf returns the Vrf field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *IPAddressRequest) GetVrf() BriefVRFRequest { + if o == nil || IsNil(o.Vrf.Get()) { + var ret BriefVRFRequest + return ret + } + return *o.Vrf.Get() +} + +// GetVrfOk returns a tuple with the Vrf 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 *IPAddressRequest) GetVrfOk() (*BriefVRFRequest, bool) { + if o == nil { + return nil, false + } + return o.Vrf.Get(), o.Vrf.IsSet() +} + +// HasVrf returns a boolean if a field has been set. +func (o *IPAddressRequest) HasVrf() bool { + if o != nil && o.Vrf.IsSet() { + return true + } + + return false +} + +// SetVrf gets a reference to the given NullableBriefVRFRequest and assigns it to the Vrf field. +func (o *IPAddressRequest) SetVrf(v BriefVRFRequest) { + o.Vrf.Set(&v) +} + +// SetVrfNil sets the value for Vrf to be an explicit nil +func (o *IPAddressRequest) SetVrfNil() { + o.Vrf.Set(nil) +} + +// UnsetVrf ensures that no value is present for Vrf, not even an explicit nil +func (o *IPAddressRequest) UnsetVrf() { + o.Vrf.Unset() +} + +// GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *IPAddressRequest) GetTenant() BriefTenantRequest { + if o == nil || IsNil(o.Tenant.Get()) { + var ret BriefTenantRequest + 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 *IPAddressRequest) GetTenantOk() (*BriefTenantRequest, 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 *IPAddressRequest) HasTenant() bool { + if o != nil && o.Tenant.IsSet() { + return true + } + + return false +} + +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *IPAddressRequest) SetTenant(v BriefTenantRequest) { + o.Tenant.Set(&v) +} + +// SetTenantNil sets the value for Tenant to be an explicit nil +func (o *IPAddressRequest) SetTenantNil() { + o.Tenant.Set(nil) +} + +// UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +func (o *IPAddressRequest) UnsetTenant() { + o.Tenant.Unset() +} + +// GetStatus returns the Status field value if set, zero value otherwise. +func (o *IPAddressRequest) GetStatus() IPAddressStatusValue { + if o == nil || IsNil(o.Status) { + var ret IPAddressStatusValue + 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 *IPAddressRequest) GetStatusOk() (*IPAddressStatusValue, 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 *IPAddressRequest) HasStatus() bool { + if o != nil && !IsNil(o.Status) { + return true + } + + return false +} + +// SetStatus gets a reference to the given IPAddressStatusValue and assigns it to the Status field. +func (o *IPAddressRequest) SetStatus(v IPAddressStatusValue) { + o.Status = &v +} + +// GetRole returns the Role field value if set, zero value otherwise. +func (o *IPAddressRequest) GetRole() IPAddressRoleValue { + if o == nil || IsNil(o.Role) { + var ret IPAddressRoleValue + return ret + } + return *o.Role +} + +// GetRoleOk returns a tuple with the Role field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *IPAddressRequest) GetRoleOk() (*IPAddressRoleValue, bool) { + if o == nil || IsNil(o.Role) { + return nil, false + } + return o.Role, true +} + +// HasRole returns a boolean if a field has been set. +func (o *IPAddressRequest) HasRole() bool { + if o != nil && !IsNil(o.Role) { + return true + } + + return false +} + +// SetRole gets a reference to the given IPAddressRoleValue and assigns it to the Role field. +func (o *IPAddressRequest) SetRole(v IPAddressRoleValue) { + o.Role = &v +} + +// GetAssignedObjectType returns the AssignedObjectType field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *IPAddressRequest) GetAssignedObjectType() string { + if o == nil || IsNil(o.AssignedObjectType.Get()) { + var ret string + return ret + } + return *o.AssignedObjectType.Get() +} + +// GetAssignedObjectTypeOk returns a tuple with the AssignedObjectType 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 *IPAddressRequest) GetAssignedObjectTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.AssignedObjectType.Get(), o.AssignedObjectType.IsSet() +} + +// HasAssignedObjectType returns a boolean if a field has been set. +func (o *IPAddressRequest) HasAssignedObjectType() bool { + if o != nil && o.AssignedObjectType.IsSet() { + return true + } + + return false +} + +// SetAssignedObjectType gets a reference to the given NullableString and assigns it to the AssignedObjectType field. +func (o *IPAddressRequest) SetAssignedObjectType(v string) { + o.AssignedObjectType.Set(&v) +} + +// SetAssignedObjectTypeNil sets the value for AssignedObjectType to be an explicit nil +func (o *IPAddressRequest) SetAssignedObjectTypeNil() { + o.AssignedObjectType.Set(nil) +} + +// UnsetAssignedObjectType ensures that no value is present for AssignedObjectType, not even an explicit nil +func (o *IPAddressRequest) UnsetAssignedObjectType() { + o.AssignedObjectType.Unset() +} + +// GetAssignedObjectId returns the AssignedObjectId field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *IPAddressRequest) GetAssignedObjectId() int64 { + if o == nil || IsNil(o.AssignedObjectId.Get()) { + var ret int64 + return ret + } + return *o.AssignedObjectId.Get() +} + +// GetAssignedObjectIdOk returns a tuple with the AssignedObjectId 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 *IPAddressRequest) GetAssignedObjectIdOk() (*int64, bool) { + if o == nil { + return nil, false + } + return o.AssignedObjectId.Get(), o.AssignedObjectId.IsSet() +} + +// HasAssignedObjectId returns a boolean if a field has been set. +func (o *IPAddressRequest) HasAssignedObjectId() bool { + if o != nil && o.AssignedObjectId.IsSet() { + return true + } + + return false +} + +// SetAssignedObjectId gets a reference to the given NullableInt64 and assigns it to the AssignedObjectId field. +func (o *IPAddressRequest) SetAssignedObjectId(v int64) { + o.AssignedObjectId.Set(&v) +} + +// SetAssignedObjectIdNil sets the value for AssignedObjectId to be an explicit nil +func (o *IPAddressRequest) SetAssignedObjectIdNil() { + o.AssignedObjectId.Set(nil) +} + +// UnsetAssignedObjectId ensures that no value is present for AssignedObjectId, not even an explicit nil +func (o *IPAddressRequest) UnsetAssignedObjectId() { + o.AssignedObjectId.Unset() +} + +// GetNatInside returns the NatInside field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *IPAddressRequest) GetNatInside() NestedIPAddressRequest { + if o == nil || IsNil(o.NatInside.Get()) { + var ret NestedIPAddressRequest + return ret + } + return *o.NatInside.Get() +} + +// GetNatInsideOk returns a tuple with the NatInside 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 *IPAddressRequest) GetNatInsideOk() (*NestedIPAddressRequest, bool) { + if o == nil { + return nil, false + } + return o.NatInside.Get(), o.NatInside.IsSet() +} + +// HasNatInside returns a boolean if a field has been set. +func (o *IPAddressRequest) HasNatInside() bool { + if o != nil && o.NatInside.IsSet() { + return true + } + + return false +} + +// SetNatInside gets a reference to the given NullableNestedIPAddressRequest and assigns it to the NatInside field. +func (o *IPAddressRequest) SetNatInside(v NestedIPAddressRequest) { + o.NatInside.Set(&v) +} + +// SetNatInsideNil sets the value for NatInside to be an explicit nil +func (o *IPAddressRequest) SetNatInsideNil() { + o.NatInside.Set(nil) +} + +// UnsetNatInside ensures that no value is present for NatInside, not even an explicit nil +func (o *IPAddressRequest) UnsetNatInside() { + o.NatInside.Unset() +} + +// GetDnsName returns the DnsName field value if set, zero value otherwise. +func (o *IPAddressRequest) GetDnsName() string { + if o == nil || IsNil(o.DnsName) { + var ret string + return ret + } + return *o.DnsName +} + +// GetDnsNameOk returns a tuple with the DnsName field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *IPAddressRequest) GetDnsNameOk() (*string, bool) { + if o == nil || IsNil(o.DnsName) { + return nil, false + } + return o.DnsName, true +} + +// HasDnsName returns a boolean if a field has been set. +func (o *IPAddressRequest) HasDnsName() bool { + if o != nil && !IsNil(o.DnsName) { + return true + } + + return false +} + +// SetDnsName gets a reference to the given string and assigns it to the DnsName field. +func (o *IPAddressRequest) SetDnsName(v string) { + o.DnsName = &v +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *IPAddressRequest) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -101,6 +424,102 @@ func (o *IPAddressRequest) SetDescription(v string) { o.Description = &v } +// GetComments returns the Comments field value if set, zero value otherwise. +func (o *IPAddressRequest) GetComments() string { + if o == nil || IsNil(o.Comments) { + var ret string + return ret + } + return *o.Comments +} + +// GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *IPAddressRequest) GetCommentsOk() (*string, bool) { + if o == nil || IsNil(o.Comments) { + return nil, false + } + return o.Comments, true +} + +// HasComments returns a boolean if a field has been set. +func (o *IPAddressRequest) HasComments() bool { + if o != nil && !IsNil(o.Comments) { + return true + } + + return false +} + +// SetComments gets a reference to the given string and assigns it to the Comments field. +func (o *IPAddressRequest) SetComments(v string) { + o.Comments = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *IPAddressRequest) GetTags() []NestedTagRequest { + if o == nil || IsNil(o.Tags) { + var ret []NestedTagRequest + 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 *IPAddressRequest) GetTagsOk() ([]NestedTagRequest, 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 *IPAddressRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTagRequest and assigns it to the Tags field. +func (o *IPAddressRequest) SetTags(v []NestedTagRequest) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *IPAddressRequest) 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 *IPAddressRequest) 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 *IPAddressRequest) 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 *IPAddressRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + func (o IPAddressRequest) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -112,9 +531,42 @@ func (o IPAddressRequest) MarshalJSON() ([]byte, error) { func (o IPAddressRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["address"] = o.Address + if o.Vrf.IsSet() { + toSerialize["vrf"] = o.Vrf.Get() + } + if o.Tenant.IsSet() { + toSerialize["tenant"] = o.Tenant.Get() + } + if !IsNil(o.Status) { + toSerialize["status"] = o.Status + } + if !IsNil(o.Role) { + toSerialize["role"] = o.Role + } + if o.AssignedObjectType.IsSet() { + toSerialize["assigned_object_type"] = o.AssignedObjectType.Get() + } + if o.AssignedObjectId.IsSet() { + toSerialize["assigned_object_id"] = o.AssignedObjectId.Get() + } + if o.NatInside.IsSet() { + toSerialize["nat_inside"] = o.NatInside.Get() + } + if !IsNil(o.DnsName) { + toSerialize["dns_name"] = o.DnsName + } if !IsNil(o.Description) { toSerialize["description"] = o.Description } + if !IsNil(o.Comments) { + toSerialize["comments"] = o.Comments + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -159,7 +611,18 @@ func (o *IPAddressRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "address") + delete(additionalProperties, "vrf") + delete(additionalProperties, "tenant") + delete(additionalProperties, "status") + delete(additionalProperties, "role") + delete(additionalProperties, "assigned_object_type") + delete(additionalProperties, "assigned_object_id") + delete(additionalProperties, "nat_inside") + delete(additionalProperties, "dns_name") delete(additionalProperties, "description") + delete(additionalProperties, "comments") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") o.AdditionalProperties = additionalProperties } diff --git a/model_ip_address_role.go b/model_ip_address_role.go new file mode 100644 index 000000000..84de31874 --- /dev/null +++ b/model_ip_address_role.go @@ -0,0 +1,190 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" +) + +// checks if the IPAddressRole type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &IPAddressRole{} + +// IPAddressRole struct for IPAddressRole +type IPAddressRole struct { + Value *IPAddressRoleValue `json:"value,omitempty"` + Label *IPAddressRoleLabel `json:"label,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _IPAddressRole IPAddressRole + +// NewIPAddressRole instantiates a new IPAddressRole object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewIPAddressRole() *IPAddressRole { + this := IPAddressRole{} + return &this +} + +// NewIPAddressRoleWithDefaults instantiates a new IPAddressRole object +// This 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 NewIPAddressRoleWithDefaults() *IPAddressRole { + this := IPAddressRole{} + return &this +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *IPAddressRole) GetValue() IPAddressRoleValue { + if o == nil || IsNil(o.Value) { + var ret IPAddressRoleValue + 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 *IPAddressRole) GetValueOk() (*IPAddressRoleValue, 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 *IPAddressRole) HasValue() bool { + if o != nil && !IsNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given IPAddressRoleValue and assigns it to the Value field. +func (o *IPAddressRole) SetValue(v IPAddressRoleValue) { + o.Value = &v +} + +// GetLabel returns the Label field value if set, zero value otherwise. +func (o *IPAddressRole) GetLabel() IPAddressRoleLabel { + if o == nil || IsNil(o.Label) { + var ret IPAddressRoleLabel + 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 *IPAddressRole) GetLabelOk() (*IPAddressRoleLabel, 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 *IPAddressRole) HasLabel() bool { + if o != nil && !IsNil(o.Label) { + return true + } + + return false +} + +// SetLabel gets a reference to the given IPAddressRoleLabel and assigns it to the Label field. +func (o *IPAddressRole) SetLabel(v IPAddressRoleLabel) { + o.Label = &v +} + +func (o IPAddressRole) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o IPAddressRole) 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 *IPAddressRole) UnmarshalJSON(data []byte) (err error) { + varIPAddressRole := _IPAddressRole{} + + err = json.Unmarshal(data, &varIPAddressRole) + + if err != nil { + return err + } + + *o = IPAddressRole(varIPAddressRole) + + 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 NullableIPAddressRole struct { + value *IPAddressRole + isSet bool +} + +func (v NullableIPAddressRole) Get() *IPAddressRole { + return v.value +} + +func (v *NullableIPAddressRole) Set(val *IPAddressRole) { + v.value = val + v.isSet = true +} + +func (v NullableIPAddressRole) IsSet() bool { + return v.isSet +} + +func (v *NullableIPAddressRole) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableIPAddressRole(val *IPAddressRole) *NullableIPAddressRole { + return &NullableIPAddressRole{value: val, isSet: true} +} + +func (v NullableIPAddressRole) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableIPAddressRole) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_ip_address_role_label.go b/model_ip_address_role_label.go new file mode 100644 index 000000000..26cb76511 --- /dev/null +++ b/model_ip_address_role_label.go @@ -0,0 +1,122 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// IPAddressRoleLabel the model 'IPAddressRoleLabel' +type IPAddressRoleLabel string + +// List of IPAddress_role_label +const ( + IPADDRESSROLELABEL_LOOPBACK IPAddressRoleLabel = "Loopback" + IPADDRESSROLELABEL_SECONDARY IPAddressRoleLabel = "Secondary" + IPADDRESSROLELABEL_ANYCAST IPAddressRoleLabel = "Anycast" + IPADDRESSROLELABEL_VIP IPAddressRoleLabel = "VIP" + IPADDRESSROLELABEL_VRRP IPAddressRoleLabel = "VRRP" + IPADDRESSROLELABEL_HSRP IPAddressRoleLabel = "HSRP" + IPADDRESSROLELABEL_GLBP IPAddressRoleLabel = "GLBP" + IPADDRESSROLELABEL_CARP IPAddressRoleLabel = "CARP" +) + +// All allowed values of IPAddressRoleLabel enum +var AllowedIPAddressRoleLabelEnumValues = []IPAddressRoleLabel{ + "Loopback", + "Secondary", + "Anycast", + "VIP", + "VRRP", + "HSRP", + "GLBP", + "CARP", +} + +func (v *IPAddressRoleLabel) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := IPAddressRoleLabel(value) + for _, existing := range AllowedIPAddressRoleLabelEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid IPAddressRoleLabel", value) +} + +// NewIPAddressRoleLabelFromValue returns a pointer to a valid IPAddressRoleLabel +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewIPAddressRoleLabelFromValue(v string) (*IPAddressRoleLabel, error) { + ev := IPAddressRoleLabel(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for IPAddressRoleLabel: valid values are %v", v, AllowedIPAddressRoleLabelEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v IPAddressRoleLabel) IsValid() bool { + for _, existing := range AllowedIPAddressRoleLabelEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to IPAddress_role_label value +func (v IPAddressRoleLabel) Ptr() *IPAddressRoleLabel { + return &v +} + +type NullableIPAddressRoleLabel struct { + value *IPAddressRoleLabel + isSet bool +} + +func (v NullableIPAddressRoleLabel) Get() *IPAddressRoleLabel { + return v.value +} + +func (v *NullableIPAddressRoleLabel) Set(val *IPAddressRoleLabel) { + v.value = val + v.isSet = true +} + +func (v NullableIPAddressRoleLabel) IsSet() bool { + return v.isSet +} + +func (v *NullableIPAddressRoleLabel) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableIPAddressRoleLabel(val *IPAddressRoleLabel) *NullableIPAddressRoleLabel { + return &NullableIPAddressRoleLabel{value: val, isSet: true} +} + +func (v NullableIPAddressRoleLabel) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableIPAddressRoleLabel) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_ip_address_role_value.go b/model_ip_address_role_value.go new file mode 100644 index 000000000..ce0990c39 --- /dev/null +++ b/model_ip_address_role_value.go @@ -0,0 +1,124 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// IPAddressRoleValue * `loopback` - Loopback * `secondary` - Secondary * `anycast` - Anycast * `vip` - VIP * `vrrp` - VRRP * `hsrp` - HSRP * `glbp` - GLBP * `carp` - CARP +type IPAddressRoleValue string + +// List of IPAddress_role_value +const ( + IPADDRESSROLEVALUE_LOOPBACK IPAddressRoleValue = "loopback" + IPADDRESSROLEVALUE_SECONDARY IPAddressRoleValue = "secondary" + IPADDRESSROLEVALUE_ANYCAST IPAddressRoleValue = "anycast" + IPADDRESSROLEVALUE_VIP IPAddressRoleValue = "vip" + IPADDRESSROLEVALUE_VRRP IPAddressRoleValue = "vrrp" + IPADDRESSROLEVALUE_HSRP IPAddressRoleValue = "hsrp" + IPADDRESSROLEVALUE_GLBP IPAddressRoleValue = "glbp" + IPADDRESSROLEVALUE_CARP IPAddressRoleValue = "carp" + IPADDRESSROLEVALUE_EMPTY IPAddressRoleValue = "" +) + +// All allowed values of IPAddressRoleValue enum +var AllowedIPAddressRoleValueEnumValues = []IPAddressRoleValue{ + "loopback", + "secondary", + "anycast", + "vip", + "vrrp", + "hsrp", + "glbp", + "carp", + "", +} + +func (v *IPAddressRoleValue) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := IPAddressRoleValue(value) + for _, existing := range AllowedIPAddressRoleValueEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid IPAddressRoleValue", value) +} + +// NewIPAddressRoleValueFromValue returns a pointer to a valid IPAddressRoleValue +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewIPAddressRoleValueFromValue(v string) (*IPAddressRoleValue, error) { + ev := IPAddressRoleValue(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for IPAddressRoleValue: valid values are %v", v, AllowedIPAddressRoleValueEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v IPAddressRoleValue) IsValid() bool { + for _, existing := range AllowedIPAddressRoleValueEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to IPAddress_role_value value +func (v IPAddressRoleValue) Ptr() *IPAddressRoleValue { + return &v +} + +type NullableIPAddressRoleValue struct { + value *IPAddressRoleValue + isSet bool +} + +func (v NullableIPAddressRoleValue) Get() *IPAddressRoleValue { + return v.value +} + +func (v *NullableIPAddressRoleValue) Set(val *IPAddressRoleValue) { + v.value = val + v.isSet = true +} + +func (v NullableIPAddressRoleValue) IsSet() bool { + return v.isSet +} + +func (v *NullableIPAddressRoleValue) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableIPAddressRoleValue(val *IPAddressRoleValue) *NullableIPAddressRoleValue { + return &NullableIPAddressRoleValue{value: val, isSet: true} +} + +func (v NullableIPAddressRoleValue) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableIPAddressRoleValue) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_ip_address_status.go b/model_ip_address_status.go new file mode 100644 index 000000000..5f0029c15 --- /dev/null +++ b/model_ip_address_status.go @@ -0,0 +1,190 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" +) + +// checks if the IPAddressStatus type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &IPAddressStatus{} + +// IPAddressStatus struct for IPAddressStatus +type IPAddressStatus struct { + Value *IPAddressStatusValue `json:"value,omitempty"` + Label *IPAddressStatusLabel `json:"label,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _IPAddressStatus IPAddressStatus + +// NewIPAddressStatus instantiates a new IPAddressStatus object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewIPAddressStatus() *IPAddressStatus { + this := IPAddressStatus{} + return &this +} + +// NewIPAddressStatusWithDefaults instantiates a new IPAddressStatus object +// This 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 NewIPAddressStatusWithDefaults() *IPAddressStatus { + this := IPAddressStatus{} + return &this +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *IPAddressStatus) GetValue() IPAddressStatusValue { + if o == nil || IsNil(o.Value) { + var ret IPAddressStatusValue + 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 *IPAddressStatus) GetValueOk() (*IPAddressStatusValue, 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 *IPAddressStatus) HasValue() bool { + if o != nil && !IsNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given IPAddressStatusValue and assigns it to the Value field. +func (o *IPAddressStatus) SetValue(v IPAddressStatusValue) { + o.Value = &v +} + +// GetLabel returns the Label field value if set, zero value otherwise. +func (o *IPAddressStatus) GetLabel() IPAddressStatusLabel { + if o == nil || IsNil(o.Label) { + var ret IPAddressStatusLabel + 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 *IPAddressStatus) GetLabelOk() (*IPAddressStatusLabel, 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 *IPAddressStatus) HasLabel() bool { + if o != nil && !IsNil(o.Label) { + return true + } + + return false +} + +// SetLabel gets a reference to the given IPAddressStatusLabel and assigns it to the Label field. +func (o *IPAddressStatus) SetLabel(v IPAddressStatusLabel) { + o.Label = &v +} + +func (o IPAddressStatus) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o IPAddressStatus) 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 *IPAddressStatus) UnmarshalJSON(data []byte) (err error) { + varIPAddressStatus := _IPAddressStatus{} + + err = json.Unmarshal(data, &varIPAddressStatus) + + if err != nil { + return err + } + + *o = IPAddressStatus(varIPAddressStatus) + + 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 NullableIPAddressStatus struct { + value *IPAddressStatus + isSet bool +} + +func (v NullableIPAddressStatus) Get() *IPAddressStatus { + return v.value +} + +func (v *NullableIPAddressStatus) Set(val *IPAddressStatus) { + v.value = val + v.isSet = true +} + +func (v NullableIPAddressStatus) IsSet() bool { + return v.isSet +} + +func (v *NullableIPAddressStatus) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableIPAddressStatus(val *IPAddressStatus) *NullableIPAddressStatus { + return &NullableIPAddressStatus{value: val, isSet: true} +} + +func (v NullableIPAddressStatus) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableIPAddressStatus) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_ip_address_status_label.go b/model_ip_address_status_label.go new file mode 100644 index 000000000..1e5286de6 --- /dev/null +++ b/model_ip_address_status_label.go @@ -0,0 +1,116 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// IPAddressStatusLabel the model 'IPAddressStatusLabel' +type IPAddressStatusLabel string + +// List of IPAddress_status_label +const ( + IPADDRESSSTATUSLABEL_ACTIVE IPAddressStatusLabel = "Active" + IPADDRESSSTATUSLABEL_RESERVED IPAddressStatusLabel = "Reserved" + IPADDRESSSTATUSLABEL_DEPRECATED IPAddressStatusLabel = "Deprecated" + IPADDRESSSTATUSLABEL_DHCP IPAddressStatusLabel = "DHCP" + IPADDRESSSTATUSLABEL_SLAAC IPAddressStatusLabel = "SLAAC" +) + +// All allowed values of IPAddressStatusLabel enum +var AllowedIPAddressStatusLabelEnumValues = []IPAddressStatusLabel{ + "Active", + "Reserved", + "Deprecated", + "DHCP", + "SLAAC", +} + +func (v *IPAddressStatusLabel) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := IPAddressStatusLabel(value) + for _, existing := range AllowedIPAddressStatusLabelEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid IPAddressStatusLabel", value) +} + +// NewIPAddressStatusLabelFromValue returns a pointer to a valid IPAddressStatusLabel +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewIPAddressStatusLabelFromValue(v string) (*IPAddressStatusLabel, error) { + ev := IPAddressStatusLabel(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for IPAddressStatusLabel: valid values are %v", v, AllowedIPAddressStatusLabelEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v IPAddressStatusLabel) IsValid() bool { + for _, existing := range AllowedIPAddressStatusLabelEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to IPAddress_status_label value +func (v IPAddressStatusLabel) Ptr() *IPAddressStatusLabel { + return &v +} + +type NullableIPAddressStatusLabel struct { + value *IPAddressStatusLabel + isSet bool +} + +func (v NullableIPAddressStatusLabel) Get() *IPAddressStatusLabel { + return v.value +} + +func (v *NullableIPAddressStatusLabel) Set(val *IPAddressStatusLabel) { + v.value = val + v.isSet = true +} + +func (v NullableIPAddressStatusLabel) IsSet() bool { + return v.isSet +} + +func (v *NullableIPAddressStatusLabel) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableIPAddressStatusLabel(val *IPAddressStatusLabel) *NullableIPAddressStatusLabel { + return &NullableIPAddressStatusLabel{value: val, isSet: true} +} + +func (v NullableIPAddressStatusLabel) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableIPAddressStatusLabel) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_ip_address_status_value.go b/model_ip_address_status_value.go new file mode 100644 index 000000000..a0a350b33 --- /dev/null +++ b/model_ip_address_status_value.go @@ -0,0 +1,116 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// IPAddressStatusValue * `active` - Active * `reserved` - Reserved * `deprecated` - Deprecated * `dhcp` - DHCP * `slaac` - SLAAC +type IPAddressStatusValue string + +// List of IPAddress_status_value +const ( + IPADDRESSSTATUSVALUE_ACTIVE IPAddressStatusValue = "active" + IPADDRESSSTATUSVALUE_RESERVED IPAddressStatusValue = "reserved" + IPADDRESSSTATUSVALUE_DEPRECATED IPAddressStatusValue = "deprecated" + IPADDRESSSTATUSVALUE_DHCP IPAddressStatusValue = "dhcp" + IPADDRESSSTATUSVALUE_SLAAC IPAddressStatusValue = "slaac" +) + +// All allowed values of IPAddressStatusValue enum +var AllowedIPAddressStatusValueEnumValues = []IPAddressStatusValue{ + "active", + "reserved", + "deprecated", + "dhcp", + "slaac", +} + +func (v *IPAddressStatusValue) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := IPAddressStatusValue(value) + for _, existing := range AllowedIPAddressStatusValueEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid IPAddressStatusValue", value) +} + +// NewIPAddressStatusValueFromValue returns a pointer to a valid IPAddressStatusValue +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewIPAddressStatusValueFromValue(v string) (*IPAddressStatusValue, error) { + ev := IPAddressStatusValue(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for IPAddressStatusValue: valid values are %v", v, AllowedIPAddressStatusValueEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v IPAddressStatusValue) IsValid() bool { + for _, existing := range AllowedIPAddressStatusValueEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to IPAddress_status_value value +func (v IPAddressStatusValue) Ptr() *IPAddressStatusValue { + return &v +} + +type NullableIPAddressStatusValue struct { + value *IPAddressStatusValue + isSet bool +} + +func (v NullableIPAddressStatusValue) Get() *IPAddressStatusValue { + return v.value +} + +func (v *NullableIPAddressStatusValue) Set(val *IPAddressStatusValue) { + v.value = val + v.isSet = true +} + +func (v NullableIPAddressStatusValue) IsSet() bool { + return v.isSet +} + +func (v *NullableIPAddressStatusValue) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableIPAddressStatusValue(val *IPAddressStatusValue) *NullableIPAddressStatusValue { + return &NullableIPAddressStatusValue{value: val, isSet: true} +} + +func (v NullableIPAddressStatusValue) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableIPAddressStatusValue) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_ip_range.go b/model_ip_range.go index 8775cca43..0b170a2ab 100644 --- a/model_ip_range.go +++ b/model_ip_range.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -23,15 +23,16 @@ var _ MappedNullable = &IPRange{} type IPRange struct { Id int32 `json:"id"` Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` Display string `json:"display"` Family AggregateFamily `json:"family"` StartAddress string `json:"start_address"` EndAddress string `json:"end_address"` Size int32 `json:"size"` - Vrf NullableVRF `json:"vrf,omitempty"` - Tenant NullableTenant `json:"tenant,omitempty"` + Vrf NullableBriefVRF `json:"vrf,omitempty"` + Tenant NullableBriefTenant `json:"tenant,omitempty"` Status *IPRangeStatus `json:"status,omitempty"` - Role NullableRole `json:"role,omitempty"` + Role NullableBriefRole `json:"role,omitempty"` Description *string `json:"description,omitempty"` Comments *string `json:"comments,omitempty"` Tags []NestedTag `json:"tags,omitempty"` @@ -119,6 +120,38 @@ func (o *IPRange) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *IPRange) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *IPRange) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *IPRange) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *IPRange) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *IPRange) GetDisplay() string { if o == nil { @@ -240,9 +273,9 @@ func (o *IPRange) SetSize(v int32) { } // GetVrf returns the Vrf field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *IPRange) GetVrf() VRF { +func (o *IPRange) GetVrf() BriefVRF { if o == nil || IsNil(o.Vrf.Get()) { - var ret VRF + var ret BriefVRF return ret } return *o.Vrf.Get() @@ -251,7 +284,7 @@ func (o *IPRange) GetVrf() VRF { // GetVrfOk returns a tuple with the Vrf 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 *IPRange) GetVrfOk() (*VRF, bool) { +func (o *IPRange) GetVrfOk() (*BriefVRF, bool) { if o == nil { return nil, false } @@ -267,8 +300,8 @@ func (o *IPRange) HasVrf() bool { return false } -// SetVrf gets a reference to the given NullableVRF and assigns it to the Vrf field. -func (o *IPRange) SetVrf(v VRF) { +// SetVrf gets a reference to the given NullableBriefVRF and assigns it to the Vrf field. +func (o *IPRange) SetVrf(v BriefVRF) { o.Vrf.Set(&v) } @@ -283,9 +316,9 @@ func (o *IPRange) UnsetVrf() { } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *IPRange) GetTenant() Tenant { +func (o *IPRange) GetTenant() BriefTenant { if o == nil || IsNil(o.Tenant.Get()) { - var ret Tenant + var ret BriefTenant return ret } return *o.Tenant.Get() @@ -294,7 +327,7 @@ func (o *IPRange) GetTenant() Tenant { // 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 *IPRange) GetTenantOk() (*Tenant, bool) { +func (o *IPRange) GetTenantOk() (*BriefTenant, bool) { if o == nil { return nil, false } @@ -310,8 +343,8 @@ func (o *IPRange) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenant and assigns it to the Tenant field. -func (o *IPRange) SetTenant(v Tenant) { +// SetTenant gets a reference to the given NullableBriefTenant and assigns it to the Tenant field. +func (o *IPRange) SetTenant(v BriefTenant) { o.Tenant.Set(&v) } @@ -358,9 +391,9 @@ func (o *IPRange) SetStatus(v IPRangeStatus) { } // GetRole returns the Role field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *IPRange) GetRole() Role { +func (o *IPRange) GetRole() BriefRole { if o == nil || IsNil(o.Role.Get()) { - var ret Role + var ret BriefRole return ret } return *o.Role.Get() @@ -369,7 +402,7 @@ func (o *IPRange) GetRole() Role { // 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 *IPRange) GetRoleOk() (*Role, bool) { +func (o *IPRange) GetRoleOk() (*BriefRole, bool) { if o == nil { return nil, false } @@ -385,8 +418,8 @@ func (o *IPRange) HasRole() bool { return false } -// SetRole gets a reference to the given NullableRole and assigns it to the Role field. -func (o *IPRange) SetRole(v Role) { +// SetRole gets a reference to the given NullableBriefRole and assigns it to the Role field. +func (o *IPRange) SetRole(v BriefRole) { o.Role.Set(&v) } @@ -624,6 +657,9 @@ func (o IPRange) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["family"] = o.Family toSerialize["start_address"] = o.StartAddress @@ -711,6 +747,7 @@ func (o *IPRange) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "family") delete(additionalProperties, "start_address") diff --git a/model_ip_range_request.go b/model_ip_range_request.go index 89c81001d..48878870f 100644 --- a/model_ip_range_request.go +++ b/model_ip_range_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,16 +20,16 @@ var _ MappedNullable = &IPRangeRequest{} // IPRangeRequest Adds support for custom fields and tags. type IPRangeRequest struct { - StartAddress string `json:"start_address"` - EndAddress string `json:"end_address"` - Vrf NullableVRFRequest `json:"vrf,omitempty"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` - Status *IPRangeStatusValue `json:"status,omitempty"` - Role NullableRoleRequest `json:"role,omitempty"` - Description *string `json:"description,omitempty"` - Comments *string `json:"comments,omitempty"` - Tags []NestedTagRequest `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + StartAddress string `json:"start_address"` + EndAddress string `json:"end_address"` + Vrf NullableBriefVRFRequest `json:"vrf,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` + Status *IPRangeStatusValue `json:"status,omitempty"` + Role NullableBriefRoleRequest `json:"role,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` // Treat as fully utilized MarkUtilized *bool `json:"mark_utilized,omitempty"` AdditionalProperties map[string]interface{} @@ -105,9 +105,9 @@ func (o *IPRangeRequest) SetEndAddress(v string) { } // GetVrf returns the Vrf field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *IPRangeRequest) GetVrf() VRFRequest { +func (o *IPRangeRequest) GetVrf() BriefVRFRequest { if o == nil || IsNil(o.Vrf.Get()) { - var ret VRFRequest + var ret BriefVRFRequest return ret } return *o.Vrf.Get() @@ -116,7 +116,7 @@ func (o *IPRangeRequest) GetVrf() VRFRequest { // GetVrfOk returns a tuple with the Vrf 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 *IPRangeRequest) GetVrfOk() (*VRFRequest, bool) { +func (o *IPRangeRequest) GetVrfOk() (*BriefVRFRequest, bool) { if o == nil { return nil, false } @@ -132,8 +132,8 @@ func (o *IPRangeRequest) HasVrf() bool { return false } -// SetVrf gets a reference to the given NullableVRFRequest and assigns it to the Vrf field. -func (o *IPRangeRequest) SetVrf(v VRFRequest) { +// SetVrf gets a reference to the given NullableBriefVRFRequest and assigns it to the Vrf field. +func (o *IPRangeRequest) SetVrf(v BriefVRFRequest) { o.Vrf.Set(&v) } @@ -148,9 +148,9 @@ func (o *IPRangeRequest) UnsetVrf() { } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *IPRangeRequest) GetTenant() TenantRequest { +func (o *IPRangeRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -159,7 +159,7 @@ func (o *IPRangeRequest) GetTenant() TenantRequest { // 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 *IPRangeRequest) GetTenantOk() (*TenantRequest, bool) { +func (o *IPRangeRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -175,8 +175,8 @@ func (o *IPRangeRequest) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *IPRangeRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *IPRangeRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } @@ -223,9 +223,9 @@ func (o *IPRangeRequest) SetStatus(v IPRangeStatusValue) { } // GetRole returns the Role field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *IPRangeRequest) GetRole() RoleRequest { +func (o *IPRangeRequest) GetRole() BriefRoleRequest { if o == nil || IsNil(o.Role.Get()) { - var ret RoleRequest + var ret BriefRoleRequest return ret } return *o.Role.Get() @@ -234,7 +234,7 @@ func (o *IPRangeRequest) GetRole() RoleRequest { // 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 *IPRangeRequest) GetRoleOk() (*RoleRequest, bool) { +func (o *IPRangeRequest) GetRoleOk() (*BriefRoleRequest, bool) { if o == nil { return nil, false } @@ -250,8 +250,8 @@ func (o *IPRangeRequest) HasRole() bool { return false } -// SetRole gets a reference to the given NullableRoleRequest and assigns it to the Role field. -func (o *IPRangeRequest) SetRole(v RoleRequest) { +// SetRole gets a reference to the given NullableBriefRoleRequest and assigns it to the Role field. +func (o *IPRangeRequest) SetRole(v BriefRoleRequest) { o.Role.Set(&v) } diff --git a/model_ip_range_status.go b/model_ip_range_status.go index 7382048fb..3e895a4c9 100644 --- a/model_ip_range_status.go +++ b/model_ip_range_status.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_ip_range_status_label.go b/model_ip_range_status_label.go index 385ab47e7..1b2ba4c90 100644 --- a/model_ip_range_status_label.go +++ b/model_ip_range_status_label.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_ip_range_status_value.go b/model_ip_range_status_value.go index df62fcdf6..a2589c4f5 100644 --- a/model_ip_range_status_value.go +++ b/model_ip_range_status_value.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_ip_sec_policy.go b/model_ip_sec_policy.go index 36f1f6c99..d8cc5d714 100644 --- a/model_ip_sec_policy.go +++ b/model_ip_sec_policy.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -23,6 +23,7 @@ var _ MappedNullable = &IPSecPolicy{} type IPSecPolicy struct { Id int32 `json:"id"` Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` Display string `json:"display"` Name string `json:"name"` Description *string `json:"description,omitempty"` @@ -109,6 +110,38 @@ func (o *IPSecPolicy) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *IPSecPolicy) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *IPSecPolicy) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *IPSecPolicy) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *IPSecPolicy) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *IPSecPolicy) GetDisplay() string { if o == nil { @@ -413,6 +446,9 @@ func (o IPSecPolicy) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["name"] = o.Name if !IsNil(o.Description) { @@ -485,6 +521,7 @@ func (o *IPSecPolicy) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") delete(additionalProperties, "description") diff --git a/model_ip_sec_policy_request.go b/model_ip_sec_policy_request.go index 9612f14fa..ee8498f55 100644 --- a/model_ip_sec_policy_request.go +++ b/model_ip_sec_policy_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_ip_sec_profile.go b/model_ip_sec_profile.go index 9146d8074..aa5d556ea 100644 --- a/model_ip_sec_profile.go +++ b/model_ip_sec_profile.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -23,12 +23,13 @@ var _ MappedNullable = &IPSecProfile{} type IPSecProfile struct { Id int32 `json:"id"` Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` Display string `json:"display"` Name string `json:"name"` Description *string `json:"description,omitempty"` Mode IPSecProfileMode `json:"mode"` - IkePolicy IKEPolicy `json:"ike_policy"` - IpsecPolicy IPSecPolicy `json:"ipsec_policy"` + IkePolicy BriefIKEPolicy `json:"ike_policy"` + IpsecPolicy BriefIPSecPolicy `json:"ipsec_policy"` Comments *string `json:"comments,omitempty"` Tags []NestedTag `json:"tags,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` @@ -43,7 +44,7 @@ type _IPSecProfile IPSecProfile // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewIPSecProfile(id int32, url string, display string, name string, mode IPSecProfileMode, ikePolicy IKEPolicy, ipsecPolicy IPSecPolicy, created NullableTime, lastUpdated NullableTime) *IPSecProfile { +func NewIPSecProfile(id int32, url string, display string, name string, mode IPSecProfileMode, ikePolicy BriefIKEPolicy, ipsecPolicy BriefIPSecPolicy, created NullableTime, lastUpdated NullableTime) *IPSecProfile { this := IPSecProfile{} this.Id = id this.Url = url @@ -113,6 +114,38 @@ func (o *IPSecProfile) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *IPSecProfile) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *IPSecProfile) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *IPSecProfile) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *IPSecProfile) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *IPSecProfile) GetDisplay() string { if o == nil { @@ -218,9 +251,9 @@ func (o *IPSecProfile) SetMode(v IPSecProfileMode) { } // GetIkePolicy returns the IkePolicy field value -func (o *IPSecProfile) GetIkePolicy() IKEPolicy { +func (o *IPSecProfile) GetIkePolicy() BriefIKEPolicy { if o == nil { - var ret IKEPolicy + var ret BriefIKEPolicy return ret } @@ -229,7 +262,7 @@ func (o *IPSecProfile) GetIkePolicy() IKEPolicy { // GetIkePolicyOk returns a tuple with the IkePolicy field value // and a boolean to check if the value has been set. -func (o *IPSecProfile) GetIkePolicyOk() (*IKEPolicy, bool) { +func (o *IPSecProfile) GetIkePolicyOk() (*BriefIKEPolicy, bool) { if o == nil { return nil, false } @@ -237,14 +270,14 @@ func (o *IPSecProfile) GetIkePolicyOk() (*IKEPolicy, bool) { } // SetIkePolicy sets field value -func (o *IPSecProfile) SetIkePolicy(v IKEPolicy) { +func (o *IPSecProfile) SetIkePolicy(v BriefIKEPolicy) { o.IkePolicy = v } // GetIpsecPolicy returns the IpsecPolicy field value -func (o *IPSecProfile) GetIpsecPolicy() IPSecPolicy { +func (o *IPSecProfile) GetIpsecPolicy() BriefIPSecPolicy { if o == nil { - var ret IPSecPolicy + var ret BriefIPSecPolicy return ret } @@ -253,7 +286,7 @@ func (o *IPSecProfile) GetIpsecPolicy() IPSecPolicy { // GetIpsecPolicyOk returns a tuple with the IpsecPolicy field value // and a boolean to check if the value has been set. -func (o *IPSecProfile) GetIpsecPolicyOk() (*IPSecPolicy, bool) { +func (o *IPSecProfile) GetIpsecPolicyOk() (*BriefIPSecPolicy, bool) { if o == nil { return nil, false } @@ -261,7 +294,7 @@ func (o *IPSecProfile) GetIpsecPolicyOk() (*IPSecPolicy, bool) { } // SetIpsecPolicy sets field value -func (o *IPSecProfile) SetIpsecPolicy(v IPSecPolicy) { +func (o *IPSecProfile) SetIpsecPolicy(v BriefIPSecPolicy) { o.IpsecPolicy = v } @@ -425,6 +458,9 @@ func (o IPSecProfile) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["name"] = o.Name if !IsNil(o.Description) { @@ -497,6 +533,7 @@ func (o *IPSecProfile) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") delete(additionalProperties, "description") diff --git a/model_ip_sec_profile_mode.go b/model_ip_sec_profile_mode.go index 69bcffc18..3af58d691 100644 --- a/model_ip_sec_profile_mode.go +++ b/model_ip_sec_profile_mode.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_ip_sec_profile_mode_label.go b/model_ip_sec_profile_mode_label.go index 31f8922ec..0e0b4ed74 100644 --- a/model_ip_sec_profile_mode_label.go +++ b/model_ip_sec_profile_mode_label.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_ip_sec_profile_mode_value.go b/model_ip_sec_profile_mode_value.go index 75a1b1c6a..6f2fda0a7 100644 --- a/model_ip_sec_profile_mode_value.go +++ b/model_ip_sec_profile_mode_value.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_ip_sec_profile_request.go b/model_ip_sec_profile_request.go index 09202cc1e..935a620df 100644 --- a/model_ip_sec_profile_request.go +++ b/model_ip_sec_profile_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,14 +20,14 @@ var _ MappedNullable = &IPSecProfileRequest{} // IPSecProfileRequest Adds support for custom fields and tags. type IPSecProfileRequest struct { - Name string `json:"name"` - Description *string `json:"description,omitempty"` - Mode IPSecProfileModeValue `json:"mode"` - IkePolicy IKEPolicyRequest `json:"ike_policy"` - IpsecPolicy IPSecPolicyRequest `json:"ipsec_policy"` - Comments *string `json:"comments,omitempty"` - Tags []NestedTagRequest `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Name string `json:"name"` + Description *string `json:"description,omitempty"` + Mode IPSecProfileModeValue `json:"mode"` + IkePolicy BriefIKEPolicyRequest `json:"ike_policy"` + IpsecPolicy BriefIPSecPolicyRequest `json:"ipsec_policy"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -37,7 +37,7 @@ type _IPSecProfileRequest IPSecProfileRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewIPSecProfileRequest(name string, mode IPSecProfileModeValue, ikePolicy IKEPolicyRequest, ipsecPolicy IPSecPolicyRequest) *IPSecProfileRequest { +func NewIPSecProfileRequest(name string, mode IPSecProfileModeValue, ikePolicy BriefIKEPolicyRequest, ipsecPolicy BriefIPSecPolicyRequest) *IPSecProfileRequest { this := IPSecProfileRequest{} this.Name = name this.Mode = mode @@ -135,9 +135,9 @@ func (o *IPSecProfileRequest) SetMode(v IPSecProfileModeValue) { } // GetIkePolicy returns the IkePolicy field value -func (o *IPSecProfileRequest) GetIkePolicy() IKEPolicyRequest { +func (o *IPSecProfileRequest) GetIkePolicy() BriefIKEPolicyRequest { if o == nil { - var ret IKEPolicyRequest + var ret BriefIKEPolicyRequest return ret } @@ -146,7 +146,7 @@ func (o *IPSecProfileRequest) GetIkePolicy() IKEPolicyRequest { // GetIkePolicyOk returns a tuple with the IkePolicy field value // and a boolean to check if the value has been set. -func (o *IPSecProfileRequest) GetIkePolicyOk() (*IKEPolicyRequest, bool) { +func (o *IPSecProfileRequest) GetIkePolicyOk() (*BriefIKEPolicyRequest, bool) { if o == nil { return nil, false } @@ -154,14 +154,14 @@ func (o *IPSecProfileRequest) GetIkePolicyOk() (*IKEPolicyRequest, bool) { } // SetIkePolicy sets field value -func (o *IPSecProfileRequest) SetIkePolicy(v IKEPolicyRequest) { +func (o *IPSecProfileRequest) SetIkePolicy(v BriefIKEPolicyRequest) { o.IkePolicy = v } // GetIpsecPolicy returns the IpsecPolicy field value -func (o *IPSecProfileRequest) GetIpsecPolicy() IPSecPolicyRequest { +func (o *IPSecProfileRequest) GetIpsecPolicy() BriefIPSecPolicyRequest { if o == nil { - var ret IPSecPolicyRequest + var ret BriefIPSecPolicyRequest return ret } @@ -170,7 +170,7 @@ func (o *IPSecProfileRequest) GetIpsecPolicy() IPSecPolicyRequest { // GetIpsecPolicyOk returns a tuple with the IpsecPolicy field value // and a boolean to check if the value has been set. -func (o *IPSecProfileRequest) GetIpsecPolicyOk() (*IPSecPolicyRequest, bool) { +func (o *IPSecProfileRequest) GetIpsecPolicyOk() (*BriefIPSecPolicyRequest, bool) { if o == nil { return nil, false } @@ -178,7 +178,7 @@ func (o *IPSecProfileRequest) GetIpsecPolicyOk() (*IPSecPolicyRequest, bool) { } // SetIpsecPolicy sets field value -func (o *IPSecProfileRequest) SetIpsecPolicy(v IPSecPolicyRequest) { +func (o *IPSecProfileRequest) SetIpsecPolicy(v BriefIPSecPolicyRequest) { o.IpsecPolicy = v } diff --git a/model_ip_sec_proposal.go b/model_ip_sec_proposal.go index cdc9250e2..f89be60dc 100644 --- a/model_ip_sec_proposal.go +++ b/model_ip_sec_proposal.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -23,6 +23,7 @@ var _ MappedNullable = &IPSecProposal{} type IPSecProposal struct { Id int32 `json:"id"` Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` Display string `json:"display"` Name string `json:"name"` Description *string `json:"description,omitempty"` @@ -115,6 +116,38 @@ func (o *IPSecProposal) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *IPSecProposal) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *IPSecProposal) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *IPSecProposal) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *IPSecProposal) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *IPSecProposal) GetDisplay() string { if o == nil { @@ -489,6 +522,9 @@ func (o IPSecProposal) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["name"] = o.Name if !IsNil(o.Description) { @@ -565,6 +601,7 @@ func (o *IPSecProposal) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") delete(additionalProperties, "description") diff --git a/model_ip_sec_proposal_request.go b/model_ip_sec_proposal_request.go index 1a4cdf787..98b1fc4dd 100644 --- a/model_ip_sec_proposal_request.go +++ b/model_ip_sec_proposal_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_ipam_fhrp_groups_list_protocol__ic_parameter_inner.go b/model_ipam_fhrp_groups_list_protocol__ic_parameter_inner.go new file mode 100644 index 000000000..21b962686 --- /dev/null +++ b/model_ipam_fhrp_groups_list_protocol__ic_parameter_inner.go @@ -0,0 +1,121 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// IpamFhrpGroupsListProtocolIcParameterInner the model 'IpamFhrpGroupsListProtocolIcParameterInner' +type IpamFhrpGroupsListProtocolIcParameterInner string + +// List of ipam_fhrp_groups_list_protocol__ic_parameter_inner +const ( + IPAMFHRPGROUPSLISTPROTOCOLICPARAMETERINNER_CARP IpamFhrpGroupsListProtocolIcParameterInner = "carp" + IPAMFHRPGROUPSLISTPROTOCOLICPARAMETERINNER_CLUSTERXL IpamFhrpGroupsListProtocolIcParameterInner = "clusterxl" + IPAMFHRPGROUPSLISTPROTOCOLICPARAMETERINNER_GLBP IpamFhrpGroupsListProtocolIcParameterInner = "glbp" + IPAMFHRPGROUPSLISTPROTOCOLICPARAMETERINNER_HSRP IpamFhrpGroupsListProtocolIcParameterInner = "hsrp" + IPAMFHRPGROUPSLISTPROTOCOLICPARAMETERINNER_OTHER IpamFhrpGroupsListProtocolIcParameterInner = "other" + IPAMFHRPGROUPSLISTPROTOCOLICPARAMETERINNER_VRRP2 IpamFhrpGroupsListProtocolIcParameterInner = "vrrp2" + IPAMFHRPGROUPSLISTPROTOCOLICPARAMETERINNER_VRRP3 IpamFhrpGroupsListProtocolIcParameterInner = "vrrp3" +) + +// All allowed values of IpamFhrpGroupsListProtocolIcParameterInner enum +var AllowedIpamFhrpGroupsListProtocolIcParameterInnerEnumValues = []IpamFhrpGroupsListProtocolIcParameterInner{ + "carp", + "clusterxl", + "glbp", + "hsrp", + "other", + "vrrp2", + "vrrp3", +} + +func (v *IpamFhrpGroupsListProtocolIcParameterInner) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := IpamFhrpGroupsListProtocolIcParameterInner(value) + for _, existing := range AllowedIpamFhrpGroupsListProtocolIcParameterInnerEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid IpamFhrpGroupsListProtocolIcParameterInner", value) +} + +// NewIpamFhrpGroupsListProtocolIcParameterInnerFromValue returns a pointer to a valid IpamFhrpGroupsListProtocolIcParameterInner +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewIpamFhrpGroupsListProtocolIcParameterInnerFromValue(v string) (*IpamFhrpGroupsListProtocolIcParameterInner, error) { + ev := IpamFhrpGroupsListProtocolIcParameterInner(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for IpamFhrpGroupsListProtocolIcParameterInner: valid values are %v", v, AllowedIpamFhrpGroupsListProtocolIcParameterInnerEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v IpamFhrpGroupsListProtocolIcParameterInner) IsValid() bool { + for _, existing := range AllowedIpamFhrpGroupsListProtocolIcParameterInnerEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to ipam_fhrp_groups_list_protocol__ic_parameter_inner value +func (v IpamFhrpGroupsListProtocolIcParameterInner) Ptr() *IpamFhrpGroupsListProtocolIcParameterInner { + return &v +} + +type NullableIpamFhrpGroupsListProtocolIcParameterInner struct { + value *IpamFhrpGroupsListProtocolIcParameterInner + isSet bool +} + +func (v NullableIpamFhrpGroupsListProtocolIcParameterInner) Get() *IpamFhrpGroupsListProtocolIcParameterInner { + return v.value +} + +func (v *NullableIpamFhrpGroupsListProtocolIcParameterInner) Set(val *IpamFhrpGroupsListProtocolIcParameterInner) { + v.value = val + v.isSet = true +} + +func (v NullableIpamFhrpGroupsListProtocolIcParameterInner) IsSet() bool { + return v.isSet +} + +func (v *NullableIpamFhrpGroupsListProtocolIcParameterInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableIpamFhrpGroupsListProtocolIcParameterInner(val *IpamFhrpGroupsListProtocolIcParameterInner) *NullableIpamFhrpGroupsListProtocolIcParameterInner { + return &NullableIpamFhrpGroupsListProtocolIcParameterInner{value: val, isSet: true} +} + +func (v NullableIpamFhrpGroupsListProtocolIcParameterInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableIpamFhrpGroupsListProtocolIcParameterInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_ipam_ip_addresses_list_role__ic_parameter_inner.go b/model_ipam_ip_addresses_list_role__ic_parameter_inner.go new file mode 100644 index 000000000..f879d0a1f --- /dev/null +++ b/model_ipam_ip_addresses_list_role__ic_parameter_inner.go @@ -0,0 +1,125 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// IpamIpAddressesListRoleIcParameterInner the model 'IpamIpAddressesListRoleIcParameterInner' +type IpamIpAddressesListRoleIcParameterInner string + +// List of ipam_ip_addresses_list_role__ic_parameter_inner +const ( + IPAMIPADDRESSESLISTROLEICPARAMETERINNER_EMPTY IpamIpAddressesListRoleIcParameterInner = "" + IPAMIPADDRESSESLISTROLEICPARAMETERINNER_ANYCAST IpamIpAddressesListRoleIcParameterInner = "anycast" + IPAMIPADDRESSESLISTROLEICPARAMETERINNER_CARP IpamIpAddressesListRoleIcParameterInner = "carp" + IPAMIPADDRESSESLISTROLEICPARAMETERINNER_GLBP IpamIpAddressesListRoleIcParameterInner = "glbp" + IPAMIPADDRESSESLISTROLEICPARAMETERINNER_HSRP IpamIpAddressesListRoleIcParameterInner = "hsrp" + IPAMIPADDRESSESLISTROLEICPARAMETERINNER_LOOPBACK IpamIpAddressesListRoleIcParameterInner = "loopback" + IPAMIPADDRESSESLISTROLEICPARAMETERINNER_SECONDARY IpamIpAddressesListRoleIcParameterInner = "secondary" + IPAMIPADDRESSESLISTROLEICPARAMETERINNER_VIP IpamIpAddressesListRoleIcParameterInner = "vip" + IPAMIPADDRESSESLISTROLEICPARAMETERINNER_VRRP IpamIpAddressesListRoleIcParameterInner = "vrrp" +) + +// All allowed values of IpamIpAddressesListRoleIcParameterInner enum +var AllowedIpamIpAddressesListRoleIcParameterInnerEnumValues = []IpamIpAddressesListRoleIcParameterInner{ + "", + "anycast", + "carp", + "glbp", + "hsrp", + "loopback", + "secondary", + "vip", + "vrrp", +} + +func (v *IpamIpAddressesListRoleIcParameterInner) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := IpamIpAddressesListRoleIcParameterInner(value) + for _, existing := range AllowedIpamIpAddressesListRoleIcParameterInnerEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid IpamIpAddressesListRoleIcParameterInner", value) +} + +// NewIpamIpAddressesListRoleIcParameterInnerFromValue returns a pointer to a valid IpamIpAddressesListRoleIcParameterInner +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewIpamIpAddressesListRoleIcParameterInnerFromValue(v string) (*IpamIpAddressesListRoleIcParameterInner, error) { + ev := IpamIpAddressesListRoleIcParameterInner(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for IpamIpAddressesListRoleIcParameterInner: valid values are %v", v, AllowedIpamIpAddressesListRoleIcParameterInnerEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v IpamIpAddressesListRoleIcParameterInner) IsValid() bool { + for _, existing := range AllowedIpamIpAddressesListRoleIcParameterInnerEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to ipam_ip_addresses_list_role__ic_parameter_inner value +func (v IpamIpAddressesListRoleIcParameterInner) Ptr() *IpamIpAddressesListRoleIcParameterInner { + return &v +} + +type NullableIpamIpAddressesListRoleIcParameterInner struct { + value *IpamIpAddressesListRoleIcParameterInner + isSet bool +} + +func (v NullableIpamIpAddressesListRoleIcParameterInner) Get() *IpamIpAddressesListRoleIcParameterInner { + return v.value +} + +func (v *NullableIpamIpAddressesListRoleIcParameterInner) Set(val *IpamIpAddressesListRoleIcParameterInner) { + v.value = val + v.isSet = true +} + +func (v NullableIpamIpAddressesListRoleIcParameterInner) IsSet() bool { + return v.isSet +} + +func (v *NullableIpamIpAddressesListRoleIcParameterInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableIpamIpAddressesListRoleIcParameterInner(val *IpamIpAddressesListRoleIcParameterInner) *NullableIpamIpAddressesListRoleIcParameterInner { + return &NullableIpamIpAddressesListRoleIcParameterInner{value: val, isSet: true} +} + +func (v NullableIpamIpAddressesListRoleIcParameterInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableIpamIpAddressesListRoleIcParameterInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_ipam_ip_addresses_list_status__ic_parameter_inner.go b/model_ipam_ip_addresses_list_status__ic_parameter_inner.go new file mode 100644 index 000000000..c31d108e0 --- /dev/null +++ b/model_ipam_ip_addresses_list_status__ic_parameter_inner.go @@ -0,0 +1,117 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// IpamIpAddressesListStatusIcParameterInner the model 'IpamIpAddressesListStatusIcParameterInner' +type IpamIpAddressesListStatusIcParameterInner string + +// List of ipam_ip_addresses_list_status__ic_parameter_inner +const ( + IPAMIPADDRESSESLISTSTATUSICPARAMETERINNER_ACTIVE IpamIpAddressesListStatusIcParameterInner = "active" + IPAMIPADDRESSESLISTSTATUSICPARAMETERINNER_DEPRECATED IpamIpAddressesListStatusIcParameterInner = "deprecated" + IPAMIPADDRESSESLISTSTATUSICPARAMETERINNER_DHCP IpamIpAddressesListStatusIcParameterInner = "dhcp" + IPAMIPADDRESSESLISTSTATUSICPARAMETERINNER_RESERVED IpamIpAddressesListStatusIcParameterInner = "reserved" + IPAMIPADDRESSESLISTSTATUSICPARAMETERINNER_SLAAC IpamIpAddressesListStatusIcParameterInner = "slaac" +) + +// All allowed values of IpamIpAddressesListStatusIcParameterInner enum +var AllowedIpamIpAddressesListStatusIcParameterInnerEnumValues = []IpamIpAddressesListStatusIcParameterInner{ + "active", + "deprecated", + "dhcp", + "reserved", + "slaac", +} + +func (v *IpamIpAddressesListStatusIcParameterInner) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := IpamIpAddressesListStatusIcParameterInner(value) + for _, existing := range AllowedIpamIpAddressesListStatusIcParameterInnerEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid IpamIpAddressesListStatusIcParameterInner", value) +} + +// NewIpamIpAddressesListStatusIcParameterInnerFromValue returns a pointer to a valid IpamIpAddressesListStatusIcParameterInner +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewIpamIpAddressesListStatusIcParameterInnerFromValue(v string) (*IpamIpAddressesListStatusIcParameterInner, error) { + ev := IpamIpAddressesListStatusIcParameterInner(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for IpamIpAddressesListStatusIcParameterInner: valid values are %v", v, AllowedIpamIpAddressesListStatusIcParameterInnerEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v IpamIpAddressesListStatusIcParameterInner) IsValid() bool { + for _, existing := range AllowedIpamIpAddressesListStatusIcParameterInnerEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to ipam_ip_addresses_list_status__ic_parameter_inner value +func (v IpamIpAddressesListStatusIcParameterInner) Ptr() *IpamIpAddressesListStatusIcParameterInner { + return &v +} + +type NullableIpamIpAddressesListStatusIcParameterInner struct { + value *IpamIpAddressesListStatusIcParameterInner + isSet bool +} + +func (v NullableIpamIpAddressesListStatusIcParameterInner) Get() *IpamIpAddressesListStatusIcParameterInner { + return v.value +} + +func (v *NullableIpamIpAddressesListStatusIcParameterInner) Set(val *IpamIpAddressesListStatusIcParameterInner) { + v.value = val + v.isSet = true +} + +func (v NullableIpamIpAddressesListStatusIcParameterInner) IsSet() bool { + return v.isSet +} + +func (v *NullableIpamIpAddressesListStatusIcParameterInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableIpamIpAddressesListStatusIcParameterInner(val *IpamIpAddressesListStatusIcParameterInner) *NullableIpamIpAddressesListStatusIcParameterInner { + return &NullableIpamIpAddressesListStatusIcParameterInner{value: val, isSet: true} +} + +func (v NullableIpamIpAddressesListStatusIcParameterInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableIpamIpAddressesListStatusIcParameterInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_ipam_ip_ranges_list_status__ic_parameter_inner.go b/model_ipam_ip_ranges_list_status__ic_parameter_inner.go new file mode 100644 index 000000000..a297f2c32 --- /dev/null +++ b/model_ipam_ip_ranges_list_status__ic_parameter_inner.go @@ -0,0 +1,113 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// IpamIpRangesListStatusIcParameterInner the model 'IpamIpRangesListStatusIcParameterInner' +type IpamIpRangesListStatusIcParameterInner string + +// List of ipam_ip_ranges_list_status__ic_parameter_inner +const ( + IPAMIPRANGESLISTSTATUSICPARAMETERINNER_ACTIVE IpamIpRangesListStatusIcParameterInner = "active" + IPAMIPRANGESLISTSTATUSICPARAMETERINNER_DEPRECATED IpamIpRangesListStatusIcParameterInner = "deprecated" + IPAMIPRANGESLISTSTATUSICPARAMETERINNER_RESERVED IpamIpRangesListStatusIcParameterInner = "reserved" +) + +// All allowed values of IpamIpRangesListStatusIcParameterInner enum +var AllowedIpamIpRangesListStatusIcParameterInnerEnumValues = []IpamIpRangesListStatusIcParameterInner{ + "active", + "deprecated", + "reserved", +} + +func (v *IpamIpRangesListStatusIcParameterInner) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := IpamIpRangesListStatusIcParameterInner(value) + for _, existing := range AllowedIpamIpRangesListStatusIcParameterInnerEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid IpamIpRangesListStatusIcParameterInner", value) +} + +// NewIpamIpRangesListStatusIcParameterInnerFromValue returns a pointer to a valid IpamIpRangesListStatusIcParameterInner +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewIpamIpRangesListStatusIcParameterInnerFromValue(v string) (*IpamIpRangesListStatusIcParameterInner, error) { + ev := IpamIpRangesListStatusIcParameterInner(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for IpamIpRangesListStatusIcParameterInner: valid values are %v", v, AllowedIpamIpRangesListStatusIcParameterInnerEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v IpamIpRangesListStatusIcParameterInner) IsValid() bool { + for _, existing := range AllowedIpamIpRangesListStatusIcParameterInnerEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to ipam_ip_ranges_list_status__ic_parameter_inner value +func (v IpamIpRangesListStatusIcParameterInner) Ptr() *IpamIpRangesListStatusIcParameterInner { + return &v +} + +type NullableIpamIpRangesListStatusIcParameterInner struct { + value *IpamIpRangesListStatusIcParameterInner + isSet bool +} + +func (v NullableIpamIpRangesListStatusIcParameterInner) Get() *IpamIpRangesListStatusIcParameterInner { + return v.value +} + +func (v *NullableIpamIpRangesListStatusIcParameterInner) Set(val *IpamIpRangesListStatusIcParameterInner) { + v.value = val + v.isSet = true +} + +func (v NullableIpamIpRangesListStatusIcParameterInner) IsSet() bool { + return v.isSet +} + +func (v *NullableIpamIpRangesListStatusIcParameterInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableIpamIpRangesListStatusIcParameterInner(val *IpamIpRangesListStatusIcParameterInner) *NullableIpamIpRangesListStatusIcParameterInner { + return &NullableIpamIpRangesListStatusIcParameterInner{value: val, isSet: true} +} + +func (v NullableIpamIpRangesListStatusIcParameterInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableIpamIpRangesListStatusIcParameterInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_ipam_prefixes_list_status__ic_parameter_inner.go b/model_ipam_prefixes_list_status__ic_parameter_inner.go new file mode 100644 index 000000000..f1eede2f8 --- /dev/null +++ b/model_ipam_prefixes_list_status__ic_parameter_inner.go @@ -0,0 +1,115 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// IpamPrefixesListStatusIcParameterInner the model 'IpamPrefixesListStatusIcParameterInner' +type IpamPrefixesListStatusIcParameterInner string + +// List of ipam_prefixes_list_status__ic_parameter_inner +const ( + IPAMPREFIXESLISTSTATUSICPARAMETERINNER_ACTIVE IpamPrefixesListStatusIcParameterInner = "active" + IPAMPREFIXESLISTSTATUSICPARAMETERINNER_CONTAINER IpamPrefixesListStatusIcParameterInner = "container" + IPAMPREFIXESLISTSTATUSICPARAMETERINNER_DEPRECATED IpamPrefixesListStatusIcParameterInner = "deprecated" + IPAMPREFIXESLISTSTATUSICPARAMETERINNER_RESERVED IpamPrefixesListStatusIcParameterInner = "reserved" +) + +// All allowed values of IpamPrefixesListStatusIcParameterInner enum +var AllowedIpamPrefixesListStatusIcParameterInnerEnumValues = []IpamPrefixesListStatusIcParameterInner{ + "active", + "container", + "deprecated", + "reserved", +} + +func (v *IpamPrefixesListStatusIcParameterInner) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := IpamPrefixesListStatusIcParameterInner(value) + for _, existing := range AllowedIpamPrefixesListStatusIcParameterInnerEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid IpamPrefixesListStatusIcParameterInner", value) +} + +// NewIpamPrefixesListStatusIcParameterInnerFromValue returns a pointer to a valid IpamPrefixesListStatusIcParameterInner +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewIpamPrefixesListStatusIcParameterInnerFromValue(v string) (*IpamPrefixesListStatusIcParameterInner, error) { + ev := IpamPrefixesListStatusIcParameterInner(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for IpamPrefixesListStatusIcParameterInner: valid values are %v", v, AllowedIpamPrefixesListStatusIcParameterInnerEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v IpamPrefixesListStatusIcParameterInner) IsValid() bool { + for _, existing := range AllowedIpamPrefixesListStatusIcParameterInnerEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to ipam_prefixes_list_status__ic_parameter_inner value +func (v IpamPrefixesListStatusIcParameterInner) Ptr() *IpamPrefixesListStatusIcParameterInner { + return &v +} + +type NullableIpamPrefixesListStatusIcParameterInner struct { + value *IpamPrefixesListStatusIcParameterInner + isSet bool +} + +func (v NullableIpamPrefixesListStatusIcParameterInner) Get() *IpamPrefixesListStatusIcParameterInner { + return v.value +} + +func (v *NullableIpamPrefixesListStatusIcParameterInner) Set(val *IpamPrefixesListStatusIcParameterInner) { + v.value = val + v.isSet = true +} + +func (v NullableIpamPrefixesListStatusIcParameterInner) IsSet() bool { + return v.isSet +} + +func (v *NullableIpamPrefixesListStatusIcParameterInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableIpamPrefixesListStatusIcParameterInner(val *IpamPrefixesListStatusIcParameterInner) *NullableIpamPrefixesListStatusIcParameterInner { + return &NullableIpamPrefixesListStatusIcParameterInner{value: val, isSet: true} +} + +func (v NullableIpamPrefixesListStatusIcParameterInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableIpamPrefixesListStatusIcParameterInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_ipam_service_templates_list_protocol_parameter.go b/model_ipam_service_templates_list_protocol_parameter.go index f5e1d118c..f637bdd9b 100644 --- a/model_ipam_service_templates_list_protocol_parameter.go +++ b/model_ipam_service_templates_list_protocol_parameter.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_job.go b/model_job.go index 7c41c0fe1..69647ad19 100644 --- a/model_job.go +++ b/model_job.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,20 +21,21 @@ var _ MappedNullable = &Job{} // Job struct for Job type Job struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - ObjectType string `json:"object_type"` - ObjectId NullableInt64 `json:"object_id,omitempty"` - Name string `json:"name"` - Status JobStatus `json:"status"` - Created time.Time `json:"created"` - Scheduled NullableTime `json:"scheduled,omitempty"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + ObjectType string `json:"object_type"` + ObjectId NullableInt64 `json:"object_id,omitempty"` + Name string `json:"name"` + Status BriefJobStatus `json:"status"` + Created time.Time `json:"created"` + Scheduled NullableTime `json:"scheduled,omitempty"` // Recurrence interval (in minutes) Interval NullableInt32 `json:"interval,omitempty"` Started NullableTime `json:"started,omitempty"` Completed NullableTime `json:"completed,omitempty"` - User User `json:"user"` + User BriefUser `json:"user"` Data interface{} `json:"data,omitempty"` Error string `json:"error"` JobId string `json:"job_id"` @@ -47,7 +48,7 @@ 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 int32, url string, display string, objectType string, name string, status JobStatus, created time.Time, user User, error_ string, jobId string) *Job { +func NewJob(id int32, url string, display string, objectType string, name string, status BriefJobStatus, created time.Time, user BriefUser, error_ string, jobId string) *Job { this := Job{} this.Id = id this.Url = url @@ -118,6 +119,38 @@ func (o *Job) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *Job) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Job) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *Job) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *Job) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *Job) GetDisplay() string { if o == nil { @@ -234,9 +267,9 @@ func (o *Job) SetName(v string) { } // GetStatus returns the Status field value -func (o *Job) GetStatus() JobStatus { +func (o *Job) GetStatus() BriefJobStatus { if o == nil { - var ret JobStatus + var ret BriefJobStatus return ret } @@ -245,7 +278,7 @@ func (o *Job) GetStatus() JobStatus { // GetStatusOk returns a tuple with the Status field value // and a boolean to check if the value has been set. -func (o *Job) GetStatusOk() (*JobStatus, bool) { +func (o *Job) GetStatusOk() (*BriefJobStatus, bool) { if o == nil { return nil, false } @@ -253,7 +286,7 @@ func (o *Job) GetStatusOk() (*JobStatus, bool) { } // SetStatus sets field value -func (o *Job) SetStatus(v JobStatus) { +func (o *Job) SetStatus(v BriefJobStatus) { o.Status = v } @@ -454,9 +487,9 @@ func (o *Job) UnsetCompleted() { } // GetUser returns the User field value -func (o *Job) GetUser() User { +func (o *Job) GetUser() BriefUser { if o == nil { - var ret User + var ret BriefUser return ret } @@ -465,7 +498,7 @@ func (o *Job) GetUser() User { // GetUserOk returns a tuple with the User field value // and a boolean to check if the value has been set. -func (o *Job) GetUserOk() (*User, bool) { +func (o *Job) GetUserOk() (*BriefUser, bool) { if o == nil { return nil, false } @@ -473,7 +506,7 @@ func (o *Job) GetUserOk() (*User, bool) { } // SetUser sets field value -func (o *Job) SetUser(v User) { +func (o *Job) SetUser(v BriefUser) { o.User = v } @@ -570,6 +603,9 @@ func (o Job) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["object_type"] = o.ObjectType if o.ObjectId.IsSet() { @@ -650,6 +686,7 @@ func (o *Job) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "object_type") delete(additionalProperties, "object_id") diff --git a/model_journal_entry.go b/model_journal_entry.go index 85c554b79..5fec22417 100644 --- a/model_journal_entry.go +++ b/model_journal_entry.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -23,6 +23,7 @@ var _ MappedNullable = &JournalEntry{} type JournalEntry struct { Id int32 `json:"id"` Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` Display string `json:"display"` AssignedObjectType string `json:"assigned_object_type"` AssignedObjectId int64 `json:"assigned_object_id"` @@ -113,6 +114,38 @@ func (o *JournalEntry) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *JournalEntry) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *JournalEntry) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *JournalEntry) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *JournalEntry) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *JournalEntry) GetDisplay() string { if o == nil { @@ -438,6 +471,9 @@ func (o JournalEntry) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["assigned_object_type"] = o.AssignedObjectType toSerialize["assigned_object_id"] = o.AssignedObjectId @@ -512,6 +548,7 @@ func (o *JournalEntry) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "assigned_object_type") delete(additionalProperties, "assigned_object_id") diff --git a/model_journal_entry_kind.go b/model_journal_entry_kind.go index 18d34bc98..bd99f0924 100644 --- a/model_journal_entry_kind.go +++ b/model_journal_entry_kind.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_journal_entry_kind_label.go b/model_journal_entry_kind_label.go index 5c61d6c58..437ed0acc 100644 --- a/model_journal_entry_kind_label.go +++ b/model_journal_entry_kind_label.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_journal_entry_kind_value.go b/model_journal_entry_kind_value.go index 06b51fe78..8fa8d9869 100644 --- a/model_journal_entry_kind_value.go +++ b/model_journal_entry_kind_value.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_journal_entry_request.go b/model_journal_entry_request.go index 03045dce6..adc36afa4 100644 --- a/model_journal_entry_request.go +++ b/model_journal_entry_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_l2_vpn.go b/model_l2_vpn.go index b59c4021b..71efe6432 100644 --- a/model_l2_vpn.go +++ b/model_l2_vpn.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -13,6 +13,7 @@ package netbox import ( "encoding/json" "fmt" + "time" ) // checks if the L2VPN type satisfies the MappedNullable interface at compile time @@ -20,14 +21,23 @@ var _ MappedNullable = &L2VPN{} // L2VPN Adds support for custom fields and tags. type L2VPN struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - Identifier NullableInt64 `json:"identifier,omitempty"` - Name string `json:"name"` - Slug string `json:"slug"` - Type *L2VPNType `json:"type,omitempty"` - Description *string `json:"description,omitempty"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Identifier NullableInt64 `json:"identifier,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Type *BriefL2VPNType `json:"type,omitempty"` + ImportTargets []RouteTarget `json:"import_targets,omitempty"` + ExportTargets []RouteTarget `json:"export_targets,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tenant NullableBriefTenant `json:"tenant,omitempty"` + Tags []NestedTag `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Created NullableTime `json:"created"` + LastUpdated NullableTime `json:"last_updated"` AdditionalProperties map[string]interface{} } @@ -37,13 +47,15 @@ type _L2VPN L2VPN // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewL2VPN(id int32, url string, display string, name string, slug string) *L2VPN { +func NewL2VPN(id int32, url string, display string, name string, slug string, created NullableTime, lastUpdated NullableTime) *L2VPN { this := L2VPN{} this.Id = id this.Url = url this.Display = display this.Name = name this.Slug = slug + this.Created = created + this.LastUpdated = lastUpdated return &this } @@ -103,6 +115,38 @@ func (o *L2VPN) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *L2VPN) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *L2VPN) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *L2VPN) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *L2VPN) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *L2VPN) GetDisplay() string { if o == nil { @@ -219,9 +263,9 @@ func (o *L2VPN) SetSlug(v string) { } // GetType returns the Type field value if set, zero value otherwise. -func (o *L2VPN) GetType() L2VPNType { +func (o *L2VPN) GetType() BriefL2VPNType { if o == nil || IsNil(o.Type) { - var ret L2VPNType + var ret BriefL2VPNType return ret } return *o.Type @@ -229,7 +273,7 @@ func (o *L2VPN) GetType() L2VPNType { // GetTypeOk returns a tuple with the Type field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *L2VPN) GetTypeOk() (*L2VPNType, bool) { +func (o *L2VPN) GetTypeOk() (*BriefL2VPNType, bool) { if o == nil || IsNil(o.Type) { return nil, false } @@ -245,11 +289,75 @@ func (o *L2VPN) HasType() bool { return false } -// SetType gets a reference to the given L2VPNType and assigns it to the Type field. -func (o *L2VPN) SetType(v L2VPNType) { +// SetType gets a reference to the given BriefL2VPNType and assigns it to the Type field. +func (o *L2VPN) SetType(v BriefL2VPNType) { o.Type = &v } +// GetImportTargets returns the ImportTargets field value if set, zero value otherwise. +func (o *L2VPN) GetImportTargets() []RouteTarget { + if o == nil || IsNil(o.ImportTargets) { + var ret []RouteTarget + return ret + } + return o.ImportTargets +} + +// GetImportTargetsOk returns a tuple with the ImportTargets field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *L2VPN) GetImportTargetsOk() ([]RouteTarget, bool) { + if o == nil || IsNil(o.ImportTargets) { + return nil, false + } + return o.ImportTargets, true +} + +// HasImportTargets returns a boolean if a field has been set. +func (o *L2VPN) HasImportTargets() bool { + if o != nil && !IsNil(o.ImportTargets) { + return true + } + + return false +} + +// SetImportTargets gets a reference to the given []RouteTarget and assigns it to the ImportTargets field. +func (o *L2VPN) SetImportTargets(v []RouteTarget) { + o.ImportTargets = v +} + +// GetExportTargets returns the ExportTargets field value if set, zero value otherwise. +func (o *L2VPN) GetExportTargets() []RouteTarget { + if o == nil || IsNil(o.ExportTargets) { + var ret []RouteTarget + return ret + } + return o.ExportTargets +} + +// GetExportTargetsOk returns a tuple with the ExportTargets field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *L2VPN) GetExportTargetsOk() ([]RouteTarget, bool) { + if o == nil || IsNil(o.ExportTargets) { + return nil, false + } + return o.ExportTargets, true +} + +// HasExportTargets returns a boolean if a field has been set. +func (o *L2VPN) HasExportTargets() bool { + if o != nil && !IsNil(o.ExportTargets) { + return true + } + + return false +} + +// SetExportTargets gets a reference to the given []RouteTarget and assigns it to the ExportTargets field. +func (o *L2VPN) SetExportTargets(v []RouteTarget) { + o.ExportTargets = v +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *L2VPN) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -282,6 +390,197 @@ func (o *L2VPN) SetDescription(v string) { o.Description = &v } +// GetComments returns the Comments field value if set, zero value otherwise. +func (o *L2VPN) GetComments() string { + if o == nil || IsNil(o.Comments) { + var ret string + return ret + } + return *o.Comments +} + +// GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *L2VPN) GetCommentsOk() (*string, bool) { + if o == nil || IsNil(o.Comments) { + return nil, false + } + return o.Comments, true +} + +// HasComments returns a boolean if a field has been set. +func (o *L2VPN) HasComments() bool { + if o != nil && !IsNil(o.Comments) { + return true + } + + return false +} + +// SetComments gets a reference to the given string and assigns it to the Comments field. +func (o *L2VPN) SetComments(v string) { + o.Comments = &v +} + +// GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *L2VPN) GetTenant() BriefTenant { + if o == nil || IsNil(o.Tenant.Get()) { + var ret BriefTenant + 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 *L2VPN) GetTenantOk() (*BriefTenant, 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 *L2VPN) HasTenant() bool { + if o != nil && o.Tenant.IsSet() { + return true + } + + return false +} + +// SetTenant gets a reference to the given NullableBriefTenant and assigns it to the Tenant field. +func (o *L2VPN) SetTenant(v BriefTenant) { + o.Tenant.Set(&v) +} + +// SetTenantNil sets the value for Tenant to be an explicit nil +func (o *L2VPN) SetTenantNil() { + o.Tenant.Set(nil) +} + +// UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +func (o *L2VPN) UnsetTenant() { + o.Tenant.Unset() +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *L2VPN) GetTags() []NestedTag { + if o == nil || IsNil(o.Tags) { + var ret []NestedTag + 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 *L2VPN) GetTagsOk() ([]NestedTag, 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 *L2VPN) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTag and assigns it to the Tags field. +func (o *L2VPN) SetTags(v []NestedTag) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *L2VPN) 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 *L2VPN) 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 *L2VPN) 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 *L2VPN) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetCreated returns the Created field value +// If the value is explicit nil, the zero value for time.Time will be returned +func (o *L2VPN) 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 *L2VPN) GetCreatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.Created.Get(), o.Created.IsSet() +} + +// SetCreated sets field value +func (o *L2VPN) 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 *L2VPN) 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 *L2VPN) GetLastUpdatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LastUpdated.Get(), o.LastUpdated.IsSet() +} + +// SetLastUpdated sets field value +func (o *L2VPN) SetLastUpdated(v time.Time) { + o.LastUpdated.Set(&v) +} + func (o L2VPN) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -294,6 +593,9 @@ func (o L2VPN) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display if o.Identifier.IsSet() { toSerialize["identifier"] = o.Identifier.Get() @@ -303,9 +605,29 @@ func (o L2VPN) ToMap() (map[string]interface{}, error) { if !IsNil(o.Type) { toSerialize["type"] = o.Type } + if !IsNil(o.ImportTargets) { + toSerialize["import_targets"] = o.ImportTargets + } + if !IsNil(o.ExportTargets) { + toSerialize["export_targets"] = o.ExportTargets + } if !IsNil(o.Description) { toSerialize["description"] = o.Description } + if !IsNil(o.Comments) { + toSerialize["comments"] = o.Comments + } + 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 + } + toSerialize["created"] = o.Created.Get() + toSerialize["last_updated"] = o.LastUpdated.Get() for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -324,6 +646,8 @@ func (o *L2VPN) UnmarshalJSON(data []byte) (err error) { "display", "name", "slug", + "created", + "last_updated", } allProperties := make(map[string]interface{}) @@ -355,12 +679,21 @@ func (o *L2VPN) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "identifier") delete(additionalProperties, "name") delete(additionalProperties, "slug") delete(additionalProperties, "type") + delete(additionalProperties, "import_targets") + delete(additionalProperties, "export_targets") delete(additionalProperties, "description") + delete(additionalProperties, "comments") + delete(additionalProperties, "tenant") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "created") + delete(additionalProperties, "last_updated") o.AdditionalProperties = additionalProperties } diff --git a/model_l2_vpn_request.go b/model_l2_vpn_request.go index 9722c656c..d04ba79fa 100644 --- a/model_l2_vpn_request.go +++ b/model_l2_vpn_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,11 +20,17 @@ var _ MappedNullable = &L2VPNRequest{} // L2VPNRequest Adds support for custom fields and tags. type L2VPNRequest struct { - Identifier NullableInt64 `json:"identifier,omitempty"` - Name string `json:"name"` - Slug string `json:"slug"` - Type *L2VPNTypeValue `json:"type,omitempty"` - Description *string `json:"description,omitempty"` + Identifier NullableInt64 `json:"identifier,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Type *BriefL2VPNTypeValue `json:"type,omitempty"` + ImportTargets []int32 `json:"import_targets,omitempty"` + ExportTargets []int32 `json:"export_targets,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -141,9 +147,9 @@ func (o *L2VPNRequest) SetSlug(v string) { } // GetType returns the Type field value if set, zero value otherwise. -func (o *L2VPNRequest) GetType() L2VPNTypeValue { +func (o *L2VPNRequest) GetType() BriefL2VPNTypeValue { if o == nil || IsNil(o.Type) { - var ret L2VPNTypeValue + var ret BriefL2VPNTypeValue return ret } return *o.Type @@ -151,7 +157,7 @@ func (o *L2VPNRequest) GetType() L2VPNTypeValue { // GetTypeOk returns a tuple with the Type field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *L2VPNRequest) GetTypeOk() (*L2VPNTypeValue, bool) { +func (o *L2VPNRequest) GetTypeOk() (*BriefL2VPNTypeValue, bool) { if o == nil || IsNil(o.Type) { return nil, false } @@ -167,11 +173,75 @@ func (o *L2VPNRequest) HasType() bool { return false } -// SetType gets a reference to the given L2VPNTypeValue and assigns it to the Type field. -func (o *L2VPNRequest) SetType(v L2VPNTypeValue) { +// SetType gets a reference to the given BriefL2VPNTypeValue and assigns it to the Type field. +func (o *L2VPNRequest) SetType(v BriefL2VPNTypeValue) { o.Type = &v } +// GetImportTargets returns the ImportTargets field value if set, zero value otherwise. +func (o *L2VPNRequest) GetImportTargets() []int32 { + if o == nil || IsNil(o.ImportTargets) { + var ret []int32 + return ret + } + return o.ImportTargets +} + +// GetImportTargetsOk returns a tuple with the ImportTargets field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *L2VPNRequest) GetImportTargetsOk() ([]int32, bool) { + if o == nil || IsNil(o.ImportTargets) { + return nil, false + } + return o.ImportTargets, true +} + +// HasImportTargets returns a boolean if a field has been set. +func (o *L2VPNRequest) HasImportTargets() bool { + if o != nil && !IsNil(o.ImportTargets) { + return true + } + + return false +} + +// SetImportTargets gets a reference to the given []int32 and assigns it to the ImportTargets field. +func (o *L2VPNRequest) SetImportTargets(v []int32) { + o.ImportTargets = v +} + +// GetExportTargets returns the ExportTargets field value if set, zero value otherwise. +func (o *L2VPNRequest) GetExportTargets() []int32 { + if o == nil || IsNil(o.ExportTargets) { + var ret []int32 + return ret + } + return o.ExportTargets +} + +// GetExportTargetsOk returns a tuple with the ExportTargets field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *L2VPNRequest) GetExportTargetsOk() ([]int32, bool) { + if o == nil || IsNil(o.ExportTargets) { + return nil, false + } + return o.ExportTargets, true +} + +// HasExportTargets returns a boolean if a field has been set. +func (o *L2VPNRequest) HasExportTargets() bool { + if o != nil && !IsNil(o.ExportTargets) { + return true + } + + return false +} + +// SetExportTargets gets a reference to the given []int32 and assigns it to the ExportTargets field. +func (o *L2VPNRequest) SetExportTargets(v []int32) { + o.ExportTargets = v +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *L2VPNRequest) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -204,6 +274,145 @@ func (o *L2VPNRequest) SetDescription(v string) { o.Description = &v } +// GetComments returns the Comments field value if set, zero value otherwise. +func (o *L2VPNRequest) GetComments() string { + if o == nil || IsNil(o.Comments) { + var ret string + return ret + } + return *o.Comments +} + +// GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *L2VPNRequest) GetCommentsOk() (*string, bool) { + if o == nil || IsNil(o.Comments) { + return nil, false + } + return o.Comments, true +} + +// HasComments returns a boolean if a field has been set. +func (o *L2VPNRequest) HasComments() bool { + if o != nil && !IsNil(o.Comments) { + return true + } + + return false +} + +// SetComments gets a reference to the given string and assigns it to the Comments field. +func (o *L2VPNRequest) SetComments(v string) { + o.Comments = &v +} + +// GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *L2VPNRequest) GetTenant() BriefTenantRequest { + if o == nil || IsNil(o.Tenant.Get()) { + var ret BriefTenantRequest + 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 *L2VPNRequest) GetTenantOk() (*BriefTenantRequest, 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 *L2VPNRequest) HasTenant() bool { + if o != nil && o.Tenant.IsSet() { + return true + } + + return false +} + +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *L2VPNRequest) SetTenant(v BriefTenantRequest) { + o.Tenant.Set(&v) +} + +// SetTenantNil sets the value for Tenant to be an explicit nil +func (o *L2VPNRequest) SetTenantNil() { + o.Tenant.Set(nil) +} + +// UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +func (o *L2VPNRequest) UnsetTenant() { + o.Tenant.Unset() +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *L2VPNRequest) GetTags() []NestedTagRequest { + if o == nil || IsNil(o.Tags) { + var ret []NestedTagRequest + 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 *L2VPNRequest) GetTagsOk() ([]NestedTagRequest, 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 *L2VPNRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTagRequest and assigns it to the Tags field. +func (o *L2VPNRequest) SetTags(v []NestedTagRequest) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *L2VPNRequest) 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 *L2VPNRequest) 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 *L2VPNRequest) 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 *L2VPNRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + func (o L2VPNRequest) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -222,9 +431,27 @@ func (o L2VPNRequest) ToMap() (map[string]interface{}, error) { if !IsNil(o.Type) { toSerialize["type"] = o.Type } + if !IsNil(o.ImportTargets) { + toSerialize["import_targets"] = o.ImportTargets + } + if !IsNil(o.ExportTargets) { + toSerialize["export_targets"] = o.ExportTargets + } if !IsNil(o.Description) { toSerialize["description"] = o.Description } + if !IsNil(o.Comments) { + toSerialize["comments"] = o.Comments + } + 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 + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -273,7 +500,13 @@ func (o *L2VPNRequest) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "name") delete(additionalProperties, "slug") delete(additionalProperties, "type") + delete(additionalProperties, "import_targets") + delete(additionalProperties, "export_targets") delete(additionalProperties, "description") + delete(additionalProperties, "comments") + delete(additionalProperties, "tenant") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") o.AdditionalProperties = additionalProperties } diff --git a/model_l2_vpn_termination.go b/model_l2_vpn_termination.go index b70569c1f..b959edbd5 100644 --- a/model_l2_vpn_termination.go +++ b/model_l2_vpn_termination.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -13,6 +13,7 @@ package netbox import ( "encoding/json" "fmt" + "time" ) // checks if the L2VPNTermination type satisfies the MappedNullable interface at compile time @@ -20,10 +21,18 @@ var _ MappedNullable = &L2VPNTermination{} // L2VPNTermination Adds support for custom fields and tags. type L2VPNTermination struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - L2vpn L2VPN `json:"l2vpn"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + L2vpn BriefL2VPN `json:"l2vpn"` + AssignedObjectType string `json:"assigned_object_type"` + AssignedObjectId int64 `json:"assigned_object_id"` + AssignedObject interface{} `json:"assigned_object"` + Tags []NestedTag `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Created NullableTime `json:"created"` + LastUpdated NullableTime `json:"last_updated"` AdditionalProperties map[string]interface{} } @@ -33,12 +42,17 @@ type _L2VPNTermination L2VPNTermination // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewL2VPNTermination(id int32, url string, display string, l2vpn L2VPN) *L2VPNTermination { +func NewL2VPNTermination(id int32, url string, display string, l2vpn BriefL2VPN, assignedObjectType string, assignedObjectId int64, assignedObject interface{}, created NullableTime, lastUpdated NullableTime) *L2VPNTermination { this := L2VPNTermination{} this.Id = id this.Url = url this.Display = display this.L2vpn = l2vpn + this.AssignedObjectType = assignedObjectType + this.AssignedObjectId = assignedObjectId + this.AssignedObject = assignedObject + this.Created = created + this.LastUpdated = lastUpdated return &this } @@ -98,6 +112,38 @@ func (o *L2VPNTermination) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *L2VPNTermination) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *L2VPNTermination) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *L2VPNTermination) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *L2VPNTermination) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *L2VPNTermination) GetDisplay() string { if o == nil { @@ -123,9 +169,9 @@ func (o *L2VPNTermination) SetDisplay(v string) { } // GetL2vpn returns the L2vpn field value -func (o *L2VPNTermination) GetL2vpn() L2VPN { +func (o *L2VPNTermination) GetL2vpn() BriefL2VPN { if o == nil { - var ret L2VPN + var ret BriefL2VPN return ret } @@ -134,7 +180,7 @@ func (o *L2VPNTermination) GetL2vpn() L2VPN { // GetL2vpnOk returns a tuple with the L2vpn field value // and a boolean to check if the value has been set. -func (o *L2VPNTermination) GetL2vpnOk() (*L2VPN, bool) { +func (o *L2VPNTermination) GetL2vpnOk() (*BriefL2VPN, bool) { if o == nil { return nil, false } @@ -142,10 +188,200 @@ func (o *L2VPNTermination) GetL2vpnOk() (*L2VPN, bool) { } // SetL2vpn sets field value -func (o *L2VPNTermination) SetL2vpn(v L2VPN) { +func (o *L2VPNTermination) SetL2vpn(v BriefL2VPN) { o.L2vpn = v } +// GetAssignedObjectType returns the AssignedObjectType field value +func (o *L2VPNTermination) GetAssignedObjectType() string { + if o == nil { + var ret string + return ret + } + + return o.AssignedObjectType +} + +// GetAssignedObjectTypeOk returns a tuple with the AssignedObjectType field value +// and a boolean to check if the value has been set. +func (o *L2VPNTermination) GetAssignedObjectTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.AssignedObjectType, true +} + +// SetAssignedObjectType sets field value +func (o *L2VPNTermination) SetAssignedObjectType(v string) { + o.AssignedObjectType = v +} + +// GetAssignedObjectId returns the AssignedObjectId field value +func (o *L2VPNTermination) GetAssignedObjectId() int64 { + if o == nil { + var ret int64 + return ret + } + + return o.AssignedObjectId +} + +// GetAssignedObjectIdOk returns a tuple with the AssignedObjectId field value +// and a boolean to check if the value has been set. +func (o *L2VPNTermination) GetAssignedObjectIdOk() (*int64, bool) { + if o == nil { + return nil, false + } + return &o.AssignedObjectId, true +} + +// SetAssignedObjectId sets field value +func (o *L2VPNTermination) SetAssignedObjectId(v int64) { + o.AssignedObjectId = v +} + +// GetAssignedObject returns the AssignedObject field value +// If the value is explicit nil, the zero value for interface{} will be returned +func (o *L2VPNTermination) GetAssignedObject() interface{} { + if o == nil { + var ret interface{} + return ret + } + + return o.AssignedObject +} + +// GetAssignedObjectOk returns a tuple with the AssignedObject 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 *L2VPNTermination) GetAssignedObjectOk() (*interface{}, bool) { + if o == nil || IsNil(o.AssignedObject) { + return nil, false + } + return &o.AssignedObject, true +} + +// SetAssignedObject sets field value +func (o *L2VPNTermination) SetAssignedObject(v interface{}) { + o.AssignedObject = v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *L2VPNTermination) GetTags() []NestedTag { + if o == nil || IsNil(o.Tags) { + var ret []NestedTag + 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 *L2VPNTermination) GetTagsOk() ([]NestedTag, 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 *L2VPNTermination) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTag and assigns it to the Tags field. +func (o *L2VPNTermination) SetTags(v []NestedTag) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *L2VPNTermination) 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 *L2VPNTermination) 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 *L2VPNTermination) 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 *L2VPNTermination) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetCreated returns the Created field value +// If the value is explicit nil, the zero value for time.Time will be returned +func (o *L2VPNTermination) 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 *L2VPNTermination) GetCreatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.Created.Get(), o.Created.IsSet() +} + +// SetCreated sets field value +func (o *L2VPNTermination) 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 *L2VPNTermination) 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 *L2VPNTermination) GetLastUpdatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LastUpdated.Get(), o.LastUpdated.IsSet() +} + +// SetLastUpdated sets field value +func (o *L2VPNTermination) SetLastUpdated(v time.Time) { + o.LastUpdated.Set(&v) +} + func (o L2VPNTermination) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -158,8 +394,24 @@ func (o L2VPNTermination) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["l2vpn"] = o.L2vpn + toSerialize["assigned_object_type"] = o.AssignedObjectType + toSerialize["assigned_object_id"] = o.AssignedObjectId + if o.AssignedObject != nil { + toSerialize["assigned_object"] = o.AssignedObject + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + toSerialize["created"] = o.Created.Get() + toSerialize["last_updated"] = o.LastUpdated.Get() for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -177,6 +429,11 @@ func (o *L2VPNTermination) UnmarshalJSON(data []byte) (err error) { "url", "display", "l2vpn", + "assigned_object_type", + "assigned_object_id", + "assigned_object", + "created", + "last_updated", } allProperties := make(map[string]interface{}) @@ -208,8 +465,16 @@ func (o *L2VPNTermination) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "l2vpn") + delete(additionalProperties, "assigned_object_type") + delete(additionalProperties, "assigned_object_id") + delete(additionalProperties, "assigned_object") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "created") + delete(additionalProperties, "last_updated") o.AdditionalProperties = additionalProperties } diff --git a/model_l2_vpn_termination_request.go b/model_l2_vpn_termination_request.go index 6b293da4e..b3cdc0fdb 100644 --- a/model_l2_vpn_termination_request.go +++ b/model_l2_vpn_termination_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,7 +20,11 @@ var _ MappedNullable = &L2VPNTerminationRequest{} // L2VPNTerminationRequest Adds support for custom fields and tags. type L2VPNTerminationRequest struct { - L2vpn L2VPNRequest `json:"l2vpn"` + L2vpn BriefL2VPNRequest `json:"l2vpn"` + AssignedObjectType string `json:"assigned_object_type"` + AssignedObjectId int64 `json:"assigned_object_id"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -30,9 +34,11 @@ type _L2VPNTerminationRequest L2VPNTerminationRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewL2VPNTerminationRequest(l2vpn L2VPNRequest) *L2VPNTerminationRequest { +func NewL2VPNTerminationRequest(l2vpn BriefL2VPNRequest, assignedObjectType string, assignedObjectId int64) *L2VPNTerminationRequest { this := L2VPNTerminationRequest{} this.L2vpn = l2vpn + this.AssignedObjectType = assignedObjectType + this.AssignedObjectId = assignedObjectId return &this } @@ -45,9 +51,9 @@ func NewL2VPNTerminationRequestWithDefaults() *L2VPNTerminationRequest { } // GetL2vpn returns the L2vpn field value -func (o *L2VPNTerminationRequest) GetL2vpn() L2VPNRequest { +func (o *L2VPNTerminationRequest) GetL2vpn() BriefL2VPNRequest { if o == nil { - var ret L2VPNRequest + var ret BriefL2VPNRequest return ret } @@ -56,7 +62,7 @@ func (o *L2VPNTerminationRequest) GetL2vpn() L2VPNRequest { // GetL2vpnOk returns a tuple with the L2vpn field value // and a boolean to check if the value has been set. -func (o *L2VPNTerminationRequest) GetL2vpnOk() (*L2VPNRequest, bool) { +func (o *L2VPNTerminationRequest) GetL2vpnOk() (*BriefL2VPNRequest, bool) { if o == nil { return nil, false } @@ -64,10 +70,122 @@ func (o *L2VPNTerminationRequest) GetL2vpnOk() (*L2VPNRequest, bool) { } // SetL2vpn sets field value -func (o *L2VPNTerminationRequest) SetL2vpn(v L2VPNRequest) { +func (o *L2VPNTerminationRequest) SetL2vpn(v BriefL2VPNRequest) { o.L2vpn = v } +// GetAssignedObjectType returns the AssignedObjectType field value +func (o *L2VPNTerminationRequest) GetAssignedObjectType() string { + if o == nil { + var ret string + return ret + } + + return o.AssignedObjectType +} + +// GetAssignedObjectTypeOk returns a tuple with the AssignedObjectType field value +// and a boolean to check if the value has been set. +func (o *L2VPNTerminationRequest) GetAssignedObjectTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.AssignedObjectType, true +} + +// SetAssignedObjectType sets field value +func (o *L2VPNTerminationRequest) SetAssignedObjectType(v string) { + o.AssignedObjectType = v +} + +// GetAssignedObjectId returns the AssignedObjectId field value +func (o *L2VPNTerminationRequest) GetAssignedObjectId() int64 { + if o == nil { + var ret int64 + return ret + } + + return o.AssignedObjectId +} + +// GetAssignedObjectIdOk returns a tuple with the AssignedObjectId field value +// and a boolean to check if the value has been set. +func (o *L2VPNTerminationRequest) GetAssignedObjectIdOk() (*int64, bool) { + if o == nil { + return nil, false + } + return &o.AssignedObjectId, true +} + +// SetAssignedObjectId sets field value +func (o *L2VPNTerminationRequest) SetAssignedObjectId(v int64) { + o.AssignedObjectId = v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *L2VPNTerminationRequest) GetTags() []NestedTagRequest { + if o == nil || IsNil(o.Tags) { + var ret []NestedTagRequest + 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 *L2VPNTerminationRequest) GetTagsOk() ([]NestedTagRequest, 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 *L2VPNTerminationRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTagRequest and assigns it to the Tags field. +func (o *L2VPNTerminationRequest) SetTags(v []NestedTagRequest) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *L2VPNTerminationRequest) 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 *L2VPNTerminationRequest) 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 *L2VPNTerminationRequest) 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 *L2VPNTerminationRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + func (o L2VPNTerminationRequest) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -79,6 +197,14 @@ func (o L2VPNTerminationRequest) MarshalJSON() ([]byte, error) { func (o L2VPNTerminationRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["l2vpn"] = o.L2vpn + toSerialize["assigned_object_type"] = o.AssignedObjectType + toSerialize["assigned_object_id"] = o.AssignedObjectId + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -93,6 +219,8 @@ func (o *L2VPNTerminationRequest) UnmarshalJSON(data []byte) (err error) { // that every required field exists as a key in the generic map. requiredProperties := []string{ "l2vpn", + "assigned_object_type", + "assigned_object_id", } allProperties := make(map[string]interface{}) @@ -123,6 +251,10 @@ func (o *L2VPNTerminationRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "l2vpn") + delete(additionalProperties, "assigned_object_type") + delete(additionalProperties, "assigned_object_id") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") o.AdditionalProperties = additionalProperties } diff --git a/model_location.go b/model_location.go index 3da41e65f..87d26727a 100644 --- a/model_location.go +++ b/model_location.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -13,6 +13,7 @@ package netbox import ( "encoding/json" "fmt" + "time" ) // checks if the Location type satisfies the MappedNullable interface at compile time @@ -20,14 +21,26 @@ var _ MappedNullable = &Location{} // Location Extends PrimaryModelSerializer to include MPTT support. type Location struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - Name string `json:"name"` - Slug string `json:"slug"` - Description *string `json:"description,omitempty"` - RackCount int32 `json:"rack_count"` - Depth int32 `json:"_depth"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Name string `json:"name"` + Slug string `json:"slug"` + Site BriefSite `json:"site"` + Parent NullableNestedLocation `json:"parent,omitempty"` + Status *LocationStatus `json:"status,omitempty"` + Tenant NullableBriefTenant `json:"tenant,omitempty"` + // Local facility ID or description + Facility *string `json:"facility,omitempty"` + Description *string `json:"description,omitempty"` + Tags []NestedTag `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Created NullableTime `json:"created"` + LastUpdated NullableTime `json:"last_updated"` + RackCount int32 `json:"rack_count"` + DeviceCount *int32 `json:"device_count,omitempty"` + Depth int32 `json:"_depth"` AdditionalProperties map[string]interface{} } @@ -37,13 +50,16 @@ 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 int32, url string, display string, name string, slug string, rackCount int32, depth int32) *Location { +func NewLocation(id int32, url string, display string, name string, slug string, site BriefSite, created NullableTime, lastUpdated NullableTime, rackCount int32, depth int32) *Location { this := Location{} this.Id = id this.Url = url this.Display = display this.Name = name this.Slug = slug + this.Site = site + this.Created = created + this.LastUpdated = lastUpdated this.RackCount = rackCount this.Depth = depth return &this @@ -105,6 +121,38 @@ func (o *Location) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *Location) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Location) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *Location) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *Location) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *Location) GetDisplay() string { if o == nil { @@ -177,6 +225,180 @@ func (o *Location) SetSlug(v string) { o.Slug = v } +// GetSite returns the Site field value +func (o *Location) GetSite() BriefSite { + if o == nil { + var ret BriefSite + return ret + } + + return o.Site +} + +// GetSiteOk returns a tuple with the Site field value +// and a boolean to check if the value has been set. +func (o *Location) GetSiteOk() (*BriefSite, bool) { + if o == nil { + return nil, false + } + return &o.Site, true +} + +// SetSite sets field value +func (o *Location) SetSite(v BriefSite) { + o.Site = v +} + +// GetParent returns the Parent field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Location) GetParent() NestedLocation { + if o == nil || IsNil(o.Parent.Get()) { + var ret NestedLocation + return ret + } + return *o.Parent.Get() +} + +// GetParentOk returns a tuple with the Parent 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 *Location) GetParentOk() (*NestedLocation, bool) { + if o == nil { + return nil, false + } + return o.Parent.Get(), o.Parent.IsSet() +} + +// HasParent returns a boolean if a field has been set. +func (o *Location) HasParent() bool { + if o != nil && o.Parent.IsSet() { + return true + } + + return false +} + +// SetParent gets a reference to the given NullableNestedLocation and assigns it to the Parent field. +func (o *Location) SetParent(v NestedLocation) { + o.Parent.Set(&v) +} + +// SetParentNil sets the value for Parent to be an explicit nil +func (o *Location) SetParentNil() { + o.Parent.Set(nil) +} + +// UnsetParent ensures that no value is present for Parent, not even an explicit nil +func (o *Location) UnsetParent() { + o.Parent.Unset() +} + +// GetStatus returns the Status field value if set, zero value otherwise. +func (o *Location) GetStatus() LocationStatus { + if o == nil || IsNil(o.Status) { + var ret LocationStatus + 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 *Location) GetStatusOk() (*LocationStatus, 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 *Location) HasStatus() bool { + if o != nil && !IsNil(o.Status) { + return true + } + + return false +} + +// SetStatus gets a reference to the given LocationStatus and assigns it to the Status field. +func (o *Location) SetStatus(v LocationStatus) { + o.Status = &v +} + +// GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Location) GetTenant() BriefTenant { + if o == nil || IsNil(o.Tenant.Get()) { + var ret BriefTenant + 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 *Location) GetTenantOk() (*BriefTenant, 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 *Location) HasTenant() bool { + if o != nil && o.Tenant.IsSet() { + return true + } + + return false +} + +// SetTenant gets a reference to the given NullableBriefTenant and assigns it to the Tenant field. +func (o *Location) SetTenant(v BriefTenant) { + o.Tenant.Set(&v) +} + +// SetTenantNil sets the value for Tenant to be an explicit nil +func (o *Location) SetTenantNil() { + o.Tenant.Set(nil) +} + +// UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +func (o *Location) UnsetTenant() { + o.Tenant.Unset() +} + +// GetFacility returns the Facility field value if set, zero value otherwise. +func (o *Location) GetFacility() string { + if o == nil || IsNil(o.Facility) { + var ret string + return ret + } + return *o.Facility +} + +// GetFacilityOk returns a tuple with the Facility field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Location) GetFacilityOk() (*string, bool) { + if o == nil || IsNil(o.Facility) { + return nil, false + } + return o.Facility, true +} + +// HasFacility returns a boolean if a field has been set. +func (o *Location) HasFacility() bool { + if o != nil && !IsNil(o.Facility) { + return true + } + + return false +} + +// SetFacility gets a reference to the given string and assigns it to the Facility field. +func (o *Location) SetFacility(v string) { + o.Facility = &v +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *Location) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -209,6 +431,122 @@ func (o *Location) SetDescription(v string) { o.Description = &v } +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *Location) GetTags() []NestedTag { + if o == nil || IsNil(o.Tags) { + var ret []NestedTag + 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 *Location) GetTagsOk() ([]NestedTag, 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 *Location) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTag and assigns it to the Tags field. +func (o *Location) SetTags(v []NestedTag) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *Location) 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 *Location) 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 *Location) 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 *Location) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetCreated returns the Created field value +// If the value is explicit nil, the zero value for time.Time will be returned +func (o *Location) 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 *Location) GetCreatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.Created.Get(), o.Created.IsSet() +} + +// SetCreated sets field value +func (o *Location) 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 *Location) 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 *Location) GetLastUpdatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LastUpdated.Get(), o.LastUpdated.IsSet() +} + +// SetLastUpdated sets field value +func (o *Location) SetLastUpdated(v time.Time) { + o.LastUpdated.Set(&v) +} + // GetRackCount returns the RackCount field value func (o *Location) GetRackCount() int32 { if o == nil { @@ -233,6 +571,38 @@ func (o *Location) SetRackCount(v int32) { o.RackCount = v } +// GetDeviceCount returns the DeviceCount field value if set, zero value otherwise. +func (o *Location) GetDeviceCount() int32 { + if o == nil || IsNil(o.DeviceCount) { + var ret int32 + return ret + } + return *o.DeviceCount +} + +// GetDeviceCountOk returns a tuple with the DeviceCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Location) GetDeviceCountOk() (*int32, bool) { + if o == nil || IsNil(o.DeviceCount) { + return nil, false + } + return o.DeviceCount, true +} + +// HasDeviceCount returns a boolean if a field has been set. +func (o *Location) HasDeviceCount() bool { + if o != nil && !IsNil(o.DeviceCount) { + return true + } + + return false +} + +// SetDeviceCount gets a reference to the given int32 and assigns it to the DeviceCount field. +func (o *Location) SetDeviceCount(v int32) { + o.DeviceCount = &v +} + // GetDepth returns the Depth field value func (o *Location) GetDepth() int32 { if o == nil { @@ -269,13 +639,40 @@ func (o Location) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["name"] = o.Name toSerialize["slug"] = o.Slug + toSerialize["site"] = o.Site + if o.Parent.IsSet() { + toSerialize["parent"] = o.Parent.Get() + } + if !IsNil(o.Status) { + toSerialize["status"] = o.Status + } + if o.Tenant.IsSet() { + toSerialize["tenant"] = o.Tenant.Get() + } + if !IsNil(o.Facility) { + toSerialize["facility"] = o.Facility + } 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 + } + toSerialize["created"] = o.Created.Get() + toSerialize["last_updated"] = o.LastUpdated.Get() toSerialize["rack_count"] = o.RackCount + if !IsNil(o.DeviceCount) { + toSerialize["device_count"] = o.DeviceCount + } toSerialize["_depth"] = o.Depth for key, value := range o.AdditionalProperties { @@ -295,6 +692,9 @@ func (o *Location) UnmarshalJSON(data []byte) (err error) { "display", "name", "slug", + "site", + "created", + "last_updated", "rack_count", "_depth", } @@ -328,11 +728,22 @@ func (o *Location) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") delete(additionalProperties, "slug") + delete(additionalProperties, "site") + delete(additionalProperties, "parent") + delete(additionalProperties, "status") + delete(additionalProperties, "tenant") + delete(additionalProperties, "facility") delete(additionalProperties, "description") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "created") + delete(additionalProperties, "last_updated") delete(additionalProperties, "rack_count") + delete(additionalProperties, "device_count") delete(additionalProperties, "_depth") o.AdditionalProperties = additionalProperties } diff --git a/model_location_request.go b/model_location_request.go index 5f282485a..1a78cb4dc 100644 --- a/model_location_request.go +++ b/model_location_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,9 +20,17 @@ var _ MappedNullable = &LocationRequest{} // LocationRequest Extends PrimaryModelSerializer to include MPTT support. type LocationRequest struct { - Name string `json:"name"` - Slug string `json:"slug"` - Description *string `json:"description,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Site BriefSiteRequest `json:"site"` + Parent NullableNestedLocationRequest `json:"parent,omitempty"` + Status *LocationStatusValue `json:"status,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` + // Local facility ID or description + Facility *string `json:"facility,omitempty"` + Description *string `json:"description,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -32,10 +40,11 @@ type _LocationRequest LocationRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewLocationRequest(name string, slug string) *LocationRequest { +func NewLocationRequest(name string, slug string, site BriefSiteRequest) *LocationRequest { this := LocationRequest{} this.Name = name this.Slug = slug + this.Site = site return &this } @@ -95,6 +104,180 @@ func (o *LocationRequest) SetSlug(v string) { o.Slug = v } +// GetSite returns the Site field value +func (o *LocationRequest) GetSite() BriefSiteRequest { + if o == nil { + var ret BriefSiteRequest + return ret + } + + return o.Site +} + +// GetSiteOk returns a tuple with the Site field value +// and a boolean to check if the value has been set. +func (o *LocationRequest) GetSiteOk() (*BriefSiteRequest, bool) { + if o == nil { + return nil, false + } + return &o.Site, true +} + +// SetSite sets field value +func (o *LocationRequest) SetSite(v BriefSiteRequest) { + o.Site = v +} + +// GetParent returns the Parent field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *LocationRequest) GetParent() NestedLocationRequest { + if o == nil || IsNil(o.Parent.Get()) { + var ret NestedLocationRequest + return ret + } + return *o.Parent.Get() +} + +// GetParentOk returns a tuple with the Parent 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 *LocationRequest) GetParentOk() (*NestedLocationRequest, bool) { + if o == nil { + return nil, false + } + return o.Parent.Get(), o.Parent.IsSet() +} + +// HasParent returns a boolean if a field has been set. +func (o *LocationRequest) HasParent() bool { + if o != nil && o.Parent.IsSet() { + return true + } + + return false +} + +// SetParent gets a reference to the given NullableNestedLocationRequest and assigns it to the Parent field. +func (o *LocationRequest) SetParent(v NestedLocationRequest) { + o.Parent.Set(&v) +} + +// SetParentNil sets the value for Parent to be an explicit nil +func (o *LocationRequest) SetParentNil() { + o.Parent.Set(nil) +} + +// UnsetParent ensures that no value is present for Parent, not even an explicit nil +func (o *LocationRequest) UnsetParent() { + o.Parent.Unset() +} + +// GetStatus returns the Status field value if set, zero value otherwise. +func (o *LocationRequest) GetStatus() LocationStatusValue { + if o == nil || IsNil(o.Status) { + var ret LocationStatusValue + 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 *LocationRequest) GetStatusOk() (*LocationStatusValue, 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 *LocationRequest) HasStatus() bool { + if o != nil && !IsNil(o.Status) { + return true + } + + return false +} + +// SetStatus gets a reference to the given LocationStatusValue and assigns it to the Status field. +func (o *LocationRequest) SetStatus(v LocationStatusValue) { + o.Status = &v +} + +// GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *LocationRequest) GetTenant() BriefTenantRequest { + if o == nil || IsNil(o.Tenant.Get()) { + var ret BriefTenantRequest + 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 *LocationRequest) GetTenantOk() (*BriefTenantRequest, 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 *LocationRequest) HasTenant() bool { + if o != nil && o.Tenant.IsSet() { + return true + } + + return false +} + +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *LocationRequest) SetTenant(v BriefTenantRequest) { + o.Tenant.Set(&v) +} + +// SetTenantNil sets the value for Tenant to be an explicit nil +func (o *LocationRequest) SetTenantNil() { + o.Tenant.Set(nil) +} + +// UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +func (o *LocationRequest) UnsetTenant() { + o.Tenant.Unset() +} + +// GetFacility returns the Facility field value if set, zero value otherwise. +func (o *LocationRequest) GetFacility() string { + if o == nil || IsNil(o.Facility) { + var ret string + return ret + } + return *o.Facility +} + +// GetFacilityOk returns a tuple with the Facility field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LocationRequest) GetFacilityOk() (*string, bool) { + if o == nil || IsNil(o.Facility) { + return nil, false + } + return o.Facility, true +} + +// HasFacility returns a boolean if a field has been set. +func (o *LocationRequest) HasFacility() bool { + if o != nil && !IsNil(o.Facility) { + return true + } + + return false +} + +// SetFacility gets a reference to the given string and assigns it to the Facility field. +func (o *LocationRequest) SetFacility(v string) { + o.Facility = &v +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *LocationRequest) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -127,6 +310,70 @@ func (o *LocationRequest) SetDescription(v string) { o.Description = &v } +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *LocationRequest) GetTags() []NestedTagRequest { + if o == nil || IsNil(o.Tags) { + var ret []NestedTagRequest + 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 *LocationRequest) GetTagsOk() ([]NestedTagRequest, 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 *LocationRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTagRequest and assigns it to the Tags field. +func (o *LocationRequest) SetTags(v []NestedTagRequest) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *LocationRequest) 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 *LocationRequest) 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 *LocationRequest) 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 *LocationRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + func (o LocationRequest) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -139,9 +386,28 @@ func (o LocationRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["name"] = o.Name toSerialize["slug"] = o.Slug + toSerialize["site"] = o.Site + if o.Parent.IsSet() { + toSerialize["parent"] = o.Parent.Get() + } + if !IsNil(o.Status) { + toSerialize["status"] = o.Status + } + if o.Tenant.IsSet() { + toSerialize["tenant"] = o.Tenant.Get() + } + if !IsNil(o.Facility) { + toSerialize["facility"] = o.Facility + } 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 + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -157,6 +423,7 @@ func (o *LocationRequest) UnmarshalJSON(data []byte) (err error) { requiredProperties := []string{ "name", "slug", + "site", } allProperties := make(map[string]interface{}) @@ -188,7 +455,14 @@ func (o *LocationRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "name") delete(additionalProperties, "slug") + delete(additionalProperties, "site") + delete(additionalProperties, "parent") + delete(additionalProperties, "status") + delete(additionalProperties, "tenant") + delete(additionalProperties, "facility") delete(additionalProperties, "description") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") o.AdditionalProperties = additionalProperties } diff --git a/model_location_status.go b/model_location_status.go new file mode 100644 index 000000000..23dba3676 --- /dev/null +++ b/model_location_status.go @@ -0,0 +1,190 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" +) + +// checks if the LocationStatus type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &LocationStatus{} + +// LocationStatus struct for LocationStatus +type LocationStatus struct { + Value *LocationStatusValue `json:"value,omitempty"` + Label *LocationStatusLabel `json:"label,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _LocationStatus LocationStatus + +// NewLocationStatus instantiates a new LocationStatus object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewLocationStatus() *LocationStatus { + this := LocationStatus{} + return &this +} + +// NewLocationStatusWithDefaults instantiates a new LocationStatus object +// This 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 NewLocationStatusWithDefaults() *LocationStatus { + this := LocationStatus{} + return &this +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *LocationStatus) GetValue() LocationStatusValue { + if o == nil || IsNil(o.Value) { + var ret LocationStatusValue + 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 *LocationStatus) GetValueOk() (*LocationStatusValue, 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 *LocationStatus) HasValue() bool { + if o != nil && !IsNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given LocationStatusValue and assigns it to the Value field. +func (o *LocationStatus) SetValue(v LocationStatusValue) { + o.Value = &v +} + +// GetLabel returns the Label field value if set, zero value otherwise. +func (o *LocationStatus) GetLabel() LocationStatusLabel { + if o == nil || IsNil(o.Label) { + var ret LocationStatusLabel + 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 *LocationStatus) GetLabelOk() (*LocationStatusLabel, 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 *LocationStatus) HasLabel() bool { + if o != nil && !IsNil(o.Label) { + return true + } + + return false +} + +// SetLabel gets a reference to the given LocationStatusLabel and assigns it to the Label field. +func (o *LocationStatus) SetLabel(v LocationStatusLabel) { + o.Label = &v +} + +func (o LocationStatus) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o LocationStatus) 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 *LocationStatus) UnmarshalJSON(data []byte) (err error) { + varLocationStatus := _LocationStatus{} + + err = json.Unmarshal(data, &varLocationStatus) + + if err != nil { + return err + } + + *o = LocationStatus(varLocationStatus) + + 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 NullableLocationStatus struct { + value *LocationStatus + isSet bool +} + +func (v NullableLocationStatus) Get() *LocationStatus { + return v.value +} + +func (v *NullableLocationStatus) Set(val *LocationStatus) { + v.value = val + v.isSet = true +} + +func (v NullableLocationStatus) IsSet() bool { + return v.isSet +} + +func (v *NullableLocationStatus) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableLocationStatus(val *LocationStatus) *NullableLocationStatus { + return &NullableLocationStatus{value: val, isSet: true} +} + +func (v NullableLocationStatus) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableLocationStatus) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_location_status_label.go b/model_location_status_label.go new file mode 100644 index 000000000..ecd779a63 --- /dev/null +++ b/model_location_status_label.go @@ -0,0 +1,116 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// LocationStatusLabel the model 'LocationStatusLabel' +type LocationStatusLabel string + +// List of Location_status_label +const ( + LOCATIONSTATUSLABEL_PLANNED LocationStatusLabel = "Planned" + LOCATIONSTATUSLABEL_STAGING LocationStatusLabel = "Staging" + LOCATIONSTATUSLABEL_ACTIVE LocationStatusLabel = "Active" + LOCATIONSTATUSLABEL_DECOMMISSIONING LocationStatusLabel = "Decommissioning" + LOCATIONSTATUSLABEL_RETIRED LocationStatusLabel = "Retired" +) + +// All allowed values of LocationStatusLabel enum +var AllowedLocationStatusLabelEnumValues = []LocationStatusLabel{ + "Planned", + "Staging", + "Active", + "Decommissioning", + "Retired", +} + +func (v *LocationStatusLabel) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := LocationStatusLabel(value) + for _, existing := range AllowedLocationStatusLabelEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid LocationStatusLabel", value) +} + +// NewLocationStatusLabelFromValue returns a pointer to a valid LocationStatusLabel +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewLocationStatusLabelFromValue(v string) (*LocationStatusLabel, error) { + ev := LocationStatusLabel(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for LocationStatusLabel: valid values are %v", v, AllowedLocationStatusLabelEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v LocationStatusLabel) IsValid() bool { + for _, existing := range AllowedLocationStatusLabelEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to Location_status_label value +func (v LocationStatusLabel) Ptr() *LocationStatusLabel { + return &v +} + +type NullableLocationStatusLabel struct { + value *LocationStatusLabel + isSet bool +} + +func (v NullableLocationStatusLabel) Get() *LocationStatusLabel { + return v.value +} + +func (v *NullableLocationStatusLabel) Set(val *LocationStatusLabel) { + v.value = val + v.isSet = true +} + +func (v NullableLocationStatusLabel) IsSet() bool { + return v.isSet +} + +func (v *NullableLocationStatusLabel) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableLocationStatusLabel(val *LocationStatusLabel) *NullableLocationStatusLabel { + return &NullableLocationStatusLabel{value: val, isSet: true} +} + +func (v NullableLocationStatusLabel) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableLocationStatusLabel) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_location_status_value.go b/model_location_status_value.go new file mode 100644 index 000000000..fe360de7d --- /dev/null +++ b/model_location_status_value.go @@ -0,0 +1,116 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// LocationStatusValue * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired +type LocationStatusValue string + +// List of Location_status_value +const ( + LOCATIONSTATUSVALUE_PLANNED LocationStatusValue = "planned" + LOCATIONSTATUSVALUE_STAGING LocationStatusValue = "staging" + LOCATIONSTATUSVALUE_ACTIVE LocationStatusValue = "active" + LOCATIONSTATUSVALUE_DECOMMISSIONING LocationStatusValue = "decommissioning" + LOCATIONSTATUSVALUE_RETIRED LocationStatusValue = "retired" +) + +// All allowed values of LocationStatusValue enum +var AllowedLocationStatusValueEnumValues = []LocationStatusValue{ + "planned", + "staging", + "active", + "decommissioning", + "retired", +} + +func (v *LocationStatusValue) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := LocationStatusValue(value) + for _, existing := range AllowedLocationStatusValueEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid LocationStatusValue", value) +} + +// NewLocationStatusValueFromValue returns a pointer to a valid LocationStatusValue +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewLocationStatusValueFromValue(v string) (*LocationStatusValue, error) { + ev := LocationStatusValue(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for LocationStatusValue: valid values are %v", v, AllowedLocationStatusValueEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v LocationStatusValue) IsValid() bool { + for _, existing := range AllowedLocationStatusValueEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to Location_status_value value +func (v LocationStatusValue) Ptr() *LocationStatusValue { + return &v +} + +type NullableLocationStatusValue struct { + value *LocationStatusValue + isSet bool +} + +func (v NullableLocationStatusValue) Get() *LocationStatusValue { + return v.value +} + +func (v *NullableLocationStatusValue) Set(val *LocationStatusValue) { + v.value = val + v.isSet = true +} + +func (v NullableLocationStatusValue) IsSet() bool { + return v.isSet +} + +func (v *NullableLocationStatusValue) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableLocationStatusValue(val *LocationStatusValue) *NullableLocationStatusValue { + return &NullableLocationStatusValue{value: val, isSet: true} +} + +func (v NullableLocationStatusValue) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableLocationStatusValue) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_manufacturer.go b/model_manufacturer.go index 6b8dcd909..275bf8e47 100644 --- a/model_manufacturer.go +++ b/model_manufacturer.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -13,6 +13,7 @@ package netbox import ( "encoding/json" "fmt" + "time" ) // checks if the Manufacturer type satisfies the MappedNullable interface at compile time @@ -20,13 +21,20 @@ var _ MappedNullable = &Manufacturer{} // Manufacturer Adds support for custom fields and tags. type Manufacturer struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - Name string `json:"name"` - Slug string `json:"slug"` - Description *string `json:"description,omitempty"` - DevicetypeCount int64 `json:"devicetype_count"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Name string `json:"name"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + Tags []NestedTag `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Created NullableTime `json:"created"` + LastUpdated NullableTime `json:"last_updated"` + DevicetypeCount *int64 `json:"devicetype_count,omitempty"` + InventoryitemCount int64 `json:"inventoryitem_count"` + PlatformCount int64 `json:"platform_count"` AdditionalProperties map[string]interface{} } @@ -36,14 +44,17 @@ 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 int32, url string, display string, name string, slug string, devicetypeCount int64) *Manufacturer { +func NewManufacturer(id int32, url string, display string, name string, slug string, created NullableTime, lastUpdated NullableTime, inventoryitemCount int64, platformCount int64) *Manufacturer { this := Manufacturer{} this.Id = id this.Url = url this.Display = display this.Name = name this.Slug = slug - this.DevicetypeCount = devicetypeCount + this.Created = created + this.LastUpdated = lastUpdated + this.InventoryitemCount = inventoryitemCount + this.PlatformCount = platformCount return &this } @@ -103,6 +114,38 @@ func (o *Manufacturer) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *Manufacturer) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Manufacturer) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *Manufacturer) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *Manufacturer) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *Manufacturer) GetDisplay() string { if o == nil { @@ -207,28 +250,200 @@ func (o *Manufacturer) SetDescription(v string) { o.Description = &v } -// GetDevicetypeCount returns the DevicetypeCount field value +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *Manufacturer) GetTags() []NestedTag { + if o == nil || IsNil(o.Tags) { + var ret []NestedTag + 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 *Manufacturer) GetTagsOk() ([]NestedTag, 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 *Manufacturer) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTag and assigns it to the Tags field. +func (o *Manufacturer) SetTags(v []NestedTag) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *Manufacturer) 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 *Manufacturer) 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 *Manufacturer) 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 *Manufacturer) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetCreated returns the Created field value +// If the value is explicit nil, the zero value for time.Time will be returned +func (o *Manufacturer) 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 *Manufacturer) GetCreatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.Created.Get(), o.Created.IsSet() +} + +// SetCreated sets field value +func (o *Manufacturer) 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 *Manufacturer) 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 *Manufacturer) GetLastUpdatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LastUpdated.Get(), o.LastUpdated.IsSet() +} + +// SetLastUpdated sets field value +func (o *Manufacturer) SetLastUpdated(v time.Time) { + o.LastUpdated.Set(&v) +} + +// GetDevicetypeCount returns the DevicetypeCount field value if set, zero value otherwise. func (o *Manufacturer) GetDevicetypeCount() int64 { + if o == nil || IsNil(o.DevicetypeCount) { + var ret int64 + return ret + } + return *o.DevicetypeCount +} + +// GetDevicetypeCountOk returns a tuple with the DevicetypeCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Manufacturer) GetDevicetypeCountOk() (*int64, bool) { + if o == nil || IsNil(o.DevicetypeCount) { + return nil, false + } + return o.DevicetypeCount, true +} + +// HasDevicetypeCount returns a boolean if a field has been set. +func (o *Manufacturer) HasDevicetypeCount() bool { + if o != nil && !IsNil(o.DevicetypeCount) { + return true + } + + return false +} + +// SetDevicetypeCount gets a reference to the given int64 and assigns it to the DevicetypeCount field. +func (o *Manufacturer) SetDevicetypeCount(v int64) { + o.DevicetypeCount = &v +} + +// GetInventoryitemCount returns the InventoryitemCount field value +func (o *Manufacturer) GetInventoryitemCount() int64 { if o == nil { var ret int64 return ret } - return o.DevicetypeCount + return o.InventoryitemCount } -// GetDevicetypeCountOk returns a tuple with the DevicetypeCount field value +// GetInventoryitemCountOk returns a tuple with the InventoryitemCount field value // and a boolean to check if the value has been set. -func (o *Manufacturer) GetDevicetypeCountOk() (*int64, bool) { +func (o *Manufacturer) GetInventoryitemCountOk() (*int64, bool) { if o == nil { return nil, false } - return &o.DevicetypeCount, true + return &o.InventoryitemCount, true } -// SetDevicetypeCount sets field value -func (o *Manufacturer) SetDevicetypeCount(v int64) { - o.DevicetypeCount = v +// SetInventoryitemCount sets field value +func (o *Manufacturer) SetInventoryitemCount(v int64) { + o.InventoryitemCount = v +} + +// GetPlatformCount returns the PlatformCount field value +func (o *Manufacturer) GetPlatformCount() int64 { + if o == nil { + var ret int64 + return ret + } + + return o.PlatformCount +} + +// GetPlatformCountOk returns a tuple with the PlatformCount field value +// and a boolean to check if the value has been set. +func (o *Manufacturer) GetPlatformCountOk() (*int64, bool) { + if o == nil { + return nil, false + } + return &o.PlatformCount, true +} + +// SetPlatformCount sets field value +func (o *Manufacturer) SetPlatformCount(v int64) { + o.PlatformCount = v } func (o Manufacturer) MarshalJSON() ([]byte, error) { @@ -243,13 +458,28 @@ func (o Manufacturer) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["name"] = o.Name toSerialize["slug"] = o.Slug if !IsNil(o.Description) { toSerialize["description"] = o.Description } - toSerialize["devicetype_count"] = o.DevicetypeCount + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + toSerialize["created"] = o.Created.Get() + toSerialize["last_updated"] = o.LastUpdated.Get() + if !IsNil(o.DevicetypeCount) { + toSerialize["devicetype_count"] = o.DevicetypeCount + } + toSerialize["inventoryitem_count"] = o.InventoryitemCount + toSerialize["platform_count"] = o.PlatformCount for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -268,7 +498,10 @@ func (o *Manufacturer) UnmarshalJSON(data []byte) (err error) { "display", "name", "slug", - "devicetype_count", + "created", + "last_updated", + "inventoryitem_count", + "platform_count", } allProperties := make(map[string]interface{}) @@ -300,11 +533,18 @@ func (o *Manufacturer) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") delete(additionalProperties, "slug") delete(additionalProperties, "description") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "created") + delete(additionalProperties, "last_updated") delete(additionalProperties, "devicetype_count") + delete(additionalProperties, "inventoryitem_count") + delete(additionalProperties, "platform_count") o.AdditionalProperties = additionalProperties } diff --git a/model_manufacturer_request.go b/model_manufacturer_request.go index 35e495df8..4a1298fd4 100644 --- a/model_manufacturer_request.go +++ b/model_manufacturer_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,9 +20,11 @@ var _ MappedNullable = &ManufacturerRequest{} // ManufacturerRequest Adds support for custom fields and tags. type ManufacturerRequest struct { - Name string `json:"name"` - Slug string `json:"slug"` - Description *string `json:"description,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -127,6 +129,70 @@ func (o *ManufacturerRequest) SetDescription(v string) { o.Description = &v } +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *ManufacturerRequest) GetTags() []NestedTagRequest { + if o == nil || IsNil(o.Tags) { + var ret []NestedTagRequest + 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 *ManufacturerRequest) GetTagsOk() ([]NestedTagRequest, 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 *ManufacturerRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTagRequest and assigns it to the Tags field. +func (o *ManufacturerRequest) SetTags(v []NestedTagRequest) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *ManufacturerRequest) 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 *ManufacturerRequest) 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 *ManufacturerRequest) 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 *ManufacturerRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + func (o ManufacturerRequest) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -142,6 +208,12 @@ func (o ManufacturerRequest) ToMap() (map[string]interface{}, error) { 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 + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -189,6 +261,8 @@ func (o *ManufacturerRequest) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "name") delete(additionalProperties, "slug") delete(additionalProperties, "description") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") o.AdditionalProperties = additionalProperties } diff --git a/model_module.go b/model_module.go index 7154265d7..8b43e7376 100644 --- a/model_module.go +++ b/model_module.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -13,6 +13,7 @@ package netbox import ( "encoding/json" "fmt" + "time" ) // checks if the Module type satisfies the MappedNullable interface at compile time @@ -20,11 +21,23 @@ var _ MappedNullable = &Module{} // Module Adds support for custom fields and tags. type Module struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - Device Device `json:"device"` - ModuleBay NestedModuleBay `json:"module_bay"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Device BriefDevice `json:"device"` + ModuleBay NestedModuleBay `json:"module_bay"` + ModuleType BriefModuleType `json:"module_type"` + Status *ModuleStatus `json:"status,omitempty"` + Serial *string `json:"serial,omitempty"` + // A unique tag used to identify this device + AssetTag NullableString `json:"asset_tag,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTag `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Created NullableTime `json:"created"` + LastUpdated NullableTime `json:"last_updated"` AdditionalProperties map[string]interface{} } @@ -34,13 +47,16 @@ 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 int32, url string, display string, device Device, moduleBay NestedModuleBay) *Module { +func NewModule(id int32, url string, display string, device BriefDevice, moduleBay NestedModuleBay, moduleType BriefModuleType, created NullableTime, lastUpdated NullableTime) *Module { this := Module{} this.Id = id this.Url = url this.Display = display this.Device = device this.ModuleBay = moduleBay + this.ModuleType = moduleType + this.Created = created + this.LastUpdated = lastUpdated return &this } @@ -100,6 +116,38 @@ func (o *Module) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *Module) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Module) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *Module) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *Module) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *Module) GetDisplay() string { if o == nil { @@ -125,9 +173,9 @@ func (o *Module) SetDisplay(v string) { } // GetDevice returns the Device field value -func (o *Module) GetDevice() Device { +func (o *Module) GetDevice() BriefDevice { if o == nil { - var ret Device + var ret BriefDevice return ret } @@ -136,7 +184,7 @@ func (o *Module) GetDevice() Device { // GetDeviceOk returns a tuple with the Device field value // and a boolean to check if the value has been set. -func (o *Module) GetDeviceOk() (*Device, bool) { +func (o *Module) GetDeviceOk() (*BriefDevice, bool) { if o == nil { return nil, false } @@ -144,7 +192,7 @@ func (o *Module) GetDeviceOk() (*Device, bool) { } // SetDevice sets field value -func (o *Module) SetDevice(v Device) { +func (o *Module) SetDevice(v BriefDevice) { o.Device = v } @@ -172,6 +220,317 @@ func (o *Module) SetModuleBay(v NestedModuleBay) { o.ModuleBay = v } +// GetModuleType returns the ModuleType field value +func (o *Module) GetModuleType() BriefModuleType { + if o == nil { + var ret BriefModuleType + return ret + } + + return o.ModuleType +} + +// GetModuleTypeOk returns a tuple with the ModuleType field value +// and a boolean to check if the value has been set. +func (o *Module) GetModuleTypeOk() (*BriefModuleType, bool) { + if o == nil { + return nil, false + } + return &o.ModuleType, true +} + +// SetModuleType sets field value +func (o *Module) SetModuleType(v BriefModuleType) { + o.ModuleType = v +} + +// GetStatus returns the Status field value if set, zero value otherwise. +func (o *Module) GetStatus() ModuleStatus { + if o == nil || IsNil(o.Status) { + var ret ModuleStatus + 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 *Module) GetStatusOk() (*ModuleStatus, 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 *Module) HasStatus() bool { + if o != nil && !IsNil(o.Status) { + return true + } + + return false +} + +// SetStatus gets a reference to the given ModuleStatus and assigns it to the Status field. +func (o *Module) SetStatus(v ModuleStatus) { + o.Status = &v +} + +// GetSerial returns the Serial field value if set, zero value otherwise. +func (o *Module) GetSerial() string { + if o == nil || IsNil(o.Serial) { + var ret string + return ret + } + return *o.Serial +} + +// GetSerialOk returns a tuple with the Serial field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Module) GetSerialOk() (*string, bool) { + if o == nil || IsNil(o.Serial) { + return nil, false + } + return o.Serial, true +} + +// HasSerial returns a boolean if a field has been set. +func (o *Module) HasSerial() bool { + if o != nil && !IsNil(o.Serial) { + return true + } + + return false +} + +// SetSerial gets a reference to the given string and assigns it to the Serial field. +func (o *Module) SetSerial(v string) { + o.Serial = &v +} + +// GetAssetTag returns the AssetTag field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Module) GetAssetTag() string { + if o == nil || IsNil(o.AssetTag.Get()) { + var ret string + return ret + } + return *o.AssetTag.Get() +} + +// GetAssetTagOk returns a tuple with the AssetTag 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 *Module) GetAssetTagOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.AssetTag.Get(), o.AssetTag.IsSet() +} + +// HasAssetTag returns a boolean if a field has been set. +func (o *Module) HasAssetTag() bool { + if o != nil && o.AssetTag.IsSet() { + return true + } + + return false +} + +// SetAssetTag gets a reference to the given NullableString and assigns it to the AssetTag field. +func (o *Module) SetAssetTag(v string) { + o.AssetTag.Set(&v) +} + +// SetAssetTagNil sets the value for AssetTag to be an explicit nil +func (o *Module) SetAssetTagNil() { + o.AssetTag.Set(nil) +} + +// UnsetAssetTag ensures that no value is present for AssetTag, not even an explicit nil +func (o *Module) UnsetAssetTag() { + o.AssetTag.Unset() +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *Module) 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 *Module) 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 *Module) 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 *Module) SetDescription(v string) { + o.Description = &v +} + +// GetComments returns the Comments field value if set, zero value otherwise. +func (o *Module) GetComments() string { + if o == nil || IsNil(o.Comments) { + var ret string + return ret + } + return *o.Comments +} + +// GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Module) GetCommentsOk() (*string, bool) { + if o == nil || IsNil(o.Comments) { + return nil, false + } + return o.Comments, true +} + +// HasComments returns a boolean if a field has been set. +func (o *Module) HasComments() bool { + if o != nil && !IsNil(o.Comments) { + return true + } + + return false +} + +// SetComments gets a reference to the given string and assigns it to the Comments field. +func (o *Module) SetComments(v string) { + o.Comments = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *Module) GetTags() []NestedTag { + if o == nil || IsNil(o.Tags) { + var ret []NestedTag + 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 *Module) GetTagsOk() ([]NestedTag, 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 *Module) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTag and assigns it to the Tags field. +func (o *Module) SetTags(v []NestedTag) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *Module) 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 *Module) 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 *Module) 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 *Module) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetCreated returns the Created field value +// If the value is explicit nil, the zero value for time.Time will be returned +func (o *Module) 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 *Module) GetCreatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.Created.Get(), o.Created.IsSet() +} + +// SetCreated sets field value +func (o *Module) 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 *Module) 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 *Module) GetLastUpdatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LastUpdated.Get(), o.LastUpdated.IsSet() +} + +// SetLastUpdated sets field value +func (o *Module) SetLastUpdated(v time.Time) { + o.LastUpdated.Set(&v) +} + func (o Module) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -184,9 +543,36 @@ func (o Module) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["device"] = o.Device toSerialize["module_bay"] = o.ModuleBay + toSerialize["module_type"] = o.ModuleType + if !IsNil(o.Status) { + toSerialize["status"] = o.Status + } + if !IsNil(o.Serial) { + toSerialize["serial"] = o.Serial + } + if o.AssetTag.IsSet() { + toSerialize["asset_tag"] = o.AssetTag.Get() + } + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + if !IsNil(o.Comments) { + toSerialize["comments"] = o.Comments + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + toSerialize["created"] = o.Created.Get() + toSerialize["last_updated"] = o.LastUpdated.Get() for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -205,6 +591,9 @@ func (o *Module) UnmarshalJSON(data []byte) (err error) { "display", "device", "module_bay", + "module_type", + "created", + "last_updated", } allProperties := make(map[string]interface{}) @@ -236,9 +625,20 @@ func (o *Module) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "device") delete(additionalProperties, "module_bay") + delete(additionalProperties, "module_type") + delete(additionalProperties, "status") + delete(additionalProperties, "serial") + delete(additionalProperties, "asset_tag") + delete(additionalProperties, "description") + delete(additionalProperties, "comments") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "created") + delete(additionalProperties, "last_updated") o.AdditionalProperties = additionalProperties } diff --git a/model_module_bay.go b/model_module_bay.go index 3f883cc15..2e0896d01 100644 --- a/model_module_bay.go +++ b/model_module_bay.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,12 +21,14 @@ var _ MappedNullable = &ModuleBay{} // ModuleBay Adds support for custom fields and tags. type ModuleBay struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - Device Device `json:"device"` - Name string `json:"name"` - InstalledModule NullableModule `json:"installed_module,omitempty"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Device BriefDevice `json:"device"` + Module NullableBriefModule `json:"module,omitempty"` + Name string `json:"name"` + InstalledModule NullableBriefModule `json:"installed_module,omitempty"` // Physical label Label *string `json:"label,omitempty"` // Identifier to reference when renaming installed components @@ -45,7 +47,7 @@ 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 int32, url string, display string, device Device, name string, created NullableTime, lastUpdated NullableTime) *ModuleBay { +func NewModuleBay(id int32, url string, display string, device BriefDevice, name string, created NullableTime, lastUpdated NullableTime) *ModuleBay { this := ModuleBay{} this.Id = id this.Url = url @@ -113,6 +115,38 @@ func (o *ModuleBay) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *ModuleBay) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ModuleBay) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *ModuleBay) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *ModuleBay) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *ModuleBay) GetDisplay() string { if o == nil { @@ -138,9 +172,9 @@ func (o *ModuleBay) SetDisplay(v string) { } // GetDevice returns the Device field value -func (o *ModuleBay) GetDevice() Device { +func (o *ModuleBay) GetDevice() BriefDevice { if o == nil { - var ret Device + var ret BriefDevice return ret } @@ -149,7 +183,7 @@ func (o *ModuleBay) GetDevice() Device { // GetDeviceOk returns a tuple with the Device field value // and a boolean to check if the value has been set. -func (o *ModuleBay) GetDeviceOk() (*Device, bool) { +func (o *ModuleBay) GetDeviceOk() (*BriefDevice, bool) { if o == nil { return nil, false } @@ -157,10 +191,53 @@ func (o *ModuleBay) GetDeviceOk() (*Device, bool) { } // SetDevice sets field value -func (o *ModuleBay) SetDevice(v Device) { +func (o *ModuleBay) SetDevice(v BriefDevice) { o.Device = v } +// GetModule returns the Module field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ModuleBay) GetModule() BriefModule { + if o == nil || IsNil(o.Module.Get()) { + var ret BriefModule + return ret + } + return *o.Module.Get() +} + +// GetModuleOk returns a tuple with the Module 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) GetModuleOk() (*BriefModule, bool) { + if o == nil { + return nil, false + } + return o.Module.Get(), o.Module.IsSet() +} + +// HasModule returns a boolean if a field has been set. +func (o *ModuleBay) HasModule() bool { + if o != nil && o.Module.IsSet() { + return true + } + + return false +} + +// SetModule gets a reference to the given NullableBriefModule and assigns it to the Module field. +func (o *ModuleBay) SetModule(v BriefModule) { + o.Module.Set(&v) +} + +// SetModuleNil sets the value for Module to be an explicit nil +func (o *ModuleBay) SetModuleNil() { + o.Module.Set(nil) +} + +// UnsetModule ensures that no value is present for Module, not even an explicit nil +func (o *ModuleBay) UnsetModule() { + o.Module.Unset() +} + // GetName returns the Name field value func (o *ModuleBay) GetName() string { if o == nil { @@ -186,9 +263,9 @@ func (o *ModuleBay) SetName(v string) { } // GetInstalledModule returns the InstalledModule field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *ModuleBay) GetInstalledModule() Module { +func (o *ModuleBay) GetInstalledModule() BriefModule { if o == nil || IsNil(o.InstalledModule.Get()) { - var ret Module + var ret BriefModule return ret } return *o.InstalledModule.Get() @@ -197,7 +274,7 @@ func (o *ModuleBay) GetInstalledModule() Module { // GetInstalledModuleOk returns a tuple with the InstalledModule 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) GetInstalledModuleOk() (*Module, bool) { +func (o *ModuleBay) GetInstalledModuleOk() (*BriefModule, bool) { if o == nil { return nil, false } @@ -213,8 +290,8 @@ func (o *ModuleBay) HasInstalledModule() bool { return false } -// SetInstalledModule gets a reference to the given NullableModule and assigns it to the InstalledModule field. -func (o *ModuleBay) SetInstalledModule(v Module) { +// SetInstalledModule gets a reference to the given NullableBriefModule and assigns it to the InstalledModule field. +func (o *ModuleBay) SetInstalledModule(v BriefModule) { o.InstalledModule.Set(&v) } @@ -452,8 +529,14 @@ func (o ModuleBay) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["device"] = o.Device + if o.Module.IsSet() { + toSerialize["module"] = o.Module.Get() + } toSerialize["name"] = o.Name if o.InstalledModule.IsSet() { toSerialize["installed_module"] = o.InstalledModule.Get() @@ -526,8 +609,10 @@ func (o *ModuleBay) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "device") + delete(additionalProperties, "module") delete(additionalProperties, "name") delete(additionalProperties, "installed_module") delete(additionalProperties, "label") diff --git a/model_module_bay_request.go b/model_module_bay_request.go index 7fb1ba15c..cbd1195a4 100644 --- a/model_module_bay_request.go +++ b/model_module_bay_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,9 +20,10 @@ var _ MappedNullable = &ModuleBayRequest{} // ModuleBayRequest Adds support for custom fields and tags. type ModuleBayRequest struct { - Device DeviceRequest `json:"device"` - Name string `json:"name"` - InstalledModule NullableModuleRequest `json:"installed_module,omitempty"` + Device BriefDeviceRequest `json:"device"` + Module NullableBriefModuleRequest `json:"module,omitempty"` + Name string `json:"name"` + InstalledModule NullableBriefModuleRequest `json:"installed_module,omitempty"` // Physical label Label *string `json:"label,omitempty"` // Identifier to reference when renaming installed components @@ -39,7 +40,7 @@ type _ModuleBayRequest ModuleBayRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewModuleBayRequest(device DeviceRequest, name string) *ModuleBayRequest { +func NewModuleBayRequest(device BriefDeviceRequest, name string) *ModuleBayRequest { this := ModuleBayRequest{} this.Device = device this.Name = name @@ -55,9 +56,9 @@ func NewModuleBayRequestWithDefaults() *ModuleBayRequest { } // GetDevice returns the Device field value -func (o *ModuleBayRequest) GetDevice() DeviceRequest { +func (o *ModuleBayRequest) GetDevice() BriefDeviceRequest { if o == nil { - var ret DeviceRequest + var ret BriefDeviceRequest return ret } @@ -66,7 +67,7 @@ func (o *ModuleBayRequest) GetDevice() DeviceRequest { // GetDeviceOk returns a tuple with the Device field value // and a boolean to check if the value has been set. -func (o *ModuleBayRequest) GetDeviceOk() (*DeviceRequest, bool) { +func (o *ModuleBayRequest) GetDeviceOk() (*BriefDeviceRequest, bool) { if o == nil { return nil, false } @@ -74,10 +75,53 @@ func (o *ModuleBayRequest) GetDeviceOk() (*DeviceRequest, bool) { } // SetDevice sets field value -func (o *ModuleBayRequest) SetDevice(v DeviceRequest) { +func (o *ModuleBayRequest) SetDevice(v BriefDeviceRequest) { o.Device = v } +// GetModule returns the Module field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ModuleBayRequest) GetModule() BriefModuleRequest { + if o == nil || IsNil(o.Module.Get()) { + var ret BriefModuleRequest + return ret + } + return *o.Module.Get() +} + +// GetModuleOk returns a tuple with the Module 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) GetModuleOk() (*BriefModuleRequest, bool) { + if o == nil { + return nil, false + } + return o.Module.Get(), o.Module.IsSet() +} + +// HasModule returns a boolean if a field has been set. +func (o *ModuleBayRequest) HasModule() bool { + if o != nil && o.Module.IsSet() { + return true + } + + return false +} + +// SetModule gets a reference to the given NullableBriefModuleRequest and assigns it to the Module field. +func (o *ModuleBayRequest) SetModule(v BriefModuleRequest) { + o.Module.Set(&v) +} + +// SetModuleNil sets the value for Module to be an explicit nil +func (o *ModuleBayRequest) SetModuleNil() { + o.Module.Set(nil) +} + +// UnsetModule ensures that no value is present for Module, not even an explicit nil +func (o *ModuleBayRequest) UnsetModule() { + o.Module.Unset() +} + // GetName returns the Name field value func (o *ModuleBayRequest) GetName() string { if o == nil { @@ -103,9 +147,9 @@ func (o *ModuleBayRequest) SetName(v string) { } // GetInstalledModule returns the InstalledModule field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *ModuleBayRequest) GetInstalledModule() ModuleRequest { +func (o *ModuleBayRequest) GetInstalledModule() BriefModuleRequest { if o == nil || IsNil(o.InstalledModule.Get()) { - var ret ModuleRequest + var ret BriefModuleRequest return ret } return *o.InstalledModule.Get() @@ -114,7 +158,7 @@ func (o *ModuleBayRequest) GetInstalledModule() ModuleRequest { // GetInstalledModuleOk returns a tuple with the InstalledModule 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) GetInstalledModuleOk() (*ModuleRequest, bool) { +func (o *ModuleBayRequest) GetInstalledModuleOk() (*BriefModuleRequest, bool) { if o == nil { return nil, false } @@ -130,8 +174,8 @@ func (o *ModuleBayRequest) HasInstalledModule() bool { return false } -// SetInstalledModule gets a reference to the given NullableModuleRequest and assigns it to the InstalledModule field. -func (o *ModuleBayRequest) SetInstalledModule(v ModuleRequest) { +// SetInstalledModule gets a reference to the given NullableBriefModuleRequest and assigns it to the InstalledModule field. +func (o *ModuleBayRequest) SetInstalledModule(v BriefModuleRequest) { o.InstalledModule.Set(&v) } @@ -316,6 +360,9 @@ func (o ModuleBayRequest) MarshalJSON() ([]byte, error) { func (o ModuleBayRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["device"] = o.Device + if o.Module.IsSet() { + toSerialize["module"] = o.Module.Get() + } toSerialize["name"] = o.Name if o.InstalledModule.IsSet() { toSerialize["installed_module"] = o.InstalledModule.Get() @@ -380,6 +427,7 @@ func (o *ModuleBayRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "device") + delete(additionalProperties, "module") delete(additionalProperties, "name") delete(additionalProperties, "installed_module") delete(additionalProperties, "label") diff --git a/model_module_bay_template.go b/model_module_bay_template.go index 114c363b6..5bd9ec7e2 100644 --- a/model_module_bay_template.go +++ b/model_module_bay_template.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,10 +21,11 @@ var _ MappedNullable = &ModuleBayTemplate{} // ModuleBayTemplate Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 ModuleBayTemplate struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - DeviceType DeviceType `json:"device_type"` + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + DeviceType NullableBriefDeviceType `json:"device_type,omitempty"` + ModuleType NullableBriefModuleType `json:"module_type,omitempty"` // {module} is accepted as a substitution for the module bay position when attached to a module type. Name string `json:"name"` // Physical label @@ -43,12 +44,11 @@ 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 int32, url string, display string, deviceType DeviceType, name string, created NullableTime, lastUpdated NullableTime) *ModuleBayTemplate { +func NewModuleBayTemplate(id int32, url string, display string, name string, created NullableTime, lastUpdated NullableTime) *ModuleBayTemplate { this := ModuleBayTemplate{} this.Id = id this.Url = url this.Display = display - this.DeviceType = deviceType this.Name = name this.Created = created this.LastUpdated = lastUpdated @@ -135,28 +135,90 @@ func (o *ModuleBayTemplate) SetDisplay(v string) { o.Display = v } -// GetDeviceType returns the DeviceType field value -func (o *ModuleBayTemplate) GetDeviceType() DeviceType { - if o == nil { - var ret DeviceType +// GetDeviceType returns the DeviceType field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ModuleBayTemplate) GetDeviceType() BriefDeviceType { + if o == nil || IsNil(o.DeviceType.Get()) { + var ret BriefDeviceType return ret } + return *o.DeviceType.Get() +} + +// GetDeviceTypeOk returns a tuple with the DeviceType 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) GetDeviceTypeOk() (*BriefDeviceType, bool) { + if o == nil { + return nil, false + } + return o.DeviceType.Get(), o.DeviceType.IsSet() +} + +// HasDeviceType returns a boolean if a field has been set. +func (o *ModuleBayTemplate) HasDeviceType() bool { + if o != nil && o.DeviceType.IsSet() { + return true + } + + return false +} + +// SetDeviceType gets a reference to the given NullableBriefDeviceType and assigns it to the DeviceType field. +func (o *ModuleBayTemplate) SetDeviceType(v BriefDeviceType) { + o.DeviceType.Set(&v) +} + +// SetDeviceTypeNil sets the value for DeviceType to be an explicit nil +func (o *ModuleBayTemplate) SetDeviceTypeNil() { + o.DeviceType.Set(nil) +} + +// UnsetDeviceType ensures that no value is present for DeviceType, not even an explicit nil +func (o *ModuleBayTemplate) UnsetDeviceType() { + o.DeviceType.Unset() +} - return o.DeviceType +// GetModuleType returns the ModuleType field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ModuleBayTemplate) GetModuleType() BriefModuleType { + if o == nil || IsNil(o.ModuleType.Get()) { + var ret BriefModuleType + return ret + } + return *o.ModuleType.Get() } -// GetDeviceTypeOk returns a tuple with the DeviceType field value +// GetModuleTypeOk returns a tuple with the ModuleType field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ModuleBayTemplate) GetDeviceTypeOk() (*DeviceType, bool) { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ModuleBayTemplate) GetModuleTypeOk() (*BriefModuleType, bool) { if o == nil { return nil, false } - return &o.DeviceType, true + return o.ModuleType.Get(), o.ModuleType.IsSet() +} + +// HasModuleType returns a boolean if a field has been set. +func (o *ModuleBayTemplate) HasModuleType() bool { + if o != nil && o.ModuleType.IsSet() { + return true + } + + return false +} + +// SetModuleType gets a reference to the given NullableBriefModuleType and assigns it to the ModuleType field. +func (o *ModuleBayTemplate) SetModuleType(v BriefModuleType) { + o.ModuleType.Set(&v) } -// SetDeviceType sets field value -func (o *ModuleBayTemplate) SetDeviceType(v DeviceType) { - o.DeviceType = v +// SetModuleTypeNil sets the value for ModuleType to be an explicit nil +func (o *ModuleBayTemplate) SetModuleTypeNil() { + o.ModuleType.Set(nil) +} + +// UnsetModuleType ensures that no value is present for ModuleType, not even an explicit nil +func (o *ModuleBayTemplate) UnsetModuleType() { + o.ModuleType.Unset() } // GetName returns the Name field value @@ -344,7 +406,12 @@ func (o ModuleBayTemplate) ToMap() (map[string]interface{}, error) { toSerialize["id"] = o.Id toSerialize["url"] = o.Url toSerialize["display"] = o.Display - toSerialize["device_type"] = o.DeviceType + if o.DeviceType.IsSet() { + toSerialize["device_type"] = o.DeviceType.Get() + } + if o.ModuleType.IsSet() { + toSerialize["module_type"] = o.ModuleType.Get() + } toSerialize["name"] = o.Name if !IsNil(o.Label) { toSerialize["label"] = o.Label @@ -373,7 +440,6 @@ func (o *ModuleBayTemplate) UnmarshalJSON(data []byte) (err error) { "id", "url", "display", - "device_type", "name", "created", "last_updated", @@ -410,6 +476,7 @@ func (o *ModuleBayTemplate) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "url") delete(additionalProperties, "display") delete(additionalProperties, "device_type") + delete(additionalProperties, "module_type") delete(additionalProperties, "name") delete(additionalProperties, "label") delete(additionalProperties, "position") diff --git a/model_module_bay_template_request.go b/model_module_bay_template_request.go index 6e407360e..44f41aafd 100644 --- a/model_module_bay_template_request.go +++ b/model_module_bay_template_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,7 +20,8 @@ var _ MappedNullable = &ModuleBayTemplateRequest{} // ModuleBayTemplateRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 ModuleBayTemplateRequest struct { - DeviceType DeviceTypeRequest `json:"device_type"` + DeviceType NullableBriefDeviceTypeRequest `json:"device_type,omitempty"` + ModuleType NullableBriefModuleTypeRequest `json:"module_type,omitempty"` // {module} is accepted as a substitution for the module bay position when attached to a module type. Name string `json:"name"` // Physical label @@ -37,9 +38,8 @@ type _ModuleBayTemplateRequest ModuleBayTemplateRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewModuleBayTemplateRequest(deviceType DeviceTypeRequest, name string) *ModuleBayTemplateRequest { +func NewModuleBayTemplateRequest(name string) *ModuleBayTemplateRequest { this := ModuleBayTemplateRequest{} - this.DeviceType = deviceType this.Name = name return &this } @@ -52,28 +52,90 @@ func NewModuleBayTemplateRequestWithDefaults() *ModuleBayTemplateRequest { return &this } -// GetDeviceType returns the DeviceType field value -func (o *ModuleBayTemplateRequest) GetDeviceType() DeviceTypeRequest { - if o == nil { - var ret DeviceTypeRequest +// GetDeviceType returns the DeviceType field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ModuleBayTemplateRequest) GetDeviceType() BriefDeviceTypeRequest { + if o == nil || IsNil(o.DeviceType.Get()) { + var ret BriefDeviceTypeRequest return ret } + return *o.DeviceType.Get() +} + +// GetDeviceTypeOk returns a tuple with the DeviceType 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) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool) { + if o == nil { + return nil, false + } + return o.DeviceType.Get(), o.DeviceType.IsSet() +} + +// HasDeviceType returns a boolean if a field has been set. +func (o *ModuleBayTemplateRequest) HasDeviceType() bool { + if o != nil && o.DeviceType.IsSet() { + return true + } + + return false +} + +// SetDeviceType gets a reference to the given NullableBriefDeviceTypeRequest and assigns it to the DeviceType field. +func (o *ModuleBayTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest) { + o.DeviceType.Set(&v) +} + +// SetDeviceTypeNil sets the value for DeviceType to be an explicit nil +func (o *ModuleBayTemplateRequest) SetDeviceTypeNil() { + o.DeviceType.Set(nil) +} + +// UnsetDeviceType ensures that no value is present for DeviceType, not even an explicit nil +func (o *ModuleBayTemplateRequest) UnsetDeviceType() { + o.DeviceType.Unset() +} - return o.DeviceType +// GetModuleType returns the ModuleType field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ModuleBayTemplateRequest) GetModuleType() BriefModuleTypeRequest { + if o == nil || IsNil(o.ModuleType.Get()) { + var ret BriefModuleTypeRequest + return ret + } + return *o.ModuleType.Get() } -// GetDeviceTypeOk returns a tuple with the DeviceType field value +// GetModuleTypeOk returns a tuple with the ModuleType field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ModuleBayTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool) { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ModuleBayTemplateRequest) GetModuleTypeOk() (*BriefModuleTypeRequest, bool) { if o == nil { return nil, false } - return &o.DeviceType, true + return o.ModuleType.Get(), o.ModuleType.IsSet() } -// SetDeviceType sets field value -func (o *ModuleBayTemplateRequest) SetDeviceType(v DeviceTypeRequest) { - o.DeviceType = v +// HasModuleType returns a boolean if a field has been set. +func (o *ModuleBayTemplateRequest) HasModuleType() bool { + if o != nil && o.ModuleType.IsSet() { + return true + } + + return false +} + +// SetModuleType gets a reference to the given NullableBriefModuleTypeRequest and assigns it to the ModuleType field. +func (o *ModuleBayTemplateRequest) SetModuleType(v BriefModuleTypeRequest) { + o.ModuleType.Set(&v) +} + +// SetModuleTypeNil sets the value for ModuleType to be an explicit nil +func (o *ModuleBayTemplateRequest) SetModuleTypeNil() { + o.ModuleType.Set(nil) +} + +// UnsetModuleType ensures that no value is present for ModuleType, not even an explicit nil +func (o *ModuleBayTemplateRequest) UnsetModuleType() { + o.ModuleType.Unset() } // GetName returns the Name field value @@ -206,7 +268,12 @@ func (o ModuleBayTemplateRequest) MarshalJSON() ([]byte, error) { func (o ModuleBayTemplateRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["device_type"] = o.DeviceType + if o.DeviceType.IsSet() { + toSerialize["device_type"] = o.DeviceType.Get() + } + if o.ModuleType.IsSet() { + toSerialize["module_type"] = o.ModuleType.Get() + } toSerialize["name"] = o.Name if !IsNil(o.Label) { toSerialize["label"] = o.Label @@ -230,7 +297,6 @@ func (o *ModuleBayTemplateRequest) 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{ - "device_type", "name", } @@ -262,6 +328,7 @@ func (o *ModuleBayTemplateRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "device_type") + delete(additionalProperties, "module_type") delete(additionalProperties, "name") delete(additionalProperties, "label") delete(additionalProperties, "position") diff --git a/model_module_request.go b/model_module_request.go index 0cdc3bf19..6f0293040 100644 --- a/model_module_request.go +++ b/model_module_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,8 +20,17 @@ var _ MappedNullable = &ModuleRequest{} // ModuleRequest Adds support for custom fields and tags. type ModuleRequest struct { - Device DeviceRequest `json:"device"` - ModuleBay NestedModuleBayRequest `json:"module_bay"` + Device BriefDeviceRequest `json:"device"` + ModuleBay NestedModuleBayRequest `json:"module_bay"` + ModuleType BriefModuleTypeRequest `json:"module_type"` + Status *ModuleStatusValue `json:"status,omitempty"` + Serial *string `json:"serial,omitempty"` + // A unique tag used to identify this device + AssetTag NullableString `json:"asset_tag,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -31,10 +40,11 @@ type _ModuleRequest ModuleRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewModuleRequest(device DeviceRequest, moduleBay NestedModuleBayRequest) *ModuleRequest { +func NewModuleRequest(device BriefDeviceRequest, moduleBay NestedModuleBayRequest, moduleType BriefModuleTypeRequest) *ModuleRequest { this := ModuleRequest{} this.Device = device this.ModuleBay = moduleBay + this.ModuleType = moduleType return &this } @@ -47,9 +57,9 @@ func NewModuleRequestWithDefaults() *ModuleRequest { } // GetDevice returns the Device field value -func (o *ModuleRequest) GetDevice() DeviceRequest { +func (o *ModuleRequest) GetDevice() BriefDeviceRequest { if o == nil { - var ret DeviceRequest + var ret BriefDeviceRequest return ret } @@ -58,7 +68,7 @@ func (o *ModuleRequest) GetDevice() DeviceRequest { // GetDeviceOk returns a tuple with the Device field value // and a boolean to check if the value has been set. -func (o *ModuleRequest) GetDeviceOk() (*DeviceRequest, bool) { +func (o *ModuleRequest) GetDeviceOk() (*BriefDeviceRequest, bool) { if o == nil { return nil, false } @@ -66,7 +76,7 @@ func (o *ModuleRequest) GetDeviceOk() (*DeviceRequest, bool) { } // SetDevice sets field value -func (o *ModuleRequest) SetDevice(v DeviceRequest) { +func (o *ModuleRequest) SetDevice(v BriefDeviceRequest) { o.Device = v } @@ -94,6 +104,265 @@ func (o *ModuleRequest) SetModuleBay(v NestedModuleBayRequest) { o.ModuleBay = v } +// GetModuleType returns the ModuleType field value +func (o *ModuleRequest) GetModuleType() BriefModuleTypeRequest { + if o == nil { + var ret BriefModuleTypeRequest + return ret + } + + return o.ModuleType +} + +// GetModuleTypeOk returns a tuple with the ModuleType field value +// and a boolean to check if the value has been set. +func (o *ModuleRequest) GetModuleTypeOk() (*BriefModuleTypeRequest, bool) { + if o == nil { + return nil, false + } + return &o.ModuleType, true +} + +// SetModuleType sets field value +func (o *ModuleRequest) SetModuleType(v BriefModuleTypeRequest) { + o.ModuleType = v +} + +// GetStatus returns the Status field value if set, zero value otherwise. +func (o *ModuleRequest) GetStatus() ModuleStatusValue { + if o == nil || IsNil(o.Status) { + var ret ModuleStatusValue + 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 *ModuleRequest) GetStatusOk() (*ModuleStatusValue, 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 *ModuleRequest) HasStatus() bool { + if o != nil && !IsNil(o.Status) { + return true + } + + return false +} + +// SetStatus gets a reference to the given ModuleStatusValue and assigns it to the Status field. +func (o *ModuleRequest) SetStatus(v ModuleStatusValue) { + o.Status = &v +} + +// GetSerial returns the Serial field value if set, zero value otherwise. +func (o *ModuleRequest) GetSerial() string { + if o == nil || IsNil(o.Serial) { + var ret string + return ret + } + return *o.Serial +} + +// GetSerialOk returns a tuple with the Serial field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ModuleRequest) GetSerialOk() (*string, bool) { + if o == nil || IsNil(o.Serial) { + return nil, false + } + return o.Serial, true +} + +// HasSerial returns a boolean if a field has been set. +func (o *ModuleRequest) HasSerial() bool { + if o != nil && !IsNil(o.Serial) { + return true + } + + return false +} + +// SetSerial gets a reference to the given string and assigns it to the Serial field. +func (o *ModuleRequest) SetSerial(v string) { + o.Serial = &v +} + +// GetAssetTag returns the AssetTag field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ModuleRequest) GetAssetTag() string { + if o == nil || IsNil(o.AssetTag.Get()) { + var ret string + return ret + } + return *o.AssetTag.Get() +} + +// GetAssetTagOk returns a tuple with the AssetTag 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 *ModuleRequest) GetAssetTagOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.AssetTag.Get(), o.AssetTag.IsSet() +} + +// HasAssetTag returns a boolean if a field has been set. +func (o *ModuleRequest) HasAssetTag() bool { + if o != nil && o.AssetTag.IsSet() { + return true + } + + return false +} + +// SetAssetTag gets a reference to the given NullableString and assigns it to the AssetTag field. +func (o *ModuleRequest) SetAssetTag(v string) { + o.AssetTag.Set(&v) +} + +// SetAssetTagNil sets the value for AssetTag to be an explicit nil +func (o *ModuleRequest) SetAssetTagNil() { + o.AssetTag.Set(nil) +} + +// UnsetAssetTag ensures that no value is present for AssetTag, not even an explicit nil +func (o *ModuleRequest) UnsetAssetTag() { + o.AssetTag.Unset() +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *ModuleRequest) 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 *ModuleRequest) 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 *ModuleRequest) 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 *ModuleRequest) SetDescription(v string) { + o.Description = &v +} + +// GetComments returns the Comments field value if set, zero value otherwise. +func (o *ModuleRequest) GetComments() string { + if o == nil || IsNil(o.Comments) { + var ret string + return ret + } + return *o.Comments +} + +// GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ModuleRequest) GetCommentsOk() (*string, bool) { + if o == nil || IsNil(o.Comments) { + return nil, false + } + return o.Comments, true +} + +// HasComments returns a boolean if a field has been set. +func (o *ModuleRequest) HasComments() bool { + if o != nil && !IsNil(o.Comments) { + return true + } + + return false +} + +// SetComments gets a reference to the given string and assigns it to the Comments field. +func (o *ModuleRequest) SetComments(v string) { + o.Comments = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *ModuleRequest) GetTags() []NestedTagRequest { + if o == nil || IsNil(o.Tags) { + var ret []NestedTagRequest + 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 *ModuleRequest) GetTagsOk() ([]NestedTagRequest, 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 *ModuleRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTagRequest and assigns it to the Tags field. +func (o *ModuleRequest) SetTags(v []NestedTagRequest) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *ModuleRequest) 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 *ModuleRequest) 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 *ModuleRequest) 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 *ModuleRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + func (o ModuleRequest) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -106,6 +375,28 @@ func (o ModuleRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["device"] = o.Device toSerialize["module_bay"] = o.ModuleBay + toSerialize["module_type"] = o.ModuleType + if !IsNil(o.Status) { + toSerialize["status"] = o.Status + } + if !IsNil(o.Serial) { + toSerialize["serial"] = o.Serial + } + if o.AssetTag.IsSet() { + toSerialize["asset_tag"] = o.AssetTag.Get() + } + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + if !IsNil(o.Comments) { + toSerialize["comments"] = o.Comments + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -121,6 +412,7 @@ func (o *ModuleRequest) UnmarshalJSON(data []byte) (err error) { requiredProperties := []string{ "device", "module_bay", + "module_type", } allProperties := make(map[string]interface{}) @@ -152,6 +444,14 @@ func (o *ModuleRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "device") delete(additionalProperties, "module_bay") + delete(additionalProperties, "module_type") + delete(additionalProperties, "status") + delete(additionalProperties, "serial") + delete(additionalProperties, "asset_tag") + delete(additionalProperties, "description") + delete(additionalProperties, "comments") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") o.AdditionalProperties = additionalProperties } diff --git a/model_module_status.go b/model_module_status.go new file mode 100644 index 000000000..48c5bc43c --- /dev/null +++ b/model_module_status.go @@ -0,0 +1,190 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" +) + +// checks if the ModuleStatus type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &ModuleStatus{} + +// ModuleStatus struct for ModuleStatus +type ModuleStatus struct { + Value *ModuleStatusValue `json:"value,omitempty"` + Label *ModuleStatusLabel `json:"label,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _ModuleStatus ModuleStatus + +// NewModuleStatus instantiates a new ModuleStatus object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewModuleStatus() *ModuleStatus { + this := ModuleStatus{} + return &this +} + +// NewModuleStatusWithDefaults instantiates a new ModuleStatus object +// This 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 NewModuleStatusWithDefaults() *ModuleStatus { + this := ModuleStatus{} + return &this +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *ModuleStatus) GetValue() ModuleStatusValue { + if o == nil || IsNil(o.Value) { + var ret ModuleStatusValue + 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 *ModuleStatus) GetValueOk() (*ModuleStatusValue, 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 *ModuleStatus) HasValue() bool { + if o != nil && !IsNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given ModuleStatusValue and assigns it to the Value field. +func (o *ModuleStatus) SetValue(v ModuleStatusValue) { + o.Value = &v +} + +// GetLabel returns the Label field value if set, zero value otherwise. +func (o *ModuleStatus) GetLabel() ModuleStatusLabel { + if o == nil || IsNil(o.Label) { + var ret ModuleStatusLabel + 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 *ModuleStatus) GetLabelOk() (*ModuleStatusLabel, 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 *ModuleStatus) HasLabel() bool { + if o != nil && !IsNil(o.Label) { + return true + } + + return false +} + +// SetLabel gets a reference to the given ModuleStatusLabel and assigns it to the Label field. +func (o *ModuleStatus) SetLabel(v ModuleStatusLabel) { + o.Label = &v +} + +func (o ModuleStatus) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o ModuleStatus) 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 *ModuleStatus) UnmarshalJSON(data []byte) (err error) { + varModuleStatus := _ModuleStatus{} + + err = json.Unmarshal(data, &varModuleStatus) + + if err != nil { + return err + } + + *o = ModuleStatus(varModuleStatus) + + 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 NullableModuleStatus struct { + value *ModuleStatus + isSet bool +} + +func (v NullableModuleStatus) Get() *ModuleStatus { + return v.value +} + +func (v *NullableModuleStatus) Set(val *ModuleStatus) { + v.value = val + v.isSet = true +} + +func (v NullableModuleStatus) IsSet() bool { + return v.isSet +} + +func (v *NullableModuleStatus) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableModuleStatus(val *ModuleStatus) *NullableModuleStatus { + return &NullableModuleStatus{value: val, isSet: true} +} + +func (v NullableModuleStatus) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableModuleStatus) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_module_status_label.go b/model_module_status_label.go new file mode 100644 index 000000000..8449634d8 --- /dev/null +++ b/model_module_status_label.go @@ -0,0 +1,118 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// ModuleStatusLabel the model 'ModuleStatusLabel' +type ModuleStatusLabel string + +// List of Module_status_label +const ( + MODULESTATUSLABEL_OFFLINE ModuleStatusLabel = "Offline" + MODULESTATUSLABEL_ACTIVE ModuleStatusLabel = "Active" + MODULESTATUSLABEL_PLANNED ModuleStatusLabel = "Planned" + MODULESTATUSLABEL_STAGED ModuleStatusLabel = "Staged" + MODULESTATUSLABEL_FAILED ModuleStatusLabel = "Failed" + MODULESTATUSLABEL_DECOMMISSIONING ModuleStatusLabel = "Decommissioning" +) + +// All allowed values of ModuleStatusLabel enum +var AllowedModuleStatusLabelEnumValues = []ModuleStatusLabel{ + "Offline", + "Active", + "Planned", + "Staged", + "Failed", + "Decommissioning", +} + +func (v *ModuleStatusLabel) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := ModuleStatusLabel(value) + for _, existing := range AllowedModuleStatusLabelEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid ModuleStatusLabel", value) +} + +// NewModuleStatusLabelFromValue returns a pointer to a valid ModuleStatusLabel +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewModuleStatusLabelFromValue(v string) (*ModuleStatusLabel, error) { + ev := ModuleStatusLabel(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for ModuleStatusLabel: valid values are %v", v, AllowedModuleStatusLabelEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v ModuleStatusLabel) IsValid() bool { + for _, existing := range AllowedModuleStatusLabelEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to Module_status_label value +func (v ModuleStatusLabel) Ptr() *ModuleStatusLabel { + return &v +} + +type NullableModuleStatusLabel struct { + value *ModuleStatusLabel + isSet bool +} + +func (v NullableModuleStatusLabel) Get() *ModuleStatusLabel { + return v.value +} + +func (v *NullableModuleStatusLabel) Set(val *ModuleStatusLabel) { + v.value = val + v.isSet = true +} + +func (v NullableModuleStatusLabel) IsSet() bool { + return v.isSet +} + +func (v *NullableModuleStatusLabel) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableModuleStatusLabel(val *ModuleStatusLabel) *NullableModuleStatusLabel { + return &NullableModuleStatusLabel{value: val, isSet: true} +} + +func (v NullableModuleStatusLabel) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableModuleStatusLabel) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_module_status_value.go b/model_module_status_value.go new file mode 100644 index 000000000..0ef3fb8c5 --- /dev/null +++ b/model_module_status_value.go @@ -0,0 +1,118 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// ModuleStatusValue * `offline` - Offline * `active` - Active * `planned` - Planned * `staged` - Staged * `failed` - Failed * `decommissioning` - Decommissioning +type ModuleStatusValue string + +// List of Module_status_value +const ( + MODULESTATUSVALUE_OFFLINE ModuleStatusValue = "offline" + MODULESTATUSVALUE_ACTIVE ModuleStatusValue = "active" + MODULESTATUSVALUE_PLANNED ModuleStatusValue = "planned" + MODULESTATUSVALUE_STAGED ModuleStatusValue = "staged" + MODULESTATUSVALUE_FAILED ModuleStatusValue = "failed" + MODULESTATUSVALUE_DECOMMISSIONING ModuleStatusValue = "decommissioning" +) + +// All allowed values of ModuleStatusValue enum +var AllowedModuleStatusValueEnumValues = []ModuleStatusValue{ + "offline", + "active", + "planned", + "staged", + "failed", + "decommissioning", +} + +func (v *ModuleStatusValue) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := ModuleStatusValue(value) + for _, existing := range AllowedModuleStatusValueEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid ModuleStatusValue", value) +} + +// NewModuleStatusValueFromValue returns a pointer to a valid ModuleStatusValue +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewModuleStatusValueFromValue(v string) (*ModuleStatusValue, error) { + ev := ModuleStatusValue(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for ModuleStatusValue: valid values are %v", v, AllowedModuleStatusValueEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v ModuleStatusValue) IsValid() bool { + for _, existing := range AllowedModuleStatusValueEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to Module_status_value value +func (v ModuleStatusValue) Ptr() *ModuleStatusValue { + return &v +} + +type NullableModuleStatusValue struct { + value *ModuleStatusValue + isSet bool +} + +func (v NullableModuleStatusValue) Get() *ModuleStatusValue { + return v.value +} + +func (v *NullableModuleStatusValue) Set(val *ModuleStatusValue) { + v.value = val + v.isSet = true +} + +func (v NullableModuleStatusValue) IsSet() bool { + return v.isSet +} + +func (v *NullableModuleStatusValue) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableModuleStatusValue(val *ModuleStatusValue) *NullableModuleStatusValue { + return &NullableModuleStatusValue{value: val, isSet: true} +} + +func (v NullableModuleStatusValue) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableModuleStatusValue) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_module_type.go b/model_module_type.go index 4b14e7719..23881c45b 100644 --- a/model_module_type.go +++ b/model_module_type.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -13,6 +13,7 @@ package netbox import ( "encoding/json" "fmt" + "time" ) // checks if the ModuleType type satisfies the MappedNullable interface at compile time @@ -20,12 +21,23 @@ var _ MappedNullable = &ModuleType{} // ModuleType Adds support for custom fields and tags. type ModuleType struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - Manufacturer Manufacturer `json:"manufacturer"` - Model string `json:"model"` - Description *string `json:"description,omitempty"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Manufacturer BriefManufacturer `json:"manufacturer"` + Model string `json:"model"` + // Discrete part number (optional) + PartNumber *string `json:"part_number,omitempty"` + Airflow NullableModuleTypeAirflow `json:"airflow,omitempty"` + Weight NullableFloat64 `json:"weight,omitempty"` + WeightUnit NullableDeviceTypeWeightUnit `json:"weight_unit,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTag `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Created NullableTime `json:"created"` + LastUpdated NullableTime `json:"last_updated"` AdditionalProperties map[string]interface{} } @@ -35,13 +47,15 @@ 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 int32, url string, display string, manufacturer Manufacturer, model string) *ModuleType { +func NewModuleType(id int32, url string, display string, manufacturer BriefManufacturer, model string, created NullableTime, lastUpdated NullableTime) *ModuleType { this := ModuleType{} this.Id = id this.Url = url this.Display = display this.Manufacturer = manufacturer this.Model = model + this.Created = created + this.LastUpdated = lastUpdated return &this } @@ -101,6 +115,38 @@ func (o *ModuleType) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *ModuleType) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ModuleType) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *ModuleType) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *ModuleType) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *ModuleType) GetDisplay() string { if o == nil { @@ -126,9 +172,9 @@ func (o *ModuleType) SetDisplay(v string) { } // GetManufacturer returns the Manufacturer field value -func (o *ModuleType) GetManufacturer() Manufacturer { +func (o *ModuleType) GetManufacturer() BriefManufacturer { if o == nil { - var ret Manufacturer + var ret BriefManufacturer return ret } @@ -137,7 +183,7 @@ func (o *ModuleType) GetManufacturer() Manufacturer { // GetManufacturerOk returns a tuple with the Manufacturer field value // and a boolean to check if the value has been set. -func (o *ModuleType) GetManufacturerOk() (*Manufacturer, bool) { +func (o *ModuleType) GetManufacturerOk() (*BriefManufacturer, bool) { if o == nil { return nil, false } @@ -145,7 +191,7 @@ func (o *ModuleType) GetManufacturerOk() (*Manufacturer, bool) { } // SetManufacturer sets field value -func (o *ModuleType) SetManufacturer(v Manufacturer) { +func (o *ModuleType) SetManufacturer(v BriefManufacturer) { o.Manufacturer = v } @@ -173,6 +219,167 @@ func (o *ModuleType) SetModel(v string) { o.Model = v } +// GetPartNumber returns the PartNumber field value if set, zero value otherwise. +func (o *ModuleType) GetPartNumber() string { + if o == nil || IsNil(o.PartNumber) { + var ret string + return ret + } + return *o.PartNumber +} + +// GetPartNumberOk returns a tuple with the PartNumber field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ModuleType) GetPartNumberOk() (*string, bool) { + if o == nil || IsNil(o.PartNumber) { + return nil, false + } + return o.PartNumber, true +} + +// HasPartNumber returns a boolean if a field has been set. +func (o *ModuleType) HasPartNumber() bool { + if o != nil && !IsNil(o.PartNumber) { + return true + } + + return false +} + +// SetPartNumber gets a reference to the given string and assigns it to the PartNumber field. +func (o *ModuleType) SetPartNumber(v string) { + o.PartNumber = &v +} + +// GetAirflow returns the Airflow field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ModuleType) GetAirflow() ModuleTypeAirflow { + if o == nil || IsNil(o.Airflow.Get()) { + var ret ModuleTypeAirflow + return ret + } + return *o.Airflow.Get() +} + +// GetAirflowOk returns a tuple with the Airflow 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) GetAirflowOk() (*ModuleTypeAirflow, bool) { + if o == nil { + return nil, false + } + return o.Airflow.Get(), o.Airflow.IsSet() +} + +// HasAirflow returns a boolean if a field has been set. +func (o *ModuleType) HasAirflow() bool { + if o != nil && o.Airflow.IsSet() { + return true + } + + return false +} + +// SetAirflow gets a reference to the given NullableModuleTypeAirflow and assigns it to the Airflow field. +func (o *ModuleType) SetAirflow(v ModuleTypeAirflow) { + o.Airflow.Set(&v) +} + +// SetAirflowNil sets the value for Airflow to be an explicit nil +func (o *ModuleType) SetAirflowNil() { + o.Airflow.Set(nil) +} + +// UnsetAirflow ensures that no value is present for Airflow, not even an explicit nil +func (o *ModuleType) UnsetAirflow() { + o.Airflow.Unset() +} + +// GetWeight returns the Weight field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ModuleType) GetWeight() float64 { + if o == nil || IsNil(o.Weight.Get()) { + var ret float64 + return ret + } + return *o.Weight.Get() +} + +// GetWeightOk returns a tuple with the Weight 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) GetWeightOk() (*float64, bool) { + if o == nil { + return nil, false + } + return o.Weight.Get(), o.Weight.IsSet() +} + +// HasWeight returns a boolean if a field has been set. +func (o *ModuleType) HasWeight() bool { + if o != nil && o.Weight.IsSet() { + return true + } + + return false +} + +// SetWeight gets a reference to the given NullableFloat64 and assigns it to the Weight field. +func (o *ModuleType) SetWeight(v float64) { + o.Weight.Set(&v) +} + +// SetWeightNil sets the value for Weight to be an explicit nil +func (o *ModuleType) SetWeightNil() { + o.Weight.Set(nil) +} + +// UnsetWeight ensures that no value is present for Weight, not even an explicit nil +func (o *ModuleType) UnsetWeight() { + o.Weight.Unset() +} + +// GetWeightUnit returns the WeightUnit field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ModuleType) GetWeightUnit() DeviceTypeWeightUnit { + if o == nil || IsNil(o.WeightUnit.Get()) { + var ret DeviceTypeWeightUnit + return ret + } + return *o.WeightUnit.Get() +} + +// GetWeightUnitOk returns a tuple with the WeightUnit 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) GetWeightUnitOk() (*DeviceTypeWeightUnit, bool) { + if o == nil { + return nil, false + } + return o.WeightUnit.Get(), o.WeightUnit.IsSet() +} + +// HasWeightUnit returns a boolean if a field has been set. +func (o *ModuleType) HasWeightUnit() bool { + if o != nil && o.WeightUnit.IsSet() { + return true + } + + return false +} + +// SetWeightUnit gets a reference to the given NullableDeviceTypeWeightUnit and assigns it to the WeightUnit field. +func (o *ModuleType) SetWeightUnit(v DeviceTypeWeightUnit) { + o.WeightUnit.Set(&v) +} + +// SetWeightUnitNil sets the value for WeightUnit to be an explicit nil +func (o *ModuleType) SetWeightUnitNil() { + o.WeightUnit.Set(nil) +} + +// UnsetWeightUnit ensures that no value is present for WeightUnit, not even an explicit nil +func (o *ModuleType) UnsetWeightUnit() { + o.WeightUnit.Unset() +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *ModuleType) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -205,6 +412,154 @@ func (o *ModuleType) SetDescription(v string) { o.Description = &v } +// GetComments returns the Comments field value if set, zero value otherwise. +func (o *ModuleType) GetComments() string { + if o == nil || IsNil(o.Comments) { + var ret string + return ret + } + return *o.Comments +} + +// GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ModuleType) GetCommentsOk() (*string, bool) { + if o == nil || IsNil(o.Comments) { + return nil, false + } + return o.Comments, true +} + +// HasComments returns a boolean if a field has been set. +func (o *ModuleType) HasComments() bool { + if o != nil && !IsNil(o.Comments) { + return true + } + + return false +} + +// SetComments gets a reference to the given string and assigns it to the Comments field. +func (o *ModuleType) SetComments(v string) { + o.Comments = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *ModuleType) GetTags() []NestedTag { + if o == nil || IsNil(o.Tags) { + var ret []NestedTag + 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 *ModuleType) GetTagsOk() ([]NestedTag, 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 *ModuleType) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTag and assigns it to the Tags field. +func (o *ModuleType) SetTags(v []NestedTag) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *ModuleType) 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 *ModuleType) 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 *ModuleType) 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 *ModuleType) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// 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 { + 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 *ModuleType) GetCreatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.Created.Get(), o.Created.IsSet() +} + +// SetCreated sets field value +func (o *ModuleType) 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 *ModuleType) 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 *ModuleType) GetLastUpdatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LastUpdated.Get(), o.LastUpdated.IsSet() +} + +// SetLastUpdated sets field value +func (o *ModuleType) SetLastUpdated(v time.Time) { + o.LastUpdated.Set(&v) +} + func (o ModuleType) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -217,12 +572,38 @@ func (o ModuleType) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["manufacturer"] = o.Manufacturer toSerialize["model"] = o.Model + if !IsNil(o.PartNumber) { + toSerialize["part_number"] = o.PartNumber + } + if o.Airflow.IsSet() { + toSerialize["airflow"] = o.Airflow.Get() + } + if o.Weight.IsSet() { + toSerialize["weight"] = o.Weight.Get() + } + if o.WeightUnit.IsSet() { + toSerialize["weight_unit"] = o.WeightUnit.Get() + } if !IsNil(o.Description) { toSerialize["description"] = o.Description } + if !IsNil(o.Comments) { + toSerialize["comments"] = o.Comments + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + toSerialize["created"] = o.Created.Get() + toSerialize["last_updated"] = o.LastUpdated.Get() for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -241,6 +622,8 @@ func (o *ModuleType) UnmarshalJSON(data []byte) (err error) { "display", "manufacturer", "model", + "created", + "last_updated", } allProperties := make(map[string]interface{}) @@ -272,10 +655,20 @@ func (o *ModuleType) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "manufacturer") delete(additionalProperties, "model") + delete(additionalProperties, "part_number") + delete(additionalProperties, "airflow") + delete(additionalProperties, "weight") + delete(additionalProperties, "weight_unit") delete(additionalProperties, "description") + delete(additionalProperties, "comments") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "created") + delete(additionalProperties, "last_updated") o.AdditionalProperties = additionalProperties } diff --git a/model_module_type_airflow.go b/model_module_type_airflow.go new file mode 100644 index 000000000..cedd23f13 --- /dev/null +++ b/model_module_type_airflow.go @@ -0,0 +1,190 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" +) + +// checks if the ModuleTypeAirflow type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &ModuleTypeAirflow{} + +// ModuleTypeAirflow struct for ModuleTypeAirflow +type ModuleTypeAirflow struct { + Value *ModuleTypeAirflowValue `json:"value,omitempty"` + Label *ModuleTypeAirflowLabel `json:"label,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _ModuleTypeAirflow ModuleTypeAirflow + +// NewModuleTypeAirflow instantiates a new ModuleTypeAirflow object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewModuleTypeAirflow() *ModuleTypeAirflow { + this := ModuleTypeAirflow{} + return &this +} + +// NewModuleTypeAirflowWithDefaults instantiates a new ModuleTypeAirflow object +// This 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 NewModuleTypeAirflowWithDefaults() *ModuleTypeAirflow { + this := ModuleTypeAirflow{} + return &this +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *ModuleTypeAirflow) GetValue() ModuleTypeAirflowValue { + if o == nil || IsNil(o.Value) { + var ret ModuleTypeAirflowValue + 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 *ModuleTypeAirflow) GetValueOk() (*ModuleTypeAirflowValue, 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 *ModuleTypeAirflow) HasValue() bool { + if o != nil && !IsNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given ModuleTypeAirflowValue and assigns it to the Value field. +func (o *ModuleTypeAirflow) SetValue(v ModuleTypeAirflowValue) { + o.Value = &v +} + +// GetLabel returns the Label field value if set, zero value otherwise. +func (o *ModuleTypeAirflow) GetLabel() ModuleTypeAirflowLabel { + if o == nil || IsNil(o.Label) { + var ret ModuleTypeAirflowLabel + 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 *ModuleTypeAirflow) GetLabelOk() (*ModuleTypeAirflowLabel, 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 *ModuleTypeAirflow) HasLabel() bool { + if o != nil && !IsNil(o.Label) { + return true + } + + return false +} + +// SetLabel gets a reference to the given ModuleTypeAirflowLabel and assigns it to the Label field. +func (o *ModuleTypeAirflow) SetLabel(v ModuleTypeAirflowLabel) { + o.Label = &v +} + +func (o ModuleTypeAirflow) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o ModuleTypeAirflow) 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 *ModuleTypeAirflow) UnmarshalJSON(data []byte) (err error) { + varModuleTypeAirflow := _ModuleTypeAirflow{} + + err = json.Unmarshal(data, &varModuleTypeAirflow) + + if err != nil { + return err + } + + *o = ModuleTypeAirflow(varModuleTypeAirflow) + + 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 NullableModuleTypeAirflow struct { + value *ModuleTypeAirflow + isSet bool +} + +func (v NullableModuleTypeAirflow) Get() *ModuleTypeAirflow { + return v.value +} + +func (v *NullableModuleTypeAirflow) Set(val *ModuleTypeAirflow) { + v.value = val + v.isSet = true +} + +func (v NullableModuleTypeAirflow) IsSet() bool { + return v.isSet +} + +func (v *NullableModuleTypeAirflow) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableModuleTypeAirflow(val *ModuleTypeAirflow) *NullableModuleTypeAirflow { + return &NullableModuleTypeAirflow{value: val, isSet: true} +} + +func (v NullableModuleTypeAirflow) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableModuleTypeAirflow) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_module_type_airflow_label.go b/model_module_type_airflow_label.go new file mode 100644 index 000000000..8f17067f1 --- /dev/null +++ b/model_module_type_airflow_label.go @@ -0,0 +1,118 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// ModuleTypeAirflowLabel the model 'ModuleTypeAirflowLabel' +type ModuleTypeAirflowLabel string + +// List of ModuleType_airflow_label +const ( + MODULETYPEAIRFLOWLABEL_FRONT_TO_REAR ModuleTypeAirflowLabel = "Front to rear" + MODULETYPEAIRFLOWLABEL_REAR_TO_FRONT ModuleTypeAirflowLabel = "Rear to front" + MODULETYPEAIRFLOWLABEL_LEFT_TO_RIGHT ModuleTypeAirflowLabel = "Left to right" + MODULETYPEAIRFLOWLABEL_RIGHT_TO_LEFT ModuleTypeAirflowLabel = "Right to left" + MODULETYPEAIRFLOWLABEL_SIDE_TO_REAR ModuleTypeAirflowLabel = "Side to rear" + MODULETYPEAIRFLOWLABEL_PASSIVE ModuleTypeAirflowLabel = "Passive" +) + +// All allowed values of ModuleTypeAirflowLabel enum +var AllowedModuleTypeAirflowLabelEnumValues = []ModuleTypeAirflowLabel{ + "Front to rear", + "Rear to front", + "Left to right", + "Right to left", + "Side to rear", + "Passive", +} + +func (v *ModuleTypeAirflowLabel) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := ModuleTypeAirflowLabel(value) + for _, existing := range AllowedModuleTypeAirflowLabelEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid ModuleTypeAirflowLabel", value) +} + +// NewModuleTypeAirflowLabelFromValue returns a pointer to a valid ModuleTypeAirflowLabel +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewModuleTypeAirflowLabelFromValue(v string) (*ModuleTypeAirflowLabel, error) { + ev := ModuleTypeAirflowLabel(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for ModuleTypeAirflowLabel: valid values are %v", v, AllowedModuleTypeAirflowLabelEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v ModuleTypeAirflowLabel) IsValid() bool { + for _, existing := range AllowedModuleTypeAirflowLabelEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to ModuleType_airflow_label value +func (v ModuleTypeAirflowLabel) Ptr() *ModuleTypeAirflowLabel { + return &v +} + +type NullableModuleTypeAirflowLabel struct { + value *ModuleTypeAirflowLabel + isSet bool +} + +func (v NullableModuleTypeAirflowLabel) Get() *ModuleTypeAirflowLabel { + return v.value +} + +func (v *NullableModuleTypeAirflowLabel) Set(val *ModuleTypeAirflowLabel) { + v.value = val + v.isSet = true +} + +func (v NullableModuleTypeAirflowLabel) IsSet() bool { + return v.isSet +} + +func (v *NullableModuleTypeAirflowLabel) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableModuleTypeAirflowLabel(val *ModuleTypeAirflowLabel) *NullableModuleTypeAirflowLabel { + return &NullableModuleTypeAirflowLabel{value: val, isSet: true} +} + +func (v NullableModuleTypeAirflowLabel) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableModuleTypeAirflowLabel) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_module_type_airflow_value.go b/model_module_type_airflow_value.go new file mode 100644 index 000000000..388f6b63e --- /dev/null +++ b/model_module_type_airflow_value.go @@ -0,0 +1,120 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// ModuleTypeAirflowValue * `front-to-rear` - Front to rear * `rear-to-front` - Rear to front * `left-to-right` - Left to right * `right-to-left` - Right to left * `side-to-rear` - Side to rear * `passive` - Passive +type ModuleTypeAirflowValue string + +// List of ModuleType_airflow_value +const ( + MODULETYPEAIRFLOWVALUE_FRONT_TO_REAR ModuleTypeAirflowValue = "front-to-rear" + MODULETYPEAIRFLOWVALUE_REAR_TO_FRONT ModuleTypeAirflowValue = "rear-to-front" + MODULETYPEAIRFLOWVALUE_LEFT_TO_RIGHT ModuleTypeAirflowValue = "left-to-right" + MODULETYPEAIRFLOWVALUE_RIGHT_TO_LEFT ModuleTypeAirflowValue = "right-to-left" + MODULETYPEAIRFLOWVALUE_SIDE_TO_REAR ModuleTypeAirflowValue = "side-to-rear" + MODULETYPEAIRFLOWVALUE_PASSIVE ModuleTypeAirflowValue = "passive" + MODULETYPEAIRFLOWVALUE_EMPTY ModuleTypeAirflowValue = "" +) + +// All allowed values of ModuleTypeAirflowValue enum +var AllowedModuleTypeAirflowValueEnumValues = []ModuleTypeAirflowValue{ + "front-to-rear", + "rear-to-front", + "left-to-right", + "right-to-left", + "side-to-rear", + "passive", + "", +} + +func (v *ModuleTypeAirflowValue) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := ModuleTypeAirflowValue(value) + for _, existing := range AllowedModuleTypeAirflowValueEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid ModuleTypeAirflowValue", value) +} + +// NewModuleTypeAirflowValueFromValue returns a pointer to a valid ModuleTypeAirflowValue +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewModuleTypeAirflowValueFromValue(v string) (*ModuleTypeAirflowValue, error) { + ev := ModuleTypeAirflowValue(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for ModuleTypeAirflowValue: valid values are %v", v, AllowedModuleTypeAirflowValueEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v ModuleTypeAirflowValue) IsValid() bool { + for _, existing := range AllowedModuleTypeAirflowValueEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to ModuleType_airflow_value value +func (v ModuleTypeAirflowValue) Ptr() *ModuleTypeAirflowValue { + return &v +} + +type NullableModuleTypeAirflowValue struct { + value *ModuleTypeAirflowValue + isSet bool +} + +func (v NullableModuleTypeAirflowValue) Get() *ModuleTypeAirflowValue { + return v.value +} + +func (v *NullableModuleTypeAirflowValue) Set(val *ModuleTypeAirflowValue) { + v.value = val + v.isSet = true +} + +func (v NullableModuleTypeAirflowValue) IsSet() bool { + return v.isSet +} + +func (v *NullableModuleTypeAirflowValue) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableModuleTypeAirflowValue(val *ModuleTypeAirflowValue) *NullableModuleTypeAirflowValue { + return &NullableModuleTypeAirflowValue{value: val, isSet: true} +} + +func (v NullableModuleTypeAirflowValue) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableModuleTypeAirflowValue) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_module_type_request.go b/model_module_type_request.go index e247e6402..a6f19b5ac 100644 --- a/model_module_type_request.go +++ b/model_module_type_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,9 +20,17 @@ var _ MappedNullable = &ModuleTypeRequest{} // ModuleTypeRequest Adds support for custom fields and tags. type ModuleTypeRequest struct { - Manufacturer ManufacturerRequest `json:"manufacturer"` - Model string `json:"model"` - Description *string `json:"description,omitempty"` + Manufacturer BriefManufacturerRequest `json:"manufacturer"` + Model string `json:"model"` + // Discrete part number (optional) + PartNumber *string `json:"part_number,omitempty"` + Airflow NullableModuleTypeRequestAirflow `json:"airflow,omitempty"` + Weight NullableFloat64 `json:"weight,omitempty"` + WeightUnit NullableDeviceTypeRequestWeightUnit `json:"weight_unit,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -32,7 +40,7 @@ type _ModuleTypeRequest ModuleTypeRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewModuleTypeRequest(manufacturer ManufacturerRequest, model string) *ModuleTypeRequest { +func NewModuleTypeRequest(manufacturer BriefManufacturerRequest, model string) *ModuleTypeRequest { this := ModuleTypeRequest{} this.Manufacturer = manufacturer this.Model = model @@ -48,9 +56,9 @@ func NewModuleTypeRequestWithDefaults() *ModuleTypeRequest { } // GetManufacturer returns the Manufacturer field value -func (o *ModuleTypeRequest) GetManufacturer() ManufacturerRequest { +func (o *ModuleTypeRequest) GetManufacturer() BriefManufacturerRequest { if o == nil { - var ret ManufacturerRequest + var ret BriefManufacturerRequest return ret } @@ -59,7 +67,7 @@ func (o *ModuleTypeRequest) GetManufacturer() ManufacturerRequest { // GetManufacturerOk returns a tuple with the Manufacturer field value // and a boolean to check if the value has been set. -func (o *ModuleTypeRequest) GetManufacturerOk() (*ManufacturerRequest, bool) { +func (o *ModuleTypeRequest) GetManufacturerOk() (*BriefManufacturerRequest, bool) { if o == nil { return nil, false } @@ -67,7 +75,7 @@ func (o *ModuleTypeRequest) GetManufacturerOk() (*ManufacturerRequest, bool) { } // SetManufacturer sets field value -func (o *ModuleTypeRequest) SetManufacturer(v ManufacturerRequest) { +func (o *ModuleTypeRequest) SetManufacturer(v BriefManufacturerRequest) { o.Manufacturer = v } @@ -95,6 +103,167 @@ func (o *ModuleTypeRequest) SetModel(v string) { o.Model = v } +// GetPartNumber returns the PartNumber field value if set, zero value otherwise. +func (o *ModuleTypeRequest) GetPartNumber() string { + if o == nil || IsNil(o.PartNumber) { + var ret string + return ret + } + return *o.PartNumber +} + +// GetPartNumberOk returns a tuple with the PartNumber field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ModuleTypeRequest) GetPartNumberOk() (*string, bool) { + if o == nil || IsNil(o.PartNumber) { + return nil, false + } + return o.PartNumber, true +} + +// HasPartNumber returns a boolean if a field has been set. +func (o *ModuleTypeRequest) HasPartNumber() bool { + if o != nil && !IsNil(o.PartNumber) { + return true + } + + return false +} + +// SetPartNumber gets a reference to the given string and assigns it to the PartNumber field. +func (o *ModuleTypeRequest) SetPartNumber(v string) { + o.PartNumber = &v +} + +// GetAirflow returns the Airflow field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ModuleTypeRequest) GetAirflow() ModuleTypeRequestAirflow { + if o == nil || IsNil(o.Airflow.Get()) { + var ret ModuleTypeRequestAirflow + return ret + } + return *o.Airflow.Get() +} + +// GetAirflowOk returns a tuple with the Airflow 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) GetAirflowOk() (*ModuleTypeRequestAirflow, bool) { + if o == nil { + return nil, false + } + return o.Airflow.Get(), o.Airflow.IsSet() +} + +// HasAirflow returns a boolean if a field has been set. +func (o *ModuleTypeRequest) HasAirflow() bool { + if o != nil && o.Airflow.IsSet() { + return true + } + + return false +} + +// SetAirflow gets a reference to the given NullableModuleTypeRequestAirflow and assigns it to the Airflow field. +func (o *ModuleTypeRequest) SetAirflow(v ModuleTypeRequestAirflow) { + o.Airflow.Set(&v) +} + +// SetAirflowNil sets the value for Airflow to be an explicit nil +func (o *ModuleTypeRequest) SetAirflowNil() { + o.Airflow.Set(nil) +} + +// UnsetAirflow ensures that no value is present for Airflow, not even an explicit nil +func (o *ModuleTypeRequest) UnsetAirflow() { + o.Airflow.Unset() +} + +// GetWeight returns the Weight field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ModuleTypeRequest) GetWeight() float64 { + if o == nil || IsNil(o.Weight.Get()) { + var ret float64 + return ret + } + return *o.Weight.Get() +} + +// GetWeightOk returns a tuple with the Weight 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) GetWeightOk() (*float64, bool) { + if o == nil { + return nil, false + } + return o.Weight.Get(), o.Weight.IsSet() +} + +// HasWeight returns a boolean if a field has been set. +func (o *ModuleTypeRequest) HasWeight() bool { + if o != nil && o.Weight.IsSet() { + return true + } + + return false +} + +// SetWeight gets a reference to the given NullableFloat64 and assigns it to the Weight field. +func (o *ModuleTypeRequest) SetWeight(v float64) { + o.Weight.Set(&v) +} + +// SetWeightNil sets the value for Weight to be an explicit nil +func (o *ModuleTypeRequest) SetWeightNil() { + o.Weight.Set(nil) +} + +// UnsetWeight ensures that no value is present for Weight, not even an explicit nil +func (o *ModuleTypeRequest) UnsetWeight() { + o.Weight.Unset() +} + +// GetWeightUnit returns the WeightUnit field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ModuleTypeRequest) GetWeightUnit() DeviceTypeRequestWeightUnit { + if o == nil || IsNil(o.WeightUnit.Get()) { + var ret DeviceTypeRequestWeightUnit + return ret + } + return *o.WeightUnit.Get() +} + +// GetWeightUnitOk returns a tuple with the WeightUnit 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) GetWeightUnitOk() (*DeviceTypeRequestWeightUnit, bool) { + if o == nil { + return nil, false + } + return o.WeightUnit.Get(), o.WeightUnit.IsSet() +} + +// HasWeightUnit returns a boolean if a field has been set. +func (o *ModuleTypeRequest) HasWeightUnit() bool { + if o != nil && o.WeightUnit.IsSet() { + return true + } + + return false +} + +// SetWeightUnit gets a reference to the given NullableDeviceTypeRequestWeightUnit and assigns it to the WeightUnit field. +func (o *ModuleTypeRequest) SetWeightUnit(v DeviceTypeRequestWeightUnit) { + o.WeightUnit.Set(&v) +} + +// SetWeightUnitNil sets the value for WeightUnit to be an explicit nil +func (o *ModuleTypeRequest) SetWeightUnitNil() { + o.WeightUnit.Set(nil) +} + +// UnsetWeightUnit ensures that no value is present for WeightUnit, not even an explicit nil +func (o *ModuleTypeRequest) UnsetWeightUnit() { + o.WeightUnit.Unset() +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *ModuleTypeRequest) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -127,6 +296,102 @@ func (o *ModuleTypeRequest) SetDescription(v string) { o.Description = &v } +// GetComments returns the Comments field value if set, zero value otherwise. +func (o *ModuleTypeRequest) GetComments() string { + if o == nil || IsNil(o.Comments) { + var ret string + return ret + } + return *o.Comments +} + +// GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ModuleTypeRequest) GetCommentsOk() (*string, bool) { + if o == nil || IsNil(o.Comments) { + return nil, false + } + return o.Comments, true +} + +// HasComments returns a boolean if a field has been set. +func (o *ModuleTypeRequest) HasComments() bool { + if o != nil && !IsNil(o.Comments) { + return true + } + + return false +} + +// SetComments gets a reference to the given string and assigns it to the Comments field. +func (o *ModuleTypeRequest) SetComments(v string) { + o.Comments = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *ModuleTypeRequest) GetTags() []NestedTagRequest { + if o == nil || IsNil(o.Tags) { + var ret []NestedTagRequest + 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 *ModuleTypeRequest) GetTagsOk() ([]NestedTagRequest, 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 *ModuleTypeRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTagRequest and assigns it to the Tags field. +func (o *ModuleTypeRequest) SetTags(v []NestedTagRequest) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *ModuleTypeRequest) 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 *ModuleTypeRequest) 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 *ModuleTypeRequest) 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 *ModuleTypeRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + func (o ModuleTypeRequest) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -139,9 +404,30 @@ func (o ModuleTypeRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["manufacturer"] = o.Manufacturer toSerialize["model"] = o.Model + if !IsNil(o.PartNumber) { + toSerialize["part_number"] = o.PartNumber + } + if o.Airflow.IsSet() { + toSerialize["airflow"] = o.Airflow.Get() + } + if o.Weight.IsSet() { + toSerialize["weight"] = o.Weight.Get() + } + if o.WeightUnit.IsSet() { + toSerialize["weight_unit"] = o.WeightUnit.Get() + } if !IsNil(o.Description) { toSerialize["description"] = o.Description } + if !IsNil(o.Comments) { + toSerialize["comments"] = o.Comments + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -188,7 +474,14 @@ func (o *ModuleTypeRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "manufacturer") delete(additionalProperties, "model") + delete(additionalProperties, "part_number") + delete(additionalProperties, "airflow") + delete(additionalProperties, "weight") + delete(additionalProperties, "weight_unit") delete(additionalProperties, "description") + delete(additionalProperties, "comments") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") o.AdditionalProperties = additionalProperties } diff --git a/model_module_type_request_airflow.go b/model_module_type_request_airflow.go new file mode 100644 index 000000000..c273d3517 --- /dev/null +++ b/model_module_type_request_airflow.go @@ -0,0 +1,120 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// ModuleTypeRequestAirflow * `front-to-rear` - Front to rear * `rear-to-front` - Rear to front * `left-to-right` - Left to right * `right-to-left` - Right to left * `side-to-rear` - Side to rear * `passive` - Passive +type ModuleTypeRequestAirflow string + +// List of ModuleTypeRequest_airflow +const ( + MODULETYPEREQUESTAIRFLOW_FRONT_TO_REAR ModuleTypeRequestAirflow = "front-to-rear" + MODULETYPEREQUESTAIRFLOW_REAR_TO_FRONT ModuleTypeRequestAirflow = "rear-to-front" + MODULETYPEREQUESTAIRFLOW_LEFT_TO_RIGHT ModuleTypeRequestAirflow = "left-to-right" + MODULETYPEREQUESTAIRFLOW_RIGHT_TO_LEFT ModuleTypeRequestAirflow = "right-to-left" + MODULETYPEREQUESTAIRFLOW_SIDE_TO_REAR ModuleTypeRequestAirflow = "side-to-rear" + MODULETYPEREQUESTAIRFLOW_PASSIVE ModuleTypeRequestAirflow = "passive" + MODULETYPEREQUESTAIRFLOW_EMPTY ModuleTypeRequestAirflow = "" +) + +// All allowed values of ModuleTypeRequestAirflow enum +var AllowedModuleTypeRequestAirflowEnumValues = []ModuleTypeRequestAirflow{ + "front-to-rear", + "rear-to-front", + "left-to-right", + "right-to-left", + "side-to-rear", + "passive", + "", +} + +func (v *ModuleTypeRequestAirflow) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := ModuleTypeRequestAirflow(value) + for _, existing := range AllowedModuleTypeRequestAirflowEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid ModuleTypeRequestAirflow", value) +} + +// NewModuleTypeRequestAirflowFromValue returns a pointer to a valid ModuleTypeRequestAirflow +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewModuleTypeRequestAirflowFromValue(v string) (*ModuleTypeRequestAirflow, error) { + ev := ModuleTypeRequestAirflow(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for ModuleTypeRequestAirflow: valid values are %v", v, AllowedModuleTypeRequestAirflowEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v ModuleTypeRequestAirflow) IsValid() bool { + for _, existing := range AllowedModuleTypeRequestAirflowEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to ModuleTypeRequest_airflow value +func (v ModuleTypeRequestAirflow) Ptr() *ModuleTypeRequestAirflow { + return &v +} + +type NullableModuleTypeRequestAirflow struct { + value *ModuleTypeRequestAirflow + isSet bool +} + +func (v NullableModuleTypeRequestAirflow) Get() *ModuleTypeRequestAirflow { + return v.value +} + +func (v *NullableModuleTypeRequestAirflow) Set(val *ModuleTypeRequestAirflow) { + v.value = val + v.isSet = true +} + +func (v NullableModuleTypeRequestAirflow) IsSet() bool { + return v.isSet +} + +func (v *NullableModuleTypeRequestAirflow) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableModuleTypeRequestAirflow(val *ModuleTypeRequestAirflow) *NullableModuleTypeRequestAirflow { + return &NullableModuleTypeRequestAirflow{value: val, isSet: true} +} + +func (v NullableModuleTypeRequestAirflow) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableModuleTypeRequestAirflow) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_nested_contact_group.go b/model_nested_contact_group.go index 88eb0f283..36fea671b 100644 --- a/model_nested_contact_group.go +++ b/model_nested_contact_group.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,12 +20,13 @@ var _ MappedNullable = &NestedContactGroup{} // NestedContactGroup Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a dictionary of attributes which can be used to uniquely identify the related object. This class should be subclassed to return a full representation of the related object on read. type NestedContactGroup struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - Name string `json:"name"` - Slug string `json:"slug"` - Depth int32 `json:"_depth"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Name string `json:"name"` + Slug string `json:"slug"` + Depth int32 `json:"_depth"` AdditionalProperties map[string]interface{} } @@ -102,6 +103,38 @@ func (o *NestedContactGroup) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *NestedContactGroup) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NestedContactGroup) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *NestedContactGroup) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *NestedContactGroup) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *NestedContactGroup) GetDisplay() string { if o == nil { @@ -210,6 +243,9 @@ func (o NestedContactGroup) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["name"] = o.Name toSerialize["slug"] = o.Slug @@ -264,6 +300,7 @@ func (o *NestedContactGroup) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") delete(additionalProperties, "slug") diff --git a/model_nested_contact_group_request.go b/model_nested_contact_group_request.go index f275f723d..3c524148c 100644 --- a/model_nested_contact_group_request.go +++ b/model_nested_contact_group_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_nested_device.go b/model_nested_device.go index b37d25f5e..b6fda93be 100644 --- a/model_nested_device.go +++ b/model_nested_device.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -22,6 +22,7 @@ var _ MappedNullable = &NestedDevice{} type NestedDevice struct { Id int32 `json:"id"` Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` Display string `json:"display"` Name NullableString `json:"name,omitempty"` AdditionalProperties map[string]interface{} @@ -97,6 +98,38 @@ func (o *NestedDevice) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *NestedDevice) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NestedDevice) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *NestedDevice) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *NestedDevice) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *NestedDevice) GetDisplay() string { if o == nil { @@ -176,6 +209,9 @@ func (o NestedDevice) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display if o.Name.IsSet() { toSerialize["name"] = o.Name.Get() @@ -227,6 +263,7 @@ func (o *NestedDevice) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") o.AdditionalProperties = additionalProperties diff --git a/model_nested_device_request.go b/model_nested_device_request.go index 3d4692d86..22a6e79b8 100644 --- a/model_nested_device_request.go +++ b/model_nested_device_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_nested_group.go b/model_nested_group.go index 434d1679e..65575d569 100644 --- a/model_nested_group.go +++ b/model_nested_group.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,10 +20,11 @@ var _ MappedNullable = &NestedGroup{} // NestedGroup Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a dictionary of attributes which can be used to uniquely identify the related object. This class should be subclassed to return a full representation of the related object on read. type NestedGroup struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - Name string `json:"name"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Name string `json:"name"` AdditionalProperties map[string]interface{} } @@ -98,6 +99,38 @@ func (o *NestedGroup) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *NestedGroup) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NestedGroup) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *NestedGroup) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *NestedGroup) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *NestedGroup) GetDisplay() string { if o == nil { @@ -158,6 +191,9 @@ func (o NestedGroup) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["name"] = o.Name @@ -208,6 +244,7 @@ func (o *NestedGroup) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") o.AdditionalProperties = additionalProperties diff --git a/model_nested_interface.go b/model_nested_interface.go index fd6230adf..98f79419a 100644 --- a/model_nested_interface.go +++ b/model_nested_interface.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -22,6 +22,7 @@ var _ MappedNullable = &NestedInterface{} type NestedInterface struct { Id int32 `json:"id"` Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` Display string `json:"display"` Device NestedDevice `json:"device"` Name string `json:"name"` @@ -103,6 +104,38 @@ func (o *NestedInterface) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *NestedInterface) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NestedInterface) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *NestedInterface) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *NestedInterface) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *NestedInterface) GetDisplay() string { if o == nil { @@ -254,6 +287,9 @@ func (o NestedInterface) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["device"] = o.Device toSerialize["name"] = o.Name @@ -311,6 +347,7 @@ func (o *NestedInterface) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "device") delete(additionalProperties, "name") diff --git a/model_nested_interface_request.go b/model_nested_interface_request.go index ddb108ba7..9bd6a0c85 100644 --- a/model_nested_interface_request.go +++ b/model_nested_interface_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_nested_interface_template.go b/model_nested_interface_template.go index af9322a66..404e4789f 100644 --- a/model_nested_interface_template.go +++ b/model_nested_interface_template.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_nested_interface_template_request.go b/model_nested_interface_template_request.go index db741a1b6..9e85468ef 100644 --- a/model_nested_interface_template_request.go +++ b/model_nested_interface_template_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_nested_ip_address.go b/model_nested_ip_address.go new file mode 100644 index 000000000..6bf93937f --- /dev/null +++ b/model_nested_ip_address.go @@ -0,0 +1,319 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the NestedIPAddress type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &NestedIPAddress{} + +// NestedIPAddress Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a dictionary of attributes which can be used to uniquely identify the related object. This class should be subclassed to return a full representation of the related object on read. +type NestedIPAddress struct { + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Family int32 `json:"family"` + Address string `json:"address"` + AdditionalProperties map[string]interface{} +} + +type _NestedIPAddress NestedIPAddress + +// NewNestedIPAddress instantiates a new NestedIPAddress object +// This constructor will assign default values to properties that have it defined, +// and 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 int32, url string, display string, family int32, address string) *NestedIPAddress { + this := NestedIPAddress{} + this.Id = id + this.Url = url + this.Display = display + this.Family = family + this.Address = address + return &this +} + +// NewNestedIPAddressWithDefaults instantiates a new NestedIPAddress object +// This 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 NewNestedIPAddressWithDefaults() *NestedIPAddress { + this := NestedIPAddress{} + return &this +} + +// GetId returns the Id field value +func (o *NestedIPAddress) GetId() int32 { + if o == nil { + var ret int32 + 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 *NestedIPAddress) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *NestedIPAddress) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *NestedIPAddress) 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 *NestedIPAddress) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *NestedIPAddress) SetUrl(v string) { + o.Url = v +} + +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *NestedIPAddress) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NestedIPAddress) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *NestedIPAddress) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *NestedIPAddress) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + +// GetDisplay returns the Display field value +func (o *NestedIPAddress) 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 *NestedIPAddress) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *NestedIPAddress) SetDisplay(v string) { + o.Display = v +} + +// GetFamily returns the Family field value +func (o *NestedIPAddress) GetFamily() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Family +} + +// GetFamilyOk returns a tuple with the Family field value +// and a boolean to check if the value has been set. +func (o *NestedIPAddress) GetFamilyOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Family, true +} + +// SetFamily sets field value +func (o *NestedIPAddress) SetFamily(v int32) { + o.Family = v +} + +// GetAddress returns the Address field value +func (o *NestedIPAddress) GetAddress() string { + if o == nil { + var ret string + return ret + } + + return o.Address +} + +// GetAddressOk returns a tuple with the Address field value +// and a boolean to check if the value has been set. +func (o *NestedIPAddress) GetAddressOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Address, true +} + +// SetAddress sets field value +func (o *NestedIPAddress) SetAddress(v string) { + o.Address = v +} + +func (o NestedIPAddress) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o NestedIPAddress) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } + toSerialize["display"] = o.Display + toSerialize["family"] = o.Family + toSerialize["address"] = o.Address + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *NestedIPAddress) 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", + "url", + "display", + "family", + "address", + } + + 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) + } + } + + varNestedIPAddress := _NestedIPAddress{} + + err = json.Unmarshal(data, &varNestedIPAddress) + + if err != nil { + return err + } + + *o = NestedIPAddress(varNestedIPAddress) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display_url") + delete(additionalProperties, "display") + delete(additionalProperties, "family") + delete(additionalProperties, "address") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableNestedIPAddress struct { + value *NestedIPAddress + isSet bool +} + +func (v NullableNestedIPAddress) Get() *NestedIPAddress { + return v.value +} + +func (v *NullableNestedIPAddress) Set(val *NestedIPAddress) { + v.value = val + v.isSet = true +} + +func (v NullableNestedIPAddress) IsSet() bool { + return v.isSet +} + +func (v *NullableNestedIPAddress) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableNestedIPAddress(val *NestedIPAddress) *NullableNestedIPAddress { + return &NullableNestedIPAddress{value: val, isSet: true} +} + +func (v NullableNestedIPAddress) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableNestedIPAddress) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_nested_ip_address_request.go b/model_nested_ip_address_request.go new file mode 100644 index 000000000..f5f2d8f84 --- /dev/null +++ b/model_nested_ip_address_request.go @@ -0,0 +1,166 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the NestedIPAddressRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &NestedIPAddressRequest{} + +// NestedIPAddressRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a dictionary of attributes which can be used to uniquely identify the related object. This class should be subclassed to return a full representation of the related object on read. +type NestedIPAddressRequest struct { + Address string `json:"address"` + AdditionalProperties map[string]interface{} +} + +type _NestedIPAddressRequest NestedIPAddressRequest + +// NewNestedIPAddressRequest instantiates a new NestedIPAddressRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewNestedIPAddressRequest(address string) *NestedIPAddressRequest { + this := NestedIPAddressRequest{} + this.Address = address + return &this +} + +// NewNestedIPAddressRequestWithDefaults instantiates a new NestedIPAddressRequest object +// This 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 NewNestedIPAddressRequestWithDefaults() *NestedIPAddressRequest { + this := NestedIPAddressRequest{} + return &this +} + +// GetAddress returns the Address field value +func (o *NestedIPAddressRequest) GetAddress() string { + if o == nil { + var ret string + return ret + } + + return o.Address +} + +// GetAddressOk returns a tuple with the Address field value +// and a boolean to check if the value has been set. +func (o *NestedIPAddressRequest) GetAddressOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Address, true +} + +// SetAddress sets field value +func (o *NestedIPAddressRequest) SetAddress(v string) { + o.Address = v +} + +func (o NestedIPAddressRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o NestedIPAddressRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["address"] = o.Address + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *NestedIPAddressRequest) 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{ + "address", + } + + 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) + } + } + + varNestedIPAddressRequest := _NestedIPAddressRequest{} + + err = json.Unmarshal(data, &varNestedIPAddressRequest) + + if err != nil { + return err + } + + *o = NestedIPAddressRequest(varNestedIPAddressRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "address") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableNestedIPAddressRequest struct { + value *NestedIPAddressRequest + isSet bool +} + +func (v NullableNestedIPAddressRequest) Get() *NestedIPAddressRequest { + return v.value +} + +func (v *NullableNestedIPAddressRequest) Set(val *NestedIPAddressRequest) { + v.value = val + v.isSet = true +} + +func (v NullableNestedIPAddressRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableNestedIPAddressRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableNestedIPAddressRequest(val *NestedIPAddressRequest) *NullableNestedIPAddressRequest { + return &NullableNestedIPAddressRequest{value: val, isSet: true} +} + +func (v NullableNestedIPAddressRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableNestedIPAddressRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_nested_location.go b/model_nested_location.go new file mode 100644 index 000000000..976d96c26 --- /dev/null +++ b/model_nested_location.go @@ -0,0 +1,348 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the NestedLocation type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &NestedLocation{} + +// NestedLocation Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a dictionary of attributes which can be used to uniquely identify the related object. This class should be subclassed to return a full representation of the related object on read. +type NestedLocation struct { + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Name string `json:"name"` + Slug string `json:"slug"` + Depth int32 `json:"_depth"` + AdditionalProperties map[string]interface{} +} + +type _NestedLocation NestedLocation + +// NewNestedLocation instantiates a new NestedLocation object +// This constructor will assign default values to properties that have it defined, +// and 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 int32, url string, display string, name string, slug string, depth int32) *NestedLocation { + this := NestedLocation{} + this.Id = id + this.Url = url + this.Display = display + this.Name = name + this.Slug = slug + this.Depth = depth + return &this +} + +// NewNestedLocationWithDefaults instantiates a new NestedLocation object +// This 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 NewNestedLocationWithDefaults() *NestedLocation { + this := NestedLocation{} + return &this +} + +// GetId returns the Id field value +func (o *NestedLocation) GetId() int32 { + if o == nil { + var ret int32 + 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 *NestedLocation) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *NestedLocation) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *NestedLocation) 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 *NestedLocation) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *NestedLocation) SetUrl(v string) { + o.Url = v +} + +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *NestedLocation) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NestedLocation) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *NestedLocation) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *NestedLocation) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + +// GetDisplay returns the Display field value +func (o *NestedLocation) 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 *NestedLocation) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *NestedLocation) SetDisplay(v string) { + o.Display = v +} + +// GetName returns the Name field value +func (o *NestedLocation) 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 *NestedLocation) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *NestedLocation) SetName(v string) { + o.Name = v +} + +// GetSlug returns the Slug field value +func (o *NestedLocation) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *NestedLocation) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *NestedLocation) SetSlug(v string) { + o.Slug = v +} + +// GetDepth returns the Depth field value +func (o *NestedLocation) GetDepth() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Depth +} + +// GetDepthOk returns a tuple with the Depth field value +// and a boolean to check if the value has been set. +func (o *NestedLocation) GetDepthOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Depth, true +} + +// SetDepth sets field value +func (o *NestedLocation) SetDepth(v int32) { + o.Depth = v +} + +func (o NestedLocation) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o NestedLocation) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } + toSerialize["display"] = o.Display + toSerialize["name"] = o.Name + toSerialize["slug"] = o.Slug + toSerialize["_depth"] = o.Depth + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *NestedLocation) 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", + "url", + "display", + "name", + "slug", + "_depth", + } + + 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) + } + } + + varNestedLocation := _NestedLocation{} + + err = json.Unmarshal(data, &varNestedLocation) + + if err != nil { + return err + } + + *o = NestedLocation(varNestedLocation) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display_url") + delete(additionalProperties, "display") + delete(additionalProperties, "name") + delete(additionalProperties, "slug") + delete(additionalProperties, "_depth") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableNestedLocation struct { + value *NestedLocation + isSet bool +} + +func (v NullableNestedLocation) Get() *NestedLocation { + return v.value +} + +func (v *NullableNestedLocation) Set(val *NestedLocation) { + v.value = val + v.isSet = true +} + +func (v NullableNestedLocation) IsSet() bool { + return v.isSet +} + +func (v *NullableNestedLocation) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableNestedLocation(val *NestedLocation) *NullableNestedLocation { + return &NullableNestedLocation{value: val, isSet: true} +} + +func (v NullableNestedLocation) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableNestedLocation) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_nested_location_request.go b/model_nested_location_request.go new file mode 100644 index 000000000..acae80a3e --- /dev/null +++ b/model_nested_location_request.go @@ -0,0 +1,195 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the NestedLocationRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &NestedLocationRequest{} + +// NestedLocationRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a dictionary of attributes which can be used to uniquely identify the related object. This class should be subclassed to return a full representation of the related object on read. +type NestedLocationRequest struct { + Name string `json:"name"` + Slug string `json:"slug"` + AdditionalProperties map[string]interface{} +} + +type _NestedLocationRequest NestedLocationRequest + +// NewNestedLocationRequest instantiates a new NestedLocationRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewNestedLocationRequest(name string, slug string) *NestedLocationRequest { + this := NestedLocationRequest{} + this.Name = name + this.Slug = slug + return &this +} + +// NewNestedLocationRequestWithDefaults instantiates a new NestedLocationRequest object +// This 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 NewNestedLocationRequestWithDefaults() *NestedLocationRequest { + this := NestedLocationRequest{} + return &this +} + +// GetName returns the Name field value +func (o *NestedLocationRequest) 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 *NestedLocationRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *NestedLocationRequest) SetName(v string) { + o.Name = v +} + +// GetSlug returns the Slug field value +func (o *NestedLocationRequest) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *NestedLocationRequest) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *NestedLocationRequest) SetSlug(v string) { + o.Slug = v +} + +func (o NestedLocationRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o NestedLocationRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["name"] = o.Name + toSerialize["slug"] = o.Slug + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *NestedLocationRequest) 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", + "slug", + } + + 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) + } + } + + varNestedLocationRequest := _NestedLocationRequest{} + + err = json.Unmarshal(data, &varNestedLocationRequest) + + if err != nil { + return err + } + + *o = NestedLocationRequest(varNestedLocationRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "name") + delete(additionalProperties, "slug") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableNestedLocationRequest struct { + value *NestedLocationRequest + isSet bool +} + +func (v NullableNestedLocationRequest) Get() *NestedLocationRequest { + return v.value +} + +func (v *NullableNestedLocationRequest) Set(val *NestedLocationRequest) { + v.value = val + v.isSet = true +} + +func (v NullableNestedLocationRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableNestedLocationRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableNestedLocationRequest(val *NestedLocationRequest) *NullableNestedLocationRequest { + return &NullableNestedLocationRequest{value: val, isSet: true} +} + +func (v NullableNestedLocationRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableNestedLocationRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_nested_module_bay.go b/model_nested_module_bay.go index c217493c7..5e8a4c995 100644 --- a/model_nested_module_bay.go +++ b/model_nested_module_bay.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,11 +20,11 @@ var _ MappedNullable = &NestedModuleBay{} // NestedModuleBay Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a dictionary of attributes which can be used to uniquely identify the related object. This class should be subclassed to return a full representation of the related object on read. type NestedModuleBay struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - InstalledModule NullableModuleBayNestedModule `json:"installed_module,omitempty"` - Name string `json:"name"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Name string `json:"name"` AdditionalProperties map[string]interface{} } @@ -99,71 +99,60 @@ func (o *NestedModuleBay) SetUrl(v string) { o.Url = v } -// GetDisplay returns the Display field value -func (o *NestedModuleBay) GetDisplay() string { - if o == nil { +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *NestedModuleBay) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { var ret string return ret } - - return o.Display + return *o.DisplayUrl } -// GetDisplayOk returns a tuple with the Display field value +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *NestedModuleBay) GetDisplayOk() (*string, bool) { - if o == nil { +func (o *NestedModuleBay) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { return nil, false } - return &o.Display, true + return o.DisplayUrl, true } -// SetDisplay sets field value -func (o *NestedModuleBay) SetDisplay(v string) { - o.Display = v +// HasDisplayUrl returns a boolean if a field has been set. +func (o *NestedModuleBay) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false } -// GetInstalledModule returns the InstalledModule field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *NestedModuleBay) GetInstalledModule() ModuleBayNestedModule { - if o == nil || IsNil(o.InstalledModule.Get()) { - var ret ModuleBayNestedModule +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *NestedModuleBay) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + +// GetDisplay returns the Display field value +func (o *NestedModuleBay) GetDisplay() string { + if o == nil { + var ret string return ret } - return *o.InstalledModule.Get() + + return o.Display } -// GetInstalledModuleOk returns a tuple with the InstalledModule field value if set, nil otherwise +// GetDisplayOk returns a tuple with the Display 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 *NestedModuleBay) GetInstalledModuleOk() (*ModuleBayNestedModule, bool) { +func (o *NestedModuleBay) GetDisplayOk() (*string, bool) { if o == nil { return nil, false } - return o.InstalledModule.Get(), o.InstalledModule.IsSet() -} - -// HasInstalledModule returns a boolean if a field has been set. -func (o *NestedModuleBay) HasInstalledModule() bool { - if o != nil && o.InstalledModule.IsSet() { - return true - } - - return false -} - -// SetInstalledModule gets a reference to the given NullableModuleBayNestedModule and assigns it to the InstalledModule field. -func (o *NestedModuleBay) SetInstalledModule(v ModuleBayNestedModule) { - o.InstalledModule.Set(&v) -} - -// SetInstalledModuleNil sets the value for InstalledModule to be an explicit nil -func (o *NestedModuleBay) SetInstalledModuleNil() { - o.InstalledModule.Set(nil) + return &o.Display, true } -// UnsetInstalledModule ensures that no value is present for InstalledModule, not even an explicit nil -func (o *NestedModuleBay) UnsetInstalledModule() { - o.InstalledModule.Unset() +// SetDisplay sets field value +func (o *NestedModuleBay) SetDisplay(v string) { + o.Display = v } // GetName returns the Name field value @@ -202,10 +191,10 @@ func (o NestedModuleBay) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url - toSerialize["display"] = o.Display - if o.InstalledModule.IsSet() { - toSerialize["installed_module"] = o.InstalledModule.Get() + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl } + toSerialize["display"] = o.Display toSerialize["name"] = o.Name for key, value := range o.AdditionalProperties { @@ -255,8 +244,8 @@ func (o *NestedModuleBay) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") - delete(additionalProperties, "installed_module") delete(additionalProperties, "name") o.AdditionalProperties = additionalProperties } diff --git a/model_nested_module_bay_request.go b/model_nested_module_bay_request.go index cda6e8c0c..ea86510ff 100644 --- a/model_nested_module_bay_request.go +++ b/model_nested_module_bay_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,8 +20,7 @@ var _ MappedNullable = &NestedModuleBayRequest{} // NestedModuleBayRequest Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a dictionary of attributes which can be used to uniquely identify the related object. This class should be subclassed to return a full representation of the related object on read. type NestedModuleBayRequest struct { - InstalledModule NullableModuleBayNestedModuleRequest `json:"installed_module,omitempty"` - Name string `json:"name"` + Name string `json:"name"` AdditionalProperties map[string]interface{} } @@ -45,49 +44,6 @@ func NewNestedModuleBayRequestWithDefaults() *NestedModuleBayRequest { return &this } -// GetInstalledModule returns the InstalledModule field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *NestedModuleBayRequest) GetInstalledModule() ModuleBayNestedModuleRequest { - if o == nil || IsNil(o.InstalledModule.Get()) { - var ret ModuleBayNestedModuleRequest - return ret - } - return *o.InstalledModule.Get() -} - -// GetInstalledModuleOk returns a tuple with the InstalledModule 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 *NestedModuleBayRequest) GetInstalledModuleOk() (*ModuleBayNestedModuleRequest, bool) { - if o == nil { - return nil, false - } - return o.InstalledModule.Get(), o.InstalledModule.IsSet() -} - -// HasInstalledModule returns a boolean if a field has been set. -func (o *NestedModuleBayRequest) HasInstalledModule() bool { - if o != nil && o.InstalledModule.IsSet() { - return true - } - - return false -} - -// SetInstalledModule gets a reference to the given NullableModuleBayNestedModuleRequest and assigns it to the InstalledModule field. -func (o *NestedModuleBayRequest) SetInstalledModule(v ModuleBayNestedModuleRequest) { - o.InstalledModule.Set(&v) -} - -// SetInstalledModuleNil sets the value for InstalledModule to be an explicit nil -func (o *NestedModuleBayRequest) SetInstalledModuleNil() { - o.InstalledModule.Set(nil) -} - -// UnsetInstalledModule ensures that no value is present for InstalledModule, not even an explicit nil -func (o *NestedModuleBayRequest) UnsetInstalledModule() { - o.InstalledModule.Unset() -} - // GetName returns the Name field value func (o *NestedModuleBayRequest) GetName() string { if o == nil { @@ -122,9 +78,6 @@ func (o NestedModuleBayRequest) MarshalJSON() ([]byte, error) { func (o NestedModuleBayRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - if o.InstalledModule.IsSet() { - toSerialize["installed_module"] = o.InstalledModule.Get() - } toSerialize["name"] = o.Name for key, value := range o.AdditionalProperties { @@ -169,7 +122,6 @@ func (o *NestedModuleBayRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { - delete(additionalProperties, "installed_module") delete(additionalProperties, "name") o.AdditionalProperties = additionalProperties } diff --git a/model_nested_provider_account.go b/model_nested_provider_account.go new file mode 100644 index 000000000..aef1e1006 --- /dev/null +++ b/model_nested_provider_account.go @@ -0,0 +1,327 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the NestedProviderAccount type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &NestedProviderAccount{} + +// NestedProviderAccount Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a dictionary of attributes which can be used to uniquely identify the related object. This class should be subclassed to return a full representation of the related object on read. +type NestedProviderAccount struct { + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Name *string `json:"name,omitempty"` + Account string `json:"account"` + AdditionalProperties map[string]interface{} +} + +type _NestedProviderAccount NestedProviderAccount + +// NewNestedProviderAccount instantiates a new NestedProviderAccount object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewNestedProviderAccount(id int32, url string, display string, account string) *NestedProviderAccount { + this := NestedProviderAccount{} + this.Id = id + this.Url = url + this.Display = display + this.Account = account + return &this +} + +// NewNestedProviderAccountWithDefaults instantiates a new NestedProviderAccount object +// This 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 NewNestedProviderAccountWithDefaults() *NestedProviderAccount { + this := NestedProviderAccount{} + return &this +} + +// GetId returns the Id field value +func (o *NestedProviderAccount) GetId() int32 { + if o == nil { + var ret int32 + 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 *NestedProviderAccount) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *NestedProviderAccount) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *NestedProviderAccount) 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 *NestedProviderAccount) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *NestedProviderAccount) SetUrl(v string) { + o.Url = v +} + +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *NestedProviderAccount) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NestedProviderAccount) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *NestedProviderAccount) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *NestedProviderAccount) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + +// GetDisplay returns the Display field value +func (o *NestedProviderAccount) 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 *NestedProviderAccount) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *NestedProviderAccount) SetDisplay(v string) { + o.Display = v +} + +// GetName returns the Name field value if set, zero value otherwise. +func (o *NestedProviderAccount) 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 *NestedProviderAccount) 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 *NestedProviderAccount) 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 *NestedProviderAccount) SetName(v string) { + o.Name = &v +} + +// GetAccount returns the Account field value +func (o *NestedProviderAccount) GetAccount() string { + if o == nil { + var ret string + return ret + } + + return o.Account +} + +// GetAccountOk returns a tuple with the Account field value +// and a boolean to check if the value has been set. +func (o *NestedProviderAccount) GetAccountOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Account, true +} + +// SetAccount sets field value +func (o *NestedProviderAccount) SetAccount(v string) { + o.Account = v +} + +func (o NestedProviderAccount) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o NestedProviderAccount) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } + toSerialize["display"] = o.Display + if !IsNil(o.Name) { + toSerialize["name"] = o.Name + } + toSerialize["account"] = o.Account + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *NestedProviderAccount) 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", + "url", + "display", + "account", + } + + 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) + } + } + + varNestedProviderAccount := _NestedProviderAccount{} + + err = json.Unmarshal(data, &varNestedProviderAccount) + + if err != nil { + return err + } + + *o = NestedProviderAccount(varNestedProviderAccount) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display_url") + delete(additionalProperties, "display") + delete(additionalProperties, "name") + delete(additionalProperties, "account") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableNestedProviderAccount struct { + value *NestedProviderAccount + isSet bool +} + +func (v NullableNestedProviderAccount) Get() *NestedProviderAccount { + return v.value +} + +func (v *NullableNestedProviderAccount) Set(val *NestedProviderAccount) { + v.value = val + v.isSet = true +} + +func (v NullableNestedProviderAccount) IsSet() bool { + return v.isSet +} + +func (v *NullableNestedProviderAccount) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableNestedProviderAccount(val *NestedProviderAccount) *NullableNestedProviderAccount { + return &NullableNestedProviderAccount{value: val, isSet: true} +} + +func (v NullableNestedProviderAccount) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableNestedProviderAccount) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_nested_region.go b/model_nested_region.go index 4282f5dd6..528bc1474 100644 --- a/model_nested_region.go +++ b/model_nested_region.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,12 +20,13 @@ var _ MappedNullable = &NestedRegion{} // NestedRegion Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a dictionary of attributes which can be used to uniquely identify the related object. This class should be subclassed to return a full representation of the related object on read. type NestedRegion struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - Name string `json:"name"` - Slug string `json:"slug"` - Depth int32 `json:"_depth"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Name string `json:"name"` + Slug string `json:"slug"` + Depth int32 `json:"_depth"` AdditionalProperties map[string]interface{} } @@ -102,6 +103,38 @@ func (o *NestedRegion) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *NestedRegion) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NestedRegion) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *NestedRegion) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *NestedRegion) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *NestedRegion) GetDisplay() string { if o == nil { @@ -210,6 +243,9 @@ func (o NestedRegion) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["name"] = o.Name toSerialize["slug"] = o.Slug @@ -264,6 +300,7 @@ func (o *NestedRegion) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") delete(additionalProperties, "slug") diff --git a/model_nested_region_request.go b/model_nested_region_request.go index 945e3f650..04986b651 100644 --- a/model_nested_region_request.go +++ b/model_nested_region_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_nested_site_group.go b/model_nested_site_group.go index 1b288b168..4535a1d0e 100644 --- a/model_nested_site_group.go +++ b/model_nested_site_group.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,12 +20,13 @@ var _ MappedNullable = &NestedSiteGroup{} // NestedSiteGroup Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a dictionary of attributes which can be used to uniquely identify the related object. This class should be subclassed to return a full representation of the related object on read. type NestedSiteGroup struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - Name string `json:"name"` - Slug string `json:"slug"` - Depth int32 `json:"_depth"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Name string `json:"name"` + Slug string `json:"slug"` + Depth int32 `json:"_depth"` AdditionalProperties map[string]interface{} } @@ -102,6 +103,38 @@ func (o *NestedSiteGroup) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *NestedSiteGroup) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NestedSiteGroup) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *NestedSiteGroup) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *NestedSiteGroup) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *NestedSiteGroup) GetDisplay() string { if o == nil { @@ -210,6 +243,9 @@ func (o NestedSiteGroup) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["name"] = o.Name toSerialize["slug"] = o.Slug @@ -264,6 +300,7 @@ func (o *NestedSiteGroup) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") delete(additionalProperties, "slug") diff --git a/model_nested_site_group_request.go b/model_nested_site_group_request.go index e0fbe632a..0a2636a65 100644 --- a/model_nested_site_group_request.go +++ b/model_nested_site_group_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_nested_tag.go b/model_nested_tag.go index f03a0a999..ffe7339d4 100644 --- a/model_nested_tag.go +++ b/model_nested_tag.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -22,6 +22,7 @@ var _ MappedNullable = &NestedTag{} type NestedTag struct { Id int32 `json:"id"` Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` Display string `json:"display"` Name string `json:"name"` Slug string `json:"slug"` @@ -101,6 +102,38 @@ func (o *NestedTag) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *NestedTag) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NestedTag) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *NestedTag) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *NestedTag) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *NestedTag) GetDisplay() string { if o == nil { @@ -217,6 +250,9 @@ func (o NestedTag) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["name"] = o.Name toSerialize["slug"] = o.Slug @@ -272,6 +308,7 @@ func (o *NestedTag) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") delete(additionalProperties, "slug") diff --git a/model_nested_tag_request.go b/model_nested_tag_request.go index f0d7d61b4..c1ebfde14 100644 --- a/model_nested_tag_request.go +++ b/model_nested_tag_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_nested_tenant_group.go b/model_nested_tenant_group.go index a157ee354..951327184 100644 --- a/model_nested_tenant_group.go +++ b/model_nested_tenant_group.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,12 +20,13 @@ var _ MappedNullable = &NestedTenantGroup{} // NestedTenantGroup Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a dictionary of attributes which can be used to uniquely identify the related object. This class should be subclassed to return a full representation of the related object on read. type NestedTenantGroup struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - Name string `json:"name"` - Slug string `json:"slug"` - Depth int32 `json:"_depth"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Name string `json:"name"` + Slug string `json:"slug"` + Depth int32 `json:"_depth"` AdditionalProperties map[string]interface{} } @@ -102,6 +103,38 @@ func (o *NestedTenantGroup) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *NestedTenantGroup) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NestedTenantGroup) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *NestedTenantGroup) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *NestedTenantGroup) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *NestedTenantGroup) GetDisplay() string { if o == nil { @@ -210,6 +243,9 @@ func (o NestedTenantGroup) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["name"] = o.Name toSerialize["slug"] = o.Slug @@ -264,6 +300,7 @@ func (o *NestedTenantGroup) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") delete(additionalProperties, "slug") diff --git a/model_nested_tenant_group_request.go b/model_nested_tenant_group_request.go index c5ecbf890..5f09aac5c 100644 --- a/model_nested_tenant_group_request.go +++ b/model_nested_tenant_group_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_nested_user.go b/model_nested_user.go index 470de1aff..24c72c593 100644 --- a/model_nested_user.go +++ b/model_nested_user.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,9 +20,10 @@ var _ MappedNullable = &NestedUser{} // NestedUser Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a dictionary of attributes which can be used to uniquely identify the related object. This class should be subclassed to return a full representation of the related object on read. type NestedUser struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` // Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. Username string `json:"username"` AdditionalProperties map[string]interface{} @@ -99,6 +100,38 @@ func (o *NestedUser) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *NestedUser) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NestedUser) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *NestedUser) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *NestedUser) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *NestedUser) GetDisplay() string { if o == nil { @@ -159,6 +192,9 @@ func (o NestedUser) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["username"] = o.Username @@ -209,6 +245,7 @@ func (o *NestedUser) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "username") o.AdditionalProperties = additionalProperties diff --git a/model_nested_virtual_machine.go b/model_nested_virtual_machine.go index e19da59db..87873226e 100644 --- a/model_nested_virtual_machine.go +++ b/model_nested_virtual_machine.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,10 +20,11 @@ var _ MappedNullable = &NestedVirtualMachine{} // NestedVirtualMachine Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a dictionary of attributes which can be used to uniquely identify the related object. This class should be subclassed to return a full representation of the related object on read. type NestedVirtualMachine struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - Name string `json:"name"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Name string `json:"name"` AdditionalProperties map[string]interface{} } @@ -98,6 +99,38 @@ func (o *NestedVirtualMachine) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *NestedVirtualMachine) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NestedVirtualMachine) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *NestedVirtualMachine) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *NestedVirtualMachine) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *NestedVirtualMachine) GetDisplay() string { if o == nil { @@ -158,6 +191,9 @@ func (o NestedVirtualMachine) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["name"] = o.Name @@ -208,6 +244,7 @@ func (o *NestedVirtualMachine) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") o.AdditionalProperties = additionalProperties diff --git a/model_nested_virtual_machine_request.go b/model_nested_virtual_machine_request.go index 7fb0d2b03..1ec523896 100644 --- a/model_nested_virtual_machine_request.go +++ b/model_nested_virtual_machine_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_nested_vm_interface.go b/model_nested_vm_interface.go index be1622431..d9ac9a45c 100644 --- a/model_nested_vm_interface.go +++ b/model_nested_vm_interface.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -22,6 +22,7 @@ var _ MappedNullable = &NestedVMInterface{} type NestedVMInterface struct { Id int32 `json:"id"` Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` Display string `json:"display"` VirtualMachine NestedVirtualMachine `json:"virtual_machine"` Name string `json:"name"` @@ -100,6 +101,38 @@ func (o *NestedVMInterface) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *NestedVMInterface) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NestedVMInterface) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *NestedVMInterface) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *NestedVMInterface) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *NestedVMInterface) GetDisplay() string { if o == nil { @@ -184,6 +217,9 @@ func (o NestedVMInterface) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["virtual_machine"] = o.VirtualMachine toSerialize["name"] = o.Name @@ -236,6 +272,7 @@ func (o *NestedVMInterface) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "virtual_machine") delete(additionalProperties, "name") diff --git a/model_nested_vm_interface_request.go b/model_nested_vm_interface_request.go index ee8ecb2a3..0b65787b4 100644 --- a/model_nested_vm_interface_request.go +++ b/model_nested_vm_interface_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_nested_wireless_lan_group.go b/model_nested_wireless_lan_group.go new file mode 100644 index 000000000..fa00eaea9 --- /dev/null +++ b/model_nested_wireless_lan_group.go @@ -0,0 +1,348 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the NestedWirelessLANGroup type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &NestedWirelessLANGroup{} + +// NestedWirelessLANGroup Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a dictionary of attributes which can be used to uniquely identify the related object. This class should be subclassed to return a full representation of the related object on read. +type NestedWirelessLANGroup struct { + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Name string `json:"name"` + Slug string `json:"slug"` + Depth int32 `json:"_depth"` + AdditionalProperties map[string]interface{} +} + +type _NestedWirelessLANGroup NestedWirelessLANGroup + +// NewNestedWirelessLANGroup instantiates a new NestedWirelessLANGroup object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewNestedWirelessLANGroup(id int32, url string, display string, name string, slug string, depth int32) *NestedWirelessLANGroup { + this := NestedWirelessLANGroup{} + this.Id = id + this.Url = url + this.Display = display + this.Name = name + this.Slug = slug + this.Depth = depth + return &this +} + +// NewNestedWirelessLANGroupWithDefaults instantiates a new NestedWirelessLANGroup object +// This 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 NewNestedWirelessLANGroupWithDefaults() *NestedWirelessLANGroup { + this := NestedWirelessLANGroup{} + return &this +} + +// GetId returns the Id field value +func (o *NestedWirelessLANGroup) GetId() int32 { + if o == nil { + var ret int32 + 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 *NestedWirelessLANGroup) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *NestedWirelessLANGroup) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *NestedWirelessLANGroup) 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 *NestedWirelessLANGroup) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *NestedWirelessLANGroup) SetUrl(v string) { + o.Url = v +} + +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *NestedWirelessLANGroup) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NestedWirelessLANGroup) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *NestedWirelessLANGroup) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *NestedWirelessLANGroup) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + +// GetDisplay returns the Display field value +func (o *NestedWirelessLANGroup) 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 *NestedWirelessLANGroup) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *NestedWirelessLANGroup) SetDisplay(v string) { + o.Display = v +} + +// GetName returns the Name field value +func (o *NestedWirelessLANGroup) 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 *NestedWirelessLANGroup) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *NestedWirelessLANGroup) SetName(v string) { + o.Name = v +} + +// GetSlug returns the Slug field value +func (o *NestedWirelessLANGroup) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *NestedWirelessLANGroup) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *NestedWirelessLANGroup) SetSlug(v string) { + o.Slug = v +} + +// GetDepth returns the Depth field value +func (o *NestedWirelessLANGroup) GetDepth() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Depth +} + +// GetDepthOk returns a tuple with the Depth field value +// and a boolean to check if the value has been set. +func (o *NestedWirelessLANGroup) GetDepthOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Depth, true +} + +// SetDepth sets field value +func (o *NestedWirelessLANGroup) SetDepth(v int32) { + o.Depth = v +} + +func (o NestedWirelessLANGroup) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o NestedWirelessLANGroup) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } + toSerialize["display"] = o.Display + toSerialize["name"] = o.Name + toSerialize["slug"] = o.Slug + toSerialize["_depth"] = o.Depth + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *NestedWirelessLANGroup) 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", + "url", + "display", + "name", + "slug", + "_depth", + } + + 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) + } + } + + varNestedWirelessLANGroup := _NestedWirelessLANGroup{} + + err = json.Unmarshal(data, &varNestedWirelessLANGroup) + + if err != nil { + return err + } + + *o = NestedWirelessLANGroup(varNestedWirelessLANGroup) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display_url") + delete(additionalProperties, "display") + delete(additionalProperties, "name") + delete(additionalProperties, "slug") + delete(additionalProperties, "_depth") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableNestedWirelessLANGroup struct { + value *NestedWirelessLANGroup + isSet bool +} + +func (v NullableNestedWirelessLANGroup) Get() *NestedWirelessLANGroup { + return v.value +} + +func (v *NullableNestedWirelessLANGroup) Set(val *NestedWirelessLANGroup) { + v.value = val + v.isSet = true +} + +func (v NullableNestedWirelessLANGroup) IsSet() bool { + return v.isSet +} + +func (v *NullableNestedWirelessLANGroup) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableNestedWirelessLANGroup(val *NestedWirelessLANGroup) *NullableNestedWirelessLANGroup { + return &NullableNestedWirelessLANGroup{value: val, isSet: true} +} + +func (v NullableNestedWirelessLANGroup) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableNestedWirelessLANGroup) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_nested_wireless_lan_group_request.go b/model_nested_wireless_lan_group_request.go index 8e8b204a1..d6e22160d 100644 --- a/model_nested_wireless_lan_group_request.go +++ b/model_nested_wireless_lan_group_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_nested_wireless_link.go b/model_nested_wireless_link.go index bc6328e76..60a806378 100644 --- a/model_nested_wireless_link.go +++ b/model_nested_wireless_link.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -22,6 +22,7 @@ var _ MappedNullable = &NestedWirelessLink{} type NestedWirelessLink struct { Id int32 `json:"id"` Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` Display string `json:"display"` Ssid *string `json:"ssid,omitempty"` AdditionalProperties map[string]interface{} @@ -97,6 +98,38 @@ func (o *NestedWirelessLink) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *NestedWirelessLink) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NestedWirelessLink) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *NestedWirelessLink) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *NestedWirelessLink) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *NestedWirelessLink) GetDisplay() string { if o == nil { @@ -165,6 +198,9 @@ func (o NestedWirelessLink) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display if !IsNil(o.Ssid) { toSerialize["ssid"] = o.Ssid @@ -216,6 +252,7 @@ func (o *NestedWirelessLink) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "ssid") o.AdditionalProperties = additionalProperties diff --git a/model_nested_wireless_link_request.go b/model_nested_wireless_link_request.go index 49e586028..68faabf4e 100644 --- a/model_nested_wireless_link_request.go +++ b/model_nested_wireless_link_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_notification.go b/model_notification.go new file mode 100644 index 000000000..4c74bcbb6 --- /dev/null +++ b/model_notification.go @@ -0,0 +1,451 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" + "time" +) + +// checks if the Notification type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &Notification{} + +// Notification Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 Notification struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + ObjectType string `json:"object_type"` + ObjectId int64 `json:"object_id"` + Object interface{} `json:"object"` + User BriefUser `json:"user"` + Created time.Time `json:"created"` + Read NullableTime `json:"read,omitempty"` + EventType Event `json:"event_type"` + AdditionalProperties map[string]interface{} +} + +type _Notification Notification + +// NewNotification instantiates a new Notification object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewNotification(id int32, url string, display string, objectType string, objectId int64, object interface{}, user BriefUser, created time.Time, eventType Event) *Notification { + this := Notification{} + this.Id = id + this.Url = url + this.Display = display + this.ObjectType = objectType + this.ObjectId = objectId + this.Object = object + this.User = user + this.Created = created + this.EventType = eventType + return &this +} + +// NewNotificationWithDefaults instantiates a new Notification object +// This 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 NewNotificationWithDefaults() *Notification { + this := Notification{} + return &this +} + +// GetId returns the Id field value +func (o *Notification) GetId() int32 { + if o == nil { + var ret int32 + 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 *Notification) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *Notification) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *Notification) 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 *Notification) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *Notification) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *Notification) 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 *Notification) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *Notification) SetDisplay(v string) { + o.Display = v +} + +// GetObjectType returns the ObjectType field value +func (o *Notification) 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 *Notification) GetObjectTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ObjectType, true +} + +// SetObjectType sets field value +func (o *Notification) SetObjectType(v string) { + o.ObjectType = v +} + +// GetObjectId returns the ObjectId field value +func (o *Notification) GetObjectId() int64 { + if o == nil { + var ret int64 + return ret + } + + return o.ObjectId +} + +// GetObjectIdOk returns a tuple with the ObjectId field value +// and a boolean to check if the value has been set. +func (o *Notification) GetObjectIdOk() (*int64, bool) { + if o == nil { + return nil, false + } + return &o.ObjectId, true +} + +// SetObjectId sets field value +func (o *Notification) SetObjectId(v int64) { + o.ObjectId = v +} + +// GetObject returns the Object field value +// If the value is explicit nil, the zero value for interface{} will be returned +func (o *Notification) GetObject() interface{} { + if o == nil { + var ret interface{} + return ret + } + + return o.Object +} + +// GetObjectOk returns a tuple with the Object 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 *Notification) GetObjectOk() (*interface{}, bool) { + if o == nil || IsNil(o.Object) { + return nil, false + } + return &o.Object, true +} + +// SetObject sets field value +func (o *Notification) SetObject(v interface{}) { + o.Object = v +} + +// GetUser returns the User field value +func (o *Notification) GetUser() BriefUser { + if o == nil { + var ret BriefUser + return ret + } + + return o.User +} + +// GetUserOk returns a tuple with the User field value +// and a boolean to check if the value has been set. +func (o *Notification) GetUserOk() (*BriefUser, bool) { + if o == nil { + return nil, false + } + return &o.User, true +} + +// SetUser sets field value +func (o *Notification) SetUser(v BriefUser) { + o.User = v +} + +// GetCreated returns the Created field value +func (o *Notification) GetCreated() time.Time { + if o == nil { + var ret time.Time + return ret + } + + return o.Created +} + +// GetCreatedOk returns a tuple with the Created field value +// and a boolean to check if the value has been set. +func (o *Notification) GetCreatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return &o.Created, true +} + +// SetCreated sets field value +func (o *Notification) SetCreated(v time.Time) { + o.Created = v +} + +// GetRead returns the Read field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Notification) GetRead() time.Time { + if o == nil || IsNil(o.Read.Get()) { + var ret time.Time + return ret + } + return *o.Read.Get() +} + +// GetReadOk returns a tuple with the Read 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 *Notification) GetReadOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.Read.Get(), o.Read.IsSet() +} + +// HasRead returns a boolean if a field has been set. +func (o *Notification) HasRead() bool { + if o != nil && o.Read.IsSet() { + return true + } + + return false +} + +// SetRead gets a reference to the given NullableTime and assigns it to the Read field. +func (o *Notification) SetRead(v time.Time) { + o.Read.Set(&v) +} + +// SetReadNil sets the value for Read to be an explicit nil +func (o *Notification) SetReadNil() { + o.Read.Set(nil) +} + +// UnsetRead ensures that no value is present for Read, not even an explicit nil +func (o *Notification) UnsetRead() { + o.Read.Unset() +} + +// GetEventType returns the EventType field value +func (o *Notification) GetEventType() Event { + if o == nil { + var ret Event + return ret + } + + return o.EventType +} + +// GetEventTypeOk returns a tuple with the EventType field value +// and a boolean to check if the value has been set. +func (o *Notification) GetEventTypeOk() (*Event, bool) { + if o == nil { + return nil, false + } + return &o.EventType, true +} + +// SetEventType sets field value +func (o *Notification) SetEventType(v Event) { + o.EventType = v +} + +func (o Notification) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o Notification) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["object_type"] = o.ObjectType + toSerialize["object_id"] = o.ObjectId + if o.Object != nil { + toSerialize["object"] = o.Object + } + toSerialize["user"] = o.User + toSerialize["created"] = o.Created + if o.Read.IsSet() { + toSerialize["read"] = o.Read.Get() + } + toSerialize["event_type"] = o.EventType + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *Notification) 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", + "url", + "display", + "object_type", + "object_id", + "object", + "user", + "created", + "event_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) + } + } + + varNotification := _Notification{} + + err = json.Unmarshal(data, &varNotification) + + if err != nil { + return err + } + + *o = Notification(varNotification) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "object_type") + delete(additionalProperties, "object_id") + delete(additionalProperties, "object") + delete(additionalProperties, "user") + delete(additionalProperties, "created") + delete(additionalProperties, "read") + delete(additionalProperties, "event_type") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableNotification struct { + value *Notification + isSet bool +} + +func (v NullableNotification) Get() *Notification { + return v.value +} + +func (v *NullableNotification) Set(val *Notification) { + v.value = val + v.isSet = true +} + +func (v NullableNotification) IsSet() bool { + return v.isSet +} + +func (v *NullableNotification) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableNotification(val *Notification) *NullableNotification { + return &NullableNotification{value: val, isSet: true} +} + +func (v NullableNotification) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableNotification) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_notification_group.go b/model_notification_group.go new file mode 100644 index 000000000..ac1a5666a --- /dev/null +++ b/model_notification_group.go @@ -0,0 +1,401 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the NotificationGroup type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &NotificationGroup{} + +// NotificationGroup Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 NotificationGroup struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + DisplayUrl *string `json:"display_url,omitempty"` + Name string `json:"name"` + Description *string `json:"description,omitempty"` + Groups []Group `json:"groups,omitempty"` + Users []User `json:"users,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _NotificationGroup NotificationGroup + +// NewNotificationGroup instantiates a new NotificationGroup object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewNotificationGroup(id int32, url string, display string, name string) *NotificationGroup { + this := NotificationGroup{} + this.Id = id + this.Url = url + this.Display = display + this.Name = name + return &this +} + +// NewNotificationGroupWithDefaults instantiates a new NotificationGroup object +// This 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 NewNotificationGroupWithDefaults() *NotificationGroup { + this := NotificationGroup{} + return &this +} + +// GetId returns the Id field value +func (o *NotificationGroup) GetId() int32 { + if o == nil { + var ret int32 + 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 *NotificationGroup) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *NotificationGroup) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *NotificationGroup) 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 *NotificationGroup) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *NotificationGroup) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *NotificationGroup) 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 *NotificationGroup) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *NotificationGroup) SetDisplay(v string) { + o.Display = v +} + +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *NotificationGroup) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NotificationGroup) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *NotificationGroup) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *NotificationGroup) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + +// GetName returns the Name field value +func (o *NotificationGroup) 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 *NotificationGroup) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *NotificationGroup) SetName(v string) { + o.Name = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *NotificationGroup) 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 *NotificationGroup) 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 *NotificationGroup) 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 *NotificationGroup) SetDescription(v string) { + o.Description = &v +} + +// GetGroups returns the Groups field value if set, zero value otherwise. +func (o *NotificationGroup) GetGroups() []Group { + if o == nil || IsNil(o.Groups) { + var ret []Group + return ret + } + return o.Groups +} + +// GetGroupsOk returns a tuple with the Groups field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NotificationGroup) GetGroupsOk() ([]Group, bool) { + if o == nil || IsNil(o.Groups) { + return nil, false + } + return o.Groups, true +} + +// HasGroups returns a boolean if a field has been set. +func (o *NotificationGroup) HasGroups() bool { + if o != nil && !IsNil(o.Groups) { + return true + } + + return false +} + +// SetGroups gets a reference to the given []Group and assigns it to the Groups field. +func (o *NotificationGroup) SetGroups(v []Group) { + o.Groups = v +} + +// GetUsers returns the Users field value if set, zero value otherwise. +func (o *NotificationGroup) GetUsers() []User { + if o == nil || IsNil(o.Users) { + var ret []User + return ret + } + return o.Users +} + +// GetUsersOk returns a tuple with the Users field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NotificationGroup) GetUsersOk() ([]User, bool) { + if o == nil || IsNil(o.Users) { + return nil, false + } + return o.Users, true +} + +// HasUsers returns a boolean if a field has been set. +func (o *NotificationGroup) HasUsers() bool { + if o != nil && !IsNil(o.Users) { + return true + } + + return false +} + +// SetUsers gets a reference to the given []User and assigns it to the Users field. +func (o *NotificationGroup) SetUsers(v []User) { + o.Users = v +} + +func (o NotificationGroup) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o NotificationGroup) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } + toSerialize["name"] = o.Name + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + if !IsNil(o.Groups) { + toSerialize["groups"] = o.Groups + } + if !IsNil(o.Users) { + toSerialize["users"] = o.Users + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *NotificationGroup) 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", + "url", + "display", + "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) + } + } + + varNotificationGroup := _NotificationGroup{} + + err = json.Unmarshal(data, &varNotificationGroup) + + if err != nil { + return err + } + + *o = NotificationGroup(varNotificationGroup) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "display_url") + delete(additionalProperties, "name") + delete(additionalProperties, "description") + delete(additionalProperties, "groups") + delete(additionalProperties, "users") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableNotificationGroup struct { + value *NotificationGroup + isSet bool +} + +func (v NullableNotificationGroup) Get() *NotificationGroup { + return v.value +} + +func (v *NullableNotificationGroup) Set(val *NotificationGroup) { + v.value = val + v.isSet = true +} + +func (v NullableNotificationGroup) IsSet() bool { + return v.isSet +} + +func (v *NullableNotificationGroup) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableNotificationGroup(val *NotificationGroup) *NullableNotificationGroup { + return &NullableNotificationGroup{value: val, isSet: true} +} + +func (v NullableNotificationGroup) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableNotificationGroup) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_notification_group_request.go b/model_notification_group_request.go new file mode 100644 index 000000000..5929caa42 --- /dev/null +++ b/model_notification_group_request.go @@ -0,0 +1,277 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the NotificationGroupRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &NotificationGroupRequest{} + +// NotificationGroupRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 NotificationGroupRequest struct { + Name string `json:"name"` + Description *string `json:"description,omitempty"` + Groups []int32 `json:"groups,omitempty"` + Users []int32 `json:"users,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _NotificationGroupRequest NotificationGroupRequest + +// NewNotificationGroupRequest instantiates a new NotificationGroupRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewNotificationGroupRequest(name string) *NotificationGroupRequest { + this := NotificationGroupRequest{} + this.Name = name + return &this +} + +// NewNotificationGroupRequestWithDefaults instantiates a new NotificationGroupRequest object +// This 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 NewNotificationGroupRequestWithDefaults() *NotificationGroupRequest { + this := NotificationGroupRequest{} + return &this +} + +// GetName returns the Name field value +func (o *NotificationGroupRequest) 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 *NotificationGroupRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *NotificationGroupRequest) SetName(v string) { + o.Name = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *NotificationGroupRequest) 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 *NotificationGroupRequest) 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 *NotificationGroupRequest) 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 *NotificationGroupRequest) SetDescription(v string) { + o.Description = &v +} + +// GetGroups returns the Groups field value if set, zero value otherwise. +func (o *NotificationGroupRequest) GetGroups() []int32 { + if o == nil || IsNil(o.Groups) { + var ret []int32 + return ret + } + return o.Groups +} + +// GetGroupsOk returns a tuple with the Groups field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NotificationGroupRequest) GetGroupsOk() ([]int32, bool) { + if o == nil || IsNil(o.Groups) { + return nil, false + } + return o.Groups, true +} + +// HasGroups returns a boolean if a field has been set. +func (o *NotificationGroupRequest) HasGroups() bool { + if o != nil && !IsNil(o.Groups) { + return true + } + + return false +} + +// SetGroups gets a reference to the given []int32 and assigns it to the Groups field. +func (o *NotificationGroupRequest) SetGroups(v []int32) { + o.Groups = v +} + +// GetUsers returns the Users field value if set, zero value otherwise. +func (o *NotificationGroupRequest) GetUsers() []int32 { + if o == nil || IsNil(o.Users) { + var ret []int32 + return ret + } + return o.Users +} + +// GetUsersOk returns a tuple with the Users field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NotificationGroupRequest) GetUsersOk() ([]int32, bool) { + if o == nil || IsNil(o.Users) { + return nil, false + } + return o.Users, true +} + +// HasUsers returns a boolean if a field has been set. +func (o *NotificationGroupRequest) HasUsers() bool { + if o != nil && !IsNil(o.Users) { + return true + } + + return false +} + +// SetUsers gets a reference to the given []int32 and assigns it to the Users field. +func (o *NotificationGroupRequest) SetUsers(v []int32) { + o.Users = v +} + +func (o NotificationGroupRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o NotificationGroupRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["name"] = o.Name + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + if !IsNil(o.Groups) { + toSerialize["groups"] = o.Groups + } + if !IsNil(o.Users) { + toSerialize["users"] = o.Users + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *NotificationGroupRequest) 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) + } + } + + varNotificationGroupRequest := _NotificationGroupRequest{} + + err = json.Unmarshal(data, &varNotificationGroupRequest) + + if err != nil { + return err + } + + *o = NotificationGroupRequest(varNotificationGroupRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "name") + delete(additionalProperties, "description") + delete(additionalProperties, "groups") + delete(additionalProperties, "users") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableNotificationGroupRequest struct { + value *NotificationGroupRequest + isSet bool +} + +func (v NullableNotificationGroupRequest) Get() *NotificationGroupRequest { + return v.value +} + +func (v *NullableNotificationGroupRequest) Set(val *NotificationGroupRequest) { + v.value = val + v.isSet = true +} + +func (v NullableNotificationGroupRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableNotificationGroupRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableNotificationGroupRequest(val *NotificationGroupRequest) *NullableNotificationGroupRequest { + return &NullableNotificationGroupRequest{value: val, isSet: true} +} + +func (v NullableNotificationGroupRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableNotificationGroupRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_notification_request.go b/model_notification_request.go new file mode 100644 index 000000000..13f60ea44 --- /dev/null +++ b/model_notification_request.go @@ -0,0 +1,302 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" + "time" +) + +// checks if the NotificationRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &NotificationRequest{} + +// NotificationRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 NotificationRequest struct { + ObjectType string `json:"object_type"` + ObjectId int64 `json:"object_id"` + User BriefUserRequest `json:"user"` + Read NullableTime `json:"read,omitempty"` + EventType Event `json:"event_type"` + AdditionalProperties map[string]interface{} +} + +type _NotificationRequest NotificationRequest + +// NewNotificationRequest instantiates a new NotificationRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewNotificationRequest(objectType string, objectId int64, user BriefUserRequest, eventType Event) *NotificationRequest { + this := NotificationRequest{} + this.ObjectType = objectType + this.ObjectId = objectId + this.User = user + this.EventType = eventType + return &this +} + +// NewNotificationRequestWithDefaults instantiates a new NotificationRequest object +// This 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 NewNotificationRequestWithDefaults() *NotificationRequest { + this := NotificationRequest{} + return &this +} + +// GetObjectType returns the ObjectType field value +func (o *NotificationRequest) 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 *NotificationRequest) GetObjectTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ObjectType, true +} + +// SetObjectType sets field value +func (o *NotificationRequest) SetObjectType(v string) { + o.ObjectType = v +} + +// GetObjectId returns the ObjectId field value +func (o *NotificationRequest) GetObjectId() int64 { + if o == nil { + var ret int64 + return ret + } + + return o.ObjectId +} + +// GetObjectIdOk returns a tuple with the ObjectId field value +// and a boolean to check if the value has been set. +func (o *NotificationRequest) GetObjectIdOk() (*int64, bool) { + if o == nil { + return nil, false + } + return &o.ObjectId, true +} + +// SetObjectId sets field value +func (o *NotificationRequest) SetObjectId(v int64) { + o.ObjectId = v +} + +// GetUser returns the User field value +func (o *NotificationRequest) GetUser() BriefUserRequest { + if o == nil { + var ret BriefUserRequest + return ret + } + + return o.User +} + +// GetUserOk returns a tuple with the User field value +// and a boolean to check if the value has been set. +func (o *NotificationRequest) GetUserOk() (*BriefUserRequest, bool) { + if o == nil { + return nil, false + } + return &o.User, true +} + +// SetUser sets field value +func (o *NotificationRequest) SetUser(v BriefUserRequest) { + o.User = v +} + +// GetRead returns the Read field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *NotificationRequest) GetRead() time.Time { + if o == nil || IsNil(o.Read.Get()) { + var ret time.Time + return ret + } + return *o.Read.Get() +} + +// GetReadOk returns a tuple with the Read 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 *NotificationRequest) GetReadOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.Read.Get(), o.Read.IsSet() +} + +// HasRead returns a boolean if a field has been set. +func (o *NotificationRequest) HasRead() bool { + if o != nil && o.Read.IsSet() { + return true + } + + return false +} + +// SetRead gets a reference to the given NullableTime and assigns it to the Read field. +func (o *NotificationRequest) SetRead(v time.Time) { + o.Read.Set(&v) +} + +// SetReadNil sets the value for Read to be an explicit nil +func (o *NotificationRequest) SetReadNil() { + o.Read.Set(nil) +} + +// UnsetRead ensures that no value is present for Read, not even an explicit nil +func (o *NotificationRequest) UnsetRead() { + o.Read.Unset() +} + +// GetEventType returns the EventType field value +func (o *NotificationRequest) GetEventType() Event { + if o == nil { + var ret Event + return ret + } + + return o.EventType +} + +// GetEventTypeOk returns a tuple with the EventType field value +// and a boolean to check if the value has been set. +func (o *NotificationRequest) GetEventTypeOk() (*Event, bool) { + if o == nil { + return nil, false + } + return &o.EventType, true +} + +// SetEventType sets field value +func (o *NotificationRequest) SetEventType(v Event) { + o.EventType = v +} + +func (o NotificationRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o NotificationRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["object_type"] = o.ObjectType + toSerialize["object_id"] = o.ObjectId + toSerialize["user"] = o.User + if o.Read.IsSet() { + toSerialize["read"] = o.Read.Get() + } + toSerialize["event_type"] = o.EventType + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *NotificationRequest) 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", + "object_id", + "user", + "event_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) + } + } + + varNotificationRequest := _NotificationRequest{} + + err = json.Unmarshal(data, &varNotificationRequest) + + if err != nil { + return err + } + + *o = NotificationRequest(varNotificationRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "object_type") + delete(additionalProperties, "object_id") + delete(additionalProperties, "user") + delete(additionalProperties, "read") + delete(additionalProperties, "event_type") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableNotificationRequest struct { + value *NotificationRequest + isSet bool +} + +func (v NullableNotificationRequest) Get() *NotificationRequest { + return v.value +} + +func (v *NullableNotificationRequest) Set(val *NotificationRequest) { + v.value = val + v.isSet = true +} + +func (v NullableNotificationRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableNotificationRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableNotificationRequest(val *NotificationRequest) *NullableNotificationRequest { + return &NullableNotificationRequest{value: val, isSet: true} +} + +func (v NullableNotificationRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableNotificationRequest) 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 24b5c95cc..b21f1855b 100644 --- a/model_object_change.go +++ b/model_object_change.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -23,9 +23,10 @@ var _ MappedNullable = &ObjectChange{} type ObjectChange struct { Id int32 `json:"id"` Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` Display string `json:"display"` Time time.Time `json:"time"` - User User `json:"user"` + User BriefUser `json:"user"` UserName string `json:"user_name"` RequestId string `json:"request_id"` Action ObjectChangeAction `json:"action"` @@ -43,7 +44,7 @@ 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 int32, url string, display string, time time.Time, user User, userName string, requestId string, action ObjectChangeAction, changedObjectType string, changedObjectId int64, changedObject interface{}, prechangeData interface{}, postchangeData interface{}) *ObjectChange { +func NewObjectChange(id int32, url string, display string, time time.Time, user BriefUser, userName string, requestId string, action ObjectChangeAction, changedObjectType string, changedObjectId int64, changedObject interface{}, prechangeData interface{}, postchangeData interface{}) *ObjectChange { this := ObjectChange{} this.Id = id this.Url = url @@ -117,6 +118,38 @@ func (o *ObjectChange) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *ObjectChange) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ObjectChange) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *ObjectChange) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *ObjectChange) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *ObjectChange) GetDisplay() string { if o == nil { @@ -166,9 +199,9 @@ func (o *ObjectChange) SetTime(v time.Time) { } // GetUser returns the User field value -func (o *ObjectChange) GetUser() User { +func (o *ObjectChange) GetUser() BriefUser { if o == nil { - var ret User + var ret BriefUser return ret } @@ -177,7 +210,7 @@ func (o *ObjectChange) GetUser() User { // GetUserOk returns a tuple with the User field value // and a boolean to check if the value has been set. -func (o *ObjectChange) GetUserOk() (*User, bool) { +func (o *ObjectChange) GetUserOk() (*BriefUser, bool) { if o == nil { return nil, false } @@ -185,7 +218,7 @@ func (o *ObjectChange) GetUserOk() (*User, bool) { } // SetUser sets field value -func (o *ObjectChange) SetUser(v User) { +func (o *ObjectChange) SetUser(v BriefUser) { o.User = v } @@ -399,6 +432,9 @@ func (o ObjectChange) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["time"] = o.Time toSerialize["user"] = o.User @@ -473,6 +509,7 @@ func (o *ObjectChange) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "time") delete(additionalProperties, "user") diff --git a/model_object_change_action.go b/model_object_change_action.go index 4e2bcdbc3..62c8dafdc 100644 --- a/model_object_change_action.go +++ b/model_object_change_action.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 ee7329967..d5d4818eb 100644 --- a/model_object_change_action_label.go +++ b/model_object_change_action_label.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 59e9cd339..e364476c5 100644 --- a/model_object_change_action_value.go +++ b/model_object_change_action_value.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_object_permission.go b/model_object_permission.go index 7835c2b8d..0fb19a28e 100644 --- a/model_object_permission.go +++ b/model_object_permission.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -22,6 +22,7 @@ var _ MappedNullable = &ObjectPermission{} type ObjectPermission struct { Id int32 `json:"id"` Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` Display string `json:"display"` Name string `json:"name"` Description *string `json:"description,omitempty"` @@ -109,6 +110,38 @@ func (o *ObjectPermission) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *ObjectPermission) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ObjectPermission) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *ObjectPermission) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *ObjectPermission) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *ObjectPermission) GetDisplay() string { if o == nil { @@ -378,6 +411,9 @@ func (o ObjectPermission) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["name"] = o.Name if !IsNil(o.Description) { @@ -447,6 +483,7 @@ func (o *ObjectPermission) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") delete(additionalProperties, "description") diff --git a/model_object_permission_request.go b/model_object_permission_request.go index 05e9aa4e2..cd028c124 100644 --- a/model_object_permission_request.go +++ b/model_object_permission_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_object_type.go b/model_object_type.go index f08d354c9..25c4e6327 100644 --- a/model_object_type.go +++ b/model_object_type.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paginated_aggregate_list.go b/model_paginated_aggregate_list.go index 81e2b8603..ebebfb512 100644 --- a/model_paginated_aggregate_list.go +++ b/model_paginated_aggregate_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paginated_asn_list.go b/model_paginated_asn_list.go index 183c0353f..b593c894b 100644 --- a/model_paginated_asn_list.go +++ b/model_paginated_asn_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paginated_asn_range_list.go b/model_paginated_asn_range_list.go index d96366e06..35aacac4a 100644 --- a/model_paginated_asn_range_list.go +++ b/model_paginated_asn_range_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paginated_bookmark_list.go b/model_paginated_bookmark_list.go index 64a4425b2..87af0a8a8 100644 --- a/model_paginated_bookmark_list.go +++ b/model_paginated_bookmark_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 cc214c3b2..108b73d39 100644 --- a/model_paginated_cable_list.go +++ b/model_paginated_cable_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paginated_cable_termination_list.go b/model_paginated_cable_termination_list.go index 3a368c6b3..ec635394a 100644 --- a/model_paginated_cable_termination_list.go +++ b/model_paginated_cable_termination_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paginated_circuit_group_assignment_list.go b/model_paginated_circuit_group_assignment_list.go new file mode 100644 index 000000000..327936913 --- /dev/null +++ b/model_paginated_circuit_group_assignment_list.go @@ -0,0 +1,291 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the PaginatedCircuitGroupAssignmentList type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PaginatedCircuitGroupAssignmentList{} + +// PaginatedCircuitGroupAssignmentList struct for PaginatedCircuitGroupAssignmentList +type PaginatedCircuitGroupAssignmentList struct { + Count int32 `json:"count"` + Next NullableString `json:"next,omitempty"` + Previous NullableString `json:"previous,omitempty"` + Results []CircuitGroupAssignment `json:"results"` + AdditionalProperties map[string]interface{} +} + +type _PaginatedCircuitGroupAssignmentList PaginatedCircuitGroupAssignmentList + +// NewPaginatedCircuitGroupAssignmentList instantiates a new PaginatedCircuitGroupAssignmentList object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewPaginatedCircuitGroupAssignmentList(count int32, results []CircuitGroupAssignment) *PaginatedCircuitGroupAssignmentList { + this := PaginatedCircuitGroupAssignmentList{} + this.Count = count + this.Results = results + return &this +} + +// NewPaginatedCircuitGroupAssignmentListWithDefaults instantiates a new PaginatedCircuitGroupAssignmentList object +// This 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 NewPaginatedCircuitGroupAssignmentListWithDefaults() *PaginatedCircuitGroupAssignmentList { + this := PaginatedCircuitGroupAssignmentList{} + return &this +} + +// GetCount returns the Count field value +func (o *PaginatedCircuitGroupAssignmentList) 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 *PaginatedCircuitGroupAssignmentList) GetCountOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Count, true +} + +// SetCount sets field value +func (o *PaginatedCircuitGroupAssignmentList) 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 *PaginatedCircuitGroupAssignmentList) 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 *PaginatedCircuitGroupAssignmentList) 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 *PaginatedCircuitGroupAssignmentList) 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 *PaginatedCircuitGroupAssignmentList) SetNext(v string) { + o.Next.Set(&v) +} + +// SetNextNil sets the value for Next to be an explicit nil +func (o *PaginatedCircuitGroupAssignmentList) SetNextNil() { + o.Next.Set(nil) +} + +// UnsetNext ensures that no value is present for Next, not even an explicit nil +func (o *PaginatedCircuitGroupAssignmentList) 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 *PaginatedCircuitGroupAssignmentList) 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 *PaginatedCircuitGroupAssignmentList) 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 *PaginatedCircuitGroupAssignmentList) 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 *PaginatedCircuitGroupAssignmentList) SetPrevious(v string) { + o.Previous.Set(&v) +} + +// SetPreviousNil sets the value for Previous to be an explicit nil +func (o *PaginatedCircuitGroupAssignmentList) SetPreviousNil() { + o.Previous.Set(nil) +} + +// UnsetPrevious ensures that no value is present for Previous, not even an explicit nil +func (o *PaginatedCircuitGroupAssignmentList) UnsetPrevious() { + o.Previous.Unset() +} + +// GetResults returns the Results field value +func (o *PaginatedCircuitGroupAssignmentList) GetResults() []CircuitGroupAssignment { + if o == nil { + var ret []CircuitGroupAssignment + 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 *PaginatedCircuitGroupAssignmentList) GetResultsOk() ([]CircuitGroupAssignment, bool) { + if o == nil { + return nil, false + } + return o.Results, true +} + +// SetResults sets field value +func (o *PaginatedCircuitGroupAssignmentList) SetResults(v []CircuitGroupAssignment) { + o.Results = v +} + +func (o PaginatedCircuitGroupAssignmentList) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PaginatedCircuitGroupAssignmentList) 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 *PaginatedCircuitGroupAssignmentList) 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) + } + } + + varPaginatedCircuitGroupAssignmentList := _PaginatedCircuitGroupAssignmentList{} + + err = json.Unmarshal(data, &varPaginatedCircuitGroupAssignmentList) + + if err != nil { + return err + } + + *o = PaginatedCircuitGroupAssignmentList(varPaginatedCircuitGroupAssignmentList) + + 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 NullablePaginatedCircuitGroupAssignmentList struct { + value *PaginatedCircuitGroupAssignmentList + isSet bool +} + +func (v NullablePaginatedCircuitGroupAssignmentList) Get() *PaginatedCircuitGroupAssignmentList { + return v.value +} + +func (v *NullablePaginatedCircuitGroupAssignmentList) Set(val *PaginatedCircuitGroupAssignmentList) { + v.value = val + v.isSet = true +} + +func (v NullablePaginatedCircuitGroupAssignmentList) IsSet() bool { + return v.isSet +} + +func (v *NullablePaginatedCircuitGroupAssignmentList) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePaginatedCircuitGroupAssignmentList(val *PaginatedCircuitGroupAssignmentList) *NullablePaginatedCircuitGroupAssignmentList { + return &NullablePaginatedCircuitGroupAssignmentList{value: val, isSet: true} +} + +func (v NullablePaginatedCircuitGroupAssignmentList) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePaginatedCircuitGroupAssignmentList) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_paginated_circuit_group_list.go b/model_paginated_circuit_group_list.go new file mode 100644 index 000000000..b3954468e --- /dev/null +++ b/model_paginated_circuit_group_list.go @@ -0,0 +1,291 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the PaginatedCircuitGroupList type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PaginatedCircuitGroupList{} + +// PaginatedCircuitGroupList struct for PaginatedCircuitGroupList +type PaginatedCircuitGroupList struct { + Count int32 `json:"count"` + Next NullableString `json:"next,omitempty"` + Previous NullableString `json:"previous,omitempty"` + Results []CircuitGroup `json:"results"` + AdditionalProperties map[string]interface{} +} + +type _PaginatedCircuitGroupList PaginatedCircuitGroupList + +// NewPaginatedCircuitGroupList instantiates a new PaginatedCircuitGroupList object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewPaginatedCircuitGroupList(count int32, results []CircuitGroup) *PaginatedCircuitGroupList { + this := PaginatedCircuitGroupList{} + this.Count = count + this.Results = results + return &this +} + +// NewPaginatedCircuitGroupListWithDefaults instantiates a new PaginatedCircuitGroupList object +// This 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 NewPaginatedCircuitGroupListWithDefaults() *PaginatedCircuitGroupList { + this := PaginatedCircuitGroupList{} + return &this +} + +// GetCount returns the Count field value +func (o *PaginatedCircuitGroupList) 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 *PaginatedCircuitGroupList) GetCountOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Count, true +} + +// SetCount sets field value +func (o *PaginatedCircuitGroupList) 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 *PaginatedCircuitGroupList) 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 *PaginatedCircuitGroupList) 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 *PaginatedCircuitGroupList) 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 *PaginatedCircuitGroupList) SetNext(v string) { + o.Next.Set(&v) +} + +// SetNextNil sets the value for Next to be an explicit nil +func (o *PaginatedCircuitGroupList) SetNextNil() { + o.Next.Set(nil) +} + +// UnsetNext ensures that no value is present for Next, not even an explicit nil +func (o *PaginatedCircuitGroupList) 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 *PaginatedCircuitGroupList) 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 *PaginatedCircuitGroupList) 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 *PaginatedCircuitGroupList) 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 *PaginatedCircuitGroupList) SetPrevious(v string) { + o.Previous.Set(&v) +} + +// SetPreviousNil sets the value for Previous to be an explicit nil +func (o *PaginatedCircuitGroupList) SetPreviousNil() { + o.Previous.Set(nil) +} + +// UnsetPrevious ensures that no value is present for Previous, not even an explicit nil +func (o *PaginatedCircuitGroupList) UnsetPrevious() { + o.Previous.Unset() +} + +// GetResults returns the Results field value +func (o *PaginatedCircuitGroupList) GetResults() []CircuitGroup { + if o == nil { + var ret []CircuitGroup + 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 *PaginatedCircuitGroupList) GetResultsOk() ([]CircuitGroup, bool) { + if o == nil { + return nil, false + } + return o.Results, true +} + +// SetResults sets field value +func (o *PaginatedCircuitGroupList) SetResults(v []CircuitGroup) { + o.Results = v +} + +func (o PaginatedCircuitGroupList) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PaginatedCircuitGroupList) 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 *PaginatedCircuitGroupList) 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) + } + } + + varPaginatedCircuitGroupList := _PaginatedCircuitGroupList{} + + err = json.Unmarshal(data, &varPaginatedCircuitGroupList) + + if err != nil { + return err + } + + *o = PaginatedCircuitGroupList(varPaginatedCircuitGroupList) + + 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 NullablePaginatedCircuitGroupList struct { + value *PaginatedCircuitGroupList + isSet bool +} + +func (v NullablePaginatedCircuitGroupList) Get() *PaginatedCircuitGroupList { + return v.value +} + +func (v *NullablePaginatedCircuitGroupList) Set(val *PaginatedCircuitGroupList) { + v.value = val + v.isSet = true +} + +func (v NullablePaginatedCircuitGroupList) IsSet() bool { + return v.isSet +} + +func (v *NullablePaginatedCircuitGroupList) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePaginatedCircuitGroupList(val *PaginatedCircuitGroupList) *NullablePaginatedCircuitGroupList { + return &NullablePaginatedCircuitGroupList{value: val, isSet: true} +} + +func (v NullablePaginatedCircuitGroupList) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePaginatedCircuitGroupList) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_paginated_circuit_list.go b/model_paginated_circuit_list.go index d2a32fd8a..69e8c4503 100644 --- a/model_paginated_circuit_list.go +++ b/model_paginated_circuit_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 71138eab9..6fa559941 100644 --- a/model_paginated_circuit_termination_list.go +++ b/model_paginated_circuit_termination_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 148793830..2e63bf99c 100644 --- a/model_paginated_circuit_type_list.go +++ b/model_paginated_circuit_type_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 2263a7dfb..6ae980f69 100644 --- a/model_paginated_cluster_group_list.go +++ b/model_paginated_cluster_group_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 da077b2c6..ccecac286 100644 --- a/model_paginated_cluster_list.go +++ b/model_paginated_cluster_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 7243ef83d..52fa98114 100644 --- a/model_paginated_cluster_type_list.go +++ b/model_paginated_cluster_type_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 4db50833d..90b1104b0 100644 --- a/model_paginated_config_context_list.go +++ b/model_paginated_config_context_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paginated_config_template_list.go b/model_paginated_config_template_list.go index 36f8990ff..5a8b54d15 100644 --- a/model_paginated_config_template_list.go +++ b/model_paginated_config_template_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 7d8bb8367..86e5c9eec 100644 --- a/model_paginated_console_port_list.go +++ b/model_paginated_console_port_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 b424049c9..dcfd71a2b 100644 --- a/model_paginated_console_port_template_list.go +++ b/model_paginated_console_port_template_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 adfb94743..582044ed0 100644 --- a/model_paginated_console_server_port_list.go +++ b/model_paginated_console_server_port_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 51278f9f8..5ff33fc38 100644 --- a/model_paginated_console_server_port_template_list.go +++ b/model_paginated_console_server_port_template_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paginated_contact_assignment_list.go b/model_paginated_contact_assignment_list.go index ea9e23946..7505b266e 100644 --- a/model_paginated_contact_assignment_list.go +++ b/model_paginated_contact_assignment_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paginated_contact_group_list.go b/model_paginated_contact_group_list.go index 77bd6c70f..d98e16bb8 100644 --- a/model_paginated_contact_group_list.go +++ b/model_paginated_contact_group_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 72294eba7..c73c69401 100644 --- a/model_paginated_contact_list.go +++ b/model_paginated_contact_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paginated_contact_role_list.go b/model_paginated_contact_role_list.go index fc486241c..be319ef8f 100644 --- a/model_paginated_contact_role_list.go +++ b/model_paginated_contact_role_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paginated_custom_field_choice_set_list.go b/model_paginated_custom_field_choice_set_list.go index 48e25bb94..18394bd68 100644 --- a/model_paginated_custom_field_choice_set_list.go +++ b/model_paginated_custom_field_choice_set_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 1f0c58fc0..b31488154 100644 --- a/model_paginated_custom_field_list.go +++ b/model_paginated_custom_field_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 00815cc84..c28b76cca 100644 --- a/model_paginated_custom_link_list.go +++ b/model_paginated_custom_link_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paginated_data_file_list.go b/model_paginated_data_file_list.go index 260f045b2..a1cd693a2 100644 --- a/model_paginated_data_file_list.go +++ b/model_paginated_data_file_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paginated_data_source_list.go b/model_paginated_data_source_list.go index 326295e6d..d85493f9f 100644 --- a/model_paginated_data_source_list.go +++ b/model_paginated_data_source_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 c83d4e2c6..d49898ef8 100644 --- a/model_paginated_device_bay_list.go +++ b/model_paginated_device_bay_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 45928db4d..e980220bd 100644 --- a/model_paginated_device_bay_template_list.go +++ b/model_paginated_device_bay_template_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paginated_device_role_list.go b/model_paginated_device_role_list.go index 15f1f91b8..1f7549003 100644 --- a/model_paginated_device_role_list.go +++ b/model_paginated_device_role_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 66636b1bf..4a713ec96 100644 --- a/model_paginated_device_type_list.go +++ b/model_paginated_device_type_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paginated_device_with_config_context_list.go b/model_paginated_device_with_config_context_list.go index 654c3dff0..b175d8fd5 100644 --- a/model_paginated_device_with_config_context_list.go +++ b/model_paginated_device_with_config_context_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paginated_event_rule_list.go b/model_paginated_event_rule_list.go index 0d05d05cd..62979bd3c 100644 --- a/model_paginated_event_rule_list.go +++ b/model_paginated_event_rule_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 d1160be70..b26aba5c4 100644 --- a/model_paginated_export_template_list.go +++ b/model_paginated_export_template_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paginated_fhrp_group_assignment_list.go b/model_paginated_fhrp_group_assignment_list.go index 45ede081c..261d1db8b 100644 --- a/model_paginated_fhrp_group_assignment_list.go +++ b/model_paginated_fhrp_group_assignment_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paginated_fhrp_group_list.go b/model_paginated_fhrp_group_list.go index a0faea759..4451ed5be 100644 --- a/model_paginated_fhrp_group_list.go +++ b/model_paginated_fhrp_group_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 4e6f4d89f..bc6ff5fdd 100644 --- a/model_paginated_front_port_list.go +++ b/model_paginated_front_port_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 66bfe434b..292fe8516 100644 --- a/model_paginated_front_port_template_list.go +++ b/model_paginated_front_port_template_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 4c9d72781..4d8188ebd 100644 --- a/model_paginated_group_list.go +++ b/model_paginated_group_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paginated_ike_policy_list.go b/model_paginated_ike_policy_list.go index f49bbcfd2..cb91c2e69 100644 --- a/model_paginated_ike_policy_list.go +++ b/model_paginated_ike_policy_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paginated_ike_proposal_list.go b/model_paginated_ike_proposal_list.go index 7a9cb122b..8ba95890d 100644 --- a/model_paginated_ike_proposal_list.go +++ b/model_paginated_ike_proposal_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 0dcc7260c..509d0a65f 100644 --- a/model_paginated_image_attachment_list.go +++ b/model_paginated_image_attachment_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 9ea763c86..081f36110 100644 --- a/model_paginated_interface_list.go +++ b/model_paginated_interface_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 c7f17dff3..0308b1bae 100644 --- a/model_paginated_interface_template_list.go +++ b/model_paginated_interface_template_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paginated_inventory_item_list.go b/model_paginated_inventory_item_list.go index 8eae06c5d..96ca2ba91 100644 --- a/model_paginated_inventory_item_list.go +++ b/model_paginated_inventory_item_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paginated_inventory_item_role_list.go b/model_paginated_inventory_item_role_list.go index 7a3dfa86a..fdf0bc410 100644 --- a/model_paginated_inventory_item_role_list.go +++ b/model_paginated_inventory_item_role_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paginated_inventory_item_template_list.go b/model_paginated_inventory_item_template_list.go index 8e1ebbaad..712580dd1 100644 --- a/model_paginated_inventory_item_template_list.go +++ b/model_paginated_inventory_item_template_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 71c624ba5..c368f2731 100644 --- a/model_paginated_ip_address_list.go +++ b/model_paginated_ip_address_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paginated_ip_range_list.go b/model_paginated_ip_range_list.go index 64b6c2ca5..685870b65 100644 --- a/model_paginated_ip_range_list.go +++ b/model_paginated_ip_range_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paginated_ip_sec_policy_list.go b/model_paginated_ip_sec_policy_list.go index 3904a4021..22f14d6d1 100644 --- a/model_paginated_ip_sec_policy_list.go +++ b/model_paginated_ip_sec_policy_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paginated_ip_sec_profile_list.go b/model_paginated_ip_sec_profile_list.go index 13e5dc8cc..88cd99632 100644 --- a/model_paginated_ip_sec_profile_list.go +++ b/model_paginated_ip_sec_profile_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paginated_ip_sec_proposal_list.go b/model_paginated_ip_sec_proposal_list.go index 562d884cf..252822929 100644 --- a/model_paginated_ip_sec_proposal_list.go +++ b/model_paginated_ip_sec_proposal_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 9c5266b90..22dbc4b74 100644 --- a/model_paginated_job_list.go +++ b/model_paginated_job_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paginated_journal_entry_list.go b/model_paginated_journal_entry_list.go index 39deffe63..30f284a5f 100644 --- a/model_paginated_journal_entry_list.go +++ b/model_paginated_journal_entry_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paginated_l2_vpn_list.go b/model_paginated_l2_vpn_list.go index 130fb6318..25e09b962 100644 --- a/model_paginated_l2_vpn_list.go +++ b/model_paginated_l2_vpn_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paginated_l2_vpn_termination_list.go b/model_paginated_l2_vpn_termination_list.go index 6fdc179ae..b86c428b4 100644 --- a/model_paginated_l2_vpn_termination_list.go +++ b/model_paginated_l2_vpn_termination_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 303ddb6f1..d2796b973 100644 --- a/model_paginated_location_list.go +++ b/model_paginated_location_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 1642d70e3..4eed41c13 100644 --- a/model_paginated_manufacturer_list.go +++ b/model_paginated_manufacturer_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 70cca7b2d..66a611ce0 100644 --- a/model_paginated_module_bay_list.go +++ b/model_paginated_module_bay_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 af3faa856..2bd1c614b 100644 --- a/model_paginated_module_bay_template_list.go +++ b/model_paginated_module_bay_template_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paginated_module_list.go b/model_paginated_module_list.go index af55ae292..0775758ad 100644 --- a/model_paginated_module_list.go +++ b/model_paginated_module_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 375f3b8f4..1f573ebcb 100644 --- a/model_paginated_module_type_list.go +++ b/model_paginated_module_type_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paginated_notification_group_list.go b/model_paginated_notification_group_list.go new file mode 100644 index 000000000..0b4dce0c4 --- /dev/null +++ b/model_paginated_notification_group_list.go @@ -0,0 +1,291 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the PaginatedNotificationGroupList type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PaginatedNotificationGroupList{} + +// PaginatedNotificationGroupList struct for PaginatedNotificationGroupList +type PaginatedNotificationGroupList struct { + Count int32 `json:"count"` + Next NullableString `json:"next,omitempty"` + Previous NullableString `json:"previous,omitempty"` + Results []NotificationGroup `json:"results"` + AdditionalProperties map[string]interface{} +} + +type _PaginatedNotificationGroupList PaginatedNotificationGroupList + +// NewPaginatedNotificationGroupList instantiates a new PaginatedNotificationGroupList object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewPaginatedNotificationGroupList(count int32, results []NotificationGroup) *PaginatedNotificationGroupList { + this := PaginatedNotificationGroupList{} + this.Count = count + this.Results = results + return &this +} + +// NewPaginatedNotificationGroupListWithDefaults instantiates a new PaginatedNotificationGroupList object +// This 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 NewPaginatedNotificationGroupListWithDefaults() *PaginatedNotificationGroupList { + this := PaginatedNotificationGroupList{} + return &this +} + +// GetCount returns the Count field value +func (o *PaginatedNotificationGroupList) 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 *PaginatedNotificationGroupList) GetCountOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Count, true +} + +// SetCount sets field value +func (o *PaginatedNotificationGroupList) 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 *PaginatedNotificationGroupList) 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 *PaginatedNotificationGroupList) 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 *PaginatedNotificationGroupList) 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 *PaginatedNotificationGroupList) SetNext(v string) { + o.Next.Set(&v) +} + +// SetNextNil sets the value for Next to be an explicit nil +func (o *PaginatedNotificationGroupList) SetNextNil() { + o.Next.Set(nil) +} + +// UnsetNext ensures that no value is present for Next, not even an explicit nil +func (o *PaginatedNotificationGroupList) 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 *PaginatedNotificationGroupList) 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 *PaginatedNotificationGroupList) 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 *PaginatedNotificationGroupList) 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 *PaginatedNotificationGroupList) SetPrevious(v string) { + o.Previous.Set(&v) +} + +// SetPreviousNil sets the value for Previous to be an explicit nil +func (o *PaginatedNotificationGroupList) SetPreviousNil() { + o.Previous.Set(nil) +} + +// UnsetPrevious ensures that no value is present for Previous, not even an explicit nil +func (o *PaginatedNotificationGroupList) UnsetPrevious() { + o.Previous.Unset() +} + +// GetResults returns the Results field value +func (o *PaginatedNotificationGroupList) GetResults() []NotificationGroup { + if o == nil { + var ret []NotificationGroup + 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 *PaginatedNotificationGroupList) GetResultsOk() ([]NotificationGroup, bool) { + if o == nil { + return nil, false + } + return o.Results, true +} + +// SetResults sets field value +func (o *PaginatedNotificationGroupList) SetResults(v []NotificationGroup) { + o.Results = v +} + +func (o PaginatedNotificationGroupList) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PaginatedNotificationGroupList) 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 *PaginatedNotificationGroupList) 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) + } + } + + varPaginatedNotificationGroupList := _PaginatedNotificationGroupList{} + + err = json.Unmarshal(data, &varPaginatedNotificationGroupList) + + if err != nil { + return err + } + + *o = PaginatedNotificationGroupList(varPaginatedNotificationGroupList) + + 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 NullablePaginatedNotificationGroupList struct { + value *PaginatedNotificationGroupList + isSet bool +} + +func (v NullablePaginatedNotificationGroupList) Get() *PaginatedNotificationGroupList { + return v.value +} + +func (v *NullablePaginatedNotificationGroupList) Set(val *PaginatedNotificationGroupList) { + v.value = val + v.isSet = true +} + +func (v NullablePaginatedNotificationGroupList) IsSet() bool { + return v.isSet +} + +func (v *NullablePaginatedNotificationGroupList) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePaginatedNotificationGroupList(val *PaginatedNotificationGroupList) *NullablePaginatedNotificationGroupList { + return &NullablePaginatedNotificationGroupList{value: val, isSet: true} +} + +func (v NullablePaginatedNotificationGroupList) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePaginatedNotificationGroupList) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_paginated_notification_list.go b/model_paginated_notification_list.go new file mode 100644 index 000000000..34f6e1e8b --- /dev/null +++ b/model_paginated_notification_list.go @@ -0,0 +1,291 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the PaginatedNotificationList type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PaginatedNotificationList{} + +// PaginatedNotificationList struct for PaginatedNotificationList +type PaginatedNotificationList struct { + Count int32 `json:"count"` + Next NullableString `json:"next,omitempty"` + Previous NullableString `json:"previous,omitempty"` + Results []Notification `json:"results"` + AdditionalProperties map[string]interface{} +} + +type _PaginatedNotificationList PaginatedNotificationList + +// NewPaginatedNotificationList instantiates a new PaginatedNotificationList object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewPaginatedNotificationList(count int32, results []Notification) *PaginatedNotificationList { + this := PaginatedNotificationList{} + this.Count = count + this.Results = results + return &this +} + +// NewPaginatedNotificationListWithDefaults instantiates a new PaginatedNotificationList object +// This 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 NewPaginatedNotificationListWithDefaults() *PaginatedNotificationList { + this := PaginatedNotificationList{} + return &this +} + +// GetCount returns the Count field value +func (o *PaginatedNotificationList) 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 *PaginatedNotificationList) GetCountOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Count, true +} + +// SetCount sets field value +func (o *PaginatedNotificationList) 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 *PaginatedNotificationList) 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 *PaginatedNotificationList) 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 *PaginatedNotificationList) 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 *PaginatedNotificationList) SetNext(v string) { + o.Next.Set(&v) +} + +// SetNextNil sets the value for Next to be an explicit nil +func (o *PaginatedNotificationList) SetNextNil() { + o.Next.Set(nil) +} + +// UnsetNext ensures that no value is present for Next, not even an explicit nil +func (o *PaginatedNotificationList) 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 *PaginatedNotificationList) 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 *PaginatedNotificationList) 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 *PaginatedNotificationList) 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 *PaginatedNotificationList) SetPrevious(v string) { + o.Previous.Set(&v) +} + +// SetPreviousNil sets the value for Previous to be an explicit nil +func (o *PaginatedNotificationList) SetPreviousNil() { + o.Previous.Set(nil) +} + +// UnsetPrevious ensures that no value is present for Previous, not even an explicit nil +func (o *PaginatedNotificationList) UnsetPrevious() { + o.Previous.Unset() +} + +// GetResults returns the Results field value +func (o *PaginatedNotificationList) GetResults() []Notification { + if o == nil { + var ret []Notification + 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 *PaginatedNotificationList) GetResultsOk() ([]Notification, bool) { + if o == nil { + return nil, false + } + return o.Results, true +} + +// SetResults sets field value +func (o *PaginatedNotificationList) SetResults(v []Notification) { + o.Results = v +} + +func (o PaginatedNotificationList) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PaginatedNotificationList) 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 *PaginatedNotificationList) 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) + } + } + + varPaginatedNotificationList := _PaginatedNotificationList{} + + err = json.Unmarshal(data, &varPaginatedNotificationList) + + if err != nil { + return err + } + + *o = PaginatedNotificationList(varPaginatedNotificationList) + + 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 NullablePaginatedNotificationList struct { + value *PaginatedNotificationList + isSet bool +} + +func (v NullablePaginatedNotificationList) Get() *PaginatedNotificationList { + return v.value +} + +func (v *NullablePaginatedNotificationList) Set(val *PaginatedNotificationList) { + v.value = val + v.isSet = true +} + +func (v NullablePaginatedNotificationList) IsSet() bool { + return v.isSet +} + +func (v *NullablePaginatedNotificationList) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePaginatedNotificationList(val *PaginatedNotificationList) *NullablePaginatedNotificationList { + return &NullablePaginatedNotificationList{value: val, isSet: true} +} + +func (v NullablePaginatedNotificationList) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePaginatedNotificationList) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_paginated_object_change_list.go b/model_paginated_object_change_list.go index c4cd994e4..ddf7ff085 100644 --- a/model_paginated_object_change_list.go +++ b/model_paginated_object_change_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 2484322f1..d8f13ffd3 100644 --- a/model_paginated_object_permission_list.go +++ b/model_paginated_object_permission_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paginated_object_type_list.go b/model_paginated_object_type_list.go index 1a24ef887..2b97cf743 100644 --- a/model_paginated_object_type_list.go +++ b/model_paginated_object_type_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 a5637f786..8ed283b4c 100644 --- a/model_paginated_platform_list.go +++ b/model_paginated_platform_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 a90726d50..a2d4ab493 100644 --- a/model_paginated_power_feed_list.go +++ b/model_paginated_power_feed_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 42cc10417..d0b209463 100644 --- a/model_paginated_power_outlet_list.go +++ b/model_paginated_power_outlet_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 dabff54c7..79a0fdda6 100644 --- a/model_paginated_power_outlet_template_list.go +++ b/model_paginated_power_outlet_template_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 a84ec9363..b662602d3 100644 --- a/model_paginated_power_panel_list.go +++ b/model_paginated_power_panel_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 a1b147420..0375cf948 100644 --- a/model_paginated_power_port_list.go +++ b/model_paginated_power_port_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 d8e709152..8171674de 100644 --- a/model_paginated_power_port_template_list.go +++ b/model_paginated_power_port_template_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 07147ed99..df2eea32e 100644 --- a/model_paginated_prefix_list.go +++ b/model_paginated_prefix_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paginated_provider_account_list.go b/model_paginated_provider_account_list.go index c48585038..840d8ca21 100644 --- a/model_paginated_provider_account_list.go +++ b/model_paginated_provider_account_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 5b180ac54..33b454d08 100644 --- a/model_paginated_provider_list.go +++ b/model_paginated_provider_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 b97c267f7..92b78469f 100644 --- a/model_paginated_provider_network_list.go +++ b/model_paginated_provider_network_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 f7bdd10a2..3586b5d8c 100644 --- a/model_paginated_rack_list.go +++ b/model_paginated_rack_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 20a799464..e7a0c2901 100644 --- a/model_paginated_rack_reservation_list.go +++ b/model_paginated_rack_reservation_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paginated_rack_role_list.go b/model_paginated_rack_role_list.go index e15fd7e27..a493df54c 100644 --- a/model_paginated_rack_role_list.go +++ b/model_paginated_rack_role_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paginated_rack_type_list.go b/model_paginated_rack_type_list.go new file mode 100644 index 000000000..b391ba501 --- /dev/null +++ b/model_paginated_rack_type_list.go @@ -0,0 +1,291 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the PaginatedRackTypeList type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PaginatedRackTypeList{} + +// PaginatedRackTypeList struct for PaginatedRackTypeList +type PaginatedRackTypeList struct { + Count int32 `json:"count"` + Next NullableString `json:"next,omitempty"` + Previous NullableString `json:"previous,omitempty"` + Results []RackType `json:"results"` + AdditionalProperties map[string]interface{} +} + +type _PaginatedRackTypeList PaginatedRackTypeList + +// NewPaginatedRackTypeList instantiates a new PaginatedRackTypeList object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewPaginatedRackTypeList(count int32, results []RackType) *PaginatedRackTypeList { + this := PaginatedRackTypeList{} + this.Count = count + this.Results = results + return &this +} + +// NewPaginatedRackTypeListWithDefaults instantiates a new PaginatedRackTypeList object +// This 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 NewPaginatedRackTypeListWithDefaults() *PaginatedRackTypeList { + this := PaginatedRackTypeList{} + return &this +} + +// GetCount returns the Count field value +func (o *PaginatedRackTypeList) 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 *PaginatedRackTypeList) GetCountOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Count, true +} + +// SetCount sets field value +func (o *PaginatedRackTypeList) 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 *PaginatedRackTypeList) 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 *PaginatedRackTypeList) 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 *PaginatedRackTypeList) 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 *PaginatedRackTypeList) SetNext(v string) { + o.Next.Set(&v) +} + +// SetNextNil sets the value for Next to be an explicit nil +func (o *PaginatedRackTypeList) SetNextNil() { + o.Next.Set(nil) +} + +// UnsetNext ensures that no value is present for Next, not even an explicit nil +func (o *PaginatedRackTypeList) 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 *PaginatedRackTypeList) 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 *PaginatedRackTypeList) 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 *PaginatedRackTypeList) 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 *PaginatedRackTypeList) SetPrevious(v string) { + o.Previous.Set(&v) +} + +// SetPreviousNil sets the value for Previous to be an explicit nil +func (o *PaginatedRackTypeList) SetPreviousNil() { + o.Previous.Set(nil) +} + +// UnsetPrevious ensures that no value is present for Previous, not even an explicit nil +func (o *PaginatedRackTypeList) UnsetPrevious() { + o.Previous.Unset() +} + +// GetResults returns the Results field value +func (o *PaginatedRackTypeList) GetResults() []RackType { + if o == nil { + var ret []RackType + 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 *PaginatedRackTypeList) GetResultsOk() ([]RackType, bool) { + if o == nil { + return nil, false + } + return o.Results, true +} + +// SetResults sets field value +func (o *PaginatedRackTypeList) SetResults(v []RackType) { + o.Results = v +} + +func (o PaginatedRackTypeList) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PaginatedRackTypeList) 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 *PaginatedRackTypeList) 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) + } + } + + varPaginatedRackTypeList := _PaginatedRackTypeList{} + + err = json.Unmarshal(data, &varPaginatedRackTypeList) + + if err != nil { + return err + } + + *o = PaginatedRackTypeList(varPaginatedRackTypeList) + + 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 NullablePaginatedRackTypeList struct { + value *PaginatedRackTypeList + isSet bool +} + +func (v NullablePaginatedRackTypeList) Get() *PaginatedRackTypeList { + return v.value +} + +func (v *NullablePaginatedRackTypeList) Set(val *PaginatedRackTypeList) { + v.value = val + v.isSet = true +} + +func (v NullablePaginatedRackTypeList) IsSet() bool { + return v.isSet +} + +func (v *NullablePaginatedRackTypeList) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePaginatedRackTypeList(val *PaginatedRackTypeList) *NullablePaginatedRackTypeList { + return &NullablePaginatedRackTypeList{value: val, isSet: true} +} + +func (v NullablePaginatedRackTypeList) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePaginatedRackTypeList) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_paginated_rack_unit_list.go b/model_paginated_rack_unit_list.go index 6aaf2e9d7..02368cb22 100644 --- a/model_paginated_rack_unit_list.go +++ b/model_paginated_rack_unit_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paginated_rear_port_list.go b/model_paginated_rear_port_list.go index c365786aa..b1d2a6a08 100644 --- a/model_paginated_rear_port_list.go +++ b/model_paginated_rear_port_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 72c089dfb..06a7692ae 100644 --- a/model_paginated_rear_port_template_list.go +++ b/model_paginated_rear_port_template_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paginated_region_list.go b/model_paginated_region_list.go index 3107d8007..e3ee432b2 100644 --- a/model_paginated_region_list.go +++ b/model_paginated_region_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 87507a75d..273bd7d84 100644 --- a/model_paginated_rir_list.go +++ b/model_paginated_rir_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 c22ab93d1..3df506fb0 100644 --- a/model_paginated_role_list.go +++ b/model_paginated_role_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 b6f02c906..b49c9796d 100644 --- a/model_paginated_route_target_list.go +++ b/model_paginated_route_target_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paginated_saved_filter_list.go b/model_paginated_saved_filter_list.go index 485e61081..0297dd9cd 100644 --- a/model_paginated_saved_filter_list.go +++ b/model_paginated_saved_filter_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paginated_script_list.go b/model_paginated_script_list.go index 72fec520f..d4a9d2687 100644 --- a/model_paginated_script_list.go +++ b/model_paginated_script_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 08b5508be..3acfae473 100644 --- a/model_paginated_service_list.go +++ b/model_paginated_service_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paginated_service_template_list.go b/model_paginated_service_template_list.go index e86b9abb9..75f397179 100644 --- a/model_paginated_service_template_list.go +++ b/model_paginated_service_template_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paginated_site_group_list.go b/model_paginated_site_group_list.go index ddcd397c9..6b95371dd 100644 --- a/model_paginated_site_group_list.go +++ b/model_paginated_site_group_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paginated_site_list.go b/model_paginated_site_list.go index a580aaeda..c8fde91b5 100644 --- a/model_paginated_site_list.go +++ b/model_paginated_site_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paginated_subscription_list.go b/model_paginated_subscription_list.go new file mode 100644 index 000000000..e48753cf9 --- /dev/null +++ b/model_paginated_subscription_list.go @@ -0,0 +1,291 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the PaginatedSubscriptionList type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PaginatedSubscriptionList{} + +// PaginatedSubscriptionList struct for PaginatedSubscriptionList +type PaginatedSubscriptionList struct { + Count int32 `json:"count"` + Next NullableString `json:"next,omitempty"` + Previous NullableString `json:"previous,omitempty"` + Results []Subscription `json:"results"` + AdditionalProperties map[string]interface{} +} + +type _PaginatedSubscriptionList PaginatedSubscriptionList + +// NewPaginatedSubscriptionList instantiates a new PaginatedSubscriptionList object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewPaginatedSubscriptionList(count int32, results []Subscription) *PaginatedSubscriptionList { + this := PaginatedSubscriptionList{} + this.Count = count + this.Results = results + return &this +} + +// NewPaginatedSubscriptionListWithDefaults instantiates a new PaginatedSubscriptionList object +// This 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 NewPaginatedSubscriptionListWithDefaults() *PaginatedSubscriptionList { + this := PaginatedSubscriptionList{} + return &this +} + +// GetCount returns the Count field value +func (o *PaginatedSubscriptionList) 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 *PaginatedSubscriptionList) GetCountOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Count, true +} + +// SetCount sets field value +func (o *PaginatedSubscriptionList) 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 *PaginatedSubscriptionList) 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 *PaginatedSubscriptionList) 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 *PaginatedSubscriptionList) 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 *PaginatedSubscriptionList) SetNext(v string) { + o.Next.Set(&v) +} + +// SetNextNil sets the value for Next to be an explicit nil +func (o *PaginatedSubscriptionList) SetNextNil() { + o.Next.Set(nil) +} + +// UnsetNext ensures that no value is present for Next, not even an explicit nil +func (o *PaginatedSubscriptionList) 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 *PaginatedSubscriptionList) 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 *PaginatedSubscriptionList) 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 *PaginatedSubscriptionList) 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 *PaginatedSubscriptionList) SetPrevious(v string) { + o.Previous.Set(&v) +} + +// SetPreviousNil sets the value for Previous to be an explicit nil +func (o *PaginatedSubscriptionList) SetPreviousNil() { + o.Previous.Set(nil) +} + +// UnsetPrevious ensures that no value is present for Previous, not even an explicit nil +func (o *PaginatedSubscriptionList) UnsetPrevious() { + o.Previous.Unset() +} + +// GetResults returns the Results field value +func (o *PaginatedSubscriptionList) GetResults() []Subscription { + if o == nil { + var ret []Subscription + 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 *PaginatedSubscriptionList) GetResultsOk() ([]Subscription, bool) { + if o == nil { + return nil, false + } + return o.Results, true +} + +// SetResults sets field value +func (o *PaginatedSubscriptionList) SetResults(v []Subscription) { + o.Results = v +} + +func (o PaginatedSubscriptionList) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PaginatedSubscriptionList) 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 *PaginatedSubscriptionList) 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) + } + } + + varPaginatedSubscriptionList := _PaginatedSubscriptionList{} + + err = json.Unmarshal(data, &varPaginatedSubscriptionList) + + if err != nil { + return err + } + + *o = PaginatedSubscriptionList(varPaginatedSubscriptionList) + + 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 NullablePaginatedSubscriptionList struct { + value *PaginatedSubscriptionList + isSet bool +} + +func (v NullablePaginatedSubscriptionList) Get() *PaginatedSubscriptionList { + return v.value +} + +func (v *NullablePaginatedSubscriptionList) Set(val *PaginatedSubscriptionList) { + v.value = val + v.isSet = true +} + +func (v NullablePaginatedSubscriptionList) IsSet() bool { + return v.isSet +} + +func (v *NullablePaginatedSubscriptionList) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePaginatedSubscriptionList(val *PaginatedSubscriptionList) *NullablePaginatedSubscriptionList { + return &NullablePaginatedSubscriptionList{value: val, isSet: true} +} + +func (v NullablePaginatedSubscriptionList) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePaginatedSubscriptionList) 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 129bb69b6..242e35479 100644 --- a/model_paginated_tag_list.go +++ b/model_paginated_tag_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 5fcddc543..a0edd68fe 100644 --- a/model_paginated_tenant_group_list.go +++ b/model_paginated_tenant_group_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 812dfe386..7fdb59cd7 100644 --- a/model_paginated_tenant_list.go +++ b/model_paginated_tenant_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 9a4bd2ab9..65ba5c8bb 100644 --- a/model_paginated_token_list.go +++ b/model_paginated_token_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paginated_tunnel_group_list.go b/model_paginated_tunnel_group_list.go index df1b972fb..0107d6766 100644 --- a/model_paginated_tunnel_group_list.go +++ b/model_paginated_tunnel_group_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paginated_tunnel_list.go b/model_paginated_tunnel_list.go index 768bdd00e..015b5274b 100644 --- a/model_paginated_tunnel_list.go +++ b/model_paginated_tunnel_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paginated_tunnel_termination_list.go b/model_paginated_tunnel_termination_list.go index f81a84ee0..465d5c4f5 100644 --- a/model_paginated_tunnel_termination_list.go +++ b/model_paginated_tunnel_termination_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 2d6a25913..5edab9b02 100644 --- a/model_paginated_user_list.go +++ b/model_paginated_user_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 6971b8d29..f2fa107b7 100644 --- a/model_paginated_virtual_chassis_list.go +++ b/model_paginated_virtual_chassis_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 index 3c5f35c09..4e4ae0ce1 100644 --- a/model_paginated_virtual_device_context_list.go +++ b/model_paginated_virtual_device_context_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paginated_virtual_disk_list.go b/model_paginated_virtual_disk_list.go index 1a16c146d..83b60443a 100644 --- a/model_paginated_virtual_disk_list.go +++ b/model_paginated_virtual_disk_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paginated_virtual_machine_with_config_context_list.go b/model_paginated_virtual_machine_with_config_context_list.go index a4ee1f21d..3695d816c 100644 --- a/model_paginated_virtual_machine_with_config_context_list.go +++ b/model_paginated_virtual_machine_with_config_context_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 cd2ac4951..3ecde0cc6 100644 --- a/model_paginated_vlan_group_list.go +++ b/model_paginated_vlan_group_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 28d8921ca..09303ed55 100644 --- a/model_paginated_vlan_list.go +++ b/model_paginated_vlan_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 c7d824fa8..bbc5cb05d 100644 --- a/model_paginated_vm_interface_list.go +++ b/model_paginated_vm_interface_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 95d2794d7..ac9e09e92 100644 --- a/model_paginated_vrf_list.go +++ b/model_paginated_vrf_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 242804243..637ad3f27 100644 --- a/model_paginated_webhook_list.go +++ b/model_paginated_webhook_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paginated_wireless_lan_group_list.go b/model_paginated_wireless_lan_group_list.go index c311ebbe7..435adad28 100644 --- a/model_paginated_wireless_lan_group_list.go +++ b/model_paginated_wireless_lan_group_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paginated_wireless_lan_list.go b/model_paginated_wireless_lan_list.go index cc98bc170..46c792c9c 100644 --- a/model_paginated_wireless_lan_list.go +++ b/model_paginated_wireless_lan_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paginated_wireless_link_list.go b/model_paginated_wireless_link_list.go index 6fb1c17df..5c78f1196 100644 --- a/model_paginated_wireless_link_list.go +++ b/model_paginated_wireless_link_list.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_parent_child_status.go b/model_parent_child_status.go index 06c4e1b12..d28c3a767 100644 --- a/model_parent_child_status.go +++ b/model_parent_child_status.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_parent_child_status_1.go b/model_parent_child_status_1.go index cb1bfa703..ba815a86b 100644 --- a/model_parent_child_status_1.go +++ b/model_parent_child_status_1.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_asn_range_request.go b/model_patched_asn_range_request.go index 1b27ab643..f0fe2cad2 100644 --- a/model_patched_asn_range_request.go +++ b/model_patched_asn_range_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,15 +19,15 @@ var _ MappedNullable = &PatchedASNRangeRequest{} // PatchedASNRangeRequest Adds support for custom fields and tags. type PatchedASNRangeRequest struct { - Name *string `json:"name,omitempty"` - Slug *string `json:"slug,omitempty"` - Rir *RIRRequest `json:"rir,omitempty"` - Start *int64 `json:"start,omitempty"` - End *int64 `json:"end,omitempty"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` - Description *string `json:"description,omitempty"` - Tags []NestedTagRequest `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` + Rir *BriefRIRRequest `json:"rir,omitempty"` + Start *int64 `json:"start,omitempty"` + End *int64 `json:"end,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` + Description *string `json:"description,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -115,9 +115,9 @@ func (o *PatchedASNRangeRequest) SetSlug(v string) { } // GetRir returns the Rir field value if set, zero value otherwise. -func (o *PatchedASNRangeRequest) GetRir() RIRRequest { +func (o *PatchedASNRangeRequest) GetRir() BriefRIRRequest { if o == nil || IsNil(o.Rir) { - var ret RIRRequest + var ret BriefRIRRequest return ret } return *o.Rir @@ -125,7 +125,7 @@ func (o *PatchedASNRangeRequest) GetRir() RIRRequest { // GetRirOk returns a tuple with the Rir field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedASNRangeRequest) GetRirOk() (*RIRRequest, bool) { +func (o *PatchedASNRangeRequest) GetRirOk() (*BriefRIRRequest, bool) { if o == nil || IsNil(o.Rir) { return nil, false } @@ -141,8 +141,8 @@ func (o *PatchedASNRangeRequest) HasRir() bool { return false } -// SetRir gets a reference to the given RIRRequest and assigns it to the Rir field. -func (o *PatchedASNRangeRequest) SetRir(v RIRRequest) { +// SetRir gets a reference to the given BriefRIRRequest and assigns it to the Rir field. +func (o *PatchedASNRangeRequest) SetRir(v BriefRIRRequest) { o.Rir = &v } @@ -211,9 +211,9 @@ func (o *PatchedASNRangeRequest) SetEnd(v int64) { } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedASNRangeRequest) GetTenant() TenantRequest { +func (o *PatchedASNRangeRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -222,7 +222,7 @@ func (o *PatchedASNRangeRequest) GetTenant() TenantRequest { // 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 *PatchedASNRangeRequest) GetTenantOk() (*TenantRequest, bool) { +func (o *PatchedASNRangeRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -238,8 +238,8 @@ func (o *PatchedASNRangeRequest) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *PatchedASNRangeRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *PatchedASNRangeRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } diff --git a/model_patched_asn_request.go b/model_patched_asn_request.go index 141b3513f..b341ce047 100644 --- a/model_patched_asn_request.go +++ b/model_patched_asn_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,13 +20,13 @@ var _ MappedNullable = &PatchedASNRequest{} // PatchedASNRequest Adds support for custom fields and tags. type PatchedASNRequest struct { // 16- or 32-bit autonomous system number - Asn *int64 `json:"asn,omitempty"` - Rir NullableRIRRequest `json:"rir,omitempty"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` - Description *string `json:"description,omitempty"` - Comments *string `json:"comments,omitempty"` - Tags []NestedTagRequest `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Asn *int64 `json:"asn,omitempty"` + Rir NullableBriefRIRRequest `json:"rir,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -82,9 +82,9 @@ func (o *PatchedASNRequest) SetAsn(v int64) { } // GetRir returns the Rir field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedASNRequest) GetRir() RIRRequest { +func (o *PatchedASNRequest) GetRir() BriefRIRRequest { if o == nil || IsNil(o.Rir.Get()) { - var ret RIRRequest + var ret BriefRIRRequest return ret } return *o.Rir.Get() @@ -93,7 +93,7 @@ func (o *PatchedASNRequest) GetRir() RIRRequest { // GetRirOk returns a tuple with the Rir 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 *PatchedASNRequest) GetRirOk() (*RIRRequest, bool) { +func (o *PatchedASNRequest) GetRirOk() (*BriefRIRRequest, bool) { if o == nil { return nil, false } @@ -109,8 +109,8 @@ func (o *PatchedASNRequest) HasRir() bool { return false } -// SetRir gets a reference to the given NullableRIRRequest and assigns it to the Rir field. -func (o *PatchedASNRequest) SetRir(v RIRRequest) { +// SetRir gets a reference to the given NullableBriefRIRRequest and assigns it to the Rir field. +func (o *PatchedASNRequest) SetRir(v BriefRIRRequest) { o.Rir.Set(&v) } @@ -125,9 +125,9 @@ func (o *PatchedASNRequest) UnsetRir() { } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedASNRequest) GetTenant() TenantRequest { +func (o *PatchedASNRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -136,7 +136,7 @@ func (o *PatchedASNRequest) GetTenant() TenantRequest { // 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 *PatchedASNRequest) GetTenantOk() (*TenantRequest, bool) { +func (o *PatchedASNRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -152,8 +152,8 @@ func (o *PatchedASNRequest) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *PatchedASNRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *PatchedASNRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } diff --git a/model_patched_bookmark_request.go b/model_patched_bookmark_request.go index 77f3b9cf4..1b8cfd0e5 100644 --- a/model_patched_bookmark_request.go +++ b/model_patched_bookmark_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,9 +19,9 @@ var _ MappedNullable = &PatchedBookmarkRequest{} // PatchedBookmarkRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 PatchedBookmarkRequest struct { - ObjectType *string `json:"object_type,omitempty"` - ObjectId *int64 `json:"object_id,omitempty"` - User *UserRequest `json:"user,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + ObjectId *int64 `json:"object_id,omitempty"` + User *BriefUserRequest `json:"user,omitempty"` AdditionalProperties map[string]interface{} } @@ -109,9 +109,9 @@ func (o *PatchedBookmarkRequest) SetObjectId(v int64) { } // GetUser returns the User field value if set, zero value otherwise. -func (o *PatchedBookmarkRequest) GetUser() UserRequest { +func (o *PatchedBookmarkRequest) GetUser() BriefUserRequest { if o == nil || IsNil(o.User) { - var ret UserRequest + var ret BriefUserRequest return ret } return *o.User @@ -119,7 +119,7 @@ func (o *PatchedBookmarkRequest) GetUser() UserRequest { // GetUserOk returns a tuple with the User field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedBookmarkRequest) GetUserOk() (*UserRequest, bool) { +func (o *PatchedBookmarkRequest) GetUserOk() (*BriefUserRequest, bool) { if o == nil || IsNil(o.User) { return nil, false } @@ -135,8 +135,8 @@ func (o *PatchedBookmarkRequest) HasUser() bool { return false } -// SetUser gets a reference to the given UserRequest and assigns it to the User field. -func (o *PatchedBookmarkRequest) SetUser(v UserRequest) { +// SetUser gets a reference to the given BriefUserRequest and assigns it to the User field. +func (o *PatchedBookmarkRequest) SetUser(v BriefUserRequest) { o.User = &v } diff --git a/model_patched_cable_termination_request.go b/model_patched_cable_termination_request.go index f7377564b..3121440a1 100644 --- a/model_patched_cable_termination_request.go +++ b/model_patched_cable_termination_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_circuit_group_request.go b/model_patched_circuit_group_request.go new file mode 100644 index 000000000..2b7f76cdb --- /dev/null +++ b/model_patched_circuit_group_request.go @@ -0,0 +1,349 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" +) + +// checks if the PatchedCircuitGroupRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PatchedCircuitGroupRequest{} + +// PatchedCircuitGroupRequest Adds support for custom fields and tags. +type PatchedCircuitGroupRequest struct { + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` + Description *string `json:"description,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _PatchedCircuitGroupRequest PatchedCircuitGroupRequest + +// NewPatchedCircuitGroupRequest instantiates a new PatchedCircuitGroupRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewPatchedCircuitGroupRequest() *PatchedCircuitGroupRequest { + this := PatchedCircuitGroupRequest{} + return &this +} + +// NewPatchedCircuitGroupRequestWithDefaults instantiates a new PatchedCircuitGroupRequest object +// This 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 NewPatchedCircuitGroupRequestWithDefaults() *PatchedCircuitGroupRequest { + this := PatchedCircuitGroupRequest{} + return &this +} + +// GetName returns the Name field value if set, zero value otherwise. +func (o *PatchedCircuitGroupRequest) 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 *PatchedCircuitGroupRequest) 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 *PatchedCircuitGroupRequest) 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 *PatchedCircuitGroupRequest) SetName(v string) { + o.Name = &v +} + +// GetSlug returns the Slug field value if set, zero value otherwise. +func (o *PatchedCircuitGroupRequest) GetSlug() string { + if o == nil || IsNil(o.Slug) { + var ret string + return ret + } + return *o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedCircuitGroupRequest) GetSlugOk() (*string, bool) { + if o == nil || IsNil(o.Slug) { + return nil, false + } + return o.Slug, true +} + +// HasSlug returns a boolean if a field has been set. +func (o *PatchedCircuitGroupRequest) HasSlug() bool { + if o != nil && !IsNil(o.Slug) { + return true + } + + return false +} + +// SetSlug gets a reference to the given string and assigns it to the Slug field. +func (o *PatchedCircuitGroupRequest) SetSlug(v string) { + o.Slug = &v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *PatchedCircuitGroupRequest) 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 *PatchedCircuitGroupRequest) 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 *PatchedCircuitGroupRequest) 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 *PatchedCircuitGroupRequest) SetDescription(v string) { + o.Description = &v +} + +// GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedCircuitGroupRequest) GetTenant() BriefTenantRequest { + if o == nil || IsNil(o.Tenant.Get()) { + var ret BriefTenantRequest + 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 *PatchedCircuitGroupRequest) GetTenantOk() (*BriefTenantRequest, 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 *PatchedCircuitGroupRequest) HasTenant() bool { + if o != nil && o.Tenant.IsSet() { + return true + } + + return false +} + +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *PatchedCircuitGroupRequest) SetTenant(v BriefTenantRequest) { + o.Tenant.Set(&v) +} + +// SetTenantNil sets the value for Tenant to be an explicit nil +func (o *PatchedCircuitGroupRequest) SetTenantNil() { + o.Tenant.Set(nil) +} + +// UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +func (o *PatchedCircuitGroupRequest) UnsetTenant() { + o.Tenant.Unset() +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *PatchedCircuitGroupRequest) GetTags() []NestedTagRequest { + if o == nil || IsNil(o.Tags) { + var ret []NestedTagRequest + 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 *PatchedCircuitGroupRequest) GetTagsOk() ([]NestedTagRequest, 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 *PatchedCircuitGroupRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTagRequest and assigns it to the Tags field. +func (o *PatchedCircuitGroupRequest) SetTags(v []NestedTagRequest) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *PatchedCircuitGroupRequest) 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 *PatchedCircuitGroupRequest) 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 *PatchedCircuitGroupRequest) 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 *PatchedCircuitGroupRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +func (o PatchedCircuitGroupRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PatchedCircuitGroupRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Name) { + toSerialize["name"] = o.Name + } + if !IsNil(o.Slug) { + toSerialize["slug"] = o.Slug + } + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + 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 + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *PatchedCircuitGroupRequest) UnmarshalJSON(data []byte) (err error) { + varPatchedCircuitGroupRequest := _PatchedCircuitGroupRequest{} + + err = json.Unmarshal(data, &varPatchedCircuitGroupRequest) + + if err != nil { + return err + } + + *o = PatchedCircuitGroupRequest(varPatchedCircuitGroupRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "name") + delete(additionalProperties, "slug") + delete(additionalProperties, "description") + delete(additionalProperties, "tenant") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullablePatchedCircuitGroupRequest struct { + value *PatchedCircuitGroupRequest + isSet bool +} + +func (v NullablePatchedCircuitGroupRequest) Get() *PatchedCircuitGroupRequest { + return v.value +} + +func (v *NullablePatchedCircuitGroupRequest) Set(val *PatchedCircuitGroupRequest) { + v.value = val + v.isSet = true +} + +func (v NullablePatchedCircuitGroupRequest) IsSet() bool { + return v.isSet +} + +func (v *NullablePatchedCircuitGroupRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePatchedCircuitGroupRequest(val *PatchedCircuitGroupRequest) *NullablePatchedCircuitGroupRequest { + return &NullablePatchedCircuitGroupRequest{value: val, isSet: true} +} + +func (v NullablePatchedCircuitGroupRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePatchedCircuitGroupRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_patched_circuit_termination_request.go b/model_patched_circuit_termination_request.go index 5367122df..3c255cdca 100644 --- a/model_patched_circuit_termination_request.go +++ b/model_patched_circuit_termination_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,10 +19,10 @@ var _ MappedNullable = &PatchedCircuitTerminationRequest{} // PatchedCircuitTerminationRequest Adds support for custom fields and tags. type PatchedCircuitTerminationRequest struct { - Circuit *CircuitRequest `json:"circuit,omitempty"` - TermSide *Termination1 `json:"term_side,omitempty"` - Site NullableSiteRequest `json:"site,omitempty"` - ProviderNetwork NullableProviderNetworkRequest `json:"provider_network,omitempty"` + Circuit *BriefCircuitRequest `json:"circuit,omitempty"` + TermSide *Termination1 `json:"term_side,omitempty"` + Site NullableBriefSiteRequest `json:"site,omitempty"` + ProviderNetwork NullableBriefProviderNetworkRequest `json:"provider_network,omitempty"` // Physical circuit speed PortSpeed NullableInt32 `json:"port_speed,omitempty"` // Upstream speed, if different from port speed @@ -59,9 +59,9 @@ func NewPatchedCircuitTerminationRequestWithDefaults() *PatchedCircuitTerminatio } // GetCircuit returns the Circuit field value if set, zero value otherwise. -func (o *PatchedCircuitTerminationRequest) GetCircuit() CircuitRequest { +func (o *PatchedCircuitTerminationRequest) GetCircuit() BriefCircuitRequest { if o == nil || IsNil(o.Circuit) { - var ret CircuitRequest + var ret BriefCircuitRequest return ret } return *o.Circuit @@ -69,7 +69,7 @@ func (o *PatchedCircuitTerminationRequest) GetCircuit() CircuitRequest { // GetCircuitOk returns a tuple with the Circuit field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedCircuitTerminationRequest) GetCircuitOk() (*CircuitRequest, bool) { +func (o *PatchedCircuitTerminationRequest) GetCircuitOk() (*BriefCircuitRequest, bool) { if o == nil || IsNil(o.Circuit) { return nil, false } @@ -85,8 +85,8 @@ func (o *PatchedCircuitTerminationRequest) HasCircuit() bool { return false } -// SetCircuit gets a reference to the given CircuitRequest and assigns it to the Circuit field. -func (o *PatchedCircuitTerminationRequest) SetCircuit(v CircuitRequest) { +// SetCircuit gets a reference to the given BriefCircuitRequest and assigns it to the Circuit field. +func (o *PatchedCircuitTerminationRequest) SetCircuit(v BriefCircuitRequest) { o.Circuit = &v } @@ -123,9 +123,9 @@ func (o *PatchedCircuitTerminationRequest) SetTermSide(v Termination1) { } // GetSite returns the Site field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedCircuitTerminationRequest) GetSite() SiteRequest { +func (o *PatchedCircuitTerminationRequest) GetSite() BriefSiteRequest { if o == nil || IsNil(o.Site.Get()) { - var ret SiteRequest + var ret BriefSiteRequest return ret } return *o.Site.Get() @@ -134,7 +134,7 @@ func (o *PatchedCircuitTerminationRequest) GetSite() SiteRequest { // GetSiteOk returns a tuple with the Site 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 *PatchedCircuitTerminationRequest) GetSiteOk() (*SiteRequest, bool) { +func (o *PatchedCircuitTerminationRequest) GetSiteOk() (*BriefSiteRequest, bool) { if o == nil { return nil, false } @@ -150,8 +150,8 @@ func (o *PatchedCircuitTerminationRequest) HasSite() bool { return false } -// SetSite gets a reference to the given NullableSiteRequest and assigns it to the Site field. -func (o *PatchedCircuitTerminationRequest) SetSite(v SiteRequest) { +// SetSite gets a reference to the given NullableBriefSiteRequest and assigns it to the Site field. +func (o *PatchedCircuitTerminationRequest) SetSite(v BriefSiteRequest) { o.Site.Set(&v) } @@ -166,9 +166,9 @@ func (o *PatchedCircuitTerminationRequest) UnsetSite() { } // GetProviderNetwork returns the ProviderNetwork field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedCircuitTerminationRequest) GetProviderNetwork() ProviderNetworkRequest { +func (o *PatchedCircuitTerminationRequest) GetProviderNetwork() BriefProviderNetworkRequest { if o == nil || IsNil(o.ProviderNetwork.Get()) { - var ret ProviderNetworkRequest + var ret BriefProviderNetworkRequest return ret } return *o.ProviderNetwork.Get() @@ -177,7 +177,7 @@ func (o *PatchedCircuitTerminationRequest) GetProviderNetwork() ProviderNetworkR // GetProviderNetworkOk returns a tuple with the ProviderNetwork 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 *PatchedCircuitTerminationRequest) GetProviderNetworkOk() (*ProviderNetworkRequest, bool) { +func (o *PatchedCircuitTerminationRequest) GetProviderNetworkOk() (*BriefProviderNetworkRequest, bool) { if o == nil { return nil, false } @@ -193,8 +193,8 @@ func (o *PatchedCircuitTerminationRequest) HasProviderNetwork() bool { return false } -// SetProviderNetwork gets a reference to the given NullableProviderNetworkRequest and assigns it to the ProviderNetwork field. -func (o *PatchedCircuitTerminationRequest) SetProviderNetwork(v ProviderNetworkRequest) { +// SetProviderNetwork gets a reference to the given NullableBriefProviderNetworkRequest and assigns it to the ProviderNetwork field. +func (o *PatchedCircuitTerminationRequest) SetProviderNetwork(v BriefProviderNetworkRequest) { o.ProviderNetwork.Set(&v) } diff --git a/model_patched_circuit_type_request.go b/model_patched_circuit_type_request.go index cfb64cab6..68bba92f7 100644 --- a/model_patched_circuit_type_request.go +++ b/model_patched_circuit_type_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_cluster_group_request.go b/model_patched_cluster_group_request.go index 10b1fdbac..52a60ccb8 100644 --- a/model_patched_cluster_group_request.go +++ b/model_patched_cluster_group_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_cluster_type_request.go b/model_patched_cluster_type_request.go index bcb47d3cd..d332fb0d8 100644 --- a/model_patched_cluster_type_request.go +++ b/model_patched_cluster_type_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_config_context_request.go b/model_patched_config_context_request.go index f8665cfe6..2f875d0cf 100644 --- a/model_patched_config_context_request.go +++ b/model_patched_config_context_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,25 +19,25 @@ 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 { - Name *string `json:"name,omitempty"` - Weight *int32 `json:"weight,omitempty"` - Description *string `json:"description,omitempty"` - IsActive *bool `json:"is_active,omitempty"` - Regions []int32 `json:"regions,omitempty"` - SiteGroups []int32 `json:"site_groups,omitempty"` - Sites []int32 `json:"sites,omitempty"` - Locations []int32 `json:"locations,omitempty"` - DeviceTypes []int32 `json:"device_types,omitempty"` - Roles []int32 `json:"roles,omitempty"` - Platforms []int32 `json:"platforms,omitempty"` - ClusterTypes []int32 `json:"cluster_types,omitempty"` - ClusterGroups []int32 `json:"cluster_groups,omitempty"` - Clusters []int32 `json:"clusters,omitempty"` - TenantGroups []int32 `json:"tenant_groups,omitempty"` - Tenants []int32 `json:"tenants,omitempty"` - Tags []string `json:"tags,omitempty"` - DataSource *DataSourceRequest `json:"data_source,omitempty"` - Data interface{} `json:"data,omitempty"` + Name *string `json:"name,omitempty"` + Weight *int32 `json:"weight,omitempty"` + Description *string `json:"description,omitempty"` + IsActive *bool `json:"is_active,omitempty"` + Regions []int32 `json:"regions,omitempty"` + SiteGroups []int32 `json:"site_groups,omitempty"` + Sites []int32 `json:"sites,omitempty"` + Locations []int32 `json:"locations,omitempty"` + DeviceTypes []int32 `json:"device_types,omitempty"` + Roles []int32 `json:"roles,omitempty"` + Platforms []int32 `json:"platforms,omitempty"` + ClusterTypes []int32 `json:"cluster_types,omitempty"` + ClusterGroups []int32 `json:"cluster_groups,omitempty"` + Clusters []int32 `json:"clusters,omitempty"` + TenantGroups []int32 `json:"tenant_groups,omitempty"` + Tenants []int32 `json:"tenants,omitempty"` + Tags []string `json:"tags,omitempty"` + DataSource *BriefDataSourceRequest `json:"data_source,omitempty"` + Data interface{} `json:"data,omitempty"` AdditionalProperties map[string]interface{} } @@ -605,9 +605,9 @@ func (o *PatchedConfigContextRequest) SetTags(v []string) { } // GetDataSource returns the DataSource field value if set, zero value otherwise. -func (o *PatchedConfigContextRequest) GetDataSource() DataSourceRequest { +func (o *PatchedConfigContextRequest) GetDataSource() BriefDataSourceRequest { if o == nil || IsNil(o.DataSource) { - var ret DataSourceRequest + var ret BriefDataSourceRequest return ret } return *o.DataSource @@ -615,7 +615,7 @@ func (o *PatchedConfigContextRequest) GetDataSource() DataSourceRequest { // GetDataSourceOk returns a tuple with the DataSource field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedConfigContextRequest) GetDataSourceOk() (*DataSourceRequest, bool) { +func (o *PatchedConfigContextRequest) GetDataSourceOk() (*BriefDataSourceRequest, bool) { if o == nil || IsNil(o.DataSource) { return nil, false } @@ -631,8 +631,8 @@ func (o *PatchedConfigContextRequest) HasDataSource() bool { return false } -// SetDataSource gets a reference to the given DataSourceRequest and assigns it to the DataSource field. -func (o *PatchedConfigContextRequest) SetDataSource(v DataSourceRequest) { +// SetDataSource gets a reference to the given BriefDataSourceRequest and assigns it to the DataSource field. +func (o *PatchedConfigContextRequest) SetDataSource(v BriefDataSourceRequest) { o.DataSource = &v } diff --git a/model_patched_config_template_request.go b/model_patched_config_template_request.go index f4db50b41..911399020 100644 --- a/model_patched_config_template_request.go +++ b/model_patched_config_template_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -24,9 +24,9 @@ type PatchedConfigTemplateRequest struct { // Any additional parameters to pass when constructing the Jinja2 environment. EnvironmentParams interface{} `json:"environment_params,omitempty"` // Jinja2 template code. - TemplateCode *string `json:"template_code,omitempty"` - DataSource *DataSourceRequest `json:"data_source,omitempty"` - Tags []NestedTagRequest `json:"tags,omitempty"` + TemplateCode *string `json:"template_code,omitempty"` + DataSource *BriefDataSourceRequest `json:"data_source,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` AdditionalProperties map[string]interface{} } @@ -179,9 +179,9 @@ func (o *PatchedConfigTemplateRequest) SetTemplateCode(v string) { } // GetDataSource returns the DataSource field value if set, zero value otherwise. -func (o *PatchedConfigTemplateRequest) GetDataSource() DataSourceRequest { +func (o *PatchedConfigTemplateRequest) GetDataSource() BriefDataSourceRequest { if o == nil || IsNil(o.DataSource) { - var ret DataSourceRequest + var ret BriefDataSourceRequest return ret } return *o.DataSource @@ -189,7 +189,7 @@ func (o *PatchedConfigTemplateRequest) GetDataSource() DataSourceRequest { // GetDataSourceOk returns a tuple with the DataSource field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedConfigTemplateRequest) GetDataSourceOk() (*DataSourceRequest, bool) { +func (o *PatchedConfigTemplateRequest) GetDataSourceOk() (*BriefDataSourceRequest, bool) { if o == nil || IsNil(o.DataSource) { return nil, false } @@ -205,8 +205,8 @@ func (o *PatchedConfigTemplateRequest) HasDataSource() bool { return false } -// SetDataSource gets a reference to the given DataSourceRequest and assigns it to the DataSource field. -func (o *PatchedConfigTemplateRequest) SetDataSource(v DataSourceRequest) { +// SetDataSource gets a reference to the given BriefDataSourceRequest and assigns it to the DataSource field. +func (o *PatchedConfigTemplateRequest) SetDataSource(v BriefDataSourceRequest) { o.DataSource = &v } diff --git a/model_patched_contact_request.go b/model_patched_contact_request.go index d5baee7b4..86643699b 100644 --- a/model_patched_contact_request.go +++ b/model_patched_contact_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,17 +19,17 @@ var _ MappedNullable = &PatchedContactRequest{} // PatchedContactRequest Adds support for custom fields and tags. type PatchedContactRequest struct { - Group NullableContactGroupRequest `json:"group,omitempty"` - Name *string `json:"name,omitempty"` - Title *string `json:"title,omitempty"` - Phone *string `json:"phone,omitempty"` - Email *string `json:"email,omitempty"` - Address *string `json:"address,omitempty"` - Link *string `json:"link,omitempty"` - Description *string `json:"description,omitempty"` - Comments *string `json:"comments,omitempty"` - Tags []NestedTagRequest `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Group NullableBriefContactGroupRequest `json:"group,omitempty"` + Name *string `json:"name,omitempty"` + Title *string `json:"title,omitempty"` + Phone *string `json:"phone,omitempty"` + Email *string `json:"email,omitempty"` + Address *string `json:"address,omitempty"` + Link *string `json:"link,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -53,9 +53,9 @@ func NewPatchedContactRequestWithDefaults() *PatchedContactRequest { } // GetGroup returns the Group field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedContactRequest) GetGroup() ContactGroupRequest { +func (o *PatchedContactRequest) GetGroup() BriefContactGroupRequest { if o == nil || IsNil(o.Group.Get()) { - var ret ContactGroupRequest + var ret BriefContactGroupRequest return ret } return *o.Group.Get() @@ -64,7 +64,7 @@ func (o *PatchedContactRequest) GetGroup() ContactGroupRequest { // GetGroupOk returns a tuple with the Group 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 *PatchedContactRequest) GetGroupOk() (*ContactGroupRequest, bool) { +func (o *PatchedContactRequest) GetGroupOk() (*BriefContactGroupRequest, bool) { if o == nil { return nil, false } @@ -80,8 +80,8 @@ func (o *PatchedContactRequest) HasGroup() bool { return false } -// SetGroup gets a reference to the given NullableContactGroupRequest and assigns it to the Group field. -func (o *PatchedContactRequest) SetGroup(v ContactGroupRequest) { +// SetGroup gets a reference to the given NullableBriefContactGroupRequest and assigns it to the Group field. +func (o *PatchedContactRequest) SetGroup(v BriefContactGroupRequest) { o.Group.Set(&v) } diff --git a/model_patched_contact_role_request.go b/model_patched_contact_role_request.go index 70f768954..fe6d2ce75 100644 --- a/model_patched_contact_role_request.go +++ b/model_patched_contact_role_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_custom_link_request.go b/model_patched_custom_link_request.go index 19833836f..947176c8d 100644 --- a/model_patched_custom_link_request.go +++ b/model_patched_custom_link_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_dashboard_request.go b/model_patched_dashboard_request.go index eeef729d4..3f49ff271 100644 --- a/model_patched_dashboard_request.go +++ b/model_patched_dashboard_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_device_bay_request.go b/model_patched_device_bay_request.go index a9acadd79..91d4db86a 100644 --- a/model_patched_device_bay_request.go +++ b/model_patched_device_bay_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,14 +19,14 @@ var _ MappedNullable = &PatchedDeviceBayRequest{} // PatchedDeviceBayRequest Adds support for custom fields and tags. type PatchedDeviceBayRequest struct { - Device *DeviceRequest `json:"device,omitempty"` - Name *string `json:"name,omitempty"` + Device *BriefDeviceRequest `json:"device,omitempty"` + Name *string `json:"name,omitempty"` // Physical label - Label *string `json:"label,omitempty"` - Description *string `json:"description,omitempty"` - InstalledDevice NullableDeviceRequest `json:"installed_device,omitempty"` - Tags []NestedTagRequest `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Label *string `json:"label,omitempty"` + Description *string `json:"description,omitempty"` + InstalledDevice NullableBriefDeviceRequest `json:"installed_device,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -50,9 +50,9 @@ func NewPatchedDeviceBayRequestWithDefaults() *PatchedDeviceBayRequest { } // GetDevice returns the Device field value if set, zero value otherwise. -func (o *PatchedDeviceBayRequest) GetDevice() DeviceRequest { +func (o *PatchedDeviceBayRequest) GetDevice() BriefDeviceRequest { if o == nil || IsNil(o.Device) { - var ret DeviceRequest + var ret BriefDeviceRequest return ret } return *o.Device @@ -60,7 +60,7 @@ func (o *PatchedDeviceBayRequest) GetDevice() DeviceRequest { // 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 *PatchedDeviceBayRequest) GetDeviceOk() (*DeviceRequest, bool) { +func (o *PatchedDeviceBayRequest) GetDeviceOk() (*BriefDeviceRequest, bool) { if o == nil || IsNil(o.Device) { return nil, false } @@ -76,8 +76,8 @@ func (o *PatchedDeviceBayRequest) HasDevice() bool { return false } -// SetDevice gets a reference to the given DeviceRequest and assigns it to the Device field. -func (o *PatchedDeviceBayRequest) SetDevice(v DeviceRequest) { +// SetDevice gets a reference to the given BriefDeviceRequest and assigns it to the Device field. +func (o *PatchedDeviceBayRequest) SetDevice(v BriefDeviceRequest) { o.Device = &v } @@ -178,9 +178,9 @@ func (o *PatchedDeviceBayRequest) SetDescription(v string) { } // GetInstalledDevice returns the InstalledDevice field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedDeviceBayRequest) GetInstalledDevice() DeviceRequest { +func (o *PatchedDeviceBayRequest) GetInstalledDevice() BriefDeviceRequest { if o == nil || IsNil(o.InstalledDevice.Get()) { - var ret DeviceRequest + var ret BriefDeviceRequest return ret } return *o.InstalledDevice.Get() @@ -189,7 +189,7 @@ func (o *PatchedDeviceBayRequest) GetInstalledDevice() DeviceRequest { // GetInstalledDeviceOk returns a tuple with the InstalledDevice 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 *PatchedDeviceBayRequest) GetInstalledDeviceOk() (*DeviceRequest, bool) { +func (o *PatchedDeviceBayRequest) GetInstalledDeviceOk() (*BriefDeviceRequest, bool) { if o == nil { return nil, false } @@ -205,8 +205,8 @@ func (o *PatchedDeviceBayRequest) HasInstalledDevice() bool { return false } -// SetInstalledDevice gets a reference to the given NullableDeviceRequest and assigns it to the InstalledDevice field. -func (o *PatchedDeviceBayRequest) SetInstalledDevice(v DeviceRequest) { +// SetInstalledDevice gets a reference to the given NullableBriefDeviceRequest and assigns it to the InstalledDevice field. +func (o *PatchedDeviceBayRequest) SetInstalledDevice(v BriefDeviceRequest) { o.InstalledDevice.Set(&v) } diff --git a/model_patched_device_bay_template_request.go b/model_patched_device_bay_template_request.go index 0bb253897..970a311e3 100644 --- a/model_patched_device_bay_template_request.go +++ b/model_patched_device_bay_template_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,7 +19,7 @@ var _ MappedNullable = &PatchedDeviceBayTemplateRequest{} // PatchedDeviceBayTemplateRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 PatchedDeviceBayTemplateRequest struct { - DeviceType *DeviceTypeRequest `json:"device_type,omitempty"` + DeviceType *BriefDeviceTypeRequest `json:"device_type,omitempty"` // {module} is accepted as a substitution for the module bay position when attached to a module type. Name *string `json:"name,omitempty"` // Physical label @@ -48,9 +48,9 @@ func NewPatchedDeviceBayTemplateRequestWithDefaults() *PatchedDeviceBayTemplateR } // GetDeviceType returns the DeviceType field value if set, zero value otherwise. -func (o *PatchedDeviceBayTemplateRequest) GetDeviceType() DeviceTypeRequest { +func (o *PatchedDeviceBayTemplateRequest) GetDeviceType() BriefDeviceTypeRequest { if o == nil || IsNil(o.DeviceType) { - var ret DeviceTypeRequest + var ret BriefDeviceTypeRequest return ret } return *o.DeviceType @@ -58,7 +58,7 @@ func (o *PatchedDeviceBayTemplateRequest) GetDeviceType() DeviceTypeRequest { // GetDeviceTypeOk returns a tuple with the DeviceType field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedDeviceBayTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool) { +func (o *PatchedDeviceBayTemplateRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool) { if o == nil || IsNil(o.DeviceType) { return nil, false } @@ -74,8 +74,8 @@ func (o *PatchedDeviceBayTemplateRequest) HasDeviceType() bool { return false } -// SetDeviceType gets a reference to the given DeviceTypeRequest and assigns it to the DeviceType field. -func (o *PatchedDeviceBayTemplateRequest) SetDeviceType(v DeviceTypeRequest) { +// SetDeviceType gets a reference to the given BriefDeviceTypeRequest and assigns it to the DeviceType field. +func (o *PatchedDeviceBayTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest) { o.DeviceType = &v } diff --git a/model_patched_device_role_request.go b/model_patched_device_role_request.go index f2ef464b9..67aa8781c 100644 --- a/model_patched_device_role_request.go +++ b/model_patched_device_role_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -23,11 +23,11 @@ type PatchedDeviceRoleRequest struct { Slug *string `json:"slug,omitempty"` Color *string `json:"color,omitempty"` // Virtual machines may be assigned to this role - VmRole *bool `json:"vm_role,omitempty"` - ConfigTemplate NullableConfigTemplateRequest `json:"config_template,omitempty"` - Description *string `json:"description,omitempty"` - Tags []NestedTagRequest `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + VmRole *bool `json:"vm_role,omitempty"` + ConfigTemplate NullableBriefConfigTemplateRequest `json:"config_template,omitempty"` + Description *string `json:"description,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -179,9 +179,9 @@ func (o *PatchedDeviceRoleRequest) SetVmRole(v bool) { } // GetConfigTemplate returns the ConfigTemplate field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedDeviceRoleRequest) GetConfigTemplate() ConfigTemplateRequest { +func (o *PatchedDeviceRoleRequest) GetConfigTemplate() BriefConfigTemplateRequest { if o == nil || IsNil(o.ConfigTemplate.Get()) { - var ret ConfigTemplateRequest + var ret BriefConfigTemplateRequest return ret } return *o.ConfigTemplate.Get() @@ -190,7 +190,7 @@ func (o *PatchedDeviceRoleRequest) GetConfigTemplate() ConfigTemplateRequest { // GetConfigTemplateOk returns a tuple with the ConfigTemplate 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 *PatchedDeviceRoleRequest) GetConfigTemplateOk() (*ConfigTemplateRequest, bool) { +func (o *PatchedDeviceRoleRequest) GetConfigTemplateOk() (*BriefConfigTemplateRequest, bool) { if o == nil { return nil, false } @@ -206,8 +206,8 @@ func (o *PatchedDeviceRoleRequest) HasConfigTemplate() bool { return false } -// SetConfigTemplate gets a reference to the given NullableConfigTemplateRequest and assigns it to the ConfigTemplate field. -func (o *PatchedDeviceRoleRequest) SetConfigTemplate(v ConfigTemplateRequest) { +// SetConfigTemplate gets a reference to the given NullableBriefConfigTemplateRequest and assigns it to the ConfigTemplate field. +func (o *PatchedDeviceRoleRequest) SetConfigTemplate(v BriefConfigTemplateRequest) { o.ConfigTemplate.Set(&v) } diff --git a/model_patched_export_template_request.go b/model_patched_export_template_request.go index db7c07934..b29395c68 100644 --- a/model_patched_export_template_request.go +++ b/model_patched_export_template_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -29,8 +29,8 @@ type PatchedExportTemplateRequest struct { // Extension to append to the rendered filename FileExtension *string `json:"file_extension,omitempty"` // Download file as attachment - AsAttachment *bool `json:"as_attachment,omitempty"` - DataSource *DataSourceRequest `json:"data_source,omitempty"` + AsAttachment *bool `json:"as_attachment,omitempty"` + DataSource *BriefDataSourceRequest `json:"data_source,omitempty"` AdditionalProperties map[string]interface{} } @@ -278,9 +278,9 @@ func (o *PatchedExportTemplateRequest) SetAsAttachment(v bool) { } // GetDataSource returns the DataSource field value if set, zero value otherwise. -func (o *PatchedExportTemplateRequest) GetDataSource() DataSourceRequest { +func (o *PatchedExportTemplateRequest) GetDataSource() BriefDataSourceRequest { if o == nil || IsNil(o.DataSource) { - var ret DataSourceRequest + var ret BriefDataSourceRequest return ret } return *o.DataSource @@ -288,7 +288,7 @@ func (o *PatchedExportTemplateRequest) GetDataSource() DataSourceRequest { // GetDataSourceOk returns a tuple with the DataSource field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedExportTemplateRequest) GetDataSourceOk() (*DataSourceRequest, bool) { +func (o *PatchedExportTemplateRequest) GetDataSourceOk() (*BriefDataSourceRequest, bool) { if o == nil || IsNil(o.DataSource) { return nil, false } @@ -304,8 +304,8 @@ func (o *PatchedExportTemplateRequest) HasDataSource() bool { return false } -// SetDataSource gets a reference to the given DataSourceRequest and assigns it to the DataSource field. -func (o *PatchedExportTemplateRequest) SetDataSource(v DataSourceRequest) { +// SetDataSource gets a reference to the given BriefDataSourceRequest and assigns it to the DataSource field. +func (o *PatchedExportTemplateRequest) SetDataSource(v BriefDataSourceRequest) { o.DataSource = &v } diff --git a/model_patched_fhrp_group_assignment_request.go b/model_patched_fhrp_group_assignment_request.go index de95655e2..34f0b8903 100644 --- a/model_patched_fhrp_group_assignment_request.go +++ b/model_patched_fhrp_group_assignment_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,10 +19,10 @@ var _ MappedNullable = &PatchedFHRPGroupAssignmentRequest{} // PatchedFHRPGroupAssignmentRequest Adds support for custom fields and tags. type PatchedFHRPGroupAssignmentRequest struct { - Group *FHRPGroupRequest `json:"group,omitempty"` - InterfaceType *string `json:"interface_type,omitempty"` - InterfaceId *int64 `json:"interface_id,omitempty"` - Priority *int32 `json:"priority,omitempty"` + Group *BriefFHRPGroupRequest `json:"group,omitempty"` + InterfaceType *string `json:"interface_type,omitempty"` + InterfaceId *int64 `json:"interface_id,omitempty"` + Priority *int32 `json:"priority,omitempty"` AdditionalProperties map[string]interface{} } @@ -46,9 +46,9 @@ func NewPatchedFHRPGroupAssignmentRequestWithDefaults() *PatchedFHRPGroupAssignm } // GetGroup returns the Group field value if set, zero value otherwise. -func (o *PatchedFHRPGroupAssignmentRequest) GetGroup() FHRPGroupRequest { +func (o *PatchedFHRPGroupAssignmentRequest) GetGroup() BriefFHRPGroupRequest { if o == nil || IsNil(o.Group) { - var ret FHRPGroupRequest + var ret BriefFHRPGroupRequest return ret } return *o.Group @@ -56,7 +56,7 @@ func (o *PatchedFHRPGroupAssignmentRequest) GetGroup() FHRPGroupRequest { // GetGroupOk returns a tuple with the Group field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedFHRPGroupAssignmentRequest) GetGroupOk() (*FHRPGroupRequest, bool) { +func (o *PatchedFHRPGroupAssignmentRequest) GetGroupOk() (*BriefFHRPGroupRequest, bool) { if o == nil || IsNil(o.Group) { return nil, false } @@ -72,8 +72,8 @@ func (o *PatchedFHRPGroupAssignmentRequest) HasGroup() bool { return false } -// SetGroup gets a reference to the given FHRPGroupRequest and assigns it to the Group field. -func (o *PatchedFHRPGroupAssignmentRequest) SetGroup(v FHRPGroupRequest) { +// SetGroup gets a reference to the given BriefFHRPGroupRequest and assigns it to the Group field. +func (o *PatchedFHRPGroupAssignmentRequest) SetGroup(v BriefFHRPGroupRequest) { o.Group = &v } diff --git a/model_patched_fhrp_group_request.go b/model_patched_fhrp_group_request.go index 1d2151449..a7e40d2b7 100644 --- a/model_patched_fhrp_group_request.go +++ b/model_patched_fhrp_group_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,15 +19,15 @@ var _ MappedNullable = &PatchedFHRPGroupRequest{} // PatchedFHRPGroupRequest Adds support for custom fields and tags. type PatchedFHRPGroupRequest struct { - Name *string `json:"name,omitempty"` - Protocol *FHRPGroupProtocol `json:"protocol,omitempty"` - GroupId *int32 `json:"group_id,omitempty"` - AuthType *AuthenticationType `json:"auth_type,omitempty"` - AuthKey *string `json:"auth_key,omitempty"` - Description *string `json:"description,omitempty"` - Comments *string `json:"comments,omitempty"` - Tags []NestedTagRequest `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Name *string `json:"name,omitempty"` + Protocol *BriefFHRPGroupProtocol `json:"protocol,omitempty"` + GroupId *int32 `json:"group_id,omitempty"` + AuthType *AuthenticationType2 `json:"auth_type,omitempty"` + AuthKey *string `json:"auth_key,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -83,9 +83,9 @@ func (o *PatchedFHRPGroupRequest) SetName(v string) { } // GetProtocol returns the Protocol field value if set, zero value otherwise. -func (o *PatchedFHRPGroupRequest) GetProtocol() FHRPGroupProtocol { +func (o *PatchedFHRPGroupRequest) GetProtocol() BriefFHRPGroupProtocol { if o == nil || IsNil(o.Protocol) { - var ret FHRPGroupProtocol + var ret BriefFHRPGroupProtocol return ret } return *o.Protocol @@ -93,7 +93,7 @@ func (o *PatchedFHRPGroupRequest) GetProtocol() FHRPGroupProtocol { // GetProtocolOk returns a tuple with the Protocol field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedFHRPGroupRequest) GetProtocolOk() (*FHRPGroupProtocol, bool) { +func (o *PatchedFHRPGroupRequest) GetProtocolOk() (*BriefFHRPGroupProtocol, bool) { if o == nil || IsNil(o.Protocol) { return nil, false } @@ -109,8 +109,8 @@ func (o *PatchedFHRPGroupRequest) HasProtocol() bool { return false } -// SetProtocol gets a reference to the given FHRPGroupProtocol and assigns it to the Protocol field. -func (o *PatchedFHRPGroupRequest) SetProtocol(v FHRPGroupProtocol) { +// SetProtocol gets a reference to the given BriefFHRPGroupProtocol and assigns it to the Protocol field. +func (o *PatchedFHRPGroupRequest) SetProtocol(v BriefFHRPGroupProtocol) { o.Protocol = &v } @@ -147,9 +147,9 @@ func (o *PatchedFHRPGroupRequest) SetGroupId(v int32) { } // GetAuthType returns the AuthType field value if set, zero value otherwise. -func (o *PatchedFHRPGroupRequest) GetAuthType() AuthenticationType { +func (o *PatchedFHRPGroupRequest) GetAuthType() AuthenticationType2 { if o == nil || IsNil(o.AuthType) { - var ret AuthenticationType + var ret AuthenticationType2 return ret } return *o.AuthType @@ -157,7 +157,7 @@ func (o *PatchedFHRPGroupRequest) GetAuthType() AuthenticationType { // GetAuthTypeOk returns a tuple with the AuthType field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedFHRPGroupRequest) GetAuthTypeOk() (*AuthenticationType, bool) { +func (o *PatchedFHRPGroupRequest) GetAuthTypeOk() (*AuthenticationType2, bool) { if o == nil || IsNil(o.AuthType) { return nil, false } @@ -173,8 +173,8 @@ func (o *PatchedFHRPGroupRequest) HasAuthType() bool { return false } -// SetAuthType gets a reference to the given AuthenticationType and assigns it to the AuthType field. -func (o *PatchedFHRPGroupRequest) SetAuthType(v AuthenticationType) { +// SetAuthType gets a reference to the given AuthenticationType2 and assigns it to the AuthType field. +func (o *PatchedFHRPGroupRequest) SetAuthType(v AuthenticationType2) { o.AuthType = &v } diff --git a/model_patched_group_request.go b/model_patched_group_request.go index 5d42e7f8d..7d8f37147 100644 --- a/model_patched_group_request.go +++ b/model_patched_group_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 0544fcc6f..aca1e9963 100644 --- a/model_patched_image_attachment_request.go +++ b/model_patched_image_attachment_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -24,8 +24,6 @@ type PatchedImageAttachmentRequest struct { ObjectId *int64 `json:"object_id,omitempty"` Name *string `json:"name,omitempty"` Image **os.File `json:"image,omitempty"` - ImageHeight *int32 `json:"image_height,omitempty"` - ImageWidth *int32 `json:"image_width,omitempty"` AdditionalProperties map[string]interface{} } @@ -176,70 +174,6 @@ func (o *PatchedImageAttachmentRequest) SetImage(v *os.File) { o.Image = &v } -// GetImageHeight returns the ImageHeight field value if set, zero value otherwise. -func (o *PatchedImageAttachmentRequest) GetImageHeight() int32 { - if o == nil || IsNil(o.ImageHeight) { - var ret int32 - return ret - } - return *o.ImageHeight -} - -// GetImageHeightOk returns a tuple with the ImageHeight field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PatchedImageAttachmentRequest) GetImageHeightOk() (*int32, bool) { - if o == nil || IsNil(o.ImageHeight) { - return nil, false - } - return o.ImageHeight, true -} - -// HasImageHeight returns a boolean if a field has been set. -func (o *PatchedImageAttachmentRequest) HasImageHeight() bool { - if o != nil && !IsNil(o.ImageHeight) { - return true - } - - return false -} - -// SetImageHeight gets a reference to the given int32 and assigns it to the ImageHeight field. -func (o *PatchedImageAttachmentRequest) SetImageHeight(v int32) { - o.ImageHeight = &v -} - -// GetImageWidth returns the ImageWidth field value if set, zero value otherwise. -func (o *PatchedImageAttachmentRequest) GetImageWidth() int32 { - if o == nil || IsNil(o.ImageWidth) { - var ret int32 - return ret - } - return *o.ImageWidth -} - -// GetImageWidthOk returns a tuple with the ImageWidth field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PatchedImageAttachmentRequest) GetImageWidthOk() (*int32, bool) { - if o == nil || IsNil(o.ImageWidth) { - return nil, false - } - return o.ImageWidth, true -} - -// HasImageWidth returns a boolean if a field has been set. -func (o *PatchedImageAttachmentRequest) HasImageWidth() bool { - if o != nil && !IsNil(o.ImageWidth) { - return true - } - - return false -} - -// SetImageWidth gets a reference to the given int32 and assigns it to the ImageWidth field. -func (o *PatchedImageAttachmentRequest) SetImageWidth(v int32) { - o.ImageWidth = &v -} - func (o PatchedImageAttachmentRequest) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -262,12 +196,6 @@ func (o PatchedImageAttachmentRequest) ToMap() (map[string]interface{}, error) { if !IsNil(o.Image) { toSerialize["image"] = o.Image } - if !IsNil(o.ImageHeight) { - toSerialize["image_height"] = o.ImageHeight - } - if !IsNil(o.ImageWidth) { - toSerialize["image_width"] = o.ImageWidth - } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -294,8 +222,6 @@ func (o *PatchedImageAttachmentRequest) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "object_id") delete(additionalProperties, "name") delete(additionalProperties, "image") - delete(additionalProperties, "image_height") - delete(additionalProperties, "image_width") o.AdditionalProperties = additionalProperties } diff --git a/model_patched_inventory_item_request.go b/model_patched_inventory_item_request.go index 399e6ab59..c954764c1 100644 --- a/model_patched_inventory_item_request.go +++ b/model_patched_inventory_item_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,13 +19,13 @@ var _ MappedNullable = &PatchedInventoryItemRequest{} // PatchedInventoryItemRequest Adds support for custom fields and tags. type PatchedInventoryItemRequest struct { - Device *DeviceRequest `json:"device,omitempty"` - Parent NullableInt32 `json:"parent,omitempty"` - Name *string `json:"name,omitempty"` + Device *BriefDeviceRequest `json:"device,omitempty"` + Parent NullableInt32 `json:"parent,omitempty"` + Name *string `json:"name,omitempty"` // Physical label - Label *string `json:"label,omitempty"` - Role NullableInventoryItemRoleRequest `json:"role,omitempty"` - Manufacturer NullableManufacturerRequest `json:"manufacturer,omitempty"` + Label *string `json:"label,omitempty"` + Role NullableBriefInventoryItemRoleRequest `json:"role,omitempty"` + Manufacturer NullableBriefManufacturerRequest `json:"manufacturer,omitempty"` // Manufacturer-assigned part identifier PartId *string `json:"part_id,omitempty"` Serial *string `json:"serial,omitempty"` @@ -61,9 +61,9 @@ func NewPatchedInventoryItemRequestWithDefaults() *PatchedInventoryItemRequest { } // GetDevice returns the Device field value if set, zero value otherwise. -func (o *PatchedInventoryItemRequest) GetDevice() DeviceRequest { +func (o *PatchedInventoryItemRequest) GetDevice() BriefDeviceRequest { if o == nil || IsNil(o.Device) { - var ret DeviceRequest + var ret BriefDeviceRequest return ret } return *o.Device @@ -71,7 +71,7 @@ func (o *PatchedInventoryItemRequest) GetDevice() DeviceRequest { // 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 *PatchedInventoryItemRequest) GetDeviceOk() (*DeviceRequest, bool) { +func (o *PatchedInventoryItemRequest) GetDeviceOk() (*BriefDeviceRequest, bool) { if o == nil || IsNil(o.Device) { return nil, false } @@ -87,8 +87,8 @@ func (o *PatchedInventoryItemRequest) HasDevice() bool { return false } -// SetDevice gets a reference to the given DeviceRequest and assigns it to the Device field. -func (o *PatchedInventoryItemRequest) SetDevice(v DeviceRequest) { +// SetDevice gets a reference to the given BriefDeviceRequest and assigns it to the Device field. +func (o *PatchedInventoryItemRequest) SetDevice(v BriefDeviceRequest) { o.Device = &v } @@ -200,9 +200,9 @@ func (o *PatchedInventoryItemRequest) SetLabel(v string) { } // GetRole returns the Role field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedInventoryItemRequest) GetRole() InventoryItemRoleRequest { +func (o *PatchedInventoryItemRequest) GetRole() BriefInventoryItemRoleRequest { if o == nil || IsNil(o.Role.Get()) { - var ret InventoryItemRoleRequest + var ret BriefInventoryItemRoleRequest return ret } return *o.Role.Get() @@ -211,7 +211,7 @@ func (o *PatchedInventoryItemRequest) GetRole() InventoryItemRoleRequest { // 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 *PatchedInventoryItemRequest) GetRoleOk() (*InventoryItemRoleRequest, bool) { +func (o *PatchedInventoryItemRequest) GetRoleOk() (*BriefInventoryItemRoleRequest, bool) { if o == nil { return nil, false } @@ -227,8 +227,8 @@ func (o *PatchedInventoryItemRequest) HasRole() bool { return false } -// SetRole gets a reference to the given NullableInventoryItemRoleRequest and assigns it to the Role field. -func (o *PatchedInventoryItemRequest) SetRole(v InventoryItemRoleRequest) { +// SetRole gets a reference to the given NullableBriefInventoryItemRoleRequest and assigns it to the Role field. +func (o *PatchedInventoryItemRequest) SetRole(v BriefInventoryItemRoleRequest) { o.Role.Set(&v) } @@ -243,9 +243,9 @@ func (o *PatchedInventoryItemRequest) UnsetRole() { } // GetManufacturer returns the Manufacturer field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedInventoryItemRequest) GetManufacturer() ManufacturerRequest { +func (o *PatchedInventoryItemRequest) GetManufacturer() BriefManufacturerRequest { if o == nil || IsNil(o.Manufacturer.Get()) { - var ret ManufacturerRequest + var ret BriefManufacturerRequest return ret } return *o.Manufacturer.Get() @@ -254,7 +254,7 @@ func (o *PatchedInventoryItemRequest) GetManufacturer() ManufacturerRequest { // GetManufacturerOk returns a tuple with the Manufacturer 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 *PatchedInventoryItemRequest) GetManufacturerOk() (*ManufacturerRequest, bool) { +func (o *PatchedInventoryItemRequest) GetManufacturerOk() (*BriefManufacturerRequest, bool) { if o == nil { return nil, false } @@ -270,8 +270,8 @@ func (o *PatchedInventoryItemRequest) HasManufacturer() bool { return false } -// SetManufacturer gets a reference to the given NullableManufacturerRequest and assigns it to the Manufacturer field. -func (o *PatchedInventoryItemRequest) SetManufacturer(v ManufacturerRequest) { +// SetManufacturer gets a reference to the given NullableBriefManufacturerRequest and assigns it to the Manufacturer field. +func (o *PatchedInventoryItemRequest) SetManufacturer(v BriefManufacturerRequest) { o.Manufacturer.Set(&v) } diff --git a/model_patched_inventory_item_role_request.go b/model_patched_inventory_item_role_request.go index f3abd36d0..64ec0b5a0 100644 --- a/model_patched_inventory_item_role_request.go +++ b/model_patched_inventory_item_role_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_inventory_item_template_request.go b/model_patched_inventory_item_template_request.go index 070c2170d..4f92d6ef6 100644 --- a/model_patched_inventory_item_template_request.go +++ b/model_patched_inventory_item_template_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,14 +19,14 @@ var _ MappedNullable = &PatchedInventoryItemTemplateRequest{} // PatchedInventoryItemTemplateRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 PatchedInventoryItemTemplateRequest struct { - DeviceType *DeviceTypeRequest `json:"device_type,omitempty"` - Parent NullableInt32 `json:"parent,omitempty"` + DeviceType *BriefDeviceTypeRequest `json:"device_type,omitempty"` + Parent NullableInt32 `json:"parent,omitempty"` // {module} is accepted as a substitution for the module bay position when attached to a module type. Name *string `json:"name,omitempty"` // Physical label - Label *string `json:"label,omitempty"` - Role NullableInventoryItemRoleRequest `json:"role,omitempty"` - Manufacturer NullableManufacturerRequest `json:"manufacturer,omitempty"` + Label *string `json:"label,omitempty"` + Role NullableBriefInventoryItemRoleRequest `json:"role,omitempty"` + Manufacturer NullableBriefManufacturerRequest `json:"manufacturer,omitempty"` // Manufacturer-assigned part identifier PartId *string `json:"part_id,omitempty"` Description *string `json:"description,omitempty"` @@ -55,9 +55,9 @@ func NewPatchedInventoryItemTemplateRequestWithDefaults() *PatchedInventoryItemT } // GetDeviceType returns the DeviceType field value if set, zero value otherwise. -func (o *PatchedInventoryItemTemplateRequest) GetDeviceType() DeviceTypeRequest { +func (o *PatchedInventoryItemTemplateRequest) GetDeviceType() BriefDeviceTypeRequest { if o == nil || IsNil(o.DeviceType) { - var ret DeviceTypeRequest + var ret BriefDeviceTypeRequest return ret } return *o.DeviceType @@ -65,7 +65,7 @@ func (o *PatchedInventoryItemTemplateRequest) GetDeviceType() DeviceTypeRequest // GetDeviceTypeOk returns a tuple with the DeviceType field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedInventoryItemTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool) { +func (o *PatchedInventoryItemTemplateRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool) { if o == nil || IsNil(o.DeviceType) { return nil, false } @@ -81,8 +81,8 @@ func (o *PatchedInventoryItemTemplateRequest) HasDeviceType() bool { return false } -// SetDeviceType gets a reference to the given DeviceTypeRequest and assigns it to the DeviceType field. -func (o *PatchedInventoryItemTemplateRequest) SetDeviceType(v DeviceTypeRequest) { +// SetDeviceType gets a reference to the given BriefDeviceTypeRequest and assigns it to the DeviceType field. +func (o *PatchedInventoryItemTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest) { o.DeviceType = &v } @@ -194,9 +194,9 @@ func (o *PatchedInventoryItemTemplateRequest) SetLabel(v string) { } // GetRole returns the Role field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedInventoryItemTemplateRequest) GetRole() InventoryItemRoleRequest { +func (o *PatchedInventoryItemTemplateRequest) GetRole() BriefInventoryItemRoleRequest { if o == nil || IsNil(o.Role.Get()) { - var ret InventoryItemRoleRequest + var ret BriefInventoryItemRoleRequest return ret } return *o.Role.Get() @@ -205,7 +205,7 @@ func (o *PatchedInventoryItemTemplateRequest) GetRole() InventoryItemRoleRequest // 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 *PatchedInventoryItemTemplateRequest) GetRoleOk() (*InventoryItemRoleRequest, bool) { +func (o *PatchedInventoryItemTemplateRequest) GetRoleOk() (*BriefInventoryItemRoleRequest, bool) { if o == nil { return nil, false } @@ -221,8 +221,8 @@ func (o *PatchedInventoryItemTemplateRequest) HasRole() bool { return false } -// SetRole gets a reference to the given NullableInventoryItemRoleRequest and assigns it to the Role field. -func (o *PatchedInventoryItemTemplateRequest) SetRole(v InventoryItemRoleRequest) { +// SetRole gets a reference to the given NullableBriefInventoryItemRoleRequest and assigns it to the Role field. +func (o *PatchedInventoryItemTemplateRequest) SetRole(v BriefInventoryItemRoleRequest) { o.Role.Set(&v) } @@ -237,9 +237,9 @@ func (o *PatchedInventoryItemTemplateRequest) UnsetRole() { } // GetManufacturer returns the Manufacturer field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedInventoryItemTemplateRequest) GetManufacturer() ManufacturerRequest { +func (o *PatchedInventoryItemTemplateRequest) GetManufacturer() BriefManufacturerRequest { if o == nil || IsNil(o.Manufacturer.Get()) { - var ret ManufacturerRequest + var ret BriefManufacturerRequest return ret } return *o.Manufacturer.Get() @@ -248,7 +248,7 @@ func (o *PatchedInventoryItemTemplateRequest) GetManufacturer() ManufacturerRequ // GetManufacturerOk returns a tuple with the Manufacturer 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 *PatchedInventoryItemTemplateRequest) GetManufacturerOk() (*ManufacturerRequest, bool) { +func (o *PatchedInventoryItemTemplateRequest) GetManufacturerOk() (*BriefManufacturerRequest, bool) { if o == nil { return nil, false } @@ -264,8 +264,8 @@ func (o *PatchedInventoryItemTemplateRequest) HasManufacturer() bool { return false } -// SetManufacturer gets a reference to the given NullableManufacturerRequest and assigns it to the Manufacturer field. -func (o *PatchedInventoryItemTemplateRequest) SetManufacturer(v ManufacturerRequest) { +// SetManufacturer gets a reference to the given NullableBriefManufacturerRequest and assigns it to the Manufacturer field. +func (o *PatchedInventoryItemTemplateRequest) SetManufacturer(v BriefManufacturerRequest) { o.Manufacturer.Set(&v) } diff --git a/model_patched_l2_vpn_termination_request.go b/model_patched_l2_vpn_termination_request.go index 73cb0720e..8aa5facb2 100644 --- a/model_patched_l2_vpn_termination_request.go +++ b/model_patched_l2_vpn_termination_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,7 +19,7 @@ var _ MappedNullable = &PatchedL2VPNTerminationRequest{} // PatchedL2VPNTerminationRequest Adds support for custom fields and tags. type PatchedL2VPNTerminationRequest struct { - L2vpn *L2VPNRequest `json:"l2vpn,omitempty"` + L2vpn *BriefL2VPNRequest `json:"l2vpn,omitempty"` AssignedObjectType *string `json:"assigned_object_type,omitempty"` AssignedObjectId *int64 `json:"assigned_object_id,omitempty"` Tags []NestedTagRequest `json:"tags,omitempty"` @@ -47,9 +47,9 @@ func NewPatchedL2VPNTerminationRequestWithDefaults() *PatchedL2VPNTerminationReq } // GetL2vpn returns the L2vpn field value if set, zero value otherwise. -func (o *PatchedL2VPNTerminationRequest) GetL2vpn() L2VPNRequest { +func (o *PatchedL2VPNTerminationRequest) GetL2vpn() BriefL2VPNRequest { if o == nil || IsNil(o.L2vpn) { - var ret L2VPNRequest + var ret BriefL2VPNRequest return ret } return *o.L2vpn @@ -57,7 +57,7 @@ func (o *PatchedL2VPNTerminationRequest) GetL2vpn() L2VPNRequest { // GetL2vpnOk returns a tuple with the L2vpn field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedL2VPNTerminationRequest) GetL2vpnOk() (*L2VPNRequest, bool) { +func (o *PatchedL2VPNTerminationRequest) GetL2vpnOk() (*BriefL2VPNRequest, bool) { if o == nil || IsNil(o.L2vpn) { return nil, false } @@ -73,8 +73,8 @@ func (o *PatchedL2VPNTerminationRequest) HasL2vpn() bool { return false } -// SetL2vpn gets a reference to the given L2VPNRequest and assigns it to the L2vpn field. -func (o *PatchedL2VPNTerminationRequest) SetL2vpn(v L2VPNRequest) { +// SetL2vpn gets a reference to the given BriefL2VPNRequest and assigns it to the L2vpn field. +func (o *PatchedL2VPNTerminationRequest) SetL2vpn(v BriefL2VPNRequest) { o.L2vpn = &v } diff --git a/model_patched_manufacturer_request.go b/model_patched_manufacturer_request.go index 7a325529e..549edf946 100644 --- a/model_patched_manufacturer_request.go +++ b/model_patched_manufacturer_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_module_bay_request.go b/model_patched_module_bay_request.go index 8a6147e44..71e9add6c 100644 --- a/model_patched_module_bay_request.go +++ b/model_patched_module_bay_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,9 +19,10 @@ var _ MappedNullable = &PatchedModuleBayRequest{} // PatchedModuleBayRequest Adds support for custom fields and tags. type PatchedModuleBayRequest struct { - Device *DeviceRequest `json:"device,omitempty"` - Name *string `json:"name,omitempty"` - InstalledModule NullableModuleRequest `json:"installed_module,omitempty"` + Device *BriefDeviceRequest `json:"device,omitempty"` + Module NullableBriefModuleRequest `json:"module,omitempty"` + Name *string `json:"name,omitempty"` + InstalledModule NullableBriefModuleRequest `json:"installed_module,omitempty"` // Physical label Label *string `json:"label,omitempty"` // Identifier to reference when renaming installed components @@ -52,9 +53,9 @@ func NewPatchedModuleBayRequestWithDefaults() *PatchedModuleBayRequest { } // GetDevice returns the Device field value if set, zero value otherwise. -func (o *PatchedModuleBayRequest) GetDevice() DeviceRequest { +func (o *PatchedModuleBayRequest) GetDevice() BriefDeviceRequest { if o == nil || IsNil(o.Device) { - var ret DeviceRequest + var ret BriefDeviceRequest return ret } return *o.Device @@ -62,7 +63,7 @@ func (o *PatchedModuleBayRequest) GetDevice() DeviceRequest { // 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 *PatchedModuleBayRequest) GetDeviceOk() (*DeviceRequest, bool) { +func (o *PatchedModuleBayRequest) GetDeviceOk() (*BriefDeviceRequest, bool) { if o == nil || IsNil(o.Device) { return nil, false } @@ -78,11 +79,54 @@ func (o *PatchedModuleBayRequest) HasDevice() bool { return false } -// SetDevice gets a reference to the given DeviceRequest and assigns it to the Device field. -func (o *PatchedModuleBayRequest) SetDevice(v DeviceRequest) { +// SetDevice gets a reference to the given BriefDeviceRequest and assigns it to the Device field. +func (o *PatchedModuleBayRequest) SetDevice(v BriefDeviceRequest) { o.Device = &v } +// GetModule returns the Module field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedModuleBayRequest) GetModule() BriefModuleRequest { + if o == nil || IsNil(o.Module.Get()) { + var ret BriefModuleRequest + return ret + } + return *o.Module.Get() +} + +// GetModuleOk returns a tuple with the Module 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) GetModuleOk() (*BriefModuleRequest, bool) { + if o == nil { + return nil, false + } + return o.Module.Get(), o.Module.IsSet() +} + +// HasModule returns a boolean if a field has been set. +func (o *PatchedModuleBayRequest) HasModule() bool { + if o != nil && o.Module.IsSet() { + return true + } + + return false +} + +// SetModule gets a reference to the given NullableBriefModuleRequest and assigns it to the Module field. +func (o *PatchedModuleBayRequest) SetModule(v BriefModuleRequest) { + o.Module.Set(&v) +} + +// SetModuleNil sets the value for Module to be an explicit nil +func (o *PatchedModuleBayRequest) SetModuleNil() { + o.Module.Set(nil) +} + +// UnsetModule ensures that no value is present for Module, not even an explicit nil +func (o *PatchedModuleBayRequest) UnsetModule() { + o.Module.Unset() +} + // GetName returns the Name field value if set, zero value otherwise. func (o *PatchedModuleBayRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -116,9 +160,9 @@ func (o *PatchedModuleBayRequest) SetName(v string) { } // GetInstalledModule returns the InstalledModule field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedModuleBayRequest) GetInstalledModule() ModuleRequest { +func (o *PatchedModuleBayRequest) GetInstalledModule() BriefModuleRequest { if o == nil || IsNil(o.InstalledModule.Get()) { - var ret ModuleRequest + var ret BriefModuleRequest return ret } return *o.InstalledModule.Get() @@ -127,7 +171,7 @@ func (o *PatchedModuleBayRequest) GetInstalledModule() ModuleRequest { // GetInstalledModuleOk returns a tuple with the InstalledModule 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) GetInstalledModuleOk() (*ModuleRequest, bool) { +func (o *PatchedModuleBayRequest) GetInstalledModuleOk() (*BriefModuleRequest, bool) { if o == nil { return nil, false } @@ -143,8 +187,8 @@ func (o *PatchedModuleBayRequest) HasInstalledModule() bool { return false } -// SetInstalledModule gets a reference to the given NullableModuleRequest and assigns it to the InstalledModule field. -func (o *PatchedModuleBayRequest) SetInstalledModule(v ModuleRequest) { +// SetInstalledModule gets a reference to the given NullableBriefModuleRequest and assigns it to the InstalledModule field. +func (o *PatchedModuleBayRequest) SetInstalledModule(v BriefModuleRequest) { o.InstalledModule.Set(&v) } @@ -331,6 +375,9 @@ func (o PatchedModuleBayRequest) ToMap() (map[string]interface{}, error) { if !IsNil(o.Device) { toSerialize["device"] = o.Device } + if o.Module.IsSet() { + toSerialize["module"] = o.Module.Get() + } if !IsNil(o.Name) { toSerialize["name"] = o.Name } @@ -375,6 +422,7 @@ func (o *PatchedModuleBayRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "device") + delete(additionalProperties, "module") delete(additionalProperties, "name") delete(additionalProperties, "installed_module") delete(additionalProperties, "label") diff --git a/model_patched_module_bay_template_request.go b/model_patched_module_bay_template_request.go index baeb07d2c..616c03e55 100644 --- a/model_patched_module_bay_template_request.go +++ b/model_patched_module_bay_template_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,7 +19,8 @@ var _ MappedNullable = &PatchedModuleBayTemplateRequest{} // PatchedModuleBayTemplateRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 PatchedModuleBayTemplateRequest struct { - DeviceType *DeviceTypeRequest `json:"device_type,omitempty"` + DeviceType NullableBriefDeviceTypeRequest `json:"device_type,omitempty"` + ModuleType NullableBriefModuleTypeRequest `json:"module_type,omitempty"` // {module} is accepted as a substitution for the module bay position when attached to a module type. Name *string `json:"name,omitempty"` // Physical label @@ -49,36 +50,90 @@ func NewPatchedModuleBayTemplateRequestWithDefaults() *PatchedModuleBayTemplateR return &this } -// GetDeviceType returns the DeviceType field value if set, zero value otherwise. -func (o *PatchedModuleBayTemplateRequest) GetDeviceType() DeviceTypeRequest { - if o == nil || IsNil(o.DeviceType) { - var ret DeviceTypeRequest +// GetDeviceType returns the DeviceType field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedModuleBayTemplateRequest) GetDeviceType() BriefDeviceTypeRequest { + if o == nil || IsNil(o.DeviceType.Get()) { + var ret BriefDeviceTypeRequest return ret } - return *o.DeviceType + return *o.DeviceType.Get() } // GetDeviceTypeOk returns a tuple with the DeviceType field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedModuleBayTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool) { - if o == nil || IsNil(o.DeviceType) { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedModuleBayTemplateRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool) { + if o == nil { return nil, false } - return o.DeviceType, true + return o.DeviceType.Get(), o.DeviceType.IsSet() } // HasDeviceType returns a boolean if a field has been set. func (o *PatchedModuleBayTemplateRequest) HasDeviceType() bool { - if o != nil && !IsNil(o.DeviceType) { + if o != nil && o.DeviceType.IsSet() { return true } return false } -// SetDeviceType gets a reference to the given DeviceTypeRequest and assigns it to the DeviceType field. -func (o *PatchedModuleBayTemplateRequest) SetDeviceType(v DeviceTypeRequest) { - o.DeviceType = &v +// SetDeviceType gets a reference to the given NullableBriefDeviceTypeRequest and assigns it to the DeviceType field. +func (o *PatchedModuleBayTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest) { + o.DeviceType.Set(&v) +} + +// SetDeviceTypeNil sets the value for DeviceType to be an explicit nil +func (o *PatchedModuleBayTemplateRequest) SetDeviceTypeNil() { + o.DeviceType.Set(nil) +} + +// UnsetDeviceType ensures that no value is present for DeviceType, not even an explicit nil +func (o *PatchedModuleBayTemplateRequest) UnsetDeviceType() { + o.DeviceType.Unset() +} + +// GetModuleType returns the ModuleType field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedModuleBayTemplateRequest) GetModuleType() BriefModuleTypeRequest { + if o == nil || IsNil(o.ModuleType.Get()) { + var ret BriefModuleTypeRequest + return ret + } + return *o.ModuleType.Get() +} + +// GetModuleTypeOk returns a tuple with the ModuleType 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) GetModuleTypeOk() (*BriefModuleTypeRequest, bool) { + if o == nil { + return nil, false + } + return o.ModuleType.Get(), o.ModuleType.IsSet() +} + +// HasModuleType returns a boolean if a field has been set. +func (o *PatchedModuleBayTemplateRequest) HasModuleType() bool { + if o != nil && o.ModuleType.IsSet() { + return true + } + + return false +} + +// SetModuleType gets a reference to the given NullableBriefModuleTypeRequest and assigns it to the ModuleType field. +func (o *PatchedModuleBayTemplateRequest) SetModuleType(v BriefModuleTypeRequest) { + o.ModuleType.Set(&v) +} + +// SetModuleTypeNil sets the value for ModuleType to be an explicit nil +func (o *PatchedModuleBayTemplateRequest) SetModuleTypeNil() { + o.ModuleType.Set(nil) +} + +// UnsetModuleType ensures that no value is present for ModuleType, not even an explicit nil +func (o *PatchedModuleBayTemplateRequest) UnsetModuleType() { + o.ModuleType.Unset() } // GetName returns the Name field value if set, zero value otherwise. @@ -219,8 +274,11 @@ func (o PatchedModuleBayTemplateRequest) MarshalJSON() ([]byte, error) { func (o PatchedModuleBayTemplateRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - if !IsNil(o.DeviceType) { - toSerialize["device_type"] = o.DeviceType + if o.DeviceType.IsSet() { + toSerialize["device_type"] = o.DeviceType.Get() + } + if o.ModuleType.IsSet() { + toSerialize["module_type"] = o.ModuleType.Get() } if !IsNil(o.Name) { toSerialize["name"] = o.Name @@ -257,6 +315,7 @@ func (o *PatchedModuleBayTemplateRequest) UnmarshalJSON(data []byte) (err error) if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "device_type") + delete(additionalProperties, "module_type") delete(additionalProperties, "name") delete(additionalProperties, "label") delete(additionalProperties, "position") diff --git a/model_patched_notification_group_request.go b/model_patched_notification_group_request.go new file mode 100644 index 000000000..620636049 --- /dev/null +++ b/model_patched_notification_group_request.go @@ -0,0 +1,264 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" +) + +// checks if the PatchedNotificationGroupRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PatchedNotificationGroupRequest{} + +// PatchedNotificationGroupRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 PatchedNotificationGroupRequest struct { + Name *string `json:"name,omitempty"` + Description *string `json:"description,omitempty"` + Groups []int32 `json:"groups,omitempty"` + Users []int32 `json:"users,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _PatchedNotificationGroupRequest PatchedNotificationGroupRequest + +// NewPatchedNotificationGroupRequest instantiates a new PatchedNotificationGroupRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewPatchedNotificationGroupRequest() *PatchedNotificationGroupRequest { + this := PatchedNotificationGroupRequest{} + return &this +} + +// NewPatchedNotificationGroupRequestWithDefaults instantiates a new PatchedNotificationGroupRequest object +// This 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 NewPatchedNotificationGroupRequestWithDefaults() *PatchedNotificationGroupRequest { + this := PatchedNotificationGroupRequest{} + return &this +} + +// GetName returns the Name field value if set, zero value otherwise. +func (o *PatchedNotificationGroupRequest) 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 *PatchedNotificationGroupRequest) 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 *PatchedNotificationGroupRequest) 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 *PatchedNotificationGroupRequest) SetName(v string) { + o.Name = &v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *PatchedNotificationGroupRequest) 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 *PatchedNotificationGroupRequest) 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 *PatchedNotificationGroupRequest) 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 *PatchedNotificationGroupRequest) SetDescription(v string) { + o.Description = &v +} + +// GetGroups returns the Groups field value if set, zero value otherwise. +func (o *PatchedNotificationGroupRequest) GetGroups() []int32 { + if o == nil || IsNil(o.Groups) { + var ret []int32 + return ret + } + return o.Groups +} + +// GetGroupsOk returns a tuple with the Groups field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedNotificationGroupRequest) GetGroupsOk() ([]int32, bool) { + if o == nil || IsNil(o.Groups) { + return nil, false + } + return o.Groups, true +} + +// HasGroups returns a boolean if a field has been set. +func (o *PatchedNotificationGroupRequest) HasGroups() bool { + if o != nil && !IsNil(o.Groups) { + return true + } + + return false +} + +// SetGroups gets a reference to the given []int32 and assigns it to the Groups field. +func (o *PatchedNotificationGroupRequest) SetGroups(v []int32) { + o.Groups = v +} + +// GetUsers returns the Users field value if set, zero value otherwise. +func (o *PatchedNotificationGroupRequest) GetUsers() []int32 { + if o == nil || IsNil(o.Users) { + var ret []int32 + return ret + } + return o.Users +} + +// GetUsersOk returns a tuple with the Users field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedNotificationGroupRequest) GetUsersOk() ([]int32, bool) { + if o == nil || IsNil(o.Users) { + return nil, false + } + return o.Users, true +} + +// HasUsers returns a boolean if a field has been set. +func (o *PatchedNotificationGroupRequest) HasUsers() bool { + if o != nil && !IsNil(o.Users) { + return true + } + + return false +} + +// SetUsers gets a reference to the given []int32 and assigns it to the Users field. +func (o *PatchedNotificationGroupRequest) SetUsers(v []int32) { + o.Users = v +} + +func (o PatchedNotificationGroupRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PatchedNotificationGroupRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Name) { + toSerialize["name"] = o.Name + } + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + if !IsNil(o.Groups) { + toSerialize["groups"] = o.Groups + } + if !IsNil(o.Users) { + toSerialize["users"] = o.Users + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *PatchedNotificationGroupRequest) UnmarshalJSON(data []byte) (err error) { + varPatchedNotificationGroupRequest := _PatchedNotificationGroupRequest{} + + err = json.Unmarshal(data, &varPatchedNotificationGroupRequest) + + if err != nil { + return err + } + + *o = PatchedNotificationGroupRequest(varPatchedNotificationGroupRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "name") + delete(additionalProperties, "description") + delete(additionalProperties, "groups") + delete(additionalProperties, "users") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullablePatchedNotificationGroupRequest struct { + value *PatchedNotificationGroupRequest + isSet bool +} + +func (v NullablePatchedNotificationGroupRequest) Get() *PatchedNotificationGroupRequest { + return v.value +} + +func (v *NullablePatchedNotificationGroupRequest) Set(val *PatchedNotificationGroupRequest) { + v.value = val + v.isSet = true +} + +func (v NullablePatchedNotificationGroupRequest) IsSet() bool { + return v.isSet +} + +func (v *NullablePatchedNotificationGroupRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePatchedNotificationGroupRequest(val *PatchedNotificationGroupRequest) *NullablePatchedNotificationGroupRequest { + return &NullablePatchedNotificationGroupRequest{value: val, isSet: true} +} + +func (v NullablePatchedNotificationGroupRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePatchedNotificationGroupRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_patched_notification_request.go b/model_patched_notification_request.go new file mode 100644 index 000000000..e14310858 --- /dev/null +++ b/model_patched_notification_request.go @@ -0,0 +1,313 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "time" +) + +// checks if the PatchedNotificationRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PatchedNotificationRequest{} + +// PatchedNotificationRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 PatchedNotificationRequest struct { + ObjectType *string `json:"object_type,omitempty"` + ObjectId *int64 `json:"object_id,omitempty"` + User *BriefUserRequest `json:"user,omitempty"` + Read NullableTime `json:"read,omitempty"` + EventType *Event `json:"event_type,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _PatchedNotificationRequest PatchedNotificationRequest + +// NewPatchedNotificationRequest instantiates a new PatchedNotificationRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewPatchedNotificationRequest() *PatchedNotificationRequest { + this := PatchedNotificationRequest{} + return &this +} + +// NewPatchedNotificationRequestWithDefaults instantiates a new PatchedNotificationRequest object +// This 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 NewPatchedNotificationRequestWithDefaults() *PatchedNotificationRequest { + this := PatchedNotificationRequest{} + return &this +} + +// GetObjectType returns the ObjectType field value if set, zero value otherwise. +func (o *PatchedNotificationRequest) 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 *PatchedNotificationRequest) 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 *PatchedNotificationRequest) 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 *PatchedNotificationRequest) SetObjectType(v string) { + o.ObjectType = &v +} + +// GetObjectId returns the ObjectId field value if set, zero value otherwise. +func (o *PatchedNotificationRequest) GetObjectId() int64 { + if o == nil || IsNil(o.ObjectId) { + var ret int64 + return ret + } + return *o.ObjectId +} + +// GetObjectIdOk returns a tuple with the ObjectId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedNotificationRequest) GetObjectIdOk() (*int64, bool) { + if o == nil || IsNil(o.ObjectId) { + return nil, false + } + return o.ObjectId, true +} + +// HasObjectId returns a boolean if a field has been set. +func (o *PatchedNotificationRequest) HasObjectId() bool { + if o != nil && !IsNil(o.ObjectId) { + return true + } + + return false +} + +// SetObjectId gets a reference to the given int64 and assigns it to the ObjectId field. +func (o *PatchedNotificationRequest) SetObjectId(v int64) { + o.ObjectId = &v +} + +// GetUser returns the User field value if set, zero value otherwise. +func (o *PatchedNotificationRequest) GetUser() BriefUserRequest { + if o == nil || IsNil(o.User) { + var ret BriefUserRequest + return ret + } + return *o.User +} + +// GetUserOk returns a tuple with the User field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedNotificationRequest) GetUserOk() (*BriefUserRequest, bool) { + if o == nil || IsNil(o.User) { + return nil, false + } + return o.User, true +} + +// HasUser returns a boolean if a field has been set. +func (o *PatchedNotificationRequest) HasUser() bool { + if o != nil && !IsNil(o.User) { + return true + } + + return false +} + +// SetUser gets a reference to the given BriefUserRequest and assigns it to the User field. +func (o *PatchedNotificationRequest) SetUser(v BriefUserRequest) { + o.User = &v +} + +// GetRead returns the Read field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedNotificationRequest) GetRead() time.Time { + if o == nil || IsNil(o.Read.Get()) { + var ret time.Time + return ret + } + return *o.Read.Get() +} + +// GetReadOk returns a tuple with the Read 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 *PatchedNotificationRequest) GetReadOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.Read.Get(), o.Read.IsSet() +} + +// HasRead returns a boolean if a field has been set. +func (o *PatchedNotificationRequest) HasRead() bool { + if o != nil && o.Read.IsSet() { + return true + } + + return false +} + +// SetRead gets a reference to the given NullableTime and assigns it to the Read field. +func (o *PatchedNotificationRequest) SetRead(v time.Time) { + o.Read.Set(&v) +} + +// SetReadNil sets the value for Read to be an explicit nil +func (o *PatchedNotificationRequest) SetReadNil() { + o.Read.Set(nil) +} + +// UnsetRead ensures that no value is present for Read, not even an explicit nil +func (o *PatchedNotificationRequest) UnsetRead() { + o.Read.Unset() +} + +// GetEventType returns the EventType field value if set, zero value otherwise. +func (o *PatchedNotificationRequest) GetEventType() Event { + if o == nil || IsNil(o.EventType) { + var ret Event + return ret + } + return *o.EventType +} + +// GetEventTypeOk returns a tuple with the EventType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedNotificationRequest) GetEventTypeOk() (*Event, bool) { + if o == nil || IsNil(o.EventType) { + return nil, false + } + return o.EventType, true +} + +// HasEventType returns a boolean if a field has been set. +func (o *PatchedNotificationRequest) HasEventType() bool { + if o != nil && !IsNil(o.EventType) { + return true + } + + return false +} + +// SetEventType gets a reference to the given Event and assigns it to the EventType field. +func (o *PatchedNotificationRequest) SetEventType(v Event) { + o.EventType = &v +} + +func (o PatchedNotificationRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PatchedNotificationRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.ObjectType) { + toSerialize["object_type"] = o.ObjectType + } + if !IsNil(o.ObjectId) { + toSerialize["object_id"] = o.ObjectId + } + if !IsNil(o.User) { + toSerialize["user"] = o.User + } + if o.Read.IsSet() { + toSerialize["read"] = o.Read.Get() + } + if !IsNil(o.EventType) { + toSerialize["event_type"] = o.EventType + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *PatchedNotificationRequest) UnmarshalJSON(data []byte) (err error) { + varPatchedNotificationRequest := _PatchedNotificationRequest{} + + err = json.Unmarshal(data, &varPatchedNotificationRequest) + + if err != nil { + return err + } + + *o = PatchedNotificationRequest(varPatchedNotificationRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "object_type") + delete(additionalProperties, "object_id") + delete(additionalProperties, "user") + delete(additionalProperties, "read") + delete(additionalProperties, "event_type") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullablePatchedNotificationRequest struct { + value *PatchedNotificationRequest + isSet bool +} + +func (v NullablePatchedNotificationRequest) Get() *PatchedNotificationRequest { + return v.value +} + +func (v *NullablePatchedNotificationRequest) Set(val *PatchedNotificationRequest) { + v.value = val + v.isSet = true +} + +func (v NullablePatchedNotificationRequest) IsSet() bool { + return v.isSet +} + +func (v *NullablePatchedNotificationRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePatchedNotificationRequest(val *PatchedNotificationRequest) *NullablePatchedNotificationRequest { + return &NullablePatchedNotificationRequest{value: val, isSet: true} +} + +func (v NullablePatchedNotificationRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePatchedNotificationRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_patched_object_permission_request.go b/model_patched_object_permission_request.go index 39a1c0ffd..a06253809 100644 --- a/model_patched_object_permission_request.go +++ b/model_patched_object_permission_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_platform_request.go b/model_patched_platform_request.go index 2b69b6bb3..fc37fae68 100644 --- a/model_patched_platform_request.go +++ b/model_patched_platform_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,13 +19,13 @@ var _ MappedNullable = &PatchedPlatformRequest{} // PatchedPlatformRequest Adds support for custom fields and tags. type PatchedPlatformRequest struct { - Name *string `json:"name,omitempty"` - Slug *string `json:"slug,omitempty"` - Manufacturer NullableManufacturerRequest `json:"manufacturer,omitempty"` - ConfigTemplate NullableConfigTemplateRequest `json:"config_template,omitempty"` - Description *string `json:"description,omitempty"` - Tags []NestedTagRequest `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` + Manufacturer NullableBriefManufacturerRequest `json:"manufacturer,omitempty"` + ConfigTemplate NullableBriefConfigTemplateRequest `json:"config_template,omitempty"` + Description *string `json:"description,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -113,9 +113,9 @@ func (o *PatchedPlatformRequest) SetSlug(v string) { } // GetManufacturer returns the Manufacturer field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedPlatformRequest) GetManufacturer() ManufacturerRequest { +func (o *PatchedPlatformRequest) GetManufacturer() BriefManufacturerRequest { if o == nil || IsNil(o.Manufacturer.Get()) { - var ret ManufacturerRequest + var ret BriefManufacturerRequest return ret } return *o.Manufacturer.Get() @@ -124,7 +124,7 @@ func (o *PatchedPlatformRequest) GetManufacturer() ManufacturerRequest { // GetManufacturerOk returns a tuple with the Manufacturer 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 *PatchedPlatformRequest) GetManufacturerOk() (*ManufacturerRequest, bool) { +func (o *PatchedPlatformRequest) GetManufacturerOk() (*BriefManufacturerRequest, bool) { if o == nil { return nil, false } @@ -140,8 +140,8 @@ func (o *PatchedPlatformRequest) HasManufacturer() bool { return false } -// SetManufacturer gets a reference to the given NullableManufacturerRequest and assigns it to the Manufacturer field. -func (o *PatchedPlatformRequest) SetManufacturer(v ManufacturerRequest) { +// SetManufacturer gets a reference to the given NullableBriefManufacturerRequest and assigns it to the Manufacturer field. +func (o *PatchedPlatformRequest) SetManufacturer(v BriefManufacturerRequest) { o.Manufacturer.Set(&v) } @@ -156,9 +156,9 @@ func (o *PatchedPlatformRequest) UnsetManufacturer() { } // GetConfigTemplate returns the ConfigTemplate field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedPlatformRequest) GetConfigTemplate() ConfigTemplateRequest { +func (o *PatchedPlatformRequest) GetConfigTemplate() BriefConfigTemplateRequest { if o == nil || IsNil(o.ConfigTemplate.Get()) { - var ret ConfigTemplateRequest + var ret BriefConfigTemplateRequest return ret } return *o.ConfigTemplate.Get() @@ -167,7 +167,7 @@ func (o *PatchedPlatformRequest) GetConfigTemplate() ConfigTemplateRequest { // GetConfigTemplateOk returns a tuple with the ConfigTemplate 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 *PatchedPlatformRequest) GetConfigTemplateOk() (*ConfigTemplateRequest, bool) { +func (o *PatchedPlatformRequest) GetConfigTemplateOk() (*BriefConfigTemplateRequest, bool) { if o == nil { return nil, false } @@ -183,8 +183,8 @@ func (o *PatchedPlatformRequest) HasConfigTemplate() bool { return false } -// SetConfigTemplate gets a reference to the given NullableConfigTemplateRequest and assigns it to the ConfigTemplate field. -func (o *PatchedPlatformRequest) SetConfigTemplate(v ConfigTemplateRequest) { +// SetConfigTemplate gets a reference to the given NullableBriefConfigTemplateRequest and assigns it to the ConfigTemplate field. +func (o *PatchedPlatformRequest) SetConfigTemplate(v BriefConfigTemplateRequest) { o.ConfigTemplate.Set(&v) } diff --git a/model_patched_power_panel_request.go b/model_patched_power_panel_request.go index 855e8aea4..5d78327f4 100644 --- a/model_patched_power_panel_request.go +++ b/model_patched_power_panel_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,13 +19,13 @@ var _ MappedNullable = &PatchedPowerPanelRequest{} // PatchedPowerPanelRequest Adds support for custom fields and tags. type PatchedPowerPanelRequest struct { - Site *SiteRequest `json:"site,omitempty"` - Location NullableLocationRequest `json:"location,omitempty"` - Name *string `json:"name,omitempty"` - Description *string `json:"description,omitempty"` - Comments *string `json:"comments,omitempty"` - Tags []NestedTagRequest `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Site *BriefSiteRequest `json:"site,omitempty"` + Location NullableBriefLocationRequest `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -49,9 +49,9 @@ func NewPatchedPowerPanelRequestWithDefaults() *PatchedPowerPanelRequest { } // GetSite returns the Site field value if set, zero value otherwise. -func (o *PatchedPowerPanelRequest) GetSite() SiteRequest { +func (o *PatchedPowerPanelRequest) GetSite() BriefSiteRequest { if o == nil || IsNil(o.Site) { - var ret SiteRequest + var ret BriefSiteRequest return ret } return *o.Site @@ -59,7 +59,7 @@ func (o *PatchedPowerPanelRequest) GetSite() SiteRequest { // GetSiteOk returns a tuple with the Site field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedPowerPanelRequest) GetSiteOk() (*SiteRequest, bool) { +func (o *PatchedPowerPanelRequest) GetSiteOk() (*BriefSiteRequest, bool) { if o == nil || IsNil(o.Site) { return nil, false } @@ -75,15 +75,15 @@ func (o *PatchedPowerPanelRequest) HasSite() bool { return false } -// SetSite gets a reference to the given SiteRequest and assigns it to the Site field. -func (o *PatchedPowerPanelRequest) SetSite(v SiteRequest) { +// SetSite gets a reference to the given BriefSiteRequest and assigns it to the Site field. +func (o *PatchedPowerPanelRequest) SetSite(v BriefSiteRequest) { o.Site = &v } // GetLocation returns the Location field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedPowerPanelRequest) GetLocation() LocationRequest { +func (o *PatchedPowerPanelRequest) GetLocation() BriefLocationRequest { if o == nil || IsNil(o.Location.Get()) { - var ret LocationRequest + var ret BriefLocationRequest return ret } return *o.Location.Get() @@ -92,7 +92,7 @@ func (o *PatchedPowerPanelRequest) GetLocation() LocationRequest { // GetLocationOk returns a tuple with the Location 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) GetLocationOk() (*LocationRequest, bool) { +func (o *PatchedPowerPanelRequest) GetLocationOk() (*BriefLocationRequest, bool) { if o == nil { return nil, false } @@ -108,8 +108,8 @@ func (o *PatchedPowerPanelRequest) HasLocation() bool { return false } -// SetLocation gets a reference to the given NullableLocationRequest and assigns it to the Location field. -func (o *PatchedPowerPanelRequest) SetLocation(v LocationRequest) { +// SetLocation gets a reference to the given NullableBriefLocationRequest and assigns it to the Location field. +func (o *PatchedPowerPanelRequest) SetLocation(v BriefLocationRequest) { o.Location.Set(&v) } diff --git a/model_patched_provider_account_request.go b/model_patched_provider_account_request.go index e413eac6c..990fb5ffd 100644 --- a/model_patched_provider_account_request.go +++ b/model_patched_provider_account_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,7 +19,7 @@ var _ MappedNullable = &PatchedProviderAccountRequest{} // PatchedProviderAccountRequest Adds support for custom fields and tags. type PatchedProviderAccountRequest struct { - Provider *ProviderRequest `json:"provider,omitempty"` + Provider *BriefProviderRequest `json:"provider,omitempty"` Name *string `json:"name,omitempty"` Account *string `json:"account,omitempty"` Description *string `json:"description,omitempty"` @@ -53,9 +53,9 @@ func NewPatchedProviderAccountRequestWithDefaults() *PatchedProviderAccountReque } // GetProvider returns the Provider field value if set, zero value otherwise. -func (o *PatchedProviderAccountRequest) GetProvider() ProviderRequest { +func (o *PatchedProviderAccountRequest) GetProvider() BriefProviderRequest { if o == nil || IsNil(o.Provider) { - var ret ProviderRequest + var ret BriefProviderRequest return ret } return *o.Provider @@ -63,7 +63,7 @@ func (o *PatchedProviderAccountRequest) GetProvider() ProviderRequest { // GetProviderOk returns a tuple with the Provider field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedProviderAccountRequest) GetProviderOk() (*ProviderRequest, bool) { +func (o *PatchedProviderAccountRequest) GetProviderOk() (*BriefProviderRequest, bool) { if o == nil || IsNil(o.Provider) { return nil, false } @@ -79,8 +79,8 @@ func (o *PatchedProviderAccountRequest) HasProvider() bool { return false } -// SetProvider gets a reference to the given ProviderRequest and assigns it to the Provider field. -func (o *PatchedProviderAccountRequest) SetProvider(v ProviderRequest) { +// SetProvider gets a reference to the given BriefProviderRequest and assigns it to the Provider field. +func (o *PatchedProviderAccountRequest) SetProvider(v BriefProviderRequest) { o.Provider = &v } diff --git a/model_patched_provider_network_request.go b/model_patched_provider_network_request.go index f25971cb9..096011b69 100644 --- a/model_patched_provider_network_request.go +++ b/model_patched_provider_network_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,7 +19,7 @@ var _ MappedNullable = &PatchedProviderNetworkRequest{} // PatchedProviderNetworkRequest Adds support for custom fields and tags. type PatchedProviderNetworkRequest struct { - Provider *ProviderRequest `json:"provider,omitempty"` + Provider *BriefProviderRequest `json:"provider,omitempty"` Name *string `json:"name,omitempty"` ServiceId *string `json:"service_id,omitempty"` Description *string `json:"description,omitempty"` @@ -49,9 +49,9 @@ func NewPatchedProviderNetworkRequestWithDefaults() *PatchedProviderNetworkReque } // GetProvider returns the Provider field value if set, zero value otherwise. -func (o *PatchedProviderNetworkRequest) GetProvider() ProviderRequest { +func (o *PatchedProviderNetworkRequest) GetProvider() BriefProviderRequest { if o == nil || IsNil(o.Provider) { - var ret ProviderRequest + var ret BriefProviderRequest return ret } return *o.Provider @@ -59,7 +59,7 @@ func (o *PatchedProviderNetworkRequest) GetProvider() ProviderRequest { // GetProviderOk returns a tuple with the Provider field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedProviderNetworkRequest) GetProviderOk() (*ProviderRequest, bool) { +func (o *PatchedProviderNetworkRequest) GetProviderOk() (*BriefProviderRequest, bool) { if o == nil || IsNil(o.Provider) { return nil, false } @@ -75,8 +75,8 @@ func (o *PatchedProviderNetworkRequest) HasProvider() bool { return false } -// SetProvider gets a reference to the given ProviderRequest and assigns it to the Provider field. -func (o *PatchedProviderNetworkRequest) SetProvider(v ProviderRequest) { +// SetProvider gets a reference to the given BriefProviderRequest and assigns it to the Provider field. +func (o *PatchedProviderNetworkRequest) SetProvider(v BriefProviderRequest) { o.Provider = &v } diff --git a/model_patched_provider_request.go b/model_patched_provider_request.go index 1c4432678..78fca91f1 100644 --- a/model_patched_provider_request.go +++ b/model_patched_provider_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_rack_reservation_request.go b/model_patched_rack_reservation_request.go index c5e404cb3..58622d725 100644 --- a/model_patched_rack_reservation_request.go +++ b/model_patched_rack_reservation_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,14 +19,14 @@ var _ MappedNullable = &PatchedRackReservationRequest{} // PatchedRackReservationRequest Adds support for custom fields and tags. type PatchedRackReservationRequest struct { - Rack *RackRequest `json:"rack,omitempty"` - Units []int32 `json:"units,omitempty"` - User *UserRequest `json:"user,omitempty"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` - Description *string `json:"description,omitempty"` - Comments *string `json:"comments,omitempty"` - Tags []NestedTagRequest `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Rack *BriefRackRequest `json:"rack,omitempty"` + Units []int32 `json:"units,omitempty"` + User *BriefUserRequest `json:"user,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -50,9 +50,9 @@ func NewPatchedRackReservationRequestWithDefaults() *PatchedRackReservationReque } // GetRack returns the Rack field value if set, zero value otherwise. -func (o *PatchedRackReservationRequest) GetRack() RackRequest { +func (o *PatchedRackReservationRequest) GetRack() BriefRackRequest { if o == nil || IsNil(o.Rack) { - var ret RackRequest + var ret BriefRackRequest return ret } return *o.Rack @@ -60,7 +60,7 @@ func (o *PatchedRackReservationRequest) GetRack() RackRequest { // GetRackOk returns a tuple with the Rack field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedRackReservationRequest) GetRackOk() (*RackRequest, bool) { +func (o *PatchedRackReservationRequest) GetRackOk() (*BriefRackRequest, bool) { if o == nil || IsNil(o.Rack) { return nil, false } @@ -76,8 +76,8 @@ func (o *PatchedRackReservationRequest) HasRack() bool { return false } -// SetRack gets a reference to the given RackRequest and assigns it to the Rack field. -func (o *PatchedRackReservationRequest) SetRack(v RackRequest) { +// SetRack gets a reference to the given BriefRackRequest and assigns it to the Rack field. +func (o *PatchedRackReservationRequest) SetRack(v BriefRackRequest) { o.Rack = &v } @@ -114,9 +114,9 @@ func (o *PatchedRackReservationRequest) SetUnits(v []int32) { } // GetUser returns the User field value if set, zero value otherwise. -func (o *PatchedRackReservationRequest) GetUser() UserRequest { +func (o *PatchedRackReservationRequest) GetUser() BriefUserRequest { if o == nil || IsNil(o.User) { - var ret UserRequest + var ret BriefUserRequest return ret } return *o.User @@ -124,7 +124,7 @@ func (o *PatchedRackReservationRequest) GetUser() UserRequest { // GetUserOk returns a tuple with the User field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedRackReservationRequest) GetUserOk() (*UserRequest, bool) { +func (o *PatchedRackReservationRequest) GetUserOk() (*BriefUserRequest, bool) { if o == nil || IsNil(o.User) { return nil, false } @@ -140,15 +140,15 @@ func (o *PatchedRackReservationRequest) HasUser() bool { return false } -// SetUser gets a reference to the given UserRequest and assigns it to the User field. -func (o *PatchedRackReservationRequest) SetUser(v UserRequest) { +// SetUser gets a reference to the given BriefUserRequest and assigns it to the User field. +func (o *PatchedRackReservationRequest) SetUser(v BriefUserRequest) { o.User = &v } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedRackReservationRequest) GetTenant() TenantRequest { +func (o *PatchedRackReservationRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -157,7 +157,7 @@ func (o *PatchedRackReservationRequest) GetTenant() TenantRequest { // 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 *PatchedRackReservationRequest) GetTenantOk() (*TenantRequest, bool) { +func (o *PatchedRackReservationRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -173,8 +173,8 @@ func (o *PatchedRackReservationRequest) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *PatchedRackReservationRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *PatchedRackReservationRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } diff --git a/model_patched_rack_role_request.go b/model_patched_rack_role_request.go index 6d892aa82..945f63e19 100644 --- a/model_patched_rack_role_request.go +++ b/model_patched_rack_role_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_rir_request.go b/model_patched_rir_request.go index 0b99fe529..365474c15 100644 --- a/model_patched_rir_request.go +++ b/model_patched_rir_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_role_request.go b/model_patched_role_request.go index 7352ad89e..601137ff9 100644 --- a/model_patched_role_request.go +++ b/model_patched_role_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_route_target_request.go b/model_patched_route_target_request.go index b2a367b40..3f52faea4 100644 --- a/model_patched_route_target_request.go +++ b/model_patched_route_target_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,12 +20,12 @@ var _ MappedNullable = &PatchedRouteTargetRequest{} // PatchedRouteTargetRequest Adds support for custom fields and tags. type PatchedRouteTargetRequest struct { // Route target value (formatted in accordance with RFC 4360) - Name *string `json:"name,omitempty"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` - Description *string `json:"description,omitempty"` - Comments *string `json:"comments,omitempty"` - Tags []NestedTagRequest `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Name *string `json:"name,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -81,9 +81,9 @@ func (o *PatchedRouteTargetRequest) SetName(v string) { } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedRouteTargetRequest) GetTenant() TenantRequest { +func (o *PatchedRouteTargetRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -92,7 +92,7 @@ func (o *PatchedRouteTargetRequest) GetTenant() TenantRequest { // 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 *PatchedRouteTargetRequest) GetTenantOk() (*TenantRequest, bool) { +func (o *PatchedRouteTargetRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -108,8 +108,8 @@ func (o *PatchedRouteTargetRequest) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *PatchedRouteTargetRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *PatchedRouteTargetRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } diff --git a/model_patched_saved_filter_request.go b/model_patched_saved_filter_request.go index 0f76328b3..3b0c413ae 100644 --- a/model_patched_saved_filter_request.go +++ b/model_patched_saved_filter_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_script_input_request.go b/model_patched_script_input_request.go new file mode 100644 index 000000000..03d2c577c --- /dev/null +++ b/model_patched_script_input_request.go @@ -0,0 +1,288 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "time" +) + +// checks if the PatchedScriptInputRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PatchedScriptInputRequest{} + +// PatchedScriptInputRequest struct for PatchedScriptInputRequest +type PatchedScriptInputRequest struct { + Data interface{} `json:"data,omitempty"` + Commit *bool `json:"commit,omitempty"` + ScheduleAt NullableTime `json:"schedule_at,omitempty"` + Interval NullableInt32 `json:"interval,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _PatchedScriptInputRequest PatchedScriptInputRequest + +// NewPatchedScriptInputRequest instantiates a new PatchedScriptInputRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewPatchedScriptInputRequest() *PatchedScriptInputRequest { + this := PatchedScriptInputRequest{} + return &this +} + +// NewPatchedScriptInputRequestWithDefaults instantiates a new PatchedScriptInputRequest object +// This 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 NewPatchedScriptInputRequestWithDefaults() *PatchedScriptInputRequest { + this := PatchedScriptInputRequest{} + return &this +} + +// GetData returns the Data field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedScriptInputRequest) GetData() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Data +} + +// GetDataOk returns a tuple with the Data 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 *PatchedScriptInputRequest) GetDataOk() (*interface{}, bool) { + if o == nil || IsNil(o.Data) { + return nil, false + } + return &o.Data, true +} + +// HasData returns a boolean if a field has been set. +func (o *PatchedScriptInputRequest) HasData() bool { + if o != nil && !IsNil(o.Data) { + return true + } + + return false +} + +// SetData gets a reference to the given interface{} and assigns it to the Data field. +func (o *PatchedScriptInputRequest) SetData(v interface{}) { + o.Data = v +} + +// GetCommit returns the Commit field value if set, zero value otherwise. +func (o *PatchedScriptInputRequest) GetCommit() bool { + if o == nil || IsNil(o.Commit) { + var ret bool + return ret + } + return *o.Commit +} + +// GetCommitOk returns a tuple with the Commit field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedScriptInputRequest) GetCommitOk() (*bool, bool) { + if o == nil || IsNil(o.Commit) { + return nil, false + } + return o.Commit, true +} + +// HasCommit returns a boolean if a field has been set. +func (o *PatchedScriptInputRequest) HasCommit() bool { + if o != nil && !IsNil(o.Commit) { + return true + } + + return false +} + +// SetCommit gets a reference to the given bool and assigns it to the Commit field. +func (o *PatchedScriptInputRequest) SetCommit(v bool) { + o.Commit = &v +} + +// GetScheduleAt returns the ScheduleAt field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedScriptInputRequest) GetScheduleAt() time.Time { + if o == nil || IsNil(o.ScheduleAt.Get()) { + var ret time.Time + return ret + } + return *o.ScheduleAt.Get() +} + +// GetScheduleAtOk returns a tuple with the ScheduleAt 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 *PatchedScriptInputRequest) GetScheduleAtOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.ScheduleAt.Get(), o.ScheduleAt.IsSet() +} + +// HasScheduleAt returns a boolean if a field has been set. +func (o *PatchedScriptInputRequest) HasScheduleAt() bool { + if o != nil && o.ScheduleAt.IsSet() { + return true + } + + return false +} + +// SetScheduleAt gets a reference to the given NullableTime and assigns it to the ScheduleAt field. +func (o *PatchedScriptInputRequest) SetScheduleAt(v time.Time) { + o.ScheduleAt.Set(&v) +} + +// SetScheduleAtNil sets the value for ScheduleAt to be an explicit nil +func (o *PatchedScriptInputRequest) SetScheduleAtNil() { + o.ScheduleAt.Set(nil) +} + +// UnsetScheduleAt ensures that no value is present for ScheduleAt, not even an explicit nil +func (o *PatchedScriptInputRequest) UnsetScheduleAt() { + o.ScheduleAt.Unset() +} + +// GetInterval returns the Interval field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedScriptInputRequest) GetInterval() int32 { + if o == nil || IsNil(o.Interval.Get()) { + var ret int32 + return ret + } + return *o.Interval.Get() +} + +// GetIntervalOk returns a tuple with the Interval 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 *PatchedScriptInputRequest) GetIntervalOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.Interval.Get(), o.Interval.IsSet() +} + +// HasInterval returns a boolean if a field has been set. +func (o *PatchedScriptInputRequest) HasInterval() bool { + if o != nil && o.Interval.IsSet() { + return true + } + + return false +} + +// SetInterval gets a reference to the given NullableInt32 and assigns it to the Interval field. +func (o *PatchedScriptInputRequest) SetInterval(v int32) { + o.Interval.Set(&v) +} + +// SetIntervalNil sets the value for Interval to be an explicit nil +func (o *PatchedScriptInputRequest) SetIntervalNil() { + o.Interval.Set(nil) +} + +// UnsetInterval ensures that no value is present for Interval, not even an explicit nil +func (o *PatchedScriptInputRequest) UnsetInterval() { + o.Interval.Unset() +} + +func (o PatchedScriptInputRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PatchedScriptInputRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.Data != nil { + toSerialize["data"] = o.Data + } + if !IsNil(o.Commit) { + toSerialize["commit"] = o.Commit + } + if o.ScheduleAt.IsSet() { + toSerialize["schedule_at"] = o.ScheduleAt.Get() + } + if o.Interval.IsSet() { + toSerialize["interval"] = o.Interval.Get() + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *PatchedScriptInputRequest) UnmarshalJSON(data []byte) (err error) { + varPatchedScriptInputRequest := _PatchedScriptInputRequest{} + + err = json.Unmarshal(data, &varPatchedScriptInputRequest) + + if err != nil { + return err + } + + *o = PatchedScriptInputRequest(varPatchedScriptInputRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "data") + delete(additionalProperties, "commit") + delete(additionalProperties, "schedule_at") + delete(additionalProperties, "interval") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullablePatchedScriptInputRequest struct { + value *PatchedScriptInputRequest + isSet bool +} + +func (v NullablePatchedScriptInputRequest) Get() *PatchedScriptInputRequest { + return v.value +} + +func (v *NullablePatchedScriptInputRequest) Set(val *PatchedScriptInputRequest) { + v.value = val + v.isSet = true +} + +func (v NullablePatchedScriptInputRequest) IsSet() bool { + return v.isSet +} + +func (v *NullablePatchedScriptInputRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePatchedScriptInputRequest(val *PatchedScriptInputRequest) *NullablePatchedScriptInputRequest { + return &NullablePatchedScriptInputRequest{value: val, isSet: true} +} + +func (v NullablePatchedScriptInputRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePatchedScriptInputRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_patched_subscription_request.go b/model_patched_subscription_request.go new file mode 100644 index 000000000..cb0545450 --- /dev/null +++ b/model_patched_subscription_request.go @@ -0,0 +1,227 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" +) + +// checks if the PatchedSubscriptionRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PatchedSubscriptionRequest{} + +// PatchedSubscriptionRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 PatchedSubscriptionRequest struct { + ObjectType *string `json:"object_type,omitempty"` + ObjectId *int64 `json:"object_id,omitempty"` + User *BriefUserRequest `json:"user,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _PatchedSubscriptionRequest PatchedSubscriptionRequest + +// NewPatchedSubscriptionRequest instantiates a new PatchedSubscriptionRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewPatchedSubscriptionRequest() *PatchedSubscriptionRequest { + this := PatchedSubscriptionRequest{} + return &this +} + +// NewPatchedSubscriptionRequestWithDefaults instantiates a new PatchedSubscriptionRequest object +// This 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 NewPatchedSubscriptionRequestWithDefaults() *PatchedSubscriptionRequest { + this := PatchedSubscriptionRequest{} + return &this +} + +// GetObjectType returns the ObjectType field value if set, zero value otherwise. +func (o *PatchedSubscriptionRequest) 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 *PatchedSubscriptionRequest) 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 *PatchedSubscriptionRequest) 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 *PatchedSubscriptionRequest) SetObjectType(v string) { + o.ObjectType = &v +} + +// GetObjectId returns the ObjectId field value if set, zero value otherwise. +func (o *PatchedSubscriptionRequest) GetObjectId() int64 { + if o == nil || IsNil(o.ObjectId) { + var ret int64 + return ret + } + return *o.ObjectId +} + +// GetObjectIdOk returns a tuple with the ObjectId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedSubscriptionRequest) GetObjectIdOk() (*int64, bool) { + if o == nil || IsNil(o.ObjectId) { + return nil, false + } + return o.ObjectId, true +} + +// HasObjectId returns a boolean if a field has been set. +func (o *PatchedSubscriptionRequest) HasObjectId() bool { + if o != nil && !IsNil(o.ObjectId) { + return true + } + + return false +} + +// SetObjectId gets a reference to the given int64 and assigns it to the ObjectId field. +func (o *PatchedSubscriptionRequest) SetObjectId(v int64) { + o.ObjectId = &v +} + +// GetUser returns the User field value if set, zero value otherwise. +func (o *PatchedSubscriptionRequest) GetUser() BriefUserRequest { + if o == nil || IsNil(o.User) { + var ret BriefUserRequest + return ret + } + return *o.User +} + +// GetUserOk returns a tuple with the User field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedSubscriptionRequest) GetUserOk() (*BriefUserRequest, bool) { + if o == nil || IsNil(o.User) { + return nil, false + } + return o.User, true +} + +// HasUser returns a boolean if a field has been set. +func (o *PatchedSubscriptionRequest) HasUser() bool { + if o != nil && !IsNil(o.User) { + return true + } + + return false +} + +// SetUser gets a reference to the given BriefUserRequest and assigns it to the User field. +func (o *PatchedSubscriptionRequest) SetUser(v BriefUserRequest) { + o.User = &v +} + +func (o PatchedSubscriptionRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PatchedSubscriptionRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.ObjectType) { + toSerialize["object_type"] = o.ObjectType + } + if !IsNil(o.ObjectId) { + toSerialize["object_id"] = o.ObjectId + } + if !IsNil(o.User) { + toSerialize["user"] = o.User + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *PatchedSubscriptionRequest) UnmarshalJSON(data []byte) (err error) { + varPatchedSubscriptionRequest := _PatchedSubscriptionRequest{} + + err = json.Unmarshal(data, &varPatchedSubscriptionRequest) + + if err != nil { + return err + } + + *o = PatchedSubscriptionRequest(varPatchedSubscriptionRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "object_type") + delete(additionalProperties, "object_id") + delete(additionalProperties, "user") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullablePatchedSubscriptionRequest struct { + value *PatchedSubscriptionRequest + isSet bool +} + +func (v NullablePatchedSubscriptionRequest) Get() *PatchedSubscriptionRequest { + return v.value +} + +func (v *NullablePatchedSubscriptionRequest) Set(val *PatchedSubscriptionRequest) { + v.value = val + v.isSet = true +} + +func (v NullablePatchedSubscriptionRequest) IsSet() bool { + return v.isSet +} + +func (v *NullablePatchedSubscriptionRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePatchedSubscriptionRequest(val *PatchedSubscriptionRequest) *NullablePatchedSubscriptionRequest { + return &NullablePatchedSubscriptionRequest{value: val, isSet: true} +} + +func (v NullablePatchedSubscriptionRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePatchedSubscriptionRequest) 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 df4b1fd5b..7533f4adf 100644 --- a/model_patched_tag_request.go +++ b/model_patched_tag_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_tenant_request.go b/model_patched_tenant_request.go index 394851841..aef921c39 100644 --- a/model_patched_tenant_request.go +++ b/model_patched_tenant_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,13 +19,13 @@ var _ MappedNullable = &PatchedTenantRequest{} // PatchedTenantRequest Adds support for custom fields and tags. type PatchedTenantRequest struct { - Name *string `json:"name,omitempty"` - Slug *string `json:"slug,omitempty"` - Group NullableTenantGroupRequest `json:"group,omitempty"` - Description *string `json:"description,omitempty"` - Comments *string `json:"comments,omitempty"` - Tags []NestedTagRequest `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` + Group NullableBriefTenantGroupRequest `json:"group,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -113,9 +113,9 @@ func (o *PatchedTenantRequest) SetSlug(v string) { } // GetGroup returns the Group field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedTenantRequest) GetGroup() TenantGroupRequest { +func (o *PatchedTenantRequest) GetGroup() BriefTenantGroupRequest { if o == nil || IsNil(o.Group.Get()) { - var ret TenantGroupRequest + var ret BriefTenantGroupRequest return ret } return *o.Group.Get() @@ -124,7 +124,7 @@ func (o *PatchedTenantRequest) GetGroup() TenantGroupRequest { // GetGroupOk returns a tuple with the Group 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 *PatchedTenantRequest) GetGroupOk() (*TenantGroupRequest, bool) { +func (o *PatchedTenantRequest) GetGroupOk() (*BriefTenantGroupRequest, bool) { if o == nil { return nil, false } @@ -140,8 +140,8 @@ func (o *PatchedTenantRequest) HasGroup() bool { return false } -// SetGroup gets a reference to the given NullableTenantGroupRequest and assigns it to the Group field. -func (o *PatchedTenantRequest) SetGroup(v TenantGroupRequest) { +// SetGroup gets a reference to the given NullableBriefTenantGroupRequest and assigns it to the Group field. +func (o *PatchedTenantRequest) SetGroup(v BriefTenantGroupRequest) { o.Group.Set(&v) } diff --git a/model_patched_token_request.go b/model_patched_token_request.go index 87277f496..664f39455 100644 --- a/model_patched_token_request.go +++ b/model_patched_token_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,10 +20,10 @@ 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 { - User *UserRequest `json:"user,omitempty"` - Expires NullableTime `json:"expires,omitempty"` - LastUsed NullableTime `json:"last_used,omitempty"` - Key *string `json:"key,omitempty"` + User *BriefUserRequest `json:"user,omitempty"` + Expires NullableTime `json:"expires,omitempty"` + LastUsed NullableTime `json:"last_used,omitempty"` + Key *string `json:"key,omitempty"` // Permit create/update/delete operations using this key WriteEnabled *bool `json:"write_enabled,omitempty"` Description *string `json:"description,omitempty"` @@ -50,9 +50,9 @@ func NewPatchedTokenRequestWithDefaults() *PatchedTokenRequest { } // GetUser returns the User field value if set, zero value otherwise. -func (o *PatchedTokenRequest) GetUser() UserRequest { +func (o *PatchedTokenRequest) GetUser() BriefUserRequest { if o == nil || IsNil(o.User) { - var ret UserRequest + var ret BriefUserRequest return ret } return *o.User @@ -60,7 +60,7 @@ func (o *PatchedTokenRequest) GetUser() UserRequest { // GetUserOk returns a tuple with the User field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedTokenRequest) GetUserOk() (*UserRequest, bool) { +func (o *PatchedTokenRequest) GetUserOk() (*BriefUserRequest, bool) { if o == nil || IsNil(o.User) { return nil, false } @@ -76,8 +76,8 @@ func (o *PatchedTokenRequest) HasUser() bool { return false } -// SetUser gets a reference to the given UserRequest and assigns it to the User field. -func (o *PatchedTokenRequest) SetUser(v UserRequest) { +// SetUser gets a reference to the given BriefUserRequest and assigns it to the User field. +func (o *PatchedTokenRequest) SetUser(v BriefUserRequest) { o.User = &v } diff --git a/model_patched_tunnel_group_request.go b/model_patched_tunnel_group_request.go index d01b7dc83..fbd94296e 100644 --- a/model_patched_tunnel_group_request.go +++ b/model_patched_tunnel_group_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_user_request.go b/model_patched_user_request.go index b03530987..d4df6bfdd 100644 --- a/model_patched_user_request.go +++ b/model_patched_user_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_virtual_disk_request.go b/model_patched_virtual_disk_request.go index 17afe0ffa..682838138 100644 --- a/model_patched_virtual_disk_request.go +++ b/model_patched_virtual_disk_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,12 +19,12 @@ var _ MappedNullable = &PatchedVirtualDiskRequest{} // PatchedVirtualDiskRequest Adds support for custom fields and tags. type PatchedVirtualDiskRequest struct { - VirtualMachine *VirtualMachineRequest `json:"virtual_machine,omitempty"` - Name *string `json:"name,omitempty"` - Description *string `json:"description,omitempty"` - Size *int32 `json:"size,omitempty"` - Tags []NestedTagRequest `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + VirtualMachine *BriefVirtualMachineRequest `json:"virtual_machine,omitempty"` + Name *string `json:"name,omitempty"` + Description *string `json:"description,omitempty"` + Size *int32 `json:"size,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -48,9 +48,9 @@ func NewPatchedVirtualDiskRequestWithDefaults() *PatchedVirtualDiskRequest { } // GetVirtualMachine returns the VirtualMachine field value if set, zero value otherwise. -func (o *PatchedVirtualDiskRequest) GetVirtualMachine() VirtualMachineRequest { +func (o *PatchedVirtualDiskRequest) GetVirtualMachine() BriefVirtualMachineRequest { if o == nil || IsNil(o.VirtualMachine) { - var ret VirtualMachineRequest + var ret BriefVirtualMachineRequest return ret } return *o.VirtualMachine @@ -58,7 +58,7 @@ func (o *PatchedVirtualDiskRequest) GetVirtualMachine() VirtualMachineRequest { // GetVirtualMachineOk returns a tuple with the VirtualMachine field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedVirtualDiskRequest) GetVirtualMachineOk() (*VirtualMachineRequest, bool) { +func (o *PatchedVirtualDiskRequest) GetVirtualMachineOk() (*BriefVirtualMachineRequest, bool) { if o == nil || IsNil(o.VirtualMachine) { return nil, false } @@ -74,8 +74,8 @@ func (o *PatchedVirtualDiskRequest) HasVirtualMachine() bool { return false } -// SetVirtualMachine gets a reference to the given VirtualMachineRequest and assigns it to the VirtualMachine field. -func (o *PatchedVirtualDiskRequest) SetVirtualMachine(v VirtualMachineRequest) { +// SetVirtualMachine gets a reference to the given BriefVirtualMachineRequest and assigns it to the VirtualMachine field. +func (o *PatchedVirtualDiskRequest) SetVirtualMachine(v BriefVirtualMachineRequest) { o.VirtualMachine = &v } diff --git a/model_patched_vlan_group_request.go b/model_patched_vlan_group_request.go index 39f5d4933..c2ac2e12a 100644 --- a/model_patched_vlan_group_request.go +++ b/model_patched_vlan_group_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,14 +19,10 @@ var _ MappedNullable = &PatchedVLANGroupRequest{} // PatchedVLANGroupRequest Adds support for custom fields and tags. type PatchedVLANGroupRequest struct { - Name *string `json:"name,omitempty"` - Slug *string `json:"slug,omitempty"` - ScopeType NullableString `json:"scope_type,omitempty"` - ScopeId NullableInt32 `json:"scope_id,omitempty"` - // Lowest permissible ID of a child VLAN - MinVid *int32 `json:"min_vid,omitempty"` - // Highest permissible ID of a child VLAN - MaxVid *int32 `json:"max_vid,omitempty"` + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` + ScopeType NullableString `json:"scope_type,omitempty"` + ScopeId NullableInt32 `json:"scope_id,omitempty"` Description *string `json:"description,omitempty"` Tags []NestedTagRequest `json:"tags,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` @@ -202,70 +198,6 @@ func (o *PatchedVLANGroupRequest) UnsetScopeId() { o.ScopeId.Unset() } -// GetMinVid returns the MinVid field value if set, zero value otherwise. -func (o *PatchedVLANGroupRequest) GetMinVid() int32 { - if o == nil || IsNil(o.MinVid) { - var ret int32 - return ret - } - return *o.MinVid -} - -// GetMinVidOk returns a tuple with the MinVid field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PatchedVLANGroupRequest) GetMinVidOk() (*int32, bool) { - if o == nil || IsNil(o.MinVid) { - return nil, false - } - return o.MinVid, true -} - -// HasMinVid returns a boolean if a field has been set. -func (o *PatchedVLANGroupRequest) HasMinVid() bool { - if o != nil && !IsNil(o.MinVid) { - return true - } - - return false -} - -// SetMinVid gets a reference to the given int32 and assigns it to the MinVid field. -func (o *PatchedVLANGroupRequest) SetMinVid(v int32) { - o.MinVid = &v -} - -// GetMaxVid returns the MaxVid field value if set, zero value otherwise. -func (o *PatchedVLANGroupRequest) GetMaxVid() int32 { - if o == nil || IsNil(o.MaxVid) { - var ret int32 - return ret - } - return *o.MaxVid -} - -// GetMaxVidOk returns a tuple with the MaxVid field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PatchedVLANGroupRequest) GetMaxVidOk() (*int32, bool) { - if o == nil || IsNil(o.MaxVid) { - return nil, false - } - return o.MaxVid, true -} - -// HasMaxVid returns a boolean if a field has been set. -func (o *PatchedVLANGroupRequest) HasMaxVid() bool { - if o != nil && !IsNil(o.MaxVid) { - return true - } - - return false -} - -// SetMaxVid gets a reference to the given int32 and assigns it to the MaxVid field. -func (o *PatchedVLANGroupRequest) SetMaxVid(v int32) { - o.MaxVid = &v -} - // GetDescription returns the Description field value if set, zero value otherwise. func (o *PatchedVLANGroupRequest) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -384,12 +316,6 @@ func (o PatchedVLANGroupRequest) ToMap() (map[string]interface{}, error) { if o.ScopeId.IsSet() { toSerialize["scope_id"] = o.ScopeId.Get() } - if !IsNil(o.MinVid) { - toSerialize["min_vid"] = o.MinVid - } - if !IsNil(o.MaxVid) { - toSerialize["max_vid"] = o.MaxVid - } if !IsNil(o.Description) { toSerialize["description"] = o.Description } @@ -425,8 +351,6 @@ func (o *PatchedVLANGroupRequest) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "slug") delete(additionalProperties, "scope_type") delete(additionalProperties, "scope_id") - delete(additionalProperties, "min_vid") - delete(additionalProperties, "max_vid") delete(additionalProperties, "description") delete(additionalProperties, "tags") delete(additionalProperties, "custom_fields") diff --git a/model_patched_vrf_request.go b/model_patched_vrf_request.go index 9dfb98881..d68f040e2 100644 --- a/model_patched_vrf_request.go +++ b/model_patched_vrf_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,8 +21,8 @@ var _ MappedNullable = &PatchedVRFRequest{} type PatchedVRFRequest struct { Name *string `json:"name,omitempty"` // Unique route distinguisher (as defined in RFC 4364) - Rd NullableString `json:"rd,omitempty"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` + Rd NullableString `json:"rd,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` // Prevent duplicate prefixes/IP addresses within this VRF EnforceUnique *bool `json:"enforce_unique,omitempty"` Description *string `json:"description,omitempty"` @@ -129,9 +129,9 @@ func (o *PatchedVRFRequest) UnsetRd() { } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedVRFRequest) GetTenant() TenantRequest { +func (o *PatchedVRFRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -140,7 +140,7 @@ func (o *PatchedVRFRequest) GetTenant() TenantRequest { // 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 *PatchedVRFRequest) GetTenantOk() (*TenantRequest, bool) { +func (o *PatchedVRFRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -156,8 +156,8 @@ func (o *PatchedVRFRequest) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *PatchedVRFRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *PatchedVRFRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } diff --git a/model_patched_webhook_request.go b/model_patched_webhook_request.go index 5c726471e..b68421b0d 100644 --- a/model_patched_webhook_request.go +++ b/model_patched_webhook_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_webhook_request_http_method.go b/model_patched_webhook_request_http_method.go index 184b35a71..9e9209c5a 100644 --- a/model_patched_webhook_request_http_method.go +++ b/model_patched_webhook_request_http_method.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_writable_aggregate_request.go b/model_patched_writable_aggregate_request.go index 0c3c8d591..72c0468e7 100644 --- a/model_patched_writable_aggregate_request.go +++ b/model_patched_writable_aggregate_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,14 +19,14 @@ var _ MappedNullable = &PatchedWritableAggregateRequest{} // PatchedWritableAggregateRequest Adds support for custom fields and tags. type PatchedWritableAggregateRequest struct { - Prefix *string `json:"prefix,omitempty"` - Rir *RIRRequest `json:"rir,omitempty"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` - DateAdded NullableString `json:"date_added,omitempty"` - Description *string `json:"description,omitempty"` - Comments *string `json:"comments,omitempty"` - Tags []NestedTagRequest `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Prefix *string `json:"prefix,omitempty"` + Rir *BriefRIRRequest `json:"rir,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` + DateAdded NullableString `json:"date_added,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -82,9 +82,9 @@ func (o *PatchedWritableAggregateRequest) SetPrefix(v string) { } // GetRir returns the Rir field value if set, zero value otherwise. -func (o *PatchedWritableAggregateRequest) GetRir() RIRRequest { +func (o *PatchedWritableAggregateRequest) GetRir() BriefRIRRequest { if o == nil || IsNil(o.Rir) { - var ret RIRRequest + var ret BriefRIRRequest return ret } return *o.Rir @@ -92,7 +92,7 @@ func (o *PatchedWritableAggregateRequest) GetRir() RIRRequest { // GetRirOk returns a tuple with the Rir field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedWritableAggregateRequest) GetRirOk() (*RIRRequest, bool) { +func (o *PatchedWritableAggregateRequest) GetRirOk() (*BriefRIRRequest, bool) { if o == nil || IsNil(o.Rir) { return nil, false } @@ -108,15 +108,15 @@ func (o *PatchedWritableAggregateRequest) HasRir() bool { return false } -// SetRir gets a reference to the given RIRRequest and assigns it to the Rir field. -func (o *PatchedWritableAggregateRequest) SetRir(v RIRRequest) { +// SetRir gets a reference to the given BriefRIRRequest and assigns it to the Rir field. +func (o *PatchedWritableAggregateRequest) SetRir(v BriefRIRRequest) { o.Rir = &v } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableAggregateRequest) GetTenant() TenantRequest { +func (o *PatchedWritableAggregateRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -125,7 +125,7 @@ func (o *PatchedWritableAggregateRequest) GetTenant() TenantRequest { // 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 *PatchedWritableAggregateRequest) GetTenantOk() (*TenantRequest, bool) { +func (o *PatchedWritableAggregateRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -141,8 +141,8 @@ func (o *PatchedWritableAggregateRequest) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *PatchedWritableAggregateRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *PatchedWritableAggregateRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } diff --git a/model_patched_writable_cable_request.go b/model_patched_writable_cable_request.go index 158155396..54fca69ca 100644 --- a/model_patched_writable_cable_request.go +++ b/model_patched_writable_cable_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,19 +19,19 @@ var _ MappedNullable = &PatchedWritableCableRequest{} // PatchedWritableCableRequest Adds support for custom fields and tags. type PatchedWritableCableRequest struct { - Type *PatchedWritableCableRequestType `json:"type,omitempty"` - ATerminations []GenericObjectRequest `json:"a_terminations,omitempty"` - BTerminations []GenericObjectRequest `json:"b_terminations,omitempty"` - Status *PatchedWritableCableRequestStatus `json:"status,omitempty"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` - Label *string `json:"label,omitempty"` - Color *string `json:"color,omitempty"` - Length NullableFloat64 `json:"length,omitempty"` - LengthUnit *PatchedWritableCableRequestLengthUnit `json:"length_unit,omitempty"` - Description *string `json:"description,omitempty"` - Comments *string `json:"comments,omitempty"` - Tags []NestedTagRequest `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Type *CableType `json:"type,omitempty"` + ATerminations []GenericObjectRequest `json:"a_terminations,omitempty"` + BTerminations []GenericObjectRequest `json:"b_terminations,omitempty"` + Status *CableStatusValue `json:"status,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` + Label *string `json:"label,omitempty"` + Color *string `json:"color,omitempty"` + Length NullableFloat64 `json:"length,omitempty"` + LengthUnit *CableLengthUnitValue `json:"length_unit,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -55,9 +55,9 @@ func NewPatchedWritableCableRequestWithDefaults() *PatchedWritableCableRequest { } // GetType returns the Type field value if set, zero value otherwise. -func (o *PatchedWritableCableRequest) GetType() PatchedWritableCableRequestType { +func (o *PatchedWritableCableRequest) GetType() CableType { if o == nil || IsNil(o.Type) { - var ret PatchedWritableCableRequestType + var ret CableType return ret } return *o.Type @@ -65,7 +65,7 @@ func (o *PatchedWritableCableRequest) GetType() PatchedWritableCableRequestType // GetTypeOk returns a tuple with the Type field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedWritableCableRequest) GetTypeOk() (*PatchedWritableCableRequestType, bool) { +func (o *PatchedWritableCableRequest) GetTypeOk() (*CableType, bool) { if o == nil || IsNil(o.Type) { return nil, false } @@ -81,8 +81,8 @@ func (o *PatchedWritableCableRequest) HasType() bool { return false } -// SetType gets a reference to the given PatchedWritableCableRequestType and assigns it to the Type field. -func (o *PatchedWritableCableRequest) SetType(v PatchedWritableCableRequestType) { +// SetType gets a reference to the given CableType and assigns it to the Type field. +func (o *PatchedWritableCableRequest) SetType(v CableType) { o.Type = &v } @@ -151,9 +151,9 @@ func (o *PatchedWritableCableRequest) SetBTerminations(v []GenericObjectRequest) } // GetStatus returns the Status field value if set, zero value otherwise. -func (o *PatchedWritableCableRequest) GetStatus() PatchedWritableCableRequestStatus { +func (o *PatchedWritableCableRequest) GetStatus() CableStatusValue { if o == nil || IsNil(o.Status) { - var ret PatchedWritableCableRequestStatus + var ret CableStatusValue return ret } return *o.Status @@ -161,7 +161,7 @@ func (o *PatchedWritableCableRequest) GetStatus() PatchedWritableCableRequestSta // 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 *PatchedWritableCableRequest) GetStatusOk() (*PatchedWritableCableRequestStatus, bool) { +func (o *PatchedWritableCableRequest) GetStatusOk() (*CableStatusValue, bool) { if o == nil || IsNil(o.Status) { return nil, false } @@ -177,15 +177,15 @@ func (o *PatchedWritableCableRequest) HasStatus() bool { return false } -// SetStatus gets a reference to the given PatchedWritableCableRequestStatus and assigns it to the Status field. -func (o *PatchedWritableCableRequest) SetStatus(v PatchedWritableCableRequestStatus) { +// SetStatus gets a reference to the given CableStatusValue and assigns it to the Status field. +func (o *PatchedWritableCableRequest) SetStatus(v CableStatusValue) { o.Status = &v } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableCableRequest) GetTenant() TenantRequest { +func (o *PatchedWritableCableRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -194,7 +194,7 @@ func (o *PatchedWritableCableRequest) GetTenant() TenantRequest { // 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 *PatchedWritableCableRequest) GetTenantOk() (*TenantRequest, bool) { +func (o *PatchedWritableCableRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -210,8 +210,8 @@ func (o *PatchedWritableCableRequest) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *PatchedWritableCableRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *PatchedWritableCableRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } @@ -333,9 +333,9 @@ func (o *PatchedWritableCableRequest) UnsetLength() { } // GetLengthUnit returns the LengthUnit field value if set, zero value otherwise. -func (o *PatchedWritableCableRequest) GetLengthUnit() PatchedWritableCableRequestLengthUnit { +func (o *PatchedWritableCableRequest) GetLengthUnit() CableLengthUnitValue { if o == nil || IsNil(o.LengthUnit) { - var ret PatchedWritableCableRequestLengthUnit + var ret CableLengthUnitValue return ret } return *o.LengthUnit @@ -343,7 +343,7 @@ func (o *PatchedWritableCableRequest) GetLengthUnit() PatchedWritableCableReques // GetLengthUnitOk returns a tuple with the LengthUnit field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedWritableCableRequest) GetLengthUnitOk() (*PatchedWritableCableRequestLengthUnit, bool) { +func (o *PatchedWritableCableRequest) GetLengthUnitOk() (*CableLengthUnitValue, bool) { if o == nil || IsNil(o.LengthUnit) { return nil, false } @@ -359,8 +359,8 @@ func (o *PatchedWritableCableRequest) HasLengthUnit() bool { return false } -// SetLengthUnit gets a reference to the given PatchedWritableCableRequestLengthUnit and assigns it to the LengthUnit field. -func (o *PatchedWritableCableRequest) SetLengthUnit(v PatchedWritableCableRequestLengthUnit) { +// SetLengthUnit gets a reference to the given CableLengthUnitValue and assigns it to the LengthUnit field. +func (o *PatchedWritableCableRequest) SetLengthUnit(v CableLengthUnitValue) { o.LengthUnit = &v } diff --git a/model_patched_writable_circuit_group_assignment_request.go b/model_patched_writable_circuit_group_assignment_request.go new file mode 100644 index 000000000..dc2077f78 --- /dev/null +++ b/model_patched_writable_circuit_group_assignment_request.go @@ -0,0 +1,264 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" +) + +// checks if the PatchedWritableCircuitGroupAssignmentRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PatchedWritableCircuitGroupAssignmentRequest{} + +// PatchedWritableCircuitGroupAssignmentRequest Base serializer for group assignments under CircuitSerializer. +type PatchedWritableCircuitGroupAssignmentRequest struct { + Group *BriefCircuitGroupRequest `json:"group,omitempty"` + Circuit *BriefCircuitRequest `json:"circuit,omitempty"` + Priority *BriefCircuitGroupAssignmentSerializerPriorityValue `json:"priority,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _PatchedWritableCircuitGroupAssignmentRequest PatchedWritableCircuitGroupAssignmentRequest + +// NewPatchedWritableCircuitGroupAssignmentRequest instantiates a new PatchedWritableCircuitGroupAssignmentRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewPatchedWritableCircuitGroupAssignmentRequest() *PatchedWritableCircuitGroupAssignmentRequest { + this := PatchedWritableCircuitGroupAssignmentRequest{} + return &this +} + +// NewPatchedWritableCircuitGroupAssignmentRequestWithDefaults instantiates a new PatchedWritableCircuitGroupAssignmentRequest object +// This 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 NewPatchedWritableCircuitGroupAssignmentRequestWithDefaults() *PatchedWritableCircuitGroupAssignmentRequest { + this := PatchedWritableCircuitGroupAssignmentRequest{} + return &this +} + +// GetGroup returns the Group field value if set, zero value otherwise. +func (o *PatchedWritableCircuitGroupAssignmentRequest) GetGroup() BriefCircuitGroupRequest { + if o == nil || IsNil(o.Group) { + var ret BriefCircuitGroupRequest + return ret + } + return *o.Group +} + +// GetGroupOk returns a tuple with the Group field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritableCircuitGroupAssignmentRequest) GetGroupOk() (*BriefCircuitGroupRequest, bool) { + if o == nil || IsNil(o.Group) { + return nil, false + } + return o.Group, true +} + +// HasGroup returns a boolean if a field has been set. +func (o *PatchedWritableCircuitGroupAssignmentRequest) HasGroup() bool { + if o != nil && !IsNil(o.Group) { + return true + } + + return false +} + +// SetGroup gets a reference to the given BriefCircuitGroupRequest and assigns it to the Group field. +func (o *PatchedWritableCircuitGroupAssignmentRequest) SetGroup(v BriefCircuitGroupRequest) { + o.Group = &v +} + +// GetCircuit returns the Circuit field value if set, zero value otherwise. +func (o *PatchedWritableCircuitGroupAssignmentRequest) GetCircuit() BriefCircuitRequest { + if o == nil || IsNil(o.Circuit) { + var ret BriefCircuitRequest + return ret + } + return *o.Circuit +} + +// GetCircuitOk returns a tuple with the Circuit field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritableCircuitGroupAssignmentRequest) GetCircuitOk() (*BriefCircuitRequest, bool) { + if o == nil || IsNil(o.Circuit) { + return nil, false + } + return o.Circuit, true +} + +// HasCircuit returns a boolean if a field has been set. +func (o *PatchedWritableCircuitGroupAssignmentRequest) HasCircuit() bool { + if o != nil && !IsNil(o.Circuit) { + return true + } + + return false +} + +// SetCircuit gets a reference to the given BriefCircuitRequest and assigns it to the Circuit field. +func (o *PatchedWritableCircuitGroupAssignmentRequest) SetCircuit(v BriefCircuitRequest) { + o.Circuit = &v +} + +// GetPriority returns the Priority field value if set, zero value otherwise. +func (o *PatchedWritableCircuitGroupAssignmentRequest) GetPriority() BriefCircuitGroupAssignmentSerializerPriorityValue { + if o == nil || IsNil(o.Priority) { + var ret BriefCircuitGroupAssignmentSerializerPriorityValue + return ret + } + return *o.Priority +} + +// GetPriorityOk returns a tuple with the Priority field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritableCircuitGroupAssignmentRequest) GetPriorityOk() (*BriefCircuitGroupAssignmentSerializerPriorityValue, bool) { + if o == nil || IsNil(o.Priority) { + return nil, false + } + return o.Priority, true +} + +// HasPriority returns a boolean if a field has been set. +func (o *PatchedWritableCircuitGroupAssignmentRequest) HasPriority() bool { + if o != nil && !IsNil(o.Priority) { + return true + } + + return false +} + +// SetPriority gets a reference to the given BriefCircuitGroupAssignmentSerializerPriorityValue and assigns it to the Priority field. +func (o *PatchedWritableCircuitGroupAssignmentRequest) SetPriority(v BriefCircuitGroupAssignmentSerializerPriorityValue) { + o.Priority = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *PatchedWritableCircuitGroupAssignmentRequest) GetTags() []NestedTagRequest { + if o == nil || IsNil(o.Tags) { + var ret []NestedTagRequest + 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 *PatchedWritableCircuitGroupAssignmentRequest) GetTagsOk() ([]NestedTagRequest, 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 *PatchedWritableCircuitGroupAssignmentRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTagRequest and assigns it to the Tags field. +func (o *PatchedWritableCircuitGroupAssignmentRequest) SetTags(v []NestedTagRequest) { + o.Tags = v +} + +func (o PatchedWritableCircuitGroupAssignmentRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PatchedWritableCircuitGroupAssignmentRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Group) { + toSerialize["group"] = o.Group + } + if !IsNil(o.Circuit) { + toSerialize["circuit"] = o.Circuit + } + if !IsNil(o.Priority) { + toSerialize["priority"] = o.Priority + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *PatchedWritableCircuitGroupAssignmentRequest) UnmarshalJSON(data []byte) (err error) { + varPatchedWritableCircuitGroupAssignmentRequest := _PatchedWritableCircuitGroupAssignmentRequest{} + + err = json.Unmarshal(data, &varPatchedWritableCircuitGroupAssignmentRequest) + + if err != nil { + return err + } + + *o = PatchedWritableCircuitGroupAssignmentRequest(varPatchedWritableCircuitGroupAssignmentRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "group") + delete(additionalProperties, "circuit") + delete(additionalProperties, "priority") + delete(additionalProperties, "tags") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullablePatchedWritableCircuitGroupAssignmentRequest struct { + value *PatchedWritableCircuitGroupAssignmentRequest + isSet bool +} + +func (v NullablePatchedWritableCircuitGroupAssignmentRequest) Get() *PatchedWritableCircuitGroupAssignmentRequest { + return v.value +} + +func (v *NullablePatchedWritableCircuitGroupAssignmentRequest) Set(val *PatchedWritableCircuitGroupAssignmentRequest) { + v.value = val + v.isSet = true +} + +func (v NullablePatchedWritableCircuitGroupAssignmentRequest) IsSet() bool { + return v.isSet +} + +func (v *NullablePatchedWritableCircuitGroupAssignmentRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePatchedWritableCircuitGroupAssignmentRequest(val *PatchedWritableCircuitGroupAssignmentRequest) *NullablePatchedWritableCircuitGroupAssignmentRequest { + return &NullablePatchedWritableCircuitGroupAssignmentRequest{value: val, isSet: true} +} + +func (v NullablePatchedWritableCircuitGroupAssignmentRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePatchedWritableCircuitGroupAssignmentRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_patched_writable_circuit_request.go b/model_patched_writable_circuit_request.go index a9b2fa643..0dbcf8dab 100644 --- a/model_patched_writable_circuit_request.go +++ b/model_patched_writable_circuit_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,20 +20,21 @@ var _ MappedNullable = &PatchedWritableCircuitRequest{} // PatchedWritableCircuitRequest Adds support for custom fields and tags. type PatchedWritableCircuitRequest struct { // Unique circuit ID - Cid *string `json:"cid,omitempty"` - Provider *ProviderRequest `json:"provider,omitempty"` - ProviderAccount NullableProviderAccountRequest `json:"provider_account,omitempty"` - Type *CircuitTypeRequest `json:"type,omitempty"` - Status *PatchedWritableCircuitRequestStatus `json:"status,omitempty"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` - InstallDate NullableString `json:"install_date,omitempty"` - TerminationDate NullableString `json:"termination_date,omitempty"` + Cid *string `json:"cid,omitempty"` + Provider *BriefProviderRequest `json:"provider,omitempty"` + ProviderAccount NullableBriefProviderAccountRequest `json:"provider_account,omitempty"` + Type *BriefCircuitTypeRequest `json:"type,omitempty"` + Status *CircuitStatusValue `json:"status,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` + InstallDate NullableString `json:"install_date,omitempty"` + TerminationDate NullableString `json:"termination_date,omitempty"` // Committed rate - CommitRate NullableInt32 `json:"commit_rate,omitempty"` - Description *string `json:"description,omitempty"` - Comments *string `json:"comments,omitempty"` - Tags []NestedTagRequest `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + CommitRate NullableInt32 `json:"commit_rate,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Assignments []BriefCircuitGroupAssignmentSerializerRequest `json:"assignments,omitempty"` AdditionalProperties map[string]interface{} } @@ -89,9 +90,9 @@ func (o *PatchedWritableCircuitRequest) SetCid(v string) { } // GetProvider returns the Provider field value if set, zero value otherwise. -func (o *PatchedWritableCircuitRequest) GetProvider() ProviderRequest { +func (o *PatchedWritableCircuitRequest) GetProvider() BriefProviderRequest { if o == nil || IsNil(o.Provider) { - var ret ProviderRequest + var ret BriefProviderRequest return ret } return *o.Provider @@ -99,7 +100,7 @@ func (o *PatchedWritableCircuitRequest) GetProvider() ProviderRequest { // GetProviderOk returns a tuple with the Provider field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedWritableCircuitRequest) GetProviderOk() (*ProviderRequest, bool) { +func (o *PatchedWritableCircuitRequest) GetProviderOk() (*BriefProviderRequest, bool) { if o == nil || IsNil(o.Provider) { return nil, false } @@ -115,15 +116,15 @@ func (o *PatchedWritableCircuitRequest) HasProvider() bool { return false } -// SetProvider gets a reference to the given ProviderRequest and assigns it to the Provider field. -func (o *PatchedWritableCircuitRequest) SetProvider(v ProviderRequest) { +// SetProvider gets a reference to the given BriefProviderRequest and assigns it to the Provider field. +func (o *PatchedWritableCircuitRequest) SetProvider(v BriefProviderRequest) { o.Provider = &v } // GetProviderAccount returns the ProviderAccount field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableCircuitRequest) GetProviderAccount() ProviderAccountRequest { +func (o *PatchedWritableCircuitRequest) GetProviderAccount() BriefProviderAccountRequest { if o == nil || IsNil(o.ProviderAccount.Get()) { - var ret ProviderAccountRequest + var ret BriefProviderAccountRequest return ret } return *o.ProviderAccount.Get() @@ -132,7 +133,7 @@ func (o *PatchedWritableCircuitRequest) GetProviderAccount() ProviderAccountRequ // GetProviderAccountOk returns a tuple with the ProviderAccount 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 *PatchedWritableCircuitRequest) GetProviderAccountOk() (*ProviderAccountRequest, bool) { +func (o *PatchedWritableCircuitRequest) GetProviderAccountOk() (*BriefProviderAccountRequest, bool) { if o == nil { return nil, false } @@ -148,8 +149,8 @@ func (o *PatchedWritableCircuitRequest) HasProviderAccount() bool { return false } -// SetProviderAccount gets a reference to the given NullableProviderAccountRequest and assigns it to the ProviderAccount field. -func (o *PatchedWritableCircuitRequest) SetProviderAccount(v ProviderAccountRequest) { +// SetProviderAccount gets a reference to the given NullableBriefProviderAccountRequest and assigns it to the ProviderAccount field. +func (o *PatchedWritableCircuitRequest) SetProviderAccount(v BriefProviderAccountRequest) { o.ProviderAccount.Set(&v) } @@ -164,9 +165,9 @@ func (o *PatchedWritableCircuitRequest) UnsetProviderAccount() { } // GetType returns the Type field value if set, zero value otherwise. -func (o *PatchedWritableCircuitRequest) GetType() CircuitTypeRequest { +func (o *PatchedWritableCircuitRequest) GetType() BriefCircuitTypeRequest { if o == nil || IsNil(o.Type) { - var ret CircuitTypeRequest + var ret BriefCircuitTypeRequest return ret } return *o.Type @@ -174,7 +175,7 @@ func (o *PatchedWritableCircuitRequest) GetType() CircuitTypeRequest { // GetTypeOk returns a tuple with the Type field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedWritableCircuitRequest) GetTypeOk() (*CircuitTypeRequest, bool) { +func (o *PatchedWritableCircuitRequest) GetTypeOk() (*BriefCircuitTypeRequest, bool) { if o == nil || IsNil(o.Type) { return nil, false } @@ -190,15 +191,15 @@ func (o *PatchedWritableCircuitRequest) HasType() bool { return false } -// SetType gets a reference to the given CircuitTypeRequest and assigns it to the Type field. -func (o *PatchedWritableCircuitRequest) SetType(v CircuitTypeRequest) { +// SetType gets a reference to the given BriefCircuitTypeRequest and assigns it to the Type field. +func (o *PatchedWritableCircuitRequest) SetType(v BriefCircuitTypeRequest) { o.Type = &v } // GetStatus returns the Status field value if set, zero value otherwise. -func (o *PatchedWritableCircuitRequest) GetStatus() PatchedWritableCircuitRequestStatus { +func (o *PatchedWritableCircuitRequest) GetStatus() CircuitStatusValue { if o == nil || IsNil(o.Status) { - var ret PatchedWritableCircuitRequestStatus + var ret CircuitStatusValue return ret } return *o.Status @@ -206,7 +207,7 @@ func (o *PatchedWritableCircuitRequest) GetStatus() PatchedWritableCircuitReques // 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 *PatchedWritableCircuitRequest) GetStatusOk() (*PatchedWritableCircuitRequestStatus, bool) { +func (o *PatchedWritableCircuitRequest) GetStatusOk() (*CircuitStatusValue, bool) { if o == nil || IsNil(o.Status) { return nil, false } @@ -222,15 +223,15 @@ func (o *PatchedWritableCircuitRequest) HasStatus() bool { return false } -// SetStatus gets a reference to the given PatchedWritableCircuitRequestStatus and assigns it to the Status field. -func (o *PatchedWritableCircuitRequest) SetStatus(v PatchedWritableCircuitRequestStatus) { +// SetStatus gets a reference to the given CircuitStatusValue and assigns it to the Status field. +func (o *PatchedWritableCircuitRequest) SetStatus(v CircuitStatusValue) { o.Status = &v } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableCircuitRequest) GetTenant() TenantRequest { +func (o *PatchedWritableCircuitRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -239,7 +240,7 @@ func (o *PatchedWritableCircuitRequest) GetTenant() TenantRequest { // 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 *PatchedWritableCircuitRequest) GetTenantOk() (*TenantRequest, bool) { +func (o *PatchedWritableCircuitRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -255,8 +256,8 @@ func (o *PatchedWritableCircuitRequest) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *PatchedWritableCircuitRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *PatchedWritableCircuitRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } @@ -527,6 +528,38 @@ func (o *PatchedWritableCircuitRequest) SetCustomFields(v map[string]interface{} o.CustomFields = v } +// GetAssignments returns the Assignments field value if set, zero value otherwise. +func (o *PatchedWritableCircuitRequest) GetAssignments() []BriefCircuitGroupAssignmentSerializerRequest { + if o == nil || IsNil(o.Assignments) { + var ret []BriefCircuitGroupAssignmentSerializerRequest + return ret + } + return o.Assignments +} + +// GetAssignmentsOk returns a tuple with the Assignments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritableCircuitRequest) GetAssignmentsOk() ([]BriefCircuitGroupAssignmentSerializerRequest, bool) { + if o == nil || IsNil(o.Assignments) { + return nil, false + } + return o.Assignments, true +} + +// HasAssignments returns a boolean if a field has been set. +func (o *PatchedWritableCircuitRequest) HasAssignments() bool { + if o != nil && !IsNil(o.Assignments) { + return true + } + + return false +} + +// SetAssignments gets a reference to the given []BriefCircuitGroupAssignmentSerializerRequest and assigns it to the Assignments field. +func (o *PatchedWritableCircuitRequest) SetAssignments(v []BriefCircuitGroupAssignmentSerializerRequest) { + o.Assignments = v +} + func (o PatchedWritableCircuitRequest) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -576,6 +609,9 @@ func (o PatchedWritableCircuitRequest) ToMap() (map[string]interface{}, error) { if !IsNil(o.CustomFields) { toSerialize["custom_fields"] = o.CustomFields } + if !IsNil(o.Assignments) { + toSerialize["assignments"] = o.Assignments + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -611,6 +647,7 @@ func (o *PatchedWritableCircuitRequest) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "comments") delete(additionalProperties, "tags") delete(additionalProperties, "custom_fields") + delete(additionalProperties, "assignments") o.AdditionalProperties = additionalProperties } diff --git a/model_patched_writable_cluster_request.go b/model_patched_writable_cluster_request.go index 686e11522..40033109d 100644 --- a/model_patched_writable_cluster_request.go +++ b/model_patched_writable_cluster_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,16 +19,16 @@ var _ MappedNullable = &PatchedWritableClusterRequest{} // PatchedWritableClusterRequest Adds support for custom fields and tags. type PatchedWritableClusterRequest struct { - Name *string `json:"name,omitempty"` - Type *ClusterTypeRequest `json:"type,omitempty"` - Group NullableClusterGroupRequest `json:"group,omitempty"` - Status *PatchedWritableClusterRequestStatus `json:"status,omitempty"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` - Site NullableSiteRequest `json:"site,omitempty"` - Description *string `json:"description,omitempty"` - Comments *string `json:"comments,omitempty"` - Tags []NestedTagRequest `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Name *string `json:"name,omitempty"` + Type *BriefClusterTypeRequest `json:"type,omitempty"` + Group NullableBriefClusterGroupRequest `json:"group,omitempty"` + Status *ClusterStatusValue `json:"status,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` + Site NullableBriefSiteRequest `json:"site,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -84,9 +84,9 @@ func (o *PatchedWritableClusterRequest) SetName(v string) { } // GetType returns the Type field value if set, zero value otherwise. -func (o *PatchedWritableClusterRequest) GetType() ClusterTypeRequest { +func (o *PatchedWritableClusterRequest) GetType() BriefClusterTypeRequest { if o == nil || IsNil(o.Type) { - var ret ClusterTypeRequest + var ret BriefClusterTypeRequest return ret } return *o.Type @@ -94,7 +94,7 @@ func (o *PatchedWritableClusterRequest) GetType() ClusterTypeRequest { // GetTypeOk returns a tuple with the Type field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedWritableClusterRequest) GetTypeOk() (*ClusterTypeRequest, bool) { +func (o *PatchedWritableClusterRequest) GetTypeOk() (*BriefClusterTypeRequest, bool) { if o == nil || IsNil(o.Type) { return nil, false } @@ -110,15 +110,15 @@ func (o *PatchedWritableClusterRequest) HasType() bool { return false } -// SetType gets a reference to the given ClusterTypeRequest and assigns it to the Type field. -func (o *PatchedWritableClusterRequest) SetType(v ClusterTypeRequest) { +// SetType gets a reference to the given BriefClusterTypeRequest and assigns it to the Type field. +func (o *PatchedWritableClusterRequest) SetType(v BriefClusterTypeRequest) { o.Type = &v } // GetGroup returns the Group field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableClusterRequest) GetGroup() ClusterGroupRequest { +func (o *PatchedWritableClusterRequest) GetGroup() BriefClusterGroupRequest { if o == nil || IsNil(o.Group.Get()) { - var ret ClusterGroupRequest + var ret BriefClusterGroupRequest return ret } return *o.Group.Get() @@ -127,7 +127,7 @@ func (o *PatchedWritableClusterRequest) GetGroup() ClusterGroupRequest { // GetGroupOk returns a tuple with the Group 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 *PatchedWritableClusterRequest) GetGroupOk() (*ClusterGroupRequest, bool) { +func (o *PatchedWritableClusterRequest) GetGroupOk() (*BriefClusterGroupRequest, bool) { if o == nil { return nil, false } @@ -143,8 +143,8 @@ func (o *PatchedWritableClusterRequest) HasGroup() bool { return false } -// SetGroup gets a reference to the given NullableClusterGroupRequest and assigns it to the Group field. -func (o *PatchedWritableClusterRequest) SetGroup(v ClusterGroupRequest) { +// SetGroup gets a reference to the given NullableBriefClusterGroupRequest and assigns it to the Group field. +func (o *PatchedWritableClusterRequest) SetGroup(v BriefClusterGroupRequest) { o.Group.Set(&v) } @@ -159,9 +159,9 @@ func (o *PatchedWritableClusterRequest) UnsetGroup() { } // GetStatus returns the Status field value if set, zero value otherwise. -func (o *PatchedWritableClusterRequest) GetStatus() PatchedWritableClusterRequestStatus { +func (o *PatchedWritableClusterRequest) GetStatus() ClusterStatusValue { if o == nil || IsNil(o.Status) { - var ret PatchedWritableClusterRequestStatus + var ret ClusterStatusValue return ret } return *o.Status @@ -169,7 +169,7 @@ func (o *PatchedWritableClusterRequest) GetStatus() PatchedWritableClusterReques // 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 *PatchedWritableClusterRequest) GetStatusOk() (*PatchedWritableClusterRequestStatus, bool) { +func (o *PatchedWritableClusterRequest) GetStatusOk() (*ClusterStatusValue, bool) { if o == nil || IsNil(o.Status) { return nil, false } @@ -185,15 +185,15 @@ func (o *PatchedWritableClusterRequest) HasStatus() bool { return false } -// SetStatus gets a reference to the given PatchedWritableClusterRequestStatus and assigns it to the Status field. -func (o *PatchedWritableClusterRequest) SetStatus(v PatchedWritableClusterRequestStatus) { +// SetStatus gets a reference to the given ClusterStatusValue and assigns it to the Status field. +func (o *PatchedWritableClusterRequest) SetStatus(v ClusterStatusValue) { o.Status = &v } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableClusterRequest) GetTenant() TenantRequest { +func (o *PatchedWritableClusterRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -202,7 +202,7 @@ func (o *PatchedWritableClusterRequest) GetTenant() TenantRequest { // 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 *PatchedWritableClusterRequest) GetTenantOk() (*TenantRequest, bool) { +func (o *PatchedWritableClusterRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -218,8 +218,8 @@ func (o *PatchedWritableClusterRequest) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *PatchedWritableClusterRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *PatchedWritableClusterRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } @@ -234,9 +234,9 @@ func (o *PatchedWritableClusterRequest) UnsetTenant() { } // GetSite returns the Site field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableClusterRequest) GetSite() SiteRequest { +func (o *PatchedWritableClusterRequest) GetSite() BriefSiteRequest { if o == nil || IsNil(o.Site.Get()) { - var ret SiteRequest + var ret BriefSiteRequest return ret } return *o.Site.Get() @@ -245,7 +245,7 @@ func (o *PatchedWritableClusterRequest) GetSite() SiteRequest { // GetSiteOk returns a tuple with the Site 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 *PatchedWritableClusterRequest) GetSiteOk() (*SiteRequest, bool) { +func (o *PatchedWritableClusterRequest) GetSiteOk() (*BriefSiteRequest, bool) { if o == nil { return nil, false } @@ -261,8 +261,8 @@ func (o *PatchedWritableClusterRequest) HasSite() bool { return false } -// SetSite gets a reference to the given NullableSiteRequest and assigns it to the Site field. -func (o *PatchedWritableClusterRequest) SetSite(v SiteRequest) { +// SetSite gets a reference to the given NullableBriefSiteRequest and assigns it to the Site field. +func (o *PatchedWritableClusterRequest) SetSite(v BriefSiteRequest) { o.Site.Set(&v) } diff --git a/model_patched_writable_console_port_request.go b/model_patched_writable_console_port_request.go index 5e75fe1df..29ea9d520 100644 --- a/model_patched_writable_console_port_request.go +++ b/model_patched_writable_console_port_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,9 +19,9 @@ var _ MappedNullable = &PatchedWritableConsolePortRequest{} // PatchedWritableConsolePortRequest Adds support for custom fields and tags. type PatchedWritableConsolePortRequest struct { - Device *DeviceRequest `json:"device,omitempty"` - Module NullableModuleRequest `json:"module,omitempty"` - Name *string `json:"name,omitempty"` + Device *BriefDeviceRequest `json:"device,omitempty"` + Module NullableBriefModuleRequest `json:"module,omitempty"` + Name *string `json:"name,omitempty"` // Physical label Label *string `json:"label,omitempty"` Type *PatchedWritableConsolePortRequestType `json:"type,omitempty"` @@ -54,9 +54,9 @@ func NewPatchedWritableConsolePortRequestWithDefaults() *PatchedWritableConsoleP } // GetDevice returns the Device field value if set, zero value otherwise. -func (o *PatchedWritableConsolePortRequest) GetDevice() DeviceRequest { +func (o *PatchedWritableConsolePortRequest) GetDevice() BriefDeviceRequest { if o == nil || IsNil(o.Device) { - var ret DeviceRequest + var ret BriefDeviceRequest return ret } return *o.Device @@ -64,7 +64,7 @@ func (o *PatchedWritableConsolePortRequest) GetDevice() DeviceRequest { // 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 *PatchedWritableConsolePortRequest) GetDeviceOk() (*DeviceRequest, bool) { +func (o *PatchedWritableConsolePortRequest) GetDeviceOk() (*BriefDeviceRequest, bool) { if o == nil || IsNil(o.Device) { return nil, false } @@ -80,15 +80,15 @@ func (o *PatchedWritableConsolePortRequest) HasDevice() bool { return false } -// SetDevice gets a reference to the given DeviceRequest and assigns it to the Device field. -func (o *PatchedWritableConsolePortRequest) SetDevice(v DeviceRequest) { +// SetDevice gets a reference to the given BriefDeviceRequest and assigns it to the Device field. +func (o *PatchedWritableConsolePortRequest) SetDevice(v BriefDeviceRequest) { o.Device = &v } // GetModule returns the Module field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableConsolePortRequest) GetModule() ModuleRequest { +func (o *PatchedWritableConsolePortRequest) GetModule() BriefModuleRequest { if o == nil || IsNil(o.Module.Get()) { - var ret ModuleRequest + var ret BriefModuleRequest return ret } return *o.Module.Get() @@ -97,7 +97,7 @@ func (o *PatchedWritableConsolePortRequest) GetModule() ModuleRequest { // GetModuleOk returns a tuple with the Module 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 *PatchedWritableConsolePortRequest) GetModuleOk() (*ModuleRequest, bool) { +func (o *PatchedWritableConsolePortRequest) GetModuleOk() (*BriefModuleRequest, bool) { if o == nil { return nil, false } @@ -113,8 +113,8 @@ func (o *PatchedWritableConsolePortRequest) HasModule() bool { return false } -// SetModule gets a reference to the given NullableModuleRequest and assigns it to the Module field. -func (o *PatchedWritableConsolePortRequest) SetModule(v ModuleRequest) { +// SetModule gets a reference to the given NullableBriefModuleRequest and assigns it to the Module field. +func (o *PatchedWritableConsolePortRequest) SetModule(v BriefModuleRequest) { o.Module.Set(&v) } diff --git a/model_patched_writable_console_port_request_speed.go b/model_patched_writable_console_port_request_speed.go index 9fb31ae8e..d043563fb 100644 --- a/model_patched_writable_console_port_request_speed.go +++ b/model_patched_writable_console_port_request_speed.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_writable_console_port_request_type.go b/model_patched_writable_console_port_request_type.go index db1edadc3..edb922660 100644 --- a/model_patched_writable_console_port_request_type.go +++ b/model_patched_writable_console_port_request_type.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_writable_console_port_template_request.go b/model_patched_writable_console_port_template_request.go index a4c19d0c0..af3a4ad32 100644 --- a/model_patched_writable_console_port_template_request.go +++ b/model_patched_writable_console_port_template_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,8 +19,8 @@ var _ MappedNullable = &PatchedWritableConsolePortTemplateRequest{} // PatchedWritableConsolePortTemplateRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 PatchedWritableConsolePortTemplateRequest struct { - DeviceType NullableDeviceTypeRequest `json:"device_type,omitempty"` - ModuleType NullableModuleTypeRequest `json:"module_type,omitempty"` + DeviceType NullableBriefDeviceTypeRequest `json:"device_type,omitempty"` + ModuleType NullableBriefModuleTypeRequest `json:"module_type,omitempty"` // {module} is accepted as a substitution for the module bay position when attached to a module type. Name *string `json:"name,omitempty"` // Physical label @@ -50,9 +50,9 @@ func NewPatchedWritableConsolePortTemplateRequestWithDefaults() *PatchedWritable } // GetDeviceType returns the DeviceType field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableConsolePortTemplateRequest) GetDeviceType() DeviceTypeRequest { +func (o *PatchedWritableConsolePortTemplateRequest) GetDeviceType() BriefDeviceTypeRequest { if o == nil || IsNil(o.DeviceType.Get()) { - var ret DeviceTypeRequest + var ret BriefDeviceTypeRequest return ret } return *o.DeviceType.Get() @@ -61,7 +61,7 @@ func (o *PatchedWritableConsolePortTemplateRequest) GetDeviceType() DeviceTypeRe // GetDeviceTypeOk returns a tuple with the DeviceType 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 *PatchedWritableConsolePortTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool) { +func (o *PatchedWritableConsolePortTemplateRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool) { if o == nil { return nil, false } @@ -77,8 +77,8 @@ func (o *PatchedWritableConsolePortTemplateRequest) HasDeviceType() bool { return false } -// SetDeviceType gets a reference to the given NullableDeviceTypeRequest and assigns it to the DeviceType field. -func (o *PatchedWritableConsolePortTemplateRequest) SetDeviceType(v DeviceTypeRequest) { +// SetDeviceType gets a reference to the given NullableBriefDeviceTypeRequest and assigns it to the DeviceType field. +func (o *PatchedWritableConsolePortTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest) { o.DeviceType.Set(&v) } @@ -93,9 +93,9 @@ func (o *PatchedWritableConsolePortTemplateRequest) UnsetDeviceType() { } // GetModuleType returns the ModuleType field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableConsolePortTemplateRequest) GetModuleType() ModuleTypeRequest { +func (o *PatchedWritableConsolePortTemplateRequest) GetModuleType() BriefModuleTypeRequest { if o == nil || IsNil(o.ModuleType.Get()) { - var ret ModuleTypeRequest + var ret BriefModuleTypeRequest return ret } return *o.ModuleType.Get() @@ -104,7 +104,7 @@ func (o *PatchedWritableConsolePortTemplateRequest) GetModuleType() ModuleTypeRe // GetModuleTypeOk returns a tuple with the ModuleType 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 *PatchedWritableConsolePortTemplateRequest) GetModuleTypeOk() (*ModuleTypeRequest, bool) { +func (o *PatchedWritableConsolePortTemplateRequest) GetModuleTypeOk() (*BriefModuleTypeRequest, bool) { if o == nil { return nil, false } @@ -120,8 +120,8 @@ func (o *PatchedWritableConsolePortTemplateRequest) HasModuleType() bool { return false } -// SetModuleType gets a reference to the given NullableModuleTypeRequest and assigns it to the ModuleType field. -func (o *PatchedWritableConsolePortTemplateRequest) SetModuleType(v ModuleTypeRequest) { +// SetModuleType gets a reference to the given NullableBriefModuleTypeRequest and assigns it to the ModuleType field. +func (o *PatchedWritableConsolePortTemplateRequest) SetModuleType(v BriefModuleTypeRequest) { o.ModuleType.Set(&v) } diff --git a/model_patched_writable_console_server_port_request.go b/model_patched_writable_console_server_port_request.go index c5a84421b..78f2d7886 100644 --- a/model_patched_writable_console_server_port_request.go +++ b/model_patched_writable_console_server_port_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,9 +19,9 @@ var _ MappedNullable = &PatchedWritableConsoleServerPortRequest{} // PatchedWritableConsoleServerPortRequest Adds support for custom fields and tags. type PatchedWritableConsoleServerPortRequest struct { - Device *DeviceRequest `json:"device,omitempty"` - Module NullableModuleRequest `json:"module,omitempty"` - Name *string `json:"name,omitempty"` + Device *BriefDeviceRequest `json:"device,omitempty"` + Module NullableBriefModuleRequest `json:"module,omitempty"` + Name *string `json:"name,omitempty"` // Physical label Label *string `json:"label,omitempty"` Type *PatchedWritableConsolePortRequestType `json:"type,omitempty"` @@ -54,9 +54,9 @@ func NewPatchedWritableConsoleServerPortRequestWithDefaults() *PatchedWritableCo } // GetDevice returns the Device field value if set, zero value otherwise. -func (o *PatchedWritableConsoleServerPortRequest) GetDevice() DeviceRequest { +func (o *PatchedWritableConsoleServerPortRequest) GetDevice() BriefDeviceRequest { if o == nil || IsNil(o.Device) { - var ret DeviceRequest + var ret BriefDeviceRequest return ret } return *o.Device @@ -64,7 +64,7 @@ func (o *PatchedWritableConsoleServerPortRequest) GetDevice() DeviceRequest { // 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 *PatchedWritableConsoleServerPortRequest) GetDeviceOk() (*DeviceRequest, bool) { +func (o *PatchedWritableConsoleServerPortRequest) GetDeviceOk() (*BriefDeviceRequest, bool) { if o == nil || IsNil(o.Device) { return nil, false } @@ -80,15 +80,15 @@ func (o *PatchedWritableConsoleServerPortRequest) HasDevice() bool { return false } -// SetDevice gets a reference to the given DeviceRequest and assigns it to the Device field. -func (o *PatchedWritableConsoleServerPortRequest) SetDevice(v DeviceRequest) { +// SetDevice gets a reference to the given BriefDeviceRequest and assigns it to the Device field. +func (o *PatchedWritableConsoleServerPortRequest) SetDevice(v BriefDeviceRequest) { o.Device = &v } // GetModule returns the Module field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableConsoleServerPortRequest) GetModule() ModuleRequest { +func (o *PatchedWritableConsoleServerPortRequest) GetModule() BriefModuleRequest { if o == nil || IsNil(o.Module.Get()) { - var ret ModuleRequest + var ret BriefModuleRequest return ret } return *o.Module.Get() @@ -97,7 +97,7 @@ func (o *PatchedWritableConsoleServerPortRequest) GetModule() ModuleRequest { // GetModuleOk returns a tuple with the Module 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 *PatchedWritableConsoleServerPortRequest) GetModuleOk() (*ModuleRequest, bool) { +func (o *PatchedWritableConsoleServerPortRequest) GetModuleOk() (*BriefModuleRequest, bool) { if o == nil { return nil, false } @@ -113,8 +113,8 @@ func (o *PatchedWritableConsoleServerPortRequest) HasModule() bool { return false } -// SetModule gets a reference to the given NullableModuleRequest and assigns it to the Module field. -func (o *PatchedWritableConsoleServerPortRequest) SetModule(v ModuleRequest) { +// SetModule gets a reference to the given NullableBriefModuleRequest and assigns it to the Module field. +func (o *PatchedWritableConsoleServerPortRequest) SetModule(v BriefModuleRequest) { o.Module.Set(&v) } diff --git a/model_patched_writable_console_server_port_template_request.go b/model_patched_writable_console_server_port_template_request.go index 07402cdcd..03aa245eb 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 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,8 +19,8 @@ var _ MappedNullable = &PatchedWritableConsoleServerPortTemplateRequest{} // PatchedWritableConsoleServerPortTemplateRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 PatchedWritableConsoleServerPortTemplateRequest struct { - DeviceType NullableDeviceTypeRequest `json:"device_type,omitempty"` - ModuleType NullableModuleTypeRequest `json:"module_type,omitempty"` + DeviceType NullableBriefDeviceTypeRequest `json:"device_type,omitempty"` + ModuleType NullableBriefModuleTypeRequest `json:"module_type,omitempty"` // {module} is accepted as a substitution for the module bay position when attached to a module type. Name *string `json:"name,omitempty"` // Physical label @@ -50,9 +50,9 @@ func NewPatchedWritableConsoleServerPortTemplateRequestWithDefaults() *PatchedWr } // GetDeviceType returns the DeviceType field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableConsoleServerPortTemplateRequest) GetDeviceType() DeviceTypeRequest { +func (o *PatchedWritableConsoleServerPortTemplateRequest) GetDeviceType() BriefDeviceTypeRequest { if o == nil || IsNil(o.DeviceType.Get()) { - var ret DeviceTypeRequest + var ret BriefDeviceTypeRequest return ret } return *o.DeviceType.Get() @@ -61,7 +61,7 @@ func (o *PatchedWritableConsoleServerPortTemplateRequest) GetDeviceType() Device // GetDeviceTypeOk returns a tuple with the DeviceType 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 *PatchedWritableConsoleServerPortTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool) { +func (o *PatchedWritableConsoleServerPortTemplateRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool) { if o == nil { return nil, false } @@ -77,8 +77,8 @@ func (o *PatchedWritableConsoleServerPortTemplateRequest) HasDeviceType() bool { return false } -// SetDeviceType gets a reference to the given NullableDeviceTypeRequest and assigns it to the DeviceType field. -func (o *PatchedWritableConsoleServerPortTemplateRequest) SetDeviceType(v DeviceTypeRequest) { +// SetDeviceType gets a reference to the given NullableBriefDeviceTypeRequest and assigns it to the DeviceType field. +func (o *PatchedWritableConsoleServerPortTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest) { o.DeviceType.Set(&v) } @@ -93,9 +93,9 @@ func (o *PatchedWritableConsoleServerPortTemplateRequest) UnsetDeviceType() { } // GetModuleType returns the ModuleType field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableConsoleServerPortTemplateRequest) GetModuleType() ModuleTypeRequest { +func (o *PatchedWritableConsoleServerPortTemplateRequest) GetModuleType() BriefModuleTypeRequest { if o == nil || IsNil(o.ModuleType.Get()) { - var ret ModuleTypeRequest + var ret BriefModuleTypeRequest return ret } return *o.ModuleType.Get() @@ -104,7 +104,7 @@ func (o *PatchedWritableConsoleServerPortTemplateRequest) GetModuleType() Module // GetModuleTypeOk returns a tuple with the ModuleType 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 *PatchedWritableConsoleServerPortTemplateRequest) GetModuleTypeOk() (*ModuleTypeRequest, bool) { +func (o *PatchedWritableConsoleServerPortTemplateRequest) GetModuleTypeOk() (*BriefModuleTypeRequest, bool) { if o == nil { return nil, false } @@ -120,8 +120,8 @@ func (o *PatchedWritableConsoleServerPortTemplateRequest) HasModuleType() bool { return false } -// SetModuleType gets a reference to the given NullableModuleTypeRequest and assigns it to the ModuleType field. -func (o *PatchedWritableConsoleServerPortTemplateRequest) SetModuleType(v ModuleTypeRequest) { +// SetModuleType gets a reference to the given NullableBriefModuleTypeRequest and assigns it to the ModuleType field. +func (o *PatchedWritableConsoleServerPortTemplateRequest) SetModuleType(v BriefModuleTypeRequest) { o.ModuleType.Set(&v) } diff --git a/model_patched_writable_contact_assignment_request.go b/model_patched_writable_contact_assignment_request.go index 8a792f86b..10a5f16c5 100644 --- a/model_patched_writable_contact_assignment_request.go +++ b/model_patched_writable_contact_assignment_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,13 +19,13 @@ var _ MappedNullable = &PatchedWritableContactAssignmentRequest{} // PatchedWritableContactAssignmentRequest Adds support for custom fields and tags. type PatchedWritableContactAssignmentRequest struct { - ObjectType *string `json:"object_type,omitempty"` - ObjectId *int64 `json:"object_id,omitempty"` - Contact *ContactRequest `json:"contact,omitempty"` - Role NullableContactRoleRequest `json:"role,omitempty"` - Priority *ContactAssignmentPriorityValue `json:"priority,omitempty"` - Tags []NestedTagRequest `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + ObjectId *int64 `json:"object_id,omitempty"` + Contact *BriefContactRequest `json:"contact,omitempty"` + Role NullableBriefContactRoleRequest `json:"role,omitempty"` + Priority *BriefCircuitGroupAssignmentSerializerPriorityValue `json:"priority,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -113,9 +113,9 @@ func (o *PatchedWritableContactAssignmentRequest) SetObjectId(v int64) { } // GetContact returns the Contact field value if set, zero value otherwise. -func (o *PatchedWritableContactAssignmentRequest) GetContact() ContactRequest { +func (o *PatchedWritableContactAssignmentRequest) GetContact() BriefContactRequest { if o == nil || IsNil(o.Contact) { - var ret ContactRequest + var ret BriefContactRequest return ret } return *o.Contact @@ -123,7 +123,7 @@ func (o *PatchedWritableContactAssignmentRequest) GetContact() ContactRequest { // GetContactOk returns a tuple with the Contact field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedWritableContactAssignmentRequest) GetContactOk() (*ContactRequest, bool) { +func (o *PatchedWritableContactAssignmentRequest) GetContactOk() (*BriefContactRequest, bool) { if o == nil || IsNil(o.Contact) { return nil, false } @@ -139,15 +139,15 @@ func (o *PatchedWritableContactAssignmentRequest) HasContact() bool { return false } -// SetContact gets a reference to the given ContactRequest and assigns it to the Contact field. -func (o *PatchedWritableContactAssignmentRequest) SetContact(v ContactRequest) { +// SetContact gets a reference to the given BriefContactRequest and assigns it to the Contact field. +func (o *PatchedWritableContactAssignmentRequest) SetContact(v BriefContactRequest) { o.Contact = &v } // GetRole returns the Role field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableContactAssignmentRequest) GetRole() ContactRoleRequest { +func (o *PatchedWritableContactAssignmentRequest) GetRole() BriefContactRoleRequest { if o == nil || IsNil(o.Role.Get()) { - var ret ContactRoleRequest + var ret BriefContactRoleRequest return ret } return *o.Role.Get() @@ -156,7 +156,7 @@ func (o *PatchedWritableContactAssignmentRequest) GetRole() ContactRoleRequest { // 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 *PatchedWritableContactAssignmentRequest) GetRoleOk() (*ContactRoleRequest, bool) { +func (o *PatchedWritableContactAssignmentRequest) GetRoleOk() (*BriefContactRoleRequest, bool) { if o == nil { return nil, false } @@ -172,8 +172,8 @@ func (o *PatchedWritableContactAssignmentRequest) HasRole() bool { return false } -// SetRole gets a reference to the given NullableContactRoleRequest and assigns it to the Role field. -func (o *PatchedWritableContactAssignmentRequest) SetRole(v ContactRoleRequest) { +// SetRole gets a reference to the given NullableBriefContactRoleRequest and assigns it to the Role field. +func (o *PatchedWritableContactAssignmentRequest) SetRole(v BriefContactRoleRequest) { o.Role.Set(&v) } @@ -188,9 +188,9 @@ func (o *PatchedWritableContactAssignmentRequest) UnsetRole() { } // GetPriority returns the Priority field value if set, zero value otherwise. -func (o *PatchedWritableContactAssignmentRequest) GetPriority() ContactAssignmentPriorityValue { +func (o *PatchedWritableContactAssignmentRequest) GetPriority() BriefCircuitGroupAssignmentSerializerPriorityValue { if o == nil || IsNil(o.Priority) { - var ret ContactAssignmentPriorityValue + var ret BriefCircuitGroupAssignmentSerializerPriorityValue return ret } return *o.Priority @@ -198,7 +198,7 @@ func (o *PatchedWritableContactAssignmentRequest) GetPriority() ContactAssignmen // GetPriorityOk returns a tuple with the Priority field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedWritableContactAssignmentRequest) GetPriorityOk() (*ContactAssignmentPriorityValue, bool) { +func (o *PatchedWritableContactAssignmentRequest) GetPriorityOk() (*BriefCircuitGroupAssignmentSerializerPriorityValue, bool) { if o == nil || IsNil(o.Priority) { return nil, false } @@ -214,8 +214,8 @@ func (o *PatchedWritableContactAssignmentRequest) HasPriority() bool { return false } -// SetPriority gets a reference to the given ContactAssignmentPriorityValue and assigns it to the Priority field. -func (o *PatchedWritableContactAssignmentRequest) SetPriority(v ContactAssignmentPriorityValue) { +// SetPriority gets a reference to the given BriefCircuitGroupAssignmentSerializerPriorityValue and assigns it to the Priority field. +func (o *PatchedWritableContactAssignmentRequest) SetPriority(v BriefCircuitGroupAssignmentSerializerPriorityValue) { o.Priority = &v } diff --git a/model_patched_writable_contact_group_request.go b/model_patched_writable_contact_group_request.go index b7868b9e7..a04848177 100644 --- a/model_patched_writable_contact_group_request.go +++ b/model_patched_writable_contact_group_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_writable_custom_field_choice_set_request.go b/model_patched_writable_custom_field_choice_set_request.go index 685a24ba2..92f40ccb9 100644 --- a/model_patched_writable_custom_field_choice_set_request.go +++ b/model_patched_writable_custom_field_choice_set_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_writable_custom_field_choice_set_request_base_choices.go b/model_patched_writable_custom_field_choice_set_request_base_choices.go index 05ed85e77..ca5f5e30f 100644 --- a/model_patched_writable_custom_field_choice_set_request_base_choices.go +++ b/model_patched_writable_custom_field_choice_set_request_base_choices.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_writable_custom_field_request.go b/model_patched_writable_custom_field_request.go index 4e6a76214..5febf980c 100644 --- a/model_patched_writable_custom_field_request.go +++ b/model_patched_writable_custom_field_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -29,8 +29,10 @@ type PatchedWritableCustomFieldRequest struct { // Custom fields within the same group will be displayed together GroupName *string `json:"group_name,omitempty"` Description *string `json:"description,omitempty"` - // If true, this field is required when creating new objects or editing an existing object. + // This field is required when creating new objects or editing an existing object. Required *bool `json:"required,omitempty"` + // The value of this field must be unique for the assigned object + Unique *bool `json:"unique,omitempty"` // Weighting for search. Lower values are considered more important. Fields with a search weight of zero will be ignored. SearchWeight *int32 `json:"search_weight,omitempty"` FilterLogic *PatchedWritableCustomFieldRequestFilterLogic `json:"filter_logic,omitempty"` @@ -40,6 +42,8 @@ type PatchedWritableCustomFieldRequest struct { IsCloneable *bool `json:"is_cloneable,omitempty"` // Default value for the field (must be a JSON value). Encapsulate strings with double quotes (e.g. \"Foo\"). Default interface{} `json:"default,omitempty"` + // Filter the object selection choices using a query_params dict (must be a JSON value).Encapsulate strings with double quotes (e.g. \"Foo\"). + RelatedObjectFilter interface{} `json:"related_object_filter,omitempty"` // Fields with higher weights appear lower in a form. Weight *int32 `json:"weight,omitempty"` // Minimum allowed value (for numeric fields) @@ -47,9 +51,9 @@ type PatchedWritableCustomFieldRequest struct { // Maximum allowed value (for numeric fields) ValidationMaximum NullableInt64 `json:"validation_maximum,omitempty"` // Regular expression to enforce on text field values. Use ^ and $ to force matching of entire string. For example, ^[A-Z]{3}$ will limit values to exactly three uppercase letters. - ValidationRegex *string `json:"validation_regex,omitempty"` - ChoiceSet NullableCustomFieldChoiceSetRequest `json:"choice_set,omitempty"` - Comments *string `json:"comments,omitempty"` + ValidationRegex *string `json:"validation_regex,omitempty"` + ChoiceSet NullableBriefCustomFieldChoiceSetRequest `json:"choice_set,omitempty"` + Comments *string `json:"comments,omitempty"` AdditionalProperties map[string]interface{} } @@ -339,6 +343,38 @@ func (o *PatchedWritableCustomFieldRequest) SetRequired(v bool) { o.Required = &v } +// GetUnique returns the Unique field value if set, zero value otherwise. +func (o *PatchedWritableCustomFieldRequest) GetUnique() bool { + if o == nil || IsNil(o.Unique) { + var ret bool + return ret + } + return *o.Unique +} + +// GetUniqueOk returns a tuple with the Unique field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritableCustomFieldRequest) GetUniqueOk() (*bool, bool) { + if o == nil || IsNil(o.Unique) { + return nil, false + } + return o.Unique, true +} + +// HasUnique returns a boolean if a field has been set. +func (o *PatchedWritableCustomFieldRequest) HasUnique() bool { + if o != nil && !IsNil(o.Unique) { + return true + } + + return false +} + +// SetUnique gets a reference to the given bool and assigns it to the Unique field. +func (o *PatchedWritableCustomFieldRequest) SetUnique(v bool) { + o.Unique = &v +} + // GetSearchWeight returns the SearchWeight field value if set, zero value otherwise. func (o *PatchedWritableCustomFieldRequest) GetSearchWeight() int32 { if o == nil || IsNil(o.SearchWeight) { @@ -532,6 +568,39 @@ func (o *PatchedWritableCustomFieldRequest) SetDefault(v interface{}) { o.Default = v } +// GetRelatedObjectFilter returns the RelatedObjectFilter field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedWritableCustomFieldRequest) GetRelatedObjectFilter() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.RelatedObjectFilter +} + +// GetRelatedObjectFilterOk returns a tuple with the RelatedObjectFilter 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 *PatchedWritableCustomFieldRequest) GetRelatedObjectFilterOk() (*interface{}, bool) { + if o == nil || IsNil(o.RelatedObjectFilter) { + return nil, false + } + return &o.RelatedObjectFilter, true +} + +// HasRelatedObjectFilter returns a boolean if a field has been set. +func (o *PatchedWritableCustomFieldRequest) HasRelatedObjectFilter() bool { + if o != nil && !IsNil(o.RelatedObjectFilter) { + return true + } + + return false +} + +// SetRelatedObjectFilter gets a reference to the given interface{} and assigns it to the RelatedObjectFilter field. +func (o *PatchedWritableCustomFieldRequest) SetRelatedObjectFilter(v interface{}) { + o.RelatedObjectFilter = v +} + // GetWeight returns the Weight field value if set, zero value otherwise. func (o *PatchedWritableCustomFieldRequest) GetWeight() int32 { if o == nil || IsNil(o.Weight) { @@ -683,9 +752,9 @@ func (o *PatchedWritableCustomFieldRequest) SetValidationRegex(v string) { } // GetChoiceSet returns the ChoiceSet field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableCustomFieldRequest) GetChoiceSet() CustomFieldChoiceSetRequest { +func (o *PatchedWritableCustomFieldRequest) GetChoiceSet() BriefCustomFieldChoiceSetRequest { if o == nil || IsNil(o.ChoiceSet.Get()) { - var ret CustomFieldChoiceSetRequest + var ret BriefCustomFieldChoiceSetRequest return ret } return *o.ChoiceSet.Get() @@ -694,7 +763,7 @@ func (o *PatchedWritableCustomFieldRequest) GetChoiceSet() CustomFieldChoiceSetR // GetChoiceSetOk returns a tuple with the ChoiceSet 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 *PatchedWritableCustomFieldRequest) GetChoiceSetOk() (*CustomFieldChoiceSetRequest, bool) { +func (o *PatchedWritableCustomFieldRequest) GetChoiceSetOk() (*BriefCustomFieldChoiceSetRequest, bool) { if o == nil { return nil, false } @@ -710,8 +779,8 @@ func (o *PatchedWritableCustomFieldRequest) HasChoiceSet() bool { return false } -// SetChoiceSet gets a reference to the given NullableCustomFieldChoiceSetRequest and assigns it to the ChoiceSet field. -func (o *PatchedWritableCustomFieldRequest) SetChoiceSet(v CustomFieldChoiceSetRequest) { +// SetChoiceSet gets a reference to the given NullableBriefCustomFieldChoiceSetRequest and assigns it to the ChoiceSet field. +func (o *PatchedWritableCustomFieldRequest) SetChoiceSet(v BriefCustomFieldChoiceSetRequest) { o.ChoiceSet.Set(&v) } @@ -791,6 +860,9 @@ func (o PatchedWritableCustomFieldRequest) ToMap() (map[string]interface{}, erro if !IsNil(o.Required) { toSerialize["required"] = o.Required } + if !IsNil(o.Unique) { + toSerialize["unique"] = o.Unique + } if !IsNil(o.SearchWeight) { toSerialize["search_weight"] = o.SearchWeight } @@ -809,6 +881,9 @@ func (o PatchedWritableCustomFieldRequest) ToMap() (map[string]interface{}, erro if o.Default != nil { toSerialize["default"] = o.Default } + if o.RelatedObjectFilter != nil { + toSerialize["related_object_filter"] = o.RelatedObjectFilter + } if !IsNil(o.Weight) { toSerialize["weight"] = o.Weight } @@ -857,12 +932,14 @@ func (o *PatchedWritableCustomFieldRequest) UnmarshalJSON(data []byte) (err erro delete(additionalProperties, "group_name") delete(additionalProperties, "description") delete(additionalProperties, "required") + delete(additionalProperties, "unique") delete(additionalProperties, "search_weight") delete(additionalProperties, "filter_logic") delete(additionalProperties, "ui_visible") delete(additionalProperties, "ui_editable") delete(additionalProperties, "is_cloneable") delete(additionalProperties, "default") + delete(additionalProperties, "related_object_filter") delete(additionalProperties, "weight") delete(additionalProperties, "validation_minimum") delete(additionalProperties, "validation_maximum") diff --git a/model_patched_writable_custom_field_request_filter_logic.go b/model_patched_writable_custom_field_request_filter_logic.go index 617a06855..0dbe4ad0e 100644 --- a/model_patched_writable_custom_field_request_filter_logic.go +++ b/model_patched_writable_custom_field_request_filter_logic.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_writable_custom_field_request_type.go b/model_patched_writable_custom_field_request_type.go index 3efb71f2c..aa038bbbb 100644 --- a/model_patched_writable_custom_field_request_type.go +++ b/model_patched_writable_custom_field_request_type.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_writable_custom_field_request_ui_editable.go b/model_patched_writable_custom_field_request_ui_editable.go index 2ebd0d168..299a59227 100644 --- a/model_patched_writable_custom_field_request_ui_editable.go +++ b/model_patched_writable_custom_field_request_ui_editable.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_writable_custom_field_request_ui_visible.go b/model_patched_writable_custom_field_request_ui_visible.go index 2b2609423..118718caf 100644 --- a/model_patched_writable_custom_field_request_ui_visible.go +++ b/model_patched_writable_custom_field_request_ui_visible.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_writable_data_source_request.go b/model_patched_writable_data_source_request.go index 4446f37e8..13805e2cb 100644 --- a/model_patched_writable_data_source_request.go +++ b/model_patched_writable_data_source_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -24,10 +24,10 @@ type PatchedWritableDataSourceRequest struct { SourceUrl *string `json:"source_url,omitempty"` Enabled *bool `json:"enabled,omitempty"` Description *string `json:"description,omitempty"` - Comments *string `json:"comments,omitempty"` Parameters interface{} `json:"parameters,omitempty"` // Patterns (one per line) matching files to ignore when syncing IgnoreRules *string `json:"ignore_rules,omitempty"` + Comments *string `json:"comments,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -211,38 +211,6 @@ func (o *PatchedWritableDataSourceRequest) SetDescription(v string) { o.Description = &v } -// GetComments returns the Comments field value if set, zero value otherwise. -func (o *PatchedWritableDataSourceRequest) GetComments() string { - if o == nil || IsNil(o.Comments) { - var ret string - return ret - } - return *o.Comments -} - -// GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PatchedWritableDataSourceRequest) GetCommentsOk() (*string, bool) { - if o == nil || IsNil(o.Comments) { - return nil, false - } - return o.Comments, true -} - -// HasComments returns a boolean if a field has been set. -func (o *PatchedWritableDataSourceRequest) HasComments() bool { - if o != nil && !IsNil(o.Comments) { - return true - } - - return false -} - -// SetComments gets a reference to the given string and assigns it to the Comments field. -func (o *PatchedWritableDataSourceRequest) SetComments(v string) { - o.Comments = &v -} - // GetParameters returns the Parameters field value if set, zero value otherwise (both if not set or set to explicit null). func (o *PatchedWritableDataSourceRequest) GetParameters() interface{} { if o == nil { @@ -308,6 +276,38 @@ func (o *PatchedWritableDataSourceRequest) SetIgnoreRules(v string) { o.IgnoreRules = &v } +// GetComments returns the Comments field value if set, zero value otherwise. +func (o *PatchedWritableDataSourceRequest) GetComments() string { + if o == nil || IsNil(o.Comments) { + var ret string + return ret + } + return *o.Comments +} + +// GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritableDataSourceRequest) GetCommentsOk() (*string, bool) { + if o == nil || IsNil(o.Comments) { + return nil, false + } + return o.Comments, true +} + +// HasComments returns a boolean if a field has been set. +func (o *PatchedWritableDataSourceRequest) HasComments() bool { + if o != nil && !IsNil(o.Comments) { + return true + } + + return false +} + +// SetComments gets a reference to the given string and assigns it to the Comments field. +func (o *PatchedWritableDataSourceRequest) SetComments(v string) { + o.Comments = &v +} + // GetCustomFields returns the CustomFields field value if set, zero value otherwise. func (o *PatchedWritableDataSourceRequest) GetCustomFields() map[string]interface{} { if o == nil || IsNil(o.CustomFields) { @@ -365,15 +365,15 @@ func (o PatchedWritableDataSourceRequest) ToMap() (map[string]interface{}, error if !IsNil(o.Description) { toSerialize["description"] = o.Description } - if !IsNil(o.Comments) { - toSerialize["comments"] = o.Comments - } if o.Parameters != nil { toSerialize["parameters"] = o.Parameters } if !IsNil(o.IgnoreRules) { toSerialize["ignore_rules"] = o.IgnoreRules } + if !IsNil(o.Comments) { + toSerialize["comments"] = o.Comments + } if !IsNil(o.CustomFields) { toSerialize["custom_fields"] = o.CustomFields } @@ -404,9 +404,9 @@ func (o *PatchedWritableDataSourceRequest) UnmarshalJSON(data []byte) (err error delete(additionalProperties, "source_url") delete(additionalProperties, "enabled") delete(additionalProperties, "description") - delete(additionalProperties, "comments") delete(additionalProperties, "parameters") delete(additionalProperties, "ignore_rules") + delete(additionalProperties, "comments") delete(additionalProperties, "custom_fields") o.AdditionalProperties = additionalProperties } diff --git a/model_patched_writable_device_type_request.go b/model_patched_writable_device_type_request.go index e5906960d..293fa1d57 100644 --- a/model_patched_writable_device_type_request.go +++ b/model_patched_writable_device_type_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,27 +20,27 @@ var _ MappedNullable = &PatchedWritableDeviceTypeRequest{} // PatchedWritableDeviceTypeRequest Adds support for custom fields and tags. type PatchedWritableDeviceTypeRequest struct { - Manufacturer *ManufacturerRequest `json:"manufacturer,omitempty"` - DefaultPlatform NullablePlatformRequest `json:"default_platform,omitempty"` - Model *string `json:"model,omitempty"` - Slug *string `json:"slug,omitempty"` + Manufacturer *BriefManufacturerRequest `json:"manufacturer,omitempty"` + DefaultPlatform NullableBriefPlatformRequest `json:"default_platform,omitempty"` + Model *string `json:"model,omitempty"` + Slug *string `json:"slug,omitempty"` // Discrete part number (optional) PartNumber *string `json:"part_number,omitempty"` UHeight *float64 `json:"u_height,omitempty"` // Devices of this type are excluded when calculating rack utilization. ExcludeFromUtilization *bool `json:"exclude_from_utilization,omitempty"` // Device consumes both front and rear rack faces. - IsFullDepth *bool `json:"is_full_depth,omitempty"` - SubdeviceRole *ParentChildStatus1 `json:"subdevice_role,omitempty"` - Airflow *DeviceAirflowValue `json:"airflow,omitempty"` - Weight NullableFloat64 `json:"weight,omitempty"` - WeightUnit *PatchedWritableDeviceTypeRequestWeightUnit `json:"weight_unit,omitempty"` - FrontImage **os.File `json:"front_image,omitempty"` - RearImage **os.File `json:"rear_image,omitempty"` - Description *string `json:"description,omitempty"` - Comments *string `json:"comments,omitempty"` - Tags []NestedTagRequest `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + IsFullDepth *bool `json:"is_full_depth,omitempty"` + SubdeviceRole *ParentChildStatus1 `json:"subdevice_role,omitempty"` + Airflow *DeviceAirflowValue `json:"airflow,omitempty"` + Weight NullableFloat64 `json:"weight,omitempty"` + WeightUnit *DeviceTypeWeightUnitValue `json:"weight_unit,omitempty"` + FrontImage **os.File `json:"front_image,omitempty"` + RearImage **os.File `json:"rear_image,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -68,9 +68,9 @@ func NewPatchedWritableDeviceTypeRequestWithDefaults() *PatchedWritableDeviceTyp } // GetManufacturer returns the Manufacturer field value if set, zero value otherwise. -func (o *PatchedWritableDeviceTypeRequest) GetManufacturer() ManufacturerRequest { +func (o *PatchedWritableDeviceTypeRequest) GetManufacturer() BriefManufacturerRequest { if o == nil || IsNil(o.Manufacturer) { - var ret ManufacturerRequest + var ret BriefManufacturerRequest return ret } return *o.Manufacturer @@ -78,7 +78,7 @@ func (o *PatchedWritableDeviceTypeRequest) GetManufacturer() ManufacturerRequest // GetManufacturerOk returns a tuple with the Manufacturer field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedWritableDeviceTypeRequest) GetManufacturerOk() (*ManufacturerRequest, bool) { +func (o *PatchedWritableDeviceTypeRequest) GetManufacturerOk() (*BriefManufacturerRequest, bool) { if o == nil || IsNil(o.Manufacturer) { return nil, false } @@ -94,15 +94,15 @@ func (o *PatchedWritableDeviceTypeRequest) HasManufacturer() bool { return false } -// SetManufacturer gets a reference to the given ManufacturerRequest and assigns it to the Manufacturer field. -func (o *PatchedWritableDeviceTypeRequest) SetManufacturer(v ManufacturerRequest) { +// SetManufacturer gets a reference to the given BriefManufacturerRequest and assigns it to the Manufacturer field. +func (o *PatchedWritableDeviceTypeRequest) SetManufacturer(v BriefManufacturerRequest) { o.Manufacturer = &v } // GetDefaultPlatform returns the DefaultPlatform field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableDeviceTypeRequest) GetDefaultPlatform() PlatformRequest { +func (o *PatchedWritableDeviceTypeRequest) GetDefaultPlatform() BriefPlatformRequest { if o == nil || IsNil(o.DefaultPlatform.Get()) { - var ret PlatformRequest + var ret BriefPlatformRequest return ret } return *o.DefaultPlatform.Get() @@ -111,7 +111,7 @@ func (o *PatchedWritableDeviceTypeRequest) GetDefaultPlatform() PlatformRequest // GetDefaultPlatformOk returns a tuple with the DefaultPlatform 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 *PatchedWritableDeviceTypeRequest) GetDefaultPlatformOk() (*PlatformRequest, bool) { +func (o *PatchedWritableDeviceTypeRequest) GetDefaultPlatformOk() (*BriefPlatformRequest, bool) { if o == nil { return nil, false } @@ -127,8 +127,8 @@ func (o *PatchedWritableDeviceTypeRequest) HasDefaultPlatform() bool { return false } -// SetDefaultPlatform gets a reference to the given NullablePlatformRequest and assigns it to the DefaultPlatform field. -func (o *PatchedWritableDeviceTypeRequest) SetDefaultPlatform(v PlatformRequest) { +// SetDefaultPlatform gets a reference to the given NullableBriefPlatformRequest and assigns it to the DefaultPlatform field. +func (o *PatchedWritableDeviceTypeRequest) SetDefaultPlatform(v BriefPlatformRequest) { o.DefaultPlatform.Set(&v) } @@ -442,9 +442,9 @@ func (o *PatchedWritableDeviceTypeRequest) UnsetWeight() { } // GetWeightUnit returns the WeightUnit field value if set, zero value otherwise. -func (o *PatchedWritableDeviceTypeRequest) GetWeightUnit() PatchedWritableDeviceTypeRequestWeightUnit { +func (o *PatchedWritableDeviceTypeRequest) GetWeightUnit() DeviceTypeWeightUnitValue { if o == nil || IsNil(o.WeightUnit) { - var ret PatchedWritableDeviceTypeRequestWeightUnit + var ret DeviceTypeWeightUnitValue return ret } return *o.WeightUnit @@ -452,7 +452,7 @@ func (o *PatchedWritableDeviceTypeRequest) GetWeightUnit() PatchedWritableDevice // GetWeightUnitOk returns a tuple with the WeightUnit field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedWritableDeviceTypeRequest) GetWeightUnitOk() (*PatchedWritableDeviceTypeRequestWeightUnit, bool) { +func (o *PatchedWritableDeviceTypeRequest) GetWeightUnitOk() (*DeviceTypeWeightUnitValue, bool) { if o == nil || IsNil(o.WeightUnit) { return nil, false } @@ -468,8 +468,8 @@ func (o *PatchedWritableDeviceTypeRequest) HasWeightUnit() bool { return false } -// SetWeightUnit gets a reference to the given PatchedWritableDeviceTypeRequestWeightUnit and assigns it to the WeightUnit field. -func (o *PatchedWritableDeviceTypeRequest) SetWeightUnit(v PatchedWritableDeviceTypeRequestWeightUnit) { +// SetWeightUnit gets a reference to the given DeviceTypeWeightUnitValue and assigns it to the WeightUnit field. +func (o *PatchedWritableDeviceTypeRequest) SetWeightUnit(v DeviceTypeWeightUnitValue) { o.WeightUnit = &v } diff --git a/model_patched_writable_device_with_config_context_request.go b/model_patched_writable_device_with_config_context_request.go index 2594a9023..091abb8cf 100644 --- a/model_patched_writable_device_with_config_context_request.go +++ b/model_patched_writable_device_with_config_context_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,37 +19,37 @@ var _ MappedNullable = &PatchedWritableDeviceWithConfigContextRequest{} // PatchedWritableDeviceWithConfigContextRequest Adds support for custom fields and tags. type PatchedWritableDeviceWithConfigContextRequest struct { - Name NullableString `json:"name,omitempty"` - DeviceType *DeviceTypeRequest `json:"device_type,omitempty"` - Role *DeviceRoleRequest `json:"role,omitempty"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` - Platform NullablePlatformRequest `json:"platform,omitempty"` + Name NullableString `json:"name,omitempty"` + DeviceType *BriefDeviceTypeRequest `json:"device_type,omitempty"` + Role *BriefDeviceRoleRequest `json:"role,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` + Platform NullableBriefPlatformRequest `json:"platform,omitempty"` // Chassis serial number, assigned by the manufacturer Serial *string `json:"serial,omitempty"` // A unique tag used to identify this device - AssetTag NullableString `json:"asset_tag,omitempty"` - Site *SiteRequest `json:"site,omitempty"` - Location NullableLocationRequest `json:"location,omitempty"` - Rack NullableRackRequest `json:"rack,omitempty"` - Position NullableFloat64 `json:"position,omitempty"` - Face *RackFace1 `json:"face,omitempty"` + AssetTag NullableString `json:"asset_tag,omitempty"` + Site *BriefSiteRequest `json:"site,omitempty"` + Location NullableBriefLocationRequest `json:"location,omitempty"` + Rack NullableBriefRackRequest `json:"rack,omitempty"` + Position NullableFloat64 `json:"position,omitempty"` + Face *RackFace1 `json:"face,omitempty"` // GPS coordinate in decimal format (xx.yyyyyy) Latitude NullableFloat64 `json:"latitude,omitempty"` // GPS coordinate in decimal format (xx.yyyyyy) - Longitude NullableFloat64 `json:"longitude,omitempty"` - Status *DeviceStatusValue `json:"status,omitempty"` - Airflow *DeviceAirflowValue `json:"airflow,omitempty"` - PrimaryIp4 NullableIPAddressRequest `json:"primary_ip4,omitempty"` - PrimaryIp6 NullableIPAddressRequest `json:"primary_ip6,omitempty"` - OobIp NullableIPAddressRequest `json:"oob_ip,omitempty"` - Cluster NullableClusterRequest `json:"cluster,omitempty"` - VirtualChassis NullableVirtualChassisRequest `json:"virtual_chassis,omitempty"` - VcPosition NullableInt32 `json:"vc_position,omitempty"` + Longitude NullableFloat64 `json:"longitude,omitempty"` + Status *DeviceStatusValue `json:"status,omitempty"` + Airflow *DeviceAirflowValue `json:"airflow,omitempty"` + PrimaryIp4 NullableBriefIPAddressRequest `json:"primary_ip4,omitempty"` + PrimaryIp6 NullableBriefIPAddressRequest `json:"primary_ip6,omitempty"` + OobIp NullableBriefIPAddressRequest `json:"oob_ip,omitempty"` + Cluster NullableBriefClusterRequest `json:"cluster,omitempty"` + VirtualChassis NullableBriefVirtualChassisRequest `json:"virtual_chassis,omitempty"` + VcPosition NullableInt32 `json:"vc_position,omitempty"` // Virtual chassis master election priority - VcPriority NullableInt32 `json:"vc_priority,omitempty"` - Description *string `json:"description,omitempty"` - Comments *string `json:"comments,omitempty"` - ConfigTemplate NullableConfigTemplateRequest `json:"config_template,omitempty"` + VcPriority NullableInt32 `json:"vc_priority,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + ConfigTemplate NullableBriefConfigTemplateRequest `json:"config_template,omitempty"` // Local config context data takes precedence over source contexts in the final rendered config context LocalContextData interface{} `json:"local_context_data,omitempty"` Tags []NestedTagRequest `json:"tags,omitempty"` @@ -120,9 +120,9 @@ func (o *PatchedWritableDeviceWithConfigContextRequest) UnsetName() { } // GetDeviceType returns the DeviceType field value if set, zero value otherwise. -func (o *PatchedWritableDeviceWithConfigContextRequest) GetDeviceType() DeviceTypeRequest { +func (o *PatchedWritableDeviceWithConfigContextRequest) GetDeviceType() BriefDeviceTypeRequest { if o == nil || IsNil(o.DeviceType) { - var ret DeviceTypeRequest + var ret BriefDeviceTypeRequest return ret } return *o.DeviceType @@ -130,7 +130,7 @@ func (o *PatchedWritableDeviceWithConfigContextRequest) GetDeviceType() DeviceTy // GetDeviceTypeOk returns a tuple with the DeviceType field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedWritableDeviceWithConfigContextRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool) { +func (o *PatchedWritableDeviceWithConfigContextRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool) { if o == nil || IsNil(o.DeviceType) { return nil, false } @@ -146,15 +146,15 @@ func (o *PatchedWritableDeviceWithConfigContextRequest) HasDeviceType() bool { return false } -// SetDeviceType gets a reference to the given DeviceTypeRequest and assigns it to the DeviceType field. -func (o *PatchedWritableDeviceWithConfigContextRequest) SetDeviceType(v DeviceTypeRequest) { +// SetDeviceType gets a reference to the given BriefDeviceTypeRequest and assigns it to the DeviceType field. +func (o *PatchedWritableDeviceWithConfigContextRequest) SetDeviceType(v BriefDeviceTypeRequest) { o.DeviceType = &v } // GetRole returns the Role field value if set, zero value otherwise. -func (o *PatchedWritableDeviceWithConfigContextRequest) GetRole() DeviceRoleRequest { +func (o *PatchedWritableDeviceWithConfigContextRequest) GetRole() BriefDeviceRoleRequest { if o == nil || IsNil(o.Role) { - var ret DeviceRoleRequest + var ret BriefDeviceRoleRequest return ret } return *o.Role @@ -162,7 +162,7 @@ func (o *PatchedWritableDeviceWithConfigContextRequest) GetRole() DeviceRoleRequ // GetRoleOk returns a tuple with the Role field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedWritableDeviceWithConfigContextRequest) GetRoleOk() (*DeviceRoleRequest, bool) { +func (o *PatchedWritableDeviceWithConfigContextRequest) GetRoleOk() (*BriefDeviceRoleRequest, bool) { if o == nil || IsNil(o.Role) { return nil, false } @@ -178,15 +178,15 @@ func (o *PatchedWritableDeviceWithConfigContextRequest) HasRole() bool { return false } -// SetRole gets a reference to the given DeviceRoleRequest and assigns it to the Role field. -func (o *PatchedWritableDeviceWithConfigContextRequest) SetRole(v DeviceRoleRequest) { +// SetRole gets a reference to the given BriefDeviceRoleRequest and assigns it to the Role field. +func (o *PatchedWritableDeviceWithConfigContextRequest) SetRole(v BriefDeviceRoleRequest) { o.Role = &v } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableDeviceWithConfigContextRequest) GetTenant() TenantRequest { +func (o *PatchedWritableDeviceWithConfigContextRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -195,7 +195,7 @@ func (o *PatchedWritableDeviceWithConfigContextRequest) GetTenant() TenantReques // 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 *PatchedWritableDeviceWithConfigContextRequest) GetTenantOk() (*TenantRequest, bool) { +func (o *PatchedWritableDeviceWithConfigContextRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -211,8 +211,8 @@ func (o *PatchedWritableDeviceWithConfigContextRequest) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *PatchedWritableDeviceWithConfigContextRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *PatchedWritableDeviceWithConfigContextRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } @@ -227,9 +227,9 @@ func (o *PatchedWritableDeviceWithConfigContextRequest) UnsetTenant() { } // GetPlatform returns the Platform field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableDeviceWithConfigContextRequest) GetPlatform() PlatformRequest { +func (o *PatchedWritableDeviceWithConfigContextRequest) GetPlatform() BriefPlatformRequest { if o == nil || IsNil(o.Platform.Get()) { - var ret PlatformRequest + var ret BriefPlatformRequest return ret } return *o.Platform.Get() @@ -238,7 +238,7 @@ func (o *PatchedWritableDeviceWithConfigContextRequest) GetPlatform() PlatformRe // GetPlatformOk returns a tuple with the Platform 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 *PatchedWritableDeviceWithConfigContextRequest) GetPlatformOk() (*PlatformRequest, bool) { +func (o *PatchedWritableDeviceWithConfigContextRequest) GetPlatformOk() (*BriefPlatformRequest, bool) { if o == nil { return nil, false } @@ -254,8 +254,8 @@ func (o *PatchedWritableDeviceWithConfigContextRequest) HasPlatform() bool { return false } -// SetPlatform gets a reference to the given NullablePlatformRequest and assigns it to the Platform field. -func (o *PatchedWritableDeviceWithConfigContextRequest) SetPlatform(v PlatformRequest) { +// SetPlatform gets a reference to the given NullableBriefPlatformRequest and assigns it to the Platform field. +func (o *PatchedWritableDeviceWithConfigContextRequest) SetPlatform(v BriefPlatformRequest) { o.Platform.Set(&v) } @@ -345,9 +345,9 @@ func (o *PatchedWritableDeviceWithConfigContextRequest) UnsetAssetTag() { } // GetSite returns the Site field value if set, zero value otherwise. -func (o *PatchedWritableDeviceWithConfigContextRequest) GetSite() SiteRequest { +func (o *PatchedWritableDeviceWithConfigContextRequest) GetSite() BriefSiteRequest { if o == nil || IsNil(o.Site) { - var ret SiteRequest + var ret BriefSiteRequest return ret } return *o.Site @@ -355,7 +355,7 @@ func (o *PatchedWritableDeviceWithConfigContextRequest) GetSite() SiteRequest { // GetSiteOk returns a tuple with the Site field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedWritableDeviceWithConfigContextRequest) GetSiteOk() (*SiteRequest, bool) { +func (o *PatchedWritableDeviceWithConfigContextRequest) GetSiteOk() (*BriefSiteRequest, bool) { if o == nil || IsNil(o.Site) { return nil, false } @@ -371,15 +371,15 @@ func (o *PatchedWritableDeviceWithConfigContextRequest) HasSite() bool { return false } -// SetSite gets a reference to the given SiteRequest and assigns it to the Site field. -func (o *PatchedWritableDeviceWithConfigContextRequest) SetSite(v SiteRequest) { +// SetSite gets a reference to the given BriefSiteRequest and assigns it to the Site field. +func (o *PatchedWritableDeviceWithConfigContextRequest) SetSite(v BriefSiteRequest) { o.Site = &v } // GetLocation returns the Location field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableDeviceWithConfigContextRequest) GetLocation() LocationRequest { +func (o *PatchedWritableDeviceWithConfigContextRequest) GetLocation() BriefLocationRequest { if o == nil || IsNil(o.Location.Get()) { - var ret LocationRequest + var ret BriefLocationRequest return ret } return *o.Location.Get() @@ -388,7 +388,7 @@ func (o *PatchedWritableDeviceWithConfigContextRequest) GetLocation() LocationRe // GetLocationOk returns a tuple with the Location 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 *PatchedWritableDeviceWithConfigContextRequest) GetLocationOk() (*LocationRequest, bool) { +func (o *PatchedWritableDeviceWithConfigContextRequest) GetLocationOk() (*BriefLocationRequest, bool) { if o == nil { return nil, false } @@ -404,8 +404,8 @@ func (o *PatchedWritableDeviceWithConfigContextRequest) HasLocation() bool { return false } -// SetLocation gets a reference to the given NullableLocationRequest and assigns it to the Location field. -func (o *PatchedWritableDeviceWithConfigContextRequest) SetLocation(v LocationRequest) { +// SetLocation gets a reference to the given NullableBriefLocationRequest and assigns it to the Location field. +func (o *PatchedWritableDeviceWithConfigContextRequest) SetLocation(v BriefLocationRequest) { o.Location.Set(&v) } @@ -420,9 +420,9 @@ func (o *PatchedWritableDeviceWithConfigContextRequest) UnsetLocation() { } // GetRack returns the Rack field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableDeviceWithConfigContextRequest) GetRack() RackRequest { +func (o *PatchedWritableDeviceWithConfigContextRequest) GetRack() BriefRackRequest { if o == nil || IsNil(o.Rack.Get()) { - var ret RackRequest + var ret BriefRackRequest return ret } return *o.Rack.Get() @@ -431,7 +431,7 @@ func (o *PatchedWritableDeviceWithConfigContextRequest) GetRack() RackRequest { // GetRackOk returns a tuple with the Rack 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 *PatchedWritableDeviceWithConfigContextRequest) GetRackOk() (*RackRequest, bool) { +func (o *PatchedWritableDeviceWithConfigContextRequest) GetRackOk() (*BriefRackRequest, bool) { if o == nil { return nil, false } @@ -447,8 +447,8 @@ func (o *PatchedWritableDeviceWithConfigContextRequest) HasRack() bool { return false } -// SetRack gets a reference to the given NullableRackRequest and assigns it to the Rack field. -func (o *PatchedWritableDeviceWithConfigContextRequest) SetRack(v RackRequest) { +// SetRack gets a reference to the given NullableBriefRackRequest and assigns it to the Rack field. +func (o *PatchedWritableDeviceWithConfigContextRequest) SetRack(v BriefRackRequest) { o.Rack.Set(&v) } @@ -688,9 +688,9 @@ func (o *PatchedWritableDeviceWithConfigContextRequest) SetAirflow(v DeviceAirfl } // GetPrimaryIp4 returns the PrimaryIp4 field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableDeviceWithConfigContextRequest) GetPrimaryIp4() IPAddressRequest { +func (o *PatchedWritableDeviceWithConfigContextRequest) GetPrimaryIp4() BriefIPAddressRequest { if o == nil || IsNil(o.PrimaryIp4.Get()) { - var ret IPAddressRequest + var ret BriefIPAddressRequest return ret } return *o.PrimaryIp4.Get() @@ -699,7 +699,7 @@ func (o *PatchedWritableDeviceWithConfigContextRequest) GetPrimaryIp4() IPAddres // 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 *PatchedWritableDeviceWithConfigContextRequest) GetPrimaryIp4Ok() (*IPAddressRequest, bool) { +func (o *PatchedWritableDeviceWithConfigContextRequest) GetPrimaryIp4Ok() (*BriefIPAddressRequest, bool) { if o == nil { return nil, false } @@ -715,8 +715,8 @@ func (o *PatchedWritableDeviceWithConfigContextRequest) HasPrimaryIp4() bool { return false } -// SetPrimaryIp4 gets a reference to the given NullableIPAddressRequest and assigns it to the PrimaryIp4 field. -func (o *PatchedWritableDeviceWithConfigContextRequest) SetPrimaryIp4(v IPAddressRequest) { +// SetPrimaryIp4 gets a reference to the given NullableBriefIPAddressRequest and assigns it to the PrimaryIp4 field. +func (o *PatchedWritableDeviceWithConfigContextRequest) SetPrimaryIp4(v BriefIPAddressRequest) { o.PrimaryIp4.Set(&v) } @@ -731,9 +731,9 @@ func (o *PatchedWritableDeviceWithConfigContextRequest) UnsetPrimaryIp4() { } // GetPrimaryIp6 returns the PrimaryIp6 field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableDeviceWithConfigContextRequest) GetPrimaryIp6() IPAddressRequest { +func (o *PatchedWritableDeviceWithConfigContextRequest) GetPrimaryIp6() BriefIPAddressRequest { if o == nil || IsNil(o.PrimaryIp6.Get()) { - var ret IPAddressRequest + var ret BriefIPAddressRequest return ret } return *o.PrimaryIp6.Get() @@ -742,7 +742,7 @@ func (o *PatchedWritableDeviceWithConfigContextRequest) GetPrimaryIp6() IPAddres // 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 *PatchedWritableDeviceWithConfigContextRequest) GetPrimaryIp6Ok() (*IPAddressRequest, bool) { +func (o *PatchedWritableDeviceWithConfigContextRequest) GetPrimaryIp6Ok() (*BriefIPAddressRequest, bool) { if o == nil { return nil, false } @@ -758,8 +758,8 @@ func (o *PatchedWritableDeviceWithConfigContextRequest) HasPrimaryIp6() bool { return false } -// SetPrimaryIp6 gets a reference to the given NullableIPAddressRequest and assigns it to the PrimaryIp6 field. -func (o *PatchedWritableDeviceWithConfigContextRequest) SetPrimaryIp6(v IPAddressRequest) { +// SetPrimaryIp6 gets a reference to the given NullableBriefIPAddressRequest and assigns it to the PrimaryIp6 field. +func (o *PatchedWritableDeviceWithConfigContextRequest) SetPrimaryIp6(v BriefIPAddressRequest) { o.PrimaryIp6.Set(&v) } @@ -774,9 +774,9 @@ func (o *PatchedWritableDeviceWithConfigContextRequest) UnsetPrimaryIp6() { } // GetOobIp returns the OobIp field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableDeviceWithConfigContextRequest) GetOobIp() IPAddressRequest { +func (o *PatchedWritableDeviceWithConfigContextRequest) GetOobIp() BriefIPAddressRequest { if o == nil || IsNil(o.OobIp.Get()) { - var ret IPAddressRequest + var ret BriefIPAddressRequest return ret } return *o.OobIp.Get() @@ -785,7 +785,7 @@ func (o *PatchedWritableDeviceWithConfigContextRequest) GetOobIp() IPAddressRequ // GetOobIpOk returns a tuple with the OobIp 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 *PatchedWritableDeviceWithConfigContextRequest) GetOobIpOk() (*IPAddressRequest, bool) { +func (o *PatchedWritableDeviceWithConfigContextRequest) GetOobIpOk() (*BriefIPAddressRequest, bool) { if o == nil { return nil, false } @@ -801,8 +801,8 @@ func (o *PatchedWritableDeviceWithConfigContextRequest) HasOobIp() bool { return false } -// SetOobIp gets a reference to the given NullableIPAddressRequest and assigns it to the OobIp field. -func (o *PatchedWritableDeviceWithConfigContextRequest) SetOobIp(v IPAddressRequest) { +// SetOobIp gets a reference to the given NullableBriefIPAddressRequest and assigns it to the OobIp field. +func (o *PatchedWritableDeviceWithConfigContextRequest) SetOobIp(v BriefIPAddressRequest) { o.OobIp.Set(&v) } @@ -817,9 +817,9 @@ func (o *PatchedWritableDeviceWithConfigContextRequest) UnsetOobIp() { } // GetCluster returns the Cluster field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableDeviceWithConfigContextRequest) GetCluster() ClusterRequest { +func (o *PatchedWritableDeviceWithConfigContextRequest) GetCluster() BriefClusterRequest { if o == nil || IsNil(o.Cluster.Get()) { - var ret ClusterRequest + var ret BriefClusterRequest return ret } return *o.Cluster.Get() @@ -828,7 +828,7 @@ func (o *PatchedWritableDeviceWithConfigContextRequest) GetCluster() ClusterRequ // GetClusterOk returns a tuple with the Cluster 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 *PatchedWritableDeviceWithConfigContextRequest) GetClusterOk() (*ClusterRequest, bool) { +func (o *PatchedWritableDeviceWithConfigContextRequest) GetClusterOk() (*BriefClusterRequest, bool) { if o == nil { return nil, false } @@ -844,8 +844,8 @@ func (o *PatchedWritableDeviceWithConfigContextRequest) HasCluster() bool { return false } -// SetCluster gets a reference to the given NullableClusterRequest and assigns it to the Cluster field. -func (o *PatchedWritableDeviceWithConfigContextRequest) SetCluster(v ClusterRequest) { +// SetCluster gets a reference to the given NullableBriefClusterRequest and assigns it to the Cluster field. +func (o *PatchedWritableDeviceWithConfigContextRequest) SetCluster(v BriefClusterRequest) { o.Cluster.Set(&v) } @@ -860,9 +860,9 @@ func (o *PatchedWritableDeviceWithConfigContextRequest) UnsetCluster() { } // GetVirtualChassis returns the VirtualChassis field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableDeviceWithConfigContextRequest) GetVirtualChassis() VirtualChassisRequest { +func (o *PatchedWritableDeviceWithConfigContextRequest) GetVirtualChassis() BriefVirtualChassisRequest { if o == nil || IsNil(o.VirtualChassis.Get()) { - var ret VirtualChassisRequest + var ret BriefVirtualChassisRequest return ret } return *o.VirtualChassis.Get() @@ -871,7 +871,7 @@ func (o *PatchedWritableDeviceWithConfigContextRequest) GetVirtualChassis() Virt // GetVirtualChassisOk returns a tuple with the VirtualChassis 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 *PatchedWritableDeviceWithConfigContextRequest) GetVirtualChassisOk() (*VirtualChassisRequest, bool) { +func (o *PatchedWritableDeviceWithConfigContextRequest) GetVirtualChassisOk() (*BriefVirtualChassisRequest, bool) { if o == nil { return nil, false } @@ -887,8 +887,8 @@ func (o *PatchedWritableDeviceWithConfigContextRequest) HasVirtualChassis() bool return false } -// SetVirtualChassis gets a reference to the given NullableVirtualChassisRequest and assigns it to the VirtualChassis field. -func (o *PatchedWritableDeviceWithConfigContextRequest) SetVirtualChassis(v VirtualChassisRequest) { +// SetVirtualChassis gets a reference to the given NullableBriefVirtualChassisRequest and assigns it to the VirtualChassis field. +func (o *PatchedWritableDeviceWithConfigContextRequest) SetVirtualChassis(v BriefVirtualChassisRequest) { o.VirtualChassis.Set(&v) } @@ -1053,9 +1053,9 @@ func (o *PatchedWritableDeviceWithConfigContextRequest) SetComments(v string) { } // GetConfigTemplate returns the ConfigTemplate field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableDeviceWithConfigContextRequest) GetConfigTemplate() ConfigTemplateRequest { +func (o *PatchedWritableDeviceWithConfigContextRequest) GetConfigTemplate() BriefConfigTemplateRequest { if o == nil || IsNil(o.ConfigTemplate.Get()) { - var ret ConfigTemplateRequest + var ret BriefConfigTemplateRequest return ret } return *o.ConfigTemplate.Get() @@ -1064,7 +1064,7 @@ func (o *PatchedWritableDeviceWithConfigContextRequest) GetConfigTemplate() Conf // GetConfigTemplateOk returns a tuple with the ConfigTemplate 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 *PatchedWritableDeviceWithConfigContextRequest) GetConfigTemplateOk() (*ConfigTemplateRequest, bool) { +func (o *PatchedWritableDeviceWithConfigContextRequest) GetConfigTemplateOk() (*BriefConfigTemplateRequest, bool) { if o == nil { return nil, false } @@ -1080,8 +1080,8 @@ func (o *PatchedWritableDeviceWithConfigContextRequest) HasConfigTemplate() bool return false } -// SetConfigTemplate gets a reference to the given NullableConfigTemplateRequest and assigns it to the ConfigTemplate field. -func (o *PatchedWritableDeviceWithConfigContextRequest) SetConfigTemplate(v ConfigTemplateRequest) { +// SetConfigTemplate gets a reference to the given NullableBriefConfigTemplateRequest and assigns it to the ConfigTemplate field. +func (o *PatchedWritableDeviceWithConfigContextRequest) SetConfigTemplate(v BriefConfigTemplateRequest) { o.ConfigTemplate.Set(&v) } diff --git a/model_patched_writable_event_rule_request.go b/model_patched_writable_event_rule_request.go index 0251a39dc..6040608bc 100644 --- a/model_patched_writable_event_rule_request.go +++ b/model_patched_writable_event_rule_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,17 +21,9 @@ var _ MappedNullable = &PatchedWritableEventRuleRequest{} type PatchedWritableEventRuleRequest struct { ObjectTypes []string `json:"object_types,omitempty"` Name *string `json:"name,omitempty"` - // Triggers when a matching object is created. - TypeCreate *bool `json:"type_create,omitempty"` - // Triggers when a matching object is updated. - TypeUpdate *bool `json:"type_update,omitempty"` - // Triggers when a matching object is deleted. - TypeDelete *bool `json:"type_delete,omitempty"` - // Triggers when a job for a matching object is started. - TypeJobStart *bool `json:"type_job_start,omitempty"` - // Triggers when a job for a matching object terminates. - TypeJobEnd *bool `json:"type_job_end,omitempty"` - Enabled *bool `json:"enabled,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + // The types of event which will trigger this rule. + EventTypes []EventRuleEventTypesInner `json:"event_types,omitempty"` // A set of conditions which determine whether the event will be generated. Conditions interface{} `json:"conditions,omitempty"` ActionType *EventRuleActionTypeValue `json:"action_type,omitempty"` @@ -126,196 +118,68 @@ func (o *PatchedWritableEventRuleRequest) SetName(v string) { o.Name = &v } -// GetTypeCreate returns the TypeCreate field value if set, zero value otherwise. -func (o *PatchedWritableEventRuleRequest) GetTypeCreate() bool { - if o == nil || IsNil(o.TypeCreate) { - var ret bool - return ret - } - return *o.TypeCreate -} - -// GetTypeCreateOk returns a tuple with the TypeCreate field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PatchedWritableEventRuleRequest) GetTypeCreateOk() (*bool, bool) { - if o == nil || IsNil(o.TypeCreate) { - return nil, false - } - return o.TypeCreate, true -} - -// HasTypeCreate returns a boolean if a field has been set. -func (o *PatchedWritableEventRuleRequest) HasTypeCreate() bool { - if o != nil && !IsNil(o.TypeCreate) { - return true - } - - return false -} - -// SetTypeCreate gets a reference to the given bool and assigns it to the TypeCreate field. -func (o *PatchedWritableEventRuleRequest) SetTypeCreate(v bool) { - o.TypeCreate = &v -} - -// GetTypeUpdate returns the TypeUpdate field value if set, zero value otherwise. -func (o *PatchedWritableEventRuleRequest) GetTypeUpdate() bool { - if o == nil || IsNil(o.TypeUpdate) { - var ret bool - return ret - } - return *o.TypeUpdate -} - -// GetTypeUpdateOk returns a tuple with the TypeUpdate field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PatchedWritableEventRuleRequest) GetTypeUpdateOk() (*bool, bool) { - if o == nil || IsNil(o.TypeUpdate) { - return nil, false - } - return o.TypeUpdate, true -} - -// HasTypeUpdate returns a boolean if a field has been set. -func (o *PatchedWritableEventRuleRequest) HasTypeUpdate() bool { - if o != nil && !IsNil(o.TypeUpdate) { - return true - } - - return false -} - -// SetTypeUpdate gets a reference to the given bool and assigns it to the TypeUpdate field. -func (o *PatchedWritableEventRuleRequest) SetTypeUpdate(v bool) { - o.TypeUpdate = &v -} - -// GetTypeDelete returns the TypeDelete field value if set, zero value otherwise. -func (o *PatchedWritableEventRuleRequest) GetTypeDelete() bool { - if o == nil || IsNil(o.TypeDelete) { - var ret bool - return ret - } - return *o.TypeDelete -} - -// GetTypeDeleteOk returns a tuple with the TypeDelete field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PatchedWritableEventRuleRequest) GetTypeDeleteOk() (*bool, bool) { - if o == nil || IsNil(o.TypeDelete) { - return nil, false - } - return o.TypeDelete, true -} - -// HasTypeDelete returns a boolean if a field has been set. -func (o *PatchedWritableEventRuleRequest) HasTypeDelete() bool { - if o != nil && !IsNil(o.TypeDelete) { - return true - } - - return false -} - -// SetTypeDelete gets a reference to the given bool and assigns it to the TypeDelete field. -func (o *PatchedWritableEventRuleRequest) SetTypeDelete(v bool) { - o.TypeDelete = &v -} - -// GetTypeJobStart returns the TypeJobStart field value if set, zero value otherwise. -func (o *PatchedWritableEventRuleRequest) GetTypeJobStart() bool { - if o == nil || IsNil(o.TypeJobStart) { - var ret bool - return ret - } - return *o.TypeJobStart -} - -// GetTypeJobStartOk returns a tuple with the TypeJobStart field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PatchedWritableEventRuleRequest) GetTypeJobStartOk() (*bool, bool) { - if o == nil || IsNil(o.TypeJobStart) { - return nil, false - } - return o.TypeJobStart, true -} - -// HasTypeJobStart returns a boolean if a field has been set. -func (o *PatchedWritableEventRuleRequest) HasTypeJobStart() bool { - if o != nil && !IsNil(o.TypeJobStart) { - return true - } - - return false -} - -// SetTypeJobStart gets a reference to the given bool and assigns it to the TypeJobStart field. -func (o *PatchedWritableEventRuleRequest) SetTypeJobStart(v bool) { - o.TypeJobStart = &v -} - -// GetTypeJobEnd returns the TypeJobEnd field value if set, zero value otherwise. -func (o *PatchedWritableEventRuleRequest) GetTypeJobEnd() bool { - if o == nil || IsNil(o.TypeJobEnd) { +// GetEnabled returns the Enabled field value if set, zero value otherwise. +func (o *PatchedWritableEventRuleRequest) GetEnabled() bool { + if o == nil || IsNil(o.Enabled) { var ret bool return ret } - return *o.TypeJobEnd + return *o.Enabled } -// GetTypeJobEndOk returns a tuple with the TypeJobEnd field value if set, nil otherwise +// 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 *PatchedWritableEventRuleRequest) GetTypeJobEndOk() (*bool, bool) { - if o == nil || IsNil(o.TypeJobEnd) { +func (o *PatchedWritableEventRuleRequest) GetEnabledOk() (*bool, bool) { + if o == nil || IsNil(o.Enabled) { return nil, false } - return o.TypeJobEnd, true + return o.Enabled, true } -// HasTypeJobEnd returns a boolean if a field has been set. -func (o *PatchedWritableEventRuleRequest) HasTypeJobEnd() bool { - if o != nil && !IsNil(o.TypeJobEnd) { +// HasEnabled returns a boolean if a field has been set. +func (o *PatchedWritableEventRuleRequest) HasEnabled() bool { + if o != nil && !IsNil(o.Enabled) { return true } return false } -// SetTypeJobEnd gets a reference to the given bool and assigns it to the TypeJobEnd field. -func (o *PatchedWritableEventRuleRequest) SetTypeJobEnd(v bool) { - o.TypeJobEnd = &v +// SetEnabled gets a reference to the given bool and assigns it to the Enabled field. +func (o *PatchedWritableEventRuleRequest) SetEnabled(v bool) { + o.Enabled = &v } -// GetEnabled returns the Enabled field value if set, zero value otherwise. -func (o *PatchedWritableEventRuleRequest) GetEnabled() bool { - if o == nil || IsNil(o.Enabled) { - var ret bool +// GetEventTypes returns the EventTypes field value if set, zero value otherwise. +func (o *PatchedWritableEventRuleRequest) GetEventTypes() []EventRuleEventTypesInner { + if o == nil || IsNil(o.EventTypes) { + var ret []EventRuleEventTypesInner return ret } - return *o.Enabled + return o.EventTypes } -// GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise +// GetEventTypesOk returns a tuple with the EventTypes field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedWritableEventRuleRequest) GetEnabledOk() (*bool, bool) { - if o == nil || IsNil(o.Enabled) { +func (o *PatchedWritableEventRuleRequest) GetEventTypesOk() ([]EventRuleEventTypesInner, bool) { + if o == nil || IsNil(o.EventTypes) { return nil, false } - return o.Enabled, true + return o.EventTypes, true } -// HasEnabled returns a boolean if a field has been set. -func (o *PatchedWritableEventRuleRequest) HasEnabled() bool { - if o != nil && !IsNil(o.Enabled) { +// HasEventTypes returns a boolean if a field has been set. +func (o *PatchedWritableEventRuleRequest) HasEventTypes() bool { + if o != nil && !IsNil(o.EventTypes) { return true } return false } -// SetEnabled gets a reference to the given bool and assigns it to the Enabled field. -func (o *PatchedWritableEventRuleRequest) SetEnabled(v bool) { - o.Enabled = &v +// SetEventTypes gets a reference to the given []EventRuleEventTypesInner and assigns it to the EventTypes field. +func (o *PatchedWritableEventRuleRequest) SetEventTypes(v []EventRuleEventTypesInner) { + o.EventTypes = v } // GetConditions returns the Conditions field value if set, zero value otherwise (both if not set or set to explicit null). @@ -570,24 +434,12 @@ func (o PatchedWritableEventRuleRequest) ToMap() (map[string]interface{}, error) if !IsNil(o.Name) { toSerialize["name"] = o.Name } - if !IsNil(o.TypeCreate) { - toSerialize["type_create"] = o.TypeCreate - } - if !IsNil(o.TypeUpdate) { - toSerialize["type_update"] = o.TypeUpdate - } - if !IsNil(o.TypeDelete) { - toSerialize["type_delete"] = o.TypeDelete - } - if !IsNil(o.TypeJobStart) { - toSerialize["type_job_start"] = o.TypeJobStart - } - if !IsNil(o.TypeJobEnd) { - toSerialize["type_job_end"] = o.TypeJobEnd - } if !IsNil(o.Enabled) { toSerialize["enabled"] = o.Enabled } + if !IsNil(o.EventTypes) { + toSerialize["event_types"] = o.EventTypes + } if o.Conditions != nil { toSerialize["conditions"] = o.Conditions } @@ -633,12 +485,8 @@ func (o *PatchedWritableEventRuleRequest) UnmarshalJSON(data []byte) (err error) if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "object_types") delete(additionalProperties, "name") - delete(additionalProperties, "type_create") - delete(additionalProperties, "type_update") - delete(additionalProperties, "type_delete") - delete(additionalProperties, "type_job_start") - delete(additionalProperties, "type_job_end") delete(additionalProperties, "enabled") + delete(additionalProperties, "event_types") delete(additionalProperties, "conditions") delete(additionalProperties, "action_type") delete(additionalProperties, "action_object_type") diff --git a/model_patched_writable_front_port_request.go b/model_patched_writable_front_port_request.go index 56a5a766f..c9630be04 100644 --- a/model_patched_writable_front_port_request.go +++ b/model_patched_writable_front_port_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,9 +19,9 @@ var _ MappedNullable = &PatchedWritableFrontPortRequest{} // PatchedWritableFrontPortRequest Adds support for custom fields and tags. type PatchedWritableFrontPortRequest struct { - Device *DeviceRequest `json:"device,omitempty"` - Module NullableModuleRequest `json:"module,omitempty"` - Name *string `json:"name,omitempty"` + Device *BriefDeviceRequest `json:"device,omitempty"` + Module NullableBriefModuleRequest `json:"module,omitempty"` + Name *string `json:"name,omitempty"` // Physical label Label *string `json:"label,omitempty"` Type *FrontPortTypeValue `json:"type,omitempty"` @@ -61,9 +61,9 @@ func NewPatchedWritableFrontPortRequestWithDefaults() *PatchedWritableFrontPortR } // GetDevice returns the Device field value if set, zero value otherwise. -func (o *PatchedWritableFrontPortRequest) GetDevice() DeviceRequest { +func (o *PatchedWritableFrontPortRequest) GetDevice() BriefDeviceRequest { if o == nil || IsNil(o.Device) { - var ret DeviceRequest + var ret BriefDeviceRequest return ret } return *o.Device @@ -71,7 +71,7 @@ func (o *PatchedWritableFrontPortRequest) GetDevice() DeviceRequest { // 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 *PatchedWritableFrontPortRequest) GetDeviceOk() (*DeviceRequest, bool) { +func (o *PatchedWritableFrontPortRequest) GetDeviceOk() (*BriefDeviceRequest, bool) { if o == nil || IsNil(o.Device) { return nil, false } @@ -87,15 +87,15 @@ func (o *PatchedWritableFrontPortRequest) HasDevice() bool { return false } -// SetDevice gets a reference to the given DeviceRequest and assigns it to the Device field. -func (o *PatchedWritableFrontPortRequest) SetDevice(v DeviceRequest) { +// SetDevice gets a reference to the given BriefDeviceRequest and assigns it to the Device field. +func (o *PatchedWritableFrontPortRequest) SetDevice(v BriefDeviceRequest) { o.Device = &v } // GetModule returns the Module field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableFrontPortRequest) GetModule() ModuleRequest { +func (o *PatchedWritableFrontPortRequest) GetModule() BriefModuleRequest { if o == nil || IsNil(o.Module.Get()) { - var ret ModuleRequest + var ret BriefModuleRequest return ret } return *o.Module.Get() @@ -104,7 +104,7 @@ func (o *PatchedWritableFrontPortRequest) GetModule() ModuleRequest { // GetModuleOk returns a tuple with the Module 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 *PatchedWritableFrontPortRequest) GetModuleOk() (*ModuleRequest, bool) { +func (o *PatchedWritableFrontPortRequest) GetModuleOk() (*BriefModuleRequest, bool) { if o == nil { return nil, false } @@ -120,8 +120,8 @@ func (o *PatchedWritableFrontPortRequest) HasModule() bool { return false } -// SetModule gets a reference to the given NullableModuleRequest and assigns it to the Module field. -func (o *PatchedWritableFrontPortRequest) SetModule(v ModuleRequest) { +// SetModule gets a reference to the given NullableBriefModuleRequest and assigns it to the Module field. +func (o *PatchedWritableFrontPortRequest) SetModule(v BriefModuleRequest) { o.Module.Set(&v) } diff --git a/model_patched_writable_front_port_template_request.go b/model_patched_writable_front_port_template_request.go index a7e2d7d33..dc204d55f 100644 --- a/model_patched_writable_front_port_template_request.go +++ b/model_patched_writable_front_port_template_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,17 +19,17 @@ var _ MappedNullable = &PatchedWritableFrontPortTemplateRequest{} // PatchedWritableFrontPortTemplateRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 PatchedWritableFrontPortTemplateRequest struct { - DeviceType NullableDeviceTypeRequest `json:"device_type,omitempty"` - ModuleType NullableModuleTypeRequest `json:"module_type,omitempty"` + DeviceType NullableBriefDeviceTypeRequest `json:"device_type,omitempty"` + ModuleType NullableBriefModuleTypeRequest `json:"module_type,omitempty"` // {module} is accepted as a substitution for the module bay position when attached to a module type. Name *string `json:"name,omitempty"` // Physical label - Label *string `json:"label,omitempty"` - Type *FrontPortTypeValue `json:"type,omitempty"` - Color *string `json:"color,omitempty"` - RearPort *RearPortTemplateRequest `json:"rear_port,omitempty"` - RearPortPosition *int32 `json:"rear_port_position,omitempty"` - Description *string `json:"description,omitempty"` + Label *string `json:"label,omitempty"` + Type *FrontPortTypeValue `json:"type,omitempty"` + Color *string `json:"color,omitempty"` + RearPort *BriefRearPortTemplateRequest `json:"rear_port,omitempty"` + RearPortPosition *int32 `json:"rear_port_position,omitempty"` + Description *string `json:"description,omitempty"` AdditionalProperties map[string]interface{} } @@ -57,9 +57,9 @@ func NewPatchedWritableFrontPortTemplateRequestWithDefaults() *PatchedWritableFr } // GetDeviceType returns the DeviceType field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableFrontPortTemplateRequest) GetDeviceType() DeviceTypeRequest { +func (o *PatchedWritableFrontPortTemplateRequest) GetDeviceType() BriefDeviceTypeRequest { if o == nil || IsNil(o.DeviceType.Get()) { - var ret DeviceTypeRequest + var ret BriefDeviceTypeRequest return ret } return *o.DeviceType.Get() @@ -68,7 +68,7 @@ func (o *PatchedWritableFrontPortTemplateRequest) GetDeviceType() DeviceTypeRequ // GetDeviceTypeOk returns a tuple with the DeviceType 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 *PatchedWritableFrontPortTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool) { +func (o *PatchedWritableFrontPortTemplateRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool) { if o == nil { return nil, false } @@ -84,8 +84,8 @@ func (o *PatchedWritableFrontPortTemplateRequest) HasDeviceType() bool { return false } -// SetDeviceType gets a reference to the given NullableDeviceTypeRequest and assigns it to the DeviceType field. -func (o *PatchedWritableFrontPortTemplateRequest) SetDeviceType(v DeviceTypeRequest) { +// SetDeviceType gets a reference to the given NullableBriefDeviceTypeRequest and assigns it to the DeviceType field. +func (o *PatchedWritableFrontPortTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest) { o.DeviceType.Set(&v) } @@ -100,9 +100,9 @@ func (o *PatchedWritableFrontPortTemplateRequest) UnsetDeviceType() { } // GetModuleType returns the ModuleType field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableFrontPortTemplateRequest) GetModuleType() ModuleTypeRequest { +func (o *PatchedWritableFrontPortTemplateRequest) GetModuleType() BriefModuleTypeRequest { if o == nil || IsNil(o.ModuleType.Get()) { - var ret ModuleTypeRequest + var ret BriefModuleTypeRequest return ret } return *o.ModuleType.Get() @@ -111,7 +111,7 @@ func (o *PatchedWritableFrontPortTemplateRequest) GetModuleType() ModuleTypeRequ // GetModuleTypeOk returns a tuple with the ModuleType 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 *PatchedWritableFrontPortTemplateRequest) GetModuleTypeOk() (*ModuleTypeRequest, bool) { +func (o *PatchedWritableFrontPortTemplateRequest) GetModuleTypeOk() (*BriefModuleTypeRequest, bool) { if o == nil { return nil, false } @@ -127,8 +127,8 @@ func (o *PatchedWritableFrontPortTemplateRequest) HasModuleType() bool { return false } -// SetModuleType gets a reference to the given NullableModuleTypeRequest and assigns it to the ModuleType field. -func (o *PatchedWritableFrontPortTemplateRequest) SetModuleType(v ModuleTypeRequest) { +// SetModuleType gets a reference to the given NullableBriefModuleTypeRequest and assigns it to the ModuleType field. +func (o *PatchedWritableFrontPortTemplateRequest) SetModuleType(v BriefModuleTypeRequest) { o.ModuleType.Set(&v) } @@ -271,9 +271,9 @@ func (o *PatchedWritableFrontPortTemplateRequest) SetColor(v string) { } // GetRearPort returns the RearPort field value if set, zero value otherwise. -func (o *PatchedWritableFrontPortTemplateRequest) GetRearPort() RearPortTemplateRequest { +func (o *PatchedWritableFrontPortTemplateRequest) GetRearPort() BriefRearPortTemplateRequest { if o == nil || IsNil(o.RearPort) { - var ret RearPortTemplateRequest + var ret BriefRearPortTemplateRequest return ret } return *o.RearPort @@ -281,7 +281,7 @@ func (o *PatchedWritableFrontPortTemplateRequest) GetRearPort() RearPortTemplate // GetRearPortOk returns a tuple with the RearPort field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedWritableFrontPortTemplateRequest) GetRearPortOk() (*RearPortTemplateRequest, bool) { +func (o *PatchedWritableFrontPortTemplateRequest) GetRearPortOk() (*BriefRearPortTemplateRequest, bool) { if o == nil || IsNil(o.RearPort) { return nil, false } @@ -297,8 +297,8 @@ func (o *PatchedWritableFrontPortTemplateRequest) HasRearPort() bool { return false } -// SetRearPort gets a reference to the given RearPortTemplateRequest and assigns it to the RearPort field. -func (o *PatchedWritableFrontPortTemplateRequest) SetRearPort(v RearPortTemplateRequest) { +// SetRearPort gets a reference to the given BriefRearPortTemplateRequest and assigns it to the RearPort field. +func (o *PatchedWritableFrontPortTemplateRequest) SetRearPort(v BriefRearPortTemplateRequest) { o.RearPort = &v } diff --git a/model_patched_writable_ike_policy_request.go b/model_patched_writable_ike_policy_request.go index 58f359b1e..99d4ed49b 100644 --- a/model_patched_writable_ike_policy_request.go +++ b/model_patched_writable_ike_policy_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_writable_ike_policy_request_mode.go b/model_patched_writable_ike_policy_request_mode.go index 16fbd5659..6a549383f 100644 --- a/model_patched_writable_ike_policy_request_mode.go +++ b/model_patched_writable_ike_policy_request_mode.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_writable_ike_policy_request_version.go b/model_patched_writable_ike_policy_request_version.go index 2a6c5849c..0016940a7 100644 --- a/model_patched_writable_ike_policy_request_version.go +++ b/model_patched_writable_ike_policy_request_version.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_writable_ike_proposal_request.go b/model_patched_writable_ike_proposal_request.go index 6de0b3f45..b49151a10 100644 --- a/model_patched_writable_ike_proposal_request.go +++ b/model_patched_writable_ike_proposal_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_writable_ike_proposal_request_authentication_algorithm.go b/model_patched_writable_ike_proposal_request_authentication_algorithm.go index 98ac12303..35963ad46 100644 --- a/model_patched_writable_ike_proposal_request_authentication_algorithm.go +++ b/model_patched_writable_ike_proposal_request_authentication_algorithm.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_writable_ike_proposal_request_group.go b/model_patched_writable_ike_proposal_request_group.go index 89cee3081..679117849 100644 --- a/model_patched_writable_ike_proposal_request_group.go +++ b/model_patched_writable_ike_proposal_request_group.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_writable_interface_request.go b/model_patched_writable_interface_request.go index 16c8c59a0..1a539cc05 100644 --- a/model_patched_writable_interface_request.go +++ b/model_patched_writable_interface_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,10 +19,10 @@ var _ MappedNullable = &PatchedWritableInterfaceRequest{} // PatchedWritableInterfaceRequest Adds support for custom fields and tags. type PatchedWritableInterfaceRequest struct { - Device *DeviceRequest `json:"device,omitempty"` - Vdcs []int32 `json:"vdcs,omitempty"` - Module NullableModuleRequest `json:"module,omitempty"` - Name *string `json:"name,omitempty"` + Device *BriefDeviceRequest `json:"device,omitempty"` + Vdcs []int32 `json:"vdcs,omitempty"` + Module NullableBriefModuleRequest `json:"module,omitempty"` + Name *string `json:"name,omitempty"` // Physical label Label *string `json:"label,omitempty"` Type *InterfaceTypeValue `json:"type,omitempty"` @@ -39,23 +39,23 @@ type PatchedWritableInterfaceRequest struct { MgmtOnly *bool `json:"mgmt_only,omitempty"` Description *string `json:"description,omitempty"` Mode *PatchedWritableInterfaceRequestMode `json:"mode,omitempty"` - RfRole *WirelessRole `json:"rf_role,omitempty"` - RfChannel *WirelessChannel `json:"rf_channel,omitempty"` + RfRole *WirelessRole1 `json:"rf_role,omitempty"` + RfChannel *WirelessChannel1 `json:"rf_channel,omitempty"` PoeMode *InterfacePoeModeValue `json:"poe_mode,omitempty"` PoeType *InterfacePoeTypeValue `json:"poe_type,omitempty"` // Populated by selected channel (if set) RfChannelFrequency NullableFloat64 `json:"rf_channel_frequency,omitempty"` // Populated by selected channel (if set) - RfChannelWidth NullableFloat64 `json:"rf_channel_width,omitempty"` - TxPower NullableInt32 `json:"tx_power,omitempty"` - UntaggedVlan NullableVLANRequest `json:"untagged_vlan,omitempty"` - TaggedVlans []int32 `json:"tagged_vlans,omitempty"` + RfChannelWidth NullableFloat64 `json:"rf_channel_width,omitempty"` + TxPower NullableInt32 `json:"tx_power,omitempty"` + UntaggedVlan NullableBriefVLANRequest `json:"untagged_vlan,omitempty"` + TaggedVlans []int32 `json:"tagged_vlans,omitempty"` // Treat as if a cable is connected - MarkConnected *bool `json:"mark_connected,omitempty"` - WirelessLans []int32 `json:"wireless_lans,omitempty"` - Vrf NullableVRFRequest `json:"vrf,omitempty"` - Tags []NestedTagRequest `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + MarkConnected *bool `json:"mark_connected,omitempty"` + WirelessLans []int32 `json:"wireless_lans,omitempty"` + Vrf NullableBriefVRFRequest `json:"vrf,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -79,9 +79,9 @@ func NewPatchedWritableInterfaceRequestWithDefaults() *PatchedWritableInterfaceR } // GetDevice returns the Device field value if set, zero value otherwise. -func (o *PatchedWritableInterfaceRequest) GetDevice() DeviceRequest { +func (o *PatchedWritableInterfaceRequest) GetDevice() BriefDeviceRequest { if o == nil || IsNil(o.Device) { - var ret DeviceRequest + var ret BriefDeviceRequest return ret } return *o.Device @@ -89,7 +89,7 @@ func (o *PatchedWritableInterfaceRequest) GetDevice() DeviceRequest { // 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 *PatchedWritableInterfaceRequest) GetDeviceOk() (*DeviceRequest, bool) { +func (o *PatchedWritableInterfaceRequest) GetDeviceOk() (*BriefDeviceRequest, bool) { if o == nil || IsNil(o.Device) { return nil, false } @@ -105,8 +105,8 @@ func (o *PatchedWritableInterfaceRequest) HasDevice() bool { return false } -// SetDevice gets a reference to the given DeviceRequest and assigns it to the Device field. -func (o *PatchedWritableInterfaceRequest) SetDevice(v DeviceRequest) { +// SetDevice gets a reference to the given BriefDeviceRequest and assigns it to the Device field. +func (o *PatchedWritableInterfaceRequest) SetDevice(v BriefDeviceRequest) { o.Device = &v } @@ -143,9 +143,9 @@ func (o *PatchedWritableInterfaceRequest) SetVdcs(v []int32) { } // GetModule returns the Module field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableInterfaceRequest) GetModule() ModuleRequest { +func (o *PatchedWritableInterfaceRequest) GetModule() BriefModuleRequest { if o == nil || IsNil(o.Module.Get()) { - var ret ModuleRequest + var ret BriefModuleRequest return ret } return *o.Module.Get() @@ -154,7 +154,7 @@ func (o *PatchedWritableInterfaceRequest) GetModule() ModuleRequest { // GetModuleOk returns a tuple with the Module 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 *PatchedWritableInterfaceRequest) GetModuleOk() (*ModuleRequest, bool) { +func (o *PatchedWritableInterfaceRequest) GetModuleOk() (*BriefModuleRequest, bool) { if o == nil { return nil, false } @@ -170,8 +170,8 @@ func (o *PatchedWritableInterfaceRequest) HasModule() bool { return false } -// SetModule gets a reference to the given NullableModuleRequest and assigns it to the Module field. -func (o *PatchedWritableInterfaceRequest) SetModule(v ModuleRequest) { +// SetModule gets a reference to the given NullableBriefModuleRequest and assigns it to the Module field. +func (o *PatchedWritableInterfaceRequest) SetModule(v BriefModuleRequest) { o.Module.Set(&v) } @@ -754,9 +754,9 @@ func (o *PatchedWritableInterfaceRequest) SetMode(v PatchedWritableInterfaceRequ } // GetRfRole returns the RfRole field value if set, zero value otherwise. -func (o *PatchedWritableInterfaceRequest) GetRfRole() WirelessRole { +func (o *PatchedWritableInterfaceRequest) GetRfRole() WirelessRole1 { if o == nil || IsNil(o.RfRole) { - var ret WirelessRole + var ret WirelessRole1 return ret } return *o.RfRole @@ -764,7 +764,7 @@ func (o *PatchedWritableInterfaceRequest) GetRfRole() WirelessRole { // GetRfRoleOk returns a tuple with the RfRole field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedWritableInterfaceRequest) GetRfRoleOk() (*WirelessRole, bool) { +func (o *PatchedWritableInterfaceRequest) GetRfRoleOk() (*WirelessRole1, bool) { if o == nil || IsNil(o.RfRole) { return nil, false } @@ -780,15 +780,15 @@ func (o *PatchedWritableInterfaceRequest) HasRfRole() bool { return false } -// SetRfRole gets a reference to the given WirelessRole and assigns it to the RfRole field. -func (o *PatchedWritableInterfaceRequest) SetRfRole(v WirelessRole) { +// SetRfRole gets a reference to the given WirelessRole1 and assigns it to the RfRole field. +func (o *PatchedWritableInterfaceRequest) SetRfRole(v WirelessRole1) { o.RfRole = &v } // GetRfChannel returns the RfChannel field value if set, zero value otherwise. -func (o *PatchedWritableInterfaceRequest) GetRfChannel() WirelessChannel { +func (o *PatchedWritableInterfaceRequest) GetRfChannel() WirelessChannel1 { if o == nil || IsNil(o.RfChannel) { - var ret WirelessChannel + var ret WirelessChannel1 return ret } return *o.RfChannel @@ -796,7 +796,7 @@ func (o *PatchedWritableInterfaceRequest) GetRfChannel() WirelessChannel { // GetRfChannelOk returns a tuple with the RfChannel field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedWritableInterfaceRequest) GetRfChannelOk() (*WirelessChannel, bool) { +func (o *PatchedWritableInterfaceRequest) GetRfChannelOk() (*WirelessChannel1, bool) { if o == nil || IsNil(o.RfChannel) { return nil, false } @@ -812,8 +812,8 @@ func (o *PatchedWritableInterfaceRequest) HasRfChannel() bool { return false } -// SetRfChannel gets a reference to the given WirelessChannel and assigns it to the RfChannel field. -func (o *PatchedWritableInterfaceRequest) SetRfChannel(v WirelessChannel) { +// SetRfChannel gets a reference to the given WirelessChannel1 and assigns it to the RfChannel field. +func (o *PatchedWritableInterfaceRequest) SetRfChannel(v WirelessChannel1) { o.RfChannel = &v } @@ -1011,9 +1011,9 @@ func (o *PatchedWritableInterfaceRequest) UnsetTxPower() { } // GetUntaggedVlan returns the UntaggedVlan field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableInterfaceRequest) GetUntaggedVlan() VLANRequest { +func (o *PatchedWritableInterfaceRequest) GetUntaggedVlan() BriefVLANRequest { if o == nil || IsNil(o.UntaggedVlan.Get()) { - var ret VLANRequest + var ret BriefVLANRequest return ret } return *o.UntaggedVlan.Get() @@ -1022,7 +1022,7 @@ func (o *PatchedWritableInterfaceRequest) GetUntaggedVlan() VLANRequest { // GetUntaggedVlanOk returns a tuple with the UntaggedVlan 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 *PatchedWritableInterfaceRequest) GetUntaggedVlanOk() (*VLANRequest, bool) { +func (o *PatchedWritableInterfaceRequest) GetUntaggedVlanOk() (*BriefVLANRequest, bool) { if o == nil { return nil, false } @@ -1038,8 +1038,8 @@ func (o *PatchedWritableInterfaceRequest) HasUntaggedVlan() bool { return false } -// SetUntaggedVlan gets a reference to the given NullableVLANRequest and assigns it to the UntaggedVlan field. -func (o *PatchedWritableInterfaceRequest) SetUntaggedVlan(v VLANRequest) { +// SetUntaggedVlan gets a reference to the given NullableBriefVLANRequest and assigns it to the UntaggedVlan field. +func (o *PatchedWritableInterfaceRequest) SetUntaggedVlan(v BriefVLANRequest) { o.UntaggedVlan.Set(&v) } @@ -1150,9 +1150,9 @@ func (o *PatchedWritableInterfaceRequest) SetWirelessLans(v []int32) { } // GetVrf returns the Vrf field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableInterfaceRequest) GetVrf() VRFRequest { +func (o *PatchedWritableInterfaceRequest) GetVrf() BriefVRFRequest { if o == nil || IsNil(o.Vrf.Get()) { - var ret VRFRequest + var ret BriefVRFRequest return ret } return *o.Vrf.Get() @@ -1161,7 +1161,7 @@ func (o *PatchedWritableInterfaceRequest) GetVrf() VRFRequest { // GetVrfOk returns a tuple with the Vrf 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 *PatchedWritableInterfaceRequest) GetVrfOk() (*VRFRequest, bool) { +func (o *PatchedWritableInterfaceRequest) GetVrfOk() (*BriefVRFRequest, bool) { if o == nil { return nil, false } @@ -1177,8 +1177,8 @@ func (o *PatchedWritableInterfaceRequest) HasVrf() bool { return false } -// SetVrf gets a reference to the given NullableVRFRequest and assigns it to the Vrf field. -func (o *PatchedWritableInterfaceRequest) SetVrf(v VRFRequest) { +// SetVrf gets a reference to the given NullableBriefVRFRequest and assigns it to the Vrf field. +func (o *PatchedWritableInterfaceRequest) SetVrf(v BriefVRFRequest) { o.Vrf.Set(&v) } diff --git a/model_patched_writable_interface_request_mode.go b/model_patched_writable_interface_request_mode.go index 8417725be..a5840bee5 100644 --- a/model_patched_writable_interface_request_mode.go +++ b/model_patched_writable_interface_request_mode.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_writable_interface_template_request.go b/model_patched_writable_interface_template_request.go index f88d3d205..9f2db9c4a 100644 --- a/model_patched_writable_interface_template_request.go +++ b/model_patched_writable_interface_template_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,8 +19,8 @@ var _ MappedNullable = &PatchedWritableInterfaceTemplateRequest{} // PatchedWritableInterfaceTemplateRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 PatchedWritableInterfaceTemplateRequest struct { - DeviceType NullableDeviceTypeRequest `json:"device_type,omitempty"` - ModuleType NullableModuleTypeRequest `json:"module_type,omitempty"` + DeviceType NullableBriefDeviceTypeRequest `json:"device_type,omitempty"` + ModuleType NullableBriefModuleTypeRequest `json:"module_type,omitempty"` // {module} is accepted as a substitution for the module bay position when attached to a module type. Name *string `json:"name,omitempty"` // Physical label @@ -32,7 +32,7 @@ type PatchedWritableInterfaceTemplateRequest struct { Bridge NullableInt32 `json:"bridge,omitempty"` PoeMode *InterfacePoeModeValue `json:"poe_mode,omitempty"` PoeType *InterfacePoeTypeValue `json:"poe_type,omitempty"` - RfRole *WirelessRole `json:"rf_role,omitempty"` + RfRole *WirelessRole1 `json:"rf_role,omitempty"` AdditionalProperties map[string]interface{} } @@ -56,9 +56,9 @@ func NewPatchedWritableInterfaceTemplateRequestWithDefaults() *PatchedWritableIn } // GetDeviceType returns the DeviceType field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableInterfaceTemplateRequest) GetDeviceType() DeviceTypeRequest { +func (o *PatchedWritableInterfaceTemplateRequest) GetDeviceType() BriefDeviceTypeRequest { if o == nil || IsNil(o.DeviceType.Get()) { - var ret DeviceTypeRequest + var ret BriefDeviceTypeRequest return ret } return *o.DeviceType.Get() @@ -67,7 +67,7 @@ func (o *PatchedWritableInterfaceTemplateRequest) GetDeviceType() DeviceTypeRequ // GetDeviceTypeOk returns a tuple with the DeviceType 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 *PatchedWritableInterfaceTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool) { +func (o *PatchedWritableInterfaceTemplateRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool) { if o == nil { return nil, false } @@ -83,8 +83,8 @@ func (o *PatchedWritableInterfaceTemplateRequest) HasDeviceType() bool { return false } -// SetDeviceType gets a reference to the given NullableDeviceTypeRequest and assigns it to the DeviceType field. -func (o *PatchedWritableInterfaceTemplateRequest) SetDeviceType(v DeviceTypeRequest) { +// SetDeviceType gets a reference to the given NullableBriefDeviceTypeRequest and assigns it to the DeviceType field. +func (o *PatchedWritableInterfaceTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest) { o.DeviceType.Set(&v) } @@ -99,9 +99,9 @@ func (o *PatchedWritableInterfaceTemplateRequest) UnsetDeviceType() { } // GetModuleType returns the ModuleType field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableInterfaceTemplateRequest) GetModuleType() ModuleTypeRequest { +func (o *PatchedWritableInterfaceTemplateRequest) GetModuleType() BriefModuleTypeRequest { if o == nil || IsNil(o.ModuleType.Get()) { - var ret ModuleTypeRequest + var ret BriefModuleTypeRequest return ret } return *o.ModuleType.Get() @@ -110,7 +110,7 @@ func (o *PatchedWritableInterfaceTemplateRequest) GetModuleType() ModuleTypeRequ // GetModuleTypeOk returns a tuple with the ModuleType 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 *PatchedWritableInterfaceTemplateRequest) GetModuleTypeOk() (*ModuleTypeRequest, bool) { +func (o *PatchedWritableInterfaceTemplateRequest) GetModuleTypeOk() (*BriefModuleTypeRequest, bool) { if o == nil { return nil, false } @@ -126,8 +126,8 @@ func (o *PatchedWritableInterfaceTemplateRequest) HasModuleType() bool { return false } -// SetModuleType gets a reference to the given NullableModuleTypeRequest and assigns it to the ModuleType field. -func (o *PatchedWritableInterfaceTemplateRequest) SetModuleType(v ModuleTypeRequest) { +// SetModuleType gets a reference to the given NullableBriefModuleTypeRequest and assigns it to the ModuleType field. +func (o *PatchedWritableInterfaceTemplateRequest) SetModuleType(v BriefModuleTypeRequest) { o.ModuleType.Set(&v) } @@ -441,9 +441,9 @@ func (o *PatchedWritableInterfaceTemplateRequest) SetPoeType(v InterfacePoeTypeV } // GetRfRole returns the RfRole field value if set, zero value otherwise. -func (o *PatchedWritableInterfaceTemplateRequest) GetRfRole() WirelessRole { +func (o *PatchedWritableInterfaceTemplateRequest) GetRfRole() WirelessRole1 { if o == nil || IsNil(o.RfRole) { - var ret WirelessRole + var ret WirelessRole1 return ret } return *o.RfRole @@ -451,7 +451,7 @@ func (o *PatchedWritableInterfaceTemplateRequest) GetRfRole() WirelessRole { // GetRfRoleOk returns a tuple with the RfRole field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedWritableInterfaceTemplateRequest) GetRfRoleOk() (*WirelessRole, bool) { +func (o *PatchedWritableInterfaceTemplateRequest) GetRfRoleOk() (*WirelessRole1, bool) { if o == nil || IsNil(o.RfRole) { return nil, false } @@ -467,8 +467,8 @@ func (o *PatchedWritableInterfaceTemplateRequest) HasRfRole() bool { return false } -// SetRfRole gets a reference to the given WirelessRole and assigns it to the RfRole field. -func (o *PatchedWritableInterfaceTemplateRequest) SetRfRole(v WirelessRole) { +// SetRfRole gets a reference to the given WirelessRole1 and assigns it to the RfRole field. +func (o *PatchedWritableInterfaceTemplateRequest) SetRfRole(v WirelessRole1) { o.RfRole = &v } diff --git a/model_patched_writable_ip_address_request.go b/model_patched_writable_ip_address_request.go index 8aced88b8..80a8620fc 100644 --- a/model_patched_writable_ip_address_request.go +++ b/model_patched_writable_ip_address_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,8 +20,8 @@ var _ MappedNullable = &PatchedWritableIPAddressRequest{} // PatchedWritableIPAddressRequest Adds support for custom fields and tags. type PatchedWritableIPAddressRequest struct { Address *string `json:"address,omitempty"` - Vrf NullableVRFRequest `json:"vrf,omitempty"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` + Vrf NullableBriefVRFRequest `json:"vrf,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` Status *PatchedWritableIPAddressRequestStatus `json:"status,omitempty"` Role *PatchedWritableIPAddressRequestRole `json:"role,omitempty"` AssignedObjectType NullableString `json:"assigned_object_type,omitempty"` @@ -89,9 +89,9 @@ func (o *PatchedWritableIPAddressRequest) SetAddress(v string) { } // GetVrf returns the Vrf field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableIPAddressRequest) GetVrf() VRFRequest { +func (o *PatchedWritableIPAddressRequest) GetVrf() BriefVRFRequest { if o == nil || IsNil(o.Vrf.Get()) { - var ret VRFRequest + var ret BriefVRFRequest return ret } return *o.Vrf.Get() @@ -100,7 +100,7 @@ func (o *PatchedWritableIPAddressRequest) GetVrf() VRFRequest { // GetVrfOk returns a tuple with the Vrf 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 *PatchedWritableIPAddressRequest) GetVrfOk() (*VRFRequest, bool) { +func (o *PatchedWritableIPAddressRequest) GetVrfOk() (*BriefVRFRequest, bool) { if o == nil { return nil, false } @@ -116,8 +116,8 @@ func (o *PatchedWritableIPAddressRequest) HasVrf() bool { return false } -// SetVrf gets a reference to the given NullableVRFRequest and assigns it to the Vrf field. -func (o *PatchedWritableIPAddressRequest) SetVrf(v VRFRequest) { +// SetVrf gets a reference to the given NullableBriefVRFRequest and assigns it to the Vrf field. +func (o *PatchedWritableIPAddressRequest) SetVrf(v BriefVRFRequest) { o.Vrf.Set(&v) } @@ -132,9 +132,9 @@ func (o *PatchedWritableIPAddressRequest) UnsetVrf() { } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableIPAddressRequest) GetTenant() TenantRequest { +func (o *PatchedWritableIPAddressRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -143,7 +143,7 @@ func (o *PatchedWritableIPAddressRequest) GetTenant() TenantRequest { // 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 *PatchedWritableIPAddressRequest) GetTenantOk() (*TenantRequest, bool) { +func (o *PatchedWritableIPAddressRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -159,8 +159,8 @@ func (o *PatchedWritableIPAddressRequest) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *PatchedWritableIPAddressRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *PatchedWritableIPAddressRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } diff --git a/model_patched_writable_ip_address_request_role.go b/model_patched_writable_ip_address_request_role.go index c50d40236..bf1a670a9 100644 --- a/model_patched_writable_ip_address_request_role.go +++ b/model_patched_writable_ip_address_request_role.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_writable_ip_address_request_status.go b/model_patched_writable_ip_address_request_status.go index aa05d1c78..b16b12f93 100644 --- a/model_patched_writable_ip_address_request_status.go +++ b/model_patched_writable_ip_address_request_status.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_writable_ip_range_request.go b/model_patched_writable_ip_range_request.go index 3ae8f8a3b..83c2706a3 100644 --- a/model_patched_writable_ip_range_request.go +++ b/model_patched_writable_ip_range_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,10 +21,10 @@ var _ MappedNullable = &PatchedWritableIPRangeRequest{} type PatchedWritableIPRangeRequest struct { StartAddress *string `json:"start_address,omitempty"` EndAddress *string `json:"end_address,omitempty"` - Vrf NullableVRFRequest `json:"vrf,omitempty"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` + Vrf NullableBriefVRFRequest `json:"vrf,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` Status *PatchedWritableIPRangeRequestStatus `json:"status,omitempty"` - Role NullableRoleRequest `json:"role,omitempty"` + Role NullableBriefRoleRequest `json:"role,omitempty"` Description *string `json:"description,omitempty"` Comments *string `json:"comments,omitempty"` Tags []NestedTagRequest `json:"tags,omitempty"` @@ -118,9 +118,9 @@ func (o *PatchedWritableIPRangeRequest) SetEndAddress(v string) { } // GetVrf returns the Vrf field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableIPRangeRequest) GetVrf() VRFRequest { +func (o *PatchedWritableIPRangeRequest) GetVrf() BriefVRFRequest { if o == nil || IsNil(o.Vrf.Get()) { - var ret VRFRequest + var ret BriefVRFRequest return ret } return *o.Vrf.Get() @@ -129,7 +129,7 @@ func (o *PatchedWritableIPRangeRequest) GetVrf() VRFRequest { // GetVrfOk returns a tuple with the Vrf 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 *PatchedWritableIPRangeRequest) GetVrfOk() (*VRFRequest, bool) { +func (o *PatchedWritableIPRangeRequest) GetVrfOk() (*BriefVRFRequest, bool) { if o == nil { return nil, false } @@ -145,8 +145,8 @@ func (o *PatchedWritableIPRangeRequest) HasVrf() bool { return false } -// SetVrf gets a reference to the given NullableVRFRequest and assigns it to the Vrf field. -func (o *PatchedWritableIPRangeRequest) SetVrf(v VRFRequest) { +// SetVrf gets a reference to the given NullableBriefVRFRequest and assigns it to the Vrf field. +func (o *PatchedWritableIPRangeRequest) SetVrf(v BriefVRFRequest) { o.Vrf.Set(&v) } @@ -161,9 +161,9 @@ func (o *PatchedWritableIPRangeRequest) UnsetVrf() { } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableIPRangeRequest) GetTenant() TenantRequest { +func (o *PatchedWritableIPRangeRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -172,7 +172,7 @@ func (o *PatchedWritableIPRangeRequest) GetTenant() TenantRequest { // 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 *PatchedWritableIPRangeRequest) GetTenantOk() (*TenantRequest, bool) { +func (o *PatchedWritableIPRangeRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -188,8 +188,8 @@ func (o *PatchedWritableIPRangeRequest) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *PatchedWritableIPRangeRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *PatchedWritableIPRangeRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } @@ -236,9 +236,9 @@ func (o *PatchedWritableIPRangeRequest) SetStatus(v PatchedWritableIPRangeReques } // GetRole returns the Role field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableIPRangeRequest) GetRole() RoleRequest { +func (o *PatchedWritableIPRangeRequest) GetRole() BriefRoleRequest { if o == nil || IsNil(o.Role.Get()) { - var ret RoleRequest + var ret BriefRoleRequest return ret } return *o.Role.Get() @@ -247,7 +247,7 @@ func (o *PatchedWritableIPRangeRequest) GetRole() RoleRequest { // 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 *PatchedWritableIPRangeRequest) GetRoleOk() (*RoleRequest, bool) { +func (o *PatchedWritableIPRangeRequest) GetRoleOk() (*BriefRoleRequest, bool) { if o == nil { return nil, false } @@ -263,8 +263,8 @@ func (o *PatchedWritableIPRangeRequest) HasRole() bool { return false } -// SetRole gets a reference to the given NullableRoleRequest and assigns it to the Role field. -func (o *PatchedWritableIPRangeRequest) SetRole(v RoleRequest) { +// SetRole gets a reference to the given NullableBriefRoleRequest and assigns it to the Role field. +func (o *PatchedWritableIPRangeRequest) SetRole(v BriefRoleRequest) { o.Role.Set(&v) } diff --git a/model_patched_writable_ip_range_request_status.go b/model_patched_writable_ip_range_request_status.go index c5cdba089..ef7c06e77 100644 --- a/model_patched_writable_ip_range_request_status.go +++ b/model_patched_writable_ip_range_request_status.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_writable_ip_sec_policy_request.go b/model_patched_writable_ip_sec_policy_request.go index 6c4c674f7..a889f2885 100644 --- a/model_patched_writable_ip_sec_policy_request.go +++ b/model_patched_writable_ip_sec_policy_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_writable_ip_sec_policy_request_pfs_group.go b/model_patched_writable_ip_sec_policy_request_pfs_group.go index 8b81531d6..91186be6e 100644 --- a/model_patched_writable_ip_sec_policy_request_pfs_group.go +++ b/model_patched_writable_ip_sec_policy_request_pfs_group.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_writable_ip_sec_profile_request.go b/model_patched_writable_ip_sec_profile_request.go index 1c0acccc0..53d759971 100644 --- a/model_patched_writable_ip_sec_profile_request.go +++ b/model_patched_writable_ip_sec_profile_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,14 +19,14 @@ var _ MappedNullable = &PatchedWritableIPSecProfileRequest{} // PatchedWritableIPSecProfileRequest Adds support for custom fields and tags. type PatchedWritableIPSecProfileRequest struct { - Name *string `json:"name,omitempty"` - Description *string `json:"description,omitempty"` - Mode *IPSecProfileModeValue `json:"mode,omitempty"` - IkePolicy *IKEPolicyRequest `json:"ike_policy,omitempty"` - IpsecPolicy *IPSecPolicyRequest `json:"ipsec_policy,omitempty"` - Comments *string `json:"comments,omitempty"` - Tags []NestedTagRequest `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Name *string `json:"name,omitempty"` + Description *string `json:"description,omitempty"` + Mode *IPSecProfileModeValue `json:"mode,omitempty"` + IkePolicy *BriefIKEPolicyRequest `json:"ike_policy,omitempty"` + IpsecPolicy *BriefIPSecPolicyRequest `json:"ipsec_policy,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -146,9 +146,9 @@ func (o *PatchedWritableIPSecProfileRequest) SetMode(v IPSecProfileModeValue) { } // GetIkePolicy returns the IkePolicy field value if set, zero value otherwise. -func (o *PatchedWritableIPSecProfileRequest) GetIkePolicy() IKEPolicyRequest { +func (o *PatchedWritableIPSecProfileRequest) GetIkePolicy() BriefIKEPolicyRequest { if o == nil || IsNil(o.IkePolicy) { - var ret IKEPolicyRequest + var ret BriefIKEPolicyRequest return ret } return *o.IkePolicy @@ -156,7 +156,7 @@ func (o *PatchedWritableIPSecProfileRequest) GetIkePolicy() IKEPolicyRequest { // GetIkePolicyOk returns a tuple with the IkePolicy field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedWritableIPSecProfileRequest) GetIkePolicyOk() (*IKEPolicyRequest, bool) { +func (o *PatchedWritableIPSecProfileRequest) GetIkePolicyOk() (*BriefIKEPolicyRequest, bool) { if o == nil || IsNil(o.IkePolicy) { return nil, false } @@ -172,15 +172,15 @@ func (o *PatchedWritableIPSecProfileRequest) HasIkePolicy() bool { return false } -// SetIkePolicy gets a reference to the given IKEPolicyRequest and assigns it to the IkePolicy field. -func (o *PatchedWritableIPSecProfileRequest) SetIkePolicy(v IKEPolicyRequest) { +// SetIkePolicy gets a reference to the given BriefIKEPolicyRequest and assigns it to the IkePolicy field. +func (o *PatchedWritableIPSecProfileRequest) SetIkePolicy(v BriefIKEPolicyRequest) { o.IkePolicy = &v } // GetIpsecPolicy returns the IpsecPolicy field value if set, zero value otherwise. -func (o *PatchedWritableIPSecProfileRequest) GetIpsecPolicy() IPSecPolicyRequest { +func (o *PatchedWritableIPSecProfileRequest) GetIpsecPolicy() BriefIPSecPolicyRequest { if o == nil || IsNil(o.IpsecPolicy) { - var ret IPSecPolicyRequest + var ret BriefIPSecPolicyRequest return ret } return *o.IpsecPolicy @@ -188,7 +188,7 @@ func (o *PatchedWritableIPSecProfileRequest) GetIpsecPolicy() IPSecPolicyRequest // GetIpsecPolicyOk returns a tuple with the IpsecPolicy field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedWritableIPSecProfileRequest) GetIpsecPolicyOk() (*IPSecPolicyRequest, bool) { +func (o *PatchedWritableIPSecProfileRequest) GetIpsecPolicyOk() (*BriefIPSecPolicyRequest, bool) { if o == nil || IsNil(o.IpsecPolicy) { return nil, false } @@ -204,8 +204,8 @@ func (o *PatchedWritableIPSecProfileRequest) HasIpsecPolicy() bool { return false } -// SetIpsecPolicy gets a reference to the given IPSecPolicyRequest and assigns it to the IpsecPolicy field. -func (o *PatchedWritableIPSecProfileRequest) SetIpsecPolicy(v IPSecPolicyRequest) { +// SetIpsecPolicy gets a reference to the given BriefIPSecPolicyRequest and assigns it to the IpsecPolicy field. +func (o *PatchedWritableIPSecProfileRequest) SetIpsecPolicy(v BriefIPSecPolicyRequest) { o.IpsecPolicy = &v } diff --git a/model_patched_writable_ip_sec_proposal_request.go b/model_patched_writable_ip_sec_proposal_request.go index b79dc65d8..23c0a0801 100644 --- a/model_patched_writable_ip_sec_proposal_request.go +++ b/model_patched_writable_ip_sec_proposal_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,10 +19,10 @@ var _ MappedNullable = &PatchedWritableIPSecProposalRequest{} // PatchedWritableIPSecProposalRequest Adds support for custom fields and tags. type PatchedWritableIPSecProposalRequest struct { - Name *string `json:"name,omitempty"` - Description *string `json:"description,omitempty"` - EncryptionAlgorithm *Encryption `json:"encryption_algorithm,omitempty"` - AuthenticationAlgorithm *Authentication `json:"authentication_algorithm,omitempty"` + Name *string `json:"name,omitempty"` + Description *string `json:"description,omitempty"` + EncryptionAlgorithm *Encryption1 `json:"encryption_algorithm,omitempty"` + AuthenticationAlgorithm *Authentication1 `json:"authentication_algorithm,omitempty"` // Security association lifetime (seconds) SaLifetimeSeconds NullableInt32 `json:"sa_lifetime_seconds,omitempty"` // Security association lifetime (in kilobytes) @@ -117,9 +117,9 @@ func (o *PatchedWritableIPSecProposalRequest) SetDescription(v string) { } // GetEncryptionAlgorithm returns the EncryptionAlgorithm field value if set, zero value otherwise. -func (o *PatchedWritableIPSecProposalRequest) GetEncryptionAlgorithm() Encryption { +func (o *PatchedWritableIPSecProposalRequest) GetEncryptionAlgorithm() Encryption1 { if o == nil || IsNil(o.EncryptionAlgorithm) { - var ret Encryption + var ret Encryption1 return ret } return *o.EncryptionAlgorithm @@ -127,7 +127,7 @@ func (o *PatchedWritableIPSecProposalRequest) GetEncryptionAlgorithm() Encryptio // GetEncryptionAlgorithmOk returns a tuple with the EncryptionAlgorithm field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedWritableIPSecProposalRequest) GetEncryptionAlgorithmOk() (*Encryption, bool) { +func (o *PatchedWritableIPSecProposalRequest) GetEncryptionAlgorithmOk() (*Encryption1, bool) { if o == nil || IsNil(o.EncryptionAlgorithm) { return nil, false } @@ -143,15 +143,15 @@ func (o *PatchedWritableIPSecProposalRequest) HasEncryptionAlgorithm() bool { return false } -// SetEncryptionAlgorithm gets a reference to the given Encryption and assigns it to the EncryptionAlgorithm field. -func (o *PatchedWritableIPSecProposalRequest) SetEncryptionAlgorithm(v Encryption) { +// SetEncryptionAlgorithm gets a reference to the given Encryption1 and assigns it to the EncryptionAlgorithm field. +func (o *PatchedWritableIPSecProposalRequest) SetEncryptionAlgorithm(v Encryption1) { o.EncryptionAlgorithm = &v } // GetAuthenticationAlgorithm returns the AuthenticationAlgorithm field value if set, zero value otherwise. -func (o *PatchedWritableIPSecProposalRequest) GetAuthenticationAlgorithm() Authentication { +func (o *PatchedWritableIPSecProposalRequest) GetAuthenticationAlgorithm() Authentication1 { if o == nil || IsNil(o.AuthenticationAlgorithm) { - var ret Authentication + var ret Authentication1 return ret } return *o.AuthenticationAlgorithm @@ -159,7 +159,7 @@ func (o *PatchedWritableIPSecProposalRequest) GetAuthenticationAlgorithm() Authe // GetAuthenticationAlgorithmOk returns a tuple with the AuthenticationAlgorithm field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedWritableIPSecProposalRequest) GetAuthenticationAlgorithmOk() (*Authentication, bool) { +func (o *PatchedWritableIPSecProposalRequest) GetAuthenticationAlgorithmOk() (*Authentication1, bool) { if o == nil || IsNil(o.AuthenticationAlgorithm) { return nil, false } @@ -175,8 +175,8 @@ func (o *PatchedWritableIPSecProposalRequest) HasAuthenticationAlgorithm() bool return false } -// SetAuthenticationAlgorithm gets a reference to the given Authentication and assigns it to the AuthenticationAlgorithm field. -func (o *PatchedWritableIPSecProposalRequest) SetAuthenticationAlgorithm(v Authentication) { +// SetAuthenticationAlgorithm gets a reference to the given Authentication1 and assigns it to the AuthenticationAlgorithm field. +func (o *PatchedWritableIPSecProposalRequest) SetAuthenticationAlgorithm(v Authentication1) { o.AuthenticationAlgorithm = &v } diff --git a/model_patched_writable_journal_entry_request.go b/model_patched_writable_journal_entry_request.go index 97f19a1e7..230105223 100644 --- a/model_patched_writable_journal_entry_request.go +++ b/model_patched_writable_journal_entry_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_writable_l2_vpn_request.go b/model_patched_writable_l2_vpn_request.go index 0cbb2327b..344ce4f48 100644 --- a/model_patched_writable_l2_vpn_request.go +++ b/model_patched_writable_l2_vpn_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,17 +19,17 @@ var _ MappedNullable = &PatchedWritableL2VPNRequest{} // PatchedWritableL2VPNRequest Adds support for custom fields and tags. type PatchedWritableL2VPNRequest struct { - Identifier NullableInt64 `json:"identifier,omitempty"` - Name *string `json:"name,omitempty"` - Slug *string `json:"slug,omitempty"` - Type *L2VPNTypeValue `json:"type,omitempty"` - ImportTargets []int32 `json:"import_targets,omitempty"` - ExportTargets []int32 `json:"export_targets,omitempty"` - Description *string `json:"description,omitempty"` - Comments *string `json:"comments,omitempty"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` - Tags []NestedTagRequest `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Identifier NullableInt64 `json:"identifier,omitempty"` + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` + Type *BriefL2VPNTypeValue `json:"type,omitempty"` + ImportTargets []int32 `json:"import_targets,omitempty"` + ExportTargets []int32 `json:"export_targets,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -160,9 +160,9 @@ func (o *PatchedWritableL2VPNRequest) SetSlug(v string) { } // GetType returns the Type field value if set, zero value otherwise. -func (o *PatchedWritableL2VPNRequest) GetType() L2VPNTypeValue { +func (o *PatchedWritableL2VPNRequest) GetType() BriefL2VPNTypeValue { if o == nil || IsNil(o.Type) { - var ret L2VPNTypeValue + var ret BriefL2VPNTypeValue return ret } return *o.Type @@ -170,7 +170,7 @@ func (o *PatchedWritableL2VPNRequest) GetType() L2VPNTypeValue { // GetTypeOk returns a tuple with the Type field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedWritableL2VPNRequest) GetTypeOk() (*L2VPNTypeValue, bool) { +func (o *PatchedWritableL2VPNRequest) GetTypeOk() (*BriefL2VPNTypeValue, bool) { if o == nil || IsNil(o.Type) { return nil, false } @@ -186,8 +186,8 @@ func (o *PatchedWritableL2VPNRequest) HasType() bool { return false } -// SetType gets a reference to the given L2VPNTypeValue and assigns it to the Type field. -func (o *PatchedWritableL2VPNRequest) SetType(v L2VPNTypeValue) { +// SetType gets a reference to the given BriefL2VPNTypeValue and assigns it to the Type field. +func (o *PatchedWritableL2VPNRequest) SetType(v BriefL2VPNTypeValue) { o.Type = &v } @@ -320,9 +320,9 @@ func (o *PatchedWritableL2VPNRequest) SetComments(v string) { } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableL2VPNRequest) GetTenant() TenantRequest { +func (o *PatchedWritableL2VPNRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -331,7 +331,7 @@ func (o *PatchedWritableL2VPNRequest) GetTenant() TenantRequest { // 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 *PatchedWritableL2VPNRequest) GetTenantOk() (*TenantRequest, bool) { +func (o *PatchedWritableL2VPNRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -347,8 +347,8 @@ func (o *PatchedWritableL2VPNRequest) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *PatchedWritableL2VPNRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *PatchedWritableL2VPNRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } diff --git a/model_patched_writable_location_request.go b/model_patched_writable_location_request.go index 338f115dd..7dfa3d94e 100644 --- a/model_patched_writable_location_request.go +++ b/model_patched_writable_location_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,12 +19,12 @@ var _ MappedNullable = &PatchedWritableLocationRequest{} // PatchedWritableLocationRequest Extends PrimaryModelSerializer to include MPTT support. type PatchedWritableLocationRequest struct { - Name *string `json:"name,omitempty"` - Slug *string `json:"slug,omitempty"` - Site *SiteRequest `json:"site,omitempty"` - Parent NullableInt32 `json:"parent,omitempty"` - Status *PatchedWritableLocationRequestStatus `json:"status,omitempty"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` + Site *BriefSiteRequest `json:"site,omitempty"` + Parent NullableInt32 `json:"parent,omitempty"` + Status *LocationStatusValue `json:"status,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` // Local facility ID or description Facility *string `json:"facility,omitempty"` Description *string `json:"description,omitempty"` @@ -117,9 +117,9 @@ func (o *PatchedWritableLocationRequest) SetSlug(v string) { } // GetSite returns the Site field value if set, zero value otherwise. -func (o *PatchedWritableLocationRequest) GetSite() SiteRequest { +func (o *PatchedWritableLocationRequest) GetSite() BriefSiteRequest { if o == nil || IsNil(o.Site) { - var ret SiteRequest + var ret BriefSiteRequest return ret } return *o.Site @@ -127,7 +127,7 @@ func (o *PatchedWritableLocationRequest) GetSite() SiteRequest { // GetSiteOk returns a tuple with the Site field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedWritableLocationRequest) GetSiteOk() (*SiteRequest, bool) { +func (o *PatchedWritableLocationRequest) GetSiteOk() (*BriefSiteRequest, bool) { if o == nil || IsNil(o.Site) { return nil, false } @@ -143,8 +143,8 @@ func (o *PatchedWritableLocationRequest) HasSite() bool { return false } -// SetSite gets a reference to the given SiteRequest and assigns it to the Site field. -func (o *PatchedWritableLocationRequest) SetSite(v SiteRequest) { +// SetSite gets a reference to the given BriefSiteRequest and assigns it to the Site field. +func (o *PatchedWritableLocationRequest) SetSite(v BriefSiteRequest) { o.Site = &v } @@ -192,9 +192,9 @@ func (o *PatchedWritableLocationRequest) UnsetParent() { } // GetStatus returns the Status field value if set, zero value otherwise. -func (o *PatchedWritableLocationRequest) GetStatus() PatchedWritableLocationRequestStatus { +func (o *PatchedWritableLocationRequest) GetStatus() LocationStatusValue { if o == nil || IsNil(o.Status) { - var ret PatchedWritableLocationRequestStatus + var ret LocationStatusValue return ret } return *o.Status @@ -202,7 +202,7 @@ func (o *PatchedWritableLocationRequest) GetStatus() PatchedWritableLocationRequ // 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 *PatchedWritableLocationRequest) GetStatusOk() (*PatchedWritableLocationRequestStatus, bool) { +func (o *PatchedWritableLocationRequest) GetStatusOk() (*LocationStatusValue, bool) { if o == nil || IsNil(o.Status) { return nil, false } @@ -218,15 +218,15 @@ func (o *PatchedWritableLocationRequest) HasStatus() bool { return false } -// SetStatus gets a reference to the given PatchedWritableLocationRequestStatus and assigns it to the Status field. -func (o *PatchedWritableLocationRequest) SetStatus(v PatchedWritableLocationRequestStatus) { +// SetStatus gets a reference to the given LocationStatusValue and assigns it to the Status field. +func (o *PatchedWritableLocationRequest) SetStatus(v LocationStatusValue) { o.Status = &v } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableLocationRequest) GetTenant() TenantRequest { +func (o *PatchedWritableLocationRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -235,7 +235,7 @@ func (o *PatchedWritableLocationRequest) GetTenant() TenantRequest { // 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 *PatchedWritableLocationRequest) GetTenantOk() (*TenantRequest, bool) { +func (o *PatchedWritableLocationRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -251,8 +251,8 @@ func (o *PatchedWritableLocationRequest) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *PatchedWritableLocationRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *PatchedWritableLocationRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } diff --git a/model_patched_writable_module_request.go b/model_patched_writable_module_request.go index 5d7316da7..e27ce755e 100644 --- a/model_patched_writable_module_request.go +++ b/model_patched_writable_module_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,11 +19,11 @@ var _ MappedNullable = &PatchedWritableModuleRequest{} // PatchedWritableModuleRequest Adds support for custom fields and tags. type PatchedWritableModuleRequest struct { - Device *DeviceRequest `json:"device,omitempty"` - ModuleBay *int32 `json:"module_bay,omitempty"` - ModuleType *ModuleTypeRequest `json:"module_type,omitempty"` - Status *PatchedWritableModuleRequestStatus `json:"status,omitempty"` - Serial *string `json:"serial,omitempty"` + Device *BriefDeviceRequest `json:"device,omitempty"` + ModuleBay *int32 `json:"module_bay,omitempty"` + ModuleType *BriefModuleTypeRequest `json:"module_type,omitempty"` + Status *ModuleStatusValue `json:"status,omitempty"` + Serial *string `json:"serial,omitempty"` // A unique tag used to identify this device AssetTag NullableString `json:"asset_tag,omitempty"` Description *string `json:"description,omitempty"` @@ -53,9 +53,9 @@ func NewPatchedWritableModuleRequestWithDefaults() *PatchedWritableModuleRequest } // GetDevice returns the Device field value if set, zero value otherwise. -func (o *PatchedWritableModuleRequest) GetDevice() DeviceRequest { +func (o *PatchedWritableModuleRequest) GetDevice() BriefDeviceRequest { if o == nil || IsNil(o.Device) { - var ret DeviceRequest + var ret BriefDeviceRequest return ret } return *o.Device @@ -63,7 +63,7 @@ func (o *PatchedWritableModuleRequest) GetDevice() DeviceRequest { // 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 *PatchedWritableModuleRequest) GetDeviceOk() (*DeviceRequest, bool) { +func (o *PatchedWritableModuleRequest) GetDeviceOk() (*BriefDeviceRequest, bool) { if o == nil || IsNil(o.Device) { return nil, false } @@ -79,8 +79,8 @@ func (o *PatchedWritableModuleRequest) HasDevice() bool { return false } -// SetDevice gets a reference to the given DeviceRequest and assigns it to the Device field. -func (o *PatchedWritableModuleRequest) SetDevice(v DeviceRequest) { +// SetDevice gets a reference to the given BriefDeviceRequest and assigns it to the Device field. +func (o *PatchedWritableModuleRequest) SetDevice(v BriefDeviceRequest) { o.Device = &v } @@ -117,9 +117,9 @@ func (o *PatchedWritableModuleRequest) SetModuleBay(v int32) { } // GetModuleType returns the ModuleType field value if set, zero value otherwise. -func (o *PatchedWritableModuleRequest) GetModuleType() ModuleTypeRequest { +func (o *PatchedWritableModuleRequest) GetModuleType() BriefModuleTypeRequest { if o == nil || IsNil(o.ModuleType) { - var ret ModuleTypeRequest + var ret BriefModuleTypeRequest return ret } return *o.ModuleType @@ -127,7 +127,7 @@ func (o *PatchedWritableModuleRequest) GetModuleType() ModuleTypeRequest { // GetModuleTypeOk returns a tuple with the ModuleType field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedWritableModuleRequest) GetModuleTypeOk() (*ModuleTypeRequest, bool) { +func (o *PatchedWritableModuleRequest) GetModuleTypeOk() (*BriefModuleTypeRequest, bool) { if o == nil || IsNil(o.ModuleType) { return nil, false } @@ -143,15 +143,15 @@ func (o *PatchedWritableModuleRequest) HasModuleType() bool { return false } -// SetModuleType gets a reference to the given ModuleTypeRequest and assigns it to the ModuleType field. -func (o *PatchedWritableModuleRequest) SetModuleType(v ModuleTypeRequest) { +// SetModuleType gets a reference to the given BriefModuleTypeRequest and assigns it to the ModuleType field. +func (o *PatchedWritableModuleRequest) SetModuleType(v BriefModuleTypeRequest) { o.ModuleType = &v } // GetStatus returns the Status field value if set, zero value otherwise. -func (o *PatchedWritableModuleRequest) GetStatus() PatchedWritableModuleRequestStatus { +func (o *PatchedWritableModuleRequest) GetStatus() ModuleStatusValue { if o == nil || IsNil(o.Status) { - var ret PatchedWritableModuleRequestStatus + var ret ModuleStatusValue return ret } return *o.Status @@ -159,7 +159,7 @@ func (o *PatchedWritableModuleRequest) GetStatus() PatchedWritableModuleRequestS // 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 *PatchedWritableModuleRequest) GetStatusOk() (*PatchedWritableModuleRequestStatus, bool) { +func (o *PatchedWritableModuleRequest) GetStatusOk() (*ModuleStatusValue, bool) { if o == nil || IsNil(o.Status) { return nil, false } @@ -175,8 +175,8 @@ func (o *PatchedWritableModuleRequest) HasStatus() bool { return false } -// SetStatus gets a reference to the given PatchedWritableModuleRequestStatus and assigns it to the Status field. -func (o *PatchedWritableModuleRequest) SetStatus(v PatchedWritableModuleRequestStatus) { +// SetStatus gets a reference to the given ModuleStatusValue and assigns it to the Status field. +func (o *PatchedWritableModuleRequest) SetStatus(v ModuleStatusValue) { o.Status = &v } diff --git a/model_patched_writable_module_type_request.go b/model_patched_writable_module_type_request.go index 284d2cda9..dc6c1ff8c 100644 --- a/model_patched_writable_module_type_request.go +++ b/model_patched_writable_module_type_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,16 +19,17 @@ var _ MappedNullable = &PatchedWritableModuleTypeRequest{} // PatchedWritableModuleTypeRequest Adds support for custom fields and tags. type PatchedWritableModuleTypeRequest struct { - Manufacturer *ManufacturerRequest `json:"manufacturer,omitempty"` - Model *string `json:"model,omitempty"` + Manufacturer *BriefManufacturerRequest `json:"manufacturer,omitempty"` + Model *string `json:"model,omitempty"` // Discrete part number (optional) - PartNumber *string `json:"part_number,omitempty"` - Weight NullableFloat64 `json:"weight,omitempty"` - WeightUnit *PatchedWritableDeviceTypeRequestWeightUnit `json:"weight_unit,omitempty"` - Description *string `json:"description,omitempty"` - Comments *string `json:"comments,omitempty"` - Tags []NestedTagRequest `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + PartNumber *string `json:"part_number,omitempty"` + Airflow *ModuleTypeAirflowValue `json:"airflow,omitempty"` + Weight NullableFloat64 `json:"weight,omitempty"` + WeightUnit *DeviceTypeWeightUnitValue `json:"weight_unit,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -52,9 +53,9 @@ func NewPatchedWritableModuleTypeRequestWithDefaults() *PatchedWritableModuleTyp } // GetManufacturer returns the Manufacturer field value if set, zero value otherwise. -func (o *PatchedWritableModuleTypeRequest) GetManufacturer() ManufacturerRequest { +func (o *PatchedWritableModuleTypeRequest) GetManufacturer() BriefManufacturerRequest { if o == nil || IsNil(o.Manufacturer) { - var ret ManufacturerRequest + var ret BriefManufacturerRequest return ret } return *o.Manufacturer @@ -62,7 +63,7 @@ func (o *PatchedWritableModuleTypeRequest) GetManufacturer() ManufacturerRequest // GetManufacturerOk returns a tuple with the Manufacturer field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedWritableModuleTypeRequest) GetManufacturerOk() (*ManufacturerRequest, bool) { +func (o *PatchedWritableModuleTypeRequest) GetManufacturerOk() (*BriefManufacturerRequest, bool) { if o == nil || IsNil(o.Manufacturer) { return nil, false } @@ -78,8 +79,8 @@ func (o *PatchedWritableModuleTypeRequest) HasManufacturer() bool { return false } -// SetManufacturer gets a reference to the given ManufacturerRequest and assigns it to the Manufacturer field. -func (o *PatchedWritableModuleTypeRequest) SetManufacturer(v ManufacturerRequest) { +// SetManufacturer gets a reference to the given BriefManufacturerRequest and assigns it to the Manufacturer field. +func (o *PatchedWritableModuleTypeRequest) SetManufacturer(v BriefManufacturerRequest) { o.Manufacturer = &v } @@ -147,6 +148,38 @@ func (o *PatchedWritableModuleTypeRequest) SetPartNumber(v string) { o.PartNumber = &v } +// GetAirflow returns the Airflow field value if set, zero value otherwise. +func (o *PatchedWritableModuleTypeRequest) GetAirflow() ModuleTypeAirflowValue { + if o == nil || IsNil(o.Airflow) { + var ret ModuleTypeAirflowValue + return ret + } + return *o.Airflow +} + +// GetAirflowOk returns a tuple with the Airflow field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritableModuleTypeRequest) GetAirflowOk() (*ModuleTypeAirflowValue, bool) { + if o == nil || IsNil(o.Airflow) { + return nil, false + } + return o.Airflow, true +} + +// HasAirflow returns a boolean if a field has been set. +func (o *PatchedWritableModuleTypeRequest) HasAirflow() bool { + if o != nil && !IsNil(o.Airflow) { + return true + } + + return false +} + +// SetAirflow gets a reference to the given ModuleTypeAirflowValue and assigns it to the Airflow field. +func (o *PatchedWritableModuleTypeRequest) SetAirflow(v ModuleTypeAirflowValue) { + o.Airflow = &v +} + // GetWeight returns the Weight field value if set, zero value otherwise (both if not set or set to explicit null). func (o *PatchedWritableModuleTypeRequest) GetWeight() float64 { if o == nil || IsNil(o.Weight.Get()) { @@ -191,9 +224,9 @@ func (o *PatchedWritableModuleTypeRequest) UnsetWeight() { } // GetWeightUnit returns the WeightUnit field value if set, zero value otherwise. -func (o *PatchedWritableModuleTypeRequest) GetWeightUnit() PatchedWritableDeviceTypeRequestWeightUnit { +func (o *PatchedWritableModuleTypeRequest) GetWeightUnit() DeviceTypeWeightUnitValue { if o == nil || IsNil(o.WeightUnit) { - var ret PatchedWritableDeviceTypeRequestWeightUnit + var ret DeviceTypeWeightUnitValue return ret } return *o.WeightUnit @@ -201,7 +234,7 @@ func (o *PatchedWritableModuleTypeRequest) GetWeightUnit() PatchedWritableDevice // GetWeightUnitOk returns a tuple with the WeightUnit field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedWritableModuleTypeRequest) GetWeightUnitOk() (*PatchedWritableDeviceTypeRequestWeightUnit, bool) { +func (o *PatchedWritableModuleTypeRequest) GetWeightUnitOk() (*DeviceTypeWeightUnitValue, bool) { if o == nil || IsNil(o.WeightUnit) { return nil, false } @@ -217,8 +250,8 @@ func (o *PatchedWritableModuleTypeRequest) HasWeightUnit() bool { return false } -// SetWeightUnit gets a reference to the given PatchedWritableDeviceTypeRequestWeightUnit and assigns it to the WeightUnit field. -func (o *PatchedWritableModuleTypeRequest) SetWeightUnit(v PatchedWritableDeviceTypeRequestWeightUnit) { +// SetWeightUnit gets a reference to the given DeviceTypeWeightUnitValue and assigns it to the WeightUnit field. +func (o *PatchedWritableModuleTypeRequest) SetWeightUnit(v DeviceTypeWeightUnitValue) { o.WeightUnit = &v } @@ -369,6 +402,9 @@ func (o PatchedWritableModuleTypeRequest) ToMap() (map[string]interface{}, error if !IsNil(o.PartNumber) { toSerialize["part_number"] = o.PartNumber } + if !IsNil(o.Airflow) { + toSerialize["airflow"] = o.Airflow + } if o.Weight.IsSet() { toSerialize["weight"] = o.Weight.Get() } @@ -412,6 +448,7 @@ func (o *PatchedWritableModuleTypeRequest) UnmarshalJSON(data []byte) (err error delete(additionalProperties, "manufacturer") delete(additionalProperties, "model") delete(additionalProperties, "part_number") + delete(additionalProperties, "airflow") delete(additionalProperties, "weight") delete(additionalProperties, "weight_unit") delete(additionalProperties, "description") diff --git a/model_patched_writable_power_feed_request.go b/model_patched_writable_power_feed_request.go index cd730a4d0..a3b339086 100644 --- a/model_patched_writable_power_feed_request.go +++ b/model_patched_writable_power_feed_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,8 +19,8 @@ var _ MappedNullable = &PatchedWritablePowerFeedRequest{} // PatchedWritablePowerFeedRequest Adds support for custom fields and tags. type PatchedWritablePowerFeedRequest struct { - PowerPanel *PowerPanelRequest `json:"power_panel,omitempty"` - Rack NullableRackRequest `json:"rack,omitempty"` + PowerPanel *BriefPowerPanelRequest `json:"power_panel,omitempty"` + Rack NullableBriefRackRequest `json:"rack,omitempty"` Name *string `json:"name,omitempty"` Status *PatchedWritablePowerFeedRequestStatus `json:"status,omitempty"` Type *PatchedWritablePowerFeedRequestType `json:"type,omitempty"` @@ -31,12 +31,12 @@ type PatchedWritablePowerFeedRequest struct { // Maximum permissible draw (percentage) MaxUtilization *int32 `json:"max_utilization,omitempty"` // Treat as if a cable is connected - MarkConnected *bool `json:"mark_connected,omitempty"` - Description *string `json:"description,omitempty"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` - Comments *string `json:"comments,omitempty"` - Tags []NestedTagRequest `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + MarkConnected *bool `json:"mark_connected,omitempty"` + Description *string `json:"description,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -60,9 +60,9 @@ func NewPatchedWritablePowerFeedRequestWithDefaults() *PatchedWritablePowerFeedR } // GetPowerPanel returns the PowerPanel field value if set, zero value otherwise. -func (o *PatchedWritablePowerFeedRequest) GetPowerPanel() PowerPanelRequest { +func (o *PatchedWritablePowerFeedRequest) GetPowerPanel() BriefPowerPanelRequest { if o == nil || IsNil(o.PowerPanel) { - var ret PowerPanelRequest + var ret BriefPowerPanelRequest return ret } return *o.PowerPanel @@ -70,7 +70,7 @@ func (o *PatchedWritablePowerFeedRequest) GetPowerPanel() PowerPanelRequest { // 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() (*PowerPanelRequest, bool) { +func (o *PatchedWritablePowerFeedRequest) GetPowerPanelOk() (*BriefPowerPanelRequest, bool) { if o == nil || IsNil(o.PowerPanel) { return nil, false } @@ -86,15 +86,15 @@ func (o *PatchedWritablePowerFeedRequest) HasPowerPanel() bool { return false } -// SetPowerPanel gets a reference to the given PowerPanelRequest and assigns it to the PowerPanel field. -func (o *PatchedWritablePowerFeedRequest) SetPowerPanel(v PowerPanelRequest) { +// SetPowerPanel gets a reference to the given BriefPowerPanelRequest and assigns it to the PowerPanel field. +func (o *PatchedWritablePowerFeedRequest) SetPowerPanel(v BriefPowerPanelRequest) { o.PowerPanel = &v } // GetRack returns the Rack field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritablePowerFeedRequest) GetRack() RackRequest { +func (o *PatchedWritablePowerFeedRequest) GetRack() BriefRackRequest { if o == nil || IsNil(o.Rack.Get()) { - var ret RackRequest + var ret BriefRackRequest return ret } return *o.Rack.Get() @@ -103,7 +103,7 @@ func (o *PatchedWritablePowerFeedRequest) GetRack() RackRequest { // GetRackOk returns a tuple with the Rack 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) GetRackOk() (*RackRequest, bool) { +func (o *PatchedWritablePowerFeedRequest) GetRackOk() (*BriefRackRequest, bool) { if o == nil { return nil, false } @@ -119,8 +119,8 @@ func (o *PatchedWritablePowerFeedRequest) HasRack() bool { return false } -// SetRack gets a reference to the given NullableRackRequest and assigns it to the Rack field. -func (o *PatchedWritablePowerFeedRequest) SetRack(v RackRequest) { +// SetRack gets a reference to the given NullableBriefRackRequest and assigns it to the Rack field. +func (o *PatchedWritablePowerFeedRequest) SetRack(v BriefRackRequest) { o.Rack.Set(&v) } @@ -455,9 +455,9 @@ func (o *PatchedWritablePowerFeedRequest) SetDescription(v string) { } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritablePowerFeedRequest) GetTenant() TenantRequest { +func (o *PatchedWritablePowerFeedRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -466,7 +466,7 @@ func (o *PatchedWritablePowerFeedRequest) GetTenant() TenantRequest { // 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 *PatchedWritablePowerFeedRequest) GetTenantOk() (*TenantRequest, bool) { +func (o *PatchedWritablePowerFeedRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -482,8 +482,8 @@ func (o *PatchedWritablePowerFeedRequest) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *PatchedWritablePowerFeedRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *PatchedWritablePowerFeedRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } diff --git a/model_patched_writable_power_feed_request_phase.go b/model_patched_writable_power_feed_request_phase.go index 9a576dfa2..ffda86088 100644 --- a/model_patched_writable_power_feed_request_phase.go +++ b/model_patched_writable_power_feed_request_phase.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_writable_power_feed_request_status.go b/model_patched_writable_power_feed_request_status.go index e83c0f2fa..9a64dcf4a 100644 --- a/model_patched_writable_power_feed_request_status.go +++ b/model_patched_writable_power_feed_request_status.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_writable_power_feed_request_supply.go b/model_patched_writable_power_feed_request_supply.go index e8b5b27a3..83bbb3651 100644 --- a/model_patched_writable_power_feed_request_supply.go +++ b/model_patched_writable_power_feed_request_supply.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_writable_power_feed_request_type.go b/model_patched_writable_power_feed_request_type.go index 6951215c4..4b9f78177 100644 --- a/model_patched_writable_power_feed_request_type.go +++ b/model_patched_writable_power_feed_request_type.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_writable_power_outlet_request.go b/model_patched_writable_power_outlet_request.go index 4a3f01b5d..56c16a84e 100644 --- a/model_patched_writable_power_outlet_request.go +++ b/model_patched_writable_power_outlet_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,13 +19,13 @@ var _ MappedNullable = &PatchedWritablePowerOutletRequest{} // PatchedWritablePowerOutletRequest Adds support for custom fields and tags. type PatchedWritablePowerOutletRequest struct { - Device *DeviceRequest `json:"device,omitempty"` - Module NullableModuleRequest `json:"module,omitempty"` - Name *string `json:"name,omitempty"` + Device *BriefDeviceRequest `json:"device,omitempty"` + Module NullableBriefModuleRequest `json:"module,omitempty"` + Name *string `json:"name,omitempty"` // Physical label Label *string `json:"label,omitempty"` Type *PatchedWritablePowerOutletRequestType `json:"type,omitempty"` - PowerPort NullablePowerPortRequest `json:"power_port,omitempty"` + PowerPort NullableBriefPowerPortRequest `json:"power_port,omitempty"` FeedLeg *PatchedWritablePowerOutletRequestFeedLeg `json:"feed_leg,omitempty"` Description *string `json:"description,omitempty"` // Treat as if a cable is connected @@ -55,9 +55,9 @@ func NewPatchedWritablePowerOutletRequestWithDefaults() *PatchedWritablePowerOut } // GetDevice returns the Device field value if set, zero value otherwise. -func (o *PatchedWritablePowerOutletRequest) GetDevice() DeviceRequest { +func (o *PatchedWritablePowerOutletRequest) GetDevice() BriefDeviceRequest { if o == nil || IsNil(o.Device) { - var ret DeviceRequest + var ret BriefDeviceRequest return ret } return *o.Device @@ -65,7 +65,7 @@ func (o *PatchedWritablePowerOutletRequest) GetDevice() DeviceRequest { // 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 *PatchedWritablePowerOutletRequest) GetDeviceOk() (*DeviceRequest, bool) { +func (o *PatchedWritablePowerOutletRequest) GetDeviceOk() (*BriefDeviceRequest, bool) { if o == nil || IsNil(o.Device) { return nil, false } @@ -81,15 +81,15 @@ func (o *PatchedWritablePowerOutletRequest) HasDevice() bool { return false } -// SetDevice gets a reference to the given DeviceRequest and assigns it to the Device field. -func (o *PatchedWritablePowerOutletRequest) SetDevice(v DeviceRequest) { +// SetDevice gets a reference to the given BriefDeviceRequest and assigns it to the Device field. +func (o *PatchedWritablePowerOutletRequest) SetDevice(v BriefDeviceRequest) { o.Device = &v } // GetModule returns the Module field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritablePowerOutletRequest) GetModule() ModuleRequest { +func (o *PatchedWritablePowerOutletRequest) GetModule() BriefModuleRequest { if o == nil || IsNil(o.Module.Get()) { - var ret ModuleRequest + var ret BriefModuleRequest return ret } return *o.Module.Get() @@ -98,7 +98,7 @@ func (o *PatchedWritablePowerOutletRequest) GetModule() ModuleRequest { // GetModuleOk returns a tuple with the Module 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 *PatchedWritablePowerOutletRequest) GetModuleOk() (*ModuleRequest, bool) { +func (o *PatchedWritablePowerOutletRequest) GetModuleOk() (*BriefModuleRequest, bool) { if o == nil { return nil, false } @@ -114,8 +114,8 @@ func (o *PatchedWritablePowerOutletRequest) HasModule() bool { return false } -// SetModule gets a reference to the given NullableModuleRequest and assigns it to the Module field. -func (o *PatchedWritablePowerOutletRequest) SetModule(v ModuleRequest) { +// SetModule gets a reference to the given NullableBriefModuleRequest and assigns it to the Module field. +func (o *PatchedWritablePowerOutletRequest) SetModule(v BriefModuleRequest) { o.Module.Set(&v) } @@ -226,9 +226,9 @@ func (o *PatchedWritablePowerOutletRequest) SetType(v PatchedWritablePowerOutlet } // GetPowerPort returns the PowerPort field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritablePowerOutletRequest) GetPowerPort() PowerPortRequest { +func (o *PatchedWritablePowerOutletRequest) GetPowerPort() BriefPowerPortRequest { if o == nil || IsNil(o.PowerPort.Get()) { - var ret PowerPortRequest + var ret BriefPowerPortRequest return ret } return *o.PowerPort.Get() @@ -237,7 +237,7 @@ func (o *PatchedWritablePowerOutletRequest) GetPowerPort() PowerPortRequest { // GetPowerPortOk returns a tuple with the PowerPort 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 *PatchedWritablePowerOutletRequest) GetPowerPortOk() (*PowerPortRequest, bool) { +func (o *PatchedWritablePowerOutletRequest) GetPowerPortOk() (*BriefPowerPortRequest, bool) { if o == nil { return nil, false } @@ -253,8 +253,8 @@ func (o *PatchedWritablePowerOutletRequest) HasPowerPort() bool { return false } -// SetPowerPort gets a reference to the given NullablePowerPortRequest and assigns it to the PowerPort field. -func (o *PatchedWritablePowerOutletRequest) SetPowerPort(v PowerPortRequest) { +// SetPowerPort gets a reference to the given NullableBriefPowerPortRequest and assigns it to the PowerPort field. +func (o *PatchedWritablePowerOutletRequest) SetPowerPort(v BriefPowerPortRequest) { o.PowerPort.Set(&v) } diff --git a/model_patched_writable_power_outlet_request_feed_leg.go b/model_patched_writable_power_outlet_request_feed_leg.go index bb994c190..f9340ede4 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 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_writable_power_outlet_request_type.go b/model_patched_writable_power_outlet_request_type.go index b71ce89bf..2d850e09f 100644 --- a/model_patched_writable_power_outlet_request_type.go +++ b/model_patched_writable_power_outlet_request_type.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,7 +15,7 @@ import ( "fmt" ) -// PatchedWritablePowerOutletRequestType Physical port type * `iec-60320-c5` - C5 * `iec-60320-c7` - C7 * `iec-60320-c13` - C13 * `iec-60320-c15` - C15 * `iec-60320-c19` - C19 * `iec-60320-c21` - C21 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15r` - NEMA 1-15R * `nema-5-15r` - NEMA 5-15R * `nema-5-20r` - NEMA 5-20R * `nema-5-30r` - NEMA 5-30R * `nema-5-50r` - NEMA 5-50R * `nema-6-15r` - NEMA 6-15R * `nema-6-20r` - NEMA 6-20R * `nema-6-30r` - NEMA 6-30R * `nema-6-50r` - NEMA 6-50R * `nema-10-30r` - NEMA 10-30R * `nema-10-50r` - NEMA 10-50R * `nema-14-20r` - NEMA 14-20R * `nema-14-30r` - NEMA 14-30R * `nema-14-50r` - NEMA 14-50R * `nema-14-60r` - NEMA 14-60R * `nema-15-15r` - NEMA 15-15R * `nema-15-20r` - NEMA 15-20R * `nema-15-30r` - NEMA 15-30R * `nema-15-50r` - NEMA 15-50R * `nema-15-60r` - NEMA 15-60R * `nema-l1-15r` - NEMA L1-15R * `nema-l5-15r` - NEMA L5-15R * `nema-l5-20r` - NEMA L5-20R * `nema-l5-30r` - NEMA L5-30R * `nema-l5-50r` - NEMA L5-50R * `nema-l6-15r` - NEMA L6-15R * `nema-l6-20r` - NEMA L6-20R * `nema-l6-30r` - NEMA L6-30R * `nema-l6-50r` - NEMA L6-50R * `nema-l10-30r` - NEMA L10-30R * `nema-l14-20r` - NEMA L14-20R * `nema-l14-30r` - NEMA L14-30R * `nema-l14-50r` - NEMA L14-50R * `nema-l14-60r` - NEMA L14-60R * `nema-l15-20r` - NEMA L15-20R * `nema-l15-30r` - NEMA L15-30R * `nema-l15-50r` - NEMA L15-50R * `nema-l15-60r` - NEMA L15-60R * `nema-l21-20r` - NEMA L21-20R * `nema-l21-30r` - NEMA L21-30R * `nema-l22-30r` - NEMA L22-30R * `CS6360C` - CS6360C * `CS6364C` - CS6364C * `CS8164C` - CS8164C * `CS8264C` - CS8264C * `CS8364C` - CS8364C * `CS8464C` - CS8464C * `ita-e` - ITA Type E (CEE 7/5) * `ita-f` - ITA Type F (CEE 7/3) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `ita-multistandard` - ITA Multistandard * `usb-a` - USB Type A * `usb-micro-b` - USB Micro B * `usb-c` - USB Type C * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `hdot-cx` - HDOT Cx * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20a` - Neutrik powerCON (20A) * `neutrik-powercon-32a` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other +// PatchedWritablePowerOutletRequestType Physical port type * `iec-60320-c5` - C5 * `iec-60320-c7` - C7 * `iec-60320-c13` - C13 * `iec-60320-c15` - C15 * `iec-60320-c19` - C19 * `iec-60320-c21` - C21 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15r` - NEMA 1-15R * `nema-5-15r` - NEMA 5-15R * `nema-5-20r` - NEMA 5-20R * `nema-5-30r` - NEMA 5-30R * `nema-5-50r` - NEMA 5-50R * `nema-6-15r` - NEMA 6-15R * `nema-6-20r` - NEMA 6-20R * `nema-6-30r` - NEMA 6-30R * `nema-6-50r` - NEMA 6-50R * `nema-10-30r` - NEMA 10-30R * `nema-10-50r` - NEMA 10-50R * `nema-14-20r` - NEMA 14-20R * `nema-14-30r` - NEMA 14-30R * `nema-14-50r` - NEMA 14-50R * `nema-14-60r` - NEMA 14-60R * `nema-15-15r` - NEMA 15-15R * `nema-15-20r` - NEMA 15-20R * `nema-15-30r` - NEMA 15-30R * `nema-15-50r` - NEMA 15-50R * `nema-15-60r` - NEMA 15-60R * `nema-l1-15r` - NEMA L1-15R * `nema-l5-15r` - NEMA L5-15R * `nema-l5-20r` - NEMA L5-20R * `nema-l5-30r` - NEMA L5-30R * `nema-l5-50r` - NEMA L5-50R * `nema-l6-15r` - NEMA L6-15R * `nema-l6-20r` - NEMA L6-20R * `nema-l6-30r` - NEMA L6-30R * `nema-l6-50r` - NEMA L6-50R * `nema-l10-30r` - NEMA L10-30R * `nema-l14-20r` - NEMA L14-20R * `nema-l14-30r` - NEMA L14-30R * `nema-l14-50r` - NEMA L14-50R * `nema-l14-60r` - NEMA L14-60R * `nema-l15-20r` - NEMA L15-20R * `nema-l15-30r` - NEMA L15-30R * `nema-l15-50r` - NEMA L15-50R * `nema-l15-60r` - NEMA L15-60R * `nema-l21-20r` - NEMA L21-20R * `nema-l21-30r` - NEMA L21-30R * `nema-l22-20r` - NEMA L22-20R * `nema-l22-30r` - NEMA L22-30R * `CS6360C` - CS6360C * `CS6364C` - CS6364C * `CS8164C` - CS8164C * `CS8264C` - CS8264C * `CS8364C` - CS8364C * `CS8464C` - CS8464C * `ita-e` - ITA Type E (CEE 7/5) * `ita-f` - ITA Type F (CEE 7/3) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `ita-multistandard` - ITA Multistandard * `usb-a` - USB Type A * `usb-micro-b` - USB Micro B * `usb-c` - USB Type C * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `eaton-c39` - Eaton C39 * `hdot-cx` - HDOT Cx * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20a` - Neutrik powerCON (20A) * `neutrik-powercon-32a` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other type PatchedWritablePowerOutletRequestType string // List of PatchedWritablePowerOutletRequest_type @@ -81,6 +81,7 @@ const ( 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_20R PatchedWritablePowerOutletRequestType = "nema-l22-20r" PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_NEMA_L22_30R PatchedWritablePowerOutletRequestType = "nema-l22-30r" PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_CS6360_C PatchedWritablePowerOutletRequestType = "CS6360C" PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_CS6364_C PatchedWritablePowerOutletRequestType = "CS6364C" @@ -107,6 +108,7 @@ const ( PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_MOLEX_MICRO_FIT_2X2 PatchedWritablePowerOutletRequestType = "molex-micro-fit-2x2" PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_MOLEX_MICRO_FIT_2X4 PatchedWritablePowerOutletRequestType = "molex-micro-fit-2x4" PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_DC_TERMINAL PatchedWritablePowerOutletRequestType = "dc-terminal" + PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_EATON_C39 PatchedWritablePowerOutletRequestType = "eaton-c39" PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_HDOT_CX PatchedWritablePowerOutletRequestType = "hdot-cx" PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_SAF_D_GRID PatchedWritablePowerOutletRequestType = "saf-d-grid" PATCHEDWRITABLEPOWEROUTLETREQUESTTYPE_NEUTRIK_POWERCON_20A PatchedWritablePowerOutletRequestType = "neutrik-powercon-20a" @@ -182,6 +184,7 @@ var AllowedPatchedWritablePowerOutletRequestTypeEnumValues = []PatchedWritablePo "nema-l15-60r", "nema-l21-20r", "nema-l21-30r", + "nema-l22-20r", "nema-l22-30r", "CS6360C", "CS6364C", @@ -208,6 +211,7 @@ var AllowedPatchedWritablePowerOutletRequestTypeEnumValues = []PatchedWritablePo "molex-micro-fit-2x2", "molex-micro-fit-2x4", "dc-terminal", + "eaton-c39", "hdot-cx", "saf-d-grid", "neutrik-powercon-20a", diff --git a/model_patched_writable_power_outlet_template_request.go b/model_patched_writable_power_outlet_template_request.go index 665ffab4e..80ef0044a 100644 --- a/model_patched_writable_power_outlet_template_request.go +++ b/model_patched_writable_power_outlet_template_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,14 +19,14 @@ var _ MappedNullable = &PatchedWritablePowerOutletTemplateRequest{} // PatchedWritablePowerOutletTemplateRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 PatchedWritablePowerOutletTemplateRequest struct { - DeviceType NullableDeviceTypeRequest `json:"device_type,omitempty"` - ModuleType NullableModuleTypeRequest `json:"module_type,omitempty"` + DeviceType NullableBriefDeviceTypeRequest `json:"device_type,omitempty"` + ModuleType NullableBriefModuleTypeRequest `json:"module_type,omitempty"` // {module} is accepted as a substitution for the module bay position when attached to a module type. Name *string `json:"name,omitempty"` // Physical label Label *string `json:"label,omitempty"` Type *PatchedWritablePowerOutletTemplateRequestType `json:"type,omitempty"` - PowerPort NullablePowerPortTemplateRequest `json:"power_port,omitempty"` + PowerPort NullableBriefPowerPortTemplateRequest `json:"power_port,omitempty"` FeedLeg *PatchedWritablePowerOutletRequestFeedLeg `json:"feed_leg,omitempty"` Description *string `json:"description,omitempty"` AdditionalProperties map[string]interface{} @@ -52,9 +52,9 @@ func NewPatchedWritablePowerOutletTemplateRequestWithDefaults() *PatchedWritable } // GetDeviceType returns the DeviceType field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritablePowerOutletTemplateRequest) GetDeviceType() DeviceTypeRequest { +func (o *PatchedWritablePowerOutletTemplateRequest) GetDeviceType() BriefDeviceTypeRequest { if o == nil || IsNil(o.DeviceType.Get()) { - var ret DeviceTypeRequest + var ret BriefDeviceTypeRequest return ret } return *o.DeviceType.Get() @@ -63,7 +63,7 @@ func (o *PatchedWritablePowerOutletTemplateRequest) GetDeviceType() DeviceTypeRe // GetDeviceTypeOk returns a tuple with the DeviceType 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 *PatchedWritablePowerOutletTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool) { +func (o *PatchedWritablePowerOutletTemplateRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool) { if o == nil { return nil, false } @@ -79,8 +79,8 @@ func (o *PatchedWritablePowerOutletTemplateRequest) HasDeviceType() bool { return false } -// SetDeviceType gets a reference to the given NullableDeviceTypeRequest and assigns it to the DeviceType field. -func (o *PatchedWritablePowerOutletTemplateRequest) SetDeviceType(v DeviceTypeRequest) { +// SetDeviceType gets a reference to the given NullableBriefDeviceTypeRequest and assigns it to the DeviceType field. +func (o *PatchedWritablePowerOutletTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest) { o.DeviceType.Set(&v) } @@ -95,9 +95,9 @@ func (o *PatchedWritablePowerOutletTemplateRequest) UnsetDeviceType() { } // GetModuleType returns the ModuleType field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritablePowerOutletTemplateRequest) GetModuleType() ModuleTypeRequest { +func (o *PatchedWritablePowerOutletTemplateRequest) GetModuleType() BriefModuleTypeRequest { if o == nil || IsNil(o.ModuleType.Get()) { - var ret ModuleTypeRequest + var ret BriefModuleTypeRequest return ret } return *o.ModuleType.Get() @@ -106,7 +106,7 @@ func (o *PatchedWritablePowerOutletTemplateRequest) GetModuleType() ModuleTypeRe // GetModuleTypeOk returns a tuple with the ModuleType 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 *PatchedWritablePowerOutletTemplateRequest) GetModuleTypeOk() (*ModuleTypeRequest, bool) { +func (o *PatchedWritablePowerOutletTemplateRequest) GetModuleTypeOk() (*BriefModuleTypeRequest, bool) { if o == nil { return nil, false } @@ -122,8 +122,8 @@ func (o *PatchedWritablePowerOutletTemplateRequest) HasModuleType() bool { return false } -// SetModuleType gets a reference to the given NullableModuleTypeRequest and assigns it to the ModuleType field. -func (o *PatchedWritablePowerOutletTemplateRequest) SetModuleType(v ModuleTypeRequest) { +// SetModuleType gets a reference to the given NullableBriefModuleTypeRequest and assigns it to the ModuleType field. +func (o *PatchedWritablePowerOutletTemplateRequest) SetModuleType(v BriefModuleTypeRequest) { o.ModuleType.Set(&v) } @@ -234,9 +234,9 @@ func (o *PatchedWritablePowerOutletTemplateRequest) SetType(v PatchedWritablePow } // GetPowerPort returns the PowerPort field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritablePowerOutletTemplateRequest) GetPowerPort() PowerPortTemplateRequest { +func (o *PatchedWritablePowerOutletTemplateRequest) GetPowerPort() BriefPowerPortTemplateRequest { if o == nil || IsNil(o.PowerPort.Get()) { - var ret PowerPortTemplateRequest + var ret BriefPowerPortTemplateRequest return ret } return *o.PowerPort.Get() @@ -245,7 +245,7 @@ func (o *PatchedWritablePowerOutletTemplateRequest) GetPowerPort() PowerPortTemp // GetPowerPortOk returns a tuple with the PowerPort 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 *PatchedWritablePowerOutletTemplateRequest) GetPowerPortOk() (*PowerPortTemplateRequest, bool) { +func (o *PatchedWritablePowerOutletTemplateRequest) GetPowerPortOk() (*BriefPowerPortTemplateRequest, bool) { if o == nil { return nil, false } @@ -261,8 +261,8 @@ func (o *PatchedWritablePowerOutletTemplateRequest) HasPowerPort() bool { return false } -// SetPowerPort gets a reference to the given NullablePowerPortTemplateRequest and assigns it to the PowerPort field. -func (o *PatchedWritablePowerOutletTemplateRequest) SetPowerPort(v PowerPortTemplateRequest) { +// SetPowerPort gets a reference to the given NullableBriefPowerPortTemplateRequest and assigns it to the PowerPort field. +func (o *PatchedWritablePowerOutletTemplateRequest) SetPowerPort(v BriefPowerPortTemplateRequest) { o.PowerPort.Set(&v) } diff --git a/model_patched_writable_power_outlet_template_request_type.go b/model_patched_writable_power_outlet_template_request_type.go index 1ca291711..c34151d24 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 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,7 +15,7 @@ import ( "fmt" ) -// PatchedWritablePowerOutletTemplateRequestType * `iec-60320-c5` - C5 * `iec-60320-c7` - C7 * `iec-60320-c13` - C13 * `iec-60320-c15` - C15 * `iec-60320-c19` - C19 * `iec-60320-c21` - C21 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15r` - NEMA 1-15R * `nema-5-15r` - NEMA 5-15R * `nema-5-20r` - NEMA 5-20R * `nema-5-30r` - NEMA 5-30R * `nema-5-50r` - NEMA 5-50R * `nema-6-15r` - NEMA 6-15R * `nema-6-20r` - NEMA 6-20R * `nema-6-30r` - NEMA 6-30R * `nema-6-50r` - NEMA 6-50R * `nema-10-30r` - NEMA 10-30R * `nema-10-50r` - NEMA 10-50R * `nema-14-20r` - NEMA 14-20R * `nema-14-30r` - NEMA 14-30R * `nema-14-50r` - NEMA 14-50R * `nema-14-60r` - NEMA 14-60R * `nema-15-15r` - NEMA 15-15R * `nema-15-20r` - NEMA 15-20R * `nema-15-30r` - NEMA 15-30R * `nema-15-50r` - NEMA 15-50R * `nema-15-60r` - NEMA 15-60R * `nema-l1-15r` - NEMA L1-15R * `nema-l5-15r` - NEMA L5-15R * `nema-l5-20r` - NEMA L5-20R * `nema-l5-30r` - NEMA L5-30R * `nema-l5-50r` - NEMA L5-50R * `nema-l6-15r` - NEMA L6-15R * `nema-l6-20r` - NEMA L6-20R * `nema-l6-30r` - NEMA L6-30R * `nema-l6-50r` - NEMA L6-50R * `nema-l10-30r` - NEMA L10-30R * `nema-l14-20r` - NEMA L14-20R * `nema-l14-30r` - NEMA L14-30R * `nema-l14-50r` - NEMA L14-50R * `nema-l14-60r` - NEMA L14-60R * `nema-l15-20r` - NEMA L15-20R * `nema-l15-30r` - NEMA L15-30R * `nema-l15-50r` - NEMA L15-50R * `nema-l15-60r` - NEMA L15-60R * `nema-l21-20r` - NEMA L21-20R * `nema-l21-30r` - NEMA L21-30R * `nema-l22-30r` - NEMA L22-30R * `CS6360C` - CS6360C * `CS6364C` - CS6364C * `CS8164C` - CS8164C * `CS8264C` - CS8264C * `CS8364C` - CS8364C * `CS8464C` - CS8464C * `ita-e` - ITA Type E (CEE 7/5) * `ita-f` - ITA Type F (CEE 7/3) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `ita-multistandard` - ITA Multistandard * `usb-a` - USB Type A * `usb-micro-b` - USB Micro B * `usb-c` - USB Type C * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `hdot-cx` - HDOT Cx * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20a` - Neutrik powerCON (20A) * `neutrik-powercon-32a` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other +// PatchedWritablePowerOutletTemplateRequestType * `iec-60320-c5` - C5 * `iec-60320-c7` - C7 * `iec-60320-c13` - C13 * `iec-60320-c15` - C15 * `iec-60320-c19` - C19 * `iec-60320-c21` - C21 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15r` - NEMA 1-15R * `nema-5-15r` - NEMA 5-15R * `nema-5-20r` - NEMA 5-20R * `nema-5-30r` - NEMA 5-30R * `nema-5-50r` - NEMA 5-50R * `nema-6-15r` - NEMA 6-15R * `nema-6-20r` - NEMA 6-20R * `nema-6-30r` - NEMA 6-30R * `nema-6-50r` - NEMA 6-50R * `nema-10-30r` - NEMA 10-30R * `nema-10-50r` - NEMA 10-50R * `nema-14-20r` - NEMA 14-20R * `nema-14-30r` - NEMA 14-30R * `nema-14-50r` - NEMA 14-50R * `nema-14-60r` - NEMA 14-60R * `nema-15-15r` - NEMA 15-15R * `nema-15-20r` - NEMA 15-20R * `nema-15-30r` - NEMA 15-30R * `nema-15-50r` - NEMA 15-50R * `nema-15-60r` - NEMA 15-60R * `nema-l1-15r` - NEMA L1-15R * `nema-l5-15r` - NEMA L5-15R * `nema-l5-20r` - NEMA L5-20R * `nema-l5-30r` - NEMA L5-30R * `nema-l5-50r` - NEMA L5-50R * `nema-l6-15r` - NEMA L6-15R * `nema-l6-20r` - NEMA L6-20R * `nema-l6-30r` - NEMA L6-30R * `nema-l6-50r` - NEMA L6-50R * `nema-l10-30r` - NEMA L10-30R * `nema-l14-20r` - NEMA L14-20R * `nema-l14-30r` - NEMA L14-30R * `nema-l14-50r` - NEMA L14-50R * `nema-l14-60r` - NEMA L14-60R * `nema-l15-20r` - NEMA L15-20R * `nema-l15-30r` - NEMA L15-30R * `nema-l15-50r` - NEMA L15-50R * `nema-l15-60r` - NEMA L15-60R * `nema-l21-20r` - NEMA L21-20R * `nema-l21-30r` - NEMA L21-30R * `nema-l22-20r` - NEMA L22-20R * `nema-l22-30r` - NEMA L22-30R * `CS6360C` - CS6360C * `CS6364C` - CS6364C * `CS8164C` - CS8164C * `CS8264C` - CS8264C * `CS8364C` - CS8364C * `CS8464C` - CS8464C * `ita-e` - ITA Type E (CEE 7/5) * `ita-f` - ITA Type F (CEE 7/3) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `ita-multistandard` - ITA Multistandard * `usb-a` - USB Type A * `usb-micro-b` - USB Micro B * `usb-c` - USB Type C * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `eaton-c39` - Eaton C39 * `hdot-cx` - HDOT Cx * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20a` - Neutrik powerCON (20A) * `neutrik-powercon-32a` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other type PatchedWritablePowerOutletTemplateRequestType string // List of PatchedWritablePowerOutletTemplateRequest_type @@ -81,6 +81,7 @@ const ( 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_20R PatchedWritablePowerOutletTemplateRequestType = "nema-l22-20r" PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_NEMA_L22_30R PatchedWritablePowerOutletTemplateRequestType = "nema-l22-30r" PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_CS6360_C PatchedWritablePowerOutletTemplateRequestType = "CS6360C" PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_CS6364_C PatchedWritablePowerOutletTemplateRequestType = "CS6364C" @@ -107,6 +108,7 @@ const ( PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_MOLEX_MICRO_FIT_2X2 PatchedWritablePowerOutletTemplateRequestType = "molex-micro-fit-2x2" PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_MOLEX_MICRO_FIT_2X4 PatchedWritablePowerOutletTemplateRequestType = "molex-micro-fit-2x4" PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_DC_TERMINAL PatchedWritablePowerOutletTemplateRequestType = "dc-terminal" + PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_EATON_C39 PatchedWritablePowerOutletTemplateRequestType = "eaton-c39" PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_HDOT_CX PatchedWritablePowerOutletTemplateRequestType = "hdot-cx" PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_SAF_D_GRID PatchedWritablePowerOutletTemplateRequestType = "saf-d-grid" PATCHEDWRITABLEPOWEROUTLETTEMPLATEREQUESTTYPE_NEUTRIK_POWERCON_20A PatchedWritablePowerOutletTemplateRequestType = "neutrik-powercon-20a" @@ -182,6 +184,7 @@ var AllowedPatchedWritablePowerOutletTemplateRequestTypeEnumValues = []PatchedWr "nema-l15-60r", "nema-l21-20r", "nema-l21-30r", + "nema-l22-20r", "nema-l22-30r", "CS6360C", "CS6364C", @@ -208,6 +211,7 @@ var AllowedPatchedWritablePowerOutletTemplateRequestTypeEnumValues = []PatchedWr "molex-micro-fit-2x2", "molex-micro-fit-2x4", "dc-terminal", + "eaton-c39", "hdot-cx", "saf-d-grid", "neutrik-powercon-20a", diff --git a/model_patched_writable_power_port_request.go b/model_patched_writable_power_port_request.go index 1df1cacd1..1faabf73c 100644 --- a/model_patched_writable_power_port_request.go +++ b/model_patched_writable_power_port_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,9 +19,9 @@ var _ MappedNullable = &PatchedWritablePowerPortRequest{} // PatchedWritablePowerPortRequest Adds support for custom fields and tags. type PatchedWritablePowerPortRequest struct { - Device *DeviceRequest `json:"device,omitempty"` - Module NullableModuleRequest `json:"module,omitempty"` - Name *string `json:"name,omitempty"` + Device *BriefDeviceRequest `json:"device,omitempty"` + Module NullableBriefModuleRequest `json:"module,omitempty"` + Name *string `json:"name,omitempty"` // Physical label Label *string `json:"label,omitempty"` Type *PatchedWritablePowerPortRequestType `json:"type,omitempty"` @@ -57,9 +57,9 @@ func NewPatchedWritablePowerPortRequestWithDefaults() *PatchedWritablePowerPortR } // GetDevice returns the Device field value if set, zero value otherwise. -func (o *PatchedWritablePowerPortRequest) GetDevice() DeviceRequest { +func (o *PatchedWritablePowerPortRequest) GetDevice() BriefDeviceRequest { if o == nil || IsNil(o.Device) { - var ret DeviceRequest + var ret BriefDeviceRequest return ret } return *o.Device @@ -67,7 +67,7 @@ func (o *PatchedWritablePowerPortRequest) GetDevice() DeviceRequest { // 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 *PatchedWritablePowerPortRequest) GetDeviceOk() (*DeviceRequest, bool) { +func (o *PatchedWritablePowerPortRequest) GetDeviceOk() (*BriefDeviceRequest, bool) { if o == nil || IsNil(o.Device) { return nil, false } @@ -83,15 +83,15 @@ func (o *PatchedWritablePowerPortRequest) HasDevice() bool { return false } -// SetDevice gets a reference to the given DeviceRequest and assigns it to the Device field. -func (o *PatchedWritablePowerPortRequest) SetDevice(v DeviceRequest) { +// SetDevice gets a reference to the given BriefDeviceRequest and assigns it to the Device field. +func (o *PatchedWritablePowerPortRequest) SetDevice(v BriefDeviceRequest) { o.Device = &v } // GetModule returns the Module field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritablePowerPortRequest) GetModule() ModuleRequest { +func (o *PatchedWritablePowerPortRequest) GetModule() BriefModuleRequest { if o == nil || IsNil(o.Module.Get()) { - var ret ModuleRequest + var ret BriefModuleRequest return ret } return *o.Module.Get() @@ -100,7 +100,7 @@ func (o *PatchedWritablePowerPortRequest) GetModule() ModuleRequest { // GetModuleOk returns a tuple with the Module 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 *PatchedWritablePowerPortRequest) GetModuleOk() (*ModuleRequest, bool) { +func (o *PatchedWritablePowerPortRequest) GetModuleOk() (*BriefModuleRequest, bool) { if o == nil { return nil, false } @@ -116,8 +116,8 @@ func (o *PatchedWritablePowerPortRequest) HasModule() bool { return false } -// SetModule gets a reference to the given NullableModuleRequest and assigns it to the Module field. -func (o *PatchedWritablePowerPortRequest) SetModule(v ModuleRequest) { +// SetModule gets a reference to the given NullableBriefModuleRequest and assigns it to the Module field. +func (o *PatchedWritablePowerPortRequest) SetModule(v BriefModuleRequest) { o.Module.Set(&v) } diff --git a/model_patched_writable_power_port_request_type.go b/model_patched_writable_power_port_request_type.go index fd8a265b0..6e4baec18 100644 --- a/model_patched_writable_power_port_request_type.go +++ b/model_patched_writable_power_port_request_type.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,7 +15,7 @@ import ( "fmt" ) -// PatchedWritablePowerPortRequestType Physical port type * `iec-60320-c6` - C6 * `iec-60320-c8` - C8 * `iec-60320-c14` - C14 * `iec-60320-c16` - C16 * `iec-60320-c20` - C20 * `iec-60320-c22` - C22 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15p` - NEMA 1-15P * `nema-5-15p` - NEMA 5-15P * `nema-5-20p` - NEMA 5-20P * `nema-5-30p` - NEMA 5-30P * `nema-5-50p` - NEMA 5-50P * `nema-6-15p` - NEMA 6-15P * `nema-6-20p` - NEMA 6-20P * `nema-6-30p` - NEMA 6-30P * `nema-6-50p` - NEMA 6-50P * `nema-10-30p` - NEMA 10-30P * `nema-10-50p` - NEMA 10-50P * `nema-14-20p` - NEMA 14-20P * `nema-14-30p` - NEMA 14-30P * `nema-14-50p` - NEMA 14-50P * `nema-14-60p` - NEMA 14-60P * `nema-15-15p` - NEMA 15-15P * `nema-15-20p` - NEMA 15-20P * `nema-15-30p` - NEMA 15-30P * `nema-15-50p` - NEMA 15-50P * `nema-15-60p` - NEMA 15-60P * `nema-l1-15p` - NEMA L1-15P * `nema-l5-15p` - NEMA L5-15P * `nema-l5-20p` - NEMA L5-20P * `nema-l5-30p` - NEMA L5-30P * `nema-l5-50p` - NEMA L5-50P * `nema-l6-15p` - NEMA L6-15P * `nema-l6-20p` - NEMA L6-20P * `nema-l6-30p` - NEMA L6-30P * `nema-l6-50p` - NEMA L6-50P * `nema-l10-30p` - NEMA L10-30P * `nema-l14-20p` - NEMA L14-20P * `nema-l14-30p` - NEMA L14-30P * `nema-l14-50p` - NEMA L14-50P * `nema-l14-60p` - NEMA L14-60P * `nema-l15-20p` - NEMA L15-20P * `nema-l15-30p` - NEMA L15-30P * `nema-l15-50p` - NEMA L15-50P * `nema-l15-60p` - NEMA L15-60P * `nema-l21-20p` - NEMA L21-20P * `nema-l21-30p` - NEMA L21-30P * `nema-l22-30p` - NEMA L22-30P * `cs6361c` - CS6361C * `cs6365c` - CS6365C * `cs8165c` - CS8165C * `cs8265c` - CS8265C * `cs8365c` - CS8365C * `cs8465c` - CS8465C * `ita-c` - ITA Type C (CEE 7/16) * `ita-e` - ITA Type E (CEE 7/6) * `ita-f` - ITA Type F (CEE 7/4) * `ita-ef` - ITA Type E/F (CEE 7/7) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `usb-3-b` - USB 3.0 Type B * `usb-3-micro-b` - USB 3.0 Micro B * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20` - Neutrik powerCON (20A) * `neutrik-powercon-32` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other +// PatchedWritablePowerPortRequestType Physical port type * `iec-60320-c6` - C6 * `iec-60320-c8` - C8 * `iec-60320-c14` - C14 * `iec-60320-c16` - C16 * `iec-60320-c20` - C20 * `iec-60320-c22` - C22 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15p` - NEMA 1-15P * `nema-5-15p` - NEMA 5-15P * `nema-5-20p` - NEMA 5-20P * `nema-5-30p` - NEMA 5-30P * `nema-5-50p` - NEMA 5-50P * `nema-6-15p` - NEMA 6-15P * `nema-6-20p` - NEMA 6-20P * `nema-6-30p` - NEMA 6-30P * `nema-6-50p` - NEMA 6-50P * `nema-10-30p` - NEMA 10-30P * `nema-10-50p` - NEMA 10-50P * `nema-14-20p` - NEMA 14-20P * `nema-14-30p` - NEMA 14-30P * `nema-14-50p` - NEMA 14-50P * `nema-14-60p` - NEMA 14-60P * `nema-15-15p` - NEMA 15-15P * `nema-15-20p` - NEMA 15-20P * `nema-15-30p` - NEMA 15-30P * `nema-15-50p` - NEMA 15-50P * `nema-15-60p` - NEMA 15-60P * `nema-l1-15p` - NEMA L1-15P * `nema-l5-15p` - NEMA L5-15P * `nema-l5-20p` - NEMA L5-20P * `nema-l5-30p` - NEMA L5-30P * `nema-l5-50p` - NEMA L5-50P * `nema-l6-15p` - NEMA L6-15P * `nema-l6-20p` - NEMA L6-20P * `nema-l6-30p` - NEMA L6-30P * `nema-l6-50p` - NEMA L6-50P * `nema-l10-30p` - NEMA L10-30P * `nema-l14-20p` - NEMA L14-20P * `nema-l14-30p` - NEMA L14-30P * `nema-l14-50p` - NEMA L14-50P * `nema-l14-60p` - NEMA L14-60P * `nema-l15-20p` - NEMA L15-20P * `nema-l15-30p` - NEMA L15-30P * `nema-l15-50p` - NEMA L15-50P * `nema-l15-60p` - NEMA L15-60P * `nema-l21-20p` - NEMA L21-20P * `nema-l21-30p` - NEMA L21-30P * `nema-l22-20p` - NEMA L22-20P * `nema-l22-30p` - NEMA L22-30P * `cs6361c` - CS6361C * `cs6365c` - CS6365C * `cs8165c` - CS8165C * `cs8265c` - CS8265C * `cs8365c` - CS8365C * `cs8465c` - CS8465C * `ita-c` - ITA Type C (CEE 7/16) * `ita-e` - ITA Type E (CEE 7/6) * `ita-f` - ITA Type F (CEE 7/4) * `ita-ef` - ITA Type E/F (CEE 7/7) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `usb-3-b` - USB 3.0 Type B * `usb-3-micro-b` - USB 3.0 Micro B * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20` - Neutrik powerCON (20A) * `neutrik-powercon-32` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other type PatchedWritablePowerPortRequestType string // List of PatchedWritablePowerPortRequest_type @@ -81,6 +81,7 @@ const ( 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_20P PatchedWritablePowerPortRequestType = "nema-l22-20p" PATCHEDWRITABLEPOWERPORTREQUESTTYPE_NEMA_L22_30P PatchedWritablePowerPortRequestType = "nema-l22-30p" PATCHEDWRITABLEPOWERPORTREQUESTTYPE_CS6361C PatchedWritablePowerPortRequestType = "cs6361c" PATCHEDWRITABLEPOWERPORTREQUESTTYPE_CS6365C PatchedWritablePowerPortRequestType = "cs6365c" @@ -189,6 +190,7 @@ var AllowedPatchedWritablePowerPortRequestTypeEnumValues = []PatchedWritablePowe "nema-l15-60p", "nema-l21-20p", "nema-l21-30p", + "nema-l22-20p", "nema-l22-30p", "cs6361c", "cs6365c", diff --git a/model_patched_writable_power_port_template_request.go b/model_patched_writable_power_port_template_request.go index 6598158be..b8659cf8a 100644 --- a/model_patched_writable_power_port_template_request.go +++ b/model_patched_writable_power_port_template_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,8 +19,8 @@ var _ MappedNullable = &PatchedWritablePowerPortTemplateRequest{} // PatchedWritablePowerPortTemplateRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 PatchedWritablePowerPortTemplateRequest struct { - DeviceType NullableDeviceTypeRequest `json:"device_type,omitempty"` - ModuleType NullableModuleTypeRequest `json:"module_type,omitempty"` + DeviceType NullableBriefDeviceTypeRequest `json:"device_type,omitempty"` + ModuleType NullableBriefModuleTypeRequest `json:"module_type,omitempty"` // {module} is accepted as a substitution for the module bay position when attached to a module type. Name *string `json:"name,omitempty"` // Physical label @@ -54,9 +54,9 @@ func NewPatchedWritablePowerPortTemplateRequestWithDefaults() *PatchedWritablePo } // GetDeviceType returns the DeviceType field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritablePowerPortTemplateRequest) GetDeviceType() DeviceTypeRequest { +func (o *PatchedWritablePowerPortTemplateRequest) GetDeviceType() BriefDeviceTypeRequest { if o == nil || IsNil(o.DeviceType.Get()) { - var ret DeviceTypeRequest + var ret BriefDeviceTypeRequest return ret } return *o.DeviceType.Get() @@ -65,7 +65,7 @@ func (o *PatchedWritablePowerPortTemplateRequest) GetDeviceType() DeviceTypeRequ // GetDeviceTypeOk returns a tuple with the DeviceType 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 *PatchedWritablePowerPortTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool) { +func (o *PatchedWritablePowerPortTemplateRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool) { if o == nil { return nil, false } @@ -81,8 +81,8 @@ func (o *PatchedWritablePowerPortTemplateRequest) HasDeviceType() bool { return false } -// SetDeviceType gets a reference to the given NullableDeviceTypeRequest and assigns it to the DeviceType field. -func (o *PatchedWritablePowerPortTemplateRequest) SetDeviceType(v DeviceTypeRequest) { +// SetDeviceType gets a reference to the given NullableBriefDeviceTypeRequest and assigns it to the DeviceType field. +func (o *PatchedWritablePowerPortTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest) { o.DeviceType.Set(&v) } @@ -97,9 +97,9 @@ func (o *PatchedWritablePowerPortTemplateRequest) UnsetDeviceType() { } // GetModuleType returns the ModuleType field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritablePowerPortTemplateRequest) GetModuleType() ModuleTypeRequest { +func (o *PatchedWritablePowerPortTemplateRequest) GetModuleType() BriefModuleTypeRequest { if o == nil || IsNil(o.ModuleType.Get()) { - var ret ModuleTypeRequest + var ret BriefModuleTypeRequest return ret } return *o.ModuleType.Get() @@ -108,7 +108,7 @@ func (o *PatchedWritablePowerPortTemplateRequest) GetModuleType() ModuleTypeRequ // GetModuleTypeOk returns a tuple with the ModuleType 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 *PatchedWritablePowerPortTemplateRequest) GetModuleTypeOk() (*ModuleTypeRequest, bool) { +func (o *PatchedWritablePowerPortTemplateRequest) GetModuleTypeOk() (*BriefModuleTypeRequest, bool) { if o == nil { return nil, false } @@ -124,8 +124,8 @@ func (o *PatchedWritablePowerPortTemplateRequest) HasModuleType() bool { return false } -// SetModuleType gets a reference to the given NullableModuleTypeRequest and assigns it to the ModuleType field. -func (o *PatchedWritablePowerPortTemplateRequest) SetModuleType(v ModuleTypeRequest) { +// SetModuleType gets a reference to the given NullableBriefModuleTypeRequest and assigns it to the ModuleType field. +func (o *PatchedWritablePowerPortTemplateRequest) SetModuleType(v BriefModuleTypeRequest) { o.ModuleType.Set(&v) } diff --git a/model_patched_writable_power_port_template_request_type.go b/model_patched_writable_power_port_template_request_type.go index 554ee3f09..a156a091e 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 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,7 +15,7 @@ import ( "fmt" ) -// PatchedWritablePowerPortTemplateRequestType * `iec-60320-c6` - C6 * `iec-60320-c8` - C8 * `iec-60320-c14` - C14 * `iec-60320-c16` - C16 * `iec-60320-c20` - C20 * `iec-60320-c22` - C22 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15p` - NEMA 1-15P * `nema-5-15p` - NEMA 5-15P * `nema-5-20p` - NEMA 5-20P * `nema-5-30p` - NEMA 5-30P * `nema-5-50p` - NEMA 5-50P * `nema-6-15p` - NEMA 6-15P * `nema-6-20p` - NEMA 6-20P * `nema-6-30p` - NEMA 6-30P * `nema-6-50p` - NEMA 6-50P * `nema-10-30p` - NEMA 10-30P * `nema-10-50p` - NEMA 10-50P * `nema-14-20p` - NEMA 14-20P * `nema-14-30p` - NEMA 14-30P * `nema-14-50p` - NEMA 14-50P * `nema-14-60p` - NEMA 14-60P * `nema-15-15p` - NEMA 15-15P * `nema-15-20p` - NEMA 15-20P * `nema-15-30p` - NEMA 15-30P * `nema-15-50p` - NEMA 15-50P * `nema-15-60p` - NEMA 15-60P * `nema-l1-15p` - NEMA L1-15P * `nema-l5-15p` - NEMA L5-15P * `nema-l5-20p` - NEMA L5-20P * `nema-l5-30p` - NEMA L5-30P * `nema-l5-50p` - NEMA L5-50P * `nema-l6-15p` - NEMA L6-15P * `nema-l6-20p` - NEMA L6-20P * `nema-l6-30p` - NEMA L6-30P * `nema-l6-50p` - NEMA L6-50P * `nema-l10-30p` - NEMA L10-30P * `nema-l14-20p` - NEMA L14-20P * `nema-l14-30p` - NEMA L14-30P * `nema-l14-50p` - NEMA L14-50P * `nema-l14-60p` - NEMA L14-60P * `nema-l15-20p` - NEMA L15-20P * `nema-l15-30p` - NEMA L15-30P * `nema-l15-50p` - NEMA L15-50P * `nema-l15-60p` - NEMA L15-60P * `nema-l21-20p` - NEMA L21-20P * `nema-l21-30p` - NEMA L21-30P * `nema-l22-30p` - NEMA L22-30P * `cs6361c` - CS6361C * `cs6365c` - CS6365C * `cs8165c` - CS8165C * `cs8265c` - CS8265C * `cs8365c` - CS8365C * `cs8465c` - CS8465C * `ita-c` - ITA Type C (CEE 7/16) * `ita-e` - ITA Type E (CEE 7/6) * `ita-f` - ITA Type F (CEE 7/4) * `ita-ef` - ITA Type E/F (CEE 7/7) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `usb-3-b` - USB 3.0 Type B * `usb-3-micro-b` - USB 3.0 Micro B * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20` - Neutrik powerCON (20A) * `neutrik-powercon-32` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other +// PatchedWritablePowerPortTemplateRequestType * `iec-60320-c6` - C6 * `iec-60320-c8` - C8 * `iec-60320-c14` - C14 * `iec-60320-c16` - C16 * `iec-60320-c20` - C20 * `iec-60320-c22` - C22 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15p` - NEMA 1-15P * `nema-5-15p` - NEMA 5-15P * `nema-5-20p` - NEMA 5-20P * `nema-5-30p` - NEMA 5-30P * `nema-5-50p` - NEMA 5-50P * `nema-6-15p` - NEMA 6-15P * `nema-6-20p` - NEMA 6-20P * `nema-6-30p` - NEMA 6-30P * `nema-6-50p` - NEMA 6-50P * `nema-10-30p` - NEMA 10-30P * `nema-10-50p` - NEMA 10-50P * `nema-14-20p` - NEMA 14-20P * `nema-14-30p` - NEMA 14-30P * `nema-14-50p` - NEMA 14-50P * `nema-14-60p` - NEMA 14-60P * `nema-15-15p` - NEMA 15-15P * `nema-15-20p` - NEMA 15-20P * `nema-15-30p` - NEMA 15-30P * `nema-15-50p` - NEMA 15-50P * `nema-15-60p` - NEMA 15-60P * `nema-l1-15p` - NEMA L1-15P * `nema-l5-15p` - NEMA L5-15P * `nema-l5-20p` - NEMA L5-20P * `nema-l5-30p` - NEMA L5-30P * `nema-l5-50p` - NEMA L5-50P * `nema-l6-15p` - NEMA L6-15P * `nema-l6-20p` - NEMA L6-20P * `nema-l6-30p` - NEMA L6-30P * `nema-l6-50p` - NEMA L6-50P * `nema-l10-30p` - NEMA L10-30P * `nema-l14-20p` - NEMA L14-20P * `nema-l14-30p` - NEMA L14-30P * `nema-l14-50p` - NEMA L14-50P * `nema-l14-60p` - NEMA L14-60P * `nema-l15-20p` - NEMA L15-20P * `nema-l15-30p` - NEMA L15-30P * `nema-l15-50p` - NEMA L15-50P * `nema-l15-60p` - NEMA L15-60P * `nema-l21-20p` - NEMA L21-20P * `nema-l21-30p` - NEMA L21-30P * `nema-l22-20p` - NEMA L22-20P * `nema-l22-30p` - NEMA L22-30P * `cs6361c` - CS6361C * `cs6365c` - CS6365C * `cs8165c` - CS8165C * `cs8265c` - CS8265C * `cs8365c` - CS8365C * `cs8465c` - CS8465C * `ita-c` - ITA Type C (CEE 7/16) * `ita-e` - ITA Type E (CEE 7/6) * `ita-f` - ITA Type F (CEE 7/4) * `ita-ef` - ITA Type E/F (CEE 7/7) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `usb-3-b` - USB 3.0 Type B * `usb-3-micro-b` - USB 3.0 Micro B * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20` - Neutrik powerCON (20A) * `neutrik-powercon-32` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other type PatchedWritablePowerPortTemplateRequestType string // List of PatchedWritablePowerPortTemplateRequest_type @@ -81,6 +81,7 @@ const ( 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_20P PatchedWritablePowerPortTemplateRequestType = "nema-l22-20p" PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_NEMA_L22_30P PatchedWritablePowerPortTemplateRequestType = "nema-l22-30p" PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_CS6361C PatchedWritablePowerPortTemplateRequestType = "cs6361c" PATCHEDWRITABLEPOWERPORTTEMPLATEREQUESTTYPE_CS6365C PatchedWritablePowerPortTemplateRequestType = "cs6365c" @@ -189,6 +190,7 @@ var AllowedPatchedWritablePowerPortTemplateRequestTypeEnumValues = []PatchedWrit "nema-l15-60p", "nema-l21-20p", "nema-l21-30p", + "nema-l22-20p", "nema-l22-30p", "cs6361c", "cs6365c", diff --git a/model_patched_writable_prefix_request.go b/model_patched_writable_prefix_request.go index 4f5dc38b7..7d779be17 100644 --- a/model_patched_writable_prefix_request.go +++ b/model_patched_writable_prefix_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,12 +20,12 @@ var _ MappedNullable = &PatchedWritablePrefixRequest{} // PatchedWritablePrefixRequest Adds support for custom fields and tags. type PatchedWritablePrefixRequest struct { Prefix *string `json:"prefix,omitempty"` - Site NullableSiteRequest `json:"site,omitempty"` - Vrf NullableVRFRequest `json:"vrf,omitempty"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` - Vlan NullableVLANRequest `json:"vlan,omitempty"` + Site NullableBriefSiteRequest `json:"site,omitempty"` + Vrf NullableBriefVRFRequest `json:"vrf,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` + Vlan NullableBriefVLANRequest `json:"vlan,omitempty"` Status *PatchedWritablePrefixRequestStatus `json:"status,omitempty"` - Role NullableRoleRequest `json:"role,omitempty"` + Role NullableBriefRoleRequest `json:"role,omitempty"` // All IP addresses within this prefix are considered usable IsPool *bool `json:"is_pool,omitempty"` // Treat as fully utilized @@ -89,9 +89,9 @@ func (o *PatchedWritablePrefixRequest) SetPrefix(v string) { } // GetSite returns the Site field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritablePrefixRequest) GetSite() SiteRequest { +func (o *PatchedWritablePrefixRequest) GetSite() BriefSiteRequest { if o == nil || IsNil(o.Site.Get()) { - var ret SiteRequest + var ret BriefSiteRequest return ret } return *o.Site.Get() @@ -100,7 +100,7 @@ func (o *PatchedWritablePrefixRequest) GetSite() SiteRequest { // GetSiteOk returns a tuple with the Site 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 *PatchedWritablePrefixRequest) GetSiteOk() (*SiteRequest, bool) { +func (o *PatchedWritablePrefixRequest) GetSiteOk() (*BriefSiteRequest, bool) { if o == nil { return nil, false } @@ -116,8 +116,8 @@ func (o *PatchedWritablePrefixRequest) HasSite() bool { return false } -// SetSite gets a reference to the given NullableSiteRequest and assigns it to the Site field. -func (o *PatchedWritablePrefixRequest) SetSite(v SiteRequest) { +// SetSite gets a reference to the given NullableBriefSiteRequest and assigns it to the Site field. +func (o *PatchedWritablePrefixRequest) SetSite(v BriefSiteRequest) { o.Site.Set(&v) } @@ -132,9 +132,9 @@ func (o *PatchedWritablePrefixRequest) UnsetSite() { } // GetVrf returns the Vrf field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritablePrefixRequest) GetVrf() VRFRequest { +func (o *PatchedWritablePrefixRequest) GetVrf() BriefVRFRequest { if o == nil || IsNil(o.Vrf.Get()) { - var ret VRFRequest + var ret BriefVRFRequest return ret } return *o.Vrf.Get() @@ -143,7 +143,7 @@ func (o *PatchedWritablePrefixRequest) GetVrf() VRFRequest { // GetVrfOk returns a tuple with the Vrf 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 *PatchedWritablePrefixRequest) GetVrfOk() (*VRFRequest, bool) { +func (o *PatchedWritablePrefixRequest) GetVrfOk() (*BriefVRFRequest, bool) { if o == nil { return nil, false } @@ -159,8 +159,8 @@ func (o *PatchedWritablePrefixRequest) HasVrf() bool { return false } -// SetVrf gets a reference to the given NullableVRFRequest and assigns it to the Vrf field. -func (o *PatchedWritablePrefixRequest) SetVrf(v VRFRequest) { +// SetVrf gets a reference to the given NullableBriefVRFRequest and assigns it to the Vrf field. +func (o *PatchedWritablePrefixRequest) SetVrf(v BriefVRFRequest) { o.Vrf.Set(&v) } @@ -175,9 +175,9 @@ func (o *PatchedWritablePrefixRequest) UnsetVrf() { } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritablePrefixRequest) GetTenant() TenantRequest { +func (o *PatchedWritablePrefixRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -186,7 +186,7 @@ func (o *PatchedWritablePrefixRequest) GetTenant() TenantRequest { // 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 *PatchedWritablePrefixRequest) GetTenantOk() (*TenantRequest, bool) { +func (o *PatchedWritablePrefixRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -202,8 +202,8 @@ func (o *PatchedWritablePrefixRequest) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *PatchedWritablePrefixRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *PatchedWritablePrefixRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } @@ -218,9 +218,9 @@ func (o *PatchedWritablePrefixRequest) UnsetTenant() { } // GetVlan returns the Vlan field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritablePrefixRequest) GetVlan() VLANRequest { +func (o *PatchedWritablePrefixRequest) GetVlan() BriefVLANRequest { if o == nil || IsNil(o.Vlan.Get()) { - var ret VLANRequest + var ret BriefVLANRequest return ret } return *o.Vlan.Get() @@ -229,7 +229,7 @@ func (o *PatchedWritablePrefixRequest) GetVlan() VLANRequest { // 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 *PatchedWritablePrefixRequest) GetVlanOk() (*VLANRequest, bool) { +func (o *PatchedWritablePrefixRequest) GetVlanOk() (*BriefVLANRequest, bool) { if o == nil { return nil, false } @@ -245,8 +245,8 @@ func (o *PatchedWritablePrefixRequest) HasVlan() bool { return false } -// SetVlan gets a reference to the given NullableVLANRequest and assigns it to the Vlan field. -func (o *PatchedWritablePrefixRequest) SetVlan(v VLANRequest) { +// SetVlan gets a reference to the given NullableBriefVLANRequest and assigns it to the Vlan field. +func (o *PatchedWritablePrefixRequest) SetVlan(v BriefVLANRequest) { o.Vlan.Set(&v) } @@ -293,9 +293,9 @@ func (o *PatchedWritablePrefixRequest) SetStatus(v PatchedWritablePrefixRequestS } // GetRole returns the Role field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritablePrefixRequest) GetRole() RoleRequest { +func (o *PatchedWritablePrefixRequest) GetRole() BriefRoleRequest { if o == nil || IsNil(o.Role.Get()) { - var ret RoleRequest + var ret BriefRoleRequest return ret } return *o.Role.Get() @@ -304,7 +304,7 @@ func (o *PatchedWritablePrefixRequest) GetRole() RoleRequest { // 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 *PatchedWritablePrefixRequest) GetRoleOk() (*RoleRequest, bool) { +func (o *PatchedWritablePrefixRequest) GetRoleOk() (*BriefRoleRequest, bool) { if o == nil { return nil, false } @@ -320,8 +320,8 @@ func (o *PatchedWritablePrefixRequest) HasRole() bool { return false } -// SetRole gets a reference to the given NullableRoleRequest and assigns it to the Role field. -func (o *PatchedWritablePrefixRequest) SetRole(v RoleRequest) { +// SetRole gets a reference to the given NullableBriefRoleRequest and assigns it to the Role field. +func (o *PatchedWritablePrefixRequest) SetRole(v BriefRoleRequest) { o.Role.Set(&v) } diff --git a/model_patched_writable_prefix_request_status.go b/model_patched_writable_prefix_request_status.go index ecbeb236f..649354799 100644 --- a/model_patched_writable_prefix_request_status.go +++ b/model_patched_writable_prefix_request_status.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_writable_rack_request.go b/model_patched_writable_rack_request.go index 2b21e78d4..4de923795 100644 --- a/model_patched_writable_rack_request.go +++ b/model_patched_writable_rack_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,24 +21,25 @@ var _ MappedNullable = &PatchedWritableRackRequest{} type PatchedWritableRackRequest struct { Name *string `json:"name,omitempty"` FacilityId NullableString `json:"facility_id,omitempty"` - Site *SiteRequest `json:"site,omitempty"` - Location NullableLocationRequest `json:"location,omitempty"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` + Site *BriefSiteRequest `json:"site,omitempty"` + Location NullableBriefLocationRequest `json:"location,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` Status *PatchedWritableRackRequestStatus `json:"status,omitempty"` - Role NullableRackRoleRequest `json:"role,omitempty"` + Role NullableBriefRackRoleRequest `json:"role,omitempty"` Serial *string `json:"serial,omitempty"` // A unique tag used to identify this rack - AssetTag NullableString `json:"asset_tag,omitempty"` - Type *PatchedWritableRackRequestType `json:"type,omitempty"` - Width *PatchedWritableRackRequestWidth `json:"width,omitempty"` + AssetTag NullableString `json:"asset_tag,omitempty"` + RackType NullableBriefRackTypeRequest `json:"rack_type,omitempty"` + FormFactor *PatchedWritableRackRequestFormFactor `json:"form_factor,omitempty"` + Width *PatchedWritableRackRequestWidth `json:"width,omitempty"` // Height in rack units UHeight *int32 `json:"u_height,omitempty"` // Starting unit for rack StartingUnit *int32 `json:"starting_unit,omitempty"` Weight NullableFloat64 `json:"weight,omitempty"` // Maximum load capacity for the rack - MaxWeight NullableInt32 `json:"max_weight,omitempty"` - WeightUnit *PatchedWritableDeviceTypeRequestWeightUnit `json:"weight_unit,omitempty"` + MaxWeight NullableInt32 `json:"max_weight,omitempty"` + WeightUnit *DeviceTypeWeightUnitValue `json:"weight_unit,omitempty"` // Units are numbered top-to-bottom DescUnits *bool `json:"desc_units,omitempty"` // Outer dimension of rack (width) @@ -47,11 +48,12 @@ type PatchedWritableRackRequest struct { OuterDepth NullableInt32 `json:"outer_depth,omitempty"` OuterUnit *PatchedWritableRackRequestOuterUnit `json:"outer_unit,omitempty"` // Maximum depth of a mounted device, in millimeters. For four-post racks, this is the distance between the front and rear rails. - MountingDepth NullableInt32 `json:"mounting_depth,omitempty"` - Description *string `json:"description,omitempty"` - Comments *string `json:"comments,omitempty"` - Tags []NestedTagRequest `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + MountingDepth NullableInt32 `json:"mounting_depth,omitempty"` + Airflow *PatchedWritableRackRequestAirflow `json:"airflow,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -150,9 +152,9 @@ func (o *PatchedWritableRackRequest) UnsetFacilityId() { } // GetSite returns the Site field value if set, zero value otherwise. -func (o *PatchedWritableRackRequest) GetSite() SiteRequest { +func (o *PatchedWritableRackRequest) GetSite() BriefSiteRequest { if o == nil || IsNil(o.Site) { - var ret SiteRequest + var ret BriefSiteRequest return ret } return *o.Site @@ -160,7 +162,7 @@ func (o *PatchedWritableRackRequest) GetSite() SiteRequest { // GetSiteOk returns a tuple with the Site field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedWritableRackRequest) GetSiteOk() (*SiteRequest, bool) { +func (o *PatchedWritableRackRequest) GetSiteOk() (*BriefSiteRequest, bool) { if o == nil || IsNil(o.Site) { return nil, false } @@ -176,15 +178,15 @@ func (o *PatchedWritableRackRequest) HasSite() bool { return false } -// SetSite gets a reference to the given SiteRequest and assigns it to the Site field. -func (o *PatchedWritableRackRequest) SetSite(v SiteRequest) { +// SetSite gets a reference to the given BriefSiteRequest and assigns it to the Site field. +func (o *PatchedWritableRackRequest) SetSite(v BriefSiteRequest) { o.Site = &v } // GetLocation returns the Location field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableRackRequest) GetLocation() LocationRequest { +func (o *PatchedWritableRackRequest) GetLocation() BriefLocationRequest { if o == nil || IsNil(o.Location.Get()) { - var ret LocationRequest + var ret BriefLocationRequest return ret } return *o.Location.Get() @@ -193,7 +195,7 @@ func (o *PatchedWritableRackRequest) GetLocation() LocationRequest { // GetLocationOk returns a tuple with the Location 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 *PatchedWritableRackRequest) GetLocationOk() (*LocationRequest, bool) { +func (o *PatchedWritableRackRequest) GetLocationOk() (*BriefLocationRequest, bool) { if o == nil { return nil, false } @@ -209,8 +211,8 @@ func (o *PatchedWritableRackRequest) HasLocation() bool { return false } -// SetLocation gets a reference to the given NullableLocationRequest and assigns it to the Location field. -func (o *PatchedWritableRackRequest) SetLocation(v LocationRequest) { +// SetLocation gets a reference to the given NullableBriefLocationRequest and assigns it to the Location field. +func (o *PatchedWritableRackRequest) SetLocation(v BriefLocationRequest) { o.Location.Set(&v) } @@ -225,9 +227,9 @@ func (o *PatchedWritableRackRequest) UnsetLocation() { } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableRackRequest) GetTenant() TenantRequest { +func (o *PatchedWritableRackRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -236,7 +238,7 @@ func (o *PatchedWritableRackRequest) GetTenant() TenantRequest { // 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 *PatchedWritableRackRequest) GetTenantOk() (*TenantRequest, bool) { +func (o *PatchedWritableRackRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -252,8 +254,8 @@ func (o *PatchedWritableRackRequest) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *PatchedWritableRackRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *PatchedWritableRackRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } @@ -300,9 +302,9 @@ func (o *PatchedWritableRackRequest) SetStatus(v PatchedWritableRackRequestStatu } // GetRole returns the Role field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableRackRequest) GetRole() RackRoleRequest { +func (o *PatchedWritableRackRequest) GetRole() BriefRackRoleRequest { if o == nil || IsNil(o.Role.Get()) { - var ret RackRoleRequest + var ret BriefRackRoleRequest return ret } return *o.Role.Get() @@ -311,7 +313,7 @@ func (o *PatchedWritableRackRequest) GetRole() RackRoleRequest { // 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 *PatchedWritableRackRequest) GetRoleOk() (*RackRoleRequest, bool) { +func (o *PatchedWritableRackRequest) GetRoleOk() (*BriefRackRoleRequest, bool) { if o == nil { return nil, false } @@ -327,8 +329,8 @@ func (o *PatchedWritableRackRequest) HasRole() bool { return false } -// SetRole gets a reference to the given NullableRackRoleRequest and assigns it to the Role field. -func (o *PatchedWritableRackRequest) SetRole(v RackRoleRequest) { +// SetRole gets a reference to the given NullableBriefRackRoleRequest and assigns it to the Role field. +func (o *PatchedWritableRackRequest) SetRole(v BriefRackRoleRequest) { o.Role.Set(&v) } @@ -417,36 +419,79 @@ func (o *PatchedWritableRackRequest) UnsetAssetTag() { o.AssetTag.Unset() } -// GetType returns the Type field value if set, zero value otherwise. -func (o *PatchedWritableRackRequest) GetType() PatchedWritableRackRequestType { - if o == nil || IsNil(o.Type) { - var ret PatchedWritableRackRequestType +// GetRackType returns the RackType field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedWritableRackRequest) GetRackType() BriefRackTypeRequest { + if o == nil || IsNil(o.RackType.Get()) { + var ret BriefRackTypeRequest return ret } - return *o.Type + return *o.RackType.Get() } -// GetTypeOk returns a tuple with the Type field value if set, nil otherwise +// GetRackTypeOk returns a tuple with the RackType field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedWritableRackRequest) GetTypeOk() (*PatchedWritableRackRequestType, bool) { - if o == nil || IsNil(o.Type) { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedWritableRackRequest) GetRackTypeOk() (*BriefRackTypeRequest, bool) { + if o == nil { + return nil, false + } + return o.RackType.Get(), o.RackType.IsSet() +} + +// HasRackType returns a boolean if a field has been set. +func (o *PatchedWritableRackRequest) HasRackType() bool { + if o != nil && o.RackType.IsSet() { + return true + } + + return false +} + +// SetRackType gets a reference to the given NullableBriefRackTypeRequest and assigns it to the RackType field. +func (o *PatchedWritableRackRequest) SetRackType(v BriefRackTypeRequest) { + o.RackType.Set(&v) +} + +// SetRackTypeNil sets the value for RackType to be an explicit nil +func (o *PatchedWritableRackRequest) SetRackTypeNil() { + o.RackType.Set(nil) +} + +// UnsetRackType ensures that no value is present for RackType, not even an explicit nil +func (o *PatchedWritableRackRequest) UnsetRackType() { + o.RackType.Unset() +} + +// GetFormFactor returns the FormFactor field value if set, zero value otherwise. +func (o *PatchedWritableRackRequest) GetFormFactor() PatchedWritableRackRequestFormFactor { + if o == nil || IsNil(o.FormFactor) { + var ret PatchedWritableRackRequestFormFactor + return ret + } + return *o.FormFactor +} + +// GetFormFactorOk returns a tuple with the FormFactor field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritableRackRequest) GetFormFactorOk() (*PatchedWritableRackRequestFormFactor, bool) { + if o == nil || IsNil(o.FormFactor) { return nil, false } - return o.Type, true + return o.FormFactor, true } -// HasType returns a boolean if a field has been set. -func (o *PatchedWritableRackRequest) HasType() bool { - if o != nil && !IsNil(o.Type) { +// HasFormFactor returns a boolean if a field has been set. +func (o *PatchedWritableRackRequest) HasFormFactor() bool { + if o != nil && !IsNil(o.FormFactor) { return true } return false } -// SetType gets a reference to the given PatchedWritableRackRequestType and assigns it to the Type field. -func (o *PatchedWritableRackRequest) SetType(v PatchedWritableRackRequestType) { - o.Type = &v +// SetFormFactor gets a reference to the given PatchedWritableRackRequestFormFactor and assigns it to the FormFactor field. +func (o *PatchedWritableRackRequest) SetFormFactor(v PatchedWritableRackRequestFormFactor) { + o.FormFactor = &v } // GetWidth returns the Width field value if set, zero value otherwise. @@ -632,9 +677,9 @@ func (o *PatchedWritableRackRequest) UnsetMaxWeight() { } // GetWeightUnit returns the WeightUnit field value if set, zero value otherwise. -func (o *PatchedWritableRackRequest) GetWeightUnit() PatchedWritableDeviceTypeRequestWeightUnit { +func (o *PatchedWritableRackRequest) GetWeightUnit() DeviceTypeWeightUnitValue { if o == nil || IsNil(o.WeightUnit) { - var ret PatchedWritableDeviceTypeRequestWeightUnit + var ret DeviceTypeWeightUnitValue return ret } return *o.WeightUnit @@ -642,7 +687,7 @@ func (o *PatchedWritableRackRequest) GetWeightUnit() PatchedWritableDeviceTypeRe // GetWeightUnitOk returns a tuple with the WeightUnit field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedWritableRackRequest) GetWeightUnitOk() (*PatchedWritableDeviceTypeRequestWeightUnit, bool) { +func (o *PatchedWritableRackRequest) GetWeightUnitOk() (*DeviceTypeWeightUnitValue, bool) { if o == nil || IsNil(o.WeightUnit) { return nil, false } @@ -658,8 +703,8 @@ func (o *PatchedWritableRackRequest) HasWeightUnit() bool { return false } -// SetWeightUnit gets a reference to the given PatchedWritableDeviceTypeRequestWeightUnit and assigns it to the WeightUnit field. -func (o *PatchedWritableRackRequest) SetWeightUnit(v PatchedWritableDeviceTypeRequestWeightUnit) { +// SetWeightUnit gets a reference to the given DeviceTypeWeightUnitValue and assigns it to the WeightUnit field. +func (o *PatchedWritableRackRequest) SetWeightUnit(v DeviceTypeWeightUnitValue) { o.WeightUnit = &v } @@ -856,6 +901,38 @@ func (o *PatchedWritableRackRequest) UnsetMountingDepth() { o.MountingDepth.Unset() } +// GetAirflow returns the Airflow field value if set, zero value otherwise. +func (o *PatchedWritableRackRequest) GetAirflow() PatchedWritableRackRequestAirflow { + if o == nil || IsNil(o.Airflow) { + var ret PatchedWritableRackRequestAirflow + return ret + } + return *o.Airflow +} + +// GetAirflowOk returns a tuple with the Airflow field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritableRackRequest) GetAirflowOk() (*PatchedWritableRackRequestAirflow, bool) { + if o == nil || IsNil(o.Airflow) { + return nil, false + } + return o.Airflow, true +} + +// HasAirflow returns a boolean if a field has been set. +func (o *PatchedWritableRackRequest) HasAirflow() bool { + if o != nil && !IsNil(o.Airflow) { + return true + } + + return false +} + +// SetAirflow gets a reference to the given PatchedWritableRackRequestAirflow and assigns it to the Airflow field. +func (o *PatchedWritableRackRequest) SetAirflow(v PatchedWritableRackRequestAirflow) { + o.Airflow = &v +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *PatchedWritableRackRequest) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -1021,8 +1098,11 @@ func (o PatchedWritableRackRequest) ToMap() (map[string]interface{}, error) { if o.AssetTag.IsSet() { toSerialize["asset_tag"] = o.AssetTag.Get() } - if !IsNil(o.Type) { - toSerialize["type"] = o.Type + if o.RackType.IsSet() { + toSerialize["rack_type"] = o.RackType.Get() + } + if !IsNil(o.FormFactor) { + toSerialize["form_factor"] = o.FormFactor } if !IsNil(o.Width) { toSerialize["width"] = o.Width @@ -1057,6 +1137,9 @@ func (o PatchedWritableRackRequest) ToMap() (map[string]interface{}, error) { if o.MountingDepth.IsSet() { toSerialize["mounting_depth"] = o.MountingDepth.Get() } + if !IsNil(o.Airflow) { + toSerialize["airflow"] = o.Airflow + } if !IsNil(o.Description) { toSerialize["description"] = o.Description } @@ -1100,7 +1183,8 @@ func (o *PatchedWritableRackRequest) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "role") delete(additionalProperties, "serial") delete(additionalProperties, "asset_tag") - delete(additionalProperties, "type") + delete(additionalProperties, "rack_type") + delete(additionalProperties, "form_factor") delete(additionalProperties, "width") delete(additionalProperties, "u_height") delete(additionalProperties, "starting_unit") @@ -1112,6 +1196,7 @@ func (o *PatchedWritableRackRequest) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "outer_depth") delete(additionalProperties, "outer_unit") delete(additionalProperties, "mounting_depth") + delete(additionalProperties, "airflow") delete(additionalProperties, "description") delete(additionalProperties, "comments") delete(additionalProperties, "tags") diff --git a/model_patched_writable_rack_request_airflow.go b/model_patched_writable_rack_request_airflow.go new file mode 100644 index 000000000..bf12ed4f3 --- /dev/null +++ b/model_patched_writable_rack_request_airflow.go @@ -0,0 +1,112 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// PatchedWritableRackRequestAirflow * `front-to-rear` - Front to rear * `rear-to-front` - Rear to front +type PatchedWritableRackRequestAirflow string + +// List of PatchedWritableRackRequest_airflow +const ( + PATCHEDWRITABLERACKREQUESTAIRFLOW_FRONT_TO_REAR PatchedWritableRackRequestAirflow = "front-to-rear" + PATCHEDWRITABLERACKREQUESTAIRFLOW_REAR_TO_FRONT PatchedWritableRackRequestAirflow = "rear-to-front" + PATCHEDWRITABLERACKREQUESTAIRFLOW_EMPTY PatchedWritableRackRequestAirflow = "" +) + +// All allowed values of PatchedWritableRackRequestAirflow enum +var AllowedPatchedWritableRackRequestAirflowEnumValues = []PatchedWritableRackRequestAirflow{ + "front-to-rear", + "rear-to-front", + "", +} + +func (v *PatchedWritableRackRequestAirflow) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := PatchedWritableRackRequestAirflow(value) + for _, existing := range AllowedPatchedWritableRackRequestAirflowEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid PatchedWritableRackRequestAirflow", value) +} + +// NewPatchedWritableRackRequestAirflowFromValue returns a pointer to a valid PatchedWritableRackRequestAirflow +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewPatchedWritableRackRequestAirflowFromValue(v string) (*PatchedWritableRackRequestAirflow, error) { + ev := PatchedWritableRackRequestAirflow(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for PatchedWritableRackRequestAirflow: valid values are %v", v, AllowedPatchedWritableRackRequestAirflowEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v PatchedWritableRackRequestAirflow) IsValid() bool { + for _, existing := range AllowedPatchedWritableRackRequestAirflowEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to PatchedWritableRackRequest_airflow value +func (v PatchedWritableRackRequestAirflow) Ptr() *PatchedWritableRackRequestAirflow { + return &v +} + +type NullablePatchedWritableRackRequestAirflow struct { + value *PatchedWritableRackRequestAirflow + isSet bool +} + +func (v NullablePatchedWritableRackRequestAirflow) Get() *PatchedWritableRackRequestAirflow { + return v.value +} + +func (v *NullablePatchedWritableRackRequestAirflow) Set(val *PatchedWritableRackRequestAirflow) { + v.value = val + v.isSet = true +} + +func (v NullablePatchedWritableRackRequestAirflow) IsSet() bool { + return v.isSet +} + +func (v *NullablePatchedWritableRackRequestAirflow) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePatchedWritableRackRequestAirflow(val *PatchedWritableRackRequestAirflow) *NullablePatchedWritableRackRequestAirflow { + return &NullablePatchedWritableRackRequestAirflow{value: val, isSet: true} +} + +func (v NullablePatchedWritableRackRequestAirflow) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePatchedWritableRackRequestAirflow) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_patched_writable_rack_request_form_factor.go b/model_patched_writable_rack_request_form_factor.go new file mode 100644 index 000000000..ec804922d --- /dev/null +++ b/model_patched_writable_rack_request_form_factor.go @@ -0,0 +1,122 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// PatchedWritableRackRequestFormFactor * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) +type PatchedWritableRackRequestFormFactor string + +// List of PatchedWritableRackRequest_form_factor +const ( + PATCHEDWRITABLERACKREQUESTFORMFACTOR__2_POST_FRAME PatchedWritableRackRequestFormFactor = "2-post-frame" + PATCHEDWRITABLERACKREQUESTFORMFACTOR__4_POST_FRAME PatchedWritableRackRequestFormFactor = "4-post-frame" + PATCHEDWRITABLERACKREQUESTFORMFACTOR__4_POST_CABINET PatchedWritableRackRequestFormFactor = "4-post-cabinet" + PATCHEDWRITABLERACKREQUESTFORMFACTOR_WALL_FRAME PatchedWritableRackRequestFormFactor = "wall-frame" + PATCHEDWRITABLERACKREQUESTFORMFACTOR_WALL_FRAME_VERTICAL PatchedWritableRackRequestFormFactor = "wall-frame-vertical" + PATCHEDWRITABLERACKREQUESTFORMFACTOR_WALL_CABINET PatchedWritableRackRequestFormFactor = "wall-cabinet" + PATCHEDWRITABLERACKREQUESTFORMFACTOR_WALL_CABINET_VERTICAL PatchedWritableRackRequestFormFactor = "wall-cabinet-vertical" + PATCHEDWRITABLERACKREQUESTFORMFACTOR_EMPTY PatchedWritableRackRequestFormFactor = "" +) + +// All allowed values of PatchedWritableRackRequestFormFactor enum +var AllowedPatchedWritableRackRequestFormFactorEnumValues = []PatchedWritableRackRequestFormFactor{ + "2-post-frame", + "4-post-frame", + "4-post-cabinet", + "wall-frame", + "wall-frame-vertical", + "wall-cabinet", + "wall-cabinet-vertical", + "", +} + +func (v *PatchedWritableRackRequestFormFactor) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := PatchedWritableRackRequestFormFactor(value) + for _, existing := range AllowedPatchedWritableRackRequestFormFactorEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid PatchedWritableRackRequestFormFactor", value) +} + +// NewPatchedWritableRackRequestFormFactorFromValue returns a pointer to a valid PatchedWritableRackRequestFormFactor +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewPatchedWritableRackRequestFormFactorFromValue(v string) (*PatchedWritableRackRequestFormFactor, error) { + ev := PatchedWritableRackRequestFormFactor(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for PatchedWritableRackRequestFormFactor: valid values are %v", v, AllowedPatchedWritableRackRequestFormFactorEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v PatchedWritableRackRequestFormFactor) IsValid() bool { + for _, existing := range AllowedPatchedWritableRackRequestFormFactorEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to PatchedWritableRackRequest_form_factor value +func (v PatchedWritableRackRequestFormFactor) Ptr() *PatchedWritableRackRequestFormFactor { + return &v +} + +type NullablePatchedWritableRackRequestFormFactor struct { + value *PatchedWritableRackRequestFormFactor + isSet bool +} + +func (v NullablePatchedWritableRackRequestFormFactor) Get() *PatchedWritableRackRequestFormFactor { + return v.value +} + +func (v *NullablePatchedWritableRackRequestFormFactor) Set(val *PatchedWritableRackRequestFormFactor) { + v.value = val + v.isSet = true +} + +func (v NullablePatchedWritableRackRequestFormFactor) IsSet() bool { + return v.isSet +} + +func (v *NullablePatchedWritableRackRequestFormFactor) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePatchedWritableRackRequestFormFactor(val *PatchedWritableRackRequestFormFactor) *NullablePatchedWritableRackRequestFormFactor { + return &NullablePatchedWritableRackRequestFormFactor{value: val, isSet: true} +} + +func (v NullablePatchedWritableRackRequestFormFactor) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePatchedWritableRackRequestFormFactor) UnmarshalJSON(src []byte) error { + v.isSet = true + 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 21a86aded..3d91f6edb 100644 --- a/model_patched_writable_rack_request_outer_unit.go +++ b/model_patched_writable_rack_request_outer_unit.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_writable_rack_request_status.go b/model_patched_writable_rack_request_status.go index 9dc9df329..b5c9459fb 100644 --- a/model_patched_writable_rack_request_status.go +++ b/model_patched_writable_rack_request_status.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_writable_rack_request_width.go b/model_patched_writable_rack_request_width.go index 19908dc01..87e9ae6a6 100644 --- a/model_patched_writable_rack_request_width.go +++ b/model_patched_writable_rack_request_width.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_writable_rack_type_request.go b/model_patched_writable_rack_type_request.go new file mode 100644 index 000000000..3cd68ad8e --- /dev/null +++ b/model_patched_writable_rack_type_request.go @@ -0,0 +1,881 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" +) + +// checks if the PatchedWritableRackTypeRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PatchedWritableRackTypeRequest{} + +// PatchedWritableRackTypeRequest Adds support for custom fields and tags. +type PatchedWritableRackTypeRequest struct { + Manufacturer *BriefManufacturerRequest `json:"manufacturer,omitempty"` + Model *string `json:"model,omitempty"` + Slug *string `json:"slug,omitempty"` + Description *string `json:"description,omitempty"` + FormFactor *PatchedWritableRackTypeRequestFormFactor `json:"form_factor,omitempty"` + Width *PatchedWritableRackRequestWidth `json:"width,omitempty"` + // Height in rack units + UHeight *int32 `json:"u_height,omitempty"` + // Starting unit for rack + StartingUnit *int32 `json:"starting_unit,omitempty"` + // Units are numbered top-to-bottom + DescUnits *bool `json:"desc_units,omitempty"` + // Outer dimension of rack (width) + OuterWidth NullableInt32 `json:"outer_width,omitempty"` + // Outer dimension of rack (depth) + OuterDepth NullableInt32 `json:"outer_depth,omitempty"` + OuterUnit *PatchedWritableRackRequestOuterUnit `json:"outer_unit,omitempty"` + Weight NullableFloat64 `json:"weight,omitempty"` + // Maximum load capacity for the rack + MaxWeight NullableInt32 `json:"max_weight,omitempty"` + WeightUnit *DeviceTypeWeightUnitValue `json:"weight_unit,omitempty"` + // Maximum depth of a mounted device, in millimeters. For four-post racks, this is the distance between the front and rear rails. + MountingDepth NullableInt32 `json:"mounting_depth,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _PatchedWritableRackTypeRequest PatchedWritableRackTypeRequest + +// NewPatchedWritableRackTypeRequest instantiates a new PatchedWritableRackTypeRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewPatchedWritableRackTypeRequest() *PatchedWritableRackTypeRequest { + this := PatchedWritableRackTypeRequest{} + return &this +} + +// NewPatchedWritableRackTypeRequestWithDefaults instantiates a new PatchedWritableRackTypeRequest object +// This 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 NewPatchedWritableRackTypeRequestWithDefaults() *PatchedWritableRackTypeRequest { + this := PatchedWritableRackTypeRequest{} + return &this +} + +// GetManufacturer returns the Manufacturer field value if set, zero value otherwise. +func (o *PatchedWritableRackTypeRequest) GetManufacturer() BriefManufacturerRequest { + if o == nil || IsNil(o.Manufacturer) { + var ret BriefManufacturerRequest + return ret + } + return *o.Manufacturer +} + +// GetManufacturerOk returns a tuple with the Manufacturer field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritableRackTypeRequest) GetManufacturerOk() (*BriefManufacturerRequest, bool) { + if o == nil || IsNil(o.Manufacturer) { + return nil, false + } + return o.Manufacturer, true +} + +// HasManufacturer returns a boolean if a field has been set. +func (o *PatchedWritableRackTypeRequest) HasManufacturer() bool { + if o != nil && !IsNil(o.Manufacturer) { + return true + } + + return false +} + +// SetManufacturer gets a reference to the given BriefManufacturerRequest and assigns it to the Manufacturer field. +func (o *PatchedWritableRackTypeRequest) SetManufacturer(v BriefManufacturerRequest) { + o.Manufacturer = &v +} + +// GetModel returns the Model field value if set, zero value otherwise. +func (o *PatchedWritableRackTypeRequest) GetModel() string { + if o == nil || IsNil(o.Model) { + var ret string + return ret + } + return *o.Model +} + +// GetModelOk returns a tuple with the Model field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritableRackTypeRequest) GetModelOk() (*string, bool) { + if o == nil || IsNil(o.Model) { + return nil, false + } + return o.Model, true +} + +// HasModel returns a boolean if a field has been set. +func (o *PatchedWritableRackTypeRequest) HasModel() bool { + if o != nil && !IsNil(o.Model) { + return true + } + + return false +} + +// SetModel gets a reference to the given string and assigns it to the Model field. +func (o *PatchedWritableRackTypeRequest) SetModel(v string) { + o.Model = &v +} + +// GetSlug returns the Slug field value if set, zero value otherwise. +func (o *PatchedWritableRackTypeRequest) GetSlug() string { + if o == nil || IsNil(o.Slug) { + var ret string + return ret + } + return *o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritableRackTypeRequest) GetSlugOk() (*string, bool) { + if o == nil || IsNil(o.Slug) { + return nil, false + } + return o.Slug, true +} + +// HasSlug returns a boolean if a field has been set. +func (o *PatchedWritableRackTypeRequest) HasSlug() bool { + if o != nil && !IsNil(o.Slug) { + return true + } + + return false +} + +// SetSlug gets a reference to the given string and assigns it to the Slug field. +func (o *PatchedWritableRackTypeRequest) SetSlug(v string) { + o.Slug = &v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *PatchedWritableRackTypeRequest) 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 *PatchedWritableRackTypeRequest) 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 *PatchedWritableRackTypeRequest) 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 *PatchedWritableRackTypeRequest) SetDescription(v string) { + o.Description = &v +} + +// GetFormFactor returns the FormFactor field value if set, zero value otherwise. +func (o *PatchedWritableRackTypeRequest) GetFormFactor() PatchedWritableRackTypeRequestFormFactor { + if o == nil || IsNil(o.FormFactor) { + var ret PatchedWritableRackTypeRequestFormFactor + return ret + } + return *o.FormFactor +} + +// GetFormFactorOk returns a tuple with the FormFactor field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritableRackTypeRequest) GetFormFactorOk() (*PatchedWritableRackTypeRequestFormFactor, bool) { + if o == nil || IsNil(o.FormFactor) { + return nil, false + } + return o.FormFactor, true +} + +// HasFormFactor returns a boolean if a field has been set. +func (o *PatchedWritableRackTypeRequest) HasFormFactor() bool { + if o != nil && !IsNil(o.FormFactor) { + return true + } + + return false +} + +// SetFormFactor gets a reference to the given PatchedWritableRackTypeRequestFormFactor and assigns it to the FormFactor field. +func (o *PatchedWritableRackTypeRequest) SetFormFactor(v PatchedWritableRackTypeRequestFormFactor) { + o.FormFactor = &v +} + +// GetWidth returns the Width field value if set, zero value otherwise. +func (o *PatchedWritableRackTypeRequest) GetWidth() PatchedWritableRackRequestWidth { + if o == nil || IsNil(o.Width) { + var ret PatchedWritableRackRequestWidth + return ret + } + return *o.Width +} + +// GetWidthOk returns a tuple with the Width field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritableRackTypeRequest) GetWidthOk() (*PatchedWritableRackRequestWidth, bool) { + if o == nil || IsNil(o.Width) { + return nil, false + } + return o.Width, true +} + +// HasWidth returns a boolean if a field has been set. +func (o *PatchedWritableRackTypeRequest) HasWidth() bool { + if o != nil && !IsNil(o.Width) { + return true + } + + return false +} + +// SetWidth gets a reference to the given PatchedWritableRackRequestWidth and assigns it to the Width field. +func (o *PatchedWritableRackTypeRequest) SetWidth(v PatchedWritableRackRequestWidth) { + o.Width = &v +} + +// GetUHeight returns the UHeight field value if set, zero value otherwise. +func (o *PatchedWritableRackTypeRequest) GetUHeight() int32 { + if o == nil || IsNil(o.UHeight) { + var ret int32 + return ret + } + return *o.UHeight +} + +// GetUHeightOk returns a tuple with the UHeight field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritableRackTypeRequest) GetUHeightOk() (*int32, bool) { + if o == nil || IsNil(o.UHeight) { + return nil, false + } + return o.UHeight, true +} + +// HasUHeight returns a boolean if a field has been set. +func (o *PatchedWritableRackTypeRequest) HasUHeight() bool { + if o != nil && !IsNil(o.UHeight) { + return true + } + + return false +} + +// SetUHeight gets a reference to the given int32 and assigns it to the UHeight field. +func (o *PatchedWritableRackTypeRequest) SetUHeight(v int32) { + o.UHeight = &v +} + +// GetStartingUnit returns the StartingUnit field value if set, zero value otherwise. +func (o *PatchedWritableRackTypeRequest) GetStartingUnit() int32 { + if o == nil || IsNil(o.StartingUnit) { + var ret int32 + return ret + } + return *o.StartingUnit +} + +// GetStartingUnitOk returns a tuple with the StartingUnit field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritableRackTypeRequest) GetStartingUnitOk() (*int32, bool) { + if o == nil || IsNil(o.StartingUnit) { + return nil, false + } + return o.StartingUnit, true +} + +// HasStartingUnit returns a boolean if a field has been set. +func (o *PatchedWritableRackTypeRequest) HasStartingUnit() bool { + if o != nil && !IsNil(o.StartingUnit) { + return true + } + + return false +} + +// SetStartingUnit gets a reference to the given int32 and assigns it to the StartingUnit field. +func (o *PatchedWritableRackTypeRequest) SetStartingUnit(v int32) { + o.StartingUnit = &v +} + +// GetDescUnits returns the DescUnits field value if set, zero value otherwise. +func (o *PatchedWritableRackTypeRequest) GetDescUnits() bool { + if o == nil || IsNil(o.DescUnits) { + var ret bool + return ret + } + return *o.DescUnits +} + +// GetDescUnitsOk returns a tuple with the DescUnits field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritableRackTypeRequest) GetDescUnitsOk() (*bool, bool) { + if o == nil || IsNil(o.DescUnits) { + return nil, false + } + return o.DescUnits, true +} + +// HasDescUnits returns a boolean if a field has been set. +func (o *PatchedWritableRackTypeRequest) HasDescUnits() bool { + if o != nil && !IsNil(o.DescUnits) { + return true + } + + return false +} + +// SetDescUnits gets a reference to the given bool and assigns it to the DescUnits field. +func (o *PatchedWritableRackTypeRequest) SetDescUnits(v bool) { + o.DescUnits = &v +} + +// GetOuterWidth returns the OuterWidth field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedWritableRackTypeRequest) GetOuterWidth() int32 { + if o == nil || IsNil(o.OuterWidth.Get()) { + var ret int32 + return ret + } + return *o.OuterWidth.Get() +} + +// GetOuterWidthOk returns a tuple with the OuterWidth 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 *PatchedWritableRackTypeRequest) GetOuterWidthOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.OuterWidth.Get(), o.OuterWidth.IsSet() +} + +// HasOuterWidth returns a boolean if a field has been set. +func (o *PatchedWritableRackTypeRequest) HasOuterWidth() bool { + if o != nil && o.OuterWidth.IsSet() { + return true + } + + return false +} + +// SetOuterWidth gets a reference to the given NullableInt32 and assigns it to the OuterWidth field. +func (o *PatchedWritableRackTypeRequest) SetOuterWidth(v int32) { + o.OuterWidth.Set(&v) +} + +// SetOuterWidthNil sets the value for OuterWidth to be an explicit nil +func (o *PatchedWritableRackTypeRequest) SetOuterWidthNil() { + o.OuterWidth.Set(nil) +} + +// UnsetOuterWidth ensures that no value is present for OuterWidth, not even an explicit nil +func (o *PatchedWritableRackTypeRequest) UnsetOuterWidth() { + o.OuterWidth.Unset() +} + +// GetOuterDepth returns the OuterDepth field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedWritableRackTypeRequest) GetOuterDepth() int32 { + if o == nil || IsNil(o.OuterDepth.Get()) { + var ret int32 + return ret + } + return *o.OuterDepth.Get() +} + +// GetOuterDepthOk returns a tuple with the OuterDepth 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 *PatchedWritableRackTypeRequest) GetOuterDepthOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.OuterDepth.Get(), o.OuterDepth.IsSet() +} + +// HasOuterDepth returns a boolean if a field has been set. +func (o *PatchedWritableRackTypeRequest) HasOuterDepth() bool { + if o != nil && o.OuterDepth.IsSet() { + return true + } + + return false +} + +// SetOuterDepth gets a reference to the given NullableInt32 and assigns it to the OuterDepth field. +func (o *PatchedWritableRackTypeRequest) SetOuterDepth(v int32) { + o.OuterDepth.Set(&v) +} + +// SetOuterDepthNil sets the value for OuterDepth to be an explicit nil +func (o *PatchedWritableRackTypeRequest) SetOuterDepthNil() { + o.OuterDepth.Set(nil) +} + +// UnsetOuterDepth ensures that no value is present for OuterDepth, not even an explicit nil +func (o *PatchedWritableRackTypeRequest) UnsetOuterDepth() { + o.OuterDepth.Unset() +} + +// GetOuterUnit returns the OuterUnit field value if set, zero value otherwise. +func (o *PatchedWritableRackTypeRequest) GetOuterUnit() PatchedWritableRackRequestOuterUnit { + if o == nil || IsNil(o.OuterUnit) { + var ret PatchedWritableRackRequestOuterUnit + return ret + } + return *o.OuterUnit +} + +// GetOuterUnitOk returns a tuple with the OuterUnit field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritableRackTypeRequest) GetOuterUnitOk() (*PatchedWritableRackRequestOuterUnit, bool) { + if o == nil || IsNil(o.OuterUnit) { + return nil, false + } + return o.OuterUnit, true +} + +// HasOuterUnit returns a boolean if a field has been set. +func (o *PatchedWritableRackTypeRequest) HasOuterUnit() bool { + if o != nil && !IsNil(o.OuterUnit) { + return true + } + + return false +} + +// SetOuterUnit gets a reference to the given PatchedWritableRackRequestOuterUnit and assigns it to the OuterUnit field. +func (o *PatchedWritableRackTypeRequest) SetOuterUnit(v PatchedWritableRackRequestOuterUnit) { + o.OuterUnit = &v +} + +// GetWeight returns the Weight field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedWritableRackTypeRequest) GetWeight() float64 { + if o == nil || IsNil(o.Weight.Get()) { + var ret float64 + return ret + } + return *o.Weight.Get() +} + +// GetWeightOk returns a tuple with the Weight 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 *PatchedWritableRackTypeRequest) GetWeightOk() (*float64, bool) { + if o == nil { + return nil, false + } + return o.Weight.Get(), o.Weight.IsSet() +} + +// HasWeight returns a boolean if a field has been set. +func (o *PatchedWritableRackTypeRequest) HasWeight() bool { + if o != nil && o.Weight.IsSet() { + return true + } + + return false +} + +// SetWeight gets a reference to the given NullableFloat64 and assigns it to the Weight field. +func (o *PatchedWritableRackTypeRequest) SetWeight(v float64) { + o.Weight.Set(&v) +} + +// SetWeightNil sets the value for Weight to be an explicit nil +func (o *PatchedWritableRackTypeRequest) SetWeightNil() { + o.Weight.Set(nil) +} + +// UnsetWeight ensures that no value is present for Weight, not even an explicit nil +func (o *PatchedWritableRackTypeRequest) UnsetWeight() { + o.Weight.Unset() +} + +// GetMaxWeight returns the MaxWeight field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedWritableRackTypeRequest) GetMaxWeight() int32 { + if o == nil || IsNil(o.MaxWeight.Get()) { + var ret int32 + return ret + } + return *o.MaxWeight.Get() +} + +// GetMaxWeightOk returns a tuple with the MaxWeight 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 *PatchedWritableRackTypeRequest) GetMaxWeightOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.MaxWeight.Get(), o.MaxWeight.IsSet() +} + +// HasMaxWeight returns a boolean if a field has been set. +func (o *PatchedWritableRackTypeRequest) HasMaxWeight() bool { + if o != nil && o.MaxWeight.IsSet() { + return true + } + + return false +} + +// SetMaxWeight gets a reference to the given NullableInt32 and assigns it to the MaxWeight field. +func (o *PatchedWritableRackTypeRequest) SetMaxWeight(v int32) { + o.MaxWeight.Set(&v) +} + +// SetMaxWeightNil sets the value for MaxWeight to be an explicit nil +func (o *PatchedWritableRackTypeRequest) SetMaxWeightNil() { + o.MaxWeight.Set(nil) +} + +// UnsetMaxWeight ensures that no value is present for MaxWeight, not even an explicit nil +func (o *PatchedWritableRackTypeRequest) UnsetMaxWeight() { + o.MaxWeight.Unset() +} + +// GetWeightUnit returns the WeightUnit field value if set, zero value otherwise. +func (o *PatchedWritableRackTypeRequest) GetWeightUnit() DeviceTypeWeightUnitValue { + if o == nil || IsNil(o.WeightUnit) { + var ret DeviceTypeWeightUnitValue + return ret + } + return *o.WeightUnit +} + +// GetWeightUnitOk returns a tuple with the WeightUnit field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritableRackTypeRequest) GetWeightUnitOk() (*DeviceTypeWeightUnitValue, bool) { + if o == nil || IsNil(o.WeightUnit) { + return nil, false + } + return o.WeightUnit, true +} + +// HasWeightUnit returns a boolean if a field has been set. +func (o *PatchedWritableRackTypeRequest) HasWeightUnit() bool { + if o != nil && !IsNil(o.WeightUnit) { + return true + } + + return false +} + +// SetWeightUnit gets a reference to the given DeviceTypeWeightUnitValue and assigns it to the WeightUnit field. +func (o *PatchedWritableRackTypeRequest) SetWeightUnit(v DeviceTypeWeightUnitValue) { + o.WeightUnit = &v +} + +// GetMountingDepth returns the MountingDepth field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedWritableRackTypeRequest) GetMountingDepth() int32 { + if o == nil || IsNil(o.MountingDepth.Get()) { + var ret int32 + return ret + } + return *o.MountingDepth.Get() +} + +// GetMountingDepthOk returns a tuple with the MountingDepth 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 *PatchedWritableRackTypeRequest) GetMountingDepthOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.MountingDepth.Get(), o.MountingDepth.IsSet() +} + +// HasMountingDepth returns a boolean if a field has been set. +func (o *PatchedWritableRackTypeRequest) HasMountingDepth() bool { + if o != nil && o.MountingDepth.IsSet() { + return true + } + + return false +} + +// SetMountingDepth gets a reference to the given NullableInt32 and assigns it to the MountingDepth field. +func (o *PatchedWritableRackTypeRequest) SetMountingDepth(v int32) { + o.MountingDepth.Set(&v) +} + +// SetMountingDepthNil sets the value for MountingDepth to be an explicit nil +func (o *PatchedWritableRackTypeRequest) SetMountingDepthNil() { + o.MountingDepth.Set(nil) +} + +// UnsetMountingDepth ensures that no value is present for MountingDepth, not even an explicit nil +func (o *PatchedWritableRackTypeRequest) UnsetMountingDepth() { + o.MountingDepth.Unset() +} + +// GetComments returns the Comments field value if set, zero value otherwise. +func (o *PatchedWritableRackTypeRequest) GetComments() string { + if o == nil || IsNil(o.Comments) { + var ret string + return ret + } + return *o.Comments +} + +// GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritableRackTypeRequest) GetCommentsOk() (*string, bool) { + if o == nil || IsNil(o.Comments) { + return nil, false + } + return o.Comments, true +} + +// HasComments returns a boolean if a field has been set. +func (o *PatchedWritableRackTypeRequest) HasComments() bool { + if o != nil && !IsNil(o.Comments) { + return true + } + + return false +} + +// SetComments gets a reference to the given string and assigns it to the Comments field. +func (o *PatchedWritableRackTypeRequest) SetComments(v string) { + o.Comments = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *PatchedWritableRackTypeRequest) GetTags() []NestedTagRequest { + if o == nil || IsNil(o.Tags) { + var ret []NestedTagRequest + 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 *PatchedWritableRackTypeRequest) GetTagsOk() ([]NestedTagRequest, 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 *PatchedWritableRackTypeRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTagRequest and assigns it to the Tags field. +func (o *PatchedWritableRackTypeRequest) SetTags(v []NestedTagRequest) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *PatchedWritableRackTypeRequest) 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 *PatchedWritableRackTypeRequest) 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 *PatchedWritableRackTypeRequest) 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 *PatchedWritableRackTypeRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +func (o PatchedWritableRackTypeRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PatchedWritableRackTypeRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Manufacturer) { + toSerialize["manufacturer"] = o.Manufacturer + } + if !IsNil(o.Model) { + toSerialize["model"] = o.Model + } + if !IsNil(o.Slug) { + toSerialize["slug"] = o.Slug + } + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + if !IsNil(o.FormFactor) { + toSerialize["form_factor"] = o.FormFactor + } + if !IsNil(o.Width) { + toSerialize["width"] = o.Width + } + if !IsNil(o.UHeight) { + toSerialize["u_height"] = o.UHeight + } + if !IsNil(o.StartingUnit) { + toSerialize["starting_unit"] = o.StartingUnit + } + if !IsNil(o.DescUnits) { + toSerialize["desc_units"] = o.DescUnits + } + if o.OuterWidth.IsSet() { + toSerialize["outer_width"] = o.OuterWidth.Get() + } + if o.OuterDepth.IsSet() { + toSerialize["outer_depth"] = o.OuterDepth.Get() + } + if !IsNil(o.OuterUnit) { + toSerialize["outer_unit"] = o.OuterUnit + } + if o.Weight.IsSet() { + toSerialize["weight"] = o.Weight.Get() + } + if o.MaxWeight.IsSet() { + toSerialize["max_weight"] = o.MaxWeight.Get() + } + if !IsNil(o.WeightUnit) { + toSerialize["weight_unit"] = o.WeightUnit + } + if o.MountingDepth.IsSet() { + toSerialize["mounting_depth"] = o.MountingDepth.Get() + } + if !IsNil(o.Comments) { + toSerialize["comments"] = o.Comments + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *PatchedWritableRackTypeRequest) UnmarshalJSON(data []byte) (err error) { + varPatchedWritableRackTypeRequest := _PatchedWritableRackTypeRequest{} + + err = json.Unmarshal(data, &varPatchedWritableRackTypeRequest) + + if err != nil { + return err + } + + *o = PatchedWritableRackTypeRequest(varPatchedWritableRackTypeRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "manufacturer") + delete(additionalProperties, "model") + delete(additionalProperties, "slug") + delete(additionalProperties, "description") + delete(additionalProperties, "form_factor") + delete(additionalProperties, "width") + delete(additionalProperties, "u_height") + delete(additionalProperties, "starting_unit") + delete(additionalProperties, "desc_units") + delete(additionalProperties, "outer_width") + delete(additionalProperties, "outer_depth") + delete(additionalProperties, "outer_unit") + delete(additionalProperties, "weight") + delete(additionalProperties, "max_weight") + delete(additionalProperties, "weight_unit") + delete(additionalProperties, "mounting_depth") + delete(additionalProperties, "comments") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullablePatchedWritableRackTypeRequest struct { + value *PatchedWritableRackTypeRequest + isSet bool +} + +func (v NullablePatchedWritableRackTypeRequest) Get() *PatchedWritableRackTypeRequest { + return v.value +} + +func (v *NullablePatchedWritableRackTypeRequest) Set(val *PatchedWritableRackTypeRequest) { + v.value = val + v.isSet = true +} + +func (v NullablePatchedWritableRackTypeRequest) IsSet() bool { + return v.isSet +} + +func (v *NullablePatchedWritableRackTypeRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePatchedWritableRackTypeRequest(val *PatchedWritableRackTypeRequest) *NullablePatchedWritableRackTypeRequest { + return &NullablePatchedWritableRackTypeRequest{value: val, isSet: true} +} + +func (v NullablePatchedWritableRackTypeRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePatchedWritableRackTypeRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_patched_writable_rack_type_request_form_factor.go b/model_patched_writable_rack_type_request_form_factor.go new file mode 100644 index 000000000..d53fb6c54 --- /dev/null +++ b/model_patched_writable_rack_type_request_form_factor.go @@ -0,0 +1,120 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// PatchedWritableRackTypeRequestFormFactor * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) +type PatchedWritableRackTypeRequestFormFactor string + +// List of PatchedWritableRackTypeRequest_form_factor +const ( + PATCHEDWRITABLERACKTYPEREQUESTFORMFACTOR__2_POST_FRAME PatchedWritableRackTypeRequestFormFactor = "2-post-frame" + PATCHEDWRITABLERACKTYPEREQUESTFORMFACTOR__4_POST_FRAME PatchedWritableRackTypeRequestFormFactor = "4-post-frame" + PATCHEDWRITABLERACKTYPEREQUESTFORMFACTOR__4_POST_CABINET PatchedWritableRackTypeRequestFormFactor = "4-post-cabinet" + PATCHEDWRITABLERACKTYPEREQUESTFORMFACTOR_WALL_FRAME PatchedWritableRackTypeRequestFormFactor = "wall-frame" + PATCHEDWRITABLERACKTYPEREQUESTFORMFACTOR_WALL_FRAME_VERTICAL PatchedWritableRackTypeRequestFormFactor = "wall-frame-vertical" + PATCHEDWRITABLERACKTYPEREQUESTFORMFACTOR_WALL_CABINET PatchedWritableRackTypeRequestFormFactor = "wall-cabinet" + PATCHEDWRITABLERACKTYPEREQUESTFORMFACTOR_WALL_CABINET_VERTICAL PatchedWritableRackTypeRequestFormFactor = "wall-cabinet-vertical" +) + +// All allowed values of PatchedWritableRackTypeRequestFormFactor enum +var AllowedPatchedWritableRackTypeRequestFormFactorEnumValues = []PatchedWritableRackTypeRequestFormFactor{ + "2-post-frame", + "4-post-frame", + "4-post-cabinet", + "wall-frame", + "wall-frame-vertical", + "wall-cabinet", + "wall-cabinet-vertical", +} + +func (v *PatchedWritableRackTypeRequestFormFactor) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := PatchedWritableRackTypeRequestFormFactor(value) + for _, existing := range AllowedPatchedWritableRackTypeRequestFormFactorEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid PatchedWritableRackTypeRequestFormFactor", value) +} + +// NewPatchedWritableRackTypeRequestFormFactorFromValue returns a pointer to a valid PatchedWritableRackTypeRequestFormFactor +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewPatchedWritableRackTypeRequestFormFactorFromValue(v string) (*PatchedWritableRackTypeRequestFormFactor, error) { + ev := PatchedWritableRackTypeRequestFormFactor(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for PatchedWritableRackTypeRequestFormFactor: valid values are %v", v, AllowedPatchedWritableRackTypeRequestFormFactorEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v PatchedWritableRackTypeRequestFormFactor) IsValid() bool { + for _, existing := range AllowedPatchedWritableRackTypeRequestFormFactorEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to PatchedWritableRackTypeRequest_form_factor value +func (v PatchedWritableRackTypeRequestFormFactor) Ptr() *PatchedWritableRackTypeRequestFormFactor { + return &v +} + +type NullablePatchedWritableRackTypeRequestFormFactor struct { + value *PatchedWritableRackTypeRequestFormFactor + isSet bool +} + +func (v NullablePatchedWritableRackTypeRequestFormFactor) Get() *PatchedWritableRackTypeRequestFormFactor { + return v.value +} + +func (v *NullablePatchedWritableRackTypeRequestFormFactor) Set(val *PatchedWritableRackTypeRequestFormFactor) { + v.value = val + v.isSet = true +} + +func (v NullablePatchedWritableRackTypeRequestFormFactor) IsSet() bool { + return v.isSet +} + +func (v *NullablePatchedWritableRackTypeRequestFormFactor) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePatchedWritableRackTypeRequestFormFactor(val *PatchedWritableRackTypeRequestFormFactor) *NullablePatchedWritableRackTypeRequestFormFactor { + return &NullablePatchedWritableRackTypeRequestFormFactor{value: val, isSet: true} +} + +func (v NullablePatchedWritableRackTypeRequestFormFactor) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePatchedWritableRackTypeRequestFormFactor) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_patched_writable_rear_port_request.go b/model_patched_writable_rear_port_request.go index 881056212..46a9f841c 100644 --- a/model_patched_writable_rear_port_request.go +++ b/model_patched_writable_rear_port_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,9 +19,9 @@ var _ MappedNullable = &PatchedWritableRearPortRequest{} // PatchedWritableRearPortRequest Adds support for custom fields and tags. type PatchedWritableRearPortRequest struct { - Device *DeviceRequest `json:"device,omitempty"` - Module NullableModuleRequest `json:"module,omitempty"` - Name *string `json:"name,omitempty"` + Device *BriefDeviceRequest `json:"device,omitempty"` + Module NullableBriefModuleRequest `json:"module,omitempty"` + Name *string `json:"name,omitempty"` // Physical label Label *string `json:"label,omitempty"` Type *FrontPortTypeValue `json:"type,omitempty"` @@ -56,9 +56,9 @@ func NewPatchedWritableRearPortRequestWithDefaults() *PatchedWritableRearPortReq } // GetDevice returns the Device field value if set, zero value otherwise. -func (o *PatchedWritableRearPortRequest) GetDevice() DeviceRequest { +func (o *PatchedWritableRearPortRequest) GetDevice() BriefDeviceRequest { if o == nil || IsNil(o.Device) { - var ret DeviceRequest + var ret BriefDeviceRequest return ret } return *o.Device @@ -66,7 +66,7 @@ func (o *PatchedWritableRearPortRequest) GetDevice() DeviceRequest { // 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 *PatchedWritableRearPortRequest) GetDeviceOk() (*DeviceRequest, bool) { +func (o *PatchedWritableRearPortRequest) GetDeviceOk() (*BriefDeviceRequest, bool) { if o == nil || IsNil(o.Device) { return nil, false } @@ -82,15 +82,15 @@ func (o *PatchedWritableRearPortRequest) HasDevice() bool { return false } -// SetDevice gets a reference to the given DeviceRequest and assigns it to the Device field. -func (o *PatchedWritableRearPortRequest) SetDevice(v DeviceRequest) { +// SetDevice gets a reference to the given BriefDeviceRequest and assigns it to the Device field. +func (o *PatchedWritableRearPortRequest) SetDevice(v BriefDeviceRequest) { o.Device = &v } // GetModule returns the Module field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableRearPortRequest) GetModule() ModuleRequest { +func (o *PatchedWritableRearPortRequest) GetModule() BriefModuleRequest { if o == nil || IsNil(o.Module.Get()) { - var ret ModuleRequest + var ret BriefModuleRequest return ret } return *o.Module.Get() @@ -99,7 +99,7 @@ func (o *PatchedWritableRearPortRequest) GetModule() ModuleRequest { // GetModuleOk returns a tuple with the Module 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 *PatchedWritableRearPortRequest) GetModuleOk() (*ModuleRequest, bool) { +func (o *PatchedWritableRearPortRequest) GetModuleOk() (*BriefModuleRequest, bool) { if o == nil { return nil, false } @@ -115,8 +115,8 @@ func (o *PatchedWritableRearPortRequest) HasModule() bool { return false } -// SetModule gets a reference to the given NullableModuleRequest and assigns it to the Module field. -func (o *PatchedWritableRearPortRequest) SetModule(v ModuleRequest) { +// SetModule gets a reference to the given NullableBriefModuleRequest and assigns it to the Module field. +func (o *PatchedWritableRearPortRequest) SetModule(v BriefModuleRequest) { o.Module.Set(&v) } diff --git a/model_patched_writable_rear_port_template_request.go b/model_patched_writable_rear_port_template_request.go index 5280e4ec8..01cbbd077 100644 --- a/model_patched_writable_rear_port_template_request.go +++ b/model_patched_writable_rear_port_template_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,8 +19,8 @@ var _ MappedNullable = &PatchedWritableRearPortTemplateRequest{} // PatchedWritableRearPortTemplateRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 PatchedWritableRearPortTemplateRequest struct { - DeviceType NullableDeviceTypeRequest `json:"device_type,omitempty"` - ModuleType NullableModuleTypeRequest `json:"module_type,omitempty"` + DeviceType NullableBriefDeviceTypeRequest `json:"device_type,omitempty"` + ModuleType NullableBriefModuleTypeRequest `json:"module_type,omitempty"` // {module} is accepted as a substitution for the module bay position when attached to a module type. Name *string `json:"name,omitempty"` // Physical label @@ -52,9 +52,9 @@ func NewPatchedWritableRearPortTemplateRequestWithDefaults() *PatchedWritableRea } // GetDeviceType returns the DeviceType field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableRearPortTemplateRequest) GetDeviceType() DeviceTypeRequest { +func (o *PatchedWritableRearPortTemplateRequest) GetDeviceType() BriefDeviceTypeRequest { if o == nil || IsNil(o.DeviceType.Get()) { - var ret DeviceTypeRequest + var ret BriefDeviceTypeRequest return ret } return *o.DeviceType.Get() @@ -63,7 +63,7 @@ func (o *PatchedWritableRearPortTemplateRequest) GetDeviceType() DeviceTypeReque // GetDeviceTypeOk returns a tuple with the DeviceType 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 *PatchedWritableRearPortTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool) { +func (o *PatchedWritableRearPortTemplateRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool) { if o == nil { return nil, false } @@ -79,8 +79,8 @@ func (o *PatchedWritableRearPortTemplateRequest) HasDeviceType() bool { return false } -// SetDeviceType gets a reference to the given NullableDeviceTypeRequest and assigns it to the DeviceType field. -func (o *PatchedWritableRearPortTemplateRequest) SetDeviceType(v DeviceTypeRequest) { +// SetDeviceType gets a reference to the given NullableBriefDeviceTypeRequest and assigns it to the DeviceType field. +func (o *PatchedWritableRearPortTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest) { o.DeviceType.Set(&v) } @@ -95,9 +95,9 @@ func (o *PatchedWritableRearPortTemplateRequest) UnsetDeviceType() { } // GetModuleType returns the ModuleType field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableRearPortTemplateRequest) GetModuleType() ModuleTypeRequest { +func (o *PatchedWritableRearPortTemplateRequest) GetModuleType() BriefModuleTypeRequest { if o == nil || IsNil(o.ModuleType.Get()) { - var ret ModuleTypeRequest + var ret BriefModuleTypeRequest return ret } return *o.ModuleType.Get() @@ -106,7 +106,7 @@ func (o *PatchedWritableRearPortTemplateRequest) GetModuleType() ModuleTypeReque // GetModuleTypeOk returns a tuple with the ModuleType 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 *PatchedWritableRearPortTemplateRequest) GetModuleTypeOk() (*ModuleTypeRequest, bool) { +func (o *PatchedWritableRearPortTemplateRequest) GetModuleTypeOk() (*BriefModuleTypeRequest, bool) { if o == nil { return nil, false } @@ -122,8 +122,8 @@ func (o *PatchedWritableRearPortTemplateRequest) HasModuleType() bool { return false } -// SetModuleType gets a reference to the given NullableModuleTypeRequest and assigns it to the ModuleType field. -func (o *PatchedWritableRearPortTemplateRequest) SetModuleType(v ModuleTypeRequest) { +// SetModuleType gets a reference to the given NullableBriefModuleTypeRequest and assigns it to the ModuleType field. +func (o *PatchedWritableRearPortTemplateRequest) SetModuleType(v BriefModuleTypeRequest) { o.ModuleType.Set(&v) } diff --git a/model_patched_writable_region_request.go b/model_patched_writable_region_request.go index f2deb297b..186e8cdb2 100644 --- a/model_patched_writable_region_request.go +++ b/model_patched_writable_region_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_writable_service_request.go b/model_patched_writable_service_request.go index 9f1abb8c1..e087798ce 100644 --- a/model_patched_writable_service_request.go +++ b/model_patched_writable_service_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,8 +19,8 @@ var _ MappedNullable = &PatchedWritableServiceRequest{} // PatchedWritableServiceRequest Adds support for custom fields and tags. type PatchedWritableServiceRequest struct { - Device NullableDeviceRequest `json:"device,omitempty"` - VirtualMachine NullableVirtualMachineRequest `json:"virtual_machine,omitempty"` + Device NullableBriefDeviceRequest `json:"device,omitempty"` + VirtualMachine NullableBriefVirtualMachineRequest `json:"virtual_machine,omitempty"` Name *string `json:"name,omitempty"` Protocol *PatchedWritableServiceRequestProtocol `json:"protocol,omitempty"` Ports []int32 `json:"ports,omitempty"` @@ -52,9 +52,9 @@ func NewPatchedWritableServiceRequestWithDefaults() *PatchedWritableServiceReque } // GetDevice returns the Device field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableServiceRequest) GetDevice() DeviceRequest { +func (o *PatchedWritableServiceRequest) GetDevice() BriefDeviceRequest { if o == nil || IsNil(o.Device.Get()) { - var ret DeviceRequest + var ret BriefDeviceRequest return ret } return *o.Device.Get() @@ -63,7 +63,7 @@ func (o *PatchedWritableServiceRequest) GetDevice() DeviceRequest { // GetDeviceOk returns a tuple with the Device 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 *PatchedWritableServiceRequest) GetDeviceOk() (*DeviceRequest, bool) { +func (o *PatchedWritableServiceRequest) GetDeviceOk() (*BriefDeviceRequest, bool) { if o == nil { return nil, false } @@ -79,8 +79,8 @@ func (o *PatchedWritableServiceRequest) HasDevice() bool { return false } -// SetDevice gets a reference to the given NullableDeviceRequest and assigns it to the Device field. -func (o *PatchedWritableServiceRequest) SetDevice(v DeviceRequest) { +// SetDevice gets a reference to the given NullableBriefDeviceRequest and assigns it to the Device field. +func (o *PatchedWritableServiceRequest) SetDevice(v BriefDeviceRequest) { o.Device.Set(&v) } @@ -95,9 +95,9 @@ func (o *PatchedWritableServiceRequest) UnsetDevice() { } // GetVirtualMachine returns the VirtualMachine field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableServiceRequest) GetVirtualMachine() VirtualMachineRequest { +func (o *PatchedWritableServiceRequest) GetVirtualMachine() BriefVirtualMachineRequest { if o == nil || IsNil(o.VirtualMachine.Get()) { - var ret VirtualMachineRequest + var ret BriefVirtualMachineRequest return ret } return *o.VirtualMachine.Get() @@ -106,7 +106,7 @@ func (o *PatchedWritableServiceRequest) GetVirtualMachine() VirtualMachineReques // GetVirtualMachineOk returns a tuple with the VirtualMachine 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 *PatchedWritableServiceRequest) GetVirtualMachineOk() (*VirtualMachineRequest, bool) { +func (o *PatchedWritableServiceRequest) GetVirtualMachineOk() (*BriefVirtualMachineRequest, bool) { if o == nil { return nil, false } @@ -122,8 +122,8 @@ func (o *PatchedWritableServiceRequest) HasVirtualMachine() bool { return false } -// SetVirtualMachine gets a reference to the given NullableVirtualMachineRequest and assigns it to the VirtualMachine field. -func (o *PatchedWritableServiceRequest) SetVirtualMachine(v VirtualMachineRequest) { +// SetVirtualMachine gets a reference to the given NullableBriefVirtualMachineRequest and assigns it to the VirtualMachine field. +func (o *PatchedWritableServiceRequest) SetVirtualMachine(v BriefVirtualMachineRequest) { o.VirtualMachine.Set(&v) } diff --git a/model_patched_writable_service_request_protocol.go b/model_patched_writable_service_request_protocol.go index 4b7b5d491..95f647a3d 100644 --- a/model_patched_writable_service_request_protocol.go +++ b/model_patched_writable_service_request_protocol.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_writable_service_template_request.go b/model_patched_writable_service_template_request.go index 182e8786d..47c7b2209 100644 --- a/model_patched_writable_service_template_request.go +++ b/model_patched_writable_service_template_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_writable_site_group_request.go b/model_patched_writable_site_group_request.go index 784b86567..08c26bd80 100644 --- a/model_patched_writable_site_group_request.go +++ b/model_patched_writable_site_group_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_writable_site_request.go b/model_patched_writable_site_request.go index 35523daf2..13fa411b2 100644 --- a/model_patched_writable_site_request.go +++ b/model_patched_writable_site_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,12 +20,12 @@ var _ MappedNullable = &PatchedWritableSiteRequest{} // PatchedWritableSiteRequest Adds support for custom fields and tags. type PatchedWritableSiteRequest struct { // Full name of the site - Name *string `json:"name,omitempty"` - Slug *string `json:"slug,omitempty"` - Status *PatchedWritableLocationRequestStatus `json:"status,omitempty"` - Region NullableRegionRequest `json:"region,omitempty"` - Group NullableSiteGroupRequest `json:"group,omitempty"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` + Status *LocationStatusValue `json:"status,omitempty"` + Region NullableBriefRegionRequest `json:"region,omitempty"` + Group NullableBriefSiteGroupRequest `json:"group,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` // Local facility ID or description Facility *string `json:"facility,omitempty"` TimeZone NullableString `json:"time_zone,omitempty"` @@ -129,9 +129,9 @@ func (o *PatchedWritableSiteRequest) SetSlug(v string) { } // GetStatus returns the Status field value if set, zero value otherwise. -func (o *PatchedWritableSiteRequest) GetStatus() PatchedWritableLocationRequestStatus { +func (o *PatchedWritableSiteRequest) GetStatus() LocationStatusValue { if o == nil || IsNil(o.Status) { - var ret PatchedWritableLocationRequestStatus + var ret LocationStatusValue return ret } return *o.Status @@ -139,7 +139,7 @@ func (o *PatchedWritableSiteRequest) GetStatus() PatchedWritableLocationRequestS // 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 *PatchedWritableSiteRequest) GetStatusOk() (*PatchedWritableLocationRequestStatus, bool) { +func (o *PatchedWritableSiteRequest) GetStatusOk() (*LocationStatusValue, bool) { if o == nil || IsNil(o.Status) { return nil, false } @@ -155,15 +155,15 @@ func (o *PatchedWritableSiteRequest) HasStatus() bool { return false } -// SetStatus gets a reference to the given PatchedWritableLocationRequestStatus and assigns it to the Status field. -func (o *PatchedWritableSiteRequest) SetStatus(v PatchedWritableLocationRequestStatus) { +// SetStatus gets a reference to the given LocationStatusValue and assigns it to the Status field. +func (o *PatchedWritableSiteRequest) SetStatus(v LocationStatusValue) { o.Status = &v } // GetRegion returns the Region field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableSiteRequest) GetRegion() RegionRequest { +func (o *PatchedWritableSiteRequest) GetRegion() BriefRegionRequest { if o == nil || IsNil(o.Region.Get()) { - var ret RegionRequest + var ret BriefRegionRequest return ret } return *o.Region.Get() @@ -172,7 +172,7 @@ func (o *PatchedWritableSiteRequest) GetRegion() RegionRequest { // GetRegionOk returns a tuple with the Region 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 *PatchedWritableSiteRequest) GetRegionOk() (*RegionRequest, bool) { +func (o *PatchedWritableSiteRequest) GetRegionOk() (*BriefRegionRequest, bool) { if o == nil { return nil, false } @@ -188,8 +188,8 @@ func (o *PatchedWritableSiteRequest) HasRegion() bool { return false } -// SetRegion gets a reference to the given NullableRegionRequest and assigns it to the Region field. -func (o *PatchedWritableSiteRequest) SetRegion(v RegionRequest) { +// SetRegion gets a reference to the given NullableBriefRegionRequest and assigns it to the Region field. +func (o *PatchedWritableSiteRequest) SetRegion(v BriefRegionRequest) { o.Region.Set(&v) } @@ -204,9 +204,9 @@ func (o *PatchedWritableSiteRequest) UnsetRegion() { } // GetGroup returns the Group field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableSiteRequest) GetGroup() SiteGroupRequest { +func (o *PatchedWritableSiteRequest) GetGroup() BriefSiteGroupRequest { if o == nil || IsNil(o.Group.Get()) { - var ret SiteGroupRequest + var ret BriefSiteGroupRequest return ret } return *o.Group.Get() @@ -215,7 +215,7 @@ func (o *PatchedWritableSiteRequest) GetGroup() SiteGroupRequest { // GetGroupOk returns a tuple with the Group 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 *PatchedWritableSiteRequest) GetGroupOk() (*SiteGroupRequest, bool) { +func (o *PatchedWritableSiteRequest) GetGroupOk() (*BriefSiteGroupRequest, bool) { if o == nil { return nil, false } @@ -231,8 +231,8 @@ func (o *PatchedWritableSiteRequest) HasGroup() bool { return false } -// SetGroup gets a reference to the given NullableSiteGroupRequest and assigns it to the Group field. -func (o *PatchedWritableSiteRequest) SetGroup(v SiteGroupRequest) { +// SetGroup gets a reference to the given NullableBriefSiteGroupRequest and assigns it to the Group field. +func (o *PatchedWritableSiteRequest) SetGroup(v BriefSiteGroupRequest) { o.Group.Set(&v) } @@ -247,9 +247,9 @@ func (o *PatchedWritableSiteRequest) UnsetGroup() { } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableSiteRequest) GetTenant() TenantRequest { +func (o *PatchedWritableSiteRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -258,7 +258,7 @@ func (o *PatchedWritableSiteRequest) GetTenant() TenantRequest { // 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 *PatchedWritableSiteRequest) GetTenantOk() (*TenantRequest, bool) { +func (o *PatchedWritableSiteRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -274,8 +274,8 @@ func (o *PatchedWritableSiteRequest) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *PatchedWritableSiteRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *PatchedWritableSiteRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } diff --git a/model_patched_writable_tenant_group_request.go b/model_patched_writable_tenant_group_request.go index 86547508d..f0e8a0764 100644 --- a/model_patched_writable_tenant_group_request.go +++ b/model_patched_writable_tenant_group_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_writable_tunnel_request.go b/model_patched_writable_tunnel_request.go index cac6687a1..a8a91f8ce 100644 --- a/model_patched_writable_tunnel_request.go +++ b/model_patched_writable_tunnel_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,10 +21,10 @@ var _ MappedNullable = &PatchedWritableTunnelRequest{} type PatchedWritableTunnelRequest struct { Name *string `json:"name,omitempty"` Status *PatchedWritableTunnelRequestStatus `json:"status,omitempty"` - Group NullableTunnelGroupRequest `json:"group,omitempty"` + Group NullableBriefTunnelGroupRequest `json:"group,omitempty"` Encapsulation *PatchedWritableTunnelRequestEncapsulation `json:"encapsulation,omitempty"` - IpsecProfile NullableIPSecProfileRequest `json:"ipsec_profile,omitempty"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` + IpsecProfile NullableBriefIPSecProfileRequest `json:"ipsec_profile,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` TunnelId NullableInt64 `json:"tunnel_id,omitempty"` Description *string `json:"description,omitempty"` Comments *string `json:"comments,omitempty"` @@ -117,9 +117,9 @@ func (o *PatchedWritableTunnelRequest) SetStatus(v PatchedWritableTunnelRequestS } // GetGroup returns the Group field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableTunnelRequest) GetGroup() TunnelGroupRequest { +func (o *PatchedWritableTunnelRequest) GetGroup() BriefTunnelGroupRequest { if o == nil || IsNil(o.Group.Get()) { - var ret TunnelGroupRequest + var ret BriefTunnelGroupRequest return ret } return *o.Group.Get() @@ -128,7 +128,7 @@ func (o *PatchedWritableTunnelRequest) GetGroup() TunnelGroupRequest { // GetGroupOk returns a tuple with the Group 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 *PatchedWritableTunnelRequest) GetGroupOk() (*TunnelGroupRequest, bool) { +func (o *PatchedWritableTunnelRequest) GetGroupOk() (*BriefTunnelGroupRequest, bool) { if o == nil { return nil, false } @@ -144,8 +144,8 @@ func (o *PatchedWritableTunnelRequest) HasGroup() bool { return false } -// SetGroup gets a reference to the given NullableTunnelGroupRequest and assigns it to the Group field. -func (o *PatchedWritableTunnelRequest) SetGroup(v TunnelGroupRequest) { +// SetGroup gets a reference to the given NullableBriefTunnelGroupRequest and assigns it to the Group field. +func (o *PatchedWritableTunnelRequest) SetGroup(v BriefTunnelGroupRequest) { o.Group.Set(&v) } @@ -192,9 +192,9 @@ func (o *PatchedWritableTunnelRequest) SetEncapsulation(v PatchedWritableTunnelR } // GetIpsecProfile returns the IpsecProfile field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableTunnelRequest) GetIpsecProfile() IPSecProfileRequest { +func (o *PatchedWritableTunnelRequest) GetIpsecProfile() BriefIPSecProfileRequest { if o == nil || IsNil(o.IpsecProfile.Get()) { - var ret IPSecProfileRequest + var ret BriefIPSecProfileRequest return ret } return *o.IpsecProfile.Get() @@ -203,7 +203,7 @@ func (o *PatchedWritableTunnelRequest) GetIpsecProfile() IPSecProfileRequest { // GetIpsecProfileOk returns a tuple with the IpsecProfile 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 *PatchedWritableTunnelRequest) GetIpsecProfileOk() (*IPSecProfileRequest, bool) { +func (o *PatchedWritableTunnelRequest) GetIpsecProfileOk() (*BriefIPSecProfileRequest, bool) { if o == nil { return nil, false } @@ -219,8 +219,8 @@ func (o *PatchedWritableTunnelRequest) HasIpsecProfile() bool { return false } -// SetIpsecProfile gets a reference to the given NullableIPSecProfileRequest and assigns it to the IpsecProfile field. -func (o *PatchedWritableTunnelRequest) SetIpsecProfile(v IPSecProfileRequest) { +// SetIpsecProfile gets a reference to the given NullableBriefIPSecProfileRequest and assigns it to the IpsecProfile field. +func (o *PatchedWritableTunnelRequest) SetIpsecProfile(v BriefIPSecProfileRequest) { o.IpsecProfile.Set(&v) } @@ -235,9 +235,9 @@ func (o *PatchedWritableTunnelRequest) UnsetIpsecProfile() { } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableTunnelRequest) GetTenant() TenantRequest { +func (o *PatchedWritableTunnelRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -246,7 +246,7 @@ func (o *PatchedWritableTunnelRequest) GetTenant() TenantRequest { // 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 *PatchedWritableTunnelRequest) GetTenantOk() (*TenantRequest, bool) { +func (o *PatchedWritableTunnelRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -262,8 +262,8 @@ func (o *PatchedWritableTunnelRequest) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *PatchedWritableTunnelRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *PatchedWritableTunnelRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } diff --git a/model_patched_writable_tunnel_request_encapsulation.go b/model_patched_writable_tunnel_request_encapsulation.go index 54582c03d..352a297ce 100644 --- a/model_patched_writable_tunnel_request_encapsulation.go +++ b/model_patched_writable_tunnel_request_encapsulation.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_writable_tunnel_request_status.go b/model_patched_writable_tunnel_request_status.go index b4b020162..529691118 100644 --- a/model_patched_writable_tunnel_request_status.go +++ b/model_patched_writable_tunnel_request_status.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_writable_tunnel_termination_request.go b/model_patched_writable_tunnel_termination_request.go index 361991390..0ebee20e0 100644 --- a/model_patched_writable_tunnel_termination_request.go +++ b/model_patched_writable_tunnel_termination_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,11 +19,11 @@ var _ MappedNullable = &PatchedWritableTunnelTerminationRequest{} // PatchedWritableTunnelTerminationRequest Adds support for custom fields and tags. type PatchedWritableTunnelTerminationRequest struct { - Tunnel *TunnelRequest `json:"tunnel,omitempty"` + Tunnel *BriefTunnelRequest `json:"tunnel,omitempty"` Role *PatchedWritableTunnelTerminationRequestRole `json:"role,omitempty"` TerminationType *string `json:"termination_type,omitempty"` TerminationId NullableInt64 `json:"termination_id,omitempty"` - OutsideIp NullableIPAddressRequest `json:"outside_ip,omitempty"` + OutsideIp NullableBriefIPAddressRequest `json:"outside_ip,omitempty"` Tags []NestedTagRequest `json:"tags,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} @@ -49,9 +49,9 @@ func NewPatchedWritableTunnelTerminationRequestWithDefaults() *PatchedWritableTu } // GetTunnel returns the Tunnel field value if set, zero value otherwise. -func (o *PatchedWritableTunnelTerminationRequest) GetTunnel() TunnelRequest { +func (o *PatchedWritableTunnelTerminationRequest) GetTunnel() BriefTunnelRequest { if o == nil || IsNil(o.Tunnel) { - var ret TunnelRequest + var ret BriefTunnelRequest return ret } return *o.Tunnel @@ -59,7 +59,7 @@ func (o *PatchedWritableTunnelTerminationRequest) GetTunnel() TunnelRequest { // GetTunnelOk returns a tuple with the Tunnel field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedWritableTunnelTerminationRequest) GetTunnelOk() (*TunnelRequest, bool) { +func (o *PatchedWritableTunnelTerminationRequest) GetTunnelOk() (*BriefTunnelRequest, bool) { if o == nil || IsNil(o.Tunnel) { return nil, false } @@ -75,8 +75,8 @@ func (o *PatchedWritableTunnelTerminationRequest) HasTunnel() bool { return false } -// SetTunnel gets a reference to the given TunnelRequest and assigns it to the Tunnel field. -func (o *PatchedWritableTunnelTerminationRequest) SetTunnel(v TunnelRequest) { +// SetTunnel gets a reference to the given BriefTunnelRequest and assigns it to the Tunnel field. +func (o *PatchedWritableTunnelTerminationRequest) SetTunnel(v BriefTunnelRequest) { o.Tunnel = &v } @@ -188,9 +188,9 @@ func (o *PatchedWritableTunnelTerminationRequest) UnsetTerminationId() { } // GetOutsideIp returns the OutsideIp field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableTunnelTerminationRequest) GetOutsideIp() IPAddressRequest { +func (o *PatchedWritableTunnelTerminationRequest) GetOutsideIp() BriefIPAddressRequest { if o == nil || IsNil(o.OutsideIp.Get()) { - var ret IPAddressRequest + var ret BriefIPAddressRequest return ret } return *o.OutsideIp.Get() @@ -199,7 +199,7 @@ func (o *PatchedWritableTunnelTerminationRequest) GetOutsideIp() IPAddressReques // GetOutsideIpOk returns a tuple with the OutsideIp 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 *PatchedWritableTunnelTerminationRequest) GetOutsideIpOk() (*IPAddressRequest, bool) { +func (o *PatchedWritableTunnelTerminationRequest) GetOutsideIpOk() (*BriefIPAddressRequest, bool) { if o == nil { return nil, false } @@ -215,8 +215,8 @@ func (o *PatchedWritableTunnelTerminationRequest) HasOutsideIp() bool { return false } -// SetOutsideIp gets a reference to the given NullableIPAddressRequest and assigns it to the OutsideIp field. -func (o *PatchedWritableTunnelTerminationRequest) SetOutsideIp(v IPAddressRequest) { +// SetOutsideIp gets a reference to the given NullableBriefIPAddressRequest and assigns it to the OutsideIp field. +func (o *PatchedWritableTunnelTerminationRequest) SetOutsideIp(v BriefIPAddressRequest) { o.OutsideIp.Set(&v) } diff --git a/model_patched_writable_tunnel_termination_request_role.go b/model_patched_writable_tunnel_termination_request_role.go index 8bc7b5eea..96597e948 100644 --- a/model_patched_writable_tunnel_termination_request_role.go +++ b/model_patched_writable_tunnel_termination_request_role.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_writable_virtual_chassis_request.go b/model_patched_writable_virtual_chassis_request.go index f160befac..05e0073d5 100644 --- a/model_patched_writable_virtual_chassis_request.go +++ b/model_patched_writable_virtual_chassis_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_writable_virtual_device_context_request.go b/model_patched_writable_virtual_device_context_request.go index 34ba5129c..84cf6a73f 100644 --- a/model_patched_writable_virtual_device_context_request.go +++ b/model_patched_writable_virtual_device_context_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,11 +20,11 @@ var _ MappedNullable = &PatchedWritableVirtualDeviceContextRequest{} // PatchedWritableVirtualDeviceContextRequest Adds support for custom fields and tags. type PatchedWritableVirtualDeviceContextRequest struct { Name *string `json:"name,omitempty"` - Device *DeviceRequest `json:"device,omitempty"` + Device *BriefDeviceRequest `json:"device,omitempty"` Identifier NullableInt32 `json:"identifier,omitempty"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` - PrimaryIp4 NullableIPAddressRequest `json:"primary_ip4,omitempty"` - PrimaryIp6 NullableIPAddressRequest `json:"primary_ip6,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` + PrimaryIp4 NullableBriefIPAddressRequest `json:"primary_ip4,omitempty"` + PrimaryIp6 NullableBriefIPAddressRequest `json:"primary_ip6,omitempty"` Status *PatchedWritableVirtualDeviceContextRequestStatus `json:"status,omitempty"` Description *string `json:"description,omitempty"` Comments *string `json:"comments,omitempty"` @@ -85,9 +85,9 @@ func (o *PatchedWritableVirtualDeviceContextRequest) SetName(v string) { } // GetDevice returns the Device field value if set, zero value otherwise. -func (o *PatchedWritableVirtualDeviceContextRequest) GetDevice() DeviceRequest { +func (o *PatchedWritableVirtualDeviceContextRequest) GetDevice() BriefDeviceRequest { if o == nil || IsNil(o.Device) { - var ret DeviceRequest + var ret BriefDeviceRequest return ret } return *o.Device @@ -95,7 +95,7 @@ func (o *PatchedWritableVirtualDeviceContextRequest) GetDevice() DeviceRequest { // 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 *PatchedWritableVirtualDeviceContextRequest) GetDeviceOk() (*DeviceRequest, bool) { +func (o *PatchedWritableVirtualDeviceContextRequest) GetDeviceOk() (*BriefDeviceRequest, bool) { if o == nil || IsNil(o.Device) { return nil, false } @@ -111,8 +111,8 @@ func (o *PatchedWritableVirtualDeviceContextRequest) HasDevice() bool { return false } -// SetDevice gets a reference to the given DeviceRequest and assigns it to the Device field. -func (o *PatchedWritableVirtualDeviceContextRequest) SetDevice(v DeviceRequest) { +// SetDevice gets a reference to the given BriefDeviceRequest and assigns it to the Device field. +func (o *PatchedWritableVirtualDeviceContextRequest) SetDevice(v BriefDeviceRequest) { o.Device = &v } @@ -160,9 +160,9 @@ func (o *PatchedWritableVirtualDeviceContextRequest) UnsetIdentifier() { } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableVirtualDeviceContextRequest) GetTenant() TenantRequest { +func (o *PatchedWritableVirtualDeviceContextRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -171,7 +171,7 @@ func (o *PatchedWritableVirtualDeviceContextRequest) GetTenant() TenantRequest { // 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 *PatchedWritableVirtualDeviceContextRequest) GetTenantOk() (*TenantRequest, bool) { +func (o *PatchedWritableVirtualDeviceContextRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -187,8 +187,8 @@ func (o *PatchedWritableVirtualDeviceContextRequest) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *PatchedWritableVirtualDeviceContextRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *PatchedWritableVirtualDeviceContextRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } @@ -203,9 +203,9 @@ func (o *PatchedWritableVirtualDeviceContextRequest) UnsetTenant() { } // GetPrimaryIp4 returns the PrimaryIp4 field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableVirtualDeviceContextRequest) GetPrimaryIp4() IPAddressRequest { +func (o *PatchedWritableVirtualDeviceContextRequest) GetPrimaryIp4() BriefIPAddressRequest { if o == nil || IsNil(o.PrimaryIp4.Get()) { - var ret IPAddressRequest + var ret BriefIPAddressRequest return ret } return *o.PrimaryIp4.Get() @@ -214,7 +214,7 @@ func (o *PatchedWritableVirtualDeviceContextRequest) GetPrimaryIp4() IPAddressRe // 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 *PatchedWritableVirtualDeviceContextRequest) GetPrimaryIp4Ok() (*IPAddressRequest, bool) { +func (o *PatchedWritableVirtualDeviceContextRequest) GetPrimaryIp4Ok() (*BriefIPAddressRequest, bool) { if o == nil { return nil, false } @@ -230,8 +230,8 @@ func (o *PatchedWritableVirtualDeviceContextRequest) HasPrimaryIp4() bool { return false } -// SetPrimaryIp4 gets a reference to the given NullableIPAddressRequest and assigns it to the PrimaryIp4 field. -func (o *PatchedWritableVirtualDeviceContextRequest) SetPrimaryIp4(v IPAddressRequest) { +// SetPrimaryIp4 gets a reference to the given NullableBriefIPAddressRequest and assigns it to the PrimaryIp4 field. +func (o *PatchedWritableVirtualDeviceContextRequest) SetPrimaryIp4(v BriefIPAddressRequest) { o.PrimaryIp4.Set(&v) } @@ -246,9 +246,9 @@ func (o *PatchedWritableVirtualDeviceContextRequest) UnsetPrimaryIp4() { } // GetPrimaryIp6 returns the PrimaryIp6 field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableVirtualDeviceContextRequest) GetPrimaryIp6() IPAddressRequest { +func (o *PatchedWritableVirtualDeviceContextRequest) GetPrimaryIp6() BriefIPAddressRequest { if o == nil || IsNil(o.PrimaryIp6.Get()) { - var ret IPAddressRequest + var ret BriefIPAddressRequest return ret } return *o.PrimaryIp6.Get() @@ -257,7 +257,7 @@ func (o *PatchedWritableVirtualDeviceContextRequest) GetPrimaryIp6() IPAddressRe // 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 *PatchedWritableVirtualDeviceContextRequest) GetPrimaryIp6Ok() (*IPAddressRequest, bool) { +func (o *PatchedWritableVirtualDeviceContextRequest) GetPrimaryIp6Ok() (*BriefIPAddressRequest, bool) { if o == nil { return nil, false } @@ -273,8 +273,8 @@ func (o *PatchedWritableVirtualDeviceContextRequest) HasPrimaryIp6() bool { return false } -// SetPrimaryIp6 gets a reference to the given NullableIPAddressRequest and assigns it to the PrimaryIp6 field. -func (o *PatchedWritableVirtualDeviceContextRequest) SetPrimaryIp6(v IPAddressRequest) { +// SetPrimaryIp6 gets a reference to the given NullableBriefIPAddressRequest and assigns it to the PrimaryIp6 field. +func (o *PatchedWritableVirtualDeviceContextRequest) SetPrimaryIp6(v BriefIPAddressRequest) { o.PrimaryIp6.Set(&v) } diff --git a/model_patched_writable_virtual_device_context_request_status.go b/model_patched_writable_virtual_device_context_request_status.go index 9bed2f913..04cc758b9 100644 --- a/model_patched_writable_virtual_device_context_request_status.go +++ b/model_patched_writable_virtual_device_context_request_status.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_writable_virtual_machine_with_config_context_request.go b/model_patched_writable_virtual_machine_with_config_context_request.go index e9006bf84..d4385e322 100644 --- a/model_patched_writable_virtual_machine_with_config_context_request.go +++ b/model_patched_writable_virtual_machine_with_config_context_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,22 +19,23 @@ var _ MappedNullable = &PatchedWritableVirtualMachineWithConfigContextRequest{} // PatchedWritableVirtualMachineWithConfigContextRequest Adds support for custom fields and tags. type PatchedWritableVirtualMachineWithConfigContextRequest struct { - Name *string `json:"name,omitempty"` - Status *PatchedWritableModuleRequestStatus `json:"status,omitempty"` - Site NullableSiteRequest `json:"site,omitempty"` - Cluster NullableClusterRequest `json:"cluster,omitempty"` - Device NullableDeviceRequest `json:"device,omitempty"` - Role NullableDeviceRoleRequest `json:"role,omitempty"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` - Platform NullablePlatformRequest `json:"platform,omitempty"` - PrimaryIp4 NullableIPAddressRequest `json:"primary_ip4,omitempty"` - PrimaryIp6 NullableIPAddressRequest `json:"primary_ip6,omitempty"` - Vcpus NullableFloat64 `json:"vcpus,omitempty"` - Memory NullableInt32 `json:"memory,omitempty"` - Disk NullableInt32 `json:"disk,omitempty"` - Description *string `json:"description,omitempty"` - Comments *string `json:"comments,omitempty"` - ConfigTemplate NullableConfigTemplateRequest `json:"config_template,omitempty"` + Name *string `json:"name,omitempty"` + Status *ModuleStatusValue `json:"status,omitempty"` + Site NullableBriefSiteRequest `json:"site,omitempty"` + Cluster NullableBriefClusterRequest `json:"cluster,omitempty"` + Device NullableBriefDeviceRequest `json:"device,omitempty"` + Serial *string `json:"serial,omitempty"` + Role NullableBriefDeviceRoleRequest `json:"role,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` + Platform NullableBriefPlatformRequest `json:"platform,omitempty"` + PrimaryIp4 NullableBriefIPAddressRequest `json:"primary_ip4,omitempty"` + PrimaryIp6 NullableBriefIPAddressRequest `json:"primary_ip6,omitempty"` + Vcpus NullableFloat64 `json:"vcpus,omitempty"` + Memory NullableInt32 `json:"memory,omitempty"` + Disk NullableInt32 `json:"disk,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + ConfigTemplate NullableBriefConfigTemplateRequest `json:"config_template,omitempty"` // Local config context data takes precedence over source contexts in the final rendered config context LocalContextData interface{} `json:"local_context_data,omitempty"` Tags []NestedTagRequest `json:"tags,omitempty"` @@ -94,9 +95,9 @@ func (o *PatchedWritableVirtualMachineWithConfigContextRequest) SetName(v string } // GetStatus returns the Status field value if set, zero value otherwise. -func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetStatus() PatchedWritableModuleRequestStatus { +func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetStatus() ModuleStatusValue { if o == nil || IsNil(o.Status) { - var ret PatchedWritableModuleRequestStatus + var ret ModuleStatusValue return ret } return *o.Status @@ -104,7 +105,7 @@ func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetStatus() Patc // 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 *PatchedWritableVirtualMachineWithConfigContextRequest) GetStatusOk() (*PatchedWritableModuleRequestStatus, bool) { +func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetStatusOk() (*ModuleStatusValue, bool) { if o == nil || IsNil(o.Status) { return nil, false } @@ -120,15 +121,15 @@ func (o *PatchedWritableVirtualMachineWithConfigContextRequest) HasStatus() bool return false } -// SetStatus gets a reference to the given PatchedWritableModuleRequestStatus and assigns it to the Status field. -func (o *PatchedWritableVirtualMachineWithConfigContextRequest) SetStatus(v PatchedWritableModuleRequestStatus) { +// SetStatus gets a reference to the given ModuleStatusValue and assigns it to the Status field. +func (o *PatchedWritableVirtualMachineWithConfigContextRequest) SetStatus(v ModuleStatusValue) { o.Status = &v } // GetSite returns the Site field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetSite() SiteRequest { +func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetSite() BriefSiteRequest { if o == nil || IsNil(o.Site.Get()) { - var ret SiteRequest + var ret BriefSiteRequest return ret } return *o.Site.Get() @@ -137,7 +138,7 @@ func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetSite() SiteRe // GetSiteOk returns a tuple with the Site 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 *PatchedWritableVirtualMachineWithConfigContextRequest) GetSiteOk() (*SiteRequest, bool) { +func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetSiteOk() (*BriefSiteRequest, bool) { if o == nil { return nil, false } @@ -153,8 +154,8 @@ func (o *PatchedWritableVirtualMachineWithConfigContextRequest) HasSite() bool { return false } -// SetSite gets a reference to the given NullableSiteRequest and assigns it to the Site field. -func (o *PatchedWritableVirtualMachineWithConfigContextRequest) SetSite(v SiteRequest) { +// SetSite gets a reference to the given NullableBriefSiteRequest and assigns it to the Site field. +func (o *PatchedWritableVirtualMachineWithConfigContextRequest) SetSite(v BriefSiteRequest) { o.Site.Set(&v) } @@ -169,9 +170,9 @@ func (o *PatchedWritableVirtualMachineWithConfigContextRequest) UnsetSite() { } // GetCluster returns the Cluster field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetCluster() ClusterRequest { +func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetCluster() BriefClusterRequest { if o == nil || IsNil(o.Cluster.Get()) { - var ret ClusterRequest + var ret BriefClusterRequest return ret } return *o.Cluster.Get() @@ -180,7 +181,7 @@ func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetCluster() Clu // GetClusterOk returns a tuple with the Cluster 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 *PatchedWritableVirtualMachineWithConfigContextRequest) GetClusterOk() (*ClusterRequest, bool) { +func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetClusterOk() (*BriefClusterRequest, bool) { if o == nil { return nil, false } @@ -196,8 +197,8 @@ func (o *PatchedWritableVirtualMachineWithConfigContextRequest) HasCluster() boo return false } -// SetCluster gets a reference to the given NullableClusterRequest and assigns it to the Cluster field. -func (o *PatchedWritableVirtualMachineWithConfigContextRequest) SetCluster(v ClusterRequest) { +// SetCluster gets a reference to the given NullableBriefClusterRequest and assigns it to the Cluster field. +func (o *PatchedWritableVirtualMachineWithConfigContextRequest) SetCluster(v BriefClusterRequest) { o.Cluster.Set(&v) } @@ -212,9 +213,9 @@ func (o *PatchedWritableVirtualMachineWithConfigContextRequest) UnsetCluster() { } // GetDevice returns the Device field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetDevice() DeviceRequest { +func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetDevice() BriefDeviceRequest { if o == nil || IsNil(o.Device.Get()) { - var ret DeviceRequest + var ret BriefDeviceRequest return ret } return *o.Device.Get() @@ -223,7 +224,7 @@ func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetDevice() Devi // GetDeviceOk returns a tuple with the Device 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 *PatchedWritableVirtualMachineWithConfigContextRequest) GetDeviceOk() (*DeviceRequest, bool) { +func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetDeviceOk() (*BriefDeviceRequest, bool) { if o == nil { return nil, false } @@ -239,8 +240,8 @@ func (o *PatchedWritableVirtualMachineWithConfigContextRequest) HasDevice() bool return false } -// SetDevice gets a reference to the given NullableDeviceRequest and assigns it to the Device field. -func (o *PatchedWritableVirtualMachineWithConfigContextRequest) SetDevice(v DeviceRequest) { +// SetDevice gets a reference to the given NullableBriefDeviceRequest and assigns it to the Device field. +func (o *PatchedWritableVirtualMachineWithConfigContextRequest) SetDevice(v BriefDeviceRequest) { o.Device.Set(&v) } @@ -254,10 +255,42 @@ func (o *PatchedWritableVirtualMachineWithConfigContextRequest) UnsetDevice() { o.Device.Unset() } +// GetSerial returns the Serial field value if set, zero value otherwise. +func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetSerial() string { + if o == nil || IsNil(o.Serial) { + var ret string + return ret + } + return *o.Serial +} + +// GetSerialOk returns a tuple with the Serial field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetSerialOk() (*string, bool) { + if o == nil || IsNil(o.Serial) { + return nil, false + } + return o.Serial, true +} + +// HasSerial returns a boolean if a field has been set. +func (o *PatchedWritableVirtualMachineWithConfigContextRequest) HasSerial() bool { + if o != nil && !IsNil(o.Serial) { + return true + } + + return false +} + +// SetSerial gets a reference to the given string and assigns it to the Serial field. +func (o *PatchedWritableVirtualMachineWithConfigContextRequest) SetSerial(v string) { + o.Serial = &v +} + // GetRole returns the Role field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetRole() DeviceRoleRequest { +func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetRole() BriefDeviceRoleRequest { if o == nil || IsNil(o.Role.Get()) { - var ret DeviceRoleRequest + var ret BriefDeviceRoleRequest return ret } return *o.Role.Get() @@ -266,7 +299,7 @@ func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetRole() Device // 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 *PatchedWritableVirtualMachineWithConfigContextRequest) GetRoleOk() (*DeviceRoleRequest, bool) { +func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetRoleOk() (*BriefDeviceRoleRequest, bool) { if o == nil { return nil, false } @@ -282,8 +315,8 @@ func (o *PatchedWritableVirtualMachineWithConfigContextRequest) HasRole() bool { return false } -// SetRole gets a reference to the given NullableDeviceRoleRequest and assigns it to the Role field. -func (o *PatchedWritableVirtualMachineWithConfigContextRequest) SetRole(v DeviceRoleRequest) { +// SetRole gets a reference to the given NullableBriefDeviceRoleRequest and assigns it to the Role field. +func (o *PatchedWritableVirtualMachineWithConfigContextRequest) SetRole(v BriefDeviceRoleRequest) { o.Role.Set(&v) } @@ -298,9 +331,9 @@ func (o *PatchedWritableVirtualMachineWithConfigContextRequest) UnsetRole() { } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetTenant() TenantRequest { +func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -309,7 +342,7 @@ func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetTenant() Tena // 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 *PatchedWritableVirtualMachineWithConfigContextRequest) GetTenantOk() (*TenantRequest, bool) { +func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -325,8 +358,8 @@ func (o *PatchedWritableVirtualMachineWithConfigContextRequest) HasTenant() bool return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *PatchedWritableVirtualMachineWithConfigContextRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *PatchedWritableVirtualMachineWithConfigContextRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } @@ -341,9 +374,9 @@ func (o *PatchedWritableVirtualMachineWithConfigContextRequest) UnsetTenant() { } // GetPlatform returns the Platform field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetPlatform() PlatformRequest { +func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetPlatform() BriefPlatformRequest { if o == nil || IsNil(o.Platform.Get()) { - var ret PlatformRequest + var ret BriefPlatformRequest return ret } return *o.Platform.Get() @@ -352,7 +385,7 @@ func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetPlatform() Pl // GetPlatformOk returns a tuple with the Platform 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 *PatchedWritableVirtualMachineWithConfigContextRequest) GetPlatformOk() (*PlatformRequest, bool) { +func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetPlatformOk() (*BriefPlatformRequest, bool) { if o == nil { return nil, false } @@ -368,8 +401,8 @@ func (o *PatchedWritableVirtualMachineWithConfigContextRequest) HasPlatform() bo return false } -// SetPlatform gets a reference to the given NullablePlatformRequest and assigns it to the Platform field. -func (o *PatchedWritableVirtualMachineWithConfigContextRequest) SetPlatform(v PlatformRequest) { +// SetPlatform gets a reference to the given NullableBriefPlatformRequest and assigns it to the Platform field. +func (o *PatchedWritableVirtualMachineWithConfigContextRequest) SetPlatform(v BriefPlatformRequest) { o.Platform.Set(&v) } @@ -384,9 +417,9 @@ func (o *PatchedWritableVirtualMachineWithConfigContextRequest) UnsetPlatform() } // GetPrimaryIp4 returns the PrimaryIp4 field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetPrimaryIp4() IPAddressRequest { +func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetPrimaryIp4() BriefIPAddressRequest { if o == nil || IsNil(o.PrimaryIp4.Get()) { - var ret IPAddressRequest + var ret BriefIPAddressRequest return ret } return *o.PrimaryIp4.Get() @@ -395,7 +428,7 @@ func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetPrimaryIp4() // 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 *PatchedWritableVirtualMachineWithConfigContextRequest) GetPrimaryIp4Ok() (*IPAddressRequest, bool) { +func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetPrimaryIp4Ok() (*BriefIPAddressRequest, bool) { if o == nil { return nil, false } @@ -411,8 +444,8 @@ func (o *PatchedWritableVirtualMachineWithConfigContextRequest) HasPrimaryIp4() return false } -// SetPrimaryIp4 gets a reference to the given NullableIPAddressRequest and assigns it to the PrimaryIp4 field. -func (o *PatchedWritableVirtualMachineWithConfigContextRequest) SetPrimaryIp4(v IPAddressRequest) { +// SetPrimaryIp4 gets a reference to the given NullableBriefIPAddressRequest and assigns it to the PrimaryIp4 field. +func (o *PatchedWritableVirtualMachineWithConfigContextRequest) SetPrimaryIp4(v BriefIPAddressRequest) { o.PrimaryIp4.Set(&v) } @@ -427,9 +460,9 @@ func (o *PatchedWritableVirtualMachineWithConfigContextRequest) UnsetPrimaryIp4( } // GetPrimaryIp6 returns the PrimaryIp6 field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetPrimaryIp6() IPAddressRequest { +func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetPrimaryIp6() BriefIPAddressRequest { if o == nil || IsNil(o.PrimaryIp6.Get()) { - var ret IPAddressRequest + var ret BriefIPAddressRequest return ret } return *o.PrimaryIp6.Get() @@ -438,7 +471,7 @@ func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetPrimaryIp6() // 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 *PatchedWritableVirtualMachineWithConfigContextRequest) GetPrimaryIp6Ok() (*IPAddressRequest, bool) { +func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetPrimaryIp6Ok() (*BriefIPAddressRequest, bool) { if o == nil { return nil, false } @@ -454,8 +487,8 @@ func (o *PatchedWritableVirtualMachineWithConfigContextRequest) HasPrimaryIp6() return false } -// SetPrimaryIp6 gets a reference to the given NullableIPAddressRequest and assigns it to the PrimaryIp6 field. -func (o *PatchedWritableVirtualMachineWithConfigContextRequest) SetPrimaryIp6(v IPAddressRequest) { +// SetPrimaryIp6 gets a reference to the given NullableBriefIPAddressRequest and assigns it to the PrimaryIp6 field. +func (o *PatchedWritableVirtualMachineWithConfigContextRequest) SetPrimaryIp6(v BriefIPAddressRequest) { o.PrimaryIp6.Set(&v) } @@ -663,9 +696,9 @@ func (o *PatchedWritableVirtualMachineWithConfigContextRequest) SetComments(v st } // GetConfigTemplate returns the ConfigTemplate field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetConfigTemplate() ConfigTemplateRequest { +func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetConfigTemplate() BriefConfigTemplateRequest { if o == nil || IsNil(o.ConfigTemplate.Get()) { - var ret ConfigTemplateRequest + var ret BriefConfigTemplateRequest return ret } return *o.ConfigTemplate.Get() @@ -674,7 +707,7 @@ func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetConfigTemplat // GetConfigTemplateOk returns a tuple with the ConfigTemplate 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 *PatchedWritableVirtualMachineWithConfigContextRequest) GetConfigTemplateOk() (*ConfigTemplateRequest, bool) { +func (o *PatchedWritableVirtualMachineWithConfigContextRequest) GetConfigTemplateOk() (*BriefConfigTemplateRequest, bool) { if o == nil { return nil, false } @@ -690,8 +723,8 @@ func (o *PatchedWritableVirtualMachineWithConfigContextRequest) HasConfigTemplat return false } -// SetConfigTemplate gets a reference to the given NullableConfigTemplateRequest and assigns it to the ConfigTemplate field. -func (o *PatchedWritableVirtualMachineWithConfigContextRequest) SetConfigTemplate(v ConfigTemplateRequest) { +// SetConfigTemplate gets a reference to the given NullableBriefConfigTemplateRequest and assigns it to the ConfigTemplate field. +func (o *PatchedWritableVirtualMachineWithConfigContextRequest) SetConfigTemplate(v BriefConfigTemplateRequest) { o.ConfigTemplate.Set(&v) } @@ -827,6 +860,9 @@ func (o PatchedWritableVirtualMachineWithConfigContextRequest) ToMap() (map[stri if o.Device.IsSet() { toSerialize["device"] = o.Device.Get() } + if !IsNil(o.Serial) { + toSerialize["serial"] = o.Serial + } if o.Role.IsSet() { toSerialize["role"] = o.Role.Get() } @@ -896,6 +932,7 @@ func (o *PatchedWritableVirtualMachineWithConfigContextRequest) UnmarshalJSON(da delete(additionalProperties, "site") delete(additionalProperties, "cluster") delete(additionalProperties, "device") + delete(additionalProperties, "serial") delete(additionalProperties, "role") delete(additionalProperties, "tenant") delete(additionalProperties, "platform") diff --git a/model_patched_writable_vlan_request.go b/model_patched_writable_vlan_request.go index f341c2425..323de259a 100644 --- a/model_patched_writable_vlan_request.go +++ b/model_patched_writable_vlan_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,14 +19,14 @@ var _ MappedNullable = &PatchedWritableVLANRequest{} // PatchedWritableVLANRequest Adds support for custom fields and tags. type PatchedWritableVLANRequest struct { - Site NullableSiteRequest `json:"site,omitempty"` - Group NullableVLANGroupRequest `json:"group,omitempty"` + Site NullableBriefSiteRequest `json:"site,omitempty"` + Group NullableBriefVLANGroupRequest `json:"group,omitempty"` // Numeric VLAN ID (1-4094) Vid *int32 `json:"vid,omitempty"` Name *string `json:"name,omitempty"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` Status *PatchedWritableVLANRequestStatus `json:"status,omitempty"` - Role NullableRoleRequest `json:"role,omitempty"` + Role NullableBriefRoleRequest `json:"role,omitempty"` Description *string `json:"description,omitempty"` Comments *string `json:"comments,omitempty"` Tags []NestedTagRequest `json:"tags,omitempty"` @@ -54,9 +54,9 @@ func NewPatchedWritableVLANRequestWithDefaults() *PatchedWritableVLANRequest { } // GetSite returns the Site field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableVLANRequest) GetSite() SiteRequest { +func (o *PatchedWritableVLANRequest) GetSite() BriefSiteRequest { if o == nil || IsNil(o.Site.Get()) { - var ret SiteRequest + var ret BriefSiteRequest return ret } return *o.Site.Get() @@ -65,7 +65,7 @@ func (o *PatchedWritableVLANRequest) GetSite() SiteRequest { // GetSiteOk returns a tuple with the Site 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 *PatchedWritableVLANRequest) GetSiteOk() (*SiteRequest, bool) { +func (o *PatchedWritableVLANRequest) GetSiteOk() (*BriefSiteRequest, bool) { if o == nil { return nil, false } @@ -81,8 +81,8 @@ func (o *PatchedWritableVLANRequest) HasSite() bool { return false } -// SetSite gets a reference to the given NullableSiteRequest and assigns it to the Site field. -func (o *PatchedWritableVLANRequest) SetSite(v SiteRequest) { +// SetSite gets a reference to the given NullableBriefSiteRequest and assigns it to the Site field. +func (o *PatchedWritableVLANRequest) SetSite(v BriefSiteRequest) { o.Site.Set(&v) } @@ -97,9 +97,9 @@ func (o *PatchedWritableVLANRequest) UnsetSite() { } // GetGroup returns the Group field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableVLANRequest) GetGroup() VLANGroupRequest { +func (o *PatchedWritableVLANRequest) GetGroup() BriefVLANGroupRequest { if o == nil || IsNil(o.Group.Get()) { - var ret VLANGroupRequest + var ret BriefVLANGroupRequest return ret } return *o.Group.Get() @@ -108,7 +108,7 @@ func (o *PatchedWritableVLANRequest) GetGroup() VLANGroupRequest { // GetGroupOk returns a tuple with the Group 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 *PatchedWritableVLANRequest) GetGroupOk() (*VLANGroupRequest, bool) { +func (o *PatchedWritableVLANRequest) GetGroupOk() (*BriefVLANGroupRequest, bool) { if o == nil { return nil, false } @@ -124,8 +124,8 @@ func (o *PatchedWritableVLANRequest) HasGroup() bool { return false } -// SetGroup gets a reference to the given NullableVLANGroupRequest and assigns it to the Group field. -func (o *PatchedWritableVLANRequest) SetGroup(v VLANGroupRequest) { +// SetGroup gets a reference to the given NullableBriefVLANGroupRequest and assigns it to the Group field. +func (o *PatchedWritableVLANRequest) SetGroup(v BriefVLANGroupRequest) { o.Group.Set(&v) } @@ -204,9 +204,9 @@ func (o *PatchedWritableVLANRequest) SetName(v string) { } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableVLANRequest) GetTenant() TenantRequest { +func (o *PatchedWritableVLANRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -215,7 +215,7 @@ func (o *PatchedWritableVLANRequest) GetTenant() TenantRequest { // 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 *PatchedWritableVLANRequest) GetTenantOk() (*TenantRequest, bool) { +func (o *PatchedWritableVLANRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -231,8 +231,8 @@ func (o *PatchedWritableVLANRequest) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *PatchedWritableVLANRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *PatchedWritableVLANRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } @@ -279,9 +279,9 @@ func (o *PatchedWritableVLANRequest) SetStatus(v PatchedWritableVLANRequestStatu } // GetRole returns the Role field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableVLANRequest) GetRole() RoleRequest { +func (o *PatchedWritableVLANRequest) GetRole() BriefRoleRequest { if o == nil || IsNil(o.Role.Get()) { - var ret RoleRequest + var ret BriefRoleRequest return ret } return *o.Role.Get() @@ -290,7 +290,7 @@ func (o *PatchedWritableVLANRequest) GetRole() RoleRequest { // 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 *PatchedWritableVLANRequest) GetRoleOk() (*RoleRequest, bool) { +func (o *PatchedWritableVLANRequest) GetRoleOk() (*BriefRoleRequest, bool) { if o == nil { return nil, false } @@ -306,8 +306,8 @@ func (o *PatchedWritableVLANRequest) HasRole() bool { return false } -// SetRole gets a reference to the given NullableRoleRequest and assigns it to the Role field. -func (o *PatchedWritableVLANRequest) SetRole(v RoleRequest) { +// SetRole gets a reference to the given NullableBriefRoleRequest and assigns it to the Role field. +func (o *PatchedWritableVLANRequest) SetRole(v BriefRoleRequest) { o.Role.Set(&v) } diff --git a/model_patched_writable_vlan_request_status.go b/model_patched_writable_vlan_request_status.go index 74ada78e4..7e6d23cfb 100644 --- a/model_patched_writable_vlan_request_status.go +++ b/model_patched_writable_vlan_request_status.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_writable_vm_interface_request.go b/model_patched_writable_vm_interface_request.go index fd72c0f66..f355f6cd7 100644 --- a/model_patched_writable_vm_interface_request.go +++ b/model_patched_writable_vm_interface_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,7 +19,7 @@ var _ MappedNullable = &PatchedWritableVMInterfaceRequest{} // PatchedWritableVMInterfaceRequest Adds support for custom fields and tags. type PatchedWritableVMInterfaceRequest struct { - VirtualMachine *VirtualMachineRequest `json:"virtual_machine,omitempty"` + VirtualMachine *BriefVirtualMachineRequest `json:"virtual_machine,omitempty"` Name *string `json:"name,omitempty"` Enabled *bool `json:"enabled,omitempty"` Parent NullableInt32 `json:"parent,omitempty"` @@ -28,9 +28,9 @@ type PatchedWritableVMInterfaceRequest struct { MacAddress NullableString `json:"mac_address,omitempty"` Description *string `json:"description,omitempty"` Mode *PatchedWritableInterfaceRequestMode `json:"mode,omitempty"` - UntaggedVlan NullableVLANRequest `json:"untagged_vlan,omitempty"` + UntaggedVlan NullableBriefVLANRequest `json:"untagged_vlan,omitempty"` TaggedVlans []int32 `json:"tagged_vlans,omitempty"` - Vrf NullableVRFRequest `json:"vrf,omitempty"` + Vrf NullableBriefVRFRequest `json:"vrf,omitempty"` Tags []NestedTagRequest `json:"tags,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} @@ -56,9 +56,9 @@ func NewPatchedWritableVMInterfaceRequestWithDefaults() *PatchedWritableVMInterf } // GetVirtualMachine returns the VirtualMachine field value if set, zero value otherwise. -func (o *PatchedWritableVMInterfaceRequest) GetVirtualMachine() VirtualMachineRequest { +func (o *PatchedWritableVMInterfaceRequest) GetVirtualMachine() BriefVirtualMachineRequest { if o == nil || IsNil(o.VirtualMachine) { - var ret VirtualMachineRequest + var ret BriefVirtualMachineRequest return ret } return *o.VirtualMachine @@ -66,7 +66,7 @@ func (o *PatchedWritableVMInterfaceRequest) GetVirtualMachine() VirtualMachineRe // GetVirtualMachineOk returns a tuple with the VirtualMachine field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedWritableVMInterfaceRequest) GetVirtualMachineOk() (*VirtualMachineRequest, bool) { +func (o *PatchedWritableVMInterfaceRequest) GetVirtualMachineOk() (*BriefVirtualMachineRequest, bool) { if o == nil || IsNil(o.VirtualMachine) { return nil, false } @@ -82,8 +82,8 @@ func (o *PatchedWritableVMInterfaceRequest) HasVirtualMachine() bool { return false } -// SetVirtualMachine gets a reference to the given VirtualMachineRequest and assigns it to the VirtualMachine field. -func (o *PatchedWritableVMInterfaceRequest) SetVirtualMachine(v VirtualMachineRequest) { +// SetVirtualMachine gets a reference to the given BriefVirtualMachineRequest and assigns it to the VirtualMachine field. +func (o *PatchedWritableVMInterfaceRequest) SetVirtualMachine(v BriefVirtualMachineRequest) { o.VirtualMachine = &v } @@ -388,9 +388,9 @@ func (o *PatchedWritableVMInterfaceRequest) SetMode(v PatchedWritableInterfaceRe } // GetUntaggedVlan returns the UntaggedVlan field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableVMInterfaceRequest) GetUntaggedVlan() VLANRequest { +func (o *PatchedWritableVMInterfaceRequest) GetUntaggedVlan() BriefVLANRequest { if o == nil || IsNil(o.UntaggedVlan.Get()) { - var ret VLANRequest + var ret BriefVLANRequest return ret } return *o.UntaggedVlan.Get() @@ -399,7 +399,7 @@ func (o *PatchedWritableVMInterfaceRequest) GetUntaggedVlan() VLANRequest { // GetUntaggedVlanOk returns a tuple with the UntaggedVlan 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 *PatchedWritableVMInterfaceRequest) GetUntaggedVlanOk() (*VLANRequest, bool) { +func (o *PatchedWritableVMInterfaceRequest) GetUntaggedVlanOk() (*BriefVLANRequest, bool) { if o == nil { return nil, false } @@ -415,8 +415,8 @@ func (o *PatchedWritableVMInterfaceRequest) HasUntaggedVlan() bool { return false } -// SetUntaggedVlan gets a reference to the given NullableVLANRequest and assigns it to the UntaggedVlan field. -func (o *PatchedWritableVMInterfaceRequest) SetUntaggedVlan(v VLANRequest) { +// SetUntaggedVlan gets a reference to the given NullableBriefVLANRequest and assigns it to the UntaggedVlan field. +func (o *PatchedWritableVMInterfaceRequest) SetUntaggedVlan(v BriefVLANRequest) { o.UntaggedVlan.Set(&v) } @@ -463,9 +463,9 @@ func (o *PatchedWritableVMInterfaceRequest) SetTaggedVlans(v []int32) { } // GetVrf returns the Vrf field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableVMInterfaceRequest) GetVrf() VRFRequest { +func (o *PatchedWritableVMInterfaceRequest) GetVrf() BriefVRFRequest { if o == nil || IsNil(o.Vrf.Get()) { - var ret VRFRequest + var ret BriefVRFRequest return ret } return *o.Vrf.Get() @@ -474,7 +474,7 @@ func (o *PatchedWritableVMInterfaceRequest) GetVrf() VRFRequest { // GetVrfOk returns a tuple with the Vrf 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 *PatchedWritableVMInterfaceRequest) GetVrfOk() (*VRFRequest, bool) { +func (o *PatchedWritableVMInterfaceRequest) GetVrfOk() (*BriefVRFRequest, bool) { if o == nil { return nil, false } @@ -490,8 +490,8 @@ func (o *PatchedWritableVMInterfaceRequest) HasVrf() bool { return false } -// SetVrf gets a reference to the given NullableVRFRequest and assigns it to the Vrf field. -func (o *PatchedWritableVMInterfaceRequest) SetVrf(v VRFRequest) { +// SetVrf gets a reference to the given NullableBriefVRFRequest and assigns it to the Vrf field. +func (o *PatchedWritableVMInterfaceRequest) SetVrf(v BriefVRFRequest) { o.Vrf.Set(&v) } diff --git a/model_patched_writable_wireless_lan_group_request.go b/model_patched_writable_wireless_lan_group_request.go index 1ffc71e4c..dd806bd4d 100644 --- a/model_patched_writable_wireless_lan_group_request.go +++ b/model_patched_writable_wireless_lan_group_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_writable_wireless_lan_request.go b/model_patched_writable_wireless_lan_request.go index 961912611..38853ba29 100644 --- a/model_patched_writable_wireless_lan_request.go +++ b/model_patched_writable_wireless_lan_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,12 +21,12 @@ var _ MappedNullable = &PatchedWritableWirelessLANRequest{} type PatchedWritableWirelessLANRequest struct { Ssid *string `json:"ssid,omitempty"` Description *string `json:"description,omitempty"` - Group NullableWirelessLANGroupRequest `json:"group,omitempty"` + Group NullableBriefWirelessLANGroupRequest `json:"group,omitempty"` Status *PatchedWritableWirelessLANRequestStatus `json:"status,omitempty"` - Vlan NullableVLANRequest `json:"vlan,omitempty"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` - AuthType *AuthenticationType1 `json:"auth_type,omitempty"` - AuthCipher *AuthenticationCipher `json:"auth_cipher,omitempty"` + Vlan NullableBriefVLANRequest `json:"vlan,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` + AuthType *AuthenticationType3 `json:"auth_type,omitempty"` + AuthCipher *AuthenticationCipher1 `json:"auth_cipher,omitempty"` AuthPsk *string `json:"auth_psk,omitempty"` Comments *string `json:"comments,omitempty"` Tags []NestedTagRequest `json:"tags,omitempty"` @@ -118,9 +118,9 @@ func (o *PatchedWritableWirelessLANRequest) SetDescription(v string) { } // GetGroup returns the Group field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableWirelessLANRequest) GetGroup() WirelessLANGroupRequest { +func (o *PatchedWritableWirelessLANRequest) GetGroup() BriefWirelessLANGroupRequest { if o == nil || IsNil(o.Group.Get()) { - var ret WirelessLANGroupRequest + var ret BriefWirelessLANGroupRequest return ret } return *o.Group.Get() @@ -129,7 +129,7 @@ func (o *PatchedWritableWirelessLANRequest) GetGroup() WirelessLANGroupRequest { // GetGroupOk returns a tuple with the Group 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 *PatchedWritableWirelessLANRequest) GetGroupOk() (*WirelessLANGroupRequest, bool) { +func (o *PatchedWritableWirelessLANRequest) GetGroupOk() (*BriefWirelessLANGroupRequest, bool) { if o == nil { return nil, false } @@ -145,8 +145,8 @@ func (o *PatchedWritableWirelessLANRequest) HasGroup() bool { return false } -// SetGroup gets a reference to the given NullableWirelessLANGroupRequest and assigns it to the Group field. -func (o *PatchedWritableWirelessLANRequest) SetGroup(v WirelessLANGroupRequest) { +// SetGroup gets a reference to the given NullableBriefWirelessLANGroupRequest and assigns it to the Group field. +func (o *PatchedWritableWirelessLANRequest) SetGroup(v BriefWirelessLANGroupRequest) { o.Group.Set(&v) } @@ -193,9 +193,9 @@ func (o *PatchedWritableWirelessLANRequest) SetStatus(v PatchedWritableWirelessL } // GetVlan returns the Vlan field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableWirelessLANRequest) GetVlan() VLANRequest { +func (o *PatchedWritableWirelessLANRequest) GetVlan() BriefVLANRequest { if o == nil || IsNil(o.Vlan.Get()) { - var ret VLANRequest + var ret BriefVLANRequest return ret } return *o.Vlan.Get() @@ -204,7 +204,7 @@ func (o *PatchedWritableWirelessLANRequest) GetVlan() VLANRequest { // 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 *PatchedWritableWirelessLANRequest) GetVlanOk() (*VLANRequest, bool) { +func (o *PatchedWritableWirelessLANRequest) GetVlanOk() (*BriefVLANRequest, bool) { if o == nil { return nil, false } @@ -220,8 +220,8 @@ func (o *PatchedWritableWirelessLANRequest) HasVlan() bool { return false } -// SetVlan gets a reference to the given NullableVLANRequest and assigns it to the Vlan field. -func (o *PatchedWritableWirelessLANRequest) SetVlan(v VLANRequest) { +// SetVlan gets a reference to the given NullableBriefVLANRequest and assigns it to the Vlan field. +func (o *PatchedWritableWirelessLANRequest) SetVlan(v BriefVLANRequest) { o.Vlan.Set(&v) } @@ -236,9 +236,9 @@ func (o *PatchedWritableWirelessLANRequest) UnsetVlan() { } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableWirelessLANRequest) GetTenant() TenantRequest { +func (o *PatchedWritableWirelessLANRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -247,7 +247,7 @@ func (o *PatchedWritableWirelessLANRequest) GetTenant() TenantRequest { // 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 *PatchedWritableWirelessLANRequest) GetTenantOk() (*TenantRequest, bool) { +func (o *PatchedWritableWirelessLANRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -263,8 +263,8 @@ func (o *PatchedWritableWirelessLANRequest) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *PatchedWritableWirelessLANRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *PatchedWritableWirelessLANRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } @@ -279,9 +279,9 @@ func (o *PatchedWritableWirelessLANRequest) UnsetTenant() { } // GetAuthType returns the AuthType field value if set, zero value otherwise. -func (o *PatchedWritableWirelessLANRequest) GetAuthType() AuthenticationType1 { +func (o *PatchedWritableWirelessLANRequest) GetAuthType() AuthenticationType3 { if o == nil || IsNil(o.AuthType) { - var ret AuthenticationType1 + var ret AuthenticationType3 return ret } return *o.AuthType @@ -289,7 +289,7 @@ func (o *PatchedWritableWirelessLANRequest) GetAuthType() AuthenticationType1 { // GetAuthTypeOk returns a tuple with the AuthType field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedWritableWirelessLANRequest) GetAuthTypeOk() (*AuthenticationType1, bool) { +func (o *PatchedWritableWirelessLANRequest) GetAuthTypeOk() (*AuthenticationType3, bool) { if o == nil || IsNil(o.AuthType) { return nil, false } @@ -305,15 +305,15 @@ func (o *PatchedWritableWirelessLANRequest) HasAuthType() bool { return false } -// SetAuthType gets a reference to the given AuthenticationType1 and assigns it to the AuthType field. -func (o *PatchedWritableWirelessLANRequest) SetAuthType(v AuthenticationType1) { +// SetAuthType gets a reference to the given AuthenticationType3 and assigns it to the AuthType field. +func (o *PatchedWritableWirelessLANRequest) SetAuthType(v AuthenticationType3) { o.AuthType = &v } // GetAuthCipher returns the AuthCipher field value if set, zero value otherwise. -func (o *PatchedWritableWirelessLANRequest) GetAuthCipher() AuthenticationCipher { +func (o *PatchedWritableWirelessLANRequest) GetAuthCipher() AuthenticationCipher1 { if o == nil || IsNil(o.AuthCipher) { - var ret AuthenticationCipher + var ret AuthenticationCipher1 return ret } return *o.AuthCipher @@ -321,7 +321,7 @@ func (o *PatchedWritableWirelessLANRequest) GetAuthCipher() AuthenticationCipher // GetAuthCipherOk returns a tuple with the AuthCipher field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedWritableWirelessLANRequest) GetAuthCipherOk() (*AuthenticationCipher, bool) { +func (o *PatchedWritableWirelessLANRequest) GetAuthCipherOk() (*AuthenticationCipher1, bool) { if o == nil || IsNil(o.AuthCipher) { return nil, false } @@ -337,8 +337,8 @@ func (o *PatchedWritableWirelessLANRequest) HasAuthCipher() bool { return false } -// SetAuthCipher gets a reference to the given AuthenticationCipher and assigns it to the AuthCipher field. -func (o *PatchedWritableWirelessLANRequest) SetAuthCipher(v AuthenticationCipher) { +// SetAuthCipher gets a reference to the given AuthenticationCipher1 and assigns it to the AuthCipher field. +func (o *PatchedWritableWirelessLANRequest) SetAuthCipher(v AuthenticationCipher1) { o.AuthCipher = &v } diff --git a/model_patched_writable_wireless_lan_request_status.go b/model_patched_writable_wireless_lan_request_status.go index 2960171ff..87995e78e 100644 --- a/model_patched_writable_wireless_lan_request_status.go +++ b/model_patched_writable_wireless_lan_request_status.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patched_writable_wireless_link_request.go b/model_patched_writable_wireless_link_request.go index 53a6fee89..91fc7875f 100644 --- a/model_patched_writable_wireless_link_request.go +++ b/model_patched_writable_wireless_link_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,18 +19,20 @@ var _ MappedNullable = &PatchedWritableWirelessLinkRequest{} // PatchedWritableWirelessLinkRequest Adds support for custom fields and tags. type PatchedWritableWirelessLinkRequest struct { - InterfaceA *InterfaceRequest `json:"interface_a,omitempty"` - InterfaceB *InterfaceRequest `json:"interface_b,omitempty"` - Ssid *string `json:"ssid,omitempty"` - Status *PatchedWritableCableRequestStatus `json:"status,omitempty"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` - AuthType *AuthenticationType1 `json:"auth_type,omitempty"` - AuthCipher *AuthenticationCipher `json:"auth_cipher,omitempty"` - AuthPsk *string `json:"auth_psk,omitempty"` - Description *string `json:"description,omitempty"` - Comments *string `json:"comments,omitempty"` - Tags []NestedTagRequest `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + InterfaceA *BriefInterfaceRequest `json:"interface_a,omitempty"` + InterfaceB *BriefInterfaceRequest `json:"interface_b,omitempty"` + Ssid *string `json:"ssid,omitempty"` + Status *CableStatusValue `json:"status,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` + AuthType *AuthenticationType3 `json:"auth_type,omitempty"` + AuthCipher *AuthenticationCipher1 `json:"auth_cipher,omitempty"` + AuthPsk *string `json:"auth_psk,omitempty"` + Distance NullableFloat64 `json:"distance,omitempty"` + DistanceUnit *PatchedWritableWirelessLinkRequestDistanceUnit `json:"distance_unit,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -54,9 +56,9 @@ func NewPatchedWritableWirelessLinkRequestWithDefaults() *PatchedWritableWireles } // GetInterfaceA returns the InterfaceA field value if set, zero value otherwise. -func (o *PatchedWritableWirelessLinkRequest) GetInterfaceA() InterfaceRequest { +func (o *PatchedWritableWirelessLinkRequest) GetInterfaceA() BriefInterfaceRequest { if o == nil || IsNil(o.InterfaceA) { - var ret InterfaceRequest + var ret BriefInterfaceRequest return ret } return *o.InterfaceA @@ -64,7 +66,7 @@ func (o *PatchedWritableWirelessLinkRequest) GetInterfaceA() InterfaceRequest { // GetInterfaceAOk returns a tuple with the InterfaceA field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedWritableWirelessLinkRequest) GetInterfaceAOk() (*InterfaceRequest, bool) { +func (o *PatchedWritableWirelessLinkRequest) GetInterfaceAOk() (*BriefInterfaceRequest, bool) { if o == nil || IsNil(o.InterfaceA) { return nil, false } @@ -80,15 +82,15 @@ func (o *PatchedWritableWirelessLinkRequest) HasInterfaceA() bool { return false } -// SetInterfaceA gets a reference to the given InterfaceRequest and assigns it to the InterfaceA field. -func (o *PatchedWritableWirelessLinkRequest) SetInterfaceA(v InterfaceRequest) { +// SetInterfaceA gets a reference to the given BriefInterfaceRequest and assigns it to the InterfaceA field. +func (o *PatchedWritableWirelessLinkRequest) SetInterfaceA(v BriefInterfaceRequest) { o.InterfaceA = &v } // GetInterfaceB returns the InterfaceB field value if set, zero value otherwise. -func (o *PatchedWritableWirelessLinkRequest) GetInterfaceB() InterfaceRequest { +func (o *PatchedWritableWirelessLinkRequest) GetInterfaceB() BriefInterfaceRequest { if o == nil || IsNil(o.InterfaceB) { - var ret InterfaceRequest + var ret BriefInterfaceRequest return ret } return *o.InterfaceB @@ -96,7 +98,7 @@ func (o *PatchedWritableWirelessLinkRequest) GetInterfaceB() InterfaceRequest { // GetInterfaceBOk returns a tuple with the InterfaceB field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedWritableWirelessLinkRequest) GetInterfaceBOk() (*InterfaceRequest, bool) { +func (o *PatchedWritableWirelessLinkRequest) GetInterfaceBOk() (*BriefInterfaceRequest, bool) { if o == nil || IsNil(o.InterfaceB) { return nil, false } @@ -112,8 +114,8 @@ func (o *PatchedWritableWirelessLinkRequest) HasInterfaceB() bool { return false } -// SetInterfaceB gets a reference to the given InterfaceRequest and assigns it to the InterfaceB field. -func (o *PatchedWritableWirelessLinkRequest) SetInterfaceB(v InterfaceRequest) { +// SetInterfaceB gets a reference to the given BriefInterfaceRequest and assigns it to the InterfaceB field. +func (o *PatchedWritableWirelessLinkRequest) SetInterfaceB(v BriefInterfaceRequest) { o.InterfaceB = &v } @@ -150,9 +152,9 @@ func (o *PatchedWritableWirelessLinkRequest) SetSsid(v string) { } // GetStatus returns the Status field value if set, zero value otherwise. -func (o *PatchedWritableWirelessLinkRequest) GetStatus() PatchedWritableCableRequestStatus { +func (o *PatchedWritableWirelessLinkRequest) GetStatus() CableStatusValue { if o == nil || IsNil(o.Status) { - var ret PatchedWritableCableRequestStatus + var ret CableStatusValue return ret } return *o.Status @@ -160,7 +162,7 @@ func (o *PatchedWritableWirelessLinkRequest) GetStatus() PatchedWritableCableReq // 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 *PatchedWritableWirelessLinkRequest) GetStatusOk() (*PatchedWritableCableRequestStatus, bool) { +func (o *PatchedWritableWirelessLinkRequest) GetStatusOk() (*CableStatusValue, bool) { if o == nil || IsNil(o.Status) { return nil, false } @@ -176,15 +178,15 @@ func (o *PatchedWritableWirelessLinkRequest) HasStatus() bool { return false } -// SetStatus gets a reference to the given PatchedWritableCableRequestStatus and assigns it to the Status field. -func (o *PatchedWritableWirelessLinkRequest) SetStatus(v PatchedWritableCableRequestStatus) { +// SetStatus gets a reference to the given CableStatusValue and assigns it to the Status field. +func (o *PatchedWritableWirelessLinkRequest) SetStatus(v CableStatusValue) { o.Status = &v } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedWritableWirelessLinkRequest) GetTenant() TenantRequest { +func (o *PatchedWritableWirelessLinkRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -193,7 +195,7 @@ func (o *PatchedWritableWirelessLinkRequest) GetTenant() TenantRequest { // 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 *PatchedWritableWirelessLinkRequest) GetTenantOk() (*TenantRequest, bool) { +func (o *PatchedWritableWirelessLinkRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -209,8 +211,8 @@ func (o *PatchedWritableWirelessLinkRequest) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *PatchedWritableWirelessLinkRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *PatchedWritableWirelessLinkRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } @@ -225,9 +227,9 @@ func (o *PatchedWritableWirelessLinkRequest) UnsetTenant() { } // GetAuthType returns the AuthType field value if set, zero value otherwise. -func (o *PatchedWritableWirelessLinkRequest) GetAuthType() AuthenticationType1 { +func (o *PatchedWritableWirelessLinkRequest) GetAuthType() AuthenticationType3 { if o == nil || IsNil(o.AuthType) { - var ret AuthenticationType1 + var ret AuthenticationType3 return ret } return *o.AuthType @@ -235,7 +237,7 @@ func (o *PatchedWritableWirelessLinkRequest) GetAuthType() AuthenticationType1 { // GetAuthTypeOk returns a tuple with the AuthType field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedWritableWirelessLinkRequest) GetAuthTypeOk() (*AuthenticationType1, bool) { +func (o *PatchedWritableWirelessLinkRequest) GetAuthTypeOk() (*AuthenticationType3, bool) { if o == nil || IsNil(o.AuthType) { return nil, false } @@ -251,15 +253,15 @@ func (o *PatchedWritableWirelessLinkRequest) HasAuthType() bool { return false } -// SetAuthType gets a reference to the given AuthenticationType1 and assigns it to the AuthType field. -func (o *PatchedWritableWirelessLinkRequest) SetAuthType(v AuthenticationType1) { +// SetAuthType gets a reference to the given AuthenticationType3 and assigns it to the AuthType field. +func (o *PatchedWritableWirelessLinkRequest) SetAuthType(v AuthenticationType3) { o.AuthType = &v } // GetAuthCipher returns the AuthCipher field value if set, zero value otherwise. -func (o *PatchedWritableWirelessLinkRequest) GetAuthCipher() AuthenticationCipher { +func (o *PatchedWritableWirelessLinkRequest) GetAuthCipher() AuthenticationCipher1 { if o == nil || IsNil(o.AuthCipher) { - var ret AuthenticationCipher + var ret AuthenticationCipher1 return ret } return *o.AuthCipher @@ -267,7 +269,7 @@ func (o *PatchedWritableWirelessLinkRequest) GetAuthCipher() AuthenticationCiphe // GetAuthCipherOk returns a tuple with the AuthCipher field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedWritableWirelessLinkRequest) GetAuthCipherOk() (*AuthenticationCipher, bool) { +func (o *PatchedWritableWirelessLinkRequest) GetAuthCipherOk() (*AuthenticationCipher1, bool) { if o == nil || IsNil(o.AuthCipher) { return nil, false } @@ -283,8 +285,8 @@ func (o *PatchedWritableWirelessLinkRequest) HasAuthCipher() bool { return false } -// SetAuthCipher gets a reference to the given AuthenticationCipher and assigns it to the AuthCipher field. -func (o *PatchedWritableWirelessLinkRequest) SetAuthCipher(v AuthenticationCipher) { +// SetAuthCipher gets a reference to the given AuthenticationCipher1 and assigns it to the AuthCipher field. +func (o *PatchedWritableWirelessLinkRequest) SetAuthCipher(v AuthenticationCipher1) { o.AuthCipher = &v } @@ -320,6 +322,81 @@ func (o *PatchedWritableWirelessLinkRequest) SetAuthPsk(v string) { o.AuthPsk = &v } +// GetDistance returns the Distance field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedWritableWirelessLinkRequest) GetDistance() float64 { + if o == nil || IsNil(o.Distance.Get()) { + var ret float64 + return ret + } + return *o.Distance.Get() +} + +// GetDistanceOk returns a tuple with the Distance 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 *PatchedWritableWirelessLinkRequest) GetDistanceOk() (*float64, bool) { + if o == nil { + return nil, false + } + return o.Distance.Get(), o.Distance.IsSet() +} + +// HasDistance returns a boolean if a field has been set. +func (o *PatchedWritableWirelessLinkRequest) HasDistance() bool { + if o != nil && o.Distance.IsSet() { + return true + } + + return false +} + +// SetDistance gets a reference to the given NullableFloat64 and assigns it to the Distance field. +func (o *PatchedWritableWirelessLinkRequest) SetDistance(v float64) { + o.Distance.Set(&v) +} + +// SetDistanceNil sets the value for Distance to be an explicit nil +func (o *PatchedWritableWirelessLinkRequest) SetDistanceNil() { + o.Distance.Set(nil) +} + +// UnsetDistance ensures that no value is present for Distance, not even an explicit nil +func (o *PatchedWritableWirelessLinkRequest) UnsetDistance() { + o.Distance.Unset() +} + +// GetDistanceUnit returns the DistanceUnit field value if set, zero value otherwise. +func (o *PatchedWritableWirelessLinkRequest) GetDistanceUnit() PatchedWritableWirelessLinkRequestDistanceUnit { + if o == nil || IsNil(o.DistanceUnit) { + var ret PatchedWritableWirelessLinkRequestDistanceUnit + return ret + } + return *o.DistanceUnit +} + +// GetDistanceUnitOk returns a tuple with the DistanceUnit field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedWritableWirelessLinkRequest) GetDistanceUnitOk() (*PatchedWritableWirelessLinkRequestDistanceUnit, bool) { + if o == nil || IsNil(o.DistanceUnit) { + return nil, false + } + return o.DistanceUnit, true +} + +// HasDistanceUnit returns a boolean if a field has been set. +func (o *PatchedWritableWirelessLinkRequest) HasDistanceUnit() bool { + if o != nil && !IsNil(o.DistanceUnit) { + return true + } + + return false +} + +// SetDistanceUnit gets a reference to the given PatchedWritableWirelessLinkRequestDistanceUnit and assigns it to the DistanceUnit field. +func (o *PatchedWritableWirelessLinkRequest) SetDistanceUnit(v PatchedWritableWirelessLinkRequestDistanceUnit) { + o.DistanceUnit = &v +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *PatchedWritableWirelessLinkRequest) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -482,6 +559,12 @@ func (o PatchedWritableWirelessLinkRequest) ToMap() (map[string]interface{}, err if !IsNil(o.AuthPsk) { toSerialize["auth_psk"] = o.AuthPsk } + if o.Distance.IsSet() { + toSerialize["distance"] = o.Distance.Get() + } + if !IsNil(o.DistanceUnit) { + toSerialize["distance_unit"] = o.DistanceUnit + } if !IsNil(o.Description) { toSerialize["description"] = o.Description } @@ -524,6 +607,8 @@ func (o *PatchedWritableWirelessLinkRequest) UnmarshalJSON(data []byte) (err err delete(additionalProperties, "auth_type") delete(additionalProperties, "auth_cipher") delete(additionalProperties, "auth_psk") + delete(additionalProperties, "distance") + delete(additionalProperties, "distance_unit") delete(additionalProperties, "description") delete(additionalProperties, "comments") delete(additionalProperties, "tags") diff --git a/model_patched_writable_wireless_link_request_distance_unit.go b/model_patched_writable_wireless_link_request_distance_unit.go new file mode 100644 index 000000000..d1cfcde7d --- /dev/null +++ b/model_patched_writable_wireless_link_request_distance_unit.go @@ -0,0 +1,116 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// PatchedWritableWirelessLinkRequestDistanceUnit * `km` - Kilometers * `m` - Meters * `mi` - Miles * `ft` - Feet +type PatchedWritableWirelessLinkRequestDistanceUnit string + +// List of PatchedWritableWirelessLinkRequest_distance_unit +const ( + PATCHEDWRITABLEWIRELESSLINKREQUESTDISTANCEUNIT_KM PatchedWritableWirelessLinkRequestDistanceUnit = "km" + PATCHEDWRITABLEWIRELESSLINKREQUESTDISTANCEUNIT_M PatchedWritableWirelessLinkRequestDistanceUnit = "m" + PATCHEDWRITABLEWIRELESSLINKREQUESTDISTANCEUNIT_MI PatchedWritableWirelessLinkRequestDistanceUnit = "mi" + PATCHEDWRITABLEWIRELESSLINKREQUESTDISTANCEUNIT_FT PatchedWritableWirelessLinkRequestDistanceUnit = "ft" + PATCHEDWRITABLEWIRELESSLINKREQUESTDISTANCEUNIT_EMPTY PatchedWritableWirelessLinkRequestDistanceUnit = "" +) + +// All allowed values of PatchedWritableWirelessLinkRequestDistanceUnit enum +var AllowedPatchedWritableWirelessLinkRequestDistanceUnitEnumValues = []PatchedWritableWirelessLinkRequestDistanceUnit{ + "km", + "m", + "mi", + "ft", + "", +} + +func (v *PatchedWritableWirelessLinkRequestDistanceUnit) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := PatchedWritableWirelessLinkRequestDistanceUnit(value) + for _, existing := range AllowedPatchedWritableWirelessLinkRequestDistanceUnitEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid PatchedWritableWirelessLinkRequestDistanceUnit", value) +} + +// NewPatchedWritableWirelessLinkRequestDistanceUnitFromValue returns a pointer to a valid PatchedWritableWirelessLinkRequestDistanceUnit +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewPatchedWritableWirelessLinkRequestDistanceUnitFromValue(v string) (*PatchedWritableWirelessLinkRequestDistanceUnit, error) { + ev := PatchedWritableWirelessLinkRequestDistanceUnit(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for PatchedWritableWirelessLinkRequestDistanceUnit: valid values are %v", v, AllowedPatchedWritableWirelessLinkRequestDistanceUnitEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v PatchedWritableWirelessLinkRequestDistanceUnit) IsValid() bool { + for _, existing := range AllowedPatchedWritableWirelessLinkRequestDistanceUnitEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to PatchedWritableWirelessLinkRequest_distance_unit value +func (v PatchedWritableWirelessLinkRequestDistanceUnit) Ptr() *PatchedWritableWirelessLinkRequestDistanceUnit { + return &v +} + +type NullablePatchedWritableWirelessLinkRequestDistanceUnit struct { + value *PatchedWritableWirelessLinkRequestDistanceUnit + isSet bool +} + +func (v NullablePatchedWritableWirelessLinkRequestDistanceUnit) Get() *PatchedWritableWirelessLinkRequestDistanceUnit { + return v.value +} + +func (v *NullablePatchedWritableWirelessLinkRequestDistanceUnit) Set(val *PatchedWritableWirelessLinkRequestDistanceUnit) { + v.value = val + v.isSet = true +} + +func (v NullablePatchedWritableWirelessLinkRequestDistanceUnit) IsSet() bool { + return v.isSet +} + +func (v *NullablePatchedWritableWirelessLinkRequestDistanceUnit) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePatchedWritableWirelessLinkRequestDistanceUnit(val *PatchedWritableWirelessLinkRequestDistanceUnit) *NullablePatchedWritableWirelessLinkRequestDistanceUnit { + return &NullablePatchedWritableWirelessLinkRequestDistanceUnit{value: val, isSet: true} +} + +func (v NullablePatchedWritableWirelessLinkRequestDistanceUnit) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePatchedWritableWirelessLinkRequestDistanceUnit) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_platform.go b/model_platform.go index 5ab96ce26..1e962a5e4 100644 --- a/model_platform.go +++ b/model_platform.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -13,6 +13,7 @@ package netbox import ( "encoding/json" "fmt" + "time" ) // checks if the Platform type satisfies the MappedNullable interface at compile time @@ -20,14 +21,21 @@ var _ MappedNullable = &Platform{} // Platform Adds support for custom fields and tags. type Platform struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - Name string `json:"name"` - Slug string `json:"slug"` - Description *string `json:"description,omitempty"` - DeviceCount int64 `json:"device_count"` - VirtualmachineCount int64 `json:"virtualmachine_count"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Name string `json:"name"` + Slug string `json:"slug"` + Manufacturer NullableBriefManufacturer `json:"manufacturer,omitempty"` + ConfigTemplate NullableBriefConfigTemplate `json:"config_template,omitempty"` + Description *string `json:"description,omitempty"` + Tags []NestedTag `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Created NullableTime `json:"created"` + LastUpdated NullableTime `json:"last_updated"` + DeviceCount *int64 `json:"device_count,omitempty"` + VirtualmachineCount *int64 `json:"virtualmachine_count,omitempty"` AdditionalProperties map[string]interface{} } @@ -37,15 +45,15 @@ 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 int32, url string, display string, name string, slug string, deviceCount int64, virtualmachineCount int64) *Platform { +func NewPlatform(id int32, url string, display string, name string, slug string, created NullableTime, lastUpdated NullableTime) *Platform { this := Platform{} this.Id = id this.Url = url this.Display = display this.Name = name this.Slug = slug - this.DeviceCount = deviceCount - this.VirtualmachineCount = virtualmachineCount + this.Created = created + this.LastUpdated = lastUpdated return &this } @@ -105,6 +113,38 @@ func (o *Platform) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *Platform) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Platform) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *Platform) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *Platform) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *Platform) GetDisplay() string { if o == nil { @@ -177,6 +217,92 @@ func (o *Platform) SetSlug(v string) { o.Slug = v } +// GetManufacturer returns the Manufacturer field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Platform) GetManufacturer() BriefManufacturer { + if o == nil || IsNil(o.Manufacturer.Get()) { + var ret BriefManufacturer + return ret + } + return *o.Manufacturer.Get() +} + +// GetManufacturerOk returns a tuple with the Manufacturer 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 *Platform) GetManufacturerOk() (*BriefManufacturer, bool) { + if o == nil { + return nil, false + } + return o.Manufacturer.Get(), o.Manufacturer.IsSet() +} + +// HasManufacturer returns a boolean if a field has been set. +func (o *Platform) HasManufacturer() bool { + if o != nil && o.Manufacturer.IsSet() { + return true + } + + return false +} + +// SetManufacturer gets a reference to the given NullableBriefManufacturer and assigns it to the Manufacturer field. +func (o *Platform) SetManufacturer(v BriefManufacturer) { + o.Manufacturer.Set(&v) +} + +// SetManufacturerNil sets the value for Manufacturer to be an explicit nil +func (o *Platform) SetManufacturerNil() { + o.Manufacturer.Set(nil) +} + +// UnsetManufacturer ensures that no value is present for Manufacturer, not even an explicit nil +func (o *Platform) UnsetManufacturer() { + o.Manufacturer.Unset() +} + +// GetConfigTemplate returns the ConfigTemplate field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Platform) GetConfigTemplate() BriefConfigTemplate { + if o == nil || IsNil(o.ConfigTemplate.Get()) { + var ret BriefConfigTemplate + return ret + } + return *o.ConfigTemplate.Get() +} + +// GetConfigTemplateOk returns a tuple with the ConfigTemplate 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 *Platform) GetConfigTemplateOk() (*BriefConfigTemplate, bool) { + if o == nil { + return nil, false + } + return o.ConfigTemplate.Get(), o.ConfigTemplate.IsSet() +} + +// HasConfigTemplate returns a boolean if a field has been set. +func (o *Platform) HasConfigTemplate() bool { + if o != nil && o.ConfigTemplate.IsSet() { + return true + } + + return false +} + +// SetConfigTemplate gets a reference to the given NullableBriefConfigTemplate and assigns it to the ConfigTemplate field. +func (o *Platform) SetConfigTemplate(v BriefConfigTemplate) { + o.ConfigTemplate.Set(&v) +} + +// SetConfigTemplateNil sets the value for ConfigTemplate to be an explicit nil +func (o *Platform) SetConfigTemplateNil() { + o.ConfigTemplate.Set(nil) +} + +// UnsetConfigTemplate ensures that no value is present for ConfigTemplate, not even an explicit nil +func (o *Platform) UnsetConfigTemplate() { + o.ConfigTemplate.Unset() +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *Platform) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -209,52 +335,184 @@ func (o *Platform) SetDescription(v string) { o.Description = &v } -// GetDeviceCount returns the DeviceCount field value -func (o *Platform) GetDeviceCount() int64 { +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *Platform) GetTags() []NestedTag { + if o == nil || IsNil(o.Tags) { + var ret []NestedTag + 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 *Platform) GetTagsOk() ([]NestedTag, 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 *Platform) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTag and assigns it to the Tags field. +func (o *Platform) SetTags(v []NestedTag) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *Platform) 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 *Platform) 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 *Platform) 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 *Platform) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetCreated returns the Created field value +// If the value is explicit nil, the zero value for time.Time will be returned +func (o *Platform) 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 *Platform) GetCreatedOk() (*time.Time, bool) { if o == nil { - var ret int64 + return nil, false + } + return o.Created.Get(), o.Created.IsSet() +} + +// SetCreated sets field value +func (o *Platform) 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 *Platform) GetLastUpdated() time.Time { + if o == nil || o.LastUpdated.Get() == nil { + var ret time.Time return ret } - return o.DeviceCount + return *o.LastUpdated.Get() } -// GetDeviceCountOk returns a tuple with the DeviceCount field value +// GetLastUpdatedOk returns a tuple with the LastUpdated field value // and a boolean to check if the value has been set. -func (o *Platform) GetDeviceCountOk() (*int64, bool) { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Platform) GetLastUpdatedOk() (*time.Time, bool) { if o == nil { return nil, false } - return &o.DeviceCount, true + return o.LastUpdated.Get(), o.LastUpdated.IsSet() } -// SetDeviceCount sets field value +// SetLastUpdated sets field value +func (o *Platform) SetLastUpdated(v time.Time) { + o.LastUpdated.Set(&v) +} + +// GetDeviceCount returns the DeviceCount field value if set, zero value otherwise. +func (o *Platform) GetDeviceCount() int64 { + if o == nil || IsNil(o.DeviceCount) { + var ret int64 + return ret + } + return *o.DeviceCount +} + +// GetDeviceCountOk returns a tuple with the DeviceCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Platform) GetDeviceCountOk() (*int64, bool) { + if o == nil || IsNil(o.DeviceCount) { + return nil, false + } + return o.DeviceCount, true +} + +// HasDeviceCount returns a boolean if a field has been set. +func (o *Platform) HasDeviceCount() bool { + if o != nil && !IsNil(o.DeviceCount) { + return true + } + + return false +} + +// SetDeviceCount gets a reference to the given int64 and assigns it to the DeviceCount field. func (o *Platform) SetDeviceCount(v int64) { - o.DeviceCount = v + o.DeviceCount = &v } -// GetVirtualmachineCount returns the VirtualmachineCount field value +// GetVirtualmachineCount returns the VirtualmachineCount field value if set, zero value otherwise. func (o *Platform) GetVirtualmachineCount() int64 { - if o == nil { + if o == nil || IsNil(o.VirtualmachineCount) { var ret int64 return ret } - - return o.VirtualmachineCount + return *o.VirtualmachineCount } -// GetVirtualmachineCountOk returns a tuple with the VirtualmachineCount field value +// GetVirtualmachineCountOk returns a tuple with the VirtualmachineCount field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *Platform) GetVirtualmachineCountOk() (*int64, bool) { - if o == nil { + if o == nil || IsNil(o.VirtualmachineCount) { return nil, false } - return &o.VirtualmachineCount, true + return o.VirtualmachineCount, true +} + +// HasVirtualmachineCount returns a boolean if a field has been set. +func (o *Platform) HasVirtualmachineCount() bool { + if o != nil && !IsNil(o.VirtualmachineCount) { + return true + } + + return false } -// SetVirtualmachineCount sets field value +// SetVirtualmachineCount gets a reference to the given int64 and assigns it to the VirtualmachineCount field. func (o *Platform) SetVirtualmachineCount(v int64) { - o.VirtualmachineCount = v + o.VirtualmachineCount = &v } func (o Platform) MarshalJSON() ([]byte, error) { @@ -269,14 +527,35 @@ func (o Platform) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["name"] = o.Name toSerialize["slug"] = o.Slug + if o.Manufacturer.IsSet() { + toSerialize["manufacturer"] = o.Manufacturer.Get() + } + if o.ConfigTemplate.IsSet() { + toSerialize["config_template"] = o.ConfigTemplate.Get() + } if !IsNil(o.Description) { toSerialize["description"] = o.Description } - toSerialize["device_count"] = o.DeviceCount - toSerialize["virtualmachine_count"] = o.VirtualmachineCount + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + toSerialize["created"] = o.Created.Get() + toSerialize["last_updated"] = o.LastUpdated.Get() + if !IsNil(o.DeviceCount) { + toSerialize["device_count"] = o.DeviceCount + } + if !IsNil(o.VirtualmachineCount) { + toSerialize["virtualmachine_count"] = o.VirtualmachineCount + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -295,8 +574,8 @@ func (o *Platform) UnmarshalJSON(data []byte) (err error) { "display", "name", "slug", - "device_count", - "virtualmachine_count", + "created", + "last_updated", } allProperties := make(map[string]interface{}) @@ -328,10 +607,17 @@ func (o *Platform) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") delete(additionalProperties, "slug") + delete(additionalProperties, "manufacturer") + delete(additionalProperties, "config_template") delete(additionalProperties, "description") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "created") + delete(additionalProperties, "last_updated") delete(additionalProperties, "device_count") delete(additionalProperties, "virtualmachine_count") o.AdditionalProperties = additionalProperties diff --git a/model_platform_request.go b/model_platform_request.go index 365ea0c95..dc14db5b3 100644 --- a/model_platform_request.go +++ b/model_platform_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,9 +20,13 @@ var _ MappedNullable = &PlatformRequest{} // PlatformRequest Adds support for custom fields and tags. type PlatformRequest struct { - Name string `json:"name"` - Slug string `json:"slug"` - Description *string `json:"description,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Manufacturer NullableBriefManufacturerRequest `json:"manufacturer,omitempty"` + ConfigTemplate NullableBriefConfigTemplateRequest `json:"config_template,omitempty"` + Description *string `json:"description,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -95,6 +99,92 @@ func (o *PlatformRequest) SetSlug(v string) { o.Slug = v } +// GetManufacturer returns the Manufacturer field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PlatformRequest) GetManufacturer() BriefManufacturerRequest { + if o == nil || IsNil(o.Manufacturer.Get()) { + var ret BriefManufacturerRequest + return ret + } + return *o.Manufacturer.Get() +} + +// GetManufacturerOk returns a tuple with the Manufacturer 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 *PlatformRequest) GetManufacturerOk() (*BriefManufacturerRequest, bool) { + if o == nil { + return nil, false + } + return o.Manufacturer.Get(), o.Manufacturer.IsSet() +} + +// HasManufacturer returns a boolean if a field has been set. +func (o *PlatformRequest) HasManufacturer() bool { + if o != nil && o.Manufacturer.IsSet() { + return true + } + + return false +} + +// SetManufacturer gets a reference to the given NullableBriefManufacturerRequest and assigns it to the Manufacturer field. +func (o *PlatformRequest) SetManufacturer(v BriefManufacturerRequest) { + o.Manufacturer.Set(&v) +} + +// SetManufacturerNil sets the value for Manufacturer to be an explicit nil +func (o *PlatformRequest) SetManufacturerNil() { + o.Manufacturer.Set(nil) +} + +// UnsetManufacturer ensures that no value is present for Manufacturer, not even an explicit nil +func (o *PlatformRequest) UnsetManufacturer() { + o.Manufacturer.Unset() +} + +// GetConfigTemplate returns the ConfigTemplate field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PlatformRequest) GetConfigTemplate() BriefConfigTemplateRequest { + if o == nil || IsNil(o.ConfigTemplate.Get()) { + var ret BriefConfigTemplateRequest + return ret + } + return *o.ConfigTemplate.Get() +} + +// GetConfigTemplateOk returns a tuple with the ConfigTemplate 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 *PlatformRequest) GetConfigTemplateOk() (*BriefConfigTemplateRequest, bool) { + if o == nil { + return nil, false + } + return o.ConfigTemplate.Get(), o.ConfigTemplate.IsSet() +} + +// HasConfigTemplate returns a boolean if a field has been set. +func (o *PlatformRequest) HasConfigTemplate() bool { + if o != nil && o.ConfigTemplate.IsSet() { + return true + } + + return false +} + +// SetConfigTemplate gets a reference to the given NullableBriefConfigTemplateRequest and assigns it to the ConfigTemplate field. +func (o *PlatformRequest) SetConfigTemplate(v BriefConfigTemplateRequest) { + o.ConfigTemplate.Set(&v) +} + +// SetConfigTemplateNil sets the value for ConfigTemplate to be an explicit nil +func (o *PlatformRequest) SetConfigTemplateNil() { + o.ConfigTemplate.Set(nil) +} + +// UnsetConfigTemplate ensures that no value is present for ConfigTemplate, not even an explicit nil +func (o *PlatformRequest) UnsetConfigTemplate() { + o.ConfigTemplate.Unset() +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *PlatformRequest) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -127,6 +217,70 @@ func (o *PlatformRequest) SetDescription(v string) { o.Description = &v } +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *PlatformRequest) GetTags() []NestedTagRequest { + if o == nil || IsNil(o.Tags) { + var ret []NestedTagRequest + 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 *PlatformRequest) GetTagsOk() ([]NestedTagRequest, 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 *PlatformRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTagRequest and assigns it to the Tags field. +func (o *PlatformRequest) SetTags(v []NestedTagRequest) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *PlatformRequest) 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 *PlatformRequest) 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 *PlatformRequest) 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 *PlatformRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + func (o PlatformRequest) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -139,9 +293,21 @@ func (o PlatformRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["name"] = o.Name toSerialize["slug"] = o.Slug + if o.Manufacturer.IsSet() { + toSerialize["manufacturer"] = o.Manufacturer.Get() + } + if o.ConfigTemplate.IsSet() { + toSerialize["config_template"] = o.ConfigTemplate.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 + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -188,7 +354,11 @@ func (o *PlatformRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "name") delete(additionalProperties, "slug") + delete(additionalProperties, "manufacturer") + delete(additionalProperties, "config_template") delete(additionalProperties, "description") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") o.AdditionalProperties = additionalProperties } diff --git a/model_power_feed.go b/model_power_feed.go index d946fcb84..75f473f8c 100644 --- a/model_power_feed.go +++ b/model_power_feed.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,32 +21,33 @@ var _ MappedNullable = &PowerFeed{} // PowerFeed Adds support for custom fields and tags. type PowerFeed struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - PowerPanel PowerPanel `json:"power_panel"` - Rack NullableRack `json:"rack,omitempty"` - Name string `json:"name"` - Status *PowerFeedStatus `json:"status,omitempty"` - Type *PowerFeedType `json:"type,omitempty"` - Supply *PowerFeedSupply `json:"supply,omitempty"` - Phase *PowerFeedPhase `json:"phase,omitempty"` - Voltage *int32 `json:"voltage,omitempty"` - Amperage *int32 `json:"amperage,omitempty"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + PowerPanel BriefPowerPanel `json:"power_panel"` + Rack NullableBriefRack `json:"rack,omitempty"` + Name string `json:"name"` + Status *PowerFeedStatus `json:"status,omitempty"` + Type *PowerFeedType `json:"type,omitempty"` + Supply *PowerFeedSupply `json:"supply,omitempty"` + Phase *PowerFeedPhase `json:"phase,omitempty"` + Voltage *int32 `json:"voltage,omitempty"` + Amperage *int32 `json:"amperage,omitempty"` // Maximum permissible draw (percentage) MaxUtilization *int32 `json:"max_utilization,omitempty"` // Treat as if a cable is connected - MarkConnected *bool `json:"mark_connected,omitempty"` - Cable NullableCable `json:"cable"` - CableEnd string `json:"cable_end"` - LinkPeers []interface{} `json:"link_peers"` + MarkConnected *bool `json:"mark_connected,omitempty"` + Cable NullableBriefCable `json:"cable"` + CableEnd string `json:"cable_end"` + LinkPeers []interface{} `json:"link_peers"` // Return the type of the peer link terminations, or None. - LinkPeersType string `json:"link_peers_type"` + LinkPeersType NullableString `json:"link_peers_type"` ConnectedEndpoints []interface{} `json:"connected_endpoints"` - ConnectedEndpointsType string `json:"connected_endpoints_type"` + ConnectedEndpointsType NullableString `json:"connected_endpoints_type"` ConnectedEndpointsReachable bool `json:"connected_endpoints_reachable"` Description *string `json:"description,omitempty"` - Tenant NullableTenant `json:"tenant,omitempty"` + Tenant NullableBriefTenant `json:"tenant,omitempty"` Comments *string `json:"comments,omitempty"` Tags []NestedTag `json:"tags,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` @@ -62,7 +63,7 @@ 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 int32, url string, display string, powerPanel PowerPanel, name string, cable NullableCable, cableEnd string, linkPeers []interface{}, linkPeersType string, connectedEndpoints []interface{}, connectedEndpointsType string, connectedEndpointsReachable bool, created NullableTime, lastUpdated NullableTime, occupied bool) *PowerFeed { +func NewPowerFeed(id int32, url string, display string, powerPanel BriefPowerPanel, name string, cable NullableBriefCable, cableEnd string, linkPeers []interface{}, linkPeersType NullableString, connectedEndpoints []interface{}, connectedEndpointsType NullableString, connectedEndpointsReachable bool, created NullableTime, lastUpdated NullableTime, occupied bool) *PowerFeed { this := PowerFeed{} this.Id = id this.Url = url @@ -138,6 +139,38 @@ func (o *PowerFeed) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *PowerFeed) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PowerFeed) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *PowerFeed) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *PowerFeed) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *PowerFeed) GetDisplay() string { if o == nil { @@ -163,9 +196,9 @@ func (o *PowerFeed) SetDisplay(v string) { } // GetPowerPanel returns the PowerPanel field value -func (o *PowerFeed) GetPowerPanel() PowerPanel { +func (o *PowerFeed) GetPowerPanel() BriefPowerPanel { if o == nil { - var ret PowerPanel + var ret BriefPowerPanel return ret } @@ -174,7 +207,7 @@ func (o *PowerFeed) GetPowerPanel() PowerPanel { // GetPowerPanelOk returns a tuple with the PowerPanel field value // and a boolean to check if the value has been set. -func (o *PowerFeed) GetPowerPanelOk() (*PowerPanel, bool) { +func (o *PowerFeed) GetPowerPanelOk() (*BriefPowerPanel, bool) { if o == nil { return nil, false } @@ -182,14 +215,14 @@ func (o *PowerFeed) GetPowerPanelOk() (*PowerPanel, bool) { } // SetPowerPanel sets field value -func (o *PowerFeed) SetPowerPanel(v PowerPanel) { +func (o *PowerFeed) SetPowerPanel(v BriefPowerPanel) { o.PowerPanel = v } // GetRack returns the Rack field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PowerFeed) GetRack() Rack { +func (o *PowerFeed) GetRack() BriefRack { if o == nil || IsNil(o.Rack.Get()) { - var ret Rack + var ret BriefRack return ret } return *o.Rack.Get() @@ -198,7 +231,7 @@ func (o *PowerFeed) GetRack() Rack { // GetRackOk returns a tuple with the Rack 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) GetRackOk() (*Rack, bool) { +func (o *PowerFeed) GetRackOk() (*BriefRack, bool) { if o == nil { return nil, false } @@ -214,8 +247,8 @@ func (o *PowerFeed) HasRack() bool { return false } -// SetRack gets a reference to the given NullableRack and assigns it to the Rack field. -func (o *PowerFeed) SetRack(v Rack) { +// SetRack gets a reference to the given NullableBriefRack and assigns it to the Rack field. +func (o *PowerFeed) SetRack(v BriefRack) { o.Rack.Set(&v) } @@ -510,10 +543,10 @@ func (o *PowerFeed) SetMarkConnected(v bool) { } // GetCable returns the Cable field value -// If the value is explicit nil, the zero value for Cable will be returned -func (o *PowerFeed) GetCable() Cable { +// If the value is explicit nil, the zero value for BriefCable will be returned +func (o *PowerFeed) GetCable() BriefCable { if o == nil || o.Cable.Get() == nil { - var ret Cable + var ret BriefCable return ret } @@ -523,7 +556,7 @@ func (o *PowerFeed) GetCable() Cable { // GetCableOk returns a tuple with the Cable 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 *PowerFeed) GetCableOk() (*Cable, bool) { +func (o *PowerFeed) GetCableOk() (*BriefCable, bool) { if o == nil { return nil, false } @@ -531,7 +564,7 @@ func (o *PowerFeed) GetCableOk() (*Cable, bool) { } // SetCable sets field value -func (o *PowerFeed) SetCable(v Cable) { +func (o *PowerFeed) SetCable(v BriefCable) { o.Cable.Set(&v) } @@ -584,30 +617,33 @@ func (o *PowerFeed) SetLinkPeers(v []interface{}) { } // GetLinkPeersType returns the LinkPeersType field value +// If the value is explicit nil, the zero value for string will be returned func (o *PowerFeed) GetLinkPeersType() string { - if o == nil { + if o == nil || o.LinkPeersType.Get() == nil { var ret string return ret } - return o.LinkPeersType + return *o.LinkPeersType.Get() } // GetLinkPeersTypeOk returns a tuple with the LinkPeersType 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 *PowerFeed) GetLinkPeersTypeOk() (*string, bool) { if o == nil { return nil, false } - return &o.LinkPeersType, true + return o.LinkPeersType.Get(), o.LinkPeersType.IsSet() } // SetLinkPeersType sets field value func (o *PowerFeed) SetLinkPeersType(v string) { - o.LinkPeersType = v + o.LinkPeersType.Set(&v) } // GetConnectedEndpoints returns the ConnectedEndpoints field value +// If the value is explicit nil, the zero value for []interface{} will be returned func (o *PowerFeed) GetConnectedEndpoints() []interface{} { if o == nil { var ret []interface{} @@ -619,8 +655,9 @@ func (o *PowerFeed) GetConnectedEndpoints() []interface{} { // GetConnectedEndpointsOk returns a tuple with the ConnectedEndpoints 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 *PowerFeed) GetConnectedEndpointsOk() ([]interface{}, bool) { - if o == nil { + if o == nil || IsNil(o.ConnectedEndpoints) { return nil, false } return o.ConnectedEndpoints, true @@ -632,27 +669,29 @@ func (o *PowerFeed) SetConnectedEndpoints(v []interface{}) { } // GetConnectedEndpointsType returns the ConnectedEndpointsType field value +// If the value is explicit nil, the zero value for string will be returned func (o *PowerFeed) GetConnectedEndpointsType() string { - if o == nil { + if o == nil || o.ConnectedEndpointsType.Get() == nil { var ret string return ret } - return o.ConnectedEndpointsType + return *o.ConnectedEndpointsType.Get() } // GetConnectedEndpointsTypeOk returns a tuple with the ConnectedEndpointsType 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 *PowerFeed) GetConnectedEndpointsTypeOk() (*string, bool) { if o == nil { return nil, false } - return &o.ConnectedEndpointsType, true + return o.ConnectedEndpointsType.Get(), o.ConnectedEndpointsType.IsSet() } // SetConnectedEndpointsType sets field value func (o *PowerFeed) SetConnectedEndpointsType(v string) { - o.ConnectedEndpointsType = v + o.ConnectedEndpointsType.Set(&v) } // GetConnectedEndpointsReachable returns the ConnectedEndpointsReachable field value @@ -712,9 +751,9 @@ func (o *PowerFeed) SetDescription(v string) { } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PowerFeed) GetTenant() Tenant { +func (o *PowerFeed) GetTenant() BriefTenant { if o == nil || IsNil(o.Tenant.Get()) { - var ret Tenant + var ret BriefTenant return ret } return *o.Tenant.Get() @@ -723,7 +762,7 @@ func (o *PowerFeed) GetTenant() Tenant { // 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 *PowerFeed) GetTenantOk() (*Tenant, bool) { +func (o *PowerFeed) GetTenantOk() (*BriefTenant, bool) { if o == nil { return nil, false } @@ -739,8 +778,8 @@ func (o *PowerFeed) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenant and assigns it to the Tenant field. -func (o *PowerFeed) SetTenant(v Tenant) { +// SetTenant gets a reference to the given NullableBriefTenant and assigns it to the Tenant field. +func (o *PowerFeed) SetTenant(v BriefTenant) { o.Tenant.Set(&v) } @@ -938,6 +977,9 @@ func (o PowerFeed) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["power_panel"] = o.PowerPanel if o.Rack.IsSet() { @@ -971,9 +1013,11 @@ func (o PowerFeed) ToMap() (map[string]interface{}, error) { toSerialize["cable"] = o.Cable.Get() toSerialize["cable_end"] = o.CableEnd toSerialize["link_peers"] = o.LinkPeers - toSerialize["link_peers_type"] = o.LinkPeersType - toSerialize["connected_endpoints"] = o.ConnectedEndpoints - toSerialize["connected_endpoints_type"] = o.ConnectedEndpointsType + toSerialize["link_peers_type"] = o.LinkPeersType.Get() + if o.ConnectedEndpoints != nil { + toSerialize["connected_endpoints"] = o.ConnectedEndpoints + } + toSerialize["connected_endpoints_type"] = o.ConnectedEndpointsType.Get() toSerialize["connected_endpoints_reachable"] = o.ConnectedEndpointsReachable if !IsNil(o.Description) { toSerialize["description"] = o.Description @@ -1052,6 +1096,7 @@ func (o *PowerFeed) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "power_panel") delete(additionalProperties, "rack") diff --git a/model_power_feed_phase.go b/model_power_feed_phase.go index 728d75ab9..d431d0eb0 100644 --- a/model_power_feed_phase.go +++ b/model_power_feed_phase.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 1e4274876..96c729d76 100644 --- a/model_power_feed_phase_label.go +++ b/model_power_feed_phase_label.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_power_feed_request.go b/model_power_feed_request.go index 51865eb47..a25df2046 100644 --- a/model_power_feed_request.go +++ b/model_power_feed_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,8 +20,8 @@ var _ MappedNullable = &PowerFeedRequest{} // PowerFeedRequest Adds support for custom fields and tags. type PowerFeedRequest struct { - PowerPanel PowerPanelRequest `json:"power_panel"` - Rack NullableRackRequest `json:"rack,omitempty"` + PowerPanel BriefPowerPanelRequest `json:"power_panel"` + Rack NullableBriefRackRequest `json:"rack,omitempty"` Name string `json:"name"` Status *PatchedWritablePowerFeedRequestStatus `json:"status,omitempty"` Type *PatchedWritablePowerFeedRequestType `json:"type,omitempty"` @@ -32,12 +32,12 @@ type PowerFeedRequest struct { // Maximum permissible draw (percentage) MaxUtilization *int32 `json:"max_utilization,omitempty"` // Treat as if a cable is connected - MarkConnected *bool `json:"mark_connected,omitempty"` - Description *string `json:"description,omitempty"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` - Comments *string `json:"comments,omitempty"` - Tags []NestedTagRequest `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + MarkConnected *bool `json:"mark_connected,omitempty"` + Description *string `json:"description,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -47,7 +47,7 @@ type _PowerFeedRequest PowerFeedRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewPowerFeedRequest(powerPanel PowerPanelRequest, name string) *PowerFeedRequest { +func NewPowerFeedRequest(powerPanel BriefPowerPanelRequest, name string) *PowerFeedRequest { this := PowerFeedRequest{} this.PowerPanel = powerPanel this.Name = name @@ -63,9 +63,9 @@ func NewPowerFeedRequestWithDefaults() *PowerFeedRequest { } // GetPowerPanel returns the PowerPanel field value -func (o *PowerFeedRequest) GetPowerPanel() PowerPanelRequest { +func (o *PowerFeedRequest) GetPowerPanel() BriefPowerPanelRequest { if o == nil { - var ret PowerPanelRequest + var ret BriefPowerPanelRequest return ret } @@ -74,7 +74,7 @@ func (o *PowerFeedRequest) GetPowerPanel() PowerPanelRequest { // GetPowerPanelOk returns a tuple with the PowerPanel field value // and a boolean to check if the value has been set. -func (o *PowerFeedRequest) GetPowerPanelOk() (*PowerPanelRequest, bool) { +func (o *PowerFeedRequest) GetPowerPanelOk() (*BriefPowerPanelRequest, bool) { if o == nil { return nil, false } @@ -82,14 +82,14 @@ func (o *PowerFeedRequest) GetPowerPanelOk() (*PowerPanelRequest, bool) { } // SetPowerPanel sets field value -func (o *PowerFeedRequest) SetPowerPanel(v PowerPanelRequest) { +func (o *PowerFeedRequest) SetPowerPanel(v BriefPowerPanelRequest) { o.PowerPanel = v } // GetRack returns the Rack field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PowerFeedRequest) GetRack() RackRequest { +func (o *PowerFeedRequest) GetRack() BriefRackRequest { if o == nil || IsNil(o.Rack.Get()) { - var ret RackRequest + var ret BriefRackRequest return ret } return *o.Rack.Get() @@ -98,7 +98,7 @@ func (o *PowerFeedRequest) GetRack() RackRequest { // GetRackOk returns a tuple with the Rack 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 *PowerFeedRequest) GetRackOk() (*RackRequest, bool) { +func (o *PowerFeedRequest) GetRackOk() (*BriefRackRequest, bool) { if o == nil { return nil, false } @@ -114,8 +114,8 @@ func (o *PowerFeedRequest) HasRack() bool { return false } -// SetRack gets a reference to the given NullableRackRequest and assigns it to the Rack field. -func (o *PowerFeedRequest) SetRack(v RackRequest) { +// SetRack gets a reference to the given NullableBriefRackRequest and assigns it to the Rack field. +func (o *PowerFeedRequest) SetRack(v BriefRackRequest) { o.Rack.Set(&v) } @@ -442,9 +442,9 @@ func (o *PowerFeedRequest) SetDescription(v string) { } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PowerFeedRequest) GetTenant() TenantRequest { +func (o *PowerFeedRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -453,7 +453,7 @@ func (o *PowerFeedRequest) GetTenant() TenantRequest { // 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 *PowerFeedRequest) GetTenantOk() (*TenantRequest, bool) { +func (o *PowerFeedRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -469,8 +469,8 @@ func (o *PowerFeedRequest) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *PowerFeedRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *PowerFeedRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } diff --git a/model_power_feed_status.go b/model_power_feed_status.go index e0b9ca575..fafbe217b 100644 --- a/model_power_feed_status.go +++ b/model_power_feed_status.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_power_feed_status_label.go b/model_power_feed_status_label.go index 25d308214..0002a3dca 100644 --- a/model_power_feed_status_label.go +++ b/model_power_feed_status_label.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_power_feed_supply.go b/model_power_feed_supply.go index f7a5c9251..942b68ef0 100644 --- a/model_power_feed_supply.go +++ b/model_power_feed_supply.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 07573618e..dcfd809d9 100644 --- a/model_power_feed_supply_label.go +++ b/model_power_feed_supply_label.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 0e839a1a2..cd9c87c64 100644 --- a/model_power_feed_type.go +++ b/model_power_feed_type.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 e98943a9f..52ab8d0cf 100644 --- a/model_power_feed_type_label.go +++ b/model_power_feed_type_label.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 2072ed336..19d4177a8 100644 --- a/model_power_outlet.go +++ b/model_power_outlet.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,27 +21,28 @@ var _ MappedNullable = &PowerOutlet{} // PowerOutlet Adds support for custom fields and tags. type PowerOutlet struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - Device Device `json:"device"` - Module NullableModule `json:"module,omitempty"` - Name string `json:"name"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Device BriefDevice `json:"device"` + Module NullableBriefModule `json:"module,omitempty"` + Name string `json:"name"` // Physical label Label *string `json:"label,omitempty"` Type NullablePowerOutletType `json:"type,omitempty"` - PowerPort NullablePowerPort `json:"power_port,omitempty"` + PowerPort NullableBriefPowerPort `json:"power_port,omitempty"` FeedLeg NullablePowerOutletFeedLeg `json:"feed_leg,omitempty"` Description *string `json:"description,omitempty"` // Treat as if a cable is connected - MarkConnected *bool `json:"mark_connected,omitempty"` - Cable NullableCable `json:"cable"` - CableEnd string `json:"cable_end"` - LinkPeers []interface{} `json:"link_peers"` + MarkConnected *bool `json:"mark_connected,omitempty"` + Cable NullableBriefCable `json:"cable"` + CableEnd string `json:"cable_end"` + LinkPeers []interface{} `json:"link_peers"` // Return the type of the peer link terminations, or None. - LinkPeersType string `json:"link_peers_type"` + LinkPeersType NullableString `json:"link_peers_type"` ConnectedEndpoints []interface{} `json:"connected_endpoints"` - ConnectedEndpointsType string `json:"connected_endpoints_type"` + ConnectedEndpointsType NullableString `json:"connected_endpoints_type"` ConnectedEndpointsReachable bool `json:"connected_endpoints_reachable"` Tags []NestedTag `json:"tags,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` @@ -57,7 +58,7 @@ 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 int32, url string, display string, device Device, name string, cable NullableCable, cableEnd string, linkPeers []interface{}, linkPeersType string, connectedEndpoints []interface{}, connectedEndpointsType string, connectedEndpointsReachable bool, created NullableTime, lastUpdated NullableTime, occupied bool) *PowerOutlet { +func NewPowerOutlet(id int32, url string, display string, device BriefDevice, name string, cable NullableBriefCable, cableEnd string, linkPeers []interface{}, linkPeersType NullableString, connectedEndpoints []interface{}, connectedEndpointsType NullableString, connectedEndpointsReachable bool, created NullableTime, lastUpdated NullableTime, occupied bool) *PowerOutlet { this := PowerOutlet{} this.Id = id this.Url = url @@ -133,6 +134,38 @@ func (o *PowerOutlet) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *PowerOutlet) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PowerOutlet) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *PowerOutlet) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *PowerOutlet) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *PowerOutlet) GetDisplay() string { if o == nil { @@ -158,9 +191,9 @@ func (o *PowerOutlet) SetDisplay(v string) { } // GetDevice returns the Device field value -func (o *PowerOutlet) GetDevice() Device { +func (o *PowerOutlet) GetDevice() BriefDevice { if o == nil { - var ret Device + var ret BriefDevice return ret } @@ -169,7 +202,7 @@ func (o *PowerOutlet) GetDevice() Device { // GetDeviceOk returns a tuple with the Device field value // and a boolean to check if the value has been set. -func (o *PowerOutlet) GetDeviceOk() (*Device, bool) { +func (o *PowerOutlet) GetDeviceOk() (*BriefDevice, bool) { if o == nil { return nil, false } @@ -177,14 +210,14 @@ func (o *PowerOutlet) GetDeviceOk() (*Device, bool) { } // SetDevice sets field value -func (o *PowerOutlet) SetDevice(v Device) { +func (o *PowerOutlet) SetDevice(v BriefDevice) { o.Device = v } // GetModule returns the Module field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PowerOutlet) GetModule() Module { +func (o *PowerOutlet) GetModule() BriefModule { if o == nil || IsNil(o.Module.Get()) { - var ret Module + var ret BriefModule return ret } return *o.Module.Get() @@ -193,7 +226,7 @@ func (o *PowerOutlet) GetModule() Module { // GetModuleOk returns a tuple with the Module 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 *PowerOutlet) GetModuleOk() (*Module, bool) { +func (o *PowerOutlet) GetModuleOk() (*BriefModule, bool) { if o == nil { return nil, false } @@ -209,8 +242,8 @@ func (o *PowerOutlet) HasModule() bool { return false } -// SetModule gets a reference to the given NullableModule and assigns it to the Module field. -func (o *PowerOutlet) SetModule(v Module) { +// SetModule gets a reference to the given NullableBriefModule and assigns it to the Module field. +func (o *PowerOutlet) SetModule(v BriefModule) { o.Module.Set(&v) } @@ -324,9 +357,9 @@ func (o *PowerOutlet) UnsetType() { } // GetPowerPort returns the PowerPort field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PowerOutlet) GetPowerPort() PowerPort { +func (o *PowerOutlet) GetPowerPort() BriefPowerPort { if o == nil || IsNil(o.PowerPort.Get()) { - var ret PowerPort + var ret BriefPowerPort return ret } return *o.PowerPort.Get() @@ -335,7 +368,7 @@ func (o *PowerOutlet) GetPowerPort() PowerPort { // GetPowerPortOk returns a tuple with the PowerPort 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 *PowerOutlet) GetPowerPortOk() (*PowerPort, bool) { +func (o *PowerOutlet) GetPowerPortOk() (*BriefPowerPort, bool) { if o == nil { return nil, false } @@ -351,8 +384,8 @@ func (o *PowerOutlet) HasPowerPort() bool { return false } -// SetPowerPort gets a reference to the given NullablePowerPort and assigns it to the PowerPort field. -func (o *PowerOutlet) SetPowerPort(v PowerPort) { +// SetPowerPort gets a reference to the given NullableBriefPowerPort and assigns it to the PowerPort field. +func (o *PowerOutlet) SetPowerPort(v BriefPowerPort) { o.PowerPort.Set(&v) } @@ -474,10 +507,10 @@ func (o *PowerOutlet) SetMarkConnected(v bool) { } // GetCable returns the Cable field value -// If the value is explicit nil, the zero value for Cable will be returned -func (o *PowerOutlet) GetCable() Cable { +// If the value is explicit nil, the zero value for BriefCable will be returned +func (o *PowerOutlet) GetCable() BriefCable { if o == nil || o.Cable.Get() == nil { - var ret Cable + var ret BriefCable return ret } @@ -487,7 +520,7 @@ func (o *PowerOutlet) GetCable() Cable { // GetCableOk returns a tuple with the Cable 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 *PowerOutlet) GetCableOk() (*Cable, bool) { +func (o *PowerOutlet) GetCableOk() (*BriefCable, bool) { if o == nil { return nil, false } @@ -495,7 +528,7 @@ func (o *PowerOutlet) GetCableOk() (*Cable, bool) { } // SetCable sets field value -func (o *PowerOutlet) SetCable(v Cable) { +func (o *PowerOutlet) SetCable(v BriefCable) { o.Cable.Set(&v) } @@ -548,30 +581,33 @@ func (o *PowerOutlet) SetLinkPeers(v []interface{}) { } // GetLinkPeersType returns the LinkPeersType field value +// If the value is explicit nil, the zero value for string will be returned func (o *PowerOutlet) GetLinkPeersType() string { - if o == nil { + if o == nil || o.LinkPeersType.Get() == nil { var ret string return ret } - return o.LinkPeersType + return *o.LinkPeersType.Get() } // GetLinkPeersTypeOk returns a tuple with the LinkPeersType 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 *PowerOutlet) GetLinkPeersTypeOk() (*string, bool) { if o == nil { return nil, false } - return &o.LinkPeersType, true + return o.LinkPeersType.Get(), o.LinkPeersType.IsSet() } // SetLinkPeersType sets field value func (o *PowerOutlet) SetLinkPeersType(v string) { - o.LinkPeersType = v + o.LinkPeersType.Set(&v) } // GetConnectedEndpoints returns the ConnectedEndpoints field value +// If the value is explicit nil, the zero value for []interface{} will be returned func (o *PowerOutlet) GetConnectedEndpoints() []interface{} { if o == nil { var ret []interface{} @@ -583,8 +619,9 @@ func (o *PowerOutlet) GetConnectedEndpoints() []interface{} { // GetConnectedEndpointsOk returns a tuple with the ConnectedEndpoints 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 *PowerOutlet) GetConnectedEndpointsOk() ([]interface{}, bool) { - if o == nil { + if o == nil || IsNil(o.ConnectedEndpoints) { return nil, false } return o.ConnectedEndpoints, true @@ -596,27 +633,29 @@ func (o *PowerOutlet) SetConnectedEndpoints(v []interface{}) { } // GetConnectedEndpointsType returns the ConnectedEndpointsType field value +// If the value is explicit nil, the zero value for string will be returned func (o *PowerOutlet) GetConnectedEndpointsType() string { - if o == nil { + if o == nil || o.ConnectedEndpointsType.Get() == nil { var ret string return ret } - return o.ConnectedEndpointsType + return *o.ConnectedEndpointsType.Get() } // GetConnectedEndpointsTypeOk returns a tuple with the ConnectedEndpointsType 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 *PowerOutlet) GetConnectedEndpointsTypeOk() (*string, bool) { if o == nil { return nil, false } - return &o.ConnectedEndpointsType, true + return o.ConnectedEndpointsType.Get(), o.ConnectedEndpointsType.IsSet() } // SetConnectedEndpointsType sets field value func (o *PowerOutlet) SetConnectedEndpointsType(v string) { - o.ConnectedEndpointsType = v + o.ConnectedEndpointsType.Set(&v) } // GetConnectedEndpointsReachable returns the ConnectedEndpointsReachable field value @@ -795,6 +834,9 @@ func (o PowerOutlet) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["device"] = o.Device if o.Module.IsSet() { @@ -822,9 +864,11 @@ func (o PowerOutlet) ToMap() (map[string]interface{}, error) { toSerialize["cable"] = o.Cable.Get() toSerialize["cable_end"] = o.CableEnd toSerialize["link_peers"] = o.LinkPeers - toSerialize["link_peers_type"] = o.LinkPeersType - toSerialize["connected_endpoints"] = o.ConnectedEndpoints - toSerialize["connected_endpoints_type"] = o.ConnectedEndpointsType + toSerialize["link_peers_type"] = o.LinkPeersType.Get() + if o.ConnectedEndpoints != nil { + toSerialize["connected_endpoints"] = o.ConnectedEndpoints + } + toSerialize["connected_endpoints_type"] = o.ConnectedEndpointsType.Get() toSerialize["connected_endpoints_reachable"] = o.ConnectedEndpointsReachable if !IsNil(o.Tags) { toSerialize["tags"] = o.Tags @@ -894,6 +938,7 @@ func (o *PowerOutlet) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "device") delete(additionalProperties, "module") diff --git a/model_power_outlet_feed_leg.go b/model_power_outlet_feed_leg.go index 95698360a..1449af377 100644 --- a/model_power_outlet_feed_leg.go +++ b/model_power_outlet_feed_leg.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_power_outlet_feed_leg_label.go b/model_power_outlet_feed_leg_label.go index 8a906036c..f0fb396bf 100644 --- a/model_power_outlet_feed_leg_label.go +++ b/model_power_outlet_feed_leg_label.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 bc3abd6e5..d03f1ffad 100644 --- a/model_power_outlet_feed_leg_value.go +++ b/model_power_outlet_feed_leg_value.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_power_outlet_request.go b/model_power_outlet_request.go index 122e3eb78..035fed22d 100644 --- a/model_power_outlet_request.go +++ b/model_power_outlet_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,13 +20,13 @@ var _ MappedNullable = &PowerOutletRequest{} // PowerOutletRequest Adds support for custom fields and tags. type PowerOutletRequest struct { - Device DeviceRequest `json:"device"` - Module NullableModuleRequest `json:"module,omitempty"` - Name string `json:"name"` + Device BriefDeviceRequest `json:"device"` + Module NullableBriefModuleRequest `json:"module,omitempty"` + Name string `json:"name"` // Physical label Label *string `json:"label,omitempty"` Type NullablePowerOutletRequestType `json:"type,omitempty"` - PowerPort NullablePowerPortRequest `json:"power_port,omitempty"` + PowerPort NullableBriefPowerPortRequest `json:"power_port,omitempty"` FeedLeg NullablePowerOutletRequestFeedLeg `json:"feed_leg,omitempty"` Description *string `json:"description,omitempty"` // Treat as if a cable is connected @@ -42,7 +42,7 @@ type _PowerOutletRequest PowerOutletRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewPowerOutletRequest(device DeviceRequest, name string) *PowerOutletRequest { +func NewPowerOutletRequest(device BriefDeviceRequest, name string) *PowerOutletRequest { this := PowerOutletRequest{} this.Device = device this.Name = name @@ -58,9 +58,9 @@ func NewPowerOutletRequestWithDefaults() *PowerOutletRequest { } // GetDevice returns the Device field value -func (o *PowerOutletRequest) GetDevice() DeviceRequest { +func (o *PowerOutletRequest) GetDevice() BriefDeviceRequest { if o == nil { - var ret DeviceRequest + var ret BriefDeviceRequest return ret } @@ -69,7 +69,7 @@ func (o *PowerOutletRequest) GetDevice() DeviceRequest { // GetDeviceOk returns a tuple with the Device field value // and a boolean to check if the value has been set. -func (o *PowerOutletRequest) GetDeviceOk() (*DeviceRequest, bool) { +func (o *PowerOutletRequest) GetDeviceOk() (*BriefDeviceRequest, bool) { if o == nil { return nil, false } @@ -77,14 +77,14 @@ func (o *PowerOutletRequest) GetDeviceOk() (*DeviceRequest, bool) { } // SetDevice sets field value -func (o *PowerOutletRequest) SetDevice(v DeviceRequest) { +func (o *PowerOutletRequest) SetDevice(v BriefDeviceRequest) { o.Device = v } // GetModule returns the Module field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PowerOutletRequest) GetModule() ModuleRequest { +func (o *PowerOutletRequest) GetModule() BriefModuleRequest { if o == nil || IsNil(o.Module.Get()) { - var ret ModuleRequest + var ret BriefModuleRequest return ret } return *o.Module.Get() @@ -93,7 +93,7 @@ func (o *PowerOutletRequest) GetModule() ModuleRequest { // GetModuleOk returns a tuple with the Module 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 *PowerOutletRequest) GetModuleOk() (*ModuleRequest, bool) { +func (o *PowerOutletRequest) GetModuleOk() (*BriefModuleRequest, bool) { if o == nil { return nil, false } @@ -109,8 +109,8 @@ func (o *PowerOutletRequest) HasModule() bool { return false } -// SetModule gets a reference to the given NullableModuleRequest and assigns it to the Module field. -func (o *PowerOutletRequest) SetModule(v ModuleRequest) { +// SetModule gets a reference to the given NullableBriefModuleRequest and assigns it to the Module field. +func (o *PowerOutletRequest) SetModule(v BriefModuleRequest) { o.Module.Set(&v) } @@ -224,9 +224,9 @@ func (o *PowerOutletRequest) UnsetType() { } // GetPowerPort returns the PowerPort field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PowerOutletRequest) GetPowerPort() PowerPortRequest { +func (o *PowerOutletRequest) GetPowerPort() BriefPowerPortRequest { if o == nil || IsNil(o.PowerPort.Get()) { - var ret PowerPortRequest + var ret BriefPowerPortRequest return ret } return *o.PowerPort.Get() @@ -235,7 +235,7 @@ func (o *PowerOutletRequest) GetPowerPort() PowerPortRequest { // GetPowerPortOk returns a tuple with the PowerPort 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 *PowerOutletRequest) GetPowerPortOk() (*PowerPortRequest, bool) { +func (o *PowerOutletRequest) GetPowerPortOk() (*BriefPowerPortRequest, bool) { if o == nil { return nil, false } @@ -251,8 +251,8 @@ func (o *PowerOutletRequest) HasPowerPort() bool { return false } -// SetPowerPort gets a reference to the given NullablePowerPortRequest and assigns it to the PowerPort field. -func (o *PowerOutletRequest) SetPowerPort(v PowerPortRequest) { +// SetPowerPort gets a reference to the given NullableBriefPowerPortRequest and assigns it to the PowerPort field. +func (o *PowerOutletRequest) SetPowerPort(v BriefPowerPortRequest) { o.PowerPort.Set(&v) } diff --git a/model_power_outlet_request_feed_leg.go b/model_power_outlet_request_feed_leg.go index 7cb04c40c..ddf635085 100644 --- a/model_power_outlet_request_feed_leg.go +++ b/model_power_outlet_request_feed_leg.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_power_outlet_request_type.go b/model_power_outlet_request_type.go index ab5cb9272..631626315 100644 --- a/model_power_outlet_request_type.go +++ b/model_power_outlet_request_type.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,7 +15,7 @@ import ( "fmt" ) -// PowerOutletRequestType * `iec-60320-c5` - C5 * `iec-60320-c7` - C7 * `iec-60320-c13` - C13 * `iec-60320-c15` - C15 * `iec-60320-c19` - C19 * `iec-60320-c21` - C21 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15r` - NEMA 1-15R * `nema-5-15r` - NEMA 5-15R * `nema-5-20r` - NEMA 5-20R * `nema-5-30r` - NEMA 5-30R * `nema-5-50r` - NEMA 5-50R * `nema-6-15r` - NEMA 6-15R * `nema-6-20r` - NEMA 6-20R * `nema-6-30r` - NEMA 6-30R * `nema-6-50r` - NEMA 6-50R * `nema-10-30r` - NEMA 10-30R * `nema-10-50r` - NEMA 10-50R * `nema-14-20r` - NEMA 14-20R * `nema-14-30r` - NEMA 14-30R * `nema-14-50r` - NEMA 14-50R * `nema-14-60r` - NEMA 14-60R * `nema-15-15r` - NEMA 15-15R * `nema-15-20r` - NEMA 15-20R * `nema-15-30r` - NEMA 15-30R * `nema-15-50r` - NEMA 15-50R * `nema-15-60r` - NEMA 15-60R * `nema-l1-15r` - NEMA L1-15R * `nema-l5-15r` - NEMA L5-15R * `nema-l5-20r` - NEMA L5-20R * `nema-l5-30r` - NEMA L5-30R * `nema-l5-50r` - NEMA L5-50R * `nema-l6-15r` - NEMA L6-15R * `nema-l6-20r` - NEMA L6-20R * `nema-l6-30r` - NEMA L6-30R * `nema-l6-50r` - NEMA L6-50R * `nema-l10-30r` - NEMA L10-30R * `nema-l14-20r` - NEMA L14-20R * `nema-l14-30r` - NEMA L14-30R * `nema-l14-50r` - NEMA L14-50R * `nema-l14-60r` - NEMA L14-60R * `nema-l15-20r` - NEMA L15-20R * `nema-l15-30r` - NEMA L15-30R * `nema-l15-50r` - NEMA L15-50R * `nema-l15-60r` - NEMA L15-60R * `nema-l21-20r` - NEMA L21-20R * `nema-l21-30r` - NEMA L21-30R * `nema-l22-30r` - NEMA L22-30R * `CS6360C` - CS6360C * `CS6364C` - CS6364C * `CS8164C` - CS8164C * `CS8264C` - CS8264C * `CS8364C` - CS8364C * `CS8464C` - CS8464C * `ita-e` - ITA Type E (CEE 7/5) * `ita-f` - ITA Type F (CEE 7/3) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `ita-multistandard` - ITA Multistandard * `usb-a` - USB Type A * `usb-micro-b` - USB Micro B * `usb-c` - USB Type C * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `hdot-cx` - HDOT Cx * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20a` - Neutrik powerCON (20A) * `neutrik-powercon-32a` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other +// PowerOutletRequestType * `iec-60320-c5` - C5 * `iec-60320-c7` - C7 * `iec-60320-c13` - C13 * `iec-60320-c15` - C15 * `iec-60320-c19` - C19 * `iec-60320-c21` - C21 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15r` - NEMA 1-15R * `nema-5-15r` - NEMA 5-15R * `nema-5-20r` - NEMA 5-20R * `nema-5-30r` - NEMA 5-30R * `nema-5-50r` - NEMA 5-50R * `nema-6-15r` - NEMA 6-15R * `nema-6-20r` - NEMA 6-20R * `nema-6-30r` - NEMA 6-30R * `nema-6-50r` - NEMA 6-50R * `nema-10-30r` - NEMA 10-30R * `nema-10-50r` - NEMA 10-50R * `nema-14-20r` - NEMA 14-20R * `nema-14-30r` - NEMA 14-30R * `nema-14-50r` - NEMA 14-50R * `nema-14-60r` - NEMA 14-60R * `nema-15-15r` - NEMA 15-15R * `nema-15-20r` - NEMA 15-20R * `nema-15-30r` - NEMA 15-30R * `nema-15-50r` - NEMA 15-50R * `nema-15-60r` - NEMA 15-60R * `nema-l1-15r` - NEMA L1-15R * `nema-l5-15r` - NEMA L5-15R * `nema-l5-20r` - NEMA L5-20R * `nema-l5-30r` - NEMA L5-30R * `nema-l5-50r` - NEMA L5-50R * `nema-l6-15r` - NEMA L6-15R * `nema-l6-20r` - NEMA L6-20R * `nema-l6-30r` - NEMA L6-30R * `nema-l6-50r` - NEMA L6-50R * `nema-l10-30r` - NEMA L10-30R * `nema-l14-20r` - NEMA L14-20R * `nema-l14-30r` - NEMA L14-30R * `nema-l14-50r` - NEMA L14-50R * `nema-l14-60r` - NEMA L14-60R * `nema-l15-20r` - NEMA L15-20R * `nema-l15-30r` - NEMA L15-30R * `nema-l15-50r` - NEMA L15-50R * `nema-l15-60r` - NEMA L15-60R * `nema-l21-20r` - NEMA L21-20R * `nema-l21-30r` - NEMA L21-30R * `nema-l22-20r` - NEMA L22-20R * `nema-l22-30r` - NEMA L22-30R * `CS6360C` - CS6360C * `CS6364C` - CS6364C * `CS8164C` - CS8164C * `CS8264C` - CS8264C * `CS8364C` - CS8364C * `CS8464C` - CS8464C * `ita-e` - ITA Type E (CEE 7/5) * `ita-f` - ITA Type F (CEE 7/3) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `ita-multistandard` - ITA Multistandard * `usb-a` - USB Type A * `usb-micro-b` - USB Micro B * `usb-c` - USB Type C * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `eaton-c39` - Eaton C39 * `hdot-cx` - HDOT Cx * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20a` - Neutrik powerCON (20A) * `neutrik-powercon-32a` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other type PowerOutletRequestType string // List of PowerOutletRequest_type @@ -81,6 +81,7 @@ const ( POWEROUTLETREQUESTTYPE_NEMA_L15_60R PowerOutletRequestType = "nema-l15-60r" POWEROUTLETREQUESTTYPE_NEMA_L21_20R PowerOutletRequestType = "nema-l21-20r" POWEROUTLETREQUESTTYPE_NEMA_L21_30R PowerOutletRequestType = "nema-l21-30r" + POWEROUTLETREQUESTTYPE_NEMA_L22_20R PowerOutletRequestType = "nema-l22-20r" POWEROUTLETREQUESTTYPE_NEMA_L22_30R PowerOutletRequestType = "nema-l22-30r" POWEROUTLETREQUESTTYPE_CS6360_C PowerOutletRequestType = "CS6360C" POWEROUTLETREQUESTTYPE_CS6364_C PowerOutletRequestType = "CS6364C" @@ -107,6 +108,7 @@ const ( POWEROUTLETREQUESTTYPE_MOLEX_MICRO_FIT_2X2 PowerOutletRequestType = "molex-micro-fit-2x2" POWEROUTLETREQUESTTYPE_MOLEX_MICRO_FIT_2X4 PowerOutletRequestType = "molex-micro-fit-2x4" POWEROUTLETREQUESTTYPE_DC_TERMINAL PowerOutletRequestType = "dc-terminal" + POWEROUTLETREQUESTTYPE_EATON_C39 PowerOutletRequestType = "eaton-c39" POWEROUTLETREQUESTTYPE_HDOT_CX PowerOutletRequestType = "hdot-cx" POWEROUTLETREQUESTTYPE_SAF_D_GRID PowerOutletRequestType = "saf-d-grid" POWEROUTLETREQUESTTYPE_NEUTRIK_POWERCON_20A PowerOutletRequestType = "neutrik-powercon-20a" @@ -182,6 +184,7 @@ var AllowedPowerOutletRequestTypeEnumValues = []PowerOutletRequestType{ "nema-l15-60r", "nema-l21-20r", "nema-l21-30r", + "nema-l22-20r", "nema-l22-30r", "CS6360C", "CS6364C", @@ -208,6 +211,7 @@ var AllowedPowerOutletRequestTypeEnumValues = []PowerOutletRequestType{ "molex-micro-fit-2x2", "molex-micro-fit-2x4", "dc-terminal", + "eaton-c39", "hdot-cx", "saf-d-grid", "neutrik-powercon-20a", diff --git a/model_power_outlet_template.go b/model_power_outlet_template.go index 8d700a116..c8a6d955c 100644 --- a/model_power_outlet_template.go +++ b/model_power_outlet_template.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,21 +21,21 @@ var _ MappedNullable = &PowerOutletTemplate{} // PowerOutletTemplate Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 PowerOutletTemplate struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - DeviceType NullableDeviceType `json:"device_type,omitempty"` - ModuleType NullableModuleType `json:"module_type,omitempty"` + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + DeviceType NullableBriefDeviceType `json:"device_type,omitempty"` + ModuleType NullableBriefModuleType `json:"module_type,omitempty"` // {module} is accepted as a substitution for the module bay position when attached to a module type. Name string `json:"name"` // Physical label - Label *string `json:"label,omitempty"` - Type NullablePowerOutletType `json:"type,omitempty"` - PowerPort NullablePowerPortTemplate `json:"power_port,omitempty"` - FeedLeg NullablePowerOutletFeedLeg `json:"feed_leg,omitempty"` - Description *string `json:"description,omitempty"` - Created NullableTime `json:"created"` - LastUpdated NullableTime `json:"last_updated"` + Label *string `json:"label,omitempty"` + Type NullablePowerOutletType `json:"type,omitempty"` + PowerPort NullableBriefPowerPortTemplate `json:"power_port,omitempty"` + FeedLeg NullablePowerOutletFeedLeg `json:"feed_leg,omitempty"` + Description *string `json:"description,omitempty"` + Created NullableTime `json:"created"` + LastUpdated NullableTime `json:"last_updated"` AdditionalProperties map[string]interface{} } @@ -137,9 +137,9 @@ func (o *PowerOutletTemplate) SetDisplay(v string) { } // GetDeviceType returns the DeviceType field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PowerOutletTemplate) GetDeviceType() DeviceType { +func (o *PowerOutletTemplate) GetDeviceType() BriefDeviceType { if o == nil || IsNil(o.DeviceType.Get()) { - var ret DeviceType + var ret BriefDeviceType return ret } return *o.DeviceType.Get() @@ -148,7 +148,7 @@ func (o *PowerOutletTemplate) GetDeviceType() DeviceType { // GetDeviceTypeOk returns a tuple with the DeviceType 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 *PowerOutletTemplate) GetDeviceTypeOk() (*DeviceType, bool) { +func (o *PowerOutletTemplate) GetDeviceTypeOk() (*BriefDeviceType, bool) { if o == nil { return nil, false } @@ -164,8 +164,8 @@ func (o *PowerOutletTemplate) HasDeviceType() bool { return false } -// SetDeviceType gets a reference to the given NullableDeviceType and assigns it to the DeviceType field. -func (o *PowerOutletTemplate) SetDeviceType(v DeviceType) { +// SetDeviceType gets a reference to the given NullableBriefDeviceType and assigns it to the DeviceType field. +func (o *PowerOutletTemplate) SetDeviceType(v BriefDeviceType) { o.DeviceType.Set(&v) } @@ -180,9 +180,9 @@ func (o *PowerOutletTemplate) UnsetDeviceType() { } // GetModuleType returns the ModuleType field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PowerOutletTemplate) GetModuleType() ModuleType { +func (o *PowerOutletTemplate) GetModuleType() BriefModuleType { if o == nil || IsNil(o.ModuleType.Get()) { - var ret ModuleType + var ret BriefModuleType return ret } return *o.ModuleType.Get() @@ -191,7 +191,7 @@ func (o *PowerOutletTemplate) GetModuleType() ModuleType { // GetModuleTypeOk returns a tuple with the ModuleType 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 *PowerOutletTemplate) GetModuleTypeOk() (*ModuleType, bool) { +func (o *PowerOutletTemplate) GetModuleTypeOk() (*BriefModuleType, bool) { if o == nil { return nil, false } @@ -207,8 +207,8 @@ func (o *PowerOutletTemplate) HasModuleType() bool { return false } -// SetModuleType gets a reference to the given NullableModuleType and assigns it to the ModuleType field. -func (o *PowerOutletTemplate) SetModuleType(v ModuleType) { +// SetModuleType gets a reference to the given NullableBriefModuleType and assigns it to the ModuleType field. +func (o *PowerOutletTemplate) SetModuleType(v BriefModuleType) { o.ModuleType.Set(&v) } @@ -322,9 +322,9 @@ func (o *PowerOutletTemplate) UnsetType() { } // GetPowerPort returns the PowerPort field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PowerOutletTemplate) GetPowerPort() PowerPortTemplate { +func (o *PowerOutletTemplate) GetPowerPort() BriefPowerPortTemplate { if o == nil || IsNil(o.PowerPort.Get()) { - var ret PowerPortTemplate + var ret BriefPowerPortTemplate return ret } return *o.PowerPort.Get() @@ -333,7 +333,7 @@ func (o *PowerOutletTemplate) GetPowerPort() PowerPortTemplate { // GetPowerPortOk returns a tuple with the PowerPort 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 *PowerOutletTemplate) GetPowerPortOk() (*PowerPortTemplate, bool) { +func (o *PowerOutletTemplate) GetPowerPortOk() (*BriefPowerPortTemplate, bool) { if o == nil { return nil, false } @@ -349,8 +349,8 @@ func (o *PowerOutletTemplate) HasPowerPort() bool { return false } -// SetPowerPort gets a reference to the given NullablePowerPortTemplate and assigns it to the PowerPort field. -func (o *PowerOutletTemplate) SetPowerPort(v PowerPortTemplate) { +// SetPowerPort gets a reference to the given NullableBriefPowerPortTemplate and assigns it to the PowerPort field. +func (o *PowerOutletTemplate) SetPowerPort(v BriefPowerPortTemplate) { o.PowerPort.Set(&v) } diff --git a/model_power_outlet_template_request.go b/model_power_outlet_template_request.go index 55567b581..93190edff 100644 --- a/model_power_outlet_template_request.go +++ b/model_power_outlet_template_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,16 +20,16 @@ var _ MappedNullable = &PowerOutletTemplateRequest{} // PowerOutletTemplateRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 PowerOutletTemplateRequest struct { - DeviceType NullableDeviceTypeRequest `json:"device_type,omitempty"` - ModuleType NullableModuleTypeRequest `json:"module_type,omitempty"` + DeviceType NullableBriefDeviceTypeRequest `json:"device_type,omitempty"` + ModuleType NullableBriefModuleTypeRequest `json:"module_type,omitempty"` // {module} is accepted as a substitution for the module bay position when attached to a module type. Name string `json:"name"` // Physical label - Label *string `json:"label,omitempty"` - Type NullablePowerOutletRequestType `json:"type,omitempty"` - PowerPort NullablePowerPortTemplateRequest `json:"power_port,omitempty"` - FeedLeg NullablePowerOutletRequestFeedLeg `json:"feed_leg,omitempty"` - Description *string `json:"description,omitempty"` + Label *string `json:"label,omitempty"` + Type NullablePowerOutletRequestType `json:"type,omitempty"` + PowerPort NullableBriefPowerPortTemplateRequest `json:"power_port,omitempty"` + FeedLeg NullablePowerOutletRequestFeedLeg `json:"feed_leg,omitempty"` + Description *string `json:"description,omitempty"` AdditionalProperties map[string]interface{} } @@ -54,9 +54,9 @@ func NewPowerOutletTemplateRequestWithDefaults() *PowerOutletTemplateRequest { } // GetDeviceType returns the DeviceType field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PowerOutletTemplateRequest) GetDeviceType() DeviceTypeRequest { +func (o *PowerOutletTemplateRequest) GetDeviceType() BriefDeviceTypeRequest { if o == nil || IsNil(o.DeviceType.Get()) { - var ret DeviceTypeRequest + var ret BriefDeviceTypeRequest return ret } return *o.DeviceType.Get() @@ -65,7 +65,7 @@ func (o *PowerOutletTemplateRequest) GetDeviceType() DeviceTypeRequest { // GetDeviceTypeOk returns a tuple with the DeviceType 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 *PowerOutletTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool) { +func (o *PowerOutletTemplateRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool) { if o == nil { return nil, false } @@ -81,8 +81,8 @@ func (o *PowerOutletTemplateRequest) HasDeviceType() bool { return false } -// SetDeviceType gets a reference to the given NullableDeviceTypeRequest and assigns it to the DeviceType field. -func (o *PowerOutletTemplateRequest) SetDeviceType(v DeviceTypeRequest) { +// SetDeviceType gets a reference to the given NullableBriefDeviceTypeRequest and assigns it to the DeviceType field. +func (o *PowerOutletTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest) { o.DeviceType.Set(&v) } @@ -97,9 +97,9 @@ func (o *PowerOutletTemplateRequest) UnsetDeviceType() { } // GetModuleType returns the ModuleType field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PowerOutletTemplateRequest) GetModuleType() ModuleTypeRequest { +func (o *PowerOutletTemplateRequest) GetModuleType() BriefModuleTypeRequest { if o == nil || IsNil(o.ModuleType.Get()) { - var ret ModuleTypeRequest + var ret BriefModuleTypeRequest return ret } return *o.ModuleType.Get() @@ -108,7 +108,7 @@ func (o *PowerOutletTemplateRequest) GetModuleType() ModuleTypeRequest { // GetModuleTypeOk returns a tuple with the ModuleType 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 *PowerOutletTemplateRequest) GetModuleTypeOk() (*ModuleTypeRequest, bool) { +func (o *PowerOutletTemplateRequest) GetModuleTypeOk() (*BriefModuleTypeRequest, bool) { if o == nil { return nil, false } @@ -124,8 +124,8 @@ func (o *PowerOutletTemplateRequest) HasModuleType() bool { return false } -// SetModuleType gets a reference to the given NullableModuleTypeRequest and assigns it to the ModuleType field. -func (o *PowerOutletTemplateRequest) SetModuleType(v ModuleTypeRequest) { +// SetModuleType gets a reference to the given NullableBriefModuleTypeRequest and assigns it to the ModuleType field. +func (o *PowerOutletTemplateRequest) SetModuleType(v BriefModuleTypeRequest) { o.ModuleType.Set(&v) } @@ -239,9 +239,9 @@ func (o *PowerOutletTemplateRequest) UnsetType() { } // GetPowerPort returns the PowerPort field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PowerOutletTemplateRequest) GetPowerPort() PowerPortTemplateRequest { +func (o *PowerOutletTemplateRequest) GetPowerPort() BriefPowerPortTemplateRequest { if o == nil || IsNil(o.PowerPort.Get()) { - var ret PowerPortTemplateRequest + var ret BriefPowerPortTemplateRequest return ret } return *o.PowerPort.Get() @@ -250,7 +250,7 @@ func (o *PowerOutletTemplateRequest) GetPowerPort() PowerPortTemplateRequest { // GetPowerPortOk returns a tuple with the PowerPort 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 *PowerOutletTemplateRequest) GetPowerPortOk() (*PowerPortTemplateRequest, bool) { +func (o *PowerOutletTemplateRequest) GetPowerPortOk() (*BriefPowerPortTemplateRequest, bool) { if o == nil { return nil, false } @@ -266,8 +266,8 @@ func (o *PowerOutletTemplateRequest) HasPowerPort() bool { return false } -// SetPowerPort gets a reference to the given NullablePowerPortTemplateRequest and assigns it to the PowerPort field. -func (o *PowerOutletTemplateRequest) SetPowerPort(v PowerPortTemplateRequest) { +// SetPowerPort gets a reference to the given NullableBriefPowerPortTemplateRequest and assigns it to the PowerPort field. +func (o *PowerOutletTemplateRequest) SetPowerPort(v BriefPowerPortTemplateRequest) { o.PowerPort.Set(&v) } diff --git a/model_power_outlet_type.go b/model_power_outlet_type.go index 2f39149ab..1cd532917 100644 --- a/model_power_outlet_type.go +++ b/model_power_outlet_type.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_power_outlet_type_label.go b/model_power_outlet_type_label.go index 4b09dda97..3f2835c56 100644 --- a/model_power_outlet_type_label.go +++ b/model_power_outlet_type_label.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -81,6 +81,7 @@ const ( POWEROUTLETTYPELABEL_NEMA_L15_60_R PowerOutletTypeLabel = "NEMA L15-60R" POWEROUTLETTYPELABEL_NEMA_L21_20_R PowerOutletTypeLabel = "NEMA L21-20R" POWEROUTLETTYPELABEL_NEMA_L21_30_R PowerOutletTypeLabel = "NEMA L21-30R" + POWEROUTLETTYPELABEL_NEMA_L22_20_R PowerOutletTypeLabel = "NEMA L22-20R" POWEROUTLETTYPELABEL_NEMA_L22_30_R PowerOutletTypeLabel = "NEMA L22-30R" POWEROUTLETTYPELABEL_CS6360_C PowerOutletTypeLabel = "CS6360C" POWEROUTLETTYPELABEL_CS6364_C PowerOutletTypeLabel = "CS6364C" @@ -107,6 +108,7 @@ const ( POWEROUTLETTYPELABEL_MOLEX_MICRO_FIT_2X2 PowerOutletTypeLabel = "Molex Micro-Fit 2x2" POWEROUTLETTYPELABEL_MOLEX_MICRO_FIT_2X4 PowerOutletTypeLabel = "Molex Micro-Fit 2x4" POWEROUTLETTYPELABEL_DC_TERMINAL PowerOutletTypeLabel = "DC Terminal" + POWEROUTLETTYPELABEL_EATON_C39 PowerOutletTypeLabel = "Eaton C39" POWEROUTLETTYPELABEL_HDOT_CX PowerOutletTypeLabel = "HDOT Cx" POWEROUTLETTYPELABEL_SAF_D_GRID PowerOutletTypeLabel = "Saf-D-Grid" POWEROUTLETTYPELABEL_NEUTRIK_POWER_CON__20_A PowerOutletTypeLabel = "Neutrik powerCON (20A)" @@ -181,6 +183,7 @@ var AllowedPowerOutletTypeLabelEnumValues = []PowerOutletTypeLabel{ "NEMA L15-60R", "NEMA L21-20R", "NEMA L21-30R", + "NEMA L22-20R", "NEMA L22-30R", "CS6360C", "CS6364C", @@ -207,6 +210,7 @@ var AllowedPowerOutletTypeLabelEnumValues = []PowerOutletTypeLabel{ "Molex Micro-Fit 2x2", "Molex Micro-Fit 2x4", "DC Terminal", + "Eaton C39", "HDOT Cx", "Saf-D-Grid", "Neutrik powerCON (20A)", diff --git a/model_power_panel.go b/model_power_panel.go index 9548ab75a..77fc9f610 100644 --- a/model_power_panel.go +++ b/model_power_panel.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -13,6 +13,7 @@ package netbox import ( "encoding/json" "fmt" + "time" ) // checks if the PowerPanel type satisfies the MappedNullable interface at compile time @@ -20,12 +21,20 @@ var _ MappedNullable = &PowerPanel{} // PowerPanel Adds support for custom fields and tags. type PowerPanel struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - Name string `json:"name"` - Description *string `json:"description,omitempty"` - PowerfeedCount int64 `json:"powerfeed_count"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Site BriefSite `json:"site"` + Location NullableBriefLocation `json:"location,omitempty"` + Name string `json:"name"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTag `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + PowerfeedCount int64 `json:"powerfeed_count"` + Created NullableTime `json:"created"` + LastUpdated NullableTime `json:"last_updated"` AdditionalProperties map[string]interface{} } @@ -35,13 +44,16 @@ 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 int32, url string, display string, name string, powerfeedCount int64) *PowerPanel { +func NewPowerPanel(id int32, url string, display string, site BriefSite, name string, powerfeedCount int64, created NullableTime, lastUpdated NullableTime) *PowerPanel { this := PowerPanel{} this.Id = id this.Url = url this.Display = display + this.Site = site this.Name = name this.PowerfeedCount = powerfeedCount + this.Created = created + this.LastUpdated = lastUpdated return &this } @@ -101,6 +113,38 @@ func (o *PowerPanel) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *PowerPanel) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PowerPanel) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *PowerPanel) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *PowerPanel) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *PowerPanel) GetDisplay() string { if o == nil { @@ -125,6 +169,73 @@ func (o *PowerPanel) SetDisplay(v string) { o.Display = v } +// GetSite returns the Site field value +func (o *PowerPanel) GetSite() BriefSite { + if o == nil { + var ret BriefSite + return ret + } + + return o.Site +} + +// GetSiteOk returns a tuple with the Site field value +// and a boolean to check if the value has been set. +func (o *PowerPanel) GetSiteOk() (*BriefSite, bool) { + if o == nil { + return nil, false + } + return &o.Site, true +} + +// SetSite sets field value +func (o *PowerPanel) SetSite(v BriefSite) { + o.Site = v +} + +// GetLocation returns the Location field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PowerPanel) GetLocation() BriefLocation { + if o == nil || IsNil(o.Location.Get()) { + var ret BriefLocation + return ret + } + return *o.Location.Get() +} + +// GetLocationOk returns a tuple with the Location 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) GetLocationOk() (*BriefLocation, bool) { + if o == nil { + return nil, false + } + return o.Location.Get(), o.Location.IsSet() +} + +// HasLocation returns a boolean if a field has been set. +func (o *PowerPanel) HasLocation() bool { + if o != nil && o.Location.IsSet() { + return true + } + + return false +} + +// SetLocation gets a reference to the given NullableBriefLocation and assigns it to the Location field. +func (o *PowerPanel) SetLocation(v BriefLocation) { + o.Location.Set(&v) +} + +// SetLocationNil sets the value for Location to be an explicit nil +func (o *PowerPanel) SetLocationNil() { + o.Location.Set(nil) +} + +// UnsetLocation ensures that no value is present for Location, not even an explicit nil +func (o *PowerPanel) UnsetLocation() { + o.Location.Unset() +} + // GetName returns the Name field value func (o *PowerPanel) GetName() string { if o == nil { @@ -181,6 +292,102 @@ func (o *PowerPanel) SetDescription(v string) { o.Description = &v } +// GetComments returns the Comments field value if set, zero value otherwise. +func (o *PowerPanel) GetComments() string { + if o == nil || IsNil(o.Comments) { + var ret string + return ret + } + return *o.Comments +} + +// GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PowerPanel) GetCommentsOk() (*string, bool) { + if o == nil || IsNil(o.Comments) { + return nil, false + } + return o.Comments, true +} + +// HasComments returns a boolean if a field has been set. +func (o *PowerPanel) HasComments() bool { + if o != nil && !IsNil(o.Comments) { + return true + } + + return false +} + +// SetComments gets a reference to the given string and assigns it to the Comments field. +func (o *PowerPanel) SetComments(v string) { + o.Comments = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *PowerPanel) GetTags() []NestedTag { + if o == nil || IsNil(o.Tags) { + var ret []NestedTag + 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 *PowerPanel) GetTagsOk() ([]NestedTag, 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 *PowerPanel) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTag and assigns it to the Tags field. +func (o *PowerPanel) SetTags(v []NestedTag) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *PowerPanel) 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 *PowerPanel) 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 *PowerPanel) 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 *PowerPanel) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + // GetPowerfeedCount returns the PowerfeedCount field value func (o *PowerPanel) GetPowerfeedCount() int64 { if o == nil { @@ -205,6 +412,58 @@ func (o *PowerPanel) SetPowerfeedCount(v int64) { o.PowerfeedCount = v } +// GetCreated returns the Created field value +// If the value is explicit nil, the zero value for time.Time will be returned +func (o *PowerPanel) 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 *PowerPanel) GetCreatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.Created.Get(), o.Created.IsSet() +} + +// SetCreated sets field value +func (o *PowerPanel) 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 *PowerPanel) 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 *PowerPanel) GetLastUpdatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LastUpdated.Get(), o.LastUpdated.IsSet() +} + +// SetLastUpdated sets field value +func (o *PowerPanel) SetLastUpdated(v time.Time) { + o.LastUpdated.Set(&v) +} + func (o PowerPanel) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -217,12 +476,30 @@ func (o PowerPanel) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display + toSerialize["site"] = o.Site + if o.Location.IsSet() { + toSerialize["location"] = o.Location.Get() + } toSerialize["name"] = o.Name if !IsNil(o.Description) { toSerialize["description"] = o.Description } + if !IsNil(o.Comments) { + toSerialize["comments"] = o.Comments + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } toSerialize["powerfeed_count"] = o.PowerfeedCount + toSerialize["created"] = o.Created.Get() + toSerialize["last_updated"] = o.LastUpdated.Get() for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -239,8 +516,11 @@ func (o *PowerPanel) UnmarshalJSON(data []byte) (err error) { "id", "url", "display", + "site", "name", "powerfeed_count", + "created", + "last_updated", } allProperties := make(map[string]interface{}) @@ -272,10 +552,18 @@ func (o *PowerPanel) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") + delete(additionalProperties, "site") + delete(additionalProperties, "location") delete(additionalProperties, "name") delete(additionalProperties, "description") + delete(additionalProperties, "comments") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") delete(additionalProperties, "powerfeed_count") + delete(additionalProperties, "created") + delete(additionalProperties, "last_updated") o.AdditionalProperties = additionalProperties } diff --git a/model_power_panel_request.go b/model_power_panel_request.go index 41ab3ae46..25f16f202 100644 --- a/model_power_panel_request.go +++ b/model_power_panel_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,8 +20,13 @@ var _ MappedNullable = &PowerPanelRequest{} // PowerPanelRequest Adds support for custom fields and tags. type PowerPanelRequest struct { - Name string `json:"name"` - Description *string `json:"description,omitempty"` + Site BriefSiteRequest `json:"site"` + Location NullableBriefLocationRequest `json:"location,omitempty"` + Name string `json:"name"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -31,8 +36,9 @@ type _PowerPanelRequest PowerPanelRequest // This constructor will assign default values to properties that have it defined, // and 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) *PowerPanelRequest { +func NewPowerPanelRequest(site BriefSiteRequest, name string) *PowerPanelRequest { this := PowerPanelRequest{} + this.Site = site this.Name = name return &this } @@ -45,6 +51,73 @@ func NewPowerPanelRequestWithDefaults() *PowerPanelRequest { return &this } +// GetSite returns the Site field value +func (o *PowerPanelRequest) GetSite() BriefSiteRequest { + if o == nil { + var ret BriefSiteRequest + return ret + } + + return o.Site +} + +// GetSiteOk returns a tuple with the Site field value +// and a boolean to check if the value has been set. +func (o *PowerPanelRequest) GetSiteOk() (*BriefSiteRequest, bool) { + if o == nil { + return nil, false + } + return &o.Site, true +} + +// SetSite sets field value +func (o *PowerPanelRequest) SetSite(v BriefSiteRequest) { + o.Site = v +} + +// GetLocation returns the Location field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PowerPanelRequest) GetLocation() BriefLocationRequest { + if o == nil || IsNil(o.Location.Get()) { + var ret BriefLocationRequest + return ret + } + return *o.Location.Get() +} + +// GetLocationOk returns a tuple with the Location 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) GetLocationOk() (*BriefLocationRequest, bool) { + if o == nil { + return nil, false + } + return o.Location.Get(), o.Location.IsSet() +} + +// HasLocation returns a boolean if a field has been set. +func (o *PowerPanelRequest) HasLocation() bool { + if o != nil && o.Location.IsSet() { + return true + } + + return false +} + +// SetLocation gets a reference to the given NullableBriefLocationRequest and assigns it to the Location field. +func (o *PowerPanelRequest) SetLocation(v BriefLocationRequest) { + o.Location.Set(&v) +} + +// SetLocationNil sets the value for Location to be an explicit nil +func (o *PowerPanelRequest) SetLocationNil() { + o.Location.Set(nil) +} + +// UnsetLocation ensures that no value is present for Location, not even an explicit nil +func (o *PowerPanelRequest) UnsetLocation() { + o.Location.Unset() +} + // GetName returns the Name field value func (o *PowerPanelRequest) GetName() string { if o == nil { @@ -101,6 +174,102 @@ func (o *PowerPanelRequest) SetDescription(v string) { o.Description = &v } +// GetComments returns the Comments field value if set, zero value otherwise. +func (o *PowerPanelRequest) GetComments() string { + if o == nil || IsNil(o.Comments) { + var ret string + return ret + } + return *o.Comments +} + +// GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PowerPanelRequest) GetCommentsOk() (*string, bool) { + if o == nil || IsNil(o.Comments) { + return nil, false + } + return o.Comments, true +} + +// HasComments returns a boolean if a field has been set. +func (o *PowerPanelRequest) HasComments() bool { + if o != nil && !IsNil(o.Comments) { + return true + } + + return false +} + +// SetComments gets a reference to the given string and assigns it to the Comments field. +func (o *PowerPanelRequest) SetComments(v string) { + o.Comments = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *PowerPanelRequest) GetTags() []NestedTagRequest { + if o == nil || IsNil(o.Tags) { + var ret []NestedTagRequest + 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() ([]NestedTagRequest, 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 []NestedTagRequest and assigns it to the Tags field. +func (o *PowerPanelRequest) SetTags(v []NestedTagRequest) { + o.Tags = v +} + +// 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 +} + func (o PowerPanelRequest) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -111,10 +280,23 @@ func (o PowerPanelRequest) MarshalJSON() ([]byte, error) { func (o PowerPanelRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + toSerialize["site"] = o.Site + if o.Location.IsSet() { + toSerialize["location"] = o.Location.Get() + } toSerialize["name"] = o.Name if !IsNil(o.Description) { toSerialize["description"] = o.Description } + if !IsNil(o.Comments) { + toSerialize["comments"] = o.Comments + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -128,6 +310,7 @@ func (o *PowerPanelRequest) 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{ + "site", "name", } @@ -158,8 +341,13 @@ func (o *PowerPanelRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "site") + delete(additionalProperties, "location") delete(additionalProperties, "name") delete(additionalProperties, "description") + delete(additionalProperties, "comments") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") o.AdditionalProperties = additionalProperties } diff --git a/model_power_port.go b/model_power_port.go index bfc69ca0f..e8e893019 100644 --- a/model_power_port.go +++ b/model_power_port.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -13,6 +13,7 @@ package netbox import ( "encoding/json" "fmt" + "time" ) // checks if the PowerPort type satisfies the MappedNullable interface at compile time @@ -20,15 +21,37 @@ var _ MappedNullable = &PowerPort{} // PowerPort Adds support for custom fields and tags. type PowerPort struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - Device Device `json:"device"` - Name string `json:"name"` - Description *string `json:"description,omitempty"` - Cable NullableCable `json:"cable"` - Occupied bool `json:"_occupied"` - AdditionalProperties map[string]interface{} + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Device BriefDevice `json:"device"` + Module NullableBriefModule `json:"module,omitempty"` + Name string `json:"name"` + // Physical label + Label *string `json:"label,omitempty"` + Type NullablePowerPortType `json:"type,omitempty"` + // Maximum power draw (watts) + MaximumDraw NullableInt32 `json:"maximum_draw,omitempty"` + // Allocated power draw (watts) + AllocatedDraw NullableInt32 `json:"allocated_draw,omitempty"` + Description *string `json:"description,omitempty"` + // Treat as if a cable is connected + MarkConnected *bool `json:"mark_connected,omitempty"` + Cable NullableBriefCable `json:"cable"` + CableEnd string `json:"cable_end"` + LinkPeers []interface{} `json:"link_peers"` + // Return the type of the peer link terminations, or None. + LinkPeersType NullableString `json:"link_peers_type"` + ConnectedEndpoints []interface{} `json:"connected_endpoints"` + ConnectedEndpointsType NullableString `json:"connected_endpoints_type"` + ConnectedEndpointsReachable bool `json:"connected_endpoints_reachable"` + Tags []NestedTag `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Created NullableTime `json:"created"` + LastUpdated NullableTime `json:"last_updated"` + Occupied bool `json:"_occupied"` + AdditionalProperties map[string]interface{} } type _PowerPort PowerPort @@ -37,7 +60,7 @@ 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 int32, url string, display string, device Device, name string, cable NullableCable, occupied bool) *PowerPort { +func NewPowerPort(id int32, url string, display string, device BriefDevice, name string, cable NullableBriefCable, cableEnd string, linkPeers []interface{}, linkPeersType NullableString, connectedEndpoints []interface{}, connectedEndpointsType NullableString, connectedEndpointsReachable bool, created NullableTime, lastUpdated NullableTime, occupied bool) *PowerPort { this := PowerPort{} this.Id = id this.Url = url @@ -45,6 +68,14 @@ func NewPowerPort(id int32, url string, display string, device Device, name stri this.Device = device this.Name = name this.Cable = cable + this.CableEnd = cableEnd + this.LinkPeers = linkPeers + this.LinkPeersType = linkPeersType + this.ConnectedEndpoints = connectedEndpoints + this.ConnectedEndpointsType = connectedEndpointsType + this.ConnectedEndpointsReachable = connectedEndpointsReachable + this.Created = created + this.LastUpdated = lastUpdated this.Occupied = occupied return &this } @@ -105,6 +136,38 @@ func (o *PowerPort) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *PowerPort) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PowerPort) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *PowerPort) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *PowerPort) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *PowerPort) GetDisplay() string { if o == nil { @@ -130,9 +193,9 @@ func (o *PowerPort) SetDisplay(v string) { } // GetDevice returns the Device field value -func (o *PowerPort) GetDevice() Device { +func (o *PowerPort) GetDevice() BriefDevice { if o == nil { - var ret Device + var ret BriefDevice return ret } @@ -141,7 +204,7 @@ func (o *PowerPort) GetDevice() Device { // GetDeviceOk returns a tuple with the Device field value // and a boolean to check if the value has been set. -func (o *PowerPort) GetDeviceOk() (*Device, bool) { +func (o *PowerPort) GetDeviceOk() (*BriefDevice, bool) { if o == nil { return nil, false } @@ -149,10 +212,53 @@ func (o *PowerPort) GetDeviceOk() (*Device, bool) { } // SetDevice sets field value -func (o *PowerPort) SetDevice(v Device) { +func (o *PowerPort) SetDevice(v BriefDevice) { o.Device = v } +// GetModule returns the Module field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PowerPort) GetModule() BriefModule { + if o == nil || IsNil(o.Module.Get()) { + var ret BriefModule + return ret + } + return *o.Module.Get() +} + +// GetModuleOk returns a tuple with the Module 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 *PowerPort) GetModuleOk() (*BriefModule, bool) { + if o == nil { + return nil, false + } + return o.Module.Get(), o.Module.IsSet() +} + +// HasModule returns a boolean if a field has been set. +func (o *PowerPort) HasModule() bool { + if o != nil && o.Module.IsSet() { + return true + } + + return false +} + +// SetModule gets a reference to the given NullableBriefModule and assigns it to the Module field. +func (o *PowerPort) SetModule(v BriefModule) { + o.Module.Set(&v) +} + +// SetModuleNil sets the value for Module to be an explicit nil +func (o *PowerPort) SetModuleNil() { + o.Module.Set(nil) +} + +// UnsetModule ensures that no value is present for Module, not even an explicit nil +func (o *PowerPort) UnsetModule() { + o.Module.Unset() +} + // GetName returns the Name field value func (o *PowerPort) GetName() string { if o == nil { @@ -177,6 +283,167 @@ func (o *PowerPort) SetName(v string) { o.Name = v } +// GetLabel returns the Label field value if set, zero value otherwise. +func (o *PowerPort) GetLabel() string { + if o == nil || IsNil(o.Label) { + var ret string + 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 *PowerPort) GetLabelOk() (*string, 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 *PowerPort) HasLabel() bool { + if o != nil && !IsNil(o.Label) { + return true + } + + return false +} + +// SetLabel gets a reference to the given string and assigns it to the Label field. +func (o *PowerPort) SetLabel(v string) { + o.Label = &v +} + +// GetType returns the Type field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PowerPort) GetType() PowerPortType { + if o == nil || IsNil(o.Type.Get()) { + var ret PowerPortType + return ret + } + return *o.Type.Get() +} + +// GetTypeOk returns a tuple with the Type 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 *PowerPort) GetTypeOk() (*PowerPortType, bool) { + if o == nil { + return nil, false + } + return o.Type.Get(), o.Type.IsSet() +} + +// HasType returns a boolean if a field has been set. +func (o *PowerPort) HasType() bool { + if o != nil && o.Type.IsSet() { + return true + } + + return false +} + +// SetType gets a reference to the given NullablePowerPortType and assigns it to the Type field. +func (o *PowerPort) SetType(v PowerPortType) { + o.Type.Set(&v) +} + +// SetTypeNil sets the value for Type to be an explicit nil +func (o *PowerPort) SetTypeNil() { + o.Type.Set(nil) +} + +// UnsetType ensures that no value is present for Type, not even an explicit nil +func (o *PowerPort) UnsetType() { + o.Type.Unset() +} + +// GetMaximumDraw returns the MaximumDraw field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PowerPort) GetMaximumDraw() int32 { + if o == nil || IsNil(o.MaximumDraw.Get()) { + var ret int32 + return ret + } + return *o.MaximumDraw.Get() +} + +// GetMaximumDrawOk returns a tuple with the MaximumDraw 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 *PowerPort) GetMaximumDrawOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.MaximumDraw.Get(), o.MaximumDraw.IsSet() +} + +// HasMaximumDraw returns a boolean if a field has been set. +func (o *PowerPort) HasMaximumDraw() bool { + if o != nil && o.MaximumDraw.IsSet() { + return true + } + + return false +} + +// SetMaximumDraw gets a reference to the given NullableInt32 and assigns it to the MaximumDraw field. +func (o *PowerPort) SetMaximumDraw(v int32) { + o.MaximumDraw.Set(&v) +} + +// SetMaximumDrawNil sets the value for MaximumDraw to be an explicit nil +func (o *PowerPort) SetMaximumDrawNil() { + o.MaximumDraw.Set(nil) +} + +// UnsetMaximumDraw ensures that no value is present for MaximumDraw, not even an explicit nil +func (o *PowerPort) UnsetMaximumDraw() { + o.MaximumDraw.Unset() +} + +// GetAllocatedDraw returns the AllocatedDraw field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PowerPort) GetAllocatedDraw() int32 { + if o == nil || IsNil(o.AllocatedDraw.Get()) { + var ret int32 + return ret + } + return *o.AllocatedDraw.Get() +} + +// GetAllocatedDrawOk returns a tuple with the AllocatedDraw 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 *PowerPort) GetAllocatedDrawOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.AllocatedDraw.Get(), o.AllocatedDraw.IsSet() +} + +// HasAllocatedDraw returns a boolean if a field has been set. +func (o *PowerPort) HasAllocatedDraw() bool { + if o != nil && o.AllocatedDraw.IsSet() { + return true + } + + return false +} + +// SetAllocatedDraw gets a reference to the given NullableInt32 and assigns it to the AllocatedDraw field. +func (o *PowerPort) SetAllocatedDraw(v int32) { + o.AllocatedDraw.Set(&v) +} + +// SetAllocatedDrawNil sets the value for AllocatedDraw to be an explicit nil +func (o *PowerPort) SetAllocatedDrawNil() { + o.AllocatedDraw.Set(nil) +} + +// UnsetAllocatedDraw ensures that no value is present for AllocatedDraw, not even an explicit nil +func (o *PowerPort) UnsetAllocatedDraw() { + o.AllocatedDraw.Unset() +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *PowerPort) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -209,11 +476,43 @@ func (o *PowerPort) SetDescription(v string) { o.Description = &v } +// GetMarkConnected returns the MarkConnected field value if set, zero value otherwise. +func (o *PowerPort) GetMarkConnected() bool { + if o == nil || IsNil(o.MarkConnected) { + var ret bool + return ret + } + return *o.MarkConnected +} + +// GetMarkConnectedOk returns a tuple with the MarkConnected field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PowerPort) GetMarkConnectedOk() (*bool, bool) { + if o == nil || IsNil(o.MarkConnected) { + return nil, false + } + return o.MarkConnected, true +} + +// HasMarkConnected returns a boolean if a field has been set. +func (o *PowerPort) HasMarkConnected() bool { + if o != nil && !IsNil(o.MarkConnected) { + return true + } + + return false +} + +// SetMarkConnected gets a reference to the given bool and assigns it to the MarkConnected field. +func (o *PowerPort) SetMarkConnected(v bool) { + o.MarkConnected = &v +} + // GetCable returns the Cable field value -// If the value is explicit nil, the zero value for Cable will be returned -func (o *PowerPort) GetCable() Cable { +// If the value is explicit nil, the zero value for BriefCable will be returned +func (o *PowerPort) GetCable() BriefCable { if o == nil || o.Cable.Get() == nil { - var ret Cable + var ret BriefCable return ret } @@ -223,7 +522,7 @@ func (o *PowerPort) GetCable() Cable { // GetCableOk returns a tuple with the Cable 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 *PowerPort) GetCableOk() (*Cable, bool) { +func (o *PowerPort) GetCableOk() (*BriefCable, bool) { if o == nil { return nil, false } @@ -231,10 +530,276 @@ func (o *PowerPort) GetCableOk() (*Cable, bool) { } // SetCable sets field value -func (o *PowerPort) SetCable(v Cable) { +func (o *PowerPort) SetCable(v BriefCable) { o.Cable.Set(&v) } +// GetCableEnd returns the CableEnd field value +func (o *PowerPort) GetCableEnd() string { + if o == nil { + var ret string + return ret + } + + return o.CableEnd +} + +// GetCableEndOk returns a tuple with the CableEnd field value +// and a boolean to check if the value has been set. +func (o *PowerPort) GetCableEndOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.CableEnd, true +} + +// SetCableEnd sets field value +func (o *PowerPort) SetCableEnd(v string) { + o.CableEnd = v +} + +// GetLinkPeers returns the LinkPeers field value +func (o *PowerPort) GetLinkPeers() []interface{} { + if o == nil { + var ret []interface{} + return ret + } + + return o.LinkPeers +} + +// GetLinkPeersOk returns a tuple with the LinkPeers field value +// and a boolean to check if the value has been set. +func (o *PowerPort) GetLinkPeersOk() ([]interface{}, bool) { + if o == nil { + return nil, false + } + return o.LinkPeers, true +} + +// SetLinkPeers sets field value +func (o *PowerPort) SetLinkPeers(v []interface{}) { + o.LinkPeers = v +} + +// GetLinkPeersType returns the LinkPeersType field value +// If the value is explicit nil, the zero value for string will be returned +func (o *PowerPort) GetLinkPeersType() string { + if o == nil || o.LinkPeersType.Get() == nil { + var ret string + return ret + } + + return *o.LinkPeersType.Get() +} + +// GetLinkPeersTypeOk returns a tuple with the LinkPeersType 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 *PowerPort) GetLinkPeersTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.LinkPeersType.Get(), o.LinkPeersType.IsSet() +} + +// SetLinkPeersType sets field value +func (o *PowerPort) SetLinkPeersType(v string) { + o.LinkPeersType.Set(&v) +} + +// GetConnectedEndpoints returns the ConnectedEndpoints field value +// If the value is explicit nil, the zero value for []interface{} will be returned +func (o *PowerPort) GetConnectedEndpoints() []interface{} { + if o == nil { + var ret []interface{} + return ret + } + + return o.ConnectedEndpoints +} + +// GetConnectedEndpointsOk returns a tuple with the ConnectedEndpoints 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 *PowerPort) GetConnectedEndpointsOk() ([]interface{}, bool) { + if o == nil || IsNil(o.ConnectedEndpoints) { + return nil, false + } + return o.ConnectedEndpoints, true +} + +// SetConnectedEndpoints sets field value +func (o *PowerPort) SetConnectedEndpoints(v []interface{}) { + o.ConnectedEndpoints = v +} + +// GetConnectedEndpointsType returns the ConnectedEndpointsType field value +// If the value is explicit nil, the zero value for string will be returned +func (o *PowerPort) GetConnectedEndpointsType() string { + if o == nil || o.ConnectedEndpointsType.Get() == nil { + var ret string + return ret + } + + return *o.ConnectedEndpointsType.Get() +} + +// GetConnectedEndpointsTypeOk returns a tuple with the ConnectedEndpointsType 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 *PowerPort) GetConnectedEndpointsTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ConnectedEndpointsType.Get(), o.ConnectedEndpointsType.IsSet() +} + +// SetConnectedEndpointsType sets field value +func (o *PowerPort) SetConnectedEndpointsType(v string) { + o.ConnectedEndpointsType.Set(&v) +} + +// GetConnectedEndpointsReachable returns the ConnectedEndpointsReachable field value +func (o *PowerPort) GetConnectedEndpointsReachable() bool { + if o == nil { + var ret bool + return ret + } + + return o.ConnectedEndpointsReachable +} + +// GetConnectedEndpointsReachableOk returns a tuple with the ConnectedEndpointsReachable field value +// and a boolean to check if the value has been set. +func (o *PowerPort) GetConnectedEndpointsReachableOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.ConnectedEndpointsReachable, true +} + +// SetConnectedEndpointsReachable sets field value +func (o *PowerPort) SetConnectedEndpointsReachable(v bool) { + o.ConnectedEndpointsReachable = v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *PowerPort) GetTags() []NestedTag { + if o == nil || IsNil(o.Tags) { + var ret []NestedTag + 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 *PowerPort) GetTagsOk() ([]NestedTag, 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 *PowerPort) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTag and assigns it to the Tags field. +func (o *PowerPort) SetTags(v []NestedTag) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *PowerPort) 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 *PowerPort) 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 *PowerPort) 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 *PowerPort) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetCreated returns the Created field value +// If the value is explicit nil, the zero value for time.Time will be returned +func (o *PowerPort) 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 *PowerPort) GetCreatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.Created.Get(), o.Created.IsSet() +} + +// SetCreated sets field value +func (o *PowerPort) 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 *PowerPort) 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 *PowerPort) GetLastUpdatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LastUpdated.Get(), o.LastUpdated.IsSet() +} + +// SetLastUpdated sets field value +func (o *PowerPort) SetLastUpdated(v time.Time) { + o.LastUpdated.Set(&v) +} + // GetOccupied returns the Occupied field value func (o *PowerPort) GetOccupied() bool { if o == nil { @@ -271,13 +836,50 @@ func (o PowerPort) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["device"] = o.Device + if o.Module.IsSet() { + toSerialize["module"] = o.Module.Get() + } toSerialize["name"] = o.Name + if !IsNil(o.Label) { + toSerialize["label"] = o.Label + } + if o.Type.IsSet() { + toSerialize["type"] = o.Type.Get() + } + if o.MaximumDraw.IsSet() { + toSerialize["maximum_draw"] = o.MaximumDraw.Get() + } + if o.AllocatedDraw.IsSet() { + toSerialize["allocated_draw"] = o.AllocatedDraw.Get() + } if !IsNil(o.Description) { toSerialize["description"] = o.Description } + if !IsNil(o.MarkConnected) { + toSerialize["mark_connected"] = o.MarkConnected + } toSerialize["cable"] = o.Cable.Get() + toSerialize["cable_end"] = o.CableEnd + toSerialize["link_peers"] = o.LinkPeers + toSerialize["link_peers_type"] = o.LinkPeersType.Get() + if o.ConnectedEndpoints != nil { + toSerialize["connected_endpoints"] = o.ConnectedEndpoints + } + toSerialize["connected_endpoints_type"] = o.ConnectedEndpointsType.Get() + toSerialize["connected_endpoints_reachable"] = o.ConnectedEndpointsReachable + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + toSerialize["created"] = o.Created.Get() + toSerialize["last_updated"] = o.LastUpdated.Get() toSerialize["_occupied"] = o.Occupied for key, value := range o.AdditionalProperties { @@ -298,6 +900,14 @@ func (o *PowerPort) UnmarshalJSON(data []byte) (err error) { "device", "name", "cable", + "cable_end", + "link_peers", + "link_peers_type", + "connected_endpoints", + "connected_endpoints_type", + "connected_endpoints_reachable", + "created", + "last_updated", "_occupied", } @@ -330,11 +940,28 @@ func (o *PowerPort) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "device") + delete(additionalProperties, "module") delete(additionalProperties, "name") + delete(additionalProperties, "label") + delete(additionalProperties, "type") + delete(additionalProperties, "maximum_draw") + delete(additionalProperties, "allocated_draw") delete(additionalProperties, "description") + delete(additionalProperties, "mark_connected") delete(additionalProperties, "cable") + delete(additionalProperties, "cable_end") + delete(additionalProperties, "link_peers") + delete(additionalProperties, "link_peers_type") + delete(additionalProperties, "connected_endpoints") + delete(additionalProperties, "connected_endpoints_type") + delete(additionalProperties, "connected_endpoints_reachable") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "created") + delete(additionalProperties, "last_updated") delete(additionalProperties, "_occupied") o.AdditionalProperties = additionalProperties } diff --git a/model_power_port_request.go b/model_power_port_request.go index b699633c5..8641740ab 100644 --- a/model_power_port_request.go +++ b/model_power_port_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,9 +20,21 @@ var _ MappedNullable = &PowerPortRequest{} // PowerPortRequest Adds support for custom fields and tags. type PowerPortRequest struct { - Device DeviceRequest `json:"device"` - Name string `json:"name"` - Description *string `json:"description,omitempty"` + Device BriefDeviceRequest `json:"device"` + Module NullableBriefModuleRequest `json:"module,omitempty"` + Name string `json:"name"` + // Physical label + Label *string `json:"label,omitempty"` + Type NullablePowerPortRequestType `json:"type,omitempty"` + // Maximum power draw (watts) + MaximumDraw NullableInt32 `json:"maximum_draw,omitempty"` + // Allocated power draw (watts) + AllocatedDraw NullableInt32 `json:"allocated_draw,omitempty"` + Description *string `json:"description,omitempty"` + // Treat as if a cable is connected + MarkConnected *bool `json:"mark_connected,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -32,7 +44,7 @@ type _PowerPortRequest PowerPortRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewPowerPortRequest(device DeviceRequest, name string) *PowerPortRequest { +func NewPowerPortRequest(device BriefDeviceRequest, name string) *PowerPortRequest { this := PowerPortRequest{} this.Device = device this.Name = name @@ -48,9 +60,9 @@ func NewPowerPortRequestWithDefaults() *PowerPortRequest { } // GetDevice returns the Device field value -func (o *PowerPortRequest) GetDevice() DeviceRequest { +func (o *PowerPortRequest) GetDevice() BriefDeviceRequest { if o == nil { - var ret DeviceRequest + var ret BriefDeviceRequest return ret } @@ -59,7 +71,7 @@ func (o *PowerPortRequest) GetDevice() DeviceRequest { // GetDeviceOk returns a tuple with the Device field value // and a boolean to check if the value has been set. -func (o *PowerPortRequest) GetDeviceOk() (*DeviceRequest, bool) { +func (o *PowerPortRequest) GetDeviceOk() (*BriefDeviceRequest, bool) { if o == nil { return nil, false } @@ -67,10 +79,53 @@ func (o *PowerPortRequest) GetDeviceOk() (*DeviceRequest, bool) { } // SetDevice sets field value -func (o *PowerPortRequest) SetDevice(v DeviceRequest) { +func (o *PowerPortRequest) SetDevice(v BriefDeviceRequest) { o.Device = v } +// GetModule returns the Module field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PowerPortRequest) GetModule() BriefModuleRequest { + if o == nil || IsNil(o.Module.Get()) { + var ret BriefModuleRequest + return ret + } + return *o.Module.Get() +} + +// GetModuleOk returns a tuple with the Module 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 *PowerPortRequest) GetModuleOk() (*BriefModuleRequest, bool) { + if o == nil { + return nil, false + } + return o.Module.Get(), o.Module.IsSet() +} + +// HasModule returns a boolean if a field has been set. +func (o *PowerPortRequest) HasModule() bool { + if o != nil && o.Module.IsSet() { + return true + } + + return false +} + +// SetModule gets a reference to the given NullableBriefModuleRequest and assigns it to the Module field. +func (o *PowerPortRequest) SetModule(v BriefModuleRequest) { + o.Module.Set(&v) +} + +// SetModuleNil sets the value for Module to be an explicit nil +func (o *PowerPortRequest) SetModuleNil() { + o.Module.Set(nil) +} + +// UnsetModule ensures that no value is present for Module, not even an explicit nil +func (o *PowerPortRequest) UnsetModule() { + o.Module.Unset() +} + // GetName returns the Name field value func (o *PowerPortRequest) GetName() string { if o == nil { @@ -95,6 +150,167 @@ func (o *PowerPortRequest) SetName(v string) { o.Name = v } +// GetLabel returns the Label field value if set, zero value otherwise. +func (o *PowerPortRequest) GetLabel() string { + if o == nil || IsNil(o.Label) { + var ret string + 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 *PowerPortRequest) GetLabelOk() (*string, 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 *PowerPortRequest) HasLabel() bool { + if o != nil && !IsNil(o.Label) { + return true + } + + return false +} + +// SetLabel gets a reference to the given string and assigns it to the Label field. +func (o *PowerPortRequest) SetLabel(v string) { + o.Label = &v +} + +// GetType returns the Type field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PowerPortRequest) GetType() PowerPortRequestType { + if o == nil || IsNil(o.Type.Get()) { + var ret PowerPortRequestType + return ret + } + return *o.Type.Get() +} + +// GetTypeOk returns a tuple with the Type 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 *PowerPortRequest) GetTypeOk() (*PowerPortRequestType, bool) { + if o == nil { + return nil, false + } + return o.Type.Get(), o.Type.IsSet() +} + +// HasType returns a boolean if a field has been set. +func (o *PowerPortRequest) HasType() bool { + if o != nil && o.Type.IsSet() { + return true + } + + return false +} + +// SetType gets a reference to the given NullablePowerPortRequestType and assigns it to the Type field. +func (o *PowerPortRequest) SetType(v PowerPortRequestType) { + o.Type.Set(&v) +} + +// SetTypeNil sets the value for Type to be an explicit nil +func (o *PowerPortRequest) SetTypeNil() { + o.Type.Set(nil) +} + +// UnsetType ensures that no value is present for Type, not even an explicit nil +func (o *PowerPortRequest) UnsetType() { + o.Type.Unset() +} + +// GetMaximumDraw returns the MaximumDraw field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PowerPortRequest) GetMaximumDraw() int32 { + if o == nil || IsNil(o.MaximumDraw.Get()) { + var ret int32 + return ret + } + return *o.MaximumDraw.Get() +} + +// GetMaximumDrawOk returns a tuple with the MaximumDraw 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 *PowerPortRequest) GetMaximumDrawOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.MaximumDraw.Get(), o.MaximumDraw.IsSet() +} + +// HasMaximumDraw returns a boolean if a field has been set. +func (o *PowerPortRequest) HasMaximumDraw() bool { + if o != nil && o.MaximumDraw.IsSet() { + return true + } + + return false +} + +// SetMaximumDraw gets a reference to the given NullableInt32 and assigns it to the MaximumDraw field. +func (o *PowerPortRequest) SetMaximumDraw(v int32) { + o.MaximumDraw.Set(&v) +} + +// SetMaximumDrawNil sets the value for MaximumDraw to be an explicit nil +func (o *PowerPortRequest) SetMaximumDrawNil() { + o.MaximumDraw.Set(nil) +} + +// UnsetMaximumDraw ensures that no value is present for MaximumDraw, not even an explicit nil +func (o *PowerPortRequest) UnsetMaximumDraw() { + o.MaximumDraw.Unset() +} + +// GetAllocatedDraw returns the AllocatedDraw field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PowerPortRequest) GetAllocatedDraw() int32 { + if o == nil || IsNil(o.AllocatedDraw.Get()) { + var ret int32 + return ret + } + return *o.AllocatedDraw.Get() +} + +// GetAllocatedDrawOk returns a tuple with the AllocatedDraw 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 *PowerPortRequest) GetAllocatedDrawOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.AllocatedDraw.Get(), o.AllocatedDraw.IsSet() +} + +// HasAllocatedDraw returns a boolean if a field has been set. +func (o *PowerPortRequest) HasAllocatedDraw() bool { + if o != nil && o.AllocatedDraw.IsSet() { + return true + } + + return false +} + +// SetAllocatedDraw gets a reference to the given NullableInt32 and assigns it to the AllocatedDraw field. +func (o *PowerPortRequest) SetAllocatedDraw(v int32) { + o.AllocatedDraw.Set(&v) +} + +// SetAllocatedDrawNil sets the value for AllocatedDraw to be an explicit nil +func (o *PowerPortRequest) SetAllocatedDrawNil() { + o.AllocatedDraw.Set(nil) +} + +// UnsetAllocatedDraw ensures that no value is present for AllocatedDraw, not even an explicit nil +func (o *PowerPortRequest) UnsetAllocatedDraw() { + o.AllocatedDraw.Unset() +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *PowerPortRequest) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -127,6 +343,102 @@ func (o *PowerPortRequest) SetDescription(v string) { o.Description = &v } +// GetMarkConnected returns the MarkConnected field value if set, zero value otherwise. +func (o *PowerPortRequest) GetMarkConnected() bool { + if o == nil || IsNil(o.MarkConnected) { + var ret bool + return ret + } + return *o.MarkConnected +} + +// GetMarkConnectedOk returns a tuple with the MarkConnected field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PowerPortRequest) GetMarkConnectedOk() (*bool, bool) { + if o == nil || IsNil(o.MarkConnected) { + return nil, false + } + return o.MarkConnected, true +} + +// HasMarkConnected returns a boolean if a field has been set. +func (o *PowerPortRequest) HasMarkConnected() bool { + if o != nil && !IsNil(o.MarkConnected) { + return true + } + + return false +} + +// SetMarkConnected gets a reference to the given bool and assigns it to the MarkConnected field. +func (o *PowerPortRequest) SetMarkConnected(v bool) { + o.MarkConnected = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *PowerPortRequest) GetTags() []NestedTagRequest { + if o == nil || IsNil(o.Tags) { + var ret []NestedTagRequest + 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 *PowerPortRequest) GetTagsOk() ([]NestedTagRequest, 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 *PowerPortRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTagRequest and assigns it to the Tags field. +func (o *PowerPortRequest) SetTags(v []NestedTagRequest) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *PowerPortRequest) 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 *PowerPortRequest) 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 *PowerPortRequest) 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 *PowerPortRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + func (o PowerPortRequest) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -138,10 +450,34 @@ func (o PowerPortRequest) MarshalJSON() ([]byte, error) { func (o PowerPortRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["device"] = o.Device + if o.Module.IsSet() { + toSerialize["module"] = o.Module.Get() + } toSerialize["name"] = o.Name + if !IsNil(o.Label) { + toSerialize["label"] = o.Label + } + if o.Type.IsSet() { + toSerialize["type"] = o.Type.Get() + } + if o.MaximumDraw.IsSet() { + toSerialize["maximum_draw"] = o.MaximumDraw.Get() + } + if o.AllocatedDraw.IsSet() { + toSerialize["allocated_draw"] = o.AllocatedDraw.Get() + } if !IsNil(o.Description) { toSerialize["description"] = o.Description } + if !IsNil(o.MarkConnected) { + toSerialize["mark_connected"] = o.MarkConnected + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -187,8 +523,16 @@ func (o *PowerPortRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "device") + delete(additionalProperties, "module") delete(additionalProperties, "name") + delete(additionalProperties, "label") + delete(additionalProperties, "type") + delete(additionalProperties, "maximum_draw") + delete(additionalProperties, "allocated_draw") delete(additionalProperties, "description") + delete(additionalProperties, "mark_connected") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") o.AdditionalProperties = additionalProperties } diff --git a/model_power_port_request_type.go b/model_power_port_request_type.go new file mode 100644 index 000000000..dc47f80f3 --- /dev/null +++ b/model_power_port_request_type.go @@ -0,0 +1,316 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// PowerPortRequestType * `iec-60320-c6` - C6 * `iec-60320-c8` - C8 * `iec-60320-c14` - C14 * `iec-60320-c16` - C16 * `iec-60320-c20` - C20 * `iec-60320-c22` - C22 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `iec-60906-1` - IEC 60906-1 * `nbr-14136-10a` - 2P+T 10A (NBR 14136) * `nbr-14136-20a` - 2P+T 20A (NBR 14136) * `nema-1-15p` - NEMA 1-15P * `nema-5-15p` - NEMA 5-15P * `nema-5-20p` - NEMA 5-20P * `nema-5-30p` - NEMA 5-30P * `nema-5-50p` - NEMA 5-50P * `nema-6-15p` - NEMA 6-15P * `nema-6-20p` - NEMA 6-20P * `nema-6-30p` - NEMA 6-30P * `nema-6-50p` - NEMA 6-50P * `nema-10-30p` - NEMA 10-30P * `nema-10-50p` - NEMA 10-50P * `nema-14-20p` - NEMA 14-20P * `nema-14-30p` - NEMA 14-30P * `nema-14-50p` - NEMA 14-50P * `nema-14-60p` - NEMA 14-60P * `nema-15-15p` - NEMA 15-15P * `nema-15-20p` - NEMA 15-20P * `nema-15-30p` - NEMA 15-30P * `nema-15-50p` - NEMA 15-50P * `nema-15-60p` - NEMA 15-60P * `nema-l1-15p` - NEMA L1-15P * `nema-l5-15p` - NEMA L5-15P * `nema-l5-20p` - NEMA L5-20P * `nema-l5-30p` - NEMA L5-30P * `nema-l5-50p` - NEMA L5-50P * `nema-l6-15p` - NEMA L6-15P * `nema-l6-20p` - NEMA L6-20P * `nema-l6-30p` - NEMA L6-30P * `nema-l6-50p` - NEMA L6-50P * `nema-l10-30p` - NEMA L10-30P * `nema-l14-20p` - NEMA L14-20P * `nema-l14-30p` - NEMA L14-30P * `nema-l14-50p` - NEMA L14-50P * `nema-l14-60p` - NEMA L14-60P * `nema-l15-20p` - NEMA L15-20P * `nema-l15-30p` - NEMA L15-30P * `nema-l15-50p` - NEMA L15-50P * `nema-l15-60p` - NEMA L15-60P * `nema-l21-20p` - NEMA L21-20P * `nema-l21-30p` - NEMA L21-30P * `nema-l22-20p` - NEMA L22-20P * `nema-l22-30p` - NEMA L22-30P * `cs6361c` - CS6361C * `cs6365c` - CS6365C * `cs8165c` - CS8165C * `cs8265c` - CS8265C * `cs8365c` - CS8365C * `cs8465c` - CS8465C * `ita-c` - ITA Type C (CEE 7/16) * `ita-e` - ITA Type E (CEE 7/6) * `ita-f` - ITA Type F (CEE 7/4) * `ita-ef` - ITA Type E/F (CEE 7/7) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `usb-a` - USB Type A * `usb-b` - USB Type B * `usb-c` - USB Type C * `usb-mini-a` - USB Mini A * `usb-mini-b` - USB Mini B * `usb-micro-a` - USB Micro A * `usb-micro-b` - USB Micro B * `usb-micro-ab` - USB Micro AB * `usb-3-b` - USB 3.0 Type B * `usb-3-micro-b` - USB 3.0 Micro B * `molex-micro-fit-1x2` - Molex Micro-Fit 1x2 * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20` - Neutrik powerCON (20A) * `neutrik-powercon-32` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other +type PowerPortRequestType string + +// List of PowerPortRequest_type +const ( + POWERPORTREQUESTTYPE_IEC_60320_C6 PowerPortRequestType = "iec-60320-c6" + POWERPORTREQUESTTYPE_IEC_60320_C8 PowerPortRequestType = "iec-60320-c8" + POWERPORTREQUESTTYPE_IEC_60320_C14 PowerPortRequestType = "iec-60320-c14" + POWERPORTREQUESTTYPE_IEC_60320_C16 PowerPortRequestType = "iec-60320-c16" + POWERPORTREQUESTTYPE_IEC_60320_C20 PowerPortRequestType = "iec-60320-c20" + POWERPORTREQUESTTYPE_IEC_60320_C22 PowerPortRequestType = "iec-60320-c22" + POWERPORTREQUESTTYPE_IEC_60309_P_N_E_4H PowerPortRequestType = "iec-60309-p-n-e-4h" + POWERPORTREQUESTTYPE_IEC_60309_P_N_E_6H PowerPortRequestType = "iec-60309-p-n-e-6h" + POWERPORTREQUESTTYPE_IEC_60309_P_N_E_9H PowerPortRequestType = "iec-60309-p-n-e-9h" + POWERPORTREQUESTTYPE_IEC_60309_2P_E_4H PowerPortRequestType = "iec-60309-2p-e-4h" + POWERPORTREQUESTTYPE_IEC_60309_2P_E_6H PowerPortRequestType = "iec-60309-2p-e-6h" + POWERPORTREQUESTTYPE_IEC_60309_2P_E_9H PowerPortRequestType = "iec-60309-2p-e-9h" + POWERPORTREQUESTTYPE_IEC_60309_3P_E_4H PowerPortRequestType = "iec-60309-3p-e-4h" + POWERPORTREQUESTTYPE_IEC_60309_3P_E_6H PowerPortRequestType = "iec-60309-3p-e-6h" + POWERPORTREQUESTTYPE_IEC_60309_3P_E_9H PowerPortRequestType = "iec-60309-3p-e-9h" + POWERPORTREQUESTTYPE_IEC_60309_3P_N_E_4H PowerPortRequestType = "iec-60309-3p-n-e-4h" + POWERPORTREQUESTTYPE_IEC_60309_3P_N_E_6H PowerPortRequestType = "iec-60309-3p-n-e-6h" + POWERPORTREQUESTTYPE_IEC_60309_3P_N_E_9H PowerPortRequestType = "iec-60309-3p-n-e-9h" + POWERPORTREQUESTTYPE_IEC_60906_1 PowerPortRequestType = "iec-60906-1" + POWERPORTREQUESTTYPE_NBR_14136_10A PowerPortRequestType = "nbr-14136-10a" + POWERPORTREQUESTTYPE_NBR_14136_20A PowerPortRequestType = "nbr-14136-20a" + POWERPORTREQUESTTYPE_NEMA_1_15P PowerPortRequestType = "nema-1-15p" + POWERPORTREQUESTTYPE_NEMA_5_15P PowerPortRequestType = "nema-5-15p" + POWERPORTREQUESTTYPE_NEMA_5_20P PowerPortRequestType = "nema-5-20p" + POWERPORTREQUESTTYPE_NEMA_5_30P PowerPortRequestType = "nema-5-30p" + POWERPORTREQUESTTYPE_NEMA_5_50P PowerPortRequestType = "nema-5-50p" + POWERPORTREQUESTTYPE_NEMA_6_15P PowerPortRequestType = "nema-6-15p" + POWERPORTREQUESTTYPE_NEMA_6_20P PowerPortRequestType = "nema-6-20p" + POWERPORTREQUESTTYPE_NEMA_6_30P PowerPortRequestType = "nema-6-30p" + POWERPORTREQUESTTYPE_NEMA_6_50P PowerPortRequestType = "nema-6-50p" + POWERPORTREQUESTTYPE_NEMA_10_30P PowerPortRequestType = "nema-10-30p" + POWERPORTREQUESTTYPE_NEMA_10_50P PowerPortRequestType = "nema-10-50p" + POWERPORTREQUESTTYPE_NEMA_14_20P PowerPortRequestType = "nema-14-20p" + POWERPORTREQUESTTYPE_NEMA_14_30P PowerPortRequestType = "nema-14-30p" + POWERPORTREQUESTTYPE_NEMA_14_50P PowerPortRequestType = "nema-14-50p" + POWERPORTREQUESTTYPE_NEMA_14_60P PowerPortRequestType = "nema-14-60p" + POWERPORTREQUESTTYPE_NEMA_15_15P PowerPortRequestType = "nema-15-15p" + POWERPORTREQUESTTYPE_NEMA_15_20P PowerPortRequestType = "nema-15-20p" + POWERPORTREQUESTTYPE_NEMA_15_30P PowerPortRequestType = "nema-15-30p" + POWERPORTREQUESTTYPE_NEMA_15_50P PowerPortRequestType = "nema-15-50p" + POWERPORTREQUESTTYPE_NEMA_15_60P PowerPortRequestType = "nema-15-60p" + POWERPORTREQUESTTYPE_NEMA_L1_15P PowerPortRequestType = "nema-l1-15p" + POWERPORTREQUESTTYPE_NEMA_L5_15P PowerPortRequestType = "nema-l5-15p" + POWERPORTREQUESTTYPE_NEMA_L5_20P PowerPortRequestType = "nema-l5-20p" + POWERPORTREQUESTTYPE_NEMA_L5_30P PowerPortRequestType = "nema-l5-30p" + POWERPORTREQUESTTYPE_NEMA_L5_50P PowerPortRequestType = "nema-l5-50p" + POWERPORTREQUESTTYPE_NEMA_L6_15P PowerPortRequestType = "nema-l6-15p" + POWERPORTREQUESTTYPE_NEMA_L6_20P PowerPortRequestType = "nema-l6-20p" + POWERPORTREQUESTTYPE_NEMA_L6_30P PowerPortRequestType = "nema-l6-30p" + POWERPORTREQUESTTYPE_NEMA_L6_50P PowerPortRequestType = "nema-l6-50p" + POWERPORTREQUESTTYPE_NEMA_L10_30P PowerPortRequestType = "nema-l10-30p" + POWERPORTREQUESTTYPE_NEMA_L14_20P PowerPortRequestType = "nema-l14-20p" + POWERPORTREQUESTTYPE_NEMA_L14_30P PowerPortRequestType = "nema-l14-30p" + POWERPORTREQUESTTYPE_NEMA_L14_50P PowerPortRequestType = "nema-l14-50p" + POWERPORTREQUESTTYPE_NEMA_L14_60P PowerPortRequestType = "nema-l14-60p" + POWERPORTREQUESTTYPE_NEMA_L15_20P PowerPortRequestType = "nema-l15-20p" + POWERPORTREQUESTTYPE_NEMA_L15_30P PowerPortRequestType = "nema-l15-30p" + POWERPORTREQUESTTYPE_NEMA_L15_50P PowerPortRequestType = "nema-l15-50p" + POWERPORTREQUESTTYPE_NEMA_L15_60P PowerPortRequestType = "nema-l15-60p" + POWERPORTREQUESTTYPE_NEMA_L21_20P PowerPortRequestType = "nema-l21-20p" + POWERPORTREQUESTTYPE_NEMA_L21_30P PowerPortRequestType = "nema-l21-30p" + POWERPORTREQUESTTYPE_NEMA_L22_20P PowerPortRequestType = "nema-l22-20p" + POWERPORTREQUESTTYPE_NEMA_L22_30P PowerPortRequestType = "nema-l22-30p" + POWERPORTREQUESTTYPE_CS6361C PowerPortRequestType = "cs6361c" + POWERPORTREQUESTTYPE_CS6365C PowerPortRequestType = "cs6365c" + POWERPORTREQUESTTYPE_CS8165C PowerPortRequestType = "cs8165c" + POWERPORTREQUESTTYPE_CS8265C PowerPortRequestType = "cs8265c" + POWERPORTREQUESTTYPE_CS8365C PowerPortRequestType = "cs8365c" + POWERPORTREQUESTTYPE_CS8465C PowerPortRequestType = "cs8465c" + POWERPORTREQUESTTYPE_ITA_C PowerPortRequestType = "ita-c" + POWERPORTREQUESTTYPE_ITA_E PowerPortRequestType = "ita-e" + POWERPORTREQUESTTYPE_ITA_F PowerPortRequestType = "ita-f" + POWERPORTREQUESTTYPE_ITA_EF PowerPortRequestType = "ita-ef" + POWERPORTREQUESTTYPE_ITA_G PowerPortRequestType = "ita-g" + POWERPORTREQUESTTYPE_ITA_H PowerPortRequestType = "ita-h" + POWERPORTREQUESTTYPE_ITA_I PowerPortRequestType = "ita-i" + POWERPORTREQUESTTYPE_ITA_J PowerPortRequestType = "ita-j" + POWERPORTREQUESTTYPE_ITA_K PowerPortRequestType = "ita-k" + POWERPORTREQUESTTYPE_ITA_L PowerPortRequestType = "ita-l" + POWERPORTREQUESTTYPE_ITA_M PowerPortRequestType = "ita-m" + POWERPORTREQUESTTYPE_ITA_N PowerPortRequestType = "ita-n" + POWERPORTREQUESTTYPE_ITA_O PowerPortRequestType = "ita-o" + POWERPORTREQUESTTYPE_USB_A PowerPortRequestType = "usb-a" + POWERPORTREQUESTTYPE_USB_B PowerPortRequestType = "usb-b" + POWERPORTREQUESTTYPE_USB_C PowerPortRequestType = "usb-c" + POWERPORTREQUESTTYPE_USB_MINI_A PowerPortRequestType = "usb-mini-a" + POWERPORTREQUESTTYPE_USB_MINI_B PowerPortRequestType = "usb-mini-b" + POWERPORTREQUESTTYPE_USB_MICRO_A PowerPortRequestType = "usb-micro-a" + POWERPORTREQUESTTYPE_USB_MICRO_B PowerPortRequestType = "usb-micro-b" + POWERPORTREQUESTTYPE_USB_MICRO_AB PowerPortRequestType = "usb-micro-ab" + POWERPORTREQUESTTYPE_USB_3_B PowerPortRequestType = "usb-3-b" + POWERPORTREQUESTTYPE_USB_3_MICRO_B PowerPortRequestType = "usb-3-micro-b" + POWERPORTREQUESTTYPE_MOLEX_MICRO_FIT_1X2 PowerPortRequestType = "molex-micro-fit-1x2" + POWERPORTREQUESTTYPE_MOLEX_MICRO_FIT_2X2 PowerPortRequestType = "molex-micro-fit-2x2" + POWERPORTREQUESTTYPE_MOLEX_MICRO_FIT_2X4 PowerPortRequestType = "molex-micro-fit-2x4" + POWERPORTREQUESTTYPE_DC_TERMINAL PowerPortRequestType = "dc-terminal" + POWERPORTREQUESTTYPE_SAF_D_GRID PowerPortRequestType = "saf-d-grid" + POWERPORTREQUESTTYPE_NEUTRIK_POWERCON_20 PowerPortRequestType = "neutrik-powercon-20" + POWERPORTREQUESTTYPE_NEUTRIK_POWERCON_32 PowerPortRequestType = "neutrik-powercon-32" + POWERPORTREQUESTTYPE_NEUTRIK_POWERCON_TRUE1 PowerPortRequestType = "neutrik-powercon-true1" + POWERPORTREQUESTTYPE_NEUTRIK_POWERCON_TRUE1_TOP PowerPortRequestType = "neutrik-powercon-true1-top" + POWERPORTREQUESTTYPE_UBIQUITI_SMARTPOWER PowerPortRequestType = "ubiquiti-smartpower" + POWERPORTREQUESTTYPE_HARDWIRED PowerPortRequestType = "hardwired" + POWERPORTREQUESTTYPE_OTHER PowerPortRequestType = "other" + POWERPORTREQUESTTYPE_EMPTY PowerPortRequestType = "" +) + +// All allowed values of PowerPortRequestType enum +var AllowedPowerPortRequestTypeEnumValues = []PowerPortRequestType{ + "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-20p", + "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", + "molex-micro-fit-1x2", + "molex-micro-fit-2x2", + "molex-micro-fit-2x4", + "dc-terminal", + "saf-d-grid", + "neutrik-powercon-20", + "neutrik-powercon-32", + "neutrik-powercon-true1", + "neutrik-powercon-true1-top", + "ubiquiti-smartpower", + "hardwired", + "other", + "", +} + +func (v *PowerPortRequestType) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := PowerPortRequestType(value) + for _, existing := range AllowedPowerPortRequestTypeEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid PowerPortRequestType", value) +} + +// NewPowerPortRequestTypeFromValue returns a pointer to a valid PowerPortRequestType +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewPowerPortRequestTypeFromValue(v string) (*PowerPortRequestType, error) { + ev := PowerPortRequestType(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for PowerPortRequestType: valid values are %v", v, AllowedPowerPortRequestTypeEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v PowerPortRequestType) IsValid() bool { + for _, existing := range AllowedPowerPortRequestTypeEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to PowerPortRequest_type value +func (v PowerPortRequestType) Ptr() *PowerPortRequestType { + return &v +} + +type NullablePowerPortRequestType struct { + value *PowerPortRequestType + isSet bool +} + +func (v NullablePowerPortRequestType) Get() *PowerPortRequestType { + return v.value +} + +func (v *NullablePowerPortRequestType) Set(val *PowerPortRequestType) { + v.value = val + v.isSet = true +} + +func (v NullablePowerPortRequestType) IsSet() bool { + return v.isSet +} + +func (v *NullablePowerPortRequestType) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePowerPortRequestType(val *PowerPortRequestType) *NullablePowerPortRequestType { + return &NullablePowerPortRequestType{value: val, isSet: true} +} + +func (v NullablePowerPortRequestType) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePowerPortRequestType) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_power_port_template.go b/model_power_port_template.go index 2178d92e0..0bce962e1 100644 --- a/model_power_port_template.go +++ b/model_power_port_template.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -13,6 +13,7 @@ package netbox import ( "encoding/json" "fmt" + "time" ) // checks if the PowerPortTemplate type satisfies the MappedNullable interface at compile time @@ -20,12 +21,23 @@ var _ MappedNullable = &PowerPortTemplate{} // PowerPortTemplate Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 PowerPortTemplate struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + DeviceType NullableBriefDeviceType `json:"device_type,omitempty"` + ModuleType NullableBriefModuleType `json:"module_type,omitempty"` // {module} is accepted as a substitution for the module bay position when attached to a module type. - Name string `json:"name"` - Description *string `json:"description,omitempty"` + Name string `json:"name"` + // Physical label + Label *string `json:"label,omitempty"` + Type NullablePowerPortType `json:"type,omitempty"` + // Maximum power draw (watts) + MaximumDraw NullableInt32 `json:"maximum_draw,omitempty"` + // Allocated power draw (watts) + AllocatedDraw NullableInt32 `json:"allocated_draw,omitempty"` + Description *string `json:"description,omitempty"` + Created NullableTime `json:"created"` + LastUpdated NullableTime `json:"last_updated"` AdditionalProperties map[string]interface{} } @@ -35,12 +47,14 @@ 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 int32, url string, display string, name string) *PowerPortTemplate { +func NewPowerPortTemplate(id int32, url string, display string, name string, created NullableTime, lastUpdated NullableTime) *PowerPortTemplate { this := PowerPortTemplate{} this.Id = id this.Url = url this.Display = display this.Name = name + this.Created = created + this.LastUpdated = lastUpdated return &this } @@ -124,6 +138,92 @@ func (o *PowerPortTemplate) SetDisplay(v string) { o.Display = 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() BriefDeviceType { + if o == nil || IsNil(o.DeviceType.Get()) { + var ret BriefDeviceType + return ret + } + return *o.DeviceType.Get() +} + +// GetDeviceTypeOk returns a tuple with the DeviceType 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 *PowerPortTemplate) GetDeviceTypeOk() (*BriefDeviceType, bool) { + if o == nil { + return nil, false + } + return o.DeviceType.Get(), o.DeviceType.IsSet() +} + +// HasDeviceType returns a boolean if a field has been set. +func (o *PowerPortTemplate) HasDeviceType() bool { + if o != nil && o.DeviceType.IsSet() { + return true + } + + return false +} + +// SetDeviceType gets a reference to the given NullableBriefDeviceType and assigns it to the DeviceType field. +func (o *PowerPortTemplate) SetDeviceType(v BriefDeviceType) { + o.DeviceType.Set(&v) +} + +// SetDeviceTypeNil sets the value for DeviceType to be an explicit nil +func (o *PowerPortTemplate) SetDeviceTypeNil() { + o.DeviceType.Set(nil) +} + +// UnsetDeviceType ensures that no value is present for DeviceType, not even an explicit nil +func (o *PowerPortTemplate) UnsetDeviceType() { + o.DeviceType.Unset() +} + +// GetModuleType returns the ModuleType field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PowerPortTemplate) GetModuleType() BriefModuleType { + if o == nil || IsNil(o.ModuleType.Get()) { + var ret BriefModuleType + return ret + } + return *o.ModuleType.Get() +} + +// GetModuleTypeOk returns a tuple with the ModuleType 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 *PowerPortTemplate) GetModuleTypeOk() (*BriefModuleType, bool) { + if o == nil { + return nil, false + } + return o.ModuleType.Get(), o.ModuleType.IsSet() +} + +// HasModuleType returns a boolean if a field has been set. +func (o *PowerPortTemplate) HasModuleType() bool { + if o != nil && o.ModuleType.IsSet() { + return true + } + + return false +} + +// SetModuleType gets a reference to the given NullableBriefModuleType and assigns it to the ModuleType field. +func (o *PowerPortTemplate) SetModuleType(v BriefModuleType) { + o.ModuleType.Set(&v) +} + +// SetModuleTypeNil sets the value for ModuleType to be an explicit nil +func (o *PowerPortTemplate) SetModuleTypeNil() { + o.ModuleType.Set(nil) +} + +// UnsetModuleType ensures that no value is present for ModuleType, not even an explicit nil +func (o *PowerPortTemplate) UnsetModuleType() { + o.ModuleType.Unset() +} + // GetName returns the Name field value func (o *PowerPortTemplate) GetName() string { if o == nil { @@ -148,6 +248,167 @@ func (o *PowerPortTemplate) SetName(v string) { o.Name = v } +// GetLabel returns the Label field value if set, zero value otherwise. +func (o *PowerPortTemplate) GetLabel() string { + if o == nil || IsNil(o.Label) { + var ret string + 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 *PowerPortTemplate) GetLabelOk() (*string, 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 *PowerPortTemplate) HasLabel() bool { + if o != nil && !IsNil(o.Label) { + return true + } + + return false +} + +// SetLabel gets a reference to the given string and assigns it to the Label field. +func (o *PowerPortTemplate) SetLabel(v string) { + o.Label = &v +} + +// GetType returns the Type field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PowerPortTemplate) GetType() PowerPortType { + if o == nil || IsNil(o.Type.Get()) { + var ret PowerPortType + return ret + } + return *o.Type.Get() +} + +// GetTypeOk returns a tuple with the Type 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 *PowerPortTemplate) GetTypeOk() (*PowerPortType, bool) { + if o == nil { + return nil, false + } + return o.Type.Get(), o.Type.IsSet() +} + +// HasType returns a boolean if a field has been set. +func (o *PowerPortTemplate) HasType() bool { + if o != nil && o.Type.IsSet() { + return true + } + + return false +} + +// SetType gets a reference to the given NullablePowerPortType and assigns it to the Type field. +func (o *PowerPortTemplate) SetType(v PowerPortType) { + o.Type.Set(&v) +} + +// SetTypeNil sets the value for Type to be an explicit nil +func (o *PowerPortTemplate) SetTypeNil() { + o.Type.Set(nil) +} + +// UnsetType ensures that no value is present for Type, not even an explicit nil +func (o *PowerPortTemplate) UnsetType() { + o.Type.Unset() +} + +// GetMaximumDraw returns the MaximumDraw field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PowerPortTemplate) GetMaximumDraw() int32 { + if o == nil || IsNil(o.MaximumDraw.Get()) { + var ret int32 + return ret + } + return *o.MaximumDraw.Get() +} + +// GetMaximumDrawOk returns a tuple with the MaximumDraw 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 *PowerPortTemplate) GetMaximumDrawOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.MaximumDraw.Get(), o.MaximumDraw.IsSet() +} + +// HasMaximumDraw returns a boolean if a field has been set. +func (o *PowerPortTemplate) HasMaximumDraw() bool { + if o != nil && o.MaximumDraw.IsSet() { + return true + } + + return false +} + +// SetMaximumDraw gets a reference to the given NullableInt32 and assigns it to the MaximumDraw field. +func (o *PowerPortTemplate) SetMaximumDraw(v int32) { + o.MaximumDraw.Set(&v) +} + +// SetMaximumDrawNil sets the value for MaximumDraw to be an explicit nil +func (o *PowerPortTemplate) SetMaximumDrawNil() { + o.MaximumDraw.Set(nil) +} + +// UnsetMaximumDraw ensures that no value is present for MaximumDraw, not even an explicit nil +func (o *PowerPortTemplate) UnsetMaximumDraw() { + o.MaximumDraw.Unset() +} + +// GetAllocatedDraw returns the AllocatedDraw field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PowerPortTemplate) GetAllocatedDraw() int32 { + if o == nil || IsNil(o.AllocatedDraw.Get()) { + var ret int32 + return ret + } + return *o.AllocatedDraw.Get() +} + +// GetAllocatedDrawOk returns a tuple with the AllocatedDraw 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 *PowerPortTemplate) GetAllocatedDrawOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.AllocatedDraw.Get(), o.AllocatedDraw.IsSet() +} + +// HasAllocatedDraw returns a boolean if a field has been set. +func (o *PowerPortTemplate) HasAllocatedDraw() bool { + if o != nil && o.AllocatedDraw.IsSet() { + return true + } + + return false +} + +// SetAllocatedDraw gets a reference to the given NullableInt32 and assigns it to the AllocatedDraw field. +func (o *PowerPortTemplate) SetAllocatedDraw(v int32) { + o.AllocatedDraw.Set(&v) +} + +// SetAllocatedDrawNil sets the value for AllocatedDraw to be an explicit nil +func (o *PowerPortTemplate) SetAllocatedDrawNil() { + o.AllocatedDraw.Set(nil) +} + +// UnsetAllocatedDraw ensures that no value is present for AllocatedDraw, not even an explicit nil +func (o *PowerPortTemplate) UnsetAllocatedDraw() { + o.AllocatedDraw.Unset() +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *PowerPortTemplate) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -180,6 +441,58 @@ func (o *PowerPortTemplate) 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 *PowerPortTemplate) 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 *PowerPortTemplate) GetCreatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.Created.Get(), o.Created.IsSet() +} + +// SetCreated sets field value +func (o *PowerPortTemplate) 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 *PowerPortTemplate) 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 *PowerPortTemplate) GetLastUpdatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LastUpdated.Get(), o.LastUpdated.IsSet() +} + +// SetLastUpdated sets field value +func (o *PowerPortTemplate) SetLastUpdated(v time.Time) { + o.LastUpdated.Set(&v) +} + func (o PowerPortTemplate) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -193,10 +506,30 @@ func (o PowerPortTemplate) ToMap() (map[string]interface{}, error) { toSerialize["id"] = o.Id toSerialize["url"] = o.Url toSerialize["display"] = o.Display + if o.DeviceType.IsSet() { + toSerialize["device_type"] = o.DeviceType.Get() + } + if o.ModuleType.IsSet() { + toSerialize["module_type"] = o.ModuleType.Get() + } toSerialize["name"] = o.Name + if !IsNil(o.Label) { + toSerialize["label"] = o.Label + } + if o.Type.IsSet() { + toSerialize["type"] = o.Type.Get() + } + if o.MaximumDraw.IsSet() { + toSerialize["maximum_draw"] = o.MaximumDraw.Get() + } + if o.AllocatedDraw.IsSet() { + toSerialize["allocated_draw"] = o.AllocatedDraw.Get() + } if !IsNil(o.Description) { toSerialize["description"] = o.Description } + toSerialize["created"] = o.Created.Get() + toSerialize["last_updated"] = o.LastUpdated.Get() for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -214,6 +547,8 @@ func (o *PowerPortTemplate) UnmarshalJSON(data []byte) (err error) { "url", "display", "name", + "created", + "last_updated", } allProperties := make(map[string]interface{}) @@ -246,8 +581,16 @@ func (o *PowerPortTemplate) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "id") delete(additionalProperties, "url") delete(additionalProperties, "display") + delete(additionalProperties, "device_type") + delete(additionalProperties, "module_type") delete(additionalProperties, "name") + delete(additionalProperties, "label") + delete(additionalProperties, "type") + delete(additionalProperties, "maximum_draw") + delete(additionalProperties, "allocated_draw") delete(additionalProperties, "description") + delete(additionalProperties, "created") + delete(additionalProperties, "last_updated") o.AdditionalProperties = additionalProperties } diff --git a/model_power_port_template_request.go b/model_power_port_template_request.go index 4f2826e7f..0bcf9fa42 100644 --- a/model_power_port_template_request.go +++ b/model_power_port_template_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,9 +20,18 @@ var _ MappedNullable = &PowerPortTemplateRequest{} // PowerPortTemplateRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 PowerPortTemplateRequest struct { + DeviceType NullableBriefDeviceTypeRequest `json:"device_type,omitempty"` + ModuleType NullableBriefModuleTypeRequest `json:"module_type,omitempty"` // {module} is accepted as a substitution for the module bay position when attached to a module type. - Name string `json:"name"` - Description *string `json:"description,omitempty"` + Name string `json:"name"` + // Physical label + Label *string `json:"label,omitempty"` + Type NullablePowerPortRequestType `json:"type,omitempty"` + // Maximum power draw (watts) + MaximumDraw NullableInt32 `json:"maximum_draw,omitempty"` + // Allocated power draw (watts) + AllocatedDraw NullableInt32 `json:"allocated_draw,omitempty"` + Description *string `json:"description,omitempty"` AdditionalProperties map[string]interface{} } @@ -46,6 +55,92 @@ func NewPowerPortTemplateRequestWithDefaults() *PowerPortTemplateRequest { return &this } +// GetDeviceType returns the DeviceType field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PowerPortTemplateRequest) GetDeviceType() BriefDeviceTypeRequest { + if o == nil || IsNil(o.DeviceType.Get()) { + var ret BriefDeviceTypeRequest + return ret + } + return *o.DeviceType.Get() +} + +// GetDeviceTypeOk returns a tuple with the DeviceType 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 *PowerPortTemplateRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool) { + if o == nil { + return nil, false + } + return o.DeviceType.Get(), o.DeviceType.IsSet() +} + +// HasDeviceType returns a boolean if a field has been set. +func (o *PowerPortTemplateRequest) HasDeviceType() bool { + if o != nil && o.DeviceType.IsSet() { + return true + } + + return false +} + +// SetDeviceType gets a reference to the given NullableBriefDeviceTypeRequest and assigns it to the DeviceType field. +func (o *PowerPortTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest) { + o.DeviceType.Set(&v) +} + +// SetDeviceTypeNil sets the value for DeviceType to be an explicit nil +func (o *PowerPortTemplateRequest) SetDeviceTypeNil() { + o.DeviceType.Set(nil) +} + +// UnsetDeviceType ensures that no value is present for DeviceType, not even an explicit nil +func (o *PowerPortTemplateRequest) UnsetDeviceType() { + o.DeviceType.Unset() +} + +// GetModuleType returns the ModuleType field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PowerPortTemplateRequest) GetModuleType() BriefModuleTypeRequest { + if o == nil || IsNil(o.ModuleType.Get()) { + var ret BriefModuleTypeRequest + return ret + } + return *o.ModuleType.Get() +} + +// GetModuleTypeOk returns a tuple with the ModuleType 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 *PowerPortTemplateRequest) GetModuleTypeOk() (*BriefModuleTypeRequest, bool) { + if o == nil { + return nil, false + } + return o.ModuleType.Get(), o.ModuleType.IsSet() +} + +// HasModuleType returns a boolean if a field has been set. +func (o *PowerPortTemplateRequest) HasModuleType() bool { + if o != nil && o.ModuleType.IsSet() { + return true + } + + return false +} + +// SetModuleType gets a reference to the given NullableBriefModuleTypeRequest and assigns it to the ModuleType field. +func (o *PowerPortTemplateRequest) SetModuleType(v BriefModuleTypeRequest) { + o.ModuleType.Set(&v) +} + +// SetModuleTypeNil sets the value for ModuleType to be an explicit nil +func (o *PowerPortTemplateRequest) SetModuleTypeNil() { + o.ModuleType.Set(nil) +} + +// UnsetModuleType ensures that no value is present for ModuleType, not even an explicit nil +func (o *PowerPortTemplateRequest) UnsetModuleType() { + o.ModuleType.Unset() +} + // GetName returns the Name field value func (o *PowerPortTemplateRequest) GetName() string { if o == nil { @@ -70,6 +165,167 @@ func (o *PowerPortTemplateRequest) SetName(v string) { o.Name = v } +// GetLabel returns the Label field value if set, zero value otherwise. +func (o *PowerPortTemplateRequest) GetLabel() string { + if o == nil || IsNil(o.Label) { + var ret string + 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 *PowerPortTemplateRequest) GetLabelOk() (*string, 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 *PowerPortTemplateRequest) HasLabel() bool { + if o != nil && !IsNil(o.Label) { + return true + } + + return false +} + +// SetLabel gets a reference to the given string and assigns it to the Label field. +func (o *PowerPortTemplateRequest) SetLabel(v string) { + o.Label = &v +} + +// GetType returns the Type field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PowerPortTemplateRequest) GetType() PowerPortRequestType { + if o == nil || IsNil(o.Type.Get()) { + var ret PowerPortRequestType + return ret + } + return *o.Type.Get() +} + +// GetTypeOk returns a tuple with the Type 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 *PowerPortTemplateRequest) GetTypeOk() (*PowerPortRequestType, bool) { + if o == nil { + return nil, false + } + return o.Type.Get(), o.Type.IsSet() +} + +// HasType returns a boolean if a field has been set. +func (o *PowerPortTemplateRequest) HasType() bool { + if o != nil && o.Type.IsSet() { + return true + } + + return false +} + +// SetType gets a reference to the given NullablePowerPortRequestType and assigns it to the Type field. +func (o *PowerPortTemplateRequest) SetType(v PowerPortRequestType) { + o.Type.Set(&v) +} + +// SetTypeNil sets the value for Type to be an explicit nil +func (o *PowerPortTemplateRequest) SetTypeNil() { + o.Type.Set(nil) +} + +// UnsetType ensures that no value is present for Type, not even an explicit nil +func (o *PowerPortTemplateRequest) UnsetType() { + o.Type.Unset() +} + +// GetMaximumDraw returns the MaximumDraw field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PowerPortTemplateRequest) GetMaximumDraw() int32 { + if o == nil || IsNil(o.MaximumDraw.Get()) { + var ret int32 + return ret + } + return *o.MaximumDraw.Get() +} + +// GetMaximumDrawOk returns a tuple with the MaximumDraw 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 *PowerPortTemplateRequest) GetMaximumDrawOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.MaximumDraw.Get(), o.MaximumDraw.IsSet() +} + +// HasMaximumDraw returns a boolean if a field has been set. +func (o *PowerPortTemplateRequest) HasMaximumDraw() bool { + if o != nil && o.MaximumDraw.IsSet() { + return true + } + + return false +} + +// SetMaximumDraw gets a reference to the given NullableInt32 and assigns it to the MaximumDraw field. +func (o *PowerPortTemplateRequest) SetMaximumDraw(v int32) { + o.MaximumDraw.Set(&v) +} + +// SetMaximumDrawNil sets the value for MaximumDraw to be an explicit nil +func (o *PowerPortTemplateRequest) SetMaximumDrawNil() { + o.MaximumDraw.Set(nil) +} + +// UnsetMaximumDraw ensures that no value is present for MaximumDraw, not even an explicit nil +func (o *PowerPortTemplateRequest) UnsetMaximumDraw() { + o.MaximumDraw.Unset() +} + +// GetAllocatedDraw returns the AllocatedDraw field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PowerPortTemplateRequest) GetAllocatedDraw() int32 { + if o == nil || IsNil(o.AllocatedDraw.Get()) { + var ret int32 + return ret + } + return *o.AllocatedDraw.Get() +} + +// GetAllocatedDrawOk returns a tuple with the AllocatedDraw 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 *PowerPortTemplateRequest) GetAllocatedDrawOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.AllocatedDraw.Get(), o.AllocatedDraw.IsSet() +} + +// HasAllocatedDraw returns a boolean if a field has been set. +func (o *PowerPortTemplateRequest) HasAllocatedDraw() bool { + if o != nil && o.AllocatedDraw.IsSet() { + return true + } + + return false +} + +// SetAllocatedDraw gets a reference to the given NullableInt32 and assigns it to the AllocatedDraw field. +func (o *PowerPortTemplateRequest) SetAllocatedDraw(v int32) { + o.AllocatedDraw.Set(&v) +} + +// SetAllocatedDrawNil sets the value for AllocatedDraw to be an explicit nil +func (o *PowerPortTemplateRequest) SetAllocatedDrawNil() { + o.AllocatedDraw.Set(nil) +} + +// UnsetAllocatedDraw ensures that no value is present for AllocatedDraw, not even an explicit nil +func (o *PowerPortTemplateRequest) UnsetAllocatedDraw() { + o.AllocatedDraw.Unset() +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *PowerPortTemplateRequest) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -112,7 +368,25 @@ func (o PowerPortTemplateRequest) MarshalJSON() ([]byte, error) { func (o PowerPortTemplateRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if o.DeviceType.IsSet() { + toSerialize["device_type"] = o.DeviceType.Get() + } + if o.ModuleType.IsSet() { + toSerialize["module_type"] = o.ModuleType.Get() + } toSerialize["name"] = o.Name + if !IsNil(o.Label) { + toSerialize["label"] = o.Label + } + if o.Type.IsSet() { + toSerialize["type"] = o.Type.Get() + } + if o.MaximumDraw.IsSet() { + toSerialize["maximum_draw"] = o.MaximumDraw.Get() + } + if o.AllocatedDraw.IsSet() { + toSerialize["allocated_draw"] = o.AllocatedDraw.Get() + } if !IsNil(o.Description) { toSerialize["description"] = o.Description } @@ -159,7 +433,13 @@ func (o *PowerPortTemplateRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "device_type") + delete(additionalProperties, "module_type") delete(additionalProperties, "name") + delete(additionalProperties, "label") + delete(additionalProperties, "type") + delete(additionalProperties, "maximum_draw") + delete(additionalProperties, "allocated_draw") delete(additionalProperties, "description") o.AdditionalProperties = additionalProperties } diff --git a/model_power_port_type.go b/model_power_port_type.go new file mode 100644 index 000000000..123efeeaa --- /dev/null +++ b/model_power_port_type.go @@ -0,0 +1,190 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" +) + +// checks if the PowerPortType type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PowerPortType{} + +// PowerPortType struct for PowerPortType +type PowerPortType struct { + Value *PatchedWritablePowerPortTemplateRequestType `json:"value,omitempty"` + Label *PowerPortTypeLabel `json:"label,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _PowerPortType PowerPortType + +// NewPowerPortType instantiates a new PowerPortType object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewPowerPortType() *PowerPortType { + this := PowerPortType{} + return &this +} + +// NewPowerPortTypeWithDefaults instantiates a new PowerPortType object +// This 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 NewPowerPortTypeWithDefaults() *PowerPortType { + this := PowerPortType{} + return &this +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *PowerPortType) GetValue() PatchedWritablePowerPortTemplateRequestType { + if o == nil || IsNil(o.Value) { + var ret PatchedWritablePowerPortTemplateRequestType + 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 *PowerPortType) GetValueOk() (*PatchedWritablePowerPortTemplateRequestType, 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 *PowerPortType) HasValue() bool { + if o != nil && !IsNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given PatchedWritablePowerPortTemplateRequestType and assigns it to the Value field. +func (o *PowerPortType) SetValue(v PatchedWritablePowerPortTemplateRequestType) { + o.Value = &v +} + +// GetLabel returns the Label field value if set, zero value otherwise. +func (o *PowerPortType) GetLabel() PowerPortTypeLabel { + if o == nil || IsNil(o.Label) { + var ret PowerPortTypeLabel + 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 *PowerPortType) GetLabelOk() (*PowerPortTypeLabel, 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 *PowerPortType) HasLabel() bool { + if o != nil && !IsNil(o.Label) { + return true + } + + return false +} + +// SetLabel gets a reference to the given PowerPortTypeLabel and assigns it to the Label field. +func (o *PowerPortType) SetLabel(v PowerPortTypeLabel) { + o.Label = &v +} + +func (o PowerPortType) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PowerPortType) 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 *PowerPortType) UnmarshalJSON(data []byte) (err error) { + varPowerPortType := _PowerPortType{} + + err = json.Unmarshal(data, &varPowerPortType) + + if err != nil { + return err + } + + *o = PowerPortType(varPowerPortType) + + 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 NullablePowerPortType struct { + value *PowerPortType + isSet bool +} + +func (v NullablePowerPortType) Get() *PowerPortType { + return v.value +} + +func (v *NullablePowerPortType) Set(val *PowerPortType) { + v.value = val + v.isSet = true +} + +func (v NullablePowerPortType) IsSet() bool { + return v.isSet +} + +func (v *NullablePowerPortType) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePowerPortType(val *PowerPortType) *NullablePowerPortType { + return &NullablePowerPortType{value: val, isSet: true} +} + +func (v NullablePowerPortType) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePowerPortType) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_power_port_type_label.go b/model_power_port_type_label.go new file mode 100644 index 000000000..d6c9dd832 --- /dev/null +++ b/model_power_port_type_label.go @@ -0,0 +1,314 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// PowerPortTypeLabel the model 'PowerPortTypeLabel' +type PowerPortTypeLabel string + +// List of PowerPort_type_label +const ( + POWERPORTTYPELABEL_C6 PowerPortTypeLabel = "C6" + POWERPORTTYPELABEL_C8 PowerPortTypeLabel = "C8" + POWERPORTTYPELABEL_C14 PowerPortTypeLabel = "C14" + POWERPORTTYPELABEL_C16 PowerPortTypeLabel = "C16" + POWERPORTTYPELABEL_C20 PowerPortTypeLabel = "C20" + POWERPORTTYPELABEL_C22 PowerPortTypeLabel = "C22" + POWERPORTTYPELABEL_PNE_4_H PowerPortTypeLabel = "P+N+E 4H" + POWERPORTTYPELABEL_PNE_6_H PowerPortTypeLabel = "P+N+E 6H" + POWERPORTTYPELABEL_PNE_9_H PowerPortTypeLabel = "P+N+E 9H" + POWERPORTTYPELABEL__2_PE_4_H PowerPortTypeLabel = "2P+E 4H" + POWERPORTTYPELABEL__2_PE_6_H PowerPortTypeLabel = "2P+E 6H" + POWERPORTTYPELABEL__2_PE_9_H PowerPortTypeLabel = "2P+E 9H" + POWERPORTTYPELABEL__3_PE_4_H PowerPortTypeLabel = "3P+E 4H" + POWERPORTTYPELABEL__3_PE_6_H PowerPortTypeLabel = "3P+E 6H" + POWERPORTTYPELABEL__3_PE_9_H PowerPortTypeLabel = "3P+E 9H" + POWERPORTTYPELABEL__3_PNE_4_H PowerPortTypeLabel = "3P+N+E 4H" + POWERPORTTYPELABEL__3_PNE_6_H PowerPortTypeLabel = "3P+N+E 6H" + POWERPORTTYPELABEL__3_PNE_9_H PowerPortTypeLabel = "3P+N+E 9H" + POWERPORTTYPELABEL_IEC_60906_1 PowerPortTypeLabel = "IEC 60906-1" + POWERPORTTYPELABEL__2_PT_10_A__NBR_14136 PowerPortTypeLabel = "2P+T 10A (NBR 14136)" + POWERPORTTYPELABEL__2_PT_20_A__NBR_14136 PowerPortTypeLabel = "2P+T 20A (NBR 14136)" + POWERPORTTYPELABEL_NEMA_1_15_P PowerPortTypeLabel = "NEMA 1-15P" + POWERPORTTYPELABEL_NEMA_5_15_P PowerPortTypeLabel = "NEMA 5-15P" + POWERPORTTYPELABEL_NEMA_5_20_P PowerPortTypeLabel = "NEMA 5-20P" + POWERPORTTYPELABEL_NEMA_5_30_P PowerPortTypeLabel = "NEMA 5-30P" + POWERPORTTYPELABEL_NEMA_5_50_P PowerPortTypeLabel = "NEMA 5-50P" + POWERPORTTYPELABEL_NEMA_6_15_P PowerPortTypeLabel = "NEMA 6-15P" + POWERPORTTYPELABEL_NEMA_6_20_P PowerPortTypeLabel = "NEMA 6-20P" + POWERPORTTYPELABEL_NEMA_6_30_P PowerPortTypeLabel = "NEMA 6-30P" + POWERPORTTYPELABEL_NEMA_6_50_P PowerPortTypeLabel = "NEMA 6-50P" + POWERPORTTYPELABEL_NEMA_10_30_P PowerPortTypeLabel = "NEMA 10-30P" + POWERPORTTYPELABEL_NEMA_10_50_P PowerPortTypeLabel = "NEMA 10-50P" + POWERPORTTYPELABEL_NEMA_14_20_P PowerPortTypeLabel = "NEMA 14-20P" + POWERPORTTYPELABEL_NEMA_14_30_P PowerPortTypeLabel = "NEMA 14-30P" + POWERPORTTYPELABEL_NEMA_14_50_P PowerPortTypeLabel = "NEMA 14-50P" + POWERPORTTYPELABEL_NEMA_14_60_P PowerPortTypeLabel = "NEMA 14-60P" + POWERPORTTYPELABEL_NEMA_15_15_P PowerPortTypeLabel = "NEMA 15-15P" + POWERPORTTYPELABEL_NEMA_15_20_P PowerPortTypeLabel = "NEMA 15-20P" + POWERPORTTYPELABEL_NEMA_15_30_P PowerPortTypeLabel = "NEMA 15-30P" + POWERPORTTYPELABEL_NEMA_15_50_P PowerPortTypeLabel = "NEMA 15-50P" + POWERPORTTYPELABEL_NEMA_15_60_P PowerPortTypeLabel = "NEMA 15-60P" + POWERPORTTYPELABEL_NEMA_L1_15_P PowerPortTypeLabel = "NEMA L1-15P" + POWERPORTTYPELABEL_NEMA_L5_15_P PowerPortTypeLabel = "NEMA L5-15P" + POWERPORTTYPELABEL_NEMA_L5_20_P PowerPortTypeLabel = "NEMA L5-20P" + POWERPORTTYPELABEL_NEMA_L5_30_P PowerPortTypeLabel = "NEMA L5-30P" + POWERPORTTYPELABEL_NEMA_L5_50_P PowerPortTypeLabel = "NEMA L5-50P" + POWERPORTTYPELABEL_NEMA_L6_15_P PowerPortTypeLabel = "NEMA L6-15P" + POWERPORTTYPELABEL_NEMA_L6_20_P PowerPortTypeLabel = "NEMA L6-20P" + POWERPORTTYPELABEL_NEMA_L6_30_P PowerPortTypeLabel = "NEMA L6-30P" + POWERPORTTYPELABEL_NEMA_L6_50_P PowerPortTypeLabel = "NEMA L6-50P" + POWERPORTTYPELABEL_NEMA_L10_30_P PowerPortTypeLabel = "NEMA L10-30P" + POWERPORTTYPELABEL_NEMA_L14_20_P PowerPortTypeLabel = "NEMA L14-20P" + POWERPORTTYPELABEL_NEMA_L14_30_P PowerPortTypeLabel = "NEMA L14-30P" + POWERPORTTYPELABEL_NEMA_L14_50_P PowerPortTypeLabel = "NEMA L14-50P" + POWERPORTTYPELABEL_NEMA_L14_60_P PowerPortTypeLabel = "NEMA L14-60P" + POWERPORTTYPELABEL_NEMA_L15_20_P PowerPortTypeLabel = "NEMA L15-20P" + POWERPORTTYPELABEL_NEMA_L15_30_P PowerPortTypeLabel = "NEMA L15-30P" + POWERPORTTYPELABEL_NEMA_L15_50_P PowerPortTypeLabel = "NEMA L15-50P" + POWERPORTTYPELABEL_NEMA_L15_60_P PowerPortTypeLabel = "NEMA L15-60P" + POWERPORTTYPELABEL_NEMA_L21_20_P PowerPortTypeLabel = "NEMA L21-20P" + POWERPORTTYPELABEL_NEMA_L21_30_P PowerPortTypeLabel = "NEMA L21-30P" + POWERPORTTYPELABEL_NEMA_L22_20_P PowerPortTypeLabel = "NEMA L22-20P" + POWERPORTTYPELABEL_NEMA_L22_30_P PowerPortTypeLabel = "NEMA L22-30P" + POWERPORTTYPELABEL_CS6361_C PowerPortTypeLabel = "CS6361C" + POWERPORTTYPELABEL_CS6365_C PowerPortTypeLabel = "CS6365C" + POWERPORTTYPELABEL_CS8165_C PowerPortTypeLabel = "CS8165C" + POWERPORTTYPELABEL_CS8265_C PowerPortTypeLabel = "CS8265C" + POWERPORTTYPELABEL_CS8365_C PowerPortTypeLabel = "CS8365C" + POWERPORTTYPELABEL_CS8465_C PowerPortTypeLabel = "CS8465C" + POWERPORTTYPELABEL_ITA_TYPE_C__CEE_7_16 PowerPortTypeLabel = "ITA Type C (CEE 7/16)" + POWERPORTTYPELABEL_ITA_TYPE_E__CEE_7_6 PowerPortTypeLabel = "ITA Type E (CEE 7/6)" + POWERPORTTYPELABEL_ITA_TYPE_F__CEE_7_4 PowerPortTypeLabel = "ITA Type F (CEE 7/4)" + POWERPORTTYPELABEL_ITA_TYPE_E_F__CEE_7_7 PowerPortTypeLabel = "ITA Type E/F (CEE 7/7)" + POWERPORTTYPELABEL_ITA_TYPE_G__BS_1363 PowerPortTypeLabel = "ITA Type G (BS 1363)" + POWERPORTTYPELABEL_ITA_TYPE_H PowerPortTypeLabel = "ITA Type H" + POWERPORTTYPELABEL_ITA_TYPE_I PowerPortTypeLabel = "ITA Type I" + POWERPORTTYPELABEL_ITA_TYPE_J PowerPortTypeLabel = "ITA Type J" + POWERPORTTYPELABEL_ITA_TYPE_K PowerPortTypeLabel = "ITA Type K" + POWERPORTTYPELABEL_ITA_TYPE_L__CEI_23_50 PowerPortTypeLabel = "ITA Type L (CEI 23-50)" + POWERPORTTYPELABEL_ITA_TYPE_M__BS_546 PowerPortTypeLabel = "ITA Type M (BS 546)" + POWERPORTTYPELABEL_ITA_TYPE_N PowerPortTypeLabel = "ITA Type N" + POWERPORTTYPELABEL_ITA_TYPE_O PowerPortTypeLabel = "ITA Type O" + POWERPORTTYPELABEL_USB_TYPE_A PowerPortTypeLabel = "USB Type A" + POWERPORTTYPELABEL_USB_TYPE_B PowerPortTypeLabel = "USB Type B" + POWERPORTTYPELABEL_USB_TYPE_C PowerPortTypeLabel = "USB Type C" + POWERPORTTYPELABEL_USB_MINI_A PowerPortTypeLabel = "USB Mini A" + POWERPORTTYPELABEL_USB_MINI_B PowerPortTypeLabel = "USB Mini B" + POWERPORTTYPELABEL_USB_MICRO_A PowerPortTypeLabel = "USB Micro A" + POWERPORTTYPELABEL_USB_MICRO_B PowerPortTypeLabel = "USB Micro B" + POWERPORTTYPELABEL_USB_MICRO_AB PowerPortTypeLabel = "USB Micro AB" + POWERPORTTYPELABEL_USB_3_0_TYPE_B PowerPortTypeLabel = "USB 3.0 Type B" + POWERPORTTYPELABEL_USB_3_0_MICRO_B PowerPortTypeLabel = "USB 3.0 Micro B" + POWERPORTTYPELABEL_MOLEX_MICRO_FIT_1X2 PowerPortTypeLabel = "Molex Micro-Fit 1x2" + POWERPORTTYPELABEL_MOLEX_MICRO_FIT_2X2 PowerPortTypeLabel = "Molex Micro-Fit 2x2" + POWERPORTTYPELABEL_MOLEX_MICRO_FIT_2X4 PowerPortTypeLabel = "Molex Micro-Fit 2x4" + POWERPORTTYPELABEL_DC_TERMINAL PowerPortTypeLabel = "DC Terminal" + POWERPORTTYPELABEL_SAF_D_GRID PowerPortTypeLabel = "Saf-D-Grid" + POWERPORTTYPELABEL_NEUTRIK_POWER_CON__20_A PowerPortTypeLabel = "Neutrik powerCON (20A)" + POWERPORTTYPELABEL_NEUTRIK_POWER_CON__32_A PowerPortTypeLabel = "Neutrik powerCON (32A)" + POWERPORTTYPELABEL_NEUTRIK_POWER_CON_TRUE1 PowerPortTypeLabel = "Neutrik powerCON TRUE1" + POWERPORTTYPELABEL_NEUTRIK_POWER_CON_TRUE1_TOP PowerPortTypeLabel = "Neutrik powerCON TRUE1 TOP" + POWERPORTTYPELABEL_UBIQUITI_SMART_POWER PowerPortTypeLabel = "Ubiquiti SmartPower" + POWERPORTTYPELABEL_HARDWIRED PowerPortTypeLabel = "Hardwired" + POWERPORTTYPELABEL_OTHER PowerPortTypeLabel = "Other" +) + +// All allowed values of PowerPortTypeLabel enum +var AllowedPowerPortTypeLabelEnumValues = []PowerPortTypeLabel{ + "C6", + "C8", + "C14", + "C16", + "C20", + "C22", + "P+N+E 4H", + "P+N+E 6H", + "P+N+E 9H", + "2P+E 4H", + "2P+E 6H", + "2P+E 9H", + "3P+E 4H", + "3P+E 6H", + "3P+E 9H", + "3P+N+E 4H", + "3P+N+E 6H", + "3P+N+E 9H", + "IEC 60906-1", + "2P+T 10A (NBR 14136)", + "2P+T 20A (NBR 14136)", + "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-20P", + "NEMA L22-30P", + "CS6361C", + "CS6365C", + "CS8165C", + "CS8265C", + "CS8365C", + "CS8465C", + "ITA Type C (CEE 7/16)", + "ITA Type E (CEE 7/6)", + "ITA Type F (CEE 7/4)", + "ITA Type E/F (CEE 7/7)", + "ITA Type G (BS 1363)", + "ITA Type H", + "ITA Type I", + "ITA Type J", + "ITA Type K", + "ITA Type L (CEI 23-50)", + "ITA Type M (BS 546)", + "ITA Type N", + "ITA Type O", + "USB Type A", + "USB Type B", + "USB Type C", + "USB Mini A", + "USB Mini B", + "USB Micro A", + "USB Micro B", + "USB Micro AB", + "USB 3.0 Type B", + "USB 3.0 Micro B", + "Molex Micro-Fit 1x2", + "Molex Micro-Fit 2x2", + "Molex Micro-Fit 2x4", + "DC Terminal", + "Saf-D-Grid", + "Neutrik powerCON (20A)", + "Neutrik powerCON (32A)", + "Neutrik powerCON TRUE1", + "Neutrik powerCON TRUE1 TOP", + "Ubiquiti SmartPower", + "Hardwired", + "Other", +} + +func (v *PowerPortTypeLabel) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := PowerPortTypeLabel(value) + for _, existing := range AllowedPowerPortTypeLabelEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid PowerPortTypeLabel", value) +} + +// NewPowerPortTypeLabelFromValue returns a pointer to a valid PowerPortTypeLabel +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewPowerPortTypeLabelFromValue(v string) (*PowerPortTypeLabel, error) { + ev := PowerPortTypeLabel(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for PowerPortTypeLabel: valid values are %v", v, AllowedPowerPortTypeLabelEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v PowerPortTypeLabel) IsValid() bool { + for _, existing := range AllowedPowerPortTypeLabelEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to PowerPort_type_label value +func (v PowerPortTypeLabel) Ptr() *PowerPortTypeLabel { + return &v +} + +type NullablePowerPortTypeLabel struct { + value *PowerPortTypeLabel + isSet bool +} + +func (v NullablePowerPortTypeLabel) Get() *PowerPortTypeLabel { + return v.value +} + +func (v *NullablePowerPortTypeLabel) Set(val *PowerPortTypeLabel) { + v.value = val + v.isSet = true +} + +func (v NullablePowerPortTypeLabel) IsSet() bool { + return v.isSet +} + +func (v *NullablePowerPortTypeLabel) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePowerPortTypeLabel(val *PowerPortTypeLabel) *NullablePowerPortTypeLabel { + return &NullablePowerPortTypeLabel{value: val, isSet: true} +} + +func (v NullablePowerPortTypeLabel) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePowerPortTypeLabel) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_prefix.go b/model_prefix.go index 69448e57b..ad54125af 100644 --- a/model_prefix.go +++ b/model_prefix.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,17 +21,18 @@ var _ MappedNullable = &Prefix{} // Prefix Adds support for custom fields and tags. type Prefix struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - Family AggregateFamily `json:"family"` - Prefix string `json:"prefix"` - Site NullableSite `json:"site,omitempty"` - Vrf NullableVRF `json:"vrf,omitempty"` - Tenant NullableTenant `json:"tenant,omitempty"` - Vlan NullableVLAN `json:"vlan,omitempty"` - Status *PrefixStatus `json:"status,omitempty"` - Role NullableRole `json:"role,omitempty"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Family AggregateFamily `json:"family"` + Prefix string `json:"prefix"` + Site NullableBriefSite `json:"site,omitempty"` + Vrf NullableBriefVRF `json:"vrf,omitempty"` + Tenant NullableBriefTenant `json:"tenant,omitempty"` + Vlan NullableBriefVLAN `json:"vlan,omitempty"` + Status *PrefixStatus `json:"status,omitempty"` + Role NullableBriefRole `json:"role,omitempty"` // All IP addresses within this prefix are considered usable IsPool *bool `json:"is_pool,omitempty"` // Treat as fully utilized @@ -123,6 +124,38 @@ func (o *Prefix) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *Prefix) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Prefix) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *Prefix) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *Prefix) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *Prefix) GetDisplay() string { if o == nil { @@ -196,9 +229,9 @@ func (o *Prefix) SetPrefix(v string) { } // GetSite returns the Site field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *Prefix) GetSite() Site { +func (o *Prefix) GetSite() BriefSite { if o == nil || IsNil(o.Site.Get()) { - var ret Site + var ret BriefSite return ret } return *o.Site.Get() @@ -207,7 +240,7 @@ func (o *Prefix) GetSite() Site { // GetSiteOk returns a tuple with the Site 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 *Prefix) GetSiteOk() (*Site, bool) { +func (o *Prefix) GetSiteOk() (*BriefSite, bool) { if o == nil { return nil, false } @@ -223,8 +256,8 @@ func (o *Prefix) HasSite() bool { return false } -// SetSite gets a reference to the given NullableSite and assigns it to the Site field. -func (o *Prefix) SetSite(v Site) { +// SetSite gets a reference to the given NullableBriefSite and assigns it to the Site field. +func (o *Prefix) SetSite(v BriefSite) { o.Site.Set(&v) } @@ -239,9 +272,9 @@ func (o *Prefix) UnsetSite() { } // GetVrf returns the Vrf field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *Prefix) GetVrf() VRF { +func (o *Prefix) GetVrf() BriefVRF { if o == nil || IsNil(o.Vrf.Get()) { - var ret VRF + var ret BriefVRF return ret } return *o.Vrf.Get() @@ -250,7 +283,7 @@ func (o *Prefix) GetVrf() VRF { // GetVrfOk returns a tuple with the Vrf 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 *Prefix) GetVrfOk() (*VRF, bool) { +func (o *Prefix) GetVrfOk() (*BriefVRF, bool) { if o == nil { return nil, false } @@ -266,8 +299,8 @@ func (o *Prefix) HasVrf() bool { return false } -// SetVrf gets a reference to the given NullableVRF and assigns it to the Vrf field. -func (o *Prefix) SetVrf(v VRF) { +// SetVrf gets a reference to the given NullableBriefVRF and assigns it to the Vrf field. +func (o *Prefix) SetVrf(v BriefVRF) { o.Vrf.Set(&v) } @@ -282,9 +315,9 @@ func (o *Prefix) UnsetVrf() { } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *Prefix) GetTenant() Tenant { +func (o *Prefix) GetTenant() BriefTenant { if o == nil || IsNil(o.Tenant.Get()) { - var ret Tenant + var ret BriefTenant return ret } return *o.Tenant.Get() @@ -293,7 +326,7 @@ func (o *Prefix) GetTenant() Tenant { // 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 *Prefix) GetTenantOk() (*Tenant, bool) { +func (o *Prefix) GetTenantOk() (*BriefTenant, bool) { if o == nil { return nil, false } @@ -309,8 +342,8 @@ func (o *Prefix) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenant and assigns it to the Tenant field. -func (o *Prefix) SetTenant(v Tenant) { +// SetTenant gets a reference to the given NullableBriefTenant and assigns it to the Tenant field. +func (o *Prefix) SetTenant(v BriefTenant) { o.Tenant.Set(&v) } @@ -325,9 +358,9 @@ func (o *Prefix) UnsetTenant() { } // GetVlan returns the Vlan field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *Prefix) GetVlan() VLAN { +func (o *Prefix) GetVlan() BriefVLAN { if o == nil || IsNil(o.Vlan.Get()) { - var ret VLAN + var ret BriefVLAN return ret } return *o.Vlan.Get() @@ -336,7 +369,7 @@ func (o *Prefix) GetVlan() VLAN { // 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 *Prefix) GetVlanOk() (*VLAN, bool) { +func (o *Prefix) GetVlanOk() (*BriefVLAN, bool) { if o == nil { return nil, false } @@ -352,8 +385,8 @@ func (o *Prefix) HasVlan() bool { return false } -// SetVlan gets a reference to the given NullableVLAN and assigns it to the Vlan field. -func (o *Prefix) SetVlan(v VLAN) { +// SetVlan gets a reference to the given NullableBriefVLAN and assigns it to the Vlan field. +func (o *Prefix) SetVlan(v BriefVLAN) { o.Vlan.Set(&v) } @@ -400,9 +433,9 @@ func (o *Prefix) SetStatus(v PrefixStatus) { } // GetRole returns the Role field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *Prefix) GetRole() Role { +func (o *Prefix) GetRole() BriefRole { if o == nil || IsNil(o.Role.Get()) { - var ret Role + var ret BriefRole return ret } return *o.Role.Get() @@ -411,7 +444,7 @@ func (o *Prefix) GetRole() Role { // 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 *Prefix) GetRoleOk() (*Role, bool) { +func (o *Prefix) GetRoleOk() (*BriefRole, bool) { if o == nil { return nil, false } @@ -427,8 +460,8 @@ func (o *Prefix) HasRole() bool { return false } -// SetRole gets a reference to the given NullableRole and assigns it to the Role field. -func (o *Prefix) SetRole(v Role) { +// SetRole gets a reference to the given NullableBriefRole and assigns it to the Role field. +func (o *Prefix) SetRole(v BriefRole) { o.Role.Set(&v) } @@ -746,6 +779,9 @@ func (o Prefix) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["family"] = o.Family toSerialize["prefix"] = o.Prefix @@ -842,6 +878,7 @@ func (o *Prefix) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "family") delete(additionalProperties, "prefix") diff --git a/model_prefix_request.go b/model_prefix_request.go index 5634c83a7..2ee826714 100644 --- a/model_prefix_request.go +++ b/model_prefix_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,13 +20,13 @@ var _ MappedNullable = &PrefixRequest{} // PrefixRequest Adds support for custom fields and tags. type PrefixRequest struct { - Prefix string `json:"prefix"` - Site NullableSiteRequest `json:"site,omitempty"` - Vrf NullableVRFRequest `json:"vrf,omitempty"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` - Vlan NullableVLANRequest `json:"vlan,omitempty"` - Status *PrefixStatusValue `json:"status,omitempty"` - Role NullableRoleRequest `json:"role,omitempty"` + Prefix string `json:"prefix"` + Site NullableBriefSiteRequest `json:"site,omitempty"` + Vrf NullableBriefVRFRequest `json:"vrf,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` + Vlan NullableBriefVLANRequest `json:"vlan,omitempty"` + Status *PrefixStatusValue `json:"status,omitempty"` + Role NullableBriefRoleRequest `json:"role,omitempty"` // All IP addresses within this prefix are considered usable IsPool *bool `json:"is_pool,omitempty"` // Treat as fully utilized @@ -83,9 +83,9 @@ func (o *PrefixRequest) SetPrefix(v string) { } // GetSite returns the Site field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PrefixRequest) GetSite() SiteRequest { +func (o *PrefixRequest) GetSite() BriefSiteRequest { if o == nil || IsNil(o.Site.Get()) { - var ret SiteRequest + var ret BriefSiteRequest return ret } return *o.Site.Get() @@ -94,7 +94,7 @@ func (o *PrefixRequest) GetSite() SiteRequest { // GetSiteOk returns a tuple with the Site 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 *PrefixRequest) GetSiteOk() (*SiteRequest, bool) { +func (o *PrefixRequest) GetSiteOk() (*BriefSiteRequest, bool) { if o == nil { return nil, false } @@ -110,8 +110,8 @@ func (o *PrefixRequest) HasSite() bool { return false } -// SetSite gets a reference to the given NullableSiteRequest and assigns it to the Site field. -func (o *PrefixRequest) SetSite(v SiteRequest) { +// SetSite gets a reference to the given NullableBriefSiteRequest and assigns it to the Site field. +func (o *PrefixRequest) SetSite(v BriefSiteRequest) { o.Site.Set(&v) } @@ -126,9 +126,9 @@ func (o *PrefixRequest) UnsetSite() { } // GetVrf returns the Vrf field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PrefixRequest) GetVrf() VRFRequest { +func (o *PrefixRequest) GetVrf() BriefVRFRequest { if o == nil || IsNil(o.Vrf.Get()) { - var ret VRFRequest + var ret BriefVRFRequest return ret } return *o.Vrf.Get() @@ -137,7 +137,7 @@ func (o *PrefixRequest) GetVrf() VRFRequest { // GetVrfOk returns a tuple with the Vrf 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 *PrefixRequest) GetVrfOk() (*VRFRequest, bool) { +func (o *PrefixRequest) GetVrfOk() (*BriefVRFRequest, bool) { if o == nil { return nil, false } @@ -153,8 +153,8 @@ func (o *PrefixRequest) HasVrf() bool { return false } -// SetVrf gets a reference to the given NullableVRFRequest and assigns it to the Vrf field. -func (o *PrefixRequest) SetVrf(v VRFRequest) { +// SetVrf gets a reference to the given NullableBriefVRFRequest and assigns it to the Vrf field. +func (o *PrefixRequest) SetVrf(v BriefVRFRequest) { o.Vrf.Set(&v) } @@ -169,9 +169,9 @@ func (o *PrefixRequest) UnsetVrf() { } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PrefixRequest) GetTenant() TenantRequest { +func (o *PrefixRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -180,7 +180,7 @@ func (o *PrefixRequest) GetTenant() TenantRequest { // 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 *PrefixRequest) GetTenantOk() (*TenantRequest, bool) { +func (o *PrefixRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -196,8 +196,8 @@ func (o *PrefixRequest) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *PrefixRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *PrefixRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } @@ -212,9 +212,9 @@ func (o *PrefixRequest) UnsetTenant() { } // GetVlan returns the Vlan field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PrefixRequest) GetVlan() VLANRequest { +func (o *PrefixRequest) GetVlan() BriefVLANRequest { if o == nil || IsNil(o.Vlan.Get()) { - var ret VLANRequest + var ret BriefVLANRequest return ret } return *o.Vlan.Get() @@ -223,7 +223,7 @@ func (o *PrefixRequest) GetVlan() VLANRequest { // 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 *PrefixRequest) GetVlanOk() (*VLANRequest, bool) { +func (o *PrefixRequest) GetVlanOk() (*BriefVLANRequest, bool) { if o == nil { return nil, false } @@ -239,8 +239,8 @@ func (o *PrefixRequest) HasVlan() bool { return false } -// SetVlan gets a reference to the given NullableVLANRequest and assigns it to the Vlan field. -func (o *PrefixRequest) SetVlan(v VLANRequest) { +// SetVlan gets a reference to the given NullableBriefVLANRequest and assigns it to the Vlan field. +func (o *PrefixRequest) SetVlan(v BriefVLANRequest) { o.Vlan.Set(&v) } @@ -287,9 +287,9 @@ func (o *PrefixRequest) SetStatus(v PrefixStatusValue) { } // GetRole returns the Role field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PrefixRequest) GetRole() RoleRequest { +func (o *PrefixRequest) GetRole() BriefRoleRequest { if o == nil || IsNil(o.Role.Get()) { - var ret RoleRequest + var ret BriefRoleRequest return ret } return *o.Role.Get() @@ -298,7 +298,7 @@ func (o *PrefixRequest) GetRole() RoleRequest { // 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 *PrefixRequest) GetRoleOk() (*RoleRequest, bool) { +func (o *PrefixRequest) GetRoleOk() (*BriefRoleRequest, bool) { if o == nil { return nil, false } @@ -314,8 +314,8 @@ func (o *PrefixRequest) HasRole() bool { return false } -// SetRole gets a reference to the given NullableRoleRequest and assigns it to the Role field. -func (o *PrefixRequest) SetRole(v RoleRequest) { +// SetRole gets a reference to the given NullableBriefRoleRequest and assigns it to the Role field. +func (o *PrefixRequest) SetRole(v BriefRoleRequest) { o.Role.Set(&v) } diff --git a/model_prefix_status.go b/model_prefix_status.go index f2406410f..9e46059b5 100644 --- a/model_prefix_status.go +++ b/model_prefix_status.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_prefix_status_label.go b/model_prefix_status_label.go index 41bac8bf7..48a3eca67 100644 --- a/model_prefix_status_label.go +++ b/model_prefix_status_label.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_prefix_status_value.go b/model_prefix_status_value.go index 7e225f700..1ad20c6ba 100644 --- a/model_prefix_status_value.go +++ b/model_prefix_status_value.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_provider.go b/model_provider.go index a368b3c0b..a34b0a438 100644 --- a/model_provider.go +++ b/model_provider.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -13,6 +13,7 @@ package netbox import ( "encoding/json" "fmt" + "time" ) // checks if the Provider type satisfies the MappedNullable interface at compile time @@ -20,14 +21,22 @@ var _ MappedNullable = &Provider{} // Provider Adds support for custom fields and tags. type Provider struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` // Full name of the provider - Name string `json:"name"` - Slug string `json:"slug"` - Description *string `json:"description,omitempty"` - CircuitCount int64 `json:"circuit_count"` + Name string `json:"name"` + Slug string `json:"slug"` + Accounts []NestedProviderAccount `json:"accounts,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Asns []ASN `json:"asns,omitempty"` + Tags []NestedTag `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Created NullableTime `json:"created"` + LastUpdated NullableTime `json:"last_updated"` + CircuitCount int64 `json:"circuit_count"` AdditionalProperties map[string]interface{} } @@ -37,13 +46,15 @@ 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 int32, url string, display string, name string, slug string, circuitCount int64) *Provider { +func NewProvider(id int32, url string, display string, name string, slug string, created NullableTime, lastUpdated NullableTime, circuitCount int64) *Provider { this := Provider{} this.Id = id this.Url = url this.Display = display this.Name = name this.Slug = slug + this.Created = created + this.LastUpdated = lastUpdated this.CircuitCount = circuitCount return &this } @@ -104,6 +115,38 @@ func (o *Provider) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *Provider) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Provider) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *Provider) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *Provider) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *Provider) GetDisplay() string { if o == nil { @@ -176,6 +219,38 @@ func (o *Provider) SetSlug(v string) { o.Slug = v } +// GetAccounts returns the Accounts field value if set, zero value otherwise. +func (o *Provider) GetAccounts() []NestedProviderAccount { + if o == nil || IsNil(o.Accounts) { + var ret []NestedProviderAccount + return ret + } + return o.Accounts +} + +// GetAccountsOk returns a tuple with the Accounts field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Provider) GetAccountsOk() ([]NestedProviderAccount, bool) { + if o == nil || IsNil(o.Accounts) { + return nil, false + } + return o.Accounts, true +} + +// HasAccounts returns a boolean if a field has been set. +func (o *Provider) HasAccounts() bool { + if o != nil && !IsNil(o.Accounts) { + return true + } + + return false +} + +// SetAccounts gets a reference to the given []NestedProviderAccount and assigns it to the Accounts field. +func (o *Provider) SetAccounts(v []NestedProviderAccount) { + o.Accounts = v +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *Provider) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -208,6 +283,186 @@ func (o *Provider) SetDescription(v string) { o.Description = &v } +// GetComments returns the Comments field value if set, zero value otherwise. +func (o *Provider) GetComments() string { + if o == nil || IsNil(o.Comments) { + var ret string + return ret + } + return *o.Comments +} + +// GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Provider) GetCommentsOk() (*string, bool) { + if o == nil || IsNil(o.Comments) { + return nil, false + } + return o.Comments, true +} + +// HasComments returns a boolean if a field has been set. +func (o *Provider) HasComments() bool { + if o != nil && !IsNil(o.Comments) { + return true + } + + return false +} + +// SetComments gets a reference to the given string and assigns it to the Comments field. +func (o *Provider) SetComments(v string) { + o.Comments = &v +} + +// GetAsns returns the Asns field value if set, zero value otherwise. +func (o *Provider) GetAsns() []ASN { + if o == nil || IsNil(o.Asns) { + var ret []ASN + return ret + } + return o.Asns +} + +// GetAsnsOk returns a tuple with the Asns field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Provider) GetAsnsOk() ([]ASN, bool) { + if o == nil || IsNil(o.Asns) { + return nil, false + } + return o.Asns, true +} + +// HasAsns returns a boolean if a field has been set. +func (o *Provider) HasAsns() bool { + if o != nil && !IsNil(o.Asns) { + return true + } + + return false +} + +// SetAsns gets a reference to the given []ASN and assigns it to the Asns field. +func (o *Provider) SetAsns(v []ASN) { + o.Asns = v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *Provider) GetTags() []NestedTag { + if o == nil || IsNil(o.Tags) { + var ret []NestedTag + 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 *Provider) GetTagsOk() ([]NestedTag, 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 *Provider) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTag and assigns it to the Tags field. +func (o *Provider) SetTags(v []NestedTag) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *Provider) 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 *Provider) 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 *Provider) 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 *Provider) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetCreated returns the Created field value +// If the value is explicit nil, the zero value for time.Time will be returned +func (o *Provider) 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 *Provider) GetCreatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.Created.Get(), o.Created.IsSet() +} + +// SetCreated sets field value +func (o *Provider) 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 *Provider) 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 *Provider) GetLastUpdatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LastUpdated.Get(), o.LastUpdated.IsSet() +} + +// SetLastUpdated sets field value +func (o *Provider) SetLastUpdated(v time.Time) { + o.LastUpdated.Set(&v) +} + // GetCircuitCount returns the CircuitCount field value func (o *Provider) GetCircuitCount() int64 { if o == nil { @@ -244,12 +499,32 @@ func (o Provider) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["name"] = o.Name toSerialize["slug"] = o.Slug + if !IsNil(o.Accounts) { + toSerialize["accounts"] = o.Accounts + } if !IsNil(o.Description) { toSerialize["description"] = o.Description } + if !IsNil(o.Comments) { + toSerialize["comments"] = o.Comments + } + if !IsNil(o.Asns) { + toSerialize["asns"] = o.Asns + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + toSerialize["created"] = o.Created.Get() + toSerialize["last_updated"] = o.LastUpdated.Get() toSerialize["circuit_count"] = o.CircuitCount for key, value := range o.AdditionalProperties { @@ -269,6 +544,8 @@ func (o *Provider) UnmarshalJSON(data []byte) (err error) { "display", "name", "slug", + "created", + "last_updated", "circuit_count", } @@ -301,10 +578,18 @@ func (o *Provider) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") delete(additionalProperties, "slug") + delete(additionalProperties, "accounts") delete(additionalProperties, "description") + delete(additionalProperties, "comments") + delete(additionalProperties, "asns") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "created") + delete(additionalProperties, "last_updated") delete(additionalProperties, "circuit_count") o.AdditionalProperties = additionalProperties } diff --git a/model_provider_account.go b/model_provider_account.go index e1b668c13..ac328977d 100644 --- a/model_provider_account.go +++ b/model_provider_account.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -23,8 +23,9 @@ var _ MappedNullable = &ProviderAccount{} type ProviderAccount struct { Id int32 `json:"id"` Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` Display string `json:"display"` - Provider Provider `json:"provider"` + Provider BriefProvider `json:"provider"` Name *string `json:"name,omitempty"` Account string `json:"account"` Description *string `json:"description,omitempty"` @@ -42,7 +43,7 @@ type _ProviderAccount ProviderAccount // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewProviderAccount(id int32, url string, display string, provider Provider, account string, created NullableTime, lastUpdated NullableTime) *ProviderAccount { +func NewProviderAccount(id int32, url string, display string, provider BriefProvider, account string, created NullableTime, lastUpdated NullableTime) *ProviderAccount { this := ProviderAccount{} this.Id = id this.Url = url @@ -114,6 +115,38 @@ func (o *ProviderAccount) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *ProviderAccount) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ProviderAccount) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *ProviderAccount) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *ProviderAccount) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *ProviderAccount) GetDisplay() string { if o == nil { @@ -139,9 +172,9 @@ func (o *ProviderAccount) SetDisplay(v string) { } // GetProvider returns the Provider field value -func (o *ProviderAccount) GetProvider() Provider { +func (o *ProviderAccount) GetProvider() BriefProvider { if o == nil { - var ret Provider + var ret BriefProvider return ret } @@ -150,7 +183,7 @@ func (o *ProviderAccount) GetProvider() Provider { // GetProviderOk returns a tuple with the Provider field value // and a boolean to check if the value has been set. -func (o *ProviderAccount) GetProviderOk() (*Provider, bool) { +func (o *ProviderAccount) GetProviderOk() (*BriefProvider, bool) { if o == nil { return nil, false } @@ -158,7 +191,7 @@ func (o *ProviderAccount) GetProviderOk() (*Provider, bool) { } // SetProvider sets field value -func (o *ProviderAccount) SetProvider(v Provider) { +func (o *ProviderAccount) SetProvider(v BriefProvider) { o.Provider = v } @@ -410,6 +443,9 @@ func (o ProviderAccount) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["provider"] = o.Provider if !IsNil(o.Name) { @@ -481,6 +517,7 @@ func (o *ProviderAccount) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "provider") delete(additionalProperties, "name") diff --git a/model_provider_account_request.go b/model_provider_account_request.go index feca4b6ea..6a1e64677 100644 --- a/model_provider_account_request.go +++ b/model_provider_account_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,9 +20,13 @@ var _ MappedNullable = &ProviderAccountRequest{} // ProviderAccountRequest Adds support for custom fields and tags. type ProviderAccountRequest struct { - Name *string `json:"name,omitempty"` - Account string `json:"account"` - Description *string `json:"description,omitempty"` + Provider BriefProviderRequest `json:"provider"` + Name *string `json:"name,omitempty"` + Account string `json:"account"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -32,8 +36,9 @@ type _ProviderAccountRequest ProviderAccountRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewProviderAccountRequest(account string) *ProviderAccountRequest { +func NewProviderAccountRequest(provider BriefProviderRequest, account string) *ProviderAccountRequest { this := ProviderAccountRequest{} + this.Provider = provider var name string = "" this.Name = &name this.Account = account @@ -50,6 +55,30 @@ func NewProviderAccountRequestWithDefaults() *ProviderAccountRequest { return &this } +// GetProvider returns the Provider field value +func (o *ProviderAccountRequest) GetProvider() BriefProviderRequest { + if o == nil { + var ret BriefProviderRequest + return ret + } + + return o.Provider +} + +// GetProviderOk returns a tuple with the Provider field value +// and a boolean to check if the value has been set. +func (o *ProviderAccountRequest) GetProviderOk() (*BriefProviderRequest, bool) { + if o == nil { + return nil, false + } + return &o.Provider, true +} + +// SetProvider sets field value +func (o *ProviderAccountRequest) SetProvider(v BriefProviderRequest) { + o.Provider = v +} + // GetName returns the Name field value if set, zero value otherwise. func (o *ProviderAccountRequest) GetName() string { if o == nil || IsNil(o.Name) { @@ -138,6 +167,102 @@ func (o *ProviderAccountRequest) SetDescription(v string) { o.Description = &v } +// GetComments returns the Comments field value if set, zero value otherwise. +func (o *ProviderAccountRequest) GetComments() string { + if o == nil || IsNil(o.Comments) { + var ret string + return ret + } + return *o.Comments +} + +// GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ProviderAccountRequest) GetCommentsOk() (*string, bool) { + if o == nil || IsNil(o.Comments) { + return nil, false + } + return o.Comments, true +} + +// HasComments returns a boolean if a field has been set. +func (o *ProviderAccountRequest) HasComments() bool { + if o != nil && !IsNil(o.Comments) { + return true + } + + return false +} + +// SetComments gets a reference to the given string and assigns it to the Comments field. +func (o *ProviderAccountRequest) SetComments(v string) { + o.Comments = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *ProviderAccountRequest) GetTags() []NestedTagRequest { + if o == nil || IsNil(o.Tags) { + var ret []NestedTagRequest + 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 *ProviderAccountRequest) GetTagsOk() ([]NestedTagRequest, 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 *ProviderAccountRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTagRequest and assigns it to the Tags field. +func (o *ProviderAccountRequest) SetTags(v []NestedTagRequest) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *ProviderAccountRequest) 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 *ProviderAccountRequest) 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 *ProviderAccountRequest) 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 *ProviderAccountRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + func (o ProviderAccountRequest) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -148,6 +273,7 @@ func (o ProviderAccountRequest) MarshalJSON() ([]byte, error) { func (o ProviderAccountRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + toSerialize["provider"] = o.Provider if !IsNil(o.Name) { toSerialize["name"] = o.Name } @@ -155,6 +281,15 @@ func (o ProviderAccountRequest) ToMap() (map[string]interface{}, error) { if !IsNil(o.Description) { toSerialize["description"] = o.Description } + if !IsNil(o.Comments) { + toSerialize["comments"] = o.Comments + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -168,6 +303,7 @@ func (o *ProviderAccountRequest) 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{ + "provider", "account", } @@ -198,9 +334,13 @@ func (o *ProviderAccountRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "provider") delete(additionalProperties, "name") delete(additionalProperties, "account") delete(additionalProperties, "description") + delete(additionalProperties, "comments") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") o.AdditionalProperties = additionalProperties } diff --git a/model_provider_network.go b/model_provider_network.go index 213b6174c..2a6f540c5 100644 --- a/model_provider_network.go +++ b/model_provider_network.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -13,6 +13,7 @@ package netbox import ( "encoding/json" "fmt" + "time" ) // checks if the ProviderNetwork type satisfies the MappedNullable interface at compile time @@ -20,11 +21,19 @@ var _ MappedNullable = &ProviderNetwork{} // ProviderNetwork Adds support for custom fields and tags. type ProviderNetwork struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - Name string `json:"name"` - Description *string `json:"description,omitempty"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Provider BriefProvider `json:"provider"` + Name string `json:"name"` + ServiceId *string `json:"service_id,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTag `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Created NullableTime `json:"created"` + LastUpdated NullableTime `json:"last_updated"` AdditionalProperties map[string]interface{} } @@ -34,12 +43,15 @@ 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 int32, url string, display string, name string) *ProviderNetwork { +func NewProviderNetwork(id int32, url string, display string, provider BriefProvider, name string, created NullableTime, lastUpdated NullableTime) *ProviderNetwork { this := ProviderNetwork{} this.Id = id this.Url = url this.Display = display + this.Provider = provider this.Name = name + this.Created = created + this.LastUpdated = lastUpdated return &this } @@ -99,6 +111,38 @@ func (o *ProviderNetwork) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *ProviderNetwork) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ProviderNetwork) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *ProviderNetwork) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *ProviderNetwork) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *ProviderNetwork) GetDisplay() string { if o == nil { @@ -123,6 +167,30 @@ func (o *ProviderNetwork) SetDisplay(v string) { o.Display = v } +// GetProvider returns the Provider field value +func (o *ProviderNetwork) GetProvider() BriefProvider { + if o == nil { + var ret BriefProvider + return ret + } + + return o.Provider +} + +// GetProviderOk returns a tuple with the Provider field value +// and a boolean to check if the value has been set. +func (o *ProviderNetwork) GetProviderOk() (*BriefProvider, bool) { + if o == nil { + return nil, false + } + return &o.Provider, true +} + +// SetProvider sets field value +func (o *ProviderNetwork) SetProvider(v BriefProvider) { + o.Provider = v +} + // GetName returns the Name field value func (o *ProviderNetwork) GetName() string { if o == nil { @@ -147,6 +215,38 @@ func (o *ProviderNetwork) SetName(v string) { o.Name = v } +// GetServiceId returns the ServiceId field value if set, zero value otherwise. +func (o *ProviderNetwork) GetServiceId() string { + if o == nil || IsNil(o.ServiceId) { + var ret string + return ret + } + return *o.ServiceId +} + +// GetServiceIdOk returns a tuple with the ServiceId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ProviderNetwork) GetServiceIdOk() (*string, bool) { + if o == nil || IsNil(o.ServiceId) { + return nil, false + } + return o.ServiceId, true +} + +// HasServiceId returns a boolean if a field has been set. +func (o *ProviderNetwork) HasServiceId() bool { + if o != nil && !IsNil(o.ServiceId) { + return true + } + + return false +} + +// SetServiceId gets a reference to the given string and assigns it to the ServiceId field. +func (o *ProviderNetwork) SetServiceId(v string) { + o.ServiceId = &v +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *ProviderNetwork) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -179,6 +279,154 @@ func (o *ProviderNetwork) SetDescription(v string) { o.Description = &v } +// GetComments returns the Comments field value if set, zero value otherwise. +func (o *ProviderNetwork) GetComments() string { + if o == nil || IsNil(o.Comments) { + var ret string + return ret + } + return *o.Comments +} + +// GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ProviderNetwork) GetCommentsOk() (*string, bool) { + if o == nil || IsNil(o.Comments) { + return nil, false + } + return o.Comments, true +} + +// HasComments returns a boolean if a field has been set. +func (o *ProviderNetwork) HasComments() bool { + if o != nil && !IsNil(o.Comments) { + return true + } + + return false +} + +// SetComments gets a reference to the given string and assigns it to the Comments field. +func (o *ProviderNetwork) SetComments(v string) { + o.Comments = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *ProviderNetwork) GetTags() []NestedTag { + if o == nil || IsNil(o.Tags) { + var ret []NestedTag + 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 *ProviderNetwork) GetTagsOk() ([]NestedTag, 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 *ProviderNetwork) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTag and assigns it to the Tags field. +func (o *ProviderNetwork) SetTags(v []NestedTag) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *ProviderNetwork) 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 *ProviderNetwork) 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 *ProviderNetwork) 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 *ProviderNetwork) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetCreated returns the Created field value +// If the value is explicit nil, the zero value for time.Time will be returned +func (o *ProviderNetwork) 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 *ProviderNetwork) GetCreatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.Created.Get(), o.Created.IsSet() +} + +// SetCreated sets field value +func (o *ProviderNetwork) 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 *ProviderNetwork) 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 *ProviderNetwork) GetLastUpdatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LastUpdated.Get(), o.LastUpdated.IsSet() +} + +// SetLastUpdated sets field value +func (o *ProviderNetwork) SetLastUpdated(v time.Time) { + o.LastUpdated.Set(&v) +} + func (o ProviderNetwork) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -191,11 +439,29 @@ func (o ProviderNetwork) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display + toSerialize["provider"] = o.Provider toSerialize["name"] = o.Name + if !IsNil(o.ServiceId) { + toSerialize["service_id"] = o.ServiceId + } if !IsNil(o.Description) { toSerialize["description"] = o.Description } + if !IsNil(o.Comments) { + toSerialize["comments"] = o.Comments + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + toSerialize["created"] = o.Created.Get() + toSerialize["last_updated"] = o.LastUpdated.Get() for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -212,7 +478,10 @@ func (o *ProviderNetwork) UnmarshalJSON(data []byte) (err error) { "id", "url", "display", + "provider", "name", + "created", + "last_updated", } allProperties := make(map[string]interface{}) @@ -244,9 +513,17 @@ func (o *ProviderNetwork) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") + delete(additionalProperties, "provider") delete(additionalProperties, "name") + delete(additionalProperties, "service_id") delete(additionalProperties, "description") + delete(additionalProperties, "comments") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "created") + delete(additionalProperties, "last_updated") o.AdditionalProperties = additionalProperties } diff --git a/model_provider_network_request.go b/model_provider_network_request.go index 05b023aca..095307bf3 100644 --- a/model_provider_network_request.go +++ b/model_provider_network_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,8 +20,13 @@ var _ MappedNullable = &ProviderNetworkRequest{} // ProviderNetworkRequest Adds support for custom fields and tags. type ProviderNetworkRequest struct { - Name string `json:"name"` - Description *string `json:"description,omitempty"` + Provider BriefProviderRequest `json:"provider"` + Name string `json:"name"` + ServiceId *string `json:"service_id,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -31,8 +36,9 @@ type _ProviderNetworkRequest ProviderNetworkRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewProviderNetworkRequest(name string) *ProviderNetworkRequest { +func NewProviderNetworkRequest(provider BriefProviderRequest, name string) *ProviderNetworkRequest { this := ProviderNetworkRequest{} + this.Provider = provider this.Name = name return &this } @@ -45,6 +51,30 @@ func NewProviderNetworkRequestWithDefaults() *ProviderNetworkRequest { return &this } +// GetProvider returns the Provider field value +func (o *ProviderNetworkRequest) GetProvider() BriefProviderRequest { + if o == nil { + var ret BriefProviderRequest + return ret + } + + return o.Provider +} + +// GetProviderOk returns a tuple with the Provider field value +// and a boolean to check if the value has been set. +func (o *ProviderNetworkRequest) GetProviderOk() (*BriefProviderRequest, bool) { + if o == nil { + return nil, false + } + return &o.Provider, true +} + +// SetProvider sets field value +func (o *ProviderNetworkRequest) SetProvider(v BriefProviderRequest) { + o.Provider = v +} + // GetName returns the Name field value func (o *ProviderNetworkRequest) GetName() string { if o == nil { @@ -69,6 +99,38 @@ func (o *ProviderNetworkRequest) SetName(v string) { o.Name = v } +// GetServiceId returns the ServiceId field value if set, zero value otherwise. +func (o *ProviderNetworkRequest) GetServiceId() string { + if o == nil || IsNil(o.ServiceId) { + var ret string + return ret + } + return *o.ServiceId +} + +// GetServiceIdOk returns a tuple with the ServiceId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ProviderNetworkRequest) GetServiceIdOk() (*string, bool) { + if o == nil || IsNil(o.ServiceId) { + return nil, false + } + return o.ServiceId, true +} + +// HasServiceId returns a boolean if a field has been set. +func (o *ProviderNetworkRequest) HasServiceId() bool { + if o != nil && !IsNil(o.ServiceId) { + return true + } + + return false +} + +// SetServiceId gets a reference to the given string and assigns it to the ServiceId field. +func (o *ProviderNetworkRequest) SetServiceId(v string) { + o.ServiceId = &v +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *ProviderNetworkRequest) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -101,6 +163,102 @@ func (o *ProviderNetworkRequest) SetDescription(v string) { o.Description = &v } +// GetComments returns the Comments field value if set, zero value otherwise. +func (o *ProviderNetworkRequest) GetComments() string { + if o == nil || IsNil(o.Comments) { + var ret string + return ret + } + return *o.Comments +} + +// GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ProviderNetworkRequest) GetCommentsOk() (*string, bool) { + if o == nil || IsNil(o.Comments) { + return nil, false + } + return o.Comments, true +} + +// HasComments returns a boolean if a field has been set. +func (o *ProviderNetworkRequest) HasComments() bool { + if o != nil && !IsNil(o.Comments) { + return true + } + + return false +} + +// SetComments gets a reference to the given string and assigns it to the Comments field. +func (o *ProviderNetworkRequest) SetComments(v string) { + o.Comments = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *ProviderNetworkRequest) GetTags() []NestedTagRequest { + if o == nil || IsNil(o.Tags) { + var ret []NestedTagRequest + 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 *ProviderNetworkRequest) GetTagsOk() ([]NestedTagRequest, 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 *ProviderNetworkRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTagRequest and assigns it to the Tags field. +func (o *ProviderNetworkRequest) SetTags(v []NestedTagRequest) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *ProviderNetworkRequest) 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 *ProviderNetworkRequest) 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 *ProviderNetworkRequest) 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 *ProviderNetworkRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + func (o ProviderNetworkRequest) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -111,10 +269,23 @@ func (o ProviderNetworkRequest) MarshalJSON() ([]byte, error) { func (o ProviderNetworkRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + toSerialize["provider"] = o.Provider toSerialize["name"] = o.Name + if !IsNil(o.ServiceId) { + toSerialize["service_id"] = o.ServiceId + } if !IsNil(o.Description) { toSerialize["description"] = o.Description } + if !IsNil(o.Comments) { + toSerialize["comments"] = o.Comments + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -128,6 +299,7 @@ func (o *ProviderNetworkRequest) 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{ + "provider", "name", } @@ -158,8 +330,13 @@ func (o *ProviderNetworkRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "provider") delete(additionalProperties, "name") + delete(additionalProperties, "service_id") delete(additionalProperties, "description") + delete(additionalProperties, "comments") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") o.AdditionalProperties = additionalProperties } diff --git a/model_provider_request.go b/model_provider_request.go index 1edfe34ee..0c25389fa 100644 --- a/model_provider_request.go +++ b/model_provider_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,9 +21,14 @@ var _ MappedNullable = &ProviderRequest{} // ProviderRequest Adds support for custom fields and tags. type ProviderRequest struct { // Full name of the provider - Name string `json:"name"` - Slug string `json:"slug"` - Description *string `json:"description,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Accounts []int32 `json:"accounts,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Asns []int32 `json:"asns,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -96,6 +101,38 @@ func (o *ProviderRequest) SetSlug(v string) { o.Slug = v } +// GetAccounts returns the Accounts field value if set, zero value otherwise. +func (o *ProviderRequest) GetAccounts() []int32 { + if o == nil || IsNil(o.Accounts) { + var ret []int32 + return ret + } + return o.Accounts +} + +// GetAccountsOk returns a tuple with the Accounts field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ProviderRequest) GetAccountsOk() ([]int32, bool) { + if o == nil || IsNil(o.Accounts) { + return nil, false + } + return o.Accounts, true +} + +// HasAccounts returns a boolean if a field has been set. +func (o *ProviderRequest) HasAccounts() bool { + if o != nil && !IsNil(o.Accounts) { + return true + } + + return false +} + +// SetAccounts gets a reference to the given []int32 and assigns it to the Accounts field. +func (o *ProviderRequest) SetAccounts(v []int32) { + o.Accounts = v +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *ProviderRequest) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -128,6 +165,134 @@ func (o *ProviderRequest) SetDescription(v string) { o.Description = &v } +// GetComments returns the Comments field value if set, zero value otherwise. +func (o *ProviderRequest) GetComments() string { + if o == nil || IsNil(o.Comments) { + var ret string + return ret + } + return *o.Comments +} + +// GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ProviderRequest) GetCommentsOk() (*string, bool) { + if o == nil || IsNil(o.Comments) { + return nil, false + } + return o.Comments, true +} + +// HasComments returns a boolean if a field has been set. +func (o *ProviderRequest) HasComments() bool { + if o != nil && !IsNil(o.Comments) { + return true + } + + return false +} + +// SetComments gets a reference to the given string and assigns it to the Comments field. +func (o *ProviderRequest) SetComments(v string) { + o.Comments = &v +} + +// GetAsns returns the Asns field value if set, zero value otherwise. +func (o *ProviderRequest) GetAsns() []int32 { + if o == nil || IsNil(o.Asns) { + var ret []int32 + return ret + } + return o.Asns +} + +// GetAsnsOk returns a tuple with the Asns field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ProviderRequest) GetAsnsOk() ([]int32, bool) { + if o == nil || IsNil(o.Asns) { + return nil, false + } + return o.Asns, true +} + +// HasAsns returns a boolean if a field has been set. +func (o *ProviderRequest) HasAsns() bool { + if o != nil && !IsNil(o.Asns) { + return true + } + + return false +} + +// SetAsns gets a reference to the given []int32 and assigns it to the Asns field. +func (o *ProviderRequest) SetAsns(v []int32) { + o.Asns = v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *ProviderRequest) GetTags() []NestedTagRequest { + if o == nil || IsNil(o.Tags) { + var ret []NestedTagRequest + 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 *ProviderRequest) GetTagsOk() ([]NestedTagRequest, 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 *ProviderRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTagRequest and assigns it to the Tags field. +func (o *ProviderRequest) SetTags(v []NestedTagRequest) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *ProviderRequest) 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 *ProviderRequest) 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 *ProviderRequest) 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 *ProviderRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + func (o ProviderRequest) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -140,9 +305,24 @@ func (o ProviderRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["name"] = o.Name toSerialize["slug"] = o.Slug + if !IsNil(o.Accounts) { + toSerialize["accounts"] = o.Accounts + } if !IsNil(o.Description) { toSerialize["description"] = o.Description } + if !IsNil(o.Comments) { + toSerialize["comments"] = o.Comments + } + if !IsNil(o.Asns) { + toSerialize["asns"] = o.Asns + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -189,7 +369,12 @@ func (o *ProviderRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "name") delete(additionalProperties, "slug") + delete(additionalProperties, "accounts") delete(additionalProperties, "description") + delete(additionalProperties, "comments") + delete(additionalProperties, "asns") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") o.AdditionalProperties = additionalProperties } diff --git a/model_rack.go b/model_rack.go index 471e264e1..e847f12eb 100644 --- a/model_rack.go +++ b/model_rack.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -13,6 +13,7 @@ package netbox import ( "encoding/json" "fmt" + "time" ) // checks if the Rack type satisfies the MappedNullable interface at compile time @@ -20,12 +21,49 @@ var _ MappedNullable = &Rack{} // Rack Adds support for custom fields and tags. type Rack struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - Name string `json:"name"` - Description *string `json:"description,omitempty"` - DeviceCount int64 `json:"device_count"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Name string `json:"name"` + FacilityId NullableString `json:"facility_id,omitempty"` + Site BriefSite `json:"site"` + Location NullableBriefLocation `json:"location,omitempty"` + Tenant NullableBriefTenant `json:"tenant,omitempty"` + Status *RackStatus `json:"status,omitempty"` + Role NullableBriefRackRole `json:"role,omitempty"` + Serial *string `json:"serial,omitempty"` + // A unique tag used to identify this rack + AssetTag NullableString `json:"asset_tag,omitempty"` + RackType NullableBriefRackType `json:"rack_type,omitempty"` + FormFactor NullableRackFormFactor `json:"form_factor,omitempty"` + Width *RackWidth `json:"width,omitempty"` + // Height in rack units + UHeight *int32 `json:"u_height,omitempty"` + // Starting unit for rack + StartingUnit *int32 `json:"starting_unit,omitempty"` + Weight NullableFloat64 `json:"weight,omitempty"` + // Maximum load capacity for the rack + MaxWeight NullableInt32 `json:"max_weight,omitempty"` + WeightUnit NullableDeviceTypeWeightUnit `json:"weight_unit,omitempty"` + // Units are numbered top-to-bottom + DescUnits *bool `json:"desc_units,omitempty"` + // Outer dimension of rack (width) + OuterWidth NullableInt32 `json:"outer_width,omitempty"` + // Outer dimension of rack (depth) + OuterDepth NullableInt32 `json:"outer_depth,omitempty"` + OuterUnit NullableRackOuterUnit `json:"outer_unit,omitempty"` + // Maximum depth of a mounted device, in millimeters. For four-post racks, this is the distance between the front and rear rails. + MountingDepth NullableInt32 `json:"mounting_depth,omitempty"` + Airflow *RackAirflow `json:"airflow,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTag `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Created NullableTime `json:"created"` + LastUpdated NullableTime `json:"last_updated"` + DeviceCount *int64 `json:"device_count,omitempty"` + PowerfeedCount int64 `json:"powerfeed_count"` AdditionalProperties map[string]interface{} } @@ -35,13 +73,16 @@ 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 int32, url string, display string, name string, deviceCount int64) *Rack { +func NewRack(id int32, url string, display string, name string, site BriefSite, created NullableTime, lastUpdated NullableTime, powerfeedCount int64) *Rack { this := Rack{} this.Id = id this.Url = url this.Display = display this.Name = name - this.DeviceCount = deviceCount + this.Site = site + this.Created = created + this.LastUpdated = lastUpdated + this.PowerfeedCount = powerfeedCount return &this } @@ -101,6 +142,38 @@ func (o *Rack) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *Rack) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Rack) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *Rack) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *Rack) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *Rack) GetDisplay() string { if o == nil { @@ -108,45 +181,895 @@ func (o *Rack) GetDisplay() string { return ret } - return o.Display + 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 *Rack) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *Rack) SetDisplay(v string) { + o.Display = v +} + +// GetName returns the Name field value +func (o *Rack) 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 *Rack) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *Rack) SetName(v string) { + o.Name = v +} + +// GetFacilityId returns the FacilityId field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Rack) GetFacilityId() string { + if o == nil || IsNil(o.FacilityId.Get()) { + var ret string + return ret + } + return *o.FacilityId.Get() +} + +// GetFacilityIdOk returns a tuple with the FacilityId 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 *Rack) GetFacilityIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.FacilityId.Get(), o.FacilityId.IsSet() +} + +// HasFacilityId returns a boolean if a field has been set. +func (o *Rack) HasFacilityId() bool { + if o != nil && o.FacilityId.IsSet() { + return true + } + + return false +} + +// SetFacilityId gets a reference to the given NullableString and assigns it to the FacilityId field. +func (o *Rack) SetFacilityId(v string) { + o.FacilityId.Set(&v) +} + +// SetFacilityIdNil sets the value for FacilityId to be an explicit nil +func (o *Rack) SetFacilityIdNil() { + o.FacilityId.Set(nil) +} + +// UnsetFacilityId ensures that no value is present for FacilityId, not even an explicit nil +func (o *Rack) UnsetFacilityId() { + o.FacilityId.Unset() +} + +// GetSite returns the Site field value +func (o *Rack) GetSite() BriefSite { + if o == nil { + var ret BriefSite + return ret + } + + return o.Site +} + +// GetSiteOk returns a tuple with the Site field value +// and a boolean to check if the value has been set. +func (o *Rack) GetSiteOk() (*BriefSite, bool) { + if o == nil { + return nil, false + } + return &o.Site, true +} + +// SetSite sets field value +func (o *Rack) SetSite(v BriefSite) { + o.Site = v +} + +// GetLocation returns the Location field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Rack) GetLocation() BriefLocation { + if o == nil || IsNil(o.Location.Get()) { + var ret BriefLocation + return ret + } + return *o.Location.Get() +} + +// GetLocationOk returns a tuple with the Location 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 *Rack) GetLocationOk() (*BriefLocation, bool) { + if o == nil { + return nil, false + } + return o.Location.Get(), o.Location.IsSet() +} + +// HasLocation returns a boolean if a field has been set. +func (o *Rack) HasLocation() bool { + if o != nil && o.Location.IsSet() { + return true + } + + return false +} + +// SetLocation gets a reference to the given NullableBriefLocation and assigns it to the Location field. +func (o *Rack) SetLocation(v BriefLocation) { + o.Location.Set(&v) +} + +// SetLocationNil sets the value for Location to be an explicit nil +func (o *Rack) SetLocationNil() { + o.Location.Set(nil) +} + +// UnsetLocation ensures that no value is present for Location, not even an explicit nil +func (o *Rack) UnsetLocation() { + o.Location.Unset() +} + +// GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Rack) GetTenant() BriefTenant { + if o == nil || IsNil(o.Tenant.Get()) { + var ret BriefTenant + 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 *Rack) GetTenantOk() (*BriefTenant, 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 *Rack) HasTenant() bool { + if o != nil && o.Tenant.IsSet() { + return true + } + + return false +} + +// SetTenant gets a reference to the given NullableBriefTenant and assigns it to the Tenant field. +func (o *Rack) SetTenant(v BriefTenant) { + o.Tenant.Set(&v) +} + +// SetTenantNil sets the value for Tenant to be an explicit nil +func (o *Rack) SetTenantNil() { + o.Tenant.Set(nil) +} + +// UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +func (o *Rack) UnsetTenant() { + o.Tenant.Unset() +} + +// GetStatus returns the Status field value if set, zero value otherwise. +func (o *Rack) GetStatus() RackStatus { + if o == nil || IsNil(o.Status) { + var ret RackStatus + 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 *Rack) GetStatusOk() (*RackStatus, 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 *Rack) HasStatus() bool { + if o != nil && !IsNil(o.Status) { + return true + } + + return false +} + +// SetStatus gets a reference to the given RackStatus and assigns it to the Status field. +func (o *Rack) SetStatus(v RackStatus) { + 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 *Rack) GetRole() BriefRackRole { + if o == nil || IsNil(o.Role.Get()) { + var ret BriefRackRole + 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 *Rack) GetRoleOk() (*BriefRackRole, 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 *Rack) HasRole() bool { + if o != nil && o.Role.IsSet() { + return true + } + + return false +} + +// SetRole gets a reference to the given NullableBriefRackRole and assigns it to the Role field. +func (o *Rack) SetRole(v BriefRackRole) { + o.Role.Set(&v) +} + +// SetRoleNil sets the value for Role to be an explicit nil +func (o *Rack) SetRoleNil() { + o.Role.Set(nil) +} + +// UnsetRole ensures that no value is present for Role, not even an explicit nil +func (o *Rack) UnsetRole() { + o.Role.Unset() +} + +// GetSerial returns the Serial field value if set, zero value otherwise. +func (o *Rack) GetSerial() string { + if o == nil || IsNil(o.Serial) { + var ret string + return ret + } + return *o.Serial +} + +// GetSerialOk returns a tuple with the Serial field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Rack) GetSerialOk() (*string, bool) { + if o == nil || IsNil(o.Serial) { + return nil, false + } + return o.Serial, true +} + +// HasSerial returns a boolean if a field has been set. +func (o *Rack) HasSerial() bool { + if o != nil && !IsNil(o.Serial) { + return true + } + + return false +} + +// SetSerial gets a reference to the given string and assigns it to the Serial field. +func (o *Rack) SetSerial(v string) { + o.Serial = &v +} + +// GetAssetTag returns the AssetTag field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Rack) GetAssetTag() string { + if o == nil || IsNil(o.AssetTag.Get()) { + var ret string + return ret + } + return *o.AssetTag.Get() +} + +// GetAssetTagOk returns a tuple with the AssetTag 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 *Rack) GetAssetTagOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.AssetTag.Get(), o.AssetTag.IsSet() +} + +// HasAssetTag returns a boolean if a field has been set. +func (o *Rack) HasAssetTag() bool { + if o != nil && o.AssetTag.IsSet() { + return true + } + + return false +} + +// SetAssetTag gets a reference to the given NullableString and assigns it to the AssetTag field. +func (o *Rack) SetAssetTag(v string) { + o.AssetTag.Set(&v) +} + +// SetAssetTagNil sets the value for AssetTag to be an explicit nil +func (o *Rack) SetAssetTagNil() { + o.AssetTag.Set(nil) +} + +// UnsetAssetTag ensures that no value is present for AssetTag, not even an explicit nil +func (o *Rack) UnsetAssetTag() { + o.AssetTag.Unset() +} + +// GetRackType returns the RackType field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Rack) GetRackType() BriefRackType { + if o == nil || IsNil(o.RackType.Get()) { + var ret BriefRackType + return ret + } + return *o.RackType.Get() +} + +// GetRackTypeOk returns a tuple with the RackType 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 *Rack) GetRackTypeOk() (*BriefRackType, bool) { + if o == nil { + return nil, false + } + return o.RackType.Get(), o.RackType.IsSet() +} + +// HasRackType returns a boolean if a field has been set. +func (o *Rack) HasRackType() bool { + if o != nil && o.RackType.IsSet() { + return true + } + + return false +} + +// SetRackType gets a reference to the given NullableBriefRackType and assigns it to the RackType field. +func (o *Rack) SetRackType(v BriefRackType) { + o.RackType.Set(&v) +} + +// SetRackTypeNil sets the value for RackType to be an explicit nil +func (o *Rack) SetRackTypeNil() { + o.RackType.Set(nil) +} + +// UnsetRackType ensures that no value is present for RackType, not even an explicit nil +func (o *Rack) UnsetRackType() { + o.RackType.Unset() +} + +// GetFormFactor returns the FormFactor field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Rack) GetFormFactor() RackFormFactor { + if o == nil || IsNil(o.FormFactor.Get()) { + var ret RackFormFactor + return ret + } + return *o.FormFactor.Get() +} + +// GetFormFactorOk returns a tuple with the FormFactor 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 *Rack) GetFormFactorOk() (*RackFormFactor, bool) { + if o == nil { + return nil, false + } + return o.FormFactor.Get(), o.FormFactor.IsSet() +} + +// HasFormFactor returns a boolean if a field has been set. +func (o *Rack) HasFormFactor() bool { + if o != nil && o.FormFactor.IsSet() { + return true + } + + return false +} + +// SetFormFactor gets a reference to the given NullableRackFormFactor and assigns it to the FormFactor field. +func (o *Rack) SetFormFactor(v RackFormFactor) { + o.FormFactor.Set(&v) +} + +// SetFormFactorNil sets the value for FormFactor to be an explicit nil +func (o *Rack) SetFormFactorNil() { + o.FormFactor.Set(nil) +} + +// UnsetFormFactor ensures that no value is present for FormFactor, not even an explicit nil +func (o *Rack) UnsetFormFactor() { + o.FormFactor.Unset() +} + +// GetWidth returns the Width field value if set, zero value otherwise. +func (o *Rack) GetWidth() RackWidth { + if o == nil || IsNil(o.Width) { + var ret RackWidth + return ret + } + return *o.Width +} + +// GetWidthOk returns a tuple with the Width field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Rack) GetWidthOk() (*RackWidth, bool) { + if o == nil || IsNil(o.Width) { + return nil, false + } + return o.Width, true +} + +// HasWidth returns a boolean if a field has been set. +func (o *Rack) HasWidth() bool { + if o != nil && !IsNil(o.Width) { + return true + } + + return false +} + +// SetWidth gets a reference to the given RackWidth and assigns it to the Width field. +func (o *Rack) SetWidth(v RackWidth) { + o.Width = &v +} + +// GetUHeight returns the UHeight field value if set, zero value otherwise. +func (o *Rack) GetUHeight() int32 { + if o == nil || IsNil(o.UHeight) { + var ret int32 + return ret + } + return *o.UHeight +} + +// GetUHeightOk returns a tuple with the UHeight field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Rack) GetUHeightOk() (*int32, bool) { + if o == nil || IsNil(o.UHeight) { + return nil, false + } + return o.UHeight, true +} + +// HasUHeight returns a boolean if a field has been set. +func (o *Rack) HasUHeight() bool { + if o != nil && !IsNil(o.UHeight) { + return true + } + + return false +} + +// SetUHeight gets a reference to the given int32 and assigns it to the UHeight field. +func (o *Rack) SetUHeight(v int32) { + o.UHeight = &v +} + +// GetStartingUnit returns the StartingUnit field value if set, zero value otherwise. +func (o *Rack) GetStartingUnit() int32 { + if o == nil || IsNil(o.StartingUnit) { + var ret int32 + return ret + } + return *o.StartingUnit +} + +// GetStartingUnitOk returns a tuple with the StartingUnit field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Rack) GetStartingUnitOk() (*int32, bool) { + if o == nil || IsNil(o.StartingUnit) { + return nil, false + } + return o.StartingUnit, true +} + +// HasStartingUnit returns a boolean if a field has been set. +func (o *Rack) HasStartingUnit() bool { + if o != nil && !IsNil(o.StartingUnit) { + return true + } + + return false +} + +// SetStartingUnit gets a reference to the given int32 and assigns it to the StartingUnit field. +func (o *Rack) SetStartingUnit(v int32) { + o.StartingUnit = &v +} + +// GetWeight returns the Weight field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Rack) GetWeight() float64 { + if o == nil || IsNil(o.Weight.Get()) { + var ret float64 + return ret + } + return *o.Weight.Get() +} + +// GetWeightOk returns a tuple with the Weight 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 *Rack) GetWeightOk() (*float64, bool) { + if o == nil { + return nil, false + } + return o.Weight.Get(), o.Weight.IsSet() +} + +// HasWeight returns a boolean if a field has been set. +func (o *Rack) HasWeight() bool { + if o != nil && o.Weight.IsSet() { + return true + } + + return false +} + +// SetWeight gets a reference to the given NullableFloat64 and assigns it to the Weight field. +func (o *Rack) SetWeight(v float64) { + o.Weight.Set(&v) +} + +// SetWeightNil sets the value for Weight to be an explicit nil +func (o *Rack) SetWeightNil() { + o.Weight.Set(nil) +} + +// UnsetWeight ensures that no value is present for Weight, not even an explicit nil +func (o *Rack) UnsetWeight() { + o.Weight.Unset() +} + +// GetMaxWeight returns the MaxWeight field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Rack) GetMaxWeight() int32 { + if o == nil || IsNil(o.MaxWeight.Get()) { + var ret int32 + return ret + } + return *o.MaxWeight.Get() +} + +// GetMaxWeightOk returns a tuple with the MaxWeight 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 *Rack) GetMaxWeightOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.MaxWeight.Get(), o.MaxWeight.IsSet() +} + +// HasMaxWeight returns a boolean if a field has been set. +func (o *Rack) HasMaxWeight() bool { + if o != nil && o.MaxWeight.IsSet() { + return true + } + + return false +} + +// SetMaxWeight gets a reference to the given NullableInt32 and assigns it to the MaxWeight field. +func (o *Rack) SetMaxWeight(v int32) { + o.MaxWeight.Set(&v) +} + +// SetMaxWeightNil sets the value for MaxWeight to be an explicit nil +func (o *Rack) SetMaxWeightNil() { + o.MaxWeight.Set(nil) +} + +// UnsetMaxWeight ensures that no value is present for MaxWeight, not even an explicit nil +func (o *Rack) UnsetMaxWeight() { + o.MaxWeight.Unset() +} + +// GetWeightUnit returns the WeightUnit field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Rack) GetWeightUnit() DeviceTypeWeightUnit { + if o == nil || IsNil(o.WeightUnit.Get()) { + var ret DeviceTypeWeightUnit + return ret + } + return *o.WeightUnit.Get() +} + +// GetWeightUnitOk returns a tuple with the WeightUnit 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 *Rack) GetWeightUnitOk() (*DeviceTypeWeightUnit, bool) { + if o == nil { + return nil, false + } + return o.WeightUnit.Get(), o.WeightUnit.IsSet() +} + +// HasWeightUnit returns a boolean if a field has been set. +func (o *Rack) HasWeightUnit() bool { + if o != nil && o.WeightUnit.IsSet() { + return true + } + + return false +} + +// SetWeightUnit gets a reference to the given NullableDeviceTypeWeightUnit and assigns it to the WeightUnit field. +func (o *Rack) SetWeightUnit(v DeviceTypeWeightUnit) { + o.WeightUnit.Set(&v) +} + +// SetWeightUnitNil sets the value for WeightUnit to be an explicit nil +func (o *Rack) SetWeightUnitNil() { + o.WeightUnit.Set(nil) +} + +// UnsetWeightUnit ensures that no value is present for WeightUnit, not even an explicit nil +func (o *Rack) UnsetWeightUnit() { + o.WeightUnit.Unset() +} + +// GetDescUnits returns the DescUnits field value if set, zero value otherwise. +func (o *Rack) GetDescUnits() bool { + if o == nil || IsNil(o.DescUnits) { + var ret bool + return ret + } + return *o.DescUnits +} + +// GetDescUnitsOk returns a tuple with the DescUnits field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Rack) GetDescUnitsOk() (*bool, bool) { + if o == nil || IsNil(o.DescUnits) { + return nil, false + } + return o.DescUnits, true } -// GetDisplayOk returns a tuple with the Display field value +// HasDescUnits returns a boolean if a field has been set. +func (o *Rack) HasDescUnits() bool { + if o != nil && !IsNil(o.DescUnits) { + return true + } + + return false +} + +// SetDescUnits gets a reference to the given bool and assigns it to the DescUnits field. +func (o *Rack) SetDescUnits(v bool) { + o.DescUnits = &v +} + +// GetOuterWidth returns the OuterWidth field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Rack) GetOuterWidth() int32 { + if o == nil || IsNil(o.OuterWidth.Get()) { + var ret int32 + return ret + } + return *o.OuterWidth.Get() +} + +// GetOuterWidthOk returns a tuple with the OuterWidth field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Rack) GetDisplayOk() (*string, bool) { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Rack) GetOuterWidthOk() (*int32, bool) { if o == nil { return nil, false } - return &o.Display, true + return o.OuterWidth.Get(), o.OuterWidth.IsSet() } -// SetDisplay sets field value -func (o *Rack) SetDisplay(v string) { - o.Display = v +// HasOuterWidth returns a boolean if a field has been set. +func (o *Rack) HasOuterWidth() bool { + if o != nil && o.OuterWidth.IsSet() { + return true + } + + return false } -// GetName returns the Name field value -func (o *Rack) GetName() string { +// SetOuterWidth gets a reference to the given NullableInt32 and assigns it to the OuterWidth field. +func (o *Rack) SetOuterWidth(v int32) { + o.OuterWidth.Set(&v) +} + +// SetOuterWidthNil sets the value for OuterWidth to be an explicit nil +func (o *Rack) SetOuterWidthNil() { + o.OuterWidth.Set(nil) +} + +// UnsetOuterWidth ensures that no value is present for OuterWidth, not even an explicit nil +func (o *Rack) UnsetOuterWidth() { + o.OuterWidth.Unset() +} + +// GetOuterDepth returns the OuterDepth field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Rack) GetOuterDepth() int32 { + if o == nil || IsNil(o.OuterDepth.Get()) { + var ret int32 + return ret + } + return *o.OuterDepth.Get() +} + +// GetOuterDepthOk returns a tuple with the OuterDepth 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 *Rack) GetOuterDepthOk() (*int32, bool) { if o == nil { - var ret string + return nil, false + } + return o.OuterDepth.Get(), o.OuterDepth.IsSet() +} + +// HasOuterDepth returns a boolean if a field has been set. +func (o *Rack) HasOuterDepth() bool { + if o != nil && o.OuterDepth.IsSet() { + return true + } + + return false +} + +// SetOuterDepth gets a reference to the given NullableInt32 and assigns it to the OuterDepth field. +func (o *Rack) SetOuterDepth(v int32) { + o.OuterDepth.Set(&v) +} + +// SetOuterDepthNil sets the value for OuterDepth to be an explicit nil +func (o *Rack) SetOuterDepthNil() { + o.OuterDepth.Set(nil) +} + +// UnsetOuterDepth ensures that no value is present for OuterDepth, not even an explicit nil +func (o *Rack) UnsetOuterDepth() { + o.OuterDepth.Unset() +} + +// GetOuterUnit returns the OuterUnit field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Rack) GetOuterUnit() RackOuterUnit { + if o == nil || IsNil(o.OuterUnit.Get()) { + var ret RackOuterUnit return ret } + return *o.OuterUnit.Get() +} - return o.Name +// GetOuterUnitOk returns a tuple with the OuterUnit 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 *Rack) GetOuterUnitOk() (*RackOuterUnit, bool) { + if o == nil { + return nil, false + } + return o.OuterUnit.Get(), o.OuterUnit.IsSet() } -// GetNameOk returns a tuple with the Name field value +// HasOuterUnit returns a boolean if a field has been set. +func (o *Rack) HasOuterUnit() bool { + if o != nil && o.OuterUnit.IsSet() { + return true + } + + return false +} + +// SetOuterUnit gets a reference to the given NullableRackOuterUnit and assigns it to the OuterUnit field. +func (o *Rack) SetOuterUnit(v RackOuterUnit) { + o.OuterUnit.Set(&v) +} + +// SetOuterUnitNil sets the value for OuterUnit to be an explicit nil +func (o *Rack) SetOuterUnitNil() { + o.OuterUnit.Set(nil) +} + +// UnsetOuterUnit ensures that no value is present for OuterUnit, not even an explicit nil +func (o *Rack) UnsetOuterUnit() { + o.OuterUnit.Unset() +} + +// GetMountingDepth returns the MountingDepth field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Rack) GetMountingDepth() int32 { + if o == nil || IsNil(o.MountingDepth.Get()) { + var ret int32 + return ret + } + return *o.MountingDepth.Get() +} + +// GetMountingDepthOk returns a tuple with the MountingDepth field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Rack) GetNameOk() (*string, bool) { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Rack) GetMountingDepthOk() (*int32, bool) { if o == nil { return nil, false } - return &o.Name, true + return o.MountingDepth.Get(), o.MountingDepth.IsSet() } -// SetName sets field value -func (o *Rack) SetName(v string) { - o.Name = v +// HasMountingDepth returns a boolean if a field has been set. +func (o *Rack) HasMountingDepth() bool { + if o != nil && o.MountingDepth.IsSet() { + return true + } + + return false +} + +// SetMountingDepth gets a reference to the given NullableInt32 and assigns it to the MountingDepth field. +func (o *Rack) SetMountingDepth(v int32) { + o.MountingDepth.Set(&v) +} + +// SetMountingDepthNil sets the value for MountingDepth to be an explicit nil +func (o *Rack) SetMountingDepthNil() { + o.MountingDepth.Set(nil) +} + +// UnsetMountingDepth ensures that no value is present for MountingDepth, not even an explicit nil +func (o *Rack) UnsetMountingDepth() { + o.MountingDepth.Unset() +} + +// GetAirflow returns the Airflow field value if set, zero value otherwise. +func (o *Rack) GetAirflow() RackAirflow { + if o == nil || IsNil(o.Airflow) { + var ret RackAirflow + return ret + } + return *o.Airflow +} + +// GetAirflowOk returns a tuple with the Airflow field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Rack) GetAirflowOk() (*RackAirflow, bool) { + if o == nil || IsNil(o.Airflow) { + return nil, false + } + return o.Airflow, true +} + +// HasAirflow returns a boolean if a field has been set. +func (o *Rack) HasAirflow() bool { + if o != nil && !IsNil(o.Airflow) { + return true + } + + return false +} + +// SetAirflow gets a reference to the given RackAirflow and assigns it to the Airflow field. +func (o *Rack) SetAirflow(v RackAirflow) { + o.Airflow = &v } // GetDescription returns the Description field value if set, zero value otherwise. @@ -181,28 +1104,208 @@ func (o *Rack) SetDescription(v string) { o.Description = &v } -// GetDeviceCount returns the DeviceCount field value +// GetComments returns the Comments field value if set, zero value otherwise. +func (o *Rack) GetComments() string { + if o == nil || IsNil(o.Comments) { + var ret string + return ret + } + return *o.Comments +} + +// GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Rack) GetCommentsOk() (*string, bool) { + if o == nil || IsNil(o.Comments) { + return nil, false + } + return o.Comments, true +} + +// HasComments returns a boolean if a field has been set. +func (o *Rack) HasComments() bool { + if o != nil && !IsNil(o.Comments) { + return true + } + + return false +} + +// SetComments gets a reference to the given string and assigns it to the Comments field. +func (o *Rack) SetComments(v string) { + o.Comments = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *Rack) GetTags() []NestedTag { + if o == nil || IsNil(o.Tags) { + var ret []NestedTag + 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 *Rack) GetTagsOk() ([]NestedTag, 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 *Rack) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTag and assigns it to the Tags field. +func (o *Rack) SetTags(v []NestedTag) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *Rack) 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 *Rack) 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 *Rack) 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 *Rack) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetCreated returns the Created field value +// If the value is explicit nil, the zero value for time.Time will be returned +func (o *Rack) 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 *Rack) GetCreatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.Created.Get(), o.Created.IsSet() +} + +// SetCreated sets field value +func (o *Rack) 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 *Rack) 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 *Rack) GetLastUpdatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LastUpdated.Get(), o.LastUpdated.IsSet() +} + +// SetLastUpdated sets field value +func (o *Rack) SetLastUpdated(v time.Time) { + o.LastUpdated.Set(&v) +} + +// GetDeviceCount returns the DeviceCount field value if set, zero value otherwise. func (o *Rack) GetDeviceCount() int64 { + if o == nil || IsNil(o.DeviceCount) { + var ret int64 + return ret + } + return *o.DeviceCount +} + +// GetDeviceCountOk returns a tuple with the DeviceCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Rack) GetDeviceCountOk() (*int64, bool) { + if o == nil || IsNil(o.DeviceCount) { + return nil, false + } + return o.DeviceCount, true +} + +// HasDeviceCount returns a boolean if a field has been set. +func (o *Rack) HasDeviceCount() bool { + if o != nil && !IsNil(o.DeviceCount) { + return true + } + + return false +} + +// SetDeviceCount gets a reference to the given int64 and assigns it to the DeviceCount field. +func (o *Rack) SetDeviceCount(v int64) { + o.DeviceCount = &v +} + +// GetPowerfeedCount returns the PowerfeedCount field value +func (o *Rack) GetPowerfeedCount() int64 { if o == nil { var ret int64 return ret } - return o.DeviceCount + return o.PowerfeedCount } -// GetDeviceCountOk returns a tuple with the DeviceCount field value +// GetPowerfeedCountOk returns a tuple with the PowerfeedCount field value // and a boolean to check if the value has been set. -func (o *Rack) GetDeviceCountOk() (*int64, bool) { +func (o *Rack) GetPowerfeedCountOk() (*int64, bool) { if o == nil { return nil, false } - return &o.DeviceCount, true + return &o.PowerfeedCount, true } -// SetDeviceCount sets field value -func (o *Rack) SetDeviceCount(v int64) { - o.DeviceCount = v +// SetPowerfeedCount sets field value +func (o *Rack) SetPowerfeedCount(v int64) { + o.PowerfeedCount = v } func (o Rack) MarshalJSON() ([]byte, error) { @@ -217,12 +1320,93 @@ func (o Rack) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["name"] = o.Name + if o.FacilityId.IsSet() { + toSerialize["facility_id"] = o.FacilityId.Get() + } + toSerialize["site"] = o.Site + if o.Location.IsSet() { + toSerialize["location"] = o.Location.Get() + } + if o.Tenant.IsSet() { + toSerialize["tenant"] = o.Tenant.Get() + } + if !IsNil(o.Status) { + toSerialize["status"] = o.Status + } + if o.Role.IsSet() { + toSerialize["role"] = o.Role.Get() + } + if !IsNil(o.Serial) { + toSerialize["serial"] = o.Serial + } + if o.AssetTag.IsSet() { + toSerialize["asset_tag"] = o.AssetTag.Get() + } + if o.RackType.IsSet() { + toSerialize["rack_type"] = o.RackType.Get() + } + if o.FormFactor.IsSet() { + toSerialize["form_factor"] = o.FormFactor.Get() + } + if !IsNil(o.Width) { + toSerialize["width"] = o.Width + } + if !IsNil(o.UHeight) { + toSerialize["u_height"] = o.UHeight + } + if !IsNil(o.StartingUnit) { + toSerialize["starting_unit"] = o.StartingUnit + } + if o.Weight.IsSet() { + toSerialize["weight"] = o.Weight.Get() + } + if o.MaxWeight.IsSet() { + toSerialize["max_weight"] = o.MaxWeight.Get() + } + if o.WeightUnit.IsSet() { + toSerialize["weight_unit"] = o.WeightUnit.Get() + } + if !IsNil(o.DescUnits) { + toSerialize["desc_units"] = o.DescUnits + } + if o.OuterWidth.IsSet() { + toSerialize["outer_width"] = o.OuterWidth.Get() + } + if o.OuterDepth.IsSet() { + toSerialize["outer_depth"] = o.OuterDepth.Get() + } + if o.OuterUnit.IsSet() { + toSerialize["outer_unit"] = o.OuterUnit.Get() + } + if o.MountingDepth.IsSet() { + toSerialize["mounting_depth"] = o.MountingDepth.Get() + } + if !IsNil(o.Airflow) { + toSerialize["airflow"] = o.Airflow + } if !IsNil(o.Description) { toSerialize["description"] = o.Description } - toSerialize["device_count"] = o.DeviceCount + if !IsNil(o.Comments) { + toSerialize["comments"] = o.Comments + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + toSerialize["created"] = o.Created.Get() + toSerialize["last_updated"] = o.LastUpdated.Get() + if !IsNil(o.DeviceCount) { + toSerialize["device_count"] = o.DeviceCount + } + toSerialize["powerfeed_count"] = o.PowerfeedCount for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -240,7 +1424,10 @@ func (o *Rack) UnmarshalJSON(data []byte) (err error) { "url", "display", "name", - "device_count", + "site", + "created", + "last_updated", + "powerfeed_count", } allProperties := make(map[string]interface{}) @@ -272,10 +1459,39 @@ func (o *Rack) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") + delete(additionalProperties, "facility_id") + delete(additionalProperties, "site") + delete(additionalProperties, "location") + delete(additionalProperties, "tenant") + delete(additionalProperties, "status") + delete(additionalProperties, "role") + delete(additionalProperties, "serial") + delete(additionalProperties, "asset_tag") + delete(additionalProperties, "rack_type") + delete(additionalProperties, "form_factor") + delete(additionalProperties, "width") + delete(additionalProperties, "u_height") + delete(additionalProperties, "starting_unit") + delete(additionalProperties, "weight") + delete(additionalProperties, "max_weight") + delete(additionalProperties, "weight_unit") + delete(additionalProperties, "desc_units") + delete(additionalProperties, "outer_width") + delete(additionalProperties, "outer_depth") + delete(additionalProperties, "outer_unit") + delete(additionalProperties, "mounting_depth") + delete(additionalProperties, "airflow") delete(additionalProperties, "description") + delete(additionalProperties, "comments") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "created") + delete(additionalProperties, "last_updated") delete(additionalProperties, "device_count") + delete(additionalProperties, "powerfeed_count") o.AdditionalProperties = additionalProperties } diff --git a/model_rack_airflow.go b/model_rack_airflow.go new file mode 100644 index 000000000..0242e3c97 --- /dev/null +++ b/model_rack_airflow.go @@ -0,0 +1,190 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" +) + +// checks if the RackAirflow type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &RackAirflow{} + +// RackAirflow struct for RackAirflow +type RackAirflow struct { + Value *PatchedWritableRackRequestAirflow `json:"value,omitempty"` + Label *RackAirflowLabel `json:"label,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _RackAirflow RackAirflow + +// NewRackAirflow instantiates a new RackAirflow object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewRackAirflow() *RackAirflow { + this := RackAirflow{} + return &this +} + +// NewRackAirflowWithDefaults instantiates a new RackAirflow object +// This 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 NewRackAirflowWithDefaults() *RackAirflow { + this := RackAirflow{} + return &this +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *RackAirflow) GetValue() PatchedWritableRackRequestAirflow { + if o == nil || IsNil(o.Value) { + var ret PatchedWritableRackRequestAirflow + 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 *RackAirflow) GetValueOk() (*PatchedWritableRackRequestAirflow, 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 *RackAirflow) HasValue() bool { + if o != nil && !IsNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given PatchedWritableRackRequestAirflow and assigns it to the Value field. +func (o *RackAirflow) SetValue(v PatchedWritableRackRequestAirflow) { + o.Value = &v +} + +// GetLabel returns the Label field value if set, zero value otherwise. +func (o *RackAirflow) GetLabel() RackAirflowLabel { + if o == nil || IsNil(o.Label) { + var ret RackAirflowLabel + 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 *RackAirflow) GetLabelOk() (*RackAirflowLabel, 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 *RackAirflow) HasLabel() bool { + if o != nil && !IsNil(o.Label) { + return true + } + + return false +} + +// SetLabel gets a reference to the given RackAirflowLabel and assigns it to the Label field. +func (o *RackAirflow) SetLabel(v RackAirflowLabel) { + o.Label = &v +} + +func (o RackAirflow) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o RackAirflow) 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 *RackAirflow) UnmarshalJSON(data []byte) (err error) { + varRackAirflow := _RackAirflow{} + + err = json.Unmarshal(data, &varRackAirflow) + + if err != nil { + return err + } + + *o = RackAirflow(varRackAirflow) + + 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 NullableRackAirflow struct { + value *RackAirflow + isSet bool +} + +func (v NullableRackAirflow) Get() *RackAirflow { + return v.value +} + +func (v *NullableRackAirflow) Set(val *RackAirflow) { + v.value = val + v.isSet = true +} + +func (v NullableRackAirflow) IsSet() bool { + return v.isSet +} + +func (v *NullableRackAirflow) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRackAirflow(val *RackAirflow) *NullableRackAirflow { + return &NullableRackAirflow{value: val, isSet: true} +} + +func (v NullableRackAirflow) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRackAirflow) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_rack_airflow_label.go b/model_rack_airflow_label.go new file mode 100644 index 000000000..544520f1a --- /dev/null +++ b/model_rack_airflow_label.go @@ -0,0 +1,110 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// RackAirflowLabel the model 'RackAirflowLabel' +type RackAirflowLabel string + +// List of Rack_airflow_label +const ( + RACKAIRFLOWLABEL_FRONT_TO_REAR RackAirflowLabel = "Front to rear" + RACKAIRFLOWLABEL_REAR_TO_FRONT RackAirflowLabel = "Rear to front" +) + +// All allowed values of RackAirflowLabel enum +var AllowedRackAirflowLabelEnumValues = []RackAirflowLabel{ + "Front to rear", + "Rear to front", +} + +func (v *RackAirflowLabel) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := RackAirflowLabel(value) + for _, existing := range AllowedRackAirflowLabelEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid RackAirflowLabel", value) +} + +// NewRackAirflowLabelFromValue returns a pointer to a valid RackAirflowLabel +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewRackAirflowLabelFromValue(v string) (*RackAirflowLabel, error) { + ev := RackAirflowLabel(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for RackAirflowLabel: valid values are %v", v, AllowedRackAirflowLabelEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v RackAirflowLabel) IsValid() bool { + for _, existing := range AllowedRackAirflowLabelEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to Rack_airflow_label value +func (v RackAirflowLabel) Ptr() *RackAirflowLabel { + return &v +} + +type NullableRackAirflowLabel struct { + value *RackAirflowLabel + isSet bool +} + +func (v NullableRackAirflowLabel) Get() *RackAirflowLabel { + return v.value +} + +func (v *NullableRackAirflowLabel) Set(val *RackAirflowLabel) { + v.value = val + v.isSet = true +} + +func (v NullableRackAirflowLabel) IsSet() bool { + return v.isSet +} + +func (v *NullableRackAirflowLabel) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRackAirflowLabel(val *RackAirflowLabel) *NullableRackAirflowLabel { + return &NullableRackAirflowLabel{value: val, isSet: true} +} + +func (v NullableRackAirflowLabel) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRackAirflowLabel) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_rack_face.go b/model_rack_face.go index a0c96cd51..b4d5b66df 100644 --- a/model_rack_face.go +++ b/model_rack_face.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_rack_face_1.go b/model_rack_face_1.go index bbb650941..e3ab5dc11 100644 --- a/model_rack_face_1.go +++ b/model_rack_face_1.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_rack_form_factor.go b/model_rack_form_factor.go new file mode 100644 index 000000000..ebbd44515 --- /dev/null +++ b/model_rack_form_factor.go @@ -0,0 +1,190 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" +) + +// checks if the RackFormFactor type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &RackFormFactor{} + +// RackFormFactor struct for RackFormFactor +type RackFormFactor struct { + Value *PatchedWritableRackRequestFormFactor `json:"value,omitempty"` + Label *RackFormFactorLabel `json:"label,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _RackFormFactor RackFormFactor + +// NewRackFormFactor instantiates a new RackFormFactor object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewRackFormFactor() *RackFormFactor { + this := RackFormFactor{} + return &this +} + +// NewRackFormFactorWithDefaults instantiates a new RackFormFactor object +// This 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 NewRackFormFactorWithDefaults() *RackFormFactor { + this := RackFormFactor{} + return &this +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *RackFormFactor) GetValue() PatchedWritableRackRequestFormFactor { + if o == nil || IsNil(o.Value) { + var ret PatchedWritableRackRequestFormFactor + 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 *RackFormFactor) GetValueOk() (*PatchedWritableRackRequestFormFactor, 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 *RackFormFactor) HasValue() bool { + if o != nil && !IsNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given PatchedWritableRackRequestFormFactor and assigns it to the Value field. +func (o *RackFormFactor) SetValue(v PatchedWritableRackRequestFormFactor) { + o.Value = &v +} + +// GetLabel returns the Label field value if set, zero value otherwise. +func (o *RackFormFactor) GetLabel() RackFormFactorLabel { + if o == nil || IsNil(o.Label) { + var ret RackFormFactorLabel + 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 *RackFormFactor) GetLabelOk() (*RackFormFactorLabel, 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 *RackFormFactor) HasLabel() bool { + if o != nil && !IsNil(o.Label) { + return true + } + + return false +} + +// SetLabel gets a reference to the given RackFormFactorLabel and assigns it to the Label field. +func (o *RackFormFactor) SetLabel(v RackFormFactorLabel) { + o.Label = &v +} + +func (o RackFormFactor) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o RackFormFactor) 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 *RackFormFactor) UnmarshalJSON(data []byte) (err error) { + varRackFormFactor := _RackFormFactor{} + + err = json.Unmarshal(data, &varRackFormFactor) + + if err != nil { + return err + } + + *o = RackFormFactor(varRackFormFactor) + + 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 NullableRackFormFactor struct { + value *RackFormFactor + isSet bool +} + +func (v NullableRackFormFactor) Get() *RackFormFactor { + return v.value +} + +func (v *NullableRackFormFactor) Set(val *RackFormFactor) { + v.value = val + v.isSet = true +} + +func (v NullableRackFormFactor) IsSet() bool { + return v.isSet +} + +func (v *NullableRackFormFactor) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRackFormFactor(val *RackFormFactor) *NullableRackFormFactor { + return &NullableRackFormFactor{value: val, isSet: true} +} + +func (v NullableRackFormFactor) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRackFormFactor) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_rack_form_factor_label.go b/model_rack_form_factor_label.go new file mode 100644 index 000000000..ff8b8bbf5 --- /dev/null +++ b/model_rack_form_factor_label.go @@ -0,0 +1,120 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// RackFormFactorLabel the model 'RackFormFactorLabel' +type RackFormFactorLabel string + +// List of Rack_form_factor_label +const ( + RACKFORMFACTORLABEL__2_POST_FRAME RackFormFactorLabel = "2-post frame" + RACKFORMFACTORLABEL__4_POST_FRAME RackFormFactorLabel = "4-post frame" + RACKFORMFACTORLABEL__4_POST_CABINET RackFormFactorLabel = "4-post cabinet" + RACKFORMFACTORLABEL_WALL_MOUNTED_FRAME RackFormFactorLabel = "Wall-mounted frame" + RACKFORMFACTORLABEL_WALL_MOUNTED_FRAME__VERTICAL RackFormFactorLabel = "Wall-mounted frame (vertical)" + RACKFORMFACTORLABEL_WALL_MOUNTED_CABINET RackFormFactorLabel = "Wall-mounted cabinet" + RACKFORMFACTORLABEL_WALL_MOUNTED_CABINET__VERTICAL RackFormFactorLabel = "Wall-mounted cabinet (vertical)" +) + +// All allowed values of RackFormFactorLabel enum +var AllowedRackFormFactorLabelEnumValues = []RackFormFactorLabel{ + "2-post frame", + "4-post frame", + "4-post cabinet", + "Wall-mounted frame", + "Wall-mounted frame (vertical)", + "Wall-mounted cabinet", + "Wall-mounted cabinet (vertical)", +} + +func (v *RackFormFactorLabel) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := RackFormFactorLabel(value) + for _, existing := range AllowedRackFormFactorLabelEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid RackFormFactorLabel", value) +} + +// NewRackFormFactorLabelFromValue returns a pointer to a valid RackFormFactorLabel +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewRackFormFactorLabelFromValue(v string) (*RackFormFactorLabel, error) { + ev := RackFormFactorLabel(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for RackFormFactorLabel: valid values are %v", v, AllowedRackFormFactorLabelEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v RackFormFactorLabel) IsValid() bool { + for _, existing := range AllowedRackFormFactorLabelEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to Rack_form_factor_label value +func (v RackFormFactorLabel) Ptr() *RackFormFactorLabel { + return &v +} + +type NullableRackFormFactorLabel struct { + value *RackFormFactorLabel + isSet bool +} + +func (v NullableRackFormFactorLabel) Get() *RackFormFactorLabel { + return v.value +} + +func (v *NullableRackFormFactorLabel) Set(val *RackFormFactorLabel) { + v.value = val + v.isSet = true +} + +func (v NullableRackFormFactorLabel) IsSet() bool { + return v.isSet +} + +func (v *NullableRackFormFactorLabel) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRackFormFactorLabel(val *RackFormFactorLabel) *NullableRackFormFactorLabel { + return &NullableRackFormFactorLabel{value: val, isSet: true} +} + +func (v NullableRackFormFactorLabel) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRackFormFactorLabel) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_rack_outer_unit.go b/model_rack_outer_unit.go new file mode 100644 index 000000000..87cacf9ec --- /dev/null +++ b/model_rack_outer_unit.go @@ -0,0 +1,190 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" +) + +// checks if the RackOuterUnit type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &RackOuterUnit{} + +// RackOuterUnit struct for RackOuterUnit +type RackOuterUnit struct { + Value *PatchedWritableRackRequestOuterUnit `json:"value,omitempty"` + Label *RackOuterUnitLabel `json:"label,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _RackOuterUnit RackOuterUnit + +// NewRackOuterUnit instantiates a new RackOuterUnit object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewRackOuterUnit() *RackOuterUnit { + this := RackOuterUnit{} + return &this +} + +// NewRackOuterUnitWithDefaults instantiates a new RackOuterUnit object +// This 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 NewRackOuterUnitWithDefaults() *RackOuterUnit { + this := RackOuterUnit{} + return &this +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *RackOuterUnit) GetValue() PatchedWritableRackRequestOuterUnit { + if o == nil || IsNil(o.Value) { + var ret PatchedWritableRackRequestOuterUnit + 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 *RackOuterUnit) GetValueOk() (*PatchedWritableRackRequestOuterUnit, 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 *RackOuterUnit) HasValue() bool { + if o != nil && !IsNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given PatchedWritableRackRequestOuterUnit and assigns it to the Value field. +func (o *RackOuterUnit) SetValue(v PatchedWritableRackRequestOuterUnit) { + o.Value = &v +} + +// GetLabel returns the Label field value if set, zero value otherwise. +func (o *RackOuterUnit) GetLabel() RackOuterUnitLabel { + if o == nil || IsNil(o.Label) { + var ret RackOuterUnitLabel + 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 *RackOuterUnit) GetLabelOk() (*RackOuterUnitLabel, 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 *RackOuterUnit) HasLabel() bool { + if o != nil && !IsNil(o.Label) { + return true + } + + return false +} + +// SetLabel gets a reference to the given RackOuterUnitLabel and assigns it to the Label field. +func (o *RackOuterUnit) SetLabel(v RackOuterUnitLabel) { + o.Label = &v +} + +func (o RackOuterUnit) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o RackOuterUnit) 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 *RackOuterUnit) UnmarshalJSON(data []byte) (err error) { + varRackOuterUnit := _RackOuterUnit{} + + err = json.Unmarshal(data, &varRackOuterUnit) + + if err != nil { + return err + } + + *o = RackOuterUnit(varRackOuterUnit) + + 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 NullableRackOuterUnit struct { + value *RackOuterUnit + isSet bool +} + +func (v NullableRackOuterUnit) Get() *RackOuterUnit { + return v.value +} + +func (v *NullableRackOuterUnit) Set(val *RackOuterUnit) { + v.value = val + v.isSet = true +} + +func (v NullableRackOuterUnit) IsSet() bool { + return v.isSet +} + +func (v *NullableRackOuterUnit) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRackOuterUnit(val *RackOuterUnit) *NullableRackOuterUnit { + return &NullableRackOuterUnit{value: val, isSet: true} +} + +func (v NullableRackOuterUnit) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRackOuterUnit) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_rack_outer_unit_label.go b/model_rack_outer_unit_label.go new file mode 100644 index 000000000..a95fe69e5 --- /dev/null +++ b/model_rack_outer_unit_label.go @@ -0,0 +1,110 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// RackOuterUnitLabel the model 'RackOuterUnitLabel' +type RackOuterUnitLabel string + +// List of Rack_outer_unit_label +const ( + RACKOUTERUNITLABEL_MILLIMETERS RackOuterUnitLabel = "Millimeters" + RACKOUTERUNITLABEL_INCHES RackOuterUnitLabel = "Inches" +) + +// All allowed values of RackOuterUnitLabel enum +var AllowedRackOuterUnitLabelEnumValues = []RackOuterUnitLabel{ + "Millimeters", + "Inches", +} + +func (v *RackOuterUnitLabel) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := RackOuterUnitLabel(value) + for _, existing := range AllowedRackOuterUnitLabelEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid RackOuterUnitLabel", value) +} + +// NewRackOuterUnitLabelFromValue returns a pointer to a valid RackOuterUnitLabel +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewRackOuterUnitLabelFromValue(v string) (*RackOuterUnitLabel, error) { + ev := RackOuterUnitLabel(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for RackOuterUnitLabel: valid values are %v", v, AllowedRackOuterUnitLabelEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v RackOuterUnitLabel) IsValid() bool { + for _, existing := range AllowedRackOuterUnitLabelEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to Rack_outer_unit_label value +func (v RackOuterUnitLabel) Ptr() *RackOuterUnitLabel { + return &v +} + +type NullableRackOuterUnitLabel struct { + value *RackOuterUnitLabel + isSet bool +} + +func (v NullableRackOuterUnitLabel) Get() *RackOuterUnitLabel { + return v.value +} + +func (v *NullableRackOuterUnitLabel) Set(val *RackOuterUnitLabel) { + v.value = val + v.isSet = true +} + +func (v NullableRackOuterUnitLabel) IsSet() bool { + return v.isSet +} + +func (v *NullableRackOuterUnitLabel) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRackOuterUnitLabel(val *RackOuterUnitLabel) *NullableRackOuterUnitLabel { + return &NullableRackOuterUnitLabel{value: val, isSet: true} +} + +func (v NullableRackOuterUnitLabel) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRackOuterUnitLabel) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_rack_request.go b/model_rack_request.go index 820be5e16..d2df4382c 100644 --- a/model_rack_request.go +++ b/model_rack_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,8 +20,41 @@ var _ MappedNullable = &RackRequest{} // RackRequest Adds support for custom fields and tags. type RackRequest struct { - Name string `json:"name"` - Description *string `json:"description,omitempty"` + Name string `json:"name"` + FacilityId NullableString `json:"facility_id,omitempty"` + Site BriefSiteRequest `json:"site"` + Location NullableBriefLocationRequest `json:"location,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` + Status *PatchedWritableRackRequestStatus `json:"status,omitempty"` + Role NullableBriefRackRoleRequest `json:"role,omitempty"` + Serial *string `json:"serial,omitempty"` + // A unique tag used to identify this rack + AssetTag NullableString `json:"asset_tag,omitempty"` + RackType NullableBriefRackTypeRequest `json:"rack_type,omitempty"` + FormFactor NullableRackRequestFormFactor `json:"form_factor,omitempty"` + Width *RackWidthValue `json:"width,omitempty"` + // Height in rack units + UHeight *int32 `json:"u_height,omitempty"` + // Starting unit for rack + StartingUnit *int32 `json:"starting_unit,omitempty"` + Weight NullableFloat64 `json:"weight,omitempty"` + // Maximum load capacity for the rack + MaxWeight NullableInt32 `json:"max_weight,omitempty"` + WeightUnit NullableDeviceTypeRequestWeightUnit `json:"weight_unit,omitempty"` + // Units are numbered top-to-bottom + DescUnits *bool `json:"desc_units,omitempty"` + // Outer dimension of rack (width) + OuterWidth NullableInt32 `json:"outer_width,omitempty"` + // Outer dimension of rack (depth) + OuterDepth NullableInt32 `json:"outer_depth,omitempty"` + OuterUnit NullableRackRequestOuterUnit `json:"outer_unit,omitempty"` + // Maximum depth of a mounted device, in millimeters. For four-post racks, this is the distance between the front and rear rails. + MountingDepth NullableInt32 `json:"mounting_depth,omitempty"` + Airflow *PatchedWritableRackRequestAirflow `json:"airflow,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -31,9 +64,10 @@ type _RackRequest RackRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewRackRequest(name string) *RackRequest { +func NewRackRequest(name string, site BriefSiteRequest) *RackRequest { this := RackRequest{} this.Name = name + this.Site = site return &this } @@ -69,6 +103,856 @@ func (o *RackRequest) SetName(v string) { o.Name = v } +// GetFacilityId returns the FacilityId field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RackRequest) GetFacilityId() string { + if o == nil || IsNil(o.FacilityId.Get()) { + var ret string + return ret + } + return *o.FacilityId.Get() +} + +// GetFacilityIdOk returns a tuple with the FacilityId 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 *RackRequest) GetFacilityIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.FacilityId.Get(), o.FacilityId.IsSet() +} + +// HasFacilityId returns a boolean if a field has been set. +func (o *RackRequest) HasFacilityId() bool { + if o != nil && o.FacilityId.IsSet() { + return true + } + + return false +} + +// SetFacilityId gets a reference to the given NullableString and assigns it to the FacilityId field. +func (o *RackRequest) SetFacilityId(v string) { + o.FacilityId.Set(&v) +} + +// SetFacilityIdNil sets the value for FacilityId to be an explicit nil +func (o *RackRequest) SetFacilityIdNil() { + o.FacilityId.Set(nil) +} + +// UnsetFacilityId ensures that no value is present for FacilityId, not even an explicit nil +func (o *RackRequest) UnsetFacilityId() { + o.FacilityId.Unset() +} + +// GetSite returns the Site field value +func (o *RackRequest) GetSite() BriefSiteRequest { + if o == nil { + var ret BriefSiteRequest + return ret + } + + return o.Site +} + +// GetSiteOk returns a tuple with the Site field value +// and a boolean to check if the value has been set. +func (o *RackRequest) GetSiteOk() (*BriefSiteRequest, bool) { + if o == nil { + return nil, false + } + return &o.Site, true +} + +// SetSite sets field value +func (o *RackRequest) SetSite(v BriefSiteRequest) { + o.Site = v +} + +// GetLocation returns the Location field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RackRequest) GetLocation() BriefLocationRequest { + if o == nil || IsNil(o.Location.Get()) { + var ret BriefLocationRequest + return ret + } + return *o.Location.Get() +} + +// GetLocationOk returns a tuple with the Location 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 *RackRequest) GetLocationOk() (*BriefLocationRequest, bool) { + if o == nil { + return nil, false + } + return o.Location.Get(), o.Location.IsSet() +} + +// HasLocation returns a boolean if a field has been set. +func (o *RackRequest) HasLocation() bool { + if o != nil && o.Location.IsSet() { + return true + } + + return false +} + +// SetLocation gets a reference to the given NullableBriefLocationRequest and assigns it to the Location field. +func (o *RackRequest) SetLocation(v BriefLocationRequest) { + o.Location.Set(&v) +} + +// SetLocationNil sets the value for Location to be an explicit nil +func (o *RackRequest) SetLocationNil() { + o.Location.Set(nil) +} + +// UnsetLocation ensures that no value is present for Location, not even an explicit nil +func (o *RackRequest) UnsetLocation() { + o.Location.Unset() +} + +// GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RackRequest) GetTenant() BriefTenantRequest { + if o == nil || IsNil(o.Tenant.Get()) { + var ret BriefTenantRequest + 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 *RackRequest) GetTenantOk() (*BriefTenantRequest, 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 *RackRequest) HasTenant() bool { + if o != nil && o.Tenant.IsSet() { + return true + } + + return false +} + +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *RackRequest) SetTenant(v BriefTenantRequest) { + o.Tenant.Set(&v) +} + +// SetTenantNil sets the value for Tenant to be an explicit nil +func (o *RackRequest) SetTenantNil() { + o.Tenant.Set(nil) +} + +// UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +func (o *RackRequest) UnsetTenant() { + o.Tenant.Unset() +} + +// GetStatus returns the Status field value if set, zero value otherwise. +func (o *RackRequest) GetStatus() PatchedWritableRackRequestStatus { + if o == nil || IsNil(o.Status) { + var ret PatchedWritableRackRequestStatus + 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 *RackRequest) GetStatusOk() (*PatchedWritableRackRequestStatus, 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 *RackRequest) HasStatus() bool { + if o != nil && !IsNil(o.Status) { + return true + } + + return false +} + +// SetStatus gets a reference to the given PatchedWritableRackRequestStatus and assigns it to the Status field. +func (o *RackRequest) SetStatus(v PatchedWritableRackRequestStatus) { + 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 *RackRequest) GetRole() BriefRackRoleRequest { + if o == nil || IsNil(o.Role.Get()) { + var ret BriefRackRoleRequest + 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 *RackRequest) GetRoleOk() (*BriefRackRoleRequest, 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 *RackRequest) HasRole() bool { + if o != nil && o.Role.IsSet() { + return true + } + + return false +} + +// SetRole gets a reference to the given NullableBriefRackRoleRequest and assigns it to the Role field. +func (o *RackRequest) SetRole(v BriefRackRoleRequest) { + o.Role.Set(&v) +} + +// SetRoleNil sets the value for Role to be an explicit nil +func (o *RackRequest) SetRoleNil() { + o.Role.Set(nil) +} + +// UnsetRole ensures that no value is present for Role, not even an explicit nil +func (o *RackRequest) UnsetRole() { + o.Role.Unset() +} + +// GetSerial returns the Serial field value if set, zero value otherwise. +func (o *RackRequest) GetSerial() string { + if o == nil || IsNil(o.Serial) { + var ret string + return ret + } + return *o.Serial +} + +// GetSerialOk returns a tuple with the Serial field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RackRequest) GetSerialOk() (*string, bool) { + if o == nil || IsNil(o.Serial) { + return nil, false + } + return o.Serial, true +} + +// HasSerial returns a boolean if a field has been set. +func (o *RackRequest) HasSerial() bool { + if o != nil && !IsNil(o.Serial) { + return true + } + + return false +} + +// SetSerial gets a reference to the given string and assigns it to the Serial field. +func (o *RackRequest) SetSerial(v string) { + o.Serial = &v +} + +// GetAssetTag returns the AssetTag field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RackRequest) GetAssetTag() string { + if o == nil || IsNil(o.AssetTag.Get()) { + var ret string + return ret + } + return *o.AssetTag.Get() +} + +// GetAssetTagOk returns a tuple with the AssetTag 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 *RackRequest) GetAssetTagOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.AssetTag.Get(), o.AssetTag.IsSet() +} + +// HasAssetTag returns a boolean if a field has been set. +func (o *RackRequest) HasAssetTag() bool { + if o != nil && o.AssetTag.IsSet() { + return true + } + + return false +} + +// SetAssetTag gets a reference to the given NullableString and assigns it to the AssetTag field. +func (o *RackRequest) SetAssetTag(v string) { + o.AssetTag.Set(&v) +} + +// SetAssetTagNil sets the value for AssetTag to be an explicit nil +func (o *RackRequest) SetAssetTagNil() { + o.AssetTag.Set(nil) +} + +// UnsetAssetTag ensures that no value is present for AssetTag, not even an explicit nil +func (o *RackRequest) UnsetAssetTag() { + o.AssetTag.Unset() +} + +// GetRackType returns the RackType field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RackRequest) GetRackType() BriefRackTypeRequest { + if o == nil || IsNil(o.RackType.Get()) { + var ret BriefRackTypeRequest + return ret + } + return *o.RackType.Get() +} + +// GetRackTypeOk returns a tuple with the RackType 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 *RackRequest) GetRackTypeOk() (*BriefRackTypeRequest, bool) { + if o == nil { + return nil, false + } + return o.RackType.Get(), o.RackType.IsSet() +} + +// HasRackType returns a boolean if a field has been set. +func (o *RackRequest) HasRackType() bool { + if o != nil && o.RackType.IsSet() { + return true + } + + return false +} + +// SetRackType gets a reference to the given NullableBriefRackTypeRequest and assigns it to the RackType field. +func (o *RackRequest) SetRackType(v BriefRackTypeRequest) { + o.RackType.Set(&v) +} + +// SetRackTypeNil sets the value for RackType to be an explicit nil +func (o *RackRequest) SetRackTypeNil() { + o.RackType.Set(nil) +} + +// UnsetRackType ensures that no value is present for RackType, not even an explicit nil +func (o *RackRequest) UnsetRackType() { + o.RackType.Unset() +} + +// GetFormFactor returns the FormFactor field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RackRequest) GetFormFactor() RackRequestFormFactor { + if o == nil || IsNil(o.FormFactor.Get()) { + var ret RackRequestFormFactor + return ret + } + return *o.FormFactor.Get() +} + +// GetFormFactorOk returns a tuple with the FormFactor 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 *RackRequest) GetFormFactorOk() (*RackRequestFormFactor, bool) { + if o == nil { + return nil, false + } + return o.FormFactor.Get(), o.FormFactor.IsSet() +} + +// HasFormFactor returns a boolean if a field has been set. +func (o *RackRequest) HasFormFactor() bool { + if o != nil && o.FormFactor.IsSet() { + return true + } + + return false +} + +// SetFormFactor gets a reference to the given NullableRackRequestFormFactor and assigns it to the FormFactor field. +func (o *RackRequest) SetFormFactor(v RackRequestFormFactor) { + o.FormFactor.Set(&v) +} + +// SetFormFactorNil sets the value for FormFactor to be an explicit nil +func (o *RackRequest) SetFormFactorNil() { + o.FormFactor.Set(nil) +} + +// UnsetFormFactor ensures that no value is present for FormFactor, not even an explicit nil +func (o *RackRequest) UnsetFormFactor() { + o.FormFactor.Unset() +} + +// GetWidth returns the Width field value if set, zero value otherwise. +func (o *RackRequest) GetWidth() RackWidthValue { + if o == nil || IsNil(o.Width) { + var ret RackWidthValue + return ret + } + return *o.Width +} + +// GetWidthOk returns a tuple with the Width field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RackRequest) GetWidthOk() (*RackWidthValue, bool) { + if o == nil || IsNil(o.Width) { + return nil, false + } + return o.Width, true +} + +// HasWidth returns a boolean if a field has been set. +func (o *RackRequest) HasWidth() bool { + if o != nil && !IsNil(o.Width) { + return true + } + + return false +} + +// SetWidth gets a reference to the given RackWidthValue and assigns it to the Width field. +func (o *RackRequest) SetWidth(v RackWidthValue) { + o.Width = &v +} + +// GetUHeight returns the UHeight field value if set, zero value otherwise. +func (o *RackRequest) GetUHeight() int32 { + if o == nil || IsNil(o.UHeight) { + var ret int32 + return ret + } + return *o.UHeight +} + +// GetUHeightOk returns a tuple with the UHeight field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RackRequest) GetUHeightOk() (*int32, bool) { + if o == nil || IsNil(o.UHeight) { + return nil, false + } + return o.UHeight, true +} + +// HasUHeight returns a boolean if a field has been set. +func (o *RackRequest) HasUHeight() bool { + if o != nil && !IsNil(o.UHeight) { + return true + } + + return false +} + +// SetUHeight gets a reference to the given int32 and assigns it to the UHeight field. +func (o *RackRequest) SetUHeight(v int32) { + o.UHeight = &v +} + +// GetStartingUnit returns the StartingUnit field value if set, zero value otherwise. +func (o *RackRequest) GetStartingUnit() int32 { + if o == nil || IsNil(o.StartingUnit) { + var ret int32 + return ret + } + return *o.StartingUnit +} + +// GetStartingUnitOk returns a tuple with the StartingUnit field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RackRequest) GetStartingUnitOk() (*int32, bool) { + if o == nil || IsNil(o.StartingUnit) { + return nil, false + } + return o.StartingUnit, true +} + +// HasStartingUnit returns a boolean if a field has been set. +func (o *RackRequest) HasStartingUnit() bool { + if o != nil && !IsNil(o.StartingUnit) { + return true + } + + return false +} + +// SetStartingUnit gets a reference to the given int32 and assigns it to the StartingUnit field. +func (o *RackRequest) SetStartingUnit(v int32) { + o.StartingUnit = &v +} + +// GetWeight returns the Weight field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RackRequest) GetWeight() float64 { + if o == nil || IsNil(o.Weight.Get()) { + var ret float64 + return ret + } + return *o.Weight.Get() +} + +// GetWeightOk returns a tuple with the Weight 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 *RackRequest) GetWeightOk() (*float64, bool) { + if o == nil { + return nil, false + } + return o.Weight.Get(), o.Weight.IsSet() +} + +// HasWeight returns a boolean if a field has been set. +func (o *RackRequest) HasWeight() bool { + if o != nil && o.Weight.IsSet() { + return true + } + + return false +} + +// SetWeight gets a reference to the given NullableFloat64 and assigns it to the Weight field. +func (o *RackRequest) SetWeight(v float64) { + o.Weight.Set(&v) +} + +// SetWeightNil sets the value for Weight to be an explicit nil +func (o *RackRequest) SetWeightNil() { + o.Weight.Set(nil) +} + +// UnsetWeight ensures that no value is present for Weight, not even an explicit nil +func (o *RackRequest) UnsetWeight() { + o.Weight.Unset() +} + +// GetMaxWeight returns the MaxWeight field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RackRequest) GetMaxWeight() int32 { + if o == nil || IsNil(o.MaxWeight.Get()) { + var ret int32 + return ret + } + return *o.MaxWeight.Get() +} + +// GetMaxWeightOk returns a tuple with the MaxWeight 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 *RackRequest) GetMaxWeightOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.MaxWeight.Get(), o.MaxWeight.IsSet() +} + +// HasMaxWeight returns a boolean if a field has been set. +func (o *RackRequest) HasMaxWeight() bool { + if o != nil && o.MaxWeight.IsSet() { + return true + } + + return false +} + +// SetMaxWeight gets a reference to the given NullableInt32 and assigns it to the MaxWeight field. +func (o *RackRequest) SetMaxWeight(v int32) { + o.MaxWeight.Set(&v) +} + +// SetMaxWeightNil sets the value for MaxWeight to be an explicit nil +func (o *RackRequest) SetMaxWeightNil() { + o.MaxWeight.Set(nil) +} + +// UnsetMaxWeight ensures that no value is present for MaxWeight, not even an explicit nil +func (o *RackRequest) UnsetMaxWeight() { + o.MaxWeight.Unset() +} + +// GetWeightUnit returns the WeightUnit field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RackRequest) GetWeightUnit() DeviceTypeRequestWeightUnit { + if o == nil || IsNil(o.WeightUnit.Get()) { + var ret DeviceTypeRequestWeightUnit + return ret + } + return *o.WeightUnit.Get() +} + +// GetWeightUnitOk returns a tuple with the WeightUnit 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 *RackRequest) GetWeightUnitOk() (*DeviceTypeRequestWeightUnit, bool) { + if o == nil { + return nil, false + } + return o.WeightUnit.Get(), o.WeightUnit.IsSet() +} + +// HasWeightUnit returns a boolean if a field has been set. +func (o *RackRequest) HasWeightUnit() bool { + if o != nil && o.WeightUnit.IsSet() { + return true + } + + return false +} + +// SetWeightUnit gets a reference to the given NullableDeviceTypeRequestWeightUnit and assigns it to the WeightUnit field. +func (o *RackRequest) SetWeightUnit(v DeviceTypeRequestWeightUnit) { + o.WeightUnit.Set(&v) +} + +// SetWeightUnitNil sets the value for WeightUnit to be an explicit nil +func (o *RackRequest) SetWeightUnitNil() { + o.WeightUnit.Set(nil) +} + +// UnsetWeightUnit ensures that no value is present for WeightUnit, not even an explicit nil +func (o *RackRequest) UnsetWeightUnit() { + o.WeightUnit.Unset() +} + +// GetDescUnits returns the DescUnits field value if set, zero value otherwise. +func (o *RackRequest) GetDescUnits() bool { + if o == nil || IsNil(o.DescUnits) { + var ret bool + return ret + } + return *o.DescUnits +} + +// GetDescUnitsOk returns a tuple with the DescUnits field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RackRequest) GetDescUnitsOk() (*bool, bool) { + if o == nil || IsNil(o.DescUnits) { + return nil, false + } + return o.DescUnits, true +} + +// HasDescUnits returns a boolean if a field has been set. +func (o *RackRequest) HasDescUnits() bool { + if o != nil && !IsNil(o.DescUnits) { + return true + } + + return false +} + +// SetDescUnits gets a reference to the given bool and assigns it to the DescUnits field. +func (o *RackRequest) SetDescUnits(v bool) { + o.DescUnits = &v +} + +// GetOuterWidth returns the OuterWidth field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RackRequest) GetOuterWidth() int32 { + if o == nil || IsNil(o.OuterWidth.Get()) { + var ret int32 + return ret + } + return *o.OuterWidth.Get() +} + +// GetOuterWidthOk returns a tuple with the OuterWidth 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 *RackRequest) GetOuterWidthOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.OuterWidth.Get(), o.OuterWidth.IsSet() +} + +// HasOuterWidth returns a boolean if a field has been set. +func (o *RackRequest) HasOuterWidth() bool { + if o != nil && o.OuterWidth.IsSet() { + return true + } + + return false +} + +// SetOuterWidth gets a reference to the given NullableInt32 and assigns it to the OuterWidth field. +func (o *RackRequest) SetOuterWidth(v int32) { + o.OuterWidth.Set(&v) +} + +// SetOuterWidthNil sets the value for OuterWidth to be an explicit nil +func (o *RackRequest) SetOuterWidthNil() { + o.OuterWidth.Set(nil) +} + +// UnsetOuterWidth ensures that no value is present for OuterWidth, not even an explicit nil +func (o *RackRequest) UnsetOuterWidth() { + o.OuterWidth.Unset() +} + +// GetOuterDepth returns the OuterDepth field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RackRequest) GetOuterDepth() int32 { + if o == nil || IsNil(o.OuterDepth.Get()) { + var ret int32 + return ret + } + return *o.OuterDepth.Get() +} + +// GetOuterDepthOk returns a tuple with the OuterDepth 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 *RackRequest) GetOuterDepthOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.OuterDepth.Get(), o.OuterDepth.IsSet() +} + +// HasOuterDepth returns a boolean if a field has been set. +func (o *RackRequest) HasOuterDepth() bool { + if o != nil && o.OuterDepth.IsSet() { + return true + } + + return false +} + +// SetOuterDepth gets a reference to the given NullableInt32 and assigns it to the OuterDepth field. +func (o *RackRequest) SetOuterDepth(v int32) { + o.OuterDepth.Set(&v) +} + +// SetOuterDepthNil sets the value for OuterDepth to be an explicit nil +func (o *RackRequest) SetOuterDepthNil() { + o.OuterDepth.Set(nil) +} + +// UnsetOuterDepth ensures that no value is present for OuterDepth, not even an explicit nil +func (o *RackRequest) UnsetOuterDepth() { + o.OuterDepth.Unset() +} + +// GetOuterUnit returns the OuterUnit field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RackRequest) GetOuterUnit() RackRequestOuterUnit { + if o == nil || IsNil(o.OuterUnit.Get()) { + var ret RackRequestOuterUnit + return ret + } + return *o.OuterUnit.Get() +} + +// GetOuterUnitOk returns a tuple with the OuterUnit 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 *RackRequest) GetOuterUnitOk() (*RackRequestOuterUnit, bool) { + if o == nil { + return nil, false + } + return o.OuterUnit.Get(), o.OuterUnit.IsSet() +} + +// HasOuterUnit returns a boolean if a field has been set. +func (o *RackRequest) HasOuterUnit() bool { + if o != nil && o.OuterUnit.IsSet() { + return true + } + + return false +} + +// SetOuterUnit gets a reference to the given NullableRackRequestOuterUnit and assigns it to the OuterUnit field. +func (o *RackRequest) SetOuterUnit(v RackRequestOuterUnit) { + o.OuterUnit.Set(&v) +} + +// SetOuterUnitNil sets the value for OuterUnit to be an explicit nil +func (o *RackRequest) SetOuterUnitNil() { + o.OuterUnit.Set(nil) +} + +// UnsetOuterUnit ensures that no value is present for OuterUnit, not even an explicit nil +func (o *RackRequest) UnsetOuterUnit() { + o.OuterUnit.Unset() +} + +// GetMountingDepth returns the MountingDepth field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RackRequest) GetMountingDepth() int32 { + if o == nil || IsNil(o.MountingDepth.Get()) { + var ret int32 + return ret + } + return *o.MountingDepth.Get() +} + +// GetMountingDepthOk returns a tuple with the MountingDepth 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 *RackRequest) GetMountingDepthOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.MountingDepth.Get(), o.MountingDepth.IsSet() +} + +// HasMountingDepth returns a boolean if a field has been set. +func (o *RackRequest) HasMountingDepth() bool { + if o != nil && o.MountingDepth.IsSet() { + return true + } + + return false +} + +// SetMountingDepth gets a reference to the given NullableInt32 and assigns it to the MountingDepth field. +func (o *RackRequest) SetMountingDepth(v int32) { + o.MountingDepth.Set(&v) +} + +// SetMountingDepthNil sets the value for MountingDepth to be an explicit nil +func (o *RackRequest) SetMountingDepthNil() { + o.MountingDepth.Set(nil) +} + +// UnsetMountingDepth ensures that no value is present for MountingDepth, not even an explicit nil +func (o *RackRequest) UnsetMountingDepth() { + o.MountingDepth.Unset() +} + +// GetAirflow returns the Airflow field value if set, zero value otherwise. +func (o *RackRequest) GetAirflow() PatchedWritableRackRequestAirflow { + if o == nil || IsNil(o.Airflow) { + var ret PatchedWritableRackRequestAirflow + return ret + } + return *o.Airflow +} + +// GetAirflowOk returns a tuple with the Airflow field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RackRequest) GetAirflowOk() (*PatchedWritableRackRequestAirflow, bool) { + if o == nil || IsNil(o.Airflow) { + return nil, false + } + return o.Airflow, true +} + +// HasAirflow returns a boolean if a field has been set. +func (o *RackRequest) HasAirflow() bool { + if o != nil && !IsNil(o.Airflow) { + return true + } + + return false +} + +// SetAirflow gets a reference to the given PatchedWritableRackRequestAirflow and assigns it to the Airflow field. +func (o *RackRequest) SetAirflow(v PatchedWritableRackRequestAirflow) { + o.Airflow = &v +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *RackRequest) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -101,6 +985,102 @@ func (o *RackRequest) SetDescription(v string) { o.Description = &v } +// GetComments returns the Comments field value if set, zero value otherwise. +func (o *RackRequest) GetComments() string { + if o == nil || IsNil(o.Comments) { + var ret string + return ret + } + return *o.Comments +} + +// GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RackRequest) GetCommentsOk() (*string, bool) { + if o == nil || IsNil(o.Comments) { + return nil, false + } + return o.Comments, true +} + +// HasComments returns a boolean if a field has been set. +func (o *RackRequest) HasComments() bool { + if o != nil && !IsNil(o.Comments) { + return true + } + + return false +} + +// SetComments gets a reference to the given string and assigns it to the Comments field. +func (o *RackRequest) SetComments(v string) { + o.Comments = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *RackRequest) GetTags() []NestedTagRequest { + if o == nil || IsNil(o.Tags) { + var ret []NestedTagRequest + 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 *RackRequest) GetTagsOk() ([]NestedTagRequest, 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 *RackRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTagRequest and assigns it to the Tags field. +func (o *RackRequest) SetTags(v []NestedTagRequest) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *RackRequest) 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 *RackRequest) 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 *RackRequest) 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 *RackRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + func (o RackRequest) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -112,9 +1092,82 @@ func (o RackRequest) MarshalJSON() ([]byte, error) { func (o RackRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["name"] = o.Name + if o.FacilityId.IsSet() { + toSerialize["facility_id"] = o.FacilityId.Get() + } + toSerialize["site"] = o.Site + if o.Location.IsSet() { + toSerialize["location"] = o.Location.Get() + } + if o.Tenant.IsSet() { + toSerialize["tenant"] = o.Tenant.Get() + } + if !IsNil(o.Status) { + toSerialize["status"] = o.Status + } + if o.Role.IsSet() { + toSerialize["role"] = o.Role.Get() + } + if !IsNil(o.Serial) { + toSerialize["serial"] = o.Serial + } + if o.AssetTag.IsSet() { + toSerialize["asset_tag"] = o.AssetTag.Get() + } + if o.RackType.IsSet() { + toSerialize["rack_type"] = o.RackType.Get() + } + if o.FormFactor.IsSet() { + toSerialize["form_factor"] = o.FormFactor.Get() + } + if !IsNil(o.Width) { + toSerialize["width"] = o.Width + } + if !IsNil(o.UHeight) { + toSerialize["u_height"] = o.UHeight + } + if !IsNil(o.StartingUnit) { + toSerialize["starting_unit"] = o.StartingUnit + } + if o.Weight.IsSet() { + toSerialize["weight"] = o.Weight.Get() + } + if o.MaxWeight.IsSet() { + toSerialize["max_weight"] = o.MaxWeight.Get() + } + if o.WeightUnit.IsSet() { + toSerialize["weight_unit"] = o.WeightUnit.Get() + } + if !IsNil(o.DescUnits) { + toSerialize["desc_units"] = o.DescUnits + } + if o.OuterWidth.IsSet() { + toSerialize["outer_width"] = o.OuterWidth.Get() + } + if o.OuterDepth.IsSet() { + toSerialize["outer_depth"] = o.OuterDepth.Get() + } + if o.OuterUnit.IsSet() { + toSerialize["outer_unit"] = o.OuterUnit.Get() + } + if o.MountingDepth.IsSet() { + toSerialize["mounting_depth"] = o.MountingDepth.Get() + } + if !IsNil(o.Airflow) { + toSerialize["airflow"] = o.Airflow + } if !IsNil(o.Description) { toSerialize["description"] = o.Description } + if !IsNil(o.Comments) { + toSerialize["comments"] = o.Comments + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -129,6 +1182,7 @@ func (o *RackRequest) UnmarshalJSON(data []byte) (err error) { // that every required field exists as a key in the generic map. requiredProperties := []string{ "name", + "site", } allProperties := make(map[string]interface{}) @@ -159,7 +1213,32 @@ func (o *RackRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "name") + delete(additionalProperties, "facility_id") + delete(additionalProperties, "site") + delete(additionalProperties, "location") + delete(additionalProperties, "tenant") + delete(additionalProperties, "status") + delete(additionalProperties, "role") + delete(additionalProperties, "serial") + delete(additionalProperties, "asset_tag") + delete(additionalProperties, "rack_type") + delete(additionalProperties, "form_factor") + delete(additionalProperties, "width") + delete(additionalProperties, "u_height") + delete(additionalProperties, "starting_unit") + delete(additionalProperties, "weight") + delete(additionalProperties, "max_weight") + delete(additionalProperties, "weight_unit") + delete(additionalProperties, "desc_units") + delete(additionalProperties, "outer_width") + delete(additionalProperties, "outer_depth") + delete(additionalProperties, "outer_unit") + delete(additionalProperties, "mounting_depth") + delete(additionalProperties, "airflow") delete(additionalProperties, "description") + delete(additionalProperties, "comments") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") o.AdditionalProperties = additionalProperties } diff --git a/model_rack_request_form_factor.go b/model_rack_request_form_factor.go new file mode 100644 index 000000000..2c1fdbf00 --- /dev/null +++ b/model_rack_request_form_factor.go @@ -0,0 +1,122 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// RackRequestFormFactor * `2-post-frame` - 2-post frame * `4-post-frame` - 4-post frame * `4-post-cabinet` - 4-post cabinet * `wall-frame` - Wall-mounted frame * `wall-frame-vertical` - Wall-mounted frame (vertical) * `wall-cabinet` - Wall-mounted cabinet * `wall-cabinet-vertical` - Wall-mounted cabinet (vertical) +type RackRequestFormFactor string + +// List of RackRequest_form_factor +const ( + RACKREQUESTFORMFACTOR__2_POST_FRAME RackRequestFormFactor = "2-post-frame" + RACKREQUESTFORMFACTOR__4_POST_FRAME RackRequestFormFactor = "4-post-frame" + RACKREQUESTFORMFACTOR__4_POST_CABINET RackRequestFormFactor = "4-post-cabinet" + RACKREQUESTFORMFACTOR_WALL_FRAME RackRequestFormFactor = "wall-frame" + RACKREQUESTFORMFACTOR_WALL_FRAME_VERTICAL RackRequestFormFactor = "wall-frame-vertical" + RACKREQUESTFORMFACTOR_WALL_CABINET RackRequestFormFactor = "wall-cabinet" + RACKREQUESTFORMFACTOR_WALL_CABINET_VERTICAL RackRequestFormFactor = "wall-cabinet-vertical" + RACKREQUESTFORMFACTOR_EMPTY RackRequestFormFactor = "" +) + +// All allowed values of RackRequestFormFactor enum +var AllowedRackRequestFormFactorEnumValues = []RackRequestFormFactor{ + "2-post-frame", + "4-post-frame", + "4-post-cabinet", + "wall-frame", + "wall-frame-vertical", + "wall-cabinet", + "wall-cabinet-vertical", + "", +} + +func (v *RackRequestFormFactor) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := RackRequestFormFactor(value) + for _, existing := range AllowedRackRequestFormFactorEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid RackRequestFormFactor", value) +} + +// NewRackRequestFormFactorFromValue returns a pointer to a valid RackRequestFormFactor +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewRackRequestFormFactorFromValue(v string) (*RackRequestFormFactor, error) { + ev := RackRequestFormFactor(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for RackRequestFormFactor: valid values are %v", v, AllowedRackRequestFormFactorEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v RackRequestFormFactor) IsValid() bool { + for _, existing := range AllowedRackRequestFormFactorEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to RackRequest_form_factor value +func (v RackRequestFormFactor) Ptr() *RackRequestFormFactor { + return &v +} + +type NullableRackRequestFormFactor struct { + value *RackRequestFormFactor + isSet bool +} + +func (v NullableRackRequestFormFactor) Get() *RackRequestFormFactor { + return v.value +} + +func (v *NullableRackRequestFormFactor) Set(val *RackRequestFormFactor) { + v.value = val + v.isSet = true +} + +func (v NullableRackRequestFormFactor) IsSet() bool { + return v.isSet +} + +func (v *NullableRackRequestFormFactor) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRackRequestFormFactor(val *RackRequestFormFactor) *NullableRackRequestFormFactor { + return &NullableRackRequestFormFactor{value: val, isSet: true} +} + +func (v NullableRackRequestFormFactor) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRackRequestFormFactor) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_rack_request_outer_unit.go b/model_rack_request_outer_unit.go new file mode 100644 index 000000000..114d02877 --- /dev/null +++ b/model_rack_request_outer_unit.go @@ -0,0 +1,112 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// RackRequestOuterUnit * `mm` - Millimeters * `in` - Inches +type RackRequestOuterUnit string + +// List of RackRequest_outer_unit +const ( + RACKREQUESTOUTERUNIT_MM RackRequestOuterUnit = "mm" + RACKREQUESTOUTERUNIT_IN RackRequestOuterUnit = "in" + RACKREQUESTOUTERUNIT_EMPTY RackRequestOuterUnit = "" +) + +// All allowed values of RackRequestOuterUnit enum +var AllowedRackRequestOuterUnitEnumValues = []RackRequestOuterUnit{ + "mm", + "in", + "", +} + +func (v *RackRequestOuterUnit) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := RackRequestOuterUnit(value) + for _, existing := range AllowedRackRequestOuterUnitEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid RackRequestOuterUnit", value) +} + +// NewRackRequestOuterUnitFromValue returns a pointer to a valid RackRequestOuterUnit +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewRackRequestOuterUnitFromValue(v string) (*RackRequestOuterUnit, error) { + ev := RackRequestOuterUnit(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for RackRequestOuterUnit: valid values are %v", v, AllowedRackRequestOuterUnitEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v RackRequestOuterUnit) IsValid() bool { + for _, existing := range AllowedRackRequestOuterUnitEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to RackRequest_outer_unit value +func (v RackRequestOuterUnit) Ptr() *RackRequestOuterUnit { + return &v +} + +type NullableRackRequestOuterUnit struct { + value *RackRequestOuterUnit + isSet bool +} + +func (v NullableRackRequestOuterUnit) Get() *RackRequestOuterUnit { + return v.value +} + +func (v *NullableRackRequestOuterUnit) Set(val *RackRequestOuterUnit) { + v.value = val + v.isSet = true +} + +func (v NullableRackRequestOuterUnit) IsSet() bool { + return v.isSet +} + +func (v *NullableRackRequestOuterUnit) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRackRequestOuterUnit(val *RackRequestOuterUnit) *NullableRackRequestOuterUnit { + return &NullableRackRequestOuterUnit{value: val, isSet: true} +} + +func (v NullableRackRequestOuterUnit) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRackRequestOuterUnit) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_rack_reservation.go b/model_rack_reservation.go index f4cdb1411..f0009f80c 100644 --- a/model_rack_reservation.go +++ b/model_rack_reservation.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -23,13 +23,14 @@ var _ MappedNullable = &RackReservation{} type RackReservation struct { Id int32 `json:"id"` Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` Display string `json:"display"` - Rack Rack `json:"rack"` + Rack BriefRack `json:"rack"` Units []int32 `json:"units"` Created NullableTime `json:"created"` LastUpdated NullableTime `json:"last_updated"` - User User `json:"user"` - Tenant NullableTenant `json:"tenant,omitempty"` + User BriefUser `json:"user"` + Tenant NullableBriefTenant `json:"tenant,omitempty"` Description string `json:"description"` Comments *string `json:"comments,omitempty"` Tags []NestedTag `json:"tags,omitempty"` @@ -43,7 +44,7 @@ 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 int32, url string, display string, rack Rack, units []int32, created NullableTime, lastUpdated NullableTime, user User, description string) *RackReservation { +func NewRackReservation(id int32, url string, display string, rack BriefRack, units []int32, created NullableTime, lastUpdated NullableTime, user BriefUser, description string) *RackReservation { this := RackReservation{} this.Id = id this.Url = url @@ -113,6 +114,38 @@ func (o *RackReservation) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *RackReservation) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RackReservation) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *RackReservation) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *RackReservation) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *RackReservation) GetDisplay() string { if o == nil { @@ -138,9 +171,9 @@ func (o *RackReservation) SetDisplay(v string) { } // GetRack returns the Rack field value -func (o *RackReservation) GetRack() Rack { +func (o *RackReservation) GetRack() BriefRack { if o == nil { - var ret Rack + var ret BriefRack return ret } @@ -149,7 +182,7 @@ func (o *RackReservation) GetRack() Rack { // GetRackOk returns a tuple with the Rack field value // and a boolean to check if the value has been set. -func (o *RackReservation) GetRackOk() (*Rack, bool) { +func (o *RackReservation) GetRackOk() (*BriefRack, bool) { if o == nil { return nil, false } @@ -157,7 +190,7 @@ func (o *RackReservation) GetRackOk() (*Rack, bool) { } // SetRack sets field value -func (o *RackReservation) SetRack(v Rack) { +func (o *RackReservation) SetRack(v BriefRack) { o.Rack = v } @@ -238,9 +271,9 @@ func (o *RackReservation) SetLastUpdated(v time.Time) { } // GetUser returns the User field value -func (o *RackReservation) GetUser() User { +func (o *RackReservation) GetUser() BriefUser { if o == nil { - var ret User + var ret BriefUser return ret } @@ -249,7 +282,7 @@ func (o *RackReservation) GetUser() User { // GetUserOk returns a tuple with the User field value // and a boolean to check if the value has been set. -func (o *RackReservation) GetUserOk() (*User, bool) { +func (o *RackReservation) GetUserOk() (*BriefUser, bool) { if o == nil { return nil, false } @@ -257,14 +290,14 @@ func (o *RackReservation) GetUserOk() (*User, bool) { } // SetUser sets field value -func (o *RackReservation) SetUser(v User) { +func (o *RackReservation) SetUser(v BriefUser) { o.User = v } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *RackReservation) GetTenant() Tenant { +func (o *RackReservation) GetTenant() BriefTenant { if o == nil || IsNil(o.Tenant.Get()) { - var ret Tenant + var ret BriefTenant return ret } return *o.Tenant.Get() @@ -273,7 +306,7 @@ func (o *RackReservation) GetTenant() Tenant { // 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 *RackReservation) GetTenantOk() (*Tenant, bool) { +func (o *RackReservation) GetTenantOk() (*BriefTenant, bool) { if o == nil { return nil, false } @@ -289,8 +322,8 @@ func (o *RackReservation) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenant and assigns it to the Tenant field. -func (o *RackReservation) SetTenant(v Tenant) { +// SetTenant gets a reference to the given NullableBriefTenant and assigns it to the Tenant field. +func (o *RackReservation) SetTenant(v BriefTenant) { o.Tenant.Set(&v) } @@ -436,6 +469,9 @@ func (o RackReservation) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["rack"] = o.Rack toSerialize["units"] = o.Units @@ -508,6 +544,7 @@ func (o *RackReservation) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "rack") delete(additionalProperties, "units") diff --git a/model_rack_reservation_request.go b/model_rack_reservation_request.go index f08054702..c014a999c 100644 --- a/model_rack_reservation_request.go +++ b/model_rack_reservation_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,14 +20,14 @@ var _ MappedNullable = &RackReservationRequest{} // RackReservationRequest Adds support for custom fields and tags. type RackReservationRequest struct { - Rack RackRequest `json:"rack"` - Units []int32 `json:"units"` - User UserRequest `json:"user"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` - Description string `json:"description"` - Comments *string `json:"comments,omitempty"` - Tags []NestedTagRequest `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Rack BriefRackRequest `json:"rack"` + Units []int32 `json:"units"` + User BriefUserRequest `json:"user"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` + Description string `json:"description"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -37,7 +37,7 @@ type _RackReservationRequest RackReservationRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewRackReservationRequest(rack RackRequest, units []int32, user UserRequest, description string) *RackReservationRequest { +func NewRackReservationRequest(rack BriefRackRequest, units []int32, user BriefUserRequest, description string) *RackReservationRequest { this := RackReservationRequest{} this.Rack = rack this.Units = units @@ -55,9 +55,9 @@ func NewRackReservationRequestWithDefaults() *RackReservationRequest { } // GetRack returns the Rack field value -func (o *RackReservationRequest) GetRack() RackRequest { +func (o *RackReservationRequest) GetRack() BriefRackRequest { if o == nil { - var ret RackRequest + var ret BriefRackRequest return ret } @@ -66,7 +66,7 @@ func (o *RackReservationRequest) GetRack() RackRequest { // GetRackOk returns a tuple with the Rack field value // and a boolean to check if the value has been set. -func (o *RackReservationRequest) GetRackOk() (*RackRequest, bool) { +func (o *RackReservationRequest) GetRackOk() (*BriefRackRequest, bool) { if o == nil { return nil, false } @@ -74,7 +74,7 @@ func (o *RackReservationRequest) GetRackOk() (*RackRequest, bool) { } // SetRack sets field value -func (o *RackReservationRequest) SetRack(v RackRequest) { +func (o *RackReservationRequest) SetRack(v BriefRackRequest) { o.Rack = v } @@ -103,9 +103,9 @@ func (o *RackReservationRequest) SetUnits(v []int32) { } // GetUser returns the User field value -func (o *RackReservationRequest) GetUser() UserRequest { +func (o *RackReservationRequest) GetUser() BriefUserRequest { if o == nil { - var ret UserRequest + var ret BriefUserRequest return ret } @@ -114,7 +114,7 @@ func (o *RackReservationRequest) GetUser() UserRequest { // GetUserOk returns a tuple with the User field value // and a boolean to check if the value has been set. -func (o *RackReservationRequest) GetUserOk() (*UserRequest, bool) { +func (o *RackReservationRequest) GetUserOk() (*BriefUserRequest, bool) { if o == nil { return nil, false } @@ -122,14 +122,14 @@ func (o *RackReservationRequest) GetUserOk() (*UserRequest, bool) { } // SetUser sets field value -func (o *RackReservationRequest) SetUser(v UserRequest) { +func (o *RackReservationRequest) SetUser(v BriefUserRequest) { o.User = v } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *RackReservationRequest) GetTenant() TenantRequest { +func (o *RackReservationRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -138,7 +138,7 @@ func (o *RackReservationRequest) GetTenant() TenantRequest { // 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 *RackReservationRequest) GetTenantOk() (*TenantRequest, bool) { +func (o *RackReservationRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -154,8 +154,8 @@ func (o *RackReservationRequest) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *RackReservationRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *RackReservationRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } diff --git a/model_rack_role.go b/model_rack_role.go index 6f5af14fd..ec3a79c7a 100644 --- a/model_rack_role.go +++ b/model_rack_role.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -23,6 +23,7 @@ var _ MappedNullable = &RackRole{} type RackRole struct { Id int32 `json:"id"` Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` Display string `json:"display"` Name string `json:"name"` Slug string `json:"slug"` @@ -111,6 +112,38 @@ func (o *RackRole) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *RackRole) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RackRole) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *RackRole) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *RackRole) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *RackRole) GetDisplay() string { if o == nil { @@ -399,6 +432,9 @@ func (o RackRole) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["name"] = o.Name toSerialize["slug"] = o.Slug @@ -469,6 +505,7 @@ func (o *RackRole) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") delete(additionalProperties, "slug") diff --git a/model_rack_role_request.go b/model_rack_role_request.go index f3d72593d..67ed496fa 100644 --- a/model_rack_role_request.go +++ b/model_rack_role_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_rack_status.go b/model_rack_status.go new file mode 100644 index 000000000..87521f790 --- /dev/null +++ b/model_rack_status.go @@ -0,0 +1,190 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" +) + +// checks if the RackStatus type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &RackStatus{} + +// RackStatus struct for RackStatus +type RackStatus struct { + Value *PatchedWritableRackRequestStatus `json:"value,omitempty"` + Label *RackStatusLabel `json:"label,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _RackStatus RackStatus + +// NewRackStatus instantiates a new RackStatus object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewRackStatus() *RackStatus { + this := RackStatus{} + return &this +} + +// NewRackStatusWithDefaults instantiates a new RackStatus object +// This 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 NewRackStatusWithDefaults() *RackStatus { + this := RackStatus{} + return &this +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *RackStatus) GetValue() PatchedWritableRackRequestStatus { + if o == nil || IsNil(o.Value) { + var ret PatchedWritableRackRequestStatus + 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 *RackStatus) GetValueOk() (*PatchedWritableRackRequestStatus, 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 *RackStatus) HasValue() bool { + if o != nil && !IsNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given PatchedWritableRackRequestStatus and assigns it to the Value field. +func (o *RackStatus) SetValue(v PatchedWritableRackRequestStatus) { + o.Value = &v +} + +// GetLabel returns the Label field value if set, zero value otherwise. +func (o *RackStatus) GetLabel() RackStatusLabel { + if o == nil || IsNil(o.Label) { + var ret RackStatusLabel + 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 *RackStatus) GetLabelOk() (*RackStatusLabel, 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 *RackStatus) HasLabel() bool { + if o != nil && !IsNil(o.Label) { + return true + } + + return false +} + +// SetLabel gets a reference to the given RackStatusLabel and assigns it to the Label field. +func (o *RackStatus) SetLabel(v RackStatusLabel) { + o.Label = &v +} + +func (o RackStatus) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o RackStatus) 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 *RackStatus) UnmarshalJSON(data []byte) (err error) { + varRackStatus := _RackStatus{} + + err = json.Unmarshal(data, &varRackStatus) + + if err != nil { + return err + } + + *o = RackStatus(varRackStatus) + + 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 NullableRackStatus struct { + value *RackStatus + isSet bool +} + +func (v NullableRackStatus) Get() *RackStatus { + return v.value +} + +func (v *NullableRackStatus) Set(val *RackStatus) { + v.value = val + v.isSet = true +} + +func (v NullableRackStatus) IsSet() bool { + return v.isSet +} + +func (v *NullableRackStatus) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRackStatus(val *RackStatus) *NullableRackStatus { + return &NullableRackStatus{value: val, isSet: true} +} + +func (v NullableRackStatus) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRackStatus) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_rack_status_label.go b/model_rack_status_label.go new file mode 100644 index 000000000..4110a74a7 --- /dev/null +++ b/model_rack_status_label.go @@ -0,0 +1,116 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// RackStatusLabel the model 'RackStatusLabel' +type RackStatusLabel string + +// List of Rack_status_label +const ( + RACKSTATUSLABEL_RESERVED RackStatusLabel = "Reserved" + RACKSTATUSLABEL_AVAILABLE RackStatusLabel = "Available" + RACKSTATUSLABEL_PLANNED RackStatusLabel = "Planned" + RACKSTATUSLABEL_ACTIVE RackStatusLabel = "Active" + RACKSTATUSLABEL_DEPRECATED RackStatusLabel = "Deprecated" +) + +// All allowed values of RackStatusLabel enum +var AllowedRackStatusLabelEnumValues = []RackStatusLabel{ + "Reserved", + "Available", + "Planned", + "Active", + "Deprecated", +} + +func (v *RackStatusLabel) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := RackStatusLabel(value) + for _, existing := range AllowedRackStatusLabelEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid RackStatusLabel", value) +} + +// NewRackStatusLabelFromValue returns a pointer to a valid RackStatusLabel +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewRackStatusLabelFromValue(v string) (*RackStatusLabel, error) { + ev := RackStatusLabel(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for RackStatusLabel: valid values are %v", v, AllowedRackStatusLabelEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v RackStatusLabel) IsValid() bool { + for _, existing := range AllowedRackStatusLabelEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to Rack_status_label value +func (v RackStatusLabel) Ptr() *RackStatusLabel { + return &v +} + +type NullableRackStatusLabel struct { + value *RackStatusLabel + isSet bool +} + +func (v NullableRackStatusLabel) Get() *RackStatusLabel { + return v.value +} + +func (v *NullableRackStatusLabel) Set(val *RackStatusLabel) { + v.value = val + v.isSet = true +} + +func (v NullableRackStatusLabel) IsSet() bool { + return v.isSet +} + +func (v *NullableRackStatusLabel) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRackStatusLabel(val *RackStatusLabel) *NullableRackStatusLabel { + return &NullableRackStatusLabel{value: val, isSet: true} +} + +func (v NullableRackStatusLabel) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRackStatusLabel) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_rack_type.go b/model_rack_type.go new file mode 100644 index 000000000..602321ff3 --- /dev/null +++ b/model_rack_type.go @@ -0,0 +1,1098 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" + "time" +) + +// checks if the RackType type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &RackType{} + +// RackType Adds support for custom fields and tags. +type RackType struct { + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Manufacturer BriefManufacturer `json:"manufacturer"` + Model string `json:"model"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + FormFactor NullableRackFormFactor `json:"form_factor,omitempty"` + Width *RackWidth `json:"width,omitempty"` + // Height in rack units + UHeight *int32 `json:"u_height,omitempty"` + // Starting unit for rack + StartingUnit *int32 `json:"starting_unit,omitempty"` + // Units are numbered top-to-bottom + DescUnits *bool `json:"desc_units,omitempty"` + // Outer dimension of rack (width) + OuterWidth NullableInt32 `json:"outer_width,omitempty"` + // Outer dimension of rack (depth) + OuterDepth NullableInt32 `json:"outer_depth,omitempty"` + OuterUnit NullableRackOuterUnit `json:"outer_unit,omitempty"` + Weight NullableFloat64 `json:"weight,omitempty"` + // Maximum load capacity for the rack + MaxWeight NullableInt32 `json:"max_weight,omitempty"` + WeightUnit NullableDeviceTypeWeightUnit `json:"weight_unit,omitempty"` + // Maximum depth of a mounted device, in millimeters. For four-post racks, this is the distance between the front and rear rails. + MountingDepth NullableInt32 `json:"mounting_depth,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTag `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Created NullableTime `json:"created"` + LastUpdated NullableTime `json:"last_updated"` + AdditionalProperties map[string]interface{} +} + +type _RackType RackType + +// NewRackType instantiates a new RackType object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewRackType(id int32, url string, display string, manufacturer BriefManufacturer, model string, slug string, created NullableTime, lastUpdated NullableTime) *RackType { + this := RackType{} + this.Id = id + this.Url = url + this.Display = display + this.Manufacturer = manufacturer + this.Model = model + this.Slug = slug + this.Created = created + this.LastUpdated = lastUpdated + return &this +} + +// NewRackTypeWithDefaults instantiates a new RackType object +// This 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 NewRackTypeWithDefaults() *RackType { + this := RackType{} + return &this +} + +// GetId returns the Id field value +func (o *RackType) GetId() int32 { + if o == nil { + var ret int32 + 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 *RackType) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *RackType) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *RackType) 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 *RackType) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *RackType) SetUrl(v string) { + o.Url = v +} + +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *RackType) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RackType) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *RackType) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *RackType) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + +// GetDisplay returns the Display field value +func (o *RackType) 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 *RackType) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *RackType) SetDisplay(v string) { + o.Display = v +} + +// GetManufacturer returns the Manufacturer field value +func (o *RackType) GetManufacturer() BriefManufacturer { + if o == nil { + var ret BriefManufacturer + return ret + } + + return o.Manufacturer +} + +// GetManufacturerOk returns a tuple with the Manufacturer field value +// and a boolean to check if the value has been set. +func (o *RackType) GetManufacturerOk() (*BriefManufacturer, bool) { + if o == nil { + return nil, false + } + return &o.Manufacturer, true +} + +// SetManufacturer sets field value +func (o *RackType) SetManufacturer(v BriefManufacturer) { + o.Manufacturer = v +} + +// GetModel returns the Model field value +func (o *RackType) GetModel() string { + if o == nil { + var ret string + return ret + } + + return o.Model +} + +// GetModelOk returns a tuple with the Model field value +// and a boolean to check if the value has been set. +func (o *RackType) GetModelOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Model, true +} + +// SetModel sets field value +func (o *RackType) SetModel(v string) { + o.Model = v +} + +// GetSlug returns the Slug field value +func (o *RackType) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *RackType) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *RackType) SetSlug(v string) { + o.Slug = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *RackType) 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 *RackType) 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 *RackType) 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 *RackType) SetDescription(v string) { + o.Description = &v +} + +// GetFormFactor returns the FormFactor field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RackType) GetFormFactor() RackFormFactor { + if o == nil || IsNil(o.FormFactor.Get()) { + var ret RackFormFactor + return ret + } + return *o.FormFactor.Get() +} + +// GetFormFactorOk returns a tuple with the FormFactor 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 *RackType) GetFormFactorOk() (*RackFormFactor, bool) { + if o == nil { + return nil, false + } + return o.FormFactor.Get(), o.FormFactor.IsSet() +} + +// HasFormFactor returns a boolean if a field has been set. +func (o *RackType) HasFormFactor() bool { + if o != nil && o.FormFactor.IsSet() { + return true + } + + return false +} + +// SetFormFactor gets a reference to the given NullableRackFormFactor and assigns it to the FormFactor field. +func (o *RackType) SetFormFactor(v RackFormFactor) { + o.FormFactor.Set(&v) +} + +// SetFormFactorNil sets the value for FormFactor to be an explicit nil +func (o *RackType) SetFormFactorNil() { + o.FormFactor.Set(nil) +} + +// UnsetFormFactor ensures that no value is present for FormFactor, not even an explicit nil +func (o *RackType) UnsetFormFactor() { + o.FormFactor.Unset() +} + +// GetWidth returns the Width field value if set, zero value otherwise. +func (o *RackType) GetWidth() RackWidth { + if o == nil || IsNil(o.Width) { + var ret RackWidth + return ret + } + return *o.Width +} + +// GetWidthOk returns a tuple with the Width field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RackType) GetWidthOk() (*RackWidth, bool) { + if o == nil || IsNil(o.Width) { + return nil, false + } + return o.Width, true +} + +// HasWidth returns a boolean if a field has been set. +func (o *RackType) HasWidth() bool { + if o != nil && !IsNil(o.Width) { + return true + } + + return false +} + +// SetWidth gets a reference to the given RackWidth and assigns it to the Width field. +func (o *RackType) SetWidth(v RackWidth) { + o.Width = &v +} + +// GetUHeight returns the UHeight field value if set, zero value otherwise. +func (o *RackType) GetUHeight() int32 { + if o == nil || IsNil(o.UHeight) { + var ret int32 + return ret + } + return *o.UHeight +} + +// GetUHeightOk returns a tuple with the UHeight field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RackType) GetUHeightOk() (*int32, bool) { + if o == nil || IsNil(o.UHeight) { + return nil, false + } + return o.UHeight, true +} + +// HasUHeight returns a boolean if a field has been set. +func (o *RackType) HasUHeight() bool { + if o != nil && !IsNil(o.UHeight) { + return true + } + + return false +} + +// SetUHeight gets a reference to the given int32 and assigns it to the UHeight field. +func (o *RackType) SetUHeight(v int32) { + o.UHeight = &v +} + +// GetStartingUnit returns the StartingUnit field value if set, zero value otherwise. +func (o *RackType) GetStartingUnit() int32 { + if o == nil || IsNil(o.StartingUnit) { + var ret int32 + return ret + } + return *o.StartingUnit +} + +// GetStartingUnitOk returns a tuple with the StartingUnit field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RackType) GetStartingUnitOk() (*int32, bool) { + if o == nil || IsNil(o.StartingUnit) { + return nil, false + } + return o.StartingUnit, true +} + +// HasStartingUnit returns a boolean if a field has been set. +func (o *RackType) HasStartingUnit() bool { + if o != nil && !IsNil(o.StartingUnit) { + return true + } + + return false +} + +// SetStartingUnit gets a reference to the given int32 and assigns it to the StartingUnit field. +func (o *RackType) SetStartingUnit(v int32) { + o.StartingUnit = &v +} + +// GetDescUnits returns the DescUnits field value if set, zero value otherwise. +func (o *RackType) GetDescUnits() bool { + if o == nil || IsNil(o.DescUnits) { + var ret bool + return ret + } + return *o.DescUnits +} + +// GetDescUnitsOk returns a tuple with the DescUnits field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RackType) GetDescUnitsOk() (*bool, bool) { + if o == nil || IsNil(o.DescUnits) { + return nil, false + } + return o.DescUnits, true +} + +// HasDescUnits returns a boolean if a field has been set. +func (o *RackType) HasDescUnits() bool { + if o != nil && !IsNil(o.DescUnits) { + return true + } + + return false +} + +// SetDescUnits gets a reference to the given bool and assigns it to the DescUnits field. +func (o *RackType) SetDescUnits(v bool) { + o.DescUnits = &v +} + +// GetOuterWidth returns the OuterWidth field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RackType) GetOuterWidth() int32 { + if o == nil || IsNil(o.OuterWidth.Get()) { + var ret int32 + return ret + } + return *o.OuterWidth.Get() +} + +// GetOuterWidthOk returns a tuple with the OuterWidth 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 *RackType) GetOuterWidthOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.OuterWidth.Get(), o.OuterWidth.IsSet() +} + +// HasOuterWidth returns a boolean if a field has been set. +func (o *RackType) HasOuterWidth() bool { + if o != nil && o.OuterWidth.IsSet() { + return true + } + + return false +} + +// SetOuterWidth gets a reference to the given NullableInt32 and assigns it to the OuterWidth field. +func (o *RackType) SetOuterWidth(v int32) { + o.OuterWidth.Set(&v) +} + +// SetOuterWidthNil sets the value for OuterWidth to be an explicit nil +func (o *RackType) SetOuterWidthNil() { + o.OuterWidth.Set(nil) +} + +// UnsetOuterWidth ensures that no value is present for OuterWidth, not even an explicit nil +func (o *RackType) UnsetOuterWidth() { + o.OuterWidth.Unset() +} + +// GetOuterDepth returns the OuterDepth field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RackType) GetOuterDepth() int32 { + if o == nil || IsNil(o.OuterDepth.Get()) { + var ret int32 + return ret + } + return *o.OuterDepth.Get() +} + +// GetOuterDepthOk returns a tuple with the OuterDepth 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 *RackType) GetOuterDepthOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.OuterDepth.Get(), o.OuterDepth.IsSet() +} + +// HasOuterDepth returns a boolean if a field has been set. +func (o *RackType) HasOuterDepth() bool { + if o != nil && o.OuterDepth.IsSet() { + return true + } + + return false +} + +// SetOuterDepth gets a reference to the given NullableInt32 and assigns it to the OuterDepth field. +func (o *RackType) SetOuterDepth(v int32) { + o.OuterDepth.Set(&v) +} + +// SetOuterDepthNil sets the value for OuterDepth to be an explicit nil +func (o *RackType) SetOuterDepthNil() { + o.OuterDepth.Set(nil) +} + +// UnsetOuterDepth ensures that no value is present for OuterDepth, not even an explicit nil +func (o *RackType) UnsetOuterDepth() { + o.OuterDepth.Unset() +} + +// GetOuterUnit returns the OuterUnit field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RackType) GetOuterUnit() RackOuterUnit { + if o == nil || IsNil(o.OuterUnit.Get()) { + var ret RackOuterUnit + return ret + } + return *o.OuterUnit.Get() +} + +// GetOuterUnitOk returns a tuple with the OuterUnit 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 *RackType) GetOuterUnitOk() (*RackOuterUnit, bool) { + if o == nil { + return nil, false + } + return o.OuterUnit.Get(), o.OuterUnit.IsSet() +} + +// HasOuterUnit returns a boolean if a field has been set. +func (o *RackType) HasOuterUnit() bool { + if o != nil && o.OuterUnit.IsSet() { + return true + } + + return false +} + +// SetOuterUnit gets a reference to the given NullableRackOuterUnit and assigns it to the OuterUnit field. +func (o *RackType) SetOuterUnit(v RackOuterUnit) { + o.OuterUnit.Set(&v) +} + +// SetOuterUnitNil sets the value for OuterUnit to be an explicit nil +func (o *RackType) SetOuterUnitNil() { + o.OuterUnit.Set(nil) +} + +// UnsetOuterUnit ensures that no value is present for OuterUnit, not even an explicit nil +func (o *RackType) UnsetOuterUnit() { + o.OuterUnit.Unset() +} + +// GetWeight returns the Weight field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RackType) GetWeight() float64 { + if o == nil || IsNil(o.Weight.Get()) { + var ret float64 + return ret + } + return *o.Weight.Get() +} + +// GetWeightOk returns a tuple with the Weight 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 *RackType) GetWeightOk() (*float64, bool) { + if o == nil { + return nil, false + } + return o.Weight.Get(), o.Weight.IsSet() +} + +// HasWeight returns a boolean if a field has been set. +func (o *RackType) HasWeight() bool { + if o != nil && o.Weight.IsSet() { + return true + } + + return false +} + +// SetWeight gets a reference to the given NullableFloat64 and assigns it to the Weight field. +func (o *RackType) SetWeight(v float64) { + o.Weight.Set(&v) +} + +// SetWeightNil sets the value for Weight to be an explicit nil +func (o *RackType) SetWeightNil() { + o.Weight.Set(nil) +} + +// UnsetWeight ensures that no value is present for Weight, not even an explicit nil +func (o *RackType) UnsetWeight() { + o.Weight.Unset() +} + +// GetMaxWeight returns the MaxWeight field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RackType) GetMaxWeight() int32 { + if o == nil || IsNil(o.MaxWeight.Get()) { + var ret int32 + return ret + } + return *o.MaxWeight.Get() +} + +// GetMaxWeightOk returns a tuple with the MaxWeight 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 *RackType) GetMaxWeightOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.MaxWeight.Get(), o.MaxWeight.IsSet() +} + +// HasMaxWeight returns a boolean if a field has been set. +func (o *RackType) HasMaxWeight() bool { + if o != nil && o.MaxWeight.IsSet() { + return true + } + + return false +} + +// SetMaxWeight gets a reference to the given NullableInt32 and assigns it to the MaxWeight field. +func (o *RackType) SetMaxWeight(v int32) { + o.MaxWeight.Set(&v) +} + +// SetMaxWeightNil sets the value for MaxWeight to be an explicit nil +func (o *RackType) SetMaxWeightNil() { + o.MaxWeight.Set(nil) +} + +// UnsetMaxWeight ensures that no value is present for MaxWeight, not even an explicit nil +func (o *RackType) UnsetMaxWeight() { + o.MaxWeight.Unset() +} + +// GetWeightUnit returns the WeightUnit field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RackType) GetWeightUnit() DeviceTypeWeightUnit { + if o == nil || IsNil(o.WeightUnit.Get()) { + var ret DeviceTypeWeightUnit + return ret + } + return *o.WeightUnit.Get() +} + +// GetWeightUnitOk returns a tuple with the WeightUnit 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 *RackType) GetWeightUnitOk() (*DeviceTypeWeightUnit, bool) { + if o == nil { + return nil, false + } + return o.WeightUnit.Get(), o.WeightUnit.IsSet() +} + +// HasWeightUnit returns a boolean if a field has been set. +func (o *RackType) HasWeightUnit() bool { + if o != nil && o.WeightUnit.IsSet() { + return true + } + + return false +} + +// SetWeightUnit gets a reference to the given NullableDeviceTypeWeightUnit and assigns it to the WeightUnit field. +func (o *RackType) SetWeightUnit(v DeviceTypeWeightUnit) { + o.WeightUnit.Set(&v) +} + +// SetWeightUnitNil sets the value for WeightUnit to be an explicit nil +func (o *RackType) SetWeightUnitNil() { + o.WeightUnit.Set(nil) +} + +// UnsetWeightUnit ensures that no value is present for WeightUnit, not even an explicit nil +func (o *RackType) UnsetWeightUnit() { + o.WeightUnit.Unset() +} + +// GetMountingDepth returns the MountingDepth field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RackType) GetMountingDepth() int32 { + if o == nil || IsNil(o.MountingDepth.Get()) { + var ret int32 + return ret + } + return *o.MountingDepth.Get() +} + +// GetMountingDepthOk returns a tuple with the MountingDepth 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 *RackType) GetMountingDepthOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.MountingDepth.Get(), o.MountingDepth.IsSet() +} + +// HasMountingDepth returns a boolean if a field has been set. +func (o *RackType) HasMountingDepth() bool { + if o != nil && o.MountingDepth.IsSet() { + return true + } + + return false +} + +// SetMountingDepth gets a reference to the given NullableInt32 and assigns it to the MountingDepth field. +func (o *RackType) SetMountingDepth(v int32) { + o.MountingDepth.Set(&v) +} + +// SetMountingDepthNil sets the value for MountingDepth to be an explicit nil +func (o *RackType) SetMountingDepthNil() { + o.MountingDepth.Set(nil) +} + +// UnsetMountingDepth ensures that no value is present for MountingDepth, not even an explicit nil +func (o *RackType) UnsetMountingDepth() { + o.MountingDepth.Unset() +} + +// GetComments returns the Comments field value if set, zero value otherwise. +func (o *RackType) GetComments() string { + if o == nil || IsNil(o.Comments) { + var ret string + return ret + } + return *o.Comments +} + +// GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RackType) GetCommentsOk() (*string, bool) { + if o == nil || IsNil(o.Comments) { + return nil, false + } + return o.Comments, true +} + +// HasComments returns a boolean if a field has been set. +func (o *RackType) HasComments() bool { + if o != nil && !IsNil(o.Comments) { + return true + } + + return false +} + +// SetComments gets a reference to the given string and assigns it to the Comments field. +func (o *RackType) SetComments(v string) { + o.Comments = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *RackType) GetTags() []NestedTag { + if o == nil || IsNil(o.Tags) { + var ret []NestedTag + 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 *RackType) GetTagsOk() ([]NestedTag, 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 *RackType) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTag and assigns it to the Tags field. +func (o *RackType) SetTags(v []NestedTag) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *RackType) 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 *RackType) 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 *RackType) 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 *RackType) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetCreated returns the Created field value +// If the value is explicit nil, the zero value for time.Time will be returned +func (o *RackType) 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 *RackType) GetCreatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.Created.Get(), o.Created.IsSet() +} + +// SetCreated sets field value +func (o *RackType) 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 *RackType) 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 *RackType) GetLastUpdatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LastUpdated.Get(), o.LastUpdated.IsSet() +} + +// SetLastUpdated sets field value +func (o *RackType) SetLastUpdated(v time.Time) { + o.LastUpdated.Set(&v) +} + +func (o RackType) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o RackType) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } + toSerialize["display"] = o.Display + toSerialize["manufacturer"] = o.Manufacturer + toSerialize["model"] = o.Model + toSerialize["slug"] = o.Slug + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + if o.FormFactor.IsSet() { + toSerialize["form_factor"] = o.FormFactor.Get() + } + if !IsNil(o.Width) { + toSerialize["width"] = o.Width + } + if !IsNil(o.UHeight) { + toSerialize["u_height"] = o.UHeight + } + if !IsNil(o.StartingUnit) { + toSerialize["starting_unit"] = o.StartingUnit + } + if !IsNil(o.DescUnits) { + toSerialize["desc_units"] = o.DescUnits + } + if o.OuterWidth.IsSet() { + toSerialize["outer_width"] = o.OuterWidth.Get() + } + if o.OuterDepth.IsSet() { + toSerialize["outer_depth"] = o.OuterDepth.Get() + } + if o.OuterUnit.IsSet() { + toSerialize["outer_unit"] = o.OuterUnit.Get() + } + if o.Weight.IsSet() { + toSerialize["weight"] = o.Weight.Get() + } + if o.MaxWeight.IsSet() { + toSerialize["max_weight"] = o.MaxWeight.Get() + } + if o.WeightUnit.IsSet() { + toSerialize["weight_unit"] = o.WeightUnit.Get() + } + if o.MountingDepth.IsSet() { + toSerialize["mounting_depth"] = o.MountingDepth.Get() + } + if !IsNil(o.Comments) { + toSerialize["comments"] = o.Comments + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + toSerialize["created"] = o.Created.Get() + toSerialize["last_updated"] = o.LastUpdated.Get() + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *RackType) 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", + "url", + "display", + "manufacturer", + "model", + "slug", + "created", + "last_updated", + } + + 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) + } + } + + varRackType := _RackType{} + + err = json.Unmarshal(data, &varRackType) + + if err != nil { + return err + } + + *o = RackType(varRackType) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display_url") + delete(additionalProperties, "display") + delete(additionalProperties, "manufacturer") + delete(additionalProperties, "model") + delete(additionalProperties, "slug") + delete(additionalProperties, "description") + delete(additionalProperties, "form_factor") + delete(additionalProperties, "width") + delete(additionalProperties, "u_height") + delete(additionalProperties, "starting_unit") + delete(additionalProperties, "desc_units") + delete(additionalProperties, "outer_width") + delete(additionalProperties, "outer_depth") + delete(additionalProperties, "outer_unit") + delete(additionalProperties, "weight") + delete(additionalProperties, "max_weight") + delete(additionalProperties, "weight_unit") + delete(additionalProperties, "mounting_depth") + delete(additionalProperties, "comments") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "created") + delete(additionalProperties, "last_updated") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableRackType struct { + value *RackType + isSet bool +} + +func (v NullableRackType) Get() *RackType { + return v.value +} + +func (v *NullableRackType) Set(val *RackType) { + v.value = val + v.isSet = true +} + +func (v NullableRackType) IsSet() bool { + return v.isSet +} + +func (v *NullableRackType) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRackType(val *RackType) *NullableRackType { + return &NullableRackType{value: val, isSet: true} +} + +func (v NullableRackType) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRackType) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_rack_type_request.go b/model_rack_type_request.go new file mode 100644 index 000000000..3ddb499df --- /dev/null +++ b/model_rack_type_request.go @@ -0,0 +1,911 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the RackTypeRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &RackTypeRequest{} + +// RackTypeRequest Adds support for custom fields and tags. +type RackTypeRequest struct { + Manufacturer BriefManufacturerRequest `json:"manufacturer"` + Model string `json:"model"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + FormFactor NullableRackRequestFormFactor `json:"form_factor,omitempty"` + Width *RackWidthValue `json:"width,omitempty"` + // Height in rack units + UHeight *int32 `json:"u_height,omitempty"` + // Starting unit for rack + StartingUnit *int32 `json:"starting_unit,omitempty"` + // Units are numbered top-to-bottom + DescUnits *bool `json:"desc_units,omitempty"` + // Outer dimension of rack (width) + OuterWidth NullableInt32 `json:"outer_width,omitempty"` + // Outer dimension of rack (depth) + OuterDepth NullableInt32 `json:"outer_depth,omitempty"` + OuterUnit NullableRackRequestOuterUnit `json:"outer_unit,omitempty"` + Weight NullableFloat64 `json:"weight,omitempty"` + // Maximum load capacity for the rack + MaxWeight NullableInt32 `json:"max_weight,omitempty"` + WeightUnit NullableDeviceTypeRequestWeightUnit `json:"weight_unit,omitempty"` + // Maximum depth of a mounted device, in millimeters. For four-post racks, this is the distance between the front and rear rails. + MountingDepth NullableInt32 `json:"mounting_depth,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _RackTypeRequest RackTypeRequest + +// NewRackTypeRequest instantiates a new RackTypeRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewRackTypeRequest(manufacturer BriefManufacturerRequest, model string, slug string) *RackTypeRequest { + this := RackTypeRequest{} + this.Manufacturer = manufacturer + this.Model = model + this.Slug = slug + return &this +} + +// NewRackTypeRequestWithDefaults instantiates a new RackTypeRequest object +// This 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 NewRackTypeRequestWithDefaults() *RackTypeRequest { + this := RackTypeRequest{} + return &this +} + +// GetManufacturer returns the Manufacturer field value +func (o *RackTypeRequest) GetManufacturer() BriefManufacturerRequest { + if o == nil { + var ret BriefManufacturerRequest + return ret + } + + return o.Manufacturer +} + +// GetManufacturerOk returns a tuple with the Manufacturer field value +// and a boolean to check if the value has been set. +func (o *RackTypeRequest) GetManufacturerOk() (*BriefManufacturerRequest, bool) { + if o == nil { + return nil, false + } + return &o.Manufacturer, true +} + +// SetManufacturer sets field value +func (o *RackTypeRequest) SetManufacturer(v BriefManufacturerRequest) { + o.Manufacturer = v +} + +// GetModel returns the Model field value +func (o *RackTypeRequest) GetModel() string { + if o == nil { + var ret string + return ret + } + + return o.Model +} + +// GetModelOk returns a tuple with the Model field value +// and a boolean to check if the value has been set. +func (o *RackTypeRequest) GetModelOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Model, true +} + +// SetModel sets field value +func (o *RackTypeRequest) SetModel(v string) { + o.Model = v +} + +// GetSlug returns the Slug field value +func (o *RackTypeRequest) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *RackTypeRequest) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *RackTypeRequest) SetSlug(v string) { + o.Slug = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *RackTypeRequest) 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 *RackTypeRequest) 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 *RackTypeRequest) 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 *RackTypeRequest) SetDescription(v string) { + o.Description = &v +} + +// GetFormFactor returns the FormFactor field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RackTypeRequest) GetFormFactor() RackRequestFormFactor { + if o == nil || IsNil(o.FormFactor.Get()) { + var ret RackRequestFormFactor + return ret + } + return *o.FormFactor.Get() +} + +// GetFormFactorOk returns a tuple with the FormFactor 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 *RackTypeRequest) GetFormFactorOk() (*RackRequestFormFactor, bool) { + if o == nil { + return nil, false + } + return o.FormFactor.Get(), o.FormFactor.IsSet() +} + +// HasFormFactor returns a boolean if a field has been set. +func (o *RackTypeRequest) HasFormFactor() bool { + if o != nil && o.FormFactor.IsSet() { + return true + } + + return false +} + +// SetFormFactor gets a reference to the given NullableRackRequestFormFactor and assigns it to the FormFactor field. +func (o *RackTypeRequest) SetFormFactor(v RackRequestFormFactor) { + o.FormFactor.Set(&v) +} + +// SetFormFactorNil sets the value for FormFactor to be an explicit nil +func (o *RackTypeRequest) SetFormFactorNil() { + o.FormFactor.Set(nil) +} + +// UnsetFormFactor ensures that no value is present for FormFactor, not even an explicit nil +func (o *RackTypeRequest) UnsetFormFactor() { + o.FormFactor.Unset() +} + +// GetWidth returns the Width field value if set, zero value otherwise. +func (o *RackTypeRequest) GetWidth() RackWidthValue { + if o == nil || IsNil(o.Width) { + var ret RackWidthValue + return ret + } + return *o.Width +} + +// GetWidthOk returns a tuple with the Width field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RackTypeRequest) GetWidthOk() (*RackWidthValue, bool) { + if o == nil || IsNil(o.Width) { + return nil, false + } + return o.Width, true +} + +// HasWidth returns a boolean if a field has been set. +func (o *RackTypeRequest) HasWidth() bool { + if o != nil && !IsNil(o.Width) { + return true + } + + return false +} + +// SetWidth gets a reference to the given RackWidthValue and assigns it to the Width field. +func (o *RackTypeRequest) SetWidth(v RackWidthValue) { + o.Width = &v +} + +// GetUHeight returns the UHeight field value if set, zero value otherwise. +func (o *RackTypeRequest) GetUHeight() int32 { + if o == nil || IsNil(o.UHeight) { + var ret int32 + return ret + } + return *o.UHeight +} + +// GetUHeightOk returns a tuple with the UHeight field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RackTypeRequest) GetUHeightOk() (*int32, bool) { + if o == nil || IsNil(o.UHeight) { + return nil, false + } + return o.UHeight, true +} + +// HasUHeight returns a boolean if a field has been set. +func (o *RackTypeRequest) HasUHeight() bool { + if o != nil && !IsNil(o.UHeight) { + return true + } + + return false +} + +// SetUHeight gets a reference to the given int32 and assigns it to the UHeight field. +func (o *RackTypeRequest) SetUHeight(v int32) { + o.UHeight = &v +} + +// GetStartingUnit returns the StartingUnit field value if set, zero value otherwise. +func (o *RackTypeRequest) GetStartingUnit() int32 { + if o == nil || IsNil(o.StartingUnit) { + var ret int32 + return ret + } + return *o.StartingUnit +} + +// GetStartingUnitOk returns a tuple with the StartingUnit field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RackTypeRequest) GetStartingUnitOk() (*int32, bool) { + if o == nil || IsNil(o.StartingUnit) { + return nil, false + } + return o.StartingUnit, true +} + +// HasStartingUnit returns a boolean if a field has been set. +func (o *RackTypeRequest) HasStartingUnit() bool { + if o != nil && !IsNil(o.StartingUnit) { + return true + } + + return false +} + +// SetStartingUnit gets a reference to the given int32 and assigns it to the StartingUnit field. +func (o *RackTypeRequest) SetStartingUnit(v int32) { + o.StartingUnit = &v +} + +// GetDescUnits returns the DescUnits field value if set, zero value otherwise. +func (o *RackTypeRequest) GetDescUnits() bool { + if o == nil || IsNil(o.DescUnits) { + var ret bool + return ret + } + return *o.DescUnits +} + +// GetDescUnitsOk returns a tuple with the DescUnits field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RackTypeRequest) GetDescUnitsOk() (*bool, bool) { + if o == nil || IsNil(o.DescUnits) { + return nil, false + } + return o.DescUnits, true +} + +// HasDescUnits returns a boolean if a field has been set. +func (o *RackTypeRequest) HasDescUnits() bool { + if o != nil && !IsNil(o.DescUnits) { + return true + } + + return false +} + +// SetDescUnits gets a reference to the given bool and assigns it to the DescUnits field. +func (o *RackTypeRequest) SetDescUnits(v bool) { + o.DescUnits = &v +} + +// GetOuterWidth returns the OuterWidth field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RackTypeRequest) GetOuterWidth() int32 { + if o == nil || IsNil(o.OuterWidth.Get()) { + var ret int32 + return ret + } + return *o.OuterWidth.Get() +} + +// GetOuterWidthOk returns a tuple with the OuterWidth 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 *RackTypeRequest) GetOuterWidthOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.OuterWidth.Get(), o.OuterWidth.IsSet() +} + +// HasOuterWidth returns a boolean if a field has been set. +func (o *RackTypeRequest) HasOuterWidth() bool { + if o != nil && o.OuterWidth.IsSet() { + return true + } + + return false +} + +// SetOuterWidth gets a reference to the given NullableInt32 and assigns it to the OuterWidth field. +func (o *RackTypeRequest) SetOuterWidth(v int32) { + o.OuterWidth.Set(&v) +} + +// SetOuterWidthNil sets the value for OuterWidth to be an explicit nil +func (o *RackTypeRequest) SetOuterWidthNil() { + o.OuterWidth.Set(nil) +} + +// UnsetOuterWidth ensures that no value is present for OuterWidth, not even an explicit nil +func (o *RackTypeRequest) UnsetOuterWidth() { + o.OuterWidth.Unset() +} + +// GetOuterDepth returns the OuterDepth field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RackTypeRequest) GetOuterDepth() int32 { + if o == nil || IsNil(o.OuterDepth.Get()) { + var ret int32 + return ret + } + return *o.OuterDepth.Get() +} + +// GetOuterDepthOk returns a tuple with the OuterDepth 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 *RackTypeRequest) GetOuterDepthOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.OuterDepth.Get(), o.OuterDepth.IsSet() +} + +// HasOuterDepth returns a boolean if a field has been set. +func (o *RackTypeRequest) HasOuterDepth() bool { + if o != nil && o.OuterDepth.IsSet() { + return true + } + + return false +} + +// SetOuterDepth gets a reference to the given NullableInt32 and assigns it to the OuterDepth field. +func (o *RackTypeRequest) SetOuterDepth(v int32) { + o.OuterDepth.Set(&v) +} + +// SetOuterDepthNil sets the value for OuterDepth to be an explicit nil +func (o *RackTypeRequest) SetOuterDepthNil() { + o.OuterDepth.Set(nil) +} + +// UnsetOuterDepth ensures that no value is present for OuterDepth, not even an explicit nil +func (o *RackTypeRequest) UnsetOuterDepth() { + o.OuterDepth.Unset() +} + +// GetOuterUnit returns the OuterUnit field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RackTypeRequest) GetOuterUnit() RackRequestOuterUnit { + if o == nil || IsNil(o.OuterUnit.Get()) { + var ret RackRequestOuterUnit + return ret + } + return *o.OuterUnit.Get() +} + +// GetOuterUnitOk returns a tuple with the OuterUnit 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 *RackTypeRequest) GetOuterUnitOk() (*RackRequestOuterUnit, bool) { + if o == nil { + return nil, false + } + return o.OuterUnit.Get(), o.OuterUnit.IsSet() +} + +// HasOuterUnit returns a boolean if a field has been set. +func (o *RackTypeRequest) HasOuterUnit() bool { + if o != nil && o.OuterUnit.IsSet() { + return true + } + + return false +} + +// SetOuterUnit gets a reference to the given NullableRackRequestOuterUnit and assigns it to the OuterUnit field. +func (o *RackTypeRequest) SetOuterUnit(v RackRequestOuterUnit) { + o.OuterUnit.Set(&v) +} + +// SetOuterUnitNil sets the value for OuterUnit to be an explicit nil +func (o *RackTypeRequest) SetOuterUnitNil() { + o.OuterUnit.Set(nil) +} + +// UnsetOuterUnit ensures that no value is present for OuterUnit, not even an explicit nil +func (o *RackTypeRequest) UnsetOuterUnit() { + o.OuterUnit.Unset() +} + +// GetWeight returns the Weight field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RackTypeRequest) GetWeight() float64 { + if o == nil || IsNil(o.Weight.Get()) { + var ret float64 + return ret + } + return *o.Weight.Get() +} + +// GetWeightOk returns a tuple with the Weight 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 *RackTypeRequest) GetWeightOk() (*float64, bool) { + if o == nil { + return nil, false + } + return o.Weight.Get(), o.Weight.IsSet() +} + +// HasWeight returns a boolean if a field has been set. +func (o *RackTypeRequest) HasWeight() bool { + if o != nil && o.Weight.IsSet() { + return true + } + + return false +} + +// SetWeight gets a reference to the given NullableFloat64 and assigns it to the Weight field. +func (o *RackTypeRequest) SetWeight(v float64) { + o.Weight.Set(&v) +} + +// SetWeightNil sets the value for Weight to be an explicit nil +func (o *RackTypeRequest) SetWeightNil() { + o.Weight.Set(nil) +} + +// UnsetWeight ensures that no value is present for Weight, not even an explicit nil +func (o *RackTypeRequest) UnsetWeight() { + o.Weight.Unset() +} + +// GetMaxWeight returns the MaxWeight field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RackTypeRequest) GetMaxWeight() int32 { + if o == nil || IsNil(o.MaxWeight.Get()) { + var ret int32 + return ret + } + return *o.MaxWeight.Get() +} + +// GetMaxWeightOk returns a tuple with the MaxWeight 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 *RackTypeRequest) GetMaxWeightOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.MaxWeight.Get(), o.MaxWeight.IsSet() +} + +// HasMaxWeight returns a boolean if a field has been set. +func (o *RackTypeRequest) HasMaxWeight() bool { + if o != nil && o.MaxWeight.IsSet() { + return true + } + + return false +} + +// SetMaxWeight gets a reference to the given NullableInt32 and assigns it to the MaxWeight field. +func (o *RackTypeRequest) SetMaxWeight(v int32) { + o.MaxWeight.Set(&v) +} + +// SetMaxWeightNil sets the value for MaxWeight to be an explicit nil +func (o *RackTypeRequest) SetMaxWeightNil() { + o.MaxWeight.Set(nil) +} + +// UnsetMaxWeight ensures that no value is present for MaxWeight, not even an explicit nil +func (o *RackTypeRequest) UnsetMaxWeight() { + o.MaxWeight.Unset() +} + +// GetWeightUnit returns the WeightUnit field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RackTypeRequest) GetWeightUnit() DeviceTypeRequestWeightUnit { + if o == nil || IsNil(o.WeightUnit.Get()) { + var ret DeviceTypeRequestWeightUnit + return ret + } + return *o.WeightUnit.Get() +} + +// GetWeightUnitOk returns a tuple with the WeightUnit 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 *RackTypeRequest) GetWeightUnitOk() (*DeviceTypeRequestWeightUnit, bool) { + if o == nil { + return nil, false + } + return o.WeightUnit.Get(), o.WeightUnit.IsSet() +} + +// HasWeightUnit returns a boolean if a field has been set. +func (o *RackTypeRequest) HasWeightUnit() bool { + if o != nil && o.WeightUnit.IsSet() { + return true + } + + return false +} + +// SetWeightUnit gets a reference to the given NullableDeviceTypeRequestWeightUnit and assigns it to the WeightUnit field. +func (o *RackTypeRequest) SetWeightUnit(v DeviceTypeRequestWeightUnit) { + o.WeightUnit.Set(&v) +} + +// SetWeightUnitNil sets the value for WeightUnit to be an explicit nil +func (o *RackTypeRequest) SetWeightUnitNil() { + o.WeightUnit.Set(nil) +} + +// UnsetWeightUnit ensures that no value is present for WeightUnit, not even an explicit nil +func (o *RackTypeRequest) UnsetWeightUnit() { + o.WeightUnit.Unset() +} + +// GetMountingDepth returns the MountingDepth field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RackTypeRequest) GetMountingDepth() int32 { + if o == nil || IsNil(o.MountingDepth.Get()) { + var ret int32 + return ret + } + return *o.MountingDepth.Get() +} + +// GetMountingDepthOk returns a tuple with the MountingDepth 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 *RackTypeRequest) GetMountingDepthOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.MountingDepth.Get(), o.MountingDepth.IsSet() +} + +// HasMountingDepth returns a boolean if a field has been set. +func (o *RackTypeRequest) HasMountingDepth() bool { + if o != nil && o.MountingDepth.IsSet() { + return true + } + + return false +} + +// SetMountingDepth gets a reference to the given NullableInt32 and assigns it to the MountingDepth field. +func (o *RackTypeRequest) SetMountingDepth(v int32) { + o.MountingDepth.Set(&v) +} + +// SetMountingDepthNil sets the value for MountingDepth to be an explicit nil +func (o *RackTypeRequest) SetMountingDepthNil() { + o.MountingDepth.Set(nil) +} + +// UnsetMountingDepth ensures that no value is present for MountingDepth, not even an explicit nil +func (o *RackTypeRequest) UnsetMountingDepth() { + o.MountingDepth.Unset() +} + +// GetComments returns the Comments field value if set, zero value otherwise. +func (o *RackTypeRequest) GetComments() string { + if o == nil || IsNil(o.Comments) { + var ret string + return ret + } + return *o.Comments +} + +// GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RackTypeRequest) GetCommentsOk() (*string, bool) { + if o == nil || IsNil(o.Comments) { + return nil, false + } + return o.Comments, true +} + +// HasComments returns a boolean if a field has been set. +func (o *RackTypeRequest) HasComments() bool { + if o != nil && !IsNil(o.Comments) { + return true + } + + return false +} + +// SetComments gets a reference to the given string and assigns it to the Comments field. +func (o *RackTypeRequest) SetComments(v string) { + o.Comments = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *RackTypeRequest) GetTags() []NestedTagRequest { + if o == nil || IsNil(o.Tags) { + var ret []NestedTagRequest + 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 *RackTypeRequest) GetTagsOk() ([]NestedTagRequest, 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 *RackTypeRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTagRequest and assigns it to the Tags field. +func (o *RackTypeRequest) SetTags(v []NestedTagRequest) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *RackTypeRequest) 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 *RackTypeRequest) 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 *RackTypeRequest) 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 *RackTypeRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +func (o RackTypeRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o RackTypeRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["manufacturer"] = o.Manufacturer + toSerialize["model"] = o.Model + toSerialize["slug"] = o.Slug + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + if o.FormFactor.IsSet() { + toSerialize["form_factor"] = o.FormFactor.Get() + } + if !IsNil(o.Width) { + toSerialize["width"] = o.Width + } + if !IsNil(o.UHeight) { + toSerialize["u_height"] = o.UHeight + } + if !IsNil(o.StartingUnit) { + toSerialize["starting_unit"] = o.StartingUnit + } + if !IsNil(o.DescUnits) { + toSerialize["desc_units"] = o.DescUnits + } + if o.OuterWidth.IsSet() { + toSerialize["outer_width"] = o.OuterWidth.Get() + } + if o.OuterDepth.IsSet() { + toSerialize["outer_depth"] = o.OuterDepth.Get() + } + if o.OuterUnit.IsSet() { + toSerialize["outer_unit"] = o.OuterUnit.Get() + } + if o.Weight.IsSet() { + toSerialize["weight"] = o.Weight.Get() + } + if o.MaxWeight.IsSet() { + toSerialize["max_weight"] = o.MaxWeight.Get() + } + if o.WeightUnit.IsSet() { + toSerialize["weight_unit"] = o.WeightUnit.Get() + } + if o.MountingDepth.IsSet() { + toSerialize["mounting_depth"] = o.MountingDepth.Get() + } + if !IsNil(o.Comments) { + toSerialize["comments"] = o.Comments + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *RackTypeRequest) 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{ + "manufacturer", + "model", + "slug", + } + + 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) + } + } + + varRackTypeRequest := _RackTypeRequest{} + + err = json.Unmarshal(data, &varRackTypeRequest) + + if err != nil { + return err + } + + *o = RackTypeRequest(varRackTypeRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "manufacturer") + delete(additionalProperties, "model") + delete(additionalProperties, "slug") + delete(additionalProperties, "description") + delete(additionalProperties, "form_factor") + delete(additionalProperties, "width") + delete(additionalProperties, "u_height") + delete(additionalProperties, "starting_unit") + delete(additionalProperties, "desc_units") + delete(additionalProperties, "outer_width") + delete(additionalProperties, "outer_depth") + delete(additionalProperties, "outer_unit") + delete(additionalProperties, "weight") + delete(additionalProperties, "max_weight") + delete(additionalProperties, "weight_unit") + delete(additionalProperties, "mounting_depth") + delete(additionalProperties, "comments") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableRackTypeRequest struct { + value *RackTypeRequest + isSet bool +} + +func (v NullableRackTypeRequest) Get() *RackTypeRequest { + return v.value +} + +func (v *NullableRackTypeRequest) Set(val *RackTypeRequest) { + v.value = val + v.isSet = true +} + +func (v NullableRackTypeRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableRackTypeRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRackTypeRequest(val *RackTypeRequest) *NullableRackTypeRequest { + return &NullableRackTypeRequest{value: val, isSet: true} +} + +func (v NullableRackTypeRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRackTypeRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_rack_unit.go b/model_rack_unit.go index 6bd4ac781..04c1ff768 100644 --- a/model_rack_unit.go +++ b/model_rack_unit.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -23,7 +23,7 @@ type RackUnit struct { Id float64 `json:"id"` Name string `json:"name"` Face RackUnitFace `json:"face"` - Device Device `json:"device"` + Device BriefDevice `json:"device"` Occupied bool `json:"occupied"` Display string `json:"display"` AdditionalProperties map[string]interface{} @@ -35,7 +35,7 @@ type _RackUnit RackUnit // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewRackUnit(id float64, name string, face RackUnitFace, device Device, occupied bool, display string) *RackUnit { +func NewRackUnit(id float64, name string, face RackUnitFace, device BriefDevice, occupied bool, display string) *RackUnit { this := RackUnit{} this.Id = id this.Name = name @@ -127,9 +127,9 @@ func (o *RackUnit) SetFace(v RackUnitFace) { } // GetDevice returns the Device field value -func (o *RackUnit) GetDevice() Device { +func (o *RackUnit) GetDevice() BriefDevice { if o == nil { - var ret Device + var ret BriefDevice return ret } @@ -138,7 +138,7 @@ func (o *RackUnit) GetDevice() Device { // GetDeviceOk returns a tuple with the Device field value // and a boolean to check if the value has been set. -func (o *RackUnit) GetDeviceOk() (*Device, bool) { +func (o *RackUnit) GetDeviceOk() (*BriefDevice, bool) { if o == nil { return nil, false } @@ -146,7 +146,7 @@ func (o *RackUnit) GetDeviceOk() (*Device, bool) { } // SetDevice sets field value -func (o *RackUnit) SetDevice(v Device) { +func (o *RackUnit) SetDevice(v BriefDevice) { o.Device = v } diff --git a/model_rack_unit_face.go b/model_rack_unit_face.go index 081988bab..8d5130946 100644 --- a/model_rack_unit_face.go +++ b/model_rack_unit_face.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_rack_unit_face_value.go b/model_rack_unit_face_value.go index 1219f8e2c..22187a5b9 100644 --- a/model_rack_unit_face_value.go +++ b/model_rack_unit_face_value.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_rack_width.go b/model_rack_width.go new file mode 100644 index 000000000..806ccda19 --- /dev/null +++ b/model_rack_width.go @@ -0,0 +1,190 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" +) + +// checks if the RackWidth type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &RackWidth{} + +// RackWidth struct for RackWidth +type RackWidth struct { + Value *RackWidthValue `json:"value,omitempty"` + Label *RackWidthLabel `json:"label,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _RackWidth RackWidth + +// NewRackWidth instantiates a new RackWidth object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewRackWidth() *RackWidth { + this := RackWidth{} + return &this +} + +// NewRackWidthWithDefaults instantiates a new RackWidth object +// This 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 NewRackWidthWithDefaults() *RackWidth { + this := RackWidth{} + return &this +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *RackWidth) GetValue() RackWidthValue { + if o == nil || IsNil(o.Value) { + var ret RackWidthValue + 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 *RackWidth) GetValueOk() (*RackWidthValue, 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 *RackWidth) HasValue() bool { + if o != nil && !IsNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given RackWidthValue and assigns it to the Value field. +func (o *RackWidth) SetValue(v RackWidthValue) { + o.Value = &v +} + +// GetLabel returns the Label field value if set, zero value otherwise. +func (o *RackWidth) GetLabel() RackWidthLabel { + if o == nil || IsNil(o.Label) { + var ret RackWidthLabel + 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 *RackWidth) GetLabelOk() (*RackWidthLabel, 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 *RackWidth) HasLabel() bool { + if o != nil && !IsNil(o.Label) { + return true + } + + return false +} + +// SetLabel gets a reference to the given RackWidthLabel and assigns it to the Label field. +func (o *RackWidth) SetLabel(v RackWidthLabel) { + o.Label = &v +} + +func (o RackWidth) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o RackWidth) 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 *RackWidth) UnmarshalJSON(data []byte) (err error) { + varRackWidth := _RackWidth{} + + err = json.Unmarshal(data, &varRackWidth) + + if err != nil { + return err + } + + *o = RackWidth(varRackWidth) + + 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 NullableRackWidth struct { + value *RackWidth + isSet bool +} + +func (v NullableRackWidth) Get() *RackWidth { + return v.value +} + +func (v *NullableRackWidth) Set(val *RackWidth) { + v.value = val + v.isSet = true +} + +func (v NullableRackWidth) IsSet() bool { + return v.isSet +} + +func (v *NullableRackWidth) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRackWidth(val *RackWidth) *NullableRackWidth { + return &NullableRackWidth{value: val, isSet: true} +} + +func (v NullableRackWidth) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRackWidth) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_rack_width_label.go b/model_rack_width_label.go new file mode 100644 index 000000000..016c1b5c6 --- /dev/null +++ b/model_rack_width_label.go @@ -0,0 +1,114 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// RackWidthLabel the model 'RackWidthLabel' +type RackWidthLabel string + +// List of Rack_width_label +const ( + RACKWIDTHLABEL__10_INCHES RackWidthLabel = "10 inches" + RACKWIDTHLABEL__19_INCHES RackWidthLabel = "19 inches" + RACKWIDTHLABEL__21_INCHES RackWidthLabel = "21 inches" + RACKWIDTHLABEL__23_INCHES RackWidthLabel = "23 inches" +) + +// All allowed values of RackWidthLabel enum +var AllowedRackWidthLabelEnumValues = []RackWidthLabel{ + "10 inches", + "19 inches", + "21 inches", + "23 inches", +} + +func (v *RackWidthLabel) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := RackWidthLabel(value) + for _, existing := range AllowedRackWidthLabelEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid RackWidthLabel", value) +} + +// NewRackWidthLabelFromValue returns a pointer to a valid RackWidthLabel +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewRackWidthLabelFromValue(v string) (*RackWidthLabel, error) { + ev := RackWidthLabel(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for RackWidthLabel: valid values are %v", v, AllowedRackWidthLabelEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v RackWidthLabel) IsValid() bool { + for _, existing := range AllowedRackWidthLabelEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to Rack_width_label value +func (v RackWidthLabel) Ptr() *RackWidthLabel { + return &v +} + +type NullableRackWidthLabel struct { + value *RackWidthLabel + isSet bool +} + +func (v NullableRackWidthLabel) Get() *RackWidthLabel { + return v.value +} + +func (v *NullableRackWidthLabel) Set(val *RackWidthLabel) { + v.value = val + v.isSet = true +} + +func (v NullableRackWidthLabel) IsSet() bool { + return v.isSet +} + +func (v *NullableRackWidthLabel) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRackWidthLabel(val *RackWidthLabel) *NullableRackWidthLabel { + return &NullableRackWidthLabel{value: val, isSet: true} +} + +func (v NullableRackWidthLabel) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRackWidthLabel) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_rack_width_value.go b/model_rack_width_value.go new file mode 100644 index 000000000..3b984fe89 --- /dev/null +++ b/model_rack_width_value.go @@ -0,0 +1,114 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// RackWidthValue * `10` - 10 inches * `19` - 19 inches * `21` - 21 inches * `23` - 23 inches +type RackWidthValue int32 + +// List of Rack_width_value +const ( + RACKWIDTHVALUE__10 RackWidthValue = 10 + RACKWIDTHVALUE__19 RackWidthValue = 19 + RACKWIDTHVALUE__21 RackWidthValue = 21 + RACKWIDTHVALUE__23 RackWidthValue = 23 +) + +// All allowed values of RackWidthValue enum +var AllowedRackWidthValueEnumValues = []RackWidthValue{ + 10, + 19, + 21, + 23, +} + +func (v *RackWidthValue) UnmarshalJSON(src []byte) error { + var value int32 + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := RackWidthValue(value) + for _, existing := range AllowedRackWidthValueEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid RackWidthValue", value) +} + +// NewRackWidthValueFromValue returns a pointer to a valid RackWidthValue +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewRackWidthValueFromValue(v int32) (*RackWidthValue, error) { + ev := RackWidthValue(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for RackWidthValue: valid values are %v", v, AllowedRackWidthValueEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v RackWidthValue) IsValid() bool { + for _, existing := range AllowedRackWidthValueEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to Rack_width_value value +func (v RackWidthValue) Ptr() *RackWidthValue { + return &v +} + +type NullableRackWidthValue struct { + value *RackWidthValue + isSet bool +} + +func (v NullableRackWidthValue) Get() *RackWidthValue { + return v.value +} + +func (v *NullableRackWidthValue) Set(val *RackWidthValue) { + v.value = val + v.isSet = true +} + +func (v NullableRackWidthValue) IsSet() bool { + return v.isSet +} + +func (v *NullableRackWidthValue) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRackWidthValue(val *RackWidthValue) *NullableRackWidthValue { + return &NullableRackWidthValue{value: val, isSet: true} +} + +func (v NullableRackWidthValue) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRackWidthValue) 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 874ce1541..ab9b4fa31 100644 --- a/model_rear_port.go +++ b/model_rear_port.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,12 +21,13 @@ var _ MappedNullable = &RearPort{} // RearPort Adds support for custom fields and tags. type RearPort struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - Device Device `json:"device"` - Module NullableModule `json:"module,omitempty"` - Name string `json:"name"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Device BriefDevice `json:"device"` + Module NullableBriefModule `json:"module,omitempty"` + Name string `json:"name"` // Physical label Label *string `json:"label,omitempty"` Type FrontPortType `json:"type"` @@ -35,12 +36,12 @@ type RearPort struct { Positions *int32 `json:"positions,omitempty"` Description *string `json:"description,omitempty"` // Treat as if a cable is connected - MarkConnected *bool `json:"mark_connected,omitempty"` - Cable NullableCable `json:"cable"` - CableEnd string `json:"cable_end"` - LinkPeers []interface{} `json:"link_peers"` + MarkConnected *bool `json:"mark_connected,omitempty"` + Cable NullableBriefCable `json:"cable"` + CableEnd string `json:"cable_end"` + LinkPeers []interface{} `json:"link_peers"` // Return the type of the peer link terminations, or None. - LinkPeersType string `json:"link_peers_type"` + LinkPeersType NullableString `json:"link_peers_type"` Tags []NestedTag `json:"tags,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Created NullableTime `json:"created"` @@ -55,7 +56,7 @@ 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 int32, url string, display string, device Device, name string, type_ FrontPortType, cable NullableCable, cableEnd string, linkPeers []interface{}, linkPeersType string, created NullableTime, lastUpdated NullableTime, occupied bool) *RearPort { +func NewRearPort(id int32, url string, display string, device BriefDevice, name string, type_ FrontPortType, cable NullableBriefCable, cableEnd string, linkPeers []interface{}, linkPeersType NullableString, created NullableTime, lastUpdated NullableTime, occupied bool) *RearPort { this := RearPort{} this.Id = id this.Url = url @@ -129,6 +130,38 @@ func (o *RearPort) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *RearPort) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RearPort) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *RearPort) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *RearPort) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *RearPort) GetDisplay() string { if o == nil { @@ -154,9 +187,9 @@ func (o *RearPort) SetDisplay(v string) { } // GetDevice returns the Device field value -func (o *RearPort) GetDevice() Device { +func (o *RearPort) GetDevice() BriefDevice { if o == nil { - var ret Device + var ret BriefDevice return ret } @@ -165,7 +198,7 @@ func (o *RearPort) GetDevice() Device { // GetDeviceOk returns a tuple with the Device field value // and a boolean to check if the value has been set. -func (o *RearPort) GetDeviceOk() (*Device, bool) { +func (o *RearPort) GetDeviceOk() (*BriefDevice, bool) { if o == nil { return nil, false } @@ -173,14 +206,14 @@ func (o *RearPort) GetDeviceOk() (*Device, bool) { } // SetDevice sets field value -func (o *RearPort) SetDevice(v Device) { +func (o *RearPort) SetDevice(v BriefDevice) { o.Device = v } // GetModule returns the Module field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *RearPort) GetModule() Module { +func (o *RearPort) GetModule() BriefModule { if o == nil || IsNil(o.Module.Get()) { - var ret Module + var ret BriefModule return ret } return *o.Module.Get() @@ -189,7 +222,7 @@ func (o *RearPort) GetModule() Module { // GetModuleOk returns a tuple with the Module 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 *RearPort) GetModuleOk() (*Module, bool) { +func (o *RearPort) GetModuleOk() (*BriefModule, bool) { if o == nil { return nil, false } @@ -205,8 +238,8 @@ func (o *RearPort) HasModule() bool { return false } -// SetModule gets a reference to the given NullableModule and assigns it to the Module field. -func (o *RearPort) SetModule(v Module) { +// SetModule gets a reference to the given NullableBriefModule and assigns it to the Module field. +func (o *RearPort) SetModule(v BriefModule) { o.Module.Set(&v) } @@ -429,10 +462,10 @@ func (o *RearPort) SetMarkConnected(v bool) { } // GetCable returns the Cable field value -// If the value is explicit nil, the zero value for Cable will be returned -func (o *RearPort) GetCable() Cable { +// If the value is explicit nil, the zero value for BriefCable will be returned +func (o *RearPort) GetCable() BriefCable { if o == nil || o.Cable.Get() == nil { - var ret Cable + var ret BriefCable return ret } @@ -442,7 +475,7 @@ func (o *RearPort) GetCable() Cable { // GetCableOk returns a tuple with the Cable 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 *RearPort) GetCableOk() (*Cable, bool) { +func (o *RearPort) GetCableOk() (*BriefCable, bool) { if o == nil { return nil, false } @@ -450,7 +483,7 @@ func (o *RearPort) GetCableOk() (*Cable, bool) { } // SetCable sets field value -func (o *RearPort) SetCable(v Cable) { +func (o *RearPort) SetCable(v BriefCable) { o.Cable.Set(&v) } @@ -503,27 +536,29 @@ func (o *RearPort) SetLinkPeers(v []interface{}) { } // GetLinkPeersType returns the LinkPeersType field value +// If the value is explicit nil, the zero value for string will be returned func (o *RearPort) GetLinkPeersType() string { - if o == nil { + if o == nil || o.LinkPeersType.Get() == nil { var ret string return ret } - return o.LinkPeersType + return *o.LinkPeersType.Get() } // GetLinkPeersTypeOk returns a tuple with the LinkPeersType 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 *RearPort) GetLinkPeersTypeOk() (*string, bool) { if o == nil { return nil, false } - return &o.LinkPeersType, true + return o.LinkPeersType.Get(), o.LinkPeersType.IsSet() } // SetLinkPeersType sets field value func (o *RearPort) SetLinkPeersType(v string) { - o.LinkPeersType = v + o.LinkPeersType.Set(&v) } // GetTags returns the Tags field value if set, zero value otherwise. @@ -678,6 +713,9 @@ func (o RearPort) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["device"] = o.Device if o.Module.IsSet() { @@ -703,7 +741,7 @@ func (o RearPort) ToMap() (map[string]interface{}, error) { toSerialize["cable"] = o.Cable.Get() toSerialize["cable_end"] = o.CableEnd toSerialize["link_peers"] = o.LinkPeers - toSerialize["link_peers_type"] = o.LinkPeersType + toSerialize["link_peers_type"] = o.LinkPeersType.Get() if !IsNil(o.Tags) { toSerialize["tags"] = o.Tags } @@ -770,6 +808,7 @@ func (o *RearPort) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "device") delete(additionalProperties, "module") diff --git a/model_rear_port_request.go b/model_rear_port_request.go index 0ea93e90e..9636e2715 100644 --- a/model_rear_port_request.go +++ b/model_rear_port_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,9 +20,9 @@ var _ MappedNullable = &RearPortRequest{} // RearPortRequest Adds support for custom fields and tags. type RearPortRequest struct { - Device DeviceRequest `json:"device"` - Module NullableModuleRequest `json:"module,omitempty"` - Name string `json:"name"` + Device BriefDeviceRequest `json:"device"` + Module NullableBriefModuleRequest `json:"module,omitempty"` + Name string `json:"name"` // Physical label Label *string `json:"label,omitempty"` Type FrontPortTypeValue `json:"type"` @@ -43,7 +43,7 @@ type _RearPortRequest RearPortRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewRearPortRequest(device DeviceRequest, name string, type_ FrontPortTypeValue) *RearPortRequest { +func NewRearPortRequest(device BriefDeviceRequest, name string, type_ FrontPortTypeValue) *RearPortRequest { this := RearPortRequest{} this.Device = device this.Name = name @@ -60,9 +60,9 @@ func NewRearPortRequestWithDefaults() *RearPortRequest { } // GetDevice returns the Device field value -func (o *RearPortRequest) GetDevice() DeviceRequest { +func (o *RearPortRequest) GetDevice() BriefDeviceRequest { if o == nil { - var ret DeviceRequest + var ret BriefDeviceRequest return ret } @@ -71,7 +71,7 @@ func (o *RearPortRequest) GetDevice() DeviceRequest { // GetDeviceOk returns a tuple with the Device field value // and a boolean to check if the value has been set. -func (o *RearPortRequest) GetDeviceOk() (*DeviceRequest, bool) { +func (o *RearPortRequest) GetDeviceOk() (*BriefDeviceRequest, bool) { if o == nil { return nil, false } @@ -79,14 +79,14 @@ func (o *RearPortRequest) GetDeviceOk() (*DeviceRequest, bool) { } // SetDevice sets field value -func (o *RearPortRequest) SetDevice(v DeviceRequest) { +func (o *RearPortRequest) SetDevice(v BriefDeviceRequest) { o.Device = v } // GetModule returns the Module field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *RearPortRequest) GetModule() ModuleRequest { +func (o *RearPortRequest) GetModule() BriefModuleRequest { if o == nil || IsNil(o.Module.Get()) { - var ret ModuleRequest + var ret BriefModuleRequest return ret } return *o.Module.Get() @@ -95,7 +95,7 @@ func (o *RearPortRequest) GetModule() ModuleRequest { // GetModuleOk returns a tuple with the Module 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 *RearPortRequest) GetModuleOk() (*ModuleRequest, bool) { +func (o *RearPortRequest) GetModuleOk() (*BriefModuleRequest, bool) { if o == nil { return nil, false } @@ -111,8 +111,8 @@ func (o *RearPortRequest) HasModule() bool { return false } -// SetModule gets a reference to the given NullableModuleRequest and assigns it to the Module field. -func (o *RearPortRequest) SetModule(v ModuleRequest) { +// SetModule gets a reference to the given NullableBriefModuleRequest and assigns it to the Module field. +func (o *RearPortRequest) SetModule(v BriefModuleRequest) { o.Module.Set(&v) } diff --git a/model_rear_port_template.go b/model_rear_port_template.go index c0fc38788..ceaca3b66 100644 --- a/model_rear_port_template.go +++ b/model_rear_port_template.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -13,6 +13,7 @@ package netbox import ( "encoding/json" "fmt" + "time" ) // checks if the RearPortTemplate type satisfies the MappedNullable interface at compile time @@ -20,12 +21,21 @@ var _ MappedNullable = &RearPortTemplate{} // RearPortTemplate Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 RearPortTemplate struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + DeviceType NullableBriefDeviceType `json:"device_type,omitempty"` + ModuleType NullableBriefModuleType `json:"module_type,omitempty"` // {module} is accepted as a substitution for the module bay position when attached to a module type. - Name string `json:"name"` - Description *string `json:"description,omitempty"` + Name string `json:"name"` + // Physical label + Label *string `json:"label,omitempty"` + Type FrontPortType `json:"type"` + Color *string `json:"color,omitempty"` + Positions *int32 `json:"positions,omitempty"` + Description *string `json:"description,omitempty"` + Created NullableTime `json:"created"` + LastUpdated NullableTime `json:"last_updated"` AdditionalProperties map[string]interface{} } @@ -35,12 +45,15 @@ 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 int32, url string, display string, name string) *RearPortTemplate { +func NewRearPortTemplate(id int32, url string, display string, name string, type_ FrontPortType, created NullableTime, lastUpdated NullableTime) *RearPortTemplate { this := RearPortTemplate{} this.Id = id this.Url = url this.Display = display this.Name = name + this.Type = type_ + this.Created = created + this.LastUpdated = lastUpdated return &this } @@ -124,6 +137,92 @@ func (o *RearPortTemplate) SetDisplay(v string) { o.Display = v } +// GetDeviceType returns the DeviceType field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RearPortTemplate) GetDeviceType() BriefDeviceType { + if o == nil || IsNil(o.DeviceType.Get()) { + var ret BriefDeviceType + return ret + } + return *o.DeviceType.Get() +} + +// GetDeviceTypeOk returns a tuple with the DeviceType 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 *RearPortTemplate) GetDeviceTypeOk() (*BriefDeviceType, bool) { + if o == nil { + return nil, false + } + return o.DeviceType.Get(), o.DeviceType.IsSet() +} + +// HasDeviceType returns a boolean if a field has been set. +func (o *RearPortTemplate) HasDeviceType() bool { + if o != nil && o.DeviceType.IsSet() { + return true + } + + return false +} + +// SetDeviceType gets a reference to the given NullableBriefDeviceType and assigns it to the DeviceType field. +func (o *RearPortTemplate) SetDeviceType(v BriefDeviceType) { + o.DeviceType.Set(&v) +} + +// SetDeviceTypeNil sets the value for DeviceType to be an explicit nil +func (o *RearPortTemplate) SetDeviceTypeNil() { + o.DeviceType.Set(nil) +} + +// UnsetDeviceType ensures that no value is present for DeviceType, not even an explicit nil +func (o *RearPortTemplate) UnsetDeviceType() { + o.DeviceType.Unset() +} + +// GetModuleType returns the ModuleType field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RearPortTemplate) GetModuleType() BriefModuleType { + if o == nil || IsNil(o.ModuleType.Get()) { + var ret BriefModuleType + return ret + } + return *o.ModuleType.Get() +} + +// GetModuleTypeOk returns a tuple with the ModuleType 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 *RearPortTemplate) GetModuleTypeOk() (*BriefModuleType, bool) { + if o == nil { + return nil, false + } + return o.ModuleType.Get(), o.ModuleType.IsSet() +} + +// HasModuleType returns a boolean if a field has been set. +func (o *RearPortTemplate) HasModuleType() bool { + if o != nil && o.ModuleType.IsSet() { + return true + } + + return false +} + +// SetModuleType gets a reference to the given NullableBriefModuleType and assigns it to the ModuleType field. +func (o *RearPortTemplate) SetModuleType(v BriefModuleType) { + o.ModuleType.Set(&v) +} + +// SetModuleTypeNil sets the value for ModuleType to be an explicit nil +func (o *RearPortTemplate) SetModuleTypeNil() { + o.ModuleType.Set(nil) +} + +// UnsetModuleType ensures that no value is present for ModuleType, not even an explicit nil +func (o *RearPortTemplate) UnsetModuleType() { + o.ModuleType.Unset() +} + // GetName returns the Name field value func (o *RearPortTemplate) GetName() string { if o == nil { @@ -148,6 +247,126 @@ func (o *RearPortTemplate) SetName(v string) { o.Name = v } +// GetLabel returns the Label field value if set, zero value otherwise. +func (o *RearPortTemplate) GetLabel() string { + if o == nil || IsNil(o.Label) { + var ret string + 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 *RearPortTemplate) GetLabelOk() (*string, 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 *RearPortTemplate) HasLabel() bool { + if o != nil && !IsNil(o.Label) { + return true + } + + return false +} + +// SetLabel gets a reference to the given string and assigns it to the Label field. +func (o *RearPortTemplate) SetLabel(v string) { + o.Label = &v +} + +// GetType returns the Type field value +func (o *RearPortTemplate) GetType() FrontPortType { + if o == nil { + var ret FrontPortType + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +func (o *RearPortTemplate) GetTypeOk() (*FrontPortType, bool) { + if o == nil { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *RearPortTemplate) SetType(v FrontPortType) { + o.Type = v +} + +// GetColor returns the Color field value if set, zero value otherwise. +func (o *RearPortTemplate) GetColor() string { + if o == nil || IsNil(o.Color) { + var ret string + return ret + } + return *o.Color +} + +// GetColorOk returns a tuple with the Color field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RearPortTemplate) GetColorOk() (*string, bool) { + if o == nil || IsNil(o.Color) { + return nil, false + } + return o.Color, true +} + +// HasColor returns a boolean if a field has been set. +func (o *RearPortTemplate) HasColor() bool { + if o != nil && !IsNil(o.Color) { + return true + } + + return false +} + +// SetColor gets a reference to the given string and assigns it to the Color field. +func (o *RearPortTemplate) SetColor(v string) { + o.Color = &v +} + +// GetPositions returns the Positions field value if set, zero value otherwise. +func (o *RearPortTemplate) GetPositions() int32 { + if o == nil || IsNil(o.Positions) { + var ret int32 + return ret + } + return *o.Positions +} + +// GetPositionsOk returns a tuple with the Positions field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RearPortTemplate) GetPositionsOk() (*int32, bool) { + if o == nil || IsNil(o.Positions) { + return nil, false + } + return o.Positions, true +} + +// HasPositions returns a boolean if a field has been set. +func (o *RearPortTemplate) HasPositions() bool { + if o != nil && !IsNil(o.Positions) { + return true + } + + return false +} + +// SetPositions gets a reference to the given int32 and assigns it to the Positions field. +func (o *RearPortTemplate) SetPositions(v int32) { + o.Positions = &v +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *RearPortTemplate) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -180,6 +399,58 @@ func (o *RearPortTemplate) 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 *RearPortTemplate) 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 *RearPortTemplate) GetCreatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.Created.Get(), o.Created.IsSet() +} + +// SetCreated sets field value +func (o *RearPortTemplate) 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 *RearPortTemplate) 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 *RearPortTemplate) GetLastUpdatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LastUpdated.Get(), o.LastUpdated.IsSet() +} + +// SetLastUpdated sets field value +func (o *RearPortTemplate) SetLastUpdated(v time.Time) { + o.LastUpdated.Set(&v) +} + func (o RearPortTemplate) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -193,10 +464,28 @@ func (o RearPortTemplate) ToMap() (map[string]interface{}, error) { toSerialize["id"] = o.Id toSerialize["url"] = o.Url toSerialize["display"] = o.Display + if o.DeviceType.IsSet() { + toSerialize["device_type"] = o.DeviceType.Get() + } + if o.ModuleType.IsSet() { + toSerialize["module_type"] = o.ModuleType.Get() + } toSerialize["name"] = o.Name + if !IsNil(o.Label) { + toSerialize["label"] = o.Label + } + toSerialize["type"] = o.Type + if !IsNil(o.Color) { + toSerialize["color"] = o.Color + } + if !IsNil(o.Positions) { + toSerialize["positions"] = o.Positions + } if !IsNil(o.Description) { toSerialize["description"] = o.Description } + toSerialize["created"] = o.Created.Get() + toSerialize["last_updated"] = o.LastUpdated.Get() for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -214,6 +503,9 @@ func (o *RearPortTemplate) UnmarshalJSON(data []byte) (err error) { "url", "display", "name", + "type", + "created", + "last_updated", } allProperties := make(map[string]interface{}) @@ -246,8 +538,16 @@ func (o *RearPortTemplate) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "id") delete(additionalProperties, "url") delete(additionalProperties, "display") + delete(additionalProperties, "device_type") + delete(additionalProperties, "module_type") delete(additionalProperties, "name") + delete(additionalProperties, "label") + delete(additionalProperties, "type") + delete(additionalProperties, "color") + delete(additionalProperties, "positions") delete(additionalProperties, "description") + delete(additionalProperties, "created") + delete(additionalProperties, "last_updated") o.AdditionalProperties = additionalProperties } diff --git a/model_rear_port_template_request.go b/model_rear_port_template_request.go index 094c72a2d..09a2ad4c6 100644 --- a/model_rear_port_template_request.go +++ b/model_rear_port_template_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,9 +20,16 @@ var _ MappedNullable = &RearPortTemplateRequest{} // RearPortTemplateRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 RearPortTemplateRequest struct { + DeviceType NullableBriefDeviceTypeRequest `json:"device_type,omitempty"` + ModuleType NullableBriefModuleTypeRequest `json:"module_type,omitempty"` // {module} is accepted as a substitution for the module bay position when attached to a module type. - Name string `json:"name"` - Description *string `json:"description,omitempty"` + Name string `json:"name"` + // Physical label + Label *string `json:"label,omitempty"` + Type FrontPortTypeValue `json:"type"` + Color *string `json:"color,omitempty"` + Positions *int32 `json:"positions,omitempty"` + Description *string `json:"description,omitempty"` AdditionalProperties map[string]interface{} } @@ -32,9 +39,10 @@ type _RearPortTemplateRequest RearPortTemplateRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewRearPortTemplateRequest(name string) *RearPortTemplateRequest { +func NewRearPortTemplateRequest(name string, type_ FrontPortTypeValue) *RearPortTemplateRequest { this := RearPortTemplateRequest{} this.Name = name + this.Type = type_ return &this } @@ -46,6 +54,92 @@ func NewRearPortTemplateRequestWithDefaults() *RearPortTemplateRequest { return &this } +// GetDeviceType returns the DeviceType field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RearPortTemplateRequest) GetDeviceType() BriefDeviceTypeRequest { + if o == nil || IsNil(o.DeviceType.Get()) { + var ret BriefDeviceTypeRequest + return ret + } + return *o.DeviceType.Get() +} + +// GetDeviceTypeOk returns a tuple with the DeviceType 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 *RearPortTemplateRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool) { + if o == nil { + return nil, false + } + return o.DeviceType.Get(), o.DeviceType.IsSet() +} + +// HasDeviceType returns a boolean if a field has been set. +func (o *RearPortTemplateRequest) HasDeviceType() bool { + if o != nil && o.DeviceType.IsSet() { + return true + } + + return false +} + +// SetDeviceType gets a reference to the given NullableBriefDeviceTypeRequest and assigns it to the DeviceType field. +func (o *RearPortTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest) { + o.DeviceType.Set(&v) +} + +// SetDeviceTypeNil sets the value for DeviceType to be an explicit nil +func (o *RearPortTemplateRequest) SetDeviceTypeNil() { + o.DeviceType.Set(nil) +} + +// UnsetDeviceType ensures that no value is present for DeviceType, not even an explicit nil +func (o *RearPortTemplateRequest) UnsetDeviceType() { + o.DeviceType.Unset() +} + +// GetModuleType returns the ModuleType field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RearPortTemplateRequest) GetModuleType() BriefModuleTypeRequest { + if o == nil || IsNil(o.ModuleType.Get()) { + var ret BriefModuleTypeRequest + return ret + } + return *o.ModuleType.Get() +} + +// GetModuleTypeOk returns a tuple with the ModuleType 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 *RearPortTemplateRequest) GetModuleTypeOk() (*BriefModuleTypeRequest, bool) { + if o == nil { + return nil, false + } + return o.ModuleType.Get(), o.ModuleType.IsSet() +} + +// HasModuleType returns a boolean if a field has been set. +func (o *RearPortTemplateRequest) HasModuleType() bool { + if o != nil && o.ModuleType.IsSet() { + return true + } + + return false +} + +// SetModuleType gets a reference to the given NullableBriefModuleTypeRequest and assigns it to the ModuleType field. +func (o *RearPortTemplateRequest) SetModuleType(v BriefModuleTypeRequest) { + o.ModuleType.Set(&v) +} + +// SetModuleTypeNil sets the value for ModuleType to be an explicit nil +func (o *RearPortTemplateRequest) SetModuleTypeNil() { + o.ModuleType.Set(nil) +} + +// UnsetModuleType ensures that no value is present for ModuleType, not even an explicit nil +func (o *RearPortTemplateRequest) UnsetModuleType() { + o.ModuleType.Unset() +} + // GetName returns the Name field value func (o *RearPortTemplateRequest) GetName() string { if o == nil { @@ -70,6 +164,126 @@ func (o *RearPortTemplateRequest) SetName(v string) { o.Name = v } +// GetLabel returns the Label field value if set, zero value otherwise. +func (o *RearPortTemplateRequest) GetLabel() string { + if o == nil || IsNil(o.Label) { + var ret string + 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 *RearPortTemplateRequest) GetLabelOk() (*string, 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 *RearPortTemplateRequest) HasLabel() bool { + if o != nil && !IsNil(o.Label) { + return true + } + + return false +} + +// SetLabel gets a reference to the given string and assigns it to the Label field. +func (o *RearPortTemplateRequest) SetLabel(v string) { + o.Label = &v +} + +// GetType returns the Type field value +func (o *RearPortTemplateRequest) GetType() FrontPortTypeValue { + if o == nil { + var ret FrontPortTypeValue + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +func (o *RearPortTemplateRequest) GetTypeOk() (*FrontPortTypeValue, bool) { + if o == nil { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *RearPortTemplateRequest) SetType(v FrontPortTypeValue) { + o.Type = v +} + +// GetColor returns the Color field value if set, zero value otherwise. +func (o *RearPortTemplateRequest) GetColor() string { + if o == nil || IsNil(o.Color) { + var ret string + return ret + } + return *o.Color +} + +// GetColorOk returns a tuple with the Color field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RearPortTemplateRequest) GetColorOk() (*string, bool) { + if o == nil || IsNil(o.Color) { + return nil, false + } + return o.Color, true +} + +// HasColor returns a boolean if a field has been set. +func (o *RearPortTemplateRequest) HasColor() bool { + if o != nil && !IsNil(o.Color) { + return true + } + + return false +} + +// SetColor gets a reference to the given string and assigns it to the Color field. +func (o *RearPortTemplateRequest) SetColor(v string) { + o.Color = &v +} + +// GetPositions returns the Positions field value if set, zero value otherwise. +func (o *RearPortTemplateRequest) GetPositions() int32 { + if o == nil || IsNil(o.Positions) { + var ret int32 + return ret + } + return *o.Positions +} + +// GetPositionsOk returns a tuple with the Positions field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RearPortTemplateRequest) GetPositionsOk() (*int32, bool) { + if o == nil || IsNil(o.Positions) { + return nil, false + } + return o.Positions, true +} + +// HasPositions returns a boolean if a field has been set. +func (o *RearPortTemplateRequest) HasPositions() bool { + if o != nil && !IsNil(o.Positions) { + return true + } + + return false +} + +// SetPositions gets a reference to the given int32 and assigns it to the Positions field. +func (o *RearPortTemplateRequest) SetPositions(v int32) { + o.Positions = &v +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *RearPortTemplateRequest) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -112,7 +326,23 @@ func (o RearPortTemplateRequest) MarshalJSON() ([]byte, error) { func (o RearPortTemplateRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if o.DeviceType.IsSet() { + toSerialize["device_type"] = o.DeviceType.Get() + } + if o.ModuleType.IsSet() { + toSerialize["module_type"] = o.ModuleType.Get() + } toSerialize["name"] = o.Name + if !IsNil(o.Label) { + toSerialize["label"] = o.Label + } + toSerialize["type"] = o.Type + if !IsNil(o.Color) { + toSerialize["color"] = o.Color + } + if !IsNil(o.Positions) { + toSerialize["positions"] = o.Positions + } if !IsNil(o.Description) { toSerialize["description"] = o.Description } @@ -130,6 +360,7 @@ func (o *RearPortTemplateRequest) UnmarshalJSON(data []byte) (err error) { // that every required field exists as a key in the generic map. requiredProperties := []string{ "name", + "type", } allProperties := make(map[string]interface{}) @@ -159,7 +390,13 @@ func (o *RearPortTemplateRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "device_type") + delete(additionalProperties, "module_type") delete(additionalProperties, "name") + delete(additionalProperties, "label") + delete(additionalProperties, "type") + delete(additionalProperties, "color") + delete(additionalProperties, "positions") delete(additionalProperties, "description") o.AdditionalProperties = additionalProperties } diff --git a/model_region.go b/model_region.go index 41939f635..5bd36fd6e 100644 --- a/model_region.go +++ b/model_region.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -23,6 +23,7 @@ var _ MappedNullable = &Region{} type Region struct { Id int32 `json:"id"` Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` Display string `json:"display"` Name string `json:"name"` Slug string `json:"slug"` @@ -113,6 +114,38 @@ func (o *Region) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *Region) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Region) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *Region) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *Region) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *Region) GetDisplay() string { if o == nil { @@ -436,6 +469,9 @@ func (o Region) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["name"] = o.Name toSerialize["slug"] = o.Slug @@ -508,6 +544,7 @@ func (o *Region) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") delete(additionalProperties, "slug") diff --git a/model_region_request.go b/model_region_request.go index a014b4811..57d4a9837 100644 --- a/model_region_request.go +++ b/model_region_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_rir.go b/model_rir.go index 503050bfc..ab666949e 100644 --- a/model_rir.go +++ b/model_rir.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -13,6 +13,7 @@ package netbox import ( "encoding/json" "fmt" + "time" ) // checks if the RIR type satisfies the MappedNullable interface at compile time @@ -20,13 +21,20 @@ var _ MappedNullable = &RIR{} // RIR Adds support for custom fields and tags. type RIR struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - Name string `json:"name"` - Slug string `json:"slug"` - Description *string `json:"description,omitempty"` - AggregateCount int64 `json:"aggregate_count"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Name string `json:"name"` + Slug string `json:"slug"` + // IP space managed by this RIR is considered private + IsPrivate *bool `json:"is_private,omitempty"` + Description *string `json:"description,omitempty"` + Tags []NestedTag `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Created NullableTime `json:"created"` + LastUpdated NullableTime `json:"last_updated"` + AggregateCount int64 `json:"aggregate_count"` AdditionalProperties map[string]interface{} } @@ -36,13 +44,15 @@ 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 int32, url string, display string, name string, slug string, aggregateCount int64) *RIR { +func NewRIR(id int32, url string, display string, name string, slug string, created NullableTime, lastUpdated NullableTime, aggregateCount int64) *RIR { this := RIR{} this.Id = id this.Url = url this.Display = display this.Name = name this.Slug = slug + this.Created = created + this.LastUpdated = lastUpdated this.AggregateCount = aggregateCount return &this } @@ -103,6 +113,38 @@ func (o *RIR) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *RIR) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RIR) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *RIR) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *RIR) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *RIR) GetDisplay() string { if o == nil { @@ -175,6 +217,38 @@ func (o *RIR) SetSlug(v string) { o.Slug = v } +// GetIsPrivate returns the IsPrivate field value if set, zero value otherwise. +func (o *RIR) GetIsPrivate() bool { + if o == nil || IsNil(o.IsPrivate) { + var ret bool + return ret + } + return *o.IsPrivate +} + +// GetIsPrivateOk returns a tuple with the IsPrivate field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RIR) GetIsPrivateOk() (*bool, bool) { + if o == nil || IsNil(o.IsPrivate) { + return nil, false + } + return o.IsPrivate, true +} + +// HasIsPrivate returns a boolean if a field has been set. +func (o *RIR) HasIsPrivate() bool { + if o != nil && !IsNil(o.IsPrivate) { + return true + } + + return false +} + +// SetIsPrivate gets a reference to the given bool and assigns it to the IsPrivate field. +func (o *RIR) SetIsPrivate(v bool) { + o.IsPrivate = &v +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *RIR) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -207,6 +281,122 @@ func (o *RIR) SetDescription(v string) { o.Description = &v } +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *RIR) GetTags() []NestedTag { + if o == nil || IsNil(o.Tags) { + var ret []NestedTag + 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 *RIR) GetTagsOk() ([]NestedTag, 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 *RIR) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTag and assigns it to the Tags field. +func (o *RIR) SetTags(v []NestedTag) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *RIR) 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 *RIR) 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 *RIR) 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 *RIR) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetCreated returns the Created field value +// If the value is explicit nil, the zero value for time.Time will be returned +func (o *RIR) 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 *RIR) GetCreatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.Created.Get(), o.Created.IsSet() +} + +// SetCreated sets field value +func (o *RIR) 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 *RIR) 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 *RIR) GetLastUpdatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LastUpdated.Get(), o.LastUpdated.IsSet() +} + +// SetLastUpdated sets field value +func (o *RIR) SetLastUpdated(v time.Time) { + o.LastUpdated.Set(&v) +} + // GetAggregateCount returns the AggregateCount field value func (o *RIR) GetAggregateCount() int64 { if o == nil { @@ -243,12 +433,26 @@ func (o RIR) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["name"] = o.Name toSerialize["slug"] = o.Slug + if !IsNil(o.IsPrivate) { + toSerialize["is_private"] = o.IsPrivate + } 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 + } + toSerialize["created"] = o.Created.Get() + toSerialize["last_updated"] = o.LastUpdated.Get() toSerialize["aggregate_count"] = o.AggregateCount for key, value := range o.AdditionalProperties { @@ -268,6 +472,8 @@ func (o *RIR) UnmarshalJSON(data []byte) (err error) { "display", "name", "slug", + "created", + "last_updated", "aggregate_count", } @@ -300,10 +506,16 @@ func (o *RIR) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") delete(additionalProperties, "slug") + delete(additionalProperties, "is_private") delete(additionalProperties, "description") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "created") + delete(additionalProperties, "last_updated") delete(additionalProperties, "aggregate_count") o.AdditionalProperties = additionalProperties } diff --git a/model_rir_request.go b/model_rir_request.go index c7ddc0294..d2c47f267 100644 --- a/model_rir_request.go +++ b/model_rir_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,9 +20,13 @@ var _ MappedNullable = &RIRRequest{} // RIRRequest Adds support for custom fields and tags. type RIRRequest struct { - Name string `json:"name"` - Slug string `json:"slug"` - Description *string `json:"description,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + // IP space managed by this RIR is considered private + IsPrivate *bool `json:"is_private,omitempty"` + Description *string `json:"description,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -95,6 +99,38 @@ func (o *RIRRequest) SetSlug(v string) { o.Slug = v } +// GetIsPrivate returns the IsPrivate field value if set, zero value otherwise. +func (o *RIRRequest) GetIsPrivate() bool { + if o == nil || IsNil(o.IsPrivate) { + var ret bool + return ret + } + return *o.IsPrivate +} + +// GetIsPrivateOk returns a tuple with the IsPrivate field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RIRRequest) GetIsPrivateOk() (*bool, bool) { + if o == nil || IsNil(o.IsPrivate) { + return nil, false + } + return o.IsPrivate, true +} + +// HasIsPrivate returns a boolean if a field has been set. +func (o *RIRRequest) HasIsPrivate() bool { + if o != nil && !IsNil(o.IsPrivate) { + return true + } + + return false +} + +// SetIsPrivate gets a reference to the given bool and assigns it to the IsPrivate field. +func (o *RIRRequest) SetIsPrivate(v bool) { + o.IsPrivate = &v +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *RIRRequest) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -127,6 +163,70 @@ func (o *RIRRequest) SetDescription(v string) { o.Description = &v } +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *RIRRequest) GetTags() []NestedTagRequest { + if o == nil || IsNil(o.Tags) { + var ret []NestedTagRequest + 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 *RIRRequest) GetTagsOk() ([]NestedTagRequest, 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 *RIRRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTagRequest and assigns it to the Tags field. +func (o *RIRRequest) SetTags(v []NestedTagRequest) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *RIRRequest) 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 *RIRRequest) 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 *RIRRequest) 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 *RIRRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + func (o RIRRequest) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -139,9 +239,18 @@ func (o RIRRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["name"] = o.Name toSerialize["slug"] = o.Slug + if !IsNil(o.IsPrivate) { + toSerialize["is_private"] = o.IsPrivate + } 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 + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -188,7 +297,10 @@ func (o *RIRRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "name") delete(additionalProperties, "slug") + delete(additionalProperties, "is_private") delete(additionalProperties, "description") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") o.AdditionalProperties = additionalProperties } diff --git a/model_role.go b/model_role.go index 41ad3c7c5..1602ca8a7 100644 --- a/model_role.go +++ b/model_role.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -13,6 +13,7 @@ package netbox import ( "encoding/json" "fmt" + "time" ) // checks if the Role type satisfies the MappedNullable interface at compile time @@ -20,14 +21,20 @@ var _ MappedNullable = &Role{} // Role Adds support for custom fields and tags. type Role struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - Name string `json:"name"` - Slug string `json:"slug"` - Description *string `json:"description,omitempty"` - PrefixCount int64 `json:"prefix_count"` - VlanCount int64 `json:"vlan_count"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Name string `json:"name"` + Slug string `json:"slug"` + Weight *int32 `json:"weight,omitempty"` + Description *string `json:"description,omitempty"` + Tags []NestedTag `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Created NullableTime `json:"created"` + LastUpdated NullableTime `json:"last_updated"` + PrefixCount *int64 `json:"prefix_count,omitempty"` + VlanCount *int64 `json:"vlan_count,omitempty"` AdditionalProperties map[string]interface{} } @@ -37,15 +44,15 @@ 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 int32, url string, display string, name string, slug string, prefixCount int64, vlanCount int64) *Role { +func NewRole(id int32, url string, display string, name string, slug string, created NullableTime, lastUpdated NullableTime) *Role { this := Role{} this.Id = id this.Url = url this.Display = display this.Name = name this.Slug = slug - this.PrefixCount = prefixCount - this.VlanCount = vlanCount + this.Created = created + this.LastUpdated = lastUpdated return &this } @@ -105,6 +112,38 @@ func (o *Role) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *Role) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Role) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *Role) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *Role) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *Role) GetDisplay() string { if o == nil { @@ -177,6 +216,38 @@ func (o *Role) SetSlug(v string) { o.Slug = v } +// GetWeight returns the Weight field value if set, zero value otherwise. +func (o *Role) GetWeight() int32 { + if o == nil || IsNil(o.Weight) { + var ret int32 + return ret + } + return *o.Weight +} + +// GetWeightOk returns a tuple with the Weight field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Role) GetWeightOk() (*int32, bool) { + if o == nil || IsNil(o.Weight) { + return nil, false + } + return o.Weight, true +} + +// HasWeight returns a boolean if a field has been set. +func (o *Role) HasWeight() bool { + if o != nil && !IsNil(o.Weight) { + return true + } + + return false +} + +// SetWeight gets a reference to the given int32 and assigns it to the Weight field. +func (o *Role) SetWeight(v int32) { + o.Weight = &v +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *Role) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -209,52 +280,184 @@ func (o *Role) SetDescription(v string) { o.Description = &v } -// GetPrefixCount returns the PrefixCount field value -func (o *Role) GetPrefixCount() int64 { +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *Role) GetTags() []NestedTag { + if o == nil || IsNil(o.Tags) { + var ret []NestedTag + 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 *Role) GetTagsOk() ([]NestedTag, 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 *Role) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTag and assigns it to the Tags field. +func (o *Role) SetTags(v []NestedTag) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *Role) 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 *Role) 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 *Role) 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 *Role) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetCreated returns the Created field value +// If the value is explicit nil, the zero value for time.Time will be returned +func (o *Role) 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 *Role) GetCreatedOk() (*time.Time, bool) { if o == nil { - var ret int64 + return nil, false + } + return o.Created.Get(), o.Created.IsSet() +} + +// SetCreated sets field value +func (o *Role) 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 *Role) GetLastUpdated() time.Time { + if o == nil || o.LastUpdated.Get() == nil { + var ret time.Time return ret } - return o.PrefixCount + return *o.LastUpdated.Get() } -// GetPrefixCountOk returns a tuple with the PrefixCount field value +// GetLastUpdatedOk returns a tuple with the LastUpdated field value // and a boolean to check if the value has been set. -func (o *Role) GetPrefixCountOk() (*int64, bool) { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Role) GetLastUpdatedOk() (*time.Time, bool) { if o == nil { return nil, false } - return &o.PrefixCount, true + return o.LastUpdated.Get(), o.LastUpdated.IsSet() +} + +// SetLastUpdated sets field value +func (o *Role) SetLastUpdated(v time.Time) { + o.LastUpdated.Set(&v) } -// SetPrefixCount sets field value +// GetPrefixCount returns the PrefixCount field value if set, zero value otherwise. +func (o *Role) GetPrefixCount() int64 { + if o == nil || IsNil(o.PrefixCount) { + var ret int64 + return ret + } + return *o.PrefixCount +} + +// GetPrefixCountOk returns a tuple with the PrefixCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Role) GetPrefixCountOk() (*int64, bool) { + if o == nil || IsNil(o.PrefixCount) { + return nil, false + } + return o.PrefixCount, true +} + +// HasPrefixCount returns a boolean if a field has been set. +func (o *Role) HasPrefixCount() bool { + if o != nil && !IsNil(o.PrefixCount) { + return true + } + + return false +} + +// SetPrefixCount gets a reference to the given int64 and assigns it to the PrefixCount field. func (o *Role) SetPrefixCount(v int64) { - o.PrefixCount = v + o.PrefixCount = &v } -// GetVlanCount returns the VlanCount field value +// GetVlanCount returns the VlanCount field value if set, zero value otherwise. func (o *Role) GetVlanCount() int64 { - if o == nil { + if o == nil || IsNil(o.VlanCount) { var ret int64 return ret } - - return o.VlanCount + return *o.VlanCount } -// GetVlanCountOk returns a tuple with the VlanCount field value +// GetVlanCountOk returns a tuple with the VlanCount field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *Role) GetVlanCountOk() (*int64, bool) { - if o == nil { + if o == nil || IsNil(o.VlanCount) { return nil, false } - return &o.VlanCount, true + return o.VlanCount, true +} + +// HasVlanCount returns a boolean if a field has been set. +func (o *Role) HasVlanCount() bool { + if o != nil && !IsNil(o.VlanCount) { + return true + } + + return false } -// SetVlanCount sets field value +// SetVlanCount gets a reference to the given int64 and assigns it to the VlanCount field. func (o *Role) SetVlanCount(v int64) { - o.VlanCount = v + o.VlanCount = &v } func (o Role) MarshalJSON() ([]byte, error) { @@ -269,14 +472,32 @@ func (o Role) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["name"] = o.Name toSerialize["slug"] = o.Slug + if !IsNil(o.Weight) { + toSerialize["weight"] = o.Weight + } if !IsNil(o.Description) { toSerialize["description"] = o.Description } - toSerialize["prefix_count"] = o.PrefixCount - toSerialize["vlan_count"] = o.VlanCount + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + toSerialize["created"] = o.Created.Get() + toSerialize["last_updated"] = o.LastUpdated.Get() + if !IsNil(o.PrefixCount) { + toSerialize["prefix_count"] = o.PrefixCount + } + if !IsNil(o.VlanCount) { + toSerialize["vlan_count"] = o.VlanCount + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -295,8 +516,8 @@ func (o *Role) UnmarshalJSON(data []byte) (err error) { "display", "name", "slug", - "prefix_count", - "vlan_count", + "created", + "last_updated", } allProperties := make(map[string]interface{}) @@ -328,10 +549,16 @@ func (o *Role) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") delete(additionalProperties, "slug") + delete(additionalProperties, "weight") delete(additionalProperties, "description") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "created") + delete(additionalProperties, "last_updated") delete(additionalProperties, "prefix_count") delete(additionalProperties, "vlan_count") o.AdditionalProperties = additionalProperties diff --git a/model_role_request.go b/model_role_request.go index 601cac559..ee86496be 100644 --- a/model_role_request.go +++ b/model_role_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,9 +20,12 @@ var _ MappedNullable = &RoleRequest{} // RoleRequest Adds support for custom fields and tags. type RoleRequest struct { - Name string `json:"name"` - Slug string `json:"slug"` - Description *string `json:"description,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Weight *int32 `json:"weight,omitempty"` + Description *string `json:"description,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -95,6 +98,38 @@ func (o *RoleRequest) SetSlug(v string) { o.Slug = v } +// GetWeight returns the Weight field value if set, zero value otherwise. +func (o *RoleRequest) GetWeight() int32 { + if o == nil || IsNil(o.Weight) { + var ret int32 + return ret + } + return *o.Weight +} + +// GetWeightOk returns a tuple with the Weight field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RoleRequest) GetWeightOk() (*int32, bool) { + if o == nil || IsNil(o.Weight) { + return nil, false + } + return o.Weight, true +} + +// HasWeight returns a boolean if a field has been set. +func (o *RoleRequest) HasWeight() bool { + if o != nil && !IsNil(o.Weight) { + return true + } + + return false +} + +// SetWeight gets a reference to the given int32 and assigns it to the Weight field. +func (o *RoleRequest) SetWeight(v int32) { + o.Weight = &v +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *RoleRequest) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -127,6 +162,70 @@ func (o *RoleRequest) SetDescription(v string) { o.Description = &v } +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *RoleRequest) GetTags() []NestedTagRequest { + if o == nil || IsNil(o.Tags) { + var ret []NestedTagRequest + 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 *RoleRequest) GetTagsOk() ([]NestedTagRequest, 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 *RoleRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTagRequest and assigns it to the Tags field. +func (o *RoleRequest) SetTags(v []NestedTagRequest) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *RoleRequest) 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 *RoleRequest) 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 *RoleRequest) 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 *RoleRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + func (o RoleRequest) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -139,9 +238,18 @@ func (o RoleRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["name"] = o.Name toSerialize["slug"] = o.Slug + if !IsNil(o.Weight) { + toSerialize["weight"] = o.Weight + } 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 + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -188,7 +296,10 @@ func (o *RoleRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "name") delete(additionalProperties, "slug") + delete(additionalProperties, "weight") delete(additionalProperties, "description") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") o.AdditionalProperties = additionalProperties } diff --git a/model_route_target.go b/model_route_target.go index 7856b51ca..eac0d7fb6 100644 --- a/model_route_target.go +++ b/model_route_target.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,12 +21,13 @@ var _ MappedNullable = &RouteTarget{} // RouteTarget Adds support for custom fields and tags. type RouteTarget struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` // Route target value (formatted in accordance with RFC 4360) Name string `json:"name"` - Tenant NullableTenant `json:"tenant,omitempty"` + Tenant NullableBriefTenant `json:"tenant,omitempty"` Description *string `json:"description,omitempty"` Comments *string `json:"comments,omitempty"` Tags []NestedTag `json:"tags,omitempty"` @@ -109,6 +110,38 @@ func (o *RouteTarget) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *RouteTarget) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RouteTarget) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *RouteTarget) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *RouteTarget) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *RouteTarget) GetDisplay() string { if o == nil { @@ -158,9 +191,9 @@ func (o *RouteTarget) SetName(v string) { } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *RouteTarget) GetTenant() Tenant { +func (o *RouteTarget) GetTenant() BriefTenant { if o == nil || IsNil(o.Tenant.Get()) { - var ret Tenant + var ret BriefTenant return ret } return *o.Tenant.Get() @@ -169,7 +202,7 @@ func (o *RouteTarget) GetTenant() Tenant { // 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 *RouteTarget) GetTenantOk() (*Tenant, bool) { +func (o *RouteTarget) GetTenantOk() (*BriefTenant, bool) { if o == nil { return nil, false } @@ -185,8 +218,8 @@ func (o *RouteTarget) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenant and assigns it to the Tenant field. -func (o *RouteTarget) SetTenant(v Tenant) { +// SetTenant gets a reference to the given NullableBriefTenant and assigns it to the Tenant field. +func (o *RouteTarget) SetTenant(v BriefTenant) { o.Tenant.Set(&v) } @@ -392,6 +425,9 @@ func (o RouteTarget) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["name"] = o.Name if o.Tenant.IsSet() { @@ -461,6 +497,7 @@ func (o *RouteTarget) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") delete(additionalProperties, "tenant") diff --git a/model_route_target_request.go b/model_route_target_request.go index f913d4bdf..433c7453b 100644 --- a/model_route_target_request.go +++ b/model_route_target_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,12 +21,12 @@ var _ MappedNullable = &RouteTargetRequest{} // RouteTargetRequest Adds support for custom fields and tags. type RouteTargetRequest struct { // Route target value (formatted in accordance with RFC 4360) - Name string `json:"name"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` - Description *string `json:"description,omitempty"` - Comments *string `json:"comments,omitempty"` - Tags []NestedTagRequest `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Name string `json:"name"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -75,9 +75,9 @@ func (o *RouteTargetRequest) SetName(v string) { } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *RouteTargetRequest) GetTenant() TenantRequest { +func (o *RouteTargetRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -86,7 +86,7 @@ func (o *RouteTargetRequest) GetTenant() TenantRequest { // 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 *RouteTargetRequest) GetTenantOk() (*TenantRequest, bool) { +func (o *RouteTargetRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -102,8 +102,8 @@ func (o *RouteTargetRequest) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *RouteTargetRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *RouteTargetRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } diff --git a/model_saved_filter.go b/model_saved_filter.go index 4282ab65a..efc13df4c 100644 --- a/model_saved_filter.go +++ b/model_saved_filter.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -23,6 +23,7 @@ var _ MappedNullable = &SavedFilter{} type SavedFilter struct { Id int32 `json:"id"` Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` Display string `json:"display"` ObjectTypes []string `json:"object_types"` Name string `json:"name"` @@ -114,6 +115,38 @@ func (o *SavedFilter) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *SavedFilter) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SavedFilter) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *SavedFilter) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *SavedFilter) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *SavedFilter) GetDisplay() string { if o == nil { @@ -471,6 +504,9 @@ func (o SavedFilter) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["object_types"] = o.ObjectTypes toSerialize["name"] = o.Name @@ -548,6 +584,7 @@ func (o *SavedFilter) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "object_types") delete(additionalProperties, "name") diff --git a/model_saved_filter_request.go b/model_saved_filter_request.go index d38d5ce3e..301d6c36c 100644 --- a/model_saved_filter_request.go +++ b/model_saved_filter_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_schema_retrieve_format_parameter.go b/model_schema_retrieve_format_parameter.go index 19b41f6a5..111195135 100644 --- a/model_schema_retrieve_format_parameter.go +++ b/model_schema_retrieve_format_parameter.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_schema_retrieve_lang_parameter.go b/model_schema_retrieve_lang_parameter.go index 301bf4dbb..6e1997050 100644 --- a/model_schema_retrieve_lang_parameter.go +++ b/model_schema_retrieve_lang_parameter.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,11 +20,16 @@ type SchemaRetrieveLangParameter string // List of schema_retrieve_lang_parameter const ( + SCHEMARETRIEVELANGPARAMETER_CS SchemaRetrieveLangParameter = "cs" + SCHEMARETRIEVELANGPARAMETER_DA SchemaRetrieveLangParameter = "da" SCHEMARETRIEVELANGPARAMETER_DE SchemaRetrieveLangParameter = "de" SCHEMARETRIEVELANGPARAMETER_EN SchemaRetrieveLangParameter = "en" SCHEMARETRIEVELANGPARAMETER_ES SchemaRetrieveLangParameter = "es" SCHEMARETRIEVELANGPARAMETER_FR SchemaRetrieveLangParameter = "fr" + SCHEMARETRIEVELANGPARAMETER_IT SchemaRetrieveLangParameter = "it" SCHEMARETRIEVELANGPARAMETER_JA SchemaRetrieveLangParameter = "ja" + SCHEMARETRIEVELANGPARAMETER_NL SchemaRetrieveLangParameter = "nl" + SCHEMARETRIEVELANGPARAMETER_PL SchemaRetrieveLangParameter = "pl" SCHEMARETRIEVELANGPARAMETER_PT SchemaRetrieveLangParameter = "pt" SCHEMARETRIEVELANGPARAMETER_RU SchemaRetrieveLangParameter = "ru" SCHEMARETRIEVELANGPARAMETER_TR SchemaRetrieveLangParameter = "tr" @@ -34,11 +39,16 @@ const ( // All allowed values of SchemaRetrieveLangParameter enum var AllowedSchemaRetrieveLangParameterEnumValues = []SchemaRetrieveLangParameter{ + "cs", + "da", "de", "en", "es", "fr", + "it", "ja", + "nl", + "pl", "pt", "ru", "tr", diff --git a/model_script.go b/model_script.go index 738094f17..d777a4882 100644 --- a/model_script.go +++ b/model_script.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,15 +20,16 @@ var _ MappedNullable = &Script{} // Script Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 Script struct { - Id int32 `json:"id"` - Url string `json:"url"` - Module int32 `json:"module"` - Name string `json:"name"` - Description string `json:"description"` - Vars interface{} `json:"vars"` - Result Job `json:"result"` - Display string `json:"display"` - IsExecutable bool `json:"is_executable"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Module int32 `json:"module"` + Name string `json:"name"` + Description NullableString `json:"description"` + Vars interface{} `json:"vars"` + Result BriefJob `json:"result"` + Display string `json:"display"` + IsExecutable bool `json:"is_executable"` AdditionalProperties map[string]interface{} } @@ -38,7 +39,7 @@ type _Script Script // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewScript(id int32, url string, module int32, name string, description string, vars interface{}, result Job, display string, isExecutable bool) *Script { +func NewScript(id int32, url string, module int32, name string, description NullableString, vars interface{}, result BriefJob, display string, isExecutable bool) *Script { this := Script{} this.Id = id this.Url = url @@ -108,6 +109,38 @@ func (o *Script) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *Script) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Script) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *Script) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *Script) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetModule returns the Module field value func (o *Script) GetModule() int32 { if o == nil { @@ -157,27 +190,29 @@ func (o *Script) SetName(v string) { } // GetDescription returns the Description field value +// If the value is explicit nil, the zero value for string will be returned func (o *Script) GetDescription() string { - if o == nil { + if o == nil || o.Description.Get() == nil { var ret string return ret } - return o.Description + return *o.Description.Get() } // GetDescriptionOk returns a tuple with the Description 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 *Script) GetDescriptionOk() (*string, bool) { if o == nil { return nil, false } - return &o.Description, true + return o.Description.Get(), o.Description.IsSet() } // SetDescription sets field value func (o *Script) SetDescription(v string) { - o.Description = v + o.Description.Set(&v) } // GetVars returns the Vars field value @@ -207,9 +242,9 @@ func (o *Script) SetVars(v interface{}) { } // GetResult returns the Result field value -func (o *Script) GetResult() Job { +func (o *Script) GetResult() BriefJob { if o == nil { - var ret Job + var ret BriefJob return ret } @@ -218,7 +253,7 @@ func (o *Script) GetResult() Job { // GetResultOk returns a tuple with the Result field value // and a boolean to check if the value has been set. -func (o *Script) GetResultOk() (*Job, bool) { +func (o *Script) GetResultOk() (*BriefJob, bool) { if o == nil { return nil, false } @@ -226,7 +261,7 @@ func (o *Script) GetResultOk() (*Job, bool) { } // SetResult sets field value -func (o *Script) SetResult(v Job) { +func (o *Script) SetResult(v BriefJob) { o.Result = v } @@ -290,9 +325,12 @@ func (o Script) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["module"] = o.Module toSerialize["name"] = o.Name - toSerialize["description"] = o.Description + toSerialize["description"] = o.Description.Get() if o.Vars != nil { toSerialize["vars"] = o.Vars } @@ -352,6 +390,7 @@ func (o *Script) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "module") delete(additionalProperties, "name") delete(additionalProperties, "description") diff --git a/model_script_input_request.go b/model_script_input_request.go new file mode 100644 index 000000000..a8e09c47a --- /dev/null +++ b/model_script_input_request.go @@ -0,0 +1,296 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" + "time" +) + +// checks if the ScriptInputRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &ScriptInputRequest{} + +// ScriptInputRequest struct for ScriptInputRequest +type ScriptInputRequest struct { + Data interface{} `json:"data"` + Commit bool `json:"commit"` + ScheduleAt NullableTime `json:"schedule_at,omitempty"` + Interval NullableInt32 `json:"interval,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _ScriptInputRequest ScriptInputRequest + +// NewScriptInputRequest instantiates a new ScriptInputRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewScriptInputRequest(data interface{}, commit bool) *ScriptInputRequest { + this := ScriptInputRequest{} + this.Data = data + this.Commit = commit + return &this +} + +// NewScriptInputRequestWithDefaults instantiates a new ScriptInputRequest object +// This 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 NewScriptInputRequestWithDefaults() *ScriptInputRequest { + this := ScriptInputRequest{} + return &this +} + +// GetData returns the Data field value +// If the value is explicit nil, the zero value for interface{} will be returned +func (o *ScriptInputRequest) GetData() interface{} { + if o == nil { + var ret interface{} + return ret + } + + return o.Data +} + +// GetDataOk returns a tuple with the Data 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 *ScriptInputRequest) GetDataOk() (*interface{}, bool) { + if o == nil || IsNil(o.Data) { + return nil, false + } + return &o.Data, true +} + +// SetData sets field value +func (o *ScriptInputRequest) SetData(v interface{}) { + o.Data = v +} + +// GetCommit returns the Commit field value +func (o *ScriptInputRequest) GetCommit() bool { + if o == nil { + var ret bool + return ret + } + + return o.Commit +} + +// GetCommitOk returns a tuple with the Commit field value +// and a boolean to check if the value has been set. +func (o *ScriptInputRequest) GetCommitOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.Commit, true +} + +// SetCommit sets field value +func (o *ScriptInputRequest) SetCommit(v bool) { + o.Commit = v +} + +// GetScheduleAt returns the ScheduleAt field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ScriptInputRequest) GetScheduleAt() time.Time { + if o == nil || IsNil(o.ScheduleAt.Get()) { + var ret time.Time + return ret + } + return *o.ScheduleAt.Get() +} + +// GetScheduleAtOk returns a tuple with the ScheduleAt 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 *ScriptInputRequest) GetScheduleAtOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.ScheduleAt.Get(), o.ScheduleAt.IsSet() +} + +// HasScheduleAt returns a boolean if a field has been set. +func (o *ScriptInputRequest) HasScheduleAt() bool { + if o != nil && o.ScheduleAt.IsSet() { + return true + } + + return false +} + +// SetScheduleAt gets a reference to the given NullableTime and assigns it to the ScheduleAt field. +func (o *ScriptInputRequest) SetScheduleAt(v time.Time) { + o.ScheduleAt.Set(&v) +} + +// SetScheduleAtNil sets the value for ScheduleAt to be an explicit nil +func (o *ScriptInputRequest) SetScheduleAtNil() { + o.ScheduleAt.Set(nil) +} + +// UnsetScheduleAt ensures that no value is present for ScheduleAt, not even an explicit nil +func (o *ScriptInputRequest) UnsetScheduleAt() { + o.ScheduleAt.Unset() +} + +// GetInterval returns the Interval field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ScriptInputRequest) GetInterval() int32 { + if o == nil || IsNil(o.Interval.Get()) { + var ret int32 + return ret + } + return *o.Interval.Get() +} + +// GetIntervalOk returns a tuple with the Interval 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 *ScriptInputRequest) GetIntervalOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.Interval.Get(), o.Interval.IsSet() +} + +// HasInterval returns a boolean if a field has been set. +func (o *ScriptInputRequest) HasInterval() bool { + if o != nil && o.Interval.IsSet() { + return true + } + + return false +} + +// SetInterval gets a reference to the given NullableInt32 and assigns it to the Interval field. +func (o *ScriptInputRequest) SetInterval(v int32) { + o.Interval.Set(&v) +} + +// SetIntervalNil sets the value for Interval to be an explicit nil +func (o *ScriptInputRequest) SetIntervalNil() { + o.Interval.Set(nil) +} + +// UnsetInterval ensures that no value is present for Interval, not even an explicit nil +func (o *ScriptInputRequest) UnsetInterval() { + o.Interval.Unset() +} + +func (o ScriptInputRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o ScriptInputRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.Data != nil { + toSerialize["data"] = o.Data + } + toSerialize["commit"] = o.Commit + if o.ScheduleAt.IsSet() { + toSerialize["schedule_at"] = o.ScheduleAt.Get() + } + if o.Interval.IsSet() { + toSerialize["interval"] = o.Interval.Get() + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *ScriptInputRequest) 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{ + "data", + "commit", + } + + 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) + } + } + + varScriptInputRequest := _ScriptInputRequest{} + + err = json.Unmarshal(data, &varScriptInputRequest) + + if err != nil { + return err + } + + *o = ScriptInputRequest(varScriptInputRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "data") + delete(additionalProperties, "commit") + delete(additionalProperties, "schedule_at") + delete(additionalProperties, "interval") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableScriptInputRequest struct { + value *ScriptInputRequest + isSet bool +} + +func (v NullableScriptInputRequest) Get() *ScriptInputRequest { + return v.value +} + +func (v *NullableScriptInputRequest) Set(val *ScriptInputRequest) { + v.value = val + v.isSet = true +} + +func (v NullableScriptInputRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableScriptInputRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableScriptInputRequest(val *ScriptInputRequest) *NullableScriptInputRequest { + return &NullableScriptInputRequest{value: val, isSet: true} +} + +func (v NullableScriptInputRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableScriptInputRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_service.go b/model_service.go index e12f61b56..57877dbe0 100644 --- a/model_service.go +++ b/model_service.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,21 +21,22 @@ var _ MappedNullable = &Service{} // Service Adds support for custom fields and tags. type Service struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - Device NullableDevice `json:"device,omitempty"` - VirtualMachine NullableVirtualMachine `json:"virtual_machine,omitempty"` - Name string `json:"name"` - Protocol *ServiceProtocol `json:"protocol,omitempty"` - Ports []int32 `json:"ports"` - Ipaddresses []IPAddress `json:"ipaddresses,omitempty"` - Description *string `json:"description,omitempty"` - Comments *string `json:"comments,omitempty"` - Tags []NestedTag `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` - Created NullableTime `json:"created"` - LastUpdated NullableTime `json:"last_updated"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Device NullableBriefDevice `json:"device,omitempty"` + VirtualMachine NullableBriefVirtualMachine `json:"virtual_machine,omitempty"` + Name string `json:"name"` + Protocol *ServiceProtocol `json:"protocol,omitempty"` + Ports []int32 `json:"ports"` + Ipaddresses []IPAddress `json:"ipaddresses,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTag `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Created NullableTime `json:"created"` + LastUpdated NullableTime `json:"last_updated"` AdditionalProperties map[string]interface{} } @@ -113,6 +114,38 @@ func (o *Service) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *Service) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Service) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *Service) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *Service) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *Service) GetDisplay() string { if o == nil { @@ -138,9 +171,9 @@ func (o *Service) SetDisplay(v string) { } // GetDevice returns the Device field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *Service) GetDevice() Device { +func (o *Service) GetDevice() BriefDevice { if o == nil || IsNil(o.Device.Get()) { - var ret Device + var ret BriefDevice return ret } return *o.Device.Get() @@ -149,7 +182,7 @@ func (o *Service) GetDevice() 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. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *Service) GetDeviceOk() (*Device, bool) { +func (o *Service) GetDeviceOk() (*BriefDevice, bool) { if o == nil { return nil, false } @@ -165,8 +198,8 @@ func (o *Service) HasDevice() bool { return false } -// SetDevice gets a reference to the given NullableDevice and assigns it to the Device field. -func (o *Service) SetDevice(v Device) { +// SetDevice gets a reference to the given NullableBriefDevice and assigns it to the Device field. +func (o *Service) SetDevice(v BriefDevice) { o.Device.Set(&v) } @@ -181,9 +214,9 @@ func (o *Service) UnsetDevice() { } // GetVirtualMachine returns the VirtualMachine field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *Service) GetVirtualMachine() VirtualMachine { +func (o *Service) GetVirtualMachine() BriefVirtualMachine { if o == nil || IsNil(o.VirtualMachine.Get()) { - var ret VirtualMachine + var ret BriefVirtualMachine return ret } return *o.VirtualMachine.Get() @@ -192,7 +225,7 @@ func (o *Service) GetVirtualMachine() VirtualMachine { // GetVirtualMachineOk returns a tuple with the VirtualMachine 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 *Service) GetVirtualMachineOk() (*VirtualMachine, bool) { +func (o *Service) GetVirtualMachineOk() (*BriefVirtualMachine, bool) { if o == nil { return nil, false } @@ -208,8 +241,8 @@ func (o *Service) HasVirtualMachine() bool { return false } -// SetVirtualMachine gets a reference to the given NullableVirtualMachine and assigns it to the VirtualMachine field. -func (o *Service) SetVirtualMachine(v VirtualMachine) { +// SetVirtualMachine gets a reference to the given NullableBriefVirtualMachine and assigns it to the VirtualMachine field. +func (o *Service) SetVirtualMachine(v BriefVirtualMachine) { o.VirtualMachine.Set(&v) } @@ -527,6 +560,9 @@ func (o Service) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display if o.Device.IsSet() { toSerialize["device"] = o.Device.Get() @@ -607,6 +643,7 @@ func (o *Service) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "device") delete(additionalProperties, "virtual_machine") diff --git a/model_service_protocol.go b/model_service_protocol.go index bdd307844..5941f158d 100644 --- a/model_service_protocol.go +++ b/model_service_protocol.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // 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 b210b80a3..781d54e99 100644 --- a/model_service_protocol_label.go +++ b/model_service_protocol_label.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_service_request.go b/model_service_request.go index 9b3bc7f2b..5799d50fb 100644 --- a/model_service_request.go +++ b/model_service_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,8 +20,8 @@ var _ MappedNullable = &ServiceRequest{} // ServiceRequest Adds support for custom fields and tags. type ServiceRequest struct { - Device NullableDeviceRequest `json:"device,omitempty"` - VirtualMachine NullableVirtualMachineRequest `json:"virtual_machine,omitempty"` + Device NullableBriefDeviceRequest `json:"device,omitempty"` + VirtualMachine NullableBriefVirtualMachineRequest `json:"virtual_machine,omitempty"` Name string `json:"name"` Protocol *PatchedWritableServiceRequestProtocol `json:"protocol,omitempty"` Ports []int32 `json:"ports"` @@ -55,9 +55,9 @@ func NewServiceRequestWithDefaults() *ServiceRequest { } // GetDevice returns the Device field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *ServiceRequest) GetDevice() DeviceRequest { +func (o *ServiceRequest) GetDevice() BriefDeviceRequest { if o == nil || IsNil(o.Device.Get()) { - var ret DeviceRequest + var ret BriefDeviceRequest return ret } return *o.Device.Get() @@ -66,7 +66,7 @@ func (o *ServiceRequest) GetDevice() DeviceRequest { // GetDeviceOk returns a tuple with the Device 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 *ServiceRequest) GetDeviceOk() (*DeviceRequest, bool) { +func (o *ServiceRequest) GetDeviceOk() (*BriefDeviceRequest, bool) { if o == nil { return nil, false } @@ -82,8 +82,8 @@ func (o *ServiceRequest) HasDevice() bool { return false } -// SetDevice gets a reference to the given NullableDeviceRequest and assigns it to the Device field. -func (o *ServiceRequest) SetDevice(v DeviceRequest) { +// SetDevice gets a reference to the given NullableBriefDeviceRequest and assigns it to the Device field. +func (o *ServiceRequest) SetDevice(v BriefDeviceRequest) { o.Device.Set(&v) } @@ -98,9 +98,9 @@ func (o *ServiceRequest) UnsetDevice() { } // GetVirtualMachine returns the VirtualMachine field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *ServiceRequest) GetVirtualMachine() VirtualMachineRequest { +func (o *ServiceRequest) GetVirtualMachine() BriefVirtualMachineRequest { if o == nil || IsNil(o.VirtualMachine.Get()) { - var ret VirtualMachineRequest + var ret BriefVirtualMachineRequest return ret } return *o.VirtualMachine.Get() @@ -109,7 +109,7 @@ func (o *ServiceRequest) GetVirtualMachine() VirtualMachineRequest { // GetVirtualMachineOk returns a tuple with the VirtualMachine 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 *ServiceRequest) GetVirtualMachineOk() (*VirtualMachineRequest, bool) { +func (o *ServiceRequest) GetVirtualMachineOk() (*BriefVirtualMachineRequest, bool) { if o == nil { return nil, false } @@ -125,8 +125,8 @@ func (o *ServiceRequest) HasVirtualMachine() bool { return false } -// SetVirtualMachine gets a reference to the given NullableVirtualMachineRequest and assigns it to the VirtualMachine field. -func (o *ServiceRequest) SetVirtualMachine(v VirtualMachineRequest) { +// SetVirtualMachine gets a reference to the given NullableBriefVirtualMachineRequest and assigns it to the VirtualMachine field. +func (o *ServiceRequest) SetVirtualMachine(v BriefVirtualMachineRequest) { o.VirtualMachine.Set(&v) } diff --git a/model_service_template.go b/model_service_template.go index 9d8086877..cf12f327f 100644 --- a/model_service_template.go +++ b/model_service_template.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -23,6 +23,7 @@ var _ MappedNullable = &ServiceTemplate{} type ServiceTemplate struct { Id int32 `json:"id"` Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` Display string `json:"display"` Name string `json:"name"` Protocol *ServiceProtocol `json:"protocol,omitempty"` @@ -110,6 +111,38 @@ func (o *ServiceTemplate) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *ServiceTemplate) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ServiceTemplate) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *ServiceTemplate) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *ServiceTemplate) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *ServiceTemplate) GetDisplay() string { if o == nil { @@ -406,6 +439,9 @@ func (o ServiceTemplate) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["name"] = o.Name if !IsNil(o.Protocol) { @@ -477,6 +513,7 @@ func (o *ServiceTemplate) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") delete(additionalProperties, "protocol") diff --git a/model_service_template_request.go b/model_service_template_request.go index 39275e46c..adab35c9b 100644 --- a/model_service_template_request.go +++ b/model_service_template_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_site.go b/model_site.go index 1e847b294..ba7627366 100644 --- a/model_site.go +++ b/model_site.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -13,6 +13,7 @@ package netbox import ( "encoding/json" "fmt" + "time" ) // checks if the Site type satisfies the MappedNullable interface at compile time @@ -20,13 +21,41 @@ var _ MappedNullable = &Site{} // Site Adds support for custom fields and tags. type Site struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` // Full name of the site - Name string `json:"name"` - Slug string `json:"slug"` - Description *string `json:"description,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Status *LocationStatus `json:"status,omitempty"` + Region NullableBriefRegion `json:"region,omitempty"` + Group NullableBriefSiteGroup `json:"group,omitempty"` + Tenant NullableBriefTenant `json:"tenant,omitempty"` + // Local facility ID or description + Facility *string `json:"facility,omitempty"` + TimeZone NullableString `json:"time_zone,omitempty"` + Description *string `json:"description,omitempty"` + // Physical location of the building + PhysicalAddress *string `json:"physical_address,omitempty"` + // If different from the physical address + ShippingAddress *string `json:"shipping_address,omitempty"` + // GPS coordinate in decimal format (xx.yyyyyy) + Latitude NullableFloat64 `json:"latitude,omitempty"` + // GPS coordinate in decimal format (xx.yyyyyy) + Longitude NullableFloat64 `json:"longitude,omitempty"` + Comments *string `json:"comments,omitempty"` + Asns []ASN `json:"asns,omitempty"` + Tags []NestedTag `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Created NullableTime `json:"created"` + LastUpdated NullableTime `json:"last_updated"` + CircuitCount int64 `json:"circuit_count"` + DeviceCount *int64 `json:"device_count,omitempty"` + PrefixCount *int64 `json:"prefix_count,omitempty"` + RackCount int64 `json:"rack_count"` + VirtualmachineCount *int64 `json:"virtualmachine_count,omitempty"` + VlanCount *int64 `json:"vlan_count,omitempty"` AdditionalProperties map[string]interface{} } @@ -36,13 +65,17 @@ type _Site Site // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewSite(id int32, url string, display string, name string, slug string) *Site { +func NewSite(id int32, url string, display string, name string, slug string, created NullableTime, lastUpdated NullableTime, circuitCount int64, rackCount int64) *Site { this := Site{} this.Id = id this.Url = url this.Display = display this.Name = name this.Slug = slug + this.Created = created + this.LastUpdated = lastUpdated + this.CircuitCount = circuitCount + this.RackCount = rackCount return &this } @@ -102,6 +135,38 @@ func (o *Site) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *Site) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Site) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *Site) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *Site) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *Site) GetDisplay() string { if o == nil { @@ -174,6 +239,242 @@ func (o *Site) SetSlug(v string) { o.Slug = v } +// GetStatus returns the Status field value if set, zero value otherwise. +func (o *Site) GetStatus() LocationStatus { + if o == nil || IsNil(o.Status) { + var ret LocationStatus + 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 *Site) GetStatusOk() (*LocationStatus, 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 *Site) HasStatus() bool { + if o != nil && !IsNil(o.Status) { + return true + } + + return false +} + +// SetStatus gets a reference to the given LocationStatus and assigns it to the Status field. +func (o *Site) SetStatus(v LocationStatus) { + o.Status = &v +} + +// GetRegion returns the Region field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Site) GetRegion() BriefRegion { + if o == nil || IsNil(o.Region.Get()) { + var ret BriefRegion + return ret + } + return *o.Region.Get() +} + +// GetRegionOk returns a tuple with the Region 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 *Site) GetRegionOk() (*BriefRegion, bool) { + if o == nil { + return nil, false + } + return o.Region.Get(), o.Region.IsSet() +} + +// HasRegion returns a boolean if a field has been set. +func (o *Site) HasRegion() bool { + if o != nil && o.Region.IsSet() { + return true + } + + return false +} + +// SetRegion gets a reference to the given NullableBriefRegion and assigns it to the Region field. +func (o *Site) SetRegion(v BriefRegion) { + o.Region.Set(&v) +} + +// SetRegionNil sets the value for Region to be an explicit nil +func (o *Site) SetRegionNil() { + o.Region.Set(nil) +} + +// UnsetRegion ensures that no value is present for Region, not even an explicit nil +func (o *Site) UnsetRegion() { + o.Region.Unset() +} + +// GetGroup returns the Group field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Site) GetGroup() BriefSiteGroup { + if o == nil || IsNil(o.Group.Get()) { + var ret BriefSiteGroup + return ret + } + return *o.Group.Get() +} + +// GetGroupOk returns a tuple with the Group 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 *Site) GetGroupOk() (*BriefSiteGroup, bool) { + if o == nil { + return nil, false + } + return o.Group.Get(), o.Group.IsSet() +} + +// HasGroup returns a boolean if a field has been set. +func (o *Site) HasGroup() bool { + if o != nil && o.Group.IsSet() { + return true + } + + return false +} + +// SetGroup gets a reference to the given NullableBriefSiteGroup and assigns it to the Group field. +func (o *Site) SetGroup(v BriefSiteGroup) { + o.Group.Set(&v) +} + +// SetGroupNil sets the value for Group to be an explicit nil +func (o *Site) SetGroupNil() { + o.Group.Set(nil) +} + +// UnsetGroup ensures that no value is present for Group, not even an explicit nil +func (o *Site) UnsetGroup() { + o.Group.Unset() +} + +// GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Site) GetTenant() BriefTenant { + if o == nil || IsNil(o.Tenant.Get()) { + var ret BriefTenant + 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 *Site) GetTenantOk() (*BriefTenant, 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 *Site) HasTenant() bool { + if o != nil && o.Tenant.IsSet() { + return true + } + + return false +} + +// SetTenant gets a reference to the given NullableBriefTenant and assigns it to the Tenant field. +func (o *Site) SetTenant(v BriefTenant) { + o.Tenant.Set(&v) +} + +// SetTenantNil sets the value for Tenant to be an explicit nil +func (o *Site) SetTenantNil() { + o.Tenant.Set(nil) +} + +// UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +func (o *Site) UnsetTenant() { + o.Tenant.Unset() +} + +// GetFacility returns the Facility field value if set, zero value otherwise. +func (o *Site) GetFacility() string { + if o == nil || IsNil(o.Facility) { + var ret string + return ret + } + return *o.Facility +} + +// GetFacilityOk returns a tuple with the Facility field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Site) GetFacilityOk() (*string, bool) { + if o == nil || IsNil(o.Facility) { + return nil, false + } + return o.Facility, true +} + +// HasFacility returns a boolean if a field has been set. +func (o *Site) HasFacility() bool { + if o != nil && !IsNil(o.Facility) { + return true + } + + return false +} + +// SetFacility gets a reference to the given string and assigns it to the Facility field. +func (o *Site) SetFacility(v string) { + o.Facility = &v +} + +// GetTimeZone returns the TimeZone field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Site) GetTimeZone() string { + if o == nil || IsNil(o.TimeZone.Get()) { + var ret string + return ret + } + return *o.TimeZone.Get() +} + +// GetTimeZoneOk returns a tuple with the TimeZone 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 *Site) GetTimeZoneOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.TimeZone.Get(), o.TimeZone.IsSet() +} + +// HasTimeZone returns a boolean if a field has been set. +func (o *Site) HasTimeZone() bool { + if o != nil && o.TimeZone.IsSet() { + return true + } + + return false +} + +// SetTimeZone gets a reference to the given NullableString and assigns it to the TimeZone field. +func (o *Site) SetTimeZone(v string) { + o.TimeZone.Set(&v) +} + +// SetTimeZoneNil sets the value for TimeZone to be an explicit nil +func (o *Site) SetTimeZoneNil() { + o.TimeZone.Set(nil) +} + +// UnsetTimeZone ensures that no value is present for TimeZone, not even an explicit nil +func (o *Site) UnsetTimeZone() { + o.TimeZone.Unset() +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *Site) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -206,6 +507,512 @@ func (o *Site) SetDescription(v string) { o.Description = &v } +// GetPhysicalAddress returns the PhysicalAddress field value if set, zero value otherwise. +func (o *Site) GetPhysicalAddress() string { + if o == nil || IsNil(o.PhysicalAddress) { + var ret string + return ret + } + return *o.PhysicalAddress +} + +// GetPhysicalAddressOk returns a tuple with the PhysicalAddress field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Site) GetPhysicalAddressOk() (*string, bool) { + if o == nil || IsNil(o.PhysicalAddress) { + return nil, false + } + return o.PhysicalAddress, true +} + +// HasPhysicalAddress returns a boolean if a field has been set. +func (o *Site) HasPhysicalAddress() bool { + if o != nil && !IsNil(o.PhysicalAddress) { + return true + } + + return false +} + +// SetPhysicalAddress gets a reference to the given string and assigns it to the PhysicalAddress field. +func (o *Site) SetPhysicalAddress(v string) { + o.PhysicalAddress = &v +} + +// GetShippingAddress returns the ShippingAddress field value if set, zero value otherwise. +func (o *Site) GetShippingAddress() string { + if o == nil || IsNil(o.ShippingAddress) { + var ret string + return ret + } + return *o.ShippingAddress +} + +// GetShippingAddressOk returns a tuple with the ShippingAddress field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Site) GetShippingAddressOk() (*string, bool) { + if o == nil || IsNil(o.ShippingAddress) { + return nil, false + } + return o.ShippingAddress, true +} + +// HasShippingAddress returns a boolean if a field has been set. +func (o *Site) HasShippingAddress() bool { + if o != nil && !IsNil(o.ShippingAddress) { + return true + } + + return false +} + +// SetShippingAddress gets a reference to the given string and assigns it to the ShippingAddress field. +func (o *Site) SetShippingAddress(v string) { + o.ShippingAddress = &v +} + +// GetLatitude returns the Latitude field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Site) GetLatitude() float64 { + if o == nil || IsNil(o.Latitude.Get()) { + var ret float64 + return ret + } + return *o.Latitude.Get() +} + +// GetLatitudeOk returns a tuple with the Latitude 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 *Site) GetLatitudeOk() (*float64, bool) { + if o == nil { + return nil, false + } + return o.Latitude.Get(), o.Latitude.IsSet() +} + +// HasLatitude returns a boolean if a field has been set. +func (o *Site) HasLatitude() bool { + if o != nil && o.Latitude.IsSet() { + return true + } + + return false +} + +// SetLatitude gets a reference to the given NullableFloat64 and assigns it to the Latitude field. +func (o *Site) SetLatitude(v float64) { + o.Latitude.Set(&v) +} + +// SetLatitudeNil sets the value for Latitude to be an explicit nil +func (o *Site) SetLatitudeNil() { + o.Latitude.Set(nil) +} + +// UnsetLatitude ensures that no value is present for Latitude, not even an explicit nil +func (o *Site) UnsetLatitude() { + o.Latitude.Unset() +} + +// GetLongitude returns the Longitude field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Site) GetLongitude() float64 { + if o == nil || IsNil(o.Longitude.Get()) { + var ret float64 + return ret + } + return *o.Longitude.Get() +} + +// GetLongitudeOk returns a tuple with the Longitude 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 *Site) GetLongitudeOk() (*float64, bool) { + if o == nil { + return nil, false + } + return o.Longitude.Get(), o.Longitude.IsSet() +} + +// HasLongitude returns a boolean if a field has been set. +func (o *Site) HasLongitude() bool { + if o != nil && o.Longitude.IsSet() { + return true + } + + return false +} + +// SetLongitude gets a reference to the given NullableFloat64 and assigns it to the Longitude field. +func (o *Site) SetLongitude(v float64) { + o.Longitude.Set(&v) +} + +// SetLongitudeNil sets the value for Longitude to be an explicit nil +func (o *Site) SetLongitudeNil() { + o.Longitude.Set(nil) +} + +// UnsetLongitude ensures that no value is present for Longitude, not even an explicit nil +func (o *Site) UnsetLongitude() { + o.Longitude.Unset() +} + +// GetComments returns the Comments field value if set, zero value otherwise. +func (o *Site) GetComments() string { + if o == nil || IsNil(o.Comments) { + var ret string + return ret + } + return *o.Comments +} + +// GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Site) GetCommentsOk() (*string, bool) { + if o == nil || IsNil(o.Comments) { + return nil, false + } + return o.Comments, true +} + +// HasComments returns a boolean if a field has been set. +func (o *Site) HasComments() bool { + if o != nil && !IsNil(o.Comments) { + return true + } + + return false +} + +// SetComments gets a reference to the given string and assigns it to the Comments field. +func (o *Site) SetComments(v string) { + o.Comments = &v +} + +// GetAsns returns the Asns field value if set, zero value otherwise. +func (o *Site) GetAsns() []ASN { + if o == nil || IsNil(o.Asns) { + var ret []ASN + return ret + } + return o.Asns +} + +// GetAsnsOk returns a tuple with the Asns field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Site) GetAsnsOk() ([]ASN, bool) { + if o == nil || IsNil(o.Asns) { + return nil, false + } + return o.Asns, true +} + +// HasAsns returns a boolean if a field has been set. +func (o *Site) HasAsns() bool { + if o != nil && !IsNil(o.Asns) { + return true + } + + return false +} + +// SetAsns gets a reference to the given []ASN and assigns it to the Asns field. +func (o *Site) SetAsns(v []ASN) { + o.Asns = v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *Site) GetTags() []NestedTag { + if o == nil || IsNil(o.Tags) { + var ret []NestedTag + 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 *Site) GetTagsOk() ([]NestedTag, 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 *Site) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTag and assigns it to the Tags field. +func (o *Site) SetTags(v []NestedTag) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *Site) 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 *Site) 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 *Site) 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 *Site) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetCreated returns the Created field value +// If the value is explicit nil, the zero value for time.Time will be returned +func (o *Site) 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 *Site) GetCreatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.Created.Get(), o.Created.IsSet() +} + +// SetCreated sets field value +func (o *Site) 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 *Site) 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 *Site) GetLastUpdatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LastUpdated.Get(), o.LastUpdated.IsSet() +} + +// SetLastUpdated sets field value +func (o *Site) SetLastUpdated(v time.Time) { + o.LastUpdated.Set(&v) +} + +// GetCircuitCount returns the CircuitCount field value +func (o *Site) GetCircuitCount() int64 { + if o == nil { + var ret int64 + return ret + } + + return o.CircuitCount +} + +// GetCircuitCountOk returns a tuple with the CircuitCount field value +// and a boolean to check if the value has been set. +func (o *Site) GetCircuitCountOk() (*int64, bool) { + if o == nil { + return nil, false + } + return &o.CircuitCount, true +} + +// SetCircuitCount sets field value +func (o *Site) SetCircuitCount(v int64) { + o.CircuitCount = v +} + +// GetDeviceCount returns the DeviceCount field value if set, zero value otherwise. +func (o *Site) GetDeviceCount() int64 { + if o == nil || IsNil(o.DeviceCount) { + var ret int64 + return ret + } + return *o.DeviceCount +} + +// GetDeviceCountOk returns a tuple with the DeviceCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Site) GetDeviceCountOk() (*int64, bool) { + if o == nil || IsNil(o.DeviceCount) { + return nil, false + } + return o.DeviceCount, true +} + +// HasDeviceCount returns a boolean if a field has been set. +func (o *Site) HasDeviceCount() bool { + if o != nil && !IsNil(o.DeviceCount) { + return true + } + + return false +} + +// SetDeviceCount gets a reference to the given int64 and assigns it to the DeviceCount field. +func (o *Site) SetDeviceCount(v int64) { + o.DeviceCount = &v +} + +// GetPrefixCount returns the PrefixCount field value if set, zero value otherwise. +func (o *Site) GetPrefixCount() int64 { + if o == nil || IsNil(o.PrefixCount) { + var ret int64 + return ret + } + return *o.PrefixCount +} + +// GetPrefixCountOk returns a tuple with the PrefixCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Site) GetPrefixCountOk() (*int64, bool) { + if o == nil || IsNil(o.PrefixCount) { + return nil, false + } + return o.PrefixCount, true +} + +// HasPrefixCount returns a boolean if a field has been set. +func (o *Site) HasPrefixCount() bool { + if o != nil && !IsNil(o.PrefixCount) { + return true + } + + return false +} + +// SetPrefixCount gets a reference to the given int64 and assigns it to the PrefixCount field. +func (o *Site) SetPrefixCount(v int64) { + o.PrefixCount = &v +} + +// GetRackCount returns the RackCount field value +func (o *Site) GetRackCount() int64 { + if o == nil { + var ret int64 + return ret + } + + return o.RackCount +} + +// GetRackCountOk returns a tuple with the RackCount field value +// and a boolean to check if the value has been set. +func (o *Site) GetRackCountOk() (*int64, bool) { + if o == nil { + return nil, false + } + return &o.RackCount, true +} + +// SetRackCount sets field value +func (o *Site) SetRackCount(v int64) { + o.RackCount = v +} + +// GetVirtualmachineCount returns the VirtualmachineCount field value if set, zero value otherwise. +func (o *Site) GetVirtualmachineCount() int64 { + if o == nil || IsNil(o.VirtualmachineCount) { + var ret int64 + return ret + } + return *o.VirtualmachineCount +} + +// GetVirtualmachineCountOk returns a tuple with the VirtualmachineCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Site) GetVirtualmachineCountOk() (*int64, bool) { + if o == nil || IsNil(o.VirtualmachineCount) { + return nil, false + } + return o.VirtualmachineCount, true +} + +// HasVirtualmachineCount returns a boolean if a field has been set. +func (o *Site) HasVirtualmachineCount() bool { + if o != nil && !IsNil(o.VirtualmachineCount) { + return true + } + + return false +} + +// SetVirtualmachineCount gets a reference to the given int64 and assigns it to the VirtualmachineCount field. +func (o *Site) SetVirtualmachineCount(v int64) { + o.VirtualmachineCount = &v +} + +// GetVlanCount returns the VlanCount field value if set, zero value otherwise. +func (o *Site) GetVlanCount() int64 { + if o == nil || IsNil(o.VlanCount) { + var ret int64 + return ret + } + return *o.VlanCount +} + +// GetVlanCountOk returns a tuple with the VlanCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Site) GetVlanCountOk() (*int64, bool) { + if o == nil || IsNil(o.VlanCount) { + return nil, false + } + return o.VlanCount, true +} + +// HasVlanCount returns a boolean if a field has been set. +func (o *Site) HasVlanCount() bool { + if o != nil && !IsNil(o.VlanCount) { + return true + } + + return false +} + +// SetVlanCount gets a reference to the given int64 and assigns it to the VlanCount field. +func (o *Site) SetVlanCount(v int64) { + o.VlanCount = &v +} + func (o Site) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -218,12 +1025,73 @@ func (o Site) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["name"] = o.Name toSerialize["slug"] = o.Slug + if !IsNil(o.Status) { + toSerialize["status"] = o.Status + } + if o.Region.IsSet() { + toSerialize["region"] = o.Region.Get() + } + if o.Group.IsSet() { + toSerialize["group"] = o.Group.Get() + } + if o.Tenant.IsSet() { + toSerialize["tenant"] = o.Tenant.Get() + } + if !IsNil(o.Facility) { + toSerialize["facility"] = o.Facility + } + if o.TimeZone.IsSet() { + toSerialize["time_zone"] = o.TimeZone.Get() + } if !IsNil(o.Description) { toSerialize["description"] = o.Description } + if !IsNil(o.PhysicalAddress) { + toSerialize["physical_address"] = o.PhysicalAddress + } + if !IsNil(o.ShippingAddress) { + toSerialize["shipping_address"] = o.ShippingAddress + } + if o.Latitude.IsSet() { + toSerialize["latitude"] = o.Latitude.Get() + } + if o.Longitude.IsSet() { + toSerialize["longitude"] = o.Longitude.Get() + } + if !IsNil(o.Comments) { + toSerialize["comments"] = o.Comments + } + if !IsNil(o.Asns) { + toSerialize["asns"] = o.Asns + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + toSerialize["created"] = o.Created.Get() + toSerialize["last_updated"] = o.LastUpdated.Get() + toSerialize["circuit_count"] = o.CircuitCount + if !IsNil(o.DeviceCount) { + toSerialize["device_count"] = o.DeviceCount + } + if !IsNil(o.PrefixCount) { + toSerialize["prefix_count"] = o.PrefixCount + } + toSerialize["rack_count"] = o.RackCount + if !IsNil(o.VirtualmachineCount) { + toSerialize["virtualmachine_count"] = o.VirtualmachineCount + } + if !IsNil(o.VlanCount) { + toSerialize["vlan_count"] = o.VlanCount + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -242,6 +1110,10 @@ func (o *Site) UnmarshalJSON(data []byte) (err error) { "display", "name", "slug", + "created", + "last_updated", + "circuit_count", + "rack_count", } allProperties := make(map[string]interface{}) @@ -273,10 +1145,33 @@ func (o *Site) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") delete(additionalProperties, "slug") + delete(additionalProperties, "status") + delete(additionalProperties, "region") + delete(additionalProperties, "group") + delete(additionalProperties, "tenant") + delete(additionalProperties, "facility") + delete(additionalProperties, "time_zone") delete(additionalProperties, "description") + delete(additionalProperties, "physical_address") + delete(additionalProperties, "shipping_address") + delete(additionalProperties, "latitude") + delete(additionalProperties, "longitude") + delete(additionalProperties, "comments") + delete(additionalProperties, "asns") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "created") + delete(additionalProperties, "last_updated") + delete(additionalProperties, "circuit_count") + delete(additionalProperties, "device_count") + delete(additionalProperties, "prefix_count") + delete(additionalProperties, "rack_count") + delete(additionalProperties, "virtualmachine_count") + delete(additionalProperties, "vlan_count") o.AdditionalProperties = additionalProperties } diff --git a/model_site_group.go b/model_site_group.go index 36320a38d..1c1b58cc5 100644 --- a/model_site_group.go +++ b/model_site_group.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -23,6 +23,7 @@ var _ MappedNullable = &SiteGroup{} type SiteGroup struct { Id int32 `json:"id"` Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` Display string `json:"display"` Name string `json:"name"` Slug string `json:"slug"` @@ -113,6 +114,38 @@ func (o *SiteGroup) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *SiteGroup) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SiteGroup) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *SiteGroup) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *SiteGroup) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *SiteGroup) GetDisplay() string { if o == nil { @@ -436,6 +469,9 @@ func (o SiteGroup) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["name"] = o.Name toSerialize["slug"] = o.Slug @@ -508,6 +544,7 @@ func (o *SiteGroup) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") delete(additionalProperties, "slug") diff --git a/model_site_group_request.go b/model_site_group_request.go index 1cd1ab1c5..1e0691840 100644 --- a/model_site_group_request.go +++ b/model_site_group_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_site_request.go b/model_site_request.go index 60b8fd8dc..2a424c173 100644 --- a/model_site_request.go +++ b/model_site_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,9 +21,28 @@ var _ MappedNullable = &SiteRequest{} // SiteRequest Adds support for custom fields and tags. type SiteRequest struct { // Full name of the site - Name string `json:"name"` - Slug string `json:"slug"` - Description *string `json:"description,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Status *LocationStatusValue `json:"status,omitempty"` + Region NullableBriefRegionRequest `json:"region,omitempty"` + Group NullableBriefSiteGroupRequest `json:"group,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` + // Local facility ID or description + Facility *string `json:"facility,omitempty"` + TimeZone NullableString `json:"time_zone,omitempty"` + Description *string `json:"description,omitempty"` + // Physical location of the building + PhysicalAddress *string `json:"physical_address,omitempty"` + // If different from the physical address + ShippingAddress *string `json:"shipping_address,omitempty"` + // GPS coordinate in decimal format (xx.yyyyyy) + Latitude NullableFloat64 `json:"latitude,omitempty"` + // GPS coordinate in decimal format (xx.yyyyyy) + Longitude NullableFloat64 `json:"longitude,omitempty"` + Comments *string `json:"comments,omitempty"` + Asns []int32 `json:"asns,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -96,6 +115,242 @@ func (o *SiteRequest) SetSlug(v string) { o.Slug = v } +// GetStatus returns the Status field value if set, zero value otherwise. +func (o *SiteRequest) GetStatus() LocationStatusValue { + if o == nil || IsNil(o.Status) { + var ret LocationStatusValue + 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 *SiteRequest) GetStatusOk() (*LocationStatusValue, 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 *SiteRequest) HasStatus() bool { + if o != nil && !IsNil(o.Status) { + return true + } + + return false +} + +// SetStatus gets a reference to the given LocationStatusValue and assigns it to the Status field. +func (o *SiteRequest) SetStatus(v LocationStatusValue) { + o.Status = &v +} + +// GetRegion returns the Region field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SiteRequest) GetRegion() BriefRegionRequest { + if o == nil || IsNil(o.Region.Get()) { + var ret BriefRegionRequest + return ret + } + return *o.Region.Get() +} + +// GetRegionOk returns a tuple with the Region 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 *SiteRequest) GetRegionOk() (*BriefRegionRequest, bool) { + if o == nil { + return nil, false + } + return o.Region.Get(), o.Region.IsSet() +} + +// HasRegion returns a boolean if a field has been set. +func (o *SiteRequest) HasRegion() bool { + if o != nil && o.Region.IsSet() { + return true + } + + return false +} + +// SetRegion gets a reference to the given NullableBriefRegionRequest and assigns it to the Region field. +func (o *SiteRequest) SetRegion(v BriefRegionRequest) { + o.Region.Set(&v) +} + +// SetRegionNil sets the value for Region to be an explicit nil +func (o *SiteRequest) SetRegionNil() { + o.Region.Set(nil) +} + +// UnsetRegion ensures that no value is present for Region, not even an explicit nil +func (o *SiteRequest) UnsetRegion() { + o.Region.Unset() +} + +// GetGroup returns the Group field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SiteRequest) GetGroup() BriefSiteGroupRequest { + if o == nil || IsNil(o.Group.Get()) { + var ret BriefSiteGroupRequest + return ret + } + return *o.Group.Get() +} + +// GetGroupOk returns a tuple with the Group 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 *SiteRequest) GetGroupOk() (*BriefSiteGroupRequest, bool) { + if o == nil { + return nil, false + } + return o.Group.Get(), o.Group.IsSet() +} + +// HasGroup returns a boolean if a field has been set. +func (o *SiteRequest) HasGroup() bool { + if o != nil && o.Group.IsSet() { + return true + } + + return false +} + +// SetGroup gets a reference to the given NullableBriefSiteGroupRequest and assigns it to the Group field. +func (o *SiteRequest) SetGroup(v BriefSiteGroupRequest) { + o.Group.Set(&v) +} + +// SetGroupNil sets the value for Group to be an explicit nil +func (o *SiteRequest) SetGroupNil() { + o.Group.Set(nil) +} + +// UnsetGroup ensures that no value is present for Group, not even an explicit nil +func (o *SiteRequest) UnsetGroup() { + o.Group.Unset() +} + +// GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SiteRequest) GetTenant() BriefTenantRequest { + if o == nil || IsNil(o.Tenant.Get()) { + var ret BriefTenantRequest + 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 *SiteRequest) GetTenantOk() (*BriefTenantRequest, 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 *SiteRequest) HasTenant() bool { + if o != nil && o.Tenant.IsSet() { + return true + } + + return false +} + +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *SiteRequest) SetTenant(v BriefTenantRequest) { + o.Tenant.Set(&v) +} + +// SetTenantNil sets the value for Tenant to be an explicit nil +func (o *SiteRequest) SetTenantNil() { + o.Tenant.Set(nil) +} + +// UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +func (o *SiteRequest) UnsetTenant() { + o.Tenant.Unset() +} + +// GetFacility returns the Facility field value if set, zero value otherwise. +func (o *SiteRequest) GetFacility() string { + if o == nil || IsNil(o.Facility) { + var ret string + return ret + } + return *o.Facility +} + +// GetFacilityOk returns a tuple with the Facility field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SiteRequest) GetFacilityOk() (*string, bool) { + if o == nil || IsNil(o.Facility) { + return nil, false + } + return o.Facility, true +} + +// HasFacility returns a boolean if a field has been set. +func (o *SiteRequest) HasFacility() bool { + if o != nil && !IsNil(o.Facility) { + return true + } + + return false +} + +// SetFacility gets a reference to the given string and assigns it to the Facility field. +func (o *SiteRequest) SetFacility(v string) { + o.Facility = &v +} + +// GetTimeZone returns the TimeZone field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SiteRequest) GetTimeZone() string { + if o == nil || IsNil(o.TimeZone.Get()) { + var ret string + return ret + } + return *o.TimeZone.Get() +} + +// GetTimeZoneOk returns a tuple with the TimeZone 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 *SiteRequest) GetTimeZoneOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.TimeZone.Get(), o.TimeZone.IsSet() +} + +// HasTimeZone returns a boolean if a field has been set. +func (o *SiteRequest) HasTimeZone() bool { + if o != nil && o.TimeZone.IsSet() { + return true + } + + return false +} + +// SetTimeZone gets a reference to the given NullableString and assigns it to the TimeZone field. +func (o *SiteRequest) SetTimeZone(v string) { + o.TimeZone.Set(&v) +} + +// SetTimeZoneNil sets the value for TimeZone to be an explicit nil +func (o *SiteRequest) SetTimeZoneNil() { + o.TimeZone.Set(nil) +} + +// UnsetTimeZone ensures that no value is present for TimeZone, not even an explicit nil +func (o *SiteRequest) UnsetTimeZone() { + o.TimeZone.Unset() +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *SiteRequest) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -128,6 +383,284 @@ func (o *SiteRequest) SetDescription(v string) { o.Description = &v } +// GetPhysicalAddress returns the PhysicalAddress field value if set, zero value otherwise. +func (o *SiteRequest) GetPhysicalAddress() string { + if o == nil || IsNil(o.PhysicalAddress) { + var ret string + return ret + } + return *o.PhysicalAddress +} + +// GetPhysicalAddressOk returns a tuple with the PhysicalAddress field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SiteRequest) GetPhysicalAddressOk() (*string, bool) { + if o == nil || IsNil(o.PhysicalAddress) { + return nil, false + } + return o.PhysicalAddress, true +} + +// HasPhysicalAddress returns a boolean if a field has been set. +func (o *SiteRequest) HasPhysicalAddress() bool { + if o != nil && !IsNil(o.PhysicalAddress) { + return true + } + + return false +} + +// SetPhysicalAddress gets a reference to the given string and assigns it to the PhysicalAddress field. +func (o *SiteRequest) SetPhysicalAddress(v string) { + o.PhysicalAddress = &v +} + +// GetShippingAddress returns the ShippingAddress field value if set, zero value otherwise. +func (o *SiteRequest) GetShippingAddress() string { + if o == nil || IsNil(o.ShippingAddress) { + var ret string + return ret + } + return *o.ShippingAddress +} + +// GetShippingAddressOk returns a tuple with the ShippingAddress field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SiteRequest) GetShippingAddressOk() (*string, bool) { + if o == nil || IsNil(o.ShippingAddress) { + return nil, false + } + return o.ShippingAddress, true +} + +// HasShippingAddress returns a boolean if a field has been set. +func (o *SiteRequest) HasShippingAddress() bool { + if o != nil && !IsNil(o.ShippingAddress) { + return true + } + + return false +} + +// SetShippingAddress gets a reference to the given string and assigns it to the ShippingAddress field. +func (o *SiteRequest) SetShippingAddress(v string) { + o.ShippingAddress = &v +} + +// GetLatitude returns the Latitude field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SiteRequest) GetLatitude() float64 { + if o == nil || IsNil(o.Latitude.Get()) { + var ret float64 + return ret + } + return *o.Latitude.Get() +} + +// GetLatitudeOk returns a tuple with the Latitude 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 *SiteRequest) GetLatitudeOk() (*float64, bool) { + if o == nil { + return nil, false + } + return o.Latitude.Get(), o.Latitude.IsSet() +} + +// HasLatitude returns a boolean if a field has been set. +func (o *SiteRequest) HasLatitude() bool { + if o != nil && o.Latitude.IsSet() { + return true + } + + return false +} + +// SetLatitude gets a reference to the given NullableFloat64 and assigns it to the Latitude field. +func (o *SiteRequest) SetLatitude(v float64) { + o.Latitude.Set(&v) +} + +// SetLatitudeNil sets the value for Latitude to be an explicit nil +func (o *SiteRequest) SetLatitudeNil() { + o.Latitude.Set(nil) +} + +// UnsetLatitude ensures that no value is present for Latitude, not even an explicit nil +func (o *SiteRequest) UnsetLatitude() { + o.Latitude.Unset() +} + +// GetLongitude returns the Longitude field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SiteRequest) GetLongitude() float64 { + if o == nil || IsNil(o.Longitude.Get()) { + var ret float64 + return ret + } + return *o.Longitude.Get() +} + +// GetLongitudeOk returns a tuple with the Longitude 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 *SiteRequest) GetLongitudeOk() (*float64, bool) { + if o == nil { + return nil, false + } + return o.Longitude.Get(), o.Longitude.IsSet() +} + +// HasLongitude returns a boolean if a field has been set. +func (o *SiteRequest) HasLongitude() bool { + if o != nil && o.Longitude.IsSet() { + return true + } + + return false +} + +// SetLongitude gets a reference to the given NullableFloat64 and assigns it to the Longitude field. +func (o *SiteRequest) SetLongitude(v float64) { + o.Longitude.Set(&v) +} + +// SetLongitudeNil sets the value for Longitude to be an explicit nil +func (o *SiteRequest) SetLongitudeNil() { + o.Longitude.Set(nil) +} + +// UnsetLongitude ensures that no value is present for Longitude, not even an explicit nil +func (o *SiteRequest) UnsetLongitude() { + o.Longitude.Unset() +} + +// GetComments returns the Comments field value if set, zero value otherwise. +func (o *SiteRequest) GetComments() string { + if o == nil || IsNil(o.Comments) { + var ret string + return ret + } + return *o.Comments +} + +// GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SiteRequest) GetCommentsOk() (*string, bool) { + if o == nil || IsNil(o.Comments) { + return nil, false + } + return o.Comments, true +} + +// HasComments returns a boolean if a field has been set. +func (o *SiteRequest) HasComments() bool { + if o != nil && !IsNil(o.Comments) { + return true + } + + return false +} + +// SetComments gets a reference to the given string and assigns it to the Comments field. +func (o *SiteRequest) SetComments(v string) { + o.Comments = &v +} + +// GetAsns returns the Asns field value if set, zero value otherwise. +func (o *SiteRequest) GetAsns() []int32 { + if o == nil || IsNil(o.Asns) { + var ret []int32 + return ret + } + return o.Asns +} + +// GetAsnsOk returns a tuple with the Asns field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SiteRequest) GetAsnsOk() ([]int32, bool) { + if o == nil || IsNil(o.Asns) { + return nil, false + } + return o.Asns, true +} + +// HasAsns returns a boolean if a field has been set. +func (o *SiteRequest) HasAsns() bool { + if o != nil && !IsNil(o.Asns) { + return true + } + + return false +} + +// SetAsns gets a reference to the given []int32 and assigns it to the Asns field. +func (o *SiteRequest) SetAsns(v []int32) { + o.Asns = v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *SiteRequest) GetTags() []NestedTagRequest { + if o == nil || IsNil(o.Tags) { + var ret []NestedTagRequest + 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 *SiteRequest) GetTagsOk() ([]NestedTagRequest, 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 *SiteRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTagRequest and assigns it to the Tags field. +func (o *SiteRequest) SetTags(v []NestedTagRequest) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *SiteRequest) 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 *SiteRequest) 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 *SiteRequest) 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 *SiteRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + func (o SiteRequest) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -140,9 +673,51 @@ func (o SiteRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["name"] = o.Name toSerialize["slug"] = o.Slug + if !IsNil(o.Status) { + toSerialize["status"] = o.Status + } + if o.Region.IsSet() { + toSerialize["region"] = o.Region.Get() + } + if o.Group.IsSet() { + toSerialize["group"] = o.Group.Get() + } + if o.Tenant.IsSet() { + toSerialize["tenant"] = o.Tenant.Get() + } + if !IsNil(o.Facility) { + toSerialize["facility"] = o.Facility + } + if o.TimeZone.IsSet() { + toSerialize["time_zone"] = o.TimeZone.Get() + } if !IsNil(o.Description) { toSerialize["description"] = o.Description } + if !IsNil(o.PhysicalAddress) { + toSerialize["physical_address"] = o.PhysicalAddress + } + if !IsNil(o.ShippingAddress) { + toSerialize["shipping_address"] = o.ShippingAddress + } + if o.Latitude.IsSet() { + toSerialize["latitude"] = o.Latitude.Get() + } + if o.Longitude.IsSet() { + toSerialize["longitude"] = o.Longitude.Get() + } + if !IsNil(o.Comments) { + toSerialize["comments"] = o.Comments + } + if !IsNil(o.Asns) { + toSerialize["asns"] = o.Asns + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -189,7 +764,21 @@ func (o *SiteRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "name") delete(additionalProperties, "slug") + delete(additionalProperties, "status") + delete(additionalProperties, "region") + delete(additionalProperties, "group") + delete(additionalProperties, "tenant") + delete(additionalProperties, "facility") + delete(additionalProperties, "time_zone") delete(additionalProperties, "description") + delete(additionalProperties, "physical_address") + delete(additionalProperties, "shipping_address") + delete(additionalProperties, "latitude") + delete(additionalProperties, "longitude") + delete(additionalProperties, "comments") + delete(additionalProperties, "asns") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") o.AdditionalProperties = additionalProperties } diff --git a/model_subscription.go b/model_subscription.go new file mode 100644 index 000000000..c921b931b --- /dev/null +++ b/model_subscription.go @@ -0,0 +1,374 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" + "time" +) + +// checks if the Subscription type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &Subscription{} + +// Subscription Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 Subscription struct { + Id int32 `json:"id"` + Url string `json:"url"` + Display string `json:"display"` + ObjectType string `json:"object_type"` + ObjectId int64 `json:"object_id"` + Object interface{} `json:"object"` + User BriefUser `json:"user"` + Created time.Time `json:"created"` + AdditionalProperties map[string]interface{} +} + +type _Subscription Subscription + +// NewSubscription instantiates a new Subscription object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSubscription(id int32, url string, display string, objectType string, objectId int64, object interface{}, user BriefUser, created time.Time) *Subscription { + this := Subscription{} + this.Id = id + this.Url = url + this.Display = display + this.ObjectType = objectType + this.ObjectId = objectId + this.Object = object + this.User = user + this.Created = created + return &this +} + +// NewSubscriptionWithDefaults instantiates a new Subscription object +// This 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 NewSubscriptionWithDefaults() *Subscription { + this := Subscription{} + return &this +} + +// GetId returns the Id field value +func (o *Subscription) GetId() int32 { + if o == nil { + var ret int32 + 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 *Subscription) GetIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *Subscription) SetId(v int32) { + o.Id = v +} + +// GetUrl returns the Url field value +func (o *Subscription) 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 *Subscription) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *Subscription) SetUrl(v string) { + o.Url = v +} + +// GetDisplay returns the Display field value +func (o *Subscription) 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 *Subscription) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *Subscription) SetDisplay(v string) { + o.Display = v +} + +// GetObjectType returns the ObjectType field value +func (o *Subscription) 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 *Subscription) GetObjectTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ObjectType, true +} + +// SetObjectType sets field value +func (o *Subscription) SetObjectType(v string) { + o.ObjectType = v +} + +// GetObjectId returns the ObjectId field value +func (o *Subscription) GetObjectId() int64 { + if o == nil { + var ret int64 + return ret + } + + return o.ObjectId +} + +// GetObjectIdOk returns a tuple with the ObjectId field value +// and a boolean to check if the value has been set. +func (o *Subscription) GetObjectIdOk() (*int64, bool) { + if o == nil { + return nil, false + } + return &o.ObjectId, true +} + +// SetObjectId sets field value +func (o *Subscription) SetObjectId(v int64) { + o.ObjectId = v +} + +// GetObject returns the Object field value +// If the value is explicit nil, the zero value for interface{} will be returned +func (o *Subscription) GetObject() interface{} { + if o == nil { + var ret interface{} + return ret + } + + return o.Object +} + +// GetObjectOk returns a tuple with the Object 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 *Subscription) GetObjectOk() (*interface{}, bool) { + if o == nil || IsNil(o.Object) { + return nil, false + } + return &o.Object, true +} + +// SetObject sets field value +func (o *Subscription) SetObject(v interface{}) { + o.Object = v +} + +// GetUser returns the User field value +func (o *Subscription) GetUser() BriefUser { + if o == nil { + var ret BriefUser + return ret + } + + return o.User +} + +// GetUserOk returns a tuple with the User field value +// and a boolean to check if the value has been set. +func (o *Subscription) GetUserOk() (*BriefUser, bool) { + if o == nil { + return nil, false + } + return &o.User, true +} + +// SetUser sets field value +func (o *Subscription) SetUser(v BriefUser) { + o.User = v +} + +// GetCreated returns the Created field value +func (o *Subscription) GetCreated() time.Time { + if o == nil { + var ret time.Time + return ret + } + + return o.Created +} + +// GetCreatedOk returns a tuple with the Created field value +// and a boolean to check if the value has been set. +func (o *Subscription) GetCreatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return &o.Created, true +} + +// SetCreated sets field value +func (o *Subscription) SetCreated(v time.Time) { + o.Created = v +} + +func (o Subscription) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o Subscription) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["id"] = o.Id + toSerialize["url"] = o.Url + toSerialize["display"] = o.Display + toSerialize["object_type"] = o.ObjectType + toSerialize["object_id"] = o.ObjectId + if o.Object != nil { + toSerialize["object"] = o.Object + } + toSerialize["user"] = o.User + toSerialize["created"] = o.Created + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *Subscription) 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", + "url", + "display", + "object_type", + "object_id", + "object", + "user", + "created", + } + + 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) + } + } + + varSubscription := _Subscription{} + + err = json.Unmarshal(data, &varSubscription) + + if err != nil { + return err + } + + *o = Subscription(varSubscription) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "id") + delete(additionalProperties, "url") + delete(additionalProperties, "display") + delete(additionalProperties, "object_type") + delete(additionalProperties, "object_id") + delete(additionalProperties, "object") + delete(additionalProperties, "user") + delete(additionalProperties, "created") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableSubscription struct { + value *Subscription + isSet bool +} + +func (v NullableSubscription) Get() *Subscription { + return v.value +} + +func (v *NullableSubscription) Set(val *Subscription) { + v.value = val + v.isSet = true +} + +func (v NullableSubscription) IsSet() bool { + return v.isSet +} + +func (v *NullableSubscription) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSubscription(val *Subscription) *NullableSubscription { + return &NullableSubscription{value: val, isSet: true} +} + +func (v NullableSubscription) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSubscription) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_subscription_request.go b/model_subscription_request.go new file mode 100644 index 000000000..b2d59dfce --- /dev/null +++ b/model_subscription_request.go @@ -0,0 +1,224 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the SubscriptionRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SubscriptionRequest{} + +// SubscriptionRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 SubscriptionRequest struct { + ObjectType string `json:"object_type"` + ObjectId int64 `json:"object_id"` + User BriefUserRequest `json:"user"` + AdditionalProperties map[string]interface{} +} + +type _SubscriptionRequest SubscriptionRequest + +// NewSubscriptionRequest instantiates a new SubscriptionRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSubscriptionRequest(objectType string, objectId int64, user BriefUserRequest) *SubscriptionRequest { + this := SubscriptionRequest{} + this.ObjectType = objectType + this.ObjectId = objectId + this.User = user + return &this +} + +// NewSubscriptionRequestWithDefaults instantiates a new SubscriptionRequest object +// This 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 NewSubscriptionRequestWithDefaults() *SubscriptionRequest { + this := SubscriptionRequest{} + return &this +} + +// GetObjectType returns the ObjectType field value +func (o *SubscriptionRequest) 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 *SubscriptionRequest) GetObjectTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ObjectType, true +} + +// SetObjectType sets field value +func (o *SubscriptionRequest) SetObjectType(v string) { + o.ObjectType = v +} + +// GetObjectId returns the ObjectId field value +func (o *SubscriptionRequest) GetObjectId() int64 { + if o == nil { + var ret int64 + return ret + } + + return o.ObjectId +} + +// GetObjectIdOk returns a tuple with the ObjectId field value +// and a boolean to check if the value has been set. +func (o *SubscriptionRequest) GetObjectIdOk() (*int64, bool) { + if o == nil { + return nil, false + } + return &o.ObjectId, true +} + +// SetObjectId sets field value +func (o *SubscriptionRequest) SetObjectId(v int64) { + o.ObjectId = v +} + +// GetUser returns the User field value +func (o *SubscriptionRequest) GetUser() BriefUserRequest { + if o == nil { + var ret BriefUserRequest + return ret + } + + return o.User +} + +// GetUserOk returns a tuple with the User field value +// and a boolean to check if the value has been set. +func (o *SubscriptionRequest) GetUserOk() (*BriefUserRequest, bool) { + if o == nil { + return nil, false + } + return &o.User, true +} + +// SetUser sets field value +func (o *SubscriptionRequest) SetUser(v BriefUserRequest) { + o.User = v +} + +func (o SubscriptionRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SubscriptionRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["object_type"] = o.ObjectType + toSerialize["object_id"] = o.ObjectId + toSerialize["user"] = o.User + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *SubscriptionRequest) 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", + "object_id", + "user", + } + + 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) + } + } + + varSubscriptionRequest := _SubscriptionRequest{} + + err = json.Unmarshal(data, &varSubscriptionRequest) + + if err != nil { + return err + } + + *o = SubscriptionRequest(varSubscriptionRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "object_type") + delete(additionalProperties, "object_id") + delete(additionalProperties, "user") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableSubscriptionRequest struct { + value *SubscriptionRequest + isSet bool +} + +func (v NullableSubscriptionRequest) Get() *SubscriptionRequest { + return v.value +} + +func (v *NullableSubscriptionRequest) Set(val *SubscriptionRequest) { + v.value = val + v.isSet = true +} + +func (v NullableSubscriptionRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableSubscriptionRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSubscriptionRequest(val *SubscriptionRequest) *NullableSubscriptionRequest { + return &NullableSubscriptionRequest{value: val, isSet: true} +} + +func (v NullableSubscriptionRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSubscriptionRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_tag.go b/model_tag.go index 976b2af1a..b4e327b15 100644 --- a/model_tag.go +++ b/model_tag.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -23,6 +23,7 @@ var _ MappedNullable = &Tag{} type Tag struct { Id int32 `json:"id"` Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` Display string `json:"display"` Name string `json:"name"` Slug string `json:"slug"` @@ -110,6 +111,38 @@ func (o *Tag) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *Tag) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Tag) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *Tag) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *Tag) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *Tag) GetDisplay() string { if o == nil { @@ -366,6 +399,9 @@ func (o Tag) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["name"] = o.Name toSerialize["slug"] = o.Slug @@ -433,6 +469,7 @@ func (o *Tag) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") delete(additionalProperties, "slug") diff --git a/model_tag_request.go b/model_tag_request.go index 3e2e1c595..608228967 100644 --- a/model_tag_request.go +++ b/model_tag_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_tenant.go b/model_tenant.go index 0c4232d93..14cc6b978 100644 --- a/model_tenant.go +++ b/model_tenant.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -13,6 +13,7 @@ package netbox import ( "encoding/json" "fmt" + "time" ) // checks if the Tenant type satisfies the MappedNullable interface at compile time @@ -20,12 +21,29 @@ var _ MappedNullable = &Tenant{} // Tenant Adds support for custom fields and tags. type Tenant struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - Name string `json:"name"` - Slug string `json:"slug"` - Description *string `json:"description,omitempty"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Name string `json:"name"` + Slug string `json:"slug"` + Group NullableBriefTenantGroup `json:"group,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTag `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Created NullableTime `json:"created"` + LastUpdated NullableTime `json:"last_updated"` + CircuitCount int64 `json:"circuit_count"` + DeviceCount *int64 `json:"device_count,omitempty"` + IpaddressCount int64 `json:"ipaddress_count"` + PrefixCount *int64 `json:"prefix_count,omitempty"` + RackCount int64 `json:"rack_count"` + SiteCount int64 `json:"site_count"` + VirtualmachineCount *int64 `json:"virtualmachine_count,omitempty"` + VlanCount *int64 `json:"vlan_count,omitempty"` + VrfCount int64 `json:"vrf_count"` + ClusterCount int64 `json:"cluster_count"` AdditionalProperties map[string]interface{} } @@ -35,13 +53,21 @@ 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 int32, url string, display string, name string, slug string) *Tenant { +func NewTenant(id int32, url string, display string, name string, slug string, created NullableTime, lastUpdated NullableTime, circuitCount int64, ipaddressCount int64, rackCount int64, siteCount int64, vrfCount int64, clusterCount int64) *Tenant { this := Tenant{} this.Id = id this.Url = url this.Display = display this.Name = name this.Slug = slug + this.Created = created + this.LastUpdated = lastUpdated + this.CircuitCount = circuitCount + this.IpaddressCount = ipaddressCount + this.RackCount = rackCount + this.SiteCount = siteCount + this.VrfCount = vrfCount + this.ClusterCount = clusterCount return &this } @@ -101,6 +127,38 @@ func (o *Tenant) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *Tenant) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Tenant) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *Tenant) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *Tenant) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *Tenant) GetDisplay() string { if o == nil { @@ -173,6 +231,49 @@ func (o *Tenant) SetSlug(v string) { o.Slug = v } +// GetGroup returns the Group field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Tenant) GetGroup() BriefTenantGroup { + if o == nil || IsNil(o.Group.Get()) { + var ret BriefTenantGroup + return ret + } + return *o.Group.Get() +} + +// GetGroupOk returns a tuple with the Group 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 *Tenant) GetGroupOk() (*BriefTenantGroup, bool) { + if o == nil { + return nil, false + } + return o.Group.Get(), o.Group.IsSet() +} + +// HasGroup returns a boolean if a field has been set. +func (o *Tenant) HasGroup() bool { + if o != nil && o.Group.IsSet() { + return true + } + + return false +} + +// SetGroup gets a reference to the given NullableBriefTenantGroup and assigns it to the Group field. +func (o *Tenant) SetGroup(v BriefTenantGroup) { + o.Group.Set(&v) +} + +// SetGroupNil sets the value for Group to be an explicit nil +func (o *Tenant) SetGroupNil() { + o.Group.Set(nil) +} + +// UnsetGroup ensures that no value is present for Group, not even an explicit nil +func (o *Tenant) UnsetGroup() { + o.Group.Unset() +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *Tenant) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -205,6 +306,426 @@ func (o *Tenant) SetDescription(v string) { o.Description = &v } +// GetComments returns the Comments field value if set, zero value otherwise. +func (o *Tenant) GetComments() string { + if o == nil || IsNil(o.Comments) { + var ret string + return ret + } + return *o.Comments +} + +// GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Tenant) GetCommentsOk() (*string, bool) { + if o == nil || IsNil(o.Comments) { + return nil, false + } + return o.Comments, true +} + +// HasComments returns a boolean if a field has been set. +func (o *Tenant) HasComments() bool { + if o != nil && !IsNil(o.Comments) { + return true + } + + return false +} + +// SetComments gets a reference to the given string and assigns it to the Comments field. +func (o *Tenant) SetComments(v string) { + o.Comments = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *Tenant) GetTags() []NestedTag { + if o == nil || IsNil(o.Tags) { + var ret []NestedTag + 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 *Tenant) GetTagsOk() ([]NestedTag, 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 *Tenant) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTag and assigns it to the Tags field. +func (o *Tenant) SetTags(v []NestedTag) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *Tenant) 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 *Tenant) 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 *Tenant) 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 *Tenant) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetCreated returns the Created field value +// If the value is explicit nil, the zero value for time.Time will be returned +func (o *Tenant) 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 *Tenant) GetCreatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.Created.Get(), o.Created.IsSet() +} + +// SetCreated sets field value +func (o *Tenant) 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 *Tenant) 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 *Tenant) GetLastUpdatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LastUpdated.Get(), o.LastUpdated.IsSet() +} + +// SetLastUpdated sets field value +func (o *Tenant) SetLastUpdated(v time.Time) { + o.LastUpdated.Set(&v) +} + +// GetCircuitCount returns the CircuitCount field value +func (o *Tenant) GetCircuitCount() int64 { + if o == nil { + var ret int64 + return ret + } + + return o.CircuitCount +} + +// GetCircuitCountOk returns a tuple with the CircuitCount field value +// and a boolean to check if the value has been set. +func (o *Tenant) GetCircuitCountOk() (*int64, bool) { + if o == nil { + return nil, false + } + return &o.CircuitCount, true +} + +// SetCircuitCount sets field value +func (o *Tenant) SetCircuitCount(v int64) { + o.CircuitCount = v +} + +// GetDeviceCount returns the DeviceCount field value if set, zero value otherwise. +func (o *Tenant) GetDeviceCount() int64 { + if o == nil || IsNil(o.DeviceCount) { + var ret int64 + return ret + } + return *o.DeviceCount +} + +// GetDeviceCountOk returns a tuple with the DeviceCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Tenant) GetDeviceCountOk() (*int64, bool) { + if o == nil || IsNil(o.DeviceCount) { + return nil, false + } + return o.DeviceCount, true +} + +// HasDeviceCount returns a boolean if a field has been set. +func (o *Tenant) HasDeviceCount() bool { + if o != nil && !IsNil(o.DeviceCount) { + return true + } + + return false +} + +// SetDeviceCount gets a reference to the given int64 and assigns it to the DeviceCount field. +func (o *Tenant) SetDeviceCount(v int64) { + o.DeviceCount = &v +} + +// GetIpaddressCount returns the IpaddressCount field value +func (o *Tenant) GetIpaddressCount() int64 { + if o == nil { + var ret int64 + return ret + } + + return o.IpaddressCount +} + +// GetIpaddressCountOk returns a tuple with the IpaddressCount field value +// and a boolean to check if the value has been set. +func (o *Tenant) GetIpaddressCountOk() (*int64, bool) { + if o == nil { + return nil, false + } + return &o.IpaddressCount, true +} + +// SetIpaddressCount sets field value +func (o *Tenant) SetIpaddressCount(v int64) { + o.IpaddressCount = v +} + +// GetPrefixCount returns the PrefixCount field value if set, zero value otherwise. +func (o *Tenant) GetPrefixCount() int64 { + if o == nil || IsNil(o.PrefixCount) { + var ret int64 + return ret + } + return *o.PrefixCount +} + +// GetPrefixCountOk returns a tuple with the PrefixCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Tenant) GetPrefixCountOk() (*int64, bool) { + if o == nil || IsNil(o.PrefixCount) { + return nil, false + } + return o.PrefixCount, true +} + +// HasPrefixCount returns a boolean if a field has been set. +func (o *Tenant) HasPrefixCount() bool { + if o != nil && !IsNil(o.PrefixCount) { + return true + } + + return false +} + +// SetPrefixCount gets a reference to the given int64 and assigns it to the PrefixCount field. +func (o *Tenant) SetPrefixCount(v int64) { + o.PrefixCount = &v +} + +// GetRackCount returns the RackCount field value +func (o *Tenant) GetRackCount() int64 { + if o == nil { + var ret int64 + return ret + } + + return o.RackCount +} + +// GetRackCountOk returns a tuple with the RackCount field value +// and a boolean to check if the value has been set. +func (o *Tenant) GetRackCountOk() (*int64, bool) { + if o == nil { + return nil, false + } + return &o.RackCount, true +} + +// SetRackCount sets field value +func (o *Tenant) SetRackCount(v int64) { + o.RackCount = v +} + +// GetSiteCount returns the SiteCount field value +func (o *Tenant) GetSiteCount() int64 { + if o == nil { + var ret int64 + return ret + } + + return o.SiteCount +} + +// GetSiteCountOk returns a tuple with the SiteCount field value +// and a boolean to check if the value has been set. +func (o *Tenant) GetSiteCountOk() (*int64, bool) { + if o == nil { + return nil, false + } + return &o.SiteCount, true +} + +// SetSiteCount sets field value +func (o *Tenant) SetSiteCount(v int64) { + o.SiteCount = v +} + +// GetVirtualmachineCount returns the VirtualmachineCount field value if set, zero value otherwise. +func (o *Tenant) GetVirtualmachineCount() int64 { + if o == nil || IsNil(o.VirtualmachineCount) { + var ret int64 + return ret + } + return *o.VirtualmachineCount +} + +// GetVirtualmachineCountOk returns a tuple with the VirtualmachineCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Tenant) GetVirtualmachineCountOk() (*int64, bool) { + if o == nil || IsNil(o.VirtualmachineCount) { + return nil, false + } + return o.VirtualmachineCount, true +} + +// HasVirtualmachineCount returns a boolean if a field has been set. +func (o *Tenant) HasVirtualmachineCount() bool { + if o != nil && !IsNil(o.VirtualmachineCount) { + return true + } + + return false +} + +// SetVirtualmachineCount gets a reference to the given int64 and assigns it to the VirtualmachineCount field. +func (o *Tenant) SetVirtualmachineCount(v int64) { + o.VirtualmachineCount = &v +} + +// GetVlanCount returns the VlanCount field value if set, zero value otherwise. +func (o *Tenant) GetVlanCount() int64 { + if o == nil || IsNil(o.VlanCount) { + var ret int64 + return ret + } + return *o.VlanCount +} + +// GetVlanCountOk returns a tuple with the VlanCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Tenant) GetVlanCountOk() (*int64, bool) { + if o == nil || IsNil(o.VlanCount) { + return nil, false + } + return o.VlanCount, true +} + +// HasVlanCount returns a boolean if a field has been set. +func (o *Tenant) HasVlanCount() bool { + if o != nil && !IsNil(o.VlanCount) { + return true + } + + return false +} + +// SetVlanCount gets a reference to the given int64 and assigns it to the VlanCount field. +func (o *Tenant) SetVlanCount(v int64) { + o.VlanCount = &v +} + +// GetVrfCount returns the VrfCount field value +func (o *Tenant) GetVrfCount() int64 { + if o == nil { + var ret int64 + return ret + } + + return o.VrfCount +} + +// GetVrfCountOk returns a tuple with the VrfCount field value +// and a boolean to check if the value has been set. +func (o *Tenant) GetVrfCountOk() (*int64, bool) { + if o == nil { + return nil, false + } + return &o.VrfCount, true +} + +// SetVrfCount sets field value +func (o *Tenant) SetVrfCount(v int64) { + o.VrfCount = v +} + +// GetClusterCount returns the ClusterCount field value +func (o *Tenant) GetClusterCount() int64 { + if o == nil { + var ret int64 + return ret + } + + return o.ClusterCount +} + +// GetClusterCountOk returns a tuple with the ClusterCount field value +// and a boolean to check if the value has been set. +func (o *Tenant) GetClusterCountOk() (*int64, bool) { + if o == nil { + return nil, false + } + return &o.ClusterCount, true +} + +// SetClusterCount sets field value +func (o *Tenant) SetClusterCount(v int64) { + o.ClusterCount = v +} + func (o Tenant) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -217,12 +738,47 @@ func (o Tenant) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["name"] = o.Name toSerialize["slug"] = o.Slug + if o.Group.IsSet() { + toSerialize["group"] = o.Group.Get() + } if !IsNil(o.Description) { toSerialize["description"] = o.Description } + if !IsNil(o.Comments) { + toSerialize["comments"] = o.Comments + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + toSerialize["created"] = o.Created.Get() + toSerialize["last_updated"] = o.LastUpdated.Get() + toSerialize["circuit_count"] = o.CircuitCount + if !IsNil(o.DeviceCount) { + toSerialize["device_count"] = o.DeviceCount + } + toSerialize["ipaddress_count"] = o.IpaddressCount + if !IsNil(o.PrefixCount) { + toSerialize["prefix_count"] = o.PrefixCount + } + toSerialize["rack_count"] = o.RackCount + toSerialize["site_count"] = o.SiteCount + if !IsNil(o.VirtualmachineCount) { + toSerialize["virtualmachine_count"] = o.VirtualmachineCount + } + if !IsNil(o.VlanCount) { + toSerialize["vlan_count"] = o.VlanCount + } + toSerialize["vrf_count"] = o.VrfCount + toSerialize["cluster_count"] = o.ClusterCount for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -241,6 +797,14 @@ func (o *Tenant) UnmarshalJSON(data []byte) (err error) { "display", "name", "slug", + "created", + "last_updated", + "circuit_count", + "ipaddress_count", + "rack_count", + "site_count", + "vrf_count", + "cluster_count", } allProperties := make(map[string]interface{}) @@ -272,10 +836,27 @@ func (o *Tenant) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") delete(additionalProperties, "slug") + delete(additionalProperties, "group") delete(additionalProperties, "description") + delete(additionalProperties, "comments") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "created") + delete(additionalProperties, "last_updated") + delete(additionalProperties, "circuit_count") + delete(additionalProperties, "device_count") + delete(additionalProperties, "ipaddress_count") + delete(additionalProperties, "prefix_count") + delete(additionalProperties, "rack_count") + delete(additionalProperties, "site_count") + delete(additionalProperties, "virtualmachine_count") + delete(additionalProperties, "vlan_count") + delete(additionalProperties, "vrf_count") + delete(additionalProperties, "cluster_count") o.AdditionalProperties = additionalProperties } diff --git a/model_tenant_group.go b/model_tenant_group.go index ef3aab867..cf8217b2c 100644 --- a/model_tenant_group.go +++ b/model_tenant_group.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -23,6 +23,7 @@ var _ MappedNullable = &TenantGroup{} type TenantGroup struct { Id int32 `json:"id"` Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` Display string `json:"display"` Name string `json:"name"` Slug string `json:"slug"` @@ -113,6 +114,38 @@ func (o *TenantGroup) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *TenantGroup) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TenantGroup) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *TenantGroup) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *TenantGroup) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *TenantGroup) GetDisplay() string { if o == nil { @@ -436,6 +469,9 @@ func (o TenantGroup) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["name"] = o.Name toSerialize["slug"] = o.Slug @@ -508,6 +544,7 @@ func (o *TenantGroup) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") delete(additionalProperties, "slug") diff --git a/model_tenant_group_request.go b/model_tenant_group_request.go index 70e0f8dfc..786fd90a4 100644 --- a/model_tenant_group_request.go +++ b/model_tenant_group_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_tenant_request.go b/model_tenant_request.go index 5b7a6cb22..71c5419e7 100644 --- a/model_tenant_request.go +++ b/model_tenant_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,9 +20,13 @@ var _ MappedNullable = &TenantRequest{} // TenantRequest Adds support for custom fields and tags. type TenantRequest struct { - Name string `json:"name"` - Slug string `json:"slug"` - Description *string `json:"description,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Group NullableBriefTenantGroupRequest `json:"group,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -95,6 +99,49 @@ func (o *TenantRequest) SetSlug(v string) { o.Slug = v } +// GetGroup returns the Group field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *TenantRequest) GetGroup() BriefTenantGroupRequest { + if o == nil || IsNil(o.Group.Get()) { + var ret BriefTenantGroupRequest + return ret + } + return *o.Group.Get() +} + +// GetGroupOk returns a tuple with the Group 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 *TenantRequest) GetGroupOk() (*BriefTenantGroupRequest, bool) { + if o == nil { + return nil, false + } + return o.Group.Get(), o.Group.IsSet() +} + +// HasGroup returns a boolean if a field has been set. +func (o *TenantRequest) HasGroup() bool { + if o != nil && o.Group.IsSet() { + return true + } + + return false +} + +// SetGroup gets a reference to the given NullableBriefTenantGroupRequest and assigns it to the Group field. +func (o *TenantRequest) SetGroup(v BriefTenantGroupRequest) { + o.Group.Set(&v) +} + +// SetGroupNil sets the value for Group to be an explicit nil +func (o *TenantRequest) SetGroupNil() { + o.Group.Set(nil) +} + +// UnsetGroup ensures that no value is present for Group, not even an explicit nil +func (o *TenantRequest) UnsetGroup() { + o.Group.Unset() +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *TenantRequest) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -127,6 +174,102 @@ func (o *TenantRequest) SetDescription(v string) { o.Description = &v } +// GetComments returns the Comments field value if set, zero value otherwise. +func (o *TenantRequest) GetComments() string { + if o == nil || IsNil(o.Comments) { + var ret string + return ret + } + return *o.Comments +} + +// GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TenantRequest) GetCommentsOk() (*string, bool) { + if o == nil || IsNil(o.Comments) { + return nil, false + } + return o.Comments, true +} + +// HasComments returns a boolean if a field has been set. +func (o *TenantRequest) HasComments() bool { + if o != nil && !IsNil(o.Comments) { + return true + } + + return false +} + +// SetComments gets a reference to the given string and assigns it to the Comments field. +func (o *TenantRequest) SetComments(v string) { + o.Comments = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *TenantRequest) GetTags() []NestedTagRequest { + if o == nil || IsNil(o.Tags) { + var ret []NestedTagRequest + 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 *TenantRequest) GetTagsOk() ([]NestedTagRequest, 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 *TenantRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTagRequest and assigns it to the Tags field. +func (o *TenantRequest) SetTags(v []NestedTagRequest) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *TenantRequest) 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 *TenantRequest) 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 *TenantRequest) 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 *TenantRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + func (o TenantRequest) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -139,9 +282,21 @@ func (o TenantRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["name"] = o.Name toSerialize["slug"] = o.Slug + if o.Group.IsSet() { + toSerialize["group"] = o.Group.Get() + } if !IsNil(o.Description) { toSerialize["description"] = o.Description } + if !IsNil(o.Comments) { + toSerialize["comments"] = o.Comments + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -188,7 +343,11 @@ func (o *TenantRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "name") delete(additionalProperties, "slug") + delete(additionalProperties, "group") delete(additionalProperties, "description") + delete(additionalProperties, "comments") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") o.AdditionalProperties = additionalProperties } diff --git a/model_termination.go b/model_termination.go index 8c028ef17..ba1cece36 100644 --- a/model_termination.go +++ b/model_termination.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_termination_1.go b/model_termination_1.go index c68e40d67..bdaa43fd8 100644 --- a/model_termination_1.go +++ b/model_termination_1.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_token.go b/model_token.go index 017655fd0..07db5f919 100644 --- a/model_token.go +++ b/model_token.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,14 +21,15 @@ 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 int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - User User `json:"user"` - Created time.Time `json:"created"` - Expires NullableTime `json:"expires,omitempty"` - LastUsed NullableTime `json:"last_used,omitempty"` - Key *string `json:"key,omitempty"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + User BriefUser `json:"user"` + Created time.Time `json:"created"` + Expires NullableTime `json:"expires,omitempty"` + LastUsed NullableTime `json:"last_used,omitempty"` + Key *string `json:"key,omitempty"` // Permit create/update/delete operations using this key WriteEnabled *bool `json:"write_enabled,omitempty"` Description *string `json:"description,omitempty"` @@ -41,7 +42,7 @@ 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 int32, url string, display string, user User, created time.Time) *Token { +func NewToken(id int32, url string, display string, user BriefUser, created time.Time) *Token { this := Token{} this.Id = id this.Url = url @@ -107,6 +108,38 @@ func (o *Token) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *Token) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Token) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *Token) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *Token) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *Token) GetDisplay() string { if o == nil { @@ -132,9 +165,9 @@ func (o *Token) SetDisplay(v string) { } // GetUser returns the User field value -func (o *Token) GetUser() User { +func (o *Token) GetUser() BriefUser { if o == nil { - var ret User + var ret BriefUser return ret } @@ -143,7 +176,7 @@ func (o *Token) GetUser() User { // GetUserOk returns a tuple with the User field value // and a boolean to check if the value has been set. -func (o *Token) GetUserOk() (*User, bool) { +func (o *Token) GetUserOk() (*BriefUser, bool) { if o == nil { return nil, false } @@ -151,7 +184,7 @@ func (o *Token) GetUserOk() (*User, bool) { } // SetUser sets field value -func (o *Token) SetUser(v User) { +func (o *Token) SetUser(v BriefUser) { o.User = v } @@ -373,6 +406,9 @@ func (o Token) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["user"] = o.User toSerialize["created"] = o.Created @@ -440,6 +476,7 @@ func (o *Token) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "user") delete(additionalProperties, "created") diff --git a/model_token_provision.go b/model_token_provision.go index d2058fd4a..387a70efe 100644 --- a/model_token_provision.go +++ b/model_token_provision.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,14 +21,15 @@ var _ MappedNullable = &TokenProvision{} // TokenProvision Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 TokenProvision struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - User User `json:"user"` - Created time.Time `json:"created"` - Expires NullableTime `json:"expires,omitempty"` - LastUsed time.Time `json:"last_used"` - Key string `json:"key"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + User BriefUser `json:"user"` + Created time.Time `json:"created"` + Expires NullableTime `json:"expires,omitempty"` + LastUsed time.Time `json:"last_used"` + Key string `json:"key"` // Permit create/update/delete operations using this key WriteEnabled *bool `json:"write_enabled,omitempty"` Description *string `json:"description,omitempty"` @@ -41,7 +42,7 @@ type _TokenProvision TokenProvision // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewTokenProvision(id int32, url string, display string, user User, created time.Time, lastUsed time.Time, key string) *TokenProvision { +func NewTokenProvision(id int32, url string, display string, user BriefUser, created time.Time, lastUsed time.Time, key string) *TokenProvision { this := TokenProvision{} this.Id = id this.Url = url @@ -109,6 +110,38 @@ func (o *TokenProvision) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *TokenProvision) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TokenProvision) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *TokenProvision) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *TokenProvision) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *TokenProvision) GetDisplay() string { if o == nil { @@ -134,9 +167,9 @@ func (o *TokenProvision) SetDisplay(v string) { } // GetUser returns the User field value -func (o *TokenProvision) GetUser() User { +func (o *TokenProvision) GetUser() BriefUser { if o == nil { - var ret User + var ret BriefUser return ret } @@ -145,7 +178,7 @@ func (o *TokenProvision) GetUser() User { // GetUserOk returns a tuple with the User field value // and a boolean to check if the value has been set. -func (o *TokenProvision) GetUserOk() (*User, bool) { +func (o *TokenProvision) GetUserOk() (*BriefUser, bool) { if o == nil { return nil, false } @@ -153,7 +186,7 @@ func (o *TokenProvision) GetUserOk() (*User, bool) { } // SetUser sets field value -func (o *TokenProvision) SetUser(v User) { +func (o *TokenProvision) SetUser(v BriefUser) { o.User = v } @@ -348,6 +381,9 @@ func (o TokenProvision) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["user"] = o.User toSerialize["created"] = o.Created @@ -413,6 +449,7 @@ func (o *TokenProvision) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "user") delete(additionalProperties, "created") diff --git a/model_token_provision_request.go b/model_token_provision_request.go index f880694d4..6207c955b 100644 --- a/model_token_provision_request.go +++ b/model_token_provision_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_token_request.go b/model_token_request.go index a472e9650..a409fd496 100644 --- a/model_token_request.go +++ b/model_token_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,10 +21,10 @@ 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 { - User UserRequest `json:"user"` - Expires NullableTime `json:"expires,omitempty"` - LastUsed NullableTime `json:"last_used,omitempty"` - Key *string `json:"key,omitempty"` + User BriefUserRequest `json:"user"` + Expires NullableTime `json:"expires,omitempty"` + LastUsed NullableTime `json:"last_used,omitempty"` + Key *string `json:"key,omitempty"` // Permit create/update/delete operations using this key WriteEnabled *bool `json:"write_enabled,omitempty"` Description *string `json:"description,omitempty"` @@ -37,7 +37,7 @@ type _TokenRequest TokenRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewTokenRequest(user UserRequest) *TokenRequest { +func NewTokenRequest(user BriefUserRequest) *TokenRequest { this := TokenRequest{} this.User = user return &this @@ -52,9 +52,9 @@ func NewTokenRequestWithDefaults() *TokenRequest { } // GetUser returns the User field value -func (o *TokenRequest) GetUser() UserRequest { +func (o *TokenRequest) GetUser() BriefUserRequest { if o == nil { - var ret UserRequest + var ret BriefUserRequest return ret } @@ -63,7 +63,7 @@ func (o *TokenRequest) GetUser() UserRequest { // GetUserOk returns a tuple with the User field value // and a boolean to check if the value has been set. -func (o *TokenRequest) GetUserOk() (*UserRequest, bool) { +func (o *TokenRequest) GetUserOk() (*BriefUserRequest, bool) { if o == nil { return nil, false } @@ -71,7 +71,7 @@ func (o *TokenRequest) GetUserOk() (*UserRequest, bool) { } // SetUser sets field value -func (o *TokenRequest) SetUser(v UserRequest) { +func (o *TokenRequest) SetUser(v BriefUserRequest) { o.User = v } diff --git a/model_tunnel.go b/model_tunnel.go index b947b58fc..aa951249e 100644 --- a/model_tunnel.go +++ b/model_tunnel.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -13,6 +13,7 @@ package netbox import ( "encoding/json" "fmt" + "time" ) // checks if the Tunnel type satisfies the MappedNullable interface at compile time @@ -20,11 +21,24 @@ var _ MappedNullable = &Tunnel{} // Tunnel Adds support for custom fields and tags. type Tunnel struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - Name string `json:"name"` - Description *string `json:"description,omitempty"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Name string `json:"name"` + Status TunnelStatus `json:"status"` + Group NullableBriefTunnelGroup `json:"group,omitempty"` + Encapsulation TunnelEncapsulation `json:"encapsulation"` + IpsecProfile NullableBriefIPSecProfile `json:"ipsec_profile,omitempty"` + Tenant NullableBriefTenant `json:"tenant,omitempty"` + TunnelId NullableInt64 `json:"tunnel_id,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTag `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Created NullableTime `json:"created"` + LastUpdated NullableTime `json:"last_updated"` + TerminationsCount int64 `json:"terminations_count"` AdditionalProperties map[string]interface{} } @@ -34,12 +48,17 @@ type _Tunnel Tunnel // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewTunnel(id int32, url string, display string, name string) *Tunnel { +func NewTunnel(id int32, url string, display string, name string, status TunnelStatus, encapsulation TunnelEncapsulation, created NullableTime, lastUpdated NullableTime, terminationsCount int64) *Tunnel { this := Tunnel{} this.Id = id this.Url = url this.Display = display this.Name = name + this.Status = status + this.Encapsulation = encapsulation + this.Created = created + this.LastUpdated = lastUpdated + this.TerminationsCount = terminationsCount return &this } @@ -99,6 +118,38 @@ func (o *Tunnel) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *Tunnel) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Tunnel) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *Tunnel) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *Tunnel) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *Tunnel) GetDisplay() string { if o == nil { @@ -147,6 +198,226 @@ func (o *Tunnel) SetName(v string) { o.Name = v } +// GetStatus returns the Status field value +func (o *Tunnel) GetStatus() TunnelStatus { + if o == nil { + var ret TunnelStatus + 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 *Tunnel) GetStatusOk() (*TunnelStatus, bool) { + if o == nil { + return nil, false + } + return &o.Status, true +} + +// SetStatus sets field value +func (o *Tunnel) SetStatus(v TunnelStatus) { + o.Status = v +} + +// GetGroup returns the Group field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Tunnel) GetGroup() BriefTunnelGroup { + if o == nil || IsNil(o.Group.Get()) { + var ret BriefTunnelGroup + return ret + } + return *o.Group.Get() +} + +// GetGroupOk returns a tuple with the Group 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 *Tunnel) GetGroupOk() (*BriefTunnelGroup, bool) { + if o == nil { + return nil, false + } + return o.Group.Get(), o.Group.IsSet() +} + +// HasGroup returns a boolean if a field has been set. +func (o *Tunnel) HasGroup() bool { + if o != nil && o.Group.IsSet() { + return true + } + + return false +} + +// SetGroup gets a reference to the given NullableBriefTunnelGroup and assigns it to the Group field. +func (o *Tunnel) SetGroup(v BriefTunnelGroup) { + o.Group.Set(&v) +} + +// SetGroupNil sets the value for Group to be an explicit nil +func (o *Tunnel) SetGroupNil() { + o.Group.Set(nil) +} + +// UnsetGroup ensures that no value is present for Group, not even an explicit nil +func (o *Tunnel) UnsetGroup() { + o.Group.Unset() +} + +// GetEncapsulation returns the Encapsulation field value +func (o *Tunnel) GetEncapsulation() TunnelEncapsulation { + if o == nil { + var ret TunnelEncapsulation + return ret + } + + return o.Encapsulation +} + +// GetEncapsulationOk returns a tuple with the Encapsulation field value +// and a boolean to check if the value has been set. +func (o *Tunnel) GetEncapsulationOk() (*TunnelEncapsulation, bool) { + if o == nil { + return nil, false + } + return &o.Encapsulation, true +} + +// SetEncapsulation sets field value +func (o *Tunnel) SetEncapsulation(v TunnelEncapsulation) { + o.Encapsulation = v +} + +// GetIpsecProfile returns the IpsecProfile field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Tunnel) GetIpsecProfile() BriefIPSecProfile { + if o == nil || IsNil(o.IpsecProfile.Get()) { + var ret BriefIPSecProfile + return ret + } + return *o.IpsecProfile.Get() +} + +// GetIpsecProfileOk returns a tuple with the IpsecProfile 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 *Tunnel) GetIpsecProfileOk() (*BriefIPSecProfile, bool) { + if o == nil { + return nil, false + } + return o.IpsecProfile.Get(), o.IpsecProfile.IsSet() +} + +// HasIpsecProfile returns a boolean if a field has been set. +func (o *Tunnel) HasIpsecProfile() bool { + if o != nil && o.IpsecProfile.IsSet() { + return true + } + + return false +} + +// SetIpsecProfile gets a reference to the given NullableBriefIPSecProfile and assigns it to the IpsecProfile field. +func (o *Tunnel) SetIpsecProfile(v BriefIPSecProfile) { + o.IpsecProfile.Set(&v) +} + +// SetIpsecProfileNil sets the value for IpsecProfile to be an explicit nil +func (o *Tunnel) SetIpsecProfileNil() { + o.IpsecProfile.Set(nil) +} + +// UnsetIpsecProfile ensures that no value is present for IpsecProfile, not even an explicit nil +func (o *Tunnel) UnsetIpsecProfile() { + o.IpsecProfile.Unset() +} + +// GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Tunnel) GetTenant() BriefTenant { + if o == nil || IsNil(o.Tenant.Get()) { + var ret BriefTenant + 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 *Tunnel) GetTenantOk() (*BriefTenant, 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 *Tunnel) HasTenant() bool { + if o != nil && o.Tenant.IsSet() { + return true + } + + return false +} + +// SetTenant gets a reference to the given NullableBriefTenant and assigns it to the Tenant field. +func (o *Tunnel) SetTenant(v BriefTenant) { + o.Tenant.Set(&v) +} + +// SetTenantNil sets the value for Tenant to be an explicit nil +func (o *Tunnel) SetTenantNil() { + o.Tenant.Set(nil) +} + +// UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +func (o *Tunnel) UnsetTenant() { + o.Tenant.Unset() +} + +// GetTunnelId returns the TunnelId field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Tunnel) GetTunnelId() int64 { + if o == nil || IsNil(o.TunnelId.Get()) { + var ret int64 + return ret + } + return *o.TunnelId.Get() +} + +// GetTunnelIdOk returns a tuple with the TunnelId 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 *Tunnel) GetTunnelIdOk() (*int64, bool) { + if o == nil { + return nil, false + } + return o.TunnelId.Get(), o.TunnelId.IsSet() +} + +// HasTunnelId returns a boolean if a field has been set. +func (o *Tunnel) HasTunnelId() bool { + if o != nil && o.TunnelId.IsSet() { + return true + } + + return false +} + +// SetTunnelId gets a reference to the given NullableInt64 and assigns it to the TunnelId field. +func (o *Tunnel) SetTunnelId(v int64) { + o.TunnelId.Set(&v) +} + +// SetTunnelIdNil sets the value for TunnelId to be an explicit nil +func (o *Tunnel) SetTunnelIdNil() { + o.TunnelId.Set(nil) +} + +// UnsetTunnelId ensures that no value is present for TunnelId, not even an explicit nil +func (o *Tunnel) UnsetTunnelId() { + o.TunnelId.Unset() +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *Tunnel) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -179,6 +450,178 @@ func (o *Tunnel) SetDescription(v string) { o.Description = &v } +// GetComments returns the Comments field value if set, zero value otherwise. +func (o *Tunnel) GetComments() string { + if o == nil || IsNil(o.Comments) { + var ret string + return ret + } + return *o.Comments +} + +// GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Tunnel) GetCommentsOk() (*string, bool) { + if o == nil || IsNil(o.Comments) { + return nil, false + } + return o.Comments, true +} + +// HasComments returns a boolean if a field has been set. +func (o *Tunnel) HasComments() bool { + if o != nil && !IsNil(o.Comments) { + return true + } + + return false +} + +// SetComments gets a reference to the given string and assigns it to the Comments field. +func (o *Tunnel) SetComments(v string) { + o.Comments = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *Tunnel) GetTags() []NestedTag { + if o == nil || IsNil(o.Tags) { + var ret []NestedTag + 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 *Tunnel) GetTagsOk() ([]NestedTag, 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 *Tunnel) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTag and assigns it to the Tags field. +func (o *Tunnel) SetTags(v []NestedTag) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *Tunnel) 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 *Tunnel) 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 *Tunnel) 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 *Tunnel) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetCreated returns the Created field value +// If the value is explicit nil, the zero value for time.Time will be returned +func (o *Tunnel) 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 *Tunnel) GetCreatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.Created.Get(), o.Created.IsSet() +} + +// SetCreated sets field value +func (o *Tunnel) 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 *Tunnel) 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 *Tunnel) GetLastUpdatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LastUpdated.Get(), o.LastUpdated.IsSet() +} + +// SetLastUpdated sets field value +func (o *Tunnel) SetLastUpdated(v time.Time) { + o.LastUpdated.Set(&v) +} + +// GetTerminationsCount returns the TerminationsCount field value +func (o *Tunnel) GetTerminationsCount() int64 { + if o == nil { + var ret int64 + return ret + } + + return o.TerminationsCount +} + +// GetTerminationsCountOk returns a tuple with the TerminationsCount field value +// and a boolean to check if the value has been set. +func (o *Tunnel) GetTerminationsCountOk() (*int64, bool) { + if o == nil { + return nil, false + } + return &o.TerminationsCount, true +} + +// SetTerminationsCount sets field value +func (o *Tunnel) SetTerminationsCount(v int64) { + o.TerminationsCount = v +} + func (o Tunnel) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -191,11 +634,40 @@ func (o Tunnel) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["name"] = o.Name + toSerialize["status"] = o.Status + if o.Group.IsSet() { + toSerialize["group"] = o.Group.Get() + } + toSerialize["encapsulation"] = o.Encapsulation + if o.IpsecProfile.IsSet() { + toSerialize["ipsec_profile"] = o.IpsecProfile.Get() + } + if o.Tenant.IsSet() { + toSerialize["tenant"] = o.Tenant.Get() + } + if o.TunnelId.IsSet() { + toSerialize["tunnel_id"] = o.TunnelId.Get() + } if !IsNil(o.Description) { toSerialize["description"] = o.Description } + if !IsNil(o.Comments) { + toSerialize["comments"] = o.Comments + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + toSerialize["created"] = o.Created.Get() + toSerialize["last_updated"] = o.LastUpdated.Get() + toSerialize["terminations_count"] = o.TerminationsCount for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -213,6 +685,11 @@ func (o *Tunnel) UnmarshalJSON(data []byte) (err error) { "url", "display", "name", + "status", + "encapsulation", + "created", + "last_updated", + "terminations_count", } allProperties := make(map[string]interface{}) @@ -244,9 +721,22 @@ func (o *Tunnel) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") + delete(additionalProperties, "status") + delete(additionalProperties, "group") + delete(additionalProperties, "encapsulation") + delete(additionalProperties, "ipsec_profile") + delete(additionalProperties, "tenant") + delete(additionalProperties, "tunnel_id") delete(additionalProperties, "description") + delete(additionalProperties, "comments") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "created") + delete(additionalProperties, "last_updated") + delete(additionalProperties, "terminations_count") o.AdditionalProperties = additionalProperties } diff --git a/model_tunnel_encapsulation.go b/model_tunnel_encapsulation.go new file mode 100644 index 000000000..323e3c5da --- /dev/null +++ b/model_tunnel_encapsulation.go @@ -0,0 +1,190 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" +) + +// checks if the TunnelEncapsulation type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &TunnelEncapsulation{} + +// TunnelEncapsulation struct for TunnelEncapsulation +type TunnelEncapsulation struct { + Value *PatchedWritableTunnelRequestEncapsulation `json:"value,omitempty"` + Label *TunnelEncapsulationLabel `json:"label,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _TunnelEncapsulation TunnelEncapsulation + +// NewTunnelEncapsulation instantiates a new TunnelEncapsulation object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewTunnelEncapsulation() *TunnelEncapsulation { + this := TunnelEncapsulation{} + return &this +} + +// NewTunnelEncapsulationWithDefaults instantiates a new TunnelEncapsulation object +// This 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 NewTunnelEncapsulationWithDefaults() *TunnelEncapsulation { + this := TunnelEncapsulation{} + return &this +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *TunnelEncapsulation) GetValue() PatchedWritableTunnelRequestEncapsulation { + if o == nil || IsNil(o.Value) { + var ret PatchedWritableTunnelRequestEncapsulation + 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 *TunnelEncapsulation) GetValueOk() (*PatchedWritableTunnelRequestEncapsulation, 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 *TunnelEncapsulation) HasValue() bool { + if o != nil && !IsNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given PatchedWritableTunnelRequestEncapsulation and assigns it to the Value field. +func (o *TunnelEncapsulation) SetValue(v PatchedWritableTunnelRequestEncapsulation) { + o.Value = &v +} + +// GetLabel returns the Label field value if set, zero value otherwise. +func (o *TunnelEncapsulation) GetLabel() TunnelEncapsulationLabel { + if o == nil || IsNil(o.Label) { + var ret TunnelEncapsulationLabel + 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 *TunnelEncapsulation) GetLabelOk() (*TunnelEncapsulationLabel, 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 *TunnelEncapsulation) HasLabel() bool { + if o != nil && !IsNil(o.Label) { + return true + } + + return false +} + +// SetLabel gets a reference to the given TunnelEncapsulationLabel and assigns it to the Label field. +func (o *TunnelEncapsulation) SetLabel(v TunnelEncapsulationLabel) { + o.Label = &v +} + +func (o TunnelEncapsulation) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o TunnelEncapsulation) 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 *TunnelEncapsulation) UnmarshalJSON(data []byte) (err error) { + varTunnelEncapsulation := _TunnelEncapsulation{} + + err = json.Unmarshal(data, &varTunnelEncapsulation) + + if err != nil { + return err + } + + *o = TunnelEncapsulation(varTunnelEncapsulation) + + 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 NullableTunnelEncapsulation struct { + value *TunnelEncapsulation + isSet bool +} + +func (v NullableTunnelEncapsulation) Get() *TunnelEncapsulation { + return v.value +} + +func (v *NullableTunnelEncapsulation) Set(val *TunnelEncapsulation) { + v.value = val + v.isSet = true +} + +func (v NullableTunnelEncapsulation) IsSet() bool { + return v.isSet +} + +func (v *NullableTunnelEncapsulation) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTunnelEncapsulation(val *TunnelEncapsulation) *NullableTunnelEncapsulation { + return &NullableTunnelEncapsulation{value: val, isSet: true} +} + +func (v NullableTunnelEncapsulation) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableTunnelEncapsulation) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_tunnel_encapsulation_label.go b/model_tunnel_encapsulation_label.go new file mode 100644 index 000000000..a196159f7 --- /dev/null +++ b/model_tunnel_encapsulation_label.go @@ -0,0 +1,114 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// TunnelEncapsulationLabel the model 'TunnelEncapsulationLabel' +type TunnelEncapsulationLabel string + +// List of Tunnel_encapsulation_label +const ( + TUNNELENCAPSULATIONLABEL_I_PSEC___TRANSPORT TunnelEncapsulationLabel = "IPsec - Transport" + TUNNELENCAPSULATIONLABEL_I_PSEC___TUNNEL TunnelEncapsulationLabel = "IPsec - Tunnel" + TUNNELENCAPSULATIONLABEL_IP_IN_IP TunnelEncapsulationLabel = "IP-in-IP" + TUNNELENCAPSULATIONLABEL_GRE TunnelEncapsulationLabel = "GRE" +) + +// All allowed values of TunnelEncapsulationLabel enum +var AllowedTunnelEncapsulationLabelEnumValues = []TunnelEncapsulationLabel{ + "IPsec - Transport", + "IPsec - Tunnel", + "IP-in-IP", + "GRE", +} + +func (v *TunnelEncapsulationLabel) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := TunnelEncapsulationLabel(value) + for _, existing := range AllowedTunnelEncapsulationLabelEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid TunnelEncapsulationLabel", value) +} + +// NewTunnelEncapsulationLabelFromValue returns a pointer to a valid TunnelEncapsulationLabel +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewTunnelEncapsulationLabelFromValue(v string) (*TunnelEncapsulationLabel, error) { + ev := TunnelEncapsulationLabel(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for TunnelEncapsulationLabel: valid values are %v", v, AllowedTunnelEncapsulationLabelEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v TunnelEncapsulationLabel) IsValid() bool { + for _, existing := range AllowedTunnelEncapsulationLabelEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to Tunnel_encapsulation_label value +func (v TunnelEncapsulationLabel) Ptr() *TunnelEncapsulationLabel { + return &v +} + +type NullableTunnelEncapsulationLabel struct { + value *TunnelEncapsulationLabel + isSet bool +} + +func (v NullableTunnelEncapsulationLabel) Get() *TunnelEncapsulationLabel { + return v.value +} + +func (v *NullableTunnelEncapsulationLabel) Set(val *TunnelEncapsulationLabel) { + v.value = val + v.isSet = true +} + +func (v NullableTunnelEncapsulationLabel) IsSet() bool { + return v.isSet +} + +func (v *NullableTunnelEncapsulationLabel) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTunnelEncapsulationLabel(val *TunnelEncapsulationLabel) *NullableTunnelEncapsulationLabel { + return &NullableTunnelEncapsulationLabel{value: val, isSet: true} +} + +func (v NullableTunnelEncapsulationLabel) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableTunnelEncapsulationLabel) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_tunnel_group.go b/model_tunnel_group.go index c4ba9d081..e242ba2fa 100644 --- a/model_tunnel_group.go +++ b/model_tunnel_group.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -23,6 +23,7 @@ var _ MappedNullable = &TunnelGroup{} type TunnelGroup struct { Id int32 `json:"id"` Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` Display string `json:"display"` Name string `json:"name"` Slug string `json:"slug"` @@ -110,6 +111,38 @@ func (o *TunnelGroup) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *TunnelGroup) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TunnelGroup) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *TunnelGroup) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *TunnelGroup) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *TunnelGroup) GetDisplay() string { if o == nil { @@ -366,6 +399,9 @@ func (o TunnelGroup) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["name"] = o.Name toSerialize["slug"] = o.Slug @@ -433,6 +469,7 @@ func (o *TunnelGroup) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") delete(additionalProperties, "slug") diff --git a/model_tunnel_group_request.go b/model_tunnel_group_request.go index f19727186..a5ee51b7c 100644 --- a/model_tunnel_group_request.go +++ b/model_tunnel_group_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_tunnel_request.go b/model_tunnel_request.go index c6e7ce560..18bc7bca3 100644 --- a/model_tunnel_request.go +++ b/model_tunnel_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,8 +20,17 @@ var _ MappedNullable = &TunnelRequest{} // TunnelRequest Adds support for custom fields and tags. type TunnelRequest struct { - Name string `json:"name"` - Description *string `json:"description,omitempty"` + Name string `json:"name"` + Status PatchedWritableTunnelRequestStatus `json:"status"` + Group NullableBriefTunnelGroupRequest `json:"group,omitempty"` + Encapsulation PatchedWritableTunnelRequestEncapsulation `json:"encapsulation"` + IpsecProfile NullableBriefIPSecProfileRequest `json:"ipsec_profile,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` + TunnelId NullableInt64 `json:"tunnel_id,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -31,9 +40,11 @@ type _TunnelRequest TunnelRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewTunnelRequest(name string) *TunnelRequest { +func NewTunnelRequest(name string, status PatchedWritableTunnelRequestStatus, encapsulation PatchedWritableTunnelRequestEncapsulation) *TunnelRequest { this := TunnelRequest{} this.Name = name + this.Status = status + this.Encapsulation = encapsulation return &this } @@ -69,6 +80,226 @@ func (o *TunnelRequest) SetName(v string) { o.Name = v } +// GetStatus returns the Status field value +func (o *TunnelRequest) GetStatus() PatchedWritableTunnelRequestStatus { + if o == nil { + var ret PatchedWritableTunnelRequestStatus + 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 *TunnelRequest) GetStatusOk() (*PatchedWritableTunnelRequestStatus, bool) { + if o == nil { + return nil, false + } + return &o.Status, true +} + +// SetStatus sets field value +func (o *TunnelRequest) SetStatus(v PatchedWritableTunnelRequestStatus) { + o.Status = v +} + +// GetGroup returns the Group field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *TunnelRequest) GetGroup() BriefTunnelGroupRequest { + if o == nil || IsNil(o.Group.Get()) { + var ret BriefTunnelGroupRequest + return ret + } + return *o.Group.Get() +} + +// GetGroupOk returns a tuple with the Group 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 *TunnelRequest) GetGroupOk() (*BriefTunnelGroupRequest, bool) { + if o == nil { + return nil, false + } + return o.Group.Get(), o.Group.IsSet() +} + +// HasGroup returns a boolean if a field has been set. +func (o *TunnelRequest) HasGroup() bool { + if o != nil && o.Group.IsSet() { + return true + } + + return false +} + +// SetGroup gets a reference to the given NullableBriefTunnelGroupRequest and assigns it to the Group field. +func (o *TunnelRequest) SetGroup(v BriefTunnelGroupRequest) { + o.Group.Set(&v) +} + +// SetGroupNil sets the value for Group to be an explicit nil +func (o *TunnelRequest) SetGroupNil() { + o.Group.Set(nil) +} + +// UnsetGroup ensures that no value is present for Group, not even an explicit nil +func (o *TunnelRequest) UnsetGroup() { + o.Group.Unset() +} + +// GetEncapsulation returns the Encapsulation field value +func (o *TunnelRequest) GetEncapsulation() PatchedWritableTunnelRequestEncapsulation { + if o == nil { + var ret PatchedWritableTunnelRequestEncapsulation + return ret + } + + return o.Encapsulation +} + +// GetEncapsulationOk returns a tuple with the Encapsulation field value +// and a boolean to check if the value has been set. +func (o *TunnelRequest) GetEncapsulationOk() (*PatchedWritableTunnelRequestEncapsulation, bool) { + if o == nil { + return nil, false + } + return &o.Encapsulation, true +} + +// SetEncapsulation sets field value +func (o *TunnelRequest) SetEncapsulation(v PatchedWritableTunnelRequestEncapsulation) { + o.Encapsulation = v +} + +// GetIpsecProfile returns the IpsecProfile field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *TunnelRequest) GetIpsecProfile() BriefIPSecProfileRequest { + if o == nil || IsNil(o.IpsecProfile.Get()) { + var ret BriefIPSecProfileRequest + return ret + } + return *o.IpsecProfile.Get() +} + +// GetIpsecProfileOk returns a tuple with the IpsecProfile 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 *TunnelRequest) GetIpsecProfileOk() (*BriefIPSecProfileRequest, bool) { + if o == nil { + return nil, false + } + return o.IpsecProfile.Get(), o.IpsecProfile.IsSet() +} + +// HasIpsecProfile returns a boolean if a field has been set. +func (o *TunnelRequest) HasIpsecProfile() bool { + if o != nil && o.IpsecProfile.IsSet() { + return true + } + + return false +} + +// SetIpsecProfile gets a reference to the given NullableBriefIPSecProfileRequest and assigns it to the IpsecProfile field. +func (o *TunnelRequest) SetIpsecProfile(v BriefIPSecProfileRequest) { + o.IpsecProfile.Set(&v) +} + +// SetIpsecProfileNil sets the value for IpsecProfile to be an explicit nil +func (o *TunnelRequest) SetIpsecProfileNil() { + o.IpsecProfile.Set(nil) +} + +// UnsetIpsecProfile ensures that no value is present for IpsecProfile, not even an explicit nil +func (o *TunnelRequest) UnsetIpsecProfile() { + o.IpsecProfile.Unset() +} + +// GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *TunnelRequest) GetTenant() BriefTenantRequest { + if o == nil || IsNil(o.Tenant.Get()) { + var ret BriefTenantRequest + 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 *TunnelRequest) GetTenantOk() (*BriefTenantRequest, 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 *TunnelRequest) HasTenant() bool { + if o != nil && o.Tenant.IsSet() { + return true + } + + return false +} + +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *TunnelRequest) SetTenant(v BriefTenantRequest) { + o.Tenant.Set(&v) +} + +// SetTenantNil sets the value for Tenant to be an explicit nil +func (o *TunnelRequest) SetTenantNil() { + o.Tenant.Set(nil) +} + +// UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +func (o *TunnelRequest) UnsetTenant() { + o.Tenant.Unset() +} + +// GetTunnelId returns the TunnelId field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *TunnelRequest) GetTunnelId() int64 { + if o == nil || IsNil(o.TunnelId.Get()) { + var ret int64 + return ret + } + return *o.TunnelId.Get() +} + +// GetTunnelIdOk returns a tuple with the TunnelId 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 *TunnelRequest) GetTunnelIdOk() (*int64, bool) { + if o == nil { + return nil, false + } + return o.TunnelId.Get(), o.TunnelId.IsSet() +} + +// HasTunnelId returns a boolean if a field has been set. +func (o *TunnelRequest) HasTunnelId() bool { + if o != nil && o.TunnelId.IsSet() { + return true + } + + return false +} + +// SetTunnelId gets a reference to the given NullableInt64 and assigns it to the TunnelId field. +func (o *TunnelRequest) SetTunnelId(v int64) { + o.TunnelId.Set(&v) +} + +// SetTunnelIdNil sets the value for TunnelId to be an explicit nil +func (o *TunnelRequest) SetTunnelIdNil() { + o.TunnelId.Set(nil) +} + +// UnsetTunnelId ensures that no value is present for TunnelId, not even an explicit nil +func (o *TunnelRequest) UnsetTunnelId() { + o.TunnelId.Unset() +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *TunnelRequest) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -101,6 +332,102 @@ func (o *TunnelRequest) SetDescription(v string) { o.Description = &v } +// GetComments returns the Comments field value if set, zero value otherwise. +func (o *TunnelRequest) GetComments() string { + if o == nil || IsNil(o.Comments) { + var ret string + return ret + } + return *o.Comments +} + +// GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TunnelRequest) GetCommentsOk() (*string, bool) { + if o == nil || IsNil(o.Comments) { + return nil, false + } + return o.Comments, true +} + +// HasComments returns a boolean if a field has been set. +func (o *TunnelRequest) HasComments() bool { + if o != nil && !IsNil(o.Comments) { + return true + } + + return false +} + +// SetComments gets a reference to the given string and assigns it to the Comments field. +func (o *TunnelRequest) SetComments(v string) { + o.Comments = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *TunnelRequest) GetTags() []NestedTagRequest { + if o == nil || IsNil(o.Tags) { + var ret []NestedTagRequest + 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 *TunnelRequest) GetTagsOk() ([]NestedTagRequest, 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 *TunnelRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTagRequest and assigns it to the Tags field. +func (o *TunnelRequest) SetTags(v []NestedTagRequest) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *TunnelRequest) 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 *TunnelRequest) 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 *TunnelRequest) 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 *TunnelRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + func (o TunnelRequest) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -112,9 +439,32 @@ func (o TunnelRequest) MarshalJSON() ([]byte, error) { func (o TunnelRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["name"] = o.Name + toSerialize["status"] = o.Status + if o.Group.IsSet() { + toSerialize["group"] = o.Group.Get() + } + toSerialize["encapsulation"] = o.Encapsulation + if o.IpsecProfile.IsSet() { + toSerialize["ipsec_profile"] = o.IpsecProfile.Get() + } + if o.Tenant.IsSet() { + toSerialize["tenant"] = o.Tenant.Get() + } + if o.TunnelId.IsSet() { + toSerialize["tunnel_id"] = o.TunnelId.Get() + } if !IsNil(o.Description) { toSerialize["description"] = o.Description } + if !IsNil(o.Comments) { + toSerialize["comments"] = o.Comments + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -129,6 +479,8 @@ func (o *TunnelRequest) UnmarshalJSON(data []byte) (err error) { // that every required field exists as a key in the generic map. requiredProperties := []string{ "name", + "status", + "encapsulation", } allProperties := make(map[string]interface{}) @@ -159,7 +511,16 @@ func (o *TunnelRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "name") + delete(additionalProperties, "status") + delete(additionalProperties, "group") + delete(additionalProperties, "encapsulation") + delete(additionalProperties, "ipsec_profile") + delete(additionalProperties, "tenant") + delete(additionalProperties, "tunnel_id") delete(additionalProperties, "description") + delete(additionalProperties, "comments") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") o.AdditionalProperties = additionalProperties } diff --git a/model_tunnel_status.go b/model_tunnel_status.go new file mode 100644 index 000000000..64eaa332e --- /dev/null +++ b/model_tunnel_status.go @@ -0,0 +1,190 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" +) + +// checks if the TunnelStatus type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &TunnelStatus{} + +// TunnelStatus struct for TunnelStatus +type TunnelStatus struct { + Value *PatchedWritableTunnelRequestStatus `json:"value,omitempty"` + Label *TunnelStatusLabel `json:"label,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _TunnelStatus TunnelStatus + +// NewTunnelStatus instantiates a new TunnelStatus object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewTunnelStatus() *TunnelStatus { + this := TunnelStatus{} + return &this +} + +// NewTunnelStatusWithDefaults instantiates a new TunnelStatus object +// This 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 NewTunnelStatusWithDefaults() *TunnelStatus { + this := TunnelStatus{} + return &this +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *TunnelStatus) GetValue() PatchedWritableTunnelRequestStatus { + if o == nil || IsNil(o.Value) { + var ret PatchedWritableTunnelRequestStatus + 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 *TunnelStatus) GetValueOk() (*PatchedWritableTunnelRequestStatus, 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 *TunnelStatus) HasValue() bool { + if o != nil && !IsNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given PatchedWritableTunnelRequestStatus and assigns it to the Value field. +func (o *TunnelStatus) SetValue(v PatchedWritableTunnelRequestStatus) { + o.Value = &v +} + +// GetLabel returns the Label field value if set, zero value otherwise. +func (o *TunnelStatus) GetLabel() TunnelStatusLabel { + if o == nil || IsNil(o.Label) { + var ret TunnelStatusLabel + 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 *TunnelStatus) GetLabelOk() (*TunnelStatusLabel, 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 *TunnelStatus) HasLabel() bool { + if o != nil && !IsNil(o.Label) { + return true + } + + return false +} + +// SetLabel gets a reference to the given TunnelStatusLabel and assigns it to the Label field. +func (o *TunnelStatus) SetLabel(v TunnelStatusLabel) { + o.Label = &v +} + +func (o TunnelStatus) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o TunnelStatus) 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 *TunnelStatus) UnmarshalJSON(data []byte) (err error) { + varTunnelStatus := _TunnelStatus{} + + err = json.Unmarshal(data, &varTunnelStatus) + + if err != nil { + return err + } + + *o = TunnelStatus(varTunnelStatus) + + 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 NullableTunnelStatus struct { + value *TunnelStatus + isSet bool +} + +func (v NullableTunnelStatus) Get() *TunnelStatus { + return v.value +} + +func (v *NullableTunnelStatus) Set(val *TunnelStatus) { + v.value = val + v.isSet = true +} + +func (v NullableTunnelStatus) IsSet() bool { + return v.isSet +} + +func (v *NullableTunnelStatus) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTunnelStatus(val *TunnelStatus) *NullableTunnelStatus { + return &NullableTunnelStatus{value: val, isSet: true} +} + +func (v NullableTunnelStatus) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableTunnelStatus) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_tunnel_status_label.go b/model_tunnel_status_label.go new file mode 100644 index 000000000..b6a75514b --- /dev/null +++ b/model_tunnel_status_label.go @@ -0,0 +1,112 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// TunnelStatusLabel the model 'TunnelStatusLabel' +type TunnelStatusLabel string + +// List of Tunnel_status_label +const ( + TUNNELSTATUSLABEL_PLANNED TunnelStatusLabel = "Planned" + TUNNELSTATUSLABEL_ACTIVE TunnelStatusLabel = "Active" + TUNNELSTATUSLABEL_DISABLED TunnelStatusLabel = "Disabled" +) + +// All allowed values of TunnelStatusLabel enum +var AllowedTunnelStatusLabelEnumValues = []TunnelStatusLabel{ + "Planned", + "Active", + "Disabled", +} + +func (v *TunnelStatusLabel) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := TunnelStatusLabel(value) + for _, existing := range AllowedTunnelStatusLabelEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid TunnelStatusLabel", value) +} + +// NewTunnelStatusLabelFromValue returns a pointer to a valid TunnelStatusLabel +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewTunnelStatusLabelFromValue(v string) (*TunnelStatusLabel, error) { + ev := TunnelStatusLabel(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for TunnelStatusLabel: valid values are %v", v, AllowedTunnelStatusLabelEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v TunnelStatusLabel) IsValid() bool { + for _, existing := range AllowedTunnelStatusLabelEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to Tunnel_status_label value +func (v TunnelStatusLabel) Ptr() *TunnelStatusLabel { + return &v +} + +type NullableTunnelStatusLabel struct { + value *TunnelStatusLabel + isSet bool +} + +func (v NullableTunnelStatusLabel) Get() *TunnelStatusLabel { + return v.value +} + +func (v *NullableTunnelStatusLabel) Set(val *TunnelStatusLabel) { + v.value = val + v.isSet = true +} + +func (v NullableTunnelStatusLabel) IsSet() bool { + return v.isSet +} + +func (v *NullableTunnelStatusLabel) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTunnelStatusLabel(val *TunnelStatusLabel) *NullableTunnelStatusLabel { + return &NullableTunnelStatusLabel{value: val, isSet: true} +} + +func (v NullableTunnelStatusLabel) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableTunnelStatusLabel) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_tunnel_termination.go b/model_tunnel_termination.go index 014447ce2..93c9955da 100644 --- a/model_tunnel_termination.go +++ b/model_tunnel_termination.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -23,13 +23,14 @@ var _ MappedNullable = &TunnelTermination{} type TunnelTermination struct { Id int32 `json:"id"` Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` Display string `json:"display"` - Tunnel Tunnel `json:"tunnel"` + Tunnel BriefTunnel `json:"tunnel"` Role TunnelTerminationRole `json:"role"` TerminationType string `json:"termination_type"` TerminationId NullableInt64 `json:"termination_id"` Termination interface{} `json:"termination"` - OutsideIp NullableIPAddress `json:"outside_ip,omitempty"` + OutsideIp NullableBriefIPAddress `json:"outside_ip,omitempty"` Tags []NestedTag `json:"tags,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Created NullableTime `json:"created"` @@ -43,7 +44,7 @@ type _TunnelTermination TunnelTermination // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewTunnelTermination(id int32, url string, display string, tunnel Tunnel, role TunnelTerminationRole, terminationType string, terminationId NullableInt64, termination interface{}, created NullableTime, lastUpdated NullableTime) *TunnelTermination { +func NewTunnelTermination(id int32, url string, display string, tunnel BriefTunnel, role TunnelTerminationRole, terminationType string, terminationId NullableInt64, termination interface{}, created NullableTime, lastUpdated NullableTime) *TunnelTermination { this := TunnelTermination{} this.Id = id this.Url = url @@ -114,6 +115,38 @@ func (o *TunnelTermination) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *TunnelTermination) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TunnelTermination) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *TunnelTermination) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *TunnelTermination) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *TunnelTermination) GetDisplay() string { if o == nil { @@ -139,9 +172,9 @@ func (o *TunnelTermination) SetDisplay(v string) { } // GetTunnel returns the Tunnel field value -func (o *TunnelTermination) GetTunnel() Tunnel { +func (o *TunnelTermination) GetTunnel() BriefTunnel { if o == nil { - var ret Tunnel + var ret BriefTunnel return ret } @@ -150,7 +183,7 @@ func (o *TunnelTermination) GetTunnel() Tunnel { // GetTunnelOk returns a tuple with the Tunnel field value // and a boolean to check if the value has been set. -func (o *TunnelTermination) GetTunnelOk() (*Tunnel, bool) { +func (o *TunnelTermination) GetTunnelOk() (*BriefTunnel, bool) { if o == nil { return nil, false } @@ -158,7 +191,7 @@ func (o *TunnelTermination) GetTunnelOk() (*Tunnel, bool) { } // SetTunnel sets field value -func (o *TunnelTermination) SetTunnel(v Tunnel) { +func (o *TunnelTermination) SetTunnel(v BriefTunnel) { o.Tunnel = v } @@ -263,9 +296,9 @@ func (o *TunnelTermination) SetTermination(v interface{}) { } // GetOutsideIp returns the OutsideIp field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *TunnelTermination) GetOutsideIp() IPAddress { +func (o *TunnelTermination) GetOutsideIp() BriefIPAddress { if o == nil || IsNil(o.OutsideIp.Get()) { - var ret IPAddress + var ret BriefIPAddress return ret } return *o.OutsideIp.Get() @@ -274,7 +307,7 @@ func (o *TunnelTermination) GetOutsideIp() IPAddress { // GetOutsideIpOk returns a tuple with the OutsideIp 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 *TunnelTermination) GetOutsideIpOk() (*IPAddress, bool) { +func (o *TunnelTermination) GetOutsideIpOk() (*BriefIPAddress, bool) { if o == nil { return nil, false } @@ -290,8 +323,8 @@ func (o *TunnelTermination) HasOutsideIp() bool { return false } -// SetOutsideIp gets a reference to the given NullableIPAddress and assigns it to the OutsideIp field. -func (o *TunnelTermination) SetOutsideIp(v IPAddress) { +// SetOutsideIp gets a reference to the given NullableBriefIPAddress and assigns it to the OutsideIp field. +func (o *TunnelTermination) SetOutsideIp(v BriefIPAddress) { o.OutsideIp.Set(&v) } @@ -433,6 +466,9 @@ func (o TunnelTermination) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["tunnel"] = o.Tunnel toSerialize["role"] = o.Role @@ -506,6 +542,7 @@ func (o *TunnelTermination) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "tunnel") delete(additionalProperties, "role") diff --git a/model_tunnel_termination_request.go b/model_tunnel_termination_request.go index d38e99b53..45ed8df63 100644 --- a/model_tunnel_termination_request.go +++ b/model_tunnel_termination_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,11 +20,11 @@ var _ MappedNullable = &TunnelTerminationRequest{} // TunnelTerminationRequest Adds support for custom fields and tags. type TunnelTerminationRequest struct { - Tunnel TunnelRequest `json:"tunnel"` + Tunnel BriefTunnelRequest `json:"tunnel"` Role PatchedWritableTunnelTerminationRequestRole `json:"role"` TerminationType string `json:"termination_type"` TerminationId NullableInt64 `json:"termination_id"` - OutsideIp NullableIPAddressRequest `json:"outside_ip,omitempty"` + OutsideIp NullableBriefIPAddressRequest `json:"outside_ip,omitempty"` Tags []NestedTagRequest `json:"tags,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} @@ -36,7 +36,7 @@ type _TunnelTerminationRequest TunnelTerminationRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewTunnelTerminationRequest(tunnel TunnelRequest, role PatchedWritableTunnelTerminationRequestRole, terminationType string, terminationId NullableInt64) *TunnelTerminationRequest { +func NewTunnelTerminationRequest(tunnel BriefTunnelRequest, role PatchedWritableTunnelTerminationRequestRole, terminationType string, terminationId NullableInt64) *TunnelTerminationRequest { this := TunnelTerminationRequest{} this.Tunnel = tunnel this.Role = role @@ -54,9 +54,9 @@ func NewTunnelTerminationRequestWithDefaults() *TunnelTerminationRequest { } // GetTunnel returns the Tunnel field value -func (o *TunnelTerminationRequest) GetTunnel() TunnelRequest { +func (o *TunnelTerminationRequest) GetTunnel() BriefTunnelRequest { if o == nil { - var ret TunnelRequest + var ret BriefTunnelRequest return ret } @@ -65,7 +65,7 @@ func (o *TunnelTerminationRequest) GetTunnel() TunnelRequest { // GetTunnelOk returns a tuple with the Tunnel field value // and a boolean to check if the value has been set. -func (o *TunnelTerminationRequest) GetTunnelOk() (*TunnelRequest, bool) { +func (o *TunnelTerminationRequest) GetTunnelOk() (*BriefTunnelRequest, bool) { if o == nil { return nil, false } @@ -73,7 +73,7 @@ func (o *TunnelTerminationRequest) GetTunnelOk() (*TunnelRequest, bool) { } // SetTunnel sets field value -func (o *TunnelTerminationRequest) SetTunnel(v TunnelRequest) { +func (o *TunnelTerminationRequest) SetTunnel(v BriefTunnelRequest) { o.Tunnel = v } @@ -152,9 +152,9 @@ func (o *TunnelTerminationRequest) SetTerminationId(v int64) { } // GetOutsideIp returns the OutsideIp field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *TunnelTerminationRequest) GetOutsideIp() IPAddressRequest { +func (o *TunnelTerminationRequest) GetOutsideIp() BriefIPAddressRequest { if o == nil || IsNil(o.OutsideIp.Get()) { - var ret IPAddressRequest + var ret BriefIPAddressRequest return ret } return *o.OutsideIp.Get() @@ -163,7 +163,7 @@ func (o *TunnelTerminationRequest) GetOutsideIp() IPAddressRequest { // GetOutsideIpOk returns a tuple with the OutsideIp 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 *TunnelTerminationRequest) GetOutsideIpOk() (*IPAddressRequest, bool) { +func (o *TunnelTerminationRequest) GetOutsideIpOk() (*BriefIPAddressRequest, bool) { if o == nil { return nil, false } @@ -179,8 +179,8 @@ func (o *TunnelTerminationRequest) HasOutsideIp() bool { return false } -// SetOutsideIp gets a reference to the given NullableIPAddressRequest and assigns it to the OutsideIp field. -func (o *TunnelTerminationRequest) SetOutsideIp(v IPAddressRequest) { +// SetOutsideIp gets a reference to the given NullableBriefIPAddressRequest and assigns it to the OutsideIp field. +func (o *TunnelTerminationRequest) SetOutsideIp(v BriefIPAddressRequest) { o.OutsideIp.Set(&v) } diff --git a/model_tunnel_termination_role.go b/model_tunnel_termination_role.go index fe1ea1a38..26e4f35bf 100644 --- a/model_tunnel_termination_role.go +++ b/model_tunnel_termination_role.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_tunnel_termination_role_label.go b/model_tunnel_termination_role_label.go index f59fb7fd8..404dbc7cd 100644 --- a/model_tunnel_termination_role_label.go +++ b/model_tunnel_termination_role_label.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_user.go b/model_user.go index 09bd2a3cd..b77353bf4 100644 --- a/model_user.go +++ b/model_user.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -13,6 +13,7 @@ package netbox import ( "encoding/json" "fmt" + "time" ) // checks if the User type satisfies the MappedNullable interface at compile time @@ -20,11 +21,23 @@ 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 int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` // Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. - Username string `json:"username"` + Username string `json:"username"` + FirstName *string `json:"first_name,omitempty"` + LastName *string `json:"last_name,omitempty"` + Email *string `json:"email,omitempty"` + // Designates whether the user can log into this admin site. + IsStaff *bool `json:"is_staff,omitempty"` + // Designates whether this user should be treated as active. Unselect this instead of deleting accounts. + IsActive *bool `json:"is_active,omitempty"` + DateJoined *time.Time `json:"date_joined,omitempty"` + LastLogin NullableTime `json:"last_login,omitempty"` + Groups []Group `json:"groups,omitempty"` + Permissions []ObjectPermission `json:"permissions,omitempty"` AdditionalProperties map[string]interface{} } @@ -99,6 +112,38 @@ func (o *User) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *User) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *User) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *User) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *User) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *User) GetDisplay() string { if o == nil { @@ -147,6 +192,305 @@ func (o *User) SetUsername(v string) { o.Username = v } +// GetFirstName returns the FirstName field value if set, zero value otherwise. +func (o *User) GetFirstName() string { + if o == nil || IsNil(o.FirstName) { + var ret string + return ret + } + return *o.FirstName +} + +// GetFirstNameOk returns a tuple with the FirstName field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *User) GetFirstNameOk() (*string, bool) { + if o == nil || IsNil(o.FirstName) { + return nil, false + } + return o.FirstName, true +} + +// HasFirstName returns a boolean if a field has been set. +func (o *User) HasFirstName() bool { + if o != nil && !IsNil(o.FirstName) { + return true + } + + return false +} + +// SetFirstName gets a reference to the given string and assigns it to the FirstName field. +func (o *User) SetFirstName(v string) { + o.FirstName = &v +} + +// GetLastName returns the LastName field value if set, zero value otherwise. +func (o *User) GetLastName() string { + if o == nil || IsNil(o.LastName) { + var ret string + return ret + } + return *o.LastName +} + +// GetLastNameOk returns a tuple with the LastName field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *User) GetLastNameOk() (*string, bool) { + if o == nil || IsNil(o.LastName) { + return nil, false + } + return o.LastName, true +} + +// HasLastName returns a boolean if a field has been set. +func (o *User) HasLastName() bool { + if o != nil && !IsNil(o.LastName) { + return true + } + + return false +} + +// SetLastName gets a reference to the given string and assigns it to the LastName field. +func (o *User) SetLastName(v string) { + o.LastName = &v +} + +// GetEmail returns the Email field value if set, zero value otherwise. +func (o *User) GetEmail() string { + if o == nil || IsNil(o.Email) { + var ret string + return ret + } + return *o.Email +} + +// GetEmailOk returns a tuple with the Email field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *User) GetEmailOk() (*string, bool) { + if o == nil || IsNil(o.Email) { + return nil, false + } + return o.Email, true +} + +// HasEmail returns a boolean if a field has been set. +func (o *User) HasEmail() bool { + if o != nil && !IsNil(o.Email) { + return true + } + + return false +} + +// SetEmail gets a reference to the given string and assigns it to the Email field. +func (o *User) SetEmail(v string) { + o.Email = &v +} + +// GetIsStaff returns the IsStaff field value if set, zero value otherwise. +func (o *User) GetIsStaff() bool { + if o == nil || IsNil(o.IsStaff) { + var ret bool + return ret + } + return *o.IsStaff +} + +// GetIsStaffOk returns a tuple with the IsStaff field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *User) GetIsStaffOk() (*bool, bool) { + if o == nil || IsNil(o.IsStaff) { + return nil, false + } + return o.IsStaff, true +} + +// HasIsStaff returns a boolean if a field has been set. +func (o *User) HasIsStaff() bool { + if o != nil && !IsNil(o.IsStaff) { + return true + } + + return false +} + +// SetIsStaff gets a reference to the given bool and assigns it to the IsStaff field. +func (o *User) SetIsStaff(v bool) { + o.IsStaff = &v +} + +// GetIsActive returns the IsActive field value if set, zero value otherwise. +func (o *User) GetIsActive() bool { + if o == nil || IsNil(o.IsActive) { + var ret bool + return ret + } + return *o.IsActive +} + +// GetIsActiveOk returns a tuple with the IsActive field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *User) GetIsActiveOk() (*bool, bool) { + if o == nil || IsNil(o.IsActive) { + return nil, false + } + return o.IsActive, true +} + +// HasIsActive returns a boolean if a field has been set. +func (o *User) HasIsActive() bool { + if o != nil && !IsNil(o.IsActive) { + return true + } + + return false +} + +// SetIsActive gets a reference to the given bool and assigns it to the IsActive field. +func (o *User) SetIsActive(v bool) { + o.IsActive = &v +} + +// GetDateJoined returns the DateJoined field value if set, zero value otherwise. +func (o *User) GetDateJoined() time.Time { + if o == nil || IsNil(o.DateJoined) { + var ret time.Time + return ret + } + return *o.DateJoined +} + +// GetDateJoinedOk returns a tuple with the DateJoined field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *User) GetDateJoinedOk() (*time.Time, bool) { + if o == nil || IsNil(o.DateJoined) { + return nil, false + } + return o.DateJoined, true +} + +// HasDateJoined returns a boolean if a field has been set. +func (o *User) HasDateJoined() bool { + if o != nil && !IsNil(o.DateJoined) { + return true + } + + return false +} + +// SetDateJoined gets a reference to the given time.Time and assigns it to the DateJoined field. +func (o *User) SetDateJoined(v time.Time) { + o.DateJoined = &v +} + +// GetLastLogin returns the LastLogin field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *User) GetLastLogin() time.Time { + if o == nil || IsNil(o.LastLogin.Get()) { + var ret time.Time + return ret + } + return *o.LastLogin.Get() +} + +// GetLastLoginOk returns a tuple with the LastLogin 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 *User) GetLastLoginOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LastLogin.Get(), o.LastLogin.IsSet() +} + +// HasLastLogin returns a boolean if a field has been set. +func (o *User) HasLastLogin() bool { + if o != nil && o.LastLogin.IsSet() { + return true + } + + return false +} + +// SetLastLogin gets a reference to the given NullableTime and assigns it to the LastLogin field. +func (o *User) SetLastLogin(v time.Time) { + o.LastLogin.Set(&v) +} + +// SetLastLoginNil sets the value for LastLogin to be an explicit nil +func (o *User) SetLastLoginNil() { + o.LastLogin.Set(nil) +} + +// UnsetLastLogin ensures that no value is present for LastLogin, not even an explicit nil +func (o *User) UnsetLastLogin() { + o.LastLogin.Unset() +} + +// GetGroups returns the Groups field value if set, zero value otherwise. +func (o *User) GetGroups() []Group { + if o == nil || IsNil(o.Groups) { + var ret []Group + return ret + } + return o.Groups +} + +// GetGroupsOk returns a tuple with the Groups field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *User) GetGroupsOk() ([]Group, bool) { + if o == nil || IsNil(o.Groups) { + return nil, false + } + return o.Groups, true +} + +// HasGroups returns a boolean if a field has been set. +func (o *User) HasGroups() bool { + if o != nil && !IsNil(o.Groups) { + return true + } + + return false +} + +// SetGroups gets a reference to the given []Group and assigns it to the Groups field. +func (o *User) SetGroups(v []Group) { + o.Groups = v +} + +// GetPermissions returns the Permissions field value if set, zero value otherwise. +func (o *User) GetPermissions() []ObjectPermission { + if o == nil || IsNil(o.Permissions) { + var ret []ObjectPermission + return ret + } + return o.Permissions +} + +// GetPermissionsOk returns a tuple with the Permissions field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *User) GetPermissionsOk() ([]ObjectPermission, bool) { + if o == nil || IsNil(o.Permissions) { + return nil, false + } + return o.Permissions, true +} + +// HasPermissions returns a boolean if a field has been set. +func (o *User) HasPermissions() bool { + if o != nil && !IsNil(o.Permissions) { + return true + } + + return false +} + +// SetPermissions gets a reference to the given []ObjectPermission and assigns it to the Permissions field. +func (o *User) SetPermissions(v []ObjectPermission) { + o.Permissions = v +} + func (o User) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -159,8 +503,38 @@ func (o User) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["username"] = o.Username + if !IsNil(o.FirstName) { + toSerialize["first_name"] = o.FirstName + } + if !IsNil(o.LastName) { + toSerialize["last_name"] = o.LastName + } + if !IsNil(o.Email) { + toSerialize["email"] = o.Email + } + if !IsNil(o.IsStaff) { + toSerialize["is_staff"] = o.IsStaff + } + if !IsNil(o.IsActive) { + toSerialize["is_active"] = o.IsActive + } + if !IsNil(o.DateJoined) { + toSerialize["date_joined"] = o.DateJoined + } + if o.LastLogin.IsSet() { + toSerialize["last_login"] = o.LastLogin.Get() + } + if !IsNil(o.Groups) { + toSerialize["groups"] = o.Groups + } + if !IsNil(o.Permissions) { + toSerialize["permissions"] = o.Permissions + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -209,8 +583,18 @@ func (o *User) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "username") + delete(additionalProperties, "first_name") + delete(additionalProperties, "last_name") + delete(additionalProperties, "email") + delete(additionalProperties, "is_staff") + delete(additionalProperties, "is_active") + delete(additionalProperties, "date_joined") + delete(additionalProperties, "last_login") + delete(additionalProperties, "groups") + delete(additionalProperties, "permissions") o.AdditionalProperties = additionalProperties } diff --git a/model_user_request.go b/model_user_request.go index 33ff7942b..ba5d071f1 100644 --- a/model_user_request.go +++ b/model_user_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -13,6 +13,7 @@ package netbox import ( "encoding/json" "fmt" + "time" ) // checks if the UserRequest type satisfies the MappedNullable interface at compile time @@ -21,7 +22,19 @@ 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 { // Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. - Username string `json:"username"` + Username string `json:"username"` + Password string `json:"password"` + FirstName *string `json:"first_name,omitempty"` + LastName *string `json:"last_name,omitempty"` + Email *string `json:"email,omitempty"` + // Designates whether the user can log into this admin site. + IsStaff *bool `json:"is_staff,omitempty"` + // Designates whether this user should be treated as active. Unselect this instead of deleting accounts. + IsActive *bool `json:"is_active,omitempty"` + DateJoined *time.Time `json:"date_joined,omitempty"` + LastLogin NullableTime `json:"last_login,omitempty"` + Groups []int32 `json:"groups,omitempty"` + Permissions []int32 `json:"permissions,omitempty"` AdditionalProperties map[string]interface{} } @@ -31,9 +44,10 @@ type _UserRequest UserRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewUserRequest(username string) *UserRequest { +func NewUserRequest(username string, password string) *UserRequest { this := UserRequest{} this.Username = username + this.Password = password return &this } @@ -69,6 +83,329 @@ func (o *UserRequest) SetUsername(v string) { o.Username = v } +// GetPassword returns the Password field value +func (o *UserRequest) GetPassword() string { + if o == nil { + var ret string + return ret + } + + return o.Password +} + +// GetPasswordOk returns a tuple with the Password field value +// and a boolean to check if the value has been set. +func (o *UserRequest) GetPasswordOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Password, true +} + +// SetPassword sets field value +func (o *UserRequest) SetPassword(v string) { + o.Password = v +} + +// GetFirstName returns the FirstName field value if set, zero value otherwise. +func (o *UserRequest) GetFirstName() string { + if o == nil || IsNil(o.FirstName) { + var ret string + return ret + } + return *o.FirstName +} + +// GetFirstNameOk returns a tuple with the FirstName field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *UserRequest) GetFirstNameOk() (*string, bool) { + if o == nil || IsNil(o.FirstName) { + return nil, false + } + return o.FirstName, true +} + +// HasFirstName returns a boolean if a field has been set. +func (o *UserRequest) HasFirstName() bool { + if o != nil && !IsNil(o.FirstName) { + return true + } + + return false +} + +// SetFirstName gets a reference to the given string and assigns it to the FirstName field. +func (o *UserRequest) SetFirstName(v string) { + o.FirstName = &v +} + +// GetLastName returns the LastName field value if set, zero value otherwise. +func (o *UserRequest) GetLastName() string { + if o == nil || IsNil(o.LastName) { + var ret string + return ret + } + return *o.LastName +} + +// GetLastNameOk returns a tuple with the LastName field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *UserRequest) GetLastNameOk() (*string, bool) { + if o == nil || IsNil(o.LastName) { + return nil, false + } + return o.LastName, true +} + +// HasLastName returns a boolean if a field has been set. +func (o *UserRequest) HasLastName() bool { + if o != nil && !IsNil(o.LastName) { + return true + } + + return false +} + +// SetLastName gets a reference to the given string and assigns it to the LastName field. +func (o *UserRequest) SetLastName(v string) { + o.LastName = &v +} + +// GetEmail returns the Email field value if set, zero value otherwise. +func (o *UserRequest) GetEmail() string { + if o == nil || IsNil(o.Email) { + var ret string + return ret + } + return *o.Email +} + +// GetEmailOk returns a tuple with the Email field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *UserRequest) GetEmailOk() (*string, bool) { + if o == nil || IsNil(o.Email) { + return nil, false + } + return o.Email, true +} + +// HasEmail returns a boolean if a field has been set. +func (o *UserRequest) HasEmail() bool { + if o != nil && !IsNil(o.Email) { + return true + } + + return false +} + +// SetEmail gets a reference to the given string and assigns it to the Email field. +func (o *UserRequest) SetEmail(v string) { + o.Email = &v +} + +// GetIsStaff returns the IsStaff field value if set, zero value otherwise. +func (o *UserRequest) GetIsStaff() bool { + if o == nil || IsNil(o.IsStaff) { + var ret bool + return ret + } + return *o.IsStaff +} + +// GetIsStaffOk returns a tuple with the IsStaff field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *UserRequest) GetIsStaffOk() (*bool, bool) { + if o == nil || IsNil(o.IsStaff) { + return nil, false + } + return o.IsStaff, true +} + +// HasIsStaff returns a boolean if a field has been set. +func (o *UserRequest) HasIsStaff() bool { + if o != nil && !IsNil(o.IsStaff) { + return true + } + + return false +} + +// SetIsStaff gets a reference to the given bool and assigns it to the IsStaff field. +func (o *UserRequest) SetIsStaff(v bool) { + o.IsStaff = &v +} + +// GetIsActive returns the IsActive field value if set, zero value otherwise. +func (o *UserRequest) GetIsActive() bool { + if o == nil || IsNil(o.IsActive) { + var ret bool + return ret + } + return *o.IsActive +} + +// GetIsActiveOk returns a tuple with the IsActive field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *UserRequest) GetIsActiveOk() (*bool, bool) { + if o == nil || IsNil(o.IsActive) { + return nil, false + } + return o.IsActive, true +} + +// HasIsActive returns a boolean if a field has been set. +func (o *UserRequest) HasIsActive() bool { + if o != nil && !IsNil(o.IsActive) { + return true + } + + return false +} + +// SetIsActive gets a reference to the given bool and assigns it to the IsActive field. +func (o *UserRequest) SetIsActive(v bool) { + o.IsActive = &v +} + +// GetDateJoined returns the DateJoined field value if set, zero value otherwise. +func (o *UserRequest) GetDateJoined() time.Time { + if o == nil || IsNil(o.DateJoined) { + var ret time.Time + return ret + } + return *o.DateJoined +} + +// GetDateJoinedOk returns a tuple with the DateJoined field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *UserRequest) GetDateJoinedOk() (*time.Time, bool) { + if o == nil || IsNil(o.DateJoined) { + return nil, false + } + return o.DateJoined, true +} + +// HasDateJoined returns a boolean if a field has been set. +func (o *UserRequest) HasDateJoined() bool { + if o != nil && !IsNil(o.DateJoined) { + return true + } + + return false +} + +// SetDateJoined gets a reference to the given time.Time and assigns it to the DateJoined field. +func (o *UserRequest) SetDateJoined(v time.Time) { + o.DateJoined = &v +} + +// GetLastLogin returns the LastLogin field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *UserRequest) GetLastLogin() time.Time { + if o == nil || IsNil(o.LastLogin.Get()) { + var ret time.Time + return ret + } + return *o.LastLogin.Get() +} + +// GetLastLoginOk returns a tuple with the LastLogin 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 *UserRequest) GetLastLoginOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LastLogin.Get(), o.LastLogin.IsSet() +} + +// HasLastLogin returns a boolean if a field has been set. +func (o *UserRequest) HasLastLogin() bool { + if o != nil && o.LastLogin.IsSet() { + return true + } + + return false +} + +// SetLastLogin gets a reference to the given NullableTime and assigns it to the LastLogin field. +func (o *UserRequest) SetLastLogin(v time.Time) { + o.LastLogin.Set(&v) +} + +// SetLastLoginNil sets the value for LastLogin to be an explicit nil +func (o *UserRequest) SetLastLoginNil() { + o.LastLogin.Set(nil) +} + +// UnsetLastLogin ensures that no value is present for LastLogin, not even an explicit nil +func (o *UserRequest) UnsetLastLogin() { + o.LastLogin.Unset() +} + +// GetGroups returns the Groups field value if set, zero value otherwise. +func (o *UserRequest) GetGroups() []int32 { + if o == nil || IsNil(o.Groups) { + var ret []int32 + return ret + } + return o.Groups +} + +// GetGroupsOk returns a tuple with the Groups field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *UserRequest) GetGroupsOk() ([]int32, bool) { + if o == nil || IsNil(o.Groups) { + return nil, false + } + return o.Groups, true +} + +// HasGroups returns a boolean if a field has been set. +func (o *UserRequest) HasGroups() bool { + if o != nil && !IsNil(o.Groups) { + return true + } + + return false +} + +// SetGroups gets a reference to the given []int32 and assigns it to the Groups field. +func (o *UserRequest) SetGroups(v []int32) { + o.Groups = v +} + +// GetPermissions returns the Permissions field value if set, zero value otherwise. +func (o *UserRequest) GetPermissions() []int32 { + if o == nil || IsNil(o.Permissions) { + var ret []int32 + return ret + } + return o.Permissions +} + +// GetPermissionsOk returns a tuple with the Permissions field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *UserRequest) GetPermissionsOk() ([]int32, bool) { + if o == nil || IsNil(o.Permissions) { + return nil, false + } + return o.Permissions, true +} + +// HasPermissions returns a boolean if a field has been set. +func (o *UserRequest) HasPermissions() bool { + if o != nil && !IsNil(o.Permissions) { + return true + } + + return false +} + +// SetPermissions gets a reference to the given []int32 and assigns it to the Permissions field. +func (o *UserRequest) SetPermissions(v []int32) { + o.Permissions = v +} + func (o UserRequest) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -80,6 +417,34 @@ func (o UserRequest) MarshalJSON() ([]byte, error) { func (o UserRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["username"] = o.Username + toSerialize["password"] = o.Password + if !IsNil(o.FirstName) { + toSerialize["first_name"] = o.FirstName + } + if !IsNil(o.LastName) { + toSerialize["last_name"] = o.LastName + } + if !IsNil(o.Email) { + toSerialize["email"] = o.Email + } + if !IsNil(o.IsStaff) { + toSerialize["is_staff"] = o.IsStaff + } + if !IsNil(o.IsActive) { + toSerialize["is_active"] = o.IsActive + } + if !IsNil(o.DateJoined) { + toSerialize["date_joined"] = o.DateJoined + } + if o.LastLogin.IsSet() { + toSerialize["last_login"] = o.LastLogin.Get() + } + if !IsNil(o.Groups) { + toSerialize["groups"] = o.Groups + } + if !IsNil(o.Permissions) { + toSerialize["permissions"] = o.Permissions + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -94,6 +459,7 @@ func (o *UserRequest) UnmarshalJSON(data []byte) (err error) { // that every required field exists as a key in the generic map. requiredProperties := []string{ "username", + "password", } allProperties := make(map[string]interface{}) @@ -124,6 +490,16 @@ func (o *UserRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "username") + delete(additionalProperties, "password") + delete(additionalProperties, "first_name") + delete(additionalProperties, "last_name") + delete(additionalProperties, "email") + delete(additionalProperties, "is_staff") + delete(additionalProperties, "is_active") + delete(additionalProperties, "date_joined") + delete(additionalProperties, "last_login") + delete(additionalProperties, "groups") + delete(additionalProperties, "permissions") o.AdditionalProperties = additionalProperties } diff --git a/model_virtual_chassis.go b/model_virtual_chassis.go index c23f98276..bc3b63dc3 100644 --- a/model_virtual_chassis.go +++ b/model_virtual_chassis.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -13,6 +13,7 @@ package netbox import ( "encoding/json" "fmt" + "time" ) // checks if the VirtualChassis type satisfies the MappedNullable interface at compile time @@ -20,13 +21,21 @@ var _ MappedNullable = &VirtualChassis{} // VirtualChassis Adds support for custom fields and tags. type VirtualChassis struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - Name string `json:"name"` - Master NullableNestedDevice `json:"master,omitempty"` - Description *string `json:"description,omitempty"` - MemberCount int32 `json:"member_count"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Name string `json:"name"` + Domain *string `json:"domain,omitempty"` + Master NullableNestedDevice `json:"master,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTag `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Created NullableTime `json:"created"` + LastUpdated NullableTime `json:"last_updated"` + MemberCount int32 `json:"member_count"` + Members []NestedDevice `json:"members"` AdditionalProperties map[string]interface{} } @@ -36,13 +45,16 @@ 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 int32, url string, display string, name string, memberCount int32) *VirtualChassis { +func NewVirtualChassis(id int32, url string, display string, name string, created NullableTime, lastUpdated NullableTime, memberCount int32, members []NestedDevice) *VirtualChassis { this := VirtualChassis{} this.Id = id this.Url = url this.Display = display this.Name = name + this.Created = created + this.LastUpdated = lastUpdated this.MemberCount = memberCount + this.Members = members return &this } @@ -102,6 +114,38 @@ func (o *VirtualChassis) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *VirtualChassis) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VirtualChassis) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *VirtualChassis) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *VirtualChassis) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *VirtualChassis) GetDisplay() string { if o == nil { @@ -150,6 +194,38 @@ func (o *VirtualChassis) SetName(v string) { o.Name = v } +// GetDomain returns the Domain field value if set, zero value otherwise. +func (o *VirtualChassis) GetDomain() string { + if o == nil || IsNil(o.Domain) { + var ret string + return ret + } + return *o.Domain +} + +// GetDomainOk returns a tuple with the Domain field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VirtualChassis) GetDomainOk() (*string, bool) { + if o == nil || IsNil(o.Domain) { + return nil, false + } + return o.Domain, true +} + +// HasDomain returns a boolean if a field has been set. +func (o *VirtualChassis) HasDomain() bool { + if o != nil && !IsNil(o.Domain) { + return true + } + + return false +} + +// SetDomain gets a reference to the given string and assigns it to the Domain field. +func (o *VirtualChassis) SetDomain(v string) { + o.Domain = &v +} + // GetMaster returns the Master field value if set, zero value otherwise (both if not set or set to explicit null). func (o *VirtualChassis) GetMaster() NestedDevice { if o == nil || IsNil(o.Master.Get()) { @@ -225,6 +301,154 @@ func (o *VirtualChassis) SetDescription(v string) { o.Description = &v } +// GetComments returns the Comments field value if set, zero value otherwise. +func (o *VirtualChassis) GetComments() string { + if o == nil || IsNil(o.Comments) { + var ret string + return ret + } + return *o.Comments +} + +// GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VirtualChassis) GetCommentsOk() (*string, bool) { + if o == nil || IsNil(o.Comments) { + return nil, false + } + return o.Comments, true +} + +// HasComments returns a boolean if a field has been set. +func (o *VirtualChassis) HasComments() bool { + if o != nil && !IsNil(o.Comments) { + return true + } + + return false +} + +// SetComments gets a reference to the given string and assigns it to the Comments field. +func (o *VirtualChassis) SetComments(v string) { + o.Comments = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *VirtualChassis) GetTags() []NestedTag { + if o == nil || IsNil(o.Tags) { + var ret []NestedTag + 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 *VirtualChassis) GetTagsOk() ([]NestedTag, 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 *VirtualChassis) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTag and assigns it to the Tags field. +func (o *VirtualChassis) SetTags(v []NestedTag) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *VirtualChassis) 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 *VirtualChassis) 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 *VirtualChassis) 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 *VirtualChassis) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetCreated returns the Created field value +// If the value is explicit nil, the zero value for time.Time will be returned +func (o *VirtualChassis) 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 *VirtualChassis) GetCreatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.Created.Get(), o.Created.IsSet() +} + +// SetCreated sets field value +func (o *VirtualChassis) 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 *VirtualChassis) 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 *VirtualChassis) GetLastUpdatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LastUpdated.Get(), o.LastUpdated.IsSet() +} + +// SetLastUpdated sets field value +func (o *VirtualChassis) SetLastUpdated(v time.Time) { + o.LastUpdated.Set(&v) +} + // GetMemberCount returns the MemberCount field value func (o *VirtualChassis) GetMemberCount() int32 { if o == nil { @@ -249,6 +473,30 @@ func (o *VirtualChassis) SetMemberCount(v int32) { o.MemberCount = v } +// GetMembers returns the Members field value +func (o *VirtualChassis) GetMembers() []NestedDevice { + if o == nil { + var ret []NestedDevice + return ret + } + + return o.Members +} + +// GetMembersOk returns a tuple with the Members field value +// and a boolean to check if the value has been set. +func (o *VirtualChassis) GetMembersOk() ([]NestedDevice, bool) { + if o == nil { + return nil, false + } + return o.Members, true +} + +// SetMembers sets field value +func (o *VirtualChassis) SetMembers(v []NestedDevice) { + o.Members = v +} + func (o VirtualChassis) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -261,15 +509,33 @@ func (o VirtualChassis) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["name"] = o.Name + if !IsNil(o.Domain) { + toSerialize["domain"] = o.Domain + } if o.Master.IsSet() { toSerialize["master"] = o.Master.Get() } if !IsNil(o.Description) { toSerialize["description"] = o.Description } + if !IsNil(o.Comments) { + toSerialize["comments"] = o.Comments + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + toSerialize["created"] = o.Created.Get() + toSerialize["last_updated"] = o.LastUpdated.Get() toSerialize["member_count"] = o.MemberCount + toSerialize["members"] = o.Members for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -287,7 +553,10 @@ func (o *VirtualChassis) UnmarshalJSON(data []byte) (err error) { "url", "display", "name", + "created", + "last_updated", "member_count", + "members", } allProperties := make(map[string]interface{}) @@ -319,11 +588,19 @@ func (o *VirtualChassis) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") + delete(additionalProperties, "domain") delete(additionalProperties, "master") delete(additionalProperties, "description") + delete(additionalProperties, "comments") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "created") + delete(additionalProperties, "last_updated") delete(additionalProperties, "member_count") + delete(additionalProperties, "members") o.AdditionalProperties = additionalProperties } diff --git a/model_virtual_chassis_request.go b/model_virtual_chassis_request.go index 12a6c68c6..c9545b170 100644 --- a/model_virtual_chassis_request.go +++ b/model_virtual_chassis_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,8 +21,12 @@ var _ MappedNullable = &VirtualChassisRequest{} // VirtualChassisRequest Adds support for custom fields and tags. type VirtualChassisRequest struct { Name string `json:"name"` + Domain *string `json:"domain,omitempty"` Master NullableNestedDeviceRequest `json:"master,omitempty"` Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -70,6 +74,38 @@ func (o *VirtualChassisRequest) SetName(v string) { o.Name = v } +// GetDomain returns the Domain field value if set, zero value otherwise. +func (o *VirtualChassisRequest) GetDomain() string { + if o == nil || IsNil(o.Domain) { + var ret string + return ret + } + return *o.Domain +} + +// GetDomainOk returns a tuple with the Domain field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VirtualChassisRequest) GetDomainOk() (*string, bool) { + if o == nil || IsNil(o.Domain) { + return nil, false + } + return o.Domain, true +} + +// HasDomain returns a boolean if a field has been set. +func (o *VirtualChassisRequest) HasDomain() bool { + if o != nil && !IsNil(o.Domain) { + return true + } + + return false +} + +// SetDomain gets a reference to the given string and assigns it to the Domain field. +func (o *VirtualChassisRequest) SetDomain(v string) { + o.Domain = &v +} + // GetMaster returns the Master field value if set, zero value otherwise (both if not set or set to explicit null). func (o *VirtualChassisRequest) GetMaster() NestedDeviceRequest { if o == nil || IsNil(o.Master.Get()) { @@ -145,6 +181,102 @@ func (o *VirtualChassisRequest) SetDescription(v string) { o.Description = &v } +// GetComments returns the Comments field value if set, zero value otherwise. +func (o *VirtualChassisRequest) GetComments() string { + if o == nil || IsNil(o.Comments) { + var ret string + return ret + } + return *o.Comments +} + +// GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VirtualChassisRequest) GetCommentsOk() (*string, bool) { + if o == nil || IsNil(o.Comments) { + return nil, false + } + return o.Comments, true +} + +// HasComments returns a boolean if a field has been set. +func (o *VirtualChassisRequest) HasComments() bool { + if o != nil && !IsNil(o.Comments) { + return true + } + + return false +} + +// SetComments gets a reference to the given string and assigns it to the Comments field. +func (o *VirtualChassisRequest) SetComments(v string) { + o.Comments = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *VirtualChassisRequest) GetTags() []NestedTagRequest { + if o == nil || IsNil(o.Tags) { + var ret []NestedTagRequest + 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 *VirtualChassisRequest) GetTagsOk() ([]NestedTagRequest, 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 *VirtualChassisRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTagRequest and assigns it to the Tags field. +func (o *VirtualChassisRequest) SetTags(v []NestedTagRequest) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *VirtualChassisRequest) 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 *VirtualChassisRequest) 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 *VirtualChassisRequest) 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 *VirtualChassisRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + func (o VirtualChassisRequest) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -156,12 +288,24 @@ func (o VirtualChassisRequest) MarshalJSON() ([]byte, error) { func (o VirtualChassisRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["name"] = o.Name + if !IsNil(o.Domain) { + toSerialize["domain"] = o.Domain + } if o.Master.IsSet() { toSerialize["master"] = o.Master.Get() } if !IsNil(o.Description) { toSerialize["description"] = o.Description } + if !IsNil(o.Comments) { + toSerialize["comments"] = o.Comments + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -206,8 +350,12 @@ func (o *VirtualChassisRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "name") + delete(additionalProperties, "domain") delete(additionalProperties, "master") delete(additionalProperties, "description") + delete(additionalProperties, "comments") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") o.AdditionalProperties = additionalProperties } diff --git a/model_virtual_device_context.go b/model_virtual_device_context.go index 8e7c0ec50..5be94c7a9 100644 --- a/model_virtual_device_context.go +++ b/model_virtual_device_context.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -23,14 +23,15 @@ var _ MappedNullable = &VirtualDeviceContext{} type VirtualDeviceContext struct { Id int32 `json:"id"` Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` Display string `json:"display"` Name string `json:"name"` - Device Device `json:"device"` + Device BriefDevice `json:"device"` Identifier NullableInt32 `json:"identifier,omitempty"` - Tenant NullableTenant `json:"tenant,omitempty"` - PrimaryIp NullableIPAddress `json:"primary_ip"` - PrimaryIp4 NullableIPAddress `json:"primary_ip4,omitempty"` - PrimaryIp6 NullableIPAddress `json:"primary_ip6,omitempty"` + Tenant NullableBriefTenant `json:"tenant,omitempty"` + PrimaryIp NullableBriefIPAddress `json:"primary_ip"` + PrimaryIp4 NullableBriefIPAddress `json:"primary_ip4,omitempty"` + PrimaryIp6 NullableBriefIPAddress `json:"primary_ip6,omitempty"` Status VirtualDeviceContextStatus `json:"status"` Description *string `json:"description,omitempty"` Comments *string `json:"comments,omitempty"` @@ -48,7 +49,7 @@ type _VirtualDeviceContext VirtualDeviceContext // This constructor will assign default values to properties that have it defined, // and 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(id int32, url string, display string, name string, device Device, primaryIp NullableIPAddress, status VirtualDeviceContextStatus, created NullableTime, lastUpdated NullableTime, interfaceCount int64) *VirtualDeviceContext { +func NewVirtualDeviceContext(id int32, url string, display string, name string, device BriefDevice, primaryIp NullableBriefIPAddress, status VirtualDeviceContextStatus, created NullableTime, lastUpdated NullableTime, interfaceCount int64) *VirtualDeviceContext { this := VirtualDeviceContext{} this.Id = id this.Url = url @@ -119,6 +120,38 @@ func (o *VirtualDeviceContext) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *VirtualDeviceContext) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VirtualDeviceContext) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *VirtualDeviceContext) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *VirtualDeviceContext) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *VirtualDeviceContext) GetDisplay() string { if o == nil { @@ -168,9 +201,9 @@ func (o *VirtualDeviceContext) SetName(v string) { } // GetDevice returns the Device field value -func (o *VirtualDeviceContext) GetDevice() Device { +func (o *VirtualDeviceContext) GetDevice() BriefDevice { if o == nil { - var ret Device + var ret BriefDevice return ret } @@ -179,7 +212,7 @@ func (o *VirtualDeviceContext) GetDevice() 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() (*Device, bool) { +func (o *VirtualDeviceContext) GetDeviceOk() (*BriefDevice, bool) { if o == nil { return nil, false } @@ -187,7 +220,7 @@ func (o *VirtualDeviceContext) GetDeviceOk() (*Device, bool) { } // SetDevice sets field value -func (o *VirtualDeviceContext) SetDevice(v Device) { +func (o *VirtualDeviceContext) SetDevice(v BriefDevice) { o.Device = v } @@ -235,9 +268,9 @@ func (o *VirtualDeviceContext) UnsetIdentifier() { } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *VirtualDeviceContext) GetTenant() Tenant { +func (o *VirtualDeviceContext) GetTenant() BriefTenant { if o == nil || IsNil(o.Tenant.Get()) { - var ret Tenant + var ret BriefTenant return ret } return *o.Tenant.Get() @@ -246,7 +279,7 @@ func (o *VirtualDeviceContext) GetTenant() Tenant { // 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() (*Tenant, bool) { +func (o *VirtualDeviceContext) GetTenantOk() (*BriefTenant, bool) { if o == nil { return nil, false } @@ -262,8 +295,8 @@ func (o *VirtualDeviceContext) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenant and assigns it to the Tenant field. -func (o *VirtualDeviceContext) SetTenant(v Tenant) { +// SetTenant gets a reference to the given NullableBriefTenant and assigns it to the Tenant field. +func (o *VirtualDeviceContext) SetTenant(v BriefTenant) { o.Tenant.Set(&v) } @@ -278,10 +311,10 @@ func (o *VirtualDeviceContext) UnsetTenant() { } // GetPrimaryIp returns the PrimaryIp field value -// If the value is explicit nil, the zero value for IPAddress will be returned -func (o *VirtualDeviceContext) GetPrimaryIp() IPAddress { +// If the value is explicit nil, the zero value for BriefIPAddress will be returned +func (o *VirtualDeviceContext) GetPrimaryIp() BriefIPAddress { if o == nil || o.PrimaryIp.Get() == nil { - var ret IPAddress + var ret BriefIPAddress return ret } @@ -291,7 +324,7 @@ func (o *VirtualDeviceContext) GetPrimaryIp() IPAddress { // GetPrimaryIpOk returns a tuple with the PrimaryIp 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) GetPrimaryIpOk() (*IPAddress, bool) { +func (o *VirtualDeviceContext) GetPrimaryIpOk() (*BriefIPAddress, bool) { if o == nil { return nil, false } @@ -299,14 +332,14 @@ func (o *VirtualDeviceContext) GetPrimaryIpOk() (*IPAddress, bool) { } // SetPrimaryIp sets field value -func (o *VirtualDeviceContext) SetPrimaryIp(v IPAddress) { +func (o *VirtualDeviceContext) SetPrimaryIp(v BriefIPAddress) { o.PrimaryIp.Set(&v) } // GetPrimaryIp4 returns the PrimaryIp4 field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *VirtualDeviceContext) GetPrimaryIp4() IPAddress { +func (o *VirtualDeviceContext) GetPrimaryIp4() BriefIPAddress { if o == nil || IsNil(o.PrimaryIp4.Get()) { - var ret IPAddress + var ret BriefIPAddress return ret } return *o.PrimaryIp4.Get() @@ -315,7 +348,7 @@ func (o *VirtualDeviceContext) GetPrimaryIp4() IPAddress { // 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() (*IPAddress, bool) { +func (o *VirtualDeviceContext) GetPrimaryIp4Ok() (*BriefIPAddress, bool) { if o == nil { return nil, false } @@ -331,8 +364,8 @@ func (o *VirtualDeviceContext) HasPrimaryIp4() bool { return false } -// SetPrimaryIp4 gets a reference to the given NullableIPAddress and assigns it to the PrimaryIp4 field. -func (o *VirtualDeviceContext) SetPrimaryIp4(v IPAddress) { +// SetPrimaryIp4 gets a reference to the given NullableBriefIPAddress and assigns it to the PrimaryIp4 field. +func (o *VirtualDeviceContext) SetPrimaryIp4(v BriefIPAddress) { o.PrimaryIp4.Set(&v) } @@ -347,9 +380,9 @@ func (o *VirtualDeviceContext) UnsetPrimaryIp4() { } // GetPrimaryIp6 returns the PrimaryIp6 field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *VirtualDeviceContext) GetPrimaryIp6() IPAddress { +func (o *VirtualDeviceContext) GetPrimaryIp6() BriefIPAddress { if o == nil || IsNil(o.PrimaryIp6.Get()) { - var ret IPAddress + var ret BriefIPAddress return ret } return *o.PrimaryIp6.Get() @@ -358,7 +391,7 @@ func (o *VirtualDeviceContext) GetPrimaryIp6() IPAddress { // 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() (*IPAddress, bool) { +func (o *VirtualDeviceContext) GetPrimaryIp6Ok() (*BriefIPAddress, bool) { if o == nil { return nil, false } @@ -374,8 +407,8 @@ func (o *VirtualDeviceContext) HasPrimaryIp6() bool { return false } -// SetPrimaryIp6 gets a reference to the given NullableIPAddress and assigns it to the PrimaryIp6 field. -func (o *VirtualDeviceContext) SetPrimaryIp6(v IPAddress) { +// SetPrimaryIp6 gets a reference to the given NullableBriefIPAddress and assigns it to the PrimaryIp6 field. +func (o *VirtualDeviceContext) SetPrimaryIp6(v BriefIPAddress) { o.PrimaryIp6.Set(&v) } @@ -629,6 +662,9 @@ func (o VirtualDeviceContext) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["name"] = o.Name toSerialize["device"] = o.Device @@ -715,6 +751,7 @@ func (o *VirtualDeviceContext) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") delete(additionalProperties, "device") diff --git a/model_virtual_device_context_request.go b/model_virtual_device_context_request.go index 64ba644f6..4dd3b1833 100644 --- a/model_virtual_device_context_request.go +++ b/model_virtual_device_context_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,11 +21,11 @@ var _ MappedNullable = &VirtualDeviceContextRequest{} // VirtualDeviceContextRequest Adds support for custom fields and tags. type VirtualDeviceContextRequest struct { Name string `json:"name"` - Device DeviceRequest `json:"device"` + Device BriefDeviceRequest `json:"device"` Identifier NullableInt32 `json:"identifier,omitempty"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` - PrimaryIp4 NullableIPAddressRequest `json:"primary_ip4,omitempty"` - PrimaryIp6 NullableIPAddressRequest `json:"primary_ip6,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` + PrimaryIp4 NullableBriefIPAddressRequest `json:"primary_ip4,omitempty"` + PrimaryIp6 NullableBriefIPAddressRequest `json:"primary_ip6,omitempty"` Status PatchedWritableVirtualDeviceContextRequestStatus `json:"status"` Description *string `json:"description,omitempty"` Comments *string `json:"comments,omitempty"` @@ -40,7 +40,7 @@ type _VirtualDeviceContextRequest VirtualDeviceContextRequest // This constructor will assign default values to properties that have it defined, // and 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 DeviceRequest, status PatchedWritableVirtualDeviceContextRequestStatus) *VirtualDeviceContextRequest { +func NewVirtualDeviceContextRequest(name string, device BriefDeviceRequest, status PatchedWritableVirtualDeviceContextRequestStatus) *VirtualDeviceContextRequest { this := VirtualDeviceContextRequest{} this.Name = name this.Device = device @@ -81,9 +81,9 @@ func (o *VirtualDeviceContextRequest) SetName(v string) { } // GetDevice returns the Device field value -func (o *VirtualDeviceContextRequest) GetDevice() DeviceRequest { +func (o *VirtualDeviceContextRequest) GetDevice() BriefDeviceRequest { if o == nil { - var ret DeviceRequest + var ret BriefDeviceRequest return ret } @@ -92,7 +92,7 @@ func (o *VirtualDeviceContextRequest) GetDevice() DeviceRequest { // GetDeviceOk returns a tuple with the Device field value // and a boolean to check if the value has been set. -func (o *VirtualDeviceContextRequest) GetDeviceOk() (*DeviceRequest, bool) { +func (o *VirtualDeviceContextRequest) GetDeviceOk() (*BriefDeviceRequest, bool) { if o == nil { return nil, false } @@ -100,7 +100,7 @@ func (o *VirtualDeviceContextRequest) GetDeviceOk() (*DeviceRequest, bool) { } // SetDevice sets field value -func (o *VirtualDeviceContextRequest) SetDevice(v DeviceRequest) { +func (o *VirtualDeviceContextRequest) SetDevice(v BriefDeviceRequest) { o.Device = v } @@ -148,9 +148,9 @@ func (o *VirtualDeviceContextRequest) UnsetIdentifier() { } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *VirtualDeviceContextRequest) GetTenant() TenantRequest { +func (o *VirtualDeviceContextRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -159,7 +159,7 @@ func (o *VirtualDeviceContextRequest) GetTenant() TenantRequest { // 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() (*TenantRequest, bool) { +func (o *VirtualDeviceContextRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -175,8 +175,8 @@ func (o *VirtualDeviceContextRequest) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *VirtualDeviceContextRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *VirtualDeviceContextRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } @@ -191,9 +191,9 @@ func (o *VirtualDeviceContextRequest) UnsetTenant() { } // GetPrimaryIp4 returns the PrimaryIp4 field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *VirtualDeviceContextRequest) GetPrimaryIp4() IPAddressRequest { +func (o *VirtualDeviceContextRequest) GetPrimaryIp4() BriefIPAddressRequest { if o == nil || IsNil(o.PrimaryIp4.Get()) { - var ret IPAddressRequest + var ret BriefIPAddressRequest return ret } return *o.PrimaryIp4.Get() @@ -202,7 +202,7 @@ func (o *VirtualDeviceContextRequest) GetPrimaryIp4() IPAddressRequest { // 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() (*IPAddressRequest, bool) { +func (o *VirtualDeviceContextRequest) GetPrimaryIp4Ok() (*BriefIPAddressRequest, bool) { if o == nil { return nil, false } @@ -218,8 +218,8 @@ func (o *VirtualDeviceContextRequest) HasPrimaryIp4() bool { return false } -// SetPrimaryIp4 gets a reference to the given NullableIPAddressRequest and assigns it to the PrimaryIp4 field. -func (o *VirtualDeviceContextRequest) SetPrimaryIp4(v IPAddressRequest) { +// SetPrimaryIp4 gets a reference to the given NullableBriefIPAddressRequest and assigns it to the PrimaryIp4 field. +func (o *VirtualDeviceContextRequest) SetPrimaryIp4(v BriefIPAddressRequest) { o.PrimaryIp4.Set(&v) } @@ -234,9 +234,9 @@ func (o *VirtualDeviceContextRequest) UnsetPrimaryIp4() { } // GetPrimaryIp6 returns the PrimaryIp6 field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *VirtualDeviceContextRequest) GetPrimaryIp6() IPAddressRequest { +func (o *VirtualDeviceContextRequest) GetPrimaryIp6() BriefIPAddressRequest { if o == nil || IsNil(o.PrimaryIp6.Get()) { - var ret IPAddressRequest + var ret BriefIPAddressRequest return ret } return *o.PrimaryIp6.Get() @@ -245,7 +245,7 @@ func (o *VirtualDeviceContextRequest) GetPrimaryIp6() IPAddressRequest { // 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() (*IPAddressRequest, bool) { +func (o *VirtualDeviceContextRequest) GetPrimaryIp6Ok() (*BriefIPAddressRequest, bool) { if o == nil { return nil, false } @@ -261,8 +261,8 @@ func (o *VirtualDeviceContextRequest) HasPrimaryIp6() bool { return false } -// SetPrimaryIp6 gets a reference to the given NullableIPAddressRequest and assigns it to the PrimaryIp6 field. -func (o *VirtualDeviceContextRequest) SetPrimaryIp6(v IPAddressRequest) { +// SetPrimaryIp6 gets a reference to the given NullableBriefIPAddressRequest and assigns it to the PrimaryIp6 field. +func (o *VirtualDeviceContextRequest) SetPrimaryIp6(v BriefIPAddressRequest) { o.PrimaryIp6.Set(&v) } diff --git a/model_virtual_device_context_status.go b/model_virtual_device_context_status.go index 121a4f6ab..036e64d3b 100644 --- a/model_virtual_device_context_status.go +++ b/model_virtual_device_context_status.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_virtual_device_context_status_label.go b/model_virtual_device_context_status_label.go index 01cf885ef..767c29072 100644 --- a/model_virtual_device_context_status_label.go +++ b/model_virtual_device_context_status_label.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_virtual_disk.go b/model_virtual_disk.go index 581eae9f1..993fa6b49 100644 --- a/model_virtual_disk.go +++ b/model_virtual_disk.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -23,8 +23,9 @@ var _ MappedNullable = &VirtualDisk{} type VirtualDisk struct { Id int32 `json:"id"` Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` Display string `json:"display"` - VirtualMachine VirtualMachine `json:"virtual_machine"` + VirtualMachine BriefVirtualMachine `json:"virtual_machine"` Name string `json:"name"` Description *string `json:"description,omitempty"` Size int32 `json:"size"` @@ -41,7 +42,7 @@ type _VirtualDisk VirtualDisk // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewVirtualDisk(id int32, url string, display string, virtualMachine VirtualMachine, name string, size int32, created NullableTime, lastUpdated NullableTime) *VirtualDisk { +func NewVirtualDisk(id int32, url string, display string, virtualMachine BriefVirtualMachine, name string, size int32, created NullableTime, lastUpdated NullableTime) *VirtualDisk { this := VirtualDisk{} this.Id = id this.Url = url @@ -110,6 +111,38 @@ func (o *VirtualDisk) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *VirtualDisk) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VirtualDisk) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *VirtualDisk) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *VirtualDisk) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *VirtualDisk) GetDisplay() string { if o == nil { @@ -135,9 +168,9 @@ func (o *VirtualDisk) SetDisplay(v string) { } // GetVirtualMachine returns the VirtualMachine field value -func (o *VirtualDisk) GetVirtualMachine() VirtualMachine { +func (o *VirtualDisk) GetVirtualMachine() BriefVirtualMachine { if o == nil { - var ret VirtualMachine + var ret BriefVirtualMachine return ret } @@ -146,7 +179,7 @@ func (o *VirtualDisk) GetVirtualMachine() VirtualMachine { // GetVirtualMachineOk returns a tuple with the VirtualMachine field value // and a boolean to check if the value has been set. -func (o *VirtualDisk) GetVirtualMachineOk() (*VirtualMachine, bool) { +func (o *VirtualDisk) GetVirtualMachineOk() (*BriefVirtualMachine, bool) { if o == nil { return nil, false } @@ -154,7 +187,7 @@ func (o *VirtualDisk) GetVirtualMachineOk() (*VirtualMachine, bool) { } // SetVirtualMachine sets field value -func (o *VirtualDisk) SetVirtualMachine(v VirtualMachine) { +func (o *VirtualDisk) SetVirtualMachine(v BriefVirtualMachine) { o.VirtualMachine = v } @@ -366,6 +399,9 @@ func (o VirtualDisk) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["virtual_machine"] = o.VirtualMachine toSerialize["name"] = o.Name @@ -433,6 +469,7 @@ func (o *VirtualDisk) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "virtual_machine") delete(additionalProperties, "name") diff --git a/model_virtual_disk_request.go b/model_virtual_disk_request.go index 1403ba9b1..334972705 100644 --- a/model_virtual_disk_request.go +++ b/model_virtual_disk_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,12 +20,12 @@ var _ MappedNullable = &VirtualDiskRequest{} // VirtualDiskRequest Adds support for custom fields and tags. type VirtualDiskRequest struct { - VirtualMachine VirtualMachineRequest `json:"virtual_machine"` - Name string `json:"name"` - Description *string `json:"description,omitempty"` - Size int32 `json:"size"` - Tags []NestedTagRequest `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + VirtualMachine BriefVirtualMachineRequest `json:"virtual_machine"` + Name string `json:"name"` + Description *string `json:"description,omitempty"` + Size int32 `json:"size"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -35,7 +35,7 @@ type _VirtualDiskRequest VirtualDiskRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewVirtualDiskRequest(virtualMachine VirtualMachineRequest, name string, size int32) *VirtualDiskRequest { +func NewVirtualDiskRequest(virtualMachine BriefVirtualMachineRequest, name string, size int32) *VirtualDiskRequest { this := VirtualDiskRequest{} this.VirtualMachine = virtualMachine this.Name = name @@ -52,9 +52,9 @@ func NewVirtualDiskRequestWithDefaults() *VirtualDiskRequest { } // GetVirtualMachine returns the VirtualMachine field value -func (o *VirtualDiskRequest) GetVirtualMachine() VirtualMachineRequest { +func (o *VirtualDiskRequest) GetVirtualMachine() BriefVirtualMachineRequest { if o == nil { - var ret VirtualMachineRequest + var ret BriefVirtualMachineRequest return ret } @@ -63,7 +63,7 @@ func (o *VirtualDiskRequest) GetVirtualMachine() VirtualMachineRequest { // GetVirtualMachineOk returns a tuple with the VirtualMachine field value // and a boolean to check if the value has been set. -func (o *VirtualDiskRequest) GetVirtualMachineOk() (*VirtualMachineRequest, bool) { +func (o *VirtualDiskRequest) GetVirtualMachineOk() (*BriefVirtualMachineRequest, bool) { if o == nil { return nil, false } @@ -71,7 +71,7 @@ func (o *VirtualDiskRequest) GetVirtualMachineOk() (*VirtualMachineRequest, bool } // SetVirtualMachine sets field value -func (o *VirtualDiskRequest) SetVirtualMachine(v VirtualMachineRequest) { +func (o *VirtualDiskRequest) SetVirtualMachine(v BriefVirtualMachineRequest) { o.VirtualMachine = v } diff --git a/model_virtual_machine_with_config_context.go b/model_virtual_machine_with_config_context.go index b51baaf12..019f3e45d 100644 --- a/model_virtual_machine_with_config_context.go +++ b/model_virtual_machine_with_config_context.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,26 +21,28 @@ var _ MappedNullable = &VirtualMachineWithConfigContext{} // VirtualMachineWithConfigContext Adds support for custom fields and tags. type VirtualMachineWithConfigContext struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - Name string `json:"name"` - Status *VirtualMachineWithConfigContextStatus `json:"status,omitempty"` - Site NullableSite `json:"site,omitempty"` - Cluster NullableCluster `json:"cluster,omitempty"` - Device NullableDevice `json:"device,omitempty"` - Role NullableDeviceRole `json:"role,omitempty"` - Tenant NullableTenant `json:"tenant,omitempty"` - Platform NullablePlatform `json:"platform,omitempty"` - PrimaryIp NullableIPAddress `json:"primary_ip"` - PrimaryIp4 NullableIPAddress `json:"primary_ip4,omitempty"` - PrimaryIp6 NullableIPAddress `json:"primary_ip6,omitempty"` - Vcpus NullableFloat64 `json:"vcpus,omitempty"` - Memory NullableInt32 `json:"memory,omitempty"` - Disk NullableInt32 `json:"disk,omitempty"` - Description *string `json:"description,omitempty"` - Comments *string `json:"comments,omitempty"` - ConfigTemplate NullableConfigTemplate `json:"config_template,omitempty"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Name string `json:"name"` + Status *ModuleStatus `json:"status,omitempty"` + Site NullableBriefSite `json:"site,omitempty"` + Cluster NullableBriefCluster `json:"cluster,omitempty"` + Device NullableBriefDevice `json:"device,omitempty"` + Serial *string `json:"serial,omitempty"` + Role NullableBriefDeviceRole `json:"role,omitempty"` + Tenant NullableBriefTenant `json:"tenant,omitempty"` + Platform NullableBriefPlatform `json:"platform,omitempty"` + PrimaryIp NullableBriefIPAddress `json:"primary_ip"` + PrimaryIp4 NullableBriefIPAddress `json:"primary_ip4,omitempty"` + PrimaryIp6 NullableBriefIPAddress `json:"primary_ip6,omitempty"` + Vcpus NullableFloat64 `json:"vcpus,omitempty"` + Memory NullableInt32 `json:"memory,omitempty"` + Disk NullableInt32 `json:"disk,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + ConfigTemplate NullableBriefConfigTemplate `json:"config_template,omitempty"` // Local config context data takes precedence over source contexts in the final rendered config context LocalContextData interface{} `json:"local_context_data,omitempty"` Tags []NestedTag `json:"tags,omitempty"` @@ -59,7 +61,7 @@ type _VirtualMachineWithConfigContext VirtualMachineWithConfigContext // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewVirtualMachineWithConfigContext(id int32, url string, display string, name string, primaryIp NullableIPAddress, configContext interface{}, created NullableTime, lastUpdated NullableTime, interfaceCount int32, virtualDiskCount int32) *VirtualMachineWithConfigContext { +func NewVirtualMachineWithConfigContext(id int32, url string, display string, name string, primaryIp NullableBriefIPAddress, configContext interface{}, created NullableTime, lastUpdated NullableTime, interfaceCount int32, virtualDiskCount int32) *VirtualMachineWithConfigContext { this := VirtualMachineWithConfigContext{} this.Id = id this.Url = url @@ -130,6 +132,38 @@ func (o *VirtualMachineWithConfigContext) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *VirtualMachineWithConfigContext) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VirtualMachineWithConfigContext) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *VirtualMachineWithConfigContext) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *VirtualMachineWithConfigContext) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *VirtualMachineWithConfigContext) GetDisplay() string { if o == nil { @@ -179,9 +213,9 @@ func (o *VirtualMachineWithConfigContext) SetName(v string) { } // GetStatus returns the Status field value if set, zero value otherwise. -func (o *VirtualMachineWithConfigContext) GetStatus() VirtualMachineWithConfigContextStatus { +func (o *VirtualMachineWithConfigContext) GetStatus() ModuleStatus { if o == nil || IsNil(o.Status) { - var ret VirtualMachineWithConfigContextStatus + var ret ModuleStatus return ret } return *o.Status @@ -189,7 +223,7 @@ func (o *VirtualMachineWithConfigContext) GetStatus() VirtualMachineWithConfigCo // 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 *VirtualMachineWithConfigContext) GetStatusOk() (*VirtualMachineWithConfigContextStatus, bool) { +func (o *VirtualMachineWithConfigContext) GetStatusOk() (*ModuleStatus, bool) { if o == nil || IsNil(o.Status) { return nil, false } @@ -205,15 +239,15 @@ func (o *VirtualMachineWithConfigContext) HasStatus() bool { return false } -// SetStatus gets a reference to the given VirtualMachineWithConfigContextStatus and assigns it to the Status field. -func (o *VirtualMachineWithConfigContext) SetStatus(v VirtualMachineWithConfigContextStatus) { +// SetStatus gets a reference to the given ModuleStatus and assigns it to the Status field. +func (o *VirtualMachineWithConfigContext) SetStatus(v ModuleStatus) { o.Status = &v } // GetSite returns the Site field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *VirtualMachineWithConfigContext) GetSite() Site { +func (o *VirtualMachineWithConfigContext) GetSite() BriefSite { if o == nil || IsNil(o.Site.Get()) { - var ret Site + var ret BriefSite return ret } return *o.Site.Get() @@ -222,7 +256,7 @@ func (o *VirtualMachineWithConfigContext) GetSite() Site { // GetSiteOk returns a tuple with the Site 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 *VirtualMachineWithConfigContext) GetSiteOk() (*Site, bool) { +func (o *VirtualMachineWithConfigContext) GetSiteOk() (*BriefSite, bool) { if o == nil { return nil, false } @@ -238,8 +272,8 @@ func (o *VirtualMachineWithConfigContext) HasSite() bool { return false } -// SetSite gets a reference to the given NullableSite and assigns it to the Site field. -func (o *VirtualMachineWithConfigContext) SetSite(v Site) { +// SetSite gets a reference to the given NullableBriefSite and assigns it to the Site field. +func (o *VirtualMachineWithConfigContext) SetSite(v BriefSite) { o.Site.Set(&v) } @@ -254,9 +288,9 @@ func (o *VirtualMachineWithConfigContext) UnsetSite() { } // GetCluster returns the Cluster field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *VirtualMachineWithConfigContext) GetCluster() Cluster { +func (o *VirtualMachineWithConfigContext) GetCluster() BriefCluster { if o == nil || IsNil(o.Cluster.Get()) { - var ret Cluster + var ret BriefCluster return ret } return *o.Cluster.Get() @@ -265,7 +299,7 @@ func (o *VirtualMachineWithConfigContext) GetCluster() Cluster { // GetClusterOk returns a tuple with the Cluster 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 *VirtualMachineWithConfigContext) GetClusterOk() (*Cluster, bool) { +func (o *VirtualMachineWithConfigContext) GetClusterOk() (*BriefCluster, bool) { if o == nil { return nil, false } @@ -281,8 +315,8 @@ func (o *VirtualMachineWithConfigContext) HasCluster() bool { return false } -// SetCluster gets a reference to the given NullableCluster and assigns it to the Cluster field. -func (o *VirtualMachineWithConfigContext) SetCluster(v Cluster) { +// SetCluster gets a reference to the given NullableBriefCluster and assigns it to the Cluster field. +func (o *VirtualMachineWithConfigContext) SetCluster(v BriefCluster) { o.Cluster.Set(&v) } @@ -297,9 +331,9 @@ func (o *VirtualMachineWithConfigContext) UnsetCluster() { } // GetDevice returns the Device field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *VirtualMachineWithConfigContext) GetDevice() Device { +func (o *VirtualMachineWithConfigContext) GetDevice() BriefDevice { if o == nil || IsNil(o.Device.Get()) { - var ret Device + var ret BriefDevice return ret } return *o.Device.Get() @@ -308,7 +342,7 @@ func (o *VirtualMachineWithConfigContext) GetDevice() 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. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *VirtualMachineWithConfigContext) GetDeviceOk() (*Device, bool) { +func (o *VirtualMachineWithConfigContext) GetDeviceOk() (*BriefDevice, bool) { if o == nil { return nil, false } @@ -324,8 +358,8 @@ func (o *VirtualMachineWithConfigContext) HasDevice() bool { return false } -// SetDevice gets a reference to the given NullableDevice and assigns it to the Device field. -func (o *VirtualMachineWithConfigContext) SetDevice(v Device) { +// SetDevice gets a reference to the given NullableBriefDevice and assigns it to the Device field. +func (o *VirtualMachineWithConfigContext) SetDevice(v BriefDevice) { o.Device.Set(&v) } @@ -339,10 +373,42 @@ func (o *VirtualMachineWithConfigContext) UnsetDevice() { o.Device.Unset() } +// GetSerial returns the Serial field value if set, zero value otherwise. +func (o *VirtualMachineWithConfigContext) GetSerial() string { + if o == nil || IsNil(o.Serial) { + var ret string + return ret + } + return *o.Serial +} + +// GetSerialOk returns a tuple with the Serial field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VirtualMachineWithConfigContext) GetSerialOk() (*string, bool) { + if o == nil || IsNil(o.Serial) { + return nil, false + } + return o.Serial, true +} + +// HasSerial returns a boolean if a field has been set. +func (o *VirtualMachineWithConfigContext) HasSerial() bool { + if o != nil && !IsNil(o.Serial) { + return true + } + + return false +} + +// SetSerial gets a reference to the given string and assigns it to the Serial field. +func (o *VirtualMachineWithConfigContext) SetSerial(v string) { + o.Serial = &v +} + // GetRole returns the Role field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *VirtualMachineWithConfigContext) GetRole() DeviceRole { +func (o *VirtualMachineWithConfigContext) GetRole() BriefDeviceRole { if o == nil || IsNil(o.Role.Get()) { - var ret DeviceRole + var ret BriefDeviceRole return ret } return *o.Role.Get() @@ -351,7 +417,7 @@ func (o *VirtualMachineWithConfigContext) GetRole() DeviceRole { // 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 *VirtualMachineWithConfigContext) GetRoleOk() (*DeviceRole, bool) { +func (o *VirtualMachineWithConfigContext) GetRoleOk() (*BriefDeviceRole, bool) { if o == nil { return nil, false } @@ -367,8 +433,8 @@ func (o *VirtualMachineWithConfigContext) HasRole() bool { return false } -// SetRole gets a reference to the given NullableDeviceRole and assigns it to the Role field. -func (o *VirtualMachineWithConfigContext) SetRole(v DeviceRole) { +// SetRole gets a reference to the given NullableBriefDeviceRole and assigns it to the Role field. +func (o *VirtualMachineWithConfigContext) SetRole(v BriefDeviceRole) { o.Role.Set(&v) } @@ -383,9 +449,9 @@ func (o *VirtualMachineWithConfigContext) UnsetRole() { } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *VirtualMachineWithConfigContext) GetTenant() Tenant { +func (o *VirtualMachineWithConfigContext) GetTenant() BriefTenant { if o == nil || IsNil(o.Tenant.Get()) { - var ret Tenant + var ret BriefTenant return ret } return *o.Tenant.Get() @@ -394,7 +460,7 @@ func (o *VirtualMachineWithConfigContext) GetTenant() Tenant { // 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 *VirtualMachineWithConfigContext) GetTenantOk() (*Tenant, bool) { +func (o *VirtualMachineWithConfigContext) GetTenantOk() (*BriefTenant, bool) { if o == nil { return nil, false } @@ -410,8 +476,8 @@ func (o *VirtualMachineWithConfigContext) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenant and assigns it to the Tenant field. -func (o *VirtualMachineWithConfigContext) SetTenant(v Tenant) { +// SetTenant gets a reference to the given NullableBriefTenant and assigns it to the Tenant field. +func (o *VirtualMachineWithConfigContext) SetTenant(v BriefTenant) { o.Tenant.Set(&v) } @@ -426,9 +492,9 @@ func (o *VirtualMachineWithConfigContext) UnsetTenant() { } // GetPlatform returns the Platform field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *VirtualMachineWithConfigContext) GetPlatform() Platform { +func (o *VirtualMachineWithConfigContext) GetPlatform() BriefPlatform { if o == nil || IsNil(o.Platform.Get()) { - var ret Platform + var ret BriefPlatform return ret } return *o.Platform.Get() @@ -437,7 +503,7 @@ func (o *VirtualMachineWithConfigContext) GetPlatform() Platform { // GetPlatformOk returns a tuple with the Platform 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 *VirtualMachineWithConfigContext) GetPlatformOk() (*Platform, bool) { +func (o *VirtualMachineWithConfigContext) GetPlatformOk() (*BriefPlatform, bool) { if o == nil { return nil, false } @@ -453,8 +519,8 @@ func (o *VirtualMachineWithConfigContext) HasPlatform() bool { return false } -// SetPlatform gets a reference to the given NullablePlatform and assigns it to the Platform field. -func (o *VirtualMachineWithConfigContext) SetPlatform(v Platform) { +// SetPlatform gets a reference to the given NullableBriefPlatform and assigns it to the Platform field. +func (o *VirtualMachineWithConfigContext) SetPlatform(v BriefPlatform) { o.Platform.Set(&v) } @@ -469,10 +535,10 @@ func (o *VirtualMachineWithConfigContext) UnsetPlatform() { } // GetPrimaryIp returns the PrimaryIp field value -// If the value is explicit nil, the zero value for IPAddress will be returned -func (o *VirtualMachineWithConfigContext) GetPrimaryIp() IPAddress { +// If the value is explicit nil, the zero value for BriefIPAddress will be returned +func (o *VirtualMachineWithConfigContext) GetPrimaryIp() BriefIPAddress { if o == nil || o.PrimaryIp.Get() == nil { - var ret IPAddress + var ret BriefIPAddress return ret } @@ -482,7 +548,7 @@ func (o *VirtualMachineWithConfigContext) GetPrimaryIp() IPAddress { // GetPrimaryIpOk returns a tuple with the PrimaryIp 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 *VirtualMachineWithConfigContext) GetPrimaryIpOk() (*IPAddress, bool) { +func (o *VirtualMachineWithConfigContext) GetPrimaryIpOk() (*BriefIPAddress, bool) { if o == nil { return nil, false } @@ -490,14 +556,14 @@ func (o *VirtualMachineWithConfigContext) GetPrimaryIpOk() (*IPAddress, bool) { } // SetPrimaryIp sets field value -func (o *VirtualMachineWithConfigContext) SetPrimaryIp(v IPAddress) { +func (o *VirtualMachineWithConfigContext) SetPrimaryIp(v BriefIPAddress) { o.PrimaryIp.Set(&v) } // GetPrimaryIp4 returns the PrimaryIp4 field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *VirtualMachineWithConfigContext) GetPrimaryIp4() IPAddress { +func (o *VirtualMachineWithConfigContext) GetPrimaryIp4() BriefIPAddress { if o == nil || IsNil(o.PrimaryIp4.Get()) { - var ret IPAddress + var ret BriefIPAddress return ret } return *o.PrimaryIp4.Get() @@ -506,7 +572,7 @@ func (o *VirtualMachineWithConfigContext) GetPrimaryIp4() IPAddress { // 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 *VirtualMachineWithConfigContext) GetPrimaryIp4Ok() (*IPAddress, bool) { +func (o *VirtualMachineWithConfigContext) GetPrimaryIp4Ok() (*BriefIPAddress, bool) { if o == nil { return nil, false } @@ -522,8 +588,8 @@ func (o *VirtualMachineWithConfigContext) HasPrimaryIp4() bool { return false } -// SetPrimaryIp4 gets a reference to the given NullableIPAddress and assigns it to the PrimaryIp4 field. -func (o *VirtualMachineWithConfigContext) SetPrimaryIp4(v IPAddress) { +// SetPrimaryIp4 gets a reference to the given NullableBriefIPAddress and assigns it to the PrimaryIp4 field. +func (o *VirtualMachineWithConfigContext) SetPrimaryIp4(v BriefIPAddress) { o.PrimaryIp4.Set(&v) } @@ -538,9 +604,9 @@ func (o *VirtualMachineWithConfigContext) UnsetPrimaryIp4() { } // GetPrimaryIp6 returns the PrimaryIp6 field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *VirtualMachineWithConfigContext) GetPrimaryIp6() IPAddress { +func (o *VirtualMachineWithConfigContext) GetPrimaryIp6() BriefIPAddress { if o == nil || IsNil(o.PrimaryIp6.Get()) { - var ret IPAddress + var ret BriefIPAddress return ret } return *o.PrimaryIp6.Get() @@ -549,7 +615,7 @@ func (o *VirtualMachineWithConfigContext) GetPrimaryIp6() IPAddress { // 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 *VirtualMachineWithConfigContext) GetPrimaryIp6Ok() (*IPAddress, bool) { +func (o *VirtualMachineWithConfigContext) GetPrimaryIp6Ok() (*BriefIPAddress, bool) { if o == nil { return nil, false } @@ -565,8 +631,8 @@ func (o *VirtualMachineWithConfigContext) HasPrimaryIp6() bool { return false } -// SetPrimaryIp6 gets a reference to the given NullableIPAddress and assigns it to the PrimaryIp6 field. -func (o *VirtualMachineWithConfigContext) SetPrimaryIp6(v IPAddress) { +// SetPrimaryIp6 gets a reference to the given NullableBriefIPAddress and assigns it to the PrimaryIp6 field. +func (o *VirtualMachineWithConfigContext) SetPrimaryIp6(v BriefIPAddress) { o.PrimaryIp6.Set(&v) } @@ -774,9 +840,9 @@ func (o *VirtualMachineWithConfigContext) SetComments(v string) { } // GetConfigTemplate returns the ConfigTemplate field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *VirtualMachineWithConfigContext) GetConfigTemplate() ConfigTemplate { +func (o *VirtualMachineWithConfigContext) GetConfigTemplate() BriefConfigTemplate { if o == nil || IsNil(o.ConfigTemplate.Get()) { - var ret ConfigTemplate + var ret BriefConfigTemplate return ret } return *o.ConfigTemplate.Get() @@ -785,7 +851,7 @@ func (o *VirtualMachineWithConfigContext) GetConfigTemplate() ConfigTemplate { // GetConfigTemplateOk returns a tuple with the ConfigTemplate 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 *VirtualMachineWithConfigContext) GetConfigTemplateOk() (*ConfigTemplate, bool) { +func (o *VirtualMachineWithConfigContext) GetConfigTemplateOk() (*BriefConfigTemplate, bool) { if o == nil { return nil, false } @@ -801,8 +867,8 @@ func (o *VirtualMachineWithConfigContext) HasConfigTemplate() bool { return false } -// SetConfigTemplate gets a reference to the given NullableConfigTemplate and assigns it to the ConfigTemplate field. -func (o *VirtualMachineWithConfigContext) SetConfigTemplate(v ConfigTemplate) { +// SetConfigTemplate gets a reference to the given NullableBriefConfigTemplate and assigns it to the ConfigTemplate field. +func (o *VirtualMachineWithConfigContext) SetConfigTemplate(v BriefConfigTemplate) { o.ConfigTemplate.Set(&v) } @@ -1051,6 +1117,9 @@ func (o VirtualMachineWithConfigContext) ToMap() (map[string]interface{}, error) toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["name"] = o.Name if !IsNil(o.Status) { @@ -1065,6 +1134,9 @@ func (o VirtualMachineWithConfigContext) ToMap() (map[string]interface{}, error) if o.Device.IsSet() { toSerialize["device"] = o.Device.Get() } + if !IsNil(o.Serial) { + toSerialize["serial"] = o.Serial + } if o.Role.IsSet() { toSerialize["role"] = o.Role.Get() } @@ -1169,12 +1241,14 @@ func (o *VirtualMachineWithConfigContext) UnmarshalJSON(data []byte) (err error) if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") delete(additionalProperties, "status") delete(additionalProperties, "site") delete(additionalProperties, "cluster") delete(additionalProperties, "device") + delete(additionalProperties, "serial") delete(additionalProperties, "role") delete(additionalProperties, "tenant") delete(additionalProperties, "platform") diff --git a/model_virtual_machine_with_config_context_request.go b/model_virtual_machine_with_config_context_request.go index 7795d684a..519ccd406 100644 --- a/model_virtual_machine_with_config_context_request.go +++ b/model_virtual_machine_with_config_context_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,22 +20,23 @@ var _ MappedNullable = &VirtualMachineWithConfigContextRequest{} // VirtualMachineWithConfigContextRequest Adds support for custom fields and tags. type VirtualMachineWithConfigContextRequest struct { - Name string `json:"name"` - Status *PatchedWritableModuleRequestStatus `json:"status,omitempty"` - Site NullableSiteRequest `json:"site,omitempty"` - Cluster NullableClusterRequest `json:"cluster,omitempty"` - Device NullableDeviceRequest `json:"device,omitempty"` - Role NullableDeviceRoleRequest `json:"role,omitempty"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` - Platform NullablePlatformRequest `json:"platform,omitempty"` - PrimaryIp4 NullableIPAddressRequest `json:"primary_ip4,omitempty"` - PrimaryIp6 NullableIPAddressRequest `json:"primary_ip6,omitempty"` - Vcpus NullableFloat64 `json:"vcpus,omitempty"` - Memory NullableInt32 `json:"memory,omitempty"` - Disk NullableInt32 `json:"disk,omitempty"` - Description *string `json:"description,omitempty"` - Comments *string `json:"comments,omitempty"` - ConfigTemplate NullableConfigTemplateRequest `json:"config_template,omitempty"` + Name string `json:"name"` + Status *ModuleStatusValue `json:"status,omitempty"` + Site NullableBriefSiteRequest `json:"site,omitempty"` + Cluster NullableBriefClusterRequest `json:"cluster,omitempty"` + Device NullableBriefDeviceRequest `json:"device,omitempty"` + Serial *string `json:"serial,omitempty"` + Role NullableBriefDeviceRoleRequest `json:"role,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` + Platform NullableBriefPlatformRequest `json:"platform,omitempty"` + PrimaryIp4 NullableBriefIPAddressRequest `json:"primary_ip4,omitempty"` + PrimaryIp6 NullableBriefIPAddressRequest `json:"primary_ip6,omitempty"` + Vcpus NullableFloat64 `json:"vcpus,omitempty"` + Memory NullableInt32 `json:"memory,omitempty"` + Disk NullableInt32 `json:"disk,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + ConfigTemplate NullableBriefConfigTemplateRequest `json:"config_template,omitempty"` // Local config context data takes precedence over source contexts in the final rendered config context LocalContextData interface{} `json:"local_context_data,omitempty"` Tags []NestedTagRequest `json:"tags,omitempty"` @@ -88,9 +89,9 @@ func (o *VirtualMachineWithConfigContextRequest) SetName(v string) { } // GetStatus returns the Status field value if set, zero value otherwise. -func (o *VirtualMachineWithConfigContextRequest) GetStatus() PatchedWritableModuleRequestStatus { +func (o *VirtualMachineWithConfigContextRequest) GetStatus() ModuleStatusValue { if o == nil || IsNil(o.Status) { - var ret PatchedWritableModuleRequestStatus + var ret ModuleStatusValue return ret } return *o.Status @@ -98,7 +99,7 @@ func (o *VirtualMachineWithConfigContextRequest) GetStatus() PatchedWritableModu // 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 *VirtualMachineWithConfigContextRequest) GetStatusOk() (*PatchedWritableModuleRequestStatus, bool) { +func (o *VirtualMachineWithConfigContextRequest) GetStatusOk() (*ModuleStatusValue, bool) { if o == nil || IsNil(o.Status) { return nil, false } @@ -114,15 +115,15 @@ func (o *VirtualMachineWithConfigContextRequest) HasStatus() bool { return false } -// SetStatus gets a reference to the given PatchedWritableModuleRequestStatus and assigns it to the Status field. -func (o *VirtualMachineWithConfigContextRequest) SetStatus(v PatchedWritableModuleRequestStatus) { +// SetStatus gets a reference to the given ModuleStatusValue and assigns it to the Status field. +func (o *VirtualMachineWithConfigContextRequest) SetStatus(v ModuleStatusValue) { o.Status = &v } // GetSite returns the Site field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *VirtualMachineWithConfigContextRequest) GetSite() SiteRequest { +func (o *VirtualMachineWithConfigContextRequest) GetSite() BriefSiteRequest { if o == nil || IsNil(o.Site.Get()) { - var ret SiteRequest + var ret BriefSiteRequest return ret } return *o.Site.Get() @@ -131,7 +132,7 @@ func (o *VirtualMachineWithConfigContextRequest) GetSite() SiteRequest { // GetSiteOk returns a tuple with the Site 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 *VirtualMachineWithConfigContextRequest) GetSiteOk() (*SiteRequest, bool) { +func (o *VirtualMachineWithConfigContextRequest) GetSiteOk() (*BriefSiteRequest, bool) { if o == nil { return nil, false } @@ -147,8 +148,8 @@ func (o *VirtualMachineWithConfigContextRequest) HasSite() bool { return false } -// SetSite gets a reference to the given NullableSiteRequest and assigns it to the Site field. -func (o *VirtualMachineWithConfigContextRequest) SetSite(v SiteRequest) { +// SetSite gets a reference to the given NullableBriefSiteRequest and assigns it to the Site field. +func (o *VirtualMachineWithConfigContextRequest) SetSite(v BriefSiteRequest) { o.Site.Set(&v) } @@ -163,9 +164,9 @@ func (o *VirtualMachineWithConfigContextRequest) UnsetSite() { } // GetCluster returns the Cluster field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *VirtualMachineWithConfigContextRequest) GetCluster() ClusterRequest { +func (o *VirtualMachineWithConfigContextRequest) GetCluster() BriefClusterRequest { if o == nil || IsNil(o.Cluster.Get()) { - var ret ClusterRequest + var ret BriefClusterRequest return ret } return *o.Cluster.Get() @@ -174,7 +175,7 @@ func (o *VirtualMachineWithConfigContextRequest) GetCluster() ClusterRequest { // GetClusterOk returns a tuple with the Cluster 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 *VirtualMachineWithConfigContextRequest) GetClusterOk() (*ClusterRequest, bool) { +func (o *VirtualMachineWithConfigContextRequest) GetClusterOk() (*BriefClusterRequest, bool) { if o == nil { return nil, false } @@ -190,8 +191,8 @@ func (o *VirtualMachineWithConfigContextRequest) HasCluster() bool { return false } -// SetCluster gets a reference to the given NullableClusterRequest and assigns it to the Cluster field. -func (o *VirtualMachineWithConfigContextRequest) SetCluster(v ClusterRequest) { +// SetCluster gets a reference to the given NullableBriefClusterRequest and assigns it to the Cluster field. +func (o *VirtualMachineWithConfigContextRequest) SetCluster(v BriefClusterRequest) { o.Cluster.Set(&v) } @@ -206,9 +207,9 @@ func (o *VirtualMachineWithConfigContextRequest) UnsetCluster() { } // GetDevice returns the Device field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *VirtualMachineWithConfigContextRequest) GetDevice() DeviceRequest { +func (o *VirtualMachineWithConfigContextRequest) GetDevice() BriefDeviceRequest { if o == nil || IsNil(o.Device.Get()) { - var ret DeviceRequest + var ret BriefDeviceRequest return ret } return *o.Device.Get() @@ -217,7 +218,7 @@ func (o *VirtualMachineWithConfigContextRequest) GetDevice() DeviceRequest { // GetDeviceOk returns a tuple with the Device 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 *VirtualMachineWithConfigContextRequest) GetDeviceOk() (*DeviceRequest, bool) { +func (o *VirtualMachineWithConfigContextRequest) GetDeviceOk() (*BriefDeviceRequest, bool) { if o == nil { return nil, false } @@ -233,8 +234,8 @@ func (o *VirtualMachineWithConfigContextRequest) HasDevice() bool { return false } -// SetDevice gets a reference to the given NullableDeviceRequest and assigns it to the Device field. -func (o *VirtualMachineWithConfigContextRequest) SetDevice(v DeviceRequest) { +// SetDevice gets a reference to the given NullableBriefDeviceRequest and assigns it to the Device field. +func (o *VirtualMachineWithConfigContextRequest) SetDevice(v BriefDeviceRequest) { o.Device.Set(&v) } @@ -248,10 +249,42 @@ func (o *VirtualMachineWithConfigContextRequest) UnsetDevice() { o.Device.Unset() } +// GetSerial returns the Serial field value if set, zero value otherwise. +func (o *VirtualMachineWithConfigContextRequest) GetSerial() string { + if o == nil || IsNil(o.Serial) { + var ret string + return ret + } + return *o.Serial +} + +// GetSerialOk returns a tuple with the Serial field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VirtualMachineWithConfigContextRequest) GetSerialOk() (*string, bool) { + if o == nil || IsNil(o.Serial) { + return nil, false + } + return o.Serial, true +} + +// HasSerial returns a boolean if a field has been set. +func (o *VirtualMachineWithConfigContextRequest) HasSerial() bool { + if o != nil && !IsNil(o.Serial) { + return true + } + + return false +} + +// SetSerial gets a reference to the given string and assigns it to the Serial field. +func (o *VirtualMachineWithConfigContextRequest) SetSerial(v string) { + o.Serial = &v +} + // GetRole returns the Role field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *VirtualMachineWithConfigContextRequest) GetRole() DeviceRoleRequest { +func (o *VirtualMachineWithConfigContextRequest) GetRole() BriefDeviceRoleRequest { if o == nil || IsNil(o.Role.Get()) { - var ret DeviceRoleRequest + var ret BriefDeviceRoleRequest return ret } return *o.Role.Get() @@ -260,7 +293,7 @@ func (o *VirtualMachineWithConfigContextRequest) GetRole() DeviceRoleRequest { // 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 *VirtualMachineWithConfigContextRequest) GetRoleOk() (*DeviceRoleRequest, bool) { +func (o *VirtualMachineWithConfigContextRequest) GetRoleOk() (*BriefDeviceRoleRequest, bool) { if o == nil { return nil, false } @@ -276,8 +309,8 @@ func (o *VirtualMachineWithConfigContextRequest) HasRole() bool { return false } -// SetRole gets a reference to the given NullableDeviceRoleRequest and assigns it to the Role field. -func (o *VirtualMachineWithConfigContextRequest) SetRole(v DeviceRoleRequest) { +// SetRole gets a reference to the given NullableBriefDeviceRoleRequest and assigns it to the Role field. +func (o *VirtualMachineWithConfigContextRequest) SetRole(v BriefDeviceRoleRequest) { o.Role.Set(&v) } @@ -292,9 +325,9 @@ func (o *VirtualMachineWithConfigContextRequest) UnsetRole() { } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *VirtualMachineWithConfigContextRequest) GetTenant() TenantRequest { +func (o *VirtualMachineWithConfigContextRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -303,7 +336,7 @@ func (o *VirtualMachineWithConfigContextRequest) GetTenant() TenantRequest { // 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 *VirtualMachineWithConfigContextRequest) GetTenantOk() (*TenantRequest, bool) { +func (o *VirtualMachineWithConfigContextRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -319,8 +352,8 @@ func (o *VirtualMachineWithConfigContextRequest) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *VirtualMachineWithConfigContextRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *VirtualMachineWithConfigContextRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } @@ -335,9 +368,9 @@ func (o *VirtualMachineWithConfigContextRequest) UnsetTenant() { } // GetPlatform returns the Platform field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *VirtualMachineWithConfigContextRequest) GetPlatform() PlatformRequest { +func (o *VirtualMachineWithConfigContextRequest) GetPlatform() BriefPlatformRequest { if o == nil || IsNil(o.Platform.Get()) { - var ret PlatformRequest + var ret BriefPlatformRequest return ret } return *o.Platform.Get() @@ -346,7 +379,7 @@ func (o *VirtualMachineWithConfigContextRequest) GetPlatform() PlatformRequest { // GetPlatformOk returns a tuple with the Platform 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 *VirtualMachineWithConfigContextRequest) GetPlatformOk() (*PlatformRequest, bool) { +func (o *VirtualMachineWithConfigContextRequest) GetPlatformOk() (*BriefPlatformRequest, bool) { if o == nil { return nil, false } @@ -362,8 +395,8 @@ func (o *VirtualMachineWithConfigContextRequest) HasPlatform() bool { return false } -// SetPlatform gets a reference to the given NullablePlatformRequest and assigns it to the Platform field. -func (o *VirtualMachineWithConfigContextRequest) SetPlatform(v PlatformRequest) { +// SetPlatform gets a reference to the given NullableBriefPlatformRequest and assigns it to the Platform field. +func (o *VirtualMachineWithConfigContextRequest) SetPlatform(v BriefPlatformRequest) { o.Platform.Set(&v) } @@ -378,9 +411,9 @@ func (o *VirtualMachineWithConfigContextRequest) UnsetPlatform() { } // GetPrimaryIp4 returns the PrimaryIp4 field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *VirtualMachineWithConfigContextRequest) GetPrimaryIp4() IPAddressRequest { +func (o *VirtualMachineWithConfigContextRequest) GetPrimaryIp4() BriefIPAddressRequest { if o == nil || IsNil(o.PrimaryIp4.Get()) { - var ret IPAddressRequest + var ret BriefIPAddressRequest return ret } return *o.PrimaryIp4.Get() @@ -389,7 +422,7 @@ func (o *VirtualMachineWithConfigContextRequest) GetPrimaryIp4() IPAddressReques // 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 *VirtualMachineWithConfigContextRequest) GetPrimaryIp4Ok() (*IPAddressRequest, bool) { +func (o *VirtualMachineWithConfigContextRequest) GetPrimaryIp4Ok() (*BriefIPAddressRequest, bool) { if o == nil { return nil, false } @@ -405,8 +438,8 @@ func (o *VirtualMachineWithConfigContextRequest) HasPrimaryIp4() bool { return false } -// SetPrimaryIp4 gets a reference to the given NullableIPAddressRequest and assigns it to the PrimaryIp4 field. -func (o *VirtualMachineWithConfigContextRequest) SetPrimaryIp4(v IPAddressRequest) { +// SetPrimaryIp4 gets a reference to the given NullableBriefIPAddressRequest and assigns it to the PrimaryIp4 field. +func (o *VirtualMachineWithConfigContextRequest) SetPrimaryIp4(v BriefIPAddressRequest) { o.PrimaryIp4.Set(&v) } @@ -421,9 +454,9 @@ func (o *VirtualMachineWithConfigContextRequest) UnsetPrimaryIp4() { } // GetPrimaryIp6 returns the PrimaryIp6 field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *VirtualMachineWithConfigContextRequest) GetPrimaryIp6() IPAddressRequest { +func (o *VirtualMachineWithConfigContextRequest) GetPrimaryIp6() BriefIPAddressRequest { if o == nil || IsNil(o.PrimaryIp6.Get()) { - var ret IPAddressRequest + var ret BriefIPAddressRequest return ret } return *o.PrimaryIp6.Get() @@ -432,7 +465,7 @@ func (o *VirtualMachineWithConfigContextRequest) GetPrimaryIp6() IPAddressReques // 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 *VirtualMachineWithConfigContextRequest) GetPrimaryIp6Ok() (*IPAddressRequest, bool) { +func (o *VirtualMachineWithConfigContextRequest) GetPrimaryIp6Ok() (*BriefIPAddressRequest, bool) { if o == nil { return nil, false } @@ -448,8 +481,8 @@ func (o *VirtualMachineWithConfigContextRequest) HasPrimaryIp6() bool { return false } -// SetPrimaryIp6 gets a reference to the given NullableIPAddressRequest and assigns it to the PrimaryIp6 field. -func (o *VirtualMachineWithConfigContextRequest) SetPrimaryIp6(v IPAddressRequest) { +// SetPrimaryIp6 gets a reference to the given NullableBriefIPAddressRequest and assigns it to the PrimaryIp6 field. +func (o *VirtualMachineWithConfigContextRequest) SetPrimaryIp6(v BriefIPAddressRequest) { o.PrimaryIp6.Set(&v) } @@ -657,9 +690,9 @@ func (o *VirtualMachineWithConfigContextRequest) SetComments(v string) { } // GetConfigTemplate returns the ConfigTemplate field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *VirtualMachineWithConfigContextRequest) GetConfigTemplate() ConfigTemplateRequest { +func (o *VirtualMachineWithConfigContextRequest) GetConfigTemplate() BriefConfigTemplateRequest { if o == nil || IsNil(o.ConfigTemplate.Get()) { - var ret ConfigTemplateRequest + var ret BriefConfigTemplateRequest return ret } return *o.ConfigTemplate.Get() @@ -668,7 +701,7 @@ func (o *VirtualMachineWithConfigContextRequest) GetConfigTemplate() ConfigTempl // GetConfigTemplateOk returns a tuple with the ConfigTemplate 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 *VirtualMachineWithConfigContextRequest) GetConfigTemplateOk() (*ConfigTemplateRequest, bool) { +func (o *VirtualMachineWithConfigContextRequest) GetConfigTemplateOk() (*BriefConfigTemplateRequest, bool) { if o == nil { return nil, false } @@ -684,8 +717,8 @@ func (o *VirtualMachineWithConfigContextRequest) HasConfigTemplate() bool { return false } -// SetConfigTemplate gets a reference to the given NullableConfigTemplateRequest and assigns it to the ConfigTemplate field. -func (o *VirtualMachineWithConfigContextRequest) SetConfigTemplate(v ConfigTemplateRequest) { +// SetConfigTemplate gets a reference to the given NullableBriefConfigTemplateRequest and assigns it to the ConfigTemplate field. +func (o *VirtualMachineWithConfigContextRequest) SetConfigTemplate(v BriefConfigTemplateRequest) { o.ConfigTemplate.Set(&v) } @@ -819,6 +852,9 @@ func (o VirtualMachineWithConfigContextRequest) ToMap() (map[string]interface{}, if o.Device.IsSet() { toSerialize["device"] = o.Device.Get() } + if !IsNil(o.Serial) { + toSerialize["serial"] = o.Serial + } if o.Role.IsSet() { toSerialize["role"] = o.Role.Get() } @@ -909,6 +945,7 @@ func (o *VirtualMachineWithConfigContextRequest) UnmarshalJSON(data []byte) (err delete(additionalProperties, "site") delete(additionalProperties, "cluster") delete(additionalProperties, "device") + delete(additionalProperties, "serial") delete(additionalProperties, "role") delete(additionalProperties, "tenant") delete(additionalProperties, "platform") diff --git a/model_virtualization_clusters_list_status__ic_parameter_inner.go b/model_virtualization_clusters_list_status__ic_parameter_inner.go new file mode 100644 index 000000000..5204b1818 --- /dev/null +++ b/model_virtualization_clusters_list_status__ic_parameter_inner.go @@ -0,0 +1,117 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// VirtualizationClustersListStatusIcParameterInner the model 'VirtualizationClustersListStatusIcParameterInner' +type VirtualizationClustersListStatusIcParameterInner string + +// List of virtualization_clusters_list_status__ic_parameter_inner +const ( + VIRTUALIZATIONCLUSTERSLISTSTATUSICPARAMETERINNER_ACTIVE VirtualizationClustersListStatusIcParameterInner = "active" + VIRTUALIZATIONCLUSTERSLISTSTATUSICPARAMETERINNER_DECOMMISSIONING VirtualizationClustersListStatusIcParameterInner = "decommissioning" + VIRTUALIZATIONCLUSTERSLISTSTATUSICPARAMETERINNER_OFFLINE VirtualizationClustersListStatusIcParameterInner = "offline" + VIRTUALIZATIONCLUSTERSLISTSTATUSICPARAMETERINNER_PLANNED VirtualizationClustersListStatusIcParameterInner = "planned" + VIRTUALIZATIONCLUSTERSLISTSTATUSICPARAMETERINNER_STAGING VirtualizationClustersListStatusIcParameterInner = "staging" +) + +// All allowed values of VirtualizationClustersListStatusIcParameterInner enum +var AllowedVirtualizationClustersListStatusIcParameterInnerEnumValues = []VirtualizationClustersListStatusIcParameterInner{ + "active", + "decommissioning", + "offline", + "planned", + "staging", +} + +func (v *VirtualizationClustersListStatusIcParameterInner) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := VirtualizationClustersListStatusIcParameterInner(value) + for _, existing := range AllowedVirtualizationClustersListStatusIcParameterInnerEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid VirtualizationClustersListStatusIcParameterInner", value) +} + +// NewVirtualizationClustersListStatusIcParameterInnerFromValue returns a pointer to a valid VirtualizationClustersListStatusIcParameterInner +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewVirtualizationClustersListStatusIcParameterInnerFromValue(v string) (*VirtualizationClustersListStatusIcParameterInner, error) { + ev := VirtualizationClustersListStatusIcParameterInner(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for VirtualizationClustersListStatusIcParameterInner: valid values are %v", v, AllowedVirtualizationClustersListStatusIcParameterInnerEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v VirtualizationClustersListStatusIcParameterInner) IsValid() bool { + for _, existing := range AllowedVirtualizationClustersListStatusIcParameterInnerEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to virtualization_clusters_list_status__ic_parameter_inner value +func (v VirtualizationClustersListStatusIcParameterInner) Ptr() *VirtualizationClustersListStatusIcParameterInner { + return &v +} + +type NullableVirtualizationClustersListStatusIcParameterInner struct { + value *VirtualizationClustersListStatusIcParameterInner + isSet bool +} + +func (v NullableVirtualizationClustersListStatusIcParameterInner) Get() *VirtualizationClustersListStatusIcParameterInner { + return v.value +} + +func (v *NullableVirtualizationClustersListStatusIcParameterInner) Set(val *VirtualizationClustersListStatusIcParameterInner) { + v.value = val + v.isSet = true +} + +func (v NullableVirtualizationClustersListStatusIcParameterInner) IsSet() bool { + return v.isSet +} + +func (v *NullableVirtualizationClustersListStatusIcParameterInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableVirtualizationClustersListStatusIcParameterInner(val *VirtualizationClustersListStatusIcParameterInner) *NullableVirtualizationClustersListStatusIcParameterInner { + return &NullableVirtualizationClustersListStatusIcParameterInner{value: val, isSet: true} +} + +func (v NullableVirtualizationClustersListStatusIcParameterInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableVirtualizationClustersListStatusIcParameterInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_vlan.go b/model_vlan.go index 434660f55..f30ed868f 100644 --- a/model_vlan.go +++ b/model_vlan.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -13,6 +13,7 @@ package netbox import ( "encoding/json" "fmt" + "time" ) // checks if the VLAN type satisfies the MappedNullable interface at compile time @@ -20,13 +21,26 @@ var _ MappedNullable = &VLAN{} // VLAN Adds support for custom fields and tags. type VLAN struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Site NullableBriefSite `json:"site,omitempty"` + Group NullableBriefVLANGroup `json:"group,omitempty"` // Numeric VLAN ID (1-4094) - Vid int32 `json:"vid"` - Name string `json:"name"` - Description *string `json:"description,omitempty"` + Vid int32 `json:"vid"` + Name string `json:"name"` + Tenant NullableBriefTenant `json:"tenant,omitempty"` + Status *IPRangeStatus `json:"status,omitempty"` + Role NullableBriefRole `json:"role,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + L2vpnTermination NullableBriefL2VPNTermination `json:"l2vpn_termination"` + Tags []NestedTag `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Created NullableTime `json:"created"` + LastUpdated NullableTime `json:"last_updated"` + PrefixCount *int64 `json:"prefix_count,omitempty"` AdditionalProperties map[string]interface{} } @@ -36,13 +50,16 @@ 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 int32, url string, display string, vid int32, name string) *VLAN { +func NewVLAN(id int32, url string, display string, vid int32, name string, l2vpnTermination NullableBriefL2VPNTermination, created NullableTime, lastUpdated NullableTime) *VLAN { this := VLAN{} this.Id = id this.Url = url this.Display = display this.Vid = vid this.Name = name + this.L2vpnTermination = l2vpnTermination + this.Created = created + this.LastUpdated = lastUpdated return &this } @@ -102,6 +119,38 @@ func (o *VLAN) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *VLAN) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VLAN) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *VLAN) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *VLAN) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *VLAN) GetDisplay() string { if o == nil { @@ -126,6 +175,92 @@ func (o *VLAN) SetDisplay(v string) { o.Display = v } +// GetSite returns the Site field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *VLAN) GetSite() BriefSite { + if o == nil || IsNil(o.Site.Get()) { + var ret BriefSite + return ret + } + return *o.Site.Get() +} + +// GetSiteOk returns a tuple with the Site 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 *VLAN) GetSiteOk() (*BriefSite, bool) { + if o == nil { + return nil, false + } + return o.Site.Get(), o.Site.IsSet() +} + +// HasSite returns a boolean if a field has been set. +func (o *VLAN) HasSite() bool { + if o != nil && o.Site.IsSet() { + return true + } + + return false +} + +// SetSite gets a reference to the given NullableBriefSite and assigns it to the Site field. +func (o *VLAN) SetSite(v BriefSite) { + o.Site.Set(&v) +} + +// SetSiteNil sets the value for Site to be an explicit nil +func (o *VLAN) SetSiteNil() { + o.Site.Set(nil) +} + +// UnsetSite ensures that no value is present for Site, not even an explicit nil +func (o *VLAN) UnsetSite() { + o.Site.Unset() +} + +// GetGroup returns the Group field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *VLAN) GetGroup() BriefVLANGroup { + if o == nil || IsNil(o.Group.Get()) { + var ret BriefVLANGroup + return ret + } + return *o.Group.Get() +} + +// GetGroupOk returns a tuple with the Group 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 *VLAN) GetGroupOk() (*BriefVLANGroup, bool) { + if o == nil { + return nil, false + } + return o.Group.Get(), o.Group.IsSet() +} + +// HasGroup returns a boolean if a field has been set. +func (o *VLAN) HasGroup() bool { + if o != nil && o.Group.IsSet() { + return true + } + + return false +} + +// SetGroup gets a reference to the given NullableBriefVLANGroup and assigns it to the Group field. +func (o *VLAN) SetGroup(v BriefVLANGroup) { + o.Group.Set(&v) +} + +// SetGroupNil sets the value for Group to be an explicit nil +func (o *VLAN) SetGroupNil() { + o.Group.Set(nil) +} + +// UnsetGroup ensures that no value is present for Group, not even an explicit nil +func (o *VLAN) UnsetGroup() { + o.Group.Unset() +} + // GetVid returns the Vid field value func (o *VLAN) GetVid() int32 { if o == nil { @@ -174,6 +309,124 @@ func (o *VLAN) SetName(v string) { o.Name = v } +// GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *VLAN) GetTenant() BriefTenant { + if o == nil || IsNil(o.Tenant.Get()) { + var ret BriefTenant + 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 *VLAN) GetTenantOk() (*BriefTenant, 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 *VLAN) HasTenant() bool { + if o != nil && o.Tenant.IsSet() { + return true + } + + return false +} + +// SetTenant gets a reference to the given NullableBriefTenant and assigns it to the Tenant field. +func (o *VLAN) SetTenant(v BriefTenant) { + o.Tenant.Set(&v) +} + +// SetTenantNil sets the value for Tenant to be an explicit nil +func (o *VLAN) SetTenantNil() { + o.Tenant.Set(nil) +} + +// UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +func (o *VLAN) UnsetTenant() { + o.Tenant.Unset() +} + +// GetStatus returns the Status field value if set, zero value otherwise. +func (o *VLAN) GetStatus() IPRangeStatus { + if o == nil || IsNil(o.Status) { + var ret IPRangeStatus + 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 *VLAN) GetStatusOk() (*IPRangeStatus, 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 *VLAN) HasStatus() bool { + if o != nil && !IsNil(o.Status) { + return true + } + + return false +} + +// SetStatus gets a reference to the given IPRangeStatus and assigns it to the Status field. +func (o *VLAN) SetStatus(v IPRangeStatus) { + 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 *VLAN) GetRole() BriefRole { + if o == nil || IsNil(o.Role.Get()) { + var ret BriefRole + 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 *VLAN) GetRoleOk() (*BriefRole, 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 *VLAN) HasRole() bool { + if o != nil && o.Role.IsSet() { + return true + } + + return false +} + +// SetRole gets a reference to the given NullableBriefRole and assigns it to the Role field. +func (o *VLAN) SetRole(v BriefRole) { + o.Role.Set(&v) +} + +// SetRoleNil sets the value for Role to be an explicit nil +func (o *VLAN) SetRoleNil() { + o.Role.Set(nil) +} + +// UnsetRole ensures that no value is present for Role, not even an explicit nil +func (o *VLAN) UnsetRole() { + o.Role.Unset() +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *VLAN) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -206,6 +459,212 @@ func (o *VLAN) SetDescription(v string) { o.Description = &v } +// GetComments returns the Comments field value if set, zero value otherwise. +func (o *VLAN) GetComments() string { + if o == nil || IsNil(o.Comments) { + var ret string + return ret + } + return *o.Comments +} + +// GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VLAN) GetCommentsOk() (*string, bool) { + if o == nil || IsNil(o.Comments) { + return nil, false + } + return o.Comments, true +} + +// HasComments returns a boolean if a field has been set. +func (o *VLAN) HasComments() bool { + if o != nil && !IsNil(o.Comments) { + return true + } + + return false +} + +// SetComments gets a reference to the given string and assigns it to the Comments field. +func (o *VLAN) SetComments(v string) { + o.Comments = &v +} + +// GetL2vpnTermination returns the L2vpnTermination field value +// If the value is explicit nil, the zero value for BriefL2VPNTermination will be returned +func (o *VLAN) GetL2vpnTermination() BriefL2VPNTermination { + if o == nil || o.L2vpnTermination.Get() == nil { + var ret BriefL2VPNTermination + return ret + } + + return *o.L2vpnTermination.Get() +} + +// GetL2vpnTerminationOk returns a tuple with the L2vpnTermination 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 *VLAN) GetL2vpnTerminationOk() (*BriefL2VPNTermination, bool) { + if o == nil { + return nil, false + } + return o.L2vpnTermination.Get(), o.L2vpnTermination.IsSet() +} + +// SetL2vpnTermination sets field value +func (o *VLAN) SetL2vpnTermination(v BriefL2VPNTermination) { + o.L2vpnTermination.Set(&v) +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *VLAN) GetTags() []NestedTag { + if o == nil || IsNil(o.Tags) { + var ret []NestedTag + 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 *VLAN) GetTagsOk() ([]NestedTag, 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 *VLAN) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTag and assigns it to the Tags field. +func (o *VLAN) SetTags(v []NestedTag) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *VLAN) 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 *VLAN) 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 *VLAN) 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 *VLAN) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetCreated returns the Created field value +// If the value is explicit nil, the zero value for time.Time will be returned +func (o *VLAN) 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 *VLAN) GetCreatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.Created.Get(), o.Created.IsSet() +} + +// SetCreated sets field value +func (o *VLAN) 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 *VLAN) 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 *VLAN) GetLastUpdatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LastUpdated.Get(), o.LastUpdated.IsSet() +} + +// SetLastUpdated sets field value +func (o *VLAN) SetLastUpdated(v time.Time) { + o.LastUpdated.Set(&v) +} + +// GetPrefixCount returns the PrefixCount field value if set, zero value otherwise. +func (o *VLAN) GetPrefixCount() int64 { + if o == nil || IsNil(o.PrefixCount) { + var ret int64 + return ret + } + return *o.PrefixCount +} + +// GetPrefixCountOk returns a tuple with the PrefixCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VLAN) GetPrefixCountOk() (*int64, bool) { + if o == nil || IsNil(o.PrefixCount) { + return nil, false + } + return o.PrefixCount, true +} + +// HasPrefixCount returns a boolean if a field has been set. +func (o *VLAN) HasPrefixCount() bool { + if o != nil && !IsNil(o.PrefixCount) { + return true + } + + return false +} + +// SetPrefixCount gets a reference to the given int64 and assigns it to the PrefixCount field. +func (o *VLAN) SetPrefixCount(v int64) { + o.PrefixCount = &v +} + func (o VLAN) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -218,12 +677,45 @@ func (o VLAN) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display + if o.Site.IsSet() { + toSerialize["site"] = o.Site.Get() + } + if o.Group.IsSet() { + toSerialize["group"] = o.Group.Get() + } toSerialize["vid"] = o.Vid toSerialize["name"] = o.Name + if o.Tenant.IsSet() { + toSerialize["tenant"] = o.Tenant.Get() + } + if !IsNil(o.Status) { + toSerialize["status"] = o.Status + } + if o.Role.IsSet() { + toSerialize["role"] = o.Role.Get() + } if !IsNil(o.Description) { toSerialize["description"] = o.Description } + if !IsNil(o.Comments) { + toSerialize["comments"] = o.Comments + } + toSerialize["l2vpn_termination"] = o.L2vpnTermination.Get() + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + toSerialize["created"] = o.Created.Get() + toSerialize["last_updated"] = o.LastUpdated.Get() + if !IsNil(o.PrefixCount) { + toSerialize["prefix_count"] = o.PrefixCount + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -242,6 +734,9 @@ func (o *VLAN) UnmarshalJSON(data []byte) (err error) { "display", "vid", "name", + "l2vpn_termination", + "created", + "last_updated", } allProperties := make(map[string]interface{}) @@ -273,10 +768,23 @@ func (o *VLAN) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") + delete(additionalProperties, "site") + delete(additionalProperties, "group") delete(additionalProperties, "vid") delete(additionalProperties, "name") + delete(additionalProperties, "tenant") + delete(additionalProperties, "status") + delete(additionalProperties, "role") delete(additionalProperties, "description") + delete(additionalProperties, "comments") + delete(additionalProperties, "l2vpn_termination") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "created") + delete(additionalProperties, "last_updated") + delete(additionalProperties, "prefix_count") o.AdditionalProperties = additionalProperties } diff --git a/model_vlan_group.go b/model_vlan_group.go index 4ec3a4991..81187044c 100644 --- a/model_vlan_group.go +++ b/model_vlan_group.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,24 +21,21 @@ var _ MappedNullable = &VLANGroup{} // VLANGroup Adds support for custom fields and tags. type VLANGroup struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - Name string `json:"name"` - Slug string `json:"slug"` - ScopeType NullableString `json:"scope_type,omitempty"` - ScopeId NullableInt32 `json:"scope_id,omitempty"` - Scope interface{} `json:"scope"` - // Lowest permissible ID of a child VLAN - MinVid *int32 `json:"min_vid,omitempty"` - // Highest permissible ID of a child VLAN - MaxVid *int32 `json:"max_vid,omitempty"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Name string `json:"name"` + Slug string `json:"slug"` + ScopeType NullableString `json:"scope_type,omitempty"` + ScopeId NullableInt32 `json:"scope_id,omitempty"` + Scope interface{} `json:"scope"` Description *string `json:"description,omitempty"` Tags []NestedTag `json:"tags,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` Created NullableTime `json:"created"` LastUpdated NullableTime `json:"last_updated"` - VlanCount int64 `json:"vlan_count"` + VlanCount *int64 `json:"vlan_count,omitempty"` Utilization string `json:"utilization"` AdditionalProperties map[string]interface{} } @@ -49,7 +46,7 @@ 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 int32, url string, display string, name string, slug string, scope interface{}, created NullableTime, lastUpdated NullableTime, vlanCount int64, utilization string) *VLANGroup { +func NewVLANGroup(id int32, url string, display string, name string, slug string, scope interface{}, created NullableTime, lastUpdated NullableTime, utilization string) *VLANGroup { this := VLANGroup{} this.Id = id this.Url = url @@ -59,7 +56,6 @@ func NewVLANGroup(id int32, url string, display string, name string, slug string this.Scope = scope this.Created = created this.LastUpdated = lastUpdated - this.VlanCount = vlanCount this.Utilization = utilization return &this } @@ -120,6 +116,38 @@ func (o *VLANGroup) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *VLANGroup) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VLANGroup) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *VLANGroup) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *VLANGroup) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *VLANGroup) GetDisplay() string { if o == nil { @@ -304,70 +332,6 @@ func (o *VLANGroup) SetScope(v interface{}) { o.Scope = v } -// GetMinVid returns the MinVid field value if set, zero value otherwise. -func (o *VLANGroup) GetMinVid() int32 { - if o == nil || IsNil(o.MinVid) { - var ret int32 - return ret - } - return *o.MinVid -} - -// GetMinVidOk returns a tuple with the MinVid field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *VLANGroup) GetMinVidOk() (*int32, bool) { - if o == nil || IsNil(o.MinVid) { - return nil, false - } - return o.MinVid, true -} - -// HasMinVid returns a boolean if a field has been set. -func (o *VLANGroup) HasMinVid() bool { - if o != nil && !IsNil(o.MinVid) { - return true - } - - return false -} - -// SetMinVid gets a reference to the given int32 and assigns it to the MinVid field. -func (o *VLANGroup) SetMinVid(v int32) { - o.MinVid = &v -} - -// GetMaxVid returns the MaxVid field value if set, zero value otherwise. -func (o *VLANGroup) GetMaxVid() int32 { - if o == nil || IsNil(o.MaxVid) { - var ret int32 - return ret - } - return *o.MaxVid -} - -// GetMaxVidOk returns a tuple with the MaxVid field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *VLANGroup) GetMaxVidOk() (*int32, bool) { - if o == nil || IsNil(o.MaxVid) { - return nil, false - } - return o.MaxVid, true -} - -// HasMaxVid returns a boolean if a field has been set. -func (o *VLANGroup) HasMaxVid() bool { - if o != nil && !IsNil(o.MaxVid) { - return true - } - - return false -} - -// SetMaxVid gets a reference to the given int32 and assigns it to the MaxVid field. -func (o *VLANGroup) SetMaxVid(v int32) { - o.MaxVid = &v -} - // GetDescription returns the Description field value if set, zero value otherwise. func (o *VLANGroup) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -516,28 +480,36 @@ func (o *VLANGroup) SetLastUpdated(v time.Time) { o.LastUpdated.Set(&v) } -// GetVlanCount returns the VlanCount field value +// GetVlanCount returns the VlanCount field value if set, zero value otherwise. func (o *VLANGroup) GetVlanCount() int64 { - if o == nil { + if o == nil || IsNil(o.VlanCount) { var ret int64 return ret } - - return o.VlanCount + return *o.VlanCount } -// GetVlanCountOk returns a tuple with the VlanCount field value +// GetVlanCountOk returns a tuple with the VlanCount field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *VLANGroup) GetVlanCountOk() (*int64, bool) { - if o == nil { + if o == nil || IsNil(o.VlanCount) { return nil, false } - return &o.VlanCount, true + return o.VlanCount, true +} + +// HasVlanCount returns a boolean if a field has been set. +func (o *VLANGroup) HasVlanCount() bool { + if o != nil && !IsNil(o.VlanCount) { + return true + } + + return false } -// SetVlanCount sets field value +// SetVlanCount gets a reference to the given int64 and assigns it to the VlanCount field. func (o *VLANGroup) SetVlanCount(v int64) { - o.VlanCount = v + o.VlanCount = &v } // GetUtilization returns the Utilization field value @@ -576,6 +548,9 @@ func (o VLANGroup) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["name"] = o.Name toSerialize["slug"] = o.Slug @@ -588,12 +563,6 @@ func (o VLANGroup) ToMap() (map[string]interface{}, error) { if o.Scope != nil { toSerialize["scope"] = o.Scope } - if !IsNil(o.MinVid) { - toSerialize["min_vid"] = o.MinVid - } - if !IsNil(o.MaxVid) { - toSerialize["max_vid"] = o.MaxVid - } if !IsNil(o.Description) { toSerialize["description"] = o.Description } @@ -605,7 +574,9 @@ func (o VLANGroup) ToMap() (map[string]interface{}, error) { } toSerialize["created"] = o.Created.Get() toSerialize["last_updated"] = o.LastUpdated.Get() - toSerialize["vlan_count"] = o.VlanCount + if !IsNil(o.VlanCount) { + toSerialize["vlan_count"] = o.VlanCount + } toSerialize["utilization"] = o.Utilization for key, value := range o.AdditionalProperties { @@ -628,7 +599,6 @@ func (o *VLANGroup) UnmarshalJSON(data []byte) (err error) { "scope", "created", "last_updated", - "vlan_count", "utilization", } @@ -661,14 +631,13 @@ func (o *VLANGroup) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") delete(additionalProperties, "slug") delete(additionalProperties, "scope_type") delete(additionalProperties, "scope_id") delete(additionalProperties, "scope") - delete(additionalProperties, "min_vid") - delete(additionalProperties, "max_vid") delete(additionalProperties, "description") delete(additionalProperties, "tags") delete(additionalProperties, "custom_fields") diff --git a/model_vlan_group_request.go b/model_vlan_group_request.go index fb2c9e458..25957b2b0 100644 --- a/model_vlan_group_request.go +++ b/model_vlan_group_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,14 +20,10 @@ var _ MappedNullable = &VLANGroupRequest{} // VLANGroupRequest Adds support for custom fields and tags. type VLANGroupRequest struct { - Name string `json:"name"` - Slug string `json:"slug"` - ScopeType NullableString `json:"scope_type,omitempty"` - ScopeId NullableInt32 `json:"scope_id,omitempty"` - // Lowest permissible ID of a child VLAN - MinVid *int32 `json:"min_vid,omitempty"` - // Highest permissible ID of a child VLAN - MaxVid *int32 `json:"max_vid,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + ScopeType NullableString `json:"scope_type,omitempty"` + ScopeId NullableInt32 `json:"scope_id,omitempty"` Description *string `json:"description,omitempty"` Tags []NestedTagRequest `json:"tags,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` @@ -189,70 +185,6 @@ func (o *VLANGroupRequest) UnsetScopeId() { o.ScopeId.Unset() } -// GetMinVid returns the MinVid field value if set, zero value otherwise. -func (o *VLANGroupRequest) GetMinVid() int32 { - if o == nil || IsNil(o.MinVid) { - var ret int32 - return ret - } - return *o.MinVid -} - -// GetMinVidOk returns a tuple with the MinVid field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *VLANGroupRequest) GetMinVidOk() (*int32, bool) { - if o == nil || IsNil(o.MinVid) { - return nil, false - } - return o.MinVid, true -} - -// HasMinVid returns a boolean if a field has been set. -func (o *VLANGroupRequest) HasMinVid() bool { - if o != nil && !IsNil(o.MinVid) { - return true - } - - return false -} - -// SetMinVid gets a reference to the given int32 and assigns it to the MinVid field. -func (o *VLANGroupRequest) SetMinVid(v int32) { - o.MinVid = &v -} - -// GetMaxVid returns the MaxVid field value if set, zero value otherwise. -func (o *VLANGroupRequest) GetMaxVid() int32 { - if o == nil || IsNil(o.MaxVid) { - var ret int32 - return ret - } - return *o.MaxVid -} - -// GetMaxVidOk returns a tuple with the MaxVid field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *VLANGroupRequest) GetMaxVidOk() (*int32, bool) { - if o == nil || IsNil(o.MaxVid) { - return nil, false - } - return o.MaxVid, true -} - -// HasMaxVid returns a boolean if a field has been set. -func (o *VLANGroupRequest) HasMaxVid() bool { - if o != nil && !IsNil(o.MaxVid) { - return true - } - - return false -} - -// SetMaxVid gets a reference to the given int32 and assigns it to the MaxVid field. -func (o *VLANGroupRequest) SetMaxVid(v int32) { - o.MaxVid = &v -} - // GetDescription returns the Description field value if set, zero value otherwise. func (o *VLANGroupRequest) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -367,12 +299,6 @@ func (o VLANGroupRequest) ToMap() (map[string]interface{}, error) { if o.ScopeId.IsSet() { toSerialize["scope_id"] = o.ScopeId.Get() } - if !IsNil(o.MinVid) { - toSerialize["min_vid"] = o.MinVid - } - if !IsNil(o.MaxVid) { - toSerialize["max_vid"] = o.MaxVid - } if !IsNil(o.Description) { toSerialize["description"] = o.Description } @@ -430,8 +356,6 @@ func (o *VLANGroupRequest) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "slug") delete(additionalProperties, "scope_type") delete(additionalProperties, "scope_id") - delete(additionalProperties, "min_vid") - delete(additionalProperties, "max_vid") delete(additionalProperties, "description") delete(additionalProperties, "tags") delete(additionalProperties, "custom_fields") diff --git a/model_vlan_request.go b/model_vlan_request.go index af65d4166..39a411338 100644 --- a/model_vlan_request.go +++ b/model_vlan_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,10 +20,18 @@ var _ MappedNullable = &VLANRequest{} // VLANRequest Adds support for custom fields and tags. type VLANRequest struct { + Site NullableBriefSiteRequest `json:"site,omitempty"` + Group NullableBriefVLANGroupRequest `json:"group,omitempty"` // Numeric VLAN ID (1-4094) - Vid int32 `json:"vid"` - Name string `json:"name"` - Description *string `json:"description,omitempty"` + Vid int32 `json:"vid"` + Name string `json:"name"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` + Status *IPRangeStatusValue `json:"status,omitempty"` + Role NullableBriefRoleRequest `json:"role,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -48,6 +56,92 @@ func NewVLANRequestWithDefaults() *VLANRequest { return &this } +// GetSite returns the Site field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *VLANRequest) GetSite() BriefSiteRequest { + if o == nil || IsNil(o.Site.Get()) { + var ret BriefSiteRequest + return ret + } + return *o.Site.Get() +} + +// GetSiteOk returns a tuple with the Site 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 *VLANRequest) GetSiteOk() (*BriefSiteRequest, bool) { + if o == nil { + return nil, false + } + return o.Site.Get(), o.Site.IsSet() +} + +// HasSite returns a boolean if a field has been set. +func (o *VLANRequest) HasSite() bool { + if o != nil && o.Site.IsSet() { + return true + } + + return false +} + +// SetSite gets a reference to the given NullableBriefSiteRequest and assigns it to the Site field. +func (o *VLANRequest) SetSite(v BriefSiteRequest) { + o.Site.Set(&v) +} + +// SetSiteNil sets the value for Site to be an explicit nil +func (o *VLANRequest) SetSiteNil() { + o.Site.Set(nil) +} + +// UnsetSite ensures that no value is present for Site, not even an explicit nil +func (o *VLANRequest) UnsetSite() { + o.Site.Unset() +} + +// GetGroup returns the Group field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *VLANRequest) GetGroup() BriefVLANGroupRequest { + if o == nil || IsNil(o.Group.Get()) { + var ret BriefVLANGroupRequest + return ret + } + return *o.Group.Get() +} + +// GetGroupOk returns a tuple with the Group 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 *VLANRequest) GetGroupOk() (*BriefVLANGroupRequest, bool) { + if o == nil { + return nil, false + } + return o.Group.Get(), o.Group.IsSet() +} + +// HasGroup returns a boolean if a field has been set. +func (o *VLANRequest) HasGroup() bool { + if o != nil && o.Group.IsSet() { + return true + } + + return false +} + +// SetGroup gets a reference to the given NullableBriefVLANGroupRequest and assigns it to the Group field. +func (o *VLANRequest) SetGroup(v BriefVLANGroupRequest) { + o.Group.Set(&v) +} + +// SetGroupNil sets the value for Group to be an explicit nil +func (o *VLANRequest) SetGroupNil() { + o.Group.Set(nil) +} + +// UnsetGroup ensures that no value is present for Group, not even an explicit nil +func (o *VLANRequest) UnsetGroup() { + o.Group.Unset() +} + // GetVid returns the Vid field value func (o *VLANRequest) GetVid() int32 { if o == nil { @@ -96,6 +190,124 @@ func (o *VLANRequest) SetName(v string) { o.Name = v } +// GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *VLANRequest) GetTenant() BriefTenantRequest { + if o == nil || IsNil(o.Tenant.Get()) { + var ret BriefTenantRequest + 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 *VLANRequest) GetTenantOk() (*BriefTenantRequest, 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 *VLANRequest) HasTenant() bool { + if o != nil && o.Tenant.IsSet() { + return true + } + + return false +} + +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *VLANRequest) SetTenant(v BriefTenantRequest) { + o.Tenant.Set(&v) +} + +// SetTenantNil sets the value for Tenant to be an explicit nil +func (o *VLANRequest) SetTenantNil() { + o.Tenant.Set(nil) +} + +// UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +func (o *VLANRequest) UnsetTenant() { + o.Tenant.Unset() +} + +// GetStatus returns the Status field value if set, zero value otherwise. +func (o *VLANRequest) GetStatus() IPRangeStatusValue { + if o == nil || IsNil(o.Status) { + var ret IPRangeStatusValue + 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 *VLANRequest) GetStatusOk() (*IPRangeStatusValue, 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 *VLANRequest) HasStatus() bool { + if o != nil && !IsNil(o.Status) { + return true + } + + return false +} + +// SetStatus gets a reference to the given IPRangeStatusValue and assigns it to the Status field. +func (o *VLANRequest) SetStatus(v IPRangeStatusValue) { + 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 *VLANRequest) GetRole() BriefRoleRequest { + if o == nil || IsNil(o.Role.Get()) { + var ret BriefRoleRequest + 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 *VLANRequest) GetRoleOk() (*BriefRoleRequest, 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 *VLANRequest) HasRole() bool { + if o != nil && o.Role.IsSet() { + return true + } + + return false +} + +// SetRole gets a reference to the given NullableBriefRoleRequest and assigns it to the Role field. +func (o *VLANRequest) SetRole(v BriefRoleRequest) { + o.Role.Set(&v) +} + +// SetRoleNil sets the value for Role to be an explicit nil +func (o *VLANRequest) SetRoleNil() { + o.Role.Set(nil) +} + +// UnsetRole ensures that no value is present for Role, not even an explicit nil +func (o *VLANRequest) UnsetRole() { + o.Role.Unset() +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *VLANRequest) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -128,6 +340,102 @@ func (o *VLANRequest) SetDescription(v string) { o.Description = &v } +// GetComments returns the Comments field value if set, zero value otherwise. +func (o *VLANRequest) GetComments() string { + if o == nil || IsNil(o.Comments) { + var ret string + return ret + } + return *o.Comments +} + +// GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VLANRequest) GetCommentsOk() (*string, bool) { + if o == nil || IsNil(o.Comments) { + return nil, false + } + return o.Comments, true +} + +// HasComments returns a boolean if a field has been set. +func (o *VLANRequest) HasComments() bool { + if o != nil && !IsNil(o.Comments) { + return true + } + + return false +} + +// SetComments gets a reference to the given string and assigns it to the Comments field. +func (o *VLANRequest) SetComments(v string) { + o.Comments = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *VLANRequest) GetTags() []NestedTagRequest { + if o == nil || IsNil(o.Tags) { + var ret []NestedTagRequest + 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 *VLANRequest) GetTagsOk() ([]NestedTagRequest, 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 *VLANRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTagRequest and assigns it to the Tags field. +func (o *VLANRequest) SetTags(v []NestedTagRequest) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *VLANRequest) 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 *VLANRequest) 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 *VLANRequest) 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 *VLANRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + func (o VLANRequest) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -138,11 +446,35 @@ func (o VLANRequest) MarshalJSON() ([]byte, error) { func (o VLANRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if o.Site.IsSet() { + toSerialize["site"] = o.Site.Get() + } + if o.Group.IsSet() { + toSerialize["group"] = o.Group.Get() + } toSerialize["vid"] = o.Vid toSerialize["name"] = o.Name + if o.Tenant.IsSet() { + toSerialize["tenant"] = o.Tenant.Get() + } + if !IsNil(o.Status) { + toSerialize["status"] = o.Status + } + if o.Role.IsSet() { + toSerialize["role"] = o.Role.Get() + } if !IsNil(o.Description) { toSerialize["description"] = o.Description } + if !IsNil(o.Comments) { + toSerialize["comments"] = o.Comments + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -187,9 +519,17 @@ func (o *VLANRequest) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "site") + delete(additionalProperties, "group") delete(additionalProperties, "vid") delete(additionalProperties, "name") + delete(additionalProperties, "tenant") + delete(additionalProperties, "status") + delete(additionalProperties, "role") delete(additionalProperties, "description") + delete(additionalProperties, "comments") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") o.AdditionalProperties = additionalProperties } diff --git a/model_vm_interface.go b/model_vm_interface.go index ebe068fef..c4f6379a2 100644 --- a/model_vm_interface.go +++ b/model_vm_interface.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,28 +21,29 @@ var _ MappedNullable = &VMInterface{} // VMInterface Adds support for custom fields and tags. type VMInterface struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - VirtualMachine VirtualMachine `json:"virtual_machine"` - Name string `json:"name"` - Enabled *bool `json:"enabled,omitempty"` - Parent NullableNestedVMInterface `json:"parent,omitempty"` - Bridge NullableNestedVMInterface `json:"bridge,omitempty"` - Mtu NullableInt32 `json:"mtu,omitempty"` - MacAddress NullableString `json:"mac_address,omitempty"` - Description *string `json:"description,omitempty"` - Mode *InterfaceMode `json:"mode,omitempty"` - UntaggedVlan NullableVLAN `json:"untagged_vlan,omitempty"` - TaggedVlans []VLAN `json:"tagged_vlans,omitempty"` - Vrf NullableVRF `json:"vrf,omitempty"` - L2vpnTermination NullableL2VPNTermination `json:"l2vpn_termination"` - Tags []NestedTag `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` - Created NullableTime `json:"created"` - LastUpdated NullableTime `json:"last_updated"` - CountIpaddresses int32 `json:"count_ipaddresses"` - CountFhrpGroups int32 `json:"count_fhrp_groups"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + VirtualMachine BriefVirtualMachine `json:"virtual_machine"` + Name string `json:"name"` + Enabled *bool `json:"enabled,omitempty"` + Parent NullableNestedVMInterface `json:"parent,omitempty"` + Bridge NullableNestedVMInterface `json:"bridge,omitempty"` + Mtu NullableInt32 `json:"mtu,omitempty"` + MacAddress NullableString `json:"mac_address,omitempty"` + Description *string `json:"description,omitempty"` + Mode *InterfaceMode `json:"mode,omitempty"` + UntaggedVlan NullableBriefVLAN `json:"untagged_vlan,omitempty"` + TaggedVlans []VLAN `json:"tagged_vlans,omitempty"` + Vrf NullableBriefVRF `json:"vrf,omitempty"` + L2vpnTermination NullableBriefL2VPNTermination `json:"l2vpn_termination"` + Tags []NestedTag `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Created NullableTime `json:"created"` + LastUpdated NullableTime `json:"last_updated"` + CountIpaddresses int32 `json:"count_ipaddresses"` + CountFhrpGroups int32 `json:"count_fhrp_groups"` AdditionalProperties map[string]interface{} } @@ -52,7 +53,7 @@ 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 int32, url string, display string, virtualMachine VirtualMachine, name string, l2vpnTermination NullableL2VPNTermination, created NullableTime, lastUpdated NullableTime, countIpaddresses int32, countFhrpGroups int32) *VMInterface { +func NewVMInterface(id int32, url string, display string, virtualMachine BriefVirtualMachine, name string, l2vpnTermination NullableBriefL2VPNTermination, created NullableTime, lastUpdated NullableTime, countIpaddresses int32, countFhrpGroups int32) *VMInterface { this := VMInterface{} this.Id = id this.Url = url @@ -123,6 +124,38 @@ func (o *VMInterface) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *VMInterface) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VMInterface) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *VMInterface) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *VMInterface) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *VMInterface) GetDisplay() string { if o == nil { @@ -148,9 +181,9 @@ func (o *VMInterface) SetDisplay(v string) { } // GetVirtualMachine returns the VirtualMachine field value -func (o *VMInterface) GetVirtualMachine() VirtualMachine { +func (o *VMInterface) GetVirtualMachine() BriefVirtualMachine { if o == nil { - var ret VirtualMachine + var ret BriefVirtualMachine return ret } @@ -159,7 +192,7 @@ func (o *VMInterface) GetVirtualMachine() VirtualMachine { // GetVirtualMachineOk returns a tuple with the VirtualMachine field value // and a boolean to check if the value has been set. -func (o *VMInterface) GetVirtualMachineOk() (*VirtualMachine, bool) { +func (o *VMInterface) GetVirtualMachineOk() (*BriefVirtualMachine, bool) { if o == nil { return nil, false } @@ -167,7 +200,7 @@ func (o *VMInterface) GetVirtualMachineOk() (*VirtualMachine, bool) { } // SetVirtualMachine sets field value -func (o *VMInterface) SetVirtualMachine(v VirtualMachine) { +func (o *VMInterface) SetVirtualMachine(v BriefVirtualMachine) { o.VirtualMachine = v } @@ -464,9 +497,9 @@ func (o *VMInterface) SetMode(v InterfaceMode) { } // GetUntaggedVlan returns the UntaggedVlan field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *VMInterface) GetUntaggedVlan() VLAN { +func (o *VMInterface) GetUntaggedVlan() BriefVLAN { if o == nil || IsNil(o.UntaggedVlan.Get()) { - var ret VLAN + var ret BriefVLAN return ret } return *o.UntaggedVlan.Get() @@ -475,7 +508,7 @@ func (o *VMInterface) GetUntaggedVlan() VLAN { // GetUntaggedVlanOk returns a tuple with the UntaggedVlan 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 *VMInterface) GetUntaggedVlanOk() (*VLAN, bool) { +func (o *VMInterface) GetUntaggedVlanOk() (*BriefVLAN, bool) { if o == nil { return nil, false } @@ -491,8 +524,8 @@ func (o *VMInterface) HasUntaggedVlan() bool { return false } -// SetUntaggedVlan gets a reference to the given NullableVLAN and assigns it to the UntaggedVlan field. -func (o *VMInterface) SetUntaggedVlan(v VLAN) { +// SetUntaggedVlan gets a reference to the given NullableBriefVLAN and assigns it to the UntaggedVlan field. +func (o *VMInterface) SetUntaggedVlan(v BriefVLAN) { o.UntaggedVlan.Set(&v) } @@ -539,9 +572,9 @@ func (o *VMInterface) SetTaggedVlans(v []VLAN) { } // GetVrf returns the Vrf field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *VMInterface) GetVrf() VRF { +func (o *VMInterface) GetVrf() BriefVRF { if o == nil || IsNil(o.Vrf.Get()) { - var ret VRF + var ret BriefVRF return ret } return *o.Vrf.Get() @@ -550,7 +583,7 @@ func (o *VMInterface) GetVrf() VRF { // GetVrfOk returns a tuple with the Vrf 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 *VMInterface) GetVrfOk() (*VRF, bool) { +func (o *VMInterface) GetVrfOk() (*BriefVRF, bool) { if o == nil { return nil, false } @@ -566,8 +599,8 @@ func (o *VMInterface) HasVrf() bool { return false } -// SetVrf gets a reference to the given NullableVRF and assigns it to the Vrf field. -func (o *VMInterface) SetVrf(v VRF) { +// SetVrf gets a reference to the given NullableBriefVRF and assigns it to the Vrf field. +func (o *VMInterface) SetVrf(v BriefVRF) { o.Vrf.Set(&v) } @@ -582,10 +615,10 @@ func (o *VMInterface) UnsetVrf() { } // GetL2vpnTermination returns the L2vpnTermination field value -// If the value is explicit nil, the zero value for L2VPNTermination will be returned -func (o *VMInterface) GetL2vpnTermination() L2VPNTermination { +// If the value is explicit nil, the zero value for BriefL2VPNTermination will be returned +func (o *VMInterface) GetL2vpnTermination() BriefL2VPNTermination { if o == nil || o.L2vpnTermination.Get() == nil { - var ret L2VPNTermination + var ret BriefL2VPNTermination return ret } @@ -595,7 +628,7 @@ func (o *VMInterface) GetL2vpnTermination() L2VPNTermination { // GetL2vpnTerminationOk returns a tuple with the L2vpnTermination 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 *VMInterface) GetL2vpnTerminationOk() (*L2VPNTermination, bool) { +func (o *VMInterface) GetL2vpnTerminationOk() (*BriefL2VPNTermination, bool) { if o == nil { return nil, false } @@ -603,7 +636,7 @@ func (o *VMInterface) GetL2vpnTerminationOk() (*L2VPNTermination, bool) { } // SetL2vpnTermination sets field value -func (o *VMInterface) SetL2vpnTermination(v L2VPNTermination) { +func (o *VMInterface) SetL2vpnTermination(v BriefL2VPNTermination) { o.L2vpnTermination.Set(&v) } @@ -783,6 +816,9 @@ func (o VMInterface) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["virtual_machine"] = o.VirtualMachine toSerialize["name"] = o.Name @@ -881,6 +917,7 @@ func (o *VMInterface) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "virtual_machine") delete(additionalProperties, "name") diff --git a/model_vm_interface_request.go b/model_vm_interface_request.go index 17f56f869..b701d9b72 100644 --- a/model_vm_interface_request.go +++ b/model_vm_interface_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,7 +20,7 @@ var _ MappedNullable = &VMInterfaceRequest{} // VMInterfaceRequest Adds support for custom fields and tags. type VMInterfaceRequest struct { - VirtualMachine VirtualMachineRequest `json:"virtual_machine"` + VirtualMachine BriefVirtualMachineRequest `json:"virtual_machine"` Name string `json:"name"` Enabled *bool `json:"enabled,omitempty"` Parent NullableNestedVMInterfaceRequest `json:"parent,omitempty"` @@ -29,9 +29,9 @@ type VMInterfaceRequest struct { MacAddress NullableString `json:"mac_address,omitempty"` Description *string `json:"description,omitempty"` Mode *InterfaceModeValue `json:"mode,omitempty"` - UntaggedVlan NullableVLANRequest `json:"untagged_vlan,omitempty"` + UntaggedVlan NullableBriefVLANRequest `json:"untagged_vlan,omitempty"` TaggedVlans []int32 `json:"tagged_vlans,omitempty"` - Vrf NullableVRFRequest `json:"vrf,omitempty"` + Vrf NullableBriefVRFRequest `json:"vrf,omitempty"` Tags []NestedTagRequest `json:"tags,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} @@ -43,7 +43,7 @@ type _VMInterfaceRequest VMInterfaceRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewVMInterfaceRequest(virtualMachine VirtualMachineRequest, name string) *VMInterfaceRequest { +func NewVMInterfaceRequest(virtualMachine BriefVirtualMachineRequest, name string) *VMInterfaceRequest { this := VMInterfaceRequest{} this.VirtualMachine = virtualMachine this.Name = name @@ -59,9 +59,9 @@ func NewVMInterfaceRequestWithDefaults() *VMInterfaceRequest { } // GetVirtualMachine returns the VirtualMachine field value -func (o *VMInterfaceRequest) GetVirtualMachine() VirtualMachineRequest { +func (o *VMInterfaceRequest) GetVirtualMachine() BriefVirtualMachineRequest { if o == nil { - var ret VirtualMachineRequest + var ret BriefVirtualMachineRequest return ret } @@ -70,7 +70,7 @@ func (o *VMInterfaceRequest) GetVirtualMachine() VirtualMachineRequest { // GetVirtualMachineOk returns a tuple with the VirtualMachine field value // and a boolean to check if the value has been set. -func (o *VMInterfaceRequest) GetVirtualMachineOk() (*VirtualMachineRequest, bool) { +func (o *VMInterfaceRequest) GetVirtualMachineOk() (*BriefVirtualMachineRequest, bool) { if o == nil { return nil, false } @@ -78,7 +78,7 @@ func (o *VMInterfaceRequest) GetVirtualMachineOk() (*VirtualMachineRequest, bool } // SetVirtualMachine sets field value -func (o *VMInterfaceRequest) SetVirtualMachine(v VirtualMachineRequest) { +func (o *VMInterfaceRequest) SetVirtualMachine(v BriefVirtualMachineRequest) { o.VirtualMachine = v } @@ -375,9 +375,9 @@ func (o *VMInterfaceRequest) SetMode(v InterfaceModeValue) { } // GetUntaggedVlan returns the UntaggedVlan field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *VMInterfaceRequest) GetUntaggedVlan() VLANRequest { +func (o *VMInterfaceRequest) GetUntaggedVlan() BriefVLANRequest { if o == nil || IsNil(o.UntaggedVlan.Get()) { - var ret VLANRequest + var ret BriefVLANRequest return ret } return *o.UntaggedVlan.Get() @@ -386,7 +386,7 @@ func (o *VMInterfaceRequest) GetUntaggedVlan() VLANRequest { // GetUntaggedVlanOk returns a tuple with the UntaggedVlan 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 *VMInterfaceRequest) GetUntaggedVlanOk() (*VLANRequest, bool) { +func (o *VMInterfaceRequest) GetUntaggedVlanOk() (*BriefVLANRequest, bool) { if o == nil { return nil, false } @@ -402,8 +402,8 @@ func (o *VMInterfaceRequest) HasUntaggedVlan() bool { return false } -// SetUntaggedVlan gets a reference to the given NullableVLANRequest and assigns it to the UntaggedVlan field. -func (o *VMInterfaceRequest) SetUntaggedVlan(v VLANRequest) { +// SetUntaggedVlan gets a reference to the given NullableBriefVLANRequest and assigns it to the UntaggedVlan field. +func (o *VMInterfaceRequest) SetUntaggedVlan(v BriefVLANRequest) { o.UntaggedVlan.Set(&v) } @@ -450,9 +450,9 @@ func (o *VMInterfaceRequest) SetTaggedVlans(v []int32) { } // GetVrf returns the Vrf field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *VMInterfaceRequest) GetVrf() VRFRequest { +func (o *VMInterfaceRequest) GetVrf() BriefVRFRequest { if o == nil || IsNil(o.Vrf.Get()) { - var ret VRFRequest + var ret BriefVRFRequest return ret } return *o.Vrf.Get() @@ -461,7 +461,7 @@ func (o *VMInterfaceRequest) GetVrf() VRFRequest { // GetVrfOk returns a tuple with the Vrf 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 *VMInterfaceRequest) GetVrfOk() (*VRFRequest, bool) { +func (o *VMInterfaceRequest) GetVrfOk() (*BriefVRFRequest, bool) { if o == nil { return nil, false } @@ -477,8 +477,8 @@ func (o *VMInterfaceRequest) HasVrf() bool { return false } -// SetVrf gets a reference to the given NullableVRFRequest and assigns it to the Vrf field. -func (o *VMInterfaceRequest) SetVrf(v VRFRequest) { +// SetVrf gets a reference to the given NullableBriefVRFRequest and assigns it to the Vrf field. +func (o *VMInterfaceRequest) SetVrf(v BriefVRFRequest) { o.Vrf.Set(&v) } diff --git a/model_vpn_ike_policies_list_mode__ic_parameter_inner.go b/model_vpn_ike_policies_list_mode__ic_parameter_inner.go new file mode 100644 index 000000000..68944f17d --- /dev/null +++ b/model_vpn_ike_policies_list_mode__ic_parameter_inner.go @@ -0,0 +1,113 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// VpnIkePoliciesListModeIcParameterInner the model 'VpnIkePoliciesListModeIcParameterInner' +type VpnIkePoliciesListModeIcParameterInner string + +// List of vpn_ike_policies_list_mode__ic_parameter_inner +const ( + VPNIKEPOLICIESLISTMODEICPARAMETERINNER_EMPTY VpnIkePoliciesListModeIcParameterInner = "" + VPNIKEPOLICIESLISTMODEICPARAMETERINNER_AGGRESSIVE VpnIkePoliciesListModeIcParameterInner = "aggressive" + VPNIKEPOLICIESLISTMODEICPARAMETERINNER_MAIN VpnIkePoliciesListModeIcParameterInner = "main" +) + +// All allowed values of VpnIkePoliciesListModeIcParameterInner enum +var AllowedVpnIkePoliciesListModeIcParameterInnerEnumValues = []VpnIkePoliciesListModeIcParameterInner{ + "", + "aggressive", + "main", +} + +func (v *VpnIkePoliciesListModeIcParameterInner) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := VpnIkePoliciesListModeIcParameterInner(value) + for _, existing := range AllowedVpnIkePoliciesListModeIcParameterInnerEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid VpnIkePoliciesListModeIcParameterInner", value) +} + +// NewVpnIkePoliciesListModeIcParameterInnerFromValue returns a pointer to a valid VpnIkePoliciesListModeIcParameterInner +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewVpnIkePoliciesListModeIcParameterInnerFromValue(v string) (*VpnIkePoliciesListModeIcParameterInner, error) { + ev := VpnIkePoliciesListModeIcParameterInner(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for VpnIkePoliciesListModeIcParameterInner: valid values are %v", v, AllowedVpnIkePoliciesListModeIcParameterInnerEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v VpnIkePoliciesListModeIcParameterInner) IsValid() bool { + for _, existing := range AllowedVpnIkePoliciesListModeIcParameterInnerEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to vpn_ike_policies_list_mode__ic_parameter_inner value +func (v VpnIkePoliciesListModeIcParameterInner) Ptr() *VpnIkePoliciesListModeIcParameterInner { + return &v +} + +type NullableVpnIkePoliciesListModeIcParameterInner struct { + value *VpnIkePoliciesListModeIcParameterInner + isSet bool +} + +func (v NullableVpnIkePoliciesListModeIcParameterInner) Get() *VpnIkePoliciesListModeIcParameterInner { + return v.value +} + +func (v *NullableVpnIkePoliciesListModeIcParameterInner) Set(val *VpnIkePoliciesListModeIcParameterInner) { + v.value = val + v.isSet = true +} + +func (v NullableVpnIkePoliciesListModeIcParameterInner) IsSet() bool { + return v.isSet +} + +func (v *NullableVpnIkePoliciesListModeIcParameterInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableVpnIkePoliciesListModeIcParameterInner(val *VpnIkePoliciesListModeIcParameterInner) *NullableVpnIkePoliciesListModeIcParameterInner { + return &NullableVpnIkePoliciesListModeIcParameterInner{value: val, isSet: true} +} + +func (v NullableVpnIkePoliciesListModeIcParameterInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableVpnIkePoliciesListModeIcParameterInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_vpn_ike_policies_list_version__ic_parameter_inner.go b/model_vpn_ike_policies_list_version__ic_parameter_inner.go new file mode 100644 index 000000000..aab71023d --- /dev/null +++ b/model_vpn_ike_policies_list_version__ic_parameter_inner.go @@ -0,0 +1,111 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// VpnIkePoliciesListVersionIcParameterInner the model 'VpnIkePoliciesListVersionIcParameterInner' +type VpnIkePoliciesListVersionIcParameterInner int32 + +// List of vpn_ike_policies_list_version__ic_parameter_inner +const ( + VPNIKEPOLICIESLISTVERSIONICPARAMETERINNER__1 VpnIkePoliciesListVersionIcParameterInner = 1 + VPNIKEPOLICIESLISTVERSIONICPARAMETERINNER__2 VpnIkePoliciesListVersionIcParameterInner = 2 +) + +// All allowed values of VpnIkePoliciesListVersionIcParameterInner enum +var AllowedVpnIkePoliciesListVersionIcParameterInnerEnumValues = []VpnIkePoliciesListVersionIcParameterInner{ + 1, + 2, +} + +func (v *VpnIkePoliciesListVersionIcParameterInner) UnmarshalJSON(src []byte) error { + var value int32 + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := VpnIkePoliciesListVersionIcParameterInner(value) + for _, existing := range AllowedVpnIkePoliciesListVersionIcParameterInnerEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid VpnIkePoliciesListVersionIcParameterInner", value) +} + +// NewVpnIkePoliciesListVersionIcParameterInnerFromValue returns a pointer to a valid VpnIkePoliciesListVersionIcParameterInner +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewVpnIkePoliciesListVersionIcParameterInnerFromValue(v int32) (*VpnIkePoliciesListVersionIcParameterInner, error) { + ev := VpnIkePoliciesListVersionIcParameterInner(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for VpnIkePoliciesListVersionIcParameterInner: valid values are %v", v, AllowedVpnIkePoliciesListVersionIcParameterInnerEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v VpnIkePoliciesListVersionIcParameterInner) IsValid() bool { + for _, existing := range AllowedVpnIkePoliciesListVersionIcParameterInnerEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to vpn_ike_policies_list_version__ic_parameter_inner value +func (v VpnIkePoliciesListVersionIcParameterInner) Ptr() *VpnIkePoliciesListVersionIcParameterInner { + return &v +} + +type NullableVpnIkePoliciesListVersionIcParameterInner struct { + value *VpnIkePoliciesListVersionIcParameterInner + isSet bool +} + +func (v NullableVpnIkePoliciesListVersionIcParameterInner) Get() *VpnIkePoliciesListVersionIcParameterInner { + return v.value +} + +func (v *NullableVpnIkePoliciesListVersionIcParameterInner) Set(val *VpnIkePoliciesListVersionIcParameterInner) { + v.value = val + v.isSet = true +} + +func (v NullableVpnIkePoliciesListVersionIcParameterInner) IsSet() bool { + return v.isSet +} + +func (v *NullableVpnIkePoliciesListVersionIcParameterInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableVpnIkePoliciesListVersionIcParameterInner(val *VpnIkePoliciesListVersionIcParameterInner) *NullableVpnIkePoliciesListVersionIcParameterInner { + return &NullableVpnIkePoliciesListVersionIcParameterInner{value: val, isSet: true} +} + +func (v NullableVpnIkePoliciesListVersionIcParameterInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableVpnIkePoliciesListVersionIcParameterInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_vpn_ike_proposals_list_authentication_algorithm__ic_parameter_inner.go b/model_vpn_ike_proposals_list_authentication_algorithm__ic_parameter_inner.go new file mode 100644 index 000000000..c157dbbf2 --- /dev/null +++ b/model_vpn_ike_proposals_list_authentication_algorithm__ic_parameter_inner.go @@ -0,0 +1,119 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner the model 'VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner' +type VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner string + +// List of vpn_ike_proposals_list_authentication_algorithm__ic_parameter_inner +const ( + VPNIKEPROPOSALSLISTAUTHENTICATIONALGORITHMICPARAMETERINNER_EMPTY VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner = "" + VPNIKEPROPOSALSLISTAUTHENTICATIONALGORITHMICPARAMETERINNER_HMAC_MD5 VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner = "hmac-md5" + VPNIKEPROPOSALSLISTAUTHENTICATIONALGORITHMICPARAMETERINNER_HMAC_SHA1 VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner = "hmac-sha1" + VPNIKEPROPOSALSLISTAUTHENTICATIONALGORITHMICPARAMETERINNER_HMAC_SHA256 VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner = "hmac-sha256" + VPNIKEPROPOSALSLISTAUTHENTICATIONALGORITHMICPARAMETERINNER_HMAC_SHA384 VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner = "hmac-sha384" + VPNIKEPROPOSALSLISTAUTHENTICATIONALGORITHMICPARAMETERINNER_HMAC_SHA512 VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner = "hmac-sha512" +) + +// All allowed values of VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner enum +var AllowedVpnIkeProposalsListAuthenticationAlgorithmIcParameterInnerEnumValues = []VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner{ + "", + "hmac-md5", + "hmac-sha1", + "hmac-sha256", + "hmac-sha384", + "hmac-sha512", +} + +func (v *VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner(value) + for _, existing := range AllowedVpnIkeProposalsListAuthenticationAlgorithmIcParameterInnerEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner", value) +} + +// NewVpnIkeProposalsListAuthenticationAlgorithmIcParameterInnerFromValue returns a pointer to a valid VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewVpnIkeProposalsListAuthenticationAlgorithmIcParameterInnerFromValue(v string) (*VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner, error) { + ev := VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner: valid values are %v", v, AllowedVpnIkeProposalsListAuthenticationAlgorithmIcParameterInnerEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner) IsValid() bool { + for _, existing := range AllowedVpnIkeProposalsListAuthenticationAlgorithmIcParameterInnerEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to vpn_ike_proposals_list_authentication_algorithm__ic_parameter_inner value +func (v VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner) Ptr() *VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner { + return &v +} + +type NullableVpnIkeProposalsListAuthenticationAlgorithmIcParameterInner struct { + value *VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner + isSet bool +} + +func (v NullableVpnIkeProposalsListAuthenticationAlgorithmIcParameterInner) Get() *VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner { + return v.value +} + +func (v *NullableVpnIkeProposalsListAuthenticationAlgorithmIcParameterInner) Set(val *VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner) { + v.value = val + v.isSet = true +} + +func (v NullableVpnIkeProposalsListAuthenticationAlgorithmIcParameterInner) IsSet() bool { + return v.isSet +} + +func (v *NullableVpnIkeProposalsListAuthenticationAlgorithmIcParameterInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableVpnIkeProposalsListAuthenticationAlgorithmIcParameterInner(val *VpnIkeProposalsListAuthenticationAlgorithmIcParameterInner) *NullableVpnIkeProposalsListAuthenticationAlgorithmIcParameterInner { + return &NullableVpnIkeProposalsListAuthenticationAlgorithmIcParameterInner{value: val, isSet: true} +} + +func (v NullableVpnIkeProposalsListAuthenticationAlgorithmIcParameterInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableVpnIkeProposalsListAuthenticationAlgorithmIcParameterInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_vpn_ike_proposals_list_authentication_method__ic_parameter_inner.go b/model_vpn_ike_proposals_list_authentication_method__ic_parameter_inner.go new file mode 100644 index 000000000..5bd043a9e --- /dev/null +++ b/model_vpn_ike_proposals_list_authentication_method__ic_parameter_inner.go @@ -0,0 +1,115 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// VpnIkeProposalsListAuthenticationMethodIcParameterInner the model 'VpnIkeProposalsListAuthenticationMethodIcParameterInner' +type VpnIkeProposalsListAuthenticationMethodIcParameterInner string + +// List of vpn_ike_proposals_list_authentication_method__ic_parameter_inner +const ( + VPNIKEPROPOSALSLISTAUTHENTICATIONMETHODICPARAMETERINNER_CERTIFICATES VpnIkeProposalsListAuthenticationMethodIcParameterInner = "certificates" + VPNIKEPROPOSALSLISTAUTHENTICATIONMETHODICPARAMETERINNER_DSA_SIGNATURES VpnIkeProposalsListAuthenticationMethodIcParameterInner = "dsa-signatures" + VPNIKEPROPOSALSLISTAUTHENTICATIONMETHODICPARAMETERINNER_PRESHARED_KEYS VpnIkeProposalsListAuthenticationMethodIcParameterInner = "preshared-keys" + VPNIKEPROPOSALSLISTAUTHENTICATIONMETHODICPARAMETERINNER_RSA_SIGNATURES VpnIkeProposalsListAuthenticationMethodIcParameterInner = "rsa-signatures" +) + +// All allowed values of VpnIkeProposalsListAuthenticationMethodIcParameterInner enum +var AllowedVpnIkeProposalsListAuthenticationMethodIcParameterInnerEnumValues = []VpnIkeProposalsListAuthenticationMethodIcParameterInner{ + "certificates", + "dsa-signatures", + "preshared-keys", + "rsa-signatures", +} + +func (v *VpnIkeProposalsListAuthenticationMethodIcParameterInner) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := VpnIkeProposalsListAuthenticationMethodIcParameterInner(value) + for _, existing := range AllowedVpnIkeProposalsListAuthenticationMethodIcParameterInnerEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid VpnIkeProposalsListAuthenticationMethodIcParameterInner", value) +} + +// NewVpnIkeProposalsListAuthenticationMethodIcParameterInnerFromValue returns a pointer to a valid VpnIkeProposalsListAuthenticationMethodIcParameterInner +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewVpnIkeProposalsListAuthenticationMethodIcParameterInnerFromValue(v string) (*VpnIkeProposalsListAuthenticationMethodIcParameterInner, error) { + ev := VpnIkeProposalsListAuthenticationMethodIcParameterInner(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for VpnIkeProposalsListAuthenticationMethodIcParameterInner: valid values are %v", v, AllowedVpnIkeProposalsListAuthenticationMethodIcParameterInnerEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v VpnIkeProposalsListAuthenticationMethodIcParameterInner) IsValid() bool { + for _, existing := range AllowedVpnIkeProposalsListAuthenticationMethodIcParameterInnerEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to vpn_ike_proposals_list_authentication_method__ic_parameter_inner value +func (v VpnIkeProposalsListAuthenticationMethodIcParameterInner) Ptr() *VpnIkeProposalsListAuthenticationMethodIcParameterInner { + return &v +} + +type NullableVpnIkeProposalsListAuthenticationMethodIcParameterInner struct { + value *VpnIkeProposalsListAuthenticationMethodIcParameterInner + isSet bool +} + +func (v NullableVpnIkeProposalsListAuthenticationMethodIcParameterInner) Get() *VpnIkeProposalsListAuthenticationMethodIcParameterInner { + return v.value +} + +func (v *NullableVpnIkeProposalsListAuthenticationMethodIcParameterInner) Set(val *VpnIkeProposalsListAuthenticationMethodIcParameterInner) { + v.value = val + v.isSet = true +} + +func (v NullableVpnIkeProposalsListAuthenticationMethodIcParameterInner) IsSet() bool { + return v.isSet +} + +func (v *NullableVpnIkeProposalsListAuthenticationMethodIcParameterInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableVpnIkeProposalsListAuthenticationMethodIcParameterInner(val *VpnIkeProposalsListAuthenticationMethodIcParameterInner) *NullableVpnIkeProposalsListAuthenticationMethodIcParameterInner { + return &NullableVpnIkeProposalsListAuthenticationMethodIcParameterInner{value: val, isSet: true} +} + +func (v NullableVpnIkeProposalsListAuthenticationMethodIcParameterInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableVpnIkeProposalsListAuthenticationMethodIcParameterInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_vpn_ike_proposals_list_encryption_algorithm__ic_parameter_inner.go b/model_vpn_ike_proposals_list_encryption_algorithm__ic_parameter_inner.go new file mode 100644 index 000000000..7c5cfca6b --- /dev/null +++ b/model_vpn_ike_proposals_list_encryption_algorithm__ic_parameter_inner.go @@ -0,0 +1,123 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// VpnIkeProposalsListEncryptionAlgorithmIcParameterInner the model 'VpnIkeProposalsListEncryptionAlgorithmIcParameterInner' +type VpnIkeProposalsListEncryptionAlgorithmIcParameterInner string + +// List of vpn_ike_proposals_list_encryption_algorithm__ic_parameter_inner +const ( + VPNIKEPROPOSALSLISTENCRYPTIONALGORITHMICPARAMETERINNER__3DES_CBC VpnIkeProposalsListEncryptionAlgorithmIcParameterInner = "3des-cbc" + VPNIKEPROPOSALSLISTENCRYPTIONALGORITHMICPARAMETERINNER_AES_128_CBC VpnIkeProposalsListEncryptionAlgorithmIcParameterInner = "aes-128-cbc" + VPNIKEPROPOSALSLISTENCRYPTIONALGORITHMICPARAMETERINNER_AES_128_GCM VpnIkeProposalsListEncryptionAlgorithmIcParameterInner = "aes-128-gcm" + VPNIKEPROPOSALSLISTENCRYPTIONALGORITHMICPARAMETERINNER_AES_192_CBC VpnIkeProposalsListEncryptionAlgorithmIcParameterInner = "aes-192-cbc" + VPNIKEPROPOSALSLISTENCRYPTIONALGORITHMICPARAMETERINNER_AES_192_GCM VpnIkeProposalsListEncryptionAlgorithmIcParameterInner = "aes-192-gcm" + VPNIKEPROPOSALSLISTENCRYPTIONALGORITHMICPARAMETERINNER_AES_256_CBC VpnIkeProposalsListEncryptionAlgorithmIcParameterInner = "aes-256-cbc" + VPNIKEPROPOSALSLISTENCRYPTIONALGORITHMICPARAMETERINNER_AES_256_GCM VpnIkeProposalsListEncryptionAlgorithmIcParameterInner = "aes-256-gcm" + VPNIKEPROPOSALSLISTENCRYPTIONALGORITHMICPARAMETERINNER_DES_CBC VpnIkeProposalsListEncryptionAlgorithmIcParameterInner = "des-cbc" +) + +// All allowed values of VpnIkeProposalsListEncryptionAlgorithmIcParameterInner enum +var AllowedVpnIkeProposalsListEncryptionAlgorithmIcParameterInnerEnumValues = []VpnIkeProposalsListEncryptionAlgorithmIcParameterInner{ + "3des-cbc", + "aes-128-cbc", + "aes-128-gcm", + "aes-192-cbc", + "aes-192-gcm", + "aes-256-cbc", + "aes-256-gcm", + "des-cbc", +} + +func (v *VpnIkeProposalsListEncryptionAlgorithmIcParameterInner) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := VpnIkeProposalsListEncryptionAlgorithmIcParameterInner(value) + for _, existing := range AllowedVpnIkeProposalsListEncryptionAlgorithmIcParameterInnerEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid VpnIkeProposalsListEncryptionAlgorithmIcParameterInner", value) +} + +// NewVpnIkeProposalsListEncryptionAlgorithmIcParameterInnerFromValue returns a pointer to a valid VpnIkeProposalsListEncryptionAlgorithmIcParameterInner +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewVpnIkeProposalsListEncryptionAlgorithmIcParameterInnerFromValue(v string) (*VpnIkeProposalsListEncryptionAlgorithmIcParameterInner, error) { + ev := VpnIkeProposalsListEncryptionAlgorithmIcParameterInner(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for VpnIkeProposalsListEncryptionAlgorithmIcParameterInner: valid values are %v", v, AllowedVpnIkeProposalsListEncryptionAlgorithmIcParameterInnerEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v VpnIkeProposalsListEncryptionAlgorithmIcParameterInner) IsValid() bool { + for _, existing := range AllowedVpnIkeProposalsListEncryptionAlgorithmIcParameterInnerEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to vpn_ike_proposals_list_encryption_algorithm__ic_parameter_inner value +func (v VpnIkeProposalsListEncryptionAlgorithmIcParameterInner) Ptr() *VpnIkeProposalsListEncryptionAlgorithmIcParameterInner { + return &v +} + +type NullableVpnIkeProposalsListEncryptionAlgorithmIcParameterInner struct { + value *VpnIkeProposalsListEncryptionAlgorithmIcParameterInner + isSet bool +} + +func (v NullableVpnIkeProposalsListEncryptionAlgorithmIcParameterInner) Get() *VpnIkeProposalsListEncryptionAlgorithmIcParameterInner { + return v.value +} + +func (v *NullableVpnIkeProposalsListEncryptionAlgorithmIcParameterInner) Set(val *VpnIkeProposalsListEncryptionAlgorithmIcParameterInner) { + v.value = val + v.isSet = true +} + +func (v NullableVpnIkeProposalsListEncryptionAlgorithmIcParameterInner) IsSet() bool { + return v.isSet +} + +func (v *NullableVpnIkeProposalsListEncryptionAlgorithmIcParameterInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableVpnIkeProposalsListEncryptionAlgorithmIcParameterInner(val *VpnIkeProposalsListEncryptionAlgorithmIcParameterInner) *NullableVpnIkeProposalsListEncryptionAlgorithmIcParameterInner { + return &NullableVpnIkeProposalsListEncryptionAlgorithmIcParameterInner{value: val, isSet: true} +} + +func (v NullableVpnIkeProposalsListEncryptionAlgorithmIcParameterInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableVpnIkeProposalsListEncryptionAlgorithmIcParameterInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_vpn_ike_proposals_list_group__ic_parameter_inner.go b/model_vpn_ike_proposals_list_group__ic_parameter_inner.go new file mode 100644 index 000000000..6222771fd --- /dev/null +++ b/model_vpn_ike_proposals_list_group__ic_parameter_inner.go @@ -0,0 +1,155 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// VpnIkeProposalsListGroupIcParameterInner the model 'VpnIkeProposalsListGroupIcParameterInner' +type VpnIkeProposalsListGroupIcParameterInner int32 + +// List of vpn_ike_proposals_list_group__ic_parameter_inner +const ( + VPNIKEPROPOSALSLISTGROUPICPARAMETERINNER__1 VpnIkeProposalsListGroupIcParameterInner = 1 + VPNIKEPROPOSALSLISTGROUPICPARAMETERINNER__14 VpnIkeProposalsListGroupIcParameterInner = 14 + VPNIKEPROPOSALSLISTGROUPICPARAMETERINNER__15 VpnIkeProposalsListGroupIcParameterInner = 15 + VPNIKEPROPOSALSLISTGROUPICPARAMETERINNER__16 VpnIkeProposalsListGroupIcParameterInner = 16 + VPNIKEPROPOSALSLISTGROUPICPARAMETERINNER__17 VpnIkeProposalsListGroupIcParameterInner = 17 + VPNIKEPROPOSALSLISTGROUPICPARAMETERINNER__18 VpnIkeProposalsListGroupIcParameterInner = 18 + VPNIKEPROPOSALSLISTGROUPICPARAMETERINNER__19 VpnIkeProposalsListGroupIcParameterInner = 19 + VPNIKEPROPOSALSLISTGROUPICPARAMETERINNER__2 VpnIkeProposalsListGroupIcParameterInner = 2 + VPNIKEPROPOSALSLISTGROUPICPARAMETERINNER__20 VpnIkeProposalsListGroupIcParameterInner = 20 + VPNIKEPROPOSALSLISTGROUPICPARAMETERINNER__21 VpnIkeProposalsListGroupIcParameterInner = 21 + VPNIKEPROPOSALSLISTGROUPICPARAMETERINNER__22 VpnIkeProposalsListGroupIcParameterInner = 22 + VPNIKEPROPOSALSLISTGROUPICPARAMETERINNER__23 VpnIkeProposalsListGroupIcParameterInner = 23 + VPNIKEPROPOSALSLISTGROUPICPARAMETERINNER__24 VpnIkeProposalsListGroupIcParameterInner = 24 + VPNIKEPROPOSALSLISTGROUPICPARAMETERINNER__25 VpnIkeProposalsListGroupIcParameterInner = 25 + VPNIKEPROPOSALSLISTGROUPICPARAMETERINNER__26 VpnIkeProposalsListGroupIcParameterInner = 26 + VPNIKEPROPOSALSLISTGROUPICPARAMETERINNER__27 VpnIkeProposalsListGroupIcParameterInner = 27 + VPNIKEPROPOSALSLISTGROUPICPARAMETERINNER__28 VpnIkeProposalsListGroupIcParameterInner = 28 + VPNIKEPROPOSALSLISTGROUPICPARAMETERINNER__29 VpnIkeProposalsListGroupIcParameterInner = 29 + VPNIKEPROPOSALSLISTGROUPICPARAMETERINNER__30 VpnIkeProposalsListGroupIcParameterInner = 30 + VPNIKEPROPOSALSLISTGROUPICPARAMETERINNER__31 VpnIkeProposalsListGroupIcParameterInner = 31 + VPNIKEPROPOSALSLISTGROUPICPARAMETERINNER__32 VpnIkeProposalsListGroupIcParameterInner = 32 + VPNIKEPROPOSALSLISTGROUPICPARAMETERINNER__33 VpnIkeProposalsListGroupIcParameterInner = 33 + VPNIKEPROPOSALSLISTGROUPICPARAMETERINNER__34 VpnIkeProposalsListGroupIcParameterInner = 34 + VPNIKEPROPOSALSLISTGROUPICPARAMETERINNER__5 VpnIkeProposalsListGroupIcParameterInner = 5 +) + +// All allowed values of VpnIkeProposalsListGroupIcParameterInner enum +var AllowedVpnIkeProposalsListGroupIcParameterInnerEnumValues = []VpnIkeProposalsListGroupIcParameterInner{ + 1, + 14, + 15, + 16, + 17, + 18, + 19, + 2, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 5, +} + +func (v *VpnIkeProposalsListGroupIcParameterInner) UnmarshalJSON(src []byte) error { + var value int32 + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := VpnIkeProposalsListGroupIcParameterInner(value) + for _, existing := range AllowedVpnIkeProposalsListGroupIcParameterInnerEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid VpnIkeProposalsListGroupIcParameterInner", value) +} + +// NewVpnIkeProposalsListGroupIcParameterInnerFromValue returns a pointer to a valid VpnIkeProposalsListGroupIcParameterInner +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewVpnIkeProposalsListGroupIcParameterInnerFromValue(v int32) (*VpnIkeProposalsListGroupIcParameterInner, error) { + ev := VpnIkeProposalsListGroupIcParameterInner(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for VpnIkeProposalsListGroupIcParameterInner: valid values are %v", v, AllowedVpnIkeProposalsListGroupIcParameterInnerEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v VpnIkeProposalsListGroupIcParameterInner) IsValid() bool { + for _, existing := range AllowedVpnIkeProposalsListGroupIcParameterInnerEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to vpn_ike_proposals_list_group__ic_parameter_inner value +func (v VpnIkeProposalsListGroupIcParameterInner) Ptr() *VpnIkeProposalsListGroupIcParameterInner { + return &v +} + +type NullableVpnIkeProposalsListGroupIcParameterInner struct { + value *VpnIkeProposalsListGroupIcParameterInner + isSet bool +} + +func (v NullableVpnIkeProposalsListGroupIcParameterInner) Get() *VpnIkeProposalsListGroupIcParameterInner { + return v.value +} + +func (v *NullableVpnIkeProposalsListGroupIcParameterInner) Set(val *VpnIkeProposalsListGroupIcParameterInner) { + v.value = val + v.isSet = true +} + +func (v NullableVpnIkeProposalsListGroupIcParameterInner) IsSet() bool { + return v.isSet +} + +func (v *NullableVpnIkeProposalsListGroupIcParameterInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableVpnIkeProposalsListGroupIcParameterInner(val *VpnIkeProposalsListGroupIcParameterInner) *NullableVpnIkeProposalsListGroupIcParameterInner { + return &NullableVpnIkeProposalsListGroupIcParameterInner{value: val, isSet: true} +} + +func (v NullableVpnIkeProposalsListGroupIcParameterInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableVpnIkeProposalsListGroupIcParameterInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_vpn_ipsec_policies_list_pfs_group__ic_parameter_inner.go b/model_vpn_ipsec_policies_list_pfs_group__ic_parameter_inner.go new file mode 100644 index 000000000..6cafaf4e5 --- /dev/null +++ b/model_vpn_ipsec_policies_list_pfs_group__ic_parameter_inner.go @@ -0,0 +1,157 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// VpnIpsecPoliciesListPfsGroupIcParameterInner the model 'VpnIpsecPoliciesListPfsGroupIcParameterInner' +type VpnIpsecPoliciesListPfsGroupIcParameterInner int32 + +// List of vpn_ipsec_policies_list_pfs_group__ic_parameter_inner +const ( + VPNIPSECPOLICIESLISTPFSGROUPICPARAMETERINNER__1 VpnIpsecPoliciesListPfsGroupIcParameterInner = 1 + VPNIPSECPOLICIESLISTPFSGROUPICPARAMETERINNER__14 VpnIpsecPoliciesListPfsGroupIcParameterInner = 14 + VPNIPSECPOLICIESLISTPFSGROUPICPARAMETERINNER__15 VpnIpsecPoliciesListPfsGroupIcParameterInner = 15 + VPNIPSECPOLICIESLISTPFSGROUPICPARAMETERINNER__16 VpnIpsecPoliciesListPfsGroupIcParameterInner = 16 + VPNIPSECPOLICIESLISTPFSGROUPICPARAMETERINNER__17 VpnIpsecPoliciesListPfsGroupIcParameterInner = 17 + VPNIPSECPOLICIESLISTPFSGROUPICPARAMETERINNER__18 VpnIpsecPoliciesListPfsGroupIcParameterInner = 18 + VPNIPSECPOLICIESLISTPFSGROUPICPARAMETERINNER__19 VpnIpsecPoliciesListPfsGroupIcParameterInner = 19 + VPNIPSECPOLICIESLISTPFSGROUPICPARAMETERINNER__2 VpnIpsecPoliciesListPfsGroupIcParameterInner = 2 + VPNIPSECPOLICIESLISTPFSGROUPICPARAMETERINNER__20 VpnIpsecPoliciesListPfsGroupIcParameterInner = 20 + VPNIPSECPOLICIESLISTPFSGROUPICPARAMETERINNER__21 VpnIpsecPoliciesListPfsGroupIcParameterInner = 21 + VPNIPSECPOLICIESLISTPFSGROUPICPARAMETERINNER__22 VpnIpsecPoliciesListPfsGroupIcParameterInner = 22 + VPNIPSECPOLICIESLISTPFSGROUPICPARAMETERINNER__23 VpnIpsecPoliciesListPfsGroupIcParameterInner = 23 + VPNIPSECPOLICIESLISTPFSGROUPICPARAMETERINNER__24 VpnIpsecPoliciesListPfsGroupIcParameterInner = 24 + VPNIPSECPOLICIESLISTPFSGROUPICPARAMETERINNER__25 VpnIpsecPoliciesListPfsGroupIcParameterInner = 25 + VPNIPSECPOLICIESLISTPFSGROUPICPARAMETERINNER__26 VpnIpsecPoliciesListPfsGroupIcParameterInner = 26 + VPNIPSECPOLICIESLISTPFSGROUPICPARAMETERINNER__27 VpnIpsecPoliciesListPfsGroupIcParameterInner = 27 + VPNIPSECPOLICIESLISTPFSGROUPICPARAMETERINNER__28 VpnIpsecPoliciesListPfsGroupIcParameterInner = 28 + VPNIPSECPOLICIESLISTPFSGROUPICPARAMETERINNER__29 VpnIpsecPoliciesListPfsGroupIcParameterInner = 29 + VPNIPSECPOLICIESLISTPFSGROUPICPARAMETERINNER__30 VpnIpsecPoliciesListPfsGroupIcParameterInner = 30 + VPNIPSECPOLICIESLISTPFSGROUPICPARAMETERINNER__31 VpnIpsecPoliciesListPfsGroupIcParameterInner = 31 + VPNIPSECPOLICIESLISTPFSGROUPICPARAMETERINNER__32 VpnIpsecPoliciesListPfsGroupIcParameterInner = 32 + VPNIPSECPOLICIESLISTPFSGROUPICPARAMETERINNER__33 VpnIpsecPoliciesListPfsGroupIcParameterInner = 33 + VPNIPSECPOLICIESLISTPFSGROUPICPARAMETERINNER__34 VpnIpsecPoliciesListPfsGroupIcParameterInner = 34 + VPNIPSECPOLICIESLISTPFSGROUPICPARAMETERINNER__5 VpnIpsecPoliciesListPfsGroupIcParameterInner = 5 + VPNIPSECPOLICIESLISTPFSGROUPICPARAMETERINNER__null VpnIpsecPoliciesListPfsGroupIcParameterInner = 0 +) + +// All allowed values of VpnIpsecPoliciesListPfsGroupIcParameterInner enum +var AllowedVpnIpsecPoliciesListPfsGroupIcParameterInnerEnumValues = []VpnIpsecPoliciesListPfsGroupIcParameterInner{ + 1, + 14, + 15, + 16, + 17, + 18, + 19, + 2, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 5, + 0, +} + +func (v *VpnIpsecPoliciesListPfsGroupIcParameterInner) UnmarshalJSON(src []byte) error { + var value int32 + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := VpnIpsecPoliciesListPfsGroupIcParameterInner(value) + for _, existing := range AllowedVpnIpsecPoliciesListPfsGroupIcParameterInnerEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid VpnIpsecPoliciesListPfsGroupIcParameterInner", value) +} + +// NewVpnIpsecPoliciesListPfsGroupIcParameterInnerFromValue returns a pointer to a valid VpnIpsecPoliciesListPfsGroupIcParameterInner +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewVpnIpsecPoliciesListPfsGroupIcParameterInnerFromValue(v int32) (*VpnIpsecPoliciesListPfsGroupIcParameterInner, error) { + ev := VpnIpsecPoliciesListPfsGroupIcParameterInner(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for VpnIpsecPoliciesListPfsGroupIcParameterInner: valid values are %v", v, AllowedVpnIpsecPoliciesListPfsGroupIcParameterInnerEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v VpnIpsecPoliciesListPfsGroupIcParameterInner) IsValid() bool { + for _, existing := range AllowedVpnIpsecPoliciesListPfsGroupIcParameterInnerEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to vpn_ipsec_policies_list_pfs_group__ic_parameter_inner value +func (v VpnIpsecPoliciesListPfsGroupIcParameterInner) Ptr() *VpnIpsecPoliciesListPfsGroupIcParameterInner { + return &v +} + +type NullableVpnIpsecPoliciesListPfsGroupIcParameterInner struct { + value *VpnIpsecPoliciesListPfsGroupIcParameterInner + isSet bool +} + +func (v NullableVpnIpsecPoliciesListPfsGroupIcParameterInner) Get() *VpnIpsecPoliciesListPfsGroupIcParameterInner { + return v.value +} + +func (v *NullableVpnIpsecPoliciesListPfsGroupIcParameterInner) Set(val *VpnIpsecPoliciesListPfsGroupIcParameterInner) { + v.value = val + v.isSet = true +} + +func (v NullableVpnIpsecPoliciesListPfsGroupIcParameterInner) IsSet() bool { + return v.isSet +} + +func (v *NullableVpnIpsecPoliciesListPfsGroupIcParameterInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableVpnIpsecPoliciesListPfsGroupIcParameterInner(val *VpnIpsecPoliciesListPfsGroupIcParameterInner) *NullableVpnIpsecPoliciesListPfsGroupIcParameterInner { + return &NullableVpnIpsecPoliciesListPfsGroupIcParameterInner{value: val, isSet: true} +} + +func (v NullableVpnIpsecPoliciesListPfsGroupIcParameterInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableVpnIpsecPoliciesListPfsGroupIcParameterInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_vpn_ipsec_profiles_list_mode__ic_parameter_inner.go b/model_vpn_ipsec_profiles_list_mode__ic_parameter_inner.go new file mode 100644 index 000000000..b2e680511 --- /dev/null +++ b/model_vpn_ipsec_profiles_list_mode__ic_parameter_inner.go @@ -0,0 +1,111 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// VpnIpsecProfilesListModeIcParameterInner the model 'VpnIpsecProfilesListModeIcParameterInner' +type VpnIpsecProfilesListModeIcParameterInner string + +// List of vpn_ipsec_profiles_list_mode__ic_parameter_inner +const ( + VPNIPSECPROFILESLISTMODEICPARAMETERINNER_AH VpnIpsecProfilesListModeIcParameterInner = "ah" + VPNIPSECPROFILESLISTMODEICPARAMETERINNER_ESP VpnIpsecProfilesListModeIcParameterInner = "esp" +) + +// All allowed values of VpnIpsecProfilesListModeIcParameterInner enum +var AllowedVpnIpsecProfilesListModeIcParameterInnerEnumValues = []VpnIpsecProfilesListModeIcParameterInner{ + "ah", + "esp", +} + +func (v *VpnIpsecProfilesListModeIcParameterInner) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := VpnIpsecProfilesListModeIcParameterInner(value) + for _, existing := range AllowedVpnIpsecProfilesListModeIcParameterInnerEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid VpnIpsecProfilesListModeIcParameterInner", value) +} + +// NewVpnIpsecProfilesListModeIcParameterInnerFromValue returns a pointer to a valid VpnIpsecProfilesListModeIcParameterInner +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewVpnIpsecProfilesListModeIcParameterInnerFromValue(v string) (*VpnIpsecProfilesListModeIcParameterInner, error) { + ev := VpnIpsecProfilesListModeIcParameterInner(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for VpnIpsecProfilesListModeIcParameterInner: valid values are %v", v, AllowedVpnIpsecProfilesListModeIcParameterInnerEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v VpnIpsecProfilesListModeIcParameterInner) IsValid() bool { + for _, existing := range AllowedVpnIpsecProfilesListModeIcParameterInnerEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to vpn_ipsec_profiles_list_mode__ic_parameter_inner value +func (v VpnIpsecProfilesListModeIcParameterInner) Ptr() *VpnIpsecProfilesListModeIcParameterInner { + return &v +} + +type NullableVpnIpsecProfilesListModeIcParameterInner struct { + value *VpnIpsecProfilesListModeIcParameterInner + isSet bool +} + +func (v NullableVpnIpsecProfilesListModeIcParameterInner) Get() *VpnIpsecProfilesListModeIcParameterInner { + return v.value +} + +func (v *NullableVpnIpsecProfilesListModeIcParameterInner) Set(val *VpnIpsecProfilesListModeIcParameterInner) { + v.value = val + v.isSet = true +} + +func (v NullableVpnIpsecProfilesListModeIcParameterInner) IsSet() bool { + return v.isSet +} + +func (v *NullableVpnIpsecProfilesListModeIcParameterInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableVpnIpsecProfilesListModeIcParameterInner(val *VpnIpsecProfilesListModeIcParameterInner) *NullableVpnIpsecProfilesListModeIcParameterInner { + return &NullableVpnIpsecProfilesListModeIcParameterInner{value: val, isSet: true} +} + +func (v NullableVpnIpsecProfilesListModeIcParameterInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableVpnIpsecProfilesListModeIcParameterInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_vpn_l2vpns_list_type__ic_parameter_inner.go b/model_vpn_l2vpns_list_type__ic_parameter_inner.go new file mode 100644 index 000000000..c5b8327c1 --- /dev/null +++ b/model_vpn_l2vpns_list_type__ic_parameter_inner.go @@ -0,0 +1,131 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// VpnL2vpnsListTypeIcParameterInner the model 'VpnL2vpnsListTypeIcParameterInner' +type VpnL2vpnsListTypeIcParameterInner string + +// List of vpn_l2vpns_list_type__ic_parameter_inner +const ( + VPNL2VPNSLISTTYPEICPARAMETERINNER_EP_LAN VpnL2vpnsListTypeIcParameterInner = "ep-lan" + VPNL2VPNSLISTTYPEICPARAMETERINNER_EP_TREE VpnL2vpnsListTypeIcParameterInner = "ep-tree" + VPNL2VPNSLISTTYPEICPARAMETERINNER_EPL VpnL2vpnsListTypeIcParameterInner = "epl" + VPNL2VPNSLISTTYPEICPARAMETERINNER_EVP_LAN VpnL2vpnsListTypeIcParameterInner = "evp-lan" + VPNL2VPNSLISTTYPEICPARAMETERINNER_EVP_TREE VpnL2vpnsListTypeIcParameterInner = "evp-tree" + VPNL2VPNSLISTTYPEICPARAMETERINNER_EVPL VpnL2vpnsListTypeIcParameterInner = "evpl" + VPNL2VPNSLISTTYPEICPARAMETERINNER_MPLS_EVPN VpnL2vpnsListTypeIcParameterInner = "mpls-evpn" + VPNL2VPNSLISTTYPEICPARAMETERINNER_PBB_EVPN VpnL2vpnsListTypeIcParameterInner = "pbb-evpn" + VPNL2VPNSLISTTYPEICPARAMETERINNER_VPLS VpnL2vpnsListTypeIcParameterInner = "vpls" + VPNL2VPNSLISTTYPEICPARAMETERINNER_VPWS VpnL2vpnsListTypeIcParameterInner = "vpws" + VPNL2VPNSLISTTYPEICPARAMETERINNER_VXLAN VpnL2vpnsListTypeIcParameterInner = "vxlan" + VPNL2VPNSLISTTYPEICPARAMETERINNER_VXLAN_EVPN VpnL2vpnsListTypeIcParameterInner = "vxlan-evpn" +) + +// All allowed values of VpnL2vpnsListTypeIcParameterInner enum +var AllowedVpnL2vpnsListTypeIcParameterInnerEnumValues = []VpnL2vpnsListTypeIcParameterInner{ + "ep-lan", + "ep-tree", + "epl", + "evp-lan", + "evp-tree", + "evpl", + "mpls-evpn", + "pbb-evpn", + "vpls", + "vpws", + "vxlan", + "vxlan-evpn", +} + +func (v *VpnL2vpnsListTypeIcParameterInner) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := VpnL2vpnsListTypeIcParameterInner(value) + for _, existing := range AllowedVpnL2vpnsListTypeIcParameterInnerEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid VpnL2vpnsListTypeIcParameterInner", value) +} + +// NewVpnL2vpnsListTypeIcParameterInnerFromValue returns a pointer to a valid VpnL2vpnsListTypeIcParameterInner +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewVpnL2vpnsListTypeIcParameterInnerFromValue(v string) (*VpnL2vpnsListTypeIcParameterInner, error) { + ev := VpnL2vpnsListTypeIcParameterInner(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for VpnL2vpnsListTypeIcParameterInner: valid values are %v", v, AllowedVpnL2vpnsListTypeIcParameterInnerEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v VpnL2vpnsListTypeIcParameterInner) IsValid() bool { + for _, existing := range AllowedVpnL2vpnsListTypeIcParameterInnerEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to vpn_l2vpns_list_type__ic_parameter_inner value +func (v VpnL2vpnsListTypeIcParameterInner) Ptr() *VpnL2vpnsListTypeIcParameterInner { + return &v +} + +type NullableVpnL2vpnsListTypeIcParameterInner struct { + value *VpnL2vpnsListTypeIcParameterInner + isSet bool +} + +func (v NullableVpnL2vpnsListTypeIcParameterInner) Get() *VpnL2vpnsListTypeIcParameterInner { + return v.value +} + +func (v *NullableVpnL2vpnsListTypeIcParameterInner) Set(val *VpnL2vpnsListTypeIcParameterInner) { + v.value = val + v.isSet = true +} + +func (v NullableVpnL2vpnsListTypeIcParameterInner) IsSet() bool { + return v.isSet +} + +func (v *NullableVpnL2vpnsListTypeIcParameterInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableVpnL2vpnsListTypeIcParameterInner(val *VpnL2vpnsListTypeIcParameterInner) *NullableVpnL2vpnsListTypeIcParameterInner { + return &NullableVpnL2vpnsListTypeIcParameterInner{value: val, isSet: true} +} + +func (v NullableVpnL2vpnsListTypeIcParameterInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableVpnL2vpnsListTypeIcParameterInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_vpn_tunnel_terminations_list_role__ic_parameter_inner.go b/model_vpn_tunnel_terminations_list_role__ic_parameter_inner.go new file mode 100644 index 000000000..8a3ff4a70 --- /dev/null +++ b/model_vpn_tunnel_terminations_list_role__ic_parameter_inner.go @@ -0,0 +1,113 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// VpnTunnelTerminationsListRoleIcParameterInner the model 'VpnTunnelTerminationsListRoleIcParameterInner' +type VpnTunnelTerminationsListRoleIcParameterInner string + +// List of vpn_tunnel_terminations_list_role__ic_parameter_inner +const ( + VPNTUNNELTERMINATIONSLISTROLEICPARAMETERINNER_HUB VpnTunnelTerminationsListRoleIcParameterInner = "hub" + VPNTUNNELTERMINATIONSLISTROLEICPARAMETERINNER_PEER VpnTunnelTerminationsListRoleIcParameterInner = "peer" + VPNTUNNELTERMINATIONSLISTROLEICPARAMETERINNER_SPOKE VpnTunnelTerminationsListRoleIcParameterInner = "spoke" +) + +// All allowed values of VpnTunnelTerminationsListRoleIcParameterInner enum +var AllowedVpnTunnelTerminationsListRoleIcParameterInnerEnumValues = []VpnTunnelTerminationsListRoleIcParameterInner{ + "hub", + "peer", + "spoke", +} + +func (v *VpnTunnelTerminationsListRoleIcParameterInner) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := VpnTunnelTerminationsListRoleIcParameterInner(value) + for _, existing := range AllowedVpnTunnelTerminationsListRoleIcParameterInnerEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid VpnTunnelTerminationsListRoleIcParameterInner", value) +} + +// NewVpnTunnelTerminationsListRoleIcParameterInnerFromValue returns a pointer to a valid VpnTunnelTerminationsListRoleIcParameterInner +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewVpnTunnelTerminationsListRoleIcParameterInnerFromValue(v string) (*VpnTunnelTerminationsListRoleIcParameterInner, error) { + ev := VpnTunnelTerminationsListRoleIcParameterInner(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for VpnTunnelTerminationsListRoleIcParameterInner: valid values are %v", v, AllowedVpnTunnelTerminationsListRoleIcParameterInnerEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v VpnTunnelTerminationsListRoleIcParameterInner) IsValid() bool { + for _, existing := range AllowedVpnTunnelTerminationsListRoleIcParameterInnerEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to vpn_tunnel_terminations_list_role__ic_parameter_inner value +func (v VpnTunnelTerminationsListRoleIcParameterInner) Ptr() *VpnTunnelTerminationsListRoleIcParameterInner { + return &v +} + +type NullableVpnTunnelTerminationsListRoleIcParameterInner struct { + value *VpnTunnelTerminationsListRoleIcParameterInner + isSet bool +} + +func (v NullableVpnTunnelTerminationsListRoleIcParameterInner) Get() *VpnTunnelTerminationsListRoleIcParameterInner { + return v.value +} + +func (v *NullableVpnTunnelTerminationsListRoleIcParameterInner) Set(val *VpnTunnelTerminationsListRoleIcParameterInner) { + v.value = val + v.isSet = true +} + +func (v NullableVpnTunnelTerminationsListRoleIcParameterInner) IsSet() bool { + return v.isSet +} + +func (v *NullableVpnTunnelTerminationsListRoleIcParameterInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableVpnTunnelTerminationsListRoleIcParameterInner(val *VpnTunnelTerminationsListRoleIcParameterInner) *NullableVpnTunnelTerminationsListRoleIcParameterInner { + return &NullableVpnTunnelTerminationsListRoleIcParameterInner{value: val, isSet: true} +} + +func (v NullableVpnTunnelTerminationsListRoleIcParameterInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableVpnTunnelTerminationsListRoleIcParameterInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_vpn_tunnels_list_encapsulation__ic_parameter_inner.go b/model_vpn_tunnels_list_encapsulation__ic_parameter_inner.go new file mode 100644 index 000000000..82b9c551e --- /dev/null +++ b/model_vpn_tunnels_list_encapsulation__ic_parameter_inner.go @@ -0,0 +1,115 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// VpnTunnelsListEncapsulationIcParameterInner the model 'VpnTunnelsListEncapsulationIcParameterInner' +type VpnTunnelsListEncapsulationIcParameterInner string + +// List of vpn_tunnels_list_encapsulation__ic_parameter_inner +const ( + VPNTUNNELSLISTENCAPSULATIONICPARAMETERINNER_GRE VpnTunnelsListEncapsulationIcParameterInner = "gre" + VPNTUNNELSLISTENCAPSULATIONICPARAMETERINNER_IP_IP VpnTunnelsListEncapsulationIcParameterInner = "ip-ip" + VPNTUNNELSLISTENCAPSULATIONICPARAMETERINNER_IPSEC_TRANSPORT VpnTunnelsListEncapsulationIcParameterInner = "ipsec-transport" + VPNTUNNELSLISTENCAPSULATIONICPARAMETERINNER_IPSEC_TUNNEL VpnTunnelsListEncapsulationIcParameterInner = "ipsec-tunnel" +) + +// All allowed values of VpnTunnelsListEncapsulationIcParameterInner enum +var AllowedVpnTunnelsListEncapsulationIcParameterInnerEnumValues = []VpnTunnelsListEncapsulationIcParameterInner{ + "gre", + "ip-ip", + "ipsec-transport", + "ipsec-tunnel", +} + +func (v *VpnTunnelsListEncapsulationIcParameterInner) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := VpnTunnelsListEncapsulationIcParameterInner(value) + for _, existing := range AllowedVpnTunnelsListEncapsulationIcParameterInnerEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid VpnTunnelsListEncapsulationIcParameterInner", value) +} + +// NewVpnTunnelsListEncapsulationIcParameterInnerFromValue returns a pointer to a valid VpnTunnelsListEncapsulationIcParameterInner +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewVpnTunnelsListEncapsulationIcParameterInnerFromValue(v string) (*VpnTunnelsListEncapsulationIcParameterInner, error) { + ev := VpnTunnelsListEncapsulationIcParameterInner(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for VpnTunnelsListEncapsulationIcParameterInner: valid values are %v", v, AllowedVpnTunnelsListEncapsulationIcParameterInnerEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v VpnTunnelsListEncapsulationIcParameterInner) IsValid() bool { + for _, existing := range AllowedVpnTunnelsListEncapsulationIcParameterInnerEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to vpn_tunnels_list_encapsulation__ic_parameter_inner value +func (v VpnTunnelsListEncapsulationIcParameterInner) Ptr() *VpnTunnelsListEncapsulationIcParameterInner { + return &v +} + +type NullableVpnTunnelsListEncapsulationIcParameterInner struct { + value *VpnTunnelsListEncapsulationIcParameterInner + isSet bool +} + +func (v NullableVpnTunnelsListEncapsulationIcParameterInner) Get() *VpnTunnelsListEncapsulationIcParameterInner { + return v.value +} + +func (v *NullableVpnTunnelsListEncapsulationIcParameterInner) Set(val *VpnTunnelsListEncapsulationIcParameterInner) { + v.value = val + v.isSet = true +} + +func (v NullableVpnTunnelsListEncapsulationIcParameterInner) IsSet() bool { + return v.isSet +} + +func (v *NullableVpnTunnelsListEncapsulationIcParameterInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableVpnTunnelsListEncapsulationIcParameterInner(val *VpnTunnelsListEncapsulationIcParameterInner) *NullableVpnTunnelsListEncapsulationIcParameterInner { + return &NullableVpnTunnelsListEncapsulationIcParameterInner{value: val, isSet: true} +} + +func (v NullableVpnTunnelsListEncapsulationIcParameterInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableVpnTunnelsListEncapsulationIcParameterInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_vpn_tunnels_list_status__ic_parameter_inner.go b/model_vpn_tunnels_list_status__ic_parameter_inner.go new file mode 100644 index 000000000..08299cf2a --- /dev/null +++ b/model_vpn_tunnels_list_status__ic_parameter_inner.go @@ -0,0 +1,113 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// VpnTunnelsListStatusIcParameterInner the model 'VpnTunnelsListStatusIcParameterInner' +type VpnTunnelsListStatusIcParameterInner string + +// List of vpn_tunnels_list_status__ic_parameter_inner +const ( + VPNTUNNELSLISTSTATUSICPARAMETERINNER_ACTIVE VpnTunnelsListStatusIcParameterInner = "active" + VPNTUNNELSLISTSTATUSICPARAMETERINNER_DISABLED VpnTunnelsListStatusIcParameterInner = "disabled" + VPNTUNNELSLISTSTATUSICPARAMETERINNER_PLANNED VpnTunnelsListStatusIcParameterInner = "planned" +) + +// All allowed values of VpnTunnelsListStatusIcParameterInner enum +var AllowedVpnTunnelsListStatusIcParameterInnerEnumValues = []VpnTunnelsListStatusIcParameterInner{ + "active", + "disabled", + "planned", +} + +func (v *VpnTunnelsListStatusIcParameterInner) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := VpnTunnelsListStatusIcParameterInner(value) + for _, existing := range AllowedVpnTunnelsListStatusIcParameterInnerEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid VpnTunnelsListStatusIcParameterInner", value) +} + +// NewVpnTunnelsListStatusIcParameterInnerFromValue returns a pointer to a valid VpnTunnelsListStatusIcParameterInner +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewVpnTunnelsListStatusIcParameterInnerFromValue(v string) (*VpnTunnelsListStatusIcParameterInner, error) { + ev := VpnTunnelsListStatusIcParameterInner(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for VpnTunnelsListStatusIcParameterInner: valid values are %v", v, AllowedVpnTunnelsListStatusIcParameterInnerEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v VpnTunnelsListStatusIcParameterInner) IsValid() bool { + for _, existing := range AllowedVpnTunnelsListStatusIcParameterInnerEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to vpn_tunnels_list_status__ic_parameter_inner value +func (v VpnTunnelsListStatusIcParameterInner) Ptr() *VpnTunnelsListStatusIcParameterInner { + return &v +} + +type NullableVpnTunnelsListStatusIcParameterInner struct { + value *VpnTunnelsListStatusIcParameterInner + isSet bool +} + +func (v NullableVpnTunnelsListStatusIcParameterInner) Get() *VpnTunnelsListStatusIcParameterInner { + return v.value +} + +func (v *NullableVpnTunnelsListStatusIcParameterInner) Set(val *VpnTunnelsListStatusIcParameterInner) { + v.value = val + v.isSet = true +} + +func (v NullableVpnTunnelsListStatusIcParameterInner) IsSet() bool { + return v.isSet +} + +func (v *NullableVpnTunnelsListStatusIcParameterInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableVpnTunnelsListStatusIcParameterInner(val *VpnTunnelsListStatusIcParameterInner) *NullableVpnTunnelsListStatusIcParameterInner { + return &NullableVpnTunnelsListStatusIcParameterInner{value: val, isSet: true} +} + +func (v NullableVpnTunnelsListStatusIcParameterInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableVpnTunnelsListStatusIcParameterInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_vrf.go b/model_vrf.go index 6f16484c9..1d8240cfb 100644 --- a/model_vrf.go +++ b/model_vrf.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -13,6 +13,7 @@ package netbox import ( "encoding/json" "fmt" + "time" ) // checks if the VRF type satisfies the MappedNullable interface at compile time @@ -20,14 +21,26 @@ var _ MappedNullable = &VRF{} // VRF Adds support for custom fields and tags. type VRF struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - Name string `json:"name"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Name string `json:"name"` // Unique route distinguisher (as defined in RFC 4364) - Rd NullableString `json:"rd,omitempty"` - Description *string `json:"description,omitempty"` - PrefixCount int64 `json:"prefix_count"` + Rd NullableString `json:"rd,omitempty"` + Tenant NullableBriefTenant `json:"tenant,omitempty"` + // Prevent duplicate prefixes/IP addresses within this VRF + EnforceUnique *bool `json:"enforce_unique,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + ImportTargets []RouteTarget `json:"import_targets,omitempty"` + ExportTargets []RouteTarget `json:"export_targets,omitempty"` + Tags []NestedTag `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Created NullableTime `json:"created"` + LastUpdated NullableTime `json:"last_updated"` + IpaddressCount int64 `json:"ipaddress_count"` + PrefixCount *int64 `json:"prefix_count,omitempty"` AdditionalProperties map[string]interface{} } @@ -37,13 +50,15 @@ 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 int32, url string, display string, name string, prefixCount int64) *VRF { +func NewVRF(id int32, url string, display string, name string, created NullableTime, lastUpdated NullableTime, ipaddressCount int64) *VRF { this := VRF{} this.Id = id this.Url = url this.Display = display this.Name = name - this.PrefixCount = prefixCount + this.Created = created + this.LastUpdated = lastUpdated + this.IpaddressCount = ipaddressCount return &this } @@ -103,6 +118,38 @@ func (o *VRF) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *VRF) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VRF) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *VRF) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *VRF) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *VRF) GetDisplay() string { if o == nil { @@ -194,6 +241,81 @@ func (o *VRF) UnsetRd() { o.Rd.Unset() } +// GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *VRF) GetTenant() BriefTenant { + if o == nil || IsNil(o.Tenant.Get()) { + var ret BriefTenant + 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 *VRF) GetTenantOk() (*BriefTenant, 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 *VRF) HasTenant() bool { + if o != nil && o.Tenant.IsSet() { + return true + } + + return false +} + +// SetTenant gets a reference to the given NullableBriefTenant and assigns it to the Tenant field. +func (o *VRF) SetTenant(v BriefTenant) { + o.Tenant.Set(&v) +} + +// SetTenantNil sets the value for Tenant to be an explicit nil +func (o *VRF) SetTenantNil() { + o.Tenant.Set(nil) +} + +// UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +func (o *VRF) UnsetTenant() { + o.Tenant.Unset() +} + +// GetEnforceUnique returns the EnforceUnique field value if set, zero value otherwise. +func (o *VRF) GetEnforceUnique() bool { + if o == nil || IsNil(o.EnforceUnique) { + var ret bool + return ret + } + return *o.EnforceUnique +} + +// GetEnforceUniqueOk returns a tuple with the EnforceUnique field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VRF) GetEnforceUniqueOk() (*bool, bool) { + if o == nil || IsNil(o.EnforceUnique) { + return nil, false + } + return o.EnforceUnique, true +} + +// HasEnforceUnique returns a boolean if a field has been set. +func (o *VRF) HasEnforceUnique() bool { + if o != nil && !IsNil(o.EnforceUnique) { + return true + } + + return false +} + +// SetEnforceUnique gets a reference to the given bool and assigns it to the EnforceUnique field. +func (o *VRF) SetEnforceUnique(v bool) { + o.EnforceUnique = &v +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *VRF) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -226,28 +348,272 @@ func (o *VRF) SetDescription(v string) { o.Description = &v } -// GetPrefixCount returns the PrefixCount field value -func (o *VRF) GetPrefixCount() int64 { +// GetComments returns the Comments field value if set, zero value otherwise. +func (o *VRF) GetComments() string { + if o == nil || IsNil(o.Comments) { + var ret string + return ret + } + return *o.Comments +} + +// GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VRF) GetCommentsOk() (*string, bool) { + if o == nil || IsNil(o.Comments) { + return nil, false + } + return o.Comments, true +} + +// HasComments returns a boolean if a field has been set. +func (o *VRF) HasComments() bool { + if o != nil && !IsNil(o.Comments) { + return true + } + + return false +} + +// SetComments gets a reference to the given string and assigns it to the Comments field. +func (o *VRF) SetComments(v string) { + o.Comments = &v +} + +// GetImportTargets returns the ImportTargets field value if set, zero value otherwise. +func (o *VRF) GetImportTargets() []RouteTarget { + if o == nil || IsNil(o.ImportTargets) { + var ret []RouteTarget + return ret + } + return o.ImportTargets +} + +// GetImportTargetsOk returns a tuple with the ImportTargets field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VRF) GetImportTargetsOk() ([]RouteTarget, bool) { + if o == nil || IsNil(o.ImportTargets) { + return nil, false + } + return o.ImportTargets, true +} + +// HasImportTargets returns a boolean if a field has been set. +func (o *VRF) HasImportTargets() bool { + if o != nil && !IsNil(o.ImportTargets) { + return true + } + + return false +} + +// SetImportTargets gets a reference to the given []RouteTarget and assigns it to the ImportTargets field. +func (o *VRF) SetImportTargets(v []RouteTarget) { + o.ImportTargets = v +} + +// GetExportTargets returns the ExportTargets field value if set, zero value otherwise. +func (o *VRF) GetExportTargets() []RouteTarget { + if o == nil || IsNil(o.ExportTargets) { + var ret []RouteTarget + return ret + } + return o.ExportTargets +} + +// GetExportTargetsOk returns a tuple with the ExportTargets field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VRF) GetExportTargetsOk() ([]RouteTarget, bool) { + if o == nil || IsNil(o.ExportTargets) { + return nil, false + } + return o.ExportTargets, true +} + +// HasExportTargets returns a boolean if a field has been set. +func (o *VRF) HasExportTargets() bool { + if o != nil && !IsNil(o.ExportTargets) { + return true + } + + return false +} + +// SetExportTargets gets a reference to the given []RouteTarget and assigns it to the ExportTargets field. +func (o *VRF) SetExportTargets(v []RouteTarget) { + o.ExportTargets = v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *VRF) GetTags() []NestedTag { + if o == nil || IsNil(o.Tags) { + var ret []NestedTag + 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 *VRF) GetTagsOk() ([]NestedTag, 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 *VRF) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTag and assigns it to the Tags field. +func (o *VRF) SetTags(v []NestedTag) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *VRF) 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 *VRF) 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 *VRF) 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 *VRF) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetCreated returns the Created field value +// If the value is explicit nil, the zero value for time.Time will be returned +func (o *VRF) 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 *VRF) GetCreatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.Created.Get(), o.Created.IsSet() +} + +// SetCreated sets field value +func (o *VRF) 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 *VRF) 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 *VRF) GetLastUpdatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LastUpdated.Get(), o.LastUpdated.IsSet() +} + +// SetLastUpdated sets field value +func (o *VRF) SetLastUpdated(v time.Time) { + o.LastUpdated.Set(&v) +} + +// GetIpaddressCount returns the IpaddressCount field value +func (o *VRF) GetIpaddressCount() int64 { if o == nil { var ret int64 return ret } - return o.PrefixCount + return o.IpaddressCount } -// GetPrefixCountOk returns a tuple with the PrefixCount field value +// GetIpaddressCountOk returns a tuple with the IpaddressCount field value // and a boolean to check if the value has been set. -func (o *VRF) GetPrefixCountOk() (*int64, bool) { +func (o *VRF) GetIpaddressCountOk() (*int64, bool) { if o == nil { return nil, false } - return &o.PrefixCount, true + return &o.IpaddressCount, true +} + +// SetIpaddressCount sets field value +func (o *VRF) SetIpaddressCount(v int64) { + o.IpaddressCount = v +} + +// GetPrefixCount returns the PrefixCount field value if set, zero value otherwise. +func (o *VRF) GetPrefixCount() int64 { + if o == nil || IsNil(o.PrefixCount) { + var ret int64 + return ret + } + return *o.PrefixCount +} + +// GetPrefixCountOk returns a tuple with the PrefixCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VRF) GetPrefixCountOk() (*int64, bool) { + if o == nil || IsNil(o.PrefixCount) { + return nil, false + } + return o.PrefixCount, true } -// SetPrefixCount sets field value +// HasPrefixCount returns a boolean if a field has been set. +func (o *VRF) HasPrefixCount() bool { + if o != nil && !IsNil(o.PrefixCount) { + return true + } + + return false +} + +// SetPrefixCount gets a reference to the given int64 and assigns it to the PrefixCount field. func (o *VRF) SetPrefixCount(v int64) { - o.PrefixCount = v + o.PrefixCount = &v } func (o VRF) MarshalJSON() ([]byte, error) { @@ -262,15 +628,44 @@ func (o VRF) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["name"] = o.Name if o.Rd.IsSet() { toSerialize["rd"] = o.Rd.Get() } + if o.Tenant.IsSet() { + toSerialize["tenant"] = o.Tenant.Get() + } + if !IsNil(o.EnforceUnique) { + toSerialize["enforce_unique"] = o.EnforceUnique + } if !IsNil(o.Description) { toSerialize["description"] = o.Description } - toSerialize["prefix_count"] = o.PrefixCount + if !IsNil(o.Comments) { + toSerialize["comments"] = o.Comments + } + if !IsNil(o.ImportTargets) { + toSerialize["import_targets"] = o.ImportTargets + } + if !IsNil(o.ExportTargets) { + toSerialize["export_targets"] = o.ExportTargets + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + toSerialize["created"] = o.Created.Get() + toSerialize["last_updated"] = o.LastUpdated.Get() + toSerialize["ipaddress_count"] = o.IpaddressCount + if !IsNil(o.PrefixCount) { + toSerialize["prefix_count"] = o.PrefixCount + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -288,7 +683,9 @@ func (o *VRF) UnmarshalJSON(data []byte) (err error) { "url", "display", "name", - "prefix_count", + "created", + "last_updated", + "ipaddress_count", } allProperties := make(map[string]interface{}) @@ -320,10 +717,21 @@ func (o *VRF) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") delete(additionalProperties, "rd") + delete(additionalProperties, "tenant") + delete(additionalProperties, "enforce_unique") delete(additionalProperties, "description") + delete(additionalProperties, "comments") + delete(additionalProperties, "import_targets") + delete(additionalProperties, "export_targets") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "created") + delete(additionalProperties, "last_updated") + delete(additionalProperties, "ipaddress_count") delete(additionalProperties, "prefix_count") o.AdditionalProperties = additionalProperties } diff --git a/model_vrf_request.go b/model_vrf_request.go index 16ae86557..685eb927a 100644 --- a/model_vrf_request.go +++ b/model_vrf_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -22,8 +22,16 @@ var _ MappedNullable = &VRFRequest{} type VRFRequest struct { Name string `json:"name"` // Unique route distinguisher (as defined in RFC 4364) - Rd NullableString `json:"rd,omitempty"` - Description *string `json:"description,omitempty"` + Rd NullableString `json:"rd,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` + // Prevent duplicate prefixes/IP addresses within this VRF + EnforceUnique *bool `json:"enforce_unique,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + ImportTargets []int32 `json:"import_targets,omitempty"` + ExportTargets []int32 `json:"export_targets,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -114,6 +122,81 @@ func (o *VRFRequest) UnsetRd() { o.Rd.Unset() } +// GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *VRFRequest) GetTenant() BriefTenantRequest { + if o == nil || IsNil(o.Tenant.Get()) { + var ret BriefTenantRequest + 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 *VRFRequest) GetTenantOk() (*BriefTenantRequest, 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 *VRFRequest) HasTenant() bool { + if o != nil && o.Tenant.IsSet() { + return true + } + + return false +} + +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *VRFRequest) SetTenant(v BriefTenantRequest) { + o.Tenant.Set(&v) +} + +// SetTenantNil sets the value for Tenant to be an explicit nil +func (o *VRFRequest) SetTenantNil() { + o.Tenant.Set(nil) +} + +// UnsetTenant ensures that no value is present for Tenant, not even an explicit nil +func (o *VRFRequest) UnsetTenant() { + o.Tenant.Unset() +} + +// GetEnforceUnique returns the EnforceUnique field value if set, zero value otherwise. +func (o *VRFRequest) GetEnforceUnique() bool { + if o == nil || IsNil(o.EnforceUnique) { + var ret bool + return ret + } + return *o.EnforceUnique +} + +// GetEnforceUniqueOk returns a tuple with the EnforceUnique field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VRFRequest) GetEnforceUniqueOk() (*bool, bool) { + if o == nil || IsNil(o.EnforceUnique) { + return nil, false + } + return o.EnforceUnique, true +} + +// HasEnforceUnique returns a boolean if a field has been set. +func (o *VRFRequest) HasEnforceUnique() bool { + if o != nil && !IsNil(o.EnforceUnique) { + return true + } + + return false +} + +// SetEnforceUnique gets a reference to the given bool and assigns it to the EnforceUnique field. +func (o *VRFRequest) SetEnforceUnique(v bool) { + o.EnforceUnique = &v +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *VRFRequest) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -146,6 +229,166 @@ func (o *VRFRequest) SetDescription(v string) { o.Description = &v } +// GetComments returns the Comments field value if set, zero value otherwise. +func (o *VRFRequest) GetComments() string { + if o == nil || IsNil(o.Comments) { + var ret string + return ret + } + return *o.Comments +} + +// GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VRFRequest) GetCommentsOk() (*string, bool) { + if o == nil || IsNil(o.Comments) { + return nil, false + } + return o.Comments, true +} + +// HasComments returns a boolean if a field has been set. +func (o *VRFRequest) HasComments() bool { + if o != nil && !IsNil(o.Comments) { + return true + } + + return false +} + +// SetComments gets a reference to the given string and assigns it to the Comments field. +func (o *VRFRequest) SetComments(v string) { + o.Comments = &v +} + +// GetImportTargets returns the ImportTargets field value if set, zero value otherwise. +func (o *VRFRequest) GetImportTargets() []int32 { + if o == nil || IsNil(o.ImportTargets) { + var ret []int32 + return ret + } + return o.ImportTargets +} + +// GetImportTargetsOk returns a tuple with the ImportTargets field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VRFRequest) GetImportTargetsOk() ([]int32, bool) { + if o == nil || IsNil(o.ImportTargets) { + return nil, false + } + return o.ImportTargets, true +} + +// HasImportTargets returns a boolean if a field has been set. +func (o *VRFRequest) HasImportTargets() bool { + if o != nil && !IsNil(o.ImportTargets) { + return true + } + + return false +} + +// SetImportTargets gets a reference to the given []int32 and assigns it to the ImportTargets field. +func (o *VRFRequest) SetImportTargets(v []int32) { + o.ImportTargets = v +} + +// GetExportTargets returns the ExportTargets field value if set, zero value otherwise. +func (o *VRFRequest) GetExportTargets() []int32 { + if o == nil || IsNil(o.ExportTargets) { + var ret []int32 + return ret + } + return o.ExportTargets +} + +// GetExportTargetsOk returns a tuple with the ExportTargets field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VRFRequest) GetExportTargetsOk() ([]int32, bool) { + if o == nil || IsNil(o.ExportTargets) { + return nil, false + } + return o.ExportTargets, true +} + +// HasExportTargets returns a boolean if a field has been set. +func (o *VRFRequest) HasExportTargets() bool { + if o != nil && !IsNil(o.ExportTargets) { + return true + } + + return false +} + +// SetExportTargets gets a reference to the given []int32 and assigns it to the ExportTargets field. +func (o *VRFRequest) SetExportTargets(v []int32) { + o.ExportTargets = v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *VRFRequest) GetTags() []NestedTagRequest { + if o == nil || IsNil(o.Tags) { + var ret []NestedTagRequest + 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 *VRFRequest) GetTagsOk() ([]NestedTagRequest, 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 *VRFRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTagRequest and assigns it to the Tags field. +func (o *VRFRequest) SetTags(v []NestedTagRequest) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *VRFRequest) 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 *VRFRequest) 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 *VRFRequest) 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 *VRFRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + func (o VRFRequest) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -160,9 +403,30 @@ func (o VRFRequest) ToMap() (map[string]interface{}, error) { if o.Rd.IsSet() { toSerialize["rd"] = o.Rd.Get() } + if o.Tenant.IsSet() { + toSerialize["tenant"] = o.Tenant.Get() + } + if !IsNil(o.EnforceUnique) { + toSerialize["enforce_unique"] = o.EnforceUnique + } if !IsNil(o.Description) { toSerialize["description"] = o.Description } + if !IsNil(o.Comments) { + toSerialize["comments"] = o.Comments + } + if !IsNil(o.ImportTargets) { + toSerialize["import_targets"] = o.ImportTargets + } + if !IsNil(o.ExportTargets) { + toSerialize["export_targets"] = o.ExportTargets + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -208,7 +472,14 @@ func (o *VRFRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "name") delete(additionalProperties, "rd") + delete(additionalProperties, "tenant") + delete(additionalProperties, "enforce_unique") delete(additionalProperties, "description") + delete(additionalProperties, "comments") + delete(additionalProperties, "import_targets") + delete(additionalProperties, "export_targets") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") o.AdditionalProperties = additionalProperties } diff --git a/model_webhook.go b/model_webhook.go index 598066292..e4edf6d70 100644 --- a/model_webhook.go +++ b/model_webhook.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -23,6 +23,7 @@ var _ MappedNullable = &Webhook{} type Webhook struct { Id int32 `json:"id"` Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` Display string `json:"display"` Name string `json:"name"` Description *string `json:"description,omitempty"` @@ -122,6 +123,38 @@ func (o *Webhook) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *Webhook) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Webhook) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *Webhook) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *Webhook) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *Webhook) GetDisplay() string { if o == nil { @@ -589,6 +622,9 @@ func (o Webhook) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["name"] = o.Name if !IsNil(o.Description) { @@ -675,6 +711,7 @@ func (o *Webhook) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") delete(additionalProperties, "description") diff --git a/model_webhook_request.go b/model_webhook_request.go index 09152c9ce..b73d9b4c4 100644 --- a/model_webhook_request.go +++ b/model_webhook_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_wireless_channel.go b/model_wireless_channel.go index 0950f88f1..408255a19 100644 --- a/model_wireless_channel.go +++ b/model_wireless_channel.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,12 +15,17 @@ import ( "fmt" ) -// WirelessChannel * `2.4g-1-2412-22` - 1 (2412 MHz) * `2.4g-2-2417-22` - 2 (2417 MHz) * `2.4g-3-2422-22` - 3 (2422 MHz) * `2.4g-4-2427-22` - 4 (2427 MHz) * `2.4g-5-2432-22` - 5 (2432 MHz) * `2.4g-6-2437-22` - 6 (2437 MHz) * `2.4g-7-2442-22` - 7 (2442 MHz) * `2.4g-8-2447-22` - 8 (2447 MHz) * `2.4g-9-2452-22` - 9 (2452 MHz) * `2.4g-10-2457-22` - 10 (2457 MHz) * `2.4g-11-2462-22` - 11 (2462 MHz) * `2.4g-12-2467-22` - 12 (2467 MHz) * `2.4g-13-2472-22` - 13 (2472 MHz) * `5g-32-5160-20` - 32 (5160/20 MHz) * `5g-34-5170-40` - 34 (5170/40 MHz) * `5g-36-5180-20` - 36 (5180/20 MHz) * `5g-38-5190-40` - 38 (5190/40 MHz) * `5g-40-5200-20` - 40 (5200/20 MHz) * `5g-42-5210-80` - 42 (5210/80 MHz) * `5g-44-5220-20` - 44 (5220/20 MHz) * `5g-46-5230-40` - 46 (5230/40 MHz) * `5g-48-5240-20` - 48 (5240/20 MHz) * `5g-50-5250-160` - 50 (5250/160 MHz) * `5g-52-5260-20` - 52 (5260/20 MHz) * `5g-54-5270-40` - 54 (5270/40 MHz) * `5g-56-5280-20` - 56 (5280/20 MHz) * `5g-58-5290-80` - 58 (5290/80 MHz) * `5g-60-5300-20` - 60 (5300/20 MHz) * `5g-62-5310-40` - 62 (5310/40 MHz) * `5g-64-5320-20` - 64 (5320/20 MHz) * `5g-100-5500-20` - 100 (5500/20 MHz) * `5g-102-5510-40` - 102 (5510/40 MHz) * `5g-104-5520-20` - 104 (5520/20 MHz) * `5g-106-5530-80` - 106 (5530/80 MHz) * `5g-108-5540-20` - 108 (5540/20 MHz) * `5g-110-5550-40` - 110 (5550/40 MHz) * `5g-112-5560-20` - 112 (5560/20 MHz) * `5g-114-5570-160` - 114 (5570/160 MHz) * `5g-116-5580-20` - 116 (5580/20 MHz) * `5g-118-5590-40` - 118 (5590/40 MHz) * `5g-120-5600-20` - 120 (5600/20 MHz) * `5g-122-5610-80` - 122 (5610/80 MHz) * `5g-124-5620-20` - 124 (5620/20 MHz) * `5g-126-5630-40` - 126 (5630/40 MHz) * `5g-128-5640-20` - 128 (5640/20 MHz) * `5g-132-5660-20` - 132 (5660/20 MHz) * `5g-134-5670-40` - 134 (5670/40 MHz) * `5g-136-5680-20` - 136 (5680/20 MHz) * `5g-138-5690-80` - 138 (5690/80 MHz) * `5g-140-5700-20` - 140 (5700/20 MHz) * `5g-142-5710-40` - 142 (5710/40 MHz) * `5g-144-5720-20` - 144 (5720/20 MHz) * `5g-149-5745-20` - 149 (5745/20 MHz) * `5g-151-5755-40` - 151 (5755/40 MHz) * `5g-153-5765-20` - 153 (5765/20 MHz) * `5g-155-5775-80` - 155 (5775/80 MHz) * `5g-157-5785-20` - 157 (5785/20 MHz) * `5g-159-5795-40` - 159 (5795/40 MHz) * `5g-161-5805-20` - 161 (5805/20 MHz) * `5g-163-5815-160` - 163 (5815/160 MHz) * `5g-165-5825-20` - 165 (5825/20 MHz) * `5g-167-5835-40` - 167 (5835/40 MHz) * `5g-169-5845-20` - 169 (5845/20 MHz) * `5g-171-5855-80` - 171 (5855/80 MHz) * `5g-173-5865-20` - 173 (5865/20 MHz) * `5g-175-5875-40` - 175 (5875/40 MHz) * `5g-177-5885-20` - 177 (5885/20 MHz) * `6g-1-5955-20` - 1 (5955/20 MHz) * `6g-3-5965-40` - 3 (5965/40 MHz) * `6g-5-5975-20` - 5 (5975/20 MHz) * `6g-7-5985-80` - 7 (5985/80 MHz) * `6g-9-5995-20` - 9 (5995/20 MHz) * `6g-11-6005-40` - 11 (6005/40 MHz) * `6g-13-6015-20` - 13 (6015/20 MHz) * `6g-15-6025-160` - 15 (6025/160 MHz) * `6g-17-6035-20` - 17 (6035/20 MHz) * `6g-19-6045-40` - 19 (6045/40 MHz) * `6g-21-6055-20` - 21 (6055/20 MHz) * `6g-23-6065-80` - 23 (6065/80 MHz) * `6g-25-6075-20` - 25 (6075/20 MHz) * `6g-27-6085-40` - 27 (6085/40 MHz) * `6g-29-6095-20` - 29 (6095/20 MHz) * `6g-31-6105-320` - 31 (6105/320 MHz) * `6g-33-6115-20` - 33 (6115/20 MHz) * `6g-35-6125-40` - 35 (6125/40 MHz) * `6g-37-6135-20` - 37 (6135/20 MHz) * `6g-39-6145-80` - 39 (6145/80 MHz) * `6g-41-6155-20` - 41 (6155/20 MHz) * `6g-43-6165-40` - 43 (6165/40 MHz) * `6g-45-6175-20` - 45 (6175/20 MHz) * `6g-47-6185-160` - 47 (6185/160 MHz) * `6g-49-6195-20` - 49 (6195/20 MHz) * `6g-51-6205-40` - 51 (6205/40 MHz) * `6g-53-6215-20` - 53 (6215/20 MHz) * `6g-55-6225-80` - 55 (6225/80 MHz) * `6g-57-6235-20` - 57 (6235/20 MHz) * `6g-59-6245-40` - 59 (6245/40 MHz) * `6g-61-6255-20` - 61 (6255/20 MHz) * `6g-65-6275-20` - 65 (6275/20 MHz) * `6g-67-6285-40` - 67 (6285/40 MHz) * `6g-69-6295-20` - 69 (6295/20 MHz) * `6g-71-6305-80` - 71 (6305/80 MHz) * `6g-73-6315-20` - 73 (6315/20 MHz) * `6g-75-6325-40` - 75 (6325/40 MHz) * `6g-77-6335-20` - 77 (6335/20 MHz) * `6g-79-6345-160` - 79 (6345/160 MHz) * `6g-81-6355-20` - 81 (6355/20 MHz) * `6g-83-6365-40` - 83 (6365/40 MHz) * `6g-85-6375-20` - 85 (6375/20 MHz) * `6g-87-6385-80` - 87 (6385/80 MHz) * `6g-89-6395-20` - 89 (6395/20 MHz) * `6g-91-6405-40` - 91 (6405/40 MHz) * `6g-93-6415-20` - 93 (6415/20 MHz) * `6g-95-6425-320` - 95 (6425/320 MHz) * `6g-97-6435-20` - 97 (6435/20 MHz) * `6g-99-6445-40` - 99 (6445/40 MHz) * `6g-101-6455-20` - 101 (6455/20 MHz) * `6g-103-6465-80` - 103 (6465/80 MHz) * `6g-105-6475-20` - 105 (6475/20 MHz) * `6g-107-6485-40` - 107 (6485/40 MHz) * `6g-109-6495-20` - 109 (6495/20 MHz) * `6g-111-6505-160` - 111 (6505/160 MHz) * `6g-113-6515-20` - 113 (6515/20 MHz) * `6g-115-6525-40` - 115 (6525/40 MHz) * `6g-117-6535-20` - 117 (6535/20 MHz) * `6g-119-6545-80` - 119 (6545/80 MHz) * `6g-121-6555-20` - 121 (6555/20 MHz) * `6g-123-6565-40` - 123 (6565/40 MHz) * `6g-125-6575-20` - 125 (6575/20 MHz) * `6g-129-6595-20` - 129 (6595/20 MHz) * `6g-131-6605-40` - 131 (6605/40 MHz) * `6g-133-6615-20` - 133 (6615/20 MHz) * `6g-135-6625-80` - 135 (6625/80 MHz) * `6g-137-6635-20` - 137 (6635/20 MHz) * `6g-139-6645-40` - 139 (6645/40 MHz) * `6g-141-6655-20` - 141 (6655/20 MHz) * `6g-143-6665-160` - 143 (6665/160 MHz) * `6g-145-6675-20` - 145 (6675/20 MHz) * `6g-147-6685-40` - 147 (6685/40 MHz) * `6g-149-6695-20` - 149 (6695/20 MHz) * `6g-151-6705-80` - 151 (6705/80 MHz) * `6g-153-6715-20` - 153 (6715/20 MHz) * `6g-155-6725-40` - 155 (6725/40 MHz) * `6g-157-6735-20` - 157 (6735/20 MHz) * `6g-159-6745-320` - 159 (6745/320 MHz) * `6g-161-6755-20` - 161 (6755/20 MHz) * `6g-163-6765-40` - 163 (6765/40 MHz) * `6g-165-6775-20` - 165 (6775/20 MHz) * `6g-167-6785-80` - 167 (6785/80 MHz) * `6g-169-6795-20` - 169 (6795/20 MHz) * `6g-171-6805-40` - 171 (6805/40 MHz) * `6g-173-6815-20` - 173 (6815/20 MHz) * `6g-175-6825-160` - 175 (6825/160 MHz) * `6g-177-6835-20` - 177 (6835/20 MHz) * `6g-179-6845-40` - 179 (6845/40 MHz) * `6g-181-6855-20` - 181 (6855/20 MHz) * `6g-183-6865-80` - 183 (6865/80 MHz) * `6g-185-6875-20` - 185 (6875/20 MHz) * `6g-187-6885-40` - 187 (6885/40 MHz) * `6g-189-6895-20` - 189 (6895/20 MHz) * `6g-193-6915-20` - 193 (6915/20 MHz) * `6g-195-6925-40` - 195 (6925/40 MHz) * `6g-197-6935-20` - 197 (6935/20 MHz) * `6g-199-6945-80` - 199 (6945/80 MHz) * `6g-201-6955-20` - 201 (6955/20 MHz) * `6g-203-6965-40` - 203 (6965/40 MHz) * `6g-205-6975-20` - 205 (6975/20 MHz) * `6g-207-6985-160` - 207 (6985/160 MHz) * `6g-209-6995-20` - 209 (6995/20 MHz) * `6g-211-7005-40` - 211 (7005/40 MHz) * `6g-213-7015-20` - 213 (7015/20 MHz) * `6g-215-7025-80` - 215 (7025/80 MHz) * `6g-217-7035-20` - 217 (7035/20 MHz) * `6g-219-7045-40` - 219 (7045/40 MHz) * `6g-221-7055-20` - 221 (7055/20 MHz) * `6g-225-7075-20` - 225 (7075/20 MHz) * `6g-227-7085-40` - 227 (7085/40 MHz) * `6g-229-7095-20` - 229 (7095/20 MHz) * `6g-233-7115-20` - 233 (7115/20 MHz) * `60g-1-58320-2160` - 1 (58.32/2.16 GHz) * `60g-2-60480-2160` - 2 (60.48/2.16 GHz) * `60g-3-62640-2160` - 3 (62.64/2.16 GHz) * `60g-4-64800-2160` - 4 (64.80/2.16 GHz) * `60g-5-66960-2160` - 5 (66.96/2.16 GHz) * `60g-6-69120-2160` - 6 (69.12/2.16 GHz) * `60g-9-59400-4320` - 9 (59.40/4.32 GHz) * `60g-10-61560-4320` - 10 (61.56/4.32 GHz) * `60g-11-63720-4320` - 11 (63.72/4.32 GHz) * `60g-12-65880-4320` - 12 (65.88/4.32 GHz) * `60g-13-68040-4320` - 13 (68.04/4.32 GHz) * `60g-17-60480-6480` - 17 (60.48/6.48 GHz) * `60g-18-62640-6480` - 18 (62.64/6.48 GHz) * `60g-19-64800-6480` - 19 (64.80/6.48 GHz) * `60g-20-66960-6480` - 20 (66.96/6.48 GHz) * `60g-25-61560-6480` - 25 (61.56/8.64 GHz) * `60g-26-63720-6480` - 26 (63.72/8.64 GHz) * `60g-27-65880-6480` - 27 (65.88/8.64 GHz) +// WirelessChannel the model 'WirelessChannel' type WirelessChannel string // List of Wireless_channel const ( + WIRELESSCHANNEL_EMPTY WirelessChannel = "" WIRELESSCHANNEL__2_4G_1_2412_22 WirelessChannel = "2.4g-1-2412-22" + WIRELESSCHANNEL__2_4G_10_2457_22 WirelessChannel = "2.4g-10-2457-22" + WIRELESSCHANNEL__2_4G_11_2462_22 WirelessChannel = "2.4g-11-2462-22" + WIRELESSCHANNEL__2_4G_12_2467_22 WirelessChannel = "2.4g-12-2467-22" + WIRELESSCHANNEL__2_4G_13_2472_22 WirelessChannel = "2.4g-13-2472-22" WIRELESSCHANNEL__2_4G_2_2417_22 WirelessChannel = "2.4g-2-2417-22" WIRELESSCHANNEL__2_4G_3_2422_22 WirelessChannel = "2.4g-3-2422-22" WIRELESSCHANNEL__2_4G_4_2427_22 WirelessChannel = "2.4g-4-2427-22" @@ -29,27 +34,6 @@ const ( WIRELESSCHANNEL__2_4G_7_2442_22 WirelessChannel = "2.4g-7-2442-22" WIRELESSCHANNEL__2_4G_8_2447_22 WirelessChannel = "2.4g-8-2447-22" WIRELESSCHANNEL__2_4G_9_2452_22 WirelessChannel = "2.4g-9-2452-22" - WIRELESSCHANNEL__2_4G_10_2457_22 WirelessChannel = "2.4g-10-2457-22" - WIRELESSCHANNEL__2_4G_11_2462_22 WirelessChannel = "2.4g-11-2462-22" - WIRELESSCHANNEL__2_4G_12_2467_22 WirelessChannel = "2.4g-12-2467-22" - WIRELESSCHANNEL__2_4G_13_2472_22 WirelessChannel = "2.4g-13-2472-22" - WIRELESSCHANNEL__5G_32_5160_20 WirelessChannel = "5g-32-5160-20" - WIRELESSCHANNEL__5G_34_5170_40 WirelessChannel = "5g-34-5170-40" - WIRELESSCHANNEL__5G_36_5180_20 WirelessChannel = "5g-36-5180-20" - WIRELESSCHANNEL__5G_38_5190_40 WirelessChannel = "5g-38-5190-40" - WIRELESSCHANNEL__5G_40_5200_20 WirelessChannel = "5g-40-5200-20" - WIRELESSCHANNEL__5G_42_5210_80 WirelessChannel = "5g-42-5210-80" - WIRELESSCHANNEL__5G_44_5220_20 WirelessChannel = "5g-44-5220-20" - WIRELESSCHANNEL__5G_46_5230_40 WirelessChannel = "5g-46-5230-40" - WIRELESSCHANNEL__5G_48_5240_20 WirelessChannel = "5g-48-5240-20" - WIRELESSCHANNEL__5G_50_5250_160 WirelessChannel = "5g-50-5250-160" - WIRELESSCHANNEL__5G_52_5260_20 WirelessChannel = "5g-52-5260-20" - WIRELESSCHANNEL__5G_54_5270_40 WirelessChannel = "5g-54-5270-40" - WIRELESSCHANNEL__5G_56_5280_20 WirelessChannel = "5g-56-5280-20" - WIRELESSCHANNEL__5G_58_5290_80 WirelessChannel = "5g-58-5290-80" - WIRELESSCHANNEL__5G_60_5300_20 WirelessChannel = "5g-60-5300-20" - WIRELESSCHANNEL__5G_62_5310_40 WirelessChannel = "5g-62-5310-40" - WIRELESSCHANNEL__5G_64_5320_20 WirelessChannel = "5g-64-5320-20" WIRELESSCHANNEL__5G_100_5500_20 WirelessChannel = "5g-100-5500-20" WIRELESSCHANNEL__5G_102_5510_40 WirelessChannel = "5g-102-5510-40" WIRELESSCHANNEL__5G_104_5520_20 WirelessChannel = "5g-104-5520-20" @@ -87,60 +71,48 @@ const ( WIRELESSCHANNEL__5G_173_5865_20 WirelessChannel = "5g-173-5865-20" WIRELESSCHANNEL__5G_175_5875_40 WirelessChannel = "5g-175-5875-40" WIRELESSCHANNEL__5G_177_5885_20 WirelessChannel = "5g-177-5885-20" + WIRELESSCHANNEL__5G_32_5160_20 WirelessChannel = "5g-32-5160-20" + WIRELESSCHANNEL__5G_34_5170_40 WirelessChannel = "5g-34-5170-40" + WIRELESSCHANNEL__5G_36_5180_20 WirelessChannel = "5g-36-5180-20" + WIRELESSCHANNEL__5G_38_5190_40 WirelessChannel = "5g-38-5190-40" + WIRELESSCHANNEL__5G_40_5200_20 WirelessChannel = "5g-40-5200-20" + WIRELESSCHANNEL__5G_42_5210_80 WirelessChannel = "5g-42-5210-80" + WIRELESSCHANNEL__5G_44_5220_20 WirelessChannel = "5g-44-5220-20" + WIRELESSCHANNEL__5G_46_5230_40 WirelessChannel = "5g-46-5230-40" + WIRELESSCHANNEL__5G_48_5240_20 WirelessChannel = "5g-48-5240-20" + WIRELESSCHANNEL__5G_50_5250_160 WirelessChannel = "5g-50-5250-160" + WIRELESSCHANNEL__5G_52_5260_20 WirelessChannel = "5g-52-5260-20" + WIRELESSCHANNEL__5G_54_5270_40 WirelessChannel = "5g-54-5270-40" + WIRELESSCHANNEL__5G_56_5280_20 WirelessChannel = "5g-56-5280-20" + WIRELESSCHANNEL__5G_58_5290_80 WirelessChannel = "5g-58-5290-80" + WIRELESSCHANNEL__5G_60_5300_20 WirelessChannel = "5g-60-5300-20" + WIRELESSCHANNEL__5G_62_5310_40 WirelessChannel = "5g-62-5310-40" + WIRELESSCHANNEL__5G_64_5320_20 WirelessChannel = "5g-64-5320-20" + WIRELESSCHANNEL__60G_1_58320_2160 WirelessChannel = "60g-1-58320-2160" + WIRELESSCHANNEL__60G_10_61560_4320 WirelessChannel = "60g-10-61560-4320" + WIRELESSCHANNEL__60G_11_63720_4320 WirelessChannel = "60g-11-63720-4320" + WIRELESSCHANNEL__60G_12_65880_4320 WirelessChannel = "60g-12-65880-4320" + WIRELESSCHANNEL__60G_13_68040_4320 WirelessChannel = "60g-13-68040-4320" + WIRELESSCHANNEL__60G_17_60480_6480 WirelessChannel = "60g-17-60480-6480" + WIRELESSCHANNEL__60G_18_62640_6480 WirelessChannel = "60g-18-62640-6480" + WIRELESSCHANNEL__60G_19_64800_6480 WirelessChannel = "60g-19-64800-6480" + WIRELESSCHANNEL__60G_2_60480_2160 WirelessChannel = "60g-2-60480-2160" + WIRELESSCHANNEL__60G_20_66960_6480 WirelessChannel = "60g-20-66960-6480" + WIRELESSCHANNEL__60G_25_61560_6480 WirelessChannel = "60g-25-61560-6480" + WIRELESSCHANNEL__60G_26_63720_6480 WirelessChannel = "60g-26-63720-6480" + WIRELESSCHANNEL__60G_27_65880_6480 WirelessChannel = "60g-27-65880-6480" + WIRELESSCHANNEL__60G_3_62640_2160 WirelessChannel = "60g-3-62640-2160" + WIRELESSCHANNEL__60G_4_64800_2160 WirelessChannel = "60g-4-64800-2160" + WIRELESSCHANNEL__60G_5_66960_2160 WirelessChannel = "60g-5-66960-2160" + WIRELESSCHANNEL__60G_6_69120_2160 WirelessChannel = "60g-6-69120-2160" + WIRELESSCHANNEL__60G_9_59400_4320 WirelessChannel = "60g-9-59400-4320" WIRELESSCHANNEL__6G_1_5955_20 WirelessChannel = "6g-1-5955-20" - WIRELESSCHANNEL__6G_3_5965_40 WirelessChannel = "6g-3-5965-40" - WIRELESSCHANNEL__6G_5_5975_20 WirelessChannel = "6g-5-5975-20" - WIRELESSCHANNEL__6G_7_5985_80 WirelessChannel = "6g-7-5985-80" - WIRELESSCHANNEL__6G_9_5995_20 WirelessChannel = "6g-9-5995-20" - WIRELESSCHANNEL__6G_11_6005_40 WirelessChannel = "6g-11-6005-40" - WIRELESSCHANNEL__6G_13_6015_20 WirelessChannel = "6g-13-6015-20" - WIRELESSCHANNEL__6G_15_6025_160 WirelessChannel = "6g-15-6025-160" - WIRELESSCHANNEL__6G_17_6035_20 WirelessChannel = "6g-17-6035-20" - WIRELESSCHANNEL__6G_19_6045_40 WirelessChannel = "6g-19-6045-40" - WIRELESSCHANNEL__6G_21_6055_20 WirelessChannel = "6g-21-6055-20" - WIRELESSCHANNEL__6G_23_6065_80 WirelessChannel = "6g-23-6065-80" - WIRELESSCHANNEL__6G_25_6075_20 WirelessChannel = "6g-25-6075-20" - WIRELESSCHANNEL__6G_27_6085_40 WirelessChannel = "6g-27-6085-40" - WIRELESSCHANNEL__6G_29_6095_20 WirelessChannel = "6g-29-6095-20" - WIRELESSCHANNEL__6G_31_6105_320 WirelessChannel = "6g-31-6105-320" - WIRELESSCHANNEL__6G_33_6115_20 WirelessChannel = "6g-33-6115-20" - WIRELESSCHANNEL__6G_35_6125_40 WirelessChannel = "6g-35-6125-40" - WIRELESSCHANNEL__6G_37_6135_20 WirelessChannel = "6g-37-6135-20" - WIRELESSCHANNEL__6G_39_6145_80 WirelessChannel = "6g-39-6145-80" - WIRELESSCHANNEL__6G_41_6155_20 WirelessChannel = "6g-41-6155-20" - WIRELESSCHANNEL__6G_43_6165_40 WirelessChannel = "6g-43-6165-40" - WIRELESSCHANNEL__6G_45_6175_20 WirelessChannel = "6g-45-6175-20" - WIRELESSCHANNEL__6G_47_6185_160 WirelessChannel = "6g-47-6185-160" - WIRELESSCHANNEL__6G_49_6195_20 WirelessChannel = "6g-49-6195-20" - WIRELESSCHANNEL__6G_51_6205_40 WirelessChannel = "6g-51-6205-40" - WIRELESSCHANNEL__6G_53_6215_20 WirelessChannel = "6g-53-6215-20" - WIRELESSCHANNEL__6G_55_6225_80 WirelessChannel = "6g-55-6225-80" - WIRELESSCHANNEL__6G_57_6235_20 WirelessChannel = "6g-57-6235-20" - WIRELESSCHANNEL__6G_59_6245_40 WirelessChannel = "6g-59-6245-40" - WIRELESSCHANNEL__6G_61_6255_20 WirelessChannel = "6g-61-6255-20" - WIRELESSCHANNEL__6G_65_6275_20 WirelessChannel = "6g-65-6275-20" - WIRELESSCHANNEL__6G_67_6285_40 WirelessChannel = "6g-67-6285-40" - WIRELESSCHANNEL__6G_69_6295_20 WirelessChannel = "6g-69-6295-20" - WIRELESSCHANNEL__6G_71_6305_80 WirelessChannel = "6g-71-6305-80" - WIRELESSCHANNEL__6G_73_6315_20 WirelessChannel = "6g-73-6315-20" - WIRELESSCHANNEL__6G_75_6325_40 WirelessChannel = "6g-75-6325-40" - WIRELESSCHANNEL__6G_77_6335_20 WirelessChannel = "6g-77-6335-20" - WIRELESSCHANNEL__6G_79_6345_160 WirelessChannel = "6g-79-6345-160" - WIRELESSCHANNEL__6G_81_6355_20 WirelessChannel = "6g-81-6355-20" - WIRELESSCHANNEL__6G_83_6365_40 WirelessChannel = "6g-83-6365-40" - WIRELESSCHANNEL__6G_85_6375_20 WirelessChannel = "6g-85-6375-20" - WIRELESSCHANNEL__6G_87_6385_80 WirelessChannel = "6g-87-6385-80" - WIRELESSCHANNEL__6G_89_6395_20 WirelessChannel = "6g-89-6395-20" - WIRELESSCHANNEL__6G_91_6405_40 WirelessChannel = "6g-91-6405-40" - WIRELESSCHANNEL__6G_93_6415_20 WirelessChannel = "6g-93-6415-20" - WIRELESSCHANNEL__6G_95_6425_320 WirelessChannel = "6g-95-6425-320" - WIRELESSCHANNEL__6G_97_6435_20 WirelessChannel = "6g-97-6435-20" - WIRELESSCHANNEL__6G_99_6445_40 WirelessChannel = "6g-99-6445-40" WIRELESSCHANNEL__6G_101_6455_20 WirelessChannel = "6g-101-6455-20" WIRELESSCHANNEL__6G_103_6465_80 WirelessChannel = "6g-103-6465-80" WIRELESSCHANNEL__6G_105_6475_20 WirelessChannel = "6g-105-6475-20" WIRELESSCHANNEL__6G_107_6485_40 WirelessChannel = "6g-107-6485-40" WIRELESSCHANNEL__6G_109_6495_20 WirelessChannel = "6g-109-6495-20" + WIRELESSCHANNEL__6G_11_6005_40 WirelessChannel = "6g-11-6005-40" WIRELESSCHANNEL__6G_111_6505_160 WirelessChannel = "6g-111-6505-160" WIRELESSCHANNEL__6G_113_6515_20 WirelessChannel = "6g-113-6515-20" WIRELESSCHANNEL__6G_115_6525_40 WirelessChannel = "6g-115-6525-40" @@ -150,6 +122,7 @@ const ( WIRELESSCHANNEL__6G_123_6565_40 WirelessChannel = "6g-123-6565-40" WIRELESSCHANNEL__6G_125_6575_20 WirelessChannel = "6g-125-6575-20" WIRELESSCHANNEL__6G_129_6595_20 WirelessChannel = "6g-129-6595-20" + WIRELESSCHANNEL__6G_13_6015_20 WirelessChannel = "6g-13-6015-20" WIRELESSCHANNEL__6G_131_6605_40 WirelessChannel = "6g-131-6605-40" WIRELESSCHANNEL__6G_133_6615_20 WirelessChannel = "6g-133-6615-20" WIRELESSCHANNEL__6G_135_6625_80 WirelessChannel = "6g-135-6625-80" @@ -160,6 +133,7 @@ const ( WIRELESSCHANNEL__6G_145_6675_20 WirelessChannel = "6g-145-6675-20" WIRELESSCHANNEL__6G_147_6685_40 WirelessChannel = "6g-147-6685-40" WIRELESSCHANNEL__6G_149_6695_20 WirelessChannel = "6g-149-6695-20" + WIRELESSCHANNEL__6G_15_6025_160 WirelessChannel = "6g-15-6025-160" WIRELESSCHANNEL__6G_151_6705_80 WirelessChannel = "6g-151-6705-80" WIRELESSCHANNEL__6G_153_6715_20 WirelessChannel = "6g-153-6715-20" WIRELESSCHANNEL__6G_155_6725_40 WirelessChannel = "6g-155-6725-40" @@ -170,6 +144,7 @@ const ( WIRELESSCHANNEL__6G_165_6775_20 WirelessChannel = "6g-165-6775-20" WIRELESSCHANNEL__6G_167_6785_80 WirelessChannel = "6g-167-6785-80" WIRELESSCHANNEL__6G_169_6795_20 WirelessChannel = "6g-169-6795-20" + WIRELESSCHANNEL__6G_17_6035_20 WirelessChannel = "6g-17-6035-20" WIRELESSCHANNEL__6G_171_6805_40 WirelessChannel = "6g-171-6805-40" WIRELESSCHANNEL__6G_173_6815_20 WirelessChannel = "6g-173-6815-20" WIRELESSCHANNEL__6G_175_6825_160 WirelessChannel = "6g-175-6825-160" @@ -180,6 +155,7 @@ const ( WIRELESSCHANNEL__6G_185_6875_20 WirelessChannel = "6g-185-6875-20" WIRELESSCHANNEL__6G_187_6885_40 WirelessChannel = "6g-187-6885-40" WIRELESSCHANNEL__6G_189_6895_20 WirelessChannel = "6g-189-6895-20" + WIRELESSCHANNEL__6G_19_6045_40 WirelessChannel = "6g-19-6045-40" WIRELESSCHANNEL__6G_193_6915_20 WirelessChannel = "6g-193-6915-20" WIRELESSCHANNEL__6G_195_6925_40 WirelessChannel = "6g-195-6925-40" WIRELESSCHANNEL__6G_197_6935_20 WirelessChannel = "6g-197-6935-20" @@ -189,6 +165,7 @@ const ( WIRELESSCHANNEL__6G_205_6975_20 WirelessChannel = "6g-205-6975-20" WIRELESSCHANNEL__6G_207_6985_160 WirelessChannel = "6g-207-6985-160" WIRELESSCHANNEL__6G_209_6995_20 WirelessChannel = "6g-209-6995-20" + WIRELESSCHANNEL__6G_21_6055_20 WirelessChannel = "6g-21-6055-20" WIRELESSCHANNEL__6G_211_7005_40 WirelessChannel = "6g-211-7005-40" WIRELESSCHANNEL__6G_213_7015_20 WirelessChannel = "6g-213-7015-20" WIRELESSCHANNEL__6G_215_7025_80 WirelessChannel = "6g-215-7025-80" @@ -198,31 +175,59 @@ const ( WIRELESSCHANNEL__6G_225_7075_20 WirelessChannel = "6g-225-7075-20" WIRELESSCHANNEL__6G_227_7085_40 WirelessChannel = "6g-227-7085-40" WIRELESSCHANNEL__6G_229_7095_20 WirelessChannel = "6g-229-7095-20" + WIRELESSCHANNEL__6G_23_6065_80 WirelessChannel = "6g-23-6065-80" WIRELESSCHANNEL__6G_233_7115_20 WirelessChannel = "6g-233-7115-20" - WIRELESSCHANNEL__60G_1_58320_2160 WirelessChannel = "60g-1-58320-2160" - WIRELESSCHANNEL__60G_2_60480_2160 WirelessChannel = "60g-2-60480-2160" - WIRELESSCHANNEL__60G_3_62640_2160 WirelessChannel = "60g-3-62640-2160" - WIRELESSCHANNEL__60G_4_64800_2160 WirelessChannel = "60g-4-64800-2160" - WIRELESSCHANNEL__60G_5_66960_2160 WirelessChannel = "60g-5-66960-2160" - WIRELESSCHANNEL__60G_6_69120_2160 WirelessChannel = "60g-6-69120-2160" - WIRELESSCHANNEL__60G_9_59400_4320 WirelessChannel = "60g-9-59400-4320" - WIRELESSCHANNEL__60G_10_61560_4320 WirelessChannel = "60g-10-61560-4320" - WIRELESSCHANNEL__60G_11_63720_4320 WirelessChannel = "60g-11-63720-4320" - WIRELESSCHANNEL__60G_12_65880_4320 WirelessChannel = "60g-12-65880-4320" - WIRELESSCHANNEL__60G_13_68040_4320 WirelessChannel = "60g-13-68040-4320" - WIRELESSCHANNEL__60G_17_60480_6480 WirelessChannel = "60g-17-60480-6480" - WIRELESSCHANNEL__60G_18_62640_6480 WirelessChannel = "60g-18-62640-6480" - WIRELESSCHANNEL__60G_19_64800_6480 WirelessChannel = "60g-19-64800-6480" - WIRELESSCHANNEL__60G_20_66960_6480 WirelessChannel = "60g-20-66960-6480" - WIRELESSCHANNEL__60G_25_61560_6480 WirelessChannel = "60g-25-61560-6480" - WIRELESSCHANNEL__60G_26_63720_6480 WirelessChannel = "60g-26-63720-6480" - WIRELESSCHANNEL__60G_27_65880_6480 WirelessChannel = "60g-27-65880-6480" - WIRELESSCHANNEL_EMPTY WirelessChannel = "" + WIRELESSCHANNEL__6G_25_6075_20 WirelessChannel = "6g-25-6075-20" + WIRELESSCHANNEL__6G_27_6085_40 WirelessChannel = "6g-27-6085-40" + WIRELESSCHANNEL__6G_29_6095_20 WirelessChannel = "6g-29-6095-20" + WIRELESSCHANNEL__6G_3_5965_40 WirelessChannel = "6g-3-5965-40" + WIRELESSCHANNEL__6G_31_6105_320 WirelessChannel = "6g-31-6105-320" + WIRELESSCHANNEL__6G_33_6115_20 WirelessChannel = "6g-33-6115-20" + WIRELESSCHANNEL__6G_35_6125_40 WirelessChannel = "6g-35-6125-40" + WIRELESSCHANNEL__6G_37_6135_20 WirelessChannel = "6g-37-6135-20" + WIRELESSCHANNEL__6G_39_6145_80 WirelessChannel = "6g-39-6145-80" + WIRELESSCHANNEL__6G_41_6155_20 WirelessChannel = "6g-41-6155-20" + WIRELESSCHANNEL__6G_43_6165_40 WirelessChannel = "6g-43-6165-40" + WIRELESSCHANNEL__6G_45_6175_20 WirelessChannel = "6g-45-6175-20" + WIRELESSCHANNEL__6G_47_6185_160 WirelessChannel = "6g-47-6185-160" + WIRELESSCHANNEL__6G_49_6195_20 WirelessChannel = "6g-49-6195-20" + WIRELESSCHANNEL__6G_5_5975_20 WirelessChannel = "6g-5-5975-20" + WIRELESSCHANNEL__6G_51_6205_40 WirelessChannel = "6g-51-6205-40" + WIRELESSCHANNEL__6G_53_6215_20 WirelessChannel = "6g-53-6215-20" + WIRELESSCHANNEL__6G_55_6225_80 WirelessChannel = "6g-55-6225-80" + WIRELESSCHANNEL__6G_57_6235_20 WirelessChannel = "6g-57-6235-20" + WIRELESSCHANNEL__6G_59_6245_40 WirelessChannel = "6g-59-6245-40" + WIRELESSCHANNEL__6G_61_6255_20 WirelessChannel = "6g-61-6255-20" + WIRELESSCHANNEL__6G_65_6275_20 WirelessChannel = "6g-65-6275-20" + WIRELESSCHANNEL__6G_67_6285_40 WirelessChannel = "6g-67-6285-40" + WIRELESSCHANNEL__6G_69_6295_20 WirelessChannel = "6g-69-6295-20" + WIRELESSCHANNEL__6G_7_5985_80 WirelessChannel = "6g-7-5985-80" + WIRELESSCHANNEL__6G_71_6305_80 WirelessChannel = "6g-71-6305-80" + WIRELESSCHANNEL__6G_73_6315_20 WirelessChannel = "6g-73-6315-20" + WIRELESSCHANNEL__6G_75_6325_40 WirelessChannel = "6g-75-6325-40" + WIRELESSCHANNEL__6G_77_6335_20 WirelessChannel = "6g-77-6335-20" + WIRELESSCHANNEL__6G_79_6345_160 WirelessChannel = "6g-79-6345-160" + WIRELESSCHANNEL__6G_81_6355_20 WirelessChannel = "6g-81-6355-20" + WIRELESSCHANNEL__6G_83_6365_40 WirelessChannel = "6g-83-6365-40" + WIRELESSCHANNEL__6G_85_6375_20 WirelessChannel = "6g-85-6375-20" + WIRELESSCHANNEL__6G_87_6385_80 WirelessChannel = "6g-87-6385-80" + WIRELESSCHANNEL__6G_89_6395_20 WirelessChannel = "6g-89-6395-20" + WIRELESSCHANNEL__6G_9_5995_20 WirelessChannel = "6g-9-5995-20" + WIRELESSCHANNEL__6G_91_6405_40 WirelessChannel = "6g-91-6405-40" + WIRELESSCHANNEL__6G_93_6415_20 WirelessChannel = "6g-93-6415-20" + WIRELESSCHANNEL__6G_95_6425_320 WirelessChannel = "6g-95-6425-320" + WIRELESSCHANNEL__6G_97_6435_20 WirelessChannel = "6g-97-6435-20" + WIRELESSCHANNEL__6G_99_6445_40 WirelessChannel = "6g-99-6445-40" ) // All allowed values of WirelessChannel enum var AllowedWirelessChannelEnumValues = []WirelessChannel{ + "", "2.4g-1-2412-22", + "2.4g-10-2457-22", + "2.4g-11-2462-22", + "2.4g-12-2467-22", + "2.4g-13-2472-22", "2.4g-2-2417-22", "2.4g-3-2422-22", "2.4g-4-2427-22", @@ -231,27 +236,6 @@ var AllowedWirelessChannelEnumValues = []WirelessChannel{ "2.4g-7-2442-22", "2.4g-8-2447-22", "2.4g-9-2452-22", - "2.4g-10-2457-22", - "2.4g-11-2462-22", - "2.4g-12-2467-22", - "2.4g-13-2472-22", - "5g-32-5160-20", - "5g-34-5170-40", - "5g-36-5180-20", - "5g-38-5190-40", - "5g-40-5200-20", - "5g-42-5210-80", - "5g-44-5220-20", - "5g-46-5230-40", - "5g-48-5240-20", - "5g-50-5250-160", - "5g-52-5260-20", - "5g-54-5270-40", - "5g-56-5280-20", - "5g-58-5290-80", - "5g-60-5300-20", - "5g-62-5310-40", - "5g-64-5320-20", "5g-100-5500-20", "5g-102-5510-40", "5g-104-5520-20", @@ -289,60 +273,48 @@ var AllowedWirelessChannelEnumValues = []WirelessChannel{ "5g-173-5865-20", "5g-175-5875-40", "5g-177-5885-20", + "5g-32-5160-20", + "5g-34-5170-40", + "5g-36-5180-20", + "5g-38-5190-40", + "5g-40-5200-20", + "5g-42-5210-80", + "5g-44-5220-20", + "5g-46-5230-40", + "5g-48-5240-20", + "5g-50-5250-160", + "5g-52-5260-20", + "5g-54-5270-40", + "5g-56-5280-20", + "5g-58-5290-80", + "5g-60-5300-20", + "5g-62-5310-40", + "5g-64-5320-20", + "60g-1-58320-2160", + "60g-10-61560-4320", + "60g-11-63720-4320", + "60g-12-65880-4320", + "60g-13-68040-4320", + "60g-17-60480-6480", + "60g-18-62640-6480", + "60g-19-64800-6480", + "60g-2-60480-2160", + "60g-20-66960-6480", + "60g-25-61560-6480", + "60g-26-63720-6480", + "60g-27-65880-6480", + "60g-3-62640-2160", + "60g-4-64800-2160", + "60g-5-66960-2160", + "60g-6-69120-2160", + "60g-9-59400-4320", "6g-1-5955-20", - "6g-3-5965-40", - "6g-5-5975-20", - "6g-7-5985-80", - "6g-9-5995-20", - "6g-11-6005-40", - "6g-13-6015-20", - "6g-15-6025-160", - "6g-17-6035-20", - "6g-19-6045-40", - "6g-21-6055-20", - "6g-23-6065-80", - "6g-25-6075-20", - "6g-27-6085-40", - "6g-29-6095-20", - "6g-31-6105-320", - "6g-33-6115-20", - "6g-35-6125-40", - "6g-37-6135-20", - "6g-39-6145-80", - "6g-41-6155-20", - "6g-43-6165-40", - "6g-45-6175-20", - "6g-47-6185-160", - "6g-49-6195-20", - "6g-51-6205-40", - "6g-53-6215-20", - "6g-55-6225-80", - "6g-57-6235-20", - "6g-59-6245-40", - "6g-61-6255-20", - "6g-65-6275-20", - "6g-67-6285-40", - "6g-69-6295-20", - "6g-71-6305-80", - "6g-73-6315-20", - "6g-75-6325-40", - "6g-77-6335-20", - "6g-79-6345-160", - "6g-81-6355-20", - "6g-83-6365-40", - "6g-85-6375-20", - "6g-87-6385-80", - "6g-89-6395-20", - "6g-91-6405-40", - "6g-93-6415-20", - "6g-95-6425-320", - "6g-97-6435-20", - "6g-99-6445-40", "6g-101-6455-20", "6g-103-6465-80", "6g-105-6475-20", "6g-107-6485-40", "6g-109-6495-20", + "6g-11-6005-40", "6g-111-6505-160", "6g-113-6515-20", "6g-115-6525-40", @@ -352,6 +324,7 @@ var AllowedWirelessChannelEnumValues = []WirelessChannel{ "6g-123-6565-40", "6g-125-6575-20", "6g-129-6595-20", + "6g-13-6015-20", "6g-131-6605-40", "6g-133-6615-20", "6g-135-6625-80", @@ -362,6 +335,7 @@ var AllowedWirelessChannelEnumValues = []WirelessChannel{ "6g-145-6675-20", "6g-147-6685-40", "6g-149-6695-20", + "6g-15-6025-160", "6g-151-6705-80", "6g-153-6715-20", "6g-155-6725-40", @@ -372,6 +346,7 @@ var AllowedWirelessChannelEnumValues = []WirelessChannel{ "6g-165-6775-20", "6g-167-6785-80", "6g-169-6795-20", + "6g-17-6035-20", "6g-171-6805-40", "6g-173-6815-20", "6g-175-6825-160", @@ -382,6 +357,7 @@ var AllowedWirelessChannelEnumValues = []WirelessChannel{ "6g-185-6875-20", "6g-187-6885-40", "6g-189-6895-20", + "6g-19-6045-40", "6g-193-6915-20", "6g-195-6925-40", "6g-197-6935-20", @@ -391,6 +367,7 @@ var AllowedWirelessChannelEnumValues = []WirelessChannel{ "6g-205-6975-20", "6g-207-6985-160", "6g-209-6995-20", + "6g-21-6055-20", "6g-211-7005-40", "6g-213-7015-20", "6g-215-7025-80", @@ -400,26 +377,49 @@ var AllowedWirelessChannelEnumValues = []WirelessChannel{ "6g-225-7075-20", "6g-227-7085-40", "6g-229-7095-20", + "6g-23-6065-80", "6g-233-7115-20", - "60g-1-58320-2160", - "60g-2-60480-2160", - "60g-3-62640-2160", - "60g-4-64800-2160", - "60g-5-66960-2160", - "60g-6-69120-2160", - "60g-9-59400-4320", - "60g-10-61560-4320", - "60g-11-63720-4320", - "60g-12-65880-4320", - "60g-13-68040-4320", - "60g-17-60480-6480", - "60g-18-62640-6480", - "60g-19-64800-6480", - "60g-20-66960-6480", - "60g-25-61560-6480", - "60g-26-63720-6480", - "60g-27-65880-6480", - "", + "6g-25-6075-20", + "6g-27-6085-40", + "6g-29-6095-20", + "6g-3-5965-40", + "6g-31-6105-320", + "6g-33-6115-20", + "6g-35-6125-40", + "6g-37-6135-20", + "6g-39-6145-80", + "6g-41-6155-20", + "6g-43-6165-40", + "6g-45-6175-20", + "6g-47-6185-160", + "6g-49-6195-20", + "6g-5-5975-20", + "6g-51-6205-40", + "6g-53-6215-20", + "6g-55-6225-80", + "6g-57-6235-20", + "6g-59-6245-40", + "6g-61-6255-20", + "6g-65-6275-20", + "6g-67-6285-40", + "6g-69-6295-20", + "6g-7-5985-80", + "6g-71-6305-80", + "6g-73-6315-20", + "6g-75-6325-40", + "6g-77-6335-20", + "6g-79-6345-160", + "6g-81-6355-20", + "6g-83-6365-40", + "6g-85-6375-20", + "6g-87-6385-80", + "6g-89-6395-20", + "6g-9-5995-20", + "6g-91-6405-40", + "6g-93-6415-20", + "6g-95-6425-320", + "6g-97-6435-20", + "6g-99-6445-40", } func (v *WirelessChannel) UnmarshalJSON(src []byte) error { diff --git a/model_wireless_channel_1.go b/model_wireless_channel_1.go new file mode 100644 index 000000000..d5c0167c5 --- /dev/null +++ b/model_wireless_channel_1.go @@ -0,0 +1,503 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// WirelessChannel1 * `2.4g-1-2412-22` - 1 (2412 MHz) * `2.4g-2-2417-22` - 2 (2417 MHz) * `2.4g-3-2422-22` - 3 (2422 MHz) * `2.4g-4-2427-22` - 4 (2427 MHz) * `2.4g-5-2432-22` - 5 (2432 MHz) * `2.4g-6-2437-22` - 6 (2437 MHz) * `2.4g-7-2442-22` - 7 (2442 MHz) * `2.4g-8-2447-22` - 8 (2447 MHz) * `2.4g-9-2452-22` - 9 (2452 MHz) * `2.4g-10-2457-22` - 10 (2457 MHz) * `2.4g-11-2462-22` - 11 (2462 MHz) * `2.4g-12-2467-22` - 12 (2467 MHz) * `2.4g-13-2472-22` - 13 (2472 MHz) * `5g-32-5160-20` - 32 (5160/20 MHz) * `5g-34-5170-40` - 34 (5170/40 MHz) * `5g-36-5180-20` - 36 (5180/20 MHz) * `5g-38-5190-40` - 38 (5190/40 MHz) * `5g-40-5200-20` - 40 (5200/20 MHz) * `5g-42-5210-80` - 42 (5210/80 MHz) * `5g-44-5220-20` - 44 (5220/20 MHz) * `5g-46-5230-40` - 46 (5230/40 MHz) * `5g-48-5240-20` - 48 (5240/20 MHz) * `5g-50-5250-160` - 50 (5250/160 MHz) * `5g-52-5260-20` - 52 (5260/20 MHz) * `5g-54-5270-40` - 54 (5270/40 MHz) * `5g-56-5280-20` - 56 (5280/20 MHz) * `5g-58-5290-80` - 58 (5290/80 MHz) * `5g-60-5300-20` - 60 (5300/20 MHz) * `5g-62-5310-40` - 62 (5310/40 MHz) * `5g-64-5320-20` - 64 (5320/20 MHz) * `5g-100-5500-20` - 100 (5500/20 MHz) * `5g-102-5510-40` - 102 (5510/40 MHz) * `5g-104-5520-20` - 104 (5520/20 MHz) * `5g-106-5530-80` - 106 (5530/80 MHz) * `5g-108-5540-20` - 108 (5540/20 MHz) * `5g-110-5550-40` - 110 (5550/40 MHz) * `5g-112-5560-20` - 112 (5560/20 MHz) * `5g-114-5570-160` - 114 (5570/160 MHz) * `5g-116-5580-20` - 116 (5580/20 MHz) * `5g-118-5590-40` - 118 (5590/40 MHz) * `5g-120-5600-20` - 120 (5600/20 MHz) * `5g-122-5610-80` - 122 (5610/80 MHz) * `5g-124-5620-20` - 124 (5620/20 MHz) * `5g-126-5630-40` - 126 (5630/40 MHz) * `5g-128-5640-20` - 128 (5640/20 MHz) * `5g-132-5660-20` - 132 (5660/20 MHz) * `5g-134-5670-40` - 134 (5670/40 MHz) * `5g-136-5680-20` - 136 (5680/20 MHz) * `5g-138-5690-80` - 138 (5690/80 MHz) * `5g-140-5700-20` - 140 (5700/20 MHz) * `5g-142-5710-40` - 142 (5710/40 MHz) * `5g-144-5720-20` - 144 (5720/20 MHz) * `5g-149-5745-20` - 149 (5745/20 MHz) * `5g-151-5755-40` - 151 (5755/40 MHz) * `5g-153-5765-20` - 153 (5765/20 MHz) * `5g-155-5775-80` - 155 (5775/80 MHz) * `5g-157-5785-20` - 157 (5785/20 MHz) * `5g-159-5795-40` - 159 (5795/40 MHz) * `5g-161-5805-20` - 161 (5805/20 MHz) * `5g-163-5815-160` - 163 (5815/160 MHz) * `5g-165-5825-20` - 165 (5825/20 MHz) * `5g-167-5835-40` - 167 (5835/40 MHz) * `5g-169-5845-20` - 169 (5845/20 MHz) * `5g-171-5855-80` - 171 (5855/80 MHz) * `5g-173-5865-20` - 173 (5865/20 MHz) * `5g-175-5875-40` - 175 (5875/40 MHz) * `5g-177-5885-20` - 177 (5885/20 MHz) * `6g-1-5955-20` - 1 (5955/20 MHz) * `6g-3-5965-40` - 3 (5965/40 MHz) * `6g-5-5975-20` - 5 (5975/20 MHz) * `6g-7-5985-80` - 7 (5985/80 MHz) * `6g-9-5995-20` - 9 (5995/20 MHz) * `6g-11-6005-40` - 11 (6005/40 MHz) * `6g-13-6015-20` - 13 (6015/20 MHz) * `6g-15-6025-160` - 15 (6025/160 MHz) * `6g-17-6035-20` - 17 (6035/20 MHz) * `6g-19-6045-40` - 19 (6045/40 MHz) * `6g-21-6055-20` - 21 (6055/20 MHz) * `6g-23-6065-80` - 23 (6065/80 MHz) * `6g-25-6075-20` - 25 (6075/20 MHz) * `6g-27-6085-40` - 27 (6085/40 MHz) * `6g-29-6095-20` - 29 (6095/20 MHz) * `6g-31-6105-320` - 31 (6105/320 MHz) * `6g-33-6115-20` - 33 (6115/20 MHz) * `6g-35-6125-40` - 35 (6125/40 MHz) * `6g-37-6135-20` - 37 (6135/20 MHz) * `6g-39-6145-80` - 39 (6145/80 MHz) * `6g-41-6155-20` - 41 (6155/20 MHz) * `6g-43-6165-40` - 43 (6165/40 MHz) * `6g-45-6175-20` - 45 (6175/20 MHz) * `6g-47-6185-160` - 47 (6185/160 MHz) * `6g-49-6195-20` - 49 (6195/20 MHz) * `6g-51-6205-40` - 51 (6205/40 MHz) * `6g-53-6215-20` - 53 (6215/20 MHz) * `6g-55-6225-80` - 55 (6225/80 MHz) * `6g-57-6235-20` - 57 (6235/20 MHz) * `6g-59-6245-40` - 59 (6245/40 MHz) * `6g-61-6255-20` - 61 (6255/20 MHz) * `6g-65-6275-20` - 65 (6275/20 MHz) * `6g-67-6285-40` - 67 (6285/40 MHz) * `6g-69-6295-20` - 69 (6295/20 MHz) * `6g-71-6305-80` - 71 (6305/80 MHz) * `6g-73-6315-20` - 73 (6315/20 MHz) * `6g-75-6325-40` - 75 (6325/40 MHz) * `6g-77-6335-20` - 77 (6335/20 MHz) * `6g-79-6345-160` - 79 (6345/160 MHz) * `6g-81-6355-20` - 81 (6355/20 MHz) * `6g-83-6365-40` - 83 (6365/40 MHz) * `6g-85-6375-20` - 85 (6375/20 MHz) * `6g-87-6385-80` - 87 (6385/80 MHz) * `6g-89-6395-20` - 89 (6395/20 MHz) * `6g-91-6405-40` - 91 (6405/40 MHz) * `6g-93-6415-20` - 93 (6415/20 MHz) * `6g-95-6425-320` - 95 (6425/320 MHz) * `6g-97-6435-20` - 97 (6435/20 MHz) * `6g-99-6445-40` - 99 (6445/40 MHz) * `6g-101-6455-20` - 101 (6455/20 MHz) * `6g-103-6465-80` - 103 (6465/80 MHz) * `6g-105-6475-20` - 105 (6475/20 MHz) * `6g-107-6485-40` - 107 (6485/40 MHz) * `6g-109-6495-20` - 109 (6495/20 MHz) * `6g-111-6505-160` - 111 (6505/160 MHz) * `6g-113-6515-20` - 113 (6515/20 MHz) * `6g-115-6525-40` - 115 (6525/40 MHz) * `6g-117-6535-20` - 117 (6535/20 MHz) * `6g-119-6545-80` - 119 (6545/80 MHz) * `6g-121-6555-20` - 121 (6555/20 MHz) * `6g-123-6565-40` - 123 (6565/40 MHz) * `6g-125-6575-20` - 125 (6575/20 MHz) * `6g-129-6595-20` - 129 (6595/20 MHz) * `6g-131-6605-40` - 131 (6605/40 MHz) * `6g-133-6615-20` - 133 (6615/20 MHz) * `6g-135-6625-80` - 135 (6625/80 MHz) * `6g-137-6635-20` - 137 (6635/20 MHz) * `6g-139-6645-40` - 139 (6645/40 MHz) * `6g-141-6655-20` - 141 (6655/20 MHz) * `6g-143-6665-160` - 143 (6665/160 MHz) * `6g-145-6675-20` - 145 (6675/20 MHz) * `6g-147-6685-40` - 147 (6685/40 MHz) * `6g-149-6695-20` - 149 (6695/20 MHz) * `6g-151-6705-80` - 151 (6705/80 MHz) * `6g-153-6715-20` - 153 (6715/20 MHz) * `6g-155-6725-40` - 155 (6725/40 MHz) * `6g-157-6735-20` - 157 (6735/20 MHz) * `6g-159-6745-320` - 159 (6745/320 MHz) * `6g-161-6755-20` - 161 (6755/20 MHz) * `6g-163-6765-40` - 163 (6765/40 MHz) * `6g-165-6775-20` - 165 (6775/20 MHz) * `6g-167-6785-80` - 167 (6785/80 MHz) * `6g-169-6795-20` - 169 (6795/20 MHz) * `6g-171-6805-40` - 171 (6805/40 MHz) * `6g-173-6815-20` - 173 (6815/20 MHz) * `6g-175-6825-160` - 175 (6825/160 MHz) * `6g-177-6835-20` - 177 (6835/20 MHz) * `6g-179-6845-40` - 179 (6845/40 MHz) * `6g-181-6855-20` - 181 (6855/20 MHz) * `6g-183-6865-80` - 183 (6865/80 MHz) * `6g-185-6875-20` - 185 (6875/20 MHz) * `6g-187-6885-40` - 187 (6885/40 MHz) * `6g-189-6895-20` - 189 (6895/20 MHz) * `6g-193-6915-20` - 193 (6915/20 MHz) * `6g-195-6925-40` - 195 (6925/40 MHz) * `6g-197-6935-20` - 197 (6935/20 MHz) * `6g-199-6945-80` - 199 (6945/80 MHz) * `6g-201-6955-20` - 201 (6955/20 MHz) * `6g-203-6965-40` - 203 (6965/40 MHz) * `6g-205-6975-20` - 205 (6975/20 MHz) * `6g-207-6985-160` - 207 (6985/160 MHz) * `6g-209-6995-20` - 209 (6995/20 MHz) * `6g-211-7005-40` - 211 (7005/40 MHz) * `6g-213-7015-20` - 213 (7015/20 MHz) * `6g-215-7025-80` - 215 (7025/80 MHz) * `6g-217-7035-20` - 217 (7035/20 MHz) * `6g-219-7045-40` - 219 (7045/40 MHz) * `6g-221-7055-20` - 221 (7055/20 MHz) * `6g-225-7075-20` - 225 (7075/20 MHz) * `6g-227-7085-40` - 227 (7085/40 MHz) * `6g-229-7095-20` - 229 (7095/20 MHz) * `6g-233-7115-20` - 233 (7115/20 MHz) * `60g-1-58320-2160` - 1 (58.32/2.16 GHz) * `60g-2-60480-2160` - 2 (60.48/2.16 GHz) * `60g-3-62640-2160` - 3 (62.64/2.16 GHz) * `60g-4-64800-2160` - 4 (64.80/2.16 GHz) * `60g-5-66960-2160` - 5 (66.96/2.16 GHz) * `60g-6-69120-2160` - 6 (69.12/2.16 GHz) * `60g-9-59400-4320` - 9 (59.40/4.32 GHz) * `60g-10-61560-4320` - 10 (61.56/4.32 GHz) * `60g-11-63720-4320` - 11 (63.72/4.32 GHz) * `60g-12-65880-4320` - 12 (65.88/4.32 GHz) * `60g-13-68040-4320` - 13 (68.04/4.32 GHz) * `60g-17-60480-6480` - 17 (60.48/6.48 GHz) * `60g-18-62640-6480` - 18 (62.64/6.48 GHz) * `60g-19-64800-6480` - 19 (64.80/6.48 GHz) * `60g-20-66960-6480` - 20 (66.96/6.48 GHz) * `60g-25-61560-6480` - 25 (61.56/8.64 GHz) * `60g-26-63720-6480` - 26 (63.72/8.64 GHz) * `60g-27-65880-6480` - 27 (65.88/8.64 GHz) +type WirelessChannel1 string + +// List of Wireless_channel_1 +const ( + WIRELESSCHANNEL1__2_4G_1_2412_22 WirelessChannel1 = "2.4g-1-2412-22" + WIRELESSCHANNEL1__2_4G_2_2417_22 WirelessChannel1 = "2.4g-2-2417-22" + WIRELESSCHANNEL1__2_4G_3_2422_22 WirelessChannel1 = "2.4g-3-2422-22" + WIRELESSCHANNEL1__2_4G_4_2427_22 WirelessChannel1 = "2.4g-4-2427-22" + WIRELESSCHANNEL1__2_4G_5_2432_22 WirelessChannel1 = "2.4g-5-2432-22" + WIRELESSCHANNEL1__2_4G_6_2437_22 WirelessChannel1 = "2.4g-6-2437-22" + WIRELESSCHANNEL1__2_4G_7_2442_22 WirelessChannel1 = "2.4g-7-2442-22" + WIRELESSCHANNEL1__2_4G_8_2447_22 WirelessChannel1 = "2.4g-8-2447-22" + WIRELESSCHANNEL1__2_4G_9_2452_22 WirelessChannel1 = "2.4g-9-2452-22" + WIRELESSCHANNEL1__2_4G_10_2457_22 WirelessChannel1 = "2.4g-10-2457-22" + WIRELESSCHANNEL1__2_4G_11_2462_22 WirelessChannel1 = "2.4g-11-2462-22" + WIRELESSCHANNEL1__2_4G_12_2467_22 WirelessChannel1 = "2.4g-12-2467-22" + WIRELESSCHANNEL1__2_4G_13_2472_22 WirelessChannel1 = "2.4g-13-2472-22" + WIRELESSCHANNEL1__5G_32_5160_20 WirelessChannel1 = "5g-32-5160-20" + WIRELESSCHANNEL1__5G_34_5170_40 WirelessChannel1 = "5g-34-5170-40" + WIRELESSCHANNEL1__5G_36_5180_20 WirelessChannel1 = "5g-36-5180-20" + WIRELESSCHANNEL1__5G_38_5190_40 WirelessChannel1 = "5g-38-5190-40" + WIRELESSCHANNEL1__5G_40_5200_20 WirelessChannel1 = "5g-40-5200-20" + WIRELESSCHANNEL1__5G_42_5210_80 WirelessChannel1 = "5g-42-5210-80" + WIRELESSCHANNEL1__5G_44_5220_20 WirelessChannel1 = "5g-44-5220-20" + WIRELESSCHANNEL1__5G_46_5230_40 WirelessChannel1 = "5g-46-5230-40" + WIRELESSCHANNEL1__5G_48_5240_20 WirelessChannel1 = "5g-48-5240-20" + WIRELESSCHANNEL1__5G_50_5250_160 WirelessChannel1 = "5g-50-5250-160" + WIRELESSCHANNEL1__5G_52_5260_20 WirelessChannel1 = "5g-52-5260-20" + WIRELESSCHANNEL1__5G_54_5270_40 WirelessChannel1 = "5g-54-5270-40" + WIRELESSCHANNEL1__5G_56_5280_20 WirelessChannel1 = "5g-56-5280-20" + WIRELESSCHANNEL1__5G_58_5290_80 WirelessChannel1 = "5g-58-5290-80" + WIRELESSCHANNEL1__5G_60_5300_20 WirelessChannel1 = "5g-60-5300-20" + WIRELESSCHANNEL1__5G_62_5310_40 WirelessChannel1 = "5g-62-5310-40" + WIRELESSCHANNEL1__5G_64_5320_20 WirelessChannel1 = "5g-64-5320-20" + WIRELESSCHANNEL1__5G_100_5500_20 WirelessChannel1 = "5g-100-5500-20" + WIRELESSCHANNEL1__5G_102_5510_40 WirelessChannel1 = "5g-102-5510-40" + WIRELESSCHANNEL1__5G_104_5520_20 WirelessChannel1 = "5g-104-5520-20" + WIRELESSCHANNEL1__5G_106_5530_80 WirelessChannel1 = "5g-106-5530-80" + WIRELESSCHANNEL1__5G_108_5540_20 WirelessChannel1 = "5g-108-5540-20" + WIRELESSCHANNEL1__5G_110_5550_40 WirelessChannel1 = "5g-110-5550-40" + WIRELESSCHANNEL1__5G_112_5560_20 WirelessChannel1 = "5g-112-5560-20" + WIRELESSCHANNEL1__5G_114_5570_160 WirelessChannel1 = "5g-114-5570-160" + WIRELESSCHANNEL1__5G_116_5580_20 WirelessChannel1 = "5g-116-5580-20" + WIRELESSCHANNEL1__5G_118_5590_40 WirelessChannel1 = "5g-118-5590-40" + WIRELESSCHANNEL1__5G_120_5600_20 WirelessChannel1 = "5g-120-5600-20" + WIRELESSCHANNEL1__5G_122_5610_80 WirelessChannel1 = "5g-122-5610-80" + WIRELESSCHANNEL1__5G_124_5620_20 WirelessChannel1 = "5g-124-5620-20" + WIRELESSCHANNEL1__5G_126_5630_40 WirelessChannel1 = "5g-126-5630-40" + WIRELESSCHANNEL1__5G_128_5640_20 WirelessChannel1 = "5g-128-5640-20" + WIRELESSCHANNEL1__5G_132_5660_20 WirelessChannel1 = "5g-132-5660-20" + WIRELESSCHANNEL1__5G_134_5670_40 WirelessChannel1 = "5g-134-5670-40" + WIRELESSCHANNEL1__5G_136_5680_20 WirelessChannel1 = "5g-136-5680-20" + WIRELESSCHANNEL1__5G_138_5690_80 WirelessChannel1 = "5g-138-5690-80" + WIRELESSCHANNEL1__5G_140_5700_20 WirelessChannel1 = "5g-140-5700-20" + WIRELESSCHANNEL1__5G_142_5710_40 WirelessChannel1 = "5g-142-5710-40" + WIRELESSCHANNEL1__5G_144_5720_20 WirelessChannel1 = "5g-144-5720-20" + WIRELESSCHANNEL1__5G_149_5745_20 WirelessChannel1 = "5g-149-5745-20" + WIRELESSCHANNEL1__5G_151_5755_40 WirelessChannel1 = "5g-151-5755-40" + WIRELESSCHANNEL1__5G_153_5765_20 WirelessChannel1 = "5g-153-5765-20" + WIRELESSCHANNEL1__5G_155_5775_80 WirelessChannel1 = "5g-155-5775-80" + WIRELESSCHANNEL1__5G_157_5785_20 WirelessChannel1 = "5g-157-5785-20" + WIRELESSCHANNEL1__5G_159_5795_40 WirelessChannel1 = "5g-159-5795-40" + WIRELESSCHANNEL1__5G_161_5805_20 WirelessChannel1 = "5g-161-5805-20" + WIRELESSCHANNEL1__5G_163_5815_160 WirelessChannel1 = "5g-163-5815-160" + WIRELESSCHANNEL1__5G_165_5825_20 WirelessChannel1 = "5g-165-5825-20" + WIRELESSCHANNEL1__5G_167_5835_40 WirelessChannel1 = "5g-167-5835-40" + WIRELESSCHANNEL1__5G_169_5845_20 WirelessChannel1 = "5g-169-5845-20" + WIRELESSCHANNEL1__5G_171_5855_80 WirelessChannel1 = "5g-171-5855-80" + WIRELESSCHANNEL1__5G_173_5865_20 WirelessChannel1 = "5g-173-5865-20" + WIRELESSCHANNEL1__5G_175_5875_40 WirelessChannel1 = "5g-175-5875-40" + WIRELESSCHANNEL1__5G_177_5885_20 WirelessChannel1 = "5g-177-5885-20" + WIRELESSCHANNEL1__6G_1_5955_20 WirelessChannel1 = "6g-1-5955-20" + WIRELESSCHANNEL1__6G_3_5965_40 WirelessChannel1 = "6g-3-5965-40" + WIRELESSCHANNEL1__6G_5_5975_20 WirelessChannel1 = "6g-5-5975-20" + WIRELESSCHANNEL1__6G_7_5985_80 WirelessChannel1 = "6g-7-5985-80" + WIRELESSCHANNEL1__6G_9_5995_20 WirelessChannel1 = "6g-9-5995-20" + WIRELESSCHANNEL1__6G_11_6005_40 WirelessChannel1 = "6g-11-6005-40" + WIRELESSCHANNEL1__6G_13_6015_20 WirelessChannel1 = "6g-13-6015-20" + WIRELESSCHANNEL1__6G_15_6025_160 WirelessChannel1 = "6g-15-6025-160" + WIRELESSCHANNEL1__6G_17_6035_20 WirelessChannel1 = "6g-17-6035-20" + WIRELESSCHANNEL1__6G_19_6045_40 WirelessChannel1 = "6g-19-6045-40" + WIRELESSCHANNEL1__6G_21_6055_20 WirelessChannel1 = "6g-21-6055-20" + WIRELESSCHANNEL1__6G_23_6065_80 WirelessChannel1 = "6g-23-6065-80" + WIRELESSCHANNEL1__6G_25_6075_20 WirelessChannel1 = "6g-25-6075-20" + WIRELESSCHANNEL1__6G_27_6085_40 WirelessChannel1 = "6g-27-6085-40" + WIRELESSCHANNEL1__6G_29_6095_20 WirelessChannel1 = "6g-29-6095-20" + WIRELESSCHANNEL1__6G_31_6105_320 WirelessChannel1 = "6g-31-6105-320" + WIRELESSCHANNEL1__6G_33_6115_20 WirelessChannel1 = "6g-33-6115-20" + WIRELESSCHANNEL1__6G_35_6125_40 WirelessChannel1 = "6g-35-6125-40" + WIRELESSCHANNEL1__6G_37_6135_20 WirelessChannel1 = "6g-37-6135-20" + WIRELESSCHANNEL1__6G_39_6145_80 WirelessChannel1 = "6g-39-6145-80" + WIRELESSCHANNEL1__6G_41_6155_20 WirelessChannel1 = "6g-41-6155-20" + WIRELESSCHANNEL1__6G_43_6165_40 WirelessChannel1 = "6g-43-6165-40" + WIRELESSCHANNEL1__6G_45_6175_20 WirelessChannel1 = "6g-45-6175-20" + WIRELESSCHANNEL1__6G_47_6185_160 WirelessChannel1 = "6g-47-6185-160" + WIRELESSCHANNEL1__6G_49_6195_20 WirelessChannel1 = "6g-49-6195-20" + WIRELESSCHANNEL1__6G_51_6205_40 WirelessChannel1 = "6g-51-6205-40" + WIRELESSCHANNEL1__6G_53_6215_20 WirelessChannel1 = "6g-53-6215-20" + WIRELESSCHANNEL1__6G_55_6225_80 WirelessChannel1 = "6g-55-6225-80" + WIRELESSCHANNEL1__6G_57_6235_20 WirelessChannel1 = "6g-57-6235-20" + WIRELESSCHANNEL1__6G_59_6245_40 WirelessChannel1 = "6g-59-6245-40" + WIRELESSCHANNEL1__6G_61_6255_20 WirelessChannel1 = "6g-61-6255-20" + WIRELESSCHANNEL1__6G_65_6275_20 WirelessChannel1 = "6g-65-6275-20" + WIRELESSCHANNEL1__6G_67_6285_40 WirelessChannel1 = "6g-67-6285-40" + WIRELESSCHANNEL1__6G_69_6295_20 WirelessChannel1 = "6g-69-6295-20" + WIRELESSCHANNEL1__6G_71_6305_80 WirelessChannel1 = "6g-71-6305-80" + WIRELESSCHANNEL1__6G_73_6315_20 WirelessChannel1 = "6g-73-6315-20" + WIRELESSCHANNEL1__6G_75_6325_40 WirelessChannel1 = "6g-75-6325-40" + WIRELESSCHANNEL1__6G_77_6335_20 WirelessChannel1 = "6g-77-6335-20" + WIRELESSCHANNEL1__6G_79_6345_160 WirelessChannel1 = "6g-79-6345-160" + WIRELESSCHANNEL1__6G_81_6355_20 WirelessChannel1 = "6g-81-6355-20" + WIRELESSCHANNEL1__6G_83_6365_40 WirelessChannel1 = "6g-83-6365-40" + WIRELESSCHANNEL1__6G_85_6375_20 WirelessChannel1 = "6g-85-6375-20" + WIRELESSCHANNEL1__6G_87_6385_80 WirelessChannel1 = "6g-87-6385-80" + WIRELESSCHANNEL1__6G_89_6395_20 WirelessChannel1 = "6g-89-6395-20" + WIRELESSCHANNEL1__6G_91_6405_40 WirelessChannel1 = "6g-91-6405-40" + WIRELESSCHANNEL1__6G_93_6415_20 WirelessChannel1 = "6g-93-6415-20" + WIRELESSCHANNEL1__6G_95_6425_320 WirelessChannel1 = "6g-95-6425-320" + WIRELESSCHANNEL1__6G_97_6435_20 WirelessChannel1 = "6g-97-6435-20" + WIRELESSCHANNEL1__6G_99_6445_40 WirelessChannel1 = "6g-99-6445-40" + WIRELESSCHANNEL1__6G_101_6455_20 WirelessChannel1 = "6g-101-6455-20" + WIRELESSCHANNEL1__6G_103_6465_80 WirelessChannel1 = "6g-103-6465-80" + WIRELESSCHANNEL1__6G_105_6475_20 WirelessChannel1 = "6g-105-6475-20" + WIRELESSCHANNEL1__6G_107_6485_40 WirelessChannel1 = "6g-107-6485-40" + WIRELESSCHANNEL1__6G_109_6495_20 WirelessChannel1 = "6g-109-6495-20" + WIRELESSCHANNEL1__6G_111_6505_160 WirelessChannel1 = "6g-111-6505-160" + WIRELESSCHANNEL1__6G_113_6515_20 WirelessChannel1 = "6g-113-6515-20" + WIRELESSCHANNEL1__6G_115_6525_40 WirelessChannel1 = "6g-115-6525-40" + WIRELESSCHANNEL1__6G_117_6535_20 WirelessChannel1 = "6g-117-6535-20" + WIRELESSCHANNEL1__6G_119_6545_80 WirelessChannel1 = "6g-119-6545-80" + WIRELESSCHANNEL1__6G_121_6555_20 WirelessChannel1 = "6g-121-6555-20" + WIRELESSCHANNEL1__6G_123_6565_40 WirelessChannel1 = "6g-123-6565-40" + WIRELESSCHANNEL1__6G_125_6575_20 WirelessChannel1 = "6g-125-6575-20" + WIRELESSCHANNEL1__6G_129_6595_20 WirelessChannel1 = "6g-129-6595-20" + WIRELESSCHANNEL1__6G_131_6605_40 WirelessChannel1 = "6g-131-6605-40" + WIRELESSCHANNEL1__6G_133_6615_20 WirelessChannel1 = "6g-133-6615-20" + WIRELESSCHANNEL1__6G_135_6625_80 WirelessChannel1 = "6g-135-6625-80" + WIRELESSCHANNEL1__6G_137_6635_20 WirelessChannel1 = "6g-137-6635-20" + WIRELESSCHANNEL1__6G_139_6645_40 WirelessChannel1 = "6g-139-6645-40" + WIRELESSCHANNEL1__6G_141_6655_20 WirelessChannel1 = "6g-141-6655-20" + WIRELESSCHANNEL1__6G_143_6665_160 WirelessChannel1 = "6g-143-6665-160" + WIRELESSCHANNEL1__6G_145_6675_20 WirelessChannel1 = "6g-145-6675-20" + WIRELESSCHANNEL1__6G_147_6685_40 WirelessChannel1 = "6g-147-6685-40" + WIRELESSCHANNEL1__6G_149_6695_20 WirelessChannel1 = "6g-149-6695-20" + WIRELESSCHANNEL1__6G_151_6705_80 WirelessChannel1 = "6g-151-6705-80" + WIRELESSCHANNEL1__6G_153_6715_20 WirelessChannel1 = "6g-153-6715-20" + WIRELESSCHANNEL1__6G_155_6725_40 WirelessChannel1 = "6g-155-6725-40" + WIRELESSCHANNEL1__6G_157_6735_20 WirelessChannel1 = "6g-157-6735-20" + WIRELESSCHANNEL1__6G_159_6745_320 WirelessChannel1 = "6g-159-6745-320" + WIRELESSCHANNEL1__6G_161_6755_20 WirelessChannel1 = "6g-161-6755-20" + WIRELESSCHANNEL1__6G_163_6765_40 WirelessChannel1 = "6g-163-6765-40" + WIRELESSCHANNEL1__6G_165_6775_20 WirelessChannel1 = "6g-165-6775-20" + WIRELESSCHANNEL1__6G_167_6785_80 WirelessChannel1 = "6g-167-6785-80" + WIRELESSCHANNEL1__6G_169_6795_20 WirelessChannel1 = "6g-169-6795-20" + WIRELESSCHANNEL1__6G_171_6805_40 WirelessChannel1 = "6g-171-6805-40" + WIRELESSCHANNEL1__6G_173_6815_20 WirelessChannel1 = "6g-173-6815-20" + WIRELESSCHANNEL1__6G_175_6825_160 WirelessChannel1 = "6g-175-6825-160" + WIRELESSCHANNEL1__6G_177_6835_20 WirelessChannel1 = "6g-177-6835-20" + WIRELESSCHANNEL1__6G_179_6845_40 WirelessChannel1 = "6g-179-6845-40" + WIRELESSCHANNEL1__6G_181_6855_20 WirelessChannel1 = "6g-181-6855-20" + WIRELESSCHANNEL1__6G_183_6865_80 WirelessChannel1 = "6g-183-6865-80" + WIRELESSCHANNEL1__6G_185_6875_20 WirelessChannel1 = "6g-185-6875-20" + WIRELESSCHANNEL1__6G_187_6885_40 WirelessChannel1 = "6g-187-6885-40" + WIRELESSCHANNEL1__6G_189_6895_20 WirelessChannel1 = "6g-189-6895-20" + WIRELESSCHANNEL1__6G_193_6915_20 WirelessChannel1 = "6g-193-6915-20" + WIRELESSCHANNEL1__6G_195_6925_40 WirelessChannel1 = "6g-195-6925-40" + WIRELESSCHANNEL1__6G_197_6935_20 WirelessChannel1 = "6g-197-6935-20" + WIRELESSCHANNEL1__6G_199_6945_80 WirelessChannel1 = "6g-199-6945-80" + WIRELESSCHANNEL1__6G_201_6955_20 WirelessChannel1 = "6g-201-6955-20" + WIRELESSCHANNEL1__6G_203_6965_40 WirelessChannel1 = "6g-203-6965-40" + WIRELESSCHANNEL1__6G_205_6975_20 WirelessChannel1 = "6g-205-6975-20" + WIRELESSCHANNEL1__6G_207_6985_160 WirelessChannel1 = "6g-207-6985-160" + WIRELESSCHANNEL1__6G_209_6995_20 WirelessChannel1 = "6g-209-6995-20" + WIRELESSCHANNEL1__6G_211_7005_40 WirelessChannel1 = "6g-211-7005-40" + WIRELESSCHANNEL1__6G_213_7015_20 WirelessChannel1 = "6g-213-7015-20" + WIRELESSCHANNEL1__6G_215_7025_80 WirelessChannel1 = "6g-215-7025-80" + WIRELESSCHANNEL1__6G_217_7035_20 WirelessChannel1 = "6g-217-7035-20" + WIRELESSCHANNEL1__6G_219_7045_40 WirelessChannel1 = "6g-219-7045-40" + WIRELESSCHANNEL1__6G_221_7055_20 WirelessChannel1 = "6g-221-7055-20" + WIRELESSCHANNEL1__6G_225_7075_20 WirelessChannel1 = "6g-225-7075-20" + WIRELESSCHANNEL1__6G_227_7085_40 WirelessChannel1 = "6g-227-7085-40" + WIRELESSCHANNEL1__6G_229_7095_20 WirelessChannel1 = "6g-229-7095-20" + WIRELESSCHANNEL1__6G_233_7115_20 WirelessChannel1 = "6g-233-7115-20" + WIRELESSCHANNEL1__60G_1_58320_2160 WirelessChannel1 = "60g-1-58320-2160" + WIRELESSCHANNEL1__60G_2_60480_2160 WirelessChannel1 = "60g-2-60480-2160" + WIRELESSCHANNEL1__60G_3_62640_2160 WirelessChannel1 = "60g-3-62640-2160" + WIRELESSCHANNEL1__60G_4_64800_2160 WirelessChannel1 = "60g-4-64800-2160" + WIRELESSCHANNEL1__60G_5_66960_2160 WirelessChannel1 = "60g-5-66960-2160" + WIRELESSCHANNEL1__60G_6_69120_2160 WirelessChannel1 = "60g-6-69120-2160" + WIRELESSCHANNEL1__60G_9_59400_4320 WirelessChannel1 = "60g-9-59400-4320" + WIRELESSCHANNEL1__60G_10_61560_4320 WirelessChannel1 = "60g-10-61560-4320" + WIRELESSCHANNEL1__60G_11_63720_4320 WirelessChannel1 = "60g-11-63720-4320" + WIRELESSCHANNEL1__60G_12_65880_4320 WirelessChannel1 = "60g-12-65880-4320" + WIRELESSCHANNEL1__60G_13_68040_4320 WirelessChannel1 = "60g-13-68040-4320" + WIRELESSCHANNEL1__60G_17_60480_6480 WirelessChannel1 = "60g-17-60480-6480" + WIRELESSCHANNEL1__60G_18_62640_6480 WirelessChannel1 = "60g-18-62640-6480" + WIRELESSCHANNEL1__60G_19_64800_6480 WirelessChannel1 = "60g-19-64800-6480" + WIRELESSCHANNEL1__60G_20_66960_6480 WirelessChannel1 = "60g-20-66960-6480" + WIRELESSCHANNEL1__60G_25_61560_6480 WirelessChannel1 = "60g-25-61560-6480" + WIRELESSCHANNEL1__60G_26_63720_6480 WirelessChannel1 = "60g-26-63720-6480" + WIRELESSCHANNEL1__60G_27_65880_6480 WirelessChannel1 = "60g-27-65880-6480" + WIRELESSCHANNEL1_EMPTY WirelessChannel1 = "" +) + +// All allowed values of WirelessChannel1 enum +var AllowedWirelessChannel1EnumValues = []WirelessChannel1{ + "2.4g-1-2412-22", + "2.4g-2-2417-22", + "2.4g-3-2422-22", + "2.4g-4-2427-22", + "2.4g-5-2432-22", + "2.4g-6-2437-22", + "2.4g-7-2442-22", + "2.4g-8-2447-22", + "2.4g-9-2452-22", + "2.4g-10-2457-22", + "2.4g-11-2462-22", + "2.4g-12-2467-22", + "2.4g-13-2472-22", + "5g-32-5160-20", + "5g-34-5170-40", + "5g-36-5180-20", + "5g-38-5190-40", + "5g-40-5200-20", + "5g-42-5210-80", + "5g-44-5220-20", + "5g-46-5230-40", + "5g-48-5240-20", + "5g-50-5250-160", + "5g-52-5260-20", + "5g-54-5270-40", + "5g-56-5280-20", + "5g-58-5290-80", + "5g-60-5300-20", + "5g-62-5310-40", + "5g-64-5320-20", + "5g-100-5500-20", + "5g-102-5510-40", + "5g-104-5520-20", + "5g-106-5530-80", + "5g-108-5540-20", + "5g-110-5550-40", + "5g-112-5560-20", + "5g-114-5570-160", + "5g-116-5580-20", + "5g-118-5590-40", + "5g-120-5600-20", + "5g-122-5610-80", + "5g-124-5620-20", + "5g-126-5630-40", + "5g-128-5640-20", + "5g-132-5660-20", + "5g-134-5670-40", + "5g-136-5680-20", + "5g-138-5690-80", + "5g-140-5700-20", + "5g-142-5710-40", + "5g-144-5720-20", + "5g-149-5745-20", + "5g-151-5755-40", + "5g-153-5765-20", + "5g-155-5775-80", + "5g-157-5785-20", + "5g-159-5795-40", + "5g-161-5805-20", + "5g-163-5815-160", + "5g-165-5825-20", + "5g-167-5835-40", + "5g-169-5845-20", + "5g-171-5855-80", + "5g-173-5865-20", + "5g-175-5875-40", + "5g-177-5885-20", + "6g-1-5955-20", + "6g-3-5965-40", + "6g-5-5975-20", + "6g-7-5985-80", + "6g-9-5995-20", + "6g-11-6005-40", + "6g-13-6015-20", + "6g-15-6025-160", + "6g-17-6035-20", + "6g-19-6045-40", + "6g-21-6055-20", + "6g-23-6065-80", + "6g-25-6075-20", + "6g-27-6085-40", + "6g-29-6095-20", + "6g-31-6105-320", + "6g-33-6115-20", + "6g-35-6125-40", + "6g-37-6135-20", + "6g-39-6145-80", + "6g-41-6155-20", + "6g-43-6165-40", + "6g-45-6175-20", + "6g-47-6185-160", + "6g-49-6195-20", + "6g-51-6205-40", + "6g-53-6215-20", + "6g-55-6225-80", + "6g-57-6235-20", + "6g-59-6245-40", + "6g-61-6255-20", + "6g-65-6275-20", + "6g-67-6285-40", + "6g-69-6295-20", + "6g-71-6305-80", + "6g-73-6315-20", + "6g-75-6325-40", + "6g-77-6335-20", + "6g-79-6345-160", + "6g-81-6355-20", + "6g-83-6365-40", + "6g-85-6375-20", + "6g-87-6385-80", + "6g-89-6395-20", + "6g-91-6405-40", + "6g-93-6415-20", + "6g-95-6425-320", + "6g-97-6435-20", + "6g-99-6445-40", + "6g-101-6455-20", + "6g-103-6465-80", + "6g-105-6475-20", + "6g-107-6485-40", + "6g-109-6495-20", + "6g-111-6505-160", + "6g-113-6515-20", + "6g-115-6525-40", + "6g-117-6535-20", + "6g-119-6545-80", + "6g-121-6555-20", + "6g-123-6565-40", + "6g-125-6575-20", + "6g-129-6595-20", + "6g-131-6605-40", + "6g-133-6615-20", + "6g-135-6625-80", + "6g-137-6635-20", + "6g-139-6645-40", + "6g-141-6655-20", + "6g-143-6665-160", + "6g-145-6675-20", + "6g-147-6685-40", + "6g-149-6695-20", + "6g-151-6705-80", + "6g-153-6715-20", + "6g-155-6725-40", + "6g-157-6735-20", + "6g-159-6745-320", + "6g-161-6755-20", + "6g-163-6765-40", + "6g-165-6775-20", + "6g-167-6785-80", + "6g-169-6795-20", + "6g-171-6805-40", + "6g-173-6815-20", + "6g-175-6825-160", + "6g-177-6835-20", + "6g-179-6845-40", + "6g-181-6855-20", + "6g-183-6865-80", + "6g-185-6875-20", + "6g-187-6885-40", + "6g-189-6895-20", + "6g-193-6915-20", + "6g-195-6925-40", + "6g-197-6935-20", + "6g-199-6945-80", + "6g-201-6955-20", + "6g-203-6965-40", + "6g-205-6975-20", + "6g-207-6985-160", + "6g-209-6995-20", + "6g-211-7005-40", + "6g-213-7015-20", + "6g-215-7025-80", + "6g-217-7035-20", + "6g-219-7045-40", + "6g-221-7055-20", + "6g-225-7075-20", + "6g-227-7085-40", + "6g-229-7095-20", + "6g-233-7115-20", + "60g-1-58320-2160", + "60g-2-60480-2160", + "60g-3-62640-2160", + "60g-4-64800-2160", + "60g-5-66960-2160", + "60g-6-69120-2160", + "60g-9-59400-4320", + "60g-10-61560-4320", + "60g-11-63720-4320", + "60g-12-65880-4320", + "60g-13-68040-4320", + "60g-17-60480-6480", + "60g-18-62640-6480", + "60g-19-64800-6480", + "60g-20-66960-6480", + "60g-25-61560-6480", + "60g-26-63720-6480", + "60g-27-65880-6480", + "", +} + +func (v *WirelessChannel1) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := WirelessChannel1(value) + for _, existing := range AllowedWirelessChannel1EnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid WirelessChannel1", value) +} + +// NewWirelessChannel1FromValue returns a pointer to a valid WirelessChannel1 +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewWirelessChannel1FromValue(v string) (*WirelessChannel1, error) { + ev := WirelessChannel1(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for WirelessChannel1: valid values are %v", v, AllowedWirelessChannel1EnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v WirelessChannel1) IsValid() bool { + for _, existing := range AllowedWirelessChannel1EnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to Wireless_channel_1 value +func (v WirelessChannel1) Ptr() *WirelessChannel1 { + return &v +} + +type NullableWirelessChannel1 struct { + value *WirelessChannel1 + isSet bool +} + +func (v NullableWirelessChannel1) Get() *WirelessChannel1 { + return v.value +} + +func (v *NullableWirelessChannel1) Set(val *WirelessChannel1) { + v.value = val + v.isSet = true +} + +func (v NullableWirelessChannel1) IsSet() bool { + return v.isSet +} + +func (v *NullableWirelessChannel1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWirelessChannel1(val *WirelessChannel1) *NullableWirelessChannel1 { + return &NullableWirelessChannel1{value: val, isSet: true} +} + +func (v NullableWirelessChannel1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWirelessChannel1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_wireless_lan.go b/model_wireless_lan.go index 4825664b8..ef0954a8e 100644 --- a/model_wireless_lan.go +++ b/model_wireless_lan.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,23 +21,24 @@ var _ MappedNullable = &WirelessLAN{} // WirelessLAN Adds support for custom fields and tags. type WirelessLAN struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - Ssid string `json:"ssid"` - Description *string `json:"description,omitempty"` - Group NullableWirelessLANGroup `json:"group,omitempty"` - Status *WirelessLANStatus `json:"status,omitempty"` - Vlan NullableVLAN `json:"vlan,omitempty"` - Tenant NullableTenant `json:"tenant,omitempty"` - AuthType *WirelessLANAuthType `json:"auth_type,omitempty"` - AuthCipher *WirelessLANAuthCipher `json:"auth_cipher,omitempty"` - AuthPsk *string `json:"auth_psk,omitempty"` - Comments *string `json:"comments,omitempty"` - Tags []NestedTag `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` - Created NullableTime `json:"created"` - LastUpdated NullableTime `json:"last_updated"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Ssid string `json:"ssid"` + Description *string `json:"description,omitempty"` + Group NullableBriefWirelessLANGroup `json:"group,omitempty"` + Status *WirelessLANStatus `json:"status,omitempty"` + Vlan NullableBriefVLAN `json:"vlan,omitempty"` + Tenant NullableBriefTenant `json:"tenant,omitempty"` + AuthType *WirelessLANAuthType `json:"auth_type,omitempty"` + AuthCipher *WirelessLANAuthCipher `json:"auth_cipher,omitempty"` + AuthPsk *string `json:"auth_psk,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTag `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Created NullableTime `json:"created"` + LastUpdated NullableTime `json:"last_updated"` AdditionalProperties map[string]interface{} } @@ -114,6 +115,38 @@ func (o *WirelessLAN) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *WirelessLAN) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WirelessLAN) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *WirelessLAN) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *WirelessLAN) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *WirelessLAN) GetDisplay() string { if o == nil { @@ -195,9 +228,9 @@ func (o *WirelessLAN) SetDescription(v string) { } // GetGroup returns the Group field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WirelessLAN) GetGroup() WirelessLANGroup { +func (o *WirelessLAN) GetGroup() BriefWirelessLANGroup { if o == nil || IsNil(o.Group.Get()) { - var ret WirelessLANGroup + var ret BriefWirelessLANGroup return ret } return *o.Group.Get() @@ -206,7 +239,7 @@ func (o *WirelessLAN) GetGroup() WirelessLANGroup { // GetGroupOk returns a tuple with the Group 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 *WirelessLAN) GetGroupOk() (*WirelessLANGroup, bool) { +func (o *WirelessLAN) GetGroupOk() (*BriefWirelessLANGroup, bool) { if o == nil { return nil, false } @@ -222,8 +255,8 @@ func (o *WirelessLAN) HasGroup() bool { return false } -// SetGroup gets a reference to the given NullableWirelessLANGroup and assigns it to the Group field. -func (o *WirelessLAN) SetGroup(v WirelessLANGroup) { +// SetGroup gets a reference to the given NullableBriefWirelessLANGroup and assigns it to the Group field. +func (o *WirelessLAN) SetGroup(v BriefWirelessLANGroup) { o.Group.Set(&v) } @@ -270,9 +303,9 @@ func (o *WirelessLAN) SetStatus(v WirelessLANStatus) { } // GetVlan returns the Vlan field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WirelessLAN) GetVlan() VLAN { +func (o *WirelessLAN) GetVlan() BriefVLAN { if o == nil || IsNil(o.Vlan.Get()) { - var ret VLAN + var ret BriefVLAN return ret } return *o.Vlan.Get() @@ -281,7 +314,7 @@ func (o *WirelessLAN) GetVlan() VLAN { // 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 *WirelessLAN) GetVlanOk() (*VLAN, bool) { +func (o *WirelessLAN) GetVlanOk() (*BriefVLAN, bool) { if o == nil { return nil, false } @@ -297,8 +330,8 @@ func (o *WirelessLAN) HasVlan() bool { return false } -// SetVlan gets a reference to the given NullableVLAN and assigns it to the Vlan field. -func (o *WirelessLAN) SetVlan(v VLAN) { +// SetVlan gets a reference to the given NullableBriefVLAN and assigns it to the Vlan field. +func (o *WirelessLAN) SetVlan(v BriefVLAN) { o.Vlan.Set(&v) } @@ -313,9 +346,9 @@ func (o *WirelessLAN) UnsetVlan() { } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WirelessLAN) GetTenant() Tenant { +func (o *WirelessLAN) GetTenant() BriefTenant { if o == nil || IsNil(o.Tenant.Get()) { - var ret Tenant + var ret BriefTenant return ret } return *o.Tenant.Get() @@ -324,7 +357,7 @@ func (o *WirelessLAN) GetTenant() Tenant { // 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 *WirelessLAN) GetTenantOk() (*Tenant, bool) { +func (o *WirelessLAN) GetTenantOk() (*BriefTenant, bool) { if o == nil { return nil, false } @@ -340,8 +373,8 @@ func (o *WirelessLAN) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenant and assigns it to the Tenant field. -func (o *WirelessLAN) SetTenant(v Tenant) { +// SetTenant gets a reference to the given NullableBriefTenant and assigns it to the Tenant field. +func (o *WirelessLAN) SetTenant(v BriefTenant) { o.Tenant.Set(&v) } @@ -611,6 +644,9 @@ func (o WirelessLAN) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["ssid"] = o.Ssid if !IsNil(o.Description) { @@ -698,6 +734,7 @@ func (o *WirelessLAN) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "ssid") delete(additionalProperties, "description") diff --git a/model_wireless_lan_auth_cipher.go b/model_wireless_lan_auth_cipher.go index 7edf6beb1..13e0d0ede 100644 --- a/model_wireless_lan_auth_cipher.go +++ b/model_wireless_lan_auth_cipher.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_wireless_lan_auth_cipher_label.go b/model_wireless_lan_auth_cipher_label.go index 212607db6..8a35796cf 100644 --- a/model_wireless_lan_auth_cipher_label.go +++ b/model_wireless_lan_auth_cipher_label.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_wireless_lan_auth_cipher_value.go b/model_wireless_lan_auth_cipher_value.go index e601548bd..bcd005982 100644 --- a/model_wireless_lan_auth_cipher_value.go +++ b/model_wireless_lan_auth_cipher_value.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_wireless_lan_auth_type.go b/model_wireless_lan_auth_type.go index 5d67cd317..a550566ff 100644 --- a/model_wireless_lan_auth_type.go +++ b/model_wireless_lan_auth_type.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_wireless_lan_auth_type_label.go b/model_wireless_lan_auth_type_label.go index 3a804f5bc..efd90ec88 100644 --- a/model_wireless_lan_auth_type_label.go +++ b/model_wireless_lan_auth_type_label.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_wireless_lan_auth_type_value.go b/model_wireless_lan_auth_type_value.go index aa1b05122..78b89179a 100644 --- a/model_wireless_lan_auth_type_value.go +++ b/model_wireless_lan_auth_type_value.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_wireless_lan_group.go b/model_wireless_lan_group.go index ca2ffb94f..407c5c404 100644 --- a/model_wireless_lan_group.go +++ b/model_wireless_lan_group.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -13,6 +13,7 @@ package netbox import ( "encoding/json" "fmt" + "time" ) // checks if the WirelessLANGroup type satisfies the MappedNullable interface at compile time @@ -20,14 +21,20 @@ var _ MappedNullable = &WirelessLANGroup{} // WirelessLANGroup Extends PrimaryModelSerializer to include MPTT support. type WirelessLANGroup struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - Name string `json:"name"` - Slug string `json:"slug"` - Description *string `json:"description,omitempty"` - WirelesslanCount int32 `json:"wirelesslan_count"` - Depth int32 `json:"_depth"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + Name string `json:"name"` + Slug string `json:"slug"` + Parent NullableNestedWirelessLANGroup `json:"parent,omitempty"` + Description *string `json:"description,omitempty"` + Tags []NestedTag `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Created NullableTime `json:"created"` + LastUpdated NullableTime `json:"last_updated"` + WirelesslanCount int32 `json:"wirelesslan_count"` + Depth int32 `json:"_depth"` AdditionalProperties map[string]interface{} } @@ -37,13 +44,15 @@ type _WirelessLANGroup WirelessLANGroup // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewWirelessLANGroup(id int32, url string, display string, name string, slug string, wirelesslanCount int32, depth int32) *WirelessLANGroup { +func NewWirelessLANGroup(id int32, url string, display string, name string, slug string, created NullableTime, lastUpdated NullableTime, wirelesslanCount int32, depth int32) *WirelessLANGroup { this := WirelessLANGroup{} this.Id = id this.Url = url this.Display = display this.Name = name this.Slug = slug + this.Created = created + this.LastUpdated = lastUpdated this.WirelesslanCount = wirelesslanCount this.Depth = depth return &this @@ -105,6 +114,38 @@ func (o *WirelessLANGroup) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *WirelessLANGroup) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WirelessLANGroup) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *WirelessLANGroup) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *WirelessLANGroup) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *WirelessLANGroup) GetDisplay() string { if o == nil { @@ -177,6 +218,49 @@ func (o *WirelessLANGroup) SetSlug(v string) { o.Slug = v } +// GetParent returns the Parent field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *WirelessLANGroup) GetParent() NestedWirelessLANGroup { + if o == nil || IsNil(o.Parent.Get()) { + var ret NestedWirelessLANGroup + return ret + } + return *o.Parent.Get() +} + +// GetParentOk returns a tuple with the Parent 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 *WirelessLANGroup) GetParentOk() (*NestedWirelessLANGroup, bool) { + if o == nil { + return nil, false + } + return o.Parent.Get(), o.Parent.IsSet() +} + +// HasParent returns a boolean if a field has been set. +func (o *WirelessLANGroup) HasParent() bool { + if o != nil && o.Parent.IsSet() { + return true + } + + return false +} + +// SetParent gets a reference to the given NullableNestedWirelessLANGroup and assigns it to the Parent field. +func (o *WirelessLANGroup) SetParent(v NestedWirelessLANGroup) { + o.Parent.Set(&v) +} + +// SetParentNil sets the value for Parent to be an explicit nil +func (o *WirelessLANGroup) SetParentNil() { + o.Parent.Set(nil) +} + +// UnsetParent ensures that no value is present for Parent, not even an explicit nil +func (o *WirelessLANGroup) UnsetParent() { + o.Parent.Unset() +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *WirelessLANGroup) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -209,6 +293,122 @@ func (o *WirelessLANGroup) SetDescription(v string) { o.Description = &v } +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *WirelessLANGroup) GetTags() []NestedTag { + if o == nil || IsNil(o.Tags) { + var ret []NestedTag + 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 *WirelessLANGroup) GetTagsOk() ([]NestedTag, 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 *WirelessLANGroup) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTag and assigns it to the Tags field. +func (o *WirelessLANGroup) SetTags(v []NestedTag) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *WirelessLANGroup) 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 *WirelessLANGroup) 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 *WirelessLANGroup) 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 *WirelessLANGroup) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +// GetCreated returns the Created field value +// If the value is explicit nil, the zero value for time.Time will be returned +func (o *WirelessLANGroup) 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 *WirelessLANGroup) GetCreatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.Created.Get(), o.Created.IsSet() +} + +// SetCreated sets field value +func (o *WirelessLANGroup) 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 *WirelessLANGroup) 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 *WirelessLANGroup) GetLastUpdatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LastUpdated.Get(), o.LastUpdated.IsSet() +} + +// SetLastUpdated sets field value +func (o *WirelessLANGroup) SetLastUpdated(v time.Time) { + o.LastUpdated.Set(&v) +} + // GetWirelesslanCount returns the WirelesslanCount field value func (o *WirelessLANGroup) GetWirelesslanCount() int32 { if o == nil { @@ -269,12 +469,26 @@ func (o WirelessLANGroup) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["name"] = o.Name toSerialize["slug"] = o.Slug + if o.Parent.IsSet() { + toSerialize["parent"] = o.Parent.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 + } + toSerialize["created"] = o.Created.Get() + toSerialize["last_updated"] = o.LastUpdated.Get() toSerialize["wirelesslan_count"] = o.WirelesslanCount toSerialize["_depth"] = o.Depth @@ -295,6 +509,8 @@ func (o *WirelessLANGroup) UnmarshalJSON(data []byte) (err error) { "display", "name", "slug", + "created", + "last_updated", "wirelesslan_count", "_depth", } @@ -328,10 +544,16 @@ func (o *WirelessLANGroup) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "name") delete(additionalProperties, "slug") + delete(additionalProperties, "parent") delete(additionalProperties, "description") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") + delete(additionalProperties, "created") + delete(additionalProperties, "last_updated") delete(additionalProperties, "wirelesslan_count") delete(additionalProperties, "_depth") o.AdditionalProperties = additionalProperties diff --git a/model_wireless_lan_group_request.go b/model_wireless_lan_group_request.go index 7063e6d87..d14b844b1 100644 --- a/model_wireless_lan_group_request.go +++ b/model_wireless_lan_group_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_wireless_lan_request.go b/model_wireless_lan_request.go index f2ac3edde..31ea478ae 100644 --- a/model_wireless_lan_request.go +++ b/model_wireless_lan_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,18 +20,18 @@ var _ MappedNullable = &WirelessLANRequest{} // WirelessLANRequest Adds support for custom fields and tags. type WirelessLANRequest struct { - Ssid string `json:"ssid"` - Description *string `json:"description,omitempty"` - Group NullableWirelessLANGroupRequest `json:"group,omitempty"` - Status *WirelessLANStatusValue `json:"status,omitempty"` - Vlan NullableVLANRequest `json:"vlan,omitempty"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` - AuthType *WirelessLANAuthTypeValue `json:"auth_type,omitempty"` - AuthCipher *WirelessLANAuthCipherValue `json:"auth_cipher,omitempty"` - AuthPsk *string `json:"auth_psk,omitempty"` - Comments *string `json:"comments,omitempty"` - Tags []NestedTagRequest `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Ssid string `json:"ssid"` + Description *string `json:"description,omitempty"` + Group NullableBriefWirelessLANGroupRequest `json:"group,omitempty"` + Status *WirelessLANStatusValue `json:"status,omitempty"` + Vlan NullableBriefVLANRequest `json:"vlan,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` + AuthType *WirelessLANAuthTypeValue `json:"auth_type,omitempty"` + AuthCipher *WirelessLANAuthCipherValue `json:"auth_cipher,omitempty"` + AuthPsk *string `json:"auth_psk,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -112,9 +112,9 @@ func (o *WirelessLANRequest) SetDescription(v string) { } // GetGroup returns the Group field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WirelessLANRequest) GetGroup() WirelessLANGroupRequest { +func (o *WirelessLANRequest) GetGroup() BriefWirelessLANGroupRequest { if o == nil || IsNil(o.Group.Get()) { - var ret WirelessLANGroupRequest + var ret BriefWirelessLANGroupRequest return ret } return *o.Group.Get() @@ -123,7 +123,7 @@ func (o *WirelessLANRequest) GetGroup() WirelessLANGroupRequest { // GetGroupOk returns a tuple with the Group 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 *WirelessLANRequest) GetGroupOk() (*WirelessLANGroupRequest, bool) { +func (o *WirelessLANRequest) GetGroupOk() (*BriefWirelessLANGroupRequest, bool) { if o == nil { return nil, false } @@ -139,8 +139,8 @@ func (o *WirelessLANRequest) HasGroup() bool { return false } -// SetGroup gets a reference to the given NullableWirelessLANGroupRequest and assigns it to the Group field. -func (o *WirelessLANRequest) SetGroup(v WirelessLANGroupRequest) { +// SetGroup gets a reference to the given NullableBriefWirelessLANGroupRequest and assigns it to the Group field. +func (o *WirelessLANRequest) SetGroup(v BriefWirelessLANGroupRequest) { o.Group.Set(&v) } @@ -187,9 +187,9 @@ func (o *WirelessLANRequest) SetStatus(v WirelessLANStatusValue) { } // GetVlan returns the Vlan field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WirelessLANRequest) GetVlan() VLANRequest { +func (o *WirelessLANRequest) GetVlan() BriefVLANRequest { if o == nil || IsNil(o.Vlan.Get()) { - var ret VLANRequest + var ret BriefVLANRequest return ret } return *o.Vlan.Get() @@ -198,7 +198,7 @@ func (o *WirelessLANRequest) GetVlan() VLANRequest { // 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 *WirelessLANRequest) GetVlanOk() (*VLANRequest, bool) { +func (o *WirelessLANRequest) GetVlanOk() (*BriefVLANRequest, bool) { if o == nil { return nil, false } @@ -214,8 +214,8 @@ func (o *WirelessLANRequest) HasVlan() bool { return false } -// SetVlan gets a reference to the given NullableVLANRequest and assigns it to the Vlan field. -func (o *WirelessLANRequest) SetVlan(v VLANRequest) { +// SetVlan gets a reference to the given NullableBriefVLANRequest and assigns it to the Vlan field. +func (o *WirelessLANRequest) SetVlan(v BriefVLANRequest) { o.Vlan.Set(&v) } @@ -230,9 +230,9 @@ func (o *WirelessLANRequest) UnsetVlan() { } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WirelessLANRequest) GetTenant() TenantRequest { +func (o *WirelessLANRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -241,7 +241,7 @@ func (o *WirelessLANRequest) GetTenant() TenantRequest { // 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 *WirelessLANRequest) GetTenantOk() (*TenantRequest, bool) { +func (o *WirelessLANRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -257,8 +257,8 @@ func (o *WirelessLANRequest) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *WirelessLANRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *WirelessLANRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } diff --git a/model_wireless_lan_status.go b/model_wireless_lan_status.go index 0b14b4e12..bd9a465c2 100644 --- a/model_wireless_lan_status.go +++ b/model_wireless_lan_status.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_wireless_lan_status_label.go b/model_wireless_lan_status_label.go index 21057de6f..b9f568e07 100644 --- a/model_wireless_lan_status_label.go +++ b/model_wireless_lan_status_label.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_wireless_lan_status_value.go b/model_wireless_lan_status_value.go index ac9292d67..7dc7b3941 100644 --- a/model_wireless_lan_status_value.go +++ b/model_wireless_lan_status_value.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_wireless_link.go b/model_wireless_link.go index 8626318ea..8aa94f15e 100644 --- a/model_wireless_link.go +++ b/model_wireless_link.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,23 +21,26 @@ var _ MappedNullable = &WirelessLink{} // WirelessLink Adds support for custom fields and tags. type WirelessLink struct { - Id int32 `json:"id"` - Url string `json:"url"` - Display string `json:"display"` - InterfaceA Interface `json:"interface_a"` - InterfaceB Interface `json:"interface_b"` - Ssid *string `json:"ssid,omitempty"` - Status *WirelessLinkStatus `json:"status,omitempty"` - Tenant NullableTenant `json:"tenant,omitempty"` - AuthType *WirelessLANAuthType `json:"auth_type,omitempty"` - AuthCipher *WirelessLANAuthCipher `json:"auth_cipher,omitempty"` - AuthPsk *string `json:"auth_psk,omitempty"` - Description *string `json:"description,omitempty"` - Comments *string `json:"comments,omitempty"` - Tags []NestedTag `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` - Created NullableTime `json:"created"` - LastUpdated NullableTime `json:"last_updated"` + Id int32 `json:"id"` + Url string `json:"url"` + DisplayUrl *string `json:"display_url,omitempty"` + Display string `json:"display"` + InterfaceA BriefInterface `json:"interface_a"` + InterfaceB BriefInterface `json:"interface_b"` + Ssid *string `json:"ssid,omitempty"` + Status *CableStatus `json:"status,omitempty"` + Tenant NullableBriefTenant `json:"tenant,omitempty"` + AuthType *WirelessLANAuthType `json:"auth_type,omitempty"` + AuthCipher *WirelessLANAuthCipher `json:"auth_cipher,omitempty"` + AuthPsk *string `json:"auth_psk,omitempty"` + Distance NullableFloat64 `json:"distance,omitempty"` + DistanceUnit NullableWirelessLinkDistanceUnit `json:"distance_unit,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTag `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Created NullableTime `json:"created"` + LastUpdated NullableTime `json:"last_updated"` AdditionalProperties map[string]interface{} } @@ -47,7 +50,7 @@ type _WirelessLink WirelessLink // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewWirelessLink(id int32, url string, display string, interfaceA Interface, interfaceB Interface, created NullableTime, lastUpdated NullableTime) *WirelessLink { +func NewWirelessLink(id int32, url string, display string, interfaceA BriefInterface, interfaceB BriefInterface, created NullableTime, lastUpdated NullableTime) *WirelessLink { this := WirelessLink{} this.Id = id this.Url = url @@ -115,6 +118,38 @@ func (o *WirelessLink) SetUrl(v string) { o.Url = v } +// GetDisplayUrl returns the DisplayUrl field value if set, zero value otherwise. +func (o *WirelessLink) GetDisplayUrl() string { + if o == nil || IsNil(o.DisplayUrl) { + var ret string + return ret + } + return *o.DisplayUrl +} + +// GetDisplayUrlOk returns a tuple with the DisplayUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WirelessLink) GetDisplayUrlOk() (*string, bool) { + if o == nil || IsNil(o.DisplayUrl) { + return nil, false + } + return o.DisplayUrl, true +} + +// HasDisplayUrl returns a boolean if a field has been set. +func (o *WirelessLink) HasDisplayUrl() bool { + if o != nil && !IsNil(o.DisplayUrl) { + return true + } + + return false +} + +// SetDisplayUrl gets a reference to the given string and assigns it to the DisplayUrl field. +func (o *WirelessLink) SetDisplayUrl(v string) { + o.DisplayUrl = &v +} + // GetDisplay returns the Display field value func (o *WirelessLink) GetDisplay() string { if o == nil { @@ -140,9 +175,9 @@ func (o *WirelessLink) SetDisplay(v string) { } // GetInterfaceA returns the InterfaceA field value -func (o *WirelessLink) GetInterfaceA() Interface { +func (o *WirelessLink) GetInterfaceA() BriefInterface { if o == nil { - var ret Interface + var ret BriefInterface return ret } @@ -151,7 +186,7 @@ func (o *WirelessLink) GetInterfaceA() Interface { // GetInterfaceAOk returns a tuple with the InterfaceA field value // and a boolean to check if the value has been set. -func (o *WirelessLink) GetInterfaceAOk() (*Interface, bool) { +func (o *WirelessLink) GetInterfaceAOk() (*BriefInterface, bool) { if o == nil { return nil, false } @@ -159,14 +194,14 @@ func (o *WirelessLink) GetInterfaceAOk() (*Interface, bool) { } // SetInterfaceA sets field value -func (o *WirelessLink) SetInterfaceA(v Interface) { +func (o *WirelessLink) SetInterfaceA(v BriefInterface) { o.InterfaceA = v } // GetInterfaceB returns the InterfaceB field value -func (o *WirelessLink) GetInterfaceB() Interface { +func (o *WirelessLink) GetInterfaceB() BriefInterface { if o == nil { - var ret Interface + var ret BriefInterface return ret } @@ -175,7 +210,7 @@ func (o *WirelessLink) GetInterfaceB() Interface { // GetInterfaceBOk returns a tuple with the InterfaceB field value // and a boolean to check if the value has been set. -func (o *WirelessLink) GetInterfaceBOk() (*Interface, bool) { +func (o *WirelessLink) GetInterfaceBOk() (*BriefInterface, bool) { if o == nil { return nil, false } @@ -183,7 +218,7 @@ func (o *WirelessLink) GetInterfaceBOk() (*Interface, bool) { } // SetInterfaceB sets field value -func (o *WirelessLink) SetInterfaceB(v Interface) { +func (o *WirelessLink) SetInterfaceB(v BriefInterface) { o.InterfaceB = v } @@ -220,9 +255,9 @@ func (o *WirelessLink) SetSsid(v string) { } // GetStatus returns the Status field value if set, zero value otherwise. -func (o *WirelessLink) GetStatus() WirelessLinkStatus { +func (o *WirelessLink) GetStatus() CableStatus { if o == nil || IsNil(o.Status) { - var ret WirelessLinkStatus + var ret CableStatus return ret } return *o.Status @@ -230,7 +265,7 @@ func (o *WirelessLink) GetStatus() WirelessLinkStatus { // 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 *WirelessLink) GetStatusOk() (*WirelessLinkStatus, bool) { +func (o *WirelessLink) GetStatusOk() (*CableStatus, bool) { if o == nil || IsNil(o.Status) { return nil, false } @@ -246,15 +281,15 @@ func (o *WirelessLink) HasStatus() bool { return false } -// SetStatus gets a reference to the given WirelessLinkStatus and assigns it to the Status field. -func (o *WirelessLink) SetStatus(v WirelessLinkStatus) { +// SetStatus gets a reference to the given CableStatus and assigns it to the Status field. +func (o *WirelessLink) SetStatus(v CableStatus) { o.Status = &v } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WirelessLink) GetTenant() Tenant { +func (o *WirelessLink) GetTenant() BriefTenant { if o == nil || IsNil(o.Tenant.Get()) { - var ret Tenant + var ret BriefTenant return ret } return *o.Tenant.Get() @@ -263,7 +298,7 @@ func (o *WirelessLink) GetTenant() Tenant { // 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 *WirelessLink) GetTenantOk() (*Tenant, bool) { +func (o *WirelessLink) GetTenantOk() (*BriefTenant, bool) { if o == nil { return nil, false } @@ -279,8 +314,8 @@ func (o *WirelessLink) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenant and assigns it to the Tenant field. -func (o *WirelessLink) SetTenant(v Tenant) { +// SetTenant gets a reference to the given NullableBriefTenant and assigns it to the Tenant field. +func (o *WirelessLink) SetTenant(v BriefTenant) { o.Tenant.Set(&v) } @@ -390,6 +425,92 @@ func (o *WirelessLink) SetAuthPsk(v string) { o.AuthPsk = &v } +// GetDistance returns the Distance field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *WirelessLink) GetDistance() float64 { + if o == nil || IsNil(o.Distance.Get()) { + var ret float64 + return ret + } + return *o.Distance.Get() +} + +// GetDistanceOk returns a tuple with the Distance 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 *WirelessLink) GetDistanceOk() (*float64, bool) { + if o == nil { + return nil, false + } + return o.Distance.Get(), o.Distance.IsSet() +} + +// HasDistance returns a boolean if a field has been set. +func (o *WirelessLink) HasDistance() bool { + if o != nil && o.Distance.IsSet() { + return true + } + + return false +} + +// SetDistance gets a reference to the given NullableFloat64 and assigns it to the Distance field. +func (o *WirelessLink) SetDistance(v float64) { + o.Distance.Set(&v) +} + +// SetDistanceNil sets the value for Distance to be an explicit nil +func (o *WirelessLink) SetDistanceNil() { + o.Distance.Set(nil) +} + +// UnsetDistance ensures that no value is present for Distance, not even an explicit nil +func (o *WirelessLink) UnsetDistance() { + o.Distance.Unset() +} + +// GetDistanceUnit returns the DistanceUnit field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *WirelessLink) GetDistanceUnit() WirelessLinkDistanceUnit { + if o == nil || IsNil(o.DistanceUnit.Get()) { + var ret WirelessLinkDistanceUnit + return ret + } + return *o.DistanceUnit.Get() +} + +// GetDistanceUnitOk returns a tuple with the DistanceUnit 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 *WirelessLink) GetDistanceUnitOk() (*WirelessLinkDistanceUnit, bool) { + if o == nil { + return nil, false + } + return o.DistanceUnit.Get(), o.DistanceUnit.IsSet() +} + +// HasDistanceUnit returns a boolean if a field has been set. +func (o *WirelessLink) HasDistanceUnit() bool { + if o != nil && o.DistanceUnit.IsSet() { + return true + } + + return false +} + +// SetDistanceUnit gets a reference to the given NullableWirelessLinkDistanceUnit and assigns it to the DistanceUnit field. +func (o *WirelessLink) SetDistanceUnit(v WirelessLinkDistanceUnit) { + o.DistanceUnit.Set(&v) +} + +// SetDistanceUnitNil sets the value for DistanceUnit to be an explicit nil +func (o *WirelessLink) SetDistanceUnitNil() { + o.DistanceUnit.Set(nil) +} + +// UnsetDistanceUnit ensures that no value is present for DistanceUnit, not even an explicit nil +func (o *WirelessLink) UnsetDistanceUnit() { + o.DistanceUnit.Unset() +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *WirelessLink) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -582,6 +703,9 @@ func (o WirelessLink) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["id"] = o.Id toSerialize["url"] = o.Url + if !IsNil(o.DisplayUrl) { + toSerialize["display_url"] = o.DisplayUrl + } toSerialize["display"] = o.Display toSerialize["interface_a"] = o.InterfaceA toSerialize["interface_b"] = o.InterfaceB @@ -603,6 +727,12 @@ func (o WirelessLink) ToMap() (map[string]interface{}, error) { if !IsNil(o.AuthPsk) { toSerialize["auth_psk"] = o.AuthPsk } + if o.Distance.IsSet() { + toSerialize["distance"] = o.Distance.Get() + } + if o.DistanceUnit.IsSet() { + toSerialize["distance_unit"] = o.DistanceUnit.Get() + } if !IsNil(o.Description) { toSerialize["description"] = o.Description } @@ -668,6 +798,7 @@ func (o *WirelessLink) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "id") delete(additionalProperties, "url") + delete(additionalProperties, "display_url") delete(additionalProperties, "display") delete(additionalProperties, "interface_a") delete(additionalProperties, "interface_b") @@ -677,6 +808,8 @@ func (o *WirelessLink) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "auth_type") delete(additionalProperties, "auth_cipher") delete(additionalProperties, "auth_psk") + delete(additionalProperties, "distance") + delete(additionalProperties, "distance_unit") delete(additionalProperties, "description") delete(additionalProperties, "comments") delete(additionalProperties, "tags") diff --git a/model_wireless_link_distance_unit.go b/model_wireless_link_distance_unit.go new file mode 100644 index 000000000..52d01197c --- /dev/null +++ b/model_wireless_link_distance_unit.go @@ -0,0 +1,190 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" +) + +// checks if the WirelessLinkDistanceUnit type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &WirelessLinkDistanceUnit{} + +// WirelessLinkDistanceUnit struct for WirelessLinkDistanceUnit +type WirelessLinkDistanceUnit struct { + Value *PatchedWritableWirelessLinkRequestDistanceUnit `json:"value,omitempty"` + Label *WirelessLinkDistanceUnitLabel `json:"label,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _WirelessLinkDistanceUnit WirelessLinkDistanceUnit + +// NewWirelessLinkDistanceUnit instantiates a new WirelessLinkDistanceUnit object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWirelessLinkDistanceUnit() *WirelessLinkDistanceUnit { + this := WirelessLinkDistanceUnit{} + return &this +} + +// NewWirelessLinkDistanceUnitWithDefaults instantiates a new WirelessLinkDistanceUnit object +// This 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 NewWirelessLinkDistanceUnitWithDefaults() *WirelessLinkDistanceUnit { + this := WirelessLinkDistanceUnit{} + return &this +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *WirelessLinkDistanceUnit) GetValue() PatchedWritableWirelessLinkRequestDistanceUnit { + if o == nil || IsNil(o.Value) { + var ret PatchedWritableWirelessLinkRequestDistanceUnit + 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 *WirelessLinkDistanceUnit) GetValueOk() (*PatchedWritableWirelessLinkRequestDistanceUnit, 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 *WirelessLinkDistanceUnit) HasValue() bool { + if o != nil && !IsNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given PatchedWritableWirelessLinkRequestDistanceUnit and assigns it to the Value field. +func (o *WirelessLinkDistanceUnit) SetValue(v PatchedWritableWirelessLinkRequestDistanceUnit) { + o.Value = &v +} + +// GetLabel returns the Label field value if set, zero value otherwise. +func (o *WirelessLinkDistanceUnit) GetLabel() WirelessLinkDistanceUnitLabel { + if o == nil || IsNil(o.Label) { + var ret WirelessLinkDistanceUnitLabel + 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 *WirelessLinkDistanceUnit) GetLabelOk() (*WirelessLinkDistanceUnitLabel, 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 *WirelessLinkDistanceUnit) HasLabel() bool { + if o != nil && !IsNil(o.Label) { + return true + } + + return false +} + +// SetLabel gets a reference to the given WirelessLinkDistanceUnitLabel and assigns it to the Label field. +func (o *WirelessLinkDistanceUnit) SetLabel(v WirelessLinkDistanceUnitLabel) { + o.Label = &v +} + +func (o WirelessLinkDistanceUnit) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o WirelessLinkDistanceUnit) 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 *WirelessLinkDistanceUnit) UnmarshalJSON(data []byte) (err error) { + varWirelessLinkDistanceUnit := _WirelessLinkDistanceUnit{} + + err = json.Unmarshal(data, &varWirelessLinkDistanceUnit) + + if err != nil { + return err + } + + *o = WirelessLinkDistanceUnit(varWirelessLinkDistanceUnit) + + 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 NullableWirelessLinkDistanceUnit struct { + value *WirelessLinkDistanceUnit + isSet bool +} + +func (v NullableWirelessLinkDistanceUnit) Get() *WirelessLinkDistanceUnit { + return v.value +} + +func (v *NullableWirelessLinkDistanceUnit) Set(val *WirelessLinkDistanceUnit) { + v.value = val + v.isSet = true +} + +func (v NullableWirelessLinkDistanceUnit) IsSet() bool { + return v.isSet +} + +func (v *NullableWirelessLinkDistanceUnit) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWirelessLinkDistanceUnit(val *WirelessLinkDistanceUnit) *NullableWirelessLinkDistanceUnit { + return &NullableWirelessLinkDistanceUnit{value: val, isSet: true} +} + +func (v NullableWirelessLinkDistanceUnit) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWirelessLinkDistanceUnit) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_wireless_link_distance_unit_label.go b/model_wireless_link_distance_unit_label.go new file mode 100644 index 000000000..62d196de1 --- /dev/null +++ b/model_wireless_link_distance_unit_label.go @@ -0,0 +1,114 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// WirelessLinkDistanceUnitLabel the model 'WirelessLinkDistanceUnitLabel' +type WirelessLinkDistanceUnitLabel string + +// List of WirelessLink_distance_unit_label +const ( + WIRELESSLINKDISTANCEUNITLABEL_KILOMETERS WirelessLinkDistanceUnitLabel = "Kilometers" + WIRELESSLINKDISTANCEUNITLABEL_METERS WirelessLinkDistanceUnitLabel = "Meters" + WIRELESSLINKDISTANCEUNITLABEL_MILES WirelessLinkDistanceUnitLabel = "Miles" + WIRELESSLINKDISTANCEUNITLABEL_FEET WirelessLinkDistanceUnitLabel = "Feet" +) + +// All allowed values of WirelessLinkDistanceUnitLabel enum +var AllowedWirelessLinkDistanceUnitLabelEnumValues = []WirelessLinkDistanceUnitLabel{ + "Kilometers", + "Meters", + "Miles", + "Feet", +} + +func (v *WirelessLinkDistanceUnitLabel) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := WirelessLinkDistanceUnitLabel(value) + for _, existing := range AllowedWirelessLinkDistanceUnitLabelEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid WirelessLinkDistanceUnitLabel", value) +} + +// NewWirelessLinkDistanceUnitLabelFromValue returns a pointer to a valid WirelessLinkDistanceUnitLabel +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewWirelessLinkDistanceUnitLabelFromValue(v string) (*WirelessLinkDistanceUnitLabel, error) { + ev := WirelessLinkDistanceUnitLabel(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for WirelessLinkDistanceUnitLabel: valid values are %v", v, AllowedWirelessLinkDistanceUnitLabelEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v WirelessLinkDistanceUnitLabel) IsValid() bool { + for _, existing := range AllowedWirelessLinkDistanceUnitLabelEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to WirelessLink_distance_unit_label value +func (v WirelessLinkDistanceUnitLabel) Ptr() *WirelessLinkDistanceUnitLabel { + return &v +} + +type NullableWirelessLinkDistanceUnitLabel struct { + value *WirelessLinkDistanceUnitLabel + isSet bool +} + +func (v NullableWirelessLinkDistanceUnitLabel) Get() *WirelessLinkDistanceUnitLabel { + return v.value +} + +func (v *NullableWirelessLinkDistanceUnitLabel) Set(val *WirelessLinkDistanceUnitLabel) { + v.value = val + v.isSet = true +} + +func (v NullableWirelessLinkDistanceUnitLabel) IsSet() bool { + return v.isSet +} + +func (v *NullableWirelessLinkDistanceUnitLabel) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWirelessLinkDistanceUnitLabel(val *WirelessLinkDistanceUnitLabel) *NullableWirelessLinkDistanceUnitLabel { + return &NullableWirelessLinkDistanceUnitLabel{value: val, isSet: true} +} + +func (v NullableWirelessLinkDistanceUnitLabel) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWirelessLinkDistanceUnitLabel) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_wireless_link_request.go b/model_wireless_link_request.go index ac8afc386..b1da4da09 100644 --- a/model_wireless_link_request.go +++ b/model_wireless_link_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,18 +20,20 @@ var _ MappedNullable = &WirelessLinkRequest{} // WirelessLinkRequest Adds support for custom fields and tags. type WirelessLinkRequest struct { - InterfaceA InterfaceRequest `json:"interface_a"` - InterfaceB InterfaceRequest `json:"interface_b"` - Ssid *string `json:"ssid,omitempty"` - Status *PatchedWritableCableRequestStatus `json:"status,omitempty"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` - AuthType *WirelessLANAuthTypeValue `json:"auth_type,omitempty"` - AuthCipher *WirelessLANAuthCipherValue `json:"auth_cipher,omitempty"` - AuthPsk *string `json:"auth_psk,omitempty"` - Description *string `json:"description,omitempty"` - Comments *string `json:"comments,omitempty"` - Tags []NestedTagRequest `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + InterfaceA BriefInterfaceRequest `json:"interface_a"` + InterfaceB BriefInterfaceRequest `json:"interface_b"` + Ssid *string `json:"ssid,omitempty"` + Status *CableStatusValue `json:"status,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` + AuthType *WirelessLANAuthTypeValue `json:"auth_type,omitempty"` + AuthCipher *WirelessLANAuthCipherValue `json:"auth_cipher,omitempty"` + AuthPsk *string `json:"auth_psk,omitempty"` + Distance NullableFloat64 `json:"distance,omitempty"` + DistanceUnit NullableWirelessLinkRequestDistanceUnit `json:"distance_unit,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -41,7 +43,7 @@ type _WirelessLinkRequest WirelessLinkRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewWirelessLinkRequest(interfaceA InterfaceRequest, interfaceB InterfaceRequest) *WirelessLinkRequest { +func NewWirelessLinkRequest(interfaceA BriefInterfaceRequest, interfaceB BriefInterfaceRequest) *WirelessLinkRequest { this := WirelessLinkRequest{} this.InterfaceA = interfaceA this.InterfaceB = interfaceB @@ -57,9 +59,9 @@ func NewWirelessLinkRequestWithDefaults() *WirelessLinkRequest { } // GetInterfaceA returns the InterfaceA field value -func (o *WirelessLinkRequest) GetInterfaceA() InterfaceRequest { +func (o *WirelessLinkRequest) GetInterfaceA() BriefInterfaceRequest { if o == nil { - var ret InterfaceRequest + var ret BriefInterfaceRequest return ret } @@ -68,7 +70,7 @@ func (o *WirelessLinkRequest) GetInterfaceA() InterfaceRequest { // GetInterfaceAOk returns a tuple with the InterfaceA field value // and a boolean to check if the value has been set. -func (o *WirelessLinkRequest) GetInterfaceAOk() (*InterfaceRequest, bool) { +func (o *WirelessLinkRequest) GetInterfaceAOk() (*BriefInterfaceRequest, bool) { if o == nil { return nil, false } @@ -76,14 +78,14 @@ func (o *WirelessLinkRequest) GetInterfaceAOk() (*InterfaceRequest, bool) { } // SetInterfaceA sets field value -func (o *WirelessLinkRequest) SetInterfaceA(v InterfaceRequest) { +func (o *WirelessLinkRequest) SetInterfaceA(v BriefInterfaceRequest) { o.InterfaceA = v } // GetInterfaceB returns the InterfaceB field value -func (o *WirelessLinkRequest) GetInterfaceB() InterfaceRequest { +func (o *WirelessLinkRequest) GetInterfaceB() BriefInterfaceRequest { if o == nil { - var ret InterfaceRequest + var ret BriefInterfaceRequest return ret } @@ -92,7 +94,7 @@ func (o *WirelessLinkRequest) GetInterfaceB() InterfaceRequest { // GetInterfaceBOk returns a tuple with the InterfaceB field value // and a boolean to check if the value has been set. -func (o *WirelessLinkRequest) GetInterfaceBOk() (*InterfaceRequest, bool) { +func (o *WirelessLinkRequest) GetInterfaceBOk() (*BriefInterfaceRequest, bool) { if o == nil { return nil, false } @@ -100,7 +102,7 @@ func (o *WirelessLinkRequest) GetInterfaceBOk() (*InterfaceRequest, bool) { } // SetInterfaceB sets field value -func (o *WirelessLinkRequest) SetInterfaceB(v InterfaceRequest) { +func (o *WirelessLinkRequest) SetInterfaceB(v BriefInterfaceRequest) { o.InterfaceB = v } @@ -137,9 +139,9 @@ func (o *WirelessLinkRequest) SetSsid(v string) { } // GetStatus returns the Status field value if set, zero value otherwise. -func (o *WirelessLinkRequest) GetStatus() PatchedWritableCableRequestStatus { +func (o *WirelessLinkRequest) GetStatus() CableStatusValue { if o == nil || IsNil(o.Status) { - var ret PatchedWritableCableRequestStatus + var ret CableStatusValue return ret } return *o.Status @@ -147,7 +149,7 @@ func (o *WirelessLinkRequest) GetStatus() PatchedWritableCableRequestStatus { // 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 *WirelessLinkRequest) GetStatusOk() (*PatchedWritableCableRequestStatus, bool) { +func (o *WirelessLinkRequest) GetStatusOk() (*CableStatusValue, bool) { if o == nil || IsNil(o.Status) { return nil, false } @@ -163,15 +165,15 @@ func (o *WirelessLinkRequest) HasStatus() bool { return false } -// SetStatus gets a reference to the given PatchedWritableCableRequestStatus and assigns it to the Status field. -func (o *WirelessLinkRequest) SetStatus(v PatchedWritableCableRequestStatus) { +// SetStatus gets a reference to the given CableStatusValue and assigns it to the Status field. +func (o *WirelessLinkRequest) SetStatus(v CableStatusValue) { o.Status = &v } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WirelessLinkRequest) GetTenant() TenantRequest { +func (o *WirelessLinkRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -180,7 +182,7 @@ func (o *WirelessLinkRequest) GetTenant() TenantRequest { // 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 *WirelessLinkRequest) GetTenantOk() (*TenantRequest, bool) { +func (o *WirelessLinkRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -196,8 +198,8 @@ func (o *WirelessLinkRequest) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *WirelessLinkRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *WirelessLinkRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } @@ -307,6 +309,92 @@ func (o *WirelessLinkRequest) SetAuthPsk(v string) { o.AuthPsk = &v } +// GetDistance returns the Distance field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *WirelessLinkRequest) GetDistance() float64 { + if o == nil || IsNil(o.Distance.Get()) { + var ret float64 + return ret + } + return *o.Distance.Get() +} + +// GetDistanceOk returns a tuple with the Distance 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 *WirelessLinkRequest) GetDistanceOk() (*float64, bool) { + if o == nil { + return nil, false + } + return o.Distance.Get(), o.Distance.IsSet() +} + +// HasDistance returns a boolean if a field has been set. +func (o *WirelessLinkRequest) HasDistance() bool { + if o != nil && o.Distance.IsSet() { + return true + } + + return false +} + +// SetDistance gets a reference to the given NullableFloat64 and assigns it to the Distance field. +func (o *WirelessLinkRequest) SetDistance(v float64) { + o.Distance.Set(&v) +} + +// SetDistanceNil sets the value for Distance to be an explicit nil +func (o *WirelessLinkRequest) SetDistanceNil() { + o.Distance.Set(nil) +} + +// UnsetDistance ensures that no value is present for Distance, not even an explicit nil +func (o *WirelessLinkRequest) UnsetDistance() { + o.Distance.Unset() +} + +// GetDistanceUnit returns the DistanceUnit field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *WirelessLinkRequest) GetDistanceUnit() WirelessLinkRequestDistanceUnit { + if o == nil || IsNil(o.DistanceUnit.Get()) { + var ret WirelessLinkRequestDistanceUnit + return ret + } + return *o.DistanceUnit.Get() +} + +// GetDistanceUnitOk returns a tuple with the DistanceUnit 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 *WirelessLinkRequest) GetDistanceUnitOk() (*WirelessLinkRequestDistanceUnit, bool) { + if o == nil { + return nil, false + } + return o.DistanceUnit.Get(), o.DistanceUnit.IsSet() +} + +// HasDistanceUnit returns a boolean if a field has been set. +func (o *WirelessLinkRequest) HasDistanceUnit() bool { + if o != nil && o.DistanceUnit.IsSet() { + return true + } + + return false +} + +// SetDistanceUnit gets a reference to the given NullableWirelessLinkRequestDistanceUnit and assigns it to the DistanceUnit field. +func (o *WirelessLinkRequest) SetDistanceUnit(v WirelessLinkRequestDistanceUnit) { + o.DistanceUnit.Set(&v) +} + +// SetDistanceUnitNil sets the value for DistanceUnit to be an explicit nil +func (o *WirelessLinkRequest) SetDistanceUnitNil() { + o.DistanceUnit.Set(nil) +} + +// UnsetDistanceUnit ensures that no value is present for DistanceUnit, not even an explicit nil +func (o *WirelessLinkRequest) UnsetDistanceUnit() { + o.DistanceUnit.Unset() +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *WirelessLinkRequest) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -465,6 +553,12 @@ func (o WirelessLinkRequest) ToMap() (map[string]interface{}, error) { if !IsNil(o.AuthPsk) { toSerialize["auth_psk"] = o.AuthPsk } + if o.Distance.IsSet() { + toSerialize["distance"] = o.Distance.Get() + } + if o.DistanceUnit.IsSet() { + toSerialize["distance_unit"] = o.DistanceUnit.Get() + } if !IsNil(o.Description) { toSerialize["description"] = o.Description } @@ -529,6 +623,8 @@ func (o *WirelessLinkRequest) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "auth_type") delete(additionalProperties, "auth_cipher") delete(additionalProperties, "auth_psk") + delete(additionalProperties, "distance") + delete(additionalProperties, "distance_unit") delete(additionalProperties, "description") delete(additionalProperties, "comments") delete(additionalProperties, "tags") diff --git a/model_wireless_link_request_distance_unit.go b/model_wireless_link_request_distance_unit.go new file mode 100644 index 000000000..2d9a86625 --- /dev/null +++ b/model_wireless_link_request_distance_unit.go @@ -0,0 +1,116 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// WirelessLinkRequestDistanceUnit * `km` - Kilometers * `m` - Meters * `mi` - Miles * `ft` - Feet +type WirelessLinkRequestDistanceUnit string + +// List of WirelessLinkRequest_distance_unit +const ( + WIRELESSLINKREQUESTDISTANCEUNIT_KM WirelessLinkRequestDistanceUnit = "km" + WIRELESSLINKREQUESTDISTANCEUNIT_M WirelessLinkRequestDistanceUnit = "m" + WIRELESSLINKREQUESTDISTANCEUNIT_MI WirelessLinkRequestDistanceUnit = "mi" + WIRELESSLINKREQUESTDISTANCEUNIT_FT WirelessLinkRequestDistanceUnit = "ft" + WIRELESSLINKREQUESTDISTANCEUNIT_EMPTY WirelessLinkRequestDistanceUnit = "" +) + +// All allowed values of WirelessLinkRequestDistanceUnit enum +var AllowedWirelessLinkRequestDistanceUnitEnumValues = []WirelessLinkRequestDistanceUnit{ + "km", + "m", + "mi", + "ft", + "", +} + +func (v *WirelessLinkRequestDistanceUnit) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := WirelessLinkRequestDistanceUnit(value) + for _, existing := range AllowedWirelessLinkRequestDistanceUnitEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid WirelessLinkRequestDistanceUnit", value) +} + +// NewWirelessLinkRequestDistanceUnitFromValue returns a pointer to a valid WirelessLinkRequestDistanceUnit +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewWirelessLinkRequestDistanceUnitFromValue(v string) (*WirelessLinkRequestDistanceUnit, error) { + ev := WirelessLinkRequestDistanceUnit(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for WirelessLinkRequestDistanceUnit: valid values are %v", v, AllowedWirelessLinkRequestDistanceUnitEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v WirelessLinkRequestDistanceUnit) IsValid() bool { + for _, existing := range AllowedWirelessLinkRequestDistanceUnitEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to WirelessLinkRequest_distance_unit value +func (v WirelessLinkRequestDistanceUnit) Ptr() *WirelessLinkRequestDistanceUnit { + return &v +} + +type NullableWirelessLinkRequestDistanceUnit struct { + value *WirelessLinkRequestDistanceUnit + isSet bool +} + +func (v NullableWirelessLinkRequestDistanceUnit) Get() *WirelessLinkRequestDistanceUnit { + return v.value +} + +func (v *NullableWirelessLinkRequestDistanceUnit) Set(val *WirelessLinkRequestDistanceUnit) { + v.value = val + v.isSet = true +} + +func (v NullableWirelessLinkRequestDistanceUnit) IsSet() bool { + return v.isSet +} + +func (v *NullableWirelessLinkRequestDistanceUnit) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWirelessLinkRequestDistanceUnit(val *WirelessLinkRequestDistanceUnit) *NullableWirelessLinkRequestDistanceUnit { + return &NullableWirelessLinkRequestDistanceUnit{value: val, isSet: true} +} + +func (v NullableWirelessLinkRequestDistanceUnit) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWirelessLinkRequestDistanceUnit) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_wireless_role.go b/model_wireless_role.go index 8aa2042e3..e77ffd268 100644 --- a/model_wireless_role.go +++ b/model_wireless_role.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -15,21 +15,21 @@ import ( "fmt" ) -// WirelessRole * `ap` - Access point * `station` - Station +// WirelessRole the model 'WirelessRole' type WirelessRole string // List of Wireless_role const ( + WIRELESSROLE_EMPTY WirelessRole = "" WIRELESSROLE_AP WirelessRole = "ap" WIRELESSROLE_STATION WirelessRole = "station" - WIRELESSROLE_EMPTY WirelessRole = "" ) // All allowed values of WirelessRole enum var AllowedWirelessRoleEnumValues = []WirelessRole{ + "", "ap", "station", - "", } func (v *WirelessRole) UnmarshalJSON(src []byte) error { diff --git a/model_wireless_role_1.go b/model_wireless_role_1.go new file mode 100644 index 000000000..2892f3f54 --- /dev/null +++ b/model_wireless_role_1.go @@ -0,0 +1,113 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// WirelessRole1 * `ap` - Access point * `station` - Station +type WirelessRole1 string + +// List of Wireless_role_1 +const ( + WIRELESSROLE1_AP WirelessRole1 = "ap" + WIRELESSROLE1_STATION WirelessRole1 = "station" + WIRELESSROLE1_EMPTY WirelessRole1 = "" +) + +// All allowed values of WirelessRole1 enum +var AllowedWirelessRole1EnumValues = []WirelessRole1{ + "ap", + "station", + "", +} + +func (v *WirelessRole1) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := WirelessRole1(value) + for _, existing := range AllowedWirelessRole1EnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid WirelessRole1", value) +} + +// NewWirelessRole1FromValue returns a pointer to a valid WirelessRole1 +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewWirelessRole1FromValue(v string) (*WirelessRole1, error) { + ev := WirelessRole1(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for WirelessRole1: valid values are %v", v, AllowedWirelessRole1EnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v WirelessRole1) IsValid() bool { + for _, existing := range AllowedWirelessRole1EnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to Wireless_role_1 value +func (v WirelessRole1) Ptr() *WirelessRole1 { + return &v +} + +type NullableWirelessRole1 struct { + value *WirelessRole1 + isSet bool +} + +func (v NullableWirelessRole1) Get() *WirelessRole1 { + return v.value +} + +func (v *NullableWirelessRole1) Set(val *WirelessRole1) { + v.value = val + v.isSet = true +} + +func (v NullableWirelessRole1) IsSet() bool { + return v.isSet +} + +func (v *NullableWirelessRole1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWirelessRole1(val *WirelessRole1) *NullableWirelessRole1 { + return &NullableWirelessRole1{value: val, isSet: true} +} + +func (v NullableWirelessRole1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWirelessRole1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_wireless_wireless_lans_list_status__ic_parameter_inner.go b/model_wireless_wireless_lans_list_status__ic_parameter_inner.go new file mode 100644 index 000000000..f697eb4e6 --- /dev/null +++ b/model_wireless_wireless_lans_list_status__ic_parameter_inner.go @@ -0,0 +1,115 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// WirelessWirelessLansListStatusIcParameterInner the model 'WirelessWirelessLansListStatusIcParameterInner' +type WirelessWirelessLansListStatusIcParameterInner string + +// List of wireless_wireless_lans_list_status__ic_parameter_inner +const ( + WIRELESSWIRELESSLANSLISTSTATUSICPARAMETERINNER_ACTIVE WirelessWirelessLansListStatusIcParameterInner = "active" + WIRELESSWIRELESSLANSLISTSTATUSICPARAMETERINNER_DEPRECATED WirelessWirelessLansListStatusIcParameterInner = "deprecated" + WIRELESSWIRELESSLANSLISTSTATUSICPARAMETERINNER_DISABLED WirelessWirelessLansListStatusIcParameterInner = "disabled" + WIRELESSWIRELESSLANSLISTSTATUSICPARAMETERINNER_RESERVED WirelessWirelessLansListStatusIcParameterInner = "reserved" +) + +// All allowed values of WirelessWirelessLansListStatusIcParameterInner enum +var AllowedWirelessWirelessLansListStatusIcParameterInnerEnumValues = []WirelessWirelessLansListStatusIcParameterInner{ + "active", + "deprecated", + "disabled", + "reserved", +} + +func (v *WirelessWirelessLansListStatusIcParameterInner) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := WirelessWirelessLansListStatusIcParameterInner(value) + for _, existing := range AllowedWirelessWirelessLansListStatusIcParameterInnerEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid WirelessWirelessLansListStatusIcParameterInner", value) +} + +// NewWirelessWirelessLansListStatusIcParameterInnerFromValue returns a pointer to a valid WirelessWirelessLansListStatusIcParameterInner +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewWirelessWirelessLansListStatusIcParameterInnerFromValue(v string) (*WirelessWirelessLansListStatusIcParameterInner, error) { + ev := WirelessWirelessLansListStatusIcParameterInner(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for WirelessWirelessLansListStatusIcParameterInner: valid values are %v", v, AllowedWirelessWirelessLansListStatusIcParameterInnerEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v WirelessWirelessLansListStatusIcParameterInner) IsValid() bool { + for _, existing := range AllowedWirelessWirelessLansListStatusIcParameterInnerEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to wireless_wireless_lans_list_status__ic_parameter_inner value +func (v WirelessWirelessLansListStatusIcParameterInner) Ptr() *WirelessWirelessLansListStatusIcParameterInner { + return &v +} + +type NullableWirelessWirelessLansListStatusIcParameterInner struct { + value *WirelessWirelessLansListStatusIcParameterInner + isSet bool +} + +func (v NullableWirelessWirelessLansListStatusIcParameterInner) Get() *WirelessWirelessLansListStatusIcParameterInner { + return v.value +} + +func (v *NullableWirelessWirelessLansListStatusIcParameterInner) Set(val *WirelessWirelessLansListStatusIcParameterInner) { + v.value = val + v.isSet = true +} + +func (v NullableWirelessWirelessLansListStatusIcParameterInner) IsSet() bool { + return v.isSet +} + +func (v *NullableWirelessWirelessLansListStatusIcParameterInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWirelessWirelessLansListStatusIcParameterInner(val *WirelessWirelessLansListStatusIcParameterInner) *NullableWirelessWirelessLansListStatusIcParameterInner { + return &NullableWirelessWirelessLansListStatusIcParameterInner{value: val, isSet: true} +} + +func (v NullableWirelessWirelessLansListStatusIcParameterInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWirelessWirelessLansListStatusIcParameterInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/model_wireless_wireless_links_list_distance_unit_parameter.go b/model_wireless_wireless_links_list_distance_unit_parameter.go new file mode 100644 index 000000000..9ea2c0cd6 --- /dev/null +++ b/model_wireless_wireless_links_list_distance_unit_parameter.go @@ -0,0 +1,114 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// WirelessWirelessLinksListDistanceUnitParameter the model 'WirelessWirelessLinksListDistanceUnitParameter' +type WirelessWirelessLinksListDistanceUnitParameter string + +// List of wireless_wireless_links_list_distance_unit_parameter +const ( + WIRELESSWIRELESSLINKSLISTDISTANCEUNITPARAMETER_FT WirelessWirelessLinksListDistanceUnitParameter = "ft" + WIRELESSWIRELESSLINKSLISTDISTANCEUNITPARAMETER_KM WirelessWirelessLinksListDistanceUnitParameter = "km" + WIRELESSWIRELESSLINKSLISTDISTANCEUNITPARAMETER_M WirelessWirelessLinksListDistanceUnitParameter = "m" + WIRELESSWIRELESSLINKSLISTDISTANCEUNITPARAMETER_MI WirelessWirelessLinksListDistanceUnitParameter = "mi" +) + +// All allowed values of WirelessWirelessLinksListDistanceUnitParameter enum +var AllowedWirelessWirelessLinksListDistanceUnitParameterEnumValues = []WirelessWirelessLinksListDistanceUnitParameter{ + "ft", + "km", + "m", + "mi", +} + +func (v *WirelessWirelessLinksListDistanceUnitParameter) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := WirelessWirelessLinksListDistanceUnitParameter(value) + for _, existing := range AllowedWirelessWirelessLinksListDistanceUnitParameterEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid WirelessWirelessLinksListDistanceUnitParameter", value) +} + +// NewWirelessWirelessLinksListDistanceUnitParameterFromValue returns a pointer to a valid WirelessWirelessLinksListDistanceUnitParameter +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewWirelessWirelessLinksListDistanceUnitParameterFromValue(v string) (*WirelessWirelessLinksListDistanceUnitParameter, error) { + ev := WirelessWirelessLinksListDistanceUnitParameter(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for WirelessWirelessLinksListDistanceUnitParameter: valid values are %v", v, AllowedWirelessWirelessLinksListDistanceUnitParameterEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v WirelessWirelessLinksListDistanceUnitParameter) IsValid() bool { + for _, existing := range AllowedWirelessWirelessLinksListDistanceUnitParameterEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to wireless_wireless_links_list_distance_unit_parameter value +func (v WirelessWirelessLinksListDistanceUnitParameter) Ptr() *WirelessWirelessLinksListDistanceUnitParameter { + return &v +} + +type NullableWirelessWirelessLinksListDistanceUnitParameter struct { + value *WirelessWirelessLinksListDistanceUnitParameter + isSet bool +} + +func (v NullableWirelessWirelessLinksListDistanceUnitParameter) Get() *WirelessWirelessLinksListDistanceUnitParameter { + return v.value +} + +func (v *NullableWirelessWirelessLinksListDistanceUnitParameter) Set(val *WirelessWirelessLinksListDistanceUnitParameter) { + v.value = val + v.isSet = true +} + +func (v NullableWirelessWirelessLinksListDistanceUnitParameter) IsSet() bool { + return v.isSet +} + +func (v *NullableWirelessWirelessLinksListDistanceUnitParameter) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWirelessWirelessLinksListDistanceUnitParameter(val *WirelessWirelessLinksListDistanceUnitParameter) *NullableWirelessWirelessLinksListDistanceUnitParameter { + return &NullableWirelessWirelessLinksListDistanceUnitParameter{value: val, isSet: true} +} + +func (v NullableWirelessWirelessLinksListDistanceUnitParameter) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWirelessWirelessLinksListDistanceUnitParameter) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_writable_aggregate_request.go b/model_writable_aggregate_request.go index b16c5390b..7f9a804e4 100644 --- a/model_writable_aggregate_request.go +++ b/model_writable_aggregate_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,14 +20,14 @@ var _ MappedNullable = &WritableAggregateRequest{} // WritableAggregateRequest Adds support for custom fields and tags. type WritableAggregateRequest struct { - Prefix string `json:"prefix"` - Rir RIRRequest `json:"rir"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` - DateAdded NullableString `json:"date_added,omitempty"` - Description *string `json:"description,omitempty"` - Comments *string `json:"comments,omitempty"` - Tags []NestedTagRequest `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Prefix string `json:"prefix"` + Rir BriefRIRRequest `json:"rir"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` + DateAdded NullableString `json:"date_added,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -37,7 +37,7 @@ type _WritableAggregateRequest WritableAggregateRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewWritableAggregateRequest(prefix string, rir RIRRequest) *WritableAggregateRequest { +func NewWritableAggregateRequest(prefix string, rir BriefRIRRequest) *WritableAggregateRequest { this := WritableAggregateRequest{} this.Prefix = prefix this.Rir = rir @@ -77,9 +77,9 @@ func (o *WritableAggregateRequest) SetPrefix(v string) { } // GetRir returns the Rir field value -func (o *WritableAggregateRequest) GetRir() RIRRequest { +func (o *WritableAggregateRequest) GetRir() BriefRIRRequest { if o == nil { - var ret RIRRequest + var ret BriefRIRRequest return ret } @@ -88,7 +88,7 @@ func (o *WritableAggregateRequest) GetRir() RIRRequest { // GetRirOk returns a tuple with the Rir field value // and a boolean to check if the value has been set. -func (o *WritableAggregateRequest) GetRirOk() (*RIRRequest, bool) { +func (o *WritableAggregateRequest) GetRirOk() (*BriefRIRRequest, bool) { if o == nil { return nil, false } @@ -96,14 +96,14 @@ func (o *WritableAggregateRequest) GetRirOk() (*RIRRequest, bool) { } // SetRir sets field value -func (o *WritableAggregateRequest) SetRir(v RIRRequest) { +func (o *WritableAggregateRequest) SetRir(v BriefRIRRequest) { o.Rir = v } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableAggregateRequest) GetTenant() TenantRequest { +func (o *WritableAggregateRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -112,7 +112,7 @@ func (o *WritableAggregateRequest) GetTenant() TenantRequest { // 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 *WritableAggregateRequest) GetTenantOk() (*TenantRequest, bool) { +func (o *WritableAggregateRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -128,8 +128,8 @@ func (o *WritableAggregateRequest) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *WritableAggregateRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *WritableAggregateRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } diff --git a/model_writable_cable_request.go b/model_writable_cable_request.go index 7d440df5e..057a072ee 100644 --- a/model_writable_cable_request.go +++ b/model_writable_cable_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,19 +19,19 @@ var _ MappedNullable = &WritableCableRequest{} // WritableCableRequest Adds support for custom fields and tags. type WritableCableRequest struct { - Type *PatchedWritableCableRequestType `json:"type,omitempty"` - ATerminations []GenericObjectRequest `json:"a_terminations,omitempty"` - BTerminations []GenericObjectRequest `json:"b_terminations,omitempty"` - Status *PatchedWritableCableRequestStatus `json:"status,omitempty"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` - Label *string `json:"label,omitempty"` - Color *string `json:"color,omitempty"` - Length NullableFloat64 `json:"length,omitempty"` - LengthUnit *PatchedWritableCableRequestLengthUnit `json:"length_unit,omitempty"` - Description *string `json:"description,omitempty"` - Comments *string `json:"comments,omitempty"` - Tags []NestedTagRequest `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Type *CableType `json:"type,omitempty"` + ATerminations []GenericObjectRequest `json:"a_terminations,omitempty"` + BTerminations []GenericObjectRequest `json:"b_terminations,omitempty"` + Status *CableStatusValue `json:"status,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` + Label *string `json:"label,omitempty"` + Color *string `json:"color,omitempty"` + Length NullableFloat64 `json:"length,omitempty"` + LengthUnit *CableLengthUnitValue `json:"length_unit,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -55,9 +55,9 @@ func NewWritableCableRequestWithDefaults() *WritableCableRequest { } // GetType returns the Type field value if set, zero value otherwise. -func (o *WritableCableRequest) GetType() PatchedWritableCableRequestType { +func (o *WritableCableRequest) GetType() CableType { if o == nil || IsNil(o.Type) { - var ret PatchedWritableCableRequestType + var ret CableType return ret } return *o.Type @@ -65,7 +65,7 @@ func (o *WritableCableRequest) GetType() PatchedWritableCableRequestType { // GetTypeOk returns a tuple with the Type field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *WritableCableRequest) GetTypeOk() (*PatchedWritableCableRequestType, bool) { +func (o *WritableCableRequest) GetTypeOk() (*CableType, bool) { if o == nil || IsNil(o.Type) { return nil, false } @@ -81,8 +81,8 @@ func (o *WritableCableRequest) HasType() bool { return false } -// SetType gets a reference to the given PatchedWritableCableRequestType and assigns it to the Type field. -func (o *WritableCableRequest) SetType(v PatchedWritableCableRequestType) { +// SetType gets a reference to the given CableType and assigns it to the Type field. +func (o *WritableCableRequest) SetType(v CableType) { o.Type = &v } @@ -151,9 +151,9 @@ func (o *WritableCableRequest) SetBTerminations(v []GenericObjectRequest) { } // GetStatus returns the Status field value if set, zero value otherwise. -func (o *WritableCableRequest) GetStatus() PatchedWritableCableRequestStatus { +func (o *WritableCableRequest) GetStatus() CableStatusValue { if o == nil || IsNil(o.Status) { - var ret PatchedWritableCableRequestStatus + var ret CableStatusValue return ret } return *o.Status @@ -161,7 +161,7 @@ func (o *WritableCableRequest) GetStatus() PatchedWritableCableRequestStatus { // 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 *WritableCableRequest) GetStatusOk() (*PatchedWritableCableRequestStatus, bool) { +func (o *WritableCableRequest) GetStatusOk() (*CableStatusValue, bool) { if o == nil || IsNil(o.Status) { return nil, false } @@ -177,15 +177,15 @@ func (o *WritableCableRequest) HasStatus() bool { return false } -// SetStatus gets a reference to the given PatchedWritableCableRequestStatus and assigns it to the Status field. -func (o *WritableCableRequest) SetStatus(v PatchedWritableCableRequestStatus) { +// SetStatus gets a reference to the given CableStatusValue and assigns it to the Status field. +func (o *WritableCableRequest) SetStatus(v CableStatusValue) { o.Status = &v } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableCableRequest) GetTenant() TenantRequest { +func (o *WritableCableRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -194,7 +194,7 @@ func (o *WritableCableRequest) GetTenant() TenantRequest { // 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 *WritableCableRequest) GetTenantOk() (*TenantRequest, bool) { +func (o *WritableCableRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -210,8 +210,8 @@ func (o *WritableCableRequest) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *WritableCableRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *WritableCableRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } @@ -333,9 +333,9 @@ func (o *WritableCableRequest) UnsetLength() { } // GetLengthUnit returns the LengthUnit field value if set, zero value otherwise. -func (o *WritableCableRequest) GetLengthUnit() PatchedWritableCableRequestLengthUnit { +func (o *WritableCableRequest) GetLengthUnit() CableLengthUnitValue { if o == nil || IsNil(o.LengthUnit) { - var ret PatchedWritableCableRequestLengthUnit + var ret CableLengthUnitValue return ret } return *o.LengthUnit @@ -343,7 +343,7 @@ func (o *WritableCableRequest) GetLengthUnit() PatchedWritableCableRequestLength // GetLengthUnitOk returns a tuple with the LengthUnit field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *WritableCableRequest) GetLengthUnitOk() (*PatchedWritableCableRequestLengthUnit, bool) { +func (o *WritableCableRequest) GetLengthUnitOk() (*CableLengthUnitValue, bool) { if o == nil || IsNil(o.LengthUnit) { return nil, false } @@ -359,8 +359,8 @@ func (o *WritableCableRequest) HasLengthUnit() bool { return false } -// SetLengthUnit gets a reference to the given PatchedWritableCableRequestLengthUnit and assigns it to the LengthUnit field. -func (o *WritableCableRequest) SetLengthUnit(v PatchedWritableCableRequestLengthUnit) { +// SetLengthUnit gets a reference to the given CableLengthUnitValue and assigns it to the LengthUnit field. +func (o *WritableCableRequest) SetLengthUnit(v CableLengthUnitValue) { o.LengthUnit = &v } diff --git a/model_writable_circuit_group_assignment_request.go b/model_writable_circuit_group_assignment_request.go new file mode 100644 index 000000000..dba68dde2 --- /dev/null +++ b/model_writable_circuit_group_assignment_request.go @@ -0,0 +1,269 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the WritableCircuitGroupAssignmentRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &WritableCircuitGroupAssignmentRequest{} + +// WritableCircuitGroupAssignmentRequest Base serializer for group assignments under CircuitSerializer. +type WritableCircuitGroupAssignmentRequest struct { + Group BriefCircuitGroupRequest `json:"group"` + Circuit BriefCircuitRequest `json:"circuit"` + Priority *BriefCircuitGroupAssignmentSerializerPriorityValue `json:"priority,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _WritableCircuitGroupAssignmentRequest WritableCircuitGroupAssignmentRequest + +// NewWritableCircuitGroupAssignmentRequest instantiates a new WritableCircuitGroupAssignmentRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWritableCircuitGroupAssignmentRequest(group BriefCircuitGroupRequest, circuit BriefCircuitRequest) *WritableCircuitGroupAssignmentRequest { + this := WritableCircuitGroupAssignmentRequest{} + this.Group = group + this.Circuit = circuit + return &this +} + +// NewWritableCircuitGroupAssignmentRequestWithDefaults instantiates a new WritableCircuitGroupAssignmentRequest object +// This 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 NewWritableCircuitGroupAssignmentRequestWithDefaults() *WritableCircuitGroupAssignmentRequest { + this := WritableCircuitGroupAssignmentRequest{} + return &this +} + +// GetGroup returns the Group field value +func (o *WritableCircuitGroupAssignmentRequest) GetGroup() BriefCircuitGroupRequest { + if o == nil { + var ret BriefCircuitGroupRequest + return ret + } + + return o.Group +} + +// GetGroupOk returns a tuple with the Group field value +// and a boolean to check if the value has been set. +func (o *WritableCircuitGroupAssignmentRequest) GetGroupOk() (*BriefCircuitGroupRequest, bool) { + if o == nil { + return nil, false + } + return &o.Group, true +} + +// SetGroup sets field value +func (o *WritableCircuitGroupAssignmentRequest) SetGroup(v BriefCircuitGroupRequest) { + o.Group = v +} + +// GetCircuit returns the Circuit field value +func (o *WritableCircuitGroupAssignmentRequest) GetCircuit() BriefCircuitRequest { + if o == nil { + var ret BriefCircuitRequest + return ret + } + + return o.Circuit +} + +// GetCircuitOk returns a tuple with the Circuit field value +// and a boolean to check if the value has been set. +func (o *WritableCircuitGroupAssignmentRequest) GetCircuitOk() (*BriefCircuitRequest, bool) { + if o == nil { + return nil, false + } + return &o.Circuit, true +} + +// SetCircuit sets field value +func (o *WritableCircuitGroupAssignmentRequest) SetCircuit(v BriefCircuitRequest) { + o.Circuit = v +} + +// GetPriority returns the Priority field value if set, zero value otherwise. +func (o *WritableCircuitGroupAssignmentRequest) GetPriority() BriefCircuitGroupAssignmentSerializerPriorityValue { + if o == nil || IsNil(o.Priority) { + var ret BriefCircuitGroupAssignmentSerializerPriorityValue + return ret + } + return *o.Priority +} + +// GetPriorityOk returns a tuple with the Priority field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WritableCircuitGroupAssignmentRequest) GetPriorityOk() (*BriefCircuitGroupAssignmentSerializerPriorityValue, bool) { + if o == nil || IsNil(o.Priority) { + return nil, false + } + return o.Priority, true +} + +// HasPriority returns a boolean if a field has been set. +func (o *WritableCircuitGroupAssignmentRequest) HasPriority() bool { + if o != nil && !IsNil(o.Priority) { + return true + } + + return false +} + +// SetPriority gets a reference to the given BriefCircuitGroupAssignmentSerializerPriorityValue and assigns it to the Priority field. +func (o *WritableCircuitGroupAssignmentRequest) SetPriority(v BriefCircuitGroupAssignmentSerializerPriorityValue) { + o.Priority = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *WritableCircuitGroupAssignmentRequest) GetTags() []NestedTagRequest { + if o == nil || IsNil(o.Tags) { + var ret []NestedTagRequest + 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 *WritableCircuitGroupAssignmentRequest) GetTagsOk() ([]NestedTagRequest, 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 *WritableCircuitGroupAssignmentRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTagRequest and assigns it to the Tags field. +func (o *WritableCircuitGroupAssignmentRequest) SetTags(v []NestedTagRequest) { + o.Tags = v +} + +func (o WritableCircuitGroupAssignmentRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o WritableCircuitGroupAssignmentRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["group"] = o.Group + toSerialize["circuit"] = o.Circuit + if !IsNil(o.Priority) { + toSerialize["priority"] = o.Priority + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *WritableCircuitGroupAssignmentRequest) 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{ + "group", + "circuit", + } + + 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) + } + } + + varWritableCircuitGroupAssignmentRequest := _WritableCircuitGroupAssignmentRequest{} + + err = json.Unmarshal(data, &varWritableCircuitGroupAssignmentRequest) + + if err != nil { + return err + } + + *o = WritableCircuitGroupAssignmentRequest(varWritableCircuitGroupAssignmentRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "group") + delete(additionalProperties, "circuit") + delete(additionalProperties, "priority") + delete(additionalProperties, "tags") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableWritableCircuitGroupAssignmentRequest struct { + value *WritableCircuitGroupAssignmentRequest + isSet bool +} + +func (v NullableWritableCircuitGroupAssignmentRequest) Get() *WritableCircuitGroupAssignmentRequest { + return v.value +} + +func (v *NullableWritableCircuitGroupAssignmentRequest) Set(val *WritableCircuitGroupAssignmentRequest) { + v.value = val + v.isSet = true +} + +func (v NullableWritableCircuitGroupAssignmentRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableWritableCircuitGroupAssignmentRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWritableCircuitGroupAssignmentRequest(val *WritableCircuitGroupAssignmentRequest) *NullableWritableCircuitGroupAssignmentRequest { + return &NullableWritableCircuitGroupAssignmentRequest{value: val, isSet: true} +} + +func (v NullableWritableCircuitGroupAssignmentRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWritableCircuitGroupAssignmentRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_writable_circuit_request.go b/model_writable_circuit_request.go index 8b3bc60b2..a3054536c 100644 --- a/model_writable_circuit_request.go +++ b/model_writable_circuit_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,20 +21,21 @@ var _ MappedNullable = &WritableCircuitRequest{} // WritableCircuitRequest Adds support for custom fields and tags. type WritableCircuitRequest struct { // Unique circuit ID - Cid string `json:"cid"` - Provider ProviderRequest `json:"provider"` - ProviderAccount NullableProviderAccountRequest `json:"provider_account,omitempty"` - Type CircuitTypeRequest `json:"type"` - Status *PatchedWritableCircuitRequestStatus `json:"status,omitempty"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` - InstallDate NullableString `json:"install_date,omitempty"` - TerminationDate NullableString `json:"termination_date,omitempty"` + Cid string `json:"cid"` + Provider BriefProviderRequest `json:"provider"` + ProviderAccount NullableBriefProviderAccountRequest `json:"provider_account,omitempty"` + Type BriefCircuitTypeRequest `json:"type"` + Status *CircuitStatusValue `json:"status,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` + InstallDate NullableString `json:"install_date,omitempty"` + TerminationDate NullableString `json:"termination_date,omitempty"` // Committed rate - CommitRate NullableInt32 `json:"commit_rate,omitempty"` - Description *string `json:"description,omitempty"` - Comments *string `json:"comments,omitempty"` - Tags []NestedTagRequest `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + CommitRate NullableInt32 `json:"commit_rate,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Assignments []BriefCircuitGroupAssignmentSerializerRequest `json:"assignments,omitempty"` AdditionalProperties map[string]interface{} } @@ -44,7 +45,7 @@ type _WritableCircuitRequest WritableCircuitRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewWritableCircuitRequest(cid string, provider ProviderRequest, type_ CircuitTypeRequest) *WritableCircuitRequest { +func NewWritableCircuitRequest(cid string, provider BriefProviderRequest, type_ BriefCircuitTypeRequest) *WritableCircuitRequest { this := WritableCircuitRequest{} this.Cid = cid this.Provider = provider @@ -85,9 +86,9 @@ func (o *WritableCircuitRequest) SetCid(v string) { } // GetProvider returns the Provider field value -func (o *WritableCircuitRequest) GetProvider() ProviderRequest { +func (o *WritableCircuitRequest) GetProvider() BriefProviderRequest { if o == nil { - var ret ProviderRequest + var ret BriefProviderRequest return ret } @@ -96,7 +97,7 @@ func (o *WritableCircuitRequest) GetProvider() ProviderRequest { // GetProviderOk returns a tuple with the Provider field value // and a boolean to check if the value has been set. -func (o *WritableCircuitRequest) GetProviderOk() (*ProviderRequest, bool) { +func (o *WritableCircuitRequest) GetProviderOk() (*BriefProviderRequest, bool) { if o == nil { return nil, false } @@ -104,14 +105,14 @@ func (o *WritableCircuitRequest) GetProviderOk() (*ProviderRequest, bool) { } // SetProvider sets field value -func (o *WritableCircuitRequest) SetProvider(v ProviderRequest) { +func (o *WritableCircuitRequest) SetProvider(v BriefProviderRequest) { o.Provider = v } // GetProviderAccount returns the ProviderAccount field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableCircuitRequest) GetProviderAccount() ProviderAccountRequest { +func (o *WritableCircuitRequest) GetProviderAccount() BriefProviderAccountRequest { if o == nil || IsNil(o.ProviderAccount.Get()) { - var ret ProviderAccountRequest + var ret BriefProviderAccountRequest return ret } return *o.ProviderAccount.Get() @@ -120,7 +121,7 @@ func (o *WritableCircuitRequest) GetProviderAccount() ProviderAccountRequest { // GetProviderAccountOk returns a tuple with the ProviderAccount 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 *WritableCircuitRequest) GetProviderAccountOk() (*ProviderAccountRequest, bool) { +func (o *WritableCircuitRequest) GetProviderAccountOk() (*BriefProviderAccountRequest, bool) { if o == nil { return nil, false } @@ -136,8 +137,8 @@ func (o *WritableCircuitRequest) HasProviderAccount() bool { return false } -// SetProviderAccount gets a reference to the given NullableProviderAccountRequest and assigns it to the ProviderAccount field. -func (o *WritableCircuitRequest) SetProviderAccount(v ProviderAccountRequest) { +// SetProviderAccount gets a reference to the given NullableBriefProviderAccountRequest and assigns it to the ProviderAccount field. +func (o *WritableCircuitRequest) SetProviderAccount(v BriefProviderAccountRequest) { o.ProviderAccount.Set(&v) } @@ -152,9 +153,9 @@ func (o *WritableCircuitRequest) UnsetProviderAccount() { } // GetType returns the Type field value -func (o *WritableCircuitRequest) GetType() CircuitTypeRequest { +func (o *WritableCircuitRequest) GetType() BriefCircuitTypeRequest { if o == nil { - var ret CircuitTypeRequest + var ret BriefCircuitTypeRequest return ret } @@ -163,7 +164,7 @@ func (o *WritableCircuitRequest) GetType() CircuitTypeRequest { // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. -func (o *WritableCircuitRequest) GetTypeOk() (*CircuitTypeRequest, bool) { +func (o *WritableCircuitRequest) GetTypeOk() (*BriefCircuitTypeRequest, bool) { if o == nil { return nil, false } @@ -171,14 +172,14 @@ func (o *WritableCircuitRequest) GetTypeOk() (*CircuitTypeRequest, bool) { } // SetType sets field value -func (o *WritableCircuitRequest) SetType(v CircuitTypeRequest) { +func (o *WritableCircuitRequest) SetType(v BriefCircuitTypeRequest) { o.Type = v } // GetStatus returns the Status field value if set, zero value otherwise. -func (o *WritableCircuitRequest) GetStatus() PatchedWritableCircuitRequestStatus { +func (o *WritableCircuitRequest) GetStatus() CircuitStatusValue { if o == nil || IsNil(o.Status) { - var ret PatchedWritableCircuitRequestStatus + var ret CircuitStatusValue return ret } return *o.Status @@ -186,7 +187,7 @@ func (o *WritableCircuitRequest) GetStatus() PatchedWritableCircuitRequestStatus // 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 *WritableCircuitRequest) GetStatusOk() (*PatchedWritableCircuitRequestStatus, bool) { +func (o *WritableCircuitRequest) GetStatusOk() (*CircuitStatusValue, bool) { if o == nil || IsNil(o.Status) { return nil, false } @@ -202,15 +203,15 @@ func (o *WritableCircuitRequest) HasStatus() bool { return false } -// SetStatus gets a reference to the given PatchedWritableCircuitRequestStatus and assigns it to the Status field. -func (o *WritableCircuitRequest) SetStatus(v PatchedWritableCircuitRequestStatus) { +// SetStatus gets a reference to the given CircuitStatusValue and assigns it to the Status field. +func (o *WritableCircuitRequest) SetStatus(v CircuitStatusValue) { o.Status = &v } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableCircuitRequest) GetTenant() TenantRequest { +func (o *WritableCircuitRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -219,7 +220,7 @@ func (o *WritableCircuitRequest) GetTenant() TenantRequest { // 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 *WritableCircuitRequest) GetTenantOk() (*TenantRequest, bool) { +func (o *WritableCircuitRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -235,8 +236,8 @@ func (o *WritableCircuitRequest) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *WritableCircuitRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *WritableCircuitRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } @@ -507,6 +508,38 @@ func (o *WritableCircuitRequest) SetCustomFields(v map[string]interface{}) { o.CustomFields = v } +// GetAssignments returns the Assignments field value if set, zero value otherwise. +func (o *WritableCircuitRequest) GetAssignments() []BriefCircuitGroupAssignmentSerializerRequest { + if o == nil || IsNil(o.Assignments) { + var ret []BriefCircuitGroupAssignmentSerializerRequest + return ret + } + return o.Assignments +} + +// GetAssignmentsOk returns a tuple with the Assignments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WritableCircuitRequest) GetAssignmentsOk() ([]BriefCircuitGroupAssignmentSerializerRequest, bool) { + if o == nil || IsNil(o.Assignments) { + return nil, false + } + return o.Assignments, true +} + +// HasAssignments returns a boolean if a field has been set. +func (o *WritableCircuitRequest) HasAssignments() bool { + if o != nil && !IsNil(o.Assignments) { + return true + } + + return false +} + +// SetAssignments gets a reference to the given []BriefCircuitGroupAssignmentSerializerRequest and assigns it to the Assignments field. +func (o *WritableCircuitRequest) SetAssignments(v []BriefCircuitGroupAssignmentSerializerRequest) { + o.Assignments = v +} + func (o WritableCircuitRequest) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -550,6 +583,9 @@ func (o WritableCircuitRequest) ToMap() (map[string]interface{}, error) { if !IsNil(o.CustomFields) { toSerialize["custom_fields"] = o.CustomFields } + if !IsNil(o.Assignments) { + toSerialize["assignments"] = o.Assignments + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -608,6 +644,7 @@ func (o *WritableCircuitRequest) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "comments") delete(additionalProperties, "tags") delete(additionalProperties, "custom_fields") + delete(additionalProperties, "assignments") o.AdditionalProperties = additionalProperties } diff --git a/model_writable_cluster_request.go b/model_writable_cluster_request.go index 25402473e..7d5dd494a 100644 --- a/model_writable_cluster_request.go +++ b/model_writable_cluster_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,16 +20,16 @@ var _ MappedNullable = &WritableClusterRequest{} // WritableClusterRequest Adds support for custom fields and tags. type WritableClusterRequest struct { - Name string `json:"name"` - Type ClusterTypeRequest `json:"type"` - Group NullableClusterGroupRequest `json:"group,omitempty"` - Status *PatchedWritableClusterRequestStatus `json:"status,omitempty"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` - Site NullableSiteRequest `json:"site,omitempty"` - Description *string `json:"description,omitempty"` - Comments *string `json:"comments,omitempty"` - Tags []NestedTagRequest `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Name string `json:"name"` + Type BriefClusterTypeRequest `json:"type"` + Group NullableBriefClusterGroupRequest `json:"group,omitempty"` + Status *ClusterStatusValue `json:"status,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` + Site NullableBriefSiteRequest `json:"site,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -39,7 +39,7 @@ type _WritableClusterRequest WritableClusterRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewWritableClusterRequest(name string, type_ ClusterTypeRequest) *WritableClusterRequest { +func NewWritableClusterRequest(name string, type_ BriefClusterTypeRequest) *WritableClusterRequest { this := WritableClusterRequest{} this.Name = name this.Type = type_ @@ -79,9 +79,9 @@ func (o *WritableClusterRequest) SetName(v string) { } // GetType returns the Type field value -func (o *WritableClusterRequest) GetType() ClusterTypeRequest { +func (o *WritableClusterRequest) GetType() BriefClusterTypeRequest { if o == nil { - var ret ClusterTypeRequest + var ret BriefClusterTypeRequest return ret } @@ -90,7 +90,7 @@ func (o *WritableClusterRequest) GetType() ClusterTypeRequest { // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. -func (o *WritableClusterRequest) GetTypeOk() (*ClusterTypeRequest, bool) { +func (o *WritableClusterRequest) GetTypeOk() (*BriefClusterTypeRequest, bool) { if o == nil { return nil, false } @@ -98,14 +98,14 @@ func (o *WritableClusterRequest) GetTypeOk() (*ClusterTypeRequest, bool) { } // SetType sets field value -func (o *WritableClusterRequest) SetType(v ClusterTypeRequest) { +func (o *WritableClusterRequest) SetType(v BriefClusterTypeRequest) { o.Type = v } // GetGroup returns the Group field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableClusterRequest) GetGroup() ClusterGroupRequest { +func (o *WritableClusterRequest) GetGroup() BriefClusterGroupRequest { if o == nil || IsNil(o.Group.Get()) { - var ret ClusterGroupRequest + var ret BriefClusterGroupRequest return ret } return *o.Group.Get() @@ -114,7 +114,7 @@ func (o *WritableClusterRequest) GetGroup() ClusterGroupRequest { // GetGroupOk returns a tuple with the Group 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 *WritableClusterRequest) GetGroupOk() (*ClusterGroupRequest, bool) { +func (o *WritableClusterRequest) GetGroupOk() (*BriefClusterGroupRequest, bool) { if o == nil { return nil, false } @@ -130,8 +130,8 @@ func (o *WritableClusterRequest) HasGroup() bool { return false } -// SetGroup gets a reference to the given NullableClusterGroupRequest and assigns it to the Group field. -func (o *WritableClusterRequest) SetGroup(v ClusterGroupRequest) { +// SetGroup gets a reference to the given NullableBriefClusterGroupRequest and assigns it to the Group field. +func (o *WritableClusterRequest) SetGroup(v BriefClusterGroupRequest) { o.Group.Set(&v) } @@ -146,9 +146,9 @@ func (o *WritableClusterRequest) UnsetGroup() { } // GetStatus returns the Status field value if set, zero value otherwise. -func (o *WritableClusterRequest) GetStatus() PatchedWritableClusterRequestStatus { +func (o *WritableClusterRequest) GetStatus() ClusterStatusValue { if o == nil || IsNil(o.Status) { - var ret PatchedWritableClusterRequestStatus + var ret ClusterStatusValue return ret } return *o.Status @@ -156,7 +156,7 @@ func (o *WritableClusterRequest) GetStatus() PatchedWritableClusterRequestStatus // 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 *WritableClusterRequest) GetStatusOk() (*PatchedWritableClusterRequestStatus, bool) { +func (o *WritableClusterRequest) GetStatusOk() (*ClusterStatusValue, bool) { if o == nil || IsNil(o.Status) { return nil, false } @@ -172,15 +172,15 @@ func (o *WritableClusterRequest) HasStatus() bool { return false } -// SetStatus gets a reference to the given PatchedWritableClusterRequestStatus and assigns it to the Status field. -func (o *WritableClusterRequest) SetStatus(v PatchedWritableClusterRequestStatus) { +// SetStatus gets a reference to the given ClusterStatusValue and assigns it to the Status field. +func (o *WritableClusterRequest) SetStatus(v ClusterStatusValue) { o.Status = &v } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableClusterRequest) GetTenant() TenantRequest { +func (o *WritableClusterRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -189,7 +189,7 @@ func (o *WritableClusterRequest) GetTenant() TenantRequest { // 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 *WritableClusterRequest) GetTenantOk() (*TenantRequest, bool) { +func (o *WritableClusterRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -205,8 +205,8 @@ func (o *WritableClusterRequest) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *WritableClusterRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *WritableClusterRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } @@ -221,9 +221,9 @@ func (o *WritableClusterRequest) UnsetTenant() { } // GetSite returns the Site field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableClusterRequest) GetSite() SiteRequest { +func (o *WritableClusterRequest) GetSite() BriefSiteRequest { if o == nil || IsNil(o.Site.Get()) { - var ret SiteRequest + var ret BriefSiteRequest return ret } return *o.Site.Get() @@ -232,7 +232,7 @@ func (o *WritableClusterRequest) GetSite() SiteRequest { // GetSiteOk returns a tuple with the Site 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 *WritableClusterRequest) GetSiteOk() (*SiteRequest, bool) { +func (o *WritableClusterRequest) GetSiteOk() (*BriefSiteRequest, bool) { if o == nil { return nil, false } @@ -248,8 +248,8 @@ func (o *WritableClusterRequest) HasSite() bool { return false } -// SetSite gets a reference to the given NullableSiteRequest and assigns it to the Site field. -func (o *WritableClusterRequest) SetSite(v SiteRequest) { +// SetSite gets a reference to the given NullableBriefSiteRequest and assigns it to the Site field. +func (o *WritableClusterRequest) SetSite(v BriefSiteRequest) { o.Site.Set(&v) } diff --git a/model_writable_console_port_request.go b/model_writable_console_port_request.go index 60b31d0af..e2c9809e9 100644 --- a/model_writable_console_port_request.go +++ b/model_writable_console_port_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,9 +20,9 @@ var _ MappedNullable = &WritableConsolePortRequest{} // WritableConsolePortRequest Adds support for custom fields and tags. type WritableConsolePortRequest struct { - Device DeviceRequest `json:"device"` - Module NullableModuleRequest `json:"module,omitempty"` - Name string `json:"name"` + Device BriefDeviceRequest `json:"device"` + Module NullableBriefModuleRequest `json:"module,omitempty"` + Name string `json:"name"` // Physical label Label *string `json:"label,omitempty"` Type *PatchedWritableConsolePortRequestType `json:"type,omitempty"` @@ -41,7 +41,7 @@ type _WritableConsolePortRequest WritableConsolePortRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewWritableConsolePortRequest(device DeviceRequest, name string) *WritableConsolePortRequest { +func NewWritableConsolePortRequest(device BriefDeviceRequest, name string) *WritableConsolePortRequest { this := WritableConsolePortRequest{} this.Device = device this.Name = name @@ -57,9 +57,9 @@ func NewWritableConsolePortRequestWithDefaults() *WritableConsolePortRequest { } // GetDevice returns the Device field value -func (o *WritableConsolePortRequest) GetDevice() DeviceRequest { +func (o *WritableConsolePortRequest) GetDevice() BriefDeviceRequest { if o == nil { - var ret DeviceRequest + var ret BriefDeviceRequest return ret } @@ -68,7 +68,7 @@ func (o *WritableConsolePortRequest) GetDevice() DeviceRequest { // GetDeviceOk returns a tuple with the Device field value // and a boolean to check if the value has been set. -func (o *WritableConsolePortRequest) GetDeviceOk() (*DeviceRequest, bool) { +func (o *WritableConsolePortRequest) GetDeviceOk() (*BriefDeviceRequest, bool) { if o == nil { return nil, false } @@ -76,14 +76,14 @@ func (o *WritableConsolePortRequest) GetDeviceOk() (*DeviceRequest, bool) { } // SetDevice sets field value -func (o *WritableConsolePortRequest) SetDevice(v DeviceRequest) { +func (o *WritableConsolePortRequest) SetDevice(v BriefDeviceRequest) { o.Device = v } // GetModule returns the Module field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableConsolePortRequest) GetModule() ModuleRequest { +func (o *WritableConsolePortRequest) GetModule() BriefModuleRequest { if o == nil || IsNil(o.Module.Get()) { - var ret ModuleRequest + var ret BriefModuleRequest return ret } return *o.Module.Get() @@ -92,7 +92,7 @@ func (o *WritableConsolePortRequest) GetModule() ModuleRequest { // GetModuleOk returns a tuple with the Module 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 *WritableConsolePortRequest) GetModuleOk() (*ModuleRequest, bool) { +func (o *WritableConsolePortRequest) GetModuleOk() (*BriefModuleRequest, bool) { if o == nil { return nil, false } @@ -108,8 +108,8 @@ func (o *WritableConsolePortRequest) HasModule() bool { return false } -// SetModule gets a reference to the given NullableModuleRequest and assigns it to the Module field. -func (o *WritableConsolePortRequest) SetModule(v ModuleRequest) { +// SetModule gets a reference to the given NullableBriefModuleRequest and assigns it to the Module field. +func (o *WritableConsolePortRequest) SetModule(v BriefModuleRequest) { o.Module.Set(&v) } diff --git a/model_writable_console_port_template_request.go b/model_writable_console_port_template_request.go index afe73d3de..63980968d 100644 --- a/model_writable_console_port_template_request.go +++ b/model_writable_console_port_template_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,8 +20,8 @@ var _ MappedNullable = &WritableConsolePortTemplateRequest{} // WritableConsolePortTemplateRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 WritableConsolePortTemplateRequest struct { - DeviceType NullableDeviceTypeRequest `json:"device_type,omitempty"` - ModuleType NullableModuleTypeRequest `json:"module_type,omitempty"` + DeviceType NullableBriefDeviceTypeRequest `json:"device_type,omitempty"` + ModuleType NullableBriefModuleTypeRequest `json:"module_type,omitempty"` // {module} is accepted as a substitution for the module bay position when attached to a module type. Name string `json:"name"` // Physical label @@ -52,9 +52,9 @@ func NewWritableConsolePortTemplateRequestWithDefaults() *WritableConsolePortTem } // GetDeviceType returns the DeviceType field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableConsolePortTemplateRequest) GetDeviceType() DeviceTypeRequest { +func (o *WritableConsolePortTemplateRequest) GetDeviceType() BriefDeviceTypeRequest { if o == nil || IsNil(o.DeviceType.Get()) { - var ret DeviceTypeRequest + var ret BriefDeviceTypeRequest return ret } return *o.DeviceType.Get() @@ -63,7 +63,7 @@ func (o *WritableConsolePortTemplateRequest) GetDeviceType() DeviceTypeRequest { // GetDeviceTypeOk returns a tuple with the DeviceType 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 *WritableConsolePortTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool) { +func (o *WritableConsolePortTemplateRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool) { if o == nil { return nil, false } @@ -79,8 +79,8 @@ func (o *WritableConsolePortTemplateRequest) HasDeviceType() bool { return false } -// SetDeviceType gets a reference to the given NullableDeviceTypeRequest and assigns it to the DeviceType field. -func (o *WritableConsolePortTemplateRequest) SetDeviceType(v DeviceTypeRequest) { +// SetDeviceType gets a reference to the given NullableBriefDeviceTypeRequest and assigns it to the DeviceType field. +func (o *WritableConsolePortTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest) { o.DeviceType.Set(&v) } @@ -95,9 +95,9 @@ func (o *WritableConsolePortTemplateRequest) UnsetDeviceType() { } // GetModuleType returns the ModuleType field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableConsolePortTemplateRequest) GetModuleType() ModuleTypeRequest { +func (o *WritableConsolePortTemplateRequest) GetModuleType() BriefModuleTypeRequest { if o == nil || IsNil(o.ModuleType.Get()) { - var ret ModuleTypeRequest + var ret BriefModuleTypeRequest return ret } return *o.ModuleType.Get() @@ -106,7 +106,7 @@ func (o *WritableConsolePortTemplateRequest) GetModuleType() ModuleTypeRequest { // GetModuleTypeOk returns a tuple with the ModuleType 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 *WritableConsolePortTemplateRequest) GetModuleTypeOk() (*ModuleTypeRequest, bool) { +func (o *WritableConsolePortTemplateRequest) GetModuleTypeOk() (*BriefModuleTypeRequest, bool) { if o == nil { return nil, false } @@ -122,8 +122,8 @@ func (o *WritableConsolePortTemplateRequest) HasModuleType() bool { return false } -// SetModuleType gets a reference to the given NullableModuleTypeRequest and assigns it to the ModuleType field. -func (o *WritableConsolePortTemplateRequest) SetModuleType(v ModuleTypeRequest) { +// SetModuleType gets a reference to the given NullableBriefModuleTypeRequest and assigns it to the ModuleType field. +func (o *WritableConsolePortTemplateRequest) SetModuleType(v BriefModuleTypeRequest) { o.ModuleType.Set(&v) } diff --git a/model_writable_console_server_port_request.go b/model_writable_console_server_port_request.go index 8f1c21baa..306d1e675 100644 --- a/model_writable_console_server_port_request.go +++ b/model_writable_console_server_port_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,9 +20,9 @@ var _ MappedNullable = &WritableConsoleServerPortRequest{} // WritableConsoleServerPortRequest Adds support for custom fields and tags. type WritableConsoleServerPortRequest struct { - Device DeviceRequest `json:"device"` - Module NullableModuleRequest `json:"module,omitempty"` - Name string `json:"name"` + Device BriefDeviceRequest `json:"device"` + Module NullableBriefModuleRequest `json:"module,omitempty"` + Name string `json:"name"` // Physical label Label *string `json:"label,omitempty"` Type *PatchedWritableConsolePortRequestType `json:"type,omitempty"` @@ -41,7 +41,7 @@ type _WritableConsoleServerPortRequest WritableConsoleServerPortRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewWritableConsoleServerPortRequest(device DeviceRequest, name string) *WritableConsoleServerPortRequest { +func NewWritableConsoleServerPortRequest(device BriefDeviceRequest, name string) *WritableConsoleServerPortRequest { this := WritableConsoleServerPortRequest{} this.Device = device this.Name = name @@ -57,9 +57,9 @@ func NewWritableConsoleServerPortRequestWithDefaults() *WritableConsoleServerPor } // GetDevice returns the Device field value -func (o *WritableConsoleServerPortRequest) GetDevice() DeviceRequest { +func (o *WritableConsoleServerPortRequest) GetDevice() BriefDeviceRequest { if o == nil { - var ret DeviceRequest + var ret BriefDeviceRequest return ret } @@ -68,7 +68,7 @@ func (o *WritableConsoleServerPortRequest) GetDevice() DeviceRequest { // GetDeviceOk returns a tuple with the Device field value // and a boolean to check if the value has been set. -func (o *WritableConsoleServerPortRequest) GetDeviceOk() (*DeviceRequest, bool) { +func (o *WritableConsoleServerPortRequest) GetDeviceOk() (*BriefDeviceRequest, bool) { if o == nil { return nil, false } @@ -76,14 +76,14 @@ func (o *WritableConsoleServerPortRequest) GetDeviceOk() (*DeviceRequest, bool) } // SetDevice sets field value -func (o *WritableConsoleServerPortRequest) SetDevice(v DeviceRequest) { +func (o *WritableConsoleServerPortRequest) SetDevice(v BriefDeviceRequest) { o.Device = v } // GetModule returns the Module field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableConsoleServerPortRequest) GetModule() ModuleRequest { +func (o *WritableConsoleServerPortRequest) GetModule() BriefModuleRequest { if o == nil || IsNil(o.Module.Get()) { - var ret ModuleRequest + var ret BriefModuleRequest return ret } return *o.Module.Get() @@ -92,7 +92,7 @@ func (o *WritableConsoleServerPortRequest) GetModule() ModuleRequest { // GetModuleOk returns a tuple with the Module 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 *WritableConsoleServerPortRequest) GetModuleOk() (*ModuleRequest, bool) { +func (o *WritableConsoleServerPortRequest) GetModuleOk() (*BriefModuleRequest, bool) { if o == nil { return nil, false } @@ -108,8 +108,8 @@ func (o *WritableConsoleServerPortRequest) HasModule() bool { return false } -// SetModule gets a reference to the given NullableModuleRequest and assigns it to the Module field. -func (o *WritableConsoleServerPortRequest) SetModule(v ModuleRequest) { +// SetModule gets a reference to the given NullableBriefModuleRequest and assigns it to the Module field. +func (o *WritableConsoleServerPortRequest) SetModule(v BriefModuleRequest) { o.Module.Set(&v) } diff --git a/model_writable_console_server_port_template_request.go b/model_writable_console_server_port_template_request.go index 74ef741d9..9168d5a73 100644 --- a/model_writable_console_server_port_template_request.go +++ b/model_writable_console_server_port_template_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,8 +20,8 @@ var _ MappedNullable = &WritableConsoleServerPortTemplateRequest{} // WritableConsoleServerPortTemplateRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 WritableConsoleServerPortTemplateRequest struct { - DeviceType NullableDeviceTypeRequest `json:"device_type,omitempty"` - ModuleType NullableModuleTypeRequest `json:"module_type,omitempty"` + DeviceType NullableBriefDeviceTypeRequest `json:"device_type,omitempty"` + ModuleType NullableBriefModuleTypeRequest `json:"module_type,omitempty"` // {module} is accepted as a substitution for the module bay position when attached to a module type. Name string `json:"name"` // Physical label @@ -52,9 +52,9 @@ func NewWritableConsoleServerPortTemplateRequestWithDefaults() *WritableConsoleS } // GetDeviceType returns the DeviceType field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableConsoleServerPortTemplateRequest) GetDeviceType() DeviceTypeRequest { +func (o *WritableConsoleServerPortTemplateRequest) GetDeviceType() BriefDeviceTypeRequest { if o == nil || IsNil(o.DeviceType.Get()) { - var ret DeviceTypeRequest + var ret BriefDeviceTypeRequest return ret } return *o.DeviceType.Get() @@ -63,7 +63,7 @@ func (o *WritableConsoleServerPortTemplateRequest) GetDeviceType() DeviceTypeReq // GetDeviceTypeOk returns a tuple with the DeviceType 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 *WritableConsoleServerPortTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool) { +func (o *WritableConsoleServerPortTemplateRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool) { if o == nil { return nil, false } @@ -79,8 +79,8 @@ func (o *WritableConsoleServerPortTemplateRequest) HasDeviceType() bool { return false } -// SetDeviceType gets a reference to the given NullableDeviceTypeRequest and assigns it to the DeviceType field. -func (o *WritableConsoleServerPortTemplateRequest) SetDeviceType(v DeviceTypeRequest) { +// SetDeviceType gets a reference to the given NullableBriefDeviceTypeRequest and assigns it to the DeviceType field. +func (o *WritableConsoleServerPortTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest) { o.DeviceType.Set(&v) } @@ -95,9 +95,9 @@ func (o *WritableConsoleServerPortTemplateRequest) UnsetDeviceType() { } // GetModuleType returns the ModuleType field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableConsoleServerPortTemplateRequest) GetModuleType() ModuleTypeRequest { +func (o *WritableConsoleServerPortTemplateRequest) GetModuleType() BriefModuleTypeRequest { if o == nil || IsNil(o.ModuleType.Get()) { - var ret ModuleTypeRequest + var ret BriefModuleTypeRequest return ret } return *o.ModuleType.Get() @@ -106,7 +106,7 @@ func (o *WritableConsoleServerPortTemplateRequest) GetModuleType() ModuleTypeReq // GetModuleTypeOk returns a tuple with the ModuleType 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 *WritableConsoleServerPortTemplateRequest) GetModuleTypeOk() (*ModuleTypeRequest, bool) { +func (o *WritableConsoleServerPortTemplateRequest) GetModuleTypeOk() (*BriefModuleTypeRequest, bool) { if o == nil { return nil, false } @@ -122,8 +122,8 @@ func (o *WritableConsoleServerPortTemplateRequest) HasModuleType() bool { return false } -// SetModuleType gets a reference to the given NullableModuleTypeRequest and assigns it to the ModuleType field. -func (o *WritableConsoleServerPortTemplateRequest) SetModuleType(v ModuleTypeRequest) { +// SetModuleType gets a reference to the given NullableBriefModuleTypeRequest and assigns it to the ModuleType field. +func (o *WritableConsoleServerPortTemplateRequest) SetModuleType(v BriefModuleTypeRequest) { o.ModuleType.Set(&v) } diff --git a/model_writable_contact_assignment_request.go b/model_writable_contact_assignment_request.go index 39fc360da..0e033dd61 100644 --- a/model_writable_contact_assignment_request.go +++ b/model_writable_contact_assignment_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,13 +20,13 @@ var _ MappedNullable = &WritableContactAssignmentRequest{} // WritableContactAssignmentRequest Adds support for custom fields and tags. type WritableContactAssignmentRequest struct { - ObjectType string `json:"object_type"` - ObjectId int64 `json:"object_id"` - Contact ContactRequest `json:"contact"` - Role NullableContactRoleRequest `json:"role,omitempty"` - Priority *ContactAssignmentPriorityValue `json:"priority,omitempty"` - Tags []NestedTagRequest `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + ObjectType string `json:"object_type"` + ObjectId int64 `json:"object_id"` + Contact BriefContactRequest `json:"contact"` + Role NullableBriefContactRoleRequest `json:"role,omitempty"` + Priority *BriefCircuitGroupAssignmentSerializerPriorityValue `json:"priority,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -36,7 +36,7 @@ type _WritableContactAssignmentRequest WritableContactAssignmentRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewWritableContactAssignmentRequest(objectType string, objectId int64, contact ContactRequest) *WritableContactAssignmentRequest { +func NewWritableContactAssignmentRequest(objectType string, objectId int64, contact BriefContactRequest) *WritableContactAssignmentRequest { this := WritableContactAssignmentRequest{} this.ObjectType = objectType this.ObjectId = objectId @@ -101,9 +101,9 @@ func (o *WritableContactAssignmentRequest) SetObjectId(v int64) { } // GetContact returns the Contact field value -func (o *WritableContactAssignmentRequest) GetContact() ContactRequest { +func (o *WritableContactAssignmentRequest) GetContact() BriefContactRequest { if o == nil { - var ret ContactRequest + var ret BriefContactRequest return ret } @@ -112,7 +112,7 @@ func (o *WritableContactAssignmentRequest) GetContact() ContactRequest { // GetContactOk returns a tuple with the Contact field value // and a boolean to check if the value has been set. -func (o *WritableContactAssignmentRequest) GetContactOk() (*ContactRequest, bool) { +func (o *WritableContactAssignmentRequest) GetContactOk() (*BriefContactRequest, bool) { if o == nil { return nil, false } @@ -120,14 +120,14 @@ func (o *WritableContactAssignmentRequest) GetContactOk() (*ContactRequest, bool } // SetContact sets field value -func (o *WritableContactAssignmentRequest) SetContact(v ContactRequest) { +func (o *WritableContactAssignmentRequest) SetContact(v BriefContactRequest) { o.Contact = v } // GetRole returns the Role field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableContactAssignmentRequest) GetRole() ContactRoleRequest { +func (o *WritableContactAssignmentRequest) GetRole() BriefContactRoleRequest { if o == nil || IsNil(o.Role.Get()) { - var ret ContactRoleRequest + var ret BriefContactRoleRequest return ret } return *o.Role.Get() @@ -136,7 +136,7 @@ func (o *WritableContactAssignmentRequest) GetRole() ContactRoleRequest { // 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 *WritableContactAssignmentRequest) GetRoleOk() (*ContactRoleRequest, bool) { +func (o *WritableContactAssignmentRequest) GetRoleOk() (*BriefContactRoleRequest, bool) { if o == nil { return nil, false } @@ -152,8 +152,8 @@ func (o *WritableContactAssignmentRequest) HasRole() bool { return false } -// SetRole gets a reference to the given NullableContactRoleRequest and assigns it to the Role field. -func (o *WritableContactAssignmentRequest) SetRole(v ContactRoleRequest) { +// SetRole gets a reference to the given NullableBriefContactRoleRequest and assigns it to the Role field. +func (o *WritableContactAssignmentRequest) SetRole(v BriefContactRoleRequest) { o.Role.Set(&v) } @@ -168,9 +168,9 @@ func (o *WritableContactAssignmentRequest) UnsetRole() { } // GetPriority returns the Priority field value if set, zero value otherwise. -func (o *WritableContactAssignmentRequest) GetPriority() ContactAssignmentPriorityValue { +func (o *WritableContactAssignmentRequest) GetPriority() BriefCircuitGroupAssignmentSerializerPriorityValue { if o == nil || IsNil(o.Priority) { - var ret ContactAssignmentPriorityValue + var ret BriefCircuitGroupAssignmentSerializerPriorityValue return ret } return *o.Priority @@ -178,7 +178,7 @@ func (o *WritableContactAssignmentRequest) GetPriority() ContactAssignmentPriori // GetPriorityOk returns a tuple with the Priority field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *WritableContactAssignmentRequest) GetPriorityOk() (*ContactAssignmentPriorityValue, bool) { +func (o *WritableContactAssignmentRequest) GetPriorityOk() (*BriefCircuitGroupAssignmentSerializerPriorityValue, bool) { if o == nil || IsNil(o.Priority) { return nil, false } @@ -194,8 +194,8 @@ func (o *WritableContactAssignmentRequest) HasPriority() bool { return false } -// SetPriority gets a reference to the given ContactAssignmentPriorityValue and assigns it to the Priority field. -func (o *WritableContactAssignmentRequest) SetPriority(v ContactAssignmentPriorityValue) { +// SetPriority gets a reference to the given BriefCircuitGroupAssignmentSerializerPriorityValue and assigns it to the Priority field. +func (o *WritableContactAssignmentRequest) SetPriority(v BriefCircuitGroupAssignmentSerializerPriorityValue) { o.Priority = &v } diff --git a/model_writable_contact_group_request.go b/model_writable_contact_group_request.go index 18c9c5d25..fdeccbe16 100644 --- a/model_writable_contact_group_request.go +++ b/model_writable_contact_group_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_writable_custom_field_choice_set_request.go b/model_writable_custom_field_choice_set_request.go index 204ccffd1..3638e3bb9 100644 --- a/model_writable_custom_field_choice_set_request.go +++ b/model_writable_custom_field_choice_set_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_writable_custom_field_request.go b/model_writable_custom_field_request.go index 5429f4cc5..2c4d17ce3 100644 --- a/model_writable_custom_field_request.go +++ b/model_writable_custom_field_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -30,8 +30,10 @@ type WritableCustomFieldRequest struct { // Custom fields within the same group will be displayed together GroupName *string `json:"group_name,omitempty"` Description *string `json:"description,omitempty"` - // If true, this field is required when creating new objects or editing an existing object. + // This field is required when creating new objects or editing an existing object. Required *bool `json:"required,omitempty"` + // The value of this field must be unique for the assigned object + Unique *bool `json:"unique,omitempty"` // Weighting for search. Lower values are considered more important. Fields with a search weight of zero will be ignored. SearchWeight *int32 `json:"search_weight,omitempty"` FilterLogic *PatchedWritableCustomFieldRequestFilterLogic `json:"filter_logic,omitempty"` @@ -41,6 +43,8 @@ type WritableCustomFieldRequest struct { IsCloneable *bool `json:"is_cloneable,omitempty"` // Default value for the field (must be a JSON value). Encapsulate strings with double quotes (e.g. \"Foo\"). Default interface{} `json:"default,omitempty"` + // Filter the object selection choices using a query_params dict (must be a JSON value).Encapsulate strings with double quotes (e.g. \"Foo\"). + RelatedObjectFilter interface{} `json:"related_object_filter,omitempty"` // Fields with higher weights appear lower in a form. Weight *int32 `json:"weight,omitempty"` // Minimum allowed value (for numeric fields) @@ -48,9 +52,9 @@ type WritableCustomFieldRequest struct { // Maximum allowed value (for numeric fields) ValidationMaximum NullableInt64 `json:"validation_maximum,omitempty"` // Regular expression to enforce on text field values. Use ^ and $ to force matching of entire string. For example, ^[A-Z]{3}$ will limit values to exactly three uppercase letters. - ValidationRegex *string `json:"validation_regex,omitempty"` - ChoiceSet NullableCustomFieldChoiceSetRequest `json:"choice_set,omitempty"` - Comments *string `json:"comments,omitempty"` + ValidationRegex *string `json:"validation_regex,omitempty"` + ChoiceSet NullableBriefCustomFieldChoiceSetRequest `json:"choice_set,omitempty"` + Comments *string `json:"comments,omitempty"` AdditionalProperties map[string]interface{} } @@ -326,6 +330,38 @@ func (o *WritableCustomFieldRequest) SetRequired(v bool) { o.Required = &v } +// GetUnique returns the Unique field value if set, zero value otherwise. +func (o *WritableCustomFieldRequest) GetUnique() bool { + if o == nil || IsNil(o.Unique) { + var ret bool + return ret + } + return *o.Unique +} + +// GetUniqueOk returns a tuple with the Unique field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WritableCustomFieldRequest) GetUniqueOk() (*bool, bool) { + if o == nil || IsNil(o.Unique) { + return nil, false + } + return o.Unique, true +} + +// HasUnique returns a boolean if a field has been set. +func (o *WritableCustomFieldRequest) HasUnique() bool { + if o != nil && !IsNil(o.Unique) { + return true + } + + return false +} + +// SetUnique gets a reference to the given bool and assigns it to the Unique field. +func (o *WritableCustomFieldRequest) SetUnique(v bool) { + o.Unique = &v +} + // GetSearchWeight returns the SearchWeight field value if set, zero value otherwise. func (o *WritableCustomFieldRequest) GetSearchWeight() int32 { if o == nil || IsNil(o.SearchWeight) { @@ -519,6 +555,39 @@ func (o *WritableCustomFieldRequest) SetDefault(v interface{}) { o.Default = v } +// GetRelatedObjectFilter returns the RelatedObjectFilter field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *WritableCustomFieldRequest) GetRelatedObjectFilter() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.RelatedObjectFilter +} + +// GetRelatedObjectFilterOk returns a tuple with the RelatedObjectFilter 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 *WritableCustomFieldRequest) GetRelatedObjectFilterOk() (*interface{}, bool) { + if o == nil || IsNil(o.RelatedObjectFilter) { + return nil, false + } + return &o.RelatedObjectFilter, true +} + +// HasRelatedObjectFilter returns a boolean if a field has been set. +func (o *WritableCustomFieldRequest) HasRelatedObjectFilter() bool { + if o != nil && !IsNil(o.RelatedObjectFilter) { + return true + } + + return false +} + +// SetRelatedObjectFilter gets a reference to the given interface{} and assigns it to the RelatedObjectFilter field. +func (o *WritableCustomFieldRequest) SetRelatedObjectFilter(v interface{}) { + o.RelatedObjectFilter = v +} + // GetWeight returns the Weight field value if set, zero value otherwise. func (o *WritableCustomFieldRequest) GetWeight() int32 { if o == nil || IsNil(o.Weight) { @@ -670,9 +739,9 @@ func (o *WritableCustomFieldRequest) SetValidationRegex(v string) { } // GetChoiceSet returns the ChoiceSet field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableCustomFieldRequest) GetChoiceSet() CustomFieldChoiceSetRequest { +func (o *WritableCustomFieldRequest) GetChoiceSet() BriefCustomFieldChoiceSetRequest { if o == nil || IsNil(o.ChoiceSet.Get()) { - var ret CustomFieldChoiceSetRequest + var ret BriefCustomFieldChoiceSetRequest return ret } return *o.ChoiceSet.Get() @@ -681,7 +750,7 @@ func (o *WritableCustomFieldRequest) GetChoiceSet() CustomFieldChoiceSetRequest // GetChoiceSetOk returns a tuple with the ChoiceSet 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 *WritableCustomFieldRequest) GetChoiceSetOk() (*CustomFieldChoiceSetRequest, bool) { +func (o *WritableCustomFieldRequest) GetChoiceSetOk() (*BriefCustomFieldChoiceSetRequest, bool) { if o == nil { return nil, false } @@ -697,8 +766,8 @@ func (o *WritableCustomFieldRequest) HasChoiceSet() bool { return false } -// SetChoiceSet gets a reference to the given NullableCustomFieldChoiceSetRequest and assigns it to the ChoiceSet field. -func (o *WritableCustomFieldRequest) SetChoiceSet(v CustomFieldChoiceSetRequest) { +// SetChoiceSet gets a reference to the given NullableBriefCustomFieldChoiceSetRequest and assigns it to the ChoiceSet field. +func (o *WritableCustomFieldRequest) SetChoiceSet(v BriefCustomFieldChoiceSetRequest) { o.ChoiceSet.Set(&v) } @@ -774,6 +843,9 @@ func (o WritableCustomFieldRequest) ToMap() (map[string]interface{}, error) { if !IsNil(o.Required) { toSerialize["required"] = o.Required } + if !IsNil(o.Unique) { + toSerialize["unique"] = o.Unique + } if !IsNil(o.SearchWeight) { toSerialize["search_weight"] = o.SearchWeight } @@ -792,6 +864,9 @@ func (o WritableCustomFieldRequest) ToMap() (map[string]interface{}, error) { if o.Default != nil { toSerialize["default"] = o.Default } + if o.RelatedObjectFilter != nil { + toSerialize["related_object_filter"] = o.RelatedObjectFilter + } if !IsNil(o.Weight) { toSerialize["weight"] = o.Weight } @@ -862,12 +937,14 @@ func (o *WritableCustomFieldRequest) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "group_name") delete(additionalProperties, "description") delete(additionalProperties, "required") + delete(additionalProperties, "unique") delete(additionalProperties, "search_weight") delete(additionalProperties, "filter_logic") delete(additionalProperties, "ui_visible") delete(additionalProperties, "ui_editable") delete(additionalProperties, "is_cloneable") delete(additionalProperties, "default") + delete(additionalProperties, "related_object_filter") delete(additionalProperties, "weight") delete(additionalProperties, "validation_minimum") delete(additionalProperties, "validation_maximum") diff --git a/model_writable_data_source_request.go b/model_writable_data_source_request.go index d661bb97c..496f9b98a 100644 --- a/model_writable_data_source_request.go +++ b/model_writable_data_source_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -25,10 +25,10 @@ type WritableDataSourceRequest struct { SourceUrl string `json:"source_url"` Enabled *bool `json:"enabled,omitempty"` Description *string `json:"description,omitempty"` - Comments *string `json:"comments,omitempty"` Parameters interface{} `json:"parameters,omitempty"` // Patterns (one per line) matching files to ignore when syncing IgnoreRules *string `json:"ignore_rules,omitempty"` + Comments *string `json:"comments,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -191,38 +191,6 @@ func (o *WritableDataSourceRequest) SetDescription(v string) { o.Description = &v } -// GetComments returns the Comments field value if set, zero value otherwise. -func (o *WritableDataSourceRequest) GetComments() string { - if o == nil || IsNil(o.Comments) { - var ret string - return ret - } - return *o.Comments -} - -// GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *WritableDataSourceRequest) GetCommentsOk() (*string, bool) { - if o == nil || IsNil(o.Comments) { - return nil, false - } - return o.Comments, true -} - -// HasComments returns a boolean if a field has been set. -func (o *WritableDataSourceRequest) HasComments() bool { - if o != nil && !IsNil(o.Comments) { - return true - } - - return false -} - -// SetComments gets a reference to the given string and assigns it to the Comments field. -func (o *WritableDataSourceRequest) SetComments(v string) { - o.Comments = &v -} - // GetParameters returns the Parameters field value if set, zero value otherwise (both if not set or set to explicit null). func (o *WritableDataSourceRequest) GetParameters() interface{} { if o == nil { @@ -288,6 +256,38 @@ func (o *WritableDataSourceRequest) SetIgnoreRules(v string) { o.IgnoreRules = &v } +// GetComments returns the Comments field value if set, zero value otherwise. +func (o *WritableDataSourceRequest) GetComments() string { + if o == nil || IsNil(o.Comments) { + var ret string + return ret + } + return *o.Comments +} + +// GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WritableDataSourceRequest) GetCommentsOk() (*string, bool) { + if o == nil || IsNil(o.Comments) { + return nil, false + } + return o.Comments, true +} + +// HasComments returns a boolean if a field has been set. +func (o *WritableDataSourceRequest) HasComments() bool { + if o != nil && !IsNil(o.Comments) { + return true + } + + return false +} + +// SetComments gets a reference to the given string and assigns it to the Comments field. +func (o *WritableDataSourceRequest) SetComments(v string) { + o.Comments = &v +} + // GetCustomFields returns the CustomFields field value if set, zero value otherwise. func (o *WritableDataSourceRequest) GetCustomFields() map[string]interface{} { if o == nil || IsNil(o.CustomFields) { @@ -339,15 +339,15 @@ func (o WritableDataSourceRequest) ToMap() (map[string]interface{}, error) { if !IsNil(o.Description) { toSerialize["description"] = o.Description } - if !IsNil(o.Comments) { - toSerialize["comments"] = o.Comments - } if o.Parameters != nil { toSerialize["parameters"] = o.Parameters } if !IsNil(o.IgnoreRules) { toSerialize["ignore_rules"] = o.IgnoreRules } + if !IsNil(o.Comments) { + toSerialize["comments"] = o.Comments + } if !IsNil(o.CustomFields) { toSerialize["custom_fields"] = o.CustomFields } @@ -401,9 +401,9 @@ func (o *WritableDataSourceRequest) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "source_url") delete(additionalProperties, "enabled") delete(additionalProperties, "description") - delete(additionalProperties, "comments") delete(additionalProperties, "parameters") delete(additionalProperties, "ignore_rules") + delete(additionalProperties, "comments") delete(additionalProperties, "custom_fields") o.AdditionalProperties = additionalProperties } diff --git a/model_writable_device_type_request.go b/model_writable_device_type_request.go index 4275e29a1..566778549 100644 --- a/model_writable_device_type_request.go +++ b/model_writable_device_type_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,27 +21,27 @@ var _ MappedNullable = &WritableDeviceTypeRequest{} // WritableDeviceTypeRequest Adds support for custom fields and tags. type WritableDeviceTypeRequest struct { - Manufacturer ManufacturerRequest `json:"manufacturer"` - DefaultPlatform NullablePlatformRequest `json:"default_platform,omitempty"` - Model string `json:"model"` - Slug string `json:"slug"` + Manufacturer BriefManufacturerRequest `json:"manufacturer"` + DefaultPlatform NullableBriefPlatformRequest `json:"default_platform,omitempty"` + Model string `json:"model"` + Slug string `json:"slug"` // Discrete part number (optional) PartNumber *string `json:"part_number,omitempty"` UHeight *float64 `json:"u_height,omitempty"` // Devices of this type are excluded when calculating rack utilization. ExcludeFromUtilization *bool `json:"exclude_from_utilization,omitempty"` // Device consumes both front and rear rack faces. - IsFullDepth *bool `json:"is_full_depth,omitempty"` - SubdeviceRole *ParentChildStatus1 `json:"subdevice_role,omitempty"` - Airflow *DeviceAirflowValue `json:"airflow,omitempty"` - Weight NullableFloat64 `json:"weight,omitempty"` - WeightUnit *PatchedWritableDeviceTypeRequestWeightUnit `json:"weight_unit,omitempty"` - FrontImage **os.File `json:"front_image,omitempty"` - RearImage **os.File `json:"rear_image,omitempty"` - Description *string `json:"description,omitempty"` - Comments *string `json:"comments,omitempty"` - Tags []NestedTagRequest `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + IsFullDepth *bool `json:"is_full_depth,omitempty"` + SubdeviceRole *ParentChildStatus1 `json:"subdevice_role,omitempty"` + Airflow *DeviceAirflowValue `json:"airflow,omitempty"` + Weight NullableFloat64 `json:"weight,omitempty"` + WeightUnit *DeviceTypeWeightUnitValue `json:"weight_unit,omitempty"` + FrontImage **os.File `json:"front_image,omitempty"` + RearImage **os.File `json:"rear_image,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -51,7 +51,7 @@ type _WritableDeviceTypeRequest WritableDeviceTypeRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewWritableDeviceTypeRequest(manufacturer ManufacturerRequest, model string, slug string) *WritableDeviceTypeRequest { +func NewWritableDeviceTypeRequest(manufacturer BriefManufacturerRequest, model string, slug string) *WritableDeviceTypeRequest { this := WritableDeviceTypeRequest{} this.Manufacturer = manufacturer this.Model = model @@ -72,9 +72,9 @@ func NewWritableDeviceTypeRequestWithDefaults() *WritableDeviceTypeRequest { } // GetManufacturer returns the Manufacturer field value -func (o *WritableDeviceTypeRequest) GetManufacturer() ManufacturerRequest { +func (o *WritableDeviceTypeRequest) GetManufacturer() BriefManufacturerRequest { if o == nil { - var ret ManufacturerRequest + var ret BriefManufacturerRequest return ret } @@ -83,7 +83,7 @@ func (o *WritableDeviceTypeRequest) GetManufacturer() ManufacturerRequest { // GetManufacturerOk returns a tuple with the Manufacturer field value // and a boolean to check if the value has been set. -func (o *WritableDeviceTypeRequest) GetManufacturerOk() (*ManufacturerRequest, bool) { +func (o *WritableDeviceTypeRequest) GetManufacturerOk() (*BriefManufacturerRequest, bool) { if o == nil { return nil, false } @@ -91,14 +91,14 @@ func (o *WritableDeviceTypeRequest) GetManufacturerOk() (*ManufacturerRequest, b } // SetManufacturer sets field value -func (o *WritableDeviceTypeRequest) SetManufacturer(v ManufacturerRequest) { +func (o *WritableDeviceTypeRequest) SetManufacturer(v BriefManufacturerRequest) { o.Manufacturer = v } // GetDefaultPlatform returns the DefaultPlatform field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableDeviceTypeRequest) GetDefaultPlatform() PlatformRequest { +func (o *WritableDeviceTypeRequest) GetDefaultPlatform() BriefPlatformRequest { if o == nil || IsNil(o.DefaultPlatform.Get()) { - var ret PlatformRequest + var ret BriefPlatformRequest return ret } return *o.DefaultPlatform.Get() @@ -107,7 +107,7 @@ func (o *WritableDeviceTypeRequest) GetDefaultPlatform() PlatformRequest { // GetDefaultPlatformOk returns a tuple with the DefaultPlatform 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 *WritableDeviceTypeRequest) GetDefaultPlatformOk() (*PlatformRequest, bool) { +func (o *WritableDeviceTypeRequest) GetDefaultPlatformOk() (*BriefPlatformRequest, bool) { if o == nil { return nil, false } @@ -123,8 +123,8 @@ func (o *WritableDeviceTypeRequest) HasDefaultPlatform() bool { return false } -// SetDefaultPlatform gets a reference to the given NullablePlatformRequest and assigns it to the DefaultPlatform field. -func (o *WritableDeviceTypeRequest) SetDefaultPlatform(v PlatformRequest) { +// SetDefaultPlatform gets a reference to the given NullableBriefPlatformRequest and assigns it to the DefaultPlatform field. +func (o *WritableDeviceTypeRequest) SetDefaultPlatform(v BriefPlatformRequest) { o.DefaultPlatform.Set(&v) } @@ -422,9 +422,9 @@ func (o *WritableDeviceTypeRequest) UnsetWeight() { } // GetWeightUnit returns the WeightUnit field value if set, zero value otherwise. -func (o *WritableDeviceTypeRequest) GetWeightUnit() PatchedWritableDeviceTypeRequestWeightUnit { +func (o *WritableDeviceTypeRequest) GetWeightUnit() DeviceTypeWeightUnitValue { if o == nil || IsNil(o.WeightUnit) { - var ret PatchedWritableDeviceTypeRequestWeightUnit + var ret DeviceTypeWeightUnitValue return ret } return *o.WeightUnit @@ -432,7 +432,7 @@ func (o *WritableDeviceTypeRequest) GetWeightUnit() PatchedWritableDeviceTypeReq // GetWeightUnitOk returns a tuple with the WeightUnit field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *WritableDeviceTypeRequest) GetWeightUnitOk() (*PatchedWritableDeviceTypeRequestWeightUnit, bool) { +func (o *WritableDeviceTypeRequest) GetWeightUnitOk() (*DeviceTypeWeightUnitValue, bool) { if o == nil || IsNil(o.WeightUnit) { return nil, false } @@ -448,8 +448,8 @@ func (o *WritableDeviceTypeRequest) HasWeightUnit() bool { return false } -// SetWeightUnit gets a reference to the given PatchedWritableDeviceTypeRequestWeightUnit and assigns it to the WeightUnit field. -func (o *WritableDeviceTypeRequest) SetWeightUnit(v PatchedWritableDeviceTypeRequestWeightUnit) { +// SetWeightUnit gets a reference to the given DeviceTypeWeightUnitValue and assigns it to the WeightUnit field. +func (o *WritableDeviceTypeRequest) SetWeightUnit(v DeviceTypeWeightUnitValue) { o.WeightUnit = &v } diff --git a/model_writable_device_with_config_context_request.go b/model_writable_device_with_config_context_request.go index ee7fcd1a6..5a68a6359 100644 --- a/model_writable_device_with_config_context_request.go +++ b/model_writable_device_with_config_context_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,37 +20,37 @@ var _ MappedNullable = &WritableDeviceWithConfigContextRequest{} // WritableDeviceWithConfigContextRequest Adds support for custom fields and tags. type WritableDeviceWithConfigContextRequest struct { - Name NullableString `json:"name,omitempty"` - DeviceType DeviceTypeRequest `json:"device_type"` - Role DeviceRoleRequest `json:"role"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` - Platform NullablePlatformRequest `json:"platform,omitempty"` + Name NullableString `json:"name,omitempty"` + DeviceType BriefDeviceTypeRequest `json:"device_type"` + Role BriefDeviceRoleRequest `json:"role"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` + Platform NullableBriefPlatformRequest `json:"platform,omitempty"` // Chassis serial number, assigned by the manufacturer Serial *string `json:"serial,omitempty"` // A unique tag used to identify this device - AssetTag NullableString `json:"asset_tag,omitempty"` - Site SiteRequest `json:"site"` - Location NullableLocationRequest `json:"location,omitempty"` - Rack NullableRackRequest `json:"rack,omitempty"` - Position NullableFloat64 `json:"position,omitempty"` - Face RackFace1 `json:"face"` + AssetTag NullableString `json:"asset_tag,omitempty"` + Site BriefSiteRequest `json:"site"` + Location NullableBriefLocationRequest `json:"location,omitempty"` + Rack NullableBriefRackRequest `json:"rack,omitempty"` + Position NullableFloat64 `json:"position,omitempty"` + Face RackFace1 `json:"face"` // GPS coordinate in decimal format (xx.yyyyyy) Latitude NullableFloat64 `json:"latitude,omitempty"` // GPS coordinate in decimal format (xx.yyyyyy) - Longitude NullableFloat64 `json:"longitude,omitempty"` - Status *DeviceStatusValue `json:"status,omitempty"` - Airflow *DeviceAirflowValue `json:"airflow,omitempty"` - PrimaryIp4 NullableIPAddressRequest `json:"primary_ip4,omitempty"` - PrimaryIp6 NullableIPAddressRequest `json:"primary_ip6,omitempty"` - OobIp NullableIPAddressRequest `json:"oob_ip,omitempty"` - Cluster NullableClusterRequest `json:"cluster,omitempty"` - VirtualChassis NullableVirtualChassisRequest `json:"virtual_chassis,omitempty"` - VcPosition NullableInt32 `json:"vc_position,omitempty"` + Longitude NullableFloat64 `json:"longitude,omitempty"` + Status *DeviceStatusValue `json:"status,omitempty"` + Airflow *DeviceAirflowValue `json:"airflow,omitempty"` + PrimaryIp4 NullableBriefIPAddressRequest `json:"primary_ip4,omitempty"` + PrimaryIp6 NullableBriefIPAddressRequest `json:"primary_ip6,omitempty"` + OobIp NullableBriefIPAddressRequest `json:"oob_ip,omitempty"` + Cluster NullableBriefClusterRequest `json:"cluster,omitempty"` + VirtualChassis NullableBriefVirtualChassisRequest `json:"virtual_chassis,omitempty"` + VcPosition NullableInt32 `json:"vc_position,omitempty"` // Virtual chassis master election priority - VcPriority NullableInt32 `json:"vc_priority,omitempty"` - Description *string `json:"description,omitempty"` - Comments *string `json:"comments,omitempty"` - ConfigTemplate NullableConfigTemplateRequest `json:"config_template,omitempty"` + VcPriority NullableInt32 `json:"vc_priority,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + ConfigTemplate NullableBriefConfigTemplateRequest `json:"config_template,omitempty"` // Local config context data takes precedence over source contexts in the final rendered config context LocalContextData interface{} `json:"local_context_data,omitempty"` Tags []NestedTagRequest `json:"tags,omitempty"` @@ -64,7 +64,7 @@ type _WritableDeviceWithConfigContextRequest WritableDeviceWithConfigContextRequ // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewWritableDeviceWithConfigContextRequest(deviceType DeviceTypeRequest, role DeviceRoleRequest, site SiteRequest, face RackFace1) *WritableDeviceWithConfigContextRequest { +func NewWritableDeviceWithConfigContextRequest(deviceType BriefDeviceTypeRequest, role BriefDeviceRoleRequest, site BriefSiteRequest, face RackFace1) *WritableDeviceWithConfigContextRequest { this := WritableDeviceWithConfigContextRequest{} this.DeviceType = deviceType this.Role = role @@ -125,9 +125,9 @@ func (o *WritableDeviceWithConfigContextRequest) UnsetName() { } // GetDeviceType returns the DeviceType field value -func (o *WritableDeviceWithConfigContextRequest) GetDeviceType() DeviceTypeRequest { +func (o *WritableDeviceWithConfigContextRequest) GetDeviceType() BriefDeviceTypeRequest { if o == nil { - var ret DeviceTypeRequest + var ret BriefDeviceTypeRequest return ret } @@ -136,7 +136,7 @@ func (o *WritableDeviceWithConfigContextRequest) GetDeviceType() DeviceTypeReque // GetDeviceTypeOk returns a tuple with the DeviceType field value // and a boolean to check if the value has been set. -func (o *WritableDeviceWithConfigContextRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool) { +func (o *WritableDeviceWithConfigContextRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool) { if o == nil { return nil, false } @@ -144,14 +144,14 @@ func (o *WritableDeviceWithConfigContextRequest) GetDeviceTypeOk() (*DeviceTypeR } // SetDeviceType sets field value -func (o *WritableDeviceWithConfigContextRequest) SetDeviceType(v DeviceTypeRequest) { +func (o *WritableDeviceWithConfigContextRequest) SetDeviceType(v BriefDeviceTypeRequest) { o.DeviceType = v } // GetRole returns the Role field value -func (o *WritableDeviceWithConfigContextRequest) GetRole() DeviceRoleRequest { +func (o *WritableDeviceWithConfigContextRequest) GetRole() BriefDeviceRoleRequest { if o == nil { - var ret DeviceRoleRequest + var ret BriefDeviceRoleRequest return ret } @@ -160,7 +160,7 @@ func (o *WritableDeviceWithConfigContextRequest) GetRole() DeviceRoleRequest { // GetRoleOk returns a tuple with the Role field value // and a boolean to check if the value has been set. -func (o *WritableDeviceWithConfigContextRequest) GetRoleOk() (*DeviceRoleRequest, bool) { +func (o *WritableDeviceWithConfigContextRequest) GetRoleOk() (*BriefDeviceRoleRequest, bool) { if o == nil { return nil, false } @@ -168,14 +168,14 @@ func (o *WritableDeviceWithConfigContextRequest) GetRoleOk() (*DeviceRoleRequest } // SetRole sets field value -func (o *WritableDeviceWithConfigContextRequest) SetRole(v DeviceRoleRequest) { +func (o *WritableDeviceWithConfigContextRequest) SetRole(v BriefDeviceRoleRequest) { o.Role = v } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableDeviceWithConfigContextRequest) GetTenant() TenantRequest { +func (o *WritableDeviceWithConfigContextRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -184,7 +184,7 @@ func (o *WritableDeviceWithConfigContextRequest) GetTenant() TenantRequest { // 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 *WritableDeviceWithConfigContextRequest) GetTenantOk() (*TenantRequest, bool) { +func (o *WritableDeviceWithConfigContextRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -200,8 +200,8 @@ func (o *WritableDeviceWithConfigContextRequest) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *WritableDeviceWithConfigContextRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *WritableDeviceWithConfigContextRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } @@ -216,9 +216,9 @@ func (o *WritableDeviceWithConfigContextRequest) UnsetTenant() { } // GetPlatform returns the Platform field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableDeviceWithConfigContextRequest) GetPlatform() PlatformRequest { +func (o *WritableDeviceWithConfigContextRequest) GetPlatform() BriefPlatformRequest { if o == nil || IsNil(o.Platform.Get()) { - var ret PlatformRequest + var ret BriefPlatformRequest return ret } return *o.Platform.Get() @@ -227,7 +227,7 @@ func (o *WritableDeviceWithConfigContextRequest) GetPlatform() PlatformRequest { // GetPlatformOk returns a tuple with the Platform 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 *WritableDeviceWithConfigContextRequest) GetPlatformOk() (*PlatformRequest, bool) { +func (o *WritableDeviceWithConfigContextRequest) GetPlatformOk() (*BriefPlatformRequest, bool) { if o == nil { return nil, false } @@ -243,8 +243,8 @@ func (o *WritableDeviceWithConfigContextRequest) HasPlatform() bool { return false } -// SetPlatform gets a reference to the given NullablePlatformRequest and assigns it to the Platform field. -func (o *WritableDeviceWithConfigContextRequest) SetPlatform(v PlatformRequest) { +// SetPlatform gets a reference to the given NullableBriefPlatformRequest and assigns it to the Platform field. +func (o *WritableDeviceWithConfigContextRequest) SetPlatform(v BriefPlatformRequest) { o.Platform.Set(&v) } @@ -334,9 +334,9 @@ func (o *WritableDeviceWithConfigContextRequest) UnsetAssetTag() { } // GetSite returns the Site field value -func (o *WritableDeviceWithConfigContextRequest) GetSite() SiteRequest { +func (o *WritableDeviceWithConfigContextRequest) GetSite() BriefSiteRequest { if o == nil { - var ret SiteRequest + var ret BriefSiteRequest return ret } @@ -345,7 +345,7 @@ func (o *WritableDeviceWithConfigContextRequest) GetSite() SiteRequest { // GetSiteOk returns a tuple with the Site field value // and a boolean to check if the value has been set. -func (o *WritableDeviceWithConfigContextRequest) GetSiteOk() (*SiteRequest, bool) { +func (o *WritableDeviceWithConfigContextRequest) GetSiteOk() (*BriefSiteRequest, bool) { if o == nil { return nil, false } @@ -353,14 +353,14 @@ func (o *WritableDeviceWithConfigContextRequest) GetSiteOk() (*SiteRequest, bool } // SetSite sets field value -func (o *WritableDeviceWithConfigContextRequest) SetSite(v SiteRequest) { +func (o *WritableDeviceWithConfigContextRequest) SetSite(v BriefSiteRequest) { o.Site = v } // GetLocation returns the Location field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableDeviceWithConfigContextRequest) GetLocation() LocationRequest { +func (o *WritableDeviceWithConfigContextRequest) GetLocation() BriefLocationRequest { if o == nil || IsNil(o.Location.Get()) { - var ret LocationRequest + var ret BriefLocationRequest return ret } return *o.Location.Get() @@ -369,7 +369,7 @@ func (o *WritableDeviceWithConfigContextRequest) GetLocation() LocationRequest { // GetLocationOk returns a tuple with the Location 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 *WritableDeviceWithConfigContextRequest) GetLocationOk() (*LocationRequest, bool) { +func (o *WritableDeviceWithConfigContextRequest) GetLocationOk() (*BriefLocationRequest, bool) { if o == nil { return nil, false } @@ -385,8 +385,8 @@ func (o *WritableDeviceWithConfigContextRequest) HasLocation() bool { return false } -// SetLocation gets a reference to the given NullableLocationRequest and assigns it to the Location field. -func (o *WritableDeviceWithConfigContextRequest) SetLocation(v LocationRequest) { +// SetLocation gets a reference to the given NullableBriefLocationRequest and assigns it to the Location field. +func (o *WritableDeviceWithConfigContextRequest) SetLocation(v BriefLocationRequest) { o.Location.Set(&v) } @@ -401,9 +401,9 @@ func (o *WritableDeviceWithConfigContextRequest) UnsetLocation() { } // GetRack returns the Rack field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableDeviceWithConfigContextRequest) GetRack() RackRequest { +func (o *WritableDeviceWithConfigContextRequest) GetRack() BriefRackRequest { if o == nil || IsNil(o.Rack.Get()) { - var ret RackRequest + var ret BriefRackRequest return ret } return *o.Rack.Get() @@ -412,7 +412,7 @@ func (o *WritableDeviceWithConfigContextRequest) GetRack() RackRequest { // GetRackOk returns a tuple with the Rack 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 *WritableDeviceWithConfigContextRequest) GetRackOk() (*RackRequest, bool) { +func (o *WritableDeviceWithConfigContextRequest) GetRackOk() (*BriefRackRequest, bool) { if o == nil { return nil, false } @@ -428,8 +428,8 @@ func (o *WritableDeviceWithConfigContextRequest) HasRack() bool { return false } -// SetRack gets a reference to the given NullableRackRequest and assigns it to the Rack field. -func (o *WritableDeviceWithConfigContextRequest) SetRack(v RackRequest) { +// SetRack gets a reference to the given NullableBriefRackRequest and assigns it to the Rack field. +func (o *WritableDeviceWithConfigContextRequest) SetRack(v BriefRackRequest) { o.Rack.Set(&v) } @@ -661,9 +661,9 @@ func (o *WritableDeviceWithConfigContextRequest) SetAirflow(v DeviceAirflowValue } // GetPrimaryIp4 returns the PrimaryIp4 field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableDeviceWithConfigContextRequest) GetPrimaryIp4() IPAddressRequest { +func (o *WritableDeviceWithConfigContextRequest) GetPrimaryIp4() BriefIPAddressRequest { if o == nil || IsNil(o.PrimaryIp4.Get()) { - var ret IPAddressRequest + var ret BriefIPAddressRequest return ret } return *o.PrimaryIp4.Get() @@ -672,7 +672,7 @@ func (o *WritableDeviceWithConfigContextRequest) GetPrimaryIp4() IPAddressReques // 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 *WritableDeviceWithConfigContextRequest) GetPrimaryIp4Ok() (*IPAddressRequest, bool) { +func (o *WritableDeviceWithConfigContextRequest) GetPrimaryIp4Ok() (*BriefIPAddressRequest, bool) { if o == nil { return nil, false } @@ -688,8 +688,8 @@ func (o *WritableDeviceWithConfigContextRequest) HasPrimaryIp4() bool { return false } -// SetPrimaryIp4 gets a reference to the given NullableIPAddressRequest and assigns it to the PrimaryIp4 field. -func (o *WritableDeviceWithConfigContextRequest) SetPrimaryIp4(v IPAddressRequest) { +// SetPrimaryIp4 gets a reference to the given NullableBriefIPAddressRequest and assigns it to the PrimaryIp4 field. +func (o *WritableDeviceWithConfigContextRequest) SetPrimaryIp4(v BriefIPAddressRequest) { o.PrimaryIp4.Set(&v) } @@ -704,9 +704,9 @@ func (o *WritableDeviceWithConfigContextRequest) UnsetPrimaryIp4() { } // GetPrimaryIp6 returns the PrimaryIp6 field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableDeviceWithConfigContextRequest) GetPrimaryIp6() IPAddressRequest { +func (o *WritableDeviceWithConfigContextRequest) GetPrimaryIp6() BriefIPAddressRequest { if o == nil || IsNil(o.PrimaryIp6.Get()) { - var ret IPAddressRequest + var ret BriefIPAddressRequest return ret } return *o.PrimaryIp6.Get() @@ -715,7 +715,7 @@ func (o *WritableDeviceWithConfigContextRequest) GetPrimaryIp6() IPAddressReques // 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 *WritableDeviceWithConfigContextRequest) GetPrimaryIp6Ok() (*IPAddressRequest, bool) { +func (o *WritableDeviceWithConfigContextRequest) GetPrimaryIp6Ok() (*BriefIPAddressRequest, bool) { if o == nil { return nil, false } @@ -731,8 +731,8 @@ func (o *WritableDeviceWithConfigContextRequest) HasPrimaryIp6() bool { return false } -// SetPrimaryIp6 gets a reference to the given NullableIPAddressRequest and assigns it to the PrimaryIp6 field. -func (o *WritableDeviceWithConfigContextRequest) SetPrimaryIp6(v IPAddressRequest) { +// SetPrimaryIp6 gets a reference to the given NullableBriefIPAddressRequest and assigns it to the PrimaryIp6 field. +func (o *WritableDeviceWithConfigContextRequest) SetPrimaryIp6(v BriefIPAddressRequest) { o.PrimaryIp6.Set(&v) } @@ -747,9 +747,9 @@ func (o *WritableDeviceWithConfigContextRequest) UnsetPrimaryIp6() { } // GetOobIp returns the OobIp field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableDeviceWithConfigContextRequest) GetOobIp() IPAddressRequest { +func (o *WritableDeviceWithConfigContextRequest) GetOobIp() BriefIPAddressRequest { if o == nil || IsNil(o.OobIp.Get()) { - var ret IPAddressRequest + var ret BriefIPAddressRequest return ret } return *o.OobIp.Get() @@ -758,7 +758,7 @@ func (o *WritableDeviceWithConfigContextRequest) GetOobIp() IPAddressRequest { // GetOobIpOk returns a tuple with the OobIp 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 *WritableDeviceWithConfigContextRequest) GetOobIpOk() (*IPAddressRequest, bool) { +func (o *WritableDeviceWithConfigContextRequest) GetOobIpOk() (*BriefIPAddressRequest, bool) { if o == nil { return nil, false } @@ -774,8 +774,8 @@ func (o *WritableDeviceWithConfigContextRequest) HasOobIp() bool { return false } -// SetOobIp gets a reference to the given NullableIPAddressRequest and assigns it to the OobIp field. -func (o *WritableDeviceWithConfigContextRequest) SetOobIp(v IPAddressRequest) { +// SetOobIp gets a reference to the given NullableBriefIPAddressRequest and assigns it to the OobIp field. +func (o *WritableDeviceWithConfigContextRequest) SetOobIp(v BriefIPAddressRequest) { o.OobIp.Set(&v) } @@ -790,9 +790,9 @@ func (o *WritableDeviceWithConfigContextRequest) UnsetOobIp() { } // GetCluster returns the Cluster field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableDeviceWithConfigContextRequest) GetCluster() ClusterRequest { +func (o *WritableDeviceWithConfigContextRequest) GetCluster() BriefClusterRequest { if o == nil || IsNil(o.Cluster.Get()) { - var ret ClusterRequest + var ret BriefClusterRequest return ret } return *o.Cluster.Get() @@ -801,7 +801,7 @@ func (o *WritableDeviceWithConfigContextRequest) GetCluster() ClusterRequest { // GetClusterOk returns a tuple with the Cluster 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 *WritableDeviceWithConfigContextRequest) GetClusterOk() (*ClusterRequest, bool) { +func (o *WritableDeviceWithConfigContextRequest) GetClusterOk() (*BriefClusterRequest, bool) { if o == nil { return nil, false } @@ -817,8 +817,8 @@ func (o *WritableDeviceWithConfigContextRequest) HasCluster() bool { return false } -// SetCluster gets a reference to the given NullableClusterRequest and assigns it to the Cluster field. -func (o *WritableDeviceWithConfigContextRequest) SetCluster(v ClusterRequest) { +// SetCluster gets a reference to the given NullableBriefClusterRequest and assigns it to the Cluster field. +func (o *WritableDeviceWithConfigContextRequest) SetCluster(v BriefClusterRequest) { o.Cluster.Set(&v) } @@ -833,9 +833,9 @@ func (o *WritableDeviceWithConfigContextRequest) UnsetCluster() { } // GetVirtualChassis returns the VirtualChassis field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableDeviceWithConfigContextRequest) GetVirtualChassis() VirtualChassisRequest { +func (o *WritableDeviceWithConfigContextRequest) GetVirtualChassis() BriefVirtualChassisRequest { if o == nil || IsNil(o.VirtualChassis.Get()) { - var ret VirtualChassisRequest + var ret BriefVirtualChassisRequest return ret } return *o.VirtualChassis.Get() @@ -844,7 +844,7 @@ func (o *WritableDeviceWithConfigContextRequest) GetVirtualChassis() VirtualChas // GetVirtualChassisOk returns a tuple with the VirtualChassis 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 *WritableDeviceWithConfigContextRequest) GetVirtualChassisOk() (*VirtualChassisRequest, bool) { +func (o *WritableDeviceWithConfigContextRequest) GetVirtualChassisOk() (*BriefVirtualChassisRequest, bool) { if o == nil { return nil, false } @@ -860,8 +860,8 @@ func (o *WritableDeviceWithConfigContextRequest) HasVirtualChassis() bool { return false } -// SetVirtualChassis gets a reference to the given NullableVirtualChassisRequest and assigns it to the VirtualChassis field. -func (o *WritableDeviceWithConfigContextRequest) SetVirtualChassis(v VirtualChassisRequest) { +// SetVirtualChassis gets a reference to the given NullableBriefVirtualChassisRequest and assigns it to the VirtualChassis field. +func (o *WritableDeviceWithConfigContextRequest) SetVirtualChassis(v BriefVirtualChassisRequest) { o.VirtualChassis.Set(&v) } @@ -1026,9 +1026,9 @@ func (o *WritableDeviceWithConfigContextRequest) SetComments(v string) { } // GetConfigTemplate returns the ConfigTemplate field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableDeviceWithConfigContextRequest) GetConfigTemplate() ConfigTemplateRequest { +func (o *WritableDeviceWithConfigContextRequest) GetConfigTemplate() BriefConfigTemplateRequest { if o == nil || IsNil(o.ConfigTemplate.Get()) { - var ret ConfigTemplateRequest + var ret BriefConfigTemplateRequest return ret } return *o.ConfigTemplate.Get() @@ -1037,7 +1037,7 @@ func (o *WritableDeviceWithConfigContextRequest) GetConfigTemplate() ConfigTempl // GetConfigTemplateOk returns a tuple with the ConfigTemplate 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 *WritableDeviceWithConfigContextRequest) GetConfigTemplateOk() (*ConfigTemplateRequest, bool) { +func (o *WritableDeviceWithConfigContextRequest) GetConfigTemplateOk() (*BriefConfigTemplateRequest, bool) { if o == nil { return nil, false } @@ -1053,8 +1053,8 @@ func (o *WritableDeviceWithConfigContextRequest) HasConfigTemplate() bool { return false } -// SetConfigTemplate gets a reference to the given NullableConfigTemplateRequest and assigns it to the ConfigTemplate field. -func (o *WritableDeviceWithConfigContextRequest) SetConfigTemplate(v ConfigTemplateRequest) { +// SetConfigTemplate gets a reference to the given NullableBriefConfigTemplateRequest and assigns it to the ConfigTemplate field. +func (o *WritableDeviceWithConfigContextRequest) SetConfigTemplate(v BriefConfigTemplateRequest) { o.ConfigTemplate.Set(&v) } diff --git a/model_writable_event_rule_request.go b/model_writable_event_rule_request.go index 266bff6f0..4a24a3307 100644 --- a/model_writable_event_rule_request.go +++ b/model_writable_event_rule_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -22,17 +22,9 @@ var _ MappedNullable = &WritableEventRuleRequest{} type WritableEventRuleRequest struct { ObjectTypes []string `json:"object_types"` Name string `json:"name"` - // Triggers when a matching object is created. - TypeCreate *bool `json:"type_create,omitempty"` - // Triggers when a matching object is updated. - TypeUpdate *bool `json:"type_update,omitempty"` - // Triggers when a matching object is deleted. - TypeDelete *bool `json:"type_delete,omitempty"` - // Triggers when a job for a matching object is started. - TypeJobStart *bool `json:"type_job_start,omitempty"` - // Triggers when a job for a matching object terminates. - TypeJobEnd *bool `json:"type_job_end,omitempty"` - Enabled *bool `json:"enabled,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + // The types of event which will trigger this rule. + EventTypes []EventRuleEventTypesInner `json:"event_types"` // A set of conditions which determine whether the event will be generated. Conditions interface{} `json:"conditions,omitempty"` ActionType *EventRuleActionTypeValue `json:"action_type,omitempty"` @@ -50,10 +42,11 @@ type _WritableEventRuleRequest WritableEventRuleRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewWritableEventRuleRequest(objectTypes []string, name string, actionObjectType string) *WritableEventRuleRequest { +func NewWritableEventRuleRequest(objectTypes []string, name string, eventTypes []EventRuleEventTypesInner, actionObjectType string) *WritableEventRuleRequest { this := WritableEventRuleRequest{} this.ObjectTypes = objectTypes this.Name = name + this.EventTypes = eventTypes this.ActionObjectType = actionObjectType return &this } @@ -114,166 +107,6 @@ func (o *WritableEventRuleRequest) SetName(v string) { o.Name = v } -// GetTypeCreate returns the TypeCreate field value if set, zero value otherwise. -func (o *WritableEventRuleRequest) GetTypeCreate() bool { - if o == nil || IsNil(o.TypeCreate) { - var ret bool - return ret - } - return *o.TypeCreate -} - -// GetTypeCreateOk returns a tuple with the TypeCreate field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *WritableEventRuleRequest) GetTypeCreateOk() (*bool, bool) { - if o == nil || IsNil(o.TypeCreate) { - return nil, false - } - return o.TypeCreate, true -} - -// HasTypeCreate returns a boolean if a field has been set. -func (o *WritableEventRuleRequest) HasTypeCreate() bool { - if o != nil && !IsNil(o.TypeCreate) { - return true - } - - return false -} - -// SetTypeCreate gets a reference to the given bool and assigns it to the TypeCreate field. -func (o *WritableEventRuleRequest) SetTypeCreate(v bool) { - o.TypeCreate = &v -} - -// GetTypeUpdate returns the TypeUpdate field value if set, zero value otherwise. -func (o *WritableEventRuleRequest) GetTypeUpdate() bool { - if o == nil || IsNil(o.TypeUpdate) { - var ret bool - return ret - } - return *o.TypeUpdate -} - -// GetTypeUpdateOk returns a tuple with the TypeUpdate field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *WritableEventRuleRequest) GetTypeUpdateOk() (*bool, bool) { - if o == nil || IsNil(o.TypeUpdate) { - return nil, false - } - return o.TypeUpdate, true -} - -// HasTypeUpdate returns a boolean if a field has been set. -func (o *WritableEventRuleRequest) HasTypeUpdate() bool { - if o != nil && !IsNil(o.TypeUpdate) { - return true - } - - return false -} - -// SetTypeUpdate gets a reference to the given bool and assigns it to the TypeUpdate field. -func (o *WritableEventRuleRequest) SetTypeUpdate(v bool) { - o.TypeUpdate = &v -} - -// GetTypeDelete returns the TypeDelete field value if set, zero value otherwise. -func (o *WritableEventRuleRequest) GetTypeDelete() bool { - if o == nil || IsNil(o.TypeDelete) { - var ret bool - return ret - } - return *o.TypeDelete -} - -// GetTypeDeleteOk returns a tuple with the TypeDelete field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *WritableEventRuleRequest) GetTypeDeleteOk() (*bool, bool) { - if o == nil || IsNil(o.TypeDelete) { - return nil, false - } - return o.TypeDelete, true -} - -// HasTypeDelete returns a boolean if a field has been set. -func (o *WritableEventRuleRequest) HasTypeDelete() bool { - if o != nil && !IsNil(o.TypeDelete) { - return true - } - - return false -} - -// SetTypeDelete gets a reference to the given bool and assigns it to the TypeDelete field. -func (o *WritableEventRuleRequest) SetTypeDelete(v bool) { - o.TypeDelete = &v -} - -// GetTypeJobStart returns the TypeJobStart field value if set, zero value otherwise. -func (o *WritableEventRuleRequest) GetTypeJobStart() bool { - if o == nil || IsNil(o.TypeJobStart) { - var ret bool - return ret - } - return *o.TypeJobStart -} - -// GetTypeJobStartOk returns a tuple with the TypeJobStart field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *WritableEventRuleRequest) GetTypeJobStartOk() (*bool, bool) { - if o == nil || IsNil(o.TypeJobStart) { - return nil, false - } - return o.TypeJobStart, true -} - -// HasTypeJobStart returns a boolean if a field has been set. -func (o *WritableEventRuleRequest) HasTypeJobStart() bool { - if o != nil && !IsNil(o.TypeJobStart) { - return true - } - - return false -} - -// SetTypeJobStart gets a reference to the given bool and assigns it to the TypeJobStart field. -func (o *WritableEventRuleRequest) SetTypeJobStart(v bool) { - o.TypeJobStart = &v -} - -// GetTypeJobEnd returns the TypeJobEnd field value if set, zero value otherwise. -func (o *WritableEventRuleRequest) GetTypeJobEnd() bool { - if o == nil || IsNil(o.TypeJobEnd) { - var ret bool - return ret - } - return *o.TypeJobEnd -} - -// GetTypeJobEndOk returns a tuple with the TypeJobEnd field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *WritableEventRuleRequest) GetTypeJobEndOk() (*bool, bool) { - if o == nil || IsNil(o.TypeJobEnd) { - return nil, false - } - return o.TypeJobEnd, true -} - -// HasTypeJobEnd returns a boolean if a field has been set. -func (o *WritableEventRuleRequest) HasTypeJobEnd() bool { - if o != nil && !IsNil(o.TypeJobEnd) { - return true - } - - return false -} - -// SetTypeJobEnd gets a reference to the given bool and assigns it to the TypeJobEnd field. -func (o *WritableEventRuleRequest) SetTypeJobEnd(v bool) { - o.TypeJobEnd = &v -} - // GetEnabled returns the Enabled field value if set, zero value otherwise. func (o *WritableEventRuleRequest) GetEnabled() bool { if o == nil || IsNil(o.Enabled) { @@ -306,6 +139,30 @@ func (o *WritableEventRuleRequest) SetEnabled(v bool) { o.Enabled = &v } +// GetEventTypes returns the EventTypes field value +func (o *WritableEventRuleRequest) GetEventTypes() []EventRuleEventTypesInner { + if o == nil { + var ret []EventRuleEventTypesInner + return ret + } + + return o.EventTypes +} + +// GetEventTypesOk returns a tuple with the EventTypes field value +// and a boolean to check if the value has been set. +func (o *WritableEventRuleRequest) GetEventTypesOk() ([]EventRuleEventTypesInner, bool) { + if o == nil { + return nil, false + } + return o.EventTypes, true +} + +// SetEventTypes sets field value +func (o *WritableEventRuleRequest) SetEventTypes(v []EventRuleEventTypesInner) { + o.EventTypes = v +} + // GetConditions returns the Conditions field value if set, zero value otherwise (both if not set or set to explicit null). func (o *WritableEventRuleRequest) GetConditions() interface{} { if o == nil { @@ -546,24 +403,10 @@ func (o WritableEventRuleRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["object_types"] = o.ObjectTypes toSerialize["name"] = o.Name - if !IsNil(o.TypeCreate) { - toSerialize["type_create"] = o.TypeCreate - } - if !IsNil(o.TypeUpdate) { - toSerialize["type_update"] = o.TypeUpdate - } - if !IsNil(o.TypeDelete) { - toSerialize["type_delete"] = o.TypeDelete - } - if !IsNil(o.TypeJobStart) { - toSerialize["type_job_start"] = o.TypeJobStart - } - if !IsNil(o.TypeJobEnd) { - toSerialize["type_job_end"] = o.TypeJobEnd - } if !IsNil(o.Enabled) { toSerialize["enabled"] = o.Enabled } + toSerialize["event_types"] = o.EventTypes if o.Conditions != nil { toSerialize["conditions"] = o.Conditions } @@ -598,6 +441,7 @@ func (o *WritableEventRuleRequest) UnmarshalJSON(data []byte) (err error) { requiredProperties := []string{ "object_types", "name", + "event_types", "action_object_type", } @@ -630,12 +474,8 @@ func (o *WritableEventRuleRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "object_types") delete(additionalProperties, "name") - delete(additionalProperties, "type_create") - delete(additionalProperties, "type_update") - delete(additionalProperties, "type_delete") - delete(additionalProperties, "type_job_start") - delete(additionalProperties, "type_job_end") delete(additionalProperties, "enabled") + delete(additionalProperties, "event_types") delete(additionalProperties, "conditions") delete(additionalProperties, "action_type") delete(additionalProperties, "action_object_type") diff --git a/model_writable_front_port_request.go b/model_writable_front_port_request.go index a8fb95366..3b852a942 100644 --- a/model_writable_front_port_request.go +++ b/model_writable_front_port_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,9 +20,9 @@ var _ MappedNullable = &WritableFrontPortRequest{} // WritableFrontPortRequest Adds support for custom fields and tags. type WritableFrontPortRequest struct { - Device DeviceRequest `json:"device"` - Module NullableModuleRequest `json:"module,omitempty"` - Name string `json:"name"` + Device BriefDeviceRequest `json:"device"` + Module NullableBriefModuleRequest `json:"module,omitempty"` + Name string `json:"name"` // Physical label Label *string `json:"label,omitempty"` Type FrontPortTypeValue `json:"type"` @@ -44,7 +44,7 @@ type _WritableFrontPortRequest WritableFrontPortRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewWritableFrontPortRequest(device DeviceRequest, name string, type_ FrontPortTypeValue, rearPort int32) *WritableFrontPortRequest { +func NewWritableFrontPortRequest(device BriefDeviceRequest, name string, type_ FrontPortTypeValue, rearPort int32) *WritableFrontPortRequest { this := WritableFrontPortRequest{} this.Device = device this.Name = name @@ -66,9 +66,9 @@ func NewWritableFrontPortRequestWithDefaults() *WritableFrontPortRequest { } // GetDevice returns the Device field value -func (o *WritableFrontPortRequest) GetDevice() DeviceRequest { +func (o *WritableFrontPortRequest) GetDevice() BriefDeviceRequest { if o == nil { - var ret DeviceRequest + var ret BriefDeviceRequest return ret } @@ -77,7 +77,7 @@ func (o *WritableFrontPortRequest) GetDevice() DeviceRequest { // GetDeviceOk returns a tuple with the Device field value // and a boolean to check if the value has been set. -func (o *WritableFrontPortRequest) GetDeviceOk() (*DeviceRequest, bool) { +func (o *WritableFrontPortRequest) GetDeviceOk() (*BriefDeviceRequest, bool) { if o == nil { return nil, false } @@ -85,14 +85,14 @@ func (o *WritableFrontPortRequest) GetDeviceOk() (*DeviceRequest, bool) { } // SetDevice sets field value -func (o *WritableFrontPortRequest) SetDevice(v DeviceRequest) { +func (o *WritableFrontPortRequest) SetDevice(v BriefDeviceRequest) { o.Device = v } // GetModule returns the Module field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableFrontPortRequest) GetModule() ModuleRequest { +func (o *WritableFrontPortRequest) GetModule() BriefModuleRequest { if o == nil || IsNil(o.Module.Get()) { - var ret ModuleRequest + var ret BriefModuleRequest return ret } return *o.Module.Get() @@ -101,7 +101,7 @@ func (o *WritableFrontPortRequest) GetModule() ModuleRequest { // GetModuleOk returns a tuple with the Module 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 *WritableFrontPortRequest) GetModuleOk() (*ModuleRequest, bool) { +func (o *WritableFrontPortRequest) GetModuleOk() (*BriefModuleRequest, bool) { if o == nil { return nil, false } @@ -117,8 +117,8 @@ func (o *WritableFrontPortRequest) HasModule() bool { return false } -// SetModule gets a reference to the given NullableModuleRequest and assigns it to the Module field. -func (o *WritableFrontPortRequest) SetModule(v ModuleRequest) { +// SetModule gets a reference to the given NullableBriefModuleRequest and assigns it to the Module field. +func (o *WritableFrontPortRequest) SetModule(v BriefModuleRequest) { o.Module.Set(&v) } diff --git a/model_writable_front_port_template_request.go b/model_writable_front_port_template_request.go index 135e41ea9..8f6f51d53 100644 --- a/model_writable_front_port_template_request.go +++ b/model_writable_front_port_template_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,17 +20,17 @@ var _ MappedNullable = &WritableFrontPortTemplateRequest{} // WritableFrontPortTemplateRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 WritableFrontPortTemplateRequest struct { - DeviceType NullableDeviceTypeRequest `json:"device_type,omitempty"` - ModuleType NullableModuleTypeRequest `json:"module_type,omitempty"` + DeviceType NullableBriefDeviceTypeRequest `json:"device_type,omitempty"` + ModuleType NullableBriefModuleTypeRequest `json:"module_type,omitempty"` // {module} is accepted as a substitution for the module bay position when attached to a module type. Name string `json:"name"` // Physical label - Label *string `json:"label,omitempty"` - Type FrontPortTypeValue `json:"type"` - Color *string `json:"color,omitempty"` - RearPort RearPortTemplateRequest `json:"rear_port"` - RearPortPosition *int32 `json:"rear_port_position,omitempty"` - Description *string `json:"description,omitempty"` + Label *string `json:"label,omitempty"` + Type FrontPortTypeValue `json:"type"` + Color *string `json:"color,omitempty"` + RearPort BriefRearPortTemplateRequest `json:"rear_port"` + RearPortPosition *int32 `json:"rear_port_position,omitempty"` + Description *string `json:"description,omitempty"` AdditionalProperties map[string]interface{} } @@ -40,7 +40,7 @@ type _WritableFrontPortTemplateRequest WritableFrontPortTemplateRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewWritableFrontPortTemplateRequest(name string, type_ FrontPortTypeValue, rearPort RearPortTemplateRequest) *WritableFrontPortTemplateRequest { +func NewWritableFrontPortTemplateRequest(name string, type_ FrontPortTypeValue, rearPort BriefRearPortTemplateRequest) *WritableFrontPortTemplateRequest { this := WritableFrontPortTemplateRequest{} this.Name = name this.Type = type_ @@ -61,9 +61,9 @@ func NewWritableFrontPortTemplateRequestWithDefaults() *WritableFrontPortTemplat } // GetDeviceType returns the DeviceType field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableFrontPortTemplateRequest) GetDeviceType() DeviceTypeRequest { +func (o *WritableFrontPortTemplateRequest) GetDeviceType() BriefDeviceTypeRequest { if o == nil || IsNil(o.DeviceType.Get()) { - var ret DeviceTypeRequest + var ret BriefDeviceTypeRequest return ret } return *o.DeviceType.Get() @@ -72,7 +72,7 @@ func (o *WritableFrontPortTemplateRequest) GetDeviceType() DeviceTypeRequest { // GetDeviceTypeOk returns a tuple with the DeviceType 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 *WritableFrontPortTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool) { +func (o *WritableFrontPortTemplateRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool) { if o == nil { return nil, false } @@ -88,8 +88,8 @@ func (o *WritableFrontPortTemplateRequest) HasDeviceType() bool { return false } -// SetDeviceType gets a reference to the given NullableDeviceTypeRequest and assigns it to the DeviceType field. -func (o *WritableFrontPortTemplateRequest) SetDeviceType(v DeviceTypeRequest) { +// SetDeviceType gets a reference to the given NullableBriefDeviceTypeRequest and assigns it to the DeviceType field. +func (o *WritableFrontPortTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest) { o.DeviceType.Set(&v) } @@ -104,9 +104,9 @@ func (o *WritableFrontPortTemplateRequest) UnsetDeviceType() { } // GetModuleType returns the ModuleType field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableFrontPortTemplateRequest) GetModuleType() ModuleTypeRequest { +func (o *WritableFrontPortTemplateRequest) GetModuleType() BriefModuleTypeRequest { if o == nil || IsNil(o.ModuleType.Get()) { - var ret ModuleTypeRequest + var ret BriefModuleTypeRequest return ret } return *o.ModuleType.Get() @@ -115,7 +115,7 @@ func (o *WritableFrontPortTemplateRequest) GetModuleType() ModuleTypeRequest { // GetModuleTypeOk returns a tuple with the ModuleType 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 *WritableFrontPortTemplateRequest) GetModuleTypeOk() (*ModuleTypeRequest, bool) { +func (o *WritableFrontPortTemplateRequest) GetModuleTypeOk() (*BriefModuleTypeRequest, bool) { if o == nil { return nil, false } @@ -131,8 +131,8 @@ func (o *WritableFrontPortTemplateRequest) HasModuleType() bool { return false } -// SetModuleType gets a reference to the given NullableModuleTypeRequest and assigns it to the ModuleType field. -func (o *WritableFrontPortTemplateRequest) SetModuleType(v ModuleTypeRequest) { +// SetModuleType gets a reference to the given NullableBriefModuleTypeRequest and assigns it to the ModuleType field. +func (o *WritableFrontPortTemplateRequest) SetModuleType(v BriefModuleTypeRequest) { o.ModuleType.Set(&v) } @@ -259,9 +259,9 @@ func (o *WritableFrontPortTemplateRequest) SetColor(v string) { } // GetRearPort returns the RearPort field value -func (o *WritableFrontPortTemplateRequest) GetRearPort() RearPortTemplateRequest { +func (o *WritableFrontPortTemplateRequest) GetRearPort() BriefRearPortTemplateRequest { if o == nil { - var ret RearPortTemplateRequest + var ret BriefRearPortTemplateRequest return ret } @@ -270,7 +270,7 @@ func (o *WritableFrontPortTemplateRequest) GetRearPort() RearPortTemplateRequest // GetRearPortOk returns a tuple with the RearPort field value // and a boolean to check if the value has been set. -func (o *WritableFrontPortTemplateRequest) GetRearPortOk() (*RearPortTemplateRequest, bool) { +func (o *WritableFrontPortTemplateRequest) GetRearPortOk() (*BriefRearPortTemplateRequest, bool) { if o == nil { return nil, false } @@ -278,7 +278,7 @@ func (o *WritableFrontPortTemplateRequest) GetRearPortOk() (*RearPortTemplateReq } // SetRearPort sets field value -func (o *WritableFrontPortTemplateRequest) SetRearPort(v RearPortTemplateRequest) { +func (o *WritableFrontPortTemplateRequest) SetRearPort(v BriefRearPortTemplateRequest) { o.RearPort = v } diff --git a/model_writable_ike_policy_request.go b/model_writable_ike_policy_request.go index d734a972d..5f4ecfce5 100644 --- a/model_writable_ike_policy_request.go +++ b/model_writable_ike_policy_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_writable_ike_proposal_request.go b/model_writable_ike_proposal_request.go index 1783b8e23..ebac6c07a 100644 --- a/model_writable_ike_proposal_request.go +++ b/model_writable_ike_proposal_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_writable_interface_request.go b/model_writable_interface_request.go index 0cefa53d8..abade84b9 100644 --- a/model_writable_interface_request.go +++ b/model_writable_interface_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,10 +20,10 @@ var _ MappedNullable = &WritableInterfaceRequest{} // WritableInterfaceRequest Adds support for custom fields and tags. type WritableInterfaceRequest struct { - Device DeviceRequest `json:"device"` - Vdcs []int32 `json:"vdcs,omitempty"` - Module NullableModuleRequest `json:"module,omitempty"` - Name string `json:"name"` + Device BriefDeviceRequest `json:"device"` + Vdcs []int32 `json:"vdcs,omitempty"` + Module NullableBriefModuleRequest `json:"module,omitempty"` + Name string `json:"name"` // Physical label Label *string `json:"label,omitempty"` Type InterfaceTypeValue `json:"type"` @@ -40,23 +40,23 @@ type WritableInterfaceRequest struct { MgmtOnly *bool `json:"mgmt_only,omitempty"` Description *string `json:"description,omitempty"` Mode *PatchedWritableInterfaceRequestMode `json:"mode,omitempty"` - RfRole *WirelessRole `json:"rf_role,omitempty"` - RfChannel *WirelessChannel `json:"rf_channel,omitempty"` + RfRole *WirelessRole1 `json:"rf_role,omitempty"` + RfChannel *WirelessChannel1 `json:"rf_channel,omitempty"` PoeMode *InterfacePoeModeValue `json:"poe_mode,omitempty"` PoeType *InterfacePoeTypeValue `json:"poe_type,omitempty"` // Populated by selected channel (if set) RfChannelFrequency NullableFloat64 `json:"rf_channel_frequency,omitempty"` // Populated by selected channel (if set) - RfChannelWidth NullableFloat64 `json:"rf_channel_width,omitempty"` - TxPower NullableInt32 `json:"tx_power,omitempty"` - UntaggedVlan NullableVLANRequest `json:"untagged_vlan,omitempty"` - TaggedVlans []int32 `json:"tagged_vlans,omitempty"` + RfChannelWidth NullableFloat64 `json:"rf_channel_width,omitempty"` + TxPower NullableInt32 `json:"tx_power,omitempty"` + UntaggedVlan NullableBriefVLANRequest `json:"untagged_vlan,omitempty"` + TaggedVlans []int32 `json:"tagged_vlans,omitempty"` // Treat as if a cable is connected - MarkConnected *bool `json:"mark_connected,omitempty"` - WirelessLans []int32 `json:"wireless_lans,omitempty"` - Vrf NullableVRFRequest `json:"vrf,omitempty"` - Tags []NestedTagRequest `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + MarkConnected *bool `json:"mark_connected,omitempty"` + WirelessLans []int32 `json:"wireless_lans,omitempty"` + Vrf NullableBriefVRFRequest `json:"vrf,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -66,7 +66,7 @@ type _WritableInterfaceRequest WritableInterfaceRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewWritableInterfaceRequest(device DeviceRequest, name string, type_ InterfaceTypeValue) *WritableInterfaceRequest { +func NewWritableInterfaceRequest(device BriefDeviceRequest, name string, type_ InterfaceTypeValue) *WritableInterfaceRequest { this := WritableInterfaceRequest{} this.Device = device this.Name = name @@ -83,9 +83,9 @@ func NewWritableInterfaceRequestWithDefaults() *WritableInterfaceRequest { } // GetDevice returns the Device field value -func (o *WritableInterfaceRequest) GetDevice() DeviceRequest { +func (o *WritableInterfaceRequest) GetDevice() BriefDeviceRequest { if o == nil { - var ret DeviceRequest + var ret BriefDeviceRequest return ret } @@ -94,7 +94,7 @@ func (o *WritableInterfaceRequest) GetDevice() DeviceRequest { // GetDeviceOk returns a tuple with the Device field value // and a boolean to check if the value has been set. -func (o *WritableInterfaceRequest) GetDeviceOk() (*DeviceRequest, bool) { +func (o *WritableInterfaceRequest) GetDeviceOk() (*BriefDeviceRequest, bool) { if o == nil { return nil, false } @@ -102,7 +102,7 @@ func (o *WritableInterfaceRequest) GetDeviceOk() (*DeviceRequest, bool) { } // SetDevice sets field value -func (o *WritableInterfaceRequest) SetDevice(v DeviceRequest) { +func (o *WritableInterfaceRequest) SetDevice(v BriefDeviceRequest) { o.Device = v } @@ -139,9 +139,9 @@ func (o *WritableInterfaceRequest) SetVdcs(v []int32) { } // GetModule returns the Module field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableInterfaceRequest) GetModule() ModuleRequest { +func (o *WritableInterfaceRequest) GetModule() BriefModuleRequest { if o == nil || IsNil(o.Module.Get()) { - var ret ModuleRequest + var ret BriefModuleRequest return ret } return *o.Module.Get() @@ -150,7 +150,7 @@ func (o *WritableInterfaceRequest) GetModule() ModuleRequest { // GetModuleOk returns a tuple with the Module 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 *WritableInterfaceRequest) GetModuleOk() (*ModuleRequest, bool) { +func (o *WritableInterfaceRequest) GetModuleOk() (*BriefModuleRequest, bool) { if o == nil { return nil, false } @@ -166,8 +166,8 @@ func (o *WritableInterfaceRequest) HasModule() bool { return false } -// SetModule gets a reference to the given NullableModuleRequest and assigns it to the Module field. -func (o *WritableInterfaceRequest) SetModule(v ModuleRequest) { +// SetModule gets a reference to the given NullableBriefModuleRequest and assigns it to the Module field. +func (o *WritableInterfaceRequest) SetModule(v BriefModuleRequest) { o.Module.Set(&v) } @@ -734,9 +734,9 @@ func (o *WritableInterfaceRequest) SetMode(v PatchedWritableInterfaceRequestMode } // GetRfRole returns the RfRole field value if set, zero value otherwise. -func (o *WritableInterfaceRequest) GetRfRole() WirelessRole { +func (o *WritableInterfaceRequest) GetRfRole() WirelessRole1 { if o == nil || IsNil(o.RfRole) { - var ret WirelessRole + var ret WirelessRole1 return ret } return *o.RfRole @@ -744,7 +744,7 @@ func (o *WritableInterfaceRequest) GetRfRole() WirelessRole { // GetRfRoleOk returns a tuple with the RfRole field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *WritableInterfaceRequest) GetRfRoleOk() (*WirelessRole, bool) { +func (o *WritableInterfaceRequest) GetRfRoleOk() (*WirelessRole1, bool) { if o == nil || IsNil(o.RfRole) { return nil, false } @@ -760,15 +760,15 @@ func (o *WritableInterfaceRequest) HasRfRole() bool { return false } -// SetRfRole gets a reference to the given WirelessRole and assigns it to the RfRole field. -func (o *WritableInterfaceRequest) SetRfRole(v WirelessRole) { +// SetRfRole gets a reference to the given WirelessRole1 and assigns it to the RfRole field. +func (o *WritableInterfaceRequest) SetRfRole(v WirelessRole1) { o.RfRole = &v } // GetRfChannel returns the RfChannel field value if set, zero value otherwise. -func (o *WritableInterfaceRequest) GetRfChannel() WirelessChannel { +func (o *WritableInterfaceRequest) GetRfChannel() WirelessChannel1 { if o == nil || IsNil(o.RfChannel) { - var ret WirelessChannel + var ret WirelessChannel1 return ret } return *o.RfChannel @@ -776,7 +776,7 @@ func (o *WritableInterfaceRequest) GetRfChannel() WirelessChannel { // GetRfChannelOk returns a tuple with the RfChannel field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *WritableInterfaceRequest) GetRfChannelOk() (*WirelessChannel, bool) { +func (o *WritableInterfaceRequest) GetRfChannelOk() (*WirelessChannel1, bool) { if o == nil || IsNil(o.RfChannel) { return nil, false } @@ -792,8 +792,8 @@ func (o *WritableInterfaceRequest) HasRfChannel() bool { return false } -// SetRfChannel gets a reference to the given WirelessChannel and assigns it to the RfChannel field. -func (o *WritableInterfaceRequest) SetRfChannel(v WirelessChannel) { +// SetRfChannel gets a reference to the given WirelessChannel1 and assigns it to the RfChannel field. +func (o *WritableInterfaceRequest) SetRfChannel(v WirelessChannel1) { o.RfChannel = &v } @@ -991,9 +991,9 @@ func (o *WritableInterfaceRequest) UnsetTxPower() { } // GetUntaggedVlan returns the UntaggedVlan field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableInterfaceRequest) GetUntaggedVlan() VLANRequest { +func (o *WritableInterfaceRequest) GetUntaggedVlan() BriefVLANRequest { if o == nil || IsNil(o.UntaggedVlan.Get()) { - var ret VLANRequest + var ret BriefVLANRequest return ret } return *o.UntaggedVlan.Get() @@ -1002,7 +1002,7 @@ func (o *WritableInterfaceRequest) GetUntaggedVlan() VLANRequest { // GetUntaggedVlanOk returns a tuple with the UntaggedVlan 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 *WritableInterfaceRequest) GetUntaggedVlanOk() (*VLANRequest, bool) { +func (o *WritableInterfaceRequest) GetUntaggedVlanOk() (*BriefVLANRequest, bool) { if o == nil { return nil, false } @@ -1018,8 +1018,8 @@ func (o *WritableInterfaceRequest) HasUntaggedVlan() bool { return false } -// SetUntaggedVlan gets a reference to the given NullableVLANRequest and assigns it to the UntaggedVlan field. -func (o *WritableInterfaceRequest) SetUntaggedVlan(v VLANRequest) { +// SetUntaggedVlan gets a reference to the given NullableBriefVLANRequest and assigns it to the UntaggedVlan field. +func (o *WritableInterfaceRequest) SetUntaggedVlan(v BriefVLANRequest) { o.UntaggedVlan.Set(&v) } @@ -1130,9 +1130,9 @@ func (o *WritableInterfaceRequest) SetWirelessLans(v []int32) { } // GetVrf returns the Vrf field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableInterfaceRequest) GetVrf() VRFRequest { +func (o *WritableInterfaceRequest) GetVrf() BriefVRFRequest { if o == nil || IsNil(o.Vrf.Get()) { - var ret VRFRequest + var ret BriefVRFRequest return ret } return *o.Vrf.Get() @@ -1141,7 +1141,7 @@ func (o *WritableInterfaceRequest) GetVrf() VRFRequest { // GetVrfOk returns a tuple with the Vrf 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 *WritableInterfaceRequest) GetVrfOk() (*VRFRequest, bool) { +func (o *WritableInterfaceRequest) GetVrfOk() (*BriefVRFRequest, bool) { if o == nil { return nil, false } @@ -1157,8 +1157,8 @@ func (o *WritableInterfaceRequest) HasVrf() bool { return false } -// SetVrf gets a reference to the given NullableVRFRequest and assigns it to the Vrf field. -func (o *WritableInterfaceRequest) SetVrf(v VRFRequest) { +// SetVrf gets a reference to the given NullableBriefVRFRequest and assigns it to the Vrf field. +func (o *WritableInterfaceRequest) SetVrf(v BriefVRFRequest) { o.Vrf.Set(&v) } diff --git a/model_writable_interface_template_request.go b/model_writable_interface_template_request.go index a0d61207c..3bc1f082d 100644 --- a/model_writable_interface_template_request.go +++ b/model_writable_interface_template_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,8 +20,8 @@ var _ MappedNullable = &WritableInterfaceTemplateRequest{} // WritableInterfaceTemplateRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 WritableInterfaceTemplateRequest struct { - DeviceType NullableDeviceTypeRequest `json:"device_type,omitempty"` - ModuleType NullableModuleTypeRequest `json:"module_type,omitempty"` + DeviceType NullableBriefDeviceTypeRequest `json:"device_type,omitempty"` + ModuleType NullableBriefModuleTypeRequest `json:"module_type,omitempty"` // {module} is accepted as a substitution for the module bay position when attached to a module type. Name string `json:"name"` // Physical label @@ -33,7 +33,7 @@ type WritableInterfaceTemplateRequest struct { Bridge NullableInt32 `json:"bridge,omitempty"` PoeMode *InterfacePoeModeValue `json:"poe_mode,omitempty"` PoeType *InterfacePoeTypeValue `json:"poe_type,omitempty"` - RfRole *WirelessRole `json:"rf_role,omitempty"` + RfRole *WirelessRole1 `json:"rf_role,omitempty"` AdditionalProperties map[string]interface{} } @@ -59,9 +59,9 @@ func NewWritableInterfaceTemplateRequestWithDefaults() *WritableInterfaceTemplat } // GetDeviceType returns the DeviceType field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableInterfaceTemplateRequest) GetDeviceType() DeviceTypeRequest { +func (o *WritableInterfaceTemplateRequest) GetDeviceType() BriefDeviceTypeRequest { if o == nil || IsNil(o.DeviceType.Get()) { - var ret DeviceTypeRequest + var ret BriefDeviceTypeRequest return ret } return *o.DeviceType.Get() @@ -70,7 +70,7 @@ func (o *WritableInterfaceTemplateRequest) GetDeviceType() DeviceTypeRequest { // GetDeviceTypeOk returns a tuple with the DeviceType 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 *WritableInterfaceTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool) { +func (o *WritableInterfaceTemplateRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool) { if o == nil { return nil, false } @@ -86,8 +86,8 @@ func (o *WritableInterfaceTemplateRequest) HasDeviceType() bool { return false } -// SetDeviceType gets a reference to the given NullableDeviceTypeRequest and assigns it to the DeviceType field. -func (o *WritableInterfaceTemplateRequest) SetDeviceType(v DeviceTypeRequest) { +// SetDeviceType gets a reference to the given NullableBriefDeviceTypeRequest and assigns it to the DeviceType field. +func (o *WritableInterfaceTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest) { o.DeviceType.Set(&v) } @@ -102,9 +102,9 @@ func (o *WritableInterfaceTemplateRequest) UnsetDeviceType() { } // GetModuleType returns the ModuleType field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableInterfaceTemplateRequest) GetModuleType() ModuleTypeRequest { +func (o *WritableInterfaceTemplateRequest) GetModuleType() BriefModuleTypeRequest { if o == nil || IsNil(o.ModuleType.Get()) { - var ret ModuleTypeRequest + var ret BriefModuleTypeRequest return ret } return *o.ModuleType.Get() @@ -113,7 +113,7 @@ func (o *WritableInterfaceTemplateRequest) GetModuleType() ModuleTypeRequest { // GetModuleTypeOk returns a tuple with the ModuleType 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 *WritableInterfaceTemplateRequest) GetModuleTypeOk() (*ModuleTypeRequest, bool) { +func (o *WritableInterfaceTemplateRequest) GetModuleTypeOk() (*BriefModuleTypeRequest, bool) { if o == nil { return nil, false } @@ -129,8 +129,8 @@ func (o *WritableInterfaceTemplateRequest) HasModuleType() bool { return false } -// SetModuleType gets a reference to the given NullableModuleTypeRequest and assigns it to the ModuleType field. -func (o *WritableInterfaceTemplateRequest) SetModuleType(v ModuleTypeRequest) { +// SetModuleType gets a reference to the given NullableBriefModuleTypeRequest and assigns it to the ModuleType field. +func (o *WritableInterfaceTemplateRequest) SetModuleType(v BriefModuleTypeRequest) { o.ModuleType.Set(&v) } @@ -428,9 +428,9 @@ func (o *WritableInterfaceTemplateRequest) SetPoeType(v InterfacePoeTypeValue) { } // GetRfRole returns the RfRole field value if set, zero value otherwise. -func (o *WritableInterfaceTemplateRequest) GetRfRole() WirelessRole { +func (o *WritableInterfaceTemplateRequest) GetRfRole() WirelessRole1 { if o == nil || IsNil(o.RfRole) { - var ret WirelessRole + var ret WirelessRole1 return ret } return *o.RfRole @@ -438,7 +438,7 @@ func (o *WritableInterfaceTemplateRequest) GetRfRole() WirelessRole { // GetRfRoleOk returns a tuple with the RfRole field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *WritableInterfaceTemplateRequest) GetRfRoleOk() (*WirelessRole, bool) { +func (o *WritableInterfaceTemplateRequest) GetRfRoleOk() (*WirelessRole1, bool) { if o == nil || IsNil(o.RfRole) { return nil, false } @@ -454,8 +454,8 @@ func (o *WritableInterfaceTemplateRequest) HasRfRole() bool { return false } -// SetRfRole gets a reference to the given WirelessRole and assigns it to the RfRole field. -func (o *WritableInterfaceTemplateRequest) SetRfRole(v WirelessRole) { +// SetRfRole gets a reference to the given WirelessRole1 and assigns it to the RfRole field. +func (o *WritableInterfaceTemplateRequest) SetRfRole(v WirelessRole1) { o.RfRole = &v } diff --git a/model_writable_ip_address_request.go b/model_writable_ip_address_request.go index 05fae1d60..1b88c5666 100644 --- a/model_writable_ip_address_request.go +++ b/model_writable_ip_address_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,8 +21,8 @@ var _ MappedNullable = &WritableIPAddressRequest{} // WritableIPAddressRequest Adds support for custom fields and tags. type WritableIPAddressRequest struct { Address string `json:"address"` - Vrf NullableVRFRequest `json:"vrf,omitempty"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` + Vrf NullableBriefVRFRequest `json:"vrf,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` Status *PatchedWritableIPAddressRequestStatus `json:"status,omitempty"` Role *PatchedWritableIPAddressRequestRole `json:"role,omitempty"` AssignedObjectType NullableString `json:"assigned_object_type,omitempty"` @@ -83,9 +83,9 @@ func (o *WritableIPAddressRequest) SetAddress(v string) { } // GetVrf returns the Vrf field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableIPAddressRequest) GetVrf() VRFRequest { +func (o *WritableIPAddressRequest) GetVrf() BriefVRFRequest { if o == nil || IsNil(o.Vrf.Get()) { - var ret VRFRequest + var ret BriefVRFRequest return ret } return *o.Vrf.Get() @@ -94,7 +94,7 @@ func (o *WritableIPAddressRequest) GetVrf() VRFRequest { // GetVrfOk returns a tuple with the Vrf 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 *WritableIPAddressRequest) GetVrfOk() (*VRFRequest, bool) { +func (o *WritableIPAddressRequest) GetVrfOk() (*BriefVRFRequest, bool) { if o == nil { return nil, false } @@ -110,8 +110,8 @@ func (o *WritableIPAddressRequest) HasVrf() bool { return false } -// SetVrf gets a reference to the given NullableVRFRequest and assigns it to the Vrf field. -func (o *WritableIPAddressRequest) SetVrf(v VRFRequest) { +// SetVrf gets a reference to the given NullableBriefVRFRequest and assigns it to the Vrf field. +func (o *WritableIPAddressRequest) SetVrf(v BriefVRFRequest) { o.Vrf.Set(&v) } @@ -126,9 +126,9 @@ func (o *WritableIPAddressRequest) UnsetVrf() { } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableIPAddressRequest) GetTenant() TenantRequest { +func (o *WritableIPAddressRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -137,7 +137,7 @@ func (o *WritableIPAddressRequest) GetTenant() TenantRequest { // 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 *WritableIPAddressRequest) GetTenantOk() (*TenantRequest, bool) { +func (o *WritableIPAddressRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -153,8 +153,8 @@ func (o *WritableIPAddressRequest) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *WritableIPAddressRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *WritableIPAddressRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } diff --git a/model_writable_ip_range_request.go b/model_writable_ip_range_request.go index c93135b4c..2eae60342 100644 --- a/model_writable_ip_range_request.go +++ b/model_writable_ip_range_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -22,10 +22,10 @@ var _ MappedNullable = &WritableIPRangeRequest{} type WritableIPRangeRequest struct { StartAddress string `json:"start_address"` EndAddress string `json:"end_address"` - Vrf NullableVRFRequest `json:"vrf,omitempty"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` + Vrf NullableBriefVRFRequest `json:"vrf,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` Status *PatchedWritableIPRangeRequestStatus `json:"status,omitempty"` - Role NullableRoleRequest `json:"role,omitempty"` + Role NullableBriefRoleRequest `json:"role,omitempty"` Description *string `json:"description,omitempty"` Comments *string `json:"comments,omitempty"` Tags []NestedTagRequest `json:"tags,omitempty"` @@ -105,9 +105,9 @@ func (o *WritableIPRangeRequest) SetEndAddress(v string) { } // GetVrf returns the Vrf field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableIPRangeRequest) GetVrf() VRFRequest { +func (o *WritableIPRangeRequest) GetVrf() BriefVRFRequest { if o == nil || IsNil(o.Vrf.Get()) { - var ret VRFRequest + var ret BriefVRFRequest return ret } return *o.Vrf.Get() @@ -116,7 +116,7 @@ func (o *WritableIPRangeRequest) GetVrf() VRFRequest { // GetVrfOk returns a tuple with the Vrf 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 *WritableIPRangeRequest) GetVrfOk() (*VRFRequest, bool) { +func (o *WritableIPRangeRequest) GetVrfOk() (*BriefVRFRequest, bool) { if o == nil { return nil, false } @@ -132,8 +132,8 @@ func (o *WritableIPRangeRequest) HasVrf() bool { return false } -// SetVrf gets a reference to the given NullableVRFRequest and assigns it to the Vrf field. -func (o *WritableIPRangeRequest) SetVrf(v VRFRequest) { +// SetVrf gets a reference to the given NullableBriefVRFRequest and assigns it to the Vrf field. +func (o *WritableIPRangeRequest) SetVrf(v BriefVRFRequest) { o.Vrf.Set(&v) } @@ -148,9 +148,9 @@ func (o *WritableIPRangeRequest) UnsetVrf() { } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableIPRangeRequest) GetTenant() TenantRequest { +func (o *WritableIPRangeRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -159,7 +159,7 @@ func (o *WritableIPRangeRequest) GetTenant() TenantRequest { // 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 *WritableIPRangeRequest) GetTenantOk() (*TenantRequest, bool) { +func (o *WritableIPRangeRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -175,8 +175,8 @@ func (o *WritableIPRangeRequest) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *WritableIPRangeRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *WritableIPRangeRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } @@ -223,9 +223,9 @@ func (o *WritableIPRangeRequest) SetStatus(v PatchedWritableIPRangeRequestStatus } // GetRole returns the Role field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableIPRangeRequest) GetRole() RoleRequest { +func (o *WritableIPRangeRequest) GetRole() BriefRoleRequest { if o == nil || IsNil(o.Role.Get()) { - var ret RoleRequest + var ret BriefRoleRequest return ret } return *o.Role.Get() @@ -234,7 +234,7 @@ func (o *WritableIPRangeRequest) GetRole() RoleRequest { // 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 *WritableIPRangeRequest) GetRoleOk() (*RoleRequest, bool) { +func (o *WritableIPRangeRequest) GetRoleOk() (*BriefRoleRequest, bool) { if o == nil { return nil, false } @@ -250,8 +250,8 @@ func (o *WritableIPRangeRequest) HasRole() bool { return false } -// SetRole gets a reference to the given NullableRoleRequest and assigns it to the Role field. -func (o *WritableIPRangeRequest) SetRole(v RoleRequest) { +// SetRole gets a reference to the given NullableBriefRoleRequest and assigns it to the Role field. +func (o *WritableIPRangeRequest) SetRole(v BriefRoleRequest) { o.Role.Set(&v) } diff --git a/model_writable_ip_sec_policy_request.go b/model_writable_ip_sec_policy_request.go index d6599e673..a88039045 100644 --- a/model_writable_ip_sec_policy_request.go +++ b/model_writable_ip_sec_policy_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_writable_ip_sec_profile_request.go b/model_writable_ip_sec_profile_request.go index 0f60eeb67..9cb670853 100644 --- a/model_writable_ip_sec_profile_request.go +++ b/model_writable_ip_sec_profile_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,14 +20,14 @@ var _ MappedNullable = &WritableIPSecProfileRequest{} // WritableIPSecProfileRequest Adds support for custom fields and tags. type WritableIPSecProfileRequest struct { - Name string `json:"name"` - Description *string `json:"description,omitempty"` - Mode IPSecProfileModeValue `json:"mode"` - IkePolicy IKEPolicyRequest `json:"ike_policy"` - IpsecPolicy IPSecPolicyRequest `json:"ipsec_policy"` - Comments *string `json:"comments,omitempty"` - Tags []NestedTagRequest `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Name string `json:"name"` + Description *string `json:"description,omitempty"` + Mode IPSecProfileModeValue `json:"mode"` + IkePolicy BriefIKEPolicyRequest `json:"ike_policy"` + IpsecPolicy BriefIPSecPolicyRequest `json:"ipsec_policy"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -37,7 +37,7 @@ type _WritableIPSecProfileRequest WritableIPSecProfileRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewWritableIPSecProfileRequest(name string, mode IPSecProfileModeValue, ikePolicy IKEPolicyRequest, ipsecPolicy IPSecPolicyRequest) *WritableIPSecProfileRequest { +func NewWritableIPSecProfileRequest(name string, mode IPSecProfileModeValue, ikePolicy BriefIKEPolicyRequest, ipsecPolicy BriefIPSecPolicyRequest) *WritableIPSecProfileRequest { this := WritableIPSecProfileRequest{} this.Name = name this.Mode = mode @@ -135,9 +135,9 @@ func (o *WritableIPSecProfileRequest) SetMode(v IPSecProfileModeValue) { } // GetIkePolicy returns the IkePolicy field value -func (o *WritableIPSecProfileRequest) GetIkePolicy() IKEPolicyRequest { +func (o *WritableIPSecProfileRequest) GetIkePolicy() BriefIKEPolicyRequest { if o == nil { - var ret IKEPolicyRequest + var ret BriefIKEPolicyRequest return ret } @@ -146,7 +146,7 @@ func (o *WritableIPSecProfileRequest) GetIkePolicy() IKEPolicyRequest { // GetIkePolicyOk returns a tuple with the IkePolicy field value // and a boolean to check if the value has been set. -func (o *WritableIPSecProfileRequest) GetIkePolicyOk() (*IKEPolicyRequest, bool) { +func (o *WritableIPSecProfileRequest) GetIkePolicyOk() (*BriefIKEPolicyRequest, bool) { if o == nil { return nil, false } @@ -154,14 +154,14 @@ func (o *WritableIPSecProfileRequest) GetIkePolicyOk() (*IKEPolicyRequest, bool) } // SetIkePolicy sets field value -func (o *WritableIPSecProfileRequest) SetIkePolicy(v IKEPolicyRequest) { +func (o *WritableIPSecProfileRequest) SetIkePolicy(v BriefIKEPolicyRequest) { o.IkePolicy = v } // GetIpsecPolicy returns the IpsecPolicy field value -func (o *WritableIPSecProfileRequest) GetIpsecPolicy() IPSecPolicyRequest { +func (o *WritableIPSecProfileRequest) GetIpsecPolicy() BriefIPSecPolicyRequest { if o == nil { - var ret IPSecPolicyRequest + var ret BriefIPSecPolicyRequest return ret } @@ -170,7 +170,7 @@ func (o *WritableIPSecProfileRequest) GetIpsecPolicy() IPSecPolicyRequest { // GetIpsecPolicyOk returns a tuple with the IpsecPolicy field value // and a boolean to check if the value has been set. -func (o *WritableIPSecProfileRequest) GetIpsecPolicyOk() (*IPSecPolicyRequest, bool) { +func (o *WritableIPSecProfileRequest) GetIpsecPolicyOk() (*BriefIPSecPolicyRequest, bool) { if o == nil { return nil, false } @@ -178,7 +178,7 @@ func (o *WritableIPSecProfileRequest) GetIpsecPolicyOk() (*IPSecPolicyRequest, b } // SetIpsecPolicy sets field value -func (o *WritableIPSecProfileRequest) SetIpsecPolicy(v IPSecPolicyRequest) { +func (o *WritableIPSecProfileRequest) SetIpsecPolicy(v BriefIPSecPolicyRequest) { o.IpsecPolicy = v } diff --git a/model_writable_ip_sec_proposal_request.go b/model_writable_ip_sec_proposal_request.go index f04acc1ab..ccd7b12fe 100644 --- a/model_writable_ip_sec_proposal_request.go +++ b/model_writable_ip_sec_proposal_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,10 +20,10 @@ var _ MappedNullable = &WritableIPSecProposalRequest{} // WritableIPSecProposalRequest Adds support for custom fields and tags. type WritableIPSecProposalRequest struct { - Name string `json:"name"` - Description *string `json:"description,omitempty"` - EncryptionAlgorithm *Encryption `json:"encryption_algorithm,omitempty"` - AuthenticationAlgorithm *Authentication `json:"authentication_algorithm,omitempty"` + Name string `json:"name"` + Description *string `json:"description,omitempty"` + EncryptionAlgorithm *Encryption1 `json:"encryption_algorithm,omitempty"` + AuthenticationAlgorithm *Authentication1 `json:"authentication_algorithm,omitempty"` // Security association lifetime (seconds) SaLifetimeSeconds NullableInt32 `json:"sa_lifetime_seconds,omitempty"` // Security association lifetime (in kilobytes) @@ -111,9 +111,9 @@ func (o *WritableIPSecProposalRequest) SetDescription(v string) { } // GetEncryptionAlgorithm returns the EncryptionAlgorithm field value if set, zero value otherwise. -func (o *WritableIPSecProposalRequest) GetEncryptionAlgorithm() Encryption { +func (o *WritableIPSecProposalRequest) GetEncryptionAlgorithm() Encryption1 { if o == nil || IsNil(o.EncryptionAlgorithm) { - var ret Encryption + var ret Encryption1 return ret } return *o.EncryptionAlgorithm @@ -121,7 +121,7 @@ func (o *WritableIPSecProposalRequest) GetEncryptionAlgorithm() Encryption { // GetEncryptionAlgorithmOk returns a tuple with the EncryptionAlgorithm field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *WritableIPSecProposalRequest) GetEncryptionAlgorithmOk() (*Encryption, bool) { +func (o *WritableIPSecProposalRequest) GetEncryptionAlgorithmOk() (*Encryption1, bool) { if o == nil || IsNil(o.EncryptionAlgorithm) { return nil, false } @@ -137,15 +137,15 @@ func (o *WritableIPSecProposalRequest) HasEncryptionAlgorithm() bool { return false } -// SetEncryptionAlgorithm gets a reference to the given Encryption and assigns it to the EncryptionAlgorithm field. -func (o *WritableIPSecProposalRequest) SetEncryptionAlgorithm(v Encryption) { +// SetEncryptionAlgorithm gets a reference to the given Encryption1 and assigns it to the EncryptionAlgorithm field. +func (o *WritableIPSecProposalRequest) SetEncryptionAlgorithm(v Encryption1) { o.EncryptionAlgorithm = &v } // GetAuthenticationAlgorithm returns the AuthenticationAlgorithm field value if set, zero value otherwise. -func (o *WritableIPSecProposalRequest) GetAuthenticationAlgorithm() Authentication { +func (o *WritableIPSecProposalRequest) GetAuthenticationAlgorithm() Authentication1 { if o == nil || IsNil(o.AuthenticationAlgorithm) { - var ret Authentication + var ret Authentication1 return ret } return *o.AuthenticationAlgorithm @@ -153,7 +153,7 @@ func (o *WritableIPSecProposalRequest) GetAuthenticationAlgorithm() Authenticati // GetAuthenticationAlgorithmOk returns a tuple with the AuthenticationAlgorithm field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *WritableIPSecProposalRequest) GetAuthenticationAlgorithmOk() (*Authentication, bool) { +func (o *WritableIPSecProposalRequest) GetAuthenticationAlgorithmOk() (*Authentication1, bool) { if o == nil || IsNil(o.AuthenticationAlgorithm) { return nil, false } @@ -169,8 +169,8 @@ func (o *WritableIPSecProposalRequest) HasAuthenticationAlgorithm() bool { return false } -// SetAuthenticationAlgorithm gets a reference to the given Authentication and assigns it to the AuthenticationAlgorithm field. -func (o *WritableIPSecProposalRequest) SetAuthenticationAlgorithm(v Authentication) { +// SetAuthenticationAlgorithm gets a reference to the given Authentication1 and assigns it to the AuthenticationAlgorithm field. +func (o *WritableIPSecProposalRequest) SetAuthenticationAlgorithm(v Authentication1) { o.AuthenticationAlgorithm = &v } diff --git a/model_writable_journal_entry_request.go b/model_writable_journal_entry_request.go index ab1c91cc2..7463761f0 100644 --- a/model_writable_journal_entry_request.go +++ b/model_writable_journal_entry_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_writable_l2_vpn_request.go b/model_writable_l2_vpn_request.go index 64af85b8d..70ddc1ca2 100644 --- a/model_writable_l2_vpn_request.go +++ b/model_writable_l2_vpn_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,17 +20,17 @@ var _ MappedNullable = &WritableL2VPNRequest{} // WritableL2VPNRequest Adds support for custom fields and tags. type WritableL2VPNRequest struct { - Identifier NullableInt64 `json:"identifier,omitempty"` - Name string `json:"name"` - Slug string `json:"slug"` - Type L2VPNTypeValue `json:"type"` - ImportTargets []int32 `json:"import_targets,omitempty"` - ExportTargets []int32 `json:"export_targets,omitempty"` - Description *string `json:"description,omitempty"` - Comments *string `json:"comments,omitempty"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` - Tags []NestedTagRequest `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + Identifier NullableInt64 `json:"identifier,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Type BriefL2VPNTypeValue `json:"type"` + ImportTargets []int32 `json:"import_targets,omitempty"` + ExportTargets []int32 `json:"export_targets,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -40,7 +40,7 @@ type _WritableL2VPNRequest WritableL2VPNRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewWritableL2VPNRequest(name string, slug string, type_ L2VPNTypeValue) *WritableL2VPNRequest { +func NewWritableL2VPNRequest(name string, slug string, type_ BriefL2VPNTypeValue) *WritableL2VPNRequest { this := WritableL2VPNRequest{} this.Name = name this.Slug = slug @@ -148,9 +148,9 @@ func (o *WritableL2VPNRequest) SetSlug(v string) { } // GetType returns the Type field value -func (o *WritableL2VPNRequest) GetType() L2VPNTypeValue { +func (o *WritableL2VPNRequest) GetType() BriefL2VPNTypeValue { if o == nil { - var ret L2VPNTypeValue + var ret BriefL2VPNTypeValue return ret } @@ -159,7 +159,7 @@ func (o *WritableL2VPNRequest) GetType() L2VPNTypeValue { // GetTypeOk returns a tuple with the Type field value // and a boolean to check if the value has been set. -func (o *WritableL2VPNRequest) GetTypeOk() (*L2VPNTypeValue, bool) { +func (o *WritableL2VPNRequest) GetTypeOk() (*BriefL2VPNTypeValue, bool) { if o == nil { return nil, false } @@ -167,7 +167,7 @@ func (o *WritableL2VPNRequest) GetTypeOk() (*L2VPNTypeValue, bool) { } // SetType sets field value -func (o *WritableL2VPNRequest) SetType(v L2VPNTypeValue) { +func (o *WritableL2VPNRequest) SetType(v BriefL2VPNTypeValue) { o.Type = v } @@ -300,9 +300,9 @@ func (o *WritableL2VPNRequest) SetComments(v string) { } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableL2VPNRequest) GetTenant() TenantRequest { +func (o *WritableL2VPNRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -311,7 +311,7 @@ func (o *WritableL2VPNRequest) GetTenant() TenantRequest { // 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 *WritableL2VPNRequest) GetTenantOk() (*TenantRequest, bool) { +func (o *WritableL2VPNRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -327,8 +327,8 @@ func (o *WritableL2VPNRequest) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *WritableL2VPNRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *WritableL2VPNRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } diff --git a/model_writable_location_request.go b/model_writable_location_request.go index 4ee75bbce..c03485e43 100644 --- a/model_writable_location_request.go +++ b/model_writable_location_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,12 +20,12 @@ var _ MappedNullable = &WritableLocationRequest{} // WritableLocationRequest Extends PrimaryModelSerializer to include MPTT support. type WritableLocationRequest struct { - Name string `json:"name"` - Slug string `json:"slug"` - Site SiteRequest `json:"site"` - Parent NullableInt32 `json:"parent"` - Status *PatchedWritableLocationRequestStatus `json:"status,omitempty"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Site BriefSiteRequest `json:"site"` + Parent NullableInt32 `json:"parent"` + Status *LocationStatusValue `json:"status,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` // Local facility ID or description Facility *string `json:"facility,omitempty"` Description *string `json:"description,omitempty"` @@ -40,7 +40,7 @@ type _WritableLocationRequest WritableLocationRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewWritableLocationRequest(name string, slug string, site SiteRequest, parent NullableInt32) *WritableLocationRequest { +func NewWritableLocationRequest(name string, slug string, site BriefSiteRequest, parent NullableInt32) *WritableLocationRequest { this := WritableLocationRequest{} this.Name = name this.Slug = slug @@ -106,9 +106,9 @@ func (o *WritableLocationRequest) SetSlug(v string) { } // GetSite returns the Site field value -func (o *WritableLocationRequest) GetSite() SiteRequest { +func (o *WritableLocationRequest) GetSite() BriefSiteRequest { if o == nil { - var ret SiteRequest + var ret BriefSiteRequest return ret } @@ -117,7 +117,7 @@ func (o *WritableLocationRequest) GetSite() SiteRequest { // GetSiteOk returns a tuple with the Site field value // and a boolean to check if the value has been set. -func (o *WritableLocationRequest) GetSiteOk() (*SiteRequest, bool) { +func (o *WritableLocationRequest) GetSiteOk() (*BriefSiteRequest, bool) { if o == nil { return nil, false } @@ -125,7 +125,7 @@ func (o *WritableLocationRequest) GetSiteOk() (*SiteRequest, bool) { } // SetSite sets field value -func (o *WritableLocationRequest) SetSite(v SiteRequest) { +func (o *WritableLocationRequest) SetSite(v BriefSiteRequest) { o.Site = v } @@ -156,9 +156,9 @@ func (o *WritableLocationRequest) SetParent(v int32) { } // GetStatus returns the Status field value if set, zero value otherwise. -func (o *WritableLocationRequest) GetStatus() PatchedWritableLocationRequestStatus { +func (o *WritableLocationRequest) GetStatus() LocationStatusValue { if o == nil || IsNil(o.Status) { - var ret PatchedWritableLocationRequestStatus + var ret LocationStatusValue return ret } return *o.Status @@ -166,7 +166,7 @@ func (o *WritableLocationRequest) GetStatus() PatchedWritableLocationRequestStat // 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 *WritableLocationRequest) GetStatusOk() (*PatchedWritableLocationRequestStatus, bool) { +func (o *WritableLocationRequest) GetStatusOk() (*LocationStatusValue, bool) { if o == nil || IsNil(o.Status) { return nil, false } @@ -182,15 +182,15 @@ func (o *WritableLocationRequest) HasStatus() bool { return false } -// SetStatus gets a reference to the given PatchedWritableLocationRequestStatus and assigns it to the Status field. -func (o *WritableLocationRequest) SetStatus(v PatchedWritableLocationRequestStatus) { +// SetStatus gets a reference to the given LocationStatusValue and assigns it to the Status field. +func (o *WritableLocationRequest) SetStatus(v LocationStatusValue) { o.Status = &v } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableLocationRequest) GetTenant() TenantRequest { +func (o *WritableLocationRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -199,7 +199,7 @@ func (o *WritableLocationRequest) GetTenant() TenantRequest { // 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 *WritableLocationRequest) GetTenantOk() (*TenantRequest, bool) { +func (o *WritableLocationRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -215,8 +215,8 @@ func (o *WritableLocationRequest) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *WritableLocationRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *WritableLocationRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } diff --git a/model_writable_module_request.go b/model_writable_module_request.go index 83271a51e..9b488a70a 100644 --- a/model_writable_module_request.go +++ b/model_writable_module_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,11 +20,11 @@ var _ MappedNullable = &WritableModuleRequest{} // WritableModuleRequest Adds support for custom fields and tags. type WritableModuleRequest struct { - Device DeviceRequest `json:"device"` - ModuleBay int32 `json:"module_bay"` - ModuleType ModuleTypeRequest `json:"module_type"` - Status *PatchedWritableModuleRequestStatus `json:"status,omitempty"` - Serial *string `json:"serial,omitempty"` + Device BriefDeviceRequest `json:"device"` + ModuleBay int32 `json:"module_bay"` + ModuleType BriefModuleTypeRequest `json:"module_type"` + Status *ModuleStatusValue `json:"status,omitempty"` + Serial *string `json:"serial,omitempty"` // A unique tag used to identify this device AssetTag NullableString `json:"asset_tag,omitempty"` Description *string `json:"description,omitempty"` @@ -40,7 +40,7 @@ type _WritableModuleRequest WritableModuleRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewWritableModuleRequest(device DeviceRequest, moduleBay int32, moduleType ModuleTypeRequest) *WritableModuleRequest { +func NewWritableModuleRequest(device BriefDeviceRequest, moduleBay int32, moduleType BriefModuleTypeRequest) *WritableModuleRequest { this := WritableModuleRequest{} this.Device = device this.ModuleBay = moduleBay @@ -57,9 +57,9 @@ func NewWritableModuleRequestWithDefaults() *WritableModuleRequest { } // GetDevice returns the Device field value -func (o *WritableModuleRequest) GetDevice() DeviceRequest { +func (o *WritableModuleRequest) GetDevice() BriefDeviceRequest { if o == nil { - var ret DeviceRequest + var ret BriefDeviceRequest return ret } @@ -68,7 +68,7 @@ func (o *WritableModuleRequest) GetDevice() DeviceRequest { // GetDeviceOk returns a tuple with the Device field value // and a boolean to check if the value has been set. -func (o *WritableModuleRequest) GetDeviceOk() (*DeviceRequest, bool) { +func (o *WritableModuleRequest) GetDeviceOk() (*BriefDeviceRequest, bool) { if o == nil { return nil, false } @@ -76,7 +76,7 @@ func (o *WritableModuleRequest) GetDeviceOk() (*DeviceRequest, bool) { } // SetDevice sets field value -func (o *WritableModuleRequest) SetDevice(v DeviceRequest) { +func (o *WritableModuleRequest) SetDevice(v BriefDeviceRequest) { o.Device = v } @@ -105,9 +105,9 @@ func (o *WritableModuleRequest) SetModuleBay(v int32) { } // GetModuleType returns the ModuleType field value -func (o *WritableModuleRequest) GetModuleType() ModuleTypeRequest { +func (o *WritableModuleRequest) GetModuleType() BriefModuleTypeRequest { if o == nil { - var ret ModuleTypeRequest + var ret BriefModuleTypeRequest return ret } @@ -116,7 +116,7 @@ func (o *WritableModuleRequest) GetModuleType() ModuleTypeRequest { // GetModuleTypeOk returns a tuple with the ModuleType field value // and a boolean to check if the value has been set. -func (o *WritableModuleRequest) GetModuleTypeOk() (*ModuleTypeRequest, bool) { +func (o *WritableModuleRequest) GetModuleTypeOk() (*BriefModuleTypeRequest, bool) { if o == nil { return nil, false } @@ -124,14 +124,14 @@ func (o *WritableModuleRequest) GetModuleTypeOk() (*ModuleTypeRequest, bool) { } // SetModuleType sets field value -func (o *WritableModuleRequest) SetModuleType(v ModuleTypeRequest) { +func (o *WritableModuleRequest) SetModuleType(v BriefModuleTypeRequest) { o.ModuleType = v } // GetStatus returns the Status field value if set, zero value otherwise. -func (o *WritableModuleRequest) GetStatus() PatchedWritableModuleRequestStatus { +func (o *WritableModuleRequest) GetStatus() ModuleStatusValue { if o == nil || IsNil(o.Status) { - var ret PatchedWritableModuleRequestStatus + var ret ModuleStatusValue return ret } return *o.Status @@ -139,7 +139,7 @@ func (o *WritableModuleRequest) GetStatus() PatchedWritableModuleRequestStatus { // 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 *WritableModuleRequest) GetStatusOk() (*PatchedWritableModuleRequestStatus, bool) { +func (o *WritableModuleRequest) GetStatusOk() (*ModuleStatusValue, bool) { if o == nil || IsNil(o.Status) { return nil, false } @@ -155,8 +155,8 @@ func (o *WritableModuleRequest) HasStatus() bool { return false } -// SetStatus gets a reference to the given PatchedWritableModuleRequestStatus and assigns it to the Status field. -func (o *WritableModuleRequest) SetStatus(v PatchedWritableModuleRequestStatus) { +// SetStatus gets a reference to the given ModuleStatusValue and assigns it to the Status field. +func (o *WritableModuleRequest) SetStatus(v ModuleStatusValue) { o.Status = &v } diff --git a/model_writable_module_type_request.go b/model_writable_module_type_request.go index a321613fe..dd66cad3a 100644 --- a/model_writable_module_type_request.go +++ b/model_writable_module_type_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,16 +20,17 @@ var _ MappedNullable = &WritableModuleTypeRequest{} // WritableModuleTypeRequest Adds support for custom fields and tags. type WritableModuleTypeRequest struct { - Manufacturer ManufacturerRequest `json:"manufacturer"` - Model string `json:"model"` + Manufacturer BriefManufacturerRequest `json:"manufacturer"` + Model string `json:"model"` // Discrete part number (optional) - PartNumber *string `json:"part_number,omitempty"` - Weight NullableFloat64 `json:"weight,omitempty"` - WeightUnit *PatchedWritableDeviceTypeRequestWeightUnit `json:"weight_unit,omitempty"` - Description *string `json:"description,omitempty"` - Comments *string `json:"comments,omitempty"` - Tags []NestedTagRequest `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + PartNumber *string `json:"part_number,omitempty"` + Airflow *ModuleTypeAirflowValue `json:"airflow,omitempty"` + Weight NullableFloat64 `json:"weight,omitempty"` + WeightUnit *DeviceTypeWeightUnitValue `json:"weight_unit,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -39,7 +40,7 @@ type _WritableModuleTypeRequest WritableModuleTypeRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewWritableModuleTypeRequest(manufacturer ManufacturerRequest, model string) *WritableModuleTypeRequest { +func NewWritableModuleTypeRequest(manufacturer BriefManufacturerRequest, model string) *WritableModuleTypeRequest { this := WritableModuleTypeRequest{} this.Manufacturer = manufacturer this.Model = model @@ -55,9 +56,9 @@ func NewWritableModuleTypeRequestWithDefaults() *WritableModuleTypeRequest { } // GetManufacturer returns the Manufacturer field value -func (o *WritableModuleTypeRequest) GetManufacturer() ManufacturerRequest { +func (o *WritableModuleTypeRequest) GetManufacturer() BriefManufacturerRequest { if o == nil { - var ret ManufacturerRequest + var ret BriefManufacturerRequest return ret } @@ -66,7 +67,7 @@ func (o *WritableModuleTypeRequest) GetManufacturer() ManufacturerRequest { // GetManufacturerOk returns a tuple with the Manufacturer field value // and a boolean to check if the value has been set. -func (o *WritableModuleTypeRequest) GetManufacturerOk() (*ManufacturerRequest, bool) { +func (o *WritableModuleTypeRequest) GetManufacturerOk() (*BriefManufacturerRequest, bool) { if o == nil { return nil, false } @@ -74,7 +75,7 @@ func (o *WritableModuleTypeRequest) GetManufacturerOk() (*ManufacturerRequest, b } // SetManufacturer sets field value -func (o *WritableModuleTypeRequest) SetManufacturer(v ManufacturerRequest) { +func (o *WritableModuleTypeRequest) SetManufacturer(v BriefManufacturerRequest) { o.Manufacturer = v } @@ -134,6 +135,38 @@ func (o *WritableModuleTypeRequest) SetPartNumber(v string) { o.PartNumber = &v } +// GetAirflow returns the Airflow field value if set, zero value otherwise. +func (o *WritableModuleTypeRequest) GetAirflow() ModuleTypeAirflowValue { + if o == nil || IsNil(o.Airflow) { + var ret ModuleTypeAirflowValue + return ret + } + return *o.Airflow +} + +// GetAirflowOk returns a tuple with the Airflow field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WritableModuleTypeRequest) GetAirflowOk() (*ModuleTypeAirflowValue, bool) { + if o == nil || IsNil(o.Airflow) { + return nil, false + } + return o.Airflow, true +} + +// HasAirflow returns a boolean if a field has been set. +func (o *WritableModuleTypeRequest) HasAirflow() bool { + if o != nil && !IsNil(o.Airflow) { + return true + } + + return false +} + +// SetAirflow gets a reference to the given ModuleTypeAirflowValue and assigns it to the Airflow field. +func (o *WritableModuleTypeRequest) SetAirflow(v ModuleTypeAirflowValue) { + o.Airflow = &v +} + // GetWeight returns the Weight field value if set, zero value otherwise (both if not set or set to explicit null). func (o *WritableModuleTypeRequest) GetWeight() float64 { if o == nil || IsNil(o.Weight.Get()) { @@ -178,9 +211,9 @@ func (o *WritableModuleTypeRequest) UnsetWeight() { } // GetWeightUnit returns the WeightUnit field value if set, zero value otherwise. -func (o *WritableModuleTypeRequest) GetWeightUnit() PatchedWritableDeviceTypeRequestWeightUnit { +func (o *WritableModuleTypeRequest) GetWeightUnit() DeviceTypeWeightUnitValue { if o == nil || IsNil(o.WeightUnit) { - var ret PatchedWritableDeviceTypeRequestWeightUnit + var ret DeviceTypeWeightUnitValue return ret } return *o.WeightUnit @@ -188,7 +221,7 @@ func (o *WritableModuleTypeRequest) GetWeightUnit() PatchedWritableDeviceTypeReq // GetWeightUnitOk returns a tuple with the WeightUnit field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *WritableModuleTypeRequest) GetWeightUnitOk() (*PatchedWritableDeviceTypeRequestWeightUnit, bool) { +func (o *WritableModuleTypeRequest) GetWeightUnitOk() (*DeviceTypeWeightUnitValue, bool) { if o == nil || IsNil(o.WeightUnit) { return nil, false } @@ -204,8 +237,8 @@ func (o *WritableModuleTypeRequest) HasWeightUnit() bool { return false } -// SetWeightUnit gets a reference to the given PatchedWritableDeviceTypeRequestWeightUnit and assigns it to the WeightUnit field. -func (o *WritableModuleTypeRequest) SetWeightUnit(v PatchedWritableDeviceTypeRequestWeightUnit) { +// SetWeightUnit gets a reference to the given DeviceTypeWeightUnitValue and assigns it to the WeightUnit field. +func (o *WritableModuleTypeRequest) SetWeightUnit(v DeviceTypeWeightUnitValue) { o.WeightUnit = &v } @@ -352,6 +385,9 @@ func (o WritableModuleTypeRequest) ToMap() (map[string]interface{}, error) { if !IsNil(o.PartNumber) { toSerialize["part_number"] = o.PartNumber } + if !IsNil(o.Airflow) { + toSerialize["airflow"] = o.Airflow + } if o.Weight.IsSet() { toSerialize["weight"] = o.Weight.Get() } @@ -417,6 +453,7 @@ func (o *WritableModuleTypeRequest) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "manufacturer") delete(additionalProperties, "model") delete(additionalProperties, "part_number") + delete(additionalProperties, "airflow") delete(additionalProperties, "weight") delete(additionalProperties, "weight_unit") delete(additionalProperties, "description") diff --git a/model_writable_power_feed_request.go b/model_writable_power_feed_request.go index 3a6fcef64..8779a45ad 100644 --- a/model_writable_power_feed_request.go +++ b/model_writable_power_feed_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,8 +20,8 @@ var _ MappedNullable = &WritablePowerFeedRequest{} // WritablePowerFeedRequest Adds support for custom fields and tags. type WritablePowerFeedRequest struct { - PowerPanel PowerPanelRequest `json:"power_panel"` - Rack NullableRackRequest `json:"rack,omitempty"` + PowerPanel BriefPowerPanelRequest `json:"power_panel"` + Rack NullableBriefRackRequest `json:"rack,omitempty"` Name string `json:"name"` Status *PatchedWritablePowerFeedRequestStatus `json:"status,omitempty"` Type *PatchedWritablePowerFeedRequestType `json:"type,omitempty"` @@ -32,12 +32,12 @@ type WritablePowerFeedRequest struct { // Maximum permissible draw (percentage) MaxUtilization *int32 `json:"max_utilization,omitempty"` // Treat as if a cable is connected - MarkConnected *bool `json:"mark_connected,omitempty"` - Description *string `json:"description,omitempty"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` - Comments *string `json:"comments,omitempty"` - Tags []NestedTagRequest `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + MarkConnected *bool `json:"mark_connected,omitempty"` + Description *string `json:"description,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -47,7 +47,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(powerPanel PowerPanelRequest, name string) *WritablePowerFeedRequest { +func NewWritablePowerFeedRequest(powerPanel BriefPowerPanelRequest, name string) *WritablePowerFeedRequest { this := WritablePowerFeedRequest{} this.PowerPanel = powerPanel this.Name = name @@ -63,9 +63,9 @@ func NewWritablePowerFeedRequestWithDefaults() *WritablePowerFeedRequest { } // GetPowerPanel returns the PowerPanel field value -func (o *WritablePowerFeedRequest) GetPowerPanel() PowerPanelRequest { +func (o *WritablePowerFeedRequest) GetPowerPanel() BriefPowerPanelRequest { if o == nil { - var ret PowerPanelRequest + var ret BriefPowerPanelRequest return ret } @@ -74,7 +74,7 @@ func (o *WritablePowerFeedRequest) GetPowerPanel() PowerPanelRequest { // GetPowerPanelOk returns a tuple with the PowerPanel field value // and a boolean to check if the value has been set. -func (o *WritablePowerFeedRequest) GetPowerPanelOk() (*PowerPanelRequest, bool) { +func (o *WritablePowerFeedRequest) GetPowerPanelOk() (*BriefPowerPanelRequest, bool) { if o == nil { return nil, false } @@ -82,14 +82,14 @@ func (o *WritablePowerFeedRequest) GetPowerPanelOk() (*PowerPanelRequest, bool) } // SetPowerPanel sets field value -func (o *WritablePowerFeedRequest) SetPowerPanel(v PowerPanelRequest) { +func (o *WritablePowerFeedRequest) SetPowerPanel(v BriefPowerPanelRequest) { o.PowerPanel = v } // GetRack returns the Rack field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritablePowerFeedRequest) GetRack() RackRequest { +func (o *WritablePowerFeedRequest) GetRack() BriefRackRequest { if o == nil || IsNil(o.Rack.Get()) { - var ret RackRequest + var ret BriefRackRequest return ret } return *o.Rack.Get() @@ -98,7 +98,7 @@ func (o *WritablePowerFeedRequest) GetRack() RackRequest { // GetRackOk returns a tuple with the Rack 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) GetRackOk() (*RackRequest, bool) { +func (o *WritablePowerFeedRequest) GetRackOk() (*BriefRackRequest, bool) { if o == nil { return nil, false } @@ -114,8 +114,8 @@ func (o *WritablePowerFeedRequest) HasRack() bool { return false } -// SetRack gets a reference to the given NullableRackRequest and assigns it to the Rack field. -func (o *WritablePowerFeedRequest) SetRack(v RackRequest) { +// SetRack gets a reference to the given NullableBriefRackRequest and assigns it to the Rack field. +func (o *WritablePowerFeedRequest) SetRack(v BriefRackRequest) { o.Rack.Set(&v) } @@ -442,9 +442,9 @@ func (o *WritablePowerFeedRequest) SetDescription(v string) { } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritablePowerFeedRequest) GetTenant() TenantRequest { +func (o *WritablePowerFeedRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -453,7 +453,7 @@ func (o *WritablePowerFeedRequest) GetTenant() TenantRequest { // 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 *WritablePowerFeedRequest) GetTenantOk() (*TenantRequest, bool) { +func (o *WritablePowerFeedRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -469,8 +469,8 @@ func (o *WritablePowerFeedRequest) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *WritablePowerFeedRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *WritablePowerFeedRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } diff --git a/model_writable_power_outlet_request.go b/model_writable_power_outlet_request.go index 024131d9b..eff091bd4 100644 --- a/model_writable_power_outlet_request.go +++ b/model_writable_power_outlet_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,13 +20,13 @@ var _ MappedNullable = &WritablePowerOutletRequest{} // WritablePowerOutletRequest Adds support for custom fields and tags. type WritablePowerOutletRequest struct { - Device DeviceRequest `json:"device"` - Module NullableModuleRequest `json:"module,omitempty"` - Name string `json:"name"` + Device BriefDeviceRequest `json:"device"` + Module NullableBriefModuleRequest `json:"module,omitempty"` + Name string `json:"name"` // Physical label Label *string `json:"label,omitempty"` Type *PatchedWritablePowerOutletRequestType `json:"type,omitempty"` - PowerPort NullablePowerPortRequest `json:"power_port,omitempty"` + PowerPort NullableBriefPowerPortRequest `json:"power_port,omitempty"` FeedLeg *PatchedWritablePowerOutletRequestFeedLeg `json:"feed_leg,omitempty"` Description *string `json:"description,omitempty"` // Treat as if a cable is connected @@ -42,7 +42,7 @@ type _WritablePowerOutletRequest WritablePowerOutletRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewWritablePowerOutletRequest(device DeviceRequest, name string) *WritablePowerOutletRequest { +func NewWritablePowerOutletRequest(device BriefDeviceRequest, name string) *WritablePowerOutletRequest { this := WritablePowerOutletRequest{} this.Device = device this.Name = name @@ -58,9 +58,9 @@ func NewWritablePowerOutletRequestWithDefaults() *WritablePowerOutletRequest { } // GetDevice returns the Device field value -func (o *WritablePowerOutletRequest) GetDevice() DeviceRequest { +func (o *WritablePowerOutletRequest) GetDevice() BriefDeviceRequest { if o == nil { - var ret DeviceRequest + var ret BriefDeviceRequest return ret } @@ -69,7 +69,7 @@ func (o *WritablePowerOutletRequest) GetDevice() DeviceRequest { // GetDeviceOk returns a tuple with the Device field value // and a boolean to check if the value has been set. -func (o *WritablePowerOutletRequest) GetDeviceOk() (*DeviceRequest, bool) { +func (o *WritablePowerOutletRequest) GetDeviceOk() (*BriefDeviceRequest, bool) { if o == nil { return nil, false } @@ -77,14 +77,14 @@ func (o *WritablePowerOutletRequest) GetDeviceOk() (*DeviceRequest, bool) { } // SetDevice sets field value -func (o *WritablePowerOutletRequest) SetDevice(v DeviceRequest) { +func (o *WritablePowerOutletRequest) SetDevice(v BriefDeviceRequest) { o.Device = v } // GetModule returns the Module field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritablePowerOutletRequest) GetModule() ModuleRequest { +func (o *WritablePowerOutletRequest) GetModule() BriefModuleRequest { if o == nil || IsNil(o.Module.Get()) { - var ret ModuleRequest + var ret BriefModuleRequest return ret } return *o.Module.Get() @@ -93,7 +93,7 @@ func (o *WritablePowerOutletRequest) GetModule() ModuleRequest { // GetModuleOk returns a tuple with the Module 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 *WritablePowerOutletRequest) GetModuleOk() (*ModuleRequest, bool) { +func (o *WritablePowerOutletRequest) GetModuleOk() (*BriefModuleRequest, bool) { if o == nil { return nil, false } @@ -109,8 +109,8 @@ func (o *WritablePowerOutletRequest) HasModule() bool { return false } -// SetModule gets a reference to the given NullableModuleRequest and assigns it to the Module field. -func (o *WritablePowerOutletRequest) SetModule(v ModuleRequest) { +// SetModule gets a reference to the given NullableBriefModuleRequest and assigns it to the Module field. +func (o *WritablePowerOutletRequest) SetModule(v BriefModuleRequest) { o.Module.Set(&v) } @@ -213,9 +213,9 @@ func (o *WritablePowerOutletRequest) SetType(v PatchedWritablePowerOutletRequest } // GetPowerPort returns the PowerPort field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritablePowerOutletRequest) GetPowerPort() PowerPortRequest { +func (o *WritablePowerOutletRequest) GetPowerPort() BriefPowerPortRequest { if o == nil || IsNil(o.PowerPort.Get()) { - var ret PowerPortRequest + var ret BriefPowerPortRequest return ret } return *o.PowerPort.Get() @@ -224,7 +224,7 @@ func (o *WritablePowerOutletRequest) GetPowerPort() PowerPortRequest { // GetPowerPortOk returns a tuple with the PowerPort 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 *WritablePowerOutletRequest) GetPowerPortOk() (*PowerPortRequest, bool) { +func (o *WritablePowerOutletRequest) GetPowerPortOk() (*BriefPowerPortRequest, bool) { if o == nil { return nil, false } @@ -240,8 +240,8 @@ func (o *WritablePowerOutletRequest) HasPowerPort() bool { return false } -// SetPowerPort gets a reference to the given NullablePowerPortRequest and assigns it to the PowerPort field. -func (o *WritablePowerOutletRequest) SetPowerPort(v PowerPortRequest) { +// SetPowerPort gets a reference to the given NullableBriefPowerPortRequest and assigns it to the PowerPort field. +func (o *WritablePowerOutletRequest) SetPowerPort(v BriefPowerPortRequest) { o.PowerPort.Set(&v) } diff --git a/model_writable_power_outlet_template_request.go b/model_writable_power_outlet_template_request.go index d74116d27..10e186a41 100644 --- a/model_writable_power_outlet_template_request.go +++ b/model_writable_power_outlet_template_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,14 +20,14 @@ var _ MappedNullable = &WritablePowerOutletTemplateRequest{} // WritablePowerOutletTemplateRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 WritablePowerOutletTemplateRequest struct { - DeviceType NullableDeviceTypeRequest `json:"device_type,omitempty"` - ModuleType NullableModuleTypeRequest `json:"module_type,omitempty"` + DeviceType NullableBriefDeviceTypeRequest `json:"device_type,omitempty"` + ModuleType NullableBriefModuleTypeRequest `json:"module_type,omitempty"` // {module} is accepted as a substitution for the module bay position when attached to a module type. Name string `json:"name"` // Physical label Label *string `json:"label,omitempty"` Type *PatchedWritablePowerOutletTemplateRequestType `json:"type,omitempty"` - PowerPort NullablePowerPortTemplateRequest `json:"power_port,omitempty"` + PowerPort NullableBriefPowerPortTemplateRequest `json:"power_port,omitempty"` FeedLeg *PatchedWritablePowerOutletRequestFeedLeg `json:"feed_leg,omitempty"` Description *string `json:"description,omitempty"` AdditionalProperties map[string]interface{} @@ -54,9 +54,9 @@ func NewWritablePowerOutletTemplateRequestWithDefaults() *WritablePowerOutletTem } // GetDeviceType returns the DeviceType field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritablePowerOutletTemplateRequest) GetDeviceType() DeviceTypeRequest { +func (o *WritablePowerOutletTemplateRequest) GetDeviceType() BriefDeviceTypeRequest { if o == nil || IsNil(o.DeviceType.Get()) { - var ret DeviceTypeRequest + var ret BriefDeviceTypeRequest return ret } return *o.DeviceType.Get() @@ -65,7 +65,7 @@ func (o *WritablePowerOutletTemplateRequest) GetDeviceType() DeviceTypeRequest { // GetDeviceTypeOk returns a tuple with the DeviceType 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 *WritablePowerOutletTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool) { +func (o *WritablePowerOutletTemplateRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool) { if o == nil { return nil, false } @@ -81,8 +81,8 @@ func (o *WritablePowerOutletTemplateRequest) HasDeviceType() bool { return false } -// SetDeviceType gets a reference to the given NullableDeviceTypeRequest and assigns it to the DeviceType field. -func (o *WritablePowerOutletTemplateRequest) SetDeviceType(v DeviceTypeRequest) { +// SetDeviceType gets a reference to the given NullableBriefDeviceTypeRequest and assigns it to the DeviceType field. +func (o *WritablePowerOutletTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest) { o.DeviceType.Set(&v) } @@ -97,9 +97,9 @@ func (o *WritablePowerOutletTemplateRequest) UnsetDeviceType() { } // GetModuleType returns the ModuleType field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritablePowerOutletTemplateRequest) GetModuleType() ModuleTypeRequest { +func (o *WritablePowerOutletTemplateRequest) GetModuleType() BriefModuleTypeRequest { if o == nil || IsNil(o.ModuleType.Get()) { - var ret ModuleTypeRequest + var ret BriefModuleTypeRequest return ret } return *o.ModuleType.Get() @@ -108,7 +108,7 @@ func (o *WritablePowerOutletTemplateRequest) GetModuleType() ModuleTypeRequest { // GetModuleTypeOk returns a tuple with the ModuleType 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 *WritablePowerOutletTemplateRequest) GetModuleTypeOk() (*ModuleTypeRequest, bool) { +func (o *WritablePowerOutletTemplateRequest) GetModuleTypeOk() (*BriefModuleTypeRequest, bool) { if o == nil { return nil, false } @@ -124,8 +124,8 @@ func (o *WritablePowerOutletTemplateRequest) HasModuleType() bool { return false } -// SetModuleType gets a reference to the given NullableModuleTypeRequest and assigns it to the ModuleType field. -func (o *WritablePowerOutletTemplateRequest) SetModuleType(v ModuleTypeRequest) { +// SetModuleType gets a reference to the given NullableBriefModuleTypeRequest and assigns it to the ModuleType field. +func (o *WritablePowerOutletTemplateRequest) SetModuleType(v BriefModuleTypeRequest) { o.ModuleType.Set(&v) } @@ -228,9 +228,9 @@ func (o *WritablePowerOutletTemplateRequest) SetType(v PatchedWritablePowerOutle } // GetPowerPort returns the PowerPort field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritablePowerOutletTemplateRequest) GetPowerPort() PowerPortTemplateRequest { +func (o *WritablePowerOutletTemplateRequest) GetPowerPort() BriefPowerPortTemplateRequest { if o == nil || IsNil(o.PowerPort.Get()) { - var ret PowerPortTemplateRequest + var ret BriefPowerPortTemplateRequest return ret } return *o.PowerPort.Get() @@ -239,7 +239,7 @@ func (o *WritablePowerOutletTemplateRequest) GetPowerPort() PowerPortTemplateReq // GetPowerPortOk returns a tuple with the PowerPort 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 *WritablePowerOutletTemplateRequest) GetPowerPortOk() (*PowerPortTemplateRequest, bool) { +func (o *WritablePowerOutletTemplateRequest) GetPowerPortOk() (*BriefPowerPortTemplateRequest, bool) { if o == nil { return nil, false } @@ -255,8 +255,8 @@ func (o *WritablePowerOutletTemplateRequest) HasPowerPort() bool { return false } -// SetPowerPort gets a reference to the given NullablePowerPortTemplateRequest and assigns it to the PowerPort field. -func (o *WritablePowerOutletTemplateRequest) SetPowerPort(v PowerPortTemplateRequest) { +// SetPowerPort gets a reference to the given NullableBriefPowerPortTemplateRequest and assigns it to the PowerPort field. +func (o *WritablePowerOutletTemplateRequest) SetPowerPort(v BriefPowerPortTemplateRequest) { o.PowerPort.Set(&v) } diff --git a/model_writable_power_port_request.go b/model_writable_power_port_request.go index 1634269d8..24d8c9414 100644 --- a/model_writable_power_port_request.go +++ b/model_writable_power_port_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,9 +20,9 @@ var _ MappedNullable = &WritablePowerPortRequest{} // WritablePowerPortRequest Adds support for custom fields and tags. type WritablePowerPortRequest struct { - Device DeviceRequest `json:"device"` - Module NullableModuleRequest `json:"module,omitempty"` - Name string `json:"name"` + Device BriefDeviceRequest `json:"device"` + Module NullableBriefModuleRequest `json:"module,omitempty"` + Name string `json:"name"` // Physical label Label *string `json:"label,omitempty"` Type *PatchedWritablePowerPortRequestType `json:"type,omitempty"` @@ -44,7 +44,7 @@ type _WritablePowerPortRequest WritablePowerPortRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewWritablePowerPortRequest(device DeviceRequest, name string) *WritablePowerPortRequest { +func NewWritablePowerPortRequest(device BriefDeviceRequest, name string) *WritablePowerPortRequest { this := WritablePowerPortRequest{} this.Device = device this.Name = name @@ -60,9 +60,9 @@ func NewWritablePowerPortRequestWithDefaults() *WritablePowerPortRequest { } // GetDevice returns the Device field value -func (o *WritablePowerPortRequest) GetDevice() DeviceRequest { +func (o *WritablePowerPortRequest) GetDevice() BriefDeviceRequest { if o == nil { - var ret DeviceRequest + var ret BriefDeviceRequest return ret } @@ -71,7 +71,7 @@ func (o *WritablePowerPortRequest) GetDevice() DeviceRequest { // GetDeviceOk returns a tuple with the Device field value // and a boolean to check if the value has been set. -func (o *WritablePowerPortRequest) GetDeviceOk() (*DeviceRequest, bool) { +func (o *WritablePowerPortRequest) GetDeviceOk() (*BriefDeviceRequest, bool) { if o == nil { return nil, false } @@ -79,14 +79,14 @@ func (o *WritablePowerPortRequest) GetDeviceOk() (*DeviceRequest, bool) { } // SetDevice sets field value -func (o *WritablePowerPortRequest) SetDevice(v DeviceRequest) { +func (o *WritablePowerPortRequest) SetDevice(v BriefDeviceRequest) { o.Device = v } // GetModule returns the Module field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritablePowerPortRequest) GetModule() ModuleRequest { +func (o *WritablePowerPortRequest) GetModule() BriefModuleRequest { if o == nil || IsNil(o.Module.Get()) { - var ret ModuleRequest + var ret BriefModuleRequest return ret } return *o.Module.Get() @@ -95,7 +95,7 @@ func (o *WritablePowerPortRequest) GetModule() ModuleRequest { // GetModuleOk returns a tuple with the Module 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 *WritablePowerPortRequest) GetModuleOk() (*ModuleRequest, bool) { +func (o *WritablePowerPortRequest) GetModuleOk() (*BriefModuleRequest, bool) { if o == nil { return nil, false } @@ -111,8 +111,8 @@ func (o *WritablePowerPortRequest) HasModule() bool { return false } -// SetModule gets a reference to the given NullableModuleRequest and assigns it to the Module field. -func (o *WritablePowerPortRequest) SetModule(v ModuleRequest) { +// SetModule gets a reference to the given NullableBriefModuleRequest and assigns it to the Module field. +func (o *WritablePowerPortRequest) SetModule(v BriefModuleRequest) { o.Module.Set(&v) } diff --git a/model_writable_power_port_template_request.go b/model_writable_power_port_template_request.go index 0f35c5336..182f8a28b 100644 --- a/model_writable_power_port_template_request.go +++ b/model_writable_power_port_template_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,8 +20,8 @@ var _ MappedNullable = &WritablePowerPortTemplateRequest{} // WritablePowerPortTemplateRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 WritablePowerPortTemplateRequest struct { - DeviceType NullableDeviceTypeRequest `json:"device_type,omitempty"` - ModuleType NullableModuleTypeRequest `json:"module_type,omitempty"` + DeviceType NullableBriefDeviceTypeRequest `json:"device_type,omitempty"` + ModuleType NullableBriefModuleTypeRequest `json:"module_type,omitempty"` // {module} is accepted as a substitution for the module bay position when attached to a module type. Name string `json:"name"` // Physical label @@ -56,9 +56,9 @@ func NewWritablePowerPortTemplateRequestWithDefaults() *WritablePowerPortTemplat } // GetDeviceType returns the DeviceType field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritablePowerPortTemplateRequest) GetDeviceType() DeviceTypeRequest { +func (o *WritablePowerPortTemplateRequest) GetDeviceType() BriefDeviceTypeRequest { if o == nil || IsNil(o.DeviceType.Get()) { - var ret DeviceTypeRequest + var ret BriefDeviceTypeRequest return ret } return *o.DeviceType.Get() @@ -67,7 +67,7 @@ func (o *WritablePowerPortTemplateRequest) GetDeviceType() DeviceTypeRequest { // GetDeviceTypeOk returns a tuple with the DeviceType 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 *WritablePowerPortTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool) { +func (o *WritablePowerPortTemplateRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool) { if o == nil { return nil, false } @@ -83,8 +83,8 @@ func (o *WritablePowerPortTemplateRequest) HasDeviceType() bool { return false } -// SetDeviceType gets a reference to the given NullableDeviceTypeRequest and assigns it to the DeviceType field. -func (o *WritablePowerPortTemplateRequest) SetDeviceType(v DeviceTypeRequest) { +// SetDeviceType gets a reference to the given NullableBriefDeviceTypeRequest and assigns it to the DeviceType field. +func (o *WritablePowerPortTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest) { o.DeviceType.Set(&v) } @@ -99,9 +99,9 @@ func (o *WritablePowerPortTemplateRequest) UnsetDeviceType() { } // GetModuleType returns the ModuleType field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritablePowerPortTemplateRequest) GetModuleType() ModuleTypeRequest { +func (o *WritablePowerPortTemplateRequest) GetModuleType() BriefModuleTypeRequest { if o == nil || IsNil(o.ModuleType.Get()) { - var ret ModuleTypeRequest + var ret BriefModuleTypeRequest return ret } return *o.ModuleType.Get() @@ -110,7 +110,7 @@ func (o *WritablePowerPortTemplateRequest) GetModuleType() ModuleTypeRequest { // GetModuleTypeOk returns a tuple with the ModuleType 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 *WritablePowerPortTemplateRequest) GetModuleTypeOk() (*ModuleTypeRequest, bool) { +func (o *WritablePowerPortTemplateRequest) GetModuleTypeOk() (*BriefModuleTypeRequest, bool) { if o == nil { return nil, false } @@ -126,8 +126,8 @@ func (o *WritablePowerPortTemplateRequest) HasModuleType() bool { return false } -// SetModuleType gets a reference to the given NullableModuleTypeRequest and assigns it to the ModuleType field. -func (o *WritablePowerPortTemplateRequest) SetModuleType(v ModuleTypeRequest) { +// SetModuleType gets a reference to the given NullableBriefModuleTypeRequest and assigns it to the ModuleType field. +func (o *WritablePowerPortTemplateRequest) SetModuleType(v BriefModuleTypeRequest) { o.ModuleType.Set(&v) } diff --git a/model_writable_prefix_request.go b/model_writable_prefix_request.go index 2b7bd6bba..e4a60e897 100644 --- a/model_writable_prefix_request.go +++ b/model_writable_prefix_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,12 +21,12 @@ var _ MappedNullable = &WritablePrefixRequest{} // WritablePrefixRequest Adds support for custom fields and tags. type WritablePrefixRequest struct { Prefix string `json:"prefix"` - Site NullableSiteRequest `json:"site,omitempty"` - Vrf NullableVRFRequest `json:"vrf,omitempty"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` - Vlan NullableVLANRequest `json:"vlan,omitempty"` + Site NullableBriefSiteRequest `json:"site,omitempty"` + Vrf NullableBriefVRFRequest `json:"vrf,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` + Vlan NullableBriefVLANRequest `json:"vlan,omitempty"` Status *PatchedWritablePrefixRequestStatus `json:"status,omitempty"` - Role NullableRoleRequest `json:"role,omitempty"` + Role NullableBriefRoleRequest `json:"role,omitempty"` // All IP addresses within this prefix are considered usable IsPool *bool `json:"is_pool,omitempty"` // Treat as fully utilized @@ -83,9 +83,9 @@ func (o *WritablePrefixRequest) SetPrefix(v string) { } // GetSite returns the Site field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritablePrefixRequest) GetSite() SiteRequest { +func (o *WritablePrefixRequest) GetSite() BriefSiteRequest { if o == nil || IsNil(o.Site.Get()) { - var ret SiteRequest + var ret BriefSiteRequest return ret } return *o.Site.Get() @@ -94,7 +94,7 @@ func (o *WritablePrefixRequest) GetSite() SiteRequest { // GetSiteOk returns a tuple with the Site 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 *WritablePrefixRequest) GetSiteOk() (*SiteRequest, bool) { +func (o *WritablePrefixRequest) GetSiteOk() (*BriefSiteRequest, bool) { if o == nil { return nil, false } @@ -110,8 +110,8 @@ func (o *WritablePrefixRequest) HasSite() bool { return false } -// SetSite gets a reference to the given NullableSiteRequest and assigns it to the Site field. -func (o *WritablePrefixRequest) SetSite(v SiteRequest) { +// SetSite gets a reference to the given NullableBriefSiteRequest and assigns it to the Site field. +func (o *WritablePrefixRequest) SetSite(v BriefSiteRequest) { o.Site.Set(&v) } @@ -126,9 +126,9 @@ func (o *WritablePrefixRequest) UnsetSite() { } // GetVrf returns the Vrf field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritablePrefixRequest) GetVrf() VRFRequest { +func (o *WritablePrefixRequest) GetVrf() BriefVRFRequest { if o == nil || IsNil(o.Vrf.Get()) { - var ret VRFRequest + var ret BriefVRFRequest return ret } return *o.Vrf.Get() @@ -137,7 +137,7 @@ func (o *WritablePrefixRequest) GetVrf() VRFRequest { // GetVrfOk returns a tuple with the Vrf 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 *WritablePrefixRequest) GetVrfOk() (*VRFRequest, bool) { +func (o *WritablePrefixRequest) GetVrfOk() (*BriefVRFRequest, bool) { if o == nil { return nil, false } @@ -153,8 +153,8 @@ func (o *WritablePrefixRequest) HasVrf() bool { return false } -// SetVrf gets a reference to the given NullableVRFRequest and assigns it to the Vrf field. -func (o *WritablePrefixRequest) SetVrf(v VRFRequest) { +// SetVrf gets a reference to the given NullableBriefVRFRequest and assigns it to the Vrf field. +func (o *WritablePrefixRequest) SetVrf(v BriefVRFRequest) { o.Vrf.Set(&v) } @@ -169,9 +169,9 @@ func (o *WritablePrefixRequest) UnsetVrf() { } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritablePrefixRequest) GetTenant() TenantRequest { +func (o *WritablePrefixRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -180,7 +180,7 @@ func (o *WritablePrefixRequest) GetTenant() TenantRequest { // 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 *WritablePrefixRequest) GetTenantOk() (*TenantRequest, bool) { +func (o *WritablePrefixRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -196,8 +196,8 @@ func (o *WritablePrefixRequest) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *WritablePrefixRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *WritablePrefixRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } @@ -212,9 +212,9 @@ func (o *WritablePrefixRequest) UnsetTenant() { } // GetVlan returns the Vlan field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritablePrefixRequest) GetVlan() VLANRequest { +func (o *WritablePrefixRequest) GetVlan() BriefVLANRequest { if o == nil || IsNil(o.Vlan.Get()) { - var ret VLANRequest + var ret BriefVLANRequest return ret } return *o.Vlan.Get() @@ -223,7 +223,7 @@ func (o *WritablePrefixRequest) GetVlan() VLANRequest { // 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 *WritablePrefixRequest) GetVlanOk() (*VLANRequest, bool) { +func (o *WritablePrefixRequest) GetVlanOk() (*BriefVLANRequest, bool) { if o == nil { return nil, false } @@ -239,8 +239,8 @@ func (o *WritablePrefixRequest) HasVlan() bool { return false } -// SetVlan gets a reference to the given NullableVLANRequest and assigns it to the Vlan field. -func (o *WritablePrefixRequest) SetVlan(v VLANRequest) { +// SetVlan gets a reference to the given NullableBriefVLANRequest and assigns it to the Vlan field. +func (o *WritablePrefixRequest) SetVlan(v BriefVLANRequest) { o.Vlan.Set(&v) } @@ -287,9 +287,9 @@ func (o *WritablePrefixRequest) SetStatus(v PatchedWritablePrefixRequestStatus) } // GetRole returns the Role field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritablePrefixRequest) GetRole() RoleRequest { +func (o *WritablePrefixRequest) GetRole() BriefRoleRequest { if o == nil || IsNil(o.Role.Get()) { - var ret RoleRequest + var ret BriefRoleRequest return ret } return *o.Role.Get() @@ -298,7 +298,7 @@ func (o *WritablePrefixRequest) GetRole() RoleRequest { // 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 *WritablePrefixRequest) GetRoleOk() (*RoleRequest, bool) { +func (o *WritablePrefixRequest) GetRoleOk() (*BriefRoleRequest, bool) { if o == nil { return nil, false } @@ -314,8 +314,8 @@ func (o *WritablePrefixRequest) HasRole() bool { return false } -// SetRole gets a reference to the given NullableRoleRequest and assigns it to the Role field. -func (o *WritablePrefixRequest) SetRole(v RoleRequest) { +// SetRole gets a reference to the given NullableBriefRoleRequest and assigns it to the Role field. +func (o *WritablePrefixRequest) SetRole(v BriefRoleRequest) { o.Role.Set(&v) } diff --git a/model_writable_rack_request.go b/model_writable_rack_request.go index fd0dcb924..984dfba43 100644 --- a/model_writable_rack_request.go +++ b/model_writable_rack_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -22,24 +22,25 @@ var _ MappedNullable = &WritableRackRequest{} type WritableRackRequest struct { Name string `json:"name"` FacilityId NullableString `json:"facility_id,omitempty"` - Site SiteRequest `json:"site"` - Location NullableLocationRequest `json:"location,omitempty"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` + Site BriefSiteRequest `json:"site"` + Location NullableBriefLocationRequest `json:"location,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` Status *PatchedWritableRackRequestStatus `json:"status,omitempty"` - Role NullableRackRoleRequest `json:"role,omitempty"` + Role NullableBriefRackRoleRequest `json:"role,omitempty"` Serial *string `json:"serial,omitempty"` // A unique tag used to identify this rack - AssetTag NullableString `json:"asset_tag,omitempty"` - Type *PatchedWritableRackRequestType `json:"type,omitempty"` - Width *PatchedWritableRackRequestWidth `json:"width,omitempty"` + AssetTag NullableString `json:"asset_tag,omitempty"` + RackType NullableBriefRackTypeRequest `json:"rack_type,omitempty"` + FormFactor *PatchedWritableRackRequestFormFactor `json:"form_factor,omitempty"` + Width *PatchedWritableRackRequestWidth `json:"width,omitempty"` // Height in rack units UHeight *int32 `json:"u_height,omitempty"` // Starting unit for rack StartingUnit *int32 `json:"starting_unit,omitempty"` Weight NullableFloat64 `json:"weight,omitempty"` // Maximum load capacity for the rack - MaxWeight NullableInt32 `json:"max_weight,omitempty"` - WeightUnit *PatchedWritableDeviceTypeRequestWeightUnit `json:"weight_unit,omitempty"` + MaxWeight NullableInt32 `json:"max_weight,omitempty"` + WeightUnit *DeviceTypeWeightUnitValue `json:"weight_unit,omitempty"` // Units are numbered top-to-bottom DescUnits *bool `json:"desc_units,omitempty"` // Outer dimension of rack (width) @@ -48,11 +49,12 @@ type WritableRackRequest struct { OuterDepth NullableInt32 `json:"outer_depth,omitempty"` OuterUnit *PatchedWritableRackRequestOuterUnit `json:"outer_unit,omitempty"` // Maximum depth of a mounted device, in millimeters. For four-post racks, this is the distance between the front and rear rails. - MountingDepth NullableInt32 `json:"mounting_depth,omitempty"` - Description *string `json:"description,omitempty"` - Comments *string `json:"comments,omitempty"` - Tags []NestedTagRequest `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + MountingDepth NullableInt32 `json:"mounting_depth,omitempty"` + Airflow *PatchedWritableRackRequestAirflow `json:"airflow,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -62,7 +64,7 @@ type _WritableRackRequest WritableRackRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewWritableRackRequest(name string, site SiteRequest) *WritableRackRequest { +func NewWritableRackRequest(name string, site BriefSiteRequest) *WritableRackRequest { this := WritableRackRequest{} this.Name = name this.Site = site @@ -145,9 +147,9 @@ func (o *WritableRackRequest) UnsetFacilityId() { } // GetSite returns the Site field value -func (o *WritableRackRequest) GetSite() SiteRequest { +func (o *WritableRackRequest) GetSite() BriefSiteRequest { if o == nil { - var ret SiteRequest + var ret BriefSiteRequest return ret } @@ -156,7 +158,7 @@ func (o *WritableRackRequest) GetSite() SiteRequest { // GetSiteOk returns a tuple with the Site field value // and a boolean to check if the value has been set. -func (o *WritableRackRequest) GetSiteOk() (*SiteRequest, bool) { +func (o *WritableRackRequest) GetSiteOk() (*BriefSiteRequest, bool) { if o == nil { return nil, false } @@ -164,14 +166,14 @@ func (o *WritableRackRequest) GetSiteOk() (*SiteRequest, bool) { } // SetSite sets field value -func (o *WritableRackRequest) SetSite(v SiteRequest) { +func (o *WritableRackRequest) SetSite(v BriefSiteRequest) { o.Site = v } // GetLocation returns the Location field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableRackRequest) GetLocation() LocationRequest { +func (o *WritableRackRequest) GetLocation() BriefLocationRequest { if o == nil || IsNil(o.Location.Get()) { - var ret LocationRequest + var ret BriefLocationRequest return ret } return *o.Location.Get() @@ -180,7 +182,7 @@ func (o *WritableRackRequest) GetLocation() LocationRequest { // GetLocationOk returns a tuple with the Location 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 *WritableRackRequest) GetLocationOk() (*LocationRequest, bool) { +func (o *WritableRackRequest) GetLocationOk() (*BriefLocationRequest, bool) { if o == nil { return nil, false } @@ -196,8 +198,8 @@ func (o *WritableRackRequest) HasLocation() bool { return false } -// SetLocation gets a reference to the given NullableLocationRequest and assigns it to the Location field. -func (o *WritableRackRequest) SetLocation(v LocationRequest) { +// SetLocation gets a reference to the given NullableBriefLocationRequest and assigns it to the Location field. +func (o *WritableRackRequest) SetLocation(v BriefLocationRequest) { o.Location.Set(&v) } @@ -212,9 +214,9 @@ func (o *WritableRackRequest) UnsetLocation() { } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableRackRequest) GetTenant() TenantRequest { +func (o *WritableRackRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -223,7 +225,7 @@ func (o *WritableRackRequest) GetTenant() TenantRequest { // 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 *WritableRackRequest) GetTenantOk() (*TenantRequest, bool) { +func (o *WritableRackRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -239,8 +241,8 @@ func (o *WritableRackRequest) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *WritableRackRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *WritableRackRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } @@ -287,9 +289,9 @@ func (o *WritableRackRequest) SetStatus(v PatchedWritableRackRequestStatus) { } // GetRole returns the Role field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableRackRequest) GetRole() RackRoleRequest { +func (o *WritableRackRequest) GetRole() BriefRackRoleRequest { if o == nil || IsNil(o.Role.Get()) { - var ret RackRoleRequest + var ret BriefRackRoleRequest return ret } return *o.Role.Get() @@ -298,7 +300,7 @@ func (o *WritableRackRequest) GetRole() RackRoleRequest { // 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 *WritableRackRequest) GetRoleOk() (*RackRoleRequest, bool) { +func (o *WritableRackRequest) GetRoleOk() (*BriefRackRoleRequest, bool) { if o == nil { return nil, false } @@ -314,8 +316,8 @@ func (o *WritableRackRequest) HasRole() bool { return false } -// SetRole gets a reference to the given NullableRackRoleRequest and assigns it to the Role field. -func (o *WritableRackRequest) SetRole(v RackRoleRequest) { +// SetRole gets a reference to the given NullableBriefRackRoleRequest and assigns it to the Role field. +func (o *WritableRackRequest) SetRole(v BriefRackRoleRequest) { o.Role.Set(&v) } @@ -404,36 +406,79 @@ func (o *WritableRackRequest) UnsetAssetTag() { o.AssetTag.Unset() } -// GetType returns the Type field value if set, zero value otherwise. -func (o *WritableRackRequest) GetType() PatchedWritableRackRequestType { - if o == nil || IsNil(o.Type) { - var ret PatchedWritableRackRequestType +// GetRackType returns the RackType field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *WritableRackRequest) GetRackType() BriefRackTypeRequest { + if o == nil || IsNil(o.RackType.Get()) { + var ret BriefRackTypeRequest return ret } - return *o.Type + return *o.RackType.Get() } -// GetTypeOk returns a tuple with the Type field value if set, nil otherwise +// GetRackTypeOk returns a tuple with the RackType field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *WritableRackRequest) GetTypeOk() (*PatchedWritableRackRequestType, bool) { - if o == nil || IsNil(o.Type) { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *WritableRackRequest) GetRackTypeOk() (*BriefRackTypeRequest, bool) { + if o == nil { + return nil, false + } + return o.RackType.Get(), o.RackType.IsSet() +} + +// HasRackType returns a boolean if a field has been set. +func (o *WritableRackRequest) HasRackType() bool { + if o != nil && o.RackType.IsSet() { + return true + } + + return false +} + +// SetRackType gets a reference to the given NullableBriefRackTypeRequest and assigns it to the RackType field. +func (o *WritableRackRequest) SetRackType(v BriefRackTypeRequest) { + o.RackType.Set(&v) +} + +// SetRackTypeNil sets the value for RackType to be an explicit nil +func (o *WritableRackRequest) SetRackTypeNil() { + o.RackType.Set(nil) +} + +// UnsetRackType ensures that no value is present for RackType, not even an explicit nil +func (o *WritableRackRequest) UnsetRackType() { + o.RackType.Unset() +} + +// GetFormFactor returns the FormFactor field value if set, zero value otherwise. +func (o *WritableRackRequest) GetFormFactor() PatchedWritableRackRequestFormFactor { + if o == nil || IsNil(o.FormFactor) { + var ret PatchedWritableRackRequestFormFactor + return ret + } + return *o.FormFactor +} + +// GetFormFactorOk returns a tuple with the FormFactor field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WritableRackRequest) GetFormFactorOk() (*PatchedWritableRackRequestFormFactor, bool) { + if o == nil || IsNil(o.FormFactor) { return nil, false } - return o.Type, true + return o.FormFactor, true } -// HasType returns a boolean if a field has been set. -func (o *WritableRackRequest) HasType() bool { - if o != nil && !IsNil(o.Type) { +// HasFormFactor returns a boolean if a field has been set. +func (o *WritableRackRequest) HasFormFactor() bool { + if o != nil && !IsNil(o.FormFactor) { return true } return false } -// SetType gets a reference to the given PatchedWritableRackRequestType and assigns it to the Type field. -func (o *WritableRackRequest) SetType(v PatchedWritableRackRequestType) { - o.Type = &v +// SetFormFactor gets a reference to the given PatchedWritableRackRequestFormFactor and assigns it to the FormFactor field. +func (o *WritableRackRequest) SetFormFactor(v PatchedWritableRackRequestFormFactor) { + o.FormFactor = &v } // GetWidth returns the Width field value if set, zero value otherwise. @@ -619,9 +664,9 @@ func (o *WritableRackRequest) UnsetMaxWeight() { } // GetWeightUnit returns the WeightUnit field value if set, zero value otherwise. -func (o *WritableRackRequest) GetWeightUnit() PatchedWritableDeviceTypeRequestWeightUnit { +func (o *WritableRackRequest) GetWeightUnit() DeviceTypeWeightUnitValue { if o == nil || IsNil(o.WeightUnit) { - var ret PatchedWritableDeviceTypeRequestWeightUnit + var ret DeviceTypeWeightUnitValue return ret } return *o.WeightUnit @@ -629,7 +674,7 @@ func (o *WritableRackRequest) GetWeightUnit() PatchedWritableDeviceTypeRequestWe // GetWeightUnitOk returns a tuple with the WeightUnit field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *WritableRackRequest) GetWeightUnitOk() (*PatchedWritableDeviceTypeRequestWeightUnit, bool) { +func (o *WritableRackRequest) GetWeightUnitOk() (*DeviceTypeWeightUnitValue, bool) { if o == nil || IsNil(o.WeightUnit) { return nil, false } @@ -645,8 +690,8 @@ func (o *WritableRackRequest) HasWeightUnit() bool { return false } -// SetWeightUnit gets a reference to the given PatchedWritableDeviceTypeRequestWeightUnit and assigns it to the WeightUnit field. -func (o *WritableRackRequest) SetWeightUnit(v PatchedWritableDeviceTypeRequestWeightUnit) { +// SetWeightUnit gets a reference to the given DeviceTypeWeightUnitValue and assigns it to the WeightUnit field. +func (o *WritableRackRequest) SetWeightUnit(v DeviceTypeWeightUnitValue) { o.WeightUnit = &v } @@ -843,6 +888,38 @@ func (o *WritableRackRequest) UnsetMountingDepth() { o.MountingDepth.Unset() } +// GetAirflow returns the Airflow field value if set, zero value otherwise. +func (o *WritableRackRequest) GetAirflow() PatchedWritableRackRequestAirflow { + if o == nil || IsNil(o.Airflow) { + var ret PatchedWritableRackRequestAirflow + return ret + } + return *o.Airflow +} + +// GetAirflowOk returns a tuple with the Airflow field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WritableRackRequest) GetAirflowOk() (*PatchedWritableRackRequestAirflow, bool) { + if o == nil || IsNil(o.Airflow) { + return nil, false + } + return o.Airflow, true +} + +// HasAirflow returns a boolean if a field has been set. +func (o *WritableRackRequest) HasAirflow() bool { + if o != nil && !IsNil(o.Airflow) { + return true + } + + return false +} + +// SetAirflow gets a reference to the given PatchedWritableRackRequestAirflow and assigns it to the Airflow field. +func (o *WritableRackRequest) SetAirflow(v PatchedWritableRackRequestAirflow) { + o.Airflow = &v +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *WritableRackRequest) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -1004,8 +1081,11 @@ func (o WritableRackRequest) ToMap() (map[string]interface{}, error) { if o.AssetTag.IsSet() { toSerialize["asset_tag"] = o.AssetTag.Get() } - if !IsNil(o.Type) { - toSerialize["type"] = o.Type + if o.RackType.IsSet() { + toSerialize["rack_type"] = o.RackType.Get() + } + if !IsNil(o.FormFactor) { + toSerialize["form_factor"] = o.FormFactor } if !IsNil(o.Width) { toSerialize["width"] = o.Width @@ -1040,6 +1120,9 @@ func (o WritableRackRequest) ToMap() (map[string]interface{}, error) { if o.MountingDepth.IsSet() { toSerialize["mounting_depth"] = o.MountingDepth.Get() } + if !IsNil(o.Airflow) { + toSerialize["airflow"] = o.Airflow + } if !IsNil(o.Description) { toSerialize["description"] = o.Description } @@ -1105,7 +1188,8 @@ func (o *WritableRackRequest) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "role") delete(additionalProperties, "serial") delete(additionalProperties, "asset_tag") - delete(additionalProperties, "type") + delete(additionalProperties, "rack_type") + delete(additionalProperties, "form_factor") delete(additionalProperties, "width") delete(additionalProperties, "u_height") delete(additionalProperties, "starting_unit") @@ -1117,6 +1201,7 @@ func (o *WritableRackRequest) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "outer_depth") delete(additionalProperties, "outer_unit") delete(additionalProperties, "mounting_depth") + delete(additionalProperties, "airflow") delete(additionalProperties, "description") delete(additionalProperties, "comments") delete(additionalProperties, "tags") diff --git a/model_writable_rack_type_request.go b/model_writable_rack_type_request.go new file mode 100644 index 000000000..c9308447f --- /dev/null +++ b/model_writable_rack_type_request.go @@ -0,0 +1,870 @@ +/* +NetBox REST API + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 4.1.3 (4.1) +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package netbox + +import ( + "encoding/json" + "fmt" +) + +// checks if the WritableRackTypeRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &WritableRackTypeRequest{} + +// WritableRackTypeRequest Adds support for custom fields and tags. +type WritableRackTypeRequest struct { + Manufacturer BriefManufacturerRequest `json:"manufacturer"` + Model string `json:"model"` + Slug string `json:"slug"` + Description *string `json:"description,omitempty"` + FormFactor PatchedWritableRackTypeRequestFormFactor `json:"form_factor"` + Width *PatchedWritableRackRequestWidth `json:"width,omitempty"` + // Height in rack units + UHeight *int32 `json:"u_height,omitempty"` + // Starting unit for rack + StartingUnit *int32 `json:"starting_unit,omitempty"` + // Units are numbered top-to-bottom + DescUnits *bool `json:"desc_units,omitempty"` + // Outer dimension of rack (width) + OuterWidth NullableInt32 `json:"outer_width,omitempty"` + // Outer dimension of rack (depth) + OuterDepth NullableInt32 `json:"outer_depth,omitempty"` + OuterUnit *PatchedWritableRackRequestOuterUnit `json:"outer_unit,omitempty"` + Weight NullableFloat64 `json:"weight,omitempty"` + // Maximum load capacity for the rack + MaxWeight NullableInt32 `json:"max_weight,omitempty"` + WeightUnit *DeviceTypeWeightUnitValue `json:"weight_unit,omitempty"` + // Maximum depth of a mounted device, in millimeters. For four-post racks, this is the distance between the front and rear rails. + MountingDepth NullableInt32 `json:"mounting_depth,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _WritableRackTypeRequest WritableRackTypeRequest + +// NewWritableRackTypeRequest instantiates a new WritableRackTypeRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewWritableRackTypeRequest(manufacturer BriefManufacturerRequest, model string, slug string, formFactor PatchedWritableRackTypeRequestFormFactor) *WritableRackTypeRequest { + this := WritableRackTypeRequest{} + this.Manufacturer = manufacturer + this.Model = model + this.Slug = slug + this.FormFactor = formFactor + return &this +} + +// NewWritableRackTypeRequestWithDefaults instantiates a new WritableRackTypeRequest object +// This 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 NewWritableRackTypeRequestWithDefaults() *WritableRackTypeRequest { + this := WritableRackTypeRequest{} + return &this +} + +// GetManufacturer returns the Manufacturer field value +func (o *WritableRackTypeRequest) GetManufacturer() BriefManufacturerRequest { + if o == nil { + var ret BriefManufacturerRequest + return ret + } + + return o.Manufacturer +} + +// GetManufacturerOk returns a tuple with the Manufacturer field value +// and a boolean to check if the value has been set. +func (o *WritableRackTypeRequest) GetManufacturerOk() (*BriefManufacturerRequest, bool) { + if o == nil { + return nil, false + } + return &o.Manufacturer, true +} + +// SetManufacturer sets field value +func (o *WritableRackTypeRequest) SetManufacturer(v BriefManufacturerRequest) { + o.Manufacturer = v +} + +// GetModel returns the Model field value +func (o *WritableRackTypeRequest) GetModel() string { + if o == nil { + var ret string + return ret + } + + return o.Model +} + +// GetModelOk returns a tuple with the Model field value +// and a boolean to check if the value has been set. +func (o *WritableRackTypeRequest) GetModelOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Model, true +} + +// SetModel sets field value +func (o *WritableRackTypeRequest) SetModel(v string) { + o.Model = v +} + +// GetSlug returns the Slug field value +func (o *WritableRackTypeRequest) GetSlug() string { + if o == nil { + var ret string + return ret + } + + return o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value +// and a boolean to check if the value has been set. +func (o *WritableRackTypeRequest) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Slug, true +} + +// SetSlug sets field value +func (o *WritableRackTypeRequest) SetSlug(v string) { + o.Slug = v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *WritableRackTypeRequest) 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 *WritableRackTypeRequest) 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 *WritableRackTypeRequest) 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 *WritableRackTypeRequest) SetDescription(v string) { + o.Description = &v +} + +// GetFormFactor returns the FormFactor field value +func (o *WritableRackTypeRequest) GetFormFactor() PatchedWritableRackTypeRequestFormFactor { + if o == nil { + var ret PatchedWritableRackTypeRequestFormFactor + return ret + } + + return o.FormFactor +} + +// GetFormFactorOk returns a tuple with the FormFactor field value +// and a boolean to check if the value has been set. +func (o *WritableRackTypeRequest) GetFormFactorOk() (*PatchedWritableRackTypeRequestFormFactor, bool) { + if o == nil { + return nil, false + } + return &o.FormFactor, true +} + +// SetFormFactor sets field value +func (o *WritableRackTypeRequest) SetFormFactor(v PatchedWritableRackTypeRequestFormFactor) { + o.FormFactor = v +} + +// GetWidth returns the Width field value if set, zero value otherwise. +func (o *WritableRackTypeRequest) GetWidth() PatchedWritableRackRequestWidth { + if o == nil || IsNil(o.Width) { + var ret PatchedWritableRackRequestWidth + return ret + } + return *o.Width +} + +// GetWidthOk returns a tuple with the Width field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WritableRackTypeRequest) GetWidthOk() (*PatchedWritableRackRequestWidth, bool) { + if o == nil || IsNil(o.Width) { + return nil, false + } + return o.Width, true +} + +// HasWidth returns a boolean if a field has been set. +func (o *WritableRackTypeRequest) HasWidth() bool { + if o != nil && !IsNil(o.Width) { + return true + } + + return false +} + +// SetWidth gets a reference to the given PatchedWritableRackRequestWidth and assigns it to the Width field. +func (o *WritableRackTypeRequest) SetWidth(v PatchedWritableRackRequestWidth) { + o.Width = &v +} + +// GetUHeight returns the UHeight field value if set, zero value otherwise. +func (o *WritableRackTypeRequest) GetUHeight() int32 { + if o == nil || IsNil(o.UHeight) { + var ret int32 + return ret + } + return *o.UHeight +} + +// GetUHeightOk returns a tuple with the UHeight field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WritableRackTypeRequest) GetUHeightOk() (*int32, bool) { + if o == nil || IsNil(o.UHeight) { + return nil, false + } + return o.UHeight, true +} + +// HasUHeight returns a boolean if a field has been set. +func (o *WritableRackTypeRequest) HasUHeight() bool { + if o != nil && !IsNil(o.UHeight) { + return true + } + + return false +} + +// SetUHeight gets a reference to the given int32 and assigns it to the UHeight field. +func (o *WritableRackTypeRequest) SetUHeight(v int32) { + o.UHeight = &v +} + +// GetStartingUnit returns the StartingUnit field value if set, zero value otherwise. +func (o *WritableRackTypeRequest) GetStartingUnit() int32 { + if o == nil || IsNil(o.StartingUnit) { + var ret int32 + return ret + } + return *o.StartingUnit +} + +// GetStartingUnitOk returns a tuple with the StartingUnit field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WritableRackTypeRequest) GetStartingUnitOk() (*int32, bool) { + if o == nil || IsNil(o.StartingUnit) { + return nil, false + } + return o.StartingUnit, true +} + +// HasStartingUnit returns a boolean if a field has been set. +func (o *WritableRackTypeRequest) HasStartingUnit() bool { + if o != nil && !IsNil(o.StartingUnit) { + return true + } + + return false +} + +// SetStartingUnit gets a reference to the given int32 and assigns it to the StartingUnit field. +func (o *WritableRackTypeRequest) SetStartingUnit(v int32) { + o.StartingUnit = &v +} + +// GetDescUnits returns the DescUnits field value if set, zero value otherwise. +func (o *WritableRackTypeRequest) GetDescUnits() bool { + if o == nil || IsNil(o.DescUnits) { + var ret bool + return ret + } + return *o.DescUnits +} + +// GetDescUnitsOk returns a tuple with the DescUnits field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WritableRackTypeRequest) GetDescUnitsOk() (*bool, bool) { + if o == nil || IsNil(o.DescUnits) { + return nil, false + } + return o.DescUnits, true +} + +// HasDescUnits returns a boolean if a field has been set. +func (o *WritableRackTypeRequest) HasDescUnits() bool { + if o != nil && !IsNil(o.DescUnits) { + return true + } + + return false +} + +// SetDescUnits gets a reference to the given bool and assigns it to the DescUnits field. +func (o *WritableRackTypeRequest) SetDescUnits(v bool) { + o.DescUnits = &v +} + +// GetOuterWidth returns the OuterWidth field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *WritableRackTypeRequest) GetOuterWidth() int32 { + if o == nil || IsNil(o.OuterWidth.Get()) { + var ret int32 + return ret + } + return *o.OuterWidth.Get() +} + +// GetOuterWidthOk returns a tuple with the OuterWidth 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 *WritableRackTypeRequest) GetOuterWidthOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.OuterWidth.Get(), o.OuterWidth.IsSet() +} + +// HasOuterWidth returns a boolean if a field has been set. +func (o *WritableRackTypeRequest) HasOuterWidth() bool { + if o != nil && o.OuterWidth.IsSet() { + return true + } + + return false +} + +// SetOuterWidth gets a reference to the given NullableInt32 and assigns it to the OuterWidth field. +func (o *WritableRackTypeRequest) SetOuterWidth(v int32) { + o.OuterWidth.Set(&v) +} + +// SetOuterWidthNil sets the value for OuterWidth to be an explicit nil +func (o *WritableRackTypeRequest) SetOuterWidthNil() { + o.OuterWidth.Set(nil) +} + +// UnsetOuterWidth ensures that no value is present for OuterWidth, not even an explicit nil +func (o *WritableRackTypeRequest) UnsetOuterWidth() { + o.OuterWidth.Unset() +} + +// GetOuterDepth returns the OuterDepth field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *WritableRackTypeRequest) GetOuterDepth() int32 { + if o == nil || IsNil(o.OuterDepth.Get()) { + var ret int32 + return ret + } + return *o.OuterDepth.Get() +} + +// GetOuterDepthOk returns a tuple with the OuterDepth 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 *WritableRackTypeRequest) GetOuterDepthOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.OuterDepth.Get(), o.OuterDepth.IsSet() +} + +// HasOuterDepth returns a boolean if a field has been set. +func (o *WritableRackTypeRequest) HasOuterDepth() bool { + if o != nil && o.OuterDepth.IsSet() { + return true + } + + return false +} + +// SetOuterDepth gets a reference to the given NullableInt32 and assigns it to the OuterDepth field. +func (o *WritableRackTypeRequest) SetOuterDepth(v int32) { + o.OuterDepth.Set(&v) +} + +// SetOuterDepthNil sets the value for OuterDepth to be an explicit nil +func (o *WritableRackTypeRequest) SetOuterDepthNil() { + o.OuterDepth.Set(nil) +} + +// UnsetOuterDepth ensures that no value is present for OuterDepth, not even an explicit nil +func (o *WritableRackTypeRequest) UnsetOuterDepth() { + o.OuterDepth.Unset() +} + +// GetOuterUnit returns the OuterUnit field value if set, zero value otherwise. +func (o *WritableRackTypeRequest) GetOuterUnit() PatchedWritableRackRequestOuterUnit { + if o == nil || IsNil(o.OuterUnit) { + var ret PatchedWritableRackRequestOuterUnit + return ret + } + return *o.OuterUnit +} + +// GetOuterUnitOk returns a tuple with the OuterUnit field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WritableRackTypeRequest) GetOuterUnitOk() (*PatchedWritableRackRequestOuterUnit, bool) { + if o == nil || IsNil(o.OuterUnit) { + return nil, false + } + return o.OuterUnit, true +} + +// HasOuterUnit returns a boolean if a field has been set. +func (o *WritableRackTypeRequest) HasOuterUnit() bool { + if o != nil && !IsNil(o.OuterUnit) { + return true + } + + return false +} + +// SetOuterUnit gets a reference to the given PatchedWritableRackRequestOuterUnit and assigns it to the OuterUnit field. +func (o *WritableRackTypeRequest) SetOuterUnit(v PatchedWritableRackRequestOuterUnit) { + o.OuterUnit = &v +} + +// GetWeight returns the Weight field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *WritableRackTypeRequest) GetWeight() float64 { + if o == nil || IsNil(o.Weight.Get()) { + var ret float64 + return ret + } + return *o.Weight.Get() +} + +// GetWeightOk returns a tuple with the Weight 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 *WritableRackTypeRequest) GetWeightOk() (*float64, bool) { + if o == nil { + return nil, false + } + return o.Weight.Get(), o.Weight.IsSet() +} + +// HasWeight returns a boolean if a field has been set. +func (o *WritableRackTypeRequest) HasWeight() bool { + if o != nil && o.Weight.IsSet() { + return true + } + + return false +} + +// SetWeight gets a reference to the given NullableFloat64 and assigns it to the Weight field. +func (o *WritableRackTypeRequest) SetWeight(v float64) { + o.Weight.Set(&v) +} + +// SetWeightNil sets the value for Weight to be an explicit nil +func (o *WritableRackTypeRequest) SetWeightNil() { + o.Weight.Set(nil) +} + +// UnsetWeight ensures that no value is present for Weight, not even an explicit nil +func (o *WritableRackTypeRequest) UnsetWeight() { + o.Weight.Unset() +} + +// GetMaxWeight returns the MaxWeight field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *WritableRackTypeRequest) GetMaxWeight() int32 { + if o == nil || IsNil(o.MaxWeight.Get()) { + var ret int32 + return ret + } + return *o.MaxWeight.Get() +} + +// GetMaxWeightOk returns a tuple with the MaxWeight 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 *WritableRackTypeRequest) GetMaxWeightOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.MaxWeight.Get(), o.MaxWeight.IsSet() +} + +// HasMaxWeight returns a boolean if a field has been set. +func (o *WritableRackTypeRequest) HasMaxWeight() bool { + if o != nil && o.MaxWeight.IsSet() { + return true + } + + return false +} + +// SetMaxWeight gets a reference to the given NullableInt32 and assigns it to the MaxWeight field. +func (o *WritableRackTypeRequest) SetMaxWeight(v int32) { + o.MaxWeight.Set(&v) +} + +// SetMaxWeightNil sets the value for MaxWeight to be an explicit nil +func (o *WritableRackTypeRequest) SetMaxWeightNil() { + o.MaxWeight.Set(nil) +} + +// UnsetMaxWeight ensures that no value is present for MaxWeight, not even an explicit nil +func (o *WritableRackTypeRequest) UnsetMaxWeight() { + o.MaxWeight.Unset() +} + +// GetWeightUnit returns the WeightUnit field value if set, zero value otherwise. +func (o *WritableRackTypeRequest) GetWeightUnit() DeviceTypeWeightUnitValue { + if o == nil || IsNil(o.WeightUnit) { + var ret DeviceTypeWeightUnitValue + return ret + } + return *o.WeightUnit +} + +// GetWeightUnitOk returns a tuple with the WeightUnit field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WritableRackTypeRequest) GetWeightUnitOk() (*DeviceTypeWeightUnitValue, bool) { + if o == nil || IsNil(o.WeightUnit) { + return nil, false + } + return o.WeightUnit, true +} + +// HasWeightUnit returns a boolean if a field has been set. +func (o *WritableRackTypeRequest) HasWeightUnit() bool { + if o != nil && !IsNil(o.WeightUnit) { + return true + } + + return false +} + +// SetWeightUnit gets a reference to the given DeviceTypeWeightUnitValue and assigns it to the WeightUnit field. +func (o *WritableRackTypeRequest) SetWeightUnit(v DeviceTypeWeightUnitValue) { + o.WeightUnit = &v +} + +// GetMountingDepth returns the MountingDepth field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *WritableRackTypeRequest) GetMountingDepth() int32 { + if o == nil || IsNil(o.MountingDepth.Get()) { + var ret int32 + return ret + } + return *o.MountingDepth.Get() +} + +// GetMountingDepthOk returns a tuple with the MountingDepth 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 *WritableRackTypeRequest) GetMountingDepthOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.MountingDepth.Get(), o.MountingDepth.IsSet() +} + +// HasMountingDepth returns a boolean if a field has been set. +func (o *WritableRackTypeRequest) HasMountingDepth() bool { + if o != nil && o.MountingDepth.IsSet() { + return true + } + + return false +} + +// SetMountingDepth gets a reference to the given NullableInt32 and assigns it to the MountingDepth field. +func (o *WritableRackTypeRequest) SetMountingDepth(v int32) { + o.MountingDepth.Set(&v) +} + +// SetMountingDepthNil sets the value for MountingDepth to be an explicit nil +func (o *WritableRackTypeRequest) SetMountingDepthNil() { + o.MountingDepth.Set(nil) +} + +// UnsetMountingDepth ensures that no value is present for MountingDepth, not even an explicit nil +func (o *WritableRackTypeRequest) UnsetMountingDepth() { + o.MountingDepth.Unset() +} + +// GetComments returns the Comments field value if set, zero value otherwise. +func (o *WritableRackTypeRequest) GetComments() string { + if o == nil || IsNil(o.Comments) { + var ret string + return ret + } + return *o.Comments +} + +// GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WritableRackTypeRequest) GetCommentsOk() (*string, bool) { + if o == nil || IsNil(o.Comments) { + return nil, false + } + return o.Comments, true +} + +// HasComments returns a boolean if a field has been set. +func (o *WritableRackTypeRequest) HasComments() bool { + if o != nil && !IsNil(o.Comments) { + return true + } + + return false +} + +// SetComments gets a reference to the given string and assigns it to the Comments field. +func (o *WritableRackTypeRequest) SetComments(v string) { + o.Comments = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *WritableRackTypeRequest) GetTags() []NestedTagRequest { + if o == nil || IsNil(o.Tags) { + var ret []NestedTagRequest + 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 *WritableRackTypeRequest) GetTagsOk() ([]NestedTagRequest, 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 *WritableRackTypeRequest) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []NestedTagRequest and assigns it to the Tags field. +func (o *WritableRackTypeRequest) SetTags(v []NestedTagRequest) { + o.Tags = v +} + +// GetCustomFields returns the CustomFields field value if set, zero value otherwise. +func (o *WritableRackTypeRequest) 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 *WritableRackTypeRequest) 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 *WritableRackTypeRequest) 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 *WritableRackTypeRequest) SetCustomFields(v map[string]interface{}) { + o.CustomFields = v +} + +func (o WritableRackTypeRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o WritableRackTypeRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["manufacturer"] = o.Manufacturer + toSerialize["model"] = o.Model + toSerialize["slug"] = o.Slug + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + toSerialize["form_factor"] = o.FormFactor + if !IsNil(o.Width) { + toSerialize["width"] = o.Width + } + if !IsNil(o.UHeight) { + toSerialize["u_height"] = o.UHeight + } + if !IsNil(o.StartingUnit) { + toSerialize["starting_unit"] = o.StartingUnit + } + if !IsNil(o.DescUnits) { + toSerialize["desc_units"] = o.DescUnits + } + if o.OuterWidth.IsSet() { + toSerialize["outer_width"] = o.OuterWidth.Get() + } + if o.OuterDepth.IsSet() { + toSerialize["outer_depth"] = o.OuterDepth.Get() + } + if !IsNil(o.OuterUnit) { + toSerialize["outer_unit"] = o.OuterUnit + } + if o.Weight.IsSet() { + toSerialize["weight"] = o.Weight.Get() + } + if o.MaxWeight.IsSet() { + toSerialize["max_weight"] = o.MaxWeight.Get() + } + if !IsNil(o.WeightUnit) { + toSerialize["weight_unit"] = o.WeightUnit + } + if o.MountingDepth.IsSet() { + toSerialize["mounting_depth"] = o.MountingDepth.Get() + } + if !IsNil(o.Comments) { + toSerialize["comments"] = o.Comments + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.CustomFields) { + toSerialize["custom_fields"] = o.CustomFields + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *WritableRackTypeRequest) 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{ + "manufacturer", + "model", + "slug", + "form_factor", + } + + 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) + } + } + + varWritableRackTypeRequest := _WritableRackTypeRequest{} + + err = json.Unmarshal(data, &varWritableRackTypeRequest) + + if err != nil { + return err + } + + *o = WritableRackTypeRequest(varWritableRackTypeRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "manufacturer") + delete(additionalProperties, "model") + delete(additionalProperties, "slug") + delete(additionalProperties, "description") + delete(additionalProperties, "form_factor") + delete(additionalProperties, "width") + delete(additionalProperties, "u_height") + delete(additionalProperties, "starting_unit") + delete(additionalProperties, "desc_units") + delete(additionalProperties, "outer_width") + delete(additionalProperties, "outer_depth") + delete(additionalProperties, "outer_unit") + delete(additionalProperties, "weight") + delete(additionalProperties, "max_weight") + delete(additionalProperties, "weight_unit") + delete(additionalProperties, "mounting_depth") + delete(additionalProperties, "comments") + delete(additionalProperties, "tags") + delete(additionalProperties, "custom_fields") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableWritableRackTypeRequest struct { + value *WritableRackTypeRequest + isSet bool +} + +func (v NullableWritableRackTypeRequest) Get() *WritableRackTypeRequest { + return v.value +} + +func (v *NullableWritableRackTypeRequest) Set(val *WritableRackTypeRequest) { + v.value = val + v.isSet = true +} + +func (v NullableWritableRackTypeRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableWritableRackTypeRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWritableRackTypeRequest(val *WritableRackTypeRequest) *NullableWritableRackTypeRequest { + return &NullableWritableRackTypeRequest{value: val, isSet: true} +} + +func (v NullableWritableRackTypeRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWritableRackTypeRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_writable_rear_port_request.go b/model_writable_rear_port_request.go index 0bd5f8acb..34e4e3395 100644 --- a/model_writable_rear_port_request.go +++ b/model_writable_rear_port_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,9 +20,9 @@ var _ MappedNullable = &WritableRearPortRequest{} // WritableRearPortRequest Adds support for custom fields and tags. type WritableRearPortRequest struct { - Device DeviceRequest `json:"device"` - Module NullableModuleRequest `json:"module,omitempty"` - Name string `json:"name"` + Device BriefDeviceRequest `json:"device"` + Module NullableBriefModuleRequest `json:"module,omitempty"` + Name string `json:"name"` // Physical label Label *string `json:"label,omitempty"` Type FrontPortTypeValue `json:"type"` @@ -43,7 +43,7 @@ type _WritableRearPortRequest WritableRearPortRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewWritableRearPortRequest(device DeviceRequest, name string, type_ FrontPortTypeValue) *WritableRearPortRequest { +func NewWritableRearPortRequest(device BriefDeviceRequest, name string, type_ FrontPortTypeValue) *WritableRearPortRequest { this := WritableRearPortRequest{} this.Device = device this.Name = name @@ -60,9 +60,9 @@ func NewWritableRearPortRequestWithDefaults() *WritableRearPortRequest { } // GetDevice returns the Device field value -func (o *WritableRearPortRequest) GetDevice() DeviceRequest { +func (o *WritableRearPortRequest) GetDevice() BriefDeviceRequest { if o == nil { - var ret DeviceRequest + var ret BriefDeviceRequest return ret } @@ -71,7 +71,7 @@ func (o *WritableRearPortRequest) GetDevice() DeviceRequest { // GetDeviceOk returns a tuple with the Device field value // and a boolean to check if the value has been set. -func (o *WritableRearPortRequest) GetDeviceOk() (*DeviceRequest, bool) { +func (o *WritableRearPortRequest) GetDeviceOk() (*BriefDeviceRequest, bool) { if o == nil { return nil, false } @@ -79,14 +79,14 @@ func (o *WritableRearPortRequest) GetDeviceOk() (*DeviceRequest, bool) { } // SetDevice sets field value -func (o *WritableRearPortRequest) SetDevice(v DeviceRequest) { +func (o *WritableRearPortRequest) SetDevice(v BriefDeviceRequest) { o.Device = v } // GetModule returns the Module field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableRearPortRequest) GetModule() ModuleRequest { +func (o *WritableRearPortRequest) GetModule() BriefModuleRequest { if o == nil || IsNil(o.Module.Get()) { - var ret ModuleRequest + var ret BriefModuleRequest return ret } return *o.Module.Get() @@ -95,7 +95,7 @@ func (o *WritableRearPortRequest) GetModule() ModuleRequest { // GetModuleOk returns a tuple with the Module 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 *WritableRearPortRequest) GetModuleOk() (*ModuleRequest, bool) { +func (o *WritableRearPortRequest) GetModuleOk() (*BriefModuleRequest, bool) { if o == nil { return nil, false } @@ -111,8 +111,8 @@ func (o *WritableRearPortRequest) HasModule() bool { return false } -// SetModule gets a reference to the given NullableModuleRequest and assigns it to the Module field. -func (o *WritableRearPortRequest) SetModule(v ModuleRequest) { +// SetModule gets a reference to the given NullableBriefModuleRequest and assigns it to the Module field. +func (o *WritableRearPortRequest) SetModule(v BriefModuleRequest) { o.Module.Set(&v) } diff --git a/model_writable_rear_port_template_request.go b/model_writable_rear_port_template_request.go index 68e2467e9..4f009990c 100644 --- a/model_writable_rear_port_template_request.go +++ b/model_writable_rear_port_template_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,8 +20,8 @@ var _ MappedNullable = &WritableRearPortTemplateRequest{} // WritableRearPortTemplateRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a 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 WritableRearPortTemplateRequest struct { - DeviceType NullableDeviceTypeRequest `json:"device_type,omitempty"` - ModuleType NullableModuleTypeRequest `json:"module_type,omitempty"` + DeviceType NullableBriefDeviceTypeRequest `json:"device_type,omitempty"` + ModuleType NullableBriefModuleTypeRequest `json:"module_type,omitempty"` // {module} is accepted as a substitution for the module bay position when attached to a module type. Name string `json:"name"` // Physical label @@ -55,9 +55,9 @@ func NewWritableRearPortTemplateRequestWithDefaults() *WritableRearPortTemplateR } // GetDeviceType returns the DeviceType field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableRearPortTemplateRequest) GetDeviceType() DeviceTypeRequest { +func (o *WritableRearPortTemplateRequest) GetDeviceType() BriefDeviceTypeRequest { if o == nil || IsNil(o.DeviceType.Get()) { - var ret DeviceTypeRequest + var ret BriefDeviceTypeRequest return ret } return *o.DeviceType.Get() @@ -66,7 +66,7 @@ func (o *WritableRearPortTemplateRequest) GetDeviceType() DeviceTypeRequest { // GetDeviceTypeOk returns a tuple with the DeviceType 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 *WritableRearPortTemplateRequest) GetDeviceTypeOk() (*DeviceTypeRequest, bool) { +func (o *WritableRearPortTemplateRequest) GetDeviceTypeOk() (*BriefDeviceTypeRequest, bool) { if o == nil { return nil, false } @@ -82,8 +82,8 @@ func (o *WritableRearPortTemplateRequest) HasDeviceType() bool { return false } -// SetDeviceType gets a reference to the given NullableDeviceTypeRequest and assigns it to the DeviceType field. -func (o *WritableRearPortTemplateRequest) SetDeviceType(v DeviceTypeRequest) { +// SetDeviceType gets a reference to the given NullableBriefDeviceTypeRequest and assigns it to the DeviceType field. +func (o *WritableRearPortTemplateRequest) SetDeviceType(v BriefDeviceTypeRequest) { o.DeviceType.Set(&v) } @@ -98,9 +98,9 @@ func (o *WritableRearPortTemplateRequest) UnsetDeviceType() { } // GetModuleType returns the ModuleType field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableRearPortTemplateRequest) GetModuleType() ModuleTypeRequest { +func (o *WritableRearPortTemplateRequest) GetModuleType() BriefModuleTypeRequest { if o == nil || IsNil(o.ModuleType.Get()) { - var ret ModuleTypeRequest + var ret BriefModuleTypeRequest return ret } return *o.ModuleType.Get() @@ -109,7 +109,7 @@ func (o *WritableRearPortTemplateRequest) GetModuleType() ModuleTypeRequest { // GetModuleTypeOk returns a tuple with the ModuleType 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 *WritableRearPortTemplateRequest) GetModuleTypeOk() (*ModuleTypeRequest, bool) { +func (o *WritableRearPortTemplateRequest) GetModuleTypeOk() (*BriefModuleTypeRequest, bool) { if o == nil { return nil, false } @@ -125,8 +125,8 @@ func (o *WritableRearPortTemplateRequest) HasModuleType() bool { return false } -// SetModuleType gets a reference to the given NullableModuleTypeRequest and assigns it to the ModuleType field. -func (o *WritableRearPortTemplateRequest) SetModuleType(v ModuleTypeRequest) { +// SetModuleType gets a reference to the given NullableBriefModuleTypeRequest and assigns it to the ModuleType field. +func (o *WritableRearPortTemplateRequest) SetModuleType(v BriefModuleTypeRequest) { o.ModuleType.Set(&v) } diff --git a/model_writable_region_request.go b/model_writable_region_request.go index 10e3c56c2..4823e0739 100644 --- a/model_writable_region_request.go +++ b/model_writable_region_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_writable_service_request.go b/model_writable_service_request.go index a3150a128..7e8276e2e 100644 --- a/model_writable_service_request.go +++ b/model_writable_service_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,8 +20,8 @@ var _ MappedNullable = &WritableServiceRequest{} // WritableServiceRequest Adds support for custom fields and tags. type WritableServiceRequest struct { - Device NullableDeviceRequest `json:"device,omitempty"` - VirtualMachine NullableVirtualMachineRequest `json:"virtual_machine,omitempty"` + Device NullableBriefDeviceRequest `json:"device,omitempty"` + VirtualMachine NullableBriefVirtualMachineRequest `json:"virtual_machine,omitempty"` Name string `json:"name"` Protocol PatchedWritableServiceRequestProtocol `json:"protocol"` Ports []int32 `json:"ports"` @@ -56,9 +56,9 @@ func NewWritableServiceRequestWithDefaults() *WritableServiceRequest { } // GetDevice returns the Device field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableServiceRequest) GetDevice() DeviceRequest { +func (o *WritableServiceRequest) GetDevice() BriefDeviceRequest { if o == nil || IsNil(o.Device.Get()) { - var ret DeviceRequest + var ret BriefDeviceRequest return ret } return *o.Device.Get() @@ -67,7 +67,7 @@ func (o *WritableServiceRequest) GetDevice() DeviceRequest { // GetDeviceOk returns a tuple with the Device 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 *WritableServiceRequest) GetDeviceOk() (*DeviceRequest, bool) { +func (o *WritableServiceRequest) GetDeviceOk() (*BriefDeviceRequest, bool) { if o == nil { return nil, false } @@ -83,8 +83,8 @@ func (o *WritableServiceRequest) HasDevice() bool { return false } -// SetDevice gets a reference to the given NullableDeviceRequest and assigns it to the Device field. -func (o *WritableServiceRequest) SetDevice(v DeviceRequest) { +// SetDevice gets a reference to the given NullableBriefDeviceRequest and assigns it to the Device field. +func (o *WritableServiceRequest) SetDevice(v BriefDeviceRequest) { o.Device.Set(&v) } @@ -99,9 +99,9 @@ func (o *WritableServiceRequest) UnsetDevice() { } // GetVirtualMachine returns the VirtualMachine field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableServiceRequest) GetVirtualMachine() VirtualMachineRequest { +func (o *WritableServiceRequest) GetVirtualMachine() BriefVirtualMachineRequest { if o == nil || IsNil(o.VirtualMachine.Get()) { - var ret VirtualMachineRequest + var ret BriefVirtualMachineRequest return ret } return *o.VirtualMachine.Get() @@ -110,7 +110,7 @@ func (o *WritableServiceRequest) GetVirtualMachine() VirtualMachineRequest { // GetVirtualMachineOk returns a tuple with the VirtualMachine 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 *WritableServiceRequest) GetVirtualMachineOk() (*VirtualMachineRequest, bool) { +func (o *WritableServiceRequest) GetVirtualMachineOk() (*BriefVirtualMachineRequest, bool) { if o == nil { return nil, false } @@ -126,8 +126,8 @@ func (o *WritableServiceRequest) HasVirtualMachine() bool { return false } -// SetVirtualMachine gets a reference to the given NullableVirtualMachineRequest and assigns it to the VirtualMachine field. -func (o *WritableServiceRequest) SetVirtualMachine(v VirtualMachineRequest) { +// SetVirtualMachine gets a reference to the given NullableBriefVirtualMachineRequest and assigns it to the VirtualMachine field. +func (o *WritableServiceRequest) SetVirtualMachine(v BriefVirtualMachineRequest) { o.VirtualMachine.Set(&v) } diff --git a/model_writable_service_template_request.go b/model_writable_service_template_request.go index c7008f3ed..252571b42 100644 --- a/model_writable_service_template_request.go +++ b/model_writable_service_template_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_writable_site_group_request.go b/model_writable_site_group_request.go index b0c4346c1..54e54cae3 100644 --- a/model_writable_site_group_request.go +++ b/model_writable_site_group_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_writable_site_request.go b/model_writable_site_request.go index 2fcc03600..359a825ba 100644 --- a/model_writable_site_request.go +++ b/model_writable_site_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,12 +21,12 @@ var _ MappedNullable = &WritableSiteRequest{} // WritableSiteRequest Adds support for custom fields and tags. type WritableSiteRequest struct { // Full name of the site - Name string `json:"name"` - Slug string `json:"slug"` - Status *PatchedWritableLocationRequestStatus `json:"status,omitempty"` - Region NullableRegionRequest `json:"region,omitempty"` - Group NullableSiteGroupRequest `json:"group,omitempty"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Status *LocationStatusValue `json:"status,omitempty"` + Region NullableBriefRegionRequest `json:"region,omitempty"` + Group NullableBriefSiteGroupRequest `json:"group,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` // Local facility ID or description Facility *string `json:"facility,omitempty"` TimeZone NullableString `json:"time_zone,omitempty"` @@ -116,9 +116,9 @@ func (o *WritableSiteRequest) SetSlug(v string) { } // GetStatus returns the Status field value if set, zero value otherwise. -func (o *WritableSiteRequest) GetStatus() PatchedWritableLocationRequestStatus { +func (o *WritableSiteRequest) GetStatus() LocationStatusValue { if o == nil || IsNil(o.Status) { - var ret PatchedWritableLocationRequestStatus + var ret LocationStatusValue return ret } return *o.Status @@ -126,7 +126,7 @@ func (o *WritableSiteRequest) GetStatus() PatchedWritableLocationRequestStatus { // 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 *WritableSiteRequest) GetStatusOk() (*PatchedWritableLocationRequestStatus, bool) { +func (o *WritableSiteRequest) GetStatusOk() (*LocationStatusValue, bool) { if o == nil || IsNil(o.Status) { return nil, false } @@ -142,15 +142,15 @@ func (o *WritableSiteRequest) HasStatus() bool { return false } -// SetStatus gets a reference to the given PatchedWritableLocationRequestStatus and assigns it to the Status field. -func (o *WritableSiteRequest) SetStatus(v PatchedWritableLocationRequestStatus) { +// SetStatus gets a reference to the given LocationStatusValue and assigns it to the Status field. +func (o *WritableSiteRequest) SetStatus(v LocationStatusValue) { o.Status = &v } // GetRegion returns the Region field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableSiteRequest) GetRegion() RegionRequest { +func (o *WritableSiteRequest) GetRegion() BriefRegionRequest { if o == nil || IsNil(o.Region.Get()) { - var ret RegionRequest + var ret BriefRegionRequest return ret } return *o.Region.Get() @@ -159,7 +159,7 @@ func (o *WritableSiteRequest) GetRegion() RegionRequest { // GetRegionOk returns a tuple with the Region 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 *WritableSiteRequest) GetRegionOk() (*RegionRequest, bool) { +func (o *WritableSiteRequest) GetRegionOk() (*BriefRegionRequest, bool) { if o == nil { return nil, false } @@ -175,8 +175,8 @@ func (o *WritableSiteRequest) HasRegion() bool { return false } -// SetRegion gets a reference to the given NullableRegionRequest and assigns it to the Region field. -func (o *WritableSiteRequest) SetRegion(v RegionRequest) { +// SetRegion gets a reference to the given NullableBriefRegionRequest and assigns it to the Region field. +func (o *WritableSiteRequest) SetRegion(v BriefRegionRequest) { o.Region.Set(&v) } @@ -191,9 +191,9 @@ func (o *WritableSiteRequest) UnsetRegion() { } // GetGroup returns the Group field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableSiteRequest) GetGroup() SiteGroupRequest { +func (o *WritableSiteRequest) GetGroup() BriefSiteGroupRequest { if o == nil || IsNil(o.Group.Get()) { - var ret SiteGroupRequest + var ret BriefSiteGroupRequest return ret } return *o.Group.Get() @@ -202,7 +202,7 @@ func (o *WritableSiteRequest) GetGroup() SiteGroupRequest { // GetGroupOk returns a tuple with the Group 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 *WritableSiteRequest) GetGroupOk() (*SiteGroupRequest, bool) { +func (o *WritableSiteRequest) GetGroupOk() (*BriefSiteGroupRequest, bool) { if o == nil { return nil, false } @@ -218,8 +218,8 @@ func (o *WritableSiteRequest) HasGroup() bool { return false } -// SetGroup gets a reference to the given NullableSiteGroupRequest and assigns it to the Group field. -func (o *WritableSiteRequest) SetGroup(v SiteGroupRequest) { +// SetGroup gets a reference to the given NullableBriefSiteGroupRequest and assigns it to the Group field. +func (o *WritableSiteRequest) SetGroup(v BriefSiteGroupRequest) { o.Group.Set(&v) } @@ -234,9 +234,9 @@ func (o *WritableSiteRequest) UnsetGroup() { } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableSiteRequest) GetTenant() TenantRequest { +func (o *WritableSiteRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -245,7 +245,7 @@ func (o *WritableSiteRequest) GetTenant() TenantRequest { // 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 *WritableSiteRequest) GetTenantOk() (*TenantRequest, bool) { +func (o *WritableSiteRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -261,8 +261,8 @@ func (o *WritableSiteRequest) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *WritableSiteRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *WritableSiteRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } diff --git a/model_writable_tenant_group_request.go b/model_writable_tenant_group_request.go index a8b1c1775..52a38d1ee 100644 --- a/model_writable_tenant_group_request.go +++ b/model_writable_tenant_group_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_writable_tunnel_request.go b/model_writable_tunnel_request.go index 057faf1f7..036923a4d 100644 --- a/model_writable_tunnel_request.go +++ b/model_writable_tunnel_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -22,10 +22,10 @@ var _ MappedNullable = &WritableTunnelRequest{} type WritableTunnelRequest struct { Name string `json:"name"` Status *PatchedWritableTunnelRequestStatus `json:"status,omitempty"` - Group NullableTunnelGroupRequest `json:"group,omitempty"` + Group NullableBriefTunnelGroupRequest `json:"group,omitempty"` Encapsulation PatchedWritableTunnelRequestEncapsulation `json:"encapsulation"` - IpsecProfile NullableIPSecProfileRequest `json:"ipsec_profile,omitempty"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` + IpsecProfile NullableBriefIPSecProfileRequest `json:"ipsec_profile,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` TunnelId NullableInt64 `json:"tunnel_id,omitempty"` Description *string `json:"description,omitempty"` Comments *string `json:"comments,omitempty"` @@ -112,9 +112,9 @@ func (o *WritableTunnelRequest) SetStatus(v PatchedWritableTunnelRequestStatus) } // GetGroup returns the Group field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableTunnelRequest) GetGroup() TunnelGroupRequest { +func (o *WritableTunnelRequest) GetGroup() BriefTunnelGroupRequest { if o == nil || IsNil(o.Group.Get()) { - var ret TunnelGroupRequest + var ret BriefTunnelGroupRequest return ret } return *o.Group.Get() @@ -123,7 +123,7 @@ func (o *WritableTunnelRequest) GetGroup() TunnelGroupRequest { // GetGroupOk returns a tuple with the Group 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 *WritableTunnelRequest) GetGroupOk() (*TunnelGroupRequest, bool) { +func (o *WritableTunnelRequest) GetGroupOk() (*BriefTunnelGroupRequest, bool) { if o == nil { return nil, false } @@ -139,8 +139,8 @@ func (o *WritableTunnelRequest) HasGroup() bool { return false } -// SetGroup gets a reference to the given NullableTunnelGroupRequest and assigns it to the Group field. -func (o *WritableTunnelRequest) SetGroup(v TunnelGroupRequest) { +// SetGroup gets a reference to the given NullableBriefTunnelGroupRequest and assigns it to the Group field. +func (o *WritableTunnelRequest) SetGroup(v BriefTunnelGroupRequest) { o.Group.Set(&v) } @@ -179,9 +179,9 @@ func (o *WritableTunnelRequest) SetEncapsulation(v PatchedWritableTunnelRequestE } // GetIpsecProfile returns the IpsecProfile field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableTunnelRequest) GetIpsecProfile() IPSecProfileRequest { +func (o *WritableTunnelRequest) GetIpsecProfile() BriefIPSecProfileRequest { if o == nil || IsNil(o.IpsecProfile.Get()) { - var ret IPSecProfileRequest + var ret BriefIPSecProfileRequest return ret } return *o.IpsecProfile.Get() @@ -190,7 +190,7 @@ func (o *WritableTunnelRequest) GetIpsecProfile() IPSecProfileRequest { // GetIpsecProfileOk returns a tuple with the IpsecProfile 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 *WritableTunnelRequest) GetIpsecProfileOk() (*IPSecProfileRequest, bool) { +func (o *WritableTunnelRequest) GetIpsecProfileOk() (*BriefIPSecProfileRequest, bool) { if o == nil { return nil, false } @@ -206,8 +206,8 @@ func (o *WritableTunnelRequest) HasIpsecProfile() bool { return false } -// SetIpsecProfile gets a reference to the given NullableIPSecProfileRequest and assigns it to the IpsecProfile field. -func (o *WritableTunnelRequest) SetIpsecProfile(v IPSecProfileRequest) { +// SetIpsecProfile gets a reference to the given NullableBriefIPSecProfileRequest and assigns it to the IpsecProfile field. +func (o *WritableTunnelRequest) SetIpsecProfile(v BriefIPSecProfileRequest) { o.IpsecProfile.Set(&v) } @@ -222,9 +222,9 @@ func (o *WritableTunnelRequest) UnsetIpsecProfile() { } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableTunnelRequest) GetTenant() TenantRequest { +func (o *WritableTunnelRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -233,7 +233,7 @@ func (o *WritableTunnelRequest) GetTenant() TenantRequest { // 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 *WritableTunnelRequest) GetTenantOk() (*TenantRequest, bool) { +func (o *WritableTunnelRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -249,8 +249,8 @@ func (o *WritableTunnelRequest) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *WritableTunnelRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *WritableTunnelRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } diff --git a/model_writable_tunnel_termination_request.go b/model_writable_tunnel_termination_request.go index ec11b7d2b..e30f20c78 100644 --- a/model_writable_tunnel_termination_request.go +++ b/model_writable_tunnel_termination_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,11 +20,11 @@ var _ MappedNullable = &WritableTunnelTerminationRequest{} // WritableTunnelTerminationRequest Adds support for custom fields and tags. type WritableTunnelTerminationRequest struct { - Tunnel TunnelRequest `json:"tunnel"` + Tunnel BriefTunnelRequest `json:"tunnel"` Role *PatchedWritableTunnelTerminationRequestRole `json:"role,omitempty"` TerminationType string `json:"termination_type"` TerminationId NullableInt64 `json:"termination_id"` - OutsideIp NullableIPAddressRequest `json:"outside_ip,omitempty"` + OutsideIp NullableBriefIPAddressRequest `json:"outside_ip,omitempty"` Tags []NestedTagRequest `json:"tags,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} @@ -36,7 +36,7 @@ type _WritableTunnelTerminationRequest WritableTunnelTerminationRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewWritableTunnelTerminationRequest(tunnel TunnelRequest, terminationType string, terminationId NullableInt64) *WritableTunnelTerminationRequest { +func NewWritableTunnelTerminationRequest(tunnel BriefTunnelRequest, terminationType string, terminationId NullableInt64) *WritableTunnelTerminationRequest { this := WritableTunnelTerminationRequest{} this.Tunnel = tunnel this.TerminationType = terminationType @@ -53,9 +53,9 @@ func NewWritableTunnelTerminationRequestWithDefaults() *WritableTunnelTerminatio } // GetTunnel returns the Tunnel field value -func (o *WritableTunnelTerminationRequest) GetTunnel() TunnelRequest { +func (o *WritableTunnelTerminationRequest) GetTunnel() BriefTunnelRequest { if o == nil { - var ret TunnelRequest + var ret BriefTunnelRequest return ret } @@ -64,7 +64,7 @@ func (o *WritableTunnelTerminationRequest) GetTunnel() TunnelRequest { // GetTunnelOk returns a tuple with the Tunnel field value // and a boolean to check if the value has been set. -func (o *WritableTunnelTerminationRequest) GetTunnelOk() (*TunnelRequest, bool) { +func (o *WritableTunnelTerminationRequest) GetTunnelOk() (*BriefTunnelRequest, bool) { if o == nil { return nil, false } @@ -72,7 +72,7 @@ func (o *WritableTunnelTerminationRequest) GetTunnelOk() (*TunnelRequest, bool) } // SetTunnel sets field value -func (o *WritableTunnelTerminationRequest) SetTunnel(v TunnelRequest) { +func (o *WritableTunnelTerminationRequest) SetTunnel(v BriefTunnelRequest) { o.Tunnel = v } @@ -159,9 +159,9 @@ func (o *WritableTunnelTerminationRequest) SetTerminationId(v int64) { } // GetOutsideIp returns the OutsideIp field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableTunnelTerminationRequest) GetOutsideIp() IPAddressRequest { +func (o *WritableTunnelTerminationRequest) GetOutsideIp() BriefIPAddressRequest { if o == nil || IsNil(o.OutsideIp.Get()) { - var ret IPAddressRequest + var ret BriefIPAddressRequest return ret } return *o.OutsideIp.Get() @@ -170,7 +170,7 @@ func (o *WritableTunnelTerminationRequest) GetOutsideIp() IPAddressRequest { // GetOutsideIpOk returns a tuple with the OutsideIp 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 *WritableTunnelTerminationRequest) GetOutsideIpOk() (*IPAddressRequest, bool) { +func (o *WritableTunnelTerminationRequest) GetOutsideIpOk() (*BriefIPAddressRequest, bool) { if o == nil { return nil, false } @@ -186,8 +186,8 @@ func (o *WritableTunnelTerminationRequest) HasOutsideIp() bool { return false } -// SetOutsideIp gets a reference to the given NullableIPAddressRequest and assigns it to the OutsideIp field. -func (o *WritableTunnelTerminationRequest) SetOutsideIp(v IPAddressRequest) { +// SetOutsideIp gets a reference to the given NullableBriefIPAddressRequest and assigns it to the OutsideIp field. +func (o *WritableTunnelTerminationRequest) SetOutsideIp(v BriefIPAddressRequest) { o.OutsideIp.Set(&v) } diff --git a/model_writable_virtual_chassis_request.go b/model_writable_virtual_chassis_request.go index 76b1664be..3573c971a 100644 --- a/model_writable_virtual_chassis_request.go +++ b/model_writable_virtual_chassis_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_writable_virtual_device_context_request.go b/model_writable_virtual_device_context_request.go index 9c16e0e71..e8af3033d 100644 --- a/model_writable_virtual_device_context_request.go +++ b/model_writable_virtual_device_context_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,11 +21,11 @@ var _ MappedNullable = &WritableVirtualDeviceContextRequest{} // WritableVirtualDeviceContextRequest Adds support for custom fields and tags. type WritableVirtualDeviceContextRequest struct { Name string `json:"name"` - Device DeviceRequest `json:"device"` + Device BriefDeviceRequest `json:"device"` Identifier NullableInt32 `json:"identifier,omitempty"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` - PrimaryIp4 NullableIPAddressRequest `json:"primary_ip4,omitempty"` - PrimaryIp6 NullableIPAddressRequest `json:"primary_ip6,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` + PrimaryIp4 NullableBriefIPAddressRequest `json:"primary_ip4,omitempty"` + PrimaryIp6 NullableBriefIPAddressRequest `json:"primary_ip6,omitempty"` Status PatchedWritableVirtualDeviceContextRequestStatus `json:"status"` Description *string `json:"description,omitempty"` Comments *string `json:"comments,omitempty"` @@ -40,7 +40,7 @@ type _WritableVirtualDeviceContextRequest WritableVirtualDeviceContextRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewWritableVirtualDeviceContextRequest(name string, device DeviceRequest, status PatchedWritableVirtualDeviceContextRequestStatus) *WritableVirtualDeviceContextRequest { +func NewWritableVirtualDeviceContextRequest(name string, device BriefDeviceRequest, status PatchedWritableVirtualDeviceContextRequestStatus) *WritableVirtualDeviceContextRequest { this := WritableVirtualDeviceContextRequest{} this.Name = name this.Device = device @@ -81,9 +81,9 @@ func (o *WritableVirtualDeviceContextRequest) SetName(v string) { } // GetDevice returns the Device field value -func (o *WritableVirtualDeviceContextRequest) GetDevice() DeviceRequest { +func (o *WritableVirtualDeviceContextRequest) GetDevice() BriefDeviceRequest { if o == nil { - var ret DeviceRequest + var ret BriefDeviceRequest return ret } @@ -92,7 +92,7 @@ func (o *WritableVirtualDeviceContextRequest) GetDevice() DeviceRequest { // GetDeviceOk returns a tuple with the Device field value // and a boolean to check if the value has been set. -func (o *WritableVirtualDeviceContextRequest) GetDeviceOk() (*DeviceRequest, bool) { +func (o *WritableVirtualDeviceContextRequest) GetDeviceOk() (*BriefDeviceRequest, bool) { if o == nil { return nil, false } @@ -100,7 +100,7 @@ func (o *WritableVirtualDeviceContextRequest) GetDeviceOk() (*DeviceRequest, boo } // SetDevice sets field value -func (o *WritableVirtualDeviceContextRequest) SetDevice(v DeviceRequest) { +func (o *WritableVirtualDeviceContextRequest) SetDevice(v BriefDeviceRequest) { o.Device = v } @@ -148,9 +148,9 @@ func (o *WritableVirtualDeviceContextRequest) UnsetIdentifier() { } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableVirtualDeviceContextRequest) GetTenant() TenantRequest { +func (o *WritableVirtualDeviceContextRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -159,7 +159,7 @@ func (o *WritableVirtualDeviceContextRequest) GetTenant() TenantRequest { // 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 *WritableVirtualDeviceContextRequest) GetTenantOk() (*TenantRequest, bool) { +func (o *WritableVirtualDeviceContextRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -175,8 +175,8 @@ func (o *WritableVirtualDeviceContextRequest) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *WritableVirtualDeviceContextRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *WritableVirtualDeviceContextRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } @@ -191,9 +191,9 @@ func (o *WritableVirtualDeviceContextRequest) UnsetTenant() { } // GetPrimaryIp4 returns the PrimaryIp4 field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableVirtualDeviceContextRequest) GetPrimaryIp4() IPAddressRequest { +func (o *WritableVirtualDeviceContextRequest) GetPrimaryIp4() BriefIPAddressRequest { if o == nil || IsNil(o.PrimaryIp4.Get()) { - var ret IPAddressRequest + var ret BriefIPAddressRequest return ret } return *o.PrimaryIp4.Get() @@ -202,7 +202,7 @@ func (o *WritableVirtualDeviceContextRequest) GetPrimaryIp4() IPAddressRequest { // 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 *WritableVirtualDeviceContextRequest) GetPrimaryIp4Ok() (*IPAddressRequest, bool) { +func (o *WritableVirtualDeviceContextRequest) GetPrimaryIp4Ok() (*BriefIPAddressRequest, bool) { if o == nil { return nil, false } @@ -218,8 +218,8 @@ func (o *WritableVirtualDeviceContextRequest) HasPrimaryIp4() bool { return false } -// SetPrimaryIp4 gets a reference to the given NullableIPAddressRequest and assigns it to the PrimaryIp4 field. -func (o *WritableVirtualDeviceContextRequest) SetPrimaryIp4(v IPAddressRequest) { +// SetPrimaryIp4 gets a reference to the given NullableBriefIPAddressRequest and assigns it to the PrimaryIp4 field. +func (o *WritableVirtualDeviceContextRequest) SetPrimaryIp4(v BriefIPAddressRequest) { o.PrimaryIp4.Set(&v) } @@ -234,9 +234,9 @@ func (o *WritableVirtualDeviceContextRequest) UnsetPrimaryIp4() { } // GetPrimaryIp6 returns the PrimaryIp6 field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableVirtualDeviceContextRequest) GetPrimaryIp6() IPAddressRequest { +func (o *WritableVirtualDeviceContextRequest) GetPrimaryIp6() BriefIPAddressRequest { if o == nil || IsNil(o.PrimaryIp6.Get()) { - var ret IPAddressRequest + var ret BriefIPAddressRequest return ret } return *o.PrimaryIp6.Get() @@ -245,7 +245,7 @@ func (o *WritableVirtualDeviceContextRequest) GetPrimaryIp6() IPAddressRequest { // 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 *WritableVirtualDeviceContextRequest) GetPrimaryIp6Ok() (*IPAddressRequest, bool) { +func (o *WritableVirtualDeviceContextRequest) GetPrimaryIp6Ok() (*BriefIPAddressRequest, bool) { if o == nil { return nil, false } @@ -261,8 +261,8 @@ func (o *WritableVirtualDeviceContextRequest) HasPrimaryIp6() bool { return false } -// SetPrimaryIp6 gets a reference to the given NullableIPAddressRequest and assigns it to the PrimaryIp6 field. -func (o *WritableVirtualDeviceContextRequest) SetPrimaryIp6(v IPAddressRequest) { +// SetPrimaryIp6 gets a reference to the given NullableBriefIPAddressRequest and assigns it to the PrimaryIp6 field. +func (o *WritableVirtualDeviceContextRequest) SetPrimaryIp6(v BriefIPAddressRequest) { o.PrimaryIp6.Set(&v) } diff --git a/model_writable_virtual_machine_with_config_context_request.go b/model_writable_virtual_machine_with_config_context_request.go index a24bbacab..7748f1d2c 100644 --- a/model_writable_virtual_machine_with_config_context_request.go +++ b/model_writable_virtual_machine_with_config_context_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,22 +20,23 @@ var _ MappedNullable = &WritableVirtualMachineWithConfigContextRequest{} // WritableVirtualMachineWithConfigContextRequest Adds support for custom fields and tags. type WritableVirtualMachineWithConfigContextRequest struct { - Name string `json:"name"` - Status *PatchedWritableModuleRequestStatus `json:"status,omitempty"` - Site NullableSiteRequest `json:"site,omitempty"` - Cluster NullableClusterRequest `json:"cluster,omitempty"` - Device NullableDeviceRequest `json:"device,omitempty"` - Role NullableDeviceRoleRequest `json:"role,omitempty"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` - Platform NullablePlatformRequest `json:"platform,omitempty"` - PrimaryIp4 NullableIPAddressRequest `json:"primary_ip4,omitempty"` - PrimaryIp6 NullableIPAddressRequest `json:"primary_ip6,omitempty"` - Vcpus NullableFloat64 `json:"vcpus,omitempty"` - Memory NullableInt32 `json:"memory,omitempty"` - Disk NullableInt32 `json:"disk,omitempty"` - Description *string `json:"description,omitempty"` - Comments *string `json:"comments,omitempty"` - ConfigTemplate NullableConfigTemplateRequest `json:"config_template,omitempty"` + Name string `json:"name"` + Status *ModuleStatusValue `json:"status,omitempty"` + Site NullableBriefSiteRequest `json:"site,omitempty"` + Cluster NullableBriefClusterRequest `json:"cluster,omitempty"` + Device NullableBriefDeviceRequest `json:"device,omitempty"` + Serial *string `json:"serial,omitempty"` + Role NullableBriefDeviceRoleRequest `json:"role,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` + Platform NullableBriefPlatformRequest `json:"platform,omitempty"` + PrimaryIp4 NullableBriefIPAddressRequest `json:"primary_ip4,omitempty"` + PrimaryIp6 NullableBriefIPAddressRequest `json:"primary_ip6,omitempty"` + Vcpus NullableFloat64 `json:"vcpus,omitempty"` + Memory NullableInt32 `json:"memory,omitempty"` + Disk NullableInt32 `json:"disk,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + ConfigTemplate NullableBriefConfigTemplateRequest `json:"config_template,omitempty"` // Local config context data takes precedence over source contexts in the final rendered config context LocalContextData interface{} `json:"local_context_data,omitempty"` Tags []NestedTagRequest `json:"tags,omitempty"` @@ -88,9 +89,9 @@ func (o *WritableVirtualMachineWithConfigContextRequest) SetName(v string) { } // GetStatus returns the Status field value if set, zero value otherwise. -func (o *WritableVirtualMachineWithConfigContextRequest) GetStatus() PatchedWritableModuleRequestStatus { +func (o *WritableVirtualMachineWithConfigContextRequest) GetStatus() ModuleStatusValue { if o == nil || IsNil(o.Status) { - var ret PatchedWritableModuleRequestStatus + var ret ModuleStatusValue return ret } return *o.Status @@ -98,7 +99,7 @@ func (o *WritableVirtualMachineWithConfigContextRequest) GetStatus() PatchedWrit // 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 *WritableVirtualMachineWithConfigContextRequest) GetStatusOk() (*PatchedWritableModuleRequestStatus, bool) { +func (o *WritableVirtualMachineWithConfigContextRequest) GetStatusOk() (*ModuleStatusValue, bool) { if o == nil || IsNil(o.Status) { return nil, false } @@ -114,15 +115,15 @@ func (o *WritableVirtualMachineWithConfigContextRequest) HasStatus() bool { return false } -// SetStatus gets a reference to the given PatchedWritableModuleRequestStatus and assigns it to the Status field. -func (o *WritableVirtualMachineWithConfigContextRequest) SetStatus(v PatchedWritableModuleRequestStatus) { +// SetStatus gets a reference to the given ModuleStatusValue and assigns it to the Status field. +func (o *WritableVirtualMachineWithConfigContextRequest) SetStatus(v ModuleStatusValue) { o.Status = &v } // GetSite returns the Site field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableVirtualMachineWithConfigContextRequest) GetSite() SiteRequest { +func (o *WritableVirtualMachineWithConfigContextRequest) GetSite() BriefSiteRequest { if o == nil || IsNil(o.Site.Get()) { - var ret SiteRequest + var ret BriefSiteRequest return ret } return *o.Site.Get() @@ -131,7 +132,7 @@ func (o *WritableVirtualMachineWithConfigContextRequest) GetSite() SiteRequest { // GetSiteOk returns a tuple with the Site 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 *WritableVirtualMachineWithConfigContextRequest) GetSiteOk() (*SiteRequest, bool) { +func (o *WritableVirtualMachineWithConfigContextRequest) GetSiteOk() (*BriefSiteRequest, bool) { if o == nil { return nil, false } @@ -147,8 +148,8 @@ func (o *WritableVirtualMachineWithConfigContextRequest) HasSite() bool { return false } -// SetSite gets a reference to the given NullableSiteRequest and assigns it to the Site field. -func (o *WritableVirtualMachineWithConfigContextRequest) SetSite(v SiteRequest) { +// SetSite gets a reference to the given NullableBriefSiteRequest and assigns it to the Site field. +func (o *WritableVirtualMachineWithConfigContextRequest) SetSite(v BriefSiteRequest) { o.Site.Set(&v) } @@ -163,9 +164,9 @@ func (o *WritableVirtualMachineWithConfigContextRequest) UnsetSite() { } // GetCluster returns the Cluster field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableVirtualMachineWithConfigContextRequest) GetCluster() ClusterRequest { +func (o *WritableVirtualMachineWithConfigContextRequest) GetCluster() BriefClusterRequest { if o == nil || IsNil(o.Cluster.Get()) { - var ret ClusterRequest + var ret BriefClusterRequest return ret } return *o.Cluster.Get() @@ -174,7 +175,7 @@ func (o *WritableVirtualMachineWithConfigContextRequest) GetCluster() ClusterReq // GetClusterOk returns a tuple with the Cluster 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 *WritableVirtualMachineWithConfigContextRequest) GetClusterOk() (*ClusterRequest, bool) { +func (o *WritableVirtualMachineWithConfigContextRequest) GetClusterOk() (*BriefClusterRequest, bool) { if o == nil { return nil, false } @@ -190,8 +191,8 @@ func (o *WritableVirtualMachineWithConfigContextRequest) HasCluster() bool { return false } -// SetCluster gets a reference to the given NullableClusterRequest and assigns it to the Cluster field. -func (o *WritableVirtualMachineWithConfigContextRequest) SetCluster(v ClusterRequest) { +// SetCluster gets a reference to the given NullableBriefClusterRequest and assigns it to the Cluster field. +func (o *WritableVirtualMachineWithConfigContextRequest) SetCluster(v BriefClusterRequest) { o.Cluster.Set(&v) } @@ -206,9 +207,9 @@ func (o *WritableVirtualMachineWithConfigContextRequest) UnsetCluster() { } // GetDevice returns the Device field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableVirtualMachineWithConfigContextRequest) GetDevice() DeviceRequest { +func (o *WritableVirtualMachineWithConfigContextRequest) GetDevice() BriefDeviceRequest { if o == nil || IsNil(o.Device.Get()) { - var ret DeviceRequest + var ret BriefDeviceRequest return ret } return *o.Device.Get() @@ -217,7 +218,7 @@ func (o *WritableVirtualMachineWithConfigContextRequest) GetDevice() DeviceReque // GetDeviceOk returns a tuple with the Device 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 *WritableVirtualMachineWithConfigContextRequest) GetDeviceOk() (*DeviceRequest, bool) { +func (o *WritableVirtualMachineWithConfigContextRequest) GetDeviceOk() (*BriefDeviceRequest, bool) { if o == nil { return nil, false } @@ -233,8 +234,8 @@ func (o *WritableVirtualMachineWithConfigContextRequest) HasDevice() bool { return false } -// SetDevice gets a reference to the given NullableDeviceRequest and assigns it to the Device field. -func (o *WritableVirtualMachineWithConfigContextRequest) SetDevice(v DeviceRequest) { +// SetDevice gets a reference to the given NullableBriefDeviceRequest and assigns it to the Device field. +func (o *WritableVirtualMachineWithConfigContextRequest) SetDevice(v BriefDeviceRequest) { o.Device.Set(&v) } @@ -248,10 +249,42 @@ func (o *WritableVirtualMachineWithConfigContextRequest) UnsetDevice() { o.Device.Unset() } +// GetSerial returns the Serial field value if set, zero value otherwise. +func (o *WritableVirtualMachineWithConfigContextRequest) GetSerial() string { + if o == nil || IsNil(o.Serial) { + var ret string + return ret + } + return *o.Serial +} + +// GetSerialOk returns a tuple with the Serial field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WritableVirtualMachineWithConfigContextRequest) GetSerialOk() (*string, bool) { + if o == nil || IsNil(o.Serial) { + return nil, false + } + return o.Serial, true +} + +// HasSerial returns a boolean if a field has been set. +func (o *WritableVirtualMachineWithConfigContextRequest) HasSerial() bool { + if o != nil && !IsNil(o.Serial) { + return true + } + + return false +} + +// SetSerial gets a reference to the given string and assigns it to the Serial field. +func (o *WritableVirtualMachineWithConfigContextRequest) SetSerial(v string) { + o.Serial = &v +} + // GetRole returns the Role field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableVirtualMachineWithConfigContextRequest) GetRole() DeviceRoleRequest { +func (o *WritableVirtualMachineWithConfigContextRequest) GetRole() BriefDeviceRoleRequest { if o == nil || IsNil(o.Role.Get()) { - var ret DeviceRoleRequest + var ret BriefDeviceRoleRequest return ret } return *o.Role.Get() @@ -260,7 +293,7 @@ func (o *WritableVirtualMachineWithConfigContextRequest) GetRole() DeviceRoleReq // 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 *WritableVirtualMachineWithConfigContextRequest) GetRoleOk() (*DeviceRoleRequest, bool) { +func (o *WritableVirtualMachineWithConfigContextRequest) GetRoleOk() (*BriefDeviceRoleRequest, bool) { if o == nil { return nil, false } @@ -276,8 +309,8 @@ func (o *WritableVirtualMachineWithConfigContextRequest) HasRole() bool { return false } -// SetRole gets a reference to the given NullableDeviceRoleRequest and assigns it to the Role field. -func (o *WritableVirtualMachineWithConfigContextRequest) SetRole(v DeviceRoleRequest) { +// SetRole gets a reference to the given NullableBriefDeviceRoleRequest and assigns it to the Role field. +func (o *WritableVirtualMachineWithConfigContextRequest) SetRole(v BriefDeviceRoleRequest) { o.Role.Set(&v) } @@ -292,9 +325,9 @@ func (o *WritableVirtualMachineWithConfigContextRequest) UnsetRole() { } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableVirtualMachineWithConfigContextRequest) GetTenant() TenantRequest { +func (o *WritableVirtualMachineWithConfigContextRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -303,7 +336,7 @@ func (o *WritableVirtualMachineWithConfigContextRequest) GetTenant() TenantReque // 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 *WritableVirtualMachineWithConfigContextRequest) GetTenantOk() (*TenantRequest, bool) { +func (o *WritableVirtualMachineWithConfigContextRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -319,8 +352,8 @@ func (o *WritableVirtualMachineWithConfigContextRequest) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *WritableVirtualMachineWithConfigContextRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *WritableVirtualMachineWithConfigContextRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } @@ -335,9 +368,9 @@ func (o *WritableVirtualMachineWithConfigContextRequest) UnsetTenant() { } // GetPlatform returns the Platform field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableVirtualMachineWithConfigContextRequest) GetPlatform() PlatformRequest { +func (o *WritableVirtualMachineWithConfigContextRequest) GetPlatform() BriefPlatformRequest { if o == nil || IsNil(o.Platform.Get()) { - var ret PlatformRequest + var ret BriefPlatformRequest return ret } return *o.Platform.Get() @@ -346,7 +379,7 @@ func (o *WritableVirtualMachineWithConfigContextRequest) GetPlatform() PlatformR // GetPlatformOk returns a tuple with the Platform 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 *WritableVirtualMachineWithConfigContextRequest) GetPlatformOk() (*PlatformRequest, bool) { +func (o *WritableVirtualMachineWithConfigContextRequest) GetPlatformOk() (*BriefPlatformRequest, bool) { if o == nil { return nil, false } @@ -362,8 +395,8 @@ func (o *WritableVirtualMachineWithConfigContextRequest) HasPlatform() bool { return false } -// SetPlatform gets a reference to the given NullablePlatformRequest and assigns it to the Platform field. -func (o *WritableVirtualMachineWithConfigContextRequest) SetPlatform(v PlatformRequest) { +// SetPlatform gets a reference to the given NullableBriefPlatformRequest and assigns it to the Platform field. +func (o *WritableVirtualMachineWithConfigContextRequest) SetPlatform(v BriefPlatformRequest) { o.Platform.Set(&v) } @@ -378,9 +411,9 @@ func (o *WritableVirtualMachineWithConfigContextRequest) UnsetPlatform() { } // GetPrimaryIp4 returns the PrimaryIp4 field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableVirtualMachineWithConfigContextRequest) GetPrimaryIp4() IPAddressRequest { +func (o *WritableVirtualMachineWithConfigContextRequest) GetPrimaryIp4() BriefIPAddressRequest { if o == nil || IsNil(o.PrimaryIp4.Get()) { - var ret IPAddressRequest + var ret BriefIPAddressRequest return ret } return *o.PrimaryIp4.Get() @@ -389,7 +422,7 @@ func (o *WritableVirtualMachineWithConfigContextRequest) GetPrimaryIp4() IPAddre // 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 *WritableVirtualMachineWithConfigContextRequest) GetPrimaryIp4Ok() (*IPAddressRequest, bool) { +func (o *WritableVirtualMachineWithConfigContextRequest) GetPrimaryIp4Ok() (*BriefIPAddressRequest, bool) { if o == nil { return nil, false } @@ -405,8 +438,8 @@ func (o *WritableVirtualMachineWithConfigContextRequest) HasPrimaryIp4() bool { return false } -// SetPrimaryIp4 gets a reference to the given NullableIPAddressRequest and assigns it to the PrimaryIp4 field. -func (o *WritableVirtualMachineWithConfigContextRequest) SetPrimaryIp4(v IPAddressRequest) { +// SetPrimaryIp4 gets a reference to the given NullableBriefIPAddressRequest and assigns it to the PrimaryIp4 field. +func (o *WritableVirtualMachineWithConfigContextRequest) SetPrimaryIp4(v BriefIPAddressRequest) { o.PrimaryIp4.Set(&v) } @@ -421,9 +454,9 @@ func (o *WritableVirtualMachineWithConfigContextRequest) UnsetPrimaryIp4() { } // GetPrimaryIp6 returns the PrimaryIp6 field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableVirtualMachineWithConfigContextRequest) GetPrimaryIp6() IPAddressRequest { +func (o *WritableVirtualMachineWithConfigContextRequest) GetPrimaryIp6() BriefIPAddressRequest { if o == nil || IsNil(o.PrimaryIp6.Get()) { - var ret IPAddressRequest + var ret BriefIPAddressRequest return ret } return *o.PrimaryIp6.Get() @@ -432,7 +465,7 @@ func (o *WritableVirtualMachineWithConfigContextRequest) GetPrimaryIp6() IPAddre // 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 *WritableVirtualMachineWithConfigContextRequest) GetPrimaryIp6Ok() (*IPAddressRequest, bool) { +func (o *WritableVirtualMachineWithConfigContextRequest) GetPrimaryIp6Ok() (*BriefIPAddressRequest, bool) { if o == nil { return nil, false } @@ -448,8 +481,8 @@ func (o *WritableVirtualMachineWithConfigContextRequest) HasPrimaryIp6() bool { return false } -// SetPrimaryIp6 gets a reference to the given NullableIPAddressRequest and assigns it to the PrimaryIp6 field. -func (o *WritableVirtualMachineWithConfigContextRequest) SetPrimaryIp6(v IPAddressRequest) { +// SetPrimaryIp6 gets a reference to the given NullableBriefIPAddressRequest and assigns it to the PrimaryIp6 field. +func (o *WritableVirtualMachineWithConfigContextRequest) SetPrimaryIp6(v BriefIPAddressRequest) { o.PrimaryIp6.Set(&v) } @@ -657,9 +690,9 @@ func (o *WritableVirtualMachineWithConfigContextRequest) SetComments(v string) { } // GetConfigTemplate returns the ConfigTemplate field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableVirtualMachineWithConfigContextRequest) GetConfigTemplate() ConfigTemplateRequest { +func (o *WritableVirtualMachineWithConfigContextRequest) GetConfigTemplate() BriefConfigTemplateRequest { if o == nil || IsNil(o.ConfigTemplate.Get()) { - var ret ConfigTemplateRequest + var ret BriefConfigTemplateRequest return ret } return *o.ConfigTemplate.Get() @@ -668,7 +701,7 @@ func (o *WritableVirtualMachineWithConfigContextRequest) GetConfigTemplate() Con // GetConfigTemplateOk returns a tuple with the ConfigTemplate 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 *WritableVirtualMachineWithConfigContextRequest) GetConfigTemplateOk() (*ConfigTemplateRequest, bool) { +func (o *WritableVirtualMachineWithConfigContextRequest) GetConfigTemplateOk() (*BriefConfigTemplateRequest, bool) { if o == nil { return nil, false } @@ -684,8 +717,8 @@ func (o *WritableVirtualMachineWithConfigContextRequest) HasConfigTemplate() boo return false } -// SetConfigTemplate gets a reference to the given NullableConfigTemplateRequest and assigns it to the ConfigTemplate field. -func (o *WritableVirtualMachineWithConfigContextRequest) SetConfigTemplate(v ConfigTemplateRequest) { +// SetConfigTemplate gets a reference to the given NullableBriefConfigTemplateRequest and assigns it to the ConfigTemplate field. +func (o *WritableVirtualMachineWithConfigContextRequest) SetConfigTemplate(v BriefConfigTemplateRequest) { o.ConfigTemplate.Set(&v) } @@ -819,6 +852,9 @@ func (o WritableVirtualMachineWithConfigContextRequest) ToMap() (map[string]inte if o.Device.IsSet() { toSerialize["device"] = o.Device.Get() } + if !IsNil(o.Serial) { + toSerialize["serial"] = o.Serial + } if o.Role.IsSet() { toSerialize["role"] = o.Role.Get() } @@ -909,6 +945,7 @@ func (o *WritableVirtualMachineWithConfigContextRequest) UnmarshalJSON(data []by delete(additionalProperties, "site") delete(additionalProperties, "cluster") delete(additionalProperties, "device") + delete(additionalProperties, "serial") delete(additionalProperties, "role") delete(additionalProperties, "tenant") delete(additionalProperties, "platform") diff --git a/model_writable_vlan_request.go b/model_writable_vlan_request.go index 047e6f389..74b81e0b1 100644 --- a/model_writable_vlan_request.go +++ b/model_writable_vlan_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,14 +20,14 @@ var _ MappedNullable = &WritableVLANRequest{} // WritableVLANRequest Adds support for custom fields and tags. type WritableVLANRequest struct { - Site NullableSiteRequest `json:"site,omitempty"` - Group NullableVLANGroupRequest `json:"group,omitempty"` + Site NullableBriefSiteRequest `json:"site,omitempty"` + Group NullableBriefVLANGroupRequest `json:"group,omitempty"` // Numeric VLAN ID (1-4094) Vid int32 `json:"vid"` Name string `json:"name"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` Status *PatchedWritableVLANRequestStatus `json:"status,omitempty"` - Role NullableRoleRequest `json:"role,omitempty"` + Role NullableBriefRoleRequest `json:"role,omitempty"` Description *string `json:"description,omitempty"` Comments *string `json:"comments,omitempty"` Tags []NestedTagRequest `json:"tags,omitempty"` @@ -57,9 +57,9 @@ func NewWritableVLANRequestWithDefaults() *WritableVLANRequest { } // GetSite returns the Site field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableVLANRequest) GetSite() SiteRequest { +func (o *WritableVLANRequest) GetSite() BriefSiteRequest { if o == nil || IsNil(o.Site.Get()) { - var ret SiteRequest + var ret BriefSiteRequest return ret } return *o.Site.Get() @@ -68,7 +68,7 @@ func (o *WritableVLANRequest) GetSite() SiteRequest { // GetSiteOk returns a tuple with the Site 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 *WritableVLANRequest) GetSiteOk() (*SiteRequest, bool) { +func (o *WritableVLANRequest) GetSiteOk() (*BriefSiteRequest, bool) { if o == nil { return nil, false } @@ -84,8 +84,8 @@ func (o *WritableVLANRequest) HasSite() bool { return false } -// SetSite gets a reference to the given NullableSiteRequest and assigns it to the Site field. -func (o *WritableVLANRequest) SetSite(v SiteRequest) { +// SetSite gets a reference to the given NullableBriefSiteRequest and assigns it to the Site field. +func (o *WritableVLANRequest) SetSite(v BriefSiteRequest) { o.Site.Set(&v) } @@ -100,9 +100,9 @@ func (o *WritableVLANRequest) UnsetSite() { } // GetGroup returns the Group field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableVLANRequest) GetGroup() VLANGroupRequest { +func (o *WritableVLANRequest) GetGroup() BriefVLANGroupRequest { if o == nil || IsNil(o.Group.Get()) { - var ret VLANGroupRequest + var ret BriefVLANGroupRequest return ret } return *o.Group.Get() @@ -111,7 +111,7 @@ func (o *WritableVLANRequest) GetGroup() VLANGroupRequest { // GetGroupOk returns a tuple with the Group 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 *WritableVLANRequest) GetGroupOk() (*VLANGroupRequest, bool) { +func (o *WritableVLANRequest) GetGroupOk() (*BriefVLANGroupRequest, bool) { if o == nil { return nil, false } @@ -127,8 +127,8 @@ func (o *WritableVLANRequest) HasGroup() bool { return false } -// SetGroup gets a reference to the given NullableVLANGroupRequest and assigns it to the Group field. -func (o *WritableVLANRequest) SetGroup(v VLANGroupRequest) { +// SetGroup gets a reference to the given NullableBriefVLANGroupRequest and assigns it to the Group field. +func (o *WritableVLANRequest) SetGroup(v BriefVLANGroupRequest) { o.Group.Set(&v) } @@ -191,9 +191,9 @@ func (o *WritableVLANRequest) SetName(v string) { } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableVLANRequest) GetTenant() TenantRequest { +func (o *WritableVLANRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -202,7 +202,7 @@ func (o *WritableVLANRequest) GetTenant() TenantRequest { // 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 *WritableVLANRequest) GetTenantOk() (*TenantRequest, bool) { +func (o *WritableVLANRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -218,8 +218,8 @@ func (o *WritableVLANRequest) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *WritableVLANRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *WritableVLANRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } @@ -266,9 +266,9 @@ func (o *WritableVLANRequest) SetStatus(v PatchedWritableVLANRequestStatus) { } // GetRole returns the Role field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableVLANRequest) GetRole() RoleRequest { +func (o *WritableVLANRequest) GetRole() BriefRoleRequest { if o == nil || IsNil(o.Role.Get()) { - var ret RoleRequest + var ret BriefRoleRequest return ret } return *o.Role.Get() @@ -277,7 +277,7 @@ func (o *WritableVLANRequest) GetRole() RoleRequest { // 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 *WritableVLANRequest) GetRoleOk() (*RoleRequest, bool) { +func (o *WritableVLANRequest) GetRoleOk() (*BriefRoleRequest, bool) { if o == nil { return nil, false } @@ -293,8 +293,8 @@ func (o *WritableVLANRequest) HasRole() bool { return false } -// SetRole gets a reference to the given NullableRoleRequest and assigns it to the Role field. -func (o *WritableVLANRequest) SetRole(v RoleRequest) { +// SetRole gets a reference to the given NullableBriefRoleRequest and assigns it to the Role field. +func (o *WritableVLANRequest) SetRole(v BriefRoleRequest) { o.Role.Set(&v) } diff --git a/model_writable_vm_interface_request.go b/model_writable_vm_interface_request.go index 3c0acb800..d05fac1a4 100644 --- a/model_writable_vm_interface_request.go +++ b/model_writable_vm_interface_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,7 +20,7 @@ var _ MappedNullable = &WritableVMInterfaceRequest{} // WritableVMInterfaceRequest Adds support for custom fields and tags. type WritableVMInterfaceRequest struct { - VirtualMachine VirtualMachineRequest `json:"virtual_machine"` + VirtualMachine BriefVirtualMachineRequest `json:"virtual_machine"` Name string `json:"name"` Enabled *bool `json:"enabled,omitempty"` Parent NullableInt32 `json:"parent,omitempty"` @@ -29,9 +29,9 @@ type WritableVMInterfaceRequest struct { MacAddress NullableString `json:"mac_address,omitempty"` Description *string `json:"description,omitempty"` Mode *PatchedWritableInterfaceRequestMode `json:"mode,omitempty"` - UntaggedVlan NullableVLANRequest `json:"untagged_vlan,omitempty"` + UntaggedVlan NullableBriefVLANRequest `json:"untagged_vlan,omitempty"` TaggedVlans []int32 `json:"tagged_vlans,omitempty"` - Vrf NullableVRFRequest `json:"vrf,omitempty"` + Vrf NullableBriefVRFRequest `json:"vrf,omitempty"` Tags []NestedTagRequest `json:"tags,omitempty"` CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} @@ -43,7 +43,7 @@ type _WritableVMInterfaceRequest WritableVMInterfaceRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewWritableVMInterfaceRequest(virtualMachine VirtualMachineRequest, name string) *WritableVMInterfaceRequest { +func NewWritableVMInterfaceRequest(virtualMachine BriefVirtualMachineRequest, name string) *WritableVMInterfaceRequest { this := WritableVMInterfaceRequest{} this.VirtualMachine = virtualMachine this.Name = name @@ -59,9 +59,9 @@ func NewWritableVMInterfaceRequestWithDefaults() *WritableVMInterfaceRequest { } // GetVirtualMachine returns the VirtualMachine field value -func (o *WritableVMInterfaceRequest) GetVirtualMachine() VirtualMachineRequest { +func (o *WritableVMInterfaceRequest) GetVirtualMachine() BriefVirtualMachineRequest { if o == nil { - var ret VirtualMachineRequest + var ret BriefVirtualMachineRequest return ret } @@ -70,7 +70,7 @@ func (o *WritableVMInterfaceRequest) GetVirtualMachine() VirtualMachineRequest { // GetVirtualMachineOk returns a tuple with the VirtualMachine field value // and a boolean to check if the value has been set. -func (o *WritableVMInterfaceRequest) GetVirtualMachineOk() (*VirtualMachineRequest, bool) { +func (o *WritableVMInterfaceRequest) GetVirtualMachineOk() (*BriefVirtualMachineRequest, bool) { if o == nil { return nil, false } @@ -78,7 +78,7 @@ func (o *WritableVMInterfaceRequest) GetVirtualMachineOk() (*VirtualMachineReque } // SetVirtualMachine sets field value -func (o *WritableVMInterfaceRequest) SetVirtualMachine(v VirtualMachineRequest) { +func (o *WritableVMInterfaceRequest) SetVirtualMachine(v BriefVirtualMachineRequest) { o.VirtualMachine = v } @@ -375,9 +375,9 @@ func (o *WritableVMInterfaceRequest) SetMode(v PatchedWritableInterfaceRequestMo } // GetUntaggedVlan returns the UntaggedVlan field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableVMInterfaceRequest) GetUntaggedVlan() VLANRequest { +func (o *WritableVMInterfaceRequest) GetUntaggedVlan() BriefVLANRequest { if o == nil || IsNil(o.UntaggedVlan.Get()) { - var ret VLANRequest + var ret BriefVLANRequest return ret } return *o.UntaggedVlan.Get() @@ -386,7 +386,7 @@ func (o *WritableVMInterfaceRequest) GetUntaggedVlan() VLANRequest { // GetUntaggedVlanOk returns a tuple with the UntaggedVlan 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 *WritableVMInterfaceRequest) GetUntaggedVlanOk() (*VLANRequest, bool) { +func (o *WritableVMInterfaceRequest) GetUntaggedVlanOk() (*BriefVLANRequest, bool) { if o == nil { return nil, false } @@ -402,8 +402,8 @@ func (o *WritableVMInterfaceRequest) HasUntaggedVlan() bool { return false } -// SetUntaggedVlan gets a reference to the given NullableVLANRequest and assigns it to the UntaggedVlan field. -func (o *WritableVMInterfaceRequest) SetUntaggedVlan(v VLANRequest) { +// SetUntaggedVlan gets a reference to the given NullableBriefVLANRequest and assigns it to the UntaggedVlan field. +func (o *WritableVMInterfaceRequest) SetUntaggedVlan(v BriefVLANRequest) { o.UntaggedVlan.Set(&v) } @@ -450,9 +450,9 @@ func (o *WritableVMInterfaceRequest) SetTaggedVlans(v []int32) { } // GetVrf returns the Vrf field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableVMInterfaceRequest) GetVrf() VRFRequest { +func (o *WritableVMInterfaceRequest) GetVrf() BriefVRFRequest { if o == nil || IsNil(o.Vrf.Get()) { - var ret VRFRequest + var ret BriefVRFRequest return ret } return *o.Vrf.Get() @@ -461,7 +461,7 @@ func (o *WritableVMInterfaceRequest) GetVrf() VRFRequest { // GetVrfOk returns a tuple with the Vrf 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 *WritableVMInterfaceRequest) GetVrfOk() (*VRFRequest, bool) { +func (o *WritableVMInterfaceRequest) GetVrfOk() (*BriefVRFRequest, bool) { if o == nil { return nil, false } @@ -477,8 +477,8 @@ func (o *WritableVMInterfaceRequest) HasVrf() bool { return false } -// SetVrf gets a reference to the given NullableVRFRequest and assigns it to the Vrf field. -func (o *WritableVMInterfaceRequest) SetVrf(v VRFRequest) { +// SetVrf gets a reference to the given NullableBriefVRFRequest and assigns it to the Vrf field. +func (o *WritableVMInterfaceRequest) SetVrf(v BriefVRFRequest) { o.Vrf.Set(&v) } diff --git a/model_writable_wireless_lan_group_request.go b/model_writable_wireless_lan_group_request.go index e64cce0c9..08653e59e 100644 --- a/model_writable_wireless_lan_group_request.go +++ b/model_writable_wireless_lan_group_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_writable_wireless_lan_request.go b/model_writable_wireless_lan_request.go index 098a33b0b..746481dcc 100644 --- a/model_writable_wireless_lan_request.go +++ b/model_writable_wireless_lan_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -22,12 +22,12 @@ var _ MappedNullable = &WritableWirelessLANRequest{} type WritableWirelessLANRequest struct { Ssid string `json:"ssid"` Description *string `json:"description,omitempty"` - Group NullableWirelessLANGroupRequest `json:"group,omitempty"` + Group NullableBriefWirelessLANGroupRequest `json:"group,omitempty"` Status *PatchedWritableWirelessLANRequestStatus `json:"status,omitempty"` - Vlan NullableVLANRequest `json:"vlan,omitempty"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` - AuthType *AuthenticationType1 `json:"auth_type,omitempty"` - AuthCipher *AuthenticationCipher `json:"auth_cipher,omitempty"` + Vlan NullableBriefVLANRequest `json:"vlan,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` + AuthType *AuthenticationType3 `json:"auth_type,omitempty"` + AuthCipher *AuthenticationCipher1 `json:"auth_cipher,omitempty"` AuthPsk *string `json:"auth_psk,omitempty"` Comments *string `json:"comments,omitempty"` Tags []NestedTagRequest `json:"tags,omitempty"` @@ -112,9 +112,9 @@ func (o *WritableWirelessLANRequest) SetDescription(v string) { } // GetGroup returns the Group field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableWirelessLANRequest) GetGroup() WirelessLANGroupRequest { +func (o *WritableWirelessLANRequest) GetGroup() BriefWirelessLANGroupRequest { if o == nil || IsNil(o.Group.Get()) { - var ret WirelessLANGroupRequest + var ret BriefWirelessLANGroupRequest return ret } return *o.Group.Get() @@ -123,7 +123,7 @@ func (o *WritableWirelessLANRequest) GetGroup() WirelessLANGroupRequest { // GetGroupOk returns a tuple with the Group 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 *WritableWirelessLANRequest) GetGroupOk() (*WirelessLANGroupRequest, bool) { +func (o *WritableWirelessLANRequest) GetGroupOk() (*BriefWirelessLANGroupRequest, bool) { if o == nil { return nil, false } @@ -139,8 +139,8 @@ func (o *WritableWirelessLANRequest) HasGroup() bool { return false } -// SetGroup gets a reference to the given NullableWirelessLANGroupRequest and assigns it to the Group field. -func (o *WritableWirelessLANRequest) SetGroup(v WirelessLANGroupRequest) { +// SetGroup gets a reference to the given NullableBriefWirelessLANGroupRequest and assigns it to the Group field. +func (o *WritableWirelessLANRequest) SetGroup(v BriefWirelessLANGroupRequest) { o.Group.Set(&v) } @@ -187,9 +187,9 @@ func (o *WritableWirelessLANRequest) SetStatus(v PatchedWritableWirelessLANReque } // GetVlan returns the Vlan field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableWirelessLANRequest) GetVlan() VLANRequest { +func (o *WritableWirelessLANRequest) GetVlan() BriefVLANRequest { if o == nil || IsNil(o.Vlan.Get()) { - var ret VLANRequest + var ret BriefVLANRequest return ret } return *o.Vlan.Get() @@ -198,7 +198,7 @@ func (o *WritableWirelessLANRequest) GetVlan() VLANRequest { // 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 *WritableWirelessLANRequest) GetVlanOk() (*VLANRequest, bool) { +func (o *WritableWirelessLANRequest) GetVlanOk() (*BriefVLANRequest, bool) { if o == nil { return nil, false } @@ -214,8 +214,8 @@ func (o *WritableWirelessLANRequest) HasVlan() bool { return false } -// SetVlan gets a reference to the given NullableVLANRequest and assigns it to the Vlan field. -func (o *WritableWirelessLANRequest) SetVlan(v VLANRequest) { +// SetVlan gets a reference to the given NullableBriefVLANRequest and assigns it to the Vlan field. +func (o *WritableWirelessLANRequest) SetVlan(v BriefVLANRequest) { o.Vlan.Set(&v) } @@ -230,9 +230,9 @@ func (o *WritableWirelessLANRequest) UnsetVlan() { } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableWirelessLANRequest) GetTenant() TenantRequest { +func (o *WritableWirelessLANRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -241,7 +241,7 @@ func (o *WritableWirelessLANRequest) GetTenant() TenantRequest { // 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 *WritableWirelessLANRequest) GetTenantOk() (*TenantRequest, bool) { +func (o *WritableWirelessLANRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -257,8 +257,8 @@ func (o *WritableWirelessLANRequest) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *WritableWirelessLANRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *WritableWirelessLANRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } @@ -273,9 +273,9 @@ func (o *WritableWirelessLANRequest) UnsetTenant() { } // GetAuthType returns the AuthType field value if set, zero value otherwise. -func (o *WritableWirelessLANRequest) GetAuthType() AuthenticationType1 { +func (o *WritableWirelessLANRequest) GetAuthType() AuthenticationType3 { if o == nil || IsNil(o.AuthType) { - var ret AuthenticationType1 + var ret AuthenticationType3 return ret } return *o.AuthType @@ -283,7 +283,7 @@ func (o *WritableWirelessLANRequest) GetAuthType() AuthenticationType1 { // GetAuthTypeOk returns a tuple with the AuthType field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *WritableWirelessLANRequest) GetAuthTypeOk() (*AuthenticationType1, bool) { +func (o *WritableWirelessLANRequest) GetAuthTypeOk() (*AuthenticationType3, bool) { if o == nil || IsNil(o.AuthType) { return nil, false } @@ -299,15 +299,15 @@ func (o *WritableWirelessLANRequest) HasAuthType() bool { return false } -// SetAuthType gets a reference to the given AuthenticationType1 and assigns it to the AuthType field. -func (o *WritableWirelessLANRequest) SetAuthType(v AuthenticationType1) { +// SetAuthType gets a reference to the given AuthenticationType3 and assigns it to the AuthType field. +func (o *WritableWirelessLANRequest) SetAuthType(v AuthenticationType3) { o.AuthType = &v } // GetAuthCipher returns the AuthCipher field value if set, zero value otherwise. -func (o *WritableWirelessLANRequest) GetAuthCipher() AuthenticationCipher { +func (o *WritableWirelessLANRequest) GetAuthCipher() AuthenticationCipher1 { if o == nil || IsNil(o.AuthCipher) { - var ret AuthenticationCipher + var ret AuthenticationCipher1 return ret } return *o.AuthCipher @@ -315,7 +315,7 @@ func (o *WritableWirelessLANRequest) GetAuthCipher() AuthenticationCipher { // GetAuthCipherOk returns a tuple with the AuthCipher field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *WritableWirelessLANRequest) GetAuthCipherOk() (*AuthenticationCipher, bool) { +func (o *WritableWirelessLANRequest) GetAuthCipherOk() (*AuthenticationCipher1, bool) { if o == nil || IsNil(o.AuthCipher) { return nil, false } @@ -331,8 +331,8 @@ func (o *WritableWirelessLANRequest) HasAuthCipher() bool { return false } -// SetAuthCipher gets a reference to the given AuthenticationCipher and assigns it to the AuthCipher field. -func (o *WritableWirelessLANRequest) SetAuthCipher(v AuthenticationCipher) { +// SetAuthCipher gets a reference to the given AuthenticationCipher1 and assigns it to the AuthCipher field. +func (o *WritableWirelessLANRequest) SetAuthCipher(v AuthenticationCipher1) { o.AuthCipher = &v } diff --git a/model_writable_wireless_link_request.go b/model_writable_wireless_link_request.go index 84ae70e23..65afd82a5 100644 --- a/model_writable_wireless_link_request.go +++ b/model_writable_wireless_link_request.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -20,18 +20,20 @@ var _ MappedNullable = &WritableWirelessLinkRequest{} // WritableWirelessLinkRequest Adds support for custom fields and tags. type WritableWirelessLinkRequest struct { - InterfaceA InterfaceRequest `json:"interface_a"` - InterfaceB InterfaceRequest `json:"interface_b"` - Ssid *string `json:"ssid,omitempty"` - Status *PatchedWritableCableRequestStatus `json:"status,omitempty"` - Tenant NullableTenantRequest `json:"tenant,omitempty"` - AuthType *AuthenticationType1 `json:"auth_type,omitempty"` - AuthCipher *AuthenticationCipher `json:"auth_cipher,omitempty"` - AuthPsk *string `json:"auth_psk,omitempty"` - Description *string `json:"description,omitempty"` - Comments *string `json:"comments,omitempty"` - Tags []NestedTagRequest `json:"tags,omitempty"` - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + InterfaceA BriefInterfaceRequest `json:"interface_a"` + InterfaceB BriefInterfaceRequest `json:"interface_b"` + Ssid *string `json:"ssid,omitempty"` + Status *CableStatusValue `json:"status,omitempty"` + Tenant NullableBriefTenantRequest `json:"tenant,omitempty"` + AuthType *AuthenticationType3 `json:"auth_type,omitempty"` + AuthCipher *AuthenticationCipher1 `json:"auth_cipher,omitempty"` + AuthPsk *string `json:"auth_psk,omitempty"` + Distance NullableFloat64 `json:"distance,omitempty"` + DistanceUnit *PatchedWritableWirelessLinkRequestDistanceUnit `json:"distance_unit,omitempty"` + Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Tags []NestedTagRequest `json:"tags,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` AdditionalProperties map[string]interface{} } @@ -41,7 +43,7 @@ type _WritableWirelessLinkRequest WritableWirelessLinkRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewWritableWirelessLinkRequest(interfaceA InterfaceRequest, interfaceB InterfaceRequest) *WritableWirelessLinkRequest { +func NewWritableWirelessLinkRequest(interfaceA BriefInterfaceRequest, interfaceB BriefInterfaceRequest) *WritableWirelessLinkRequest { this := WritableWirelessLinkRequest{} this.InterfaceA = interfaceA this.InterfaceB = interfaceB @@ -57,9 +59,9 @@ func NewWritableWirelessLinkRequestWithDefaults() *WritableWirelessLinkRequest { } // GetInterfaceA returns the InterfaceA field value -func (o *WritableWirelessLinkRequest) GetInterfaceA() InterfaceRequest { +func (o *WritableWirelessLinkRequest) GetInterfaceA() BriefInterfaceRequest { if o == nil { - var ret InterfaceRequest + var ret BriefInterfaceRequest return ret } @@ -68,7 +70,7 @@ func (o *WritableWirelessLinkRequest) GetInterfaceA() InterfaceRequest { // GetInterfaceAOk returns a tuple with the InterfaceA field value // and a boolean to check if the value has been set. -func (o *WritableWirelessLinkRequest) GetInterfaceAOk() (*InterfaceRequest, bool) { +func (o *WritableWirelessLinkRequest) GetInterfaceAOk() (*BriefInterfaceRequest, bool) { if o == nil { return nil, false } @@ -76,14 +78,14 @@ func (o *WritableWirelessLinkRequest) GetInterfaceAOk() (*InterfaceRequest, bool } // SetInterfaceA sets field value -func (o *WritableWirelessLinkRequest) SetInterfaceA(v InterfaceRequest) { +func (o *WritableWirelessLinkRequest) SetInterfaceA(v BriefInterfaceRequest) { o.InterfaceA = v } // GetInterfaceB returns the InterfaceB field value -func (o *WritableWirelessLinkRequest) GetInterfaceB() InterfaceRequest { +func (o *WritableWirelessLinkRequest) GetInterfaceB() BriefInterfaceRequest { if o == nil { - var ret InterfaceRequest + var ret BriefInterfaceRequest return ret } @@ -92,7 +94,7 @@ func (o *WritableWirelessLinkRequest) GetInterfaceB() InterfaceRequest { // GetInterfaceBOk returns a tuple with the InterfaceB field value // and a boolean to check if the value has been set. -func (o *WritableWirelessLinkRequest) GetInterfaceBOk() (*InterfaceRequest, bool) { +func (o *WritableWirelessLinkRequest) GetInterfaceBOk() (*BriefInterfaceRequest, bool) { if o == nil { return nil, false } @@ -100,7 +102,7 @@ func (o *WritableWirelessLinkRequest) GetInterfaceBOk() (*InterfaceRequest, bool } // SetInterfaceB sets field value -func (o *WritableWirelessLinkRequest) SetInterfaceB(v InterfaceRequest) { +func (o *WritableWirelessLinkRequest) SetInterfaceB(v BriefInterfaceRequest) { o.InterfaceB = v } @@ -137,9 +139,9 @@ func (o *WritableWirelessLinkRequest) SetSsid(v string) { } // GetStatus returns the Status field value if set, zero value otherwise. -func (o *WritableWirelessLinkRequest) GetStatus() PatchedWritableCableRequestStatus { +func (o *WritableWirelessLinkRequest) GetStatus() CableStatusValue { if o == nil || IsNil(o.Status) { - var ret PatchedWritableCableRequestStatus + var ret CableStatusValue return ret } return *o.Status @@ -147,7 +149,7 @@ func (o *WritableWirelessLinkRequest) GetStatus() PatchedWritableCableRequestSta // 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 *WritableWirelessLinkRequest) GetStatusOk() (*PatchedWritableCableRequestStatus, bool) { +func (o *WritableWirelessLinkRequest) GetStatusOk() (*CableStatusValue, bool) { if o == nil || IsNil(o.Status) { return nil, false } @@ -163,15 +165,15 @@ func (o *WritableWirelessLinkRequest) HasStatus() bool { return false } -// SetStatus gets a reference to the given PatchedWritableCableRequestStatus and assigns it to the Status field. -func (o *WritableWirelessLinkRequest) SetStatus(v PatchedWritableCableRequestStatus) { +// SetStatus gets a reference to the given CableStatusValue and assigns it to the Status field. +func (o *WritableWirelessLinkRequest) SetStatus(v CableStatusValue) { o.Status = &v } // GetTenant returns the Tenant field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *WritableWirelessLinkRequest) GetTenant() TenantRequest { +func (o *WritableWirelessLinkRequest) GetTenant() BriefTenantRequest { if o == nil || IsNil(o.Tenant.Get()) { - var ret TenantRequest + var ret BriefTenantRequest return ret } return *o.Tenant.Get() @@ -180,7 +182,7 @@ func (o *WritableWirelessLinkRequest) GetTenant() TenantRequest { // 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 *WritableWirelessLinkRequest) GetTenantOk() (*TenantRequest, bool) { +func (o *WritableWirelessLinkRequest) GetTenantOk() (*BriefTenantRequest, bool) { if o == nil { return nil, false } @@ -196,8 +198,8 @@ func (o *WritableWirelessLinkRequest) HasTenant() bool { return false } -// SetTenant gets a reference to the given NullableTenantRequest and assigns it to the Tenant field. -func (o *WritableWirelessLinkRequest) SetTenant(v TenantRequest) { +// SetTenant gets a reference to the given NullableBriefTenantRequest and assigns it to the Tenant field. +func (o *WritableWirelessLinkRequest) SetTenant(v BriefTenantRequest) { o.Tenant.Set(&v) } @@ -212,9 +214,9 @@ func (o *WritableWirelessLinkRequest) UnsetTenant() { } // GetAuthType returns the AuthType field value if set, zero value otherwise. -func (o *WritableWirelessLinkRequest) GetAuthType() AuthenticationType1 { +func (o *WritableWirelessLinkRequest) GetAuthType() AuthenticationType3 { if o == nil || IsNil(o.AuthType) { - var ret AuthenticationType1 + var ret AuthenticationType3 return ret } return *o.AuthType @@ -222,7 +224,7 @@ func (o *WritableWirelessLinkRequest) GetAuthType() AuthenticationType1 { // GetAuthTypeOk returns a tuple with the AuthType field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *WritableWirelessLinkRequest) GetAuthTypeOk() (*AuthenticationType1, bool) { +func (o *WritableWirelessLinkRequest) GetAuthTypeOk() (*AuthenticationType3, bool) { if o == nil || IsNil(o.AuthType) { return nil, false } @@ -238,15 +240,15 @@ func (o *WritableWirelessLinkRequest) HasAuthType() bool { return false } -// SetAuthType gets a reference to the given AuthenticationType1 and assigns it to the AuthType field. -func (o *WritableWirelessLinkRequest) SetAuthType(v AuthenticationType1) { +// SetAuthType gets a reference to the given AuthenticationType3 and assigns it to the AuthType field. +func (o *WritableWirelessLinkRequest) SetAuthType(v AuthenticationType3) { o.AuthType = &v } // GetAuthCipher returns the AuthCipher field value if set, zero value otherwise. -func (o *WritableWirelessLinkRequest) GetAuthCipher() AuthenticationCipher { +func (o *WritableWirelessLinkRequest) GetAuthCipher() AuthenticationCipher1 { if o == nil || IsNil(o.AuthCipher) { - var ret AuthenticationCipher + var ret AuthenticationCipher1 return ret } return *o.AuthCipher @@ -254,7 +256,7 @@ func (o *WritableWirelessLinkRequest) GetAuthCipher() AuthenticationCipher { // GetAuthCipherOk returns a tuple with the AuthCipher field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *WritableWirelessLinkRequest) GetAuthCipherOk() (*AuthenticationCipher, bool) { +func (o *WritableWirelessLinkRequest) GetAuthCipherOk() (*AuthenticationCipher1, bool) { if o == nil || IsNil(o.AuthCipher) { return nil, false } @@ -270,8 +272,8 @@ func (o *WritableWirelessLinkRequest) HasAuthCipher() bool { return false } -// SetAuthCipher gets a reference to the given AuthenticationCipher and assigns it to the AuthCipher field. -func (o *WritableWirelessLinkRequest) SetAuthCipher(v AuthenticationCipher) { +// SetAuthCipher gets a reference to the given AuthenticationCipher1 and assigns it to the AuthCipher field. +func (o *WritableWirelessLinkRequest) SetAuthCipher(v AuthenticationCipher1) { o.AuthCipher = &v } @@ -307,6 +309,81 @@ func (o *WritableWirelessLinkRequest) SetAuthPsk(v string) { o.AuthPsk = &v } +// GetDistance returns the Distance field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *WritableWirelessLinkRequest) GetDistance() float64 { + if o == nil || IsNil(o.Distance.Get()) { + var ret float64 + return ret + } + return *o.Distance.Get() +} + +// GetDistanceOk returns a tuple with the Distance 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 *WritableWirelessLinkRequest) GetDistanceOk() (*float64, bool) { + if o == nil { + return nil, false + } + return o.Distance.Get(), o.Distance.IsSet() +} + +// HasDistance returns a boolean if a field has been set. +func (o *WritableWirelessLinkRequest) HasDistance() bool { + if o != nil && o.Distance.IsSet() { + return true + } + + return false +} + +// SetDistance gets a reference to the given NullableFloat64 and assigns it to the Distance field. +func (o *WritableWirelessLinkRequest) SetDistance(v float64) { + o.Distance.Set(&v) +} + +// SetDistanceNil sets the value for Distance to be an explicit nil +func (o *WritableWirelessLinkRequest) SetDistanceNil() { + o.Distance.Set(nil) +} + +// UnsetDistance ensures that no value is present for Distance, not even an explicit nil +func (o *WritableWirelessLinkRequest) UnsetDistance() { + o.Distance.Unset() +} + +// GetDistanceUnit returns the DistanceUnit field value if set, zero value otherwise. +func (o *WritableWirelessLinkRequest) GetDistanceUnit() PatchedWritableWirelessLinkRequestDistanceUnit { + if o == nil || IsNil(o.DistanceUnit) { + var ret PatchedWritableWirelessLinkRequestDistanceUnit + return ret + } + return *o.DistanceUnit +} + +// GetDistanceUnitOk returns a tuple with the DistanceUnit field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *WritableWirelessLinkRequest) GetDistanceUnitOk() (*PatchedWritableWirelessLinkRequestDistanceUnit, bool) { + if o == nil || IsNil(o.DistanceUnit) { + return nil, false + } + return o.DistanceUnit, true +} + +// HasDistanceUnit returns a boolean if a field has been set. +func (o *WritableWirelessLinkRequest) HasDistanceUnit() bool { + if o != nil && !IsNil(o.DistanceUnit) { + return true + } + + return false +} + +// SetDistanceUnit gets a reference to the given PatchedWritableWirelessLinkRequestDistanceUnit and assigns it to the DistanceUnit field. +func (o *WritableWirelessLinkRequest) SetDistanceUnit(v PatchedWritableWirelessLinkRequestDistanceUnit) { + o.DistanceUnit = &v +} + // GetDescription returns the Description field value if set, zero value otherwise. func (o *WritableWirelessLinkRequest) GetDescription() string { if o == nil || IsNil(o.Description) { @@ -465,6 +542,12 @@ func (o WritableWirelessLinkRequest) ToMap() (map[string]interface{}, error) { if !IsNil(o.AuthPsk) { toSerialize["auth_psk"] = o.AuthPsk } + if o.Distance.IsSet() { + toSerialize["distance"] = o.Distance.Get() + } + if !IsNil(o.DistanceUnit) { + toSerialize["distance_unit"] = o.DistanceUnit + } if !IsNil(o.Description) { toSerialize["description"] = o.Description } @@ -529,6 +612,8 @@ func (o *WritableWirelessLinkRequest) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "auth_type") delete(additionalProperties, "auth_cipher") delete(additionalProperties, "auth_psk") + delete(additionalProperties, "distance") + delete(additionalProperties, "distance_unit") delete(additionalProperties, "description") delete(additionalProperties, "comments") delete(additionalProperties, "tags") diff --git a/response.go b/response.go index d10be0f11..8bf53c240 100644 --- a/response.go +++ b/response.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/scripts/fetch-spec.sh b/scripts/fetch-spec.sh index 2c5ac842d..8e84e1352 100755 --- a/scripts/fetch-spec.sh +++ b/scripts/fetch-spec.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash set -euo pipefail - +set -x NETBOX_VERSION="$1" NETBOX_DOCKER_VERSION="$2" diff --git a/scripts/fix-spec.py b/scripts/fix-spec.py index fac390124..ab0c21c53 100755 --- a/scripts/fix-spec.py +++ b/scripts/fix-spec.py @@ -13,7 +13,7 @@ for name, schema in data['components']['schemas'].items(): if 'properties' in schema: # Remove "null" item from nullable enums - for name, prop in schema['properties'].items(): + for propName, prop in schema['properties'].items(): if 'enum' in prop and None in prop['enum']: prop['enum'].remove(None) if 'properties' in prop and 'value' in prop['properties'] and 'enum' in prop['properties']['value'] and None in prop['properties']['value']['enum']: @@ -39,7 +39,28 @@ for ntype in non_nullable_types: if ntype in schema['properties']: if schema['properties'][ntype]['format'] == 'binary': - schema['properties'][ntype].pop('nullable') + schema['properties'][ntype].pop('nullable', None) + + if 'required' in schema: + non_required_props = [ + 'devicetype_count', + 'device_count', + 'virtualmachine_count', + 'prefix_count', + 'vlan_count', + 'display_url', + 'user_count', + ] + + schema['required'] = [prop for prop in schema['required'] if prop not in non_required_props] + +data['components']['schemas']['Device']['required'] = [ + 'id', + 'url', + 'display', + 'name', + 'description', +] # Save the spec file with open(SPEC_PATH, 'w') as file: diff --git a/scripts/set-versions.sh b/scripts/set-versions.sh index 014d68e64..dbf202c0f 100755 --- a/scripts/set-versions.sh +++ b/scripts/set-versions.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -NETBOX_VERSION='latest' +NETBOX_VERSION='4.1.3' NETBOX_DOCKER_VERSION='auto' set -euo pipefail diff --git a/utils.go b/utils.go index 31b2f6c2e..1531630db 100644 --- a/utils.go +++ b/utils.go @@ -3,7 +3,7 @@ NetBox REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 4.0.3 (4.0) +API version: 4.1.3 (4.1) */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.